@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504221607 → 0.6.10-nightly.202504241607
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x86a805=_0x4594;(function(_0x451c2e,_0x58ed4d){const _0x2e0fae=_0x4594,_0x54b286=_0x451c2e();while(!![]){try{const _0x235149=-parseInt(_0x2e0fae(0x1f2))/0x1*(parseInt(_0x2e0fae(0x373))/0x2)+-parseInt(_0x2e0fae(0x196))/0x3*(parseInt(_0x2e0fae(0x2de))/0x4)+-parseInt(_0x2e0fae(0x215))/0x5+-parseInt(_0x2e0fae(0x1c2))/0x6*(-parseInt(_0x2e0fae(0x2ec))/0x7)+parseInt(_0x2e0fae(0x259))/0x8*(-parseInt(_0x2e0fae(0x306))/0x9)+-parseInt(_0x2e0fae(0x252))/0xa+parseInt(_0x2e0fae(0x22c))/0xb*(parseInt(_0x2e0fae(0x213))/0xc);if(_0x235149===_0x58ed4d)break;else _0x54b286['push'](_0x54b286['shift']());}catch(_0x39f0cf){_0x54b286['push'](_0x54b286['shift']());}}}(_0x1d15,0x6b9ae));var Bt=Object[_0x86a805(0x33d)],kt=(_0x4353a7,_0x4a732d,_0x1e92d2)=>_0x4a732d in _0x4353a7?Bt(_0x4353a7,_0x4a732d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e92d2}):_0x4353a7[_0x4a732d]=_0x1e92d2,_=(_0xa18c14,_0xbfd991,_0x20bf12)=>kt(_0xa18c14,typeof _0xbfd991!=_0x86a805(0x178)?_0xbfd991+'':_0xbfd991,_0x20bf12);import{MemberService as _0x4254e9,SessionStatus as _0x48c2ef,CollaborationSessionService as _0x1c0a48,CollaborationStatus as _0x185889,CollaborationController as _0x1c5104,ILocalCacheService as _0x2f93fc,CollaborationUIEventService as _0x1237de,CollaborationUIEventId as _0x57be84,DataLoaderService as _0x31df32,DocCollaborationEntity as _0x5706ec,getLocalCacheKey as _0x3362f8,LOCAL_CACHE_INTERVAL as _0x2cc217,LOCAL_CACHE_INTERVAL_KEY as _0x1160db,UniverCollaborationClientPlugin as _0x3ae7ce,CollaborationSocketService as _0xc74cd5,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x33a672,DEFAULT_WS_SESSION_TICKET_URL as _0x2702ba,UnitStatus as _0x8c34b9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1374d1,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x113642}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0xb123e2,Disposable as _0x413335,DOC_RANGE_TYPE as _0x30e768,Inject as _0x545293,Injector as _0xd016db,IUniverInstanceService as _0x3b4d53,ICommandService as _0x27119f,debounce as _0x395ecb,Rectangle as _0x4392ad,DisposableCollection as _0x377b6b,toDisposable as _0x571cee,UniverInstanceType as _0x5e1ff3,Tools as _0x168ff4,COLORS as _0x26d279,ColorKit as _0x2e19d1,ThemeService as _0x1eaa15,fromEventSubject as _0x580ec3,LocaleService as _0x31b4bf,createIdentifier as _0x571548,ILogService as _0x1439a0,Optional as _0x3026a9,Workbook as _0x1038c2,CommandType as _0x29bf00,IConfigService as _0x48306b,ILocalStorageService as _0x3734d1,DependentOn as _0x49e5b2,Plugin as _0x51a27e,merge as _0x27f3ab,registerDependencies as _0x541539,mergeOverrideWithDependencies as _0x2c8e86,touchDependencies as _0xd5aa2e,generateRandomId as _0x49a986}from'@univerjs/core';import{Shape as _0x48deee,Rect as _0x48588e,getColor as _0xf39730,RegularPolygon as _0x59edba,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x295533,Vector2 as _0x5c22fd,SHEET_VIEWPORT_KEY as _0x1bde1a,IRenderManagerService as _0x293f75}from'@univerjs/engine-render';import{ISocketService as _0x97dc22,WebSocketService as _0x49dc8d,HTTPService as _0x231e97}from'@univerjs/network';import{IDocClipboardService as _0x2c8b74,NodePositionConvertToCursor as _0x3d8185,NodePositionConvertToRectRange as _0x6af631,TEXT_RANGE_LAYER_INDEX as _0x2b96c7,SetDocZoomRatioOperation as _0x24bb32,DocIMEInputManagerService as _0x34b76a,DocStateChangeManagerService as _0x54f7c6}from'@univerjs/docs-ui';import{IImageIoService as _0x165249}from'@univerjs/drawing';function _0x1d15(){const _0x49adcc=['event$','getActiveRange','getItem','_univerInstanceService','editingUnit','setTimeout','PERMISSION_DENIED','_collabSessionService','tag','session.will-retry','collab-rect-range-','currentColor','subscribe','11534633EANlyC','HEADER_MENU','_getSessionTicket','translate(.97)','show','_initResize','arc','_memberService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getUnitId','_anchor','eventID','LICENSE_IMPORT_SIZE_EXCEEDED','getMemberID','mutations','_toggleOffline','m1Prime','requireSession','random','setActiveRange','_transformPreviousActiveRange','unshift','_instanceService','NOT_COLLAB','round','wsSessionTicketUrl','collabCursorState$','unitID','transformRemoteChangeset','CONFLICT','disableLocalCache','_entities','_updateLocalCursor','find','measureText','on-line-single_clip0_910_349','/run/','APPLY_PERMISSION_DENIED','2354450aVlHkt','_initStatusComponent','_drawTextRange','then','replace','OnLineSingle','_removeCollabCursors','325912TWrAgN','assign','JOIN_ROOM_FAILED','idSuffix','_transformUndoRedoStack','transformMutationsWithChangeset','UNDEFINED','has','column','_handleLeaveEvent','_renderManagerService','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','unsubscribe','_context','hasOwnProperty','syncEditingCollabCursor','LICENSE_DISTRO_REJECTED','sheetID','_handleHeartbeatEvent','APPLY_DUPLICATED','_logService','_document','_getSaveTimeout','getUnitStatus$','getCollabEntity$','getCollabCursors$','OTHER_CLIENT_EDITING','_collaborationUIEventService','_registerRenderDependencies','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','invokeId','M0\x200H16V16H0z','_docStateChangeManagerService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','collabStatus.offline','_color','_beforeCloseService','clearInterval','_localCacheService','collabStatus.synced','NOT_FOUND','fill','_removeClearOtherTimer','ranges','_shapes','_registerDependencies','_lastPointer','addObject','dispose$','_toggleOnline','_eventUnsubscribe','selection','_refreshCollabCursors','USER_NOT_INVITED_CODE','OffLineSingle','url(#off-line-single_clip0_910_343)','transformIMECache','collab-client.tooltip.reconnect','_docTransformStateCacheService','UNIVER_SHEET','hovered','_clearOtherTimers','onPointerLeave$','_setupSubUnitSync','disposeWithMe','createSocket','status$','transform','application/json','_scheduleSaving','_render','init','_cachedData','range','createInstance','univer-online-status-icon','UNIVER_DOC','subunit','INVALID_ARGUMENT','getConfig','MUTATION','_doCreateSocket','_status$','setShapeProps','SYNCED','engine','...','1em','focused$','WECHAT_HAS_BEEN_BOUND','YUUMI_URL_COL_OUT_OF_RANGE','_id','roomMembers','_updateSubUnitFromURLParams','_roomMembers$','startRow','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','flatMap','registerRefRange','substring','univer-online-status','redoState','_unitStatus','_initStatusListener','current','_localeService','YUUMI_NO_CUBOID_FOR_QUESTION','activeSheet$','getDocRanges','_backgroundColor','_initDependencies','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docSkeletonManagerService','source','bottom','height','reconnect','_anchorDot','runId','permission.content','textRanges','drawWith','_notificationService','get','setItem','_initEvent','defs','Error','_colorAssignService','url(#$1','CONNECTOR_DATA_TOO_LARGE','startColumn','INTERNAL_ERROR','8OsJFwe','pushState','uni.network.url-service','_collabCursorState$','COMPLETION_FINISHED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_refRangeService','cursorInfo$','forEach','entries','YUUMI_ASYNCIO_CANCELLED','_dataLoaderService','row','attrs','14NBpPyS','_heartbeatTimer','name','NO_OTHER_CLIENTS_EDITING','InsertRangeMoveDownCommandId','className','getUndoRedoMutationParamsCache','INVITE_CODE_ALREADY_BOUND','CHANGESET_REVISION_CONFILICT','addHandlerCallback','asObservable','getCellPositionByOffset','path','0\x200\x2017\x2016','offline','getViewport','whenReady','pluginName','with','collaboration-client.offline-data-not-saved','subscribeEvent','_themeService','unit','length','addObjects','triggerDblclick','54gkxMDV','_docSyncEditingCollabCursorService','setParam','type','SNAPSHOT_HAS_BEEN_REMOVED','lineTo','sheetId','SOCKET_FAILED_RETRY','getValue','loadOfflineData','svg','verdancy600','_init','_handleJoinEvent','currentTheme$','clipPath','push','_saveCache','getTypeOfUnitDisposed$','onTransformChange$','UNRECOGNIZED','APPLY_REVISION_CONFILICT','_sheetSkeletonManagerService','searchParams','setStateCache','red300','override','_updateCollabCursors','registerBeforeClose','_drawAnchor','newValue','registerRenderModule','OFFLINE','TEXT','values','_scheduleHeartbeat','hide','function','purple300','prototype','gold400','DeleteRangeMoveLeftCommandId','_unitOnClients','_injector','#FFF','AWAITING_WITH_PENDING','undoState','DeleteRangeMoveUpCommandId','generateRandomId','unitId','data','session.collaboration-timeout','APPLY_NON_SEQUENTIAL_REVISION','subUnitId','dispose','defineProperty','_labelPosition','_scene','getMember','_entityInit$','_config','univer-online-status-title','collabStatus.syncing','getRenderById','_initCommandExecutedListener','InsertRangeMoveRightCommandId','params','updateOfflineData','getTypeOfUnitAdded$','complete','PENDING','ONLINE','call','MoveRangeCommandId','getCurrentSelections','_textBubble','delete','apply','string','text','_messageService','sessionTicket','color','RECT','transformMutation','getSheetBySheetId','getSheetId','displayName','indexOf','collabStatus.conflict','_online','YUUMI_UNABLE_LOAD_URL','getUniverSheetInstance','_initEntityListener','add','ACTIVE_UNIT_EVENT_CHANNEL','session.connection-failed','replaceState','enableLocalCache','univer-flex\x20univer-items-center','_saveTaskMap','error','toString','parse','off-line-single','_getSheetObject','defIds','storage','_transformService','18014azRkHR','evenodd','_docClipboardService','SOCKET_FAILED','_startSheetCollabCursor','LICENSE_EXPORT_SIZE_EXCEEDED','next','getOwnPropertyDescriptor','collaboration.closeRoom','_range','cursorInfo','_collaborationController','contains','symbol','_docSkeleton','CLOSE_ROOM','YUUMI_SUBSCRIPTION_NOT_FOUND','saveOfflineData','EMAIL_HAS_BEEN_BOUND','OTHER_CLIENTS_EDITING','FETCH_MISS','_onCursorUpdate','fillStyle','top','ENSURE_SNAPSHOT_EXECUTION','location','getFocusedUnit','doc.mutation.rich-text-editing','_createSocketURL','trim','getActiveSheet','AWAITING','_setupBeforeClosingHandler','getRangePointData','_onRefRangeChange','InsertColCommandId','_hovered','memberID','ALREADY_EXISTS','_syncEditingCollabCursorService','onRendered','toRgbString','MOBILE_HAS_BEEN_BOUND','412974dciMOr','sessionStatus$','assignAColorForMemberID','executeCommand','save','propertyIsEnumerable','transformSelections','setAlpha','_docTransformIMECacheService','UPDATE_CURSOR','Unknown\x20user','off-line-single_clip0_910_343','set','deepClone','_cursor','split','_cursors','isEditing','_transformHistoryAndStateStack','setUndoRedoMutationParamsCache','isArray','_httpService','imageSourceType','_handleEvent','_cursorShapes','children','findNodePositionByCharIndex','_selfUnitIDs','_name','mask','_commandService','stringify','rgba(255,\x20255,\x20255,\x200.01)','history','_assignedColors','makeDirty','SNAPSHOT_INVALID_SNAPSHOT','_cursorInfo$','debug','resize','univerjs-icon\x20univerjs-icon-','LICENSE_MAX_UNITS_EXCEEDED','_urlService','colorChannel1','671418uoRYGy','TOO_MANY_REQUESTS','Failed','onPointerEnter$','0\x200\x2016\x2016','PY_RUNTIME_SCRIPT_ERROR','on-line-single','currentSkeleton$','replaceDocRanges','addClipboardHook','_startDocCollabCursor','_draw','collab-text-range-','restore','_hideTimer','div','getRelativeToViewportCoord','popstate','_scheduleClearOtherTimer','online','selections','map','INVALID_INVITE_CODE','endColumn','_uiPartsService','univer-offline','black','_localStorageService','LOGIN_FAILED','_hover','href','getParam','onStarting','code','urlChange$','extend','_drawRectRange','_docTransformSelectionsService','result','_handleHover','entityInit$','body','_onCursorDelete','[CollaborationDataLoaderController]','INVITE_CODE_REQUIRED','_disabled','_getAnchorBounding','_configService','4ermkCj','m2Prime','saveTaskMap','width','_send','VIEW_MAIN','#fff','getStateCache','onCommandExecuted','getMergeData','collaboration.single-unit.warning','removeParam','getOwnPropertySymbols','_updateURLWithCurrentState','YUUMI_RATE_OVER_LIMIT','blue400','APPLY_REJECT','onMouseMove','USERS_LEAVE','pipe','concat','closePath','_revisionService','send','use','url(#on-line-single_clip0_910_349)','getAncestorScale','_session','clearTimeout','_ensureSubject','fillText','isActive','Warning','12ypUDgg','size','202180SJUPUR','origin','UniverIcon','backgroundColor','RemoveColCommandId','from','collab-text-anchor-','disposeUnit','icon','getSkeleton'];_0x1d15=function(){return _0x49adcc;};return _0x1d15();}import{BehaviorSubject as _0x5bcfa8,debounceTime as _0xd328d8,takeUntil as _0x51fbbc,Subject as _0x2fbe72,filter as _0x5c1e9b,switchMap as _0x385b28,merge as _0x3bf1a6,combineLatest as _0xf7d9e2,of as _0x2404b0,fromEvent as _0x1185c0,shareReplay as _0x39811f,mapTo as _0x1cbba8,distinctUntilChanged as _0x410251}from'rxjs';import{SetTextSelectionsOperation as _0x17ffb8,RichTextEditingMutation as _0x1fd37e,DocSelectionManagerService as _0x40410e,DocSkeletonManagerService as _0x35d61b}from'@univerjs/docs';import{ITransformService as _0x5241f1,CollaborationEvent as _0x36fd87,isTransformMutationFailure as _0x503208,isTransformMutationsWithChangesetSuccess as _0x13d2b8,RevisionService as _0x1f48b9,ISnapshotServerService as _0x4fc4d8}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x96a6cf,serializeRangeWithSheet as _0x2aa332}from'@univerjs/engine-formula';import{RefRangeService as _0x4d8f62,SetSelectionsOperation as _0x2c0c3d,SheetsSelectionsService as _0x5885ee,EffectRefRangId as _0x4b2a35,handleIRemoveRow as _0x45de1d,handleIRemoveCol as _0x213a7d,handleMoveRange as _0x223707,handleInsertRow as _0x51d76c,handleInsertRangeMoveRight as _0x3c3473,handleInsertRangeMoveDown as _0x4b1610,handleInsertCol as _0x4d102b,handleDeleteRangeMoveUp as _0x1b2a2b,handleDeleteRangeMoveLeft as _0x551093,runRefRangeMutations as _0x50ffee,SetWorksheetActivateCommand as _0x2e0678}from'@univerjs/sheets';import{map as _0x169f56,filter as _0xc45b71,throttleTime as _0x325872,takeUntil as _0x567084,switchMap as _0x5d3754}from'rxjs/operators';import{SheetSkeletonManagerService as _0x17ce2b,getCoordByCell as _0x365e27,getSheetObject as _0x4dd264}from'@univerjs/sheets-ui';import{jsx as _0x2a7306,jsxs as _0x3c0c6a}from'react/jsx-runtime';import{useObservable as _0x52d375,useDependency as _0x3ced37,IUIPartsService as _0x13c01c,BuiltInUIPart as _0x4d1246,connectInjector as _0x105aa6,IBeforeCloseService as _0x422070,IMessageService as _0x21bd27,INotificationService as _0x59f9b4}from'@univerjs/ui';import{clsx as _0x530cb9,Tooltip as _0x67b36c,MessageType as _0x2baf77}from'@univerjs/design';import{forwardRef as _0x372972,useRef as _0xfd6f42,createElement as _0x5678ba,useCallback as _0x127ea7}from'react';import{IRemoteInstanceService as _0x58ce1d}from'@univerjs/rpc';var li=Object[_0x86a805(0x172)],_i=(_0x21a8cc,_0x632f18,_0x5c0052,_0x3f5173)=>{const _0x32a696=_0x86a805;for(var _0x4ba3df=_0x3f5173>0x1?void 0x0:_0x3f5173?li(_0x632f18,_0x5c0052):_0x632f18,_0x5cbcd1=_0x21a8cc[_0x32a696(0x303)]-0x1,_0x127cc1;_0x5cbcd1>=0x0;_0x5cbcd1--)(_0x127cc1=_0x21a8cc[_0x5cbcd1])&&(_0x4ba3df=_0x127cc1(_0x4ba3df)||_0x4ba3df);return _0x4ba3df;},Qe=(_0x4cd2e4,_0x473781)=>(_0x1e39a6,_0x1b0673)=>_0x473781(_0x1e39a6,_0x1b0673,_0x4cd2e4);let Ue=class extends _0xb123e2{constructor(_0x157b18,_0x3c071d){const _0x2e2f87=_0x86a805;super(),this[_0x2e2f87(0x375)]=_0x157b18,this['_imageIoService']=_0x3c071d,this[_0x2e2f87(0x312)]();}[_0x86a805(0x312)](){const _0x398e00=_0x86a805,_0x4fddee=this;this[_0x398e00(0x299)](this['_docClipboardService'][_0x398e00(0x1cb)]({'onBeforePasteImage':async _0x3a145d=>{const _0x550896=_0x398e00,_0x416a95=await _0x4fddee['_imageIoService']['saveImage'](_0x3a145d);return _0x416a95?{'source':_0x416a95[_0x550896(0x2ca)],'imageSourceType':_0x416a95[_0x550896(0x1ac)]}:null;}}));}};Ue=_i([Qe(0x0,_0x2c8b74),Qe(0x1,_0x165249)],Ue);const qe=[_0x86a805(0x32c),'jiqing500',_0x86a805(0x311),_0x86a805(0x31f),_0x86a805(0x201),_0x86a805(0x32e)];class He extends _0x413335{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x5d6695){const _0x57db5e=_0x86a805;if(this[_0x57db5e(0x1b8)][_0x57db5e(0x260)](_0x5d6695))return this[_0x57db5e(0x1b8)][_0x57db5e(0x2d4)](_0x5d6695);const _0x2e844c=qe[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%qe[_0x57db5e(0x303)],this[_0x57db5e(0x1b8)][_0x57db5e(0x1a2)](_0x5d6695,_0x2e844c),_0x2e844c;}}function Dt(_0x4c8539){const _0x3cdbf0=_0x86a805;let _0x2da0e0='';for(const _0x10680e of _0x4c8539){const {startOffset:_0xf2781a,endOffset:_0x1bb13e,isActive:_0x1161a3,rangeType:_0x1a81c3,segmentId:_0x55740d,segmentPage:_0x860b96}=_0x10680e;_0x2da0e0[_0x3cdbf0(0x303)]&&(_0x2da0e0+=','),_0x2da0e0+=_0xf2781a+':'+_0x1bb13e+':'+(_0x1161a3?'1':'0')+':'+_0x1a81c3+':'+_0x55740d+':'+_0x860b96;}return _0x2da0e0;}function hi(_0xdbbd84){const _0x1aef30=_0x86a805,_0x4ddb11=_0xdbbd84[_0x1aef30(0x1a5)](','),_0x4e2fd4=[];for(const _0x287986 of _0x4ddb11){const [_0xd2d732,_0x302e20,_0x48a87f,_0x1b2d66,_0x45a9e9,_0x236e88]=_0x287986[_0x1aef30(0x1a5)](':');_0x4e2fd4[_0x1aef30(0x316)]({'startOffset':Number(_0xd2d732),'endOffset':Number(_0x302e20),'collapsed':_0xd2d732===_0x302e20,'isActive':_0x48a87f==='1','rangeType':_0x1b2d66===_0x30e768[_0x1aef30(0x327)]?_0x30e768[_0x1aef30(0x327)]:_0x30e768[_0x1aef30(0x359)],'segmentId':typeof _0x45a9e9==_0x1aef30(0x354)?String(_0x45a9e9):'','segmentPage':Number(_0x236e88!=null?_0x236e88:-0x1)});}return _0x4e2fd4['some'](_0x2f77e5=>_0x2f77e5['isActive'])||(_0x4e2fd4[0x0][_0x1aef30(0x211)]=!0x0),_0x4e2fd4;}class je extends _0xb123e2{constructor(){const _0x4d5fb0=_0x86a805;super(...arguments),_(this,_0x4d5fb0(0x2e1),new _0x5bcfa8(null)),_(this,'collabCursorState$',this[_0x4d5fb0(0x2e1)][_0x4d5fb0(0x2f6)]());}[_0x86a805(0x268)](_0x5aea63){const _0x32b4a4=_0x86a805,{unitID:_0x2d9141,memberID:_0x4712a3,textRanges:_0x54824b}=_0x5aea63,_0x3df2ce=Dt(_0x54824b);if(_0x3df2ce==='')return;const _0x1e8219={'unitID':_0x2d9141,'memberID':_0x4712a3,'selection':_0x3df2ce};this['_collabCursorState$'][_0x32b4a4(0x171)](_0x1e8219);}}function _0x4594(_0x36a2a0,_0x369d17){const _0x1d154a=_0x1d15();return _0x4594=function(_0x4594ec,_0x317c29){_0x4594ec=_0x4594ec-0x171;let _0x4ad5d9=_0x1d154a[_0x4594ec];return _0x4ad5d9;},_0x4594(_0x36a2a0,_0x369d17);}var ui=Object[_0x86a805(0x172)],di=(_0x33a824,_0x1e0972,_0x20994b,_0x378e73)=>{const _0x5150d9=_0x86a805;for(var _0x35ff5a=_0x378e73>0x1?void 0x0:_0x378e73?ui(_0x1e0972,_0x20994b):_0x1e0972,_0x572042=_0x33a824[_0x5150d9(0x303)]-0x1,_0xc15de0;_0x572042>=0x0;_0x572042--)(_0xc15de0=_0x33a824[_0x572042])&&(_0x35ff5a=_0xc15de0(_0x35ff5a)||_0x35ff5a);return _0x35ff5a;},w=(_0x5061f5,_0x4802ac)=>(_0x270db7,_0x36aff6)=>_0x4802ac(_0x270db7,_0x36aff6,_0x5061f5);const fi=0x12c,Si=0x64;let Me=class extends _0xb123e2{constructor(_0x47f57f,_0x1d436d,_0x265ba9,_0x357a16,_0x12258c,_0x112c77,_0x4d2b56,_0x5a9a19,_0xd16403){const _0x255bc7=_0x86a805;super(),_(this,_0x255bc7(0x360),!0x1),_(this,_0x255bc7(0x312),!0x1),_(this,'_cursorInfo$',new _0x5bcfa8(new Map())),_(this,_0x255bc7(0x2e5),this[_0x255bc7(0x1bb)][_0x255bc7(0x2f6)]()),_(this,_0x255bc7(0x2b7),new _0x5bcfa8([])),_(this,'roomMembers$',this['_roomMembers$']['pipe'](_0xd328d8(fi))),_(this,_0x255bc7(0x24c),_0x395ecb(_0x40a329=>{const _0x582bdf=_0x255bc7,_0x413cc7={'eventID':_0x36fd87[_0x582bdf(0x19f)],'data':{'unitID':this['unitID'],'memberID':this[_0x582bdf(0x20d)][_0x582bdf(0x239)](),'selection':Dt(_0x40a329)}};this['_session'][_0x582bdf(0x209)](_0x413cc7,this[_0x582bdf(0x247)]);},Si)),(this['unitID']=_0x47f57f,this[_0x255bc7(0x20d)]=_0x1d436d,this[_0x255bc7(0x331)]=_0x265ba9,this[_0x255bc7(0x2d9)]=_0x357a16,this[_0x255bc7(0x233)]=_0x12258c,this[_0x255bc7(0x192)]=_0x112c77,this[_0x255bc7(0x372)]=_0x4d2b56,this[_0x255bc7(0x222)]=_0x5a9a19,this[_0x255bc7(0x1b4)]=_0xd16403);}get['cursorInfo'](){const _0x10cdc2=_0x86a805;return this[_0x10cdc2(0x1bb)][_0x10cdc2(0x30e)]();}get[_0x86a805(0x2b5)](){return this['_roomMembers$']['getValue']();}[_0x86a805(0x33c)](){const _0xf0627d=_0x86a805;super[_0xf0627d(0x33c)](),this[_0xf0627d(0x1bb)]['next'](new Map()),this['_cursorInfo$'][_0xf0627d(0x34b)](),this['_roomMembers$']['next']([]),this[_0xf0627d(0x2b7)][_0xf0627d(0x34b)]();}[_0x86a805(0x2a0)](){const _0x47cf1f=_0x86a805;this[_0x47cf1f(0x312)]||(this[_0x47cf1f(0x312)]=!0x0,this[_0x47cf1f(0x20d)][_0x47cf1f(0x197)][_0x47cf1f(0x205)](_0x51fbbc(this[_0x47cf1f(0x289)]))[_0x47cf1f(0x22b)](_0x2ef5f0=>{const _0x337a30=_0x47cf1f;_0x2ef5f0===_0x48c2ef[_0x337a30(0x34d)]?this[_0x337a30(0x28a)]():this[_0x337a30(0x23b)]();}),this[_0x47cf1f(0x20d)][_0x47cf1f(0x21f)][_0x47cf1f(0x205)](_0x51fbbc(this[_0x47cf1f(0x289)]))['subscribe'](_0x170026=>{const _0x5ad3dc=_0x47cf1f,_0x2d74ad=_0x170026[_0x5ad3dc(0x237)];_0x2d74ad===_0x36fd87[_0x5ad3dc(0x19f)]&&this[_0x5ad3dc(0x180)](_0x170026),_0x2d74ad===_0x36fd87[_0x5ad3dc(0x204)]&&this[_0x5ad3dc(0x1ec)](_0x170026);}),this['disposeWithMe'](this[_0x47cf1f(0x1b4)][_0x47cf1f(0x1fa)](_0x531f2a=>{const _0x3cf526=_0x47cf1f,_0x14b105=_0x531f2a[_0x3cf526(0x348)];_0x14b105!=null&&this['_online']&&_0x531f2a['id']===_0x17ffb8['id']&&_0x14b105[_0x3cf526(0x337)]===this[_0x3cf526(0x247)]&&_0x14b105[_0x3cf526(0x1a7)]===!0x1&&_0x14b105['ranges']['length']>0x0&&this[_0x3cf526(0x24c)](_0x14b105[_0x3cf526(0x284)]);})),this[_0x47cf1f(0x192)][_0x47cf1f(0x246)]['pipe'](_0x51fbbc(this[_0x47cf1f(0x289)]))[_0x47cf1f(0x22b)](_0x32bb44=>{const _0x1e0e32=_0x47cf1f;if((_0x32bb44==null?void 0x0:_0x32bb44[_0x1e0e32(0x247)])!==this[_0x1e0e32(0x247)])return;const _0xad9198={'eventID':_0x36fd87[_0x1e0e32(0x19f)],'data':_0x32bb44};this[_0x1e0e32(0x180)](_0xad9198);}),this[_0x47cf1f(0x299)](this[_0x47cf1f(0x1b4)]['onCommandExecuted'](_0x22d449=>{const _0x1a5d1f=_0x47cf1f;if(_0x22d449[_0x1a5d1f(0x348)]==null)return;const _0x18b165=_0x22d449[_0x1a5d1f(0x348)];if(_0x22d449['id']!==_0x1fd37e['id']||_0x18b165[_0x1a5d1f(0x337)]!==this[_0x1a5d1f(0x247)])return;const _0x445b6d={'id':_0x1a5d1f(0x186),'params':_0x18b165},_0x5ccada=this[_0x1a5d1f(0x175)];for(const [_0x5e5e7a,_0x54a34a]of _0x5ccada){const _0x976f71={'id':_0x1a5d1f(0x186),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x54a34a[_0x1a5d1f(0x284)]}},_0x3ab5eb=this['_transformService'][_0x1a5d1f(0x35a)](_0x445b6d,_0x976f71,!0x1);if(_0x503208(_0x3ab5eb))throw _0x3ab5eb['error'];_0x5ccada[_0x1a5d1f(0x1a2)](_0x5e5e7a,{..._0x54a34a,'ranges':_0x3ab5eb[_0x1a5d1f(0x1f3)][_0x1a5d1f(0x348)][_0x1a5d1f(0x2d1)]});}queueMicrotask(()=>{const _0x59adad=_0x1a5d1f;this[_0x59adad(0x1bb)][_0x59adad(0x171)](_0x5ccada);});})));}[_0x86a805(0x180)](_0x321389){const _0x363874=_0x86a805;var _0x8a987e,_0x263c4b;const {memberID:_0x30184d,selection:_0x527d83}=_0x321389[_0x363874(0x338)],_0x3b15ff=hi(_0x527d83),_0x645559=(_0x263c4b=(_0x8a987e=this['_memberService'][_0x363874(0x340)](this[_0x363874(0x247)],_0x30184d))==null?void 0x0:_0x8a987e['name'])!=null?_0x263c4b:_0x363874(0x1a0),_0x277bd2={'color':this[_0x363874(0x2d9)][_0x363874(0x198)](_0x30184d),'name':_0x645559,'ranges':_0x3b15ff},_0x237263=this[_0x363874(0x175)];_0x237263[_0x363874(0x1a2)](_0x30184d,_0x277bd2),this[_0x363874(0x1bb)][_0x363874(0x171)](_0x237263);}[_0x86a805(0x1ec)](_0x5444b7){const _0xbfadde=_0x86a805,{memberID:_0x200034}=_0x5444b7[_0xbfadde(0x338)],_0x4feeb9=this['cursorInfo'];_0x4feeb9['delete'](_0x200034),this['_cursorInfo$']['next'](_0x4feeb9);}[_0x86a805(0x28a)](){const _0x1df035=_0x86a805;var _0x394504;if(this['_online']=!0x0,((_0x394504=this[_0x1df035(0x222)][_0x1df035(0x185)]())==null?void 0x0:_0x394504['getUnitId']())!==this[_0x1df035(0x247)])return;const _0x3e76c9=this[_0x1df035(0x331)][_0x1df035(0x2d4)](_0x40410e)[_0x1df035(0x2c5)]();Array[_0x1df035(0x1aa)](_0x3e76c9)&&_0x3e76c9['length']>0x0&&this[_0x1df035(0x24c)](_0x3e76c9);}[_0x86a805(0x23b)](){const _0x2f36bb=_0x86a805;this[_0x2f36bb(0x360)]=!0x1;}};Me=di([w(0x2,_0x545293(_0xd016db)),w(0x3,_0x545293(He)),w(0x4,_0x545293(_0x4254e9)),w(0x5,_0x545293(je)),w(0x6,_0x5241f1),w(0x7,_0x3b4d53),w(0x8,_0x27119f)],Me);var mi=Object[_0x86a805(0x172)],gi=(_0x216856,_0x485649,_0x4e002f,_0x425be4)=>{for(var _0x575cc0=_0x425be4>0x1?void 0x0:_0x425be4?mi(_0x485649,_0x4e002f):_0x485649,_0x2f29ed=_0x216856['length']-0x1,_0xcdeeef;_0x2f29ed>=0x0;_0x2f29ed--)(_0xcdeeef=_0x216856[_0x2f29ed])&&(_0x575cc0=_0xcdeeef(_0x575cc0)||_0x575cc0);return _0x575cc0;},x=(_0x4fb645,_0x1c20a9)=>(_0x51d6a0,_0xb65a9e)=>_0x1c20a9(_0x51d6a0,_0xb65a9e,_0x4fb645);const vi=0x12c,Ii=0x64,pi=()=>{let _0x2d6466=[],_0x593569=!0x1;return _0x3e4592=>{const _0x20ca5a=_0x4594;_0x2d6466[_0x20ca5a(0x316)](_0x3e4592),_0x593569||(_0x593569=!0x0,setTimeout(()=>{const _0x1a2185=_0x20ca5a;_0x2d6466[_0x1a2185(0x2e6)](_0x420c8a=>_0x420c8a()),_0x2d6466=[],_0x593569=!0x1;}));};};let Pe=class extends _0xb123e2{constructor(_0x47c695,_0x3ce1f7,_0x16a97b,_0x54a6d1,_0x5810d3,_0x41670d,_0x531345,_0x273a5d){const _0x4791f2=_0x86a805;super(),_(this,'_online',!0x1),_(this,_0x4791f2(0x312),!0x1),_(this,_0x4791f2(0x1bb),new _0x5bcfa8(new Map())),_(this,_0x4791f2(0x2e5),this['_cursorInfo$']['asObservable']()),_(this,_0x4791f2(0x2b7),new _0x5bcfa8([])),_(this,'roomMembers$',this['_roomMembers$'][_0x4791f2(0x205)](_0xd328d8(vi))),_(this,_0x4791f2(0x24c),_0x395ecb((_0x4bec14,_0x488a17)=>{const _0x330351=_0x4791f2,_0x568616={'eventID':_0x36fd87[_0x330351(0x19f)],'data':{'unitID':this['unitID'],'memberID':this[_0x330351(0x20d)]['getMemberID'](),'selection':_0x2aa332(_0x4bec14,_0x488a17[_0x330351(0x2a2)])}};this[_0x330351(0x20d)][_0x330351(0x209)](_0x568616,this['unitID']);},Ii)),(this[_0x4791f2(0x247)]=_0x47c695,this['_session']=_0x3ce1f7,this[_0x4791f2(0x331)]=_0x16a97b,this[_0x4791f2(0x2d9)]=_0x54a6d1,this[_0x4791f2(0x233)]=_0x5810d3,this[_0x4791f2(0x222)]=_0x41670d,this[_0x4791f2(0x1b4)]=_0x531345,this['_refRangeService']=_0x273a5d);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x86a805(0x2b5)](){const _0x47f37e=_0x86a805;return this[_0x47f37e(0x2b7)][_0x47f37e(0x30e)]();}[_0x86a805(0x33c)](){const _0x4f7aeb=_0x86a805;super['dispose'](),this[_0x4f7aeb(0x1bb)][_0x4f7aeb(0x171)](new Map()),this[_0x4f7aeb(0x1bb)][_0x4f7aeb(0x34b)](),this[_0x4f7aeb(0x2b7)][_0x4f7aeb(0x171)]([]),this[_0x4f7aeb(0x2b7)]['complete']();}[_0x86a805(0x2a0)](){const _0x11ca76=_0x86a805;this['_init']||(this[_0x11ca76(0x312)]=!0x0,this[_0x11ca76(0x20d)][_0x11ca76(0x197)][_0x11ca76(0x205)](_0x51fbbc(this['dispose$']))['subscribe'](_0x46fdb1=>{const _0x5b5370=_0x11ca76;_0x46fdb1===_0x48c2ef[_0x5b5370(0x34d)]?this[_0x5b5370(0x28a)]():this['_toggleOffline']();}),this[_0x11ca76(0x20d)][_0x11ca76(0x21f)][_0x11ca76(0x205)](_0x51fbbc(this['dispose$']))[_0x11ca76(0x22b)](_0x528094=>{const _0x25873b=_0x11ca76,_0x4f2fe8=_0x528094[_0x25873b(0x237)];_0x4f2fe8===_0x36fd87['UPDATE_CURSOR']&&this[_0x25873b(0x180)](_0x528094),_0x4f2fe8===_0x36fd87['USERS_LEAVE']&&this['_onCursorDelete'](_0x528094);}),this[_0x11ca76(0x18d)](),this[_0x11ca76(0x299)](this[_0x11ca76(0x1b4)]['onCommandExecuted'](_0x3184e8=>{const _0x1d5e1c=_0x11ca76;if(this['_online']&&_0x3184e8['id']===_0x2c0c3d['id']&&_0x3184e8[_0x1d5e1c(0x348)][_0x1d5e1c(0x337)]===this[_0x1d5e1c(0x247)]){const _0x284c25=_0x3184e8[_0x1d5e1c(0x348)];this[_0x1d5e1c(0x24c)](_0x284c25[_0x1d5e1c(0x33b)],_0x284c25[_0x1d5e1c(0x1d6)][0x0]);}})));}['_onCursorUpdate'](_0x293bbd){const _0x52785e=_0x86a805;var _0x116008,_0x31af44;const {memberID:_0x2edaaa,selection:_0x5353d6}=_0x293bbd[_0x52785e(0x338)],{sheetName:_0x38fa1e,range:_0x416f13}=_0x96a6cf(_0x5353d6),_0x5b384f={'name':(_0x31af44=(_0x116008=this[_0x52785e(0x233)][_0x52785e(0x340)](this[_0x52785e(0x247)],_0x2edaaa))==null?void 0x0:_0x116008[_0x52785e(0x2ee)])!=null?_0x31af44:_0x52785e(0x1a0),'range':this['_getMergeRange'](_0x38fa1e,_0x416f13),'sheetID':_0x38fa1e,'color':this[_0x52785e(0x2d9)][_0x52785e(0x198)](_0x2edaaa),'selection':_0x5353d6},_0x187d79=this[_0x52785e(0x175)];_0x187d79[_0x52785e(0x1a2)](_0x2edaaa,_0x5b384f),this[_0x52785e(0x1bb)]['next'](_0x187d79);}[_0x86a805(0x1ec)](_0x103d93){const _0x1854b6=_0x86a805,{memberID:_0x98abaf}=_0x103d93[_0x1854b6(0x338)],_0x1ec608=this[_0x1854b6(0x175)];_0x1ec608['delete'](_0x98abaf),this[_0x1854b6(0x1bb)][_0x1854b6(0x171)](_0x1ec608);}['_getMergeRange'](_0x395deb,_0x1b0d6c){const _0xa62275=_0x86a805;var _0x179c46,_0x225130;const _0x16adbc=(_0x225130=(_0x179c46=this['_univerInstanceService'][_0xa62275(0x362)](this[_0xa62275(0x247)]))==null?void 0x0:_0x179c46[_0xa62275(0x35b)](_0x395deb))==null?void 0x0:_0x225130[_0xa62275(0x1fb)]();return(_0x16adbc==null?void 0x0:_0x16adbc[_0xa62275(0x24d)](_0x4f0620=>_0x4392ad[_0xa62275(0x177)](_0x4f0620,_0x1b0d6c)))||_0x1b0d6c;}[_0x86a805(0x18d)](){const _0x14d2bd=_0x86a805,_0x2e0b25=new _0x377b6b(),_0x1257aa=pi(),_0x717766=()=>{const _0x25edd1=_0x4594;_0x2e0b25[_0x25edd1(0x33c)]();const _0x20d4e1=(_0x46fa08,_0xcdcd50,_0x3c6709,_0x16403a)=>{const _0x455e3c=_0x25edd1;let _0x327ee1=[];switch(_0x46fa08['id']){case _0x4b2a35[_0x455e3c(0x32f)]:{_0x327ee1=_0x551093(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x335)]:{_0x327ee1=_0x1b2a2b(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x18e)]:{_0x327ee1=_0x4d102b(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x2f0)]:{_0x327ee1=_0x4b1610(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x347)]:{_0x327ee1=_0x3c3473(_0x46fa08,_0x16403a);break;}case _0x4b2a35['InsertRowCommandId']:{_0x327ee1=_0x51d76c(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x34f)]:{_0x327ee1=_0x223707(_0x46fa08,_0x16403a);break;}case _0x4b2a35[_0x455e3c(0x219)]:{_0x327ee1=_0x213a7d(_0x46fa08,_0x16403a);break;}case _0x4b2a35['RemoveRowCommandId']:{_0x327ee1=_0x45de1d(_0x46fa08,_0x16403a);break;}}const _0x53fba6=_0x50ffee(_0x327ee1,_0x16403a),_0x3486e9=this[_0x455e3c(0x175)][_0x455e3c(0x2d4)](_0xcdcd50);if(_0x3486e9&&_0x53fba6){const _0x4b1545={..._0x3486e9,'range':_0x53fba6};this[_0x455e3c(0x175)][_0x455e3c(0x1a2)](_0xcdcd50,_0x4b1545),_0x1257aa(()=>{const _0x3f4df4=_0x455e3c,_0x2a1ae4=this[_0x3f4df4(0x2e4)][_0x3f4df4(0x2bb)](_0x53fba6,_0x4ac7b3=>(_0x2a1ae4[_0x3f4df4(0x33c)](),_0x20d4e1(_0x4ac7b3,_0xcdcd50,_0x3c6709,_0x53fba6)));_0x2e0b25['add'](_0x2a1ae4);});}return{'redos':[],'undos':[]};};this[_0x25edd1(0x175)][_0x25edd1(0x2e6)]((_0x631332,_0x213685)=>{const _0x24b1ce=_0x25edd1,{range:_0x5d30e8,sheetID:_0x294091}=_0x631332,_0x41699a=this['_refRangeService']['registerRefRange'](_0x5d30e8,_0xd137e6=>(_0x41699a[_0x24b1ce(0x33c)](),_0x20d4e1(_0xd137e6,_0x213685,_0x294091,_0x5d30e8)));_0x2e0b25[_0x24b1ce(0x364)](_0x41699a);});};this[_0x14d2bd(0x299)](_0x571cee(this[_0x14d2bd(0x1bb)][_0x14d2bd(0x22b)](()=>{_0x717766();})));}[_0x86a805(0x28a)](){const _0x1444f7=_0x86a805;var _0x210c75,_0x46b402;if(this[_0x1444f7(0x360)]=!0x0,((_0x210c75=this[_0x1444f7(0x222)]['getFocusedUnit']())==null?void 0x0:_0x210c75[_0x1444f7(0x235)]())!==this['unitID'])return;const _0x11a52e=(_0x46b402=this[_0x1444f7(0x331)][_0x1444f7(0x2d4)](_0x5885ee)[_0x1444f7(0x350)]())==null?void 0x0:_0x46b402[0x0],_0x4bae30=this[_0x1444f7(0x222)]['getCurrentUnitForType'](_0x5e1ff3[_0x1444f7(0x294)])[_0x1444f7(0x189)]();_0x11a52e&&_0x4bae30&&this[_0x1444f7(0x24c)](_0x4bae30[_0x1444f7(0x35c)](),_0x11a52e);}[_0x86a805(0x23b)](){const _0x2bf877=_0x86a805;this[_0x2bf877(0x360)]=!0x1;}};Pe=gi([x(0x2,_0x545293(_0xd016db)),x(0x3,_0x545293(He)),x(0x4,_0x545293(_0x4254e9)),x(0x5,_0x3b4d53),x(0x6,_0x27119f),x(0x7,_0x545293(_0x4d8f62))],Pe);var Ci=Object[_0x86a805(0x172)],Ei=(_0x380bb7,_0x4475de,_0x300367,_0x10b763)=>{const _0x1076a7=_0x86a805;for(var _0x2c932b=_0x10b763>0x1?void 0x0:_0x10b763?Ci(_0x4475de,_0x300367):_0x4475de,_0x8abdf6=_0x380bb7[_0x1076a7(0x303)]-0x1,_0x3d59d9;_0x8abdf6>=0x0;_0x8abdf6--)(_0x3d59d9=_0x380bb7[_0x8abdf6])&&(_0x2c932b=_0x3d59d9(_0x2c932b)||_0x2c932b);return _0x2c932b;},me=(_0x142eee,_0x353c02)=>(_0x2d9f37,_0x3fd9b1)=>_0x353c02(_0x2d9f37,_0x3fd9b1,_0x142eee);let H=class extends _0xb123e2{constructor(_0x2a60e5,_0x2f191c,_0x4945be){const _0x4b0e7b=_0x86a805;super(),_(this,_0x4b0e7b(0x24b),new Map()),_(this,'_entityInit$',new _0x2fbe72()),(this[_0x4b0e7b(0x222)]=_0x2a60e5,this[_0x4b0e7b(0x331)]=_0x2f191c,this['_collabSessionService']=_0x4945be,this[_0x4b0e7b(0x312)]());}[_0x86a805(0x33c)](){const _0x530d93=_0x86a805;super[_0x530d93(0x33c)](),this[_0x530d93(0x341)][_0x530d93(0x34b)](),this[_0x530d93(0x24b)][_0x530d93(0x2e6)](_0x720607=>_0x720607[_0x530d93(0x33c)]());}[_0x86a805(0x272)](_0x24aa5e){const _0x68083e=_0x86a805;return this[_0x68083e(0x24b)][_0x68083e(0x260)](_0x24aa5e)?this[_0x68083e(0x24b)]['get'](_0x24aa5e)[_0x68083e(0x2e5)]:this[_0x68083e(0x341)][_0x68083e(0x205)](_0x5c1e9b(_0x400caf=>_0x400caf[_0x68083e(0x247)]===_0x24aa5e),_0x385b28(_0x446b00=>_0x446b00[_0x68083e(0x2e5)]));}[_0x86a805(0x312)](){const _0x3343cb=_0x86a805;this[_0x3343cb(0x222)]['getTypeOfUnitAdded$'](_0x5e1ff3[_0x3343cb(0x294)])[_0x3343cb(0x205)](_0x51fbbc(this[_0x3343cb(0x289)]))[_0x3343cb(0x22b)](async _0x4ad054=>{const _0x39fc12=_0x3343cb,_0x48ebe7=_0x4ad054[_0x39fc12(0x235)](),_0x184dd8=await this[_0x39fc12(0x377)](_0x48ebe7);this['_entityInit$'][_0x39fc12(0x171)](_0x184dd8),this[_0x39fc12(0x24b)][_0x39fc12(0x1a2)](_0x48ebe7,_0x184dd8);}),this[_0x3343cb(0x222)][_0x3343cb(0x34a)](_0x5e1ff3[_0x3343cb(0x2a5)])[_0x3343cb(0x205)](_0x51fbbc(this['dispose$']))[_0x3343cb(0x205)](_0x5c1e9b(_0x9bf53e=>!_0x9bf53e[_0x3343cb(0x235)]()['startsWith']('__')))[_0x3343cb(0x22b)](async _0x3c03d8=>{const _0x5de1bd=_0x3343cb,_0x3b48a6=_0x3c03d8[_0x5de1bd(0x235)](),_0x40eeba=await this[_0x5de1bd(0x1cc)](_0x3b48a6);this[_0x5de1bd(0x341)][_0x5de1bd(0x171)](_0x40eeba),this['_entities'][_0x5de1bd(0x1a2)](_0x3b48a6,_0x40eeba);}),_0x3bf1a6(this[_0x3343cb(0x222)][_0x3343cb(0x318)](_0x5e1ff3[_0x3343cb(0x2a5)]),this[_0x3343cb(0x222)][_0x3343cb(0x318)](_0x5e1ff3[_0x3343cb(0x294)]))[_0x3343cb(0x205)](_0x51fbbc(this[_0x3343cb(0x289)]))[_0x3343cb(0x22b)](_0x3c2677=>{const _0x5d531c=_0x3343cb,_0x7c554b=_0x3c2677[_0x5d531c(0x235)](),_0x1603d9=this['_entities']['get'](_0x7c554b);_0x1603d9&&(_0x1603d9[_0x5d531c(0x33c)](),this['_entities'][_0x5d531c(0x352)](_0x7c554b));});}async[_0x86a805(0x377)](_0x40fe62){const _0x3ded99=_0x86a805,_0x22e372=await this[_0x3ded99(0x226)]['requireSession'](_0x40fe62),_0x1c9540=this[_0x3ded99(0x331)][_0x3ded99(0x2a3)](Pe,_0x40fe62,_0x22e372);return _0x1c9540[_0x3ded99(0x2a0)](),_0x1c9540;}async[_0x86a805(0x1cc)](_0x640db){const _0x2f5fc4=_0x86a805,_0x47aa7c=await this['_collabSessionService'][_0x2f5fc4(0x23d)](_0x640db),_0x11cc35=this['_injector']['createInstance'](Me,_0x640db,_0x47aa7c);return _0x11cc35[_0x2f5fc4(0x2a0)](),_0x11cc35;}};H=Ei([me(0x0,_0x3b4d53),me(0x1,_0x545293(_0xd016db)),me(0x2,_0x545293(_0x1c0a48))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x1006dc,_0x262e57){const _0x1f60d1=_0x86a805;let {radius:_0x4fa7bd,width:_0x17716d,height:_0x2d90ed}=_0x262e57;_0x4fa7bd=_0x4fa7bd!=null?_0x4fa7bd:0x0,_0x17716d=_0x17716d!=null?_0x17716d:0x1e,_0x2d90ed=_0x2d90ed!=null?_0x2d90ed:0x1e;let _0x1f9f02=0x0,_0x2ac328=0x0,_0x4fdc93=0x0;_0x1f9f02=_0x2ac328=_0x4fdc93=Math['min'](_0x4fa7bd,_0x17716d/0x2,_0x2d90ed/0x2),_0x1006dc['beginPath'](),_0x1006dc['moveTo'](_0x1f9f02,0x0),_0x1006dc['lineTo'](_0x17716d-_0x2ac328,0x0),_0x1006dc[_0x1f60d1(0x232)](_0x17716d-_0x2ac328,_0x2ac328,_0x2ac328,Math['PI']*0x3/0x2,0x0,!0x1),_0x1006dc[_0x1f60d1(0x30b)](_0x17716d,_0x2d90ed-_0x4fdc93),_0x1006dc[_0x1f60d1(0x232)](_0x17716d-_0x4fdc93,_0x2d90ed-_0x4fdc93,_0x4fdc93,0x0,Math['PI']/0x2,!0x1),_0x1006dc[_0x1f60d1(0x30b)](0x0,_0x2d90ed),_0x1006dc['lineTo'](0x0,_0x1f9f02),_0x1006dc[_0x1f60d1(0x232)](_0x1f9f02,_0x1f9f02,_0x1f9f02,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1006dc[_0x1f60d1(0x207)](),_0x262e57['fill']&&(_0x1006dc[_0x1f60d1(0x19a)](),_0x1006dc[_0x1f60d1(0x181)]=_0x262e57[_0x1f60d1(0x282)],_0x262e57['fillRule']===_0x1f60d1(0x374)?_0x1006dc[_0x1f60d1(0x282)](_0x1f60d1(0x374)):_0x1006dc[_0x1f60d1(0x282)](),_0x1006dc[_0x1f60d1(0x1cf)]());}class ue extends _0x48deee{constructor(_0xb46ef2,_0x322c11){const _0x39d576=_0x86a805;super(_0xb46ef2,_0x322c11),_(this,'color'),_(this,'text'),(this[_0x39d576(0x358)]=_0x322c11==null?void 0x0:_0x322c11[_0x39d576(0x358)],this[_0x39d576(0x355)]=_0x322c11==null?void 0x0:_0x322c11['text']);}static['drawWith'](_0xeb3d02,_0x5a5e1f){const _0x2a3f0b=_0x86a805,{text:_0x561cba,color:_0x39b0f9}=_0x5a5e1f;_0xeb3d02['save'](),_0xeb3d02['font']=_0x2a3f0b(0x27a);const _0x4c92b4=_0xeb3d02[_0x2a3f0b(0x24e)](_0x561cba)['width'],_0x310c1b=Math['min'](_0x4c92b4+0x2*ge,et);Oi(_0xeb3d02,{'height':te,'radius':0x4,'width':_0x310c1b,'fill':_0x39b0f9}),_0xeb3d02[_0x2a3f0b(0x181)]=_0x2a3f0b(0x332);const _0x4cacd6=ge,_0x3f37f2=te-bi,_0x20d894=et-0x2*ge;if(_0x4c92b4>_0x20d894){let _0x5eb43c='',_0x5b00d3=0x0;for(const _0x150fe of _0x561cba){const _0x18b1dd=_0xeb3d02['measureText'](_0x150fe)[_0x2a3f0b(0x1f5)];if(_0x5b00d3+_0x18b1dd<=_0x20d894-_0xeb3d02[_0x2a3f0b(0x24e)]('...')[_0x2a3f0b(0x1f5)])_0x5eb43c+=_0x150fe,_0x5b00d3+=_0x18b1dd;else{_0x5eb43c+=_0x2a3f0b(0x2af);break;}}_0xeb3d02[_0x2a3f0b(0x210)](_0x5eb43c,_0x4cacd6,_0x3f37f2);}else _0xeb3d02[_0x2a3f0b(0x210)](_0x561cba,_0x4cacd6,_0x3f37f2);_0xeb3d02[_0x2a3f0b(0x1cf)]();}[_0x86a805(0x1cd)](_0x370150){const _0x29d066=_0x86a805;ue[_0x29d066(0x2d2)](_0x370150,this);}}const ve=_0x86a805(0x21b),Ti=_0x86a805(0x1ce),Ri=_0x86a805(0x229),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x86a805(0x1b6);class tt{constructor(_0x3f2e8b,_0x177ceb,_0x28d4a8,_0x5d40a1){const _0x176d20=_0x86a805;_(this,_0x176d20(0x285),[]),_(this,_0x176d20(0x236),null),_(this,'_textBubble',null),_(this,_0x176d20(0x2ce),null),_(this,_0x176d20(0x1d0),null),_(this,_0x176d20(0x28b),null),(this['_cursor']=_0x3f2e8b,this[_0x176d20(0x33f)]=_0x177ceb,this[_0x176d20(0x179)]=_0x28d4a8,this[_0x176d20(0x26e)]=_0x5d40a1,this[_0x176d20(0x29f)]());}set[_0x86a805(0x1df)](_0x1cb5db){const _0x285e38=_0x86a805;_0x1cb5db?(this['_anchorDot']&&this[_0x285e38(0x2ce)][_0x285e38(0x32a)](),this[_0x285e38(0x351)]&&this[_0x285e38(0x351)][_0x285e38(0x230)]()):(this[_0x285e38(0x2ce)]&&this['_anchorDot'][_0x285e38(0x230)](),this[_0x285e38(0x351)]&&this[_0x285e38(0x351)][_0x285e38(0x32a)]());}[_0x86a805(0x33c)](){const _0x4813c7=_0x86a805;for(const _0x3771be of this[_0x4813c7(0x285)])_0x3771be['dispose']();this[_0x4813c7(0x351)]&&this[_0x4813c7(0x351)][_0x4813c7(0x33c)](),this[_0x4813c7(0x2ce)]&&this[_0x4813c7(0x2ce)]['dispose'](),this[_0x4813c7(0x236)]&&this[_0x4813c7(0x236)][_0x4813c7(0x33c)](),this[_0x4813c7(0x28b)]&&this['_eventUnsubscribe']();}['_render'](){const _0x403cc9=_0x86a805;var _0x1b5d61;const {_docSkeleton:_0x35730d,_document:_0x4a642a}=this,{color:_0x3f8137,name:_0x5c7599,ranges:_0x215112}=this[_0x403cc9(0x1a4)],_0x16aba2=_0x4a642a['getOffsetConfig'](),{docsLeft:_0x1b088e,docsTop:_0x5202de}=_0x16aba2,_0x585f60=new _0x3d8185(_0x16aba2,_0x35730d);for(const {startOffset:_0x2c9610,endOffset:_0x27faaf,rangeType:_0x2cde13,segmentId:_0x1a05ff,segmentPage:_0x3503ce,collapsed:_0x3e8c3e,isActive:_0x5e7d5a}of _0x215112){const _0x5511c7=_0x35730d[_0x403cc9(0x1b0)](_0x2c9610,!0x0,_0x1a05ff,_0x3503ce);let _0x132fce=_0x35730d[_0x403cc9(0x1b0)](_0x27faaf,!0x0,_0x1a05ff,_0x3503ce);if(_0x132fce==null&&(_0x132fce=_0x35730d[_0x403cc9(0x1b0)](_0x27faaf-0x1,!0x1,_0x1a05ff,_0x3503ce)),_0x5e7d5a){const {contentBoxPointGroup:_0x1a7235}=_0x585f60[_0x403cc9(0x18c)](_0x132fce,_0x132fce);if(_0x1a7235[_0x403cc9(0x303)]===0x0)continue;this[_0x403cc9(0x323)](_0x3f8137,_0x1a7235,_0x1b088e,_0x5202de,_0x5c7599),this['_eventUnsubscribe']=this[_0x403cc9(0x1e9)]();}if(_0x5511c7&&_0x132fce){if(_0x2cde13===_0x30e768[_0x403cc9(0x359)]){const _0x23dd93=new _0x6af631(_0x16aba2,_0x35730d),{pointGroup:_0x229f26}=(_0x1b5d61=_0x23dd93[_0x403cc9(0x18c)](_0x5511c7,_0x132fce))!=null?_0x1b5d61:{};if(_0x229f26==null||_0x229f26[_0x403cc9(0x303)]===0x0)continue;this['_drawRectRange'](_0x3f8137,_0x229f26,_0x1b088e,_0x5202de);}else{if(!_0x3e8c3e){const {borderBoxPointGroup:_0x39b086}=_0x585f60[_0x403cc9(0x18c)](_0x5511c7,_0x132fce);if(_0x39b086[_0x403cc9(0x303)]===0x0)continue;this[_0x403cc9(0x254)](_0x3f8137,_0x39b086,_0x1b088e,_0x5202de);}}}}}['_drawAnchor'](_0x2db713,_0x1656e1,_0x5e35e4,_0x52229a,_0x18dcb1){const _0x3ec788=_0x86a805,_0x3d30fd=this[_0x3ec788(0x1f0)](_0x1656e1),{left:_0x387169,top:_0x5c916d,height:_0x53dab0}=_0x3d30fd,_0x6cd159=this['_getScale'](),_0x57688d=Ni/_0x6cd159,_0x3761ee=new _0x48588e(ve+_0x168ff4['generateRandomId'](X),{'left':_0x387169+_0x5e35e4-_0x57688d,'top':_0x5c916d+_0x52229a,'height':_0x53dab0,'width':Di,'fill':_0x2db713||_0xf39730(_0x26d279[_0x3ec788(0x1dc)],0x0),'strokeWidth':_0x57688d,'stroke':Ui,'evented':!0x0});this[_0x3ec788(0x236)]=_0x3761ee,this[_0x3ec788(0x33f)][_0x3ec788(0x288)](_0x3761ee,_0x2b96c7);const _0x22ce82=new _0x48588e(ve+_0x168ff4['generateRandomId'](X),{'left':_0x387169+_0x5e35e4-_0x57688d,'top':_0x5c916d+_0x52229a-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2db713||_0xf39730(_0x26d279['black'],0x0),'strokeWidth':0x0,'stroke':_0x2db713||_0xf39730(_0x26d279['black'],0x0),'evented':!0x1});this[_0x3ec788(0x2ce)]=_0x22ce82,this[_0x3ec788(0x33f)][_0x3ec788(0x288)](_0x22ce82,_0x2b96c7);const _0x1d6036=new ue(ve+_0x168ff4['generateRandomId'](X),{'left':_0x387169+_0x5e35e4-_0x57688d,'top':_0x5c916d+_0x52229a-te,'text':_0x18dcb1,'color':_0x2db713});this[_0x3ec788(0x351)]=_0x1d6036,this[_0x3ec788(0x33f)][_0x3ec788(0x288)](_0x1d6036,_0x2b96c7),this[_0x3ec788(0x1df)]=!0x1;}[_0x86a805(0x1e9)](){const _0xb6fd2a=_0x86a805,_0x5a61f4=this['_anchor'][_0xb6fd2a(0x1c5)][_0xb6fd2a(0x300)](()=>{const _0x42c483=_0xb6fd2a;this[_0x42c483(0x1df)]=!0x0;}),_0x1ac0ee=this[_0xb6fd2a(0x236)][_0xb6fd2a(0x297)][_0xb6fd2a(0x300)](()=>{const _0x4a1172=_0xb6fd2a;this[_0x4a1172(0x1d0)]&&clearTimeout(this[_0x4a1172(0x1d0)]),this[_0x4a1172(0x1d0)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1bb645=_0xb6fd2a;_0x5a61f4[_0x1bb645(0x265)](),_0x1ac0ee['unsubscribe']();};}[_0x86a805(0x254)](_0x2c3dc5,_0x38767d,_0xdc4493,_0x51f754){const _0x578671=_0x86a805,_0x349db7=new _0x2e19d1(_0x2c3dc5)[_0x578671(0x19d)](0.2)[_0x578671(0x194)](),_0x2dea44=new _0x59edba(Ti+_0x168ff4[_0x578671(0x336)](X),{'pointsGroup':_0x38767d,'fill':_0x349db7||_0xf39730(_0x26d279['black'],0.2),'left':_0xdc4493,'top':_0x51f754,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x578671(0x285)]['push'](_0x2dea44),this[_0x578671(0x33f)]['addObject'](_0x2dea44,_0x2b96c7);}[_0x86a805(0x1e6)](_0x42bcf1,_0xee8416,_0x9ad03c,_0x343f2b){const _0x533b4e=_0x86a805,_0x269fc4=new _0x2e19d1(_0x42bcf1)['setAlpha'](0.2)['toRgbString'](),_0x38031c=new _0x59edba(Ri+_0x168ff4[_0x533b4e(0x336)](X),{'pointsGroup':_0xee8416,'fill':_0x269fc4||_0xf39730(_0x26d279[_0x533b4e(0x1dc)],0.2),'left':_0x9ad03c,'top':_0x343f2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x533b4e(0x285)]['push'](_0x38031c),this[_0x533b4e(0x33f)][_0x533b4e(0x288)](_0x38031c,_0x2b96c7);}['_getAnchorBounding'](_0x365a77){const _0x55ceb3=_0x365a77[0x0],_0x4fa87d=_0x55ceb3[0x0],_0x408f13=_0x55ceb3[0x2],{x:_0x314377,y:_0xaa8702}=_0x4fa87d,{x:_0x37baf0,y:_0x225055}=_0x408f13;return{'left':_0x314377,'top':_0xaa8702,'width':_0x37baf0-_0x314377,'height':_0x225055-_0xaa8702};}['_getScale'](){const _0x3bdcc9=_0x86a805,{scaleX:_0x103e6d,scaleY:_0xa43be1}=this[_0x3bdcc9(0x33f)][_0x3bdcc9(0x20c)]();return Math['max'](_0x103e6d,_0xa43be1);}}var Mi=Object[_0x86a805(0x172)],Pi=(_0x4c9865,_0x5371b9,_0x49b69b,_0x19c65a)=>{const _0x4feee5=_0x86a805;for(var _0x1d93df=_0x19c65a>0x1?void 0x0:_0x19c65a?Mi(_0x5371b9,_0x49b69b):_0x5371b9,_0x196bdd=_0x4c9865[_0x4feee5(0x303)]-0x1,_0x3d0384;_0x196bdd>=0x0;_0x196bdd--)(_0x3d0384=_0x4c9865[_0x196bdd])&&(_0x1d93df=_0x3d0384(_0x1d93df)||_0x1d93df);return _0x1d93df;},Q=(_0x3ac3ba,_0x497d76)=>(_0x3f076b,_0x407b53)=>_0x497d76(_0x3f076b,_0x407b53,_0x3ac3ba);let we=class extends _0xb123e2{constructor(_0x2f8707,_0xc510d1,_0x5a6258,_0xb63668,_0x390a1f){const _0x3a30ef=_0x86a805;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this['_context']=_0x2f8707,this[_0x3a30ef(0x2c9)]=_0xc510d1,this['_collabCursorController']=_0x5a6258,this[_0x3a30ef(0x1b4)]=_0xb63668,this[_0x3a30ef(0x301)]=_0x390a1f,this[_0x3a30ef(0x312)]());}[_0x86a805(0x312)](){const _0x548066=_0x86a805,_0x4eda1d=this['_context'][_0x548066(0x337)],_0xcedc6c=this[_0x548066(0x2c9)];this[_0x548066(0x299)](_0xf7d9e2([this['_collabCursorController'][_0x548066(0x272)](_0x4eda1d),this['_themeService'][_0x548066(0x314)]])['pipe'](_0x169f56(([_0x2d040b,_0x2db129])=>({'skeleton':_0xcedc6c[_0x548066(0x21e)](),'cursors':[..._0x2d040b[_0x548066(0x328)]()][_0x548066(0x2ba)](_0x5a6024=>({..._0x5a6024,'color':_0x2db129[_0x5a6024[_0x548066(0x358)]]}))})))[_0x548066(0x22b)](_0x54c78b=>{const _0x4ca56d=_0x548066;if(this['_removeCollabCursors'](),_0x54c78b){const {skeleton:_0x4da14c,cursors:_0x48eacc}=_0x54c78b;this[_0x4ca56d(0x321)](_0x4da14c,_0x48eacc);}})),this[_0x548066(0x231)](),this['_initCommandExecutedListener']();}[_0x86a805(0x321)](_0x8e2a72,_0x339cf){const _0x594ab3=_0x86a805,{scene:_0x2a5a7d,mainComponent:_0x1364a8}=this[_0x594ab3(0x266)],_0x543b7b=_0x339cf[_0x594ab3(0x1d7)](_0x1d7d58=>new tt(_0x1d7d58,_0x2a5a7d,_0x8e2a72,_0x1364a8));this[_0x594ab3(0x1ae)]=_0x543b7b,this[_0x594ab3(0x1a6)]=_0x339cf;}[_0x86a805(0x28d)](){const _0xe7cf9a=_0x86a805;this[_0xe7cf9a(0x258)]();const {scene:_0x5a1918,mainComponent:_0x41c462}=this[_0xe7cf9a(0x266)],_0x3436b6=this[_0xe7cf9a(0x2c9)][_0xe7cf9a(0x21e)](),_0x1ca6e5=this[_0xe7cf9a(0x1a6)]['map'](_0x3de932=>new tt(_0x3de932,_0x5a1918,_0x3436b6,_0x41c462));this[_0xe7cf9a(0x1ae)]=_0x1ca6e5;}[_0x86a805(0x258)](){const _0x187971=_0x86a805;this[_0x187971(0x1ae)]['forEach'](_0x5b4a48=>_0x5b4a48['dispose']()),this[_0x187971(0x1ae)]=[];}[_0x86a805(0x346)](){const _0x35e07a=_0x86a805,_0x4156ab=[_0x24bb32['id']];this[_0x35e07a(0x299)](this[_0x35e07a(0x1b4)]['onCommandExecuted'](_0x185b1a=>{const _0x3daa72=_0x35e07a;_0x4156ab['includes'](_0x185b1a['id'])&&_0x185b1a[_0x3daa72(0x348)][_0x3daa72(0x337)]===this['_context'][_0x3daa72(0x337)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x46813a=_0x86a805;this[_0x46813a(0x299)](_0x580ec3(this['_context'][_0x46813a(0x2ae)][_0x46813a(0x319)])[_0x46813a(0x205)](_0xc45b71(_0x521d52=>_0x521d52[_0x46813a(0x309)]===_0x295533[_0x46813a(0x1bd)]),_0x325872(0x10))[_0x46813a(0x22b)](()=>{const _0x40b90e=_0x46813a;this[_0x40b90e(0x28d)]();}));}};we=Pi([Q(0x1,_0x545293(_0x35d61b)),Q(0x2,_0x545293(H)),Q(0x3,_0x27119f),Q(0x4,_0x545293(_0x1eaa15))],we);const wi=0x1,Li=1.5;class Ai extends _0x48deee{constructor(_0x2e3951,_0x29f069){const _0x251f2a=_0x86a805;super(_0x2e3951,_0x29f069),_(this,_0x251f2a(0x27c)),_(this,_0x251f2a(0x18f),!0x1),_(this,_0x251f2a(0x174)),_(this,'_name',''),_(this,_0x251f2a(0x33e),'top'),_(this,_0x251f2a(0x2c6)),(_0x29f069&&this['setShapeProps'](_0x29f069),this[_0x251f2a(0x1c5)][_0x251f2a(0x300)](()=>this[_0x251f2a(0x2ac)]({'hovered':!0x0})),this[_0x251f2a(0x297)][_0x251f2a(0x300)](()=>this[_0x251f2a(0x2ac)]({'hovered':!0x1})));}[_0x86a805(0x2ac)](_0x4cc6da){const _0x2497c0=_0x86a805;var _0x4335eb,_0x2138af,_0x1b62b5,_0x4ffd78,_0x2279e3,_0x235c73;this[_0x2497c0(0x27c)]=(_0x4335eb=_0x4cc6da[_0x2497c0(0x358)])!=null?_0x4335eb:this[_0x2497c0(0x27c)],this[_0x2497c0(0x18f)]=(_0x2138af=_0x4cc6da[_0x2497c0(0x295)])!=null?_0x2138af:this[_0x2497c0(0x18f)],this[_0x2497c0(0x174)]=(_0x1b62b5=_0x4cc6da[_0x2497c0(0x2a2)])!=null?_0x1b62b5:this['_range'],this[_0x2497c0(0x1b2)]=(_0x4ffd78=_0x4cc6da[_0x2497c0(0x2ee)])!=null?_0x4ffd78:this[_0x2497c0(0x1b2)],this[_0x2497c0(0x33e)]=(_0x2279e3=_0x4cc6da['labelPosition'])!=null?_0x2279e3:this[_0x2497c0(0x33e)],this[_0x2497c0(0x2c6)]=(_0x235c73=_0x4cc6da[_0x2497c0(0x218)])!=null?_0x235c73:this[_0x2497c0(0x2c6)],this['transformByState']({'width':_0x4cc6da[_0x2497c0(0x1f5)],'height':_0x4cc6da['height']});}[_0x86a805(0x203)](_0x3bfec2){const _0x3fc224=_0x86a805,{row:_0x1fb728,column:_0x48cc14}=_0x3bfec2;if(_0x1fb728>=this[_0x3fc224(0x174)][_0x3fc224(0x2b8)]&&_0x1fb728<=this['_range']['endRow']&&_0x48cc14>=this[_0x3fc224(0x174)][_0x3fc224(0x2dc)]&&_0x48cc14<=this[_0x3fc224(0x174)][_0x3fc224(0x1d9)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3fc224(0x2ac)]({'hovered':!0x1});}[_0x86a805(0x305)](_0x5b6f5a){return!0x1;}[_0x86a805(0x1cd)](_0x59dc80){const _0x7b8e6=_0x86a805;_0x48588e[_0x7b8e6(0x2d2)](_0x59dc80,{'width':this[_0x7b8e6(0x1f5)],'height':this[_0x7b8e6(0x2cc)],'strokeWidth':Li,'stroke':this[_0x7b8e6(0x27c)],'evented':!0x1,'fill':this[_0x7b8e6(0x2c6)]}),this[_0x7b8e6(0x18f)]&&(_0x59dc80[_0x7b8e6(0x19a)](),_0x59dc80[_0x7b8e6(0x29c)](0x1,0x0,0x0,0x1,this[_0x7b8e6(0x1f5)],this[_0x7b8e6(0x33e)]==='bottom'?0x0:-0x14),ue[_0x7b8e6(0x2d2)](_0x59dc80,{'text':this[_0x7b8e6(0x1b2)],'color':this[_0x7b8e6(0x27c)]}),_0x59dc80[_0x7b8e6(0x1cf)]());}}var yi=Object[_0x86a805(0x172)],$i=(_0x4fd9fe,_0x4a3ac4,_0x161946,_0x3c8a5f)=>{const _0x1515d3=_0x86a805;for(var _0x37a296=_0x3c8a5f>0x1?void 0x0:_0x3c8a5f?yi(_0x4a3ac4,_0x161946):_0x4a3ac4,_0x421f18=_0x4fd9fe[_0x1515d3(0x303)]-0x1,_0x42e890;_0x421f18>=0x0;_0x421f18--)(_0x42e890=_0x4fd9fe[_0x421f18])&&(_0x37a296=_0x42e890(_0x37a296)||_0x37a296);return _0x37a296;},pe=(_0x332d19,_0x14428d)=>(_0x21bd4a,_0x5efab7)=>_0x14428d(_0x21bd4a,_0x5efab7,_0x332d19);const xi=0x1389;let Le=class extends _0xb123e2{constructor(_0x22594f,_0x5e5e45,_0xf4ac46,_0x2fa2c3){const _0x4adf17=_0x86a805;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this['_context']=_0x22594f,this[_0x4adf17(0x31c)]=_0x5e5e45,this['_collabCursorController']=_0xf4ac46,this[_0x4adf17(0x301)]=_0x2fa2c3,this[_0x4adf17(0x312)]());}[_0x86a805(0x312)](){const _0x2fd0f6=_0x86a805;this[_0x2fd0f6(0x31c)][_0x2fd0f6(0x1c9)][_0x2fd0f6(0x205)](_0x567084(this[_0x2fd0f6(0x289)]),_0x5d3754(_0x1b51cf=>{const _0x2925c2=_0x2fd0f6;if(_0x1b51cf){const _0x4e63ca=_0x1b51cf[_0x2925c2(0x30c)];return _0xf7d9e2(this['_collabCursorController'][_0x2925c2(0x272)](this[_0x2925c2(0x266)][_0x2925c2(0x337)]),this[_0x2925c2(0x301)][_0x2925c2(0x314)])[_0x2925c2(0x205)](_0x169f56(([_0x423b50,_0x416fc8])=>{const _0x49a816=_0x2925c2,_0x433202=new Map();return _0x423b50[_0x49a816(0x2e6)]((_0x4e1840,_0xea9507)=>{const _0x5aa997=_0x49a816;if(_0x4e1840[_0x5aa997(0x26a)]===_0x4e63ca){const _0x421d5b={..._0x4e1840};_0x421d5b[_0x5aa997(0x358)]=_0x416fc8[_0x4e1840['color']],_0x433202[_0x5aa997(0x1a2)](_0xea9507,_0x421d5b);}}),{'skeleton':_0x1b51cf,'cursors':_0x433202};}));}return _0x2404b0({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x476b61,cursors:_0x392230})=>{const _0x525620=_0x2fd0f6;this[_0x525620(0x258)](),_0x476b61&&this['_updateCollabCursors'](_0x476b61,_0x392230);}),this[_0x2fd0f6(0x31c)][_0x2fd0f6(0x1c9)][_0x2fd0f6(0x22b)](_0x3391bd=>{const _0xb1c974=_0x2fd0f6;if(_0x3391bd==null)return;const {skeleton:_0x4ea409}=_0x3391bd,{scene:_0x38d2d3}=this[_0xb1c974(0x266)];_0x38d2d3['onPointerMove$']['subscribeEvent'](_0x395ecb(_0x3b3a02=>{const _0x1c8740=_0xb1c974;var _0x42bb82,_0x1bc7b4;const {offsetX:_0x5dd936,offsetY:_0x4dc56c}=_0x3b3a02,{x:_0x1752ec,y:_0x4e0591}=_0x38d2d3[_0x1c8740(0x1d2)](_0x5c22fd['FromArray']([_0x5dd936,_0x4dc56c])),{scaleX:_0x1c5d6f,scaleY:_0x2b036b}=_0x38d2d3[_0x1c8740(0x20c)](),_0x4b71cf=_0x38d2d3[_0x1c8740(0x2fb)](_0x1bde1a[_0x1c8740(0x1f7)]),_0x15e683=_0x38d2d3['getVpScrollXYInfoByPosToVp'](_0x5c22fd['FromArray']([_0x1752ec,_0x4e0591]),_0x4b71cf),_0x2f884f=_0x4ea409[_0x1c8740(0x2f7)](_0x5dd936,_0x4dc56c,_0x1c5d6f,_0x2b036b,_0x15e683);((_0x42bb82=this[_0x1c8740(0x287)])==null?void 0x0:_0x42bb82[_0x1c8740(0x261)])===_0x2f884f[_0x1c8740(0x261)]&&((_0x1bc7b4=this[_0x1c8740(0x287)])==null?void 0x0:_0x1bc7b4[_0x1c8740(0x2ea)])===_0x2f884f[_0x1c8740(0x2ea)]||this['_cursors'][_0x1c8740(0x2e6)](_0x350fcd=>{_0x350fcd['onMouseMove'](_0x2f884f);});},0x64));});}[_0x86a805(0x321)](_0x12be0e,_0xfd588d){const _0x4c1b04=_0x86a805;var _0x5f9d97;const _0x495029=(_0x5f9d97=this[_0x4c1b04(0x31c)]['getCurrent']())==null?void 0x0:_0x5f9d97['skeleton'];if(!_0x495029)return;const _0x121b4f=this[_0x4c1b04(0x36f)]();if(!_0x121b4f)return;this['_cursors'][_0x4c1b04(0x2e6)](_0x56c7e8=>{const _0x560017=_0x4c1b04;_0x56c7e8[_0x560017(0x1b9)]();});const {scene:_0x14ec79}=_0x121b4f,_0x963bd5=Bi(Array[_0x4c1b04(0x21a)](_0xfd588d[_0x4c1b04(0x328)]()))['map'](_0x1d275c=>{const _0x55a7c3=_0x4c1b04,{color:_0x2ae754,range:_0x2d3910,name:_0x31ca9b,selection:_0xc0aad5,sheetID:_0x59d43b}=_0x1d275c,{startColumn:_0x35e946,startRow:_0x11e288,endColumn:_0x51dd81,endRow:_0x3978a6}=_0x2d3910,_0x286cd8=_0x365e27(_0x11e288,_0x35e946,_0x14ec79,_0x495029),_0x4b0133=_0x365e27(_0x3978a6,_0x51dd81,_0x14ec79,_0x495029),{columnHeaderHeightAndMarginTop:_0x4f99e4}=_0x495029,{startX:_0x2768a5,startY:_0x28b70a}=_0x286cd8,{endX:_0x55aada,endY:_0x192d5a}=_0x4b0133,_0x57ec3e=_0x55aada-_0x2768a5,_0x397ef4=_0x192d5a-_0x28b70a,_0x2f862c={'labelPosition':_0x28b70a-_0x4f99e4>=te?_0x55a7c3(0x182):_0x55a7c3(0x2cb),'sheetID':_0x59d43b,'range':_0x2d3910,'color':_0x2ae754,'name':_0x31ca9b,'selection':_0xc0aad5,'left':_0x2768a5,'top':_0x28b70a,'width':_0x57ec3e,'height':_0x397ef4,'evented':!0x1,'zIndex':xi};return new Ai(_0x31ca9b,_0x2f862c);});_0x14ec79[_0x4c1b04(0x304)](_0x963bd5,wi),this[_0x4c1b04(0x1a6)]=new Set(_0x963bd5);}[_0x86a805(0x258)](){const _0x3539e8=_0x86a805;var _0x30eb2b;(_0x30eb2b=this[_0x3539e8(0x1a6)])==null||_0x30eb2b['forEach'](_0x41e071=>_0x41e071['dispose']());}[_0x86a805(0x36f)](){const _0x320436=_0x86a805;return _0x4dd264(this['_context'][_0x320436(0x302)],this[_0x320436(0x266)]);}};Le=$i([pe(0x1,_0x545293(_0x17ce2b)),pe(0x2,_0x545293(H)),pe(0x3,_0x545293(_0x1eaa15))],Le);function Bi(_0x2c7c8b){const _0x526e4d=_0x86a805,_0x3197a8=new Map();return _0x2c7c8b[_0x526e4d(0x2e6)](_0x1b0a1d=>{const _0x565e43=_0x526e4d;if(_0x3197a8[_0x565e43(0x260)](_0x1b0a1d[_0x565e43(0x28c)])){const _0x376a30=_0x3197a8['get'](_0x1b0a1d['selection']);_0x376a30[_0x565e43(0x2ee)]+=',\x20'+_0x1b0a1d['name'];}else _0x3197a8[_0x565e43(0x1a2)](_0x1b0a1d[_0x565e43(0x28c)],_0x1b0a1d);}),Array['from'](_0x3197a8[_0x526e4d(0x328)]());}var I=function(){const _0x529da8=_0x86a805;return I=Object[_0x529da8(0x25a)]||function(_0x128e2f){const _0x51d488=_0x529da8;for(var _0x248700,_0x35b47f=0x1,_0x1c9ace=arguments[_0x51d488(0x303)];_0x35b47f<_0x1c9ace;_0x35b47f++){_0x248700=arguments[_0x35b47f];for(var _0x3e8507 in _0x248700)Object['prototype']['hasOwnProperty']['call'](_0x248700,_0x3e8507)&&(_0x128e2f[_0x3e8507]=_0x248700[_0x3e8507]);}return _0x128e2f;},I[_0x529da8(0x353)](this,arguments);},ki=function(_0x241dde,_0x4d3020){const _0x4793af=_0x86a805;var _0x329a98={};for(var _0x15e1b6 in _0x241dde)Object[_0x4793af(0x32d)][_0x4793af(0x267)]['call'](_0x241dde,_0x15e1b6)&&_0x4d3020[_0x4793af(0x35e)](_0x15e1b6)<0x0&&(_0x329a98[_0x15e1b6]=_0x241dde[_0x15e1b6]);if(_0x241dde!=null&&typeof Object[_0x4793af(0x1fe)]==_0x4793af(0x32b)){for(var _0x4e295e=0x0,_0x15e1b6=Object[_0x4793af(0x1fe)](_0x241dde);_0x4e295e<_0x15e1b6[_0x4793af(0x303)];_0x4e295e++)_0x4d3020[_0x4793af(0x35e)](_0x15e1b6[_0x4e295e])<0x0&&Object[_0x4793af(0x32d)][_0x4793af(0x19b)][_0x4793af(0x34e)](_0x241dde,_0x15e1b6[_0x4e295e])&&(_0x329a98[_0x15e1b6[_0x4e295e]]=_0x241dde[_0x15e1b6[_0x4e295e]]);}return _0x329a98;},We=_0x372972(function(_0x236493,_0x2c6978){const _0x4a84b7=_0x86a805;var _0x22cba9=_0x236493[_0x4a84b7(0x21d)],_0x39f667=_0x236493['id'],_0x364293=_0x236493[_0x4a84b7(0x2f1)],_0x188602=_0x236493[_0x4a84b7(0x1e5)],_0x13cab2=ki(_0x236493,['icon','id','className',_0x4a84b7(0x1e5)]),_0x25a807=_0x4a84b7(0x1be)[_0x4a84b7(0x206)](_0x39f667,'\x20')[_0x4a84b7(0x206)](_0x364293||'')[_0x4a84b7(0x188)](),_0x47f1f3=_0xfd6f42('_'[_0x4a84b7(0x206)](Wi()));return Nt(_0x22cba9,''[_0x4a84b7(0x206)](_0x39f667),{'defIds':_0x22cba9['defIds'],'idSuffix':_0x47f1f3[_0x4a84b7(0x2c1)]},I({'ref':_0x2c6978,'className':_0x25a807},_0x13cab2),_0x188602);});function Nt(_0x3f0785,_0x352796,_0x4a0765,_0x56ea7e,_0x1bcbb7){const _0x2e7630=_0x86a805;return _0x5678ba(_0x3f0785[_0x2e7630(0x227)],I(I({'key':_0x352796},Hi(_0x3f0785,_0x4a0765,_0x1bcbb7)),_0x56ea7e),(ji(_0x3f0785,_0x4a0765)[_0x2e7630(0x1af)]||[])[_0x2e7630(0x1d7)](function(_0x3fc92d,_0x415cb2){const _0x23fca2=_0x2e7630;return Nt(_0x3fc92d,''[_0x23fca2(0x206)](_0x352796,'-')[_0x23fca2(0x206)](_0x3f0785[_0x23fca2(0x227)],'-')[_0x23fca2(0x206)](_0x415cb2),_0x4a0765,void 0x0,_0x1bcbb7);}));}function Hi(_0x5e6489,_0x1b1e62,_0x3cf9c1){const _0x375721=_0x86a805;var _0x362359=I({},_0x5e6489['attrs']);_0x3cf9c1!=null&&_0x3cf9c1['colorChannel1']&&_0x362359[_0x375721(0x282)]==='colorChannel1'&&(_0x362359[_0x375721(0x282)]=_0x3cf9c1[_0x375721(0x1c1)]),_0x5e6489[_0x375721(0x227)]===_0x375721(0x1b3)&&_0x362359['id']&&(_0x362359['id']=_0x362359['id']+_0x1b1e62[_0x375721(0x25c)]),Object[_0x375721(0x2e7)](_0x362359)[_0x375721(0x2e6)](function(_0x190a7c){const _0x2fa4f8=_0x375721;var _0x461443=_0x190a7c[0x0],_0x382707=_0x190a7c[0x1];_0x461443===_0x2fa4f8(0x1b3)&&typeof _0x382707=='string'&&(_0x362359[_0x461443]=_0x382707[_0x2fa4f8(0x256)](/url\(#(.*)\)/,_0x2fa4f8(0x2da)[_0x2fa4f8(0x206)](_0x1b1e62[_0x2fa4f8(0x25c)],')')));});var _0x10728b=_0x1b1e62[_0x375721(0x370)];return!_0x10728b||_0x10728b['length']===0x0||(_0x5e6489[_0x375721(0x227)]===_0x375721(0x20a)&&_0x362359['xlink:href']&&(_0x362359['xlink:href']=_0x362359['xlink:href']+_0x1b1e62[_0x375721(0x25c)]),Object['entries'](_0x362359)['forEach'](function(_0x1afb46){const _0x229c68=_0x375721;var _0x57d5f6=_0x1afb46[0x0],_0x3479a5=_0x1afb46[0x1];typeof _0x3479a5=='string'&&(_0x362359[_0x57d5f6]=_0x3479a5[_0x229c68(0x256)](/url\(#(.*)\)/,_0x229c68(0x2da)['concat'](_0x1b1e62[_0x229c68(0x25c)],')')));})),_0x362359;}function ji(_0x3aa88c,_0x4afb2e){const _0x13bab8=_0x86a805;var _0x3a0334,_0xacbd87=_0x4afb2e[_0x13bab8(0x370)];return!_0xacbd87||_0xacbd87[_0x13bab8(0x303)]===0x0?_0x3aa88c:_0x3aa88c[_0x13bab8(0x227)]==='defs'&&(!((_0x3a0334=_0x3aa88c['children'])===null||_0x3a0334===void 0x0)&&_0x3a0334[_0x13bab8(0x303)])?I(I({},_0x3aa88c),{'children':_0x3aa88c['children']['map'](function(_0x25c6c7){const _0x56ef56=_0x13bab8;return typeof _0x25c6c7[_0x56ef56(0x2eb)]['id']==_0x56ef56(0x354)&&_0xacbd87&&_0xacbd87['indexOf'](_0x25c6c7[_0x56ef56(0x2eb)]['id'])>-0x1?I(I({},_0x25c6c7),{'attrs':I(I({},_0x25c6c7[_0x56ef56(0x2eb)]),{'id':_0x25c6c7[_0x56ef56(0x2eb)]['id']+_0x4afb2e[_0x56ef56(0x25c)]})}):_0x25c6c7;})}):_0x3aa88c;}function Wi(){const _0x1261c6=_0x86a805;return Math[_0x1261c6(0x23e)]()[_0x1261c6(0x36c)](0x24)[_0x1261c6(0x2bc)](0x2,0x8);}We[_0x86a805(0x35d)]=_0x86a805(0x217);var Fi={'tag':_0x86a805(0x310),'attrs':{'fill':'none','viewBox':_0x86a805(0x1c6),'width':_0x86a805(0x2b0),'height':_0x86a805(0x2b0)},'children':[{'tag':'g','attrs':{'clipPath':_0x86a805(0x290)},'children':[{'tag':_0x86a805(0x2f8),'attrs':{'stroke':_0x86a805(0x22a),'d':_0x86a805(0x264),'strokeLinecap':_0x86a805(0x244),'strokeLinejoin':_0x86a805(0x244),'strokeWidth':1.2}}]},{'tag':_0x86a805(0x2d7),'attrs':{},'children':[{'tag':_0x86a805(0x315),'attrs':{'id':_0x86a805(0x1a1)},'children':[{'tag':'path','attrs':{'fill':_0x86a805(0x1f8),'d':_0x86a805(0x278)}}]}]}],'defIds':[_0x86a805(0x1a1)]},Ut=_0x372972(function(_0x4ad6fc,_0x15178e){const _0x549ccc=_0x86a805;return _0x5678ba(We,Object[_0x549ccc(0x25a)]({},_0x4ad6fc,{'id':_0x549ccc(0x36e),'ref':_0x15178e,'icon':Fi}));});Ut[_0x86a805(0x35d)]=_0x86a805(0x28f);var Yi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x86a805(0x2f9),'width':_0x86a805(0x2b0),'height':_0x86a805(0x2b0)},'children':[{'tag':'g','attrs':{'clipPath':_0x86a805(0x20b)},'children':[{'tag':_0x86a805(0x2f8),'attrs':{'stroke':_0x86a805(0x22a),'d':_0x86a805(0x276),'strokeLinecap':_0x86a805(0x244),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x86a805(0x2d7),'attrs':{},'children':[{'tag':_0x86a805(0x315),'attrs':{'id':_0x86a805(0x24f)},'children':[{'tag':'path','attrs':{'fill':_0x86a805(0x1f8),'d':'M0\x200H16V16H0z','transform':_0x86a805(0x22f)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Mt=_0x372972(function(_0x23e67d,_0x452aec){const _0x37c230=_0x86a805;return _0x5678ba(We,Object[_0x37c230(0x25a)]({},_0x23e67d,{'id':_0x37c230(0x1c8),'ref':_0x452aec,'icon':Yi}));});Mt[_0x86a805(0x35d)]=_0x86a805(0x257);const Vi=_0x86a805(0x2a4),Xi=_0x86a805(0x343),Gi=_0x86a805(0x2bd),Ki='univer-online',zi=_0x86a805(0x1db),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0xd6891c){const _0x59589e=_0x86a805;switch(_0xd6891c){case _0x185889[_0x59589e(0x326)]:return _0x59589e(0x27b);case _0x185889[_0x59589e(0x249)]:return _0x59589e(0x35f);case _0x185889[_0x59589e(0x17f)]:return'collabStatus.fetchMiss';case _0x185889[_0x59589e(0x243)]:return'collabStatus.notCollab';case _0x185889[_0x59589e(0x18a)]:case _0x185889[_0x59589e(0x333)]:return _0x59589e(0x344);case _0x185889[_0x59589e(0x2ad)]:case _0x185889[_0x59589e(0x34c)]:return _0x59589e(0x280);}}function Zi(_0x15162b){const _0x29ba98=_0x86a805,{status$:_0x7c36f4}=_0x15162b,_0x492165=_0x52d375(_0x7c36f4,_0x185889['NOT_COLLAB']),_0x434eed=_0x3ced37(_0x31b4bf),_0x46aa99=_0x3ced37(_0x1c0a48),_0x12def6=_0x492165!==_0x185889[_0x29ba98(0x326)],_0x484b94=_0x434eed['t'](Ji(_0x492165)),_0x2b1fd6=_0x530cb9(G['onlineStatus'],{[G[_0x29ba98(0x1d5)]]:_0x12def6,[G[_0x29ba98(0x2fa)]]:!_0x12def6}),_0x116ab2=_0x12def6?_0x2a7306(Mt,{}):_0x2a7306(Ut,{}),_0x4c37f1=_0x127ea7(()=>{const _0x5e0f04=_0x29ba98;_0x12def6||_0x46aa99[_0x5e0f04(0x2cd)]();},[_0x12def6,_0x46aa99]);function _0x421684(){const _0x18c603=_0x29ba98;return _0x3c0c6a(_0x18c603(0x1d1),{'className':_0x530cb9(_0x2b1fd6,_0x18c603(0x369)),'onClick':_0x4c37f1,'children':[_0x2a7306(_0x18c603(0x1d1),{'className':G['onlineStatusIcon'],'children':_0x116ab2}),_0x2a7306(_0x18c603(0x1d1),{'className':G['onlineStatusTitle'],'children':_0x484b94})]});}return _0x12def6?_0x421684():_0x2a7306(_0x67b36c,{'title':_0x434eed['t'](_0x29ba98(0x292)),'children':_0x421684()});}var Qi=Object[_0x86a805(0x172)],qi=(_0x39c624,_0x380cb6,_0x2abc8f,_0xd92ac8)=>{for(var _0x36e69f=_0xd92ac8>0x1?void 0x0:_0xd92ac8?Qi(_0x380cb6,_0x2abc8f):_0x380cb6,_0x5f3a2d=_0x39c624['length']-0x1,_0x287a19;_0x5f3a2d>=0x0;_0x5f3a2d--)(_0x287a19=_0x39c624[_0x5f3a2d])&&(_0x36e69f=_0x287a19(_0x36e69f)||_0x36e69f);return _0x36e69f;},q=(_0xb821c3,_0x414ea8)=>(_0x400ab8,_0x53327b)=>_0x414ea8(_0x400ab8,_0x53327b,_0xb821c3);let se=class extends _0x413335{constructor(_0x7a506c,_0x51230c,_0x322568,_0x184ded){const _0xf0769b=_0x86a805;super(),_(this,_0xf0769b(0x2ab),new _0x5bcfa8(_0x185889[_0xf0769b(0x243)])),(this[_0xf0769b(0x222)]=_0x7a506c,this[_0xf0769b(0x331)]=_0x51230c,this['_collaborationController']=_0x322568,this[_0xf0769b(0x1da)]=_0x184ded,this[_0xf0769b(0x253)](),this[_0xf0769b(0x2c0)]());}[_0x86a805(0x2c0)](){const _0x4ea1d3=_0x86a805;this[_0x4ea1d3(0x299)](this[_0x4ea1d3(0x222)][_0x4ea1d3(0x2b1)]['pipe'](_0x385b28(()=>{const _0x47a11f=_0x4ea1d3,_0x2c70bd=this[_0x47a11f(0x222)][_0x47a11f(0x185)]();return _0x2c70bd?this['_collaborationController'][_0x47a11f(0x271)](_0x2c70bd['getUnitId']()):_0x2404b0(null);}),_0x385b28(_0x36739a=>_0x36739a?_0x36739a[_0x4ea1d3(0x29b)]:_0x2404b0(_0x185889['NOT_COLLAB'])))[_0x4ea1d3(0x22b)](_0x5255e2=>{const _0x37cf25=_0x4ea1d3;this[_0x37cf25(0x2ab)][_0x37cf25(0x171)](_0x5255e2);}));}['_initStatusComponent'](){const _0x1aa26e=_0x86a805;this[_0x1aa26e(0x299)](this['_uiPartsService']['registerComponent'](_0x4d1246[_0x1aa26e(0x22d)],()=>_0x105aa6(en({'status$':this[_0x1aa26e(0x2ab)][_0x1aa26e(0x2f6)]()}),this[_0x1aa26e(0x331)])));}};se=qi([q(0x0,_0x3b4d53),q(0x1,_0x545293(_0xd016db)),q(0x2,_0x545293(_0x1c5104)),q(0x3,_0x13c01c)],se);function en(_0xf0d530){const {status$:_0x3b6ac0}=_0xf0d530;return function(){return _0x2a7306(Zi,{'status$':_0x3b6ac0});};}var tn=Object[_0x86a805(0x172)],sn=(_0x2364e3,_0xe5e299,_0x53747e,_0x31d354)=>{for(var _0x5029c1=_0x31d354>0x1?void 0x0:_0x31d354?tn(_0xe5e299,_0x53747e):_0xe5e299,_0x448bdc=_0x2364e3['length']-0x1,_0x516728;_0x448bdc>=0x0;_0x448bdc--)(_0x516728=_0x2364e3[_0x448bdc])&&(_0x5029c1=_0x516728(_0x5029c1)||_0x5029c1);return _0x5029c1;},B=(_0x5d51b9,_0x192866)=>(_0x383316,_0x576972)=>_0x192866(_0x383316,_0x576972,_0x5d51b9);let ie=class extends _0x413335{constructor(_0x20a2f1,_0x4d70c9,_0x25c9d6,_0x3d27a3,_0x1d001b,_0x2e872e){const _0xe4d6aa=_0x86a805;super(),this[_0xe4d6aa(0x27d)]=_0x20a2f1,this['_localCacheService']=_0x4d70c9,this[_0xe4d6aa(0x274)]=_0x25c9d6,this[_0xe4d6aa(0x356)]=_0x3d27a3,this[_0xe4d6aa(0x2d3)]=_0x1d001b,this[_0xe4d6aa(0x2c2)]=_0x2e872e,this[_0xe4d6aa(0x18b)](),this[_0xe4d6aa(0x2d6)]();}[_0x86a805(0x18b)](){const _0x1d4642=_0x86a805;this['disposeWithMe'](this[_0x1d4642(0x27d)][_0x1d4642(0x322)](()=>{const _0x29e252=_0x1d4642;if(this[_0x29e252(0x27f)][_0x29e252(0x1f4)][_0x29e252(0x214)])return this['_localeService']['t'](_0x29e252(0x2ff));}));}[_0x86a805(0x2d6)](){const _0x5c44b0=_0x86a805;this['disposeWithMe'](this[_0x5c44b0(0x274)][_0x5c44b0(0x21f)][_0x5c44b0(0x22b)](_0x1b3c31=>{const _0x14e667=_0x5c44b0;_0x1b3c31['id']===_0x57be84[_0x14e667(0x273)]&&this[_0x14e667(0x356)]['show']({'type':_0x2baf77[_0x14e667(0x212)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x1fc))}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x17a)]&&this[_0x14e667(0x356)][_0x14e667(0x230)]({'type':_0x2baf77[_0x14e667(0x212)],'content':this['_localeService']['t'](_0x14e667(0x173))}),_0x1b3c31['id']===_0x57be84['PERMISSION_DENIED']&&this[_0x14e667(0x2d3)][_0x14e667(0x230)]({'title':this[_0x14e667(0x2c2)]['t']('permission.title'),'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x2d0)),'type':_0x14e667(0x36b),'duration':0x0}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x249)]&&this['_messageService']['show']({'type':_0x2baf77[_0x14e667(0x2d8)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x173))+'('+_0x1b3c31[_0x14e667(0x338)]+')'}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x25b)]&&this['_messageService']['show']({'type':_0x2baf77[_0x14e667(0x212)],'content':this[_0x14e667(0x2c2)]['t'](_0x1b3c31['data']||'')}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x30d)]&&this[_0x14e667(0x356)][_0x14e667(0x230)]({'type':_0x2baf77[_0x14e667(0x212)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x228))}),_0x1b3c31['id']===_0x57be84[_0x14e667(0x376)]&&this[_0x14e667(0x356)]['show']({'type':_0x2baf77[_0x14e667(0x2d8)],'content':this['_localeService']['t'](_0x14e667(0x366))}),_0x1b3c31['id']===_0x57be84['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x14e667(0x230)]({'type':_0x2baf77[_0x14e667(0x2d8)],'content':this[_0x14e667(0x2c2)]['t'](_0x14e667(0x339))});}));}};ie=sn([B(0x0,_0x422070),B(0x1,_0x2f93fc),B(0x2,_0x545293(_0x1237de)),B(0x3,_0x21bd27),B(0x4,_0x59f9b4),B(0x5,_0x545293(_0x31b4bf))],ie);const nn='collaboration-client-ui.config',st={},Pt=_0x571548(_0x86a805(0x2e0));var rn=Object[_0x86a805(0x172)],on=(_0x14a6a6,_0x5baf31,_0x78296e,_0x4a4397)=>{for(var _0x350998=_0x4a4397>0x1?void 0x0:_0x4a4397?rn(_0x5baf31,_0x78296e):_0x5baf31,_0x2e1cd1=_0x14a6a6['length']-0x1,_0x31b05b;_0x2e1cd1>=0x0;_0x2e1cd1--)(_0x31b05b=_0x14a6a6[_0x2e1cd1])&&(_0x350998=_0x31b05b(_0x350998)||_0x350998);return _0x350998;},K=(_0x2d91bb,_0x36fb48)=>(_0x181129,_0xab8bac)=>_0x36fb48(_0x181129,_0xab8bac,_0x2d91bb);let ne=class extends _0xb123e2{constructor(_0x255731,_0x1dcf77,_0x194851,_0x4133d9,_0x318d2c){const _0x1162db=_0x86a805;super(),this[_0x1162db(0x1c0)]=_0x255731,this['_logService']=_0x1dcf77,this['_commandService']=_0x194851,this[_0x1162db(0x2e9)]=_0x4133d9,_0x318d2c?_0x318d2c==null||_0x318d2c[_0x1162db(0x2fc)]()[_0x1162db(0x255)](()=>this[_0x1162db(0x312)]()):(this[_0x1162db(0x26d)][_0x1162db(0x1bc)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x86a805(0x312)](){const _0x261bb5=_0x86a805,_0x57fcea=this[_0x261bb5(0x1c0)][_0x261bb5(0x1e1)]('unit'),_0x39aadf=this[_0x261bb5(0x1c0)][_0x261bb5(0x1e1)](_0x261bb5(0x309)),_0x52cae6=this['_urlService'][_0x261bb5(0x1e1)](_0x261bb5(0x2a6));if(!_0x57fcea||!_0x39aadf){this[_0x261bb5(0x26d)][_0x261bb5(0x1bc)](_0x261bb5(0x1ed),_0x261bb5(0x2c8));return;}const _0x3c8505=await this[_0x261bb5(0x2e9)]['loadUnit'](_0x57fcea,Number(_0x39aadf),_0x52cae6);_0x3c8505&&_0x3c8505 instanceof _0x1038c2&&this[_0x261bb5(0x298)](_0x3c8505);}async['_setupSubUnitSync'](_0x2ffc59){const _0x3b632d=_0x86a805;await this['_updateSubUnitFromURLParams'](_0x2ffc59),_0x2ffc59[_0x3b632d(0x2c4)][_0x3b632d(0x205)](_0x51fbbc(this[_0x3b632d(0x289)]))[_0x3b632d(0x22b)](_0x42e675=>{const _0x535067=_0x3b632d;_0x42e675&&this[_0x535067(0x1ff)](_0x42e675);}),this['_urlService'][_0x3b632d(0x1e4)][_0x3b632d(0x205)](_0x51fbbc(this[_0x3b632d(0x289)]))[_0x3b632d(0x22b)](()=>this[_0x3b632d(0x2b6)](_0x2ffc59));}[_0x86a805(0x1ff)](_0x357cad,_0x1c972a=!0x1){const _0x233e99=_0x86a805,_0x2330cf=this['_urlService'][_0x233e99(0x1e1)]('subunit');_0x357cad['getSheetId']()!==_0x2330cf&&this[_0x233e99(0x1c0)][_0x233e99(0x308)](_0x233e99(0x2a6),_0x357cad[_0x233e99(0x35c)](),_0x1c972a);}async[_0x86a805(0x2b6)](_0x36dbac){const _0x3e2427=_0x86a805;var _0x2bcb94;const _0x27dd55=this['_urlService'][_0x3e2427(0x1e1)](_0x3e2427(0x2a6));if(!_0x27dd55||!_0x36dbac[_0x3e2427(0x35b)](_0x27dd55)){const _0x3036e6=_0x36dbac['getUnhiddenWorksheets']()[0x0],_0x38b08c=_0x36dbac[_0x3e2427(0x35b)](_0x3036e6);if(!_0x38b08c)return;this[_0x3e2427(0x1ff)](_0x38b08c,!0x0),await this['_commandService']['executeCommand'](_0x2e0678['id'],{'unitId':_0x36dbac[_0x3e2427(0x235)](),'subUnitId':_0x3036e6});return;}((_0x2bcb94=_0x36dbac[_0x3e2427(0x189)]())==null?void 0x0:_0x2bcb94['getSheetId']())!==_0x27dd55&&await this['_commandService'][_0x3e2427(0x199)](_0x2e0678['id'],{'unitId':_0x36dbac[_0x3e2427(0x235)](),'subUnitId':_0x27dd55});}};ne=on([K(0x0,Pt),K(0x1,_0x1439a0),K(0x2,_0x27119f),K(0x3,_0x545293(_0x31df32)),K(0x4,_0x3026a9(_0x58ce1d))],ne);var an=Object[_0x86a805(0x172)],cn=(_0x22f8d0,_0x1c6087,_0x190fd5,_0x36df66)=>{const _0x3c0aad=_0x86a805;for(var _0xd13f47=_0x36df66>0x1?void 0x0:_0x36df66?an(_0x1c6087,_0x190fd5):_0x1c6087,_0x270d8a=_0x22f8d0[_0x3c0aad(0x303)]-0x1,_0x5943ec;_0x270d8a>=0x0;_0x270d8a--)(_0x5943ec=_0x22f8d0[_0x270d8a])&&(_0xd13f47=_0x5943ec(_0xd13f47)||_0xd13f47);return _0xd13f47;},Ce=(_0x363c06,_0x19b6ee)=>(_0x40935a,_0x878895)=>_0x19b6ee(_0x40935a,_0x878895,_0x363c06);let re=class{constructor(_0x55f3f9,_0x4d7cc8,_0xb2640d){const _0x551014=_0x86a805;this[_0x551014(0x331)]=_0x55f3f9,this[_0x551014(0x372)]=_0x4d7cc8,this[_0x551014(0x263)]=_0xb2640d;}[_0x86a805(0x291)](_0x420f94){const _0x3736ae=_0x86a805;this[_0x3736ae(0x25d)](_0x420f94),this[_0x3736ae(0x240)](_0x420f94);}['transformRemoteChangeset'](_0x4e0717){const _0x2d6779=_0x86a805,{unitID:_0x44ddd5}=_0x4e0717,_0x10c37b=this[_0x2d6779(0x263)][_0x2d6779(0x345)](_0x44ddd5)[_0x2d6779(0x2fe)](_0x34b76a),{redoCache:_0x4ac394}=_0x10c37b['getUndoRedoMutationParamsCache']();if(_0x4ac394[_0x2d6779(0x303)]===0x0)return _0x4e0717;let _0x382d79=_0x168ff4['deepClone'](_0x4e0717[_0x2d6779(0x23a)][0x0]);for(let _0x2b5f84=0x0;_0x2b5f84<_0x4ac394[_0x2d6779(0x303)];_0x2b5f84++){const _0x474782={'id':'doc.mutation.rich-text-editing','params':{..._0x4ac394[_0x2b5f84]}},_0x496082=this[_0x2d6779(0x372)]['transformMutation'](_0x382d79,_0x474782,!0x1);if(_0x503208(_0x496082))throw _0x496082[_0x2d6779(0x36b)];_0x382d79=_0x496082['m1Prime'];}return{..._0x168ff4[_0x2d6779(0x1a3)](_0x4e0717),'mutations':[_0x382d79]};}[_0x86a805(0x25d)](_0x412fa){const _0x1351f9=_0x86a805,{unitID:_0x3407f4}=_0x412fa,_0x5c4452=this[_0x1351f9(0x263)][_0x1351f9(0x345)](_0x3407f4)[_0x1351f9(0x2fe)](_0x34b76a),{undoCache:_0x2b526a,redoCache:_0x548f61}=_0x5c4452[_0x1351f9(0x2f2)]();if(_0x2b526a[_0x1351f9(0x303)]===0x0||_0x548f61[_0x1351f9(0x303)]===0x0)return;const _0x416ae3=[],_0xc451c5=[];let _0x22db6b=_0x168ff4[_0x1351f9(0x1a3)](_0x412fa[_0x1351f9(0x23a)][0x0]),_0x1dfafc=_0x168ff4[_0x1351f9(0x1a3)](_0x412fa['mutations'][0x0]);for(let _0x1418f5=_0x2b526a[_0x1351f9(0x303)]-0x1;_0x1418f5>=0x0;_0x1418f5--){const _0x4700f6={'id':_0x1351f9(0x186),'params':{..._0x2b526a[_0x1418f5]}},_0xc9bbc1={'id':_0x1351f9(0x186),'params':{..._0x548f61[_0x1418f5]}},_0x4199c3=this[_0x1351f9(0x372)][_0x1351f9(0x35a)](_0x22db6b,_0x4700f6,!0x1),_0x5452e7=this[_0x1351f9(0x372)][_0x1351f9(0x35a)](_0x1dfafc,_0xc9bbc1,!0x1);if(_0x503208(_0x4199c3))throw _0x4199c3['error'];if(_0x503208(_0x5452e7))throw _0x5452e7[_0x1351f9(0x36b)];_0x416ae3[_0x1351f9(0x241)](_0x4199c3['m2Prime'][_0x1351f9(0x348)]),_0xc451c5[_0x1351f9(0x241)](_0x5452e7[_0x1351f9(0x1f3)][_0x1351f9(0x348)]),_0x22db6b=_0x4199c3[_0x1351f9(0x23c)],_0x1dfafc=_0x5452e7[_0x1351f9(0x23c)];}_0x5c4452[_0x1351f9(0x1a9)]({'undoCache':_0x416ae3,'redoCache':_0xc451c5});}[_0x86a805(0x240)](_0x59bf6e){const _0x559605=_0x86a805,{unitID:_0x93429b}=_0x59bf6e,_0x522363=this[_0x559605(0x263)][_0x559605(0x345)](_0x93429b)[_0x559605(0x2fe)](_0x34b76a),_0x48b570=_0x522363[_0x559605(0x220)]();if(_0x48b570==null)return;const _0x3a227a=[{'id':_0x559605(0x186),'params':{'unitId':_0x59bf6e[_0x559605(0x247)],'actions':null,'textRanges':[_0x48b570]}}],_0x707133=this['_transformService'][_0x559605(0x25e)](_0x59bf6e,_0x3a227a);if(!_0x13d2b8(_0x707133))throw _0x707133[_0x559605(0x36b)];const _0x27d3de=_0x707133[_0x559605(0x1f3)][0x0]['params']['textRanges'];Array[_0x559605(0x1aa)](_0x27d3de)&&_0x27d3de['length']&&_0x522363[_0x559605(0x23f)](_0x27d3de[0x0]);}};re=cn([Ce(0x0,_0x545293(_0xd016db)),Ce(0x1,_0x5241f1),Ce(0x2,_0x293f75)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x2346ad,_0x3a9e22,_0x519fc0,_0x4cd39a)=>{for(var _0x55b88a=_0x4cd39a>0x1?void 0x0:_0x4cd39a?ln(_0x3a9e22,_0x519fc0):_0x3a9e22,_0x25b293=_0x2346ad['length']-0x1,_0x178ad6;_0x25b293>=0x0;_0x25b293--)(_0x178ad6=_0x2346ad[_0x25b293])&&(_0x55b88a=_0x178ad6(_0x55b88a)||_0x55b88a);return _0x55b88a;},Ee=(_0x225bab,_0x5e1f50)=>(_0x5da721,_0xaed28c)=>_0x5e1f50(_0x5da721,_0xaed28c,_0x225bab);let oe=class{constructor(_0x337c8f,_0x30038d,_0x319c0f){const _0x65e8f7=_0x86a805;this['_injector']=_0x337c8f,this[_0x65e8f7(0x372)]=_0x30038d,this[_0x65e8f7(0x279)]=_0x319c0f;}['transformStateCache'](_0x5ac017){this['_transformHistoryAndStateStack'](_0x5ac017);}['transformRemoteChangeset'](_0x17e7e6){const _0x57b2d4=_0x86a805,{unitID:_0x29d180}=_0x17e7e6,{collaboration:_0x320d1e}=this[_0x57b2d4(0x279)]['getStateCache'](_0x29d180);if(_0x320d1e[_0x57b2d4(0x303)]===0x0)return _0x17e7e6;let _0x3081f1=_0x168ff4['deepClone'](_0x17e7e6[_0x57b2d4(0x23a)][0x0]);for(let _0x2815ab=0x0;_0x2815ab<_0x320d1e[_0x57b2d4(0x303)];_0x2815ab++){const _0x908df5={'id':_0x57b2d4(0x186),'params':{'unitId':_0x320d1e[_0x2815ab]['unitId'],..._0x320d1e[_0x2815ab][_0x57b2d4(0x2be)]}},_0x11dc47=this['_transformService'][_0x57b2d4(0x35a)](_0x3081f1,_0x908df5,!0x1);if(_0x503208(_0x11dc47))throw _0x11dc47['error'];_0x3081f1=_0x11dc47[_0x57b2d4(0x23c)];}return{..._0x168ff4[_0x57b2d4(0x1a3)](_0x17e7e6),'mutations':[_0x3081f1]};}[_0x86a805(0x1a8)](_0x174ab7){const _0x38cc2b=_0x86a805,{unitID:_0x4ea13b}=_0x174ab7,{history:_0x1346ce,collaboration:_0x16e9f3}=this[_0x38cc2b(0x279)][_0x38cc2b(0x1f9)](_0x4ea13b);if(_0x1346ce[_0x38cc2b(0x303)]===0x0&&_0x16e9f3[_0x38cc2b(0x303)]===0x0)return;const _0x505681=[],_0x37fea4=[];let _0x1281cc=_0x168ff4['deepClone'](_0x174ab7['mutations'][0x0]),_0x332bc7=_0x168ff4[_0x38cc2b(0x1a3)](_0x174ab7[_0x38cc2b(0x23a)][0x0]);for(let _0x55caa2=_0x1346ce[_0x38cc2b(0x303)]-0x1;_0x55caa2>=0x0;_0x55caa2--){const _0x4bacbe={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1346ce[_0x55caa2][_0x38cc2b(0x337)],..._0x1346ce[_0x55caa2][_0x38cc2b(0x334)]}},_0x185b03={'id':_0x38cc2b(0x186),'params':{'unitId':_0x1346ce[_0x55caa2]['unitId'],..._0x1346ce[_0x55caa2][_0x38cc2b(0x2be)]}},_0x7486e1=this[_0x38cc2b(0x372)]['transformMutation'](_0x1281cc,_0x4bacbe,!0x1),_0x107637=this[_0x38cc2b(0x372)][_0x38cc2b(0x35a)](_0x332bc7,_0x185b03,!0x1);if(_0x503208(_0x7486e1))throw _0x7486e1[_0x38cc2b(0x36b)];if(_0x503208(_0x107637))throw _0x107637[_0x38cc2b(0x36b)];_0x505681[_0x38cc2b(0x241)]({..._0x1346ce[_0x55caa2],'undoState':_0x7486e1['m2Prime'][_0x38cc2b(0x348)],'redoState':_0x107637[_0x38cc2b(0x1f3)]['params']}),_0x1281cc=_0x7486e1[_0x38cc2b(0x23c)],_0x332bc7=_0x107637[_0x38cc2b(0x23c)];}_0x1281cc=_0x168ff4[_0x38cc2b(0x1a3)](_0x174ab7[_0x38cc2b(0x23a)][0x0]),_0x332bc7=_0x168ff4['deepClone'](_0x174ab7[_0x38cc2b(0x23a)][0x0]);for(let _0x4cd5ba=_0x16e9f3['length']-0x1;_0x4cd5ba>=0x0;_0x4cd5ba--){const _0x195874={'id':_0x38cc2b(0x186),'params':{'unitId':_0x16e9f3[_0x4cd5ba][_0x38cc2b(0x337)],..._0x16e9f3[_0x4cd5ba][_0x38cc2b(0x334)]}},_0x5981c4={'id':_0x38cc2b(0x186),'params':{'unitId':_0x16e9f3[_0x4cd5ba]['unitId'],..._0x16e9f3[_0x4cd5ba][_0x38cc2b(0x2be)]}},_0x2c50a5=this[_0x38cc2b(0x372)][_0x38cc2b(0x35a)](_0x1281cc,_0x195874,!0x1),_0x3a4970=this[_0x38cc2b(0x372)][_0x38cc2b(0x35a)](_0x332bc7,_0x5981c4,!0x1);if(_0x503208(_0x2c50a5))throw _0x2c50a5[_0x38cc2b(0x36b)];if(_0x503208(_0x3a4970))throw _0x3a4970[_0x38cc2b(0x36b)];_0x37fea4[_0x38cc2b(0x241)]({..._0x16e9f3[_0x4cd5ba],'undoState':_0x2c50a5[_0x38cc2b(0x1f3)][_0x38cc2b(0x348)],'redoState':_0x3a4970[_0x38cc2b(0x1f3)][_0x38cc2b(0x348)]}),_0x1281cc=_0x2c50a5[_0x38cc2b(0x23c)],_0x332bc7=_0x3a4970[_0x38cc2b(0x23c)];}this[_0x38cc2b(0x279)][_0x38cc2b(0x31e)](_0x4ea13b,{'history':_0x505681,'collaboration':_0x37fea4});}};oe=_n([Ee(0x0,_0x545293(_0xd016db)),Ee(0x1,_0x5241f1),Ee(0x2,_0x545293(_0x54f7c6))],oe);var hn=Object[_0x86a805(0x172)],un=(_0x19d94b,_0xc3f12e,_0x108a2c,_0x30d64a)=>{const _0x46b05a=_0x86a805;for(var _0x194da4=_0x30d64a>0x1?void 0x0:_0x30d64a?hn(_0xc3f12e,_0x108a2c):_0xc3f12e,_0x588181=_0x19d94b[_0x46b05a(0x303)]-0x1,_0x4c84bf;_0x588181>=0x0;_0x588181--)(_0x4c84bf=_0x19d94b[_0x588181])&&(_0x194da4=_0x4c84bf(_0x194da4)||_0x194da4);return _0x194da4;},it=(_0x333c05,_0x1246e8)=>(_0x54f103,_0x4416de)=>_0x1246e8(_0x54f103,_0x4416de,_0x333c05);let ae=class{constructor(_0x17197b,_0x479868){const _0x2453ae=_0x86a805;this['_injector']=_0x17197b,this[_0x2453ae(0x372)]=_0x479868;}['transformSelections'](_0x3e1de0){const _0x29a717=_0x86a805;var _0x5798fa;const _0x12f734=this[_0x29a717(0x331)][_0x29a717(0x2d4)](_0x40410e),_0x19fab5=(_0x5798fa=_0x12f734[_0x29a717(0x2c5)]())!=null?_0x5798fa:[];if(_0x19fab5[_0x29a717(0x303)]===0x0)return;const _0x4c6245=_0x3e1de0[_0x29a717(0x247)],_0xb71500=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4c6245,'actions':null,'textRanges':_0x19fab5}}],_0x153b3c=this[_0x29a717(0x372)][_0x29a717(0x25e)](_0x3e1de0,_0xb71500);if(!_0x13d2b8(_0x153b3c))throw _0x153b3c['error'];const _0x4ed9b1=_0x153b3c[_0x29a717(0x1f3)][0x0][_0x29a717(0x348)][_0x29a717(0x2d1)];Array[_0x29a717(0x1aa)](_0x4ed9b1)&&_0x4ed9b1[_0x29a717(0x303)]&&_0x12f734[_0x29a717(0x1ca)](_0x4ed9b1,{'unitId':_0x4c6245,'subUnitId':_0x4c6245},!0x1);}};ae=un([it(0x0,_0x545293(_0xd016db)),it(0x1,_0x5241f1)],ae);var dn=Object[_0x86a805(0x172)],fn=(_0x5ea118,_0x223737,_0x1f4345,_0x55a6d2)=>{for(var _0x35ef06=_0x55a6d2>0x1?void 0x0:_0x55a6d2?dn(_0x223737,_0x1f4345):_0x223737,_0x3796d4=_0x5ea118['length']-0x1,_0x5ce27e;_0x3796d4>=0x0;_0x3796d4--)(_0x5ce27e=_0x5ea118[_0x3796d4])&&(_0x35ef06=_0x5ce27e(_0x35ef06)||_0x35ef06);return _0x35ef06;},U=(_0x1c6fa7,_0x39bad3)=>(_0x5eaec9,_0x394ea9)=>_0x39bad3(_0x5eaec9,_0x394ea9,_0x1c6fa7);let ce=class extends _0x413335{constructor(_0x41668a,_0x499e41,_0x4cbe02,_0x923491,_0x4b90c9,_0x256688,_0xb09132,_0x13b1f){const _0x15768d=_0x86a805;super(),_(this,_0x15768d(0x2ab),new _0x5bcfa8(_0x185889[_0x15768d(0x243)])),(this['_docStateChangeManagerService']=_0x41668a,this[_0x15768d(0x176)]=_0x499e41,this[_0x15768d(0x19e)]=_0x4cbe02,this[_0x15768d(0x293)]=_0x923491,this[_0x15768d(0x1e7)]=_0x4b90c9,this[_0x15768d(0x307)]=_0x256688,this[_0x15768d(0x356)]=_0xb09132,this['_localeService']=_0x13b1f,this[_0x15768d(0x363)]());}['_initEntityListener'](){const _0x38cb2e=_0x86a805;this[_0x38cb2e(0x299)](this[_0x38cb2e(0x176)][_0x38cb2e(0x1ea)][_0x38cb2e(0x22b)](_0x1f9f46=>{const _0x13ebbe=_0x38cb2e,_0x5163e4=this[_0x13ebbe(0x279)]['docStateChange$'][_0x13ebbe(0x22b)](_0x2d4c9e=>{const _0x3edd20=_0x13ebbe;if(_0x2d4c9e==null)return;const {unitId:_0x543c88,redoState:_0x183cd8,commandId:_0x2ac796}=_0x2d4c9e;if(_0x543c88!==_0x1f9f46[_0x3edd20(0x247)])return;const _0x56cf2a={'id':_0x2ac796,'type':_0x29bf00[_0x3edd20(0x2a9)],'params':{'unitId':_0x543c88,'actions':_0x183cd8['actions'],'textRanges':null}};_0x1f9f46['onLocalMutation'](_0x56cf2a);});if(_0x1f9f46[_0x13ebbe(0x299)](_0x5163e4),_0x1f9f46 instanceof _0x5706ec){const _0x1b1273={'onTransformIME':_0xac648a=>this['_docTransformIMECacheService'][_0x13ebbe(0x291)](_0xac648a),'onTransformState':_0xb50c68=>this[_0x13ebbe(0x293)]['transformStateCache'](_0xb50c68),'onTransformSelections':_0x58d24a=>this[_0x13ebbe(0x1e7)][_0x13ebbe(0x19c)](_0x58d24a),'onSyncEditingCollabCursor':_0x5ec3d5=>this['_docSyncEditingCollabCursorService'][_0x13ebbe(0x268)](_0x5ec3d5),'onTransformRemoteChangesetByIMECache':_0x2809d9=>this[_0x13ebbe(0x19e)][_0x13ebbe(0x248)](_0x2809d9),'onTransformRemoteChangesetByStateCache':_0x36f761=>this[_0x13ebbe(0x293)]['transformRemoteChangeset'](_0x36f761)};_0x1f9f46[_0x13ebbe(0x2f5)](_0x1b1273);}}));}};ce=fn([U(0x0,_0x545293(_0x54f7c6)),U(0x1,_0x545293(_0x1c5104)),U(0x2,_0x545293(re)),U(0x3,_0x545293(oe)),U(0x4,_0x545293(ae)),U(0x5,_0x545293(je)),U(0x6,_0x21bd27),U(0x7,_0x545293(_0x31b4bf))],ce);var Sn=Object[_0x86a805(0x172)],mn=(_0x55f1ea,_0x54a8d8,_0x32cd83,_0x4a1fe7)=>{const _0x415e75=_0x86a805;for(var _0x34153a=_0x4a1fe7>0x1?void 0x0:_0x4a1fe7?Sn(_0x54a8d8,_0x32cd83):_0x54a8d8,_0x281bcf=_0x55f1ea[_0x415e75(0x303)]-0x1,_0x465bde;_0x281bcf>=0x0;_0x281bcf--)(_0x465bde=_0x55f1ea[_0x281bcf])&&(_0x34153a=_0x465bde(_0x34153a)||_0x34153a);return _0x34153a;},be=(_0x470019,_0x456978)=>(_0x2195d0,_0x4f3f8e)=>_0x456978(_0x2195d0,_0x4f3f8e,_0x470019);let Ae=class extends _0x413335{constructor(_0x4f4f76,_0xfee3bc,_0x4625e0){const _0x111fdc=_0x86a805;super(),_(this,_0x111fdc(0x2a1),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x111fdc(0x1ef),!0x1),(this[_0x111fdc(0x1f1)]=_0x4f4f76,this[_0x111fdc(0x1dd)]=_0xfee3bc,this[_0x111fdc(0x208)]=_0x4625e0);}[_0x86a805(0x24a)](){const _0x3a79f2=_0x86a805;this[_0x3a79f2(0x1ef)]=!0x0;}[_0x86a805(0x368)](){const _0x43113b=_0x86a805;this[_0x43113b(0x1ef)]=!0x1;}get[_0x86a805(0x1f4)](){return this['_saveTaskMap'];}[_0x86a805(0x33c)](){const _0x5b0968=_0x86a805;this['exhaustSavingTask']()[_0x5b0968(0x255)](()=>super[_0x5b0968(0x33c)]());}async[_0x86a805(0x30f)](_0x3c2d95){const _0x80126e=_0x86a805;return this[_0x80126e(0x1ef)]?null:this[_0x80126e(0x1dd)][_0x80126e(0x221)](_0x3362f8(_0x3c2d95));}async[_0x86a805(0x17c)](_0x39bfb5,_0x53b4c4){const _0x4dca77=_0x86a805;return!!this[_0x4dca77(0x1dd)][_0x4dca77(0x2d5)](_0x39bfb5,_0x53b4c4);}[_0x86a805(0x349)](_0x268d52,_0x3cd645,_0x49c08e,_0x2befd4){const _0x47d6f9=_0x86a805,_0x11e031=this[_0x47d6f9(0x208)]['getCurrentRevOfUnit'](_0x268d52);this['_cachedData'][_0x47d6f9(0x1a2)](_0x268d52,{'unitID':_0x268d52,'type':_0x3cd645,'awaitingChangeset':_0x49c08e,'mutations':_0x2befd4,'rev':_0x11e031}),this[_0x47d6f9(0x36a)]['has'](_0x268d52)||this[_0x47d6f9(0x29e)](_0x268d52);}[_0x86a805(0x29e)](_0x56f433){const _0x15efa5=_0x86a805,_0x4b32c3=this[_0x15efa5(0x26f)]();_0x4b32c3===0x0?this[_0x15efa5(0x317)](_0x56f433):this[_0x15efa5(0x36a)][_0x15efa5(0x1a2)](_0x56f433,setTimeout(()=>this['_saveCache'](_0x56f433),_0x4b32c3));}[_0x86a805(0x26f)](){const _0x4934ac=_0x86a805;var _0x2d95a9;return(_0x2d95a9=this[_0x4934ac(0x1f1)][_0x4934ac(0x2a8)](_0x1160db))!=null?_0x2d95a9:_0x2cc217;}['_saveCache'](_0x2d66c9){const _0x325c98=_0x86a805,_0xb79314=this[_0x325c98(0x36a)][_0x325c98(0x2d4)](_0x2d66c9);return _0xb79314!==void 0x0&&window['clearTimeout'](_0xb79314),this[_0x325c98(0x1dd)]['setItem'](_0x3362f8(_0x2d66c9),this['_cachedData'][_0x325c98(0x2d4)](_0x2d66c9))[_0x325c98(0x255)](()=>this['_saveTaskMap']['delete'](_0x2d66c9));}async['exhaustSavingTask'](){const _0x42bbd7=_0x86a805,_0x3926fc=[];this['_saveTaskMap'][_0x42bbd7(0x2e6)]((_0x235b5f,_0xd35aa1)=>{const _0x5763a7=_0x42bbd7;window[_0x5763a7(0x20e)](_0x235b5f),_0x3926fc[_0x5763a7(0x316)](this[_0x5763a7(0x317)](_0xd35aa1)[_0x5763a7(0x255)](()=>{const _0x231c2c=_0x5763a7;this['_saveTaskMap'][_0x231c2c(0x352)](_0xd35aa1);}));}),await Promise['all'](_0x3926fc);}};Ae=mn([be(0x0,_0x48306b),be(0x1,_0x3734d1),be(0x2,_0x545293(_0x1f48b9))],Ae);class gn extends _0xb123e2{constructor(){const _0x2c672c=_0x86a805;super(),_(this,_0x2c672c(0x1e4)),this[_0x2c672c(0x1e4)]=_0x1185c0(window,_0x2c672c(0x1d3))[_0x2c672c(0x205)](_0x51fbbc(this[_0x2c672c(0x289)]),_0x39811f(0x1),_0x1cbba8(void 0x0));}['setParam'](_0xe2ab86,_0x3ae419,_0x34e004=!0x1){const _0x1591f5=_0x86a805,_0x2d3cc9=new URL(window[_0x1591f5(0x184)][_0x1591f5(0x1e0)]);_0x2d3cc9[_0x1591f5(0x31d)][_0x1591f5(0x1a2)](_0xe2ab86,_0x3ae419),_0x34e004?window[_0x1591f5(0x1b7)][_0x1591f5(0x367)]('','',_0x2d3cc9[_0x1591f5(0x36c)]()):window[_0x1591f5(0x1b7)][_0x1591f5(0x2df)]('','',_0x2d3cc9[_0x1591f5(0x36c)]());}[_0x86a805(0x1fd)](_0x257497,_0x5eaa45=!0x1){const _0x4fd2e2=_0x86a805,_0x3dfacc=new URL(window[_0x4fd2e2(0x184)][_0x4fd2e2(0x1e0)]);_0x3dfacc['searchParams'][_0x4fd2e2(0x352)](_0x257497),_0x5eaa45?window[_0x4fd2e2(0x1b7)]['replaceState']('','',_0x3dfacc[_0x4fd2e2(0x36c)]()):window['history'][_0x4fd2e2(0x2df)]('','',_0x3dfacc[_0x4fd2e2(0x36c)]());}['getParam'](_0x5ce2cb){const _0x47fb2b=_0x86a805;var _0xbbf82f;return(_0xbbf82f=new URL(window[_0x47fb2b(0x184)][_0x47fb2b(0x1e0)])['searchParams']['get'](_0x5ce2cb))!=null?_0xbbf82f:void 0x0;}}var vn=Object[_0x86a805(0x33d)],In=Object[_0x86a805(0x172)],pn=(_0x3cdfdc,_0x44050f,_0x38c05c)=>_0x44050f in _0x3cdfdc?vn(_0x3cdfdc,_0x44050f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38c05c}):_0x3cdfdc[_0x44050f]=_0x38c05c,Cn=(_0xef4751,_0x4c6a4a,_0x281db9,_0x50cb1e)=>{const _0x42dc08=_0x86a805;for(var _0x5196bd=_0x50cb1e>0x1?void 0x0:_0x50cb1e?In(_0x4c6a4a,_0x281db9):_0x4c6a4a,_0x300ba5=_0xef4751[_0x42dc08(0x303)]-0x1,_0x5e8f3b;_0x300ba5>=0x0;_0x300ba5--)(_0x5e8f3b=_0xef4751[_0x300ba5])&&(_0x5196bd=_0x5e8f3b(_0x5196bd)||_0x5196bd);return _0x5196bd;},Oe=(_0x1aecd9,_0x29d53f)=>(_0x5064ac,_0x264a2b)=>_0x29d53f(_0x5064ac,_0x264a2b,_0x1aecd9),En=(_0x59feb9,_0x1d332f,_0x3e9b3b)=>pn(_0x59feb9,_0x1d332f+'',_0x3e9b3b);const bn=_0x86a805(0x234);let ye=class extends _0x51a27e{constructor(_0xb28c99=st,_0x2f052e,_0x398c40,_0x782210){const _0x377246=_0x86a805;super(),this[_0x377246(0x342)]=_0xb28c99,this[_0x377246(0x263)]=_0x2f052e,this[_0x377246(0x331)]=_0x398c40,this[_0x377246(0x1f1)]=_0x782210;const {..._0x2b97f4}=_0x27f3ab({},st,this[_0x377246(0x342)]);this[_0x377246(0x1f1)]['setConfig'](nn,_0x2b97f4);}[_0x86a805(0x1e2)](){const _0x335bf7=_0x86a805;this[_0x335bf7(0x286)](),this[_0x335bf7(0x2c7)]();}[_0x86a805(0x193)](){const _0x45c9a8=_0x86a805;this[_0x45c9a8(0x275)]();}['_registerDependencies'](){const _0xf67fbc=_0x86a805;var _0x23aa82;const _0x28c54f=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x97dc22,{'useClass':_0x49dc8d}],[_0x2f93fc,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x541539(this[_0xf67fbc(0x331)],_0x2c8e86(_0x28c54f,(_0x23aa82=this[_0xf67fbc(0x342)])==null?void 0x0:_0x23aa82[_0xf67fbc(0x320)]));}[_0x86a805(0x275)](){const _0x1338c5=_0x86a805;this[_0x1338c5(0x299)](this['_renderManagerService'][_0x1338c5(0x325)](_0x5e1ff3[_0x1338c5(0x2a5)],[we])),this['disposeWithMe'](this[_0x1338c5(0x263)][_0x1338c5(0x325)](_0x5e1ff3[_0x1338c5(0x294)],[Le]));}[_0x86a805(0x2c7)](){const _0x171fd1=_0x86a805;_0xd5aa2e(this[_0x171fd1(0x331)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x86a805(0x2fd),bn),ye=Cn([_0x49e5b2(_0x3ae7ce),Oe(0x1,_0x293f75),Oe(0x2,_0x545293(_0xd016db)),Oe(0x3,_0x48306b)],ye);var On=Object[_0x86a805(0x172)],Tn=(_0x416d4a,_0x39ff37,_0x660220,_0x36e12c)=>{const _0x56c4b5=_0x86a805;for(var _0x342e6b=_0x36e12c>0x1?void 0x0:_0x36e12c?On(_0x39ff37,_0x660220):_0x39ff37,_0x4fb7ca=_0x416d4a[_0x56c4b5(0x303)]-0x1,_0x29f33a;_0x4fb7ca>=0x0;_0x4fb7ca--)(_0x29f33a=_0x416d4a[_0x4fb7ca])&&(_0x342e6b=_0x29f33a(_0x342e6b)||_0x342e6b);return _0x342e6b;},z=(_0x2d60ce,_0x5b68d2)=>(_0x27f4f6,_0x4af57a)=>_0x5b68d2(_0x27f4f6,_0x4af57a,_0x2d60ce);let nt=class extends _0xc74cd5{constructor(_0x474877,_0x541704,_0x3616ad,_0x213b98,_0x38955b){super(_0x474877,_0x541704,_0x3616ad,_0x213b98,_0x38955b);}async[_0x86a805(0x29a)](_0x599d1a){const _0x1782b8=_0x86a805,_0x1a45c9=await this[_0x1782b8(0x22e)](),_0x148aa6=this[_0x1782b8(0x187)](_0x599d1a,_0x1a45c9);return this[_0x1782b8(0x2aa)](_0x148aa6);}[_0x86a805(0x187)](_0x3e7fb0,_0x4e6de2){const _0x245ad4=_0x86a805,_0x42b07a=typeof window>'u'?new URL(_0x3e7fb0):new URL(_0x3e7fb0,window[_0x245ad4(0x184)][_0x245ad4(0x216)]);_0x42b07a[_0x245ad4(0x31d)][_0x245ad4(0x1a2)](_0x245ad4(0x357),_0x4e6de2);const _0x1cc65a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x245ad4(0x184)]['search']);return _0x1cc65a[_0x245ad4(0x2d4)](_0x245ad4(0x2cf))&&_0x42b07a['searchParams'][_0x245ad4(0x1a2)](_0x245ad4(0x2cf),_0x1cc65a[_0x245ad4(0x2d4)](_0x245ad4(0x2cf))),_0x42b07a['toString']();}async[_0x86a805(0x22e)](){const _0x57632d=_0x86a805;var _0x12c9ec,_0x12a7c3,_0x1dd204;const _0x26a9c9=this[_0x57632d(0x1f1)][_0x57632d(0x2a8)](_0x33a672),_0xd72acf=(_0x12c9ec=_0x26a9c9==null?void 0x0:_0x26a9c9[_0x57632d(0x245)])!=null?_0x12c9ec:_0x2702ba;return(_0x1dd204=(_0x12a7c3=(await this[_0x57632d(0x1ab)][_0x57632d(0x2d4)](_0xd72acf,{'headers':{'Content-Type':_0x57632d(0x29d)}}))[_0x57632d(0x1eb)])==null?void 0x0:_0x12a7c3['ticket'])!=null?_0x1dd204:'';}};nt=Tn([z(0x0,_0x545293(_0xd016db)),z(0x1,_0x545293(_0x231e97)),z(0x2,_0x48306b),z(0x3,_0x1439a0),z(0x4,_0x4fc4d8)],nt);const rt=0x7530,ot=_0x86a805(0x365);class Gn extends _0x413335{constructor(){const _0x454e23=_0x86a805;super(),_(this,_0x454e23(0x2b4),_0x49a986()),_(this,'_selfUnitIDs',new Set()),_(this,_0x454e23(0x330),new Map()),_(this,'_heartbeatTimer',null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x454e23(0x312)]();}[_0x86a805(0x33c)](){const _0x253c47=_0x86a805;super[_0x253c47(0x33c)](),this[_0x253c47(0x296)][_0x253c47(0x2e6)]((_0x171435,_0x2f7de4)=>this['_removeClearOtherTimer'](_0x2f7de4)),this['_heartbeatTimer']&&window[_0x253c47(0x27e)](this['_heartbeatTimer']);}[_0x86a805(0x270)](_0x5172ee){const _0x37b6b8=_0x86a805;return this[_0x37b6b8(0x20f)](_0x5172ee)[_0x37b6b8(0x205)](_0x410251());}[_0x86a805(0x223)](_0x2f47a1){const _0x44116e=_0x86a805;this['_selfUnitIDs'][_0x44116e(0x214)]===0x0&&this[_0x44116e(0x329)](),this['_selfUnitIDs'][_0x44116e(0x364)](_0x2f47a1),this[_0x44116e(0x1f6)]({'type':0x0,'memberID':this[_0x44116e(0x2b4)],'unitIDs':[_0x2f47a1],'isForwarded':!0x1});}[_0x86a805(0x21c)](_0x146c4f){const _0x2d324e=_0x86a805;this[_0x2d324e(0x1b1)][_0x2d324e(0x352)](_0x146c4f),this[_0x2d324e(0x1b1)][_0x2d324e(0x214)]===0x0&&this[_0x2d324e(0x2ed)]&&window[_0x2d324e(0x27e)](this[_0x2d324e(0x2ed)]);}['_init'](){const _0x1e81da=_0x86a805;this[_0x1e81da(0x299)](_0x571cee(_0x1185c0(window,_0x1e81da(0x371))[_0x1e81da(0x22b)](_0xa5a9bd=>{const _0x85f1d3=_0x1e81da;if(_0xa5a9bd['key']!==ot||!_0xa5a9bd[_0x85f1d3(0x324)])return;const _0x4f3eee=JSON[_0x85f1d3(0x36d)](_0xa5a9bd[_0x85f1d3(0x324)]);this[_0x85f1d3(0x1ad)](_0x4f3eee);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x1e81da(0x2b4)],'unitIDs':Array[_0x1e81da(0x21a)](this['_selfUnitIDs'])}));}[_0x86a805(0x1ad)](_0x2debdd){const _0xe256de=_0x86a805;switch(_0x2debdd[_0xe256de(0x309)]){case 0x0:this[_0xe256de(0x313)](_0x2debdd);break;case 0x1:this[_0xe256de(0x262)](_0x2debdd);break;case 0x2:this[_0xe256de(0x26b)](_0x2debdd);break;}}[_0x86a805(0x313)](_0x10dd60){const _0x56d526=_0x86a805,{unitIDs:_0x509bf0,memberID:_0x1a90a6,isForwarded:_0x29feb0}=_0x10dd60;_0x509bf0[_0x56d526(0x2e6)](_0x315cec=>{const _0x27297b=_0x56d526;if(!_0x29feb0&&this[_0x27297b(0x330)][_0x27297b(0x260)](_0x315cec)&&this[_0x27297b(0x20f)](_0x315cec)[_0x27297b(0x171)](_0x8c34b9[_0x27297b(0x17e)]),!this[_0x27297b(0x330)][_0x27297b(0x260)](_0x315cec)||!this[_0x27297b(0x330)][_0x27297b(0x2d4)](_0x315cec)['has'](_0x1a90a6)){const _0x53e60b=this[_0x27297b(0x330)][_0x27297b(0x2d4)](_0x315cec)||new Set();_0x53e60b[_0x27297b(0x364)](_0x1a90a6),this['_unitOnClients'][_0x27297b(0x1a2)](_0x315cec,_0x53e60b),this['_scheduleClearOtherTimer'](_0x1a90a6);}}),_0x29feb0||this[_0x56d526(0x1f6)]({'type':0x0,'memberID':this[_0x56d526(0x2b4)],'unitIDs':[...this[_0x56d526(0x1b1)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xf1d3fb){const _0xc50108=_0x86a805;this['_removeClearOtherTimer'](_0xf1d3fb);const _0xc4fbea=window[_0xc50108(0x224)](()=>{const _0x509f62=_0xc50108;this[_0x509f62(0x330)]['forEach'](_0x315fa6=>{const _0x4de53e=_0x509f62;_0x315fa6[_0x4de53e(0x352)](_0xf1d3fb);});},rt*0x2);this['_clearOtherTimers'][_0xc50108(0x1a2)](_0xf1d3fb,_0xc4fbea);}['_removeClearOtherTimer'](_0x5abbe5){const _0x433b9b=_0x86a805;if(this['_clearOtherTimers'][_0x433b9b(0x260)](_0x5abbe5)){const _0x131afb=this[_0x433b9b(0x296)][_0x433b9b(0x2d4)](_0x5abbe5);_0x131afb&&window[_0x433b9b(0x20e)](_0x131afb),this[_0x433b9b(0x296)][_0x433b9b(0x1a2)](_0x5abbe5,null);}}[_0x86a805(0x262)](_0x1be373){const _0x2f1973=_0x86a805,{memberID:_0x329889,unitIDs:_0x5bb777}=_0x1be373;_0x5bb777['forEach'](_0x3dcd4c=>{const _0x4cfbf8=_0x4594;var _0x288c18;const _0x1c2ef5=this[_0x4cfbf8(0x330)][_0x4cfbf8(0x2d4)](_0x3dcd4c);_0x1c2ef5&&(_0x1c2ef5[_0x4cfbf8(0x352)](_0x329889),(_0x288c18=this[_0x4cfbf8(0x20f)](_0x3dcd4c))==null||_0x288c18[_0x4cfbf8(0x171)](_0x1c2ef5[_0x4cfbf8(0x214)]===0x0?_0x8c34b9[_0x4cfbf8(0x2ef)]:_0x8c34b9[_0x4cfbf8(0x17e)]));}),this[_0x2f1973(0x283)](_0x329889);}[_0x86a805(0x26b)](_0x5e748d){const _0x2761ed=_0x86a805;this[_0x2761ed(0x1d4)](_0x5e748d[_0x2761ed(0x190)]);}[_0x86a805(0x1f6)](_0x35c680){const _0x542d3c=_0x86a805;localStorage[_0x542d3c(0x2d5)](ot,JSON[_0x542d3c(0x1b5)](_0x35c680));}[_0x86a805(0x329)](){const _0x6a2e4a=_0x86a805;this[_0x6a2e4a(0x2ed)]=window['setInterval'](()=>{const _0x3eb4d1=_0x6a2e4a;this[_0x3eb4d1(0x1f6)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x86a805(0x20f)](_0x18170f){const _0x46bc03=_0x86a805;return this[_0x46bc03(0x2bf)][_0x46bc03(0x260)](_0x18170f)||this[_0x46bc03(0x2bf)][_0x46bc03(0x1a2)](_0x18170f,new _0x5bcfa8(_0x8c34b9[_0x46bc03(0x2ef)])),this[_0x46bc03(0x2bf)][_0x46bc03(0x2d4)](_0x18170f);}}var wt=(_0x41bc37=>(_0x41bc37[_0x41bc37[_0x86a805(0x25f)]=0x0]=_0x86a805(0x25f),_0x41bc37[_0x41bc37['OK']=0x1]='OK',_0x41bc37[_0x41bc37['INTERNAL_ERROR']=0x2]=_0x86a805(0x2dd),_0x41bc37[_0x41bc37[_0x86a805(0x225)]=0x3]=_0x86a805(0x225),_0x41bc37[_0x41bc37[_0x86a805(0x281)]=0x4]='NOT_FOUND',_0x41bc37[_0x41bc37['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x41bc37[_0x41bc37[_0x86a805(0x191)]=0x6]='ALREADY_EXISTS',_0x41bc37[_0x41bc37[_0x86a805(0x2a7)]=0x7]=_0x86a805(0x2a7),_0x41bc37[_0x41bc37[_0x86a805(0x1c3)]=0x8]='TOO_MANY_REQUESTS',_0x41bc37[_0x41bc37[_0x86a805(0x2e2)]=0x9]='COMPLETION_FINISHED',_0x41bc37[_0x41bc37[_0x86a805(0x1de)]=0xa]='LOGIN_FAILED',_0x41bc37[_0x41bc37[_0x86a805(0x2f4)]=0x1389]=_0x86a805(0x2f4),_0x41bc37[_0x41bc37[_0x86a805(0x1ba)]=0x1771]=_0x86a805(0x1ba),_0x41bc37[_0x41bc37[_0x86a805(0x30a)]=0x1772]=_0x86a805(0x30a),_0x41bc37[_0x41bc37[_0x86a805(0x183)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x41bc37[_0x41bc37[_0x86a805(0x202)]=0x1b59]=_0x86a805(0x202),_0x41bc37[_0x41bc37[_0x86a805(0x33a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x41bc37[_0x41bc37['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x86a805(0x31b),_0x41bc37[_0x41bc37[_0x86a805(0x251)]=0x1b5c]=_0x86a805(0x251),_0x41bc37[_0x41bc37[_0x86a805(0x26c)]=0x1b5d]=_0x86a805(0x26c),_0x41bc37[_0x41bc37[_0x86a805(0x2db)]=0x1f41]=_0x86a805(0x2db),_0x41bc37[_0x41bc37[_0x86a805(0x1bf)]=0x2329]=_0x86a805(0x1bf),_0x41bc37[_0x41bc37[_0x86a805(0x2b9)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x41bc37[_0x41bc37[_0x86a805(0x238)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x41bc37[_0x41bc37['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x86a805(0x378),_0x41bc37[_0x41bc37[_0x86a805(0x269)]=0x232d]=_0x86a805(0x269),_0x41bc37[_0x41bc37['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x86a805(0x361),_0x41bc37[_0x41bc37[_0x86a805(0x2b3)]=0x2712]=_0x86a805(0x2b3),_0x41bc37[_0x41bc37[_0x86a805(0x200)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x41bc37[_0x41bc37[_0x86a805(0x17b)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x41bc37[_0x41bc37['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x86a805(0x2c3),_0x41bc37[_0x41bc37[_0x86a805(0x2e8)]=0x271b]=_0x86a805(0x2e8),_0x41bc37[_0x41bc37['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x86a805(0x1c7),_0x41bc37[_0x41bc37['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x41bc37[_0x41bc37['INVALID_INVITE_CODE']=0x2ee2]=_0x86a805(0x1d8),_0x41bc37[_0x41bc37[_0x86a805(0x1ee)]=0x2ee3]=_0x86a805(0x1ee),_0x41bc37[_0x41bc37[_0x86a805(0x28e)]=0x2ee4]=_0x86a805(0x28e),_0x41bc37[_0x41bc37[_0x86a805(0x2f3)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x41bc37[_0x41bc37[_0x86a805(0x2b2)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x41bc37[_0x41bc37[_0x86a805(0x195)]=0x32ca]=_0x86a805(0x195),_0x41bc37[_0x41bc37[_0x86a805(0x17d)]=0x32cb]=_0x86a805(0x17d),_0x41bc37[_0x41bc37[_0x86a805(0x31a)]=-0x1]=_0x86a805(0x31a),_0x41bc37))(wt||{}),Rn=Object[_0x86a805(0x172)],Dn=(_0x2e4640,_0x681c0a,_0x1ce60b,_0x38de26)=>{for(var _0x150d9e=_0x38de26>0x1?void 0x0:_0x38de26?Rn(_0x681c0a,_0x1ce60b):_0x681c0a,_0x846531=_0x2e4640['length']-0x1,_0x148e53;_0x846531>=0x0;_0x846531--)(_0x148e53=_0x2e4640[_0x846531])&&(_0x150d9e=_0x148e53(_0x150d9e)||_0x150d9e);return _0x150d9e;},Te=(_0x509c6c,_0x3e9b4d)=>(_0x396c19,_0x216839)=>_0x3e9b4d(_0x396c19,_0x216839,_0x509c6c);let at=class extends _0x413335{constructor(_0x1e0c6d,_0x48b2f9,_0x40412c){const _0x795eb3=_0x86a805;super(),this[_0x795eb3(0x242)]=_0x1e0c6d,this[_0x795eb3(0x1ab)]=_0x48b2f9,this[_0x795eb3(0x1f1)]=_0x40412c;}async['runOnServer'](_0x1638ea,_0x37c08a,_0x36d594,..._0x2a1b69){const _0x908254=_0x86a805;var _0x4985a8,_0x24e4c3,_0x3d6e5b,_0x386d7e;const _0x1ffe56=this[_0x908254(0x242)][_0x908254(0x185)]();if(!_0x1ffe56)throw new Error(_0x908254(0x2e3));const _0xfdac0b=((_0x4985a8=this[_0x908254(0x1f1)]['getConfig'](_0x1374d1))!=null?_0x4985a8:_0x113642)+'/'+_0x1638ea+_0x908254(0x250)+_0x37c08a,_0x737f5=new URL(window[_0x908254(0x184)]['href']),_0x87fbc2={'scriptId':_0x1638ea,'runId':(_0x24e4c3=_0x737f5['searchParams']['get'](_0x908254(0x2cf)))!=null?_0x24e4c3:'','function':_0x37c08a,'unitId':_0x1ffe56[_0x908254(0x235)](),'argsOfFunction':JSON[_0x908254(0x1b5)](_0x2a1b69),'invokeId':(_0x3d6e5b=_0x36d594[_0x908254(0x277)])!=null?_0x3d6e5b:'','executionId':(_0x386d7e=_0x36d594['executionId'])!=null?_0x386d7e:''};try{const _0xa3f308=await this[_0x908254(0x1ab)]['post'](_0xfdac0b,{'body':_0x87fbc2});return _0xa3f308[_0x908254(0x1eb)][_0x908254(0x36b)]&&_0xa3f308[_0x908254(0x1eb)][_0x908254(0x36b)][_0x908254(0x1e3)]!==wt['OK']?_0x908254(0x1c4):_0xa3f308[_0x908254(0x1eb)][_0x908254(0x1e8)];}catch{return _0x908254(0x1c4);}}};at=Dn([Te(0x0,_0x3b4d53),Te(0x1,_0x545293(_0x231e97)),Te(0x2,_0x48306b)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
|
1
|
+
const _0x121303=_0x4552;(function(_0x201ab2,_0x523c95){const _0x3de5cb=_0x4552,_0x5ce2fd=_0x201ab2();while(!![]){try{const _0x2185c0=-parseInt(_0x3de5cb(0x261))/0x1*(parseInt(_0x3de5cb(0x21d))/0x2)+parseInt(_0x3de5cb(0x24e))/0x3+-parseInt(_0x3de5cb(0x379))/0x4*(-parseInt(_0x3de5cb(0x1bc))/0x5)+parseInt(_0x3de5cb(0x2ac))/0x6*(-parseInt(_0x3de5cb(0x2ff))/0x7)+-parseInt(_0x3de5cb(0x38c))/0x8*(parseInt(_0x3de5cb(0x333))/0x9)+-parseInt(_0x3de5cb(0x38e))/0xa*(parseInt(_0x3de5cb(0x281))/0xb)+parseInt(_0x3de5cb(0x305))/0xc*(parseInt(_0x3de5cb(0x218))/0xd);if(_0x2185c0===_0x523c95)break;else _0x5ce2fd['push'](_0x5ce2fd['shift']());}catch(_0x1082a7){_0x5ce2fd['push'](_0x5ce2fd['shift']());}}}(_0x2ed3,0x7eb80));var Bt=Object[_0x121303(0x2fe)],kt=(_0x3c997e,_0x495b72,_0x2d483f)=>_0x495b72 in _0x3c997e?Bt(_0x3c997e,_0x495b72,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d483f}):_0x3c997e[_0x495b72]=_0x2d483f,_=(_0x81ceea,_0xf6032e,_0x2c6c0e)=>kt(_0x81ceea,typeof _0xf6032e!=_0x121303(0x24b)?_0xf6032e+'':_0xf6032e,_0x2c6c0e);import{MemberService as _0x3b5473,SessionStatus as _0x30f65c,CollaborationSessionService as _0x5963f3,CollaborationStatus as _0x1ac34d,CollaborationController as _0x1d72b6,ILocalCacheService as _0x4be2e4,CollaborationUIEventService as _0x63cd19,CollaborationUIEventId as _0x592759,DataLoaderService as _0x34a06c,DocCollaborationEntity as _0x546330,getLocalCacheKey as _0x571aaf,LOCAL_CACHE_INTERVAL as _0x2a6dbe,LOCAL_CACHE_INTERVAL_KEY as _0x35fe14,UniverCollaborationClientPlugin as _0x2c5659,CollaborationSocketService as _0x167c81,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1c9bba,DEFAULT_WS_SESSION_TICKET_URL as _0x115897,UnitStatus as _0x257d51,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x230a55,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0xa5cbf8}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1735b1,Disposable as _0x396ab6,DOC_RANGE_TYPE as _0x3fe0c5,Inject as _0x2b92ef,Injector as _0x4d1bed,IUniverInstanceService as _0x3f52db,ICommandService as _0x419d01,debounce as _0x231292,Rectangle as _0xb3d23b,DisposableCollection as _0x23326c,toDisposable as _0x4399a5,UniverInstanceType as _0x73d13e,Tools as _0x4ab600,COLORS as _0x52b0d7,ColorKit as _0x2f91cf,ThemeService as _0x4a4214,fromEventSubject as _0x3d60db,LocaleService as _0x4027aa,createIdentifier as _0x23cbaa,ILogService as _0x3b604d,Optional as _0x1dd2c7,Workbook as _0x26d7fe,CommandType as _0x507e6f,IConfigService as _0x696b32,ILocalStorageService as _0x131795,DependentOn as _0x25440c,Plugin as _0x15a53a,merge as _0xdec4,registerDependencies as _0x1b6546,mergeOverrideWithDependencies as _0x13dce4,touchDependencies as _0x5afcba,generateRandomId as _0x4a489e}from'@univerjs/core';import{Shape as _0x30b936,Rect as _0x18baba,getColor as _0x3dac07,RegularPolygon as _0x329814,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1c9823,Vector2 as _0x102aac,SHEET_VIEWPORT_KEY as _0x5e9f25,IRenderManagerService as _0x3a1e02}from'@univerjs/engine-render';import{ISocketService as _0x25b89e,WebSocketService as _0x73170e,HTTPService as _0x323ce7}from'@univerjs/network';import{IDocClipboardService as _0x434aa8,NodePositionConvertToCursor as _0x270273,NodePositionConvertToRectRange as _0x350e28,TEXT_RANGE_LAYER_INDEX as _0x4b10e6,SetDocZoomRatioOperation as _0xa3748c,DocIMEInputManagerService as _0x1c23c1,DocStateChangeManagerService as _0x4804c2}from'@univerjs/docs-ui';import{IImageIoService as _0x2a5b43}from'@univerjs/drawing';import{BehaviorSubject as _0x47fe7a,debounceTime as _0x146a11,takeUntil as _0x4eac23,Subject as _0x4c3a94,filter as _0x49dfde,switchMap as _0x5c02b5,merge as _0x56ae6b,combineLatest as _0x20e11c,of as _0x280948,fromEvent as _0x52d61f,shareReplay as _0x37cfaa,mapTo as _0x582cac,distinctUntilChanged as _0x327251}from'rxjs';import{SetTextSelectionsOperation as _0x2e9e9e,RichTextEditingMutation as _0x45981f,DocSelectionManagerService as _0x1667c2,DocSkeletonManagerService as _0x13ed0e}from'@univerjs/docs';import{ITransformService as _0x2bc116,CollaborationEvent as _0x2c6db5,isTransformMutationFailure as _0x19cac6,isTransformMutationsWithChangesetSuccess as _0x3a30de,RevisionService as _0x21d5a7,ISnapshotServerService as _0x5bc725}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x26de2c,serializeRangeWithSheet as _0x203a65}from'@univerjs/engine-formula';import{RefRangeService as _0xe0b65b,SetSelectionsOperation as _0x48936d,SheetsSelectionsService as _0x140ea5,EffectRefRangId as _0x2e129c,handleIRemoveRow as _0x314a47,handleIRemoveCol as _0x39c530,handleMoveRange as _0x499b4b,handleInsertRow as _0x1381ad,handleInsertRangeMoveRight as _0x843754,handleInsertRangeMoveDown as _0x2678ea,handleInsertCol as _0x5567ac,handleDeleteRangeMoveUp as _0x435aaa,handleDeleteRangeMoveLeft as _0x2d92e9,runRefRangeMutations as _0x570e85,SetWorksheetActivateCommand as _0x4c47e4}from'@univerjs/sheets';import{map as _0x15bf72,filter as _0x4ef5b5,throttleTime as _0x3fe01b,takeUntil as _0x2e4ea6,switchMap as _0x24d2b6}from'rxjs/operators';function _0x4552(_0x6c3664,_0x19a8f6){const _0x2ed304=_0x2ed3();return _0x4552=function(_0x4552e2,_0x3cdc5b){_0x4552e2=_0x4552e2-0x188;let _0x1cdcc2=_0x2ed304[_0x4552e2];return _0x1cdcc2;},_0x4552(_0x6c3664,_0x19a8f6);}import{SheetSkeletonManagerService as _0x14f938,getCoordByCell as _0x1ed490,getSheetObject as _0x1f411b}from'@univerjs/sheets-ui';import{jsx as _0x114f90,jsxs as _0x1724de}from'react/jsx-runtime';import{useObservable as _0x2bfbb5,useDependency as _0x37d260,IUIPartsService as _0x431e4d,BuiltInUIPart as _0x512cfd,connectInjector as _0x5a319d,IBeforeCloseService as _0x20591a,IMessageService as _0x2b17bd,INotificationService as _0x1eaf52}from'@univerjs/ui';import{clsx as _0x319310,Tooltip as _0x1d1be2,MessageType as _0x5ae896}from'@univerjs/design';import{forwardRef as _0x59d2c1,useRef as _0x115c39,createElement as _0x365b68,useCallback as _0x6da400}from'react';import{IRemoteInstanceService as _0x3b2e4d}from'@univerjs/rpc';var li=Object['getOwnPropertyDescriptor'],_i=(_0x583b0e,_0x518481,_0x1ce1bd,_0x1653a0)=>{const _0x549e7e=_0x121303;for(var _0x491521=_0x1653a0>0x1?void 0x0:_0x1653a0?li(_0x518481,_0x1ce1bd):_0x518481,_0xf0d3b2=_0x583b0e[_0x549e7e(0x319)]-0x1,_0x5dbfca;_0xf0d3b2>=0x0;_0xf0d3b2--)(_0x5dbfca=_0x583b0e[_0xf0d3b2])&&(_0x491521=_0x5dbfca(_0x491521)||_0x491521);return _0x491521;},Qe=(_0x52f2d8,_0x1146bb)=>(_0x3486ee,_0x19cbcf)=>_0x1146bb(_0x3486ee,_0x19cbcf,_0x52f2d8);let Ue=class extends _0x1735b1{constructor(_0x5444ec,_0x73c3e7){const _0x5675f9=_0x121303;super(),this[_0x5675f9(0x275)]=_0x5444ec,this[_0x5675f9(0x251)]=_0x73c3e7,this[_0x5675f9(0x2a1)]();}[_0x121303(0x2a1)](){const _0x2405a7=_0x121303,_0x1b3ac0=this;this[_0x2405a7(0x23e)](this[_0x2405a7(0x275)][_0x2405a7(0x1c4)]({'onBeforePasteImage':async _0x40039d=>{const _0x23edd9=_0x2405a7,_0x71a010=await _0x1b3ac0[_0x23edd9(0x251)]['saveImage'](_0x40039d);return _0x71a010?{'source':_0x71a010[_0x23edd9(0x31b)],'imageSourceType':_0x71a010[_0x23edd9(0x1e5)]}:null;}}));}};Ue=_i([Qe(0x0,_0x434aa8),Qe(0x1,_0x2a5b43)],Ue);const qe=[_0x121303(0x20f),_0x121303(0x2aa),'verdancy600',_0x121303(0x2fd),_0x121303(0x1bb),_0x121303(0x24c)];class He extends _0x396ab6{constructor(){const _0x42f9e4=_0x121303;super(...arguments),_(this,_0x42f9e4(0x286),new Map()),_(this,_0x42f9e4(0x1a7),0x0);}[_0x121303(0x1f9)](_0x1d0c86){const _0x2d454d=_0x121303;if(this[_0x2d454d(0x286)][_0x2d454d(0x2cf)](_0x1d0c86))return this[_0x2d454d(0x286)][_0x2d454d(0x31a)](_0x1d0c86);const _0x60c557=qe[this[_0x2d454d(0x1a7)]];return this['_colorIndex']=(this[_0x2d454d(0x1a7)]+0x1)%qe[_0x2d454d(0x319)],this[_0x2d454d(0x286)][_0x2d454d(0x351)](_0x1d0c86,_0x60c557),_0x60c557;}}function Dt(_0x150cb2){const _0x5d6fb5=_0x121303;let _0xec1bf4='';for(const _0x6d3ab7 of _0x150cb2){const {startOffset:_0x469410,endOffset:_0x200ac3,isActive:_0x657f7d,rangeType:_0x2ae761,segmentId:_0x2fb84f,segmentPage:_0x2d369d}=_0x6d3ab7;_0xec1bf4[_0x5d6fb5(0x319)]&&(_0xec1bf4+=','),_0xec1bf4+=_0x469410+':'+_0x200ac3+':'+(_0x657f7d?'1':'0')+':'+_0x2ae761+':'+_0x2fb84f+':'+_0x2d369d;}return _0xec1bf4;}function hi(_0x12e3e0){const _0x4b73c3=_0x121303,_0x14f40b=_0x12e3e0[_0x4b73c3(0x1cc)](','),_0xa5aa61=[];for(const _0x54acad of _0x14f40b){const [_0x20854d,_0x5b6543,_0x37e3ba,_0x1806a8,_0x53e4b3,_0x29bca7]=_0x54acad[_0x4b73c3(0x1cc)](':');_0xa5aa61[_0x4b73c3(0x271)]({'startOffset':Number(_0x20854d),'endOffset':Number(_0x5b6543),'collapsed':_0x20854d===_0x5b6543,'isActive':_0x37e3ba==='1','rangeType':_0x1806a8===_0x3fe0c5[_0x4b73c3(0x2d3)]?_0x3fe0c5[_0x4b73c3(0x2d3)]:_0x3fe0c5[_0x4b73c3(0x35d)],'segmentId':typeof _0x53e4b3=='string'?String(_0x53e4b3):'','segmentPage':Number(_0x29bca7!=null?_0x29bca7:-0x1)});}return _0xa5aa61[_0x4b73c3(0x364)](_0x2423bc=>_0x2423bc[_0x4b73c3(0x337)])||(_0xa5aa61[0x0][_0x4b73c3(0x337)]=!0x0),_0xa5aa61;}class je extends _0x1735b1{constructor(){const _0x37948e=_0x121303;super(...arguments),_(this,_0x37948e(0x1fa),new _0x47fe7a(null)),_(this,_0x37948e(0x25d),this['_collabCursorState$'][_0x37948e(0x26e)]());}[_0x121303(0x1a5)](_0x37a2d1){const _0x1890a9=_0x121303,{unitID:_0x17b705,memberID:_0x1c068a,textRanges:_0x5a30f7}=_0x37a2d1,_0x48663d=Dt(_0x5a30f7);if(_0x48663d==='')return;const _0x3d8e72={'unitID':_0x17b705,'memberID':_0x1c068a,'selection':_0x48663d};this[_0x1890a9(0x1fa)]['next'](_0x3d8e72);}}var ui=Object[_0x121303(0x26c)],di=(_0x251f80,_0x2ece2e,_0x5090e4,_0x2c93bc)=>{for(var _0x255ce1=_0x2c93bc>0x1?void 0x0:_0x2c93bc?ui(_0x2ece2e,_0x5090e4):_0x2ece2e,_0x13b8d1=_0x251f80['length']-0x1,_0x50c9fc;_0x13b8d1>=0x0;_0x13b8d1--)(_0x50c9fc=_0x251f80[_0x13b8d1])&&(_0x255ce1=_0x50c9fc(_0x255ce1)||_0x255ce1);return _0x255ce1;},w=(_0x2eb28a,_0xe08e89)=>(_0x8a4a53,_0x3c2531)=>_0xe08e89(_0x8a4a53,_0x3c2531,_0x2eb28a);const fi=0x12c,Si=0x64;let Me=class extends _0x1735b1{constructor(_0x594aab,_0x1fc809,_0x860929,_0x1a2ad2,_0x32eebf,_0x426c90,_0x5ddc21,_0x35c285,_0x211c2e){const _0x4b77f9=_0x121303;super(),_(this,_0x4b77f9(0x2a7),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x47fe7a(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x4b77f9(0x26e)]()),_(this,_0x4b77f9(0x1e7),new _0x47fe7a([])),_(this,_0x4b77f9(0x296),this[_0x4b77f9(0x1e7)]['pipe'](_0x146a11(fi))),_(this,_0x4b77f9(0x317),_0x231292(_0x33aee7=>{const _0x1df2a0=_0x4b77f9,_0x2d6d51={'eventID':_0x2c6db5['UPDATE_CURSOR'],'data':{'unitID':this[_0x1df2a0(0x327)],'memberID':this[_0x1df2a0(0x190)][_0x1df2a0(0x2f3)](),'selection':Dt(_0x33aee7)}};this[_0x1df2a0(0x190)][_0x1df2a0(0x297)](_0x2d6d51,this['unitID']);},Si)),(this[_0x4b77f9(0x327)]=_0x594aab,this[_0x4b77f9(0x190)]=_0x1fc809,this[_0x4b77f9(0x2f0)]=_0x860929,this[_0x4b77f9(0x224)]=_0x1a2ad2,this[_0x4b77f9(0x2be)]=_0x32eebf,this[_0x4b77f9(0x1c6)]=_0x426c90,this[_0x4b77f9(0x1dd)]=_0x5ddc21,this['_univerInstanceService']=_0x35c285,this[_0x4b77f9(0x2c2)]=_0x211c2e);}get[_0x121303(0x393)](){const _0xe585b1=_0x121303;return this[_0xe585b1(0x352)][_0xe585b1(0x22c)]();}get['roomMembers'](){const _0x497004=_0x121303;return this[_0x497004(0x1e7)][_0x497004(0x22c)]();}['dispose'](){const _0xf320be=_0x121303;super[_0xf320be(0x1cd)](),this[_0xf320be(0x352)]['next'](new Map()),this[_0xf320be(0x352)][_0xf320be(0x377)](),this[_0xf320be(0x1e7)]['next']([]),this['_roomMembers$'][_0xf320be(0x377)]();}['init'](){const _0x50c8ea=_0x121303;this[_0x50c8ea(0x2a1)]||(this['_init']=!0x0,this[_0x50c8ea(0x190)]['sessionStatus$'][_0x50c8ea(0x33d)](_0x4eac23(this[_0x50c8ea(0x278)]))[_0x50c8ea(0x312)](_0x54b725=>{const _0x50e6bf=_0x50c8ea;_0x54b725===_0x30f65c[_0x50e6bf(0x303)]?this[_0x50e6bf(0x26d)]():this['_toggleOffline']();}),this[_0x50c8ea(0x190)][_0x50c8ea(0x2e5)]['pipe'](_0x4eac23(this[_0x50c8ea(0x278)]))[_0x50c8ea(0x312)](_0x274a21=>{const _0x40e4bf=_0x50c8ea,_0xefef14=_0x274a21[_0x40e4bf(0x1ca)];_0xefef14===_0x2c6db5[_0x40e4bf(0x250)]&&this['_onCursorUpdate'](_0x274a21),_0xefef14===_0x2c6db5[_0x40e4bf(0x32d)]&&this[_0x40e4bf(0x2dc)](_0x274a21);}),this[_0x50c8ea(0x23e)](this[_0x50c8ea(0x2c2)]['onCommandExecuted'](_0x3da075=>{const _0x2ab1fb=_0x50c8ea,_0xdfcf09=_0x3da075[_0x2ab1fb(0x2ae)];_0xdfcf09!=null&&this['_online']&&_0x3da075['id']===_0x2e9e9e['id']&&_0xdfcf09[_0x2ab1fb(0x302)]===this[_0x2ab1fb(0x327)]&&_0xdfcf09['isEditing']===!0x1&&_0xdfcf09['ranges']['length']>0x0&&this['_updateLocalCursor'](_0xdfcf09[_0x2ab1fb(0x311)]);})),this[_0x50c8ea(0x1c6)][_0x50c8ea(0x25d)][_0x50c8ea(0x33d)](_0x4eac23(this[_0x50c8ea(0x278)]))[_0x50c8ea(0x312)](_0x44d34a=>{const _0x361a11=_0x50c8ea;if((_0x44d34a==null?void 0x0:_0x44d34a[_0x361a11(0x327)])!==this[_0x361a11(0x327)])return;const _0x367a51={'eventID':_0x2c6db5[_0x361a11(0x250)],'data':_0x44d34a};this[_0x361a11(0x1ce)](_0x367a51);}),this[_0x50c8ea(0x23e)](this[_0x50c8ea(0x2c2)][_0x50c8ea(0x21a)](_0x384d35=>{const _0x269982=_0x50c8ea;if(_0x384d35[_0x269982(0x2ae)]==null)return;const _0x150459=_0x384d35['params'];if(_0x384d35['id']!==_0x45981f['id']||_0x150459[_0x269982(0x302)]!==this[_0x269982(0x327)])return;const _0x20ee3b={'id':'doc.mutation.rich-text-editing','params':_0x150459},_0xf0aaeb=this[_0x269982(0x393)];for(const [_0x1d4d2c,_0x3563bc]of _0xf0aaeb){const _0x31ee46={'id':_0x269982(0x299),'params':{'unitId':this[_0x269982(0x327)],'actions':null,'textRanges':_0x3563bc[_0x269982(0x311)]}},_0x4a0a42=this[_0x269982(0x1dd)][_0x269982(0x309)](_0x20ee3b,_0x31ee46,!0x1);if(_0x19cac6(_0x4a0a42))throw _0x4a0a42[_0x269982(0x2bd)];_0xf0aaeb[_0x269982(0x351)](_0x1d4d2c,{..._0x3563bc,'ranges':_0x4a0a42['m2Prime']['params'][_0x269982(0x1e0)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0xf0aaeb);});})));}['_onCursorUpdate'](_0x33d1b1){const _0x4f0611=_0x121303;var _0x27a2b8,_0x1368af;const {memberID:_0x1ad8f7,selection:_0x54fd1e}=_0x33d1b1[_0x4f0611(0x285)],_0x225d08=hi(_0x54fd1e),_0x21c340=(_0x1368af=(_0x27a2b8=this['_memberService']['getMember'](this[_0x4f0611(0x327)],_0x1ad8f7))==null?void 0x0:_0x27a2b8[_0x4f0611(0x2f1)])!=null?_0x1368af:_0x4f0611(0x307),_0x4b3bd1={'color':this[_0x4f0611(0x224)][_0x4f0611(0x1f9)](_0x1ad8f7),'name':_0x21c340,'ranges':_0x225d08},_0x1595a3=this['cursorInfo'];_0x1595a3[_0x4f0611(0x351)](_0x1ad8f7,_0x4b3bd1),this[_0x4f0611(0x352)][_0x4f0611(0x1b0)](_0x1595a3);}[_0x121303(0x2dc)](_0x4fcc68){const _0x5267c2=_0x121303,{memberID:_0x5f598b}=_0x4fcc68[_0x5267c2(0x285)],_0xac45b8=this['cursorInfo'];_0xac45b8[_0x5267c2(0x388)](_0x5f598b),this[_0x5267c2(0x352)][_0x5267c2(0x1b0)](_0xac45b8);}['_toggleOnline'](){const _0xeee42=_0x121303;var _0x24efb;if(this[_0xeee42(0x2a7)]=!0x0,((_0x24efb=this[_0xeee42(0x19e)][_0xeee42(0x386)]())==null?void 0x0:_0x24efb[_0xeee42(0x34d)]())!==this[_0xeee42(0x327)])return;const _0x2a67e7=this[_0xeee42(0x2f0)][_0xeee42(0x31a)](_0x1667c2)['getDocRanges']();Array[_0xeee42(0x2ea)](_0x2a67e7)&&_0x2a67e7[_0xeee42(0x319)]>0x0&&this[_0xeee42(0x317)](_0x2a67e7);}['_toggleOffline'](){const _0x3825e5=_0x121303;this[_0x3825e5(0x2a7)]=!0x1;}};Me=di([w(0x2,_0x2b92ef(_0x4d1bed)),w(0x3,_0x2b92ef(He)),w(0x4,_0x2b92ef(_0x3b5473)),w(0x5,_0x2b92ef(je)),w(0x6,_0x2bc116),w(0x7,_0x3f52db),w(0x8,_0x419d01)],Me);var mi=Object[_0x121303(0x26c)],gi=(_0x5b895e,_0x204753,_0x4eac02,_0x464f41)=>{const _0x103813=_0x121303;for(var _0x2300f5=_0x464f41>0x1?void 0x0:_0x464f41?mi(_0x204753,_0x4eac02):_0x204753,_0x434379=_0x5b895e[_0x103813(0x319)]-0x1,_0x3a9f27;_0x434379>=0x0;_0x434379--)(_0x3a9f27=_0x5b895e[_0x434379])&&(_0x2300f5=_0x3a9f27(_0x2300f5)||_0x2300f5);return _0x2300f5;},x=(_0xbf4371,_0x2449aa)=>(_0x30c8e3,_0x103913)=>_0x2449aa(_0x30c8e3,_0x103913,_0xbf4371);const vi=0x12c,Ii=0x64,pi=()=>{let _0x18b2cd=[],_0x1d35d2=!0x1;return _0x306b05=>{const _0x187515=_0x4552;_0x18b2cd[_0x187515(0x271)](_0x306b05),_0x1d35d2||(_0x1d35d2=!0x0,setTimeout(()=>{const _0x34250c=_0x187515;_0x18b2cd[_0x34250c(0x233)](_0x44e6a0=>_0x44e6a0()),_0x18b2cd=[],_0x1d35d2=!0x1;}));};};let Pe=class extends _0x1735b1{constructor(_0x5bdc1f,_0x5df5dd,_0xe09f11,_0x22f563,_0x4b0e6b,_0x5d3f6c,_0x45eb06,_0x55f346){const _0x2886cc=_0x121303;super(),_(this,'_online',!0x1),_(this,_0x2886cc(0x2a1),!0x1),_(this,_0x2886cc(0x352),new _0x47fe7a(new Map())),_(this,_0x2886cc(0x2a5),this[_0x2886cc(0x352)][_0x2886cc(0x26e)]()),_(this,_0x2886cc(0x1e7),new _0x47fe7a([])),_(this,_0x2886cc(0x296),this['_roomMembers$'][_0x2886cc(0x33d)](_0x146a11(vi))),_(this,_0x2886cc(0x317),_0x231292((_0x2f0c76,_0x1ab690)=>{const _0x33484e=_0x2886cc,_0x29deef={'eventID':_0x2c6db5[_0x33484e(0x250)],'data':{'unitID':this[_0x33484e(0x327)],'memberID':this[_0x33484e(0x190)]['getMemberID'](),'selection':_0x203a65(_0x2f0c76,_0x1ab690[_0x33484e(0x290)])}};this[_0x33484e(0x190)][_0x33484e(0x297)](_0x29deef,this[_0x33484e(0x327)]);},Ii)),(this['unitID']=_0x5bdc1f,this[_0x2886cc(0x190)]=_0x5df5dd,this[_0x2886cc(0x2f0)]=_0xe09f11,this[_0x2886cc(0x224)]=_0x22f563,this[_0x2886cc(0x2be)]=_0x4b0e6b,this[_0x2886cc(0x19e)]=_0x5d3f6c,this[_0x2886cc(0x2c2)]=_0x45eb06,this[_0x2886cc(0x1be)]=_0x55f346);}get[_0x121303(0x393)](){const _0x185969=_0x121303;return this[_0x185969(0x352)][_0x185969(0x22c)]();}get[_0x121303(0x19a)](){const _0x31c5fe=_0x121303;return this['_roomMembers$'][_0x31c5fe(0x22c)]();}[_0x121303(0x1cd)](){const _0x583e27=_0x121303;super[_0x583e27(0x1cd)](),this['_cursorInfo$']['next'](new Map()),this[_0x583e27(0x352)]['complete'](),this['_roomMembers$']['next']([]),this[_0x583e27(0x1e7)]['complete']();}['init'](){const _0x5b7f8a=_0x121303;this[_0x5b7f8a(0x2a1)]||(this[_0x5b7f8a(0x2a1)]=!0x0,this[_0x5b7f8a(0x190)][_0x5b7f8a(0x38b)][_0x5b7f8a(0x33d)](_0x4eac23(this[_0x5b7f8a(0x278)]))[_0x5b7f8a(0x312)](_0x436c61=>{const _0x563801=_0x5b7f8a;_0x436c61===_0x30f65c[_0x563801(0x303)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x5b7f8a(0x190)][_0x5b7f8a(0x2e5)][_0x5b7f8a(0x33d)](_0x4eac23(this[_0x5b7f8a(0x278)]))[_0x5b7f8a(0x312)](_0x565043=>{const _0x5301d6=_0x5b7f8a,_0x2acebe=_0x565043['eventID'];_0x2acebe===_0x2c6db5[_0x5301d6(0x250)]&&this[_0x5301d6(0x1ce)](_0x565043),_0x2acebe===_0x2c6db5[_0x5301d6(0x32d)]&&this[_0x5301d6(0x2dc)](_0x565043);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x36bcd2=>{const _0x5b607e=_0x5b7f8a;if(this[_0x5b607e(0x2a7)]&&_0x36bcd2['id']===_0x48936d['id']&&_0x36bcd2[_0x5b607e(0x2ae)]['unitId']===this[_0x5b607e(0x327)]){const _0x4657e8=_0x36bcd2[_0x5b607e(0x2ae)];this[_0x5b607e(0x317)](_0x4657e8['subUnitId'],_0x4657e8[_0x5b607e(0x1ae)][0x0]);}})));}['_onCursorUpdate'](_0x5c44ec){const _0x3bb94e=_0x121303;var _0x1c3193,_0x2e2c8f;const {memberID:_0x19ff85,selection:_0x546126}=_0x5c44ec['data'],{sheetName:_0x54f929,range:_0xa9b8df}=_0x26de2c(_0x546126),_0x574e02={'name':(_0x2e2c8f=(_0x1c3193=this[_0x3bb94e(0x2be)]['getMember'](this[_0x3bb94e(0x327)],_0x19ff85))==null?void 0x0:_0x1c3193[_0x3bb94e(0x2f1)])!=null?_0x2e2c8f:_0x3bb94e(0x307),'range':this[_0x3bb94e(0x35a)](_0x54f929,_0xa9b8df),'sheetID':_0x54f929,'color':this[_0x3bb94e(0x224)][_0x3bb94e(0x1f9)](_0x19ff85),'selection':_0x546126},_0x3cd2ba=this[_0x3bb94e(0x393)];_0x3cd2ba['set'](_0x19ff85,_0x574e02),this[_0x3bb94e(0x352)][_0x3bb94e(0x1b0)](_0x3cd2ba);}[_0x121303(0x2dc)](_0x41700b){const _0x35864b=_0x121303,{memberID:_0x18d012}=_0x41700b[_0x35864b(0x285)],_0x58d966=this[_0x35864b(0x393)];_0x58d966[_0x35864b(0x388)](_0x18d012),this[_0x35864b(0x352)]['next'](_0x58d966);}[_0x121303(0x35a)](_0x3129e5,_0x366cc1){const _0x25226d=_0x121303;var _0x295177,_0xb3c11e;const _0x51868a=(_0xb3c11e=(_0x295177=this[_0x25226d(0x19e)]['getUniverSheetInstance'](this[_0x25226d(0x327)]))==null?void 0x0:_0x295177[_0x25226d(0x2bf)](_0x3129e5))==null?void 0x0:_0xb3c11e[_0x25226d(0x276)]();return(_0x51868a==null?void 0x0:_0x51868a['find'](_0x17d43f=>_0xb3d23b[_0x25226d(0x2da)](_0x17d43f,_0x366cc1)))||_0x366cc1;}[_0x121303(0x28b)](){const _0x261625=_0x121303,_0x3b0427=new _0x23326c(),_0x2a4e4d=pi(),_0x5cd797=()=>{const _0x487ac0=_0x4552;_0x3b0427[_0x487ac0(0x1cd)]();const _0x2c975a=(_0x529146,_0x546a50,_0x2f0d47,_0x4eb810)=>{const _0x15ca7c=_0x487ac0;let _0x2d89bd=[];switch(_0x529146['id']){case _0x2e129c[_0x15ca7c(0x21b)]:{_0x2d89bd=_0x2d92e9(_0x529146,_0x4eb810);break;}case _0x2e129c['DeleteRangeMoveUpCommandId']:{_0x2d89bd=_0x435aaa(_0x529146,_0x4eb810);break;}case _0x2e129c[_0x15ca7c(0x2b1)]:{_0x2d89bd=_0x5567ac(_0x529146,_0x4eb810);break;}case _0x2e129c[_0x15ca7c(0x323)]:{_0x2d89bd=_0x2678ea(_0x529146,_0x4eb810);break;}case _0x2e129c[_0x15ca7c(0x2a3)]:{_0x2d89bd=_0x843754(_0x529146,_0x4eb810);break;}case _0x2e129c[_0x15ca7c(0x270)]:{_0x2d89bd=_0x1381ad(_0x529146,_0x4eb810);break;}case _0x2e129c[_0x15ca7c(0x326)]:{_0x2d89bd=_0x499b4b(_0x529146,_0x4eb810);break;}case _0x2e129c[_0x15ca7c(0x1f0)]:{_0x2d89bd=_0x39c530(_0x529146,_0x4eb810);break;}case _0x2e129c[_0x15ca7c(0x226)]:{_0x2d89bd=_0x314a47(_0x529146,_0x4eb810);break;}}const _0x508923=_0x570e85(_0x2d89bd,_0x4eb810),_0x4f4221=this[_0x15ca7c(0x393)][_0x15ca7c(0x31a)](_0x546a50);if(_0x4f4221&&_0x508923){const _0x19c2a4={..._0x4f4221,'range':_0x508923};this[_0x15ca7c(0x393)][_0x15ca7c(0x351)](_0x546a50,_0x19c2a4),_0x2a4e4d(()=>{const _0x1a1deb=_0x15ca7c,_0x116236=this[_0x1a1deb(0x1be)]['registerRefRange'](_0x508923,_0x5e6121=>(_0x116236[_0x1a1deb(0x1cd)](),_0x2c975a(_0x5e6121,_0x546a50,_0x2f0d47,_0x508923)));_0x3b0427['add'](_0x116236);});}return{'redos':[],'undos':[]};};this[_0x487ac0(0x393)][_0x487ac0(0x233)]((_0x4c31a5,_0x40236d)=>{const _0x34eb8a=_0x487ac0,{range:_0x5124e9,sheetID:_0x250fac}=_0x4c31a5,_0xe7660a=this['_refRangeService']['registerRefRange'](_0x5124e9,_0x2fd9c5=>(_0xe7660a['dispose'](),_0x2c975a(_0x2fd9c5,_0x40236d,_0x250fac,_0x5124e9)));_0x3b0427[_0x34eb8a(0x2f2)](_0xe7660a);});};this[_0x261625(0x23e)](_0x4399a5(this[_0x261625(0x352)][_0x261625(0x312)](()=>{_0x5cd797();})));}[_0x121303(0x26d)](){const _0x2f197e=_0x121303;var _0x25accd,_0x2ec8c7;if(this[_0x2f197e(0x2a7)]=!0x0,((_0x25accd=this[_0x2f197e(0x19e)][_0x2f197e(0x386)]())==null?void 0x0:_0x25accd['getUnitId']())!==this[_0x2f197e(0x327)])return;const _0x1e14e1=(_0x2ec8c7=this[_0x2f197e(0x2f0)][_0x2f197e(0x31a)](_0x140ea5)[_0x2f197e(0x18e)]())==null?void 0x0:_0x2ec8c7[0x0],_0x50f8f7=this[_0x2f197e(0x19e)][_0x2f197e(0x257)](_0x73d13e[_0x2f197e(0x375)])[_0x2f197e(0x1e1)]();_0x1e14e1&&_0x50f8f7&&this['_updateLocalCursor'](_0x50f8f7[_0x2f197e(0x260)](),_0x1e14e1);}[_0x121303(0x2f8)](){const _0x2e4abf=_0x121303;this[_0x2e4abf(0x2a7)]=!0x1;}};Pe=gi([x(0x2,_0x2b92ef(_0x4d1bed)),x(0x3,_0x2b92ef(He)),x(0x4,_0x2b92ef(_0x3b5473)),x(0x5,_0x3f52db),x(0x6,_0x419d01),x(0x7,_0x2b92ef(_0xe0b65b))],Pe);var Ci=Object[_0x121303(0x26c)],Ei=(_0x48ca1c,_0x32e811,_0x2d6f2e,_0x35c01e)=>{for(var _0x3e672e=_0x35c01e>0x1?void 0x0:_0x35c01e?Ci(_0x32e811,_0x2d6f2e):_0x32e811,_0x28d004=_0x48ca1c['length']-0x1,_0x1505b1;_0x28d004>=0x0;_0x28d004--)(_0x1505b1=_0x48ca1c[_0x28d004])&&(_0x3e672e=_0x1505b1(_0x3e672e)||_0x3e672e);return _0x3e672e;},me=(_0x4b3753,_0x40bb3c)=>(_0x5a8811,_0x3d7a37)=>_0x40bb3c(_0x5a8811,_0x3d7a37,_0x4b3753);let H=class extends _0x1735b1{constructor(_0x34a47c,_0x157773,_0x70b882){const _0x15c52e=_0x121303;super(),_(this,_0x15c52e(0x26a),new Map()),_(this,_0x15c52e(0x365),new _0x4c3a94()),(this[_0x15c52e(0x19e)]=_0x34a47c,this[_0x15c52e(0x2f0)]=_0x157773,this['_collabSessionService']=_0x70b882,this[_0x15c52e(0x2a1)]());}['dispose'](){const _0x338a86=_0x121303;super[_0x338a86(0x1cd)](),this[_0x338a86(0x365)][_0x338a86(0x377)](),this['_entities'][_0x338a86(0x233)](_0x87dfca=>_0x87dfca[_0x338a86(0x1cd)]());}[_0x121303(0x196)](_0x17b9a8){const _0x300406=_0x121303;return this['_entities'][_0x300406(0x2cf)](_0x17b9a8)?this[_0x300406(0x26a)][_0x300406(0x31a)](_0x17b9a8)[_0x300406(0x2a5)]:this[_0x300406(0x365)]['pipe'](_0x49dfde(_0x82fe2b=>_0x82fe2b[_0x300406(0x327)]===_0x17b9a8),_0x5c02b5(_0x250fe6=>_0x250fe6[_0x300406(0x2a5)]));}[_0x121303(0x2a1)](){const _0x2e9ad9=_0x121303;this[_0x2e9ad9(0x19e)][_0x2e9ad9(0x315)](_0x73d13e[_0x2e9ad9(0x375)])['pipe'](_0x4eac23(this['dispose$']))['subscribe'](async _0x57633b=>{const _0x34ede7=_0x2e9ad9,_0x12e877=_0x57633b[_0x34ede7(0x34d)](),_0x33aa3f=await this['_startSheetCollabCursor'](_0x12e877);this['_entityInit$'][_0x34ede7(0x1b0)](_0x33aa3f),this[_0x34ede7(0x26a)]['set'](_0x12e877,_0x33aa3f);}),this[_0x2e9ad9(0x19e)][_0x2e9ad9(0x315)](_0x73d13e[_0x2e9ad9(0x28f)])[_0x2e9ad9(0x33d)](_0x4eac23(this[_0x2e9ad9(0x278)]))[_0x2e9ad9(0x33d)](_0x49dfde(_0x56a1ad=>!_0x56a1ad[_0x2e9ad9(0x34d)]()[_0x2e9ad9(0x191)]('__')))[_0x2e9ad9(0x312)](async _0x31dbb4=>{const _0x1a5ae0=_0x2e9ad9,_0x3df1c8=_0x31dbb4[_0x1a5ae0(0x34d)](),_0x28d2df=await this['_startDocCollabCursor'](_0x3df1c8);this[_0x1a5ae0(0x365)][_0x1a5ae0(0x1b0)](_0x28d2df),this[_0x1a5ae0(0x26a)]['set'](_0x3df1c8,_0x28d2df);}),_0x56ae6b(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x73d13e[_0x2e9ad9(0x28f)]),this[_0x2e9ad9(0x19e)][_0x2e9ad9(0x28a)](_0x73d13e[_0x2e9ad9(0x375)]))[_0x2e9ad9(0x33d)](_0x4eac23(this[_0x2e9ad9(0x278)]))[_0x2e9ad9(0x312)](_0x6addee=>{const _0x3fd1fd=_0x2e9ad9,_0x383c54=_0x6addee['getUnitId'](),_0x4a8be5=this[_0x3fd1fd(0x26a)]['get'](_0x383c54);_0x4a8be5&&(_0x4a8be5[_0x3fd1fd(0x1cd)](),this['_entities'][_0x3fd1fd(0x388)](_0x383c54));});}async['_startSheetCollabCursor'](_0x2e5b7c){const _0x5e0057=_0x121303,_0x4b427b=await this[_0x5e0057(0x2ef)]['requireSession'](_0x2e5b7c),_0x2170e9=this[_0x5e0057(0x2f0)]['createInstance'](Pe,_0x2e5b7c,_0x4b427b);return _0x2170e9[_0x5e0057(0x259)](),_0x2170e9;}async[_0x121303(0x1a6)](_0x42b581){const _0x17ac0b=_0x121303,_0x1b3dc5=await this[_0x17ac0b(0x2ef)][_0x17ac0b(0x32c)](_0x42b581),_0x133b62=this['_injector'][_0x17ac0b(0x331)](Me,_0x42b581,_0x1b3dc5);return _0x133b62[_0x17ac0b(0x259)](),_0x133b62;}};H=Ei([me(0x0,_0x3f52db),me(0x1,_0x2b92ef(_0x4d1bed)),me(0x2,_0x2b92ef(_0x5963f3))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x4af3c3,_0xe960f4){const _0x25e724=_0x121303;let {radius:_0xa68d5,width:_0x54fd1a,height:_0x1b7cd7}=_0xe960f4;_0xa68d5=_0xa68d5!=null?_0xa68d5:0x0,_0x54fd1a=_0x54fd1a!=null?_0x54fd1a:0x1e,_0x1b7cd7=_0x1b7cd7!=null?_0x1b7cd7:0x1e;let _0x2a832d=0x0,_0x2c9833=0x0,_0x25d5d8=0x0;_0x2a832d=_0x2c9833=_0x25d5d8=Math[_0x25e724(0x329)](_0xa68d5,_0x54fd1a/0x2,_0x1b7cd7/0x2),_0x4af3c3[_0x25e724(0x279)](),_0x4af3c3[_0x25e724(0x361)](_0x2a832d,0x0),_0x4af3c3[_0x25e724(0x23d)](_0x54fd1a-_0x2c9833,0x0),_0x4af3c3[_0x25e724(0x1b5)](_0x54fd1a-_0x2c9833,_0x2c9833,_0x2c9833,Math['PI']*0x3/0x2,0x0,!0x1),_0x4af3c3[_0x25e724(0x23d)](_0x54fd1a,_0x1b7cd7-_0x25d5d8),_0x4af3c3[_0x25e724(0x1b5)](_0x54fd1a-_0x25d5d8,_0x1b7cd7-_0x25d5d8,_0x25d5d8,0x0,Math['PI']/0x2,!0x1),_0x4af3c3[_0x25e724(0x23d)](0x0,_0x1b7cd7),_0x4af3c3[_0x25e724(0x23d)](0x0,_0x2a832d),_0x4af3c3['arc'](_0x2a832d,_0x2a832d,_0x2a832d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4af3c3['closePath'](),_0xe960f4[_0x25e724(0x21c)]&&(_0x4af3c3[_0x25e724(0x204)](),_0x4af3c3[_0x25e724(0x1d7)]=_0xe960f4[_0x25e724(0x21c)],_0xe960f4['fillRule']===_0x25e724(0x32f)?_0x4af3c3[_0x25e724(0x21c)](_0x25e724(0x32f)):_0x4af3c3[_0x25e724(0x21c)](),_0x4af3c3[_0x25e724(0x27d)]());}class ue extends _0x30b936{constructor(_0xcfd367,_0x130911){const _0x214cec=_0x121303;super(_0xcfd367,_0x130911),_(this,'color'),_(this,_0x214cec(0x1aa)),(this[_0x214cec(0x368)]=_0x130911==null?void 0x0:_0x130911[_0x214cec(0x368)],this['text']=_0x130911==null?void 0x0:_0x130911[_0x214cec(0x1aa)]);}static[_0x121303(0x273)](_0x3b3ca0,_0x1bd544){const _0x54e647=_0x121303,{text:_0x52e0cc,color:_0xc2526f}=_0x1bd544;_0x3b3ca0[_0x54e647(0x204)](),_0x3b3ca0[_0x54e647(0x2a8)]=_0x54e647(0x293);const _0x44e661=_0x3b3ca0['measureText'](_0x52e0cc)['width'],_0x4e8bd6=Math[_0x54e647(0x329)](_0x44e661+0x2*ge,et);Oi(_0x3b3ca0,{'height':te,'radius':0x4,'width':_0x4e8bd6,'fill':_0xc2526f}),_0x3b3ca0['fillStyle']=_0x54e647(0x2e4);const _0x46e15c=ge,_0x1ef240=te-bi,_0x4a0248=et-0x2*ge;if(_0x44e661>_0x4a0248){let _0x10e91b='',_0x4e2bea=0x0;for(const _0x592f8d of _0x52e0cc){const _0x214785=_0x3b3ca0[_0x54e647(0x267)](_0x592f8d)[_0x54e647(0x2f4)];if(_0x4e2bea+_0x214785<=_0x4a0248-_0x3b3ca0[_0x54e647(0x267)]('...')['width'])_0x10e91b+=_0x592f8d,_0x4e2bea+=_0x214785;else{_0x10e91b+=_0x54e647(0x1ff);break;}}_0x3b3ca0[_0x54e647(0x342)](_0x10e91b,_0x46e15c,_0x1ef240);}else _0x3b3ca0[_0x54e647(0x342)](_0x52e0cc,_0x46e15c,_0x1ef240);_0x3b3ca0[_0x54e647(0x27d)]();}[_0x121303(0x25e)](_0x2bc82d){ue['drawWith'](_0x2bc82d,this);}}const ve=_0x121303(0x253),Ti=_0x121303(0x206),Ri=_0x121303(0x345),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x121303(0x27f);class tt{constructor(_0x568088,_0x5b3fab,_0x2cb5b6,_0x4184a3){const _0x2cc270=_0x121303;_(this,_0x2cc270(0x20b),[]),_(this,_0x2cc270(0x391),null),_(this,'_textBubble',null),_(this,_0x2cc270(0x262),null),_(this,_0x2cc270(0x1b4),null),_(this,_0x2cc270(0x320),null),(this[_0x2cc270(0x22e)]=_0x568088,this[_0x2cc270(0x330)]=_0x5b3fab,this[_0x2cc270(0x219)]=_0x2cb5b6,this[_0x2cc270(0x2a0)]=_0x4184a3,this[_0x2cc270(0x29f)]());}set[_0x121303(0x1ad)](_0x416365){const _0x575665=_0x121303;_0x416365?(this[_0x575665(0x262)]&&this[_0x575665(0x262)][_0x575665(0x322)](),this[_0x575665(0x36c)]&&this['_textBubble'][_0x575665(0x21f)]()):(this['_anchorDot']&&this[_0x575665(0x262)]['show'](),this[_0x575665(0x36c)]&&this['_textBubble']['hide']());}[_0x121303(0x1cd)](){const _0x32787d=_0x121303;for(const _0x532935 of this[_0x32787d(0x20b)])_0x532935['dispose']();this[_0x32787d(0x36c)]&&this[_0x32787d(0x36c)]['dispose'](),this['_anchorDot']&&this[_0x32787d(0x262)][_0x32787d(0x1cd)](),this[_0x32787d(0x391)]&&this['_anchor'][_0x32787d(0x1cd)](),this[_0x32787d(0x320)]&&this['_eventUnsubscribe']();}['_render'](){const _0x294c70=_0x121303;var _0x54c2a8;const {_docSkeleton:_0x5130c6,_document:_0x1bb567}=this,{color:_0x214a88,name:_0x4d6a72,ranges:_0x177828}=this['_cursor'],_0x384aa8=_0x1bb567[_0x294c70(0x265)](),{docsLeft:_0x3b2887,docsTop:_0x450189}=_0x384aa8,_0x27a3e6=new _0x270273(_0x384aa8,_0x5130c6);for(const {startOffset:_0x4d10d4,endOffset:_0x54f6cd,rangeType:_0x563131,segmentId:_0x30222b,segmentPage:_0xd8d071,collapsed:_0x2decf6,isActive:_0x79d700}of _0x177828){const _0x27f2b8=_0x5130c6['findNodePositionByCharIndex'](_0x4d10d4,!0x0,_0x30222b,_0xd8d071);let _0x327f3b=_0x5130c6[_0x294c70(0x2ba)](_0x54f6cd,!0x0,_0x30222b,_0xd8d071);if(_0x327f3b==null&&(_0x327f3b=_0x5130c6[_0x294c70(0x2ba)](_0x54f6cd-0x1,!0x1,_0x30222b,_0xd8d071)),_0x79d700){const {contentBoxPointGroup:_0x1fece6}=_0x27a3e6[_0x294c70(0x332)](_0x327f3b,_0x327f3b);if(_0x1fece6[_0x294c70(0x319)]===0x0)continue;this[_0x294c70(0x221)](_0x214a88,_0x1fece6,_0x3b2887,_0x450189,_0x4d6a72),this[_0x294c70(0x320)]=this[_0x294c70(0x264)]();}if(_0x27f2b8&&_0x327f3b){if(_0x563131===_0x3fe0c5[_0x294c70(0x35d)]){const _0x675900=new _0x350e28(_0x384aa8,_0x5130c6),{pointGroup:_0x101978}=(_0x54c2a8=_0x675900[_0x294c70(0x332)](_0x27f2b8,_0x327f3b))!=null?_0x54c2a8:{};if(_0x101978==null||_0x101978[_0x294c70(0x319)]===0x0)continue;this['_drawRectRange'](_0x214a88,_0x101978,_0x3b2887,_0x450189);}else{if(!_0x2decf6){const {borderBoxPointGroup:_0xb49eea}=_0x27a3e6[_0x294c70(0x332)](_0x27f2b8,_0x327f3b);if(_0xb49eea['length']===0x0)continue;this['_drawTextRange'](_0x214a88,_0xb49eea,_0x3b2887,_0x450189);}}}}}[_0x121303(0x221)](_0x4b222a,_0x4097b9,_0x3b5092,_0x2f70a0,_0x72cc53){const _0xf4bd7c=_0x121303,_0x5d1eaa=this[_0xf4bd7c(0x1b7)](_0x4097b9),{left:_0x2809d8,top:_0x4dccae,height:_0x3178aa}=_0x5d1eaa,_0x393fb9=this['_getScale'](),_0x3cf6d0=Ni/_0x393fb9,_0x1b9f26=new _0x18baba(ve+_0x4ab600[_0xf4bd7c(0x1fd)](X),{'left':_0x2809d8+_0x3b5092-_0x3cf6d0,'top':_0x4dccae+_0x2f70a0,'height':_0x3178aa,'width':Di,'fill':_0x4b222a||_0x3dac07(_0x52b0d7['black'],0x0),'strokeWidth':_0x3cf6d0,'stroke':Ui,'evented':!0x0});this[_0xf4bd7c(0x391)]=_0x1b9f26,this['_scene'][_0xf4bd7c(0x2b7)](_0x1b9f26,_0x4b10e6);const _0x22365f=new _0x18baba(ve+_0x4ab600['generateRandomId'](X),{'left':_0x2809d8+_0x3b5092-_0x3cf6d0,'top':_0x4dccae+_0x2f70a0-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x4b222a||_0x3dac07(_0x52b0d7['black'],0x0),'strokeWidth':0x0,'stroke':_0x4b222a||_0x3dac07(_0x52b0d7[_0xf4bd7c(0x369)],0x0),'evented':!0x1});this['_anchorDot']=_0x22365f,this[_0xf4bd7c(0x330)][_0xf4bd7c(0x2b7)](_0x22365f,_0x4b10e6);const _0x18aabb=new ue(ve+_0x4ab600[_0xf4bd7c(0x1fd)](X),{'left':_0x2809d8+_0x3b5092-_0x3cf6d0,'top':_0x4dccae+_0x2f70a0-te,'text':_0x72cc53,'color':_0x4b222a});this['_textBubble']=_0x18aabb,this[_0xf4bd7c(0x330)][_0xf4bd7c(0x2b7)](_0x18aabb,_0x4b10e6),this[_0xf4bd7c(0x1ad)]=!0x1;}[_0x121303(0x264)](){const _0x2d8dc1=_0x121303,_0x597b7c=this[_0x2d8dc1(0x391)][_0x2d8dc1(0x269)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0xae6bc=this[_0x2d8dc1(0x391)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x2ece78=_0x2d8dc1;this['_hideTimer']&&clearTimeout(this[_0x2ece78(0x1b4)]),this[_0x2ece78(0x1b4)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2ca8e3=_0x2d8dc1;_0x597b7c[_0x2ca8e3(0x2bb)](),_0xae6bc[_0x2ca8e3(0x2bb)]();};}[_0x121303(0x1fe)](_0x2d9f50,_0x25bea6,_0xcf3d5c,_0x1195e2){const _0x779dde=_0x121303,_0x53617b=new _0x2f91cf(_0x2d9f50)[_0x779dde(0x381)](0.2)[_0x779dde(0x2f6)](),_0x38a4e0=new _0x329814(Ti+_0x4ab600['generateRandomId'](X),{'pointsGroup':_0x25bea6,'fill':_0x53617b||_0x3dac07(_0x52b0d7['black'],0.2),'left':_0xcf3d5c,'top':_0x1195e2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x779dde(0x271)](_0x38a4e0),this['_scene'][_0x779dde(0x2b7)](_0x38a4e0,_0x4b10e6);}[_0x121303(0x263)](_0x495057,_0x4c0cf2,_0x417edc,_0x54cce7){const _0x593649=_0x121303,_0xa6c23d=new _0x2f91cf(_0x495057)[_0x593649(0x381)](0.2)[_0x593649(0x2f6)](),_0x46b5cf=new _0x329814(Ri+_0x4ab600[_0x593649(0x1fd)](X),{'pointsGroup':_0x4c0cf2,'fill':_0xa6c23d||_0x3dac07(_0x52b0d7[_0x593649(0x369)],0.2),'left':_0x417edc,'top':_0x54cce7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x593649(0x20b)]['push'](_0x46b5cf),this[_0x593649(0x330)][_0x593649(0x2b7)](_0x46b5cf,_0x4b10e6);}['_getAnchorBounding'](_0x395d84){const _0x10be4c=_0x395d84[0x0],_0x230429=_0x10be4c[0x0],_0x1fada3=_0x10be4c[0x2],{x:_0x2e72ab,y:_0x4c1232}=_0x230429,{x:_0x2a44ad,y:_0x236bf1}=_0x1fada3;return{'left':_0x2e72ab,'top':_0x4c1232,'width':_0x2a44ad-_0x2e72ab,'height':_0x236bf1-_0x4c1232};}[_0x121303(0x1c2)](){const _0x463b16=_0x121303,{scaleX:_0x455680,scaleY:_0x3d101c}=this[_0x463b16(0x330)][_0x463b16(0x2f9)]();return Math[_0x463b16(0x358)](_0x455680,_0x3d101c);}}function _0x2ed3(){const _0x337eee=['_getAnchorBounding','transformRemoteChangeset','COMPLETION_FINISHED','removeParam','blue400','5013175UuelRh','history','_refRangeService','indexOf','YUUMI_UNABLE_LOAD_URL','getUnitStatus$','_getScale','mutations','addClipboardHook','_unitOnClients','_syncEditingCollabCursorService','size','idSuffix','0\x200\x2017\x2016','eventID','_configService','split','dispose','_onCursorUpdate','clearTimeout','key','startColumn','hovered','assign','backgroundColor','YUUMI_ASYNCIO_CANCELLED','onLocalMutation','fillStyle','defs','memberID','loadOfflineData','MOBILE_HAS_BEEN_BOUND','collaboration.closeRoom','_transformService','TOO_MANY_REQUESTS','AWAITING','textRanges','getActiveSheet','setActiveRange','addObjects','PENDING','imageSourceType','getItem','_roomMembers$','labelPosition','endColumn','UNRECOGNIZED','map','_hovered','_updateSubUnitFromURLParams','_updateURLWithCurrentState','_registerRenderDependencies','RemoveColCommandId','_localStorageService','_createSocketURL','unload','m1Prime','ENSURE_SNAPSHOT_EXECUTION','skeleton','getCurrentRevOfUnit','1em','assignAColorForMemberID','_collabCursorState$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subscribeEvent','generateRandomId','_drawTextRange','...','collabStatus.offline','colorChannel1','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','mask','save','CONFLICT','collab-text-range-','_removeClearOtherTimer','entityInit$','values','stringify','_shapes','searchParams','univerjs-icon\x20univerjs-icon-','getUndoRedoMutationParamsCache','purple300','_urlService','enableLocalCache','off-line-single','LOGIN_FAILED','use','_clearOtherTimers','_range','defIds','845JGNKDh','_docSkeleton','onCommandExecuted','DeleteRangeMoveLeftCommandId','fill','1081026dsAwVu','redoState','show','transformMutationsWithChangeset','_drawAnchor','YUUMI_URL_COL_OUT_OF_RANGE','div','_colorAssignService','NO_OTHER_CLIENTS_EDITING','RemoveRowCommandId','setStateCache','all','_collaborationController','tag','YUUMI_NO_CUBOID_FOR_QUESTION','getValue','_updateCollabCursors','_cursor','Error','activeSheet$','NOT_FOUND','_labelPosition','forEach','getOwnPropertySymbols','string','permission.content','search','_docTransformIMECacheService','EMAIL_HAS_BEEN_BOUND','column','currentSkeleton$','round','lineTo','disposeWithMe','newValue','replaceState','Warning','setParam','_messageService','collaboration.single-unit.warning','_localeService','_handleHeartbeatEvent','getSkeleton','transformIMECache','_initDependencies','subunit','symbol','gold400','_send','422940VXMMNU','_handleEvent','UPDATE_CURSOR','_imageIoService','_collabCursorController','collab-text-anchor-','setTimeout','setInterval','onRendered','getCurrentUnitForType','on-line-single','init','url(#on-line-single_clip0_910_349)','override','APPLY_DUPLICATED','collabCursorState$','_draw','UNAUTHENTICATED','getSheetId','1nErBOm','_anchorDot','_drawRectRange','_handleHover','getOffsetConfig','_notificationService','measureText','unit','onPointerEnter$','_entities','getRenderById','getOwnPropertyDescriptor','_toggleOnline','asObservable','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','InsertRowCommandId','push','SNAPSHOT_INVALID_SNAPSHOT','drawWith','transformSelections','_docClipboardService','getMergeData','saveTaskMap','dispose$','beginPath','permission.title','_cursorShapes','collabStatus.notCollab','restore','_initResize','rgba(255,\x20255,\x20255,\x200.01)','0\x200\x2016\x2016','44cNFbcy','_uiPartsService','_transformUndoRedoStack','MUTATION','data','_assignedColors','LICENSE_EXPORT_SIZE_EXCEEDED','INVALID_ARGUMENT','type','getTypeOfUnitDisposed$','_onRefRangeChange','getStateCache','whenReady','online','UNIVER_DOC','range','INVITE_CODE_ALREADY_BOUND','_ensureSubject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','with','offline','roomMembers$','send','currentColor','doc.mutation.rich-text-editing','_cursors','collaboration-client.offline-data-not-saved','makeDirty','APPLY_NON_SEQUENTIAL_REVISION','_setupSubUnitSync','_render','_document','_init','_removeCollabCursors','InsertRangeMoveRightCommandId','onlineStatusIcon','cursorInfo$','svg','_online','font','transformStateCache','jiqing500','#fff','6nrPIiX','collabStatus.fetchMiss','params','OnLineSingle','disableLocalCache','InsertColCommandId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','YUUMI_SUBSCRIPTION_NOT_FOUND','call','PY_RUNTIME_SCRIPT_ERROR','addObject','_docSkeletonManagerService','reconnect','findNodePositionByCharIndex','unsubscribe','href','error','_memberService','getSheetBySheetId','endRow','FromArray','_commandService','top','deepClone','_selfUnitIDs','clipPath','_sheetSkeletonManagerService','entries','_themeService','translate(.97)','/run/','location','m2Prime','_logService','has','registerComponent','propertyIsEnumerable','_saveTaskMap','TEXT','_revisionService','CONNECTOR_DATA_TOO_LARGE','M0\x200H16V16H0z','YUUMI_RATE_OVER_LIMIT','toString','_httpService','contains','_id','_onCursorDelete','session.will-retry','runId','JOIN_ROOM_FAILED','_instanceService','_dataLoaderService','prototype','url(#off-line-single_clip0_910_343)','#FFF','event$','loadUnit','_cachedData','getCurrent','transformByState','isArray','univer-flex\x20univer-items-center','current','getParam','_collaborationUIEventService','_collabSessionService','_injector','name','add','getMemberID','width','code','toRgbString','VIEW_MAIN','_toggleOffline','getAncestorScale','_docTransformStateCacheService','urlChange$','attrs','red300','defineProperty','5253038Rqttul','FETCH_MISS','from','unitId','ONLINE','addEventListener','371316MCxMmQ','univer-online-status','Unknown\x20user','_refreshCollabCursors','transformMutation','CLOSE_ROOM','invokeId','includes','INVITE_CODE_HAS_BEEN_UES','APPLY_REVISION_CONFILICT','replaceDocRanges','SOCKET_FAILED','ranges','subscribe','none','addHandlerCallback','getTypeOfUnitAdded$','executeCommand','_updateLocalCursor','session.collaboration-timeout','length','get','source','onMouseMove','getCellPositionByOffset','_localCacheService','_color','_eventUnsubscribe','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','hide','InsertRangeMoveDownCommandId','_renderManagerService','_status$','MoveRangeCommandId','unitID','onTransformChange$','min','_scheduleClearOtherTimer','univer-online-status-icon','requireSession','USERS_LEAVE','_scheduleHeartbeat','evenodd','_scene','createInstance','getRangePointData','621JDGpgz','origin','_backgroundColor','OTHER_CLIENTS_EDITING','isActive','pushState','on-line-single_clip0_910_349','_disabled','univer-online','APPLY_REJECT','pipe','concat','pluginName','createSocket','_unitStatus','fillText','transform','_initEvent','collab-rect-range-','_name','onPointerMove$','OTHER_CLIENT_EDITING','apply','flatMap','debug','_doCreateSocket','getUnitId','docStateChange$','INVALID_INVITE_CODE','_initStatusComponent','set','_cursorInfo$','_scheduleSaving','bottom','_saveCache','onlineStatus','sheetId','max','substring','_getMergeRange','APPLY_PERMISSION_DENIED','_config','RECT','editingUnit','session.connection-failed','_docTransformSelectionsService','moveTo','collab-client.tooltip.reconnect','PERMISSION_DENIED','some','_entityInit$','body','SUBMIT_CHANGESET_TIMEOUT','color','black','currentTheme$','_heartbeatTimer','_textBubble','_handleJoinEvent','getRelativeToViewportCoord','setShapeProps','LICENSE_DISTRO_REJECTED','uni.network.url-service','SYNCED','triggerDblclick','hasOwnProperty','UNIVER_SHEET','displayName','complete','height','4wKhLzl','_handleLeaveEvent','Failed','wsSessionTicketUrl','[CollaborationDataLoaderController]','CHANGESET_REVISION_CONFILICT','ALREADY_EXISTS','INTERNAL_ERROR','setAlpha','sessionTicket','className','collabStatus.conflict','actions','getFocusedUnit','_lastPointer','delete','_docStateChangeManagerService','url(#$1','sessionStatus$','55896DlpmDN','then','2157050wthxiV','_getSessionTicket','row','_anchor','setUndoRedoMutationParamsCache','cursorInfo','executionId','_context','_transformHistoryAndStateStack','INVITE_CODE_REQUIRED','NOT_COLLAB','undoState','getCurrentSelections','UniverIcon','_session','startsWith','LICENSE_IMPORT_SIZE_EXCEEDED','registerBeforeClose','SOCKET_FAILED_RETRY','runOnServer','getCollabCursors$','getConfig','_getSaveTimeout','xlink:href','roomMembers','_initEntityListener','_beforeCloseService','_registerDependencies','_univerInstanceService','UNDEFINED','storage','registerRenderModule','random','_getSheetObject','USER_NOT_INVITED_CODE','syncEditingCollabCursor','_startDocCollabCursor','_colorIndex','_transformPreviousActiveRange','unshift','text','setItem','children','_hover','selections','_initStatusListener','next','WECHAT_HAS_BEEN_BOUND','onStarting','function','_hideTimer','arc','off-line-single_clip0_910_343'];_0x2ed3=function(){return _0x337eee;};return _0x2ed3();}var Mi=Object['getOwnPropertyDescriptor'],Pi=(_0x3ddd80,_0x4b5f1a,_0x434c84,_0x49b2fa)=>{const _0x2bf69c=_0x121303;for(var _0x2a7c90=_0x49b2fa>0x1?void 0x0:_0x49b2fa?Mi(_0x4b5f1a,_0x434c84):_0x4b5f1a,_0x4dd624=_0x3ddd80[_0x2bf69c(0x319)]-0x1,_0x20ed42;_0x4dd624>=0x0;_0x4dd624--)(_0x20ed42=_0x3ddd80[_0x4dd624])&&(_0x2a7c90=_0x20ed42(_0x2a7c90)||_0x2a7c90);return _0x2a7c90;},Q=(_0x1ad8a9,_0x18e2bc)=>(_0x327de5,_0x1a6cf4)=>_0x18e2bc(_0x327de5,_0x1a6cf4,_0x1ad8a9);let we=class extends _0x1735b1{constructor(_0x4148ab,_0x48e063,_0x1eac45,_0x54471a,_0x287fd8){const _0x55eff6=_0x121303;super(),_(this,_0x55eff6(0x27b),[]),_(this,_0x55eff6(0x29a),[]),(this[_0x55eff6(0x189)]=_0x4148ab,this[_0x55eff6(0x2b8)]=_0x48e063,this[_0x55eff6(0x252)]=_0x1eac45,this[_0x55eff6(0x2c2)]=_0x54471a,this['_themeService']=_0x287fd8,this[_0x55eff6(0x2a1)]());}[_0x121303(0x2a1)](){const _0x45a3b0=_0x121303,_0x2d4a0d=this[_0x45a3b0(0x189)][_0x45a3b0(0x302)],_0x130c3d=this[_0x45a3b0(0x2b8)];this[_0x45a3b0(0x23e)](_0x20e11c([this[_0x45a3b0(0x252)]['getCollabCursors$'](_0x2d4a0d),this['_themeService'][_0x45a3b0(0x36a)]])[_0x45a3b0(0x33d)](_0x15bf72(([_0x1614d2,_0x4ec9ba])=>({'skeleton':_0x130c3d[_0x45a3b0(0x247)](),'cursors':[..._0x1614d2['values']()][_0x45a3b0(0x34a)](_0x21915d=>({..._0x21915d,'color':_0x4ec9ba[_0x21915d[_0x45a3b0(0x368)]]}))})))['subscribe'](_0x484647=>{const _0xa84803=_0x45a3b0;if(this[_0xa84803(0x2a2)](),_0x484647){const {skeleton:_0x58cdda,cursors:_0x339a5b}=_0x484647;this[_0xa84803(0x22d)](_0x58cdda,_0x339a5b);}})),this[_0x45a3b0(0x27e)](),this['_initCommandExecutedListener']();}[_0x121303(0x22d)](_0x17bf65,_0x39980e){const _0x20e243=_0x121303,{scene:_0x337b2b,mainComponent:_0x448afd}=this['_context'],_0x277a2c=_0x39980e[_0x20e243(0x1eb)](_0x5d6aa3=>new tt(_0x5d6aa3,_0x337b2b,_0x17bf65,_0x448afd));this['_cursorShapes']=_0x277a2c,this[_0x20e243(0x29a)]=_0x39980e;}[_0x121303(0x308)](){const _0x1c77bf=_0x121303;this[_0x1c77bf(0x2a2)]();const {scene:_0x133f46,mainComponent:_0x25740c}=this[_0x1c77bf(0x189)],_0xdeee11=this['_docSkeletonManagerService'][_0x1c77bf(0x247)](),_0x59b8df=this[_0x1c77bf(0x29a)][_0x1c77bf(0x1eb)](_0x301ab4=>new tt(_0x301ab4,_0x133f46,_0xdeee11,_0x25740c));this[_0x1c77bf(0x27b)]=_0x59b8df;}[_0x121303(0x2a2)](){const _0x7ee371=_0x121303;this[_0x7ee371(0x27b)][_0x7ee371(0x233)](_0x41eb8e=>_0x41eb8e[_0x7ee371(0x1cd)]()),this[_0x7ee371(0x27b)]=[];}['_initCommandExecutedListener'](){const _0xbb3703=_0x121303,_0x1a4699=[_0xa3748c['id']];this[_0xbb3703(0x23e)](this['_commandService'][_0xbb3703(0x21a)](_0x23d857=>{const _0x332240=_0xbb3703;_0x1a4699[_0x332240(0x30c)](_0x23d857['id'])&&_0x23d857[_0x332240(0x2ae)]['unitId']===this['_context'][_0x332240(0x302)]&&this[_0x332240(0x308)]();}));}[_0x121303(0x27e)](){const _0x5beee7=_0x121303;this[_0x5beee7(0x23e)](_0x3d60db(this['_context']['engine'][_0x5beee7(0x328)])[_0x5beee7(0x33d)](_0x4ef5b5(_0x3ab40d=>_0x3ab40d[_0x5beee7(0x289)]===_0x1c9823['resize']),_0x3fe01b(0x10))['subscribe'](()=>{const _0x437433=_0x5beee7;this[_0x437433(0x308)]();}));}};we=Pi([Q(0x1,_0x2b92ef(_0x13ed0e)),Q(0x2,_0x2b92ef(H)),Q(0x3,_0x419d01),Q(0x4,_0x2b92ef(_0x4a4214))],we);const wi=0x1,Li=1.5;class Ai extends _0x30b936{constructor(_0x385d06,_0x1f3acd){const _0x2325e4=_0x121303;super(_0x385d06,_0x1f3acd),_(this,_0x2325e4(0x31f)),_(this,'_hovered',!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x2325e4(0x232),_0x2325e4(0x2c3)),_(this,_0x2325e4(0x335)),(_0x1f3acd&&this[_0x2325e4(0x36f)](_0x1f3acd),this[_0x2325e4(0x269)][_0x2325e4(0x1fc)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x2325e4(0x1fc)](()=>this[_0x2325e4(0x36f)]({'hovered':!0x1})));}[_0x121303(0x36f)](_0x5115c5){const _0x3d57bc=_0x121303;var _0x35dead,_0x5ded04,_0x106663,_0x447919,_0x5a1550,_0x390977;this[_0x3d57bc(0x31f)]=(_0x35dead=_0x5115c5[_0x3d57bc(0x368)])!=null?_0x35dead:this[_0x3d57bc(0x31f)],this[_0x3d57bc(0x1ec)]=(_0x5ded04=_0x5115c5[_0x3d57bc(0x1d2)])!=null?_0x5ded04:this['_hovered'],this[_0x3d57bc(0x216)]=(_0x106663=_0x5115c5[_0x3d57bc(0x290)])!=null?_0x106663:this['_range'],this['_name']=(_0x447919=_0x5115c5[_0x3d57bc(0x2f1)])!=null?_0x447919:this['_name'],this['_labelPosition']=(_0x5a1550=_0x5115c5[_0x3d57bc(0x1e8)])!=null?_0x5a1550:this[_0x3d57bc(0x232)],this[_0x3d57bc(0x335)]=(_0x390977=_0x5115c5[_0x3d57bc(0x1d4)])!=null?_0x390977:this[_0x3d57bc(0x335)],this[_0x3d57bc(0x2e9)]({'width':_0x5115c5[_0x3d57bc(0x2f4)],'height':_0x5115c5[_0x3d57bc(0x378)]});}[_0x121303(0x31c)](_0x4fcd09){const _0x7de2a2=_0x121303,{row:_0x549f53,column:_0x2d170e}=_0x4fcd09;if(_0x549f53>=this[_0x7de2a2(0x216)]['startRow']&&_0x549f53<=this[_0x7de2a2(0x216)][_0x7de2a2(0x2c0)]&&_0x2d170e>=this[_0x7de2a2(0x216)][_0x7de2a2(0x1d1)]&&_0x2d170e<=this[_0x7de2a2(0x216)][_0x7de2a2(0x1e9)]){this[_0x7de2a2(0x36f)]({'hovered':!0x0});return;}this[_0x7de2a2(0x36f)]({'hovered':!0x1});}[_0x121303(0x373)](_0x51d399){return!0x1;}[_0x121303(0x25e)](_0x1df4de){const _0xc7cb95=_0x121303;_0x18baba[_0xc7cb95(0x273)](_0x1df4de,{'width':this[_0xc7cb95(0x2f4)],'height':this[_0xc7cb95(0x378)],'strokeWidth':Li,'stroke':this[_0xc7cb95(0x31f)],'evented':!0x1,'fill':this[_0xc7cb95(0x335)]}),this[_0xc7cb95(0x1ec)]&&(_0x1df4de['save'](),_0x1df4de[_0xc7cb95(0x343)](0x1,0x0,0x0,0x1,this[_0xc7cb95(0x2f4)],this[_0xc7cb95(0x232)]==='bottom'?0x0:-0x14),ue[_0xc7cb95(0x273)](_0x1df4de,{'text':this[_0xc7cb95(0x346)],'color':this[_0xc7cb95(0x31f)]}),_0x1df4de[_0xc7cb95(0x27d)]());}}var yi=Object[_0x121303(0x26c)],$i=(_0x5dad5,_0x3235b2,_0x44df6a,_0x447baf)=>{for(var _0x146183=_0x447baf>0x1?void 0x0:_0x447baf?yi(_0x3235b2,_0x44df6a):_0x3235b2,_0x189a5c=_0x5dad5['length']-0x1,_0x3457fb;_0x189a5c>=0x0;_0x189a5c--)(_0x3457fb=_0x5dad5[_0x189a5c])&&(_0x146183=_0x3457fb(_0x146183)||_0x146183);return _0x146183;},pe=(_0xb049d1,_0x2c685a)=>(_0x1ff181,_0x1cc9dd)=>_0x2c685a(_0x1ff181,_0x1cc9dd,_0xb049d1);const xi=0x1389;let Le=class extends _0x1735b1{constructor(_0x2d06ac,_0x4138f0,_0x260f41,_0x2235bf){const _0x16b397=_0x121303;super(),_(this,_0x16b397(0x29a),new Set()),_(this,_0x16b397(0x387),null),(this[_0x16b397(0x189)]=_0x2d06ac,this[_0x16b397(0x2c7)]=_0x4138f0,this['_collabCursorController']=_0x260f41,this[_0x16b397(0x2c9)]=_0x2235bf,this[_0x16b397(0x2a1)]());}['_init'](){const _0x1a3d27=_0x121303;this[_0x1a3d27(0x2c7)][_0x1a3d27(0x23b)][_0x1a3d27(0x33d)](_0x2e4ea6(this['dispose$']),_0x24d2b6(_0x114a2f=>{const _0x536463=_0x1a3d27;if(_0x114a2f){const _0x5c05ff=_0x114a2f[_0x536463(0x357)];return _0x20e11c(this[_0x536463(0x252)][_0x536463(0x196)](this[_0x536463(0x189)]['unitId']),this[_0x536463(0x2c9)]['currentTheme$'])[_0x536463(0x33d)](_0x15bf72(([_0x1163d8,_0x1f9088])=>{const _0x634148=_0x536463,_0x1524fc=new Map();return _0x1163d8[_0x634148(0x233)]((_0x37bb5e,_0x4bca6a)=>{const _0x41d243=_0x634148;if(_0x37bb5e['sheetID']===_0x5c05ff){const _0x3ad1ac={..._0x37bb5e};_0x3ad1ac[_0x41d243(0x368)]=_0x1f9088[_0x37bb5e[_0x41d243(0x368)]],_0x1524fc[_0x41d243(0x351)](_0x4bca6a,_0x3ad1ac);}}),{'skeleton':_0x114a2f,'cursors':_0x1524fc};}));}return _0x280948({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x255640,cursors:_0x59cf7})=>{const _0x32dac2=_0x1a3d27;this['_removeCollabCursors'](),_0x255640&&this[_0x32dac2(0x22d)](_0x255640,_0x59cf7);}),this[_0x1a3d27(0x2c7)][_0x1a3d27(0x23b)][_0x1a3d27(0x312)](_0x4a60b3=>{const _0x131fc9=_0x1a3d27;if(_0x4a60b3==null)return;const {skeleton:_0x20f0e1}=_0x4a60b3,{scene:_0x2c4bdc}=this[_0x131fc9(0x189)];_0x2c4bdc[_0x131fc9(0x347)][_0x131fc9(0x1fc)](_0x231292(_0x4f9a31=>{const _0x11b6e5=_0x131fc9;var _0x1ab734,_0x1857f2;const {offsetX:_0x402325,offsetY:_0x313296}=_0x4f9a31,{x:_0x5170cc,y:_0x4825a7}=_0x2c4bdc[_0x11b6e5(0x36e)](_0x102aac[_0x11b6e5(0x2c1)]([_0x402325,_0x313296])),{scaleX:_0x3cf903,scaleY:_0x2bf540}=_0x2c4bdc[_0x11b6e5(0x2f9)](),_0x347b73=_0x2c4bdc['getViewport'](_0x5e9f25[_0x11b6e5(0x2f7)]),_0x37cdfe=_0x2c4bdc['getVpScrollXYInfoByPosToVp'](_0x102aac[_0x11b6e5(0x2c1)]([_0x5170cc,_0x4825a7]),_0x347b73),_0x1677e7=_0x20f0e1[_0x11b6e5(0x31d)](_0x402325,_0x313296,_0x3cf903,_0x2bf540,_0x37cdfe);((_0x1ab734=this[_0x11b6e5(0x387)])==null?void 0x0:_0x1ab734[_0x11b6e5(0x23a)])===_0x1677e7[_0x11b6e5(0x23a)]&&((_0x1857f2=this['_lastPointer'])==null?void 0x0:_0x1857f2[_0x11b6e5(0x390)])===_0x1677e7['row']||this[_0x11b6e5(0x29a)][_0x11b6e5(0x233)](_0x689a2a=>{const _0x1f3589=_0x11b6e5;_0x689a2a[_0x1f3589(0x31c)](_0x1677e7);});},0x64));});}[_0x121303(0x22d)](_0x473c59,_0x3fd77e){const _0x60225a=_0x121303;var _0x5aca71;const _0x4f4052=(_0x5aca71=this[_0x60225a(0x2c7)][_0x60225a(0x2e8)]())==null?void 0x0:_0x5aca71[_0x60225a(0x1f6)];if(!_0x4f4052)return;const _0xbf938c=this[_0x60225a(0x1a3)]();if(!_0xbf938c)return;this[_0x60225a(0x29a)][_0x60225a(0x233)](_0x4e929e=>{const _0x382f86=_0x60225a;_0x4e929e[_0x382f86(0x29c)]();});const {scene:_0x4750f0}=_0xbf938c,_0xca6a30=Bi(Array[_0x60225a(0x301)](_0x3fd77e['values']()))[_0x60225a(0x1eb)](_0x473902=>{const _0x3628fa=_0x60225a,{color:_0x5126d9,range:_0x513bd3,name:_0xe9352,selection:_0x9c3f16,sheetID:_0x17071e}=_0x473902,{startColumn:_0xbb461f,startRow:_0x2d9f7d,endColumn:_0x179e32,endRow:_0x44cb06}=_0x513bd3,_0x11fc39=_0x1ed490(_0x2d9f7d,_0xbb461f,_0x4750f0,_0x4f4052),_0x2f33af=_0x1ed490(_0x44cb06,_0x179e32,_0x4750f0,_0x4f4052),{columnHeaderHeightAndMarginTop:_0x4e2eda}=_0x4f4052,{startX:_0x34d14b,startY:_0xafcb5b}=_0x11fc39,{endX:_0x15ce24,endY:_0x1dda39}=_0x2f33af,_0x31e974=_0x15ce24-_0x34d14b,_0x287db3=_0x1dda39-_0xafcb5b,_0x4d0238={'labelPosition':_0xafcb5b-_0x4e2eda>=te?_0x3628fa(0x2c3):_0x3628fa(0x354),'sheetID':_0x17071e,'range':_0x513bd3,'color':_0x5126d9,'name':_0xe9352,'selection':_0x9c3f16,'left':_0x34d14b,'top':_0xafcb5b,'width':_0x31e974,'height':_0x287db3,'evented':!0x1,'zIndex':xi};return new Ai(_0xe9352,_0x4d0238);});_0x4750f0[_0x60225a(0x1e3)](_0xca6a30,wi),this[_0x60225a(0x29a)]=new Set(_0xca6a30);}[_0x121303(0x2a2)](){const _0x5ba422=_0x121303;var _0x34a7c2;(_0x34a7c2=this['_cursors'])==null||_0x34a7c2[_0x5ba422(0x233)](_0x1c4bbe=>_0x1c4bbe[_0x5ba422(0x1cd)]());}[_0x121303(0x1a3)](){const _0x3c0d03=_0x121303;return _0x1f411b(this[_0x3c0d03(0x189)][_0x3c0d03(0x268)],this[_0x3c0d03(0x189)]);}};Le=$i([pe(0x1,_0x2b92ef(_0x14f938)),pe(0x2,_0x2b92ef(H)),pe(0x3,_0x2b92ef(_0x4a4214))],Le);function Bi(_0x30c270){const _0x239d4c=_0x121303,_0x562a36=new Map();return _0x30c270['forEach'](_0x17ca31=>{const _0x32efbc=_0x4552;if(_0x562a36[_0x32efbc(0x2cf)](_0x17ca31['selection'])){const _0x1ea569=_0x562a36['get'](_0x17ca31['selection']);_0x1ea569['name']+=',\x20'+_0x17ca31[_0x32efbc(0x2f1)];}else _0x562a36[_0x32efbc(0x351)](_0x17ca31['selection'],_0x17ca31);}),Array[_0x239d4c(0x301)](_0x562a36[_0x239d4c(0x209)]());}var I=function(){const _0x271848=_0x121303;return I=Object[_0x271848(0x1d3)]||function(_0x9d48ef){const _0x274642=_0x271848;for(var _0x3cc9d7,_0x29bd64=0x1,_0x4ef265=arguments['length'];_0x29bd64<_0x4ef265;_0x29bd64++){_0x3cc9d7=arguments[_0x29bd64];for(var _0x3bfafc in _0x3cc9d7)Object[_0x274642(0x2e2)]['hasOwnProperty']['call'](_0x3cc9d7,_0x3bfafc)&&(_0x9d48ef[_0x3bfafc]=_0x3cc9d7[_0x3bfafc]);}return _0x9d48ef;},I[_0x271848(0x349)](this,arguments);},ki=function(_0x461813,_0x176e42){const _0x3fb7d9=_0x121303;var _0x61641a={};for(var _0x303e0b in _0x461813)Object[_0x3fb7d9(0x2e2)][_0x3fb7d9(0x374)][_0x3fb7d9(0x2b5)](_0x461813,_0x303e0b)&&_0x176e42[_0x3fb7d9(0x1bf)](_0x303e0b)<0x0&&(_0x61641a[_0x303e0b]=_0x461813[_0x303e0b]);if(_0x461813!=null&&typeof Object['getOwnPropertySymbols']==_0x3fb7d9(0x1b3)){for(var _0x26c151=0x0,_0x303e0b=Object[_0x3fb7d9(0x234)](_0x461813);_0x26c151<_0x303e0b[_0x3fb7d9(0x319)];_0x26c151++)_0x176e42['indexOf'](_0x303e0b[_0x26c151])<0x0&&Object[_0x3fb7d9(0x2e2)][_0x3fb7d9(0x2d1)]['call'](_0x461813,_0x303e0b[_0x26c151])&&(_0x61641a[_0x303e0b[_0x26c151]]=_0x461813[_0x303e0b[_0x26c151]]);}return _0x61641a;},We=_0x59d2c1(function(_0x10b588,_0x37b243){const _0x55952b=_0x121303;var _0x495d7e=_0x10b588['icon'],_0x38c851=_0x10b588['id'],_0x7f577f=_0x10b588[_0x55952b(0x383)],_0x41a299=_0x10b588['extend'],_0x83306e=ki(_0x10b588,['icon','id',_0x55952b(0x383),'extend']),_0x4de907=_0x55952b(0x20d)['concat'](_0x38c851,'\x20')[_0x55952b(0x33e)](_0x7f577f||'')['trim'](),_0x5d5cb6=_0x115c39('_'[_0x55952b(0x33e)](Wi()));return Nt(_0x495d7e,''['concat'](_0x38c851),{'defIds':_0x495d7e[_0x55952b(0x217)],'idSuffix':_0x5d5cb6[_0x55952b(0x2ec)]},I({'ref':_0x37b243,'className':_0x4de907},_0x83306e),_0x41a299);});function Nt(_0x2ef636,_0x4d9ec9,_0x125477,_0xad9529,_0x9141c1){const _0x3c13b5=_0x121303;return _0x365b68(_0x2ef636[_0x3c13b5(0x22a)],I(I({'key':_0x4d9ec9},Hi(_0x2ef636,_0x125477,_0x9141c1)),_0xad9529),(ji(_0x2ef636,_0x125477)[_0x3c13b5(0x1ac)]||[])['map'](function(_0x53b7bb,_0x537a76){const _0x2c9b07=_0x3c13b5;return Nt(_0x53b7bb,''['concat'](_0x4d9ec9,'-')[_0x2c9b07(0x33e)](_0x2ef636[_0x2c9b07(0x22a)],'-')[_0x2c9b07(0x33e)](_0x537a76),_0x125477,void 0x0,_0x9141c1);}));}function Hi(_0x194a1e,_0x2ac6b7,_0x174716){const _0x176a18=_0x121303;var _0x157436=I({},_0x194a1e[_0x176a18(0x2fc)]);_0x174716!=null&&_0x174716[_0x176a18(0x201)]&&_0x157436[_0x176a18(0x21c)]===_0x176a18(0x201)&&(_0x157436['fill']=_0x174716[_0x176a18(0x201)]),_0x194a1e[_0x176a18(0x22a)]===_0x176a18(0x203)&&_0x157436['id']&&(_0x157436['id']=_0x157436['id']+_0x2ac6b7[_0x176a18(0x1c8)]),Object[_0x176a18(0x2c8)](_0x157436)['forEach'](function(_0x52174d){const _0x46a125=_0x176a18;var _0x3095ab=_0x52174d[0x0],_0x25029d=_0x52174d[0x1];_0x3095ab==='mask'&&typeof _0x25029d==_0x46a125(0x235)&&(_0x157436[_0x3095ab]=_0x25029d['replace'](/url\(#(.*)\)/,_0x46a125(0x38a)['concat'](_0x2ac6b7['idSuffix'],')')));});var _0x5ed77a=_0x2ac6b7[_0x176a18(0x217)];return!_0x5ed77a||_0x5ed77a['length']===0x0||(_0x194a1e[_0x176a18(0x22a)]===_0x176a18(0x214)&&_0x157436[_0x176a18(0x199)]&&(_0x157436[_0x176a18(0x199)]=_0x157436[_0x176a18(0x199)]+_0x2ac6b7[_0x176a18(0x1c8)]),Object[_0x176a18(0x2c8)](_0x157436)[_0x176a18(0x233)](function(_0x5b46af){const _0x5f3563=_0x176a18;var _0xa80ba=_0x5b46af[0x0],_0x4b6d9e=_0x5b46af[0x1];typeof _0x4b6d9e==_0x5f3563(0x235)&&(_0x157436[_0xa80ba]=_0x4b6d9e['replace'](/url\(#(.*)\)/,_0x5f3563(0x38a)[_0x5f3563(0x33e)](_0x2ac6b7['idSuffix'],')')));})),_0x157436;}function ji(_0x122484,_0x270485){const _0x459af4=_0x121303;var _0x5f9719,_0x268ce7=_0x270485[_0x459af4(0x217)];return!_0x268ce7||_0x268ce7['length']===0x0?_0x122484:_0x122484[_0x459af4(0x22a)]===_0x459af4(0x1d8)&&(!((_0x5f9719=_0x122484[_0x459af4(0x1ac)])===null||_0x5f9719===void 0x0)&&_0x5f9719[_0x459af4(0x319)])?I(I({},_0x122484),{'children':_0x122484[_0x459af4(0x1ac)][_0x459af4(0x1eb)](function(_0x19a624){const _0x408700=_0x459af4;return typeof _0x19a624[_0x408700(0x2fc)]['id']==_0x408700(0x235)&&_0x268ce7&&_0x268ce7[_0x408700(0x1bf)](_0x19a624[_0x408700(0x2fc)]['id'])>-0x1?I(I({},_0x19a624),{'attrs':I(I({},_0x19a624[_0x408700(0x2fc)]),{'id':_0x19a624[_0x408700(0x2fc)]['id']+_0x270485[_0x408700(0x1c8)]})}):_0x19a624;})}):_0x122484;}function Wi(){const _0x309572=_0x121303;return Math[_0x309572(0x1a2)]()[_0x309572(0x2d8)](0x24)[_0x309572(0x359)](0x2,0x8);}We[_0x121303(0x376)]=_0x121303(0x18f);var Fi={'tag':_0x121303(0x2a6),'attrs':{'fill':_0x121303(0x313),'viewBox':_0x121303(0x280),'width':_0x121303(0x1f8),'height':_0x121303(0x1f8)},'children':[{'tag':'g','attrs':{'clipPath':_0x121303(0x2e3)},'children':[{'tag':'path','attrs':{'stroke':_0x121303(0x298),'d':_0x121303(0x26f),'strokeLinecap':_0x121303(0x23c),'strokeLinejoin':_0x121303(0x23c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x121303(0x2ab),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x121303(0x1b6)]},Ut=_0x59d2c1(function(_0x3f15b9,_0x29ef75){const _0x5c4d09=_0x121303;return _0x365b68(We,Object[_0x5c4d09(0x1d3)]({},_0x3f15b9,{'id':_0x5c4d09(0x212),'ref':_0x29ef75,'icon':Fi}));});Ut[_0x121303(0x376)]='OffLineSingle';var Yi={'tag':_0x121303(0x2a6),'attrs':{'fill':_0x121303(0x313),'viewBox':_0x121303(0x1c9),'width':'1em','height':_0x121303(0x1f8)},'children':[{'tag':'g','attrs':{'clipPath':_0x121303(0x25a)},'children':[{'tag':'path','attrs':{'stroke':_0x121303(0x298),'d':_0x121303(0x202),'strokeLinecap':_0x121303(0x23c),'strokeLinejoin':_0x121303(0x23c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x121303(0x2c6),'attrs':{'id':_0x121303(0x339)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x121303(0x2d6),'transform':_0x121303(0x2ca)}}]}]}],'defIds':[_0x121303(0x339)]},Mt=_0x59d2c1(function(_0x3a34b4,_0x361a81){const _0x289504=_0x121303;return _0x365b68(We,Object[_0x289504(0x1d3)]({},_0x3a34b4,{'id':_0x289504(0x258),'ref':_0x361a81,'icon':Yi}));});Mt['displayName']=_0x121303(0x2af);const Vi=_0x121303(0x32b),Xi='univer-online-status-title',Gi=_0x121303(0x306),Ki=_0x121303(0x33b),zi='univer-offline',G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x4aecdd){const _0x2de147=_0x121303;switch(_0x4aecdd){case _0x1ac34d['OFFLINE']:return _0x2de147(0x200);case _0x1ac34d[_0x2de147(0x205)]:return _0x2de147(0x384);case _0x1ac34d[_0x2de147(0x300)]:return _0x2de147(0x2ad);case _0x1ac34d['NOT_COLLAB']:return _0x2de147(0x27c);case _0x1ac34d[_0x2de147(0x1df)]:case _0x1ac34d['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x1ac34d[_0x2de147(0x372)]:case _0x1ac34d[_0x2de147(0x1e4)]:return'collabStatus.synced';}}function Zi(_0x10b8e3){const _0x2b3b3d=_0x121303,{status$:_0x244ca5}=_0x10b8e3,_0x27e552=_0x2bfbb5(_0x244ca5,_0x1ac34d[_0x2b3b3d(0x18c)]),_0x8f38f0=_0x37d260(_0x4027aa),_0x5f4e83=_0x37d260(_0x5963f3),_0x200c2f=_0x27e552!==_0x1ac34d['OFFLINE'],_0x32042e=_0x8f38f0['t'](Ji(_0x27e552)),_0x370fbf=_0x319310(G[_0x2b3b3d(0x356)],{[G[_0x2b3b3d(0x28e)]]:_0x200c2f,[G[_0x2b3b3d(0x295)]]:!_0x200c2f}),_0x349af9=_0x200c2f?_0x114f90(Mt,{}):_0x114f90(Ut,{}),_0x50eeca=_0x6da400(()=>{const _0x298ef2=_0x2b3b3d;_0x200c2f||_0x5f4e83[_0x298ef2(0x2b9)]();},[_0x200c2f,_0x5f4e83]);function _0x555f22(){const _0x4e890b=_0x2b3b3d;return _0x1724de('div',{'className':_0x319310(_0x370fbf,_0x4e890b(0x2eb)),'onClick':_0x50eeca,'children':[_0x114f90(_0x4e890b(0x223),{'className':G[_0x4e890b(0x2a4)],'children':_0x349af9}),_0x114f90(_0x4e890b(0x223),{'className':G['onlineStatusTitle'],'children':_0x32042e})]});}return _0x200c2f?_0x555f22():_0x114f90(_0x1d1be2,{'title':_0x8f38f0['t'](_0x2b3b3d(0x362)),'children':_0x555f22()});}var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x506368,_0x3f7de2,_0x55af27,_0x42e4b)=>{const _0x53ac83=_0x121303;for(var _0xb029fa=_0x42e4b>0x1?void 0x0:_0x42e4b?Qi(_0x3f7de2,_0x55af27):_0x3f7de2,_0xcd651a=_0x506368[_0x53ac83(0x319)]-0x1,_0x461f52;_0xcd651a>=0x0;_0xcd651a--)(_0x461f52=_0x506368[_0xcd651a])&&(_0xb029fa=_0x461f52(_0xb029fa)||_0xb029fa);return _0xb029fa;},q=(_0x23eddd,_0x583e72)=>(_0x105aa8,_0x71bd4e)=>_0x583e72(_0x105aa8,_0x71bd4e,_0x23eddd);let se=class extends _0x396ab6{constructor(_0x139699,_0x7550a,_0x3fc1b8,_0x72182b){const _0x38f861=_0x121303;super(),_(this,_0x38f861(0x325),new _0x47fe7a(_0x1ac34d[_0x38f861(0x18c)])),(this[_0x38f861(0x19e)]=_0x139699,this['_injector']=_0x7550a,this[_0x38f861(0x229)]=_0x3fc1b8,this[_0x38f861(0x282)]=_0x72182b,this[_0x38f861(0x350)](),this['_initStatusListener']());}[_0x121303(0x1af)](){const _0x423fa2=_0x121303;this['disposeWithMe'](this[_0x423fa2(0x19e)]['focused$'][_0x423fa2(0x33d)](_0x5c02b5(()=>{const _0x1a27fc=_0x423fa2,_0x4cd9a5=this[_0x1a27fc(0x19e)]['getFocusedUnit']();return _0x4cd9a5?this[_0x1a27fc(0x229)]['getCollabEntity$'](_0x4cd9a5[_0x1a27fc(0x34d)]()):_0x280948(null);}),_0x5c02b5(_0x25e81e=>_0x25e81e?_0x25e81e['status$']:_0x280948(_0x1ac34d[_0x423fa2(0x18c)])))['subscribe'](_0x4a097c=>{const _0x384757=_0x423fa2;this[_0x384757(0x325)][_0x384757(0x1b0)](_0x4a097c);}));}[_0x121303(0x350)](){const _0x4fb231=_0x121303;this['disposeWithMe'](this[_0x4fb231(0x282)][_0x4fb231(0x2d0)](_0x512cfd['HEADER_MENU'],()=>_0x5a319d(en({'status$':this['_status$'][_0x4fb231(0x26e)]()}),this['_injector'])));}};se=qi([q(0x0,_0x3f52db),q(0x1,_0x2b92ef(_0x4d1bed)),q(0x2,_0x2b92ef(_0x1d72b6)),q(0x3,_0x431e4d)],se);function en(_0x4f2740){const {status$:_0x10cfd3}=_0x4f2740;return function(){return _0x114f90(Zi,{'status$':_0x10cfd3});};}var tn=Object[_0x121303(0x26c)],sn=(_0x18b6fa,_0xfec2d4,_0x1974c8,_0x1486b8)=>{for(var _0x1acaf7=_0x1486b8>0x1?void 0x0:_0x1486b8?tn(_0xfec2d4,_0x1974c8):_0xfec2d4,_0x2bbe60=_0x18b6fa['length']-0x1,_0x1a0fb9;_0x2bbe60>=0x0;_0x2bbe60--)(_0x1a0fb9=_0x18b6fa[_0x2bbe60])&&(_0x1acaf7=_0x1a0fb9(_0x1acaf7)||_0x1acaf7);return _0x1acaf7;},B=(_0x292800,_0x83eb82)=>(_0xc68d19,_0x455165)=>_0x83eb82(_0xc68d19,_0x455165,_0x292800);let ie=class extends _0x396ab6{constructor(_0x4da32f,_0x506b96,_0x13c553,_0x5829f9,_0x173622,_0x2e4b03){const _0x45231b=_0x121303;super(),this[_0x45231b(0x19c)]=_0x4da32f,this[_0x45231b(0x31e)]=_0x506b96,this['_collaborationUIEventService']=_0x13c553,this[_0x45231b(0x243)]=_0x5829f9,this[_0x45231b(0x266)]=_0x173622,this['_localeService']=_0x2e4b03,this['_setupBeforeClosingHandler'](),this[_0x45231b(0x344)]();}['_setupBeforeClosingHandler'](){const _0x5cfa3=_0x121303;this['disposeWithMe'](this[_0x5cfa3(0x19c)][_0x5cfa3(0x193)](()=>{const _0x4a3000=_0x5cfa3;if(this[_0x4a3000(0x31e)][_0x4a3000(0x277)][_0x4a3000(0x1c7)])return this['_localeService']['t'](_0x4a3000(0x29b));}));}[_0x121303(0x344)](){const _0x16d788=_0x121303;this[_0x16d788(0x23e)](this[_0x16d788(0x2ee)][_0x16d788(0x2e5)]['subscribe'](_0x859819=>{const _0x213603=_0x16d788;_0x859819['id']===_0x592759[_0x213603(0x348)]&&this[_0x213603(0x243)][_0x213603(0x21f)]({'type':_0x5ae896[_0x213603(0x241)],'content':this[_0x213603(0x245)]['t'](_0x213603(0x244))}),_0x859819['id']===_0x592759[_0x213603(0x30a)]&&this[_0x213603(0x243)][_0x213603(0x21f)]({'type':_0x5ae896[_0x213603(0x241)],'content':this[_0x213603(0x245)]['t'](_0x213603(0x1dc))}),_0x859819['id']===_0x592759[_0x213603(0x363)]&&this[_0x213603(0x266)][_0x213603(0x21f)]({'title':this[_0x213603(0x245)]['t'](_0x213603(0x27a)),'content':this[_0x213603(0x245)]['t'](_0x213603(0x236)),'type':_0x213603(0x2bd),'duration':0x0}),_0x859819['id']===_0x592759['CONFLICT']&&this['_messageService'][_0x213603(0x21f)]({'type':_0x5ae896[_0x213603(0x22f)],'content':this[_0x213603(0x245)]['t']('collaboration.closeRoom')+'('+_0x859819['data']+')'}),_0x859819['id']===_0x592759[_0x213603(0x2df)]&&this[_0x213603(0x243)][_0x213603(0x21f)]({'type':_0x5ae896[_0x213603(0x241)],'content':this[_0x213603(0x245)]['t'](_0x859819[_0x213603(0x285)]||'')}),_0x859819['id']===_0x592759[_0x213603(0x194)]&&this[_0x213603(0x243)][_0x213603(0x21f)]({'type':_0x5ae896[_0x213603(0x241)],'content':this[_0x213603(0x245)]['t'](_0x213603(0x2dd))}),_0x859819['id']===_0x592759[_0x213603(0x310)]&&this['_messageService'][_0x213603(0x21f)]({'type':_0x5ae896[_0x213603(0x22f)],'content':this[_0x213603(0x245)]['t'](_0x213603(0x35f))}),_0x859819['id']===_0x592759[_0x213603(0x367)]&&this[_0x213603(0x243)][_0x213603(0x21f)]({'type':_0x5ae896[_0x213603(0x22f)],'content':this[_0x213603(0x245)]['t'](_0x213603(0x318))});}));}};ie=sn([B(0x0,_0x20591a),B(0x1,_0x4be2e4),B(0x2,_0x2b92ef(_0x63cd19)),B(0x3,_0x2b17bd),B(0x4,_0x1eaf52),B(0x5,_0x2b92ef(_0x4027aa))],ie);const nn='collaboration-client-ui.config',st={},Pt=_0x23cbaa(_0x121303(0x371));var rn=Object[_0x121303(0x26c)],on=(_0xee4a7b,_0x10a5bc,_0x194cde,_0x4d7b91)=>{const _0x6e6e8f=_0x121303;for(var _0x604f24=_0x4d7b91>0x1?void 0x0:_0x4d7b91?rn(_0x10a5bc,_0x194cde):_0x10a5bc,_0xd7e3a0=_0xee4a7b[_0x6e6e8f(0x319)]-0x1,_0x56f959;_0xd7e3a0>=0x0;_0xd7e3a0--)(_0x56f959=_0xee4a7b[_0xd7e3a0])&&(_0x604f24=_0x56f959(_0x604f24)||_0x604f24);return _0x604f24;},K=(_0x588f3a,_0xc69b99)=>(_0x340446,_0x47d661)=>_0xc69b99(_0x340446,_0x47d661,_0x588f3a);let ne=class extends _0x1735b1{constructor(_0x3d2f73,_0x3999b1,_0x9011e9,_0x74a238,_0x3b3c55){const _0x5902ab=_0x121303;super(),this[_0x5902ab(0x210)]=_0x3d2f73,this[_0x5902ab(0x2ce)]=_0x3999b1,this[_0x5902ab(0x2c2)]=_0x9011e9,this[_0x5902ab(0x2e1)]=_0x74a238,_0x3b3c55?_0x3b3c55==null||_0x3b3c55[_0x5902ab(0x28d)]()['then'](()=>this['_init']()):(this[_0x5902ab(0x2ce)][_0x5902ab(0x34b)](_0x5902ab(0x37d),_0x5902ab(0x2b3)),this[_0x5902ab(0x2a1)]());}async['_init'](){const _0xbb5e0f=_0x121303,_0x77962e=this[_0xbb5e0f(0x210)]['getParam'](_0xbb5e0f(0x268)),_0x33fc1b=this[_0xbb5e0f(0x210)][_0xbb5e0f(0x2ed)](_0xbb5e0f(0x289)),_0x355cf8=this[_0xbb5e0f(0x210)][_0xbb5e0f(0x2ed)](_0xbb5e0f(0x24a));if(!_0x77962e||!_0x33fc1b){this['_logService'][_0xbb5e0f(0x34b)](_0xbb5e0f(0x37d),_0xbb5e0f(0x321));return;}const _0x5d3f27=await this[_0xbb5e0f(0x2e1)][_0xbb5e0f(0x2e6)](_0x77962e,Number(_0x33fc1b),_0x355cf8);_0x5d3f27&&_0x5d3f27 instanceof _0x26d7fe&&this[_0xbb5e0f(0x29e)](_0x5d3f27);}async[_0x121303(0x29e)](_0x20f19a){const _0x1817cc=_0x121303;await this[_0x1817cc(0x1ed)](_0x20f19a),_0x20f19a[_0x1817cc(0x230)][_0x1817cc(0x33d)](_0x4eac23(this[_0x1817cc(0x278)]))[_0x1817cc(0x312)](_0x102e44=>{const _0x102031=_0x1817cc;_0x102e44&&this[_0x102031(0x1ee)](_0x102e44);}),this['_urlService'][_0x1817cc(0x2fb)][_0x1817cc(0x33d)](_0x4eac23(this[_0x1817cc(0x278)]))[_0x1817cc(0x312)](()=>this[_0x1817cc(0x1ed)](_0x20f19a));}[_0x121303(0x1ee)](_0x4d87c3,_0x37e540=!0x1){const _0x1a0978=_0x121303,_0x35c908=this[_0x1a0978(0x210)]['getParam'](_0x1a0978(0x24a));_0x4d87c3[_0x1a0978(0x260)]()!==_0x35c908&&this['_urlService'][_0x1a0978(0x242)](_0x1a0978(0x24a),_0x4d87c3[_0x1a0978(0x260)](),_0x37e540);}async[_0x121303(0x1ed)](_0x159df2){const _0x5b47fe=_0x121303;var _0x17b794;const _0x57d1a4=this[_0x5b47fe(0x210)][_0x5b47fe(0x2ed)](_0x5b47fe(0x24a));if(!_0x57d1a4||!_0x159df2[_0x5b47fe(0x2bf)](_0x57d1a4)){const _0x371f28=_0x159df2['getUnhiddenWorksheets']()[0x0],_0x3bdb57=_0x159df2['getSheetBySheetId'](_0x371f28);if(!_0x3bdb57)return;this[_0x5b47fe(0x1ee)](_0x3bdb57,!0x0),await this[_0x5b47fe(0x2c2)][_0x5b47fe(0x316)](_0x4c47e4['id'],{'unitId':_0x159df2[_0x5b47fe(0x34d)](),'subUnitId':_0x371f28});return;}((_0x17b794=_0x159df2[_0x5b47fe(0x1e1)]())==null?void 0x0:_0x17b794['getSheetId']())!==_0x57d1a4&&await this[_0x5b47fe(0x2c2)][_0x5b47fe(0x316)](_0x4c47e4['id'],{'unitId':_0x159df2[_0x5b47fe(0x34d)](),'subUnitId':_0x57d1a4});}};ne=on([K(0x0,Pt),K(0x1,_0x3b604d),K(0x2,_0x419d01),K(0x3,_0x2b92ef(_0x34a06c)),K(0x4,_0x1dd2c7(_0x3b2e4d))],ne);var an=Object[_0x121303(0x26c)],cn=(_0x3a0cce,_0x32e67e,_0xac9e03,_0x1fa50b)=>{for(var _0x2c9283=_0x1fa50b>0x1?void 0x0:_0x1fa50b?an(_0x32e67e,_0xac9e03):_0x32e67e,_0x3c147a=_0x3a0cce['length']-0x1,_0x11669e;_0x3c147a>=0x0;_0x3c147a--)(_0x11669e=_0x3a0cce[_0x3c147a])&&(_0x2c9283=_0x11669e(_0x2c9283)||_0x2c9283);return _0x2c9283;},Ce=(_0x136fa5,_0x15539a)=>(_0x4885de,_0x1f9b38)=>_0x15539a(_0x4885de,_0x1f9b38,_0x136fa5);let re=class{constructor(_0x3d1ee9,_0x88b180,_0x22a31e){const _0x55724f=_0x121303;this[_0x55724f(0x2f0)]=_0x3d1ee9,this['_transformService']=_0x88b180,this[_0x55724f(0x324)]=_0x22a31e;}[_0x121303(0x248)](_0x19b960){this['_transformUndoRedoStack'](_0x19b960),this['_transformPreviousActiveRange'](_0x19b960);}[_0x121303(0x1b8)](_0x3d81cb){const _0x865ccf=_0x121303,{unitID:_0x4708ed}=_0x3d81cb,_0x1a9ed6=this[_0x865ccf(0x324)][_0x865ccf(0x26b)](_0x4708ed)[_0x865ccf(0x294)](_0x1c23c1),{redoCache:_0x235e7c}=_0x1a9ed6[_0x865ccf(0x20e)]();if(_0x235e7c[_0x865ccf(0x319)]===0x0)return _0x3d81cb;let _0x508631=_0x4ab600[_0x865ccf(0x2c4)](_0x3d81cb[_0x865ccf(0x1c3)][0x0]);for(let _0x365018=0x0;_0x365018<_0x235e7c[_0x865ccf(0x319)];_0x365018++){const _0x486129={'id':_0x865ccf(0x299),'params':{..._0x235e7c[_0x365018]}},_0x5f5423=this[_0x865ccf(0x1dd)][_0x865ccf(0x309)](_0x508631,_0x486129,!0x1);if(_0x19cac6(_0x5f5423))throw _0x5f5423[_0x865ccf(0x2bd)];_0x508631=_0x5f5423[_0x865ccf(0x1f4)];}return{..._0x4ab600['deepClone'](_0x3d81cb),'mutations':[_0x508631]};}[_0x121303(0x283)](_0x35f860){const _0x36fed0=_0x121303,{unitID:_0xe1d852}=_0x35f860,_0xae021e=this['_renderManagerService']['getRenderById'](_0xe1d852)[_0x36fed0(0x294)](_0x1c23c1),{undoCache:_0x332e70,redoCache:_0xb3c89d}=_0xae021e[_0x36fed0(0x20e)]();if(_0x332e70[_0x36fed0(0x319)]===0x0||_0xb3c89d[_0x36fed0(0x319)]===0x0)return;const _0x542de0=[],_0x1e8742=[];let _0x315538=_0x4ab600[_0x36fed0(0x2c4)](_0x35f860['mutations'][0x0]),_0x390516=_0x4ab600[_0x36fed0(0x2c4)](_0x35f860['mutations'][0x0]);for(let _0x4d35e8=_0x332e70['length']-0x1;_0x4d35e8>=0x0;_0x4d35e8--){const _0x99c7f5={'id':_0x36fed0(0x299),'params':{..._0x332e70[_0x4d35e8]}},_0x4fb552={'id':_0x36fed0(0x299),'params':{..._0xb3c89d[_0x4d35e8]}},_0x569a5c=this[_0x36fed0(0x1dd)][_0x36fed0(0x309)](_0x315538,_0x99c7f5,!0x1),_0x465250=this[_0x36fed0(0x1dd)][_0x36fed0(0x309)](_0x390516,_0x4fb552,!0x1);if(_0x19cac6(_0x569a5c))throw _0x569a5c['error'];if(_0x19cac6(_0x465250))throw _0x465250[_0x36fed0(0x2bd)];_0x542de0[_0x36fed0(0x1a9)](_0x569a5c[_0x36fed0(0x2cd)][_0x36fed0(0x2ae)]),_0x1e8742['unshift'](_0x465250['m2Prime'][_0x36fed0(0x2ae)]),_0x315538=_0x569a5c[_0x36fed0(0x1f4)],_0x390516=_0x465250[_0x36fed0(0x1f4)];}_0xae021e[_0x36fed0(0x392)]({'undoCache':_0x542de0,'redoCache':_0x1e8742});}[_0x121303(0x1a8)](_0x40a3eb){const _0x3bacc7=_0x121303,{unitID:_0x3c3204}=_0x40a3eb,_0x5fe4e7=this[_0x3bacc7(0x324)][_0x3bacc7(0x26b)](_0x3c3204)[_0x3bacc7(0x294)](_0x1c23c1),_0x4121aa=_0x5fe4e7['getActiveRange']();if(_0x4121aa==null)return;const _0x5662bd=[{'id':_0x3bacc7(0x299),'params':{'unitId':_0x40a3eb[_0x3bacc7(0x327)],'actions':null,'textRanges':[_0x4121aa]}}],_0x5aab4b=this[_0x3bacc7(0x1dd)][_0x3bacc7(0x220)](_0x40a3eb,_0x5662bd);if(!_0x3a30de(_0x5aab4b))throw _0x5aab4b[_0x3bacc7(0x2bd)];const _0x51661a=_0x5aab4b[_0x3bacc7(0x2cd)][0x0]['params']['textRanges'];Array[_0x3bacc7(0x2ea)](_0x51661a)&&_0x51661a[_0x3bacc7(0x319)]&&_0x5fe4e7[_0x3bacc7(0x1e2)](_0x51661a[0x0]);}};re=cn([Ce(0x0,_0x2b92ef(_0x4d1bed)),Ce(0x1,_0x2bc116),Ce(0x2,_0x3a1e02)],re);var ln=Object[_0x121303(0x26c)],_n=(_0x3dc5ce,_0x307653,_0x22c45e,_0x175160)=>{for(var _0x53e5d8=_0x175160>0x1?void 0x0:_0x175160?ln(_0x307653,_0x22c45e):_0x307653,_0x3616c1=_0x3dc5ce['length']-0x1,_0x364826;_0x3616c1>=0x0;_0x3616c1--)(_0x364826=_0x3dc5ce[_0x3616c1])&&(_0x53e5d8=_0x364826(_0x53e5d8)||_0x53e5d8);return _0x53e5d8;},Ee=(_0x50ebb0,_0x3dc23f)=>(_0x412e8b,_0xaf03ec)=>_0x3dc23f(_0x412e8b,_0xaf03ec,_0x50ebb0);let oe=class{constructor(_0xb36771,_0x50e390,_0x44bf6a){const _0x2f343c=_0x121303;this[_0x2f343c(0x2f0)]=_0xb36771,this[_0x2f343c(0x1dd)]=_0x50e390,this[_0x2f343c(0x389)]=_0x44bf6a;}[_0x121303(0x2a9)](_0x3dab83){const _0x1255d1=_0x121303;this[_0x1255d1(0x18a)](_0x3dab83);}[_0x121303(0x1b8)](_0x680d93){const _0x2d0138=_0x121303,{unitID:_0x49c5cb}=_0x680d93,{collaboration:_0x497924}=this[_0x2d0138(0x389)][_0x2d0138(0x28c)](_0x49c5cb);if(_0x497924[_0x2d0138(0x319)]===0x0)return _0x680d93;let _0x44d895=_0x4ab600[_0x2d0138(0x2c4)](_0x680d93['mutations'][0x0]);for(let _0x437e7f=0x0;_0x437e7f<_0x497924[_0x2d0138(0x319)];_0x437e7f++){const _0x3b9858={'id':_0x2d0138(0x299),'params':{'unitId':_0x497924[_0x437e7f][_0x2d0138(0x302)],..._0x497924[_0x437e7f][_0x2d0138(0x21e)]}},_0x351a28=this[_0x2d0138(0x1dd)][_0x2d0138(0x309)](_0x44d895,_0x3b9858,!0x1);if(_0x19cac6(_0x351a28))throw _0x351a28[_0x2d0138(0x2bd)];_0x44d895=_0x351a28[_0x2d0138(0x1f4)];}return{..._0x4ab600[_0x2d0138(0x2c4)](_0x680d93),'mutations':[_0x44d895]};}[_0x121303(0x18a)](_0x44a13d){const _0x3102b0=_0x121303,{unitID:_0x5eed9f}=_0x44a13d,{history:_0x39c230,collaboration:_0x34e286}=this['_docStateChangeManagerService']['getStateCache'](_0x5eed9f);if(_0x39c230[_0x3102b0(0x319)]===0x0&&_0x34e286[_0x3102b0(0x319)]===0x0)return;const _0x5002f5=[],_0x221d43=[];let _0x38e24b=_0x4ab600['deepClone'](_0x44a13d['mutations'][0x0]),_0x4f8985=_0x4ab600[_0x3102b0(0x2c4)](_0x44a13d[_0x3102b0(0x1c3)][0x0]);for(let _0x5eded6=_0x39c230[_0x3102b0(0x319)]-0x1;_0x5eded6>=0x0;_0x5eded6--){const _0x4d67c4={'id':_0x3102b0(0x299),'params':{'unitId':_0x39c230[_0x5eded6]['unitId'],..._0x39c230[_0x5eded6][_0x3102b0(0x18d)]}},_0x55927f={'id':_0x3102b0(0x299),'params':{'unitId':_0x39c230[_0x5eded6][_0x3102b0(0x302)],..._0x39c230[_0x5eded6][_0x3102b0(0x21e)]}},_0x3a4749=this[_0x3102b0(0x1dd)]['transformMutation'](_0x38e24b,_0x4d67c4,!0x1),_0x1f8ffd=this[_0x3102b0(0x1dd)][_0x3102b0(0x309)](_0x4f8985,_0x55927f,!0x1);if(_0x19cac6(_0x3a4749))throw _0x3a4749[_0x3102b0(0x2bd)];if(_0x19cac6(_0x1f8ffd))throw _0x1f8ffd[_0x3102b0(0x2bd)];_0x5002f5['unshift']({..._0x39c230[_0x5eded6],'undoState':_0x3a4749[_0x3102b0(0x2cd)][_0x3102b0(0x2ae)],'redoState':_0x1f8ffd[_0x3102b0(0x2cd)][_0x3102b0(0x2ae)]}),_0x38e24b=_0x3a4749[_0x3102b0(0x1f4)],_0x4f8985=_0x1f8ffd[_0x3102b0(0x1f4)];}_0x38e24b=_0x4ab600['deepClone'](_0x44a13d[_0x3102b0(0x1c3)][0x0]),_0x4f8985=_0x4ab600[_0x3102b0(0x2c4)](_0x44a13d[_0x3102b0(0x1c3)][0x0]);for(let _0x55fc9a=_0x34e286[_0x3102b0(0x319)]-0x1;_0x55fc9a>=0x0;_0x55fc9a--){const _0x250d00={'id':_0x3102b0(0x299),'params':{'unitId':_0x34e286[_0x55fc9a]['unitId'],..._0x34e286[_0x55fc9a]['undoState']}},_0x43aab7={'id':_0x3102b0(0x299),'params':{'unitId':_0x34e286[_0x55fc9a][_0x3102b0(0x302)],..._0x34e286[_0x55fc9a]['redoState']}},_0x389148=this[_0x3102b0(0x1dd)]['transformMutation'](_0x38e24b,_0x250d00,!0x1),_0x260d40=this[_0x3102b0(0x1dd)][_0x3102b0(0x309)](_0x4f8985,_0x43aab7,!0x1);if(_0x19cac6(_0x389148))throw _0x389148[_0x3102b0(0x2bd)];if(_0x19cac6(_0x260d40))throw _0x260d40[_0x3102b0(0x2bd)];_0x221d43[_0x3102b0(0x1a9)]({..._0x34e286[_0x55fc9a],'undoState':_0x389148[_0x3102b0(0x2cd)]['params'],'redoState':_0x260d40[_0x3102b0(0x2cd)][_0x3102b0(0x2ae)]}),_0x38e24b=_0x389148[_0x3102b0(0x1f4)],_0x4f8985=_0x260d40[_0x3102b0(0x1f4)];}this[_0x3102b0(0x389)][_0x3102b0(0x227)](_0x5eed9f,{'history':_0x5002f5,'collaboration':_0x221d43});}};oe=_n([Ee(0x0,_0x2b92ef(_0x4d1bed)),Ee(0x1,_0x2bc116),Ee(0x2,_0x2b92ef(_0x4804c2))],oe);var hn=Object[_0x121303(0x26c)],un=(_0x79ffc4,_0xf91f,_0x31a3f9,_0x32d095)=>{const _0x2acb0e=_0x121303;for(var _0x11525a=_0x32d095>0x1?void 0x0:_0x32d095?hn(_0xf91f,_0x31a3f9):_0xf91f,_0xf06546=_0x79ffc4[_0x2acb0e(0x319)]-0x1,_0x724d4e;_0xf06546>=0x0;_0xf06546--)(_0x724d4e=_0x79ffc4[_0xf06546])&&(_0x11525a=_0x724d4e(_0x11525a)||_0x11525a);return _0x11525a;},it=(_0x4aa131,_0x5d65ae)=>(_0x1d40fc,_0x43c39c)=>_0x5d65ae(_0x1d40fc,_0x43c39c,_0x4aa131);let ae=class{constructor(_0x603031,_0x54d0ba){const _0x38ab2d=_0x121303;this[_0x38ab2d(0x2f0)]=_0x603031,this['_transformService']=_0x54d0ba;}[_0x121303(0x274)](_0xf2e67b){const _0x2dc098=_0x121303;var _0x138462;const _0x261c0a=this[_0x2dc098(0x2f0)][_0x2dc098(0x31a)](_0x1667c2),_0x461cda=(_0x138462=_0x261c0a['getDocRanges']())!=null?_0x138462:[];if(_0x461cda['length']===0x0)return;const _0x26dcbe=_0xf2e67b[_0x2dc098(0x327)],_0x150168=[{'id':_0x2dc098(0x299),'params':{'unitId':_0x26dcbe,'actions':null,'textRanges':_0x461cda}}],_0x51e3da=this[_0x2dc098(0x1dd)][_0x2dc098(0x220)](_0xf2e67b,_0x150168);if(!_0x3a30de(_0x51e3da))throw _0x51e3da[_0x2dc098(0x2bd)];const _0x306a65=_0x51e3da[_0x2dc098(0x2cd)][0x0][_0x2dc098(0x2ae)][_0x2dc098(0x1e0)];Array[_0x2dc098(0x2ea)](_0x306a65)&&_0x306a65[_0x2dc098(0x319)]&&_0x261c0a[_0x2dc098(0x30f)](_0x306a65,{'unitId':_0x26dcbe,'subUnitId':_0x26dcbe},!0x1);}};ae=un([it(0x0,_0x2b92ef(_0x4d1bed)),it(0x1,_0x2bc116)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x3dc41b,_0x4789b3,_0x319b09,_0x488d09)=>{const _0x133687=_0x121303;for(var _0x18f662=_0x488d09>0x1?void 0x0:_0x488d09?dn(_0x4789b3,_0x319b09):_0x4789b3,_0x1e71ea=_0x3dc41b[_0x133687(0x319)]-0x1,_0x5b2a80;_0x1e71ea>=0x0;_0x1e71ea--)(_0x5b2a80=_0x3dc41b[_0x1e71ea])&&(_0x18f662=_0x5b2a80(_0x18f662)||_0x18f662);return _0x18f662;},U=(_0x4865c5,_0x235182)=>(_0x17bcca,_0x12bd47)=>_0x235182(_0x17bcca,_0x12bd47,_0x4865c5);let ce=class extends _0x396ab6{constructor(_0x485bcd,_0x581c14,_0x2493e9,_0x543d25,_0x3fef61,_0x3eb926,_0x514cae,_0x3f127a){const _0x32f0b2=_0x121303;super(),_(this,'_status$',new _0x47fe7a(_0x1ac34d[_0x32f0b2(0x18c)])),(this[_0x32f0b2(0x389)]=_0x485bcd,this[_0x32f0b2(0x229)]=_0x581c14,this['_docTransformIMECacheService']=_0x2493e9,this[_0x32f0b2(0x2fa)]=_0x543d25,this['_docTransformSelectionsService']=_0x3fef61,this['_docSyncEditingCollabCursorService']=_0x3eb926,this[_0x32f0b2(0x243)]=_0x514cae,this[_0x32f0b2(0x245)]=_0x3f127a,this['_initEntityListener']());}[_0x121303(0x19b)](){const _0x3c05c5=_0x121303;this[_0x3c05c5(0x23e)](this[_0x3c05c5(0x229)][_0x3c05c5(0x208)][_0x3c05c5(0x312)](_0x3f871c=>{const _0x458add=_0x3c05c5,_0x1f3c66=this[_0x458add(0x389)][_0x458add(0x34e)][_0x458add(0x312)](_0x231412=>{const _0xc70aa0=_0x458add;if(_0x231412==null)return;const {unitId:_0x412527,redoState:_0x1507e5,commandId:_0x156b09}=_0x231412;if(_0x412527!==_0x3f871c[_0xc70aa0(0x327)])return;const _0x5ea957={'id':_0x156b09,'type':_0x507e6f[_0xc70aa0(0x284)],'params':{'unitId':_0x412527,'actions':_0x1507e5[_0xc70aa0(0x385)],'textRanges':null}};_0x3f871c[_0xc70aa0(0x1d6)](_0x5ea957);});if(_0x3f871c['disposeWithMe'](_0x1f3c66),_0x3f871c instanceof _0x546330){const _0x261b85={'onTransformIME':_0x594cc1=>this[_0x458add(0x238)][_0x458add(0x248)](_0x594cc1),'onTransformState':_0x2e7842=>this['_docTransformStateCacheService']['transformStateCache'](_0x2e7842),'onTransformSelections':_0x4b9ea3=>this[_0x458add(0x360)]['transformSelections'](_0x4b9ea3),'onSyncEditingCollabCursor':_0x729ade=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x729ade),'onTransformRemoteChangesetByIMECache':_0x2199b3=>this['_docTransformIMECacheService'][_0x458add(0x1b8)](_0x2199b3),'onTransformRemoteChangesetByStateCache':_0x5df3f6=>this[_0x458add(0x2fa)][_0x458add(0x1b8)](_0x5df3f6)};_0x3f871c[_0x458add(0x314)](_0x261b85);}}));}};ce=fn([U(0x0,_0x2b92ef(_0x4804c2)),U(0x1,_0x2b92ef(_0x1d72b6)),U(0x2,_0x2b92ef(re)),U(0x3,_0x2b92ef(oe)),U(0x4,_0x2b92ef(ae)),U(0x5,_0x2b92ef(je)),U(0x6,_0x2b17bd),U(0x7,_0x2b92ef(_0x4027aa))],ce);var Sn=Object[_0x121303(0x26c)],mn=(_0x1bd1c1,_0x46df00,_0x5b2822,_0x59c252)=>{const _0x50d9af=_0x121303;for(var _0x3d77dc=_0x59c252>0x1?void 0x0:_0x59c252?Sn(_0x46df00,_0x5b2822):_0x46df00,_0x454826=_0x1bd1c1[_0x50d9af(0x319)]-0x1,_0x55b099;_0x454826>=0x0;_0x454826--)(_0x55b099=_0x1bd1c1[_0x454826])&&(_0x3d77dc=_0x55b099(_0x3d77dc)||_0x3d77dc);return _0x3d77dc;},be=(_0x3607d4,_0x33326b)=>(_0xd71b89,_0x4a24a1)=>_0x33326b(_0xd71b89,_0x4a24a1,_0x3607d4);let Ae=class extends _0x396ab6{constructor(_0x3bf342,_0x320ac4,_0x2b6ed6){const _0x2f4ba0=_0x121303;super(),_(this,_0x2f4ba0(0x2e7),new Map()),_(this,_0x2f4ba0(0x2d2),new Map()),_(this,_0x2f4ba0(0x33a),!0x1),(this[_0x2f4ba0(0x1cb)]=_0x3bf342,this['_localStorageService']=_0x320ac4,this[_0x2f4ba0(0x2d4)]=_0x2b6ed6);}[_0x121303(0x2b0)](){this['_disabled']=!0x0;}[_0x121303(0x211)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x2ab4f7=_0x121303;return this[_0x2ab4f7(0x2d2)];}[_0x121303(0x1cd)](){const _0xdc6a72=_0x121303;this['exhaustSavingTask']()['then'](()=>super[_0xdc6a72(0x1cd)]());}async[_0x121303(0x1da)](_0x3a21fd){const _0x9658eb=_0x121303;return this[_0x9658eb(0x33a)]?null:this[_0x9658eb(0x1f1)][_0x9658eb(0x1e6)](_0x571aaf(_0x3a21fd));}async['saveOfflineData'](_0x349c50,_0x17cd66){const _0x2bdf3f=_0x121303;return!!this[_0x2bdf3f(0x1f1)][_0x2bdf3f(0x1ab)](_0x349c50,_0x17cd66);}['updateOfflineData'](_0x55175e,_0x866c82,_0x43f9ba,_0x554a98){const _0x2e933b=_0x121303,_0x33a2e9=this[_0x2e933b(0x2d4)][_0x2e933b(0x1f7)](_0x55175e);this[_0x2e933b(0x2e7)][_0x2e933b(0x351)](_0x55175e,{'unitID':_0x55175e,'type':_0x866c82,'awaitingChangeset':_0x43f9ba,'mutations':_0x554a98,'rev':_0x33a2e9}),this[_0x2e933b(0x2d2)][_0x2e933b(0x2cf)](_0x55175e)||this[_0x2e933b(0x353)](_0x55175e);}[_0x121303(0x353)](_0x6855d8){const _0x403039=_0x121303,_0x14158c=this['_getSaveTimeout']();_0x14158c===0x0?this[_0x403039(0x355)](_0x6855d8):this[_0x403039(0x2d2)]['set'](_0x6855d8,setTimeout(()=>this[_0x403039(0x355)](_0x6855d8),_0x14158c));}[_0x121303(0x198)](){const _0x81e282=_0x121303;var _0x325ed5;return(_0x325ed5=this['_configService'][_0x81e282(0x197)](_0x35fe14))!=null?_0x325ed5:_0x2a6dbe;}[_0x121303(0x355)](_0x319998){const _0x1abe82=_0x121303,_0x510bf3=this[_0x1abe82(0x2d2)][_0x1abe82(0x31a)](_0x319998);return _0x510bf3!==void 0x0&&window['clearTimeout'](_0x510bf3),this[_0x1abe82(0x1f1)][_0x1abe82(0x1ab)](_0x571aaf(_0x319998),this['_cachedData']['get'](_0x319998))[_0x1abe82(0x38d)](()=>this[_0x1abe82(0x2d2)][_0x1abe82(0x388)](_0x319998));}async['exhaustSavingTask'](){const _0x2c317c=_0x121303,_0xf8238=[];this[_0x2c317c(0x2d2)][_0x2c317c(0x233)]((_0x3c2614,_0x422555)=>{const _0x1b6db5=_0x2c317c;window[_0x1b6db5(0x1cf)](_0x3c2614),_0xf8238['push'](this[_0x1b6db5(0x355)](_0x422555)[_0x1b6db5(0x38d)](()=>{const _0x3f2286=_0x1b6db5;this[_0x3f2286(0x2d2)][_0x3f2286(0x388)](_0x422555);}));}),await Promise[_0x2c317c(0x228)](_0xf8238);}};Ae=mn([be(0x0,_0x696b32),be(0x1,_0x131795),be(0x2,_0x2b92ef(_0x21d5a7))],Ae);class gn extends _0x1735b1{constructor(){const _0x45098d=_0x121303;super(),_(this,_0x45098d(0x2fb)),this['urlChange$']=_0x52d61f(window,'popstate')['pipe'](_0x4eac23(this[_0x45098d(0x278)]),_0x37cfaa(0x1),_0x582cac(void 0x0));}[_0x121303(0x242)](_0x3a083b,_0x3bc871,_0x528e4d=!0x1){const _0x4a09ed=_0x121303,_0x31f70c=new URL(window['location']['href']);_0x31f70c['searchParams'][_0x4a09ed(0x351)](_0x3a083b,_0x3bc871),_0x528e4d?window[_0x4a09ed(0x1bd)]['replaceState']('','',_0x31f70c['toString']()):window[_0x4a09ed(0x1bd)][_0x4a09ed(0x338)]('','',_0x31f70c[_0x4a09ed(0x2d8)]());}[_0x121303(0x1ba)](_0x3f5f06,_0x586474=!0x1){const _0x55c7de=_0x121303,_0x50290f=new URL(window['location'][_0x55c7de(0x2bc)]);_0x50290f[_0x55c7de(0x20c)][_0x55c7de(0x388)](_0x3f5f06),_0x586474?window[_0x55c7de(0x1bd)][_0x55c7de(0x240)]('','',_0x50290f[_0x55c7de(0x2d8)]()):window[_0x55c7de(0x1bd)][_0x55c7de(0x338)]('','',_0x50290f[_0x55c7de(0x2d8)]());}[_0x121303(0x2ed)](_0xd99f12){const _0xbfe40a=_0x121303;var _0x15ac78;return(_0x15ac78=new URL(window[_0xbfe40a(0x2cc)][_0xbfe40a(0x2bc)])['searchParams'][_0xbfe40a(0x31a)](_0xd99f12))!=null?_0x15ac78:void 0x0;}}var vn=Object[_0x121303(0x2fe)],In=Object[_0x121303(0x26c)],pn=(_0x38dc84,_0x7165b4,_0x58cea3)=>_0x7165b4 in _0x38dc84?vn(_0x38dc84,_0x7165b4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x58cea3}):_0x38dc84[_0x7165b4]=_0x58cea3,Cn=(_0x589a64,_0x40ece8,_0x55e075,_0x4e4be2)=>{const _0x45d513=_0x121303;for(var _0x415b51=_0x4e4be2>0x1?void 0x0:_0x4e4be2?In(_0x40ece8,_0x55e075):_0x40ece8,_0x49fc8c=_0x589a64[_0x45d513(0x319)]-0x1,_0x3ea31e;_0x49fc8c>=0x0;_0x49fc8c--)(_0x3ea31e=_0x589a64[_0x49fc8c])&&(_0x415b51=_0x3ea31e(_0x415b51)||_0x415b51);return _0x415b51;},Oe=(_0x201def,_0x28ea12)=>(_0xc3b316,_0x265ad3)=>_0x28ea12(_0xc3b316,_0x265ad3,_0x201def),En=(_0x2a29b6,_0x407b16,_0x4b533b)=>pn(_0x2a29b6,_0x407b16+'',_0x4b533b);const bn=_0x121303(0x2b2);let ye=class extends _0x15a53a{constructor(_0x4650b0=st,_0x478985,_0x45bfc7,_0x5451db){const _0x5aeac4=_0x121303;super(),this[_0x5aeac4(0x35c)]=_0x4650b0,this['_renderManagerService']=_0x478985,this['_injector']=_0x45bfc7,this[_0x5aeac4(0x1cb)]=_0x5451db;const {..._0x49a521}=_0xdec4({},st,this['_config']);this['_configService']['setConfig'](nn,_0x49a521);}[_0x121303(0x1b2)](){const _0x385738=_0x121303;this[_0x385738(0x19d)](),this[_0x385738(0x249)]();}[_0x121303(0x256)](){const _0x894c5c=_0x121303;this[_0x894c5c(0x1ef)]();}[_0x121303(0x19d)](){const _0x1d2bd6=_0x121303;var _0x1c9b0a;const _0x5e0336=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x25b89e,{'useClass':_0x73170e}],[_0x4be2e4,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x1b6546(this[_0x1d2bd6(0x2f0)],_0x13dce4(_0x5e0336,(_0x1c9b0a=this['_config'])==null?void 0x0:_0x1c9b0a[_0x1d2bd6(0x25b)]));}['_registerRenderDependencies'](){const _0x12030d=_0x121303;this['disposeWithMe'](this['_renderManagerService'][_0x12030d(0x1a1)](_0x73d13e[_0x12030d(0x28f)],[we])),this['disposeWithMe'](this[_0x12030d(0x324)][_0x12030d(0x1a1)](_0x73d13e[_0x12030d(0x375)],[Le]));}[_0x121303(0x249)](){_0x5afcba(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x121303(0x33f),bn),ye=Cn([_0x25440c(_0x2c5659),Oe(0x1,_0x3a1e02),Oe(0x2,_0x2b92ef(_0x4d1bed)),Oe(0x3,_0x696b32)],ye);var On=Object[_0x121303(0x26c)],Tn=(_0x3a39c9,_0x1b2829,_0xff0c30,_0x2e17d8)=>{for(var _0x32bf65=_0x2e17d8>0x1?void 0x0:_0x2e17d8?On(_0x1b2829,_0xff0c30):_0x1b2829,_0x58f4b8=_0x3a39c9['length']-0x1,_0x3b5894;_0x58f4b8>=0x0;_0x58f4b8--)(_0x3b5894=_0x3a39c9[_0x58f4b8])&&(_0x32bf65=_0x3b5894(_0x32bf65)||_0x32bf65);return _0x32bf65;},z=(_0x401e8e,_0x7ee790)=>(_0x3b6c22,_0x2064b6)=>_0x7ee790(_0x3b6c22,_0x2064b6,_0x401e8e);let nt=class extends _0x167c81{constructor(_0x5e39e4,_0xc55d64,_0x4dab01,_0x418725,_0x394ca6){super(_0x5e39e4,_0xc55d64,_0x4dab01,_0x418725,_0x394ca6);}async[_0x121303(0x340)](_0x4e74c8){const _0x1ee73a=_0x121303,_0xb8a40d=await this[_0x1ee73a(0x38f)](),_0x442236=this[_0x1ee73a(0x1f2)](_0x4e74c8,_0xb8a40d);return this[_0x1ee73a(0x34c)](_0x442236);}['_createSocketURL'](_0x241fdc,_0x1a7ab4){const _0xe7020f=_0x121303,_0x493728=typeof window>'u'?new URL(_0x241fdc):new URL(_0x241fdc,window[_0xe7020f(0x2cc)][_0xe7020f(0x334)]);_0x493728[_0xe7020f(0x20c)]['set'](_0xe7020f(0x382),_0x1a7ab4);const _0x3598c5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xe7020f(0x2cc)][_0xe7020f(0x237)]);return _0x3598c5[_0xe7020f(0x31a)]('runId')&&_0x493728[_0xe7020f(0x20c)][_0xe7020f(0x351)](_0xe7020f(0x2de),_0x3598c5[_0xe7020f(0x31a)](_0xe7020f(0x2de))),_0x493728['toString']();}async[_0x121303(0x38f)](){const _0x413abf=_0x121303;var _0x3636c5,_0x55d7f6,_0x33c187;const _0x3c9124=this[_0x413abf(0x1cb)]['getConfig'](_0x1c9bba),_0x32f457=(_0x3636c5=_0x3c9124==null?void 0x0:_0x3c9124[_0x413abf(0x37c)])!=null?_0x3636c5:_0x115897;return(_0x33c187=(_0x55d7f6=(await this['_httpService']['get'](_0x32f457,{'headers':{'Content-Type':'application/json'}}))[_0x413abf(0x366)])==null?void 0x0:_0x55d7f6['ticket'])!=null?_0x33c187:'';}};nt=Tn([z(0x0,_0x2b92ef(_0x4d1bed)),z(0x1,_0x2b92ef(_0x323ce7)),z(0x2,_0x696b32),z(0x3,_0x3b604d),z(0x4,_0x5bc725)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0x396ab6{constructor(){const _0x1a3b35=_0x121303;super(),_(this,'_id',_0x4a489e()),_(this,_0x1a3b35(0x2c5),new Set()),_(this,_0x1a3b35(0x1c5),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x1a3b35(0x215),new Map()),_(this,_0x1a3b35(0x341),new Map()),this[_0x1a3b35(0x2a1)]();}[_0x121303(0x1cd)](){const _0x53117d=_0x121303;super['dispose'](),this[_0x53117d(0x215)][_0x53117d(0x233)]((_0x268d86,_0x3c6dbf)=>this[_0x53117d(0x207)](_0x3c6dbf)),this[_0x53117d(0x36b)]&&window['clearInterval'](this[_0x53117d(0x36b)]);}[_0x121303(0x1c1)](_0x45b7e3){const _0x1b99cf=_0x121303;return this[_0x1b99cf(0x292)](_0x45b7e3)[_0x1b99cf(0x33d)](_0x327251());}[_0x121303(0x35e)](_0xd16ecf){const _0x4178ed=_0x121303;this[_0x4178ed(0x2c5)][_0x4178ed(0x1c7)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4178ed(0x2c5)]['add'](_0xd16ecf),this['_send']({'type':0x0,'memberID':this[_0x4178ed(0x2db)],'unitIDs':[_0xd16ecf],'isForwarded':!0x1});}['disposeUnit'](_0x12e740){const _0x4c6312=_0x121303;this[_0x4c6312(0x2c5)][_0x4c6312(0x388)](_0x12e740),this[_0x4c6312(0x2c5)][_0x4c6312(0x1c7)]===0x0&&this[_0x4c6312(0x36b)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x121303(0x2a1)](){const _0x391a46=_0x121303;this[_0x391a46(0x23e)](_0x4399a5(_0x52d61f(window,_0x391a46(0x1a0))[_0x391a46(0x312)](_0xe83fe7=>{const _0x4d17c8=_0x391a46;if(_0xe83fe7[_0x4d17c8(0x1d0)]!==ot||!_0xe83fe7[_0x4d17c8(0x23f)])return;const _0x837424=JSON['parse'](_0xe83fe7['newValue']);this[_0x4d17c8(0x24f)](_0x837424);}))),window[_0x391a46(0x304)](_0x391a46(0x1f3),()=>this[_0x391a46(0x24d)]({'type':0x1,'memberID':this[_0x391a46(0x2db)],'unitIDs':Array[_0x391a46(0x301)](this[_0x391a46(0x2c5)])}));}[_0x121303(0x24f)](_0x38a856){const _0x1959e0=_0x121303;switch(_0x38a856[_0x1959e0(0x289)]){case 0x0:this['_handleJoinEvent'](_0x38a856);break;case 0x1:this[_0x1959e0(0x37a)](_0x38a856);break;case 0x2:this[_0x1959e0(0x246)](_0x38a856);break;}}[_0x121303(0x36d)](_0x1f2c80){const _0x5bb720=_0x121303,{unitIDs:_0x3bae5c,memberID:_0x22a491,isForwarded:_0x1573a1}=_0x1f2c80;_0x3bae5c[_0x5bb720(0x233)](_0x84c138=>{const _0x35054a=_0x5bb720;if(!_0x1573a1&&this[_0x35054a(0x1c5)][_0x35054a(0x2cf)](_0x84c138)&&this[_0x35054a(0x292)](_0x84c138)[_0x35054a(0x1b0)](_0x257d51['OTHER_CLIENTS_EDITING']),!this[_0x35054a(0x1c5)][_0x35054a(0x2cf)](_0x84c138)||!this['_unitOnClients'][_0x35054a(0x31a)](_0x84c138)['has'](_0x22a491)){const _0x57b876=this[_0x35054a(0x1c5)][_0x35054a(0x31a)](_0x84c138)||new Set();_0x57b876[_0x35054a(0x2f2)](_0x22a491),this[_0x35054a(0x1c5)][_0x35054a(0x351)](_0x84c138,_0x57b876),this[_0x35054a(0x32a)](_0x22a491);}}),_0x1573a1||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5bb720(0x2c5)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2ae1f3){const _0x1e73fc=_0x121303;this[_0x1e73fc(0x207)](_0x2ae1f3);const _0x5deb6a=window[_0x1e73fc(0x254)](()=>{const _0x4c6e44=_0x1e73fc;this['_unitOnClients'][_0x4c6e44(0x233)](_0x390c0a=>{_0x390c0a['delete'](_0x2ae1f3);});},rt*0x2);this['_clearOtherTimers'][_0x1e73fc(0x351)](_0x2ae1f3,_0x5deb6a);}[_0x121303(0x207)](_0xed6a86){const _0x3aeb28=_0x121303;if(this['_clearOtherTimers'][_0x3aeb28(0x2cf)](_0xed6a86)){const _0x4927cf=this[_0x3aeb28(0x215)]['get'](_0xed6a86);_0x4927cf&&window[_0x3aeb28(0x1cf)](_0x4927cf),this[_0x3aeb28(0x215)]['set'](_0xed6a86,null);}}[_0x121303(0x37a)](_0xb1451f){const _0x3f59e8=_0x121303,{memberID:_0x8cda5c,unitIDs:_0x132a96}=_0xb1451f;_0x132a96[_0x3f59e8(0x233)](_0x546e00=>{const _0x317737=_0x3f59e8;var _0x1bf79c;const _0x2a0fc4=this[_0x317737(0x1c5)][_0x317737(0x31a)](_0x546e00);_0x2a0fc4&&(_0x2a0fc4[_0x317737(0x388)](_0x8cda5c),(_0x1bf79c=this['_ensureSubject'](_0x546e00))==null||_0x1bf79c[_0x317737(0x1b0)](_0x2a0fc4['size']===0x0?_0x257d51[_0x317737(0x225)]:_0x257d51[_0x317737(0x336)]));}),this[_0x3f59e8(0x207)](_0x8cda5c);}['_handleHeartbeatEvent'](_0x453c3f){const _0x4e0dc8=_0x121303;this[_0x4e0dc8(0x32a)](_0x453c3f[_0x4e0dc8(0x1d9)]);}['_send'](_0x2e4e54){const _0x8a8036=_0x121303;localStorage['setItem'](ot,JSON[_0x8a8036(0x20a)](_0x2e4e54));}[_0x121303(0x32e)](){const _0x48801b=_0x121303;this['_heartbeatTimer']=window[_0x48801b(0x255)](()=>{const _0x4fa134=_0x48801b;this[_0x4fa134(0x24d)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x121303(0x292)](_0x4c22e2){const _0x309d4e=_0x121303;return this['_unitStatus'][_0x309d4e(0x2cf)](_0x4c22e2)||this[_0x309d4e(0x341)][_0x309d4e(0x351)](_0x4c22e2,new _0x47fe7a(_0x257d51[_0x309d4e(0x225)])),this['_unitStatus'][_0x309d4e(0x31a)](_0x4c22e2);}}var wt=(_0x218e9b=>(_0x218e9b[_0x218e9b[_0x121303(0x19f)]=0x0]=_0x121303(0x19f),_0x218e9b[_0x218e9b['OK']=0x1]='OK',_0x218e9b[_0x218e9b[_0x121303(0x380)]=0x2]='INTERNAL_ERROR',_0x218e9b[_0x218e9b[_0x121303(0x363)]=0x3]=_0x121303(0x363),_0x218e9b[_0x218e9b[_0x121303(0x231)]=0x4]=_0x121303(0x231),_0x218e9b[_0x218e9b[_0x121303(0x25f)]=0x5]=_0x121303(0x25f),_0x218e9b[_0x218e9b['ALREADY_EXISTS']=0x6]=_0x121303(0x37f),_0x218e9b[_0x218e9b[_0x121303(0x288)]=0x7]=_0x121303(0x288),_0x218e9b[_0x218e9b['TOO_MANY_REQUESTS']=0x8]=_0x121303(0x1de),_0x218e9b[_0x218e9b['COMPLETION_FINISHED']=0x9]=_0x121303(0x1b9),_0x218e9b[_0x218e9b['LOGIN_FAILED']=0xa]=_0x121303(0x213),_0x218e9b[_0x218e9b[_0x121303(0x37e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x218e9b[_0x218e9b[_0x121303(0x272)]=0x1771]=_0x121303(0x272),_0x218e9b[_0x218e9b['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x218e9b[_0x218e9b[_0x121303(0x1f5)]=0x1773]=_0x121303(0x1f5),_0x218e9b[_0x218e9b[_0x121303(0x33c)]=0x1b59]=_0x121303(0x33c),_0x218e9b[_0x218e9b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x121303(0x29d),_0x218e9b[_0x218e9b[_0x121303(0x30e)]=0x1b5b]=_0x121303(0x30e),_0x218e9b[_0x218e9b[_0x121303(0x35b)]=0x1b5c]=_0x121303(0x35b),_0x218e9b[_0x218e9b[_0x121303(0x25c)]=0x1b5d]=_0x121303(0x25c),_0x218e9b[_0x218e9b[_0x121303(0x2d5)]=0x1f41]=_0x121303(0x2d5),_0x218e9b[_0x218e9b['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x218e9b[_0x218e9b[_0x121303(0x1fb)]=0x232a]=_0x121303(0x1fb),_0x218e9b[_0x218e9b['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x121303(0x192),_0x218e9b[_0x218e9b[_0x121303(0x287)]=0x232c]=_0x121303(0x287),_0x218e9b[_0x218e9b[_0x121303(0x370)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x218e9b[_0x218e9b[_0x121303(0x1c0)]=0x2711]=_0x121303(0x1c0),_0x218e9b[_0x218e9b[_0x121303(0x222)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x218e9b[_0x218e9b['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x121303(0x2d7),_0x218e9b[_0x218e9b['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x121303(0x2b4),_0x218e9b[_0x218e9b['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x121303(0x22b),_0x218e9b[_0x218e9b[_0x121303(0x1d5)]=0x271b]=_0x121303(0x1d5),_0x218e9b[_0x218e9b[_0x121303(0x2b6)]=0x2af9]=_0x121303(0x2b6),_0x218e9b[_0x218e9b[_0x121303(0x30d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x218e9b[_0x218e9b[_0x121303(0x34f)]=0x2ee2]=_0x121303(0x34f),_0x218e9b[_0x218e9b[_0x121303(0x18b)]=0x2ee3]=_0x121303(0x18b),_0x218e9b[_0x218e9b[_0x121303(0x1a4)]=0x2ee4]=_0x121303(0x1a4),_0x218e9b[_0x218e9b[_0x121303(0x291)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x218e9b[_0x218e9b[_0x121303(0x1b1)]=0x32c9]=_0x121303(0x1b1),_0x218e9b[_0x218e9b[_0x121303(0x1db)]=0x32ca]=_0x121303(0x1db),_0x218e9b[_0x218e9b[_0x121303(0x239)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x218e9b[_0x218e9b[_0x121303(0x1ea)]=-0x1]=_0x121303(0x1ea),_0x218e9b))(wt||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x3ad50e,_0x6d7a3d,_0x2183b3,_0x3a2614)=>{for(var _0x3ed019=_0x3a2614>0x1?void 0x0:_0x3a2614?Rn(_0x6d7a3d,_0x2183b3):_0x6d7a3d,_0x243ca3=_0x3ad50e['length']-0x1,_0x33cdb2;_0x243ca3>=0x0;_0x243ca3--)(_0x33cdb2=_0x3ad50e[_0x243ca3])&&(_0x3ed019=_0x33cdb2(_0x3ed019)||_0x3ed019);return _0x3ed019;},Te=(_0x2a81f5,_0x160082)=>(_0x5e1d86,_0x4c64a5)=>_0x160082(_0x5e1d86,_0x4c64a5,_0x2a81f5);let at=class extends _0x396ab6{constructor(_0x2769bb,_0x1b426c,_0x2916bb){const _0x184894=_0x121303;super(),this[_0x184894(0x2e0)]=_0x2769bb,this[_0x184894(0x2d9)]=_0x1b426c,this[_0x184894(0x1cb)]=_0x2916bb;}async[_0x121303(0x195)](_0x7a529c,_0x5f3cd9,_0x268c8b,..._0x576696){const _0x6ef6c7=_0x121303;var _0x34345c,_0x2ae9db,_0x39fa7f,_0x12d402;const _0x2cfc0f=this[_0x6ef6c7(0x2e0)][_0x6ef6c7(0x386)]();if(!_0x2cfc0f)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3b7887=((_0x34345c=this[_0x6ef6c7(0x1cb)][_0x6ef6c7(0x197)](_0x230a55))!=null?_0x34345c:_0xa5cbf8)+'/'+_0x7a529c+_0x6ef6c7(0x2cb)+_0x5f3cd9,_0x5bc222=new URL(window[_0x6ef6c7(0x2cc)]['href']),_0x3bcfef={'scriptId':_0x7a529c,'runId':(_0x2ae9db=_0x5bc222[_0x6ef6c7(0x20c)]['get'](_0x6ef6c7(0x2de)))!=null?_0x2ae9db:'','function':_0x5f3cd9,'unitId':_0x2cfc0f[_0x6ef6c7(0x34d)](),'argsOfFunction':JSON[_0x6ef6c7(0x20a)](_0x576696),'invokeId':(_0x39fa7f=_0x268c8b[_0x6ef6c7(0x30b)])!=null?_0x39fa7f:'','executionId':(_0x12d402=_0x268c8b[_0x6ef6c7(0x188)])!=null?_0x12d402:''};try{const _0x519a21=await this[_0x6ef6c7(0x2d9)]['post'](_0x3b7887,{'body':_0x3bcfef});return _0x519a21[_0x6ef6c7(0x366)][_0x6ef6c7(0x2bd)]&&_0x519a21[_0x6ef6c7(0x366)][_0x6ef6c7(0x2bd)][_0x6ef6c7(0x2f5)]!==wt['OK']?'Failed':_0x519a21[_0x6ef6c7(0x366)]['result'];}catch{return _0x6ef6c7(0x37b);}}};at=Dn([Te(0x0,_0x3f52db),Te(0x1,_0x2b92ef(_0x323ce7)),Te(0x2,_0x696b32)],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};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x3e3b(){const _0x1a9e08=['263sBNJBD','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','1986RCKYoK','3NcvzkB','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','20135SXLbSa','Connection\x20failed,\x20please\x20check\x20your\x20network.','Edit\x20conflicts','Local\x20file','Syncing\x20server\x20data...','11374002YrVxgV','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','460WIsMav','6346oNKulb','8OHkMcj','1773317pYgzRr','4476956AHDnVz','249326AGDBRK','Authentication\x20Error','912FfFpTE','493168CNuNvx','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Synced','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing...'];_0x3e3b=function(){return _0x1a9e08;};return _0x3e3b();}const _0x3290fa=_0x28f6;function _0x28f6(_0x1b6551,_0x594754){const _0x3e3bcc=_0x3e3b();return _0x28f6=function(_0x28f683,_0x345a64){_0x28f683=_0x28f683-0x11e;let _0x7b04c7=_0x3e3bcc[_0x28f683];return _0x7b04c7;},_0x28f6(_0x1b6551,_0x594754);}(function(_0x4512a7,_0x3d40ef){const _0x28444f=_0x28f6,_0x537cd5=_0x4512a7();while(!![]){try{const _0x127703=-parseInt(_0x28444f(0x137))/0x1*(parseInt(_0x28444f(0x12a))/0x2)+parseInt(_0x28444f(0x120))/0x3*(parseInt(_0x28444f(0x12d))/0x4)+parseInt(_0x28444f(0x122))/0x5*(parseInt(_0x28444f(0x11f))/0x6)+-parseInt(_0x28444f(0x12c))/0x7+parseInt(_0x28444f(0x12b))/0x8*(parseInt(_0x28444f(0x127))/0x9)+parseInt(_0x28444f(0x129))/0xa*(parseInt(_0x28444f(0x12e))/0xb)+-parseInt(_0x28444f(0x130))/0xc*(parseInt(_0x28444f(0x131))/0xd);if(_0x127703===_0x3d40ef)break;else _0x537cd5['push'](_0x537cd5['shift']());}catch(_0x26c27a){_0x537cd5['push'](_0x537cd5['shift']());}}}(_0x3e3b,0xc04a8));const e={'collab-client':{'tooltip':{'reconnect':_0x3290fa(0x132)}},'collabStatus':{'fetchMiss':_0x3290fa(0x126),'conflict':_0x3290fa(0x124),'notCollab':_0x3290fa(0x125),'synced':_0x3290fa(0x134),'syncing':_0x3290fa(0x136),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x3290fa(0x123),'will-retry':_0x3290fa(0x135),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x3290fa(0x121)},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x3290fa(0x12f),'content':_0x3290fa(0x128)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x3290fa(0x11e)},'auth':{'needGotoLoginAlert':_0x3290fa(0x133)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function _0x1f78(_0x7cea81,_0x245c26){const _0x3c4ab6=_0x3c4a();return _0x1f78=function(_0x1f7807,_0x4840c6){_0x1f7807=_0x1f7807-0x78;let _0x1814c8=_0x3c4ab6[_0x1f7807];return _0x1814c8;},_0x1f78(_0x7cea81,_0x245c26);}const _0x2261ff=_0x1f78;(function(_0x403c35,_0x51fa7a){const _0x17ba31=_0x1f78,_0x3b6558=_0x403c35();while(!![]){try{const _0x25ef2c=parseInt(_0x17ba31(0x7c))/0x1+-parseInt(_0x17ba31(0x89))/0x2+-parseInt(_0x17ba31(0x7d))/0x3*(-parseInt(_0x17ba31(0x87))/0x4)+parseInt(_0x17ba31(0x7f))/0x5*(parseInt(_0x17ba31(0x7a))/0x6)+parseInt(_0x17ba31(0x83))/0x7+-parseInt(_0x17ba31(0x8a))/0x8*(parseInt(_0x17ba31(0x86))/0x9)+-parseInt(_0x17ba31(0x7e))/0xa*(parseInt(_0x17ba31(0x84))/0xb);if(_0x25ef2c===_0x51fa7a)break;else _0x3b6558['push'](_0x3b6558['shift']());}catch(_0x2aee01){_0x3b6558['push'](_0x3b6558['shift']());}}}(_0x3c4a,0xb396a));function _0x3c4a(){const _0x601afd=['سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','تداخل\x20همکاری','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','6rsRDwG','همگام\x20سازی','1179173YCCyER','344220dBKwhp','11353900zywTbH','4598015nFQepV','در\x20حال\x20همگام\x20سازی...','پرونده\x20محلی','خطای\x20اعتبارسنجی','58436nwXRel','11mpTVQH','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','558LyzNnB','20KvfERH','تداخل\x20ویرایش','875804NtQKWQ','47992taokVA'];_0x3c4a=function(){return _0x601afd;};return _0x3c4a();}const o={'collab-client':{'tooltip':{'reconnect':_0x2261ff(0x78)}},'collabStatus':{'fetchMiss':_0x2261ff(0x79),'conflict':_0x2261ff(0x88),'notCollab':_0x2261ff(0x81),'synced':_0x2261ff(0x7b),'syncing':_0x2261ff(0x80),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x2261ff(0x85),'room-full':_0x2261ff(0x8c),'collaboration-timeout':_0x2261ff(0x8b)},'conflict':{'title':_0x2261ff(0x8d),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x2261ff(0x82),'content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x2261ff(0x8e)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
|