@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250419-8830bd4 → 0.6.10-experimental.20250419-8f302dd

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 _0x20aa44=_0x3826;(function(_0x50ac6c,_0x4e2df4){const _0x14c5e5=_0x3826,_0x41e32e=_0x50ac6c();while(!![]){try{const _0x41c3f2=-parseInt(_0x14c5e5(0x37a))/0x1+-parseInt(_0x14c5e5(0x2be))/0x2*(parseInt(_0x14c5e5(0x33e))/0x3)+-parseInt(_0x14c5e5(0x325))/0x4+parseInt(_0x14c5e5(0x25e))/0x5*(parseInt(_0x14c5e5(0x25b))/0x6)+-parseInt(_0x14c5e5(0x2c7))/0x7+parseInt(_0x14c5e5(0x216))/0x8*(-parseInt(_0x14c5e5(0x2d6))/0x9)+parseInt(_0x14c5e5(0x24b))/0xa*(parseInt(_0x14c5e5(0x2ae))/0xb);if(_0x41c3f2===_0x4e2df4)break;else _0x41e32e['push'](_0x41e32e['shift']());}catch(_0x2d9b50){_0x41e32e['push'](_0x41e32e['shift']());}}}(_0x114d,0xec294));var Bt=Object[_0x20aa44(0x345)],kt=(_0x35ef11,_0x5cf068,_0x5dd08e)=>_0x5cf068 in _0x35ef11?Bt(_0x35ef11,_0x5cf068,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dd08e}):_0x35ef11[_0x5cf068]=_0x5dd08e,_=(_0x35f30f,_0x2f4856,_0x5c84b0)=>kt(_0x35f30f,typeof _0x2f4856!=_0x20aa44(0x3a0)?_0x2f4856+'':_0x2f4856,_0x5c84b0);import{MemberService as _0x3e6893,SessionStatus as _0x11ba57,CollaborationSessionService as _0x3ed724,CollaborationStatus as _0x32910b,CollaborationController as _0x7af0ab,ILocalCacheService as _0x375e08,CollaborationUIEventService as _0x1a1bc1,CollaborationUIEventId as _0x41f02e,DataLoaderService as _0x5c1a56,DocCollaborationEntity as _0x2f4c1f,getLocalCacheKey as _0x4e8427,LOCAL_CACHE_INTERVAL as _0x50d9b4,LOCAL_CACHE_INTERVAL_KEY as _0x4b0da4,UniverCollaborationClientPlugin as _0x47c929,CollaborationSocketService as _0x1b9d6a,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2f6b30,DEFAULT_WS_SESSION_TICKET_URL as _0x3585ef,UnitStatus as _0x3e0989,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x764cc5,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3a231b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0xa38ff1,Disposable as _0x3a3eae,DOC_RANGE_TYPE as _0x38b7d0,Inject as _0x346bad,Injector as _0x286e8d,IUniverInstanceService as _0x19a897,ICommandService as _0x5afe24,debounce as _0x1dec13,Rectangle as _0x1f5bbc,DisposableCollection as _0x45a39c,toDisposable as _0xae9f63,UniverInstanceType as _0x28520b,Tools as _0x50e642,COLORS as _0x472c19,ColorKit as _0x185055,ThemeService as _0x5c0762,fromEventSubject as _0x15a9c9,LocaleService as _0x385db0,createIdentifier as _0x2db783,ILogService as _0x55786b,Optional as _0x19e74d,Workbook as _0x390340,CommandType as _0x38de8d,IConfigService as _0x121a15,ILocalStorageService as _0x2957fd,DependentOn as _0xfdde95,Plugin as _0x5a0d70,merge as _0x35560f,registerDependencies as _0x244d36,mergeOverrideWithDependencies as _0x3dccb0,touchDependencies as _0x394e0e,generateRandomId as _0x221c85}from'@univerjs/core';import{Shape as _0x35cd19,Rect as _0x1d0bd3,getColor as _0x37ba93,RegularPolygon as _0x4ed6b0,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4bbb7b,Vector2 as _0x2b2b7c,SHEET_VIEWPORT_KEY as _0x3463ad,IRenderManagerService as _0xe67b4}from'@univerjs/engine-render';import{ISocketService as _0x345659,WebSocketService as _0x189eca,HTTPService as _0x5bc36a}from'@univerjs/network';function _0x114d(){const _0x1f3452=['LICENSE_EXPORT_SIZE_EXCEEDED','imageSourceType','EMAIL_HAS_BEEN_BOUND','_handleLeaveEvent','add','2YtYGHp','WECHAT_HAS_BEEN_BOUND','InsertColCommandId','url(#off-line-single_clip0_910_343)','collaboration.closeRoom','InsertRowCommandId','verdancy600','assignAColorForMemberID','_drawRectRange','1064819wXRuPc','clearTimeout','text','getCurrentUnitForType','CHANGESET_REVISION_CONFILICT','_draw','_initStatusComponent','origin','_cursor','_refreshCollabCursors','permission.content','application/json','online','_online','NOT_COLLAB','6085863Ieobjs','_removeClearOtherTimer','roomMembers','YUUMI_RATE_OVER_LIMIT','defIds','_initEntityListener','getFocusedUnit','isActive','div','type','getValue','transformIMECache','executeCommand','_getScale','addEventListener','_onRefRangeChange','onlineStatusIcon','setAlpha','_scheduleHeartbeat','jiqing500','propertyIsEnumerable','_init','_collaborationUIEventService','pipe','APPLY_DUPLICATED','length','collabCursorState$','row','_colorAssignService','getStateCache','_collabSessionService','endColumn','loadOfflineData','ONLINE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getUnhiddenWorksheets','error','_entityInit$','children','string','forEach','_initCommandExecutedListener','_updateCollabCursors','_handleHover','isArray','sheetID','OTHER_CLIENT_EDITING','getUnitStatus$','#fff','COMPLETION_FINISHED','_config','createSocket','onTransformChange$','measureText','_docClipboardService','sessionStatus$','LICENSE_MAX_UNITS_EXCEEDED','pluginName','closePath','univer-online-status-icon','_themeService','_disabled','params','USER_NOT_INVITED_CODE','OTHER_CLIENTS_EDITING','/run/','editingUnit','_toggleOnline','values','_roomMembers$','call','INVITE_CODE_REQUIRED','transformSelections','dispose$','_configService','disableLocalCache','toString','collab-text-anchor-','skeleton','540492LyEyNq','_context','YUUMI_SUBSCRIPTION_NOT_FOUND','wsSessionTicketUrl','onRendered','arc','_unitStatus','getMergeData','clipPath','_syncEditingCollabCursorService','getCurrentRevOfUnit','all','InsertRangeMoveDownCommandId','_initResize','_docStateChangeManagerService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_docSyncEditingCollabCursorService','getItem','_notificationService','displayName','SOCKET_FAILED_RETRY','_shapes','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','TEXT','hasOwnProperty','2780292CuQKnV','_anchor','_scheduleSaving','_instanceService','round','registerRenderModule','getMemberID','defineProperty','0\x200\x2016\x2016','moveTo','requireSession','replaceDocRanges','getSkeleton','getUnitId','max','runOnServer','getOwnPropertySymbols','_startDocCollabCursor','entityInit$','MOBILE_HAS_BEEN_BOUND','_revisionService','_collabCursorState$','activeSheet$','split','UNIVER_SHEET','idSuffix','ACTIVE_UNIT_EVENT_CHANNEL','transformStateCache','send','apply','defs','M0\x200H16V16H0z','_toggleOffline','stringify','history','[CollaborationDataLoaderController]','OFFLINE','none','YUUMI_URL_COL_OUT_OF_RANGE','post','invokeId','_messageService','_hovered','transformMutationsWithChangeset','_renderManagerService','_createSocketURL','gold400','addHandlerCallback','getActiveSheet','unload','onPointerEnter$','INVALID_INVITE_CODE','_ensureSubject','getTypeOfUnitDisposed$','Unknown\x20user','_onCursorDelete','_docSkeletonManagerService','status$','with','colorChannel1','617420jyKBjp','extend','offline','...','backgroundColor','getCollabEntity$','PERMISSION_DENIED','ranges','getOwnPropertyDescriptor','1em','addClipboardHook','then','indexOf','selection','color','setInterval','delete','collab-rect-range-','INVALID_ARGUMENT','_saveTaskMap','_transformService','collab-client.tooltip.reconnect','memberID','_updateLocalCursor','dispose','Warning','RECT','whenReady','_unitOnClients','translate(.97)','_eventUnsubscribe','bottom','path','function','YUUMI_NO_CUBOID_FOR_QUESTION','_registerRenderDependencies','UPDATE_CURSOR','_urlService','symbol','getCurrent','JOIN_ROOM_FAILED','url(#on-line-single_clip0_910_349)','CLOSE_ROOM','redoState','USERS_LEAVE','unitID','PY_RUNTIME_SCRIPT_ERROR','parse','fill','_color','APPLY_PERMISSION_DENIED','getUndoRedoMutationParamsCache','_getSheetObject','evenodd','UNDEFINED','column','font','getRangePointData','collabStatus.fetchMiss','_assignedColors','collabStatus.notCollab','_onCursorUpdate','YUUMI_ASYNCIO_CANCELLED','_docTransformStateCacheService','_range','_sheetSkeletonManagerService','_id','_injector','_getMergeRange','eventID','_startSheetCollabCursor','lineTo','purple300','flatMap','saveTaskMap','newValue','getViewport','min','setUndoRedoMutationParamsCache','has','href','_hover','LICENSE_IMPORT_SIZE_EXCEEDED','subscribe','getParam','_entities','source','_collabCursorController','SOCKET_FAILED','unit','_status$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','SNAPSHOT_HAS_BEEN_REMOVED','_logService','clearInterval','substring','replaceState','set','_commandService','addObjects','_anchorDot','_scene','setItem','_cursorInfo$','_dataLoaderService','width','subunit','INTERNAL_ERROR','UNIVER_DOC','transformByState','cursorInfo','_drawTextRange','url(#$1','AWAITING_WITH_PENDING','mutations','InsertRangeMoveRightCommandId','transformMutation','_heartbeatTimer','LOGIN_FAILED','_setupBeforeClosingHandler','RemoveRowCommandId','ticket','SYNCED','fillStyle','_uiPartsService','AWAITING','_removeCollabCursors','_handleEvent','data','save','collabStatus.synced','_selfUnitIDs','getOffsetConfig','getRenderById','searchParams','range','labelPosition','_hideTimer','deepClone','onCommandExecuted','_colorIndex','saveImage','get','fillText','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getConfig','_send','getSheetBySheetId','className','resize','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','registerRefRange','Failed','asObservable','registerComponent','getMember','NOT_FOUND','popstate','disposeWithMe','univer-flex\x20univer-items-center','_imageIoService','black','mask','8qBWczs','_getSessionTicket','cursorInfo$','UNRECOGNIZED','ENSURE_SNAPSHOT_EXECUTION','svg','_collaborationController','univer-online-status','transformRemoteChangeset','collaboration-client.offline-data-not-saved','setStateCache','INVITE_CODE_ALREADY_BOUND','unshift','SUBMIT_CHANGESET_TIMEOUT','map','_setupSubUnitSync','currentTheme$','subscribeEvent','key','hide','doc.mutation.rich-text-editing','_backgroundColor','size','m1Prime','debug','actions','TOO_MANY_REQUESTS','_session','_transformHistoryAndStateStack','name','_docTransformSelectionsService','hovered','off-line-single_clip0_910_343','startsWith','NO_OTHER_CLIENTS_EDITING','getTypeOfUnitAdded$','setShapeProps','_handleJoinEvent','height','enableLocalCache','onlineStatus','undoState','attrs','unitId','_getSaveTimeout','trim','getCollabCursors$','_textBubble','OffLineSingle','UNAUTHENTICATED','focused$','textRanges','tag','10AzFQrk','0\x200\x2017\x2016','LICENSE_DISTRO_REJECTED','_scheduleClearOtherTimer','includes','drawWith','_initEvent','_saveCache','push','_beforeCloseService','blue400','use','roomMembers$','complete','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','current','582MyIXSE','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','show','3545PmrkvQ','override','triggerDblclick','unsubscribe','currentColor','_docTransformIMECacheService','getDocRanges','currentSkeleton$','collaboration-client-ui.config','uni.network.url-service','INVITE_CODE_HAS_BEEN_UES','#FFF','init','_doCreateSocket','PENDING','_render','m2Prime','_registerDependencies','_univerInstanceService','addObject','getUniverSheetInstance','getCellPositionByOffset','getAncestorScale','CONNECTOR_DATA_TOO_LARGE','getSheetId','storage','getVpScrollXYInfoByPosToVp','_lastPointer','location','_name','UniverIcon','syncEditingCollabCursor','APPLY_REJECT','rgba(255,\x20255,\x20255,\x200.01)','_localStorageService','onMouseMove','icon','docStateChange$','_handleHeartbeatEvent','_refRangeService','_clearOtherTimers','_updateURLWithCurrentState','permission.title','event$','_drawAnchor','_transformPreviousActiveRange','urlChange$','from','reconnect','_cursors','APPLY_NON_SEQUENTIAL_REVISION','findNodePositionByCharIndex','_labelPosition','collab-text-range-','CONFLICT','body','setParam','_updateSubUnitFromURLParams','isEditing','on-line-single_clip0_910_349','collabStatus.conflict','FromArray','top','VIEW_MAIN','next','univer-offline','generateRandomId','executionId','univer-online-status-title','univer-online','DeleteRangeMoveUpCommandId','concat','_localeService','subUnitId','assign','_cachedData','code','prototype','Error','runId','37467914FNFscb','_memberService','_httpService','YUUMI_UNABLE_LOAD_URL','xlink:href','red300','_cursorShapes','disposeUnit','makeDirty','createInstance','sheetId'];_0x114d=function(){return _0x1f3452;};return _0x114d();}import{IDocClipboardService as _0x35f407,NodePositionConvertToCursor as _0x53e930,NodePositionConvertToRectRange as _0x50e7df,TEXT_RANGE_LAYER_INDEX as _0x6ca253,SetDocZoomRatioOperation as _0xcfbda,DocIMEInputManagerService as _0xc52433,DocStateChangeManagerService as _0x5e8b5f}from'@univerjs/docs-ui';import{IImageIoService as _0x1fc152}from'@univerjs/drawing';import{BehaviorSubject as _0x119cba,debounceTime as _0x285e88,takeUntil as _0x521e1e,Subject as _0x4e3e38,filter as _0x27e8b0,switchMap as _0x4e4ba1,merge as _0x1cb517,combineLatest as _0x51a60a,of as _0x51b706,fromEvent as _0x5574ec,shareReplay as _0x7df511,mapTo as _0xdc282d,distinctUntilChanged as _0x4a25e5}from'rxjs';import{SetTextSelectionsOperation as _0x21a045,RichTextEditingMutation as _0x37db13,DocSelectionManagerService as _0x302227,DocSkeletonManagerService as _0x749196}from'@univerjs/docs';import{ITransformService as _0x540bcf,CollaborationEvent as _0x2817a4,isTransformMutationFailure as _0x3b86aa,isTransformMutationsWithChangesetSuccess as _0x777fa3,RevisionService as _0x1b79f9,ISnapshotServerService as _0x1eb555}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2d7b42,serializeRangeWithSheet as _0x5c28b8}from'@univerjs/engine-formula';import{RefRangeService as _0x24355e,SetSelectionsOperation as _0x4500ba,SheetsSelectionsService as _0x3660e9,EffectRefRangId as _0x3dec9a,handleIRemoveRow as _0x1ee9c4,handleIRemoveCol as _0x33f946,handleMoveRange as _0x300d2b,handleInsertRow as _0x55d1d1,handleInsertRangeMoveRight as _0x432fea,handleInsertRangeMoveDown as _0x39eb31,handleInsertCol as _0xccc561,handleDeleteRangeMoveUp as _0x1bb295,handleDeleteRangeMoveLeft as _0x237e9d,runRefRangeMutations as _0x52afcc,SetWorksheetActivateCommand as _0x42e9cc}from'@univerjs/sheets';import{map as _0x4b2676,filter as _0x358712,throttleTime as _0x39aa39,takeUntil as _0x1237ad,switchMap as _0x37dcd1}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4de296,getCoordByCell as _0x65909b,getSheetObject as _0x5cc46d}from'@univerjs/sheets-ui';import{jsx as _0x875dbc,jsxs as _0x457b32}from'react/jsx-runtime';import{useObservable as _0x8ae945,useDependency as _0x19a428,IUIPartsService as _0xcd9de7,BuiltInUIPart as _0x10d186,connectInjector as _0xb676a2,IBeforeCloseService as _0x136b95,IMessageService as _0x158f3c,INotificationService as _0x3dabe8}from'@univerjs/ui';import{clsx as _0xb817dd,Tooltip as _0x5e1f4a,MessageType as _0x3d848}from'@univerjs/design';import{forwardRef as _0x20debf,useRef as _0x1e46df,createElement as _0x123ec4,useCallback as _0x21e0e6}from'react';import{IRemoteInstanceService as _0x3670d7}from'@univerjs/rpc';var li=Object[_0x20aa44(0x382)],_i=(_0x593fe0,_0x1d69e9,_0x4973f7,_0x548579)=>{const _0xde1321=_0x20aa44;for(var _0x574072=_0x548579>0x1?void 0x0:_0x548579?li(_0x1d69e9,_0x4973f7):_0x1d69e9,_0x4c187c=_0x593fe0[_0xde1321(0x2ef)]-0x1,_0x4f6245;_0x4c187c>=0x0;_0x4c187c--)(_0x4f6245=_0x593fe0[_0x4c187c])&&(_0x574072=_0x4f6245(_0x574072)||_0x574072);return _0x574072;},Qe=(_0x29fe98,_0x2220e3)=>(_0x22d5c4,_0x25b82d)=>_0x2220e3(_0x22d5c4,_0x25b82d,_0x29fe98);let Ue=class extends _0xa38ff1{constructor(_0x1a1123,_0xb898e0){const _0x207da5=_0x20aa44;super(),this[_0x207da5(0x30c)]=_0x1a1123,this['_imageIoService']=_0xb898e0,this[_0x207da5(0x2eb)]();}[_0x20aa44(0x2eb)](){const _0x40f30f=_0x20aa44,_0x7733a4=this;this['disposeWithMe'](this['_docClipboardService'][_0x40f30f(0x384)]({'onBeforePasteImage':async _0x2cd232=>{const _0xb70579=_0x40f30f,_0x380144=await _0x7733a4[_0xb70579(0x213)][_0xb70579(0x200)](_0x2cd232);return _0x380144?{'source':_0x380144[_0xb70579(0x3d0)],'imageSourceType':_0x380144[_0xb70579(0x2ba)]}:null;}}));}};Ue=_i([Qe(0x0,_0x35f407),Qe(0x1,_0x1fc152)],Ue);const qe=[_0x20aa44(0x3c2),_0x20aa44(0x2e9),_0x20aa44(0x2c4),_0x20aa44(0x2b3),_0x20aa44(0x255),_0x20aa44(0x36c)];class He extends _0x3a3eae{constructor(){const _0x2737f9=_0x20aa44;super(...arguments),_(this,_0x2737f9(0x3b5),new Map()),_(this,'_colorIndex',0x0);}[_0x20aa44(0x2c5)](_0x4c2f7b){const _0x12bb2d=_0x20aa44;if(this[_0x12bb2d(0x3b5)][_0x12bb2d(0x3c9)](_0x4c2f7b))return this[_0x12bb2d(0x3b5)][_0x12bb2d(0x201)](_0x4c2f7b);const _0x4e1b53=qe[this[_0x12bb2d(0x1ff)]];return this['_colorIndex']=(this[_0x12bb2d(0x1ff)]+0x1)%qe['length'],this[_0x12bb2d(0x3b5)][_0x12bb2d(0x3db)](_0x4c2f7b,_0x4e1b53),_0x4e1b53;}}function Dt(_0x2ec7f6){const _0x2d3258=_0x20aa44;let _0x37b07f='';for(const _0x3fe4d6 of _0x2ec7f6){const {startOffset:_0x2ee1b7,endOffset:_0x4bd64c,isActive:_0x525522,rangeType:_0x10cf27,segmentId:_0x5d8e1e,segmentPage:_0x779e85}=_0x3fe4d6;_0x37b07f[_0x2d3258(0x2ef)]&&(_0x37b07f+=','),_0x37b07f+=_0x2ee1b7+':'+_0x4bd64c+':'+(_0x525522?'1':'0')+':'+_0x10cf27+':'+_0x5d8e1e+':'+_0x779e85;}return _0x37b07f;}function hi(_0xebaca1){const _0x434c50=_0x20aa44,_0x644d2a=_0xebaca1[_0x434c50(0x355)](','),_0x46713a=[];for(const _0x4af674 of _0x644d2a){const [_0x2cebe7,_0x28f7fc,_0x26b84c,_0x518c61,_0x380b11,_0x592946]=_0x4af674['split'](':');_0x46713a['push']({'startOffset':Number(_0x2cebe7),'endOffset':Number(_0x28f7fc),'collapsed':_0x2cebe7===_0x28f7fc,'isActive':_0x26b84c==='1','rangeType':_0x518c61===_0x38b7d0[_0x434c50(0x33c)]?_0x38b7d0['TEXT']:_0x38b7d0[_0x434c50(0x394)],'segmentId':typeof _0x380b11==_0x434c50(0x2fd)?String(_0x380b11):'','segmentPage':Number(_0x592946!=null?_0x592946:-0x1)});}return _0x46713a['some'](_0x2ff54d=>_0x2ff54d[_0x434c50(0x2dd)])||(_0x46713a[0x0][_0x434c50(0x2dd)]=!0x0),_0x46713a;}class je extends _0xa38ff1{constructor(){const _0x31f892=_0x20aa44;super(...arguments),_(this,_0x31f892(0x353),new _0x119cba(null)),_(this,'collabCursorState$',this[_0x31f892(0x353)]['asObservable']());}['syncEditingCollabCursor'](_0x11c131){const _0x2e5f6c=_0x20aa44,{unitID:_0x4f9471,memberID:_0x4555c5,textRanges:_0x380daf}=_0x11c131,_0x2f4628=Dt(_0x380daf);if(_0x2f4628==='')return;const _0x85f4d4={'unitID':_0x4f9471,'memberID':_0x4555c5,'selection':_0x2f4628};this[_0x2e5f6c(0x353)][_0x2e5f6c(0x29e)](_0x85f4d4);}}var ui=Object[_0x20aa44(0x382)],di=(_0x5e99df,_0x294799,_0x35ab00,_0x55d24e)=>{const _0x56205e=_0x20aa44;for(var _0xf1943f=_0x55d24e>0x1?void 0x0:_0x55d24e?ui(_0x294799,_0x35ab00):_0x294799,_0x28c97c=_0x5e99df[_0x56205e(0x2ef)]-0x1,_0x301fad;_0x28c97c>=0x0;_0x28c97c--)(_0x301fad=_0x5e99df[_0x28c97c])&&(_0xf1943f=_0x301fad(_0xf1943f)||_0xf1943f);return _0xf1943f;},w=(_0x66872e,_0x11531e)=>(_0x3504a9,_0x40184a)=>_0x11531e(_0x3504a9,_0x40184a,_0x66872e);const fi=0x12c,Si=0x64;let Me=class extends _0xa38ff1{constructor(_0x5a4c1a,_0x341cd0,_0x441f9e,_0x32d106,_0x27fa75,_0x594e3d,_0x2a2dc8,_0x38d863,_0x4d24f4){const _0x379391=_0x20aa44;super(),_(this,_0x379391(0x2d4),!0x1),_(this,_0x379391(0x2eb),!0x1),_(this,'_cursorInfo$',new _0x119cba(new Map())),_(this,_0x379391(0x218),this[_0x379391(0x3e1)]['asObservable']()),_(this,_0x379391(0x31b),new _0x119cba([])),_(this,'roomMembers$',this[_0x379391(0x31b)][_0x379391(0x2ed)](_0x285e88(fi))),_(this,_0x379391(0x391),_0x1dec13(_0x3839f2=>{const _0x1ed1f5=_0x379391,_0x20126d={'eventID':_0x2817a4[_0x1ed1f5(0x39e)],'data':{'unitID':this[_0x1ed1f5(0x3a7)],'memberID':this['_session'][_0x1ed1f5(0x344)](),'selection':Dt(_0x3839f2)}};this['_session'][_0x1ed1f5(0x35a)](_0x20126d,this['unitID']);},Si)),(this[_0x379391(0x3a7)]=_0x5a4c1a,this[_0x379391(0x231)]=_0x341cd0,this[_0x379391(0x3bd)]=_0x441f9e,this[_0x379391(0x2f2)]=_0x32d106,this[_0x379391(0x2af)]=_0x27fa75,this[_0x379391(0x32e)]=_0x594e3d,this[_0x379391(0x38e)]=_0x2a2dc8,this[_0x379391(0x270)]=_0x38d863,this[_0x379391(0x3dc)]=_0x4d24f4);}get['cursorInfo'](){const _0x2ef9b4=_0x20aa44;return this[_0x2ef9b4(0x3e1)]['getValue']();}get['roomMembers'](){const _0x2411d2=_0x20aa44;return this[_0x2411d2(0x31b)][_0x2411d2(0x2e0)]();}['dispose'](){const _0x390a81=_0x20aa44;super[_0x390a81(0x392)](),this[_0x390a81(0x3e1)][_0x390a81(0x29e)](new Map()),this[_0x390a81(0x3e1)][_0x390a81(0x258)](),this[_0x390a81(0x31b)][_0x390a81(0x29e)]([]),this['_roomMembers$'][_0x390a81(0x258)]();}[_0x20aa44(0x26a)](){const _0xbb7042=_0x20aa44;this[_0xbb7042(0x2eb)]||(this[_0xbb7042(0x2eb)]=!0x0,this['_session'][_0xbb7042(0x30d)][_0xbb7042(0x2ed)](_0x521e1e(this[_0xbb7042(0x31f)]))[_0xbb7042(0x3cd)](_0x2adbc8=>{const _0x4838d1=_0xbb7042;_0x2adbc8===_0x11ba57[_0x4838d1(0x2f7)]?this[_0x4838d1(0x319)]():this[_0x4838d1(0x35e)]();}),this['_session'][_0xbb7042(0x289)][_0xbb7042(0x2ed)](_0x521e1e(this['dispose$']))[_0xbb7042(0x3cd)](_0x2c1a92=>{const _0x3b939b=_0xbb7042,_0x11c20f=_0x2c1a92[_0x3b939b(0x3bf)];_0x11c20f===_0x2817a4[_0x3b939b(0x39e)]&&this['_onCursorUpdate'](_0x2c1a92),_0x11c20f===_0x2817a4['USERS_LEAVE']&&this[_0x3b939b(0x375)](_0x2c1a92);}),this['disposeWithMe'](this[_0xbb7042(0x3dc)]['onCommandExecuted'](_0xaf2da3=>{const _0x29ed8c=_0xbb7042,_0x53be61=_0xaf2da3[_0x29ed8c(0x314)];_0x53be61!=null&&this['_online']&&_0xaf2da3['id']===_0x21a045['id']&&_0x53be61[_0x29ed8c(0x241)]===this[_0x29ed8c(0x3a7)]&&_0x53be61[_0x29ed8c(0x298)]===!0x1&&_0x53be61[_0x29ed8c(0x381)][_0x29ed8c(0x2ef)]>0x0&&this['_updateLocalCursor'](_0x53be61['ranges']);})),this[_0xbb7042(0x32e)][_0xbb7042(0x2f0)]['pipe'](_0x521e1e(this[_0xbb7042(0x31f)]))[_0xbb7042(0x3cd)](_0x2ccbd1=>{const _0x1cb127=_0xbb7042;if((_0x2ccbd1==null?void 0x0:_0x2ccbd1[_0x1cb127(0x3a7)])!==this[_0x1cb127(0x3a7)])return;const _0x1bff3b={'eventID':_0x2817a4['UPDATE_CURSOR'],'data':_0x2ccbd1};this[_0x1cb127(0x3b7)](_0x1bff3b);}),this[_0xbb7042(0x211)](this[_0xbb7042(0x3dc)][_0xbb7042(0x1fe)](_0x25ad83=>{const _0x419d11=_0xbb7042;if(_0x25ad83[_0x419d11(0x314)]==null)return;const _0x774f1c=_0x25ad83[_0x419d11(0x314)];if(_0x25ad83['id']!==_0x37db13['id']||_0x774f1c[_0x419d11(0x241)]!==this[_0x419d11(0x3a7)])return;const _0x4962e5={'id':'doc.mutation.rich-text-editing','params':_0x774f1c},_0x257634=this[_0x419d11(0x3e8)];for(const [_0x19a78a,_0x2400c3]of _0x257634){const _0x468bcf={'id':_0x419d11(0x22a),'params':{'unitId':this[_0x419d11(0x3a7)],'actions':null,'textRanges':_0x2400c3[_0x419d11(0x381)]}},_0x15787b=this[_0x419d11(0x38e)]['transformMutation'](_0x4962e5,_0x468bcf,!0x1);if(_0x3b86aa(_0x15787b))throw _0x15787b[_0x419d11(0x2fa)];_0x257634[_0x419d11(0x3db)](_0x19a78a,{..._0x2400c3,'ranges':_0x15787b[_0x419d11(0x26e)][_0x419d11(0x314)][_0x419d11(0x249)]});}queueMicrotask(()=>{const _0x1199af=_0x419d11;this[_0x1199af(0x3e1)][_0x1199af(0x29e)](_0x257634);});})));}[_0x20aa44(0x3b7)](_0x10e71e){const _0x2f0fe0=_0x20aa44;var _0x2e4174,_0x1250a0;const {memberID:_0x48b8be,selection:_0x1474a8}=_0x10e71e[_0x2f0fe0(0x1f3)],_0x354952=hi(_0x1474a8),_0x5c70ea=(_0x1250a0=(_0x2e4174=this[_0x2f0fe0(0x2af)]['getMember'](this['unitID'],_0x48b8be))==null?void 0x0:_0x2e4174['name'])!=null?_0x1250a0:_0x2f0fe0(0x374),_0x46215a={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x48b8be),'name':_0x5c70ea,'ranges':_0x354952},_0x8b4754=this['cursorInfo'];_0x8b4754[_0x2f0fe0(0x3db)](_0x48b8be,_0x46215a),this[_0x2f0fe0(0x3e1)][_0x2f0fe0(0x29e)](_0x8b4754);}['_onCursorDelete'](_0x3b293e){const _0x3faae6=_0x20aa44,{memberID:_0x1de3f4}=_0x3b293e[_0x3faae6(0x1f3)],_0x5d0584=this[_0x3faae6(0x3e8)];_0x5d0584[_0x3faae6(0x38a)](_0x1de3f4),this[_0x3faae6(0x3e1)][_0x3faae6(0x29e)](_0x5d0584);}[_0x20aa44(0x319)](){const _0x63a9dd=_0x20aa44;var _0x5a95c9;if(this['_online']=!0x0,((_0x5a95c9=this[_0x63a9dd(0x270)]['getFocusedUnit']())==null?void 0x0:_0x5a95c9[_0x63a9dd(0x34b)]())!==this[_0x63a9dd(0x3a7)])return;const _0x3f57ee=this[_0x63a9dd(0x3bd)][_0x63a9dd(0x201)](_0x302227)[_0x63a9dd(0x264)]();Array[_0x63a9dd(0x302)](_0x3f57ee)&&_0x3f57ee['length']>0x0&&this[_0x63a9dd(0x391)](_0x3f57ee);}[_0x20aa44(0x35e)](){const _0x46e32f=_0x20aa44;this[_0x46e32f(0x2d4)]=!0x1;}};Me=di([w(0x2,_0x346bad(_0x286e8d)),w(0x3,_0x346bad(He)),w(0x4,_0x346bad(_0x3e6893)),w(0x5,_0x346bad(je)),w(0x6,_0x540bcf),w(0x7,_0x19a897),w(0x8,_0x5afe24)],Me);var mi=Object[_0x20aa44(0x382)],gi=(_0x2a867a,_0x3de489,_0x12abe4,_0x61214)=>{const _0x58a0f0=_0x20aa44;for(var _0xd2e8ba=_0x61214>0x1?void 0x0:_0x61214?mi(_0x3de489,_0x12abe4):_0x3de489,_0x42d80b=_0x2a867a[_0x58a0f0(0x2ef)]-0x1,_0x3d8e5f;_0x42d80b>=0x0;_0x42d80b--)(_0x3d8e5f=_0x2a867a[_0x42d80b])&&(_0xd2e8ba=_0x3d8e5f(_0xd2e8ba)||_0xd2e8ba);return _0xd2e8ba;},x=(_0xfa1a35,_0x4561d8)=>(_0x4fea59,_0x4f162d)=>_0x4561d8(_0x4fea59,_0x4f162d,_0xfa1a35);const vi=0x12c,Ii=0x64,pi=()=>{let _0x435b42=[],_0x35f3ff=!0x1;return _0x2377c2=>{_0x435b42['push'](_0x2377c2),_0x35f3ff||(_0x35f3ff=!0x0,setTimeout(()=>{_0x435b42['forEach'](_0x14c2b3=>_0x14c2b3()),_0x435b42=[],_0x35f3ff=!0x1;}));};};let Pe=class extends _0xa38ff1{constructor(_0x3b1850,_0x47f7ae,_0x4ccc25,_0x47a62c,_0x4e93b8,_0x149bd4,_0x2f0a17,_0x36e658){const _0x3f22c9=_0x20aa44;super(),_(this,_0x3f22c9(0x2d4),!0x1),_(this,_0x3f22c9(0x2eb),!0x1),_(this,_0x3f22c9(0x3e1),new _0x119cba(new Map())),_(this,_0x3f22c9(0x218),this['_cursorInfo$'][_0x3f22c9(0x20c)]()),_(this,_0x3f22c9(0x31b),new _0x119cba([])),_(this,_0x3f22c9(0x257),this[_0x3f22c9(0x31b)][_0x3f22c9(0x2ed)](_0x285e88(vi))),_(this,_0x3f22c9(0x391),_0x1dec13((_0x39f5c4,_0x491e5c)=>{const _0x1642b6=_0x3f22c9,_0x839b43={'eventID':_0x2817a4['UPDATE_CURSOR'],'data':{'unitID':this[_0x1642b6(0x3a7)],'memberID':this['_session'][_0x1642b6(0x344)](),'selection':_0x5c28b8(_0x39f5c4,_0x491e5c[_0x1642b6(0x1fa)])}};this['_session'][_0x1642b6(0x35a)](_0x839b43,this[_0x1642b6(0x3a7)]);},Ii)),(this[_0x3f22c9(0x3a7)]=_0x3b1850,this[_0x3f22c9(0x231)]=_0x47f7ae,this['_injector']=_0x4ccc25,this[_0x3f22c9(0x2f2)]=_0x47a62c,this['_memberService']=_0x4e93b8,this['_univerInstanceService']=_0x149bd4,this[_0x3f22c9(0x3dc)]=_0x2f0a17,this[_0x3f22c9(0x285)]=_0x36e658);}get['cursorInfo'](){const _0x2e026d=_0x20aa44;return this[_0x2e026d(0x3e1)][_0x2e026d(0x2e0)]();}get[_0x20aa44(0x2d8)](){const _0x3e494f=_0x20aa44;return this[_0x3e494f(0x31b)][_0x3e494f(0x2e0)]();}[_0x20aa44(0x392)](){const _0x25e02d=_0x20aa44;super[_0x25e02d(0x392)](),this[_0x25e02d(0x3e1)]['next'](new Map()),this[_0x25e02d(0x3e1)][_0x25e02d(0x258)](),this[_0x25e02d(0x31b)][_0x25e02d(0x29e)]([]),this[_0x25e02d(0x31b)][_0x25e02d(0x258)]();}[_0x20aa44(0x26a)](){const _0x17a611=_0x20aa44;this['_init']||(this[_0x17a611(0x2eb)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x521e1e(this[_0x17a611(0x31f)]))[_0x17a611(0x3cd)](_0x17c263=>{const _0x325d89=_0x17a611;_0x17c263===_0x11ba57[_0x325d89(0x2f7)]?this[_0x325d89(0x319)]():this[_0x325d89(0x35e)]();}),this['_session'][_0x17a611(0x289)][_0x17a611(0x2ed)](_0x521e1e(this[_0x17a611(0x31f)]))[_0x17a611(0x3cd)](_0x43dd68=>{const _0x1d7f80=_0x17a611,_0x4c955d=_0x43dd68['eventID'];_0x4c955d===_0x2817a4[_0x1d7f80(0x39e)]&&this[_0x1d7f80(0x3b7)](_0x43dd68),_0x4c955d===_0x2817a4[_0x1d7f80(0x3a6)]&&this[_0x1d7f80(0x375)](_0x43dd68);}),this[_0x17a611(0x2e5)](),this[_0x17a611(0x211)](this['_commandService']['onCommandExecuted'](_0x5ccf86=>{const _0x5aef68=_0x17a611;if(this[_0x5aef68(0x2d4)]&&_0x5ccf86['id']===_0x4500ba['id']&&_0x5ccf86[_0x5aef68(0x314)]['unitId']===this['unitID']){const _0x17999f=_0x5ccf86['params'];this[_0x5aef68(0x391)](_0x17999f[_0x5aef68(0x2a7)],_0x17999f['selections'][0x0]);}})));}[_0x20aa44(0x3b7)](_0x3ca0aa){const _0x4ec5ac=_0x20aa44;var _0x4ff71e,_0x4c923f;const {memberID:_0x1432d6,selection:_0x5c6463}=_0x3ca0aa['data'],{sheetName:_0x2ce1a2,range:_0x5d6a51}=_0x2d7b42(_0x5c6463),_0x6830c5={'name':(_0x4c923f=(_0x4ff71e=this['_memberService'][_0x4ec5ac(0x20e)](this[_0x4ec5ac(0x3a7)],_0x1432d6))==null?void 0x0:_0x4ff71e[_0x4ec5ac(0x233)])!=null?_0x4c923f:'Unknown\x20user','range':this[_0x4ec5ac(0x3be)](_0x2ce1a2,_0x5d6a51),'sheetID':_0x2ce1a2,'color':this[_0x4ec5ac(0x2f2)][_0x4ec5ac(0x2c5)](_0x1432d6),'selection':_0x5c6463},_0x3266a8=this[_0x4ec5ac(0x3e8)];_0x3266a8[_0x4ec5ac(0x3db)](_0x1432d6,_0x6830c5),this[_0x4ec5ac(0x3e1)][_0x4ec5ac(0x29e)](_0x3266a8);}[_0x20aa44(0x375)](_0x314f78){const _0x1578df=_0x20aa44,{memberID:_0x3ba701}=_0x314f78[_0x1578df(0x1f3)],_0x43a379=this['cursorInfo'];_0x43a379[_0x1578df(0x38a)](_0x3ba701),this[_0x1578df(0x3e1)][_0x1578df(0x29e)](_0x43a379);}[_0x20aa44(0x3be)](_0x2c31ad,_0x2e859d){const _0x5ddcc8=_0x20aa44;var _0x138cae,_0x541c29;const _0x2370d7=(_0x541c29=(_0x138cae=this[_0x5ddcc8(0x270)][_0x5ddcc8(0x272)](this[_0x5ddcc8(0x3a7)]))==null?void 0x0:_0x138cae['getSheetBySheetId'](_0x2c31ad))==null?void 0x0:_0x541c29[_0x5ddcc8(0x32c)]();return(_0x2370d7==null?void 0x0:_0x2370d7['find'](_0x453df0=>_0x1f5bbc['contains'](_0x453df0,_0x2e859d)))||_0x2e859d;}[_0x20aa44(0x2e5)](){const _0x3b761d=_0x20aa44,_0x45b638=new _0x45a39c(),_0x30aeb3=pi(),_0x2be81b=()=>{const _0x358f88=_0x3826;_0x45b638[_0x358f88(0x392)]();const _0x4a4868=(_0x147e8b,_0x1951be,_0x57b004,_0x32199f)=>{const _0x3864dd=_0x358f88;let _0x55a514=[];switch(_0x147e8b['id']){case _0x3dec9a['DeleteRangeMoveLeftCommandId']:{_0x55a514=_0x237e9d(_0x147e8b,_0x32199f);break;}case _0x3dec9a[_0x3864dd(0x2a4)]:{_0x55a514=_0x1bb295(_0x147e8b,_0x32199f);break;}case _0x3dec9a[_0x3864dd(0x2c0)]:{_0x55a514=_0xccc561(_0x147e8b,_0x32199f);break;}case _0x3dec9a[_0x3864dd(0x331)]:{_0x55a514=_0x39eb31(_0x147e8b,_0x32199f);break;}case _0x3dec9a[_0x3864dd(0x1e6)]:{_0x55a514=_0x432fea(_0x147e8b,_0x32199f);break;}case _0x3dec9a[_0x3864dd(0x2c3)]:{_0x55a514=_0x55d1d1(_0x147e8b,_0x32199f);break;}case _0x3dec9a['MoveRangeCommandId']:{_0x55a514=_0x300d2b(_0x147e8b,_0x32199f);break;}case _0x3dec9a['RemoveColCommandId']:{_0x55a514=_0x33f946(_0x147e8b,_0x32199f);break;}case _0x3dec9a[_0x3864dd(0x1eb)]:{_0x55a514=_0x1ee9c4(_0x147e8b,_0x32199f);break;}}const _0x376a91=_0x52afcc(_0x55a514,_0x32199f),_0x2b8276=this[_0x3864dd(0x3e8)][_0x3864dd(0x201)](_0x1951be);if(_0x2b8276&&_0x376a91){const _0xf35993={..._0x2b8276,'range':_0x376a91};this[_0x3864dd(0x3e8)][_0x3864dd(0x3db)](_0x1951be,_0xf35993),_0x30aeb3(()=>{const _0x230bed=_0x3864dd,_0x24ddd0=this[_0x230bed(0x285)][_0x230bed(0x20a)](_0x376a91,_0x40b6a9=>(_0x24ddd0['dispose'](),_0x4a4868(_0x40b6a9,_0x1951be,_0x57b004,_0x376a91)));_0x45b638['add'](_0x24ddd0);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x358f88(0x2fe)]((_0x46bb1c,_0x4d74cc)=>{const _0x5b93fa=_0x358f88,{range:_0x3843fc,sheetID:_0x50e036}=_0x46bb1c,_0x2fdc70=this[_0x5b93fa(0x285)][_0x5b93fa(0x20a)](_0x3843fc,_0x1cdbdf=>(_0x2fdc70[_0x5b93fa(0x392)](),_0x4a4868(_0x1cdbdf,_0x4d74cc,_0x50e036,_0x3843fc)));_0x45b638[_0x5b93fa(0x2bd)](_0x2fdc70);});};this[_0x3b761d(0x211)](_0xae9f63(this['_cursorInfo$'][_0x3b761d(0x3cd)](()=>{_0x2be81b();})));}['_toggleOnline'](){const _0x1470d9=_0x20aa44;var _0x3c8c2d,_0x55ce67;if(this[_0x1470d9(0x2d4)]=!0x0,((_0x3c8c2d=this[_0x1470d9(0x270)][_0x1470d9(0x2dc)]())==null?void 0x0:_0x3c8c2d[_0x1470d9(0x34b)]())!==this[_0x1470d9(0x3a7)])return;const _0x16d24c=(_0x55ce67=this[_0x1470d9(0x3bd)][_0x1470d9(0x201)](_0x3660e9)['getCurrentSelections']())==null?void 0x0:_0x55ce67[0x0],_0x98869e=this[_0x1470d9(0x270)][_0x1470d9(0x2ca)](_0x28520b[_0x1470d9(0x356)])[_0x1470d9(0x36e)]();_0x16d24c&&_0x98869e&&this[_0x1470d9(0x391)](_0x98869e[_0x1470d9(0x276)](),_0x16d24c);}[_0x20aa44(0x35e)](){const _0xa81cce=_0x20aa44;this[_0xa81cce(0x2d4)]=!0x1;}};Pe=gi([x(0x2,_0x346bad(_0x286e8d)),x(0x3,_0x346bad(He)),x(0x4,_0x346bad(_0x3e6893)),x(0x5,_0x19a897),x(0x6,_0x5afe24),x(0x7,_0x346bad(_0x24355e))],Pe);var Ci=Object[_0x20aa44(0x382)],Ei=(_0x33c80a,_0xd935d8,_0x8ee2b2,_0x1bef7a)=>{const _0x4ec356=_0x20aa44;for(var _0x39d2d0=_0x1bef7a>0x1?void 0x0:_0x1bef7a?Ci(_0xd935d8,_0x8ee2b2):_0xd935d8,_0xd48b1e=_0x33c80a[_0x4ec356(0x2ef)]-0x1,_0x35714f;_0xd48b1e>=0x0;_0xd48b1e--)(_0x35714f=_0x33c80a[_0xd48b1e])&&(_0x39d2d0=_0x35714f(_0x39d2d0)||_0x39d2d0);return _0x39d2d0;},me=(_0x387c3f,_0x409b73)=>(_0x5d57ca,_0x13a097)=>_0x409b73(_0x5d57ca,_0x13a097,_0x387c3f);let H=class extends _0xa38ff1{constructor(_0x1c3dbd,_0x20cf46,_0x20cf76){const _0x3ec993=_0x20aa44;super(),_(this,_0x3ec993(0x3cf),new Map()),_(this,_0x3ec993(0x2fb),new _0x4e3e38()),(this[_0x3ec993(0x270)]=_0x1c3dbd,this[_0x3ec993(0x3bd)]=_0x20cf46,this[_0x3ec993(0x2f4)]=_0x20cf76,this[_0x3ec993(0x2eb)]());}[_0x20aa44(0x392)](){const _0x24d5ab=_0x20aa44;super[_0x24d5ab(0x392)](),this[_0x24d5ab(0x2fb)][_0x24d5ab(0x258)](),this[_0x24d5ab(0x3cf)][_0x24d5ab(0x2fe)](_0x5baa94=>_0x5baa94[_0x24d5ab(0x392)]());}[_0x20aa44(0x244)](_0x330245){const _0xf0e43c=_0x20aa44;return this[_0xf0e43c(0x3cf)][_0xf0e43c(0x3c9)](_0x330245)?this[_0xf0e43c(0x3cf)][_0xf0e43c(0x201)](_0x330245)['cursorInfo$']:this[_0xf0e43c(0x2fb)][_0xf0e43c(0x2ed)](_0x27e8b0(_0x526d09=>_0x526d09['unitID']===_0x330245),_0x4e4ba1(_0x2d5139=>_0x2d5139['cursorInfo$']));}[_0x20aa44(0x2eb)](){const _0x341b91=_0x20aa44;this['_univerInstanceService'][_0x341b91(0x239)](_0x28520b[_0x341b91(0x356)])[_0x341b91(0x2ed)](_0x521e1e(this['dispose$']))['subscribe'](async _0x4e0713=>{const _0x33c698=_0x341b91,_0x2e6d43=_0x4e0713[_0x33c698(0x34b)](),_0x446513=await this[_0x33c698(0x3c0)](_0x2e6d43);this[_0x33c698(0x2fb)][_0x33c698(0x29e)](_0x446513),this[_0x33c698(0x3cf)]['set'](_0x2e6d43,_0x446513);}),this[_0x341b91(0x270)][_0x341b91(0x239)](_0x28520b[_0x341b91(0x3e6)])['pipe'](_0x521e1e(this[_0x341b91(0x31f)]))[_0x341b91(0x2ed)](_0x27e8b0(_0xe1fba6=>!_0xe1fba6[_0x341b91(0x34b)]()[_0x341b91(0x237)]('__')))[_0x341b91(0x3cd)](async _0x5ea782=>{const _0xdc1040=_0x341b91,_0x3c6a20=_0x5ea782[_0xdc1040(0x34b)](),_0x19e1c7=await this[_0xdc1040(0x34f)](_0x3c6a20);this[_0xdc1040(0x2fb)]['next'](_0x19e1c7),this[_0xdc1040(0x3cf)]['set'](_0x3c6a20,_0x19e1c7);}),_0x1cb517(this[_0x341b91(0x270)]['getTypeOfUnitDisposed$'](_0x28520b[_0x341b91(0x3e6)]),this['_univerInstanceService'][_0x341b91(0x373)](_0x28520b[_0x341b91(0x356)]))[_0x341b91(0x2ed)](_0x521e1e(this[_0x341b91(0x31f)]))[_0x341b91(0x3cd)](_0x55adb4=>{const _0x282713=_0x341b91,_0x489247=_0x55adb4['getUnitId'](),_0x3348e4=this['_entities'][_0x282713(0x201)](_0x489247);_0x3348e4&&(_0x3348e4[_0x282713(0x392)](),this['_entities'][_0x282713(0x38a)](_0x489247));});}async[_0x20aa44(0x3c0)](_0x1c4f15){const _0x4aafe6=_0x20aa44,_0x18b571=await this[_0x4aafe6(0x2f4)][_0x4aafe6(0x348)](_0x1c4f15),_0x1b1c74=this['_injector']['createInstance'](Pe,_0x1c4f15,_0x18b571);return _0x1b1c74[_0x4aafe6(0x26a)](),_0x1b1c74;}async[_0x20aa44(0x34f)](_0x301fb0){const _0x2a71c0=_0x20aa44,_0x1d9b05=await this[_0x2a71c0(0x2f4)]['requireSession'](_0x301fb0),_0x515d61=this['_injector'][_0x2a71c0(0x2b7)](Me,_0x301fb0,_0x1d9b05);return _0x515d61[_0x2a71c0(0x26a)](),_0x515d61;}};H=Ei([me(0x0,_0x19a897),me(0x1,_0x346bad(_0x286e8d)),me(0x2,_0x346bad(_0x3ed724))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x2f2ae3,_0x3001ae){const _0x358f13=_0x20aa44;let {radius:_0x354fa7,width:_0x1bbea2,height:_0x116bba}=_0x3001ae;_0x354fa7=_0x354fa7!=null?_0x354fa7:0x0,_0x1bbea2=_0x1bbea2!=null?_0x1bbea2:0x1e,_0x116bba=_0x116bba!=null?_0x116bba:0x1e;let _0x437929=0x0,_0x415d94=0x0,_0x11d6bd=0x0;_0x437929=_0x415d94=_0x11d6bd=Math[_0x358f13(0x3c7)](_0x354fa7,_0x1bbea2/0x2,_0x116bba/0x2),_0x2f2ae3['beginPath'](),_0x2f2ae3[_0x358f13(0x347)](_0x437929,0x0),_0x2f2ae3[_0x358f13(0x3c1)](_0x1bbea2-_0x415d94,0x0),_0x2f2ae3[_0x358f13(0x32a)](_0x1bbea2-_0x415d94,_0x415d94,_0x415d94,Math['PI']*0x3/0x2,0x0,!0x1),_0x2f2ae3['lineTo'](_0x1bbea2,_0x116bba-_0x11d6bd),_0x2f2ae3[_0x358f13(0x32a)](_0x1bbea2-_0x11d6bd,_0x116bba-_0x11d6bd,_0x11d6bd,0x0,Math['PI']/0x2,!0x1),_0x2f2ae3[_0x358f13(0x3c1)](0x0,_0x116bba),_0x2f2ae3[_0x358f13(0x3c1)](0x0,_0x437929),_0x2f2ae3[_0x358f13(0x32a)](_0x437929,_0x437929,_0x437929,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2f2ae3[_0x358f13(0x310)](),_0x3001ae[_0x358f13(0x3aa)]&&(_0x2f2ae3['save'](),_0x2f2ae3[_0x358f13(0x1ee)]=_0x3001ae['fill'],_0x3001ae['fillRule']===_0x358f13(0x3af)?_0x2f2ae3[_0x358f13(0x3aa)]('evenodd'):_0x2f2ae3[_0x358f13(0x3aa)](),_0x2f2ae3['restore']());}class ue extends _0x35cd19{constructor(_0x483bb4,_0x76206c){const _0x2a5371=_0x20aa44;super(_0x483bb4,_0x76206c),_(this,_0x2a5371(0x388)),_(this,'text'),(this['color']=_0x76206c==null?void 0x0:_0x76206c['color'],this[_0x2a5371(0x2c9)]=_0x76206c==null?void 0x0:_0x76206c[_0x2a5371(0x2c9)]);}static['drawWith'](_0x3844c7,_0x3fed43){const _0xffe637=_0x20aa44,{text:_0x2f4ee2,color:_0x657ebd}=_0x3fed43;_0x3844c7['save'](),_0x3844c7[_0xffe637(0x3b2)]=_0xffe637(0x33b);const _0x1735aa=_0x3844c7['measureText'](_0x2f4ee2)['width'],_0x5668d5=Math['min'](_0x1735aa+0x2*ge,et);Oi(_0x3844c7,{'height':te,'radius':0x4,'width':_0x5668d5,'fill':_0x657ebd}),_0x3844c7[_0xffe637(0x1ee)]=_0xffe637(0x269);const _0x58f302=ge,_0x47a2c7=te-bi,_0x2cef50=et-0x2*ge;if(_0x1735aa>_0x2cef50){let _0x36e416='',_0xce9455=0x0;for(const _0x13015f of _0x2f4ee2){const _0x9eeed8=_0x3844c7['measureText'](_0x13015f)['width'];if(_0xce9455+_0x9eeed8<=_0x2cef50-_0x3844c7[_0xffe637(0x30b)](_0xffe637(0x37d))[_0xffe637(0x3e3)])_0x36e416+=_0x13015f,_0xce9455+=_0x9eeed8;else{_0x36e416+=_0xffe637(0x37d);break;}}_0x3844c7[_0xffe637(0x202)](_0x36e416,_0x58f302,_0x47a2c7);}else _0x3844c7[_0xffe637(0x202)](_0x2f4ee2,_0x58f302,_0x47a2c7);_0x3844c7['restore']();}[_0x20aa44(0x2cc)](_0x54a4e4){const _0xc909fd=_0x20aa44;ue[_0xc909fd(0x250)](_0x54a4e4,this);}}const ve=_0x20aa44(0x323),Ti=_0x20aa44(0x293),Ri=_0x20aa44(0x38b),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x20aa44(0x27f);class tt{constructor(_0x16fd2c,_0x32c4ca,_0x949d82,_0x1ea813){const _0x24cc72=_0x20aa44;_(this,_0x24cc72(0x33a),[]),_(this,_0x24cc72(0x33f),null),_(this,_0x24cc72(0x245),null),_(this,_0x24cc72(0x3de),null),_(this,_0x24cc72(0x1fc),null),_(this,_0x24cc72(0x398),null),(this[_0x24cc72(0x2cf)]=_0x16fd2c,this[_0x24cc72(0x3df)]=_0x32c4ca,this['_docSkeleton']=_0x949d82,this['_document']=_0x1ea813,this[_0x24cc72(0x26d)]());}set['_hover'](_0x5c8380){const _0x356136=_0x20aa44;_0x5c8380?(this[_0x356136(0x3de)]&&this[_0x356136(0x3de)][_0x356136(0x229)](),this[_0x356136(0x245)]&&this['_textBubble'][_0x356136(0x25d)]()):(this[_0x356136(0x3de)]&&this[_0x356136(0x3de)]['show'](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x20aa44(0x392)](){const _0x5bb1b2=_0x20aa44;for(const _0x2c4363 of this[_0x5bb1b2(0x33a)])_0x2c4363['dispose']();this[_0x5bb1b2(0x245)]&&this['_textBubble'][_0x5bb1b2(0x392)](),this[_0x5bb1b2(0x3de)]&&this[_0x5bb1b2(0x3de)]['dispose'](),this[_0x5bb1b2(0x33f)]&&this[_0x5bb1b2(0x33f)][_0x5bb1b2(0x392)](),this[_0x5bb1b2(0x398)]&&this[_0x5bb1b2(0x398)]();}['_render'](){const _0x1e80cc=_0x20aa44;var _0x35acd9;const {_docSkeleton:_0x1a3748,_document:_0x57aa2e}=this,{color:_0x338359,name:_0x268198,ranges:_0x44ac31}=this[_0x1e80cc(0x2cf)],_0x3c649b=_0x57aa2e[_0x1e80cc(0x1f7)](),{docsLeft:_0x317894,docsTop:_0x4e6731}=_0x3c649b,_0x37f739=new _0x53e930(_0x3c649b,_0x1a3748);for(const {startOffset:_0x56fd25,endOffset:_0x27ae6a,rangeType:_0x360b04,segmentId:_0x3bfffd,segmentPage:_0x17de18,collapsed:_0x11d086,isActive:_0x5c3c21}of _0x44ac31){const _0x4ebf32=_0x1a3748[_0x1e80cc(0x291)](_0x56fd25,!0x0,_0x3bfffd,_0x17de18);let _0x661b1e=_0x1a3748[_0x1e80cc(0x291)](_0x27ae6a,!0x0,_0x3bfffd,_0x17de18);if(_0x661b1e==null&&(_0x661b1e=_0x1a3748[_0x1e80cc(0x291)](_0x27ae6a-0x1,!0x1,_0x3bfffd,_0x17de18)),_0x5c3c21){const {contentBoxPointGroup:_0x13e77a}=_0x37f739['getRangePointData'](_0x661b1e,_0x661b1e);if(_0x13e77a[_0x1e80cc(0x2ef)]===0x0)continue;this[_0x1e80cc(0x28a)](_0x338359,_0x13e77a,_0x317894,_0x4e6731,_0x268198),this[_0x1e80cc(0x398)]=this['_handleHover']();}if(_0x4ebf32&&_0x661b1e){if(_0x360b04===_0x38b7d0[_0x1e80cc(0x394)]){const _0x25905d=new _0x50e7df(_0x3c649b,_0x1a3748),{pointGroup:_0x135406}=(_0x35acd9=_0x25905d[_0x1e80cc(0x3b3)](_0x4ebf32,_0x661b1e))!=null?_0x35acd9:{};if(_0x135406==null||_0x135406[_0x1e80cc(0x2ef)]===0x0)continue;this['_drawRectRange'](_0x338359,_0x135406,_0x317894,_0x4e6731);}else{if(!_0x11d086){const {borderBoxPointGroup:_0x494e20}=_0x37f739[_0x1e80cc(0x3b3)](_0x4ebf32,_0x661b1e);if(_0x494e20['length']===0x0)continue;this[_0x1e80cc(0x1e2)](_0x338359,_0x494e20,_0x317894,_0x4e6731);}}}}}[_0x20aa44(0x28a)](_0x30f887,_0x1e8421,_0x2f9760,_0x45d1b4,_0x4b10c0){const _0x550d5f=_0x20aa44,_0xe7216b=this['_getAnchorBounding'](_0x1e8421),{left:_0x1ab4bc,top:_0x943421,height:_0x4fb027}=_0xe7216b,_0x12529b=this[_0x550d5f(0x2e3)](),_0x42b58f=Ni/_0x12529b,_0x21bb40=new _0x1d0bd3(ve+_0x50e642[_0x550d5f(0x2a0)](X),{'left':_0x1ab4bc+_0x2f9760-_0x42b58f,'top':_0x943421+_0x45d1b4,'height':_0x4fb027,'width':Di,'fill':_0x30f887||_0x37ba93(_0x472c19[_0x550d5f(0x214)],0x0),'strokeWidth':_0x42b58f,'stroke':Ui,'evented':!0x0});this[_0x550d5f(0x33f)]=_0x21bb40,this['_scene'][_0x550d5f(0x271)](_0x21bb40,_0x6ca253);const _0x286d1a=new _0x1d0bd3(ve+_0x50e642[_0x550d5f(0x2a0)](X),{'left':_0x1ab4bc+_0x2f9760-_0x42b58f,'top':_0x943421+_0x45d1b4-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x30f887||_0x37ba93(_0x472c19[_0x550d5f(0x214)],0x0),'strokeWidth':0x0,'stroke':_0x30f887||_0x37ba93(_0x472c19['black'],0x0),'evented':!0x1});this[_0x550d5f(0x3de)]=_0x286d1a,this[_0x550d5f(0x3df)]['addObject'](_0x286d1a,_0x6ca253);const _0x3d8d62=new ue(ve+_0x50e642['generateRandomId'](X),{'left':_0x1ab4bc+_0x2f9760-_0x42b58f,'top':_0x943421+_0x45d1b4-te,'text':_0x4b10c0,'color':_0x30f887});this[_0x550d5f(0x245)]=_0x3d8d62,this[_0x550d5f(0x3df)][_0x550d5f(0x271)](_0x3d8d62,_0x6ca253),this['_hover']=!0x1;}[_0x20aa44(0x301)](){const _0x16ed78=_0x20aa44,_0x4ff44d=this['_anchor'][_0x16ed78(0x370)][_0x16ed78(0x227)](()=>{const _0xa800a=_0x16ed78;this[_0xa800a(0x3cb)]=!0x0;}),_0x131c58=this[_0x16ed78(0x33f)]['onPointerLeave$']['subscribeEvent'](()=>{const _0xc0d7a7=_0x16ed78;this[_0xc0d7a7(0x1fc)]&&clearTimeout(this[_0xc0d7a7(0x1fc)]),this['_hideTimer']=setTimeout(()=>{const _0x47f173=_0xc0d7a7;this[_0x47f173(0x3cb)]=!0x1;},0x7d0);});return()=>{const _0x16b3c8=_0x16ed78;_0x4ff44d[_0x16b3c8(0x261)](),_0x131c58[_0x16b3c8(0x261)]();};}['_drawTextRange'](_0x140941,_0x2f1bec,_0x1a625c,_0x5a1012){const _0x3ede93=_0x20aa44,_0x15e2d4=new _0x185055(_0x140941)['setAlpha'](0.2)['toRgbString'](),_0x23712d=new _0x4ed6b0(Ti+_0x50e642[_0x3ede93(0x2a0)](X),{'pointsGroup':_0x2f1bec,'fill':_0x15e2d4||_0x37ba93(_0x472c19['black'],0.2),'left':_0x1a625c,'top':_0x5a1012,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ede93(0x33a)][_0x3ede93(0x253)](_0x23712d),this['_scene'][_0x3ede93(0x271)](_0x23712d,_0x6ca253);}[_0x20aa44(0x2c6)](_0x124310,_0xe4ecf8,_0x3f032a,_0xf53f36){const _0x139c18=_0x20aa44,_0x159d62=new _0x185055(_0x124310)[_0x139c18(0x2e7)](0.2)['toRgbString'](),_0xfe249=new _0x4ed6b0(Ri+_0x50e642['generateRandomId'](X),{'pointsGroup':_0xe4ecf8,'fill':_0x159d62||_0x37ba93(_0x472c19[_0x139c18(0x214)],0.2),'left':_0x3f032a,'top':_0xf53f36,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0xfe249),this[_0x139c18(0x3df)][_0x139c18(0x271)](_0xfe249,_0x6ca253);}['_getAnchorBounding'](_0x4e1f23){const _0x9d080e=_0x4e1f23[0x0],_0x6b22a5=_0x9d080e[0x0],_0x399835=_0x9d080e[0x2],{x:_0x135b0b,y:_0x10fe37}=_0x6b22a5,{x:_0x480328,y:_0x26d35b}=_0x399835;return{'left':_0x135b0b,'top':_0x10fe37,'width':_0x480328-_0x135b0b,'height':_0x26d35b-_0x10fe37};}[_0x20aa44(0x2e3)](){const _0x293f56=_0x20aa44,{scaleX:_0x4db012,scaleY:_0x1ed912}=this[_0x293f56(0x3df)][_0x293f56(0x274)]();return Math[_0x293f56(0x34c)](_0x4db012,_0x1ed912);}}var Mi=Object[_0x20aa44(0x382)],Pi=(_0x4a16ca,_0x7b84e,_0x14cc5c,_0x3df0af)=>{const _0x5ede94=_0x20aa44;for(var _0x3caa26=_0x3df0af>0x1?void 0x0:_0x3df0af?Mi(_0x7b84e,_0x14cc5c):_0x7b84e,_0x1fdd0f=_0x4a16ca[_0x5ede94(0x2ef)]-0x1,_0x2e806c;_0x1fdd0f>=0x0;_0x1fdd0f--)(_0x2e806c=_0x4a16ca[_0x1fdd0f])&&(_0x3caa26=_0x2e806c(_0x3caa26)||_0x3caa26);return _0x3caa26;},Q=(_0x19881b,_0x3a2119)=>(_0x53940b,_0x561595)=>_0x3a2119(_0x53940b,_0x561595,_0x19881b);let we=class extends _0xa38ff1{constructor(_0x20f2a3,_0x3955ca,_0x54de9d,_0x5525d0,_0x2998a3){const _0x48df5f=_0x20aa44;super(),_(this,_0x48df5f(0x2b4),[]),_(this,_0x48df5f(0x28f),[]),(this['_context']=_0x20f2a3,this[_0x48df5f(0x376)]=_0x3955ca,this['_collabCursorController']=_0x54de9d,this[_0x48df5f(0x3dc)]=_0x5525d0,this['_themeService']=_0x2998a3,this[_0x48df5f(0x2eb)]());}['_init'](){const _0x548c36=_0x20aa44,_0x151572=this[_0x548c36(0x326)]['unitId'],_0x1bc36b=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x51a60a([this[_0x548c36(0x3d1)][_0x548c36(0x244)](_0x151572),this[_0x548c36(0x312)][_0x548c36(0x226)]])[_0x548c36(0x2ed)](_0x4b2676(([_0x47c020,_0x278d47])=>({'skeleton':_0x1bc36b['getSkeleton'](),'cursors':[..._0x47c020[_0x548c36(0x31a)]()][_0x548c36(0x3c3)](_0x9f1e63=>({..._0x9f1e63,'color':_0x278d47[_0x9f1e63['color']]}))})))['subscribe'](_0x76fd05=>{const _0x4c8bfb=_0x548c36;if(this[_0x4c8bfb(0x1f1)](),_0x76fd05){const {skeleton:_0x342c7d,cursors:_0x2bba53}=_0x76fd05;this[_0x4c8bfb(0x300)](_0x342c7d,_0x2bba53);}})),this[_0x548c36(0x332)](),this[_0x548c36(0x2ff)]();}[_0x20aa44(0x300)](_0x3682b7,_0x3f0a4a){const _0x3d6fef=_0x20aa44,{scene:_0x5295cf,mainComponent:_0x11e532}=this[_0x3d6fef(0x326)],_0xac809c=_0x3f0a4a['map'](_0x4f9a37=>new tt(_0x4f9a37,_0x5295cf,_0x3682b7,_0x11e532));this['_cursorShapes']=_0xac809c,this[_0x3d6fef(0x28f)]=_0x3f0a4a;}[_0x20aa44(0x2d0)](){const _0x8acc0b=_0x20aa44;this[_0x8acc0b(0x1f1)]();const {scene:_0x20fb8f,mainComponent:_0x5b1514}=this[_0x8acc0b(0x326)],_0x2f4272=this[_0x8acc0b(0x376)][_0x8acc0b(0x34a)](),_0x391177=this[_0x8acc0b(0x28f)]['map'](_0x4d7bd8=>new tt(_0x4d7bd8,_0x20fb8f,_0x2f4272,_0x5b1514));this[_0x8acc0b(0x2b4)]=_0x391177;}[_0x20aa44(0x1f1)](){const _0x5604a1=_0x20aa44;this[_0x5604a1(0x2b4)]['forEach'](_0x527f45=>_0x527f45[_0x5604a1(0x392)]()),this[_0x5604a1(0x2b4)]=[];}['_initCommandExecutedListener'](){const _0x4fead9=_0x20aa44,_0x1af447=[_0xcfbda['id']];this[_0x4fead9(0x211)](this['_commandService']['onCommandExecuted'](_0x50b02d=>{const _0x360ff4=_0x4fead9;_0x1af447[_0x360ff4(0x24f)](_0x50b02d['id'])&&_0x50b02d[_0x360ff4(0x314)][_0x360ff4(0x241)]===this[_0x360ff4(0x326)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x20aa44(0x332)](){const _0x3de116=_0x20aa44;this[_0x3de116(0x211)](_0x15a9c9(this['_context']['engine'][_0x3de116(0x30a)])[_0x3de116(0x2ed)](_0x358712(_0x160098=>_0x160098[_0x3de116(0x2df)]===_0x4bbb7b[_0x3de116(0x208)]),_0x39aa39(0x10))[_0x3de116(0x3cd)](()=>{this['_refreshCollabCursors']();}));}};we=Pi([Q(0x1,_0x346bad(_0x749196)),Q(0x2,_0x346bad(H)),Q(0x3,_0x5afe24),Q(0x4,_0x346bad(_0x5c0762))],we);const wi=0x1,Li=1.5;class Ai extends _0x35cd19{constructor(_0x5c58dc,_0x486e6a){const _0xefc247=_0x20aa44;super(_0x5c58dc,_0x486e6a),_(this,'_color'),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0xefc247(0x27b),''),_(this,_0xefc247(0x292),_0xefc247(0x29c)),_(this,_0xefc247(0x22b)),(_0x486e6a&&this[_0xefc247(0x23a)](_0x486e6a),this[_0xefc247(0x370)]['subscribeEvent'](()=>this[_0xefc247(0x23a)]({'hovered':!0x0})),this['onPointerLeave$'][_0xefc247(0x227)](()=>this[_0xefc247(0x23a)]({'hovered':!0x1})));}[_0x20aa44(0x23a)](_0x2b0ec6){const _0xe2cea3=_0x20aa44;var _0x19ae24,_0x3eed9d,_0x5c1446,_0x22cb04,_0x3b5a6a,_0x1607f0;this[_0xe2cea3(0x3ab)]=(_0x19ae24=_0x2b0ec6[_0xe2cea3(0x388)])!=null?_0x19ae24:this['_color'],this['_hovered']=(_0x3eed9d=_0x2b0ec6[_0xe2cea3(0x235)])!=null?_0x3eed9d:this[_0xe2cea3(0x368)],this[_0xe2cea3(0x3ba)]=(_0x5c1446=_0x2b0ec6[_0xe2cea3(0x1fa)])!=null?_0x5c1446:this[_0xe2cea3(0x3ba)],this[_0xe2cea3(0x27b)]=(_0x22cb04=_0x2b0ec6[_0xe2cea3(0x233)])!=null?_0x22cb04:this[_0xe2cea3(0x27b)],this[_0xe2cea3(0x292)]=(_0x3b5a6a=_0x2b0ec6[_0xe2cea3(0x1fb)])!=null?_0x3b5a6a:this['_labelPosition'],this[_0xe2cea3(0x22b)]=(_0x1607f0=_0x2b0ec6[_0xe2cea3(0x37e)])!=null?_0x1607f0:this[_0xe2cea3(0x22b)],this[_0xe2cea3(0x3e7)]({'width':_0x2b0ec6[_0xe2cea3(0x3e3)],'height':_0x2b0ec6[_0xe2cea3(0x23c)]});}[_0x20aa44(0x281)](_0x2a2a45){const _0x13ac67=_0x20aa44,{row:_0x144a22,column:_0x55f458}=_0x2a2a45;if(_0x144a22>=this[_0x13ac67(0x3ba)]['startRow']&&_0x144a22<=this[_0x13ac67(0x3ba)]['endRow']&&_0x55f458>=this[_0x13ac67(0x3ba)]['startColumn']&&_0x55f458<=this[_0x13ac67(0x3ba)][_0x13ac67(0x2f5)]){this[_0x13ac67(0x23a)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x20aa44(0x260)](_0x4ddecc){return!0x1;}[_0x20aa44(0x2cc)](_0x3a838c){const _0x4bda9a=_0x20aa44;_0x1d0bd3[_0x4bda9a(0x250)](_0x3a838c,{'width':this[_0x4bda9a(0x3e3)],'height':this[_0x4bda9a(0x23c)],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4bda9a(0x22b)]}),this[_0x4bda9a(0x368)]&&(_0x3a838c[_0x4bda9a(0x1f4)](),_0x3a838c['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x4bda9a(0x292)]===_0x4bda9a(0x399)?0x0:-0x14),ue[_0x4bda9a(0x250)](_0x3a838c,{'text':this[_0x4bda9a(0x27b)],'color':this[_0x4bda9a(0x3ab)]}),_0x3a838c['restore']());}}var yi=Object[_0x20aa44(0x382)],$i=(_0x4b5934,_0x435b53,_0x217961,_0x123533)=>{const _0x24349f=_0x20aa44;for(var _0x21e69a=_0x123533>0x1?void 0x0:_0x123533?yi(_0x435b53,_0x217961):_0x435b53,_0x51834d=_0x4b5934[_0x24349f(0x2ef)]-0x1,_0x4a7d80;_0x51834d>=0x0;_0x51834d--)(_0x4a7d80=_0x4b5934[_0x51834d])&&(_0x21e69a=_0x4a7d80(_0x21e69a)||_0x21e69a);return _0x21e69a;},pe=(_0x282fe6,_0x156a4b)=>(_0x78665c,_0x17dfa9)=>_0x156a4b(_0x78665c,_0x17dfa9,_0x282fe6);const xi=0x1389;let Le=class extends _0xa38ff1{constructor(_0x527648,_0x1319d4,_0xd8767d,_0x57daa4){const _0x55d31c=_0x20aa44;super(),_(this,_0x55d31c(0x28f),new Set()),_(this,_0x55d31c(0x279),null),(this[_0x55d31c(0x326)]=_0x527648,this['_sheetSkeletonManagerService']=_0x1319d4,this[_0x55d31c(0x3d1)]=_0xd8767d,this[_0x55d31c(0x312)]=_0x57daa4,this[_0x55d31c(0x2eb)]());}[_0x20aa44(0x2eb)](){const _0x5b8c0f=_0x20aa44;this[_0x5b8c0f(0x3bb)][_0x5b8c0f(0x265)][_0x5b8c0f(0x2ed)](_0x1237ad(this['dispose$']),_0x37dcd1(_0x1d004c=>{const _0x400f7a=_0x5b8c0f;if(_0x1d004c){const _0x301dac=_0x1d004c[_0x400f7a(0x2b8)];return _0x51a60a(this[_0x400f7a(0x3d1)][_0x400f7a(0x244)](this[_0x400f7a(0x326)][_0x400f7a(0x241)]),this[_0x400f7a(0x312)][_0x400f7a(0x226)])[_0x400f7a(0x2ed)](_0x4b2676(([_0x5ef323,_0x5e9873])=>{const _0x4caa11=_0x400f7a,_0x165102=new Map();return _0x5ef323[_0x4caa11(0x2fe)]((_0x49a2d3,_0x5dc486)=>{const _0x510e68=_0x4caa11;if(_0x49a2d3[_0x510e68(0x303)]===_0x301dac){const _0x392ffd={..._0x49a2d3};_0x392ffd['color']=_0x5e9873[_0x49a2d3['color']],_0x165102[_0x510e68(0x3db)](_0x5dc486,_0x392ffd);}}),{'skeleton':_0x1d004c,'cursors':_0x165102};}));}return _0x51b706({'skeleton':null,'cursors':new Map()});}))[_0x5b8c0f(0x3cd)](({skeleton:_0x2443c5,cursors:_0x5d9668})=>{this['_removeCollabCursors'](),_0x2443c5&&this['_updateCollabCursors'](_0x2443c5,_0x5d9668);}),this[_0x5b8c0f(0x3bb)][_0x5b8c0f(0x265)][_0x5b8c0f(0x3cd)](_0x4849e5=>{const _0x2fb6d7=_0x5b8c0f;if(_0x4849e5==null)return;const {skeleton:_0x35c535}=_0x4849e5,{scene:_0x40774d}=this['_context'];_0x40774d['onPointerMove$'][_0x2fb6d7(0x227)](_0x1dec13(_0xdf6f0c=>{const _0x31eaf2=_0x2fb6d7;var _0x56df7f,_0x735a74;const {offsetX:_0x2b2e93,offsetY:_0x2cbc5c}=_0xdf6f0c,{x:_0x3d6d4d,y:_0x6705c4}=_0x40774d['getRelativeToViewportCoord'](_0x2b2b7c['FromArray']([_0x2b2e93,_0x2cbc5c])),{scaleX:_0x23a485,scaleY:_0x3152c4}=_0x40774d[_0x31eaf2(0x274)](),_0x1014e8=_0x40774d[_0x31eaf2(0x3c6)](_0x3463ad[_0x31eaf2(0x29d)]),_0x5a4b33=_0x40774d[_0x31eaf2(0x278)](_0x2b2b7c[_0x31eaf2(0x29b)]([_0x3d6d4d,_0x6705c4]),_0x1014e8),_0x126f9e=_0x35c535[_0x31eaf2(0x273)](_0x2b2e93,_0x2cbc5c,_0x23a485,_0x3152c4,_0x5a4b33);((_0x56df7f=this[_0x31eaf2(0x279)])==null?void 0x0:_0x56df7f[_0x31eaf2(0x3b1)])===_0x126f9e['column']&&((_0x735a74=this[_0x31eaf2(0x279)])==null?void 0x0:_0x735a74[_0x31eaf2(0x2f1)])===_0x126f9e[_0x31eaf2(0x2f1)]||this[_0x31eaf2(0x28f)][_0x31eaf2(0x2fe)](_0x59d7c9=>{_0x59d7c9['onMouseMove'](_0x126f9e);});},0x64));});}[_0x20aa44(0x300)](_0x53cb5d,_0x4f24d0){const _0x5bd4c1=_0x20aa44;var _0x973086;const _0x54cc02=(_0x973086=this[_0x5bd4c1(0x3bb)][_0x5bd4c1(0x3a1)]())==null?void 0x0:_0x973086[_0x5bd4c1(0x324)];if(!_0x54cc02)return;const _0x155d8f=this[_0x5bd4c1(0x3ae)]();if(!_0x155d8f)return;this[_0x5bd4c1(0x28f)][_0x5bd4c1(0x2fe)](_0x1c55af=>{const _0x4a9b4e=_0x5bd4c1;_0x1c55af[_0x4a9b4e(0x2b6)]();});const {scene:_0x483f51}=_0x155d8f,_0x1e1181=Bi(Array['from'](_0x4f24d0[_0x5bd4c1(0x31a)]()))['map'](_0x330ee3=>{const _0xc32fd7=_0x5bd4c1,{color:_0x50d1f1,range:_0x1ecec3,name:_0x2cf069,selection:_0x3e1198,sheetID:_0x3851b7}=_0x330ee3,{startColumn:_0x477ce1,startRow:_0x1c1cba,endColumn:_0xa5c60b,endRow:_0x134f93}=_0x1ecec3,_0x274253=_0x65909b(_0x1c1cba,_0x477ce1,_0x483f51,_0x54cc02),_0x4e6700=_0x65909b(_0x134f93,_0xa5c60b,_0x483f51,_0x54cc02),{columnHeaderHeightAndMarginTop:_0x577cd4}=_0x54cc02,{startX:_0x3f0261,startY:_0x1432b4}=_0x274253,{endX:_0x273b16,endY:_0x235b0b}=_0x4e6700,_0x10b40a=_0x273b16-_0x3f0261,_0x47c4e9=_0x235b0b-_0x1432b4,_0x3f0524={'labelPosition':_0x1432b4-_0x577cd4>=te?_0xc32fd7(0x29c):'bottom','sheetID':_0x3851b7,'range':_0x1ecec3,'color':_0x50d1f1,'name':_0x2cf069,'selection':_0x3e1198,'left':_0x3f0261,'top':_0x1432b4,'width':_0x10b40a,'height':_0x47c4e9,'evented':!0x1,'zIndex':xi};return new Ai(_0x2cf069,_0x3f0524);});_0x483f51[_0x5bd4c1(0x3dd)](_0x1e1181,wi),this[_0x5bd4c1(0x28f)]=new Set(_0x1e1181);}['_removeCollabCursors'](){const _0x2a964c=_0x20aa44;var _0x2e1899;(_0x2e1899=this[_0x2a964c(0x28f)])==null||_0x2e1899['forEach'](_0x3e829f=>_0x3e829f[_0x2a964c(0x392)]());}[_0x20aa44(0x3ae)](){const _0x21c71f=_0x20aa44;return _0x5cc46d(this[_0x21c71f(0x326)][_0x21c71f(0x3d3)],this['_context']);}};Le=$i([pe(0x1,_0x346bad(_0x4de296)),pe(0x2,_0x346bad(H)),pe(0x3,_0x346bad(_0x5c0762))],Le);function Bi(_0x4e5b17){const _0x3f4608=_0x20aa44,_0x43ee7b=new Map();return _0x4e5b17['forEach'](_0x8e8e9f=>{const _0x4789ea=_0x3826;if(_0x43ee7b[_0x4789ea(0x3c9)](_0x8e8e9f[_0x4789ea(0x387)])){const _0x4bfbaf=_0x43ee7b[_0x4789ea(0x201)](_0x8e8e9f[_0x4789ea(0x387)]);_0x4bfbaf[_0x4789ea(0x233)]+=',\x20'+_0x8e8e9f['name'];}else _0x43ee7b[_0x4789ea(0x3db)](_0x8e8e9f['selection'],_0x8e8e9f);}),Array[_0x3f4608(0x28d)](_0x43ee7b[_0x3f4608(0x31a)]());}var I=function(){const _0x1867cf=_0x20aa44;return I=Object[_0x1867cf(0x2a8)]||function(_0x77285e){const _0x19ac34=_0x1867cf;for(var _0x354875,_0xa262e7=0x1,_0x4218b4=arguments[_0x19ac34(0x2ef)];_0xa262e7<_0x4218b4;_0xa262e7++){_0x354875=arguments[_0xa262e7];for(var _0x4aef3a in _0x354875)Object[_0x19ac34(0x2ab)][_0x19ac34(0x33d)][_0x19ac34(0x31c)](_0x354875,_0x4aef3a)&&(_0x77285e[_0x4aef3a]=_0x354875[_0x4aef3a]);}return _0x77285e;},I[_0x1867cf(0x35b)](this,arguments);},ki=function(_0x1dc751,_0x402774){const _0x17b6c0=_0x20aa44;var _0x3b4f97={};for(var _0x22ed1f in _0x1dc751)Object[_0x17b6c0(0x2ab)]['hasOwnProperty']['call'](_0x1dc751,_0x22ed1f)&&_0x402774[_0x17b6c0(0x386)](_0x22ed1f)<0x0&&(_0x3b4f97[_0x22ed1f]=_0x1dc751[_0x22ed1f]);if(_0x1dc751!=null&&typeof Object[_0x17b6c0(0x34e)]==_0x17b6c0(0x39b)){for(var _0x40de39=0x0,_0x22ed1f=Object[_0x17b6c0(0x34e)](_0x1dc751);_0x40de39<_0x22ed1f[_0x17b6c0(0x2ef)];_0x40de39++)_0x402774[_0x17b6c0(0x386)](_0x22ed1f[_0x40de39])<0x0&&Object[_0x17b6c0(0x2ab)][_0x17b6c0(0x2ea)][_0x17b6c0(0x31c)](_0x1dc751,_0x22ed1f[_0x40de39])&&(_0x3b4f97[_0x22ed1f[_0x40de39]]=_0x1dc751[_0x22ed1f[_0x40de39]]);}return _0x3b4f97;},We=_0x20debf(function(_0x120ad4,_0x120e90){const _0x279e3c=_0x20aa44;var _0x9aa6f6=_0x120ad4['icon'],_0x75e442=_0x120ad4['id'],_0x4d1ffd=_0x120ad4[_0x279e3c(0x207)],_0xcf2209=_0x120ad4[_0x279e3c(0x37b)],_0x7f3b3=ki(_0x120ad4,[_0x279e3c(0x282),'id','className','extend']),_0x36427d='univerjs-icon\x20univerjs-icon-'[_0x279e3c(0x2a5)](_0x75e442,'\x20')[_0x279e3c(0x2a5)](_0x4d1ffd||'')[_0x279e3c(0x243)](),_0x10a9de=_0x1e46df('_'['concat'](Wi()));return Nt(_0x9aa6f6,''['concat'](_0x75e442),{'defIds':_0x9aa6f6[_0x279e3c(0x2da)],'idSuffix':_0x10a9de[_0x279e3c(0x25a)]},I({'ref':_0x120e90,'className':_0x36427d},_0x7f3b3),_0xcf2209);});function Nt(_0x48cb72,_0x3fad9c,_0x31641d,_0x1f3cd4,_0x4e45b8){const _0x354586=_0x20aa44;return _0x123ec4(_0x48cb72[_0x354586(0x24a)],I(I({'key':_0x3fad9c},Hi(_0x48cb72,_0x31641d,_0x4e45b8)),_0x1f3cd4),(ji(_0x48cb72,_0x31641d)[_0x354586(0x2fc)]||[])[_0x354586(0x224)](function(_0x4536da,_0x29a5ab){const _0x345bec=_0x354586;return Nt(_0x4536da,''[_0x345bec(0x2a5)](_0x3fad9c,'-')[_0x345bec(0x2a5)](_0x48cb72[_0x345bec(0x24a)],'-')[_0x345bec(0x2a5)](_0x29a5ab),_0x31641d,void 0x0,_0x4e45b8);}));}function Hi(_0x4cd7a2,_0x22905d,_0x6e4090){const _0x13f9b9=_0x20aa44;var _0x50b0a9=I({},_0x4cd7a2[_0x13f9b9(0x240)]);_0x6e4090!=null&&_0x6e4090['colorChannel1']&&_0x50b0a9['fill']===_0x13f9b9(0x379)&&(_0x50b0a9[_0x13f9b9(0x3aa)]=_0x6e4090[_0x13f9b9(0x379)]),_0x4cd7a2[_0x13f9b9(0x24a)]==='mask'&&_0x50b0a9['id']&&(_0x50b0a9['id']=_0x50b0a9['id']+_0x22905d[_0x13f9b9(0x357)]),Object['entries'](_0x50b0a9)[_0x13f9b9(0x2fe)](function(_0x3b5aab){const _0x4b3555=_0x13f9b9;var _0x56b178=_0x3b5aab[0x0],_0xc9cd36=_0x3b5aab[0x1];_0x56b178===_0x4b3555(0x215)&&typeof _0xc9cd36==_0x4b3555(0x2fd)&&(_0x50b0a9[_0x56b178]=_0xc9cd36['replace'](/url\(#(.*)\)/,_0x4b3555(0x1e3)[_0x4b3555(0x2a5)](_0x22905d[_0x4b3555(0x357)],')')));});var _0x33693d=_0x22905d[_0x13f9b9(0x2da)];return!_0x33693d||_0x33693d[_0x13f9b9(0x2ef)]===0x0||(_0x4cd7a2[_0x13f9b9(0x24a)]===_0x13f9b9(0x256)&&_0x50b0a9['xlink:href']&&(_0x50b0a9['xlink:href']=_0x50b0a9[_0x13f9b9(0x2b2)]+_0x22905d[_0x13f9b9(0x357)]),Object['entries'](_0x50b0a9)['forEach'](function(_0x34ba85){const _0x15cacd=_0x13f9b9;var _0x1855b4=_0x34ba85[0x0],_0x555aa8=_0x34ba85[0x1];typeof _0x555aa8=='string'&&(_0x50b0a9[_0x1855b4]=_0x555aa8['replace'](/url\(#(.*)\)/,_0x15cacd(0x1e3)[_0x15cacd(0x2a5)](_0x22905d[_0x15cacd(0x357)],')')));})),_0x50b0a9;}function ji(_0x3951a5,_0x4c4848){const _0x333b89=_0x20aa44;var _0x43b611,_0x18e1ac=_0x4c4848['defIds'];return!_0x18e1ac||_0x18e1ac[_0x333b89(0x2ef)]===0x0?_0x3951a5:_0x3951a5[_0x333b89(0x24a)]==='defs'&&(!((_0x43b611=_0x3951a5[_0x333b89(0x2fc)])===null||_0x43b611===void 0x0)&&_0x43b611[_0x333b89(0x2ef)])?I(I({},_0x3951a5),{'children':_0x3951a5[_0x333b89(0x2fc)][_0x333b89(0x224)](function(_0x18e263){const _0x16401a=_0x333b89;return typeof _0x18e263[_0x16401a(0x240)]['id']==_0x16401a(0x2fd)&&_0x18e1ac&&_0x18e1ac['indexOf'](_0x18e263[_0x16401a(0x240)]['id'])>-0x1?I(I({},_0x18e263),{'attrs':I(I({},_0x18e263[_0x16401a(0x240)]),{'id':_0x18e263[_0x16401a(0x240)]['id']+_0x4c4848[_0x16401a(0x357)]})}):_0x18e263;})}):_0x3951a5;}function Wi(){const _0x17278b=_0x20aa44;return Math['random']()['toString'](0x24)[_0x17278b(0x3d9)](0x2,0x8);}We[_0x20aa44(0x338)]=_0x20aa44(0x27c);var Fi={'tag':_0x20aa44(0x21b),'attrs':{'fill':'none','viewBox':_0x20aa44(0x346),'width':_0x20aa44(0x383),'height':_0x20aa44(0x383)},'children':[{'tag':'g','attrs':{'clipPath':_0x20aa44(0x2c1)},'children':[{'tag':'path','attrs':{'stroke':_0x20aa44(0x262),'d':_0x20aa44(0x25c),'strokeLinecap':_0x20aa44(0x342),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x20aa44(0x35c),'attrs':{},'children':[{'tag':_0x20aa44(0x32d),'attrs':{'id':_0x20aa44(0x236)},'children':[{'tag':_0x20aa44(0x39a),'attrs':{'fill':_0x20aa44(0x306),'d':_0x20aa44(0x35d)}}]}]}],'defIds':[_0x20aa44(0x236)]},Ut=_0x20debf(function(_0x212501,_0x17f14f){const _0x5dc2c1=_0x20aa44;return _0x123ec4(We,Object[_0x5dc2c1(0x2a8)]({},_0x212501,{'id':'off-line-single','ref':_0x17f14f,'icon':Fi}));});Ut[_0x20aa44(0x338)]=_0x20aa44(0x246);var Yi={'tag':_0x20aa44(0x21b),'attrs':{'fill':_0x20aa44(0x363),'viewBox':_0x20aa44(0x24c),'width':_0x20aa44(0x383),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x20aa44(0x3a3)},'children':[{'tag':_0x20aa44(0x39a),'attrs':{'stroke':_0x20aa44(0x262),'d':_0x20aa44(0x209),'strokeLinecap':'round','strokeLinejoin':_0x20aa44(0x342),'strokeWidth':1.2}}]},{'tag':_0x20aa44(0x35c),'attrs':{},'children':[{'tag':_0x20aa44(0x32d),'attrs':{'id':_0x20aa44(0x299)},'children':[{'tag':_0x20aa44(0x39a),'attrs':{'fill':_0x20aa44(0x306),'d':'M0\x200H16V16H0z','transform':_0x20aa44(0x397)}}]}]}],'defIds':[_0x20aa44(0x299)]},Mt=_0x20debf(function(_0x17d866,_0x9988cf){return _0x123ec4(We,Object['assign']({},_0x17d866,{'id':'on-line-single','ref':_0x9988cf,'icon':Yi}));});Mt[_0x20aa44(0x338)]='OnLineSingle';const Vi=_0x20aa44(0x311),Xi=_0x20aa44(0x2a2),Gi=_0x20aa44(0x21d),Ki=_0x20aa44(0x2a3),zi=_0x20aa44(0x29f),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x4ce8ca){const _0x7f25c8=_0x20aa44;switch(_0x4ce8ca){case _0x32910b[_0x7f25c8(0x362)]:return'collabStatus.offline';case _0x32910b[_0x7f25c8(0x294)]:return _0x7f25c8(0x29a);case _0x32910b['FETCH_MISS']:return _0x7f25c8(0x3b4);case _0x32910b['NOT_COLLAB']:return _0x7f25c8(0x3b6);case _0x32910b[_0x7f25c8(0x1f0)]:case _0x32910b[_0x7f25c8(0x1e4)]:return'collabStatus.syncing';case _0x32910b[_0x7f25c8(0x1ed)]:case _0x32910b[_0x7f25c8(0x26c)]:return _0x7f25c8(0x1f5);}}function Zi(_0x37bf24){const _0x530c54=_0x20aa44,{status$:_0x4a005f}=_0x37bf24,_0x343d10=_0x8ae945(_0x4a005f,_0x32910b[_0x530c54(0x2d5)]),_0x31cae3=_0x19a428(_0x385db0),_0x8ec5b0=_0x19a428(_0x3ed724),_0x49ad60=_0x343d10!==_0x32910b[_0x530c54(0x362)],_0x1d9e63=_0x31cae3['t'](Ji(_0x343d10)),_0x300e73=_0xb817dd(G[_0x530c54(0x23e)],{[G[_0x530c54(0x2d3)]]:_0x49ad60,[G[_0x530c54(0x37c)]]:!_0x49ad60}),_0x38028f=_0x49ad60?_0x875dbc(Mt,{}):_0x875dbc(Ut,{}),_0x2eb537=_0x21e0e6(()=>{const _0x3f01c6=_0x530c54;_0x49ad60||_0x8ec5b0[_0x3f01c6(0x28e)]();},[_0x49ad60,_0x8ec5b0]);function _0xc4d9aa(){const _0x411450=_0x530c54;return _0x457b32('div',{'className':_0xb817dd(_0x300e73,_0x411450(0x212)),'onClick':_0x2eb537,'children':[_0x875dbc(_0x411450(0x2de),{'className':G[_0x411450(0x2e6)],'children':_0x38028f}),_0x875dbc(_0x411450(0x2de),{'className':G['onlineStatusTitle'],'children':_0x1d9e63})]});}return _0x49ad60?_0xc4d9aa():_0x875dbc(_0x5e1f4a,{'title':_0x31cae3['t'](_0x530c54(0x38f)),'children':_0xc4d9aa()});}var Qi=Object[_0x20aa44(0x382)],qi=(_0x389406,_0x6398d1,_0x544be2,_0x3f454d)=>{const _0x334f5d=_0x20aa44;for(var _0x3bea16=_0x3f454d>0x1?void 0x0:_0x3f454d?Qi(_0x6398d1,_0x544be2):_0x6398d1,_0xbbd47d=_0x389406[_0x334f5d(0x2ef)]-0x1,_0x2a7460;_0xbbd47d>=0x0;_0xbbd47d--)(_0x2a7460=_0x389406[_0xbbd47d])&&(_0x3bea16=_0x2a7460(_0x3bea16)||_0x3bea16);return _0x3bea16;},q=(_0x51dbaa,_0x47e0cf)=>(_0x472538,_0x3b49f9)=>_0x47e0cf(_0x472538,_0x3b49f9,_0x51dbaa);let se=class extends _0x3a3eae{constructor(_0x1e7dfd,_0x4cf9c5,_0x378565,_0x57ab25){const _0x3a703e=_0x20aa44;super(),_(this,_0x3a703e(0x3d4),new _0x119cba(_0x32910b[_0x3a703e(0x2d5)])),(this[_0x3a703e(0x270)]=_0x1e7dfd,this[_0x3a703e(0x3bd)]=_0x4cf9c5,this['_collaborationController']=_0x378565,this[_0x3a703e(0x1ef)]=_0x57ab25,this[_0x3a703e(0x2cd)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x582265=_0x20aa44;this[_0x582265(0x211)](this['_univerInstanceService'][_0x582265(0x248)][_0x582265(0x2ed)](_0x4e4ba1(()=>{const _0x595696=_0x582265,_0x49da88=this['_univerInstanceService'][_0x595696(0x2dc)]();return _0x49da88?this[_0x595696(0x21c)][_0x595696(0x37f)](_0x49da88[_0x595696(0x34b)]()):_0x51b706(null);}),_0x4e4ba1(_0x309c26=>_0x309c26?_0x309c26[_0x582265(0x377)]:_0x51b706(_0x32910b[_0x582265(0x2d5)])))[_0x582265(0x3cd)](_0x517471=>{const _0x3a380b=_0x582265;this[_0x3a380b(0x3d4)][_0x3a380b(0x29e)](_0x517471);}));}['_initStatusComponent'](){const _0x12b171=_0x20aa44;this[_0x12b171(0x211)](this[_0x12b171(0x1ef)][_0x12b171(0x20d)](_0x10d186['HEADER_MENU'],()=>_0xb676a2(en({'status$':this[_0x12b171(0x3d4)][_0x12b171(0x20c)]()}),this[_0x12b171(0x3bd)])));}};se=qi([q(0x0,_0x19a897),q(0x1,_0x346bad(_0x286e8d)),q(0x2,_0x346bad(_0x7af0ab)),q(0x3,_0xcd9de7)],se);function en(_0x3271e9){const {status$:_0x431e3a}=_0x3271e9;return function(){return _0x875dbc(Zi,{'status$':_0x431e3a});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x17c510,_0x323f17,_0x5c009b,_0x488a39)=>{for(var _0x41cfbe=_0x488a39>0x1?void 0x0:_0x488a39?tn(_0x323f17,_0x5c009b):_0x323f17,_0x4b3a61=_0x17c510['length']-0x1,_0x30a765;_0x4b3a61>=0x0;_0x4b3a61--)(_0x30a765=_0x17c510[_0x4b3a61])&&(_0x41cfbe=_0x30a765(_0x41cfbe)||_0x41cfbe);return _0x41cfbe;},B=(_0x2fe6f4,_0x2eb850)=>(_0x2b9913,_0x548055)=>_0x2eb850(_0x2b9913,_0x548055,_0x2fe6f4);let ie=class extends _0x3a3eae{constructor(_0x1eae96,_0xa2670,_0x2bf682,_0x4a3efb,_0x285945,_0x28f16f){const _0x16d164=_0x20aa44;super(),this[_0x16d164(0x254)]=_0x1eae96,this['_localCacheService']=_0xa2670,this[_0x16d164(0x2ec)]=_0x2bf682,this['_messageService']=_0x4a3efb,this[_0x16d164(0x337)]=_0x285945,this[_0x16d164(0x2a6)]=_0x28f16f,this[_0x16d164(0x1ea)](),this[_0x16d164(0x251)]();}[_0x20aa44(0x1ea)](){const _0x12e802=_0x20aa44;this[_0x12e802(0x211)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x4d6e21=_0x12e802;if(this['_localCacheService'][_0x4d6e21(0x3c4)][_0x4d6e21(0x22c)])return this[_0x4d6e21(0x2a6)]['t'](_0x4d6e21(0x21f));}));}['_initEvent'](){const _0x10b231=_0x20aa44;this[_0x10b231(0x211)](this[_0x10b231(0x2ec)][_0x10b231(0x289)]['subscribe'](_0x24ef57=>{const _0x41ef0f=_0x10b231;_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x304)]&&this[_0x41ef0f(0x367)]['show']({'type':_0x3d848[_0x41ef0f(0x393)],'content':this[_0x41ef0f(0x2a6)]['t']('collaboration.single-unit.warning')}),_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x3a4)]&&this[_0x41ef0f(0x367)][_0x41ef0f(0x25d)]({'type':_0x3d848[_0x41ef0f(0x393)],'content':this[_0x41ef0f(0x2a6)]['t'](_0x41ef0f(0x2c2))}),_0x24ef57['id']===_0x41f02e['PERMISSION_DENIED']&&this[_0x41ef0f(0x337)][_0x41ef0f(0x25d)]({'title':this[_0x41ef0f(0x2a6)]['t'](_0x41ef0f(0x288)),'content':this[_0x41ef0f(0x2a6)]['t'](_0x41ef0f(0x2d1)),'type':_0x41ef0f(0x2fa),'duration':0x0}),_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x294)]&&this[_0x41ef0f(0x367)][_0x41ef0f(0x25d)]({'type':_0x3d848[_0x41ef0f(0x2ac)],'content':this[_0x41ef0f(0x2a6)]['t'](_0x41ef0f(0x2c2))+'('+_0x24ef57[_0x41ef0f(0x1f3)]+')'}),_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x3a2)]&&this['_messageService']['show']({'type':_0x3d848[_0x41ef0f(0x393)],'content':this['_localeService']['t'](_0x24ef57[_0x41ef0f(0x1f3)]||'')}),_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x339)]&&this[_0x41ef0f(0x367)][_0x41ef0f(0x25d)]({'type':_0x3d848[_0x41ef0f(0x393)],'content':this[_0x41ef0f(0x2a6)]['t']('session.will-retry')}),_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x3d2)]&&this[_0x41ef0f(0x367)][_0x41ef0f(0x25d)]({'type':_0x3d848[_0x41ef0f(0x2ac)],'content':this['_localeService']['t']('session.connection-failed')}),_0x24ef57['id']===_0x41f02e[_0x41ef0f(0x223)]&&this[_0x41ef0f(0x367)][_0x41ef0f(0x25d)]({'type':_0x3d848[_0x41ef0f(0x2ac)],'content':this[_0x41ef0f(0x2a6)]['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x136b95),B(0x1,_0x375e08),B(0x2,_0x346bad(_0x1a1bc1)),B(0x3,_0x158f3c),B(0x4,_0x3dabe8),B(0x5,_0x346bad(_0x385db0))],ie);const nn=_0x20aa44(0x266),st={},Pt=_0x2db783(_0x20aa44(0x267));var rn=Object[_0x20aa44(0x382)],on=(_0x36ef0d,_0x2b1d8b,_0x2dd13d,_0x4282cd)=>{const _0xa23a27=_0x20aa44;for(var _0xa8c42b=_0x4282cd>0x1?void 0x0:_0x4282cd?rn(_0x2b1d8b,_0x2dd13d):_0x2b1d8b,_0x3a7f4e=_0x36ef0d[_0xa23a27(0x2ef)]-0x1,_0x3b0c14;_0x3a7f4e>=0x0;_0x3a7f4e--)(_0x3b0c14=_0x36ef0d[_0x3a7f4e])&&(_0xa8c42b=_0x3b0c14(_0xa8c42b)||_0xa8c42b);return _0xa8c42b;},K=(_0x164f0b,_0xf6854e)=>(_0x450623,_0x1f8c5a)=>_0xf6854e(_0x450623,_0x1f8c5a,_0x164f0b);let ne=class extends _0xa38ff1{constructor(_0x561808,_0x46cc73,_0x417635,_0x15058d,_0x2dca8b){const _0x30785d=_0x20aa44;super(),this[_0x30785d(0x39f)]=_0x561808,this[_0x30785d(0x3d7)]=_0x46cc73,this['_commandService']=_0x417635,this[_0x30785d(0x3e2)]=_0x15058d,_0x2dca8b?_0x2dca8b==null||_0x2dca8b[_0x30785d(0x395)]()[_0x30785d(0x385)](()=>this[_0x30785d(0x2eb)]()):(this[_0x30785d(0x3d7)][_0x30785d(0x22e)](_0x30785d(0x361),_0x30785d(0x203)),this['_init']());}async[_0x20aa44(0x2eb)](){const _0x2febbd=_0x20aa44,_0x44096c=this[_0x2febbd(0x39f)][_0x2febbd(0x3ce)](_0x2febbd(0x3d3)),_0x5c71ff=this[_0x2febbd(0x39f)][_0x2febbd(0x3ce)](_0x2febbd(0x2df)),_0x11fb39=this['_urlService']['getParam'](_0x2febbd(0x3e4));if(!_0x44096c||!_0x5c71ff){this['_logService'][_0x2febbd(0x22e)](_0x2febbd(0x361),_0x2febbd(0x2f8));return;}const _0x27bc0f=await this[_0x2febbd(0x3e2)]['loadUnit'](_0x44096c,Number(_0x5c71ff),_0x11fb39);_0x27bc0f&&_0x27bc0f instanceof _0x390340&&this[_0x2febbd(0x225)](_0x27bc0f);}async[_0x20aa44(0x225)](_0x1e6e2d){const _0x5a6aea=_0x20aa44;await this[_0x5a6aea(0x297)](_0x1e6e2d),_0x1e6e2d[_0x5a6aea(0x354)][_0x5a6aea(0x2ed)](_0x521e1e(this[_0x5a6aea(0x31f)]))[_0x5a6aea(0x3cd)](_0x38e219=>{const _0x1907c5=_0x5a6aea;_0x38e219&&this[_0x1907c5(0x287)](_0x38e219);}),this['_urlService'][_0x5a6aea(0x28c)][_0x5a6aea(0x2ed)](_0x521e1e(this['dispose$']))[_0x5a6aea(0x3cd)](()=>this['_updateSubUnitFromURLParams'](_0x1e6e2d));}['_updateURLWithCurrentState'](_0x593bde,_0x392d04=!0x1){const _0xa0307b=_0x20aa44,_0x5026fb=this[_0xa0307b(0x39f)][_0xa0307b(0x3ce)]('subunit');_0x593bde[_0xa0307b(0x276)]()!==_0x5026fb&&this['_urlService'][_0xa0307b(0x296)](_0xa0307b(0x3e4),_0x593bde['getSheetId'](),_0x392d04);}async[_0x20aa44(0x297)](_0x28814b){const _0x50c2ba=_0x20aa44;var _0x21ff47;const _0xd3f669=this[_0x50c2ba(0x39f)][_0x50c2ba(0x3ce)](_0x50c2ba(0x3e4));if(!_0xd3f669||!_0x28814b['getSheetBySheetId'](_0xd3f669)){const _0x3c1e0c=_0x28814b[_0x50c2ba(0x2f9)]()[0x0],_0x425a11=_0x28814b[_0x50c2ba(0x206)](_0x3c1e0c);if(!_0x425a11)return;this[_0x50c2ba(0x287)](_0x425a11,!0x0),await this['_commandService'][_0x50c2ba(0x2e2)](_0x42e9cc['id'],{'unitId':_0x28814b[_0x50c2ba(0x34b)](),'subUnitId':_0x3c1e0c});return;}((_0x21ff47=_0x28814b[_0x50c2ba(0x36e)]())==null?void 0x0:_0x21ff47[_0x50c2ba(0x276)]())!==_0xd3f669&&await this[_0x50c2ba(0x3dc)][_0x50c2ba(0x2e2)](_0x42e9cc['id'],{'unitId':_0x28814b[_0x50c2ba(0x34b)](),'subUnitId':_0xd3f669});}};ne=on([K(0x0,Pt),K(0x1,_0x55786b),K(0x2,_0x5afe24),K(0x3,_0x346bad(_0x5c1a56)),K(0x4,_0x19e74d(_0x3670d7))],ne);var an=Object[_0x20aa44(0x382)],cn=(_0x5b7d92,_0x4f41de,_0x3bd23e,_0x11a084)=>{const _0x287783=_0x20aa44;for(var _0x1e8dd7=_0x11a084>0x1?void 0x0:_0x11a084?an(_0x4f41de,_0x3bd23e):_0x4f41de,_0x480f38=_0x5b7d92[_0x287783(0x2ef)]-0x1,_0x3b630d;_0x480f38>=0x0;_0x480f38--)(_0x3b630d=_0x5b7d92[_0x480f38])&&(_0x1e8dd7=_0x3b630d(_0x1e8dd7)||_0x1e8dd7);return _0x1e8dd7;},Ce=(_0x4a14ed,_0x4257cf)=>(_0x565dad,_0x2a6e16)=>_0x4257cf(_0x565dad,_0x2a6e16,_0x4a14ed);let re=class{constructor(_0x1608a2,_0x10c4e6,_0x34de4f){const _0x1f8bff=_0x20aa44;this['_injector']=_0x1608a2,this[_0x1f8bff(0x38e)]=_0x10c4e6,this[_0x1f8bff(0x36a)]=_0x34de4f;}[_0x20aa44(0x2e1)](_0x43b13e){const _0x12f326=_0x20aa44;this['_transformUndoRedoStack'](_0x43b13e),this[_0x12f326(0x28b)](_0x43b13e);}[_0x20aa44(0x21e)](_0x35f84e){const _0x10ed1f=_0x20aa44,{unitID:_0x143e50}=_0x35f84e,_0x45193f=this[_0x10ed1f(0x36a)][_0x10ed1f(0x1f8)](_0x143e50)[_0x10ed1f(0x378)](_0xc52433),{redoCache:_0xcbd14d}=_0x45193f[_0x10ed1f(0x3ad)]();if(_0xcbd14d[_0x10ed1f(0x2ef)]===0x0)return _0x35f84e;let _0x4ba4d9=_0x50e642['deepClone'](_0x35f84e[_0x10ed1f(0x1e5)][0x0]);for(let _0x47ac1c=0x0;_0x47ac1c<_0xcbd14d[_0x10ed1f(0x2ef)];_0x47ac1c++){const _0x4f2674={'id':_0x10ed1f(0x22a),'params':{..._0xcbd14d[_0x47ac1c]}},_0x4ad8d6=this['_transformService'][_0x10ed1f(0x1e7)](_0x4ba4d9,_0x4f2674,!0x1);if(_0x3b86aa(_0x4ad8d6))throw _0x4ad8d6[_0x10ed1f(0x2fa)];_0x4ba4d9=_0x4ad8d6[_0x10ed1f(0x22d)];}return{..._0x50e642[_0x10ed1f(0x1fd)](_0x35f84e),'mutations':[_0x4ba4d9]};}['_transformUndoRedoStack'](_0x21ed97){const _0x4abfe1=_0x20aa44,{unitID:_0x10b856}=_0x21ed97,_0xa48419=this[_0x4abfe1(0x36a)][_0x4abfe1(0x1f8)](_0x10b856)[_0x4abfe1(0x378)](_0xc52433),{undoCache:_0x476db0,redoCache:_0x510653}=_0xa48419[_0x4abfe1(0x3ad)]();if(_0x476db0[_0x4abfe1(0x2ef)]===0x0||_0x510653[_0x4abfe1(0x2ef)]===0x0)return;const _0x4fd154=[],_0x1d0243=[];let _0x3ae286=_0x50e642[_0x4abfe1(0x1fd)](_0x21ed97[_0x4abfe1(0x1e5)][0x0]),_0x45c6a5=_0x50e642[_0x4abfe1(0x1fd)](_0x21ed97[_0x4abfe1(0x1e5)][0x0]);for(let _0x18e74f=_0x476db0[_0x4abfe1(0x2ef)]-0x1;_0x18e74f>=0x0;_0x18e74f--){const _0x35fb99={'id':_0x4abfe1(0x22a),'params':{..._0x476db0[_0x18e74f]}},_0x44ee6c={'id':_0x4abfe1(0x22a),'params':{..._0x510653[_0x18e74f]}},_0x1814a1=this[_0x4abfe1(0x38e)]['transformMutation'](_0x3ae286,_0x35fb99,!0x1),_0x43249d=this[_0x4abfe1(0x38e)][_0x4abfe1(0x1e7)](_0x45c6a5,_0x44ee6c,!0x1);if(_0x3b86aa(_0x1814a1))throw _0x1814a1[_0x4abfe1(0x2fa)];if(_0x3b86aa(_0x43249d))throw _0x43249d[_0x4abfe1(0x2fa)];_0x4fd154['unshift'](_0x1814a1[_0x4abfe1(0x26e)]['params']),_0x1d0243[_0x4abfe1(0x222)](_0x43249d[_0x4abfe1(0x26e)][_0x4abfe1(0x314)]),_0x3ae286=_0x1814a1[_0x4abfe1(0x22d)],_0x45c6a5=_0x43249d[_0x4abfe1(0x22d)];}_0xa48419[_0x4abfe1(0x3c8)]({'undoCache':_0x4fd154,'redoCache':_0x1d0243});}[_0x20aa44(0x28b)](_0xa6813c){const _0x360442=_0x20aa44,{unitID:_0x2a79de}=_0xa6813c,_0x44333d=this['_renderManagerService'][_0x360442(0x1f8)](_0x2a79de)[_0x360442(0x378)](_0xc52433),_0x234396=_0x44333d['getActiveRange']();if(_0x234396==null)return;const _0x325f3b=[{'id':_0x360442(0x22a),'params':{'unitId':_0xa6813c[_0x360442(0x3a7)],'actions':null,'textRanges':[_0x234396]}}],_0x23b294=this[_0x360442(0x38e)][_0x360442(0x369)](_0xa6813c,_0x325f3b);if(!_0x777fa3(_0x23b294))throw _0x23b294[_0x360442(0x2fa)];const _0x13d465=_0x23b294[_0x360442(0x26e)][0x0][_0x360442(0x314)][_0x360442(0x249)];Array[_0x360442(0x302)](_0x13d465)&&_0x13d465['length']&&_0x44333d['setActiveRange'](_0x13d465[0x0]);}};re=cn([Ce(0x0,_0x346bad(_0x286e8d)),Ce(0x1,_0x540bcf),Ce(0x2,_0xe67b4)],re);var ln=Object[_0x20aa44(0x382)],_n=(_0x3b3152,_0x5ef12a,_0x3224fc,_0x89aa7e)=>{const _0x3dc0ed=_0x20aa44;for(var _0x123de0=_0x89aa7e>0x1?void 0x0:_0x89aa7e?ln(_0x5ef12a,_0x3224fc):_0x5ef12a,_0x4c82d9=_0x3b3152[_0x3dc0ed(0x2ef)]-0x1,_0x40e0f0;_0x4c82d9>=0x0;_0x4c82d9--)(_0x40e0f0=_0x3b3152[_0x4c82d9])&&(_0x123de0=_0x40e0f0(_0x123de0)||_0x123de0);return _0x123de0;},Ee=(_0x5a79eb,_0x488bfc)=>(_0xecb3b9,_0x44056a)=>_0x488bfc(_0xecb3b9,_0x44056a,_0x5a79eb);let oe=class{constructor(_0x505b58,_0x2369c3,_0x5da086){const _0x12b49b=_0x20aa44;this[_0x12b49b(0x3bd)]=_0x505b58,this[_0x12b49b(0x38e)]=_0x2369c3,this[_0x12b49b(0x333)]=_0x5da086;}[_0x20aa44(0x359)](_0x17b23b){const _0x262f18=_0x20aa44;this[_0x262f18(0x232)](_0x17b23b);}[_0x20aa44(0x21e)](_0x1df8c3){const _0x45bf91=_0x20aa44,{unitID:_0x7578f0}=_0x1df8c3,{collaboration:_0xe6f69e}=this['_docStateChangeManagerService'][_0x45bf91(0x2f3)](_0x7578f0);if(_0xe6f69e[_0x45bf91(0x2ef)]===0x0)return _0x1df8c3;let _0x3f092d=_0x50e642[_0x45bf91(0x1fd)](_0x1df8c3['mutations'][0x0]);for(let _0x30717f=0x0;_0x30717f<_0xe6f69e[_0x45bf91(0x2ef)];_0x30717f++){const _0x299e57={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe6f69e[_0x30717f][_0x45bf91(0x241)],..._0xe6f69e[_0x30717f][_0x45bf91(0x3a5)]}},_0x260d9b=this[_0x45bf91(0x38e)][_0x45bf91(0x1e7)](_0x3f092d,_0x299e57,!0x1);if(_0x3b86aa(_0x260d9b))throw _0x260d9b[_0x45bf91(0x2fa)];_0x3f092d=_0x260d9b[_0x45bf91(0x22d)];}return{..._0x50e642[_0x45bf91(0x1fd)](_0x1df8c3),'mutations':[_0x3f092d]};}['_transformHistoryAndStateStack'](_0x3b1059){const _0x45074b=_0x20aa44,{unitID:_0x5bb628}=_0x3b1059,{history:_0x34c9a7,collaboration:_0x5c1957}=this[_0x45074b(0x333)]['getStateCache'](_0x5bb628);if(_0x34c9a7[_0x45074b(0x2ef)]===0x0&&_0x5c1957['length']===0x0)return;const _0x4ceb1b=[],_0x3a9320=[];let _0xb782cc=_0x50e642[_0x45074b(0x1fd)](_0x3b1059[_0x45074b(0x1e5)][0x0]),_0x9c87b4=_0x50e642['deepClone'](_0x3b1059[_0x45074b(0x1e5)][0x0]);for(let _0x23f4ca=_0x34c9a7[_0x45074b(0x2ef)]-0x1;_0x23f4ca>=0x0;_0x23f4ca--){const _0x530930={'id':_0x45074b(0x22a),'params':{'unitId':_0x34c9a7[_0x23f4ca]['unitId'],..._0x34c9a7[_0x23f4ca]['undoState']}},_0x5ae36f={'id':_0x45074b(0x22a),'params':{'unitId':_0x34c9a7[_0x23f4ca][_0x45074b(0x241)],..._0x34c9a7[_0x23f4ca]['redoState']}},_0xb7b8a3=this[_0x45074b(0x38e)][_0x45074b(0x1e7)](_0xb782cc,_0x530930,!0x1),_0x589f07=this[_0x45074b(0x38e)][_0x45074b(0x1e7)](_0x9c87b4,_0x5ae36f,!0x1);if(_0x3b86aa(_0xb7b8a3))throw _0xb7b8a3['error'];if(_0x3b86aa(_0x589f07))throw _0x589f07[_0x45074b(0x2fa)];_0x4ceb1b[_0x45074b(0x222)]({..._0x34c9a7[_0x23f4ca],'undoState':_0xb7b8a3[_0x45074b(0x26e)][_0x45074b(0x314)],'redoState':_0x589f07[_0x45074b(0x26e)]['params']}),_0xb782cc=_0xb7b8a3['m1Prime'],_0x9c87b4=_0x589f07[_0x45074b(0x22d)];}_0xb782cc=_0x50e642['deepClone'](_0x3b1059[_0x45074b(0x1e5)][0x0]),_0x9c87b4=_0x50e642['deepClone'](_0x3b1059[_0x45074b(0x1e5)][0x0]);for(let _0x1061f2=_0x5c1957[_0x45074b(0x2ef)]-0x1;_0x1061f2>=0x0;_0x1061f2--){const _0x24513c={'id':_0x45074b(0x22a),'params':{'unitId':_0x5c1957[_0x1061f2]['unitId'],..._0x5c1957[_0x1061f2][_0x45074b(0x23f)]}},_0x1edd9b={'id':_0x45074b(0x22a),'params':{'unitId':_0x5c1957[_0x1061f2][_0x45074b(0x241)],..._0x5c1957[_0x1061f2][_0x45074b(0x3a5)]}},_0x2e3b88=this[_0x45074b(0x38e)][_0x45074b(0x1e7)](_0xb782cc,_0x24513c,!0x1),_0x500c2b=this[_0x45074b(0x38e)][_0x45074b(0x1e7)](_0x9c87b4,_0x1edd9b,!0x1);if(_0x3b86aa(_0x2e3b88))throw _0x2e3b88['error'];if(_0x3b86aa(_0x500c2b))throw _0x500c2b[_0x45074b(0x2fa)];_0x3a9320[_0x45074b(0x222)]({..._0x5c1957[_0x1061f2],'undoState':_0x2e3b88[_0x45074b(0x26e)][_0x45074b(0x314)],'redoState':_0x500c2b[_0x45074b(0x26e)][_0x45074b(0x314)]}),_0xb782cc=_0x2e3b88[_0x45074b(0x22d)],_0x9c87b4=_0x500c2b[_0x45074b(0x22d)];}this[_0x45074b(0x333)][_0x45074b(0x220)](_0x5bb628,{'history':_0x4ceb1b,'collaboration':_0x3a9320});}};oe=_n([Ee(0x0,_0x346bad(_0x286e8d)),Ee(0x1,_0x540bcf),Ee(0x2,_0x346bad(_0x5e8b5f))],oe);var hn=Object[_0x20aa44(0x382)],un=(_0x23cfa0,_0x296e6e,_0x3746d4,_0x3801e7)=>{const _0x13d53f=_0x20aa44;for(var _0x512b0a=_0x3801e7>0x1?void 0x0:_0x3801e7?hn(_0x296e6e,_0x3746d4):_0x296e6e,_0x1859cd=_0x23cfa0[_0x13d53f(0x2ef)]-0x1,_0x47d8da;_0x1859cd>=0x0;_0x1859cd--)(_0x47d8da=_0x23cfa0[_0x1859cd])&&(_0x512b0a=_0x47d8da(_0x512b0a)||_0x512b0a);return _0x512b0a;},it=(_0x1cfa29,_0x14bcab)=>(_0x52a6bc,_0x1179b5)=>_0x14bcab(_0x52a6bc,_0x1179b5,_0x1cfa29);let ae=class{constructor(_0x471f38,_0x13887c){const _0x2889e1=_0x20aa44;this[_0x2889e1(0x3bd)]=_0x471f38,this['_transformService']=_0x13887c;}[_0x20aa44(0x31e)](_0xd58514){const _0x3f581f=_0x20aa44;var _0x378b0b;const _0xcd8fd6=this[_0x3f581f(0x3bd)][_0x3f581f(0x201)](_0x302227),_0x961619=(_0x378b0b=_0xcd8fd6[_0x3f581f(0x264)]())!=null?_0x378b0b:[];if(_0x961619[_0x3f581f(0x2ef)]===0x0)return;const _0x23db3a=_0xd58514[_0x3f581f(0x3a7)],_0x191337=[{'id':_0x3f581f(0x22a),'params':{'unitId':_0x23db3a,'actions':null,'textRanges':_0x961619}}],_0x13bec1=this[_0x3f581f(0x38e)][_0x3f581f(0x369)](_0xd58514,_0x191337);if(!_0x777fa3(_0x13bec1))throw _0x13bec1[_0x3f581f(0x2fa)];const _0x2da3c7=_0x13bec1['m2Prime'][0x0][_0x3f581f(0x314)][_0x3f581f(0x249)];Array['isArray'](_0x2da3c7)&&_0x2da3c7[_0x3f581f(0x2ef)]&&_0xcd8fd6[_0x3f581f(0x349)](_0x2da3c7,{'unitId':_0x23db3a,'subUnitId':_0x23db3a},!0x1);}};ae=un([it(0x0,_0x346bad(_0x286e8d)),it(0x1,_0x540bcf)],ae);var dn=Object[_0x20aa44(0x382)],fn=(_0x3767e1,_0x5209ad,_0x336b2f,_0x36997c)=>{const _0xd41f72=_0x20aa44;for(var _0x40e8a9=_0x36997c>0x1?void 0x0:_0x36997c?dn(_0x5209ad,_0x336b2f):_0x5209ad,_0x42a147=_0x3767e1[_0xd41f72(0x2ef)]-0x1,_0x183968;_0x42a147>=0x0;_0x42a147--)(_0x183968=_0x3767e1[_0x42a147])&&(_0x40e8a9=_0x183968(_0x40e8a9)||_0x40e8a9);return _0x40e8a9;},U=(_0x185aa3,_0x422a66)=>(_0xd625ee,_0x218492)=>_0x422a66(_0xd625ee,_0x218492,_0x185aa3);let ce=class extends _0x3a3eae{constructor(_0x1d5ed9,_0x5ecaa5,_0x2bd52b,_0x359ffc,_0x1d5633,_0x9a9fa0,_0x5df2a6,_0x3f8ad8){const _0x4e516f=_0x20aa44;super(),_(this,_0x4e516f(0x3d4),new _0x119cba(_0x32910b['NOT_COLLAB'])),(this[_0x4e516f(0x333)]=_0x1d5ed9,this[_0x4e516f(0x21c)]=_0x5ecaa5,this['_docTransformIMECacheService']=_0x2bd52b,this['_docTransformStateCacheService']=_0x359ffc,this[_0x4e516f(0x234)]=_0x1d5633,this[_0x4e516f(0x335)]=_0x9a9fa0,this[_0x4e516f(0x367)]=_0x5df2a6,this[_0x4e516f(0x2a6)]=_0x3f8ad8,this[_0x4e516f(0x2db)]());}[_0x20aa44(0x2db)](){const _0x5be38c=_0x20aa44;this[_0x5be38c(0x211)](this['_collaborationController'][_0x5be38c(0x350)]['subscribe'](_0x4d3475=>{const _0x2eb456=_0x5be38c,_0x50c0d8=this[_0x2eb456(0x333)][_0x2eb456(0x283)]['subscribe'](_0x3e02b2=>{const _0xe76f3b=_0x2eb456;if(_0x3e02b2==null)return;const {unitId:_0x51f5e6,redoState:_0x5e875a,commandId:_0xeb979d}=_0x3e02b2;if(_0x51f5e6!==_0x4d3475[_0xe76f3b(0x3a7)])return;const _0x2dd748={'id':_0xeb979d,'type':_0x38de8d['MUTATION'],'params':{'unitId':_0x51f5e6,'actions':_0x5e875a[_0xe76f3b(0x22f)],'textRanges':null}};_0x4d3475['onLocalMutation'](_0x2dd748);});if(_0x4d3475[_0x2eb456(0x211)](_0x50c0d8),_0x4d3475 instanceof _0x2f4c1f){const _0x4245d1={'onTransformIME':_0x33e089=>this[_0x2eb456(0x263)][_0x2eb456(0x2e1)](_0x33e089),'onTransformState':_0x38e1a0=>this[_0x2eb456(0x3b9)][_0x2eb456(0x359)](_0x38e1a0),'onTransformSelections':_0x4529fb=>this['_docTransformSelectionsService']['transformSelections'](_0x4529fb),'onSyncEditingCollabCursor':_0x3c49a2=>this[_0x2eb456(0x335)][_0x2eb456(0x27d)](_0x3c49a2),'onTransformRemoteChangesetByIMECache':_0x3b9ebf=>this['_docTransformIMECacheService'][_0x2eb456(0x21e)](_0x3b9ebf),'onTransformRemoteChangesetByStateCache':_0x1d4b1c=>this[_0x2eb456(0x3b9)][_0x2eb456(0x21e)](_0x1d4b1c)};_0x4d3475[_0x2eb456(0x36d)](_0x4245d1);}}));}};ce=fn([U(0x0,_0x346bad(_0x5e8b5f)),U(0x1,_0x346bad(_0x7af0ab)),U(0x2,_0x346bad(re)),U(0x3,_0x346bad(oe)),U(0x4,_0x346bad(ae)),U(0x5,_0x346bad(je)),U(0x6,_0x158f3c),U(0x7,_0x346bad(_0x385db0))],ce);var Sn=Object[_0x20aa44(0x382)],mn=(_0x316a08,_0x280ca0,_0x2e3da6,_0x59bef4)=>{for(var _0x1a302b=_0x59bef4>0x1?void 0x0:_0x59bef4?Sn(_0x280ca0,_0x2e3da6):_0x280ca0,_0xcbed3b=_0x316a08['length']-0x1,_0x25fb4b;_0xcbed3b>=0x0;_0xcbed3b--)(_0x25fb4b=_0x316a08[_0xcbed3b])&&(_0x1a302b=_0x25fb4b(_0x1a302b)||_0x1a302b);return _0x1a302b;},be=(_0x2c79b7,_0xa9ee1a)=>(_0x320c76,_0x2f8005)=>_0xa9ee1a(_0x320c76,_0x2f8005,_0x2c79b7);let Ae=class extends _0x3a3eae{constructor(_0x1e574f,_0x5c7ee3,_0x53651b){const _0xe04b0a=_0x20aa44;super(),_(this,'_cachedData',new Map()),_(this,_0xe04b0a(0x38d),new Map()),_(this,'_disabled',!0x1),(this[_0xe04b0a(0x320)]=_0x1e574f,this['_localStorageService']=_0x5c7ee3,this['_revisionService']=_0x53651b);}[_0x20aa44(0x321)](){const _0x5d2703=_0x20aa44;this[_0x5d2703(0x313)]=!0x0;}[_0x20aa44(0x23d)](){const _0x5efb0e=_0x20aa44;this[_0x5efb0e(0x313)]=!0x1;}get['saveTaskMap'](){const _0x513236=_0x20aa44;return this[_0x513236(0x38d)];}[_0x20aa44(0x392)](){const _0x3aa21f=_0x20aa44;this['exhaustSavingTask']()[_0x3aa21f(0x385)](()=>super[_0x3aa21f(0x392)]());}async[_0x20aa44(0x2f6)](_0x709fe8){const _0x2e8e41=_0x20aa44;return this['_disabled']?null:this[_0x2e8e41(0x280)][_0x2e8e41(0x336)](_0x4e8427(_0x709fe8));}async['saveOfflineData'](_0x2b2da2,_0x1a5cf6){const _0x19ffea=_0x20aa44;return!!this[_0x19ffea(0x280)]['setItem'](_0x2b2da2,_0x1a5cf6);}['updateOfflineData'](_0x4bbaaa,_0x385005,_0x2f68bf,_0x403af7){const _0x4a4ffb=_0x20aa44,_0x169fc7=this[_0x4a4ffb(0x352)][_0x4a4ffb(0x32f)](_0x4bbaaa);this[_0x4a4ffb(0x2a9)][_0x4a4ffb(0x3db)](_0x4bbaaa,{'unitID':_0x4bbaaa,'type':_0x385005,'awaitingChangeset':_0x2f68bf,'mutations':_0x403af7,'rev':_0x169fc7}),this[_0x4a4ffb(0x38d)]['has'](_0x4bbaaa)||this[_0x4a4ffb(0x340)](_0x4bbaaa);}['_scheduleSaving'](_0x480f6c){const _0x5308b9=_0x20aa44,_0xb5f89b=this[_0x5308b9(0x242)]();_0xb5f89b===0x0?this[_0x5308b9(0x252)](_0x480f6c):this[_0x5308b9(0x38d)]['set'](_0x480f6c,setTimeout(()=>this[_0x5308b9(0x252)](_0x480f6c),_0xb5f89b));}[_0x20aa44(0x242)](){const _0x5b5fed=_0x20aa44;var _0x242795;return(_0x242795=this[_0x5b5fed(0x320)][_0x5b5fed(0x204)](_0x4b0da4))!=null?_0x242795:_0x50d9b4;}[_0x20aa44(0x252)](_0x19967a){const _0x4ea47e=_0x20aa44,_0x376612=this['_saveTaskMap'][_0x4ea47e(0x201)](_0x19967a);return _0x376612!==void 0x0&&window['clearTimeout'](_0x376612),this[_0x4ea47e(0x280)][_0x4ea47e(0x3e0)](_0x4e8427(_0x19967a),this[_0x4ea47e(0x2a9)][_0x4ea47e(0x201)](_0x19967a))[_0x4ea47e(0x385)](()=>this[_0x4ea47e(0x38d)][_0x4ea47e(0x38a)](_0x19967a));}async['exhaustSavingTask'](){const _0x35db4f=_0x20aa44,_0x5721e2=[];this['_saveTaskMap'][_0x35db4f(0x2fe)]((_0x456223,_0x1b3cfe)=>{const _0x84a8eb=_0x35db4f;window[_0x84a8eb(0x2c8)](_0x456223),_0x5721e2[_0x84a8eb(0x253)](this[_0x84a8eb(0x252)](_0x1b3cfe)[_0x84a8eb(0x385)](()=>{this['_saveTaskMap']['delete'](_0x1b3cfe);}));}),await Promise[_0x35db4f(0x330)](_0x5721e2);}};Ae=mn([be(0x0,_0x121a15),be(0x1,_0x2957fd),be(0x2,_0x346bad(_0x1b79f9))],Ae);class gn extends _0xa38ff1{constructor(){const _0x22e0b8=_0x20aa44;super(),_(this,_0x22e0b8(0x28c)),this[_0x22e0b8(0x28c)]=_0x5574ec(window,_0x22e0b8(0x210))['pipe'](_0x521e1e(this[_0x22e0b8(0x31f)]),_0x7df511(0x1),_0xdc282d(void 0x0));}['setParam'](_0x44178f,_0x167b66,_0x5cd5b1=!0x1){const _0x1583b2=_0x20aa44,_0x528487=new URL(window[_0x1583b2(0x27a)][_0x1583b2(0x3ca)]);_0x528487[_0x1583b2(0x1f9)]['set'](_0x44178f,_0x167b66),_0x5cd5b1?window[_0x1583b2(0x360)][_0x1583b2(0x3da)]('','',_0x528487['toString']()):window[_0x1583b2(0x360)]['pushState']('','',_0x528487['toString']());}['removeParam'](_0x3b242e,_0x62a78=!0x1){const _0x2c5190=_0x20aa44,_0x38b83f=new URL(window['location']['href']);_0x38b83f[_0x2c5190(0x1f9)][_0x2c5190(0x38a)](_0x3b242e),_0x62a78?window[_0x2c5190(0x360)][_0x2c5190(0x3da)]('','',_0x38b83f[_0x2c5190(0x322)]()):window['history']['pushState']('','',_0x38b83f[_0x2c5190(0x322)]());}[_0x20aa44(0x3ce)](_0x2af603){const _0x163386=_0x20aa44;var _0x4ab550;return(_0x4ab550=new URL(window[_0x163386(0x27a)][_0x163386(0x3ca)])[_0x163386(0x1f9)][_0x163386(0x201)](_0x2af603))!=null?_0x4ab550:void 0x0;}}var vn=Object[_0x20aa44(0x345)],In=Object[_0x20aa44(0x382)],pn=(_0x4ced86,_0x4dbaca,_0x1dfecd)=>_0x4dbaca in _0x4ced86?vn(_0x4ced86,_0x4dbaca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1dfecd}):_0x4ced86[_0x4dbaca]=_0x1dfecd,Cn=(_0x5b2fd4,_0x1f13e7,_0x3ec7ed,_0x643af5)=>{const _0x268bdb=_0x20aa44;for(var _0x1ae328=_0x643af5>0x1?void 0x0:_0x643af5?In(_0x1f13e7,_0x3ec7ed):_0x1f13e7,_0xa872d8=_0x5b2fd4[_0x268bdb(0x2ef)]-0x1,_0x244c6a;_0xa872d8>=0x0;_0xa872d8--)(_0x244c6a=_0x5b2fd4[_0xa872d8])&&(_0x1ae328=_0x244c6a(_0x1ae328)||_0x1ae328);return _0x1ae328;},Oe=(_0x3d964f,_0x4903d4)=>(_0x38c234,_0x2ee2ed)=>_0x4903d4(_0x38c234,_0x2ee2ed,_0x3d964f),En=(_0x464bca,_0x28a42d,_0x2b929a)=>pn(_0x464bca,_0x28a42d+'',_0x2b929a);const bn=_0x20aa44(0x259);function _0x3826(_0x443dc1,_0x3e27cc){const _0x114dd7=_0x114d();return _0x3826=function(_0x382654,_0x34f4be){_0x382654=_0x382654-0x1e2;let _0x28acaa=_0x114dd7[_0x382654];return _0x28acaa;},_0x3826(_0x443dc1,_0x3e27cc);}let ye=class extends _0x5a0d70{constructor(_0x13bc97=st,_0x244037,_0x42adce,_0x3b73c4){const _0x252595=_0x20aa44;super(),this[_0x252595(0x308)]=_0x13bc97,this[_0x252595(0x36a)]=_0x244037,this[_0x252595(0x3bd)]=_0x42adce,this[_0x252595(0x320)]=_0x3b73c4;const {..._0x112f66}=_0x35560f({},st,this['_config']);this['_configService']['setConfig'](nn,_0x112f66);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x20aa44(0x329)](){const _0xea8428=_0x20aa44;this[_0xea8428(0x39d)]();}[_0x20aa44(0x26f)](){const _0x228022=_0x20aa44;var _0x2e5a3a;const _0x4eb4bd=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x345659,{'useClass':_0x189eca}],[_0x375e08,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x244d36(this['_injector'],_0x3dccb0(_0x4eb4bd,(_0x2e5a3a=this['_config'])==null?void 0x0:_0x2e5a3a[_0x228022(0x25f)]));}[_0x20aa44(0x39d)](){const _0x488e1c=_0x20aa44;this[_0x488e1c(0x211)](this[_0x488e1c(0x36a)][_0x488e1c(0x343)](_0x28520b['UNIVER_DOC'],[we])),this[_0x488e1c(0x211)](this[_0x488e1c(0x36a)]['registerRenderModule'](_0x28520b['UNIVER_SHEET'],[Le]));}['_initDependencies'](){_0x394e0e(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x20aa44(0x30f),bn),ye=Cn([_0xfdde95(_0x47c929),Oe(0x1,_0xe67b4),Oe(0x2,_0x346bad(_0x286e8d)),Oe(0x3,_0x121a15)],ye);var On=Object[_0x20aa44(0x382)],Tn=(_0x57148a,_0x229f17,_0x41b622,_0x3588af)=>{for(var _0x14f5ba=_0x3588af>0x1?void 0x0:_0x3588af?On(_0x229f17,_0x41b622):_0x229f17,_0x29892a=_0x57148a['length']-0x1,_0x3d02fb;_0x29892a>=0x0;_0x29892a--)(_0x3d02fb=_0x57148a[_0x29892a])&&(_0x14f5ba=_0x3d02fb(_0x14f5ba)||_0x14f5ba);return _0x14f5ba;},z=(_0x3fdabc,_0xf6b877)=>(_0x83bfe6,_0x17684e)=>_0xf6b877(_0x83bfe6,_0x17684e,_0x3fdabc);let nt=class extends _0x1b9d6a{constructor(_0x447568,_0x5e7184,_0x47257e,_0x1a82f0,_0x4a35f7){super(_0x447568,_0x5e7184,_0x47257e,_0x1a82f0,_0x4a35f7);}async[_0x20aa44(0x309)](_0x43bb2a){const _0x249fe7=_0x20aa44,_0x55e6e7=await this[_0x249fe7(0x217)](),_0x4ace6b=this['_createSocketURL'](_0x43bb2a,_0x55e6e7);return this[_0x249fe7(0x26b)](_0x4ace6b);}[_0x20aa44(0x36b)](_0x4aad74,_0x2d0b0f){const _0x4d2f07=_0x20aa44,_0x1342c7=typeof window>'u'?new URL(_0x4aad74):new URL(_0x4aad74,window[_0x4d2f07(0x27a)][_0x4d2f07(0x2ce)]);_0x1342c7[_0x4d2f07(0x1f9)][_0x4d2f07(0x3db)]('sessionTicket',_0x2d0b0f);const _0x518309=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d2f07(0x27a)]['search']);return _0x518309[_0x4d2f07(0x201)](_0x4d2f07(0x2ad))&&_0x1342c7['searchParams'][_0x4d2f07(0x3db)](_0x4d2f07(0x2ad),_0x518309['get']('runId')),_0x1342c7[_0x4d2f07(0x322)]();}async[_0x20aa44(0x217)](){const _0x161d78=_0x20aa44;var _0x5b3268,_0x8f4d2f,_0x135763;const _0x3af196=this[_0x161d78(0x320)][_0x161d78(0x204)](_0x2f6b30),_0xeb58f9=(_0x5b3268=_0x3af196==null?void 0x0:_0x3af196[_0x161d78(0x328)])!=null?_0x5b3268:_0x3585ef;return(_0x135763=(_0x8f4d2f=(await this['_httpService']['get'](_0xeb58f9,{'headers':{'Content-Type':_0x161d78(0x2d2)}}))['body'])==null?void 0x0:_0x8f4d2f[_0x161d78(0x1ec)])!=null?_0x135763:'';}};nt=Tn([z(0x0,_0x346bad(_0x286e8d)),z(0x1,_0x346bad(_0x5bc36a)),z(0x2,_0x121a15),z(0x3,_0x55786b),z(0x4,_0x1eb555)],nt);const rt=0x7530,ot=_0x20aa44(0x358);class Gn extends _0x3a3eae{constructor(){const _0x28f66a=_0x20aa44;super(),_(this,'_id',_0x221c85()),_(this,_0x28f66a(0x1f6),new Set()),_(this,_0x28f66a(0x396),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x28f66a(0x286),new Map()),_(this,_0x28f66a(0x32b),new Map()),this['_init']();}[_0x20aa44(0x392)](){const _0x365a70=_0x20aa44;super[_0x365a70(0x392)](),this[_0x365a70(0x286)][_0x365a70(0x2fe)]((_0x908e1b,_0x549043)=>this['_removeClearOtherTimer'](_0x549043)),this[_0x365a70(0x1e8)]&&window[_0x365a70(0x3d8)](this[_0x365a70(0x1e8)]);}[_0x20aa44(0x305)](_0x1b10a5){const _0xd16477=_0x20aa44;return this[_0xd16477(0x372)](_0x1b10a5)[_0xd16477(0x2ed)](_0x4a25e5());}[_0x20aa44(0x318)](_0x4be62a){const _0x1c54be=_0x20aa44;this[_0x1c54be(0x1f6)][_0x1c54be(0x22c)]===0x0&&this[_0x1c54be(0x2e8)](),this[_0x1c54be(0x1f6)][_0x1c54be(0x2bd)](_0x4be62a),this[_0x1c54be(0x205)]({'type':0x0,'memberID':this[_0x1c54be(0x3bc)],'unitIDs':[_0x4be62a],'isForwarded':!0x1});}[_0x20aa44(0x2b5)](_0x17191c){const _0x2bd654=_0x20aa44;this[_0x2bd654(0x1f6)][_0x2bd654(0x38a)](_0x17191c),this['_selfUnitIDs'][_0x2bd654(0x22c)]===0x0&&this[_0x2bd654(0x1e8)]&&window[_0x2bd654(0x3d8)](this[_0x2bd654(0x1e8)]);}[_0x20aa44(0x2eb)](){const _0x33a3f5=_0x20aa44;this[_0x33a3f5(0x211)](_0xae9f63(_0x5574ec(window,_0x33a3f5(0x277))['subscribe'](_0x358152=>{const _0x236eb4=_0x33a3f5;if(_0x358152[_0x236eb4(0x228)]!==ot||!_0x358152[_0x236eb4(0x3c5)])return;const _0x262027=JSON[_0x236eb4(0x3a9)](_0x358152['newValue']);this[_0x236eb4(0x1f2)](_0x262027);}))),window[_0x33a3f5(0x2e4)](_0x33a3f5(0x36f),()=>this['_send']({'type':0x1,'memberID':this[_0x33a3f5(0x3bc)],'unitIDs':Array[_0x33a3f5(0x28d)](this[_0x33a3f5(0x1f6)])}));}[_0x20aa44(0x1f2)](_0x5ee914){const _0x222839=_0x20aa44;switch(_0x5ee914[_0x222839(0x2df)]){case 0x0:this['_handleJoinEvent'](_0x5ee914);break;case 0x1:this['_handleLeaveEvent'](_0x5ee914);break;case 0x2:this[_0x222839(0x284)](_0x5ee914);break;}}[_0x20aa44(0x23b)](_0x1df7bf){const _0x566b7c=_0x20aa44,{unitIDs:_0x39359d,memberID:_0x2edce3,isForwarded:_0x4227a4}=_0x1df7bf;_0x39359d[_0x566b7c(0x2fe)](_0x56131f=>{const _0x30b659=_0x566b7c;if(!_0x4227a4&&this[_0x30b659(0x396)][_0x30b659(0x3c9)](_0x56131f)&&this['_ensureSubject'](_0x56131f)['next'](_0x3e0989[_0x30b659(0x316)]),!this['_unitOnClients'][_0x30b659(0x3c9)](_0x56131f)||!this['_unitOnClients']['get'](_0x56131f)[_0x30b659(0x3c9)](_0x2edce3)){const _0x4154f8=this[_0x30b659(0x396)][_0x30b659(0x201)](_0x56131f)||new Set();_0x4154f8[_0x30b659(0x2bd)](_0x2edce3),this[_0x30b659(0x396)]['set'](_0x56131f,_0x4154f8),this[_0x30b659(0x24e)](_0x2edce3);}}),_0x4227a4||this[_0x566b7c(0x205)]({'type':0x0,'memberID':this[_0x566b7c(0x3bc)],'unitIDs':[...this[_0x566b7c(0x1f6)]],'isForwarded':!0x0});}[_0x20aa44(0x24e)](_0xd8452c){const _0x2c73de=_0x20aa44;this[_0x2c73de(0x2d7)](_0xd8452c);const _0x23cd0b=window['setTimeout'](()=>{const _0x55d0aa=_0x2c73de;this[_0x55d0aa(0x396)][_0x55d0aa(0x2fe)](_0x5340dd=>{const _0x495b5c=_0x55d0aa;_0x5340dd[_0x495b5c(0x38a)](_0xd8452c);});},rt*0x2);this[_0x2c73de(0x286)]['set'](_0xd8452c,_0x23cd0b);}[_0x20aa44(0x2d7)](_0x2cc97f){const _0x400614=_0x20aa44;if(this[_0x400614(0x286)]['has'](_0x2cc97f)){const _0x57821c=this[_0x400614(0x286)][_0x400614(0x201)](_0x2cc97f);_0x57821c&&window[_0x400614(0x2c8)](_0x57821c),this[_0x400614(0x286)][_0x400614(0x3db)](_0x2cc97f,null);}}[_0x20aa44(0x2bc)](_0x5d5595){const _0x3a4692=_0x20aa44,{memberID:_0x3cafca,unitIDs:_0x3c8bcf}=_0x5d5595;_0x3c8bcf[_0x3a4692(0x2fe)](_0x5db1a8=>{const _0x597616=_0x3a4692;var _0x4da9d4;const _0x76b7ef=this[_0x597616(0x396)][_0x597616(0x201)](_0x5db1a8);_0x76b7ef&&(_0x76b7ef[_0x597616(0x38a)](_0x3cafca),(_0x4da9d4=this[_0x597616(0x372)](_0x5db1a8))==null||_0x4da9d4[_0x597616(0x29e)](_0x76b7ef['size']===0x0?_0x3e0989['NO_OTHER_CLIENTS_EDITING']:_0x3e0989[_0x597616(0x316)]));}),this[_0x3a4692(0x2d7)](_0x3cafca);}[_0x20aa44(0x284)](_0x32b2d6){const _0x37e5d7=_0x20aa44;this['_scheduleClearOtherTimer'](_0x32b2d6[_0x37e5d7(0x390)]);}[_0x20aa44(0x205)](_0x56d461){const _0x2536ca=_0x20aa44;localStorage[_0x2536ca(0x3e0)](ot,JSON[_0x2536ca(0x35f)](_0x56d461));}[_0x20aa44(0x2e8)](){const _0x4cfe69=_0x20aa44;this[_0x4cfe69(0x1e8)]=window[_0x4cfe69(0x389)](()=>{const _0x4d66c1=_0x4cfe69;this[_0x4d66c1(0x205)]({'type':0x2,'memberID':this[_0x4d66c1(0x3bc)]});},rt);}['_ensureSubject'](_0x1d35bc){const _0xcb37a4=_0x20aa44;return this[_0xcb37a4(0x32b)][_0xcb37a4(0x3c9)](_0x1d35bc)||this['_unitStatus'][_0xcb37a4(0x3db)](_0x1d35bc,new _0x119cba(_0x3e0989[_0xcb37a4(0x238)])),this[_0xcb37a4(0x32b)]['get'](_0x1d35bc);}}var wt=(_0xf4f3da=>(_0xf4f3da[_0xf4f3da[_0x20aa44(0x3b0)]=0x0]='UNDEFINED',_0xf4f3da[_0xf4f3da['OK']=0x1]='OK',_0xf4f3da[_0xf4f3da[_0x20aa44(0x3e5)]=0x2]=_0x20aa44(0x3e5),_0xf4f3da[_0xf4f3da[_0x20aa44(0x380)]=0x3]=_0x20aa44(0x380),_0xf4f3da[_0xf4f3da[_0x20aa44(0x20f)]=0x4]='NOT_FOUND',_0xf4f3da[_0xf4f3da[_0x20aa44(0x247)]=0x5]=_0x20aa44(0x247),_0xf4f3da[_0xf4f3da['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0xf4f3da[_0xf4f3da[_0x20aa44(0x38c)]=0x7]=_0x20aa44(0x38c),_0xf4f3da[_0xf4f3da[_0x20aa44(0x230)]=0x8]=_0x20aa44(0x230),_0xf4f3da[_0xf4f3da[_0x20aa44(0x307)]=0x9]='COMPLETION_FINISHED',_0xf4f3da[_0xf4f3da[_0x20aa44(0x1e9)]=0xa]=_0x20aa44(0x1e9),_0xf4f3da[_0xf4f3da[_0x20aa44(0x2cb)]=0x1389]=_0x20aa44(0x2cb),_0xf4f3da[_0xf4f3da['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xf4f3da[_0xf4f3da[_0x20aa44(0x3d6)]=0x1772]=_0x20aa44(0x3d6),_0xf4f3da[_0xf4f3da[_0x20aa44(0x21a)]=0x1773]=_0x20aa44(0x21a),_0xf4f3da[_0xf4f3da[_0x20aa44(0x27e)]=0x1b59]='APPLY_REJECT',_0xf4f3da[_0xf4f3da[_0x20aa44(0x290)]=0x1b5a]=_0x20aa44(0x290),_0xf4f3da[_0xf4f3da['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0xf4f3da[_0xf4f3da['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x20aa44(0x3ac),_0xf4f3da[_0xf4f3da['APPLY_DUPLICATED']=0x1b5d]=_0x20aa44(0x2ee),_0xf4f3da[_0xf4f3da['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x20aa44(0x275),_0xf4f3da[_0xf4f3da[_0x20aa44(0x30e)]=0x2329]=_0x20aa44(0x30e),_0xf4f3da[_0xf4f3da[_0x20aa44(0x334)]=0x232a]=_0x20aa44(0x334),_0xf4f3da[_0xf4f3da[_0x20aa44(0x3cc)]=0x232b]=_0x20aa44(0x3cc),_0xf4f3da[_0xf4f3da[_0x20aa44(0x2b9)]=0x232c]=_0x20aa44(0x2b9),_0xf4f3da[_0xf4f3da[_0x20aa44(0x24d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0xf4f3da[_0xf4f3da[_0x20aa44(0x2b1)]=0x2711]=_0x20aa44(0x2b1),_0xf4f3da[_0xf4f3da[_0x20aa44(0x364)]=0x2712]=_0x20aa44(0x364),_0xf4f3da[_0xf4f3da[_0x20aa44(0x2d9)]=0x2713]=_0x20aa44(0x2d9),_0xf4f3da[_0xf4f3da[_0x20aa44(0x327)]=0x2714]=_0x20aa44(0x327),_0xf4f3da[_0xf4f3da[_0x20aa44(0x39c)]=0x271a]=_0x20aa44(0x39c),_0xf4f3da[_0xf4f3da['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x20aa44(0x3b8),_0xf4f3da[_0xf4f3da[_0x20aa44(0x3a8)]=0x2af9]=_0x20aa44(0x3a8),_0xf4f3da[_0xf4f3da[_0x20aa44(0x268)]=0x2ee1]=_0x20aa44(0x268),_0xf4f3da[_0xf4f3da['INVALID_INVITE_CODE']=0x2ee2]=_0x20aa44(0x371),_0xf4f3da[_0xf4f3da[_0x20aa44(0x31d)]=0x2ee3]=_0x20aa44(0x31d),_0xf4f3da[_0xf4f3da['USER_NOT_INVITED_CODE']=0x2ee4]=_0x20aa44(0x315),_0xf4f3da[_0xf4f3da[_0x20aa44(0x221)]=0x2ee5]=_0x20aa44(0x221),_0xf4f3da[_0xf4f3da[_0x20aa44(0x2bf)]=0x32c9]=_0x20aa44(0x2bf),_0xf4f3da[_0xf4f3da[_0x20aa44(0x351)]=0x32ca]=_0x20aa44(0x351),_0xf4f3da[_0xf4f3da[_0x20aa44(0x2bb)]=0x32cb]=_0x20aa44(0x2bb),_0xf4f3da[_0xf4f3da[_0x20aa44(0x219)]=-0x1]='UNRECOGNIZED',_0xf4f3da))(wt||{}),Rn=Object[_0x20aa44(0x382)],Dn=(_0x14e8d0,_0x27f4b3,_0x558de0,_0x2c33f5)=>{for(var _0x2126b2=_0x2c33f5>0x1?void 0x0:_0x2c33f5?Rn(_0x27f4b3,_0x558de0):_0x27f4b3,_0x5a45be=_0x14e8d0['length']-0x1,_0x52bb2e;_0x5a45be>=0x0;_0x5a45be--)(_0x52bb2e=_0x14e8d0[_0x5a45be])&&(_0x2126b2=_0x52bb2e(_0x2126b2)||_0x2126b2);return _0x2126b2;},Te=(_0x431e8b,_0x283656)=>(_0x449445,_0x469910)=>_0x283656(_0x449445,_0x469910,_0x431e8b);let at=class extends _0x3a3eae{constructor(_0xb1a0a4,_0x299b94,_0x461f6e){const _0x2e1562=_0x20aa44;super(),this['_instanceService']=_0xb1a0a4,this[_0x2e1562(0x2b0)]=_0x299b94,this[_0x2e1562(0x320)]=_0x461f6e;}async[_0x20aa44(0x34d)](_0x519197,_0x18b57a,_0x2029d5,..._0x1229fa){const _0x10235a=_0x20aa44;var _0x403f64,_0x1a79c1,_0x36bd94,_0x4bc1c4;const _0x41f22e=this[_0x10235a(0x341)][_0x10235a(0x2dc)]();if(!_0x41f22e)throw new Error(_0x10235a(0x3d5));const _0x44e3e7=((_0x403f64=this['_configService'][_0x10235a(0x204)](_0x764cc5))!=null?_0x403f64:_0x3a231b)+'/'+_0x519197+_0x10235a(0x317)+_0x18b57a,_0x3ae409=new URL(window['location']['href']),_0x163264={'scriptId':_0x519197,'runId':(_0x1a79c1=_0x3ae409[_0x10235a(0x1f9)]['get'](_0x10235a(0x2ad)))!=null?_0x1a79c1:'','function':_0x18b57a,'unitId':_0x41f22e[_0x10235a(0x34b)](),'argsOfFunction':JSON[_0x10235a(0x35f)](_0x1229fa),'invokeId':(_0x36bd94=_0x2029d5[_0x10235a(0x366)])!=null?_0x36bd94:'','executionId':(_0x4bc1c4=_0x2029d5[_0x10235a(0x2a1)])!=null?_0x4bc1c4:''};try{const _0x2491c0=await this[_0x10235a(0x2b0)][_0x10235a(0x365)](_0x44e3e7,{'body':_0x163264});return _0x2491c0[_0x10235a(0x295)][_0x10235a(0x2fa)]&&_0x2491c0[_0x10235a(0x295)][_0x10235a(0x2fa)][_0x10235a(0x2aa)]!==wt['OK']?_0x10235a(0x20b):_0x2491c0['body']['result'];}catch{return _0x10235a(0x20b);}}};at=Dn([Te(0x0,_0x19a897),Te(0x1,_0x346bad(_0x5bc36a)),Te(0x2,_0x121a15)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x34f845=_0x3b81;(function(_0x2d77cc,_0x57446f){const _0x6be76e=_0x3b81,_0x36a5e7=_0x2d77cc();while(!![]){try{const _0x293619=parseInt(_0x6be76e(0x332))/0x1*(-parseInt(_0x6be76e(0x1e3))/0x2)+parseInt(_0x6be76e(0x1be))/0x3+-parseInt(_0x6be76e(0x27a))/0x4*(-parseInt(_0x6be76e(0x1f2))/0x5)+parseInt(_0x6be76e(0x2e0))/0x6*(parseInt(_0x6be76e(0x303))/0x7)+parseInt(_0x6be76e(0x2df))/0x8*(-parseInt(_0x6be76e(0x28b))/0x9)+parseInt(_0x6be76e(0x2ab))/0xa*(-parseInt(_0x6be76e(0x17c))/0xb)+parseInt(_0x6be76e(0x32d))/0xc;if(_0x293619===_0x57446f)break;else _0x36a5e7['push'](_0x36a5e7['shift']());}catch(_0x280668){_0x36a5e7['push'](_0x36a5e7['shift']());}}}(_0x186b,0x49fdd));var Bt=Object[_0x34f845(0x153)],kt=(_0x2ec46c,_0x3e92d2,_0x78793)=>_0x3e92d2 in _0x2ec46c?Bt(_0x2ec46c,_0x3e92d2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x78793}):_0x2ec46c[_0x3e92d2]=_0x78793,_=(_0x4b29cc,_0x192519,_0x1a6a7e)=>kt(_0x4b29cc,typeof _0x192519!=_0x34f845(0x1b3)?_0x192519+'':_0x192519,_0x1a6a7e);import{MemberService as _0x1037cd,SessionStatus as _0x376318,CollaborationSessionService as _0x1e769d,CollaborationStatus as _0x30f82d,CollaborationController as _0x352493,ILocalCacheService as _0x267b4e,CollaborationUIEventService as _0xc8f080,CollaborationUIEventId as _0x5c61b3,DataLoaderService as _0x51f875,DocCollaborationEntity as _0xe1ef36,getLocalCacheKey as _0x4a7859,LOCAL_CACHE_INTERVAL as _0x3c012b,LOCAL_CACHE_INTERVAL_KEY as _0x2b3968,UniverCollaborationClientPlugin as _0x44ab1e,CollaborationSocketService as _0x371b96,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5cff6d,DEFAULT_WS_SESSION_TICKET_URL as _0x395e23,UnitStatus as _0x133e93,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xc30bfb,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x30d773}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1efc6a,Disposable as _0x4ac1a9,DOC_RANGE_TYPE as _0x5bf3af,Inject as _0x22b534,Injector as _0x2e952e,IUniverInstanceService as _0x63e8d,ICommandService as _0x5c5ad0,debounce as _0x154049,Rectangle as _0x2e7637,DisposableCollection as _0x1053d5,toDisposable as _0xdb27d8,UniverInstanceType as _0xffe01d,Tools as _0x3ecff1,COLORS as _0x299c11,ColorKit as _0x42c429,ThemeService as _0x4e23fb,fromEventSubject as _0x17b811,LocaleService as _0x5a62d0,createIdentifier as _0x507eb4,ILogService as _0x86c8cd,Optional as _0x514b4d,Workbook as _0x269207,CommandType as _0x298736,IConfigService as _0x511a60,ILocalStorageService as _0x449ec6,DependentOn as _0x1fba64,Plugin as _0x516154,merge as _0x5b3e74,registerDependencies as _0x4a06b6,mergeOverrideWithDependencies as _0x5d2a46,touchDependencies as _0x1e5548,generateRandomId as _0x4a6fd1}from'@univerjs/core';import{Shape as _0xa1e779,Rect as _0x4ac9d7,getColor as _0x459d52,RegularPolygon as _0x1fdc25,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3b8a08,Vector2 as _0x4b20bc,SHEET_VIEWPORT_KEY as _0x11a54e,IRenderManagerService as _0x5e2ece}from'@univerjs/engine-render';import{ISocketService as _0x387f20,WebSocketService as _0x9bc21d,HTTPService as _0x57454a}from'@univerjs/network';import{IDocClipboardService as _0x71f319,NodePositionConvertToCursor as _0x30d8b4,NodePositionConvertToRectRange as _0x2b6f21,TEXT_RANGE_LAYER_INDEX as _0x18859e,SetDocZoomRatioOperation as _0x2769bf,DocIMEInputManagerService as _0x3b71b7,DocStateChangeManagerService as _0x5e5e93}from'@univerjs/docs-ui';import{IImageIoService as _0x5290ef}from'@univerjs/drawing';import{BehaviorSubject as _0x172344,debounceTime as _0x5ead5d,takeUntil as _0x21de1f,Subject as _0x2a0d4d,filter as _0x4bf4be,switchMap as _0x236b44,merge as _0x2fa36c,combineLatest as _0x2523e8,of as _0x2b32e7,fromEvent as _0x45bc46,shareReplay as _0x461deb,mapTo as _0x85da8e,distinctUntilChanged as _0xb35a2a}from'rxjs';import{SetTextSelectionsOperation as _0x320cc5,RichTextEditingMutation as _0x17c1eb,DocSelectionManagerService as _0x2f41bf,DocSkeletonManagerService as _0x5b999a}from'@univerjs/docs';import{ITransformService as _0xf82704,CollaborationEvent as _0x4529b8,isTransformMutationFailure as _0x943f0f,isTransformMutationsWithChangesetSuccess as _0x4461a6,RevisionService as _0x1edeb0,ISnapshotServerService as _0x246914}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x192f18,serializeRangeWithSheet as _0x2ac32c}from'@univerjs/engine-formula';import{RefRangeService as _0x464454,SetSelectionsOperation as _0x559d72,SheetsSelectionsService as _0x44ad08,EffectRefRangId as _0x58e700,handleIRemoveRow as _0x11558a,handleIRemoveCol as _0x9e7060,handleMoveRange as _0x48e03e,handleInsertRow as _0x519f23,handleInsertRangeMoveRight as _0x1e91df,handleInsertRangeMoveDown as _0x222482,handleInsertCol as _0x3e07fb,handleDeleteRangeMoveUp as _0xa0df82,handleDeleteRangeMoveLeft as _0x946ac7,runRefRangeMutations as _0x4ece4f,SetWorksheetActivateCommand as _0x31cfac}from'@univerjs/sheets';import{map as _0x1f2c0c,filter as _0x580a8f,throttleTime as _0x3b65c2,takeUntil as _0xe97907,switchMap as _0x17a4e1}from'rxjs/operators';import{SheetSkeletonManagerService as _0x277da8,getCoordByCell as _0x147816,getSheetObject as _0x5d958f}from'@univerjs/sheets-ui';import{jsx as _0xf948d7,jsxs as _0x111bf8}from'react/jsx-runtime';import{useObservable as _0x315e8c,useDependency as _0x3e4559,IUIPartsService as _0x4eeaf3,BuiltInUIPart as _0x38ccca,connectInjector as _0xa2b28,IBeforeCloseService as _0x132fbb,IMessageService as _0x198afa,INotificationService as _0x5ceaeb}from'@univerjs/ui';import{clsx as _0x38009b,Tooltip as _0x47ff7e,MessageType as _0x3e1507}from'@univerjs/design';import{forwardRef as _0x19d95f,useRef as _0x50d479,createElement as _0xa7d547,useCallback as _0xacde19}from'react';import{IRemoteInstanceService as _0x4602c3}from'@univerjs/rpc';var li=Object['getOwnPropertyDescriptor'],_i=(_0x21118e,_0x5d702e,_0x42de90,_0x1ef640)=>{const _0x4f8d08=_0x34f845;for(var _0x342bba=_0x1ef640>0x1?void 0x0:_0x1ef640?li(_0x5d702e,_0x42de90):_0x5d702e,_0x2a3010=_0x21118e[_0x4f8d08(0x216)]-0x1,_0x2b60f7;_0x2a3010>=0x0;_0x2a3010--)(_0x2b60f7=_0x21118e[_0x2a3010])&&(_0x342bba=_0x2b60f7(_0x342bba)||_0x342bba);return _0x342bba;},Qe=(_0x29613e,_0x3935ef)=>(_0x4bb64f,_0x284da4)=>_0x3935ef(_0x4bb64f,_0x284da4,_0x29613e);let Ue=class extends _0x1efc6a{constructor(_0x51a2f2,_0x302cc3){const _0x4d8041=_0x34f845;super(),this[_0x4d8041(0x2aa)]=_0x51a2f2,this[_0x4d8041(0x25f)]=_0x302cc3,this[_0x4d8041(0x229)]();}[_0x34f845(0x229)](){const _0x4829d3=_0x34f845,_0x55fcb3=this;this['disposeWithMe'](this[_0x4829d3(0x2aa)][_0x4829d3(0x1e9)]({'onBeforePasteImage':async _0xcd833e=>{const _0x3b998f=_0x4829d3,_0x1df423=await _0x55fcb3[_0x3b998f(0x25f)][_0x3b998f(0x334)](_0xcd833e);return _0x1df423?{'source':_0x1df423['source'],'imageSourceType':_0x1df423[_0x3b998f(0x238)]}:null;}}));}};Ue=_i([Qe(0x0,_0x71f319),Qe(0x1,_0x5290ef)],Ue);const qe=[_0x34f845(0x180),_0x34f845(0x286),_0x34f845(0x2db),_0x34f845(0x22b),'blue400',_0x34f845(0x1f0)];class He extends _0x4ac1a9{constructor(){const _0x13ab64=_0x34f845;super(...arguments),_(this,_0x13ab64(0x159),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x5ca466){const _0x5b772e=_0x34f845;if(this['_assignedColors']['has'](_0x5ca466))return this[_0x5b772e(0x159)][_0x5b772e(0x156)](_0x5ca466);const _0x2d27c3=qe[this['_colorIndex']];return this['_colorIndex']=(this[_0x5b772e(0x297)]+0x1)%qe[_0x5b772e(0x216)],this[_0x5b772e(0x159)][_0x5b772e(0x18f)](_0x5ca466,_0x2d27c3),_0x2d27c3;}}function Dt(_0x2c332a){const _0x45e3f8=_0x34f845;let _0x20ec55='';for(const _0x832fd of _0x2c332a){const {startOffset:_0x311078,endOffset:_0x573b4e,isActive:_0x230f69,rangeType:_0x7d9dcc,segmentId:_0x43c8a1,segmentPage:_0xde4cca}=_0x832fd;_0x20ec55[_0x45e3f8(0x216)]&&(_0x20ec55+=','),_0x20ec55+=_0x311078+':'+_0x573b4e+':'+(_0x230f69?'1':'0')+':'+_0x7d9dcc+':'+_0x43c8a1+':'+_0xde4cca;}return _0x20ec55;}function hi(_0x210444){const _0xfbf08f=_0x34f845,_0x2d41dc=_0x210444[_0xfbf08f(0x183)](','),_0x3b7902=[];for(const _0x1ab5c1 of _0x2d41dc){const [_0xa7dfb0,_0x292fda,_0x41b304,_0x19e339,_0x21b63b,_0x4b0914]=_0x1ab5c1[_0xfbf08f(0x183)](':');_0x3b7902[_0xfbf08f(0x14e)]({'startOffset':Number(_0xa7dfb0),'endOffset':Number(_0x292fda),'collapsed':_0xa7dfb0===_0x292fda,'isActive':_0x41b304==='1','rangeType':_0x19e339===_0x5bf3af[_0xfbf08f(0x1cd)]?_0x5bf3af['TEXT']:_0x5bf3af[_0xfbf08f(0x21c)],'segmentId':typeof _0x21b63b==_0xfbf08f(0x2c7)?String(_0x21b63b):'','segmentPage':Number(_0x4b0914!=null?_0x4b0914:-0x1)});}return _0x3b7902['some'](_0x5e4b8b=>_0x5e4b8b[_0xfbf08f(0x271)])||(_0x3b7902[0x0]['isActive']=!0x0),_0x3b7902;}class je extends _0x1efc6a{constructor(){const _0x40b666=_0x34f845;super(...arguments),_(this,_0x40b666(0x176),new _0x172344(null)),_(this,_0x40b666(0x1b9),this[_0x40b666(0x176)][_0x40b666(0x202)]());}[_0x34f845(0x2d8)](_0x24d44c){const _0x34f657=_0x34f845,{unitID:_0x5c819d,memberID:_0x29d1ef,textRanges:_0x25c0ef}=_0x24d44c,_0x20f3a4=Dt(_0x25c0ef);if(_0x20f3a4==='')return;const _0x202961={'unitID':_0x5c819d,'memberID':_0x29d1ef,'selection':_0x20f3a4};this[_0x34f657(0x176)][_0x34f657(0x329)](_0x202961);}}var ui=Object[_0x34f845(0x157)],di=(_0x141225,_0x2a9eff,_0x394971,_0x13365a)=>{const _0x267dc9=_0x34f845;for(var _0x4c2dc5=_0x13365a>0x1?void 0x0:_0x13365a?ui(_0x2a9eff,_0x394971):_0x2a9eff,_0x255ffe=_0x141225[_0x267dc9(0x216)]-0x1,_0xe3fab9;_0x255ffe>=0x0;_0x255ffe--)(_0xe3fab9=_0x141225[_0x255ffe])&&(_0x4c2dc5=_0xe3fab9(_0x4c2dc5)||_0x4c2dc5);return _0x4c2dc5;},w=(_0x4ee077,_0x4a6e32)=>(_0x54c373,_0x53206f)=>_0x4a6e32(_0x54c373,_0x53206f,_0x4ee077);const fi=0x12c,Si=0x64;let Me=class extends _0x1efc6a{constructor(_0x2d720f,_0x5b93d9,_0x1dd65f,_0x4bb2aa,_0x8a2a5d,_0x6f8286,_0x27f1f6,_0x4490eb,_0x388b57){const _0x5ea983=_0x34f845;super(),_(this,_0x5ea983(0x2d5),!0x1),_(this,_0x5ea983(0x229),!0x1),_(this,'_cursorInfo$',new _0x172344(new Map())),_(this,_0x5ea983(0x1d5),this[_0x5ea983(0x1f8)][_0x5ea983(0x202)]()),_(this,_0x5ea983(0x26f),new _0x172344([])),_(this,_0x5ea983(0x133),this['_roomMembers$'][_0x5ea983(0x268)](_0x5ead5d(fi))),_(this,'_updateLocalCursor',_0x154049(_0x4fe118=>{const _0x573767=_0x5ea983,_0x37e9d4={'eventID':_0x4529b8[_0x573767(0x25b)],'data':{'unitID':this[_0x573767(0x134)],'memberID':this[_0x573767(0x222)][_0x573767(0x2c8)](),'selection':Dt(_0x4fe118)}};this[_0x573767(0x222)][_0x573767(0x2ff)](_0x37e9d4,this[_0x573767(0x134)]);},Si)),(this[_0x5ea983(0x134)]=_0x2d720f,this[_0x5ea983(0x222)]=_0x5b93d9,this[_0x5ea983(0x17e)]=_0x1dd65f,this[_0x5ea983(0x2d7)]=_0x4bb2aa,this[_0x5ea983(0x316)]=_0x8a2a5d,this[_0x5ea983(0x1ce)]=_0x6f8286,this['_transformService']=_0x27f1f6,this[_0x5ea983(0x243)]=_0x4490eb,this[_0x5ea983(0x250)]=_0x388b57);}get[_0x34f845(0x164)](){const _0x38b2ee=_0x34f845;return this[_0x38b2ee(0x1f8)][_0x38b2ee(0x27c)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x34f845(0x2d6)](){const _0x595aaa=_0x34f845;super[_0x595aaa(0x2d6)](),this[_0x595aaa(0x1f8)][_0x595aaa(0x329)](new Map()),this[_0x595aaa(0x1f8)][_0x595aaa(0x235)](),this['_roomMembers$']['next']([]),this[_0x595aaa(0x26f)][_0x595aaa(0x235)]();}[_0x34f845(0x1a6)](){const _0x30c134=_0x34f845;this[_0x30c134(0x229)]||(this[_0x30c134(0x229)]=!0x0,this[_0x30c134(0x222)]['sessionStatus$'][_0x30c134(0x268)](_0x21de1f(this[_0x30c134(0x305)]))['subscribe'](_0x3ec2a7=>{const _0x4df6c5=_0x30c134;_0x3ec2a7===_0x376318['ONLINE']?this['_toggleOnline']():this[_0x4df6c5(0x2f9)]();}),this[_0x30c134(0x222)][_0x30c134(0x22f)]['pipe'](_0x21de1f(this[_0x30c134(0x305)]))['subscribe'](_0x37b6a8=>{const _0x99ddb2=_0x30c134,_0x5608df=_0x37b6a8[_0x99ddb2(0x321)];_0x5608df===_0x4529b8[_0x99ddb2(0x25b)]&&this['_onCursorUpdate'](_0x37b6a8),_0x5608df===_0x4529b8[_0x99ddb2(0x1b1)]&&this[_0x99ddb2(0x274)](_0x37b6a8);}),this[_0x30c134(0x331)](this['_commandService'][_0x30c134(0x264)](_0x3a7d18=>{const _0xca6189=_0x30c134,_0x144a52=_0x3a7d18[_0xca6189(0x13e)];_0x144a52!=null&&this['_online']&&_0x3a7d18['id']===_0x320cc5['id']&&_0x144a52[_0xca6189(0x28f)]===this[_0xca6189(0x134)]&&_0x144a52['isEditing']===!0x1&&_0x144a52[_0xca6189(0x217)][_0xca6189(0x216)]>0x0&&this[_0xca6189(0x1ca)](_0x144a52[_0xca6189(0x217)]);})),this[_0x30c134(0x1ce)][_0x30c134(0x1b9)]['pipe'](_0x21de1f(this['dispose$']))[_0x30c134(0x1a2)](_0xed242=>{const _0x4cfb8f=_0x30c134;if((_0xed242==null?void 0x0:_0xed242[_0x4cfb8f(0x134)])!==this['unitID'])return;const _0x4dc574={'eventID':_0x4529b8[_0x4cfb8f(0x25b)],'data':_0xed242};this[_0x4cfb8f(0x28d)](_0x4dc574);}),this[_0x30c134(0x331)](this[_0x30c134(0x250)]['onCommandExecuted'](_0x1fd951=>{const _0x38994d=_0x30c134;if(_0x1fd951['params']==null)return;const _0x2b9050=_0x1fd951[_0x38994d(0x13e)];if(_0x1fd951['id']!==_0x17c1eb['id']||_0x2b9050['unitId']!==this[_0x38994d(0x134)])return;const _0x1b5a5e={'id':_0x38994d(0x15e),'params':_0x2b9050},_0x3811c2=this[_0x38994d(0x164)];for(const [_0x3887ea,_0x191593]of _0x3811c2){const _0x125471={'id':_0x38994d(0x15e),'params':{'unitId':this[_0x38994d(0x134)],'actions':null,'textRanges':_0x191593['ranges']}},_0x5d0495=this[_0x38994d(0x12f)]['transformMutation'](_0x1b5a5e,_0x125471,!0x1);if(_0x943f0f(_0x5d0495))throw _0x5d0495[_0x38994d(0x223)];_0x3811c2[_0x38994d(0x18f)](_0x3887ea,{..._0x191593,'ranges':_0x5d0495[_0x38994d(0x214)]['params'][_0x38994d(0x30a)]});}queueMicrotask(()=>{const _0x71539e=_0x38994d;this[_0x71539e(0x1f8)][_0x71539e(0x329)](_0x3811c2);});})));}['_onCursorUpdate'](_0x4cbb90){const _0x5bec2d=_0x34f845;var _0x426ea2,_0x43910c;const {memberID:_0x35e589,selection:_0x27a1dd}=_0x4cbb90[_0x5bec2d(0x1cf)],_0x1176dc=hi(_0x27a1dd),_0x34a0c4=(_0x43910c=(_0x426ea2=this[_0x5bec2d(0x316)][_0x5bec2d(0x16b)](this[_0x5bec2d(0x134)],_0x35e589))==null?void 0x0:_0x426ea2[_0x5bec2d(0x15c)])!=null?_0x43910c:_0x5bec2d(0x295),_0x4570c1={'color':this[_0x5bec2d(0x2d7)][_0x5bec2d(0x206)](_0x35e589),'name':_0x34a0c4,'ranges':_0x1176dc},_0x5f1594=this[_0x5bec2d(0x164)];_0x5f1594['set'](_0x35e589,_0x4570c1),this[_0x5bec2d(0x1f8)]['next'](_0x5f1594);}[_0x34f845(0x274)](_0xd32c4f){const _0x2e43ba=_0x34f845,{memberID:_0x1a0dd0}=_0xd32c4f[_0x2e43ba(0x1cf)],_0x32e5cd=this[_0x2e43ba(0x164)];_0x32e5cd['delete'](_0x1a0dd0),this[_0x2e43ba(0x1f8)][_0x2e43ba(0x329)](_0x32e5cd);}[_0x34f845(0x182)](){const _0x1ee815=_0x34f845;var _0x122ace;if(this[_0x1ee815(0x2d5)]=!0x0,((_0x122ace=this[_0x1ee815(0x243)][_0x1ee815(0x32e)]())==null?void 0x0:_0x122ace['getUnitId']())!==this[_0x1ee815(0x134)])return;const _0x138369=this[_0x1ee815(0x17e)]['get'](_0x2f41bf)[_0x1ee815(0x228)]();Array['isArray'](_0x138369)&&_0x138369['length']>0x0&&this['_updateLocalCursor'](_0x138369);}['_toggleOffline'](){const _0x202bf1=_0x34f845;this[_0x202bf1(0x2d5)]=!0x1;}};Me=di([w(0x2,_0x22b534(_0x2e952e)),w(0x3,_0x22b534(He)),w(0x4,_0x22b534(_0x1037cd)),w(0x5,_0x22b534(je)),w(0x6,_0xf82704),w(0x7,_0x63e8d),w(0x8,_0x5c5ad0)],Me);var mi=Object[_0x34f845(0x157)],gi=(_0x40c489,_0x14248e,_0xbb5353,_0x4a2eb1)=>{const _0x5059b6=_0x34f845;for(var _0x5ae715=_0x4a2eb1>0x1?void 0x0:_0x4a2eb1?mi(_0x14248e,_0xbb5353):_0x14248e,_0x47c16d=_0x40c489[_0x5059b6(0x216)]-0x1,_0x4a532a;_0x47c16d>=0x0;_0x47c16d--)(_0x4a532a=_0x40c489[_0x47c16d])&&(_0x5ae715=_0x4a532a(_0x5ae715)||_0x5ae715);return _0x5ae715;},x=(_0x4d3abc,_0x41fd26)=>(_0x265090,_0x2f7f8f)=>_0x41fd26(_0x265090,_0x2f7f8f,_0x4d3abc);const vi=0x12c,Ii=0x64,pi=()=>{let _0x5170c6=[],_0x2163f9=!0x1;return _0x58a1b6=>{_0x5170c6['push'](_0x58a1b6),_0x2163f9||(_0x2163f9=!0x0,setTimeout(()=>{const _0x48584f=_0x3b81;_0x5170c6[_0x48584f(0x18e)](_0x5116ab=>_0x5116ab()),_0x5170c6=[],_0x2163f9=!0x1;}));};};let Pe=class extends _0x1efc6a{constructor(_0x572e99,_0x381267,_0x577be4,_0x59c65c,_0x373a36,_0x25813b,_0x52d7d1,_0x1f10f2){const _0x5282a9=_0x34f845;super(),_(this,'_online',!0x1),_(this,_0x5282a9(0x229),!0x1),_(this,_0x5282a9(0x1f8),new _0x172344(new Map())),_(this,_0x5282a9(0x1d5),this[_0x5282a9(0x1f8)][_0x5282a9(0x202)]()),_(this,'_roomMembers$',new _0x172344([])),_(this,'roomMembers$',this[_0x5282a9(0x26f)][_0x5282a9(0x268)](_0x5ead5d(vi))),_(this,_0x5282a9(0x1ca),_0x154049((_0x585333,_0x193465)=>{const _0x5d07f5=_0x5282a9,_0x446c02={'eventID':_0x4529b8['UPDATE_CURSOR'],'data':{'unitID':this[_0x5d07f5(0x134)],'memberID':this[_0x5d07f5(0x222)][_0x5d07f5(0x2c8)](),'selection':_0x2ac32c(_0x585333,_0x193465[_0x5d07f5(0x1c3)])}};this[_0x5d07f5(0x222)][_0x5d07f5(0x2ff)](_0x446c02,this['unitID']);},Ii)),(this[_0x5282a9(0x134)]=_0x572e99,this[_0x5282a9(0x222)]=_0x381267,this[_0x5282a9(0x17e)]=_0x577be4,this[_0x5282a9(0x2d7)]=_0x59c65c,this['_memberService']=_0x373a36,this[_0x5282a9(0x243)]=_0x25813b,this['_commandService']=_0x52d7d1,this['_refRangeService']=_0x1f10f2);}get[_0x34f845(0x164)](){const _0x3f8a01=_0x34f845;return this[_0x3f8a01(0x1f8)][_0x3f8a01(0x27c)]();}get[_0x34f845(0x328)](){const _0x5cd028=_0x34f845;return this[_0x5cd028(0x26f)][_0x5cd028(0x27c)]();}['dispose'](){const _0x46629a=_0x34f845;super[_0x46629a(0x2d6)](),this[_0x46629a(0x1f8)][_0x46629a(0x329)](new Map()),this[_0x46629a(0x1f8)][_0x46629a(0x235)](),this[_0x46629a(0x26f)]['next']([]),this[_0x46629a(0x26f)][_0x46629a(0x235)]();}[_0x34f845(0x1a6)](){const _0x1d7a2f=_0x34f845;this[_0x1d7a2f(0x229)]||(this['_init']=!0x0,this[_0x1d7a2f(0x222)][_0x1d7a2f(0x241)][_0x1d7a2f(0x268)](_0x21de1f(this['dispose$']))[_0x1d7a2f(0x1a2)](_0x301dd3=>{const _0x2b01b5=_0x1d7a2f;_0x301dd3===_0x376318[_0x2b01b5(0x142)]?this[_0x2b01b5(0x182)]():this['_toggleOffline']();}),this[_0x1d7a2f(0x222)][_0x1d7a2f(0x22f)][_0x1d7a2f(0x268)](_0x21de1f(this['dispose$']))[_0x1d7a2f(0x1a2)](_0x5e5996=>{const _0xa91e93=_0x1d7a2f,_0x3ea35=_0x5e5996[_0xa91e93(0x321)];_0x3ea35===_0x4529b8[_0xa91e93(0x25b)]&&this[_0xa91e93(0x28d)](_0x5e5996),_0x3ea35===_0x4529b8[_0xa91e93(0x1b1)]&&this[_0xa91e93(0x274)](_0x5e5996);}),this[_0x1d7a2f(0x1fc)](),this[_0x1d7a2f(0x331)](this[_0x1d7a2f(0x250)]['onCommandExecuted'](_0x32c2e0=>{const _0x9f8c17=_0x1d7a2f;if(this[_0x9f8c17(0x2d5)]&&_0x32c2e0['id']===_0x559d72['id']&&_0x32c2e0[_0x9f8c17(0x13e)][_0x9f8c17(0x28f)]===this['unitID']){const _0xb07365=_0x32c2e0[_0x9f8c17(0x13e)];this[_0x9f8c17(0x1ca)](_0xb07365['subUnitId'],_0xb07365[_0x9f8c17(0x219)][0x0]);}})));}[_0x34f845(0x28d)](_0x98aa19){const _0x2e665a=_0x34f845;var _0x8e50b5,_0x29d5a2;const {memberID:_0x40f02c,selection:_0x2f34fb}=_0x98aa19['data'],{sheetName:_0x5a4fb9,range:_0x335819}=_0x192f18(_0x2f34fb),_0x17e07b={'name':(_0x29d5a2=(_0x8e50b5=this[_0x2e665a(0x316)]['getMember'](this['unitID'],_0x40f02c))==null?void 0x0:_0x8e50b5[_0x2e665a(0x15c)])!=null?_0x29d5a2:_0x2e665a(0x295),'range':this[_0x2e665a(0x2e3)](_0x5a4fb9,_0x335819),'sheetID':_0x5a4fb9,'color':this[_0x2e665a(0x2d7)][_0x2e665a(0x206)](_0x40f02c),'selection':_0x2f34fb},_0x37389b=this[_0x2e665a(0x164)];_0x37389b['set'](_0x40f02c,_0x17e07b),this['_cursorInfo$'][_0x2e665a(0x329)](_0x37389b);}[_0x34f845(0x274)](_0x1bb568){const _0x131797=_0x34f845,{memberID:_0x46c8a5}=_0x1bb568[_0x131797(0x1cf)],_0x3e1fec=this[_0x131797(0x164)];_0x3e1fec[_0x131797(0x1fe)](_0x46c8a5),this['_cursorInfo$'][_0x131797(0x329)](_0x3e1fec);}['_getMergeRange'](_0x1c6908,_0x3e38a8){const _0x1a196f=_0x34f845;var _0x468c80,_0x760398;const _0x4d50fe=(_0x760398=(_0x468c80=this[_0x1a196f(0x243)][_0x1a196f(0x141)](this['unitID']))==null?void 0x0:_0x468c80[_0x1a196f(0x27f)](_0x1c6908))==null?void 0x0:_0x760398[_0x1a196f(0x1b0)]();return(_0x4d50fe==null?void 0x0:_0x4d50fe[_0x1a196f(0x210)](_0xf68983=>_0x2e7637[_0x1a196f(0x20b)](_0xf68983,_0x3e38a8)))||_0x3e38a8;}[_0x34f845(0x1fc)](){const _0x45069a=_0x34f845,_0x2d0646=new _0x1053d5(),_0x574c4b=pi(),_0x483363=()=>{const _0xa4766b=_0x3b81;_0x2d0646[_0xa4766b(0x2d6)]();const _0x50b28a=(_0x37a847,_0x2aaa3b,_0x2896a2,_0x504258)=>{const _0x174c17=_0xa4766b;let _0x52ca9c=[];switch(_0x37a847['id']){case _0x58e700[_0x174c17(0x20f)]:{_0x52ca9c=_0x946ac7(_0x37a847,_0x504258);break;}case _0x58e700[_0x174c17(0x27b)]:{_0x52ca9c=_0xa0df82(_0x37a847,_0x504258);break;}case _0x58e700[_0x174c17(0x1d6)]:{_0x52ca9c=_0x3e07fb(_0x37a847,_0x504258);break;}case _0x58e700[_0x174c17(0x1e6)]:{_0x52ca9c=_0x222482(_0x37a847,_0x504258);break;}case _0x58e700['InsertRangeMoveRightCommandId']:{_0x52ca9c=_0x1e91df(_0x37a847,_0x504258);break;}case _0x58e700[_0x174c17(0x293)]:{_0x52ca9c=_0x519f23(_0x37a847,_0x504258);break;}case _0x58e700[_0x174c17(0x320)]:{_0x52ca9c=_0x48e03e(_0x37a847,_0x504258);break;}case _0x58e700[_0x174c17(0x2b9)]:{_0x52ca9c=_0x9e7060(_0x37a847,_0x504258);break;}case _0x58e700[_0x174c17(0x2f3)]:{_0x52ca9c=_0x11558a(_0x37a847,_0x504258);break;}}const _0x555f92=_0x4ece4f(_0x52ca9c,_0x504258),_0x343060=this[_0x174c17(0x164)][_0x174c17(0x156)](_0x2aaa3b);if(_0x343060&&_0x555f92){const _0x4d31a2={..._0x343060,'range':_0x555f92};this[_0x174c17(0x164)][_0x174c17(0x18f)](_0x2aaa3b,_0x4d31a2),_0x574c4b(()=>{const _0x242ba9=_0x174c17,_0x49739b=this['_refRangeService'][_0x242ba9(0x315)](_0x555f92,_0x32da69=>(_0x49739b['dispose'](),_0x50b28a(_0x32da69,_0x2aaa3b,_0x2896a2,_0x555f92)));_0x2d0646[_0x242ba9(0x231)](_0x49739b);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0xa4766b(0x18e)]((_0x423266,_0x5ac687)=>{const _0x362651=_0xa4766b,{range:_0x109750,sheetID:_0x1667ee}=_0x423266,_0x2e96cf=this[_0x362651(0x2eb)][_0x362651(0x315)](_0x109750,_0x87937d=>(_0x2e96cf[_0x362651(0x2d6)](),_0x50b28a(_0x87937d,_0x5ac687,_0x1667ee,_0x109750)));_0x2d0646[_0x362651(0x231)](_0x2e96cf);});};this[_0x45069a(0x331)](_0xdb27d8(this[_0x45069a(0x1f8)]['subscribe'](()=>{_0x483363();})));}[_0x34f845(0x182)](){const _0x57c68e=_0x34f845;var _0x2c7441,_0x34c9da;if(this[_0x57c68e(0x2d5)]=!0x0,((_0x2c7441=this[_0x57c68e(0x243)][_0x57c68e(0x32e)]())==null?void 0x0:_0x2c7441[_0x57c68e(0x18d)]())!==this['unitID'])return;const _0x53f503=(_0x34c9da=this[_0x57c68e(0x17e)]['get'](_0x44ad08)['getCurrentSelections']())==null?void 0x0:_0x34c9da[0x0],_0x1844c5=this[_0x57c68e(0x243)][_0x57c68e(0x14d)](_0xffe01d[_0x57c68e(0x2f4)])['getActiveSheet']();_0x53f503&&_0x1844c5&&this[_0x57c68e(0x1ca)](_0x1844c5[_0x57c68e(0x21e)](),_0x53f503);}['_toggleOffline'](){const _0x5d07c0=_0x34f845;this[_0x5d07c0(0x2d5)]=!0x1;}};Pe=gi([x(0x2,_0x22b534(_0x2e952e)),x(0x3,_0x22b534(He)),x(0x4,_0x22b534(_0x1037cd)),x(0x5,_0x63e8d),x(0x6,_0x5c5ad0),x(0x7,_0x22b534(_0x464454))],Pe);var Ci=Object[_0x34f845(0x157)],Ei=(_0x533410,_0x2c6bd4,_0x3b5dec,_0x390862)=>{for(var _0x57e615=_0x390862>0x1?void 0x0:_0x390862?Ci(_0x2c6bd4,_0x3b5dec):_0x2c6bd4,_0xa27198=_0x533410['length']-0x1,_0x296cb0;_0xa27198>=0x0;_0xa27198--)(_0x296cb0=_0x533410[_0xa27198])&&(_0x57e615=_0x296cb0(_0x57e615)||_0x57e615);return _0x57e615;},me=(_0x4e4cd6,_0x3f0170)=>(_0x541f7d,_0x2fbeb9)=>_0x3f0170(_0x541f7d,_0x2fbeb9,_0x4e4cd6);let H=class extends _0x1efc6a{constructor(_0x3af99c,_0xa6dc2e,_0x111a2d){const _0x3e9a30=_0x34f845;super(),_(this,_0x3e9a30(0x330),new Map()),_(this,'_entityInit$',new _0x2a0d4d()),(this['_univerInstanceService']=_0x3af99c,this[_0x3e9a30(0x17e)]=_0xa6dc2e,this[_0x3e9a30(0x152)]=_0x111a2d,this[_0x3e9a30(0x229)]());}[_0x34f845(0x2d6)](){const _0x1a4c07=_0x34f845;super[_0x1a4c07(0x2d6)](),this[_0x1a4c07(0x16f)][_0x1a4c07(0x235)](),this[_0x1a4c07(0x330)][_0x1a4c07(0x18e)](_0x5091a9=>_0x5091a9[_0x1a4c07(0x2d6)]());}[_0x34f845(0x16c)](_0x4a9b7d){const _0x4c719c=_0x34f845;return this[_0x4c719c(0x330)]['has'](_0x4a9b7d)?this[_0x4c719c(0x330)][_0x4c719c(0x156)](_0x4a9b7d)[_0x4c719c(0x1d5)]:this[_0x4c719c(0x16f)][_0x4c719c(0x268)](_0x4bf4be(_0x488168=>_0x488168[_0x4c719c(0x134)]===_0x4a9b7d),_0x236b44(_0x363e29=>_0x363e29['cursorInfo$']));}[_0x34f845(0x229)](){const _0x369347=_0x34f845;this[_0x369347(0x243)][_0x369347(0x2a6)](_0xffe01d['UNIVER_SHEET'])[_0x369347(0x268)](_0x21de1f(this[_0x369347(0x305)]))['subscribe'](async _0xa3ed25=>{const _0x9336f8=_0x369347,_0x44120c=_0xa3ed25[_0x9336f8(0x18d)](),_0x55ea4b=await this[_0x9336f8(0x172)](_0x44120c);this[_0x9336f8(0x16f)]['next'](_0x55ea4b),this[_0x9336f8(0x330)][_0x9336f8(0x18f)](_0x44120c,_0x55ea4b);}),this['_univerInstanceService'][_0x369347(0x2a6)](_0xffe01d[_0x369347(0x2bd)])[_0x369347(0x268)](_0x21de1f(this[_0x369347(0x305)]))[_0x369347(0x268)](_0x4bf4be(_0xb83d1=>!_0xb83d1[_0x369347(0x18d)]()[_0x369347(0x154)]('__')))[_0x369347(0x1a2)](async _0x3579a9=>{const _0x4974a4=_0x369347,_0x321786=_0x3579a9[_0x4974a4(0x18d)](),_0x496dff=await this[_0x4974a4(0x1d1)](_0x321786);this['_entityInit$'][_0x4974a4(0x329)](_0x496dff),this[_0x4974a4(0x330)][_0x4974a4(0x18f)](_0x321786,_0x496dff);}),_0x2fa36c(this[_0x369347(0x243)][_0x369347(0x29c)](_0xffe01d[_0x369347(0x2bd)]),this[_0x369347(0x243)][_0x369347(0x29c)](_0xffe01d[_0x369347(0x2f4)]))[_0x369347(0x268)](_0x21de1f(this['dispose$']))[_0x369347(0x1a2)](_0xa4c11b=>{const _0x194555=_0x369347,_0x1b6325=_0xa4c11b['getUnitId'](),_0x4568ac=this[_0x194555(0x330)]['get'](_0x1b6325);_0x4568ac&&(_0x4568ac[_0x194555(0x2d6)](),this['_entities'][_0x194555(0x1fe)](_0x1b6325));});}async[_0x34f845(0x172)](_0x3d860e){const _0x148c98=_0x34f845,_0x4e4d23=await this[_0x148c98(0x152)]['requireSession'](_0x3d860e),_0x47187f=this[_0x148c98(0x17e)]['createInstance'](Pe,_0x3d860e,_0x4e4d23);return _0x47187f[_0x148c98(0x1a6)](),_0x47187f;}async[_0x34f845(0x1d1)](_0x3e4267){const _0x243fed=_0x34f845,_0x9e6ef5=await this[_0x243fed(0x152)][_0x243fed(0x205)](_0x3e4267),_0x49dc99=this[_0x243fed(0x17e)][_0x243fed(0x26d)](Me,_0x3e4267,_0x9e6ef5);return _0x49dc99[_0x243fed(0x1a6)](),_0x49dc99;}};H=Ei([me(0x0,_0x63e8d),me(0x1,_0x22b534(_0x2e952e)),me(0x2,_0x22b534(_0x1e769d))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x57f832,_0x325b5c){const _0x49a1b5=_0x34f845;let {radius:_0x5bf22c,width:_0x1124b8,height:_0x361df4}=_0x325b5c;_0x5bf22c=_0x5bf22c!=null?_0x5bf22c:0x0,_0x1124b8=_0x1124b8!=null?_0x1124b8:0x1e,_0x361df4=_0x361df4!=null?_0x361df4:0x1e;let _0x3b33fa=0x0,_0x570263=0x0,_0x1b7490=0x0;_0x3b33fa=_0x570263=_0x1b7490=Math[_0x49a1b5(0x270)](_0x5bf22c,_0x1124b8/0x2,_0x361df4/0x2),_0x57f832[_0x49a1b5(0x148)](),_0x57f832['moveTo'](_0x3b33fa,0x0),_0x57f832[_0x49a1b5(0x1c8)](_0x1124b8-_0x570263,0x0),_0x57f832[_0x49a1b5(0x307)](_0x1124b8-_0x570263,_0x570263,_0x570263,Math['PI']*0x3/0x2,0x0,!0x1),_0x57f832[_0x49a1b5(0x1c8)](_0x1124b8,_0x361df4-_0x1b7490),_0x57f832['arc'](_0x1124b8-_0x1b7490,_0x361df4-_0x1b7490,_0x1b7490,0x0,Math['PI']/0x2,!0x1),_0x57f832['lineTo'](0x0,_0x361df4),_0x57f832[_0x49a1b5(0x1c8)](0x0,_0x3b33fa),_0x57f832[_0x49a1b5(0x307)](_0x3b33fa,_0x3b33fa,_0x3b33fa,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x57f832[_0x49a1b5(0x285)](),_0x325b5c[_0x49a1b5(0x189)]&&(_0x57f832[_0x49a1b5(0x158)](),_0x57f832[_0x49a1b5(0x2b4)]=_0x325b5c[_0x49a1b5(0x189)],_0x325b5c[_0x49a1b5(0x29f)]===_0x49a1b5(0x2ca)?_0x57f832[_0x49a1b5(0x189)](_0x49a1b5(0x2ca)):_0x57f832[_0x49a1b5(0x189)](),_0x57f832[_0x49a1b5(0x2a2)]());}class ue extends _0xa1e779{constructor(_0x15d576,_0x53e402){const _0x246183=_0x34f845;super(_0x15d576,_0x53e402),_(this,_0x246183(0x24a)),_(this,_0x246183(0x301)),(this[_0x246183(0x24a)]=_0x53e402==null?void 0x0:_0x53e402['color'],this[_0x246183(0x301)]=_0x53e402==null?void 0x0:_0x53e402['text']);}static['drawWith'](_0x426f2a,_0x1fba65){const _0xb87f2a=_0x34f845,{text:_0x384996,color:_0x3dd41d}=_0x1fba65;_0x426f2a['save'](),_0x426f2a[_0xb87f2a(0x24e)]=_0xb87f2a(0x296);const _0x3378ec=_0x426f2a[_0xb87f2a(0x232)](_0x384996)[_0xb87f2a(0x23b)],_0x1b2b93=Math[_0xb87f2a(0x270)](_0x3378ec+0x2*ge,et);Oi(_0x426f2a,{'height':te,'radius':0x4,'width':_0x1b2b93,'fill':_0x3dd41d}),_0x426f2a[_0xb87f2a(0x2b4)]=_0xb87f2a(0x1e2);const _0x5dd4e7=ge,_0x245679=te-bi,_0x4b032f=et-0x2*ge;if(_0x3378ec>_0x4b032f){let _0x6eaeed='',_0x216eed=0x0;for(const _0x217b08 of _0x384996){const _0x3b041b=_0x426f2a['measureText'](_0x217b08)['width'];if(_0x216eed+_0x3b041b<=_0x4b032f-_0x426f2a[_0xb87f2a(0x232)](_0xb87f2a(0x1b5))[_0xb87f2a(0x23b)])_0x6eaeed+=_0x217b08,_0x216eed+=_0x3b041b;else{_0x6eaeed+='...';break;}}_0x426f2a[_0xb87f2a(0x21b)](_0x6eaeed,_0x5dd4e7,_0x245679);}else _0x426f2a[_0xb87f2a(0x21b)](_0x384996,_0x5dd4e7,_0x245679);_0x426f2a[_0xb87f2a(0x2a2)]();}[_0x34f845(0x275)](_0x2bd504){const _0x162177=_0x34f845;ue[_0x162177(0x201)](_0x2bd504,this);}}const ve=_0x34f845(0x207),Ti='collab-text-range-',Ri=_0x34f845(0x266),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui='rgba(255,\x20255,\x20255,\x200.01)';class tt{constructor(_0x347c6f,_0x550f24,_0x156f86,_0x5536d1){const _0x41d81d=_0x34f845;_(this,_0x41d81d(0x32a),[]),_(this,_0x41d81d(0x27d),null),_(this,_0x41d81d(0x312),null),_(this,_0x41d81d(0x225),null),_(this,'_hideTimer',null),_(this,_0x41d81d(0x1b2),null),(this[_0x41d81d(0x14a)]=_0x347c6f,this[_0x41d81d(0x181)]=_0x550f24,this[_0x41d81d(0x2d9)]=_0x156f86,this['_document']=_0x5536d1,this[_0x41d81d(0x2a5)]());}set[_0x34f845(0x240)](_0x1e4e49){const _0x26414a=_0x34f845;_0x1e4e49?(this[_0x26414a(0x225)]&&this[_0x26414a(0x225)]['hide'](),this['_textBubble']&&this[_0x26414a(0x312)][_0x26414a(0x2d3)]()):(this[_0x26414a(0x225)]&&this[_0x26414a(0x225)][_0x26414a(0x2d3)](),this[_0x26414a(0x312)]&&this[_0x26414a(0x312)]['hide']());}['dispose'](){const _0x457c96=_0x34f845;for(const _0x223960 of this[_0x457c96(0x32a)])_0x223960[_0x457c96(0x2d6)]();this[_0x457c96(0x312)]&&this[_0x457c96(0x312)][_0x457c96(0x2d6)](),this[_0x457c96(0x225)]&&this[_0x457c96(0x225)][_0x457c96(0x2d6)](),this[_0x457c96(0x27d)]&&this[_0x457c96(0x27d)][_0x457c96(0x2d6)](),this['_eventUnsubscribe']&&this[_0x457c96(0x1b2)]();}['_render'](){const _0x92b8c4=_0x34f845;var _0x1b59d4;const {_docSkeleton:_0x25dc59,_document:_0x571baa}=this,{color:_0x2498d3,name:_0x58ea7d,ranges:_0x8b37af}=this[_0x92b8c4(0x14a)],_0x53e286=_0x571baa[_0x92b8c4(0x146)](),{docsLeft:_0x4d628f,docsTop:_0x56cdbc}=_0x53e286,_0x41deb7=new _0x30d8b4(_0x53e286,_0x25dc59);for(const {startOffset:_0x3e9ffa,endOffset:_0x1286ef,rangeType:_0x3cc9ba,segmentId:_0x49837a,segmentPage:_0x4c8e1e,collapsed:_0x1f21d,isActive:_0x26438a}of _0x8b37af){const _0x28811d=_0x25dc59[_0x92b8c4(0x2cf)](_0x3e9ffa,!0x0,_0x49837a,_0x4c8e1e);let _0x41d997=_0x25dc59['findNodePositionByCharIndex'](_0x1286ef,!0x0,_0x49837a,_0x4c8e1e);if(_0x41d997==null&&(_0x41d997=_0x25dc59['findNodePositionByCharIndex'](_0x1286ef-0x1,!0x1,_0x49837a,_0x4c8e1e)),_0x26438a){const {contentBoxPointGroup:_0x278036}=_0x41deb7['getRangePointData'](_0x41d997,_0x41d997);if(_0x278036[_0x92b8c4(0x216)]===0x0)continue;this['_drawAnchor'](_0x2498d3,_0x278036,_0x4d628f,_0x56cdbc,_0x58ea7d),this[_0x92b8c4(0x1b2)]=this[_0x92b8c4(0x24b)]();}if(_0x28811d&&_0x41d997){if(_0x3cc9ba===_0x5bf3af[_0x92b8c4(0x21c)]){const _0x5bbd53=new _0x2b6f21(_0x53e286,_0x25dc59),{pointGroup:_0x2a6b79}=(_0x1b59d4=_0x5bbd53['getRangePointData'](_0x28811d,_0x41d997))!=null?_0x1b59d4:{};if(_0x2a6b79==null||_0x2a6b79[_0x92b8c4(0x216)]===0x0)continue;this[_0x92b8c4(0x324)](_0x2498d3,_0x2a6b79,_0x4d628f,_0x56cdbc);}else{if(!_0x1f21d){const {borderBoxPointGroup:_0x4191bb}=_0x41deb7[_0x92b8c4(0x300)](_0x28811d,_0x41d997);if(_0x4191bb[_0x92b8c4(0x216)]===0x0)continue;this['_drawTextRange'](_0x2498d3,_0x4191bb,_0x4d628f,_0x56cdbc);}}}}}[_0x34f845(0x226)](_0x1fa306,_0x4a7983,_0x3d4b9e,_0x17a515,_0x34773d){const _0x2a17d4=_0x34f845,_0x3a750d=this[_0x2a17d4(0x16d)](_0x4a7983),{left:_0x3a39df,top:_0x57e5c8,height:_0x26a524}=_0x3a750d,_0x3025f0=this[_0x2a17d4(0x1d4)](),_0x2870f7=Ni/_0x3025f0,_0x299e62=new _0x4ac9d7(ve+_0x3ecff1['generateRandomId'](X),{'left':_0x3a39df+_0x3d4b9e-_0x2870f7,'top':_0x57e5c8+_0x17a515,'height':_0x26a524,'width':Di,'fill':_0x1fa306||_0x459d52(_0x299c11['black'],0x0),'strokeWidth':_0x2870f7,'stroke':Ui,'evented':!0x0});this[_0x2a17d4(0x27d)]=_0x299e62,this['_scene'][_0x2a17d4(0x1de)](_0x299e62,_0x18859e);const _0x157dee=new _0x4ac9d7(ve+_0x3ecff1['generateRandomId'](X),{'left':_0x3a39df+_0x3d4b9e-_0x2870f7,'top':_0x57e5c8+_0x17a515-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x1fa306||_0x459d52(_0x299c11[_0x2a17d4(0x288)],0x0),'strokeWidth':0x0,'stroke':_0x1fa306||_0x459d52(_0x299c11['black'],0x0),'evented':!0x1});this[_0x2a17d4(0x225)]=_0x157dee,this[_0x2a17d4(0x181)][_0x2a17d4(0x1de)](_0x157dee,_0x18859e);const _0x1e5731=new ue(ve+_0x3ecff1[_0x2a17d4(0x1c7)](X),{'left':_0x3a39df+_0x3d4b9e-_0x2870f7,'top':_0x57e5c8+_0x17a515-te,'text':_0x34773d,'color':_0x1fa306});this['_textBubble']=_0x1e5731,this['_scene'][_0x2a17d4(0x1de)](_0x1e5731,_0x18859e),this[_0x2a17d4(0x240)]=!0x1;}[_0x34f845(0x24b)](){const _0x1e9110=_0x34f845,_0x39855a=this[_0x1e9110(0x27d)][_0x1e9110(0x151)][_0x1e9110(0x1ff)](()=>{const _0x7ce99e=_0x1e9110;this[_0x7ce99e(0x240)]=!0x0;}),_0x5b51a9=this['_anchor'][_0x1e9110(0x1c9)][_0x1e9110(0x1ff)](()=>{const _0x1345be=_0x1e9110;this[_0x1345be(0x20e)]&&clearTimeout(this[_0x1345be(0x20e)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1581b3=_0x1e9110;_0x39855a[_0x1581b3(0x311)](),_0x5b51a9[_0x1581b3(0x311)]();};}[_0x34f845(0x15b)](_0x4f61c8,_0x29d192,_0x3ab617,_0x140165){const _0x4a289f=_0x34f845,_0x3ebe91=new _0x42c429(_0x4f61c8)[_0x4a289f(0x1ea)](0.2)['toRgbString'](),_0x51f2c3=new _0x1fdc25(Ti+_0x3ecff1[_0x4a289f(0x1c7)](X),{'pointsGroup':_0x29d192,'fill':_0x3ebe91||_0x459d52(_0x299c11['black'],0.2),'left':_0x3ab617,'top':_0x140165,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a289f(0x32a)][_0x4a289f(0x14e)](_0x51f2c3),this[_0x4a289f(0x181)][_0x4a289f(0x1de)](_0x51f2c3,_0x18859e);}[_0x34f845(0x324)](_0x360381,_0x83635c,_0x1ef9d6,_0x537f3c){const _0x4a5b3c=_0x34f845,_0x251b24=new _0x42c429(_0x360381)[_0x4a5b3c(0x1ea)](0.2)[_0x4a5b3c(0x17b)](),_0x1daed6=new _0x1fdc25(Ri+_0x3ecff1[_0x4a5b3c(0x1c7)](X),{'pointsGroup':_0x83635c,'fill':_0x251b24||_0x459d52(_0x299c11['black'],0.2),'left':_0x1ef9d6,'top':_0x537f3c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a5b3c(0x32a)][_0x4a5b3c(0x14e)](_0x1daed6),this[_0x4a5b3c(0x181)][_0x4a5b3c(0x1de)](_0x1daed6,_0x18859e);}[_0x34f845(0x16d)](_0x454dc0){const _0x4e7651=_0x454dc0[0x0],_0x47763b=_0x4e7651[0x0],_0x3a4ac4=_0x4e7651[0x2],{x:_0x2a0f0d,y:_0x59ea63}=_0x47763b,{x:_0x4dee66,y:_0x22893a}=_0x3a4ac4;return{'left':_0x2a0f0d,'top':_0x59ea63,'width':_0x4dee66-_0x2a0f0d,'height':_0x22893a-_0x59ea63};}[_0x34f845(0x1d4)](){const _0x4fb90a=_0x34f845,{scaleX:_0x313b31,scaleY:_0x46be4f}=this[_0x4fb90a(0x181)]['getAncestorScale']();return Math[_0x4fb90a(0x28a)](_0x313b31,_0x46be4f);}}var Mi=Object[_0x34f845(0x157)],Pi=(_0x2896dc,_0x43b0c5,_0x166743,_0x232709)=>{const _0x1b9278=_0x34f845;for(var _0x2c3e01=_0x232709>0x1?void 0x0:_0x232709?Mi(_0x43b0c5,_0x166743):_0x43b0c5,_0x1cbc13=_0x2896dc[_0x1b9278(0x216)]-0x1,_0x477da5;_0x1cbc13>=0x0;_0x1cbc13--)(_0x477da5=_0x2896dc[_0x1cbc13])&&(_0x2c3e01=_0x477da5(_0x2c3e01)||_0x2c3e01);return _0x2c3e01;},Q=(_0x281877,_0x429640)=>(_0x3c9759,_0x5e85d4)=>_0x429640(_0x3c9759,_0x5e85d4,_0x281877);let we=class extends _0x1efc6a{constructor(_0x5cfbeb,_0x5dd957,_0x2e5b9f,_0xb12fc7,_0x1299f2){const _0x2d001c=_0x34f845;super(),_(this,_0x2d001c(0x28e),[]),_(this,'_cursors',[]),(this[_0x2d001c(0x1df)]=_0x5cfbeb,this[_0x2d001c(0x2bc)]=_0x5dd957,this[_0x2d001c(0x170)]=_0x2e5b9f,this[_0x2d001c(0x250)]=_0xb12fc7,this[_0x2d001c(0x1a8)]=_0x1299f2,this[_0x2d001c(0x229)]());}[_0x34f845(0x229)](){const _0x4b1f73=_0x34f845,_0x5115f2=this[_0x4b1f73(0x1df)][_0x4b1f73(0x28f)],_0x40178f=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x2523e8([this[_0x4b1f73(0x170)][_0x4b1f73(0x16c)](_0x5115f2),this[_0x4b1f73(0x1a8)]['currentTheme$']])['pipe'](_0x1f2c0c(([_0x2084d6,_0xe19d8e])=>({'skeleton':_0x40178f[_0x4b1f73(0x188)](),'cursors':[..._0x2084d6['values']()]['flatMap'](_0x3c312c=>({..._0x3c312c,'color':_0xe19d8e[_0x3c312c[_0x4b1f73(0x24a)]]}))})))[_0x4b1f73(0x1a2)](_0x513696=>{const _0x4f56e3=_0x4b1f73;if(this[_0x4f56e3(0x30b)](),_0x513696){const {skeleton:_0x366cb4,cursors:_0x22a36f}=_0x513696;this[_0x4f56e3(0x1e1)](_0x366cb4,_0x22a36f);}})),this[_0x4b1f73(0x1dc)](),this[_0x4b1f73(0x261)]();}[_0x34f845(0x1e1)](_0x249e16,_0x4e7106){const _0x2671ee=_0x34f845,{scene:_0x5bb334,mainComponent:_0x12b5fa}=this[_0x2671ee(0x1df)],_0x4fe80b=_0x4e7106['map'](_0x4d54ba=>new tt(_0x4d54ba,_0x5bb334,_0x249e16,_0x12b5fa));this[_0x2671ee(0x28e)]=_0x4fe80b,this['_cursors']=_0x4e7106;}[_0x34f845(0x27e)](){const _0x486cba=_0x34f845;this['_removeCollabCursors']();const {scene:_0x472f47,mainComponent:_0x4279da}=this[_0x486cba(0x1df)],_0x3f9b42=this[_0x486cba(0x2bc)][_0x486cba(0x188)](),_0x123e60=this[_0x486cba(0x1bc)]['map'](_0x16dc4e=>new tt(_0x16dc4e,_0x472f47,_0x3f9b42,_0x4279da));this[_0x486cba(0x28e)]=_0x123e60;}[_0x34f845(0x30b)](){const _0x5c224b=_0x34f845;this['_cursorShapes']['forEach'](_0x503c5b=>_0x503c5b[_0x5c224b(0x2d6)]()),this[_0x5c224b(0x28e)]=[];}[_0x34f845(0x261)](){const _0x2d3546=[_0x2769bf['id']];this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0xff8c1d=>{const _0x2080ba=_0x3b81;_0x2d3546[_0x2080ba(0x1f3)](_0xff8c1d['id'])&&_0xff8c1d[_0x2080ba(0x13e)][_0x2080ba(0x28f)]===this[_0x2080ba(0x1df)][_0x2080ba(0x28f)]&&this[_0x2080ba(0x27e)]();}));}[_0x34f845(0x1dc)](){const _0x2a86c0=_0x34f845;this['disposeWithMe'](_0x17b811(this['_context'][_0x2a86c0(0x192)][_0x2a86c0(0x1c6)])[_0x2a86c0(0x268)](_0x580a8f(_0x5cc7dc=>_0x5cc7dc[_0x2a86c0(0x15a)]===_0x3b8a08[_0x2a86c0(0x32f)]),_0x3b65c2(0x10))[_0x2a86c0(0x1a2)](()=>{this['_refreshCollabCursors']();}));}};we=Pi([Q(0x1,_0x22b534(_0x5b999a)),Q(0x2,_0x22b534(H)),Q(0x3,_0x5c5ad0),Q(0x4,_0x22b534(_0x4e23fb))],we);const wi=0x1,Li=1.5;function _0x3b81(_0x8ebfb2,_0xbdaa1a){const _0x186bfc=_0x186b();return _0x3b81=function(_0x3b81af,_0x35126d){_0x3b81af=_0x3b81af-0x12c;let _0x2e8b24=_0x186bfc[_0x3b81af];return _0x2e8b24;},_0x3b81(_0x8ebfb2,_0xbdaa1a);}class Ai extends _0xa1e779{constructor(_0x415ded,_0x5930b4){const _0x4f8fe5=_0x34f845;super(_0x415ded,_0x5930b4),_(this,_0x4f8fe5(0x24c)),_(this,_0x4f8fe5(0x1ab),!0x1),_(this,'_range'),_(this,_0x4f8fe5(0x147),''),_(this,_0x4f8fe5(0x309),_0x4f8fe5(0x1cc)),_(this,'_backgroundColor'),(_0x5930b4&&this[_0x4f8fe5(0x23c)](_0x5930b4),this[_0x4f8fe5(0x151)][_0x4f8fe5(0x1ff)](()=>this[_0x4f8fe5(0x23c)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4f8fe5(0x1ff)](()=>this[_0x4f8fe5(0x23c)]({'hovered':!0x1})));}[_0x34f845(0x23c)](_0xc79ba1){const _0x2623bd=_0x34f845;var _0x308406,_0x6b6733,_0x19e8e8,_0xf77175,_0x5aeb45,_0x459c16;this[_0x2623bd(0x24c)]=(_0x308406=_0xc79ba1[_0x2623bd(0x24a)])!=null?_0x308406:this['_color'],this[_0x2623bd(0x1ab)]=(_0x6b6733=_0xc79ba1['hovered'])!=null?_0x6b6733:this[_0x2623bd(0x1ab)],this[_0x2623bd(0x2b0)]=(_0x19e8e8=_0xc79ba1['range'])!=null?_0x19e8e8:this[_0x2623bd(0x2b0)],this[_0x2623bd(0x147)]=(_0xf77175=_0xc79ba1[_0x2623bd(0x15c)])!=null?_0xf77175:this['_name'],this[_0x2623bd(0x309)]=(_0x5aeb45=_0xc79ba1[_0x2623bd(0x20c)])!=null?_0x5aeb45:this[_0x2623bd(0x309)],this[_0x2623bd(0x2c5)]=(_0x459c16=_0xc79ba1[_0x2623bd(0x1dd)])!=null?_0x459c16:this[_0x2623bd(0x2c5)],this[_0x2623bd(0x245)]({'width':_0xc79ba1['width'],'height':_0xc79ba1[_0x2623bd(0x194)]});}['onMouseMove'](_0x57e831){const _0x5a309d=_0x34f845,{row:_0x111b43,column:_0x8b7d88}=_0x57e831;if(_0x111b43>=this['_range'][_0x5a309d(0x23a)]&&_0x111b43<=this[_0x5a309d(0x2b0)]['endRow']&&_0x8b7d88>=this[_0x5a309d(0x2b0)][_0x5a309d(0x2dd)]&&_0x8b7d88<=this[_0x5a309d(0x2b0)][_0x5a309d(0x30e)]){this[_0x5a309d(0x23c)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x34f845(0x289)](_0x1caf1c){return!0x1;}[_0x34f845(0x275)](_0x45156f){const _0x5a2ee0=_0x34f845;_0x4ac9d7['drawWith'](_0x45156f,{'width':this['width'],'height':this[_0x5a2ee0(0x194)],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5a2ee0(0x2c5)]}),this['_hovered']&&(_0x45156f['save'](),_0x45156f[_0x5a2ee0(0x17a)](0x1,0x0,0x0,0x1,this[_0x5a2ee0(0x23b)],this['_labelPosition']==='bottom'?0x0:-0x14),ue[_0x5a2ee0(0x201)](_0x45156f,{'text':this[_0x5a2ee0(0x147)],'color':this[_0x5a2ee0(0x24c)]}),_0x45156f[_0x5a2ee0(0x2a2)]());}}var yi=Object[_0x34f845(0x157)],$i=(_0x1a25fb,_0x50fc03,_0x288b70,_0x151c26)=>{const _0x13003c=_0x34f845;for(var _0x59d961=_0x151c26>0x1?void 0x0:_0x151c26?yi(_0x50fc03,_0x288b70):_0x50fc03,_0x161254=_0x1a25fb[_0x13003c(0x216)]-0x1,_0x223df2;_0x161254>=0x0;_0x161254--)(_0x223df2=_0x1a25fb[_0x161254])&&(_0x59d961=_0x223df2(_0x59d961)||_0x59d961);return _0x59d961;},pe=(_0xe2e4ae,_0x385f5a)=>(_0x4edae0,_0x2bcc40)=>_0x385f5a(_0x4edae0,_0x2bcc40,_0xe2e4ae);const xi=0x1389;let Le=class extends _0x1efc6a{constructor(_0x4bf727,_0xaa60fd,_0x5de8cd,_0x115901){const _0x1df41c=_0x34f845;super(),_(this,'_cursors',new Set()),_(this,_0x1df41c(0x29a),null),(this[_0x1df41c(0x1df)]=_0x4bf727,this[_0x1df41c(0x273)]=_0xaa60fd,this[_0x1df41c(0x170)]=_0x5de8cd,this[_0x1df41c(0x1a8)]=_0x115901,this[_0x1df41c(0x229)]());}[_0x34f845(0x229)](){const _0x285a45=_0x34f845;this[_0x285a45(0x273)][_0x285a45(0x1ed)]['pipe'](_0xe97907(this[_0x285a45(0x305)]),_0x17a4e1(_0x14ba80=>{const _0x4b821b=_0x285a45;if(_0x14ba80){const _0x10e3e9=_0x14ba80[_0x4b821b(0x2a1)];return _0x2523e8(this[_0x4b821b(0x170)][_0x4b821b(0x16c)](this[_0x4b821b(0x1df)]['unitId']),this['_themeService'][_0x4b821b(0x1ae)])[_0x4b821b(0x268)](_0x1f2c0c(([_0x237b6d,_0x4121a1])=>{const _0x13561a=new Map();return _0x237b6d['forEach']((_0x5e41e6,_0x3f4928)=>{const _0x5aa61a=_0x3b81;if(_0x5e41e6['sheetID']===_0x10e3e9){const _0x33b15c={..._0x5e41e6};_0x33b15c['color']=_0x4121a1[_0x5e41e6[_0x5aa61a(0x24a)]],_0x13561a[_0x5aa61a(0x18f)](_0x3f4928,_0x33b15c);}}),{'skeleton':_0x14ba80,'cursors':_0x13561a};}));}return _0x2b32e7({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3800ec,cursors:_0x38b2cc})=>{const _0x3e0e70=_0x285a45;this['_removeCollabCursors'](),_0x3800ec&&this[_0x3e0e70(0x1e1)](_0x3800ec,_0x38b2cc);}),this[_0x285a45(0x273)]['currentSkeleton$']['subscribe'](_0x305619=>{const _0x41b889=_0x285a45;if(_0x305619==null)return;const {skeleton:_0x3b3423}=_0x305619,{scene:_0x5186f0}=this[_0x41b889(0x1df)];_0x5186f0[_0x41b889(0x136)][_0x41b889(0x1ff)](_0x154049(_0x865377=>{const _0x50aee3=_0x41b889;var _0x21d5d7,_0x1e8d6d;const {offsetX:_0x23252e,offsetY:_0xb13b14}=_0x865377,{x:_0x4422e2,y:_0x1ce000}=_0x5186f0[_0x50aee3(0x227)](_0x4b20bc[_0x50aee3(0x2c6)]([_0x23252e,_0xb13b14])),{scaleX:_0x405615,scaleY:_0x936d32}=_0x5186f0[_0x50aee3(0x2b5)](),_0x2692d3=_0x5186f0[_0x50aee3(0x280)](_0x11a54e[_0x50aee3(0x1c0)]),_0x4225e2=_0x5186f0['getVpScrollXYInfoByPosToVp'](_0x4b20bc[_0x50aee3(0x2c6)]([_0x4422e2,_0x1ce000]),_0x2692d3),_0x4a781=_0x3b3423[_0x50aee3(0x2f6)](_0x23252e,_0xb13b14,_0x405615,_0x936d32,_0x4225e2);((_0x21d5d7=this[_0x50aee3(0x29a)])==null?void 0x0:_0x21d5d7[_0x50aee3(0x22a)])===_0x4a781[_0x50aee3(0x22a)]&&((_0x1e8d6d=this[_0x50aee3(0x29a)])==null?void 0x0:_0x1e8d6d[_0x50aee3(0x2fe)])===_0x4a781[_0x50aee3(0x2fe)]||this[_0x50aee3(0x1bc)][_0x50aee3(0x18e)](_0x4d4814=>{const _0x1de725=_0x50aee3;_0x4d4814[_0x1de725(0x203)](_0x4a781);});},0x64));});}[_0x34f845(0x1e1)](_0x24ed33,_0x1d8d8e){const _0x206a90=_0x34f845;var _0x57c8db;const _0xbf5ff5=(_0x57c8db=this[_0x206a90(0x273)][_0x206a90(0x1b6)]())==null?void 0x0:_0x57c8db[_0x206a90(0x246)];if(!_0xbf5ff5)return;const _0x12e581=this[_0x206a90(0x169)]();if(!_0x12e581)return;this['_cursors'][_0x206a90(0x18e)](_0x143f72=>{const _0x24d1bc=_0x206a90;_0x143f72[_0x24d1bc(0x277)]();});const {scene:_0x1dd1df}=_0x12e581,_0x1983c2=Bi(Array[_0x206a90(0x19c)](_0x1d8d8e['values']()))[_0x206a90(0x333)](_0x55dad2=>{const _0x5169db=_0x206a90,{color:_0x2b4413,range:_0x2780b3,name:_0x22792d,selection:_0x17ad9b,sheetID:_0x2d81f5}=_0x55dad2,{startColumn:_0x46e8fe,startRow:_0x3e0613,endColumn:_0x48d9ee,endRow:_0x25834b}=_0x2780b3,_0x3c83a8=_0x147816(_0x3e0613,_0x46e8fe,_0x1dd1df,_0xbf5ff5),_0x16a1a3=_0x147816(_0x25834b,_0x48d9ee,_0x1dd1df,_0xbf5ff5),{columnHeaderHeightAndMarginTop:_0x5d992d}=_0xbf5ff5,{startX:_0x343fd6,startY:_0x3c05b0}=_0x3c83a8,{endX:_0x566080,endY:_0x4c9b36}=_0x16a1a3,_0x5a21cd=_0x566080-_0x343fd6,_0xe8854a=_0x4c9b36-_0x3c05b0,_0x300c25={'labelPosition':_0x3c05b0-_0x5d992d>=te?_0x5169db(0x1cc):_0x5169db(0x211),'sheetID':_0x2d81f5,'range':_0x2780b3,'color':_0x2b4413,'name':_0x22792d,'selection':_0x17ad9b,'left':_0x343fd6,'top':_0x3c05b0,'width':_0x5a21cd,'height':_0xe8854a,'evented':!0x1,'zIndex':xi};return new Ai(_0x22792d,_0x300c25);});_0x1dd1df[_0x206a90(0x2ba)](_0x1983c2,wi),this['_cursors']=new Set(_0x1983c2);}[_0x34f845(0x30b)](){const _0x52d7eb=_0x34f845;var _0x3efcd7;(_0x3efcd7=this['_cursors'])==null||_0x3efcd7[_0x52d7eb(0x18e)](_0x27c400=>_0x27c400[_0x52d7eb(0x2d6)]());}[_0x34f845(0x169)](){const _0x1f5b59=_0x34f845;return _0x5d958f(this['_context'][_0x1f5b59(0x1d3)],this[_0x1f5b59(0x1df)]);}};Le=$i([pe(0x1,_0x22b534(_0x277da8)),pe(0x2,_0x22b534(H)),pe(0x3,_0x22b534(_0x4e23fb))],Le);function Bi(_0x2311f2){const _0x1037e1=_0x34f845,_0x57eed4=new Map();return _0x2311f2['forEach'](_0x57da4a=>{const _0x1162fd=_0x3b81;if(_0x57eed4['has'](_0x57da4a[_0x1162fd(0x23f)])){const _0x11e5d2=_0x57eed4['get'](_0x57da4a['selection']);_0x11e5d2['name']+=',\x20'+_0x57da4a[_0x1162fd(0x15c)];}else _0x57eed4[_0x1162fd(0x18f)](_0x57da4a[_0x1162fd(0x23f)],_0x57da4a);}),Array[_0x1037e1(0x19c)](_0x57eed4['values']());}var I=function(){const _0x51c507=_0x34f845;return I=Object[_0x51c507(0x131)]||function(_0xebc2b3){const _0x3a2bd9=_0x51c507;for(var _0x7cc791,_0x30c5a9=0x1,_0xad02bd=arguments[_0x3a2bd9(0x216)];_0x30c5a9<_0xad02bd;_0x30c5a9++){_0x7cc791=arguments[_0x30c5a9];for(var _0x116612 in _0x7cc791)Object[_0x3a2bd9(0x221)][_0x3a2bd9(0x1a9)]['call'](_0x7cc791,_0x116612)&&(_0xebc2b3[_0x116612]=_0x7cc791[_0x116612]);}return _0xebc2b3;},I[_0x51c507(0x1f6)](this,arguments);},ki=function(_0x28a19a,_0x793fa2){const _0x1c24b7=_0x34f845;var _0xc384ca={};for(var _0x244064 in _0x28a19a)Object[_0x1c24b7(0x221)]['hasOwnProperty'][_0x1c24b7(0x259)](_0x28a19a,_0x244064)&&_0x793fa2[_0x1c24b7(0x1ac)](_0x244064)<0x0&&(_0xc384ca[_0x244064]=_0x28a19a[_0x244064]);if(_0x28a19a!=null&&typeof Object['getOwnPropertySymbols']==_0x1c24b7(0x150)){for(var _0x5e787d=0x0,_0x244064=Object[_0x1c24b7(0x139)](_0x28a19a);_0x5e787d<_0x244064[_0x1c24b7(0x216)];_0x5e787d++)_0x793fa2[_0x1c24b7(0x1ac)](_0x244064[_0x5e787d])<0x0&&Object[_0x1c24b7(0x221)][_0x1c24b7(0x2c4)][_0x1c24b7(0x259)](_0x28a19a,_0x244064[_0x5e787d])&&(_0xc384ca[_0x244064[_0x5e787d]]=_0x28a19a[_0x244064[_0x5e787d]]);}return _0xc384ca;},We=_0x19d95f(function(_0x135a07,_0x35efa1){const _0x2c35a5=_0x34f845;var _0x7c3e75=_0x135a07[_0x2c35a5(0x160)],_0x1a8027=_0x135a07['id'],_0x135157=_0x135a07[_0x2c35a5(0x284)],_0x2c279f=_0x135a07['extend'],_0x182e16=ki(_0x135a07,[_0x2c35a5(0x160),'id',_0x2c35a5(0x284),_0x2c35a5(0x267)]),_0x1d563c='univerjs-icon\x20univerjs-icon-'[_0x2c35a5(0x2b6)](_0x1a8027,'\x20')['concat'](_0x135157||'')[_0x2c35a5(0x2fd)](),_0x59a9e2=_0x50d479('_'[_0x2c35a5(0x2b6)](Wi()));return Nt(_0x7c3e75,''[_0x2c35a5(0x2b6)](_0x1a8027),{'defIds':_0x7c3e75[_0x2c35a5(0x31c)],'idSuffix':_0x59a9e2[_0x2c35a5(0x19f)]},I({'ref':_0x35efa1,'className':_0x1d563c},_0x182e16),_0x2c279f);});function Nt(_0xe1b88d,_0x2dd2a5,_0x1607e5,_0x182124,_0x1022a4){const _0x41516c=_0x34f845;return _0xa7d547(_0xe1b88d['tag'],I(I({'key':_0x2dd2a5},Hi(_0xe1b88d,_0x1607e5,_0x1022a4)),_0x182124),(ji(_0xe1b88d,_0x1607e5)[_0x41516c(0x1d2)]||[])['map'](function(_0x1f4cc5,_0x50f28b){const _0x541fc7=_0x41516c;return Nt(_0x1f4cc5,''[_0x541fc7(0x2b6)](_0x2dd2a5,'-')[_0x541fc7(0x2b6)](_0xe1b88d[_0x541fc7(0x32c)],'-')[_0x541fc7(0x2b6)](_0x50f28b),_0x1607e5,void 0x0,_0x1022a4);}));}function Hi(_0x69901c,_0x118d13,_0x188dc6){const _0x4391b8=_0x34f845;var _0xcc6875=I({},_0x69901c['attrs']);_0x188dc6!=null&&_0x188dc6[_0x4391b8(0x191)]&&_0xcc6875[_0x4391b8(0x189)]==='colorChannel1'&&(_0xcc6875[_0x4391b8(0x189)]=_0x188dc6['colorChannel1']),_0x69901c[_0x4391b8(0x32c)]===_0x4391b8(0x2e2)&&_0xcc6875['id']&&(_0xcc6875['id']=_0xcc6875['id']+_0x118d13[_0x4391b8(0x2e7)]),Object[_0x4391b8(0x2f7)](_0xcc6875)[_0x4391b8(0x18e)](function(_0x10ee4d){const _0x5c88ae=_0x4391b8;var _0x6904bc=_0x10ee4d[0x0],_0x125930=_0x10ee4d[0x1];_0x6904bc===_0x5c88ae(0x2e2)&&typeof _0x125930==_0x5c88ae(0x2c7)&&(_0xcc6875[_0x6904bc]=_0x125930['replace'](/url\(#(.*)\)/,_0x5c88ae(0x13c)[_0x5c88ae(0x2b6)](_0x118d13['idSuffix'],')')));});var _0x4f3f3a=_0x118d13[_0x4391b8(0x31c)];return!_0x4f3f3a||_0x4f3f3a[_0x4391b8(0x216)]===0x0||(_0x69901c[_0x4391b8(0x32c)]===_0x4391b8(0x319)&&_0xcc6875[_0x4391b8(0x2a7)]&&(_0xcc6875[_0x4391b8(0x2a7)]=_0xcc6875['xlink:href']+_0x118d13['idSuffix']),Object['entries'](_0xcc6875)[_0x4391b8(0x18e)](function(_0x16ee47){const _0x198111=_0x4391b8;var _0x86db0e=_0x16ee47[0x0],_0x568a90=_0x16ee47[0x1];typeof _0x568a90==_0x198111(0x2c7)&&(_0xcc6875[_0x86db0e]=_0x568a90['replace'](/url\(#(.*)\)/,_0x198111(0x13c)[_0x198111(0x2b6)](_0x118d13[_0x198111(0x2e7)],')')));})),_0xcc6875;}function ji(_0x400adb,_0x1c7deb){const _0x43e56e=_0x34f845;var _0x2ea128,_0x2f6779=_0x1c7deb[_0x43e56e(0x31c)];return!_0x2f6779||_0x2f6779[_0x43e56e(0x216)]===0x0?_0x400adb:_0x400adb['tag']===_0x43e56e(0x2a9)&&(!((_0x2ea128=_0x400adb[_0x43e56e(0x1d2)])===null||_0x2ea128===void 0x0)&&_0x2ea128[_0x43e56e(0x216)])?I(I({},_0x400adb),{'children':_0x400adb['children'][_0x43e56e(0x333)](function(_0x5ea88c){const _0x590c25=_0x43e56e;return typeof _0x5ea88c[_0x590c25(0x299)]['id']=='string'&&_0x2f6779&&_0x2f6779['indexOf'](_0x5ea88c[_0x590c25(0x299)]['id'])>-0x1?I(I({},_0x5ea88c),{'attrs':I(I({},_0x5ea88c[_0x590c25(0x299)]),{'id':_0x5ea88c['attrs']['id']+_0x1c7deb[_0x590c25(0x2e7)]})}):_0x5ea88c;})}):_0x400adb;}function Wi(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}We[_0x34f845(0x187)]=_0x34f845(0x140);var Fi={'tag':_0x34f845(0x230),'attrs':{'fill':_0x34f845(0x2bf),'viewBox':_0x34f845(0x22d),'width':'1em','height':_0x34f845(0x2f0)},'children':[{'tag':'g','attrs':{'clipPath':_0x34f845(0x1f4)},'children':[{'tag':_0x34f845(0x2ce),'attrs':{'stroke':_0x34f845(0x204),'d':_0x34f845(0x234),'strokeLinecap':'round','strokeLinejoin':_0x34f845(0x1ad),'strokeWidth':1.2}}]},{'tag':_0x34f845(0x2a9),'attrs':{},'children':[{'tag':_0x34f845(0x197),'attrs':{'id':_0x34f845(0x281)},'children':[{'tag':_0x34f845(0x2ce),'attrs':{'fill':'#fff','d':_0x34f845(0x149)}}]}]}],'defIds':[_0x34f845(0x281)]},Ut=_0x19d95f(function(_0x2d45b4,_0x48fc64){const _0x4a4b85=_0x34f845;return _0xa7d547(We,Object[_0x4a4b85(0x131)]({},_0x2d45b4,{'id':_0x4a4b85(0x335),'ref':_0x48fc64,'icon':Fi}));});Ut[_0x34f845(0x187)]=_0x34f845(0x1e4);var Yi={'tag':_0x34f845(0x230),'attrs':{'fill':'none','viewBox':_0x34f845(0x1ef),'width':_0x34f845(0x2f0),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x34f845(0x2ce),'attrs':{'stroke':_0x34f845(0x204),'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':_0x34f845(0x1ad),'strokeLinejoin':_0x34f845(0x1ad),'strokeWidth':1.2}}]},{'tag':_0x34f845(0x2a9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x34f845(0x26b)},'children':[{'tag':'path','attrs':{'fill':_0x34f845(0x209),'d':'M0\x200H16V16H0z','transform':_0x34f845(0x179)}}]}]}],'defIds':[_0x34f845(0x26b)]},Mt=_0x19d95f(function(_0x16b450,_0x3a76e7){const _0x264884=_0x34f845;return _0xa7d547(We,Object['assign']({},_0x16b450,{'id':_0x264884(0x2f2),'ref':_0x3a76e7,'icon':Yi}));});Mt[_0x34f845(0x187)]=_0x34f845(0x185);const Vi='univer-online-status-icon',Xi=_0x34f845(0x262),Gi=_0x34f845(0x254),Ki=_0x34f845(0x208),zi='univer-offline',G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x293656){const _0x288772=_0x34f845;switch(_0x293656){case _0x30f82d[_0x288772(0x2d4)]:return _0x288772(0x30d);case _0x30f82d[_0x288772(0x248)]:return _0x288772(0x21f);case _0x30f82d[_0x288772(0x175)]:return _0x288772(0x168);case _0x30f82d[_0x288772(0x251)]:return _0x288772(0x16e);case _0x30f82d[_0x288772(0x17d)]:case _0x30f82d['AWAITING_WITH_PENDING']:return _0x288772(0x242);case _0x30f82d['SYNCED']:case _0x30f82d[_0x288772(0x190)]:return'collabStatus.synced';}}function Zi(_0x59a790){const _0x1399ed=_0x34f845,{status$:_0x19f836}=_0x59a790,_0x4243f9=_0x315e8c(_0x19f836,_0x30f82d[_0x1399ed(0x251)]),_0x5587a5=_0x3e4559(_0x5a62d0),_0x4c9df9=_0x3e4559(_0x1e769d),_0x10ed8f=_0x4243f9!==_0x30f82d[_0x1399ed(0x2d4)],_0x2a1722=_0x5587a5['t'](Ji(_0x4243f9)),_0x39cad2=_0x38009b(G[_0x1399ed(0x325)],{[G[_0x1399ed(0x2c9)]]:_0x10ed8f,[G['offline']]:!_0x10ed8f}),_0x2e11a1=_0x10ed8f?_0xf948d7(Mt,{}):_0xf948d7(Ut,{}),_0x4ff189=_0xacde19(()=>{const _0xbfca42=_0x1399ed;_0x10ed8f||_0x4c9df9[_0xbfca42(0x2d2)]();},[_0x10ed8f,_0x4c9df9]);function _0x1cf4ab(){const _0x280072=_0x1399ed;return _0x111bf8(_0x280072(0x1a1),{'className':_0x38009b(_0x39cad2,_0x280072(0x22e)),'onClick':_0x4ff189,'children':[_0xf948d7(_0x280072(0x1a1),{'className':G[_0x280072(0x2c1)],'children':_0x2e11a1}),_0xf948d7(_0x280072(0x1a1),{'className':G[_0x280072(0x263)],'children':_0x2a1722})]});}return _0x10ed8f?_0x1cf4ab():_0xf948d7(_0x47ff7e,{'title':_0x5587a5['t'](_0x1399ed(0x132)),'children':_0x1cf4ab()});}var Qi=Object[_0x34f845(0x157)],qi=(_0x278098,_0x260b0d,_0x31968e,_0x56083c)=>{const _0x22c208=_0x34f845;for(var _0x58a285=_0x56083c>0x1?void 0x0:_0x56083c?Qi(_0x260b0d,_0x31968e):_0x260b0d,_0x583428=_0x278098[_0x22c208(0x216)]-0x1,_0x3e8a30;_0x583428>=0x0;_0x583428--)(_0x3e8a30=_0x278098[_0x583428])&&(_0x58a285=_0x3e8a30(_0x58a285)||_0x58a285);return _0x58a285;},q=(_0xef22ed,_0x5c55d8)=>(_0x1d2135,_0x2a01b9)=>_0x5c55d8(_0x1d2135,_0x2a01b9,_0xef22ed);let se=class extends _0x4ac1a9{constructor(_0x58414e,_0x118ce3,_0x28c55b,_0x174a89){const _0x6498cf=_0x34f845;super(),_(this,_0x6498cf(0x199),new _0x172344(_0x30f82d[_0x6498cf(0x251)])),(this['_univerInstanceService']=_0x58414e,this[_0x6498cf(0x17e)]=_0x118ce3,this['_collaborationController']=_0x28c55b,this[_0x6498cf(0x31a)]=_0x174a89,this[_0x6498cf(0x20a)](),this[_0x6498cf(0x212)]());}[_0x34f845(0x212)](){const _0x1d4055=_0x34f845;this['disposeWithMe'](this['_univerInstanceService'][_0x1d4055(0x31f)][_0x1d4055(0x268)](_0x236b44(()=>{const _0x19a4bc=_0x1d4055,_0x27ebcd=this['_univerInstanceService'][_0x19a4bc(0x32e)]();return _0x27ebcd?this['_collaborationController'][_0x19a4bc(0x1fb)](_0x27ebcd['getUnitId']()):_0x2b32e7(null);}),_0x236b44(_0x429d5d=>_0x429d5d?_0x429d5d['status$']:_0x2b32e7(_0x30f82d[_0x1d4055(0x251)])))[_0x1d4055(0x1a2)](_0xc12403=>{const _0x592b6f=_0x1d4055;this[_0x592b6f(0x199)][_0x592b6f(0x329)](_0xc12403);}));}['_initStatusComponent'](){const _0x5724a8=_0x34f845;this[_0x5724a8(0x331)](this['_uiPartsService'][_0x5724a8(0x163)](_0x38ccca[_0x5724a8(0x30f)],()=>_0xa2b28(en({'status$':this['_status$'][_0x5724a8(0x202)]()}),this[_0x5724a8(0x17e)])));}};function _0x186b(){const _0x2dd921=['RECT','session.connection-failed','getSheetId','collabStatus.conflict','_clearOtherTimers','prototype','_session','error','COMPLETION_FINISHED','_anchorDot','_drawAnchor','getRelativeToViewportCoord','getDocRanges','_init','column','red300','_beforeCloseService','0\x200\x2016\x2016','univer-flex\x20univer-items-center','event$','svg','add','measureText','parse','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','complete','all','subunit','imageSourceType','transformIMECache','startRow','width','setShapeProps','CLOSE_ROOM','_handleJoinEvent','selection','_hover','sessionStatus$','collabStatus.syncing','_univerInstanceService','executionId','transformByState','skeleton','_handleLeaveEvent','CONFLICT','APPLY_REVISION_CONFILICT','color','_handleHover','_color','_scheduleHeartbeat','font','post','_commandService','NOT_COLLAB','CONNECTOR_DATA_TOO_LARGE','editingUnit','univer-online-status','activeSheet$','pluginName','_instanceService','EMAIL_HAS_BEEN_BOUND','call','transformStateCache','UPDATE_CURSOR','OTHER_CLIENTS_EDITING','memberID','setStateCache','_imageIoService','getItem','_initCommandExecutedListener','univer-online-status-title','onlineStatusTitle','onCommandExecuted','INVALID_INVITE_CODE','collab-rect-range-','extend','pipe','PY_RUNTIME_SCRIPT_ERROR','APPLY_DUPLICATED','on-line-single_clip0_910_349','redoState','createInstance','_getSessionTicket','_roomMembers$','min','isActive','actions','_sheetSkeletonManagerService','_onCursorDelete','_draw','YUUMI_URL_COL_OUT_OF_RANGE','makeDirty','_transformUndoRedoStack','clearInterval','53476MJXwHb','DeleteRangeMoveUpCommandId','getValue','_anchor','_refreshCollabCursors','getSheetBySheetId','getViewport','off-line-single_clip0_910_343','executeCommand','disableLocalCache','className','closePath','jiqing500','permission.content','black','triggerDblclick','max','9apuGuX','_ensureSubject','_onCursorUpdate','_cursorShapes','unitId','_configService','_setupBeforeClosingHandler','body','InsertRowCommandId','isArray','Unknown\x20user','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_colorIndex','uni.network.url-service','attrs','_lastPointer','_id','getTypeOfUnitDisposed$','with','sessionTicket','fillRule','_unitOnClients','sheetId','restore','debug','_docTransformSelectionsService','_render','getTypeOfUnitAdded$','xlink:href','clearTimeout','defs','_docClipboardService','290oEnGep','_send','_docTransformIMECacheService','_scheduleClearOtherTimer','exhaustSavingTask','_range','permission.title','NOT_FOUND','_removeClearOtherTimer','fillStyle','getAncestorScale','concat','runId','addHandlerCallback','RemoveColCommandId','addObjects','_disabled','_docSkeletonManagerService','UNIVER_DOC','transformSelections','none','_initDependencies','onlineStatusIcon','UNAUTHENTICATED','then','propertyIsEnumerable','_backgroundColor','FromArray','string','getMemberID','online','evenodd','collaboration.closeRoom','INVITE_CODE_ALREADY_BOUND','_httpService','path','findNodePositionByCharIndex','_cachedData','SOCKET_FAILED_RETRY','reconnect','show','OFFLINE','_online','dispose','_colorAssignService','syncEditingCollabCursor','_docSkeleton','_selfUnitIDs','verdancy600','CHANGESET_REVISION_CONFILICT','startColumn','urlChange$','4466888LYcixf','24EBoVzu','saveOfflineData','mask','_getMergeRange','getConfig','runOnServer','setItem','idSuffix','Warning','MUTATION','undoState','_refRangeService','_config','setParam','_dataLoaderService','_registerDependencies','1em','_saveTaskMap','on-line-single','RemoveRowCommandId','UNIVER_SHEET','_collaborationController','getCellPositionByOffset','entries','LICENSE_MAX_UNITS_EXCEEDED','_toggleOffline','onRendered','session.will-retry','storage','trim','row','send','getRangePointData','text','getUnitStatus$','62419Fyfssx','ALREADY_EXISTS','dispose$','registerRenderModule','arc','location','_labelPosition','textRanges','_removeCollabCursors','replaceState','collabStatus.offline','endColumn','HEADER_MENU','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unsubscribe','_textBubble','onLocalMutation','_initEvent','registerRefRange','_memberService','setActiveRange','SNAPSHOT_HAS_BEEN_REMOVED','use','_uiPartsService','override','defIds','_docSyncEditingCollabCursorService','OTHER_CLIENT_EDITING','focused$','MoveRangeCommandId','eventID','getUnhiddenWorksheets','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_drawRectRange','onlineStatus','href','_renderManagerService','roomMembers','next','_shapes','_updateURLWithCurrentState','tag','12818940dZBrIQ','getFocusedUnit','resize','_entities','disposeWithMe','1135WPnjiS','map','saveImage','off-line-single','SNAPSHOT_INVALID_SNAPSHOT','WECHAT_HAS_BEEN_BOUND','_messageService','_transformService','_urlService','assign','collab-client.tooltip.reconnect','roomMembers$','unitID','has','onPointerMove$','_scheduleSaving','_updateSubUnitFromURLParams','getOwnPropertySymbols','updateOfflineData','size','url(#$1','application/json','params','mutations','UniverIcon','getUniverSheetInstance','ONLINE','ticket','_transformPreviousActiveRange','YUUMI_ASYNCIO_CANCELLED','getOffsetConfig','_name','beginPath','M0\x200H16V16H0z','_cursor','transformRemoteChangeset','_createSocketURL','getCurrentUnitForType','push','_initEntityListener','function','onPointerEnter$','_collabSessionService','defineProperty','startsWith','INVITE_CODE_REQUIRED','get','getOwnPropertyDescriptor','save','_assignedColors','type','_drawTextRange','name','wsSessionTicketUrl','doc.mutation.rich-text-editing','origin','icon','YUUMI_UNABLE_LOAD_URL','ENSURE_SNAPSHOT_EXECUTION','registerComponent','cursorInfo','docStateChange$','getUndoRedoMutationParamsCache','/run/','collabStatus.fetchMiss','_getSheetObject','transformMutation','getMember','getCollabCursors$','_getAnchorBounding','collabStatus.notCollab','_entityInit$','_collabCursorController','collaboration.single-unit.warning','_startSheetCollabCursor','MOBILE_HAS_BEEN_BOUND','getParam','FETCH_MISS','_collabCursorState$','_unitStatus','addEventListener','translate(.97)','transform','toRgbString','131791iDJoTw','AWAITING','_injector','_localeService','purple300','_scene','_toggleOnline','split','NO_OTHER_CLIENTS_EDITING','OnLineSingle','replaceDocRanges','displayName','getSkeleton','fill','toString','LICENSE_DISTRO_REJECTED','APPLY_PERMISSION_DENIED','getUnitId','forEach','set','PENDING','colorChannel1','engine','Error','height','getActiveSheet','deepClone','clipPath','key','_status$','SUBMIT_CHANGESET_TIMEOUT','YUUMI_SUBSCRIPTION_NOT_FOUND','from','removeParam','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','current','_heartbeatTimer','div','subscribe','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','_localCacheService','init','pushState','_themeService','hasOwnProperty','getActiveRange','_hovered','indexOf','round','currentTheme$','APPLY_NON_SEQUENTIAL_REVISION','getMergeData','USERS_LEAVE','_eventUnsubscribe','symbol','searchParams','...','getCurrent','UNDEFINED','_collaborationUIEventService','collabCursorState$','USER_NOT_INVITED_CODE','registerBeforeClose','_cursors','getStateCache','704181BinBjD','INVITE_CODE_HAS_BEEN_UES','VIEW_MAIN','INTERNAL_ERROR','_logService','range','_transformHistoryAndStateStack','TOO_MANY_REQUESTS','onTransformChange$','generateRandomId','lineTo','onPointerLeave$','_updateLocalCursor','INVALID_ARGUMENT','top','TEXT','_syncEditingCollabCursorService','data','_registerRenderDependencies','_startDocCollabCursor','children','unit','_getScale','cursorInfo$','InsertColCommandId','stringify','m1Prime','_setupSubUnitSync','_docStateChangeManagerService','result','_initResize','backgroundColor','addObject','_context','_handleHeartbeatEvent','_updateCollabCursors','#FFF','370bFzbld','OffLineSingle','_revisionService','InsertRangeMoveDownCommandId','whenReady','onStarting','addClipboardHook','setAlpha','newValue','_saveCache','currentSkeleton$','saveTaskMap','0\x200\x2017\x2016','gold400','YUUMI_RATE_OVER_LIMIT','30OcUaao','includes','url(#off-line-single_clip0_910_343)','[CollaborationDataLoaderController]','apply','LICENSE_EXPORT_SIZE_EXCEEDED','_cursorInfo$','history','Failed','getCollabEntity$','_onRefRangeChange','transformMutationsWithChangeset','delete','subscribeEvent','collaboration-client.offline-data-not-saved','drawWith','asObservable','onMouseMove','currentColor','requireSession','assignAColorForMemberID','collab-text-anchor-','univer-online','#fff','_initStatusComponent','contains','labelPosition','_getSaveTimeout','_hideTimer','DeleteRangeMoveLeftCommandId','find','bottom','_initStatusListener','_docTransformStateCacheService','m2Prime','unshift','length','ranges','PERMISSION_DENIED','selections','_localStorageService','fillText'];_0x186b=function(){return _0x2dd921;};return _0x186b();}se=qi([q(0x0,_0x63e8d),q(0x1,_0x22b534(_0x2e952e)),q(0x2,_0x22b534(_0x352493)),q(0x3,_0x4eeaf3)],se);function en(_0x1c4d83){const {status$:_0x44b751}=_0x1c4d83;return function(){return _0xf948d7(Zi,{'status$':_0x44b751});};}var tn=Object[_0x34f845(0x157)],sn=(_0x35a56d,_0x8af207,_0x3c67f8,_0x470c99)=>{const _0x3b149b=_0x34f845;for(var _0x1c3d0e=_0x470c99>0x1?void 0x0:_0x470c99?tn(_0x8af207,_0x3c67f8):_0x8af207,_0x101c86=_0x35a56d[_0x3b149b(0x216)]-0x1,_0x22439e;_0x101c86>=0x0;_0x101c86--)(_0x22439e=_0x35a56d[_0x101c86])&&(_0x1c3d0e=_0x22439e(_0x1c3d0e)||_0x1c3d0e);return _0x1c3d0e;},B=(_0x2a01dc,_0x57b872)=>(_0x11dcf1,_0x160ec8)=>_0x57b872(_0x11dcf1,_0x160ec8,_0x2a01dc);let ie=class extends _0x4ac1a9{constructor(_0x37ea61,_0xf40f2c,_0x533ab4,_0xd77bab,_0x450b4c,_0x1265db){const _0x437398=_0x34f845;super(),this[_0x437398(0x22c)]=_0x37ea61,this[_0x437398(0x1a5)]=_0xf40f2c,this[_0x437398(0x1b8)]=_0x533ab4,this[_0x437398(0x12e)]=_0xd77bab,this['_notificationService']=_0x450b4c,this['_localeService']=_0x1265db,this['_setupBeforeClosingHandler'](),this[_0x437398(0x314)]();}[_0x34f845(0x291)](){const _0x1f45b8=_0x34f845;this[_0x1f45b8(0x331)](this[_0x1f45b8(0x22c)][_0x1f45b8(0x1bb)](()=>{const _0x3a266a=_0x1f45b8;if(this['_localCacheService'][_0x3a266a(0x1ee)][_0x3a266a(0x13b)])return this['_localeService']['t'](_0x3a266a(0x200));}));}[_0x34f845(0x314)](){const _0x1f59ef=_0x34f845;this[_0x1f59ef(0x331)](this[_0x1f59ef(0x1b8)][_0x1f59ef(0x22f)][_0x1f59ef(0x1a2)](_0x5a718e=>{const _0x5d8b48=_0x1f59ef;_0x5a718e['id']===_0x5c61b3[_0x5d8b48(0x31e)]&&this[_0x5d8b48(0x12e)][_0x5d8b48(0x2d3)]({'type':_0x3e1507[_0x5d8b48(0x2e8)],'content':this[_0x5d8b48(0x17f)]['t'](_0x5d8b48(0x171))}),_0x5a718e['id']===_0x5c61b3[_0x5d8b48(0x23d)]&&this[_0x5d8b48(0x12e)][_0x5d8b48(0x2d3)]({'type':_0x3e1507[_0x5d8b48(0x2e8)],'content':this[_0x5d8b48(0x17f)]['t']('collaboration.closeRoom')}),_0x5a718e['id']===_0x5c61b3['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this[_0x5d8b48(0x17f)]['t'](_0x5d8b48(0x2b1)),'content':this['_localeService']['t'](_0x5d8b48(0x287)),'type':'error','duration':0x0}),_0x5a718e['id']===_0x5c61b3['CONFLICT']&&this['_messageService']['show']({'type':_0x3e1507[_0x5d8b48(0x193)],'content':this['_localeService']['t'](_0x5d8b48(0x2cb))+'('+_0x5a718e[_0x5d8b48(0x1cf)]+')'}),_0x5a718e['id']===_0x5c61b3['JOIN_ROOM_FAILED']&&this[_0x5d8b48(0x12e)]['show']({'type':_0x3e1507[_0x5d8b48(0x2e8)],'content':this['_localeService']['t'](_0x5a718e[_0x5d8b48(0x1cf)]||'')}),_0x5a718e['id']===_0x5c61b3[_0x5d8b48(0x2d1)]&&this['_messageService'][_0x5d8b48(0x2d3)]({'type':_0x3e1507[_0x5d8b48(0x2e8)],'content':this[_0x5d8b48(0x17f)]['t'](_0x5d8b48(0x2fb))}),_0x5a718e['id']===_0x5c61b3['SOCKET_FAILED']&&this[_0x5d8b48(0x12e)]['show']({'type':_0x3e1507[_0x5d8b48(0x193)],'content':this[_0x5d8b48(0x17f)]['t'](_0x5d8b48(0x21d))}),_0x5a718e['id']===_0x5c61b3[_0x5d8b48(0x19a)]&&this['_messageService'][_0x5d8b48(0x2d3)]({'type':_0x3e1507[_0x5d8b48(0x193)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x132fbb),B(0x1,_0x267b4e),B(0x2,_0x22b534(_0xc8f080)),B(0x3,_0x198afa),B(0x4,_0x5ceaeb),B(0x5,_0x22b534(_0x5a62d0))],ie);const nn='collaboration-client-ui.config',st={},Pt=_0x507eb4(_0x34f845(0x298));var rn=Object[_0x34f845(0x157)],on=(_0x46c273,_0x493197,_0x35ca06,_0x4dc383)=>{const _0x1263b4=_0x34f845;for(var _0x3523de=_0x4dc383>0x1?void 0x0:_0x4dc383?rn(_0x493197,_0x35ca06):_0x493197,_0x4e6a58=_0x46c273[_0x1263b4(0x216)]-0x1,_0x1dd800;_0x4e6a58>=0x0;_0x4e6a58--)(_0x1dd800=_0x46c273[_0x4e6a58])&&(_0x3523de=_0x1dd800(_0x3523de)||_0x3523de);return _0x3523de;},K=(_0x1fb0f6,_0x216f78)=>(_0x23e218,_0x50d603)=>_0x216f78(_0x23e218,_0x50d603,_0x1fb0f6);let ne=class extends _0x1efc6a{constructor(_0x32e318,_0x2cf118,_0xaf244f,_0x58a2e0,_0x1c40d3){const _0x415344=_0x34f845;super(),this[_0x415344(0x130)]=_0x32e318,this[_0x415344(0x1c2)]=_0x2cf118,this[_0x415344(0x250)]=_0xaf244f,this['_dataLoaderService']=_0x58a2e0,_0x1c40d3?_0x1c40d3==null||_0x1c40d3[_0x415344(0x1e7)]()[_0x415344(0x2c3)](()=>this[_0x415344(0x229)]()):(this[_0x415344(0x1c2)][_0x415344(0x2a3)](_0x415344(0x1f5),_0x415344(0x19e)),this[_0x415344(0x229)]());}async[_0x34f845(0x229)](){const _0x3d5bdb=_0x34f845,_0x18b094=this['_urlService']['getParam']('unit'),_0x4640a0=this[_0x3d5bdb(0x130)][_0x3d5bdb(0x174)](_0x3d5bdb(0x15a)),_0x54228c=this[_0x3d5bdb(0x130)][_0x3d5bdb(0x174)](_0x3d5bdb(0x237));if(!_0x18b094||!_0x4640a0){this[_0x3d5bdb(0x1c2)][_0x3d5bdb(0x2a3)](_0x3d5bdb(0x1f5),_0x3d5bdb(0x310));return;}const _0x2b8cf9=await this[_0x3d5bdb(0x2ee)]['loadUnit'](_0x18b094,Number(_0x4640a0),_0x54228c);_0x2b8cf9&&_0x2b8cf9 instanceof _0x269207&&this['_setupSubUnitSync'](_0x2b8cf9);}async[_0x34f845(0x1d9)](_0x3a8dec){const _0x3d2252=_0x34f845;await this[_0x3d2252(0x138)](_0x3a8dec),_0x3a8dec[_0x3d2252(0x255)][_0x3d2252(0x268)](_0x21de1f(this[_0x3d2252(0x305)]))[_0x3d2252(0x1a2)](_0x3f6e8d=>{const _0x3599c6=_0x3d2252;_0x3f6e8d&&this[_0x3599c6(0x32b)](_0x3f6e8d);}),this['_urlService'][_0x3d2252(0x2de)][_0x3d2252(0x268)](_0x21de1f(this[_0x3d2252(0x305)]))[_0x3d2252(0x1a2)](()=>this['_updateSubUnitFromURLParams'](_0x3a8dec));}['_updateURLWithCurrentState'](_0x43816f,_0x338388=!0x1){const _0x57ca76=_0x34f845,_0x1f776d=this[_0x57ca76(0x130)][_0x57ca76(0x174)]('subunit');_0x43816f[_0x57ca76(0x21e)]()!==_0x1f776d&&this[_0x57ca76(0x130)][_0x57ca76(0x2ed)](_0x57ca76(0x237),_0x43816f[_0x57ca76(0x21e)](),_0x338388);}async[_0x34f845(0x138)](_0x13d27c){const _0x108e47=_0x34f845;var _0x961aaf;const _0x2e06bf=this[_0x108e47(0x130)][_0x108e47(0x174)]('subunit');if(!_0x2e06bf||!_0x13d27c[_0x108e47(0x27f)](_0x2e06bf)){const _0x286ce2=_0x13d27c[_0x108e47(0x322)]()[0x0],_0x7d38c3=_0x13d27c[_0x108e47(0x27f)](_0x286ce2);if(!_0x7d38c3)return;this[_0x108e47(0x32b)](_0x7d38c3,!0x0),await this['_commandService'][_0x108e47(0x282)](_0x31cfac['id'],{'unitId':_0x13d27c[_0x108e47(0x18d)](),'subUnitId':_0x286ce2});return;}((_0x961aaf=_0x13d27c[_0x108e47(0x195)]())==null?void 0x0:_0x961aaf['getSheetId']())!==_0x2e06bf&&await this[_0x108e47(0x250)][_0x108e47(0x282)](_0x31cfac['id'],{'unitId':_0x13d27c[_0x108e47(0x18d)](),'subUnitId':_0x2e06bf});}};ne=on([K(0x0,Pt),K(0x1,_0x86c8cd),K(0x2,_0x5c5ad0),K(0x3,_0x22b534(_0x51f875)),K(0x4,_0x514b4d(_0x4602c3))],ne);var an=Object[_0x34f845(0x157)],cn=(_0x15ddd8,_0x377e53,_0xb7a369,_0x5a52b0)=>{const _0x1d8e42=_0x34f845;for(var _0x295137=_0x5a52b0>0x1?void 0x0:_0x5a52b0?an(_0x377e53,_0xb7a369):_0x377e53,_0x4700d8=_0x15ddd8[_0x1d8e42(0x216)]-0x1,_0x48227f;_0x4700d8>=0x0;_0x4700d8--)(_0x48227f=_0x15ddd8[_0x4700d8])&&(_0x295137=_0x48227f(_0x295137)||_0x295137);return _0x295137;},Ce=(_0x3af7d7,_0x4ceb5e)=>(_0x457c6f,_0x3cc58a)=>_0x4ceb5e(_0x457c6f,_0x3cc58a,_0x3af7d7);let re=class{constructor(_0x938a87,_0x2f3167,_0xe174e7){const _0x328a91=_0x34f845;this[_0x328a91(0x17e)]=_0x938a87,this[_0x328a91(0x12f)]=_0x2f3167,this[_0x328a91(0x327)]=_0xe174e7;}[_0x34f845(0x239)](_0x13e071){const _0x33a561=_0x34f845;this[_0x33a561(0x278)](_0x13e071),this[_0x33a561(0x144)](_0x13e071);}[_0x34f845(0x14b)](_0x20dcb9){const _0x4fbf78=_0x34f845,{unitID:_0x1d08ae}=_0x20dcb9,_0x5a5bdf=this[_0x4fbf78(0x327)]['getRenderById'](_0x1d08ae)[_0x4fbf78(0x29d)](_0x3b71b7),{redoCache:_0x1362f1}=_0x5a5bdf[_0x4fbf78(0x166)]();if(_0x1362f1[_0x4fbf78(0x216)]===0x0)return _0x20dcb9;let _0x547711=_0x3ecff1['deepClone'](_0x20dcb9[_0x4fbf78(0x13f)][0x0]);for(let _0x250ace=0x0;_0x250ace<_0x1362f1[_0x4fbf78(0x216)];_0x250ace++){const _0x3211e1={'id':'doc.mutation.rich-text-editing','params':{..._0x1362f1[_0x250ace]}},_0x2056e3=this[_0x4fbf78(0x12f)][_0x4fbf78(0x16a)](_0x547711,_0x3211e1,!0x1);if(_0x943f0f(_0x2056e3))throw _0x2056e3[_0x4fbf78(0x223)];_0x547711=_0x2056e3['m1Prime'];}return{..._0x3ecff1[_0x4fbf78(0x196)](_0x20dcb9),'mutations':[_0x547711]};}[_0x34f845(0x278)](_0xca95a4){const _0x19e85d=_0x34f845,{unitID:_0x462572}=_0xca95a4,_0x45cfee=this['_renderManagerService']['getRenderById'](_0x462572)[_0x19e85d(0x29d)](_0x3b71b7),{undoCache:_0x3dedf2,redoCache:_0x4a37f1}=_0x45cfee['getUndoRedoMutationParamsCache']();if(_0x3dedf2['length']===0x0||_0x4a37f1['length']===0x0)return;const _0x4d6378=[],_0x5ba6f2=[];let _0x5e9dc8=_0x3ecff1['deepClone'](_0xca95a4['mutations'][0x0]),_0x1c6e20=_0x3ecff1[_0x19e85d(0x196)](_0xca95a4[_0x19e85d(0x13f)][0x0]);for(let _0x386785=_0x3dedf2[_0x19e85d(0x216)]-0x1;_0x386785>=0x0;_0x386785--){const _0x8b40a8={'id':_0x19e85d(0x15e),'params':{..._0x3dedf2[_0x386785]}},_0x35bcb3={'id':'doc.mutation.rich-text-editing','params':{..._0x4a37f1[_0x386785]}},_0x4282a4=this[_0x19e85d(0x12f)][_0x19e85d(0x16a)](_0x5e9dc8,_0x8b40a8,!0x1),_0x503315=this[_0x19e85d(0x12f)]['transformMutation'](_0x1c6e20,_0x35bcb3,!0x1);if(_0x943f0f(_0x4282a4))throw _0x4282a4[_0x19e85d(0x223)];if(_0x943f0f(_0x503315))throw _0x503315[_0x19e85d(0x223)];_0x4d6378[_0x19e85d(0x215)](_0x4282a4[_0x19e85d(0x214)][_0x19e85d(0x13e)]),_0x5ba6f2['unshift'](_0x503315[_0x19e85d(0x214)][_0x19e85d(0x13e)]),_0x5e9dc8=_0x4282a4[_0x19e85d(0x1d8)],_0x1c6e20=_0x503315[_0x19e85d(0x1d8)];}_0x45cfee['setUndoRedoMutationParamsCache']({'undoCache':_0x4d6378,'redoCache':_0x5ba6f2});}[_0x34f845(0x144)](_0x4cd1b9){const _0x2957a7=_0x34f845,{unitID:_0x476a0d}=_0x4cd1b9,_0x229b60=this[_0x2957a7(0x327)]['getRenderById'](_0x476a0d)[_0x2957a7(0x29d)](_0x3b71b7),_0x5bcb32=_0x229b60[_0x2957a7(0x1aa)]();if(_0x5bcb32==null)return;const _0x2d6b9d=[{'id':_0x2957a7(0x15e),'params':{'unitId':_0x4cd1b9[_0x2957a7(0x134)],'actions':null,'textRanges':[_0x5bcb32]}}],_0x5a3213=this[_0x2957a7(0x12f)][_0x2957a7(0x1fd)](_0x4cd1b9,_0x2d6b9d);if(!_0x4461a6(_0x5a3213))throw _0x5a3213[_0x2957a7(0x223)];const _0x31f4b2=_0x5a3213[_0x2957a7(0x214)][0x0][_0x2957a7(0x13e)][_0x2957a7(0x30a)];Array[_0x2957a7(0x294)](_0x31f4b2)&&_0x31f4b2['length']&&_0x229b60[_0x2957a7(0x317)](_0x31f4b2[0x0]);}};re=cn([Ce(0x0,_0x22b534(_0x2e952e)),Ce(0x1,_0xf82704),Ce(0x2,_0x5e2ece)],re);var ln=Object[_0x34f845(0x157)],_n=(_0x8681e2,_0x1fbd87,_0x199226,_0x44ba91)=>{for(var _0x2e698d=_0x44ba91>0x1?void 0x0:_0x44ba91?ln(_0x1fbd87,_0x199226):_0x1fbd87,_0x12b28c=_0x8681e2['length']-0x1,_0x6b2d1b;_0x12b28c>=0x0;_0x12b28c--)(_0x6b2d1b=_0x8681e2[_0x12b28c])&&(_0x2e698d=_0x6b2d1b(_0x2e698d)||_0x2e698d);return _0x2e698d;},Ee=(_0xd01ec6,_0x464ac2)=>(_0x1f9914,_0x186a68)=>_0x464ac2(_0x1f9914,_0x186a68,_0xd01ec6);let oe=class{constructor(_0x5d941c,_0x45cc36,_0x4ede0a){this['_injector']=_0x5d941c,this['_transformService']=_0x45cc36,this['_docStateChangeManagerService']=_0x4ede0a;}[_0x34f845(0x25a)](_0xd99dba){const _0xa9d466=_0x34f845;this[_0xa9d466(0x1c4)](_0xd99dba);}['transformRemoteChangeset'](_0x5d8581){const _0x18fb6e=_0x34f845,{unitID:_0x343d8a}=_0x5d8581,{collaboration:_0x26909e}=this[_0x18fb6e(0x1da)]['getStateCache'](_0x343d8a);if(_0x26909e['length']===0x0)return _0x5d8581;let _0x328576=_0x3ecff1[_0x18fb6e(0x196)](_0x5d8581['mutations'][0x0]);for(let _0x5e5acc=0x0;_0x5e5acc<_0x26909e[_0x18fb6e(0x216)];_0x5e5acc++){const _0x589b4b={'id':_0x18fb6e(0x15e),'params':{'unitId':_0x26909e[_0x5e5acc][_0x18fb6e(0x28f)],..._0x26909e[_0x5e5acc]['redoState']}},_0x24053e=this[_0x18fb6e(0x12f)]['transformMutation'](_0x328576,_0x589b4b,!0x1);if(_0x943f0f(_0x24053e))throw _0x24053e[_0x18fb6e(0x223)];_0x328576=_0x24053e[_0x18fb6e(0x1d8)];}return{..._0x3ecff1['deepClone'](_0x5d8581),'mutations':[_0x328576]};}[_0x34f845(0x1c4)](_0x1bdf27){const _0x4409c9=_0x34f845,{unitID:_0x514df6}=_0x1bdf27,{history:_0x2b57d8,collaboration:_0xaf1865}=this[_0x4409c9(0x1da)][_0x4409c9(0x1bd)](_0x514df6);if(_0x2b57d8[_0x4409c9(0x216)]===0x0&&_0xaf1865[_0x4409c9(0x216)]===0x0)return;const _0x438cc0=[],_0xaf2ce2=[];let _0x4f6f03=_0x3ecff1[_0x4409c9(0x196)](_0x1bdf27['mutations'][0x0]),_0x330fe3=_0x3ecff1[_0x4409c9(0x196)](_0x1bdf27['mutations'][0x0]);for(let _0x2de85e=_0x2b57d8[_0x4409c9(0x216)]-0x1;_0x2de85e>=0x0;_0x2de85e--){const _0x531b41={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b57d8[_0x2de85e][_0x4409c9(0x28f)],..._0x2b57d8[_0x2de85e][_0x4409c9(0x2ea)]}},_0x4bea3d={'id':_0x4409c9(0x15e),'params':{'unitId':_0x2b57d8[_0x2de85e][_0x4409c9(0x28f)],..._0x2b57d8[_0x2de85e][_0x4409c9(0x26c)]}},_0x170a01=this[_0x4409c9(0x12f)][_0x4409c9(0x16a)](_0x4f6f03,_0x531b41,!0x1),_0x24b76a=this[_0x4409c9(0x12f)]['transformMutation'](_0x330fe3,_0x4bea3d,!0x1);if(_0x943f0f(_0x170a01))throw _0x170a01[_0x4409c9(0x223)];if(_0x943f0f(_0x24b76a))throw _0x24b76a[_0x4409c9(0x223)];_0x438cc0[_0x4409c9(0x215)]({..._0x2b57d8[_0x2de85e],'undoState':_0x170a01[_0x4409c9(0x214)]['params'],'redoState':_0x24b76a[_0x4409c9(0x214)][_0x4409c9(0x13e)]}),_0x4f6f03=_0x170a01[_0x4409c9(0x1d8)],_0x330fe3=_0x24b76a[_0x4409c9(0x1d8)];}_0x4f6f03=_0x3ecff1[_0x4409c9(0x196)](_0x1bdf27['mutations'][0x0]),_0x330fe3=_0x3ecff1['deepClone'](_0x1bdf27[_0x4409c9(0x13f)][0x0]);for(let _0x30303f=_0xaf1865['length']-0x1;_0x30303f>=0x0;_0x30303f--){const _0x39dd87={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xaf1865[_0x30303f][_0x4409c9(0x28f)],..._0xaf1865[_0x30303f][_0x4409c9(0x2ea)]}},_0x57fcc1={'id':_0x4409c9(0x15e),'params':{'unitId':_0xaf1865[_0x30303f]['unitId'],..._0xaf1865[_0x30303f][_0x4409c9(0x26c)]}},_0x1b5d87=this[_0x4409c9(0x12f)][_0x4409c9(0x16a)](_0x4f6f03,_0x39dd87,!0x1),_0x22988a=this[_0x4409c9(0x12f)][_0x4409c9(0x16a)](_0x330fe3,_0x57fcc1,!0x1);if(_0x943f0f(_0x1b5d87))throw _0x1b5d87[_0x4409c9(0x223)];if(_0x943f0f(_0x22988a))throw _0x22988a[_0x4409c9(0x223)];_0xaf2ce2[_0x4409c9(0x215)]({..._0xaf1865[_0x30303f],'undoState':_0x1b5d87[_0x4409c9(0x214)][_0x4409c9(0x13e)],'redoState':_0x22988a[_0x4409c9(0x214)]['params']}),_0x4f6f03=_0x1b5d87[_0x4409c9(0x1d8)],_0x330fe3=_0x22988a[_0x4409c9(0x1d8)];}this[_0x4409c9(0x1da)][_0x4409c9(0x25e)](_0x514df6,{'history':_0x438cc0,'collaboration':_0xaf2ce2});}};oe=_n([Ee(0x0,_0x22b534(_0x2e952e)),Ee(0x1,_0xf82704),Ee(0x2,_0x22b534(_0x5e5e93))],oe);var hn=Object[_0x34f845(0x157)],un=(_0x261b7e,_0x22e190,_0x459779,_0xd1a79b)=>{for(var _0x4fa854=_0xd1a79b>0x1?void 0x0:_0xd1a79b?hn(_0x22e190,_0x459779):_0x22e190,_0x2d3dd5=_0x261b7e['length']-0x1,_0x5902bc;_0x2d3dd5>=0x0;_0x2d3dd5--)(_0x5902bc=_0x261b7e[_0x2d3dd5])&&(_0x4fa854=_0x5902bc(_0x4fa854)||_0x4fa854);return _0x4fa854;},it=(_0xa40cb2,_0x339b4f)=>(_0x155b62,_0x948e15)=>_0x339b4f(_0x155b62,_0x948e15,_0xa40cb2);let ae=class{constructor(_0x1196dc,_0xfd177){const _0x41895a=_0x34f845;this[_0x41895a(0x17e)]=_0x1196dc,this[_0x41895a(0x12f)]=_0xfd177;}['transformSelections'](_0x168ce2){const _0x3bd9f3=_0x34f845;var _0x187890;const _0xb85ec9=this['_injector'][_0x3bd9f3(0x156)](_0x2f41bf),_0x31974f=(_0x187890=_0xb85ec9[_0x3bd9f3(0x228)]())!=null?_0x187890:[];if(_0x31974f[_0x3bd9f3(0x216)]===0x0)return;const _0x4168e1=_0x168ce2[_0x3bd9f3(0x134)],_0x3f5099=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4168e1,'actions':null,'textRanges':_0x31974f}}],_0x1da59b=this[_0x3bd9f3(0x12f)][_0x3bd9f3(0x1fd)](_0x168ce2,_0x3f5099);if(!_0x4461a6(_0x1da59b))throw _0x1da59b[_0x3bd9f3(0x223)];const _0xed62fd=_0x1da59b['m2Prime'][0x0][_0x3bd9f3(0x13e)][_0x3bd9f3(0x30a)];Array['isArray'](_0xed62fd)&&_0xed62fd[_0x3bd9f3(0x216)]&&_0xb85ec9[_0x3bd9f3(0x186)](_0xed62fd,{'unitId':_0x4168e1,'subUnitId':_0x4168e1},!0x1);}};ae=un([it(0x0,_0x22b534(_0x2e952e)),it(0x1,_0xf82704)],ae);var dn=Object[_0x34f845(0x157)],fn=(_0xc18af8,_0x42fad6,_0x5b2e5,_0x5a1fb1)=>{const _0x1f0954=_0x34f845;for(var _0x9eb628=_0x5a1fb1>0x1?void 0x0:_0x5a1fb1?dn(_0x42fad6,_0x5b2e5):_0x42fad6,_0x454b8a=_0xc18af8[_0x1f0954(0x216)]-0x1,_0xd9cdc0;_0x454b8a>=0x0;_0x454b8a--)(_0xd9cdc0=_0xc18af8[_0x454b8a])&&(_0x9eb628=_0xd9cdc0(_0x9eb628)||_0x9eb628);return _0x9eb628;},U=(_0x9b5dc2,_0x755da7)=>(_0x147966,_0x126d66)=>_0x755da7(_0x147966,_0x126d66,_0x9b5dc2);let ce=class extends _0x4ac1a9{constructor(_0x547156,_0x30ef2c,_0x5076e3,_0x33b257,_0x245d56,_0x51f8d4,_0x1a245e,_0x3232a8){const _0x421b74=_0x34f845;super(),_(this,_0x421b74(0x199),new _0x172344(_0x30f82d[_0x421b74(0x251)])),(this[_0x421b74(0x1da)]=_0x547156,this[_0x421b74(0x2f5)]=_0x30ef2c,this['_docTransformIMECacheService']=_0x5076e3,this[_0x421b74(0x213)]=_0x33b257,this[_0x421b74(0x2a4)]=_0x245d56,this[_0x421b74(0x31d)]=_0x51f8d4,this[_0x421b74(0x12e)]=_0x1a245e,this['_localeService']=_0x3232a8,this['_initEntityListener']());}[_0x34f845(0x14f)](){const _0xcef3b5=_0x34f845;this['disposeWithMe'](this[_0xcef3b5(0x2f5)]['entityInit$'][_0xcef3b5(0x1a2)](_0x6eacd=>{const _0x387bab=_0xcef3b5,_0x26b2ae=this['_docStateChangeManagerService'][_0x387bab(0x165)][_0x387bab(0x1a2)](_0x5719d8=>{const _0x564b17=_0x387bab;if(_0x5719d8==null)return;const {unitId:_0xf03369,redoState:_0x55a8d8,commandId:_0x4edef3}=_0x5719d8;if(_0xf03369!==_0x6eacd['unitID'])return;const _0x3239be={'id':_0x4edef3,'type':_0x298736[_0x564b17(0x2e9)],'params':{'unitId':_0xf03369,'actions':_0x55a8d8[_0x564b17(0x272)],'textRanges':null}};_0x6eacd[_0x564b17(0x313)](_0x3239be);});if(_0x6eacd[_0x387bab(0x331)](_0x26b2ae),_0x6eacd instanceof _0xe1ef36){const _0x4c7ed1={'onTransformIME':_0x365d03=>this[_0x387bab(0x2ad)][_0x387bab(0x239)](_0x365d03),'onTransformState':_0x170dfc=>this[_0x387bab(0x213)]['transformStateCache'](_0x170dfc),'onTransformSelections':_0x3cecd2=>this[_0x387bab(0x2a4)][_0x387bab(0x2be)](_0x3cecd2),'onSyncEditingCollabCursor':_0x2bb9f4=>this[_0x387bab(0x31d)][_0x387bab(0x2d8)](_0x2bb9f4),'onTransformRemoteChangesetByIMECache':_0x208b39=>this['_docTransformIMECacheService'][_0x387bab(0x14b)](_0x208b39),'onTransformRemoteChangesetByStateCache':_0x4bff8b=>this[_0x387bab(0x213)]['transformRemoteChangeset'](_0x4bff8b)};_0x6eacd[_0x387bab(0x2b8)](_0x4c7ed1);}}));}};ce=fn([U(0x0,_0x22b534(_0x5e5e93)),U(0x1,_0x22b534(_0x352493)),U(0x2,_0x22b534(re)),U(0x3,_0x22b534(oe)),U(0x4,_0x22b534(ae)),U(0x5,_0x22b534(je)),U(0x6,_0x198afa),U(0x7,_0x22b534(_0x5a62d0))],ce);var Sn=Object[_0x34f845(0x157)],mn=(_0x504793,_0x7fb49d,_0x168d4c,_0x1a9914)=>{const _0x42e3f2=_0x34f845;for(var _0x215d60=_0x1a9914>0x1?void 0x0:_0x1a9914?Sn(_0x7fb49d,_0x168d4c):_0x7fb49d,_0x51132b=_0x504793[_0x42e3f2(0x216)]-0x1,_0x4dd9cf;_0x51132b>=0x0;_0x51132b--)(_0x4dd9cf=_0x504793[_0x51132b])&&(_0x215d60=_0x4dd9cf(_0x215d60)||_0x215d60);return _0x215d60;},be=(_0x19317c,_0x203b6f)=>(_0x4a0826,_0x1c0bec)=>_0x203b6f(_0x4a0826,_0x1c0bec,_0x19317c);let Ae=class extends _0x4ac1a9{constructor(_0x1f20a0,_0x15b9e7,_0x223249){const _0x2dbe3f=_0x34f845;super(),_(this,_0x2dbe3f(0x2d0),new Map()),_(this,_0x2dbe3f(0x2f1),new Map()),_(this,_0x2dbe3f(0x2bb),!0x1),(this[_0x2dbe3f(0x290)]=_0x1f20a0,this[_0x2dbe3f(0x21a)]=_0x15b9e7,this[_0x2dbe3f(0x1e5)]=_0x223249);}[_0x34f845(0x283)](){const _0x39b709=_0x34f845;this[_0x39b709(0x2bb)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x34f845(0x1ee)](){const _0x5be176=_0x34f845;return this[_0x5be176(0x2f1)];}[_0x34f845(0x2d6)](){const _0x1133c4=_0x34f845;this[_0x1133c4(0x2af)]()['then'](()=>super[_0x1133c4(0x2d6)]());}async['loadOfflineData'](_0x1dbef9){const _0x4128ed=_0x34f845;return this['_disabled']?null:this[_0x4128ed(0x21a)][_0x4128ed(0x260)](_0x4a7859(_0x1dbef9));}async[_0x34f845(0x2e1)](_0x369410,_0x435ef2){const _0x1e9672=_0x34f845;return!!this[_0x1e9672(0x21a)]['setItem'](_0x369410,_0x435ef2);}[_0x34f845(0x13a)](_0x509ce5,_0x2dff1d,_0x30c1a1,_0xb2cb4){const _0x24aa48=_0x34f845,_0x3b424a=this[_0x24aa48(0x1e5)]['getCurrentRevOfUnit'](_0x509ce5);this[_0x24aa48(0x2d0)][_0x24aa48(0x18f)](_0x509ce5,{'unitID':_0x509ce5,'type':_0x2dff1d,'awaitingChangeset':_0x30c1a1,'mutations':_0xb2cb4,'rev':_0x3b424a}),this[_0x24aa48(0x2f1)][_0x24aa48(0x135)](_0x509ce5)||this[_0x24aa48(0x137)](_0x509ce5);}[_0x34f845(0x137)](_0xde44bc){const _0x290aba=_0x34f845,_0xf9706b=this['_getSaveTimeout']();_0xf9706b===0x0?this[_0x290aba(0x1ec)](_0xde44bc):this[_0x290aba(0x2f1)][_0x290aba(0x18f)](_0xde44bc,setTimeout(()=>this[_0x290aba(0x1ec)](_0xde44bc),_0xf9706b));}[_0x34f845(0x20d)](){const _0x408d5f=_0x34f845;var _0x412343;return(_0x412343=this[_0x408d5f(0x290)][_0x408d5f(0x2e4)](_0x2b3968))!=null?_0x412343:_0x3c012b;}[_0x34f845(0x1ec)](_0x4f12a4){const _0x486f5f=_0x34f845,_0x21ec0d=this[_0x486f5f(0x2f1)][_0x486f5f(0x156)](_0x4f12a4);return _0x21ec0d!==void 0x0&&window[_0x486f5f(0x2a8)](_0x21ec0d),this['_localStorageService'][_0x486f5f(0x2e6)](_0x4a7859(_0x4f12a4),this[_0x486f5f(0x2d0)][_0x486f5f(0x156)](_0x4f12a4))['then'](()=>this[_0x486f5f(0x2f1)][_0x486f5f(0x1fe)](_0x4f12a4));}async[_0x34f845(0x2af)](){const _0x2ca1c7=_0x34f845,_0x22748e=[];this[_0x2ca1c7(0x2f1)]['forEach']((_0x26b9d8,_0x5e7bf4)=>{const _0x385cca=_0x2ca1c7;window[_0x385cca(0x2a8)](_0x26b9d8),_0x22748e[_0x385cca(0x14e)](this[_0x385cca(0x1ec)](_0x5e7bf4)[_0x385cca(0x2c3)](()=>{const _0x46477c=_0x385cca;this[_0x46477c(0x2f1)][_0x46477c(0x1fe)](_0x5e7bf4);}));}),await Promise[_0x2ca1c7(0x236)](_0x22748e);}};Ae=mn([be(0x0,_0x511a60),be(0x1,_0x449ec6),be(0x2,_0x22b534(_0x1edeb0))],Ae);class gn extends _0x1efc6a{constructor(){const _0x5e452d=_0x34f845;super(),_(this,_0x5e452d(0x2de)),this['urlChange$']=_0x45bc46(window,'popstate')[_0x5e452d(0x268)](_0x21de1f(this[_0x5e452d(0x305)]),_0x461deb(0x1),_0x85da8e(void 0x0));}[_0x34f845(0x2ed)](_0x4e09a8,_0x2bf6f0,_0x22b1e7=!0x1){const _0x5e0c7c=_0x34f845,_0x209dcd=new URL(window['location'][_0x5e0c7c(0x326)]);_0x209dcd[_0x5e0c7c(0x1b4)][_0x5e0c7c(0x18f)](_0x4e09a8,_0x2bf6f0),_0x22b1e7?window[_0x5e0c7c(0x1f9)][_0x5e0c7c(0x30c)]('','',_0x209dcd[_0x5e0c7c(0x18a)]()):window[_0x5e0c7c(0x1f9)]['pushState']('','',_0x209dcd[_0x5e0c7c(0x18a)]());}[_0x34f845(0x19d)](_0x1add1d,_0x2ec10c=!0x1){const _0x2f5016=_0x34f845,_0x444f39=new URL(window['location'][_0x2f5016(0x326)]);_0x444f39['searchParams'][_0x2f5016(0x1fe)](_0x1add1d),_0x2ec10c?window['history'][_0x2f5016(0x30c)]('','',_0x444f39[_0x2f5016(0x18a)]()):window['history'][_0x2f5016(0x1a7)]('','',_0x444f39['toString']());}[_0x34f845(0x174)](_0x16cea7){const _0x462c8e=_0x34f845;var _0x429d62;return(_0x429d62=new URL(window[_0x462c8e(0x308)]['href'])[_0x462c8e(0x1b4)]['get'](_0x16cea7))!=null?_0x429d62:void 0x0;}}var vn=Object[_0x34f845(0x153)],In=Object['getOwnPropertyDescriptor'],pn=(_0x29b8c1,_0x1e0f34,_0x4c6a5b)=>_0x1e0f34 in _0x29b8c1?vn(_0x29b8c1,_0x1e0f34,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c6a5b}):_0x29b8c1[_0x1e0f34]=_0x4c6a5b,Cn=(_0x329c71,_0xcc8f2d,_0x689b52,_0x3ac89e)=>{for(var _0x401d07=_0x3ac89e>0x1?void 0x0:_0x3ac89e?In(_0xcc8f2d,_0x689b52):_0xcc8f2d,_0x21f99e=_0x329c71['length']-0x1,_0x2b4b3f;_0x21f99e>=0x0;_0x21f99e--)(_0x2b4b3f=_0x329c71[_0x21f99e])&&(_0x401d07=_0x2b4b3f(_0x401d07)||_0x401d07);return _0x401d07;},Oe=(_0x175b38,_0x1b1b22)=>(_0x14c6a8,_0x186f74)=>_0x1b1b22(_0x14c6a8,_0x186f74,_0x175b38),En=(_0x46c910,_0x436c7a,_0x104923)=>pn(_0x46c910,_0x436c7a+'',_0x104923);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x516154{constructor(_0x642de5=st,_0x8650a8,_0x331f45,_0xbcc9d8){const _0x28cd5d=_0x34f845;super(),this['_config']=_0x642de5,this[_0x28cd5d(0x327)]=_0x8650a8,this[_0x28cd5d(0x17e)]=_0x331f45,this[_0x28cd5d(0x290)]=_0xbcc9d8;const {..._0x363af2}=_0x5b3e74({},st,this['_config']);this['_configService']['setConfig'](nn,_0x363af2);}[_0x34f845(0x1e8)](){const _0xbb96c6=_0x34f845;this['_registerDependencies'](),this[_0xbb96c6(0x2c0)]();}[_0x34f845(0x2fa)](){const _0x54702a=_0x34f845;this[_0x54702a(0x1d0)]();}[_0x34f845(0x2ef)](){const _0x34d74e=_0x34f845;var _0x36b3aa;const _0xa14c77=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x387f20,{'useClass':_0x9bc21d}],[_0x267b4e,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x4a06b6(this[_0x34d74e(0x17e)],_0x5d2a46(_0xa14c77,(_0x36b3aa=this[_0x34d74e(0x2ec)])==null?void 0x0:_0x36b3aa[_0x34d74e(0x31b)]));}[_0x34f845(0x1d0)](){const _0x4b5fdd=_0x34f845;this[_0x4b5fdd(0x331)](this[_0x4b5fdd(0x327)][_0x4b5fdd(0x306)](_0xffe01d['UNIVER_DOC'],[we])),this[_0x4b5fdd(0x331)](this[_0x4b5fdd(0x327)][_0x4b5fdd(0x306)](_0xffe01d[_0x4b5fdd(0x2f4)],[Le]));}[_0x34f845(0x2c0)](){const _0x559c76=_0x34f845;_0x1e5548(this[_0x559c76(0x17e)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x34f845(0x256),bn),ye=Cn([_0x1fba64(_0x44ab1e),Oe(0x1,_0x5e2ece),Oe(0x2,_0x22b534(_0x2e952e)),Oe(0x3,_0x511a60)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0x45572a,_0x53f343,_0x231aec,_0x2a8e02)=>{for(var _0x20e80f=_0x2a8e02>0x1?void 0x0:_0x2a8e02?On(_0x53f343,_0x231aec):_0x53f343,_0x54fd3f=_0x45572a['length']-0x1,_0x258c6d;_0x54fd3f>=0x0;_0x54fd3f--)(_0x258c6d=_0x45572a[_0x54fd3f])&&(_0x20e80f=_0x258c6d(_0x20e80f)||_0x20e80f);return _0x20e80f;},z=(_0x3726ae,_0x374e89)=>(_0x179493,_0x2dd36f)=>_0x374e89(_0x179493,_0x2dd36f,_0x3726ae);let nt=class extends _0x371b96{constructor(_0x55ba16,_0x1ace3c,_0x279004,_0x54312a,_0xc6a556){super(_0x55ba16,_0x1ace3c,_0x279004,_0x54312a,_0xc6a556);}async['createSocket'](_0x5291bf){const _0x2f82c1=_0x34f845,_0x4644fe=await this[_0x2f82c1(0x26e)](),_0x58737a=this[_0x2f82c1(0x14c)](_0x5291bf,_0x4644fe);return this['_doCreateSocket'](_0x58737a);}[_0x34f845(0x14c)](_0x1222ed,_0x1ea179){const _0x40a4cc=_0x34f845,_0x472939=typeof window>'u'?new URL(_0x1222ed):new URL(_0x1222ed,window['location'][_0x40a4cc(0x15f)]);_0x472939[_0x40a4cc(0x1b4)][_0x40a4cc(0x18f)](_0x40a4cc(0x29e),_0x1ea179);const _0x19b50f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x40a4cc(0x308)]['search']);return _0x19b50f[_0x40a4cc(0x156)](_0x40a4cc(0x2b7))&&_0x472939[_0x40a4cc(0x1b4)][_0x40a4cc(0x18f)](_0x40a4cc(0x2b7),_0x19b50f[_0x40a4cc(0x156)](_0x40a4cc(0x2b7))),_0x472939[_0x40a4cc(0x18a)]();}async[_0x34f845(0x26e)](){const _0x14d6c9=_0x34f845;var _0x40186f,_0x411764,_0x502200;const _0x47e1b1=this[_0x14d6c9(0x290)][_0x14d6c9(0x2e4)](_0x5cff6d),_0x4dd3b3=(_0x40186f=_0x47e1b1==null?void 0x0:_0x47e1b1[_0x14d6c9(0x15d)])!=null?_0x40186f:_0x395e23;return(_0x502200=(_0x411764=(await this[_0x14d6c9(0x2cd)][_0x14d6c9(0x156)](_0x4dd3b3,{'headers':{'Content-Type':_0x14d6c9(0x13d)}}))[_0x14d6c9(0x292)])==null?void 0x0:_0x411764[_0x14d6c9(0x143)])!=null?_0x502200:'';}};nt=Tn([z(0x0,_0x22b534(_0x2e952e)),z(0x1,_0x22b534(_0x57454a)),z(0x2,_0x511a60),z(0x3,_0x86c8cd),z(0x4,_0x246914)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0x4ac1a9{constructor(){const _0xeb3424=_0x34f845;super(),_(this,_0xeb3424(0x29b),_0x4a6fd1()),_(this,_0xeb3424(0x2da),new Set()),_(this,_0xeb3424(0x2a0),new Map()),_(this,'_heartbeatTimer',null),_(this,_0xeb3424(0x220),new Map()),_(this,_0xeb3424(0x177),new Map()),this['_init']();}['dispose'](){const _0x303583=_0x34f845;super[_0x303583(0x2d6)](),this[_0x303583(0x220)]['forEach']((_0x3b871e,_0x5760e0)=>this[_0x303583(0x2b3)](_0x5760e0)),this[_0x303583(0x1a0)]&&window[_0x303583(0x279)](this[_0x303583(0x1a0)]);}[_0x34f845(0x302)](_0x4837c0){const _0x18014a=_0x34f845;return this[_0x18014a(0x28c)](_0x4837c0)['pipe'](_0xb35a2a());}[_0x34f845(0x253)](_0x3051ab){const _0x3d74d8=_0x34f845;this[_0x3d74d8(0x2da)][_0x3d74d8(0x13b)]===0x0&&this[_0x3d74d8(0x24d)](),this[_0x3d74d8(0x2da)][_0x3d74d8(0x231)](_0x3051ab),this['_send']({'type':0x0,'memberID':this[_0x3d74d8(0x29b)],'unitIDs':[_0x3051ab],'isForwarded':!0x1});}['disposeUnit'](_0x2c354e){const _0x534b45=_0x34f845;this[_0x534b45(0x2da)]['delete'](_0x2c354e),this[_0x534b45(0x2da)][_0x534b45(0x13b)]===0x0&&this[_0x534b45(0x1a0)]&&window['clearInterval'](this[_0x534b45(0x1a0)]);}[_0x34f845(0x229)](){const _0x3f9296=_0x34f845;this['disposeWithMe'](_0xdb27d8(_0x45bc46(window,_0x3f9296(0x2fc))[_0x3f9296(0x1a2)](_0x17fed8=>{const _0x2ce6cf=_0x3f9296;if(_0x17fed8[_0x2ce6cf(0x198)]!==ot||!_0x17fed8[_0x2ce6cf(0x1eb)])return;const _0x14284d=JSON[_0x2ce6cf(0x233)](_0x17fed8['newValue']);this['_handleEvent'](_0x14284d);}))),window[_0x3f9296(0x178)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x3f9296(0x29b)],'unitIDs':Array[_0x3f9296(0x19c)](this[_0x3f9296(0x2da)])}));}['_handleEvent'](_0x3809ac){const _0x35ce0d=_0x34f845;switch(_0x3809ac[_0x35ce0d(0x15a)]){case 0x0:this[_0x35ce0d(0x23e)](_0x3809ac);break;case 0x1:this[_0x35ce0d(0x247)](_0x3809ac);break;case 0x2:this[_0x35ce0d(0x1e0)](_0x3809ac);break;}}[_0x34f845(0x23e)](_0x111d1e){const _0x2d794e=_0x34f845,{unitIDs:_0x7c0e4f,memberID:_0x419860,isForwarded:_0x3259ed}=_0x111d1e;_0x7c0e4f['forEach'](_0x1fd494=>{const _0x10e676=_0x3b81;if(!_0x3259ed&&this[_0x10e676(0x2a0)][_0x10e676(0x135)](_0x1fd494)&&this[_0x10e676(0x28c)](_0x1fd494)[_0x10e676(0x329)](_0x133e93[_0x10e676(0x25c)]),!this[_0x10e676(0x2a0)][_0x10e676(0x135)](_0x1fd494)||!this['_unitOnClients'][_0x10e676(0x156)](_0x1fd494)['has'](_0x419860)){const _0xb744ae=this[_0x10e676(0x2a0)][_0x10e676(0x156)](_0x1fd494)||new Set();_0xb744ae[_0x10e676(0x231)](_0x419860),this[_0x10e676(0x2a0)][_0x10e676(0x18f)](_0x1fd494,_0xb744ae),this[_0x10e676(0x2ae)](_0x419860);}}),_0x3259ed||this[_0x2d794e(0x2ac)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2d794e(0x2da)]],'isForwarded':!0x0});}[_0x34f845(0x2ae)](_0x30e8d1){const _0x24404e=_0x34f845;this[_0x24404e(0x2b3)](_0x30e8d1);const _0x4c376c=window['setTimeout'](()=>{const _0x5ed152=_0x24404e;this['_unitOnClients'][_0x5ed152(0x18e)](_0xd780a6=>{const _0x53c6aa=_0x5ed152;_0xd780a6[_0x53c6aa(0x1fe)](_0x30e8d1);});},rt*0x2);this['_clearOtherTimers']['set'](_0x30e8d1,_0x4c376c);}[_0x34f845(0x2b3)](_0x17de1c){const _0x597d82=_0x34f845;if(this[_0x597d82(0x220)][_0x597d82(0x135)](_0x17de1c)){const _0x1f71c4=this['_clearOtherTimers'][_0x597d82(0x156)](_0x17de1c);_0x1f71c4&&window[_0x597d82(0x2a8)](_0x1f71c4),this['_clearOtherTimers'][_0x597d82(0x18f)](_0x17de1c,null);}}[_0x34f845(0x247)](_0x1d34e5){const _0x50fc24=_0x34f845,{memberID:_0x1f80df,unitIDs:_0x49f831}=_0x1d34e5;_0x49f831[_0x50fc24(0x18e)](_0x275339=>{const _0x331b14=_0x50fc24;var _0x16dd64;const _0x2551bf=this[_0x331b14(0x2a0)][_0x331b14(0x156)](_0x275339);_0x2551bf&&(_0x2551bf[_0x331b14(0x1fe)](_0x1f80df),(_0x16dd64=this[_0x331b14(0x28c)](_0x275339))==null||_0x16dd64[_0x331b14(0x329)](_0x2551bf['size']===0x0?_0x133e93[_0x331b14(0x184)]:_0x133e93['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x1f80df);}[_0x34f845(0x1e0)](_0x85da85){const _0x5a9c62=_0x34f845;this[_0x5a9c62(0x2ae)](_0x85da85[_0x5a9c62(0x25d)]);}['_send'](_0x484e1f){const _0x1f4218=_0x34f845;localStorage[_0x1f4218(0x2e6)](ot,JSON[_0x1f4218(0x1d7)](_0x484e1f));}[_0x34f845(0x24d)](){const _0x2b9130=_0x34f845;this[_0x2b9130(0x1a0)]=window['setInterval'](()=>{const _0x4de553=_0x2b9130;this[_0x4de553(0x2ac)]({'type':0x2,'memberID':this[_0x4de553(0x29b)]});},rt);}[_0x34f845(0x28c)](_0x2afa37){const _0x52a91a=_0x34f845;return this['_unitStatus']['has'](_0x2afa37)||this[_0x52a91a(0x177)][_0x52a91a(0x18f)](_0x2afa37,new _0x172344(_0x133e93[_0x52a91a(0x184)])),this[_0x52a91a(0x177)]['get'](_0x2afa37);}}var wt=(_0xf2900b=>(_0xf2900b[_0xf2900b[_0x34f845(0x1b7)]=0x0]=_0x34f845(0x1b7),_0xf2900b[_0xf2900b['OK']=0x1]='OK',_0xf2900b[_0xf2900b[_0x34f845(0x1c1)]=0x2]='INTERNAL_ERROR',_0xf2900b[_0xf2900b[_0x34f845(0x218)]=0x3]=_0x34f845(0x218),_0xf2900b[_0xf2900b[_0x34f845(0x2b2)]=0x4]='NOT_FOUND',_0xf2900b[_0xf2900b[_0x34f845(0x2c2)]=0x5]=_0x34f845(0x2c2),_0xf2900b[_0xf2900b[_0x34f845(0x304)]=0x6]='ALREADY_EXISTS',_0xf2900b[_0xf2900b[_0x34f845(0x1cb)]=0x7]='INVALID_ARGUMENT',_0xf2900b[_0xf2900b[_0x34f845(0x1c5)]=0x8]=_0x34f845(0x1c5),_0xf2900b[_0xf2900b['COMPLETION_FINISHED']=0x9]=_0x34f845(0x224),_0xf2900b[_0xf2900b['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0xf2900b[_0xf2900b[_0x34f845(0x2dc)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xf2900b[_0xf2900b['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x34f845(0x12c),_0xf2900b[_0xf2900b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x34f845(0x318),_0xf2900b[_0xf2900b[_0x34f845(0x162)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xf2900b[_0xf2900b['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0xf2900b[_0xf2900b[_0x34f845(0x1af)]=0x1b5a]=_0x34f845(0x1af),_0xf2900b[_0xf2900b[_0x34f845(0x249)]=0x1b5b]=_0x34f845(0x249),_0xf2900b[_0xf2900b[_0x34f845(0x18c)]=0x1b5c]=_0x34f845(0x18c),_0xf2900b[_0xf2900b[_0x34f845(0x26a)]=0x1b5d]=_0x34f845(0x26a),_0xf2900b[_0xf2900b[_0x34f845(0x252)]=0x1f41]=_0x34f845(0x252),_0xf2900b[_0xf2900b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x34f845(0x2f8),_0xf2900b[_0xf2900b['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x34f845(0x1a3),_0xf2900b[_0xf2900b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x34f845(0x1a4),_0xf2900b[_0xf2900b[_0x34f845(0x1f7)]=0x232c]=_0x34f845(0x1f7),_0xf2900b[_0xf2900b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x34f845(0x18b),_0xf2900b[_0xf2900b[_0x34f845(0x161)]=0x2711]=_0x34f845(0x161),_0xf2900b[_0xf2900b[_0x34f845(0x276)]=0x2712]=_0x34f845(0x276),_0xf2900b[_0xf2900b['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x34f845(0x1f1),_0xf2900b[_0xf2900b[_0x34f845(0x19b)]=0x2714]=_0x34f845(0x19b),_0xf2900b[_0xf2900b['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xf2900b[_0xf2900b['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x34f845(0x145),_0xf2900b[_0xf2900b[_0x34f845(0x269)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0xf2900b[_0xf2900b[_0x34f845(0x1bf)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xf2900b[_0xf2900b[_0x34f845(0x265)]=0x2ee2]=_0x34f845(0x265),_0xf2900b[_0xf2900b['INVITE_CODE_REQUIRED']=0x2ee3]=_0x34f845(0x155),_0xf2900b[_0xf2900b[_0x34f845(0x1ba)]=0x2ee4]=_0x34f845(0x1ba),_0xf2900b[_0xf2900b['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x34f845(0x2cc),_0xf2900b[_0xf2900b[_0x34f845(0x12d)]=0x32c9]=_0x34f845(0x12d),_0xf2900b[_0xf2900b['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x34f845(0x173),_0xf2900b[_0xf2900b[_0x34f845(0x258)]=0x32cb]=_0x34f845(0x258),_0xf2900b[_0xf2900b['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0xf2900b))(wt||{}),Rn=Object[_0x34f845(0x157)],Dn=(_0x16a0e9,_0x32b89f,_0x18764d,_0x41de9e)=>{for(var _0x3f3631=_0x41de9e>0x1?void 0x0:_0x41de9e?Rn(_0x32b89f,_0x18764d):_0x32b89f,_0x5082d9=_0x16a0e9['length']-0x1,_0x26b1da;_0x5082d9>=0x0;_0x5082d9--)(_0x26b1da=_0x16a0e9[_0x5082d9])&&(_0x3f3631=_0x26b1da(_0x3f3631)||_0x3f3631);return _0x3f3631;},Te=(_0x59754f,_0x45ace8)=>(_0x3dd714,_0x2288ba)=>_0x45ace8(_0x3dd714,_0x2288ba,_0x59754f);let at=class extends _0x4ac1a9{constructor(_0x45bc72,_0x5d1788,_0x5f53a4){const _0x3f166e=_0x34f845;super(),this[_0x3f166e(0x257)]=_0x45bc72,this[_0x3f166e(0x2cd)]=_0x5d1788,this[_0x3f166e(0x290)]=_0x5f53a4;}async[_0x34f845(0x2e5)](_0x39c46e,_0x58e7f8,_0x19bfae,..._0x2867a8){const _0x4285dd=_0x34f845;var _0x3cb5b0,_0x444225,_0xe607e7,_0x9e1b18;const _0x556bcd=this[_0x4285dd(0x257)][_0x4285dd(0x32e)]();if(!_0x556bcd)throw new Error(_0x4285dd(0x323));const _0x30f8da=((_0x3cb5b0=this[_0x4285dd(0x290)]['getConfig'](_0xc30bfb))!=null?_0x3cb5b0:_0x30d773)+'/'+_0x39c46e+_0x4285dd(0x167)+_0x58e7f8,_0x429aa5=new URL(window['location'][_0x4285dd(0x326)]),_0x105e8f={'scriptId':_0x39c46e,'runId':(_0x444225=_0x429aa5['searchParams'][_0x4285dd(0x156)](_0x4285dd(0x2b7)))!=null?_0x444225:'','function':_0x58e7f8,'unitId':_0x556bcd[_0x4285dd(0x18d)](),'argsOfFunction':JSON['stringify'](_0x2867a8),'invokeId':(_0xe607e7=_0x19bfae['invokeId'])!=null?_0xe607e7:'','executionId':(_0x9e1b18=_0x19bfae[_0x4285dd(0x244)])!=null?_0x9e1b18:''};try{const _0x3326d3=await this[_0x4285dd(0x2cd)][_0x4285dd(0x24f)](_0x30f8da,{'body':_0x105e8f});return _0x3326d3[_0x4285dd(0x292)][_0x4285dd(0x223)]&&_0x3326d3[_0x4285dd(0x292)]['error']['code']!==wt['OK']?'Failed':_0x3326d3[_0x4285dd(0x292)][_0x4285dd(0x1db)];}catch{return _0x4285dd(0x1fa);}}};at=Dn([Te(0x0,_0x63e8d),Te(0x1,_0x22b534(_0x57454a)),Te(0x2,_0x511a60)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -1 +1 @@
1
- const _0x44f8d6=_0x5938;(function(_0x13c72c,_0x35861f){const _0x578c87=_0x5938,_0xe572fa=_0x13c72c();while(!![]){try{const _0x50ca3f=-parseInt(_0x578c87(0x11a))/0x1+-parseInt(_0x578c87(0x115))/0x2+parseInt(_0x578c87(0x116))/0x3+-parseInt(_0x578c87(0x111))/0x4+parseInt(_0x578c87(0x113))/0x5*(-parseInt(_0x578c87(0x11f))/0x6)+-parseInt(_0x578c87(0x117))/0x7+parseInt(_0x578c87(0x11e))/0x8;if(_0x50ca3f===_0x35861f)break;else _0xe572fa['push'](_0xe572fa['shift']());}catch(_0x2fc44b){_0xe572fa['push'](_0xe572fa['shift']());}}}(_0x2031,0x2819c));function _0x5938(_0x3c61bd,_0x4dacf8){const _0x203109=_0x2031();return _0x5938=function(_0x5938d2,_0x59a6a0){_0x5938d2=_0x5938d2-0x109;let _0x40166b=_0x203109[_0x5938d2];return _0x40166b;},_0x5938(_0x3c61bd,_0x4dacf8);}const e={'collab-client':{'tooltip':{'reconnect':_0x44f8d6(0x10a)}},'collabStatus':{'fetchMiss':_0x44f8d6(0x10f),'conflict':_0x44f8d6(0x10c),'notCollab':_0x44f8d6(0x118),'synced':'Synced','syncing':_0x44f8d6(0x114),'offline':_0x44f8d6(0x110)},'session':{'connection-failed':_0x44f8d6(0x10e),'will-retry':_0x44f8d6(0x119),'room-full':_0x44f8d6(0x10d),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x44f8d6(0x109),'content':_0x44f8d6(0x11b)},'permission':{'title':_0x44f8d6(0x11c),'content':_0x44f8d6(0x112)},'collaboration':{'single-unit':{'warning':_0x44f8d6(0x10b)},'closeRoom':_0x44f8d6(0x120)},'auth':{'needGotoLoginAlert':_0x44f8d6(0x11d)}};function _0x2031(){const _0x4964b3=['Local\x20file','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','111630ICKskT','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.','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3448824WEgSjj','36qNzPNU','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20Conflict','Click\x20to\x20Reconnect','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing\x20server\x20data...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','148248lvulcy','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','22865UvHaku','Syncing...','597342pqxFad','722088srPJOP','229222KdWVan'];_0x2031=function(){return _0x4964b3;};return _0x2031();}export{e as default};
1
+ const _0x1515ab=_0x4f92;function _0x4f92(_0xa823bb,_0x144ece){const _0x2db557=_0x2db5();return _0x4f92=function(_0x4f92e9,_0x578d16){_0x4f92e9=_0x4f92e9-0x145;let _0xa19ae=_0x2db557[_0x4f92e9];return _0xa19ae;},_0x4f92(_0xa823bb,_0x144ece);}function _0x2db5(){const _0x22fb59=['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.','Collaboration\x20Conflict','56vRnqfT','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Click\x20to\x20Reconnect','30224gzcbhI','2110eQHhid','2199SCucNm','480103scYZmb','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','Local\x20file','161484GKxlYc','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1604cvtoRM','Syncing\x20server\x20data...','88gFWWju','154vNkaPU','418rsdEju','1450Lvgbmd','Edit\x20conflicts','2004aVqdSs','4835HDXlFg','3330OOLVvf','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'];_0x2db5=function(){return _0x22fb59;};return _0x2db5();}(function(_0x4b67b5,_0xd821e1){const _0x1c11d0=_0x4f92,_0x1d6109=_0x4b67b5();while(!![]){try{const _0x53d8c8=-parseInt(_0x1c11d0(0x14a))/0x1*(parseInt(_0x1c11d0(0x149))/0x2)+parseInt(_0x1c11d0(0x157))/0x3*(-parseInt(_0x1c11d0(0x145))/0x4)+-parseInt(_0x1c11d0(0x14d))/0x5*(-parseInt(_0x1c11d0(0x14c))/0x6)+-parseInt(_0x1c11d0(0x152))/0x7*(-parseInt(_0x1c11d0(0x155))/0x8)+parseInt(_0x1c11d0(0x14e))/0x9*(-parseInt(_0x1c11d0(0x156))/0xa)+parseInt(_0x1c11d0(0x147))/0xb*(parseInt(_0x1c11d0(0x15c))/0xc)+parseInt(_0x1c11d0(0x158))/0xd*(parseInt(_0x1c11d0(0x148))/0xe);if(_0x53d8c8===_0xd821e1)break;else _0x1d6109['push'](_0x1d6109['shift']());}catch(_0x267b68){_0x1d6109['push'](_0x1d6109['shift']());}}}(_0x2db5,0x2ee2e));const e={'collab-client':{'tooltip':{'reconnect':_0x1515ab(0x154)}},'collabStatus':{'fetchMiss':_0x1515ab(0x146),'conflict':_0x1515ab(0x14b),'notCollab':_0x1515ab(0x15b),'synced':_0x1515ab(0x15a),'syncing':'Syncing...','offline':_0x1515ab(0x14f)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x1515ab(0x153)},'conflict':{'title':_0x1515ab(0x151),'content':_0x1515ab(0x150)},'permission':{'title':'Authentication\x20Error','content':_0x1515ab(0x159)},'collaboration':{'single-unit':{'warning':_0x1515ab(0x15d)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1515ab(0x15e)}};export{e as default};
@@ -1 +1 @@
1
- const _0x505d8e=_0x4e7e;function _0x4e7e(_0x8d542,_0x21495d){const _0x55ce44=_0x55ce();return _0x4e7e=function(_0x4e7e68,_0x503be8){_0x4e7e68=_0x4e7e68-0x17f;let _0x28f966=_0x55ce44[_0x4e7e68];return _0x28f966;},_0x4e7e(_0x8d542,_0x21495d);}(function(_0x517cb5,_0x34e0eb){const _0x547aab=_0x4e7e,_0x39270a=_0x517cb5();while(!![]){try{const _0x40e80b=-parseInt(_0x547aab(0x18f))/0x1+-parseInt(_0x547aab(0x183))/0x2+-parseInt(_0x547aab(0x189))/0x3+-parseInt(_0x547aab(0x190))/0x4+-parseInt(_0x547aab(0x180))/0x5+parseInt(_0x547aab(0x18b))/0x6+parseInt(_0x547aab(0x191))/0x7;if(_0x40e80b===_0x34e0eb)break;else _0x39270a['push'](_0x39270a['shift']());}catch(_0x2ae222){_0x39270a['push'](_0x39270a['shift']());}}}(_0x55ce,0xc75a6));const o={'collab-client':{'tooltip':{'reconnect':_0x505d8e(0x193)}},'collabStatus':{'fetchMiss':_0x505d8e(0x184),'conflict':_0x505d8e(0x185),'notCollab':_0x505d8e(0x181),'synced':_0x505d8e(0x192),'syncing':_0x505d8e(0x18e),'offline':_0x505d8e(0x182)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x505d8e(0x18d),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x505d8e(0x18a)},'conflict':{'title':_0x505d8e(0x194),'content':_0x505d8e(0x18c)},'permission':{'title':_0x505d8e(0x188),'content':_0x505d8e(0x186)},'collaboration':{'single-unit':{'warning':_0x505d8e(0x187)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x505d8e(0x17f)}};function _0x55ce(){const _0x5ae941=['ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','2780145BoIbJu','پرونده\x20محلی','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','1103790rLtxVp','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','تداخل\x20ویرایش','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','خطای\x20اعتبارسنجی','4500309LIAfHy','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','3862932XnIrGH','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','در\x20حال\x20همگام\x20سازی...','1287988TgREnW','1965296hjMqtc','31920469POCKbP','همگام\x20سازی','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','تداخل\x20همکاری'];_0x55ce=function(){return _0x5ae941;};return _0x55ce();}export{o as default};
1
+ function _0x37f5(){const _0x1af531=['573392cxajCB','تداخل\x20همکاری','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','1127wLpWcc','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','49RrZJeR','1158576JqkPsc','218OUAOoO','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','2575368EmSyOJ','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','223443RuouIn','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','پرونده\x20محلی','همگام\x20سازی','5955890GKGKzV','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','1433241Rfhxft','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','5guoktK'];_0x37f5=function(){return _0x1af531;};return _0x37f5();}const _0x20a4d8=_0x194d;function _0x194d(_0x5bc85c,_0x4a3143){const _0x37f538=_0x37f5();return _0x194d=function(_0x194d6d,_0x3b45da){_0x194d6d=_0x194d6d-0x1ba;let _0x4e430e=_0x37f538[_0x194d6d];return _0x4e430e;},_0x194d(_0x5bc85c,_0x4a3143);}(function(_0x21f182,_0x29d992){const _0xd7251=_0x194d,_0x2fa37c=_0x21f182();while(!![]){try{const _0x2ee7f8=parseInt(_0xd7251(0x1c0))/0x1*(-parseInt(_0xd7251(0x1c6))/0x2)+-parseInt(_0xd7251(0x1cb))/0x3+parseInt(_0xd7251(0x1c5))/0x4*(parseInt(_0xd7251(0x1bc))/0x5)+parseInt(_0xd7251(0x1c9))/0x6+-parseInt(_0xd7251(0x1c4))/0x7*(-parseInt(_0xd7251(0x1bd))/0x8)+parseInt(_0xd7251(0x1d1))/0x9+-parseInt(_0xd7251(0x1cf))/0xa;if(_0x2ee7f8===_0x29d992)break;else _0x2fa37c['push'](_0x2fa37c['shift']());}catch(_0x5d6f16){_0x2fa37c['push'](_0x2fa37c['shift']());}}}(_0x37f5,0x8f4ae));const o={'collab-client':{'tooltip':{'reconnect':_0x20a4d8(0x1bf)}},'collabStatus':{'fetchMiss':_0x20a4d8(0x1c8),'conflict':'تداخل\x20ویرایش','notCollab':_0x20a4d8(0x1cd),'synced':_0x20a4d8(0x1ce),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x20a4d8(0x1bb)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x20a4d8(0x1c3),'room-full':_0x20a4d8(0x1c2),'collaboration-timeout':_0x20a4d8(0x1cc)},'conflict':{'title':_0x20a4d8(0x1be),'content':_0x20a4d8(0x1c7)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x20a4d8(0x1d0)},'collaboration':{'single-unit':{'warning':_0x20a4d8(0x1ba)},'closeRoom':_0x20a4d8(0x1ca)},'auth':{'needGotoLoginAlert':_0x20a4d8(0x1c1)}};export{o as default};