@univerjs-pro/collaboration-client-ui 0.10.2-nightly.202508080617 → 0.10.3
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 _0x4ffb60=_0x34c5;(function(_0x3725fc,_0x223b3a){const _0x1b28cd=_0x34c5,_0x1614d8=_0x3725fc();while(!![]){try{const _0x8dd9c8=parseInt(_0x1b28cd(0x150))/0x1*(parseInt(_0x1b28cd(0x1cd))/0x2)+-parseInt(_0x1b28cd(0x188))/0x3+-parseInt(_0x1b28cd(0x268))/0x4*(-parseInt(_0x1b28cd(0x173))/0x5)+parseInt(_0x1b28cd(0x25b))/0x6+-parseInt(_0x1b28cd(0x180))/0x7*(-parseInt(_0x1b28cd(0x2a5))/0x8)+parseInt(_0x1b28cd(0x324))/0x9+-parseInt(_0x1b28cd(0x1f2))/0xa*(parseInt(_0x1b28cd(0x343))/0xb);if(_0x8dd9c8===_0x223b3a)break;else _0x1614d8['push'](_0x1614d8['shift']());}catch(_0x46a103){_0x1614d8['push'](_0x1614d8['shift']());}}}(_0x11f2,0x1e359));var xt=Object[_0x4ffb60(0x27a)],Bt=(_0xf75be,_0x16513a,_0x369db6)=>_0x16513a in _0xf75be?xt(_0xf75be,_0x16513a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x369db6}):_0xf75be[_0x16513a]=_0x369db6,_=(_0x1eea89,_0x48f4fa,_0x4709ee)=>Bt(_0x1eea89,typeof _0x48f4fa!=_0x4ffb60(0x210)?_0x48f4fa+'':_0x48f4fa,_0x4709ee);import{jsx as _0x37475c,jsxs as _0x35ebb8}from'react/jsx-runtime';import{CollaborationStatus as _0x5ccd7a,CollaborationSessionService as _0x5c912f,CollaborationController as _0x4dcbe0,DataLoaderService as _0x25d6f7,MemberService as _0x1441a5,SessionStatus as _0x1ff5b0,ILocalCacheService as _0x283ae8,CollaborationUIEventService as _0x46404e,CollaborationUIEventId as _0xae35c0,DocCollaborationEntity as _0x577944,getLocalCacheKey as _0x4850c1,LOCAL_CACHE_INTERVAL as _0x4141da,LOCAL_CACHE_INTERVAL_KEY as _0x455621,UniverCollaborationClientPlugin as _0x39bb66,CollaborationSocketService as _0x5e793d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xea3d8a,DEFAULT_WS_SESSION_TICKET_URL as _0x3b65bf,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3e6dff,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x42623f,UnitStatus as _0x51dedc}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x2d64f0,IUniverInstanceService as _0x36e88a,Inject as _0x3cec4d,Injector as _0x51abd3,Disposable as _0x475912,createIdentifier as _0x46453f,ILogService as _0x483285,ICommandService as _0x39a449,Optional as _0x16aca7,RxDisposable as _0x281f67,Workbook as _0x1d17fb,DOC_RANGE_TYPE as _0x4f39e2,debounce as _0x5cfb67,Rectangle as _0x8891d2,DisposableCollection as _0x4d6b64,toDisposable as _0x25a399,UniverInstanceType as _0x1e0d79,generateRandomId as _0x3ef8ba,COLORS as _0x331bcf,ColorKit as _0x2bf980,ThemeService as _0x309c05,fromEventSubject as _0xf95b6a,Tools as _0x475476,CommandType as _0x3fd08f,IConfigService as _0x1df317,ILocalStorageService as _0x49c937,DependentOn as _0x2908da,Plugin as _0x5935fb,merge as _0x53efb1,registerDependencies as _0x2d7088,mergeOverrideWithDependencies as _0x4863ce,touchDependencies as _0x4a4167}from'@univerjs/core';import{useObservable as _0x282e58,useDependency as _0x4d4904,IUIPartsService as _0x4389a7,BuiltInUIPart as _0x510914,connectInjector as _0x1bdd40,IBeforeCloseService as _0x578e69,IMessageService as _0x18c9d1,INotificationService as _0x19a847}from'@univerjs/ui';import{BehaviorSubject as _0xd0c29a,switchMap as _0x59a0bb,of as _0x4f5868,takeUntil as _0x5ef8ca,debounceTime as _0x53d9b7,Subject as _0x4ed57b,filter as _0x257983,merge as _0x18de45,combineLatest as _0x342d7c,fromEvent as _0x1ba6d0,shareReplay as _0x5c02fa,mapTo as _0x2ee2b4,distinctUntilChanged as _0x771110}from'rxjs';import{Tooltip as _0x469a8a,clsx as _0x2e90fd,MessageType as _0x6f1a1e}from'@univerjs/design';import{forwardRef as _0x2b8dc3,useRef as _0x55d497,createElement as _0x5c83a5,useCallback as _0x196685}from'react';import{IRemoteInstanceService as _0x122ad0}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x471d12,RefRangeService as _0x17c769,SetSelectionsOperation as _0x2d2b61,SheetsSelectionsService as _0x4b6db3,EffectRefRangId as _0x3b50ef,handleIRemoveRow as _0x17f19e,handleIRemoveCol as _0x1bef2a,handleMoveRange as _0x523919,handleInsertRow as _0x1fe353,handleInsertRangeMoveRight as _0x1deeea,handleInsertRangeMoveDown as _0x4b443f,handleInsertCol as _0x444e22,handleDeleteRangeMoveUp as _0x2d8561,handleDeleteRangeMoveLeft as _0x85721c,runRefRangeMutations as _0x143099}from'@univerjs/sheets';import{Shape as _0x2d47ba,Rect as _0x55f6d7,getColor as _0x1b0d2b,RegularPolygon as _0x39caa2,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x39f231,Vector2 as _0x435050,SHEET_VIEWPORT_KEY as _0x21edad,IRenderManagerService as _0x3a7bf1}from'@univerjs/engine-render';import{ISocketService as _0x2409aa,WebSocketService as _0x714245,HTTPService as _0x43df90}from'@univerjs/network';import{IDocClipboardService as _0x34be4c,NodePositionConvertToCursor as _0x5d096a,NodePositionConvertToRectRange as _0x5b743e,TEXT_RANGE_LAYER_INDEX as _0x517f18,SetDocZoomRatioOperation as _0x2bb561,DocIMEInputManagerService as _0x14a7e7,DocStateChangeManagerService as _0x992903}from'@univerjs/docs-ui';import{IImageIoService as _0x2f20fd}from'@univerjs/drawing';import{ITransformService as _0x21a19,CollaborationEvent as _0x56c577,isTransformMutationFailure as _0x5b712c,isTransformMutationsWithChangesetSuccess as _0x241c0b,RevisionService as _0x347c7e,ISnapshotServerService as _0x25cd00}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1806f2,RichTextEditingMutation as _0x522d25,DocSelectionManagerService as _0x1f518c,DocSkeletonManagerService as _0x4865ee}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x3b4f77,serializeRangeWithSheet as _0x4de8b2}from'@univerjs/engine-formula';import{map as _0x43ee62,filter as _0x5b1e4c,throttleTime as _0x1f7b4d,takeUntil as _0x21d8a5,switchMap as _0x334db2}from'rxjs/operators';import{SheetSkeletonManagerService as _0x53c82a,getCoordByCell as _0x386b3c,getSheetObject as _0x24e0f3}from'@univerjs/sheets-ui';var v=function(){const _0x1342e7=_0x4ffb60;return v=Object[_0x1342e7(0x2d3)]||function(_0x10b31c){const _0x5449d3=_0x1342e7;for(var _0x4547d9,_0x110149=0x1,_0x59626d=arguments[_0x5449d3(0x15b)];_0x110149<_0x59626d;_0x110149++){_0x4547d9=arguments[_0x110149];for(var _0x6db269 in _0x4547d9)Object['prototype'][_0x5449d3(0x328)][_0x5449d3(0x259)](_0x4547d9,_0x6db269)&&(_0x10b31c[_0x6db269]=_0x4547d9[_0x6db269]);}return _0x10b31c;},v[_0x1342e7(0x162)](this,arguments);},ci=function(_0x2cc329,_0x245c17){const _0x528573=_0x4ffb60;var _0x5ce87a={};for(var _0x564da5 in _0x2cc329)Object['prototype'][_0x528573(0x328)][_0x528573(0x259)](_0x2cc329,_0x564da5)&&_0x245c17[_0x528573(0x2e0)](_0x564da5)<0x0&&(_0x5ce87a[_0x564da5]=_0x2cc329[_0x564da5]);if(_0x2cc329!=null&&typeof Object[_0x528573(0x187)]==_0x528573(0x209)){for(var _0x6e58f1=0x0,_0x564da5=Object[_0x528573(0x187)](_0x2cc329);_0x6e58f1<_0x564da5[_0x528573(0x15b)];_0x6e58f1++)_0x245c17[_0x528573(0x2e0)](_0x564da5[_0x6e58f1])<0x0&&Object[_0x528573(0x1c6)][_0x528573(0x13e)]['call'](_0x2cc329,_0x564da5[_0x6e58f1])&&(_0x5ce87a[_0x564da5[_0x6e58f1]]=_0x2cc329[_0x564da5[_0x6e58f1]]);}return _0x5ce87a;},ke=_0x2b8dc3(function(_0x342e47,_0x19bc42){const _0x392848=_0x4ffb60;var _0x24749f=_0x342e47['icon'],_0x5a927e=_0x342e47['id'],_0x1798b6=_0x342e47['className'],_0x4fd9fc=_0x342e47[_0x392848(0x27e)],_0x11f51a=ci(_0x342e47,[_0x392848(0x22b),'id',_0x392848(0x1fc),_0x392848(0x27e)]),_0x5d08e3='univerjs-icon\x20univerjs-icon-'[_0x392848(0x20e)](_0x5a927e,'\x20')[_0x392848(0x20e)](_0x1798b6||'')[_0x392848(0x302)](),_0x394dbe=_0x55d497('_'[_0x392848(0x20e)](hi()));return Rt(_0x24749f,''[_0x392848(0x20e)](_0x5a927e),{'defIds':_0x24749f[_0x392848(0x23b)],'idSuffix':_0x394dbe[_0x392848(0x1cb)]},v({'ref':_0x19bc42,'className':_0x5d08e3},_0x11f51a),_0x4fd9fc);});function Rt(_0x4d4a1c,_0x28d182,_0x6d782b,_0x329b70,_0x96421){const _0x567604=_0x4ffb60;return _0x5c83a5(_0x4d4a1c[_0x567604(0x212)],v(v({'key':_0x28d182},li(_0x4d4a1c,_0x6d782b,_0x96421)),_0x329b70),(_i(_0x4d4a1c,_0x6d782b)[_0x567604(0x331)]||[])[_0x567604(0x1a6)](function(_0x124c97,_0x266a84){const _0xae04d3=_0x567604;return Rt(_0x124c97,''[_0xae04d3(0x20e)](_0x28d182,'-')[_0xae04d3(0x20e)](_0x4d4a1c[_0xae04d3(0x212)],'-')[_0xae04d3(0x20e)](_0x266a84),_0x6d782b,void 0x0,_0x96421);}));}function li(_0x195760,_0x4f3d94,_0x4fd468){const _0x36d2f1=_0x4ffb60;var _0x960ac8=v({},_0x195760[_0x36d2f1(0x342)]);_0x4fd468!=null&&_0x4fd468[_0x36d2f1(0x146)]&&_0x960ac8[_0x36d2f1(0x2ba)]===_0x36d2f1(0x146)&&(_0x960ac8['fill']=_0x4fd468[_0x36d2f1(0x146)]),_0x195760[_0x36d2f1(0x212)]===_0x36d2f1(0x2ff)&&_0x960ac8['id']&&(_0x960ac8['id']=_0x960ac8['id']+_0x4f3d94['idSuffix']),Object[_0x36d2f1(0x181)](_0x960ac8)[_0x36d2f1(0x2a8)](function(_0x29cedb){const _0x584fc8=_0x36d2f1;var _0x589519=_0x29cedb[0x0],_0x1a72c6=_0x29cedb[0x1];_0x589519===_0x584fc8(0x2ff)&&typeof _0x1a72c6=='string'&&(_0x960ac8[_0x589519]=_0x1a72c6['replace'](/url\(#(.*)\)/,'url(#$1'[_0x584fc8(0x20e)](_0x4f3d94[_0x584fc8(0x341)],')')));});var _0x5bc987=_0x4f3d94[_0x36d2f1(0x23b)];return!_0x5bc987||_0x5bc987[_0x36d2f1(0x15b)]===0x0||(_0x195760['tag']===_0x36d2f1(0x295)&&_0x960ac8['xlink:href']&&(_0x960ac8['xlink:href']=_0x960ac8[_0x36d2f1(0x25d)]+_0x4f3d94[_0x36d2f1(0x341)]),Object['entries'](_0x960ac8)[_0x36d2f1(0x2a8)](function(_0x56d8e0){const _0x288067=_0x36d2f1;var _0x4742bc=_0x56d8e0[0x0],_0x310d63=_0x56d8e0[0x1];typeof _0x310d63==_0x288067(0x1c4)&&(_0x960ac8[_0x4742bc]=_0x310d63['replace'](/url\(#(.*)\)/,_0x288067(0x275)['concat'](_0x4f3d94['idSuffix'],')')));})),_0x960ac8;}function _i(_0x302126,_0x30ae24){const _0x524fff=_0x4ffb60;var _0x1631e9,_0x3b67e7=_0x30ae24[_0x524fff(0x23b)];return!_0x3b67e7||_0x3b67e7['length']===0x0?_0x302126:_0x302126[_0x524fff(0x212)]==='defs'&&(!((_0x1631e9=_0x302126[_0x524fff(0x331)])===null||_0x1631e9===void 0x0)&&_0x1631e9['length'])?v(v({},_0x302126),{'children':_0x302126[_0x524fff(0x331)][_0x524fff(0x1a6)](function(_0x20f1ad){const _0x82c37f=_0x524fff;return typeof _0x20f1ad[_0x82c37f(0x342)]['id']==_0x82c37f(0x1c4)&&_0x3b67e7&&_0x3b67e7['includes'](_0x20f1ad['attrs']['id'])?v(v({},_0x20f1ad),{'attrs':v(v({},_0x20f1ad['attrs']),{'id':_0x20f1ad[_0x82c37f(0x342)]['id']+_0x30ae24[_0x82c37f(0x341)]})}):_0x20f1ad;})}):_0x302126;}function hi(){const _0x58fcf5=_0x4ffb60;return Math['random']()[_0x58fcf5(0x2f4)](0x24)[_0x58fcf5(0x29f)](0x2,0x8);}ke[_0x4ffb60(0x144)]='UniverIcon';var ui={'tag':_0x4ffb60(0x1ad),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4ffb60(0x18d),'viewBox':_0x4ffb60(0x1a7),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4ffb60(0x167)},'children':[{'tag':_0x4ffb60(0x1ca),'attrs':{'stroke':_0x4ffb60(0x33d),'d':_0x4ffb60(0x1b9),'strokeLinecap':_0x4ffb60(0x1ef),'strokeLinejoin':_0x4ffb60(0x1ef),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4ffb60(0x230),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x4ffb60(0x1ca),'attrs':{'fill':_0x4ffb60(0x196),'d':_0x4ffb60(0x299)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x2b8dc3(function(_0x2c6431,_0x3cc87d){const _0x21299c=_0x4ffb60;return _0x5c83a5(ke,Object[_0x21299c(0x2d3)]({},_0x2c6431,{'id':_0x21299c(0x284),'ref':_0x3cc87d,'icon':ui}));});Dt[_0x4ffb60(0x144)]=_0x4ffb60(0x247);var di={'tag':'svg','attrs':{'xmlns':_0x4ffb60(0x220),'fill':_0x4ffb60(0x18d),'viewBox':_0x4ffb60(0x2c9),'width':_0x4ffb60(0x322),'height':_0x4ffb60(0x322)},'children':[{'tag':'g','attrs':{'clipPath':_0x4ffb60(0x1d1)},'children':[{'tag':_0x4ffb60(0x1ca),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x4ffb60(0x1ef),'strokeLinejoin':_0x4ffb60(0x1ef),'strokeWidth':1.2}}]},{'tag':_0x4ffb60(0x205),'attrs':{},'children':[{'tag':_0x4ffb60(0x230),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x4ffb60(0x23e)}}]}]}],'defIds':[_0x4ffb60(0x2cc)]},Nt=_0x2b8dc3(function(_0x136e1b,_0x30bdf0){const _0xb481c9=_0x4ffb60;return _0x5c83a5(ke,Object['assign']({},_0x136e1b,{'id':_0xb481c9(0x2c8),'ref':_0x30bdf0,'icon':di}));});Nt[_0x4ffb60(0x144)]=_0x4ffb60(0x23c);function fi(_0x104b5c){const _0x26d545=_0x4ffb60;switch(_0x104b5c){case _0x5ccd7a['OFFLINE']:return _0x26d545(0x195);case _0x5ccd7a[_0x26d545(0x14a)]:return _0x26d545(0x1bb);case _0x5ccd7a[_0x26d545(0x33c)]:return _0x26d545(0x18f);case _0x5ccd7a[_0x26d545(0x1de)]:return'collabStatus.notCollab';case _0x5ccd7a[_0x26d545(0x298)]:case _0x5ccd7a[_0x26d545(0x2cd)]:return'collabStatus.syncing';case _0x5ccd7a['SYNCED']:case _0x5ccd7a[_0x26d545(0x288)]:return _0x26d545(0x1ff);}}function Si(_0x1c4dc4){const _0x52d01f=_0x4ffb60,{status$:_0x20ff95}=_0x1c4dc4,_0x473210=_0x282e58(_0x20ff95,_0x5ccd7a[_0x52d01f(0x1de)]),_0x352370=_0x4d4904(_0x2d64f0),_0x259341=_0x4d4904(_0x5c912f),_0x22ba9b=_0x473210!==_0x5ccd7a[_0x52d01f(0x1c8)],_0x29e007=_0x352370['t'](fi(_0x473210)),_0x356054=_0x22ba9b?_0x37475c(Nt,{}):_0x37475c(Dt,{}),_0x7f97c6=_0x196685(()=>{const _0x5188ee=_0x52d01f;_0x22ba9b||_0x259341[_0x5188ee(0x14e)]();},[_0x22ba9b,_0x259341]);function _0x79e021(){const _0x21d6f1=_0x52d01f;return _0x35ebb8(_0x21d6f1(0x22e),{'className':_0x21d6f1(0x2a3),'onClick':_0x7f97c6,'children':[_0x37475c('div',{'className':_0x2e90fd(_0x21d6f1(0x339),{'univer-text-green-500':_0x22ba9b,'univer-text-red-500':!_0x22ba9b}),'children':_0x356054}),_0x37475c(_0x21d6f1(0x22e),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x29e007})]});}return _0x22ba9b?_0x79e021():_0x37475c(_0x469a8a,{'title':_0x352370['t']('collab-client.tooltip.reconnect'),'children':_0x79e021()});}var mi=Object[_0x4ffb60(0x1ee)],Ii=(_0x391c30,_0x6f038b,_0x5bfc90,_0x2842dd)=>{const _0x25f8b7=_0x4ffb60;for(var _0x1293c9=_0x2842dd>0x1?void 0x0:_0x2842dd?mi(_0x6f038b,_0x5bfc90):_0x6f038b,_0x5088a4=_0x391c30[_0x25f8b7(0x15b)]-0x1,_0x2aa03a;_0x5088a4>=0x0;_0x5088a4--)(_0x2aa03a=_0x391c30[_0x5088a4])&&(_0x1293c9=_0x2aa03a(_0x1293c9)||_0x1293c9);return _0x1293c9;},q=(_0x2873a6,_0x429f59)=>(_0x40621d,_0x42076)=>_0x429f59(_0x40621d,_0x42076,_0x2873a6);let se=class extends _0x475912{constructor(_0x140cb4,_0x25db15,_0x14b4a7,_0x366ae2){const _0x2cd329=_0x4ffb60;super(),_(this,_0x2cd329(0x1a1),new _0xd0c29a(_0x5ccd7a[_0x2cd329(0x1de)])),(this[_0x2cd329(0x29a)]=_0x140cb4,this[_0x2cd329(0x26a)]=_0x25db15,this[_0x2cd329(0x2e5)]=_0x14b4a7,this[_0x2cd329(0x2d0)]=_0x366ae2,this['_initStatusComponent'](),this[_0x2cd329(0x221)]());}[_0x4ffb60(0x221)](){const _0x28a29b=_0x4ffb60;this[_0x28a29b(0x1f6)](this[_0x28a29b(0x29a)][_0x28a29b(0x1e8)][_0x28a29b(0x1a3)](_0x59a0bb(()=>{const _0x1eb6e7=_0x28a29b,_0x439d36=this[_0x1eb6e7(0x29a)][_0x1eb6e7(0x2c2)]();return _0x439d36?this[_0x1eb6e7(0x2e5)][_0x1eb6e7(0x2f0)](_0x439d36[_0x1eb6e7(0x31f)]()):_0x4f5868(null);}),_0x59a0bb(_0x2b8d21=>_0x2b8d21?_0x2b8d21[_0x28a29b(0x25c)]:_0x4f5868(_0x5ccd7a['NOT_COLLAB'])))[_0x28a29b(0x194)](_0xa4866a=>{const _0xdc6e05=_0x28a29b;this[_0xdc6e05(0x1a1)][_0xdc6e05(0x15d)](_0xa4866a);}));}[_0x4ffb60(0x2f9)](){const _0x4c6c67=_0x4ffb60;this[_0x4c6c67(0x1f6)](this[_0x4c6c67(0x2d0)][_0x4c6c67(0x1ec)](_0x510914[_0x4c6c67(0x335)],()=>_0x1bdd40(vi({'status$':this[_0x4c6c67(0x1a1)][_0x4c6c67(0x34a)]()}),this['_injector'])));}};se=Ii([q(0x0,_0x36e88a),q(0x1,_0x3cec4d(_0x51abd3)),q(0x2,_0x3cec4d(_0x4dcbe0)),q(0x3,_0x4389a7)],se);function vi(_0x264462){const {status$:_0x487f60}=_0x264462;return function(){return _0x37475c(Si,{'status$':_0x487f60});};}const Ut=_0x46453f(_0x4ffb60(0x305));var gi=Object[_0x4ffb60(0x1ee)],pi=(_0x1f9d5c,_0x1aab20,_0x5685c0,_0x1f33de)=>{const _0x44259f=_0x4ffb60;for(var _0x3af81e=_0x1f33de>0x1?void 0x0:_0x1f33de?gi(_0x1aab20,_0x5685c0):_0x1aab20,_0x49abd0=_0x1f9d5c[_0x44259f(0x15b)]-0x1,_0x35423f;_0x49abd0>=0x0;_0x49abd0--)(_0x35423f=_0x1f9d5c[_0x49abd0])&&(_0x3af81e=_0x35423f(_0x3af81e)||_0x3af81e);return _0x3af81e;},G=(_0x565b7d,_0x5cdaf3)=>(_0x69d60c,_0x4dfb54)=>_0x5cdaf3(_0x69d60c,_0x4dfb54,_0x565b7d);let ie=class extends _0x281f67{constructor(_0x228b81,_0xd9e07d,_0x9aa08e,_0x2e2288,_0x5eb727){const _0x45f2d9=_0x4ffb60;super(),this[_0x45f2d9(0x282)]=_0x228b81,this[_0x45f2d9(0x14c)]=_0xd9e07d,this[_0x45f2d9(0x2bc)]=_0x9aa08e,this[_0x45f2d9(0x20a)]=_0x2e2288,_0x5eb727?_0x5eb727==null||_0x5eb727[_0x45f2d9(0x148)]()[_0x45f2d9(0x199)](()=>this[_0x45f2d9(0x179)]()):(this[_0x45f2d9(0x14c)][_0x45f2d9(0x2a4)](_0x45f2d9(0x278),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x45f2d9(0x179)]());}async[_0x4ffb60(0x179)](){const _0x1de5e5=_0x4ffb60,_0x4c92f5=this[_0x1de5e5(0x282)][_0x1de5e5(0x1e7)]('unit'),_0x2fa353=this[_0x1de5e5(0x282)]['getParam'](_0x1de5e5(0x28f)),_0x993d94=this[_0x1de5e5(0x282)][_0x1de5e5(0x1e7)](_0x1de5e5(0x19c));if(!_0x4c92f5||!_0x2fa353){this[_0x1de5e5(0x14c)][_0x1de5e5(0x2a4)](_0x1de5e5(0x278),_0x1de5e5(0x23d));return;}const _0x3a0fdc=await this[_0x1de5e5(0x20a)][_0x1de5e5(0x31d)](_0x4c92f5,Number(_0x2fa353),_0x993d94);_0x3a0fdc&&_0x3a0fdc instanceof _0x1d17fb&&this[_0x1de5e5(0x340)](_0x3a0fdc);}async[_0x4ffb60(0x340)](_0x4ff5a1){const _0x4758a9=_0x4ffb60;await this['_updateSubUnitFromURLParams'](_0x4ff5a1),_0x4ff5a1[_0x4758a9(0x2c5)]['pipe'](_0x5ef8ca(this[_0x4758a9(0x30b)]))[_0x4758a9(0x194)](_0xcc99a4=>{_0xcc99a4&&this['_updateURLWithCurrentState'](_0xcc99a4);}),this['_urlService'][_0x4758a9(0x2f3)][_0x4758a9(0x1a3)](_0x5ef8ca(this[_0x4758a9(0x30b)]))[_0x4758a9(0x194)](()=>this['_updateSubUnitFromURLParams'](_0x4ff5a1));}['_updateURLWithCurrentState'](_0x3300b9,_0x1bb173=!0x1){const _0x1fd292=_0x4ffb60,_0x25ed5d=this['_urlService']['getParam']('subunit');_0x3300b9[_0x1fd292(0x192)]()!==_0x25ed5d&&this['_urlService'][_0x1fd292(0x2a1)]('subunit',_0x3300b9[_0x1fd292(0x192)](),_0x1bb173);}async['_updateSubUnitFromURLParams'](_0x14de3c){const _0x43e259=_0x4ffb60;var _0x3954cd;const _0x21389d=this[_0x43e259(0x282)][_0x43e259(0x1e7)]('subunit');if(!_0x21389d||!_0x14de3c[_0x43e259(0x13c)](_0x21389d)){const _0x1b3c56=_0x14de3c['getUnhiddenWorksheets']()[0x0],_0x211c91=_0x14de3c[_0x43e259(0x13c)](_0x1b3c56);if(!_0x211c91)return;this[_0x43e259(0x33e)](_0x211c91,!0x0),await this['_commandService'][_0x43e259(0x155)](_0x471d12['id'],{'unitId':_0x14de3c[_0x43e259(0x31f)](),'subUnitId':_0x1b3c56});return;}((_0x3954cd=_0x14de3c[_0x43e259(0x1a0)]())==null?void 0x0:_0x3954cd[_0x43e259(0x192)]())!==_0x21389d&&await this[_0x43e259(0x2bc)][_0x43e259(0x155)](_0x471d12['id'],{'unitId':_0x14de3c[_0x43e259(0x31f)](),'subUnitId':_0x21389d});}};ie=pi([G(0x0,Ut),G(0x1,_0x483285),G(0x2,_0x39a449),G(0x3,_0x3cec4d(_0x25d6f7)),G(0x4,_0x16aca7(_0x122ad0))],ie);var Ci=Object[_0x4ffb60(0x1ee)],Ei=(_0x4acc16,_0x3ed76c,_0x582022,_0x2bf327)=>{const _0xc5a401=_0x4ffb60;for(var _0x432191=_0x2bf327>0x1?void 0x0:_0x2bf327?Ci(_0x3ed76c,_0x582022):_0x3ed76c,_0x4d654f=_0x4acc16[_0xc5a401(0x15b)]-0x1,_0x4655bd;_0x4d654f>=0x0;_0x4d654f--)(_0x4655bd=_0x4acc16[_0x4d654f])&&(_0x432191=_0x4655bd(_0x432191)||_0x432191);return _0x432191;},Je=(_0x57e7cd,_0x230468)=>(_0x78bf93,_0x54ebe8)=>_0x230468(_0x78bf93,_0x54ebe8,_0x57e7cd);let Ne=class extends _0x281f67{constructor(_0x4cfed0,_0x48e620){const _0x2f3502=_0x4ffb60;super(),this[_0x2f3502(0x161)]=_0x4cfed0,this['_imageIoService']=_0x48e620,this[_0x2f3502(0x179)]();}['_init'](){const _0x3df46f=_0x4ffb60,_0x1b2255=this;this[_0x3df46f(0x1f6)](this[_0x3df46f(0x161)][_0x3df46f(0x1b0)]({'onBeforePasteImage':async _0x335add=>{const _0x523fb9=_0x3df46f,_0x29be4f=await _0x1b2255[_0x523fb9(0x13b)][_0x523fb9(0x1db)](_0x335add);return _0x29be4f?{'source':_0x29be4f[_0x523fb9(0x1c0)],'imageSourceType':_0x29be4f[_0x523fb9(0x1bd)]}:null;}}));}};Ne=Ei([Je(0x0,_0x34be4c),Je(0x1,_0x2f20fd)],Ne);const Ze=[_0x4ffb60(0x2f7),_0x4ffb60(0x152),_0x4ffb60(0x256),_0x4ffb60(0x1a8),_0x4ffb60(0x24c),_0x4ffb60(0x170)];function _0x34c5(_0x4c6ec7,_0xf1f5d5){const _0x11f2bd=_0x11f2();return _0x34c5=function(_0x34c5ad,_0x363b0d){_0x34c5ad=_0x34c5ad-0x13b;let _0x423ad4=_0x11f2bd[_0x34c5ad];return _0x423ad4;},_0x34c5(_0x4c6ec7,_0xf1f5d5);}class He extends _0x475912{constructor(){const _0x5d7a01=_0x4ffb60;super(...arguments),_(this,_0x5d7a01(0x319),new Map()),_(this,_0x5d7a01(0x309),0x0);}['assignAColorForMemberID'](_0x345037){const _0x4ae3b5=_0x4ffb60;if(this[_0x4ae3b5(0x319)][_0x4ae3b5(0x23f)](_0x345037))return this['_assignedColors'][_0x4ae3b5(0x2e7)](_0x345037);const _0x346e9d=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0x4ae3b5(0x309)]+0x1)%Ze[_0x4ae3b5(0x15b)],this[_0x4ae3b5(0x319)][_0x4ae3b5(0x21f)](_0x345037,_0x346e9d),_0x346e9d;}}function Mt(_0x5c0f64){const _0x3344f5=_0x4ffb60;let _0x3fae95='';for(const _0x5d0d52 of _0x5c0f64){const {startOffset:_0x2fbcfa,endOffset:_0x1a20d0,isActive:_0x3e01a8,rangeType:_0x2c26d3,segmentId:_0x8a5479,segmentPage:_0x1eb8a1}=_0x5d0d52;_0x3fae95[_0x3344f5(0x15b)]&&(_0x3fae95+=','),_0x3fae95+=_0x2fbcfa+':'+_0x1a20d0+':'+(_0x3e01a8?'1':'0')+':'+_0x2c26d3+':'+_0x8a5479+':'+_0x1eb8a1;}return _0x3fae95;}function Oi(_0x1278bb){const _0x26ad47=_0x4ffb60,_0x1dc00c=_0x1278bb[_0x26ad47(0x2c3)](','),_0x34713c=[];for(const _0x192294 of _0x1dc00c){const [_0x433878,_0x4c57aa,_0x5aafc6,_0x540db6,_0x495ae6,_0x2d8053]=_0x192294[_0x26ad47(0x2c3)](':');_0x34713c['push']({'startOffset':Number(_0x433878),'endOffset':Number(_0x4c57aa),'collapsed':_0x433878===_0x4c57aa,'isActive':_0x5aafc6==='1','rangeType':_0x540db6===_0x4f39e2[_0x26ad47(0x279)]?_0x4f39e2[_0x26ad47(0x279)]:_0x4f39e2['RECT'],'segmentId':typeof _0x495ae6==_0x26ad47(0x1c4)?String(_0x495ae6):'','segmentPage':Number(_0x2d8053!=null?_0x2d8053:-0x1)});}return _0x34713c[_0x26ad47(0x311)](_0x3093c8=>_0x3093c8[_0x26ad47(0x296)])||(_0x34713c[0x0][_0x26ad47(0x296)]=!0x0),_0x34713c;}class Fe extends _0x281f67{constructor(){const _0x4c6ccf=_0x4ffb60;super(...arguments),_(this,_0x4c6ccf(0x1ab),new _0xd0c29a(null)),_(this,_0x4c6ccf(0x19d),this[_0x4c6ccf(0x1ab)][_0x4c6ccf(0x34a)]());}['syncEditingCollabCursor'](_0x44bc20){const _0x54b8bb=_0x4ffb60,{unitID:_0xabeeef,memberID:_0x3d8ae2,textRanges:_0x275ee9}=_0x44bc20,_0x4f0145=Mt(_0x275ee9);if(_0x4f0145==='')return;const _0x33797d={'unitID':_0xabeeef,'memberID':_0x3d8ae2,'selection':_0x4f0145};this[_0x54b8bb(0x1ab)][_0x54b8bb(0x15d)](_0x33797d);}}var bi=Object[_0x4ffb60(0x1ee)],Ti=(_0x4db6d1,_0x276a17,_0x18f5b6,_0x5b9acd)=>{const _0x9a04b8=_0x4ffb60;for(var _0x3145ed=_0x5b9acd>0x1?void 0x0:_0x5b9acd?bi(_0x276a17,_0x18f5b6):_0x276a17,_0x4fc135=_0x4db6d1[_0x9a04b8(0x15b)]-0x1,_0xb5eaa8;_0x4fc135>=0x0;_0x4fc135--)(_0xb5eaa8=_0x4db6d1[_0x4fc135])&&(_0x3145ed=_0xb5eaa8(_0x3145ed)||_0x3145ed);return _0x3145ed;},P=(_0x51145a,_0x338954)=>(_0x5b5235,_0x56747e)=>_0x338954(_0x5b5235,_0x56747e,_0x51145a);const Ri=0x12c,Di=0x64;function _0x11f2(){const _0x35f715=['translate(.97)','has','_eventUnsubscribe','_initResize','NO_OTHER_CLIENTS_EDITING','sheetId','_httpService','_session','find','OffLineIcon','currentTheme$','unitId','session.will-retry','getUndoRedoMutationParamsCache','blue.400','LICENSE_IMPORT_SIZE_EXCEEDED','_configService','exhaustSavingTask','getAncestorScale','_unitStatus','isEditing','transformMutationsWithChangeset','_hover','fillStyle','green.600','_initEntityListener','SNAPSHOT_INVALID_SNAPSHOT','call','Error','1331310SKNXhx','status$','xlink:href','INVITE_CODE_HAS_BEEN_UES','ONLINE','push','unitID','_collabCursorController','_initDependencies','Failed','collaboration-client.offline-data-not-saved','_document','_clearOtherTimers','292156EVeEQC','enableLocalCache','_injector','INTERNAL_ERROR','m2Prime','#FFF','_cachedData','UNDEFINED','MOBILE_HAS_BEEN_BOUND','getItem','save','eventID','_backgroundColor','url(#$1','_send','entityInit$','[CollaborationDataLoaderController]','TEXT','defineProperty','CHANGESET_REVISION_CONFILICT','disposeUnit','_removeCollabCursors','extend','_themeService','endColumn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_urlService','labelPosition','off-line-icon','collaboration-client-ui.config','_createSocketURL','_collaborationUIEventService','PENDING','_handleJoinEvent','...','getDocRanges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','MUTATION','_revisionService','type','VIEW_MAIN','key','transformStateCache','transformRemoteChangeset','_anchorDot','use','isActive','SOCKET_FAILED','AWAITING','M0\x200H16V16H0z','_univerInstanceService','override','_notificationService','APPLY_REVISION_CONFILICT','doc.mutation.rich-text-editing','substring','_saveTaskMap','setParam','isArray','univer-flex\x20univer-items-center','debug','3368MjSPyA','drawWith','_handleHover','forEach','_transformUndoRedoStack','_scheduleClearOtherTimer','_removeClearOtherTimer','_localStorageService','getActiveRange','_disabled','_transformHistoryAndStateStack','getUniverSheetInstance','_docSyncEditingCollabCursorService','_range','_shapes','YUUMI_ASYNCIO_CANCELLED','memberID','beginPath','values','_entityInit$','_handleLeaveEvent','fill','onPointerLeave$','_commandService','USERS_LEAVE','YUUMI_URL_COL_OUT_OF_RANGE','_registerRenderDependencies','_labelPosition','_selfUnitIDs','getFocusedUnit','split','_cursorShapes','activeSheet$','_drawAnchor','_memberService','on-line-icon','0\x200\x2017\x2016','getConfig','init','on-line-icon_clip0_910_349','AWAITING_WITH_PENDING','replaceDocRanges','measureText','_uiPartsService','NOT_FOUND','pushState','assign','_drawTextRange','_registerDependencies','INVITE_CODE_ALREADY_BOUND','YUUMI_SUBSCRIPTION_NOT_FOUND','_color','_handleEvent','application/json','onPointerMove$','registerBeforeClose','ranges','subscribeEvent','DeleteRangeMoveLeftCommandId','indexOf','_toggleOnline','clearTimeout','WECHAT_HAS_BEEN_BOUND','_getMergeRange','_collaborationController','getTypeOfUnitDisposed$','get','CLOSE_ROOM','_onCursorUpdate','column','setShapeProps','_initCommandExecutedListener','runId','transformMutation','executionId','getCollabEntity$','clearInterval','currentSkeleton$','urlChange$','toString','InsertRangeMoveDownCommandId','selection','purple.300','getMemberID','_initStatusComponent','InsertColCommandId','_handleHeartbeatEvent','_updateCollabCursors','session.connection-failed','YUUMI_NO_CUBOID_FOR_QUESTION','mask','_docSkeleton','assignAColorForMemberID','trim','setStateCache','cursorInfo$','uni.network.url-service','_doCreateSocket','JOIN_ROOM_FAILED','size','_colorIndex','_drawRectRange','dispose$','setConfig','UNIVER_SHEET','YUUMI_RATE_OVER_LIMIT','saveTaskMap','toRgbString','some','text','_onCursorDelete','LICENSE_EXPORT_SIZE_EXCEEDED','ACTIVE_UNIT_EVENT_CHANNEL','_unitOnClients','LICENSE_DISTRO_REJECTED','_id','_assignedColors','_online','UNIVER_DOC','_setupBeforeClosingHandler','loadUnit','top','getUnitId','addObject','actions','1em','collaboration.closeRoom','1781010fgqXds','hovered','ALREADY_EXISTS','closePath','hasOwnProperty','_docTransformSelectionsService','OTHER_CLIENTS_EDITING','add','lineTo','_initEvent','_heartbeatTimer','_startDocCollabCursor','addEventListener','children','PY_RUNTIME_SCRIPT_ERROR','_name','getMember','HEADER_MENU','SUBMIT_CHANGESET_TIMEOUT','_getScale','pluginName','univer-mr-2\x20univer-flex\x20univer-text-xl','getRelativeToViewportCoord','_messageService','FETCH_MISS','currentColor','_updateURLWithCurrentState','textRanges','_setupSubUnitSync','idSuffix','attrs','1441tRQGVJ','location','sessionTicket','origin','_textBubble','restore','with','asObservable','_imageIoService','getSheetBySheetId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','propertyIsEnumerable','post','PERMISSION_DENIED','onLocalMutation','LOGIN_FAILED','fillText','displayName','YUUMI_AI_RUN_FAILED','colorChannel1','_getSaveTimeout','whenReady','_anchor','CONFLICT','max','_logService','code','reconnect','storage','2SbpQRD','black','jiqing.500','undoState','ENSURE_SNAPSHOT_EXECUTION','executeCommand','mutations','disableLocalCache','params','_renderManagerService','moveTo','length','_cursorInfo$','next','registerRenderModule','_docTransformIMECacheService','cursorInfo','_docClipboardService','apply','EMAIL_HAS_BEEN_BOUND','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_updateLocalCursor','triggerDblclick','url(#off-line-icon_clip0_910_343)','backgroundColor','getCollabCursors$','_transformPreviousActiveRange','EMAIL_VERIFY_CODE_MISMATCH','popstate','flatMap','_getSessionTicket','_collabSessionService','yellow.400','_hovered','onTransformChange$','5nAXTrF','deepClone','transformIMECache','INVALID_ARGUMENT','onRendered','all','_init','_docStateChangeManagerService','endRow','_scheduleSaving','SOCKET_FAILED_RETRY','body','min','1449QSfxgl','entries','includes','getRangePointData','YUUMI_UNABLE_LOAD_URL','wsSessionTicketUrl','m1Prime','getOwnPropertySymbols','315963KAxUAR','_render','_scheduleHeartbeat','setAlpha','hide','none','INVALID_INVITE_CODE','collabStatus.fetchMiss','docStateChange$','_syncEditingCollabCursorService','getSheetId','from','subscribe','collabStatus.offline','white','evenodd','_sheetSkeletonManagerService','then','rgba(255,\x20255,\x20255,\x200.01)','collab-text-range-','subunit','collabCursorState$','searchParams','row','getActiveSheet','_status$','makeDirty','pipe','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_context','map','0\x200\x2016\x2016','red.300','unsubscribe','width','_collabCursorState$','roomMembers$','svg','_cursor','getCurrentSelections','addClipboardHook','invokeId','RemoveColCommandId','bottom','COMPLETION_FINISHED','CONNECTOR_DATA_TOO_LARGE','contains','arc','_roomMembers$','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','getCurrentUnitForType','collabStatus.conflict','sessionStatus$','imageSourceType','_onRefRangeChange','InsertRowCommandId','source','event$','send','_getSheetObject','string','transformByState','prototype','_docTransformStateCacheService','OFFLINE','saveOfflineData','path','current','_startSheetCollabCursor','88078ThOihb','loadOfflineData','setActiveRange','_entities','url(#on-line-icon_clip0_910_349)','_lastPointer','getUnitStatus$','getOffsetConfig','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','addHandlerCallback','_localeService','complete','color','Unknown\x20user','saveImage','setTimeout','APPLY_REJECT','NOT_COLLAB','getVpScrollXYInfoByPosToVp','skeleton','_toggleOffline','onPointerEnter$','_cursors','Warning','editingUnit','USER_NOT_INVITED_CODE','getParam','focused$','_config','unshift','name','registerComponent','onCommandExecuted','getOwnPropertyDescriptor','round','permission.content','href','33510JedhOm','UNRECOGNIZED','dispose','engine','disposeWithMe','height','range','/run/','_instanceService','getStateCache','className','createSocket','_hideTimer','collabStatus.synced','stringify','_localCacheService','data','getRenderById','_colorAssignService','defs','APPLY_NON_SEQUENTIAL_REVISION','redoState','APPLY_PERMISSION_DENIED','function','_dataLoaderService','_draw','OTHER_CLIENT_EDITING','UNAUTHENTICATED','concat','_refRangeService','symbol','getValue','tag','unit','requireSession','ticket','FromArray','_getAnchorBounding','_refreshCollabCursors','replaceState','history','_scene','[RemoteUniscriptService]:\x20no\x20focused\x20unit','setItem','roomMembers','set','http://www.w3.org/2000/svg','_initStatusListener','_transformService','registerRefRange','show','MoveRangeCommandId','getColorFromTheme','permission.title','MOBILE_VERIFY_CODE_MISMATCH','TOO_MANY_REQUESTS','getCurrentRevOfUnit','icon','collab-text-anchor-','_ensureSubject','div','_saveCache','clipPath','selections','error','getSkeleton','_docSkeletonManagerService','LICENSE_MAX_UNITS_EXCEEDED','transformSelections','UPDATE_CURSOR','delete','getMergeData','INVITE_CODE_REQUIRED','defIds','OnLineIcon','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.'];_0x11f2=function(){return _0x35f715;};return _0x11f2();}let Ue=class extends _0x281f67{constructor(_0x2a8819,_0x5be4f1,_0x1456df,_0x4953f8,_0x19d55f,_0x2c2ac0,_0x1b9120,_0x76e7dd,_0x526f74){const _0x362321=_0x4ffb60;super(),_(this,_0x362321(0x31a),!0x1),_(this,_0x362321(0x179),!0x1),_(this,_0x362321(0x15c),new _0xd0c29a(new Map())),_(this,_0x362321(0x304),this[_0x362321(0x15c)][_0x362321(0x34a)]()),_(this,'_roomMembers$',new _0xd0c29a([])),_(this,_0x362321(0x1ac),this[_0x362321(0x1b8)][_0x362321(0x1a3)](_0x53d9b7(Ri))),_(this,_0x362321(0x165),_0x5cfb67(_0xb4f5ea=>{const _0x246a20=_0x362321,_0x59d817={'eventID':_0x56c577[_0x246a20(0x237)],'data':{'unitID':this[_0x246a20(0x261)],'memberID':this[_0x246a20(0x245)][_0x246a20(0x2f8)](),'selection':Mt(_0xb4f5ea)}};this[_0x246a20(0x245)][_0x246a20(0x1c2)](_0x59d817,this[_0x246a20(0x261)]);},Di)),(this[_0x362321(0x261)]=_0x2a8819,this['_session']=_0x5be4f1,this[_0x362321(0x26a)]=_0x1456df,this[_0x362321(0x204)]=_0x4953f8,this['_memberService']=_0x19d55f,this[_0x362321(0x191)]=_0x2c2ac0,this[_0x362321(0x222)]=_0x1b9120,this[_0x362321(0x29a)]=_0x76e7dd,this[_0x362321(0x2bc)]=_0x526f74);}get[_0x4ffb60(0x160)](){const _0x518861=_0x4ffb60;return this[_0x518861(0x15c)][_0x518861(0x211)]();}get[_0x4ffb60(0x21e)](){const _0x24c4e1=_0x4ffb60;return this[_0x24c4e1(0x1b8)]['getValue']();}[_0x4ffb60(0x1f4)](){const _0x589505=_0x4ffb60;super[_0x589505(0x1f4)](),this[_0x589505(0x15c)]['next'](new Map()),this[_0x589505(0x15c)]['complete'](),this[_0x589505(0x1b8)]['next']([]),this[_0x589505(0x1b8)][_0x589505(0x1d8)]();}[_0x4ffb60(0x2cb)](){const _0x2d34bf=_0x4ffb60;this[_0x2d34bf(0x179)]||(this[_0x2d34bf(0x179)]=!0x0,this['_session'][_0x2d34bf(0x1bc)]['pipe'](_0x5ef8ca(this[_0x2d34bf(0x30b)]))[_0x2d34bf(0x194)](_0x89e235=>{const _0xe908b4=_0x2d34bf;_0x89e235===_0x1ff5b0[_0xe908b4(0x25f)]?this[_0xe908b4(0x2e1)]():this[_0xe908b4(0x1e1)]();}),this[_0x2d34bf(0x245)][_0x2d34bf(0x1c1)][_0x2d34bf(0x1a3)](_0x5ef8ca(this[_0x2d34bf(0x30b)]))[_0x2d34bf(0x194)](_0xad5488=>{const _0x46f6e5=_0x2d34bf,_0x2cace1=_0xad5488[_0x46f6e5(0x273)];_0x2cace1===_0x56c577[_0x46f6e5(0x237)]&&this[_0x46f6e5(0x2e9)](_0xad5488),_0x2cace1===_0x56c577[_0x46f6e5(0x2bd)]&&this[_0x46f6e5(0x313)](_0xad5488);}),this[_0x2d34bf(0x1f6)](this[_0x2d34bf(0x2bc)]['onCommandExecuted'](_0x1e6530=>{const _0xddba29=_0x2d34bf,_0xd7913=_0x1e6530[_0xddba29(0x158)];_0xd7913!=null&&this[_0xddba29(0x31a)]&&_0x1e6530['id']===_0x1806f2['id']&&_0xd7913[_0xddba29(0x249)]===this[_0xddba29(0x261)]&&_0xd7913[_0xddba29(0x252)]===!0x1&&_0xd7913[_0xddba29(0x2dd)][_0xddba29(0x15b)]>0x0&&this[_0xddba29(0x165)](_0xd7913[_0xddba29(0x2dd)]);})),this[_0x2d34bf(0x191)][_0x2d34bf(0x19d)]['pipe'](_0x5ef8ca(this['dispose$']))[_0x2d34bf(0x194)](_0x5bcb9f=>{const _0x32a023=_0x2d34bf;if((_0x5bcb9f==null?void 0x0:_0x5bcb9f[_0x32a023(0x261)])!==this[_0x32a023(0x261)])return;const _0x91684d={'eventID':_0x56c577[_0x32a023(0x237)],'data':_0x5bcb9f};this['_onCursorUpdate'](_0x91684d);}),this[_0x2d34bf(0x1f6)](this[_0x2d34bf(0x2bc)][_0x2d34bf(0x1ed)](_0x2a19ad=>{const _0x9abb7c=_0x2d34bf;if(_0x2a19ad[_0x9abb7c(0x158)]==null)return;const _0x43eec7=_0x2a19ad[_0x9abb7c(0x158)];if(_0x2a19ad['id']!==_0x522d25['id']||_0x43eec7[_0x9abb7c(0x249)]!==this[_0x9abb7c(0x261)])return;const _0x1d0f9f={'id':_0x9abb7c(0x29e),'params':_0x43eec7},_0x76503f=this[_0x9abb7c(0x160)];for(const [_0x2ba1bd,_0x34fa54]of _0x76503f){const _0x5618df={'id':_0x9abb7c(0x29e),'params':{'unitId':this[_0x9abb7c(0x261)],'actions':null,'textRanges':_0x34fa54[_0x9abb7c(0x2dd)]}},_0xb7f4ea=this['_transformService']['transformMutation'](_0x1d0f9f,_0x5618df,!0x1);if(_0x5b712c(_0xb7f4ea))throw _0xb7f4ea[_0x9abb7c(0x232)];_0x76503f[_0x9abb7c(0x21f)](_0x2ba1bd,{..._0x34fa54,'ranges':_0xb7f4ea[_0x9abb7c(0x26c)][_0x9abb7c(0x158)][_0x9abb7c(0x33f)]});}queueMicrotask(()=>{const _0x385367=_0x9abb7c;this[_0x385367(0x15c)][_0x385367(0x15d)](_0x76503f);});})));}[_0x4ffb60(0x2e9)](_0x19517c){const _0x33c29e=_0x4ffb60;var _0x23a405,_0x46aa6a;const {memberID:_0x5f3845,selection:_0x25c827}=_0x19517c[_0x33c29e(0x202)],_0x3e3790=Oi(_0x25c827),_0x44683d=(_0x46aa6a=(_0x23a405=this[_0x33c29e(0x2c7)][_0x33c29e(0x334)](this['unitID'],_0x5f3845))==null?void 0x0:_0x23a405[_0x33c29e(0x1eb)])!=null?_0x46aa6a:_0x33c29e(0x1da),_0x20ea60={'color':this['_colorAssignService'][_0x33c29e(0x301)](_0x5f3845),'name':_0x44683d,'ranges':_0x3e3790},_0x19f06d=this[_0x33c29e(0x160)];_0x19f06d[_0x33c29e(0x21f)](_0x5f3845,_0x20ea60),this[_0x33c29e(0x15c)][_0x33c29e(0x15d)](_0x19f06d);}[_0x4ffb60(0x313)](_0x5ec8d5){const _0x41613c=_0x4ffb60,{memberID:_0x44fe94}=_0x5ec8d5[_0x41613c(0x202)],_0x520aaf=this[_0x41613c(0x160)];_0x520aaf['delete'](_0x44fe94),this[_0x41613c(0x15c)][_0x41613c(0x15d)](_0x520aaf);}[_0x4ffb60(0x2e1)](){const _0x1dfb29=_0x4ffb60;var _0x271ab3;if(this[_0x1dfb29(0x31a)]=!0x0,((_0x271ab3=this[_0x1dfb29(0x29a)][_0x1dfb29(0x2c2)]())==null?void 0x0:_0x271ab3[_0x1dfb29(0x31f)]())!==this[_0x1dfb29(0x261)])return;const _0x51a599=this[_0x1dfb29(0x26a)]['get'](_0x1f518c)['getDocRanges']();Array[_0x1dfb29(0x2a2)](_0x51a599)&&_0x51a599[_0x1dfb29(0x15b)]>0x0&&this[_0x1dfb29(0x165)](_0x51a599);}['_toggleOffline'](){const _0x26b927=_0x4ffb60;this[_0x26b927(0x31a)]=!0x1;}};Ue=Ti([P(0x2,_0x3cec4d(_0x51abd3)),P(0x3,_0x3cec4d(He)),P(0x4,_0x3cec4d(_0x1441a5)),P(0x5,_0x3cec4d(Fe)),P(0x6,_0x21a19),P(0x7,_0x36e88a),P(0x8,_0x39a449)],Ue);var Ni=Object[_0x4ffb60(0x1ee)],Ui=(_0x53a18e,_0x361755,_0x34dcc7,_0x440445)=>{const _0x28a54c=_0x4ffb60;for(var _0x42bfa5=_0x440445>0x1?void 0x0:_0x440445?Ni(_0x361755,_0x34dcc7):_0x361755,_0x37588f=_0x53a18e[_0x28a54c(0x15b)]-0x1,_0x12592f;_0x37588f>=0x0;_0x37588f--)(_0x12592f=_0x53a18e[_0x37588f])&&(_0x42bfa5=_0x12592f(_0x42bfa5)||_0x42bfa5);return _0x42bfa5;},x=(_0x5806cf,_0xe32c79)=>(_0x557bdb,_0x45ebb2)=>_0xe32c79(_0x557bdb,_0x45ebb2,_0x5806cf);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x46bc4c=[],_0x380360=!0x1;return _0x1bc4a3=>{const _0x30d094=_0x34c5;_0x46bc4c[_0x30d094(0x260)](_0x1bc4a3),_0x380360||(_0x380360=!0x0,setTimeout(()=>{const _0x196abe=_0x30d094;_0x46bc4c[_0x196abe(0x2a8)](_0x446c30=>_0x446c30()),_0x46bc4c=[],_0x380360=!0x1;}));};};let Me=class extends _0x281f67{constructor(_0x47a8c1,_0x424405,_0x42f1a3,_0x2346be,_0x33edea,_0x17c9c6,_0x1922e8,_0x2bcea6){const _0x275508=_0x4ffb60;super(),_(this,'_online',!0x1),_(this,_0x275508(0x179),!0x1),_(this,'_cursorInfo$',new _0xd0c29a(new Map())),_(this,_0x275508(0x304),this[_0x275508(0x15c)][_0x275508(0x34a)]()),_(this,_0x275508(0x1b8),new _0xd0c29a([])),_(this,_0x275508(0x1ac),this[_0x275508(0x1b8)][_0x275508(0x1a3)](_0x53d9b7(Mi))),_(this,_0x275508(0x165),_0x5cfb67((_0x577afa,_0x51bc37)=>{const _0x37bcbf=_0x275508,_0x2fd1dc={'eventID':_0x56c577[_0x37bcbf(0x237)],'data':{'unitID':this[_0x37bcbf(0x261)],'memberID':this[_0x37bcbf(0x245)]['getMemberID'](),'selection':_0x4de8b2(_0x577afa,_0x51bc37[_0x37bcbf(0x1f8)])}};this[_0x37bcbf(0x245)][_0x37bcbf(0x1c2)](_0x2fd1dc,this[_0x37bcbf(0x261)]);},Li)),(this[_0x275508(0x261)]=_0x47a8c1,this[_0x275508(0x245)]=_0x424405,this[_0x275508(0x26a)]=_0x42f1a3,this[_0x275508(0x204)]=_0x2346be,this[_0x275508(0x2c7)]=_0x33edea,this[_0x275508(0x29a)]=_0x17c9c6,this[_0x275508(0x2bc)]=_0x1922e8,this[_0x275508(0x20f)]=_0x2bcea6);}get[_0x4ffb60(0x160)](){const _0x6f2788=_0x4ffb60;return this[_0x6f2788(0x15c)]['getValue']();}get[_0x4ffb60(0x21e)](){const _0x241285=_0x4ffb60;return this[_0x241285(0x1b8)]['getValue']();}['dispose'](){const _0x10f674=_0x4ffb60;super[_0x10f674(0x1f4)](),this[_0x10f674(0x15c)]['next'](new Map()),this[_0x10f674(0x15c)][_0x10f674(0x1d8)](),this['_roomMembers$'][_0x10f674(0x15d)]([]),this['_roomMembers$'][_0x10f674(0x1d8)]();}[_0x4ffb60(0x2cb)](){const _0x1ed3bb=_0x4ffb60;this[_0x1ed3bb(0x179)]||(this[_0x1ed3bb(0x179)]=!0x0,this[_0x1ed3bb(0x245)][_0x1ed3bb(0x1bc)][_0x1ed3bb(0x1a3)](_0x5ef8ca(this[_0x1ed3bb(0x30b)]))[_0x1ed3bb(0x194)](_0x223e0c=>{const _0x353381=_0x1ed3bb;_0x223e0c===_0x1ff5b0[_0x353381(0x25f)]?this[_0x353381(0x2e1)]():this[_0x353381(0x1e1)]();}),this[_0x1ed3bb(0x245)][_0x1ed3bb(0x1c1)][_0x1ed3bb(0x1a3)](_0x5ef8ca(this[_0x1ed3bb(0x30b)]))[_0x1ed3bb(0x194)](_0x10b310=>{const _0xc8dbfa=_0x1ed3bb,_0x36ccc4=_0x10b310[_0xc8dbfa(0x273)];_0x36ccc4===_0x56c577[_0xc8dbfa(0x237)]&&this[_0xc8dbfa(0x2e9)](_0x10b310),_0x36ccc4===_0x56c577['USERS_LEAVE']&&this[_0xc8dbfa(0x313)](_0x10b310);}),this[_0x1ed3bb(0x1be)](),this[_0x1ed3bb(0x1f6)](this[_0x1ed3bb(0x2bc)][_0x1ed3bb(0x1ed)](_0x13af24=>{const _0x41d0b3=_0x1ed3bb;if(this[_0x41d0b3(0x31a)]&&_0x13af24['id']===_0x2d2b61['id']&&_0x13af24['params'][_0x41d0b3(0x249)]===this[_0x41d0b3(0x261)]){const _0x2c6ee0=_0x13af24[_0x41d0b3(0x158)];this['_updateLocalCursor'](_0x2c6ee0['subUnitId'],_0x2c6ee0[_0x41d0b3(0x231)][0x0]);}})));}[_0x4ffb60(0x2e9)](_0x109a7b){const _0x44a1e1=_0x4ffb60;var _0x49641e,_0x282809;const {memberID:_0x5e8a65,selection:_0x48a986}=_0x109a7b[_0x44a1e1(0x202)],{sheetName:_0x234970,range:_0xf7965b}=_0x3b4f77(_0x48a986),_0x3fff24={'name':(_0x282809=(_0x49641e=this[_0x44a1e1(0x2c7)][_0x44a1e1(0x334)](this[_0x44a1e1(0x261)],_0x5e8a65))==null?void 0x0:_0x49641e[_0x44a1e1(0x1eb)])!=null?_0x282809:_0x44a1e1(0x1da),'range':this[_0x44a1e1(0x2e4)](_0x234970,_0xf7965b),'sheetID':_0x234970,'color':this[_0x44a1e1(0x204)][_0x44a1e1(0x301)](_0x5e8a65),'selection':_0x48a986},_0x516ac8=this[_0x44a1e1(0x160)];_0x516ac8[_0x44a1e1(0x21f)](_0x5e8a65,_0x3fff24),this[_0x44a1e1(0x15c)][_0x44a1e1(0x15d)](_0x516ac8);}[_0x4ffb60(0x313)](_0xf65119){const _0xda3e9=_0x4ffb60,{memberID:_0x5e3e86}=_0xf65119['data'],_0x1e7db4=this[_0xda3e9(0x160)];_0x1e7db4[_0xda3e9(0x238)](_0x5e3e86),this[_0xda3e9(0x15c)][_0xda3e9(0x15d)](_0x1e7db4);}['_getMergeRange'](_0x305122,_0x4714cd){const _0xa58dfa=_0x4ffb60;var _0x3fee89,_0x5be94e;const _0x6ff4d2=(_0x5be94e=(_0x3fee89=this['_univerInstanceService'][_0xa58dfa(0x2b0)](this[_0xa58dfa(0x261)]))==null?void 0x0:_0x3fee89[_0xa58dfa(0x13c)](_0x305122))==null?void 0x0:_0x5be94e[_0xa58dfa(0x239)]();return(_0x6ff4d2==null?void 0x0:_0x6ff4d2[_0xa58dfa(0x246)](_0x4e9467=>_0x8891d2[_0xa58dfa(0x1b6)](_0x4e9467,_0x4714cd)))||_0x4714cd;}[_0x4ffb60(0x1be)](){const _0x4cd8f9=_0x4ffb60,_0x788e39=new _0x4d6b64(),_0x57cc04=Pi(),_0x488758=()=>{const _0x5cf03e=_0x34c5;_0x788e39['dispose']();const _0x3b4659=(_0x3f8c92,_0x3788f7,_0x4fd128,_0x23901c)=>{const _0x470a50=_0x34c5;let _0xbfdf70=[];switch(_0x3f8c92['id']){case _0x3b50ef[_0x470a50(0x2df)]:{_0xbfdf70=_0x85721c(_0x3f8c92,_0x23901c);break;}case _0x3b50ef['DeleteRangeMoveUpCommandId']:{_0xbfdf70=_0x2d8561(_0x3f8c92,_0x23901c);break;}case _0x3b50ef[_0x470a50(0x2fa)]:{_0xbfdf70=_0x444e22(_0x3f8c92,_0x23901c);break;}case _0x3b50ef[_0x470a50(0x2f5)]:{_0xbfdf70=_0x4b443f(_0x3f8c92,_0x23901c);break;}case _0x3b50ef['InsertRangeMoveRightCommandId']:{_0xbfdf70=_0x1deeea(_0x3f8c92,_0x23901c);break;}case _0x3b50ef[_0x470a50(0x1bf)]:{_0xbfdf70=_0x1fe353(_0x3f8c92,_0x23901c);break;}case _0x3b50ef[_0x470a50(0x225)]:{_0xbfdf70=_0x523919(_0x3f8c92,_0x23901c);break;}case _0x3b50ef[_0x470a50(0x1b2)]:{_0xbfdf70=_0x1bef2a(_0x3f8c92,_0x23901c);break;}case _0x3b50ef['RemoveRowCommandId']:{_0xbfdf70=_0x17f19e(_0x3f8c92,_0x23901c);break;}}const _0x2ead32=_0x143099(_0xbfdf70,_0x23901c),_0x1e21be=this[_0x470a50(0x160)]['get'](_0x3788f7);if(_0x1e21be&&_0x2ead32){const _0x3898c4={..._0x1e21be,'range':_0x2ead32};this[_0x470a50(0x160)]['set'](_0x3788f7,_0x3898c4),_0x57cc04(()=>{const _0x52369c=_0x470a50,_0x364229=this[_0x52369c(0x20f)][_0x52369c(0x223)](_0x2ead32,_0x4095fd=>(_0x364229[_0x52369c(0x1f4)](),_0x3b4659(_0x4095fd,_0x3788f7,_0x4fd128,_0x2ead32)));_0x788e39[_0x52369c(0x32b)](_0x364229);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5cf03e(0x2a8)]((_0x40e2d5,_0x5e18a2)=>{const _0x568675=_0x5cf03e,{range:_0x4eda58,sheetID:_0x5375cd}=_0x40e2d5,_0x534e4b=this[_0x568675(0x20f)]['registerRefRange'](_0x4eda58,_0x4becb2=>(_0x534e4b[_0x568675(0x1f4)](),_0x3b4659(_0x4becb2,_0x5e18a2,_0x5375cd,_0x4eda58)));_0x788e39[_0x568675(0x32b)](_0x534e4b);});};this[_0x4cd8f9(0x1f6)](_0x25a399(this[_0x4cd8f9(0x15c)][_0x4cd8f9(0x194)](()=>{_0x488758();})));}['_toggleOnline'](){const _0x5350c3=_0x4ffb60;var _0x1cd82e,_0x338a18;if(this[_0x5350c3(0x31a)]=!0x0,((_0x1cd82e=this[_0x5350c3(0x29a)][_0x5350c3(0x2c2)]())==null?void 0x0:_0x1cd82e['getUnitId']())!==this[_0x5350c3(0x261)])return;const _0x1a2f97=(_0x338a18=this[_0x5350c3(0x26a)][_0x5350c3(0x2e7)](_0x4b6db3)[_0x5350c3(0x1af)]())==null?void 0x0:_0x338a18[0x0],_0x57658f=this[_0x5350c3(0x29a)][_0x5350c3(0x1ba)](_0x1e0d79[_0x5350c3(0x30d)])[_0x5350c3(0x1a0)]();_0x1a2f97&&_0x57658f&&this[_0x5350c3(0x165)](_0x57658f[_0x5350c3(0x192)](),_0x1a2f97);}[_0x4ffb60(0x1e1)](){this['_online']=!0x1;}};Me=Ui([x(0x2,_0x3cec4d(_0x51abd3)),x(0x3,_0x3cec4d(He)),x(0x4,_0x3cec4d(_0x1441a5)),x(0x5,_0x36e88a),x(0x6,_0x39a449),x(0x7,_0x3cec4d(_0x17c769))],Me);var wi=Object[_0x4ffb60(0x1ee)],Ai=(_0x4cd5dc,_0x58253e,_0x5b6a54,_0x46dc1d)=>{for(var _0x36259d=_0x46dc1d>0x1?void 0x0:_0x46dc1d?wi(_0x58253e,_0x5b6a54):_0x58253e,_0x559b53=_0x4cd5dc['length']-0x1,_0x2b3fc4;_0x559b53>=0x0;_0x559b53--)(_0x2b3fc4=_0x4cd5dc[_0x559b53])&&(_0x36259d=_0x2b3fc4(_0x36259d)||_0x36259d);return _0x36259d;},me=(_0x22680c,_0x4642a9)=>(_0x39bd3b,_0x1e4f76)=>_0x4642a9(_0x39bd3b,_0x1e4f76,_0x22680c);let F=class extends _0x281f67{constructor(_0x38ffd3,_0x1cdf01,_0x398407){const _0x56b17a=_0x4ffb60;super(),_(this,_0x56b17a(0x1d0),new Map()),_(this,_0x56b17a(0x2b8),new _0x4ed57b()),(this[_0x56b17a(0x29a)]=_0x38ffd3,this[_0x56b17a(0x26a)]=_0x1cdf01,this[_0x56b17a(0x16f)]=_0x398407,this['_init']());}[_0x4ffb60(0x1f4)](){const _0x55102e=_0x4ffb60;super['dispose'](),this[_0x55102e(0x2b8)][_0x55102e(0x1d8)](),this[_0x55102e(0x1d0)][_0x55102e(0x2a8)](_0x3dcdf5=>_0x3dcdf5['dispose']());}[_0x4ffb60(0x169)](_0x2159c2){const _0x5d231f=_0x4ffb60;return this[_0x5d231f(0x1d0)][_0x5d231f(0x23f)](_0x2159c2)?this['_entities'][_0x5d231f(0x2e7)](_0x2159c2)[_0x5d231f(0x304)]:this[_0x5d231f(0x2b8)][_0x5d231f(0x1a3)](_0x257983(_0x11d761=>_0x11d761[_0x5d231f(0x261)]===_0x2159c2),_0x59a0bb(_0x30a3b6=>_0x30a3b6[_0x5d231f(0x304)]));}[_0x4ffb60(0x179)](){const _0x31e39a=_0x4ffb60;this[_0x31e39a(0x29a)]['getTypeOfUnitAdded$'](_0x1e0d79[_0x31e39a(0x30d)])[_0x31e39a(0x1a3)](_0x5ef8ca(this[_0x31e39a(0x30b)]))['subscribe'](async _0x3fe1ec=>{const _0xd84260=_0x31e39a,_0x300b9f=_0x3fe1ec[_0xd84260(0x31f)](),_0x12f30c=await this[_0xd84260(0x1cc)](_0x300b9f);this[_0xd84260(0x2b8)][_0xd84260(0x15d)](_0x12f30c),this[_0xd84260(0x1d0)]['set'](_0x300b9f,_0x12f30c);}),this[_0x31e39a(0x29a)]['getTypeOfUnitAdded$'](_0x1e0d79[_0x31e39a(0x31b)])[_0x31e39a(0x1a3)](_0x5ef8ca(this['dispose$']))[_0x31e39a(0x1a3)](_0x257983(_0x59a487=>!_0x59a487[_0x31e39a(0x31f)]()['startsWith']('__')))[_0x31e39a(0x194)](async _0x12a51e=>{const _0x21460b=_0x31e39a,_0x25dfee=_0x12a51e[_0x21460b(0x31f)](),_0x3ffab8=await this['_startDocCollabCursor'](_0x25dfee);this[_0x21460b(0x2b8)][_0x21460b(0x15d)](_0x3ffab8),this[_0x21460b(0x1d0)]['set'](_0x25dfee,_0x3ffab8);}),_0x18de45(this[_0x31e39a(0x29a)][_0x31e39a(0x2e6)](_0x1e0d79['UNIVER_DOC']),this['_univerInstanceService'][_0x31e39a(0x2e6)](_0x1e0d79[_0x31e39a(0x30d)]))[_0x31e39a(0x1a3)](_0x5ef8ca(this[_0x31e39a(0x30b)]))[_0x31e39a(0x194)](_0x2c1f2b=>{const _0x23ade1=_0x31e39a,_0x5a50f5=_0x2c1f2b[_0x23ade1(0x31f)](),_0x50e5e2=this['_entities'][_0x23ade1(0x2e7)](_0x5a50f5);_0x50e5e2&&(_0x50e5e2['dispose'](),this[_0x23ade1(0x1d0)][_0x23ade1(0x238)](_0x5a50f5));});}async['_startSheetCollabCursor'](_0x142faf){const _0x10f49c=_0x4ffb60,_0x331279=await this[_0x10f49c(0x16f)][_0x10f49c(0x214)](_0x142faf),_0x5811d6=this[_0x10f49c(0x26a)]['createInstance'](Me,_0x142faf,_0x331279);return _0x5811d6[_0x10f49c(0x2cb)](),_0x5811d6;}async[_0x4ffb60(0x32f)](_0x33a7ed){const _0x88b726=_0x4ffb60,_0x238325=await this[_0x88b726(0x16f)][_0x88b726(0x214)](_0x33a7ed),_0x29125d=this['_injector']['createInstance'](Ue,_0x33a7ed,_0x238325);return _0x29125d[_0x88b726(0x2cb)](),_0x29125d;}};F=Ai([me(0x0,_0x36e88a),me(0x1,_0x3cec4d(_0x51abd3)),me(0x2,_0x3cec4d(_0x5c912f))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x398157,_0x396506){const _0x5bafa9=_0x4ffb60;let {radius:_0x4112ae,width:_0x5ebea5,height:_0xa4c68e}=_0x396506;_0x4112ae=_0x4112ae!=null?_0x4112ae:0x0,_0x5ebea5=_0x5ebea5!=null?_0x5ebea5:0x1e,_0xa4c68e=_0xa4c68e!=null?_0xa4c68e:0x1e;let _0x1a025e=0x0,_0x301589=0x0,_0x5ae853=0x0;_0x1a025e=_0x301589=_0x5ae853=Math[_0x5bafa9(0x17f)](_0x4112ae,_0x5ebea5/0x2,_0xa4c68e/0x2),_0x398157[_0x5bafa9(0x2b6)](),_0x398157[_0x5bafa9(0x15a)](_0x1a025e,0x0),_0x398157[_0x5bafa9(0x32c)](_0x5ebea5-_0x301589,0x0),_0x398157[_0x5bafa9(0x1b7)](_0x5ebea5-_0x301589,_0x301589,_0x301589,Math['PI']*0x3/0x2,0x0,!0x1),_0x398157[_0x5bafa9(0x32c)](_0x5ebea5,_0xa4c68e-_0x5ae853),_0x398157[_0x5bafa9(0x1b7)](_0x5ebea5-_0x5ae853,_0xa4c68e-_0x5ae853,_0x5ae853,0x0,Math['PI']/0x2,!0x1),_0x398157[_0x5bafa9(0x32c)](0x0,_0xa4c68e),_0x398157['lineTo'](0x0,_0x1a025e),_0x398157[_0x5bafa9(0x1b7)](_0x1a025e,_0x1a025e,_0x1a025e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x398157[_0x5bafa9(0x327)](),_0x396506[_0x5bafa9(0x2ba)]&&(_0x398157[_0x5bafa9(0x272)](),_0x398157[_0x5bafa9(0x255)]=_0x396506[_0x5bafa9(0x2ba)],_0x396506['fillRule']===_0x5bafa9(0x197)?_0x398157[_0x5bafa9(0x2ba)](_0x5bafa9(0x197)):_0x398157['fill'](),_0x398157['restore']());}class ue extends _0x2d47ba{constructor(_0x440525,_0xd7f12b){const _0x5ccda6=_0x4ffb60;super(_0x440525,_0xd7f12b),_(this,_0x5ccda6(0x1d9)),_(this,_0x5ccda6(0x312)),(this[_0x5ccda6(0x1d9)]=_0xd7f12b==null?void 0x0:_0xd7f12b['color'],this[_0x5ccda6(0x312)]=_0xd7f12b==null?void 0x0:_0xd7f12b[_0x5ccda6(0x312)]);}static[_0x4ffb60(0x2a6)](_0x51b797,_0x114916){const _0x343006=_0x4ffb60,{text:_0x3b951c,color:_0x16c381}=_0x114916;_0x51b797[_0x343006(0x272)](),_0x51b797['font']=_0x343006(0x1a4);const _0xff5f1c=_0x51b797[_0x343006(0x2cf)](_0x3b951c)['width'],_0x533d61=Math[_0x343006(0x17f)](_0xff5f1c+0x2*Ie,Qe);$i(_0x51b797,{'height':J,'radius':0x4,'width':_0x533d61,'fill':_0x16c381}),_0x51b797[_0x343006(0x255)]=_0x343006(0x26d);const _0x4032c9=Ie,_0x4a2d3c=J-yi,_0x46f0e9=Qe-0x2*Ie;if(_0xff5f1c>_0x46f0e9){let _0x48b096='',_0x4bf5cc=0x0;for(const _0x5d3673 of _0x3b951c){const _0xfa39f4=_0x51b797[_0x343006(0x2cf)](_0x5d3673)['width'];if(_0x4bf5cc+_0xfa39f4<=_0x46f0e9-_0x51b797[_0x343006(0x2cf)](_0x343006(0x28a))[_0x343006(0x1aa)])_0x48b096+=_0x5d3673,_0x4bf5cc+=_0xfa39f4;else{_0x48b096+=_0x343006(0x28a);break;}}_0x51b797['fillText'](_0x48b096,_0x4032c9,_0x4a2d3c);}else _0x51b797[_0x343006(0x143)](_0x3b951c,_0x4032c9,_0x4a2d3c);_0x51b797[_0x343006(0x348)]();}['_draw'](_0x256ebc){const _0x22e28d=_0x4ffb60;ue[_0x22e28d(0x2a6)](_0x256ebc,this);}}const ve=_0x4ffb60(0x22c),xi=_0x4ffb60(0x19b),Bi='collab-rect-range-',K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x4ffb60(0x19a);class qe{constructor(_0x4302bf,_0x55e07b,_0x5ee235,_0x4cbeb5){const _0x35ce8e=_0x4ffb60;_(this,_0x35ce8e(0x2b3),[]),_(this,_0x35ce8e(0x149),null),_(this,_0x35ce8e(0x347),null),_(this,_0x35ce8e(0x294),null),_(this,_0x35ce8e(0x1fe),null),_(this,_0x35ce8e(0x240),null),(this[_0x35ce8e(0x1ae)]=_0x4302bf,this['_scene']=_0x55e07b,this[_0x35ce8e(0x300)]=_0x5ee235,this[_0x35ce8e(0x266)]=_0x4cbeb5,this[_0x35ce8e(0x189)]());}set[_0x4ffb60(0x254)](_0x59114a){const _0x30c05c=_0x4ffb60;_0x59114a?(this['_anchorDot']&&this[_0x30c05c(0x294)][_0x30c05c(0x18c)](),this[_0x30c05c(0x347)]&&this[_0x30c05c(0x347)]['show']()):(this['_anchorDot']&&this[_0x30c05c(0x294)][_0x30c05c(0x224)](),this['_textBubble']&&this[_0x30c05c(0x347)]['hide']());}[_0x4ffb60(0x1f4)](){const _0x5a15e9=_0x4ffb60;for(const _0x46cd23 of this[_0x5a15e9(0x2b3)])_0x46cd23[_0x5a15e9(0x1f4)]();this[_0x5a15e9(0x347)]&&this[_0x5a15e9(0x347)][_0x5a15e9(0x1f4)](),this['_anchorDot']&&this[_0x5a15e9(0x294)]['dispose'](),this[_0x5a15e9(0x149)]&&this['_anchor']['dispose'](),this[_0x5a15e9(0x240)]&&this['_eventUnsubscribe']();}[_0x4ffb60(0x189)](){const _0x7165cb=_0x4ffb60;var _0x1eb3ae;const {_docSkeleton:_0x1831a1,_document:_0x5f050b}=this,{color:_0xe275d4,name:_0x12552a,ranges:_0x278755}=this[_0x7165cb(0x1ae)],_0x4e1de6=_0x5f050b[_0x7165cb(0x1d4)](),{docsLeft:_0x2d5ce3,docsTop:_0xc42eec}=_0x4e1de6,_0x4efdaf=new _0x5d096a(_0x4e1de6,_0x1831a1);for(const {startOffset:_0x1ba83e,endOffset:_0x3b8384,rangeType:_0x480f90,segmentId:_0x123cb9,segmentPage:_0x2551c2,collapsed:_0x3d9909,isActive:_0x2f3748}of _0x278755){const _0x50e199=_0x1831a1['findNodePositionByCharIndex'](_0x1ba83e,!0x0,_0x123cb9,_0x2551c2);let _0x4a8187=_0x1831a1['findNodePositionByCharIndex'](_0x3b8384,!0x0,_0x123cb9,_0x2551c2);if(_0x4a8187==null&&(_0x4a8187=_0x1831a1['findNodePositionByCharIndex'](_0x3b8384-0x1,!0x1,_0x123cb9,_0x2551c2)),_0x2f3748){const {contentBoxPointGroup:_0x110c9d}=_0x4efdaf[_0x7165cb(0x183)](_0x4a8187,_0x4a8187);if(_0x110c9d['length']===0x0)continue;this[_0x7165cb(0x2c6)](_0xe275d4,_0x110c9d,_0x2d5ce3,_0xc42eec,_0x12552a),this[_0x7165cb(0x240)]=this[_0x7165cb(0x2a7)]();}if(_0x50e199&&_0x4a8187){if(_0x480f90===_0x4f39e2['RECT']){const _0x4fa1cf=new _0x5b743e(_0x4e1de6,_0x1831a1),{pointGroup:_0x46dad6}=(_0x1eb3ae=_0x4fa1cf[_0x7165cb(0x183)](_0x50e199,_0x4a8187))!=null?_0x1eb3ae:{};if(_0x46dad6==null||_0x46dad6[_0x7165cb(0x15b)]===0x0)continue;this['_drawRectRange'](_0xe275d4,_0x46dad6,_0x2d5ce3,_0xc42eec);}else{if(!_0x3d9909){const {borderBoxPointGroup:_0x2e6057}=_0x4efdaf[_0x7165cb(0x183)](_0x50e199,_0x4a8187);if(_0x2e6057[_0x7165cb(0x15b)]===0x0)continue;this[_0x7165cb(0x2d4)](_0xe275d4,_0x2e6057,_0x2d5ce3,_0xc42eec);}}}}}[_0x4ffb60(0x2c6)](_0x5cea89,_0x100036,_0x1a30ec,_0x1974e4,_0x4e945f){const _0x301aa6=_0x4ffb60,_0x363827=this[_0x301aa6(0x217)](_0x100036),{left:_0x411de0,top:_0x34feb0,height:_0xe40854}=_0x363827,_0x203193=this['_getScale'](),_0x3114fc=Hi/_0x203193,_0x197e3d=new _0x55f6d7(ve+_0x3ef8ba(K),{'left':_0x411de0+_0x1a30ec-_0x3114fc,'top':_0x34feb0+_0x1974e4,'height':_0xe40854,'width':ki,'fill':_0x5cea89||_0x1b0d2b(_0x331bcf[_0x301aa6(0x151)],0x0),'strokeWidth':_0x3114fc,'stroke':Fi,'evented':!0x0});this[_0x301aa6(0x149)]=_0x197e3d,this['_scene'][_0x301aa6(0x320)](_0x197e3d,_0x517f18);const _0x157689=new _0x55f6d7(ve+_0x3ef8ba(K),{'left':_0x411de0+_0x1a30ec-_0x3114fc,'top':_0x34feb0+_0x1974e4-ge/0x2,'height':ge,'width':ge,'fill':_0x5cea89||_0x1b0d2b(_0x331bcf[_0x301aa6(0x151)],0x0),'strokeWidth':0x0,'stroke':_0x5cea89||_0x1b0d2b(_0x331bcf[_0x301aa6(0x151)],0x0),'evented':!0x1});this[_0x301aa6(0x294)]=_0x157689,this[_0x301aa6(0x21b)][_0x301aa6(0x320)](_0x157689,_0x517f18);const _0x1cf7b1=new ue(ve+_0x3ef8ba(K),{'left':_0x411de0+_0x1a30ec-_0x3114fc,'top':_0x34feb0+_0x1974e4-J,'text':_0x4e945f,'color':_0x5cea89});this[_0x301aa6(0x347)]=_0x1cf7b1,this[_0x301aa6(0x21b)][_0x301aa6(0x320)](_0x1cf7b1,_0x517f18),this[_0x301aa6(0x254)]=!0x1;}[_0x4ffb60(0x2a7)](){const _0x4d4be4=_0x4ffb60,_0x3fe49b=this[_0x4d4be4(0x149)]['onPointerEnter$']['subscribeEvent'](()=>{const _0xddadce=_0x4d4be4;this[_0xddadce(0x254)]=!0x0;}),_0x7571fd=this[_0x4d4be4(0x149)][_0x4d4be4(0x2bb)][_0x4d4be4(0x2de)](()=>{const _0x1be0a7=_0x4d4be4;this[_0x1be0a7(0x1fe)]&&clearTimeout(this[_0x1be0a7(0x1fe)]),this[_0x1be0a7(0x1fe)]=setTimeout(()=>{const _0x47b138=_0x1be0a7;this[_0x47b138(0x254)]=!0x1;},0x7d0);});return()=>{const _0x7eeb0d=_0x4d4be4;_0x3fe49b[_0x7eeb0d(0x1a9)](),_0x7571fd[_0x7eeb0d(0x1a9)]();};}[_0x4ffb60(0x2d4)](_0xac29c1,_0x3104dc,_0x46eb9d,_0x3b4b74){const _0x19c6b6=_0x4ffb60,_0x39790e=new _0x2bf980(_0xac29c1)['setAlpha'](0.2)[_0x19c6b6(0x310)](),_0x52003b=new _0x39caa2(xi+_0x3ef8ba(K),{'pointsGroup':_0x3104dc,'fill':_0x39790e||_0x1b0d2b(_0x331bcf[_0x19c6b6(0x151)],0.2),'left':_0x46eb9d,'top':_0x3b4b74,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x19c6b6(0x260)](_0x52003b),this[_0x19c6b6(0x21b)][_0x19c6b6(0x320)](_0x52003b,_0x517f18);}[_0x4ffb60(0x30a)](_0x5c25b5,_0x907ddc,_0x253783,_0x201cc6){const _0x23c65c=_0x4ffb60,_0x1172cc=new _0x2bf980(_0x5c25b5)[_0x23c65c(0x18b)](0.2)[_0x23c65c(0x310)](),_0x4257a6=new _0x39caa2(Bi+_0x3ef8ba(K),{'pointsGroup':_0x907ddc,'fill':_0x1172cc||_0x1b0d2b(_0x331bcf['black'],0.2),'left':_0x253783,'top':_0x201cc6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x23c65c(0x2b3)][_0x23c65c(0x260)](_0x4257a6),this[_0x23c65c(0x21b)]['addObject'](_0x4257a6,_0x517f18);}['_getAnchorBounding'](_0x538dbb){const _0x493152=_0x538dbb[0x0],_0x36b769=_0x493152[0x0],_0x1378a3=_0x493152[0x2],{x:_0x1644c8,y:_0x4ba174}=_0x36b769,{x:_0xb4d24c,y:_0x3dcc1c}=_0x1378a3;return{'left':_0x1644c8,'top':_0x4ba174,'width':_0xb4d24c-_0x1644c8,'height':_0x3dcc1c-_0x4ba174};}[_0x4ffb60(0x337)](){const _0x22718a=_0x4ffb60,{scaleX:_0x4c844d,scaleY:_0x51cff4}=this[_0x22718a(0x21b)][_0x22718a(0x250)]();return Math[_0x22718a(0x14b)](_0x4c844d,_0x51cff4);}}var Yi=Object[_0x4ffb60(0x1ee)],ji=(_0x24beea,_0x399fd2,_0x10ed69,_0x397aec)=>{const _0x6e28ba=_0x4ffb60;for(var _0x5118c5=_0x397aec>0x1?void 0x0:_0x397aec?Yi(_0x399fd2,_0x10ed69):_0x399fd2,_0x593426=_0x24beea[_0x6e28ba(0x15b)]-0x1,_0x23a06d;_0x593426>=0x0;_0x593426--)(_0x23a06d=_0x24beea[_0x593426])&&(_0x5118c5=_0x23a06d(_0x5118c5)||_0x5118c5);return _0x5118c5;},ee=(_0x418e34,_0x190f46)=>(_0x1462b0,_0xc34f48)=>_0x190f46(_0x1462b0,_0xc34f48,_0x418e34);let Le=class extends _0x281f67{constructor(_0x3ed55b,_0x4c913d,_0x36b2dd,_0x111149,_0x31f4d9){const _0x5ed8fc=_0x4ffb60;super(),_(this,'_cursorShapes',[]),_(this,_0x5ed8fc(0x1e3),[]),(this['_context']=_0x3ed55b,this['_docSkeletonManagerService']=_0x4c913d,this[_0x5ed8fc(0x262)]=_0x36b2dd,this[_0x5ed8fc(0x2bc)]=_0x111149,this[_0x5ed8fc(0x27f)]=_0x31f4d9,this[_0x5ed8fc(0x179)]());}[_0x4ffb60(0x179)](){const _0x50fc82=_0x4ffb60,_0xc1191=this[_0x50fc82(0x1a5)]['unitId'],_0x3b581a=this[_0x50fc82(0x234)];this[_0x50fc82(0x1f6)](_0x342d7c([this['_collabCursorController'][_0x50fc82(0x169)](_0xc1191),this['_themeService'][_0x50fc82(0x248)]])[_0x50fc82(0x1a3)](_0x43ee62(([_0x5349dd,_0x5ade61])=>({'skeleton':_0x3b581a[_0x50fc82(0x233)](),'cursors':[..._0x5349dd[_0x50fc82(0x2b7)]()][_0x50fc82(0x16d)](_0x372bdf=>({..._0x372bdf,'color':this[_0x50fc82(0x27f)]['getColorFromTheme'](_0x372bdf[_0x50fc82(0x1d9)])}))})))[_0x50fc82(0x194)](_0x5c0625=>{if(this['_removeCollabCursors'](),_0x5c0625){const {skeleton:_0x3c6107,cursors:_0x163107}=_0x5c0625;this['_updateCollabCursors'](_0x3c6107,_0x163107);}})),this[_0x50fc82(0x241)](),this[_0x50fc82(0x2ec)]();}['_updateCollabCursors'](_0x483226,_0x326c4c){const _0x13b99e=_0x4ffb60,{scene:_0x53be9f,mainComponent:_0x1f278f}=this[_0x13b99e(0x1a5)],_0x5d12e2=_0x326c4c[_0x13b99e(0x1a6)](_0x52531b=>new qe(_0x52531b,_0x53be9f,_0x483226,_0x1f278f));this[_0x13b99e(0x2c4)]=_0x5d12e2,this[_0x13b99e(0x1e3)]=_0x326c4c;}[_0x4ffb60(0x218)](){const _0x122512=_0x4ffb60;this['_removeCollabCursors']();const {scene:_0x2caa50,mainComponent:_0xb7871b}=this[_0x122512(0x1a5)],_0x2e2bdb=this[_0x122512(0x234)][_0x122512(0x233)](),_0x28a95e=this[_0x122512(0x1e3)][_0x122512(0x1a6)](_0x4a07d8=>new qe(_0x4a07d8,_0x2caa50,_0x2e2bdb,_0xb7871b));this[_0x122512(0x2c4)]=_0x28a95e;}[_0x4ffb60(0x27d)](){const _0x1fe145=_0x4ffb60;this[_0x1fe145(0x2c4)]['forEach'](_0x31aa7d=>_0x31aa7d['dispose']()),this['_cursorShapes']=[];}[_0x4ffb60(0x2ec)](){const _0x333ca1=_0x4ffb60,_0x5ea21a=[_0x2bb561['id']];this[_0x333ca1(0x1f6)](this[_0x333ca1(0x2bc)][_0x333ca1(0x1ed)](_0x255d2f=>{const _0x3dbb5e=_0x333ca1;_0x5ea21a[_0x3dbb5e(0x182)](_0x255d2f['id'])&&_0x255d2f[_0x3dbb5e(0x158)][_0x3dbb5e(0x249)]===this[_0x3dbb5e(0x1a5)][_0x3dbb5e(0x249)]&&this[_0x3dbb5e(0x218)]();}));}[_0x4ffb60(0x241)](){const _0x37fe29=_0x4ffb60;this[_0x37fe29(0x1f6)](_0xf95b6a(this[_0x37fe29(0x1a5)][_0x37fe29(0x1f5)][_0x37fe29(0x172)])[_0x37fe29(0x1a3)](_0x5b1e4c(_0x1f0786=>_0x1f0786[_0x37fe29(0x28f)]===_0x39f231['resize']),_0x1f7b4d(0x10))[_0x37fe29(0x194)](()=>{this['_refreshCollabCursors']();}));}};Le=ji([ee(0x1,_0x3cec4d(_0x4865ee)),ee(0x2,_0x3cec4d(F)),ee(0x3,_0x39a449),ee(0x4,_0x3cec4d(_0x309c05))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x2d47ba{constructor(_0x2af1e5,_0x160d61){const _0x5c7c11=_0x4ffb60;super(_0x2af1e5,_0x160d61),_(this,_0x5c7c11(0x2d8)),_(this,'_hovered',!0x1),_(this,_0x5c7c11(0x2b2)),_(this,_0x5c7c11(0x333),''),_(this,_0x5c7c11(0x2c0),_0x5c7c11(0x31e)),_(this,'_backgroundColor'),(_0x160d61&&this[_0x5c7c11(0x2eb)](_0x160d61),this[_0x5c7c11(0x1e2)][_0x5c7c11(0x2de)](()=>this[_0x5c7c11(0x2eb)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5c7c11(0x2de)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x4ffb60(0x2eb)](_0x816346){const _0x26dfce=_0x4ffb60;var _0x6ade8a,_0x21f4c7,_0x4f9273,_0x3d0293,_0x13bad5,_0x2961a0;this['_color']=(_0x6ade8a=_0x816346[_0x26dfce(0x1d9)])!=null?_0x6ade8a:this[_0x26dfce(0x2d8)],this[_0x26dfce(0x171)]=(_0x21f4c7=_0x816346[_0x26dfce(0x325)])!=null?_0x21f4c7:this['_hovered'],this[_0x26dfce(0x2b2)]=(_0x4f9273=_0x816346[_0x26dfce(0x1f8)])!=null?_0x4f9273:this[_0x26dfce(0x2b2)],this[_0x26dfce(0x333)]=(_0x3d0293=_0x816346[_0x26dfce(0x1eb)])!=null?_0x3d0293:this[_0x26dfce(0x333)],this[_0x26dfce(0x2c0)]=(_0x13bad5=_0x816346[_0x26dfce(0x283)])!=null?_0x13bad5:this['_labelPosition'],this['_backgroundColor']=(_0x2961a0=_0x816346[_0x26dfce(0x168)])!=null?_0x2961a0:this[_0x26dfce(0x274)],this[_0x26dfce(0x1c5)]({'width':_0x816346[_0x26dfce(0x1aa)],'height':_0x816346[_0x26dfce(0x1f7)]});}['onMouseMove'](_0x1a2bf8){const _0x17c81b=_0x4ffb60,{row:_0x4a15a7,column:_0x7943d8}=_0x1a2bf8;if(_0x4a15a7>=this[_0x17c81b(0x2b2)]['startRow']&&_0x4a15a7<=this[_0x17c81b(0x2b2)][_0x17c81b(0x17b)]&&_0x7943d8>=this[_0x17c81b(0x2b2)]['startColumn']&&_0x7943d8<=this[_0x17c81b(0x2b2)][_0x17c81b(0x280)]){this[_0x17c81b(0x2eb)]({'hovered':!0x0});return;}this[_0x17c81b(0x2eb)]({'hovered':!0x1});}[_0x4ffb60(0x166)](_0xab0cd8){return!0x1;}[_0x4ffb60(0x20b)](_0x27f6a4){const _0x4e580a=_0x4ffb60;_0x55f6d7[_0x4e580a(0x2a6)](_0x27f6a4,{'width':this['width'],'height':this[_0x4e580a(0x1f7)],'strokeWidth':Wi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x4e580a(0x171)]&&(_0x27f6a4[_0x4e580a(0x272)](),_0x27f6a4['transform'](0x1,0x0,0x0,0x1,this[_0x4e580a(0x1aa)],this['_labelPosition']===_0x4e580a(0x1b3)?0x0:-J),ue[_0x4e580a(0x2a6)](_0x27f6a4,{'text':this[_0x4e580a(0x333)],'color':this[_0x4e580a(0x2d8)]}),_0x27f6a4['restore']());}}var Gi=Object[_0x4ffb60(0x1ee)],Ki=(_0x169fc3,_0x42dced,_0x3e1428,_0x2cb2f2)=>{const _0xb962e0=_0x4ffb60;for(var _0x41edf3=_0x2cb2f2>0x1?void 0x0:_0x2cb2f2?Gi(_0x42dced,_0x3e1428):_0x42dced,_0x59cb0d=_0x169fc3[_0xb962e0(0x15b)]-0x1,_0x53c138;_0x59cb0d>=0x0;_0x59cb0d--)(_0x53c138=_0x169fc3[_0x59cb0d])&&(_0x41edf3=_0x53c138(_0x41edf3)||_0x41edf3);return _0x41edf3;},pe=(_0x36e1ac,_0x131e14)=>(_0x4f93e6,_0x5f583c)=>_0x131e14(_0x4f93e6,_0x5f583c,_0x36e1ac);const zi=0x1389;let Pe=class extends _0x281f67{constructor(_0x1bf188,_0x4463ff,_0x5d6b29,_0x342d23){const _0x1a3bcd=_0x4ffb60;super(),_(this,_0x1a3bcd(0x1e3),new Set()),_(this,'_lastPointer',null),(this[_0x1a3bcd(0x1a5)]=_0x1bf188,this[_0x1a3bcd(0x198)]=_0x4463ff,this[_0x1a3bcd(0x262)]=_0x5d6b29,this[_0x1a3bcd(0x27f)]=_0x342d23,this[_0x1a3bcd(0x179)]());}[_0x4ffb60(0x179)](){const _0x292ea0=_0x4ffb60;this[_0x292ea0(0x198)][_0x292ea0(0x2f2)][_0x292ea0(0x1a3)](_0x21d8a5(this[_0x292ea0(0x30b)]),_0x334db2(_0x3e8adc=>{const _0x13bbf1=_0x292ea0;if(_0x3e8adc){const _0x2a97a7=_0x3e8adc[_0x13bbf1(0x243)];return _0x342d7c(this[_0x13bbf1(0x262)]['getCollabCursors$'](this['_context']['unitId']),this['_themeService']['currentTheme$'])[_0x13bbf1(0x1a3)](_0x43ee62(([_0x5a2c21,_0x3f6f79])=>{const _0xb8fa9b=_0x13bbf1,_0x111dc8=new Map();return _0x5a2c21[_0xb8fa9b(0x2a8)]((_0x64f08c,_0x2a809f)=>{const _0x37672d=_0xb8fa9b;if(_0x64f08c['sheetID']===_0x2a97a7){const _0x1ec125={..._0x64f08c};_0x1ec125[_0x37672d(0x1d9)]=this['_themeService'][_0x37672d(0x226)](_0x64f08c[_0x37672d(0x1d9)]),_0x111dc8[_0x37672d(0x21f)](_0x2a809f,_0x1ec125);}}),{'skeleton':_0x3e8adc,'cursors':_0x111dc8};}));}return _0x4f5868({'skeleton':null,'cursors':new Map()});}))[_0x292ea0(0x194)](({skeleton:_0x1fdc12,cursors:_0x2f9e26})=>{const _0x3bba1f=_0x292ea0;this[_0x3bba1f(0x27d)](),_0x1fdc12&&this['_updateCollabCursors'](_0x1fdc12,_0x2f9e26);}),this[_0x292ea0(0x198)][_0x292ea0(0x2f2)][_0x292ea0(0x194)](_0x46e5fc=>{const _0x30a5e2=_0x292ea0;if(_0x46e5fc==null)return;const {skeleton:_0x280b5b}=_0x46e5fc,{scene:_0x1cd2c9}=this[_0x30a5e2(0x1a5)];_0x1cd2c9[_0x30a5e2(0x2db)][_0x30a5e2(0x2de)](_0x5cfb67(_0x3917f7=>{const _0x5360b4=_0x30a5e2;var _0x9a49f8,_0x7ac865;const {offsetX:_0x5aa72b,offsetY:_0x4f5784}=_0x3917f7,{x:_0x65edd2,y:_0x58172d}=_0x1cd2c9[_0x5360b4(0x33a)](_0x435050[_0x5360b4(0x216)]([_0x5aa72b,_0x4f5784])),{scaleX:_0x493896,scaleY:_0x5430e4}=_0x1cd2c9[_0x5360b4(0x250)](),_0x3bc166=_0x1cd2c9['getViewport'](_0x21edad[_0x5360b4(0x290)]),_0x231cdd=_0x1cd2c9[_0x5360b4(0x1df)](_0x435050['FromArray']([_0x65edd2,_0x58172d]),_0x3bc166),_0x2071f3=_0x280b5b['getCellPositionByOffset'](_0x5aa72b,_0x4f5784,_0x493896,_0x5430e4,_0x231cdd);((_0x9a49f8=this[_0x5360b4(0x1d2)])==null?void 0x0:_0x9a49f8['column'])===_0x2071f3[_0x5360b4(0x2ea)]&&((_0x7ac865=this['_lastPointer'])==null?void 0x0:_0x7ac865[_0x5360b4(0x19f)])===_0x2071f3[_0x5360b4(0x19f)]||this[_0x5360b4(0x1e3)]['forEach'](_0xbba5c6=>{_0xbba5c6['onMouseMove'](_0x2071f3);});},0x64));});}[_0x4ffb60(0x2fc)](_0x3fbfe8,_0x32ed40){const _0x2938cf=_0x4ffb60;var _0x294470;const _0x4d2172=(_0x294470=this[_0x2938cf(0x198)]['getCurrent']())==null?void 0x0:_0x294470[_0x2938cf(0x1e0)];if(!_0x4d2172)return;const _0x3ebbc9=this[_0x2938cf(0x1c3)]();if(!_0x3ebbc9)return;this[_0x2938cf(0x1e3)][_0x2938cf(0x2a8)](_0x29779b=>{const _0x5b43af=_0x2938cf;_0x29779b[_0x5b43af(0x1a2)]();});const {scene:_0x380d2e}=_0x3ebbc9,_0x3917d5=Ji(Array[_0x2938cf(0x193)](_0x32ed40[_0x2938cf(0x2b7)]()))['map'](_0x10ff7f=>{const _0x416a84=_0x2938cf,{color:_0x3e53fd,range:_0x3cc4fb,name:_0x367233,selection:_0x2e1d32,sheetID:_0x2f94f5}=_0x10ff7f,{startColumn:_0x41df7b,startRow:_0x4a3d0b,endColumn:_0x3a732b,endRow:_0x112ec2}=_0x3cc4fb,_0x2dbd3f=_0x386b3c(_0x4a3d0b,_0x41df7b,_0x380d2e,_0x4d2172),_0x4aba6e=_0x386b3c(_0x112ec2,_0x3a732b,_0x380d2e,_0x4d2172),{columnHeaderHeightAndMarginTop:_0x484ed4}=_0x4d2172,{startX:_0x538b8e,startY:_0x3cec72}=_0x2dbd3f,{endX:_0x1bd573,endY:_0x22abe5}=_0x4aba6e,_0x48db02=_0x1bd573-_0x538b8e,_0xd748f9=_0x22abe5-_0x3cec72,_0x51dc67={'labelPosition':_0x3cec72-_0x484ed4>=J?_0x416a84(0x31e):_0x416a84(0x1b3),'sheetID':_0x2f94f5,'range':_0x3cc4fb,'color':_0x3e53fd,'name':_0x367233,'selection':_0x2e1d32,'left':_0x538b8e,'top':_0x3cec72,'width':_0x48db02,'height':_0xd748f9,'evented':!0x1,'zIndex':zi};return new Xi(_0x367233,_0x51dc67);});_0x380d2e['addObjects'](_0x3917d5,Vi),this['_cursors']=new Set(_0x3917d5);}[_0x4ffb60(0x27d)](){const _0x2f72d5=_0x4ffb60;var _0x43a00f;(_0x43a00f=this['_cursors'])==null||_0x43a00f[_0x2f72d5(0x2a8)](_0x31c77c=>_0x31c77c[_0x2f72d5(0x1f4)]());}[_0x4ffb60(0x1c3)](){const _0x107b81=_0x4ffb60;return _0x24e0f3(this[_0x107b81(0x1a5)][_0x107b81(0x213)],this['_context']);}};Pe=Ki([pe(0x1,_0x3cec4d(_0x53c82a)),pe(0x2,_0x3cec4d(F)),pe(0x3,_0x3cec4d(_0x309c05))],Pe);function Ji(_0x48ed5f){const _0x5a2ed6=_0x4ffb60,_0x19e561=new Map();return _0x48ed5f[_0x5a2ed6(0x2a8)](_0x3a61d1=>{const _0x5da1fe=_0x5a2ed6;if(_0x19e561[_0x5da1fe(0x23f)](_0x3a61d1[_0x5da1fe(0x2f6)])){const _0x139fb0=_0x19e561[_0x5da1fe(0x2e7)](_0x3a61d1[_0x5da1fe(0x2f6)]);_0x139fb0[_0x5da1fe(0x1eb)]+=',\x20'+_0x3a61d1[_0x5da1fe(0x1eb)];}else _0x19e561[_0x5da1fe(0x21f)](_0x3a61d1[_0x5da1fe(0x2f6)],_0x3a61d1);}),Array[_0x5a2ed6(0x193)](_0x19e561[_0x5a2ed6(0x2b7)]());}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x2643ba,_0x18fb8d,_0x4d2b12,_0x4ecc52)=>{const _0x33c5b8=_0x4ffb60;for(var _0x46bb29=_0x4ecc52>0x1?void 0x0:_0x4ecc52?Zi(_0x18fb8d,_0x4d2b12):_0x18fb8d,_0x509716=_0x2643ba[_0x33c5b8(0x15b)]-0x1,_0x50ca0c;_0x509716>=0x0;_0x509716--)(_0x50ca0c=_0x2643ba[_0x509716])&&(_0x46bb29=_0x50ca0c(_0x46bb29)||_0x46bb29);return _0x46bb29;},B=(_0x483c8c,_0x2378cd)=>(_0x3e4be4,_0x26b8d8)=>_0x2378cd(_0x3e4be4,_0x26b8d8,_0x483c8c);let ne=class extends _0x475912{constructor(_0x5eb7d0,_0xec25a4,_0x289b82,_0x13a5ef,_0x27f62b,_0x5adb64){const _0xb4915d=_0x4ffb60;super(),this['_beforeCloseService']=_0x5eb7d0,this['_localCacheService']=_0xec25a4,this['_collaborationUIEventService']=_0x289b82,this['_messageService']=_0x13a5ef,this[_0xb4915d(0x29c)]=_0x27f62b,this[_0xb4915d(0x1d7)]=_0x5adb64,this[_0xb4915d(0x31c)](),this[_0xb4915d(0x32d)]();}[_0x4ffb60(0x31c)](){const _0x568154=_0x4ffb60;this[_0x568154(0x1f6)](this['_beforeCloseService'][_0x568154(0x2dc)](()=>{const _0x4419f7=_0x568154;if(this[_0x4419f7(0x201)][_0x4419f7(0x30f)][_0x4419f7(0x308)])return this['_localeService']['t'](_0x4419f7(0x265));}));}[_0x4ffb60(0x32d)](){const _0x392e5a=_0x4ffb60;this[_0x392e5a(0x1f6)](this[_0x392e5a(0x287)][_0x392e5a(0x1c1)][_0x392e5a(0x194)](_0x50e964=>{const _0x2ef927=_0x392e5a;_0x50e964['id']===_0xae35c0[_0x2ef927(0x20c)]&&this[_0x2ef927(0x33b)][_0x2ef927(0x224)]({'type':_0x6f1a1e[_0x2ef927(0x1e4)],'content':this[_0x2ef927(0x1d7)]['t']('collaboration.single-unit.warning')}),_0x50e964['id']===_0xae35c0[_0x2ef927(0x2e8)]&&this[_0x2ef927(0x33b)][_0x2ef927(0x224)]({'type':_0x6f1a1e[_0x2ef927(0x1e4)],'content':this['_localeService']['t'](_0x2ef927(0x323))}),_0x50e964['id']===_0xae35c0['PERMISSION_DENIED']&&this[_0x2ef927(0x29c)][_0x2ef927(0x224)]({'title':this[_0x2ef927(0x1d7)]['t'](_0x2ef927(0x227)),'content':this[_0x2ef927(0x1d7)]['t'](_0x2ef927(0x1f0)),'type':_0x2ef927(0x232),'duration':0x0}),_0x50e964['id']===_0xae35c0[_0x2ef927(0x14a)]&&this['_messageService'][_0x2ef927(0x224)]({'type':_0x6f1a1e[_0x2ef927(0x25a)],'content':this[_0x2ef927(0x1d7)]['t'](_0x2ef927(0x323))+'('+_0x50e964[_0x2ef927(0x202)]+')'}),_0x50e964['id']===_0xae35c0[_0x2ef927(0x307)]&&this[_0x2ef927(0x33b)]['show']({'type':_0x6f1a1e[_0x2ef927(0x1e4)],'content':this[_0x2ef927(0x1d7)]['t'](_0x50e964[_0x2ef927(0x202)]||'')}),_0x50e964['id']===_0xae35c0[_0x2ef927(0x17d)]&&this[_0x2ef927(0x33b)][_0x2ef927(0x224)]({'type':_0x6f1a1e[_0x2ef927(0x1e4)],'content':this[_0x2ef927(0x1d7)]['t'](_0x2ef927(0x24a))}),_0x50e964['id']===_0xae35c0[_0x2ef927(0x297)]&&this[_0x2ef927(0x33b)][_0x2ef927(0x224)]({'type':_0x6f1a1e[_0x2ef927(0x25a)],'content':this['_localeService']['t'](_0x2ef927(0x2fd))}),_0x50e964['id']===_0xae35c0[_0x2ef927(0x336)]&&this[_0x2ef927(0x33b)][_0x2ef927(0x224)]({'type':_0x6f1a1e[_0x2ef927(0x25a)],'content':this[_0x2ef927(0x1d7)]['t']('session.collaboration-timeout')});}));}};ne=Qi([B(0x0,_0x578e69),B(0x1,_0x283ae8),B(0x2,_0x3cec4d(_0x46404e)),B(0x3,_0x18c9d1),B(0x4,_0x19a847),B(0x5,_0x3cec4d(_0x2d64f0))],ne);const qi=_0x4ffb60(0x285),et={};var en=Object['getOwnPropertyDescriptor'],tn=(_0x3bcf08,_0x418c32,_0x1f4868,_0x1408d5)=>{const _0x1f6155=_0x4ffb60;for(var _0x5c71f2=_0x1408d5>0x1?void 0x0:_0x1408d5?en(_0x418c32,_0x1f4868):_0x418c32,_0x16dcfe=_0x3bcf08[_0x1f6155(0x15b)]-0x1,_0x24682a;_0x16dcfe>=0x0;_0x16dcfe--)(_0x24682a=_0x3bcf08[_0x16dcfe])&&(_0x5c71f2=_0x24682a(_0x5c71f2)||_0x5c71f2);return _0x5c71f2;},tt=(_0x41e36d,_0x1c9433)=>(_0x4289ac,_0x2b1c30)=>_0x1c9433(_0x4289ac,_0x2b1c30,_0x41e36d);let re=class{constructor(_0x4d8493,_0x351a02){const _0x541f78=_0x4ffb60;this[_0x541f78(0x222)]=_0x4d8493,this[_0x541f78(0x159)]=_0x351a02;}[_0x4ffb60(0x175)](_0x3bf93e){const _0x5df054=_0x4ffb60;this[_0x5df054(0x2a9)](_0x3bf93e),this[_0x5df054(0x16a)](_0x3bf93e);}['transformRemoteChangeset'](_0x4847ac){const _0x3720de=_0x4ffb60,{unitID:_0x33ed72}=_0x4847ac,_0x2bfe1e=this[_0x3720de(0x159)][_0x3720de(0x203)](_0x33ed72)[_0x3720de(0x349)](_0x14a7e7),{redoCache:_0x259cf8}=_0x2bfe1e[_0x3720de(0x24b)]();if(_0x259cf8[_0x3720de(0x15b)]===0x0)return _0x4847ac;let _0x388575=_0x475476[_0x3720de(0x174)](_0x4847ac[_0x3720de(0x156)][0x0]);for(let _0x19ec1b=0x0;_0x19ec1b<_0x259cf8[_0x3720de(0x15b)];_0x19ec1b++){const _0x5e218e={'id':_0x3720de(0x29e),'params':{..._0x259cf8[_0x19ec1b]}},_0x34ac1d=this['_transformService'][_0x3720de(0x2ee)](_0x388575,_0x5e218e,!0x1);if(_0x5b712c(_0x34ac1d))throw _0x34ac1d['error'];_0x388575=_0x34ac1d[_0x3720de(0x186)];}return{..._0x475476[_0x3720de(0x174)](_0x4847ac),'mutations':[_0x388575]};}[_0x4ffb60(0x2a9)](_0x2d9eb7){const _0x54fbe7=_0x4ffb60,{unitID:_0x52e2dd}=_0x2d9eb7,_0x4da104=this[_0x54fbe7(0x159)][_0x54fbe7(0x203)](_0x52e2dd)[_0x54fbe7(0x349)](_0x14a7e7),{undoCache:_0x11b939,redoCache:_0x5887ae}=_0x4da104[_0x54fbe7(0x24b)]();if(_0x11b939[_0x54fbe7(0x15b)]===0x0||_0x5887ae['length']===0x0)return;const _0x2e8902=[],_0x361423=[];let _0x45d6f5=_0x475476[_0x54fbe7(0x174)](_0x2d9eb7['mutations'][0x0]),_0x136f21=_0x475476[_0x54fbe7(0x174)](_0x2d9eb7[_0x54fbe7(0x156)][0x0]);for(let _0x2090f7=_0x11b939[_0x54fbe7(0x15b)]-0x1;_0x2090f7>=0x0;_0x2090f7--){const _0x2e9a53={'id':'doc.mutation.rich-text-editing','params':{..._0x11b939[_0x2090f7]}},_0x487a52={'id':_0x54fbe7(0x29e),'params':{..._0x5887ae[_0x2090f7]}},_0x218033=this['_transformService']['transformMutation'](_0x45d6f5,_0x2e9a53,!0x1),_0x45b3df=this[_0x54fbe7(0x222)]['transformMutation'](_0x136f21,_0x487a52,!0x1);if(_0x5b712c(_0x218033))throw _0x218033['error'];if(_0x5b712c(_0x45b3df))throw _0x45b3df[_0x54fbe7(0x232)];_0x2e8902['unshift'](_0x218033[_0x54fbe7(0x26c)][_0x54fbe7(0x158)]),_0x361423['unshift'](_0x45b3df['m2Prime'][_0x54fbe7(0x158)]),_0x45d6f5=_0x218033[_0x54fbe7(0x186)],_0x136f21=_0x45b3df[_0x54fbe7(0x186)];}_0x4da104['setUndoRedoMutationParamsCache']({'undoCache':_0x2e8902,'redoCache':_0x361423});}[_0x4ffb60(0x16a)](_0x4819f5){const _0x22d7d9=_0x4ffb60,{unitID:_0xbc95d0}=_0x4819f5,_0x35f872=this[_0x22d7d9(0x159)][_0x22d7d9(0x203)](_0xbc95d0)[_0x22d7d9(0x349)](_0x14a7e7),_0x8499be=_0x35f872[_0x22d7d9(0x2ad)]();if(_0x8499be==null)return;const _0x310b8b=[{'id':_0x22d7d9(0x29e),'params':{'unitId':_0x4819f5[_0x22d7d9(0x261)],'actions':null,'textRanges':[_0x8499be]}}],_0x11ede7=this[_0x22d7d9(0x222)][_0x22d7d9(0x253)](_0x4819f5,_0x310b8b);if(!_0x241c0b(_0x11ede7))throw _0x11ede7['error'];const _0x1a5769=_0x11ede7[_0x22d7d9(0x26c)][0x0][_0x22d7d9(0x158)][_0x22d7d9(0x33f)];Array[_0x22d7d9(0x2a2)](_0x1a5769)&&_0x1a5769[_0x22d7d9(0x15b)]&&_0x35f872[_0x22d7d9(0x1cf)](_0x1a5769[0x0]);}};re=tn([tt(0x0,_0x21a19),tt(0x1,_0x3a7bf1)],re);var sn=Object[_0x4ffb60(0x1ee)],nn=(_0x8dbca8,_0x857eb3,_0x3b7229,_0x1b09d4)=>{const _0x1f5f90=_0x4ffb60;for(var _0x4000bf=_0x1b09d4>0x1?void 0x0:_0x1b09d4?sn(_0x857eb3,_0x3b7229):_0x857eb3,_0x5c0f44=_0x8dbca8[_0x1f5f90(0x15b)]-0x1,_0x99811e;_0x5c0f44>=0x0;_0x5c0f44--)(_0x99811e=_0x8dbca8[_0x5c0f44])&&(_0x4000bf=_0x99811e(_0x4000bf)||_0x4000bf);return _0x4000bf;},Ce=(_0x24a31b,_0x130939)=>(_0x581bce,_0x3de314)=>_0x130939(_0x581bce,_0x3de314,_0x24a31b);let oe=class{constructor(_0x2cfd06,_0x24d254,_0x4b5560){const _0x3a6333=_0x4ffb60;this[_0x3a6333(0x26a)]=_0x2cfd06,this[_0x3a6333(0x222)]=_0x24d254,this[_0x3a6333(0x17a)]=_0x4b5560;}[_0x4ffb60(0x292)](_0x8e9255){const _0x2b7916=_0x4ffb60;this[_0x2b7916(0x2af)](_0x8e9255);}[_0x4ffb60(0x293)](_0x2a9a65){const _0x580811=_0x4ffb60,{unitID:_0x567f53}=_0x2a9a65,{collaboration:_0x50636e}=this[_0x580811(0x17a)][_0x580811(0x1fb)](_0x567f53);if(_0x50636e['length']===0x0)return _0x2a9a65;let _0x35a4f2=_0x475476[_0x580811(0x174)](_0x2a9a65[_0x580811(0x156)][0x0]);for(let _0x3c014e=0x0;_0x3c014e<_0x50636e[_0x580811(0x15b)];_0x3c014e++){const _0xf4db71={'id':_0x580811(0x29e),'params':{'unitId':_0x50636e[_0x3c014e][_0x580811(0x249)],..._0x50636e[_0x3c014e]['redoState']}},_0x4b306c=this[_0x580811(0x222)][_0x580811(0x2ee)](_0x35a4f2,_0xf4db71,!0x1);if(_0x5b712c(_0x4b306c))throw _0x4b306c['error'];_0x35a4f2=_0x4b306c[_0x580811(0x186)];}return{..._0x475476[_0x580811(0x174)](_0x2a9a65),'mutations':[_0x35a4f2]};}[_0x4ffb60(0x2af)](_0x2587d6){const _0x5556b0=_0x4ffb60,{unitID:_0x1b0220}=_0x2587d6,{history:_0x597f79,collaboration:_0x52de78}=this[_0x5556b0(0x17a)][_0x5556b0(0x1fb)](_0x1b0220);if(_0x597f79[_0x5556b0(0x15b)]===0x0&&_0x52de78['length']===0x0)return;const _0x1ef009=[],_0x204f92=[];let _0xfcccd3=_0x475476[_0x5556b0(0x174)](_0x2587d6['mutations'][0x0]),_0x378b3b=_0x475476['deepClone'](_0x2587d6[_0x5556b0(0x156)][0x0]);for(let _0x4762f9=_0x597f79[_0x5556b0(0x15b)]-0x1;_0x4762f9>=0x0;_0x4762f9--){const _0xac0667={'id':_0x5556b0(0x29e),'params':{'unitId':_0x597f79[_0x4762f9][_0x5556b0(0x249)],..._0x597f79[_0x4762f9][_0x5556b0(0x153)]}},_0x18a6f7={'id':_0x5556b0(0x29e),'params':{'unitId':_0x597f79[_0x4762f9][_0x5556b0(0x249)],..._0x597f79[_0x4762f9]['redoState']}},_0x2005e5=this[_0x5556b0(0x222)]['transformMutation'](_0xfcccd3,_0xac0667,!0x1),_0x8bf75c=this['_transformService'][_0x5556b0(0x2ee)](_0x378b3b,_0x18a6f7,!0x1);if(_0x5b712c(_0x2005e5))throw _0x2005e5[_0x5556b0(0x232)];if(_0x5b712c(_0x8bf75c))throw _0x8bf75c[_0x5556b0(0x232)];_0x1ef009[_0x5556b0(0x1ea)]({..._0x597f79[_0x4762f9],'undoState':_0x2005e5[_0x5556b0(0x26c)]['params'],'redoState':_0x8bf75c['m2Prime'][_0x5556b0(0x158)]}),_0xfcccd3=_0x2005e5['m1Prime'],_0x378b3b=_0x8bf75c[_0x5556b0(0x186)];}_0xfcccd3=_0x475476[_0x5556b0(0x174)](_0x2587d6[_0x5556b0(0x156)][0x0]),_0x378b3b=_0x475476['deepClone'](_0x2587d6[_0x5556b0(0x156)][0x0]);for(let _0x369e06=_0x52de78['length']-0x1;_0x369e06>=0x0;_0x369e06--){const _0xd4df={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x52de78[_0x369e06][_0x5556b0(0x249)],..._0x52de78[_0x369e06][_0x5556b0(0x153)]}},_0x4299ca={'id':_0x5556b0(0x29e),'params':{'unitId':_0x52de78[_0x369e06]['unitId'],..._0x52de78[_0x369e06][_0x5556b0(0x207)]}},_0x38eef0=this[_0x5556b0(0x222)]['transformMutation'](_0xfcccd3,_0xd4df,!0x1),_0x594786=this[_0x5556b0(0x222)][_0x5556b0(0x2ee)](_0x378b3b,_0x4299ca,!0x1);if(_0x5b712c(_0x38eef0))throw _0x38eef0[_0x5556b0(0x232)];if(_0x5b712c(_0x594786))throw _0x594786[_0x5556b0(0x232)];_0x204f92[_0x5556b0(0x1ea)]({..._0x52de78[_0x369e06],'undoState':_0x38eef0[_0x5556b0(0x26c)][_0x5556b0(0x158)],'redoState':_0x594786['m2Prime'][_0x5556b0(0x158)]}),_0xfcccd3=_0x38eef0[_0x5556b0(0x186)],_0x378b3b=_0x594786[_0x5556b0(0x186)];}this[_0x5556b0(0x17a)][_0x5556b0(0x303)](_0x1b0220,{'history':_0x1ef009,'collaboration':_0x204f92});}};oe=nn([Ce(0x0,_0x3cec4d(_0x51abd3)),Ce(0x1,_0x21a19),Ce(0x2,_0x3cec4d(_0x992903))],oe);var rn=Object[_0x4ffb60(0x1ee)],on=(_0x15efd5,_0x228e76,_0x1ea88a,_0x1a57a1)=>{const _0x516a26=_0x4ffb60;for(var _0x5d493d=_0x1a57a1>0x1?void 0x0:_0x1a57a1?rn(_0x228e76,_0x1ea88a):_0x228e76,_0x21b280=_0x15efd5[_0x516a26(0x15b)]-0x1,_0x5c6f59;_0x21b280>=0x0;_0x21b280--)(_0x5c6f59=_0x15efd5[_0x21b280])&&(_0x5d493d=_0x5c6f59(_0x5d493d)||_0x5d493d);return _0x5d493d;},st=(_0xc65d1a,_0x3c4112)=>(_0x341c1f,_0x54c34d)=>_0x3c4112(_0x341c1f,_0x54c34d,_0xc65d1a);let ae=class{constructor(_0x13cfef,_0x515d47){const _0x2f8d48=_0x4ffb60;this[_0x2f8d48(0x26a)]=_0x13cfef,this[_0x2f8d48(0x222)]=_0x515d47;}[_0x4ffb60(0x236)](_0x20cffb){const _0x5bb9d3=_0x4ffb60;var _0x24501b;const _0x4546fe=this[_0x5bb9d3(0x26a)][_0x5bb9d3(0x2e7)](_0x1f518c),_0x36b8cf=(_0x24501b=_0x4546fe[_0x5bb9d3(0x28b)]())!=null?_0x24501b:[];if(_0x36b8cf[_0x5bb9d3(0x15b)]===0x0)return;const _0x441d49=_0x20cffb[_0x5bb9d3(0x261)],_0x28b3c9=[{'id':_0x5bb9d3(0x29e),'params':{'unitId':_0x441d49,'actions':null,'textRanges':_0x36b8cf}}],_0x2206d1=this['_transformService'][_0x5bb9d3(0x253)](_0x20cffb,_0x28b3c9);if(!_0x241c0b(_0x2206d1))throw _0x2206d1[_0x5bb9d3(0x232)];const _0x30a1c3=_0x2206d1[_0x5bb9d3(0x26c)][0x0][_0x5bb9d3(0x158)][_0x5bb9d3(0x33f)];Array[_0x5bb9d3(0x2a2)](_0x30a1c3)&&_0x30a1c3[_0x5bb9d3(0x15b)]&&_0x4546fe[_0x5bb9d3(0x2ce)](_0x30a1c3,{'unitId':_0x441d49,'subUnitId':_0x441d49},!0x1);}};ae=on([st(0x0,_0x3cec4d(_0x51abd3)),st(0x1,_0x21a19)],ae);var an=Object[_0x4ffb60(0x1ee)],cn=(_0x1bc45f,_0x10d026,_0xd90429,_0x32ad97)=>{for(var _0x270f66=_0x32ad97>0x1?void 0x0:_0x32ad97?an(_0x10d026,_0xd90429):_0x10d026,_0x52a6f4=_0x1bc45f['length']-0x1,_0x3dafe0;_0x52a6f4>=0x0;_0x52a6f4--)(_0x3dafe0=_0x1bc45f[_0x52a6f4])&&(_0x270f66=_0x3dafe0(_0x270f66)||_0x270f66);return _0x270f66;},N=(_0x15b0f6,_0x45b63e)=>(_0x3022d9,_0x39c977)=>_0x45b63e(_0x3022d9,_0x39c977,_0x15b0f6);let ce=class extends _0x475912{constructor(_0x21f11f,_0x155669,_0x306866,_0x2f5fbc,_0x474c98,_0x1801f4,_0x3a9070,_0x3bcb4c){const _0xa7bcda=_0x4ffb60;super(),_(this,'_status$',new _0xd0c29a(_0x5ccd7a[_0xa7bcda(0x1de)])),(this[_0xa7bcda(0x17a)]=_0x21f11f,this['_collaborationController']=_0x155669,this['_docTransformIMECacheService']=_0x306866,this[_0xa7bcda(0x1c7)]=_0x2f5fbc,this[_0xa7bcda(0x329)]=_0x474c98,this[_0xa7bcda(0x2b1)]=_0x1801f4,this[_0xa7bcda(0x33b)]=_0x3a9070,this[_0xa7bcda(0x1d7)]=_0x3bcb4c,this['_initEntityListener']());}[_0x4ffb60(0x257)](){const _0x2e4625=_0x4ffb60;this['disposeWithMe'](this['_collaborationController'][_0x2e4625(0x277)]['subscribe'](_0x5e4ecc=>{const _0xc4e17f=_0x2e4625,_0x494bbb=this[_0xc4e17f(0x17a)][_0xc4e17f(0x190)]['subscribe'](_0x5e0e5d=>{const _0x2e26d6=_0xc4e17f;if(_0x5e0e5d==null)return;const {unitId:_0x53a4ca,redoState:_0x6e5763,commandId:_0x3eb8ce}=_0x5e0e5d;if(_0x53a4ca!==_0x5e4ecc[_0x2e26d6(0x261)])return;const _0x59c8e8={'id':_0x3eb8ce,'type':_0x3fd08f[_0x2e26d6(0x28d)],'params':{'unitId':_0x53a4ca,'actions':_0x6e5763[_0x2e26d6(0x321)],'textRanges':null}};_0x5e4ecc[_0x2e26d6(0x141)](_0x59c8e8);});if(_0x5e4ecc[_0xc4e17f(0x1f6)](_0x494bbb),_0x5e4ecc instanceof _0x577944){const _0x3c7176={'onTransformIME':_0x517899=>this['_docTransformIMECacheService'][_0xc4e17f(0x175)](_0x517899),'onTransformState':_0x4ccf58=>this[_0xc4e17f(0x1c7)]['transformStateCache'](_0x4ccf58),'onTransformSelections':_0x2d1aab=>this['_docTransformSelectionsService'][_0xc4e17f(0x236)](_0x2d1aab),'onSyncEditingCollabCursor':_0x180bf4=>this[_0xc4e17f(0x2b1)]['syncEditingCollabCursor'](_0x180bf4),'onTransformRemoteChangesetByIMECache':_0x5c8db8=>this[_0xc4e17f(0x15f)][_0xc4e17f(0x293)](_0x5c8db8),'onTransformRemoteChangesetByStateCache':_0x1afa3a=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x1afa3a)};_0x5e4ecc[_0xc4e17f(0x1d6)](_0x3c7176);}}));}};ce=cn([N(0x0,_0x3cec4d(_0x992903)),N(0x1,_0x3cec4d(_0x4dcbe0)),N(0x2,_0x3cec4d(re)),N(0x3,_0x3cec4d(oe)),N(0x4,_0x3cec4d(ae)),N(0x5,_0x3cec4d(Fe)),N(0x6,_0x18c9d1),N(0x7,_0x3cec4d(_0x2d64f0))],ce);var ln=Object[_0x4ffb60(0x1ee)],_n=(_0x1911d1,_0x224b44,_0x21fefa,_0x1ae66a)=>{const _0x355835=_0x4ffb60;for(var _0x550bad=_0x1ae66a>0x1?void 0x0:_0x1ae66a?ln(_0x224b44,_0x21fefa):_0x224b44,_0x3e5fea=_0x1911d1[_0x355835(0x15b)]-0x1,_0x588d3d;_0x3e5fea>=0x0;_0x3e5fea--)(_0x588d3d=_0x1911d1[_0x3e5fea])&&(_0x550bad=_0x588d3d(_0x550bad)||_0x550bad);return _0x550bad;},Ee=(_0x25ee87,_0x4e6f6b)=>(_0x3147ec,_0x49e68d)=>_0x4e6f6b(_0x3147ec,_0x49e68d,_0x25ee87);let we=class extends _0x475912{constructor(_0x3d4720,_0x9b0fab,_0x2d9453){const _0x11c113=_0x4ffb60;super(),_(this,_0x11c113(0x26e),new Map()),_(this,_0x11c113(0x2a0),new Map()),_(this,_0x11c113(0x2ae),!0x1),(this[_0x11c113(0x24e)]=_0x3d4720,this[_0x11c113(0x2ac)]=_0x9b0fab,this[_0x11c113(0x28e)]=_0x2d9453);}[_0x4ffb60(0x157)](){const _0x26e2ad=_0x4ffb60;this[_0x26e2ad(0x2ae)]=!0x0;}[_0x4ffb60(0x269)](){const _0x4fa4d0=_0x4ffb60;this[_0x4fa4d0(0x2ae)]=!0x1;}get[_0x4ffb60(0x30f)](){const _0x42b979=_0x4ffb60;return this[_0x42b979(0x2a0)];}[_0x4ffb60(0x1f4)](){const _0x445778=_0x4ffb60;this[_0x445778(0x24f)]()[_0x445778(0x199)](()=>super['dispose']());}async[_0x4ffb60(0x1ce)](_0x3a65b9){const _0x4689bc=_0x4ffb60;return this['_disabled']?null:this['_localStorageService'][_0x4689bc(0x271)](_0x4850c1(_0x3a65b9));}async[_0x4ffb60(0x1c9)](_0x18b59d,_0x7ff5bb){const _0x2670f7=_0x4ffb60;return!!this[_0x2670f7(0x2ac)][_0x2670f7(0x21d)](_0x18b59d,_0x7ff5bb);}['updateOfflineData'](_0x52f7a8,_0x1e191e,_0x39bad8,_0x1df1b3){const _0x2d85cd=_0x4ffb60,_0x5f2499=this[_0x2d85cd(0x28e)][_0x2d85cd(0x22a)](_0x52f7a8);this[_0x2d85cd(0x26e)][_0x2d85cd(0x21f)](_0x52f7a8,{'unitID':_0x52f7a8,'type':_0x1e191e,'awaitingChangeset':_0x39bad8,'mutations':_0x1df1b3,'rev':_0x5f2499}),this[_0x2d85cd(0x2a0)][_0x2d85cd(0x23f)](_0x52f7a8)||this[_0x2d85cd(0x17c)](_0x52f7a8);}[_0x4ffb60(0x17c)](_0x4b22fd){const _0x5c58de=_0x4ffb60,_0x28b7d2=this[_0x5c58de(0x147)]();_0x28b7d2===0x0?this[_0x5c58de(0x22f)](_0x4b22fd):this[_0x5c58de(0x2a0)][_0x5c58de(0x21f)](_0x4b22fd,setTimeout(()=>this['_saveCache'](_0x4b22fd),_0x28b7d2));}[_0x4ffb60(0x147)](){const _0x3fc0d5=_0x4ffb60;var _0x511d86;return(_0x511d86=this[_0x3fc0d5(0x24e)][_0x3fc0d5(0x2ca)](_0x455621))!=null?_0x511d86:_0x4141da;}[_0x4ffb60(0x22f)](_0x852506){const _0x43549c=_0x4ffb60,_0x5f17f5=this[_0x43549c(0x2a0)]['get'](_0x852506);return _0x5f17f5!==void 0x0&&window[_0x43549c(0x2e2)](_0x5f17f5),this[_0x43549c(0x2ac)][_0x43549c(0x21d)](_0x4850c1(_0x852506),this[_0x43549c(0x26e)][_0x43549c(0x2e7)](_0x852506))['then'](()=>this['_saveTaskMap']['delete'](_0x852506));}async[_0x4ffb60(0x24f)](){const _0x277bac=_0x4ffb60,_0x26d501=[];this['_saveTaskMap']['forEach']((_0x4a2782,_0x2e1000)=>{const _0x55a344=_0x34c5;window['clearTimeout'](_0x4a2782),_0x26d501[_0x55a344(0x260)](this[_0x55a344(0x22f)](_0x2e1000)[_0x55a344(0x199)](()=>{const _0x170830=_0x55a344;this[_0x170830(0x2a0)][_0x170830(0x238)](_0x2e1000);}));}),await Promise[_0x277bac(0x178)](_0x26d501);}};we=_n([Ee(0x0,_0x1df317),Ee(0x1,_0x49c937),Ee(0x2,_0x3cec4d(_0x347c7e))],we);class hn extends _0x281f67{constructor(){const _0xd6830=_0x4ffb60;super(),_(this,_0xd6830(0x2f3)),this[_0xd6830(0x2f3)]=_0x1ba6d0(window,_0xd6830(0x16c))[_0xd6830(0x1a3)](_0x5ef8ca(this[_0xd6830(0x30b)]),_0x5c02fa(0x1),_0x2ee2b4(void 0x0));}['setParam'](_0x4eeb42,_0x55b3a1,_0x19c38f=!0x1){const _0x298142=_0x4ffb60,_0x18f483=new URL(window['location'][_0x298142(0x1f1)]);_0x18f483[_0x298142(0x19e)]['set'](_0x4eeb42,_0x55b3a1),_0x19c38f?window['history'][_0x298142(0x219)]('','',_0x18f483['toString']()):window['history']['pushState']('','',_0x18f483['toString']());}['removeParam'](_0x4860b8,_0x1def04=!0x1){const _0x45b6c6=_0x4ffb60,_0x481d10=new URL(window[_0x45b6c6(0x344)][_0x45b6c6(0x1f1)]);_0x481d10[_0x45b6c6(0x19e)]['delete'](_0x4860b8),_0x1def04?window['history'][_0x45b6c6(0x219)]('','',_0x481d10['toString']()):window[_0x45b6c6(0x21a)][_0x45b6c6(0x2d2)]('','',_0x481d10[_0x45b6c6(0x2f4)]());}[_0x4ffb60(0x1e7)](_0xde8382){const _0x162d82=_0x4ffb60;var _0x22638b;return(_0x22638b=new URL(window['location'][_0x162d82(0x1f1)])['searchParams']['get'](_0xde8382))!=null?_0x22638b:void 0x0;}}var un=Object[_0x4ffb60(0x27a)],dn=Object[_0x4ffb60(0x1ee)],fn=(_0x54e956,_0x417d6d,_0x36f8e7)=>_0x417d6d in _0x54e956?un(_0x54e956,_0x417d6d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36f8e7}):_0x54e956[_0x417d6d]=_0x36f8e7,Sn=(_0x268856,_0x423224,_0x8d21c6,_0x3d6ae4)=>{const _0x2dc02e=_0x4ffb60;for(var _0x241724=_0x3d6ae4>0x1?void 0x0:_0x3d6ae4?dn(_0x423224,_0x8d21c6):_0x423224,_0xe2e0da=_0x268856[_0x2dc02e(0x15b)]-0x1,_0x264111;_0xe2e0da>=0x0;_0xe2e0da--)(_0x264111=_0x268856[_0xe2e0da])&&(_0x241724=_0x264111(_0x241724)||_0x241724);return _0x241724;},Oe=(_0x580714,_0x347cfc)=>(_0x4e55fd,_0x324773)=>_0x347cfc(_0x4e55fd,_0x324773,_0x580714),mn=(_0xa2a04a,_0x36c584,_0x5ffedd)=>fn(_0xa2a04a,_0x36c584+'',_0x5ffedd);const In=_0x4ffb60(0x1d5);let Ae=class extends _0x5935fb{constructor(_0x5bbba6=et,_0x551c0c,_0x2b06b5,_0x139539){const _0x84390=_0x4ffb60;super(),this[_0x84390(0x1e9)]=_0x5bbba6,this[_0x84390(0x159)]=_0x551c0c,this[_0x84390(0x26a)]=_0x2b06b5,this[_0x84390(0x24e)]=_0x139539;const {..._0x3f8baa}=_0x53efb1({},et,this[_0x84390(0x1e9)]);this['_configService'][_0x84390(0x30c)](qi,_0x3f8baa);}['onStarting'](){const _0x55178a=_0x4ffb60;this[_0x55178a(0x2d5)](),this[_0x55178a(0x263)]();}[_0x4ffb60(0x177)](){const _0x4f8659=_0x4ffb60;this[_0x4f8659(0x2bf)]();}[_0x4ffb60(0x2d5)](){const _0x47934b=_0x4ffb60;var _0x13ae93;const _0x13c252=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x2409aa,{'useClass':_0x714245}],[_0x283ae8,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x2d7088(this[_0x47934b(0x26a)],_0x4863ce(_0x13c252,(_0x13ae93=this[_0x47934b(0x1e9)])==null?void 0x0:_0x13ae93[_0x47934b(0x29b)]));}[_0x4ffb60(0x2bf)](){const _0x3d7136=_0x4ffb60;this[_0x3d7136(0x1f6)](this[_0x3d7136(0x159)][_0x3d7136(0x15e)](_0x1e0d79[_0x3d7136(0x31b)],[Le])),this['disposeWithMe'](this[_0x3d7136(0x159)]['registerRenderModule'](_0x1e0d79[_0x3d7136(0x30d)],[Pe]));}[_0x4ffb60(0x263)](){const _0x3eb284=_0x4ffb60;_0x4a4167(this[_0x3eb284(0x26a)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x4ffb60(0x338),In),Ae=Sn([_0x2908da(_0x39bb66),Oe(0x1,_0x3a7bf1),Oe(0x2,_0x3cec4d(_0x51abd3)),Oe(0x3,_0x1df317)],Ae);var vn=Object[_0x4ffb60(0x1ee)],gn=(_0x4f546b,_0x567598,_0x3b6f99,_0x1dd053)=>{const _0x43df14=_0x4ffb60;for(var _0x132735=_0x1dd053>0x1?void 0x0:_0x1dd053?vn(_0x567598,_0x3b6f99):_0x567598,_0x20f9a6=_0x4f546b[_0x43df14(0x15b)]-0x1,_0x53146e;_0x20f9a6>=0x0;_0x20f9a6--)(_0x53146e=_0x4f546b[_0x20f9a6])&&(_0x132735=_0x53146e(_0x132735)||_0x132735);return _0x132735;},z=(_0x463f72,_0x70d330)=>(_0x5e98b8,_0x1a3c4f)=>_0x70d330(_0x5e98b8,_0x1a3c4f,_0x463f72);let it=class extends _0x5e793d{constructor(_0x597e28,_0x1b7e26,_0x1596a9,_0x3b5f97,_0x5f3d35){super(_0x597e28,_0x1b7e26,_0x1596a9,_0x3b5f97,_0x5f3d35);}async[_0x4ffb60(0x1fd)](_0x357623){const _0x3db0e4=_0x4ffb60,_0x1a049d=await this[_0x3db0e4(0x16e)](),_0x5f2ead=this['_createSocketURL'](_0x357623,_0x1a049d);return this[_0x3db0e4(0x306)](_0x5f2ead);}[_0x4ffb60(0x286)](_0x5f0ec5,_0x59603a){const _0x811e33=_0x4ffb60,_0x5902b4=typeof window>'u'?new URL(_0x5f0ec5):new URL(_0x5f0ec5,window[_0x811e33(0x344)][_0x811e33(0x346)]);_0x5902b4['searchParams']['set'](_0x811e33(0x345),_0x59603a);const _0x27396d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x811e33(0x344)]['search']);return _0x27396d['get'](_0x811e33(0x2ed))&&_0x5902b4['searchParams']['set']('runId',_0x27396d[_0x811e33(0x2e7)](_0x811e33(0x2ed))),_0x5902b4['toString']();}async['_getSessionTicket'](){const _0x4a3c6c=_0x4ffb60;var _0x370020,_0x5fdb2b,_0x109859;const _0x45d1ca=this[_0x4a3c6c(0x24e)][_0x4a3c6c(0x2ca)](_0xea3d8a),_0x2ac446=(_0x370020=_0x45d1ca==null?void 0x0:_0x45d1ca[_0x4a3c6c(0x185)])!=null?_0x370020:_0x3b65bf;return(_0x109859=(_0x5fdb2b=(await this[_0x4a3c6c(0x244)]['get'](_0x2ac446,{'headers':{'Content-Type':_0x4a3c6c(0x2da)}}))['body'])==null?void 0x0:_0x5fdb2b[_0x4a3c6c(0x215)])!=null?_0x109859:'';}};it=gn([z(0x0,_0x3cec4d(_0x51abd3)),z(0x1,_0x3cec4d(_0x43df90)),z(0x2,_0x1df317),z(0x3,_0x483285),z(0x4,_0x25cd00)],it);var Lt=(_0x160e37=>(_0x160e37[_0x160e37[_0x4ffb60(0x26f)]=0x0]=_0x4ffb60(0x26f),_0x160e37[_0x160e37['OK']=0x1]='OK',_0x160e37[_0x160e37[_0x4ffb60(0x26b)]=0x2]=_0x4ffb60(0x26b),_0x160e37[_0x160e37['PERMISSION_DENIED']=0x3]=_0x4ffb60(0x140),_0x160e37[_0x160e37[_0x4ffb60(0x2d1)]=0x4]='NOT_FOUND',_0x160e37[_0x160e37[_0x4ffb60(0x20d)]=0x5]=_0x4ffb60(0x20d),_0x160e37[_0x160e37[_0x4ffb60(0x326)]=0x6]=_0x4ffb60(0x326),_0x160e37[_0x160e37[_0x4ffb60(0x176)]=0x7]=_0x4ffb60(0x176),_0x160e37[_0x160e37[_0x4ffb60(0x229)]=0x8]=_0x4ffb60(0x229),_0x160e37[_0x160e37[_0x4ffb60(0x1b4)]=0x9]=_0x4ffb60(0x1b4),_0x160e37[_0x160e37['LOGIN_FAILED']=0xa]=_0x4ffb60(0x142),_0x160e37[_0x160e37['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x4ffb60(0x228),_0x160e37[_0x160e37[_0x4ffb60(0x13d)]=0xc]=_0x4ffb60(0x13d),_0x160e37[_0x160e37[_0x4ffb60(0x16b)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x160e37[_0x160e37[_0x4ffb60(0x164)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x160e37[_0x160e37[_0x4ffb60(0x27b)]=0x1389]=_0x4ffb60(0x27b),_0x160e37[_0x160e37[_0x4ffb60(0x258)]=0x1771]=_0x4ffb60(0x258),_0x160e37[_0x160e37['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x160e37[_0x160e37['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x4ffb60(0x154),_0x160e37[_0x160e37[_0x4ffb60(0x1dd)]=0x1b59]=_0x4ffb60(0x1dd),_0x160e37[_0x160e37[_0x4ffb60(0x206)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x160e37[_0x160e37['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4ffb60(0x29d),_0x160e37[_0x160e37[_0x4ffb60(0x208)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x160e37[_0x160e37['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x160e37[_0x160e37[_0x4ffb60(0x1b5)]=0x1f41]=_0x4ffb60(0x1b5),_0x160e37[_0x160e37[_0x4ffb60(0x235)]=0x2329]=_0x4ffb60(0x235),_0x160e37[_0x160e37[_0x4ffb60(0x281)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x160e37[_0x160e37[_0x4ffb60(0x24d)]=0x232b]=_0x4ffb60(0x24d),_0x160e37[_0x160e37[_0x4ffb60(0x314)]=0x232c]=_0x4ffb60(0x314),_0x160e37[_0x160e37[_0x4ffb60(0x317)]=0x232d]=_0x4ffb60(0x317),_0x160e37[_0x160e37['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4ffb60(0x184),_0x160e37[_0x160e37[_0x4ffb60(0x2be)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x160e37[_0x160e37[_0x4ffb60(0x30e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x160e37[_0x160e37[_0x4ffb60(0x2d7)]=0x2714]=_0x4ffb60(0x2d7),_0x160e37[_0x160e37[_0x4ffb60(0x2fe)]=0x271a]=_0x4ffb60(0x2fe),_0x160e37[_0x160e37[_0x4ffb60(0x2b4)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x160e37[_0x160e37['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x160e37[_0x160e37['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x160e37[_0x160e37[_0x4ffb60(0x28c)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x160e37[_0x160e37[_0x4ffb60(0x145)]=0x271f]=_0x4ffb60(0x145),_0x160e37[_0x160e37['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x160e37[_0x160e37['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4ffb60(0x332),_0x160e37[_0x160e37[_0x4ffb60(0x25e)]=0x2ee1]=_0x4ffb60(0x25e),_0x160e37[_0x160e37[_0x4ffb60(0x18e)]=0x2ee2]='INVALID_INVITE_CODE',_0x160e37[_0x160e37[_0x4ffb60(0x23a)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x160e37[_0x160e37[_0x4ffb60(0x1e6)]=0x2ee4]=_0x4ffb60(0x1e6),_0x160e37[_0x160e37['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4ffb60(0x2d6),_0x160e37[_0x160e37[_0x4ffb60(0x2e3)]=0x32c9]=_0x4ffb60(0x2e3),_0x160e37[_0x160e37[_0x4ffb60(0x270)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x160e37[_0x160e37[_0x4ffb60(0x163)]=0x32cb]=_0x4ffb60(0x163),_0x160e37[_0x160e37[_0x4ffb60(0x1f3)]=-0x1]=_0x4ffb60(0x1f3),_0x160e37))(Lt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x1b2bc7,_0x131129,_0xb2e15d,_0x567d4d)=>{const _0xe145a6=_0x4ffb60;for(var _0x4fc607=_0x567d4d>0x1?void 0x0:_0x567d4d?pn(_0x131129,_0xb2e15d):_0x131129,_0x105b27=_0x1b2bc7[_0xe145a6(0x15b)]-0x1,_0x5ee754;_0x105b27>=0x0;_0x105b27--)(_0x5ee754=_0x1b2bc7[_0x105b27])&&(_0x4fc607=_0x5ee754(_0x4fc607)||_0x4fc607);return _0x4fc607;},be=(_0x199031,_0x2d67a6)=>(_0x50e696,_0x27f468)=>_0x2d67a6(_0x50e696,_0x27f468,_0x199031);let nt=class extends _0x475912{constructor(_0x3ca536,_0x2f6857,_0x4387d5){const _0x6b7b74=_0x4ffb60;super(),this['_instanceService']=_0x3ca536,this[_0x6b7b74(0x244)]=_0x2f6857,this[_0x6b7b74(0x24e)]=_0x4387d5;}async['runOnServer'](_0x55bb38,_0x5069e1,_0x2ef6ec,..._0x17ab7d){const _0x4a014f=_0x4ffb60;var _0x54c3f3,_0x17d6e6,_0x37be2c,_0x4eb602;const _0x335904=this[_0x4a014f(0x1fa)]['getFocusedUnit']();if(!_0x335904)throw new Error(_0x4a014f(0x21c));const _0x211d6e=((_0x54c3f3=this['_configService'][_0x4a014f(0x2ca)](_0x3e6dff))!=null?_0x54c3f3:_0x42623f)+'/'+_0x55bb38+_0x4a014f(0x1f9)+_0x5069e1,_0x3cd76e=new URL(window[_0x4a014f(0x344)][_0x4a014f(0x1f1)]),_0x56f2bd={'scriptId':_0x55bb38,'runId':(_0x17d6e6=_0x3cd76e[_0x4a014f(0x19e)]['get'](_0x4a014f(0x2ed)))!=null?_0x17d6e6:'','function':_0x5069e1,'unitId':_0x335904[_0x4a014f(0x31f)](),'argsOfFunction':JSON[_0x4a014f(0x200)](_0x17ab7d),'invokeId':(_0x37be2c=_0x2ef6ec[_0x4a014f(0x1b1)])!=null?_0x37be2c:'','executionId':(_0x4eb602=_0x2ef6ec[_0x4a014f(0x2ef)])!=null?_0x4eb602:''};try{const _0x40e808=await this[_0x4a014f(0x244)][_0x4a014f(0x13f)](_0x211d6e,{'body':_0x56f2bd});return _0x40e808[_0x4a014f(0x17e)][_0x4a014f(0x232)]&&_0x40e808['body'][_0x4a014f(0x232)][_0x4a014f(0x14d)]!==Lt['OK']?_0x4a014f(0x264):_0x40e808[_0x4a014f(0x17e)]['result'];}catch{return _0x4a014f(0x264);}}};nt=Cn([be(0x0,_0x36e88a),be(0x1,_0x3cec4d(_0x43df90)),be(0x2,_0x1df317)],nt);const rt=0x7530,ot=_0x4ffb60(0x315);class Fn extends _0x475912{constructor(){const _0x5c755c=_0x4ffb60;super(),_(this,_0x5c755c(0x318),_0x3ef8ba()),_(this,_0x5c755c(0x2c1),new Set()),_(this,_0x5c755c(0x316),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x5c755c(0x267),new Map()),_(this,'_unitStatus',new Map()),this[_0x5c755c(0x179)]();}[_0x4ffb60(0x1f4)](){const _0x30bada=_0x4ffb60;super[_0x30bada(0x1f4)](),this[_0x30bada(0x267)][_0x30bada(0x2a8)]((_0x2d9ed8,_0x22e9ee)=>this[_0x30bada(0x2ab)](_0x22e9ee)),this[_0x30bada(0x32e)]&&window['clearInterval'](this[_0x30bada(0x32e)]);}[_0x4ffb60(0x1d3)](_0x2ee85f){const _0x5c8220=_0x4ffb60;return this[_0x5c8220(0x22d)](_0x2ee85f)[_0x5c8220(0x1a3)](_0x771110());}[_0x4ffb60(0x1e5)](_0x5820ff){const _0x21fe72=_0x4ffb60;this[_0x21fe72(0x2c1)][_0x21fe72(0x308)]===0x0&&this[_0x21fe72(0x18a)](),this[_0x21fe72(0x2c1)][_0x21fe72(0x32b)](_0x5820ff),this['_send']({'type':0x0,'memberID':this[_0x21fe72(0x318)],'unitIDs':[_0x5820ff],'isForwarded':!0x1});}[_0x4ffb60(0x27c)](_0x5e0164){const _0x549df8=_0x4ffb60;this[_0x549df8(0x2c1)][_0x549df8(0x238)](_0x5e0164),this[_0x549df8(0x2c1)][_0x549df8(0x308)]===0x0&&this[_0x549df8(0x32e)]&&window[_0x549df8(0x2f1)](this[_0x549df8(0x32e)]);}[_0x4ffb60(0x179)](){const _0x1c6d4e=_0x4ffb60;this[_0x1c6d4e(0x1f6)](_0x25a399(_0x1ba6d0(window,_0x1c6d4e(0x14f))[_0x1c6d4e(0x194)](_0xe239f9=>{const _0x21d962=_0x1c6d4e;if(_0xe239f9[_0x21d962(0x291)]!==ot||!_0xe239f9['newValue'])return;const _0x3b0bd9=JSON['parse'](_0xe239f9['newValue']);this[_0x21d962(0x2d9)](_0x3b0bd9);}))),window[_0x1c6d4e(0x330)]('unload',()=>this[_0x1c6d4e(0x276)]({'type':0x1,'memberID':this[_0x1c6d4e(0x318)],'unitIDs':Array[_0x1c6d4e(0x193)](this[_0x1c6d4e(0x2c1)])}));}['_handleEvent'](_0x47d249){const _0x2ed33b=_0x4ffb60;switch(_0x47d249['type']){case 0x0:this[_0x2ed33b(0x289)](_0x47d249);break;case 0x1:this[_0x2ed33b(0x2b9)](_0x47d249);break;case 0x2:this[_0x2ed33b(0x2fb)](_0x47d249);break;}}[_0x4ffb60(0x289)](_0x45496b){const _0x2072ff=_0x4ffb60,{unitIDs:_0x5a8089,memberID:_0x1540a6,isForwarded:_0x4eff03}=_0x45496b;_0x5a8089['forEach'](_0x4ed134=>{const _0x520f73=_0x34c5;if(!_0x4eff03&&this[_0x520f73(0x316)][_0x520f73(0x23f)](_0x4ed134)&&this[_0x520f73(0x22d)](_0x4ed134)[_0x520f73(0x15d)](_0x51dedc[_0x520f73(0x32a)]),!this[_0x520f73(0x316)]['has'](_0x4ed134)||!this[_0x520f73(0x316)][_0x520f73(0x2e7)](_0x4ed134)[_0x520f73(0x23f)](_0x1540a6)){const _0x6830fb=this[_0x520f73(0x316)][_0x520f73(0x2e7)](_0x4ed134)||new Set();_0x6830fb[_0x520f73(0x32b)](_0x1540a6),this[_0x520f73(0x316)][_0x520f73(0x21f)](_0x4ed134,_0x6830fb),this[_0x520f73(0x2aa)](_0x1540a6);}}),_0x4eff03||this[_0x2072ff(0x276)]({'type':0x0,'memberID':this[_0x2072ff(0x318)],'unitIDs':[...this[_0x2072ff(0x2c1)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2b482a){const _0xe5816c=_0x4ffb60;this[_0xe5816c(0x2ab)](_0x2b482a);const _0x4fe0e9=window[_0xe5816c(0x1dc)](()=>{const _0x42ce0e=_0xe5816c;this[_0x42ce0e(0x316)][_0x42ce0e(0x2a8)](_0x4eee75=>{const _0x315905=_0x42ce0e;_0x4eee75[_0x315905(0x238)](_0x2b482a);});},rt*0x2);this[_0xe5816c(0x267)]['set'](_0x2b482a,_0x4fe0e9);}['_removeClearOtherTimer'](_0x829ee3){const _0x50545e=_0x4ffb60;if(this[_0x50545e(0x267)][_0x50545e(0x23f)](_0x829ee3)){const _0x368bcc=this[_0x50545e(0x267)]['get'](_0x829ee3);_0x368bcc&&window['clearTimeout'](_0x368bcc),this[_0x50545e(0x267)][_0x50545e(0x21f)](_0x829ee3,null);}}['_handleLeaveEvent'](_0x483e13){const _0x2a3470=_0x4ffb60,{memberID:_0x98d1c6,unitIDs:_0x7ac788}=_0x483e13;_0x7ac788[_0x2a3470(0x2a8)](_0x1fef5=>{const _0x3d27fc=_0x2a3470;var _0x507cbb;const _0x5c4408=this[_0x3d27fc(0x316)]['get'](_0x1fef5);_0x5c4408&&(_0x5c4408[_0x3d27fc(0x238)](_0x98d1c6),(_0x507cbb=this[_0x3d27fc(0x22d)](_0x1fef5))==null||_0x507cbb[_0x3d27fc(0x15d)](_0x5c4408[_0x3d27fc(0x308)]===0x0?_0x51dedc[_0x3d27fc(0x242)]:_0x51dedc['OTHER_CLIENTS_EDITING']));}),this[_0x2a3470(0x2ab)](_0x98d1c6);}[_0x4ffb60(0x2fb)](_0x3a0ad3){const _0x3eb66c=_0x4ffb60;this[_0x3eb66c(0x2aa)](_0x3a0ad3[_0x3eb66c(0x2b5)]);}['_send'](_0x57a2a0){const _0x220854=_0x4ffb60;localStorage[_0x220854(0x21d)](ot,JSON[_0x220854(0x200)](_0x57a2a0));}['_scheduleHeartbeat'](){const _0x58980c=_0x4ffb60;this[_0x58980c(0x32e)]=window['setInterval'](()=>{const _0x3cc507=_0x58980c;this['_send']({'type':0x2,'memberID':this[_0x3cc507(0x318)]});},rt);}['_ensureSubject'](_0x4b05a5){const _0x53e2ef=_0x4ffb60;return this[_0x53e2ef(0x251)]['has'](_0x4b05a5)||this[_0x53e2ef(0x251)][_0x53e2ef(0x21f)](_0x4b05a5,new _0xd0c29a(_0x51dedc[_0x53e2ef(0x242)])),this['_unitStatus'][_0x53e2ef(0x2e7)](_0x4b05a5);}}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 _0x12b2(){const _0x431e22=['263585blzGeH','14535RKuzFS','1784986kKOcqg','743192lCWnIm','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','62515FErWtF','Connection\x20failed,\x20please\x20check\x20your\x20network.','28bAFwdB','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Authentication\x20Error','Syncing...','136738UVJaXl','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','635196viIHGC','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Click\x20to\x20Reconnect'];_0x12b2=function(){return _0x431e22;};return _0x12b2();}function _0x5cda(_0x38e307,_0x57550d){const _0x12b2e5=_0x12b2();return _0x5cda=function(_0x5cdab6,_0x4bb209){_0x5cdab6=_0x5cdab6-0xf6;let _0x4a8fe9=_0x12b2e5[_0x5cdab6];return _0x4a8fe9;},_0x5cda(_0x38e307,_0x57550d);}const _0x423833=_0x5cda;(function(_0x2978e9,_0x2e4506){const _0x794d17=_0x5cda,_0x42288f=_0x2978e9();while(!![]){try{const _0x56de51=parseInt(_0x794d17(0xfc))/0x1+-parseInt(_0x794d17(0x104))/0x2+parseInt(_0x794d17(0xf7))/0x3*(-parseInt(_0x794d17(0xfe))/0x4)+-parseInt(_0x794d17(0xf6))/0x5+-parseInt(_0x794d17(0x109))/0x6+parseInt(_0x794d17(0xf8))/0x7+parseInt(_0x794d17(0xf9))/0x8;if(_0x56de51===_0x2e4506)break;else _0x42288f['push'](_0x42288f['shift']());}catch(_0x1060a6){_0x42288f['push'](_0x42288f['shift']());}}}(_0x12b2,0x24829));const e={'collab-client':{'tooltip':{'reconnect':_0x423833(0x10b)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x423833(0x107),'notCollab':'Local\x20file','synced':_0x423833(0xfb),'syncing':_0x423833(0x103),'offline':_0x423833(0x10a)},'session':{'connection-failed':_0x423833(0xfd),'will-retry':_0x423833(0x101),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x423833(0x105)},'conflict':{'title':_0x423833(0x106),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x423833(0x102),'content':_0x423833(0xfa)},'collaboration':{'single-unit':{'warning':_0x423833(0x100)},'closeRoom':_0x423833(0xff)},'auth':{'needGotoLoginAlert':_0x423833(0x108)}},o=e;export{o as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x58cdeb=_0x4b42;function _0x3403(){const _0x4df0f5=['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.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','13vrRxlJ','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Local\x20file','4JmLXvT','54638SsKUku','689630eMfXzM','Edit\x20conflicts','16JJBdcn','1730029OtfSxB','Syncing...','2816493LMoLNU','7329080nPlTvY','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','30DXwlUP','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','4351896zHyFLa','2454525yiwRrp'];_0x3403=function(){return _0x4df0f5;};return _0x3403();}(function(_0x23b302,_0x57325a){const _0x59029d=_0x4b42,_0x3a858d=_0x23b302();while(!![]){try{const _0x4c4765=parseInt(_0x59029d(0x10f))/0x1*(-parseInt(_0x59029d(0x114))/0x2)+-parseInt(_0x59029d(0x11a))/0x3*(-parseInt(_0x59029d(0x113))/0x4)+-parseInt(_0x59029d(0x115))/0x5+parseInt(_0x59029d(0x10b))/0x6+parseInt(_0x59029d(0x118))/0x7*(-parseInt(_0x59029d(0x117))/0x8)+-parseInt(_0x59029d(0x10c))/0x9*(parseInt(_0x59029d(0x11d))/0xa)+parseInt(_0x59029d(0x11b))/0xb;if(_0x4c4765===_0x57325a)break;else _0x3a858d['push'](_0x3a858d['shift']());}catch(_0x214590){_0x3a858d['push'](_0x3a858d['shift']());}}}(_0x3403,0x80255));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x58cdeb(0x10a),'conflict':_0x58cdeb(0x116),'notCollab':_0x58cdeb(0x112),'synced':_0x58cdeb(0x107),'syncing':_0x58cdeb(0x119),'offline':_0x58cdeb(0x109)},'session':{'connection-failed':_0x58cdeb(0x106),'will-retry':_0x58cdeb(0x11c),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x58cdeb(0x11e)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x58cdeb(0x10d)},'permission':{'title':_0x58cdeb(0x110),'content':_0x58cdeb(0x108)},'collaboration':{'single-unit':{'warning':_0x58cdeb(0x10e)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x58cdeb(0x111)}};function _0x4b42(_0x32f663,_0x19a4d1){const _0x34035b=_0x3403();return _0x4b42=function(_0x4b42dd,_0x29998a){_0x4b42dd=_0x4b42dd-0x106;let _0x5b840e=_0x34035b[_0x4b42dd];return _0x5b840e;},_0x4b42(_0x32f663,_0x19a4d1);}export{e as default};
|