@univerjs-pro/collaboration-client-ui 0.10.5 → 0.10.6-experimental.20250904-44da50e
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 +17 -17
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x806b(){const _0x5bcc55=['NO_OTHER_CLIENTS_EDITING','5705343AMpSir','startRow','get','1890255KhmRsn','_selfUnitIDs','_getAnchorBounding','cursorInfo','_online','trim','searchParams','onLocalMutation','requireSession','disposeWithMe','parse','_hover','popstate','with','url(#$1','moveTo','AWAITING_WITH_PENDING','_revisionService','body','getSkeleton','OTHER_CLIENT_EDITING','_scene','m2Prime','_assignedColors','textRanges','unit','_disabled','imageSourceType','getTypeOfUnitAdded$','collaboration-client.offline-data-not-saved','green.600','_colorAssignService','selections','indexOf','cursorInfo$','getFocusedUnit','add','EMAIL_VERIFY_CODE_MISMATCH','removeParam','entries','font','ALREADY_EXISTS','APPLY_NON_SEQUENTIAL_REVISION','_urlService','LOGIN_FAILED','urlChange$','_heartbeatTimer','_cursorInfo$','_transformPreviousActiveRange','type','application/json','set','APPLY_REJECT','getOwnPropertyDescriptor','docStateChange$','xlink:href','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_SUBSCRIPTION_NOT_FOUND','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','0\x200\x2016\x2016','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','_onCursorUpdate','roomMembers$','Error','YUUMI_ASYNCIO_CANCELLED','USERS_LEAVE','use','location','collab-rect-range-','CHANGESET_REVISION_CONFILICT','/run/','result','_memberService','hovered','collab-text-range-','TEXT','ranges','_getMergeRange','_config','colorChannel1','debug','addEventListener','FETCH_MISS','_onRefRangeChange','send','on-line-icon','pushState','setParam','_eventUnsubscribe','YUUMI_RATE_OVER_LIMIT','_unitOnClients','ACTIVE_UNIT_EVENT_CHANNEL','hide','getActiveSheet','INVALID_INVITE_CODE','JOIN_ROOM_FAILED','LICENSE_DISTRO_REJECTED','session.collaboration-timeout','_init','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','editingUnit','transformSelections','actions','entityInit$','4vrFdcz','jiqing.500','SNAPSHOT_HAS_BEEN_REMOVED','_collabCursorController','addHandlerCallback','activeSheet$','mutations','doc.mutation.rich-text-editing','_docTransformIMECacheService','symbol','asObservable','collabStatus.offline','range','defineProperty','getSheetId','m1Prime','APPLY_PERMISSION_DENIED','UNIVER_DOC','clearInterval','_imageIoService','collaboration.closeRoom','size','params','_collabSessionService','USER_NOT_INVITED_CODE','getCurrent','_docClipboardService','_anchor','_renderManagerService','getUniverSheetInstance','disableLocalCache','syncEditingCollabCursor','_localCacheService','updateOfflineData','saveOfflineData','undoState','hasOwnProperty','idSuffix','RECT','_scheduleHeartbeat','length','_colorIndex','_updateLocalCursor','enableLocalCache','transformIMECache','disposeUnit','_getSheetObject','_session','_localStorageService','_saveTaskMap','...','onPointerMove$','_drawTextRange','isActive','purple.300','_roomMembers$','InsertColCommandId','_labelPosition','univer-mr-2\x20univer-flex\x20univer-text-xl','UNRECOGNIZED','getUnitStatus$','assignAColorForMemberID','_commandService','function','_initStatusListener','registerRenderModule','getCellPositionByOffset','registerRefRange','_docSkeletonManagerService','_initStatusComponent','_updateURLWithCurrentState','unitID','LICENSE_EXPORT_SIZE_EXCEEDED','_transformUndoRedoStack','ENSURE_SNAPSHOT_EXECUTION','clearTimeout','_unitStatus','_handleHover','_transformService','_registerRenderDependencies','unshift','loadOfflineData','fill','_context','_messageService','_cachedData','getUndoRedoMutationParamsCache','event$','AWAITING','INVITE_CODE_REQUIRED','_localeService','mask','[CollaborationDataLoaderController]','_initEvent','from','_getScale','_httpService','show','_removeCollabCursors','_setupBeforeClosingHandler','isEditing','_drawRectRange','getVpScrollXYInfoByPosToVp','path','transformRemoteChangeset','_send','width','fillStyle','_entities','getRangePointData','unitId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','unsubscribe','MoveRangeCommandId','getCurrentUnitForType','height','onMouseMove','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','extend','_logService','pluginName','collab-text-anchor-','executeCommand','INTERNAL_ERROR','_updateSubUnitFromURLParams','post','getTypeOfUnitDisposed$','_docTransformStateCacheService','sessionTicket','_syncEditingCollabCursorService','white','_handleHeartbeatEvent','univer-flex\x20univer-items-center','collabStatus.conflict','SNAPSHOT_INVALID_SNAPSHOT','getViewport','setTimeout','13980312WWktQH','text','APPLY_DUPLICATED','column','key','_draw','_dataLoaderService','delete','pipe','_name','getUnitId','restore','COMPLETION_FINISHED','off-line-icon','FromArray','getItem','color','toString','YUUMI_NO_CUBOID_FOR_QUESTION','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_registerDependencies','getCollabCursors$','_setupSubUnitSync','M0\x200H16V16H0z','PENDING','HEADER_MENU','addClipboardHook','string','_docSkeleton','has','save','_startSheetCollabCursor','isArray','href','blue.400','subunit','off-line-icon_clip0_910_343','yellow.400','unload','InsertRangeMoveRightCommandId','roomMembers','_saveCache','_textBubble','getCurrentSelections','deepClone','_shapes','defs','push','random','getColorFromTheme','UniverIcon','_status$','on-line-icon_clip0_910_349','_anchorDot','OnLineIcon','getUnhiddenWorksheets','1471026ymMfwp','replaceState','_beforeCloseService','collaboration.single-unit.warning','row','PERMISSION_DENIED','NOT_COLLAB','currentColor','measureText','transform','svg','getParam','Warning','_refRangeService','CONFLICT','INVALID_ARGUMENT','getOffsetConfig','getRenderById','icon','NOT_FOUND','OTHER_CLIENTS_EDITING','MUTATION','_collaborationController','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','round','triggerDblclick','_toggleOnline','_createSocketURL','stringify','reconnect','min','_themeService','_backgroundColor','MOBILE_VERIFY_CODE_MISMATCH','collaboration-client-ui.config','lineTo','_hovered','_notificationService','_color','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_configService','getAncestorScale','_scheduleClearOtherTimer','assign','YUUMI_ALL_TABLES_IS_INVALID','invokeId','concat','top','getSheetBySheetId','children','_cursorShapes','wsSessionTicketUrl','getCollabEntity$','collabStatus.notCollab','_transformHistoryAndStateStack','div','EMAIL_HAS_BEEN_BOUND','getMemberID','tag','MOBILE_HAS_BEEN_BOUND','startsWith','_initDependencies','addObjects','redoState','_uiPartsService','setAlpha','_hideTimer','transformByState','_id','map','then','INVITE_CODE_ALREADY_BOUND','substring','Unknown\x20user','RemoveColCommandId','evenodd','some','uni.network.url-service','toRgbString','YUUMI_AI_RUN_FAILED','collabCursorState$','setItem','addObject','_collaborationUIEventService','_docSyncEditingCollabCursorService','call','max','SOCKET_FAILED','1em','getConfig','dispose$','includes','subscribe','APPLY_REVISION_CONFILICT','transformStateCache','_render','_injector','permission.content','displayName','_initResize','newValue','getActiveRange','_instanceService','find','_cursors','_lastPointer','values','_ensureSubject','flatMap','WECHAT_HAS_BEEN_BOUND','runId','source','ONLINE','executionId','name','LICENSE_MAX_UNITS_EXCEEDED','getMergeData','513477KkuShh','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UNDEFINED','getStateCache','getMember','_initEntityListener','resize','forEach','propertyIsEnumerable','_removeClearOtherTimer','_scheduleSaving','className','subscribeEvent','complete','contains','UNIVER_SHEET','findNodePositionByCharIndex','onCommandExecuted','split','3599610JYmboF','clipPath','selection','YUUMI_UNABLE_LOAD_URL','_univerInstanceService','_updateCollabCursors','error','_initCommandExecutedListener','currentSkeleton$','ticket','_handleJoinEvent','_collabCursorState$','history','current','_range','apply','bottom','327632bcXMSb','getValue','collabStatus.syncing','getCurrentRevOfUnit','defIds','onPointerEnter$','fillText','OFFLINE','_onCursorDelete','_refreshCollabCursors','_startDocCollabCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','skeleton','setShapeProps','init','setInterval','getDocRanges','OffLineIcon','univerjs-icon\x20univerjs-icon-','INVITE_CODE_HAS_BEEN_UES','_handleEvent','registerComponent','_getSessionTicket','engine','_clearOtherTimers','sheetId','startColumn','beginPath','transformMutationsWithChangeset','_docStateChangeManagerService','_entityInit$','SYNCED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collabStatus.synced','DeleteRangeMoveLeftCommandId','_toggleOffline','currentTheme$','onTransformChange$','RemoveRowCommandId','_handleLeaveEvent','url(#off-line-icon_clip0_910_343)','whenReady','next','getOwnPropertySymbols','_docTransformSelectionsService','_cursor','sessionStatus$','createSocket','UPDATE_CURSOR','transformMutation','dispose','onStarting','InsertRangeMoveDownCommandId','data','saveTaskMap','attrs','VIEW_MAIN','black','sheetID','prototype','LICENSE_IMPORT_SIZE_EXCEEDED','drawWith','_document','_sheetSkeletonManagerService','_getSaveTimeout','SOCKET_FAILED_RETRY','_drawAnchor'];_0x806b=function(){return _0x5bcc55;};return _0x806b();}const _0x524f26=_0x2688;(function(_0x40b1dd,_0x30b73b){const _0x2e5f75=_0x2688,_0x284696=_0x40b1dd();while(!![]){try{const _0x3d2ee9=-parseInt(_0x2e5f75(0x193))/0x1+parseInt(_0x2e5f75(0x1b7))/0x2+-parseInt(_0x2e5f75(0x1fe))/0x3*(parseInt(_0x2e5f75(0x266))/0x4)+parseInt(_0x2e5f75(0x1a6))/0x5+-parseInt(_0x2e5f75(0x11e))/0x6+-parseInt(_0x2e5f75(0x1fb))/0x7+parseInt(_0x2e5f75(0x2ef))/0x8;if(_0x3d2ee9===_0x30b73b)break;else _0x284696['push'](_0x284696['shift']());}catch(_0x1c8301){_0x284696['push'](_0x284696['shift']());}}}(_0x806b,0x685e7));var xt=Object[_0x524f26(0x273)],Bt=(_0x5ed0cf,_0xb45634,_0x74c5f6)=>_0xb45634 in _0x5ed0cf?xt(_0x5ed0cf,_0xb45634,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x74c5f6}):_0x5ed0cf[_0xb45634]=_0x74c5f6,_=(_0x255c4b,_0x455144,_0x5b1f86)=>Bt(_0x255c4b,typeof _0x455144!=_0x524f26(0x26f)?_0x455144+'':_0x455144,_0x5b1f86);import{jsx as _0x24ff01,jsxs as _0x5ef377}from'react/jsx-runtime';import{CollaborationStatus as _0x5e14e2,CollaborationSessionService as _0x162056,CollaborationController as _0x5ea9c0,DataLoaderService as _0x5079d1,MemberService as _0x18c408,SessionStatus as _0x5e5ecf,ILocalCacheService as _0x1b7959,CollaborationUIEventService as _0x212095,CollaborationUIEventId as _0x30a4c0,DocCollaborationEntity as _0x1d2c24,getLocalCacheKey as _0x5b4647,LOCAL_CACHE_INTERVAL as _0x39c620,LOCAL_CACHE_INTERVAL_KEY as _0x39a762,UniverCollaborationClientPlugin as _0x27d2e3,CollaborationSocketService as _0x14e523,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x24dff4,DEFAULT_WS_SESSION_TICKET_URL as _0x374a7e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x72f2d5,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1aee36,UnitStatus as _0x1fe626}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x402f9f,IUniverInstanceService as _0x51fb22,Inject as _0x50e226,Injector as _0x56c26b,Disposable as _0x430c3f,createIdentifier as _0xe87888,ILogService as _0x185283,ICommandService as _0x2817bc,Optional as _0x16e240,RxDisposable as _0x390349,Workbook as _0x3de4a7,DOC_RANGE_TYPE as _0x3a8b17,debounce as _0x3471f3,Rectangle as _0x145291,DisposableCollection as _0x430434,toDisposable as _0x576d92,UniverInstanceType as _0x12cd48,generateRandomId as _0x5232f5,COLORS as _0x4cbd43,ColorKit as _0x8ed489,ThemeService as _0x106740,fromEventSubject as _0x3278b6,Tools as _0x47045f,CommandType as _0x372a95,IConfigService as _0x2e44c3,ILocalStorageService as _0x264bea,DependentOn as _0x10c84e,Plugin as _0x43d505,merge as _0xe37108,registerDependencies as _0x2c5eaa,mergeOverrideWithDependencies as _0x1ef8cb,touchDependencies as _0x58fb3f}from'@univerjs/core';import{useObservable as _0x58bc60,useDependency as _0x17dccc,IUIPartsService as _0x2503a4,BuiltInUIPart as _0x299170,connectInjector as _0x207910,IBeforeCloseService as _0x1d6db7,IMessageService as _0x274d64,INotificationService as _0x467358}from'@univerjs/ui';import{BehaviorSubject as _0x2f3fd2,switchMap as _0x2f1b3a,of as _0x2ae73a,takeUntil as _0x1416b7,debounceTime as _0x2d1c69,Subject as _0x24e103,filter as _0x4a29be,merge as _0x3763a1,combineLatest as _0x43bfd3,fromEvent as _0x1f263d,shareReplay as _0x57b571,mapTo as _0x591317,distinctUntilChanged as _0x2b74c3}from'rxjs';import{Tooltip as _0x815ab8,clsx as _0x542a34,MessageType as _0x1547dc}from'@univerjs/design';import{forwardRef as _0x214a22,useRef as _0x3eb788,createElement as _0x54760f,useCallback as _0x4839a6}from'react';import{IRemoteInstanceService as _0xfa4c7e}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0xb1d42e,RefRangeService as _0x250711,SetSelectionsOperation as _0x5699e8,SheetsSelectionsService as _0x4f1372,EffectRefRangId as _0x5ca832,handleIRemoveRow as _0x1dc797,handleIRemoveCol as _0x457b0d,handleMoveRange as _0x2fb68b,handleInsertRow as _0x58021b,handleInsertRangeMoveRight as _0x1665b6,handleInsertRangeMoveDown as _0x1b33ea,handleInsertCol as _0x32e739,handleDeleteRangeMoveUp as _0x258d6c,handleDeleteRangeMoveLeft as _0x297828,runRefRangeMutations as _0x3dffdc}from'@univerjs/sheets';import{Shape as _0x1163ff,Rect as _0x2fb052,getColor as _0xd92724,RegularPolygon as _0x4a6e35,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3ef742,Vector2 as _0x5c2ab4,SHEET_VIEWPORT_KEY as _0x49d101,IRenderManagerService as _0x161de0}from'@univerjs/engine-render';import{ISocketService as _0xd2df92,WebSocketService as _0x2c7d8a,HTTPService as _0x3452db}from'@univerjs/network';import{IDocClipboardService as _0x2fc78a,NodePositionConvertToCursor as _0x5cf627,NodePositionConvertToRectRange as _0xf2f731,TEXT_RANGE_LAYER_INDEX as _0x1f9e4e,SetDocZoomRatioOperation as _0x4975a1,DocIMEInputManagerService as _0x3b2744,DocStateChangeManagerService as _0x1474b4}from'@univerjs/docs-ui';import{IImageIoService as _0xe3ccbc}from'@univerjs/drawing';import{ITransformService as _0x4224cb,CollaborationEvent as _0x476dfc,isTransformMutationFailure as _0x3a0a27,isTransformMutationsWithChangesetSuccess as _0x20a420,RevisionService as _0x2cbf02,ISnapshotServerService as _0x26acb6}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x389eb4,RichTextEditingMutation as _0x4e5495,DocSelectionManagerService as _0x5bd793,DocSkeletonManagerService as _0x5ecd18}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x3e5e17,serializeRangeWithSheet as _0x4ee99d}from'@univerjs/engine-formula';import{map as _0x4866e0,filter as _0x3717b4,throttleTime as _0x1cbed5,takeUntil as _0x10e0b3,switchMap as _0x1aec67}from'rxjs/operators';import{SheetSkeletonManagerService as _0x396f6e,getCoordByCell as _0x59f86f,getSheetObject as _0x1058c8}from'@univerjs/sheets-ui';var v=function(){const _0x4ecdc2=_0x524f26;return v=Object['assign']||function(_0x5dd0a9){const _0x5d687d=_0x2688;for(var _0x44a1e5,_0x370a93=0x1,_0x389206=arguments[_0x5d687d(0x28e)];_0x370a93<_0x389206;_0x370a93++){_0x44a1e5=arguments[_0x370a93];for(var _0x4396db in _0x44a1e5)Object[_0x5d687d(0x1f2)][_0x5d687d(0x28a)][_0x5d687d(0x173)](_0x44a1e5,_0x4396db)&&(_0x5dd0a9[_0x4396db]=_0x44a1e5[_0x4396db]);}return _0x5dd0a9;},v[_0x4ecdc2(0x1b5)](this,arguments);},ci=function(_0x562a0a,_0x10402e){const _0x10fb5a=_0x524f26;var _0x5df8c8={};for(var _0x65da1f in _0x562a0a)Object[_0x10fb5a(0x1f2)][_0x10fb5a(0x28a)][_0x10fb5a(0x173)](_0x562a0a,_0x65da1f)&&_0x10402e[_0x10fb5a(0x21f)](_0x65da1f)<0x0&&(_0x5df8c8[_0x65da1f]=_0x562a0a[_0x65da1f]);if(_0x562a0a!=null&&typeof Object['getOwnPropertySymbols']==_0x10fb5a(0x2a5)){for(var _0x4b659a=0x0,_0x65da1f=Object[_0x10fb5a(0x1e2)](_0x562a0a);_0x4b659a<_0x65da1f[_0x10fb5a(0x28e)];_0x4b659a++)_0x10402e[_0x10fb5a(0x21f)](_0x65da1f[_0x4b659a])<0x0&&Object['prototype'][_0x10fb5a(0x19b)][_0x10fb5a(0x173)](_0x562a0a,_0x65da1f[_0x4b659a])&&(_0x5df8c8[_0x65da1f[_0x4b659a]]=_0x562a0a[_0x65da1f[_0x4b659a]]);}return _0x5df8c8;},ke=_0x214a22(function(_0x2e0718,_0x5ef3ec){const _0x30c440=_0x524f26;var _0x203375=_0x2e0718[_0x30c440(0x130)],_0x5e9f8e=_0x2e0718['id'],_0x545d3a=_0x2e0718[_0x30c440(0x19e)],_0x2bfbf5=_0x2e0718['extend'],_0x1c19d8=ci(_0x2e0718,[_0x30c440(0x130),'id',_0x30c440(0x19e),_0x30c440(0x2dc)]),_0x419def=_0x30c440(0x1c9)[_0x30c440(0x14c)](_0x5e9f8e,'\x20')[_0x30c440(0x14c)](_0x545d3a||'')[_0x30c440(0x203)](),_0xcf4600=_0x3eb788('_'['concat'](hi()));return Rt(_0x203375,''[_0x30c440(0x14c)](_0x5e9f8e),{'defIds':_0x203375[_0x30c440(0x1bb)],'idSuffix':_0xcf4600[_0x30c440(0x1b3)]},v({'ref':_0x5ef3ec,'className':_0x419def},_0x1c19d8),_0x2bfbf5);});function Rt(_0xdc9a73,_0x121d8c,_0xa58688,_0x57422c,_0x5a2e85){const _0x2d7b13=_0x524f26;return _0x54760f(_0xdc9a73[_0x2d7b13(0x158)],v(v({'key':_0x121d8c},li(_0xdc9a73,_0xa58688,_0x5a2e85)),_0x57422c),(_i(_0xdc9a73,_0xa58688)['children']||[])[_0x2d7b13(0x163)](function(_0xbc0ea1,_0x5d660d){const _0x20f103=_0x2d7b13;return Rt(_0xbc0ea1,''[_0x20f103(0x14c)](_0x121d8c,'-')[_0x20f103(0x14c)](_0xdc9a73[_0x20f103(0x158)],'-')[_0x20f103(0x14c)](_0x5d660d),_0xa58688,void 0x0,_0x5a2e85);}));}function li(_0x435433,_0x4d9250,_0x1a0134){const _0x45fb21=_0x524f26;var _0x2a0957=v({},_0x435433[_0x45fb21(0x1ee)]);_0x1a0134!=null&&_0x1a0134[_0x45fb21(0x24d)]&&_0x2a0957[_0x45fb21(0x2b8)]===_0x45fb21(0x24d)&&(_0x2a0957[_0x45fb21(0x2b8)]=_0x1a0134[_0x45fb21(0x24d)]),_0x435433['tag']==='mask'&&_0x2a0957['id']&&(_0x2a0957['id']=_0x2a0957['id']+_0x4d9250[_0x45fb21(0x28b)]),Object[_0x45fb21(0x225)](_0x2a0957)[_0x45fb21(0x19a)](function(_0x46f9fa){const _0x4318fc=_0x45fb21;var _0x40aaae=_0x46f9fa[0x0],_0x24ddb2=_0x46f9fa[0x1];_0x40aaae===_0x4318fc(0x2c1)&&typeof _0x24ddb2=='string'&&(_0x2a0957[_0x40aaae]=_0x24ddb2['replace'](/url\(#(.*)\)/,_0x4318fc(0x20c)[_0x4318fc(0x14c)](_0x4d9250['idSuffix'],')')));});var _0x355f53=_0x4d9250[_0x45fb21(0x1bb)];return!_0x355f53||_0x355f53[_0x45fb21(0x28e)]===0x0||(_0x435433['tag']===_0x45fb21(0x240)&&_0x2a0957[_0x45fb21(0x235)]&&(_0x2a0957[_0x45fb21(0x235)]=_0x2a0957['xlink:href']+_0x4d9250['idSuffix']),Object[_0x45fb21(0x225)](_0x2a0957)[_0x45fb21(0x19a)](function(_0x4cd860){const _0x37b715=_0x45fb21;var _0x488a8d=_0x4cd860[0x0],_0x5787b2=_0x4cd860[0x1];typeof _0x5787b2=='string'&&(_0x2a0957[_0x488a8d]=_0x5787b2['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x4d9250[_0x37b715(0x28b)],')')));})),_0x2a0957;}function _i(_0x77c2a9,_0x1265ad){const _0x184aae=_0x524f26;var _0x2213da,_0x493065=_0x1265ad['defIds'];return!_0x493065||_0x493065[_0x184aae(0x28e)]===0x0?_0x77c2a9:_0x77c2a9[_0x184aae(0x158)]==='defs'&&(!((_0x2213da=_0x77c2a9[_0x184aae(0x14f)])===null||_0x2213da===void 0x0)&&_0x2213da[_0x184aae(0x28e)])?v(v({},_0x77c2a9),{'children':_0x77c2a9[_0x184aae(0x14f)][_0x184aae(0x163)](function(_0x3387df){const _0x4630b7=_0x184aae;return typeof _0x3387df[_0x4630b7(0x1ee)]['id']==_0x4630b7(0x101)&&_0x493065&&_0x493065[_0x4630b7(0x179)](_0x3387df['attrs']['id'])?v(v({},_0x3387df),{'attrs':v(v({},_0x3387df['attrs']),{'id':_0x3387df['attrs']['id']+_0x1265ad[_0x4630b7(0x28b)]})}):_0x3387df;})}):_0x77c2a9;}function hi(){const _0x153dfc=_0x524f26;return Math[_0x153dfc(0x116)]()['toString'](0x24)[_0x153dfc(0x166)](0x2,0x8);}ke['displayName']=_0x524f26(0x118);var ui={'tag':_0x524f26(0x128),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x524f26(0x239),'width':_0x524f26(0x176),'height':_0x524f26(0x176)},'children':[{'tag':'g','attrs':{'clipPath':_0x524f26(0x1df)},'children':[{'tag':_0x524f26(0x2cd),'attrs':{'stroke':_0x524f26(0x125),'d':_0x524f26(0x135),'strokeLinecap':'round','strokeLinejoin':_0x524f26(0x136),'strokeWidth':1.2}}]},{'tag':_0x524f26(0x114),'attrs':{},'children':[{'tag':_0x524f26(0x1a7),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x524f26(0x2e8),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x524f26(0x10a)]},Dt=_0x214a22(function(_0x33e550,_0x1d19b9){const _0x2e5fd2=_0x524f26;return _0x54760f(ke,Object['assign']({},_0x33e550,{'id':_0x2e5fd2(0xf3),'ref':_0x1d19b9,'icon':ui}));});Dt[_0x524f26(0x180)]=_0x524f26(0x1c8);var di={'tag':_0x524f26(0x128),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x524f26(0x176),'height':_0x524f26(0x176)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x524f26(0x125),'d':_0x524f26(0x23a),'strokeLinecap':_0x524f26(0x136),'strokeLinejoin':_0x524f26(0x136),'strokeWidth':1.2}}]},{'tag':_0x524f26(0x114),'attrs':{},'children':[{'tag':_0x524f26(0x1a7),'attrs':{'id':_0x524f26(0x11a)},'children':[{'tag':'path','attrs':{'fill':_0x524f26(0x2e8),'d':_0x524f26(0xfd),'transform':'translate(.97)'}}]}]}],'defIds':[_0x524f26(0x11a)]},Nt=_0x214a22(function(_0x28a090,_0x2591b8){const _0x41d8bd=_0x524f26;return _0x54760f(ke,Object[_0x41d8bd(0x149)]({},_0x28a090,{'id':_0x41d8bd(0x253),'ref':_0x2591b8,'icon':di}));});Nt[_0x524f26(0x180)]=_0x524f26(0x11c);function fi(_0x1c23c1){const _0x837e97=_0x524f26;switch(_0x1c23c1){case _0x5e14e2[_0x837e97(0x1be)]:return _0x837e97(0x271);case _0x5e14e2['CONFLICT']:return _0x837e97(0x2eb);case _0x5e14e2[_0x837e97(0x250)]:return'collabStatus.fetchMiss';case _0x5e14e2[_0x837e97(0x124)]:return _0x837e97(0x153);case _0x5e14e2[_0x837e97(0x2be)]:case _0x5e14e2[_0x837e97(0x20e)]:return _0x837e97(0x1b9);case _0x5e14e2[_0x837e97(0x1d6)]:case _0x5e14e2[_0x837e97(0xfe)]:return _0x837e97(0x1d8);}}function Si(_0x3bdfe2){const _0x19e2be=_0x524f26,{status$:_0x485bde}=_0x3bdfe2,_0x5d9f63=_0x58bc60(_0x485bde,_0x5e14e2[_0x19e2be(0x124)]),_0x82958a=_0x17dccc(_0x402f9f),_0x53c79f=_0x17dccc(_0x162056),_0xd3dc39=_0x5d9f63!==_0x5e14e2[_0x19e2be(0x1be)],_0x4615d6=_0x82958a['t'](fi(_0x5d9f63)),_0x1677b3=_0xd3dc39?_0x24ff01(Nt,{}):_0x24ff01(Dt,{}),_0x79fad1=_0x4839a6(()=>{const _0x241d2d=_0x19e2be;_0xd3dc39||_0x53c79f[_0x241d2d(0x13b)]();},[_0xd3dc39,_0x53c79f]);function _0xe4ceb5(){const _0x213621=_0x19e2be;return _0x5ef377(_0x213621(0x155),{'className':_0x213621(0x2ea),'onClick':_0x79fad1,'children':[_0x24ff01('div',{'className':_0x542a34(_0x213621(0x2a0),{'univer-text-green-500':_0xd3dc39,'univer-text-red-500':!_0xd3dc39}),'children':_0x1677b3}),_0x24ff01(_0x213621(0x155),{'className':_0x213621(0x238),'children':_0x4615d6})]});}return _0xd3dc39?_0xe4ceb5():_0x24ff01(_0x815ab8,{'title':_0x82958a['t']('collab-client.tooltip.reconnect'),'children':_0xe4ceb5()});}var mi=Object[_0x524f26(0x233)],Ii=(_0xd2f75f,_0x5980d7,_0x16c87d,_0x174e81)=>{const _0x39987c=_0x524f26;for(var _0x37b86f=_0x174e81>0x1?void 0x0:_0x174e81?mi(_0x5980d7,_0x16c87d):_0x5980d7,_0x42e19f=_0xd2f75f[_0x39987c(0x28e)]-0x1,_0xa50b1c;_0x42e19f>=0x0;_0x42e19f--)(_0xa50b1c=_0xd2f75f[_0x42e19f])&&(_0x37b86f=_0xa50b1c(_0x37b86f)||_0x37b86f);return _0x37b86f;},q=(_0x2831b5,_0x11d254)=>(_0x4395ac,_0x1840fd)=>_0x11d254(_0x4395ac,_0x1840fd,_0x2831b5);let se=class extends _0x430c3f{constructor(_0x55e88a,_0x1c7949,_0x576842,_0x1ffbe2){const _0x4b97a2=_0x524f26;super(),_(this,_0x4b97a2(0x119),new _0x2f3fd2(_0x5e14e2[_0x4b97a2(0x124)])),(this['_univerInstanceService']=_0x55e88a,this[_0x4b97a2(0x17e)]=_0x1c7949,this['_collaborationController']=_0x576842,this[_0x4b97a2(0x15e)]=_0x1ffbe2,this[_0x4b97a2(0x2ab)](),this[_0x4b97a2(0x2a6)]());}[_0x524f26(0x2a6)](){const _0x1a1087=_0x524f26;this[_0x1a1087(0x207)](this[_0x1a1087(0x1aa)]['focused$'][_0x1a1087(0xee)](_0x2f1b3a(()=>{const _0xc21b46=_0x1a1087,_0x22c85f=this[_0xc21b46(0x1aa)][_0xc21b46(0x221)]();return _0x22c85f?this[_0xc21b46(0x134)][_0xc21b46(0x152)](_0x22c85f[_0xc21b46(0xf0)]()):_0x2ae73a(null);}),_0x2f1b3a(_0x2ab6db=>_0x2ab6db?_0x2ab6db['status$']:_0x2ae73a(_0x5e14e2[_0x1a1087(0x124)])))[_0x1a1087(0x17a)](_0x372e27=>{const _0x1c632d=_0x1a1087;this[_0x1c632d(0x119)][_0x1c632d(0x1e1)](_0x372e27);}));}[_0x524f26(0x2ab)](){const _0x256235=_0x524f26;this[_0x256235(0x207)](this['_uiPartsService'][_0x256235(0x1cc)](_0x299170[_0x256235(0xff)],()=>_0x207910(vi({'status$':this[_0x256235(0x119)][_0x256235(0x270)]()}),this[_0x256235(0x17e)])));}};se=Ii([q(0x0,_0x51fb22),q(0x1,_0x50e226(_0x56c26b)),q(0x2,_0x50e226(_0x5ea9c0)),q(0x3,_0x2503a4)],se);function vi(_0x44dc07){const {status$:_0x2193ed}=_0x44dc07;return function(){return _0x24ff01(Si,{'status$':_0x2193ed});};}const Ut=_0xe87888(_0x524f26(0x16b));var gi=Object[_0x524f26(0x233)],pi=(_0x51f2f7,_0xa7ee63,_0x40d72a,_0x40f4e7)=>{const _0x1fbe13=_0x524f26;for(var _0x1ce1f2=_0x40f4e7>0x1?void 0x0:_0x40f4e7?gi(_0xa7ee63,_0x40d72a):_0xa7ee63,_0x7bb6cb=_0x51f2f7[_0x1fbe13(0x28e)]-0x1,_0x5625ef;_0x7bb6cb>=0x0;_0x7bb6cb--)(_0x5625ef=_0x51f2f7[_0x7bb6cb])&&(_0x1ce1f2=_0x5625ef(_0x1ce1f2)||_0x1ce1f2);return _0x1ce1f2;},G=(_0x27c468,_0x3ac965)=>(_0x4619d8,_0x5d7c70)=>_0x3ac965(_0x4619d8,_0x5d7c70,_0x27c468);let ie=class extends _0x390349{constructor(_0x3b3122,_0x1a967d,_0x179947,_0x548703,_0x56b69f){const _0x256922=_0x524f26;super(),this[_0x256922(0x229)]=_0x3b3122,this[_0x256922(0x2dd)]=_0x1a967d,this[_0x256922(0x2a4)]=_0x179947,this['_dataLoaderService']=_0x548703,_0x56b69f?_0x56b69f==null||_0x56b69f[_0x256922(0x1e0)]()[_0x256922(0x164)](()=>this['_init']()):(this[_0x256922(0x2dd)][_0x256922(0x24e)](_0x256922(0x2c2),_0x256922(0x1c2)),this[_0x256922(0x260)]());}async[_0x524f26(0x260)](){const _0x17846f=_0x524f26,_0x5b5971=this[_0x17846f(0x229)][_0x17846f(0x129)](_0x17846f(0x217)),_0x10178b=this['_urlService'][_0x17846f(0x129)](_0x17846f(0x22f)),_0x28bd6e=this[_0x17846f(0x229)][_0x17846f(0x129)](_0x17846f(0x109));if(!_0x5b5971||!_0x10178b){this[_0x17846f(0x2dd)]['debug'](_0x17846f(0x2c2),_0x17846f(0xf9));return;}const _0x3812ba=await this[_0x17846f(0x2f5)]['loadUnit'](_0x5b5971,Number(_0x10178b),_0x28bd6e);_0x3812ba&&_0x3812ba instanceof _0x3de4a7&&this[_0x17846f(0xfc)](_0x3812ba);}async[_0x524f26(0xfc)](_0x40b86c){const _0x1c256b=_0x524f26;await this['_updateSubUnitFromURLParams'](_0x40b86c),_0x40b86c[_0x1c256b(0x26b)][_0x1c256b(0xee)](_0x1416b7(this['dispose$']))[_0x1c256b(0x17a)](_0x353ebb=>{_0x353ebb&&this['_updateURLWithCurrentState'](_0x353ebb);}),this[_0x1c256b(0x229)][_0x1c256b(0x22b)][_0x1c256b(0xee)](_0x1416b7(this[_0x1c256b(0x178)]))['subscribe'](()=>this[_0x1c256b(0x2e2)](_0x40b86c));}[_0x524f26(0x2ac)](_0x20e5c0,_0x5616fd=!0x1){const _0x50dc1a=_0x524f26,_0x2686e2=this[_0x50dc1a(0x229)]['getParam'](_0x50dc1a(0x109));_0x20e5c0[_0x50dc1a(0x274)]()!==_0x2686e2&&this[_0x50dc1a(0x229)]['setParam'](_0x50dc1a(0x109),_0x20e5c0[_0x50dc1a(0x274)](),_0x5616fd);}async[_0x524f26(0x2e2)](_0x376095){const _0x57eaa3=_0x524f26;var _0x32da2f;const _0xca26ee=this['_urlService'][_0x57eaa3(0x129)](_0x57eaa3(0x109));if(!_0xca26ee||!_0x376095[_0x57eaa3(0x14e)](_0xca26ee)){const _0x2b7a32=_0x376095[_0x57eaa3(0x11d)]()[0x0],_0x5d3875=_0x376095[_0x57eaa3(0x14e)](_0x2b7a32);if(!_0x5d3875)return;this[_0x57eaa3(0x2ac)](_0x5d3875,!0x0),await this[_0x57eaa3(0x2a4)][_0x57eaa3(0x2e0)](_0xb1d42e['id'],{'unitId':_0x376095['getUnitId'](),'subUnitId':_0x2b7a32});return;}((_0x32da2f=_0x376095[_0x57eaa3(0x25b)]())==null?void 0x0:_0x32da2f[_0x57eaa3(0x274)]())!==_0xca26ee&&await this[_0x57eaa3(0x2a4)]['executeCommand'](_0xb1d42e['id'],{'unitId':_0x376095[_0x57eaa3(0xf0)](),'subUnitId':_0xca26ee});}};ie=pi([G(0x0,Ut),G(0x1,_0x185283),G(0x2,_0x2817bc),G(0x3,_0x50e226(_0x5079d1)),G(0x4,_0x16e240(_0xfa4c7e))],ie);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x302d83,_0x831cf0,_0xf9a8e5,_0x1727ff)=>{const _0x19ffb2=_0x524f26;for(var _0x2e8ab5=_0x1727ff>0x1?void 0x0:_0x1727ff?Ci(_0x831cf0,_0xf9a8e5):_0x831cf0,_0x28b3ec=_0x302d83[_0x19ffb2(0x28e)]-0x1,_0x9ba20a;_0x28b3ec>=0x0;_0x28b3ec--)(_0x9ba20a=_0x302d83[_0x28b3ec])&&(_0x2e8ab5=_0x9ba20a(_0x2e8ab5)||_0x2e8ab5);return _0x2e8ab5;},Je=(_0x312c3c,_0x13c86d)=>(_0x29a360,_0x28e8b7)=>_0x13c86d(_0x29a360,_0x28e8b7,_0x312c3c);let Ne=class extends _0x390349{constructor(_0x23856f,_0x1df1d6){const _0xffdf0b=_0x524f26;super(),this[_0xffdf0b(0x280)]=_0x23856f,this['_imageIoService']=_0x1df1d6,this[_0xffdf0b(0x260)]();}['_init'](){const _0x2558ca=_0x524f26,_0x390fab=this;this['disposeWithMe'](this[_0x2558ca(0x280)][_0x2558ca(0x100)]({'onBeforePasteImage':async _0x24ff90=>{const _0x34ed41=_0x2558ca,_0x5bb171=await _0x390fab[_0x34ed41(0x279)]['saveImage'](_0x24ff90);return _0x5bb171?{'source':_0x5bb171[_0x34ed41(0x18d)],'imageSourceType':_0x5bb171[_0x34ed41(0x219)]}:null;}}));}};Ne=Ei([Je(0x0,_0x2fc78a),Je(0x1,_0xe3ccbc)],Ne);const Ze=[_0x524f26(0x29c),_0x524f26(0x267),_0x524f26(0x21c),'red.300',_0x524f26(0x108),_0x524f26(0x10b)];class He extends _0x430c3f{constructor(){const _0x44c7ea=_0x524f26;super(...arguments),_(this,_0x44c7ea(0x215),new Map()),_(this,_0x44c7ea(0x28f),0x0);}[_0x524f26(0x2a3)](_0x47102a){const _0x31596b=_0x524f26;if(this[_0x31596b(0x215)][_0x31596b(0x103)](_0x47102a))return this[_0x31596b(0x215)][_0x31596b(0x1fd)](_0x47102a);const _0x5dbd29=Ze[this[_0x31596b(0x28f)]];return this[_0x31596b(0x28f)]=(this['_colorIndex']+0x1)%Ze[_0x31596b(0x28e)],this[_0x31596b(0x215)][_0x31596b(0x231)](_0x47102a,_0x5dbd29),_0x5dbd29;}}function Mt(_0x5066e5){const _0x2c8248=_0x524f26;let _0x1c6d03='';for(const _0xda0d57 of _0x5066e5){const {startOffset:_0x5b2ca6,endOffset:_0x5de134,isActive:_0x54927c,rangeType:_0x493f9a,segmentId:_0x5ec120,segmentPage:_0x481afa}=_0xda0d57;_0x1c6d03[_0x2c8248(0x28e)]&&(_0x1c6d03+=','),_0x1c6d03+=_0x5b2ca6+':'+_0x5de134+':'+(_0x54927c?'1':'0')+':'+_0x493f9a+':'+_0x5ec120+':'+_0x481afa;}return _0x1c6d03;}function Oi(_0x2457f1){const _0x5360ff=_0x524f26,_0x1103f5=_0x2457f1[_0x5360ff(0x1a5)](','),_0x29c781=[];for(const _0x2a5149 of _0x1103f5){const [_0x578d06,_0x267919,_0x298e23,_0x1ceb7d,_0x1c7f7b,_0x37e3b9]=_0x2a5149[_0x5360ff(0x1a5)](':');_0x29c781[_0x5360ff(0x115)]({'startOffset':Number(_0x578d06),'endOffset':Number(_0x267919),'collapsed':_0x578d06===_0x267919,'isActive':_0x298e23==='1','rangeType':_0x1ceb7d===_0x3a8b17[_0x5360ff(0x249)]?_0x3a8b17['TEXT']:_0x3a8b17[_0x5360ff(0x28c)],'segmentId':typeof _0x1c7f7b==_0x5360ff(0x101)?String(_0x1c7f7b):'','segmentPage':Number(_0x37e3b9!=null?_0x37e3b9:-0x1)});}return _0x29c781[_0x5360ff(0x16a)](_0x4c6e9a=>_0x4c6e9a[_0x5360ff(0x29b)])||(_0x29c781[0x0][_0x5360ff(0x29b)]=!0x0),_0x29c781;}class Fe extends _0x390349{constructor(){const _0x319b63=_0x524f26;super(...arguments),_(this,_0x319b63(0x1b1),new _0x2f3fd2(null)),_(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x53e8a9){const _0x5b15e8=_0x524f26,{unitID:_0x2f006c,memberID:_0x2f83f2,textRanges:_0x35a5a8}=_0x53e8a9,_0x25466d=Mt(_0x35a5a8);if(_0x25466d==='')return;const _0x40f099={'unitID':_0x2f006c,'memberID':_0x2f83f2,'selection':_0x25466d};this[_0x5b15e8(0x1b1)][_0x5b15e8(0x1e1)](_0x40f099);}}var bi=Object['getOwnPropertyDescriptor'],Ti=(_0x506d20,_0x5a3e2d,_0x54deb1,_0x418283)=>{for(var _0x59dd70=_0x418283>0x1?void 0x0:_0x418283?bi(_0x5a3e2d,_0x54deb1):_0x5a3e2d,_0x119979=_0x506d20['length']-0x1,_0x5acb88;_0x119979>=0x0;_0x119979--)(_0x5acb88=_0x506d20[_0x119979])&&(_0x59dd70=_0x5acb88(_0x59dd70)||_0x59dd70);return _0x59dd70;},P=(_0x3a58d8,_0x159123)=>(_0x183fda,_0x241fb5)=>_0x159123(_0x183fda,_0x241fb5,_0x3a58d8);const Ri=0x12c,Di=0x64;let Ue=class extends _0x390349{constructor(_0x5465f5,_0x559843,_0x1bc743,_0x2b8285,_0x465d57,_0x3fc6a1,_0x42cbe5,_0x28d8d8,_0x42353a){const _0x7d1fc0=_0x524f26;super(),_(this,_0x7d1fc0(0x202),!0x1),_(this,_0x7d1fc0(0x260),!0x1),_(this,_0x7d1fc0(0x22d),new _0x2f3fd2(new Map())),_(this,_0x7d1fc0(0x220),this[_0x7d1fc0(0x22d)][_0x7d1fc0(0x270)]()),_(this,_0x7d1fc0(0x29d),new _0x2f3fd2([])),_(this,_0x7d1fc0(0x23c),this[_0x7d1fc0(0x29d)][_0x7d1fc0(0xee)](_0x2d1c69(Ri))),_(this,_0x7d1fc0(0x290),_0x3471f3(_0xfd8d6b=>{const _0x22f773=_0x7d1fc0,_0x4d78e0={'eventID':_0x476dfc[_0x22f773(0x1e7)],'data':{'unitID':this[_0x22f773(0x2ad)],'memberID':this['_session'][_0x22f773(0x157)](),'selection':Mt(_0xfd8d6b)}};this[_0x22f773(0x295)][_0x22f773(0x252)](_0x4d78e0,this['unitID']);},Di)),(this[_0x7d1fc0(0x2ad)]=_0x5465f5,this[_0x7d1fc0(0x295)]=_0x559843,this[_0x7d1fc0(0x17e)]=_0x1bc743,this['_colorAssignService']=_0x2b8285,this['_memberService']=_0x465d57,this[_0x7d1fc0(0x2e7)]=_0x3fc6a1,this[_0x7d1fc0(0x2b4)]=_0x42cbe5,this[_0x7d1fc0(0x1aa)]=_0x28d8d8,this[_0x7d1fc0(0x2a4)]=_0x42353a);}get[_0x524f26(0x201)](){const _0x4052c5=_0x524f26;return this[_0x4052c5(0x22d)][_0x4052c5(0x1b8)]();}get[_0x524f26(0x10e)](){const _0x546989=_0x524f26;return this[_0x546989(0x29d)][_0x546989(0x1b8)]();}['dispose'](){const _0x33edef=_0x524f26;super['dispose'](),this[_0x33edef(0x22d)][_0x33edef(0x1e1)](new Map()),this['_cursorInfo$']['complete'](),this[_0x33edef(0x29d)]['next']([]),this[_0x33edef(0x29d)][_0x33edef(0x1a0)]();}[_0x524f26(0x1c5)](){const _0x2166dc=_0x524f26;this[_0x2166dc(0x260)]||(this[_0x2166dc(0x260)]=!0x0,this[_0x2166dc(0x295)][_0x2166dc(0x1e5)][_0x2166dc(0xee)](_0x1416b7(this[_0x2166dc(0x178)]))[_0x2166dc(0x17a)](_0x56e5d5=>{const _0x5b6d48=_0x2166dc;_0x56e5d5===_0x5e5ecf['ONLINE']?this[_0x5b6d48(0x138)]():this['_toggleOffline']();}),this[_0x2166dc(0x295)]['event$'][_0x2166dc(0xee)](_0x1416b7(this[_0x2166dc(0x178)]))['subscribe'](_0x21302b=>{const _0x200a67=_0x2166dc,_0x2f3044=_0x21302b['eventID'];_0x2f3044===_0x476dfc[_0x200a67(0x1e7)]&&this[_0x200a67(0x23b)](_0x21302b),_0x2f3044===_0x476dfc[_0x200a67(0x23f)]&&this['_onCursorDelete'](_0x21302b);}),this[_0x2166dc(0x207)](this['_commandService'][_0x2166dc(0x1a4)](_0x442f81=>{const _0x4ac683=_0x2166dc,_0x1d9027=_0x442f81[_0x4ac683(0x27c)];_0x1d9027!=null&&this[_0x4ac683(0x202)]&&_0x442f81['id']===_0x389eb4['id']&&_0x1d9027[_0x4ac683(0x2d4)]===this['unitID']&&_0x1d9027[_0x4ac683(0x2ca)]===!0x1&&_0x1d9027['ranges'][_0x4ac683(0x28e)]>0x0&&this[_0x4ac683(0x290)](_0x1d9027[_0x4ac683(0x24a)]);})),this[_0x2166dc(0x2e7)][_0x2166dc(0x16e)]['pipe'](_0x1416b7(this[_0x2166dc(0x178)]))[_0x2166dc(0x17a)](_0x367e8e=>{const _0x21d8ed=_0x2166dc;if((_0x367e8e==null?void 0x0:_0x367e8e[_0x21d8ed(0x2ad)])!==this['unitID'])return;const _0x598b3b={'eventID':_0x476dfc[_0x21d8ed(0x1e7)],'data':_0x367e8e};this[_0x21d8ed(0x23b)](_0x598b3b);}),this[_0x2166dc(0x207)](this[_0x2166dc(0x2a4)][_0x2166dc(0x1a4)](_0x5d5752=>{const _0x39f049=_0x2166dc;if(_0x5d5752[_0x39f049(0x27c)]==null)return;const _0x3697ae=_0x5d5752[_0x39f049(0x27c)];if(_0x5d5752['id']!==_0x4e5495['id']||_0x3697ae[_0x39f049(0x2d4)]!==this[_0x39f049(0x2ad)])return;const _0x3bebca={'id':_0x39f049(0x26d),'params':_0x3697ae},_0x1af2ea=this[_0x39f049(0x201)];for(const [_0x16e673,_0x17a93e]of _0x1af2ea){const _0x49bda2={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x39f049(0x2ad)],'actions':null,'textRanges':_0x17a93e[_0x39f049(0x24a)]}},_0x3c1a33=this[_0x39f049(0x2b4)]['transformMutation'](_0x3bebca,_0x49bda2,!0x1);if(_0x3a0a27(_0x3c1a33))throw _0x3c1a33['error'];_0x1af2ea[_0x39f049(0x231)](_0x16e673,{..._0x17a93e,'ranges':_0x3c1a33[_0x39f049(0x214)][_0x39f049(0x27c)]['textRanges']});}queueMicrotask(()=>{const _0x37df85=_0x39f049;this['_cursorInfo$'][_0x37df85(0x1e1)](_0x1af2ea);});})));}[_0x524f26(0x23b)](_0x396db8){const _0x417ff0=_0x524f26;var _0x439692,_0x259dcb;const {memberID:_0x31ca0f,selection:_0x271cda}=_0x396db8[_0x417ff0(0x1ec)],_0x1535f7=Oi(_0x271cda),_0x4195b6=(_0x259dcb=(_0x439692=this['_memberService'][_0x417ff0(0x197)](this[_0x417ff0(0x2ad)],_0x31ca0f))==null?void 0x0:_0x439692[_0x417ff0(0x190)])!=null?_0x259dcb:_0x417ff0(0x167),_0x2b68e4={'color':this['_colorAssignService'][_0x417ff0(0x2a3)](_0x31ca0f),'name':_0x4195b6,'ranges':_0x1535f7},_0x586107=this['cursorInfo'];_0x586107[_0x417ff0(0x231)](_0x31ca0f,_0x2b68e4),this[_0x417ff0(0x22d)]['next'](_0x586107);}['_onCursorDelete'](_0x10e31d){const _0x282334=_0x524f26,{memberID:_0x132b79}=_0x10e31d[_0x282334(0x1ec)],_0x355834=this[_0x282334(0x201)];_0x355834[_0x282334(0xed)](_0x132b79),this['_cursorInfo$'][_0x282334(0x1e1)](_0x355834);}[_0x524f26(0x138)](){const _0x51cc63=_0x524f26;var _0x4d9337;if(this[_0x51cc63(0x202)]=!0x0,((_0x4d9337=this['_univerInstanceService'][_0x51cc63(0x221)]())==null?void 0x0:_0x4d9337[_0x51cc63(0xf0)]())!==this[_0x51cc63(0x2ad)])return;const _0xa706cb=this['_injector'][_0x51cc63(0x1fd)](_0x5bd793)[_0x51cc63(0x1c7)]();Array[_0x51cc63(0x106)](_0xa706cb)&&_0xa706cb[_0x51cc63(0x28e)]>0x0&&this['_updateLocalCursor'](_0xa706cb);}[_0x524f26(0x1da)](){const _0x40dc20=_0x524f26;this[_0x40dc20(0x202)]=!0x1;}};Ue=Ti([P(0x2,_0x50e226(_0x56c26b)),P(0x3,_0x50e226(He)),P(0x4,_0x50e226(_0x18c408)),P(0x5,_0x50e226(Fe)),P(0x6,_0x4224cb),P(0x7,_0x51fb22),P(0x8,_0x2817bc)],Ue);var Ni=Object[_0x524f26(0x233)],Ui=(_0x4c0d9c,_0x1585a0,_0x518703,_0x4bd07a)=>{const _0x437b4f=_0x524f26;for(var _0x206037=_0x4bd07a>0x1?void 0x0:_0x4bd07a?Ni(_0x1585a0,_0x518703):_0x1585a0,_0x33867a=_0x4c0d9c[_0x437b4f(0x28e)]-0x1,_0x5aa702;_0x33867a>=0x0;_0x33867a--)(_0x5aa702=_0x4c0d9c[_0x33867a])&&(_0x206037=_0x5aa702(_0x206037)||_0x206037);return _0x206037;},x=(_0x3d9d4f,_0x397d10)=>(_0x1e7109,_0x1fc501)=>_0x397d10(_0x1e7109,_0x1fc501,_0x3d9d4f);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x3e173c=[],_0x45efc0=!0x1;return _0xce735d=>{const _0x59a9a5=_0x2688;_0x3e173c[_0x59a9a5(0x115)](_0xce735d),_0x45efc0||(_0x45efc0=!0x0,setTimeout(()=>{const _0x2522ae=_0x59a9a5;_0x3e173c[_0x2522ae(0x19a)](_0x5696de=>_0x5696de()),_0x3e173c=[],_0x45efc0=!0x1;}));};};let Me=class extends _0x390349{constructor(_0x1d3d3c,_0x49bf8a,_0x37600c,_0x169f60,_0x4889a0,_0xcb24f7,_0x15147f,_0x2ada09){const _0x48ad2d=_0x524f26;super(),_(this,_0x48ad2d(0x202),!0x1),_(this,_0x48ad2d(0x260),!0x1),_(this,_0x48ad2d(0x22d),new _0x2f3fd2(new Map())),_(this,_0x48ad2d(0x220),this[_0x48ad2d(0x22d)]['asObservable']()),_(this,_0x48ad2d(0x29d),new _0x2f3fd2([])),_(this,_0x48ad2d(0x23c),this[_0x48ad2d(0x29d)]['pipe'](_0x2d1c69(Mi))),_(this,_0x48ad2d(0x290),_0x3471f3((_0x444701,_0x462ac7)=>{const _0x51dfad=_0x48ad2d,_0x5125d4={'eventID':_0x476dfc['UPDATE_CURSOR'],'data':{'unitID':this[_0x51dfad(0x2ad)],'memberID':this[_0x51dfad(0x295)][_0x51dfad(0x157)](),'selection':_0x4ee99d(_0x444701,_0x462ac7[_0x51dfad(0x272)])}};this[_0x51dfad(0x295)][_0x51dfad(0x252)](_0x5125d4,this[_0x51dfad(0x2ad)]);},Li)),(this['unitID']=_0x1d3d3c,this[_0x48ad2d(0x295)]=_0x49bf8a,this[_0x48ad2d(0x17e)]=_0x37600c,this[_0x48ad2d(0x21d)]=_0x169f60,this[_0x48ad2d(0x246)]=_0x4889a0,this[_0x48ad2d(0x1aa)]=_0xcb24f7,this['_commandService']=_0x15147f,this[_0x48ad2d(0x12b)]=_0x2ada09);}get[_0x524f26(0x201)](){const _0x4aa01a=_0x524f26;return this[_0x4aa01a(0x22d)]['getValue']();}get[_0x524f26(0x10e)](){const _0x5202ec=_0x524f26;return this[_0x5202ec(0x29d)][_0x5202ec(0x1b8)]();}[_0x524f26(0x1e9)](){const _0x359fc9=_0x524f26;super[_0x359fc9(0x1e9)](),this[_0x359fc9(0x22d)][_0x359fc9(0x1e1)](new Map()),this[_0x359fc9(0x22d)][_0x359fc9(0x1a0)](),this[_0x359fc9(0x29d)][_0x359fc9(0x1e1)]([]),this['_roomMembers$'][_0x359fc9(0x1a0)]();}['init'](){const _0x4f92f0=_0x524f26;this[_0x4f92f0(0x260)]||(this['_init']=!0x0,this['_session'][_0x4f92f0(0x1e5)][_0x4f92f0(0xee)](_0x1416b7(this[_0x4f92f0(0x178)]))[_0x4f92f0(0x17a)](_0x3e70fe=>{const _0x46aaae=_0x4f92f0;_0x3e70fe===_0x5e5ecf[_0x46aaae(0x18e)]?this[_0x46aaae(0x138)]():this['_toggleOffline']();}),this['_session'][_0x4f92f0(0x2bd)][_0x4f92f0(0xee)](_0x1416b7(this['dispose$']))[_0x4f92f0(0x17a)](_0x53eff6=>{const _0x306cc9=_0x4f92f0,_0x3d4b4a=_0x53eff6['eventID'];_0x3d4b4a===_0x476dfc['UPDATE_CURSOR']&&this[_0x306cc9(0x23b)](_0x53eff6),_0x3d4b4a===_0x476dfc[_0x306cc9(0x23f)]&&this[_0x306cc9(0x1bf)](_0x53eff6);}),this[_0x4f92f0(0x251)](),this[_0x4f92f0(0x207)](this[_0x4f92f0(0x2a4)][_0x4f92f0(0x1a4)](_0x49cf7a=>{const _0x4475e5=_0x4f92f0;if(this[_0x4475e5(0x202)]&&_0x49cf7a['id']===_0x5699e8['id']&&_0x49cf7a[_0x4475e5(0x27c)][_0x4475e5(0x2d4)]===this[_0x4475e5(0x2ad)]){const _0x48a1de=_0x49cf7a['params'];this[_0x4475e5(0x290)](_0x48a1de['subUnitId'],_0x48a1de[_0x4475e5(0x21e)][0x0]);}})));}['_onCursorUpdate'](_0x57c114){const _0x1c2f42=_0x524f26;var _0x3e4c38,_0x3895bb;const {memberID:_0x532909,selection:_0x2768ff}=_0x57c114[_0x1c2f42(0x1ec)],{sheetName:_0x84e359,range:_0x32fff5}=_0x3e5e17(_0x2768ff),_0x4574ed={'name':(_0x3895bb=(_0x3e4c38=this[_0x1c2f42(0x246)][_0x1c2f42(0x197)](this[_0x1c2f42(0x2ad)],_0x532909))==null?void 0x0:_0x3e4c38[_0x1c2f42(0x190)])!=null?_0x3895bb:_0x1c2f42(0x167),'range':this['_getMergeRange'](_0x84e359,_0x32fff5),'sheetID':_0x84e359,'color':this[_0x1c2f42(0x21d)]['assignAColorForMemberID'](_0x532909),'selection':_0x2768ff},_0x8724f4=this[_0x1c2f42(0x201)];_0x8724f4[_0x1c2f42(0x231)](_0x532909,_0x4574ed),this[_0x1c2f42(0x22d)][_0x1c2f42(0x1e1)](_0x8724f4);}[_0x524f26(0x1bf)](_0x50c378){const _0x742f4a=_0x524f26,{memberID:_0x20cd5b}=_0x50c378[_0x742f4a(0x1ec)],_0x5b5ef6=this[_0x742f4a(0x201)];_0x5b5ef6[_0x742f4a(0xed)](_0x20cd5b),this['_cursorInfo$']['next'](_0x5b5ef6);}[_0x524f26(0x24b)](_0x59f443,_0x170d5e){const _0x154d20=_0x524f26;var _0x2a6936,_0x33e223;const _0x81293e=(_0x33e223=(_0x2a6936=this[_0x154d20(0x1aa)][_0x154d20(0x283)](this[_0x154d20(0x2ad)]))==null?void 0x0:_0x2a6936[_0x154d20(0x14e)](_0x59f443))==null?void 0x0:_0x33e223[_0x154d20(0x192)]();return(_0x81293e==null?void 0x0:_0x81293e[_0x154d20(0x185)](_0x4d4bd9=>_0x145291[_0x154d20(0x1a1)](_0x4d4bd9,_0x170d5e)))||_0x170d5e;}[_0x524f26(0x251)](){const _0x3b0be6=_0x524f26,_0x51b391=new _0x430434(),_0x3d70ac=Pi(),_0x3aa89d=()=>{const _0xdbaed8=_0x2688;_0x51b391[_0xdbaed8(0x1e9)]();const _0x4fc3b1=(_0x46a822,_0x3a7efe,_0x522e9e,_0x3dfe11)=>{const _0x4697f6=_0xdbaed8;let _0x52c9d5=[];switch(_0x46a822['id']){case _0x5ca832[_0x4697f6(0x1d9)]:{_0x52c9d5=_0x297828(_0x46a822,_0x3dfe11);break;}case _0x5ca832['DeleteRangeMoveUpCommandId']:{_0x52c9d5=_0x258d6c(_0x46a822,_0x3dfe11);break;}case _0x5ca832[_0x4697f6(0x29e)]:{_0x52c9d5=_0x32e739(_0x46a822,_0x3dfe11);break;}case _0x5ca832[_0x4697f6(0x1eb)]:{_0x52c9d5=_0x1b33ea(_0x46a822,_0x3dfe11);break;}case _0x5ca832[_0x4697f6(0x10d)]:{_0x52c9d5=_0x1665b6(_0x46a822,_0x3dfe11);break;}case _0x5ca832['InsertRowCommandId']:{_0x52c9d5=_0x58021b(_0x46a822,_0x3dfe11);break;}case _0x5ca832[_0x4697f6(0x2d7)]:{_0x52c9d5=_0x2fb68b(_0x46a822,_0x3dfe11);break;}case _0x5ca832[_0x4697f6(0x168)]:{_0x52c9d5=_0x457b0d(_0x46a822,_0x3dfe11);break;}case _0x5ca832[_0x4697f6(0x1dd)]:{_0x52c9d5=_0x1dc797(_0x46a822,_0x3dfe11);break;}}const _0x4968f2=_0x3dffdc(_0x52c9d5,_0x3dfe11),_0x9dd20b=this[_0x4697f6(0x201)]['get'](_0x3a7efe);if(_0x9dd20b&&_0x4968f2){const _0x5ed7d0={..._0x9dd20b,'range':_0x4968f2};this[_0x4697f6(0x201)][_0x4697f6(0x231)](_0x3a7efe,_0x5ed7d0),_0x3d70ac(()=>{const _0x325b7c=_0x4697f6,_0x47d976=this[_0x325b7c(0x12b)]['registerRefRange'](_0x4968f2,_0x1204fb=>(_0x47d976[_0x325b7c(0x1e9)](),_0x4fc3b1(_0x1204fb,_0x3a7efe,_0x522e9e,_0x4968f2)));_0x51b391[_0x325b7c(0x222)](_0x47d976);});}return{'redos':[],'undos':[]};};this[_0xdbaed8(0x201)][_0xdbaed8(0x19a)]((_0x7565bb,_0x171a0c)=>{const _0x543514=_0xdbaed8,{range:_0x303e26,sheetID:_0x33d7e8}=_0x7565bb,_0x3d38d1=this[_0x543514(0x12b)][_0x543514(0x2a9)](_0x303e26,_0x1dc3cd=>(_0x3d38d1['dispose'](),_0x4fc3b1(_0x1dc3cd,_0x171a0c,_0x33d7e8,_0x303e26)));_0x51b391[_0x543514(0x222)](_0x3d38d1);});};this['disposeWithMe'](_0x576d92(this['_cursorInfo$'][_0x3b0be6(0x17a)](()=>{_0x3aa89d();})));}[_0x524f26(0x138)](){const _0x5b8513=_0x524f26;var _0x2cc283,_0x58edaa;if(this['_online']=!0x0,((_0x2cc283=this[_0x5b8513(0x1aa)][_0x5b8513(0x221)]())==null?void 0x0:_0x2cc283[_0x5b8513(0xf0)]())!==this[_0x5b8513(0x2ad)])return;const _0x120fed=(_0x58edaa=this[_0x5b8513(0x17e)]['get'](_0x4f1372)[_0x5b8513(0x111)]())==null?void 0x0:_0x58edaa[0x0],_0x48b818=this[_0x5b8513(0x1aa)][_0x5b8513(0x2d8)](_0x12cd48[_0x5b8513(0x1a2)])['getActiveSheet']();_0x120fed&&_0x48b818&&this[_0x5b8513(0x290)](_0x48b818[_0x5b8513(0x274)](),_0x120fed);}[_0x524f26(0x1da)](){const _0x2ab336=_0x524f26;this[_0x2ab336(0x202)]=!0x1;}};Me=Ui([x(0x2,_0x50e226(_0x56c26b)),x(0x3,_0x50e226(He)),x(0x4,_0x50e226(_0x18c408)),x(0x5,_0x51fb22),x(0x6,_0x2817bc),x(0x7,_0x50e226(_0x250711))],Me);var wi=Object[_0x524f26(0x233)],Ai=(_0x143384,_0x9a0852,_0x5b6c78,_0xd91495)=>{const _0x1c675f=_0x524f26;for(var _0x1beef4=_0xd91495>0x1?void 0x0:_0xd91495?wi(_0x9a0852,_0x5b6c78):_0x9a0852,_0x12760f=_0x143384[_0x1c675f(0x28e)]-0x1,_0xb72f1e;_0x12760f>=0x0;_0x12760f--)(_0xb72f1e=_0x143384[_0x12760f])&&(_0x1beef4=_0xb72f1e(_0x1beef4)||_0x1beef4);return _0x1beef4;},me=(_0x41aa11,_0x4d169f)=>(_0x5f774f,_0xdd05d5)=>_0x4d169f(_0x5f774f,_0xdd05d5,_0x41aa11);let F=class extends _0x390349{constructor(_0x520250,_0x187d8f,_0x2d3b83){const _0x4fcf46=_0x524f26;super(),_(this,_0x4fcf46(0x2d2),new Map()),_(this,_0x4fcf46(0x1d5),new _0x24e103()),(this['_univerInstanceService']=_0x520250,this[_0x4fcf46(0x17e)]=_0x187d8f,this[_0x4fcf46(0x27d)]=_0x2d3b83,this[_0x4fcf46(0x260)]());}[_0x524f26(0x1e9)](){const _0x23309c=_0x524f26;super[_0x23309c(0x1e9)](),this[_0x23309c(0x1d5)]['complete'](),this[_0x23309c(0x2d2)][_0x23309c(0x19a)](_0x5a32ca=>_0x5a32ca[_0x23309c(0x1e9)]());}[_0x524f26(0xfb)](_0x187abe){const _0x42c339=_0x524f26;return this[_0x42c339(0x2d2)][_0x42c339(0x103)](_0x187abe)?this[_0x42c339(0x2d2)][_0x42c339(0x1fd)](_0x187abe)['cursorInfo$']:this[_0x42c339(0x1d5)][_0x42c339(0xee)](_0x4a29be(_0x5b2f8b=>_0x5b2f8b[_0x42c339(0x2ad)]===_0x187abe),_0x2f1b3a(_0x408c7d=>_0x408c7d[_0x42c339(0x220)]));}[_0x524f26(0x260)](){const _0x1bc8d3=_0x524f26;this[_0x1bc8d3(0x1aa)][_0x1bc8d3(0x21a)](_0x12cd48[_0x1bc8d3(0x1a2)])[_0x1bc8d3(0xee)](_0x1416b7(this[_0x1bc8d3(0x178)]))[_0x1bc8d3(0x17a)](async _0x3ef283=>{const _0x4d575c=_0x1bc8d3,_0x53a5db=_0x3ef283[_0x4d575c(0xf0)](),_0x3d2ddb=await this[_0x4d575c(0x105)](_0x53a5db);this[_0x4d575c(0x1d5)][_0x4d575c(0x1e1)](_0x3d2ddb),this['_entities'][_0x4d575c(0x231)](_0x53a5db,_0x3d2ddb);}),this[_0x1bc8d3(0x1aa)][_0x1bc8d3(0x21a)](_0x12cd48[_0x1bc8d3(0x277)])[_0x1bc8d3(0xee)](_0x1416b7(this[_0x1bc8d3(0x178)]))['pipe'](_0x4a29be(_0x3b3915=>!_0x3b3915['getUnitId']()[_0x1bc8d3(0x15a)]('__')))[_0x1bc8d3(0x17a)](async _0x19c8a1=>{const _0x502012=_0x1bc8d3,_0x593a25=_0x19c8a1[_0x502012(0xf0)](),_0x41987c=await this[_0x502012(0x1c1)](_0x593a25);this[_0x502012(0x1d5)][_0x502012(0x1e1)](_0x41987c),this[_0x502012(0x2d2)]['set'](_0x593a25,_0x41987c);}),_0x3763a1(this[_0x1bc8d3(0x1aa)][_0x1bc8d3(0x2e4)](_0x12cd48[_0x1bc8d3(0x277)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x12cd48[_0x1bc8d3(0x1a2)]))['pipe'](_0x1416b7(this[_0x1bc8d3(0x178)]))['subscribe'](_0x101bb6=>{const _0x5d4bf8=_0x1bc8d3,_0x4301cb=_0x101bb6[_0x5d4bf8(0xf0)](),_0x3c9c51=this[_0x5d4bf8(0x2d2)][_0x5d4bf8(0x1fd)](_0x4301cb);_0x3c9c51&&(_0x3c9c51[_0x5d4bf8(0x1e9)](),this['_entities'][_0x5d4bf8(0xed)](_0x4301cb));});}async[_0x524f26(0x105)](_0x36e77a){const _0x585c0b=_0x524f26,_0x4c1ad5=await this[_0x585c0b(0x27d)][_0x585c0b(0x206)](_0x36e77a),_0x41bfdd=this['_injector']['createInstance'](Me,_0x36e77a,_0x4c1ad5);return _0x41bfdd[_0x585c0b(0x1c5)](),_0x41bfdd;}async[_0x524f26(0x1c1)](_0x253817){const _0x4ce2e4=_0x524f26,_0x340f7d=await this['_collabSessionService'][_0x4ce2e4(0x206)](_0x253817),_0x405246=this[_0x4ce2e4(0x17e)]['createInstance'](Ue,_0x253817,_0x340f7d);return _0x405246['init'](),_0x405246;}};F=Ai([me(0x0,_0x51fb22),me(0x1,_0x50e226(_0x56c26b)),me(0x2,_0x50e226(_0x162056))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x4800bc,_0xa901b3){const _0x37e6f8=_0x524f26;let {radius:_0x259d7a,width:_0x2f0352,height:_0x4f4ef6}=_0xa901b3;_0x259d7a=_0x259d7a!=null?_0x259d7a:0x0,_0x2f0352=_0x2f0352!=null?_0x2f0352:0x1e,_0x4f4ef6=_0x4f4ef6!=null?_0x4f4ef6:0x1e;let _0x9628a7=0x0,_0x27e799=0x0,_0x5cac5d=0x0;_0x9628a7=_0x27e799=_0x5cac5d=Math['min'](_0x259d7a,_0x2f0352/0x2,_0x4f4ef6/0x2),_0x4800bc[_0x37e6f8(0x1d2)](),_0x4800bc[_0x37e6f8(0x20d)](_0x9628a7,0x0),_0x4800bc[_0x37e6f8(0x141)](_0x2f0352-_0x27e799,0x0),_0x4800bc['arc'](_0x2f0352-_0x27e799,_0x27e799,_0x27e799,Math['PI']*0x3/0x2,0x0,!0x1),_0x4800bc[_0x37e6f8(0x141)](_0x2f0352,_0x4f4ef6-_0x5cac5d),_0x4800bc['arc'](_0x2f0352-_0x5cac5d,_0x4f4ef6-_0x5cac5d,_0x5cac5d,0x0,Math['PI']/0x2,!0x1),_0x4800bc[_0x37e6f8(0x141)](0x0,_0x4f4ef6),_0x4800bc[_0x37e6f8(0x141)](0x0,_0x9628a7),_0x4800bc['arc'](_0x9628a7,_0x9628a7,_0x9628a7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4800bc['closePath'](),_0xa901b3[_0x37e6f8(0x2b8)]&&(_0x4800bc['save'](),_0x4800bc[_0x37e6f8(0x2d1)]=_0xa901b3['fill'],_0xa901b3['fillRule']===_0x37e6f8(0x169)?_0x4800bc['fill'](_0x37e6f8(0x169)):_0x4800bc[_0x37e6f8(0x2b8)](),_0x4800bc[_0x37e6f8(0xf1)]());}class ue extends _0x1163ff{constructor(_0x329dd3,_0x16153d){const _0x22cf54=_0x524f26;super(_0x329dd3,_0x16153d),_(this,_0x22cf54(0xf6)),_(this,_0x22cf54(0x2f0)),(this[_0x22cf54(0xf6)]=_0x16153d==null?void 0x0:_0x16153d['color'],this[_0x22cf54(0x2f0)]=_0x16153d==null?void 0x0:_0x16153d[_0x22cf54(0x2f0)]);}static['drawWith'](_0x228b0f,_0x1aeab2){const _0x4ff881=_0x524f26,{text:_0x58d8f6,color:_0x217a30}=_0x1aeab2;_0x228b0f[_0x4ff881(0x104)](),_0x228b0f[_0x4ff881(0x226)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x565f96=_0x228b0f[_0x4ff881(0x126)](_0x58d8f6)[_0x4ff881(0x2d0)],_0x248b53=Math[_0x4ff881(0x13c)](_0x565f96+0x2*Ie,Qe);$i(_0x228b0f,{'height':J,'radius':0x4,'width':_0x248b53,'fill':_0x217a30}),_0x228b0f['fillStyle']='#FFF';const _0xda50fe=Ie,_0x271249=J-yi,_0x2e8eac=Qe-0x2*Ie;if(_0x565f96>_0x2e8eac){let _0x395e1a='',_0x4aaa19=0x0;for(const _0x4a8581 of _0x58d8f6){const _0x4753ae=_0x228b0f[_0x4ff881(0x126)](_0x4a8581)[_0x4ff881(0x2d0)];if(_0x4aaa19+_0x4753ae<=_0x2e8eac-_0x228b0f[_0x4ff881(0x126)](_0x4ff881(0x298))[_0x4ff881(0x2d0)])_0x395e1a+=_0x4a8581,_0x4aaa19+=_0x4753ae;else{_0x395e1a+=_0x4ff881(0x298);break;}}_0x228b0f[_0x4ff881(0x1bd)](_0x395e1a,_0xda50fe,_0x271249);}else _0x228b0f[_0x4ff881(0x1bd)](_0x58d8f6,_0xda50fe,_0x271249);_0x228b0f[_0x4ff881(0xf1)]();}[_0x524f26(0x2f4)](_0x463806){ue['drawWith'](_0x463806,this);}}const ve=_0x524f26(0x2df),xi=_0x524f26(0x248),Bi=_0x524f26(0x242),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x2963d6,_0x4f9129,_0x1c5a30,_0x2af7fd){const _0x1be5c5=_0x524f26;_(this,_0x1be5c5(0x113),[]),_(this,'_anchor',null),_(this,_0x1be5c5(0x110),null),_(this,_0x1be5c5(0x11b),null),_(this,_0x1be5c5(0x160),null),_(this,_0x1be5c5(0x256),null),(this['_cursor']=_0x2963d6,this[_0x1be5c5(0x213)]=_0x4f9129,this[_0x1be5c5(0x102)]=_0x1c5a30,this[_0x1be5c5(0x1f5)]=_0x2af7fd,this['_render']());}set[_0x524f26(0x209)](_0x5b4f59){const _0x17d048=_0x524f26;_0x5b4f59?(this[_0x17d048(0x11b)]&&this['_anchorDot'][_0x17d048(0x25a)](),this[_0x17d048(0x110)]&&this['_textBubble'][_0x17d048(0x2c7)]()):(this[_0x17d048(0x11b)]&&this[_0x17d048(0x11b)][_0x17d048(0x2c7)](),this[_0x17d048(0x110)]&&this['_textBubble'][_0x17d048(0x25a)]());}[_0x524f26(0x1e9)](){const _0x51dfa8=_0x524f26;for(const _0x5f15c2 of this[_0x51dfa8(0x113)])_0x5f15c2[_0x51dfa8(0x1e9)]();this[_0x51dfa8(0x110)]&&this[_0x51dfa8(0x110)]['dispose'](),this[_0x51dfa8(0x11b)]&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x51dfa8(0x281)]['dispose'](),this[_0x51dfa8(0x256)]&&this[_0x51dfa8(0x256)]();}[_0x524f26(0x17d)](){const _0x57e89c=_0x524f26;var _0x50422c;const {_docSkeleton:_0x2d53af,_document:_0x23879e}=this,{color:_0x55c30c,name:_0x168d8c,ranges:_0x2e0923}=this[_0x57e89c(0x1e4)],_0xc2166e=_0x23879e[_0x57e89c(0x12e)](),{docsLeft:_0x58a7ca,docsTop:_0x6e430e}=_0xc2166e,_0x425853=new _0x5cf627(_0xc2166e,_0x2d53af);for(const {startOffset:_0x240cc5,endOffset:_0x5149ca,rangeType:_0x2e9d05,segmentId:_0x50dc03,segmentPage:_0x42435b,collapsed:_0x47ef36,isActive:_0x1af204}of _0x2e0923){const _0x254b2c=_0x2d53af['findNodePositionByCharIndex'](_0x240cc5,!0x0,_0x50dc03,_0x42435b);let _0x495f43=_0x2d53af[_0x57e89c(0x1a3)](_0x5149ca,!0x0,_0x50dc03,_0x42435b);if(_0x495f43==null&&(_0x495f43=_0x2d53af[_0x57e89c(0x1a3)](_0x5149ca-0x1,!0x1,_0x50dc03,_0x42435b)),_0x1af204){const {contentBoxPointGroup:_0xe0f4f3}=_0x425853[_0x57e89c(0x2d3)](_0x495f43,_0x495f43);if(_0xe0f4f3[_0x57e89c(0x28e)]===0x0)continue;this['_drawAnchor'](_0x55c30c,_0xe0f4f3,_0x58a7ca,_0x6e430e,_0x168d8c),this[_0x57e89c(0x256)]=this['_handleHover']();}if(_0x254b2c&&_0x495f43){if(_0x2e9d05===_0x3a8b17[_0x57e89c(0x28c)]){const _0x55514e=new _0xf2f731(_0xc2166e,_0x2d53af),{pointGroup:_0x3659eb}=(_0x50422c=_0x55514e[_0x57e89c(0x2d3)](_0x254b2c,_0x495f43))!=null?_0x50422c:{};if(_0x3659eb==null||_0x3659eb[_0x57e89c(0x28e)]===0x0)continue;this['_drawRectRange'](_0x55c30c,_0x3659eb,_0x58a7ca,_0x6e430e);}else{if(!_0x47ef36){const {borderBoxPointGroup:_0x32e9cd}=_0x425853['getRangePointData'](_0x254b2c,_0x495f43);if(_0x32e9cd[_0x57e89c(0x28e)]===0x0)continue;this[_0x57e89c(0x29a)](_0x55c30c,_0x32e9cd,_0x58a7ca,_0x6e430e);}}}}}[_0x524f26(0x1f9)](_0x1d03ea,_0x5da751,_0x4336d6,_0x227bfc,_0x99b7b5){const _0x2868b1=_0x524f26,_0x5af35f=this[_0x2868b1(0x200)](_0x5da751),{left:_0x524bb6,top:_0x4fb61a,height:_0x15b885}=_0x5af35f,_0x3845ec=this[_0x2868b1(0x2c5)](),_0x1aee8d=Hi/_0x3845ec,_0x303d9d=new _0x2fb052(ve+_0x5232f5(K),{'left':_0x524bb6+_0x4336d6-_0x1aee8d,'top':_0x4fb61a+_0x227bfc,'height':_0x15b885,'width':ki,'fill':_0x1d03ea||_0xd92724(_0x4cbd43['black'],0x0),'strokeWidth':_0x1aee8d,'stroke':Fi,'evented':!0x0});this[_0x2868b1(0x281)]=_0x303d9d,this[_0x2868b1(0x213)][_0x2868b1(0x170)](_0x303d9d,_0x1f9e4e);const _0x45dd2d=new _0x2fb052(ve+_0x5232f5(K),{'left':_0x524bb6+_0x4336d6-_0x1aee8d,'top':_0x4fb61a+_0x227bfc-ge/0x2,'height':ge,'width':ge,'fill':_0x1d03ea||_0xd92724(_0x4cbd43[_0x2868b1(0x1f0)],0x0),'strokeWidth':0x0,'stroke':_0x1d03ea||_0xd92724(_0x4cbd43['black'],0x0),'evented':!0x1});this[_0x2868b1(0x11b)]=_0x45dd2d,this[_0x2868b1(0x213)]['addObject'](_0x45dd2d,_0x1f9e4e);const _0x35c74b=new ue(ve+_0x5232f5(K),{'left':_0x524bb6+_0x4336d6-_0x1aee8d,'top':_0x4fb61a+_0x227bfc-J,'text':_0x99b7b5,'color':_0x1d03ea});this[_0x2868b1(0x110)]=_0x35c74b,this[_0x2868b1(0x213)][_0x2868b1(0x170)](_0x35c74b,_0x1f9e4e),this[_0x2868b1(0x209)]=!0x1;}[_0x524f26(0x2b3)](){const _0x2f5a04=_0x524f26,_0x2ef262=this['_anchor'][_0x2f5a04(0x1bc)][_0x2f5a04(0x19f)](()=>{this['_hover']=!0x0;}),_0x18c592=this[_0x2f5a04(0x281)]['onPointerLeave$'][_0x2f5a04(0x19f)](()=>{const _0x37c190=_0x2f5a04;this['_hideTimer']&&clearTimeout(this[_0x37c190(0x160)]),this[_0x37c190(0x160)]=setTimeout(()=>{const _0x1a1678=_0x37c190;this[_0x1a1678(0x209)]=!0x1;},0x7d0);});return()=>{const _0x496e04=_0x2f5a04;_0x2ef262[_0x496e04(0x2d6)](),_0x18c592[_0x496e04(0x2d6)]();};}[_0x524f26(0x29a)](_0x194e21,_0x4e54ef,_0x3e575d,_0x2aa623){const _0x3446f0=_0x524f26,_0x1af9c0=new _0x8ed489(_0x194e21)['setAlpha'](0.2)[_0x3446f0(0x16c)](),_0x39a3b7=new _0x4a6e35(xi+_0x5232f5(K),{'pointsGroup':_0x4e54ef,'fill':_0x1af9c0||_0xd92724(_0x4cbd43[_0x3446f0(0x1f0)],0.2),'left':_0x3e575d,'top':_0x2aa623,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3446f0(0x113)][_0x3446f0(0x115)](_0x39a3b7),this[_0x3446f0(0x213)][_0x3446f0(0x170)](_0x39a3b7,_0x1f9e4e);}[_0x524f26(0x2cb)](_0x147e5a,_0x10f315,_0x1b5983,_0x12c5b7){const _0x5f2a0e=_0x524f26,_0x19883f=new _0x8ed489(_0x147e5a)[_0x5f2a0e(0x15f)](0.2)[_0x5f2a0e(0x16c)](),_0x3973dc=new _0x4a6e35(Bi+_0x5232f5(K),{'pointsGroup':_0x10f315,'fill':_0x19883f||_0xd92724(_0x4cbd43['black'],0.2),'left':_0x1b5983,'top':_0x12c5b7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5f2a0e(0x113)]['push'](_0x3973dc),this[_0x5f2a0e(0x213)][_0x5f2a0e(0x170)](_0x3973dc,_0x1f9e4e);}[_0x524f26(0x200)](_0x275d73){const _0x529787=_0x275d73[0x0],_0x4bb456=_0x529787[0x0],_0x312f80=_0x529787[0x2],{x:_0x33e390,y:_0x48898d}=_0x4bb456,{x:_0x3e3cd7,y:_0x26993c}=_0x312f80;return{'left':_0x33e390,'top':_0x48898d,'width':_0x3e3cd7-_0x33e390,'height':_0x26993c-_0x48898d};}['_getScale'](){const _0x40487e=_0x524f26,{scaleX:_0x2491de,scaleY:_0x2f7c20}=this[_0x40487e(0x213)][_0x40487e(0x147)]();return Math[_0x40487e(0x174)](_0x2491de,_0x2f7c20);}}var Yi=Object[_0x524f26(0x233)],ji=(_0x11f76f,_0x31a0c2,_0x4a389c,_0x4d80fc)=>{for(var _0x350862=_0x4d80fc>0x1?void 0x0:_0x4d80fc?Yi(_0x31a0c2,_0x4a389c):_0x31a0c2,_0x57ed98=_0x11f76f['length']-0x1,_0x559fcd;_0x57ed98>=0x0;_0x57ed98--)(_0x559fcd=_0x11f76f[_0x57ed98])&&(_0x350862=_0x559fcd(_0x350862)||_0x350862);return _0x350862;},ee=(_0x3aa46e,_0x1b050b)=>(_0x32f6a1,_0x51f67e)=>_0x1b050b(_0x32f6a1,_0x51f67e,_0x3aa46e);let Le=class extends _0x390349{constructor(_0x34bbbd,_0x3b10c3,_0x395b05,_0x1d72dd,_0x27e9c7){const _0x19092c=_0x524f26;super(),_(this,_0x19092c(0x150),[]),_(this,_0x19092c(0x186),[]),(this['_context']=_0x34bbbd,this['_docSkeletonManagerService']=_0x3b10c3,this[_0x19092c(0x269)]=_0x395b05,this[_0x19092c(0x2a4)]=_0x1d72dd,this[_0x19092c(0x13d)]=_0x27e9c7,this[_0x19092c(0x260)]());}[_0x524f26(0x260)](){const _0x12c0da=_0x524f26,_0x3e592d=this['_context']['unitId'],_0x176ae4=this[_0x12c0da(0x2aa)];this[_0x12c0da(0x207)](_0x43bfd3([this['_collabCursorController'][_0x12c0da(0xfb)](_0x3e592d),this['_themeService'][_0x12c0da(0x1db)]])[_0x12c0da(0xee)](_0x4866e0(([_0x283cef,_0x3978d2])=>({'skeleton':_0x176ae4[_0x12c0da(0x211)](),'cursors':[..._0x283cef['values']()][_0x12c0da(0x18a)](_0x52019d=>({..._0x52019d,'color':this[_0x12c0da(0x13d)][_0x12c0da(0x117)](_0x52019d[_0x12c0da(0xf6)])}))})))[_0x12c0da(0x17a)](_0x3fa235=>{const _0x13b03e=_0x12c0da;if(this[_0x13b03e(0x2c8)](),_0x3fa235){const {skeleton:_0x925b52,cursors:_0x3c7bb1}=_0x3fa235;this[_0x13b03e(0x1ab)](_0x925b52,_0x3c7bb1);}})),this[_0x12c0da(0x181)](),this[_0x12c0da(0x1ad)]();}['_updateCollabCursors'](_0x59d15b,_0x6cb2d7){const _0x1a296a=_0x524f26,{scene:_0x1b08b7,mainComponent:_0x2b8b01}=this[_0x1a296a(0x2b9)],_0x5cd1dd=_0x6cb2d7[_0x1a296a(0x163)](_0x37edd3=>new qe(_0x37edd3,_0x1b08b7,_0x59d15b,_0x2b8b01));this[_0x1a296a(0x150)]=_0x5cd1dd,this[_0x1a296a(0x186)]=_0x6cb2d7;}[_0x524f26(0x1c0)](){const _0x356a40=_0x524f26;this[_0x356a40(0x2c8)]();const {scene:_0x3ff79b,mainComponent:_0x4e5784}=this[_0x356a40(0x2b9)],_0x1335a5=this['_docSkeletonManagerService'][_0x356a40(0x211)](),_0x16c341=this['_cursors'][_0x356a40(0x163)](_0x32dd0e=>new qe(_0x32dd0e,_0x3ff79b,_0x1335a5,_0x4e5784));this[_0x356a40(0x150)]=_0x16c341;}['_removeCollabCursors'](){const _0x287d8f=_0x524f26;this[_0x287d8f(0x150)][_0x287d8f(0x19a)](_0x4ca95a=>_0x4ca95a[_0x287d8f(0x1e9)]()),this[_0x287d8f(0x150)]=[];}[_0x524f26(0x1ad)](){const _0x5352a2=_0x524f26,_0x84efec=[_0x4975a1['id']];this['disposeWithMe'](this['_commandService'][_0x5352a2(0x1a4)](_0xf6fa24=>{const _0x2e6144=_0x5352a2;_0x84efec['includes'](_0xf6fa24['id'])&&_0xf6fa24[_0x2e6144(0x27c)][_0x2e6144(0x2d4)]===this[_0x2e6144(0x2b9)]['unitId']&&this[_0x2e6144(0x1c0)]();}));}[_0x524f26(0x181)](){const _0x48f74f=_0x524f26;this[_0x48f74f(0x207)](_0x3278b6(this[_0x48f74f(0x2b9)][_0x48f74f(0x1ce)][_0x48f74f(0x1dc)])['pipe'](_0x3717b4(_0x12c431=>_0x12c431[_0x48f74f(0x22f)]===_0x3ef742[_0x48f74f(0x199)]),_0x1cbed5(0x10))[_0x48f74f(0x17a)](()=>{const _0x3e1b77=_0x48f74f;this[_0x3e1b77(0x1c0)]();}));}};Le=ji([ee(0x1,_0x50e226(_0x5ecd18)),ee(0x2,_0x50e226(F)),ee(0x3,_0x2817bc),ee(0x4,_0x50e226(_0x106740))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x1163ff{constructor(_0xa63e82,_0x145738){const _0x38b897=_0x524f26;super(_0xa63e82,_0x145738),_(this,'_color'),_(this,_0x38b897(0x142),!0x1),_(this,_0x38b897(0x1b4)),_(this,_0x38b897(0xef),''),_(this,_0x38b897(0x29f),_0x38b897(0x14d)),_(this,'_backgroundColor'),(_0x145738&&this[_0x38b897(0x1c4)](_0x145738),this[_0x38b897(0x1bc)][_0x38b897(0x19f)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x38b897(0x1c4)]({'hovered':!0x1})));}[_0x524f26(0x1c4)](_0x30c0e8){const _0x1695c4=_0x524f26;var _0x57f449,_0x473905,_0x252af9,_0x42a014,_0x4b7fb2,_0x36b94d;this[_0x1695c4(0x144)]=(_0x57f449=_0x30c0e8[_0x1695c4(0xf6)])!=null?_0x57f449:this['_color'],this[_0x1695c4(0x142)]=(_0x473905=_0x30c0e8[_0x1695c4(0x247)])!=null?_0x473905:this['_hovered'],this[_0x1695c4(0x1b4)]=(_0x252af9=_0x30c0e8[_0x1695c4(0x272)])!=null?_0x252af9:this['_range'],this['_name']=(_0x42a014=_0x30c0e8[_0x1695c4(0x190)])!=null?_0x42a014:this[_0x1695c4(0xef)],this['_labelPosition']=(_0x4b7fb2=_0x30c0e8['labelPosition'])!=null?_0x4b7fb2:this['_labelPosition'],this['_backgroundColor']=(_0x36b94d=_0x30c0e8['backgroundColor'])!=null?_0x36b94d:this['_backgroundColor'],this[_0x1695c4(0x161)]({'width':_0x30c0e8['width'],'height':_0x30c0e8[_0x1695c4(0x2d9)]});}[_0x524f26(0x2da)](_0x2ddc42){const _0x411499=_0x524f26,{row:_0x142a03,column:_0x2eb01b}=_0x2ddc42;if(_0x142a03>=this['_range'][_0x411499(0x1fc)]&&_0x142a03<=this['_range']['endRow']&&_0x2eb01b>=this[_0x411499(0x1b4)][_0x411499(0x1d1)]&&_0x2eb01b<=this[_0x411499(0x1b4)]['endColumn']){this[_0x411499(0x1c4)]({'hovered':!0x0});return;}this[_0x411499(0x1c4)]({'hovered':!0x1});}[_0x524f26(0x137)](_0x173e1e){return!0x1;}[_0x524f26(0x2f4)](_0x3240d8){const _0x4c2d13=_0x524f26;_0x2fb052[_0x4c2d13(0x1f4)](_0x3240d8,{'width':this[_0x4c2d13(0x2d0)],'height':this[_0x4c2d13(0x2d9)],'strokeWidth':Wi,'stroke':this[_0x4c2d13(0x144)],'evented':!0x1,'fill':this[_0x4c2d13(0x13e)]}),this['_hovered']&&(_0x3240d8[_0x4c2d13(0x104)](),_0x3240d8[_0x4c2d13(0x127)](0x1,0x0,0x0,0x1,this[_0x4c2d13(0x2d0)],this['_labelPosition']===_0x4c2d13(0x1b6)?0x0:-J),ue[_0x4c2d13(0x1f4)](_0x3240d8,{'text':this['_name'],'color':this['_color']}),_0x3240d8[_0x4c2d13(0xf1)]());}}var Gi=Object[_0x524f26(0x233)],Ki=(_0x4fa5d6,_0x5b3908,_0x55ab9b,_0x958727)=>{const _0x2c3733=_0x524f26;for(var _0x443565=_0x958727>0x1?void 0x0:_0x958727?Gi(_0x5b3908,_0x55ab9b):_0x5b3908,_0x41e574=_0x4fa5d6[_0x2c3733(0x28e)]-0x1,_0x27357c;_0x41e574>=0x0;_0x41e574--)(_0x27357c=_0x4fa5d6[_0x41e574])&&(_0x443565=_0x27357c(_0x443565)||_0x443565);return _0x443565;},pe=(_0x2a9393,_0x569c39)=>(_0x32321d,_0x776d5d)=>_0x569c39(_0x32321d,_0x776d5d,_0x2a9393);const zi=0x1389;let Pe=class extends _0x390349{constructor(_0x3fd331,_0x1e89b9,_0x15a467,_0x6f6a2c){const _0x416e7f=_0x524f26;super(),_(this,_0x416e7f(0x186),new Set()),_(this,_0x416e7f(0x187),null),(this['_context']=_0x3fd331,this[_0x416e7f(0x1f6)]=_0x1e89b9,this[_0x416e7f(0x269)]=_0x15a467,this[_0x416e7f(0x13d)]=_0x6f6a2c,this[_0x416e7f(0x260)]());}['_init'](){const _0xa55635=_0x524f26;this[_0xa55635(0x1f6)][_0xa55635(0x1ae)]['pipe'](_0x10e0b3(this[_0xa55635(0x178)]),_0x1aec67(_0x566758=>{const _0x341f88=_0xa55635;if(_0x566758){const _0x37b012=_0x566758[_0x341f88(0x1d0)];return _0x43bfd3(this['_collabCursorController'][_0x341f88(0xfb)](this['_context']['unitId']),this[_0x341f88(0x13d)][_0x341f88(0x1db)])[_0x341f88(0xee)](_0x4866e0(([_0x317db0,_0x3fb279])=>{const _0x42c26b=new Map();return _0x317db0['forEach']((_0x4accee,_0x54229d)=>{const _0x3d6224=_0x2688;if(_0x4accee[_0x3d6224(0x1f1)]===_0x37b012){const _0x13721c={..._0x4accee};_0x13721c[_0x3d6224(0xf6)]=this['_themeService'][_0x3d6224(0x117)](_0x4accee[_0x3d6224(0xf6)]),_0x42c26b[_0x3d6224(0x231)](_0x54229d,_0x13721c);}}),{'skeleton':_0x566758,'cursors':_0x42c26b};}));}return _0x2ae73a({'skeleton':null,'cursors':new Map()});}))[_0xa55635(0x17a)](({skeleton:_0x8ff6d4,cursors:_0x4137e8})=>{const _0x2e2724=_0xa55635;this[_0x2e2724(0x2c8)](),_0x8ff6d4&&this[_0x2e2724(0x1ab)](_0x8ff6d4,_0x4137e8);}),this[_0xa55635(0x1f6)][_0xa55635(0x1ae)][_0xa55635(0x17a)](_0x19c18a=>{const _0x2d2b9e=_0xa55635;if(_0x19c18a==null)return;const {skeleton:_0x485a6c}=_0x19c18a,{scene:_0x5bb5dc}=this['_context'];_0x5bb5dc[_0x2d2b9e(0x299)][_0x2d2b9e(0x19f)](_0x3471f3(_0x3df85a=>{const _0x48ee47=_0x2d2b9e;var _0x57f82f,_0x569803;const {offsetX:_0x4ea6d4,offsetY:_0x283d6d}=_0x3df85a,{x:_0x35c2ab,y:_0x3eb93f}=_0x5bb5dc['getRelativeToViewportCoord'](_0x5c2ab4[_0x48ee47(0xf4)]([_0x4ea6d4,_0x283d6d])),{scaleX:_0x16fe21,scaleY:_0x260f20}=_0x5bb5dc[_0x48ee47(0x147)](),_0x51bdd3=_0x5bb5dc[_0x48ee47(0x2ed)](_0x49d101[_0x48ee47(0x1ef)]),_0xc8085b=_0x5bb5dc[_0x48ee47(0x2cc)](_0x5c2ab4[_0x48ee47(0xf4)]([_0x35c2ab,_0x3eb93f]),_0x51bdd3),_0xc52e27=_0x485a6c[_0x48ee47(0x2a8)](_0x4ea6d4,_0x283d6d,_0x16fe21,_0x260f20,_0xc8085b);((_0x57f82f=this[_0x48ee47(0x187)])==null?void 0x0:_0x57f82f['column'])===_0xc52e27[_0x48ee47(0x2f2)]&&((_0x569803=this[_0x48ee47(0x187)])==null?void 0x0:_0x569803[_0x48ee47(0x122)])===_0xc52e27[_0x48ee47(0x122)]||this[_0x48ee47(0x186)][_0x48ee47(0x19a)](_0x38d88d=>{const _0x5ed46f=_0x48ee47;_0x38d88d[_0x5ed46f(0x2da)](_0xc52e27);});},0x64));});}[_0x524f26(0x1ab)](_0x36cf1b,_0x494c57){const _0x651f26=_0x524f26;var _0x434eae;const _0x22fa79=(_0x434eae=this[_0x651f26(0x1f6)][_0x651f26(0x27f)]())==null?void 0x0:_0x434eae[_0x651f26(0x1c3)];if(!_0x22fa79)return;const _0x4ea6f2=this['_getSheetObject']();if(!_0x4ea6f2)return;this[_0x651f26(0x186)][_0x651f26(0x19a)](_0x51c5dd=>{_0x51c5dd['makeDirty']();});const {scene:_0x3dfa41}=_0x4ea6f2,_0x40b0b9=Ji(Array[_0x651f26(0x2c4)](_0x494c57['values']()))[_0x651f26(0x163)](_0x2960f6=>{const _0x2b26df=_0x651f26,{color:_0x3627c1,range:_0x4ba00b,name:_0x6dbaba,selection:_0x251f1a,sheetID:_0x407973}=_0x2960f6,{startColumn:_0x2d6b27,startRow:_0x40c91f,endColumn:_0x392929,endRow:_0x40dd4d}=_0x4ba00b,_0xc5b54a=_0x59f86f(_0x40c91f,_0x2d6b27,_0x3dfa41,_0x22fa79),_0x3c8ad8=_0x59f86f(_0x40dd4d,_0x392929,_0x3dfa41,_0x22fa79),{columnHeaderHeightAndMarginTop:_0x53e3c5}=_0x22fa79,{startX:_0x46b2ad,startY:_0x161ac6}=_0xc5b54a,{endX:_0x3abb30,endY:_0x166258}=_0x3c8ad8,_0x4db407=_0x3abb30-_0x46b2ad,_0xd51f84=_0x166258-_0x161ac6,_0x2f9061={'labelPosition':_0x161ac6-_0x53e3c5>=J?_0x2b26df(0x14d):_0x2b26df(0x1b6),'sheetID':_0x407973,'range':_0x4ba00b,'color':_0x3627c1,'name':_0x6dbaba,'selection':_0x251f1a,'left':_0x46b2ad,'top':_0x161ac6,'width':_0x4db407,'height':_0xd51f84,'evented':!0x1,'zIndex':zi};return new Xi(_0x6dbaba,_0x2f9061);});_0x3dfa41[_0x651f26(0x15c)](_0x40b0b9,Vi),this[_0x651f26(0x186)]=new Set(_0x40b0b9);}[_0x524f26(0x2c8)](){const _0x12f233=_0x524f26;var _0x4ddcb2;(_0x4ddcb2=this[_0x12f233(0x186)])==null||_0x4ddcb2[_0x12f233(0x19a)](_0x136b2d=>_0x136b2d['dispose']());}[_0x524f26(0x294)](){const _0x133397=_0x524f26;return _0x1058c8(this[_0x133397(0x2b9)]['unit'],this['_context']);}};Pe=Ki([pe(0x1,_0x50e226(_0x396f6e)),pe(0x2,_0x50e226(F)),pe(0x3,_0x50e226(_0x106740))],Pe);function Ji(_0x3697df){const _0x23174b=_0x524f26,_0x1940dd=new Map();return _0x3697df[_0x23174b(0x19a)](_0xf88045=>{const _0x1b3baf=_0x23174b;if(_0x1940dd[_0x1b3baf(0x103)](_0xf88045[_0x1b3baf(0x1a8)])){const _0x22b9a2=_0x1940dd[_0x1b3baf(0x1fd)](_0xf88045[_0x1b3baf(0x1a8)]);_0x22b9a2[_0x1b3baf(0x190)]+=',\x20'+_0xf88045[_0x1b3baf(0x190)];}else _0x1940dd[_0x1b3baf(0x231)](_0xf88045[_0x1b3baf(0x1a8)],_0xf88045);}),Array[_0x23174b(0x2c4)](_0x1940dd[_0x23174b(0x188)]());}var Zi=Object[_0x524f26(0x233)],Qi=(_0x82b47e,_0x56640a,_0xdb4680,_0x18e931)=>{const _0x2096fd=_0x524f26;for(var _0x4192af=_0x18e931>0x1?void 0x0:_0x18e931?Zi(_0x56640a,_0xdb4680):_0x56640a,_0x55ccfb=_0x82b47e[_0x2096fd(0x28e)]-0x1,_0x261496;_0x55ccfb>=0x0;_0x55ccfb--)(_0x261496=_0x82b47e[_0x55ccfb])&&(_0x4192af=_0x261496(_0x4192af)||_0x4192af);return _0x4192af;},B=(_0x1a4f80,_0x4c6b77)=>(_0x39f27f,_0x36d8f2)=>_0x4c6b77(_0x39f27f,_0x36d8f2,_0x1a4f80);let ne=class extends _0x430c3f{constructor(_0x47ddf8,_0x19d5ea,_0x5339e2,_0x2cddda,_0x55b926,_0x23e96e){const _0x3083f5=_0x524f26;super(),this[_0x3083f5(0x120)]=_0x47ddf8,this[_0x3083f5(0x286)]=_0x19d5ea,this[_0x3083f5(0x171)]=_0x5339e2,this[_0x3083f5(0x2ba)]=_0x2cddda,this[_0x3083f5(0x143)]=_0x55b926,this[_0x3083f5(0x2c0)]=_0x23e96e,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x524f26(0x2c9)](){const _0xf78be6=_0x524f26;this[_0xf78be6(0x207)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x2ca5e4=_0xf78be6;if(this[_0x2ca5e4(0x286)][_0x2ca5e4(0x1ed)][_0x2ca5e4(0x27b)])return this[_0x2ca5e4(0x2c0)]['t'](_0x2ca5e4(0x21b));}));}[_0x524f26(0x2c3)](){const _0x2f4ac7=_0x524f26;this['disposeWithMe'](this[_0x2f4ac7(0x171)][_0x2f4ac7(0x2bd)]['subscribe'](_0x5f05a8=>{const _0x3ad83c=_0x2f4ac7;_0x5f05a8['id']===_0x30a4c0[_0x3ad83c(0x212)]&&this[_0x3ad83c(0x2ba)][_0x3ad83c(0x2c7)]({'type':_0x1547dc[_0x3ad83c(0x12a)],'content':this[_0x3ad83c(0x2c0)]['t'](_0x3ad83c(0x121))}),_0x5f05a8['id']===_0x30a4c0['CLOSE_ROOM']&&this[_0x3ad83c(0x2ba)][_0x3ad83c(0x2c7)]({'type':_0x1547dc['Warning'],'content':this[_0x3ad83c(0x2c0)]['t']('collaboration.closeRoom')}),_0x5f05a8['id']===_0x30a4c0[_0x3ad83c(0x123)]&&this[_0x3ad83c(0x143)][_0x3ad83c(0x2c7)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x3ad83c(0x2c0)]['t'](_0x3ad83c(0x17f)),'type':'error','duration':0x0}),_0x5f05a8['id']===_0x30a4c0[_0x3ad83c(0x12c)]&&this['_messageService'][_0x3ad83c(0x2c7)]({'type':_0x1547dc[_0x3ad83c(0x23d)],'content':this[_0x3ad83c(0x2c0)]['t'](_0x3ad83c(0x27a))+'('+_0x5f05a8[_0x3ad83c(0x1ec)]+')'}),_0x5f05a8['id']===_0x30a4c0[_0x3ad83c(0x25d)]&&this[_0x3ad83c(0x2ba)]['show']({'type':_0x1547dc['Warning'],'content':this[_0x3ad83c(0x2c0)]['t'](_0x5f05a8[_0x3ad83c(0x1ec)]||'')}),_0x5f05a8['id']===_0x30a4c0[_0x3ad83c(0x1f8)]&&this[_0x3ad83c(0x2ba)]['show']({'type':_0x1547dc[_0x3ad83c(0x12a)],'content':this[_0x3ad83c(0x2c0)]['t']('session.will-retry')}),_0x5f05a8['id']===_0x30a4c0[_0x3ad83c(0x175)]&&this[_0x3ad83c(0x2ba)]['show']({'type':_0x1547dc[_0x3ad83c(0x23d)],'content':this['_localeService']['t']('session.connection-failed')}),_0x5f05a8['id']===_0x30a4c0['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3ad83c(0x2ba)]['show']({'type':_0x1547dc[_0x3ad83c(0x23d)],'content':this['_localeService']['t'](_0x3ad83c(0x25f))});}));}};ne=Qi([B(0x0,_0x1d6db7),B(0x1,_0x1b7959),B(0x2,_0x50e226(_0x212095)),B(0x3,_0x274d64),B(0x4,_0x467358),B(0x5,_0x50e226(_0x402f9f))],ne);const qi=_0x524f26(0x140),et={};var en=Object[_0x524f26(0x233)],tn=(_0x1938ad,_0x512b8e,_0x53367e,_0x43c525)=>{for(var _0x41bc1f=_0x43c525>0x1?void 0x0:_0x43c525?en(_0x512b8e,_0x53367e):_0x512b8e,_0x1d72ae=_0x1938ad['length']-0x1,_0x23c5a9;_0x1d72ae>=0x0;_0x1d72ae--)(_0x23c5a9=_0x1938ad[_0x1d72ae])&&(_0x41bc1f=_0x23c5a9(_0x41bc1f)||_0x41bc1f);return _0x41bc1f;},tt=(_0x9f288d,_0x290897)=>(_0x2f0f69,_0x29fba0)=>_0x290897(_0x2f0f69,_0x29fba0,_0x9f288d);let re=class{constructor(_0x4d7e0a,_0x210feb){const _0x310cff=_0x524f26;this[_0x310cff(0x2b4)]=_0x4d7e0a,this[_0x310cff(0x282)]=_0x210feb;}['transformIMECache'](_0x54d829){const _0x524bf5=_0x524f26;this[_0x524bf5(0x2af)](_0x54d829),this['_transformPreviousActiveRange'](_0x54d829);}['transformRemoteChangeset'](_0x2a32ca){const _0x387281=_0x524f26,{unitID:_0x56187a}=_0x2a32ca,_0x386d7b=this['_renderManagerService']['getRenderById'](_0x56187a)[_0x387281(0x20b)](_0x3b2744),{redoCache:_0x1e4ec7}=_0x386d7b[_0x387281(0x2bc)]();if(_0x1e4ec7[_0x387281(0x28e)]===0x0)return _0x2a32ca;let _0x54bef2=_0x47045f[_0x387281(0x112)](_0x2a32ca[_0x387281(0x26c)][0x0]);for(let _0x296de3=0x0;_0x296de3<_0x1e4ec7['length'];_0x296de3++){const _0x5509d4={'id':_0x387281(0x26d),'params':{..._0x1e4ec7[_0x296de3]}},_0x5cf218=this[_0x387281(0x2b4)][_0x387281(0x1e8)](_0x54bef2,_0x5509d4,!0x1);if(_0x3a0a27(_0x5cf218))throw _0x5cf218[_0x387281(0x1ac)];_0x54bef2=_0x5cf218[_0x387281(0x275)];}return{..._0x47045f[_0x387281(0x112)](_0x2a32ca),'mutations':[_0x54bef2]};}[_0x524f26(0x2af)](_0xb57fee){const _0x12747c=_0x524f26,{unitID:_0xbbee1d}=_0xb57fee,_0x24430f=this[_0x12747c(0x282)][_0x12747c(0x12f)](_0xbbee1d)[_0x12747c(0x20b)](_0x3b2744),{undoCache:_0x315b86,redoCache:_0x4a204d}=_0x24430f[_0x12747c(0x2bc)]();if(_0x315b86[_0x12747c(0x28e)]===0x0||_0x4a204d[_0x12747c(0x28e)]===0x0)return;const _0xc78ebd=[],_0x2fc3ac=[];let _0x633aa9=_0x47045f[_0x12747c(0x112)](_0xb57fee['mutations'][0x0]),_0x2b3ffe=_0x47045f['deepClone'](_0xb57fee['mutations'][0x0]);for(let _0x30f6d7=_0x315b86[_0x12747c(0x28e)]-0x1;_0x30f6d7>=0x0;_0x30f6d7--){const _0x577895={'id':_0x12747c(0x26d),'params':{..._0x315b86[_0x30f6d7]}},_0x204c4d={'id':'doc.mutation.rich-text-editing','params':{..._0x4a204d[_0x30f6d7]}},_0x3ea5f5=this[_0x12747c(0x2b4)][_0x12747c(0x1e8)](_0x633aa9,_0x577895,!0x1),_0x27cc2b=this[_0x12747c(0x2b4)][_0x12747c(0x1e8)](_0x2b3ffe,_0x204c4d,!0x1);if(_0x3a0a27(_0x3ea5f5))throw _0x3ea5f5[_0x12747c(0x1ac)];if(_0x3a0a27(_0x27cc2b))throw _0x27cc2b[_0x12747c(0x1ac)];_0xc78ebd[_0x12747c(0x2b6)](_0x3ea5f5['m2Prime'][_0x12747c(0x27c)]),_0x2fc3ac[_0x12747c(0x2b6)](_0x27cc2b[_0x12747c(0x214)][_0x12747c(0x27c)]),_0x633aa9=_0x3ea5f5['m1Prime'],_0x2b3ffe=_0x27cc2b[_0x12747c(0x275)];}_0x24430f['setUndoRedoMutationParamsCache']({'undoCache':_0xc78ebd,'redoCache':_0x2fc3ac});}[_0x524f26(0x22e)](_0xca58a5){const _0x5587aa=_0x524f26,{unitID:_0x52d4ed}=_0xca58a5,_0x10c9d7=this[_0x5587aa(0x282)]['getRenderById'](_0x52d4ed)['with'](_0x3b2744),_0x53342b=_0x10c9d7[_0x5587aa(0x183)]();if(_0x53342b==null)return;const _0x12aee0=[{'id':_0x5587aa(0x26d),'params':{'unitId':_0xca58a5[_0x5587aa(0x2ad)],'actions':null,'textRanges':[_0x53342b]}}],_0x22819e=this[_0x5587aa(0x2b4)]['transformMutationsWithChangeset'](_0xca58a5,_0x12aee0);if(!_0x20a420(_0x22819e))throw _0x22819e['error'];const _0x334674=_0x22819e[_0x5587aa(0x214)][0x0]['params'][_0x5587aa(0x216)];Array[_0x5587aa(0x106)](_0x334674)&&_0x334674[_0x5587aa(0x28e)]&&_0x10c9d7['setActiveRange'](_0x334674[0x0]);}};re=tn([tt(0x0,_0x4224cb),tt(0x1,_0x161de0)],re);var sn=Object[_0x524f26(0x233)],nn=(_0x5a3f22,_0x3254d1,_0x45adf9,_0x26b429)=>{const _0x1b21c0=_0x524f26;for(var _0x432dd5=_0x26b429>0x1?void 0x0:_0x26b429?sn(_0x3254d1,_0x45adf9):_0x3254d1,_0x2b755d=_0x5a3f22[_0x1b21c0(0x28e)]-0x1,_0x568caa;_0x2b755d>=0x0;_0x2b755d--)(_0x568caa=_0x5a3f22[_0x2b755d])&&(_0x432dd5=_0x568caa(_0x432dd5)||_0x432dd5);return _0x432dd5;},Ce=(_0x4baaf0,_0x34aefb)=>(_0x20d896,_0xb11de6)=>_0x34aefb(_0x20d896,_0xb11de6,_0x4baaf0);let oe=class{constructor(_0x3b4e84,_0x4869aa,_0x2f59a2){const _0x2526e8=_0x524f26;this[_0x2526e8(0x17e)]=_0x3b4e84,this[_0x2526e8(0x2b4)]=_0x4869aa,this['_docStateChangeManagerService']=_0x2f59a2;}['transformStateCache'](_0x3c054b){const _0x42ec8a=_0x524f26;this[_0x42ec8a(0x154)](_0x3c054b);}['transformRemoteChangeset'](_0x5eb020){const _0x83752c=_0x524f26,{unitID:_0x5058ec}=_0x5eb020,{collaboration:_0x320052}=this[_0x83752c(0x1d4)][_0x83752c(0x196)](_0x5058ec);if(_0x320052[_0x83752c(0x28e)]===0x0)return _0x5eb020;let _0x661788=_0x47045f[_0x83752c(0x112)](_0x5eb020['mutations'][0x0]);for(let _0x500896=0x0;_0x500896<_0x320052['length'];_0x500896++){const _0x279c01={'id':_0x83752c(0x26d),'params':{'unitId':_0x320052[_0x500896]['unitId'],..._0x320052[_0x500896][_0x83752c(0x15d)]}},_0x2e54a1=this[_0x83752c(0x2b4)]['transformMutation'](_0x661788,_0x279c01,!0x1);if(_0x3a0a27(_0x2e54a1))throw _0x2e54a1[_0x83752c(0x1ac)];_0x661788=_0x2e54a1[_0x83752c(0x275)];}return{..._0x47045f['deepClone'](_0x5eb020),'mutations':[_0x661788]};}[_0x524f26(0x154)](_0x33c357){const _0x31e23e=_0x524f26,{unitID:_0xef5ff0}=_0x33c357,{history:_0x1fa3cc,collaboration:_0x1ed184}=this['_docStateChangeManagerService']['getStateCache'](_0xef5ff0);if(_0x1fa3cc[_0x31e23e(0x28e)]===0x0&&_0x1ed184[_0x31e23e(0x28e)]===0x0)return;const _0x1cd2fe=[],_0x3fd771=[];let _0x220885=_0x47045f[_0x31e23e(0x112)](_0x33c357[_0x31e23e(0x26c)][0x0]),_0x542083=_0x47045f[_0x31e23e(0x112)](_0x33c357[_0x31e23e(0x26c)][0x0]);for(let _0x1868d2=_0x1fa3cc[_0x31e23e(0x28e)]-0x1;_0x1868d2>=0x0;_0x1868d2--){const _0x4a0c9d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fa3cc[_0x1868d2][_0x31e23e(0x2d4)],..._0x1fa3cc[_0x1868d2][_0x31e23e(0x289)]}},_0xe3ed7c={'id':_0x31e23e(0x26d),'params':{'unitId':_0x1fa3cc[_0x1868d2][_0x31e23e(0x2d4)],..._0x1fa3cc[_0x1868d2][_0x31e23e(0x15d)]}},_0x240a52=this[_0x31e23e(0x2b4)][_0x31e23e(0x1e8)](_0x220885,_0x4a0c9d,!0x1),_0x124fda=this[_0x31e23e(0x2b4)][_0x31e23e(0x1e8)](_0x542083,_0xe3ed7c,!0x1);if(_0x3a0a27(_0x240a52))throw _0x240a52[_0x31e23e(0x1ac)];if(_0x3a0a27(_0x124fda))throw _0x124fda[_0x31e23e(0x1ac)];_0x1cd2fe[_0x31e23e(0x2b6)]({..._0x1fa3cc[_0x1868d2],'undoState':_0x240a52[_0x31e23e(0x214)][_0x31e23e(0x27c)],'redoState':_0x124fda['m2Prime'][_0x31e23e(0x27c)]}),_0x220885=_0x240a52[_0x31e23e(0x275)],_0x542083=_0x124fda[_0x31e23e(0x275)];}_0x220885=_0x47045f[_0x31e23e(0x112)](_0x33c357[_0x31e23e(0x26c)][0x0]),_0x542083=_0x47045f[_0x31e23e(0x112)](_0x33c357['mutations'][0x0]);for(let _0x39f688=_0x1ed184['length']-0x1;_0x39f688>=0x0;_0x39f688--){const _0x2a3785={'id':_0x31e23e(0x26d),'params':{'unitId':_0x1ed184[_0x39f688][_0x31e23e(0x2d4)],..._0x1ed184[_0x39f688]['undoState']}},_0x9ae7f7={'id':_0x31e23e(0x26d),'params':{'unitId':_0x1ed184[_0x39f688][_0x31e23e(0x2d4)],..._0x1ed184[_0x39f688]['redoState']}},_0x1ffd61=this[_0x31e23e(0x2b4)][_0x31e23e(0x1e8)](_0x220885,_0x2a3785,!0x1),_0x2d0825=this['_transformService'][_0x31e23e(0x1e8)](_0x542083,_0x9ae7f7,!0x1);if(_0x3a0a27(_0x1ffd61))throw _0x1ffd61[_0x31e23e(0x1ac)];if(_0x3a0a27(_0x2d0825))throw _0x2d0825[_0x31e23e(0x1ac)];_0x3fd771[_0x31e23e(0x2b6)]({..._0x1ed184[_0x39f688],'undoState':_0x1ffd61[_0x31e23e(0x214)][_0x31e23e(0x27c)],'redoState':_0x2d0825['m2Prime'][_0x31e23e(0x27c)]}),_0x220885=_0x1ffd61[_0x31e23e(0x275)],_0x542083=_0x2d0825[_0x31e23e(0x275)];}this[_0x31e23e(0x1d4)]['setStateCache'](_0xef5ff0,{'history':_0x1cd2fe,'collaboration':_0x3fd771});}};oe=nn([Ce(0x0,_0x50e226(_0x56c26b)),Ce(0x1,_0x4224cb),Ce(0x2,_0x50e226(_0x1474b4))],oe);var rn=Object[_0x524f26(0x233)],on=(_0x43af1c,_0x2ee0bb,_0x5abac8,_0x3c2c46)=>{const _0x26cfb6=_0x524f26;for(var _0x2989da=_0x3c2c46>0x1?void 0x0:_0x3c2c46?rn(_0x2ee0bb,_0x5abac8):_0x2ee0bb,_0x35f07e=_0x43af1c[_0x26cfb6(0x28e)]-0x1,_0x5fab39;_0x35f07e>=0x0;_0x35f07e--)(_0x5fab39=_0x43af1c[_0x35f07e])&&(_0x2989da=_0x5fab39(_0x2989da)||_0x2989da);return _0x2989da;},st=(_0x1c76fb,_0x38b49e)=>(_0x4b3289,_0x380b0b)=>_0x38b49e(_0x4b3289,_0x380b0b,_0x1c76fb);let ae=class{constructor(_0x26ae40,_0x510f32){const _0x3f245f=_0x524f26;this[_0x3f245f(0x17e)]=_0x26ae40,this[_0x3f245f(0x2b4)]=_0x510f32;}[_0x524f26(0x263)](_0x21c5ab){const _0x73b235=_0x524f26;var _0xb6f810;const _0x26498a=this[_0x73b235(0x17e)][_0x73b235(0x1fd)](_0x5bd793),_0x5a60c2=(_0xb6f810=_0x26498a[_0x73b235(0x1c7)]())!=null?_0xb6f810:[];if(_0x5a60c2['length']===0x0)return;const _0x414eab=_0x21c5ab[_0x73b235(0x2ad)],_0x15d6f4=[{'id':_0x73b235(0x26d),'params':{'unitId':_0x414eab,'actions':null,'textRanges':_0x5a60c2}}],_0x55d2c8=this[_0x73b235(0x2b4)][_0x73b235(0x1d3)](_0x21c5ab,_0x15d6f4);if(!_0x20a420(_0x55d2c8))throw _0x55d2c8[_0x73b235(0x1ac)];const _0x10a515=_0x55d2c8[_0x73b235(0x214)][0x0][_0x73b235(0x27c)][_0x73b235(0x216)];Array[_0x73b235(0x106)](_0x10a515)&&_0x10a515[_0x73b235(0x28e)]&&_0x26498a['replaceDocRanges'](_0x10a515,{'unitId':_0x414eab,'subUnitId':_0x414eab},!0x1);}};ae=on([st(0x0,_0x50e226(_0x56c26b)),st(0x1,_0x4224cb)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x1c694e,_0x16fdb5,_0xf975a8,_0xa95704)=>{for(var _0x165d15=_0xa95704>0x1?void 0x0:_0xa95704?an(_0x16fdb5,_0xf975a8):_0x16fdb5,_0x469fc3=_0x1c694e['length']-0x1,_0x4de6ed;_0x469fc3>=0x0;_0x469fc3--)(_0x4de6ed=_0x1c694e[_0x469fc3])&&(_0x165d15=_0x4de6ed(_0x165d15)||_0x165d15);return _0x165d15;},N=(_0x491f5f,_0x28a081)=>(_0x58c2b7,_0x4d64d0)=>_0x28a081(_0x58c2b7,_0x4d64d0,_0x491f5f);let ce=class extends _0x430c3f{constructor(_0x2025eb,_0x36c984,_0x514a99,_0x3935e1,_0x12bafc,_0x239239,_0x4120a0,_0x1c5e2a){const _0x1d8042=_0x524f26;super(),_(this,_0x1d8042(0x119),new _0x2f3fd2(_0x5e14e2['NOT_COLLAB'])),(this[_0x1d8042(0x1d4)]=_0x2025eb,this[_0x1d8042(0x134)]=_0x36c984,this[_0x1d8042(0x26e)]=_0x514a99,this[_0x1d8042(0x2e5)]=_0x3935e1,this[_0x1d8042(0x1e3)]=_0x12bafc,this[_0x1d8042(0x172)]=_0x239239,this[_0x1d8042(0x2ba)]=_0x4120a0,this['_localeService']=_0x1c5e2a,this[_0x1d8042(0x198)]());}['_initEntityListener'](){const _0x11cbcd=_0x524f26;this['disposeWithMe'](this[_0x11cbcd(0x134)][_0x11cbcd(0x265)][_0x11cbcd(0x17a)](_0x167cea=>{const _0x1c4eaa=_0x11cbcd,_0x5792bb=this[_0x1c4eaa(0x1d4)][_0x1c4eaa(0x234)][_0x1c4eaa(0x17a)](_0x53737c=>{const _0x23e834=_0x1c4eaa;if(_0x53737c==null)return;const {unitId:_0x1cd043,redoState:_0x5bc2e4,commandId:_0x2df9a5}=_0x53737c;if(_0x1cd043!==_0x167cea[_0x23e834(0x2ad)])return;const _0x268407={'id':_0x2df9a5,'type':_0x372a95[_0x23e834(0x133)],'params':{'unitId':_0x1cd043,'actions':_0x5bc2e4[_0x23e834(0x264)],'textRanges':null}};_0x167cea[_0x23e834(0x205)](_0x268407);});if(_0x167cea[_0x1c4eaa(0x207)](_0x5792bb),_0x167cea instanceof _0x1d2c24){const _0x14fc9d={'onTransformIME':_0x4e6e62=>this[_0x1c4eaa(0x26e)][_0x1c4eaa(0x292)](_0x4e6e62),'onTransformState':_0x250946=>this[_0x1c4eaa(0x2e5)][_0x1c4eaa(0x17c)](_0x250946),'onTransformSelections':_0x5ad394=>this['_docTransformSelectionsService'][_0x1c4eaa(0x263)](_0x5ad394),'onSyncEditingCollabCursor':_0x2100ec=>this[_0x1c4eaa(0x172)][_0x1c4eaa(0x285)](_0x2100ec),'onTransformRemoteChangesetByIMECache':_0x157223=>this[_0x1c4eaa(0x26e)]['transformRemoteChangeset'](_0x157223),'onTransformRemoteChangesetByStateCache':_0x5d97d4=>this[_0x1c4eaa(0x2e5)][_0x1c4eaa(0x2ce)](_0x5d97d4)};_0x167cea[_0x1c4eaa(0x26a)](_0x14fc9d);}}));}};ce=cn([N(0x0,_0x50e226(_0x1474b4)),N(0x1,_0x50e226(_0x5ea9c0)),N(0x2,_0x50e226(re)),N(0x3,_0x50e226(oe)),N(0x4,_0x50e226(ae)),N(0x5,_0x50e226(Fe)),N(0x6,_0x274d64),N(0x7,_0x50e226(_0x402f9f))],ce);var ln=Object[_0x524f26(0x233)],_n=(_0x5b3621,_0x4ec829,_0x16d636,_0x843b47)=>{const _0x2000b8=_0x524f26;for(var _0x526a06=_0x843b47>0x1?void 0x0:_0x843b47?ln(_0x4ec829,_0x16d636):_0x4ec829,_0x207fa7=_0x5b3621[_0x2000b8(0x28e)]-0x1,_0x5a5b35;_0x207fa7>=0x0;_0x207fa7--)(_0x5a5b35=_0x5b3621[_0x207fa7])&&(_0x526a06=_0x5a5b35(_0x526a06)||_0x526a06);return _0x526a06;},Ee=(_0x141b9a,_0x5a3431)=>(_0x25cc23,_0x30dc11)=>_0x5a3431(_0x25cc23,_0x30dc11,_0x141b9a);let we=class extends _0x430c3f{constructor(_0x1e8ebd,_0x551caa,_0x501073){const _0x54a2b1=_0x524f26;super(),_(this,_0x54a2b1(0x2bb),new Map()),_(this,_0x54a2b1(0x297),new Map()),_(this,_0x54a2b1(0x218),!0x1),(this['_configService']=_0x1e8ebd,this[_0x54a2b1(0x296)]=_0x551caa,this['_revisionService']=_0x501073);}[_0x524f26(0x284)](){const _0x1a9ef8=_0x524f26;this[_0x1a9ef8(0x218)]=!0x0;}[_0x524f26(0x291)](){this['_disabled']=!0x1;}get[_0x524f26(0x1ed)](){return this['_saveTaskMap'];}['dispose'](){const _0x3c441e=_0x524f26;this['exhaustSavingTask']()[_0x3c441e(0x164)](()=>super[_0x3c441e(0x1e9)]());}async[_0x524f26(0x2b7)](_0x25aec4){const _0x523d5c=_0x524f26;return this[_0x523d5c(0x218)]?null:this[_0x523d5c(0x296)][_0x523d5c(0xf5)](_0x5b4647(_0x25aec4));}async[_0x524f26(0x288)](_0x34933b,_0x4afbf3){const _0x16c1c3=_0x524f26;return!!this[_0x16c1c3(0x296)][_0x16c1c3(0x16f)](_0x34933b,_0x4afbf3);}[_0x524f26(0x287)](_0xa96ee,_0x53dc63,_0xdf979e,_0x30701d){const _0x58601d=_0x524f26,_0xc397d3=this[_0x58601d(0x20f)][_0x58601d(0x1ba)](_0xa96ee);this[_0x58601d(0x2bb)][_0x58601d(0x231)](_0xa96ee,{'unitID':_0xa96ee,'type':_0x53dc63,'awaitingChangeset':_0xdf979e,'mutations':_0x30701d,'rev':_0xc397d3}),this[_0x58601d(0x297)][_0x58601d(0x103)](_0xa96ee)||this['_scheduleSaving'](_0xa96ee);}[_0x524f26(0x19d)](_0x9c5529){const _0xdd32ca=_0x524f26,_0x17570a=this[_0xdd32ca(0x1f7)]();_0x17570a===0x0?this[_0xdd32ca(0x10f)](_0x9c5529):this[_0xdd32ca(0x297)]['set'](_0x9c5529,setTimeout(()=>this[_0xdd32ca(0x10f)](_0x9c5529),_0x17570a));}[_0x524f26(0x1f7)](){const _0x278e81=_0x524f26;var _0x2c55c4;return(_0x2c55c4=this[_0x278e81(0x146)][_0x278e81(0x177)](_0x39a762))!=null?_0x2c55c4:_0x39c620;}['_saveCache'](_0x4efc58){const _0x276605=_0x524f26,_0x18a395=this['_saveTaskMap'][_0x276605(0x1fd)](_0x4efc58);return _0x18a395!==void 0x0&&window['clearTimeout'](_0x18a395),this['_localStorageService'][_0x276605(0x16f)](_0x5b4647(_0x4efc58),this[_0x276605(0x2bb)]['get'](_0x4efc58))['then'](()=>this[_0x276605(0x297)]['delete'](_0x4efc58));}async['exhaustSavingTask'](){const _0x3d11b7=_0x524f26,_0x134093=[];this[_0x3d11b7(0x297)][_0x3d11b7(0x19a)]((_0xb0f0cb,_0x49ef39)=>{const _0x5660d1=_0x3d11b7;window[_0x5660d1(0x2b1)](_0xb0f0cb),_0x134093[_0x5660d1(0x115)](this[_0x5660d1(0x10f)](_0x49ef39)[_0x5660d1(0x164)](()=>{const _0xaa6eb5=_0x5660d1;this['_saveTaskMap'][_0xaa6eb5(0xed)](_0x49ef39);}));}),await Promise['all'](_0x134093);}};we=_n([Ee(0x0,_0x2e44c3),Ee(0x1,_0x264bea),Ee(0x2,_0x50e226(_0x2cbf02))],we);class hn extends _0x390349{constructor(){const _0x3ce6c2=_0x524f26;super(),_(this,_0x3ce6c2(0x22b)),this[_0x3ce6c2(0x22b)]=_0x1f263d(window,_0x3ce6c2(0x20a))[_0x3ce6c2(0xee)](_0x1416b7(this[_0x3ce6c2(0x178)]),_0x57b571(0x1),_0x591317(void 0x0));}[_0x524f26(0x255)](_0x1e836b,_0x2c9162,_0x1ea958=!0x1){const _0x6857e9=_0x524f26,_0x426e63=new URL(window['location'][_0x6857e9(0x107)]);_0x426e63[_0x6857e9(0x204)][_0x6857e9(0x231)](_0x1e836b,_0x2c9162),_0x1ea958?window['history'][_0x6857e9(0x11f)]('','',_0x426e63[_0x6857e9(0xf7)]()):window[_0x6857e9(0x1b2)]['pushState']('','',_0x426e63[_0x6857e9(0xf7)]());}[_0x524f26(0x224)](_0x1f75b2,_0xfa2b79=!0x1){const _0x2abd11=_0x524f26,_0x4cb5bf=new URL(window[_0x2abd11(0x241)][_0x2abd11(0x107)]);_0x4cb5bf[_0x2abd11(0x204)][_0x2abd11(0xed)](_0x1f75b2),_0xfa2b79?window['history'][_0x2abd11(0x11f)]('','',_0x4cb5bf[_0x2abd11(0xf7)]()):window[_0x2abd11(0x1b2)][_0x2abd11(0x254)]('','',_0x4cb5bf[_0x2abd11(0xf7)]());}[_0x524f26(0x129)](_0x3c87ab){const _0x294e52=_0x524f26;var _0x257e6d;return(_0x257e6d=new URL(window[_0x294e52(0x241)][_0x294e52(0x107)])[_0x294e52(0x204)]['get'](_0x3c87ab))!=null?_0x257e6d:void 0x0;}}var un=Object[_0x524f26(0x273)],dn=Object[_0x524f26(0x233)],fn=(_0x46e5dc,_0x44197f,_0x5b2a5b)=>_0x44197f in _0x46e5dc?un(_0x46e5dc,_0x44197f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5b2a5b}):_0x46e5dc[_0x44197f]=_0x5b2a5b,Sn=(_0x24e304,_0x459bfc,_0x27b11e,_0x2bfd48)=>{for(var _0xa7ef53=_0x2bfd48>0x1?void 0x0:_0x2bfd48?dn(_0x459bfc,_0x27b11e):_0x459bfc,_0x3e8993=_0x24e304['length']-0x1,_0x307033;_0x3e8993>=0x0;_0x3e8993--)(_0x307033=_0x24e304[_0x3e8993])&&(_0xa7ef53=_0x307033(_0xa7ef53)||_0xa7ef53);return _0xa7ef53;},Oe=(_0x51f1f0,_0x300ce8)=>(_0x1627fb,_0x57ccd2)=>_0x300ce8(_0x1627fb,_0x57ccd2,_0x51f1f0),mn=(_0x4fc635,_0x3e8beb,_0x171252)=>fn(_0x4fc635,_0x3e8beb+'',_0x171252);function _0x2688(_0x3da170,_0xdf8cfa){const _0x806b05=_0x806b();return _0x2688=function(_0x268828,_0x45c056){_0x268828=_0x268828-0xed;let _0x4212a9=_0x806b05[_0x268828];return _0x4212a9;},_0x2688(_0x3da170,_0xdf8cfa);}const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x43d505{constructor(_0x3c8114=et,_0x13d3cc,_0x2a94af,_0x2145d5){const _0x59333b=_0x524f26;super(),this['_config']=_0x3c8114,this[_0x59333b(0x282)]=_0x13d3cc,this[_0x59333b(0x17e)]=_0x2a94af,this['_configService']=_0x2145d5;const {..._0x10b939}=_0xe37108({},et,this[_0x59333b(0x24c)]);this[_0x59333b(0x146)]['setConfig'](qi,_0x10b939);}[_0x524f26(0x1ea)](){const _0x986412=_0x524f26;this[_0x986412(0xfa)](),this['_initDependencies']();}['onRendered'](){const _0x24b599=_0x524f26;this[_0x24b599(0x2b5)]();}[_0x524f26(0xfa)](){const _0x211b26=_0x524f26;var _0x1bc4e1;const _0x1ce891=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0xd2df92,{'useClass':_0x2c7d8a}],[_0x1b7959,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x2c5eaa(this[_0x211b26(0x17e)],_0x1ef8cb(_0x1ce891,(_0x1bc4e1=this['_config'])==null?void 0x0:_0x1bc4e1['override']));}[_0x524f26(0x2b5)](){const _0x3cf2bf=_0x524f26;this[_0x3cf2bf(0x207)](this[_0x3cf2bf(0x282)][_0x3cf2bf(0x2a7)](_0x12cd48['UNIVER_DOC'],[Le])),this[_0x3cf2bf(0x207)](this[_0x3cf2bf(0x282)][_0x3cf2bf(0x2a7)](_0x12cd48[_0x3cf2bf(0x1a2)],[Pe]));}[_0x524f26(0x15b)](){_0x58fb3f(this['_injector'],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x524f26(0x2de),In),Ae=Sn([_0x10c84e(_0x27d2e3),Oe(0x1,_0x161de0),Oe(0x2,_0x50e226(_0x56c26b)),Oe(0x3,_0x2e44c3)],Ae);var vn=Object[_0x524f26(0x233)],gn=(_0x1a0caf,_0x6ce94a,_0xc812dd,_0x2ce195)=>{for(var _0x13259c=_0x2ce195>0x1?void 0x0:_0x2ce195?vn(_0x6ce94a,_0xc812dd):_0x6ce94a,_0x4d5075=_0x1a0caf['length']-0x1,_0x371b0b;_0x4d5075>=0x0;_0x4d5075--)(_0x371b0b=_0x1a0caf[_0x4d5075])&&(_0x13259c=_0x371b0b(_0x13259c)||_0x13259c);return _0x13259c;},z=(_0x559698,_0x333d15)=>(_0x527cf6,_0x337dda)=>_0x333d15(_0x527cf6,_0x337dda,_0x559698);let it=class extends _0x14e523{constructor(_0xdec04d,_0x468a89,_0x5d2234,_0x259257,_0x1d66bb){super(_0xdec04d,_0x468a89,_0x5d2234,_0x259257,_0x1d66bb);}async[_0x524f26(0x1e6)](_0x1c8a84){const _0x265e1c=_0x524f26,_0x22fb38=await this[_0x265e1c(0x1cd)](),_0x434bae=this[_0x265e1c(0x139)](_0x1c8a84,_0x22fb38);return this['_doCreateSocket'](_0x434bae);}[_0x524f26(0x139)](_0x3026d3,_0x4b4e9c){const _0x19c883=_0x524f26,_0x10948c=typeof window>'u'?new URL(_0x3026d3):new URL(_0x3026d3,window['location']['origin']);_0x10948c[_0x19c883(0x204)][_0x19c883(0x231)](_0x19c883(0x2e6),_0x4b4e9c);const _0x5db142=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x5db142['get']('runId')&&_0x10948c[_0x19c883(0x204)][_0x19c883(0x231)](_0x19c883(0x18c),_0x5db142[_0x19c883(0x1fd)](_0x19c883(0x18c))),_0x10948c['toString']();}async['_getSessionTicket'](){const _0x4c4305=_0x524f26;var _0x1b907f,_0x50a16d,_0x15418c;const _0x429fa3=this['_configService']['getConfig'](_0x24dff4),_0xaf0df5=(_0x1b907f=_0x429fa3==null?void 0x0:_0x429fa3[_0x4c4305(0x151)])!=null?_0x1b907f:_0x374a7e;return(_0x15418c=(_0x50a16d=(await this[_0x4c4305(0x2c6)][_0x4c4305(0x1fd)](_0xaf0df5,{'headers':{'Content-Type':_0x4c4305(0x230)}}))['body'])==null?void 0x0:_0x50a16d[_0x4c4305(0x1af)])!=null?_0x15418c:'';}};it=gn([z(0x0,_0x50e226(_0x56c26b)),z(0x1,_0x50e226(_0x3452db)),z(0x2,_0x2e44c3),z(0x3,_0x185283),z(0x4,_0x26acb6)],it);var Lt=(_0x570bca=>(_0x570bca[_0x570bca[_0x524f26(0x195)]=0x0]=_0x524f26(0x195),_0x570bca[_0x570bca['OK']=0x1]='OK',_0x570bca[_0x570bca['INTERNAL_ERROR']=0x2]=_0x524f26(0x2e1),_0x570bca[_0x570bca[_0x524f26(0x123)]=0x3]=_0x524f26(0x123),_0x570bca[_0x570bca[_0x524f26(0x131)]=0x4]=_0x524f26(0x131),_0x570bca[_0x570bca['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x570bca[_0x570bca[_0x524f26(0x227)]=0x6]=_0x524f26(0x227),_0x570bca[_0x570bca['INVALID_ARGUMENT']=0x7]=_0x524f26(0x12d),_0x570bca[_0x570bca['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x570bca[_0x570bca[_0x524f26(0xf2)]=0x9]=_0x524f26(0xf2),_0x570bca[_0x570bca['LOGIN_FAILED']=0xa]=_0x524f26(0x22a),_0x570bca[_0x570bca[_0x524f26(0x13f)]=0xb]=_0x524f26(0x13f),_0x570bca[_0x570bca[_0x524f26(0x145)]=0xc]=_0x524f26(0x145),_0x570bca[_0x570bca['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x524f26(0x223),_0x570bca[_0x570bca[_0x524f26(0x2d5)]=0xe]=_0x524f26(0x2d5),_0x570bca[_0x570bca['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x524f26(0x243),_0x570bca[_0x570bca[_0x524f26(0x2ec)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x570bca[_0x570bca[_0x524f26(0x268)]=0x1772]=_0x524f26(0x268),_0x570bca[_0x570bca[_0x524f26(0x2b0)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x570bca[_0x570bca[_0x524f26(0x232)]=0x1b59]=_0x524f26(0x232),_0x570bca[_0x570bca[_0x524f26(0x228)]=0x1b5a]=_0x524f26(0x228),_0x570bca[_0x570bca[_0x524f26(0x17b)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x570bca[_0x570bca[_0x524f26(0x276)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x570bca[_0x570bca[_0x524f26(0x2f1)]=0x1b5d]=_0x524f26(0x2f1),_0x570bca[_0x570bca['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x570bca[_0x570bca[_0x524f26(0x191)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x570bca[_0x570bca[_0x524f26(0x2db)]=0x232a]=_0x524f26(0x2db),_0x570bca[_0x570bca[_0x524f26(0x1f3)]=0x232b]=_0x524f26(0x1f3),_0x570bca[_0x570bca['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x524f26(0x2ae),_0x570bca[_0x570bca[_0x524f26(0x25e)]=0x232d]=_0x524f26(0x25e),_0x570bca[_0x570bca[_0x524f26(0x1a9)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x570bca[_0x570bca[_0x524f26(0x236)]=0x2712]=_0x524f26(0x236),_0x570bca[_0x570bca[_0x524f26(0x257)]=0x2713]=_0x524f26(0x257),_0x570bca[_0x570bca[_0x524f26(0x237)]=0x2714]=_0x524f26(0x237),_0x570bca[_0x570bca['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x524f26(0xf8),_0x570bca[_0x570bca[_0x524f26(0x23e)]=0x271b]=_0x524f26(0x23e),_0x570bca[_0x570bca[_0x524f26(0x1d7)]=0x271c]=_0x524f26(0x1d7),_0x570bca[_0x570bca[_0x524f26(0x14a)]=0x271d]=_0x524f26(0x14a),_0x570bca[_0x570bca[_0x524f26(0x261)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x570bca[_0x570bca[_0x524f26(0x16d)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x570bca[_0x570bca['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x570bca[_0x570bca['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x570bca[_0x570bca['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x524f26(0x1ca),_0x570bca[_0x570bca[_0x524f26(0x25c)]=0x2ee2]=_0x524f26(0x25c),_0x570bca[_0x570bca[_0x524f26(0x2bf)]=0x2ee3]=_0x524f26(0x2bf),_0x570bca[_0x570bca[_0x524f26(0x27e)]=0x2ee4]=_0x524f26(0x27e),_0x570bca[_0x570bca['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x524f26(0x165),_0x570bca[_0x570bca['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x524f26(0x18b),_0x570bca[_0x570bca[_0x524f26(0x159)]=0x32ca]=_0x524f26(0x159),_0x570bca[_0x570bca[_0x524f26(0x156)]=0x32cb]=_0x524f26(0x156),_0x570bca[_0x570bca[_0x524f26(0x2a1)]=-0x1]=_0x524f26(0x2a1),_0x570bca))(Lt||{}),pn=Object[_0x524f26(0x233)],Cn=(_0x294eb1,_0x233af8,_0x1de80b,_0x1edd87)=>{const _0x4ab157=_0x524f26;for(var _0x1a2188=_0x1edd87>0x1?void 0x0:_0x1edd87?pn(_0x233af8,_0x1de80b):_0x233af8,_0x67dff0=_0x294eb1[_0x4ab157(0x28e)]-0x1,_0x14a282;_0x67dff0>=0x0;_0x67dff0--)(_0x14a282=_0x294eb1[_0x67dff0])&&(_0x1a2188=_0x14a282(_0x1a2188)||_0x1a2188);return _0x1a2188;},be=(_0x14e288,_0x393d0f)=>(_0x342bb6,_0x57bb5e)=>_0x393d0f(_0x342bb6,_0x57bb5e,_0x14e288);let nt=class extends _0x430c3f{constructor(_0x1e789e,_0x1dd3f0,_0x55974d){const _0xda5a08=_0x524f26;super(),this[_0xda5a08(0x184)]=_0x1e789e,this[_0xda5a08(0x2c6)]=_0x1dd3f0,this[_0xda5a08(0x146)]=_0x55974d;}async['runOnServer'](_0x4f20b9,_0x11d207,_0x4c8765,..._0x3256aa){const _0x237ba3=_0x524f26;var _0x5bd420,_0x594993,_0x16a25b,_0x4f9d1d;const _0x44a6fd=this[_0x237ba3(0x184)][_0x237ba3(0x221)]();if(!_0x44a6fd)throw new Error(_0x237ba3(0x194));const _0x7109c8=((_0x5bd420=this[_0x237ba3(0x146)]['getConfig'](_0x72f2d5))!=null?_0x5bd420:_0x1aee36)+'/'+_0x4f20b9+_0x237ba3(0x244)+_0x11d207,_0x1969f5=new URL(window['location'][_0x237ba3(0x107)]),_0x5ca679={'scriptId':_0x4f20b9,'runId':(_0x594993=_0x1969f5[_0x237ba3(0x204)]['get'](_0x237ba3(0x18c)))!=null?_0x594993:'','function':_0x11d207,'unitId':_0x44a6fd[_0x237ba3(0xf0)](),'argsOfFunction':JSON[_0x237ba3(0x13a)](_0x3256aa),'invokeId':(_0x16a25b=_0x4c8765[_0x237ba3(0x14b)])!=null?_0x16a25b:'','executionId':(_0x4f9d1d=_0x4c8765[_0x237ba3(0x18f)])!=null?_0x4f9d1d:''};try{const _0x576a90=await this['_httpService'][_0x237ba3(0x2e3)](_0x7109c8,{'body':_0x5ca679});return _0x576a90[_0x237ba3(0x210)][_0x237ba3(0x1ac)]&&_0x576a90[_0x237ba3(0x210)][_0x237ba3(0x1ac)]['code']!==Lt['OK']?'Failed':_0x576a90[_0x237ba3(0x210)][_0x237ba3(0x245)];}catch{return'Failed';}}};nt=Cn([be(0x0,_0x51fb22),be(0x1,_0x50e226(_0x3452db)),be(0x2,_0x2e44c3)],nt);const rt=0x7530,ot=_0x524f26(0x259);class Fn extends _0x430c3f{constructor(){const _0x511996=_0x524f26;super(),_(this,_0x511996(0x162),_0x5232f5()),_(this,'_selfUnitIDs',new Set()),_(this,_0x511996(0x258),new Map()),_(this,_0x511996(0x22c),null),_(this,_0x511996(0x1cf),new Map()),_(this,'_unitStatus',new Map()),this[_0x511996(0x260)]();}['dispose'](){const _0x230fbb=_0x524f26;super[_0x230fbb(0x1e9)](),this['_clearOtherTimers'][_0x230fbb(0x19a)]((_0x5026c3,_0x4d1c1b)=>this['_removeClearOtherTimer'](_0x4d1c1b)),this[_0x230fbb(0x22c)]&&window[_0x230fbb(0x278)](this[_0x230fbb(0x22c)]);}[_0x524f26(0x2a2)](_0x39e16c){const _0xd384ff=_0x524f26;return this[_0xd384ff(0x189)](_0x39e16c)[_0xd384ff(0xee)](_0x2b74c3());}[_0x524f26(0x262)](_0x356f23){const _0x476082=_0x524f26;this[_0x476082(0x1ff)][_0x476082(0x27b)]===0x0&&this[_0x476082(0x28d)](),this[_0x476082(0x1ff)][_0x476082(0x222)](_0x356f23),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x356f23],'isForwarded':!0x1});}[_0x524f26(0x293)](_0x4990fe){const _0x37a138=_0x524f26;this[_0x37a138(0x1ff)][_0x37a138(0xed)](_0x4990fe),this[_0x37a138(0x1ff)][_0x37a138(0x27b)]===0x0&&this[_0x37a138(0x22c)]&&window[_0x37a138(0x278)](this[_0x37a138(0x22c)]);}[_0x524f26(0x260)](){const _0x1d3e51=_0x524f26;this[_0x1d3e51(0x207)](_0x576d92(_0x1f263d(window,'storage')[_0x1d3e51(0x17a)](_0x1ff4c4=>{const _0x357357=_0x1d3e51;if(_0x1ff4c4[_0x357357(0x2f3)]!==ot||!_0x1ff4c4[_0x357357(0x182)])return;const _0x5680a5=JSON[_0x357357(0x208)](_0x1ff4c4['newValue']);this['_handleEvent'](_0x5680a5);}))),window[_0x1d3e51(0x24f)](_0x1d3e51(0x10c),()=>this['_send']({'type':0x1,'memberID':this[_0x1d3e51(0x162)],'unitIDs':Array[_0x1d3e51(0x2c4)](this[_0x1d3e51(0x1ff)])}));}[_0x524f26(0x1cb)](_0x1f5412){const _0x91425=_0x524f26;switch(_0x1f5412[_0x91425(0x22f)]){case 0x0:this[_0x91425(0x1b0)](_0x1f5412);break;case 0x1:this['_handleLeaveEvent'](_0x1f5412);break;case 0x2:this[_0x91425(0x2e9)](_0x1f5412);break;}}[_0x524f26(0x1b0)](_0x5edee8){const _0x1fb883=_0x524f26,{unitIDs:_0x1657ab,memberID:_0x510d46,isForwarded:_0x13a101}=_0x5edee8;_0x1657ab[_0x1fb883(0x19a)](_0x32a19e=>{const _0x2effb1=_0x1fb883;if(!_0x13a101&&this[_0x2effb1(0x258)][_0x2effb1(0x103)](_0x32a19e)&&this[_0x2effb1(0x189)](_0x32a19e)[_0x2effb1(0x1e1)](_0x1fe626[_0x2effb1(0x132)]),!this['_unitOnClients'][_0x2effb1(0x103)](_0x32a19e)||!this[_0x2effb1(0x258)][_0x2effb1(0x1fd)](_0x32a19e)[_0x2effb1(0x103)](_0x510d46)){const _0x13e612=this['_unitOnClients'][_0x2effb1(0x1fd)](_0x32a19e)||new Set();_0x13e612[_0x2effb1(0x222)](_0x510d46),this[_0x2effb1(0x258)]['set'](_0x32a19e,_0x13e612),this[_0x2effb1(0x148)](_0x510d46);}}),_0x13a101||this['_send']({'type':0x0,'memberID':this[_0x1fb883(0x162)],'unitIDs':[...this[_0x1fb883(0x1ff)]],'isForwarded':!0x0});}[_0x524f26(0x148)](_0x45b2b2){const _0x154394=_0x524f26;this[_0x154394(0x19c)](_0x45b2b2);const _0x216a05=window[_0x154394(0x2ee)](()=>{const _0x41b626=_0x154394;this[_0x41b626(0x258)]['forEach'](_0x31f3b8=>{const _0x33e117=_0x41b626;_0x31f3b8[_0x33e117(0xed)](_0x45b2b2);});},rt*0x2);this[_0x154394(0x1cf)]['set'](_0x45b2b2,_0x216a05);}[_0x524f26(0x19c)](_0xc31135){const _0x4acf65=_0x524f26;if(this[_0x4acf65(0x1cf)]['has'](_0xc31135)){const _0x3e48ec=this[_0x4acf65(0x1cf)][_0x4acf65(0x1fd)](_0xc31135);_0x3e48ec&&window[_0x4acf65(0x2b1)](_0x3e48ec),this[_0x4acf65(0x1cf)]['set'](_0xc31135,null);}}[_0x524f26(0x1de)](_0x546246){const _0x42482e=_0x524f26,{memberID:_0x277eca,unitIDs:_0x1e880d}=_0x546246;_0x1e880d['forEach'](_0x1e7043=>{const _0x578eba=_0x2688;var _0x50bcba;const _0x4112f6=this[_0x578eba(0x258)]['get'](_0x1e7043);_0x4112f6&&(_0x4112f6[_0x578eba(0xed)](_0x277eca),(_0x50bcba=this[_0x578eba(0x189)](_0x1e7043))==null||_0x50bcba['next'](_0x4112f6[_0x578eba(0x27b)]===0x0?_0x1fe626[_0x578eba(0x1fa)]:_0x1fe626[_0x578eba(0x132)]));}),this[_0x42482e(0x19c)](_0x277eca);}[_0x524f26(0x2e9)](_0x1708e1){const _0x31b2ae=_0x524f26;this[_0x31b2ae(0x148)](_0x1708e1['memberID']);}[_0x524f26(0x2cf)](_0x435cab){const _0x40c88b=_0x524f26;localStorage[_0x40c88b(0x16f)](ot,JSON[_0x40c88b(0x13a)](_0x435cab));}[_0x524f26(0x28d)](){const _0x2d03d3=_0x524f26;this['_heartbeatTimer']=window[_0x2d03d3(0x1c6)](()=>{const _0x1f4293=_0x2d03d3;this[_0x1f4293(0x2cf)]({'type':0x2,'memberID':this[_0x1f4293(0x162)]});},rt);}[_0x524f26(0x189)](_0x1ba13a){const _0x6cf8d7=_0x524f26;return this[_0x6cf8d7(0x2b2)]['has'](_0x1ba13a)||this['_unitStatus'][_0x6cf8d7(0x231)](_0x1ba13a,new _0x2f3fd2(_0x1fe626[_0x6cf8d7(0x1fa)])),this['_unitStatus'][_0x6cf8d7(0x1fd)](_0x1ba13a);}}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 _0x54b204=_0x1d22;(function(_0x2e2698,_0x136418){const _0x4450b6=_0x1d22,_0x592b00=_0x2e2698();while(!![]){try{const _0x4b3b1f=-parseInt(_0x4450b6(0x204))/0x1+parseInt(_0x4450b6(0x28c))/0x2+-parseInt(_0x4450b6(0x29a))/0x3+parseInt(_0x4450b6(0x367))/0x4*(-parseInt(_0x4450b6(0x3b3))/0x5)+parseInt(_0x4450b6(0x3b8))/0x6+parseInt(_0x4450b6(0x206))/0x7+parseInt(_0x4450b6(0x31d))/0x8;if(_0x4b3b1f===_0x136418)break;else _0x592b00['push'](_0x592b00['shift']());}catch(_0x5c390a){_0x592b00['push'](_0x592b00['shift']());}}}(_0xb77a,0x89e71));var xt=Object['defineProperty'],Bt=(_0x48e074,_0x55309d,_0x25eb16)=>_0x55309d in _0x48e074?xt(_0x48e074,_0x55309d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25eb16}):_0x48e074[_0x55309d]=_0x25eb16,_=(_0x53ea33,_0x45526c,_0x291b72)=>Bt(_0x53ea33,typeof _0x45526c!=_0x54b204(0x391)?_0x45526c+'':_0x45526c,_0x291b72);import{jsx as _0x366760,jsxs as _0x4d2601}from'react/jsx-runtime';import{CollaborationStatus as _0x284bb6,CollaborationSessionService as _0x11a03b,CollaborationController as _0x519227,DataLoaderService as _0x5a3ea7,MemberService as _0x5cfe13,SessionStatus as _0x3bb8af,ILocalCacheService as _0xc48228,CollaborationUIEventService as _0xcfee56,CollaborationUIEventId as _0x176ce1,DocCollaborationEntity as _0x325b13,getLocalCacheKey as _0x82b9e6,LOCAL_CACHE_INTERVAL as _0x121e19,LOCAL_CACHE_INTERVAL_KEY as _0x5b5bef,UniverCollaborationClientPlugin as _0x497c5c,CollaborationSocketService as _0x121e68,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1151cd,DEFAULT_WS_SESSION_TICKET_URL as _0x22d252,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2fb49f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3173a9,UnitStatus as _0x3320c8}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x38053a,IUniverInstanceService as _0x353b09,Inject as _0x564dc3,Injector as _0x4523b0,Disposable as _0x4dbb35,createIdentifier as _0x5efefa,ILogService as _0x4ae4b5,ICommandService as _0x627c2a,Optional as _0x12fc0a,RxDisposable as _0x1fdcdf,Workbook as _0x37f166,DOC_RANGE_TYPE as _0x3d8c47,debounce as _0x417bdc,Rectangle as _0xcb7282,DisposableCollection as _0x1822b0,toDisposable as _0x2dce4a,UniverInstanceType as _0x42b153,generateRandomId as _0x1fbd32,COLORS as _0x3554cb,ColorKit as _0x1fa32a,ThemeService as _0x5199de,fromEventSubject as _0x4bae0f,Tools as _0x585ba0,CommandType as _0xf5ba0e,IConfigService as _0x573d33,ILocalStorageService as _0x47cc68,DependentOn as _0x2c6589,Plugin as _0x4bdb08,merge as _0x86bf59,registerDependencies as _0x1592b2,mergeOverrideWithDependencies as _0x578e71,touchDependencies as _0x4b7cde}from'@univerjs/core';import{useObservable as _0x7aa4c0,useDependency as _0x348c8c,IUIPartsService as _0x4e8939,BuiltInUIPart as _0x3c68b7,connectInjector as _0x2697c4,IBeforeCloseService as _0x2d8f77,IMessageService as _0x2dff99,INotificationService as _0x2cfd19}from'@univerjs/ui';import{BehaviorSubject as _0x3e7b98,switchMap as _0x2ad325,of as _0x4f46b3,takeUntil as _0x4f79cf,debounceTime as _0x28b85f,Subject as _0x1fd513,filter as _0x5cfdf8,merge as _0x331290,combineLatest as _0x45bad2,fromEvent as _0x262a20,shareReplay as _0x205ffa,mapTo as _0x494858,distinctUntilChanged as _0x29eedb}from'rxjs';import{Tooltip as _0x2f7fc4,clsx as _0x56b7ce,MessageType as _0x23a90c}from'@univerjs/design';import{forwardRef as _0x24d212,useRef as _0x4d5885,createElement as _0x45f75b,useCallback as _0x481d84}from'react';import{IRemoteInstanceService as _0x192825}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x2862f7,RefRangeService as _0x416294,SetSelectionsOperation as _0x4bd2cd,SheetsSelectionsService as _0x43443d,EffectRefRangId as _0x1cc113,handleIRemoveRow as _0x5284a6,handleIRemoveCol as _0x47f8b9,handleMoveRange as _0x1883ff,handleInsertRow as _0x4be3e,handleInsertRangeMoveRight as _0x2593a0,handleInsertRangeMoveDown as _0x306176,handleInsertCol as _0x22232b,handleDeleteRangeMoveUp as _0x532f16,handleDeleteRangeMoveLeft as _0x233278,runRefRangeMutations as _0x492b22}from'@univerjs/sheets';import{Shape as _0x1f7265,Rect as _0x598847,getColor as _0x20fff4,RegularPolygon as _0xa9c792,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x332adc,Vector2 as _0x5ee37d,SHEET_VIEWPORT_KEY as _0x4e6e5c,IRenderManagerService as _0x368abc}from'@univerjs/engine-render';import{ISocketService as _0x27e693,WebSocketService as _0x3f5e61,HTTPService as _0x3b42d9}from'@univerjs/network';import{IDocClipboardService as _0x1fd62d,NodePositionConvertToCursor as _0x1fc625,NodePositionConvertToRectRange as _0x38ab7f,TEXT_RANGE_LAYER_INDEX as _0xe1dd3b,SetDocZoomRatioOperation as _0x2d89a5,DocIMEInputManagerService as _0x3763d0,DocStateChangeManagerService as _0x1941cb}from'@univerjs/docs-ui';import{IImageIoService as _0x10b012}from'@univerjs/drawing';import{ITransformService as _0x1dd84e,CollaborationEvent as _0x3334a9,isTransformMutationFailure as _0x39527b,isTransformMutationsWithChangesetSuccess as _0xf96115,RevisionService as _0x3dd31c,ISnapshotServerService as _0x3ddf6b}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x43a4e2,RichTextEditingMutation as _0x5e7f5d,DocSelectionManagerService as _0x3d26f6,DocSkeletonManagerService as _0x251911}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x17ef00,serializeRangeWithSheet as _0x46e175}from'@univerjs/engine-formula';import{map as _0x510b42,filter as _0x3473bf,throttleTime as _0x4a0314,takeUntil as _0x17b3cc,switchMap as _0x3571d7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x45f47a,getCoordByCell as _0x4df0fd,getSheetObject as _0x317b5b}from'@univerjs/sheets-ui';var v=function(){const _0x2dbd95=_0x54b204;return v=Object[_0x2dbd95(0x23d)]||function(_0x14faa0){const _0x262afa=_0x2dbd95;for(var _0x59e9ff,_0x3db37d=0x1,_0x20ea5e=arguments['length'];_0x3db37d<_0x20ea5e;_0x3db37d++){_0x59e9ff=arguments[_0x3db37d];for(var _0x5d1811 in _0x59e9ff)Object[_0x262afa(0x3d4)][_0x262afa(0x370)][_0x262afa(0x297)](_0x59e9ff,_0x5d1811)&&(_0x14faa0[_0x5d1811]=_0x59e9ff[_0x5d1811]);}return _0x14faa0;},v[_0x2dbd95(0x35c)](this,arguments);},ci=function(_0x1d4fa5,_0x6a2908){const _0x51d114=_0x54b204;var _0x4df47d={};for(var _0x306a00 in _0x1d4fa5)Object['prototype'][_0x51d114(0x370)][_0x51d114(0x297)](_0x1d4fa5,_0x306a00)&&_0x6a2908[_0x51d114(0x368)](_0x306a00)<0x0&&(_0x4df47d[_0x306a00]=_0x1d4fa5[_0x306a00]);if(_0x1d4fa5!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x146790=0x0,_0x306a00=Object['getOwnPropertySymbols'](_0x1d4fa5);_0x146790<_0x306a00[_0x51d114(0x26d)];_0x146790++)_0x6a2908[_0x51d114(0x368)](_0x306a00[_0x146790])<0x0&&Object[_0x51d114(0x3d4)][_0x51d114(0x31e)][_0x51d114(0x297)](_0x1d4fa5,_0x306a00[_0x146790])&&(_0x4df47d[_0x306a00[_0x146790]]=_0x1d4fa5[_0x306a00[_0x146790]]);}return _0x4df47d;},ke=_0x24d212(function(_0x30ef08,_0x1d7fc5){const _0x4f6d83=_0x54b204;var _0x3aba02=_0x30ef08[_0x4f6d83(0x31b)],_0x4b5379=_0x30ef08['id'],_0x4bfbda=_0x30ef08['className'],_0x5e7b7c=_0x30ef08[_0x4f6d83(0x3e4)],_0x4ff719=ci(_0x30ef08,[_0x4f6d83(0x31b),'id',_0x4f6d83(0x334),_0x4f6d83(0x3e4)]),_0x12fe6b=_0x4f6d83(0x24b)[_0x4f6d83(0x307)](_0x4b5379,'\x20')[_0x4f6d83(0x307)](_0x4bfbda||'')[_0x4f6d83(0x360)](),_0x47e3df=_0x4d5885('_'[_0x4f6d83(0x307)](hi()));return Rt(_0x3aba02,''[_0x4f6d83(0x307)](_0x4b5379),{'defIds':_0x3aba02[_0x4f6d83(0x390)],'idSuffix':_0x47e3df[_0x4f6d83(0x2fb)]},v({'ref':_0x1d7fc5,'className':_0x12fe6b},_0x4ff719),_0x5e7b7c);});function Rt(_0x45d693,_0x2815c3,_0x42b186,_0x27b247,_0x307da2){const _0x25dc86=_0x54b204;return _0x45f75b(_0x45d693[_0x25dc86(0x34e)],v(v({'key':_0x2815c3},li(_0x45d693,_0x42b186,_0x307da2)),_0x27b247),(_i(_0x45d693,_0x42b186)[_0x25dc86(0x376)]||[])[_0x25dc86(0x296)](function(_0x4dc04e,_0x52d8a7){const _0x4806ca=_0x25dc86;return Rt(_0x4dc04e,''[_0x4806ca(0x307)](_0x2815c3,'-')[_0x4806ca(0x307)](_0x45d693[_0x4806ca(0x34e)],'-')['concat'](_0x52d8a7),_0x42b186,void 0x0,_0x307da2);}));}function li(_0x2a169a,_0x178235,_0x2cb646){const _0x212b6f=_0x54b204;var _0x1c48e9=v({},_0x2a169a[_0x212b6f(0x291)]);_0x2cb646!=null&&_0x2cb646[_0x212b6f(0x29f)]&&_0x1c48e9[_0x212b6f(0x3c0)]===_0x212b6f(0x29f)&&(_0x1c48e9[_0x212b6f(0x3c0)]=_0x2cb646['colorChannel1']),_0x2a169a[_0x212b6f(0x34e)]===_0x212b6f(0x20b)&&_0x1c48e9['id']&&(_0x1c48e9['id']=_0x1c48e9['id']+_0x178235[_0x212b6f(0x221)]),Object[_0x212b6f(0x2d7)](_0x1c48e9)['forEach'](function(_0x459b02){const _0x3f92c7=_0x212b6f;var _0x13b837=_0x459b02[0x0],_0x3986ba=_0x459b02[0x1];_0x13b837==='mask'&&typeof _0x3986ba=='string'&&(_0x1c48e9[_0x13b837]=_0x3986ba[_0x3f92c7(0x2cd)](/url\(#(.*)\)/,'url(#$1'[_0x3f92c7(0x307)](_0x178235['idSuffix'],')')));});var _0x190f36=_0x178235[_0x212b6f(0x390)];return!_0x190f36||_0x190f36[_0x212b6f(0x26d)]===0x0||(_0x2a169a[_0x212b6f(0x34e)]==='use'&&_0x1c48e9[_0x212b6f(0x1fa)]&&(_0x1c48e9[_0x212b6f(0x1fa)]=_0x1c48e9['xlink:href']+_0x178235['idSuffix']),Object[_0x212b6f(0x2d7)](_0x1c48e9)[_0x212b6f(0x339)](function(_0x490620){const _0x275992=_0x212b6f;var _0x5a9861=_0x490620[0x0],_0x1b6c01=_0x490620[0x1];typeof _0x1b6c01==_0x275992(0x25f)&&(_0x1c48e9[_0x5a9861]=_0x1b6c01[_0x275992(0x2cd)](/url\(#(.*)\)/,_0x275992(0x3a5)[_0x275992(0x307)](_0x178235[_0x275992(0x221)],')')));})),_0x1c48e9;}function _i(_0x5c0416,_0x4b7720){const _0x3e6976=_0x54b204;var _0x4673a5,_0x59719a=_0x4b7720[_0x3e6976(0x390)];return!_0x59719a||_0x59719a[_0x3e6976(0x26d)]===0x0?_0x5c0416:_0x5c0416['tag']===_0x3e6976(0x21b)&&(!((_0x4673a5=_0x5c0416[_0x3e6976(0x376)])===null||_0x4673a5===void 0x0)&&_0x4673a5['length'])?v(v({},_0x5c0416),{'children':_0x5c0416['children'][_0x3e6976(0x296)](function(_0x437db1){const _0x37cacb=_0x3e6976;return typeof _0x437db1[_0x37cacb(0x291)]['id']==_0x37cacb(0x25f)&&_0x59719a&&_0x59719a['includes'](_0x437db1['attrs']['id'])?v(v({},_0x437db1),{'attrs':v(v({},_0x437db1[_0x37cacb(0x291)]),{'id':_0x437db1['attrs']['id']+_0x4b7720[_0x37cacb(0x221)]})}):_0x437db1;})}):_0x5c0416;}function hi(){const _0x58dedc=_0x54b204;return Math[_0x58dedc(0x2af)]()['toString'](0x24)[_0x58dedc(0x3c1)](0x2,0x8);}ke[_0x54b204(0x3b2)]=_0x54b204(0x357);var ui={'tag':_0x54b204(0x3ca),'attrs':{'xmlns':_0x54b204(0x293),'fill':_0x54b204(0x1f2),'viewBox':'0\x200\x2016\x2016','width':_0x54b204(0x2a4),'height':_0x54b204(0x2a4)},'children':[{'tag':'g','attrs':{'clipPath':_0x54b204(0x314)},'children':[{'tag':'path','attrs':{'stroke':_0x54b204(0x231),'d':_0x54b204(0x323),'strokeLinecap':_0x54b204(0x2c0),'strokeLinejoin':_0x54b204(0x2c0),'strokeWidth':1.2}}]},{'tag':_0x54b204(0x21b),'attrs':{},'children':[{'tag':_0x54b204(0x396),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x54b204(0x275),'attrs':{'fill':_0x54b204(0x3c9),'d':_0x54b204(0x24d)}}]}]}],'defIds':[_0x54b204(0x32c)]},Dt=_0x24d212(function(_0x2d5258,_0x1fe02f){const _0x32d22b=_0x54b204;return _0x45f75b(ke,Object['assign']({},_0x2d5258,{'id':_0x32d22b(0x3af),'ref':_0x1fe02f,'icon':ui}));});Dt[_0x54b204(0x3b2)]=_0x54b204(0x39b);function _0xb77a(){const _0x107e0f=['then','NO_OTHER_CLIENTS_EDITING','transformStateCache','_hideTimer','subscribeEvent','icon','YUUMI_ALL_TABLES_IS_INVALID','3752408NuKmkJ','propertyIsEnumerable','JOIN_ROOM_FAILED','session.connection-failed','type','USER_NOT_INVITED_CODE','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','YUUMI_UNABLE_LOAD_URL','_transformHistoryAndStateStack','send','getUndoRedoMutationParamsCache','transformMutation','requireSession','href','YUUMI_ASYNCIO_CANCELLED','off-line-icon_clip0_910_343','entityInit$','YUUMI_NO_CUBOID_FOR_QUESTION','getCurrentRevOfUnit','onPointerLeave$','_themeService','makeDirty','_status$','className','collabStatus.offline','onMouseMove','_instanceService','arc','forEach','INVALID_ARGUMENT','height','next','fillRule','div','_toggleOffline','clearTimeout','_localStorageService','_ensureSubject','MOBILE_VERIFY_CODE_MISMATCH','_initResize','_collaborationUIEventService','size','UNDEFINED','_getScale','getUniverSheetInstance','INVITE_CODE_ALREADY_BOUND','_logService','getRenderById','getItem','tag','executionId','ENSURE_SNAPSHOT_EXECUTION','deepClone','_cursorShapes','collab-rect-range-','getSheetId','getTypeOfUnitDisposed$','_registerDependencies','UniverIcon','body','_roomMembers$','_handleLeaveEvent','_clearOtherTimers','apply','UNIVER_DOC','PERMISSION_DENIED','_colorAssignService','trim','_handleJoinEvent','imageSourceType','...','getOwnPropertyDescriptor','subscribe','setParam','4234216jFCFrN','indexOf','getViewport','YUUMI_SUBSCRIPTION_NOT_FOUND','Error','startsWith','collaboration.closeRoom','_colorIndex','_shapes','hasOwnProperty','getRangePointData','_messageService','isArray','_drawTextRange','permission.content','children','UNRECOGNIZED','restore','addClipboardHook','_handleHover','CONFLICT','APPLY_PERMISSION_DENIED','endColumn','LOGIN_FAILED','dispose$','params','_initEntityListener','data','setItem','_collaborationController','origin','_anchor','transformRemoteChangeset','range','INVITE_CODE_HAS_BEEN_UES','m1Prime','_createSocketURL','_initCommandExecutedListener','_unitOnClients','roomMembers$','selections','defIds','symbol','createSocket','disposeWithMe','bottom','urlChange$','clipPath','_document','RemoveColCommandId','VIEW_MAIN','SUBMIT_CHANGESET_TIMEOUT','OffLineIcon','_entityInit$','APPLY_NON_SEQUENTIAL_REVISION','beginPath','_syncEditingCollabCursorService','cursorInfo','_transformPreviousActiveRange','_online','_draw','getConfig','url(#$1','UNIVER_SHEET','registerComponent','_collabCursorController','onStarting','location','black','row','setTimeout','fillText','off-line-icon','textRanges','_updateCollabCursors','displayName','5XrgeuC','NOT_FOUND','_session','search','asObservable','5263434ddaFBS','m2Prime','INTERNAL_ERROR','_transformUndoRedoStack','getCollabEntity$','OTHER_CLIENTS_EDITING','_scheduleHeartbeat','removeParam','fill','substring','color','event$','_getAnchorBounding','wsSessionTicketUrl','runId','_docClipboardService','createInstance','white','svg','pipe','getOffsetConfig','_id','collabStatus.notCollab','max','error','_heartbeatTimer','status$','NOT_COLLAB','prototype','_onRefRangeChange','_uiPartsService','_saveCache','getCurrent','AWAITING_WITH_PENDING','_refreshCollabCursors','_setupBeforeClosingHandler','disableLocalCache','init','YUUMI_URL_COL_OUT_OF_RANGE','updateOfflineData','blue.400','TOO_MANY_REQUESTS','getSkeleton','INVALID_INVITE_CODE','extend','transformIMECache','_initDependencies','_cachedData','0\x200\x2017\x2016','_dataLoaderService','_hover','name','_eventUnsubscribe','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getMemberID','_updateSubUnitFromURLParams','_context','addObject','doc.mutation.rich-text-editing','width','ONLINE','none','onPointerEnter$','getDocRanges','_anchorDot','toString','_startDocCollabCursor','_getMergeRange','_scheduleSaving','xlink:href','_getSheetObject','UNAUTHENTICATED','LICENSE_DISTRO_REJECTED','InsertRowCommandId','font','getCurrentSelections','defineProperty','OnLineIcon','_beforeCloseService','75572dMXFxx','_color','3822063SwpcOC','_labelPosition','getSheetBySheetId','popstate','ALREADY_EXISTS','mask','pushState','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','editingUnit','some','split','sessionTicket','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','_disabled','actions','hide','_hovered','MOBILE_HAS_BEEN_BOUND','executeCommand','stringify','_onCursorUpdate','defs','EMAIL_HAS_BEEN_BOUND','_doCreateSocket','disposeUnit','_entities','getActiveRange','idSuffix','MUTATION','USERS_LEAVE','application/json','_updateURLWithCurrentState','push','CHANGESET_REVISION_CONFILICT','collabStatus.conflict','values','exhaustSavingTask','all','_scheduleClearOtherTimer','result','currentTheme$','getActiveSheet','memberID','currentColor','_init','SOCKET_FAILED_RETRY','_transformService','CLOSE_ROOM','column','_send','getMember','lineTo','/run/','univer-flex\x20univer-items-center','undoState','assign','[CollaborationDataLoaderController]','_localCacheService','_getSessionTicket','getRelativeToViewportCoord','_imageIoService','_handleHeartbeatEvent','WECHAT_HAS_BEEN_BOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_commandService','isActive','uni.network.url-service','permission.title','_registerRenderDependencies','univerjs-icon\x20univerjs-icon-','getTypeOfUnitAdded$','M0\x200H16V16H0z','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collab-client.tooltip.reconnect','SNAPSHOT_INVALID_SNAPSHOT','SOCKET_FAILED','_unitStatus','collaboration-client.offline-data-not-saved','searchParams','onRendered','mutations','measureText','selection','syncEditingCollabCursor','SNAPSHOT_HAS_BEEN_REMOVED','getCollabCursors$','_docSkeletonManagerService','roomMembers','isEditing','string','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_injector','purple.300','_httpService','setConfig','pluginName','redoState','post','_textBubble','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','closePath','saveTaskMap','clearInterval','length','_docSkeleton','session.will-retry','_drawAnchor','InsertColCommandId','unitId','newValue','history','path','_backgroundColor','unitID','APPLY_DUPLICATED','_localeService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','add','_cursors','FromArray','COMPLETION_FINISHED','collabStatus.fetchMiss','UPDATE_CURSOR','EMAIL_VERIFY_CODE_MISMATCH','assignAColorForMemberID','jiqing.500','labelPosition','getStateCache','_cursorInfo$','PY_RUNTIME_SCRIPT_ERROR','_univerInstanceService','on-line-icon','with','collabCursorState$','644590oTMFwy','_removeCollabCursors','FETCH_MISS','findNodePositionByCharIndex','save','attrs','_getSaveTimeout','http://www.w3.org/2000/svg','registerRefRange','transformSelections','map','call','InsertRangeMoveRightCommandId','set','1546857oNwfWS','unload','getMergeData','PENDING','registerRenderModule','colorChannel1','_docTransformSelectionsService','saveImage','LICENSE_MAX_UNITS_EXCEEDED','setStateCache','1em','unsubscribe','_saveTaskMap','_collabCursorState$','_sheetSkeletonManagerService','has','getFocusedUnit','_onCursorDelete','_name','_notificationService','get','random','_range','_configService','top','#FFF','getUnitStatus$','_memberService','LICENSE_IMPORT_SIZE_EXCEEDED','RECT','_assignedColors','_scene','_renderManagerService','setShapeProps','_refRangeService','url(#on-line-icon_clip0_910_349)','_docTransformStateCacheService','transform','round','getValue','ACTIVE_UNIT_EVENT_CHANNEL','replaceState','collaboration.single-unit.warning','univer-mr-2\x20univer-flex\x20univer-text-xl','onTransformChange$','_drawRectRange','rgba(255,\x20255,\x20255,\x200.01)','endRow','_revisionService','_initStatusListener','getUnhiddenWorksheets','replace','YUUMI_RATE_OVER_LIMIT','_render','fillStyle','_updateLocalCursor','text','INVITE_CODE_REQUIRED','onCommandExecuted','_cursor','dispose','entries','subunit','getParam','cursorInfo$','red.300','delete','resize','debug','_initEvent','InsertRangeMoveDownCommandId','APPLY_REJECT','sheetID','invokeId','toRgbString','green.600','_toggleOnline','Unknown\x20user','_collabSessionService','collabStatus.syncing','_selfUnitIDs','setInterval','ranges','show','addEventListener','unit','ticket','transformMutationsWithChangeset','_removeClearOtherTimer','loadUnit','_config','_setupSubUnitSync','currentSkeleton$','sessionStatus$','focused$','unshift','AWAITING','current','_lastPointer','getCellPositionByOffset','Warning','loadOfflineData','on-line-icon_clip0_910_349','getVpScrollXYInfoByPosToVp','from','setAlpha','_startSheetCollabCursor','storage','OFFLINE','concat','CONNECTOR_DATA_TOO_LARGE','YUUMI_AI_RUN_FAILED','includes','collaboration-client-ui.config','getColorFromTheme','complete','addHandlerCallback','key','_urlService','Failed','translate(.97)','_docStateChangeManagerService','url(#off-line-icon_clip0_910_343)','getUnitId'];_0xb77a=function(){return _0x107e0f;};return _0xb77a();}var di={'tag':_0x54b204(0x3ca),'attrs':{'xmlns':_0x54b204(0x293),'fill':'none','viewBox':_0x54b204(0x1e5),'width':'1em','height':_0x54b204(0x2a4)},'children':[{'tag':'g','attrs':{'clipPath':_0x54b204(0x2bd)},'children':[{'tag':_0x54b204(0x275),'attrs':{'stroke':'currentColor','d':_0x54b204(0x212),'strokeLinecap':_0x54b204(0x2c0),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x54b204(0x21b),'attrs':{},'children':[{'tag':_0x54b204(0x396),'attrs':{'id':_0x54b204(0x300)},'children':[{'tag':_0x54b204(0x275),'attrs':{'fill':'white','d':_0x54b204(0x24d),'transform':_0x54b204(0x312)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x24d212(function(_0x12aa81,_0x3353bd){const _0x559bb7=_0x54b204;return _0x45f75b(ke,Object[_0x559bb7(0x23d)]({},_0x12aa81,{'id':_0x559bb7(0x289),'ref':_0x3353bd,'icon':di}));});Nt[_0x54b204(0x3b2)]=_0x54b204(0x202);function fi(_0x4eecf6){const _0x4ecfb0=_0x54b204;switch(_0x4eecf6){case _0x284bb6['OFFLINE']:return _0x4ecfb0(0x335);case _0x284bb6[_0x4ecfb0(0x37b)]:return _0x4ecfb0(0x228);case _0x284bb6[_0x4ecfb0(0x28e)]:return _0x4ecfb0(0x27f);case _0x284bb6['NOT_COLLAB']:return _0x4ecfb0(0x3ce);case _0x284bb6[_0x4ecfb0(0x2fa)]:case _0x284bb6[_0x4ecfb0(0x3d9)]:return _0x4ecfb0(0x2e9);case _0x284bb6['SYNCED']:case _0x284bb6[_0x4ecfb0(0x29d)]:return'collabStatus.synced';}}function Si(_0x208e80){const _0xa82a03=_0x54b204,{status$:_0x2baefb}=_0x208e80,_0x47c319=_0x7aa4c0(_0x2baefb,_0x284bb6['NOT_COLLAB']),_0x4e33aa=_0x348c8c(_0x38053a),_0x5c6f2d=_0x348c8c(_0x11a03b),_0x713396=_0x47c319!==_0x284bb6[_0xa82a03(0x306)],_0x4aaaf2=_0x4e33aa['t'](fi(_0x47c319)),_0x5a86f3=_0x713396?_0x366760(Nt,{}):_0x366760(Dt,{}),_0x5a0f85=_0x481d84(()=>{_0x713396||_0x5c6f2d['reconnect']();},[_0x713396,_0x5c6f2d]);function _0x109c53(){const _0x38ff7b=_0xa82a03;return _0x4d2601('div',{'className':_0x38ff7b(0x23b),'onClick':_0x5a0f85,'children':[_0x366760('div',{'className':_0x56b7ce(_0x38ff7b(0x2c5),{'univer-text-green-500':_0x713396,'univer-text-red-500':!_0x713396}),'children':_0x5a86f3}),_0x366760(_0x38ff7b(0x33e),{'className':_0x38ff7b(0x269),'children':_0x4aaaf2})]});}return _0x713396?_0x109c53():_0x366760(_0x2f7fc4,{'title':_0x4e33aa['t'](_0xa82a03(0x24f)),'children':_0x109c53()});}var mi=Object[_0x54b204(0x364)],Ii=(_0x55f651,_0x9d51eb,_0x300c19,_0x4f8444)=>{const _0x11a942=_0x54b204;for(var _0x189727=_0x4f8444>0x1?void 0x0:_0x4f8444?mi(_0x9d51eb,_0x300c19):_0x9d51eb,_0x34766a=_0x55f651[_0x11a942(0x26d)]-0x1,_0x1015db;_0x34766a>=0x0;_0x34766a--)(_0x1015db=_0x55f651[_0x34766a])&&(_0x189727=_0x1015db(_0x189727)||_0x189727);return _0x189727;},q=(_0x20223d,_0x1b6d5e)=>(_0x329e07,_0x2c69c6)=>_0x1b6d5e(_0x329e07,_0x2c69c6,_0x20223d);let se=class extends _0x4dbb35{constructor(_0x502de4,_0x22c4d1,_0x137034,_0x1bcc59){const _0x1bedff=_0x54b204;super(),_(this,'_status$',new _0x3e7b98(_0x284bb6[_0x1bedff(0x3d3)])),(this[_0x1bedff(0x288)]=_0x502de4,this[_0x1bedff(0x261)]=_0x22c4d1,this['_collaborationController']=_0x137034,this[_0x1bedff(0x3d6)]=_0x1bcc59,this['_initStatusComponent'](),this[_0x1bedff(0x2cb)]());}[_0x54b204(0x2cb)](){const _0x17e14d=_0x54b204;this[_0x17e14d(0x393)](this[_0x17e14d(0x288)][_0x17e14d(0x2f8)]['pipe'](_0x2ad325(()=>{const _0x77cbd8=_0x17e14d,_0x2aed6c=this[_0x77cbd8(0x288)][_0x77cbd8(0x2aa)]();return _0x2aed6c?this[_0x77cbd8(0x384)][_0x77cbd8(0x3bc)](_0x2aed6c[_0x77cbd8(0x315)]()):_0x4f46b3(null);}),_0x2ad325(_0x30ae94=>_0x30ae94?_0x30ae94[_0x17e14d(0x3d2)]:_0x4f46b3(_0x284bb6[_0x17e14d(0x3d3)])))[_0x17e14d(0x365)](_0x51d94a=>{const _0x4272eb=_0x17e14d;this[_0x4272eb(0x333)][_0x4272eb(0x33c)](_0x51d94a);}));}['_initStatusComponent'](){const _0x34c7f6=_0x54b204;this[_0x34c7f6(0x393)](this[_0x34c7f6(0x3d6)][_0x34c7f6(0x3a7)](_0x3c68b7['HEADER_MENU'],()=>_0x2697c4(vi({'status$':this['_status$'][_0x34c7f6(0x3b7)]()}),this[_0x34c7f6(0x261)])));}};se=Ii([q(0x0,_0x353b09),q(0x1,_0x564dc3(_0x4523b0)),q(0x2,_0x564dc3(_0x519227)),q(0x3,_0x4e8939)],se);function vi(_0x376892){const {status$:_0x4221fa}=_0x376892;return function(){return _0x366760(Si,{'status$':_0x4221fa});};}const Ut=_0x5efefa(_0x54b204(0x248));var gi=Object[_0x54b204(0x364)],pi=(_0x21a41a,_0x58e948,_0x517625,_0x58ddcb)=>{for(var _0x409eaf=_0x58ddcb>0x1?void 0x0:_0x58ddcb?gi(_0x58e948,_0x517625):_0x58e948,_0x2a7791=_0x21a41a['length']-0x1,_0x3f1cfe;_0x2a7791>=0x0;_0x2a7791--)(_0x3f1cfe=_0x21a41a[_0x2a7791])&&(_0x409eaf=_0x3f1cfe(_0x409eaf)||_0x409eaf);return _0x409eaf;},G=(_0x27af90,_0x5bd514)=>(_0x4ca574,_0x1d673f)=>_0x5bd514(_0x4ca574,_0x1d673f,_0x27af90);let ie=class extends _0x1fdcdf{constructor(_0x29e6df,_0xf0230c,_0x4e602f,_0x4d59ee,_0x294e70){const _0x17eab3=_0x54b204;super(),this['_urlService']=_0x29e6df,this[_0x17eab3(0x34b)]=_0xf0230c,this[_0x17eab3(0x246)]=_0x4e602f,this[_0x17eab3(0x1e6)]=_0x4d59ee,_0x294e70?_0x294e70==null||_0x294e70['whenReady']()[_0x17eab3(0x316)](()=>this[_0x17eab3(0x232)]()):(this[_0x17eab3(0x34b)][_0x17eab3(0x2de)](_0x17eab3(0x23e),_0x17eab3(0x1ea)),this['_init']());}async[_0x54b204(0x232)](){const _0x344833=_0x54b204,_0x563252=this[_0x344833(0x310)][_0x344833(0x2d9)](_0x344833(0x2ef)),_0x440ca8=this[_0x344833(0x310)]['getParam'](_0x344833(0x321)),_0x508afa=this[_0x344833(0x310)][_0x344833(0x2d9)](_0x344833(0x2d8));if(!_0x563252||!_0x440ca8){this['_logService'][_0x344833(0x2de)](_0x344833(0x23e),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x5bd414=await this['_dataLoaderService'][_0x344833(0x2f3)](_0x563252,Number(_0x440ca8),_0x508afa);_0x5bd414&&_0x5bd414 instanceof _0x37f166&&this[_0x344833(0x2f5)](_0x5bd414);}async[_0x54b204(0x2f5)](_0x3eb599){const _0x54ba05=_0x54b204;await this[_0x54ba05(0x1ec)](_0x3eb599),_0x3eb599['activeSheet$'][_0x54ba05(0x3cb)](_0x4f79cf(this['dispose$']))['subscribe'](_0xde2c67=>{const _0x1c432d=_0x54ba05;_0xde2c67&&this[_0x1c432d(0x225)](_0xde2c67);}),this[_0x54ba05(0x310)][_0x54ba05(0x395)]['pipe'](_0x4f79cf(this['dispose$']))['subscribe'](()=>this[_0x54ba05(0x1ec)](_0x3eb599));}['_updateURLWithCurrentState'](_0x7b5ff0,_0x307c1d=!0x1){const _0x31053b=_0x54b204,_0x776774=this[_0x31053b(0x310)][_0x31053b(0x2d9)](_0x31053b(0x2d8));_0x7b5ff0['getSheetId']()!==_0x776774&&this['_urlService']['setParam'](_0x31053b(0x2d8),_0x7b5ff0['getSheetId'](),_0x307c1d);}async[_0x54b204(0x1ec)](_0x41bf06){const _0x39e633=_0x54b204;var _0x524c0b;const _0x50ed86=this['_urlService'][_0x39e633(0x2d9)](_0x39e633(0x2d8));if(!_0x50ed86||!_0x41bf06[_0x39e633(0x208)](_0x50ed86)){const _0x4774b3=_0x41bf06[_0x39e633(0x2cc)]()[0x0],_0x1547c4=_0x41bf06[_0x39e633(0x208)](_0x4774b3);if(!_0x1547c4)return;this['_updateURLWithCurrentState'](_0x1547c4,!0x0),await this[_0x39e633(0x246)][_0x39e633(0x218)](_0x2862f7['id'],{'unitId':_0x41bf06['getUnitId'](),'subUnitId':_0x4774b3});return;}((_0x524c0b=_0x41bf06[_0x39e633(0x22f)]())==null?void 0x0:_0x524c0b[_0x39e633(0x354)]())!==_0x50ed86&&await this[_0x39e633(0x246)]['executeCommand'](_0x2862f7['id'],{'unitId':_0x41bf06['getUnitId'](),'subUnitId':_0x50ed86});}};ie=pi([G(0x0,Ut),G(0x1,_0x4ae4b5),G(0x2,_0x627c2a),G(0x3,_0x564dc3(_0x5a3ea7)),G(0x4,_0x12fc0a(_0x192825))],ie);var Ci=Object[_0x54b204(0x364)],Ei=(_0x9d145e,_0x50cd77,_0x2f8bec,_0x4b6caf)=>{const _0x9f627=_0x54b204;for(var _0x40b119=_0x4b6caf>0x1?void 0x0:_0x4b6caf?Ci(_0x50cd77,_0x2f8bec):_0x50cd77,_0x3ef4dc=_0x9d145e[_0x9f627(0x26d)]-0x1,_0x53f2c5;_0x3ef4dc>=0x0;_0x3ef4dc--)(_0x53f2c5=_0x9d145e[_0x3ef4dc])&&(_0x40b119=_0x53f2c5(_0x40b119)||_0x40b119);return _0x40b119;},Je=(_0x44bb9e,_0x19b86b)=>(_0x58a9a0,_0x279055)=>_0x19b86b(_0x58a9a0,_0x279055,_0x44bb9e);let Ne=class extends _0x1fdcdf{constructor(_0x20598d,_0x3abfd1){const _0xae154a=_0x54b204;super(),this[_0xae154a(0x3c7)]=_0x20598d,this[_0xae154a(0x242)]=_0x3abfd1,this[_0xae154a(0x232)]();}[_0x54b204(0x232)](){const _0xfe1e09=_0x54b204,_0x313d37=this;this[_0xfe1e09(0x393)](this[_0xfe1e09(0x3c7)][_0xfe1e09(0x379)]({'onBeforePasteImage':async _0x9706e8=>{const _0x22faf3=_0xfe1e09,_0x2ee162=await _0x313d37[_0x22faf3(0x242)][_0x22faf3(0x2a1)](_0x9706e8);return _0x2ee162?{'source':_0x2ee162['source'],'imageSourceType':_0x2ee162[_0x22faf3(0x362)]}:null;}}));}};Ne=Ei([Je(0x0,_0x1fd62d),Je(0x1,_0x10b012)],Ne);const Ze=[_0x54b204(0x262),_0x54b204(0x283),_0x54b204(0x2e5),_0x54b204(0x2db),_0x54b204(0x3e0),'yellow.400'];class He extends _0x4dbb35{constructor(){const _0x166e34=_0x54b204;super(...arguments),_(this,_0x166e34(0x2b8),new Map()),_(this,_0x166e34(0x36e),0x0);}[_0x54b204(0x282)](_0x1dd792){const _0x4ca58a=_0x54b204;if(this[_0x4ca58a(0x2b8)][_0x4ca58a(0x2a9)](_0x1dd792))return this[_0x4ca58a(0x2b8)]['get'](_0x1dd792);const _0x57d134=Ze[this[_0x4ca58a(0x36e)]];return this[_0x4ca58a(0x36e)]=(this['_colorIndex']+0x1)%Ze[_0x4ca58a(0x26d)],this[_0x4ca58a(0x2b8)][_0x4ca58a(0x299)](_0x1dd792,_0x57d134),_0x57d134;}}function Mt(_0x187e91){const _0x295e65=_0x54b204;let _0x4ddf3e='';for(const _0x582595 of _0x187e91){const {startOffset:_0x14136a,endOffset:_0x529f80,isActive:_0x51c9d1,rangeType:_0x5b4b04,segmentId:_0x4e424e,segmentPage:_0x2e2ae0}=_0x582595;_0x4ddf3e[_0x295e65(0x26d)]&&(_0x4ddf3e+=','),_0x4ddf3e+=_0x14136a+':'+_0x529f80+':'+(_0x51c9d1?'1':'0')+':'+_0x5b4b04+':'+_0x4e424e+':'+_0x2e2ae0;}return _0x4ddf3e;}function Oi(_0x265115){const _0x3589d1=_0x54b204,_0x140c69=_0x265115[_0x3589d1(0x210)](','),_0x2427f4=[];for(const _0x31c4e4 of _0x140c69){const [_0x250c08,_0x102ea5,_0x3538a8,_0x4a34d7,_0x269e90,_0x41e7c4]=_0x31c4e4[_0x3589d1(0x210)](':');_0x2427f4[_0x3589d1(0x226)]({'startOffset':Number(_0x250c08),'endOffset':Number(_0x102ea5),'collapsed':_0x250c08===_0x102ea5,'isActive':_0x3538a8==='1','rangeType':_0x4a34d7===_0x3d8c47['TEXT']?_0x3d8c47['TEXT']:_0x3d8c47[_0x3589d1(0x2b7)],'segmentId':typeof _0x269e90=='string'?String(_0x269e90):'','segmentPage':Number(_0x41e7c4!=null?_0x41e7c4:-0x1)});}return _0x2427f4[_0x3589d1(0x20f)](_0x5a7ae4=>_0x5a7ae4[_0x3589d1(0x247)])||(_0x2427f4[0x0][_0x3589d1(0x247)]=!0x0),_0x2427f4;}class Fe extends _0x1fdcdf{constructor(){const _0x1eb35a=_0x54b204;super(...arguments),_(this,_0x1eb35a(0x2a7),new _0x3e7b98(null)),_(this,_0x1eb35a(0x28b),this[_0x1eb35a(0x2a7)][_0x1eb35a(0x3b7)]());}['syncEditingCollabCursor'](_0x5d2613){const _0x462357=_0x54b204,{unitID:_0xe65d2f,memberID:_0x510c6c,textRanges:_0x418f20}=_0x5d2613,_0x356bf2=Mt(_0x418f20);if(_0x356bf2==='')return;const _0x2b0cad={'unitID':_0xe65d2f,'memberID':_0x510c6c,'selection':_0x356bf2};this[_0x462357(0x2a7)][_0x462357(0x33c)](_0x2b0cad);}}var bi=Object[_0x54b204(0x364)],Ti=(_0xd87a85,_0x35e759,_0x1ed9b5,_0x23f749)=>{const _0x13dcc5=_0x54b204;for(var _0x13bc11=_0x23f749>0x1?void 0x0:_0x23f749?bi(_0x35e759,_0x1ed9b5):_0x35e759,_0x2157b4=_0xd87a85[_0x13dcc5(0x26d)]-0x1,_0x174d9f;_0x2157b4>=0x0;_0x2157b4--)(_0x174d9f=_0xd87a85[_0x2157b4])&&(_0x13bc11=_0x174d9f(_0x13bc11)||_0x13bc11);return _0x13bc11;},P=(_0x3a86cd,_0x1c0d39)=>(_0x39ee57,_0xa7fcee)=>_0x1c0d39(_0x39ee57,_0xa7fcee,_0x3a86cd);const Ri=0x12c,Di=0x64;let Ue=class extends _0x1fdcdf{constructor(_0x4ab751,_0x3b0463,_0x538e5e,_0x535dd9,_0x485c1d,_0xe252d1,_0x476725,_0x505a21,_0x4706b7){const _0x1228a4=_0x54b204;super(),_(this,_0x1228a4(0x3a2),!0x1),_(this,_0x1228a4(0x232),!0x1),_(this,'_cursorInfo$',new _0x3e7b98(new Map())),_(this,'cursorInfo$',this[_0x1228a4(0x286)]['asObservable']()),_(this,'_roomMembers$',new _0x3e7b98([])),_(this,_0x1228a4(0x38e),this[_0x1228a4(0x359)]['pipe'](_0x28b85f(Ri))),_(this,_0x1228a4(0x2d1),_0x417bdc(_0x20ca84=>{const _0x38e372=_0x1228a4,_0x185fc5={'eventID':_0x3334a9[_0x38e372(0x280)],'data':{'unitID':this[_0x38e372(0x277)],'memberID':this[_0x38e372(0x3b5)][_0x38e372(0x1eb)](),'selection':Mt(_0x20ca84)}};this[_0x38e372(0x3b5)]['send'](_0x185fc5,this[_0x38e372(0x277)]);},Di)),(this[_0x1228a4(0x277)]=_0x4ab751,this[_0x1228a4(0x3b5)]=_0x3b0463,this[_0x1228a4(0x261)]=_0x538e5e,this[_0x1228a4(0x35f)]=_0x535dd9,this[_0x1228a4(0x2b5)]=_0x485c1d,this[_0x1228a4(0x39f)]=_0xe252d1,this['_transformService']=_0x476725,this[_0x1228a4(0x288)]=_0x505a21,this[_0x1228a4(0x246)]=_0x4706b7);}get['cursorInfo'](){const _0x2df7f1=_0x54b204;return this[_0x2df7f1(0x286)][_0x2df7f1(0x2c1)]();}get[_0x54b204(0x25d)](){const _0x2ad704=_0x54b204;return this[_0x2ad704(0x359)][_0x2ad704(0x2c1)]();}[_0x54b204(0x2d6)](){const _0x17b936=_0x54b204;super['dispose'](),this[_0x17b936(0x286)][_0x17b936(0x33c)](new Map()),this[_0x17b936(0x286)][_0x17b936(0x30d)](),this[_0x17b936(0x359)][_0x17b936(0x33c)]([]),this[_0x17b936(0x359)]['complete']();}['init'](){const _0x5c3464=_0x54b204;this[_0x5c3464(0x232)]||(this[_0x5c3464(0x232)]=!0x0,this[_0x5c3464(0x3b5)][_0x5c3464(0x2f7)][_0x5c3464(0x3cb)](_0x4f79cf(this[_0x5c3464(0x37f)]))[_0x5c3464(0x365)](_0x469868=>{const _0x3ae0a5=_0x5c3464;_0x469868===_0x3bb8af[_0x3ae0a5(0x1f1)]?this[_0x3ae0a5(0x2e6)]():this[_0x3ae0a5(0x33f)]();}),this['_session'][_0x5c3464(0x3c3)]['pipe'](_0x4f79cf(this['dispose$']))['subscribe'](_0x77e0bc=>{const _0x26b882=_0x5c3464,_0x71b454=_0x77e0bc['eventID'];_0x71b454===_0x3334a9['UPDATE_CURSOR']&&this[_0x26b882(0x21a)](_0x77e0bc),_0x71b454===_0x3334a9[_0x26b882(0x223)]&&this[_0x26b882(0x2ab)](_0x77e0bc);}),this[_0x5c3464(0x393)](this[_0x5c3464(0x246)][_0x5c3464(0x2d4)](_0x35f2b9=>{const _0x1ae7f9=_0x5c3464,_0xcb8bf3=_0x35f2b9[_0x1ae7f9(0x380)];_0xcb8bf3!=null&&this[_0x1ae7f9(0x3a2)]&&_0x35f2b9['id']===_0x43a4e2['id']&&_0xcb8bf3['unitId']===this['unitID']&&_0xcb8bf3[_0x1ae7f9(0x25e)]===!0x1&&_0xcb8bf3[_0x1ae7f9(0x2ec)]['length']>0x0&&this[_0x1ae7f9(0x2d1)](_0xcb8bf3[_0x1ae7f9(0x2ec)]);})),this['_syncEditingCollabCursorService'][_0x5c3464(0x28b)]['pipe'](_0x4f79cf(this[_0x5c3464(0x37f)]))[_0x5c3464(0x365)](_0x48eca6=>{const _0x435edf=_0x5c3464;if((_0x48eca6==null?void 0x0:_0x48eca6[_0x435edf(0x277)])!==this[_0x435edf(0x277)])return;const _0x5c9387={'eventID':_0x3334a9[_0x435edf(0x280)],'data':_0x48eca6};this[_0x435edf(0x21a)](_0x5c9387);}),this[_0x5c3464(0x393)](this[_0x5c3464(0x246)]['onCommandExecuted'](_0x1d1b8a=>{const _0x5d9a5c=_0x5c3464;if(_0x1d1b8a['params']==null)return;const _0x417809=_0x1d1b8a[_0x5d9a5c(0x380)];if(_0x1d1b8a['id']!==_0x5e7f5d['id']||_0x417809[_0x5d9a5c(0x272)]!==this['unitID'])return;const _0x455afa={'id':_0x5d9a5c(0x1ef),'params':_0x417809},_0x4271ae=this['cursorInfo'];for(const [_0x393363,_0x2107f6]of _0x4271ae){const _0x129eb4={'id':_0x5d9a5c(0x1ef),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2107f6[_0x5d9a5c(0x2ec)]}},_0x59ede1=this[_0x5d9a5c(0x234)][_0x5d9a5c(0x328)](_0x455afa,_0x129eb4,!0x1);if(_0x39527b(_0x59ede1))throw _0x59ede1[_0x5d9a5c(0x3d0)];_0x4271ae[_0x5d9a5c(0x299)](_0x393363,{..._0x2107f6,'ranges':_0x59ede1[_0x5d9a5c(0x3b9)][_0x5d9a5c(0x380)]['textRanges']});}queueMicrotask(()=>{const _0x19b062=_0x5d9a5c;this['_cursorInfo$'][_0x19b062(0x33c)](_0x4271ae);});})));}[_0x54b204(0x21a)](_0xefd4b8){const _0x556d38=_0x54b204;var _0x3b3f68,_0x27beda;const {memberID:_0x45a6b2,selection:_0x3a50b2}=_0xefd4b8[_0x556d38(0x382)],_0x402c30=Oi(_0x3a50b2),_0x10d14c=(_0x27beda=(_0x3b3f68=this[_0x556d38(0x2b5)][_0x556d38(0x238)](this[_0x556d38(0x277)],_0x45a6b2))==null?void 0x0:_0x3b3f68[_0x556d38(0x1e8)])!=null?_0x27beda:_0x556d38(0x2e7),_0x4a9d57={'color':this['_colorAssignService'][_0x556d38(0x282)](_0x45a6b2),'name':_0x10d14c,'ranges':_0x402c30},_0x54ed3c=this['cursorInfo'];_0x54ed3c[_0x556d38(0x299)](_0x45a6b2,_0x4a9d57),this[_0x556d38(0x286)]['next'](_0x54ed3c);}['_onCursorDelete'](_0x4f49c3){const _0x229b89=_0x54b204,{memberID:_0x41cf93}=_0x4f49c3[_0x229b89(0x382)],_0x266f7e=this['cursorInfo'];_0x266f7e[_0x229b89(0x2dc)](_0x41cf93),this['_cursorInfo$'][_0x229b89(0x33c)](_0x266f7e);}[_0x54b204(0x2e6)](){const _0x2e8308=_0x54b204;var _0x35a043;if(this[_0x2e8308(0x3a2)]=!0x0,((_0x35a043=this[_0x2e8308(0x288)][_0x2e8308(0x2aa)]())==null?void 0x0:_0x35a043[_0x2e8308(0x315)]())!==this[_0x2e8308(0x277)])return;const _0x4b18c8=this[_0x2e8308(0x261)][_0x2e8308(0x2ae)](_0x3d26f6)[_0x2e8308(0x1f4)]();Array[_0x2e8308(0x373)](_0x4b18c8)&&_0x4b18c8[_0x2e8308(0x26d)]>0x0&&this[_0x2e8308(0x2d1)](_0x4b18c8);}['_toggleOffline'](){const _0x25093b=_0x54b204;this[_0x25093b(0x3a2)]=!0x1;}};Ue=Ti([P(0x2,_0x564dc3(_0x4523b0)),P(0x3,_0x564dc3(He)),P(0x4,_0x564dc3(_0x5cfe13)),P(0x5,_0x564dc3(Fe)),P(0x6,_0x1dd84e),P(0x7,_0x353b09),P(0x8,_0x627c2a)],Ue);var Ni=Object[_0x54b204(0x364)],Ui=(_0x319c70,_0x331ba9,_0x2a4026,_0x12411d)=>{const _0x310439=_0x54b204;for(var _0x23f864=_0x12411d>0x1?void 0x0:_0x12411d?Ni(_0x331ba9,_0x2a4026):_0x331ba9,_0x4ed57f=_0x319c70[_0x310439(0x26d)]-0x1,_0x4892c7;_0x4ed57f>=0x0;_0x4ed57f--)(_0x4892c7=_0x319c70[_0x4ed57f])&&(_0x23f864=_0x4892c7(_0x23f864)||_0x23f864);return _0x23f864;},x=(_0x1f2766,_0x76f4a2)=>(_0x5b1f3a,_0x12354a)=>_0x76f4a2(_0x5b1f3a,_0x12354a,_0x1f2766);const Mi=0x12c,Li=0x64,Pi=()=>{let _0x4c9229=[],_0x182212=!0x1;return _0x11ab56=>{const _0x56e4d0=_0x1d22;_0x4c9229[_0x56e4d0(0x226)](_0x11ab56),_0x182212||(_0x182212=!0x0,setTimeout(()=>{const _0x1b1257=_0x56e4d0;_0x4c9229[_0x1b1257(0x339)](_0x275609=>_0x275609()),_0x4c9229=[],_0x182212=!0x1;}));};};let Me=class extends _0x1fdcdf{constructor(_0x20ab49,_0x67aa23,_0xf4cd83,_0x5bc940,_0x4aff19,_0x1143ab,_0x13427d,_0x4969ef){const _0x4f22a3=_0x54b204;super(),_(this,_0x4f22a3(0x3a2),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x3e7b98(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x4f22a3(0x359),new _0x3e7b98([])),_(this,_0x4f22a3(0x38e),this[_0x4f22a3(0x359)][_0x4f22a3(0x3cb)](_0x28b85f(Mi))),_(this,_0x4f22a3(0x2d1),_0x417bdc((_0x169c14,_0x425d4d)=>{const _0x317be5=_0x4f22a3,_0x542de3={'eventID':_0x3334a9[_0x317be5(0x280)],'data':{'unitID':this[_0x317be5(0x277)],'memberID':this[_0x317be5(0x3b5)][_0x317be5(0x1eb)](),'selection':_0x46e175(_0x169c14,_0x425d4d['range'])}};this[_0x317be5(0x3b5)][_0x317be5(0x326)](_0x542de3,this[_0x317be5(0x277)]);},Li)),(this[_0x4f22a3(0x277)]=_0x20ab49,this[_0x4f22a3(0x3b5)]=_0x67aa23,this['_injector']=_0xf4cd83,this[_0x4f22a3(0x35f)]=_0x5bc940,this['_memberService']=_0x4aff19,this[_0x4f22a3(0x288)]=_0x1143ab,this[_0x4f22a3(0x246)]=_0x13427d,this[_0x4f22a3(0x2bc)]=_0x4969ef);}get[_0x54b204(0x3a0)](){const _0x42ffb1=_0x54b204;return this[_0x42ffb1(0x286)][_0x42ffb1(0x2c1)]();}get['roomMembers'](){const _0x102409=_0x54b204;return this[_0x102409(0x359)][_0x102409(0x2c1)]();}[_0x54b204(0x2d6)](){const _0x5af410=_0x54b204;super[_0x5af410(0x2d6)](),this[_0x5af410(0x286)][_0x5af410(0x33c)](new Map()),this[_0x5af410(0x286)][_0x5af410(0x30d)](),this[_0x5af410(0x359)][_0x5af410(0x33c)]([]),this[_0x5af410(0x359)][_0x5af410(0x30d)]();}[_0x54b204(0x3dd)](){const _0x42cf48=_0x54b204;this[_0x42cf48(0x232)]||(this[_0x42cf48(0x232)]=!0x0,this[_0x42cf48(0x3b5)][_0x42cf48(0x2f7)][_0x42cf48(0x3cb)](_0x4f79cf(this['dispose$']))[_0x42cf48(0x365)](_0x3738b5=>{const _0x5749f8=_0x42cf48;_0x3738b5===_0x3bb8af[_0x5749f8(0x1f1)]?this[_0x5749f8(0x2e6)]():this[_0x5749f8(0x33f)]();}),this[_0x42cf48(0x3b5)][_0x42cf48(0x3c3)]['pipe'](_0x4f79cf(this['dispose$']))[_0x42cf48(0x365)](_0x13981a=>{const _0xd7973a=_0x42cf48,_0x32dcbd=_0x13981a['eventID'];_0x32dcbd===_0x3334a9['UPDATE_CURSOR']&&this[_0xd7973a(0x21a)](_0x13981a),_0x32dcbd===_0x3334a9[_0xd7973a(0x223)]&&this[_0xd7973a(0x2ab)](_0x13981a);}),this[_0x42cf48(0x3d5)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0xefb30e=>{const _0xb9402=_0x42cf48;if(this[_0xb9402(0x3a2)]&&_0xefb30e['id']===_0x4bd2cd['id']&&_0xefb30e['params'][_0xb9402(0x272)]===this[_0xb9402(0x277)]){const _0x5cd49c=_0xefb30e['params'];this[_0xb9402(0x2d1)](_0x5cd49c['subUnitId'],_0x5cd49c[_0xb9402(0x38f)][0x0]);}})));}[_0x54b204(0x21a)](_0xebdc56){const _0x500f4e=_0x54b204;var _0x21ecb9,_0x1edcde;const {memberID:_0x46ae34,selection:_0x5c7d2f}=_0xebdc56[_0x500f4e(0x382)],{sheetName:_0x1b0274,range:_0x3da786}=_0x17ef00(_0x5c7d2f),_0x26a8a3={'name':(_0x1edcde=(_0x21ecb9=this[_0x500f4e(0x2b5)][_0x500f4e(0x238)](this['unitID'],_0x46ae34))==null?void 0x0:_0x21ecb9['name'])!=null?_0x1edcde:_0x500f4e(0x2e7),'range':this['_getMergeRange'](_0x1b0274,_0x3da786),'sheetID':_0x1b0274,'color':this[_0x500f4e(0x35f)]['assignAColorForMemberID'](_0x46ae34),'selection':_0x5c7d2f},_0x3d82aa=this[_0x500f4e(0x3a0)];_0x3d82aa[_0x500f4e(0x299)](_0x46ae34,_0x26a8a3),this[_0x500f4e(0x286)][_0x500f4e(0x33c)](_0x3d82aa);}[_0x54b204(0x2ab)](_0x2d610e){const _0x426198=_0x54b204,{memberID:_0x4931ab}=_0x2d610e[_0x426198(0x382)],_0x1bdba0=this['cursorInfo'];_0x1bdba0[_0x426198(0x2dc)](_0x4931ab),this[_0x426198(0x286)]['next'](_0x1bdba0);}[_0x54b204(0x1f8)](_0x28180f,_0x5ef73d){const _0x14476b=_0x54b204;var _0x7b4dfb,_0x567a12;const _0x56318c=(_0x567a12=(_0x7b4dfb=this['_univerInstanceService'][_0x14476b(0x349)](this[_0x14476b(0x277)]))==null?void 0x0:_0x7b4dfb[_0x14476b(0x208)](_0x28180f))==null?void 0x0:_0x567a12[_0x14476b(0x29c)]();return(_0x56318c==null?void 0x0:_0x56318c['find'](_0x4cc72d=>_0xcb7282['contains'](_0x4cc72d,_0x5ef73d)))||_0x5ef73d;}[_0x54b204(0x3d5)](){const _0x30f089=_0x54b204,_0xfa7c8e=new _0x1822b0(),_0x20dfe4=Pi(),_0x8e60c9=()=>{const _0xf92ad9=_0x1d22;_0xfa7c8e[_0xf92ad9(0x2d6)]();const _0x1db8b1=(_0x5e72d2,_0x2a61e1,_0x445627,_0x21ab9a)=>{const _0x2a8999=_0xf92ad9;let _0x405d29=[];switch(_0x5e72d2['id']){case _0x1cc113['DeleteRangeMoveLeftCommandId']:{_0x405d29=_0x233278(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113['DeleteRangeMoveUpCommandId']:{_0x405d29=_0x532f16(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113[_0x2a8999(0x271)]:{_0x405d29=_0x22232b(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113[_0x2a8999(0x2e0)]:{_0x405d29=_0x306176(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113[_0x2a8999(0x298)]:{_0x405d29=_0x2593a0(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113[_0x2a8999(0x1fe)]:{_0x405d29=_0x4be3e(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113['MoveRangeCommandId']:{_0x405d29=_0x1883ff(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113[_0x2a8999(0x398)]:{_0x405d29=_0x47f8b9(_0x5e72d2,_0x21ab9a);break;}case _0x1cc113['RemoveRowCommandId']:{_0x405d29=_0x5284a6(_0x5e72d2,_0x21ab9a);break;}}const _0x34a0d5=_0x492b22(_0x405d29,_0x21ab9a),_0x3e2d7e=this[_0x2a8999(0x3a0)][_0x2a8999(0x2ae)](_0x2a61e1);if(_0x3e2d7e&&_0x34a0d5){const _0x38f4b1={..._0x3e2d7e,'range':_0x34a0d5};this[_0x2a8999(0x3a0)][_0x2a8999(0x299)](_0x2a61e1,_0x38f4b1),_0x20dfe4(()=>{const _0x2c65d6=_0x2a8999,_0x114633=this['_refRangeService'][_0x2c65d6(0x294)](_0x34a0d5,_0x4896cf=>(_0x114633[_0x2c65d6(0x2d6)](),_0x1db8b1(_0x4896cf,_0x2a61e1,_0x445627,_0x34a0d5)));_0xfa7c8e[_0x2c65d6(0x27b)](_0x114633);});}return{'redos':[],'undos':[]};};this[_0xf92ad9(0x3a0)][_0xf92ad9(0x339)]((_0x58e196,_0xff0385)=>{const _0x1edb1a=_0xf92ad9,{range:_0xd91d27,sheetID:_0x497de7}=_0x58e196,_0x37fc22=this['_refRangeService'][_0x1edb1a(0x294)](_0xd91d27,_0x346d6b=>(_0x37fc22[_0x1edb1a(0x2d6)](),_0x1db8b1(_0x346d6b,_0xff0385,_0x497de7,_0xd91d27)));_0xfa7c8e[_0x1edb1a(0x27b)](_0x37fc22);});};this['disposeWithMe'](_0x2dce4a(this[_0x30f089(0x286)][_0x30f089(0x365)](()=>{_0x8e60c9();})));}[_0x54b204(0x2e6)](){const _0xf6ca92=_0x54b204;var _0x5acf5e,_0x5c7c28;if(this[_0xf6ca92(0x3a2)]=!0x0,((_0x5acf5e=this[_0xf6ca92(0x288)]['getFocusedUnit']())==null?void 0x0:_0x5acf5e['getUnitId']())!==this[_0xf6ca92(0x277)])return;const _0x4aeb92=(_0x5c7c28=this['_injector'][_0xf6ca92(0x2ae)](_0x43443d)[_0xf6ca92(0x200)]())==null?void 0x0:_0x5c7c28[0x0],_0x2b4314=this['_univerInstanceService']['getCurrentUnitForType'](_0x42b153[_0xf6ca92(0x3a6)])['getActiveSheet']();_0x4aeb92&&_0x2b4314&&this['_updateLocalCursor'](_0x2b4314[_0xf6ca92(0x354)](),_0x4aeb92);}['_toggleOffline'](){const _0x523c80=_0x54b204;this[_0x523c80(0x3a2)]=!0x1;}};Me=Ui([x(0x2,_0x564dc3(_0x4523b0)),x(0x3,_0x564dc3(He)),x(0x4,_0x564dc3(_0x5cfe13)),x(0x5,_0x353b09),x(0x6,_0x627c2a),x(0x7,_0x564dc3(_0x416294))],Me);var wi=Object[_0x54b204(0x364)],Ai=(_0x103f3d,_0x2deb31,_0x504fc7,_0x1ceb3a)=>{const _0x3a94b9=_0x54b204;for(var _0x504361=_0x1ceb3a>0x1?void 0x0:_0x1ceb3a?wi(_0x2deb31,_0x504fc7):_0x2deb31,_0x3e59ff=_0x103f3d[_0x3a94b9(0x26d)]-0x1,_0x4b12fe;_0x3e59ff>=0x0;_0x3e59ff--)(_0x4b12fe=_0x103f3d[_0x3e59ff])&&(_0x504361=_0x4b12fe(_0x504361)||_0x504361);return _0x504361;},me=(_0x337ac8,_0x87479c)=>(_0x207118,_0x3b5a4b)=>_0x87479c(_0x207118,_0x3b5a4b,_0x337ac8);let F=class extends _0x1fdcdf{constructor(_0x1a7de9,_0x39bfcf,_0x3cc409){const _0x5b8fd8=_0x54b204;super(),_(this,_0x5b8fd8(0x21f),new Map()),_(this,_0x5b8fd8(0x39c),new _0x1fd513()),(this[_0x5b8fd8(0x288)]=_0x1a7de9,this[_0x5b8fd8(0x261)]=_0x39bfcf,this['_collabSessionService']=_0x3cc409,this[_0x5b8fd8(0x232)]());}[_0x54b204(0x2d6)](){const _0x3b7ed4=_0x54b204;super[_0x3b7ed4(0x2d6)](),this[_0x3b7ed4(0x39c)][_0x3b7ed4(0x30d)](),this['_entities'][_0x3b7ed4(0x339)](_0x502b85=>_0x502b85[_0x3b7ed4(0x2d6)]());}[_0x54b204(0x25b)](_0x1bc261){const _0x2dc061=_0x54b204;return this[_0x2dc061(0x21f)]['has'](_0x1bc261)?this[_0x2dc061(0x21f)][_0x2dc061(0x2ae)](_0x1bc261)[_0x2dc061(0x2da)]:this['_entityInit$'][_0x2dc061(0x3cb)](_0x5cfdf8(_0x5d8ac0=>_0x5d8ac0[_0x2dc061(0x277)]===_0x1bc261),_0x2ad325(_0x497349=>_0x497349['cursorInfo$']));}['_init'](){const _0x35010f=_0x54b204;this[_0x35010f(0x288)]['getTypeOfUnitAdded$'](_0x42b153['UNIVER_SHEET'])['pipe'](_0x4f79cf(this[_0x35010f(0x37f)]))[_0x35010f(0x365)](async _0x501316=>{const _0x2a794c=_0x35010f,_0x43efa6=_0x501316[_0x2a794c(0x315)](),_0x38ab28=await this[_0x2a794c(0x304)](_0x43efa6);this[_0x2a794c(0x39c)]['next'](_0x38ab28),this[_0x2a794c(0x21f)][_0x2a794c(0x299)](_0x43efa6,_0x38ab28);}),this[_0x35010f(0x288)][_0x35010f(0x24c)](_0x42b153['UNIVER_DOC'])[_0x35010f(0x3cb)](_0x4f79cf(this[_0x35010f(0x37f)]))[_0x35010f(0x3cb)](_0x5cfdf8(_0x5c80b5=>!_0x5c80b5[_0x35010f(0x315)]()[_0x35010f(0x36c)]('__')))[_0x35010f(0x365)](async _0x4435a6=>{const _0x31d305=_0x35010f,_0x35c7e6=_0x4435a6['getUnitId'](),_0xfbcb5a=await this[_0x31d305(0x1f7)](_0x35c7e6);this[_0x31d305(0x39c)][_0x31d305(0x33c)](_0xfbcb5a),this[_0x31d305(0x21f)]['set'](_0x35c7e6,_0xfbcb5a);}),_0x331290(this[_0x35010f(0x288)][_0x35010f(0x355)](_0x42b153['UNIVER_DOC']),this[_0x35010f(0x288)][_0x35010f(0x355)](_0x42b153['UNIVER_SHEET']))[_0x35010f(0x3cb)](_0x4f79cf(this[_0x35010f(0x37f)]))[_0x35010f(0x365)](_0x4f8283=>{const _0x4ac794=_0x35010f,_0x3cfa77=_0x4f8283[_0x4ac794(0x315)](),_0x59144f=this['_entities'][_0x4ac794(0x2ae)](_0x3cfa77);_0x59144f&&(_0x59144f[_0x4ac794(0x2d6)](),this['_entities']['delete'](_0x3cfa77));});}async['_startSheetCollabCursor'](_0x1b3eee){const _0x356578=_0x54b204,_0x1713f5=await this['_collabSessionService'][_0x356578(0x329)](_0x1b3eee),_0x3015b4=this[_0x356578(0x261)][_0x356578(0x3c8)](Me,_0x1b3eee,_0x1713f5);return _0x3015b4[_0x356578(0x3dd)](),_0x3015b4;}async['_startDocCollabCursor'](_0x524685){const _0x1cf8b0=_0x54b204,_0x36cf3f=await this[_0x1cf8b0(0x2e8)][_0x1cf8b0(0x329)](_0x524685),_0x2ec8d5=this[_0x1cf8b0(0x261)][_0x1cf8b0(0x3c8)](Ue,_0x524685,_0x36cf3f);return _0x2ec8d5[_0x1cf8b0(0x3dd)](),_0x2ec8d5;}};F=Ai([me(0x0,_0x353b09),me(0x1,_0x564dc3(_0x4523b0)),me(0x2,_0x564dc3(_0x11a03b))],F);const J=0x14,Qe=0xc8,Ie=0x4,yi=0x5;function $i(_0x4d9cd1,_0xfd3672){const _0x36a4b3=_0x54b204;let {radius:_0x38da6e,width:_0x66bac3,height:_0x477f3d}=_0xfd3672;_0x38da6e=_0x38da6e!=null?_0x38da6e:0x0,_0x66bac3=_0x66bac3!=null?_0x66bac3:0x1e,_0x477f3d=_0x477f3d!=null?_0x477f3d:0x1e;let _0x4c3599=0x0,_0x2d844e=0x0,_0x4e1cd9=0x0;_0x4c3599=_0x2d844e=_0x4e1cd9=Math['min'](_0x38da6e,_0x66bac3/0x2,_0x477f3d/0x2),_0x4d9cd1[_0x36a4b3(0x39e)](),_0x4d9cd1['moveTo'](_0x4c3599,0x0),_0x4d9cd1[_0x36a4b3(0x239)](_0x66bac3-_0x2d844e,0x0),_0x4d9cd1[_0x36a4b3(0x338)](_0x66bac3-_0x2d844e,_0x2d844e,_0x2d844e,Math['PI']*0x3/0x2,0x0,!0x1),_0x4d9cd1[_0x36a4b3(0x239)](_0x66bac3,_0x477f3d-_0x4e1cd9),_0x4d9cd1[_0x36a4b3(0x338)](_0x66bac3-_0x4e1cd9,_0x477f3d-_0x4e1cd9,_0x4e1cd9,0x0,Math['PI']/0x2,!0x1),_0x4d9cd1[_0x36a4b3(0x239)](0x0,_0x477f3d),_0x4d9cd1['lineTo'](0x0,_0x4c3599),_0x4d9cd1[_0x36a4b3(0x338)](_0x4c3599,_0x4c3599,_0x4c3599,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4d9cd1[_0x36a4b3(0x26a)](),_0xfd3672[_0x36a4b3(0x3c0)]&&(_0x4d9cd1[_0x36a4b3(0x290)](),_0x4d9cd1['fillStyle']=_0xfd3672[_0x36a4b3(0x3c0)],_0xfd3672[_0x36a4b3(0x33d)]==='evenodd'?_0x4d9cd1['fill']('evenodd'):_0x4d9cd1[_0x36a4b3(0x3c0)](),_0x4d9cd1[_0x36a4b3(0x378)]());}class ue extends _0x1f7265{constructor(_0x4883f9,_0x29eb7e){const _0x37bb3c=_0x54b204;super(_0x4883f9,_0x29eb7e),_(this,_0x37bb3c(0x3c2)),_(this,_0x37bb3c(0x2d2)),(this[_0x37bb3c(0x3c2)]=_0x29eb7e==null?void 0x0:_0x29eb7e['color'],this[_0x37bb3c(0x2d2)]=_0x29eb7e==null?void 0x0:_0x29eb7e[_0x37bb3c(0x2d2)]);}static['drawWith'](_0xec4467,_0xb69d23){const _0x28a2cc=_0x54b204,{text:_0x4b2882,color:_0x54ecee}=_0xb69d23;_0xec4467[_0x28a2cc(0x290)](),_0xec4467[_0x28a2cc(0x1ff)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x55f1ba=_0xec4467[_0x28a2cc(0x257)](_0x4b2882)['width'],_0x3fb330=Math['min'](_0x55f1ba+0x2*Ie,Qe);$i(_0xec4467,{'height':J,'radius':0x4,'width':_0x3fb330,'fill':_0x54ecee}),_0xec4467[_0x28a2cc(0x2d0)]=_0x28a2cc(0x2b3);const _0x272286=Ie,_0x75ec6b=J-yi,_0x503bbe=Qe-0x2*Ie;if(_0x55f1ba>_0x503bbe){let _0x3e8bfa='',_0x57e05d=0x0;for(const _0x15f93f of _0x4b2882){const _0x41b267=_0xec4467[_0x28a2cc(0x257)](_0x15f93f)['width'];if(_0x57e05d+_0x41b267<=_0x503bbe-_0xec4467[_0x28a2cc(0x257)](_0x28a2cc(0x363))[_0x28a2cc(0x1f0)])_0x3e8bfa+=_0x15f93f,_0x57e05d+=_0x41b267;else{_0x3e8bfa+=_0x28a2cc(0x363);break;}}_0xec4467[_0x28a2cc(0x3ae)](_0x3e8bfa,_0x272286,_0x75ec6b);}else _0xec4467[_0x28a2cc(0x3ae)](_0x4b2882,_0x272286,_0x75ec6b);_0xec4467[_0x28a2cc(0x378)]();}['_draw'](_0x1abcb1){ue['drawWith'](_0x1abcb1,this);}}const ve='collab-text-anchor-',xi='collab-text-range-',Bi=_0x54b204(0x353),K=0x6,ki=1.5,ge=0x4,Hi=1.5,Fi=_0x54b204(0x2c8);class qe{constructor(_0x49f72f,_0x35bf14,_0x53efb4,_0x4cb5e2){const _0x505788=_0x54b204;_(this,_0x505788(0x36f),[]),_(this,'_anchor',null),_(this,_0x505788(0x268),null),_(this,_0x505788(0x1f5),null),_(this,'_hideTimer',null),_(this,_0x505788(0x1e9),null),(this[_0x505788(0x2d5)]=_0x49f72f,this['_scene']=_0x35bf14,this[_0x505788(0x26e)]=_0x53efb4,this[_0x505788(0x397)]=_0x4cb5e2,this[_0x505788(0x2cf)]());}set[_0x54b204(0x1e7)](_0x15159b){const _0x48b61f=_0x54b204;_0x15159b?(this[_0x48b61f(0x1f5)]&&this['_anchorDot'][_0x48b61f(0x215)](),this[_0x48b61f(0x268)]&&this[_0x48b61f(0x268)]['show']()):(this[_0x48b61f(0x1f5)]&&this[_0x48b61f(0x1f5)]['show'](),this[_0x48b61f(0x268)]&&this[_0x48b61f(0x268)]['hide']());}[_0x54b204(0x2d6)](){const _0x41eabf=_0x54b204;for(const _0x527c16 of this[_0x41eabf(0x36f)])_0x527c16[_0x41eabf(0x2d6)]();this[_0x41eabf(0x268)]&&this[_0x41eabf(0x268)][_0x41eabf(0x2d6)](),this[_0x41eabf(0x1f5)]&&this[_0x41eabf(0x1f5)][_0x41eabf(0x2d6)](),this[_0x41eabf(0x386)]&&this[_0x41eabf(0x386)][_0x41eabf(0x2d6)](),this['_eventUnsubscribe']&&this[_0x41eabf(0x1e9)]();}[_0x54b204(0x2cf)](){const _0x3fe254=_0x54b204;var _0x352ef5;const {_docSkeleton:_0xbdcb9e,_document:_0x4525fa}=this,{color:_0x198a48,name:_0xd6e937,ranges:_0xd2136}=this['_cursor'],_0xc9f616=_0x4525fa[_0x3fe254(0x3cc)](),{docsLeft:_0x5e5340,docsTop:_0x144838}=_0xc9f616,_0x4d8ad4=new _0x1fc625(_0xc9f616,_0xbdcb9e);for(const {startOffset:_0x18b85d,endOffset:_0x2141ab,rangeType:_0x2bb39e,segmentId:_0x6fc30b,segmentPage:_0x5ce8cd,collapsed:_0x262b52,isActive:_0x2426ca}of _0xd2136){const _0xa1217f=_0xbdcb9e[_0x3fe254(0x28f)](_0x18b85d,!0x0,_0x6fc30b,_0x5ce8cd);let _0x10a4e0=_0xbdcb9e[_0x3fe254(0x28f)](_0x2141ab,!0x0,_0x6fc30b,_0x5ce8cd);if(_0x10a4e0==null&&(_0x10a4e0=_0xbdcb9e[_0x3fe254(0x28f)](_0x2141ab-0x1,!0x1,_0x6fc30b,_0x5ce8cd)),_0x2426ca){const {contentBoxPointGroup:_0x1a0ae7}=_0x4d8ad4[_0x3fe254(0x371)](_0x10a4e0,_0x10a4e0);if(_0x1a0ae7[_0x3fe254(0x26d)]===0x0)continue;this[_0x3fe254(0x270)](_0x198a48,_0x1a0ae7,_0x5e5340,_0x144838,_0xd6e937),this['_eventUnsubscribe']=this['_handleHover']();}if(_0xa1217f&&_0x10a4e0){if(_0x2bb39e===_0x3d8c47[_0x3fe254(0x2b7)]){const _0x255c96=new _0x38ab7f(_0xc9f616,_0xbdcb9e),{pointGroup:_0x481443}=(_0x352ef5=_0x255c96[_0x3fe254(0x371)](_0xa1217f,_0x10a4e0))!=null?_0x352ef5:{};if(_0x481443==null||_0x481443[_0x3fe254(0x26d)]===0x0)continue;this[_0x3fe254(0x2c7)](_0x198a48,_0x481443,_0x5e5340,_0x144838);}else{if(!_0x262b52){const {borderBoxPointGroup:_0x3ddc38}=_0x4d8ad4[_0x3fe254(0x371)](_0xa1217f,_0x10a4e0);if(_0x3ddc38[_0x3fe254(0x26d)]===0x0)continue;this[_0x3fe254(0x374)](_0x198a48,_0x3ddc38,_0x5e5340,_0x144838);}}}}}['_drawAnchor'](_0x5e959d,_0x217703,_0x4b7b4c,_0x1de049,_0x35ec0c){const _0x3a0bd9=_0x54b204,_0x490bf0=this[_0x3a0bd9(0x3c4)](_0x217703),{left:_0x22d1ce,top:_0x17c0e1,height:_0x3fc056}=_0x490bf0,_0x3687cb=this[_0x3a0bd9(0x348)](),_0x4a0399=Hi/_0x3687cb,_0x2394c4=new _0x598847(ve+_0x1fbd32(K),{'left':_0x22d1ce+_0x4b7b4c-_0x4a0399,'top':_0x17c0e1+_0x1de049,'height':_0x3fc056,'width':ki,'fill':_0x5e959d||_0x20fff4(_0x3554cb['black'],0x0),'strokeWidth':_0x4a0399,'stroke':Fi,'evented':!0x0});this['_anchor']=_0x2394c4,this['_scene'][_0x3a0bd9(0x1ee)](_0x2394c4,_0xe1dd3b);const _0x11a44d=new _0x598847(ve+_0x1fbd32(K),{'left':_0x22d1ce+_0x4b7b4c-_0x4a0399,'top':_0x17c0e1+_0x1de049-ge/0x2,'height':ge,'width':ge,'fill':_0x5e959d||_0x20fff4(_0x3554cb['black'],0x0),'strokeWidth':0x0,'stroke':_0x5e959d||_0x20fff4(_0x3554cb[_0x3a0bd9(0x3ab)],0x0),'evented':!0x1});this['_anchorDot']=_0x11a44d,this[_0x3a0bd9(0x2b9)][_0x3a0bd9(0x1ee)](_0x11a44d,_0xe1dd3b);const _0xf590fe=new ue(ve+_0x1fbd32(K),{'left':_0x22d1ce+_0x4b7b4c-_0x4a0399,'top':_0x17c0e1+_0x1de049-J,'text':_0x35ec0c,'color':_0x5e959d});this['_textBubble']=_0xf590fe,this[_0x3a0bd9(0x2b9)]['addObject'](_0xf590fe,_0xe1dd3b),this[_0x3a0bd9(0x1e7)]=!0x1;}[_0x54b204(0x37a)](){const _0x12d9bf=_0x54b204,_0x161658=this[_0x12d9bf(0x386)][_0x12d9bf(0x1f3)][_0x12d9bf(0x31a)](()=>{this['_hover']=!0x0;}),_0x101642=this['_anchor'][_0x12d9bf(0x330)]['subscribeEvent'](()=>{const _0x256ba7=_0x12d9bf;this[_0x256ba7(0x319)]&&clearTimeout(this[_0x256ba7(0x319)]),this[_0x256ba7(0x319)]=setTimeout(()=>{const _0x16bfb2=_0x256ba7;this[_0x16bfb2(0x1e7)]=!0x1;},0x7d0);});return()=>{const _0x3faf71=_0x12d9bf;_0x161658[_0x3faf71(0x2a5)](),_0x101642['unsubscribe']();};}[_0x54b204(0x374)](_0x347d45,_0x1e1c99,_0x2a4563,_0x55b28c){const _0x30f15f=_0x54b204,_0x47e392=new _0x1fa32a(_0x347d45)[_0x30f15f(0x303)](0.2)[_0x30f15f(0x2e4)](),_0x31e6c9=new _0xa9c792(xi+_0x1fbd32(K),{'pointsGroup':_0x1e1c99,'fill':_0x47e392||_0x20fff4(_0x3554cb[_0x30f15f(0x3ab)],0.2),'left':_0x2a4563,'top':_0x55b28c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x30f15f(0x36f)][_0x30f15f(0x226)](_0x31e6c9),this[_0x30f15f(0x2b9)][_0x30f15f(0x1ee)](_0x31e6c9,_0xe1dd3b);}[_0x54b204(0x2c7)](_0xeaaa4a,_0x5a0d72,_0xa03893,_0x57bb34){const _0x775afd=_0x54b204,_0x2b6cf4=new _0x1fa32a(_0xeaaa4a)[_0x775afd(0x303)](0.2)[_0x775afd(0x2e4)](),_0x3ac0e4=new _0xa9c792(Bi+_0x1fbd32(K),{'pointsGroup':_0x5a0d72,'fill':_0x2b6cf4||_0x20fff4(_0x3554cb[_0x775afd(0x3ab)],0.2),'left':_0xa03893,'top':_0x57bb34,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x775afd(0x36f)][_0x775afd(0x226)](_0x3ac0e4),this[_0x775afd(0x2b9)][_0x775afd(0x1ee)](_0x3ac0e4,_0xe1dd3b);}[_0x54b204(0x3c4)](_0x4851ac){const _0x1748f8=_0x4851ac[0x0],_0x466391=_0x1748f8[0x0],_0x315ecd=_0x1748f8[0x2],{x:_0x2f8c92,y:_0x145d3}=_0x466391,{x:_0x158b46,y:_0x46659a}=_0x315ecd;return{'left':_0x2f8c92,'top':_0x145d3,'width':_0x158b46-_0x2f8c92,'height':_0x46659a-_0x145d3};}[_0x54b204(0x348)](){const _0xa627c6=_0x54b204,{scaleX:_0x34d364,scaleY:_0x44cd85}=this[_0xa627c6(0x2b9)]['getAncestorScale']();return Math[_0xa627c6(0x3cf)](_0x34d364,_0x44cd85);}}var Yi=Object[_0x54b204(0x364)],ji=(_0x472dcb,_0x2b7e28,_0x5372f0,_0x1cbc6f)=>{for(var _0x2c7300=_0x1cbc6f>0x1?void 0x0:_0x1cbc6f?Yi(_0x2b7e28,_0x5372f0):_0x2b7e28,_0x425490=_0x472dcb['length']-0x1,_0x4d27ef;_0x425490>=0x0;_0x425490--)(_0x4d27ef=_0x472dcb[_0x425490])&&(_0x2c7300=_0x4d27ef(_0x2c7300)||_0x2c7300);return _0x2c7300;},ee=(_0x5a7e96,_0x44f9eb)=>(_0x2306fb,_0x32cc6b)=>_0x44f9eb(_0x2306fb,_0x32cc6b,_0x5a7e96);let Le=class extends _0x1fdcdf{constructor(_0x313c4e,_0x40118f,_0x2721c5,_0x3c94ca,_0x11f3df){const _0xf34cce=_0x54b204;super(),_(this,_0xf34cce(0x352),[]),_(this,_0xf34cce(0x27c),[]),(this[_0xf34cce(0x1ed)]=_0x313c4e,this[_0xf34cce(0x25c)]=_0x40118f,this[_0xf34cce(0x3a8)]=_0x2721c5,this[_0xf34cce(0x246)]=_0x3c94ca,this[_0xf34cce(0x331)]=_0x11f3df,this[_0xf34cce(0x232)]());}[_0x54b204(0x232)](){const _0x48b9a0=_0x54b204,_0x15c396=this[_0x48b9a0(0x1ed)]['unitId'],_0x3c972a=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x45bad2([this['_collabCursorController'][_0x48b9a0(0x25b)](_0x15c396),this[_0x48b9a0(0x331)][_0x48b9a0(0x22e)]])['pipe'](_0x510b42(([_0x43042c,_0x37b6e5])=>({'skeleton':_0x3c972a[_0x48b9a0(0x3e2)](),'cursors':[..._0x43042c[_0x48b9a0(0x229)]()]['flatMap'](_0x4d180b=>({..._0x4d180b,'color':this[_0x48b9a0(0x331)][_0x48b9a0(0x30c)](_0x4d180b['color'])}))})))[_0x48b9a0(0x365)](_0x5aad6d=>{const _0xe2716e=_0x48b9a0;if(this[_0xe2716e(0x28d)](),_0x5aad6d){const {skeleton:_0x8551cd,cursors:_0x38d08f}=_0x5aad6d;this[_0xe2716e(0x3b1)](_0x8551cd,_0x38d08f);}})),this[_0x48b9a0(0x344)](),this[_0x48b9a0(0x38c)]();}[_0x54b204(0x3b1)](_0x2578d3,_0x3c52a8){const _0x21ae69=_0x54b204,{scene:_0x3a1274,mainComponent:_0x3eaf92}=this[_0x21ae69(0x1ed)],_0x269ffe=_0x3c52a8[_0x21ae69(0x296)](_0x42383c=>new qe(_0x42383c,_0x3a1274,_0x2578d3,_0x3eaf92));this[_0x21ae69(0x352)]=_0x269ffe,this[_0x21ae69(0x27c)]=_0x3c52a8;}[_0x54b204(0x3da)](){const _0x8354ac=_0x54b204;this[_0x8354ac(0x28d)]();const {scene:_0x164e99,mainComponent:_0x2c512f}=this[_0x8354ac(0x1ed)],_0x2afad6=this[_0x8354ac(0x25c)][_0x8354ac(0x3e2)](),_0x324764=this[_0x8354ac(0x27c)][_0x8354ac(0x296)](_0xea3e54=>new qe(_0xea3e54,_0x164e99,_0x2afad6,_0x2c512f));this[_0x8354ac(0x352)]=_0x324764;}[_0x54b204(0x28d)](){const _0x1488d5=_0x54b204;this[_0x1488d5(0x352)][_0x1488d5(0x339)](_0x5e6480=>_0x5e6480[_0x1488d5(0x2d6)]()),this['_cursorShapes']=[];}[_0x54b204(0x38c)](){const _0x5614fb=_0x54b204,_0xf8a245=[_0x2d89a5['id']];this[_0x5614fb(0x393)](this[_0x5614fb(0x246)][_0x5614fb(0x2d4)](_0x1c8efb=>{const _0x287b91=_0x5614fb;_0xf8a245[_0x287b91(0x30a)](_0x1c8efb['id'])&&_0x1c8efb[_0x287b91(0x380)][_0x287b91(0x272)]===this[_0x287b91(0x1ed)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x54b204(0x344)](){const _0x33f9ef=_0x54b204;this['disposeWithMe'](_0x4bae0f(this[_0x33f9ef(0x1ed)]['engine'][_0x33f9ef(0x2c6)])[_0x33f9ef(0x3cb)](_0x3473bf(_0x50738e=>_0x50738e[_0x33f9ef(0x321)]===_0x332adc[_0x33f9ef(0x2dd)]),_0x4a0314(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};Le=ji([ee(0x1,_0x564dc3(_0x251911)),ee(0x2,_0x564dc3(F)),ee(0x3,_0x627c2a),ee(0x4,_0x564dc3(_0x5199de))],Le);const Vi=0x1,Wi=1.5;class Xi extends _0x1f7265{constructor(_0x312c81,_0x4b2f6b){const _0x2f099c=_0x54b204;super(_0x312c81,_0x4b2f6b),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0x2f099c(0x2b0)),_(this,'_name',''),_(this,_0x2f099c(0x207),'top'),_(this,_0x2f099c(0x276)),(_0x4b2f6b&&this[_0x2f099c(0x2bb)](_0x4b2f6b),this[_0x2f099c(0x1f3)]['subscribeEvent'](()=>this[_0x2f099c(0x2bb)]({'hovered':!0x0})),this[_0x2f099c(0x330)][_0x2f099c(0x31a)](()=>this[_0x2f099c(0x2bb)]({'hovered':!0x1})));}[_0x54b204(0x2bb)](_0x518273){const _0x4873e7=_0x54b204;var _0x2d9853,_0x4818bb,_0x1a5b20,_0x46a61f,_0x347b0d,_0x31c4eb;this['_color']=(_0x2d9853=_0x518273[_0x4873e7(0x3c2)])!=null?_0x2d9853:this[_0x4873e7(0x205)],this[_0x4873e7(0x216)]=(_0x4818bb=_0x518273['hovered'])!=null?_0x4818bb:this[_0x4873e7(0x216)],this[_0x4873e7(0x2b0)]=(_0x1a5b20=_0x518273[_0x4873e7(0x388)])!=null?_0x1a5b20:this[_0x4873e7(0x2b0)],this[_0x4873e7(0x2ac)]=(_0x46a61f=_0x518273['name'])!=null?_0x46a61f:this[_0x4873e7(0x2ac)],this[_0x4873e7(0x207)]=(_0x347b0d=_0x518273[_0x4873e7(0x284)])!=null?_0x347b0d:this['_labelPosition'],this[_0x4873e7(0x276)]=(_0x31c4eb=_0x518273['backgroundColor'])!=null?_0x31c4eb:this[_0x4873e7(0x276)],this['transformByState']({'width':_0x518273[_0x4873e7(0x1f0)],'height':_0x518273[_0x4873e7(0x33b)]});}[_0x54b204(0x336)](_0x3792b2){const _0x16cbf7=_0x54b204,{row:_0x476364,column:_0x39f6fe}=_0x3792b2;if(_0x476364>=this['_range']['startRow']&&_0x476364<=this[_0x16cbf7(0x2b0)][_0x16cbf7(0x2c9)]&&_0x39f6fe>=this[_0x16cbf7(0x2b0)]['startColumn']&&_0x39f6fe<=this[_0x16cbf7(0x2b0)][_0x16cbf7(0x37d)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x16cbf7(0x2bb)]({'hovered':!0x1});}['triggerDblclick'](_0x3c2e2d){return!0x1;}[_0x54b204(0x3a3)](_0x55108e){const _0x1fc9b6=_0x54b204;_0x598847['drawWith'](_0x55108e,{'width':this[_0x1fc9b6(0x1f0)],'height':this['height'],'strokeWidth':Wi,'stroke':this[_0x1fc9b6(0x205)],'evented':!0x1,'fill':this[_0x1fc9b6(0x276)]}),this[_0x1fc9b6(0x216)]&&(_0x55108e[_0x1fc9b6(0x290)](),_0x55108e[_0x1fc9b6(0x2bf)](0x1,0x0,0x0,0x1,this[_0x1fc9b6(0x1f0)],this[_0x1fc9b6(0x207)]===_0x1fc9b6(0x394)?0x0:-J),ue['drawWith'](_0x55108e,{'text':this['_name'],'color':this['_color']}),_0x55108e[_0x1fc9b6(0x378)]());}}var Gi=Object['getOwnPropertyDescriptor'],Ki=(_0x12537a,_0x2677c9,_0xba05a2,_0x3580b0)=>{const _0x49bdc0=_0x54b204;for(var _0x265fc3=_0x3580b0>0x1?void 0x0:_0x3580b0?Gi(_0x2677c9,_0xba05a2):_0x2677c9,_0x1231ed=_0x12537a[_0x49bdc0(0x26d)]-0x1,_0x247a61;_0x1231ed>=0x0;_0x1231ed--)(_0x247a61=_0x12537a[_0x1231ed])&&(_0x265fc3=_0x247a61(_0x265fc3)||_0x265fc3);return _0x265fc3;},pe=(_0x5498ba,_0x139c3b)=>(_0x1cf79a,_0x33e3fd)=>_0x139c3b(_0x1cf79a,_0x33e3fd,_0x5498ba);const zi=0x1389;function _0x1d22(_0x44b80b,_0x10816c){const _0xb77a30=_0xb77a();return _0x1d22=function(_0x1d22bd,_0x3e47c0){_0x1d22bd=_0x1d22bd-0x1e5;let _0x30dd95=_0xb77a30[_0x1d22bd];return _0x30dd95;},_0x1d22(_0x44b80b,_0x10816c);}let Pe=class extends _0x1fdcdf{constructor(_0x3c2df6,_0x55b407,_0x5331ef,_0x504d99){const _0x3cacad=_0x54b204;super(),_(this,_0x3cacad(0x27c),new Set()),_(this,_0x3cacad(0x2fc),null),(this['_context']=_0x3c2df6,this['_sheetSkeletonManagerService']=_0x55b407,this['_collabCursorController']=_0x5331ef,this[_0x3cacad(0x331)]=_0x504d99,this[_0x3cacad(0x232)]());}[_0x54b204(0x232)](){const _0x287aef=_0x54b204;this[_0x287aef(0x2a8)]['currentSkeleton$'][_0x287aef(0x3cb)](_0x17b3cc(this[_0x287aef(0x37f)]),_0x3571d7(_0x16d2b8=>{const _0x304f55=_0x287aef;if(_0x16d2b8){const _0x41c553=_0x16d2b8['sheetId'];return _0x45bad2(this[_0x304f55(0x3a8)][_0x304f55(0x25b)](this['_context']['unitId']),this['_themeService']['currentTheme$'])['pipe'](_0x510b42(([_0x41fa12,_0x12685a])=>{const _0x2ad77e=new Map();return _0x41fa12['forEach']((_0x398ec9,_0x24d9f1)=>{const _0xa90cca=_0x1d22;if(_0x398ec9[_0xa90cca(0x2e2)]===_0x41c553){const _0x408dd0={..._0x398ec9};_0x408dd0[_0xa90cca(0x3c2)]=this['_themeService']['getColorFromTheme'](_0x398ec9[_0xa90cca(0x3c2)]),_0x2ad77e[_0xa90cca(0x299)](_0x24d9f1,_0x408dd0);}}),{'skeleton':_0x16d2b8,'cursors':_0x2ad77e};}));}return _0x4f46b3({'skeleton':null,'cursors':new Map()});}))[_0x287aef(0x365)](({skeleton:_0x3313aa,cursors:_0x682e9e})=>{const _0x489f75=_0x287aef;this[_0x489f75(0x28d)](),_0x3313aa&&this['_updateCollabCursors'](_0x3313aa,_0x682e9e);}),this[_0x287aef(0x2a8)][_0x287aef(0x2f6)][_0x287aef(0x365)](_0x44ce9e=>{const _0x520584=_0x287aef;if(_0x44ce9e==null)return;const {skeleton:_0x2b81a9}=_0x44ce9e,{scene:_0x4f9e42}=this[_0x520584(0x1ed)];_0x4f9e42['onPointerMove$']['subscribeEvent'](_0x417bdc(_0x4fd7b3=>{const _0xfac17f=_0x520584;var _0x29e6ab,_0x5e21cf;const {offsetX:_0x36a743,offsetY:_0x5b710f}=_0x4fd7b3,{x:_0x1c3e7d,y:_0x2457e3}=_0x4f9e42[_0xfac17f(0x241)](_0x5ee37d['FromArray']([_0x36a743,_0x5b710f])),{scaleX:_0x231eec,scaleY:_0x53d3bb}=_0x4f9e42['getAncestorScale'](),_0x33d545=_0x4f9e42[_0xfac17f(0x369)](_0x4e6e5c[_0xfac17f(0x399)]),_0x535bae=_0x4f9e42[_0xfac17f(0x301)](_0x5ee37d[_0xfac17f(0x27d)]([_0x1c3e7d,_0x2457e3]),_0x33d545),_0x16c6d2=_0x2b81a9[_0xfac17f(0x2fd)](_0x36a743,_0x5b710f,_0x231eec,_0x53d3bb,_0x535bae);((_0x29e6ab=this[_0xfac17f(0x2fc)])==null?void 0x0:_0x29e6ab[_0xfac17f(0x236)])===_0x16c6d2[_0xfac17f(0x236)]&&((_0x5e21cf=this[_0xfac17f(0x2fc)])==null?void 0x0:_0x5e21cf[_0xfac17f(0x3ac)])===_0x16c6d2[_0xfac17f(0x3ac)]||this['_cursors'][_0xfac17f(0x339)](_0x5bde9e=>{const _0x5b6d14=_0xfac17f;_0x5bde9e[_0x5b6d14(0x336)](_0x16c6d2);});},0x64));});}[_0x54b204(0x3b1)](_0xd19d5e,_0x1a0ecb){const _0x374e5d=_0x54b204;var _0x4b96a7;const _0x5c92af=(_0x4b96a7=this['_sheetSkeletonManagerService'][_0x374e5d(0x3d8)]())==null?void 0x0:_0x4b96a7['skeleton'];if(!_0x5c92af)return;const _0x32f6fe=this[_0x374e5d(0x1fb)]();if(!_0x32f6fe)return;this['_cursors'][_0x374e5d(0x339)](_0x1b8215=>{const _0x14f278=_0x374e5d;_0x1b8215[_0x14f278(0x332)]();});const {scene:_0x175e5c}=_0x32f6fe,_0xb6e60d=Ji(Array[_0x374e5d(0x302)](_0x1a0ecb[_0x374e5d(0x229)]()))[_0x374e5d(0x296)](_0x118e1f=>{const _0x4c58a3=_0x374e5d,{color:_0x451b7c,range:_0x5d2561,name:_0x583b68,selection:_0x43827b,sheetID:_0x16bd95}=_0x118e1f,{startColumn:_0x1e405f,startRow:_0x3f73b7,endColumn:_0x4ebf66,endRow:_0x467ff9}=_0x5d2561,_0x3f7c48=_0x4df0fd(_0x3f73b7,_0x1e405f,_0x175e5c,_0x5c92af),_0x2836f8=_0x4df0fd(_0x467ff9,_0x4ebf66,_0x175e5c,_0x5c92af),{columnHeaderHeightAndMarginTop:_0x4bb8d8}=_0x5c92af,{startX:_0x3ba716,startY:_0x308fdb}=_0x3f7c48,{endX:_0x4b89d9,endY:_0xd6c9dc}=_0x2836f8,_0x26fe26=_0x4b89d9-_0x3ba716,_0x16db5c=_0xd6c9dc-_0x308fdb,_0x3cfc09={'labelPosition':_0x308fdb-_0x4bb8d8>=J?_0x4c58a3(0x2b2):_0x4c58a3(0x394),'sheetID':_0x16bd95,'range':_0x5d2561,'color':_0x451b7c,'name':_0x583b68,'selection':_0x43827b,'left':_0x3ba716,'top':_0x308fdb,'width':_0x26fe26,'height':_0x16db5c,'evented':!0x1,'zIndex':zi};return new Xi(_0x583b68,_0x3cfc09);});_0x175e5c['addObjects'](_0xb6e60d,Vi),this[_0x374e5d(0x27c)]=new Set(_0xb6e60d);}['_removeCollabCursors'](){const _0x1f9151=_0x54b204;var _0x40c4ad;(_0x40c4ad=this[_0x1f9151(0x27c)])==null||_0x40c4ad[_0x1f9151(0x339)](_0x4f0225=>_0x4f0225[_0x1f9151(0x2d6)]());}['_getSheetObject'](){const _0x563b66=_0x54b204;return _0x317b5b(this['_context']['unit'],this[_0x563b66(0x1ed)]);}};Pe=Ki([pe(0x1,_0x564dc3(_0x45f47a)),pe(0x2,_0x564dc3(F)),pe(0x3,_0x564dc3(_0x5199de))],Pe);function Ji(_0x4de5b7){const _0x9d164c=_0x54b204,_0x2a3f6a=new Map();return _0x4de5b7[_0x9d164c(0x339)](_0x4081be=>{const _0x4193f9=_0x9d164c;if(_0x2a3f6a[_0x4193f9(0x2a9)](_0x4081be['selection'])){const _0x488af9=_0x2a3f6a[_0x4193f9(0x2ae)](_0x4081be[_0x4193f9(0x258)]);_0x488af9[_0x4193f9(0x1e8)]+=',\x20'+_0x4081be[_0x4193f9(0x1e8)];}else _0x2a3f6a['set'](_0x4081be[_0x4193f9(0x258)],_0x4081be);}),Array[_0x9d164c(0x302)](_0x2a3f6a[_0x9d164c(0x229)]());}var Zi=Object[_0x54b204(0x364)],Qi=(_0x251736,_0x289ebc,_0xe98784,_0x234128)=>{const _0x36741c=_0x54b204;for(var _0x165890=_0x234128>0x1?void 0x0:_0x234128?Zi(_0x289ebc,_0xe98784):_0x289ebc,_0xe7afcf=_0x251736[_0x36741c(0x26d)]-0x1,_0x1c1415;_0xe7afcf>=0x0;_0xe7afcf--)(_0x1c1415=_0x251736[_0xe7afcf])&&(_0x165890=_0x1c1415(_0x165890)||_0x165890);return _0x165890;},B=(_0x5427aa,_0x5967a2)=>(_0x3867ed,_0x322e06)=>_0x5967a2(_0x3867ed,_0x322e06,_0x5427aa);let ne=class extends _0x4dbb35{constructor(_0x376d50,_0x491e2e,_0x2d1b46,_0x19b90a,_0x41698a,_0x2b7900){const _0x4f545a=_0x54b204;super(),this[_0x4f545a(0x203)]=_0x376d50,this[_0x4f545a(0x23f)]=_0x491e2e,this[_0x4f545a(0x345)]=_0x2d1b46,this[_0x4f545a(0x372)]=_0x19b90a,this[_0x4f545a(0x2ad)]=_0x41698a,this[_0x4f545a(0x279)]=_0x2b7900,this[_0x4f545a(0x3db)](),this[_0x4f545a(0x2df)]();}[_0x54b204(0x3db)](){const _0x4cd82e=_0x54b204;this['disposeWithMe'](this[_0x4cd82e(0x203)]['registerBeforeClose'](()=>{const _0x1271c0=_0x4cd82e;if(this['_localCacheService'][_0x1271c0(0x26b)][_0x1271c0(0x346)])return this[_0x1271c0(0x279)]['t'](_0x1271c0(0x253));}));}['_initEvent'](){const _0x4bc795=_0x54b204;this[_0x4bc795(0x393)](this[_0x4bc795(0x345)][_0x4bc795(0x3c3)]['subscribe'](_0x45c331=>{const _0x224013=_0x4bc795;_0x45c331['id']===_0x176ce1['OTHER_CLIENT_EDITING']&&this[_0x224013(0x372)]['show']({'type':_0x23a90c[_0x224013(0x2fe)],'content':this[_0x224013(0x279)]['t'](_0x224013(0x2c4))}),_0x45c331['id']===_0x176ce1[_0x224013(0x235)]&&this[_0x224013(0x372)][_0x224013(0x2ed)]({'type':_0x23a90c[_0x224013(0x2fe)],'content':this[_0x224013(0x279)]['t'](_0x224013(0x36d))}),_0x45c331['id']===_0x176ce1[_0x224013(0x35e)]&&this['_notificationService'][_0x224013(0x2ed)]({'title':this[_0x224013(0x279)]['t'](_0x224013(0x249)),'content':this[_0x224013(0x279)]['t'](_0x224013(0x375)),'type':'error','duration':0x0}),_0x45c331['id']===_0x176ce1[_0x224013(0x37b)]&&this[_0x224013(0x372)]['show']({'type':_0x23a90c['Error'],'content':this[_0x224013(0x279)]['t'](_0x224013(0x36d))+'('+_0x45c331[_0x224013(0x382)]+')'}),_0x45c331['id']===_0x176ce1[_0x224013(0x31f)]&&this[_0x224013(0x372)]['show']({'type':_0x23a90c[_0x224013(0x2fe)],'content':this[_0x224013(0x279)]['t'](_0x45c331[_0x224013(0x382)]||'')}),_0x45c331['id']===_0x176ce1[_0x224013(0x233)]&&this['_messageService'][_0x224013(0x2ed)]({'type':_0x23a90c[_0x224013(0x2fe)],'content':this[_0x224013(0x279)]['t'](_0x224013(0x26f))}),_0x45c331['id']===_0x176ce1[_0x224013(0x251)]&&this['_messageService'][_0x224013(0x2ed)]({'type':_0x23a90c[_0x224013(0x36b)],'content':this['_localeService']['t'](_0x224013(0x320))}),_0x45c331['id']===_0x176ce1[_0x224013(0x39a)]&&this[_0x224013(0x372)][_0x224013(0x2ed)]({'type':_0x23a90c[_0x224013(0x36b)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ne=Qi([B(0x0,_0x2d8f77),B(0x1,_0xc48228),B(0x2,_0x564dc3(_0xcfee56)),B(0x3,_0x2dff99),B(0x4,_0x2cfd19),B(0x5,_0x564dc3(_0x38053a))],ne);const qi=_0x54b204(0x30b),et={};var en=Object[_0x54b204(0x364)],tn=(_0x3aad73,_0x10b949,_0x3cd23c,_0x41a191)=>{const _0x184fdf=_0x54b204;for(var _0x22585e=_0x41a191>0x1?void 0x0:_0x41a191?en(_0x10b949,_0x3cd23c):_0x10b949,_0x4c896e=_0x3aad73[_0x184fdf(0x26d)]-0x1,_0x342387;_0x4c896e>=0x0;_0x4c896e--)(_0x342387=_0x3aad73[_0x4c896e])&&(_0x22585e=_0x342387(_0x22585e)||_0x22585e);return _0x22585e;},tt=(_0x21ba8f,_0x2dec03)=>(_0xb5f3d,_0x3d67a2)=>_0x2dec03(_0xb5f3d,_0x3d67a2,_0x21ba8f);let re=class{constructor(_0xad98c,_0x5ba601){const _0x353db6=_0x54b204;this[_0x353db6(0x234)]=_0xad98c,this['_renderManagerService']=_0x5ba601;}[_0x54b204(0x3e5)](_0x1a7c56){const _0x3a7930=_0x54b204;this[_0x3a7930(0x3bb)](_0x1a7c56),this[_0x3a7930(0x3a1)](_0x1a7c56);}['transformRemoteChangeset'](_0x37ec02){const _0x3cb8a6=_0x54b204,{unitID:_0x340c0a}=_0x37ec02,_0x90ab8e=this[_0x3cb8a6(0x2ba)]['getRenderById'](_0x340c0a)[_0x3cb8a6(0x28a)](_0x3763d0),{redoCache:_0x373476}=_0x90ab8e[_0x3cb8a6(0x327)]();if(_0x373476[_0x3cb8a6(0x26d)]===0x0)return _0x37ec02;let _0x153a7a=_0x585ba0[_0x3cb8a6(0x351)](_0x37ec02[_0x3cb8a6(0x256)][0x0]);for(let _0x450595=0x0;_0x450595<_0x373476[_0x3cb8a6(0x26d)];_0x450595++){const _0x1f2340={'id':_0x3cb8a6(0x1ef),'params':{..._0x373476[_0x450595]}},_0xccf9ac=this[_0x3cb8a6(0x234)][_0x3cb8a6(0x328)](_0x153a7a,_0x1f2340,!0x1);if(_0x39527b(_0xccf9ac))throw _0xccf9ac[_0x3cb8a6(0x3d0)];_0x153a7a=_0xccf9ac[_0x3cb8a6(0x38a)];}return{..._0x585ba0['deepClone'](_0x37ec02),'mutations':[_0x153a7a]};}['_transformUndoRedoStack'](_0x6965ad){const _0xde3e66=_0x54b204,{unitID:_0x2a42e9}=_0x6965ad,_0x1bfb74=this[_0xde3e66(0x2ba)][_0xde3e66(0x34c)](_0x2a42e9)[_0xde3e66(0x28a)](_0x3763d0),{undoCache:_0x1d984a,redoCache:_0x51656b}=_0x1bfb74[_0xde3e66(0x327)]();if(_0x1d984a[_0xde3e66(0x26d)]===0x0||_0x51656b[_0xde3e66(0x26d)]===0x0)return;const _0x18d7b4=[],_0x2d2c15=[];let _0x2ccf7d=_0x585ba0[_0xde3e66(0x351)](_0x6965ad['mutations'][0x0]),_0x59e029=_0x585ba0['deepClone'](_0x6965ad['mutations'][0x0]);for(let _0x590c00=_0x1d984a[_0xde3e66(0x26d)]-0x1;_0x590c00>=0x0;_0x590c00--){const _0x415cb4={'id':_0xde3e66(0x1ef),'params':{..._0x1d984a[_0x590c00]}},_0x17f190={'id':_0xde3e66(0x1ef),'params':{..._0x51656b[_0x590c00]}},_0xa5ccf3=this['_transformService'][_0xde3e66(0x328)](_0x2ccf7d,_0x415cb4,!0x1),_0x342e98=this['_transformService']['transformMutation'](_0x59e029,_0x17f190,!0x1);if(_0x39527b(_0xa5ccf3))throw _0xa5ccf3[_0xde3e66(0x3d0)];if(_0x39527b(_0x342e98))throw _0x342e98['error'];_0x18d7b4[_0xde3e66(0x2f9)](_0xa5ccf3[_0xde3e66(0x3b9)][_0xde3e66(0x380)]),_0x2d2c15['unshift'](_0x342e98[_0xde3e66(0x3b9)]['params']),_0x2ccf7d=_0xa5ccf3[_0xde3e66(0x38a)],_0x59e029=_0x342e98[_0xde3e66(0x38a)];}_0x1bfb74['setUndoRedoMutationParamsCache']({'undoCache':_0x18d7b4,'redoCache':_0x2d2c15});}[_0x54b204(0x3a1)](_0xe6896e){const _0x317f95=_0x54b204,{unitID:_0x5649a9}=_0xe6896e,_0x4caf5e=this[_0x317f95(0x2ba)][_0x317f95(0x34c)](_0x5649a9)[_0x317f95(0x28a)](_0x3763d0),_0x159394=_0x4caf5e[_0x317f95(0x220)]();if(_0x159394==null)return;const _0x5eecc7=[{'id':_0x317f95(0x1ef),'params':{'unitId':_0xe6896e[_0x317f95(0x277)],'actions':null,'textRanges':[_0x159394]}}],_0x276b6d=this[_0x317f95(0x234)][_0x317f95(0x2f1)](_0xe6896e,_0x5eecc7);if(!_0xf96115(_0x276b6d))throw _0x276b6d['error'];const _0x28df30=_0x276b6d[_0x317f95(0x3b9)][0x0][_0x317f95(0x380)][_0x317f95(0x3b0)];Array[_0x317f95(0x373)](_0x28df30)&&_0x28df30[_0x317f95(0x26d)]&&_0x4caf5e['setActiveRange'](_0x28df30[0x0]);}};re=tn([tt(0x0,_0x1dd84e),tt(0x1,_0x368abc)],re);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x3afb93,_0x3ee4b5,_0xec8666,_0x170f37)=>{const _0x37fc03=_0x54b204;for(var _0x46758e=_0x170f37>0x1?void 0x0:_0x170f37?sn(_0x3ee4b5,_0xec8666):_0x3ee4b5,_0x2ced77=_0x3afb93[_0x37fc03(0x26d)]-0x1,_0x2d354f;_0x2ced77>=0x0;_0x2ced77--)(_0x2d354f=_0x3afb93[_0x2ced77])&&(_0x46758e=_0x2d354f(_0x46758e)||_0x46758e);return _0x46758e;},Ce=(_0x407e55,_0x205e8e)=>(_0x1cc1d6,_0x4023d5)=>_0x205e8e(_0x1cc1d6,_0x4023d5,_0x407e55);let oe=class{constructor(_0x5ebb70,_0x200bd0,_0x292f80){const _0x1cd40e=_0x54b204;this[_0x1cd40e(0x261)]=_0x5ebb70,this['_transformService']=_0x200bd0,this[_0x1cd40e(0x313)]=_0x292f80;}['transformStateCache'](_0x4ac2b8){this['_transformHistoryAndStateStack'](_0x4ac2b8);}[_0x54b204(0x387)](_0x4afb9b){const _0x77d8fd=_0x54b204,{unitID:_0x5f5cce}=_0x4afb9b,{collaboration:_0x5b3a57}=this[_0x77d8fd(0x313)][_0x77d8fd(0x285)](_0x5f5cce);if(_0x5b3a57[_0x77d8fd(0x26d)]===0x0)return _0x4afb9b;let _0x1feabd=_0x585ba0[_0x77d8fd(0x351)](_0x4afb9b['mutations'][0x0]);for(let _0x2c4708=0x0;_0x2c4708<_0x5b3a57['length'];_0x2c4708++){const _0x377d2b={'id':_0x77d8fd(0x1ef),'params':{'unitId':_0x5b3a57[_0x2c4708][_0x77d8fd(0x272)],..._0x5b3a57[_0x2c4708][_0x77d8fd(0x266)]}},_0x32b67b=this['_transformService'][_0x77d8fd(0x328)](_0x1feabd,_0x377d2b,!0x1);if(_0x39527b(_0x32b67b))throw _0x32b67b[_0x77d8fd(0x3d0)];_0x1feabd=_0x32b67b[_0x77d8fd(0x38a)];}return{..._0x585ba0[_0x77d8fd(0x351)](_0x4afb9b),'mutations':[_0x1feabd]};}[_0x54b204(0x325)](_0x4eb80f){const _0x240cc4=_0x54b204,{unitID:_0x37a7a5}=_0x4eb80f,{history:_0x2403de,collaboration:_0x6c8bb2}=this[_0x240cc4(0x313)][_0x240cc4(0x285)](_0x37a7a5);if(_0x2403de[_0x240cc4(0x26d)]===0x0&&_0x6c8bb2[_0x240cc4(0x26d)]===0x0)return;const _0x856451=[],_0x573049=[];let _0x3fbd8b=_0x585ba0[_0x240cc4(0x351)](_0x4eb80f[_0x240cc4(0x256)][0x0]),_0x5abc6e=_0x585ba0[_0x240cc4(0x351)](_0x4eb80f[_0x240cc4(0x256)][0x0]);for(let _0x5673dd=_0x2403de['length']-0x1;_0x5673dd>=0x0;_0x5673dd--){const _0x25328a={'id':_0x240cc4(0x1ef),'params':{'unitId':_0x2403de[_0x5673dd]['unitId'],..._0x2403de[_0x5673dd][_0x240cc4(0x23c)]}},_0x12bd21={'id':_0x240cc4(0x1ef),'params':{'unitId':_0x2403de[_0x5673dd][_0x240cc4(0x272)],..._0x2403de[_0x5673dd][_0x240cc4(0x266)]}},_0x4c1e72=this[_0x240cc4(0x234)][_0x240cc4(0x328)](_0x3fbd8b,_0x25328a,!0x1),_0x576384=this['_transformService']['transformMutation'](_0x5abc6e,_0x12bd21,!0x1);if(_0x39527b(_0x4c1e72))throw _0x4c1e72[_0x240cc4(0x3d0)];if(_0x39527b(_0x576384))throw _0x576384[_0x240cc4(0x3d0)];_0x856451['unshift']({..._0x2403de[_0x5673dd],'undoState':_0x4c1e72[_0x240cc4(0x3b9)][_0x240cc4(0x380)],'redoState':_0x576384[_0x240cc4(0x3b9)][_0x240cc4(0x380)]}),_0x3fbd8b=_0x4c1e72['m1Prime'],_0x5abc6e=_0x576384[_0x240cc4(0x38a)];}_0x3fbd8b=_0x585ba0[_0x240cc4(0x351)](_0x4eb80f['mutations'][0x0]),_0x5abc6e=_0x585ba0[_0x240cc4(0x351)](_0x4eb80f[_0x240cc4(0x256)][0x0]);for(let _0x15b706=_0x6c8bb2['length']-0x1;_0x15b706>=0x0;_0x15b706--){const _0x3bc5ed={'id':_0x240cc4(0x1ef),'params':{'unitId':_0x6c8bb2[_0x15b706][_0x240cc4(0x272)],..._0x6c8bb2[_0x15b706]['undoState']}},_0x11e069={'id':_0x240cc4(0x1ef),'params':{'unitId':_0x6c8bb2[_0x15b706][_0x240cc4(0x272)],..._0x6c8bb2[_0x15b706]['redoState']}},_0x4cb46d=this['_transformService'][_0x240cc4(0x328)](_0x3fbd8b,_0x3bc5ed,!0x1),_0x161e43=this[_0x240cc4(0x234)][_0x240cc4(0x328)](_0x5abc6e,_0x11e069,!0x1);if(_0x39527b(_0x4cb46d))throw _0x4cb46d['error'];if(_0x39527b(_0x161e43))throw _0x161e43[_0x240cc4(0x3d0)];_0x573049['unshift']({..._0x6c8bb2[_0x15b706],'undoState':_0x4cb46d[_0x240cc4(0x3b9)][_0x240cc4(0x380)],'redoState':_0x161e43[_0x240cc4(0x3b9)][_0x240cc4(0x380)]}),_0x3fbd8b=_0x4cb46d[_0x240cc4(0x38a)],_0x5abc6e=_0x161e43[_0x240cc4(0x38a)];}this['_docStateChangeManagerService'][_0x240cc4(0x2a3)](_0x37a7a5,{'history':_0x856451,'collaboration':_0x573049});}};oe=nn([Ce(0x0,_0x564dc3(_0x4523b0)),Ce(0x1,_0x1dd84e),Ce(0x2,_0x564dc3(_0x1941cb))],oe);var rn=Object['getOwnPropertyDescriptor'],on=(_0x30501a,_0x4cd419,_0x18bd54,_0x4cebf4)=>{const _0x21e31d=_0x54b204;for(var _0x9be75a=_0x4cebf4>0x1?void 0x0:_0x4cebf4?rn(_0x4cd419,_0x18bd54):_0x4cd419,_0x51ecb9=_0x30501a[_0x21e31d(0x26d)]-0x1,_0x100cfd;_0x51ecb9>=0x0;_0x51ecb9--)(_0x100cfd=_0x30501a[_0x51ecb9])&&(_0x9be75a=_0x100cfd(_0x9be75a)||_0x9be75a);return _0x9be75a;},st=(_0x2a9416,_0x21a43f)=>(_0x182213,_0x8457d0)=>_0x21a43f(_0x182213,_0x8457d0,_0x2a9416);let ae=class{constructor(_0xfed155,_0x4b1990){const _0x344b80=_0x54b204;this[_0x344b80(0x261)]=_0xfed155,this[_0x344b80(0x234)]=_0x4b1990;}['transformSelections'](_0x4d2124){const _0x20eed9=_0x54b204;var _0x3df625;const _0x436c5f=this[_0x20eed9(0x261)][_0x20eed9(0x2ae)](_0x3d26f6),_0x1c3336=(_0x3df625=_0x436c5f[_0x20eed9(0x1f4)]())!=null?_0x3df625:[];if(_0x1c3336['length']===0x0)return;const _0x54bd13=_0x4d2124[_0x20eed9(0x277)],_0x11029a=[{'id':_0x20eed9(0x1ef),'params':{'unitId':_0x54bd13,'actions':null,'textRanges':_0x1c3336}}],_0x427bc5=this['_transformService'][_0x20eed9(0x2f1)](_0x4d2124,_0x11029a);if(!_0xf96115(_0x427bc5))throw _0x427bc5['error'];const _0x18aa04=_0x427bc5[_0x20eed9(0x3b9)][0x0]['params'][_0x20eed9(0x3b0)];Array[_0x20eed9(0x373)](_0x18aa04)&&_0x18aa04['length']&&_0x436c5f['replaceDocRanges'](_0x18aa04,{'unitId':_0x54bd13,'subUnitId':_0x54bd13},!0x1);}};ae=on([st(0x0,_0x564dc3(_0x4523b0)),st(0x1,_0x1dd84e)],ae);var an=Object[_0x54b204(0x364)],cn=(_0x1524fa,_0x2935c8,_0x2277b4,_0x4a49e0)=>{const _0x49c92c=_0x54b204;for(var _0x1d1f9c=_0x4a49e0>0x1?void 0x0:_0x4a49e0?an(_0x2935c8,_0x2277b4):_0x2935c8,_0x66e846=_0x1524fa[_0x49c92c(0x26d)]-0x1,_0x290d40;_0x66e846>=0x0;_0x66e846--)(_0x290d40=_0x1524fa[_0x66e846])&&(_0x1d1f9c=_0x290d40(_0x1d1f9c)||_0x1d1f9c);return _0x1d1f9c;},N=(_0x54eb3f,_0x46bf8f)=>(_0x473cc3,_0x350a8f)=>_0x46bf8f(_0x473cc3,_0x350a8f,_0x54eb3f);let ce=class extends _0x4dbb35{constructor(_0x48cac0,_0x473034,_0x286724,_0xb8b7c3,_0x3b0bff,_0x22d0b1,_0x336e97,_0x2a2fe7){const _0x1e6135=_0x54b204;super(),_(this,_0x1e6135(0x333),new _0x3e7b98(_0x284bb6['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x48cac0,this[_0x1e6135(0x384)]=_0x473034,this['_docTransformIMECacheService']=_0x286724,this[_0x1e6135(0x2be)]=_0xb8b7c3,this[_0x1e6135(0x2a0)]=_0x3b0bff,this['_docSyncEditingCollabCursorService']=_0x22d0b1,this[_0x1e6135(0x372)]=_0x336e97,this[_0x1e6135(0x279)]=_0x2a2fe7,this[_0x1e6135(0x381)]());}[_0x54b204(0x381)](){const _0x25b461=_0x54b204;this[_0x25b461(0x393)](this[_0x25b461(0x384)][_0x25b461(0x32d)]['subscribe'](_0x21cf71=>{const _0x3350fa=_0x25b461,_0x533380=this[_0x3350fa(0x313)]['docStateChange$'][_0x3350fa(0x365)](_0x3ddbd7=>{const _0xba3a2e=_0x3350fa;if(_0x3ddbd7==null)return;const {unitId:_0x11bf1b,redoState:_0x55a926,commandId:_0x1c6e42}=_0x3ddbd7;if(_0x11bf1b!==_0x21cf71['unitID'])return;const _0x2a3bb4={'id':_0x1c6e42,'type':_0xf5ba0e[_0xba3a2e(0x222)],'params':{'unitId':_0x11bf1b,'actions':_0x55a926[_0xba3a2e(0x214)],'textRanges':null}};_0x21cf71['onLocalMutation'](_0x2a3bb4);});if(_0x21cf71[_0x3350fa(0x393)](_0x533380),_0x21cf71 instanceof _0x325b13){const _0x342c0b={'onTransformIME':_0x2bf685=>this['_docTransformIMECacheService'][_0x3350fa(0x3e5)](_0x2bf685),'onTransformState':_0x288ac8=>this[_0x3350fa(0x2be)][_0x3350fa(0x318)](_0x288ac8),'onTransformSelections':_0x45d75a=>this[_0x3350fa(0x2a0)][_0x3350fa(0x295)](_0x45d75a),'onSyncEditingCollabCursor':_0x519153=>this['_docSyncEditingCollabCursorService'][_0x3350fa(0x259)](_0x519153),'onTransformRemoteChangesetByIMECache':_0x9e0f0e=>this['_docTransformIMECacheService'][_0x3350fa(0x387)](_0x9e0f0e),'onTransformRemoteChangesetByStateCache':_0x27d6b3=>this[_0x3350fa(0x2be)][_0x3350fa(0x387)](_0x27d6b3)};_0x21cf71[_0x3350fa(0x30e)](_0x342c0b);}}));}};ce=cn([N(0x0,_0x564dc3(_0x1941cb)),N(0x1,_0x564dc3(_0x519227)),N(0x2,_0x564dc3(re)),N(0x3,_0x564dc3(oe)),N(0x4,_0x564dc3(ae)),N(0x5,_0x564dc3(Fe)),N(0x6,_0x2dff99),N(0x7,_0x564dc3(_0x38053a))],ce);var ln=Object[_0x54b204(0x364)],_n=(_0x526735,_0x5160b0,_0x3dbbc6,_0x18d203)=>{const _0x53697b=_0x54b204;for(var _0x30d2eb=_0x18d203>0x1?void 0x0:_0x18d203?ln(_0x5160b0,_0x3dbbc6):_0x5160b0,_0x1b8a8b=_0x526735[_0x53697b(0x26d)]-0x1,_0x5ce36f;_0x1b8a8b>=0x0;_0x1b8a8b--)(_0x5ce36f=_0x526735[_0x1b8a8b])&&(_0x30d2eb=_0x5ce36f(_0x30d2eb)||_0x30d2eb);return _0x30d2eb;},Ee=(_0x27bae6,_0x1124c)=>(_0x16ffe3,_0x58b666)=>_0x1124c(_0x16ffe3,_0x58b666,_0x27bae6);let we=class extends _0x4dbb35{constructor(_0x1a08e7,_0x5821f9,_0x2e7329){const _0x433813=_0x54b204;super(),_(this,_0x433813(0x3e7),new Map()),_(this,_0x433813(0x2a6),new Map()),_(this,_0x433813(0x213),!0x1),(this[_0x433813(0x2b1)]=_0x1a08e7,this[_0x433813(0x341)]=_0x5821f9,this[_0x433813(0x2ca)]=_0x2e7329);}[_0x54b204(0x3dc)](){const _0x13fba0=_0x54b204;this[_0x13fba0(0x213)]=!0x0;}['enableLocalCache'](){const _0x381cec=_0x54b204;this[_0x381cec(0x213)]=!0x1;}get[_0x54b204(0x26b)](){const _0x410b8d=_0x54b204;return this[_0x410b8d(0x2a6)];}['dispose'](){const _0x5ca27f=_0x54b204;this[_0x5ca27f(0x22a)]()['then'](()=>super[_0x5ca27f(0x2d6)]());}async[_0x54b204(0x2ff)](_0x4cd7ce){const _0x62a55c=_0x54b204;return this[_0x62a55c(0x213)]?null:this['_localStorageService'][_0x62a55c(0x34d)](_0x82b9e6(_0x4cd7ce));}async['saveOfflineData'](_0x56bafd,_0x416743){const _0x527036=_0x54b204;return!!this['_localStorageService'][_0x527036(0x383)](_0x56bafd,_0x416743);}[_0x54b204(0x3df)](_0x5e7ec3,_0x416ea9,_0xc648b6,_0x2240ca){const _0x500ada=_0x54b204,_0x16c6b3=this[_0x500ada(0x2ca)][_0x500ada(0x32f)](_0x5e7ec3);this[_0x500ada(0x3e7)][_0x500ada(0x299)](_0x5e7ec3,{'unitID':_0x5e7ec3,'type':_0x416ea9,'awaitingChangeset':_0xc648b6,'mutations':_0x2240ca,'rev':_0x16c6b3}),this[_0x500ada(0x2a6)][_0x500ada(0x2a9)](_0x5e7ec3)||this[_0x500ada(0x1f9)](_0x5e7ec3);}[_0x54b204(0x1f9)](_0x58347b){const _0xe7ab8b=_0x54b204,_0x4392b4=this[_0xe7ab8b(0x292)]();_0x4392b4===0x0?this[_0xe7ab8b(0x3d7)](_0x58347b):this['_saveTaskMap']['set'](_0x58347b,setTimeout(()=>this[_0xe7ab8b(0x3d7)](_0x58347b),_0x4392b4));}[_0x54b204(0x292)](){var _0x4c43cb;return(_0x4c43cb=this['_configService']['getConfig'](_0x5b5bef))!=null?_0x4c43cb:_0x121e19;}[_0x54b204(0x3d7)](_0x3ab3a4){const _0x37aed3=_0x54b204,_0x2ee07a=this['_saveTaskMap']['get'](_0x3ab3a4);return _0x2ee07a!==void 0x0&&window[_0x37aed3(0x340)](_0x2ee07a),this[_0x37aed3(0x341)][_0x37aed3(0x383)](_0x82b9e6(_0x3ab3a4),this[_0x37aed3(0x3e7)][_0x37aed3(0x2ae)](_0x3ab3a4))['then'](()=>this[_0x37aed3(0x2a6)]['delete'](_0x3ab3a4));}async[_0x54b204(0x22a)](){const _0x73c427=_0x54b204,_0x14b5e9=[];this[_0x73c427(0x2a6)][_0x73c427(0x339)]((_0x15a813,_0x3781eb)=>{const _0x1cd298=_0x73c427;window[_0x1cd298(0x340)](_0x15a813),_0x14b5e9[_0x1cd298(0x226)](this['_saveCache'](_0x3781eb)[_0x1cd298(0x316)](()=>{const _0x3f8a5b=_0x1cd298;this['_saveTaskMap'][_0x3f8a5b(0x2dc)](_0x3781eb);}));}),await Promise[_0x73c427(0x22b)](_0x14b5e9);}};we=_n([Ee(0x0,_0x573d33),Ee(0x1,_0x47cc68),Ee(0x2,_0x564dc3(_0x3dd31c))],we);class hn extends _0x1fdcdf{constructor(){const _0x36e1de=_0x54b204;super(),_(this,_0x36e1de(0x395)),this[_0x36e1de(0x395)]=_0x262a20(window,_0x36e1de(0x209))[_0x36e1de(0x3cb)](_0x4f79cf(this[_0x36e1de(0x37f)]),_0x205ffa(0x1),_0x494858(void 0x0));}[_0x54b204(0x366)](_0x2a15d8,_0x3cc679,_0x2ea547=!0x1){const _0x454a3c=_0x54b204,_0x39b0da=new URL(window[_0x454a3c(0x3aa)]['href']);_0x39b0da[_0x454a3c(0x254)]['set'](_0x2a15d8,_0x3cc679),_0x2ea547?window['history'][_0x454a3c(0x2c3)]('','',_0x39b0da[_0x454a3c(0x1f6)]()):window[_0x454a3c(0x274)]['pushState']('','',_0x39b0da[_0x454a3c(0x1f6)]());}[_0x54b204(0x3bf)](_0x343640,_0x4b85bf=!0x1){const _0x2d7b59=_0x54b204,_0x355d85=new URL(window['location'][_0x2d7b59(0x32a)]);_0x355d85[_0x2d7b59(0x254)][_0x2d7b59(0x2dc)](_0x343640),_0x4b85bf?window[_0x2d7b59(0x274)][_0x2d7b59(0x2c3)]('','',_0x355d85['toString']()):window[_0x2d7b59(0x274)][_0x2d7b59(0x20c)]('','',_0x355d85['toString']());}[_0x54b204(0x2d9)](_0x8556d2){const _0x37e29b=_0x54b204;var _0x40100b;return(_0x40100b=new URL(window[_0x37e29b(0x3aa)][_0x37e29b(0x32a)])[_0x37e29b(0x254)][_0x37e29b(0x2ae)](_0x8556d2))!=null?_0x40100b:void 0x0;}}var un=Object[_0x54b204(0x201)],dn=Object[_0x54b204(0x364)],fn=(_0x2db8de,_0x3f3d00,_0x43a03b)=>_0x3f3d00 in _0x2db8de?un(_0x2db8de,_0x3f3d00,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43a03b}):_0x2db8de[_0x3f3d00]=_0x43a03b,Sn=(_0x5bd867,_0x2bb96b,_0x4b3b4a,_0x1aa719)=>{for(var _0x3088d9=_0x1aa719>0x1?void 0x0:_0x1aa719?dn(_0x2bb96b,_0x4b3b4a):_0x2bb96b,_0x564783=_0x5bd867['length']-0x1,_0x2599c4;_0x564783>=0x0;_0x564783--)(_0x2599c4=_0x5bd867[_0x564783])&&(_0x3088d9=_0x2599c4(_0x3088d9)||_0x3088d9);return _0x3088d9;},Oe=(_0x34392f,_0x4cdce9)=>(_0x2612f5,_0x25ea53)=>_0x4cdce9(_0x2612f5,_0x25ea53,_0x34392f),mn=(_0x1dcd0a,_0xf9c4ec,_0x3c7c62)=>fn(_0x1dcd0a,_0xf9c4ec+'',_0x3c7c62);const In=_0x54b204(0x20d);let Ae=class extends _0x4bdb08{constructor(_0x4657bf=et,_0x50935c,_0x4e6656,_0x3c35d7){const _0x509f12=_0x54b204;super(),this[_0x509f12(0x2f4)]=_0x4657bf,this[_0x509f12(0x2ba)]=_0x50935c,this[_0x509f12(0x261)]=_0x4e6656,this[_0x509f12(0x2b1)]=_0x3c35d7;const {..._0x4b662f}=_0x86bf59({},et,this[_0x509f12(0x2f4)]);this[_0x509f12(0x2b1)][_0x509f12(0x264)](qi,_0x4b662f);}[_0x54b204(0x3a9)](){const _0x223f35=_0x54b204;this[_0x223f35(0x356)](),this[_0x223f35(0x3e6)]();}[_0x54b204(0x255)](){const _0x202425=_0x54b204;this[_0x202425(0x24a)]();}[_0x54b204(0x356)](){const _0x124f35=_0x54b204;var _0x55b8d0;const _0x5244ec=[[He],[ae],[re],[oe],[Fe],[Ut,{'useClass':hn}],[_0x27e693,{'useClass':_0x3f5e61}],[_0xc48228,{'useClass':we}],[se],[ce],[ne],[F],[Ne],[ie]];_0x1592b2(this[_0x124f35(0x261)],_0x578e71(_0x5244ec,(_0x55b8d0=this['_config'])==null?void 0x0:_0x55b8d0['override']));}[_0x54b204(0x24a)](){const _0x57ecfb=_0x54b204;this[_0x57ecfb(0x393)](this[_0x57ecfb(0x2ba)][_0x57ecfb(0x29e)](_0x42b153[_0x57ecfb(0x35d)],[Le])),this[_0x57ecfb(0x393)](this[_0x57ecfb(0x2ba)][_0x57ecfb(0x29e)](_0x42b153[_0x57ecfb(0x3a6)],[Pe]));}['_initDependencies'](){const _0x219722=_0x54b204;_0x4b7cde(this[_0x219722(0x261)],[[F],[se],[ce],[ne],[ie]]);}};mn(Ae,_0x54b204(0x265),In),Ae=Sn([_0x2c6589(_0x497c5c),Oe(0x1,_0x368abc),Oe(0x2,_0x564dc3(_0x4523b0)),Oe(0x3,_0x573d33)],Ae);var vn=Object[_0x54b204(0x364)],gn=(_0x2ae065,_0x100ef2,_0x18677f,_0x44dedf)=>{const _0x556ba7=_0x54b204;for(var _0x32c148=_0x44dedf>0x1?void 0x0:_0x44dedf?vn(_0x100ef2,_0x18677f):_0x100ef2,_0x37a9ea=_0x2ae065[_0x556ba7(0x26d)]-0x1,_0x51a446;_0x37a9ea>=0x0;_0x37a9ea--)(_0x51a446=_0x2ae065[_0x37a9ea])&&(_0x32c148=_0x51a446(_0x32c148)||_0x32c148);return _0x32c148;},z=(_0x14a81d,_0x5c027b)=>(_0x1e56e0,_0x121866)=>_0x5c027b(_0x1e56e0,_0x121866,_0x14a81d);let it=class extends _0x121e68{constructor(_0x294574,_0x4f292e,_0x1c0e6e,_0x37ceea,_0xb3e6cd){super(_0x294574,_0x4f292e,_0x1c0e6e,_0x37ceea,_0xb3e6cd);}async[_0x54b204(0x392)](_0x326e4c){const _0x57e9d9=_0x54b204,_0x25a3ee=await this[_0x57e9d9(0x240)](),_0xfbbebc=this[_0x57e9d9(0x38b)](_0x326e4c,_0x25a3ee);return this[_0x57e9d9(0x21d)](_0xfbbebc);}['_createSocketURL'](_0x9af818,_0x5ed63c){const _0x5c97d5=_0x54b204,_0xd012ef=typeof window>'u'?new URL(_0x9af818):new URL(_0x9af818,window['location'][_0x5c97d5(0x385)]);_0xd012ef['searchParams'][_0x5c97d5(0x299)](_0x5c97d5(0x211),_0x5ed63c);const _0x9f52fa=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5c97d5(0x3aa)][_0x5c97d5(0x3b6)]);return _0x9f52fa[_0x5c97d5(0x2ae)]('runId')&&_0xd012ef[_0x5c97d5(0x254)][_0x5c97d5(0x299)](_0x5c97d5(0x3c6),_0x9f52fa['get'](_0x5c97d5(0x3c6))),_0xd012ef[_0x5c97d5(0x1f6)]();}async[_0x54b204(0x240)](){const _0x50d177=_0x54b204;var _0x364d07,_0xfdde66,_0x191e9e;const _0x1936b2=this['_configService'][_0x50d177(0x3a4)](_0x1151cd),_0x3332d9=(_0x364d07=_0x1936b2==null?void 0x0:_0x1936b2[_0x50d177(0x3c5)])!=null?_0x364d07:_0x22d252;return(_0x191e9e=(_0xfdde66=(await this[_0x50d177(0x263)]['get'](_0x3332d9,{'headers':{'Content-Type':_0x50d177(0x224)}}))[_0x50d177(0x358)])==null?void 0x0:_0xfdde66[_0x50d177(0x2f0)])!=null?_0x191e9e:'';}};it=gn([z(0x0,_0x564dc3(_0x4523b0)),z(0x1,_0x564dc3(_0x3b42d9)),z(0x2,_0x573d33),z(0x3,_0x4ae4b5),z(0x4,_0x3ddf6b)],it);var Lt=(_0x5f333b=>(_0x5f333b[_0x5f333b[_0x54b204(0x347)]=0x0]=_0x54b204(0x347),_0x5f333b[_0x5f333b['OK']=0x1]='OK',_0x5f333b[_0x5f333b[_0x54b204(0x3ba)]=0x2]='INTERNAL_ERROR',_0x5f333b[_0x5f333b[_0x54b204(0x35e)]=0x3]=_0x54b204(0x35e),_0x5f333b[_0x5f333b[_0x54b204(0x3b4)]=0x4]=_0x54b204(0x3b4),_0x5f333b[_0x5f333b[_0x54b204(0x1fc)]=0x5]=_0x54b204(0x1fc),_0x5f333b[_0x5f333b[_0x54b204(0x20a)]=0x6]=_0x54b204(0x20a),_0x5f333b[_0x5f333b[_0x54b204(0x33a)]=0x7]='INVALID_ARGUMENT',_0x5f333b[_0x5f333b[_0x54b204(0x3e1)]=0x8]=_0x54b204(0x3e1),_0x5f333b[_0x5f333b[_0x54b204(0x27e)]=0x9]=_0x54b204(0x27e),_0x5f333b[_0x5f333b[_0x54b204(0x37e)]=0xa]=_0x54b204(0x37e),_0x5f333b[_0x5f333b['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x54b204(0x343),_0x5f333b[_0x5f333b[_0x54b204(0x27a)]=0xc]=_0x54b204(0x27a),_0x5f333b[_0x5f333b[_0x54b204(0x281)]=0xd]=_0x54b204(0x281),_0x5f333b[_0x5f333b['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5f333b[_0x5f333b[_0x54b204(0x227)]=0x1389]=_0x54b204(0x227),_0x5f333b[_0x5f333b[_0x54b204(0x250)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5f333b[_0x5f333b[_0x54b204(0x25a)]=0x1772]=_0x54b204(0x25a),_0x5f333b[_0x5f333b[_0x54b204(0x350)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5f333b[_0x5f333b[_0x54b204(0x2e1)]=0x1b59]=_0x54b204(0x2e1),_0x5f333b[_0x5f333b[_0x54b204(0x39d)]=0x1b5a]=_0x54b204(0x39d),_0x5f333b[_0x5f333b['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5f333b[_0x5f333b[_0x54b204(0x37c)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5f333b[_0x5f333b['APPLY_DUPLICATED']=0x1b5d]=_0x54b204(0x278),_0x5f333b[_0x5f333b[_0x54b204(0x308)]=0x1f41]=_0x54b204(0x308),_0x5f333b[_0x5f333b[_0x54b204(0x2a2)]=0x2329]=_0x54b204(0x2a2),_0x5f333b[_0x5f333b['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5f333b[_0x5f333b[_0x54b204(0x2b6)]=0x232b]=_0x54b204(0x2b6),_0x5f333b[_0x5f333b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5f333b[_0x5f333b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x54b204(0x1fd),_0x5f333b[_0x5f333b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x54b204(0x324),_0x5f333b[_0x5f333b[_0x54b204(0x3de)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5f333b[_0x5f333b['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x54b204(0x2ce),_0x5f333b[_0x5f333b[_0x54b204(0x36a)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5f333b[_0x5f333b[_0x54b204(0x32e)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5f333b[_0x5f333b[_0x54b204(0x32b)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5f333b[_0x5f333b[_0x54b204(0x24e)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5f333b[_0x5f333b[_0x54b204(0x31c)]=0x271d]=_0x54b204(0x31c),_0x5f333b[_0x5f333b[_0x54b204(0x245)]=0x271e]=_0x54b204(0x245),_0x5f333b[_0x5f333b[_0x54b204(0x309)]=0x271f]=_0x54b204(0x309),_0x5f333b[_0x5f333b['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5f333b[_0x5f333b[_0x54b204(0x287)]=0x2af9]=_0x54b204(0x287),_0x5f333b[_0x5f333b[_0x54b204(0x389)]=0x2ee1]=_0x54b204(0x389),_0x5f333b[_0x5f333b[_0x54b204(0x3e3)]=0x2ee2]='INVALID_INVITE_CODE',_0x5f333b[_0x5f333b[_0x54b204(0x2d3)]=0x2ee3]=_0x54b204(0x2d3),_0x5f333b[_0x5f333b[_0x54b204(0x322)]=0x2ee4]=_0x54b204(0x322),_0x5f333b[_0x5f333b[_0x54b204(0x34a)]=0x2ee5]=_0x54b204(0x34a),_0x5f333b[_0x5f333b[_0x54b204(0x244)]=0x32c9]=_0x54b204(0x244),_0x5f333b[_0x5f333b[_0x54b204(0x217)]=0x32ca]=_0x54b204(0x217),_0x5f333b[_0x5f333b[_0x54b204(0x21c)]=0x32cb]=_0x54b204(0x21c),_0x5f333b[_0x5f333b[_0x54b204(0x377)]=-0x1]='UNRECOGNIZED',_0x5f333b))(Lt||{}),pn=Object[_0x54b204(0x364)],Cn=(_0x34e350,_0x3daa41,_0x345a7c,_0x44a906)=>{for(var _0x807a1a=_0x44a906>0x1?void 0x0:_0x44a906?pn(_0x3daa41,_0x345a7c):_0x3daa41,_0x1f109f=_0x34e350['length']-0x1,_0x3822de;_0x1f109f>=0x0;_0x1f109f--)(_0x3822de=_0x34e350[_0x1f109f])&&(_0x807a1a=_0x3822de(_0x807a1a)||_0x807a1a);return _0x807a1a;},be=(_0x8dc4fa,_0x1746f0)=>(_0x1240ff,_0x1d09b8)=>_0x1746f0(_0x1240ff,_0x1d09b8,_0x8dc4fa);let nt=class extends _0x4dbb35{constructor(_0x459348,_0x2a447b,_0x253ff8){const _0x42fb68=_0x54b204;super(),this[_0x42fb68(0x337)]=_0x459348,this[_0x42fb68(0x263)]=_0x2a447b,this['_configService']=_0x253ff8;}async['runOnServer'](_0x2836dd,_0x28c13f,_0xabe230,..._0x16dc8a){const _0x555817=_0x54b204;var _0x4185ea,_0x56600f,_0x1f171f,_0xa52776;const _0x58ec00=this[_0x555817(0x337)][_0x555817(0x2aa)]();if(!_0x58ec00)throw new Error(_0x555817(0x260));const _0x56dc75=((_0x4185ea=this[_0x555817(0x2b1)]['getConfig'](_0x2fb49f))!=null?_0x4185ea:_0x3173a9)+'/'+_0x2836dd+_0x555817(0x23a)+_0x28c13f,_0x45cd60=new URL(window['location']['href']),_0x4f08ee={'scriptId':_0x2836dd,'runId':(_0x56600f=_0x45cd60[_0x555817(0x254)][_0x555817(0x2ae)]('runId'))!=null?_0x56600f:'','function':_0x28c13f,'unitId':_0x58ec00[_0x555817(0x315)](),'argsOfFunction':JSON[_0x555817(0x219)](_0x16dc8a),'invokeId':(_0x1f171f=_0xabe230[_0x555817(0x2e3)])!=null?_0x1f171f:'','executionId':(_0xa52776=_0xabe230[_0x555817(0x34f)])!=null?_0xa52776:''};try{const _0x222b64=await this[_0x555817(0x263)][_0x555817(0x267)](_0x56dc75,{'body':_0x4f08ee});return _0x222b64[_0x555817(0x358)]['error']&&_0x222b64[_0x555817(0x358)][_0x555817(0x3d0)]['code']!==Lt['OK']?_0x555817(0x311):_0x222b64[_0x555817(0x358)][_0x555817(0x22d)];}catch{return _0x555817(0x311);}}};nt=Cn([be(0x0,_0x353b09),be(0x1,_0x564dc3(_0x3b42d9)),be(0x2,_0x573d33)],nt);const rt=0x7530,ot=_0x54b204(0x2c2);class Fn extends _0x4dbb35{constructor(){const _0x546688=_0x54b204;super(),_(this,_0x546688(0x3cd),_0x1fbd32()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x546688(0x3d1),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x546688(0x252),new Map()),this[_0x546688(0x232)]();}[_0x54b204(0x2d6)](){const _0x4a888b=_0x54b204;super[_0x4a888b(0x2d6)](),this[_0x4a888b(0x35b)][_0x4a888b(0x339)]((_0x53b1f9,_0x3c2c06)=>this[_0x4a888b(0x2f2)](_0x3c2c06)),this[_0x4a888b(0x3d1)]&&window[_0x4a888b(0x26c)](this[_0x4a888b(0x3d1)]);}[_0x54b204(0x2b4)](_0x1be4e6){const _0x503cb1=_0x54b204;return this[_0x503cb1(0x342)](_0x1be4e6)[_0x503cb1(0x3cb)](_0x29eedb());}[_0x54b204(0x20e)](_0x469c30){const _0x45a08e=_0x54b204;this[_0x45a08e(0x2ea)][_0x45a08e(0x346)]===0x0&&this[_0x45a08e(0x3be)](),this['_selfUnitIDs'][_0x45a08e(0x27b)](_0x469c30),this[_0x45a08e(0x237)]({'type':0x0,'memberID':this[_0x45a08e(0x3cd)],'unitIDs':[_0x469c30],'isForwarded':!0x1});}[_0x54b204(0x21e)](_0x502663){const _0xfd206e=_0x54b204;this[_0xfd206e(0x2ea)][_0xfd206e(0x2dc)](_0x502663),this['_selfUnitIDs'][_0xfd206e(0x346)]===0x0&&this['_heartbeatTimer']&&window[_0xfd206e(0x26c)](this[_0xfd206e(0x3d1)]);}['_init'](){const _0x327f5b=_0x54b204;this[_0x327f5b(0x393)](_0x2dce4a(_0x262a20(window,_0x327f5b(0x305))[_0x327f5b(0x365)](_0x4d126e=>{const _0x2649d0=_0x327f5b;if(_0x4d126e[_0x2649d0(0x30f)]!==ot||!_0x4d126e[_0x2649d0(0x273)])return;const _0xc458dc=JSON['parse'](_0x4d126e[_0x2649d0(0x273)]);this['_handleEvent'](_0xc458dc);}))),window[_0x327f5b(0x2ee)](_0x327f5b(0x29b),()=>this[_0x327f5b(0x237)]({'type':0x1,'memberID':this[_0x327f5b(0x3cd)],'unitIDs':Array[_0x327f5b(0x302)](this[_0x327f5b(0x2ea)])}));}['_handleEvent'](_0x1aa990){const _0x5ea7c4=_0x54b204;switch(_0x1aa990[_0x5ea7c4(0x321)]){case 0x0:this[_0x5ea7c4(0x361)](_0x1aa990);break;case 0x1:this[_0x5ea7c4(0x35a)](_0x1aa990);break;case 0x2:this[_0x5ea7c4(0x243)](_0x1aa990);break;}}[_0x54b204(0x361)](_0x25d5b4){const _0x1bfd9c=_0x54b204,{unitIDs:_0x4d32ba,memberID:_0xecc5e7,isForwarded:_0x22c06c}=_0x25d5b4;_0x4d32ba[_0x1bfd9c(0x339)](_0x21cb46=>{const _0x5ad525=_0x1bfd9c;if(!_0x22c06c&&this[_0x5ad525(0x38d)][_0x5ad525(0x2a9)](_0x21cb46)&&this[_0x5ad525(0x342)](_0x21cb46)[_0x5ad525(0x33c)](_0x3320c8[_0x5ad525(0x3bd)]),!this[_0x5ad525(0x38d)]['has'](_0x21cb46)||!this['_unitOnClients'][_0x5ad525(0x2ae)](_0x21cb46)[_0x5ad525(0x2a9)](_0xecc5e7)){const _0x452156=this[_0x5ad525(0x38d)][_0x5ad525(0x2ae)](_0x21cb46)||new Set();_0x452156[_0x5ad525(0x27b)](_0xecc5e7),this[_0x5ad525(0x38d)][_0x5ad525(0x299)](_0x21cb46,_0x452156),this[_0x5ad525(0x22c)](_0xecc5e7);}}),_0x22c06c||this[_0x1bfd9c(0x237)]({'type':0x0,'memberID':this[_0x1bfd9c(0x3cd)],'unitIDs':[...this[_0x1bfd9c(0x2ea)]],'isForwarded':!0x0});}[_0x54b204(0x22c)](_0x1ed849){const _0x3e6566=_0x54b204;this[_0x3e6566(0x2f2)](_0x1ed849);const _0x38b855=window[_0x3e6566(0x3ad)](()=>{const _0x2363ec=_0x3e6566;this['_unitOnClients'][_0x2363ec(0x339)](_0x5014ec=>{_0x5014ec['delete'](_0x1ed849);});},rt*0x2);this['_clearOtherTimers'][_0x3e6566(0x299)](_0x1ed849,_0x38b855);}[_0x54b204(0x2f2)](_0x1cb09a){const _0x8bb562=_0x54b204;if(this[_0x8bb562(0x35b)]['has'](_0x1cb09a)){const _0x44872b=this[_0x8bb562(0x35b)]['get'](_0x1cb09a);_0x44872b&&window[_0x8bb562(0x340)](_0x44872b),this[_0x8bb562(0x35b)][_0x8bb562(0x299)](_0x1cb09a,null);}}[_0x54b204(0x35a)](_0x24e860){const _0x2281b3=_0x54b204,{memberID:_0x3a8022,unitIDs:_0x423ea6}=_0x24e860;_0x423ea6[_0x2281b3(0x339)](_0x52634d=>{const _0x54b7f1=_0x2281b3;var _0x3b1dac;const _0x42e71f=this[_0x54b7f1(0x38d)][_0x54b7f1(0x2ae)](_0x52634d);_0x42e71f&&(_0x42e71f[_0x54b7f1(0x2dc)](_0x3a8022),(_0x3b1dac=this['_ensureSubject'](_0x52634d))==null||_0x3b1dac[_0x54b7f1(0x33c)](_0x42e71f[_0x54b7f1(0x346)]===0x0?_0x3320c8[_0x54b7f1(0x317)]:_0x3320c8[_0x54b7f1(0x3bd)]));}),this[_0x2281b3(0x2f2)](_0x3a8022);}[_0x54b204(0x243)](_0x298dc4){const _0x337161=_0x54b204;this[_0x337161(0x22c)](_0x298dc4[_0x337161(0x230)]);}[_0x54b204(0x237)](_0x4cfb74){const _0x2f1cd3=_0x54b204;localStorage['setItem'](ot,JSON[_0x2f1cd3(0x219)](_0x4cfb74));}[_0x54b204(0x3be)](){const _0x2de570=_0x54b204;this[_0x2de570(0x3d1)]=window[_0x2de570(0x2eb)](()=>{const _0x29cad8=_0x2de570;this['_send']({'type':0x2,'memberID':this[_0x29cad8(0x3cd)]});},rt);}[_0x54b204(0x342)](_0x2f2013){const _0x591c47=_0x54b204;return this[_0x591c47(0x252)]['has'](_0x2f2013)||this[_0x591c47(0x252)][_0x591c47(0x299)](_0x2f2013,new _0x3e7b98(_0x3320c8[_0x591c47(0x317)])),this[_0x591c47(0x252)][_0x591c47(0x2ae)](_0x2f2013);}}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
|
-
|
|
1
|
+
const _0x5d8088=_0x37aa;(function(_0x425a71,_0xa12c17){const _0x5989c5=_0x37aa,_0x25eba8=_0x425a71();while(!![]){try{const _0x55a7c5=-parseInt(_0x5989c5(0x195))/0x1*(-parseInt(_0x5989c5(0x196))/0x2)+-parseInt(_0x5989c5(0x194))/0x3+parseInt(_0x5989c5(0x19d))/0x4*(-parseInt(_0x5989c5(0x19b))/0x5)+-parseInt(_0x5989c5(0x197))/0x6+-parseInt(_0x5989c5(0x193))/0x7+parseInt(_0x5989c5(0x1a2))/0x8*(-parseInt(_0x5989c5(0x1a8))/0x9)+-parseInt(_0x5989c5(0x1a9))/0xa*(-parseInt(_0x5989c5(0x19c))/0xb);if(_0x55a7c5===_0xa12c17)break;else _0x25eba8['push'](_0x25eba8['shift']());}catch(_0x1ca4da){_0x25eba8['push'](_0x25eba8['shift']());}}}(_0x4c5f,0x9ea9e));function _0x37aa(_0x4c16a2,_0x433c74){const _0x4c5f1f=_0x4c5f();return _0x37aa=function(_0x37aae3,_0x4b3734){_0x37aae3=_0x37aae3-0x193;let _0x3f5cb2=_0x4c5f1f[_0x37aae3];return _0x3f5cb2;},_0x37aa(_0x4c16a2,_0x433c74);}function _0x4c5f(){const _0x3cfed8=['6AVAtPA','526986ISeGno','Synced','Collaboration\x20Conflict','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','150kIuEhA','41562719sqvPuz','132456NMfovG','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Authentication\x20Error','Click\x20to\x20Reconnect','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1657224GxsNge','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20please\x20check\x20your\x20network.','27uspomG','10mzwtDn','Syncing\x20server\x20data...','4061638RCphMQ','3574569oSNDnj','115308eQcXSw'];_0x4c5f=function(){return _0x3cfed8;};return _0x4c5f();}const e={'collab-client':{'tooltip':{'reconnect':_0x5d8088(0x1a0)}},'collabStatus':{'fetchMiss':_0x5d8088(0x1aa),'conflict':'Edit\x20conflicts','notCollab':_0x5d8088(0x1a3),'synced':_0x5d8088(0x198),'syncing':'Syncing...','offline':_0x5d8088(0x1a4)},'session':{'connection-failed':_0x5d8088(0x1a7),'will-retry':_0x5d8088(0x1a5),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x5d8088(0x199),'content':_0x5d8088(0x19e)},'permission':{'title':_0x5d8088(0x19f),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x5d8088(0x19a)},'closeRoom':_0x5d8088(0x1a6)},'auth':{'needGotoLoginAlert':_0x5d8088(0x1a1)}},o=e;export{o as default};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x1693ba=_0x52a5;function _0xeebd(){const _0x13dc52=['29888AJpAeM','Connection\x20failed,\x20please\x20check\x20your\x20network.','4760854MUeafW','Edit\x20conflicts','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','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.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Click\x20to\x20Reconnect','14926280JLxAai','1197lJNTpW','3KFJXhP','874772XEbzHZ','1282184LaLMgc','Local\x20file','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','1624aruNGq','Synced','1008936TryNjV','Syncing...','Syncing\x20server\x20data...','535FkPOLh','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0xeebd=function(){return _0x13dc52;};return _0xeebd();}function _0x52a5(_0x2f098e,_0x3265e4){const _0xeebdf2=_0xeebd();return _0x52a5=function(_0x52a52c,_0x2be9c0){_0x52a52c=_0x52a52c-0x159;let _0x1f2e29=_0xeebdf2[_0x52a52c];return _0x1f2e29;},_0x52a5(_0x2f098e,_0x3265e4);}(function(_0x3234d9,_0x512d95){const _0x1ba2eb=_0x52a5,_0x1fc4d1=_0x3234d9();while(!![]){try{const _0x53bb79=parseInt(_0x1ba2eb(0x16c))/0x1+-parseInt(_0x1ba2eb(0x16d))/0x2*(parseInt(_0x1ba2eb(0x16b))/0x3)+parseInt(_0x1ba2eb(0x160))/0x4*(-parseInt(_0x1ba2eb(0x15e))/0x5)+parseInt(_0x1ba2eb(0x15b))/0x6+-parseInt(_0x1ba2eb(0x162))/0x7+-parseInt(_0x1ba2eb(0x159))/0x8*(-parseInt(_0x1ba2eb(0x16a))/0x9)+parseInt(_0x1ba2eb(0x169))/0xa;if(_0x53bb79===_0x512d95)break;else _0x1fc4d1['push'](_0x1fc4d1['shift']());}catch(_0x3acedd){_0x1fc4d1['push'](_0x1fc4d1['shift']());}}}(_0xeebd,0x6bded));const e={'collab-client':{'tooltip':{'reconnect':_0x1693ba(0x168)}},'collabStatus':{'fetchMiss':_0x1693ba(0x15d),'conflict':_0x1693ba(0x163),'notCollab':_0x1693ba(0x16e),'synced':_0x1693ba(0x15a),'syncing':_0x1693ba(0x15c),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x1693ba(0x161),'will-retry':_0x1693ba(0x166),'room-full':_0x1693ba(0x164),'collaboration-timeout':_0x1693ba(0x16f)},'conflict':{'title':_0x1693ba(0x170),'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':'Authentication\x20Error','content':_0x1693ba(0x167)},'collaboration':{'single-unit':{'warning':_0x1693ba(0x165)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1693ba(0x15f)}};export{e as default};
|