@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505041606 → 0.7.0-nightly.202505061607
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 +17 -17
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x1ea2c4=_0x3e8b;(function(_0x12f869,_0x115a37){const _0x4205b5=_0x3e8b,_0x4f03d2=_0x12f869();while(!![]){try{const _0x4062e5=-parseInt(_0x4205b5(0x17e))/0x1*(parseInt(_0x4205b5(0xdd))/0x2)+parseInt(_0x4205b5(0x295))/0x3+parseInt(_0x4205b5(0x285))/0x4+-parseInt(_0x4205b5(0x2c1))/0x5+-parseInt(_0x4205b5(0xe1))/0x6+-parseInt(_0x4205b5(0xef))/0x7+-parseInt(_0x4205b5(0x154))/0x8*(-parseInt(_0x4205b5(0x1e2))/0x9);if(_0x4062e5===_0x115a37)break;else _0x4f03d2['push'](_0x4f03d2['shift']());}catch(_0x1c8e03){_0x4f03d2['push'](_0x4f03d2['shift']());}}}(_0x242c,0x59768));var $t=Object[_0x1ea2c4(0x28b)],xt=(_0x162f29,_0x186549,_0x14f479)=>_0x186549 in _0x162f29?$t(_0x162f29,_0x186549,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x14f479}):_0x162f29[_0x186549]=_0x14f479,_=(_0x167b84,_0x453454,_0x3d9111)=>xt(_0x167b84,typeof _0x453454!='symbol'?_0x453454+'':_0x453454,_0x3d9111);import{MemberService as _0xca28cd,SessionStatus as _0x23ee66,CollaborationSessionService as _0x2352e1,CollaborationStatus as _0x2b26de,CollaborationController as _0x23b738,ILocalCacheService as _0x499d1f,CollaborationUIEventService as _0x34d3bc,CollaborationUIEventId as _0x3ded85,DataLoaderService as _0x5c1275,DocCollaborationEntity as _0x4dd7d2,getLocalCacheKey as _0xba75f3,LOCAL_CACHE_INTERVAL as _0x47642c,LOCAL_CACHE_INTERVAL_KEY as _0xb57ae2,UniverCollaborationClientPlugin as _0x3a6109,CollaborationSocketService as _0x1910af,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x478b16,DEFAULT_WS_SESSION_TICKET_URL as _0x2286bd,UnitStatus as _0x59f7ec,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x28ed06,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5cdf72}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x15e0fe,Disposable as _0x5e7e9c,DOC_RANGE_TYPE as _0x303fd1,Inject as _0x2c28ac,Injector as _0x2ed78b,IUniverInstanceService as _0x610794,ICommandService as _0x2d7c40,debounce as _0x3c4131,Rectangle as _0x3326d3,DisposableCollection as _0x22b265,toDisposable as _0x2d320c,UniverInstanceType as _0x1bd797,Tools as _0xd617dc,COLORS as _0x1ca1fd,ColorKit as _0x1fa4b2,ThemeService as _0x20c7fb,fromEventSubject as _0x350e85,LocaleService as _0x4a6cd3,createIdentifier as _0x4f6e10,ILogService as _0x463af4,Optional as _0x4825e0,Workbook as _0x58fbb2,CommandType as _0x1e0f44,IConfigService as _0x27f9c2,ILocalStorageService as _0x69e3ca,DependentOn as _0x65fe66,Plugin as _0x47280b,merge as _0x488cf5,registerDependencies as _0x4703ee,mergeOverrideWithDependencies as _0x1ed3b1,touchDependencies as _0x530746,generateRandomId as _0x3fb607}from'@univerjs/core';import{Shape as _0x4e7874,Rect as _0x5a781a,getColor as _0xd1944e,RegularPolygon as _0x29e9da,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x2a0c74,Vector2 as _0x55ebca,SHEET_VIEWPORT_KEY as _0x670b59,IRenderManagerService as _0x29a565}from'@univerjs/engine-render';import{ISocketService as _0x555e4a,WebSocketService as _0x44eec7,HTTPService as _0x418212}from'@univerjs/network';import{IDocClipboardService as _0x534134,NodePositionConvertToCursor as _0x205c2f,NodePositionConvertToRectRange as _0x379e91,TEXT_RANGE_LAYER_INDEX as _0x8fb040,SetDocZoomRatioOperation as _0x41fc4b,DocIMEInputManagerService as _0x46af31,DocStateChangeManagerService as _0x4b06af}from'@univerjs/docs-ui';import{IImageIoService as _0x22392c}from'@univerjs/drawing';import{BehaviorSubject as _0x10a4a9,debounceTime as _0x37f242,takeUntil as _0x4c6dcf,Subject as _0xd2bab0,filter as _0x5a9f25,switchMap as _0x3c2b2f,merge as _0x16bc38,combineLatest as _0x132635,of as _0x1da7a7,fromEvent as _0xe1bcd6,shareReplay as _0xd67cdb,mapTo as _0x3e61d7,distinctUntilChanged as _0x520fb6}from'rxjs';import{SetTextSelectionsOperation as _0x379421,RichTextEditingMutation as _0x330494,DocSelectionManagerService as _0x439c02,DocSkeletonManagerService as _0x43cc1e}from'@univerjs/docs';import{ITransformService as _0x1064e2,CollaborationEvent as _0x45f904,isTransformMutationFailure as _0x1280c2,isTransformMutationsWithChangesetSuccess as _0xb0953b,RevisionService as _0x101987,ISnapshotServerService as _0x470f49}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x3e4016,serializeRangeWithSheet as _0x25ddc9}from'@univerjs/engine-formula';import{RefRangeService as _0x38f2c6,SetSelectionsOperation as _0x3ac398,SheetsSelectionsService as _0x459614,EffectRefRangId as _0x3d73ea,handleIRemoveRow as _0x5b40d0,handleIRemoveCol as _0x36e958,handleMoveRange as _0x16d9c5,handleInsertRow as _0x4c4126,handleInsertRangeMoveRight as _0x182f49,handleInsertRangeMoveDown as _0x1f8b91,handleInsertCol as _0x373ba9,handleDeleteRangeMoveUp as _0x47b53a,handleDeleteRangeMoveLeft as _0x2f9898,runRefRangeMutations as _0x44f27e,SetWorksheetActivateCommand as _0xeabcb2}from'@univerjs/sheets';import{map as _0x1715d5,filter as _0x4a40cb,throttleTime as _0x510e1e,takeUntil as _0x4f88ed,switchMap as _0x17c9a5}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2878d8,getCoordByCell as _0x2ac45a,getSheetObject as _0x14f9c0}from'@univerjs/sheets-ui';import{jsx as _0x46fa34,jsxs as _0xad7a6a}from'react/jsx-runtime';import{useObservable as _0x1cc5fe,useDependency as _0x1ac2e6,IUIPartsService as _0x3f3b82,BuiltInUIPart as _0x3fb8e2,connectInjector as _0x40a413,IBeforeCloseService as _0x2f9cbb,IMessageService as _0xa0ddb0,INotificationService as _0x34bb3c}from'@univerjs/ui';import{Tooltip as _0x5957bd,clsx as _0x507046,MessageType as _0x4265c6}from'@univerjs/design';import{forwardRef as _0x507e46,useRef as _0x36b027,createElement as _0x9ecbb4,useCallback as _0x39c0bd}from'react';function _0x242c(){const _0x1fcef1=['univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','className','flatMap','_entities','sessionStatus$','VIEW_MAIN','_imageIoService','_startDocCollabCursor','getCollabEntity$','EMAIL_HAS_BEEN_BOUND','mask','concat','PY_RUNTIME_SCRIPT_ERROR','getConfig','lineTo','mutations','onTransformChange$','source','_httpService','_collaborationController','registerRefRange','YUUMI_SUBSCRIPTION_NOT_FOUND','startColumn','_assignedColors','updateOfflineData','collab-client.tooltip.reconnect','_registerDependencies','ALREADY_EXISTS','UNAUTHENTICATED','UNDEFINED','dispose$','LOGIN_FAILED','_labelPosition','NO_OTHER_CLIENTS_EDITING','unshift','roomMembers','_handleLeaveEvent','2898484preMki','getRangePointData','textRanges','collabStatus.conflict','USER_NOT_INVITED_CODE','_init','defineProperty','off-line-single','_getSheetObject','save','entries','_drawRectRange','on-line-single','push','_handleJoinEvent','urlChange$','1856460RdMJsc','UNIVER_SHEET','location','_hover','setUndoRedoMutationParamsCache','getOwnPropertyDescriptor','disableLocalCache','getCollabCursors$','getCurrentRevOfUnit','_toggleOnline','JOIN_ROOM_FAILED','univer-text-green-500','xlink:href','transformMutation','parse','function','show','LICENSE_DISTRO_REJECTED','memberID','_toggleOffline','restore','_updateSubUnitFromURLParams','_injector','getOwnPropertySymbols','dispose','colorChannel1','setShapeProps','delete','range','resize','getUnitId','addObjects','_config','_drawTextRange','ticket','LICENSE_IMPORT_SIZE_EXCEEDED','hasOwnProperty','createInstance','getVpScrollXYInfoByPosToVp','getMember','collab-rect-range-','svg','getItem','from','1390850yxHNFh','_cachedData','on-line-single_clip0_910_349','_cursor','replace','ranges','_colorAssignService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','some','FromArray','Error','tag','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','clipPath','unsubscribe','OTHER_CLIENTS_EDITING','getMemberID','MUTATION','_onCursorUpdate','_collabCursorState$','CONNECTOR_DATA_TOO_LARGE','getSheetId','AWAITING','stringify','string','add','_themeService','assign','_cursorInfo$','findNodePositionByCharIndex','ACTIVE_UNIT_EVENT_CHANNEL','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collaboration-client-ui.config','OTHER_CLIENT_EDITING','2jQDzEW','_handleHeartbeatEvent','size','[CollaborationDataLoaderController]','2575014tDsBPk','result','setAlpha','INVITE_CODE_REQUIRED','_transformUndoRedoStack','_id','_getSessionTicket','application/json','_anchorDot','InsertRowCommandId','_entityInit$','clearTimeout','requireSession','SNAPSHOT_INVALID_SNAPSHOT','1058645UmdeCM','SNAPSHOT_HAS_BEEN_REMOVED','APPLY_REJECT','url(#on-line-single_clip0_910_349)','next','_revisionService','getCurrentUnitForType','_renderManagerService','_initStatusListener','permission.content','_messageService','transformIMECache','univerjs-icon\x20univerjs-icon-','executeCommand','currentSkeleton$','univer-text-red-500','storage','width','getTypeOfUnitAdded$','m1Prime','roomMembers$','round','sessionTicket','InsertRangeMoveRightCommandId','path','forEach','_scheduleSaving','getDocRanges','getSheetBySheetId','generateRandomId','_initResize','_docSkeleton','drawWith','APPLY_REVISION_CONFILICT','_handleEvent','values','makeDirty','APPLY_NON_SEQUENTIAL_REVISION','_roomMembers$','params','getTypeOfUnitDisposed$','_initEvent','contains','_transformService','engine','bottom','type','getFocusedUnit','executionId','LICENSE_EXPORT_SIZE_EXCEEDED','cursorInfo$','_eventUnsubscribe','_localCacheService','disposeUnit','_docTransformSelectionsService','_colorIndex','whenReady','collabStatus.notCollab','replaceState','_cursors','focused$','font','attrs','SOCKET_FAILED','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','_syncEditingCollabCursorService','_scene','COMPLETION_FINISHED','_heartbeatTimer','DeleteRangeMoveLeftCommandId','history','_setupBeforeClosingHandler','_scheduleHeartbeat','column','INTERNAL_ERROR','searchParams','name','subscribe','length','extend','pipe','0\x200\x2017\x2016','...','evenodd','ENSURE_SNAPSHOT_EXECUTION','YUUMI_RATE_OVER_LIMIT','color','_shapes','idSuffix','_saveCache','_localeService','getViewport','_docSkeletonManagerService','_drawAnchor','clearInterval','0\x200\x2016\x2016','/run/','defs','_refRangeService','measureText','_hideTimer','3488UUQqWT','_univerInstanceService','onPointerMove$','prototype','getUndoRedoMutationParamsCache','_urlService','collaboration-client.offline-data-not-saved','NOT_COLLAB','YUUMI_TABLE_NOT_FOUND_IN_UNIT','syncEditingCollabCursor','_removeClearOtherTimer','_instanceService','get','transformByState','collabStatus.offline','startRow','INVITE_CODE_HAS_BEEN_UES','session.collaboration-timeout','labelPosition','with','rgba(255,\x20255,\x20255,\x200.01)','_docTransformIMECacheService','_scheduleClearOtherTimer','fillText','runOnServer','hide','OFFLINE','collaboration.closeRoom','init','post','eventID','getSkeleton','red300','substring','_docTransformStateCacheService','onRendered','_localStorageService','_unitOnClients','find','currentTheme$','RECT','imageSourceType','168131rdPtmK','_textBubble','blue400','_saveTaskMap','pluginName','collab-text-range-','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setItem','setActiveRange','row','selection','getMergeData','_dataLoaderService','isEditing','_commandService','Warning','_memberService','transform','_transformPreviousActiveRange','beginPath','_transformHistoryAndStateStack','collaboration.single-unit.warning','_removeCollabCursors','toString','AWAITING_WITH_PENDING','selections','getAncestorScale','_collaborationUIEventService','setConfig','permission.title','collabStatus.syncing','registerRenderModule','session.will-retry','set','propertyIsEnumerable','_refreshCollabCursors','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','PERMISSION_DENIED','unitId','FETCH_MISS','UniverIcon','MOBILE_HAS_BEEN_BOUND','undoState','actions','setStateCache','fillStyle','YUUMI_ASYNCIO_CANCELLED','saveImage','override','replaceDocRanges','addObject','purple300','_draw','deepClone','saveOfflineData','_updateURLWithCurrentState','_backgroundColor','YUUMI_ALL_TABLES_IS_INVALID','isActive','NOT_FOUND','_status$','map','_selfUnitIDs','Failed','_setupSubUnitSync','newValue','_render','USERS_LEAVE','_configService','UNIVER_DOC','_docSyncEditingCollabCursorService','UPDATE_CURSOR','disposeWithMe','_unitStatus','setParam','_logService','_range','height','collabCursorState$','apply','url(#off-line-single_clip0_910_343)','#fff','HEADER_MENU','_getAnchorBounding','_clearOtherTimers','has','getValue','getStateCache','hovered','transformRemoteChangeset','jiqing500','fillRule','send','_anchor','getRelativeToViewportCoord','asObservable','addClipboardHook','then','children','black','1026hFwSpX','complete','_sheetSkeletonManagerService','_docClipboardService','fill','_context','transformStateCache','triggerDblclick','defIds','_getScale','WECHAT_HAS_BEEN_BOUND','_uiPartsService','doc.mutation.rich-text-editing','1em','currentColor','cursorInfo','_document','OnLineSingle','M0\x200H16V16H0z','_ensureSubject','_startSheetCollabCursor','call','onMouseMove','_collabCursorController','popstate','#FFF','_createSocketURL','InsertColCommandId','_getMergeRange','_initCommandExecutedListener','RemoveColCommandId','onCommandExecuted','INVALID_INVITE_CODE','enableLocalCache','RemoveRowCommandId','none','getParam','univer-flex\x20univer-items-center','isArray','_beforeCloseService','getRenderById','m2Prime','APPLY_PERMISSION_DENIED','split','addHandlerCallback','collab-text-anchor-','onPointerEnter$','assignAColorForMemberID','search','off-line-single_clip0_910_343','LICENSE_MAX_UNITS_EXCEEDED','_initDependencies','debug','subscribeEvent','div','runId','error','_onRefRangeChange','text','unitID','endRow','_online','saveTaskMap','data','includes','_updateLocalCursor','_session','onLocalMutation','APPLY_DUPLICATED','getCurrentSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_initEntityListener','random','_cursorShapes','getCellPositionByOffset','_updateCollabCursors','getUnhiddenWorksheets','skeleton','setTimeout','toRgbString','_initStatusComponent','YUUMI_URL_COL_OUT_OF_RANGE','ONLINE','_name','SUBMIT_CHANGESET_TIMEOUT','subUnitId','_notificationService','key','top','session.connection-failed','indexOf','href','UNRECOGNIZED','uni.network.url-service','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','redoState','url(#$1','_color','displayName','unit','_disabled','SYNCED','YUUMI_UNABLE_LOAD_URL','icon','CONFLICT','body','origin','_docStateChangeManagerService','_collabSessionService','_registerRenderDependencies','_onCursorDelete','arc','univer-flex\x20univer-mr-2\x20univer-text-[20px]','pushState','Unknown\x20user','exhaustSavingTask','activeSheet$','max','_send','TEXT','subunit','min','code','collabStatus.synced','_hovered','event$'];_0x242c=function(){return _0x1fcef1;};return _0x242c();}import{IRemoteInstanceService as _0x1b2577}from'@univerjs/rpc';var ci=Object[_0x1ea2c4(0x29a)],li=(_0x163b12,_0xda692a,_0x4459e9,_0x3a3869)=>{const _0x13dbc5=_0x1ea2c4;for(var _0x4f2183=_0x3a3869>0x1?void 0x0:_0x3a3869?ci(_0xda692a,_0x4459e9):_0xda692a,_0x5d0f75=_0x163b12[_0x13dbc5(0x13d)]-0x1,_0x1fb4dc;_0x5d0f75>=0x0;_0x5d0f75--)(_0x1fb4dc=_0x163b12[_0x5d0f75])&&(_0x4f2183=_0x1fb4dc(_0x4f2183)||_0x4f2183);return _0x4f2183;},Je=(_0x4b9de1,_0x5d098b)=>(_0x128722,_0xc468e4)=>_0x5d098b(_0x128722,_0xc468e4,_0x4b9de1);let Ne=class extends _0x15e0fe{constructor(_0x3c6806,_0x487e88){const _0x500c0d=_0x1ea2c4;super(),this[_0x500c0d(0x1e5)]=_0x3c6806,this[_0x500c0d(0x266)]=_0x487e88,this[_0x500c0d(0x28a)]();}[_0x1ea2c4(0x28a)](){const _0x36fc95=_0x1ea2c4,_0x18d0d6=this;this[_0x36fc95(0x1c6)](this[_0x36fc95(0x1e5)][_0x36fc95(0x1de)]({'onBeforePasteImage':async _0x5034f3=>{const _0xb6ec11=_0x36fc95,_0x26de95=await _0x18d0d6[_0xb6ec11(0x266)][_0xb6ec11(0x1ad)](_0x5034f3);return _0x26de95?{'source':_0x26de95[_0xb6ec11(0x271)],'imageSourceType':_0x26de95[_0xb6ec11(0x17d)]}:null;}}));}};Ne=li([Je(0x0,_0x534134),Je(0x1,_0x22392c)],Ne);const Ze=[_0x1ea2c4(0x1b1),_0x1ea2c4(0x1d8),'verdancy600',_0x1ea2c4(0x174),_0x1ea2c4(0x180),'gold400'];class ke extends _0x5e7e9c{constructor(){const _0x4e0d8c=_0x1ea2c4;super(...arguments),_(this,_0x4e0d8c(0x277),new Map()),_(this,'_colorIndex',0x0);}[_0x1ea2c4(0x211)](_0x3c919e){const _0x53a1c1=_0x1ea2c4;if(this[_0x53a1c1(0x277)][_0x53a1c1(0x1d3)](_0x3c919e))return this['_assignedColors'][_0x53a1c1(0x160)](_0x3c919e);const _0x53c9f6=Ze[this['_colorIndex']];return this[_0x53a1c1(0x126)]=(this[_0x53a1c1(0x126)]+0x1)%Ze[_0x53a1c1(0x13d)],this[_0x53a1c1(0x277)][_0x53a1c1(0x19f)](_0x3c919e,_0x53c9f6),_0x53c9f6;}}function Tt(_0x3515f5){const _0x5eb143=_0x1ea2c4;let _0x2f5745='';for(const _0x174640 of _0x3515f5){const {startOffset:_0x77183f,endOffset:_0x3e9a0d,isActive:_0x5d4571,rangeType:_0x4bd81f,segmentId:_0x54e3bb,segmentPage:_0x2ae343}=_0x174640;_0x2f5745[_0x5eb143(0x13d)]&&(_0x2f5745+=','),_0x2f5745+=_0x77183f+':'+_0x3e9a0d+':'+(_0x5d4571?'1':'0')+':'+_0x4bd81f+':'+_0x54e3bb+':'+_0x2ae343;}return _0x2f5745;}function _i(_0xeca0cf){const _0x2dda7c=_0x1ea2c4,_0x467483=_0xeca0cf['split'](','),_0x39e203=[];for(const _0x33f260 of _0x467483){const [_0x42c6dc,_0x5f47ef,_0x2e7eff,_0x32762c,_0x28ef47,_0x2f6dc9]=_0x33f260[_0x2dda7c(0x20d)](':');_0x39e203[_0x2dda7c(0x292)]({'startOffset':Number(_0x42c6dc),'endOffset':Number(_0x5f47ef),'collapsed':_0x42c6dc===_0x5f47ef,'isActive':_0x2e7eff==='1','rangeType':_0x32762c===_0x303fd1['TEXT']?_0x303fd1[_0x2dda7c(0x259)]:_0x303fd1[_0x2dda7c(0x17c)],'segmentId':typeof _0x28ef47==_0x2dda7c(0xd3)?String(_0x28ef47):'','segmentPage':Number(_0x2f6dc9!=null?_0x2f6dc9:-0x1)});}return _0x39e203[_0x2dda7c(0x2c9)](_0x4e88d5=>_0x4e88d5['isActive'])||(_0x39e203[0x0][_0x2dda7c(0x1b8)]=!0x0),_0x39e203;}class He extends _0x15e0fe{constructor(){const _0x335478=_0x1ea2c4;super(...arguments),_(this,_0x335478(0x2d4),new _0x10a4a9(null)),_(this,_0x335478(0x1cc),this['_collabCursorState$'][_0x335478(0x1dd)]());}['syncEditingCollabCursor'](_0x15e4a3){const _0x4004f2=_0x1ea2c4,{unitID:_0x114789,memberID:_0x42f2ee,textRanges:_0x1094b9}=_0x15e4a3,_0x41a795=Tt(_0x1094b9);if(_0x41a795==='')return;const _0x46c92b={'unitID':_0x114789,'memberID':_0x42f2ee,'selection':_0x41a795};this[_0x4004f2(0x2d4)][_0x4004f2(0xf3)](_0x46c92b);}}var hi=Object[_0x1ea2c4(0x29a)],ui=(_0x2e34fb,_0x555264,_0x573e30,_0x1c7d50)=>{const _0x55c8c6=_0x1ea2c4;for(var _0x556ad=_0x1c7d50>0x1?void 0x0:_0x1c7d50?hi(_0x555264,_0x573e30):_0x555264,_0x452af7=_0x2e34fb[_0x55c8c6(0x13d)]-0x1,_0x258d83;_0x452af7>=0x0;_0x452af7--)(_0x258d83=_0x2e34fb[_0x452af7])&&(_0x556ad=_0x258d83(_0x556ad)||_0x556ad);return _0x556ad;},L=(_0x59aaca,_0xcd9039)=>(_0x59a438,_0x49b33c)=>_0xcd9039(_0x59a438,_0x49b33c,_0x59aaca);const di=0x12c,fi=0x64;let Ue=class extends _0x15e0fe{constructor(_0x2a006b,_0x4ed38d,_0x3c02c7,_0x19915e,_0x2e0cd6,_0x25e99c,_0x491832,_0x35607f,_0x5e78a9){const _0x545763=_0x1ea2c4;super(),_(this,_0x545763(0x21f),!0x1),_(this,_0x545763(0x28a),!0x1),_(this,_0x545763(0xd7),new _0x10a4a9(new Map())),_(this,'cursorInfo$',this[_0x545763(0xd7)][_0x545763(0x1dd)]()),_(this,'_roomMembers$',new _0x10a4a9([])),_(this,_0x545763(0x103),this[_0x545763(0x115)][_0x545763(0x13f)](_0x37f242(di))),_(this,_0x545763(0x223),_0x3c4131(_0x3c6bcb=>{const _0x1b22c7=_0x545763,_0x2be221={'eventID':_0x45f904['UPDATE_CURSOR'],'data':{'unitID':this[_0x1b22c7(0x21d)],'memberID':this[_0x1b22c7(0x224)][_0x1b22c7(0x2d1)](),'selection':Tt(_0x3c6bcb)}};this[_0x1b22c7(0x224)]['send'](_0x2be221,this[_0x1b22c7(0x21d)]);},fi)),(this[_0x545763(0x21d)]=_0x2a006b,this[_0x545763(0x224)]=_0x4ed38d,this[_0x545763(0x2ab)]=_0x3c02c7,this[_0x545763(0x2c7)]=_0x19915e,this['_memberService']=_0x2e0cd6,this[_0x545763(0x130)]=_0x25e99c,this[_0x545763(0x11a)]=_0x491832,this[_0x545763(0x155)]=_0x35607f,this[_0x545763(0x18c)]=_0x5e78a9);}get[_0x1ea2c4(0x1f1)](){const _0x315381=_0x1ea2c4;return this[_0x315381(0xd7)][_0x315381(0x1d4)]();}get[_0x1ea2c4(0x283)](){const _0x283554=_0x1ea2c4;return this[_0x283554(0x115)]['getValue']();}[_0x1ea2c4(0x2ad)](){const _0x49ede4=_0x1ea2c4;super[_0x49ede4(0x2ad)](),this[_0x49ede4(0xd7)][_0x49ede4(0xf3)](new Map()),this[_0x49ede4(0xd7)]['complete'](),this[_0x49ede4(0x115)]['next']([]),this[_0x49ede4(0x115)][_0x49ede4(0x1e3)]();}[_0x1ea2c4(0x170)](){const _0x118210=_0x1ea2c4;this['_init']||(this['_init']=!0x0,this[_0x118210(0x224)][_0x118210(0x264)][_0x118210(0x13f)](_0x4c6dcf(this[_0x118210(0x27e)]))[_0x118210(0x13c)](_0x5c47eb=>{const _0x30f1e0=_0x118210;_0x5c47eb===_0x23ee66[_0x30f1e0(0x234)]?this[_0x30f1e0(0x29e)]():this['_toggleOffline']();}),this[_0x118210(0x224)][_0x118210(0x25f)][_0x118210(0x13f)](_0x4c6dcf(this[_0x118210(0x27e)]))['subscribe'](_0x56bf9e=>{const _0x5f87b3=_0x118210,_0x434800=_0x56bf9e[_0x5f87b3(0x172)];_0x434800===_0x45f904['UPDATE_CURSOR']&&this[_0x5f87b3(0x2d3)](_0x56bf9e),_0x434800===_0x45f904[_0x5f87b3(0x1c1)]&&this[_0x5f87b3(0x250)](_0x56bf9e);}),this[_0x118210(0x1c6)](this['_commandService']['onCommandExecuted'](_0x46895b=>{const _0xddcdc9=_0x118210,_0x5c944b=_0x46895b[_0xddcdc9(0x116)];_0x5c944b!=null&&this[_0xddcdc9(0x21f)]&&_0x46895b['id']===_0x379421['id']&&_0x5c944b['unitId']===this[_0xddcdc9(0x21d)]&&_0x5c944b[_0xddcdc9(0x18b)]===!0x1&&_0x5c944b[_0xddcdc9(0x2c6)][_0xddcdc9(0x13d)]>0x0&&this[_0xddcdc9(0x223)](_0x5c944b[_0xddcdc9(0x2c6)]);})),this[_0x118210(0x130)][_0x118210(0x1cc)][_0x118210(0x13f)](_0x4c6dcf(this[_0x118210(0x27e)]))[_0x118210(0x13c)](_0x11a3b5=>{const _0x2a24fa=_0x118210;if((_0x11a3b5==null?void 0x0:_0x11a3b5[_0x2a24fa(0x21d)])!==this[_0x2a24fa(0x21d)])return;const _0x1fb274={'eventID':_0x45f904[_0x2a24fa(0x1c5)],'data':_0x11a3b5};this[_0x2a24fa(0x2d3)](_0x1fb274);}),this['disposeWithMe'](this['_commandService'][_0x118210(0x201)](_0x3018a8=>{const _0x68530=_0x118210;if(_0x3018a8[_0x68530(0x116)]==null)return;const _0x2818e8=_0x3018a8['params'];if(_0x3018a8['id']!==_0x330494['id']||_0x2818e8[_0x68530(0x1a4)]!==this[_0x68530(0x21d)])return;const _0x2f585b={'id':'doc.mutation.rich-text-editing','params':_0x2818e8},_0xe78e1b=this[_0x68530(0x1f1)];for(const [_0x5ecca8,_0x36a4c7]of _0xe78e1b){const _0x415b90={'id':_0x68530(0x1ee),'params':{'unitId':this[_0x68530(0x21d)],'actions':null,'textRanges':_0x36a4c7[_0x68530(0x2c6)]}},_0x17eb40=this[_0x68530(0x11a)]['transformMutation'](_0x2f585b,_0x415b90,!0x1);if(_0x1280c2(_0x17eb40))throw _0x17eb40['error'];_0xe78e1b['set'](_0x5ecca8,{..._0x36a4c7,'ranges':_0x17eb40['m2Prime'][_0x68530(0x116)][_0x68530(0x287)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0xe78e1b);});})));}[_0x1ea2c4(0x2d3)](_0x342a16){const _0x464593=_0x1ea2c4;var _0x2d8df8,_0xd74a5f;const {memberID:_0x400a1e,selection:_0x1c2d00}=_0x342a16[_0x464593(0x221)],_0x23af0d=_i(_0x1c2d00),_0x1ac746=(_0xd74a5f=(_0x2d8df8=this['_memberService'][_0x464593(0x2bc)](this[_0x464593(0x21d)],_0x400a1e))==null?void 0x0:_0x2d8df8['name'])!=null?_0xd74a5f:_0x464593(0x254),_0xd54116={'color':this['_colorAssignService'][_0x464593(0x211)](_0x400a1e),'name':_0x1ac746,'ranges':_0x23af0d},_0x51a41d=this[_0x464593(0x1f1)];_0x51a41d[_0x464593(0x19f)](_0x400a1e,_0xd54116),this['_cursorInfo$'][_0x464593(0xf3)](_0x51a41d);}[_0x1ea2c4(0x250)](_0x2a460b){const _0x44ae3e=_0x1ea2c4,{memberID:_0x1f1c4a}=_0x2a460b[_0x44ae3e(0x221)],_0x488e39=this[_0x44ae3e(0x1f1)];_0x488e39[_0x44ae3e(0x2b0)](_0x1f1c4a),this[_0x44ae3e(0xd7)]['next'](_0x488e39);}[_0x1ea2c4(0x29e)](){const _0x1a98af=_0x1ea2c4;var _0x39b973;if(this[_0x1a98af(0x21f)]=!0x0,((_0x39b973=this[_0x1a98af(0x155)]['getFocusedUnit']())==null?void 0x0:_0x39b973['getUnitId']())!==this[_0x1a98af(0x21d)])return;const _0x9dbe13=this[_0x1a98af(0x2ab)][_0x1a98af(0x160)](_0x439c02)[_0x1a98af(0x10a)]();Array[_0x1a98af(0x208)](_0x9dbe13)&&_0x9dbe13['length']>0x0&&this[_0x1a98af(0x223)](_0x9dbe13);}['_toggleOffline'](){const _0x38cc61=_0x1ea2c4;this[_0x38cc61(0x21f)]=!0x1;}};Ue=ui([L(0x2,_0x2c28ac(_0x2ed78b)),L(0x3,_0x2c28ac(ke)),L(0x4,_0x2c28ac(_0xca28cd)),L(0x5,_0x2c28ac(He)),L(0x6,_0x1064e2),L(0x7,_0x610794),L(0x8,_0x2d7c40)],Ue);var Si=Object[_0x1ea2c4(0x29a)],mi=(_0x59e6f8,_0x80b7b1,_0x2e98a7,_0x38cbd6)=>{for(var _0x29ba47=_0x38cbd6>0x1?void 0x0:_0x38cbd6?Si(_0x80b7b1,_0x2e98a7):_0x80b7b1,_0x44b63d=_0x59e6f8['length']-0x1,_0xc92e15;_0x44b63d>=0x0;_0x44b63d--)(_0xc92e15=_0x59e6f8[_0x44b63d])&&(_0x29ba47=_0xc92e15(_0x29ba47)||_0x29ba47);return _0x29ba47;},x=(_0x154400,_0x15ec52)=>(_0x4c0747,_0x98d60d)=>_0x15ec52(_0x4c0747,_0x98d60d,_0x154400);const gi=0x12c,Ii=0x64,vi=()=>{let _0x3a654f=[],_0x2cea67=!0x1;return _0x59e574=>{const _0x568713=_0x3e8b;_0x3a654f[_0x568713(0x292)](_0x59e574),_0x2cea67||(_0x2cea67=!0x0,setTimeout(()=>{_0x3a654f['forEach'](_0xdaabf1=>_0xdaabf1()),_0x3a654f=[],_0x2cea67=!0x1;}));};};let Me=class extends _0x15e0fe{constructor(_0x240b63,_0x1fc117,_0x4e36a0,_0x1024b5,_0x4e0306,_0x2c05dc,_0x3551ad,_0x226239){const _0x274aea=_0x1ea2c4;super(),_(this,_0x274aea(0x21f),!0x1),_(this,_0x274aea(0x28a),!0x1),_(this,'_cursorInfo$',new _0x10a4a9(new Map())),_(this,_0x274aea(0x121),this['_cursorInfo$'][_0x274aea(0x1dd)]()),_(this,'_roomMembers$',new _0x10a4a9([])),_(this,_0x274aea(0x103),this[_0x274aea(0x115)]['pipe'](_0x37f242(gi))),_(this,_0x274aea(0x223),_0x3c4131((_0xc47c2d,_0x251e80)=>{const _0x43de93=_0x274aea,_0xb7b057={'eventID':_0x45f904[_0x43de93(0x1c5)],'data':{'unitID':this[_0x43de93(0x21d)],'memberID':this[_0x43de93(0x224)][_0x43de93(0x2d1)](),'selection':_0x25ddc9(_0xc47c2d,_0x251e80[_0x43de93(0x2b1)])}};this[_0x43de93(0x224)][_0x43de93(0x1da)](_0xb7b057,this[_0x43de93(0x21d)]);},Ii)),(this['unitID']=_0x240b63,this[_0x274aea(0x224)]=_0x1fc117,this[_0x274aea(0x2ab)]=_0x4e36a0,this[_0x274aea(0x2c7)]=_0x1024b5,this['_memberService']=_0x4e0306,this[_0x274aea(0x155)]=_0x2c05dc,this['_commandService']=_0x3551ad,this[_0x274aea(0x151)]=_0x226239);}get[_0x1ea2c4(0x1f1)](){const _0x323ed7=_0x1ea2c4;return this[_0x323ed7(0xd7)]['getValue']();}get[_0x1ea2c4(0x283)](){const _0x4e9919=_0x1ea2c4;return this[_0x4e9919(0x115)]['getValue']();}[_0x1ea2c4(0x2ad)](){const _0x3cb337=_0x1ea2c4;super[_0x3cb337(0x2ad)](),this[_0x3cb337(0xd7)][_0x3cb337(0xf3)](new Map()),this['_cursorInfo$'][_0x3cb337(0x1e3)](),this[_0x3cb337(0x115)][_0x3cb337(0xf3)]([]),this[_0x3cb337(0x115)]['complete']();}['init'](){const _0x4cb620=_0x1ea2c4;this[_0x4cb620(0x28a)]||(this[_0x4cb620(0x28a)]=!0x0,this['_session']['sessionStatus$'][_0x4cb620(0x13f)](_0x4c6dcf(this['dispose$']))[_0x4cb620(0x13c)](_0x1e37b7=>{const _0x3c0f9a=_0x4cb620;_0x1e37b7===_0x23ee66['ONLINE']?this['_toggleOnline']():this[_0x3c0f9a(0x2a8)]();}),this[_0x4cb620(0x224)]['event$']['pipe'](_0x4c6dcf(this[_0x4cb620(0x27e)]))[_0x4cb620(0x13c)](_0x354291=>{const _0x456356=_0x4cb620,_0x38a34a=_0x354291[_0x456356(0x172)];_0x38a34a===_0x45f904['UPDATE_CURSOR']&&this[_0x456356(0x2d3)](_0x354291),_0x38a34a===_0x45f904[_0x456356(0x1c1)]&&this['_onCursorDelete'](_0x354291);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x4cb620(0x201)](_0x12b9f8=>{const _0xa52312=_0x4cb620;if(this['_online']&&_0x12b9f8['id']===_0x3ac398['id']&&_0x12b9f8[_0xa52312(0x116)][_0xa52312(0x1a4)]===this[_0xa52312(0x21d)]){const _0x230f5c=_0x12b9f8['params'];this['_updateLocalCursor'](_0x230f5c[_0xa52312(0x237)],_0x230f5c[_0xa52312(0x197)][0x0]);}})));}[_0x1ea2c4(0x2d3)](_0x2137c2){const _0x35d29d=_0x1ea2c4;var _0x1cfd71,_0x4b9440;const {memberID:_0x3514f6,selection:_0x4443d8}=_0x2137c2[_0x35d29d(0x221)],{sheetName:_0x359344,range:_0x598cb4}=_0x3e4016(_0x4443d8),_0x305771={'name':(_0x4b9440=(_0x1cfd71=this[_0x35d29d(0x18e)]['getMember'](this[_0x35d29d(0x21d)],_0x3514f6))==null?void 0x0:_0x1cfd71['name'])!=null?_0x4b9440:_0x35d29d(0x254),'range':this[_0x35d29d(0x1fe)](_0x359344,_0x598cb4),'sheetID':_0x359344,'color':this[_0x35d29d(0x2c7)][_0x35d29d(0x211)](_0x3514f6),'selection':_0x4443d8},_0x32488e=this['cursorInfo'];_0x32488e[_0x35d29d(0x19f)](_0x3514f6,_0x305771),this[_0x35d29d(0xd7)]['next'](_0x32488e);}[_0x1ea2c4(0x250)](_0x14d3e5){const _0x3baf44=_0x1ea2c4,{memberID:_0x8d528f}=_0x14d3e5['data'],_0x4508b9=this['cursorInfo'];_0x4508b9['delete'](_0x8d528f),this[_0x3baf44(0xd7)][_0x3baf44(0xf3)](_0x4508b9);}[_0x1ea2c4(0x1fe)](_0x382de3,_0xcbecbe){const _0x4dc48b=_0x1ea2c4;var _0x3e6024,_0x29e462;const _0x1ad943=(_0x29e462=(_0x3e6024=this[_0x4dc48b(0x155)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x3e6024[_0x4dc48b(0x10b)](_0x382de3))==null?void 0x0:_0x29e462[_0x4dc48b(0x189)]();return(_0x1ad943==null?void 0x0:_0x1ad943[_0x4dc48b(0x17a)](_0x31f128=>_0x3326d3[_0x4dc48b(0x119)](_0x31f128,_0xcbecbe)))||_0xcbecbe;}[_0x1ea2c4(0x21b)](){const _0x3e4a78=_0x1ea2c4,_0x55e631=new _0x22b265(),_0x5cf35e=vi(),_0x552334=()=>{const _0x3254c1=_0x3e8b;_0x55e631['dispose']();const _0x2143e8=(_0x18c956,_0x300022,_0x287b7f,_0x2144fa)=>{const _0x1d5b4a=_0x3e8b;let _0x5b17a5=[];switch(_0x18c956['id']){case _0x3d73ea[_0x1d5b4a(0x134)]:{_0x5b17a5=_0x2f9898(_0x18c956,_0x2144fa);break;}case _0x3d73ea['DeleteRangeMoveUpCommandId']:{_0x5b17a5=_0x47b53a(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0x1fd)]:{_0x5b17a5=_0x373ba9(_0x18c956,_0x2144fa);break;}case _0x3d73ea['InsertRangeMoveDownCommandId']:{_0x5b17a5=_0x1f8b91(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0x106)]:{_0x5b17a5=_0x182f49(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0xea)]:{_0x5b17a5=_0x4c4126(_0x18c956,_0x2144fa);break;}case _0x3d73ea['MoveRangeCommandId']:{_0x5b17a5=_0x16d9c5(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0x200)]:{_0x5b17a5=_0x36e958(_0x18c956,_0x2144fa);break;}case _0x3d73ea[_0x1d5b4a(0x204)]:{_0x5b17a5=_0x5b40d0(_0x18c956,_0x2144fa);break;}}const _0x55850c=_0x44f27e(_0x5b17a5,_0x2144fa),_0x57b7b5=this['cursorInfo'][_0x1d5b4a(0x160)](_0x300022);if(_0x57b7b5&&_0x55850c){const _0x5892bd={..._0x57b7b5,'range':_0x55850c};this[_0x1d5b4a(0x1f1)][_0x1d5b4a(0x19f)](_0x300022,_0x5892bd),_0x5cf35e(()=>{const _0x1798f1=_0x1d5b4a,_0x53f1af=this['_refRangeService']['registerRefRange'](_0x55850c,_0x54734a=>(_0x53f1af[_0x1798f1(0x2ad)](),_0x2143e8(_0x54734a,_0x300022,_0x287b7f,_0x55850c)));_0x55e631['add'](_0x53f1af);});}return{'redos':[],'undos':[]};};this[_0x3254c1(0x1f1)]['forEach']((_0x2a30d3,_0x566a0a)=>{const _0x2cbdea=_0x3254c1,{range:_0x5306b1,sheetID:_0x566b64}=_0x2a30d3,_0x22fc54=this['_refRangeService'][_0x2cbdea(0x274)](_0x5306b1,_0x482e1e=>(_0x22fc54[_0x2cbdea(0x2ad)](),_0x2143e8(_0x482e1e,_0x566a0a,_0x566b64,_0x5306b1)));_0x55e631[_0x2cbdea(0xd4)](_0x22fc54);});};this[_0x3e4a78(0x1c6)](_0x2d320c(this[_0x3e4a78(0xd7)][_0x3e4a78(0x13c)](()=>{_0x552334();})));}[_0x1ea2c4(0x29e)](){const _0x443dbf=_0x1ea2c4;var _0x16b7f1,_0x496dd9;if(this['_online']=!0x0,((_0x16b7f1=this[_0x443dbf(0x155)][_0x443dbf(0x11e)]())==null?void 0x0:_0x16b7f1[_0x443dbf(0x2b3)]())!==this[_0x443dbf(0x21d)])return;const _0x4e248c=(_0x496dd9=this['_injector'][_0x443dbf(0x160)](_0x459614)[_0x443dbf(0x227)]())==null?void 0x0:_0x496dd9[0x0],_0x4b4915=this[_0x443dbf(0x155)][_0x443dbf(0xf5)](_0x1bd797[_0x443dbf(0x296)])['getActiveSheet']();_0x4e248c&&_0x4b4915&&this['_updateLocalCursor'](_0x4b4915[_0x443dbf(0xd0)](),_0x4e248c);}[_0x1ea2c4(0x2a8)](){const _0x3bc4d6=_0x1ea2c4;this[_0x3bc4d6(0x21f)]=!0x1;}};Me=mi([x(0x2,_0x2c28ac(_0x2ed78b)),x(0x3,_0x2c28ac(ke)),x(0x4,_0x2c28ac(_0xca28cd)),x(0x5,_0x610794),x(0x6,_0x2d7c40),x(0x7,_0x2c28ac(_0x38f2c6))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x130eea,_0x2d9d0a,_0x97df87,_0x593490)=>{for(var _0x1a838d=_0x593490>0x1?void 0x0:_0x593490?pi(_0x2d9d0a,_0x97df87):_0x2d9d0a,_0x398cda=_0x130eea['length']-0x1,_0x89c8f0;_0x398cda>=0x0;_0x398cda--)(_0x89c8f0=_0x130eea[_0x398cda])&&(_0x1a838d=_0x89c8f0(_0x1a838d)||_0x1a838d);return _0x1a838d;},Se=(_0x1915b6,_0x162890)=>(_0x649cc4,_0x18a351)=>_0x162890(_0x649cc4,_0x18a351,_0x1915b6);let H=class extends _0x15e0fe{constructor(_0x5ce2a8,_0x4cf8ed,_0x3e15a5){const _0x53b9ba=_0x1ea2c4;super(),_(this,_0x53b9ba(0x263),new Map()),_(this,_0x53b9ba(0xeb),new _0xd2bab0()),(this[_0x53b9ba(0x155)]=_0x5ce2a8,this[_0x53b9ba(0x2ab)]=_0x4cf8ed,this[_0x53b9ba(0x24e)]=_0x3e15a5,this[_0x53b9ba(0x28a)]());}[_0x1ea2c4(0x2ad)](){const _0x2f7ec1=_0x1ea2c4;super['dispose'](),this['_entityInit$']['complete'](),this['_entities']['forEach'](_0x4c81f5=>_0x4c81f5[_0x2f7ec1(0x2ad)]());}[_0x1ea2c4(0x29c)](_0x561a67){const _0x2dd05d=_0x1ea2c4;return this[_0x2dd05d(0x263)][_0x2dd05d(0x1d3)](_0x561a67)?this[_0x2dd05d(0x263)][_0x2dd05d(0x160)](_0x561a67)[_0x2dd05d(0x121)]:this[_0x2dd05d(0xeb)][_0x2dd05d(0x13f)](_0x5a9f25(_0x47f136=>_0x47f136['unitID']===_0x561a67),_0x3c2b2f(_0x3ed17e=>_0x3ed17e['cursorInfo$']));}[_0x1ea2c4(0x28a)](){const _0x2d08c9=_0x1ea2c4;this['_univerInstanceService'][_0x2d08c9(0x101)](_0x1bd797['UNIVER_SHEET'])[_0x2d08c9(0x13f)](_0x4c6dcf(this[_0x2d08c9(0x27e)]))[_0x2d08c9(0x13c)](async _0x36f210=>{const _0x40a818=_0x2d08c9,_0x260c02=_0x36f210['getUnitId'](),_0x4c9c89=await this[_0x40a818(0x1f6)](_0x260c02);this[_0x40a818(0xeb)]['next'](_0x4c9c89),this[_0x40a818(0x263)][_0x40a818(0x19f)](_0x260c02,_0x4c9c89);}),this[_0x2d08c9(0x155)]['getTypeOfUnitAdded$'](_0x1bd797[_0x2d08c9(0x1c3)])[_0x2d08c9(0x13f)](_0x4c6dcf(this[_0x2d08c9(0x27e)]))[_0x2d08c9(0x13f)](_0x5a9f25(_0x3a4bdc=>!_0x3a4bdc[_0x2d08c9(0x2b3)]()['startsWith']('__')))[_0x2d08c9(0x13c)](async _0x45eab1=>{const _0x32c32e=_0x2d08c9,_0x4bbd38=_0x45eab1[_0x32c32e(0x2b3)](),_0x200485=await this[_0x32c32e(0x267)](_0x4bbd38);this[_0x32c32e(0xeb)][_0x32c32e(0xf3)](_0x200485),this[_0x32c32e(0x263)]['set'](_0x4bbd38,_0x200485);}),_0x16bc38(this['_univerInstanceService'][_0x2d08c9(0x117)](_0x1bd797[_0x2d08c9(0x1c3)]),this[_0x2d08c9(0x155)][_0x2d08c9(0x117)](_0x1bd797['UNIVER_SHEET']))[_0x2d08c9(0x13f)](_0x4c6dcf(this[_0x2d08c9(0x27e)]))['subscribe'](_0x4d9b70=>{const _0x35989c=_0x2d08c9,_0x3d1d6a=_0x4d9b70['getUnitId'](),_0x28a56d=this[_0x35989c(0x263)][_0x35989c(0x160)](_0x3d1d6a);_0x28a56d&&(_0x28a56d[_0x35989c(0x2ad)](),this['_entities'][_0x35989c(0x2b0)](_0x3d1d6a));});}async[_0x1ea2c4(0x1f6)](_0x4ee29e){const _0x47193e=_0x1ea2c4,_0x514a99=await this[_0x47193e(0x24e)][_0x47193e(0xed)](_0x4ee29e),_0x2597c2=this['_injector'][_0x47193e(0x2ba)](Me,_0x4ee29e,_0x514a99);return _0x2597c2[_0x47193e(0x170)](),_0x2597c2;}async[_0x1ea2c4(0x267)](_0x48978b){const _0x13d51c=_0x1ea2c4,_0x528b65=await this[_0x13d51c(0x24e)][_0x13d51c(0xed)](_0x48978b),_0x458e91=this[_0x13d51c(0x2ab)][_0x13d51c(0x2ba)](Ue,_0x48978b,_0x528b65);return _0x458e91[_0x13d51c(0x170)](),_0x458e91;}};H=Ci([Se(0x0,_0x610794),Se(0x1,_0x2c28ac(_0x2ed78b)),Se(0x2,_0x2c28ac(_0x2352e1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x177a99,_0x399999){const _0x2ebb0e=_0x1ea2c4;let {radius:_0x27f3d5,width:_0x3c67f5,height:_0x448428}=_0x399999;_0x27f3d5=_0x27f3d5!=null?_0x27f3d5:0x0,_0x3c67f5=_0x3c67f5!=null?_0x3c67f5:0x1e,_0x448428=_0x448428!=null?_0x448428:0x1e;let _0x10b2bc=0x0,_0x5eccf8=0x0,_0x39519d=0x0;_0x10b2bc=_0x5eccf8=_0x39519d=Math[_0x2ebb0e(0x25b)](_0x27f3d5,_0x3c67f5/0x2,_0x448428/0x2),_0x177a99[_0x2ebb0e(0x191)](),_0x177a99['moveTo'](_0x10b2bc,0x0),_0x177a99[_0x2ebb0e(0x26e)](_0x3c67f5-_0x5eccf8,0x0),_0x177a99[_0x2ebb0e(0x251)](_0x3c67f5-_0x5eccf8,_0x5eccf8,_0x5eccf8,Math['PI']*0x3/0x2,0x0,!0x1),_0x177a99[_0x2ebb0e(0x26e)](_0x3c67f5,_0x448428-_0x39519d),_0x177a99['arc'](_0x3c67f5-_0x39519d,_0x448428-_0x39519d,_0x39519d,0x0,Math['PI']/0x2,!0x1),_0x177a99[_0x2ebb0e(0x26e)](0x0,_0x448428),_0x177a99[_0x2ebb0e(0x26e)](0x0,_0x10b2bc),_0x177a99['arc'](_0x10b2bc,_0x10b2bc,_0x10b2bc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x177a99['closePath'](),_0x399999['fill']&&(_0x177a99[_0x2ebb0e(0x28e)](),_0x177a99[_0x2ebb0e(0x1ab)]=_0x399999[_0x2ebb0e(0x1e6)],_0x399999[_0x2ebb0e(0x1d9)]===_0x2ebb0e(0x142)?_0x177a99[_0x2ebb0e(0x1e6)]('evenodd'):_0x177a99['fill'](),_0x177a99['restore']());}class he extends _0x4e7874{constructor(_0x45592b,_0x340ffa){const _0x3ab0d0=_0x1ea2c4;super(_0x45592b,_0x340ffa),_(this,_0x3ab0d0(0x145)),_(this,'text'),(this[_0x3ab0d0(0x145)]=_0x340ffa==null?void 0x0:_0x340ffa['color'],this[_0x3ab0d0(0x21c)]=_0x340ffa==null?void 0x0:_0x340ffa[_0x3ab0d0(0x21c)]);}static[_0x1ea2c4(0x10f)](_0x5caf23,_0xa056f6){const _0x15d016=_0x1ea2c4,{text:_0x5d5406,color:_0x883881}=_0xa056f6;_0x5caf23['save'](),_0x5caf23[_0x15d016(0x12c)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1be820=_0x5caf23['measureText'](_0x5d5406)[_0x15d016(0x100)],_0x4972da=Math[_0x15d016(0x25b)](_0x1be820+0x2*me,Qe);Oi(_0x5caf23,{'height':ee,'radius':0x4,'width':_0x4972da,'fill':_0x883881}),_0x5caf23[_0x15d016(0x1ab)]=_0x15d016(0x1fb);const _0x8bb2eb=me,_0x3a82cb=ee-Ei,_0x1752c1=Qe-0x2*me;if(_0x1be820>_0x1752c1){let _0x294981='',_0x2a61d6=0x0;for(const _0x27bc8e of _0x5d5406){const _0x22c42d=_0x5caf23[_0x15d016(0x152)](_0x27bc8e)[_0x15d016(0x100)];if(_0x2a61d6+_0x22c42d<=_0x1752c1-_0x5caf23['measureText'](_0x15d016(0x141))[_0x15d016(0x100)])_0x294981+=_0x27bc8e,_0x2a61d6+=_0x22c42d;else{_0x294981+='...';break;}}_0x5caf23[_0x15d016(0x16b)](_0x294981,_0x8bb2eb,_0x3a82cb);}else _0x5caf23[_0x15d016(0x16b)](_0x5d5406,_0x8bb2eb,_0x3a82cb);_0x5caf23['restore']();}[_0x1ea2c4(0x1b2)](_0x225c5c){const _0x4edeef=_0x1ea2c4;he[_0x4edeef(0x10f)](_0x225c5c,this);}}const ge=_0x1ea2c4(0x20f),bi=_0x1ea2c4(0x183),Ti=_0x1ea2c4(0x2bd),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x1ea2c4(0x168);class qe{constructor(_0x531177,_0x52146c,_0x413164,_0x3aae0a){const _0x47716d=_0x1ea2c4;_(this,_0x47716d(0x146),[]),_(this,_0x47716d(0x1db),null),_(this,_0x47716d(0x17f),null),_(this,'_anchorDot',null),_(this,_0x47716d(0x153),null),_(this,_0x47716d(0x122),null),(this[_0x47716d(0x2c4)]=_0x531177,this[_0x47716d(0x131)]=_0x52146c,this[_0x47716d(0x10e)]=_0x413164,this[_0x47716d(0x1f2)]=_0x3aae0a,this[_0x47716d(0x1c0)]());}set[_0x1ea2c4(0x298)](_0x26a434){const _0x42ae42=_0x1ea2c4;_0x26a434?(this[_0x42ae42(0xe9)]&&this['_anchorDot'][_0x42ae42(0x16d)](),this['_textBubble']&&this[_0x42ae42(0x17f)]['show']()):(this[_0x42ae42(0xe9)]&&this[_0x42ae42(0xe9)][_0x42ae42(0x2a5)](),this[_0x42ae42(0x17f)]&&this[_0x42ae42(0x17f)][_0x42ae42(0x16d)]());}[_0x1ea2c4(0x2ad)](){const _0x35d89c=_0x1ea2c4;for(const _0x1e77d5 of this['_shapes'])_0x1e77d5[_0x35d89c(0x2ad)]();this[_0x35d89c(0x17f)]&&this[_0x35d89c(0x17f)][_0x35d89c(0x2ad)](),this[_0x35d89c(0xe9)]&&this['_anchorDot'][_0x35d89c(0x2ad)](),this['_anchor']&&this[_0x35d89c(0x1db)]['dispose'](),this[_0x35d89c(0x122)]&&this[_0x35d89c(0x122)]();}[_0x1ea2c4(0x1c0)](){const _0x585958=_0x1ea2c4;var _0x4a1ccc;const {_docSkeleton:_0x37615a,_document:_0x29cf7f}=this,{color:_0x566ec4,name:_0x53def1,ranges:_0x4a6002}=this[_0x585958(0x2c4)],_0x1929e1=_0x29cf7f['getOffsetConfig'](),{docsLeft:_0x5589a0,docsTop:_0x4ce761}=_0x1929e1,_0x811917=new _0x205c2f(_0x1929e1,_0x37615a);for(const {startOffset:_0x3fd0f1,endOffset:_0x318e9a,rangeType:_0x3c2d87,segmentId:_0x5b4eb7,segmentPage:_0x5e41be,collapsed:_0x179933,isActive:_0x3b912a}of _0x4a6002){const _0x36de84=_0x37615a['findNodePositionByCharIndex'](_0x3fd0f1,!0x0,_0x5b4eb7,_0x5e41be);let _0x38dae8=_0x37615a[_0x585958(0xd8)](_0x318e9a,!0x0,_0x5b4eb7,_0x5e41be);if(_0x38dae8==null&&(_0x38dae8=_0x37615a[_0x585958(0xd8)](_0x318e9a-0x1,!0x1,_0x5b4eb7,_0x5e41be)),_0x3b912a){const {contentBoxPointGroup:_0x21f236}=_0x811917[_0x585958(0x286)](_0x38dae8,_0x38dae8);if(_0x21f236[_0x585958(0x13d)]===0x0)continue;this[_0x585958(0x14c)](_0x566ec4,_0x21f236,_0x5589a0,_0x4ce761,_0x53def1),this[_0x585958(0x122)]=this['_handleHover']();}if(_0x36de84&&_0x38dae8){if(_0x3c2d87===_0x303fd1[_0x585958(0x17c)]){const _0x5d3f9e=new _0x379e91(_0x1929e1,_0x37615a),{pointGroup:_0x51d04c}=(_0x4a1ccc=_0x5d3f9e[_0x585958(0x286)](_0x36de84,_0x38dae8))!=null?_0x4a1ccc:{};if(_0x51d04c==null||_0x51d04c[_0x585958(0x13d)]===0x0)continue;this[_0x585958(0x290)](_0x566ec4,_0x51d04c,_0x5589a0,_0x4ce761);}else{if(!_0x179933){const {borderBoxPointGroup:_0x3a51f6}=_0x811917[_0x585958(0x286)](_0x36de84,_0x38dae8);if(_0x3a51f6[_0x585958(0x13d)]===0x0)continue;this['_drawTextRange'](_0x566ec4,_0x3a51f6,_0x5589a0,_0x4ce761);}}}}}[_0x1ea2c4(0x14c)](_0x167805,_0x48d603,_0x108a91,_0x203a50,_0x4b3fa6){const _0x3db01f=_0x1ea2c4,_0x597911=this[_0x3db01f(0x1d1)](_0x48d603),{left:_0x35d8d7,top:_0x32b912,height:_0x3f1401}=_0x597911,_0x5056c6=this[_0x3db01f(0x1eb)](),_0x5a437a=Di/_0x5056c6,_0x43b9c4=new _0x5a781a(ge+_0xd617dc[_0x3db01f(0x10c)](X),{'left':_0x35d8d7+_0x108a91-_0x5a437a,'top':_0x32b912+_0x203a50,'height':_0x3f1401,'width':Ri,'fill':_0x167805||_0xd1944e(_0x1ca1fd[_0x3db01f(0x1e1)],0x0),'strokeWidth':_0x5a437a,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x43b9c4,this[_0x3db01f(0x131)]['addObject'](_0x43b9c4,_0x8fb040);const _0x362828=new _0x5a781a(ge+_0xd617dc[_0x3db01f(0x10c)](X),{'left':_0x35d8d7+_0x108a91-_0x5a437a,'top':_0x32b912+_0x203a50-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x167805||_0xd1944e(_0x1ca1fd[_0x3db01f(0x1e1)],0x0),'strokeWidth':0x0,'stroke':_0x167805||_0xd1944e(_0x1ca1fd[_0x3db01f(0x1e1)],0x0),'evented':!0x1});this[_0x3db01f(0xe9)]=_0x362828,this[_0x3db01f(0x131)][_0x3db01f(0x1b0)](_0x362828,_0x8fb040);const _0x5d8658=new he(ge+_0xd617dc['generateRandomId'](X),{'left':_0x35d8d7+_0x108a91-_0x5a437a,'top':_0x32b912+_0x203a50-ee,'text':_0x4b3fa6,'color':_0x167805});this['_textBubble']=_0x5d8658,this[_0x3db01f(0x131)]['addObject'](_0x5d8658,_0x8fb040),this[_0x3db01f(0x298)]=!0x1;}['_handleHover'](){const _0x5ebf1b=_0x1ea2c4,_0x173f9f=this[_0x5ebf1b(0x1db)]['onPointerEnter$'][_0x5ebf1b(0x217)](()=>{this['_hover']=!0x0;}),_0x19f945=this[_0x5ebf1b(0x1db)]['onPointerLeave$'][_0x5ebf1b(0x217)](()=>{const _0x225a26=_0x5ebf1b;this['_hideTimer']&&clearTimeout(this[_0x225a26(0x153)]),this[_0x225a26(0x153)]=setTimeout(()=>{const _0x476603=_0x225a26;this[_0x476603(0x298)]=!0x1;},0x7d0);});return()=>{const _0x20c965=_0x5ebf1b;_0x173f9f[_0x20c965(0x2cf)](),_0x19f945[_0x20c965(0x2cf)]();};}[_0x1ea2c4(0x2b6)](_0x274575,_0x5564ef,_0x2c5e79,_0x1bc479){const _0x46ac5d=_0x1ea2c4,_0x584e40=new _0x1fa4b2(_0x274575)[_0x46ac5d(0xe3)](0.2)['toRgbString'](),_0x4d043b=new _0x29e9da(bi+_0xd617dc['generateRandomId'](X),{'pointsGroup':_0x5564ef,'fill':_0x584e40||_0xd1944e(_0x1ca1fd[_0x46ac5d(0x1e1)],0.2),'left':_0x2c5e79,'top':_0x1bc479,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x46ac5d(0x146)][_0x46ac5d(0x292)](_0x4d043b),this['_scene']['addObject'](_0x4d043b,_0x8fb040);}[_0x1ea2c4(0x290)](_0xaee26f,_0x32edc1,_0x549fd5,_0x28f721){const _0x2d998e=_0x1ea2c4,_0xe27916=new _0x1fa4b2(_0xaee26f)[_0x2d998e(0xe3)](0.2)[_0x2d998e(0x231)](),_0x970aa1=new _0x29e9da(Ti+_0xd617dc['generateRandomId'](X),{'pointsGroup':_0x32edc1,'fill':_0xe27916||_0xd1944e(_0x1ca1fd[_0x2d998e(0x1e1)],0.2),'left':_0x549fd5,'top':_0x28f721,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2d998e(0x146)][_0x2d998e(0x292)](_0x970aa1),this['_scene']['addObject'](_0x970aa1,_0x8fb040);}['_getAnchorBounding'](_0x18d58b){const _0x314657=_0x18d58b[0x0],_0x2f6c1c=_0x314657[0x0],_0x3313c9=_0x314657[0x2],{x:_0x487eae,y:_0x53a713}=_0x2f6c1c,{x:_0x3ff0a4,y:_0x57774e}=_0x3313c9;return{'left':_0x487eae,'top':_0x53a713,'width':_0x3ff0a4-_0x487eae,'height':_0x57774e-_0x53a713};}[_0x1ea2c4(0x1eb)](){const _0x4901d3=_0x1ea2c4,{scaleX:_0xcc6817,scaleY:_0x309a7f}=this[_0x4901d3(0x131)][_0x4901d3(0x198)]();return Math[_0x4901d3(0x257)](_0xcc6817,_0x309a7f);}}var Ui=Object[_0x1ea2c4(0x29a)],Mi=(_0x5ec937,_0x5ccf95,_0x28e5b9,_0x42ac01)=>{const _0x26af0c=_0x1ea2c4;for(var _0x53f8a0=_0x42ac01>0x1?void 0x0:_0x42ac01?Ui(_0x5ccf95,_0x28e5b9):_0x5ccf95,_0x5a3377=_0x5ec937[_0x26af0c(0x13d)]-0x1,_0x111bc7;_0x5a3377>=0x0;_0x5a3377--)(_0x111bc7=_0x5ec937[_0x5a3377])&&(_0x53f8a0=_0x111bc7(_0x53f8a0)||_0x53f8a0);return _0x53f8a0;},Z=(_0x5ea727,_0x53f892)=>(_0x4d6345,_0x127feb)=>_0x53f892(_0x4d6345,_0x127feb,_0x5ea727);let Pe=class extends _0x15e0fe{constructor(_0x23782f,_0x5594ac,_0x334ecd,_0x36b947,_0x5b2d6e){const _0x2ac80f=_0x1ea2c4;super(),_(this,_0x2ac80f(0x22b),[]),_(this,_0x2ac80f(0x12a),[]),(this[_0x2ac80f(0x1e7)]=_0x23782f,this[_0x2ac80f(0x14b)]=_0x5594ac,this[_0x2ac80f(0x1f9)]=_0x334ecd,this['_commandService']=_0x36b947,this[_0x2ac80f(0xd5)]=_0x5b2d6e,this['_init']());}[_0x1ea2c4(0x28a)](){const _0x3629bb=_0x1ea2c4,_0x348cc5=this['_context'][_0x3629bb(0x1a4)],_0x2976fe=this[_0x3629bb(0x14b)];this[_0x3629bb(0x1c6)](_0x132635([this['_collabCursorController']['getCollabCursors$'](_0x348cc5),this[_0x3629bb(0xd5)][_0x3629bb(0x17b)]])[_0x3629bb(0x13f)](_0x1715d5(([_0x54b67c,_0x1c4b03])=>({'skeleton':_0x2976fe[_0x3629bb(0x173)](),'cursors':[..._0x54b67c[_0x3629bb(0x112)]()][_0x3629bb(0x262)](_0x400b82=>({..._0x400b82,'color':_0x1c4b03[_0x400b82[_0x3629bb(0x145)]]}))})))[_0x3629bb(0x13c)](_0x205c52=>{const _0x5bd2fd=_0x3629bb;if(this[_0x5bd2fd(0x194)](),_0x205c52){const {skeleton:_0x54c047,cursors:_0x2181a1}=_0x205c52;this['_updateCollabCursors'](_0x54c047,_0x2181a1);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x1ea2c4(0x22d)](_0xdf5091,_0x4a1bb9){const _0x57ba59=_0x1ea2c4,{scene:_0x312ada,mainComponent:_0x5f059b}=this[_0x57ba59(0x1e7)],_0x4736fa=_0x4a1bb9['map'](_0x3c7bfa=>new qe(_0x3c7bfa,_0x312ada,_0xdf5091,_0x5f059b));this[_0x57ba59(0x22b)]=_0x4736fa,this['_cursors']=_0x4a1bb9;}[_0x1ea2c4(0x1a1)](){const _0x256711=_0x1ea2c4;this['_removeCollabCursors']();const {scene:_0x99f3b1,mainComponent:_0x43d0ce}=this['_context'],_0xf60fb4=this[_0x256711(0x14b)]['getSkeleton'](),_0x35951d=this[_0x256711(0x12a)]['map'](_0x1da6a7=>new qe(_0x1da6a7,_0x99f3b1,_0xf60fb4,_0x43d0ce));this[_0x256711(0x22b)]=_0x35951d;}['_removeCollabCursors'](){const _0x3d667e=_0x1ea2c4;this['_cursorShapes']['forEach'](_0x29f979=>_0x29f979[_0x3d667e(0x2ad)]()),this['_cursorShapes']=[];}[_0x1ea2c4(0x1ff)](){const _0x35bebc=_0x1ea2c4,_0x3076f8=[_0x41fc4b['id']];this[_0x35bebc(0x1c6)](this[_0x35bebc(0x18c)]['onCommandExecuted'](_0xb25918=>{const _0x30e3e1=_0x35bebc;_0x3076f8[_0x30e3e1(0x222)](_0xb25918['id'])&&_0xb25918[_0x30e3e1(0x116)][_0x30e3e1(0x1a4)]===this[_0x30e3e1(0x1e7)][_0x30e3e1(0x1a4)]&&this['_refreshCollabCursors']();}));}[_0x1ea2c4(0x10d)](){const _0x3efd9f=_0x1ea2c4;this[_0x3efd9f(0x1c6)](_0x350e85(this['_context'][_0x3efd9f(0x11b)][_0x3efd9f(0x270)])['pipe'](_0x4a40cb(_0x33d5e4=>_0x33d5e4[_0x3efd9f(0x11d)]===_0x2a0c74[_0x3efd9f(0x2b2)]),_0x510e1e(0x10))['subscribe'](()=>{const _0x2bde3e=_0x3efd9f;this[_0x2bde3e(0x1a1)]();}));}};Pe=Mi([Z(0x1,_0x2c28ac(_0x43cc1e)),Z(0x2,_0x2c28ac(H)),Z(0x3,_0x2d7c40),Z(0x4,_0x2c28ac(_0x20c7fb))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x4e7874{constructor(_0x2fc7e9,_0x1949bf){const _0x3fe5df=_0x1ea2c4;super(_0x2fc7e9,_0x1949bf),_(this,_0x3fe5df(0x243)),_(this,_0x3fe5df(0x25e),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x3fe5df(0x280),_0x3fe5df(0x23a)),_(this,_0x3fe5df(0x1b6)),(_0x1949bf&&this[_0x3fe5df(0x2af)](_0x1949bf),this[_0x3fe5df(0x210)][_0x3fe5df(0x217)](()=>this[_0x3fe5df(0x2af)]({'hovered':!0x0})),this['onPointerLeave$'][_0x3fe5df(0x217)](()=>this[_0x3fe5df(0x2af)]({'hovered':!0x1})));}[_0x1ea2c4(0x2af)](_0x404382){const _0x4c0110=_0x1ea2c4;var _0x175102,_0x34270a,_0x1c91e2,_0x9ac92,_0x37de78,_0x3ee556;this[_0x4c0110(0x243)]=(_0x175102=_0x404382[_0x4c0110(0x145)])!=null?_0x175102:this[_0x4c0110(0x243)],this['_hovered']=(_0x34270a=_0x404382[_0x4c0110(0x1d6)])!=null?_0x34270a:this[_0x4c0110(0x25e)],this[_0x4c0110(0x1ca)]=(_0x1c91e2=_0x404382[_0x4c0110(0x2b1)])!=null?_0x1c91e2:this[_0x4c0110(0x1ca)],this[_0x4c0110(0x235)]=(_0x9ac92=_0x404382[_0x4c0110(0x13b)])!=null?_0x9ac92:this[_0x4c0110(0x235)],this['_labelPosition']=(_0x37de78=_0x404382[_0x4c0110(0x166)])!=null?_0x37de78:this[_0x4c0110(0x280)],this[_0x4c0110(0x1b6)]=(_0x3ee556=_0x404382['backgroundColor'])!=null?_0x3ee556:this['_backgroundColor'],this[_0x4c0110(0x161)]({'width':_0x404382[_0x4c0110(0x100)],'height':_0x404382['height']});}[_0x1ea2c4(0x1f8)](_0x2de966){const _0x49ca65=_0x1ea2c4,{row:_0x1425da,column:_0x3b5a7d}=_0x2de966;if(_0x1425da>=this['_range'][_0x49ca65(0x163)]&&_0x1425da<=this[_0x49ca65(0x1ca)][_0x49ca65(0x21e)]&&_0x3b5a7d>=this[_0x49ca65(0x1ca)][_0x49ca65(0x276)]&&_0x3b5a7d<=this[_0x49ca65(0x1ca)]['endColumn']){this[_0x49ca65(0x2af)]({'hovered':!0x0});return;}this[_0x49ca65(0x2af)]({'hovered':!0x1});}[_0x1ea2c4(0x1e9)](_0x310534){return!0x1;}['_draw'](_0x18adc1){const _0x41a04b=_0x1ea2c4;_0x5a781a[_0x41a04b(0x10f)](_0x18adc1,{'width':this[_0x41a04b(0x100)],'height':this[_0x41a04b(0x1cb)],'strokeWidth':Li,'stroke':this[_0x41a04b(0x243)],'evented':!0x1,'fill':this[_0x41a04b(0x1b6)]}),this[_0x41a04b(0x25e)]&&(_0x18adc1[_0x41a04b(0x28e)](),_0x18adc1[_0x41a04b(0x18f)](0x1,0x0,0x0,0x1,this[_0x41a04b(0x100)],this['_labelPosition']===_0x41a04b(0x11c)?0x0:-0x14),he['drawWith'](_0x18adc1,{'text':this['_name'],'color':this[_0x41a04b(0x243)]}),_0x18adc1[_0x41a04b(0x2a9)]());}}var Ai=Object[_0x1ea2c4(0x29a)],yi=(_0x2a2934,_0x3a0513,_0x1398d2,_0xf38a07)=>{const _0x315170=_0x1ea2c4;for(var _0xc24a7b=_0xf38a07>0x1?void 0x0:_0xf38a07?Ai(_0x3a0513,_0x1398d2):_0x3a0513,_0x548934=_0x2a2934[_0x315170(0x13d)]-0x1,_0xaa0bf3;_0x548934>=0x0;_0x548934--)(_0xaa0bf3=_0x2a2934[_0x548934])&&(_0xc24a7b=_0xaa0bf3(_0xc24a7b)||_0xc24a7b);return _0xc24a7b;},ve=(_0x2d4429,_0x18d764)=>(_0x1b75d2,_0x40cc4e)=>_0x18d764(_0x1b75d2,_0x40cc4e,_0x2d4429);const $i=0x1389;let Le=class extends _0x15e0fe{constructor(_0x4d3b2f,_0x4c62c4,_0x35a8b0,_0x2e5491){const _0x528af7=_0x1ea2c4;super(),_(this,_0x528af7(0x12a),new Set()),_(this,'_lastPointer',null),(this[_0x528af7(0x1e7)]=_0x4d3b2f,this[_0x528af7(0x1e4)]=_0x4c62c4,this['_collabCursorController']=_0x35a8b0,this[_0x528af7(0xd5)]=_0x2e5491,this[_0x528af7(0x28a)]());}['_init'](){const _0x2bbe4e=_0x1ea2c4;this[_0x2bbe4e(0x1e4)][_0x2bbe4e(0xfd)][_0x2bbe4e(0x13f)](_0x4f88ed(this[_0x2bbe4e(0x27e)]),_0x17c9a5(_0x538652=>{const _0x27e0e1=_0x2bbe4e;if(_0x538652){const _0x53353c=_0x538652['sheetId'];return _0x132635(this['_collabCursorController'][_0x27e0e1(0x29c)](this[_0x27e0e1(0x1e7)][_0x27e0e1(0x1a4)]),this[_0x27e0e1(0xd5)][_0x27e0e1(0x17b)])[_0x27e0e1(0x13f)](_0x1715d5(([_0x2d0eff,_0x38fe07])=>{const _0x37cb92=_0x27e0e1,_0x2cf6ab=new Map();return _0x2d0eff[_0x37cb92(0x108)]((_0x42d89a,_0x3e14f5)=>{const _0x42c159=_0x37cb92;if(_0x42d89a['sheetID']===_0x53353c){const _0x2a6e7a={..._0x42d89a};_0x2a6e7a[_0x42c159(0x145)]=_0x38fe07[_0x42d89a['color']],_0x2cf6ab[_0x42c159(0x19f)](_0x3e14f5,_0x2a6e7a);}}),{'skeleton':_0x538652,'cursors':_0x2cf6ab};}));}return _0x1da7a7({'skeleton':null,'cursors':new Map()});}))[_0x2bbe4e(0x13c)](({skeleton:_0x2af63c,cursors:_0x51f70})=>{const _0x131b61=_0x2bbe4e;this[_0x131b61(0x194)](),_0x2af63c&&this[_0x131b61(0x22d)](_0x2af63c,_0x51f70);}),this['_sheetSkeletonManagerService'][_0x2bbe4e(0xfd)][_0x2bbe4e(0x13c)](_0x40a89f=>{const _0x564b1e=_0x2bbe4e;if(_0x40a89f==null)return;const {skeleton:_0x256f44}=_0x40a89f,{scene:_0x10f7b5}=this['_context'];_0x10f7b5[_0x564b1e(0x156)][_0x564b1e(0x217)](_0x3c4131(_0x16b10d=>{const _0x2432c7=_0x564b1e;var _0x6785fc,_0x91c094;const {offsetX:_0xeaccc3,offsetY:_0x760b28}=_0x16b10d,{x:_0x1e9f11,y:_0x29ba59}=_0x10f7b5[_0x2432c7(0x1dc)](_0x55ebca[_0x2432c7(0x2ca)]([_0xeaccc3,_0x760b28])),{scaleX:_0x5f4888,scaleY:_0x244076}=_0x10f7b5[_0x2432c7(0x198)](),_0x1ee03b=_0x10f7b5[_0x2432c7(0x14a)](_0x670b59[_0x2432c7(0x265)]),_0x22ab83=_0x10f7b5[_0x2432c7(0x2bb)](_0x55ebca[_0x2432c7(0x2ca)]([_0x1e9f11,_0x29ba59]),_0x1ee03b),_0x1db3db=_0x256f44[_0x2432c7(0x22c)](_0xeaccc3,_0x760b28,_0x5f4888,_0x244076,_0x22ab83);((_0x6785fc=this['_lastPointer'])==null?void 0x0:_0x6785fc['column'])===_0x1db3db[_0x2432c7(0x138)]&&((_0x91c094=this['_lastPointer'])==null?void 0x0:_0x91c094[_0x2432c7(0x187)])===_0x1db3db['row']||this[_0x2432c7(0x12a)][_0x2432c7(0x108)](_0x8f72bd=>{const _0x491cee=_0x2432c7;_0x8f72bd[_0x491cee(0x1f8)](_0x1db3db);});},0x64));});}[_0x1ea2c4(0x22d)](_0x49785a,_0x5c9d49){const _0x16cb52=_0x1ea2c4;var _0x46dfa1;const _0x6f2575=(_0x46dfa1=this[_0x16cb52(0x1e4)]['getCurrent']())==null?void 0x0:_0x46dfa1[_0x16cb52(0x22f)];if(!_0x6f2575)return;const _0x440fb7=this['_getSheetObject']();if(!_0x440fb7)return;this[_0x16cb52(0x12a)][_0x16cb52(0x108)](_0x440b61=>{const _0x6ec82e=_0x16cb52;_0x440b61[_0x6ec82e(0x113)]();});const {scene:_0x592533}=_0x440fb7,_0x25675c=xi(Array['from'](_0x5c9d49['values']()))['map'](_0x340873=>{const _0x524218=_0x16cb52,{color:_0x264de1,range:_0x5b0e8c,name:_0x56ce2a,selection:_0x26bee2,sheetID:_0x4d0595}=_0x340873,{startColumn:_0x415479,startRow:_0x2d9f86,endColumn:_0xd39e66,endRow:_0x5bd91f}=_0x5b0e8c,_0xa28e4d=_0x2ac45a(_0x2d9f86,_0x415479,_0x592533,_0x6f2575),_0x137a62=_0x2ac45a(_0x5bd91f,_0xd39e66,_0x592533,_0x6f2575),{columnHeaderHeightAndMarginTop:_0x40cbea}=_0x6f2575,{startX:_0x45f243,startY:_0x5c16ba}=_0xa28e4d,{endX:_0x31b708,endY:_0x2bbaf8}=_0x137a62,_0x10d3ba=_0x31b708-_0x45f243,_0x1e4cbb=_0x2bbaf8-_0x5c16ba,_0x2ef6dd={'labelPosition':_0x5c16ba-_0x40cbea>=ee?'top':_0x524218(0x11c),'sheetID':_0x4d0595,'range':_0x5b0e8c,'color':_0x264de1,'name':_0x56ce2a,'selection':_0x26bee2,'left':_0x45f243,'top':_0x5c16ba,'width':_0x10d3ba,'height':_0x1e4cbb,'evented':!0x1,'zIndex':$i};return new wi(_0x56ce2a,_0x2ef6dd);});_0x592533[_0x16cb52(0x2b4)](_0x25675c,Pi),this[_0x16cb52(0x12a)]=new Set(_0x25675c);}[_0x1ea2c4(0x194)](){const _0x1f726e=_0x1ea2c4;var _0x44d080;(_0x44d080=this[_0x1f726e(0x12a)])==null||_0x44d080[_0x1f726e(0x108)](_0x37d9a9=>_0x37d9a9['dispose']());}[_0x1ea2c4(0x28d)](){const _0x2fe56e=_0x1ea2c4;return _0x14f9c0(this['_context'][_0x2fe56e(0x245)],this[_0x2fe56e(0x1e7)]);}};Le=yi([ve(0x1,_0x2c28ac(_0x2878d8)),ve(0x2,_0x2c28ac(H)),ve(0x3,_0x2c28ac(_0x20c7fb))],Le);function xi(_0x31d80e){const _0x169095=_0x1ea2c4,_0x4364cf=new Map();return _0x31d80e['forEach'](_0x5d1b1e=>{const _0xef6722=_0x3e8b;if(_0x4364cf[_0xef6722(0x1d3)](_0x5d1b1e['selection'])){const _0x5c6c76=_0x4364cf[_0xef6722(0x160)](_0x5d1b1e['selection']);_0x5c6c76[_0xef6722(0x13b)]+=',\x20'+_0x5d1b1e['name'];}else _0x4364cf[_0xef6722(0x19f)](_0x5d1b1e[_0xef6722(0x188)],_0x5d1b1e);}),Array[_0x169095(0x2c0)](_0x4364cf[_0x169095(0x112)]());}var v=function(){const _0x18cb26=_0x1ea2c4;return v=Object[_0x18cb26(0xd6)]||function(_0x471e6b){const _0x2228b5=_0x18cb26;for(var _0x20f27a,_0x4a75ae=0x1,_0x5a5bc0=arguments[_0x2228b5(0x13d)];_0x4a75ae<_0x5a5bc0;_0x4a75ae++){_0x20f27a=arguments[_0x4a75ae];for(var _0x23c1a0 in _0x20f27a)Object[_0x2228b5(0x157)][_0x2228b5(0x2b9)][_0x2228b5(0x1f7)](_0x20f27a,_0x23c1a0)&&(_0x471e6b[_0x23c1a0]=_0x20f27a[_0x23c1a0]);}return _0x471e6b;},v[_0x18cb26(0x1cd)](this,arguments);},Bi=function(_0x29e40c,_0x76879){const _0x3d28ec=_0x1ea2c4;var _0x5e7fb3={};for(var _0x1eff6e in _0x29e40c)Object[_0x3d28ec(0x157)][_0x3d28ec(0x2b9)][_0x3d28ec(0x1f7)](_0x29e40c,_0x1eff6e)&&_0x76879[_0x3d28ec(0x23c)](_0x1eff6e)<0x0&&(_0x5e7fb3[_0x1eff6e]=_0x29e40c[_0x1eff6e]);if(_0x29e40c!=null&&typeof Object[_0x3d28ec(0x2ac)]==_0x3d28ec(0x2a4)){for(var _0x46c723=0x0,_0x1eff6e=Object[_0x3d28ec(0x2ac)](_0x29e40c);_0x46c723<_0x1eff6e['length'];_0x46c723++)_0x76879[_0x3d28ec(0x23c)](_0x1eff6e[_0x46c723])<0x0&&Object[_0x3d28ec(0x157)][_0x3d28ec(0x1a0)]['call'](_0x29e40c,_0x1eff6e[_0x46c723])&&(_0x5e7fb3[_0x1eff6e[_0x46c723]]=_0x29e40c[_0x1eff6e[_0x46c723]]);}return _0x5e7fb3;},je=_0x507e46(function(_0xc73c56,_0x2a7c95){const _0x281d41=_0x1ea2c4;var _0x2fe8b0=_0xc73c56[_0x281d41(0x249)],_0x6fe4fd=_0xc73c56['id'],_0x3f0817=_0xc73c56[_0x281d41(0x261)],_0x3d3b4d=_0xc73c56['extend'],_0x3ab047=Bi(_0xc73c56,['icon','id',_0x281d41(0x261),_0x281d41(0x13e)]),_0x17586b=_0x281d41(0xfb)[_0x281d41(0x26b)](_0x6fe4fd,'\x20')[_0x281d41(0x26b)](_0x3f0817||'')['trim'](),_0x49dce6=_0x36b027('_'[_0x281d41(0x26b)](ji()));return Rt(_0x2fe8b0,''['concat'](_0x6fe4fd),{'defIds':_0x2fe8b0[_0x281d41(0x1ea)],'idSuffix':_0x49dce6['current']},v({'ref':_0x2a7c95,'className':_0x17586b},_0x3ab047),_0x3d3b4d);});function Rt(_0x591b45,_0x46189e,_0x34a93d,_0x35553e,_0x8113d4){const _0x1cfe69=_0x1ea2c4;return _0x9ecbb4(_0x591b45[_0x1cfe69(0x2cc)],v(v({'key':_0x46189e},ki(_0x591b45,_0x34a93d,_0x8113d4)),_0x35553e),(Hi(_0x591b45,_0x34a93d)[_0x1cfe69(0x1e0)]||[])['map'](function(_0x2abd97,_0x575832){const _0x2e0102=_0x1cfe69;return Rt(_0x2abd97,''[_0x2e0102(0x26b)](_0x46189e,'-')[_0x2e0102(0x26b)](_0x591b45[_0x2e0102(0x2cc)],'-')[_0x2e0102(0x26b)](_0x575832),_0x34a93d,void 0x0,_0x8113d4);}));}function ki(_0x12e56f,_0x4a8cbd,_0x248509){const _0x3757d7=_0x1ea2c4;var _0x3d67ea=v({},_0x12e56f['attrs']);_0x248509!=null&&_0x248509[_0x3757d7(0x2ae)]&&_0x3d67ea[_0x3757d7(0x1e6)]===_0x3757d7(0x2ae)&&(_0x3d67ea[_0x3757d7(0x1e6)]=_0x248509['colorChannel1']),_0x12e56f[_0x3757d7(0x2cc)]===_0x3757d7(0x26a)&&_0x3d67ea['id']&&(_0x3d67ea['id']=_0x3d67ea['id']+_0x4a8cbd['idSuffix']),Object[_0x3757d7(0x28f)](_0x3d67ea)[_0x3757d7(0x108)](function(_0x259a29){const _0x2ebe9b=_0x3757d7;var _0x187624=_0x259a29[0x0],_0x467fb6=_0x259a29[0x1];_0x187624===_0x2ebe9b(0x26a)&&typeof _0x467fb6==_0x2ebe9b(0xd3)&&(_0x3d67ea[_0x187624]=_0x467fb6[_0x2ebe9b(0x2c5)](/url\(#(.*)\)/,_0x2ebe9b(0x242)[_0x2ebe9b(0x26b)](_0x4a8cbd[_0x2ebe9b(0x147)],')')));});var _0x2a6d7b=_0x4a8cbd['defIds'];return!_0x2a6d7b||_0x2a6d7b['length']===0x0||(_0x12e56f['tag']==='use'&&_0x3d67ea[_0x3757d7(0x2a1)]&&(_0x3d67ea[_0x3757d7(0x2a1)]=_0x3d67ea[_0x3757d7(0x2a1)]+_0x4a8cbd[_0x3757d7(0x147)]),Object['entries'](_0x3d67ea)[_0x3757d7(0x108)](function(_0x2da02b){const _0x172d4e=_0x3757d7;var _0x2d28e3=_0x2da02b[0x0],_0x223697=_0x2da02b[0x1];typeof _0x223697==_0x172d4e(0xd3)&&(_0x3d67ea[_0x2d28e3]=_0x223697['replace'](/url\(#(.*)\)/,'url(#$1'[_0x172d4e(0x26b)](_0x4a8cbd[_0x172d4e(0x147)],')')));})),_0x3d67ea;}function Hi(_0x5caba3,_0xed0944){const _0x3fc73f=_0x1ea2c4;var _0x2b07ee,_0x10f423=_0xed0944[_0x3fc73f(0x1ea)];return!_0x10f423||_0x10f423[_0x3fc73f(0x13d)]===0x0?_0x5caba3:_0x5caba3['tag']===_0x3fc73f(0x150)&&(!((_0x2b07ee=_0x5caba3[_0x3fc73f(0x1e0)])===null||_0x2b07ee===void 0x0)&&_0x2b07ee[_0x3fc73f(0x13d)])?v(v({},_0x5caba3),{'children':_0x5caba3[_0x3fc73f(0x1e0)][_0x3fc73f(0x1bb)](function(_0xe79a9c){const _0x5658a7=_0x3fc73f;return typeof _0xe79a9c[_0x5658a7(0x12d)]['id']==_0x5658a7(0xd3)&&_0x10f423&&_0x10f423[_0x5658a7(0x23c)](_0xe79a9c[_0x5658a7(0x12d)]['id'])>-0x1?v(v({},_0xe79a9c),{'attrs':v(v({},_0xe79a9c[_0x5658a7(0x12d)]),{'id':_0xe79a9c[_0x5658a7(0x12d)]['id']+_0xed0944[_0x5658a7(0x147)]})}):_0xe79a9c;})}):_0x5caba3;}function ji(){const _0x4fff58=_0x1ea2c4;return Math[_0x4fff58(0x22a)]()[_0x4fff58(0x195)](0x24)[_0x4fff58(0x175)](0x2,0x8);}je[_0x1ea2c4(0x244)]=_0x1ea2c4(0x1a6);var Yi={'tag':_0x1ea2c4(0x2be),'attrs':{'fill':_0x1ea2c4(0x205),'viewBox':_0x1ea2c4(0x14e),'width':_0x1ea2c4(0x1ef),'height':_0x1ea2c4(0x1ef)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ea2c4(0x1ce)},'children':[{'tag':_0x1ea2c4(0x107),'attrs':{'stroke':_0x1ea2c4(0x1f0),'d':_0x1ea2c4(0x12f),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1ea2c4(0x150),'attrs':{},'children':[{'tag':_0x1ea2c4(0x2ce),'attrs':{'id':_0x1ea2c4(0x213)},'children':[{'tag':'path','attrs':{'fill':_0x1ea2c4(0x1cf),'d':_0x1ea2c4(0x1f4)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x507e46(function(_0x5d1f0f,_0x51931b){const _0x381c5b=_0x1ea2c4;return _0x9ecbb4(je,Object['assign']({},_0x5d1f0f,{'id':_0x381c5b(0x28c),'ref':_0x51931b,'icon':Yi}));});Dt[_0x1ea2c4(0x244)]='OffLineSingle';var Wi={'tag':_0x1ea2c4(0x2be),'attrs':{'fill':_0x1ea2c4(0x205),'viewBox':_0x1ea2c4(0x140),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1ea2c4(0xf2)},'children':[{'tag':_0x1ea2c4(0x107),'attrs':{'stroke':_0x1ea2c4(0x1f0),'d':_0x1ea2c4(0x2cd),'strokeLinecap':'round','strokeLinejoin':_0x1ea2c4(0x104),'strokeWidth':1.2}}]},{'tag':_0x1ea2c4(0x150),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x1ea2c4(0x107),'attrs':{'fill':_0x1ea2c4(0x1cf),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x1ea2c4(0x2c3)]},Nt=_0x507e46(function(_0x922b27,_0x281f46){const _0x3e4fb7=_0x1ea2c4;return _0x9ecbb4(je,Object[_0x3e4fb7(0xd6)]({},_0x922b27,{'id':_0x3e4fb7(0x291),'ref':_0x281f46,'icon':Wi}));});Nt['displayName']=_0x1ea2c4(0x1f3);function Fi(_0x1be5ab){const _0x3de81a=_0x1ea2c4;switch(_0x1be5ab){case _0x2b26de[_0x3de81a(0x16e)]:return _0x3de81a(0x162);case _0x2b26de[_0x3de81a(0x24a)]:return _0x3de81a(0x288);case _0x2b26de[_0x3de81a(0x1a5)]:return'collabStatus.fetchMiss';case _0x2b26de[_0x3de81a(0x15b)]:return _0x3de81a(0x128);case _0x2b26de[_0x3de81a(0xd1)]:case _0x2b26de[_0x3de81a(0x196)]:return _0x3de81a(0x19c);case _0x2b26de[_0x3de81a(0x247)]:case _0x2b26de['PENDING']:return _0x3de81a(0x25d);}}function Vi(_0x1df97f){const _0x34f5e9=_0x1ea2c4,{status$:_0x3e578a}=_0x1df97f,_0x41ba28=_0x1cc5fe(_0x3e578a,_0x2b26de['NOT_COLLAB']),_0x15862e=_0x1ac2e6(_0x4a6cd3),_0x3f0fe1=_0x1ac2e6(_0x2352e1),_0x380cf2=_0x41ba28!==_0x2b26de['OFFLINE'],_0x2c2e81=_0x15862e['t'](Fi(_0x41ba28)),_0x1c9a6b=_0x380cf2?_0x46fa34(Nt,{}):_0x46fa34(Dt,{}),_0xaa0c2b=_0x39c0bd(()=>{_0x380cf2||_0x3f0fe1['reconnect']();},[_0x380cf2,_0x3f0fe1]);function _0x4ceafe(){const _0x5091c3=_0x3e8b;return _0xad7a6a(_0x5091c3(0x218),{'className':_0x5091c3(0x207),'onClick':_0xaa0c2b,'children':[_0x46fa34(_0x5091c3(0x218),{'className':_0x507046(_0x5091c3(0x252),_0x380cf2?_0x5091c3(0x2a0):_0x5091c3(0xfe)),'children':_0x1c9a6b}),_0x46fa34(_0x5091c3(0x218),{'className':_0x5091c3(0x260),'children':_0x2c2e81})]});}return _0x380cf2?_0x4ceafe():_0x46fa34(_0x5957bd,{'title':_0x15862e['t'](_0x34f5e9(0x279)),'children':_0x4ceafe()});}var Xi=Object[_0x1ea2c4(0x29a)],Gi=(_0x120e2a,_0x100ed8,_0x2da571,_0x2b3181)=>{const _0x510335=_0x1ea2c4;for(var _0x370f6e=_0x2b3181>0x1?void 0x0:_0x2b3181?Xi(_0x100ed8,_0x2da571):_0x100ed8,_0x27886b=_0x120e2a[_0x510335(0x13d)]-0x1,_0x3244a7;_0x27886b>=0x0;_0x27886b--)(_0x3244a7=_0x120e2a[_0x27886b])&&(_0x370f6e=_0x3244a7(_0x370f6e)||_0x370f6e);return _0x370f6e;},Q=(_0x1d18f3,_0x3f940f)=>(_0x121e69,_0x5dc6f6)=>_0x3f940f(_0x121e69,_0x5dc6f6,_0x1d18f3);let te=class extends _0x5e7e9c{constructor(_0x1d4043,_0xc9f344,_0x31cef3,_0x23ce2c){const _0x1731cd=_0x1ea2c4;super(),_(this,'_status$',new _0x10a4a9(_0x2b26de[_0x1731cd(0x15b)])),(this[_0x1731cd(0x155)]=_0x1d4043,this[_0x1731cd(0x2ab)]=_0xc9f344,this[_0x1731cd(0x273)]=_0x31cef3,this[_0x1731cd(0x1ed)]=_0x23ce2c,this[_0x1731cd(0x232)](),this[_0x1731cd(0xf7)]());}['_initStatusListener'](){const _0x44d959=_0x1ea2c4;this[_0x44d959(0x1c6)](this[_0x44d959(0x155)][_0x44d959(0x12b)]['pipe'](_0x3c2b2f(()=>{const _0x1a3735=_0x44d959,_0x11e608=this[_0x1a3735(0x155)][_0x1a3735(0x11e)]();return _0x11e608?this[_0x1a3735(0x273)][_0x1a3735(0x268)](_0x11e608['getUnitId']()):_0x1da7a7(null);}),_0x3c2b2f(_0x29c0b0=>_0x29c0b0?_0x29c0b0['status$']:_0x1da7a7(_0x2b26de['NOT_COLLAB'])))['subscribe'](_0x12e538=>{const _0x14877e=_0x44d959;this[_0x14877e(0x1ba)][_0x14877e(0xf3)](_0x12e538);}));}['_initStatusComponent'](){const _0x274c9e=_0x1ea2c4;this['disposeWithMe'](this[_0x274c9e(0x1ed)]['registerComponent'](_0x3fb8e2[_0x274c9e(0x1d0)],()=>_0x40a413(Ki({'status$':this[_0x274c9e(0x1ba)][_0x274c9e(0x1dd)]()}),this[_0x274c9e(0x2ab)])));}};te=Gi([Q(0x0,_0x610794),Q(0x1,_0x2c28ac(_0x2ed78b)),Q(0x2,_0x2c28ac(_0x23b738)),Q(0x3,_0x3f3b82)],te);function Ki(_0x461047){const {status$:_0x114db5}=_0x461047;return function(){return _0x46fa34(Vi,{'status$':_0x114db5});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x422b14,_0x33e493,_0x577f80,_0x329ec5)=>{const _0x3b6afb=_0x1ea2c4;for(var _0x592345=_0x329ec5>0x1?void 0x0:_0x329ec5?zi(_0x33e493,_0x577f80):_0x33e493,_0x4adebb=_0x422b14[_0x3b6afb(0x13d)]-0x1,_0x1f371e;_0x4adebb>=0x0;_0x4adebb--)(_0x1f371e=_0x422b14[_0x4adebb])&&(_0x592345=_0x1f371e(_0x592345)||_0x592345);return _0x592345;},B=(_0x1030d0,_0x47f20f)=>(_0x119410,_0x5e3cf2)=>_0x47f20f(_0x119410,_0x5e3cf2,_0x1030d0);let se=class extends _0x5e7e9c{constructor(_0x18b148,_0x306b9e,_0x5598a4,_0x483b44,_0x39cdd3,_0x5fb265){const _0x1000f7=_0x1ea2c4;super(),this[_0x1000f7(0x209)]=_0x18b148,this[_0x1000f7(0x123)]=_0x306b9e,this[_0x1000f7(0x199)]=_0x5598a4,this[_0x1000f7(0xf9)]=_0x483b44,this[_0x1000f7(0x238)]=_0x39cdd3,this[_0x1000f7(0x149)]=_0x5fb265,this[_0x1000f7(0x136)](),this['_initEvent']();}[_0x1ea2c4(0x136)](){const _0x38b8be=_0x1ea2c4;this[_0x38b8be(0x1c6)](this[_0x38b8be(0x209)]['registerBeforeClose'](()=>{const _0x1a16a3=_0x38b8be;if(this[_0x1a16a3(0x123)]['saveTaskMap'][_0x1a16a3(0xdf)])return this[_0x1a16a3(0x149)]['t'](_0x1a16a3(0x15a));}));}[_0x1ea2c4(0x118)](){const _0xfc9123=_0x1ea2c4;this[_0xfc9123(0x1c6)](this[_0xfc9123(0x199)][_0xfc9123(0x25f)][_0xfc9123(0x13c)](_0x506713=>{const _0x38ba9d=_0xfc9123;_0x506713['id']===_0x3ded85[_0x38ba9d(0xdc)]&&this[_0x38ba9d(0xf9)][_0x38ba9d(0x2a5)]({'type':_0x4265c6['Warning'],'content':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x193))}),_0x506713['id']===_0x3ded85['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x4265c6[_0x38ba9d(0x18d)],'content':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x16f))}),_0x506713['id']===_0x3ded85['PERMISSION_DENIED']&&this[_0x38ba9d(0x238)][_0x38ba9d(0x2a5)]({'title':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x19b)),'content':this['_localeService']['t'](_0x38ba9d(0xf8)),'type':_0x38ba9d(0x21a),'duration':0x0}),_0x506713['id']===_0x3ded85[_0x38ba9d(0x24a)]&&this['_messageService'][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x2cb)],'content':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x16f))+'('+_0x506713[_0x38ba9d(0x221)]+')'}),_0x506713['id']===_0x3ded85[_0x38ba9d(0x29f)]&&this[_0x38ba9d(0xf9)][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x18d)],'content':this['_localeService']['t'](_0x506713[_0x38ba9d(0x221)]||'')}),_0x506713['id']===_0x3ded85['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x18d)],'content':this['_localeService']['t'](_0x38ba9d(0x19e))}),_0x506713['id']===_0x3ded85[_0x38ba9d(0x12e)]&&this['_messageService'][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x2cb)],'content':this['_localeService']['t'](_0x38ba9d(0x23b))}),_0x506713['id']===_0x3ded85[_0x38ba9d(0x236)]&&this[_0x38ba9d(0xf9)][_0x38ba9d(0x2a5)]({'type':_0x4265c6[_0x38ba9d(0x2cb)],'content':this[_0x38ba9d(0x149)]['t'](_0x38ba9d(0x165))});}));}};se=Ji([B(0x0,_0x2f9cbb),B(0x1,_0x499d1f),B(0x2,_0x2c28ac(_0x34d3bc)),B(0x3,_0xa0ddb0),B(0x4,_0x34bb3c),B(0x5,_0x2c28ac(_0x4a6cd3))],se);const Zi=_0x1ea2c4(0xdb),et={},Ut=_0x4f6e10(_0x1ea2c4(0x23f));var Qi=Object[_0x1ea2c4(0x29a)],qi=(_0x4fa061,_0x349943,_0x3c8160,_0x4897f9)=>{const _0x4e23e0=_0x1ea2c4;for(var _0x451924=_0x4897f9>0x1?void 0x0:_0x4897f9?Qi(_0x349943,_0x3c8160):_0x349943,_0x7e6c4=_0x4fa061[_0x4e23e0(0x13d)]-0x1,_0xea2e1d;_0x7e6c4>=0x0;_0x7e6c4--)(_0xea2e1d=_0x4fa061[_0x7e6c4])&&(_0x451924=_0xea2e1d(_0x451924)||_0x451924);return _0x451924;},G=(_0x217671,_0x54ab58)=>(_0x313b23,_0x14d4a7)=>_0x54ab58(_0x313b23,_0x14d4a7,_0x217671);let ie=class extends _0x15e0fe{constructor(_0x3ab5b6,_0x2db368,_0x6221f8,_0x2d3069,_0x30d6cb){const _0x592c29=_0x1ea2c4;super(),this[_0x592c29(0x159)]=_0x3ab5b6,this[_0x592c29(0x1c9)]=_0x2db368,this[_0x592c29(0x18c)]=_0x6221f8,this[_0x592c29(0x18a)]=_0x2d3069,_0x30d6cb?_0x30d6cb==null||_0x30d6cb[_0x592c29(0x127)]()['then'](()=>this[_0x592c29(0x28a)]()):(this[_0x592c29(0x1c9)][_0x592c29(0x216)]('[CollaborationDataLoaderController]',_0x592c29(0xda)),this[_0x592c29(0x28a)]());}async['_init'](){const _0x282130=_0x1ea2c4,_0x3cba99=this[_0x282130(0x159)][_0x282130(0x206)](_0x282130(0x245)),_0x49b53e=this[_0x282130(0x159)][_0x282130(0x206)](_0x282130(0x11d)),_0x26324e=this['_urlService'][_0x282130(0x206)]('subunit');if(!_0x3cba99||!_0x49b53e){this[_0x282130(0x1c9)]['debug'](_0x282130(0xe0),_0x282130(0x2c8));return;}const _0x4d028e=await this[_0x282130(0x18a)]['loadUnit'](_0x3cba99,Number(_0x49b53e),_0x26324e);_0x4d028e&&_0x4d028e instanceof _0x58fbb2&&this['_setupSubUnitSync'](_0x4d028e);}async[_0x1ea2c4(0x1be)](_0x1e6c12){const _0x5413e9=_0x1ea2c4;await this['_updateSubUnitFromURLParams'](_0x1e6c12),_0x1e6c12[_0x5413e9(0x256)][_0x5413e9(0x13f)](_0x4c6dcf(this[_0x5413e9(0x27e)]))[_0x5413e9(0x13c)](_0x17272b=>{_0x17272b&&this['_updateURLWithCurrentState'](_0x17272b);}),this['_urlService']['urlChange$'][_0x5413e9(0x13f)](_0x4c6dcf(this[_0x5413e9(0x27e)]))[_0x5413e9(0x13c)](()=>this['_updateSubUnitFromURLParams'](_0x1e6c12));}[_0x1ea2c4(0x1b5)](_0x128f69,_0x4f8855=!0x1){const _0x4dec57=_0x1ea2c4,_0x495200=this['_urlService'][_0x4dec57(0x206)]('subunit');_0x128f69[_0x4dec57(0xd0)]()!==_0x495200&&this[_0x4dec57(0x159)][_0x4dec57(0x1c8)](_0x4dec57(0x25a),_0x128f69[_0x4dec57(0xd0)](),_0x4f8855);}async[_0x1ea2c4(0x2aa)](_0x476c7b){const _0x12988e=_0x1ea2c4;var _0x21393f;const _0x231529=this[_0x12988e(0x159)][_0x12988e(0x206)](_0x12988e(0x25a));if(!_0x231529||!_0x476c7b[_0x12988e(0x10b)](_0x231529)){const _0x3cb11e=_0x476c7b[_0x12988e(0x22e)]()[0x0],_0xef3fa=_0x476c7b[_0x12988e(0x10b)](_0x3cb11e);if(!_0xef3fa)return;this['_updateURLWithCurrentState'](_0xef3fa,!0x0),await this['_commandService'][_0x12988e(0xfc)](_0xeabcb2['id'],{'unitId':_0x476c7b[_0x12988e(0x2b3)](),'subUnitId':_0x3cb11e});return;}((_0x21393f=_0x476c7b['getActiveSheet']())==null?void 0x0:_0x21393f[_0x12988e(0xd0)]())!==_0x231529&&await this['_commandService']['executeCommand'](_0xeabcb2['id'],{'unitId':_0x476c7b[_0x12988e(0x2b3)](),'subUnitId':_0x231529});}};ie=qi([G(0x0,Ut),G(0x1,_0x463af4),G(0x2,_0x2d7c40),G(0x3,_0x2c28ac(_0x5c1275)),G(0x4,_0x4825e0(_0x1b2577))],ie);var en=Object[_0x1ea2c4(0x29a)],tn=(_0x23fdfa,_0x2f7d93,_0x3dd8ab,_0x1c24a7)=>{for(var _0x5632e1=_0x1c24a7>0x1?void 0x0:_0x1c24a7?en(_0x2f7d93,_0x3dd8ab):_0x2f7d93,_0x33bd65=_0x23fdfa['length']-0x1,_0x3e543b;_0x33bd65>=0x0;_0x33bd65--)(_0x3e543b=_0x23fdfa[_0x33bd65])&&(_0x5632e1=_0x3e543b(_0x5632e1)||_0x5632e1);return _0x5632e1;},pe=(_0x571db8,_0x2e6f3f)=>(_0x5a9f6b,_0x5abbde)=>_0x2e6f3f(_0x5a9f6b,_0x5abbde,_0x571db8);let ne=class{constructor(_0xa935eb,_0x27184d,_0x6ab1bf){const _0x46bfab=_0x1ea2c4;this[_0x46bfab(0x2ab)]=_0xa935eb,this[_0x46bfab(0x11a)]=_0x27184d,this[_0x46bfab(0xf6)]=_0x6ab1bf;}[_0x1ea2c4(0xfa)](_0x45b024){const _0x2aa910=_0x1ea2c4;this[_0x2aa910(0xe5)](_0x45b024),this[_0x2aa910(0x190)](_0x45b024);}[_0x1ea2c4(0x1d7)](_0x52ba1e){const _0x35f2b6=_0x1ea2c4,{unitID:_0x3eb481}=_0x52ba1e,_0x41d6aa=this[_0x35f2b6(0xf6)][_0x35f2b6(0x20a)](_0x3eb481)[_0x35f2b6(0x167)](_0x46af31),{redoCache:_0x46825d}=_0x41d6aa['getUndoRedoMutationParamsCache']();if(_0x46825d[_0x35f2b6(0x13d)]===0x0)return _0x52ba1e;let _0xc99208=_0xd617dc[_0x35f2b6(0x1b3)](_0x52ba1e[_0x35f2b6(0x26f)][0x0]);for(let _0x49b9c5=0x0;_0x49b9c5<_0x46825d[_0x35f2b6(0x13d)];_0x49b9c5++){const _0x36c24d={'id':'doc.mutation.rich-text-editing','params':{..._0x46825d[_0x49b9c5]}},_0x1a4572=this[_0x35f2b6(0x11a)][_0x35f2b6(0x2a2)](_0xc99208,_0x36c24d,!0x1);if(_0x1280c2(_0x1a4572))throw _0x1a4572['error'];_0xc99208=_0x1a4572[_0x35f2b6(0x102)];}return{..._0xd617dc[_0x35f2b6(0x1b3)](_0x52ba1e),'mutations':[_0xc99208]};}[_0x1ea2c4(0xe5)](_0x54eeae){const _0x59c3a6=_0x1ea2c4,{unitID:_0x53e436}=_0x54eeae,_0x2a640a=this[_0x59c3a6(0xf6)][_0x59c3a6(0x20a)](_0x53e436)[_0x59c3a6(0x167)](_0x46af31),{undoCache:_0x4a66ac,redoCache:_0x1acbc6}=_0x2a640a[_0x59c3a6(0x158)]();if(_0x4a66ac['length']===0x0||_0x1acbc6[_0x59c3a6(0x13d)]===0x0)return;const _0x42f591=[],_0x465cb6=[];let _0x43bc20=_0xd617dc[_0x59c3a6(0x1b3)](_0x54eeae[_0x59c3a6(0x26f)][0x0]),_0x1a2764=_0xd617dc[_0x59c3a6(0x1b3)](_0x54eeae['mutations'][0x0]);for(let _0x283aeb=_0x4a66ac[_0x59c3a6(0x13d)]-0x1;_0x283aeb>=0x0;_0x283aeb--){const _0x16e4be={'id':_0x59c3a6(0x1ee),'params':{..._0x4a66ac[_0x283aeb]}},_0x28f443={'id':_0x59c3a6(0x1ee),'params':{..._0x1acbc6[_0x283aeb]}},_0x4546dc=this['_transformService'][_0x59c3a6(0x2a2)](_0x43bc20,_0x16e4be,!0x1),_0x54279f=this[_0x59c3a6(0x11a)][_0x59c3a6(0x2a2)](_0x1a2764,_0x28f443,!0x1);if(_0x1280c2(_0x4546dc))throw _0x4546dc['error'];if(_0x1280c2(_0x54279f))throw _0x54279f['error'];_0x42f591[_0x59c3a6(0x282)](_0x4546dc[_0x59c3a6(0x20b)][_0x59c3a6(0x116)]),_0x465cb6[_0x59c3a6(0x282)](_0x54279f['m2Prime'][_0x59c3a6(0x116)]),_0x43bc20=_0x4546dc[_0x59c3a6(0x102)],_0x1a2764=_0x54279f[_0x59c3a6(0x102)];}_0x2a640a[_0x59c3a6(0x299)]({'undoCache':_0x42f591,'redoCache':_0x465cb6});}[_0x1ea2c4(0x190)](_0x43c2ae){const _0x9ceeea=_0x1ea2c4,{unitID:_0xbef1f4}=_0x43c2ae,_0x4e39aa=this['_renderManagerService'][_0x9ceeea(0x20a)](_0xbef1f4)[_0x9ceeea(0x167)](_0x46af31),_0x2d8e14=_0x4e39aa['getActiveRange']();if(_0x2d8e14==null)return;const _0x54628e=[{'id':_0x9ceeea(0x1ee),'params':{'unitId':_0x43c2ae['unitID'],'actions':null,'textRanges':[_0x2d8e14]}}],_0x2bc654=this[_0x9ceeea(0x11a)]['transformMutationsWithChangeset'](_0x43c2ae,_0x54628e);if(!_0xb0953b(_0x2bc654))throw _0x2bc654['error'];const _0x20845c=_0x2bc654[_0x9ceeea(0x20b)][0x0][_0x9ceeea(0x116)][_0x9ceeea(0x287)];Array[_0x9ceeea(0x208)](_0x20845c)&&_0x20845c[_0x9ceeea(0x13d)]&&_0x4e39aa[_0x9ceeea(0x186)](_0x20845c[0x0]);}};ne=tn([pe(0x0,_0x2c28ac(_0x2ed78b)),pe(0x1,_0x1064e2),pe(0x2,_0x29a565)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x4e875d,_0x2f7f8f,_0xa5c3cf,_0x39655f)=>{const _0x2aef3c=_0x1ea2c4;for(var _0x25a292=_0x39655f>0x1?void 0x0:_0x39655f?sn(_0x2f7f8f,_0xa5c3cf):_0x2f7f8f,_0x1c27a2=_0x4e875d[_0x2aef3c(0x13d)]-0x1,_0x5c07e0;_0x1c27a2>=0x0;_0x1c27a2--)(_0x5c07e0=_0x4e875d[_0x1c27a2])&&(_0x25a292=_0x5c07e0(_0x25a292)||_0x25a292);return _0x25a292;},Ce=(_0x2eb2fb,_0x5374ea)=>(_0x4a35cb,_0x12b2ca)=>_0x5374ea(_0x4a35cb,_0x12b2ca,_0x2eb2fb);let re=class{constructor(_0x27f57e,_0x31c04e,_0x29fb30){const _0x2a8bbd=_0x1ea2c4;this[_0x2a8bbd(0x2ab)]=_0x27f57e,this[_0x2a8bbd(0x11a)]=_0x31c04e,this[_0x2a8bbd(0x24d)]=_0x29fb30;}[_0x1ea2c4(0x1e8)](_0x1c5c5d){const _0x68f556=_0x1ea2c4;this[_0x68f556(0x192)](_0x1c5c5d);}[_0x1ea2c4(0x1d7)](_0x316451){const _0x58efe3=_0x1ea2c4,{unitID:_0x225ebe}=_0x316451,{collaboration:_0x1df765}=this[_0x58efe3(0x24d)][_0x58efe3(0x1d5)](_0x225ebe);if(_0x1df765[_0x58efe3(0x13d)]===0x0)return _0x316451;let _0x40df57=_0xd617dc[_0x58efe3(0x1b3)](_0x316451['mutations'][0x0]);for(let _0x475dfe=0x0;_0x475dfe<_0x1df765[_0x58efe3(0x13d)];_0x475dfe++){const _0x84305b={'id':_0x58efe3(0x1ee),'params':{'unitId':_0x1df765[_0x475dfe][_0x58efe3(0x1a4)],..._0x1df765[_0x475dfe][_0x58efe3(0x241)]}},_0x148690=this[_0x58efe3(0x11a)][_0x58efe3(0x2a2)](_0x40df57,_0x84305b,!0x1);if(_0x1280c2(_0x148690))throw _0x148690[_0x58efe3(0x21a)];_0x40df57=_0x148690['m1Prime'];}return{..._0xd617dc[_0x58efe3(0x1b3)](_0x316451),'mutations':[_0x40df57]};}[_0x1ea2c4(0x192)](_0x4f54f3){const _0x143764=_0x1ea2c4,{unitID:_0x38c372}=_0x4f54f3,{history:_0x4257a9,collaboration:_0x34959e}=this[_0x143764(0x24d)][_0x143764(0x1d5)](_0x38c372);if(_0x4257a9['length']===0x0&&_0x34959e[_0x143764(0x13d)]===0x0)return;const _0x2b9c09=[],_0x182407=[];let _0x2647c0=_0xd617dc[_0x143764(0x1b3)](_0x4f54f3[_0x143764(0x26f)][0x0]),_0x2bce3a=_0xd617dc[_0x143764(0x1b3)](_0x4f54f3['mutations'][0x0]);for(let _0x2fba2f=_0x4257a9[_0x143764(0x13d)]-0x1;_0x2fba2f>=0x0;_0x2fba2f--){const _0x48ee1={'id':_0x143764(0x1ee),'params':{'unitId':_0x4257a9[_0x2fba2f][_0x143764(0x1a4)],..._0x4257a9[_0x2fba2f][_0x143764(0x1a8)]}},_0x396ede={'id':_0x143764(0x1ee),'params':{'unitId':_0x4257a9[_0x2fba2f][_0x143764(0x1a4)],..._0x4257a9[_0x2fba2f][_0x143764(0x241)]}},_0x356620=this[_0x143764(0x11a)][_0x143764(0x2a2)](_0x2647c0,_0x48ee1,!0x1),_0x2ba6c3=this[_0x143764(0x11a)]['transformMutation'](_0x2bce3a,_0x396ede,!0x1);if(_0x1280c2(_0x356620))throw _0x356620[_0x143764(0x21a)];if(_0x1280c2(_0x2ba6c3))throw _0x2ba6c3[_0x143764(0x21a)];_0x2b9c09['unshift']({..._0x4257a9[_0x2fba2f],'undoState':_0x356620[_0x143764(0x20b)][_0x143764(0x116)],'redoState':_0x2ba6c3[_0x143764(0x20b)][_0x143764(0x116)]}),_0x2647c0=_0x356620[_0x143764(0x102)],_0x2bce3a=_0x2ba6c3['m1Prime'];}_0x2647c0=_0xd617dc[_0x143764(0x1b3)](_0x4f54f3['mutations'][0x0]),_0x2bce3a=_0xd617dc[_0x143764(0x1b3)](_0x4f54f3['mutations'][0x0]);for(let _0x2cb5eb=_0x34959e['length']-0x1;_0x2cb5eb>=0x0;_0x2cb5eb--){const _0x1df1f9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34959e[_0x2cb5eb][_0x143764(0x1a4)],..._0x34959e[_0x2cb5eb][_0x143764(0x1a8)]}},_0x145154={'id':_0x143764(0x1ee),'params':{'unitId':_0x34959e[_0x2cb5eb]['unitId'],..._0x34959e[_0x2cb5eb][_0x143764(0x241)]}},_0x50e62c=this[_0x143764(0x11a)]['transformMutation'](_0x2647c0,_0x1df1f9,!0x1),_0x185e5f=this[_0x143764(0x11a)][_0x143764(0x2a2)](_0x2bce3a,_0x145154,!0x1);if(_0x1280c2(_0x50e62c))throw _0x50e62c[_0x143764(0x21a)];if(_0x1280c2(_0x185e5f))throw _0x185e5f[_0x143764(0x21a)];_0x182407[_0x143764(0x282)]({..._0x34959e[_0x2cb5eb],'undoState':_0x50e62c[_0x143764(0x20b)]['params'],'redoState':_0x185e5f[_0x143764(0x20b)][_0x143764(0x116)]}),_0x2647c0=_0x50e62c[_0x143764(0x102)],_0x2bce3a=_0x185e5f[_0x143764(0x102)];}this['_docStateChangeManagerService'][_0x143764(0x1aa)](_0x38c372,{'history':_0x2b9c09,'collaboration':_0x182407});}};re=nn([Ce(0x0,_0x2c28ac(_0x2ed78b)),Ce(0x1,_0x1064e2),Ce(0x2,_0x2c28ac(_0x4b06af))],re);var rn=Object[_0x1ea2c4(0x29a)],on=(_0x1d50e8,_0x19d252,_0x2ddb45,_0x351d13)=>{const _0x538650=_0x1ea2c4;for(var _0x2cc3a7=_0x351d13>0x1?void 0x0:_0x351d13?rn(_0x19d252,_0x2ddb45):_0x19d252,_0x291e71=_0x1d50e8[_0x538650(0x13d)]-0x1,_0x32d873;_0x291e71>=0x0;_0x291e71--)(_0x32d873=_0x1d50e8[_0x291e71])&&(_0x2cc3a7=_0x32d873(_0x2cc3a7)||_0x2cc3a7);return _0x2cc3a7;},tt=(_0x550626,_0x495571)=>(_0x337226,_0x56ce85)=>_0x495571(_0x337226,_0x56ce85,_0x550626);let oe=class{constructor(_0x314b4c,_0x5aee3e){const _0x4fdd64=_0x1ea2c4;this[_0x4fdd64(0x2ab)]=_0x314b4c,this[_0x4fdd64(0x11a)]=_0x5aee3e;}['transformSelections'](_0x3e8baa){const _0x1f59a0=_0x1ea2c4;var _0xef065b;const _0x2d7da5=this[_0x1f59a0(0x2ab)][_0x1f59a0(0x160)](_0x439c02),_0x152cf5=(_0xef065b=_0x2d7da5['getDocRanges']())!=null?_0xef065b:[];if(_0x152cf5[_0x1f59a0(0x13d)]===0x0)return;const _0x3a91ac=_0x3e8baa[_0x1f59a0(0x21d)],_0x3fd709=[{'id':_0x1f59a0(0x1ee),'params':{'unitId':_0x3a91ac,'actions':null,'textRanges':_0x152cf5}}],_0x5c7b0d=this[_0x1f59a0(0x11a)]['transformMutationsWithChangeset'](_0x3e8baa,_0x3fd709);if(!_0xb0953b(_0x5c7b0d))throw _0x5c7b0d[_0x1f59a0(0x21a)];const _0x31285c=_0x5c7b0d[_0x1f59a0(0x20b)][0x0][_0x1f59a0(0x116)]['textRanges'];Array['isArray'](_0x31285c)&&_0x31285c[_0x1f59a0(0x13d)]&&_0x2d7da5[_0x1f59a0(0x1af)](_0x31285c,{'unitId':_0x3a91ac,'subUnitId':_0x3a91ac},!0x1);}};oe=on([tt(0x0,_0x2c28ac(_0x2ed78b)),tt(0x1,_0x1064e2)],oe);var an=Object[_0x1ea2c4(0x29a)],cn=(_0xfbf903,_0x54b0f2,_0x260fe3,_0x300252)=>{const _0x3681aa=_0x1ea2c4;for(var _0x3cc4a7=_0x300252>0x1?void 0x0:_0x300252?an(_0x54b0f2,_0x260fe3):_0x54b0f2,_0x49c9b1=_0xfbf903[_0x3681aa(0x13d)]-0x1,_0x39f640;_0x49c9b1>=0x0;_0x49c9b1--)(_0x39f640=_0xfbf903[_0x49c9b1])&&(_0x3cc4a7=_0x39f640(_0x3cc4a7)||_0x3cc4a7);return _0x3cc4a7;},U=(_0x429134,_0x18ee8c)=>(_0x37386f,_0x115220)=>_0x18ee8c(_0x37386f,_0x115220,_0x429134);let ae=class extends _0x5e7e9c{constructor(_0x21bfe6,_0x49a95a,_0x42f461,_0x49a3df,_0x2adad8,_0x162f49,_0xe1f121,_0x306815){const _0x27546d=_0x1ea2c4;super(),_(this,_0x27546d(0x1ba),new _0x10a4a9(_0x2b26de[_0x27546d(0x15b)])),(this[_0x27546d(0x24d)]=_0x21bfe6,this['_collaborationController']=_0x49a95a,this[_0x27546d(0x169)]=_0x42f461,this[_0x27546d(0x176)]=_0x49a3df,this[_0x27546d(0x125)]=_0x2adad8,this[_0x27546d(0x1c4)]=_0x162f49,this[_0x27546d(0xf9)]=_0xe1f121,this[_0x27546d(0x149)]=_0x306815,this[_0x27546d(0x229)]());}[_0x1ea2c4(0x229)](){const _0x32e9a8=_0x1ea2c4;this[_0x32e9a8(0x1c6)](this['_collaborationController']['entityInit$'][_0x32e9a8(0x13c)](_0x3c28cf=>{const _0x1cea2a=_0x32e9a8,_0x39e6a6=this[_0x1cea2a(0x24d)]['docStateChange$'][_0x1cea2a(0x13c)](_0x34fa99=>{const _0x5ba332=_0x1cea2a;if(_0x34fa99==null)return;const {unitId:_0x53a626,redoState:_0x2f5dbc,commandId:_0x4803ec}=_0x34fa99;if(_0x53a626!==_0x3c28cf[_0x5ba332(0x21d)])return;const _0x2985ad={'id':_0x4803ec,'type':_0x1e0f44[_0x5ba332(0x2d2)],'params':{'unitId':_0x53a626,'actions':_0x2f5dbc[_0x5ba332(0x1a9)],'textRanges':null}};_0x3c28cf[_0x5ba332(0x225)](_0x2985ad);});if(_0x3c28cf['disposeWithMe'](_0x39e6a6),_0x3c28cf instanceof _0x4dd7d2){const _0x3fad86={'onTransformIME':_0x535f9d=>this['_docTransformIMECacheService'][_0x1cea2a(0xfa)](_0x535f9d),'onTransformState':_0x228e76=>this['_docTransformStateCacheService'][_0x1cea2a(0x1e8)](_0x228e76),'onTransformSelections':_0x151a32=>this[_0x1cea2a(0x125)]['transformSelections'](_0x151a32),'onSyncEditingCollabCursor':_0x3e0631=>this[_0x1cea2a(0x1c4)][_0x1cea2a(0x15d)](_0x3e0631),'onTransformRemoteChangesetByIMECache':_0x44738f=>this[_0x1cea2a(0x169)]['transformRemoteChangeset'](_0x44738f),'onTransformRemoteChangesetByStateCache':_0x24f95f=>this[_0x1cea2a(0x176)][_0x1cea2a(0x1d7)](_0x24f95f)};_0x3c28cf[_0x1cea2a(0x20e)](_0x3fad86);}}));}};ae=cn([U(0x0,_0x2c28ac(_0x4b06af)),U(0x1,_0x2c28ac(_0x23b738)),U(0x2,_0x2c28ac(ne)),U(0x3,_0x2c28ac(re)),U(0x4,_0x2c28ac(oe)),U(0x5,_0x2c28ac(He)),U(0x6,_0xa0ddb0),U(0x7,_0x2c28ac(_0x4a6cd3))],ae);var ln=Object[_0x1ea2c4(0x29a)],_n=(_0x2337cb,_0x123139,_0x5a2b0,_0x38a713)=>{const _0x3595b1=_0x1ea2c4;for(var _0xe05ad0=_0x38a713>0x1?void 0x0:_0x38a713?ln(_0x123139,_0x5a2b0):_0x123139,_0x3bf15c=_0x2337cb[_0x3595b1(0x13d)]-0x1,_0x337770;_0x3bf15c>=0x0;_0x3bf15c--)(_0x337770=_0x2337cb[_0x3bf15c])&&(_0xe05ad0=_0x337770(_0xe05ad0)||_0xe05ad0);return _0xe05ad0;},Ee=(_0x245f81,_0x5d5b13)=>(_0x4a1b33,_0x2be931)=>_0x5d5b13(_0x4a1b33,_0x2be931,_0x245f81);let we=class extends _0x5e7e9c{constructor(_0x802b41,_0x27e7e4,_0x49da73){const _0x7e0aeb=_0x1ea2c4;super(),_(this,_0x7e0aeb(0x2c2),new Map()),_(this,_0x7e0aeb(0x181),new Map()),_(this,_0x7e0aeb(0x246),!0x1),(this['_configService']=_0x802b41,this[_0x7e0aeb(0x178)]=_0x27e7e4,this['_revisionService']=_0x49da73);}[_0x1ea2c4(0x29b)](){this['_disabled']=!0x0;}[_0x1ea2c4(0x203)](){const _0x4465a3=_0x1ea2c4;this[_0x4465a3(0x246)]=!0x1;}get[_0x1ea2c4(0x220)](){const _0x448a92=_0x1ea2c4;return this[_0x448a92(0x181)];}[_0x1ea2c4(0x2ad)](){const _0x573b2c=_0x1ea2c4;this[_0x573b2c(0x255)]()[_0x573b2c(0x1df)](()=>super['dispose']());}async['loadOfflineData'](_0x2a4c13){const _0xf11c46=_0x1ea2c4;return this[_0xf11c46(0x246)]?null:this[_0xf11c46(0x178)][_0xf11c46(0x2bf)](_0xba75f3(_0x2a4c13));}async[_0x1ea2c4(0x1b4)](_0x2929ee,_0x318285){const _0x44b271=_0x1ea2c4;return!!this[_0x44b271(0x178)][_0x44b271(0x185)](_0x2929ee,_0x318285);}[_0x1ea2c4(0x278)](_0x4aa26e,_0x2db988,_0x826278,_0x86843a){const _0x454418=_0x1ea2c4,_0x28f481=this[_0x454418(0xf4)][_0x454418(0x29d)](_0x4aa26e);this[_0x454418(0x2c2)][_0x454418(0x19f)](_0x4aa26e,{'unitID':_0x4aa26e,'type':_0x2db988,'awaitingChangeset':_0x826278,'mutations':_0x86843a,'rev':_0x28f481}),this['_saveTaskMap'][_0x454418(0x1d3)](_0x4aa26e)||this['_scheduleSaving'](_0x4aa26e);}[_0x1ea2c4(0x109)](_0x17971b){const _0x279502=_0x1ea2c4,_0x3abf40=this['_getSaveTimeout']();_0x3abf40===0x0?this['_saveCache'](_0x17971b):this[_0x279502(0x181)][_0x279502(0x19f)](_0x17971b,setTimeout(()=>this[_0x279502(0x148)](_0x17971b),_0x3abf40));}['_getSaveTimeout'](){const _0xb921f5=_0x1ea2c4;var _0x22c396;return(_0x22c396=this[_0xb921f5(0x1c2)][_0xb921f5(0x26d)](_0xb57ae2))!=null?_0x22c396:_0x47642c;}[_0x1ea2c4(0x148)](_0xdcea61){const _0x4f5faa=_0x1ea2c4,_0xa90404=this[_0x4f5faa(0x181)][_0x4f5faa(0x160)](_0xdcea61);return _0xa90404!==void 0x0&&window[_0x4f5faa(0xec)](_0xa90404),this[_0x4f5faa(0x178)][_0x4f5faa(0x185)](_0xba75f3(_0xdcea61),this[_0x4f5faa(0x2c2)][_0x4f5faa(0x160)](_0xdcea61))['then'](()=>this[_0x4f5faa(0x181)][_0x4f5faa(0x2b0)](_0xdcea61));}async[_0x1ea2c4(0x255)](){const _0x5865a5=_0x1ea2c4,_0x3d2e17=[];this[_0x5865a5(0x181)][_0x5865a5(0x108)]((_0x16d987,_0x5e8b78)=>{const _0x550697=_0x5865a5;window['clearTimeout'](_0x16d987),_0x3d2e17[_0x550697(0x292)](this[_0x550697(0x148)](_0x5e8b78)[_0x550697(0x1df)](()=>{const _0x12f564=_0x550697;this[_0x12f564(0x181)][_0x12f564(0x2b0)](_0x5e8b78);}));}),await Promise['all'](_0x3d2e17);}};we=_n([Ee(0x0,_0x27f9c2),Ee(0x1,_0x69e3ca),Ee(0x2,_0x2c28ac(_0x101987))],we);class hn extends _0x15e0fe{constructor(){const _0x36a26c=_0x1ea2c4;super(),_(this,_0x36a26c(0x294)),this[_0x36a26c(0x294)]=_0xe1bcd6(window,_0x36a26c(0x1fa))[_0x36a26c(0x13f)](_0x4c6dcf(this[_0x36a26c(0x27e)]),_0xd67cdb(0x1),_0x3e61d7(void 0x0));}[_0x1ea2c4(0x1c8)](_0xcf764b,_0x55aa43,_0x41901e=!0x1){const _0x5eeb51=_0x1ea2c4,_0x21a406=new URL(window['location'][_0x5eeb51(0x23d)]);_0x21a406[_0x5eeb51(0x13a)][_0x5eeb51(0x19f)](_0xcf764b,_0x55aa43),_0x41901e?window[_0x5eeb51(0x135)][_0x5eeb51(0x129)]('','',_0x21a406['toString']()):window['history'][_0x5eeb51(0x253)]('','',_0x21a406[_0x5eeb51(0x195)]());}['removeParam'](_0x51d540,_0x3dadf7=!0x1){const _0x15f6a0=_0x1ea2c4,_0x3d3f28=new URL(window['location'][_0x15f6a0(0x23d)]);_0x3d3f28[_0x15f6a0(0x13a)]['delete'](_0x51d540),_0x3dadf7?window[_0x15f6a0(0x135)][_0x15f6a0(0x129)]('','',_0x3d3f28[_0x15f6a0(0x195)]()):window['history']['pushState']('','',_0x3d3f28['toString']());}['getParam'](_0x1d4b5b){const _0x39323c=_0x1ea2c4;var _0x4fd893;return(_0x4fd893=new URL(window[_0x39323c(0x297)][_0x39323c(0x23d)])['searchParams'][_0x39323c(0x160)](_0x1d4b5b))!=null?_0x4fd893:void 0x0;}}var un=Object[_0x1ea2c4(0x28b)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x14a035,_0x34c4ab,_0x3ea8e5)=>_0x34c4ab in _0x14a035?un(_0x14a035,_0x34c4ab,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ea8e5}):_0x14a035[_0x34c4ab]=_0x3ea8e5,Sn=(_0x13957f,_0x28431c,_0x18a004,_0x1568ce)=>{const _0x347b4c=_0x1ea2c4;for(var _0x4f9c5a=_0x1568ce>0x1?void 0x0:_0x1568ce?dn(_0x28431c,_0x18a004):_0x28431c,_0x5e49aa=_0x13957f[_0x347b4c(0x13d)]-0x1,_0x3e9883;_0x5e49aa>=0x0;_0x5e49aa--)(_0x3e9883=_0x13957f[_0x5e49aa])&&(_0x4f9c5a=_0x3e9883(_0x4f9c5a)||_0x4f9c5a);return _0x4f9c5a;},Oe=(_0x248c2c,_0x490085)=>(_0x4f4aad,_0x629f24)=>_0x490085(_0x4f4aad,_0x629f24,_0x248c2c),mn=(_0x4c2530,_0x2c4995,_0x50a5be)=>fn(_0x4c2530,_0x2c4995+'',_0x50a5be);const gn=_0x1ea2c4(0x1a2);let Ae=class extends _0x47280b{constructor(_0x2cc691=et,_0x2a6eed,_0x3a3d25,_0x323ba1){const _0x33732f=_0x1ea2c4;super(),this[_0x33732f(0x2b5)]=_0x2cc691,this[_0x33732f(0xf6)]=_0x2a6eed,this['_injector']=_0x3a3d25,this[_0x33732f(0x1c2)]=_0x323ba1;const {..._0x4ae3b2}=_0x488cf5({},et,this[_0x33732f(0x2b5)]);this[_0x33732f(0x1c2)][_0x33732f(0x19a)](Zi,_0x4ae3b2);}['onStarting'](){const _0x4db686=_0x1ea2c4;this[_0x4db686(0x27a)](),this[_0x4db686(0x215)]();}[_0x1ea2c4(0x177)](){this['_registerRenderDependencies']();}[_0x1ea2c4(0x27a)](){const _0x2f98e9=_0x1ea2c4;var _0x4025e1;const _0x531a61=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x555e4a,{'useClass':_0x44eec7}],[_0x499d1f,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x4703ee(this[_0x2f98e9(0x2ab)],_0x1ed3b1(_0x531a61,(_0x4025e1=this[_0x2f98e9(0x2b5)])==null?void 0x0:_0x4025e1[_0x2f98e9(0x1ae)]));}[_0x1ea2c4(0x24f)](){const _0x3e4a8e=_0x1ea2c4;this[_0x3e4a8e(0x1c6)](this[_0x3e4a8e(0xf6)][_0x3e4a8e(0x19d)](_0x1bd797[_0x3e4a8e(0x1c3)],[Pe])),this[_0x3e4a8e(0x1c6)](this[_0x3e4a8e(0xf6)][_0x3e4a8e(0x19d)](_0x1bd797[_0x3e4a8e(0x296)],[Le]));}[_0x1ea2c4(0x215)](){const _0xcef0a5=_0x1ea2c4;_0x530746(this[_0xcef0a5(0x2ab)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x1ea2c4(0x182),gn),Ae=Sn([_0x65fe66(_0x3a6109),Oe(0x1,_0x29a565),Oe(0x2,_0x2c28ac(_0x2ed78b)),Oe(0x3,_0x27f9c2)],Ae);var In=Object['getOwnPropertyDescriptor'],vn=(_0x5e3805,_0x1f37d3,_0x1beb17,_0x42a699)=>{const _0x2516a0=_0x1ea2c4;for(var _0x68745c=_0x42a699>0x1?void 0x0:_0x42a699?In(_0x1f37d3,_0x1beb17):_0x1f37d3,_0x5f1add=_0x5e3805[_0x2516a0(0x13d)]-0x1,_0x527b4c;_0x5f1add>=0x0;_0x5f1add--)(_0x527b4c=_0x5e3805[_0x5f1add])&&(_0x68745c=_0x527b4c(_0x68745c)||_0x68745c);return _0x68745c;},K=(_0x1f3316,_0x11536a)=>(_0x5ae2ff,_0x3d860b)=>_0x11536a(_0x5ae2ff,_0x3d860b,_0x1f3316);let st=class extends _0x1910af{constructor(_0x534753,_0xca84af,_0x4e1abf,_0x52b881,_0xfa884){super(_0x534753,_0xca84af,_0x4e1abf,_0x52b881,_0xfa884);}async['createSocket'](_0x54ea52){const _0x13270e=_0x1ea2c4,_0x4e28a0=await this[_0x13270e(0xe7)](),_0x479339=this['_createSocketURL'](_0x54ea52,_0x4e28a0);return this['_doCreateSocket'](_0x479339);}[_0x1ea2c4(0x1fc)](_0x3cf909,_0x5a92c7){const _0x3ad0e8=_0x1ea2c4,_0x22dfa0=typeof window>'u'?new URL(_0x3cf909):new URL(_0x3cf909,window[_0x3ad0e8(0x297)][_0x3ad0e8(0x24c)]);_0x22dfa0[_0x3ad0e8(0x13a)][_0x3ad0e8(0x19f)](_0x3ad0e8(0x105),_0x5a92c7);const _0x371525=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3ad0e8(0x297)][_0x3ad0e8(0x212)]);return _0x371525[_0x3ad0e8(0x160)]('runId')&&_0x22dfa0[_0x3ad0e8(0x13a)]['set']('runId',_0x371525[_0x3ad0e8(0x160)](_0x3ad0e8(0x219))),_0x22dfa0[_0x3ad0e8(0x195)]();}async[_0x1ea2c4(0xe7)](){const _0x4cb5da=_0x1ea2c4;var _0x1679b2,_0x57d81c,_0x25c848;const _0x5e8edb=this['_configService'][_0x4cb5da(0x26d)](_0x478b16),_0x523745=(_0x1679b2=_0x5e8edb==null?void 0x0:_0x5e8edb['wsSessionTicketUrl'])!=null?_0x1679b2:_0x2286bd;return(_0x25c848=(_0x57d81c=(await this['_httpService'][_0x4cb5da(0x160)](_0x523745,{'headers':{'Content-Type':_0x4cb5da(0xe8)}}))[_0x4cb5da(0x24b)])==null?void 0x0:_0x57d81c[_0x4cb5da(0x2b7)])!=null?_0x25c848:'';}};st=vn([K(0x0,_0x2c28ac(_0x2ed78b)),K(0x1,_0x2c28ac(_0x418212)),K(0x2,_0x27f9c2),K(0x3,_0x463af4),K(0x4,_0x470f49)],st);const it=0x7530,nt=_0x1ea2c4(0xd9);class jn extends _0x5e7e9c{constructor(){const _0x114000=_0x1ea2c4;super(),_(this,'_id',_0x3fb607()),_(this,_0x114000(0x1bc),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x114000(0x133),null),_(this,_0x114000(0x1d2),new Map()),_(this,_0x114000(0x1c7),new Map()),this['_init']();}[_0x1ea2c4(0x2ad)](){const _0x4a44f3=_0x1ea2c4;super[_0x4a44f3(0x2ad)](),this[_0x4a44f3(0x1d2)]['forEach']((_0x5ade59,_0x525e04)=>this[_0x4a44f3(0x15e)](_0x525e04)),this[_0x4a44f3(0x133)]&&window[_0x4a44f3(0x14d)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x4e83cf){const _0x30a128=_0x1ea2c4;return this[_0x30a128(0x1f5)](_0x4e83cf)[_0x30a128(0x13f)](_0x520fb6());}['editingUnit'](_0x449b78){const _0x334064=_0x1ea2c4;this['_selfUnitIDs'][_0x334064(0xdf)]===0x0&&this[_0x334064(0x137)](),this['_selfUnitIDs']['add'](_0x449b78),this[_0x334064(0x258)]({'type':0x0,'memberID':this[_0x334064(0xe6)],'unitIDs':[_0x449b78],'isForwarded':!0x1});}[_0x1ea2c4(0x124)](_0x1704ad){const _0x1b46cf=_0x1ea2c4;this['_selfUnitIDs'][_0x1b46cf(0x2b0)](_0x1704ad),this[_0x1b46cf(0x1bc)]['size']===0x0&&this[_0x1b46cf(0x133)]&&window[_0x1b46cf(0x14d)](this[_0x1b46cf(0x133)]);}[_0x1ea2c4(0x28a)](){const _0x46f4c5=_0x1ea2c4;this[_0x46f4c5(0x1c6)](_0x2d320c(_0xe1bcd6(window,_0x46f4c5(0xff))['subscribe'](_0x2c46bd=>{const _0x1b7482=_0x46f4c5;if(_0x2c46bd[_0x1b7482(0x239)]!==nt||!_0x2c46bd[_0x1b7482(0x1bf)])return;const _0x578001=JSON[_0x1b7482(0x2a3)](_0x2c46bd[_0x1b7482(0x1bf)]);this[_0x1b7482(0x111)](_0x578001);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x46f4c5(0xe6)],'unitIDs':Array['from'](this[_0x46f4c5(0x1bc)])}));}[_0x1ea2c4(0x111)](_0x5afbfb){const _0x368f2f=_0x1ea2c4;switch(_0x5afbfb[_0x368f2f(0x11d)]){case 0x0:this['_handleJoinEvent'](_0x5afbfb);break;case 0x1:this[_0x368f2f(0x284)](_0x5afbfb);break;case 0x2:this[_0x368f2f(0xde)](_0x5afbfb);break;}}[_0x1ea2c4(0x293)](_0x21029c){const _0x3cfa6b=_0x1ea2c4,{unitIDs:_0x5030eb,memberID:_0x4663da,isForwarded:_0x2c4f4e}=_0x21029c;_0x5030eb[_0x3cfa6b(0x108)](_0x3f0815=>{const _0x3217ee=_0x3cfa6b;if(!_0x2c4f4e&&this[_0x3217ee(0x179)]['has'](_0x3f0815)&&this[_0x3217ee(0x1f5)](_0x3f0815)['next'](_0x59f7ec['OTHER_CLIENTS_EDITING']),!this[_0x3217ee(0x179)]['has'](_0x3f0815)||!this[_0x3217ee(0x179)][_0x3217ee(0x160)](_0x3f0815)['has'](_0x4663da)){const _0x4aa1f4=this[_0x3217ee(0x179)][_0x3217ee(0x160)](_0x3f0815)||new Set();_0x4aa1f4[_0x3217ee(0xd4)](_0x4663da),this['_unitOnClients']['set'](_0x3f0815,_0x4aa1f4),this[_0x3217ee(0x16a)](_0x4663da);}}),_0x2c4f4e||this[_0x3cfa6b(0x258)]({'type':0x0,'memberID':this[_0x3cfa6b(0xe6)],'unitIDs':[...this[_0x3cfa6b(0x1bc)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xa88158){const _0x39077e=_0x1ea2c4;this[_0x39077e(0x15e)](_0xa88158);const _0x30fb59=window[_0x39077e(0x230)](()=>{this['_unitOnClients']['forEach'](_0x344d19=>{const _0x573de6=_0x3e8b;_0x344d19[_0x573de6(0x2b0)](_0xa88158);});},it*0x2);this[_0x39077e(0x1d2)]['set'](_0xa88158,_0x30fb59);}['_removeClearOtherTimer'](_0x5e2ad0){const _0x20486e=_0x1ea2c4;if(this[_0x20486e(0x1d2)]['has'](_0x5e2ad0)){const _0x6d08d5=this['_clearOtherTimers'][_0x20486e(0x160)](_0x5e2ad0);_0x6d08d5&&window[_0x20486e(0xec)](_0x6d08d5),this[_0x20486e(0x1d2)][_0x20486e(0x19f)](_0x5e2ad0,null);}}[_0x1ea2c4(0x284)](_0x3ebce1){const _0x336d02=_0x1ea2c4,{memberID:_0x1aef5f,unitIDs:_0x2adbf4}=_0x3ebce1;_0x2adbf4[_0x336d02(0x108)](_0x25f1eb=>{const _0x29ab63=_0x336d02;var _0x45b851;const _0x93418a=this['_unitOnClients']['get'](_0x25f1eb);_0x93418a&&(_0x93418a[_0x29ab63(0x2b0)](_0x1aef5f),(_0x45b851=this[_0x29ab63(0x1f5)](_0x25f1eb))==null||_0x45b851[_0x29ab63(0xf3)](_0x93418a[_0x29ab63(0xdf)]===0x0?_0x59f7ec[_0x29ab63(0x281)]:_0x59f7ec[_0x29ab63(0x2d0)]));}),this['_removeClearOtherTimer'](_0x1aef5f);}[_0x1ea2c4(0xde)](_0x462c2f){const _0x13e3a3=_0x1ea2c4;this[_0x13e3a3(0x16a)](_0x462c2f[_0x13e3a3(0x2a7)]);}[_0x1ea2c4(0x258)](_0x6df235){const _0x38f548=_0x1ea2c4;localStorage['setItem'](nt,JSON[_0x38f548(0xd2)](_0x6df235));}['_scheduleHeartbeat'](){const _0x5291da=_0x1ea2c4;this[_0x5291da(0x133)]=window['setInterval'](()=>{const _0x3edade=_0x5291da;this[_0x3edade(0x258)]({'type':0x2,'memberID':this['_id']});},it);}['_ensureSubject'](_0x883e38){const _0x55d77d=_0x1ea2c4;return this[_0x55d77d(0x1c7)]['has'](_0x883e38)||this[_0x55d77d(0x1c7)][_0x55d77d(0x19f)](_0x883e38,new _0x10a4a9(_0x59f7ec['NO_OTHER_CLIENTS_EDITING'])),this[_0x55d77d(0x1c7)][_0x55d77d(0x160)](_0x883e38);}}function _0x3e8b(_0x197f61,_0x5da11c){const _0x242c60=_0x242c();return _0x3e8b=function(_0x3e8b78,_0x4ace9a){_0x3e8b78=_0x3e8b78-0xcf;let _0x31569c=_0x242c60[_0x3e8b78];return _0x31569c;},_0x3e8b(_0x197f61,_0x5da11c);}var Mt=(_0x1e55a9=>(_0x1e55a9[_0x1e55a9['UNDEFINED']=0x0]=_0x1ea2c4(0x27d),_0x1e55a9[_0x1e55a9['OK']=0x1]='OK',_0x1e55a9[_0x1e55a9['INTERNAL_ERROR']=0x2]=_0x1ea2c4(0x139),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1a3)]=0x3]=_0x1ea2c4(0x1a3),_0x1e55a9[_0x1e55a9['NOT_FOUND']=0x4]=_0x1ea2c4(0x1b9),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x27c)]=0x5]=_0x1ea2c4(0x27c),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x27b)]=0x6]=_0x1ea2c4(0x27b),_0x1e55a9[_0x1e55a9['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x1e55a9[_0x1e55a9['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x132)]=0x9]=_0x1ea2c4(0x132),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x27f)]=0xa]=_0x1ea2c4(0x27f),_0x1e55a9[_0x1e55a9['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0xee)]=0x1771]=_0x1ea2c4(0xee),_0x1e55a9[_0x1e55a9['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x1ea2c4(0xf0),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x143)]=0x1773]=_0x1ea2c4(0x143),_0x1e55a9[_0x1e55a9['APPLY_REJECT']=0x1b59]=_0x1ea2c4(0xf1),_0x1e55a9[_0x1e55a9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1ea2c4(0x114),_0x1e55a9[_0x1e55a9['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1ea2c4(0x110),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x20c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x226)]=0x1b5d]=_0x1ea2c4(0x226),_0x1e55a9[_0x1e55a9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1ea2c4(0xcf),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x214)]=0x2329]=_0x1ea2c4(0x214),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x228)]=0x232a]=_0x1ea2c4(0x228),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x2b8)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x120)]=0x232c]=_0x1ea2c4(0x120),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x2a6)]=0x232d]=_0x1ea2c4(0x2a6),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x248)]=0x2711]=_0x1ea2c4(0x248),_0x1e55a9[_0x1e55a9['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1ea2c4(0x233),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x144)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x275)]=0x2714]=_0x1ea2c4(0x275),_0x1e55a9[_0x1e55a9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1ac)]=0x271b]=_0x1ea2c4(0x1ac),_0x1e55a9[_0x1e55a9['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1ea2c4(0x15c),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1b7)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x240)]=0x271e]=_0x1ea2c4(0x240),_0x1e55a9[_0x1e55a9['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x26c)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x164)]=0x2ee1]=_0x1ea2c4(0x164),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x202)]=0x2ee2]=_0x1ea2c4(0x202),_0x1e55a9[_0x1e55a9['INVITE_CODE_REQUIRED']=0x2ee3]=_0x1ea2c4(0xe4),_0x1e55a9[_0x1e55a9['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1ea2c4(0x289),_0x1e55a9[_0x1e55a9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1ec)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x1a7)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x269)]=0x32cb]=_0x1ea2c4(0x269),_0x1e55a9[_0x1e55a9[_0x1ea2c4(0x23e)]=-0x1]=_0x1ea2c4(0x23e),_0x1e55a9))(Mt||{}),pn=Object[_0x1ea2c4(0x29a)],Cn=(_0x2e06f4,_0x38235c,_0x3de329,_0x564f5d)=>{const _0x104afe=_0x1ea2c4;for(var _0xb0c273=_0x564f5d>0x1?void 0x0:_0x564f5d?pn(_0x38235c,_0x3de329):_0x38235c,_0x4c8e9d=_0x2e06f4[_0x104afe(0x13d)]-0x1,_0x550704;_0x4c8e9d>=0x0;_0x4c8e9d--)(_0x550704=_0x2e06f4[_0x4c8e9d])&&(_0xb0c273=_0x550704(_0xb0c273)||_0xb0c273);return _0xb0c273;},be=(_0x4dcb01,_0x280576)=>(_0x1cce7d,_0x425855)=>_0x280576(_0x1cce7d,_0x425855,_0x4dcb01);let rt=class extends _0x5e7e9c{constructor(_0x4c6952,_0x476f52,_0x593821){const _0x237eff=_0x1ea2c4;super(),this[_0x237eff(0x15f)]=_0x4c6952,this[_0x237eff(0x272)]=_0x476f52,this[_0x237eff(0x1c2)]=_0x593821;}async[_0x1ea2c4(0x16c)](_0x28b5fd,_0x50fca8,_0x328b6f,..._0x47cb68){const _0x313573=_0x1ea2c4;var _0x3c8101,_0x49859f,_0x521703,_0x600c34;const _0x56e826=this['_instanceService'][_0x313573(0x11e)]();if(!_0x56e826)throw new Error(_0x313573(0x184));const _0x4e16fe=((_0x3c8101=this[_0x313573(0x1c2)][_0x313573(0x26d)](_0x28ed06))!=null?_0x3c8101:_0x5cdf72)+'/'+_0x28b5fd+_0x313573(0x14f)+_0x50fca8,_0x16c611=new URL(window[_0x313573(0x297)]['href']),_0x46b5be={'scriptId':_0x28b5fd,'runId':(_0x49859f=_0x16c611[_0x313573(0x13a)]['get'](_0x313573(0x219)))!=null?_0x49859f:'','function':_0x50fca8,'unitId':_0x56e826[_0x313573(0x2b3)](),'argsOfFunction':JSON[_0x313573(0xd2)](_0x47cb68),'invokeId':(_0x521703=_0x328b6f['invokeId'])!=null?_0x521703:'','executionId':(_0x600c34=_0x328b6f[_0x313573(0x11f)])!=null?_0x600c34:''};try{const _0x5cde6c=await this[_0x313573(0x272)][_0x313573(0x171)](_0x4e16fe,{'body':_0x46b5be});return _0x5cde6c[_0x313573(0x24b)]['error']&&_0x5cde6c[_0x313573(0x24b)][_0x313573(0x21a)][_0x313573(0x25c)]!==Mt['OK']?'Failed':_0x5cde6c[_0x313573(0x24b)][_0x313573(0xe2)];}catch{return _0x313573(0x1bd);}}};rt=Cn([be(0x0,_0x610794),be(0x1,_0x2c28ac(_0x418212)),be(0x2,_0x27f9c2)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x4a9b73=_0x4899;(function(_0x16658e,_0x5a0048){const _0x249652=_0x4899,_0x355985=_0x16658e();while(!![]){try{const _0x520451=-parseInt(_0x249652(0x208))/0x1*(parseInt(_0x249652(0x166))/0x2)+-parseInt(_0x249652(0x23d))/0x3*(parseInt(_0x249652(0xec))/0x4)+parseInt(_0x249652(0x231))/0x5+-parseInt(_0x249652(0x281))/0x6+-parseInt(_0x249652(0x292))/0x7+-parseInt(_0x249652(0x278))/0x8*(-parseInt(_0x249652(0x26d))/0x9)+parseInt(_0x249652(0x1f5))/0xa*(parseInt(_0x249652(0x26b))/0xb);if(_0x520451===_0x5a0048)break;else _0x355985['push'](_0x355985['shift']());}catch(_0x2f9a29){_0x355985['push'](_0x355985['shift']());}}}(_0x54df,0xa7225));var $t=Object['defineProperty'],xt=(_0x50c67a,_0x2bfdc6,_0x1e7a72)=>_0x2bfdc6 in _0x50c67a?$t(_0x50c67a,_0x2bfdc6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e7a72}):_0x50c67a[_0x2bfdc6]=_0x1e7a72,_=(_0x40e4ce,_0x9cec1d,_0x398916)=>xt(_0x40e4ce,typeof _0x9cec1d!='symbol'?_0x9cec1d+'':_0x9cec1d,_0x398916);import{MemberService as _0x2d8be8,SessionStatus as _0xe08b52,CollaborationSessionService as _0x9e201,CollaborationStatus as _0x167395,CollaborationController as _0x7aeeca,ILocalCacheService as _0x27b901,CollaborationUIEventService as _0x14e4da,CollaborationUIEventId as _0x4ad9d4,DataLoaderService as _0x518104,DocCollaborationEntity as _0x175eda,getLocalCacheKey as _0x20acbd,LOCAL_CACHE_INTERVAL as _0x13bfee,LOCAL_CACHE_INTERVAL_KEY as _0x46d235,UniverCollaborationClientPlugin as _0x15233f,CollaborationSocketService as _0x366dd1,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x59f30c,DEFAULT_WS_SESSION_TICKET_URL as _0x5f12f9,UnitStatus as _0x13e2cd,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x7da6f6,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3beb12}from'@univerjs-pro/collaboration-client';function _0x4899(_0x35c4cf,_0x44d4d2){const _0x54df0c=_0x54df();return _0x4899=function(_0x4899c1,_0x51cb48){_0x4899c1=_0x4899c1-0xc3;let _0x371acf=_0x54df0c[_0x4899c1];return _0x371acf;},_0x4899(_0x35c4cf,_0x44d4d2);}import{RxDisposable as _0x43324a,Disposable as _0x3ca0d9,DOC_RANGE_TYPE as _0x193d3c,Inject as _0x5a910a,Injector as _0x315584,IUniverInstanceService as _0x3d2f4d,ICommandService as _0x125a4d,debounce as _0x42c593,Rectangle as _0x46521d,DisposableCollection as _0x56b3bc,toDisposable as _0x3efb45,UniverInstanceType as _0x4d90ef,Tools as _0x51c666,COLORS as _0x30dfd1,ColorKit as _0x18abcb,ThemeService as _0x40a3a8,fromEventSubject as _0xb20e27,LocaleService as _0x15a6bf,createIdentifier as _0x400d12,ILogService as _0x353efc,Optional as _0x405dd8,Workbook as _0x117e0c,CommandType as _0x5e5d3a,IConfigService as _0x34b4f6,ILocalStorageService as _0x11d7b1,DependentOn as _0x172a10,Plugin as _0x31e378,merge as _0x4ed531,registerDependencies as _0x5a2be1,mergeOverrideWithDependencies as _0x452377,touchDependencies as _0x4ea4eb,generateRandomId as _0x50162d}from'@univerjs/core';import{Shape as _0x4a9018,Rect as _0x55b9e3,getColor as _0x447506,RegularPolygon as _0x183296,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x20ee95,Vector2 as _0x1784a8,SHEET_VIEWPORT_KEY as _0x41ca54,IRenderManagerService as _0x164fdf}from'@univerjs/engine-render';import{ISocketService as _0x1d89e7,WebSocketService as _0x5e2d02,HTTPService as _0x497203}from'@univerjs/network';import{IDocClipboardService as _0x1da422,NodePositionConvertToCursor as _0x2fe4e1,NodePositionConvertToRectRange as _0xfbff7,TEXT_RANGE_LAYER_INDEX as _0x14bb2e,SetDocZoomRatioOperation as _0x6c535a,DocIMEInputManagerService as _0x4d8eea,DocStateChangeManagerService as _0x5c9ae2}from'@univerjs/docs-ui';import{IImageIoService as _0x5cf231}from'@univerjs/drawing';import{BehaviorSubject as _0x4ae7de,debounceTime as _0x1e1485,takeUntil as _0x2c1b93,Subject as _0x4552ef,filter as _0x3bb2b2,switchMap as _0x5d84ac,merge as _0x5f50c0,combineLatest as _0x3dba36,of as _0x12f8ad,fromEvent as _0x578952,shareReplay as _0x554e7a,mapTo as _0x5410f0,distinctUntilChanged as _0x2d4049}from'rxjs';import{SetTextSelectionsOperation as _0xafe29c,RichTextEditingMutation as _0x418958,DocSelectionManagerService as _0x277911,DocSkeletonManagerService as _0x155d5e}from'@univerjs/docs';import{ITransformService as _0x374c61,CollaborationEvent as _0x1680ab,isTransformMutationFailure as _0x5f38d2,isTransformMutationsWithChangesetSuccess as _0x1a68b3,RevisionService as _0x15d859,ISnapshotServerService as _0x3fe37c}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x370b2d,serializeRangeWithSheet as _0x827672}from'@univerjs/engine-formula';import{RefRangeService as _0x5e0628,SetSelectionsOperation as _0x417bbd,SheetsSelectionsService as _0x49f6d2,EffectRefRangId as _0x581f2e,handleIRemoveRow as _0x3ad8bf,handleIRemoveCol as _0x1d067d,handleMoveRange as _0x6bb816,handleInsertRow as _0x34548f,handleInsertRangeMoveRight as _0x2edcd3,handleInsertRangeMoveDown as _0x2b1548,handleInsertCol as _0x50bb6c,handleDeleteRangeMoveUp as _0x4b2b8b,handleDeleteRangeMoveLeft as _0x309e96,runRefRangeMutations as _0x24374a,SetWorksheetActivateCommand as _0x7515ad}from'@univerjs/sheets';import{map as _0x2f99f8,filter as _0x370354,throttleTime as _0x544c43,takeUntil as _0x2ba1c5,switchMap as _0x81e8fe}from'rxjs/operators';import{SheetSkeletonManagerService as _0x12d7f8,getCoordByCell as _0x3771ff,getSheetObject as _0x575758}from'@univerjs/sheets-ui';import{jsx as _0x5d61f1,jsxs as _0x5b1f6e}from'react/jsx-runtime';import{useObservable as _0x5bb2e8,useDependency as _0x4bf2cc,IUIPartsService as _0x10db63,BuiltInUIPart as _0x12c314,connectInjector as _0x4a72c4,IBeforeCloseService as _0x3e6ed3,IMessageService as _0x3be822,INotificationService as _0x4fd550}from'@univerjs/ui';import{Tooltip as _0x1de27a,clsx as _0x212ae4,MessageType as _0x4c15ba}from'@univerjs/design';import{forwardRef as _0x248f87,useRef as _0x298127,createElement as _0xc2cff4,useCallback as _0x43e35a}from'react';import{IRemoteInstanceService as _0x2ec166}from'@univerjs/rpc';var ci=Object[_0x4a9b73(0xc4)],li=(_0x4b808c,_0x54c2d3,_0x5df412,_0x54f2d1)=>{const _0x419061=_0x4a9b73;for(var _0x38250d=_0x54f2d1>0x1?void 0x0:_0x54f2d1?ci(_0x54c2d3,_0x5df412):_0x54c2d3,_0xde6649=_0x4b808c[_0x419061(0x190)]-0x1,_0x2f475c;_0xde6649>=0x0;_0xde6649--)(_0x2f475c=_0x4b808c[_0xde6649])&&(_0x38250d=_0x2f475c(_0x38250d)||_0x38250d);return _0x38250d;},Je=(_0x378a2f,_0x1ad0c3)=>(_0x20cfe3,_0x5da6a0)=>_0x1ad0c3(_0x20cfe3,_0x5da6a0,_0x378a2f);let Ne=class extends _0x43324a{constructor(_0x160c19,_0x50f5e3){const _0x2aa0e6=_0x4a9b73;super(),this[_0x2aa0e6(0x1eb)]=_0x160c19,this[_0x2aa0e6(0x1d6)]=_0x50f5e3,this[_0x2aa0e6(0x2bf)]();}[_0x4a9b73(0x2bf)](){const _0x16bcc3=_0x4a9b73,_0x5c582c=this;this[_0x16bcc3(0xc8)](this[_0x16bcc3(0x1eb)][_0x16bcc3(0x17c)]({'onBeforePasteImage':async _0x4dab10=>{const _0x1ddf72=_0x16bcc3,_0x17e01e=await _0x5c582c[_0x1ddf72(0x1d6)][_0x1ddf72(0x1cc)](_0x4dab10);return _0x17e01e?{'source':_0x17e01e[_0x1ddf72(0x16b)],'imageSourceType':_0x17e01e[_0x1ddf72(0x1ba)]}:null;}}));}};Ne=li([Je(0x0,_0x1da422),Je(0x1,_0x5cf231)],Ne);const Ze=['purple.300',_0x4a9b73(0x211),_0x4a9b73(0xeb),_0x4a9b73(0x22d),_0x4a9b73(0x1a6),_0x4a9b73(0x1b1)];class ke extends _0x3ca0d9{constructor(){const _0x1e34c2=_0x4a9b73;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x1e34c2(0xf4),0x0);}['assignAColorForMemberID'](_0x5901b1){const _0x49c793=_0x4a9b73;if(this[_0x49c793(0x121)][_0x49c793(0x1d7)](_0x5901b1))return this[_0x49c793(0x121)][_0x49c793(0x1fb)](_0x5901b1);const _0x52c327=Ze[this[_0x49c793(0xf4)]];return this[_0x49c793(0xf4)]=(this[_0x49c793(0xf4)]+0x1)%Ze['length'],this['_assignedColors'][_0x49c793(0x106)](_0x5901b1,_0x52c327),_0x52c327;}}function Tt(_0x248381){const _0x4b02da=_0x4a9b73;let _0x5070fc='';for(const _0x5107e1 of _0x248381){const {startOffset:_0x3972d5,endOffset:_0x2051b0,isActive:_0x2eb659,rangeType:_0x4c0e21,segmentId:_0x4c45de,segmentPage:_0xe3b4f7}=_0x5107e1;_0x5070fc[_0x4b02da(0x190)]&&(_0x5070fc+=','),_0x5070fc+=_0x3972d5+':'+_0x2051b0+':'+(_0x2eb659?'1':'0')+':'+_0x4c0e21+':'+_0x4c45de+':'+_0xe3b4f7;}return _0x5070fc;}function _i(_0x169e12){const _0x3014c0=_0x4a9b73,_0x2a80be=_0x169e12[_0x3014c0(0x2ad)](','),_0x16b190=[];for(const _0x2d5f0d of _0x2a80be){const [_0x5716b1,_0x3c9dc6,_0x562d12,_0x50993c,_0x22f81c,_0x259b9c]=_0x2d5f0d[_0x3014c0(0x2ad)](':');_0x16b190['push']({'startOffset':Number(_0x5716b1),'endOffset':Number(_0x3c9dc6),'collapsed':_0x5716b1===_0x3c9dc6,'isActive':_0x562d12==='1','rangeType':_0x50993c===_0x193d3c[_0x3014c0(0x18f)]?_0x193d3c[_0x3014c0(0x18f)]:_0x193d3c[_0x3014c0(0xf5)],'segmentId':typeof _0x22f81c==_0x3014c0(0xd9)?String(_0x22f81c):'','segmentPage':Number(_0x259b9c!=null?_0x259b9c:-0x1)});}return _0x16b190[_0x3014c0(0x296)](_0x180ec3=>_0x180ec3[_0x3014c0(0xce)])||(_0x16b190[0x0][_0x3014c0(0xce)]=!0x0),_0x16b190;}class He extends _0x43324a{constructor(){const _0x1b1f41=_0x4a9b73;super(...arguments),_(this,_0x1b1f41(0x277),new _0x4ae7de(null)),_(this,'collabCursorState$',this[_0x1b1f41(0x277)][_0x1b1f41(0x2bc)]());}[_0x4a9b73(0xe2)](_0x46307a){const _0x1558da=_0x4a9b73,{unitID:_0x26e883,memberID:_0xf0ebfe,textRanges:_0x50d06c}=_0x46307a,_0x37b449=Tt(_0x50d06c);if(_0x37b449==='')return;const _0x19d6c9={'unitID':_0x26e883,'memberID':_0xf0ebfe,'selection':_0x37b449};this[_0x1558da(0x277)][_0x1558da(0x21f)](_0x19d6c9);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x4ac629,_0x1433f6,_0x353b4f,_0x5f2385)=>{const _0x4a9049=_0x4a9b73;for(var _0x1ea9d0=_0x5f2385>0x1?void 0x0:_0x5f2385?hi(_0x1433f6,_0x353b4f):_0x1433f6,_0x2f3160=_0x4ac629[_0x4a9049(0x190)]-0x1,_0x4a7cca;_0x2f3160>=0x0;_0x2f3160--)(_0x4a7cca=_0x4ac629[_0x2f3160])&&(_0x1ea9d0=_0x4a7cca(_0x1ea9d0)||_0x1ea9d0);return _0x1ea9d0;},L=(_0x5ae919,_0x2022a3)=>(_0x52f737,_0x246a53)=>_0x2022a3(_0x52f737,_0x246a53,_0x5ae919);const di=0x12c,fi=0x64;let Ue=class extends _0x43324a{constructor(_0x2d2dc0,_0x2eb961,_0x28ddf6,_0x540461,_0x16dfdb,_0x5a44aa,_0x1ea72a,_0x1d6c04,_0x2e2a9c){const _0x5d56a4=_0x4a9b73;super(),_(this,_0x5d56a4(0xe1),!0x1),_(this,_0x5d56a4(0x2bf),!0x1),_(this,_0x5d56a4(0x220),new _0x4ae7de(new Map())),_(this,'cursorInfo$',this[_0x5d56a4(0x220)][_0x5d56a4(0x2bc)]()),_(this,'_roomMembers$',new _0x4ae7de([])),_(this,_0x5d56a4(0xfe),this['_roomMembers$'][_0x5d56a4(0x1c1)](_0x1e1485(di))),_(this,_0x5d56a4(0xd4),_0x42c593(_0xe88f43=>{const _0x349ab6=_0x5d56a4,_0x5848ef={'eventID':_0x1680ab['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x349ab6(0x153)][_0x349ab6(0x1f9)](),'selection':Tt(_0xe88f43)}};this[_0x349ab6(0x153)]['send'](_0x5848ef,this[_0x349ab6(0x15e)]);},fi)),(this[_0x5d56a4(0x15e)]=_0x2d2dc0,this['_session']=_0x2eb961,this[_0x5d56a4(0x23c)]=_0x28ddf6,this[_0x5d56a4(0x18b)]=_0x540461,this['_memberService']=_0x16dfdb,this['_syncEditingCollabCursorService']=_0x5a44aa,this[_0x5d56a4(0x20b)]=_0x1ea72a,this['_univerInstanceService']=_0x1d6c04,this[_0x5d56a4(0x189)]=_0x2e2a9c);}get[_0x4a9b73(0x294)](){const _0x298a51=_0x4a9b73;return this[_0x298a51(0x220)][_0x298a51(0x1fd)]();}get[_0x4a9b73(0x130)](){const _0x35eca7=_0x4a9b73;return this[_0x35eca7(0x271)][_0x35eca7(0x1fd)]();}[_0x4a9b73(0x197)](){const _0x1f483b=_0x4a9b73;super[_0x1f483b(0x197)](),this['_cursorInfo$']['next'](new Map()),this[_0x1f483b(0x220)][_0x1f483b(0x24a)](),this['_roomMembers$'][_0x1f483b(0x21f)]([]),this[_0x1f483b(0x271)][_0x1f483b(0x24a)]();}[_0x4a9b73(0x14a)](){const _0xbc127f=_0x4a9b73;this[_0xbc127f(0x2bf)]||(this[_0xbc127f(0x2bf)]=!0x0,this[_0xbc127f(0x153)][_0xbc127f(0x26c)]['pipe'](_0x2c1b93(this[_0xbc127f(0x282)]))[_0xbc127f(0x257)](_0x3dee96=>{const _0x37abdc=_0xbc127f;_0x3dee96===_0xe08b52[_0x37abdc(0x27e)]?this['_toggleOnline']():this[_0x37abdc(0x1e0)]();}),this[_0xbc127f(0x153)][_0xbc127f(0x11c)][_0xbc127f(0x1c1)](_0x2c1b93(this[_0xbc127f(0x282)]))[_0xbc127f(0x257)](_0x4319e2=>{const _0x35aa19=_0xbc127f,_0x22a330=_0x4319e2[_0x35aa19(0x1c9)];_0x22a330===_0x1680ab[_0x35aa19(0x1da)]&&this[_0x35aa19(0x160)](_0x4319e2),_0x22a330===_0x1680ab['USERS_LEAVE']&&this['_onCursorDelete'](_0x4319e2);}),this['disposeWithMe'](this[_0xbc127f(0x189)][_0xbc127f(0x269)](_0x25dbc0=>{const _0xc35cc9=_0xbc127f,_0x46ec9a=_0x25dbc0['params'];_0x46ec9a!=null&&this[_0xc35cc9(0xe1)]&&_0x25dbc0['id']===_0xafe29c['id']&&_0x46ec9a[_0xc35cc9(0x172)]===this['unitID']&&_0x46ec9a['isEditing']===!0x1&&_0x46ec9a[_0xc35cc9(0x21c)][_0xc35cc9(0x190)]>0x0&&this['_updateLocalCursor'](_0x46ec9a[_0xc35cc9(0x21c)]);})),this[_0xbc127f(0x230)]['collabCursorState$'][_0xbc127f(0x1c1)](_0x2c1b93(this['dispose$']))[_0xbc127f(0x257)](_0x51334f=>{const _0x9cc73a=_0xbc127f;if((_0x51334f==null?void 0x0:_0x51334f[_0x9cc73a(0x15e)])!==this[_0x9cc73a(0x15e)])return;const _0x11fe8a={'eventID':_0x1680ab['UPDATE_CURSOR'],'data':_0x51334f};this[_0x9cc73a(0x160)](_0x11fe8a);}),this[_0xbc127f(0xc8)](this[_0xbc127f(0x189)][_0xbc127f(0x269)](_0x21fc4c=>{const _0x2d3fce=_0xbc127f;if(_0x21fc4c[_0x2d3fce(0x15c)]==null)return;const _0x3ce84d=_0x21fc4c[_0x2d3fce(0x15c)];if(_0x21fc4c['id']!==_0x418958['id']||_0x3ce84d[_0x2d3fce(0x172)]!==this[_0x2d3fce(0x15e)])return;const _0x52ebad={'id':'doc.mutation.rich-text-editing','params':_0x3ce84d},_0x32a4b0=this['cursorInfo'];for(const [_0xb3ac9f,_0x2a50fa]of _0x32a4b0){const _0x3dc68d={'id':_0x2d3fce(0x24e),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2a50fa[_0x2d3fce(0x21c)]}},_0x1b035a=this[_0x2d3fce(0x20b)]['transformMutation'](_0x52ebad,_0x3dc68d,!0x1);if(_0x5f38d2(_0x1b035a))throw _0x1b035a[_0x2d3fce(0x25e)];_0x32a4b0[_0x2d3fce(0x106)](_0xb3ac9f,{..._0x2a50fa,'ranges':_0x1b035a[_0x2d3fce(0xdb)][_0x2d3fce(0x15c)][_0x2d3fce(0x207)]});}queueMicrotask(()=>{const _0x4cc66b=_0x2d3fce;this[_0x4cc66b(0x220)][_0x4cc66b(0x21f)](_0x32a4b0);});})));}[_0x4a9b73(0x160)](_0x1e85c1){const _0x57c731=_0x4a9b73;var _0x56d0f2,_0x1a0fd3;const {memberID:_0x16b461,selection:_0x359674}=_0x1e85c1[_0x57c731(0x29c)],_0x4264b7=_i(_0x359674),_0x4ec472=(_0x1a0fd3=(_0x56d0f2=this[_0x57c731(0x196)]['getMember'](this[_0x57c731(0x15e)],_0x16b461))==null?void 0x0:_0x56d0f2[_0x57c731(0x1ae)])!=null?_0x1a0fd3:_0x57c731(0x267),_0x3153c7={'color':this['_colorAssignService'][_0x57c731(0x117)](_0x16b461),'name':_0x4ec472,'ranges':_0x4264b7},_0x3040cd=this[_0x57c731(0x294)];_0x3040cd[_0x57c731(0x106)](_0x16b461,_0x3153c7),this['_cursorInfo$'][_0x57c731(0x21f)](_0x3040cd);}[_0x4a9b73(0x25d)](_0x226fac){const _0xd37064=_0x4a9b73,{memberID:_0x283f98}=_0x226fac['data'],_0x2ea933=this[_0xd37064(0x294)];_0x2ea933['delete'](_0x283f98),this[_0xd37064(0x220)]['next'](_0x2ea933);}[_0x4a9b73(0x262)](){const _0x14840e=_0x4a9b73;var _0x4b51ed;if(this[_0x14840e(0xe1)]=!0x0,((_0x4b51ed=this[_0x14840e(0x283)][_0x14840e(0x115)]())==null?void 0x0:_0x4b51ed[_0x14840e(0x1ce)]())!==this[_0x14840e(0x15e)])return;const _0x4c91d0=this[_0x14840e(0x23c)][_0x14840e(0x1fb)](_0x277911)['getDocRanges']();Array[_0x14840e(0x1fc)](_0x4c91d0)&&_0x4c91d0[_0x14840e(0x190)]>0x0&&this['_updateLocalCursor'](_0x4c91d0);}[_0x4a9b73(0x1e0)](){const _0x2ee6b5=_0x4a9b73;this[_0x2ee6b5(0xe1)]=!0x1;}};Ue=ui([L(0x2,_0x5a910a(_0x315584)),L(0x3,_0x5a910a(ke)),L(0x4,_0x5a910a(_0x2d8be8)),L(0x5,_0x5a910a(He)),L(0x6,_0x374c61),L(0x7,_0x3d2f4d),L(0x8,_0x125a4d)],Ue);var Si=Object[_0x4a9b73(0xc4)],mi=(_0x465ae6,_0x375afa,_0x1082b2,_0x416cad)=>{const _0x3e6684=_0x4a9b73;for(var _0x372d6f=_0x416cad>0x1?void 0x0:_0x416cad?Si(_0x375afa,_0x1082b2):_0x375afa,_0x283f75=_0x465ae6[_0x3e6684(0x190)]-0x1,_0xde1d40;_0x283f75>=0x0;_0x283f75--)(_0xde1d40=_0x465ae6[_0x283f75])&&(_0x372d6f=_0xde1d40(_0x372d6f)||_0x372d6f);return _0x372d6f;},x=(_0x42c58a,_0x3b2380)=>(_0xc9cdb5,_0x34f704)=>_0x3b2380(_0xc9cdb5,_0x34f704,_0x42c58a);const gi=0x12c,Ii=0x64,vi=()=>{let _0x16b056=[],_0x2bfb43=!0x1;return _0x2a5847=>{const _0x153bcf=_0x4899;_0x16b056[_0x153bcf(0x24c)](_0x2a5847),_0x2bfb43||(_0x2bfb43=!0x0,setTimeout(()=>{const _0x31330e=_0x153bcf;_0x16b056[_0x31330e(0x263)](_0x1c42db=>_0x1c42db()),_0x16b056=[],_0x2bfb43=!0x1;}));};};let Me=class extends _0x43324a{constructor(_0x58fa16,_0x3503d9,_0x427615,_0x87bd0d,_0x5b2b10,_0x3eccfc,_0x5bc96b,_0x3aceb5){const _0x19723e=_0x4a9b73;super(),_(this,'_online',!0x1),_(this,_0x19723e(0x2bf),!0x1),_(this,'_cursorInfo$',new _0x4ae7de(new Map())),_(this,_0x19723e(0x261),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x4ae7de([])),_(this,_0x19723e(0xfe),this[_0x19723e(0x271)][_0x19723e(0x1c1)](_0x1e1485(gi))),_(this,'_updateLocalCursor',_0x42c593((_0x1bb95a,_0x9d489f)=>{const _0x18d69c=_0x19723e,_0x47af21={'eventID':_0x1680ab[_0x18d69c(0x1da)],'data':{'unitID':this[_0x18d69c(0x15e)],'memberID':this[_0x18d69c(0x153)]['getMemberID'](),'selection':_0x827672(_0x1bb95a,_0x9d489f['range'])}};this[_0x18d69c(0x153)]['send'](_0x47af21,this[_0x18d69c(0x15e)]);},Ii)),(this[_0x19723e(0x15e)]=_0x58fa16,this[_0x19723e(0x153)]=_0x3503d9,this['_injector']=_0x427615,this[_0x19723e(0x18b)]=_0x87bd0d,this[_0x19723e(0x196)]=_0x5b2b10,this['_univerInstanceService']=_0x3eccfc,this[_0x19723e(0x189)]=_0x5bc96b,this[_0x19723e(0x2a0)]=_0x3aceb5);}get[_0x4a9b73(0x294)](){const _0x4c65fc=_0x4a9b73;return this[_0x4c65fc(0x220)][_0x4c65fc(0x1fd)]();}get[_0x4a9b73(0x130)](){const _0x4a008f=_0x4a9b73;return this['_roomMembers$'][_0x4a008f(0x1fd)]();}['dispose'](){const _0x462067=_0x4a9b73;super[_0x462067(0x197)](),this[_0x462067(0x220)][_0x462067(0x21f)](new Map()),this[_0x462067(0x220)][_0x462067(0x24a)](),this[_0x462067(0x271)][_0x462067(0x21f)]([]),this[_0x462067(0x271)][_0x462067(0x24a)]();}[_0x4a9b73(0x14a)](){const _0x72d968=_0x4a9b73;this['_init']||(this[_0x72d968(0x2bf)]=!0x0,this[_0x72d968(0x153)][_0x72d968(0x26c)][_0x72d968(0x1c1)](_0x2c1b93(this['dispose$']))[_0x72d968(0x257)](_0x1505dd=>{const _0x1f0d0f=_0x72d968;_0x1505dd===_0xe08b52[_0x1f0d0f(0x27e)]?this[_0x1f0d0f(0x262)]():this[_0x1f0d0f(0x1e0)]();}),this[_0x72d968(0x153)][_0x72d968(0x11c)][_0x72d968(0x1c1)](_0x2c1b93(this[_0x72d968(0x282)]))[_0x72d968(0x257)](_0x580322=>{const _0x138a53=_0x72d968,_0x365e32=_0x580322[_0x138a53(0x1c9)];_0x365e32===_0x1680ab[_0x138a53(0x1da)]&&this[_0x138a53(0x160)](_0x580322),_0x365e32===_0x1680ab[_0x138a53(0x1fe)]&&this[_0x138a53(0x25d)](_0x580322);}),this[_0x72d968(0x1fa)](),this[_0x72d968(0xc8)](this[_0x72d968(0x189)][_0x72d968(0x269)](_0x3b0984=>{const _0x1770ff=_0x72d968;if(this['_online']&&_0x3b0984['id']===_0x417bbd['id']&&_0x3b0984[_0x1770ff(0x15c)][_0x1770ff(0x172)]===this['unitID']){const _0x5d292b=_0x3b0984[_0x1770ff(0x15c)];this[_0x1770ff(0xd4)](_0x5d292b[_0x1770ff(0x239)],_0x5d292b[_0x1770ff(0x236)][0x0]);}})));}['_onCursorUpdate'](_0x3aec43){const _0x11a7c1=_0x4a9b73;var _0x592f36,_0x3102cc;const {memberID:_0x582045,selection:_0xa4bd73}=_0x3aec43[_0x11a7c1(0x29c)],{sheetName:_0x31b12a,range:_0x31c840}=_0x370b2d(_0xa4bd73),_0x5813c3={'name':(_0x3102cc=(_0x592f36=this[_0x11a7c1(0x196)]['getMember'](this['unitID'],_0x582045))==null?void 0x0:_0x592f36[_0x11a7c1(0x1ae)])!=null?_0x3102cc:_0x11a7c1(0x267),'range':this['_getMergeRange'](_0x31b12a,_0x31c840),'sheetID':_0x31b12a,'color':this[_0x11a7c1(0x18b)][_0x11a7c1(0x117)](_0x582045),'selection':_0xa4bd73},_0x3b48fa=this[_0x11a7c1(0x294)];_0x3b48fa[_0x11a7c1(0x106)](_0x582045,_0x5813c3),this[_0x11a7c1(0x220)][_0x11a7c1(0x21f)](_0x3b48fa);}[_0x4a9b73(0x25d)](_0x3c71e7){const _0x99ec17=_0x4a9b73,{memberID:_0x36ca03}=_0x3c71e7[_0x99ec17(0x29c)],_0x4ec010=this[_0x99ec17(0x294)];_0x4ec010[_0x99ec17(0x19f)](_0x36ca03),this['_cursorInfo$'][_0x99ec17(0x21f)](_0x4ec010);}[_0x4a9b73(0xde)](_0x5d6815,_0x166dff){const _0x33b78e=_0x4a9b73;var _0x572355,_0x31e83f;const _0x4f96ac=(_0x31e83f=(_0x572355=this['_univerInstanceService'][_0x33b78e(0x223)](this[_0x33b78e(0x15e)]))==null?void 0x0:_0x572355[_0x33b78e(0x24b)](_0x5d6815))==null?void 0x0:_0x31e83f[_0x33b78e(0xd3)]();return(_0x4f96ac==null?void 0x0:_0x4f96ac['find'](_0x1e9485=>_0x46521d[_0x33b78e(0x2b1)](_0x1e9485,_0x166dff)))||_0x166dff;}['_onRefRangeChange'](){const _0x583a79=_0x4a9b73,_0x1004af=new _0x56b3bc(),_0x4272f2=vi(),_0x55e304=()=>{const _0x16940f=_0x4899;_0x1004af[_0x16940f(0x197)]();const _0x60885=(_0x32eae4,_0x204394,_0x55c233,_0x32dfbb)=>{const _0x1f832b=_0x16940f;let _0x517006=[];switch(_0x32eae4['id']){case _0x581f2e[_0x1f832b(0x266)]:{_0x517006=_0x309e96(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0x1ab)]:{_0x517006=_0x4b2b8b(_0x32eae4,_0x32dfbb);break;}case _0x581f2e['InsertColCommandId']:{_0x517006=_0x50bb6c(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0x101)]:{_0x517006=_0x2b1548(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0x140)]:{_0x517006=_0x2edcd3(_0x32eae4,_0x32dfbb);break;}case _0x581f2e['InsertRowCommandId']:{_0x517006=_0x34548f(_0x32eae4,_0x32dfbb);break;}case _0x581f2e['MoveRangeCommandId']:{_0x517006=_0x6bb816(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0x170)]:{_0x517006=_0x1d067d(_0x32eae4,_0x32dfbb);break;}case _0x581f2e[_0x1f832b(0xfa)]:{_0x517006=_0x3ad8bf(_0x32eae4,_0x32dfbb);break;}}const _0x527cc9=_0x24374a(_0x517006,_0x32dfbb),_0xee007d=this['cursorInfo'][_0x1f832b(0x1fb)](_0x204394);if(_0xee007d&&_0x527cc9){const _0x71c11a={..._0xee007d,'range':_0x527cc9};this[_0x1f832b(0x294)][_0x1f832b(0x106)](_0x204394,_0x71c11a),_0x4272f2(()=>{const _0x461dd7=_0x1f832b,_0x4a7302=this[_0x461dd7(0x2a0)][_0x461dd7(0xf6)](_0x527cc9,_0x3bdaa0=>(_0x4a7302[_0x461dd7(0x197)](),_0x60885(_0x3bdaa0,_0x204394,_0x55c233,_0x527cc9)));_0x1004af[_0x461dd7(0x29f)](_0x4a7302);});}return{'redos':[],'undos':[]};};this[_0x16940f(0x294)][_0x16940f(0x263)]((_0xdd0da9,_0x3bdc5e)=>{const _0x5469e3=_0x16940f,{range:_0x1c5cfb,sheetID:_0x2b2cb3}=_0xdd0da9,_0x452317=this[_0x5469e3(0x2a0)][_0x5469e3(0xf6)](_0x1c5cfb,_0x24e629=>(_0x452317[_0x5469e3(0x197)](),_0x60885(_0x24e629,_0x3bdc5e,_0x2b2cb3,_0x1c5cfb)));_0x1004af[_0x5469e3(0x29f)](_0x452317);});};this[_0x583a79(0xc8)](_0x3efb45(this['_cursorInfo$'][_0x583a79(0x257)](()=>{_0x55e304();})));}[_0x4a9b73(0x262)](){const _0x47b162=_0x4a9b73;var _0x5d9e5b,_0x1d04c8;if(this['_online']=!0x0,((_0x5d9e5b=this[_0x47b162(0x283)][_0x47b162(0x115)]())==null?void 0x0:_0x5d9e5b['getUnitId']())!==this['unitID'])return;const _0x335e32=(_0x1d04c8=this['_injector'][_0x47b162(0x1fb)](_0x49f6d2)['getCurrentSelections']())==null?void 0x0:_0x1d04c8[0x0],_0x2d5c57=this[_0x47b162(0x283)][_0x47b162(0x1cf)](_0x4d90ef[_0x47b162(0x13c)])['getActiveSheet']();_0x335e32&&_0x2d5c57&&this['_updateLocalCursor'](_0x2d5c57[_0x47b162(0x23e)](),_0x335e32);}[_0x4a9b73(0x1e0)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x5a910a(_0x315584)),x(0x3,_0x5a910a(ke)),x(0x4,_0x5a910a(_0x2d8be8)),x(0x5,_0x3d2f4d),x(0x6,_0x125a4d),x(0x7,_0x5a910a(_0x5e0628))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x79a2c2,_0x5c64a1,_0x5aa2ec,_0x48445b)=>{const _0x17db7e=_0x4a9b73;for(var _0x50b981=_0x48445b>0x1?void 0x0:_0x48445b?pi(_0x5c64a1,_0x5aa2ec):_0x5c64a1,_0x3904c3=_0x79a2c2[_0x17db7e(0x190)]-0x1,_0x1dbaf1;_0x3904c3>=0x0;_0x3904c3--)(_0x1dbaf1=_0x79a2c2[_0x3904c3])&&(_0x50b981=_0x1dbaf1(_0x50b981)||_0x50b981);return _0x50b981;},Se=(_0x1c9627,_0x231c40)=>(_0x23b42a,_0x42f0c9)=>_0x231c40(_0x23b42a,_0x42f0c9,_0x1c9627);let H=class extends _0x43324a{constructor(_0x1b997e,_0x3126ba,_0x23fa04){const _0x16938d=_0x4a9b73;super(),_(this,_0x16938d(0x1bc),new Map()),_(this,'_entityInit$',new _0x4552ef()),(this[_0x16938d(0x283)]=_0x1b997e,this[_0x16938d(0x23c)]=_0x3126ba,this[_0x16938d(0x298)]=_0x23fa04,this[_0x16938d(0x2bf)]());}['dispose'](){const _0x2a09b1=_0x4a9b73;super[_0x2a09b1(0x197)](),this[_0x2a09b1(0x143)][_0x2a09b1(0x24a)](),this[_0x2a09b1(0x1bc)]['forEach'](_0x4e510d=>_0x4e510d['dispose']());}[_0x4a9b73(0x15d)](_0x5163da){const _0x1823da=_0x4a9b73;return this[_0x1823da(0x1bc)][_0x1823da(0x1d7)](_0x5163da)?this[_0x1823da(0x1bc)][_0x1823da(0x1fb)](_0x5163da)[_0x1823da(0x261)]:this[_0x1823da(0x143)][_0x1823da(0x1c1)](_0x3bb2b2(_0x3719c2=>_0x3719c2[_0x1823da(0x15e)]===_0x5163da),_0x5d84ac(_0x16ea44=>_0x16ea44[_0x1823da(0x261)]));}['_init'](){const _0x226520=_0x4a9b73;this[_0x226520(0x283)][_0x226520(0x1ca)](_0x4d90ef[_0x226520(0x13c)])[_0x226520(0x1c1)](_0x2c1b93(this[_0x226520(0x282)]))[_0x226520(0x257)](async _0x307c2b=>{const _0x31975b=_0x226520,_0x3ff53c=_0x307c2b[_0x31975b(0x1ce)](),_0x2787bf=await this[_0x31975b(0x259)](_0x3ff53c);this[_0x31975b(0x143)][_0x31975b(0x21f)](_0x2787bf),this[_0x31975b(0x1bc)]['set'](_0x3ff53c,_0x2787bf);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x4d90ef['UNIVER_DOC'])[_0x226520(0x1c1)](_0x2c1b93(this[_0x226520(0x282)]))[_0x226520(0x1c1)](_0x3bb2b2(_0x458504=>!_0x458504['getUnitId']()[_0x226520(0x1ac)]('__')))[_0x226520(0x257)](async _0x3c26ad=>{const _0x31fcbf=_0x226520,_0x325545=_0x3c26ad[_0x31fcbf(0x1ce)](),_0x1141c0=await this[_0x31fcbf(0x27b)](_0x325545);this[_0x31fcbf(0x143)][_0x31fcbf(0x21f)](_0x1141c0),this[_0x31fcbf(0x1bc)][_0x31fcbf(0x106)](_0x325545,_0x1141c0);}),_0x5f50c0(this[_0x226520(0x283)][_0x226520(0x276)](_0x4d90ef['UNIVER_DOC']),this[_0x226520(0x283)][_0x226520(0x276)](_0x4d90ef[_0x226520(0x13c)]))[_0x226520(0x1c1)](_0x2c1b93(this[_0x226520(0x282)]))[_0x226520(0x257)](_0x1c3a7d=>{const _0x30039d=_0x226520,_0x5ed1f8=_0x1c3a7d['getUnitId'](),_0x4d77ff=this[_0x30039d(0x1bc)][_0x30039d(0x1fb)](_0x5ed1f8);_0x4d77ff&&(_0x4d77ff[_0x30039d(0x197)](),this[_0x30039d(0x1bc)][_0x30039d(0x19f)](_0x5ed1f8));});}async[_0x4a9b73(0x259)](_0x209d4f){const _0x3638a9=_0x4a9b73,_0x59069d=await this[_0x3638a9(0x298)][_0x3638a9(0x17f)](_0x209d4f),_0x27ecf9=this['_injector'][_0x3638a9(0x1bb)](Me,_0x209d4f,_0x59069d);return _0x27ecf9[_0x3638a9(0x14a)](),_0x27ecf9;}async[_0x4a9b73(0x27b)](_0x4abc03){const _0x1ac86a=_0x4a9b73,_0xf62362=await this[_0x1ac86a(0x298)][_0x1ac86a(0x17f)](_0x4abc03),_0x11d045=this[_0x1ac86a(0x23c)][_0x1ac86a(0x1bb)](Ue,_0x4abc03,_0xf62362);return _0x11d045[_0x1ac86a(0x14a)](),_0x11d045;}};H=Ci([Se(0x0,_0x3d2f4d),Se(0x1,_0x5a910a(_0x315584)),Se(0x2,_0x5a910a(_0x9e201))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x2c3a17,_0x34ea8a){const _0x403062=_0x4a9b73;let {radius:_0x12f567,width:_0x22e9e3,height:_0x56b44c}=_0x34ea8a;_0x12f567=_0x12f567!=null?_0x12f567:0x0,_0x22e9e3=_0x22e9e3!=null?_0x22e9e3:0x1e,_0x56b44c=_0x56b44c!=null?_0x56b44c:0x1e;let _0x1b5103=0x0,_0x1e07bf=0x0,_0x273972=0x0;_0x1b5103=_0x1e07bf=_0x273972=Math['min'](_0x12f567,_0x22e9e3/0x2,_0x56b44c/0x2),_0x2c3a17['beginPath'](),_0x2c3a17['moveTo'](_0x1b5103,0x0),_0x2c3a17[_0x403062(0x1f8)](_0x22e9e3-_0x1e07bf,0x0),_0x2c3a17[_0x403062(0x141)](_0x22e9e3-_0x1e07bf,_0x1e07bf,_0x1e07bf,Math['PI']*0x3/0x2,0x0,!0x1),_0x2c3a17[_0x403062(0x1f8)](_0x22e9e3,_0x56b44c-_0x273972),_0x2c3a17[_0x403062(0x141)](_0x22e9e3-_0x273972,_0x56b44c-_0x273972,_0x273972,0x0,Math['PI']/0x2,!0x1),_0x2c3a17[_0x403062(0x1f8)](0x0,_0x56b44c),_0x2c3a17[_0x403062(0x1f8)](0x0,_0x1b5103),_0x2c3a17[_0x403062(0x141)](_0x1b5103,_0x1b5103,_0x1b5103,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2c3a17[_0x403062(0x209)](),_0x34ea8a['fill']&&(_0x2c3a17[_0x403062(0x125)](),_0x2c3a17[_0x403062(0x16e)]=_0x34ea8a[_0x403062(0x1a7)],_0x34ea8a[_0x403062(0x161)]===_0x403062(0x1d0)?_0x2c3a17[_0x403062(0x1a7)](_0x403062(0x1d0)):_0x2c3a17[_0x403062(0x1a7)](),_0x2c3a17[_0x403062(0x192)]());}class he extends _0x4a9018{constructor(_0x4277d0,_0x451648){const _0x227e8a=_0x4a9b73;super(_0x4277d0,_0x451648),_(this,'color'),_(this,_0x227e8a(0x248)),(this[_0x227e8a(0x1b2)]=_0x451648==null?void 0x0:_0x451648[_0x227e8a(0x1b2)],this[_0x227e8a(0x248)]=_0x451648==null?void 0x0:_0x451648[_0x227e8a(0x248)]);}static[_0x4a9b73(0x175)](_0x560c5b,_0x3fe90c){const _0x45e4b8=_0x4a9b73,{text:_0x26bbd0,color:_0x3906c3}=_0x3fe90c;_0x560c5b[_0x45e4b8(0x125)](),_0x560c5b['font']=_0x45e4b8(0x107);const _0x49d072=_0x560c5b['measureText'](_0x26bbd0)['width'],_0x1ca15d=Math[_0x45e4b8(0x29e)](_0x49d072+0x2*me,Qe);Oi(_0x560c5b,{'height':ee,'radius':0x4,'width':_0x1ca15d,'fill':_0x3906c3}),_0x560c5b[_0x45e4b8(0x16e)]=_0x45e4b8(0x145);const _0x585be7=me,_0x1e806c=ee-Ei,_0x509bb7=Qe-0x2*me;if(_0x49d072>_0x509bb7){let _0x36a2f8='',_0x12441e=0x0;for(const _0x5e9469 of _0x26bbd0){const _0x1a9788=_0x560c5b[_0x45e4b8(0x12c)](_0x5e9469)['width'];if(_0x12441e+_0x1a9788<=_0x509bb7-_0x560c5b[_0x45e4b8(0x12c)](_0x45e4b8(0x17e))[_0x45e4b8(0x163)])_0x36a2f8+=_0x5e9469,_0x12441e+=_0x1a9788;else{_0x36a2f8+='...';break;}}_0x560c5b[_0x45e4b8(0x265)](_0x36a2f8,_0x585be7,_0x1e806c);}else _0x560c5b[_0x45e4b8(0x265)](_0x26bbd0,_0x585be7,_0x1e806c);_0x560c5b[_0x45e4b8(0x192)]();}['_draw'](_0x4262ea){const _0x5f0d30=_0x4a9b73;he[_0x5f0d30(0x175)](_0x4262ea,this);}}const ge='collab-text-anchor-',bi='collab-text-range-',Ti=_0x4a9b73(0x10e),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x1f905a,_0x1dccd8,_0x260154,_0x1d9254){const _0x3f9627=_0x4a9b73;_(this,'_shapes',[]),_(this,_0x3f9627(0x118),null),_(this,'_textBubble',null),_(this,_0x3f9627(0x15a),null),_(this,'_hideTimer',null),_(this,_0x3f9627(0x28a),null),(this[_0x3f9627(0x108)]=_0x1f905a,this['_scene']=_0x1dccd8,this[_0x3f9627(0x238)]=_0x260154,this[_0x3f9627(0x28f)]=_0x1d9254,this[_0x3f9627(0x17b)]());}set[_0x4a9b73(0xcd)](_0x15e0eb){const _0x3c36a6=_0x4a9b73;_0x15e0eb?(this[_0x3c36a6(0x15a)]&&this[_0x3c36a6(0x15a)][_0x3c36a6(0x149)](),this[_0x3c36a6(0x164)]&&this[_0x3c36a6(0x164)]['show']()):(this[_0x3c36a6(0x15a)]&&this[_0x3c36a6(0x15a)]['show'](),this[_0x3c36a6(0x164)]&&this[_0x3c36a6(0x164)][_0x3c36a6(0x149)]());}[_0x4a9b73(0x197)](){const _0x1f687d=_0x4a9b73;for(const _0x17e426 of this[_0x1f687d(0x275)])_0x17e426[_0x1f687d(0x197)]();this[_0x1f687d(0x164)]&&this[_0x1f687d(0x164)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x1f687d(0x197)](),this['_anchor']&&this[_0x1f687d(0x118)][_0x1f687d(0x197)](),this[_0x1f687d(0x28a)]&&this[_0x1f687d(0x28a)]();}[_0x4a9b73(0x17b)](){const _0x593858=_0x4a9b73;var _0x3ccc75;const {_docSkeleton:_0xe9cdfe,_document:_0x4cbf40}=this,{color:_0x3324af,name:_0x251eba,ranges:_0xa0f0d4}=this['_cursor'],_0x1e2c11=_0x4cbf40[_0x593858(0x295)](),{docsLeft:_0xfeba98,docsTop:_0x647d55}=_0x1e2c11,_0x396a4d=new _0x2fe4e1(_0x1e2c11,_0xe9cdfe);for(const {startOffset:_0xc4aa3,endOffset:_0x461697,rangeType:_0x8885f4,segmentId:_0x2b53f0,segmentPage:_0x19f8e5,collapsed:_0x4c7ec7,isActive:_0x4e0e05}of _0xa0f0d4){const _0x42b64b=_0xe9cdfe[_0x593858(0x148)](_0xc4aa3,!0x0,_0x2b53f0,_0x19f8e5);let _0x58f5eb=_0xe9cdfe['findNodePositionByCharIndex'](_0x461697,!0x0,_0x2b53f0,_0x19f8e5);if(_0x58f5eb==null&&(_0x58f5eb=_0xe9cdfe['findNodePositionByCharIndex'](_0x461697-0x1,!0x1,_0x2b53f0,_0x19f8e5)),_0x4e0e05){const {contentBoxPointGroup:_0x292ba8}=_0x396a4d['getRangePointData'](_0x58f5eb,_0x58f5eb);if(_0x292ba8['length']===0x0)continue;this['_drawAnchor'](_0x3324af,_0x292ba8,_0xfeba98,_0x647d55,_0x251eba),this[_0x593858(0x28a)]=this[_0x593858(0x1c4)]();}if(_0x42b64b&&_0x58f5eb){if(_0x8885f4===_0x193d3c[_0x593858(0xf5)]){const _0x112a37=new _0xfbff7(_0x1e2c11,_0xe9cdfe),{pointGroup:_0x103321}=(_0x3ccc75=_0x112a37['getRangePointData'](_0x42b64b,_0x58f5eb))!=null?_0x3ccc75:{};if(_0x103321==null||_0x103321['length']===0x0)continue;this['_drawRectRange'](_0x3324af,_0x103321,_0xfeba98,_0x647d55);}else{if(!_0x4c7ec7){const {borderBoxPointGroup:_0xcbd0b7}=_0x396a4d[_0x593858(0x1de)](_0x42b64b,_0x58f5eb);if(_0xcbd0b7[_0x593858(0x190)]===0x0)continue;this['_drawTextRange'](_0x3324af,_0xcbd0b7,_0xfeba98,_0x647d55);}}}}}['_drawAnchor'](_0x75a3d4,_0x3124b6,_0x5831ab,_0x38de74,_0x3e90df){const _0x43111d=_0x4a9b73,_0x1c6985=this[_0x43111d(0x171)](_0x3124b6),{left:_0x560996,top:_0x1a6be4,height:_0x36e29b}=_0x1c6985,_0x37cfac=this[_0x43111d(0x1b8)](),_0x479289=Di/_0x37cfac,_0xdcc5e9=new _0x55b9e3(ge+_0x51c666[_0x43111d(0x1a5)](X),{'left':_0x560996+_0x5831ab-_0x479289,'top':_0x1a6be4+_0x38de74,'height':_0x36e29b,'width':Ri,'fill':_0x75a3d4||_0x447506(_0x30dfd1[_0x43111d(0x24d)],0x0),'strokeWidth':_0x479289,'stroke':Ni,'evented':!0x0});this['_anchor']=_0xdcc5e9,this[_0x43111d(0x112)][_0x43111d(0x293)](_0xdcc5e9,_0x14bb2e);const _0x199e4b=new _0x55b9e3(ge+_0x51c666[_0x43111d(0x1a5)](X),{'left':_0x560996+_0x5831ab-_0x479289,'top':_0x1a6be4+_0x38de74-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x75a3d4||_0x447506(_0x30dfd1[_0x43111d(0x24d)],0x0),'strokeWidth':0x0,'stroke':_0x75a3d4||_0x447506(_0x30dfd1[_0x43111d(0x24d)],0x0),'evented':!0x1});this['_anchorDot']=_0x199e4b,this['_scene'][_0x43111d(0x293)](_0x199e4b,_0x14bb2e);const _0x140619=new he(ge+_0x51c666['generateRandomId'](X),{'left':_0x560996+_0x5831ab-_0x479289,'top':_0x1a6be4+_0x38de74-ee,'text':_0x3e90df,'color':_0x75a3d4});this[_0x43111d(0x164)]=_0x140619,this[_0x43111d(0x112)]['addObject'](_0x140619,_0x14bb2e),this[_0x43111d(0xcd)]=!0x1;}[_0x4a9b73(0x1c4)](){const _0xff099c=_0x4a9b73,_0x3944f1=this[_0xff099c(0x118)]['onPointerEnter$'][_0xff099c(0x1ad)](()=>{const _0x9c30a7=_0xff099c;this[_0x9c30a7(0xcd)]=!0x0;}),_0x20b4f8=this['_anchor'][_0xff099c(0xe7)][_0xff099c(0x1ad)](()=>{const _0x49965b=_0xff099c;this[_0x49965b(0x1c7)]&&clearTimeout(this['_hideTimer']),this[_0x49965b(0x1c7)]=setTimeout(()=>{const _0x88b834=_0x49965b;this[_0x88b834(0xcd)]=!0x1;},0x7d0);});return()=>{const _0x29f7ea=_0xff099c;_0x3944f1[_0x29f7ea(0x1c6)](),_0x20b4f8[_0x29f7ea(0x1c6)]();};}[_0x4a9b73(0x169)](_0x3bfe46,_0x53576a,_0x5d749e,_0x110d83){const _0x5b4589=_0x4a9b73,_0x2322f3=new _0x18abcb(_0x3bfe46)[_0x5b4589(0x16a)](0.2)[_0x5b4589(0x13e)](),_0x63530d=new _0x183296(bi+_0x51c666['generateRandomId'](X),{'pointsGroup':_0x53576a,'fill':_0x2322f3||_0x447506(_0x30dfd1['black'],0.2),'left':_0x5d749e,'top':_0x110d83,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b4589(0x275)]['push'](_0x63530d),this[_0x5b4589(0x112)][_0x5b4589(0x293)](_0x63530d,_0x14bb2e);}[_0x4a9b73(0x2b4)](_0xd85f9d,_0x421dab,_0x5b281e,_0x392d3b){const _0x15ab44=_0x4a9b73,_0x57f6ef=new _0x18abcb(_0xd85f9d)['setAlpha'](0.2)[_0x15ab44(0x13e)](),_0x1540f1=new _0x183296(Ti+_0x51c666[_0x15ab44(0x1a5)](X),{'pointsGroup':_0x421dab,'fill':_0x57f6ef||_0x447506(_0x30dfd1[_0x15ab44(0x24d)],0.2),'left':_0x5b281e,'top':_0x392d3b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x15ab44(0x275)][_0x15ab44(0x24c)](_0x1540f1),this[_0x15ab44(0x112)]['addObject'](_0x1540f1,_0x14bb2e);}[_0x4a9b73(0x171)](_0x210f9b){const _0x24e656=_0x210f9b[0x0],_0x3e3f5f=_0x24e656[0x0],_0x24fcd0=_0x24e656[0x2],{x:_0x3db05b,y:_0x5c3f4e}=_0x3e3f5f,{x:_0x1f6f75,y:_0x2722b6}=_0x24fcd0;return{'left':_0x3db05b,'top':_0x5c3f4e,'width':_0x1f6f75-_0x3db05b,'height':_0x2722b6-_0x5c3f4e};}[_0x4a9b73(0x1b8)](){const _0x4b9876=_0x4a9b73,{scaleX:_0x28d9f8,scaleY:_0x19ca3b}=this[_0x4b9876(0x112)][_0x4b9876(0x1b0)]();return Math[_0x4b9876(0x28c)](_0x28d9f8,_0x19ca3b);}}var Ui=Object[_0x4a9b73(0xc4)],Mi=(_0x54a490,_0x39d899,_0x3fb1d3,_0xa25b5f)=>{for(var _0x4f481a=_0xa25b5f>0x1?void 0x0:_0xa25b5f?Ui(_0x39d899,_0x3fb1d3):_0x39d899,_0x36e900=_0x54a490['length']-0x1,_0x4f1708;_0x36e900>=0x0;_0x36e900--)(_0x4f1708=_0x54a490[_0x36e900])&&(_0x4f481a=_0x4f1708(_0x4f481a)||_0x4f481a);return _0x4f481a;},Z=(_0x27e7a5,_0x2ec776)=>(_0x502b78,_0x381c7d)=>_0x2ec776(_0x502b78,_0x381c7d,_0x27e7a5);let Pe=class extends _0x43324a{constructor(_0x231360,_0x1e9912,_0x484d4c,_0x45d084,_0x168db1){const _0x795911=_0x4a9b73;super(),_(this,'_cursorShapes',[]),_(this,_0x795911(0x11b),[]),(this[_0x795911(0x147)]=_0x231360,this[_0x795911(0xdd)]=_0x1e9912,this[_0x795911(0x219)]=_0x484d4c,this[_0x795911(0x189)]=_0x45d084,this['_themeService']=_0x168db1,this[_0x795911(0x2bf)]());}[_0x4a9b73(0x2bf)](){const _0x1855ee=_0x4a9b73,_0x3ab0dd=this['_context'][_0x1855ee(0x172)],_0x2d7a97=this[_0x1855ee(0xdd)];this[_0x1855ee(0xc8)](_0x3dba36([this[_0x1855ee(0x219)][_0x1855ee(0x15d)](_0x3ab0dd),this['_themeService'][_0x1855ee(0xcb)]])[_0x1855ee(0x1c1)](_0x2f99f8(([_0x518471,_0x3ec0ae])=>({'skeleton':_0x2d7a97[_0x1855ee(0x18d)](),'cursors':[..._0x518471[_0x1855ee(0x279)]()][_0x1855ee(0x206)](_0x2b6abd=>({..._0x2b6abd,'color':this[_0x1855ee(0x2a5)][_0x1855ee(0x185)](_0x2b6abd['color'])}))})))[_0x1855ee(0x257)](_0x3226f6=>{const _0x3bf94c=_0x1855ee;if(this[_0x3bf94c(0x22a)](),_0x3226f6){const {skeleton:_0x5248ef,cursors:_0x1f0e62}=_0x3226f6;this['_updateCollabCursors'](_0x5248ef,_0x1f0e62);}})),this['_initResize'](),this[_0x1855ee(0x25c)]();}['_updateCollabCursors'](_0xa58468,_0xda6fb6){const _0x30f1c6=_0x4a9b73,{scene:_0x4b103f,mainComponent:_0xf50673}=this[_0x30f1c6(0x147)],_0x57f585=_0xda6fb6['map'](_0x1ff60d=>new qe(_0x1ff60d,_0x4b103f,_0xa58468,_0xf50673));this[_0x30f1c6(0x243)]=_0x57f585,this[_0x30f1c6(0x11b)]=_0xda6fb6;}[_0x4a9b73(0x10c)](){const _0xece84a=_0x4a9b73;this[_0xece84a(0x22a)]();const {scene:_0x52296b,mainComponent:_0x2ccf28}=this['_context'],_0x24a1b1=this[_0xece84a(0xdd)]['getSkeleton'](),_0x14fddc=this[_0xece84a(0x11b)][_0xece84a(0x142)](_0x32ee65=>new qe(_0x32ee65,_0x52296b,_0x24a1b1,_0x2ccf28));this[_0xece84a(0x243)]=_0x14fddc;}[_0x4a9b73(0x22a)](){const _0x3f5c03=_0x4a9b73;this[_0x3f5c03(0x243)][_0x3f5c03(0x263)](_0x14975e=>_0x14975e[_0x3f5c03(0x197)]()),this[_0x3f5c03(0x243)]=[];}[_0x4a9b73(0x25c)](){const _0x3d4b95=_0x4a9b73,_0x44e87a=[_0x6c535a['id']];this[_0x3d4b95(0xc8)](this['_commandService'][_0x3d4b95(0x269)](_0x5bfe09=>{const _0x4dee5b=_0x3d4b95;_0x44e87a['includes'](_0x5bfe09['id'])&&_0x5bfe09['params'][_0x4dee5b(0x172)]===this['_context'][_0x4dee5b(0x172)]&&this[_0x4dee5b(0x10c)]();}));}[_0x4a9b73(0x274)](){const _0x59b887=_0x4a9b73;this[_0x59b887(0xc8)](_0xb20e27(this[_0x59b887(0x147)]['engine'][_0x59b887(0x272)])[_0x59b887(0x1c1)](_0x370354(_0x32660d=>_0x32660d['type']===_0x20ee95[_0x59b887(0x178)]),_0x544c43(0x10))[_0x59b887(0x257)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x5a910a(_0x155d5e)),Z(0x2,_0x5a910a(H)),Z(0x3,_0x125a4d),Z(0x4,_0x5a910a(_0x40a3a8))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x4a9018{constructor(_0x40e5c2,_0x5caf55){const _0x262b8d=_0x4a9b73;super(_0x40e5c2,_0x5caf55),_(this,_0x262b8d(0x273)),_(this,_0x262b8d(0x1e4),!0x1),_(this,_0x262b8d(0x193)),_(this,'_name',''),_(this,_0x262b8d(0xdf),_0x262b8d(0x126)),_(this,_0x262b8d(0x157)),(_0x5caf55&&this['setShapeProps'](_0x5caf55),this[_0x262b8d(0x1a1)][_0x262b8d(0x1ad)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x262b8d(0xe7)][_0x262b8d(0x1ad)](()=>this[_0x262b8d(0x2a1)]({'hovered':!0x1})));}['setShapeProps'](_0x1ba62f){const _0x33658c=_0x4a9b73;var _0x5d01b0,_0x1a389d,_0x41a09a,_0x3ee61d,_0x8aa612,_0x393b7d;this[_0x33658c(0x273)]=(_0x5d01b0=_0x1ba62f['color'])!=null?_0x5d01b0:this['_color'],this[_0x33658c(0x1e4)]=(_0x1a389d=_0x1ba62f['hovered'])!=null?_0x1a389d:this[_0x33658c(0x1e4)],this['_range']=(_0x41a09a=_0x1ba62f[_0x33658c(0x13b)])!=null?_0x41a09a:this[_0x33658c(0x193)],this[_0x33658c(0x22e)]=(_0x3ee61d=_0x1ba62f[_0x33658c(0x1ae)])!=null?_0x3ee61d:this[_0x33658c(0x22e)],this['_labelPosition']=(_0x8aa612=_0x1ba62f[_0x33658c(0x27f)])!=null?_0x8aa612:this[_0x33658c(0xdf)],this['_backgroundColor']=(_0x393b7d=_0x1ba62f['backgroundColor'])!=null?_0x393b7d:this['_backgroundColor'],this[_0x33658c(0x256)]({'width':_0x1ba62f['width'],'height':_0x1ba62f[_0x33658c(0x174)]});}[_0x4a9b73(0x12a)](_0x4c6593){const _0xf6f99b=_0x4a9b73,{row:_0x17d86e,column:_0x181458}=_0x4c6593;if(_0x17d86e>=this[_0xf6f99b(0x193)][_0xf6f99b(0x1dd)]&&_0x17d86e<=this[_0xf6f99b(0x193)][_0xf6f99b(0x217)]&&_0x181458>=this[_0xf6f99b(0x193)][_0xf6f99b(0x123)]&&_0x181458<=this[_0xf6f99b(0x193)][_0xf6f99b(0x21d)]){this[_0xf6f99b(0x2a1)]({'hovered':!0x0});return;}this[_0xf6f99b(0x2a1)]({'hovered':!0x1});}[_0x4a9b73(0xe5)](_0x376bba){return!0x1;}[_0x4a9b73(0x234)](_0x1e2cd9){const _0x507a2c=_0x4a9b73;_0x55b9e3[_0x507a2c(0x175)](_0x1e2cd9,{'width':this[_0x507a2c(0x163)],'height':this[_0x507a2c(0x174)],'strokeWidth':Li,'stroke':this[_0x507a2c(0x273)],'evented':!0x1,'fill':this[_0x507a2c(0x157)]}),this['_hovered']&&(_0x1e2cd9[_0x507a2c(0x125)](),_0x1e2cd9[_0x507a2c(0x1b6)](0x1,0x0,0x0,0x1,this[_0x507a2c(0x163)],this[_0x507a2c(0xdf)]===_0x507a2c(0x1ef)?0x0:-0x14),he[_0x507a2c(0x175)](_0x1e2cd9,{'text':this[_0x507a2c(0x22e)],'color':this['_color']}),_0x1e2cd9[_0x507a2c(0x192)]());}}var Ai=Object[_0x4a9b73(0xc4)],yi=(_0x5283fd,_0x5d976d,_0x591473,_0xfe1500)=>{for(var _0x2f6bb2=_0xfe1500>0x1?void 0x0:_0xfe1500?Ai(_0x5d976d,_0x591473):_0x5d976d,_0x405167=_0x5283fd['length']-0x1,_0x147882;_0x405167>=0x0;_0x405167--)(_0x147882=_0x5283fd[_0x405167])&&(_0x2f6bb2=_0x147882(_0x2f6bb2)||_0x2f6bb2);return _0x2f6bb2;},ve=(_0x5b35f4,_0xa96cf0)=>(_0x1db024,_0x534fd0)=>_0xa96cf0(_0x1db024,_0x534fd0,_0x5b35f4);const $i=0x1389;let Le=class extends _0x43324a{constructor(_0x37f654,_0x16a67f,_0x177a9a,_0x3fafbd){const _0x3fed96=_0x4a9b73;super(),_(this,_0x3fed96(0x11b),new Set()),_(this,_0x3fed96(0x241),null),(this[_0x3fed96(0x147)]=_0x37f654,this[_0x3fed96(0x165)]=_0x16a67f,this['_collabCursorController']=_0x177a9a,this[_0x3fed96(0x2a5)]=_0x3fafbd,this['_init']());}[_0x4a9b73(0x2bf)](){const _0x2bb593=_0x4a9b73;this[_0x2bb593(0x165)]['currentSkeleton$'][_0x2bb593(0x1c1)](_0x2ba1c5(this['dispose$']),_0x81e8fe(_0x2f5ab9=>{const _0x1d7f18=_0x2bb593;if(_0x2f5ab9){const _0x5ebfd5=_0x2f5ab9[_0x1d7f18(0x1af)];return _0x3dba36(this[_0x1d7f18(0x219)]['getCollabCursors$'](this['_context'][_0x1d7f18(0x172)]),this[_0x1d7f18(0x2a5)][_0x1d7f18(0xcb)])[_0x1d7f18(0x1c1)](_0x2f99f8(([_0x3068ef,_0x3307b5])=>{const _0x946a37=_0x1d7f18,_0x44d6c3=new Map();return _0x3068ef[_0x946a37(0x263)]((_0x5895b8,_0x15bca8)=>{const _0x4634ee=_0x946a37;if(_0x5895b8[_0x4634ee(0x299)]===_0x5ebfd5){const _0x2ac317={..._0x5895b8};_0x2ac317['color']=this['_themeService'][_0x4634ee(0x185)](_0x5895b8[_0x4634ee(0x1b2)]),_0x44d6c3['set'](_0x15bca8,_0x2ac317);}}),{'skeleton':_0x2f5ab9,'cursors':_0x44d6c3};}));}return _0x12f8ad({'skeleton':null,'cursors':new Map()});}))[_0x2bb593(0x257)](({skeleton:_0x3c5687,cursors:_0x2737e8})=>{const _0x142d0f=_0x2bb593;this[_0x142d0f(0x22a)](),_0x3c5687&&this[_0x142d0f(0x19e)](_0x3c5687,_0x2737e8);}),this[_0x2bb593(0x165)][_0x2bb593(0x1ee)]['subscribe'](_0x4dbaec=>{const _0x239e2f=_0x2bb593;if(_0x4dbaec==null)return;const {skeleton:_0x4bf306}=_0x4dbaec,{scene:_0x4feee6}=this['_context'];_0x4feee6['onPointerMove$'][_0x239e2f(0x1ad)](_0x42c593(_0x45be8e=>{const _0x233694=_0x239e2f;var _0x2b2397,_0x2e1cc6;const {offsetX:_0x24645c,offsetY:_0x2ad09d}=_0x45be8e,{x:_0x15a99d,y:_0x53c59e}=_0x4feee6[_0x233694(0x18c)](_0x1784a8[_0x233694(0xc6)]([_0x24645c,_0x2ad09d])),{scaleX:_0x15b05c,scaleY:_0x152a83}=_0x4feee6[_0x233694(0x1b0)](),_0x2a2066=_0x4feee6[_0x233694(0x249)](_0x41ca54[_0x233694(0x1f1)]),_0x4e9115=_0x4feee6[_0x233694(0xcc)](_0x1784a8[_0x233694(0xc6)]([_0x15a99d,_0x53c59e]),_0x2a2066),_0x35face=_0x4bf306[_0x233694(0x180)](_0x24645c,_0x2ad09d,_0x15b05c,_0x152a83,_0x4e9115);((_0x2b2397=this[_0x233694(0x241)])==null?void 0x0:_0x2b2397[_0x233694(0x111)])===_0x35face[_0x233694(0x111)]&&((_0x2e1cc6=this[_0x233694(0x241)])==null?void 0x0:_0x2e1cc6['row'])===_0x35face[_0x233694(0x1e5)]||this['_cursors'][_0x233694(0x263)](_0x295f8a=>{_0x295f8a['onMouseMove'](_0x35face);});},0x64));});}['_updateCollabCursors'](_0x5c47d0,_0x5a3a37){const _0xd29ccb=_0x4a9b73;var _0xd82640;const _0x98ca1c=(_0xd82640=this['_sheetSkeletonManagerService'][_0xd29ccb(0xd7)]())==null?void 0x0:_0xd82640[_0xd29ccb(0x167)];if(!_0x98ca1c)return;const _0x11537e=this[_0xd29ccb(0x10d)]();if(!_0x11537e)return;this[_0xd29ccb(0x11b)][_0xd29ccb(0x263)](_0xefd855=>{const _0x861506=_0xd29ccb;_0xefd855[_0x861506(0x284)]();});const {scene:_0x40186d}=_0x11537e,_0x1645f7=xi(Array[_0xd29ccb(0x1ec)](_0x5a3a37[_0xd29ccb(0x279)]()))['map'](_0x44f0fa=>{const _0x18aeed=_0xd29ccb,{color:_0x1973cc,range:_0x11ed94,name:_0x3ce28b,selection:_0x3b69fc,sheetID:_0x433211}=_0x44f0fa,{startColumn:_0x34714b,startRow:_0x3b0c1a,endColumn:_0x49ada4,endRow:_0x1de80f}=_0x11ed94,_0x1553cd=_0x3771ff(_0x3b0c1a,_0x34714b,_0x40186d,_0x98ca1c),_0x3cefa3=_0x3771ff(_0x1de80f,_0x49ada4,_0x40186d,_0x98ca1c),{columnHeaderHeightAndMarginTop:_0x242c12}=_0x98ca1c,{startX:_0x894ae7,startY:_0x1114d5}=_0x1553cd,{endX:_0x4e8c9f,endY:_0x3c44d1}=_0x3cefa3,_0x1a397d=_0x4e8c9f-_0x894ae7,_0x349a3c=_0x3c44d1-_0x1114d5,_0x4802b4={'labelPosition':_0x1114d5-_0x242c12>=ee?_0x18aeed(0x126):_0x18aeed(0x1ef),'sheetID':_0x433211,'range':_0x11ed94,'color':_0x1973cc,'name':_0x3ce28b,'selection':_0x3b69fc,'left':_0x894ae7,'top':_0x1114d5,'width':_0x1a397d,'height':_0x349a3c,'evented':!0x1,'zIndex':$i};return new wi(_0x3ce28b,_0x4802b4);});_0x40186d[_0xd29ccb(0xf1)](_0x1645f7,Pi),this[_0xd29ccb(0x11b)]=new Set(_0x1645f7);}['_removeCollabCursors'](){const _0x309256=_0x4a9b73;var _0x59c1f4;(_0x59c1f4=this[_0x309256(0x11b)])==null||_0x59c1f4[_0x309256(0x263)](_0x44fc90=>_0x44fc90[_0x309256(0x197)]());}[_0x4a9b73(0x10d)](){const _0xb774f5=_0x4a9b73;return _0x575758(this[_0xb774f5(0x147)][_0xb774f5(0x2a9)],this['_context']);}};Le=yi([ve(0x1,_0x5a910a(_0x12d7f8)),ve(0x2,_0x5a910a(H)),ve(0x3,_0x5a910a(_0x40a3a8))],Le);function xi(_0x2a02f1){const _0x13d90b=_0x4a9b73,_0x1ab42e=new Map();return _0x2a02f1[_0x13d90b(0x263)](_0x566dc6=>{const _0x342872=_0x13d90b;if(_0x1ab42e['has'](_0x566dc6[_0x342872(0x113)])){const _0x1ba0c4=_0x1ab42e[_0x342872(0x1fb)](_0x566dc6[_0x342872(0x113)]);_0x1ba0c4[_0x342872(0x1ae)]+=',\x20'+_0x566dc6[_0x342872(0x1ae)];}else _0x1ab42e[_0x342872(0x106)](_0x566dc6['selection'],_0x566dc6);}),Array[_0x13d90b(0x1ec)](_0x1ab42e[_0x13d90b(0x279)]());}var v=function(){const _0x39ea65=_0x4a9b73;return v=Object[_0x39ea65(0x1df)]||function(_0x465b00){const _0x167501=_0x39ea65;for(var _0x4310cb,_0x4acecd=0x1,_0x4873aa=arguments[_0x167501(0x190)];_0x4acecd<_0x4873aa;_0x4acecd++){_0x4310cb=arguments[_0x4acecd];for(var _0x364652 in _0x4310cb)Object[_0x167501(0x102)][_0x167501(0xff)]['call'](_0x4310cb,_0x364652)&&(_0x465b00[_0x364652]=_0x4310cb[_0x364652]);}return _0x465b00;},v[_0x39ea65(0x134)](this,arguments);},Bi=function(_0x3a4bc5,_0x52161a){const _0x24145=_0x4a9b73;var _0x36d0d0={};for(var _0x310171 in _0x3a4bc5)Object[_0x24145(0x102)][_0x24145(0xff)]['call'](_0x3a4bc5,_0x310171)&&_0x52161a[_0x24145(0x233)](_0x310171)<0x0&&(_0x36d0d0[_0x310171]=_0x3a4bc5[_0x310171]);if(_0x3a4bc5!=null&&typeof Object['getOwnPropertySymbols']==_0x24145(0x110)){for(var _0x41cbb3=0x0,_0x310171=Object['getOwnPropertySymbols'](_0x3a4bc5);_0x41cbb3<_0x310171[_0x24145(0x190)];_0x41cbb3++)_0x52161a[_0x24145(0x233)](_0x310171[_0x41cbb3])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x24145(0x288)](_0x3a4bc5,_0x310171[_0x41cbb3])&&(_0x36d0d0[_0x310171[_0x41cbb3]]=_0x3a4bc5[_0x310171[_0x41cbb3]]);}return _0x36d0d0;},je=_0x248f87(function(_0x328b10,_0x431f56){const _0x2e6e7b=_0x4a9b73;var _0x214d64=_0x328b10[_0x2e6e7b(0x152)],_0x48019a=_0x328b10['id'],_0x351dc7=_0x328b10[_0x2e6e7b(0x224)],_0x301da0=_0x328b10[_0x2e6e7b(0xf9)],_0x2d149d=Bi(_0x328b10,[_0x2e6e7b(0x152),'id','className',_0x2e6e7b(0xf9)]),_0x2e3203=_0x2e6e7b(0x195)['concat'](_0x48019a,'\x20')[_0x2e6e7b(0x1c0)](_0x351dc7||'')[_0x2e6e7b(0x183)](),_0xe85404=_0x298127('_'[_0x2e6e7b(0x1c0)](ji()));return Rt(_0x214d64,''[_0x2e6e7b(0x1c0)](_0x48019a),{'defIds':_0x214d64[_0x2e6e7b(0x214)],'idSuffix':_0xe85404[_0x2e6e7b(0x20d)]},v({'ref':_0x431f56,'className':_0x2e3203},_0x2d149d),_0x301da0);});function Rt(_0x150d8f,_0x5b6fd8,_0x13e694,_0x390461,_0x482057){const _0xe68527=_0x4a9b73;return _0xc2cff4(_0x150d8f[_0xe68527(0x12f)],v(v({'key':_0x5b6fd8},ki(_0x150d8f,_0x13e694,_0x482057)),_0x390461),(Hi(_0x150d8f,_0x13e694)[_0xe68527(0x20c)]||[])[_0xe68527(0x142)](function(_0x423fa6,_0x38835a){const _0x27a268=_0xe68527;return Rt(_0x423fa6,''[_0x27a268(0x1c0)](_0x5b6fd8,'-')[_0x27a268(0x1c0)](_0x150d8f['tag'],'-')[_0x27a268(0x1c0)](_0x38835a),_0x13e694,void 0x0,_0x482057);}));}function ki(_0x32d3f1,_0x30833a,_0x1438b3){const _0xb6564e=_0x4a9b73;var _0x10a1f=v({},_0x32d3f1[_0xb6564e(0x1b4)]);_0x1438b3!=null&&_0x1438b3[_0xb6564e(0x176)]&&_0x10a1f[_0xb6564e(0x1a7)]===_0xb6564e(0x176)&&(_0x10a1f[_0xb6564e(0x1a7)]=_0x1438b3[_0xb6564e(0x176)]),_0x32d3f1[_0xb6564e(0x12f)]===_0xb6564e(0x13d)&&_0x10a1f['id']&&(_0x10a1f['id']=_0x10a1f['id']+_0x30833a[_0xb6564e(0x114)]),Object[_0xb6564e(0x212)](_0x10a1f)[_0xb6564e(0x263)](function(_0x3d8498){const _0x39a277=_0xb6564e;var _0x5ffc72=_0x3d8498[0x0],_0x116d8b=_0x3d8498[0x1];_0x5ffc72===_0x39a277(0x13d)&&typeof _0x116d8b==_0x39a277(0xd9)&&(_0x10a1f[_0x5ffc72]=_0x116d8b[_0x39a277(0x26f)](/url\(#(.*)\)/,_0x39a277(0x2b0)['concat'](_0x30833a[_0x39a277(0x114)],')')));});var _0xfe8a6=_0x30833a[_0xb6564e(0x214)];return!_0xfe8a6||_0xfe8a6[_0xb6564e(0x190)]===0x0||(_0x32d3f1[_0xb6564e(0x12f)]==='use'&&_0x10a1f[_0xb6564e(0x285)]&&(_0x10a1f[_0xb6564e(0x285)]=_0x10a1f['xlink:href']+_0x30833a[_0xb6564e(0x114)]),Object['entries'](_0x10a1f)[_0xb6564e(0x263)](function(_0x3b6ccf){const _0x3fa8b1=_0xb6564e;var _0x4c8b6f=_0x3b6ccf[0x0],_0x4f9fb7=_0x3b6ccf[0x1];typeof _0x4f9fb7=='string'&&(_0x10a1f[_0x4c8b6f]=_0x4f9fb7['replace'](/url\(#(.*)\)/,'url(#$1'[_0x3fa8b1(0x1c0)](_0x30833a[_0x3fa8b1(0x114)],')')));})),_0x10a1f;}function Hi(_0x2a93be,_0x58d2b3){const _0x5c2609=_0x4a9b73;var _0x4a1e0c,_0x39abb2=_0x58d2b3[_0x5c2609(0x214)];return!_0x39abb2||_0x39abb2[_0x5c2609(0x190)]===0x0?_0x2a93be:_0x2a93be['tag']===_0x5c2609(0x2c1)&&(!((_0x4a1e0c=_0x2a93be['children'])===null||_0x4a1e0c===void 0x0)&&_0x4a1e0c[_0x5c2609(0x190)])?v(v({},_0x2a93be),{'children':_0x2a93be[_0x5c2609(0x20c)][_0x5c2609(0x142)](function(_0x28b613){const _0x356065=_0x5c2609;return typeof _0x28b613[_0x356065(0x1b4)]['id']==_0x356065(0xd9)&&_0x39abb2&&_0x39abb2[_0x356065(0x233)](_0x28b613[_0x356065(0x1b4)]['id'])>-0x1?v(v({},_0x28b613),{'attrs':v(v({},_0x28b613['attrs']),{'id':_0x28b613[_0x356065(0x1b4)]['id']+_0x58d2b3['idSuffix']})}):_0x28b613;})}):_0x2a93be;}function ji(){const _0x2fcacd=_0x4a9b73;return Math[_0x2fcacd(0x17a)]()[_0x2fcacd(0x116)](0x24)[_0x2fcacd(0x2a7)](0x2,0x8);}je[_0x4a9b73(0x25b)]=_0x4a9b73(0x19d);var Yi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x4a9b73(0x14f),'width':_0x4a9b73(0x2aa),'height':_0x4a9b73(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4a9b73(0x151),'attrs':{'stroke':_0x4a9b73(0x188),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x4a9b73(0x260),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4a9b73(0x2c1),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x4a9b73(0x151),'attrs':{'fill':_0x4a9b73(0x1e7),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4a9b73(0xd0)]},Dt=_0x248f87(function(_0x4aed29,_0x5c4d2e){const _0x269c45=_0x4a9b73;return _0xc2cff4(je,Object[_0x269c45(0x1df)]({},_0x4aed29,{'id':'off-line-single','ref':_0x5c4d2e,'icon':Yi}));});Dt['displayName']=_0x4a9b73(0x120);var Fi={'tag':'svg','attrs':{'fill':_0x4a9b73(0x232),'viewBox':_0x4a9b73(0x29b),'width':_0x4a9b73(0x2aa),'height':_0x4a9b73(0x2aa)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9b73(0xef)},'children':[{'tag':_0x4a9b73(0x151),'attrs':{'stroke':_0x4a9b73(0x188),'d':_0x4a9b73(0x1ea),'strokeLinecap':_0x4a9b73(0x260),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4a9b73(0x218),'attrs':{'id':_0x4a9b73(0x137)},'children':[{'tag':_0x4a9b73(0x151),'attrs':{'fill':_0x4a9b73(0x1e7),'d':_0x4a9b73(0x2ae),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4a9b73(0x137)]},Nt=_0x248f87(function(_0x545d6a,_0x370a8e){const _0x485c63=_0x4a9b73;return _0xc2cff4(je,Object['assign']({},_0x545d6a,{'id':_0x485c63(0x139),'ref':_0x370a8e,'icon':Fi}));});Nt[_0x4a9b73(0x25b)]='OnLineSingle';function Wi(_0x5bde25){const _0x404910=_0x4a9b73;switch(_0x5bde25){case _0x167395[_0x404910(0x204)]:return _0x404910(0x215);case _0x167395[_0x404910(0x1b3)]:return _0x404910(0x16f);case _0x167395['FETCH_MISS']:return _0x404910(0x2a3);case _0x167395[_0x404910(0x242)]:return _0x404910(0x297);case _0x167395[_0x404910(0x136)]:case _0x167395[_0x404910(0x132)]:return _0x404910(0x210);case _0x167395[_0x404910(0x1d9)]:case _0x167395['PENDING']:return _0x404910(0x2a6);}}function Vi(_0x4ea4d4){const _0x897508=_0x4a9b73,{status$:_0x2420ed}=_0x4ea4d4,_0x52f36b=_0x5bb2e8(_0x2420ed,_0x167395[_0x897508(0x242)]),_0x865f=_0x4bf2cc(_0x15a6bf),_0x109190=_0x4bf2cc(_0x9e201),_0x2b8ae0=_0x52f36b!==_0x167395['OFFLINE'],_0x2b98c9=_0x865f['t'](Wi(_0x52f36b)),_0x396576=_0x2b8ae0?_0x5d61f1(Nt,{}):_0x5d61f1(Dt,{}),_0x8c78d0=_0x43e35a(()=>{_0x2b8ae0||_0x109190['reconnect']();},[_0x2b8ae0,_0x109190]);function _0x21efbb(){const _0x452c67=_0x897508;return _0x5b1f6e('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x8c78d0,'children':[_0x5d61f1(_0x452c67(0x155),{'className':_0x212ae4('univer-flex\x20univer-mr-2\x20univer-text-xl',_0x2b8ae0?'univer-text-green-500':_0x452c67(0x289)),'children':_0x396576}),_0x5d61f1(_0x452c67(0x155),{'className':_0x452c67(0x1e6),'children':_0x2b98c9})]});}return _0x2b8ae0?_0x21efbb():_0x5d61f1(_0x1de27a,{'title':_0x865f['t']('collab-client.tooltip.reconnect'),'children':_0x21efbb()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x6f71e0,_0x2d289a,_0x5b026d,_0xe7fa4)=>{for(var _0x323029=_0xe7fa4>0x1?void 0x0:_0xe7fa4?Xi(_0x2d289a,_0x5b026d):_0x2d289a,_0x15a0bb=_0x6f71e0['length']-0x1,_0x2ac255;_0x15a0bb>=0x0;_0x15a0bb--)(_0x2ac255=_0x6f71e0[_0x15a0bb])&&(_0x323029=_0x2ac255(_0x323029)||_0x323029);return _0x323029;},Q=(_0x20c133,_0x3a34b0)=>(_0x4c7ca7,_0x1b3271)=>_0x3a34b0(_0x4c7ca7,_0x1b3271,_0x20c133);let te=class extends _0x3ca0d9{constructor(_0x370f3b,_0x5fef5f,_0x30dfbc,_0x498941){const _0x17ad89=_0x4a9b73;super(),_(this,_0x17ad89(0x1f3),new _0x4ae7de(_0x167395[_0x17ad89(0x242)])),(this['_univerInstanceService']=_0x370f3b,this[_0x17ad89(0x23c)]=_0x5fef5f,this['_collaborationController']=_0x30dfbc,this[_0x17ad89(0x200)]=_0x498941,this[_0x17ad89(0x213)](),this[_0x17ad89(0x255)]());}[_0x4a9b73(0x255)](){const _0x530be3=_0x4a9b73;this[_0x530be3(0xc8)](this['_univerInstanceService'][_0x530be3(0x138)][_0x530be3(0x1c1)](_0x5d84ac(()=>{const _0xce704c=_0x530be3,_0x160eb7=this[_0xce704c(0x283)]['getFocusedUnit']();return _0x160eb7?this[_0xce704c(0xcf)]['getCollabEntity$'](_0x160eb7[_0xce704c(0x1ce)]()):_0x12f8ad(null);}),_0x5d84ac(_0x43c839=>_0x43c839?_0x43c839[_0x530be3(0x29a)]:_0x12f8ad(_0x167395[_0x530be3(0x242)])))[_0x530be3(0x257)](_0x5c8e25=>{const _0x2df131=_0x530be3;this[_0x2df131(0x1f3)]['next'](_0x5c8e25);}));}['_initStatusComponent'](){const _0x51756c=_0x4a9b73;this['disposeWithMe'](this['_uiPartsService'][_0x51756c(0x2b2)](_0x12c314[_0x51756c(0x2a2)],()=>_0x4a72c4(Ki({'status$':this['_status$'][_0x51756c(0x2bc)]()}),this[_0x51756c(0x23c)])));}};te=Gi([Q(0x0,_0x3d2f4d),Q(0x1,_0x5a910a(_0x315584)),Q(0x2,_0x5a910a(_0x7aeeca)),Q(0x3,_0x10db63)],te);function Ki(_0x1ca025){const {status$:_0x577e41}=_0x1ca025;return function(){return _0x5d61f1(Vi,{'status$':_0x577e41});};}var zi=Object[_0x4a9b73(0xc4)],Ji=(_0x1f50ca,_0x3e368a,_0x39cde2,_0x2278d2)=>{const _0x1385cf=_0x4a9b73;for(var _0x4a04eb=_0x2278d2>0x1?void 0x0:_0x2278d2?zi(_0x3e368a,_0x39cde2):_0x3e368a,_0xfa138b=_0x1f50ca[_0x1385cf(0x190)]-0x1,_0xec4ed3;_0xfa138b>=0x0;_0xfa138b--)(_0xec4ed3=_0x1f50ca[_0xfa138b])&&(_0x4a04eb=_0xec4ed3(_0x4a04eb)||_0x4a04eb);return _0x4a04eb;},B=(_0x48bbbd,_0xf931b5)=>(_0x3b4c2d,_0x127b5b)=>_0xf931b5(_0x3b4c2d,_0x127b5b,_0x48bbbd);let se=class extends _0x3ca0d9{constructor(_0x13d9e4,_0xd2dea,_0x2ae77c,_0x59aebd,_0x4839f9,_0x8f5b3d){const _0x241678=_0x4a9b73;super(),this[_0x241678(0x1aa)]=_0x13d9e4,this['_localCacheService']=_0xd2dea,this[_0x241678(0x240)]=_0x2ae77c,this[_0x241678(0x27d)]=_0x59aebd,this[_0x241678(0x2a4)]=_0x4839f9,this[_0x241678(0x187)]=_0x8f5b3d,this[_0x241678(0x186)](),this[_0x241678(0x1cb)]();}['_setupBeforeClosingHandler'](){const _0xfb2c9f=_0x4a9b73;this['disposeWithMe'](this[_0xfb2c9f(0x1aa)][_0xfb2c9f(0x2a8)](()=>{const _0x3fe76b=_0xfb2c9f;if(this[_0x3fe76b(0xee)]['saveTaskMap'][_0x3fe76b(0x14b)])return this[_0x3fe76b(0x187)]['t'](_0x3fe76b(0x127));}));}[_0x4a9b73(0x1cb)](){const _0x5e4d65=_0x4a9b73;this[_0x5e4d65(0xc8)](this[_0x5e4d65(0x240)][_0x5e4d65(0x11c)][_0x5e4d65(0x257)](_0x15fb6a=>{const _0x4e8a4c=_0x5e4d65;_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x14d)]&&this['_messageService'][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x268)],'content':this[_0x4e8a4c(0x187)]['t']('collaboration.single-unit.warning')}),_0x15fb6a['id']===_0x4ad9d4['CLOSE_ROOM']&&this['_messageService'][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x268)],'content':this[_0x4e8a4c(0x187)]['t'](_0x4e8a4c(0xd6))}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x226)]&&this['_notificationService'][_0x4e8a4c(0x254)]({'title':this[_0x4e8a4c(0x187)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x4e8a4c(0x25e),'duration':0x0}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x1b3)]&&this[_0x4e8a4c(0x27d)][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x1ed)],'content':this['_localeService']['t'](_0x4e8a4c(0xd6))+'('+_0x15fb6a[_0x4e8a4c(0x29c)]+')'}),_0x15fb6a['id']===_0x4ad9d4['JOIN_ROOM_FAILED']&&this['_messageService'][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x268)],'content':this[_0x4e8a4c(0x187)]['t'](_0x15fb6a[_0x4e8a4c(0x29c)]||'')}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x124)]&&this[_0x4e8a4c(0x27d)][_0x4e8a4c(0x254)]({'type':_0x4c15ba['Warning'],'content':this[_0x4e8a4c(0x187)]['t'](_0x4e8a4c(0x128))}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x20f)]&&this[_0x4e8a4c(0x27d)][_0x4e8a4c(0x254)]({'type':_0x4c15ba['Error'],'content':this[_0x4e8a4c(0x187)]['t'](_0x4e8a4c(0x181))}),_0x15fb6a['id']===_0x4ad9d4[_0x4e8a4c(0x17d)]&&this['_messageService'][_0x4e8a4c(0x254)]({'type':_0x4c15ba[_0x4e8a4c(0x1ed)],'content':this[_0x4e8a4c(0x187)]['t'](_0x4e8a4c(0x146))});}));}};se=Ji([B(0x0,_0x3e6ed3),B(0x1,_0x27b901),B(0x2,_0x5a910a(_0x14e4da)),B(0x3,_0x3be822),B(0x4,_0x4fd550),B(0x5,_0x5a910a(_0x15a6bf))],se);const Zi=_0x4a9b73(0x1f0),et={},Ut=_0x400d12(_0x4a9b73(0x1dc));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x315453,_0x16883e,_0xf954ed,_0xf395a5)=>{const _0x31ca42=_0x4a9b73;for(var _0x3b9d1c=_0xf395a5>0x1?void 0x0:_0xf395a5?Qi(_0x16883e,_0xf954ed):_0x16883e,_0x4b0d36=_0x315453[_0x31ca42(0x190)]-0x1,_0x15c789;_0x4b0d36>=0x0;_0x4b0d36--)(_0x15c789=_0x315453[_0x4b0d36])&&(_0x3b9d1c=_0x15c789(_0x3b9d1c)||_0x3b9d1c);return _0x3b9d1c;},G=(_0x520d97,_0xd9553c)=>(_0x154fb3,_0x9e1d28)=>_0xd9553c(_0x154fb3,_0x9e1d28,_0x520d97);let ie=class extends _0x43324a{constructor(_0x12735b,_0x5c59f1,_0x1ffd5a,_0x25af1b,_0x3390ab){const _0x34d631=_0x4a9b73;super(),this[_0x34d631(0x12e)]=_0x12735b,this[_0x34d631(0x156)]=_0x5c59f1,this['_commandService']=_0x1ffd5a,this[_0x34d631(0xfb)]=_0x25af1b,_0x3390ab?_0x3390ab==null||_0x3390ab['whenReady']()[_0x34d631(0x19b)](()=>this['_init']()):(this[_0x34d631(0x156)][_0x34d631(0x29d)](_0x34d631(0x251),_0x34d631(0x21e)),this[_0x34d631(0x2bf)]());}async[_0x4a9b73(0x2bf)](){const _0x648152=_0x4a9b73,_0x38808e=this[_0x648152(0x12e)]['getParam']('unit'),_0x2c6c59=this[_0x648152(0x12e)]['getParam'](_0x648152(0x119)),_0xab4fb9=this[_0x648152(0x12e)]['getParam']('subunit');if(!_0x38808e||!_0x2c6c59){this['_logService'][_0x648152(0x29d)](_0x648152(0x251),_0x648152(0x1d4));return;}const _0x441730=await this[_0x648152(0xfb)][_0x648152(0x191)](_0x38808e,Number(_0x2c6c59),_0xab4fb9);_0x441730&&_0x441730 instanceof _0x117e0c&&this['_setupSubUnitSync'](_0x441730);}async[_0x4a9b73(0xe0)](_0x19e628){const _0x45105c=_0x4a9b73;await this[_0x45105c(0x245)](_0x19e628),_0x19e628['activeSheet$'][_0x45105c(0x1c1)](_0x2c1b93(this[_0x45105c(0x282)]))[_0x45105c(0x257)](_0x27167f=>{const _0x555b12=_0x45105c;_0x27167f&&this[_0x555b12(0x20e)](_0x27167f);}),this['_urlService']['urlChange$'][_0x45105c(0x1c1)](_0x2c1b93(this[_0x45105c(0x282)]))[_0x45105c(0x257)](()=>this[_0x45105c(0x245)](_0x19e628));}[_0x4a9b73(0x20e)](_0x28b1fc,_0x4166b0=!0x1){const _0x5af5b6=_0x4a9b73,_0x1bbf29=this[_0x5af5b6(0x12e)][_0x5af5b6(0x1c2)](_0x5af5b6(0x1cd));_0x28b1fc[_0x5af5b6(0x23e)]()!==_0x1bbf29&&this[_0x5af5b6(0x12e)][_0x5af5b6(0xca)](_0x5af5b6(0x1cd),_0x28b1fc[_0x5af5b6(0x23e)](),_0x4166b0);}async['_updateSubUnitFromURLParams'](_0x184d43){const _0x1f7b7b=_0x4a9b73;var _0x117a14;const _0x3d8751=this[_0x1f7b7b(0x12e)][_0x1f7b7b(0x1c2)](_0x1f7b7b(0x1cd));if(!_0x3d8751||!_0x184d43[_0x1f7b7b(0x24b)](_0x3d8751)){const _0x271a78=_0x184d43['getUnhiddenWorksheets']()[0x0],_0x4c5d32=_0x184d43[_0x1f7b7b(0x24b)](_0x271a78);if(!_0x4c5d32)return;this[_0x1f7b7b(0x20e)](_0x4c5d32,!0x0),await this['_commandService'][_0x1f7b7b(0x2ac)](_0x7515ad['id'],{'unitId':_0x184d43[_0x1f7b7b(0x1ce)](),'subUnitId':_0x271a78});return;}((_0x117a14=_0x184d43['getActiveSheet']())==null?void 0x0:_0x117a14[_0x1f7b7b(0x23e)]())!==_0x3d8751&&await this['_commandService'][_0x1f7b7b(0x2ac)](_0x7515ad['id'],{'unitId':_0x184d43[_0x1f7b7b(0x1ce)](),'subUnitId':_0x3d8751});}};ie=qi([G(0x0,Ut),G(0x1,_0x353efc),G(0x2,_0x125a4d),G(0x3,_0x5a910a(_0x518104)),G(0x4,_0x405dd8(_0x2ec166))],ie);var en=Object[_0x4a9b73(0xc4)],tn=(_0x16bf38,_0x3b2d7b,_0xdb4953,_0x4a8bce)=>{const _0x35edbc=_0x4a9b73;for(var _0x5e4142=_0x4a8bce>0x1?void 0x0:_0x4a8bce?en(_0x3b2d7b,_0xdb4953):_0x3b2d7b,_0x3d4d32=_0x16bf38[_0x35edbc(0x190)]-0x1,_0x59fbcd;_0x3d4d32>=0x0;_0x3d4d32--)(_0x59fbcd=_0x16bf38[_0x3d4d32])&&(_0x5e4142=_0x59fbcd(_0x5e4142)||_0x5e4142);return _0x5e4142;},pe=(_0x33d5fd,_0x1c5890)=>(_0x263a15,_0x4f5081)=>_0x1c5890(_0x263a15,_0x4f5081,_0x33d5fd);let ne=class{constructor(_0x8c12ec,_0x1bdb67,_0x3e0fad){const _0x3eb0f6=_0x4a9b73;this[_0x3eb0f6(0x23c)]=_0x8c12ec,this[_0x3eb0f6(0x20b)]=_0x1bdb67,this[_0x3eb0f6(0xd1)]=_0x3e0fad;}[_0x4a9b73(0x194)](_0x248d9a){const _0x45b8dc=_0x4a9b73;this[_0x45b8dc(0xfc)](_0x248d9a),this[_0x45b8dc(0x13f)](_0x248d9a);}[_0x4a9b73(0x129)](_0x309d3a){const _0x317669=_0x4a9b73,{unitID:_0x59d0e1}=_0x309d3a,_0xa2d7=this['_renderManagerService'][_0x317669(0x205)](_0x59d0e1)[_0x317669(0x201)](_0x4d8eea),{redoCache:_0x3aa429}=_0xa2d7['getUndoRedoMutationParamsCache']();if(_0x3aa429[_0x317669(0x190)]===0x0)return _0x309d3a;let _0x4ae1a1=_0x51c666[_0x317669(0x2ab)](_0x309d3a[_0x317669(0x2b5)][0x0]);for(let _0x3df4e4=0x0;_0x3df4e4<_0x3aa429['length'];_0x3df4e4++){const _0x46d234={'id':_0x317669(0x24e),'params':{..._0x3aa429[_0x3df4e4]}},_0x16ead0=this[_0x317669(0x20b)]['transformMutation'](_0x4ae1a1,_0x46d234,!0x1);if(_0x5f38d2(_0x16ead0))throw _0x16ead0['error'];_0x4ae1a1=_0x16ead0[_0x317669(0x179)];}return{..._0x51c666[_0x317669(0x2ab)](_0x309d3a),'mutations':[_0x4ae1a1]};}['_transformUndoRedoStack'](_0x2443d1){const _0xd38bd7=_0x4a9b73,{unitID:_0x571919}=_0x2443d1,_0x18ef65=this['_renderManagerService'][_0xd38bd7(0x205)](_0x571919)[_0xd38bd7(0x201)](_0x4d8eea),{undoCache:_0x32dba7,redoCache:_0x1d3007}=_0x18ef65[_0xd38bd7(0x22c)]();if(_0x32dba7['length']===0x0||_0x1d3007[_0xd38bd7(0x190)]===0x0)return;const _0x53d05d=[],_0x1c12ea=[];let _0x8d5a68=_0x51c666['deepClone'](_0x2443d1[_0xd38bd7(0x2b5)][0x0]),_0x3df46f=_0x51c666[_0xd38bd7(0x2ab)](_0x2443d1[_0xd38bd7(0x2b5)][0x0]);for(let _0x5054b3=_0x32dba7[_0xd38bd7(0x190)]-0x1;_0x5054b3>=0x0;_0x5054b3--){const _0x542177={'id':_0xd38bd7(0x24e),'params':{..._0x32dba7[_0x5054b3]}},_0x53b98b={'id':_0xd38bd7(0x24e),'params':{..._0x1d3007[_0x5054b3]}},_0x1b2940=this[_0xd38bd7(0x20b)][_0xd38bd7(0x14e)](_0x8d5a68,_0x542177,!0x1),_0x4740d5=this['_transformService']['transformMutation'](_0x3df46f,_0x53b98b,!0x1);if(_0x5f38d2(_0x1b2940))throw _0x1b2940[_0xd38bd7(0x25e)];if(_0x5f38d2(_0x4740d5))throw _0x4740d5[_0xd38bd7(0x25e)];_0x53d05d[_0xd38bd7(0x162)](_0x1b2940[_0xd38bd7(0xdb)]['params']),_0x1c12ea[_0xd38bd7(0x162)](_0x4740d5['m2Prime'][_0xd38bd7(0x15c)]),_0x8d5a68=_0x1b2940[_0xd38bd7(0x179)],_0x3df46f=_0x4740d5[_0xd38bd7(0x179)];}_0x18ef65['setUndoRedoMutationParamsCache']({'undoCache':_0x53d05d,'redoCache':_0x1c12ea});}['_transformPreviousActiveRange'](_0x4f70fa){const _0x463ca6=_0x4a9b73,{unitID:_0x59cade}=_0x4f70fa,_0x3f04a4=this[_0x463ca6(0xd1)][_0x463ca6(0x205)](_0x59cade)[_0x463ca6(0x201)](_0x4d8eea),_0x35524b=_0x3f04a4[_0x463ca6(0x11f)]();if(_0x35524b==null)return;const _0x5208e1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4f70fa[_0x463ca6(0x15e)],'actions':null,'textRanges':[_0x35524b]}}],_0x189d67=this[_0x463ca6(0x20b)]['transformMutationsWithChangeset'](_0x4f70fa,_0x5208e1);if(!_0x1a68b3(_0x189d67))throw _0x189d67[_0x463ca6(0x25e)];const _0x276db3=_0x189d67[_0x463ca6(0xdb)][0x0][_0x463ca6(0x15c)][_0x463ca6(0x207)];Array[_0x463ca6(0x1fc)](_0x276db3)&&_0x276db3[_0x463ca6(0x190)]&&_0x3f04a4[_0x463ca6(0x25f)](_0x276db3[0x0]);}};ne=tn([pe(0x0,_0x5a910a(_0x315584)),pe(0x1,_0x374c61),pe(0x2,_0x164fdf)],ne);var sn=Object[_0x4a9b73(0xc4)],nn=(_0x3579db,_0x1b6f59,_0x3d6a89,_0x5073e5)=>{for(var _0x30ffa8=_0x5073e5>0x1?void 0x0:_0x5073e5?sn(_0x1b6f59,_0x3d6a89):_0x1b6f59,_0x178ef8=_0x3579db['length']-0x1,_0x336291;_0x178ef8>=0x0;_0x178ef8--)(_0x336291=_0x3579db[_0x178ef8])&&(_0x30ffa8=_0x336291(_0x30ffa8)||_0x30ffa8);return _0x30ffa8;},Ce=(_0x4a7371,_0x583920)=>(_0x37fd66,_0x39339e)=>_0x583920(_0x37fd66,_0x39339e,_0x4a7371);let re=class{constructor(_0x2a2593,_0x34e525,_0x2a28cd){const _0x160e19=_0x4a9b73;this[_0x160e19(0x23c)]=_0x2a2593,this[_0x160e19(0x20b)]=_0x34e525,this[_0x160e19(0x1e2)]=_0x2a28cd;}[_0x4a9b73(0x2ba)](_0x5c94c9){const _0x29a486=_0x4a9b73;this[_0x29a486(0x1d1)](_0x5c94c9);}[_0x4a9b73(0x129)](_0x2c379b){const _0x13e384=_0x4a9b73,{unitID:_0x502168}=_0x2c379b,{collaboration:_0x18b565}=this['_docStateChangeManagerService'][_0x13e384(0x21a)](_0x502168);if(_0x18b565['length']===0x0)return _0x2c379b;let _0x4e31c9=_0x51c666['deepClone'](_0x2c379b[_0x13e384(0x2b5)][0x0]);for(let _0x3f3321=0x0;_0x3f3321<_0x18b565[_0x13e384(0x190)];_0x3f3321++){const _0x5b888d={'id':_0x13e384(0x24e),'params':{'unitId':_0x18b565[_0x3f3321][_0x13e384(0x172)],..._0x18b565[_0x3f3321][_0x13e384(0x1c8)]}},_0x522de4=this['_transformService'][_0x13e384(0x14e)](_0x4e31c9,_0x5b888d,!0x1);if(_0x5f38d2(_0x522de4))throw _0x522de4[_0x13e384(0x25e)];_0x4e31c9=_0x522de4[_0x13e384(0x179)];}return{..._0x51c666[_0x13e384(0x2ab)](_0x2c379b),'mutations':[_0x4e31c9]};}['_transformHistoryAndStateStack'](_0x31ba9e){const _0x512491=_0x4a9b73,{unitID:_0x4a8c6e}=_0x31ba9e,{history:_0x5beb92,collaboration:_0x5259f7}=this[_0x512491(0x1e2)][_0x512491(0x21a)](_0x4a8c6e);if(_0x5beb92[_0x512491(0x190)]===0x0&&_0x5259f7[_0x512491(0x190)]===0x0)return;const _0x4cc538=[],_0x2cfd0a=[];let _0x7d55cf=_0x51c666['deepClone'](_0x31ba9e[_0x512491(0x2b5)][0x0]),_0x575b8c=_0x51c666[_0x512491(0x2ab)](_0x31ba9e['mutations'][0x0]);for(let _0x58644c=_0x5beb92['length']-0x1;_0x58644c>=0x0;_0x58644c--){const _0x18c6b0={'id':_0x512491(0x24e),'params':{'unitId':_0x5beb92[_0x58644c][_0x512491(0x172)],..._0x5beb92[_0x58644c]['undoState']}},_0x4ab785={'id':_0x512491(0x24e),'params':{'unitId':_0x5beb92[_0x58644c][_0x512491(0x172)],..._0x5beb92[_0x58644c][_0x512491(0x1c8)]}},_0x5ec488=this[_0x512491(0x20b)][_0x512491(0x14e)](_0x7d55cf,_0x18c6b0,!0x1),_0x5efb71=this['_transformService'][_0x512491(0x14e)](_0x575b8c,_0x4ab785,!0x1);if(_0x5f38d2(_0x5ec488))throw _0x5ec488[_0x512491(0x25e)];if(_0x5f38d2(_0x5efb71))throw _0x5efb71[_0x512491(0x25e)];_0x4cc538[_0x512491(0x162)]({..._0x5beb92[_0x58644c],'undoState':_0x5ec488[_0x512491(0xdb)][_0x512491(0x15c)],'redoState':_0x5efb71['m2Prime']['params']}),_0x7d55cf=_0x5ec488[_0x512491(0x179)],_0x575b8c=_0x5efb71[_0x512491(0x179)];}_0x7d55cf=_0x51c666['deepClone'](_0x31ba9e['mutations'][0x0]),_0x575b8c=_0x51c666[_0x512491(0x2ab)](_0x31ba9e['mutations'][0x0]);for(let _0x2583a1=_0x5259f7['length']-0x1;_0x2583a1>=0x0;_0x2583a1--){const _0x2073cf={'id':_0x512491(0x24e),'params':{'unitId':_0x5259f7[_0x2583a1]['unitId'],..._0x5259f7[_0x2583a1][_0x512491(0x15f)]}},_0x4af910={'id':_0x512491(0x24e),'params':{'unitId':_0x5259f7[_0x2583a1]['unitId'],..._0x5259f7[_0x2583a1]['redoState']}},_0x2a8329=this[_0x512491(0x20b)]['transformMutation'](_0x7d55cf,_0x2073cf,!0x1),_0x3bd70e=this[_0x512491(0x20b)][_0x512491(0x14e)](_0x575b8c,_0x4af910,!0x1);if(_0x5f38d2(_0x2a8329))throw _0x2a8329[_0x512491(0x25e)];if(_0x5f38d2(_0x3bd70e))throw _0x3bd70e[_0x512491(0x25e)];_0x2cfd0a[_0x512491(0x162)]({..._0x5259f7[_0x2583a1],'undoState':_0x2a8329['m2Prime'][_0x512491(0x15c)],'redoState':_0x3bd70e[_0x512491(0xdb)][_0x512491(0x15c)]}),_0x7d55cf=_0x2a8329[_0x512491(0x179)],_0x575b8c=_0x3bd70e[_0x512491(0x179)];}this[_0x512491(0x1e2)][_0x512491(0x11d)](_0x4a8c6e,{'history':_0x4cc538,'collaboration':_0x2cfd0a});}};re=nn([Ce(0x0,_0x5a910a(_0x315584)),Ce(0x1,_0x374c61),Ce(0x2,_0x5a910a(_0x5c9ae2))],re);var rn=Object[_0x4a9b73(0xc4)],on=(_0x33ed34,_0x46412d,_0x3ae330,_0xe1ff33)=>{for(var _0x3c0ae0=_0xe1ff33>0x1?void 0x0:_0xe1ff33?rn(_0x46412d,_0x3ae330):_0x46412d,_0x502cc6=_0x33ed34['length']-0x1,_0x8f3028;_0x502cc6>=0x0;_0x502cc6--)(_0x8f3028=_0x33ed34[_0x502cc6])&&(_0x3c0ae0=_0x8f3028(_0x3c0ae0)||_0x3c0ae0);return _0x3c0ae0;},tt=(_0x4108ab,_0x158f6a)=>(_0x49ebde,_0x5d2c77)=>_0x158f6a(_0x49ebde,_0x5d2c77,_0x4108ab);let oe=class{constructor(_0x8d0a8,_0x2da135){const _0x38cd70=_0x4a9b73;this[_0x38cd70(0x23c)]=_0x8d0a8,this[_0x38cd70(0x20b)]=_0x2da135;}['transformSelections'](_0x44044b){const _0x31fc45=_0x4a9b73;var _0x2fcb66;const _0x477342=this['_injector']['get'](_0x277911),_0xc88dcd=(_0x2fcb66=_0x477342[_0x31fc45(0x12b)]())!=null?_0x2fcb66:[];if(_0xc88dcd[_0x31fc45(0x190)]===0x0)return;const _0x1228c9=_0x44044b[_0x31fc45(0x15e)],_0x58535c=[{'id':_0x31fc45(0x24e),'params':{'unitId':_0x1228c9,'actions':null,'textRanges':_0xc88dcd}}],_0x4adb29=this[_0x31fc45(0x20b)][_0x31fc45(0x1a9)](_0x44044b,_0x58535c);if(!_0x1a68b3(_0x4adb29))throw _0x4adb29[_0x31fc45(0x25e)];const _0x3afa6d=_0x4adb29[_0x31fc45(0xdb)][0x0][_0x31fc45(0x15c)][_0x31fc45(0x207)];Array['isArray'](_0x3afa6d)&&_0x3afa6d[_0x31fc45(0x190)]&&_0x477342[_0x31fc45(0x10b)](_0x3afa6d,{'unitId':_0x1228c9,'subUnitId':_0x1228c9},!0x1);}};oe=on([tt(0x0,_0x5a910a(_0x315584)),tt(0x1,_0x374c61)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x5f2e88,_0x582ae4,_0x32c9a3,_0x4a1103)=>{for(var _0x2b2330=_0x4a1103>0x1?void 0x0:_0x4a1103?an(_0x582ae4,_0x32c9a3):_0x582ae4,_0x1c5bd4=_0x5f2e88['length']-0x1,_0x1af08c;_0x1c5bd4>=0x0;_0x1c5bd4--)(_0x1af08c=_0x5f2e88[_0x1c5bd4])&&(_0x2b2330=_0x1af08c(_0x2b2330)||_0x2b2330);return _0x2b2330;},U=(_0x175ec9,_0xc8a9ab)=>(_0x460f11,_0x33b288)=>_0xc8a9ab(_0x460f11,_0x33b288,_0x175ec9);let ae=class extends _0x3ca0d9{constructor(_0x2bf567,_0x4a8d55,_0x3f5387,_0x3689dd,_0x269786,_0x2b9af6,_0x2d8431,_0x3bce66){const _0x4c63c6=_0x4a9b73;super(),_(this,_0x4c63c6(0x1f3),new _0x4ae7de(_0x167395[_0x4c63c6(0x242)])),(this[_0x4c63c6(0x1e2)]=_0x2bf567,this[_0x4c63c6(0xcf)]=_0x4a8d55,this['_docTransformIMECacheService']=_0x3f5387,this[_0x4c63c6(0x100)]=_0x3689dd,this[_0x4c63c6(0x264)]=_0x269786,this[_0x4c63c6(0x290)]=_0x2b9af6,this[_0x4c63c6(0x27d)]=_0x2d8431,this['_localeService']=_0x3bce66,this['_initEntityListener']());}['_initEntityListener'](){const _0x719a6f=_0x4a9b73;this[_0x719a6f(0xc8)](this[_0x719a6f(0xcf)][_0x719a6f(0x18e)][_0x719a6f(0x257)](_0x2be980=>{const _0x4b30b9=_0x719a6f,_0x213b7e=this[_0x4b30b9(0x1e2)][_0x4b30b9(0x253)][_0x4b30b9(0x257)](_0x3bc415=>{const _0x430f41=_0x4b30b9;if(_0x3bc415==null)return;const {unitId:_0x3fcf76,redoState:_0x2c1edf,commandId:_0x287c71}=_0x3bc415;if(_0x3fcf76!==_0x2be980[_0x430f41(0x15e)])return;const _0x4a3d57={'id':_0x287c71,'type':_0x5e5d3a[_0x430f41(0x18a)],'params':{'unitId':_0x3fcf76,'actions':_0x2c1edf[_0x430f41(0x154)],'textRanges':null}};_0x2be980[_0x430f41(0xc3)](_0x4a3d57);});if(_0x2be980[_0x4b30b9(0xc8)](_0x213b7e),_0x2be980 instanceof _0x175eda){const _0x2a2d7e={'onTransformIME':_0x5bd2d7=>this[_0x4b30b9(0xda)][_0x4b30b9(0x194)](_0x5bd2d7),'onTransformState':_0x55191a=>this[_0x4b30b9(0x100)]['transformStateCache'](_0x55191a),'onTransformSelections':_0x5e7721=>this[_0x4b30b9(0x264)]['transformSelections'](_0x5e7721),'onSyncEditingCollabCursor':_0x404523=>this['_docSyncEditingCollabCursorService'][_0x4b30b9(0xe2)](_0x404523),'onTransformRemoteChangesetByIMECache':_0x12ff45=>this[_0x4b30b9(0xda)][_0x4b30b9(0x129)](_0x12ff45),'onTransformRemoteChangesetByStateCache':_0x4a42a8=>this[_0x4b30b9(0x100)][_0x4b30b9(0x129)](_0x4a42a8)};_0x2be980[_0x4b30b9(0x1d2)](_0x2a2d7e);}}));}};function _0x54df(){const _0x3b8bde=['_scheduleClearOtherTimer','_updateSubUnitFromURLParams','_configService','LICENSE_EXPORT_SIZE_EXCEEDED','text','getViewport','complete','getSheetBySheetId','push','black','doc.mutation.rich-text-editing','_id','_instanceService','[CollaborationDataLoaderController]','code','docStateChange$','show','_initStatusListener','transformByState','subscribe','editingUnit','_startSheetCollabCursor','registerRenderModule','displayName','_initCommandExecutedListener','_onCursorDelete','error','setActiveRange','round','cursorInfo$','_toggleOnline','forEach','_docTransformSelectionsService','fillText','DeleteRangeMoveLeftCommandId','Unknown\x20user','Warning','onCommandExecuted','APPLY_NON_SEQUENTIAL_REVISION','1023814ifMqSy','sessionStatus$','990eGfjvy','_doCreateSocket','replace','onRendered','_roomMembers$','onTransformChange$','_color','_initResize','_shapes','getTypeOfUnitDisposed$','_collabCursorState$','36264xvKYXB','values','UNDEFINED','_startDocCollabCursor','PY_RUNTIME_SCRIPT_ERROR','_messageService','ONLINE','labelPosition','INVITE_CODE_HAS_BEEN_UES','161184GTnMgk','dispose$','_univerInstanceService','makeDirty','xlink:href','setTimeout','MOBILE_HAS_BEEN_BOUND','call','univer-text-red-500','_eventUnsubscribe','key','max','YUUMI_RATE_OVER_LIMIT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_document','_docSyncEditingCollabCursorService','LICENSE_IMPORT_SIZE_EXCEEDED','3878fQRdtr','addObject','cursorInfo','getOffsetConfig','some','collabStatus.notCollab','_collabSessionService','sheetID','status$','0\x200\x2017\x2016','data','debug','min','add','_refRangeService','setShapeProps','HEADER_MENU','collabStatus.fetchMiss','_notificationService','_themeService','collabStatus.synced','substring','registerBeforeClose','unit','1em','deepClone','executeCommand','split','M0\x200H16V16H0z','pluginName','url(#$1','contains','registerComponent','YUUMI_SUBSCRIPTION_NOT_FOUND','_drawRectRange','mutations','removeParam','getItem','_config','pushState','transformStateCache','_registerRenderDependencies','asObservable','searchParams','UNRECOGNIZED','_init','YUUMI_ASYNCIO_CANCELLED','defs','origin','body','onLocalMutation','getOwnPropertyDescriptor','_ensureSubject','FromArray','APPLY_DUPLICATED','disposeWithMe','APPLY_REJECT','setParam','currentTheme$','getVpScrollXYInfoByPosToVp','_hover','isActive','_collaborationController','off-line-single_clip0_910_343','_renderManagerService','location','getMergeData','_updateLocalCursor','COMPLETION_FINISHED','collaboration.closeRoom','getCurrent','_scheduleHeartbeat','string','_docTransformIMECacheService','m2Prime','APPLY_PERMISSION_DENIED','_docSkeletonManagerService','_getMergeRange','_labelPosition','_setupSubUnitSync','_online','syncEditingCollabCursor','saveOfflineData','saveTaskMap','triggerDblclick','getUnitStatus$','onPointerLeave$','APPLY_REVISION_CONFILICT','replaceState','_clearOtherTimers','green.600','4WogKjm','ticket','_localCacheService','url(#on-line-single_clip0_910_349)','clearTimeout','addObjects','stringify','LICENSE_MAX_UNITS_EXCEEDED','_colorIndex','RECT','registerRefRange','ALREADY_EXISTS','_httpService','extend','RemoveRowCommandId','_dataLoaderService','_transformUndoRedoStack','popstate','roomMembers$','hasOwnProperty','_docTransformStateCacheService','InsertRangeMoveDownCommandId','prototype','ENSURE_SNAPSHOT_EXECUTION','executionId','runOnServer','set','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_cursor','getConfig','CONNECTOR_DATA_TOO_LARGE','replaceDocRanges','_refreshCollabCursors','_getSheetObject','collab-rect-range-','invokeId','function','column','_scene','selection','idSuffix','getFocusedUnit','toString','assignAColorForMemberID','_anchor','type','defineProperty','_cursors','event$','setStateCache','_revisionService','getActiveRange','OffLineSingle','_assignedColors','createSocket','startColumn','SOCKET_FAILED_RETRY','save','top','collaboration-client.offline-data-not-saved','session.will-retry','transformRemoteChangeset','onMouseMove','getDocRanges','measureText','_handleHeartbeatEvent','_urlService','tag','roomMembers','Failed','AWAITING_WITH_PENDING','override','apply','INVALID_ARGUMENT','AWAITING','on-line-single_clip0_910_349','focused$','on-line-single','history','range','UNIVER_SHEET','mask','toRgbString','_transformPreviousActiveRange','InsertRangeMoveRightCommandId','arc','map','_entityInit$','_saveTaskMap','#FFF','session.collaboration-timeout','_context','findNodePositionByCharIndex','hide','init','size','_saveCache','OTHER_CLIENT_EDITING','transformMutation','0\x200\x2016\x2016','_handleEvent','path','icon','_session','actions','div','_logService','_backgroundColor','application/json','_handleLeaveEvent','_anchorDot','_getSaveTimeout','params','getCollabCursors$','unitID','undoState','_onCursorUpdate','fillRule','unshift','width','_textBubble','_sheetSkeletonManagerService','185798RoqmrW','skeleton','LICENSE_DISTRO_REJECTED','_drawTextRange','setAlpha','source','href','wsSessionTicketUrl','fillStyle','collabStatus.conflict','RemoveColCommandId','_getAnchorBounding','unitId','YUUMI_NO_CUBOID_FOR_QUESTION','height','drawWith','colorChannel1','updateOfflineData','resize','m1Prime','random','_render','addClipboardHook','SUBMIT_CHANGESET_TIMEOUT','...','requireSession','getCellPositionByOffset','session.connection-failed','_unitStatus','trim','NO_OTHER_CLIENTS_EDITING','getColorFromTheme','_setupBeforeClosingHandler','_localeService','currentColor','_commandService','MUTATION','_colorAssignService','getRelativeToViewportCoord','getSkeleton','entityInit$','TEXT','length','loadUnit','restore','_range','transformIMECache','univerjs-icon\x20univerjs-icon-','_memberService','dispose','_createSocketURL','_unitOnClients','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','then','SNAPSHOT_INVALID_SNAPSHOT','UniverIcon','_updateCollabCursors','delete','YUUMI_UNABLE_LOAD_URL','onPointerEnter$','ACTIVE_UNIT_EVENT_CHANNEL','INVALID_INVITE_CODE','_localStorageService','generateRandomId','blue.400','fill','_selfUnitIDs','transformMutationsWithChangeset','_beforeCloseService','DeleteRangeMoveUpCommandId','startsWith','subscribeEvent','name','sheetId','getAncestorScale','yellow.400','color','CONFLICT','attrs','NOT_FOUND','transform','setItem','_getScale','enableLocalCache','imageSourceType','createInstance','_entities','LOGIN_FAILED','WECHAT_HAS_BEEN_BOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','concat','pipe','getParam','CHANGESET_REVISION_CONFILICT','_handleHover','TOO_MANY_REQUESTS','unsubscribe','_hideTimer','redoState','eventID','getTypeOfUnitAdded$','_initEvent','saveImage','subunit','getUnitId','getCurrentUnitForType','evenodd','_transformHistoryAndStateStack','addHandlerCallback','_cachedData','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','/run/','_imageIoService','has','memberID','SYNCED','UPDATE_CURSOR','_removeClearOtherTimer','uni.network.url-service','startRow','getRangePointData','assign','_toggleOffline','_initDependencies','_docStateChangeManagerService','getCurrentRevOfUnit','_hovered','row','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','#fff','urlChange$','OTHER_CLIENTS_EDITING','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','_docClipboardService','from','Error','currentSkeleton$','bottom','collaboration-client-ui.config','VIEW_MAIN','INTERNAL_ERROR','_status$','_send','170jhfDxM','_heartbeatTimer','loadOfflineData','lineTo','getMemberID','_onRefRangeChange','get','isArray','getValue','USERS_LEAVE','YUUMI_AI_RUN_FAILED','_uiPartsService','with','SNAPSHOT_HAS_BEEN_REMOVED','_handleJoinEvent','OFFLINE','getRenderById','flatMap','textRanges','13vQznRz','closePath','newValue','_transformService','children','current','_updateURLWithCurrentState','SOCKET_FAILED','collabStatus.syncing','jiqing.500','entries','_initStatusComponent','defIds','collabStatus.offline','sessionTicket','endRow','clipPath','_collabCursorController','getStateCache','UNAUTHENTICATED','ranges','endColumn','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','next','_cursorInfo$','INVITE_CODE_REQUIRED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getUniverSheetInstance','className','storage','PERMISSION_DENIED','UNIVER_DOC','_registerDependencies','setInterval','_removeCollabCursors','EMAIL_HAS_BEEN_BOUND','getUndoRedoMutationParamsCache','red.300','_name','_getSessionTicket','_syncEditingCollabCursorService','2509375TLWciO','none','indexOf','_draw','runId','selections','exhaustSavingTask','_docSkeleton','subUnitId','YUUMI_URL_COL_OUT_OF_RANGE','USER_NOT_INVITED_CODE','_injector','1989231aqJFqN','getSheetId','_disabled','_collaborationUIEventService','_lastPointer','NOT_COLLAB','_cursorShapes'];_0x54df=function(){return _0x3b8bde;};return _0x54df();}ae=cn([U(0x0,_0x5a910a(_0x5c9ae2)),U(0x1,_0x5a910a(_0x7aeeca)),U(0x2,_0x5a910a(ne)),U(0x3,_0x5a910a(re)),U(0x4,_0x5a910a(oe)),U(0x5,_0x5a910a(He)),U(0x6,_0x3be822),U(0x7,_0x5a910a(_0x15a6bf))],ae);var ln=Object[_0x4a9b73(0xc4)],_n=(_0x33b6bc,_0x97b9d0,_0x46493d,_0x53244e)=>{const _0x39c6a3=_0x4a9b73;for(var _0x4a8d0c=_0x53244e>0x1?void 0x0:_0x53244e?ln(_0x97b9d0,_0x46493d):_0x97b9d0,_0x5a91c2=_0x33b6bc[_0x39c6a3(0x190)]-0x1,_0x85179d;_0x5a91c2>=0x0;_0x5a91c2--)(_0x85179d=_0x33b6bc[_0x5a91c2])&&(_0x4a8d0c=_0x85179d(_0x4a8d0c)||_0x4a8d0c);return _0x4a8d0c;},Ee=(_0x104587,_0x1ac1b8)=>(_0x3650e1,_0x16b4c0)=>_0x1ac1b8(_0x3650e1,_0x16b4c0,_0x104587);let we=class extends _0x3ca0d9{constructor(_0x177257,_0x3dfd53,_0x214288){const _0x5bda2e=_0x4a9b73;super(),_(this,_0x5bda2e(0x1d3),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x177257,this[_0x5bda2e(0x1a4)]=_0x3dfd53,this[_0x5bda2e(0x11e)]=_0x214288);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x4a9b73(0x1b9)](){const _0x148c65=_0x4a9b73;this[_0x148c65(0x23f)]=!0x1;}get[_0x4a9b73(0xe4)](){const _0x3b9678=_0x4a9b73;return this[_0x3b9678(0x144)];}[_0x4a9b73(0x197)](){const _0x66c69a=_0x4a9b73;this[_0x66c69a(0x237)]()['then'](()=>super[_0x66c69a(0x197)]());}async[_0x4a9b73(0x1f7)](_0x3cb640){const _0xf0f3c8=_0x4a9b73;return this[_0xf0f3c8(0x23f)]?null:this[_0xf0f3c8(0x1a4)][_0xf0f3c8(0x2b7)](_0x20acbd(_0x3cb640));}async[_0x4a9b73(0xe3)](_0x3814c1,_0x333f57){const _0x55fbee=_0x4a9b73;return!!this[_0x55fbee(0x1a4)][_0x55fbee(0x1b7)](_0x3814c1,_0x333f57);}[_0x4a9b73(0x177)](_0x2eceac,_0x16ea31,_0x3f5554,_0x2ea330){const _0x1a2c1b=_0x4a9b73,_0xda287=this[_0x1a2c1b(0x11e)][_0x1a2c1b(0x1e3)](_0x2eceac);this[_0x1a2c1b(0x1d3)][_0x1a2c1b(0x106)](_0x2eceac,{'unitID':_0x2eceac,'type':_0x16ea31,'awaitingChangeset':_0x3f5554,'mutations':_0x2ea330,'rev':_0xda287}),this[_0x1a2c1b(0x144)][_0x1a2c1b(0x1d7)](_0x2eceac)||this['_scheduleSaving'](_0x2eceac);}['_scheduleSaving'](_0x20dff1){const _0xd93844=_0x4a9b73,_0x3982a3=this[_0xd93844(0x15b)]();_0x3982a3===0x0?this[_0xd93844(0x14c)](_0x20dff1):this['_saveTaskMap']['set'](_0x20dff1,setTimeout(()=>this['_saveCache'](_0x20dff1),_0x3982a3));}['_getSaveTimeout'](){const _0x24d182=_0x4a9b73;var _0x5508bd;return(_0x5508bd=this['_configService'][_0x24d182(0x109)](_0x46d235))!=null?_0x5508bd:_0x13bfee;}[_0x4a9b73(0x14c)](_0x3faac5){const _0x567768=_0x4a9b73,_0xb5bda1=this[_0x567768(0x144)][_0x567768(0x1fb)](_0x3faac5);return _0xb5bda1!==void 0x0&&window['clearTimeout'](_0xb5bda1),this[_0x567768(0x1a4)][_0x567768(0x1b7)](_0x20acbd(_0x3faac5),this[_0x567768(0x1d3)][_0x567768(0x1fb)](_0x3faac5))[_0x567768(0x19b)](()=>this['_saveTaskMap'][_0x567768(0x19f)](_0x3faac5));}async[_0x4a9b73(0x237)](){const _0x2c27c7=_0x4a9b73,_0x3cfb96=[];this['_saveTaskMap'][_0x2c27c7(0x263)]((_0x455ead,_0x2bc4d7)=>{const _0x3198b3=_0x2c27c7;window[_0x3198b3(0xf0)](_0x455ead),_0x3cfb96[_0x3198b3(0x24c)](this[_0x3198b3(0x14c)](_0x2bc4d7)[_0x3198b3(0x19b)](()=>{const _0x515e67=_0x3198b3;this[_0x515e67(0x144)]['delete'](_0x2bc4d7);}));}),await Promise['all'](_0x3cfb96);}};we=_n([Ee(0x0,_0x34b4f6),Ee(0x1,_0x11d7b1),Ee(0x2,_0x5a910a(_0x15d859))],we);class hn extends _0x43324a{constructor(){const _0x5cdc2d=_0x4a9b73;super(),_(this,_0x5cdc2d(0x1e8)),this[_0x5cdc2d(0x1e8)]=_0x578952(window,_0x5cdc2d(0xfd))[_0x5cdc2d(0x1c1)](_0x2c1b93(this['dispose$']),_0x554e7a(0x1),_0x5410f0(void 0x0));}[_0x4a9b73(0xca)](_0x2a5a0c,_0x5b7751,_0x53abbf=!0x1){const _0x14e7b1=_0x4a9b73,_0x4a88fb=new URL(window['location']['href']);_0x4a88fb['searchParams'][_0x14e7b1(0x106)](_0x2a5a0c,_0x5b7751),_0x53abbf?window[_0x14e7b1(0x13a)][_0x14e7b1(0xe9)]('','',_0x4a88fb[_0x14e7b1(0x116)]()):window['history'][_0x14e7b1(0x2b9)]('','',_0x4a88fb[_0x14e7b1(0x116)]());}[_0x4a9b73(0x2b6)](_0x3f4b6f,_0xde03e4=!0x1){const _0x16772d=_0x4a9b73,_0x4fa4b4=new URL(window[_0x16772d(0xd2)][_0x16772d(0x16c)]);_0x4fa4b4[_0x16772d(0x2bd)][_0x16772d(0x19f)](_0x3f4b6f),_0xde03e4?window['history']['replaceState']('','',_0x4fa4b4['toString']()):window[_0x16772d(0x13a)][_0x16772d(0x2b9)]('','',_0x4fa4b4['toString']());}[_0x4a9b73(0x1c2)](_0x8a5b94){const _0x43a965=_0x4a9b73;var _0x416c31;return(_0x416c31=new URL(window['location'][_0x43a965(0x16c)])[_0x43a965(0x2bd)][_0x43a965(0x1fb)](_0x8a5b94))!=null?_0x416c31:void 0x0;}}var un=Object[_0x4a9b73(0x11a)],dn=Object[_0x4a9b73(0xc4)],fn=(_0x2d023a,_0x1f24a8,_0x4fcd38)=>_0x1f24a8 in _0x2d023a?un(_0x2d023a,_0x1f24a8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4fcd38}):_0x2d023a[_0x1f24a8]=_0x4fcd38,Sn=(_0x27a230,_0x57bbd8,_0x4b2369,_0xaa050)=>{const _0x2a0a6d=_0x4a9b73;for(var _0x1daf7b=_0xaa050>0x1?void 0x0:_0xaa050?dn(_0x57bbd8,_0x4b2369):_0x57bbd8,_0x4c744e=_0x27a230[_0x2a0a6d(0x190)]-0x1,_0x479ecf;_0x4c744e>=0x0;_0x4c744e--)(_0x479ecf=_0x27a230[_0x4c744e])&&(_0x1daf7b=_0x479ecf(_0x1daf7b)||_0x1daf7b);return _0x1daf7b;},Oe=(_0x55c9ca,_0x270963)=>(_0x430331,_0x5842b8)=>_0x270963(_0x430331,_0x5842b8,_0x55c9ca),mn=(_0xfbae69,_0x13ef7f,_0x47b185)=>fn(_0xfbae69,_0x13ef7f+'',_0x47b185);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x31e378{constructor(_0x324ea5=et,_0x25600b,_0x3bbcd2,_0x3fc18a){const _0x36e7c6=_0x4a9b73;super(),this[_0x36e7c6(0x2b8)]=_0x324ea5,this[_0x36e7c6(0xd1)]=_0x25600b,this[_0x36e7c6(0x23c)]=_0x3bbcd2,this[_0x36e7c6(0x246)]=_0x3fc18a;const {..._0xbf66b4}=_0x4ed531({},et,this[_0x36e7c6(0x2b8)]);this[_0x36e7c6(0x246)]['setConfig'](Zi,_0xbf66b4);}['onStarting'](){const _0x510846=_0x4a9b73;this[_0x510846(0x228)](),this[_0x510846(0x1e1)]();}[_0x4a9b73(0x270)](){this['_registerRenderDependencies']();}[_0x4a9b73(0x228)](){const _0x347860=_0x4a9b73;var _0x8493c7;const _0x408c85=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x1d89e7,{'useClass':_0x5e2d02}],[_0x27b901,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x5a2be1(this[_0x347860(0x23c)],_0x452377(_0x408c85,(_0x8493c7=this[_0x347860(0x2b8)])==null?void 0x0:_0x8493c7[_0x347860(0x133)]));}[_0x4a9b73(0x2bb)](){const _0x3e23eb=_0x4a9b73;this[_0x3e23eb(0xc8)](this['_renderManagerService'][_0x3e23eb(0x25a)](_0x4d90ef[_0x3e23eb(0x227)],[Pe])),this[_0x3e23eb(0xc8)](this[_0x3e23eb(0xd1)][_0x3e23eb(0x25a)](_0x4d90ef[_0x3e23eb(0x13c)],[Le]));}[_0x4a9b73(0x1e1)](){const _0x3810cd=_0x4a9b73;_0x4ea4eb(this[_0x3810cd(0x23c)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4a9b73(0x2af),gn),Ae=Sn([_0x172a10(_0x15233f),Oe(0x1,_0x164fdf),Oe(0x2,_0x5a910a(_0x315584)),Oe(0x3,_0x34b4f6)],Ae);var In=Object['getOwnPropertyDescriptor'],vn=(_0x17fa68,_0x2124b2,_0x510ad7,_0x5ac942)=>{const _0x98e232=_0x4a9b73;for(var _0xef4065=_0x5ac942>0x1?void 0x0:_0x5ac942?In(_0x2124b2,_0x510ad7):_0x2124b2,_0x3f3e96=_0x17fa68[_0x98e232(0x190)]-0x1,_0xe8fa30;_0x3f3e96>=0x0;_0x3f3e96--)(_0xe8fa30=_0x17fa68[_0x3f3e96])&&(_0xef4065=_0xe8fa30(_0xef4065)||_0xef4065);return _0xef4065;},K=(_0x543fc1,_0x4c8988)=>(_0x351986,_0x490316)=>_0x4c8988(_0x351986,_0x490316,_0x543fc1);let st=class extends _0x366dd1{constructor(_0x409d7e,_0x20321f,_0x16fc66,_0x14743c,_0x5c3e42){super(_0x409d7e,_0x20321f,_0x16fc66,_0x14743c,_0x5c3e42);}async[_0x4a9b73(0x122)](_0x2d0802){const _0xeff12f=_0x4a9b73,_0xc9aad8=await this[_0xeff12f(0x22f)](),_0xcc37f5=this[_0xeff12f(0x198)](_0x2d0802,_0xc9aad8);return this[_0xeff12f(0x26e)](_0xcc37f5);}[_0x4a9b73(0x198)](_0x3c5456,_0x3c26b2){const _0x35dccb=_0x4a9b73,_0x93c326=typeof window>'u'?new URL(_0x3c5456):new URL(_0x3c5456,window[_0x35dccb(0xd2)][_0x35dccb(0x2c2)]);_0x93c326[_0x35dccb(0x2bd)][_0x35dccb(0x106)](_0x35dccb(0x216),_0x3c26b2);const _0x300f21=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x35dccb(0xd2)]['search']);return _0x300f21[_0x35dccb(0x1fb)]('runId')&&_0x93c326[_0x35dccb(0x2bd)][_0x35dccb(0x106)](_0x35dccb(0x235),_0x300f21['get'](_0x35dccb(0x235))),_0x93c326[_0x35dccb(0x116)]();}async[_0x4a9b73(0x22f)](){const _0x1b7d1c=_0x4a9b73;var _0x24c991,_0x3842a9,_0x48a28c;const _0x5b0d90=this[_0x1b7d1c(0x246)][_0x1b7d1c(0x109)](_0x59f30c),_0x42c112=(_0x24c991=_0x5b0d90==null?void 0x0:_0x5b0d90[_0x1b7d1c(0x16d)])!=null?_0x24c991:_0x5f12f9;return(_0x48a28c=(_0x3842a9=(await this['_httpService']['get'](_0x42c112,{'headers':{'Content-Type':_0x1b7d1c(0x158)}}))['body'])==null?void 0x0:_0x3842a9[_0x1b7d1c(0xed)])!=null?_0x48a28c:'';}};st=vn([K(0x0,_0x5a910a(_0x315584)),K(0x1,_0x5a910a(_0x497203)),K(0x2,_0x34b4f6),K(0x3,_0x353efc),K(0x4,_0x3fe37c)],st);const it=0x7530,nt=_0x4a9b73(0x1a2);class jn extends _0x3ca0d9{constructor(){const _0x484fd3=_0x4a9b73;super(),_(this,_0x484fd3(0x24f),_0x50162d()),_(this,_0x484fd3(0x1a8),new Set()),_(this,_0x484fd3(0x199),new Map()),_(this,_0x484fd3(0x1f6),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x484fd3(0x182),new Map()),this[_0x484fd3(0x2bf)]();}[_0x4a9b73(0x197)](){const _0x4ad517=_0x4a9b73;super[_0x4ad517(0x197)](),this[_0x4ad517(0xea)][_0x4ad517(0x263)]((_0x478490,_0x5b2234)=>this[_0x4ad517(0x1db)](_0x5b2234)),this[_0x4ad517(0x1f6)]&&window['clearInterval'](this[_0x4ad517(0x1f6)]);}[_0x4a9b73(0xe6)](_0x1e7de5){const _0x5b65f6=_0x4a9b73;return this[_0x5b65f6(0xc5)](_0x1e7de5)[_0x5b65f6(0x1c1)](_0x2d4049());}[_0x4a9b73(0x258)](_0x3bb48e){const _0x2d3f15=_0x4a9b73;this[_0x2d3f15(0x1a8)]['size']===0x0&&this[_0x2d3f15(0xd8)](),this[_0x2d3f15(0x1a8)][_0x2d3f15(0x29f)](_0x3bb48e),this[_0x2d3f15(0x1f4)]({'type':0x0,'memberID':this[_0x2d3f15(0x24f)],'unitIDs':[_0x3bb48e],'isForwarded':!0x1});}['disposeUnit'](_0x237d56){const _0x1cd576=_0x4a9b73;this['_selfUnitIDs']['delete'](_0x237d56),this['_selfUnitIDs']['size']===0x0&&this[_0x1cd576(0x1f6)]&&window['clearInterval'](this[_0x1cd576(0x1f6)]);}['_init'](){const _0x46ee31=_0x4a9b73;this[_0x46ee31(0xc8)](_0x3efb45(_0x578952(window,_0x46ee31(0x225))[_0x46ee31(0x257)](_0x4f0be8=>{const _0x1ab059=_0x46ee31;if(_0x4f0be8[_0x1ab059(0x28b)]!==nt||!_0x4f0be8[_0x1ab059(0x20a)])return;const _0x3a3764=JSON['parse'](_0x4f0be8[_0x1ab059(0x20a)]);this[_0x1ab059(0x150)](_0x3a3764);}))),window['addEventListener']('unload',()=>this[_0x46ee31(0x1f4)]({'type':0x1,'memberID':this[_0x46ee31(0x24f)],'unitIDs':Array[_0x46ee31(0x1ec)](this[_0x46ee31(0x1a8)])}));}[_0x4a9b73(0x150)](_0x326fb1){const _0x29b0e8=_0x4a9b73;switch(_0x326fb1[_0x29b0e8(0x119)]){case 0x0:this[_0x29b0e8(0x203)](_0x326fb1);break;case 0x1:this[_0x29b0e8(0x159)](_0x326fb1);break;case 0x2:this[_0x29b0e8(0x12d)](_0x326fb1);break;}}['_handleJoinEvent'](_0x4a5b25){const _0x2f7bec=_0x4a9b73,{unitIDs:_0x58abaa,memberID:_0x498da4,isForwarded:_0x1195b8}=_0x4a5b25;_0x58abaa[_0x2f7bec(0x263)](_0x28c8e5=>{const _0x430c53=_0x2f7bec;if(!_0x1195b8&&this['_unitOnClients']['has'](_0x28c8e5)&&this[_0x430c53(0xc5)](_0x28c8e5)[_0x430c53(0x21f)](_0x13e2cd['OTHER_CLIENTS_EDITING']),!this[_0x430c53(0x199)][_0x430c53(0x1d7)](_0x28c8e5)||!this['_unitOnClients'][_0x430c53(0x1fb)](_0x28c8e5)[_0x430c53(0x1d7)](_0x498da4)){const _0x47a593=this[_0x430c53(0x199)][_0x430c53(0x1fb)](_0x28c8e5)||new Set();_0x47a593[_0x430c53(0x29f)](_0x498da4),this[_0x430c53(0x199)][_0x430c53(0x106)](_0x28c8e5,_0x47a593),this[_0x430c53(0x244)](_0x498da4);}}),_0x1195b8||this[_0x2f7bec(0x1f4)]({'type':0x0,'memberID':this[_0x2f7bec(0x24f)],'unitIDs':[...this[_0x2f7bec(0x1a8)]],'isForwarded':!0x0});}[_0x4a9b73(0x244)](_0x215c89){const _0x16e66c=_0x4a9b73;this['_removeClearOtherTimer'](_0x215c89);const _0x10e679=window[_0x16e66c(0x286)](()=>{const _0x3f16e2=_0x16e66c;this[_0x3f16e2(0x199)][_0x3f16e2(0x263)](_0x49fdee=>{_0x49fdee['delete'](_0x215c89);});},it*0x2);this[_0x16e66c(0xea)][_0x16e66c(0x106)](_0x215c89,_0x10e679);}[_0x4a9b73(0x1db)](_0x1db961){const _0x343108=_0x4a9b73;if(this[_0x343108(0xea)]['has'](_0x1db961)){const _0x9b7bbe=this[_0x343108(0xea)][_0x343108(0x1fb)](_0x1db961);_0x9b7bbe&&window[_0x343108(0xf0)](_0x9b7bbe),this[_0x343108(0xea)]['set'](_0x1db961,null);}}['_handleLeaveEvent'](_0x4821ec){const _0x30fdad=_0x4a9b73,{memberID:_0x328d53,unitIDs:_0x45df99}=_0x4821ec;_0x45df99[_0x30fdad(0x263)](_0xca2169=>{const _0x52ec31=_0x30fdad;var _0x243a68;const _0x19a93c=this[_0x52ec31(0x199)]['get'](_0xca2169);_0x19a93c&&(_0x19a93c[_0x52ec31(0x19f)](_0x328d53),(_0x243a68=this[_0x52ec31(0xc5)](_0xca2169))==null||_0x243a68[_0x52ec31(0x21f)](_0x19a93c['size']===0x0?_0x13e2cd[_0x52ec31(0x184)]:_0x13e2cd[_0x52ec31(0x1e9)]));}),this[_0x30fdad(0x1db)](_0x328d53);}['_handleHeartbeatEvent'](_0x3e81c7){const _0x31b1f6=_0x4a9b73;this[_0x31b1f6(0x244)](_0x3e81c7[_0x31b1f6(0x1d8)]);}[_0x4a9b73(0x1f4)](_0x25388d){const _0x10d260=_0x4a9b73;localStorage[_0x10d260(0x1b7)](nt,JSON[_0x10d260(0xf2)](_0x25388d));}[_0x4a9b73(0xd8)](){const _0x3d259c=_0x4a9b73;this[_0x3d259c(0x1f6)]=window[_0x3d259c(0x229)](()=>{const _0x70960c=_0x3d259c;this[_0x70960c(0x1f4)]({'type':0x2,'memberID':this['_id']});},it);}[_0x4a9b73(0xc5)](_0x1539b7){const _0x39da08=_0x4a9b73;return this['_unitStatus'][_0x39da08(0x1d7)](_0x1539b7)||this['_unitStatus'][_0x39da08(0x106)](_0x1539b7,new _0x4ae7de(_0x13e2cd[_0x39da08(0x184)])),this['_unitStatus'][_0x39da08(0x1fb)](_0x1539b7);}}var Mt=(_0x4f524c=>(_0x4f524c[_0x4f524c[_0x4a9b73(0x27a)]=0x0]=_0x4a9b73(0x27a),_0x4f524c[_0x4f524c['OK']=0x1]='OK',_0x4f524c[_0x4f524c[_0x4a9b73(0x1f2)]=0x2]='INTERNAL_ERROR',_0x4f524c[_0x4f524c['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x4f524c[_0x4f524c[_0x4a9b73(0x1b5)]=0x4]=_0x4a9b73(0x1b5),_0x4f524c[_0x4f524c['UNAUTHENTICATED']=0x5]=_0x4a9b73(0x21b),_0x4f524c[_0x4f524c['ALREADY_EXISTS']=0x6]=_0x4a9b73(0xf7),_0x4f524c[_0x4f524c[_0x4a9b73(0x135)]=0x7]='INVALID_ARGUMENT',_0x4f524c[_0x4f524c[_0x4a9b73(0x1c5)]=0x8]=_0x4a9b73(0x1c5),_0x4f524c[_0x4f524c['COMPLETION_FINISHED']=0x9]=_0x4a9b73(0xd5),_0x4f524c[_0x4f524c['LOGIN_FAILED']=0xa]=_0x4a9b73(0x1bd),_0x4f524c[_0x4f524c[_0x4a9b73(0x1c3)]=0x1389]=_0x4a9b73(0x1c3),_0x4f524c[_0x4f524c[_0x4a9b73(0x19c)]=0x1771]=_0x4a9b73(0x19c),_0x4f524c[_0x4f524c[_0x4a9b73(0x202)]=0x1772]=_0x4a9b73(0x202),_0x4f524c[_0x4f524c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4a9b73(0x103),_0x4f524c[_0x4f524c[_0x4a9b73(0xc9)]=0x1b59]=_0x4a9b73(0xc9),_0x4f524c[_0x4f524c[_0x4a9b73(0x26a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4f524c[_0x4f524c['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4a9b73(0xe8),_0x4f524c[_0x4f524c[_0x4a9b73(0xdc)]=0x1b5c]=_0x4a9b73(0xdc),_0x4f524c[_0x4f524c[_0x4a9b73(0xc7)]=0x1b5d]='APPLY_DUPLICATED',_0x4f524c[_0x4f524c[_0x4a9b73(0x10a)]=0x1f41]=_0x4a9b73(0x10a),_0x4f524c[_0x4f524c[_0x4a9b73(0xf3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4f524c[_0x4f524c[_0x4a9b73(0x19a)]=0x232a]=_0x4a9b73(0x19a),_0x4f524c[_0x4f524c['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4a9b73(0x291),_0x4f524c[_0x4f524c[_0x4a9b73(0x247)]=0x232c]=_0x4a9b73(0x247),_0x4f524c[_0x4f524c[_0x4a9b73(0x168)]=0x232d]=_0x4a9b73(0x168),_0x4f524c[_0x4f524c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4a9b73(0x1a0),_0x4f524c[_0x4f524c[_0x4a9b73(0x23a)]=0x2712]=_0x4a9b73(0x23a),_0x4f524c[_0x4f524c[_0x4a9b73(0x28d)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4f524c[_0x4f524c[_0x4a9b73(0x2b3)]=0x2714]=_0x4a9b73(0x2b3),_0x4f524c[_0x4f524c[_0x4a9b73(0x173)]=0x271a]=_0x4a9b73(0x173),_0x4f524c[_0x4f524c[_0x4a9b73(0x2c0)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4f524c[_0x4f524c['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4a9b73(0x1bf),_0x4f524c[_0x4f524c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4f524c[_0x4f524c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x4a9b73(0x28e),_0x4f524c[_0x4f524c[_0x4a9b73(0x1ff)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4f524c[_0x4f524c[_0x4a9b73(0x27c)]=0x2af9]=_0x4a9b73(0x27c),_0x4f524c[_0x4f524c[_0x4a9b73(0x280)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4f524c[_0x4f524c[_0x4a9b73(0x1a3)]=0x2ee2]=_0x4a9b73(0x1a3),_0x4f524c[_0x4f524c[_0x4a9b73(0x221)]=0x2ee3]=_0x4a9b73(0x221),_0x4f524c[_0x4f524c[_0x4a9b73(0x23b)]=0x2ee4]=_0x4a9b73(0x23b),_0x4f524c[_0x4f524c['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4f524c[_0x4f524c[_0x4a9b73(0x1be)]=0x32c9]=_0x4a9b73(0x1be),_0x4f524c[_0x4f524c[_0x4a9b73(0x287)]=0x32ca]=_0x4a9b73(0x287),_0x4f524c[_0x4f524c[_0x4a9b73(0x22b)]=0x32cb]=_0x4a9b73(0x22b),_0x4f524c[_0x4f524c[_0x4a9b73(0x2be)]=-0x1]='UNRECOGNIZED',_0x4f524c))(Mt||{}),pn=Object[_0x4a9b73(0xc4)],Cn=(_0x31acab,_0x5d0fab,_0x2130be,_0x3dac5c)=>{for(var _0x547e0f=_0x3dac5c>0x1?void 0x0:_0x3dac5c?pn(_0x5d0fab,_0x2130be):_0x5d0fab,_0x180215=_0x31acab['length']-0x1,_0x364758;_0x180215>=0x0;_0x180215--)(_0x364758=_0x31acab[_0x180215])&&(_0x547e0f=_0x364758(_0x547e0f)||_0x547e0f);return _0x547e0f;},be=(_0x334c3b,_0x4a7bb7)=>(_0x79b562,_0x27d78f)=>_0x4a7bb7(_0x79b562,_0x27d78f,_0x334c3b);let rt=class extends _0x3ca0d9{constructor(_0x4fa8cf,_0xa3528c,_0x54b60f){const _0x81c165=_0x4a9b73;super(),this['_instanceService']=_0x4fa8cf,this[_0x81c165(0xf8)]=_0xa3528c,this['_configService']=_0x54b60f;}async[_0x4a9b73(0x105)](_0x3d2108,_0x92295c,_0x1817ef,..._0x14c029){const _0x2e4cf0=_0x4a9b73;var _0x293d04,_0x3db414,_0xc3a529,_0x4811d6;const _0x1e25d5=this[_0x2e4cf0(0x250)][_0x2e4cf0(0x115)]();if(!_0x1e25d5)throw new Error(_0x2e4cf0(0x222));const _0x558b2a=((_0x293d04=this['_configService'][_0x2e4cf0(0x109)](_0x7da6f6))!=null?_0x293d04:_0x3beb12)+'/'+_0x3d2108+_0x2e4cf0(0x1d5)+_0x92295c,_0xdfd084=new URL(window[_0x2e4cf0(0xd2)]['href']),_0xabfb2e={'scriptId':_0x3d2108,'runId':(_0x3db414=_0xdfd084[_0x2e4cf0(0x2bd)][_0x2e4cf0(0x1fb)](_0x2e4cf0(0x235)))!=null?_0x3db414:'','function':_0x92295c,'unitId':_0x1e25d5[_0x2e4cf0(0x1ce)](),'argsOfFunction':JSON[_0x2e4cf0(0xf2)](_0x14c029),'invokeId':(_0xc3a529=_0x1817ef[_0x2e4cf0(0x10f)])!=null?_0xc3a529:'','executionId':(_0x4811d6=_0x1817ef[_0x2e4cf0(0x104)])!=null?_0x4811d6:''};try{const _0x1e3c6a=await this[_0x2e4cf0(0xf8)]['post'](_0x558b2a,{'body':_0xabfb2e});return _0x1e3c6a[_0x2e4cf0(0x2c3)]['error']&&_0x1e3c6a['body'][_0x2e4cf0(0x25e)][_0x2e4cf0(0x252)]!==Mt['OK']?'Failed':_0x1e3c6a[_0x2e4cf0(0x2c3)]['result'];}catch{return _0x2e4cf0(0x131);}}};rt=Cn([be(0x0,_0x3d2f4d),be(0x1,_0x5a910a(_0x497203)),be(0x2,_0x34b4f6)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x2f8b(){const _0x2be4fe=['You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Click\x20to\x20Reconnect','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','1106252LaDCZi','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','2004410zglaif','175446EdGYtM','1337574BWKUWL','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','4087rHhuRF','9cyZfuX','Connection\x20failed,\x20please\x20check\x20your\x20network.','5MlSDcH','Collaboration\x20Conflict','Local\x20file','Authentication\x20Error','3309352AnYPOZ','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','667530dhcMQD','Syncing\x20server\x20data...','6ldVeGv'];_0x2f8b=function(){return _0x2be4fe;};return _0x2f8b();}const _0x499fd3=_0x1a75;function _0x1a75(_0x43d193,_0x315ed3){const _0x2f8b0c=_0x2f8b();return _0x1a75=function(_0x1a7571,_0x15f6c1){_0x1a7571=_0x1a7571-0x153;let _0x4f5ffb=_0x2f8b0c[_0x1a7571];return _0x4f5ffb;},_0x1a75(_0x43d193,_0x315ed3);}(function(_0xf6e537,_0x2d8232){const _0x690225=_0x1a75,_0xb60c6d=_0xf6e537();while(!![]){try{const _0x361282=parseInt(_0x690225(0x169))/0x1+parseInt(_0x690225(0x15e))/0x2*(parseInt(_0x690225(0x165))/0x3)+-parseInt(_0x690225(0x162))/0x4+parseInt(_0x690225(0x154))/0x5*(-parseInt(_0x690225(0x15c))/0x6)+-parseInt(_0x690225(0x166))/0x7+parseInt(_0x690225(0x158))/0x8+parseInt(_0x690225(0x16a))/0x9*(parseInt(_0x690225(0x164))/0xa);if(_0x361282===_0x2d8232)break;else _0xb60c6d['push'](_0xb60c6d['shift']());}catch(_0x34c675){_0xb60c6d['push'](_0xb60c6d['shift']());}}}(_0x2f8b,0x346d7));const e={'collab-client':{'tooltip':{'reconnect':_0x499fd3(0x160)}},'collabStatus':{'fetchMiss':_0x499fd3(0x15d),'conflict':_0x499fd3(0x167),'notCollab':_0x499fd3(0x156),'synced':_0x499fd3(0x159),'syncing':'Syncing...','offline':_0x499fd3(0x161)},'session':{'connection-failed':_0x499fd3(0x153),'will-retry':_0x499fd3(0x168),'room-full':_0x499fd3(0x15b),'collaboration-timeout':_0x499fd3(0x163)},'conflict':{'title':_0x499fd3(0x155),'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':_0x499fd3(0x157),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x499fd3(0x15f)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x499fd3(0x15a)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x5bb3(){const _0x5a1cdb=['6317352expxmr','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','376416dOLBrM','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','13836udtLfz','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','1342BywntL','210TFkzQJ','1843580vkoZtW','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','در\x20حال\x20همگام\x20سازی...','2380knuNxn','تداخل\x20همکاری','287484eWDjcE','همگام\x20سازی','168936jFxOsZ','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','75tJUzKh','132498RdeAHL','خطای\x20اعتبارسنجی','16YhKyaK'];_0x5bb3=function(){return _0x5a1cdb;};return _0x5bb3();}function _0x1a89(_0x5157dd,_0x892fdb){const _0x5bb35e=_0x5bb3();return _0x1a89=function(_0x1a8946,_0x45f87e){_0x1a8946=_0x1a8946-0xd8;let _0x53749a=_0x5bb35e[_0x1a8946];return _0x53749a;},_0x1a89(_0x5157dd,_0x892fdb);}const _0x36949a=_0x1a89;(function(_0x5913c0,_0x571cf4){const _0x9b884b=_0x1a89,_0x2a5f24=_0x5913c0();while(!![]){try{const _0xe3ca72=-parseInt(_0x9b884b(0xe8))/0x1+parseInt(_0x9b884b(0xec))/0x2*(parseInt(_0x9b884b(0xeb))/0x3)+parseInt(_0x9b884b(0xee))/0x4*(parseInt(_0x9b884b(0xdf))/0x5)+parseInt(_0x9b884b(0xda))/0x6*(parseInt(_0x9b884b(0xe4))/0x7)+-parseInt(_0x9b884b(0xef))/0x8+-parseInt(_0x9b884b(0xd8))/0x9*(-parseInt(_0x9b884b(0xde))/0xa)+-parseInt(_0x9b884b(0xdd))/0xb*(parseInt(_0x9b884b(0xe6))/0xc);if(_0xe3ca72===_0x571cf4)break;else _0x2a5f24['push'](_0x2a5f24['shift']());}catch(_0x130940){_0x2a5f24['push'](_0x2a5f24['shift']());}}}(_0x5bb3,0xdeaca));const o={'collab-client':{'tooltip':{'reconnect':_0x36949a(0xdb)}},'collabStatus':{'fetchMiss':_0x36949a(0xea),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x36949a(0xe7),'syncing':_0x36949a(0xe3),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x36949a(0xe2),'will-retry':_0x36949a(0xe1),'room-full':_0x36949a(0xf0),'collaboration-timeout':_0x36949a(0xe9)},'conflict':{'title':_0x36949a(0xe5),'content':_0x36949a(0xe0)},'permission':{'title':_0x36949a(0xed),'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':_0x36949a(0xf1)},'closeRoom':_0x36949a(0xd9)},'auth':{'needGotoLoginAlert':_0x36949a(0xdc)}};export{o as default};
|