@univerjs-pro/collaboration-client-ui 0.10.2-nightly.202508080617 → 0.10.3-experimental.20250812-b4b6f1a
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/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.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/ko-KR.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/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.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/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.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/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4d98(){const _0x1469f6=['apply','_collabSessionService','_scene','_startDocCollabCursor','_getScale','setShapeProps','_setupSubUnitSync','InsertRangeMoveDownCommandId','labelPosition','result','_handleHeartbeatEvent','url(#$1','toString','wsSessionTicketUrl','_commandService','_hideTimer','entityInit$','drawWith','column','getUnitId','2054463KOETTi','LICENSE_DISTRO_REJECTED','_initStatusComponent','MOBILE_VERIFY_CODE_MISMATCH','collabCursorState$','uni.network.url-service','JOIN_ROOM_FAILED','unit','ranges','getTypeOfUnitAdded$','_handleLeaveEvent','_getSessionTicket','_docSkeleton','HEADER_MENU','idSuffix','_initStatusListener','currentTheme$','_uiPartsService','_id','SNAPSHOT_INVALID_SNAPSHOT','stringify','mask','getActiveSheet','selection','_initResize','getUniverSheetInstance','setInterval','univerjs-icon\x20univerjs-icon-','transformMutationsWithChangeset','prototype','_send','_clearOtherTimers','max','href','_config','pipe','collabStatus.conflict','LOGIN_FAILED','Warning','EMAIL_HAS_BEEN_BOUND','flatMap','roomMembers','_instanceService','collabStatus.fetchMiss','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','then','_dataLoaderService','debug','on-line-icon_clip0_910_349','_createSocketURL','call','assign','_saveTaskMap','arc','_configService','ticket','univer-flex\x20univer-items-center','off-line-icon','APPLY_REVISION_CONFILICT','saveTaskMap','trim','save','_document','1em','getConfig','syncEditingCollabCursor','getUndoRedoMutationParamsCache','some','_collabCursorState$','161608MXNRhi','setItem','white','clearTimeout','setAlpha','OTHER_CLIENT_EDITING','removeParam','className','resize','_initEntityListener','_initCommandExecutedListener','LICENSE_EXPORT_SIZE_EXCEEDED','_context','bottom','getMember','error','_handleEvent','getItem','_docStateChangeManagerService','next','_docClipboardService','unshift','replaceState','_imageIoService','deepClone','M0\x200H16V16H0z','activeSheet$','rgba(255,\x20255,\x20255,\x200.01)','_entities','icon','onPointerLeave$','_removeCollabCursors','editingUnit','ONLINE','0\x200\x2016\x2016','fillText','closePath','_memberService','backgroundColor','getFocusedUnit','getCollabCursors$','_selfUnitIDs','PERMISSION_DENIED','transformIMECache','send','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','SOCKET_FAILED','collabStatus.synced','getColorFromTheme','string','_initDependencies','getUnhiddenWorksheets','map','permission.title','...','onCommandExecuted','addObject','USERS_LEAVE','_collabCursorController','purple.300','getSheetBySheetId','onPointerEnter$','currentColor','row','_cursors','svg','_heartbeatTimer','collabStatus.notCollab','onTransformChange$','COMPLETION_FINISHED','displayName','history','_handleHover','_unitOnClients','TEXT','FETCH_MISS','getParam','_labelPosition','registerRenderModule','INVALID_INVITE_CODE','pushState','registerRefRange','url(#off-line-icon_clip0_910_343)','INTERNAL_ERROR','fillStyle','PENDING','addHandlerCallback','2XxJhBv','type','getOwnPropertyDescriptor','subUnitId','saveOfflineData','size','entries','OTHER_CLIENTS_EDITING','runId','storage','NOT_COLLAB','includes','YUUMI_UNABLE_LOAD_URL','cursorInfo','http://www.w3.org/2000/svg','height','INVITE_CODE_HAS_BEEN_UES','CONNECTOR_DATA_TOO_LARGE','assignAColorForMemberID','UNAUTHENTICATED','onRendered','_docSyncEditingCollabCursorService','collaboration.closeRoom','_updateCollabCursors','UNIVER_DOC','WECHAT_HAS_BEEN_BOUND','transform','_hover','INVALID_ARGUMENT','_sheetSkeletonManagerService','_httpService','_setupBeforeClosingHandler','push','split','setStateCache','forEach','createSocket','_localeService','_injector','disposeWithMe','_ensureSubject','status$','_urlService','_notificationService','_updateLocalCursor','_drawTextRange','children','mutations','m1Prime','_online','collab-rect-range-','_collaborationController','_messageService','_docTransformSelectionsService','triggerDblclick','name','post','_docTransformIMECacheService','m2Prime','subunit','YUUMI_SUBSCRIPTION_NOT_FOUND','on-line-icon','attrs','random','path','get','_cachedData','FromArray','doc.mutation.rich-text-editing','params','ACTIVE_UNIT_EVENT_CHANNEL','none','_color','requireSession','_transformService','TOO_MANY_REQUESTS','UNRECOGNIZED','_lastPointer','blue.400','skeleton','engine','_backgroundColor','restore','top','YUUMI_ASYNCIO_CANCELLED','getCollabEntity$','complete','hasOwnProperty','code','getSheetId','_cursor','_getAnchorBounding','_anchor','VIEW_MAIN','length','asObservable','getDocRanges','getVpScrollXYInfoByPosToVp','measureText','current','memberID','tag','delete','dispose$','url(#on-line-icon_clip0_910_349)','_init','lineTo','Error','collab-client.tooltip.reconnect','fill','LICENSE_IMPORT_SIZE_EXCEEDED','collabStatus.syncing','session.will-retry','isArray','use','key','hovered','_onCursorDelete','xlink:href','getStateCache','_univerInstanceService','text','defineProperty','_toggleOffline','addObjects','InsertRangeMoveRightCommandId','unload','_render','_themeService','from','_initEvent','toRgbString','_colorAssignService','_draw','findNodePositionByCharIndex','getRangePointData','_saveCache','transformStateCache','getCurrentSelections','makeDirty','min','_status$','exhaustSavingTask','_range','_hovered','PY_RUNTIME_SCRIPT_ERROR','getOwnPropertySymbols','getValue','_onCursorUpdate','loadUnit','LICENSE_MAX_UNITS_EXCEEDED','_drawAnchor','sessionStatus$','off-line-icon_clip0_910_343','_registerRenderDependencies','currentSkeleton$','setTimeout','_scheduleHeartbeat','ALREADY_EXISTS','_textBubble','AWAITING','YUUMI_CONNECTOR_URL_NOT_FOUND','translate(.97)','newValue','_shapes','USER_NOT_INVITED_CODE','moveTo','#FFF','Failed','SNAPSHOT_HAS_BEEN_REMOVED','_collaborationUIEventService','_disabled','InsertColCommandId','saveImage','body','replace','MUTATION','_transformUndoRedoStack','width','_refreshCollabCursors','disposeUnit','UNDEFINED','AWAITING_WITH_PENDING','DeleteRangeMoveUpCommandId','eventID','_colorIndex','188940QKDvBg','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','enableLocalCache','getCurrentUnitForType','_getSaveTimeout','_eventUnsubscribe','getOffsetConfig','getViewport','collaboration-client-ui.config','getRelativeToViewportCoord','values','_assignedColors','transformMutation','div','collaboration.single-unit.warning','_updateSubUnitFromURLParams','permission.content','dispose','add','all','_refRangeService','_session','cursorInfo$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','EMAIL_VERIFY_CODE_MISMATCH','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','registerComponent','addClipboardHook','extend','unsubscribe','transformByState','collab-text-range-','_localStorageService','createInstance','INVITE_CODE_ALREADY_BOUND','YUUMI_ALL_TABLES_IS_INVALID','transformSelections','_startSheetCollabCursor','_beforeCloseService','transformRemoteChangeset','UNIVER_SHEET','ENSURE_SNAPSHOT_EXECUTION','red.300','black','_unitStatus','_logService','addEventListener','_anchorDot','CHANGESET_REVISION_CONFILICT','override','data','CLOSE_ROOM','collaboration-client.offline-data-not-saved','_roomMembers$','_cursorShapes','unitId','set','UniverIcon','whenReady','_name','textRanges','_revisionService','origin','_docSkeletonManagerService','colorChannel1','MOBILE_HAS_BEEN_BOUND','subscribe','814280AKaceI','_transformPreviousActiveRange','549sXMtVu','urlChange$','APPLY_NON_SEQUENTIAL_REVISION','588898MMLMFa','redoState','startColumn','_onRefRangeChange','location','_scheduleClearOtherTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','pluginName','getAncestorScale','YUUMI_RATE_OVER_LIMIT','event$','concat','isEditing','APPLY_DUPLICATED','evenodd','_localCacheService','YUUMI_AI_RUN_FAILED','_removeClearOtherTimer','clearInterval','getTypeOfUnitDisposed$','executionId','_getMergeRange','OnLineIcon','searchParams','_scheduleSaving','Unknown\x20user','_renderManagerService','_cursorInfo$','show','undoState','NOT_FOUND','0\x200\x2017\x2016','startRow','defIds','onLocalMutation','unitID','subscribeEvent','APPLY_REJECT','loadOfflineData','session.connection-failed','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','APPLY_PERMISSION_DENIED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','UPDATE_CURSOR','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getUnitStatus$','YUUMI_URL_COL_OUT_OF_RANGE','_updateURLWithCurrentState','popstate','RemoveRowCommandId','range','color','has','2862474JijpgO','defs','_toggleOnline','getMemberID','1311215wxhUfI','NO_OTHER_CLIENTS_EDITING','isActive','selections','RECT','_handleJoinEvent','_registerDependencies','[CollaborationDataLoaderController]','_entityInit$','clipPath','setUndoRedoMutationParamsCache','_transformHistoryAndStateStack','OFFLINE','49UiFFmZ','with','executeCommand','getRenderById','init','INVITE_CODE_REQUIRED'];_0x4d98=function(){return _0x1469f6;};return _0x4d98();}function _0x1939(_0xac3506,_0x295593){const _0x4d9888=_0x4d98();return _0x1939=function(_0x193958,_0x1a55ac){_0x193958=_0x193958-0x18f;let _0x2cb4a4=_0x4d9888[_0x193958];return _0x2cb4a4;},_0x1939(_0xac3506,_0x295593);}const _0x413e98=_0x1939;(function(_0x57eea9,_0x13abf7){const _0x424c3f=_0x1939,_0x47614b=_0x57eea9();while(!![]){try{const _0x3b4cd2=parseInt(_0x424c3f(0x35e))/0x1+-parseInt(_0x424c3f(0x25c))/0x2*(parseInt(_0x424c3f(0x1c0))/0x3)+parseInt(_0x424c3f(0x205))/0x4+-parseInt(_0x424c3f(0x199))/0x5+parseInt(_0x424c3f(0x195))/0x6+parseInt(_0x424c3f(0x1a6))/0x7*(-parseInt(_0x424c3f(0x359))/0x8)+parseInt(_0x424c3f(0x35b))/0x9*(parseInt(_0x424c3f(0x316))/0xa);if(_0x3b4cd2===_0x13abf7)break;else _0x47614b['push'](_0x47614b['shift']());}catch(_0x270739){_0x47614b['push'](_0x47614b['shift']());}}}(_0x4d98,0x9253a));var xt=Object[_0x413e98(0x2d6)],Bt=(_0x118c75,_0xebca3a,_0x370f9d)=>_0xebca3a in _0x118c75?xt(_0x118c75,_0xebca3a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x370f9d}):_0x118c75[_0xebca3a]=_0x370f9d,_=(_0x49cc24,_0x70e463,_0x281387)=>Bt(_0x49cc24,typeof _0x70e463!='symbol'?_0x70e463+'':_0x70e463,_0x281387);import{jsx as _0x2ae4c8,jsxs as _0x1917a0}from'react/jsx-runtime';import{CollaborationStatus as _0x23b355,CollaborationSessionService as _0x224109,CollaborationController as _0x330864,DataLoaderService as _0x1e6afe,MemberService as _0x1c69a3,SessionStatus as _0x412b93,ILocalCacheService as _0x15fc99,CollaborationUIEventService as _0x4a5069,CollaborationUIEventId as _0x41b3f5,DocCollaborationEntity as _0x581d61,getLocalCacheKey as _0x587ef7,LOCAL_CACHE_INTERVAL as _0x51a7ea,LOCAL_CACHE_INTERVAL_KEY as _0x5a16d2,UniverCollaborationClientPlugin as _0x391072,CollaborationSocketService as _0xac599d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xc00a0,DEFAULT_WS_SESSION_TICKET_URL as _0x37b0bf,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x50b1b8,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5cdcb1,UnitStatus as _0x25b44a}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x11cadf,IUniverInstanceService as _0x14500f,Inject as _0x4d8a31,Injector as _0x421519,Disposable as _0x177603,createIdentifier as _0x33797f,ILogService as _0x1656a4,ICommandService as _0x488e6b,Optional as _0x59488f,RxDisposable as _0x141ef5,Workbook as _0x3ed3f3,DOC_RANGE_TYPE as _0x57da75,debounce as _0x20deb2,Rectangle as _0x39f346,DisposableCollection as _0x2dc79b,toDisposable as _0x39516e,UniverInstanceType as _0x194d51,generateRandomId as _0x3449a7,COLORS as _0x55f8a9,ColorKit as _0x4b1718,ThemeService as _0x1e69d1,fromEventSubject as _0x2ccc9b,Tools as _0x1b7829,CommandType as _0x3e9175,IConfigService as _0x5a7427,ILocalStorageService as _0x1a1ff8,DependentOn as _0x596043,Plugin as _0x3bb03f,merge as _0x56aeaa,registerDependencies as _0x52e761,mergeOverrideWithDependencies as _0x1675eb,touchDependencies as _0x35fb58}from'@univerjs/core';import{useObservable as _0x48f29f,useDependency as _0x32a213,IUIPartsService as _0x285716,BuiltInUIPart as _0x3f3b55,connectInjector as _0x5d2289,IBeforeCloseService as _0x1a038e,IMessageService as _0x152a23,INotificationService as _0x2ec564}from'@univerjs/ui';import{BehaviorSubject as _0x3c2a00,switchMap as _0x767d83,of as _0x50c63a,takeUntil as _0x9cab5c,debounceTime as _0x10c5a3,Subject as _0x30653a,filter as _0x62134f,merge as _0x398d3e,combineLatest as _0x4897ff,fromEvent as _0x4a9874,shareReplay as _0xadc01c,mapTo as _0x1df68f,distinctUntilChanged as _0x238f94}from'rxjs';import{Tooltip as _0x48ee16,clsx as _0x10b11c,MessageType as _0x253dfd}from'@univerjs/design';import{forwardRef as _0x58c74e,useRef as _0x493195,createElement as _0x5f3a17,useCallback as _0x2cb24e}from'react';import{IRemoteInstanceService as _0x24f28b}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x17cad3,RefRangeService as _0x2a5b03,SetSelectionsOperation as _0x22e7a3,SheetsSelectionsService as _0x5703fa,EffectRefRangId as _0x29d4ae,handleIRemoveRow as _0x392b01,handleIRemoveCol as _0x403276,handleMoveRange as _0x579fca,handleInsertRow as _0x144c93,handleInsertRangeMoveRight as _0x5324d2,handleInsertRangeMoveDown as _0x95b168,handleInsertCol as _0x15381f,handleDeleteRangeMoveUp as _0x55aaae,handleDeleteRangeMoveLeft as _0x3d4a99,runRefRangeMutations as _0x33fd60}from'@univerjs/sheets';import{Shape as _0x171562,Rect as _0x2fe434,getColor as _0x58717e,RegularPolygon as _0x36bf17,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5248f2,Vector2 as _0x52c03f,SHEET_VIEWPORT_KEY as _0x565016,IRenderManagerService as _0x4b626a}from'@univerjs/engine-render';import{ISocketService as _0x1da606,WebSocketService as _0x4422b9,HTTPService as _0x3a2594}from'@univerjs/network';import{IDocClipboardService as _0x2ad74e,NodePositionConvertToCursor as _0x376107,NodePositionConvertToRectRange as _0x2a5d21,TEXT_RANGE_LAYER_INDEX as _0x4b5d44,SetDocZoomRatioOperation as _0x59e3f2,DocIMEInputManagerService as _0x1457e9,DocStateChangeManagerService as _0x4ee51b}from'@univerjs/docs-ui';import{IImageIoService as _0x56bc24}from'@univerjs/drawing';import{ITransformService as _0x2d1c34,CollaborationEvent as _0x159c77,isTransformMutationFailure as _0x4d49e3,isTransformMutationsWithChangesetSuccess as _0x561146,RevisionService as _0x4f0da7,ISnapshotServerService as _0x24bf8a}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4b68f3,RichTextEditingMutation as _0x270499,DocSelectionManagerService as _0x3d0b95,DocSkeletonManagerService as _0x5c0d03}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x4f1008,serializeRangeWithSheet as _0x29c24f}from'@univerjs/engine-formula';import{map as _0x23904d,filter as _0x20c2ee,throttleTime as _0x2cb196,takeUntil as _0x421917,switchMap as _0x38a151}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3affee,getCoordByCell as _0x592584,getSheetObject as _0x2f637f}from'@univerjs/sheets-ui';var v=function(){const _0x1bac8b=_0x413e98;return v=Object['assign']||function(_0x2f348c){const _0x57b72b=_0x1939;for(var _0x270f18,_0x50f11f=0x1,_0x41bb0f=arguments[_0x57b72b(0x2ba)];_0x50f11f<_0x41bb0f;_0x50f11f++){_0x270f18=arguments[_0x50f11f];for(var _0x157a5f in _0x270f18)Object['prototype'][_0x57b72b(0x2b3)][_0x57b72b(0x1f2)](_0x270f18,_0x157a5f)&&(_0x2f348c[_0x157a5f]=_0x270f18[_0x157a5f]);}return _0x2f348c;},v[_0x1bac8b(0x1ac)](this,arguments);},ci=function(_0x57bd00,_0x1594d8){const _0x4f5827=_0x413e98;var _0x50317c={};for(var _0x3952cd in _0x57bd00)Object[_0x4f5827(0x1dd)][_0x4f5827(0x2b3)][_0x4f5827(0x1f2)](_0x57bd00,_0x3952cd)&&_0x1594d8['indexOf'](_0x3952cd)<0x0&&(_0x50317c[_0x3952cd]=_0x57bd00[_0x3952cd]);if(_0x57bd00!=null&&typeof Object[_0x4f5827(0x2ee)]=='function'){for(var _0x24cfe5=0x0,_0x3952cd=Object[_0x4f5827(0x2ee)](_0x57bd00);_0x24cfe5<_0x3952cd[_0x4f5827(0x2ba)];_0x24cfe5++)_0x1594d8['indexOf'](_0x3952cd[_0x24cfe5])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x4f5827(0x1f2)](_0x57bd00,_0x3952cd[_0x24cfe5])&&(_0x50317c[_0x3952cd[_0x24cfe5]]=_0x57bd00[_0x3952cd[_0x24cfe5]]);}return _0x50317c;},ke=_0x58c74e(function(_0x40f219,_0xd056e8){const _0x561f2c=_0x413e98;var _0x547e4c=_0x40f219[_0x561f2c(0x222)],_0x3cb47b=_0x40f219['id'],_0x272732=_0x40f219[_0x561f2c(0x20c)],_0x2532b1=_0x40f219[_0x561f2c(0x332)],_0x380d0e=ci(_0x40f219,[_0x561f2c(0x222),'id',_0x561f2c(0x20c),_0x561f2c(0x332)]),_0x1d9ee8=_0x561f2c(0x1db)['concat'](_0x3cb47b,'\x20')[_0x561f2c(0x369)](_0x272732||'')[_0x561f2c(0x1fc)](),_0x52366e=_0x493195('_'[_0x561f2c(0x369)](hi()));return Rt(_0x547e4c,''[_0x561f2c(0x369)](_0x3cb47b),{'defIds':_0x547e4c[_0x561f2c(0x37f)],'idSuffix':_0x52366e[_0x561f2c(0x2bf)]},v({'ref':_0xd056e8,'className':_0x1d9ee8},_0x380d0e),_0x2532b1);});function Rt(_0x477a2a,_0x27b830,_0x55051e,_0x5ceea2,_0x4ad764){const _0x11aa01=_0x413e98;return _0x5f3a17(_0x477a2a[_0x11aa01(0x2c1)],v(v({'key':_0x27b830},li(_0x477a2a,_0x55051e,_0x4ad764)),_0x5ceea2),(_i(_0x477a2a,_0x55051e)[_0x11aa01(0x28a)]||[])[_0x11aa01(0x239)](function(_0x3504ee,_0x3daac6){const _0x15aa9d=_0x11aa01;return Rt(_0x3504ee,''[_0x15aa9d(0x369)](_0x27b830,'-')[_0x15aa9d(0x369)](_0x477a2a[_0x15aa9d(0x2c1)],'-')['concat'](_0x3daac6),_0x55051e,void 0x0,_0x4ad764);}));}function li(_0x1cba91,_0x58ccaa,_0x6714c8){const _0xf75fe=_0x413e98;var _0x4e5427=v({},_0x1cba91[_0xf75fe(0x29a)]);_0x6714c8!=null&&_0x6714c8['colorChannel1']&&_0x4e5427[_0xf75fe(0x2c9)]===_0xf75fe(0x356)&&(_0x4e5427['fill']=_0x6714c8[_0xf75fe(0x356)]),_0x1cba91[_0xf75fe(0x2c1)]===_0xf75fe(0x1d5)&&_0x4e5427['id']&&(_0x4e5427['id']=_0x4e5427['id']+_0x58ccaa['idSuffix']),Object[_0xf75fe(0x262)](_0x4e5427)[_0xf75fe(0x27f)](function(_0x302907){const _0x7e4fda=_0xf75fe;var _0x55ab9b=_0x302907[0x0],_0x4c8c76=_0x302907[0x1];_0x55ab9b===_0x7e4fda(0x1d5)&&typeof _0x4c8c76==_0x7e4fda(0x236)&&(_0x4e5427[_0x55ab9b]=_0x4c8c76['replace'](/url\(#(.*)\)/,_0x7e4fda(0x1b7)[_0x7e4fda(0x369)](_0x58ccaa[_0x7e4fda(0x1ce)],')')));});var _0x577801=_0x58ccaa['defIds'];return!_0x577801||_0x577801[_0xf75fe(0x2ba)]===0x0||(_0x1cba91[_0xf75fe(0x2c1)]===_0xf75fe(0x2ce)&&_0x4e5427[_0xf75fe(0x2d2)]&&(_0x4e5427['xlink:href']=_0x4e5427[_0xf75fe(0x2d2)]+_0x58ccaa['idSuffix']),Object['entries'](_0x4e5427)[_0xf75fe(0x27f)](function(_0x5fb98d){const _0x332d9b=_0xf75fe;var _0x3eac9a=_0x5fb98d[0x0],_0x5c410a=_0x5fb98d[0x1];typeof _0x5c410a==_0x332d9b(0x236)&&(_0x4e5427[_0x3eac9a]=_0x5c410a[_0x332d9b(0x30b)](/url\(#(.*)\)/,_0x332d9b(0x1b7)['concat'](_0x58ccaa[_0x332d9b(0x1ce)],')')));})),_0x4e5427;}function _i(_0x869f37,_0x1e415a){const _0x15b315=_0x413e98;var _0x2f86b6,_0x14f7fe=_0x1e415a['defIds'];return!_0x14f7fe||_0x14f7fe[_0x15b315(0x2ba)]===0x0?_0x869f37:_0x869f37[_0x15b315(0x2c1)]===_0x15b315(0x196)&&(!((_0x2f86b6=_0x869f37[_0x15b315(0x28a)])===null||_0x2f86b6===void 0x0)&&_0x2f86b6['length'])?v(v({},_0x869f37),{'children':_0x869f37[_0x15b315(0x28a)][_0x15b315(0x239)](function(_0x10e0c6){const _0x298a26=_0x15b315;return typeof _0x10e0c6[_0x298a26(0x29a)]['id']==_0x298a26(0x236)&&_0x14f7fe&&_0x14f7fe[_0x298a26(0x267)](_0x10e0c6[_0x298a26(0x29a)]['id'])?v(v({},_0x10e0c6),{'attrs':v(v({},_0x10e0c6['attrs']),{'id':_0x10e0c6[_0x298a26(0x29a)]['id']+_0x1e415a['idSuffix']})}):_0x10e0c6;})}):_0x869f37;}function hi(){const _0x3b83fe=_0x413e98;return Math[_0x3b83fe(0x29b)]()[_0x3b83fe(0x1b8)](0x24)['substring'](0x2,0x8);}ke[_0x413e98(0x24b)]=_0x413e98(0x34f);var ui={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x413e98(0x2a3),'viewBox':_0x413e98(0x227),'width':_0x413e98(0x1ff),'height':_0x413e98(0x1ff)},'children':[{'tag':'g','attrs':{'clipPath':_0x413e98(0x257)},'children':[{'tag':_0x413e98(0x29c),'attrs':{'stroke':_0x413e98(0x243),'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':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x413e98(0x2f5)},'children':[{'tag':_0x413e98(0x29c),'attrs':{'fill':_0x413e98(0x207),'d':_0x413e98(0x21e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x58c74e(function(_0x230c3c,_0x2737fa){const _0x437458=_0x413e98;return _0x5f3a17(ke,Object['assign']({},_0x230c3c,{'id':_0x437458(0x1f9),'ref':_0x2737fa,'icon':ui}));});Dt[_0x413e98(0x24b)]='OffLineIcon';var di={'tag':_0x413e98(0x246),'attrs':{'xmlns':_0x413e98(0x26a),'fill':_0x413e98(0x2a3),'viewBox':_0x413e98(0x37d),'width':_0x413e98(0x1ff),'height':_0x413e98(0x1ff)},'children':[{'tag':'g','attrs':{'clipPath':_0x413e98(0x2c4)},'children':[{'tag':_0x413e98(0x29c),'attrs':{'stroke':_0x413e98(0x243),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x413e98(0x1a2),'attrs':{'id':_0x413e98(0x1f0)},'children':[{'tag':'path','attrs':{'fill':_0x413e98(0x207),'d':'M0\x200H16V16H0z','transform':_0x413e98(0x2fe)}}]}]}],'defIds':[_0x413e98(0x1f0)]},Nt=_0x58c74e(function(_0x571dad,_0x27d3d7){const _0x19b6ab=_0x413e98;return _0x5f3a17(ke,Object[_0x19b6ab(0x1f3)]({},_0x571dad,{'id':_0x19b6ab(0x299),'ref':_0x27d3d7,'icon':di}));});Nt[_0x413e98(0x24b)]=_0x413e98(0x374);function fi(_0x2a8035){const _0x3ddf42=_0x413e98;switch(_0x2a8035){case _0x23b355[_0x3ddf42(0x1a5)]:return'collabStatus.offline';case _0x23b355['CONFLICT']:return _0x3ddf42(0x1e4);case _0x23b355[_0x3ddf42(0x250)]:return _0x3ddf42(0x1eb);case _0x23b355[_0x3ddf42(0x266)]:return _0x3ddf42(0x248);case _0x23b355[_0x3ddf42(0x2fc)]:case _0x23b355[_0x3ddf42(0x312)]:return _0x3ddf42(0x2cb);case _0x23b355['SYNCED']:case _0x23b355[_0x3ddf42(0x25a)]:return _0x3ddf42(0x234);}}function Si(_0x51cc7d){const _0x2eaa1a=_0x413e98,{status$:_0x9f593}=_0x51cc7d,_0x483eb0=_0x48f29f(_0x9f593,_0x23b355[_0x2eaa1a(0x266)]),_0x5ab295=_0x32a213(_0x11cadf),_0x2ec7b1=_0x32a213(_0x224109),_0x2e01ca=_0x483eb0!==_0x23b355[_0x2eaa1a(0x1a5)],_0x1fe972=_0x5ab295['t'](fi(_0x483eb0)),_0x465acf=_0x2e01ca?_0x2ae4c8(Nt,{}):_0x2ae4c8(Dt,{}),_0x3c9c64=_0x2cb24e(()=>{_0x2e01ca||_0x2ec7b1['reconnect']();},[_0x2e01ca,_0x2ec7b1]);function _0x351eba(){const _0x5080b1=_0x2eaa1a;return _0x1917a0(_0x5080b1(0x323),{'className':_0x5080b1(0x1f8),'onClick':_0x3c9c64,'children':[_0x2ae4c8(_0x5080b1(0x323),{'className':_0x10b11c('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2e01ca,'univer-text-red-500':!_0x2e01ca}),'children':_0x465acf}),_0x2ae4c8(_0x5080b1(0x323),{'className':_0x5080b1(0x32f),'children':_0x1fe972})]});}return _0x2e01ca?_0x351eba():_0x2ae4c8(_0x48ee16,{'title':_0x5ab295['t'](_0x2eaa1a(0x2c8)),'children':_0x351eba()});}var mi=Object[_0x413e98(0x25e)],Ii=(_0x2686c1,_0x41e97a,_0x49092a,_0x1e326f)=>{const _0x57dc7c=_0x413e98;for(var _0x1d9df9=_0x1e326f>0x1?void 0x0:_0x1e326f?mi(_0x41e97a,_0x49092a):_0x41e97a,_0x15efd9=_0x2686c1[_0x57dc7c(0x2ba)]-0x1,_0x3ba8f5;_0x15efd9>=0x0;_0x15efd9--)(_0x3ba8f5=_0x2686c1[_0x15efd9])&&(_0x1d9df9=_0x3ba8f5(_0x1d9df9)||_0x1d9df9);return _0x1d9df9;},q=(_0x1ee61d,_0x4dfe48)=>(_0x25d597,_0xb252ba)=>_0x4dfe48(_0x25d597,_0xb252ba,_0x1ee61d);let se=class extends _0x177603{constructor(_0x23b512,_0x3d0915,_0x4c71b9,_0x578628){const _0x4abd34=_0x413e98;super(),_(this,'_status$',new _0x3c2a00(_0x23b355[_0x4abd34(0x266)])),(this[_0x4abd34(0x2d4)]=_0x23b512,this[_0x4abd34(0x282)]=_0x3d0915,this[_0x4abd34(0x28f)]=_0x4c71b9,this[_0x4abd34(0x1d1)]=_0x578628,this[_0x4abd34(0x1c2)](),this['_initStatusListener']());}[_0x413e98(0x1cf)](){const _0x234368=_0x413e98;this['disposeWithMe'](this[_0x234368(0x2d4)]['focused$']['pipe'](_0x767d83(()=>{const _0x1c101b=_0x234368,_0x1ad283=this['_univerInstanceService'][_0x1c101b(0x22c)]();return _0x1ad283?this[_0x1c101b(0x28f)][_0x1c101b(0x2b1)](_0x1ad283[_0x1c101b(0x1bf)]()):_0x50c63a(null);}),_0x767d83(_0x3e45dd=>_0x3e45dd?_0x3e45dd[_0x234368(0x285)]:_0x50c63a(_0x23b355['NOT_COLLAB'])))[_0x234368(0x358)](_0x4b4879=>{this['_status$']['next'](_0x4b4879);}));}[_0x413e98(0x1c2)](){const _0x1cabb1=_0x413e98;this[_0x1cabb1(0x283)](this[_0x1cabb1(0x1d1)][_0x1cabb1(0x330)](_0x3f3b55[_0x1cabb1(0x1cd)],()=>_0x5d2289(vi({'status$':this[_0x1cabb1(0x2e9)]['asObservable']()}),this[_0x1cabb1(0x282)])));}};se=Ii([q(0x0,_0x14500f),q(0x1,_0x4d8a31(_0x421519)),q(0x2,_0x4d8a31(_0x330864)),q(0x3,_0x285716)],se);function vi(_0x2fd520){const {status$:_0x36d4fc}=_0x2fd520;return function(){return _0x2ae4c8(Si,{'status$':_0x36d4fc});};}const Ut=_0x33797f(_0x413e98(0x1c5));var gi=Object[_0x413e98(0x25e)],pi=(_0x166412,_0x29559a,_0x377989,_0x205789)=>{for(var _0x1c02e8=_0x205789>0x1?void 0x0:_0x205789?gi(_0x29559a,_0x377989):_0x29559a,_0x2d6235=_0x166412['length']-0x1,_0x344a62;_0x2d6235>=0x0;_0x2d6235--)(_0x344a62=_0x166412[_0x2d6235])&&(_0x1c02e8=_0x344a62(_0x1c02e8)||_0x1c02e8);return _0x1c02e8;},G=(_0x18e392,_0x12eea0)=>(_0x56c3c3,_0x57ea5e)=>_0x12eea0(_0x56c3c3,_0x57ea5e,_0x18e392);let ie=class extends _0x141ef5{constructor(_0x48896a,_0x569e78,_0x4620b2,_0x179703,_0x154d95){const _0x47e08d=_0x413e98;super(),this[_0x47e08d(0x286)]=_0x48896a,this[_0x47e08d(0x343)]=_0x569e78,this[_0x47e08d(0x1ba)]=_0x4620b2,this[_0x47e08d(0x1ee)]=_0x179703,_0x154d95?_0x154d95==null||_0x154d95[_0x47e08d(0x350)]()[_0x47e08d(0x1ed)](()=>this['_init']()):(this[_0x47e08d(0x343)][_0x47e08d(0x1ef)](_0x47e08d(0x1a0),_0x47e08d(0x232)),this[_0x47e08d(0x2c5)]());}async['_init'](){const _0x294ac8=_0x413e98,_0xdb75c0=this[_0x294ac8(0x286)][_0x294ac8(0x251)](_0x294ac8(0x1c7)),_0x56a02d=this['_urlService'][_0x294ac8(0x251)](_0x294ac8(0x25d)),_0x2f3733=this[_0x294ac8(0x286)][_0x294ac8(0x251)](_0x294ac8(0x297));if(!_0xdb75c0||!_0x56a02d){this['_logService'][_0x294ac8(0x1ef)](_0x294ac8(0x1a0),_0x294ac8(0x388));return;}const _0x36d59f=await this[_0x294ac8(0x1ee)][_0x294ac8(0x2f1)](_0xdb75c0,Number(_0x56a02d),_0x2f3733);_0x36d59f&&_0x36d59f instanceof _0x3ed3f3&&this['_setupSubUnitSync'](_0x36d59f);}async[_0x413e98(0x1b2)](_0x58ff61){const _0x12714c=_0x413e98;await this['_updateSubUnitFromURLParams'](_0x58ff61),_0x58ff61[_0x12714c(0x21f)][_0x12714c(0x1e3)](_0x9cab5c(this[_0x12714c(0x2c3)]))[_0x12714c(0x358)](_0x3fcc04=>{const _0x2a66fa=_0x12714c;_0x3fcc04&&this[_0x2a66fa(0x18f)](_0x3fcc04);}),this[_0x12714c(0x286)]['urlChange$']['pipe'](_0x9cab5c(this[_0x12714c(0x2c3)]))[_0x12714c(0x358)](()=>this[_0x12714c(0x325)](_0x58ff61));}[_0x413e98(0x18f)](_0x4c32b8,_0x4a1fb9=!0x1){const _0x99d77b=_0x413e98,_0x4d1fc6=this[_0x99d77b(0x286)][_0x99d77b(0x251)](_0x99d77b(0x297));_0x4c32b8[_0x99d77b(0x2b5)]()!==_0x4d1fc6&&this[_0x99d77b(0x286)]['setParam'](_0x99d77b(0x297),_0x4c32b8[_0x99d77b(0x2b5)](),_0x4a1fb9);}async['_updateSubUnitFromURLParams'](_0x51ac69){const _0x2afdfc=_0x413e98;var _0x30cbe1;const _0x17e445=this[_0x2afdfc(0x286)][_0x2afdfc(0x251)](_0x2afdfc(0x297));if(!_0x17e445||!_0x51ac69[_0x2afdfc(0x241)](_0x17e445)){const _0x192b40=_0x51ac69[_0x2afdfc(0x238)]()[0x0],_0xee13f3=_0x51ac69[_0x2afdfc(0x241)](_0x192b40);if(!_0xee13f3)return;this[_0x2afdfc(0x18f)](_0xee13f3,!0x0),await this['_commandService'][_0x2afdfc(0x1a8)](_0x17cad3['id'],{'unitId':_0x51ac69[_0x2afdfc(0x1bf)](),'subUnitId':_0x192b40});return;}((_0x30cbe1=_0x51ac69[_0x2afdfc(0x1d6)]())==null?void 0x0:_0x30cbe1[_0x2afdfc(0x2b5)]())!==_0x17e445&&await this[_0x2afdfc(0x1ba)][_0x2afdfc(0x1a8)](_0x17cad3['id'],{'unitId':_0x51ac69[_0x2afdfc(0x1bf)](),'subUnitId':_0x17e445});}};ie=pi([G(0x0,Ut),G(0x1,_0x1656a4),G(0x2,_0x488e6b),G(0x3,_0x4d8a31(_0x1e6afe)),G(0x4,_0x59488f(_0x24f28b))],ie);var Ci=Object[_0x413e98(0x25e)],Ei=(_0x586766,_0x6f852b,_0x698f3d,_0x343ad2)=>{const _0x10351a=_0x413e98;for(var _0x473023=_0x343ad2>0x1?void 0x0:_0x343ad2?Ci(_0x6f852b,_0x698f3d):_0x6f852b,_0x390bc6=_0x586766[_0x10351a(0x2ba)]-0x1,_0x1be3cc;_0x390bc6>=0x0;_0x390bc6--)(_0x1be3cc=_0x586766[_0x390bc6])&&(_0x473023=_0x1be3cc(_0x473023)||_0x473023);return _0x473023;},Je=(_0x1deb74,_0x4958af)=>(_0x3acfda,_0x8018d4)=>_0x4958af(_0x3acfda,_0x8018d4,_0x1deb74);let Ne=class extends _0x141ef5{constructor(_0x45b2de,_0x59701f){const _0x95d156=_0x413e98;super(),this['_docClipboardService']=_0x45b2de,this[_0x95d156(0x21c)]=_0x59701f,this[_0x95d156(0x2c5)]();}[_0x413e98(0x2c5)](){const _0x45352f=_0x413e98,_0x353e63=this;this['disposeWithMe'](this[_0x45352f(0x219)][_0x45352f(0x331)]({'onBeforePasteImage':async _0x1defa3=>{const _0x3c6395=_0x45352f,_0x25f702=await _0x353e63[_0x3c6395(0x21c)][_0x3c6395(0x309)](_0x1defa3);return _0x25f702?{'source':_0x25f702['source'],'imageSourceType':_0x25f702['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x2ad74e),Je(0x1,_0x56bc24)],Ne);const Ze=[_0x413e98(0x240),'jiqing.500','green.600',_0x413e98(0x340),_0x413e98(0x2aa),'yellow.400'];class He extends _0x177603{constructor(){const _0x4117bc=_0x413e98;super(...arguments),_(this,_0x4117bc(0x321),new Map()),_(this,_0x4117bc(0x315),0x0);}[_0x413e98(0x26e)](_0x4e7066){const _0x3f590d=_0x413e98;if(this[_0x3f590d(0x321)][_0x3f590d(0x194)](_0x4e7066))return this[_0x3f590d(0x321)][_0x3f590d(0x29d)](_0x4e7066);const _0x4e0876=Ze[this[_0x3f590d(0x315)]];return this[_0x3f590d(0x315)]=(this[_0x3f590d(0x315)]+0x1)%Ze['length'],this[_0x3f590d(0x321)][_0x3f590d(0x34e)](_0x4e7066,_0x4e0876),_0x4e0876;}}function Mt(_0x2793d3){const _0x1914de=_0x413e98;let _0x5217c4='';for(const _0x5b8d3 of _0x2793d3){const {startOffset:_0x25306b,endOffset:_0x257665,isActive:_0x36fcce,rangeType:_0x1d4c9f,segmentId:_0x25fdf6,segmentPage:_0x510f9f}=_0x5b8d3;_0x5217c4[_0x1914de(0x2ba)]&&(_0x5217c4+=','),_0x5217c4+=_0x25306b+':'+_0x257665+':'+(_0x36fcce?'1':'0')+':'+_0x1d4c9f+':'+_0x25fdf6+':'+_0x510f9f;}return _0x5217c4;}function Oi(_0x253def){const _0x1c6c10=_0x413e98,_0x23d832=_0x253def['split'](','),_0x26ea4a=[];for(const _0x360727 of _0x23d832){const [_0x56e0c,_0x2a25f4,_0xa7de04,_0x25a2c1,_0x21a3f4,_0x438467]=_0x360727[_0x1c6c10(0x27d)](':');_0x26ea4a[_0x1c6c10(0x27c)]({'startOffset':Number(_0x56e0c),'endOffset':Number(_0x2a25f4),'collapsed':_0x56e0c===_0x2a25f4,'isActive':_0xa7de04==='1','rangeType':_0x25a2c1===_0x57da75[_0x1c6c10(0x24f)]?_0x57da75[_0x1c6c10(0x24f)]:_0x57da75[_0x1c6c10(0x19d)],'segmentId':typeof _0x21a3f4=='string'?String(_0x21a3f4):'','segmentPage':Number(_0x438467!=null?_0x438467:-0x1)});}return _0x26ea4a[_0x1c6c10(0x203)](_0x10ff92=>_0x10ff92[_0x1c6c10(0x19b)])||(_0x26ea4a[0x0]['isActive']=!0x0),_0x26ea4a;}class Fe extends _0x141ef5{constructor(){const _0x59f6f2=_0x413e98;super(...arguments),_(this,_0x59f6f2(0x204),new _0x3c2a00(null)),_(this,_0x59f6f2(0x1c4),this[_0x59f6f2(0x204)][_0x59f6f2(0x2bb)]());}['syncEditingCollabCursor'](_0x209d62){const _0x1d2d2e=_0x413e98,{unitID:_0xa4fc90,memberID:_0x411115,textRanges:_0x170f39}=_0x209d62,_0x1f8a7e=Mt(_0x170f39);if(_0x1f8a7e==='')return;const _0x3830ed={'unitID':_0xa4fc90,'memberID':_0x411115,'selection':_0x1f8a7e};this['_collabCursorState$'][_0x1d2d2e(0x218)](_0x3830ed);}}var bi=Object['getOwnPropertyDescriptor'],Ti=(_0x211ee3,_0x33f689,_0x15ab44,_0x495486)=>{const _0x3b7e7d=_0x413e98;for(var _0x4a6baf=_0x495486>0x1?void 0x0:_0x495486?bi(_0x33f689,_0x15ab44):_0x33f689,_0x187878=_0x211ee3[_0x3b7e7d(0x2ba)]-0x1,_0x1b63ac;_0x187878>=0x0;_0x187878--)(_0x1b63ac=_0x211ee3[_0x187878])&&(_0x4a6baf=_0x1b63ac(_0x4a6baf)||_0x4a6baf);return _0x4a6baf;},P=(_0x4568d6,_0x474e3c)=>(_0x59ba19,_0x4e75db)=>_0x474e3c(_0x59ba19,_0x4e75db,_0x4568d6);const Ri=0x12c,Di=0x64;let Ue=class extends _0x141ef5{constructor(_0x5b345b,_0x4d334f,_0x367d36,_0x64fc3e,_0x18c1e5,_0x4e49d3,_0x3ac1fe,_0x41c87e,_0x44ba08){const _0x1d040c=_0x413e98;super(),_(this,_0x1d040c(0x28d),!0x1),_(this,_0x1d040c(0x2c5),!0x1),_(this,'_cursorInfo$',new _0x3c2a00(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x1d040c(0x2bb)]()),_(this,_0x1d040c(0x34b),new _0x3c2a00([])),_(this,'roomMembers$',this['_roomMembers$'][_0x1d040c(0x1e3)](_0x10c5a3(Ri))),_(this,_0x1d040c(0x288),_0x20deb2(_0x2ebf08=>{const _0x3adbc8=_0x1d040c,_0x3eab27={'eventID':_0x159c77[_0x3adbc8(0x389)],'data':{'unitID':this[_0x3adbc8(0x381)],'memberID':this['_session'][_0x3adbc8(0x198)](),'selection':Mt(_0x2ebf08)}};this[_0x3adbc8(0x32b)][_0x3adbc8(0x231)](_0x3eab27,this[_0x3adbc8(0x381)]);},Di)),(this[_0x1d040c(0x381)]=_0x5b345b,this[_0x1d040c(0x32b)]=_0x4d334f,this[_0x1d040c(0x282)]=_0x367d36,this['_colorAssignService']=_0x64fc3e,this['_memberService']=_0x18c1e5,this['_syncEditingCollabCursorService']=_0x4e49d3,this['_transformService']=_0x3ac1fe,this[_0x1d040c(0x2d4)]=_0x41c87e,this['_commandService']=_0x44ba08);}get['cursorInfo'](){const _0xecff6=_0x413e98;return this[_0xecff6(0x379)][_0xecff6(0x2ef)]();}get[_0x413e98(0x1e9)](){const _0xf66c38=_0x413e98;return this[_0xf66c38(0x34b)][_0xf66c38(0x2ef)]();}['dispose'](){const _0x1388a4=_0x413e98;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x1388a4(0x379)][_0x1388a4(0x2b2)](),this[_0x1388a4(0x34b)]['next']([]),this['_roomMembers$']['complete']();}[_0x413e98(0x1aa)](){const _0x25e0a2=_0x413e98;this[_0x25e0a2(0x2c5)]||(this[_0x25e0a2(0x2c5)]=!0x0,this[_0x25e0a2(0x32b)][_0x25e0a2(0x2f4)][_0x25e0a2(0x1e3)](_0x9cab5c(this[_0x25e0a2(0x2c3)]))[_0x25e0a2(0x358)](_0x430c61=>{const _0x5c84e2=_0x25e0a2;_0x430c61===_0x412b93[_0x5c84e2(0x226)]?this[_0x5c84e2(0x197)]():this[_0x5c84e2(0x2d7)]();}),this[_0x25e0a2(0x32b)][_0x25e0a2(0x368)][_0x25e0a2(0x1e3)](_0x9cab5c(this[_0x25e0a2(0x2c3)]))[_0x25e0a2(0x358)](_0x4b1214=>{const _0x484c5a=_0x25e0a2,_0x5a0361=_0x4b1214[_0x484c5a(0x314)];_0x5a0361===_0x159c77[_0x484c5a(0x389)]&&this[_0x484c5a(0x2f0)](_0x4b1214),_0x5a0361===_0x159c77[_0x484c5a(0x23e)]&&this[_0x484c5a(0x2d1)](_0x4b1214);}),this['disposeWithMe'](this[_0x25e0a2(0x1ba)][_0x25e0a2(0x23c)](_0x11f378=>{const _0x5feedf=_0x25e0a2,_0x413d6d=_0x11f378[_0x5feedf(0x2a1)];_0x413d6d!=null&&this[_0x5feedf(0x28d)]&&_0x11f378['id']===_0x4b68f3['id']&&_0x413d6d['unitId']===this[_0x5feedf(0x381)]&&_0x413d6d[_0x5feedf(0x36a)]===!0x1&&_0x413d6d['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x413d6d[_0x5feedf(0x1c8)]);})),this['_syncEditingCollabCursorService'][_0x25e0a2(0x1c4)][_0x25e0a2(0x1e3)](_0x9cab5c(this[_0x25e0a2(0x2c3)]))[_0x25e0a2(0x358)](_0x22f94d=>{const _0x4a3020=_0x25e0a2;if((_0x22f94d==null?void 0x0:_0x22f94d[_0x4a3020(0x381)])!==this['unitID'])return;const _0x2c1f1b={'eventID':_0x159c77[_0x4a3020(0x389)],'data':_0x22f94d};this[_0x4a3020(0x2f0)](_0x2c1f1b);}),this[_0x25e0a2(0x283)](this[_0x25e0a2(0x1ba)][_0x25e0a2(0x23c)](_0x458ba6=>{const _0x3088a4=_0x25e0a2;if(_0x458ba6[_0x3088a4(0x2a1)]==null)return;const _0xe1493d=_0x458ba6[_0x3088a4(0x2a1)];if(_0x458ba6['id']!==_0x270499['id']||_0xe1493d[_0x3088a4(0x34d)]!==this[_0x3088a4(0x381)])return;const _0x2bf8ee={'id':_0x3088a4(0x2a0),'params':_0xe1493d},_0x425b05=this['cursorInfo'];for(const [_0x439ace,_0x5b82b4]of _0x425b05){const _0x53d21c={'id':_0x3088a4(0x2a0),'params':{'unitId':this[_0x3088a4(0x381)],'actions':null,'textRanges':_0x5b82b4[_0x3088a4(0x1c8)]}},_0x5eb4df=this[_0x3088a4(0x2a6)][_0x3088a4(0x322)](_0x2bf8ee,_0x53d21c,!0x1);if(_0x4d49e3(_0x5eb4df))throw _0x5eb4df[_0x3088a4(0x214)];_0x425b05[_0x3088a4(0x34e)](_0x439ace,{..._0x5b82b4,'ranges':_0x5eb4df[_0x3088a4(0x296)][_0x3088a4(0x2a1)]['textRanges']});}queueMicrotask(()=>{const _0x136ffa=_0x3088a4;this[_0x136ffa(0x379)][_0x136ffa(0x218)](_0x425b05);});})));}[_0x413e98(0x2f0)](_0x7f3e57){const _0x2689d4=_0x413e98;var _0x2813b4,_0x1e46d6;const {memberID:_0x68ac12,selection:_0x449283}=_0x7f3e57[_0x2689d4(0x348)],_0x2a3838=Oi(_0x449283),_0x199ae9=(_0x1e46d6=(_0x2813b4=this[_0x2689d4(0x22a)][_0x2689d4(0x213)](this[_0x2689d4(0x381)],_0x68ac12))==null?void 0x0:_0x2813b4[_0x2689d4(0x293)])!=null?_0x1e46d6:_0x2689d4(0x377),_0x2f91c3={'color':this[_0x2689d4(0x2e0)][_0x2689d4(0x26e)](_0x68ac12),'name':_0x199ae9,'ranges':_0x2a3838},_0x4177d9=this[_0x2689d4(0x269)];_0x4177d9['set'](_0x68ac12,_0x2f91c3),this[_0x2689d4(0x379)]['next'](_0x4177d9);}[_0x413e98(0x2d1)](_0x583bb1){const _0x336758=_0x413e98,{memberID:_0x54db96}=_0x583bb1['data'],_0x422bfb=this[_0x336758(0x269)];_0x422bfb[_0x336758(0x2c2)](_0x54db96),this['_cursorInfo$']['next'](_0x422bfb);}[_0x413e98(0x197)](){const _0x1855aa=_0x413e98;var _0x5c2d0b;if(this[_0x1855aa(0x28d)]=!0x0,((_0x5c2d0b=this[_0x1855aa(0x2d4)][_0x1855aa(0x22c)]())==null?void 0x0:_0x5c2d0b[_0x1855aa(0x1bf)]())!==this[_0x1855aa(0x381)])return;const _0x3bbdcb=this[_0x1855aa(0x282)][_0x1855aa(0x29d)](_0x3d0b95)[_0x1855aa(0x2bc)]();Array['isArray'](_0x3bbdcb)&&_0x3bbdcb[_0x1855aa(0x2ba)]>0x0&&this[_0x1855aa(0x288)](_0x3bbdcb);}[_0x413e98(0x2d7)](){const _0xec8697=_0x413e98;this[_0xec8697(0x28d)]=!0x1;}};Ue=Ti([P(0x2,_0x4d8a31(_0x421519)),P(0x3,_0x4d8a31(He)),P(0x4,_0x4d8a31(_0x1c69a3)),P(0x5,_0x4d8a31(Fe)),P(0x6,_0x2d1c34),P(0x7,_0x14500f),P(0x8,_0x488e6b)],Ue);var Ni=Object[_0x413e98(0x25e)],Ui=(_0x15df7e,_0x2d8804,_0x4a50be,_0x3be6a9)=>{for(var _0x5c835b=_0x3be6a9>0x1?void 0x0:_0x3be6a9?Ni(_0x2d8804,_0x4a50be):_0x2d8804,_0x3ef255=_0x15df7e['length']-0x1,_0x216b07;_0x3ef255>=0x0;_0x3ef255--)(_0x216b07=_0x15df7e[_0x3ef255])&&(_0x5c835b=_0x216b07(_0x5c835b)||_0x5c835b);return _0x5c835b;},x=(_0x8c9abd,_0x24d5c7)=>(_0x5db39a,_0x200981)=>_0x24d5c7(_0x5db39a,_0x200981,_0x8c9abd);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x2a703c=[],_0xe9dcd=!0x1;return _0x11456f=>{_0x2a703c['push'](_0x11456f),_0xe9dcd||(_0xe9dcd=!0x0,setTimeout(()=>{const _0x2268ce=_0x1939;_0x2a703c[_0x2268ce(0x27f)](_0x5b96e7=>_0x5b96e7()),_0x2a703c=[],_0xe9dcd=!0x1;}));};};let Me=class extends _0x141ef5{constructor(_0x254e20,_0x38d143,_0x5cba08,_0x59a3db,_0x166c6b,_0x4320ea,_0x3efc4c,_0x13e949){const _0x194840=_0x413e98;super(),_(this,'_online',!0x1),_(this,_0x194840(0x2c5),!0x1),_(this,_0x194840(0x379),new _0x3c2a00(new Map())),_(this,_0x194840(0x32c),this[_0x194840(0x379)][_0x194840(0x2bb)]()),_(this,_0x194840(0x34b),new _0x3c2a00([])),_(this,'roomMembers$',this[_0x194840(0x34b)][_0x194840(0x1e3)](_0x10c5a3(Mi))),_(this,'_updateLocalCursor',_0x20deb2((_0x48f8c4,_0x1f7ade)=>{const _0x3b321e=_0x194840,_0x36956f={'eventID':_0x159c77[_0x3b321e(0x389)],'data':{'unitID':this[_0x3b321e(0x381)],'memberID':this[_0x3b321e(0x32b)][_0x3b321e(0x198)](),'selection':_0x29c24f(_0x48f8c4,_0x1f7ade[_0x3b321e(0x192)])}};this[_0x3b321e(0x32b)][_0x3b321e(0x231)](_0x36956f,this['unitID']);},Li)),(this[_0x194840(0x381)]=_0x254e20,this[_0x194840(0x32b)]=_0x38d143,this[_0x194840(0x282)]=_0x5cba08,this['_colorAssignService']=_0x59a3db,this['_memberService']=_0x166c6b,this[_0x194840(0x2d4)]=_0x4320ea,this['_commandService']=_0x3efc4c,this[_0x194840(0x32a)]=_0x13e949);}get[_0x413e98(0x269)](){const _0x321dbf=_0x413e98;return this[_0x321dbf(0x379)][_0x321dbf(0x2ef)]();}get[_0x413e98(0x1e9)](){return this['_roomMembers$']['getValue']();}[_0x413e98(0x327)](){const _0x1d0889=_0x413e98;super['dispose'](),this[_0x1d0889(0x379)][_0x1d0889(0x218)](new Map()),this[_0x1d0889(0x379)]['complete'](),this[_0x1d0889(0x34b)][_0x1d0889(0x218)]([]),this[_0x1d0889(0x34b)][_0x1d0889(0x2b2)]();}[_0x413e98(0x1aa)](){const _0x19e1cc=_0x413e98;this[_0x19e1cc(0x2c5)]||(this['_init']=!0x0,this[_0x19e1cc(0x32b)]['sessionStatus$'][_0x19e1cc(0x1e3)](_0x9cab5c(this[_0x19e1cc(0x2c3)]))[_0x19e1cc(0x358)](_0x51e3c3=>{const _0x7b334b=_0x19e1cc;_0x51e3c3===_0x412b93[_0x7b334b(0x226)]?this[_0x7b334b(0x197)]():this[_0x7b334b(0x2d7)]();}),this['_session'][_0x19e1cc(0x368)][_0x19e1cc(0x1e3)](_0x9cab5c(this['dispose$']))['subscribe'](_0x4e0605=>{const _0x285acc=_0x19e1cc,_0x42177e=_0x4e0605[_0x285acc(0x314)];_0x42177e===_0x159c77[_0x285acc(0x389)]&&this['_onCursorUpdate'](_0x4e0605),_0x42177e===_0x159c77[_0x285acc(0x23e)]&&this[_0x285acc(0x2d1)](_0x4e0605);}),this[_0x19e1cc(0x361)](),this['disposeWithMe'](this[_0x19e1cc(0x1ba)][_0x19e1cc(0x23c)](_0x22835e=>{const _0x12e2fb=_0x19e1cc;if(this[_0x12e2fb(0x28d)]&&_0x22835e['id']===_0x22e7a3['id']&&_0x22835e[_0x12e2fb(0x2a1)][_0x12e2fb(0x34d)]===this['unitID']){const _0x4b3d90=_0x22835e['params'];this[_0x12e2fb(0x288)](_0x4b3d90[_0x12e2fb(0x25f)],_0x4b3d90[_0x12e2fb(0x19c)][0x0]);}})));}[_0x413e98(0x2f0)](_0x1ec16a){const _0x39b0ef=_0x413e98;var _0x3bb882,_0x50c90f;const {memberID:_0x5f7dac,selection:_0x38477e}=_0x1ec16a[_0x39b0ef(0x348)],{sheetName:_0x42280f,range:_0x3b3603}=_0x4f1008(_0x38477e),_0x9674c8={'name':(_0x50c90f=(_0x3bb882=this[_0x39b0ef(0x22a)][_0x39b0ef(0x213)](this['unitID'],_0x5f7dac))==null?void 0x0:_0x3bb882[_0x39b0ef(0x293)])!=null?_0x50c90f:'Unknown\x20user','range':this[_0x39b0ef(0x373)](_0x42280f,_0x3b3603),'sheetID':_0x42280f,'color':this[_0x39b0ef(0x2e0)][_0x39b0ef(0x26e)](_0x5f7dac),'selection':_0x38477e},_0x4a307e=this['cursorInfo'];_0x4a307e[_0x39b0ef(0x34e)](_0x5f7dac,_0x9674c8),this[_0x39b0ef(0x379)][_0x39b0ef(0x218)](_0x4a307e);}[_0x413e98(0x2d1)](_0x3464c2){const _0x998e20=_0x413e98,{memberID:_0x4cc9e2}=_0x3464c2[_0x998e20(0x348)],_0x4d444e=this['cursorInfo'];_0x4d444e['delete'](_0x4cc9e2),this[_0x998e20(0x379)]['next'](_0x4d444e);}[_0x413e98(0x373)](_0x74a549,_0x1f1d6f){const _0x197037=_0x413e98;var _0x34e53d,_0x4eeb7c;const _0x2b16d3=(_0x4eeb7c=(_0x34e53d=this[_0x197037(0x2d4)][_0x197037(0x1d9)](this[_0x197037(0x381)]))==null?void 0x0:_0x34e53d[_0x197037(0x241)](_0x74a549))==null?void 0x0:_0x4eeb7c['getMergeData']();return(_0x2b16d3==null?void 0x0:_0x2b16d3['find'](_0x47fc40=>_0x39f346['contains'](_0x47fc40,_0x1f1d6f)))||_0x1f1d6f;}[_0x413e98(0x361)](){const _0x362a9d=_0x413e98,_0x495029=new _0x2dc79b(),_0x1ea404=Pi(),_0x367b85=()=>{const _0x148ed6=_0x1939;_0x495029[_0x148ed6(0x327)]();const _0x50f40c=(_0x2524a8,_0x421e76,_0x21816b,_0x18645c)=>{const _0x2ff191=_0x148ed6;let _0x24b5b9=[];switch(_0x2524a8['id']){case _0x29d4ae['DeleteRangeMoveLeftCommandId']:{_0x24b5b9=_0x3d4a99(_0x2524a8,_0x18645c);break;}case _0x29d4ae[_0x2ff191(0x313)]:{_0x24b5b9=_0x55aaae(_0x2524a8,_0x18645c);break;}case _0x29d4ae[_0x2ff191(0x308)]:{_0x24b5b9=_0x15381f(_0x2524a8,_0x18645c);break;}case _0x29d4ae[_0x2ff191(0x1b3)]:{_0x24b5b9=_0x95b168(_0x2524a8,_0x18645c);break;}case _0x29d4ae[_0x2ff191(0x2d9)]:{_0x24b5b9=_0x5324d2(_0x2524a8,_0x18645c);break;}case _0x29d4ae['InsertRowCommandId']:{_0x24b5b9=_0x144c93(_0x2524a8,_0x18645c);break;}case _0x29d4ae['MoveRangeCommandId']:{_0x24b5b9=_0x579fca(_0x2524a8,_0x18645c);break;}case _0x29d4ae['RemoveColCommandId']:{_0x24b5b9=_0x403276(_0x2524a8,_0x18645c);break;}case _0x29d4ae[_0x2ff191(0x191)]:{_0x24b5b9=_0x392b01(_0x2524a8,_0x18645c);break;}}const _0x2f5fbf=_0x33fd60(_0x24b5b9,_0x18645c),_0x141935=this['cursorInfo'][_0x2ff191(0x29d)](_0x421e76);if(_0x141935&&_0x2f5fbf){const _0x46bafe={..._0x141935,'range':_0x2f5fbf};this['cursorInfo'][_0x2ff191(0x34e)](_0x421e76,_0x46bafe),_0x1ea404(()=>{const _0x3dc4f2=_0x2ff191,_0x3cacea=this[_0x3dc4f2(0x32a)]['registerRefRange'](_0x2f5fbf,_0x55bbe7=>(_0x3cacea[_0x3dc4f2(0x327)](),_0x50f40c(_0x55bbe7,_0x421e76,_0x21816b,_0x2f5fbf)));_0x495029[_0x3dc4f2(0x328)](_0x3cacea);});}return{'redos':[],'undos':[]};};this[_0x148ed6(0x269)]['forEach']((_0x362e2a,_0x2b7df7)=>{const _0x35e6d4=_0x148ed6,{range:_0x2db54a,sheetID:_0x93b1ee}=_0x362e2a,_0x30e8cd=this['_refRangeService'][_0x35e6d4(0x256)](_0x2db54a,_0x491b17=>(_0x30e8cd[_0x35e6d4(0x327)](),_0x50f40c(_0x491b17,_0x2b7df7,_0x93b1ee,_0x2db54a)));_0x495029[_0x35e6d4(0x328)](_0x30e8cd);});};this[_0x362a9d(0x283)](_0x39516e(this[_0x362a9d(0x379)][_0x362a9d(0x358)](()=>{_0x367b85();})));}[_0x413e98(0x197)](){const _0x4d3aee=_0x413e98;var _0x3f30e1,_0x2fe722;if(this[_0x4d3aee(0x28d)]=!0x0,((_0x3f30e1=this[_0x4d3aee(0x2d4)][_0x4d3aee(0x22c)]())==null?void 0x0:_0x3f30e1['getUnitId']())!==this[_0x4d3aee(0x381)])return;const _0x5c58c8=(_0x2fe722=this[_0x4d3aee(0x282)][_0x4d3aee(0x29d)](_0x5703fa)[_0x4d3aee(0x2e6)]())==null?void 0x0:_0x2fe722[0x0],_0x274c76=this[_0x4d3aee(0x2d4)][_0x4d3aee(0x319)](_0x194d51[_0x4d3aee(0x33e)])['getActiveSheet']();_0x5c58c8&&_0x274c76&&this[_0x4d3aee(0x288)](_0x274c76[_0x4d3aee(0x2b5)](),_0x5c58c8);}[_0x413e98(0x2d7)](){const _0x20faf1=_0x413e98;this[_0x20faf1(0x28d)]=!0x1;}};Me=Ui([x(0x2,_0x4d8a31(_0x421519)),x(0x3,_0x4d8a31(He)),x(0x4,_0x4d8a31(_0x1c69a3)),x(0x5,_0x14500f),x(0x6,_0x488e6b),x(0x7,_0x4d8a31(_0x2a5b03))],Me);var wi=Object[_0x413e98(0x25e)],Ai=(_0x9595ae,_0x1bd215,_0x1c3bf7,_0x1f7885)=>{for(var _0x1657e3=_0x1f7885>0x1?void 0x0:_0x1f7885?wi(_0x1bd215,_0x1c3bf7):_0x1bd215,_0x4aff12=_0x9595ae['length']-0x1,_0x5ea453;_0x4aff12>=0x0;_0x4aff12--)(_0x5ea453=_0x9595ae[_0x4aff12])&&(_0x1657e3=_0x5ea453(_0x1657e3)||_0x1657e3);return _0x1657e3;},me=(_0x4611f1,_0x33448d)=>(_0x56a1a5,_0x33c421)=>_0x33448d(_0x56a1a5,_0x33c421,_0x4611f1);let F=class extends _0x141ef5{constructor(_0x5fa5b5,_0x1f607f,_0x1e09eb){const _0x481315=_0x413e98;super(),_(this,_0x481315(0x221),new Map()),_(this,_0x481315(0x1a1),new _0x30653a()),(this['_univerInstanceService']=_0x5fa5b5,this[_0x481315(0x282)]=_0x1f607f,this[_0x481315(0x1ad)]=_0x1e09eb,this[_0x481315(0x2c5)]());}[_0x413e98(0x327)](){const _0x4c5407=_0x413e98;super['dispose'](),this[_0x4c5407(0x1a1)][_0x4c5407(0x2b2)](),this[_0x4c5407(0x221)][_0x4c5407(0x27f)](_0x483985=>_0x483985[_0x4c5407(0x327)]());}[_0x413e98(0x22d)](_0x2f0554){const _0x1b3b3c=_0x413e98;return this[_0x1b3b3c(0x221)][_0x1b3b3c(0x194)](_0x2f0554)?this[_0x1b3b3c(0x221)][_0x1b3b3c(0x29d)](_0x2f0554)['cursorInfo$']:this[_0x1b3b3c(0x1a1)][_0x1b3b3c(0x1e3)](_0x62134f(_0x1e00ee=>_0x1e00ee['unitID']===_0x2f0554),_0x767d83(_0x784107=>_0x784107[_0x1b3b3c(0x32c)]));}['_init'](){const _0x18826a=_0x413e98;this['_univerInstanceService'][_0x18826a(0x1c9)](_0x194d51['UNIVER_SHEET'])['pipe'](_0x9cab5c(this['dispose$']))[_0x18826a(0x358)](async _0x3a4acd=>{const _0x1dff91=_0x18826a,_0x22c360=_0x3a4acd['getUnitId'](),_0x8a0116=await this[_0x1dff91(0x33b)](_0x22c360);this[_0x1dff91(0x1a1)][_0x1dff91(0x218)](_0x8a0116),this['_entities'][_0x1dff91(0x34e)](_0x22c360,_0x8a0116);}),this[_0x18826a(0x2d4)]['getTypeOfUnitAdded$'](_0x194d51['UNIVER_DOC'])[_0x18826a(0x1e3)](_0x9cab5c(this[_0x18826a(0x2c3)]))[_0x18826a(0x1e3)](_0x62134f(_0xa8ec91=>!_0xa8ec91[_0x18826a(0x1bf)]()['startsWith']('__')))[_0x18826a(0x358)](async _0x46ffe2=>{const _0x23e13d=_0x18826a,_0x12a56c=_0x46ffe2['getUnitId'](),_0x1e09c0=await this[_0x23e13d(0x1af)](_0x12a56c);this['_entityInit$'][_0x23e13d(0x218)](_0x1e09c0),this[_0x23e13d(0x221)][_0x23e13d(0x34e)](_0x12a56c,_0x1e09c0);}),_0x398d3e(this[_0x18826a(0x2d4)][_0x18826a(0x371)](_0x194d51[_0x18826a(0x274)]),this[_0x18826a(0x2d4)][_0x18826a(0x371)](_0x194d51[_0x18826a(0x33e)]))['pipe'](_0x9cab5c(this[_0x18826a(0x2c3)]))['subscribe'](_0x1b6898=>{const _0xb301c5=_0x18826a,_0x1821fc=_0x1b6898[_0xb301c5(0x1bf)](),_0x10987e=this[_0xb301c5(0x221)][_0xb301c5(0x29d)](_0x1821fc);_0x10987e&&(_0x10987e[_0xb301c5(0x327)](),this['_entities'][_0xb301c5(0x2c2)](_0x1821fc));});}async['_startSheetCollabCursor'](_0x39039b){const _0x546627=_0x413e98,_0x359560=await this[_0x546627(0x1ad)][_0x546627(0x2a5)](_0x39039b),_0x103aa1=this[_0x546627(0x282)][_0x546627(0x337)](Me,_0x39039b,_0x359560);return _0x103aa1[_0x546627(0x1aa)](),_0x103aa1;}async['_startDocCollabCursor'](_0x163a4a){const _0x1a6b84=_0x413e98,_0x45abb1=await this[_0x1a6b84(0x1ad)][_0x1a6b84(0x2a5)](_0x163a4a),_0x198161=this[_0x1a6b84(0x282)][_0x1a6b84(0x337)](Ue,_0x163a4a,_0x45abb1);return _0x198161[_0x1a6b84(0x1aa)](),_0x198161;}};F=Ai([me(0x0,_0x14500f),me(0x1,_0x4d8a31(_0x421519)),me(0x2,_0x4d8a31(_0x224109))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x354b36,_0x3744b0){const _0x545084=_0x413e98;let {radius:_0x2f2757,width:_0x2b3685,height:_0x3dd9f3}=_0x3744b0;_0x2f2757=_0x2f2757!=null?_0x2f2757:0x0,_0x2b3685=_0x2b3685!=null?_0x2b3685:0x1e,_0x3dd9f3=_0x3dd9f3!=null?_0x3dd9f3:0x1e;let _0x1bb53e=0x0,_0x15b73f=0x0,_0x32e0ab=0x0;_0x1bb53e=_0x15b73f=_0x32e0ab=Math[_0x545084(0x2e8)](_0x2f2757,_0x2b3685/0x2,_0x3dd9f3/0x2),_0x354b36['beginPath'](),_0x354b36[_0x545084(0x302)](_0x1bb53e,0x0),_0x354b36[_0x545084(0x2c6)](_0x2b3685-_0x15b73f,0x0),_0x354b36[_0x545084(0x1f5)](_0x2b3685-_0x15b73f,_0x15b73f,_0x15b73f,Math['PI']*0x3/0x2,0x0,!0x1),_0x354b36['lineTo'](_0x2b3685,_0x3dd9f3-_0x32e0ab),_0x354b36[_0x545084(0x1f5)](_0x2b3685-_0x32e0ab,_0x3dd9f3-_0x32e0ab,_0x32e0ab,0x0,Math['PI']/0x2,!0x1),_0x354b36[_0x545084(0x2c6)](0x0,_0x3dd9f3),_0x354b36['lineTo'](0x0,_0x1bb53e),_0x354b36['arc'](_0x1bb53e,_0x1bb53e,_0x1bb53e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x354b36[_0x545084(0x229)](),_0x3744b0[_0x545084(0x2c9)]&&(_0x354b36[_0x545084(0x1fd)](),_0x354b36[_0x545084(0x259)]=_0x3744b0['fill'],_0x3744b0['fillRule']==='evenodd'?_0x354b36['fill'](_0x545084(0x36c)):_0x354b36['fill'](),_0x354b36[_0x545084(0x2ae)]());}class ue extends _0x171562{constructor(_0x943172,_0x1650e0){const _0x1fafd0=_0x413e98;super(_0x943172,_0x1650e0),_(this,_0x1fafd0(0x193)),_(this,_0x1fafd0(0x2d5)),(this[_0x1fafd0(0x193)]=_0x1650e0==null?void 0x0:_0x1650e0[_0x1fafd0(0x193)],this[_0x1fafd0(0x2d5)]=_0x1650e0==null?void 0x0:_0x1650e0[_0x1fafd0(0x2d5)]);}static[_0x413e98(0x1bd)](_0x4576ed,_0x3f6f2d){const _0x560f2c=_0x413e98,{text:_0x20201e,color:_0x5d5d74}=_0x3f6f2d;_0x4576ed['save'](),_0x4576ed['font']=_0x560f2c(0x32d);const _0xc8356b=_0x4576ed[_0x560f2c(0x2be)](_0x20201e)[_0x560f2c(0x30e)],_0x44850f=Math['min'](_0xc8356b+0x2*Ie,Qe);$i(_0x4576ed,{'height':J,'radius':0x4,'width':_0x44850f,'fill':_0x5d5d74}),_0x4576ed['fillStyle']=_0x560f2c(0x303);const _0x12a863=Ie,_0x3d844a=J-yi,_0x301bfd=Qe-0x2*Ie;if(_0xc8356b>_0x301bfd){let _0x316ae0='',_0x17848b=0x0;for(const _0x3cee3a of _0x20201e){const _0x2a8f7c=_0x4576ed[_0x560f2c(0x2be)](_0x3cee3a)[_0x560f2c(0x30e)];if(_0x17848b+_0x2a8f7c<=_0x301bfd-_0x4576ed['measureText']('...')[_0x560f2c(0x30e)])_0x316ae0+=_0x3cee3a,_0x17848b+=_0x2a8f7c;else{_0x316ae0+=_0x560f2c(0x23b);break;}}_0x4576ed[_0x560f2c(0x228)](_0x316ae0,_0x12a863,_0x3d844a);}else _0x4576ed['fillText'](_0x20201e,_0x12a863,_0x3d844a);_0x4576ed[_0x560f2c(0x2ae)]();}[_0x413e98(0x2e1)](_0x1e9e17){const _0x41ddad=_0x413e98;ue[_0x41ddad(0x1bd)](_0x1e9e17,this);}}const ve='collab-text-anchor-',xi=_0x413e98(0x335),Bi=_0x413e98(0x28e),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x413e98(0x220);class qe{constructor(_0x31a2d0,_0x298c03,_0x4ac361,_0x45ae3b){const _0x230e91=_0x413e98;_(this,'_shapes',[]),_(this,_0x230e91(0x2b8),null),_(this,_0x230e91(0x2fb),null),_(this,_0x230e91(0x345),null),_(this,_0x230e91(0x1bb),null),_(this,_0x230e91(0x31b),null),(this[_0x230e91(0x2b6)]=_0x31a2d0,this[_0x230e91(0x1ae)]=_0x298c03,this[_0x230e91(0x1cc)]=_0x4ac361,this[_0x230e91(0x1fe)]=_0x45ae3b,this[_0x230e91(0x2db)]());}set['_hover'](_0x229d09){const _0x3dec94=_0x413e98;_0x229d09?(this[_0x3dec94(0x345)]&&this[_0x3dec94(0x345)]['hide'](),this['_textBubble']&&this[_0x3dec94(0x2fb)][_0x3dec94(0x37a)]()):(this[_0x3dec94(0x345)]&&this[_0x3dec94(0x345)][_0x3dec94(0x37a)](),this[_0x3dec94(0x2fb)]&&this[_0x3dec94(0x2fb)]['hide']());}[_0x413e98(0x327)](){const _0x1cd4c8=_0x413e98;for(const _0x1c7042 of this[_0x1cd4c8(0x300)])_0x1c7042[_0x1cd4c8(0x327)]();this[_0x1cd4c8(0x2fb)]&&this[_0x1cd4c8(0x2fb)][_0x1cd4c8(0x327)](),this[_0x1cd4c8(0x345)]&&this['_anchorDot']['dispose'](),this[_0x1cd4c8(0x2b8)]&&this[_0x1cd4c8(0x2b8)]['dispose'](),this[_0x1cd4c8(0x31b)]&&this[_0x1cd4c8(0x31b)]();}[_0x413e98(0x2db)](){const _0x44f121=_0x413e98;var _0x267451;const {_docSkeleton:_0x2847dd,_document:_0x3f327c}=this,{color:_0x2cc883,name:_0x458ccf,ranges:_0x246218}=this[_0x44f121(0x2b6)],_0x218726=_0x3f327c[_0x44f121(0x31c)](),{docsLeft:_0xbd6817,docsTop:_0x56cce8}=_0x218726,_0x2bad99=new _0x376107(_0x218726,_0x2847dd);for(const {startOffset:_0x1cd616,endOffset:_0x4a004e,rangeType:_0x39f2ee,segmentId:_0x1b2b7d,segmentPage:_0x5b51f7,collapsed:_0xdb8def,isActive:_0x55a68c}of _0x246218){const _0x32e35c=_0x2847dd[_0x44f121(0x2e2)](_0x1cd616,!0x0,_0x1b2b7d,_0x5b51f7);let _0x5755af=_0x2847dd[_0x44f121(0x2e2)](_0x4a004e,!0x0,_0x1b2b7d,_0x5b51f7);if(_0x5755af==null&&(_0x5755af=_0x2847dd[_0x44f121(0x2e2)](_0x4a004e-0x1,!0x1,_0x1b2b7d,_0x5b51f7)),_0x55a68c){const {contentBoxPointGroup:_0x3c199f}=_0x2bad99[_0x44f121(0x2e3)](_0x5755af,_0x5755af);if(_0x3c199f[_0x44f121(0x2ba)]===0x0)continue;this[_0x44f121(0x2f3)](_0x2cc883,_0x3c199f,_0xbd6817,_0x56cce8,_0x458ccf),this[_0x44f121(0x31b)]=this[_0x44f121(0x24d)]();}if(_0x32e35c&&_0x5755af){if(_0x39f2ee===_0x57da75[_0x44f121(0x19d)]){const _0x17c336=new _0x2a5d21(_0x218726,_0x2847dd),{pointGroup:_0x4a481c}=(_0x267451=_0x17c336[_0x44f121(0x2e3)](_0x32e35c,_0x5755af))!=null?_0x267451:{};if(_0x4a481c==null||_0x4a481c[_0x44f121(0x2ba)]===0x0)continue;this['_drawRectRange'](_0x2cc883,_0x4a481c,_0xbd6817,_0x56cce8);}else{if(!_0xdb8def){const {borderBoxPointGroup:_0x55e439}=_0x2bad99['getRangePointData'](_0x32e35c,_0x5755af);if(_0x55e439[_0x44f121(0x2ba)]===0x0)continue;this[_0x44f121(0x289)](_0x2cc883,_0x55e439,_0xbd6817,_0x56cce8);}}}}}[_0x413e98(0x2f3)](_0x266db6,_0x403b37,_0xb81ea8,_0x1631c2,_0x9747d7){const _0x2c3aee=_0x413e98,_0x1743b8=this[_0x2c3aee(0x2b7)](_0x403b37),{left:_0x2e01f8,top:_0x416ed2,height:_0x2815a3}=_0x1743b8,_0x489991=this[_0x2c3aee(0x1b0)](),_0x11b3e4=Hi/_0x489991,_0x2d6987=new _0x2fe434(ve+_0x3449a7(K),{'left':_0x2e01f8+_0xb81ea8-_0x11b3e4,'top':_0x416ed2+_0x1631c2,'height':_0x2815a3,'width':ki,'fill':_0x266db6||_0x58717e(_0x55f8a9[_0x2c3aee(0x341)],0x0),'strokeWidth':_0x11b3e4,'stroke':Fi,'evented':!0x0});this[_0x2c3aee(0x2b8)]=_0x2d6987,this['_scene']['addObject'](_0x2d6987,_0x4b5d44);const _0x554eb4=new _0x2fe434(ve+_0x3449a7(K),{'left':_0x2e01f8+_0xb81ea8-_0x11b3e4,'top':_0x416ed2+_0x1631c2-ge/0x2,'height':ge,'width':ge,'fill':_0x266db6||_0x58717e(_0x55f8a9['black'],0x0),'strokeWidth':0x0,'stroke':_0x266db6||_0x58717e(_0x55f8a9[_0x2c3aee(0x341)],0x0),'evented':!0x1});this['_anchorDot']=_0x554eb4,this['_scene'][_0x2c3aee(0x23d)](_0x554eb4,_0x4b5d44);const _0x3d1999=new ue(ve+_0x3449a7(K),{'left':_0x2e01f8+_0xb81ea8-_0x11b3e4,'top':_0x416ed2+_0x1631c2-J,'text':_0x9747d7,'color':_0x266db6});this[_0x2c3aee(0x2fb)]=_0x3d1999,this['_scene'][_0x2c3aee(0x23d)](_0x3d1999,_0x4b5d44),this[_0x2c3aee(0x277)]=!0x1;}[_0x413e98(0x24d)](){const _0x4ef7bb=_0x413e98,_0x512252=this[_0x4ef7bb(0x2b8)][_0x4ef7bb(0x242)][_0x4ef7bb(0x382)](()=>{const _0x3d23c7=_0x4ef7bb;this[_0x3d23c7(0x277)]=!0x0;}),_0x314ce4=this[_0x4ef7bb(0x2b8)][_0x4ef7bb(0x223)][_0x4ef7bb(0x382)](()=>{const _0x18f702=_0x4ef7bb;this['_hideTimer']&&clearTimeout(this[_0x18f702(0x1bb)]),this[_0x18f702(0x1bb)]=setTimeout(()=>{const _0x51ae9b=_0x18f702;this[_0x51ae9b(0x277)]=!0x1;},0x7d0);});return()=>{const _0x41120c=_0x4ef7bb;_0x512252[_0x41120c(0x333)](),_0x314ce4[_0x41120c(0x333)]();};}[_0x413e98(0x289)](_0x333a11,_0x14a97a,_0x23a11e,_0x1c831e){const _0x2d097f=_0x413e98,_0x38d2cd=new _0x4b1718(_0x333a11)[_0x2d097f(0x209)](0.2)[_0x2d097f(0x2df)](),_0x1a3040=new _0x36bf17(xi+_0x3449a7(K),{'pointsGroup':_0x14a97a,'fill':_0x38d2cd||_0x58717e(_0x55f8a9[_0x2d097f(0x341)],0.2),'left':_0x23a11e,'top':_0x1c831e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2d097f(0x300)][_0x2d097f(0x27c)](_0x1a3040),this[_0x2d097f(0x1ae)][_0x2d097f(0x23d)](_0x1a3040,_0x4b5d44);}['_drawRectRange'](_0x287c80,_0x37a3c6,_0x497cd4,_0x7276a){const _0x422339=_0x413e98,_0x531b81=new _0x4b1718(_0x287c80)[_0x422339(0x209)](0.2)['toRgbString'](),_0x13a8ca=new _0x36bf17(Bi+_0x3449a7(K),{'pointsGroup':_0x37a3c6,'fill':_0x531b81||_0x58717e(_0x55f8a9[_0x422339(0x341)],0.2),'left':_0x497cd4,'top':_0x7276a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x422339(0x300)][_0x422339(0x27c)](_0x13a8ca),this[_0x422339(0x1ae)]['addObject'](_0x13a8ca,_0x4b5d44);}['_getAnchorBounding'](_0x2561c1){const _0x26062c=_0x2561c1[0x0],_0x1cfd6a=_0x26062c[0x0],_0x467e47=_0x26062c[0x2],{x:_0x15bf6f,y:_0xc4d427}=_0x1cfd6a,{x:_0x8dbc0b,y:_0x186566}=_0x467e47;return{'left':_0x15bf6f,'top':_0xc4d427,'width':_0x8dbc0b-_0x15bf6f,'height':_0x186566-_0xc4d427};}[_0x413e98(0x1b0)](){const _0x41a843=_0x413e98,{scaleX:_0x2146a9,scaleY:_0x4ac882}=this['_scene'][_0x41a843(0x366)]();return Math[_0x41a843(0x1e0)](_0x2146a9,_0x4ac882);}}var Yi=Object[_0x413e98(0x25e)],ji=(_0x4243aa,_0xe3dfe,_0x484351,_0x68350f)=>{for(var _0x4291d3=_0x68350f>0x1?void 0x0:_0x68350f?Yi(_0xe3dfe,_0x484351):_0xe3dfe,_0x53748a=_0x4243aa['length']-0x1,_0x3445b0;_0x53748a>=0x0;_0x53748a--)(_0x3445b0=_0x4243aa[_0x53748a])&&(_0x4291d3=_0x3445b0(_0x4291d3)||_0x4291d3);return _0x4291d3;},ee=(_0x5e8f1f,_0x5de0ac)=>(_0x2b03a9,_0x2dc5f7)=>_0x5de0ac(_0x2b03a9,_0x2dc5f7,_0x5e8f1f);let Le=class extends _0x141ef5{constructor(_0x841bee,_0x1d0d15,_0x4f27f5,_0x213b8b,_0x54d02f){const _0x387a6e=_0x413e98;super(),_(this,_0x387a6e(0x34c),[]),_(this,_0x387a6e(0x245),[]),(this[_0x387a6e(0x211)]=_0x841bee,this['_docSkeletonManagerService']=_0x1d0d15,this[_0x387a6e(0x23f)]=_0x4f27f5,this[_0x387a6e(0x1ba)]=_0x213b8b,this[_0x387a6e(0x2dc)]=_0x54d02f,this[_0x387a6e(0x2c5)]());}['_init'](){const _0x6d217e=_0x413e98,_0x4f0761=this[_0x6d217e(0x211)][_0x6d217e(0x34d)],_0x201f60=this[_0x6d217e(0x355)];this[_0x6d217e(0x283)](_0x4897ff([this['_collabCursorController'][_0x6d217e(0x22d)](_0x4f0761),this['_themeService'][_0x6d217e(0x1d0)]])[_0x6d217e(0x1e3)](_0x23904d(([_0x1151f3,_0x1e4bbd])=>({'skeleton':_0x201f60['getSkeleton'](),'cursors':[..._0x1151f3[_0x6d217e(0x320)]()][_0x6d217e(0x1e8)](_0x40d3fc=>({..._0x40d3fc,'color':this[_0x6d217e(0x2dc)][_0x6d217e(0x235)](_0x40d3fc[_0x6d217e(0x193)])}))})))[_0x6d217e(0x358)](_0x149f4c=>{const _0x2a47a3=_0x6d217e;if(this[_0x2a47a3(0x224)](),_0x149f4c){const {skeleton:_0x54b7ac,cursors:_0xb02a18}=_0x149f4c;this['_updateCollabCursors'](_0x54b7ac,_0xb02a18);}})),this[_0x6d217e(0x1d8)](),this[_0x6d217e(0x20f)]();}[_0x413e98(0x273)](_0x44ed40,_0x199e7d){const _0x5dfbfa=_0x413e98,{scene:_0x25c57f,mainComponent:_0x4dffa2}=this[_0x5dfbfa(0x211)],_0x331949=_0x199e7d[_0x5dfbfa(0x239)](_0x175c6e=>new qe(_0x175c6e,_0x25c57f,_0x44ed40,_0x4dffa2));this[_0x5dfbfa(0x34c)]=_0x331949,this[_0x5dfbfa(0x245)]=_0x199e7d;}[_0x413e98(0x30f)](){const _0x13a294=_0x413e98;this[_0x13a294(0x224)]();const {scene:_0xa1e624,mainComponent:_0x2320b1}=this[_0x13a294(0x211)],_0x23f070=this[_0x13a294(0x355)]['getSkeleton'](),_0x22e04b=this[_0x13a294(0x245)][_0x13a294(0x239)](_0x1b489a=>new qe(_0x1b489a,_0xa1e624,_0x23f070,_0x2320b1));this[_0x13a294(0x34c)]=_0x22e04b;}[_0x413e98(0x224)](){const _0x476e5b=_0x413e98;this[_0x476e5b(0x34c)][_0x476e5b(0x27f)](_0x211dba=>_0x211dba[_0x476e5b(0x327)]()),this[_0x476e5b(0x34c)]=[];}['_initCommandExecutedListener'](){const _0x3813b5=_0x413e98,_0xc712ec=[_0x59e3f2['id']];this[_0x3813b5(0x283)](this[_0x3813b5(0x1ba)][_0x3813b5(0x23c)](_0x223d0d=>{const _0x217509=_0x3813b5;_0xc712ec[_0x217509(0x267)](_0x223d0d['id'])&&_0x223d0d[_0x217509(0x2a1)][_0x217509(0x34d)]===this[_0x217509(0x211)][_0x217509(0x34d)]&&this[_0x217509(0x30f)]();}));}[_0x413e98(0x1d8)](){const _0x1af4f7=_0x413e98;this['disposeWithMe'](_0x2ccc9b(this[_0x1af4f7(0x211)][_0x1af4f7(0x2ac)][_0x1af4f7(0x249)])[_0x1af4f7(0x1e3)](_0x20c2ee(_0x19040d=>_0x19040d['type']===_0x5248f2[_0x1af4f7(0x20d)]),_0x2cb196(0x10))['subscribe'](()=>{const _0x4fe8f2=_0x1af4f7;this[_0x4fe8f2(0x30f)]();}));}};Le=ji([ee(0x1,_0x4d8a31(_0x5c0d03)),ee(0x2,_0x4d8a31(F)),ee(0x3,_0x488e6b),ee(0x4,_0x4d8a31(_0x1e69d1))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x171562{constructor(_0x23d205,_0x4a3008){const _0x3f0d1f=_0x413e98;super(_0x23d205,_0x4a3008),_(this,_0x3f0d1f(0x2a4)),_(this,_0x3f0d1f(0x2ec),!0x1),_(this,_0x3f0d1f(0x2eb)),_(this,_0x3f0d1f(0x351),''),_(this,'_labelPosition','top'),_(this,_0x3f0d1f(0x2ad)),(_0x4a3008&&this[_0x3f0d1f(0x1b1)](_0x4a3008),this[_0x3f0d1f(0x242)][_0x3f0d1f(0x382)](()=>this[_0x3f0d1f(0x1b1)]({'hovered':!0x0})),this[_0x3f0d1f(0x223)][_0x3f0d1f(0x382)](()=>this[_0x3f0d1f(0x1b1)]({'hovered':!0x1})));}[_0x413e98(0x1b1)](_0x21896e){const _0x30330f=_0x413e98;var _0xc5676e,_0x58918a,_0x412eed,_0x187c65,_0x4be888,_0x28a5a4;this[_0x30330f(0x2a4)]=(_0xc5676e=_0x21896e[_0x30330f(0x193)])!=null?_0xc5676e:this[_0x30330f(0x2a4)],this[_0x30330f(0x2ec)]=(_0x58918a=_0x21896e[_0x30330f(0x2d0)])!=null?_0x58918a:this[_0x30330f(0x2ec)],this[_0x30330f(0x2eb)]=(_0x412eed=_0x21896e[_0x30330f(0x192)])!=null?_0x412eed:this['_range'],this[_0x30330f(0x351)]=(_0x187c65=_0x21896e['name'])!=null?_0x187c65:this[_0x30330f(0x351)],this[_0x30330f(0x252)]=(_0x4be888=_0x21896e[_0x30330f(0x1b4)])!=null?_0x4be888:this[_0x30330f(0x252)],this[_0x30330f(0x2ad)]=(_0x28a5a4=_0x21896e[_0x30330f(0x22b)])!=null?_0x28a5a4:this['_backgroundColor'],this[_0x30330f(0x334)]({'width':_0x21896e[_0x30330f(0x30e)],'height':_0x21896e[_0x30330f(0x26b)]});}['onMouseMove'](_0x15b9d1){const _0x11d79e=_0x413e98,{row:_0x530ee4,column:_0x3847dc}=_0x15b9d1;if(_0x530ee4>=this[_0x11d79e(0x2eb)][_0x11d79e(0x37e)]&&_0x530ee4<=this[_0x11d79e(0x2eb)]['endRow']&&_0x3847dc>=this[_0x11d79e(0x2eb)][_0x11d79e(0x360)]&&_0x3847dc<=this[_0x11d79e(0x2eb)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x11d79e(0x1b1)]({'hovered':!0x1});}[_0x413e98(0x292)](_0x377c32){return!0x1;}[_0x413e98(0x2e1)](_0x3ab5f9){const _0x1fb393=_0x413e98;_0x2fe434[_0x1fb393(0x1bd)](_0x3ab5f9,{'width':this[_0x1fb393(0x30e)],'height':this['height'],'strokeWidth':Wi,'stroke':this[_0x1fb393(0x2a4)],'evented':!0x1,'fill':this[_0x1fb393(0x2ad)]}),this[_0x1fb393(0x2ec)]&&(_0x3ab5f9[_0x1fb393(0x1fd)](),_0x3ab5f9[_0x1fb393(0x276)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x1fb393(0x212)?0x0:-J),ue[_0x1fb393(0x1bd)](_0x3ab5f9,{'text':this[_0x1fb393(0x351)],'color':this[_0x1fb393(0x2a4)]}),_0x3ab5f9[_0x1fb393(0x2ae)]());}}var Gi=Object[_0x413e98(0x25e)],Ki=(_0x2bc2c4,_0x1bd586,_0x4f5dc6,_0x378dd1)=>{const _0x45add8=_0x413e98;for(var _0x5ce7b8=_0x378dd1>0x1?void 0x0:_0x378dd1?Gi(_0x1bd586,_0x4f5dc6):_0x1bd586,_0x3aed82=_0x2bc2c4[_0x45add8(0x2ba)]-0x1,_0x4fa61d;_0x3aed82>=0x0;_0x3aed82--)(_0x4fa61d=_0x2bc2c4[_0x3aed82])&&(_0x5ce7b8=_0x4fa61d(_0x5ce7b8)||_0x5ce7b8);return _0x5ce7b8;},pe=(_0x854e6,_0x2928ab)=>(_0x4aeb9c,_0x148e86)=>_0x2928ab(_0x4aeb9c,_0x148e86,_0x854e6);const zi=0x1389;let Pe=class extends _0x141ef5{constructor(_0x50a11e,_0x5e4f55,_0x56be76,_0xc5c78e){const _0x21b500=_0x413e98;super(),_(this,_0x21b500(0x245),new Set()),_(this,_0x21b500(0x2a9),null),(this[_0x21b500(0x211)]=_0x50a11e,this[_0x21b500(0x279)]=_0x5e4f55,this['_collabCursorController']=_0x56be76,this[_0x21b500(0x2dc)]=_0xc5c78e,this[_0x21b500(0x2c5)]());}['_init'](){const _0x2ff698=_0x413e98;this[_0x2ff698(0x279)][_0x2ff698(0x2f7)][_0x2ff698(0x1e3)](_0x421917(this[_0x2ff698(0x2c3)]),_0x38a151(_0x2b2253=>{const _0x16d300=_0x2ff698;if(_0x2b2253){const _0x501746=_0x2b2253['sheetId'];return _0x4897ff(this['_collabCursorController'][_0x16d300(0x22d)](this[_0x16d300(0x211)][_0x16d300(0x34d)]),this[_0x16d300(0x2dc)][_0x16d300(0x1d0)])[_0x16d300(0x1e3)](_0x23904d(([_0x5b8f4b,_0x4d6016])=>{const _0x5e05c1=_0x16d300,_0x8f3436=new Map();return _0x5b8f4b[_0x5e05c1(0x27f)]((_0x4d533d,_0xb312b6)=>{const _0x4188b1=_0x5e05c1;if(_0x4d533d['sheetID']===_0x501746){const _0x529f70={..._0x4d533d};_0x529f70[_0x4188b1(0x193)]=this['_themeService'][_0x4188b1(0x235)](_0x4d533d[_0x4188b1(0x193)]),_0x8f3436[_0x4188b1(0x34e)](_0xb312b6,_0x529f70);}}),{'skeleton':_0x2b2253,'cursors':_0x8f3436};}));}return _0x50c63a({'skeleton':null,'cursors':new Map()});}))[_0x2ff698(0x358)](({skeleton:_0x39fee1,cursors:_0x2a7d2c})=>{const _0x3bcc33=_0x2ff698;this[_0x3bcc33(0x224)](),_0x39fee1&&this[_0x3bcc33(0x273)](_0x39fee1,_0x2a7d2c);}),this[_0x2ff698(0x279)][_0x2ff698(0x2f7)][_0x2ff698(0x358)](_0x378f56=>{const _0x5e8e94=_0x2ff698;if(_0x378f56==null)return;const {skeleton:_0x291e66}=_0x378f56,{scene:_0x30e4fd}=this[_0x5e8e94(0x211)];_0x30e4fd['onPointerMove$'][_0x5e8e94(0x382)](_0x20deb2(_0x2cc244=>{const _0x4ebb6f=_0x5e8e94;var _0x5216c8,_0x27c45d;const {offsetX:_0x4a0cbf,offsetY:_0x1dc47d}=_0x2cc244,{x:_0x6ee610,y:_0x52ab49}=_0x30e4fd[_0x4ebb6f(0x31f)](_0x52c03f[_0x4ebb6f(0x29f)]([_0x4a0cbf,_0x1dc47d])),{scaleX:_0x9b2ed2,scaleY:_0x455888}=_0x30e4fd[_0x4ebb6f(0x366)](),_0x43c7ac=_0x30e4fd[_0x4ebb6f(0x31d)](_0x565016[_0x4ebb6f(0x2b9)]),_0x47ee5a=_0x30e4fd[_0x4ebb6f(0x2bd)](_0x52c03f[_0x4ebb6f(0x29f)]([_0x6ee610,_0x52ab49]),_0x43c7ac),_0x53b763=_0x291e66['getCellPositionByOffset'](_0x4a0cbf,_0x1dc47d,_0x9b2ed2,_0x455888,_0x47ee5a);((_0x5216c8=this['_lastPointer'])==null?void 0x0:_0x5216c8[_0x4ebb6f(0x1be)])===_0x53b763[_0x4ebb6f(0x1be)]&&((_0x27c45d=this[_0x4ebb6f(0x2a9)])==null?void 0x0:_0x27c45d['row'])===_0x53b763[_0x4ebb6f(0x244)]||this[_0x4ebb6f(0x245)]['forEach'](_0x1bc5fd=>{_0x1bc5fd['onMouseMove'](_0x53b763);});},0x64));});}[_0x413e98(0x273)](_0x37abaa,_0x37e6f1){const _0x2e08a8=_0x413e98;var _0x119394;const _0xdfdf0=(_0x119394=this[_0x2e08a8(0x279)]['getCurrent']())==null?void 0x0:_0x119394[_0x2e08a8(0x2ab)];if(!_0xdfdf0)return;const _0x90797b=this['_getSheetObject']();if(!_0x90797b)return;this[_0x2e08a8(0x245)][_0x2e08a8(0x27f)](_0xf43b62=>{const _0x3b593c=_0x2e08a8;_0xf43b62[_0x3b593c(0x2e7)]();});const {scene:_0x36a964}=_0x90797b,_0xa3c920=Ji(Array[_0x2e08a8(0x2dd)](_0x37e6f1[_0x2e08a8(0x320)]()))[_0x2e08a8(0x239)](_0xfe327a=>{const _0x348cf0=_0x2e08a8,{color:_0x5b6f75,range:_0x778020,name:_0x1ea786,selection:_0x570733,sheetID:_0xd250d}=_0xfe327a,{startColumn:_0x1b845c,startRow:_0x4c81cc,endColumn:_0x5aef84,endRow:_0x7d9fee}=_0x778020,_0x25a07b=_0x592584(_0x4c81cc,_0x1b845c,_0x36a964,_0xdfdf0),_0x4f8ad6=_0x592584(_0x7d9fee,_0x5aef84,_0x36a964,_0xdfdf0),{columnHeaderHeightAndMarginTop:_0x108694}=_0xdfdf0,{startX:_0x4be337,startY:_0x1feba1}=_0x25a07b,{endX:_0x3df2c2,endY:_0x1887fd}=_0x4f8ad6,_0xc0846e=_0x3df2c2-_0x4be337,_0x546559=_0x1887fd-_0x1feba1,_0x2b6eb1={'labelPosition':_0x1feba1-_0x108694>=J?_0x348cf0(0x2af):_0x348cf0(0x212),'sheetID':_0xd250d,'range':_0x778020,'color':_0x5b6f75,'name':_0x1ea786,'selection':_0x570733,'left':_0x4be337,'top':_0x1feba1,'width':_0xc0846e,'height':_0x546559,'evented':!0x1,'zIndex':zi};return new Xi(_0x1ea786,_0x2b6eb1);});_0x36a964[_0x2e08a8(0x2d8)](_0xa3c920,Vi),this['_cursors']=new Set(_0xa3c920);}[_0x413e98(0x224)](){const _0x3911d2=_0x413e98;var _0x57a056;(_0x57a056=this[_0x3911d2(0x245)])==null||_0x57a056[_0x3911d2(0x27f)](_0x31859b=>_0x31859b[_0x3911d2(0x327)]());}['_getSheetObject'](){const _0x357a6d=_0x413e98;return _0x2f637f(this[_0x357a6d(0x211)]['unit'],this[_0x357a6d(0x211)]);}};Pe=Ki([pe(0x1,_0x4d8a31(_0x3affee)),pe(0x2,_0x4d8a31(F)),pe(0x3,_0x4d8a31(_0x1e69d1))],Pe);function Ji(_0x5e2063){const _0x2a7720=_0x413e98,_0x3e09a1=new Map();return _0x5e2063[_0x2a7720(0x27f)](_0x943942=>{const _0x442a78=_0x2a7720;if(_0x3e09a1[_0x442a78(0x194)](_0x943942[_0x442a78(0x1d7)])){const _0x2d5bb3=_0x3e09a1[_0x442a78(0x29d)](_0x943942[_0x442a78(0x1d7)]);_0x2d5bb3[_0x442a78(0x293)]+=',\x20'+_0x943942[_0x442a78(0x293)];}else _0x3e09a1[_0x442a78(0x34e)](_0x943942[_0x442a78(0x1d7)],_0x943942);}),Array[_0x2a7720(0x2dd)](_0x3e09a1[_0x2a7720(0x320)]());}var Zi=Object[_0x413e98(0x25e)],Qi=(_0x1cc678,_0x59a45a,_0x10d298,_0x55a8ca)=>{const _0x2869dc=_0x413e98;for(var _0x1efa44=_0x55a8ca>0x1?void 0x0:_0x55a8ca?Zi(_0x59a45a,_0x10d298):_0x59a45a,_0x1e1125=_0x1cc678[_0x2869dc(0x2ba)]-0x1,_0x38fa33;_0x1e1125>=0x0;_0x1e1125--)(_0x38fa33=_0x1cc678[_0x1e1125])&&(_0x1efa44=_0x38fa33(_0x1efa44)||_0x1efa44);return _0x1efa44;},B=(_0x232b10,_0x529345)=>(_0x347068,_0x2e61da)=>_0x529345(_0x347068,_0x2e61da,_0x232b10);let ne=class extends _0x177603{constructor(_0x31fb0b,_0x4a0678,_0x58b9ad,_0x3b1549,_0x3600a6,_0x3eee7f){const _0x16e3d4=_0x413e98;super(),this['_beforeCloseService']=_0x31fb0b,this[_0x16e3d4(0x36d)]=_0x4a0678,this[_0x16e3d4(0x306)]=_0x58b9ad,this[_0x16e3d4(0x290)]=_0x3b1549,this[_0x16e3d4(0x287)]=_0x3600a6,this[_0x16e3d4(0x281)]=_0x3eee7f,this[_0x16e3d4(0x27b)](),this[_0x16e3d4(0x2de)]();}['_setupBeforeClosingHandler'](){const _0x1596ab=_0x413e98;this[_0x1596ab(0x283)](this[_0x1596ab(0x33c)]['registerBeforeClose'](()=>{const _0x1dabc4=_0x1596ab;if(this[_0x1dabc4(0x36d)][_0x1dabc4(0x1fb)][_0x1dabc4(0x261)])return this[_0x1dabc4(0x281)]['t'](_0x1dabc4(0x34a));}));}[_0x413e98(0x2de)](){const _0x4bca55=_0x413e98;this[_0x4bca55(0x283)](this[_0x4bca55(0x306)][_0x4bca55(0x368)][_0x4bca55(0x358)](_0x49a590=>{const _0xce142e=_0x4bca55;_0x49a590['id']===_0x41b3f5[_0xce142e(0x20a)]&&this['_messageService'][_0xce142e(0x37a)]({'type':_0x253dfd[_0xce142e(0x1e6)],'content':this['_localeService']['t'](_0xce142e(0x324))}),_0x49a590['id']===_0x41b3f5[_0xce142e(0x349)]&&this[_0xce142e(0x290)][_0xce142e(0x37a)]({'type':_0x253dfd['Warning'],'content':this[_0xce142e(0x281)]['t']('collaboration.closeRoom')}),_0x49a590['id']===_0x41b3f5[_0xce142e(0x22f)]&&this[_0xce142e(0x287)][_0xce142e(0x37a)]({'title':this[_0xce142e(0x281)]['t'](_0xce142e(0x23a)),'content':this[_0xce142e(0x281)]['t'](_0xce142e(0x326)),'type':_0xce142e(0x214),'duration':0x0}),_0x49a590['id']===_0x41b3f5['CONFLICT']&&this[_0xce142e(0x290)][_0xce142e(0x37a)]({'type':_0x253dfd['Error'],'content':this[_0xce142e(0x281)]['t'](_0xce142e(0x272))+'('+_0x49a590['data']+')'}),_0x49a590['id']===_0x41b3f5[_0xce142e(0x1c6)]&&this['_messageService']['show']({'type':_0x253dfd[_0xce142e(0x1e6)],'content':this[_0xce142e(0x281)]['t'](_0x49a590[_0xce142e(0x348)]||'')}),_0x49a590['id']===_0x41b3f5['SOCKET_FAILED_RETRY']&&this['_messageService'][_0xce142e(0x37a)]({'type':_0x253dfd[_0xce142e(0x1e6)],'content':this[_0xce142e(0x281)]['t'](_0xce142e(0x2cc))}),_0x49a590['id']===_0x41b3f5[_0xce142e(0x233)]&&this[_0xce142e(0x290)]['show']({'type':_0x253dfd['Error'],'content':this[_0xce142e(0x281)]['t'](_0xce142e(0x385))}),_0x49a590['id']===_0x41b3f5['SUBMIT_CHANGESET_TIMEOUT']&&this[_0xce142e(0x290)]['show']({'type':_0x253dfd[_0xce142e(0x2c7)],'content':this[_0xce142e(0x281)]['t']('session.collaboration-timeout')});}));}};ne=Qi([B(0x0,_0x1a038e),B(0x1,_0x15fc99),B(0x2,_0x4d8a31(_0x4a5069)),B(0x3,_0x152a23),B(0x4,_0x2ec564),B(0x5,_0x4d8a31(_0x11cadf))],ne);const qi=_0x413e98(0x31e),et={};var en=Object[_0x413e98(0x25e)],tn=(_0x3d9ba0,_0x336756,_0x3c21bc,_0x4407b0)=>{const _0x3d647c=_0x413e98;for(var _0x54c37c=_0x4407b0>0x1?void 0x0:_0x4407b0?en(_0x336756,_0x3c21bc):_0x336756,_0x4bd188=_0x3d9ba0[_0x3d647c(0x2ba)]-0x1,_0x337a1e;_0x4bd188>=0x0;_0x4bd188--)(_0x337a1e=_0x3d9ba0[_0x4bd188])&&(_0x54c37c=_0x337a1e(_0x54c37c)||_0x54c37c);return _0x54c37c;},tt=(_0x34b1b0,_0x35512b)=>(_0x46e0bc,_0x4adbcd)=>_0x35512b(_0x46e0bc,_0x4adbcd,_0x34b1b0);let re=class{constructor(_0x30bf76,_0x5e03c9){const _0x2bc1a1=_0x413e98;this[_0x2bc1a1(0x2a6)]=_0x30bf76,this[_0x2bc1a1(0x378)]=_0x5e03c9;}['transformIMECache'](_0x23244c){const _0x3d3aa3=_0x413e98;this[_0x3d3aa3(0x30d)](_0x23244c),this['_transformPreviousActiveRange'](_0x23244c);}[_0x413e98(0x33d)](_0x46b736){const _0xc71f58=_0x413e98,{unitID:_0x3c2c81}=_0x46b736,_0x5580ae=this[_0xc71f58(0x378)]['getRenderById'](_0x3c2c81)[_0xc71f58(0x1a7)](_0x1457e9),{redoCache:_0x480b11}=_0x5580ae['getUndoRedoMutationParamsCache']();if(_0x480b11[_0xc71f58(0x2ba)]===0x0)return _0x46b736;let _0x54ad68=_0x1b7829['deepClone'](_0x46b736[_0xc71f58(0x28b)][0x0]);for(let _0x24af1f=0x0;_0x24af1f<_0x480b11[_0xc71f58(0x2ba)];_0x24af1f++){const _0x22a1bf={'id':_0xc71f58(0x2a0),'params':{..._0x480b11[_0x24af1f]}},_0x283580=this[_0xc71f58(0x2a6)][_0xc71f58(0x322)](_0x54ad68,_0x22a1bf,!0x1);if(_0x4d49e3(_0x283580))throw _0x283580[_0xc71f58(0x214)];_0x54ad68=_0x283580[_0xc71f58(0x28c)];}return{..._0x1b7829[_0xc71f58(0x21d)](_0x46b736),'mutations':[_0x54ad68]};}[_0x413e98(0x30d)](_0x1789cb){const _0x202e90=_0x413e98,{unitID:_0x31767e}=_0x1789cb,_0x5c5c19=this[_0x202e90(0x378)][_0x202e90(0x1a9)](_0x31767e)[_0x202e90(0x1a7)](_0x1457e9),{undoCache:_0x42642c,redoCache:_0xb96a08}=_0x5c5c19[_0x202e90(0x202)]();if(_0x42642c[_0x202e90(0x2ba)]===0x0||_0xb96a08['length']===0x0)return;const _0x529531=[],_0x17b05d=[];let _0x129086=_0x1b7829[_0x202e90(0x21d)](_0x1789cb[_0x202e90(0x28b)][0x0]),_0x1b92ad=_0x1b7829[_0x202e90(0x21d)](_0x1789cb[_0x202e90(0x28b)][0x0]);for(let _0x38635d=_0x42642c[_0x202e90(0x2ba)]-0x1;_0x38635d>=0x0;_0x38635d--){const _0x99cc={'id':_0x202e90(0x2a0),'params':{..._0x42642c[_0x38635d]}},_0x33230e={'id':'doc.mutation.rich-text-editing','params':{..._0xb96a08[_0x38635d]}},_0x1a9507=this[_0x202e90(0x2a6)][_0x202e90(0x322)](_0x129086,_0x99cc,!0x1),_0x220409=this['_transformService'][_0x202e90(0x322)](_0x1b92ad,_0x33230e,!0x1);if(_0x4d49e3(_0x1a9507))throw _0x1a9507['error'];if(_0x4d49e3(_0x220409))throw _0x220409['error'];_0x529531[_0x202e90(0x21a)](_0x1a9507['m2Prime']['params']),_0x17b05d[_0x202e90(0x21a)](_0x220409['m2Prime'][_0x202e90(0x2a1)]),_0x129086=_0x1a9507[_0x202e90(0x28c)],_0x1b92ad=_0x220409['m1Prime'];}_0x5c5c19[_0x202e90(0x1a3)]({'undoCache':_0x529531,'redoCache':_0x17b05d});}[_0x413e98(0x35a)](_0x532a61){const _0x8eb8d6=_0x413e98,{unitID:_0x14795b}=_0x532a61,_0x309869=this['_renderManagerService']['getRenderById'](_0x14795b)[_0x8eb8d6(0x1a7)](_0x1457e9),_0x4f41e9=_0x309869['getActiveRange']();if(_0x4f41e9==null)return;const _0x4e415a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x532a61[_0x8eb8d6(0x381)],'actions':null,'textRanges':[_0x4f41e9]}}],_0x1e34bf=this['_transformService'][_0x8eb8d6(0x1dc)](_0x532a61,_0x4e415a);if(!_0x561146(_0x1e34bf))throw _0x1e34bf[_0x8eb8d6(0x214)];const _0x2cb218=_0x1e34bf['m2Prime'][0x0]['params'][_0x8eb8d6(0x352)];Array[_0x8eb8d6(0x2cd)](_0x2cb218)&&_0x2cb218[_0x8eb8d6(0x2ba)]&&_0x309869['setActiveRange'](_0x2cb218[0x0]);}};re=tn([tt(0x0,_0x2d1c34),tt(0x1,_0x4b626a)],re);var sn=Object[_0x413e98(0x25e)],nn=(_0x13e0d0,_0x29d37b,_0x55e0f4,_0x58ba1a)=>{const _0x3b520b=_0x413e98;for(var _0x41512c=_0x58ba1a>0x1?void 0x0:_0x58ba1a?sn(_0x29d37b,_0x55e0f4):_0x29d37b,_0x2c4483=_0x13e0d0[_0x3b520b(0x2ba)]-0x1,_0x8bcca5;_0x2c4483>=0x0;_0x2c4483--)(_0x8bcca5=_0x13e0d0[_0x2c4483])&&(_0x41512c=_0x8bcca5(_0x41512c)||_0x41512c);return _0x41512c;},Ce=(_0x2f28be,_0xac59a8)=>(_0x412387,_0x454db2)=>_0xac59a8(_0x412387,_0x454db2,_0x2f28be);let oe=class{constructor(_0x3ff836,_0x10ec7f,_0x3a9b42){const _0x1da0f5=_0x413e98;this[_0x1da0f5(0x282)]=_0x3ff836,this[_0x1da0f5(0x2a6)]=_0x10ec7f,this[_0x1da0f5(0x217)]=_0x3a9b42;}['transformStateCache'](_0x4fc404){const _0x55848d=_0x413e98;this[_0x55848d(0x1a4)](_0x4fc404);}[_0x413e98(0x33d)](_0x1679d7){const _0x7df409=_0x413e98,{unitID:_0x167648}=_0x1679d7,{collaboration:_0x3b8191}=this[_0x7df409(0x217)][_0x7df409(0x2d3)](_0x167648);if(_0x3b8191[_0x7df409(0x2ba)]===0x0)return _0x1679d7;let _0x4ef518=_0x1b7829['deepClone'](_0x1679d7[_0x7df409(0x28b)][0x0]);for(let _0x44780e=0x0;_0x44780e<_0x3b8191[_0x7df409(0x2ba)];_0x44780e++){const _0x1620bf={'id':_0x7df409(0x2a0),'params':{'unitId':_0x3b8191[_0x44780e][_0x7df409(0x34d)],..._0x3b8191[_0x44780e][_0x7df409(0x35f)]}},_0x3a3897=this[_0x7df409(0x2a6)][_0x7df409(0x322)](_0x4ef518,_0x1620bf,!0x1);if(_0x4d49e3(_0x3a3897))throw _0x3a3897['error'];_0x4ef518=_0x3a3897[_0x7df409(0x28c)];}return{..._0x1b7829[_0x7df409(0x21d)](_0x1679d7),'mutations':[_0x4ef518]};}[_0x413e98(0x1a4)](_0x4c4543){const _0x17aec3=_0x413e98,{unitID:_0x1f8cd5}=_0x4c4543,{history:_0x46022d,collaboration:_0x4cf7d0}=this['_docStateChangeManagerService'][_0x17aec3(0x2d3)](_0x1f8cd5);if(_0x46022d['length']===0x0&&_0x4cf7d0['length']===0x0)return;const _0x47148b=[],_0x1569d4=[];let _0x180a4b=_0x1b7829[_0x17aec3(0x21d)](_0x4c4543['mutations'][0x0]),_0x3bcfd5=_0x1b7829[_0x17aec3(0x21d)](_0x4c4543[_0x17aec3(0x28b)][0x0]);for(let _0x3e3829=_0x46022d[_0x17aec3(0x2ba)]-0x1;_0x3e3829>=0x0;_0x3e3829--){const _0x2a064a={'id':_0x17aec3(0x2a0),'params':{'unitId':_0x46022d[_0x3e3829]['unitId'],..._0x46022d[_0x3e3829]['undoState']}},_0x9b38fd={'id':_0x17aec3(0x2a0),'params':{'unitId':_0x46022d[_0x3e3829][_0x17aec3(0x34d)],..._0x46022d[_0x3e3829][_0x17aec3(0x35f)]}},_0x5ae2ea=this['_transformService'][_0x17aec3(0x322)](_0x180a4b,_0x2a064a,!0x1),_0x64a629=this[_0x17aec3(0x2a6)][_0x17aec3(0x322)](_0x3bcfd5,_0x9b38fd,!0x1);if(_0x4d49e3(_0x5ae2ea))throw _0x5ae2ea[_0x17aec3(0x214)];if(_0x4d49e3(_0x64a629))throw _0x64a629[_0x17aec3(0x214)];_0x47148b[_0x17aec3(0x21a)]({..._0x46022d[_0x3e3829],'undoState':_0x5ae2ea[_0x17aec3(0x296)][_0x17aec3(0x2a1)],'redoState':_0x64a629[_0x17aec3(0x296)][_0x17aec3(0x2a1)]}),_0x180a4b=_0x5ae2ea[_0x17aec3(0x28c)],_0x3bcfd5=_0x64a629['m1Prime'];}_0x180a4b=_0x1b7829[_0x17aec3(0x21d)](_0x4c4543[_0x17aec3(0x28b)][0x0]),_0x3bcfd5=_0x1b7829['deepClone'](_0x4c4543['mutations'][0x0]);for(let _0x479f71=_0x4cf7d0[_0x17aec3(0x2ba)]-0x1;_0x479f71>=0x0;_0x479f71--){const _0x1093de={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cf7d0[_0x479f71][_0x17aec3(0x34d)],..._0x4cf7d0[_0x479f71][_0x17aec3(0x37b)]}},_0x99084f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cf7d0[_0x479f71]['unitId'],..._0x4cf7d0[_0x479f71]['redoState']}},_0x1b00f3=this[_0x17aec3(0x2a6)][_0x17aec3(0x322)](_0x180a4b,_0x1093de,!0x1),_0x508d9e=this[_0x17aec3(0x2a6)]['transformMutation'](_0x3bcfd5,_0x99084f,!0x1);if(_0x4d49e3(_0x1b00f3))throw _0x1b00f3[_0x17aec3(0x214)];if(_0x4d49e3(_0x508d9e))throw _0x508d9e['error'];_0x1569d4[_0x17aec3(0x21a)]({..._0x4cf7d0[_0x479f71],'undoState':_0x1b00f3['m2Prime'][_0x17aec3(0x2a1)],'redoState':_0x508d9e[_0x17aec3(0x296)][_0x17aec3(0x2a1)]}),_0x180a4b=_0x1b00f3[_0x17aec3(0x28c)],_0x3bcfd5=_0x508d9e[_0x17aec3(0x28c)];}this[_0x17aec3(0x217)][_0x17aec3(0x27e)](_0x1f8cd5,{'history':_0x47148b,'collaboration':_0x1569d4});}};oe=nn([Ce(0x0,_0x4d8a31(_0x421519)),Ce(0x1,_0x2d1c34),Ce(0x2,_0x4d8a31(_0x4ee51b))],oe);var rn=Object[_0x413e98(0x25e)],on=(_0x9341ca,_0x438735,_0x40b9d6,_0x57214d)=>{for(var _0x4f92ef=_0x57214d>0x1?void 0x0:_0x57214d?rn(_0x438735,_0x40b9d6):_0x438735,_0x515874=_0x9341ca['length']-0x1,_0x3441d5;_0x515874>=0x0;_0x515874--)(_0x3441d5=_0x9341ca[_0x515874])&&(_0x4f92ef=_0x3441d5(_0x4f92ef)||_0x4f92ef);return _0x4f92ef;},st=(_0x5c4af7,_0x4eb221)=>(_0x484b43,_0x46b3c3)=>_0x4eb221(_0x484b43,_0x46b3c3,_0x5c4af7);let ae=class{constructor(_0x598b4e,_0x44c05a){const _0x27d88a=_0x413e98;this[_0x27d88a(0x282)]=_0x598b4e,this['_transformService']=_0x44c05a;}[_0x413e98(0x33a)](_0x552eb9){const _0x55d169=_0x413e98;var _0x3c75d7;const _0x11ca3a=this[_0x55d169(0x282)]['get'](_0x3d0b95),_0x3d5461=(_0x3c75d7=_0x11ca3a[_0x55d169(0x2bc)]())!=null?_0x3c75d7:[];if(_0x3d5461[_0x55d169(0x2ba)]===0x0)return;const _0x51965e=_0x552eb9['unitID'],_0x84a0c3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51965e,'actions':null,'textRanges':_0x3d5461}}],_0x58079f=this[_0x55d169(0x2a6)][_0x55d169(0x1dc)](_0x552eb9,_0x84a0c3);if(!_0x561146(_0x58079f))throw _0x58079f[_0x55d169(0x214)];const _0x45ff5b=_0x58079f[_0x55d169(0x296)][0x0][_0x55d169(0x2a1)][_0x55d169(0x352)];Array[_0x55d169(0x2cd)](_0x45ff5b)&&_0x45ff5b[_0x55d169(0x2ba)]&&_0x11ca3a['replaceDocRanges'](_0x45ff5b,{'unitId':_0x51965e,'subUnitId':_0x51965e},!0x1);}};ae=on([st(0x0,_0x4d8a31(_0x421519)),st(0x1,_0x2d1c34)],ae);var an=Object[_0x413e98(0x25e)],cn=(_0x5df009,_0x433be1,_0x3ee4ec,_0x502e00)=>{const _0x2609a3=_0x413e98;for(var _0x4bfec0=_0x502e00>0x1?void 0x0:_0x502e00?an(_0x433be1,_0x3ee4ec):_0x433be1,_0x42e0f3=_0x5df009[_0x2609a3(0x2ba)]-0x1,_0x26b697;_0x42e0f3>=0x0;_0x42e0f3--)(_0x26b697=_0x5df009[_0x42e0f3])&&(_0x4bfec0=_0x26b697(_0x4bfec0)||_0x4bfec0);return _0x4bfec0;},N=(_0x185825,_0x35abb2)=>(_0x3a569c,_0x1a05d3)=>_0x35abb2(_0x3a569c,_0x1a05d3,_0x185825);let ce=class extends _0x177603{constructor(_0x3c2fd4,_0x5c3bd7,_0x51f5ef,_0x489621,_0x116f1d,_0x4d405e,_0x5443ea,_0x57bcce){const _0xadf260=_0x413e98;super(),_(this,'_status$',new _0x3c2a00(_0x23b355[_0xadf260(0x266)])),(this['_docStateChangeManagerService']=_0x3c2fd4,this['_collaborationController']=_0x5c3bd7,this[_0xadf260(0x295)]=_0x51f5ef,this['_docTransformStateCacheService']=_0x489621,this[_0xadf260(0x291)]=_0x116f1d,this[_0xadf260(0x271)]=_0x4d405e,this['_messageService']=_0x5443ea,this[_0xadf260(0x281)]=_0x57bcce,this[_0xadf260(0x20e)]());}[_0x413e98(0x20e)](){const _0xdbf515=_0x413e98;this[_0xdbf515(0x283)](this[_0xdbf515(0x28f)][_0xdbf515(0x1bc)][_0xdbf515(0x358)](_0x53bc9f=>{const _0x2ab9fa=_0xdbf515,_0x46ec84=this[_0x2ab9fa(0x217)]['docStateChange$'][_0x2ab9fa(0x358)](_0x217010=>{const _0x33fdf7=_0x2ab9fa;if(_0x217010==null)return;const {unitId:_0xb4502b,redoState:_0xc0006f,commandId:_0x13ee4d}=_0x217010;if(_0xb4502b!==_0x53bc9f['unitID'])return;const _0x303ca4={'id':_0x13ee4d,'type':_0x3e9175[_0x33fdf7(0x30c)],'params':{'unitId':_0xb4502b,'actions':_0xc0006f['actions'],'textRanges':null}};_0x53bc9f[_0x33fdf7(0x380)](_0x303ca4);});if(_0x53bc9f['disposeWithMe'](_0x46ec84),_0x53bc9f instanceof _0x581d61){const _0x41d61b={'onTransformIME':_0x501c18=>this[_0x2ab9fa(0x295)][_0x2ab9fa(0x230)](_0x501c18),'onTransformState':_0x2e82cc=>this['_docTransformStateCacheService'][_0x2ab9fa(0x2e5)](_0x2e82cc),'onTransformSelections':_0x3fcf63=>this[_0x2ab9fa(0x291)]['transformSelections'](_0x3fcf63),'onSyncEditingCollabCursor':_0x337f7d=>this[_0x2ab9fa(0x271)][_0x2ab9fa(0x201)](_0x337f7d),'onTransformRemoteChangesetByIMECache':_0x46d9f8=>this[_0x2ab9fa(0x295)]['transformRemoteChangeset'](_0x46d9f8),'onTransformRemoteChangesetByStateCache':_0x52798a=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x52798a)};_0x53bc9f[_0x2ab9fa(0x25b)](_0x41d61b);}}));}};ce=cn([N(0x0,_0x4d8a31(_0x4ee51b)),N(0x1,_0x4d8a31(_0x330864)),N(0x2,_0x4d8a31(re)),N(0x3,_0x4d8a31(oe)),N(0x4,_0x4d8a31(ae)),N(0x5,_0x4d8a31(Fe)),N(0x6,_0x152a23),N(0x7,_0x4d8a31(_0x11cadf))],ce);var ln=Object[_0x413e98(0x25e)],_n=(_0x1ce64e,_0x4f5116,_0x4f5775,_0x2c127e)=>{const _0x74ff4d=_0x413e98;for(var _0x2d2bcf=_0x2c127e>0x1?void 0x0:_0x2c127e?ln(_0x4f5116,_0x4f5775):_0x4f5116,_0x170c7c=_0x1ce64e[_0x74ff4d(0x2ba)]-0x1,_0x3d992c;_0x170c7c>=0x0;_0x170c7c--)(_0x3d992c=_0x1ce64e[_0x170c7c])&&(_0x2d2bcf=_0x3d992c(_0x2d2bcf)||_0x2d2bcf);return _0x2d2bcf;},Ee=(_0x59c9bb,_0x51da3a)=>(_0x44d635,_0x265a95)=>_0x51da3a(_0x44d635,_0x265a95,_0x59c9bb);let we=class extends _0x177603{constructor(_0x33b554,_0x22b0bb,_0x11957e){const _0x2b4208=_0x413e98;super(),_(this,_0x2b4208(0x29e),new Map()),_(this,_0x2b4208(0x1f4),new Map()),_(this,_0x2b4208(0x307),!0x1),(this[_0x2b4208(0x1f6)]=_0x33b554,this[_0x2b4208(0x336)]=_0x22b0bb,this[_0x2b4208(0x353)]=_0x11957e);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x413e98(0x318)](){const _0x5eeb7b=_0x413e98;this[_0x5eeb7b(0x307)]=!0x1;}get[_0x413e98(0x1fb)](){const _0x4c751d=_0x413e98;return this[_0x4c751d(0x1f4)];}[_0x413e98(0x327)](){const _0x5a7a8a=_0x413e98;this[_0x5a7a8a(0x2ea)]()[_0x5a7a8a(0x1ed)](()=>super[_0x5a7a8a(0x327)]());}async[_0x413e98(0x384)](_0x3aad3f){const _0x5293ed=_0x413e98;return this[_0x5293ed(0x307)]?null:this[_0x5293ed(0x336)][_0x5293ed(0x216)](_0x587ef7(_0x3aad3f));}async[_0x413e98(0x260)](_0x4bf05c,_0x417bec){const _0x594fcf=_0x413e98;return!!this['_localStorageService'][_0x594fcf(0x206)](_0x4bf05c,_0x417bec);}['updateOfflineData'](_0x457580,_0xc81b10,_0x2dd5fb,_0xe5d048){const _0x41c4e6=_0x413e98,_0xf20761=this[_0x41c4e6(0x353)]['getCurrentRevOfUnit'](_0x457580);this[_0x41c4e6(0x29e)][_0x41c4e6(0x34e)](_0x457580,{'unitID':_0x457580,'type':_0xc81b10,'awaitingChangeset':_0x2dd5fb,'mutations':_0xe5d048,'rev':_0xf20761}),this[_0x41c4e6(0x1f4)][_0x41c4e6(0x194)](_0x457580)||this[_0x41c4e6(0x376)](_0x457580);}[_0x413e98(0x376)](_0x462c7f){const _0x492882=_0x413e98,_0x3462fc=this['_getSaveTimeout']();_0x3462fc===0x0?this[_0x492882(0x2e4)](_0x462c7f):this[_0x492882(0x1f4)][_0x492882(0x34e)](_0x462c7f,setTimeout(()=>this[_0x492882(0x2e4)](_0x462c7f),_0x3462fc));}[_0x413e98(0x31a)](){const _0x41a2b2=_0x413e98;var _0x53ba5d;return(_0x53ba5d=this[_0x41a2b2(0x1f6)][_0x41a2b2(0x200)](_0x5a16d2))!=null?_0x53ba5d:_0x51a7ea;}[_0x413e98(0x2e4)](_0x52b158){const _0x4516a9=_0x413e98,_0x400fd4=this[_0x4516a9(0x1f4)]['get'](_0x52b158);return _0x400fd4!==void 0x0&&window[_0x4516a9(0x208)](_0x400fd4),this[_0x4516a9(0x336)]['setItem'](_0x587ef7(_0x52b158),this[_0x4516a9(0x29e)]['get'](_0x52b158))['then'](()=>this[_0x4516a9(0x1f4)]['delete'](_0x52b158));}async[_0x413e98(0x2ea)](){const _0x262a35=_0x413e98,_0x419050=[];this[_0x262a35(0x1f4)]['forEach']((_0x4b823d,_0x114b5d)=>{const _0x4a4d4e=_0x262a35;window[_0x4a4d4e(0x208)](_0x4b823d),_0x419050[_0x4a4d4e(0x27c)](this[_0x4a4d4e(0x2e4)](_0x114b5d)[_0x4a4d4e(0x1ed)](()=>{const _0x5a26da=_0x4a4d4e;this[_0x5a26da(0x1f4)][_0x5a26da(0x2c2)](_0x114b5d);}));}),await Promise[_0x262a35(0x329)](_0x419050);}};we=_n([Ee(0x0,_0x5a7427),Ee(0x1,_0x1a1ff8),Ee(0x2,_0x4d8a31(_0x4f0da7))],we);class hn extends _0x141ef5{constructor(){const _0x16c3d9=_0x413e98;super(),_(this,_0x16c3d9(0x35c)),this[_0x16c3d9(0x35c)]=_0x4a9874(window,_0x16c3d9(0x190))[_0x16c3d9(0x1e3)](_0x9cab5c(this['dispose$']),_0xadc01c(0x1),_0x1df68f(void 0x0));}['setParam'](_0x4afe50,_0x5d9e7d,_0x558626=!0x1){const _0x2594fd=_0x413e98,_0x13235a=new URL(window['location']['href']);_0x13235a['searchParams'][_0x2594fd(0x34e)](_0x4afe50,_0x5d9e7d),_0x558626?window['history'][_0x2594fd(0x21b)]('','',_0x13235a['toString']()):window[_0x2594fd(0x24c)][_0x2594fd(0x255)]('','',_0x13235a[_0x2594fd(0x1b8)]());}[_0x413e98(0x20b)](_0x1ebea9,_0x2c0be3=!0x1){const _0xd2a1f3=_0x413e98,_0x331b77=new URL(window[_0xd2a1f3(0x362)][_0xd2a1f3(0x1e1)]);_0x331b77[_0xd2a1f3(0x375)][_0xd2a1f3(0x2c2)](_0x1ebea9),_0x2c0be3?window[_0xd2a1f3(0x24c)][_0xd2a1f3(0x21b)]('','',_0x331b77['toString']()):window['history'][_0xd2a1f3(0x255)]('','',_0x331b77[_0xd2a1f3(0x1b8)]());}[_0x413e98(0x251)](_0x182421){const _0x3e7832=_0x413e98;var _0x23707c;return(_0x23707c=new URL(window[_0x3e7832(0x362)][_0x3e7832(0x1e1)])['searchParams'][_0x3e7832(0x29d)](_0x182421))!=null?_0x23707c:void 0x0;}}var un=Object[_0x413e98(0x2d6)],dn=Object[_0x413e98(0x25e)],fn=(_0x18ee77,_0xc7833e,_0x5b6e3d)=>_0xc7833e in _0x18ee77?un(_0x18ee77,_0xc7833e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b6e3d}):_0x18ee77[_0xc7833e]=_0x5b6e3d,Sn=(_0x49ff48,_0x24093b,_0x1710d6,_0x225d03)=>{for(var _0x7b222e=_0x225d03>0x1?void 0x0:_0x225d03?dn(_0x24093b,_0x1710d6):_0x24093b,_0x43d082=_0x49ff48['length']-0x1,_0x409598;_0x43d082>=0x0;_0x43d082--)(_0x409598=_0x49ff48[_0x43d082])&&(_0x7b222e=_0x409598(_0x7b222e)||_0x7b222e);return _0x7b222e;},Oe=(_0x2c2333,_0x9f24d8)=>(_0x4f3684,_0x2925bd)=>_0x9f24d8(_0x4f3684,_0x2925bd,_0x2c2333),mn=(_0xbe0bee,_0x51b282,_0x188a2b)=>fn(_0xbe0bee,_0x51b282+'',_0x188a2b);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x3bb03f{constructor(_0x381d8d=et,_0x245e02,_0xc18a22,_0x2bf2b1){const _0x559203=_0x413e98;super(),this['_config']=_0x381d8d,this[_0x559203(0x378)]=_0x245e02,this['_injector']=_0xc18a22,this[_0x559203(0x1f6)]=_0x2bf2b1;const {..._0x3d2f8d}=_0x56aeaa({},et,this[_0x559203(0x1e2)]);this['_configService']['setConfig'](qi,_0x3d2f8d);}['onStarting'](){const _0x120935=_0x413e98;this[_0x120935(0x19f)](),this[_0x120935(0x237)]();}[_0x413e98(0x270)](){const _0x430e1c=_0x413e98;this[_0x430e1c(0x2f6)]();}[_0x413e98(0x19f)](){const _0x3fa149=_0x413e98;var _0x5c90c8;const _0x4cc8fd=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x1da606,{'useClass':_0x4422b9}],[_0x15fc99,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x52e761(this[_0x3fa149(0x282)],_0x1675eb(_0x4cc8fd,(_0x5c90c8=this[_0x3fa149(0x1e2)])==null?void 0x0:_0x5c90c8[_0x3fa149(0x347)]));}[_0x413e98(0x2f6)](){const _0x5c95cd=_0x413e98;this[_0x5c95cd(0x283)](this[_0x5c95cd(0x378)][_0x5c95cd(0x253)](_0x194d51[_0x5c95cd(0x274)],[Le])),this['disposeWithMe'](this[_0x5c95cd(0x378)][_0x5c95cd(0x253)](_0x194d51[_0x5c95cd(0x33e)],[Pe]));}[_0x413e98(0x237)](){_0x35fb58(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x413e98(0x365),In),Ae=Sn([_0x596043(_0x391072),Oe(0x1,_0x4b626a),Oe(0x2,_0x4d8a31(_0x421519)),Oe(0x3,_0x5a7427)],Ae);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x335836,_0x3e3d30,_0x58a9e7,_0x4372a7)=>{for(var _0x3fee2c=_0x4372a7>0x1?void 0x0:_0x4372a7?vn(_0x3e3d30,_0x58a9e7):_0x3e3d30,_0x3d8b9b=_0x335836['length']-0x1,_0x406d61;_0x3d8b9b>=0x0;_0x3d8b9b--)(_0x406d61=_0x335836[_0x3d8b9b])&&(_0x3fee2c=_0x406d61(_0x3fee2c)||_0x3fee2c);return _0x3fee2c;},z=(_0x4301ce,_0x482fbb)=>(_0x24c790,_0x1e09e8)=>_0x482fbb(_0x24c790,_0x1e09e8,_0x4301ce);let it=class extends _0xac599d{constructor(_0x199cd3,_0x5059e5,_0x1dd20a,_0x58e8dc,_0x5caa1a){super(_0x199cd3,_0x5059e5,_0x1dd20a,_0x58e8dc,_0x5caa1a);}async[_0x413e98(0x280)](_0xd55e52){const _0x43ecd2=_0x413e98,_0x5408c8=await this[_0x43ecd2(0x1cb)](),_0x387c5d=this[_0x43ecd2(0x1f1)](_0xd55e52,_0x5408c8);return this['_doCreateSocket'](_0x387c5d);}['_createSocketURL'](_0x3abd18,_0x9ba36f){const _0x4971fb=_0x413e98,_0x51f38b=typeof window>'u'?new URL(_0x3abd18):new URL(_0x3abd18,window['location'][_0x4971fb(0x354)]);_0x51f38b[_0x4971fb(0x375)]['set']('sessionTicket',_0x9ba36f);const _0x5217a8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4971fb(0x362)]['search']);return _0x5217a8['get']('runId')&&_0x51f38b[_0x4971fb(0x375)][_0x4971fb(0x34e)]('runId',_0x5217a8['get'](_0x4971fb(0x264))),_0x51f38b['toString']();}async[_0x413e98(0x1cb)](){const _0x504d74=_0x413e98;var _0x548f90,_0x3196a3,_0x40bcc2;const _0x2c79d1=this[_0x504d74(0x1f6)]['getConfig'](_0xc00a0),_0x2e4573=(_0x548f90=_0x2c79d1==null?void 0x0:_0x2c79d1[_0x504d74(0x1b9)])!=null?_0x548f90:_0x37b0bf;return(_0x40bcc2=(_0x3196a3=(await this['_httpService'][_0x504d74(0x29d)](_0x2e4573,{'headers':{'Content-Type':'application/json'}}))[_0x504d74(0x30a)])==null?void 0x0:_0x3196a3[_0x504d74(0x1f7)])!=null?_0x40bcc2:'';}};it=gn([z(0x0,_0x4d8a31(_0x421519)),z(0x1,_0x4d8a31(_0x3a2594)),z(0x2,_0x5a7427),z(0x3,_0x1656a4),z(0x4,_0x24bf8a)],it);var Lt=(_0x53d9bc=>(_0x53d9bc[_0x53d9bc[_0x413e98(0x311)]=0x0]=_0x413e98(0x311),_0x53d9bc[_0x53d9bc['OK']=0x1]='OK',_0x53d9bc[_0x53d9bc[_0x413e98(0x258)]=0x2]=_0x413e98(0x258),_0x53d9bc[_0x53d9bc[_0x413e98(0x22f)]=0x3]=_0x413e98(0x22f),_0x53d9bc[_0x53d9bc['NOT_FOUND']=0x4]=_0x413e98(0x37c),_0x53d9bc[_0x53d9bc[_0x413e98(0x26f)]=0x5]=_0x413e98(0x26f),_0x53d9bc[_0x53d9bc[_0x413e98(0x2fa)]=0x6]=_0x413e98(0x2fa),_0x53d9bc[_0x53d9bc[_0x413e98(0x278)]=0x7]=_0x413e98(0x278),_0x53d9bc[_0x53d9bc[_0x413e98(0x2a7)]=0x8]=_0x413e98(0x2a7),_0x53d9bc[_0x53d9bc[_0x413e98(0x24a)]=0x9]=_0x413e98(0x24a),_0x53d9bc[_0x53d9bc['LOGIN_FAILED']=0xa]=_0x413e98(0x1e5),_0x53d9bc[_0x53d9bc[_0x413e98(0x1c3)]=0xb]=_0x413e98(0x1c3),_0x53d9bc[_0x53d9bc[_0x413e98(0x1ec)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x53d9bc[_0x53d9bc[_0x413e98(0x32e)]=0xd]=_0x413e98(0x32e),_0x53d9bc[_0x53d9bc['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x413e98(0x317),_0x53d9bc[_0x53d9bc['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x413e98(0x346),_0x53d9bc[_0x53d9bc[_0x413e98(0x1d3)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x53d9bc[_0x53d9bc[_0x413e98(0x305)]=0x1772]=_0x413e98(0x305),_0x53d9bc[_0x53d9bc[_0x413e98(0x33f)]=0x1773]=_0x413e98(0x33f),_0x53d9bc[_0x53d9bc[_0x413e98(0x383)]=0x1b59]=_0x413e98(0x383),_0x53d9bc[_0x53d9bc['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x413e98(0x35d),_0x53d9bc[_0x53d9bc[_0x413e98(0x1fa)]=0x1b5b]=_0x413e98(0x1fa),_0x53d9bc[_0x53d9bc[_0x413e98(0x387)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x53d9bc[_0x53d9bc[_0x413e98(0x36b)]=0x1b5d]=_0x413e98(0x36b),_0x53d9bc[_0x53d9bc[_0x413e98(0x26d)]=0x1f41]=_0x413e98(0x26d),_0x53d9bc[_0x53d9bc[_0x413e98(0x2f2)]=0x2329]=_0x413e98(0x2f2),_0x53d9bc[_0x53d9bc[_0x413e98(0x364)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x53d9bc[_0x53d9bc[_0x413e98(0x2ca)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x53d9bc[_0x53d9bc[_0x413e98(0x210)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x53d9bc[_0x53d9bc[_0x413e98(0x1c1)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x53d9bc[_0x53d9bc[_0x413e98(0x268)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x53d9bc[_0x53d9bc[_0x413e98(0x38c)]=0x2712]=_0x413e98(0x38c),_0x53d9bc[_0x53d9bc[_0x413e98(0x367)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x53d9bc[_0x53d9bc[_0x413e98(0x298)]=0x2714]=_0x413e98(0x298),_0x53d9bc[_0x53d9bc['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x53d9bc[_0x53d9bc[_0x413e98(0x2b0)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x53d9bc[_0x53d9bc[_0x413e98(0x38a)]=0x271c]=_0x413e98(0x38a),_0x53d9bc[_0x53d9bc['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x413e98(0x339),_0x53d9bc[_0x53d9bc[_0x413e98(0x386)]=0x271e]=_0x413e98(0x386),_0x53d9bc[_0x53d9bc[_0x413e98(0x36e)]=0x271f]=_0x413e98(0x36e),_0x53d9bc[_0x53d9bc[_0x413e98(0x2fd)]=0x2720]=_0x413e98(0x2fd),_0x53d9bc[_0x53d9bc[_0x413e98(0x2ed)]=0x2af9]=_0x413e98(0x2ed),_0x53d9bc[_0x53d9bc[_0x413e98(0x26c)]=0x2ee1]=_0x413e98(0x26c),_0x53d9bc[_0x53d9bc[_0x413e98(0x254)]=0x2ee2]=_0x413e98(0x254),_0x53d9bc[_0x53d9bc[_0x413e98(0x1ab)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x53d9bc[_0x53d9bc[_0x413e98(0x301)]=0x2ee4]=_0x413e98(0x301),_0x53d9bc[_0x53d9bc['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x413e98(0x338),_0x53d9bc[_0x53d9bc[_0x413e98(0x275)]=0x32c9]=_0x413e98(0x275),_0x53d9bc[_0x53d9bc[_0x413e98(0x357)]=0x32ca]=_0x413e98(0x357),_0x53d9bc[_0x53d9bc[_0x413e98(0x1e7)]=0x32cb]=_0x413e98(0x1e7),_0x53d9bc[_0x53d9bc[_0x413e98(0x2a8)]=-0x1]=_0x413e98(0x2a8),_0x53d9bc))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x159508,_0x3a76c0,_0x4083e6,_0x2053a4)=>{const _0x4ca5d4=_0x413e98;for(var _0x55db2b=_0x2053a4>0x1?void 0x0:_0x2053a4?pn(_0x3a76c0,_0x4083e6):_0x3a76c0,_0x246a62=_0x159508[_0x4ca5d4(0x2ba)]-0x1,_0x179d6f;_0x246a62>=0x0;_0x246a62--)(_0x179d6f=_0x159508[_0x246a62])&&(_0x55db2b=_0x179d6f(_0x55db2b)||_0x55db2b);return _0x55db2b;},be=(_0xbe2e48,_0x435394)=>(_0x195b9c,_0x15e1ea)=>_0x435394(_0x195b9c,_0x15e1ea,_0xbe2e48);let nt=class extends _0x177603{constructor(_0x59ca19,_0x20f923,_0x3dfb4b){const _0x5405d6=_0x413e98;super(),this[_0x5405d6(0x1ea)]=_0x59ca19,this[_0x5405d6(0x27a)]=_0x20f923,this[_0x5405d6(0x1f6)]=_0x3dfb4b;}async['runOnServer'](_0x363a67,_0x9eae02,_0x13e3c9,..._0x3e29ca){const _0xf5e6fe=_0x413e98;var _0x4508e4,_0x539f4b,_0x5d3fe3,_0x28b663;const _0x31b1bc=this['_instanceService']['getFocusedUnit']();if(!_0x31b1bc)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x189b3f=((_0x4508e4=this[_0xf5e6fe(0x1f6)][_0xf5e6fe(0x200)](_0x50b1b8))!=null?_0x4508e4:_0x5cdcb1)+'/'+_0x363a67+'/run/'+_0x9eae02,_0x100970=new URL(window[_0xf5e6fe(0x362)][_0xf5e6fe(0x1e1)]),_0x36613d={'scriptId':_0x363a67,'runId':(_0x539f4b=_0x100970[_0xf5e6fe(0x375)][_0xf5e6fe(0x29d)](_0xf5e6fe(0x264)))!=null?_0x539f4b:'','function':_0x9eae02,'unitId':_0x31b1bc[_0xf5e6fe(0x1bf)](),'argsOfFunction':JSON[_0xf5e6fe(0x1d4)](_0x3e29ca),'invokeId':(_0x5d3fe3=_0x13e3c9['invokeId'])!=null?_0x5d3fe3:'','executionId':(_0x28b663=_0x13e3c9[_0xf5e6fe(0x372)])!=null?_0x28b663:''};try{const _0xd6f2f6=await this[_0xf5e6fe(0x27a)][_0xf5e6fe(0x294)](_0x189b3f,{'body':_0x36613d});return _0xd6f2f6['body'][_0xf5e6fe(0x214)]&&_0xd6f2f6['body']['error'][_0xf5e6fe(0x2b4)]!==Lt['OK']?_0xf5e6fe(0x304):_0xd6f2f6[_0xf5e6fe(0x30a)][_0xf5e6fe(0x1b5)];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x14500f),be(0x1,_0x4d8a31(_0x3a2594)),be(0x2,_0x5a7427)],nt);const rt=0x7530,ot=_0x413e98(0x2a2);class Fn extends _0x177603{constructor(){const _0x272913=_0x413e98;super(),_(this,_0x272913(0x1d2),_0x3449a7()),_(this,'_selfUnitIDs',new Set()),_(this,_0x272913(0x24e),new Map()),_(this,_0x272913(0x247),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x272913(0x342),new Map()),this[_0x272913(0x2c5)]();}[_0x413e98(0x327)](){const _0x21808a=_0x413e98;super[_0x21808a(0x327)](),this['_clearOtherTimers'][_0x21808a(0x27f)]((_0x537b3a,_0x1680f4)=>this[_0x21808a(0x36f)](_0x1680f4)),this[_0x21808a(0x247)]&&window[_0x21808a(0x370)](this[_0x21808a(0x247)]);}[_0x413e98(0x38b)](_0x32d74e){const _0x1f63c5=_0x413e98;return this[_0x1f63c5(0x284)](_0x32d74e)[_0x1f63c5(0x1e3)](_0x238f94());}[_0x413e98(0x225)](_0x20b63e){const _0x2df3e8=_0x413e98;this[_0x2df3e8(0x22e)][_0x2df3e8(0x261)]===0x0&&this[_0x2df3e8(0x2f9)](),this[_0x2df3e8(0x22e)]['add'](_0x20b63e),this['_send']({'type':0x0,'memberID':this[_0x2df3e8(0x1d2)],'unitIDs':[_0x20b63e],'isForwarded':!0x1});}[_0x413e98(0x310)](_0x51b59d){const _0x507e0c=_0x413e98;this[_0x507e0c(0x22e)][_0x507e0c(0x2c2)](_0x51b59d),this[_0x507e0c(0x22e)][_0x507e0c(0x261)]===0x0&&this[_0x507e0c(0x247)]&&window[_0x507e0c(0x370)](this[_0x507e0c(0x247)]);}['_init'](){const _0x42ef32=_0x413e98;this['disposeWithMe'](_0x39516e(_0x4a9874(window,_0x42ef32(0x265))[_0x42ef32(0x358)](_0x3b790a=>{const _0x163632=_0x42ef32;if(_0x3b790a[_0x163632(0x2cf)]!==ot||!_0x3b790a[_0x163632(0x2ff)])return;const _0x4d7854=JSON['parse'](_0x3b790a[_0x163632(0x2ff)]);this[_0x163632(0x215)](_0x4d7854);}))),window[_0x42ef32(0x344)](_0x42ef32(0x2da),()=>this[_0x42ef32(0x1de)]({'type':0x1,'memberID':this[_0x42ef32(0x1d2)],'unitIDs':Array[_0x42ef32(0x2dd)](this[_0x42ef32(0x22e)])}));}[_0x413e98(0x215)](_0x1043fa){const _0x48651f=_0x413e98;switch(_0x1043fa['type']){case 0x0:this[_0x48651f(0x19e)](_0x1043fa);break;case 0x1:this['_handleLeaveEvent'](_0x1043fa);break;case 0x2:this['_handleHeartbeatEvent'](_0x1043fa);break;}}[_0x413e98(0x19e)](_0x4e51e7){const _0x3f1979=_0x413e98,{unitIDs:_0x2247bc,memberID:_0x2ff0e5,isForwarded:_0x32bf04}=_0x4e51e7;_0x2247bc['forEach'](_0x4f7d4f=>{const _0x1cf5b7=_0x1939;if(!_0x32bf04&&this[_0x1cf5b7(0x24e)][_0x1cf5b7(0x194)](_0x4f7d4f)&&this[_0x1cf5b7(0x284)](_0x4f7d4f)[_0x1cf5b7(0x218)](_0x25b44a[_0x1cf5b7(0x263)]),!this[_0x1cf5b7(0x24e)][_0x1cf5b7(0x194)](_0x4f7d4f)||!this[_0x1cf5b7(0x24e)][_0x1cf5b7(0x29d)](_0x4f7d4f)['has'](_0x2ff0e5)){const _0x24efe5=this['_unitOnClients'][_0x1cf5b7(0x29d)](_0x4f7d4f)||new Set();_0x24efe5[_0x1cf5b7(0x328)](_0x2ff0e5),this[_0x1cf5b7(0x24e)]['set'](_0x4f7d4f,_0x24efe5),this['_scheduleClearOtherTimer'](_0x2ff0e5);}}),_0x32bf04||this[_0x3f1979(0x1de)]({'type':0x0,'memberID':this[_0x3f1979(0x1d2)],'unitIDs':[...this[_0x3f1979(0x22e)]],'isForwarded':!0x0});}[_0x413e98(0x363)](_0x2ec538){const _0x2d33d9=_0x413e98;this[_0x2d33d9(0x36f)](_0x2ec538);const _0x10f596=window[_0x2d33d9(0x2f8)](()=>{const _0x26720f=_0x2d33d9;this[_0x26720f(0x24e)][_0x26720f(0x27f)](_0x47dd91=>{const _0x126689=_0x26720f;_0x47dd91[_0x126689(0x2c2)](_0x2ec538);});},rt*0x2);this['_clearOtherTimers'][_0x2d33d9(0x34e)](_0x2ec538,_0x10f596);}[_0x413e98(0x36f)](_0x5a2e6f){const _0x604b5e=_0x413e98;if(this[_0x604b5e(0x1df)][_0x604b5e(0x194)](_0x5a2e6f)){const _0x2e27ed=this[_0x604b5e(0x1df)][_0x604b5e(0x29d)](_0x5a2e6f);_0x2e27ed&&window['clearTimeout'](_0x2e27ed),this[_0x604b5e(0x1df)][_0x604b5e(0x34e)](_0x5a2e6f,null);}}[_0x413e98(0x1ca)](_0x4795f1){const _0x510320=_0x413e98,{memberID:_0x3217ae,unitIDs:_0x5dcf8c}=_0x4795f1;_0x5dcf8c[_0x510320(0x27f)](_0x2fe8d8=>{const _0x246221=_0x510320;var _0x20e1ba;const _0x2e3066=this[_0x246221(0x24e)][_0x246221(0x29d)](_0x2fe8d8);_0x2e3066&&(_0x2e3066['delete'](_0x3217ae),(_0x20e1ba=this[_0x246221(0x284)](_0x2fe8d8))==null||_0x20e1ba[_0x246221(0x218)](_0x2e3066[_0x246221(0x261)]===0x0?_0x25b44a[_0x246221(0x19a)]:_0x25b44a[_0x246221(0x263)]));}),this['_removeClearOtherTimer'](_0x3217ae);}[_0x413e98(0x1b6)](_0x4556b7){const _0xceb762=_0x413e98;this['_scheduleClearOtherTimer'](_0x4556b7[_0xceb762(0x2c0)]);}[_0x413e98(0x1de)](_0x580ea2){const _0x4892f5=_0x413e98;localStorage['setItem'](ot,JSON[_0x4892f5(0x1d4)](_0x580ea2));}[_0x413e98(0x2f9)](){const _0x45e44b=_0x413e98;this['_heartbeatTimer']=window[_0x45e44b(0x1da)](()=>{const _0x31513e=_0x45e44b;this[_0x31513e(0x1de)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x413e98(0x284)](_0x381daf){const _0x34f4f2=_0x413e98;return this['_unitStatus'][_0x34f4f2(0x194)](_0x381daf)||this[_0x34f4f2(0x342)][_0x34f4f2(0x34e)](_0x381daf,new _0x3c2a00(_0x25b44a[_0x34f4f2(0x19a)])),this[_0x34f4f2(0x342)][_0x34f4f2(0x29d)](_0x381daf);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x599345=_0x1fe7;(function(_0x47a8e0,_0x5ef426){const _0x3c4efc=_0x1fe7,_0x4759b1=_0x47a8e0();while(!![]){try{const _0x115423=-parseInt(_0x3c4efc(0x365))/0x1*(parseInt(_0x3c4efc(0x21e))/0x2)+parseInt(_0x3c4efc(0x26e))/0x3*(parseInt(_0x3c4efc(0x17b))/0x4)+-parseInt(_0x3c4efc(0x324))/0x5+parseInt(_0x3c4efc(0x26f))/0x6*(parseInt(_0x3c4efc(0x2cd))/0x7)+-parseInt(_0x3c4efc(0x1fe))/0x8+-parseInt(_0x3c4efc(0x2f9))/0x9+parseInt(_0x3c4efc(0x192))/0xa*(parseInt(_0x3c4efc(0x2a0))/0xb);if(_0x115423===_0x5ef426)break;else _0x4759b1['push'](_0x4759b1['shift']());}catch(_0x185e73){_0x4759b1['push'](_0x4759b1['shift']());}}}(_0x5939,0x4fb54));var xt=Object[_0x599345(0x18a)],Bt=(_0x22aaf5,_0x4d08a0,_0x54c62c)=>_0x4d08a0 in _0x22aaf5?xt(_0x22aaf5,_0x4d08a0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54c62c}):_0x22aaf5[_0x4d08a0]=_0x54c62c,_=(_0x35d411,_0x4cd460,_0x16ea85)=>Bt(_0x35d411,typeof _0x4cd460!=_0x599345(0x25d)?_0x4cd460+'':_0x4cd460,_0x16ea85);import{jsx as _0x5e3e10,jsxs as _0x2b834c}from'react/jsx-runtime';import{CollaborationStatus as _0x179362,CollaborationSessionService as _0x570b74,CollaborationController as _0x128ae1,DataLoaderService as _0x48d6ae,MemberService as _0x59d213,SessionStatus as _0x10c45e,ILocalCacheService as _0x3dac38,CollaborationUIEventService as _0xbe2638,CollaborationUIEventId as _0x1293f3,DocCollaborationEntity as _0xf251f3,getLocalCacheKey as _0x27e14f,LOCAL_CACHE_INTERVAL as _0x256917,LOCAL_CACHE_INTERVAL_KEY as _0x79e2bf,UniverCollaborationClientPlugin as _0x4923cb,CollaborationSocketService as _0x5c91da,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x38aea2,DEFAULT_WS_SESSION_TICKET_URL as _0x174274,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4da2b7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x547f2b,UnitStatus as _0x5545d6}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x16f669,IUniverInstanceService as _0x5bd8fd,Inject as _0x1cbf10,Injector as _0x5096fa,Disposable as _0x4999ff,createIdentifier as _0x410754,ILogService as _0x388508,ICommandService as _0x56819f,Optional as _0x42e4f8,RxDisposable as _0x2cb2a,Workbook as _0x5757c5,DOC_RANGE_TYPE as _0x56dc04,debounce as _0x25bcfa,Rectangle as _0x1bbde6,DisposableCollection as _0x34d6b9,toDisposable as _0xe5901,UniverInstanceType as _0x2c13fa,generateRandomId as _0x4feca8,COLORS as _0x239945,ColorKit as _0x6a24fb,ThemeService as _0x374bfd,fromEventSubject as _0x2e090f,Tools as _0x466a6b,CommandType as _0x2cfb30,IConfigService as _0x2ebcde,ILocalStorageService as _0x5114b9,DependentOn as _0x447dc1,Plugin as _0x41ad83,merge as _0x31953b,registerDependencies as _0x8703fb,mergeOverrideWithDependencies as _0x211447,touchDependencies as _0x538ea3}from'@univerjs/core';import{useObservable as _0x5d3341,useDependency as _0x4039a2,IUIPartsService as _0x4e7d48,BuiltInUIPart as _0x569940,connectInjector as _0x4cb14e,IBeforeCloseService as _0x150887,IMessageService as _0x465d3e,INotificationService as _0x2b785a}from'@univerjs/ui';import{BehaviorSubject as _0x5001d5,switchMap as _0x148977,of as _0x18014b,takeUntil as _0x2abc0a,debounceTime as _0x44f807,Subject as _0x53a8b3,filter as _0x1621f5,merge as _0x4cfeb9,combineLatest as _0x29f85b,fromEvent as _0x27ffe5,shareReplay as _0x3c2878,mapTo as _0x4c3d0e,distinctUntilChanged as _0x46e790}from'rxjs';import{Tooltip as _0x15e751,clsx as _0x9b1db3,MessageType as _0x4f6623}from'@univerjs/design';import{forwardRef as _0x3eef60,useRef as _0x3b75cc,createElement as _0x36ab5c,useCallback as _0x13e398}from'react';import{IRemoteInstanceService as _0x314c0c}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x28063e,RefRangeService as _0x363da9,SetSelectionsOperation as _0x15994b,SheetsSelectionsService as _0x12e65d,EffectRefRangId as _0xf0afc,handleIRemoveRow as _0x3266ff,handleIRemoveCol as _0x5f2584,handleMoveRange as _0x43f731,handleInsertRow as _0x3e49dd,handleInsertRangeMoveRight as _0x18d39a,handleInsertRangeMoveDown as _0x19ca0d,handleInsertCol as _0x1850e9,handleDeleteRangeMoveUp as _0x42fc62,handleDeleteRangeMoveLeft as _0x288b9f,runRefRangeMutations as _0x173f7a}from'@univerjs/sheets';import{Shape as _0xe0519b,Rect as _0x455129,getColor as _0x43e280,RegularPolygon as _0x51b771,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4c58bd,Vector2 as _0xc8d42b,SHEET_VIEWPORT_KEY as _0xf37fad,IRenderManagerService as _0x255be2}from'@univerjs/engine-render';import{ISocketService as _0x2d47be,WebSocketService as _0x2202ee,HTTPService as _0x33d9b4}from'@univerjs/network';import{IDocClipboardService as _0x43b492,NodePositionConvertToCursor as _0x46f081,NodePositionConvertToRectRange as _0x24e4de,TEXT_RANGE_LAYER_INDEX as _0x495d53,SetDocZoomRatioOperation as _0x5c27a1,DocIMEInputManagerService as _0x430150,DocStateChangeManagerService as _0x1202aa}from'@univerjs/docs-ui';import{IImageIoService as _0xe1180a}from'@univerjs/drawing';import{ITransformService as _0x401880,CollaborationEvent as _0x392635,isTransformMutationFailure as _0xfc9cee,isTransformMutationsWithChangesetSuccess as _0x1b6b99,RevisionService as _0x2d2ba6,ISnapshotServerService as _0x226b59}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3c113e,RichTextEditingMutation as _0xf131a3,DocSelectionManagerService as _0xdd81b3,DocSkeletonManagerService as _0x1a8861}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x398199,serializeRangeWithSheet as _0x23e0fe}from'@univerjs/engine-formula';import{map as _0x38f408,filter as _0x201453,throttleTime as _0x23c7cc,takeUntil as _0x3e781d,switchMap as _0x381586}from'rxjs/operators';import{SheetSkeletonManagerService as _0x21c3b1,getCoordByCell as _0x32ccb7,getSheetObject as _0x178a7d}from'@univerjs/sheets-ui';var v=function(){const _0x29e033=_0x599345;return v=Object['assign']||function(_0x479cb5){const _0x4c8332=_0x1fe7;for(var _0x27528b,_0x1d4df2=0x1,_0x29a524=arguments['length'];_0x1d4df2<_0x29a524;_0x1d4df2++){_0x27528b=arguments[_0x1d4df2];for(var _0xea6834 in _0x27528b)Object[_0x4c8332(0x2e0)]['hasOwnProperty'][_0x4c8332(0x186)](_0x27528b,_0xea6834)&&(_0x479cb5[_0xea6834]=_0x27528b[_0xea6834]);}return _0x479cb5;},v[_0x29e033(0x1e1)](this,arguments);},ci=function(_0x4c3161,_0x44212b){const _0x3079c6=_0x599345;var _0x2bec44={};for(var _0x12b924 in _0x4c3161)Object[_0x3079c6(0x2e0)][_0x3079c6(0x19e)][_0x3079c6(0x186)](_0x4c3161,_0x12b924)&&_0x44212b[_0x3079c6(0x207)](_0x12b924)<0x0&&(_0x2bec44[_0x12b924]=_0x4c3161[_0x12b924]);if(_0x4c3161!=null&&typeof Object['getOwnPropertySymbols']==_0x3079c6(0x225)){for(var _0x33180f=0x0,_0x12b924=Object[_0x3079c6(0x2a2)](_0x4c3161);_0x33180f<_0x12b924[_0x3079c6(0x309)];_0x33180f++)_0x44212b[_0x3079c6(0x207)](_0x12b924[_0x33180f])<0x0&&Object['prototype'][_0x3079c6(0x2db)][_0x3079c6(0x186)](_0x4c3161,_0x12b924[_0x33180f])&&(_0x2bec44[_0x12b924[_0x33180f]]=_0x4c3161[_0x12b924[_0x33180f]]);}return _0x2bec44;},ke=_0x3eef60(function(_0x1c81bc,_0x2badff){const _0x5e7280=_0x599345;var _0x26bd16=_0x1c81bc['icon'],_0x22839e=_0x1c81bc['id'],_0x4dfbac=_0x1c81bc['className'],_0x37bdf5=_0x1c81bc['extend'],_0x15286d=ci(_0x1c81bc,[_0x5e7280(0x2f1),'id',_0x5e7280(0x1df),_0x5e7280(0x1f2)]),_0x35aa58=_0x5e7280(0x2b7)[_0x5e7280(0x2e3)](_0x22839e,'\x20')['concat'](_0x4dfbac||'')[_0x5e7280(0x19f)](),_0x10a67c=_0x3b75cc('_'[_0x5e7280(0x2e3)](hi()));return Rt(_0x26bd16,''[_0x5e7280(0x2e3)](_0x22839e),{'defIds':_0x26bd16[_0x5e7280(0x262)],'idSuffix':_0x10a67c[_0x5e7280(0x2ad)]},v({'ref':_0x2badff,'className':_0x35aa58},_0x15286d),_0x37bdf5);});function Rt(_0x50ff10,_0x4e1896,_0x90639a,_0x8acbd,_0x3008d0){const _0x4c2744=_0x599345;return _0x36ab5c(_0x50ff10[_0x4c2744(0x1f4)],v(v({'key':_0x4e1896},li(_0x50ff10,_0x90639a,_0x3008d0)),_0x8acbd),(_i(_0x50ff10,_0x90639a)['children']||[])[_0x4c2744(0x23d)](function(_0xc33a,_0x42f0ed){const _0x1314a2=_0x4c2744;return Rt(_0xc33a,''[_0x1314a2(0x2e3)](_0x4e1896,'-')[_0x1314a2(0x2e3)](_0x50ff10[_0x1314a2(0x1f4)],'-')[_0x1314a2(0x2e3)](_0x42f0ed),_0x90639a,void 0x0,_0x3008d0);}));}function li(_0x57016a,_0x43d9ee,_0x45c459){const _0x4aff45=_0x599345;var _0x105531=v({},_0x57016a[_0x4aff45(0x345)]);_0x45c459!=null&&_0x45c459[_0x4aff45(0x21f)]&&_0x105531['fill']===_0x4aff45(0x21f)&&(_0x105531['fill']=_0x45c459[_0x4aff45(0x21f)]),_0x57016a[_0x4aff45(0x1f4)]===_0x4aff45(0x35b)&&_0x105531['id']&&(_0x105531['id']=_0x105531['id']+_0x43d9ee[_0x4aff45(0x1c5)]),Object[_0x4aff45(0x21d)](_0x105531)['forEach'](function(_0x232e63){const _0x1a746a=_0x4aff45;var _0x889602=_0x232e63[0x0],_0x4a844d=_0x232e63[0x1];_0x889602===_0x1a746a(0x35b)&&typeof _0x4a844d==_0x1a746a(0x2d2)&&(_0x105531[_0x889602]=_0x4a844d['replace'](/url\(#(.*)\)/,_0x1a746a(0x1f6)[_0x1a746a(0x2e3)](_0x43d9ee[_0x1a746a(0x1c5)],')')));});var _0x582dcd=_0x43d9ee['defIds'];return!_0x582dcd||_0x582dcd['length']===0x0||(_0x57016a[_0x4aff45(0x1f4)]==='use'&&_0x105531[_0x4aff45(0x20c)]&&(_0x105531[_0x4aff45(0x20c)]=_0x105531[_0x4aff45(0x20c)]+_0x43d9ee[_0x4aff45(0x1c5)]),Object[_0x4aff45(0x21d)](_0x105531)[_0x4aff45(0x172)](function(_0x451be6){const _0x32f0da=_0x4aff45;var _0x243e06=_0x451be6[0x0],_0x45b864=_0x451be6[0x1];typeof _0x45b864=='string'&&(_0x105531[_0x243e06]=_0x45b864[_0x32f0da(0x1bc)](/url\(#(.*)\)/,_0x32f0da(0x1f6)[_0x32f0da(0x2e3)](_0x43d9ee[_0x32f0da(0x1c5)],')')));})),_0x105531;}function _i(_0x26dba9,_0xd0fef2){const _0x43f952=_0x599345;var _0x110439,_0xa55836=_0xd0fef2[_0x43f952(0x262)];return!_0xa55836||_0xa55836['length']===0x0?_0x26dba9:_0x26dba9[_0x43f952(0x1f4)]===_0x43f952(0x2ff)&&(!((_0x110439=_0x26dba9[_0x43f952(0x2eb)])===null||_0x110439===void 0x0)&&_0x110439[_0x43f952(0x309)])?v(v({},_0x26dba9),{'children':_0x26dba9[_0x43f952(0x2eb)][_0x43f952(0x23d)](function(_0x297fbd){const _0x3db935=_0x43f952;return typeof _0x297fbd['attrs']['id']==_0x3db935(0x2d2)&&_0xa55836&&_0xa55836[_0x3db935(0x256)](_0x297fbd['attrs']['id'])?v(v({},_0x297fbd),{'attrs':v(v({},_0x297fbd[_0x3db935(0x345)]),{'id':_0x297fbd[_0x3db935(0x345)]['id']+_0xd0fef2[_0x3db935(0x1c5)]})}):_0x297fbd;})}):_0x26dba9;}function hi(){const _0x59039a=_0x599345;return Math[_0x59039a(0x301)]()[_0x59039a(0x27b)](0x24)[_0x59039a(0x2c5)](0x2,0x8);}ke[_0x599345(0x2b9)]=_0x599345(0x17d);var ui={'tag':_0x599345(0x25a),'attrs':{'xmlns':_0x599345(0x349),'fill':_0x599345(0x352),'viewBox':_0x599345(0x29d),'width':_0x599345(0x32f),'height':_0x599345(0x32f)},'children':[{'tag':'g','attrs':{'clipPath':_0x599345(0x346)},'children':[{'tag':_0x599345(0x1f7),'attrs':{'stroke':'currentColor','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':_0x599345(0x2cf),'strokeLinejoin':_0x599345(0x2cf),'strokeWidth':1.2}}]},{'tag':_0x599345(0x2ff),'attrs':{},'children':[{'tag':_0x599345(0x24a),'attrs':{'id':_0x599345(0x2f8)},'children':[{'tag':_0x599345(0x1f7),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x599345(0x2f8)]},Dt=_0x3eef60(function(_0x5d8f4f,_0x1bd2d8){const _0x2b0434=_0x599345;return _0x36ab5c(ke,Object[_0x2b0434(0x2bb)]({},_0x5d8f4f,{'id':_0x2b0434(0x33e),'ref':_0x1bd2d8,'icon':ui}));});Dt[_0x599345(0x2b9)]=_0x599345(0x290);var di={'tag':_0x599345(0x25a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x599345(0x352),'viewBox':_0x599345(0x34d),'width':_0x599345(0x32f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x599345(0x30b)},'children':[{'tag':_0x599345(0x1f7),'attrs':{'stroke':'currentColor','d':_0x599345(0x18b),'strokeLinecap':_0x599345(0x2cf),'strokeLinejoin':_0x599345(0x2cf),'strokeWidth':1.2}}]},{'tag':_0x599345(0x2ff),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x599345(0x1f7),'attrs':{'fill':_0x599345(0x2b3),'d':'M0\x200H16V16H0z','transform':_0x599345(0x2a9)}}]}]}],'defIds':[_0x599345(0x1f9)]},Nt=_0x3eef60(function(_0x55675c,_0x43c8af){const _0x367bb5=_0x599345;return _0x36ab5c(ke,Object[_0x367bb5(0x2bb)]({},_0x55675c,{'id':'on-line-icon','ref':_0x43c8af,'icon':di}));});Nt[_0x599345(0x2b9)]=_0x599345(0x2cc);function fi(_0xd0b2cf){const _0x5b65c8=_0x599345;switch(_0xd0b2cf){case _0x179362[_0x5b65c8(0x209)]:return'collabStatus.offline';case _0x179362[_0x5b65c8(0x362)]:return _0x5b65c8(0x273);case _0x179362[_0x5b65c8(0x17f)]:return _0x5b65c8(0x1d6);case _0x179362[_0x5b65c8(0x226)]:return _0x5b65c8(0x1c4);case _0x179362[_0x5b65c8(0x1fc)]:case _0x179362[_0x5b65c8(0x288)]:return _0x5b65c8(0x2d4);case _0x179362[_0x5b65c8(0x1ce)]:case _0x179362[_0x5b65c8(0x199)]:return'collabStatus.synced';}}function Si(_0x58cb1c){const _0x103c36=_0x599345,{status$:_0x57d1aa}=_0x58cb1c,_0x29051c=_0x5d3341(_0x57d1aa,_0x179362['NOT_COLLAB']),_0x2384b2=_0x4039a2(_0x16f669),_0x2c4c55=_0x4039a2(_0x570b74),_0x43e745=_0x29051c!==_0x179362[_0x103c36(0x209)],_0x43fb29=_0x2384b2['t'](fi(_0x29051c)),_0x29c879=_0x43e745?_0x5e3e10(Nt,{}):_0x5e3e10(Dt,{}),_0x256ba9=_0x13e398(()=>{const _0xd4300=_0x103c36;_0x43e745||_0x2c4c55[_0xd4300(0x278)]();},[_0x43e745,_0x2c4c55]);function _0x4ca179(){const _0x5c12df=_0x103c36;return _0x2b834c('div',{'className':_0x5c12df(0x26c),'onClick':_0x256ba9,'children':[_0x5e3e10('div',{'className':_0x9b1db3('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x43e745,'univer-text-red-500':!_0x43e745}),'children':_0x29c879}),_0x5e3e10(_0x5c12df(0x1ed),{'className':_0x5c12df(0x36b),'children':_0x43fb29})]});}return _0x43e745?_0x4ca179():_0x5e3e10(_0x15e751,{'title':_0x2384b2['t'](_0x103c36(0x1b9)),'children':_0x4ca179()});}var mi=Object[_0x599345(0x2ab)],Ii=(_0x119a02,_0xd23377,_0x395755,_0x3d4d21)=>{const _0x108e0e=_0x599345;for(var _0x5c8a46=_0x3d4d21>0x1?void 0x0:_0x3d4d21?mi(_0xd23377,_0x395755):_0xd23377,_0xd485d5=_0x119a02[_0x108e0e(0x309)]-0x1,_0x332393;_0xd485d5>=0x0;_0xd485d5--)(_0x332393=_0x119a02[_0xd485d5])&&(_0x5c8a46=_0x332393(_0x5c8a46)||_0x5c8a46);return _0x5c8a46;},q=(_0x4c6cde,_0x2dac5c)=>(_0x56b224,_0x2a9158)=>_0x2dac5c(_0x56b224,_0x2a9158,_0x4c6cde);let se=class extends _0x4999ff{constructor(_0x1bde55,_0x1df444,_0x13804b,_0x4898ac){const _0x435123=_0x599345;super(),_(this,_0x435123(0x31c),new _0x5001d5(_0x179362[_0x435123(0x226)])),(this[_0x435123(0x323)]=_0x1bde55,this[_0x435123(0x303)]=_0x1df444,this[_0x435123(0x16b)]=_0x13804b,this[_0x435123(0x241)]=_0x4898ac,this[_0x435123(0x2a3)](),this[_0x435123(0x193)]());}[_0x599345(0x193)](){const _0x3a67e6=_0x599345;this[_0x3a67e6(0x2ef)](this[_0x3a67e6(0x323)][_0x3a67e6(0x306)]['pipe'](_0x148977(()=>{const _0xc766f=_0x3a67e6,_0x3d21b3=this[_0xc766f(0x323)]['getFocusedUnit']();return _0x3d21b3?this['_collaborationController'][_0xc766f(0x35d)](_0x3d21b3[_0xc766f(0x33f)]()):_0x18014b(null);}),_0x148977(_0x5445fa=>_0x5445fa?_0x5445fa[_0x3a67e6(0x204)]:_0x18014b(_0x179362['NOT_COLLAB'])))['subscribe'](_0x5682dd=>{const _0x5ed135=_0x3a67e6;this['_status$'][_0x5ed135(0x343)](_0x5682dd);}));}[_0x599345(0x2a3)](){const _0x2e271b=_0x599345;this[_0x2e271b(0x2ef)](this[_0x2e271b(0x241)][_0x2e271b(0x2d8)](_0x569940[_0x2e271b(0x195)],()=>_0x4cb14e(vi({'status$':this[_0x2e271b(0x31c)][_0x2e271b(0x2f2)]()}),this[_0x2e271b(0x303)])));}};se=Ii([q(0x0,_0x5bd8fd),q(0x1,_0x1cbf10(_0x5096fa)),q(0x2,_0x1cbf10(_0x128ae1)),q(0x3,_0x4e7d48)],se);function vi(_0x57a765){const {status$:_0x56b27a}=_0x57a765;return function(){return _0x5e3e10(Si,{'status$':_0x56b27a});};}const Ut=_0x410754(_0x599345(0x223));var gi=Object[_0x599345(0x2ab)],pi=(_0x31aae8,_0x5212a6,_0x3b4191,_0x507bf1)=>{const _0x24f506=_0x599345;for(var _0x4d3f10=_0x507bf1>0x1?void 0x0:_0x507bf1?gi(_0x5212a6,_0x3b4191):_0x5212a6,_0x129af5=_0x31aae8[_0x24f506(0x309)]-0x1,_0x1aac80;_0x129af5>=0x0;_0x129af5--)(_0x1aac80=_0x31aae8[_0x129af5])&&(_0x4d3f10=_0x1aac80(_0x4d3f10)||_0x4d3f10);return _0x4d3f10;},G=(_0x379aa1,_0x40609f)=>(_0x250a55,_0x1d11ba)=>_0x40609f(_0x250a55,_0x1d11ba,_0x379aa1);let ie=class extends _0x2cb2a{constructor(_0x24625f,_0x428b5d,_0x365b42,_0x249af4,_0x1abd6b){const _0x594744=_0x599345;super(),this[_0x594744(0x2c8)]=_0x24625f,this[_0x594744(0x329)]=_0x428b5d,this[_0x594744(0x1cb)]=_0x365b42,this[_0x594744(0x214)]=_0x249af4,_0x1abd6b?_0x1abd6b==null||_0x1abd6b['whenReady']()[_0x594744(0x27c)](()=>this[_0x594744(0x2b5)]()):(this['_logService'][_0x594744(0x20f)](_0x594744(0x379),_0x594744(0x322)),this[_0x594744(0x2b5)]());}async[_0x599345(0x2b5)](){const _0x51ca84=_0x599345,_0x4af0c5=this[_0x51ca84(0x2c8)]['getParam']('unit'),_0x38dbe7=this['_urlService'][_0x51ca84(0x1af)](_0x51ca84(0x325)),_0x4c45b7=this[_0x51ca84(0x2c8)][_0x51ca84(0x1af)](_0x51ca84(0x2f4));if(!_0x4af0c5||!_0x38dbe7){this['_logService']['debug']('[CollaborationDataLoaderController]',_0x51ca84(0x2f5));return;}const _0x362dd8=await this['_dataLoaderService'][_0x51ca84(0x231)](_0x4af0c5,Number(_0x38dbe7),_0x4c45b7);_0x362dd8&&_0x362dd8 instanceof _0x5757c5&&this[_0x51ca84(0x24e)](_0x362dd8);}async[_0x599345(0x24e)](_0x27e54e){const _0x184535=_0x599345;await this[_0x184535(0x26b)](_0x27e54e),_0x27e54e[_0x184535(0x19c)][_0x184535(0x348)](_0x2abc0a(this['dispose$']))[_0x184535(0x32c)](_0x2ee424=>{const _0x3a5c85=_0x184535;_0x2ee424&&this[_0x3a5c85(0x33c)](_0x2ee424);}),this['_urlService'][_0x184535(0x238)][_0x184535(0x348)](_0x2abc0a(this['dispose$']))[_0x184535(0x32c)](()=>this[_0x184535(0x26b)](_0x27e54e));}[_0x599345(0x33c)](_0x25855f,_0xa0aa31=!0x1){const _0x2b04b1=_0x599345,_0x38170a=this[_0x2b04b1(0x2c8)][_0x2b04b1(0x1af)]('subunit');_0x25855f[_0x2b04b1(0x2fc)]()!==_0x38170a&&this[_0x2b04b1(0x2c8)][_0x2b04b1(0x36d)](_0x2b04b1(0x2f4),_0x25855f[_0x2b04b1(0x2fc)](),_0xa0aa31);}async[_0x599345(0x26b)](_0x506ebc){const _0x25d388=_0x599345;var _0x3a3b81;const _0x2a7926=this[_0x25d388(0x2c8)][_0x25d388(0x1af)](_0x25d388(0x2f4));if(!_0x2a7926||!_0x506ebc[_0x25d388(0x178)](_0x2a7926)){const _0x15381e=_0x506ebc[_0x25d388(0x2b4)]()[0x0],_0x547913=_0x506ebc[_0x25d388(0x178)](_0x15381e);if(!_0x547913)return;this[_0x25d388(0x33c)](_0x547913,!0x0),await this['_commandService']['executeCommand'](_0x28063e['id'],{'unitId':_0x506ebc['getUnitId'](),'subUnitId':_0x15381e});return;}((_0x3a3b81=_0x506ebc[_0x25d388(0x26d)]())==null?void 0x0:_0x3a3b81[_0x25d388(0x2fc)]())!==_0x2a7926&&await this[_0x25d388(0x1cb)][_0x25d388(0x2e5)](_0x28063e['id'],{'unitId':_0x506ebc[_0x25d388(0x33f)](),'subUnitId':_0x2a7926});}};ie=pi([G(0x0,Ut),G(0x1,_0x388508),G(0x2,_0x56819f),G(0x3,_0x1cbf10(_0x48d6ae)),G(0x4,_0x42e4f8(_0x314c0c))],ie);var Ci=Object[_0x599345(0x2ab)],Ei=(_0xfed39c,_0x59e137,_0xb3f4bb,_0x4528de)=>{for(var _0x5d6a7d=_0x4528de>0x1?void 0x0:_0x4528de?Ci(_0x59e137,_0xb3f4bb):_0x59e137,_0x5e4bc9=_0xfed39c['length']-0x1,_0x3304c5;_0x5e4bc9>=0x0;_0x5e4bc9--)(_0x3304c5=_0xfed39c[_0x5e4bc9])&&(_0x5d6a7d=_0x3304c5(_0x5d6a7d)||_0x5d6a7d);return _0x5d6a7d;},Je=(_0x32350a,_0x287a3c)=>(_0x1e9bdd,_0x2f5059)=>_0x287a3c(_0x1e9bdd,_0x2f5059,_0x32350a);let Ne=class extends _0x2cb2a{constructor(_0x1ed6aa,_0x9e1afd){const _0x24b7a5=_0x599345;super(),this[_0x24b7a5(0x283)]=_0x1ed6aa,this['_imageIoService']=_0x9e1afd,this[_0x24b7a5(0x2b5)]();}[_0x599345(0x2b5)](){const _0x39bfb3=_0x599345,_0x2a5970=this;this['disposeWithMe'](this[_0x39bfb3(0x283)][_0x39bfb3(0x28d)]({'onBeforePasteImage':async _0x11a51a=>{const _0x3108a1=_0x39bfb3,_0xe707ba=await _0x2a5970[_0x3108a1(0x1ec)][_0x3108a1(0x317)](_0x11a51a);return _0xe707ba?{'source':_0xe707ba[_0x3108a1(0x222)],'imageSourceType':_0xe707ba['imageSourceType']}:null;}}));}};Ne=Ei([Je(0x0,_0x43b492),Je(0x1,_0xe1180a)],Ne);const Ze=[_0x599345(0x31f),_0x599345(0x18e),'green.600',_0x599345(0x363),_0x599345(0x23c),_0x599345(0x1f8)];class He extends _0x4999ff{constructor(){const _0x5aa6b6=_0x599345;super(...arguments),_(this,_0x5aa6b6(0x371),new Map()),_(this,_0x5aa6b6(0x206),0x0);}[_0x599345(0x316)](_0x472e46){const _0x18ccda=_0x599345;if(this['_assignedColors']['has'](_0x472e46))return this[_0x18ccda(0x371)][_0x18ccda(0x2c1)](_0x472e46);const _0x4e51df=Ze[this[_0x18ccda(0x206)]];return this['_colorIndex']=(this[_0x18ccda(0x206)]+0x1)%Ze['length'],this[_0x18ccda(0x371)][_0x18ccda(0x31d)](_0x472e46,_0x4e51df),_0x4e51df;}}function Mt(_0xf216db){let _0x4e3fcc='';for(const _0x3c14a6 of _0xf216db){const {startOffset:_0x5090b1,endOffset:_0x3ec51e,isActive:_0x2d4a9e,rangeType:_0x444958,segmentId:_0x4482f3,segmentPage:_0x17d2f0}=_0x3c14a6;_0x4e3fcc['length']&&(_0x4e3fcc+=','),_0x4e3fcc+=_0x5090b1+':'+_0x3ec51e+':'+(_0x2d4a9e?'1':'0')+':'+_0x444958+':'+_0x4482f3+':'+_0x17d2f0;}return _0x4e3fcc;}function Oi(_0x573e13){const _0x3f734d=_0x599345,_0x21ca5e=_0x573e13[_0x3f734d(0x279)](','),_0x216fa4=[];for(const _0x14642f of _0x21ca5e){const [_0x4efde5,_0x3332e1,_0x5dcf2c,_0x132bba,_0x244d25,_0x560d82]=_0x14642f[_0x3f734d(0x279)](':');_0x216fa4[_0x3f734d(0x2fd)]({'startOffset':Number(_0x4efde5),'endOffset':Number(_0x3332e1),'collapsed':_0x4efde5===_0x3332e1,'isActive':_0x5dcf2c==='1','rangeType':_0x132bba===_0x56dc04[_0x3f734d(0x19d)]?_0x56dc04[_0x3f734d(0x19d)]:_0x56dc04[_0x3f734d(0x335)],'segmentId':typeof _0x244d25==_0x3f734d(0x2d2)?String(_0x244d25):'','segmentPage':Number(_0x560d82!=null?_0x560d82:-0x1)});}return _0x216fa4[_0x3f734d(0x1ea)](_0x566341=>_0x566341[_0x3f734d(0x235)])||(_0x216fa4[0x0][_0x3f734d(0x235)]=!0x0),_0x216fa4;}class Fe extends _0x2cb2a{constructor(){const _0x190e0b=_0x599345;super(...arguments),_(this,'_collabCursorState$',new _0x5001d5(null)),_(this,_0x190e0b(0x304),this[_0x190e0b(0x2e1)][_0x190e0b(0x2f2)]());}[_0x599345(0x2ea)](_0x3fafab){const _0x5b2a2a=_0x599345,{unitID:_0x33e473,memberID:_0x554632,textRanges:_0x2283a8}=_0x3fafab,_0x18682a=Mt(_0x2283a8);if(_0x18682a==='')return;const _0x2c3d77={'unitID':_0x33e473,'memberID':_0x554632,'selection':_0x18682a};this[_0x5b2a2a(0x2e1)][_0x5b2a2a(0x343)](_0x2c3d77);}}var bi=Object[_0x599345(0x2ab)],Ti=(_0x194433,_0x5868cc,_0x2d1711,_0x370de9)=>{const _0x3a8efe=_0x599345;for(var _0x201a49=_0x370de9>0x1?void 0x0:_0x370de9?bi(_0x5868cc,_0x2d1711):_0x5868cc,_0x35b6e4=_0x194433[_0x3a8efe(0x309)]-0x1,_0x52cc12;_0x35b6e4>=0x0;_0x35b6e4--)(_0x52cc12=_0x194433[_0x35b6e4])&&(_0x201a49=_0x52cc12(_0x201a49)||_0x201a49);return _0x201a49;},P=(_0x12e8f9,_0x46fa12)=>(_0x4f672a,_0x1479d0)=>_0x46fa12(_0x4f672a,_0x1479d0,_0x12e8f9);const Ri=0x12c,Di=0x64;let Ue=class extends _0x2cb2a{constructor(_0x5cdcb4,_0x45ba80,_0x9901bf,_0x13b402,_0x329deb,_0x5796e2,_0x3f705b,_0x28b0c3,_0x5a8402){const _0x4ffda4=_0x599345;super(),_(this,_0x4ffda4(0x300),!0x1),_(this,_0x4ffda4(0x2b5),!0x1),_(this,'_cursorInfo$',new _0x5001d5(new Map())),_(this,_0x4ffda4(0x336),this[_0x4ffda4(0x194)][_0x4ffda4(0x2f2)]()),_(this,_0x4ffda4(0x291),new _0x5001d5([])),_(this,'roomMembers$',this[_0x4ffda4(0x291)][_0x4ffda4(0x348)](_0x44f807(Ri))),_(this,_0x4ffda4(0x2d6),_0x25bcfa(_0x664bdd=>{const _0x2d207c=_0x4ffda4,_0x2f073e={'eventID':_0x392635['UPDATE_CURSOR'],'data':{'unitID':this[_0x2d207c(0x1e6)],'memberID':this[_0x2d207c(0x270)][_0x2d207c(0x36f)](),'selection':Mt(_0x664bdd)}};this['_session'][_0x2d207c(0x251)](_0x2f073e,this[_0x2d207c(0x1e6)]);},Di)),(this['unitID']=_0x5cdcb4,this[_0x4ffda4(0x270)]=_0x45ba80,this[_0x4ffda4(0x303)]=_0x9901bf,this[_0x4ffda4(0x2d9)]=_0x13b402,this[_0x4ffda4(0x2b1)]=_0x329deb,this['_syncEditingCollabCursorService']=_0x5796e2,this[_0x4ffda4(0x2c9)]=_0x3f705b,this[_0x4ffda4(0x323)]=_0x28b0c3,this[_0x4ffda4(0x1cb)]=_0x5a8402);}get[_0x599345(0x299)](){const _0x563e4e=_0x599345;return this['_cursorInfo$'][_0x563e4e(0x2a7)]();}get[_0x599345(0x212)](){const _0x506356=_0x599345;return this[_0x506356(0x291)][_0x506356(0x2a7)]();}[_0x599345(0x282)](){const _0x663247=_0x599345;super['dispose'](),this['_cursorInfo$'][_0x663247(0x343)](new Map()),this['_cursorInfo$'][_0x663247(0x16e)](),this['_roomMembers$'][_0x663247(0x343)]([]),this[_0x663247(0x291)]['complete']();}[_0x599345(0x25e)](){const _0x57d9d6=_0x599345;this[_0x57d9d6(0x2b5)]||(this[_0x57d9d6(0x2b5)]=!0x0,this[_0x57d9d6(0x270)][_0x57d9d6(0x340)]['pipe'](_0x2abc0a(this[_0x57d9d6(0x36e)]))[_0x57d9d6(0x32c)](_0x2071c2=>{const _0x3c19c6=_0x57d9d6;_0x2071c2===_0x10c45e[_0x3c19c6(0x310)]?this[_0x3c19c6(0x1d5)]():this[_0x3c19c6(0x2c0)]();}),this[_0x57d9d6(0x270)][_0x57d9d6(0x1d4)][_0x57d9d6(0x348)](_0x2abc0a(this[_0x57d9d6(0x36e)]))[_0x57d9d6(0x32c)](_0x5c7c7b=>{const _0x12d8a8=_0x57d9d6,_0x56e71b=_0x5c7c7b[_0x12d8a8(0x292)];_0x56e71b===_0x392635[_0x12d8a8(0x2dd)]&&this[_0x12d8a8(0x218)](_0x5c7c7b),_0x56e71b===_0x392635[_0x12d8a8(0x264)]&&this['_onCursorDelete'](_0x5c7c7b);}),this[_0x57d9d6(0x2ef)](this['_commandService'][_0x57d9d6(0x16f)](_0x524d78=>{const _0x66e9c2=_0x57d9d6,_0x130c76=_0x524d78['params'];_0x130c76!=null&&this[_0x66e9c2(0x300)]&&_0x524d78['id']===_0x3c113e['id']&&_0x130c76['unitId']===this['unitID']&&_0x130c76[_0x66e9c2(0x16d)]===!0x1&&_0x130c76['ranges'][_0x66e9c2(0x309)]>0x0&&this[_0x66e9c2(0x2d6)](_0x130c76[_0x66e9c2(0x267)]);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](_0x2abc0a(this['dispose$']))[_0x57d9d6(0x32c)](_0x540e20=>{const _0x4ba046=_0x57d9d6;if((_0x540e20==null?void 0x0:_0x540e20[_0x4ba046(0x1e6)])!==this[_0x4ba046(0x1e6)])return;const _0x459655={'eventID':_0x392635[_0x4ba046(0x2dd)],'data':_0x540e20};this['_onCursorUpdate'](_0x459655);}),this[_0x57d9d6(0x2ef)](this[_0x57d9d6(0x1cb)][_0x57d9d6(0x16f)](_0x2c828c=>{const _0xc7ffb=_0x57d9d6;if(_0x2c828c[_0xc7ffb(0x2e4)]==null)return;const _0x1771aa=_0x2c828c[_0xc7ffb(0x2e4)];if(_0x2c828c['id']!==_0xf131a3['id']||_0x1771aa['unitId']!==this[_0xc7ffb(0x1e6)])return;const _0x148329={'id':_0xc7ffb(0x33a),'params':_0x1771aa},_0x20437d=this[_0xc7ffb(0x299)];for(const [_0x324645,_0x111bc1]of _0x20437d){const _0x4e3fee={'id':_0xc7ffb(0x33a),'params':{'unitId':this[_0xc7ffb(0x1e6)],'actions':null,'textRanges':_0x111bc1[_0xc7ffb(0x267)]}},_0x479d1a=this[_0xc7ffb(0x2c9)]['transformMutation'](_0x148329,_0x4e3fee,!0x1);if(_0xfc9cee(_0x479d1a))throw _0x479d1a[_0xc7ffb(0x1b8)];_0x20437d['set'](_0x324645,{..._0x111bc1,'ranges':_0x479d1a['m2Prime']['params'][_0xc7ffb(0x240)]});}queueMicrotask(()=>{const _0x1b2647=_0xc7ffb;this[_0x1b2647(0x194)]['next'](_0x20437d);});})));}['_onCursorUpdate'](_0x362f10){const _0xb72591=_0x599345;var _0x3e202c,_0x140ef0;const {memberID:_0xb0b72f,selection:_0x13aca5}=_0x362f10[_0xb72591(0x266)],_0x41d3ee=Oi(_0x13aca5),_0xd9ae2f=(_0x140ef0=(_0x3e202c=this[_0xb72591(0x2b1)][_0xb72591(0x198)](this[_0xb72591(0x1e6)],_0xb0b72f))==null?void 0x0:_0x3e202c[_0xb72591(0x2bd)])!=null?_0x140ef0:_0xb72591(0x269),_0x11f3db={'color':this['_colorAssignService']['assignAColorForMemberID'](_0xb0b72f),'name':_0xd9ae2f,'ranges':_0x41d3ee},_0x5dfaa1=this[_0xb72591(0x299)];_0x5dfaa1['set'](_0xb0b72f,_0x11f3db),this[_0xb72591(0x194)][_0xb72591(0x343)](_0x5dfaa1);}[_0x599345(0x29f)](_0xfdb713){const _0x2a7d59=_0x599345,{memberID:_0x272bc3}=_0xfdb713[_0x2a7d59(0x266)],_0x54d506=this['cursorInfo'];_0x54d506[_0x2a7d59(0x326)](_0x272bc3),this[_0x2a7d59(0x194)]['next'](_0x54d506);}['_toggleOnline'](){const _0x377fdf=_0x599345;var _0x38500f;if(this[_0x377fdf(0x300)]=!0x0,((_0x38500f=this[_0x377fdf(0x323)][_0x377fdf(0x2e2)]())==null?void 0x0:_0x38500f[_0x377fdf(0x33f)]())!==this[_0x377fdf(0x1e6)])return;const _0x1586d4=this[_0x377fdf(0x303)][_0x377fdf(0x2c1)](_0xdd81b3)[_0x377fdf(0x344)]();Array[_0x377fdf(0x229)](_0x1586d4)&&_0x1586d4[_0x377fdf(0x309)]>0x0&&this[_0x377fdf(0x2d6)](_0x1586d4);}[_0x599345(0x2c0)](){this['_online']=!0x1;}};Ue=Ti([P(0x2,_0x1cbf10(_0x5096fa)),P(0x3,_0x1cbf10(He)),P(0x4,_0x1cbf10(_0x59d213)),P(0x5,_0x1cbf10(Fe)),P(0x6,_0x401880),P(0x7,_0x5bd8fd),P(0x8,_0x56819f)],Ue);var Ni=Object['getOwnPropertyDescriptor'],Ui=(_0xcaadfd,_0x40db65,_0x38488b,_0x440b20)=>{const _0x498119=_0x599345;for(var _0x2653da=_0x440b20>0x1?void 0x0:_0x440b20?Ni(_0x40db65,_0x38488b):_0x40db65,_0xab4def=_0xcaadfd[_0x498119(0x309)]-0x1,_0x31cbba;_0xab4def>=0x0;_0xab4def--)(_0x31cbba=_0xcaadfd[_0xab4def])&&(_0x2653da=_0x31cbba(_0x2653da)||_0x2653da);return _0x2653da;},x=(_0x2e4a50,_0x320785)=>(_0x300d80,_0xc93f45)=>_0x320785(_0x300d80,_0xc93f45,_0x2e4a50);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x45ea18=[],_0xa55ad2=!0x1;return _0x5f14f6=>{const _0xa300a9=_0x1fe7;_0x45ea18[_0xa300a9(0x2fd)](_0x5f14f6),_0xa55ad2||(_0xa55ad2=!0x0,setTimeout(()=>{const _0x515d4=_0xa300a9;_0x45ea18[_0x515d4(0x172)](_0x48c96=>_0x48c96()),_0x45ea18=[],_0xa55ad2=!0x1;}));};};let Me=class extends _0x2cb2a{constructor(_0x58f5d9,_0x3f32df,_0x1b638e,_0xe648bc,_0x37f17c,_0x1464e4,_0x996e90,_0x5657b7){const _0x1f9a7c=_0x599345;super(),_(this,_0x1f9a7c(0x300),!0x1),_(this,_0x1f9a7c(0x2b5),!0x1),_(this,_0x1f9a7c(0x194),new _0x5001d5(new Map())),_(this,_0x1f9a7c(0x336),this['_cursorInfo$']['asObservable']()),_(this,_0x1f9a7c(0x291),new _0x5001d5([])),_(this,'roomMembers$',this[_0x1f9a7c(0x291)][_0x1f9a7c(0x348)](_0x44f807(Mi))),_(this,_0x1f9a7c(0x2d6),_0x25bcfa((_0x463d86,_0x44d457)=>{const _0x5c7120=_0x1f9a7c,_0x3f4bab={'eventID':_0x392635[_0x5c7120(0x2dd)],'data':{'unitID':this['unitID'],'memberID':this[_0x5c7120(0x270)][_0x5c7120(0x36f)](),'selection':_0x23e0fe(_0x463d86,_0x44d457['range'])}};this['_session'][_0x5c7120(0x251)](_0x3f4bab,this['unitID']);},Li)),(this[_0x1f9a7c(0x1e6)]=_0x58f5d9,this[_0x1f9a7c(0x270)]=_0x3f32df,this[_0x1f9a7c(0x303)]=_0x1b638e,this[_0x1f9a7c(0x2d9)]=_0xe648bc,this[_0x1f9a7c(0x2b1)]=_0x37f17c,this['_univerInstanceService']=_0x1464e4,this[_0x1f9a7c(0x1cb)]=_0x996e90,this['_refRangeService']=_0x5657b7);}get[_0x599345(0x299)](){const _0x5c6f21=_0x599345;return this[_0x5c6f21(0x194)]['getValue']();}get[_0x599345(0x212)](){const _0x23c76a=_0x599345;return this[_0x23c76a(0x291)][_0x23c76a(0x2a7)]();}[_0x599345(0x282)](){const _0x5c70fb=_0x599345;super['dispose'](),this[_0x5c70fb(0x194)][_0x5c70fb(0x343)](new Map()),this['_cursorInfo$'][_0x5c70fb(0x16e)](),this[_0x5c70fb(0x291)][_0x5c70fb(0x343)]([]),this[_0x5c70fb(0x291)][_0x5c70fb(0x16e)]();}[_0x599345(0x25e)](){const _0x5bca5c=_0x599345;this['_init']||(this[_0x5bca5c(0x2b5)]=!0x0,this['_session'][_0x5bca5c(0x340)][_0x5bca5c(0x348)](_0x2abc0a(this[_0x5bca5c(0x36e)]))[_0x5bca5c(0x32c)](_0xc6d070=>{const _0xe4c542=_0x5bca5c;_0xc6d070===_0x10c45e[_0xe4c542(0x310)]?this[_0xe4c542(0x1d5)]():this[_0xe4c542(0x2c0)]();}),this['_session'][_0x5bca5c(0x1d4)][_0x5bca5c(0x348)](_0x2abc0a(this['dispose$']))[_0x5bca5c(0x32c)](_0x35b9d8=>{const _0xbf371d=_0x5bca5c,_0x21321d=_0x35b9d8[_0xbf371d(0x292)];_0x21321d===_0x392635[_0xbf371d(0x2dd)]&&this[_0xbf371d(0x218)](_0x35b9d8),_0x21321d===_0x392635[_0xbf371d(0x264)]&&this['_onCursorDelete'](_0x35b9d8);}),this[_0x5bca5c(0x1ef)](),this[_0x5bca5c(0x2ef)](this[_0x5bca5c(0x1cb)][_0x5bca5c(0x16f)](_0x2259a7=>{const _0x4ad84c=_0x5bca5c;if(this['_online']&&_0x2259a7['id']===_0x15994b['id']&&_0x2259a7[_0x4ad84c(0x2e4)]['unitId']===this[_0x4ad84c(0x1e6)]){const _0x52831f=_0x2259a7[_0x4ad84c(0x2e4)];this[_0x4ad84c(0x2d6)](_0x52831f[_0x4ad84c(0x2ed)],_0x52831f['selections'][0x0]);}})));}[_0x599345(0x218)](_0x4f5e78){const _0xcb5ff7=_0x599345;var _0x37c466,_0x800f65;const {memberID:_0x454e5b,selection:_0x4c9b01}=_0x4f5e78[_0xcb5ff7(0x266)],{sheetName:_0x125520,range:_0x43622a}=_0x398199(_0x4c9b01),_0x2052ae={'name':(_0x800f65=(_0x37c466=this[_0xcb5ff7(0x2b1)]['getMember'](this[_0xcb5ff7(0x1e6)],_0x454e5b))==null?void 0x0:_0x37c466['name'])!=null?_0x800f65:_0xcb5ff7(0x269),'range':this[_0xcb5ff7(0x32b)](_0x125520,_0x43622a),'sheetID':_0x125520,'color':this[_0xcb5ff7(0x2d9)][_0xcb5ff7(0x316)](_0x454e5b),'selection':_0x4c9b01},_0x48ee65=this[_0xcb5ff7(0x299)];_0x48ee65[_0xcb5ff7(0x31d)](_0x454e5b,_0x2052ae),this['_cursorInfo$'][_0xcb5ff7(0x343)](_0x48ee65);}[_0x599345(0x29f)](_0x3464de){const _0x45ed9f=_0x599345,{memberID:_0x586607}=_0x3464de[_0x45ed9f(0x266)],_0x20ffb2=this['cursorInfo'];_0x20ffb2[_0x45ed9f(0x326)](_0x586607),this[_0x45ed9f(0x194)][_0x45ed9f(0x343)](_0x20ffb2);}[_0x599345(0x32b)](_0x443d44,_0x3e4cca){const _0x426b3c=_0x599345;var _0x3886ba,_0x446af6;const _0x208a2a=(_0x446af6=(_0x3886ba=this['_univerInstanceService'][_0x426b3c(0x1eb)](this[_0x426b3c(0x1e6)]))==null?void 0x0:_0x3886ba[_0x426b3c(0x178)](_0x443d44))==null?void 0x0:_0x446af6[_0x426b3c(0x2d0)]();return(_0x208a2a==null?void 0x0:_0x208a2a['find'](_0x1f52eb=>_0x1bbde6[_0x426b3c(0x17e)](_0x1f52eb,_0x3e4cca)))||_0x3e4cca;}[_0x599345(0x1ef)](){const _0x128ee5=_0x599345,_0x5cdb5d=new _0x34d6b9(),_0x31abd9=Pi(),_0x47ab90=()=>{const _0x287fea=_0x1fe7;_0x5cdb5d['dispose']();const _0x25f78b=(_0xb2ca42,_0x14bb5b,_0x3f9fb1,_0x28f000)=>{const _0x52ea0d=_0x1fe7;let _0x57041e=[];switch(_0xb2ca42['id']){case _0xf0afc[_0x52ea0d(0x37c)]:{_0x57041e=_0x288b9f(_0xb2ca42,_0x28f000);break;}case _0xf0afc['DeleteRangeMoveUpCommandId']:{_0x57041e=_0x42fc62(_0xb2ca42,_0x28f000);break;}case _0xf0afc[_0x52ea0d(0x2a4)]:{_0x57041e=_0x1850e9(_0xb2ca42,_0x28f000);break;}case _0xf0afc['InsertRangeMoveDownCommandId']:{_0x57041e=_0x19ca0d(_0xb2ca42,_0x28f000);break;}case _0xf0afc[_0x52ea0d(0x211)]:{_0x57041e=_0x18d39a(_0xb2ca42,_0x28f000);break;}case _0xf0afc[_0x52ea0d(0x20b)]:{_0x57041e=_0x3e49dd(_0xb2ca42,_0x28f000);break;}case _0xf0afc[_0x52ea0d(0x191)]:{_0x57041e=_0x43f731(_0xb2ca42,_0x28f000);break;}case _0xf0afc['RemoveColCommandId']:{_0x57041e=_0x5f2584(_0xb2ca42,_0x28f000);break;}case _0xf0afc[_0x52ea0d(0x244)]:{_0x57041e=_0x3266ff(_0xb2ca42,_0x28f000);break;}}const _0x24f525=_0x173f7a(_0x57041e,_0x28f000),_0xb3aa97=this[_0x52ea0d(0x299)][_0x52ea0d(0x2c1)](_0x14bb5b);if(_0xb3aa97&&_0x24f525){const _0x5ca30a={..._0xb3aa97,'range':_0x24f525};this[_0x52ea0d(0x299)]['set'](_0x14bb5b,_0x5ca30a),_0x31abd9(()=>{const _0x39c542=_0x52ea0d,_0x3e7216=this['_refRangeService'][_0x39c542(0x25c)](_0x24f525,_0x24b1a8=>(_0x3e7216[_0x39c542(0x282)](),_0x25f78b(_0x24b1a8,_0x14bb5b,_0x3f9fb1,_0x24f525)));_0x5cdb5d[_0x39c542(0x1b0)](_0x3e7216);});}return{'redos':[],'undos':[]};};this[_0x287fea(0x299)]['forEach']((_0x2af6e6,_0x21bac7)=>{const _0xba228c=_0x287fea,{range:_0x2d0fda,sheetID:_0x589bc1}=_0x2af6e6,_0x12de12=this['_refRangeService'][_0xba228c(0x25c)](_0x2d0fda,_0x329cf=>(_0x12de12[_0xba228c(0x282)](),_0x25f78b(_0x329cf,_0x21bac7,_0x589bc1,_0x2d0fda)));_0x5cdb5d['add'](_0x12de12);});};this[_0x128ee5(0x2ef)](_0xe5901(this['_cursorInfo$'][_0x128ee5(0x32c)](()=>{_0x47ab90();})));}[_0x599345(0x1d5)](){const _0x285a54=_0x599345;var _0x4750a0,_0x5bf18d;if(this[_0x285a54(0x300)]=!0x0,((_0x4750a0=this[_0x285a54(0x323)][_0x285a54(0x2e2)]())==null?void 0x0:_0x4750a0[_0x285a54(0x33f)]())!==this[_0x285a54(0x1e6)])return;const _0x17741=(_0x5bf18d=this[_0x285a54(0x303)][_0x285a54(0x2c1)](_0x12e65d)[_0x285a54(0x30f)]())==null?void 0x0:_0x5bf18d[0x0],_0x5383bb=this[_0x285a54(0x323)][_0x285a54(0x17a)](_0x2c13fa[_0x285a54(0x35f)])[_0x285a54(0x26d)]();_0x17741&&_0x5383bb&&this[_0x285a54(0x2d6)](_0x5383bb[_0x285a54(0x2fc)](),_0x17741);}[_0x599345(0x2c0)](){this['_online']=!0x1;}};Me=Ui([x(0x2,_0x1cbf10(_0x5096fa)),x(0x3,_0x1cbf10(He)),x(0x4,_0x1cbf10(_0x59d213)),x(0x5,_0x5bd8fd),x(0x6,_0x56819f),x(0x7,_0x1cbf10(_0x363da9))],Me);var wi=Object[_0x599345(0x2ab)],Ai=(_0x142109,_0x55e048,_0x14e616,_0x52f397)=>{const _0xf12b92=_0x599345;for(var _0x5f3055=_0x52f397>0x1?void 0x0:_0x52f397?wi(_0x55e048,_0x14e616):_0x55e048,_0x4c8a97=_0x142109[_0xf12b92(0x309)]-0x1,_0x12cb4b;_0x4c8a97>=0x0;_0x4c8a97--)(_0x12cb4b=_0x142109[_0x4c8a97])&&(_0x5f3055=_0x12cb4b(_0x5f3055)||_0x5f3055);return _0x5f3055;},me=(_0xbff2,_0x551770)=>(_0xfe1a3d,_0x576875)=>_0x551770(_0xfe1a3d,_0x576875,_0xbff2);let F=class extends _0x2cb2a{constructor(_0xe20ec9,_0x5f49bf,_0x1090c7){const _0x4ca2f8=_0x599345;super(),_(this,_0x4ca2f8(0x224),new Map()),_(this,_0x4ca2f8(0x1de),new _0x53a8b3()),(this[_0x4ca2f8(0x323)]=_0xe20ec9,this[_0x4ca2f8(0x303)]=_0x5f49bf,this[_0x4ca2f8(0x1a5)]=_0x1090c7,this[_0x4ca2f8(0x2b5)]());}[_0x599345(0x282)](){const _0x134268=_0x599345;super[_0x134268(0x282)](),this['_entityInit$'][_0x134268(0x16e)](),this['_entities'][_0x134268(0x172)](_0x467db6=>_0x467db6['dispose']());}['getCollabCursors$'](_0x5d23c7){const _0x58e326=_0x599345;return this[_0x58e326(0x224)][_0x58e326(0x34c)](_0x5d23c7)?this[_0x58e326(0x224)]['get'](_0x5d23c7)[_0x58e326(0x336)]:this[_0x58e326(0x1de)][_0x58e326(0x348)](_0x1621f5(_0x1bf5a9=>_0x1bf5a9[_0x58e326(0x1e6)]===_0x5d23c7),_0x148977(_0x222529=>_0x222529[_0x58e326(0x336)]));}[_0x599345(0x2b5)](){const _0x5c8d50=_0x599345;this[_0x5c8d50(0x323)][_0x5c8d50(0x1a9)](_0x2c13fa[_0x5c8d50(0x35f)])[_0x5c8d50(0x348)](_0x2abc0a(this[_0x5c8d50(0x36e)]))[_0x5c8d50(0x32c)](async _0x2dd71d=>{const _0x5aaa2e=_0x5c8d50,_0x46aada=_0x2dd71d[_0x5aaa2e(0x33f)](),_0x527632=await this[_0x5aaa2e(0x21c)](_0x46aada);this[_0x5aaa2e(0x1de)][_0x5aaa2e(0x343)](_0x527632),this[_0x5aaa2e(0x224)][_0x5aaa2e(0x31d)](_0x46aada,_0x527632);}),this['_univerInstanceService'][_0x5c8d50(0x1a9)](_0x2c13fa[_0x5c8d50(0x287)])[_0x5c8d50(0x348)](_0x2abc0a(this[_0x5c8d50(0x36e)]))['pipe'](_0x1621f5(_0x23834c=>!_0x23834c[_0x5c8d50(0x33f)]()[_0x5c8d50(0x1b1)]('__')))['subscribe'](async _0x4fa16c=>{const _0x46424b=_0x5c8d50,_0x491bb9=_0x4fa16c[_0x46424b(0x33f)](),_0x87007a=await this[_0x46424b(0x248)](_0x491bb9);this[_0x46424b(0x1de)][_0x46424b(0x343)](_0x87007a),this[_0x46424b(0x224)][_0x46424b(0x31d)](_0x491bb9,_0x87007a);}),_0x4cfeb9(this[_0x5c8d50(0x323)][_0x5c8d50(0x1db)](_0x2c13fa[_0x5c8d50(0x287)]),this[_0x5c8d50(0x323)][_0x5c8d50(0x1db)](_0x2c13fa['UNIVER_SHEET']))['pipe'](_0x2abc0a(this[_0x5c8d50(0x36e)]))['subscribe'](_0x3a0952=>{const _0x29424c=_0x5c8d50,_0x307012=_0x3a0952[_0x29424c(0x33f)](),_0x4e0369=this[_0x29424c(0x224)][_0x29424c(0x2c1)](_0x307012);_0x4e0369&&(_0x4e0369[_0x29424c(0x282)](),this[_0x29424c(0x224)][_0x29424c(0x326)](_0x307012));});}async[_0x599345(0x21c)](_0x2d0c78){const _0x5972dd=_0x599345,_0x12a5d2=await this[_0x5972dd(0x1a5)][_0x5972dd(0x2f0)](_0x2d0c78),_0xe081b4=this[_0x5972dd(0x303)][_0x5972dd(0x213)](Me,_0x2d0c78,_0x12a5d2);return _0xe081b4[_0x5972dd(0x25e)](),_0xe081b4;}async['_startDocCollabCursor'](_0x340eb6){const _0xb92a18=_0x599345,_0x607396=await this[_0xb92a18(0x1a5)][_0xb92a18(0x2f0)](_0x340eb6),_0x10d8da=this[_0xb92a18(0x303)][_0xb92a18(0x213)](Ue,_0x340eb6,_0x607396);return _0x10d8da[_0xb92a18(0x25e)](),_0x10d8da;}};F=Ai([me(0x0,_0x5bd8fd),me(0x1,_0x1cbf10(_0x5096fa)),me(0x2,_0x1cbf10(_0x570b74))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x3a2530,_0xc5c8a2){const _0x576d8f=_0x599345;let {radius:_0x376165,width:_0x4e8590,height:_0x50a900}=_0xc5c8a2;_0x376165=_0x376165!=null?_0x376165:0x0,_0x4e8590=_0x4e8590!=null?_0x4e8590:0x1e,_0x50a900=_0x50a900!=null?_0x50a900:0x1e;let _0x1bac62=0x0,_0x274c09=0x0,_0x45d619=0x0;_0x1bac62=_0x274c09=_0x45d619=Math['min'](_0x376165,_0x4e8590/0x2,_0x50a900/0x2),_0x3a2530[_0x576d8f(0x327)](),_0x3a2530['moveTo'](_0x1bac62,0x0),_0x3a2530[_0x576d8f(0x216)](_0x4e8590-_0x274c09,0x0),_0x3a2530[_0x576d8f(0x2f3)](_0x4e8590-_0x274c09,_0x274c09,_0x274c09,Math['PI']*0x3/0x2,0x0,!0x1),_0x3a2530['lineTo'](_0x4e8590,_0x50a900-_0x45d619),_0x3a2530[_0x576d8f(0x2f3)](_0x4e8590-_0x45d619,_0x50a900-_0x45d619,_0x45d619,0x0,Math['PI']/0x2,!0x1),_0x3a2530[_0x576d8f(0x216)](0x0,_0x50a900),_0x3a2530['lineTo'](0x0,_0x1bac62),_0x3a2530['arc'](_0x1bac62,_0x1bac62,_0x1bac62,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3a2530[_0x576d8f(0x208)](),_0xc5c8a2[_0x576d8f(0x221)]&&(_0x3a2530[_0x576d8f(0x19a)](),_0x3a2530[_0x576d8f(0x1ff)]=_0xc5c8a2[_0x576d8f(0x221)],_0xc5c8a2[_0x576d8f(0x369)]==='evenodd'?_0x3a2530['fill']('evenodd'):_0x3a2530['fill'](),_0x3a2530[_0x576d8f(0x1aa)]());}class ue extends _0xe0519b{constructor(_0x394e58,_0x208ece){const _0x4f661c=_0x599345;super(_0x394e58,_0x208ece),_(this,_0x4f661c(0x1d0)),_(this,'text'),(this['color']=_0x208ece==null?void 0x0:_0x208ece[_0x4f661c(0x1d0)],this['text']=_0x208ece==null?void 0x0:_0x208ece['text']);}static[_0x599345(0x263)](_0x5e80c9,_0x19ee3d){const _0x3a799f=_0x599345,{text:_0xabd1c,color:_0x53bf64}=_0x19ee3d;_0x5e80c9[_0x3a799f(0x19a)](),_0x5e80c9[_0x3a799f(0x1a7)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x492b16=_0x5e80c9['measureText'](_0xabd1c)[_0x3a799f(0x30a)],_0xdb1893=Math['min'](_0x492b16+0x2*Ie,Qe);$i(_0x5e80c9,{'height':J,'radius':0x4,'width':_0xdb1893,'fill':_0x53bf64}),_0x5e80c9[_0x3a799f(0x1ff)]='#FFF';const _0x1c94c9=Ie,_0x1b996b=J-yi,_0x4db63f=Qe-0x2*Ie;if(_0x492b16>_0x4db63f){let _0x2e53d5='',_0x2533e1=0x0;for(const _0x3241bd of _0xabd1c){const _0x18e09e=_0x5e80c9[_0x3a799f(0x28b)](_0x3241bd)[_0x3a799f(0x30a)];if(_0x2533e1+_0x18e09e<=_0x4db63f-_0x5e80c9[_0x3a799f(0x28b)](_0x3a799f(0x22c))['width'])_0x2e53d5+=_0x3241bd,_0x2533e1+=_0x18e09e;else{_0x2e53d5+=_0x3a799f(0x22c);break;}}_0x5e80c9[_0x3a799f(0x28a)](_0x2e53d5,_0x1c94c9,_0x1b996b);}else _0x5e80c9[_0x3a799f(0x28a)](_0xabd1c,_0x1c94c9,_0x1b996b);_0x5e80c9[_0x3a799f(0x1aa)]();}[_0x599345(0x22e)](_0x46298b){const _0x598225=_0x599345;ue[_0x598225(0x263)](_0x46298b,this);}}const ve=_0x599345(0x1ee),xi=_0x599345(0x35a),Bi=_0x599345(0x2fa),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x3d26e8,_0x202762,_0x4aacba,_0xbb1ae8){const _0x4147d4=_0x599345;_(this,'_shapes',[]),_(this,_0x4147d4(0x2bc),null),_(this,_0x4147d4(0x355),null),_(this,_0x4147d4(0x219),null),_(this,_0x4147d4(0x2a5),null),_(this,'_eventUnsubscribe',null),(this[_0x4147d4(0x302)]=_0x3d26e8,this[_0x4147d4(0x1e0)]=_0x202762,this[_0x4147d4(0x1cd)]=_0x4aacba,this[_0x4147d4(0x2da)]=_0xbb1ae8,this[_0x4147d4(0x328)]());}set[_0x599345(0x319)](_0x4e130f){const _0x415b4e=_0x599345;_0x4e130f?(this[_0x415b4e(0x219)]&&this[_0x415b4e(0x219)][_0x415b4e(0x183)](),this[_0x415b4e(0x355)]&&this[_0x415b4e(0x355)][_0x415b4e(0x242)]()):(this[_0x415b4e(0x219)]&&this[_0x415b4e(0x219)][_0x415b4e(0x242)](),this[_0x415b4e(0x355)]&&this[_0x415b4e(0x355)]['hide']());}[_0x599345(0x282)](){const _0x61c20=_0x599345;for(const _0x3dcf8f of this[_0x61c20(0x2e8)])_0x3dcf8f['dispose']();this[_0x61c20(0x355)]&&this[_0x61c20(0x355)][_0x61c20(0x282)](),this[_0x61c20(0x219)]&&this[_0x61c20(0x219)]['dispose'](),this[_0x61c20(0x2bc)]&&this[_0x61c20(0x2bc)][_0x61c20(0x282)](),this[_0x61c20(0x2ee)]&&this[_0x61c20(0x2ee)]();}[_0x599345(0x328)](){const _0x4bd5df=_0x599345;var _0x5ac807;const {_docSkeleton:_0x5c1c74,_document:_0x1f9619}=this,{color:_0x141877,name:_0x662b4c,ranges:_0x3109c3}=this[_0x4bd5df(0x302)],_0x1fc8bc=_0x1f9619[_0x4bd5df(0x243)](),{docsLeft:_0x2e91d7,docsTop:_0x13a3ec}=_0x1fc8bc,_0xd4b4c9=new _0x46f081(_0x1fc8bc,_0x5c1c74);for(const {startOffset:_0x385018,endOffset:_0x166822,rangeType:_0x3ab1c6,segmentId:_0x50c11a,segmentPage:_0x1bf45b,collapsed:_0x27e67f,isActive:_0x6d6a85}of _0x3109c3){const _0x543a74=_0x5c1c74[_0x4bd5df(0x32a)](_0x385018,!0x0,_0x50c11a,_0x1bf45b);let _0x406db9=_0x5c1c74['findNodePositionByCharIndex'](_0x166822,!0x0,_0x50c11a,_0x1bf45b);if(_0x406db9==null&&(_0x406db9=_0x5c1c74['findNodePositionByCharIndex'](_0x166822-0x1,!0x1,_0x50c11a,_0x1bf45b)),_0x6d6a85){const {contentBoxPointGroup:_0x441ff7}=_0xd4b4c9[_0x4bd5df(0x2c4)](_0x406db9,_0x406db9);if(_0x441ff7[_0x4bd5df(0x309)]===0x0)continue;this[_0x4bd5df(0x321)](_0x141877,_0x441ff7,_0x2e91d7,_0x13a3ec,_0x662b4c),this[_0x4bd5df(0x2ee)]=this[_0x4bd5df(0x375)]();}if(_0x543a74&&_0x406db9){if(_0x3ab1c6===_0x56dc04[_0x4bd5df(0x335)]){const _0x30ae96=new _0x24e4de(_0x1fc8bc,_0x5c1c74),{pointGroup:_0x37d3b8}=(_0x5ac807=_0x30ae96[_0x4bd5df(0x2c4)](_0x543a74,_0x406db9))!=null?_0x5ac807:{};if(_0x37d3b8==null||_0x37d3b8['length']===0x0)continue;this[_0x4bd5df(0x1ab)](_0x141877,_0x37d3b8,_0x2e91d7,_0x13a3ec);}else{if(!_0x27e67f){const {borderBoxPointGroup:_0x422cbf}=_0xd4b4c9[_0x4bd5df(0x2c4)](_0x543a74,_0x406db9);if(_0x422cbf[_0x4bd5df(0x309)]===0x0)continue;this[_0x4bd5df(0x196)](_0x141877,_0x422cbf,_0x2e91d7,_0x13a3ec);}}}}}['_drawAnchor'](_0x1f5a4d,_0x387e82,_0x1f1e2b,_0x4a15dc,_0xf6c89b){const _0x83fef1=_0x599345,_0x23e8f0=this['_getAnchorBounding'](_0x387e82),{left:_0x16c5a0,top:_0x81fe41,height:_0xafb3f8}=_0x23e8f0,_0x9229a7=this[_0x83fef1(0x314)](),_0x1e1657=Hi/_0x9229a7,_0x301eb5=new _0x455129(ve+_0x4feca8(K),{'left':_0x16c5a0+_0x1f1e2b-_0x1e1657,'top':_0x81fe41+_0x4a15dc,'height':_0xafb3f8,'width':ki,'fill':_0x1f5a4d||_0x43e280(_0x239945['black'],0x0),'strokeWidth':_0x1e1657,'stroke':Fi,'evented':!0x0});this['_anchor']=_0x301eb5,this[_0x83fef1(0x1e0)]['addObject'](_0x301eb5,_0x495d53);const _0x1ef3f2=new _0x455129(ve+_0x4feca8(K),{'left':_0x16c5a0+_0x1f1e2b-_0x1e1657,'top':_0x81fe41+_0x4a15dc-ge/0x2,'height':ge,'width':ge,'fill':_0x1f5a4d||_0x43e280(_0x239945[_0x83fef1(0x2ca)],0x0),'strokeWidth':0x0,'stroke':_0x1f5a4d||_0x43e280(_0x239945[_0x83fef1(0x2ca)],0x0),'evented':!0x1});this[_0x83fef1(0x219)]=_0x1ef3f2,this[_0x83fef1(0x1e0)]['addObject'](_0x1ef3f2,_0x495d53);const _0x1cd1e0=new ue(ve+_0x4feca8(K),{'left':_0x16c5a0+_0x1f1e2b-_0x1e1657,'top':_0x81fe41+_0x4a15dc-J,'text':_0xf6c89b,'color':_0x1f5a4d});this[_0x83fef1(0x355)]=_0x1cd1e0,this['_scene'][_0x83fef1(0x21a)](_0x1cd1e0,_0x495d53),this[_0x83fef1(0x319)]=!0x1;}[_0x599345(0x375)](){const _0x2b6696=_0x599345,_0x52a708=this[_0x2b6696(0x2bc)][_0x2b6696(0x285)][_0x2b6696(0x2b8)](()=>{const _0xf6a6a7=_0x2b6696;this[_0xf6a6a7(0x319)]=!0x0;}),_0x5be9fb=this[_0x2b6696(0x2bc)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x52efe9=_0x2b6696;this[_0x52efe9(0x2a5)]&&clearTimeout(this[_0x52efe9(0x2a5)]),this[_0x52efe9(0x2a5)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x52a708['unsubscribe'](),_0x5be9fb['unsubscribe']();};}[_0x599345(0x196)](_0x2335f0,_0x4ff8ad,_0x5225ce,_0x54e931){const _0x4be9b5=_0x599345,_0x3a0239=new _0x6a24fb(_0x2335f0)[_0x4be9b5(0x205)](0.2)['toRgbString'](),_0x4858c6=new _0x51b771(xi+_0x4feca8(K),{'pointsGroup':_0x4ff8ad,'fill':_0x3a0239||_0x43e280(_0x239945[_0x4be9b5(0x2ca)],0.2),'left':_0x5225ce,'top':_0x54e931,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4be9b5(0x2fd)](_0x4858c6),this[_0x4be9b5(0x1e0)]['addObject'](_0x4858c6,_0x495d53);}[_0x599345(0x1ab)](_0x15ec9a,_0x44d63e,_0x445b37,_0x220bd3){const _0x2049e3=_0x599345,_0xcfab0b=new _0x6a24fb(_0x15ec9a)[_0x2049e3(0x205)](0.2)[_0x2049e3(0x230)](),_0x210f5f=new _0x51b771(Bi+_0x4feca8(K),{'pointsGroup':_0x44d63e,'fill':_0xcfab0b||_0x43e280(_0x239945[_0x2049e3(0x2ca)],0.2),'left':_0x445b37,'top':_0x220bd3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2049e3(0x2e8)]['push'](_0x210f5f),this['_scene'][_0x2049e3(0x21a)](_0x210f5f,_0x495d53);}['_getAnchorBounding'](_0x5aa413){const _0x4874d1=_0x5aa413[0x0],_0x201f1f=_0x4874d1[0x0],_0x26544b=_0x4874d1[0x2],{x:_0x302584,y:_0x1c3a4c}=_0x201f1f,{x:_0x324c5b,y:_0x3f922d}=_0x26544b;return{'left':_0x302584,'top':_0x1c3a4c,'width':_0x324c5b-_0x302584,'height':_0x3f922d-_0x1c3a4c};}[_0x599345(0x314)](){const {scaleX:_0x423000,scaleY:_0x439b28}=this['_scene']['getAncestorScale']();return Math['max'](_0x423000,_0x439b28);}}var Yi=Object['getOwnPropertyDescriptor'],ji=(_0x132e89,_0x25f9b7,_0xbda832,_0x3abea3)=>{const _0x33209c=_0x599345;for(var _0x280827=_0x3abea3>0x1?void 0x0:_0x3abea3?Yi(_0x25f9b7,_0xbda832):_0x25f9b7,_0x207a13=_0x132e89[_0x33209c(0x309)]-0x1,_0x5ce5b9;_0x207a13>=0x0;_0x207a13--)(_0x5ce5b9=_0x132e89[_0x207a13])&&(_0x280827=_0x5ce5b9(_0x280827)||_0x280827);return _0x280827;},ee=(_0x14f136,_0x2d2299)=>(_0xbdc25b,_0x21f3a5)=>_0x2d2299(_0xbdc25b,_0x21f3a5,_0x14f136);let Le=class extends _0x2cb2a{constructor(_0x204988,_0xd6ed45,_0x508b01,_0x474a10,_0x586f83){const _0x49a2bc=_0x599345;super(),_(this,'_cursorShapes',[]),_(this,_0x49a2bc(0x1a8),[]),(this[_0x49a2bc(0x35c)]=_0x204988,this[_0x49a2bc(0x1d8)]=_0xd6ed45,this['_collabCursorController']=_0x508b01,this['_commandService']=_0x474a10,this['_themeService']=_0x586f83,this[_0x49a2bc(0x2b5)]());}[_0x599345(0x2b5)](){const _0x2543d2=_0x599345,_0x3383e3=this[_0x2543d2(0x35c)][_0x2543d2(0x36a)],_0x354477=this[_0x2543d2(0x1d8)];this[_0x2543d2(0x2ef)](_0x29f85b([this[_0x2543d2(0x171)][_0x2543d2(0x1d3)](_0x3383e3),this[_0x2543d2(0x245)]['currentTheme$']])[_0x2543d2(0x348)](_0x38f408(([_0x4b3311,_0x4a7196])=>({'skeleton':_0x354477[_0x2543d2(0x31e)](),'cursors':[..._0x4b3311['values']()][_0x2543d2(0x190)](_0xf20efe=>({..._0xf20efe,'color':this[_0x2543d2(0x245)]['getColorFromTheme'](_0xf20efe[_0x2543d2(0x1d0)])}))})))[_0x2543d2(0x32c)](_0xb4f50d=>{const _0x143171=_0x2543d2;if(this[_0x143171(0x377)](),_0xb4f50d){const {skeleton:_0x8e272b,cursors:_0x13ab4c}=_0xb4f50d;this[_0x143171(0x1be)](_0x8e272b,_0x13ab4c);}})),this[_0x2543d2(0x312)](),this[_0x2543d2(0x203)]();}[_0x599345(0x1be)](_0x42b926,_0x1543af){const _0x35f727=_0x599345,{scene:_0x4fcb16,mainComponent:_0x551578}=this['_context'],_0x44bd87=_0x1543af['map'](_0x39f6f7=>new qe(_0x39f6f7,_0x4fcb16,_0x42b926,_0x551578));this[_0x35f727(0x33b)]=_0x44bd87,this['_cursors']=_0x1543af;}[_0x599345(0x2f6)](){const _0x68297f=_0x599345;this[_0x68297f(0x377)]();const {scene:_0x178023,mainComponent:_0xbc1a60}=this[_0x68297f(0x35c)],_0x17a32d=this[_0x68297f(0x1d8)]['getSkeleton'](),_0x688b90=this['_cursors']['map'](_0x406094=>new qe(_0x406094,_0x178023,_0x17a32d,_0xbc1a60));this['_cursorShapes']=_0x688b90;}[_0x599345(0x377)](){const _0x3586a7=_0x599345;this[_0x3586a7(0x33b)][_0x3586a7(0x172)](_0x4de09e=>_0x4de09e['dispose']()),this[_0x3586a7(0x33b)]=[];}['_initCommandExecutedListener'](){const _0x22d817=_0x599345,_0x277892=[_0x5c27a1['id']];this[_0x22d817(0x2ef)](this[_0x22d817(0x1cb)]['onCommandExecuted'](_0x4eda6d=>{const _0x357a44=_0x22d817;_0x277892[_0x357a44(0x256)](_0x4eda6d['id'])&&_0x4eda6d[_0x357a44(0x2e4)][_0x357a44(0x36a)]===this['_context'][_0x357a44(0x36a)]&&this['_refreshCollabCursors']();}));}[_0x599345(0x312)](){const _0x213ac5=_0x599345;this['disposeWithMe'](_0x2e090f(this['_context'][_0x213ac5(0x177)][_0x213ac5(0x189)])[_0x213ac5(0x348)](_0x201453(_0x5263ee=>_0x5263ee[_0x213ac5(0x325)]===_0x4c58bd[_0x213ac5(0x28c)]),_0x23c7cc(0x10))[_0x213ac5(0x32c)](()=>{const _0x2a7b63=_0x213ac5;this[_0x2a7b63(0x2f6)]();}));}};Le=ji([ee(0x1,_0x1cbf10(_0x1a8861)),ee(0x2,_0x1cbf10(F)),ee(0x3,_0x56819f),ee(0x4,_0x1cbf10(_0x374bfd))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0xe0519b{constructor(_0x369ccf,_0xfb7b43){const _0x39b0f7=_0x599345;super(_0x369ccf,_0xfb7b43),_(this,_0x39b0f7(0x2d3)),_(this,_0x39b0f7(0x246),!0x1),_(this,_0x39b0f7(0x1a6)),_(this,_0x39b0f7(0x34e),''),_(this,'_labelPosition',_0x39b0f7(0x358)),_(this,'_backgroundColor'),(_0xfb7b43&&this[_0x39b0f7(0x18c)](_0xfb7b43),this[_0x39b0f7(0x285)][_0x39b0f7(0x2b8)](()=>this[_0x39b0f7(0x18c)]({'hovered':!0x0})),this[_0x39b0f7(0x370)]['subscribeEvent'](()=>this[_0x39b0f7(0x18c)]({'hovered':!0x1})));}['setShapeProps'](_0x5abb50){const _0x322cb4=_0x599345;var _0x17aae7,_0x488f5c,_0x41d0e3,_0x4d4f80,_0x5281df,_0x55f807;this[_0x322cb4(0x2d3)]=(_0x17aae7=_0x5abb50[_0x322cb4(0x1d0)])!=null?_0x17aae7:this[_0x322cb4(0x2d3)],this[_0x322cb4(0x246)]=(_0x488f5c=_0x5abb50[_0x322cb4(0x30d)])!=null?_0x488f5c:this[_0x322cb4(0x246)],this[_0x322cb4(0x1a6)]=(_0x41d0e3=_0x5abb50['range'])!=null?_0x41d0e3:this[_0x322cb4(0x1a6)],this['_name']=(_0x4d4f80=_0x5abb50[_0x322cb4(0x2bd)])!=null?_0x4d4f80:this[_0x322cb4(0x34e)],this[_0x322cb4(0x315)]=(_0x5281df=_0x5abb50[_0x322cb4(0x271)])!=null?_0x5281df:this[_0x322cb4(0x315)],this[_0x322cb4(0x1c0)]=(_0x55f807=_0x5abb50['backgroundColor'])!=null?_0x55f807:this[_0x322cb4(0x1c0)],this[_0x322cb4(0x1bb)]({'width':_0x5abb50[_0x322cb4(0x30a)],'height':_0x5abb50[_0x322cb4(0x2d1)]});}[_0x599345(0x259)](_0x2ed931){const _0x5103ec=_0x599345,{row:_0x6f3e12,column:_0x48c889}=_0x2ed931;if(_0x6f3e12>=this[_0x5103ec(0x1a6)][_0x5103ec(0x1c1)]&&_0x6f3e12<=this[_0x5103ec(0x1a6)][_0x5103ec(0x284)]&&_0x48c889>=this['_range']['startColumn']&&_0x48c889<=this[_0x5103ec(0x1a6)][_0x5103ec(0x2fe)]){this[_0x5103ec(0x18c)]({'hovered':!0x0});return;}this[_0x5103ec(0x18c)]({'hovered':!0x1});}[_0x599345(0x180)](_0x4994d6){return!0x1;}[_0x599345(0x22e)](_0x28ac82){const _0x1af720=_0x599345;_0x455129[_0x1af720(0x263)](_0x28ac82,{'width':this['width'],'height':this[_0x1af720(0x2d1)],'strokeWidth':Wi,'stroke':this[_0x1af720(0x2d3)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x28ac82['save'](),_0x28ac82[_0x1af720(0x261)](0x1,0x0,0x0,0x1,this[_0x1af720(0x30a)],this[_0x1af720(0x315)]===_0x1af720(0x1f0)?0x0:-J),ue[_0x1af720(0x263)](_0x28ac82,{'text':this[_0x1af720(0x34e)],'color':this[_0x1af720(0x2d3)]}),_0x28ac82[_0x1af720(0x1aa)]());}}var Gi=Object[_0x599345(0x2ab)],Ki=(_0x8ffa42,_0x5a75a2,_0x4dbef7,_0xf4435b)=>{for(var _0x199094=_0xf4435b>0x1?void 0x0:_0xf4435b?Gi(_0x5a75a2,_0x4dbef7):_0x5a75a2,_0x50ed27=_0x8ffa42['length']-0x1,_0x39284d;_0x50ed27>=0x0;_0x50ed27--)(_0x39284d=_0x8ffa42[_0x50ed27])&&(_0x199094=_0x39284d(_0x199094)||_0x199094);return _0x199094;},pe=(_0x53c10b,_0x170146)=>(_0x3f3c4e,_0x52b78c)=>_0x170146(_0x3f3c4e,_0x52b78c,_0x53c10b);const zi=0x1389;let Pe=class extends _0x2cb2a{constructor(_0x2edd61,_0x4d6c7e,_0x559179,_0x24d3ec){const _0x1583bd=_0x599345;super(),_(this,_0x1583bd(0x1a8),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x2edd61,this[_0x1583bd(0x1ad)]=_0x4d6c7e,this['_collabCursorController']=_0x559179,this[_0x1583bd(0x245)]=_0x24d3ec,this[_0x1583bd(0x2b5)]());}[_0x599345(0x2b5)](){const _0x207b72=_0x599345;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x3e781d(this[_0x207b72(0x36e)]),_0x381586(_0x442835=>{const _0x2c1b24=_0x207b72;if(_0x442835){const _0x641db3=_0x442835[_0x2c1b24(0x1da)];return _0x29f85b(this[_0x2c1b24(0x171)][_0x2c1b24(0x1d3)](this[_0x2c1b24(0x35c)][_0x2c1b24(0x36a)]),this[_0x2c1b24(0x245)][_0x2c1b24(0x182)])[_0x2c1b24(0x348)](_0x38f408(([_0x2ff0d6,_0x3d8997])=>{const _0x2f7563=new Map();return _0x2ff0d6['forEach']((_0x44e418,_0x3c61c3)=>{const _0x33c70c=_0x1fe7;if(_0x44e418[_0x33c70c(0x254)]===_0x641db3){const _0x2f7cad={..._0x44e418};_0x2f7cad[_0x33c70c(0x1d0)]=this[_0x33c70c(0x245)][_0x33c70c(0x185)](_0x44e418[_0x33c70c(0x1d0)]),_0x2f7563[_0x33c70c(0x31d)](_0x3c61c3,_0x2f7cad);}}),{'skeleton':_0x442835,'cursors':_0x2f7563};}));}return _0x18014b({'skeleton':null,'cursors':new Map()});}))[_0x207b72(0x32c)](({skeleton:_0x29dd66,cursors:_0xb6c86a})=>{const _0x39996d=_0x207b72;this[_0x39996d(0x377)](),_0x29dd66&&this[_0x39996d(0x1be)](_0x29dd66,_0xb6c86a);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x207b72(0x32c)](_0x324c76=>{if(_0x324c76==null)return;const {skeleton:_0x3ef4bf}=_0x324c76,{scene:_0x49e808}=this['_context'];_0x49e808['onPointerMove$']['subscribeEvent'](_0x25bcfa(_0x4b55e2=>{const _0x2f5a9f=_0x1fe7;var _0x4ce61a,_0x337f43;const {offsetX:_0x5b4899,offsetY:_0x31bbfe}=_0x4b55e2,{x:_0x35476c,y:_0x506bb1}=_0x49e808[_0x2f5a9f(0x22a)](_0xc8d42b['FromArray']([_0x5b4899,_0x31bbfe])),{scaleX:_0x25bae5,scaleY:_0x486566}=_0x49e808['getAncestorScale'](),_0xa3757a=_0x49e808[_0x2f5a9f(0x34f)](_0xf37fad[_0x2f5a9f(0x1e2)]),_0x32109e=_0x49e808[_0x2f5a9f(0x296)](_0xc8d42b[_0x2f5a9f(0x2ba)]([_0x35476c,_0x506bb1]),_0xa3757a),_0x19e7a6=_0x3ef4bf[_0x2f5a9f(0x374)](_0x5b4899,_0x31bbfe,_0x25bae5,_0x486566,_0x32109e);((_0x4ce61a=this['_lastPointer'])==null?void 0x0:_0x4ce61a['column'])===_0x19e7a6['column']&&((_0x337f43=this[_0x2f5a9f(0x176)])==null?void 0x0:_0x337f43['row'])===_0x19e7a6[_0x2f5a9f(0x360)]||this['_cursors'][_0x2f5a9f(0x172)](_0x3710ba=>{_0x3710ba['onMouseMove'](_0x19e7a6);});},0x64));});}[_0x599345(0x1be)](_0x222da0,_0x56ca8d){const _0x57754e=_0x599345;var _0x93631e;const _0xdbb9bd=(_0x93631e=this[_0x57754e(0x1ad)][_0x57754e(0x29c)]())==null?void 0x0:_0x93631e['skeleton'];if(!_0xdbb9bd)return;const _0x545362=this['_getSheetObject']();if(!_0x545362)return;this[_0x57754e(0x1a8)][_0x57754e(0x172)](_0x214d9f=>{const _0x380625=_0x57754e;_0x214d9f[_0x380625(0x1b2)]();});const {scene:_0x14e406}=_0x545362,_0x3aa8f5=Ji(Array[_0x57754e(0x1e5)](_0x56ca8d[_0x57754e(0x187)]()))['map'](_0x4eac31=>{const _0x4c7fb4=_0x57754e,{color:_0x316ce5,range:_0x1d6f2f,name:_0x38f20f,selection:_0x404a26,sheetID:_0x208bce}=_0x4eac31,{startColumn:_0xf2dd7f,startRow:_0x5ad1dd,endColumn:_0x42317a,endRow:_0x1dc385}=_0x1d6f2f,_0x5c00e8=_0x32ccb7(_0x5ad1dd,_0xf2dd7f,_0x14e406,_0xdbb9bd),_0x496233=_0x32ccb7(_0x1dc385,_0x42317a,_0x14e406,_0xdbb9bd),{columnHeaderHeightAndMarginTop:_0xa2f240}=_0xdbb9bd,{startX:_0x2a8177,startY:_0x395f48}=_0x5c00e8,{endX:_0x300b77,endY:_0x26f98f}=_0x496233,_0x255b76=_0x300b77-_0x2a8177,_0x24348c=_0x26f98f-_0x395f48,_0x34f064={'labelPosition':_0x395f48-_0xa2f240>=J?_0x4c7fb4(0x358):_0x4c7fb4(0x1f0),'sheetID':_0x208bce,'range':_0x1d6f2f,'color':_0x316ce5,'name':_0x38f20f,'selection':_0x404a26,'left':_0x2a8177,'top':_0x395f48,'width':_0x255b76,'height':_0x24348c,'evented':!0x1,'zIndex':zi};return new Xi(_0x38f20f,_0x34f064);});_0x14e406[_0x57754e(0x338)](_0x3aa8f5,Vi),this['_cursors']=new Set(_0x3aa8f5);}[_0x599345(0x377)](){const _0x26fb18=_0x599345;var _0x4ab609;(_0x4ab609=this['_cursors'])==null||_0x4ab609['forEach'](_0xd51628=>_0xd51628[_0x26fb18(0x282)]());}[_0x599345(0x1e3)](){const _0x3d4978=_0x599345;return _0x178a7d(this[_0x3d4978(0x35c)][_0x3d4978(0x1d9)],this['_context']);}};Pe=Ki([pe(0x1,_0x1cbf10(_0x21c3b1)),pe(0x2,_0x1cbf10(F)),pe(0x3,_0x1cbf10(_0x374bfd))],Pe);function Ji(_0x29399b){const _0x6b30d1=_0x599345,_0xb7197=new Map();return _0x29399b[_0x6b30d1(0x172)](_0x2cf2ef=>{const _0x321ac1=_0x6b30d1;if(_0xb7197[_0x321ac1(0x34c)](_0x2cf2ef[_0x321ac1(0x36c)])){const _0x580ce9=_0xb7197[_0x321ac1(0x2c1)](_0x2cf2ef[_0x321ac1(0x36c)]);_0x580ce9[_0x321ac1(0x2bd)]+=',\x20'+_0x2cf2ef[_0x321ac1(0x2bd)];}else _0xb7197['set'](_0x2cf2ef['selection'],_0x2cf2ef);}),Array[_0x6b30d1(0x1e5)](_0xb7197[_0x6b30d1(0x187)]());}var Zi=Object[_0x599345(0x2ab)],Qi=(_0x44fab0,_0x327a60,_0x3f4c33,_0x3f29f9)=>{const _0x4e4cf3=_0x599345;for(var _0xa81a2=_0x3f29f9>0x1?void 0x0:_0x3f29f9?Zi(_0x327a60,_0x3f4c33):_0x327a60,_0x46301b=_0x44fab0[_0x4e4cf3(0x309)]-0x1,_0x2614e2;_0x46301b>=0x0;_0x46301b--)(_0x2614e2=_0x44fab0[_0x46301b])&&(_0xa81a2=_0x2614e2(_0xa81a2)||_0xa81a2);return _0xa81a2;},B=(_0x1dfdb9,_0xcca3a)=>(_0x160738,_0x4a7572)=>_0xcca3a(_0x160738,_0x4a7572,_0x1dfdb9);let ne=class extends _0x4999ff{constructor(_0x35707e,_0x1b9a10,_0x15f97b,_0x77f8f5,_0x1b24d0,_0x21dfa7){const _0x5ec843=_0x599345;super(),this['_beforeCloseService']=_0x35707e,this[_0x5ec843(0x2e7)]=_0x1b9a10,this[_0x5ec843(0x298)]=_0x15f97b,this[_0x5ec843(0x188)]=_0x77f8f5,this[_0x5ec843(0x311)]=_0x1b24d0,this[_0x5ec843(0x236)]=_0x21dfa7,this[_0x5ec843(0x22b)](),this[_0x5ec843(0x2e6)]();}['_setupBeforeClosingHandler'](){const _0x55104f=_0x599345;this['disposeWithMe'](this[_0x55104f(0x32d)][_0x55104f(0x255)](()=>{const _0x56be22=_0x55104f;if(this['_localCacheService'][_0x56be22(0x2c6)][_0x56be22(0x27f)])return this[_0x56be22(0x236)]['t'](_0x56be22(0x339));}));}['_initEvent'](){const _0x23050b=_0x599345;this['disposeWithMe'](this[_0x23050b(0x298)][_0x23050b(0x1d4)][_0x23050b(0x32c)](_0x182946=>{const _0x25971d=_0x23050b;_0x182946['id']===_0x1293f3[_0x25971d(0x372)]&&this[_0x25971d(0x188)][_0x25971d(0x242)]({'type':_0x4f6623[_0x25971d(0x258)],'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x220))}),_0x182946['id']===_0x1293f3[_0x25971d(0x170)]&&this[_0x25971d(0x188)][_0x25971d(0x242)]({'type':_0x4f6623['Warning'],'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x272))}),_0x182946['id']===_0x1293f3['PERMISSION_DENIED']&&this['_notificationService'][_0x25971d(0x242)]({'title':this[_0x25971d(0x236)]['t'](_0x25971d(0x233)),'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x31b)),'type':'error','duration':0x0}),_0x182946['id']===_0x1293f3[_0x25971d(0x362)]&&this[_0x25971d(0x188)][_0x25971d(0x242)]({'type':_0x4f6623[_0x25971d(0x26a)],'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x272))+'('+_0x182946['data']+')'}),_0x182946['id']===_0x1293f3[_0x25971d(0x37a)]&&this[_0x25971d(0x188)][_0x25971d(0x242)]({'type':_0x4f6623[_0x25971d(0x258)],'content':this[_0x25971d(0x236)]['t'](_0x182946[_0x25971d(0x266)]||'')}),_0x182946['id']===_0x1293f3[_0x25971d(0x330)]&&this[_0x25971d(0x188)][_0x25971d(0x242)]({'type':_0x4f6623[_0x25971d(0x258)],'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x1bd))}),_0x182946['id']===_0x1293f3[_0x25971d(0x356)]&&this['_messageService'][_0x25971d(0x242)]({'type':_0x4f6623[_0x25971d(0x26a)],'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x2d7))}),_0x182946['id']===_0x1293f3['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x25971d(0x188)][_0x25971d(0x242)]({'type':_0x4f6623[_0x25971d(0x26a)],'content':this[_0x25971d(0x236)]['t'](_0x25971d(0x23f))});}));}};ne=Qi([B(0x0,_0x150887),B(0x1,_0x3dac38),B(0x2,_0x1cbf10(_0xbe2638)),B(0x3,_0x465d3e),B(0x4,_0x2b785a),B(0x5,_0x1cbf10(_0x16f669))],ne);const qi='collaboration-client-ui.config',et={};var en=Object['getOwnPropertyDescriptor'],tn=(_0x2f851,_0x19b90f,_0x3b7683,_0x1bf8b1)=>{const _0x1f3981=_0x599345;for(var _0xa7caa0=_0x1bf8b1>0x1?void 0x0:_0x1bf8b1?en(_0x19b90f,_0x3b7683):_0x19b90f,_0x24643a=_0x2f851[_0x1f3981(0x309)]-0x1,_0x1a7f2a;_0x24643a>=0x0;_0x24643a--)(_0x1a7f2a=_0x2f851[_0x24643a])&&(_0xa7caa0=_0x1a7f2a(_0xa7caa0)||_0xa7caa0);return _0xa7caa0;},tt=(_0x36603b,_0xaf461a)=>(_0xbd40e6,_0x4946ea)=>_0xaf461a(_0xbd40e6,_0x4946ea,_0x36603b);let re=class{constructor(_0x53b0d8,_0x5415c4){this['_transformService']=_0x53b0d8,this['_renderManagerService']=_0x5415c4;}['transformIMECache'](_0x8b8703){const _0x2b6b57=_0x599345;this[_0x2b6b57(0x1f3)](_0x8b8703),this[_0x2b6b57(0x2c7)](_0x8b8703);}[_0x599345(0x27a)](_0x24dd2f){const _0x5641cd=_0x599345,{unitID:_0x33354a}=_0x24dd2f,_0x518fe6=this[_0x5641cd(0x1c6)][_0x5641cd(0x20d)](_0x33354a)[_0x5641cd(0x2c2)](_0x430150),{redoCache:_0x4a44eb}=_0x518fe6[_0x5641cd(0x250)]();if(_0x4a44eb['length']===0x0)return _0x24dd2f;let _0xbba933=_0x466a6b[_0x5641cd(0x367)](_0x24dd2f['mutations'][0x0]);for(let _0x11e5fc=0x0;_0x11e5fc<_0x4a44eb[_0x5641cd(0x309)];_0x11e5fc++){const _0x574a19={'id':'doc.mutation.rich-text-editing','params':{..._0x4a44eb[_0x11e5fc]}},_0x26adf6=this[_0x5641cd(0x2c9)]['transformMutation'](_0xbba933,_0x574a19,!0x1);if(_0xfc9cee(_0x26adf6))throw _0x26adf6[_0x5641cd(0x1b8)];_0xbba933=_0x26adf6[_0x5641cd(0x1b5)];}return{..._0x466a6b[_0x5641cd(0x367)](_0x24dd2f),'mutations':[_0xbba933]};}[_0x599345(0x1f3)](_0x136b9f){const _0x2093f7=_0x599345,{unitID:_0x3a4706}=_0x136b9f,_0x584a4e=this[_0x2093f7(0x1c6)][_0x2093f7(0x20d)](_0x3a4706)[_0x2093f7(0x2c2)](_0x430150),{undoCache:_0x21b4b0,redoCache:_0x27d4ef}=_0x584a4e[_0x2093f7(0x250)]();if(_0x21b4b0['length']===0x0||_0x27d4ef[_0x2093f7(0x309)]===0x0)return;const _0x313e31=[],_0x1141d7=[];let _0x13f8bb=_0x466a6b[_0x2093f7(0x367)](_0x136b9f[_0x2093f7(0x268)][0x0]),_0x3af1b8=_0x466a6b[_0x2093f7(0x367)](_0x136b9f[_0x2093f7(0x268)][0x0]);for(let _0x585574=_0x21b4b0[_0x2093f7(0x309)]-0x1;_0x585574>=0x0;_0x585574--){const _0x5a720c={'id':_0x2093f7(0x33a),'params':{..._0x21b4b0[_0x585574]}},_0x23c9c2={'id':'doc.mutation.rich-text-editing','params':{..._0x27d4ef[_0x585574]}},_0x429763=this['_transformService'][_0x2093f7(0x1fb)](_0x13f8bb,_0x5a720c,!0x1),_0x575a00=this[_0x2093f7(0x2c9)][_0x2093f7(0x1fb)](_0x3af1b8,_0x23c9c2,!0x1);if(_0xfc9cee(_0x429763))throw _0x429763[_0x2093f7(0x1b8)];if(_0xfc9cee(_0x575a00))throw _0x575a00['error'];_0x313e31[_0x2093f7(0x286)](_0x429763[_0x2093f7(0x24f)][_0x2093f7(0x2e4)]),_0x1141d7[_0x2093f7(0x286)](_0x575a00[_0x2093f7(0x24f)][_0x2093f7(0x2e4)]),_0x13f8bb=_0x429763[_0x2093f7(0x1b5)],_0x3af1b8=_0x575a00['m1Prime'];}_0x584a4e[_0x2093f7(0x2a6)]({'undoCache':_0x313e31,'redoCache':_0x1141d7});}[_0x599345(0x2c7)](_0x5e0369){const _0x66c92e=_0x599345,{unitID:_0x43e9a3}=_0x5e0369,_0x44d999=this[_0x66c92e(0x1c6)]['getRenderById'](_0x43e9a3)[_0x66c92e(0x2c2)](_0x430150),_0x188a6a=_0x44d999[_0x66c92e(0x1e9)]();if(_0x188a6a==null)return;const _0x50a46f=[{'id':_0x66c92e(0x33a),'params':{'unitId':_0x5e0369[_0x66c92e(0x1e6)],'actions':null,'textRanges':[_0x188a6a]}}],_0x1692fd=this[_0x66c92e(0x2c9)]['transformMutationsWithChangeset'](_0x5e0369,_0x50a46f);if(!_0x1b6b99(_0x1692fd))throw _0x1692fd[_0x66c92e(0x1b8)];const _0x5ef76d=_0x1692fd['m2Prime'][0x0][_0x66c92e(0x2e4)][_0x66c92e(0x240)];Array[_0x66c92e(0x229)](_0x5ef76d)&&_0x5ef76d[_0x66c92e(0x309)]&&_0x44d999[_0x66c92e(0x289)](_0x5ef76d[0x0]);}};re=tn([tt(0x0,_0x401880),tt(0x1,_0x255be2)],re);var sn=Object[_0x599345(0x2ab)],nn=(_0x4a1c15,_0x301363,_0x509784,_0x42612c)=>{const _0x532022=_0x599345;for(var _0x1873dd=_0x42612c>0x1?void 0x0:_0x42612c?sn(_0x301363,_0x509784):_0x301363,_0x159c95=_0x4a1c15[_0x532022(0x309)]-0x1,_0x485718;_0x159c95>=0x0;_0x159c95--)(_0x485718=_0x4a1c15[_0x159c95])&&(_0x1873dd=_0x485718(_0x1873dd)||_0x1873dd);return _0x1873dd;},Ce=(_0x192de3,_0x573b60)=>(_0x2cc6e3,_0x26b5af)=>_0x573b60(_0x2cc6e3,_0x26b5af,_0x192de3);let oe=class{constructor(_0x3b0df3,_0x343f7d,_0x4f9cb0){const _0x31dec9=_0x599345;this['_injector']=_0x3b0df3,this[_0x31dec9(0x2c9)]=_0x343f7d,this['_docStateChangeManagerService']=_0x4f9cb0;}[_0x599345(0x201)](_0xec6ceb){this['_transformHistoryAndStateStack'](_0xec6ceb);}[_0x599345(0x27a)](_0x2abea7){const _0x28616c=_0x599345,{unitID:_0x4755a0}=_0x2abea7,{collaboration:_0x3e257d}=this[_0x28616c(0x27d)][_0x28616c(0x37b)](_0x4755a0);if(_0x3e257d[_0x28616c(0x309)]===0x0)return _0x2abea7;let _0x3cf917=_0x466a6b[_0x28616c(0x367)](_0x2abea7[_0x28616c(0x268)][0x0]);for(let _0x50d853=0x0;_0x50d853<_0x3e257d[_0x28616c(0x309)];_0x50d853++){const _0x3a9f35={'id':_0x28616c(0x33a),'params':{'unitId':_0x3e257d[_0x50d853][_0x28616c(0x36a)],..._0x3e257d[_0x50d853][_0x28616c(0x293)]}},_0x463976=this['_transformService'][_0x28616c(0x1fb)](_0x3cf917,_0x3a9f35,!0x1);if(_0xfc9cee(_0x463976))throw _0x463976[_0x28616c(0x1b8)];_0x3cf917=_0x463976[_0x28616c(0x1b5)];}return{..._0x466a6b[_0x28616c(0x367)](_0x2abea7),'mutations':[_0x3cf917]};}[_0x599345(0x2f7)](_0x9f35d1){const _0x10e38e=_0x599345,{unitID:_0x2f1b4b}=_0x9f35d1,{history:_0x45c0b5,collaboration:_0x515ad9}=this[_0x10e38e(0x27d)][_0x10e38e(0x37b)](_0x2f1b4b);if(_0x45c0b5[_0x10e38e(0x309)]===0x0&&_0x515ad9[_0x10e38e(0x309)]===0x0)return;const _0x5ed1b4=[],_0x1210bb=[];let _0x36972c=_0x466a6b[_0x10e38e(0x367)](_0x9f35d1[_0x10e38e(0x268)][0x0]),_0x4462e5=_0x466a6b[_0x10e38e(0x367)](_0x9f35d1[_0x10e38e(0x268)][0x0]);for(let _0x1f60f3=_0x45c0b5[_0x10e38e(0x309)]-0x1;_0x1f60f3>=0x0;_0x1f60f3--){const _0x49b219={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x45c0b5[_0x1f60f3]['unitId'],..._0x45c0b5[_0x1f60f3]['undoState']}},_0x357dea={'id':_0x10e38e(0x33a),'params':{'unitId':_0x45c0b5[_0x1f60f3][_0x10e38e(0x36a)],..._0x45c0b5[_0x1f60f3][_0x10e38e(0x293)]}},_0x5a1973=this['_transformService'][_0x10e38e(0x1fb)](_0x36972c,_0x49b219,!0x1),_0x26de64=this[_0x10e38e(0x2c9)][_0x10e38e(0x1fb)](_0x4462e5,_0x357dea,!0x1);if(_0xfc9cee(_0x5a1973))throw _0x5a1973[_0x10e38e(0x1b8)];if(_0xfc9cee(_0x26de64))throw _0x26de64[_0x10e38e(0x1b8)];_0x5ed1b4[_0x10e38e(0x286)]({..._0x45c0b5[_0x1f60f3],'undoState':_0x5a1973[_0x10e38e(0x24f)]['params'],'redoState':_0x26de64[_0x10e38e(0x24f)][_0x10e38e(0x2e4)]}),_0x36972c=_0x5a1973['m1Prime'],_0x4462e5=_0x26de64[_0x10e38e(0x1b5)];}_0x36972c=_0x466a6b[_0x10e38e(0x367)](_0x9f35d1['mutations'][0x0]),_0x4462e5=_0x466a6b['deepClone'](_0x9f35d1[_0x10e38e(0x268)][0x0]);for(let _0x8db4af=_0x515ad9[_0x10e38e(0x309)]-0x1;_0x8db4af>=0x0;_0x8db4af--){const _0x37b06e={'id':_0x10e38e(0x33a),'params':{'unitId':_0x515ad9[_0x8db4af][_0x10e38e(0x36a)],..._0x515ad9[_0x8db4af][_0x10e38e(0x29e)]}},_0x433a4e={'id':_0x10e38e(0x33a),'params':{'unitId':_0x515ad9[_0x8db4af]['unitId'],..._0x515ad9[_0x8db4af][_0x10e38e(0x293)]}},_0x4e9d47=this[_0x10e38e(0x2c9)][_0x10e38e(0x1fb)](_0x36972c,_0x37b06e,!0x1),_0x25db14=this['_transformService'][_0x10e38e(0x1fb)](_0x4462e5,_0x433a4e,!0x1);if(_0xfc9cee(_0x4e9d47))throw _0x4e9d47[_0x10e38e(0x1b8)];if(_0xfc9cee(_0x25db14))throw _0x25db14[_0x10e38e(0x1b8)];_0x1210bb[_0x10e38e(0x286)]({..._0x515ad9[_0x8db4af],'undoState':_0x4e9d47[_0x10e38e(0x24f)][_0x10e38e(0x2e4)],'redoState':_0x25db14['m2Prime'][_0x10e38e(0x2e4)]}),_0x36972c=_0x4e9d47[_0x10e38e(0x1b5)],_0x4462e5=_0x25db14[_0x10e38e(0x1b5)];}this[_0x10e38e(0x27d)]['setStateCache'](_0x2f1b4b,{'history':_0x5ed1b4,'collaboration':_0x1210bb});}};oe=nn([Ce(0x0,_0x1cbf10(_0x5096fa)),Ce(0x1,_0x401880),Ce(0x2,_0x1cbf10(_0x1202aa))],oe);var rn=Object[_0x599345(0x2ab)],on=(_0x586825,_0x46ff4d,_0x4bbbb4,_0x578a66)=>{const _0x4ae25e=_0x599345;for(var _0x468480=_0x578a66>0x1?void 0x0:_0x578a66?rn(_0x46ff4d,_0x4bbbb4):_0x46ff4d,_0x416ef8=_0x586825[_0x4ae25e(0x309)]-0x1,_0x267e95;_0x416ef8>=0x0;_0x416ef8--)(_0x267e95=_0x586825[_0x416ef8])&&(_0x468480=_0x267e95(_0x468480)||_0x468480);return _0x468480;},st=(_0x4af846,_0x430949)=>(_0x315e88,_0x38dfc1)=>_0x430949(_0x315e88,_0x38dfc1,_0x4af846);let ae=class{constructor(_0x2fcda6,_0x408d49){const _0x2cfb7d=_0x599345;this['_injector']=_0x2fcda6,this[_0x2cfb7d(0x2c9)]=_0x408d49;}[_0x599345(0x1e4)](_0x1cadb0){const _0x2f143=_0x599345;var _0x4d54d9;const _0x2a4074=this[_0x2f143(0x303)]['get'](_0xdd81b3),_0x397aba=(_0x4d54d9=_0x2a4074[_0x2f143(0x344)]())!=null?_0x4d54d9:[];if(_0x397aba[_0x2f143(0x309)]===0x0)return;const _0x2920af=_0x1cadb0[_0x2f143(0x1e6)],_0xdb1809=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2920af,'actions':null,'textRanges':_0x397aba}}],_0x2a226f=this[_0x2f143(0x2c9)][_0x2f143(0x1c8)](_0x1cadb0,_0xdb1809);if(!_0x1b6b99(_0x2a226f))throw _0x2a226f['error'];const _0x550ffd=_0x2a226f[_0x2f143(0x24f)][0x0]['params']['textRanges'];Array[_0x2f143(0x229)](_0x550ffd)&&_0x550ffd[_0x2f143(0x309)]&&_0x2a4074[_0x2f143(0x281)](_0x550ffd,{'unitId':_0x2920af,'subUnitId':_0x2920af},!0x1);}};ae=on([st(0x0,_0x1cbf10(_0x5096fa)),st(0x1,_0x401880)],ae);var an=Object[_0x599345(0x2ab)],cn=(_0x2eb0e9,_0x49f86b,_0x266ce2,_0x3213fc)=>{const _0x29d812=_0x599345;for(var _0x476402=_0x3213fc>0x1?void 0x0:_0x3213fc?an(_0x49f86b,_0x266ce2):_0x49f86b,_0x3ce17f=_0x2eb0e9[_0x29d812(0x309)]-0x1,_0x5c76aa;_0x3ce17f>=0x0;_0x3ce17f--)(_0x5c76aa=_0x2eb0e9[_0x3ce17f])&&(_0x476402=_0x5c76aa(_0x476402)||_0x476402);return _0x476402;},N=(_0x568901,_0x13c86f)=>(_0xcf56c7,_0xcf368f)=>_0x13c86f(_0xcf56c7,_0xcf368f,_0x568901);function _0x1fe7(_0x3174f4,_0x1ef86b){const _0x59390c=_0x5939();return _0x1fe7=function(_0x1fe766,_0x2424a2){_0x1fe766=_0x1fe766-0x16b;let _0x293c9b=_0x59390c[_0x1fe766];return _0x293c9b;},_0x1fe7(_0x3174f4,_0x1ef86b);}let ce=class extends _0x4999ff{constructor(_0x6fade2,_0x3d2345,_0xf349ef,_0x4c178d,_0x5ac2a3,_0x3640cb,_0xd179c4,_0x37a24f){const _0x30f27b=_0x599345;super(),_(this,_0x30f27b(0x31c),new _0x5001d5(_0x179362[_0x30f27b(0x226)])),(this[_0x30f27b(0x27d)]=_0x6fade2,this[_0x30f27b(0x16b)]=_0x3d2345,this[_0x30f27b(0x1f1)]=_0xf349ef,this[_0x30f27b(0x217)]=_0x4c178d,this[_0x30f27b(0x1d2)]=_0x5ac2a3,this['_docSyncEditingCollabCursorService']=_0x3640cb,this[_0x30f27b(0x188)]=_0xd179c4,this[_0x30f27b(0x236)]=_0x37a24f,this[_0x30f27b(0x1e8)]());}[_0x599345(0x1e8)](){const _0x49a2fa=_0x599345;this[_0x49a2fa(0x2ef)](this[_0x49a2fa(0x16b)][_0x49a2fa(0x307)][_0x49a2fa(0x32c)](_0x13fc38=>{const _0xc1086b=_0x49a2fa,_0x35f248=this[_0xc1086b(0x27d)][_0xc1086b(0x239)][_0xc1086b(0x32c)](_0x154736=>{const _0x5edb1f=_0xc1086b;if(_0x154736==null)return;const {unitId:_0x195fed,redoState:_0x484558,commandId:_0x47595c}=_0x154736;if(_0x195fed!==_0x13fc38[_0x5edb1f(0x1e6)])return;const _0x549965={'id':_0x47595c,'type':_0x2cfb30['MUTATION'],'params':{'unitId':_0x195fed,'actions':_0x484558[_0x5edb1f(0x1ba)],'textRanges':null}};_0x13fc38[_0x5edb1f(0x376)](_0x549965);});if(_0x13fc38[_0xc1086b(0x2ef)](_0x35f248),_0x13fc38 instanceof _0xf251f3){const _0x4b9692={'onTransformIME':_0x4e0124=>this[_0xc1086b(0x1f1)]['transformIMECache'](_0x4e0124),'onTransformState':_0x37c101=>this['_docTransformStateCacheService'][_0xc1086b(0x201)](_0x37c101),'onTransformSelections':_0x3649c0=>this[_0xc1086b(0x1d2)][_0xc1086b(0x1e4)](_0x3649c0),'onSyncEditingCollabCursor':_0x1b18e5=>this[_0xc1086b(0x2af)][_0xc1086b(0x2ea)](_0x1b18e5),'onTransformRemoteChangesetByIMECache':_0x51067a=>this['_docTransformIMECacheService'][_0xc1086b(0x27a)](_0x51067a),'onTransformRemoteChangesetByStateCache':_0x34f00d=>this[_0xc1086b(0x217)]['transformRemoteChangeset'](_0x34f00d)};_0x13fc38[_0xc1086b(0x2a1)](_0x4b9692);}}));}};ce=cn([N(0x0,_0x1cbf10(_0x1202aa)),N(0x1,_0x1cbf10(_0x128ae1)),N(0x2,_0x1cbf10(re)),N(0x3,_0x1cbf10(oe)),N(0x4,_0x1cbf10(ae)),N(0x5,_0x1cbf10(Fe)),N(0x6,_0x465d3e),N(0x7,_0x1cbf10(_0x16f669))],ce);var ln=Object[_0x599345(0x2ab)],_n=(_0x53fb6d,_0x7a5261,_0x4c2c8c,_0xc72409)=>{const _0x5e79f3=_0x599345;for(var _0x2c995a=_0xc72409>0x1?void 0x0:_0xc72409?ln(_0x7a5261,_0x4c2c8c):_0x7a5261,_0x2265af=_0x53fb6d[_0x5e79f3(0x309)]-0x1,_0xb2f1d;_0x2265af>=0x0;_0x2265af--)(_0xb2f1d=_0x53fb6d[_0x2265af])&&(_0x2c995a=_0xb2f1d(_0x2c995a)||_0x2c995a);return _0x2c995a;},Ee=(_0x18ec38,_0x14ef24)=>(_0x299ce4,_0x181ecc)=>_0x14ef24(_0x299ce4,_0x181ecc,_0x18ec38);let we=class extends _0x4999ff{constructor(_0x3b1924,_0x4dd160,_0x1425dc){const _0x31347d=_0x599345;super(),_(this,_0x31347d(0x32e),new Map()),_(this,_0x31347d(0x175),new Map()),_(this,_0x31347d(0x28e),!0x1),(this['_configService']=_0x3b1924,this['_localStorageService']=_0x4dd160,this[_0x31347d(0x2de)]=_0x1425dc);}[_0x599345(0x20e)](){const _0x1a2c45=_0x599345;this[_0x1a2c45(0x28e)]=!0x0;}[_0x599345(0x368)](){const _0x2b8aec=_0x599345;this[_0x2b8aec(0x28e)]=!0x1;}get[_0x599345(0x2c6)](){const _0x1dda77=_0x599345;return this[_0x1dda77(0x175)];}['dispose'](){const _0x164313=_0x599345;this[_0x164313(0x1a4)]()[_0x164313(0x27c)](()=>super[_0x164313(0x282)]());}async['loadOfflineData'](_0x31ac3b){const _0x382b9e=_0x599345;return this[_0x382b9e(0x28e)]?null:this[_0x382b9e(0x1a0)]['getItem'](_0x27e14f(_0x31ac3b));}async[_0x599345(0x2df)](_0x55b623,_0x1d7881){const _0x405208=_0x599345;return!!this['_localStorageService'][_0x405208(0x1e7)](_0x55b623,_0x1d7881);}[_0x599345(0x1fa)](_0x6798a,_0x4de6c8,_0x32906c,_0x3d48f8){const _0x5a8f07=_0x599345,_0x5ce726=this[_0x5a8f07(0x2de)][_0x5a8f07(0x342)](_0x6798a);this[_0x5a8f07(0x32e)]['set'](_0x6798a,{'unitID':_0x6798a,'type':_0x4de6c8,'awaitingChangeset':_0x32906c,'mutations':_0x3d48f8,'rev':_0x5ce726}),this['_saveTaskMap']['has'](_0x6798a)||this['_scheduleSaving'](_0x6798a);}[_0x599345(0x2b0)](_0x3f73d8){const _0x439c56=_0x599345,_0x267dc2=this[_0x439c56(0x318)]();_0x267dc2===0x0?this[_0x439c56(0x215)](_0x3f73d8):this[_0x439c56(0x175)][_0x439c56(0x31d)](_0x3f73d8,setTimeout(()=>this['_saveCache'](_0x3f73d8),_0x267dc2));}['_getSaveTimeout'](){const _0x5ed916=_0x599345;var _0x3a56ee;return(_0x3a56ee=this['_configService'][_0x5ed916(0x1c3)](_0x79e2bf))!=null?_0x3a56ee:_0x256917;}[_0x599345(0x215)](_0x331fbc){const _0x5f2784=_0x599345,_0xbea5f3=this[_0x5f2784(0x175)]['get'](_0x331fbc);return _0xbea5f3!==void 0x0&&window['clearTimeout'](_0xbea5f3),this[_0x5f2784(0x1a0)][_0x5f2784(0x1e7)](_0x27e14f(_0x331fbc),this[_0x5f2784(0x32e)][_0x5f2784(0x2c1)](_0x331fbc))[_0x5f2784(0x27c)](()=>this[_0x5f2784(0x175)][_0x5f2784(0x326)](_0x331fbc));}async[_0x599345(0x1a4)](){const _0x57107c=_0x599345,_0x3977f5=[];this[_0x57107c(0x175)][_0x57107c(0x172)]((_0x4b224b,_0x82d608)=>{const _0x545ecb=_0x57107c;window[_0x545ecb(0x2b2)](_0x4b224b),_0x3977f5[_0x545ecb(0x2fd)](this[_0x545ecb(0x215)](_0x82d608)['then'](()=>{const _0xb71dfa=_0x545ecb;this[_0xb71dfa(0x175)][_0xb71dfa(0x326)](_0x82d608);}));}),await Promise[_0x57107c(0x197)](_0x3977f5);}};function _0x5939(){const _0x339682=['mutations','Unknown\x20user','Error','_updateSubUnitFromURLParams','univer-flex\x20univer-items-center','getActiveSheet','266001VLDRff','6252IDGAvk','_session','labelPosition','collaboration.closeRoom','collabStatus.conflict','UNRECOGNIZED','Failed','unload','_config','reconnect','split','transformRemoteChangeset','toString','then','_docStateChangeManagerService','ALREADY_EXISTS','size','APPLY_DUPLICATED','replaceDocRanges','dispose','_docClipboardService','endRow','onPointerEnter$','unshift','UNIVER_DOC','AWAITING_WITH_PENDING','setActiveRange','fillText','measureText','resize','addClipboardHook','_disabled','editingUnit','OffLineIcon','_roomMembers$','eventID','redoState','NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getVpScrollXYInfoByPosToVp','EMAIL_HAS_BEEN_BOUND','_collaborationUIEventService','cursorInfo','_selfUnitIDs','PERMISSION_DENIED','getCurrent','0\x200\x2016\x2016','undoState','_onCursorDelete','11UpeOUT','addHandlerCallback','getOwnPropertySymbols','_initStatusComponent','InsertColCommandId','_hideTimer','setUndoRedoMutationParamsCache','getValue','stringify','translate(.97)','addEventListener','getOwnPropertyDescriptor','pluginName','current','MOBILE_VERIFY_CODE_MISMATCH','_docSyncEditingCollabCursorService','_scheduleSaving','_memberService','clearTimeout','white','getUnhiddenWorksheets','_init','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','univerjs-icon\x20univerjs-icon-','subscribeEvent','displayName','FromArray','assign','_anchor','name','YUUMI_ALL_TABLES_IS_INVALID','TOO_MANY_REQUESTS','_toggleOffline','get','with','UNDEFINED','getRangePointData','substring','saveTaskMap','_transformPreviousActiveRange','_urlService','_transformService','black','href','OnLineIcon','49ZejTVj','APPLY_REVISION_CONFILICT','round','getMergeData','height','string','_color','collabStatus.syncing','ACTIVE_UNIT_EVENT_CHANNEL','_updateLocalCursor','session.connection-failed','registerComponent','_colorAssignService','_document','propertyIsEnumerable','_removeClearOtherTimer','UPDATE_CURSOR','_revisionService','saveOfflineData','prototype','_collabCursorState$','getFocusedUnit','concat','params','executeCommand','_initEvent','_localCacheService','_shapes','setConfig','syncEditingCollabCursor','children','createSocket','subUnitId','_eventUnsubscribe','disposeWithMe','requireSession','icon','asObservable','arc','subunit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_refreshCollabCursors','_transformHistoryAndStateStack','off-line-icon_clip0_910_343','2347443xuJVWY','collab-rect-range-','INTERNAL_ERROR','getSheetId','push','endColumn','defs','_online','random','_cursor','_injector','collabCursorState$','INVITE_CODE_REQUIRED','focused$','entityInit$','ENSURE_SNAPSHOT_EXECUTION','length','width','url(#on-line-icon_clip0_910_349)','_handleJoinEvent','hovered','_heartbeatTimer','getCurrentSelections','ONLINE','_notificationService','_initResize','_scheduleHeartbeat','_getScale','_labelPosition','assignAColorForMemberID','saveImage','_getSaveTimeout','_hover','INVITE_CODE_HAS_BEEN_UES','permission.content','_status$','set','getSkeleton','purple.300','search','_drawAnchor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_univerInstanceService','820675SnAiyB','type','delete','beginPath','_render','_logService','findNodePositionByCharIndex','_getMergeRange','subscribe','_beforeCloseService','_cachedData','1em','SOCKET_FAILED_RETRY','INVALID_ARGUMENT','_handleHeartbeatEvent','history','runOnServer','RECT','cursorInfo$','COMPLETION_FINISHED','addObjects','collaboration-client.offline-data-not-saved','doc.mutation.rich-text-editing','_cursorShapes','_updateURLWithCurrentState','SNAPSHOT_HAS_BEEN_REMOVED','off-line-icon','getUnitId','sessionStatus$','LICENSE_IMPORT_SIZE_EXCEEDED','getCurrentRevOfUnit','next','getDocRanges','attrs','url(#off-line-icon_clip0_910_343)','_clearOtherTimers','pipe','http://www.w3.org/2000/svg','OTHER_CLIENTS_EDITING','invokeId','has','0\x200\x2017\x2016','_name','getViewport','_handleEvent','WECHAT_HAS_BEEN_BOUND','none','MOBILE_HAS_BEEN_BOUND','_httpService','_textBubble','SOCKET_FAILED','registerRenderModule','top','YUUMI_UNABLE_LOAD_URL','collab-text-range-','mask','_context','getCollabEntity$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UNIVER_SHEET','row','code','CONFLICT','red.300','YUUMI_CONNECTOR_URL_NOT_FOUND','7gyXWxx','_unitOnClients','deepClone','enableLocalCache','fillRule','unitId','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','selection','setParam','dispose$','getMemberID','onPointerLeave$','_assignedColors','OTHER_CLIENT_EDITING','_registerDependencies','getCellPositionByOffset','_handleHover','onLocalMutation','_removeCollabCursors','NO_OTHER_CLIENTS_EDITING','[CollaborationDataLoaderController]','JOIN_ROOM_FAILED','getStateCache','DeleteRangeMoveLeftCommandId','_collaborationController','YUUMI_URL_COL_OUT_OF_RANGE','isEditing','complete','onCommandExecuted','CLOSE_ROOM','_collabCursorController','forEach','_doCreateSocket','_registerRenderDependencies','_saveTaskMap','_lastPointer','engine','getSheetBySheetId','ticket','getCurrentUnitForType','16TMOwIY','CHANGESET_REVISION_CONFILICT','UniverIcon','contains','FETCH_MISS','triggerDblclick','pushState','currentTheme$','hide','YUUMI_NO_CUBOID_FOR_QUESTION','getColorFromTheme','call','values','_messageService','onTransformChange$','defineProperty','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','setShapeProps','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','jiqing.500','newValue','flatMap','MoveRangeCommandId','15465220xuzFnj','_initStatusListener','_cursorInfo$','HEADER_MENU','_drawTextRange','all','getMember','PENDING','save','replaceState','activeSheet$','TEXT','hasOwnProperty','trim','_localStorageService','APPLY_NON_SEQUENTIAL_REVISION','LOGIN_FAILED','SNAPSHOT_INVALID_SNAPSHOT','exhaustSavingTask','_collabSessionService','_range','font','_cursors','getTypeOfUnitAdded$','restore','_drawRectRange','_handleLeaveEvent','_sheetSkeletonManagerService','_configService','getParam','add','startsWith','makeDirty','CONNECTOR_DATA_TOO_LARGE','runId','m1Prime','PY_RUNTIME_SCRIPT_ERROR','memberID','error','collab-client.tooltip.reconnect','actions','transformByState','replace','session.will-retry','_updateCollabCursors','LICENSE_MAX_UNITS_EXCEEDED','_backgroundColor','startRow','YUUMI_ASYNCIO_CANCELLED','getConfig','collabStatus.notCollab','idSuffix','_renderManagerService','location','transformMutationsWithChangeset','APPLY_PERMISSION_DENIED','/run/','_commandService','APPLY_REJECT','_docSkeleton','SYNCED','executionId','color','INVITE_CODE_ALREADY_BOUND','_docTransformSelectionsService','getCollabCursors$','event$','_toggleOnline','collabStatus.fetchMiss','YUUMI_AI_RUN_FAILED','_docSkeletonManagerService','unit','sheetId','getTypeOfUnitDisposed$','_getSessionTicket','onStarting','_entityInit$','className','_scene','apply','VIEW_MAIN','_getSheetObject','transformSelections','from','unitID','setItem','_initEntityListener','getActiveRange','some','getUniverSheetInstance','_imageIoService','div','collab-text-anchor-','_onRefRangeChange','bottom','_docTransformIMECacheService','extend','_transformUndoRedoStack','tag','searchParams','url(#$1','path','yellow.400','on-line-icon_clip0_910_349','updateOfflineData','transformMutation','AWAITING','clearInterval','4719240WkITex','fillStyle','_instanceService','transformStateCache','_send','_initCommandExecutedListener','status$','setAlpha','_colorIndex','indexOf','closePath','OFFLINE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','InsertRowCommandId','xlink:href','getRenderById','disableLocalCache','debug','wsSessionTicketUrl','InsertRangeMoveRightCommandId','roomMembers','createInstance','_dataLoaderService','_saveCache','lineTo','_docTransformStateCacheService','_onCursorUpdate','_anchorDot','addObject','USER_NOT_INVITED_CODE','_startSheetCollabCursor','entries','162038VYWvun','colorChannel1','collaboration.single-unit.warning','fill','source','uni.network.url-service','_entities','function','NOT_COLLAB','_initDependencies','LICENSE_DISTRO_REJECTED','isArray','getRelativeToViewportCoord','_setupBeforeClosingHandler','...','parse','_draw','sessionTicket','toRgbString','loadUnit','LICENSE_EXPORT_SIZE_EXCEEDED','permission.title','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','isActive','_localeService','_createSocketURL','urlChange$','docStateChange$','YUUMI_RATE_OVER_LIMIT','UNAUTHENTICATED','blue.400','map','EMAIL_VERIFY_CODE_MISMATCH','session.collaboration-timeout','textRanges','_uiPartsService','show','getOffsetConfig','RemoveRowCommandId','_themeService','_hovered','storage','_startDocCollabCursor','onRendered','clipPath','_scheduleClearOtherTimer','_id','YUUMI_SUBSCRIPTION_NOT_FOUND','_setupSubUnitSync','m2Prime','getUndoRedoMutationParamsCache','send','body','setTimeout','sheetID','registerBeforeClose','includes','_unitStatus','Warning','onMouseMove','svg','_ensureSubject','registerRefRange','symbol','init','post','INVALID_INVITE_CODE','transform','defIds','drawWith','USERS_LEAVE','key','data','ranges'];_0x5939=function(){return _0x339682;};return _0x5939();}we=_n([Ee(0x0,_0x2ebcde),Ee(0x1,_0x5114b9),Ee(0x2,_0x1cbf10(_0x2d2ba6))],we);class hn extends _0x2cb2a{constructor(){const _0x5c415a=_0x599345;super(),_(this,_0x5c415a(0x238)),this['urlChange$']=_0x27ffe5(window,'popstate')[_0x5c415a(0x348)](_0x2abc0a(this['dispose$']),_0x3c2878(0x1),_0x4c3d0e(void 0x0));}[_0x599345(0x36d)](_0x47fe27,_0x1af3c6,_0x314856=!0x1){const _0x417454=_0x599345,_0x1a118f=new URL(window[_0x417454(0x1c7)][_0x417454(0x2cb)]);_0x1a118f['searchParams']['set'](_0x47fe27,_0x1af3c6),_0x314856?window[_0x417454(0x333)][_0x417454(0x19b)]('','',_0x1a118f[_0x417454(0x27b)]()):window[_0x417454(0x333)][_0x417454(0x181)]('','',_0x1a118f[_0x417454(0x27b)]());}['removeParam'](_0x14134c,_0xfa4d3a=!0x1){const _0x33ee04=_0x599345,_0x43e7ea=new URL(window[_0x33ee04(0x1c7)][_0x33ee04(0x2cb)]);_0x43e7ea['searchParams'][_0x33ee04(0x326)](_0x14134c),_0xfa4d3a?window['history'][_0x33ee04(0x19b)]('','',_0x43e7ea[_0x33ee04(0x27b)]()):window[_0x33ee04(0x333)][_0x33ee04(0x181)]('','',_0x43e7ea['toString']());}['getParam'](_0x30da76){const _0x2baeb9=_0x599345;var _0x3da96d;return(_0x3da96d=new URL(window[_0x2baeb9(0x1c7)][_0x2baeb9(0x2cb)])[_0x2baeb9(0x1f5)][_0x2baeb9(0x2c1)](_0x30da76))!=null?_0x3da96d:void 0x0;}}var un=Object[_0x599345(0x18a)],dn=Object[_0x599345(0x2ab)],fn=(_0x46f053,_0x5dec45,_0x1c0e32)=>_0x5dec45 in _0x46f053?un(_0x46f053,_0x5dec45,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c0e32}):_0x46f053[_0x5dec45]=_0x1c0e32,Sn=(_0x417848,_0x11d4b0,_0x735d95,_0x51c104)=>{const _0x518daa=_0x599345;for(var _0x5af50e=_0x51c104>0x1?void 0x0:_0x51c104?dn(_0x11d4b0,_0x735d95):_0x11d4b0,_0x46c73b=_0x417848[_0x518daa(0x309)]-0x1,_0x4ee164;_0x46c73b>=0x0;_0x46c73b--)(_0x4ee164=_0x417848[_0x46c73b])&&(_0x5af50e=_0x4ee164(_0x5af50e)||_0x5af50e);return _0x5af50e;},Oe=(_0x5929b9,_0x1a807d)=>(_0x2f55b6,_0x34a73d)=>_0x1a807d(_0x2f55b6,_0x34a73d,_0x5929b9),mn=(_0x33d821,_0x5b1ccc,_0xc95723)=>fn(_0x33d821,_0x5b1ccc+'',_0xc95723);const In=_0x599345(0x18d);let Ae=class extends _0x41ad83{constructor(_0x4aefb3=et,_0x113b41,_0x2afb2f,_0xfa1d83){const _0x3af203=_0x599345;super(),this[_0x3af203(0x277)]=_0x4aefb3,this[_0x3af203(0x1c6)]=_0x113b41,this[_0x3af203(0x303)]=_0x2afb2f,this['_configService']=_0xfa1d83;const {..._0x3097ea}=_0x31953b({},et,this['_config']);this[_0x3af203(0x1ae)][_0x3af203(0x2e9)](qi,_0x3097ea);}[_0x599345(0x1dd)](){const _0x188dbe=_0x599345;this[_0x188dbe(0x373)](),this[_0x188dbe(0x227)]();}[_0x599345(0x249)](){const _0x215ffe=_0x599345;this[_0x215ffe(0x174)]();}['_registerDependencies'](){const _0x726401=_0x599345;var _0x465557;const _0x42e153=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x2d47be,{'useClass':_0x2202ee}],[_0x3dac38,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x8703fb(this[_0x726401(0x303)],_0x211447(_0x42e153,(_0x465557=this[_0x726401(0x277)])==null?void 0x0:_0x465557['override']));}[_0x599345(0x174)](){const _0x56ba26=_0x599345;this['disposeWithMe'](this[_0x56ba26(0x1c6)][_0x56ba26(0x357)](_0x2c13fa[_0x56ba26(0x287)],[Le])),this[_0x56ba26(0x2ef)](this[_0x56ba26(0x1c6)][_0x56ba26(0x357)](_0x2c13fa[_0x56ba26(0x35f)],[Pe]));}[_0x599345(0x227)](){const _0x28e160=_0x599345;_0x538ea3(this[_0x28e160(0x303)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x599345(0x2ac),In),Ae=Sn([_0x447dc1(_0x4923cb),Oe(0x1,_0x255be2),Oe(0x2,_0x1cbf10(_0x5096fa)),Oe(0x3,_0x2ebcde)],Ae);var vn=Object[_0x599345(0x2ab)],gn=(_0x407d8a,_0x494740,_0x84d1ed,_0x477015)=>{const _0x20c663=_0x599345;for(var _0x5f1d0d=_0x477015>0x1?void 0x0:_0x477015?vn(_0x494740,_0x84d1ed):_0x494740,_0x1a6603=_0x407d8a[_0x20c663(0x309)]-0x1,_0x5b088f;_0x1a6603>=0x0;_0x1a6603--)(_0x5b088f=_0x407d8a[_0x1a6603])&&(_0x5f1d0d=_0x5b088f(_0x5f1d0d)||_0x5f1d0d);return _0x5f1d0d;},z=(_0x2e5702,_0x42ed82)=>(_0x1b46bd,_0x2714da)=>_0x42ed82(_0x1b46bd,_0x2714da,_0x2e5702);let it=class extends _0x5c91da{constructor(_0x4acba2,_0x1f9f06,_0x278dfa,_0xf5fb54,_0x13f3a6){super(_0x4acba2,_0x1f9f06,_0x278dfa,_0xf5fb54,_0x13f3a6);}async[_0x599345(0x2ec)](_0x29d0dd){const _0xeaa04=_0x599345,_0x2f0779=await this[_0xeaa04(0x1dc)](),_0x1654c3=this[_0xeaa04(0x237)](_0x29d0dd,_0x2f0779);return this[_0xeaa04(0x173)](_0x1654c3);}[_0x599345(0x237)](_0x29078b,_0x4887ce){const _0x2d04a6=_0x599345,_0x2ac597=typeof window>'u'?new URL(_0x29078b):new URL(_0x29078b,window['location']['origin']);_0x2ac597['searchParams'][_0x2d04a6(0x31d)](_0x2d04a6(0x22f),_0x4887ce);const _0x46fc03=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2d04a6(0x1c7)][_0x2d04a6(0x320)]);return _0x46fc03[_0x2d04a6(0x2c1)](_0x2d04a6(0x1b4))&&_0x2ac597['searchParams']['set'](_0x2d04a6(0x1b4),_0x46fc03[_0x2d04a6(0x2c1)](_0x2d04a6(0x1b4))),_0x2ac597['toString']();}async[_0x599345(0x1dc)](){const _0x1e0ff6=_0x599345;var _0x3a08bc,_0x11f578,_0x119979;const _0x15cb99=this[_0x1e0ff6(0x1ae)][_0x1e0ff6(0x1c3)](_0x38aea2),_0xc3aab1=(_0x3a08bc=_0x15cb99==null?void 0x0:_0x15cb99[_0x1e0ff6(0x210)])!=null?_0x3a08bc:_0x174274;return(_0x119979=(_0x11f578=(await this[_0x1e0ff6(0x354)][_0x1e0ff6(0x2c1)](_0xc3aab1,{'headers':{'Content-Type':'application/json'}}))[_0x1e0ff6(0x252)])==null?void 0x0:_0x11f578[_0x1e0ff6(0x179)])!=null?_0x119979:'';}};it=gn([z(0x0,_0x1cbf10(_0x5096fa)),z(0x1,_0x1cbf10(_0x33d9b4)),z(0x2,_0x2ebcde),z(0x3,_0x388508),z(0x4,_0x226b59)],it);var Lt=(_0x3af3ec=>(_0x3af3ec[_0x3af3ec[_0x599345(0x2c3)]=0x0]=_0x599345(0x2c3),_0x3af3ec[_0x3af3ec['OK']=0x1]='OK',_0x3af3ec[_0x3af3ec[_0x599345(0x2fb)]=0x2]=_0x599345(0x2fb),_0x3af3ec[_0x3af3ec['PERMISSION_DENIED']=0x3]=_0x599345(0x29b),_0x3af3ec[_0x3af3ec[_0x599345(0x294)]=0x4]='NOT_FOUND',_0x3af3ec[_0x3af3ec[_0x599345(0x23b)]=0x5]=_0x599345(0x23b),_0x3af3ec[_0x3af3ec[_0x599345(0x27e)]=0x6]=_0x599345(0x27e),_0x3af3ec[_0x3af3ec['INVALID_ARGUMENT']=0x7]=_0x599345(0x331),_0x3af3ec[_0x3af3ec[_0x599345(0x2bf)]=0x8]='TOO_MANY_REQUESTS',_0x3af3ec[_0x3af3ec[_0x599345(0x337)]=0x9]=_0x599345(0x337),_0x3af3ec[_0x3af3ec['LOGIN_FAILED']=0xa]=_0x599345(0x1a2),_0x3af3ec[_0x3af3ec[_0x599345(0x2ae)]=0xb]=_0x599345(0x2ae),_0x3af3ec[_0x3af3ec['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x599345(0x35e),_0x3af3ec[_0x3af3ec[_0x599345(0x23e)]=0xd]=_0x599345(0x23e),_0x3af3ec[_0x3af3ec[_0x599345(0x234)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3af3ec[_0x3af3ec[_0x599345(0x17c)]=0x1389]=_0x599345(0x17c),_0x3af3ec[_0x3af3ec[_0x599345(0x1a3)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3af3ec[_0x3af3ec[_0x599345(0x33d)]=0x1772]=_0x599345(0x33d),_0x3af3ec[_0x3af3ec[_0x599345(0x308)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3af3ec[_0x3af3ec[_0x599345(0x1cc)]=0x1b59]='APPLY_REJECT',_0x3af3ec[_0x3af3ec[_0x599345(0x1a1)]=0x1b5a]=_0x599345(0x1a1),_0x3af3ec[_0x3af3ec[_0x599345(0x2ce)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3af3ec[_0x3af3ec[_0x599345(0x1c9)]=0x1b5c]=_0x599345(0x1c9),_0x3af3ec[_0x3af3ec['APPLY_DUPLICATED']=0x1b5d]=_0x599345(0x280),_0x3af3ec[_0x3af3ec['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x599345(0x1b3),_0x3af3ec[_0x3af3ec[_0x599345(0x1bf)]=0x2329]=_0x599345(0x1bf),_0x3af3ec[_0x3af3ec[_0x599345(0x2b6)]=0x232a]=_0x599345(0x2b6),_0x3af3ec[_0x3af3ec['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x599345(0x341),_0x3af3ec[_0x3af3ec[_0x599345(0x232)]=0x232c]=_0x599345(0x232),_0x3af3ec[_0x3af3ec[_0x599345(0x228)]=0x232d]=_0x599345(0x228),_0x3af3ec[_0x3af3ec[_0x599345(0x359)]=0x2711]=_0x599345(0x359),_0x3af3ec[_0x3af3ec[_0x599345(0x16c)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3af3ec[_0x3af3ec[_0x599345(0x23a)]=0x2713]=_0x599345(0x23a),_0x3af3ec[_0x3af3ec[_0x599345(0x24d)]=0x2714]=_0x599345(0x24d),_0x3af3ec[_0x3af3ec[_0x599345(0x184)]=0x271a]=_0x599345(0x184),_0x3af3ec[_0x3af3ec[_0x599345(0x1c2)]=0x271b]=_0x599345(0x1c2),_0x3af3ec[_0x3af3ec[_0x599345(0x295)]=0x271c]=_0x599345(0x295),_0x3af3ec[_0x3af3ec[_0x599345(0x2be)]=0x271d]=_0x599345(0x2be),_0x3af3ec[_0x3af3ec['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3af3ec[_0x3af3ec['YUUMI_AI_RUN_FAILED']=0x271f]=_0x599345(0x1d7),_0x3af3ec[_0x3af3ec[_0x599345(0x364)]=0x2720]=_0x599345(0x364),_0x3af3ec[_0x3af3ec[_0x599345(0x1b6)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3af3ec[_0x3af3ec['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x599345(0x31a),_0x3af3ec[_0x3af3ec[_0x599345(0x260)]=0x2ee2]='INVALID_INVITE_CODE',_0x3af3ec[_0x3af3ec['INVITE_CODE_REQUIRED']=0x2ee3]=_0x599345(0x305),_0x3af3ec[_0x3af3ec[_0x599345(0x21b)]=0x2ee4]=_0x599345(0x21b),_0x3af3ec[_0x3af3ec['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x599345(0x1d1),_0x3af3ec[_0x3af3ec[_0x599345(0x351)]=0x32c9]=_0x599345(0x351),_0x3af3ec[_0x3af3ec[_0x599345(0x353)]=0x32ca]=_0x599345(0x353),_0x3af3ec[_0x3af3ec[_0x599345(0x297)]=0x32cb]=_0x599345(0x297),_0x3af3ec[_0x3af3ec['UNRECOGNIZED']=-0x1]=_0x599345(0x274),_0x3af3ec))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x2cec53,_0x519212,_0x1f38df,_0x3d04c1)=>{const _0x2e50bc=_0x599345;for(var _0x4dbf63=_0x3d04c1>0x1?void 0x0:_0x3d04c1?pn(_0x519212,_0x1f38df):_0x519212,_0x1ce354=_0x2cec53[_0x2e50bc(0x309)]-0x1,_0x3aeb7f;_0x1ce354>=0x0;_0x1ce354--)(_0x3aeb7f=_0x2cec53[_0x1ce354])&&(_0x4dbf63=_0x3aeb7f(_0x4dbf63)||_0x4dbf63);return _0x4dbf63;},be=(_0x47d23b,_0x476cee)=>(_0x35c9c6,_0x2012e1)=>_0x476cee(_0x35c9c6,_0x2012e1,_0x47d23b);let nt=class extends _0x4999ff{constructor(_0x1a7454,_0x8c56fa,_0x2ac819){const _0x3a0f48=_0x599345;super(),this[_0x3a0f48(0x200)]=_0x1a7454,this['_httpService']=_0x8c56fa,this[_0x3a0f48(0x1ae)]=_0x2ac819;}async[_0x599345(0x334)](_0x54eebc,_0x48bf29,_0x16c978,..._0xd81cc6){const _0x28c780=_0x599345;var _0x2c4688,_0x3e2c5b,_0x21d176,_0x357509;const _0x1119a2=this[_0x28c780(0x200)][_0x28c780(0x2e2)]();if(!_0x1119a2)throw new Error(_0x28c780(0x20a));const _0x2c0704=((_0x2c4688=this[_0x28c780(0x1ae)][_0x28c780(0x1c3)](_0x4da2b7))!=null?_0x2c4688:_0x547f2b)+'/'+_0x54eebc+_0x28c780(0x1ca)+_0x48bf29,_0x1a3793=new URL(window[_0x28c780(0x1c7)][_0x28c780(0x2cb)]),_0x325b1f={'scriptId':_0x54eebc,'runId':(_0x3e2c5b=_0x1a3793[_0x28c780(0x1f5)][_0x28c780(0x2c1)]('runId'))!=null?_0x3e2c5b:'','function':_0x48bf29,'unitId':_0x1119a2[_0x28c780(0x33f)](),'argsOfFunction':JSON[_0x28c780(0x2a8)](_0xd81cc6),'invokeId':(_0x21d176=_0x16c978[_0x28c780(0x34b)])!=null?_0x21d176:'','executionId':(_0x357509=_0x16c978[_0x28c780(0x1cf)])!=null?_0x357509:''};try{const _0x1d7f50=await this[_0x28c780(0x354)][_0x28c780(0x25f)](_0x2c0704,{'body':_0x325b1f});return _0x1d7f50[_0x28c780(0x252)][_0x28c780(0x1b8)]&&_0x1d7f50[_0x28c780(0x252)][_0x28c780(0x1b8)][_0x28c780(0x361)]!==Lt['OK']?_0x28c780(0x275):_0x1d7f50['body']['result'];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x5bd8fd),be(0x1,_0x1cbf10(_0x33d9b4)),be(0x2,_0x2ebcde)],nt);const rt=0x7530,ot=_0x599345(0x2d5);class Fn extends _0x4999ff{constructor(){const _0x15639a=_0x599345;super(),_(this,_0x15639a(0x24c),_0x4feca8()),_(this,_0x15639a(0x29a),new Set()),_(this,_0x15639a(0x366),new Map()),_(this,_0x15639a(0x30e),null),_(this,_0x15639a(0x347),new Map()),_(this,_0x15639a(0x257),new Map()),this[_0x15639a(0x2b5)]();}[_0x599345(0x282)](){const _0x47ca38=_0x599345;super[_0x47ca38(0x282)](),this[_0x47ca38(0x347)][_0x47ca38(0x172)]((_0x54eb76,_0x443fe8)=>this['_removeClearOtherTimer'](_0x443fe8)),this[_0x47ca38(0x30e)]&&window[_0x47ca38(0x1fd)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x5406e1){const _0x336814=_0x599345;return this[_0x336814(0x25b)](_0x5406e1)[_0x336814(0x348)](_0x46e790());}[_0x599345(0x28f)](_0x5573fa){const _0x25484c=_0x599345;this['_selfUnitIDs'][_0x25484c(0x27f)]===0x0&&this['_scheduleHeartbeat'](),this[_0x25484c(0x29a)][_0x25484c(0x1b0)](_0x5573fa),this[_0x25484c(0x202)]({'type':0x0,'memberID':this[_0x25484c(0x24c)],'unitIDs':[_0x5573fa],'isForwarded':!0x1});}['disposeUnit'](_0x4e6e19){const _0x5206bc=_0x599345;this['_selfUnitIDs'][_0x5206bc(0x326)](_0x4e6e19),this[_0x5206bc(0x29a)][_0x5206bc(0x27f)]===0x0&&this[_0x5206bc(0x30e)]&&window[_0x5206bc(0x1fd)](this[_0x5206bc(0x30e)]);}['_init'](){const _0x25be67=_0x599345;this[_0x25be67(0x2ef)](_0xe5901(_0x27ffe5(window,_0x25be67(0x247))[_0x25be67(0x32c)](_0x507e7b=>{const _0x212ae4=_0x25be67;if(_0x507e7b[_0x212ae4(0x265)]!==ot||!_0x507e7b[_0x212ae4(0x18f)])return;const _0x425bd4=JSON[_0x212ae4(0x22d)](_0x507e7b[_0x212ae4(0x18f)]);this[_0x212ae4(0x350)](_0x425bd4);}))),window[_0x25be67(0x2aa)](_0x25be67(0x276),()=>this[_0x25be67(0x202)]({'type':0x1,'memberID':this[_0x25be67(0x24c)],'unitIDs':Array[_0x25be67(0x1e5)](this[_0x25be67(0x29a)])}));}[_0x599345(0x350)](_0x455fd7){const _0x3ce706=_0x599345;switch(_0x455fd7['type']){case 0x0:this[_0x3ce706(0x30c)](_0x455fd7);break;case 0x1:this[_0x3ce706(0x1ac)](_0x455fd7);break;case 0x2:this[_0x3ce706(0x332)](_0x455fd7);break;}}['_handleJoinEvent'](_0x8d2663){const _0x1ca858=_0x599345,{unitIDs:_0x5ac984,memberID:_0x8f3ac8,isForwarded:_0x5be1ab}=_0x8d2663;_0x5ac984[_0x1ca858(0x172)](_0x165925=>{const _0x2aa804=_0x1ca858;if(!_0x5be1ab&&this[_0x2aa804(0x366)]['has'](_0x165925)&&this[_0x2aa804(0x25b)](_0x165925)[_0x2aa804(0x343)](_0x5545d6['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x2aa804(0x34c)](_0x165925)||!this[_0x2aa804(0x366)]['get'](_0x165925)['has'](_0x8f3ac8)){const _0x30dbd3=this[_0x2aa804(0x366)][_0x2aa804(0x2c1)](_0x165925)||new Set();_0x30dbd3[_0x2aa804(0x1b0)](_0x8f3ac8),this[_0x2aa804(0x366)][_0x2aa804(0x31d)](_0x165925,_0x30dbd3),this['_scheduleClearOtherTimer'](_0x8f3ac8);}}),_0x5be1ab||this[_0x1ca858(0x202)]({'type':0x0,'memberID':this[_0x1ca858(0x24c)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x599345(0x24b)](_0x5adbec){const _0x58e535=_0x599345;this[_0x58e535(0x2dc)](_0x5adbec);const _0x55360b=window[_0x58e535(0x253)](()=>{const _0x40bff1=_0x58e535;this['_unitOnClients'][_0x40bff1(0x172)](_0x5c675b=>{const _0x12ebf9=_0x40bff1;_0x5c675b[_0x12ebf9(0x326)](_0x5adbec);});},rt*0x2);this[_0x58e535(0x347)][_0x58e535(0x31d)](_0x5adbec,_0x55360b);}[_0x599345(0x2dc)](_0x3f4ad7){const _0x415a33=_0x599345;if(this[_0x415a33(0x347)][_0x415a33(0x34c)](_0x3f4ad7)){const _0x520c9b=this['_clearOtherTimers'][_0x415a33(0x2c1)](_0x3f4ad7);_0x520c9b&&window['clearTimeout'](_0x520c9b),this['_clearOtherTimers']['set'](_0x3f4ad7,null);}}['_handleLeaveEvent'](_0x2d5eb1){const _0x2a2adc=_0x599345,{memberID:_0x19e78c,unitIDs:_0x225a1e}=_0x2d5eb1;_0x225a1e[_0x2a2adc(0x172)](_0x4cd614=>{const _0x1d49e7=_0x2a2adc;var _0x3ac0cf;const _0x9df04a=this[_0x1d49e7(0x366)]['get'](_0x4cd614);_0x9df04a&&(_0x9df04a[_0x1d49e7(0x326)](_0x19e78c),(_0x3ac0cf=this[_0x1d49e7(0x25b)](_0x4cd614))==null||_0x3ac0cf['next'](_0x9df04a[_0x1d49e7(0x27f)]===0x0?_0x5545d6[_0x1d49e7(0x378)]:_0x5545d6[_0x1d49e7(0x34a)]));}),this[_0x2a2adc(0x2dc)](_0x19e78c);}['_handleHeartbeatEvent'](_0x5d3e96){const _0x13068a=_0x599345;this[_0x13068a(0x24b)](_0x5d3e96[_0x13068a(0x1b7)]);}['_send'](_0x41a74e){const _0x328890=_0x599345;localStorage[_0x328890(0x1e7)](ot,JSON['stringify'](_0x41a74e));}[_0x599345(0x313)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x7c7c5e=_0x1fe7;this[_0x7c7c5e(0x202)]({'type':0x2,'memberID':this[_0x7c7c5e(0x24c)]});},rt);}['_ensureSubject'](_0x35bc1c){const _0x369e90=_0x599345;return this[_0x369e90(0x257)][_0x369e90(0x34c)](_0x35bc1c)||this[_0x369e90(0x257)][_0x369e90(0x31d)](_0x35bc1c,new _0x5001d5(_0x5545d6['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x369e90(0x2c1)](_0x35bc1c);}}export{it as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Ut as IURLService,nt as RemoteUniscriptService,Xi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/ca-ES.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x51ef(_0x39229d,_0xaeb58f){const _0x58a8e0=_0x58a8();return _0x51ef=function(_0x51eff2,_0x11e7f2){_0x51eff2=_0x51eff2-0x1ee;let _0x3ba337=_0x58a8e0[_0x51eff2];return _0x3ba337;},_0x51ef(_0x39229d,_0xaeb58f);}function _0x58a8(){const _0x545602=['You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Click\x20to\x20Reconnect','Collaboration\x20Conflict','12720zXoPDi','Synced','207533leXZUR','Syncing\x20server\x20data...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','Edit\x20conflicts','Local\x20file','7WsYKVR','8368AvcZAH','11kstLkA','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','6WUwezA','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','3816tZBWpe','18371328IkyIUO','4835832lswvfN','2831380ecewqN','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','880tenusZ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','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.','447603ceoOol'];_0x58a8=function(){return _0x545602;};return _0x58a8();}const _0x5e7096=_0x51ef;(function(_0x2e8630,_0x10586e){const _0x477020=_0x51ef,_0x419e04=_0x2e8630();while(!![]){try{const _0x37a584=parseInt(_0x477020(0x206))/0x1+-parseInt(_0x477020(0x1f6))/0x2*(-parseInt(_0x477020(0x200))/0x3)+-parseInt(_0x477020(0x1f3))/0x4*(parseInt(_0x477020(0x1fd))/0x5)+-parseInt(_0x477020(0x1fa))/0x6*(parseInt(_0x477020(0x1f2))/0x7)+parseInt(_0x477020(0x204))/0x8*(-parseInt(_0x477020(0x1f8))/0x9)+parseInt(_0x477020(0x1fb))/0xa*(parseInt(_0x477020(0x1f4))/0xb)+parseInt(_0x477020(0x1f9))/0xc;if(_0x37a584===_0x10586e)break;else _0x419e04['push'](_0x419e04['shift']());}catch(_0x5a18a8){_0x419e04['push'](_0x419e04['shift']());}}}(_0x58a8,0x9795e));const e={'collab-client':{'tooltip':{'reconnect':_0x5e7096(0x202)}},'collabStatus':{'fetchMiss':_0x5e7096(0x207),'conflict':_0x5e7096(0x1f0),'notCollab':_0x5e7096(0x1f1),'synced':_0x5e7096(0x205),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x5e7096(0x1fc),'room-full':_0x5e7096(0x1f5),'collaboration-timeout':_0x5e7096(0x1fe)},'conflict':{'title':_0x5e7096(0x203),'content':_0x5e7096(0x1ff)},'permission':{'title':_0x5e7096(0x1ef),'content':_0x5e7096(0x1f7)},'collaboration':{'single-unit':{'warning':_0x5e7096(0x201)},'closeRoom':_0x5e7096(0x1ee)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}},o=e;export{o as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x3e3595=_0x5a06;(function(_0x2a84fa,_0x88e21a){const _0x4f5cfb=_0x5a06,_0x28ab46=_0x2a84fa();while(!![]){try{const _0x4fe746=parseInt(_0x4f5cfb(0x1d2))/0x1+-parseInt(_0x4f5cfb(0x1d6))/0x2+parseInt(_0x4f5cfb(0x1cc))/0x3*(-parseInt(_0x4f5cfb(0x1d3))/0x4)+-parseInt(_0x4f5cfb(0x1d0))/0x5+parseInt(_0x4f5cfb(0x1c6))/0x6+parseInt(_0x4f5cfb(0x1d8))/0x7+parseInt(_0x4f5cfb(0x1db))/0x8;if(_0x4fe746===_0x88e21a)break;else _0x28ab46['push'](_0x28ab46['shift']());}catch(_0x54a325){_0x28ab46['push'](_0x28ab46['shift']());}}}(_0x446d,0x623e5));function _0x446d(){const _0x4d2721=['Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','270yfKsCB','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Click\x20to\x20Reconnect','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','373010ppyeAb','Local\x20file','143543epzVpv','33272veNaYc','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.','Syncing...','72346yCGkbA','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','4620686ryOVCA','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1282256YfvDdX','1787262MXgtpX','Synced','Edit\x20conflicts','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error'];_0x446d=function(){return _0x4d2721;};return _0x446d();}const e={'collab-client':{'tooltip':{'reconnect':_0x3e3595(0x1ce)}},'collabStatus':{'fetchMiss':_0x3e3595(0x1d9),'conflict':_0x3e3595(0x1c8),'notCollab':_0x3e3595(0x1d1),'synced':_0x3e3595(0x1c7),'syncing':_0x3e3595(0x1d5),'offline':_0x3e3595(0x1cb)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x3e3595(0x1c9),'collaboration-timeout':_0x3e3595(0x1cf)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3e3595(0x1d4)},'permission':{'title':_0x3e3595(0x1ca),'content':_0x3e3595(0x1d7)},'collaboration':{'single-unit':{'warning':_0x3e3595(0x1da)},'closeRoom':_0x3e3595(0x1cd)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x5a06(_0x59163f,_0x874e4c){const _0x446d86=_0x446d();return _0x5a06=function(_0x5a0680,_0x510c48){_0x5a0680=_0x5a0680-0x1c6;let _0x507157=_0x446d86[_0x5a0680];return _0x507157;},_0x5a06(_0x59163f,_0x874e4c);}export{e as default};
|