@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505261607 → 0.8.0-nightly.202505281606
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x269b37=_0x542b;(function(_0x2afbca,_0x1f4d1c){const _0x2b4e09=_0x542b,_0x23cc57=_0x2afbca();while(!![]){try{const _0x35d8a4=-parseInt(_0x2b4e09(0x263))/0x1+-parseInt(_0x2b4e09(0x17a))/0x2*(parseInt(_0x2b4e09(0x271))/0x3)+-parseInt(_0x2b4e09(0xbd))/0x4+parseInt(_0x2b4e09(0x195))/0x5*(-parseInt(_0x2b4e09(0xbc))/0x6)+-parseInt(_0x2b4e09(0x2a5))/0x7+parseInt(_0x2b4e09(0x1a7))/0x8+-parseInt(_0x2b4e09(0x19a))/0x9*(-parseInt(_0x2b4e09(0x250))/0xa);if(_0x35d8a4===_0x1f4d1c)break;else _0x23cc57['push'](_0x23cc57['shift']());}catch(_0xffe9f3){_0x23cc57['push'](_0x23cc57['shift']());}}}(_0x100d,0xae64b));var $t=Object['defineProperty'],xt=(_0x37ad89,_0x2bbddc,_0x54a846)=>_0x2bbddc in _0x37ad89?$t(_0x37ad89,_0x2bbddc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54a846}):_0x37ad89[_0x2bbddc]=_0x54a846,_=(_0x184ff3,_0x2ec96b,_0x8fabb9)=>xt(_0x184ff3,typeof _0x2ec96b!='symbol'?_0x2ec96b+'':_0x2ec96b,_0x8fabb9);import{MemberService as _0x341eaa,SessionStatus as _0x12f05a,CollaborationSessionService as _0xc38a18,CollaborationStatus as _0x25c542,CollaborationController as _0x55412b,ILocalCacheService as _0x3fb996,CollaborationUIEventService as _0x1ac71a,CollaborationUIEventId as _0x2c1cc8,DataLoaderService as _0x2dc028,DocCollaborationEntity as _0x526580,getLocalCacheKey as _0x1345cc,LOCAL_CACHE_INTERVAL as _0x9c53d4,LOCAL_CACHE_INTERVAL_KEY as _0x88ab56,UniverCollaborationClientPlugin as _0x47cfbf,CollaborationSocketService as _0x65cd87,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5ee817,DEFAULT_WS_SESSION_TICKET_URL as _0x4730eb,UnitStatus as _0x856498,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xae1bff,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2fa97f}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1eb9f7,Disposable as _0x2473c8,DOC_RANGE_TYPE as _0x55da03,Inject as _0x47930e,Injector as _0x3c7764,IUniverInstanceService as _0x214b26,ICommandService as _0x46cdda,debounce as _0x5d1c73,Rectangle as _0xa76f80,DisposableCollection as _0x331b9f,toDisposable as _0x4a4954,UniverInstanceType as _0x5ac07f,Tools as _0x4286a4,COLORS as _0xf0b638,ColorKit as _0x20af0f,ThemeService as _0x58ca4c,fromEventSubject as _0x349e98,LocaleService as _0x4d65df,createIdentifier as _0x5057f9,ILogService as _0x325a2a,Optional as _0x49e359,Workbook as _0x3aa8dd,CommandType as _0x325dd7,IConfigService as _0x13c636,ILocalStorageService as _0x4cd1a8,DependentOn as _0x3c37d6,Plugin as _0x4d1661,merge as _0x4c1acc,registerDependencies as _0x491978,mergeOverrideWithDependencies as _0x584615,touchDependencies as _0x364c59,generateRandomId as _0x14162c}from'@univerjs/core';import{Shape as _0x1f0d03,Rect as _0x4b40bd,getColor as _0x4cc7e2,RegularPolygon as _0x3357f1,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5b038e,Vector2 as _0x1a2a82,SHEET_VIEWPORT_KEY as _0x10c6c3,IRenderManagerService as _0x2de4b6}from'@univerjs/engine-render';import{ISocketService as _0x2a69e8,WebSocketService as _0x1e3943,HTTPService as _0xde2c17}from'@univerjs/network';import{IDocClipboardService as _0x4bbe8d,NodePositionConvertToCursor as _0x205728,NodePositionConvertToRectRange as _0x136afb,TEXT_RANGE_LAYER_INDEX as _0x419024,SetDocZoomRatioOperation as _0x4e9ce9,DocIMEInputManagerService as _0x4fcb4e,DocStateChangeManagerService as _0x28214e}from'@univerjs/docs-ui';import{IImageIoService as _0x22a692}from'@univerjs/drawing';import{BehaviorSubject as _0x46d066,debounceTime as _0x578965,takeUntil as _0x23ec57,Subject as _0x4c291d,filter as _0x2e3855,switchMap as _0x1b2352,merge as _0x1fe1fd,combineLatest as _0x235582,of as _0x59ee54,fromEvent as _0x2b6445,shareReplay as _0x389b77,mapTo as _0x2b1c29,distinctUntilChanged as _0x57c297}from'rxjs';import{SetTextSelectionsOperation as _0x5b84c8,RichTextEditingMutation as _0x5efe24,DocSelectionManagerService as _0x5369ac,DocSkeletonManagerService as _0x39e395}from'@univerjs/docs';import{ITransformService as _0x370876,CollaborationEvent as _0x2cbcdb,isTransformMutationFailure as _0x3f17f0,isTransformMutationsWithChangesetSuccess as _0x4e7f5c,RevisionService as _0x22599c,ISnapshotServerService as _0xa8e3cf}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x4c08cf,serializeRangeWithSheet as _0x4cd88c}from'@univerjs/engine-formula';import{RefRangeService as _0x2f6eee,SetSelectionsOperation as _0x432e8a,SheetsSelectionsService as _0x1cc62c,EffectRefRangId as _0x2b6953,handleIRemoveRow as _0x2ec49d,handleIRemoveCol as _0x1377b0,handleMoveRange as _0x2144db,handleInsertRow as _0x4ee302,handleInsertRangeMoveRight as _0x5a7cf9,handleInsertRangeMoveDown as _0x4722a0,handleInsertCol as _0x4bd01b,handleDeleteRangeMoveUp as _0xcf5dcb,handleDeleteRangeMoveLeft as _0x5d7b14,runRefRangeMutations as _0x30591c,SetWorksheetActivateCommand as _0x4449e9}from'@univerjs/sheets';import{map as _0x192d8c,filter as _0x56603b,throttleTime as _0x1456f4,takeUntil as _0x2b1175,switchMap as _0x393b70}from'rxjs/operators';import{SheetSkeletonManagerService as _0x26e0d1,getCoordByCell as _0x45bfa9,getSheetObject as _0x25b9ea}from'@univerjs/sheets-ui';function _0x100d(){const _0x5bf87b=['univer-flex\x20univer-mr-2\x20univer-text-xl','length','VIEW_MAIN','_toggleOnline','WECHAT_HAS_BEEN_BOUND','_textBubble','collabStatus.conflict','exhaustSavingTask','className','NOT_FOUND','collaboration-client.offline-data-not-saved','_drawTextRange','APPLY_DUPLICATED','LICENSE_DISTRO_REJECTED','_initStatusListener','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','updateOfflineData','Warning','redoState','onTransformChange$','OffLineSingle','none','from','ranges','reconnect','undoState','_handleEvent','_doCreateSocket','_render','status$','getCollabEntity$','_anchor','moveTo','forEach','_onCursorUpdate','LICENSE_IMPORT_SIZE_EXCEEDED','M0\x200H16V16H0z','_collabSessionService','collaboration-client-ui.config','getMemberID','_refRangeService','propertyIsEnumerable','resize','unitID','SNAPSHOT_HAS_BEEN_REMOVED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','storage','mutations','_scheduleHeartbeat','parse','unit','OFFLINE','top','isEditing','flatMap','pipe','_injector','icon','getSkeleton','collaboration.single-unit.warning','_removeCollabCursors','isActive','_localeService','_initResize','getUniverSheetInstance','...','_cursorShapes','_scheduleSaving','eventID','YUUMI_TABLE_NOT_FOUND_IN_UNIT','params','doc.mutation.rich-text-editing','black','getTypeOfUnitAdded$','_collaborationUIEventService','has','getCellPositionByOffset','OTHER_CLIENT_EDITING','column','transformRemoteChangeset','subscribe','createSocket','Failed','asObservable','_commandService','currentColor','UNDEFINED','getValue','roomMembers$','APPLY_NON_SEQUENTIAL_REVISION','_docStateChangeManagerService','_setupSubUnitSync','MoveRangeCommandId','add','registerComponent','USER_NOT_INVITED_CODE','setStateCache','m2Prime','actions','children','setShapeProps','cursorInfo','imageSourceType','_id','startColumn','_transformService','colorChannel1','_handleHover','getAncestorScale','clipPath','getDocRanges','_cachedData','runId','path','onPointerMove$','_docSkeleton','SNAPSHOT_INVALID_SNAPSHOT','_getSessionTicket','code','_initEntityListener','_draw','ONLINE','getStateCache','save','max','USERS_LEAVE','get','_setupBeforeClosingHandler','INVITE_CODE_REQUIRED','SOCKET_FAILED','dispose','NO_OTHER_CLIENTS_EDITING','_docTransformSelectionsService','_eventUnsubscribe','getUndoRedoMutationParamsCache','_unitStatus','cursorInfo$','set','registerBeforeClose','event$','_handleLeaveEvent','OTHER_CLIENTS_EDITING','disableLocalCache','round','values','_collaborationController','getViewport','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','INVITE_CODE_HAS_BEEN_UES','generateRandomId','executionId','_colorAssignService','_unitOnClients','getCurrent','_logService','INVALID_INVITE_CODE','YUUMI_RATE_OVER_LIMIT','transformMutation','#FFF','AWAITING','_notificationService','_initCommandExecutedListener','find','_hovered','fillStyle','push','delete','pushState','CONNECTOR_DATA_TOO_LARGE','call','getCurrentSelections','sheetID','includes','2779834aoWhso','split','/run/','saveOfflineData','hasOwnProperty','width','function','init','_getScale','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getOwnPropertySymbols','saveImage','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','key','min','onPointerLeave$','textRanges','name','DeleteRangeMoveUpCommandId','_registerRenderDependencies','_selfUnitIDs','getConfig','lineTo','bottom','_colorIndex','INVITE_CODE_ALREADY_BOUND','SUBMIT_CHANGESET_TIMEOUT','85pzwMfw','addHandlerCallback','PERMISSION_DENIED','_registerDependencies','_document','27wagEgD','stringify','fillText','APPLY_PERMISSION_DENIED','dispose$','_revisionService','_renderManagerService','svg','_context','0\x200\x2016\x2016','row','deepClone','_updateSubUnitFromURLParams','9255384EAIogs','selection','_saveCache','executeCommand','0\x200\x2017\x2016','_instanceService','_messageService','selections','text','_init','_localStorageService','univerjs-icon\x20univerjs-icon-','_drawRectRange','show','getFocusedUnit','onMouseMove','onLocalMutation','_collabCursorState$','addObject','div','_hideTimer','ALREADY_EXISTS','LICENSE_EXPORT_SIZE_EXCEEDED','hide','map','_transformPreviousActiveRange','concat','CHANGESET_REVISION_CONFILICT','UNAUTHENTICATED','_status$','roomMembers','closePath','popstate','collabCursorState$','fillRule','extend','body','collabStatus.offline','disposeUnit','_getSheetObject','activeSheet$','loadUnit','UNIVER_SHEET','_cursor','UNRECOGNIZED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','href','getSheetId','getActiveSheet','prototype','getActiveRange','PY_RUNTIME_SCRIPT_ERROR','requireSession','transformStateCache','subunit','location','measureText','transformIMECache','_saveTaskMap','size','_anchorDot','clearTimeout','ENSURE_SNAPSHOT_EXECUTION','_docTransformStateCacheService','_clearOtherTimers','YUUMI_AI_RUN_FAILED','error','range','Error','_docSkeletonManagerService','random','RemoveRowCommandId','uni.network.url-service','displayName','_disabled','_startSheetCollabCursor','_lastPointer','_docTransformIMECacheService','_startDocCollabCursor','hovered','sessionTicket','trim','override','complete','evenodd','_docClipboardService','findNodePositionByCharIndex','assign','[CollaborationDataLoaderController]','1em','indexOf','_beforeCloseService','UniverIcon','subUnitId','APPLY_REVISION_CONFILICT','_online','YUUMI_ALL_TABLES_IS_INVALID','defs','url(#on-line-single_clip0_910_349)','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','clearInterval','unsubscribe','invokeId','mask','FromArray','NOT_COLLAB','_getAnchorBounding','_urlService','getItem','xlink:href','debug','docStateChange$','_dataLoaderService','syncEditingCollabCursor','skeleton','_heartbeatTimer','addEventListener','createInstance','memberID','_handleHeartbeatEvent','_initEvent','FETCH_MISS','getParam','sheetId','registerRefRange','getOwnPropertyDescriptor','removeParam','YUUMI_URL_COL_OUT_OF_RANGE','setUndoRedoMutationParamsCache','YUUMI_NO_CUBOID_FOR_QUESTION','onCommandExecuted','triggerDblclick','currentTheme$','UPDATE_CURSOR','_scene','drawWith','_initStatusComponent','_cursorInfo$','_updateLocalCursor','addObjects','editingUnit','send','_cursors','startsWith','InsertRowCommandId','_backgroundColor','substring','assignAColorForMemberID','sessionStatus$','#fff','getTypeOfUnitDisposed$','JOIN_ROOM_FAILED','_send','getSheetBySheetId','MUTATION','_scheduleClearOtherTimer','_univerInstanceService','onRendered','defIds','then','m1Prime','transformMutationsWithChangeset','_entityInit$','_toggleOffline','string','purple.300','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','subscribeEvent','off-line-single_clip0_910_343','10819180hVsgWu','yellow.400','PENDING','collabStatus.notCollab','COMPLETION_FINISHED','InsertRangeMoveRightCommandId','setTimeout','Unknown\x20user','INVALID_ARGUMENT','color','_roomMembers$','_range','getUnitId','_memberService','_configService','_assignedColors','_initDependencies','red.300','arc','164835luUEfe','getRelativeToViewportCoord','whenReady','[RemoteUniscriptService]:\x20no\x20focused\x20unit','post','RECT','_syncEditingCollabCursorService','replaceState','_shapes','getRenderById','YUUMI_SUBSCRIPTION_NOT_FOUND','urlChange$','APPLY_REJECT','_color','3dIHuAJ','_drawAnchor','data','saveTaskMap','tag','setInterval','beginPath','_name','InsertColCommandId','_labelPosition','onPointerEnter$','_hover','apply','getCollabCursors$','result','_config','_docSyncEditingCollabCursorService','origin','unshift','CONFLICT','getMergeData','AWAITING_WITH_PENDING','_removeClearOtherTimer','disposeWithMe','setItem','height','_entities','unitId','getUnhiddenWorksheets','getCurrentRevOfUnit','wsSessionTicketUrl','restore','_onCursorDelete','loadOfflineData','searchParams','addClipboardHook','_sheetSkeletonManagerService','collab-rect-range-','getOffsetConfig','_uiPartsService','isArray','fill','setAlpha','endColumn','type','YUUMI_UNABLE_LOAD_URL','history','_getSaveTimeout','ticket','collabStatus.fetchMiss','ACTIVE_UNIT_EVENT_CHANNEL','getCurrentUnitForType','9811214VYtvAs','url(#$1','collaboration.closeRoom','_updateCollabCursors','_themeService','search','toRgbString','_transformHistoryAndStateStack','on-line-single_clip0_910_349','getVpScrollXYInfoByPosToVp','INTERNAL_ERROR','session.collaboration-timeout','SYNCED','_updateURLWithCurrentState','_createSocketURL','toString','YUUMI_ASYNCIO_CANCELLED','attrs','getMember','setParam','font','some','url(#off-line-single_clip0_910_343)','registerRenderModule','_ensureSubject','rgba(255,\x20255,\x20255,\x200.01)','_onRefRangeChange','_transformUndoRedoStack','entries','_handleJoinEvent','next','140808wzheIb','1332208FHrfeq','current','idSuffix','engine','_httpService','contains','MOBILE_HAS_BEEN_BOUND','_session','LOGIN_FAILED','_imageIoService','with','endRow','newValue','_collabCursorController','_refreshCollabCursors','getRangePointData'];_0x100d=function(){return _0x5bf87b;};return _0x100d();}import{jsx as _0x1e60e4,jsxs as _0x106b17}from'react/jsx-runtime';import{useObservable as _0x3b669e,useDependency as _0xece927,IUIPartsService as _0x5dcbd2,BuiltInUIPart as _0x326f8c,connectInjector as _0x4a20ec,IBeforeCloseService as _0x8cdb3e,IMessageService as _0x331198,INotificationService as _0x1c4ff5}from'@univerjs/ui';import{Tooltip as _0x5f4337,clsx as _0x14684d,MessageType as _0x5d2219}from'@univerjs/design';import{forwardRef as _0x2d9e5e,useRef as _0x1fbacc,createElement as _0x33cf63,useCallback as _0x36454e}from'react';import{IRemoteInstanceService as _0x404306}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x2a1670,_0x32b499,_0x434303,_0x20d485)=>{for(var _0x3f3495=_0x20d485>0x1?void 0x0:_0x20d485?ci(_0x32b499,_0x434303):_0x32b499,_0x1c2fe2=_0x2a1670['length']-0x1,_0x4bf059;_0x1c2fe2>=0x0;_0x1c2fe2--)(_0x4bf059=_0x2a1670[_0x1c2fe2])&&(_0x3f3495=_0x4bf059(_0x3f3495)||_0x3f3495);return _0x3f3495;},Je=(_0x48561a,_0x52f581)=>(_0x1c8f9a,_0x3cbb77)=>_0x52f581(_0x1c8f9a,_0x3cbb77,_0x48561a);let Ne=class extends _0x1eb9f7{constructor(_0x4dafeb,_0x2da167){const _0x3fd7bd=_0x542b;super(),this[_0x3fd7bd(0x1fc)]=_0x4dafeb,this[_0x3fd7bd(0xc6)]=_0x2da167,this[_0x3fd7bd(0x1b0)]();}['_init'](){const _0x4ef54b=_0x542b,_0x19b87b=this;this[_0x4ef54b(0x288)](this[_0x4ef54b(0x1fc)][_0x4ef54b(0x294)]({'onBeforePasteImage':async _0x2db0c7=>{const _0x47582c=_0x4ef54b,_0x179b40=await _0x19b87b[_0x47582c(0xc6)][_0x47582c(0x185)](_0x2db0c7);return _0x179b40?{'source':_0x179b40['source'],'imageSourceType':_0x179b40[_0x47582c(0x133)]}:null;}}));}};Ne=li([Je(0x0,_0x4bbe8d),Je(0x1,_0x22a692)],Ne);const Ze=[_0x269b37(0x24c),'jiqing.500','green.600',_0x269b37(0x261),'blue.400',_0x269b37(0x251)];class ke extends _0x2473c8{constructor(){const _0xe2d863=_0x269b37;super(...arguments),_(this,_0xe2d863(0x25f),new Map()),_(this,_0xe2d863(0x192),0x0);}[_0x269b37(0x23a)](_0x42f3f0){const _0x18bdd1=_0x269b37;if(this[_0x18bdd1(0x25f)][_0x18bdd1(0x118)](_0x42f3f0))return this[_0x18bdd1(0x25f)][_0x18bdd1(0x14b)](_0x42f3f0);const _0xb5971a=Ze[this['_colorIndex']];return this[_0x18bdd1(0x192)]=(this[_0x18bdd1(0x192)]+0x1)%Ze['length'],this['_assignedColors']['set'](_0x42f3f0,_0xb5971a),_0xb5971a;}}function Tt(_0x3a54b9){const _0x5b14b7=_0x269b37;let _0x49bb82='';for(const _0x4f93be of _0x3a54b9){const {startOffset:_0x168b33,endOffset:_0x2540cf,isActive:_0x2db1a4,rangeType:_0x20d78d,segmentId:_0x4d1d8e,segmentPage:_0x335afe}=_0x4f93be;_0x49bb82[_0x5b14b7(0xce)]&&(_0x49bb82+=','),_0x49bb82+=_0x168b33+':'+_0x2540cf+':'+(_0x2db1a4?'1':'0')+':'+_0x20d78d+':'+_0x4d1d8e+':'+_0x335afe;}return _0x49bb82;}function _i(_0x1ae4a1){const _0x3b4605=_0x269b37,_0x28d6c6=_0x1ae4a1[_0x3b4605(0x17b)](','),_0x3f4144=[];for(const _0x3cbbb0 of _0x28d6c6){const [_0x57ebc6,_0x72b441,_0x490eb0,_0x3ff388,_0x324113,_0x22f4c9]=_0x3cbbb0[_0x3b4605(0x17b)](':');_0x3f4144['push']({'startOffset':Number(_0x57ebc6),'endOffset':Number(_0x72b441),'collapsed':_0x57ebc6===_0x72b441,'isActive':_0x490eb0==='1','rangeType':_0x3ff388===_0x55da03['TEXT']?_0x55da03['TEXT']:_0x55da03[_0x3b4605(0x268)],'segmentId':typeof _0x324113==_0x3b4605(0x24b)?String(_0x324113):'','segmentPage':Number(_0x22f4c9!=null?_0x22f4c9:-0x1)});}return _0x3f4144[_0x3b4605(0x2ba)](_0x1ca4a4=>_0x1ca4a4[_0x3b4605(0x10a)])||(_0x3f4144[0x0]['isActive']=!0x0),_0x3f4144;}class He extends _0x1eb9f7{constructor(){const _0x111d10=_0x269b37;super(...arguments),_(this,'_collabCursorState$',new _0x46d066(null)),_(this,_0x111d10(0x1c8),this[_0x111d10(0x1b8)]['asObservable']());}[_0x269b37(0x218)](_0x29215d){const {unitID:_0x1e6c35,memberID:_0x3d57f9,textRanges:_0x4b752b}=_0x29215d,_0x23414c=Tt(_0x4b752b);if(_0x23414c==='')return;const _0x3fe5df={'unitID':_0x1e6c35,'memberID':_0x3d57f9,'selection':_0x23414c};this['_collabCursorState$']['next'](_0x3fe5df);}}var hi=Object[_0x269b37(0x224)],ui=(_0x47cb5e,_0x24f729,_0x3e4c39,_0x4013d9)=>{const _0x534783=_0x269b37;for(var _0x2de79f=_0x4013d9>0x1?void 0x0:_0x4013d9?hi(_0x24f729,_0x3e4c39):_0x24f729,_0x4609ab=_0x47cb5e[_0x534783(0xce)]-0x1,_0x44a56d;_0x4609ab>=0x0;_0x4609ab--)(_0x44a56d=_0x47cb5e[_0x4609ab])&&(_0x2de79f=_0x44a56d(_0x2de79f)||_0x2de79f);return _0x2de79f;},L=(_0x1b7957,_0x1a7f29)=>(_0x407be4,_0xcd523a)=>_0x1a7f29(_0x407be4,_0xcd523a,_0x1b7957);const di=0x12c,fi=0x64;let Ue=class extends _0x1eb9f7{constructor(_0x5cba62,_0x81d186,_0x4d63f8,_0x79b147,_0x338db0,_0x4159e8,_0x324ceb,_0x1dc6ea,_0x12333e){const _0x55a2cf=_0x269b37;super(),_(this,_0x55a2cf(0x206),!0x1),_(this,'_init',!0x1),_(this,_0x55a2cf(0x230),new _0x46d066(new Map())),_(this,'cursorInfo$',this[_0x55a2cf(0x230)][_0x55a2cf(0x120)]()),_(this,_0x55a2cf(0x25a),new _0x46d066([])),_(this,_0x55a2cf(0x125),this['_roomMembers$'][_0x55a2cf(0x104)](_0x578965(di))),_(this,_0x55a2cf(0x231),_0x5d1c73(_0x318b07=>{const _0x5cfcbe=_0x55a2cf,_0x20b014={'eventID':_0x2cbcdb['UPDATE_CURSOR'],'data':{'unitID':this[_0x5cfcbe(0xf8)],'memberID':this[_0x5cfcbe(0xc4)]['getMemberID'](),'selection':Tt(_0x318b07)}};this[_0x5cfcbe(0xc4)][_0x5cfcbe(0x234)](_0x20b014,this[_0x5cfcbe(0xf8)]);},fi)),(this[_0x55a2cf(0xf8)]=_0x5cba62,this[_0x55a2cf(0xc4)]=_0x81d186,this[_0x55a2cf(0x105)]=_0x4d63f8,this[_0x55a2cf(0x164)]=_0x79b147,this[_0x55a2cf(0x25d)]=_0x338db0,this[_0x55a2cf(0x269)]=_0x4159e8,this['_transformService']=_0x324ceb,this['_univerInstanceService']=_0x1dc6ea,this[_0x55a2cf(0x121)]=_0x12333e);}get[_0x269b37(0x132)](){const _0x3b9251=_0x269b37;return this[_0x3b9251(0x230)][_0x3b9251(0x124)]();}get[_0x269b37(0x1c5)](){const _0x2f05b4=_0x269b37;return this[_0x2f05b4(0x25a)]['getValue']();}[_0x269b37(0x14f)](){const _0x3a3aae=_0x269b37;super['dispose'](),this[_0x3a3aae(0x230)][_0x3a3aae(0xbb)](new Map()),this['_cursorInfo$'][_0x3a3aae(0x1fa)](),this['_roomMembers$']['next']([]),this[_0x3a3aae(0x25a)]['complete']();}[_0x269b37(0x181)](){const _0x49e55b=_0x269b37;this[_0x49e55b(0x1b0)]||(this['_init']=!0x0,this['_session'][_0x49e55b(0x23b)][_0x49e55b(0x104)](_0x23ec57(this[_0x49e55b(0x19e)]))[_0x49e55b(0x11d)](_0x3b598a=>{const _0x1e21af=_0x49e55b;_0x3b598a===_0x12f05a[_0x1e21af(0x146)]?this[_0x1e21af(0xd0)]():this['_toggleOffline']();}),this['_session']['event$'][_0x49e55b(0x104)](_0x23ec57(this[_0x49e55b(0x19e)]))[_0x49e55b(0x11d)](_0x5c8ee8=>{const _0x11639d=_0x49e55b,_0x27de6a=_0x5c8ee8[_0x11639d(0x111)];_0x27de6a===_0x2cbcdb[_0x11639d(0x22c)]&&this[_0x11639d(0xef)](_0x5c8ee8),_0x27de6a===_0x2cbcdb[_0x11639d(0x14a)]&&this['_onCursorDelete'](_0x5c8ee8);}),this[_0x49e55b(0x288)](this[_0x49e55b(0x121)][_0x49e55b(0x229)](_0x114eab=>{const _0x5b5c27=_0x49e55b,_0xd1099d=_0x114eab[_0x5b5c27(0x113)];_0xd1099d!=null&&this[_0x5b5c27(0x206)]&&_0x114eab['id']===_0x5b84c8['id']&&_0xd1099d['unitId']===this[_0x5b5c27(0xf8)]&&_0xd1099d[_0x5b5c27(0x102)]===!0x1&&_0xd1099d[_0x5b5c27(0xe4)]['length']>0x0&&this[_0x5b5c27(0x231)](_0xd1099d[_0x5b5c27(0xe4)]);})),this[_0x49e55b(0x269)][_0x49e55b(0x1c8)][_0x49e55b(0x104)](_0x23ec57(this['dispose$']))[_0x49e55b(0x11d)](_0x256b6c=>{const _0x43750e=_0x49e55b;if((_0x256b6c==null?void 0x0:_0x256b6c['unitID'])!==this[_0x43750e(0xf8)])return;const _0x917994={'eventID':_0x2cbcdb[_0x43750e(0x22c)],'data':_0x256b6c};this['_onCursorUpdate'](_0x917994);}),this[_0x49e55b(0x288)](this[_0x49e55b(0x121)][_0x49e55b(0x229)](_0xeab58=>{const _0x3ac146=_0x49e55b;if(_0xeab58['params']==null)return;const _0x1e4853=_0xeab58[_0x3ac146(0x113)];if(_0xeab58['id']!==_0x5efe24['id']||_0x1e4853[_0x3ac146(0x28c)]!==this[_0x3ac146(0xf8)])return;const _0x1a6266={'id':_0x3ac146(0x114),'params':_0x1e4853},_0x1cf95c=this[_0x3ac146(0x132)];for(const [_0xd9d49c,_0x233c4f]of _0x1cf95c){const _0x51f61b={'id':_0x3ac146(0x114),'params':{'unitId':this[_0x3ac146(0xf8)],'actions':null,'textRanges':_0x233c4f['ranges']}},_0x5de59b=this[_0x3ac146(0x136)][_0x3ac146(0x16a)](_0x1a6266,_0x51f61b,!0x1);if(_0x3f17f0(_0x5de59b))throw _0x5de59b[_0x3ac146(0x1e9)];_0x1cf95c[_0x3ac146(0x156)](_0xd9d49c,{..._0x233c4f,'ranges':_0x5de59b['m2Prime'][_0x3ac146(0x113)]['textRanges']});}queueMicrotask(()=>{const _0x1c9472=_0x3ac146;this[_0x1c9472(0x230)]['next'](_0x1cf95c);});})));}['_onCursorUpdate'](_0x341221){const _0x3dfd48=_0x269b37;var _0x234106,_0x56098b;const {memberID:_0x2bef01,selection:_0x15d799}=_0x341221[_0x3dfd48(0x273)],_0x103e21=_i(_0x15d799),_0x56adbc=(_0x56098b=(_0x234106=this[_0x3dfd48(0x25d)][_0x3dfd48(0x2b7)](this[_0x3dfd48(0xf8)],_0x2bef01))==null?void 0x0:_0x234106[_0x3dfd48(0x18b)])!=null?_0x56098b:_0x3dfd48(0x257),_0x3742d3={'color':this[_0x3dfd48(0x164)][_0x3dfd48(0x23a)](_0x2bef01),'name':_0x56adbc,'ranges':_0x103e21},_0x3aaaa5=this[_0x3dfd48(0x132)];_0x3aaaa5[_0x3dfd48(0x156)](_0x2bef01,_0x3742d3),this[_0x3dfd48(0x230)][_0x3dfd48(0xbb)](_0x3aaaa5);}[_0x269b37(0x291)](_0x3c520a){const _0x3aa2c7=_0x269b37,{memberID:_0x54370a}=_0x3c520a[_0x3aa2c7(0x273)],_0x3f5191=this[_0x3aa2c7(0x132)];_0x3f5191[_0x3aa2c7(0x173)](_0x54370a),this['_cursorInfo$'][_0x3aa2c7(0xbb)](_0x3f5191);}[_0x269b37(0xd0)](){const _0x3378a7=_0x269b37;var _0x873d57;if(this['_online']=!0x0,((_0x873d57=this[_0x3378a7(0x243)][_0x3378a7(0x1b5)]())==null?void 0x0:_0x873d57['getUnitId']())!==this[_0x3378a7(0xf8)])return;const _0x2e1d04=this[_0x3378a7(0x105)][_0x3378a7(0x14b)](_0x5369ac)[_0x3378a7(0x13b)]();Array[_0x3378a7(0x299)](_0x2e1d04)&&_0x2e1d04['length']>0x0&&this['_updateLocalCursor'](_0x2e1d04);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=ui([L(0x2,_0x47930e(_0x3c7764)),L(0x3,_0x47930e(ke)),L(0x4,_0x47930e(_0x341eaa)),L(0x5,_0x47930e(He)),L(0x6,_0x370876),L(0x7,_0x214b26),L(0x8,_0x46cdda)],Ue);var Si=Object[_0x269b37(0x224)],mi=(_0x3c33ca,_0x22c91e,_0xd700b2,_0x18274c)=>{const _0x1226f3=_0x269b37;for(var _0x47e0b0=_0x18274c>0x1?void 0x0:_0x18274c?Si(_0x22c91e,_0xd700b2):_0x22c91e,_0x5c782e=_0x3c33ca[_0x1226f3(0xce)]-0x1,_0x168f16;_0x5c782e>=0x0;_0x5c782e--)(_0x168f16=_0x3c33ca[_0x5c782e])&&(_0x47e0b0=_0x168f16(_0x47e0b0)||_0x47e0b0);return _0x47e0b0;},x=(_0x10d72d,_0x5c1a86)=>(_0x58c2da,_0x2ed992)=>_0x5c1a86(_0x58c2da,_0x2ed992,_0x10d72d);const gi=0x12c,Ii=0x64,vi=()=>{let _0xeac11b=[],_0x238c32=!0x1;return _0x59878b=>{const _0x1adbce=_0x542b;_0xeac11b[_0x1adbce(0x172)](_0x59878b),_0x238c32||(_0x238c32=!0x0,setTimeout(()=>{const _0x37d9f0=_0x1adbce;_0xeac11b[_0x37d9f0(0xee)](_0x5b629b=>_0x5b629b()),_0xeac11b=[],_0x238c32=!0x1;}));};};let Me=class extends _0x1eb9f7{constructor(_0xe6ebfb,_0xfb26cd,_0x3655ec,_0xeccb27,_0x3ffbc3,_0x1b7333,_0x424f5e,_0x16c76a){const _0x37de39=_0x269b37;super(),_(this,_0x37de39(0x206),!0x1),_(this,'_init',!0x1),_(this,_0x37de39(0x230),new _0x46d066(new Map())),_(this,_0x37de39(0x155),this[_0x37de39(0x230)][_0x37de39(0x120)]()),_(this,_0x37de39(0x25a),new _0x46d066([])),_(this,_0x37de39(0x125),this['_roomMembers$'][_0x37de39(0x104)](_0x578965(gi))),_(this,_0x37de39(0x231),_0x5d1c73((_0x7db4f9,_0x540a89)=>{const _0x513319=_0x37de39,_0x3b254b={'eventID':_0x2cbcdb[_0x513319(0x22c)],'data':{'unitID':this[_0x513319(0xf8)],'memberID':this[_0x513319(0xc4)][_0x513319(0xf4)](),'selection':_0x4cd88c(_0x7db4f9,_0x540a89[_0x513319(0x1ea)])}};this[_0x513319(0xc4)]['send'](_0x3b254b,this[_0x513319(0xf8)]);},Ii)),(this[_0x37de39(0xf8)]=_0xe6ebfb,this[_0x37de39(0xc4)]=_0xfb26cd,this[_0x37de39(0x105)]=_0x3655ec,this[_0x37de39(0x164)]=_0xeccb27,this[_0x37de39(0x25d)]=_0x3ffbc3,this[_0x37de39(0x243)]=_0x1b7333,this[_0x37de39(0x121)]=_0x424f5e,this[_0x37de39(0xf5)]=_0x16c76a);}get[_0x269b37(0x132)](){const _0x3d69ab=_0x269b37;return this['_cursorInfo$'][_0x3d69ab(0x124)]();}get[_0x269b37(0x1c5)](){const _0x3222a3=_0x269b37;return this[_0x3222a3(0x25a)]['getValue']();}['dispose'](){const _0x264f46=_0x269b37;super[_0x264f46(0x14f)](),this[_0x264f46(0x230)][_0x264f46(0xbb)](new Map()),this['_cursorInfo$'][_0x264f46(0x1fa)](),this[_0x264f46(0x25a)][_0x264f46(0xbb)]([]),this['_roomMembers$'][_0x264f46(0x1fa)]();}[_0x269b37(0x181)](){const _0x460ab1=_0x269b37;this[_0x460ab1(0x1b0)]||(this[_0x460ab1(0x1b0)]=!0x0,this['_session'][_0x460ab1(0x23b)][_0x460ab1(0x104)](_0x23ec57(this[_0x460ab1(0x19e)]))['subscribe'](_0xb2cba=>{const _0x1deac4=_0x460ab1;_0xb2cba===_0x12f05a[_0x1deac4(0x146)]?this[_0x1deac4(0xd0)]():this['_toggleOffline']();}),this['_session'][_0x460ab1(0x158)][_0x460ab1(0x104)](_0x23ec57(this[_0x460ab1(0x19e)]))[_0x460ab1(0x11d)](_0x2500bc=>{const _0x4202d1=_0x460ab1,_0x2acd11=_0x2500bc[_0x4202d1(0x111)];_0x2acd11===_0x2cbcdb[_0x4202d1(0x22c)]&&this[_0x4202d1(0xef)](_0x2500bc),_0x2acd11===_0x2cbcdb[_0x4202d1(0x14a)]&&this[_0x4202d1(0x291)](_0x2500bc);}),this[_0x460ab1(0x2bf)](),this[_0x460ab1(0x288)](this[_0x460ab1(0x121)]['onCommandExecuted'](_0x4be887=>{const _0x286b6e=_0x460ab1;if(this[_0x286b6e(0x206)]&&_0x4be887['id']===_0x432e8a['id']&&_0x4be887[_0x286b6e(0x113)][_0x286b6e(0x28c)]===this[_0x286b6e(0xf8)]){const _0x362f62=_0x4be887[_0x286b6e(0x113)];this[_0x286b6e(0x231)](_0x362f62[_0x286b6e(0x204)],_0x362f62[_0x286b6e(0x1ae)][0x0]);}})));}[_0x269b37(0xef)](_0x28e33b){const _0x4199f3=_0x269b37;var _0x24f057,_0x101855;const {memberID:_0x3700b3,selection:_0x313517}=_0x28e33b[_0x4199f3(0x273)],{sheetName:_0x69332b,range:_0x16af04}=_0x4c08cf(_0x313517),_0x2be4c0={'name':(_0x101855=(_0x24f057=this[_0x4199f3(0x25d)]['getMember'](this[_0x4199f3(0xf8)],_0x3700b3))==null?void 0x0:_0x24f057[_0x4199f3(0x18b)])!=null?_0x101855:_0x4199f3(0x257),'range':this['_getMergeRange'](_0x69332b,_0x16af04),'sheetID':_0x69332b,'color':this['_colorAssignService'][_0x4199f3(0x23a)](_0x3700b3),'selection':_0x313517},_0x474688=this['cursorInfo'];_0x474688['set'](_0x3700b3,_0x2be4c0),this['_cursorInfo$'][_0x4199f3(0xbb)](_0x474688);}[_0x269b37(0x291)](_0x2cf0c8){const _0x48cc8b=_0x269b37,{memberID:_0x96d7de}=_0x2cf0c8[_0x48cc8b(0x273)],_0x124e29=this[_0x48cc8b(0x132)];_0x124e29['delete'](_0x96d7de),this[_0x48cc8b(0x230)][_0x48cc8b(0xbb)](_0x124e29);}['_getMergeRange'](_0xc6482e,_0x48c3be){const _0x4cd953=_0x269b37;var _0x3bfd9f,_0x29abf0;const _0x385df6=(_0x29abf0=(_0x3bfd9f=this['_univerInstanceService'][_0x4cd953(0x10d)](this['unitID']))==null?void 0x0:_0x3bfd9f[_0x4cd953(0x240)](_0xc6482e))==null?void 0x0:_0x29abf0[_0x4cd953(0x285)]();return(_0x385df6==null?void 0x0:_0x385df6[_0x4cd953(0x16f)](_0x59a2c3=>_0xa76f80[_0x4cd953(0xc2)](_0x59a2c3,_0x48c3be)))||_0x48c3be;}[_0x269b37(0x2bf)](){const _0x161eeb=_0x269b37,_0x11a73c=new _0x331b9f(),_0x5de4ef=vi(),_0x24de20=()=>{const _0x2c77d2=_0x542b;_0x11a73c['dispose']();const _0x1d48a4=(_0x36a263,_0x1209d0,_0x55a324,_0xe3c2e1)=>{const _0xf7a4ec=_0x542b;let _0x12d549=[];switch(_0x36a263['id']){case _0x2b6953['DeleteRangeMoveLeftCommandId']:{_0x12d549=_0x5d7b14(_0x36a263,_0xe3c2e1);break;}case _0x2b6953[_0xf7a4ec(0x18c)]:{_0x12d549=_0xcf5dcb(_0x36a263,_0xe3c2e1);break;}case _0x2b6953[_0xf7a4ec(0x279)]:{_0x12d549=_0x4bd01b(_0x36a263,_0xe3c2e1);break;}case _0x2b6953['InsertRangeMoveDownCommandId']:{_0x12d549=_0x4722a0(_0x36a263,_0xe3c2e1);break;}case _0x2b6953[_0xf7a4ec(0x255)]:{_0x12d549=_0x5a7cf9(_0x36a263,_0xe3c2e1);break;}case _0x2b6953[_0xf7a4ec(0x237)]:{_0x12d549=_0x4ee302(_0x36a263,_0xe3c2e1);break;}case _0x2b6953[_0xf7a4ec(0x129)]:{_0x12d549=_0x2144db(_0x36a263,_0xe3c2e1);break;}case _0x2b6953['RemoveColCommandId']:{_0x12d549=_0x1377b0(_0x36a263,_0xe3c2e1);break;}case _0x2b6953[_0xf7a4ec(0x1ee)]:{_0x12d549=_0x2ec49d(_0x36a263,_0xe3c2e1);break;}}const _0x3d349d=_0x30591c(_0x12d549,_0xe3c2e1),_0x580b3e=this[_0xf7a4ec(0x132)][_0xf7a4ec(0x14b)](_0x1209d0);if(_0x580b3e&&_0x3d349d){const _0x46fb06={..._0x580b3e,'range':_0x3d349d};this['cursorInfo'][_0xf7a4ec(0x156)](_0x1209d0,_0x46fb06),_0x5de4ef(()=>{const _0x582c89=_0xf7a4ec,_0x2dffd4=this[_0x582c89(0xf5)][_0x582c89(0x223)](_0x3d349d,_0x3eb8f3=>(_0x2dffd4[_0x582c89(0x14f)](),_0x1d48a4(_0x3eb8f3,_0x1209d0,_0x55a324,_0x3d349d)));_0x11a73c[_0x582c89(0x12a)](_0x2dffd4);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x2c77d2(0xee)]((_0x38db2c,_0x2ddb8d)=>{const _0x5f5906=_0x2c77d2,{range:_0x43e490,sheetID:_0xd09bd7}=_0x38db2c,_0x33a78a=this['_refRangeService'][_0x5f5906(0x223)](_0x43e490,_0x4e5e80=>(_0x33a78a[_0x5f5906(0x14f)](),_0x1d48a4(_0x4e5e80,_0x2ddb8d,_0xd09bd7,_0x43e490)));_0x11a73c[_0x5f5906(0x12a)](_0x33a78a);});};this['disposeWithMe'](_0x4a4954(this[_0x161eeb(0x230)][_0x161eeb(0x11d)](()=>{_0x24de20();})));}[_0x269b37(0xd0)](){const _0x410671=_0x269b37;var _0x2d2246,_0x107df1;if(this[_0x410671(0x206)]=!0x0,((_0x2d2246=this[_0x410671(0x243)][_0x410671(0x1b5)]())==null?void 0x0:_0x2d2246[_0x410671(0x25c)]())!==this['unitID'])return;const _0x1c5b58=(_0x107df1=this[_0x410671(0x105)][_0x410671(0x14b)](_0x1cc62c)[_0x410671(0x177)]())==null?void 0x0:_0x107df1[0x0],_0x110c25=this['_univerInstanceService'][_0x410671(0x2a4)](_0x5ac07f['UNIVER_SHEET'])[_0x410671(0x1d7)]();_0x1c5b58&&_0x110c25&&this[_0x410671(0x231)](_0x110c25[_0x410671(0x1d6)](),_0x1c5b58);}[_0x269b37(0x24a)](){const _0x575808=_0x269b37;this[_0x575808(0x206)]=!0x1;}};Me=mi([x(0x2,_0x47930e(_0x3c7764)),x(0x3,_0x47930e(ke)),x(0x4,_0x47930e(_0x341eaa)),x(0x5,_0x214b26),x(0x6,_0x46cdda),x(0x7,_0x47930e(_0x2f6eee))],Me);var pi=Object[_0x269b37(0x224)],Ci=(_0x299212,_0x219526,_0xfd085,_0x52ef53)=>{const _0x13d3b2=_0x269b37;for(var _0x4f7a6a=_0x52ef53>0x1?void 0x0:_0x52ef53?pi(_0x219526,_0xfd085):_0x219526,_0x18faaf=_0x299212[_0x13d3b2(0xce)]-0x1,_0x565f6c;_0x18faaf>=0x0;_0x18faaf--)(_0x565f6c=_0x299212[_0x18faaf])&&(_0x4f7a6a=_0x565f6c(_0x4f7a6a)||_0x4f7a6a);return _0x4f7a6a;},Se=(_0x4e69b8,_0x4d41ae)=>(_0x22ca6d,_0x238390)=>_0x4d41ae(_0x22ca6d,_0x238390,_0x4e69b8);let H=class extends _0x1eb9f7{constructor(_0xb3f0be,_0x2c94ec,_0x3b0ab4){const _0x224abb=_0x269b37;super(),_(this,_0x224abb(0x28b),new Map()),_(this,_0x224abb(0x249),new _0x4c291d()),(this[_0x224abb(0x243)]=_0xb3f0be,this[_0x224abb(0x105)]=_0x2c94ec,this[_0x224abb(0xf2)]=_0x3b0ab4,this[_0x224abb(0x1b0)]());}['dispose'](){const _0x397e51=_0x269b37;super[_0x397e51(0x14f)](),this['_entityInit$']['complete'](),this[_0x397e51(0x28b)]['forEach'](_0x246da2=>_0x246da2[_0x397e51(0x14f)]());}[_0x269b37(0x27e)](_0x4aef4d){const _0x1ea489=_0x269b37;return this[_0x1ea489(0x28b)]['has'](_0x4aef4d)?this[_0x1ea489(0x28b)][_0x1ea489(0x14b)](_0x4aef4d)[_0x1ea489(0x155)]:this['_entityInit$'][_0x1ea489(0x104)](_0x2e3855(_0x484b9e=>_0x484b9e['unitID']===_0x4aef4d),_0x1b2352(_0x51051a=>_0x51051a[_0x1ea489(0x155)]));}[_0x269b37(0x1b0)](){const _0x452f4a=_0x269b37;this[_0x452f4a(0x243)][_0x452f4a(0x116)](_0x5ac07f[_0x452f4a(0x1d1)])[_0x452f4a(0x104)](_0x23ec57(this[_0x452f4a(0x19e)]))[_0x452f4a(0x11d)](async _0x31f195=>{const _0x555fc4=_0x452f4a,_0x11290b=_0x31f195[_0x555fc4(0x25c)](),_0x53b605=await this[_0x555fc4(0x1f2)](_0x11290b);this[_0x555fc4(0x249)]['next'](_0x53b605),this[_0x555fc4(0x28b)]['set'](_0x11290b,_0x53b605);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x5ac07f['UNIVER_DOC'])[_0x452f4a(0x104)](_0x23ec57(this['dispose$']))[_0x452f4a(0x104)](_0x2e3855(_0x3e6af4=>!_0x3e6af4[_0x452f4a(0x25c)]()[_0x452f4a(0x236)]('__')))[_0x452f4a(0x11d)](async _0x5694ed=>{const _0xa20bd6=_0x452f4a,_0x54a78f=_0x5694ed['getUnitId'](),_0x57758e=await this['_startDocCollabCursor'](_0x54a78f);this[_0xa20bd6(0x249)]['next'](_0x57758e),this[_0xa20bd6(0x28b)][_0xa20bd6(0x156)](_0x54a78f,_0x57758e);}),_0x1fe1fd(this['_univerInstanceService'][_0x452f4a(0x23d)](_0x5ac07f['UNIVER_DOC']),this[_0x452f4a(0x243)]['getTypeOfUnitDisposed$'](_0x5ac07f[_0x452f4a(0x1d1)]))[_0x452f4a(0x104)](_0x23ec57(this[_0x452f4a(0x19e)]))[_0x452f4a(0x11d)](_0x5e142f=>{const _0x541c19=_0x452f4a,_0x3aade7=_0x5e142f[_0x541c19(0x25c)](),_0x381fe5=this['_entities']['get'](_0x3aade7);_0x381fe5&&(_0x381fe5['dispose'](),this[_0x541c19(0x28b)][_0x541c19(0x173)](_0x3aade7));});}async[_0x269b37(0x1f2)](_0x1c6d5a){const _0x169f6a=_0x269b37,_0x49b359=await this['_collabSessionService'][_0x169f6a(0x1db)](_0x1c6d5a),_0x38ea09=this[_0x169f6a(0x105)][_0x169f6a(0x21c)](Me,_0x1c6d5a,_0x49b359);return _0x38ea09[_0x169f6a(0x181)](),_0x38ea09;}async[_0x269b37(0x1f5)](_0xd2730f){const _0x358350=_0x269b37,_0x1b2332=await this['_collabSessionService']['requireSession'](_0xd2730f),_0x36f8df=this[_0x358350(0x105)][_0x358350(0x21c)](Ue,_0xd2730f,_0x1b2332);return _0x36f8df[_0x358350(0x181)](),_0x36f8df;}};H=Ci([Se(0x0,_0x214b26),Se(0x1,_0x47930e(_0x3c7764)),Se(0x2,_0x47930e(_0xc38a18))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x58b5b6,_0x43ff23){const _0x27a7bc=_0x269b37;let {radius:_0x296097,width:_0x579c82,height:_0x57596f}=_0x43ff23;_0x296097=_0x296097!=null?_0x296097:0x0,_0x579c82=_0x579c82!=null?_0x579c82:0x1e,_0x57596f=_0x57596f!=null?_0x57596f:0x1e;let _0x303048=0x0,_0x4001e6=0x0,_0x57b4c5=0x0;_0x303048=_0x4001e6=_0x57b4c5=Math['min'](_0x296097,_0x579c82/0x2,_0x57596f/0x2),_0x58b5b6[_0x27a7bc(0x277)](),_0x58b5b6[_0x27a7bc(0xed)](_0x303048,0x0),_0x58b5b6[_0x27a7bc(0x190)](_0x579c82-_0x4001e6,0x0),_0x58b5b6[_0x27a7bc(0x262)](_0x579c82-_0x4001e6,_0x4001e6,_0x4001e6,Math['PI']*0x3/0x2,0x0,!0x1),_0x58b5b6['lineTo'](_0x579c82,_0x57596f-_0x57b4c5),_0x58b5b6[_0x27a7bc(0x262)](_0x579c82-_0x57b4c5,_0x57596f-_0x57b4c5,_0x57b4c5,0x0,Math['PI']/0x2,!0x1),_0x58b5b6['lineTo'](0x0,_0x57596f),_0x58b5b6['lineTo'](0x0,_0x303048),_0x58b5b6[_0x27a7bc(0x262)](_0x303048,_0x303048,_0x303048,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x58b5b6[_0x27a7bc(0x1c6)](),_0x43ff23[_0x27a7bc(0x29a)]&&(_0x58b5b6['save'](),_0x58b5b6[_0x27a7bc(0x171)]=_0x43ff23[_0x27a7bc(0x29a)],_0x43ff23[_0x27a7bc(0x1c9)]===_0x27a7bc(0x1fb)?_0x58b5b6['fill'](_0x27a7bc(0x1fb)):_0x58b5b6[_0x27a7bc(0x29a)](),_0x58b5b6['restore']());}class he extends _0x1f0d03{constructor(_0x20d1db,_0x3308dd){const _0x5ac967=_0x269b37;super(_0x20d1db,_0x3308dd),_(this,'color'),_(this,_0x5ac967(0x1af)),(this[_0x5ac967(0x259)]=_0x3308dd==null?void 0x0:_0x3308dd['color'],this[_0x5ac967(0x1af)]=_0x3308dd==null?void 0x0:_0x3308dd['text']);}static[_0x269b37(0x22e)](_0x409c7b,_0x20ea7b){const _0x4a23a6=_0x269b37,{text:_0x2f41f7,color:_0x40ea04}=_0x20ea7b;_0x409c7b[_0x4a23a6(0x148)](),_0x409c7b[_0x4a23a6(0x2b9)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x46e79a=_0x409c7b[_0x4a23a6(0x1df)](_0x2f41f7)[_0x4a23a6(0x17f)],_0x150bda=Math[_0x4a23a6(0x188)](_0x46e79a+0x2*me,Qe);Oi(_0x409c7b,{'height':ee,'radius':0x4,'width':_0x150bda,'fill':_0x40ea04}),_0x409c7b[_0x4a23a6(0x171)]=_0x4a23a6(0x16b);const _0x1fb1ec=me,_0x5ee499=ee-Ei,_0x3b7ace=Qe-0x2*me;if(_0x46e79a>_0x3b7ace){let _0x1575a1='',_0x5d85a9=0x0;for(const _0x3c6e7d of _0x2f41f7){const _0xfabe5d=_0x409c7b[_0x4a23a6(0x1df)](_0x3c6e7d)[_0x4a23a6(0x17f)];if(_0x5d85a9+_0xfabe5d<=_0x3b7ace-_0x409c7b[_0x4a23a6(0x1df)](_0x4a23a6(0x10e))[_0x4a23a6(0x17f)])_0x1575a1+=_0x3c6e7d,_0x5d85a9+=_0xfabe5d;else{_0x1575a1+=_0x4a23a6(0x10e);break;}}_0x409c7b[_0x4a23a6(0x19c)](_0x1575a1,_0x1fb1ec,_0x5ee499);}else _0x409c7b['fillText'](_0x2f41f7,_0x1fb1ec,_0x5ee499);_0x409c7b[_0x4a23a6(0x290)]();}[_0x269b37(0x145)](_0xfbbdd9){const _0x462f77=_0x269b37;he[_0x462f77(0x22e)](_0xfbbdd9,this);}}const ge='collab-text-anchor-',bi='collab-text-range-',Ti=_0x269b37(0x296),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x269b37(0x2be);class qe{constructor(_0xaed61a,_0x4d3035,_0x2cf1b4,_0x40a395){const _0x319e8a=_0x269b37;_(this,_0x319e8a(0x26b),[]),_(this,'_anchor',null),_(this,_0x319e8a(0xd2),null),_(this,_0x319e8a(0x1e3),null),_(this,_0x319e8a(0x1bb),null),_(this,'_eventUnsubscribe',null),(this['_cursor']=_0xaed61a,this[_0x319e8a(0x22d)]=_0x4d3035,this[_0x319e8a(0x140)]=_0x2cf1b4,this[_0x319e8a(0x199)]=_0x40a395,this[_0x319e8a(0xe9)]());}set[_0x269b37(0x27c)](_0x2322d4){const _0x1dfde4=_0x269b37;_0x2322d4?(this[_0x1dfde4(0x1e3)]&&this[_0x1dfde4(0x1e3)][_0x1dfde4(0x1be)](),this['_textBubble']&&this[_0x1dfde4(0xd2)][_0x1dfde4(0x1b4)]()):(this[_0x1dfde4(0x1e3)]&&this['_anchorDot'][_0x1dfde4(0x1b4)](),this[_0x1dfde4(0xd2)]&&this[_0x1dfde4(0xd2)][_0x1dfde4(0x1be)]());}[_0x269b37(0x14f)](){const _0x40b980=_0x269b37;for(const _0x36afba of this[_0x40b980(0x26b)])_0x36afba[_0x40b980(0x14f)]();this[_0x40b980(0xd2)]&&this['_textBubble'][_0x40b980(0x14f)](),this['_anchorDot']&&this[_0x40b980(0x1e3)]['dispose'](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x40b980(0x152)]&&this[_0x40b980(0x152)]();}[_0x269b37(0xe9)](){const _0x1bb2cc=_0x269b37;var _0x544e36;const {_docSkeleton:_0x4dd5f5,_document:_0x58fc0b}=this,{color:_0x7d25ae,name:_0x2fa7f0,ranges:_0xdf2666}=this[_0x1bb2cc(0x1d2)],_0x12c21f=_0x58fc0b[_0x1bb2cc(0x297)](),{docsLeft:_0x4b0d97,docsTop:_0x5b80da}=_0x12c21f,_0x2f8833=new _0x205728(_0x12c21f,_0x4dd5f5);for(const {startOffset:_0x520832,endOffset:_0x43b737,rangeType:_0x1d6acb,segmentId:_0x1a229a,segmentPage:_0x828748,collapsed:_0x1289f8,isActive:_0x5c485b}of _0xdf2666){const _0xf16bcc=_0x4dd5f5['findNodePositionByCharIndex'](_0x520832,!0x0,_0x1a229a,_0x828748);let _0x1a8bb1=_0x4dd5f5[_0x1bb2cc(0x1fd)](_0x43b737,!0x0,_0x1a229a,_0x828748);if(_0x1a8bb1==null&&(_0x1a8bb1=_0x4dd5f5[_0x1bb2cc(0x1fd)](_0x43b737-0x1,!0x1,_0x1a229a,_0x828748)),_0x5c485b){const {contentBoxPointGroup:_0x49f642}=_0x2f8833[_0x1bb2cc(0xcc)](_0x1a8bb1,_0x1a8bb1);if(_0x49f642[_0x1bb2cc(0xce)]===0x0)continue;this['_drawAnchor'](_0x7d25ae,_0x49f642,_0x4b0d97,_0x5b80da,_0x2fa7f0),this[_0x1bb2cc(0x152)]=this[_0x1bb2cc(0x138)]();}if(_0xf16bcc&&_0x1a8bb1){if(_0x1d6acb===_0x55da03[_0x1bb2cc(0x268)]){const _0x5c35a6=new _0x136afb(_0x12c21f,_0x4dd5f5),{pointGroup:_0x41e615}=(_0x544e36=_0x5c35a6[_0x1bb2cc(0xcc)](_0xf16bcc,_0x1a8bb1))!=null?_0x544e36:{};if(_0x41e615==null||_0x41e615[_0x1bb2cc(0xce)]===0x0)continue;this[_0x1bb2cc(0x1b3)](_0x7d25ae,_0x41e615,_0x4b0d97,_0x5b80da);}else{if(!_0x1289f8){const {borderBoxPointGroup:_0x4e45f2}=_0x2f8833['getRangePointData'](_0xf16bcc,_0x1a8bb1);if(_0x4e45f2['length']===0x0)continue;this['_drawTextRange'](_0x7d25ae,_0x4e45f2,_0x4b0d97,_0x5b80da);}}}}}[_0x269b37(0x272)](_0x32ecc7,_0x35a9f3,_0x4ce877,_0x45ba80,_0x2d321b){const _0x4b0daf=_0x269b37,_0x4483d9=this[_0x4b0daf(0x211)](_0x35a9f3),{left:_0x46eedf,top:_0x10b502,height:_0x343ddd}=_0x4483d9,_0xda815e=this[_0x4b0daf(0x182)](),_0x53e4f9=Di/_0xda815e,_0x32369d=new _0x4b40bd(ge+_0x4286a4[_0x4b0daf(0x162)](X),{'left':_0x46eedf+_0x4ce877-_0x53e4f9,'top':_0x10b502+_0x45ba80,'height':_0x343ddd,'width':Ri,'fill':_0x32ecc7||_0x4cc7e2(_0xf0b638[_0x4b0daf(0x115)],0x0),'strokeWidth':_0x53e4f9,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x32369d,this[_0x4b0daf(0x22d)]['addObject'](_0x32369d,_0x419024);const _0x41c288=new _0x4b40bd(ge+_0x4286a4[_0x4b0daf(0x162)](X),{'left':_0x46eedf+_0x4ce877-_0x53e4f9,'top':_0x10b502+_0x45ba80-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x32ecc7||_0x4cc7e2(_0xf0b638[_0x4b0daf(0x115)],0x0),'strokeWidth':0x0,'stroke':_0x32ecc7||_0x4cc7e2(_0xf0b638[_0x4b0daf(0x115)],0x0),'evented':!0x1});this[_0x4b0daf(0x1e3)]=_0x41c288,this[_0x4b0daf(0x22d)][_0x4b0daf(0x1b9)](_0x41c288,_0x419024);const _0xe8413d=new he(ge+_0x4286a4[_0x4b0daf(0x162)](X),{'left':_0x46eedf+_0x4ce877-_0x53e4f9,'top':_0x10b502+_0x45ba80-ee,'text':_0x2d321b,'color':_0x32ecc7});this[_0x4b0daf(0xd2)]=_0xe8413d,this[_0x4b0daf(0x22d)][_0x4b0daf(0x1b9)](_0xe8413d,_0x419024),this['_hover']=!0x1;}[_0x269b37(0x138)](){const _0xcbc33d=_0x269b37,_0x953da5=this[_0xcbc33d(0xec)]['onPointerEnter$'][_0xcbc33d(0x24e)](()=>{const _0x11a8f7=_0xcbc33d;this[_0x11a8f7(0x27c)]=!0x0;}),_0x3408c9=this[_0xcbc33d(0xec)][_0xcbc33d(0x189)][_0xcbc33d(0x24e)](()=>{const _0x5a3ce3=_0xcbc33d;this[_0x5a3ce3(0x1bb)]&&clearTimeout(this[_0x5a3ce3(0x1bb)]),this[_0x5a3ce3(0x1bb)]=setTimeout(()=>{const _0x44f30e=_0x5a3ce3;this[_0x44f30e(0x27c)]=!0x1;},0x7d0);});return()=>{const _0x13b589=_0xcbc33d;_0x953da5['unsubscribe'](),_0x3408c9[_0x13b589(0x20c)]();};}[_0x269b37(0xd8)](_0x48eb66,_0x3f34c5,_0x3d8b4c,_0x5c66ad){const _0x563f54=_0x269b37,_0x79a3ac=new _0x20af0f(_0x48eb66)[_0x563f54(0x29b)](0.2)[_0x563f54(0x2ab)](),_0x3bdb2a=new _0x3357f1(bi+_0x4286a4[_0x563f54(0x162)](X),{'pointsGroup':_0x3f34c5,'fill':_0x79a3ac||_0x4cc7e2(_0xf0b638[_0x563f54(0x115)],0.2),'left':_0x3d8b4c,'top':_0x5c66ad,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x563f54(0x172)](_0x3bdb2a),this[_0x563f54(0x22d)][_0x563f54(0x1b9)](_0x3bdb2a,_0x419024);}['_drawRectRange'](_0x25a5a8,_0x372e6d,_0x5d2ede,_0x4fc5ed){const _0x61026d=_0x269b37,_0x1af86f=new _0x20af0f(_0x25a5a8)[_0x61026d(0x29b)](0.2)[_0x61026d(0x2ab)](),_0x5b1d56=new _0x3357f1(Ti+_0x4286a4[_0x61026d(0x162)](X),{'pointsGroup':_0x372e6d,'fill':_0x1af86f||_0x4cc7e2(_0xf0b638[_0x61026d(0x115)],0.2),'left':_0x5d2ede,'top':_0x4fc5ed,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x61026d(0x26b)][_0x61026d(0x172)](_0x5b1d56),this['_scene'][_0x61026d(0x1b9)](_0x5b1d56,_0x419024);}[_0x269b37(0x211)](_0x326c18){const _0x3f8dd9=_0x326c18[0x0],_0x4d7f5c=_0x3f8dd9[0x0],_0x4a1b19=_0x3f8dd9[0x2],{x:_0x177467,y:_0x21d8f6}=_0x4d7f5c,{x:_0x94a0ee,y:_0x2e24b9}=_0x4a1b19;return{'left':_0x177467,'top':_0x21d8f6,'width':_0x94a0ee-_0x177467,'height':_0x2e24b9-_0x21d8f6};}[_0x269b37(0x182)](){const _0x1d885c=_0x269b37,{scaleX:_0x3c6929,scaleY:_0x72e803}=this[_0x1d885c(0x22d)][_0x1d885c(0x139)]();return Math[_0x1d885c(0x149)](_0x3c6929,_0x72e803);}}var Ui=Object[_0x269b37(0x224)],Mi=(_0x27b118,_0x161200,_0x8ffa5a,_0x1ada1a)=>{const _0x2b9f90=_0x269b37;for(var _0x2b240e=_0x1ada1a>0x1?void 0x0:_0x1ada1a?Ui(_0x161200,_0x8ffa5a):_0x161200,_0x225fef=_0x27b118[_0x2b9f90(0xce)]-0x1,_0x4eaa6e;_0x225fef>=0x0;_0x225fef--)(_0x4eaa6e=_0x27b118[_0x225fef])&&(_0x2b240e=_0x4eaa6e(_0x2b240e)||_0x2b240e);return _0x2b240e;},Z=(_0x5f44fa,_0x287d6f)=>(_0x191ccc,_0x2b718b)=>_0x287d6f(_0x191ccc,_0x2b718b,_0x5f44fa);let Pe=class extends _0x1eb9f7{constructor(_0x1a3d09,_0x5794e5,_0x24632f,_0x5a580c,_0x46f920){const _0x5f2d23=_0x269b37;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x5f2d23(0x1a2)]=_0x1a3d09,this[_0x5f2d23(0x1ec)]=_0x5794e5,this[_0x5f2d23(0xca)]=_0x24632f,this[_0x5f2d23(0x121)]=_0x5a580c,this[_0x5f2d23(0x2a9)]=_0x46f920,this[_0x5f2d23(0x1b0)]());}[_0x269b37(0x1b0)](){const _0x25cdac=_0x269b37,_0x1468fa=this[_0x25cdac(0x1a2)][_0x25cdac(0x28c)],_0x29e376=this[_0x25cdac(0x1ec)];this[_0x25cdac(0x288)](_0x235582([this[_0x25cdac(0xca)][_0x25cdac(0x27e)](_0x1468fa),this[_0x25cdac(0x2a9)][_0x25cdac(0x22b)]])[_0x25cdac(0x104)](_0x192d8c(([_0xb91f97,_0x94d9d1])=>({'skeleton':_0x29e376[_0x25cdac(0x107)](),'cursors':[..._0xb91f97[_0x25cdac(0x15d)]()][_0x25cdac(0x103)](_0x5d33ee=>({..._0x5d33ee,'color':this['_themeService']['getColorFromTheme'](_0x5d33ee[_0x25cdac(0x259)])}))})))[_0x25cdac(0x11d)](_0x1f56fe=>{const _0x472130=_0x25cdac;if(this[_0x472130(0x109)](),_0x1f56fe){const {skeleton:_0x5e5d93,cursors:_0x437f98}=_0x1f56fe;this[_0x472130(0x2a8)](_0x5e5d93,_0x437f98);}})),this[_0x25cdac(0x10c)](),this[_0x25cdac(0x16e)]();}[_0x269b37(0x2a8)](_0xc67abc,_0x213615){const _0x26d459=_0x269b37,{scene:_0x1439f2,mainComponent:_0x30a22c}=this[_0x26d459(0x1a2)],_0x506785=_0x213615['map'](_0xe709a2=>new qe(_0xe709a2,_0x1439f2,_0xc67abc,_0x30a22c));this['_cursorShapes']=_0x506785,this[_0x26d459(0x235)]=_0x213615;}[_0x269b37(0xcb)](){const _0x3c483d=_0x269b37;this[_0x3c483d(0x109)]();const {scene:_0x3c4348,mainComponent:_0x3c733c}=this[_0x3c483d(0x1a2)],_0x8dba8c=this[_0x3c483d(0x1ec)][_0x3c483d(0x107)](),_0x55774a=this[_0x3c483d(0x235)][_0x3c483d(0x1bf)](_0x429121=>new qe(_0x429121,_0x3c4348,_0x8dba8c,_0x3c733c));this[_0x3c483d(0x10f)]=_0x55774a;}[_0x269b37(0x109)](){const _0x439373=_0x269b37;this[_0x439373(0x10f)][_0x439373(0xee)](_0x296135=>_0x296135['dispose']()),this[_0x439373(0x10f)]=[];}[_0x269b37(0x16e)](){const _0x5277c0=_0x269b37,_0x2a2fc8=[_0x4e9ce9['id']];this[_0x5277c0(0x288)](this[_0x5277c0(0x121)]['onCommandExecuted'](_0xc1ad25=>{const _0x20e1a6=_0x5277c0;_0x2a2fc8[_0x20e1a6(0x179)](_0xc1ad25['id'])&&_0xc1ad25[_0x20e1a6(0x113)][_0x20e1a6(0x28c)]===this[_0x20e1a6(0x1a2)][_0x20e1a6(0x28c)]&&this['_refreshCollabCursors']();}));}[_0x269b37(0x10c)](){const _0x57ede2=_0x269b37;this['disposeWithMe'](_0x349e98(this[_0x57ede2(0x1a2)][_0x57ede2(0xc0)][_0x57ede2(0xe0)])[_0x57ede2(0x104)](_0x56603b(_0x4956d4=>_0x4956d4[_0x57ede2(0x29d)]===_0x5b038e[_0x57ede2(0xf7)]),_0x1456f4(0x10))[_0x57ede2(0x11d)](()=>{const _0x45d5d6=_0x57ede2;this[_0x45d5d6(0xcb)]();}));}};Pe=Mi([Z(0x1,_0x47930e(_0x39e395)),Z(0x2,_0x47930e(H)),Z(0x3,_0x46cdda),Z(0x4,_0x47930e(_0x58ca4c))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x1f0d03{constructor(_0x1299ab,_0x1ff13a){const _0x585f2f=_0x269b37;super(_0x1299ab,_0x1ff13a),_(this,_0x585f2f(0x270)),_(this,_0x585f2f(0x170),!0x1),_(this,'_range'),_(this,'_name',''),_(this,'_labelPosition',_0x585f2f(0x101)),_(this,'_backgroundColor'),(_0x1ff13a&&this[_0x585f2f(0x131)](_0x1ff13a),this[_0x585f2f(0x27b)][_0x585f2f(0x24e)](()=>this[_0x585f2f(0x131)]({'hovered':!0x0})),this['onPointerLeave$'][_0x585f2f(0x24e)](()=>this[_0x585f2f(0x131)]({'hovered':!0x1})));}['setShapeProps'](_0x2acb72){const _0x3122e7=_0x269b37;var _0x3eb208,_0xb6c40e,_0x1dbd45,_0x3a2ea3,_0x4cf4dd,_0x40fe7a;this[_0x3122e7(0x270)]=(_0x3eb208=_0x2acb72['color'])!=null?_0x3eb208:this[_0x3122e7(0x270)],this[_0x3122e7(0x170)]=(_0xb6c40e=_0x2acb72[_0x3122e7(0x1f6)])!=null?_0xb6c40e:this[_0x3122e7(0x170)],this[_0x3122e7(0x25b)]=(_0x1dbd45=_0x2acb72[_0x3122e7(0x1ea)])!=null?_0x1dbd45:this['_range'],this[_0x3122e7(0x278)]=(_0x3a2ea3=_0x2acb72['name'])!=null?_0x3a2ea3:this[_0x3122e7(0x278)],this[_0x3122e7(0x27a)]=(_0x4cf4dd=_0x2acb72['labelPosition'])!=null?_0x4cf4dd:this[_0x3122e7(0x27a)],this[_0x3122e7(0x238)]=(_0x40fe7a=_0x2acb72['backgroundColor'])!=null?_0x40fe7a:this[_0x3122e7(0x238)],this['transformByState']({'width':_0x2acb72[_0x3122e7(0x17f)],'height':_0x2acb72['height']});}['onMouseMove'](_0x480b22){const _0x3c687c=_0x269b37,{row:_0x599620,column:_0x4306ad}=_0x480b22;if(_0x599620>=this[_0x3c687c(0x25b)]['startRow']&&_0x599620<=this[_0x3c687c(0x25b)][_0x3c687c(0xc8)]&&_0x4306ad>=this[_0x3c687c(0x25b)][_0x3c687c(0x135)]&&_0x4306ad<=this[_0x3c687c(0x25b)][_0x3c687c(0x29c)]){this[_0x3c687c(0x131)]({'hovered':!0x0});return;}this[_0x3c687c(0x131)]({'hovered':!0x1});}[_0x269b37(0x22a)](_0x4f156c){return!0x1;}[_0x269b37(0x145)](_0x55f3d9){const _0x3ee7c1=_0x269b37;_0x4b40bd[_0x3ee7c1(0x22e)](_0x55f3d9,{'width':this['width'],'height':this[_0x3ee7c1(0x28a)],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x3ee7c1(0x238)]}),this[_0x3ee7c1(0x170)]&&(_0x55f3d9[_0x3ee7c1(0x148)](),_0x55f3d9['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x3ee7c1(0x27a)]===_0x3ee7c1(0x191)?0x0:-0x14),he[_0x3ee7c1(0x22e)](_0x55f3d9,{'text':this['_name'],'color':this[_0x3ee7c1(0x270)]}),_0x55f3d9[_0x3ee7c1(0x290)]());}}var Ai=Object[_0x269b37(0x224)],yi=(_0x1d2f99,_0x238b7d,_0x9d44fc,_0xfa4549)=>{const _0x5183d0=_0x269b37;for(var _0x371a5d=_0xfa4549>0x1?void 0x0:_0xfa4549?Ai(_0x238b7d,_0x9d44fc):_0x238b7d,_0x40cb95=_0x1d2f99[_0x5183d0(0xce)]-0x1,_0x121cfe;_0x40cb95>=0x0;_0x40cb95--)(_0x121cfe=_0x1d2f99[_0x40cb95])&&(_0x371a5d=_0x121cfe(_0x371a5d)||_0x371a5d);return _0x371a5d;},ve=(_0x8c3a76,_0x4d276c)=>(_0x1493f8,_0x33a0cc)=>_0x4d276c(_0x1493f8,_0x33a0cc,_0x8c3a76);const $i=0x1389;let Le=class extends _0x1eb9f7{constructor(_0x211d63,_0x294d94,_0x59a758,_0x12131f){const _0x164e9a=_0x269b37;super(),_(this,'_cursors',new Set()),_(this,_0x164e9a(0x1f3),null),(this[_0x164e9a(0x1a2)]=_0x211d63,this['_sheetSkeletonManagerService']=_0x294d94,this['_collabCursorController']=_0x59a758,this[_0x164e9a(0x2a9)]=_0x12131f,this[_0x164e9a(0x1b0)]());}['_init'](){const _0x1a9899=_0x269b37;this[_0x1a9899(0x295)]['currentSkeleton$']['pipe'](_0x2b1175(this[_0x1a9899(0x19e)]),_0x393b70(_0x5b04d4=>{const _0x3e7a1c=_0x1a9899;if(_0x5b04d4){const _0x3493ee=_0x5b04d4[_0x3e7a1c(0x222)];return _0x235582(this[_0x3e7a1c(0xca)][_0x3e7a1c(0x27e)](this[_0x3e7a1c(0x1a2)][_0x3e7a1c(0x28c)]),this[_0x3e7a1c(0x2a9)]['currentTheme$'])['pipe'](_0x192d8c(([_0x5427af,_0x18c85d])=>{const _0x1a9913=_0x3e7a1c,_0x1735ad=new Map();return _0x5427af[_0x1a9913(0xee)]((_0x45a2b7,_0x1d7aaf)=>{const _0x43af20=_0x1a9913;if(_0x45a2b7[_0x43af20(0x178)]===_0x3493ee){const _0x503b56={..._0x45a2b7};_0x503b56['color']=this[_0x43af20(0x2a9)]['getColorFromTheme'](_0x45a2b7['color']),_0x1735ad[_0x43af20(0x156)](_0x1d7aaf,_0x503b56);}}),{'skeleton':_0x5b04d4,'cursors':_0x1735ad};}));}return _0x59ee54({'skeleton':null,'cursors':new Map()});}))[_0x1a9899(0x11d)](({skeleton:_0xa4647f,cursors:_0x11d80b})=>{const _0x3276eb=_0x1a9899;this[_0x3276eb(0x109)](),_0xa4647f&&this['_updateCollabCursors'](_0xa4647f,_0x11d80b);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x7bb53a=>{const _0x25a385=_0x1a9899;if(_0x7bb53a==null)return;const {skeleton:_0x4d8dfe}=_0x7bb53a,{scene:_0x463774}=this['_context'];_0x463774[_0x25a385(0x13f)]['subscribeEvent'](_0x5d1c73(_0x26250b=>{const _0x2847f3=_0x25a385;var _0x11e029,_0xbe86f9;const {offsetX:_0x2eb447,offsetY:_0x47bf18}=_0x26250b,{x:_0x317aae,y:_0x3bdb1b}=_0x463774[_0x2847f3(0x264)](_0x1a2a82[_0x2847f3(0x20f)]([_0x2eb447,_0x47bf18])),{scaleX:_0x1b512e,scaleY:_0x318966}=_0x463774[_0x2847f3(0x139)](),_0xc9dc1=_0x463774[_0x2847f3(0x15f)](_0x10c6c3[_0x2847f3(0xcf)]),_0x281014=_0x463774[_0x2847f3(0x2ae)](_0x1a2a82['FromArray']([_0x317aae,_0x3bdb1b]),_0xc9dc1),_0x5a2e01=_0x4d8dfe[_0x2847f3(0x119)](_0x2eb447,_0x47bf18,_0x1b512e,_0x318966,_0x281014);((_0x11e029=this[_0x2847f3(0x1f3)])==null?void 0x0:_0x11e029[_0x2847f3(0x11b)])===_0x5a2e01[_0x2847f3(0x11b)]&&((_0xbe86f9=this[_0x2847f3(0x1f3)])==null?void 0x0:_0xbe86f9[_0x2847f3(0x1a4)])===_0x5a2e01[_0x2847f3(0x1a4)]||this[_0x2847f3(0x235)][_0x2847f3(0xee)](_0x3543e1=>{const _0x504508=_0x2847f3;_0x3543e1[_0x504508(0x1b6)](_0x5a2e01);});},0x64));});}[_0x269b37(0x2a8)](_0x227022,_0x23e580){const _0x5bed67=_0x269b37;var _0x17b255;const _0x4d1d7b=(_0x17b255=this[_0x5bed67(0x295)][_0x5bed67(0x166)]())==null?void 0x0:_0x17b255[_0x5bed67(0x219)];if(!_0x4d1d7b)return;const _0x3f745e=this[_0x5bed67(0x1ce)]();if(!_0x3f745e)return;this['_cursors']['forEach'](_0x4d0fa5=>{_0x4d0fa5['makeDirty']();});const {scene:_0x392514}=_0x3f745e,_0x1b3b44=xi(Array['from'](_0x23e580['values']()))['map'](_0x239af8=>{const _0x86d49f=_0x5bed67,{color:_0x118444,range:_0xf0aa0a,name:_0x371da8,selection:_0x25278c,sheetID:_0x528252}=_0x239af8,{startColumn:_0x208103,startRow:_0x493788,endColumn:_0x58754a,endRow:_0x2971c0}=_0xf0aa0a,_0x5a1bc3=_0x45bfa9(_0x493788,_0x208103,_0x392514,_0x4d1d7b),_0x5ecb1b=_0x45bfa9(_0x2971c0,_0x58754a,_0x392514,_0x4d1d7b),{columnHeaderHeightAndMarginTop:_0x3ab330}=_0x4d1d7b,{startX:_0x4d04d9,startY:_0x6ef2f5}=_0x5a1bc3,{endX:_0x373ec6,endY:_0x4e5bb7}=_0x5ecb1b,_0x23c1d1=_0x373ec6-_0x4d04d9,_0x569b77=_0x4e5bb7-_0x6ef2f5,_0x495978={'labelPosition':_0x6ef2f5-_0x3ab330>=ee?_0x86d49f(0x101):'bottom','sheetID':_0x528252,'range':_0xf0aa0a,'color':_0x118444,'name':_0x371da8,'selection':_0x25278c,'left':_0x4d04d9,'top':_0x6ef2f5,'width':_0x23c1d1,'height':_0x569b77,'evented':!0x1,'zIndex':$i};return new wi(_0x371da8,_0x495978);});_0x392514[_0x5bed67(0x232)](_0x1b3b44,Pi),this[_0x5bed67(0x235)]=new Set(_0x1b3b44);}[_0x269b37(0x109)](){const _0x62c4a0=_0x269b37;var _0x2e0fef;(_0x2e0fef=this[_0x62c4a0(0x235)])==null||_0x2e0fef['forEach'](_0x46da7f=>_0x46da7f[_0x62c4a0(0x14f)]());}[_0x269b37(0x1ce)](){const _0x13cbce=_0x269b37;return _0x25b9ea(this[_0x13cbce(0x1a2)][_0x13cbce(0xff)],this[_0x13cbce(0x1a2)]);}};Le=yi([ve(0x1,_0x47930e(_0x26e0d1)),ve(0x2,_0x47930e(H)),ve(0x3,_0x47930e(_0x58ca4c))],Le);function xi(_0x3f2b35){const _0x342902=_0x269b37,_0x4a464a=new Map();return _0x3f2b35[_0x342902(0xee)](_0x5b4e3a=>{const _0x227ec0=_0x342902;if(_0x4a464a['has'](_0x5b4e3a[_0x227ec0(0x1a8)])){const _0x45475a=_0x4a464a[_0x227ec0(0x14b)](_0x5b4e3a[_0x227ec0(0x1a8)]);_0x45475a['name']+=',\x20'+_0x5b4e3a[_0x227ec0(0x18b)];}else _0x4a464a[_0x227ec0(0x156)](_0x5b4e3a[_0x227ec0(0x1a8)],_0x5b4e3a);}),Array['from'](_0x4a464a[_0x342902(0x15d)]());}var v=function(){const _0x285323=_0x269b37;return v=Object[_0x285323(0x1fe)]||function(_0x16509f){const _0x3bed4c=_0x285323;for(var _0x1d9e0f,_0x6bed07=0x1,_0x2209ae=arguments[_0x3bed4c(0xce)];_0x6bed07<_0x2209ae;_0x6bed07++){_0x1d9e0f=arguments[_0x6bed07];for(var _0x3c65d4 in _0x1d9e0f)Object[_0x3bed4c(0x1d8)][_0x3bed4c(0x17e)]['call'](_0x1d9e0f,_0x3c65d4)&&(_0x16509f[_0x3c65d4]=_0x1d9e0f[_0x3c65d4]);}return _0x16509f;},v[_0x285323(0x27d)](this,arguments);},Bi=function(_0x5b8e1d,_0x3142dd){const _0x1e31f3=_0x269b37;var _0x4cc7fc={};for(var _0x17f031 in _0x5b8e1d)Object[_0x1e31f3(0x1d8)][_0x1e31f3(0x17e)][_0x1e31f3(0x176)](_0x5b8e1d,_0x17f031)&&_0x3142dd[_0x1e31f3(0x201)](_0x17f031)<0x0&&(_0x4cc7fc[_0x17f031]=_0x5b8e1d[_0x17f031]);if(_0x5b8e1d!=null&&typeof Object[_0x1e31f3(0x184)]==_0x1e31f3(0x180)){for(var _0x51aa11=0x0,_0x17f031=Object[_0x1e31f3(0x184)](_0x5b8e1d);_0x51aa11<_0x17f031['length'];_0x51aa11++)_0x3142dd[_0x1e31f3(0x201)](_0x17f031[_0x51aa11])<0x0&&Object['prototype'][_0x1e31f3(0xf6)][_0x1e31f3(0x176)](_0x5b8e1d,_0x17f031[_0x51aa11])&&(_0x4cc7fc[_0x17f031[_0x51aa11]]=_0x5b8e1d[_0x17f031[_0x51aa11]]);}return _0x4cc7fc;},je=_0x2d9e5e(function(_0x408901,_0x4c563d){const _0x59c682=_0x269b37;var _0x5d7da8=_0x408901[_0x59c682(0x106)],_0x1f7d67=_0x408901['id'],_0x33caea=_0x408901['className'],_0x12feaa=_0x408901['extend'],_0x429e48=Bi(_0x408901,[_0x59c682(0x106),'id',_0x59c682(0xd5),_0x59c682(0x1ca)]),_0x3fee93=_0x59c682(0x1b2)[_0x59c682(0x1c1)](_0x1f7d67,'\x20')[_0x59c682(0x1c1)](_0x33caea||'')[_0x59c682(0x1f8)](),_0x150fc7=_0x1fbacc('_'[_0x59c682(0x1c1)](ji()));return Rt(_0x5d7da8,''[_0x59c682(0x1c1)](_0x1f7d67),{'defIds':_0x5d7da8['defIds'],'idSuffix':_0x150fc7[_0x59c682(0xbe)]},v({'ref':_0x4c563d,'className':_0x3fee93},_0x429e48),_0x12feaa);});function Rt(_0xa887eb,_0x352bbc,_0x2caace,_0x3b6b04,_0x5ee86c){const _0x2b83f3=_0x269b37;return _0x33cf63(_0xa887eb[_0x2b83f3(0x275)],v(v({'key':_0x352bbc},ki(_0xa887eb,_0x2caace,_0x5ee86c)),_0x3b6b04),(Hi(_0xa887eb,_0x2caace)[_0x2b83f3(0x130)]||[])[_0x2b83f3(0x1bf)](function(_0x2ae220,_0x3c1f54){const _0x2c7210=_0x2b83f3;return Rt(_0x2ae220,''['concat'](_0x352bbc,'-')[_0x2c7210(0x1c1)](_0xa887eb[_0x2c7210(0x275)],'-')[_0x2c7210(0x1c1)](_0x3c1f54),_0x2caace,void 0x0,_0x5ee86c);}));}function ki(_0x4ccc21,_0x1c2c7b,_0x1a5582){const _0x45f702=_0x269b37;var _0x385d15=v({},_0x4ccc21[_0x45f702(0x2b6)]);_0x1a5582!=null&&_0x1a5582[_0x45f702(0x137)]&&_0x385d15[_0x45f702(0x29a)]===_0x45f702(0x137)&&(_0x385d15[_0x45f702(0x29a)]=_0x1a5582[_0x45f702(0x137)]),_0x4ccc21[_0x45f702(0x275)]===_0x45f702(0x20e)&&_0x385d15['id']&&(_0x385d15['id']=_0x385d15['id']+_0x1c2c7b[_0x45f702(0xbf)]),Object[_0x45f702(0xb9)](_0x385d15)[_0x45f702(0xee)](function(_0x1a9c28){const _0x2a042d=_0x45f702;var _0x1bb911=_0x1a9c28[0x0],_0x548cfa=_0x1a9c28[0x1];_0x1bb911===_0x2a042d(0x20e)&&typeof _0x548cfa==_0x2a042d(0x24b)&&(_0x385d15[_0x1bb911]=_0x548cfa['replace'](/url\(#(.*)\)/,_0x2a042d(0x2a6)[_0x2a042d(0x1c1)](_0x1c2c7b['idSuffix'],')')));});var _0x43a285=_0x1c2c7b[_0x45f702(0x245)];return!_0x43a285||_0x43a285[_0x45f702(0xce)]===0x0||(_0x4ccc21[_0x45f702(0x275)]==='use'&&_0x385d15[_0x45f702(0x214)]&&(_0x385d15[_0x45f702(0x214)]=_0x385d15['xlink:href']+_0x1c2c7b[_0x45f702(0xbf)]),Object[_0x45f702(0xb9)](_0x385d15)[_0x45f702(0xee)](function(_0xcc8d11){const _0x3bfc72=_0x45f702;var _0x5ead1d=_0xcc8d11[0x0],_0x37b04b=_0xcc8d11[0x1];typeof _0x37b04b==_0x3bfc72(0x24b)&&(_0x385d15[_0x5ead1d]=_0x37b04b['replace'](/url\(#(.*)\)/,_0x3bfc72(0x2a6)[_0x3bfc72(0x1c1)](_0x1c2c7b[_0x3bfc72(0xbf)],')')));})),_0x385d15;}function Hi(_0x55e9c2,_0x1c5b77){const _0x1c19c3=_0x269b37;var _0x3ca806,_0x1eb3df=_0x1c5b77[_0x1c19c3(0x245)];return!_0x1eb3df||_0x1eb3df['length']===0x0?_0x55e9c2:_0x55e9c2['tag']===_0x1c19c3(0x208)&&(!((_0x3ca806=_0x55e9c2[_0x1c19c3(0x130)])===null||_0x3ca806===void 0x0)&&_0x3ca806['length'])?v(v({},_0x55e9c2),{'children':_0x55e9c2[_0x1c19c3(0x130)][_0x1c19c3(0x1bf)](function(_0x5826e2){const _0x25b5ca=_0x1c19c3;return typeof _0x5826e2[_0x25b5ca(0x2b6)]['id']==_0x25b5ca(0x24b)&&_0x1eb3df&&_0x1eb3df[_0x25b5ca(0x201)](_0x5826e2[_0x25b5ca(0x2b6)]['id'])>-0x1?v(v({},_0x5826e2),{'attrs':v(v({},_0x5826e2[_0x25b5ca(0x2b6)]),{'id':_0x5826e2['attrs']['id']+_0x1c5b77[_0x25b5ca(0xbf)]})}):_0x5826e2;})}):_0x55e9c2;}function ji(){const _0x28b5ca=_0x269b37;return Math[_0x28b5ca(0x1ed)]()[_0x28b5ca(0x2b4)](0x24)[_0x28b5ca(0x239)](0x2,0x8);}je['displayName']=_0x269b37(0x203);var Yi={'tag':_0x269b37(0x1a1),'attrs':{'fill':'none','viewBox':_0x269b37(0x1a3),'width':'1em','height':_0x269b37(0x200)},'children':[{'tag':'g','attrs':{'clipPath':_0x269b37(0x2bb)},'children':[{'tag':_0x269b37(0x13e),'attrs':{'stroke':_0x269b37(0x122),'d':_0x269b37(0x24d),'strokeLinecap':'round','strokeLinejoin':_0x269b37(0x15c),'strokeWidth':1.2}}]},{'tag':_0x269b37(0x208),'attrs':{},'children':[{'tag':_0x269b37(0x13a),'attrs':{'id':_0x269b37(0x24f)},'children':[{'tag':'path','attrs':{'fill':_0x269b37(0x23c),'d':_0x269b37(0xf1)}}]}]}],'defIds':[_0x269b37(0x24f)]},Dt=_0x2d9e5e(function(_0x4722f4,_0xb1cc9b){const _0x4915d3=_0x269b37;return _0x33cf63(je,Object[_0x4915d3(0x1fe)]({},_0x4722f4,{'id':'off-line-single','ref':_0xb1cc9b,'icon':Yi}));});Dt['displayName']=_0x269b37(0xe1);var Fi={'tag':_0x269b37(0x1a1),'attrs':{'fill':_0x269b37(0xe2),'viewBox':_0x269b37(0x1ab),'width':_0x269b37(0x200),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x269b37(0x209)},'children':[{'tag':_0x269b37(0x13e),'attrs':{'stroke':_0x269b37(0x122),'d':_0x269b37(0x186),'strokeLinecap':_0x269b37(0x15c),'strokeLinejoin':_0x269b37(0x15c),'strokeWidth':1.2}}]},{'tag':_0x269b37(0x208),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x269b37(0x2ad)},'children':[{'tag':_0x269b37(0x13e),'attrs':{'fill':_0x269b37(0x23c),'d':_0x269b37(0xf1),'transform':'translate(.97)'}}]}]}],'defIds':[_0x269b37(0x2ad)]},Nt=_0x2d9e5e(function(_0x406ff5,_0x5d29b6){return _0x33cf63(je,Object['assign']({},_0x406ff5,{'id':'on-line-single','ref':_0x5d29b6,'icon':Fi}));});Nt[_0x269b37(0x1f0)]='OnLineSingle';function Wi(_0x5a77cb){const _0x10c678=_0x269b37;switch(_0x5a77cb){case _0x25c542[_0x10c678(0x100)]:return _0x10c678(0x1cc);case _0x25c542[_0x10c678(0x284)]:return _0x10c678(0xd3);case _0x25c542[_0x10c678(0x220)]:return _0x10c678(0x2a2);case _0x25c542[_0x10c678(0x210)]:return _0x10c678(0x253);case _0x25c542[_0x10c678(0x16c)]:case _0x25c542[_0x10c678(0x286)]:return'collabStatus.syncing';case _0x25c542[_0x10c678(0x2b1)]:case _0x25c542[_0x10c678(0x252)]:return'collabStatus.synced';}}function Vi(_0x56ce96){const _0x247c99=_0x269b37,{status$:_0x3a0416}=_0x56ce96,_0x4f6501=_0x3b669e(_0x3a0416,_0x25c542[_0x247c99(0x210)]),_0x98d42c=_0xece927(_0x4d65df),_0x42a318=_0xece927(_0xc38a18),_0x3a444c=_0x4f6501!==_0x25c542[_0x247c99(0x100)],_0x2c5023=_0x98d42c['t'](Wi(_0x4f6501)),_0x59d3c8=_0x3a444c?_0x1e60e4(Nt,{}):_0x1e60e4(Dt,{}),_0x4e9aa0=_0x36454e(()=>{const _0x4196d3=_0x247c99;_0x3a444c||_0x42a318[_0x4196d3(0xe5)]();},[_0x3a444c,_0x42a318]);function _0x232322(){const _0x404ad3=_0x247c99;return _0x106b17('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x4e9aa0,'children':[_0x1e60e4(_0x404ad3(0x1ba),{'className':_0x14684d(_0x404ad3(0xcd),{'univer-text-green-500':_0x3a444c,'univer-text-red-500':!_0x3a444c}),'children':_0x59d3c8}),_0x1e60e4(_0x404ad3(0x1ba),{'className':_0x404ad3(0x1d4),'children':_0x2c5023})]});}return _0x3a444c?_0x232322():_0x1e60e4(_0x5f4337,{'title':_0x98d42c['t']('collab-client.tooltip.reconnect'),'children':_0x232322()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x29be5f,_0x8b06e5,_0x30dcbb,_0x5a3f58)=>{const _0x2e6e06=_0x269b37;for(var _0x164fc8=_0x5a3f58>0x1?void 0x0:_0x5a3f58?Xi(_0x8b06e5,_0x30dcbb):_0x8b06e5,_0x19d6a1=_0x29be5f[_0x2e6e06(0xce)]-0x1,_0x3cdaaa;_0x19d6a1>=0x0;_0x19d6a1--)(_0x3cdaaa=_0x29be5f[_0x19d6a1])&&(_0x164fc8=_0x3cdaaa(_0x164fc8)||_0x164fc8);return _0x164fc8;},Q=(_0x4074b5,_0x5a5448)=>(_0x51e522,_0x12876d)=>_0x5a5448(_0x51e522,_0x12876d,_0x4074b5);let te=class extends _0x2473c8{constructor(_0x33a2c7,_0x199b17,_0x1a8350,_0x5a02e6){const _0x32c2d2=_0x269b37;super(),_(this,_0x32c2d2(0x1c4),new _0x46d066(_0x25c542[_0x32c2d2(0x210)])),(this[_0x32c2d2(0x243)]=_0x33a2c7,this[_0x32c2d2(0x105)]=_0x199b17,this[_0x32c2d2(0x15e)]=_0x1a8350,this[_0x32c2d2(0x298)]=_0x5a02e6,this[_0x32c2d2(0x22f)](),this[_0x32c2d2(0xdb)]());}[_0x269b37(0xdb)](){const _0x1878bb=_0x269b37;this[_0x1878bb(0x288)](this['_univerInstanceService']['focused$'][_0x1878bb(0x104)](_0x1b2352(()=>{const _0x593e76=_0x1878bb,_0x59221d=this[_0x593e76(0x243)][_0x593e76(0x1b5)]();return _0x59221d?this[_0x593e76(0x15e)][_0x593e76(0xeb)](_0x59221d[_0x593e76(0x25c)]()):_0x59ee54(null);}),_0x1b2352(_0x2649f3=>_0x2649f3?_0x2649f3[_0x1878bb(0xea)]:_0x59ee54(_0x25c542[_0x1878bb(0x210)])))[_0x1878bb(0x11d)](_0x559dfa=>{const _0x50de14=_0x1878bb;this[_0x50de14(0x1c4)][_0x50de14(0xbb)](_0x559dfa);}));}[_0x269b37(0x22f)](){const _0x15c55c=_0x269b37;this['disposeWithMe'](this[_0x15c55c(0x298)][_0x15c55c(0x12b)](_0x326f8c['HEADER_MENU'],()=>_0x4a20ec(Ki({'status$':this[_0x15c55c(0x1c4)][_0x15c55c(0x120)]()}),this[_0x15c55c(0x105)])));}};te=Gi([Q(0x0,_0x214b26),Q(0x1,_0x47930e(_0x3c7764)),Q(0x2,_0x47930e(_0x55412b)),Q(0x3,_0x5dcbd2)],te);function Ki(_0x2ea47d){const {status$:_0x540aea}=_0x2ea47d;return function(){return _0x1e60e4(Vi,{'status$':_0x540aea});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x2342c0,_0x1d3201,_0x218dbc,_0x3944fc)=>{const _0x3e5bf7=_0x269b37;for(var _0x180434=_0x3944fc>0x1?void 0x0:_0x3944fc?zi(_0x1d3201,_0x218dbc):_0x1d3201,_0x509a49=_0x2342c0[_0x3e5bf7(0xce)]-0x1,_0x2eb0c2;_0x509a49>=0x0;_0x509a49--)(_0x2eb0c2=_0x2342c0[_0x509a49])&&(_0x180434=_0x2eb0c2(_0x180434)||_0x180434);return _0x180434;},B=(_0x1bc15e,_0x388484)=>(_0x145ec8,_0x121ee3)=>_0x388484(_0x145ec8,_0x121ee3,_0x1bc15e);let se=class extends _0x2473c8{constructor(_0x46f502,_0x576c29,_0x57e0d4,_0x27ec52,_0x454f25,_0x2a5612){const _0x567fa3=_0x269b37;super(),this[_0x567fa3(0x202)]=_0x46f502,this['_localCacheService']=_0x576c29,this[_0x567fa3(0x117)]=_0x57e0d4,this[_0x567fa3(0x1ad)]=_0x27ec52,this[_0x567fa3(0x16d)]=_0x454f25,this[_0x567fa3(0x10b)]=_0x2a5612,this[_0x567fa3(0x14c)](),this[_0x567fa3(0x21f)]();}[_0x269b37(0x14c)](){const _0xd10a16=_0x269b37;this[_0xd10a16(0x288)](this[_0xd10a16(0x202)][_0xd10a16(0x157)](()=>{const _0x270fe5=_0xd10a16;if(this['_localCacheService'][_0x270fe5(0x274)]['size'])return this[_0x270fe5(0x10b)]['t'](_0x270fe5(0xd7));}));}[_0x269b37(0x21f)](){const _0x39fa88=_0x269b37;this[_0x39fa88(0x288)](this[_0x39fa88(0x117)][_0x39fa88(0x158)]['subscribe'](_0xbe12a=>{const _0x54ec03=_0x39fa88;_0xbe12a['id']===_0x2c1cc8[_0x54ec03(0x11a)]&&this[_0x54ec03(0x1ad)][_0x54ec03(0x1b4)]({'type':_0x5d2219[_0x54ec03(0xde)],'content':this[_0x54ec03(0x10b)]['t'](_0x54ec03(0x108))}),_0xbe12a['id']===_0x2c1cc8['CLOSE_ROOM']&&this[_0x54ec03(0x1ad)][_0x54ec03(0x1b4)]({'type':_0x5d2219['Warning'],'content':this[_0x54ec03(0x10b)]['t'](_0x54ec03(0x2a7))}),_0xbe12a['id']===_0x2c1cc8['PERMISSION_DENIED']&&this['_notificationService']['show']({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x54ec03(0x1e9),'duration':0x0}),_0xbe12a['id']===_0x2c1cc8[_0x54ec03(0x284)]&&this['_messageService']['show']({'type':_0x5d2219[_0x54ec03(0x1eb)],'content':this[_0x54ec03(0x10b)]['t']('collaboration.closeRoom')+'('+_0xbe12a[_0x54ec03(0x273)]+')'}),_0xbe12a['id']===_0x2c1cc8[_0x54ec03(0x23e)]&&this['_messageService'][_0x54ec03(0x1b4)]({'type':_0x5d2219['Warning'],'content':this[_0x54ec03(0x10b)]['t'](_0xbe12a['data']||'')}),_0xbe12a['id']===_0x2c1cc8['SOCKET_FAILED_RETRY']&&this[_0x54ec03(0x1ad)][_0x54ec03(0x1b4)]({'type':_0x5d2219['Warning'],'content':this[_0x54ec03(0x10b)]['t']('session.will-retry')}),_0xbe12a['id']===_0x2c1cc8[_0x54ec03(0x14e)]&&this['_messageService'][_0x54ec03(0x1b4)]({'type':_0x5d2219['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0xbe12a['id']===_0x2c1cc8[_0x54ec03(0x194)]&&this[_0x54ec03(0x1ad)][_0x54ec03(0x1b4)]({'type':_0x5d2219[_0x54ec03(0x1eb)],'content':this['_localeService']['t'](_0x54ec03(0x2b0))});}));}};se=Ji([B(0x0,_0x8cdb3e),B(0x1,_0x3fb996),B(0x2,_0x47930e(_0x1ac71a)),B(0x3,_0x331198),B(0x4,_0x1c4ff5),B(0x5,_0x47930e(_0x4d65df))],se);const Zi=_0x269b37(0xf3),et={},Ut=_0x5057f9(_0x269b37(0x1ef));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0xbbd71a,_0xb7d1dd,_0x451953,_0x50e32b)=>{const _0x5363f1=_0x269b37;for(var _0x261c06=_0x50e32b>0x1?void 0x0:_0x50e32b?Qi(_0xb7d1dd,_0x451953):_0xb7d1dd,_0x1a0928=_0xbbd71a[_0x5363f1(0xce)]-0x1,_0x2c42a4;_0x1a0928>=0x0;_0x1a0928--)(_0x2c42a4=_0xbbd71a[_0x1a0928])&&(_0x261c06=_0x2c42a4(_0x261c06)||_0x261c06);return _0x261c06;},G=(_0x10e7a0,_0x18c9e0)=>(_0x2c69d5,_0x519f9e)=>_0x18c9e0(_0x2c69d5,_0x519f9e,_0x10e7a0);let ie=class extends _0x1eb9f7{constructor(_0x1912d3,_0x54edb9,_0x4c5382,_0x2dcd6d,_0x3d1b28){const _0x39fdae=_0x269b37;super(),this[_0x39fdae(0x212)]=_0x1912d3,this[_0x39fdae(0x167)]=_0x54edb9,this['_commandService']=_0x4c5382,this[_0x39fdae(0x217)]=_0x2dcd6d,_0x3d1b28?_0x3d1b28==null||_0x3d1b28[_0x39fdae(0x265)]()['then'](()=>this[_0x39fdae(0x1b0)]()):(this['_logService'][_0x39fdae(0x215)](_0x39fdae(0x1ff),_0x39fdae(0xfa)),this[_0x39fdae(0x1b0)]());}async[_0x269b37(0x1b0)](){const _0x3028de=_0x269b37,_0x1c9564=this[_0x3028de(0x212)]['getParam'](_0x3028de(0xff)),_0x1f75b2=this['_urlService'][_0x3028de(0x221)]('type'),_0x4c53d6=this[_0x3028de(0x212)][_0x3028de(0x221)](_0x3028de(0x1dd));if(!_0x1c9564||!_0x1f75b2){this[_0x3028de(0x167)][_0x3028de(0x215)](_0x3028de(0x1ff),_0x3028de(0x183));return;}const _0x5e6e83=await this[_0x3028de(0x217)][_0x3028de(0x1d0)](_0x1c9564,Number(_0x1f75b2),_0x4c53d6);_0x5e6e83&&_0x5e6e83 instanceof _0x3aa8dd&&this[_0x3028de(0x128)](_0x5e6e83);}async[_0x269b37(0x128)](_0x5839db){const _0xe9d8d6=_0x269b37;await this[_0xe9d8d6(0x1a6)](_0x5839db),_0x5839db[_0xe9d8d6(0x1cf)][_0xe9d8d6(0x104)](_0x23ec57(this[_0xe9d8d6(0x19e)]))[_0xe9d8d6(0x11d)](_0x3a0579=>{const _0x215c7b=_0xe9d8d6;_0x3a0579&&this[_0x215c7b(0x2b2)](_0x3a0579);}),this[_0xe9d8d6(0x212)][_0xe9d8d6(0x26e)][_0xe9d8d6(0x104)](_0x23ec57(this['dispose$']))[_0xe9d8d6(0x11d)](()=>this['_updateSubUnitFromURLParams'](_0x5839db));}[_0x269b37(0x2b2)](_0x581010,_0x53a491=!0x1){const _0x3fb1ce=_0x269b37,_0x143816=this[_0x3fb1ce(0x212)][_0x3fb1ce(0x221)](_0x3fb1ce(0x1dd));_0x581010[_0x3fb1ce(0x1d6)]()!==_0x143816&&this['_urlService'][_0x3fb1ce(0x2b8)]('subunit',_0x581010[_0x3fb1ce(0x1d6)](),_0x53a491);}async[_0x269b37(0x1a6)](_0xd087ce){const _0x3df33=_0x269b37;var _0xea6b43;const _0x5a8999=this[_0x3df33(0x212)][_0x3df33(0x221)](_0x3df33(0x1dd));if(!_0x5a8999||!_0xd087ce['getSheetBySheetId'](_0x5a8999)){const _0x939727=_0xd087ce[_0x3df33(0x28d)]()[0x0],_0xd7972d=_0xd087ce['getSheetBySheetId'](_0x939727);if(!_0xd7972d)return;this[_0x3df33(0x2b2)](_0xd7972d,!0x0),await this['_commandService'][_0x3df33(0x1aa)](_0x4449e9['id'],{'unitId':_0xd087ce[_0x3df33(0x25c)](),'subUnitId':_0x939727});return;}((_0xea6b43=_0xd087ce[_0x3df33(0x1d7)]())==null?void 0x0:_0xea6b43[_0x3df33(0x1d6)]())!==_0x5a8999&&await this[_0x3df33(0x121)][_0x3df33(0x1aa)](_0x4449e9['id'],{'unitId':_0xd087ce[_0x3df33(0x25c)](),'subUnitId':_0x5a8999});}};ie=qi([G(0x0,Ut),G(0x1,_0x325a2a),G(0x2,_0x46cdda),G(0x3,_0x47930e(_0x2dc028)),G(0x4,_0x49e359(_0x404306))],ie);var en=Object[_0x269b37(0x224)],tn=(_0x4861cd,_0x5c3be5,_0x491a2c,_0x217f74)=>{const _0x558710=_0x269b37;for(var _0x480300=_0x217f74>0x1?void 0x0:_0x217f74?en(_0x5c3be5,_0x491a2c):_0x5c3be5,_0x5f508e=_0x4861cd[_0x558710(0xce)]-0x1,_0x534745;_0x5f508e>=0x0;_0x5f508e--)(_0x534745=_0x4861cd[_0x5f508e])&&(_0x480300=_0x534745(_0x480300)||_0x480300);return _0x480300;},pe=(_0x4fb497,_0x9f9a79)=>(_0x3e9b9f,_0x59573c)=>_0x9f9a79(_0x3e9b9f,_0x59573c,_0x4fb497);let ne=class{constructor(_0x5ad9fb,_0x2267f6,_0x452b0f){const _0x5ad2df=_0x269b37;this['_injector']=_0x5ad9fb,this[_0x5ad2df(0x136)]=_0x2267f6,this[_0x5ad2df(0x1a0)]=_0x452b0f;}[_0x269b37(0x1e0)](_0x559afd){const _0x4c6c87=_0x269b37;this[_0x4c6c87(0x2c0)](_0x559afd),this[_0x4c6c87(0x1c0)](_0x559afd);}[_0x269b37(0x11c)](_0x1af38a){const _0x2cd691=_0x269b37,{unitID:_0x14fb54}=_0x1af38a,_0x172960=this[_0x2cd691(0x1a0)][_0x2cd691(0x26c)](_0x14fb54)[_0x2cd691(0xc7)](_0x4fcb4e),{redoCache:_0x1ae823}=_0x172960[_0x2cd691(0x153)]();if(_0x1ae823[_0x2cd691(0xce)]===0x0)return _0x1af38a;let _0x4956ce=_0x4286a4[_0x2cd691(0x1a5)](_0x1af38a[_0x2cd691(0xfc)][0x0]);for(let _0x4580c5=0x0;_0x4580c5<_0x1ae823[_0x2cd691(0xce)];_0x4580c5++){const _0x1bdfa5={'id':_0x2cd691(0x114),'params':{..._0x1ae823[_0x4580c5]}},_0x4f238c=this['_transformService']['transformMutation'](_0x4956ce,_0x1bdfa5,!0x1);if(_0x3f17f0(_0x4f238c))throw _0x4f238c[_0x2cd691(0x1e9)];_0x4956ce=_0x4f238c[_0x2cd691(0x247)];}return{..._0x4286a4['deepClone'](_0x1af38a),'mutations':[_0x4956ce]};}[_0x269b37(0x2c0)](_0x542336){const _0x2fbc8f=_0x269b37,{unitID:_0x2e8e44}=_0x542336,_0x3538d6=this[_0x2fbc8f(0x1a0)][_0x2fbc8f(0x26c)](_0x2e8e44)[_0x2fbc8f(0xc7)](_0x4fcb4e),{undoCache:_0x100a82,redoCache:_0x284cba}=_0x3538d6[_0x2fbc8f(0x153)]();if(_0x100a82['length']===0x0||_0x284cba[_0x2fbc8f(0xce)]===0x0)return;const _0x293be3=[],_0x231b7f=[];let _0x30bdaf=_0x4286a4[_0x2fbc8f(0x1a5)](_0x542336[_0x2fbc8f(0xfc)][0x0]),_0x459d15=_0x4286a4[_0x2fbc8f(0x1a5)](_0x542336[_0x2fbc8f(0xfc)][0x0]);for(let _0x258aac=_0x100a82['length']-0x1;_0x258aac>=0x0;_0x258aac--){const _0x4a8908={'id':_0x2fbc8f(0x114),'params':{..._0x100a82[_0x258aac]}},_0x330371={'id':_0x2fbc8f(0x114),'params':{..._0x284cba[_0x258aac]}},_0x23f959=this[_0x2fbc8f(0x136)][_0x2fbc8f(0x16a)](_0x30bdaf,_0x4a8908,!0x1),_0x3038c6=this[_0x2fbc8f(0x136)][_0x2fbc8f(0x16a)](_0x459d15,_0x330371,!0x1);if(_0x3f17f0(_0x23f959))throw _0x23f959[_0x2fbc8f(0x1e9)];if(_0x3f17f0(_0x3038c6))throw _0x3038c6['error'];_0x293be3['unshift'](_0x23f959[_0x2fbc8f(0x12e)][_0x2fbc8f(0x113)]),_0x231b7f[_0x2fbc8f(0x283)](_0x3038c6[_0x2fbc8f(0x12e)][_0x2fbc8f(0x113)]),_0x30bdaf=_0x23f959[_0x2fbc8f(0x247)],_0x459d15=_0x3038c6['m1Prime'];}_0x3538d6[_0x2fbc8f(0x227)]({'undoCache':_0x293be3,'redoCache':_0x231b7f});}[_0x269b37(0x1c0)](_0x2ef1f2){const _0x30fddc=_0x269b37,{unitID:_0x2426ea}=_0x2ef1f2,_0x46d6f6=this[_0x30fddc(0x1a0)][_0x30fddc(0x26c)](_0x2426ea)['with'](_0x4fcb4e),_0x39f8fd=_0x46d6f6[_0x30fddc(0x1d9)]();if(_0x39f8fd==null)return;const _0x26ba42=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2ef1f2[_0x30fddc(0xf8)],'actions':null,'textRanges':[_0x39f8fd]}}],_0x103ca7=this[_0x30fddc(0x136)][_0x30fddc(0x248)](_0x2ef1f2,_0x26ba42);if(!_0x4e7f5c(_0x103ca7))throw _0x103ca7[_0x30fddc(0x1e9)];const _0x57614d=_0x103ca7[_0x30fddc(0x12e)][0x0][_0x30fddc(0x113)][_0x30fddc(0x18a)];Array['isArray'](_0x57614d)&&_0x57614d[_0x30fddc(0xce)]&&_0x46d6f6['setActiveRange'](_0x57614d[0x0]);}};ne=tn([pe(0x0,_0x47930e(_0x3c7764)),pe(0x1,_0x370876),pe(0x2,_0x2de4b6)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x28dac7,_0xe6231b,_0x57ac1b,_0x422a44)=>{const _0x3ffd51=_0x269b37;for(var _0x2c348c=_0x422a44>0x1?void 0x0:_0x422a44?sn(_0xe6231b,_0x57ac1b):_0xe6231b,_0x4601b9=_0x28dac7[_0x3ffd51(0xce)]-0x1,_0x200f32;_0x4601b9>=0x0;_0x4601b9--)(_0x200f32=_0x28dac7[_0x4601b9])&&(_0x2c348c=_0x200f32(_0x2c348c)||_0x2c348c);return _0x2c348c;},Ce=(_0x41e1da,_0x524334)=>(_0x1a62dd,_0x4ab8aa)=>_0x524334(_0x1a62dd,_0x4ab8aa,_0x41e1da);function _0x542b(_0x3d9e4e,_0x36ec8a){const _0x100d72=_0x100d();return _0x542b=function(_0x542b59,_0xe2dc90){_0x542b59=_0x542b59-0xb9;let _0x51927=_0x100d72[_0x542b59];return _0x51927;},_0x542b(_0x3d9e4e,_0x36ec8a);}let re=class{constructor(_0x10c116,_0x5c58ab,_0x205001){const _0x328e33=_0x269b37;this['_injector']=_0x10c116,this[_0x328e33(0x136)]=_0x5c58ab,this['_docStateChangeManagerService']=_0x205001;}[_0x269b37(0x1dc)](_0x19d76a){const _0x2f6c7c=_0x269b37;this[_0x2f6c7c(0x2ac)](_0x19d76a);}['transformRemoteChangeset'](_0x8a9045){const _0x1ad7c8=_0x269b37,{unitID:_0x5426d7}=_0x8a9045,{collaboration:_0x2404b1}=this['_docStateChangeManagerService']['getStateCache'](_0x5426d7);if(_0x2404b1[_0x1ad7c8(0xce)]===0x0)return _0x8a9045;let _0x5b0467=_0x4286a4[_0x1ad7c8(0x1a5)](_0x8a9045[_0x1ad7c8(0xfc)][0x0]);for(let _0x292ba9=0x0;_0x292ba9<_0x2404b1[_0x1ad7c8(0xce)];_0x292ba9++){const _0xba6fa2={'id':_0x1ad7c8(0x114),'params':{'unitId':_0x2404b1[_0x292ba9][_0x1ad7c8(0x28c)],..._0x2404b1[_0x292ba9][_0x1ad7c8(0xdf)]}},_0x40e543=this[_0x1ad7c8(0x136)]['transformMutation'](_0x5b0467,_0xba6fa2,!0x1);if(_0x3f17f0(_0x40e543))throw _0x40e543[_0x1ad7c8(0x1e9)];_0x5b0467=_0x40e543['m1Prime'];}return{..._0x4286a4['deepClone'](_0x8a9045),'mutations':[_0x5b0467]};}[_0x269b37(0x2ac)](_0x3082b9){const _0xba171b=_0x269b37,{unitID:_0x22ecde}=_0x3082b9,{history:_0x55a2ee,collaboration:_0x26d4f0}=this[_0xba171b(0x127)][_0xba171b(0x147)](_0x22ecde);if(_0x55a2ee[_0xba171b(0xce)]===0x0&&_0x26d4f0['length']===0x0)return;const _0x3ed996=[],_0x1b159b=[];let _0x5bcbd7=_0x4286a4[_0xba171b(0x1a5)](_0x3082b9[_0xba171b(0xfc)][0x0]),_0x2ba3cd=_0x4286a4[_0xba171b(0x1a5)](_0x3082b9[_0xba171b(0xfc)][0x0]);for(let _0x4006a0=_0x55a2ee[_0xba171b(0xce)]-0x1;_0x4006a0>=0x0;_0x4006a0--){const _0x3bb19e={'id':_0xba171b(0x114),'params':{'unitId':_0x55a2ee[_0x4006a0]['unitId'],..._0x55a2ee[_0x4006a0][_0xba171b(0xe6)]}},_0x5efcb5={'id':_0xba171b(0x114),'params':{'unitId':_0x55a2ee[_0x4006a0][_0xba171b(0x28c)],..._0x55a2ee[_0x4006a0]['redoState']}},_0x24c9c8=this[_0xba171b(0x136)][_0xba171b(0x16a)](_0x5bcbd7,_0x3bb19e,!0x1),_0xb48288=this[_0xba171b(0x136)][_0xba171b(0x16a)](_0x2ba3cd,_0x5efcb5,!0x1);if(_0x3f17f0(_0x24c9c8))throw _0x24c9c8[_0xba171b(0x1e9)];if(_0x3f17f0(_0xb48288))throw _0xb48288[_0xba171b(0x1e9)];_0x3ed996['unshift']({..._0x55a2ee[_0x4006a0],'undoState':_0x24c9c8[_0xba171b(0x12e)]['params'],'redoState':_0xb48288[_0xba171b(0x12e)]['params']}),_0x5bcbd7=_0x24c9c8[_0xba171b(0x247)],_0x2ba3cd=_0xb48288[_0xba171b(0x247)];}_0x5bcbd7=_0x4286a4[_0xba171b(0x1a5)](_0x3082b9['mutations'][0x0]),_0x2ba3cd=_0x4286a4[_0xba171b(0x1a5)](_0x3082b9[_0xba171b(0xfc)][0x0]);for(let _0x42bfa8=_0x26d4f0[_0xba171b(0xce)]-0x1;_0x42bfa8>=0x0;_0x42bfa8--){const _0x1add3a={'id':_0xba171b(0x114),'params':{'unitId':_0x26d4f0[_0x42bfa8][_0xba171b(0x28c)],..._0x26d4f0[_0x42bfa8]['undoState']}},_0x740cdd={'id':_0xba171b(0x114),'params':{'unitId':_0x26d4f0[_0x42bfa8][_0xba171b(0x28c)],..._0x26d4f0[_0x42bfa8]['redoState']}},_0x48fdd3=this[_0xba171b(0x136)][_0xba171b(0x16a)](_0x5bcbd7,_0x1add3a,!0x1),_0x12cae3=this[_0xba171b(0x136)][_0xba171b(0x16a)](_0x2ba3cd,_0x740cdd,!0x1);if(_0x3f17f0(_0x48fdd3))throw _0x48fdd3[_0xba171b(0x1e9)];if(_0x3f17f0(_0x12cae3))throw _0x12cae3['error'];_0x1b159b[_0xba171b(0x283)]({..._0x26d4f0[_0x42bfa8],'undoState':_0x48fdd3[_0xba171b(0x12e)][_0xba171b(0x113)],'redoState':_0x12cae3[_0xba171b(0x12e)][_0xba171b(0x113)]}),_0x5bcbd7=_0x48fdd3[_0xba171b(0x247)],_0x2ba3cd=_0x12cae3[_0xba171b(0x247)];}this[_0xba171b(0x127)][_0xba171b(0x12d)](_0x22ecde,{'history':_0x3ed996,'collaboration':_0x1b159b});}};re=nn([Ce(0x0,_0x47930e(_0x3c7764)),Ce(0x1,_0x370876),Ce(0x2,_0x47930e(_0x28214e))],re);var rn=Object[_0x269b37(0x224)],on=(_0x32393c,_0x290cef,_0x58dc6d,_0xfb4542)=>{const _0x30bbdb=_0x269b37;for(var _0x549289=_0xfb4542>0x1?void 0x0:_0xfb4542?rn(_0x290cef,_0x58dc6d):_0x290cef,_0xc8988=_0x32393c[_0x30bbdb(0xce)]-0x1,_0x542037;_0xc8988>=0x0;_0xc8988--)(_0x542037=_0x32393c[_0xc8988])&&(_0x549289=_0x542037(_0x549289)||_0x549289);return _0x549289;},tt=(_0x2b9282,_0x3cc336)=>(_0x4a1506,_0x10691e)=>_0x3cc336(_0x4a1506,_0x10691e,_0x2b9282);let oe=class{constructor(_0x535788,_0x5f1b78){const _0x3fa50f=_0x269b37;this[_0x3fa50f(0x105)]=_0x535788,this[_0x3fa50f(0x136)]=_0x5f1b78;}['transformSelections'](_0x4594eb){const _0x160412=_0x269b37;var _0x585715;const _0x488c8d=this[_0x160412(0x105)][_0x160412(0x14b)](_0x5369ac),_0x277ab3=(_0x585715=_0x488c8d['getDocRanges']())!=null?_0x585715:[];if(_0x277ab3[_0x160412(0xce)]===0x0)return;const _0x261f58=_0x4594eb['unitID'],_0x5ed170=[{'id':_0x160412(0x114),'params':{'unitId':_0x261f58,'actions':null,'textRanges':_0x277ab3}}],_0x597dd3=this[_0x160412(0x136)][_0x160412(0x248)](_0x4594eb,_0x5ed170);if(!_0x4e7f5c(_0x597dd3))throw _0x597dd3[_0x160412(0x1e9)];const _0x2e71ba=_0x597dd3[_0x160412(0x12e)][0x0][_0x160412(0x113)][_0x160412(0x18a)];Array[_0x160412(0x299)](_0x2e71ba)&&_0x2e71ba['length']&&_0x488c8d['replaceDocRanges'](_0x2e71ba,{'unitId':_0x261f58,'subUnitId':_0x261f58},!0x1);}};oe=on([tt(0x0,_0x47930e(_0x3c7764)),tt(0x1,_0x370876)],oe);var an=Object[_0x269b37(0x224)],cn=(_0x53d230,_0x3db663,_0x233278,_0x10ce98)=>{for(var _0x3751e6=_0x10ce98>0x1?void 0x0:_0x10ce98?an(_0x3db663,_0x233278):_0x3db663,_0x46c3eb=_0x53d230['length']-0x1,_0x5d0d2d;_0x46c3eb>=0x0;_0x46c3eb--)(_0x5d0d2d=_0x53d230[_0x46c3eb])&&(_0x3751e6=_0x5d0d2d(_0x3751e6)||_0x3751e6);return _0x3751e6;},U=(_0x535162,_0x24e0db)=>(_0x3b6797,_0x1a5d9c)=>_0x24e0db(_0x3b6797,_0x1a5d9c,_0x535162);let ae=class extends _0x2473c8{constructor(_0x593f21,_0xb0055,_0x5a3377,_0x31e6f4,_0x1b11e9,_0x14f02f,_0x252968,_0x3b3372){const _0x558317=_0x269b37;super(),_(this,'_status$',new _0x46d066(_0x25c542[_0x558317(0x210)])),(this[_0x558317(0x127)]=_0x593f21,this[_0x558317(0x15e)]=_0xb0055,this[_0x558317(0x1f4)]=_0x5a3377,this[_0x558317(0x1e6)]=_0x31e6f4,this['_docTransformSelectionsService']=_0x1b11e9,this[_0x558317(0x281)]=_0x14f02f,this['_messageService']=_0x252968,this[_0x558317(0x10b)]=_0x3b3372,this['_initEntityListener']());}[_0x269b37(0x144)](){const _0x32bcc4=_0x269b37;this[_0x32bcc4(0x288)](this['_collaborationController']['entityInit$']['subscribe'](_0x51e791=>{const _0x16e688=_0x32bcc4,_0x539775=this[_0x16e688(0x127)][_0x16e688(0x216)][_0x16e688(0x11d)](_0x3583e7=>{const _0x3acf9d=_0x16e688;if(_0x3583e7==null)return;const {unitId:_0x5e1395,redoState:_0x53ed73,commandId:_0xee8e9c}=_0x3583e7;if(_0x5e1395!==_0x51e791[_0x3acf9d(0xf8)])return;const _0xfd2701={'id':_0xee8e9c,'type':_0x325dd7[_0x3acf9d(0x241)],'params':{'unitId':_0x5e1395,'actions':_0x53ed73[_0x3acf9d(0x12f)],'textRanges':null}};_0x51e791[_0x3acf9d(0x1b7)](_0xfd2701);});if(_0x51e791['disposeWithMe'](_0x539775),_0x51e791 instanceof _0x526580){const _0xa9f2d7={'onTransformIME':_0x287e81=>this[_0x16e688(0x1f4)][_0x16e688(0x1e0)](_0x287e81),'onTransformState':_0x198752=>this[_0x16e688(0x1e6)]['transformStateCache'](_0x198752),'onTransformSelections':_0x26fc49=>this[_0x16e688(0x151)]['transformSelections'](_0x26fc49),'onSyncEditingCollabCursor':_0x17e757=>this[_0x16e688(0x281)]['syncEditingCollabCursor'](_0x17e757),'onTransformRemoteChangesetByIMECache':_0x3cacd1=>this['_docTransformIMECacheService'][_0x16e688(0x11c)](_0x3cacd1),'onTransformRemoteChangesetByStateCache':_0x471dcf=>this[_0x16e688(0x1e6)][_0x16e688(0x11c)](_0x471dcf)};_0x51e791[_0x16e688(0x196)](_0xa9f2d7);}}));}};ae=cn([U(0x0,_0x47930e(_0x28214e)),U(0x1,_0x47930e(_0x55412b)),U(0x2,_0x47930e(ne)),U(0x3,_0x47930e(re)),U(0x4,_0x47930e(oe)),U(0x5,_0x47930e(He)),U(0x6,_0x331198),U(0x7,_0x47930e(_0x4d65df))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x12148d,_0x35c0be,_0x108083,_0x3ea63a)=>{for(var _0x7df178=_0x3ea63a>0x1?void 0x0:_0x3ea63a?ln(_0x35c0be,_0x108083):_0x35c0be,_0x3bd469=_0x12148d['length']-0x1,_0x58ceb9;_0x3bd469>=0x0;_0x3bd469--)(_0x58ceb9=_0x12148d[_0x3bd469])&&(_0x7df178=_0x58ceb9(_0x7df178)||_0x7df178);return _0x7df178;},Ee=(_0x5b32d9,_0x275a9c)=>(_0x4df23e,_0x18219f)=>_0x275a9c(_0x4df23e,_0x18219f,_0x5b32d9);let we=class extends _0x2473c8{constructor(_0x43778a,_0x2976b2,_0x50cb78){const _0x286e82=_0x269b37;super(),_(this,_0x286e82(0x13c),new Map()),_(this,_0x286e82(0x1e1),new Map()),_(this,_0x286e82(0x1f1),!0x1),(this[_0x286e82(0x25e)]=_0x43778a,this[_0x286e82(0x1b1)]=_0x2976b2,this[_0x286e82(0x19f)]=_0x50cb78);}[_0x269b37(0x15b)](){const _0x3e8017=_0x269b37;this[_0x3e8017(0x1f1)]=!0x0;}['enableLocalCache'](){const _0x5e2913=_0x269b37;this[_0x5e2913(0x1f1)]=!0x1;}get[_0x269b37(0x274)](){return this['_saveTaskMap'];}[_0x269b37(0x14f)](){const _0x4e0036=_0x269b37;this[_0x4e0036(0xd4)]()[_0x4e0036(0x246)](()=>super[_0x4e0036(0x14f)]());}async[_0x269b37(0x292)](_0x4d4ea1){const _0x2bf2dc=_0x269b37;return this[_0x2bf2dc(0x1f1)]?null:this[_0x2bf2dc(0x1b1)][_0x2bf2dc(0x213)](_0x1345cc(_0x4d4ea1));}async[_0x269b37(0x17d)](_0x83dad8,_0x1db6de){return!!this['_localStorageService']['setItem'](_0x83dad8,_0x1db6de);}[_0x269b37(0xdd)](_0x1db4f7,_0x5cd02d,_0x530813,_0x38964b){const _0x31c5e0=_0x269b37,_0x1b5688=this[_0x31c5e0(0x19f)][_0x31c5e0(0x28e)](_0x1db4f7);this[_0x31c5e0(0x13c)][_0x31c5e0(0x156)](_0x1db4f7,{'unitID':_0x1db4f7,'type':_0x5cd02d,'awaitingChangeset':_0x530813,'mutations':_0x38964b,'rev':_0x1b5688}),this[_0x31c5e0(0x1e1)][_0x31c5e0(0x118)](_0x1db4f7)||this[_0x31c5e0(0x110)](_0x1db4f7);}['_scheduleSaving'](_0x59250d){const _0xdd1b47=_0x269b37,_0x39426a=this[_0xdd1b47(0x2a0)]();_0x39426a===0x0?this[_0xdd1b47(0x1a9)](_0x59250d):this['_saveTaskMap'][_0xdd1b47(0x156)](_0x59250d,setTimeout(()=>this[_0xdd1b47(0x1a9)](_0x59250d),_0x39426a));}[_0x269b37(0x2a0)](){const _0x1653cd=_0x269b37;var _0x50ae04;return(_0x50ae04=this[_0x1653cd(0x25e)][_0x1653cd(0x18f)](_0x88ab56))!=null?_0x50ae04:_0x9c53d4;}[_0x269b37(0x1a9)](_0x5b2aa7){const _0x2a2949=_0x269b37,_0x14720f=this[_0x2a2949(0x1e1)][_0x2a2949(0x14b)](_0x5b2aa7);return _0x14720f!==void 0x0&&window[_0x2a2949(0x1e4)](_0x14720f),this[_0x2a2949(0x1b1)]['setItem'](_0x1345cc(_0x5b2aa7),this['_cachedData'][_0x2a2949(0x14b)](_0x5b2aa7))[_0x2a2949(0x246)](()=>this[_0x2a2949(0x1e1)]['delete'](_0x5b2aa7));}async[_0x269b37(0xd4)](){const _0x14acb5=_0x269b37,_0x325c97=[];this[_0x14acb5(0x1e1)]['forEach']((_0x1f6585,_0x465e85)=>{const _0x55b3d9=_0x14acb5;window[_0x55b3d9(0x1e4)](_0x1f6585),_0x325c97[_0x55b3d9(0x172)](this['_saveCache'](_0x465e85)[_0x55b3d9(0x246)](()=>{const _0x389829=_0x55b3d9;this[_0x389829(0x1e1)][_0x389829(0x173)](_0x465e85);}));}),await Promise['all'](_0x325c97);}};we=_n([Ee(0x0,_0x13c636),Ee(0x1,_0x4cd1a8),Ee(0x2,_0x47930e(_0x22599c))],we);class hn extends _0x1eb9f7{constructor(){const _0x3e0881=_0x269b37;super(),_(this,_0x3e0881(0x26e)),this[_0x3e0881(0x26e)]=_0x2b6445(window,_0x3e0881(0x1c7))[_0x3e0881(0x104)](_0x23ec57(this['dispose$']),_0x389b77(0x1),_0x2b1c29(void 0x0));}['setParam'](_0x12bf88,_0x2d23cd,_0x5c1de9=!0x1){const _0x4add94=_0x269b37,_0x5f5d3a=new URL(window[_0x4add94(0x1de)][_0x4add94(0x1d5)]);_0x5f5d3a[_0x4add94(0x293)][_0x4add94(0x156)](_0x12bf88,_0x2d23cd),_0x5c1de9?window[_0x4add94(0x29f)][_0x4add94(0x26a)]('','',_0x5f5d3a['toString']()):window[_0x4add94(0x29f)][_0x4add94(0x174)]('','',_0x5f5d3a[_0x4add94(0x2b4)]());}[_0x269b37(0x225)](_0x155023,_0x38dbcb=!0x1){const _0x310058=_0x269b37,_0x53b100=new URL(window['location'][_0x310058(0x1d5)]);_0x53b100['searchParams']['delete'](_0x155023),_0x38dbcb?window[_0x310058(0x29f)][_0x310058(0x26a)]('','',_0x53b100[_0x310058(0x2b4)]()):window[_0x310058(0x29f)][_0x310058(0x174)]('','',_0x53b100[_0x310058(0x2b4)]());}['getParam'](_0x26daac){const _0x44da23=_0x269b37;var _0x3dc90e;return(_0x3dc90e=new URL(window[_0x44da23(0x1de)][_0x44da23(0x1d5)])[_0x44da23(0x293)][_0x44da23(0x14b)](_0x26daac))!=null?_0x3dc90e:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x445e7a,_0x415590,_0x5c33a9)=>_0x415590 in _0x445e7a?un(_0x445e7a,_0x415590,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c33a9}):_0x445e7a[_0x415590]=_0x5c33a9,Sn=(_0x2d2444,_0x943e63,_0x5292cd,_0x11533f)=>{const _0x344c3d=_0x269b37;for(var _0x110054=_0x11533f>0x1?void 0x0:_0x11533f?dn(_0x943e63,_0x5292cd):_0x943e63,_0x3c6c4e=_0x2d2444[_0x344c3d(0xce)]-0x1,_0x17c758;_0x3c6c4e>=0x0;_0x3c6c4e--)(_0x17c758=_0x2d2444[_0x3c6c4e])&&(_0x110054=_0x17c758(_0x110054)||_0x110054);return _0x110054;},Oe=(_0x4f0002,_0x2a1c87)=>(_0x43a6b1,_0x440524)=>_0x2a1c87(_0x43a6b1,_0x440524,_0x4f0002),mn=(_0x3be864,_0x4242e9,_0x3f65f4)=>fn(_0x3be864,_0x4242e9+'',_0x3f65f4);const gn=_0x269b37(0x160);let Ae=class extends _0x4d1661{constructor(_0x381a07=et,_0x453c5c,_0x311ac2,_0x1f5296){const _0x548f6c=_0x269b37;super(),this[_0x548f6c(0x280)]=_0x381a07,this[_0x548f6c(0x1a0)]=_0x453c5c,this[_0x548f6c(0x105)]=_0x311ac2,this[_0x548f6c(0x25e)]=_0x1f5296;const {..._0x55b802}=_0x4c1acc({},et,this[_0x548f6c(0x280)]);this['_configService']['setConfig'](Zi,_0x55b802);}['onStarting'](){const _0x1a61f4=_0x269b37;this['_registerDependencies'](),this[_0x1a61f4(0x260)]();}[_0x269b37(0x244)](){const _0x279908=_0x269b37;this[_0x279908(0x18d)]();}[_0x269b37(0x198)](){const _0x32a8c3=_0x269b37;var _0x11286c;const _0x3352c9=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x2a69e8,{'useClass':_0x1e3943}],[_0x3fb996,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x491978(this[_0x32a8c3(0x105)],_0x584615(_0x3352c9,(_0x11286c=this[_0x32a8c3(0x280)])==null?void 0x0:_0x11286c[_0x32a8c3(0x1f9)]));}[_0x269b37(0x18d)](){const _0x194b18=_0x269b37;this['disposeWithMe'](this[_0x194b18(0x1a0)][_0x194b18(0x2bc)](_0x5ac07f['UNIVER_DOC'],[Pe])),this[_0x194b18(0x288)](this[_0x194b18(0x1a0)][_0x194b18(0x2bc)](_0x5ac07f[_0x194b18(0x1d1)],[Le]));}['_initDependencies'](){const _0x407264=_0x269b37;_0x364c59(this[_0x407264(0x105)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x3c37d6(_0x47cfbf),Oe(0x1,_0x2de4b6),Oe(0x2,_0x47930e(_0x3c7764)),Oe(0x3,_0x13c636)],Ae);var In=Object['getOwnPropertyDescriptor'],vn=(_0x2f8ed5,_0x5bc94e,_0x4ca7cb,_0x121a65)=>{const _0x21a8c0=_0x269b37;for(var _0x4cfc59=_0x121a65>0x1?void 0x0:_0x121a65?In(_0x5bc94e,_0x4ca7cb):_0x5bc94e,_0x16e9f4=_0x2f8ed5[_0x21a8c0(0xce)]-0x1,_0x2cea92;_0x16e9f4>=0x0;_0x16e9f4--)(_0x2cea92=_0x2f8ed5[_0x16e9f4])&&(_0x4cfc59=_0x2cea92(_0x4cfc59)||_0x4cfc59);return _0x4cfc59;},K=(_0x22a3fa,_0x32a25c)=>(_0x2ba2c5,_0x53092f)=>_0x32a25c(_0x2ba2c5,_0x53092f,_0x22a3fa);let st=class extends _0x65cd87{constructor(_0x371c53,_0x5801f2,_0x23627c,_0x3dcafc,_0x46bdc6){super(_0x371c53,_0x5801f2,_0x23627c,_0x3dcafc,_0x46bdc6);}async[_0x269b37(0x11e)](_0x4944ef){const _0xbfc152=_0x269b37,_0x2061ee=await this[_0xbfc152(0x142)](),_0x3f2760=this[_0xbfc152(0x2b3)](_0x4944ef,_0x2061ee);return this[_0xbfc152(0xe8)](_0x3f2760);}['_createSocketURL'](_0x1b527b,_0x44d28a){const _0x4855e1=_0x269b37,_0x21f062=typeof window>'u'?new URL(_0x1b527b):new URL(_0x1b527b,window[_0x4855e1(0x1de)][_0x4855e1(0x282)]);_0x21f062['searchParams'][_0x4855e1(0x156)](_0x4855e1(0x1f7),_0x44d28a);const _0x5f1914=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4855e1(0x1de)][_0x4855e1(0x2aa)]);return _0x5f1914['get'](_0x4855e1(0x13d))&&_0x21f062[_0x4855e1(0x293)][_0x4855e1(0x156)](_0x4855e1(0x13d),_0x5f1914['get'](_0x4855e1(0x13d))),_0x21f062[_0x4855e1(0x2b4)]();}async[_0x269b37(0x142)](){const _0x5d711d=_0x269b37;var _0x2edfc2,_0x2841fd,_0x1dc435;const _0x93fbfb=this[_0x5d711d(0x25e)][_0x5d711d(0x18f)](_0x5ee817),_0x969ca4=(_0x2edfc2=_0x93fbfb==null?void 0x0:_0x93fbfb[_0x5d711d(0x28f)])!=null?_0x2edfc2:_0x4730eb;return(_0x1dc435=(_0x2841fd=(await this[_0x5d711d(0xc1)][_0x5d711d(0x14b)](_0x969ca4,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x2841fd[_0x5d711d(0x2a1)])!=null?_0x1dc435:'';}};st=vn([K(0x0,_0x47930e(_0x3c7764)),K(0x1,_0x47930e(_0xde2c17)),K(0x2,_0x13c636),K(0x3,_0x325a2a),K(0x4,_0xa8e3cf)],st);const it=0x7530,nt=_0x269b37(0x2a3);class jn extends _0x2473c8{constructor(){const _0x3fc982=_0x269b37;super(),_(this,'_id',_0x14162c()),_(this,_0x3fc982(0x18e),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x3fc982(0x21a),null),_(this,_0x3fc982(0x1e7),new Map()),_(this,'_unitStatus',new Map()),this[_0x3fc982(0x1b0)]();}[_0x269b37(0x14f)](){const _0x326910=_0x269b37;super[_0x326910(0x14f)](),this['_clearOtherTimers'][_0x326910(0xee)]((_0x4e27e7,_0x320fd8)=>this[_0x326910(0x287)](_0x320fd8)),this[_0x326910(0x21a)]&&window[_0x326910(0x20b)](this[_0x326910(0x21a)]);}['getUnitStatus$'](_0x1573ee){const _0x2121c3=_0x269b37;return this['_ensureSubject'](_0x1573ee)[_0x2121c3(0x104)](_0x57c297());}[_0x269b37(0x233)](_0x5948a1){const _0x4fe108=_0x269b37;this[_0x4fe108(0x18e)]['size']===0x0&&this[_0x4fe108(0xfd)](),this['_selfUnitIDs'][_0x4fe108(0x12a)](_0x5948a1),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5948a1],'isForwarded':!0x1});}[_0x269b37(0x1cd)](_0x337855){const _0x44e074=_0x269b37;this[_0x44e074(0x18e)][_0x44e074(0x173)](_0x337855),this[_0x44e074(0x18e)]['size']===0x0&&this[_0x44e074(0x21a)]&&window[_0x44e074(0x20b)](this[_0x44e074(0x21a)]);}[_0x269b37(0x1b0)](){const _0x586de3=_0x269b37;this[_0x586de3(0x288)](_0x4a4954(_0x2b6445(window,_0x586de3(0xfb))[_0x586de3(0x11d)](_0x4d347f=>{const _0x474d9a=_0x586de3;if(_0x4d347f[_0x474d9a(0x187)]!==nt||!_0x4d347f[_0x474d9a(0xc9)])return;const _0x2a9afa=JSON[_0x474d9a(0xfe)](_0x4d347f['newValue']);this[_0x474d9a(0xe7)](_0x2a9afa);}))),window[_0x586de3(0x21b)]('unload',()=>this[_0x586de3(0x23f)]({'type':0x1,'memberID':this[_0x586de3(0x134)],'unitIDs':Array[_0x586de3(0xe3)](this[_0x586de3(0x18e)])}));}[_0x269b37(0xe7)](_0x115c6c){const _0x43e3e5=_0x269b37;switch(_0x115c6c[_0x43e3e5(0x29d)]){case 0x0:this[_0x43e3e5(0xba)](_0x115c6c);break;case 0x1:this['_handleLeaveEvent'](_0x115c6c);break;case 0x2:this[_0x43e3e5(0x21e)](_0x115c6c);break;}}[_0x269b37(0xba)](_0x4d3443){const _0x316007=_0x269b37,{unitIDs:_0x18c479,memberID:_0x53dc0e,isForwarded:_0x584781}=_0x4d3443;_0x18c479[_0x316007(0xee)](_0x265a6a=>{const _0x182133=_0x316007;if(!_0x584781&&this['_unitOnClients']['has'](_0x265a6a)&&this[_0x182133(0x2bd)](_0x265a6a)[_0x182133(0xbb)](_0x856498['OTHER_CLIENTS_EDITING']),!this[_0x182133(0x165)]['has'](_0x265a6a)||!this[_0x182133(0x165)][_0x182133(0x14b)](_0x265a6a)[_0x182133(0x118)](_0x53dc0e)){const _0x1104b0=this['_unitOnClients'][_0x182133(0x14b)](_0x265a6a)||new Set();_0x1104b0[_0x182133(0x12a)](_0x53dc0e),this[_0x182133(0x165)][_0x182133(0x156)](_0x265a6a,_0x1104b0),this[_0x182133(0x242)](_0x53dc0e);}}),_0x584781||this[_0x316007(0x23f)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x316007(0x18e)]],'isForwarded':!0x0});}[_0x269b37(0x242)](_0xa4170a){const _0x31d935=_0x269b37;this[_0x31d935(0x287)](_0xa4170a);const _0x426efa=window[_0x31d935(0x256)](()=>{const _0x23a66f=_0x31d935;this['_unitOnClients'][_0x23a66f(0xee)](_0x3416b8=>{_0x3416b8['delete'](_0xa4170a);});},it*0x2);this[_0x31d935(0x1e7)]['set'](_0xa4170a,_0x426efa);}[_0x269b37(0x287)](_0x3a931b){const _0x53eddb=_0x269b37;if(this[_0x53eddb(0x1e7)][_0x53eddb(0x118)](_0x3a931b)){const _0x397f28=this[_0x53eddb(0x1e7)][_0x53eddb(0x14b)](_0x3a931b);_0x397f28&&window[_0x53eddb(0x1e4)](_0x397f28),this['_clearOtherTimers']['set'](_0x3a931b,null);}}[_0x269b37(0x159)](_0x112f86){const {memberID:_0x300627,unitIDs:_0x63041}=_0x112f86;_0x63041['forEach'](_0x30fda6=>{const _0x7a8978=_0x542b;var _0x100c70;const _0x539e10=this[_0x7a8978(0x165)][_0x7a8978(0x14b)](_0x30fda6);_0x539e10&&(_0x539e10[_0x7a8978(0x173)](_0x300627),(_0x100c70=this[_0x7a8978(0x2bd)](_0x30fda6))==null||_0x100c70['next'](_0x539e10[_0x7a8978(0x1e2)]===0x0?_0x856498[_0x7a8978(0x150)]:_0x856498[_0x7a8978(0x15a)]));}),this['_removeClearOtherTimer'](_0x300627);}[_0x269b37(0x21e)](_0x487008){const _0x5d9bb4=_0x269b37;this[_0x5d9bb4(0x242)](_0x487008[_0x5d9bb4(0x21d)]);}['_send'](_0xd455f){const _0x57b3e8=_0x269b37;localStorage[_0x57b3e8(0x289)](nt,JSON[_0x57b3e8(0x19b)](_0xd455f));}[_0x269b37(0xfd)](){const _0x51bbae=_0x269b37;this[_0x51bbae(0x21a)]=window[_0x51bbae(0x276)](()=>{const _0x183b61=_0x51bbae;this[_0x183b61(0x23f)]({'type':0x2,'memberID':this[_0x183b61(0x134)]});},it);}[_0x269b37(0x2bd)](_0x3acd6a){const _0x2ba3fd=_0x269b37;return this[_0x2ba3fd(0x154)]['has'](_0x3acd6a)||this[_0x2ba3fd(0x154)][_0x2ba3fd(0x156)](_0x3acd6a,new _0x46d066(_0x856498[_0x2ba3fd(0x150)])),this[_0x2ba3fd(0x154)][_0x2ba3fd(0x14b)](_0x3acd6a);}}var Mt=(_0x2db57d=>(_0x2db57d[_0x2db57d[_0x269b37(0x123)]=0x0]=_0x269b37(0x123),_0x2db57d[_0x2db57d['OK']=0x1]='OK',_0x2db57d[_0x2db57d[_0x269b37(0x2af)]=0x2]='INTERNAL_ERROR',_0x2db57d[_0x2db57d[_0x269b37(0x197)]=0x3]=_0x269b37(0x197),_0x2db57d[_0x2db57d['NOT_FOUND']=0x4]=_0x269b37(0xd6),_0x2db57d[_0x2db57d[_0x269b37(0x1c3)]=0x5]='UNAUTHENTICATED',_0x2db57d[_0x2db57d[_0x269b37(0x1bc)]=0x6]=_0x269b37(0x1bc),_0x2db57d[_0x2db57d['INVALID_ARGUMENT']=0x7]=_0x269b37(0x258),_0x2db57d[_0x2db57d['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2db57d[_0x2db57d[_0x269b37(0x254)]=0x9]=_0x269b37(0x254),_0x2db57d[_0x2db57d['LOGIN_FAILED']=0xa]=_0x269b37(0xc5),_0x2db57d[_0x2db57d[_0x269b37(0x1c2)]=0x1389]=_0x269b37(0x1c2),_0x2db57d[_0x2db57d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x269b37(0x141),_0x2db57d[_0x2db57d[_0x269b37(0xf9)]=0x1772]=_0x269b37(0xf9),_0x2db57d[_0x2db57d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x269b37(0x1e5),_0x2db57d[_0x2db57d[_0x269b37(0x26f)]=0x1b59]=_0x269b37(0x26f),_0x2db57d[_0x2db57d[_0x269b37(0x126)]=0x1b5a]=_0x269b37(0x126),_0x2db57d[_0x2db57d['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x269b37(0x205),_0x2db57d[_0x2db57d[_0x269b37(0x19d)]=0x1b5c]=_0x269b37(0x19d),_0x2db57d[_0x2db57d[_0x269b37(0xd9)]=0x1b5d]=_0x269b37(0xd9),_0x2db57d[_0x2db57d[_0x269b37(0x175)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2db57d[_0x2db57d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2db57d[_0x2db57d[_0x269b37(0xdc)]=0x232a]=_0x269b37(0xdc),_0x2db57d[_0x2db57d['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x269b37(0xf0),_0x2db57d[_0x2db57d[_0x269b37(0x1bd)]=0x232c]=_0x269b37(0x1bd),_0x2db57d[_0x2db57d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x269b37(0xda),_0x2db57d[_0x2db57d[_0x269b37(0x29e)]=0x2711]=_0x269b37(0x29e),_0x2db57d[_0x2db57d[_0x269b37(0x226)]=0x2712]=_0x269b37(0x226),_0x2db57d[_0x2db57d[_0x269b37(0x169)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2db57d[_0x2db57d[_0x269b37(0x26d)]=0x2714]=_0x269b37(0x26d),_0x2db57d[_0x2db57d[_0x269b37(0x228)]=0x271a]=_0x269b37(0x228),_0x2db57d[_0x2db57d[_0x269b37(0x2b5)]=0x271b]=_0x269b37(0x2b5),_0x2db57d[_0x2db57d[_0x269b37(0x112)]=0x271c]=_0x269b37(0x112),_0x2db57d[_0x2db57d[_0x269b37(0x207)]=0x271d]=_0x269b37(0x207),_0x2db57d[_0x2db57d['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x269b37(0x20a),_0x2db57d[_0x2db57d[_0x269b37(0x1e8)]=0x271f]=_0x269b37(0x1e8),_0x2db57d[_0x2db57d[_0x269b37(0x1da)]=0x2af9]=_0x269b37(0x1da),_0x2db57d[_0x2db57d[_0x269b37(0x161)]=0x2ee1]=_0x269b37(0x161),_0x2db57d[_0x2db57d[_0x269b37(0x168)]=0x2ee2]=_0x269b37(0x168),_0x2db57d[_0x2db57d[_0x269b37(0x14d)]=0x2ee3]=_0x269b37(0x14d),_0x2db57d[_0x2db57d[_0x269b37(0x12c)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2db57d[_0x2db57d[_0x269b37(0x193)]=0x2ee5]=_0x269b37(0x193),_0x2db57d[_0x2db57d[_0x269b37(0xd1)]=0x32c9]=_0x269b37(0xd1),_0x2db57d[_0x2db57d[_0x269b37(0xc3)]=0x32ca]=_0x269b37(0xc3),_0x2db57d[_0x2db57d['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2db57d[_0x2db57d[_0x269b37(0x1d3)]=-0x1]=_0x269b37(0x1d3),_0x2db57d))(Mt||{}),pn=Object[_0x269b37(0x224)],Cn=(_0x120d87,_0x46972b,_0x264775,_0xe0a15d)=>{const _0x56cd04=_0x269b37;for(var _0x4113d4=_0xe0a15d>0x1?void 0x0:_0xe0a15d?pn(_0x46972b,_0x264775):_0x46972b,_0x1bdc97=_0x120d87[_0x56cd04(0xce)]-0x1,_0x539b97;_0x1bdc97>=0x0;_0x1bdc97--)(_0x539b97=_0x120d87[_0x1bdc97])&&(_0x4113d4=_0x539b97(_0x4113d4)||_0x4113d4);return _0x4113d4;},be=(_0x2b31f5,_0x91b158)=>(_0x23ea4a,_0x2067c5)=>_0x91b158(_0x23ea4a,_0x2067c5,_0x2b31f5);let rt=class extends _0x2473c8{constructor(_0x11b95e,_0x47ca9e,_0x445bb0){const _0x42ffeb=_0x269b37;super(),this[_0x42ffeb(0x1ac)]=_0x11b95e,this[_0x42ffeb(0xc1)]=_0x47ca9e,this['_configService']=_0x445bb0;}async['runOnServer'](_0x1507b2,_0x386cfc,_0x530ef2,..._0x5bced0){const _0x26da7f=_0x269b37;var _0x3606f5,_0x383739,_0x8ef4b9,_0x295ca0;const _0x2426b0=this['_instanceService']['getFocusedUnit']();if(!_0x2426b0)throw new Error(_0x26da7f(0x266));const _0x3c6ea8=((_0x3606f5=this[_0x26da7f(0x25e)][_0x26da7f(0x18f)](_0xae1bff))!=null?_0x3606f5:_0x2fa97f)+'/'+_0x1507b2+_0x26da7f(0x17c)+_0x386cfc,_0x557427=new URL(window['location'][_0x26da7f(0x1d5)]),_0x49977b={'scriptId':_0x1507b2,'runId':(_0x383739=_0x557427[_0x26da7f(0x293)][_0x26da7f(0x14b)]('runId'))!=null?_0x383739:'','function':_0x386cfc,'unitId':_0x2426b0[_0x26da7f(0x25c)](),'argsOfFunction':JSON[_0x26da7f(0x19b)](_0x5bced0),'invokeId':(_0x8ef4b9=_0x530ef2[_0x26da7f(0x20d)])!=null?_0x8ef4b9:'','executionId':(_0x295ca0=_0x530ef2[_0x26da7f(0x163)])!=null?_0x295ca0:''};try{const _0x5dd809=await this['_httpService'][_0x26da7f(0x267)](_0x3c6ea8,{'body':_0x49977b});return _0x5dd809['body'][_0x26da7f(0x1e9)]&&_0x5dd809['body'][_0x26da7f(0x1e9)][_0x26da7f(0x143)]!==Mt['OK']?_0x26da7f(0x11f):_0x5dd809[_0x26da7f(0x1cb)][_0x26da7f(0x27f)];}catch{return _0x26da7f(0x11f);}}};rt=Cn([be(0x0,_0x214b26),be(0x1,_0x47930e(_0xde2c17)),be(0x2,_0x13c636)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x957043=_0x2011;(function(_0x4302d4,_0x1f351c){const _0x757fe5=_0x2011,_0x198864=_0x4302d4();while(!![]){try{const _0x51f9e7=parseInt(_0x757fe5(0x2de))/0x1+-parseInt(_0x757fe5(0x2db))/0x2+parseInt(_0x757fe5(0x396))/0x3*(-parseInt(_0x757fe5(0x2b6))/0x4)+-parseInt(_0x757fe5(0x290))/0x5*(parseInt(_0x757fe5(0x3ac))/0x6)+-parseInt(_0x757fe5(0x258))/0x7+parseInt(_0x757fe5(0x3eb))/0x8+-parseInt(_0x757fe5(0x35d))/0x9*(-parseInt(_0x757fe5(0x315))/0xa);if(_0x51f9e7===_0x1f351c)break;else _0x198864['push'](_0x198864['shift']());}catch(_0x5c0951){_0x198864['push'](_0x198864['shift']());}}}(_0x16b5,0xadce5));var $t=Object['defineProperty'],xt=(_0x309353,_0x116098,_0x2d35ef)=>_0x116098 in _0x309353?$t(_0x309353,_0x116098,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d35ef}):_0x309353[_0x116098]=_0x2d35ef,_=(_0xc96716,_0x18bdb1,_0x4d9eb8)=>xt(_0xc96716,typeof _0x18bdb1!=_0x957043(0x281)?_0x18bdb1+'':_0x18bdb1,_0x4d9eb8);import{MemberService as _0xea46d,SessionStatus as _0x150b64,CollaborationSessionService as _0x339ffc,CollaborationStatus as _0x381834,CollaborationController as _0xb4f4a1,ILocalCacheService as _0x5a319b,CollaborationUIEventService as _0x53f425,CollaborationUIEventId as _0x55ae13,DataLoaderService as _0x1fab07,DocCollaborationEntity as _0x15a596,getLocalCacheKey as _0x40f1fa,LOCAL_CACHE_INTERVAL as _0x21a9c4,LOCAL_CACHE_INTERVAL_KEY as _0x401078,UniverCollaborationClientPlugin as _0x2b25da,CollaborationSocketService as _0x103486,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x54b645,DEFAULT_WS_SESSION_TICKET_URL as _0x2c21f0,UnitStatus as _0x569233,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1fe298,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4155e4}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x22c522,Disposable as _0x4a6261,DOC_RANGE_TYPE as _0x586938,Inject as _0x79b2b4,Injector as _0x2f259a,IUniverInstanceService as _0x16f134,ICommandService as _0x46c5a2,debounce as _0x4eca6e,Rectangle as _0x5ea943,DisposableCollection as _0x147e2e,toDisposable as _0x197fb6,UniverInstanceType as _0x11e791,Tools as _0x5b06e2,COLORS as _0x764413,ColorKit as _0x288e7f,ThemeService as _0x490aa5,fromEventSubject as _0x4bc1b9,LocaleService as _0x1476d7,createIdentifier as _0xe327bc,ILogService as _0x2e1383,Optional as _0x21772a,Workbook as _0x479841,CommandType as _0x474b7f,IConfigService as _0x1240a8,ILocalStorageService as _0x39a058,DependentOn as _0x44505e,Plugin as _0x2dcb54,merge as _0x2ae923,registerDependencies as _0x2c55ae,mergeOverrideWithDependencies as _0x31859f,touchDependencies as _0x2c36fb,generateRandomId as _0x1e3df9}from'@univerjs/core';import{Shape as _0x3f4c5b,Rect as _0x575d1c,getColor as _0x265cf8,RegularPolygon as _0x5f87e4,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x470dff,Vector2 as _0x3d4a5f,SHEET_VIEWPORT_KEY as _0x433b49,IRenderManagerService as _0x47cbf5}from'@univerjs/engine-render';import{ISocketService as _0x31e56d,WebSocketService as _0x341ba9,HTTPService as _0x34a3dc}from'@univerjs/network';import{IDocClipboardService as _0x4aba0e,NodePositionConvertToCursor as _0x251cc6,NodePositionConvertToRectRange as _0x1e4ae6,TEXT_RANGE_LAYER_INDEX as _0x763413,SetDocZoomRatioOperation as _0x4e6e95,DocIMEInputManagerService as _0x598aad,DocStateChangeManagerService as _0x31daa2}from'@univerjs/docs-ui';import{IImageIoService as _0x541391}from'@univerjs/drawing';import{BehaviorSubject as _0x3dfdee,debounceTime as _0x281a31,takeUntil as _0x35dd28,Subject as _0x13de5d,filter as _0x4a9b42,switchMap as _0xf18957,merge as _0x9ffdbb,combineLatest as _0x4d89dc,of as _0x21ae2d,fromEvent as _0x378028,shareReplay as _0x203da3,mapTo as _0x60024,distinctUntilChanged as _0xb813e9}from'rxjs';import{SetTextSelectionsOperation as _0x347694,RichTextEditingMutation as _0x366ac1,DocSelectionManagerService as _0x50dd36,DocSkeletonManagerService as _0x597889}from'@univerjs/docs';import{ITransformService as _0x417ff5,CollaborationEvent as _0x12fdfb,isTransformMutationFailure as _0x7a4ffe,isTransformMutationsWithChangesetSuccess as _0x55936b,RevisionService as _0x1c0e24,ISnapshotServerService as _0x63c1ef}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x85074c,serializeRangeWithSheet as _0x5c2e23}from'@univerjs/engine-formula';import{RefRangeService as _0x1c6920,SetSelectionsOperation as _0x447f0a,SheetsSelectionsService as _0x41581f,EffectRefRangId as _0x50d145,handleIRemoveRow as _0x121d11,handleIRemoveCol as _0x2f0cba,handleMoveRange as _0x403cb9,handleInsertRow as _0x4c7aa9,handleInsertRangeMoveRight as _0x4b6594,handleInsertRangeMoveDown as _0x5a1112,handleInsertCol as _0x381ae7,handleDeleteRangeMoveUp as _0x9f5998,handleDeleteRangeMoveLeft as _0x23bded,runRefRangeMutations as _0x2b7fe4,SetWorksheetActivateCommand as _0x110d33}from'@univerjs/sheets';import{map as _0x4a76e2,filter as _0x75e491,throttleTime as _0x7aa9fb,takeUntil as _0x490efa,switchMap as _0x2403d7}from'rxjs/operators';import{SheetSkeletonManagerService as _0x141869,getCoordByCell as _0xe7b806,getSheetObject as _0x506945}from'@univerjs/sheets-ui';import{jsx as _0x35b522,jsxs as _0x34beb4}from'react/jsx-runtime';import{useObservable as _0xf8189f,useDependency as _0x2f5b7c,IUIPartsService as _0x386d61,BuiltInUIPart as _0x313ed3,connectInjector as _0x171d4c,IBeforeCloseService as _0x9a44af,IMessageService as _0x4db31f,INotificationService as _0xec7202}from'@univerjs/ui';import{Tooltip as _0x43bb58,clsx as _0x2074e2,MessageType as _0x4af6a0}from'@univerjs/design';import{forwardRef as _0x30f0d5,useRef as _0x1a3d09,createElement as _0x240f9b,useCallback as _0xcd9872}from'react';import{IRemoteInstanceService as _0x3a4cf1}from'@univerjs/rpc';var ci=Object[_0x957043(0x3e8)],li=(_0x4097dc,_0x557d20,_0x5c8f4d,_0x17b3d9)=>{const _0x54e0bf=_0x957043;for(var _0x2ab9f1=_0x17b3d9>0x1?void 0x0:_0x17b3d9?ci(_0x557d20,_0x5c8f4d):_0x557d20,_0x29c676=_0x4097dc[_0x54e0bf(0x3d8)]-0x1,_0x171ebb;_0x29c676>=0x0;_0x29c676--)(_0x171ebb=_0x4097dc[_0x29c676])&&(_0x2ab9f1=_0x171ebb(_0x2ab9f1)||_0x2ab9f1);return _0x2ab9f1;},Je=(_0x30edd1,_0x418050)=>(_0x57dea1,_0x26f3f2)=>_0x418050(_0x57dea1,_0x26f3f2,_0x30edd1);let Ne=class extends _0x22c522{constructor(_0x3ceb16,_0x565e51){const _0xb0eec5=_0x957043;super(),this[_0xb0eec5(0x1f3)]=_0x3ceb16,this[_0xb0eec5(0x3d4)]=_0x565e51,this[_0xb0eec5(0x3b9)]();}[_0x957043(0x3b9)](){const _0x55034d=_0x957043,_0x5289ed=this;this['disposeWithMe'](this['_docClipboardService'][_0x55034d(0x2ce)]({'onBeforePasteImage':async _0x419d94=>{const _0x56559b=_0x55034d,_0x2d84d7=await _0x5289ed[_0x56559b(0x3d4)][_0x56559b(0x2c6)](_0x419d94);return _0x2d84d7?{'source':_0x2d84d7[_0x56559b(0x238)],'imageSourceType':_0x2d84d7[_0x56559b(0x399)]}:null;}}));}};Ne=li([Je(0x0,_0x4aba0e),Je(0x1,_0x541391)],Ne);const Ze=[_0x957043(0x2df),_0x957043(0x2f3),_0x957043(0x272),_0x957043(0x27c),'blue.400',_0x957043(0x33b)];class ke extends _0x4a6261{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x2267cc){const _0x45a283=_0x957043;if(this[_0x45a283(0x294)]['has'](_0x2267cc))return this['_assignedColors'][_0x45a283(0x379)](_0x2267cc);const _0x302c2d=Ze[this['_colorIndex']];return this[_0x45a283(0x268)]=(this[_0x45a283(0x268)]+0x1)%Ze[_0x45a283(0x3d8)],this[_0x45a283(0x294)][_0x45a283(0x332)](_0x2267cc,_0x302c2d),_0x302c2d;}}function Tt(_0x390e72){const _0x52e77b=_0x957043;let _0x59de65='';for(const _0x38b56e of _0x390e72){const {startOffset:_0x456bfe,endOffset:_0x17c567,isActive:_0x177f5c,rangeType:_0xa30ed6,segmentId:_0x562ee4,segmentPage:_0x1be44f}=_0x38b56e;_0x59de65[_0x52e77b(0x3d8)]&&(_0x59de65+=','),_0x59de65+=_0x456bfe+':'+_0x17c567+':'+(_0x177f5c?'1':'0')+':'+_0xa30ed6+':'+_0x562ee4+':'+_0x1be44f;}return _0x59de65;}function _i(_0x44f6c2){const _0x42b102=_0x957043,_0xc78d08=_0x44f6c2[_0x42b102(0x3e3)](','),_0x32265f=[];for(const _0x372b64 of _0xc78d08){const [_0x4b86f7,_0x51ac06,_0x38535a,_0x582178,_0x4caf7f,_0x4719a6]=_0x372b64[_0x42b102(0x3e3)](':');_0x32265f[_0x42b102(0x3c4)]({'startOffset':Number(_0x4b86f7),'endOffset':Number(_0x51ac06),'collapsed':_0x4b86f7===_0x51ac06,'isActive':_0x38535a==='1','rangeType':_0x582178===_0x586938['TEXT']?_0x586938['TEXT']:_0x586938[_0x42b102(0x382)],'segmentId':typeof _0x4caf7f=='string'?String(_0x4caf7f):'','segmentPage':Number(_0x4719a6!=null?_0x4719a6:-0x1)});}return _0x32265f[_0x42b102(0x214)](_0xf31437=>_0xf31437[_0x42b102(0x20f)])||(_0x32265f[0x0][_0x42b102(0x20f)]=!0x0),_0x32265f;}class He extends _0x22c522{constructor(){const _0x550d63=_0x957043;super(...arguments),_(this,_0x550d63(0x2da),new _0x3dfdee(null)),_(this,_0x550d63(0x31b),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x10881e){const _0x145f3f=_0x957043,{unitID:_0x132b83,memberID:_0x2b2814,textRanges:_0x3a5a3a}=_0x10881e,_0x25763c=Tt(_0x3a5a3a);if(_0x25763c==='')return;const _0x3f9516={'unitID':_0x132b83,'memberID':_0x2b2814,'selection':_0x25763c};this[_0x145f3f(0x2da)]['next'](_0x3f9516);}}var hi=Object[_0x957043(0x3e8)],ui=(_0x2d871e,_0x296cc0,_0x18c859,_0x14da94)=>{const _0x574834=_0x957043;for(var _0x5ab6ca=_0x14da94>0x1?void 0x0:_0x14da94?hi(_0x296cc0,_0x18c859):_0x296cc0,_0x49c667=_0x2d871e[_0x574834(0x3d8)]-0x1,_0x418d95;_0x49c667>=0x0;_0x49c667--)(_0x418d95=_0x2d871e[_0x49c667])&&(_0x5ab6ca=_0x418d95(_0x5ab6ca)||_0x5ab6ca);return _0x5ab6ca;},P=(_0x10983f,_0x43abe5)=>(_0x572902,_0x147834)=>_0x43abe5(_0x572902,_0x147834,_0x10983f);const di=0x12c,fi=0x64;let Ue=class extends _0x22c522{constructor(_0x4287f8,_0x52de1f,_0x575fc5,_0x1cc746,_0x32e8b7,_0x26915e,_0x3d2843,_0x16128f,_0x1bdbbe){const _0x455012=_0x957043;super(),_(this,_0x455012(0x334),!0x1),_(this,_0x455012(0x3b9),!0x1),_(this,_0x455012(0x2e8),new _0x3dfdee(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x455012(0x3b2)]()),_(this,_0x455012(0x39b),new _0x3dfdee([])),_(this,_0x455012(0x21f),this['_roomMembers$'][_0x455012(0x260)](_0x281a31(di))),_(this,'_updateLocalCursor',_0x4eca6e(_0x22fda0=>{const _0x2403c5=_0x455012,_0x3f994c={'eventID':_0x12fdfb[_0x2403c5(0x241)],'data':{'unitID':this[_0x2403c5(0x215)],'memberID':this[_0x2403c5(0x366)][_0x2403c5(0x227)](),'selection':Tt(_0x22fda0)}};this[_0x2403c5(0x366)][_0x2403c5(0x3b7)](_0x3f994c,this[_0x2403c5(0x215)]);},fi)),(this[_0x455012(0x215)]=_0x4287f8,this[_0x455012(0x366)]=_0x52de1f,this['_injector']=_0x575fc5,this[_0x455012(0x35b)]=_0x1cc746,this[_0x455012(0x31c)]=_0x32e8b7,this['_syncEditingCollabCursorService']=_0x26915e,this[_0x455012(0x30f)]=_0x3d2843,this[_0x455012(0x1f1)]=_0x16128f,this['_commandService']=_0x1bdbbe);}get[_0x957043(0x348)](){const _0x9fe96f=_0x957043;return this['_cursorInfo$'][_0x9fe96f(0x2e2)]();}get['roomMembers'](){const _0xf5f722=_0x957043;return this[_0xf5f722(0x39b)][_0xf5f722(0x2e2)]();}[_0x957043(0x3aa)](){const _0x7008bd=_0x957043;super[_0x7008bd(0x3aa)](),this[_0x7008bd(0x2e8)][_0x7008bd(0x3c9)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x7008bd(0x3c9)]([]),this['_roomMembers$'][_0x7008bd(0x360)]();}[_0x957043(0x20a)](){const _0x448199=_0x957043;this['_init']||(this[_0x448199(0x3b9)]=!0x0,this[_0x448199(0x366)][_0x448199(0x36a)][_0x448199(0x260)](_0x35dd28(this[_0x448199(0x2cb)]))[_0x448199(0x3a6)](_0x139a34=>{const _0x570815=_0x448199;_0x139a34===_0x150b64['ONLINE']?this[_0x570815(0x377)]():this['_toggleOffline']();}),this[_0x448199(0x366)][_0x448199(0x202)][_0x448199(0x260)](_0x35dd28(this['dispose$']))[_0x448199(0x3a6)](_0x24f901=>{const _0x35a3a3=_0x448199,_0x23b1c1=_0x24f901[_0x35a3a3(0x2c1)];_0x23b1c1===_0x12fdfb[_0x35a3a3(0x241)]&&this[_0x35a3a3(0x288)](_0x24f901),_0x23b1c1===_0x12fdfb['USERS_LEAVE']&&this[_0x35a3a3(0x24f)](_0x24f901);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x2be5e9=>{const _0x36cafc=_0x448199,_0x623ee0=_0x2be5e9[_0x36cafc(0x385)];_0x623ee0!=null&&this[_0x36cafc(0x334)]&&_0x2be5e9['id']===_0x347694['id']&&_0x623ee0['unitId']===this[_0x36cafc(0x215)]&&_0x623ee0['isEditing']===!0x1&&_0x623ee0[_0x36cafc(0x3a9)][_0x36cafc(0x3d8)]>0x0&&this[_0x36cafc(0x2b2)](_0x623ee0['ranges']);})),this[_0x448199(0x3a4)][_0x448199(0x31b)]['pipe'](_0x35dd28(this[_0x448199(0x2cb)]))[_0x448199(0x3a6)](_0x1b0ec7=>{const _0x2ce2c2=_0x448199;if((_0x1b0ec7==null?void 0x0:_0x1b0ec7['unitID'])!==this[_0x2ce2c2(0x215)])return;const _0x2199ad={'eventID':_0x12fdfb[_0x2ce2c2(0x241)],'data':_0x1b0ec7};this[_0x2ce2c2(0x288)](_0x2199ad);}),this['disposeWithMe'](this[_0x448199(0x2c2)][_0x448199(0x205)](_0x574a1f=>{const _0x104aba=_0x448199;if(_0x574a1f[_0x104aba(0x385)]==null)return;const _0x484361=_0x574a1f['params'];if(_0x574a1f['id']!==_0x366ac1['id']||_0x484361[_0x104aba(0x30d)]!==this['unitID'])return;const _0x2f7d5e={'id':_0x104aba(0x254),'params':_0x484361},_0x12c10b=this[_0x104aba(0x348)];for(const [_0x42bc0c,_0x14c691]of _0x12c10b){const _0x17a27b={'id':_0x104aba(0x254),'params':{'unitId':this[_0x104aba(0x215)],'actions':null,'textRanges':_0x14c691[_0x104aba(0x3a9)]}},_0xa0cafa=this[_0x104aba(0x30f)][_0x104aba(0x356)](_0x2f7d5e,_0x17a27b,!0x1);if(_0x7a4ffe(_0xa0cafa))throw _0xa0cafa['error'];_0x12c10b['set'](_0x42bc0c,{..._0x14c691,'ranges':_0xa0cafa['m2Prime'][_0x104aba(0x385)]['textRanges']});}queueMicrotask(()=>{const _0x40dd54=_0x104aba;this[_0x40dd54(0x2e8)]['next'](_0x12c10b);});})));}[_0x957043(0x288)](_0xde24f4){const _0x4050a3=_0x957043;var _0x3aa211,_0x11ffd2;const {memberID:_0x24bdb,selection:_0x54bba7}=_0xde24f4['data'],_0x3d6e0d=_i(_0x54bba7),_0x51ab09=(_0x11ffd2=(_0x3aa211=this[_0x4050a3(0x31c)][_0x4050a3(0x2e4)](this[_0x4050a3(0x215)],_0x24bdb))==null?void 0x0:_0x3aa211[_0x4050a3(0x306)])!=null?_0x11ffd2:'Unknown\x20user',_0x362fd3={'color':this[_0x4050a3(0x35b)][_0x4050a3(0x2b5)](_0x24bdb),'name':_0x51ab09,'ranges':_0x3d6e0d},_0x456f87=this[_0x4050a3(0x348)];_0x456f87['set'](_0x24bdb,_0x362fd3),this[_0x4050a3(0x2e8)][_0x4050a3(0x3c9)](_0x456f87);}[_0x957043(0x24f)](_0x52e7c9){const _0x106f1e=_0x957043,{memberID:_0x1f1b14}=_0x52e7c9['data'],_0x4af26c=this['cursorInfo'];_0x4af26c[_0x106f1e(0x333)](_0x1f1b14),this[_0x106f1e(0x2e8)][_0x106f1e(0x3c9)](_0x4af26c);}['_toggleOnline'](){const _0x176114=_0x957043;var _0x3e8ce9;if(this[_0x176114(0x334)]=!0x0,((_0x3e8ce9=this[_0x176114(0x1f1)][_0x176114(0x2b7)]())==null?void 0x0:_0x3e8ce9['getUnitId']())!==this[_0x176114(0x215)])return;const _0x49e0ec=this[_0x176114(0x267)][_0x176114(0x379)](_0x50dd36)['getDocRanges']();Array[_0x176114(0x303)](_0x49e0ec)&&_0x49e0ec[_0x176114(0x3d8)]>0x0&&this[_0x176114(0x2b2)](_0x49e0ec);}['_toggleOffline'](){const _0x27985f=_0x957043;this[_0x27985f(0x334)]=!0x1;}};Ue=ui([P(0x2,_0x79b2b4(_0x2f259a)),P(0x3,_0x79b2b4(ke)),P(0x4,_0x79b2b4(_0xea46d)),P(0x5,_0x79b2b4(He)),P(0x6,_0x417ff5),P(0x7,_0x16f134),P(0x8,_0x46c5a2)],Ue);function _0x2011(_0x521f86,_0x3b05b3){const _0x16b5b2=_0x16b5();return _0x2011=function(_0x201125,_0x4b1063){_0x201125=_0x201125-0x1ec;let _0xc7be5a=_0x16b5b2[_0x201125];return _0xc7be5a;},_0x2011(_0x521f86,_0x3b05b3);}var Si=Object[_0x957043(0x3e8)],mi=(_0x547286,_0xca6148,_0x47c4ee,_0xbd050c)=>{const _0x818c42=_0x957043;for(var _0x37f016=_0xbd050c>0x1?void 0x0:_0xbd050c?Si(_0xca6148,_0x47c4ee):_0xca6148,_0x1a71e6=_0x547286[_0x818c42(0x3d8)]-0x1,_0x536dd5;_0x1a71e6>=0x0;_0x1a71e6--)(_0x536dd5=_0x547286[_0x1a71e6])&&(_0x37f016=_0x536dd5(_0x37f016)||_0x37f016);return _0x37f016;},x=(_0x31ba7d,_0x51fa8a)=>(_0x297e40,_0x2de2dc)=>_0x51fa8a(_0x297e40,_0x2de2dc,_0x31ba7d);const Ii=0x12c,gi=0x64,vi=()=>{let _0xde569e=[],_0x993916=!0x1;return _0x421609=>{const _0x77276d=_0x2011;_0xde569e[_0x77276d(0x3c4)](_0x421609),_0x993916||(_0x993916=!0x0,setTimeout(()=>{_0xde569e['forEach'](_0x5e0d78=>_0x5e0d78()),_0xde569e=[],_0x993916=!0x1;}));};};let Me=class extends _0x22c522{constructor(_0x29d0fe,_0x5d9d05,_0x246fde,_0x23c458,_0x4bcb0f,_0x133a4b,_0x54cef5,_0xde9b21){const _0x488cea=_0x957043;super(),_(this,_0x488cea(0x334),!0x1),_(this,_0x488cea(0x3b9),!0x1),_(this,_0x488cea(0x2e8),new _0x3dfdee(new Map())),_(this,_0x488cea(0x3f1),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x3dfdee([])),_(this,_0x488cea(0x21f),this[_0x488cea(0x39b)][_0x488cea(0x260)](_0x281a31(Ii))),_(this,_0x488cea(0x2b2),_0x4eca6e((_0x3495b2,_0x100eff)=>{const _0x14431e=_0x488cea,_0x4815c2={'eventID':_0x12fdfb[_0x14431e(0x241)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x14431e(0x227)](),'selection':_0x5c2e23(_0x3495b2,_0x100eff[_0x14431e(0x259)])}};this[_0x14431e(0x366)]['send'](_0x4815c2,this[_0x14431e(0x215)]);},gi)),(this['unitID']=_0x29d0fe,this[_0x488cea(0x366)]=_0x5d9d05,this[_0x488cea(0x267)]=_0x246fde,this[_0x488cea(0x35b)]=_0x23c458,this[_0x488cea(0x31c)]=_0x4bcb0f,this[_0x488cea(0x1f1)]=_0x133a4b,this[_0x488cea(0x2c2)]=_0x54cef5,this[_0x488cea(0x298)]=_0xde9b21);}get[_0x957043(0x348)](){const _0x2d7286=_0x957043;return this[_0x2d7286(0x2e8)][_0x2d7286(0x2e2)]();}get[_0x957043(0x3bb)](){const _0x12ccf0=_0x957043;return this[_0x12ccf0(0x39b)]['getValue']();}[_0x957043(0x3aa)](){const _0x5d0bb8=_0x957043;super[_0x5d0bb8(0x3aa)](),this[_0x5d0bb8(0x2e8)][_0x5d0bb8(0x3c9)](new Map()),this[_0x5d0bb8(0x2e8)][_0x5d0bb8(0x360)](),this[_0x5d0bb8(0x39b)][_0x5d0bb8(0x3c9)]([]),this[_0x5d0bb8(0x39b)][_0x5d0bb8(0x360)]();}[_0x957043(0x20a)](){const _0xa4b2ea=_0x957043;this['_init']||(this[_0xa4b2ea(0x3b9)]=!0x0,this[_0xa4b2ea(0x366)]['sessionStatus$'][_0xa4b2ea(0x260)](_0x35dd28(this[_0xa4b2ea(0x2cb)]))[_0xa4b2ea(0x3a6)](_0x1e1010=>{const _0x42159a=_0xa4b2ea;_0x1e1010===_0x150b64[_0x42159a(0x2a0)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0xa4b2ea(0x366)][_0xa4b2ea(0x202)][_0xa4b2ea(0x260)](_0x35dd28(this['dispose$']))['subscribe'](_0x308f06=>{const _0xdd839e=_0xa4b2ea,_0x1001cd=_0x308f06[_0xdd839e(0x2c1)];_0x1001cd===_0x12fdfb['UPDATE_CURSOR']&&this[_0xdd839e(0x288)](_0x308f06),_0x1001cd===_0x12fdfb[_0xdd839e(0x27f)]&&this[_0xdd839e(0x24f)](_0x308f06);}),this[_0xa4b2ea(0x287)](),this[_0xa4b2ea(0x32b)](this[_0xa4b2ea(0x2c2)][_0xa4b2ea(0x205)](_0x890496=>{const _0x2c89d3=_0xa4b2ea;if(this[_0x2c89d3(0x334)]&&_0x890496['id']===_0x447f0a['id']&&_0x890496['params']['unitId']===this[_0x2c89d3(0x215)]){const _0x8fa4f1=_0x890496['params'];this['_updateLocalCursor'](_0x8fa4f1[_0x2c89d3(0x3d1)],_0x8fa4f1[_0x2c89d3(0x329)][0x0]);}})));}[_0x957043(0x288)](_0x2a9c96){const _0xff265c=_0x957043;var _0x1842ba,_0x5d5460;const {memberID:_0xde6ee7,selection:_0x3f9459}=_0x2a9c96[_0xff265c(0x301)],{sheetName:_0x142461,range:_0x3b35e6}=_0x85074c(_0x3f9459),_0x3ad889={'name':(_0x5d5460=(_0x1842ba=this[_0xff265c(0x31c)][_0xff265c(0x2e4)](this[_0xff265c(0x215)],_0xde6ee7))==null?void 0x0:_0x1842ba[_0xff265c(0x306)])!=null?_0x5d5460:_0xff265c(0x2ba),'range':this['_getMergeRange'](_0x142461,_0x3b35e6),'sheetID':_0x142461,'color':this[_0xff265c(0x35b)][_0xff265c(0x2b5)](_0xde6ee7),'selection':_0x3f9459},_0x6da217=this[_0xff265c(0x348)];_0x6da217[_0xff265c(0x332)](_0xde6ee7,_0x3ad889),this['_cursorInfo$'][_0xff265c(0x3c9)](_0x6da217);}['_onCursorDelete'](_0x3ac807){const _0x1836f6=_0x957043,{memberID:_0x3e0b12}=_0x3ac807[_0x1836f6(0x301)],_0xe762eb=this['cursorInfo'];_0xe762eb[_0x1836f6(0x333)](_0x3e0b12),this[_0x1836f6(0x2e8)][_0x1836f6(0x3c9)](_0xe762eb);}[_0x957043(0x1ff)](_0x818d0e,_0x3a8eda){const _0x2be660=_0x957043;var _0x57d778,_0x30a4a4;const _0x4c32d3=(_0x30a4a4=(_0x57d778=this[_0x2be660(0x1f1)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x57d778[_0x2be660(0x2fd)](_0x818d0e))==null?void 0x0:_0x30a4a4[_0x2be660(0x270)]();return(_0x4c32d3==null?void 0x0:_0x4c32d3['find'](_0x46f869=>_0x5ea943[_0x2be660(0x231)](_0x46f869,_0x3a8eda)))||_0x3a8eda;}['_onRefRangeChange'](){const _0x507419=new _0x147e2e(),_0x329a9c=vi(),_0x5b43fc=()=>{const _0x58a07f=_0x2011;_0x507419['dispose']();const _0x1015d5=(_0x1a2634,_0x57e33e,_0x14b2f1,_0x1cf62b)=>{const _0x4ba7fc=_0x2011;let _0x25c711=[];switch(_0x1a2634['id']){case _0x50d145[_0x4ba7fc(0x31d)]:{_0x25c711=_0x23bded(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x2d5)]:{_0x25c711=_0x9f5998(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x3d0)]:{_0x25c711=_0x381ae7(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x203)]:{_0x25c711=_0x5a1112(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x1ec)]:{_0x25c711=_0x4b6594(_0x1a2634,_0x1cf62b);break;}case _0x50d145['InsertRowCommandId']:{_0x25c711=_0x4c7aa9(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x343)]:{_0x25c711=_0x403cb9(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x2c7)]:{_0x25c711=_0x2f0cba(_0x1a2634,_0x1cf62b);break;}case _0x50d145[_0x4ba7fc(0x216)]:{_0x25c711=_0x121d11(_0x1a2634,_0x1cf62b);break;}}const _0x1c5cd8=_0x2b7fe4(_0x25c711,_0x1cf62b),_0x2f12cd=this[_0x4ba7fc(0x348)][_0x4ba7fc(0x379)](_0x57e33e);if(_0x2f12cd&&_0x1c5cd8){const _0x2f1ad6={..._0x2f12cd,'range':_0x1c5cd8};this[_0x4ba7fc(0x348)][_0x4ba7fc(0x332)](_0x57e33e,_0x2f1ad6),_0x329a9c(()=>{const _0xf83456=_0x4ba7fc,_0x18381c=this[_0xf83456(0x298)][_0xf83456(0x33c)](_0x1c5cd8,_0x479fea=>(_0x18381c[_0xf83456(0x3aa)](),_0x1015d5(_0x479fea,_0x57e33e,_0x14b2f1,_0x1c5cd8)));_0x507419[_0xf83456(0x242)](_0x18381c);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x58a07f(0x3e7)]((_0x57fbbe,_0x12e57c)=>{const _0x33df2f=_0x58a07f,{range:_0xd5f6b7,sheetID:_0x59b1d8}=_0x57fbbe,_0x3766d9=this[_0x33df2f(0x298)]['registerRefRange'](_0xd5f6b7,_0x56d17d=>(_0x3766d9[_0x33df2f(0x3aa)](),_0x1015d5(_0x56d17d,_0x12e57c,_0x59b1d8,_0xd5f6b7)));_0x507419[_0x33df2f(0x242)](_0x3766d9);});};this['disposeWithMe'](_0x197fb6(this['_cursorInfo$']['subscribe'](()=>{_0x5b43fc();})));}['_toggleOnline'](){const _0x284db=_0x957043;var _0x34e933,_0x5ace7d;if(this[_0x284db(0x334)]=!0x0,((_0x34e933=this[_0x284db(0x1f1)][_0x284db(0x2b7)]())==null?void 0x0:_0x34e933[_0x284db(0x2f6)]())!==this[_0x284db(0x215)])return;const _0x370388=(_0x5ace7d=this[_0x284db(0x267)][_0x284db(0x379)](_0x41581f)[_0x284db(0x2a5)]())==null?void 0x0:_0x5ace7d[0x0],_0x40b32f=this[_0x284db(0x1f1)][_0x284db(0x3dd)](_0x11e791[_0x284db(0x1f5)])['getActiveSheet']();_0x370388&&_0x40b32f&&this[_0x284db(0x2b2)](_0x40b32f[_0x284db(0x2fc)](),_0x370388);}['_toggleOffline'](){const _0x2a7340=_0x957043;this[_0x2a7340(0x334)]=!0x1;}};Me=mi([x(0x2,_0x79b2b4(_0x2f259a)),x(0x3,_0x79b2b4(ke)),x(0x4,_0x79b2b4(_0xea46d)),x(0x5,_0x16f134),x(0x6,_0x46c5a2),x(0x7,_0x79b2b4(_0x1c6920))],Me);var pi=Object[_0x957043(0x3e8)],Ci=(_0x465e5e,_0x3abbc7,_0x4b5ab1,_0x2f1260)=>{for(var _0x227daf=_0x2f1260>0x1?void 0x0:_0x2f1260?pi(_0x3abbc7,_0x4b5ab1):_0x3abbc7,_0x5cdf03=_0x465e5e['length']-0x1,_0x7303e;_0x5cdf03>=0x0;_0x5cdf03--)(_0x7303e=_0x465e5e[_0x5cdf03])&&(_0x227daf=_0x7303e(_0x227daf)||_0x227daf);return _0x227daf;},Se=(_0x2c42a0,_0x2c2590)=>(_0x98c8de,_0x202236)=>_0x2c2590(_0x98c8de,_0x202236,_0x2c42a0);let H=class extends _0x22c522{constructor(_0x1c5e02,_0x546b72,_0x53239d){const _0x5d4e34=_0x957043;super(),_(this,_0x5d4e34(0x218),new Map()),_(this,_0x5d4e34(0x361),new _0x13de5d()),(this[_0x5d4e34(0x1f1)]=_0x1c5e02,this[_0x5d4e34(0x267)]=_0x546b72,this['_collabSessionService']=_0x53239d,this[_0x5d4e34(0x3b9)]());}['dispose'](){const _0x7aa233=_0x957043;super['dispose'](),this[_0x7aa233(0x361)][_0x7aa233(0x360)](),this[_0x7aa233(0x218)]['forEach'](_0x2ec75d=>_0x2ec75d['dispose']());}[_0x957043(0x2f2)](_0x4e3af7){const _0x4cc118=_0x957043;return this['_entities'][_0x4cc118(0x23a)](_0x4e3af7)?this[_0x4cc118(0x218)][_0x4cc118(0x379)](_0x4e3af7)[_0x4cc118(0x3f1)]:this[_0x4cc118(0x361)]['pipe'](_0x4a9b42(_0x596b32=>_0x596b32[_0x4cc118(0x215)]===_0x4e3af7),_0xf18957(_0x3f3fed=>_0x3f3fed[_0x4cc118(0x3f1)]));}[_0x957043(0x3b9)](){const _0xe84601=_0x957043;this[_0xe84601(0x1f1)][_0xe84601(0x27e)](_0x11e791[_0xe84601(0x1f5)])[_0xe84601(0x260)](_0x35dd28(this[_0xe84601(0x2cb)]))[_0xe84601(0x3a6)](async _0x45ec05=>{const _0x2e60b5=_0xe84601,_0x4b3f9f=_0x45ec05['getUnitId'](),_0x1823e3=await this[_0x2e60b5(0x201)](_0x4b3f9f);this[_0x2e60b5(0x361)][_0x2e60b5(0x3c9)](_0x1823e3),this[_0x2e60b5(0x218)][_0x2e60b5(0x332)](_0x4b3f9f,_0x1823e3);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x11e791[_0xe84601(0x34e)])[_0xe84601(0x260)](_0x35dd28(this['dispose$']))[_0xe84601(0x260)](_0x4a9b42(_0x5efc22=>!_0x5efc22['getUnitId']()[_0xe84601(0x371)]('__')))[_0xe84601(0x3a6)](async _0x277915=>{const _0x3fbef4=_0xe84601,_0x57a4f9=_0x277915['getUnitId'](),_0x520217=await this['_startDocCollabCursor'](_0x57a4f9);this[_0x3fbef4(0x361)][_0x3fbef4(0x3c9)](_0x520217),this[_0x3fbef4(0x218)][_0x3fbef4(0x332)](_0x57a4f9,_0x520217);}),_0x9ffdbb(this[_0xe84601(0x1f1)][_0xe84601(0x357)](_0x11e791[_0xe84601(0x34e)]),this[_0xe84601(0x1f1)][_0xe84601(0x357)](_0x11e791[_0xe84601(0x1f5)]))['pipe'](_0x35dd28(this[_0xe84601(0x2cb)]))[_0xe84601(0x3a6)](_0x277fa1=>{const _0x31f141=_0xe84601,_0x1f13cb=_0x277fa1['getUnitId'](),_0x5a8c35=this[_0x31f141(0x218)][_0x31f141(0x379)](_0x1f13cb);_0x5a8c35&&(_0x5a8c35['dispose'](),this['_entities'][_0x31f141(0x333)](_0x1f13cb));});}async['_startSheetCollabCursor'](_0x46f080){const _0x3ea1d3=_0x957043,_0x3254d9=await this[_0x3ea1d3(0x29b)][_0x3ea1d3(0x200)](_0x46f080),_0x2a4620=this[_0x3ea1d3(0x267)][_0x3ea1d3(0x266)](Me,_0x46f080,_0x3254d9);return _0x2a4620[_0x3ea1d3(0x20a)](),_0x2a4620;}async['_startDocCollabCursor'](_0x184284){const _0x5203c4=_0x957043,_0x5a03e4=await this['_collabSessionService'][_0x5203c4(0x200)](_0x184284),_0x2aef05=this['_injector'][_0x5203c4(0x266)](Ue,_0x184284,_0x5a03e4);return _0x2aef05[_0x5203c4(0x20a)](),_0x2aef05;}};H=Ci([Se(0x0,_0x16f134),Se(0x1,_0x79b2b4(_0x2f259a)),Se(0x2,_0x79b2b4(_0x339ffc))],H);function _0x16b5(){const _0x20cc4e=['random','status$','toString','stringify','_registerDependencies','DeleteRangeMoveUpCommandId','endColumn','_hideTimer','[CollaborationDataLoaderController]','debug','_collabCursorState$','843726gbfIIb','beginPath','_notificationService','752648XLIBlc','purple.300','undoState','YUUMI_SUBSCRIPTION_NOT_FOUND','getValue','_initStatusListener','getMember','setParam','registerComponent','saveTaskMap','_cursorInfo$','_setupBeforeClosingHandler','_scheduleHeartbeat','from','_getSessionTicket','xlink:href','_config','className','_updateCollabCursors','key','getCollabCursors$','jiqing.500','_dataLoaderService','APPLY_REJECT','getUnitId','colorChannel1','then','round','loadUnit','m2Prime','getSheetId','getSheetBySheetId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','registerBeforeClose','replaceDocRanges','data','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','isArray','setInterval','history','name','m1Prime','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_initEvent','UNAUTHENTICATED','assign','YUUMI_ALL_TABLES_IS_INVALID','unitId','row','_transformService','toRgbString','getCurrentRevOfUnit','application/json','flatMap','session.connection-failed','10170onwPCI','_registerRenderDependencies','text','CONNECTOR_DATA_TOO_LARGE','getRangePointData','_handleHeartbeatEvent','collabCursorState$','_memberService','DeleteRangeMoveLeftCommandId','none','MOBILE_HAS_BEEN_BOUND','call','FETCH_MISS','newValue','_clearOtherTimers','selection','prototype','PERMISSION_DENIED','getActiveRange','skeleton','selections','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','disposeWithMe','removeParam','_setupSubUnitSync','href','fill','endRow','INVALID_ARGUMENT','set','delete','_online','makeDirty','transformIMECache','_initDependencies','AWAITING','ACTIVE_UNIT_EVENT_CHANNEL','indexOf','yellow.400','registerRefRange','NOT_FOUND','getRelativeToViewportCoord','OTHER_CLIENT_EDITING','_localCacheService','lineTo','size','MoveRangeCommandId','_eventUnsubscribe','_textBubble','getCurrent','permission.title','cursorInfo','_collabCursorController','_docSkeleton','COMPLETION_FINISHED','column','addObject','UNIVER_DOC','measureText','current','_initCommandExecutedListener','replace','getOwnPropertySymbols','collab-rect-range-','saveOfflineData','transformMutation','getTypeOfUnitDisposed$','findNodePositionByCharIndex','YUUMI_URL_COL_OUT_OF_RANGE','_removeCollabCursors','_colorAssignService','_doCreateSocket','21555ZVJzuS','USER_NOT_INVITED_CODE','setShapeProps','complete','_entityInit$','restore','activeSheet$','_saveCache','propertyIsEnumerable','_session','concat','white','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','sessionStatus$','OTHER_CLIENTS_EDITING','Error','executeCommand','_beforeCloseService','_labelPosition','univerjs-icon\x20univerjs-icon-','startsWith','width','INVITE_CODE_REQUIRED','1em','textRanges','INVITE_CODE_HAS_BEEN_UES','_toggleOnline','_scheduleSaving','get','off-line-icon_clip0_910_343','reconnect','ENSURE_SNAPSHOT_EXECUTION','INVITE_CODE_ALREADY_BOUND','LOGIN_FAILED','YUUMI_UNABLE_LOAD_URL','defineProperty','string','RECT','collab-text-anchor-','transformStateCache','params','_localStorageService','bottom','getVpScrollXYInfoByPosToVp','url(#$1','_drawTextRange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getParam','onMouseMove','with','collab-text-range-','_unitStatus','apply','addObjects','_uiPartsService','Failed','unsubscribe','24393ySzGHi','redoState','getAncestorScale','imageSourceType','sheetId','_roomMembers$','_document','SNAPSHOT_INVALID_SNAPSHOT','_transformPreviousActiveRange','min','disableLocalCache','_instanceService','_removeClearOtherTimer','INVALID_INVITE_CODE','_syncEditingCollabCursorService','onLocalMutation','subscribe','sessionTicket','APPLY_PERMISSION_DENIED','ranges','dispose','clearTimeout','6GywNMj','onPointerEnter$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_color','path','collabStatus.notCollab','asObservable','_scheduleClearOtherTimer','_configService','_disabled','actions','send','getSkeleton','_init','PENDING','roomMembers','_send','_docTransformStateCacheService','onPointerLeave$','_messageService','PY_RUNTIME_SCRIPT_ERROR','_httpService','getItem','engine','push','_sheetSkeletonManagerService','LICENSE_EXPORT_SIZE_EXCEEDED','unshift','subscribeEvent','next','SUBMIT_CHANGESET_TIMEOUT','function','_handleHover','body','_refreshCollabCursors','getConfig','InsertColCommandId','subUnitId','setStateCache','map','_imageIoService','clipPath','idSuffix','_urlService','length','setConfig','attrs','_id','getActiveSheet','getCurrentUnitForType','_docSkeletonManagerService','_initStatusComponent','getStateCache','collabStatus.syncing','_logService','split','searchParams','replaceState','_anchor','forEach','getOwnPropertyDescriptor','_collaborationUIEventService','wsSessionTicketUrl','5223504iYNiEx','_shapes','focused$','collaboration-client.offline-data-not-saved','all','CLOSE_ROOM','cursorInfo$','search','_updateURLWithCurrentState','tag','InsertRangeMoveRightCommandId','APPLY_DUPLICATED','_heartbeatTimer','_range','session.will-retry','_univerInstanceService','black','_docClipboardService','font','UNIVER_SHEET','_hovered','loadOfflineData','getRenderById','_cursors','UNDEFINED','pluginName','_handleEvent','fillStyle','runId','_getMergeRange','requireSession','_startSheetCollabCursor','event$','InsertRangeMoveDownCommandId','_initEntityListener','onCommandExecuted','on-line-icon_clip0_910_349','_getSaveTimeout','translate(.97)','getColorFromTheme','init','mask','currentTheme$','SNAPSHOT_HAS_BEEN_REMOVED','currentSkeleton$','isActive','http://www.w3.org/2000/svg','session.collaboration-timeout','drawWith','exhaustSavingTask','some','unitID','RemoveRowCommandId','invokeId','_entities','error','code','ticket','LICENSE_MAX_UNITS_EXCEEDED','runOnServer','collabStatus.conflict','roomMembers$','rgba(255,\x20255,\x20255,\x200.01)','FromArray','_draw','MUTATION','_docStateChangeManagerService','whenReady','off-line-icon','getMemberID','collabStatus.fetchMiss','UNRECOGNIZED','addEventListener','children','on-line-icon','setTimeout','onStarting','deepClone','setAlpha','contains','labelPosition','APPLY_NON_SEQUENTIAL_REVISION','_saveTaskMap','hasOwnProperty','...','_themeService','source','NO_OTHER_CLIENTS_EDITING','has','enableLocalCache','NOT_COLLAB','_initResize','collabStatus.offline','_getSheetObject','OFFLINE','UPDATE_CURSOR','add','pushState','INTERNAL_ERROR','getViewport','_transformUndoRedoStack','_cachedData','_unitOnClients','_handleLeaveEvent','LICENSE_DISTRO_REJECTED','triggerDblclick','subunit','Warning','_selfUnitIDs','_onCursorDelete','defIds','setActiveRange','YUUMI_NO_CUBOID_FOR_QUESTION','getUnhiddenWorksheets','doc.mutation.rich-text-editing','generateRandomId','ALREADY_EXISTS','updateOfflineData','3020955ouuzwQ','range','_localeService','collaboration.closeRoom','/run/','_updateSubUnitFromURLParams','YUUMI_AI_RUN_FAILED','evenodd','pipe','svg','OnLineIcon','clearInterval','memberID','_ensureSubject','createInstance','_injector','_colorIndex','onPointerMove$','_cursor','_docSyncEditingCollabCursorService','height','_drawRectRange','use','_renderManagerService','getMergeData','urlChange$','green.600','_handleJoinEvent','_transformHistoryAndStateStack','OffLineIcon','type','entries','mutations','UniverIcon','APPLY_REVISION_CONFILICT','setUndoRedoMutationParamsCache','red.300','transformByState','getTypeOfUnitAdded$','USERS_LEAVE','WECHAT_HAS_BEEN_BOUND','symbol','div','_docTransformSelectionsService','_collaborationController','_revisionService','values','_onRefRangeChange','_onCursorUpdate','SYNCED','CONFLICT','_name','CHANGESET_REVISION_CONFILICT','_status$','TOO_MANY_REQUESTS','registerRenderModule','4346505ioYhUU','LICENSE_IMPORT_SIZE_EXCEEDED','extend','EMAIL_HAS_BEEN_BOUND','_assignedColors','location','M0\x200H16V16H0z','displayName','_refRangeService','show','defs','_collabSessionService','syncEditingCollabCursor','getUndoRedoMutationParamsCache','storage','disposeUnit','ONLINE','_cursorShapes','parse','getDocRanges','_lastPointer','getCurrentSelections','collabStatus.synced','_hover','getCellPositionByOffset','startColumn','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_ASYNCIO_CANCELLED','save','unit','includes','setItem','closePath','createSocket','_updateLocalCursor','_context','_getAnchorBounding','assignAColorForMemberID','692kOVfqz','getFocusedUnit','_scene','_anchorDot','Unknown\x20user','hovered','fillText','icon','top','YUUMI_RATE_OVER_LIMIT','transformRemoteChangeset','eventID','_commandService','color','entityInit$','url(#on-line-icon_clip0_910_349)','saveImage','RemoveColCommandId','_docTransformIMECacheService','arc','url(#off-line-icon_clip0_910_343)','dispose$','_backgroundColor','onTransformChange$','addClipboardHook','transformMutationsWithChangeset'];_0x16b5=function(){return _0x20cc4e;};return _0x16b5();}const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0xd30265,_0x22c5ff){const _0x930896=_0x957043;let {radius:_0x479f13,width:_0x20cc94,height:_0x46169b}=_0x22c5ff;_0x479f13=_0x479f13!=null?_0x479f13:0x0,_0x20cc94=_0x20cc94!=null?_0x20cc94:0x1e,_0x46169b=_0x46169b!=null?_0x46169b:0x1e;let _0x110367=0x0,_0x324040=0x0,_0x45f813=0x0;_0x110367=_0x324040=_0x45f813=Math[_0x930896(0x39f)](_0x479f13,_0x20cc94/0x2,_0x46169b/0x2),_0xd30265[_0x930896(0x2dc)](),_0xd30265['moveTo'](_0x110367,0x0),_0xd30265['lineTo'](_0x20cc94-_0x324040,0x0),_0xd30265[_0x930896(0x2c9)](_0x20cc94-_0x324040,_0x324040,_0x324040,Math['PI']*0x3/0x2,0x0,!0x1),_0xd30265['lineTo'](_0x20cc94,_0x46169b-_0x45f813),_0xd30265[_0x930896(0x2c9)](_0x20cc94-_0x45f813,_0x46169b-_0x45f813,_0x45f813,0x0,Math['PI']/0x2,!0x1),_0xd30265[_0x930896(0x341)](0x0,_0x46169b),_0xd30265[_0x930896(0x341)](0x0,_0x110367),_0xd30265['arc'](_0x110367,_0x110367,_0x110367,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xd30265[_0x930896(0x2b0)](),_0x22c5ff[_0x930896(0x32f)]&&(_0xd30265[_0x930896(0x2ac)](),_0xd30265[_0x930896(0x1fd)]=_0x22c5ff[_0x930896(0x32f)],_0x22c5ff['fillRule']==='evenodd'?_0xd30265[_0x930896(0x32f)](_0x930896(0x25f)):_0xd30265[_0x930896(0x32f)](),_0xd30265[_0x930896(0x362)]());}class he extends _0x3f4c5b{constructor(_0x255cdf,_0x58dc33){const _0x6b28a2=_0x957043;super(_0x255cdf,_0x58dc33),_(this,_0x6b28a2(0x2c3)),_(this,_0x6b28a2(0x317)),(this[_0x6b28a2(0x2c3)]=_0x58dc33==null?void 0x0:_0x58dc33[_0x6b28a2(0x2c3)],this[_0x6b28a2(0x317)]=_0x58dc33==null?void 0x0:_0x58dc33[_0x6b28a2(0x317)]);}static[_0x957043(0x212)](_0x51194b,_0x2c43ad){const _0x2f5fc8=_0x957043,{text:_0x2225c0,color:_0x5a335e}=_0x2c43ad;_0x51194b[_0x2f5fc8(0x2ac)](),_0x51194b[_0x2f5fc8(0x1f4)]=_0x2f5fc8(0x3ae);const _0x308314=_0x51194b[_0x2f5fc8(0x34f)](_0x2225c0)[_0x2f5fc8(0x372)],_0x3a55c1=Math[_0x2f5fc8(0x39f)](_0x308314+0x2*me,Qe);Oi(_0x51194b,{'height':ee,'radius':0x4,'width':_0x3a55c1,'fill':_0x5a335e}),_0x51194b['fillStyle']='#FFF';const _0x384557=me,_0x5a76a2=ee-Ei,_0x1ada98=Qe-0x2*me;if(_0x308314>_0x1ada98){let _0x4bc179='',_0x2c30b5=0x0;for(const _0x3e1090 of _0x2225c0){const _0x32c997=_0x51194b[_0x2f5fc8(0x34f)](_0x3e1090)['width'];if(_0x2c30b5+_0x32c997<=_0x1ada98-_0x51194b[_0x2f5fc8(0x34f)]('...')[_0x2f5fc8(0x372)])_0x4bc179+=_0x3e1090,_0x2c30b5+=_0x32c997;else{_0x4bc179+=_0x2f5fc8(0x236);break;}}_0x51194b[_0x2f5fc8(0x2bc)](_0x4bc179,_0x384557,_0x5a76a2);}else _0x51194b[_0x2f5fc8(0x2bc)](_0x2225c0,_0x384557,_0x5a76a2);_0x51194b[_0x2f5fc8(0x362)]();}[_0x957043(0x222)](_0x3be0d5){he['drawWith'](_0x3be0d5,this);}}const Ie=_0x957043(0x383),bi=_0x957043(0x38f),Ti=_0x957043(0x354),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x957043(0x220);class qe{constructor(_0x36c0fe,_0x1cae94,_0x249cf6,_0x2d3a92){const _0x27a6e2=_0x957043;_(this,_0x27a6e2(0x3ec),[]),_(this,'_anchor',null),_(this,_0x27a6e2(0x345),null),_(this,_0x27a6e2(0x2b9),null),_(this,_0x27a6e2(0x2d7),null),_(this,_0x27a6e2(0x344),null),(this[_0x27a6e2(0x26a)]=_0x36c0fe,this[_0x27a6e2(0x2b8)]=_0x1cae94,this[_0x27a6e2(0x34a)]=_0x249cf6,this[_0x27a6e2(0x39c)]=_0x2d3a92,this['_render']());}set[_0x957043(0x2a7)](_0x40781f){const _0x4e9f51=_0x957043;_0x40781f?(this[_0x4e9f51(0x2b9)]&&this[_0x4e9f51(0x2b9)]['hide'](),this[_0x4e9f51(0x345)]&&this[_0x4e9f51(0x345)][_0x4e9f51(0x299)]()):(this[_0x4e9f51(0x2b9)]&&this['_anchorDot'][_0x4e9f51(0x299)](),this[_0x4e9f51(0x345)]&&this['_textBubble']['hide']());}[_0x957043(0x3aa)](){const _0x3ef752=_0x957043;for(const _0x2f445c of this[_0x3ef752(0x3ec)])_0x2f445c[_0x3ef752(0x3aa)]();this['_textBubble']&&this[_0x3ef752(0x345)][_0x3ef752(0x3aa)](),this[_0x3ef752(0x2b9)]&&this[_0x3ef752(0x2b9)][_0x3ef752(0x3aa)](),this['_anchor']&&this[_0x3ef752(0x3e6)][_0x3ef752(0x3aa)](),this[_0x3ef752(0x344)]&&this[_0x3ef752(0x344)]();}['_render'](){const _0x4cb7d9=_0x957043;var _0x4a5543;const {_docSkeleton:_0x4fcb0d,_document:_0x504f5d}=this,{color:_0x1ec183,name:_0xd47fc1,ranges:_0x4155f2}=this[_0x4cb7d9(0x26a)],_0x293782=_0x504f5d['getOffsetConfig'](),{docsLeft:_0x56218d,docsTop:_0x3a7d34}=_0x293782,_0x5ec53b=new _0x251cc6(_0x293782,_0x4fcb0d);for(const {startOffset:_0x351320,endOffset:_0x4288c5,rangeType:_0x47cb5a,segmentId:_0x5759d8,segmentPage:_0x57f52b,collapsed:_0x1d6575,isActive:_0x415410}of _0x4155f2){const _0x5cdcb3=_0x4fcb0d[_0x4cb7d9(0x358)](_0x351320,!0x0,_0x5759d8,_0x57f52b);let _0x39e9e4=_0x4fcb0d[_0x4cb7d9(0x358)](_0x4288c5,!0x0,_0x5759d8,_0x57f52b);if(_0x39e9e4==null&&(_0x39e9e4=_0x4fcb0d['findNodePositionByCharIndex'](_0x4288c5-0x1,!0x1,_0x5759d8,_0x57f52b)),_0x415410){const {contentBoxPointGroup:_0x29505e}=_0x5ec53b[_0x4cb7d9(0x319)](_0x39e9e4,_0x39e9e4);if(_0x29505e[_0x4cb7d9(0x3d8)]===0x0)continue;this['_drawAnchor'](_0x1ec183,_0x29505e,_0x56218d,_0x3a7d34,_0xd47fc1),this[_0x4cb7d9(0x344)]=this[_0x4cb7d9(0x3cc)]();}if(_0x5cdcb3&&_0x39e9e4){if(_0x47cb5a===_0x586938[_0x4cb7d9(0x382)]){const _0x4dc1e7=new _0x1e4ae6(_0x293782,_0x4fcb0d),{pointGroup:_0x31e20b}=(_0x4a5543=_0x4dc1e7[_0x4cb7d9(0x319)](_0x5cdcb3,_0x39e9e4))!=null?_0x4a5543:{};if(_0x31e20b==null||_0x31e20b[_0x4cb7d9(0x3d8)]===0x0)continue;this[_0x4cb7d9(0x26d)](_0x1ec183,_0x31e20b,_0x56218d,_0x3a7d34);}else{if(!_0x1d6575){const {borderBoxPointGroup:_0x2650df}=_0x5ec53b[_0x4cb7d9(0x319)](_0x5cdcb3,_0x39e9e4);if(_0x2650df['length']===0x0)continue;this[_0x4cb7d9(0x38a)](_0x1ec183,_0x2650df,_0x56218d,_0x3a7d34);}}}}}['_drawAnchor'](_0xcd27a2,_0xb98c79,_0x5d0e5e,_0x36a30b,_0x22de17){const _0x2fc0b4=_0x957043,_0x13cf2b=this[_0x2fc0b4(0x2b4)](_0xb98c79),{left:_0x3259b8,top:_0x16aed7,height:_0x1b297c}=_0x13cf2b,_0x1a4b04=this['_getScale'](),_0x2102ba=Di/_0x1a4b04,_0x583975=new _0x575d1c(Ie+_0x5b06e2[_0x2fc0b4(0x255)](X),{'left':_0x3259b8+_0x5d0e5e-_0x2102ba,'top':_0x16aed7+_0x36a30b,'height':_0x1b297c,'width':Ri,'fill':_0xcd27a2||_0x265cf8(_0x764413[_0x2fc0b4(0x1f2)],0x0),'strokeWidth':_0x2102ba,'stroke':Ni,'evented':!0x0});this[_0x2fc0b4(0x3e6)]=_0x583975,this[_0x2fc0b4(0x2b8)][_0x2fc0b4(0x34d)](_0x583975,_0x763413);const _0x3bbf3a=new _0x575d1c(Ie+_0x5b06e2[_0x2fc0b4(0x255)](X),{'left':_0x3259b8+_0x5d0e5e-_0x2102ba,'top':_0x16aed7+_0x36a30b-ge/0x2,'height':ge,'width':ge,'fill':_0xcd27a2||_0x265cf8(_0x764413[_0x2fc0b4(0x1f2)],0x0),'strokeWidth':0x0,'stroke':_0xcd27a2||_0x265cf8(_0x764413[_0x2fc0b4(0x1f2)],0x0),'evented':!0x1});this[_0x2fc0b4(0x2b9)]=_0x3bbf3a,this[_0x2fc0b4(0x2b8)][_0x2fc0b4(0x34d)](_0x3bbf3a,_0x763413);const _0x2b6b95=new he(Ie+_0x5b06e2[_0x2fc0b4(0x255)](X),{'left':_0x3259b8+_0x5d0e5e-_0x2102ba,'top':_0x16aed7+_0x36a30b-ee,'text':_0x22de17,'color':_0xcd27a2});this[_0x2fc0b4(0x345)]=_0x2b6b95,this['_scene'][_0x2fc0b4(0x34d)](_0x2b6b95,_0x763413),this['_hover']=!0x1;}[_0x957043(0x3cc)](){const _0x1244d3=_0x957043,_0x526fc4=this[_0x1244d3(0x3e6)][_0x1244d3(0x3ad)][_0x1244d3(0x3c8)](()=>{this['_hover']=!0x0;}),_0x14ee8e=this[_0x1244d3(0x3e6)][_0x1244d3(0x3be)]['subscribeEvent'](()=>{const _0x226da2=_0x1244d3;this[_0x226da2(0x2d7)]&&clearTimeout(this[_0x226da2(0x2d7)]),this[_0x226da2(0x2d7)]=setTimeout(()=>{const _0x366331=_0x226da2;this[_0x366331(0x2a7)]=!0x1;},0x7d0);});return()=>{const _0x40887c=_0x1244d3;_0x526fc4[_0x40887c(0x395)](),_0x14ee8e[_0x40887c(0x395)]();};}[_0x957043(0x38a)](_0x5d6993,_0x47c1bc,_0x5e81d1,_0x35c0aa){const _0x1c2759=_0x957043,_0x17f776=new _0x288e7f(_0x5d6993)[_0x1c2759(0x230)](0.2)[_0x1c2759(0x310)](),_0x94ba60=new _0x5f87e4(bi+_0x5b06e2[_0x1c2759(0x255)](X),{'pointsGroup':_0x47c1bc,'fill':_0x17f776||_0x265cf8(_0x764413['black'],0.2),'left':_0x5e81d1,'top':_0x35c0aa,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c2759(0x3ec)][_0x1c2759(0x3c4)](_0x94ba60),this[_0x1c2759(0x2b8)][_0x1c2759(0x34d)](_0x94ba60,_0x763413);}[_0x957043(0x26d)](_0x2e527d,_0x35d520,_0x238bc,_0x4aa150){const _0x48ec32=_0x957043,_0x334d76=new _0x288e7f(_0x2e527d)[_0x48ec32(0x230)](0.2)[_0x48ec32(0x310)](),_0x58b5ec=new _0x5f87e4(Ti+_0x5b06e2[_0x48ec32(0x255)](X),{'pointsGroup':_0x35d520,'fill':_0x334d76||_0x265cf8(_0x764413[_0x48ec32(0x1f2)],0.2),'left':_0x238bc,'top':_0x4aa150,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48ec32(0x3ec)]['push'](_0x58b5ec),this[_0x48ec32(0x2b8)][_0x48ec32(0x34d)](_0x58b5ec,_0x763413);}['_getAnchorBounding'](_0xbe4ac5){const _0x376e4b=_0xbe4ac5[0x0],_0x1dae17=_0x376e4b[0x0],_0x314e4c=_0x376e4b[0x2],{x:_0x28762c,y:_0x3021e9}=_0x1dae17,{x:_0x22768a,y:_0x5a6738}=_0x314e4c;return{'left':_0x28762c,'top':_0x3021e9,'width':_0x22768a-_0x28762c,'height':_0x5a6738-_0x3021e9};}['_getScale'](){const _0x58c818=_0x957043,{scaleX:_0x2f2fa1,scaleY:_0x1f2b64}=this[_0x58c818(0x2b8)][_0x58c818(0x398)]();return Math['max'](_0x2f2fa1,_0x1f2b64);}}var Ui=Object[_0x957043(0x3e8)],Mi=(_0x32f1e9,_0x38a22a,_0xb078af,_0x633fc0)=>{const _0x50c42e=_0x957043;for(var _0x3445f3=_0x633fc0>0x1?void 0x0:_0x633fc0?Ui(_0x38a22a,_0xb078af):_0x38a22a,_0x3c100f=_0x32f1e9[_0x50c42e(0x3d8)]-0x1,_0x465a90;_0x3c100f>=0x0;_0x3c100f--)(_0x465a90=_0x32f1e9[_0x3c100f])&&(_0x3445f3=_0x465a90(_0x3445f3)||_0x3445f3);return _0x3445f3;},Z=(_0x13a4bb,_0x26dce2)=>(_0x311a43,_0x2ea8a4)=>_0x26dce2(_0x311a43,_0x2ea8a4,_0x13a4bb);let we=class extends _0x22c522{constructor(_0x41b96d,_0x3549fa,_0x26d6d6,_0x5daa5b,_0x1ba260){const _0x3a467d=_0x957043;super(),_(this,'_cursorShapes',[]),_(this,_0x3a467d(0x1f9),[]),(this['_context']=_0x41b96d,this['_docSkeletonManagerService']=_0x3549fa,this[_0x3a467d(0x349)]=_0x26d6d6,this[_0x3a467d(0x2c2)]=_0x5daa5b,this[_0x3a467d(0x237)]=_0x1ba260,this[_0x3a467d(0x3b9)]());}[_0x957043(0x3b9)](){const _0x1332ba=_0x957043,_0x49306e=this[_0x1332ba(0x2b3)][_0x1332ba(0x30d)],_0x506c2a=this['_docSkeletonManagerService'];this[_0x1332ba(0x32b)](_0x4d89dc([this['_collabCursorController'][_0x1332ba(0x2f2)](_0x49306e),this['_themeService'][_0x1332ba(0x20c)]])[_0x1332ba(0x260)](_0x4a76e2(([_0xae0886,_0x2325c3])=>({'skeleton':_0x506c2a[_0x1332ba(0x3b8)](),'cursors':[..._0xae0886[_0x1332ba(0x286)]()][_0x1332ba(0x313)](_0x4cd2a3=>({..._0x4cd2a3,'color':this[_0x1332ba(0x237)][_0x1332ba(0x209)](_0x4cd2a3[_0x1332ba(0x2c3)])}))})))['subscribe'](_0x44d880=>{const _0x24beca=_0x1332ba;if(this[_0x24beca(0x35a)](),_0x44d880){const {skeleton:_0x39bdc5,cursors:_0x141a50}=_0x44d880;this[_0x24beca(0x2f0)](_0x39bdc5,_0x141a50);}})),this['_initResize'](),this[_0x1332ba(0x351)]();}[_0x957043(0x2f0)](_0x5bc220,_0x2e7b1d){const _0x1dfeab=_0x957043,{scene:_0x53c293,mainComponent:_0x39e445}=this[_0x1dfeab(0x2b3)],_0x3f7897=_0x2e7b1d[_0x1dfeab(0x3d3)](_0x4c1ad1=>new qe(_0x4c1ad1,_0x53c293,_0x5bc220,_0x39e445));this['_cursorShapes']=_0x3f7897,this[_0x1dfeab(0x1f9)]=_0x2e7b1d;}[_0x957043(0x3ce)](){const _0xf3720b=_0x957043;this[_0xf3720b(0x35a)]();const {scene:_0x7e9b1c,mainComponent:_0x506773}=this[_0xf3720b(0x2b3)],_0x3ec42c=this[_0xf3720b(0x3de)][_0xf3720b(0x3b8)](),_0x410a8a=this[_0xf3720b(0x1f9)]['map'](_0x2b2bca=>new qe(_0x2b2bca,_0x7e9b1c,_0x3ec42c,_0x506773));this[_0xf3720b(0x2a1)]=_0x410a8a;}[_0x957043(0x35a)](){const _0x310d84=_0x957043;this[_0x310d84(0x2a1)][_0x310d84(0x3e7)](_0x1985dc=>_0x1985dc[_0x310d84(0x3aa)]()),this[_0x310d84(0x2a1)]=[];}[_0x957043(0x351)](){const _0xd1a883=_0x957043,_0x5459fe=[_0x4e6e95['id']];this[_0xd1a883(0x32b)](this[_0xd1a883(0x2c2)][_0xd1a883(0x205)](_0x1bc7bd=>{const _0x19a07d=_0xd1a883;_0x5459fe[_0x19a07d(0x2ae)](_0x1bc7bd['id'])&&_0x1bc7bd['params'][_0x19a07d(0x30d)]===this[_0x19a07d(0x2b3)]['unitId']&&this[_0x19a07d(0x3ce)]();}));}[_0x957043(0x23d)](){const _0x4f7277=_0x957043;this[_0x4f7277(0x32b)](_0x4bc1b9(this[_0x4f7277(0x2b3)][_0x4f7277(0x3c3)][_0x4f7277(0x2cd)])['pipe'](_0x75e491(_0x142c1b=>_0x142c1b[_0x4f7277(0x276)]===_0x470dff['resize']),_0x7aa9fb(0x10))['subscribe'](()=>{const _0x4f954b=_0x4f7277;this[_0x4f954b(0x3ce)]();}));}};we=Mi([Z(0x1,_0x79b2b4(_0x597889)),Z(0x2,_0x79b2b4(H)),Z(0x3,_0x46c5a2),Z(0x4,_0x79b2b4(_0x490aa5))],we);const wi=0x1,Pi=1.5;class Li extends _0x3f4c5b{constructor(_0x1fc490,_0x14fcff){const _0x153feb=_0x957043;super(_0x1fc490,_0x14fcff),_(this,_0x153feb(0x3af)),_(this,_0x153feb(0x1f6),!0x1),_(this,_0x153feb(0x1ef)),_(this,_0x153feb(0x28b),''),_(this,_0x153feb(0x36f),_0x153feb(0x2be)),_(this,'_backgroundColor'),(_0x14fcff&&this[_0x153feb(0x35f)](_0x14fcff),this[_0x153feb(0x3ad)][_0x153feb(0x3c8)](()=>this[_0x153feb(0x35f)]({'hovered':!0x0})),this[_0x153feb(0x3be)][_0x153feb(0x3c8)](()=>this[_0x153feb(0x35f)]({'hovered':!0x1})));}[_0x957043(0x35f)](_0xfa5313){const _0x326176=_0x957043;var _0x5b2dec,_0x1a6868,_0x6fc820,_0x5da8ee,_0x4f0cf4,_0x58e47c;this[_0x326176(0x3af)]=(_0x5b2dec=_0xfa5313['color'])!=null?_0x5b2dec:this[_0x326176(0x3af)],this[_0x326176(0x1f6)]=(_0x1a6868=_0xfa5313[_0x326176(0x2bb)])!=null?_0x1a6868:this['_hovered'],this[_0x326176(0x1ef)]=(_0x6fc820=_0xfa5313[_0x326176(0x259)])!=null?_0x6fc820:this[_0x326176(0x1ef)],this[_0x326176(0x28b)]=(_0x5da8ee=_0xfa5313[_0x326176(0x306)])!=null?_0x5da8ee:this['_name'],this[_0x326176(0x36f)]=(_0x4f0cf4=_0xfa5313[_0x326176(0x232)])!=null?_0x4f0cf4:this['_labelPosition'],this[_0x326176(0x2cc)]=(_0x58e47c=_0xfa5313['backgroundColor'])!=null?_0x58e47c:this['_backgroundColor'],this[_0x326176(0x27d)]({'width':_0xfa5313[_0x326176(0x372)],'height':_0xfa5313[_0x326176(0x26c)]});}[_0x957043(0x38d)](_0x4f8850){const _0x18849f=_0x957043,{row:_0x339bba,column:_0x4a19bf}=_0x4f8850;if(_0x339bba>=this[_0x18849f(0x1ef)]['startRow']&&_0x339bba<=this[_0x18849f(0x1ef)][_0x18849f(0x330)]&&_0x4a19bf>=this[_0x18849f(0x1ef)][_0x18849f(0x2a9)]&&_0x4a19bf<=this['_range'][_0x18849f(0x2d6)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x18849f(0x35f)]({'hovered':!0x1});}[_0x957043(0x24b)](_0x1c208c){return!0x1;}[_0x957043(0x222)](_0x37f88f){const _0x188bf2=_0x957043;_0x575d1c['drawWith'](_0x37f88f,{'width':this[_0x188bf2(0x372)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x188bf2(0x3af)],'evented':!0x1,'fill':this[_0x188bf2(0x2cc)]}),this['_hovered']&&(_0x37f88f[_0x188bf2(0x2ac)](),_0x37f88f['transform'](0x1,0x0,0x0,0x1,this[_0x188bf2(0x372)],this[_0x188bf2(0x36f)]==='bottom'?0x0:-0x14),he[_0x188bf2(0x212)](_0x37f88f,{'text':this[_0x188bf2(0x28b)],'color':this[_0x188bf2(0x3af)]}),_0x37f88f[_0x188bf2(0x362)]());}}var Ai=Object[_0x957043(0x3e8)],yi=(_0x21beaf,_0x33f482,_0x54c66b,_0x55798c)=>{const _0x575824=_0x957043;for(var _0x69f734=_0x55798c>0x1?void 0x0:_0x55798c?Ai(_0x33f482,_0x54c66b):_0x33f482,_0x16d486=_0x21beaf[_0x575824(0x3d8)]-0x1,_0x126cda;_0x16d486>=0x0;_0x16d486--)(_0x126cda=_0x21beaf[_0x16d486])&&(_0x69f734=_0x126cda(_0x69f734)||_0x69f734);return _0x69f734;},ve=(_0x53ccde,_0x3f35ac)=>(_0x3d3190,_0x34b785)=>_0x3f35ac(_0x3d3190,_0x34b785,_0x53ccde);const $i=0x1389;let Pe=class extends _0x22c522{constructor(_0x3238f4,_0x167da3,_0x4c3c24,_0x4d15c4){const _0x3d34f2=_0x957043;super(),_(this,_0x3d34f2(0x1f9),new Set()),_(this,_0x3d34f2(0x2a4),null),(this[_0x3d34f2(0x2b3)]=_0x3238f4,this['_sheetSkeletonManagerService']=_0x167da3,this[_0x3d34f2(0x349)]=_0x4c3c24,this['_themeService']=_0x4d15c4,this[_0x3d34f2(0x3b9)]());}[_0x957043(0x3b9)](){const _0x124e75=_0x957043;this[_0x124e75(0x3c5)][_0x124e75(0x20e)][_0x124e75(0x260)](_0x490efa(this[_0x124e75(0x2cb)]),_0x2403d7(_0x3ca726=>{const _0x4e414d=_0x124e75;if(_0x3ca726){const _0x106908=_0x3ca726[_0x4e414d(0x39a)];return _0x4d89dc(this[_0x4e414d(0x349)][_0x4e414d(0x2f2)](this[_0x4e414d(0x2b3)][_0x4e414d(0x30d)]),this[_0x4e414d(0x237)][_0x4e414d(0x20c)])['pipe'](_0x4a76e2(([_0x3f9c5a,_0x4fee97])=>{const _0x583704=_0x4e414d,_0x1d39e4=new Map();return _0x3f9c5a[_0x583704(0x3e7)]((_0x54d8e0,_0x335108)=>{const _0x43b368=_0x583704;if(_0x54d8e0['sheetID']===_0x106908){const _0x4eefd5={..._0x54d8e0};_0x4eefd5[_0x43b368(0x2c3)]=this[_0x43b368(0x237)][_0x43b368(0x209)](_0x54d8e0[_0x43b368(0x2c3)]),_0x1d39e4[_0x43b368(0x332)](_0x335108,_0x4eefd5);}}),{'skeleton':_0x3ca726,'cursors':_0x1d39e4};}));}return _0x21ae2d({'skeleton':null,'cursors':new Map()});}))[_0x124e75(0x3a6)](({skeleton:_0x5e4943,cursors:_0x32d7ac})=>{const _0x531d81=_0x124e75;this[_0x531d81(0x35a)](),_0x5e4943&&this[_0x531d81(0x2f0)](_0x5e4943,_0x32d7ac);}),this[_0x124e75(0x3c5)]['currentSkeleton$'][_0x124e75(0x3a6)](_0x34c6ff=>{const _0x293f03=_0x124e75;if(_0x34c6ff==null)return;const {skeleton:_0x2c620d}=_0x34c6ff,{scene:_0x48db96}=this[_0x293f03(0x2b3)];_0x48db96[_0x293f03(0x269)][_0x293f03(0x3c8)](_0x4eca6e(_0x9c3383=>{const _0x3a80f4=_0x293f03;var _0x3984ef,_0x546c4c;const {offsetX:_0x37e799,offsetY:_0x485b04}=_0x9c3383,{x:_0x5eb2fb,y:_0x590cf5}=_0x48db96[_0x3a80f4(0x33e)](_0x3d4a5f[_0x3a80f4(0x221)]([_0x37e799,_0x485b04])),{scaleX:_0x1ef275,scaleY:_0xb7df5a}=_0x48db96[_0x3a80f4(0x398)](),_0x258bbf=_0x48db96[_0x3a80f4(0x245)](_0x433b49['VIEW_MAIN']),_0x2466ee=_0x48db96[_0x3a80f4(0x388)](_0x3d4a5f['FromArray']([_0x5eb2fb,_0x590cf5]),_0x258bbf),_0x1494b5=_0x2c620d[_0x3a80f4(0x2a8)](_0x37e799,_0x485b04,_0x1ef275,_0xb7df5a,_0x2466ee);((_0x3984ef=this[_0x3a80f4(0x2a4)])==null?void 0x0:_0x3984ef[_0x3a80f4(0x34c)])===_0x1494b5[_0x3a80f4(0x34c)]&&((_0x546c4c=this[_0x3a80f4(0x2a4)])==null?void 0x0:_0x546c4c[_0x3a80f4(0x30e)])===_0x1494b5[_0x3a80f4(0x30e)]||this[_0x3a80f4(0x1f9)][_0x3a80f4(0x3e7)](_0x40d979=>{const _0xe1d2c3=_0x3a80f4;_0x40d979[_0xe1d2c3(0x38d)](_0x1494b5);});},0x64));});}[_0x957043(0x2f0)](_0x311f24,_0x564020){const _0x3ed641=_0x957043;var _0x5811ea;const _0x731430=(_0x5811ea=this[_0x3ed641(0x3c5)][_0x3ed641(0x346)]())==null?void 0x0:_0x5811ea[_0x3ed641(0x328)];if(!_0x731430)return;const _0x12efb4=this[_0x3ed641(0x23f)]();if(!_0x12efb4)return;this[_0x3ed641(0x1f9)][_0x3ed641(0x3e7)](_0x34fb47=>{const _0x48e509=_0x3ed641;_0x34fb47[_0x48e509(0x335)]();});const {scene:_0x42932f}=_0x12efb4,_0x4dffe1=xi(Array[_0x3ed641(0x2eb)](_0x564020[_0x3ed641(0x286)]()))[_0x3ed641(0x3d3)](_0x3479c3=>{const _0x49b1a0=_0x3ed641,{color:_0x57bcee,range:_0x54ca5b,name:_0x55fe94,selection:_0x28414c,sheetID:_0x316c93}=_0x3479c3,{startColumn:_0x42cab3,startRow:_0x4acca1,endColumn:_0x222054,endRow:_0x4675e2}=_0x54ca5b,_0x162192=_0xe7b806(_0x4acca1,_0x42cab3,_0x42932f,_0x731430),_0x4eaa5c=_0xe7b806(_0x4675e2,_0x222054,_0x42932f,_0x731430),{columnHeaderHeightAndMarginTop:_0x209bdc}=_0x731430,{startX:_0x426fb5,startY:_0x435d42}=_0x162192,{endX:_0x525f3d,endY:_0x13b518}=_0x4eaa5c,_0x145849=_0x525f3d-_0x426fb5,_0xd7f866=_0x13b518-_0x435d42,_0x2869bc={'labelPosition':_0x435d42-_0x209bdc>=ee?_0x49b1a0(0x2be):_0x49b1a0(0x387),'sheetID':_0x316c93,'range':_0x54ca5b,'color':_0x57bcee,'name':_0x55fe94,'selection':_0x28414c,'left':_0x426fb5,'top':_0x435d42,'width':_0x145849,'height':_0xd7f866,'evented':!0x1,'zIndex':$i};return new Li(_0x55fe94,_0x2869bc);});_0x42932f[_0x3ed641(0x392)](_0x4dffe1,wi),this[_0x3ed641(0x1f9)]=new Set(_0x4dffe1);}[_0x957043(0x35a)](){const _0x51b6b9=_0x957043;var _0x26fc0a;(_0x26fc0a=this['_cursors'])==null||_0x26fc0a[_0x51b6b9(0x3e7)](_0x5d5f49=>_0x5d5f49['dispose']());}[_0x957043(0x23f)](){const _0x4fcb07=_0x957043;return _0x506945(this[_0x4fcb07(0x2b3)][_0x4fcb07(0x2ad)],this['_context']);}};Pe=yi([ve(0x1,_0x79b2b4(_0x141869)),ve(0x2,_0x79b2b4(H)),ve(0x3,_0x79b2b4(_0x490aa5))],Pe);function xi(_0x3832d2){const _0x55153a=_0x957043,_0x5246d9=new Map();return _0x3832d2[_0x55153a(0x3e7)](_0x28ee67=>{const _0x38a842=_0x55153a;if(_0x5246d9[_0x38a842(0x23a)](_0x28ee67['selection'])){const _0x46d93e=_0x5246d9[_0x38a842(0x379)](_0x28ee67['selection']);_0x46d93e[_0x38a842(0x306)]+=',\x20'+_0x28ee67[_0x38a842(0x306)];}else _0x5246d9[_0x38a842(0x332)](_0x28ee67[_0x38a842(0x324)],_0x28ee67);}),Array[_0x55153a(0x2eb)](_0x5246d9[_0x55153a(0x286)]());}var v=function(){const _0x1a4c2a=_0x957043;return v=Object[_0x1a4c2a(0x30b)]||function(_0x5c5135){const _0x4026d6=_0x1a4c2a;for(var _0x3f5944,_0x372198=0x1,_0x4e8b8c=arguments[_0x4026d6(0x3d8)];_0x372198<_0x4e8b8c;_0x372198++){_0x3f5944=arguments[_0x372198];for(var _0xa4bdf1 in _0x3f5944)Object[_0x4026d6(0x325)][_0x4026d6(0x235)][_0x4026d6(0x320)](_0x3f5944,_0xa4bdf1)&&(_0x5c5135[_0xa4bdf1]=_0x3f5944[_0xa4bdf1]);}return _0x5c5135;},v[_0x1a4c2a(0x391)](this,arguments);},Bi=function(_0x3ce52a,_0x4163b9){const _0x8f2934=_0x957043;var _0x5d32fb={};for(var _0x5489f2 in _0x3ce52a)Object[_0x8f2934(0x325)][_0x8f2934(0x235)][_0x8f2934(0x320)](_0x3ce52a,_0x5489f2)&&_0x4163b9[_0x8f2934(0x33a)](_0x5489f2)<0x0&&(_0x5d32fb[_0x5489f2]=_0x3ce52a[_0x5489f2]);if(_0x3ce52a!=null&&typeof Object['getOwnPropertySymbols']==_0x8f2934(0x3cb)){for(var _0x340694=0x0,_0x5489f2=Object[_0x8f2934(0x353)](_0x3ce52a);_0x340694<_0x5489f2['length'];_0x340694++)_0x4163b9[_0x8f2934(0x33a)](_0x5489f2[_0x340694])<0x0&&Object[_0x8f2934(0x325)][_0x8f2934(0x365)][_0x8f2934(0x320)](_0x3ce52a,_0x5489f2[_0x340694])&&(_0x5d32fb[_0x5489f2[_0x340694]]=_0x3ce52a[_0x5489f2[_0x340694]]);}return _0x5d32fb;},je=_0x30f0d5(function(_0xa19441,_0x390604){const _0x404dbc=_0x957043;var _0x100928=_0xa19441[_0x404dbc(0x2bd)],_0x38a567=_0xa19441['id'],_0x15b6e4=_0xa19441[_0x404dbc(0x2ef)],_0x3c1a10=_0xa19441['extend'],_0x19a9e5=Bi(_0xa19441,[_0x404dbc(0x2bd),'id',_0x404dbc(0x2ef),_0x404dbc(0x292)]),_0x4dc419=_0x404dbc(0x370)['concat'](_0x38a567,'\x20')[_0x404dbc(0x367)](_0x15b6e4||'')['trim'](),_0x448d4d=_0x1a3d09('_'[_0x404dbc(0x367)](ji()));return Rt(_0x100928,''[_0x404dbc(0x367)](_0x38a567),{'defIds':_0x100928[_0x404dbc(0x250)],'idSuffix':_0x448d4d[_0x404dbc(0x350)]},v({'ref':_0x390604,'className':_0x4dc419},_0x19a9e5),_0x3c1a10);});function Rt(_0x135eb4,_0x286f5d,_0x4511c8,_0x3af8a5,_0x18ad9a){const _0x807de9=_0x957043;return _0x240f9b(_0x135eb4[_0x807de9(0x3f4)],v(v({'key':_0x286f5d},ki(_0x135eb4,_0x4511c8,_0x18ad9a)),_0x3af8a5),(Hi(_0x135eb4,_0x4511c8)['children']||[])['map'](function(_0x412062,_0x111b60){const _0x507ecc=_0x807de9;return Rt(_0x412062,''[_0x507ecc(0x367)](_0x286f5d,'-')[_0x507ecc(0x367)](_0x135eb4[_0x507ecc(0x3f4)],'-')[_0x507ecc(0x367)](_0x111b60),_0x4511c8,void 0x0,_0x18ad9a);}));}function ki(_0x5c2d22,_0x3ccf0d,_0x3aa32d){const _0x5d2fa8=_0x957043;var _0x22e56d=v({},_0x5c2d22['attrs']);_0x3aa32d!=null&&_0x3aa32d[_0x5d2fa8(0x2f7)]&&_0x22e56d[_0x5d2fa8(0x32f)]===_0x5d2fa8(0x2f7)&&(_0x22e56d['fill']=_0x3aa32d[_0x5d2fa8(0x2f7)]),_0x5c2d22[_0x5d2fa8(0x3f4)]===_0x5d2fa8(0x20b)&&_0x22e56d['id']&&(_0x22e56d['id']=_0x22e56d['id']+_0x3ccf0d['idSuffix']),Object[_0x5d2fa8(0x277)](_0x22e56d)[_0x5d2fa8(0x3e7)](function(_0x21ada5){const _0x2a2800=_0x5d2fa8;var _0x2f3e28=_0x21ada5[0x0],_0x317927=_0x21ada5[0x1];_0x2f3e28==='mask'&&typeof _0x317927=='string'&&(_0x22e56d[_0x2f3e28]=_0x317927[_0x2a2800(0x352)](/url\(#(.*)\)/,_0x2a2800(0x389)[_0x2a2800(0x367)](_0x3ccf0d['idSuffix'],')')));});var _0x50e0df=_0x3ccf0d['defIds'];return!_0x50e0df||_0x50e0df['length']===0x0||(_0x5c2d22['tag']===_0x5d2fa8(0x26e)&&_0x22e56d[_0x5d2fa8(0x2ed)]&&(_0x22e56d[_0x5d2fa8(0x2ed)]=_0x22e56d[_0x5d2fa8(0x2ed)]+_0x3ccf0d['idSuffix']),Object[_0x5d2fa8(0x277)](_0x22e56d)[_0x5d2fa8(0x3e7)](function(_0xaaee0f){const _0x564354=_0x5d2fa8;var _0x17e2a8=_0xaaee0f[0x0],_0xb54065=_0xaaee0f[0x1];typeof _0xb54065==_0x564354(0x381)&&(_0x22e56d[_0x17e2a8]=_0xb54065[_0x564354(0x352)](/url\(#(.*)\)/,'url(#$1'[_0x564354(0x367)](_0x3ccf0d[_0x564354(0x3d6)],')')));})),_0x22e56d;}function Hi(_0x12305a,_0x5dc4bf){const _0x532cbe=_0x957043;var _0x529733,_0x5aa15b=_0x5dc4bf[_0x532cbe(0x250)];return!_0x5aa15b||_0x5aa15b[_0x532cbe(0x3d8)]===0x0?_0x12305a:_0x12305a[_0x532cbe(0x3f4)]===_0x532cbe(0x29a)&&(!((_0x529733=_0x12305a[_0x532cbe(0x22b)])===null||_0x529733===void 0x0)&&_0x529733['length'])?v(v({},_0x12305a),{'children':_0x12305a['children'][_0x532cbe(0x3d3)](function(_0x315af1){const _0x47f42c=_0x532cbe;return typeof _0x315af1[_0x47f42c(0x3da)]['id']==_0x47f42c(0x381)&&_0x5aa15b&&_0x5aa15b[_0x47f42c(0x2ae)](_0x315af1[_0x47f42c(0x3da)]['id'])?v(v({},_0x315af1),{'attrs':v(v({},_0x315af1[_0x47f42c(0x3da)]),{'id':_0x315af1[_0x47f42c(0x3da)]['id']+_0x5dc4bf[_0x47f42c(0x3d6)]})}):_0x315af1;})}):_0x12305a;}function ji(){const _0x5dc45f=_0x957043;return Math[_0x5dc45f(0x2d0)]()[_0x5dc45f(0x2d2)](0x24)['substring'](0x2,0x8);}je['displayName']=_0x957043(0x279);var Yi={'tag':_0x957043(0x261),'attrs':{'xmlns':_0x957043(0x210),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x957043(0x374),'height':_0x957043(0x374)},'children':[{'tag':'g','attrs':{'clipPath':_0x957043(0x2ca)},'children':[{'tag':_0x957043(0x3b0),'attrs':{'stroke':'currentColor','d':_0x957043(0x369),'strokeLinecap':'round','strokeLinejoin':_0x957043(0x2f9),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x957043(0x37a)},'children':[{'tag':_0x957043(0x3b0),'attrs':{'fill':_0x957043(0x368),'d':_0x957043(0x296)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x30f0d5(function(_0x51daaa,_0x27d8ed){const _0x16a0fc=_0x957043;return _0x240f9b(je,Object['assign']({},_0x51daaa,{'id':_0x16a0fc(0x226),'ref':_0x27d8ed,'icon':Yi}));});Dt[_0x957043(0x297)]=_0x957043(0x275);var Fi={'tag':_0x957043(0x261),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x957043(0x31e),'viewBox':'0\x200\x2017\x2016','width':_0x957043(0x374),'height':_0x957043(0x374)},'children':[{'tag':'g','attrs':{'clipPath':_0x957043(0x2c5)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x957043(0x2f9),'strokeLinejoin':_0x957043(0x2f9),'strokeWidth':1.2}}]},{'tag':_0x957043(0x29a),'attrs':{},'children':[{'tag':_0x957043(0x3d5),'attrs':{'id':_0x957043(0x206)},'children':[{'tag':_0x957043(0x3b0),'attrs':{'fill':_0x957043(0x368),'d':_0x957043(0x296),'transform':_0x957043(0x208)}}]}]}],'defIds':[_0x957043(0x206)]},Nt=_0x30f0d5(function(_0x206459,_0x188777){const _0x28f667=_0x957043;return _0x240f9b(je,Object['assign']({},_0x206459,{'id':_0x28f667(0x22c),'ref':_0x188777,'icon':Fi}));});Nt[_0x957043(0x297)]=_0x957043(0x262);function Wi(_0x35f184){const _0x509274=_0x957043;switch(_0x35f184){case _0x381834[_0x509274(0x240)]:return _0x509274(0x23e);case _0x381834[_0x509274(0x28a)]:return _0x509274(0x21e);case _0x381834[_0x509274(0x321)]:return _0x509274(0x228);case _0x381834[_0x509274(0x23c)]:return _0x509274(0x3b1);case _0x381834[_0x509274(0x338)]:case _0x381834['AWAITING_WITH_PENDING']:return _0x509274(0x3e1);case _0x381834[_0x509274(0x289)]:case _0x381834[_0x509274(0x3ba)]:return _0x509274(0x2a6);}}function Vi(_0x14db9d){const _0x54a8de=_0x957043,{status$:_0xb933e2}=_0x14db9d,_0x2dd854=_0xf8189f(_0xb933e2,_0x381834['NOT_COLLAB']),_0x5680f7=_0x2f5b7c(_0x1476d7),_0x554f6e=_0x2f5b7c(_0x339ffc),_0x23aae3=_0x2dd854!==_0x381834[_0x54a8de(0x240)],_0xaddda6=_0x5680f7['t'](Wi(_0x2dd854)),_0x26094c=_0x23aae3?_0x35b522(Nt,{}):_0x35b522(Dt,{}),_0x3088ab=_0xcd9872(()=>{const _0x3fa734=_0x54a8de;_0x23aae3||_0x554f6e[_0x3fa734(0x37b)]();},[_0x23aae3,_0x554f6e]);function _0x35a9c9(){const _0x1b8bc2=_0x54a8de;return _0x34beb4(_0x1b8bc2(0x282),{'className':'univer-flex\x20univer-items-center','onClick':_0x3088ab,'children':[_0x35b522(_0x1b8bc2(0x282),{'className':_0x2074e2('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x23aae3,'univer-text-red-500':!_0x23aae3}),'children':_0x26094c}),_0x35b522('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xaddda6})]});}return _0x23aae3?_0x35a9c9():_0x35b522(_0x43bb58,{'title':_0x5680f7['t']('collab-client.tooltip.reconnect'),'children':_0x35a9c9()});}var Xi=Object[_0x957043(0x3e8)],Gi=(_0x4939ea,_0x420fc3,_0x4e0d20,_0x39fb3c)=>{const _0x2dd9aa=_0x957043;for(var _0x250293=_0x39fb3c>0x1?void 0x0:_0x39fb3c?Xi(_0x420fc3,_0x4e0d20):_0x420fc3,_0x456378=_0x4939ea[_0x2dd9aa(0x3d8)]-0x1,_0x30e20d;_0x456378>=0x0;_0x456378--)(_0x30e20d=_0x4939ea[_0x456378])&&(_0x250293=_0x30e20d(_0x250293)||_0x250293);return _0x250293;},Q=(_0x2b3d21,_0x385284)=>(_0x25d579,_0x4990a2)=>_0x385284(_0x25d579,_0x4990a2,_0x2b3d21);let te=class extends _0x4a6261{constructor(_0x4ce1c4,_0x1b947b,_0x4b16e0,_0x1a559d){const _0xb1e43a=_0x957043;super(),_(this,_0xb1e43a(0x28d),new _0x3dfdee(_0x381834[_0xb1e43a(0x23c)])),(this[_0xb1e43a(0x1f1)]=_0x4ce1c4,this['_injector']=_0x1b947b,this[_0xb1e43a(0x284)]=_0x4b16e0,this[_0xb1e43a(0x393)]=_0x1a559d,this[_0xb1e43a(0x3df)](),this[_0xb1e43a(0x2e3)]());}[_0x957043(0x2e3)](){const _0x26fca2=_0x957043;this[_0x26fca2(0x32b)](this['_univerInstanceService'][_0x26fca2(0x3ed)]['pipe'](_0xf18957(()=>{const _0x40e699=_0x26fca2,_0x1f06c6=this['_univerInstanceService'][_0x40e699(0x2b7)]();return _0x1f06c6?this['_collaborationController']['getCollabEntity$'](_0x1f06c6[_0x40e699(0x2f6)]()):_0x21ae2d(null);}),_0xf18957(_0xdc6dc0=>_0xdc6dc0?_0xdc6dc0[_0x26fca2(0x2d1)]:_0x21ae2d(_0x381834[_0x26fca2(0x23c)])))[_0x26fca2(0x3a6)](_0x1b3baf=>{const _0x2c0f76=_0x26fca2;this[_0x2c0f76(0x28d)][_0x2c0f76(0x3c9)](_0x1b3baf);}));}[_0x957043(0x3df)](){const _0x4e73dc=_0x957043;this['disposeWithMe'](this['_uiPartsService'][_0x4e73dc(0x2e6)](_0x313ed3['HEADER_MENU'],()=>_0x171d4c(Ki({'status$':this['_status$']['asObservable']()}),this[_0x4e73dc(0x267)])));}};te=Gi([Q(0x0,_0x16f134),Q(0x1,_0x79b2b4(_0x2f259a)),Q(0x2,_0x79b2b4(_0xb4f4a1)),Q(0x3,_0x386d61)],te);function Ki(_0x5e92cb){const {status$:_0x46c8a6}=_0x5e92cb;return function(){return _0x35b522(Vi,{'status$':_0x46c8a6});};}var zi=Object[_0x957043(0x3e8)],Ji=(_0xc8efaf,_0x4f9c42,_0x21ca22,_0x8f7ae8)=>{const _0x2f623e=_0x957043;for(var _0x280325=_0x8f7ae8>0x1?void 0x0:_0x8f7ae8?zi(_0x4f9c42,_0x21ca22):_0x4f9c42,_0x2f2dcb=_0xc8efaf[_0x2f623e(0x3d8)]-0x1,_0x2c830f;_0x2f2dcb>=0x0;_0x2f2dcb--)(_0x2c830f=_0xc8efaf[_0x2f2dcb])&&(_0x280325=_0x2c830f(_0x280325)||_0x280325);return _0x280325;},B=(_0x521c64,_0x315ae7)=>(_0x1792d1,_0x4dff8e)=>_0x315ae7(_0x1792d1,_0x4dff8e,_0x521c64);let se=class extends _0x4a6261{constructor(_0x18847a,_0x46a9bd,_0x2b2ed4,_0x4606d6,_0x1e931c,_0x215bee){const _0x195ad7=_0x957043;super(),this[_0x195ad7(0x36e)]=_0x18847a,this[_0x195ad7(0x340)]=_0x46a9bd,this[_0x195ad7(0x3e9)]=_0x2b2ed4,this[_0x195ad7(0x3bf)]=_0x4606d6,this[_0x195ad7(0x2dd)]=_0x1e931c,this[_0x195ad7(0x25a)]=_0x215bee,this[_0x195ad7(0x2e9)](),this['_initEvent']();}[_0x957043(0x2e9)](){const _0x54f54b=_0x957043;this['disposeWithMe'](this[_0x54f54b(0x36e)][_0x54f54b(0x2ff)](()=>{const _0x47d967=_0x54f54b;if(this[_0x47d967(0x340)][_0x47d967(0x2e7)][_0x47d967(0x342)])return this[_0x47d967(0x25a)]['t'](_0x47d967(0x3ee));}));}[_0x957043(0x309)](){const _0x28aee8=_0x957043;this[_0x28aee8(0x32b)](this[_0x28aee8(0x3e9)][_0x28aee8(0x202)][_0x28aee8(0x3a6)](_0x4ec1d1=>{const _0x44b012=_0x28aee8;_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x33f)]&&this[_0x44b012(0x3bf)]['show']({'type':_0x4af6a0[_0x44b012(0x24d)],'content':this[_0x44b012(0x25a)]['t']('collaboration.single-unit.warning')}),_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x3f0)]&&this[_0x44b012(0x3bf)]['show']({'type':_0x4af6a0['Warning'],'content':this['_localeService']['t'](_0x44b012(0x25b))}),_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x326)]&&this[_0x44b012(0x2dd)][_0x44b012(0x299)]({'title':this[_0x44b012(0x25a)]['t'](_0x44b012(0x347)),'content':this[_0x44b012(0x25a)]['t']('permission.content'),'type':_0x44b012(0x219),'duration':0x0}),_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x28a)]&&this[_0x44b012(0x3bf)][_0x44b012(0x299)]({'type':_0x4af6a0['Error'],'content':this[_0x44b012(0x25a)]['t'](_0x44b012(0x25b))+'('+_0x4ec1d1['data']+')'}),_0x4ec1d1['id']===_0x55ae13['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x4af6a0[_0x44b012(0x24d)],'content':this[_0x44b012(0x25a)]['t'](_0x4ec1d1[_0x44b012(0x301)]||'')}),_0x4ec1d1['id']===_0x55ae13['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x4af6a0[_0x44b012(0x24d)],'content':this[_0x44b012(0x25a)]['t'](_0x44b012(0x1f0))}),_0x4ec1d1['id']===_0x55ae13['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x4af6a0[_0x44b012(0x36c)],'content':this['_localeService']['t'](_0x44b012(0x314))}),_0x4ec1d1['id']===_0x55ae13[_0x44b012(0x3ca)]&&this[_0x44b012(0x3bf)][_0x44b012(0x299)]({'type':_0x4af6a0['Error'],'content':this[_0x44b012(0x25a)]['t'](_0x44b012(0x211))});}));}};se=Ji([B(0x0,_0x9a44af),B(0x1,_0x5a319b),B(0x2,_0x79b2b4(_0x53f425)),B(0x3,_0x4db31f),B(0x4,_0xec7202),B(0x5,_0x79b2b4(_0x1476d7))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0xe327bc('uni.network.url-service');var Qi=Object[_0x957043(0x3e8)],qi=(_0x48c957,_0x1983c6,_0x2858a6,_0x20fd23)=>{for(var _0x1809d=_0x20fd23>0x1?void 0x0:_0x20fd23?Qi(_0x1983c6,_0x2858a6):_0x1983c6,_0x5d994a=_0x48c957['length']-0x1,_0x4c2fa1;_0x5d994a>=0x0;_0x5d994a--)(_0x4c2fa1=_0x48c957[_0x5d994a])&&(_0x1809d=_0x4c2fa1(_0x1809d)||_0x1809d);return _0x1809d;},G=(_0x30a600,_0x55a975)=>(_0x5eae33,_0x597dbb)=>_0x55a975(_0x5eae33,_0x597dbb,_0x30a600);let ie=class extends _0x22c522{constructor(_0x36eb5e,_0x2095ea,_0x2743f8,_0x2b0457,_0x59f837){const _0x28d360=_0x957043;super(),this[_0x28d360(0x3d7)]=_0x36eb5e,this[_0x28d360(0x3e2)]=_0x2095ea,this['_commandService']=_0x2743f8,this[_0x28d360(0x2f4)]=_0x2b0457,_0x59f837?_0x59f837==null||_0x59f837[_0x28d360(0x225)]()[_0x28d360(0x2f8)](()=>this[_0x28d360(0x3b9)]()):(this[_0x28d360(0x3e2)][_0x28d360(0x2d9)](_0x28d360(0x2d8),_0x28d360(0x32a)),this[_0x28d360(0x3b9)]());}async['_init'](){const _0x191593=_0x957043,_0x5c734a=this[_0x191593(0x3d7)][_0x191593(0x38c)]('unit'),_0xc93a28=this['_urlService'][_0x191593(0x38c)](_0x191593(0x276)),_0x1c90e2=this[_0x191593(0x3d7)]['getParam'](_0x191593(0x24c));if(!_0x5c734a||!_0xc93a28){this[_0x191593(0x3e2)][_0x191593(0x2d9)]('[CollaborationDataLoaderController]',_0x191593(0x38b));return;}const _0x36b9dc=await this['_dataLoaderService'][_0x191593(0x2fa)](_0x5c734a,Number(_0xc93a28),_0x1c90e2);_0x36b9dc&&_0x36b9dc instanceof _0x479841&&this[_0x191593(0x32d)](_0x36b9dc);}async[_0x957043(0x32d)](_0x10bbad){const _0x5e0eb0=_0x957043;await this[_0x5e0eb0(0x25d)](_0x10bbad),_0x10bbad[_0x5e0eb0(0x363)][_0x5e0eb0(0x260)](_0x35dd28(this[_0x5e0eb0(0x2cb)]))[_0x5e0eb0(0x3a6)](_0x31ece6=>{_0x31ece6&&this['_updateURLWithCurrentState'](_0x31ece6);}),this['_urlService'][_0x5e0eb0(0x271)][_0x5e0eb0(0x260)](_0x35dd28(this[_0x5e0eb0(0x2cb)]))['subscribe'](()=>this[_0x5e0eb0(0x25d)](_0x10bbad));}[_0x957043(0x3f3)](_0x24113a,_0x1d1537=!0x1){const _0x1096e4=_0x957043,_0xec338f=this['_urlService']['getParam']('subunit');_0x24113a[_0x1096e4(0x2fc)]()!==_0xec338f&&this[_0x1096e4(0x3d7)][_0x1096e4(0x2e5)](_0x1096e4(0x24c),_0x24113a[_0x1096e4(0x2fc)](),_0x1d1537);}async[_0x957043(0x25d)](_0x30c9c7){const _0x356c92=_0x957043;var _0x2c981d;const _0x3e8d52=this[_0x356c92(0x3d7)][_0x356c92(0x38c)]('subunit');if(!_0x3e8d52||!_0x30c9c7[_0x356c92(0x2fd)](_0x3e8d52)){const _0x225b1f=_0x30c9c7[_0x356c92(0x253)]()[0x0],_0x4ca3f8=_0x30c9c7[_0x356c92(0x2fd)](_0x225b1f);if(!_0x4ca3f8)return;this['_updateURLWithCurrentState'](_0x4ca3f8,!0x0),await this[_0x356c92(0x2c2)]['executeCommand'](_0x110d33['id'],{'unitId':_0x30c9c7[_0x356c92(0x2f6)](),'subUnitId':_0x225b1f});return;}((_0x2c981d=_0x30c9c7[_0x356c92(0x3dc)]())==null?void 0x0:_0x2c981d[_0x356c92(0x2fc)]())!==_0x3e8d52&&await this[_0x356c92(0x2c2)][_0x356c92(0x36d)](_0x110d33['id'],{'unitId':_0x30c9c7['getUnitId'](),'subUnitId':_0x3e8d52});}};ie=qi([G(0x0,Ut),G(0x1,_0x2e1383),G(0x2,_0x46c5a2),G(0x3,_0x79b2b4(_0x1fab07)),G(0x4,_0x21772a(_0x3a4cf1))],ie);var en=Object[_0x957043(0x3e8)],tn=(_0x20d113,_0x3339a6,_0x5acce7,_0x30b168)=>{const _0x58555f=_0x957043;for(var _0x222298=_0x30b168>0x1?void 0x0:_0x30b168?en(_0x3339a6,_0x5acce7):_0x3339a6,_0x45f9e6=_0x20d113[_0x58555f(0x3d8)]-0x1,_0x2bb8ed;_0x45f9e6>=0x0;_0x45f9e6--)(_0x2bb8ed=_0x20d113[_0x45f9e6])&&(_0x222298=_0x2bb8ed(_0x222298)||_0x222298);return _0x222298;},pe=(_0x3b7ee8,_0x83f85c)=>(_0x42de23,_0x3d047e)=>_0x83f85c(_0x42de23,_0x3d047e,_0x3b7ee8);let ne=class{constructor(_0x35bd56,_0x5e20c7,_0x3faf83){const _0x54e17f=_0x957043;this[_0x54e17f(0x267)]=_0x35bd56,this[_0x54e17f(0x30f)]=_0x5e20c7,this[_0x54e17f(0x26f)]=_0x3faf83;}['transformIMECache'](_0x331ef1){const _0x5eb622=_0x957043;this[_0x5eb622(0x246)](_0x331ef1),this[_0x5eb622(0x39e)](_0x331ef1);}['transformRemoteChangeset'](_0x577335){const _0x195439=_0x957043,{unitID:_0x4767c4}=_0x577335,_0xb539a4=this[_0x195439(0x26f)][_0x195439(0x1f8)](_0x4767c4)[_0x195439(0x38e)](_0x598aad),{redoCache:_0x418a0f}=_0xb539a4[_0x195439(0x29d)]();if(_0x418a0f['length']===0x0)return _0x577335;let _0x3fa7f4=_0x5b06e2[_0x195439(0x22f)](_0x577335[_0x195439(0x278)][0x0]);for(let _0x1b74d8=0x0;_0x1b74d8<_0x418a0f[_0x195439(0x3d8)];_0x1b74d8++){const _0x147557={'id':_0x195439(0x254),'params':{..._0x418a0f[_0x1b74d8]}},_0x5d5096=this[_0x195439(0x30f)]['transformMutation'](_0x3fa7f4,_0x147557,!0x1);if(_0x7a4ffe(_0x5d5096))throw _0x5d5096[_0x195439(0x219)];_0x3fa7f4=_0x5d5096['m1Prime'];}return{..._0x5b06e2[_0x195439(0x22f)](_0x577335),'mutations':[_0x3fa7f4]};}[_0x957043(0x246)](_0x2826c9){const _0x1c493e=_0x957043,{unitID:_0x5c797e}=_0x2826c9,_0x327d93=this[_0x1c493e(0x26f)][_0x1c493e(0x1f8)](_0x5c797e)[_0x1c493e(0x38e)](_0x598aad),{undoCache:_0x55affb,redoCache:_0x118ee3}=_0x327d93[_0x1c493e(0x29d)]();if(_0x55affb[_0x1c493e(0x3d8)]===0x0||_0x118ee3[_0x1c493e(0x3d8)]===0x0)return;const _0x1f557a=[],_0x82c7e=[];let _0x8c302b=_0x5b06e2[_0x1c493e(0x22f)](_0x2826c9[_0x1c493e(0x278)][0x0]),_0x1ea9bf=_0x5b06e2[_0x1c493e(0x22f)](_0x2826c9[_0x1c493e(0x278)][0x0]);for(let _0xd5db5d=_0x55affb[_0x1c493e(0x3d8)]-0x1;_0xd5db5d>=0x0;_0xd5db5d--){const _0x4dbe6b={'id':'doc.mutation.rich-text-editing','params':{..._0x55affb[_0xd5db5d]}},_0x1373d8={'id':'doc.mutation.rich-text-editing','params':{..._0x118ee3[_0xd5db5d]}},_0x3e464d=this[_0x1c493e(0x30f)][_0x1c493e(0x356)](_0x8c302b,_0x4dbe6b,!0x1),_0x43b831=this[_0x1c493e(0x30f)][_0x1c493e(0x356)](_0x1ea9bf,_0x1373d8,!0x1);if(_0x7a4ffe(_0x3e464d))throw _0x3e464d[_0x1c493e(0x219)];if(_0x7a4ffe(_0x43b831))throw _0x43b831[_0x1c493e(0x219)];_0x1f557a['unshift'](_0x3e464d['m2Prime'][_0x1c493e(0x385)]),_0x82c7e[_0x1c493e(0x3c7)](_0x43b831[_0x1c493e(0x2fb)][_0x1c493e(0x385)]),_0x8c302b=_0x3e464d['m1Prime'],_0x1ea9bf=_0x43b831['m1Prime'];}_0x327d93[_0x1c493e(0x27b)]({'undoCache':_0x1f557a,'redoCache':_0x82c7e});}[_0x957043(0x39e)](_0x192713){const _0x2b83f3=_0x957043,{unitID:_0x5d6e03}=_0x192713,_0x57b664=this[_0x2b83f3(0x26f)][_0x2b83f3(0x1f8)](_0x5d6e03)['with'](_0x598aad),_0x9a916d=_0x57b664[_0x2b83f3(0x327)]();if(_0x9a916d==null)return;const _0x2eea65=[{'id':_0x2b83f3(0x254),'params':{'unitId':_0x192713[_0x2b83f3(0x215)],'actions':null,'textRanges':[_0x9a916d]}}],_0x2068fa=this[_0x2b83f3(0x30f)][_0x2b83f3(0x2cf)](_0x192713,_0x2eea65);if(!_0x55936b(_0x2068fa))throw _0x2068fa['error'];const _0x4820d6=_0x2068fa['m2Prime'][0x0][_0x2b83f3(0x385)][_0x2b83f3(0x375)];Array[_0x2b83f3(0x303)](_0x4820d6)&&_0x4820d6[_0x2b83f3(0x3d8)]&&_0x57b664[_0x2b83f3(0x251)](_0x4820d6[0x0]);}};ne=tn([pe(0x0,_0x79b2b4(_0x2f259a)),pe(0x1,_0x417ff5),pe(0x2,_0x47cbf5)],ne);var sn=Object[_0x957043(0x3e8)],nn=(_0x483767,_0x1e8100,_0x2e913a,_0x53f907)=>{const _0x307d67=_0x957043;for(var _0x10d62e=_0x53f907>0x1?void 0x0:_0x53f907?sn(_0x1e8100,_0x2e913a):_0x1e8100,_0x555a2f=_0x483767[_0x307d67(0x3d8)]-0x1,_0x57d244;_0x555a2f>=0x0;_0x555a2f--)(_0x57d244=_0x483767[_0x555a2f])&&(_0x10d62e=_0x57d244(_0x10d62e)||_0x10d62e);return _0x10d62e;},Ce=(_0x221600,_0x16623a)=>(_0x27ae3f,_0x96de15)=>_0x16623a(_0x27ae3f,_0x96de15,_0x221600);let re=class{constructor(_0xd33bab,_0x4cd51f,_0x568f44){const _0x30bae5=_0x957043;this[_0x30bae5(0x267)]=_0xd33bab,this[_0x30bae5(0x30f)]=_0x4cd51f,this['_docStateChangeManagerService']=_0x568f44;}[_0x957043(0x384)](_0x2be115){const _0x4fd0f1=_0x957043;this[_0x4fd0f1(0x274)](_0x2be115);}[_0x957043(0x2c0)](_0x2cb39a){const _0x1bcfa0=_0x957043,{unitID:_0x5d5d6b}=_0x2cb39a,{collaboration:_0x3062a8}=this['_docStateChangeManagerService'][_0x1bcfa0(0x3e0)](_0x5d5d6b);if(_0x3062a8[_0x1bcfa0(0x3d8)]===0x0)return _0x2cb39a;let _0x3428fc=_0x5b06e2['deepClone'](_0x2cb39a['mutations'][0x0]);for(let _0x22c453=0x0;_0x22c453<_0x3062a8['length'];_0x22c453++){const _0x5bf778={'id':_0x1bcfa0(0x254),'params':{'unitId':_0x3062a8[_0x22c453][_0x1bcfa0(0x30d)],..._0x3062a8[_0x22c453][_0x1bcfa0(0x397)]}},_0xd6601=this[_0x1bcfa0(0x30f)][_0x1bcfa0(0x356)](_0x3428fc,_0x5bf778,!0x1);if(_0x7a4ffe(_0xd6601))throw _0xd6601['error'];_0x3428fc=_0xd6601[_0x1bcfa0(0x307)];}return{..._0x5b06e2['deepClone'](_0x2cb39a),'mutations':[_0x3428fc]};}['_transformHistoryAndStateStack'](_0x223393){const _0x5f3895=_0x957043,{unitID:_0x22b3f2}=_0x223393,{history:_0xfa1044,collaboration:_0x26b133}=this['_docStateChangeManagerService'][_0x5f3895(0x3e0)](_0x22b3f2);if(_0xfa1044[_0x5f3895(0x3d8)]===0x0&&_0x26b133[_0x5f3895(0x3d8)]===0x0)return;const _0x2c2b6d=[],_0x367952=[];let _0x4d55b3=_0x5b06e2[_0x5f3895(0x22f)](_0x223393[_0x5f3895(0x278)][0x0]),_0x4ef1bb=_0x5b06e2[_0x5f3895(0x22f)](_0x223393['mutations'][0x0]);for(let _0x42a0f5=_0xfa1044[_0x5f3895(0x3d8)]-0x1;_0x42a0f5>=0x0;_0x42a0f5--){const _0x2a736a={'id':_0x5f3895(0x254),'params':{'unitId':_0xfa1044[_0x42a0f5]['unitId'],..._0xfa1044[_0x42a0f5]['undoState']}},_0x11c97e={'id':_0x5f3895(0x254),'params':{'unitId':_0xfa1044[_0x42a0f5][_0x5f3895(0x30d)],..._0xfa1044[_0x42a0f5][_0x5f3895(0x397)]}},_0x59d9a3=this[_0x5f3895(0x30f)][_0x5f3895(0x356)](_0x4d55b3,_0x2a736a,!0x1),_0xc0e73f=this[_0x5f3895(0x30f)][_0x5f3895(0x356)](_0x4ef1bb,_0x11c97e,!0x1);if(_0x7a4ffe(_0x59d9a3))throw _0x59d9a3[_0x5f3895(0x219)];if(_0x7a4ffe(_0xc0e73f))throw _0xc0e73f['error'];_0x2c2b6d[_0x5f3895(0x3c7)]({..._0xfa1044[_0x42a0f5],'undoState':_0x59d9a3[_0x5f3895(0x2fb)][_0x5f3895(0x385)],'redoState':_0xc0e73f['m2Prime'][_0x5f3895(0x385)]}),_0x4d55b3=_0x59d9a3['m1Prime'],_0x4ef1bb=_0xc0e73f['m1Prime'];}_0x4d55b3=_0x5b06e2[_0x5f3895(0x22f)](_0x223393[_0x5f3895(0x278)][0x0]),_0x4ef1bb=_0x5b06e2[_0x5f3895(0x22f)](_0x223393[_0x5f3895(0x278)][0x0]);for(let _0x38cff5=_0x26b133[_0x5f3895(0x3d8)]-0x1;_0x38cff5>=0x0;_0x38cff5--){const _0x17f5da={'id':_0x5f3895(0x254),'params':{'unitId':_0x26b133[_0x38cff5][_0x5f3895(0x30d)],..._0x26b133[_0x38cff5][_0x5f3895(0x2e0)]}},_0x40effe={'id':_0x5f3895(0x254),'params':{'unitId':_0x26b133[_0x38cff5]['unitId'],..._0x26b133[_0x38cff5][_0x5f3895(0x397)]}},_0x19c0a0=this[_0x5f3895(0x30f)][_0x5f3895(0x356)](_0x4d55b3,_0x17f5da,!0x1),_0x509826=this[_0x5f3895(0x30f)]['transformMutation'](_0x4ef1bb,_0x40effe,!0x1);if(_0x7a4ffe(_0x19c0a0))throw _0x19c0a0[_0x5f3895(0x219)];if(_0x7a4ffe(_0x509826))throw _0x509826[_0x5f3895(0x219)];_0x367952[_0x5f3895(0x3c7)]({..._0x26b133[_0x38cff5],'undoState':_0x19c0a0[_0x5f3895(0x2fb)][_0x5f3895(0x385)],'redoState':_0x509826[_0x5f3895(0x2fb)][_0x5f3895(0x385)]}),_0x4d55b3=_0x19c0a0[_0x5f3895(0x307)],_0x4ef1bb=_0x509826[_0x5f3895(0x307)];}this[_0x5f3895(0x224)][_0x5f3895(0x3d2)](_0x22b3f2,{'history':_0x2c2b6d,'collaboration':_0x367952});}};re=nn([Ce(0x0,_0x79b2b4(_0x2f259a)),Ce(0x1,_0x417ff5),Ce(0x2,_0x79b2b4(_0x31daa2))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x885178,_0x94d148,_0x25427e,_0x297bb0)=>{const _0x369752=_0x957043;for(var _0x414107=_0x297bb0>0x1?void 0x0:_0x297bb0?rn(_0x94d148,_0x25427e):_0x94d148,_0x25c9f9=_0x885178[_0x369752(0x3d8)]-0x1,_0x32db1a;_0x25c9f9>=0x0;_0x25c9f9--)(_0x32db1a=_0x885178[_0x25c9f9])&&(_0x414107=_0x32db1a(_0x414107)||_0x414107);return _0x414107;},tt=(_0x3bd099,_0x5ea602)=>(_0x4e94db,_0x2829d9)=>_0x5ea602(_0x4e94db,_0x2829d9,_0x3bd099);let oe=class{constructor(_0x13e5c7,_0x51a8a9){const _0x57694a=_0x957043;this['_injector']=_0x13e5c7,this[_0x57694a(0x30f)]=_0x51a8a9;}['transformSelections'](_0x23f9aa){const _0xba9ec0=_0x957043;var _0x59b4e5;const _0x23fac9=this['_injector'][_0xba9ec0(0x379)](_0x50dd36),_0x409bd6=(_0x59b4e5=_0x23fac9[_0xba9ec0(0x2a3)]())!=null?_0x59b4e5:[];if(_0x409bd6[_0xba9ec0(0x3d8)]===0x0)return;const _0x43c06d=_0x23f9aa[_0xba9ec0(0x215)],_0xec58fd=[{'id':_0xba9ec0(0x254),'params':{'unitId':_0x43c06d,'actions':null,'textRanges':_0x409bd6}}],_0x139bdc=this[_0xba9ec0(0x30f)][_0xba9ec0(0x2cf)](_0x23f9aa,_0xec58fd);if(!_0x55936b(_0x139bdc))throw _0x139bdc[_0xba9ec0(0x219)];const _0x10a0bb=_0x139bdc[_0xba9ec0(0x2fb)][0x0][_0xba9ec0(0x385)][_0xba9ec0(0x375)];Array[_0xba9ec0(0x303)](_0x10a0bb)&&_0x10a0bb[_0xba9ec0(0x3d8)]&&_0x23fac9[_0xba9ec0(0x300)](_0x10a0bb,{'unitId':_0x43c06d,'subUnitId':_0x43c06d},!0x1);}};oe=on([tt(0x0,_0x79b2b4(_0x2f259a)),tt(0x1,_0x417ff5)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x260b3e,_0x1070ba,_0x5b70b2,_0xa3935f)=>{for(var _0x126024=_0xa3935f>0x1?void 0x0:_0xa3935f?an(_0x1070ba,_0x5b70b2):_0x1070ba,_0x219d1d=_0x260b3e['length']-0x1,_0x430d1a;_0x219d1d>=0x0;_0x219d1d--)(_0x430d1a=_0x260b3e[_0x219d1d])&&(_0x126024=_0x430d1a(_0x126024)||_0x126024);return _0x126024;},U=(_0x9cfa95,_0x4cf28a)=>(_0x14e166,_0x5b2429)=>_0x4cf28a(_0x14e166,_0x5b2429,_0x9cfa95);let ae=class extends _0x4a6261{constructor(_0x38ead8,_0x57b153,_0x184cd0,_0x48681b,_0x42c082,_0x10b1ad,_0x46fc48,_0x211e94){const _0x517b93=_0x957043;super(),_(this,_0x517b93(0x28d),new _0x3dfdee(_0x381834[_0x517b93(0x23c)])),(this[_0x517b93(0x224)]=_0x38ead8,this[_0x517b93(0x284)]=_0x57b153,this[_0x517b93(0x2c8)]=_0x184cd0,this[_0x517b93(0x3bd)]=_0x48681b,this['_docTransformSelectionsService']=_0x42c082,this[_0x517b93(0x26b)]=_0x10b1ad,this['_messageService']=_0x46fc48,this[_0x517b93(0x25a)]=_0x211e94,this['_initEntityListener']());}[_0x957043(0x204)](){const _0x262041=_0x957043;this[_0x262041(0x32b)](this['_collaborationController'][_0x262041(0x2c4)]['subscribe'](_0x162961=>{const _0x3e77a0=_0x262041,_0x462937=this[_0x3e77a0(0x224)]['docStateChange$'][_0x3e77a0(0x3a6)](_0x5a38a8=>{const _0x56d76f=_0x3e77a0;if(_0x5a38a8==null)return;const {unitId:_0x2d302a,redoState:_0x18ffc5,commandId:_0x353fcd}=_0x5a38a8;if(_0x2d302a!==_0x162961[_0x56d76f(0x215)])return;const _0x715dc4={'id':_0x353fcd,'type':_0x474b7f[_0x56d76f(0x223)],'params':{'unitId':_0x2d302a,'actions':_0x18ffc5[_0x56d76f(0x3b6)],'textRanges':null}};_0x162961[_0x56d76f(0x3a5)](_0x715dc4);});if(_0x162961[_0x3e77a0(0x32b)](_0x462937),_0x162961 instanceof _0x15a596){const _0x51b417={'onTransformIME':_0x2c8d72=>this[_0x3e77a0(0x2c8)][_0x3e77a0(0x336)](_0x2c8d72),'onTransformState':_0x323518=>this[_0x3e77a0(0x3bd)][_0x3e77a0(0x384)](_0x323518),'onTransformSelections':_0x16d95b=>this[_0x3e77a0(0x283)]['transformSelections'](_0x16d95b),'onSyncEditingCollabCursor':_0x42e347=>this[_0x3e77a0(0x26b)][_0x3e77a0(0x29c)](_0x42e347),'onTransformRemoteChangesetByIMECache':_0x48f8b2=>this['_docTransformIMECacheService'][_0x3e77a0(0x2c0)](_0x48f8b2),'onTransformRemoteChangesetByStateCache':_0x4f2da8=>this['_docTransformStateCacheService'][_0x3e77a0(0x2c0)](_0x4f2da8)};_0x162961['addHandlerCallback'](_0x51b417);}}));}};ae=cn([U(0x0,_0x79b2b4(_0x31daa2)),U(0x1,_0x79b2b4(_0xb4f4a1)),U(0x2,_0x79b2b4(ne)),U(0x3,_0x79b2b4(re)),U(0x4,_0x79b2b4(oe)),U(0x5,_0x79b2b4(He)),U(0x6,_0x4db31f),U(0x7,_0x79b2b4(_0x1476d7))],ae);var ln=Object[_0x957043(0x3e8)],_n=(_0x2ebd5e,_0xd3201b,_0x56a0a5,_0x15a4d5)=>{const _0x1bde5c=_0x957043;for(var _0x32b4cc=_0x15a4d5>0x1?void 0x0:_0x15a4d5?ln(_0xd3201b,_0x56a0a5):_0xd3201b,_0x551d95=_0x2ebd5e[_0x1bde5c(0x3d8)]-0x1,_0x982deb;_0x551d95>=0x0;_0x551d95--)(_0x982deb=_0x2ebd5e[_0x551d95])&&(_0x32b4cc=_0x982deb(_0x32b4cc)||_0x32b4cc);return _0x32b4cc;},Ee=(_0x14bb77,_0x474cd0)=>(_0x46da52,_0x4ec542)=>_0x474cd0(_0x46da52,_0x4ec542,_0x14bb77);let Le=class extends _0x4a6261{constructor(_0x4f4749,_0x513b9b,_0x222ea3){const _0x5eedc7=_0x957043;super(),_(this,_0x5eedc7(0x247),new Map()),_(this,_0x5eedc7(0x234),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x4f4749,this[_0x5eedc7(0x386)]=_0x513b9b,this[_0x5eedc7(0x285)]=_0x222ea3);}[_0x957043(0x3a0)](){const _0x2d7cb4=_0x957043;this[_0x2d7cb4(0x3b5)]=!0x0;}[_0x957043(0x23b)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x55a4dc=_0x957043;return this[_0x55a4dc(0x234)];}['dispose'](){const _0x1e82b0=_0x957043;this[_0x1e82b0(0x213)]()[_0x1e82b0(0x2f8)](()=>super['dispose']());}async[_0x957043(0x1f7)](_0x499163){const _0x84b472=_0x957043;return this[_0x84b472(0x3b5)]?null:this[_0x84b472(0x386)][_0x84b472(0x3c2)](_0x40f1fa(_0x499163));}async[_0x957043(0x355)](_0x2417e2,_0x255b8c){return!!this['_localStorageService']['setItem'](_0x2417e2,_0x255b8c);}[_0x957043(0x257)](_0x220291,_0x18bf7c,_0x295d88,_0x559830){const _0x2b56f6=_0x957043,_0x3d9747=this['_revisionService'][_0x2b56f6(0x311)](_0x220291);this[_0x2b56f6(0x247)][_0x2b56f6(0x332)](_0x220291,{'unitID':_0x220291,'type':_0x18bf7c,'awaitingChangeset':_0x295d88,'mutations':_0x559830,'rev':_0x3d9747}),this[_0x2b56f6(0x234)][_0x2b56f6(0x23a)](_0x220291)||this[_0x2b56f6(0x378)](_0x220291);}[_0x957043(0x378)](_0x258594){const _0x22c700=_0x957043,_0xa48b25=this[_0x22c700(0x207)]();_0xa48b25===0x0?this[_0x22c700(0x364)](_0x258594):this[_0x22c700(0x234)][_0x22c700(0x332)](_0x258594,setTimeout(()=>this[_0x22c700(0x364)](_0x258594),_0xa48b25));}['_getSaveTimeout'](){var _0x4a5b5c;return(_0x4a5b5c=this['_configService']['getConfig'](_0x401078))!=null?_0x4a5b5c:_0x21a9c4;}[_0x957043(0x364)](_0x52fba5){const _0x4cd575=_0x957043,_0x1ff893=this['_saveTaskMap'][_0x4cd575(0x379)](_0x52fba5);return _0x1ff893!==void 0x0&&window[_0x4cd575(0x3ab)](_0x1ff893),this[_0x4cd575(0x386)][_0x4cd575(0x2af)](_0x40f1fa(_0x52fba5),this[_0x4cd575(0x247)][_0x4cd575(0x379)](_0x52fba5))[_0x4cd575(0x2f8)](()=>this[_0x4cd575(0x234)][_0x4cd575(0x333)](_0x52fba5));}async[_0x957043(0x213)](){const _0x142a44=_0x957043,_0x30a75d=[];this[_0x142a44(0x234)][_0x142a44(0x3e7)]((_0x272c37,_0x10fb34)=>{const _0xba0afc=_0x142a44;window[_0xba0afc(0x3ab)](_0x272c37),_0x30a75d[_0xba0afc(0x3c4)](this[_0xba0afc(0x364)](_0x10fb34)[_0xba0afc(0x2f8)](()=>{this['_saveTaskMap']['delete'](_0x10fb34);}));}),await Promise[_0x142a44(0x3ef)](_0x30a75d);}};Le=_n([Ee(0x0,_0x1240a8),Ee(0x1,_0x39a058),Ee(0x2,_0x79b2b4(_0x1c0e24))],Le);class hn extends _0x22c522{constructor(){const _0x4e3610=_0x957043;super(),_(this,_0x4e3610(0x271)),this[_0x4e3610(0x271)]=_0x378028(window,'popstate')[_0x4e3610(0x260)](_0x35dd28(this[_0x4e3610(0x2cb)]),_0x203da3(0x1),_0x60024(void 0x0));}[_0x957043(0x2e5)](_0x50aa23,_0x1087f0,_0x5acf30=!0x1){const _0x43fd7a=_0x957043,_0xdb2617=new URL(window[_0x43fd7a(0x295)]['href']);_0xdb2617[_0x43fd7a(0x3e4)][_0x43fd7a(0x332)](_0x50aa23,_0x1087f0),_0x5acf30?window[_0x43fd7a(0x305)][_0x43fd7a(0x3e5)]('','',_0xdb2617[_0x43fd7a(0x2d2)]()):window[_0x43fd7a(0x305)][_0x43fd7a(0x243)]('','',_0xdb2617[_0x43fd7a(0x2d2)]());}[_0x957043(0x32c)](_0x2ad86e,_0xbc4fbe=!0x1){const _0x4d6350=_0x957043,_0x1e312f=new URL(window['location'][_0x4d6350(0x32e)]);_0x1e312f[_0x4d6350(0x3e4)][_0x4d6350(0x333)](_0x2ad86e),_0xbc4fbe?window['history'][_0x4d6350(0x3e5)]('','',_0x1e312f[_0x4d6350(0x2d2)]()):window[_0x4d6350(0x305)][_0x4d6350(0x243)]('','',_0x1e312f[_0x4d6350(0x2d2)]());}[_0x957043(0x38c)](_0x118917){const _0x4e44bc=_0x957043;var _0x4ab799;return(_0x4ab799=new URL(window[_0x4e44bc(0x295)]['href'])[_0x4e44bc(0x3e4)][_0x4e44bc(0x379)](_0x118917))!=null?_0x4ab799:void 0x0;}}var un=Object[_0x957043(0x380)],dn=Object[_0x957043(0x3e8)],fn=(_0x447e31,_0x568509,_0x5ab483)=>_0x568509 in _0x447e31?un(_0x447e31,_0x568509,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ab483}):_0x447e31[_0x568509]=_0x5ab483,Sn=(_0x56b8cf,_0x1acabc,_0x381bb6,_0x459b21)=>{const _0xec5bc7=_0x957043;for(var _0x5c0aed=_0x459b21>0x1?void 0x0:_0x459b21?dn(_0x1acabc,_0x381bb6):_0x1acabc,_0x143c25=_0x56b8cf[_0xec5bc7(0x3d8)]-0x1,_0x2b0573;_0x143c25>=0x0;_0x143c25--)(_0x2b0573=_0x56b8cf[_0x143c25])&&(_0x5c0aed=_0x2b0573(_0x5c0aed)||_0x5c0aed);return _0x5c0aed;},Oe=(_0x45af00,_0x22a818)=>(_0x1dd26d,_0x50e2fe)=>_0x22a818(_0x1dd26d,_0x50e2fe,_0x45af00),mn=(_0x11a2b2,_0x38d2d5,_0x3efeac)=>fn(_0x11a2b2,_0x38d2d5+'',_0x3efeac);const In=_0x957043(0x302);let Ae=class extends _0x2dcb54{constructor(_0xebfd05=et,_0x345883,_0x183f1f,_0x511924){const _0x2a8a8d=_0x957043;super(),this[_0x2a8a8d(0x2ee)]=_0xebfd05,this['_renderManagerService']=_0x345883,this[_0x2a8a8d(0x267)]=_0x183f1f,this[_0x2a8a8d(0x3b4)]=_0x511924;const {..._0x42df2e}=_0x2ae923({},et,this[_0x2a8a8d(0x2ee)]);this['_configService'][_0x2a8a8d(0x3d9)](Zi,_0x42df2e);}[_0x957043(0x22e)](){const _0x2ec5cd=_0x957043;this[_0x2ec5cd(0x2d4)](),this[_0x2ec5cd(0x337)]();}['onRendered'](){const _0x116ef3=_0x957043;this[_0x116ef3(0x316)]();}['_registerDependencies'](){const _0x52ed7e=_0x957043;var _0x1bbfb5;const _0x2ed58a=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x31e56d,{'useClass':_0x341ba9}],[_0x5a319b,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x2c55ae(this[_0x52ed7e(0x267)],_0x31859f(_0x2ed58a,(_0x1bbfb5=this['_config'])==null?void 0x0:_0x1bbfb5['override']));}[_0x957043(0x316)](){const _0x2d386a=_0x957043;this[_0x2d386a(0x32b)](this['_renderManagerService'][_0x2d386a(0x28f)](_0x11e791[_0x2d386a(0x34e)],[we])),this[_0x2d386a(0x32b)](this['_renderManagerService'][_0x2d386a(0x28f)](_0x11e791[_0x2d386a(0x1f5)],[Pe]));}[_0x957043(0x337)](){const _0x568135=_0x957043;_0x2c36fb(this[_0x568135(0x267)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x957043(0x1fb),In),Ae=Sn([_0x44505e(_0x2b25da),Oe(0x1,_0x47cbf5),Oe(0x2,_0x79b2b4(_0x2f259a)),Oe(0x3,_0x1240a8)],Ae);var gn=Object[_0x957043(0x3e8)],vn=(_0xaff37a,_0x2cb36d,_0x4dda4f,_0x1284db)=>{const _0x22c3ea=_0x957043;for(var _0x41aeec=_0x1284db>0x1?void 0x0:_0x1284db?gn(_0x2cb36d,_0x4dda4f):_0x2cb36d,_0x2dde54=_0xaff37a[_0x22c3ea(0x3d8)]-0x1,_0x23b3ab;_0x2dde54>=0x0;_0x2dde54--)(_0x23b3ab=_0xaff37a[_0x2dde54])&&(_0x41aeec=_0x23b3ab(_0x41aeec)||_0x41aeec);return _0x41aeec;},K=(_0xee915f,_0x37ad1e)=>(_0x4d5ff1,_0x330c48)=>_0x37ad1e(_0x4d5ff1,_0x330c48,_0xee915f);let st=class extends _0x103486{constructor(_0x468760,_0x32333e,_0x1e5a04,_0x301087,_0x1e8577){super(_0x468760,_0x32333e,_0x1e5a04,_0x301087,_0x1e8577);}async[_0x957043(0x2b1)](_0x3fe373){const _0x5cf00d=_0x957043,_0x1dc9db=await this[_0x5cf00d(0x2ec)](),_0x36a15b=this['_createSocketURL'](_0x3fe373,_0x1dc9db);return this[_0x5cf00d(0x35c)](_0x36a15b);}['_createSocketURL'](_0x338edd,_0x33f5bb){const _0x34c96b=_0x957043,_0x77f023=typeof window>'u'?new URL(_0x338edd):new URL(_0x338edd,window[_0x34c96b(0x295)]['origin']);_0x77f023['searchParams']['set'](_0x34c96b(0x3a7),_0x33f5bb);const _0x25bbf0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x34c96b(0x3f2)]);return _0x25bbf0['get']('runId')&&_0x77f023['searchParams'][_0x34c96b(0x332)](_0x34c96b(0x1fe),_0x25bbf0[_0x34c96b(0x379)](_0x34c96b(0x1fe))),_0x77f023[_0x34c96b(0x2d2)]();}async[_0x957043(0x2ec)](){const _0x36dc77=_0x957043;var _0x1503bd,_0x57cb2a,_0x110cc9;const _0x190fcc=this[_0x36dc77(0x3b4)][_0x36dc77(0x3cf)](_0x54b645),_0xe3ad60=(_0x1503bd=_0x190fcc==null?void 0x0:_0x190fcc[_0x36dc77(0x3ea)])!=null?_0x1503bd:_0x2c21f0;return(_0x110cc9=(_0x57cb2a=(await this[_0x36dc77(0x3c1)][_0x36dc77(0x379)](_0xe3ad60,{'headers':{'Content-Type':_0x36dc77(0x312)}}))[_0x36dc77(0x3cd)])==null?void 0x0:_0x57cb2a[_0x36dc77(0x21b)])!=null?_0x110cc9:'';}};st=vn([K(0x0,_0x79b2b4(_0x2f259a)),K(0x1,_0x79b2b4(_0x34a3dc)),K(0x2,_0x1240a8),K(0x3,_0x2e1383),K(0x4,_0x63c1ef)],st);const it=0x7530,nt=_0x957043(0x339);class jn extends _0x4a6261{constructor(){const _0x3d644f=_0x957043;super(),_(this,_0x3d644f(0x3db),_0x1e3df9()),_(this,_0x3d644f(0x24e),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x3d644f(0x323),new Map()),_(this,_0x3d644f(0x390),new Map()),this[_0x3d644f(0x3b9)]();}[_0x957043(0x3aa)](){const _0x2a54c7=_0x957043;super[_0x2a54c7(0x3aa)](),this['_clearOtherTimers']['forEach']((_0x2140e9,_0x332133)=>this['_removeClearOtherTimer'](_0x332133)),this[_0x2a54c7(0x1ee)]&&window[_0x2a54c7(0x263)](this[_0x2a54c7(0x1ee)]);}['getUnitStatus$'](_0x1b56aa){const _0x252d28=_0x957043;return this['_ensureSubject'](_0x1b56aa)[_0x252d28(0x260)](_0xb813e9());}['editingUnit'](_0x5281f0){const _0x5d58c3=_0x957043;this[_0x5d58c3(0x24e)][_0x5d58c3(0x342)]===0x0&&this[_0x5d58c3(0x2ea)](),this[_0x5d58c3(0x24e)][_0x5d58c3(0x242)](_0x5281f0),this[_0x5d58c3(0x3bc)]({'type':0x0,'memberID':this[_0x5d58c3(0x3db)],'unitIDs':[_0x5281f0],'isForwarded':!0x1});}[_0x957043(0x29f)](_0x425ddd){const _0x4b7739=_0x957043;this[_0x4b7739(0x24e)][_0x4b7739(0x333)](_0x425ddd),this[_0x4b7739(0x24e)][_0x4b7739(0x342)]===0x0&&this[_0x4b7739(0x1ee)]&&window[_0x4b7739(0x263)](this['_heartbeatTimer']);}['_init'](){const _0xffa526=_0x957043;this['disposeWithMe'](_0x197fb6(_0x378028(window,_0xffa526(0x29e))['subscribe'](_0x25b8d1=>{const _0x39194f=_0xffa526;if(_0x25b8d1[_0x39194f(0x2f1)]!==nt||!_0x25b8d1['newValue'])return;const _0x453c28=JSON[_0x39194f(0x2a2)](_0x25b8d1[_0x39194f(0x322)]);this[_0x39194f(0x1fc)](_0x453c28);}))),window[_0xffa526(0x22a)]('unload',()=>this[_0xffa526(0x3bc)]({'type':0x1,'memberID':this[_0xffa526(0x3db)],'unitIDs':Array[_0xffa526(0x2eb)](this[_0xffa526(0x24e)])}));}[_0x957043(0x1fc)](_0x5b32bb){const _0x656702=_0x957043;switch(_0x5b32bb[_0x656702(0x276)]){case 0x0:this[_0x656702(0x273)](_0x5b32bb);break;case 0x1:this['_handleLeaveEvent'](_0x5b32bb);break;case 0x2:this[_0x656702(0x31a)](_0x5b32bb);break;}}['_handleJoinEvent'](_0x1b4446){const _0x4c80ab=_0x957043,{unitIDs:_0x299db8,memberID:_0x34f713,isForwarded:_0xe5bc5b}=_0x1b4446;_0x299db8[_0x4c80ab(0x3e7)](_0x4062d3=>{const _0x5ac877=_0x4c80ab;if(!_0xe5bc5b&&this['_unitOnClients'][_0x5ac877(0x23a)](_0x4062d3)&&this[_0x5ac877(0x265)](_0x4062d3)['next'](_0x569233[_0x5ac877(0x36b)]),!this[_0x5ac877(0x248)][_0x5ac877(0x23a)](_0x4062d3)||!this[_0x5ac877(0x248)][_0x5ac877(0x379)](_0x4062d3)[_0x5ac877(0x23a)](_0x34f713)){const _0x25da14=this[_0x5ac877(0x248)][_0x5ac877(0x379)](_0x4062d3)||new Set();_0x25da14[_0x5ac877(0x242)](_0x34f713),this[_0x5ac877(0x248)]['set'](_0x4062d3,_0x25da14),this[_0x5ac877(0x3b3)](_0x34f713);}}),_0xe5bc5b||this[_0x4c80ab(0x3bc)]({'type':0x0,'memberID':this[_0x4c80ab(0x3db)],'unitIDs':[...this[_0x4c80ab(0x24e)]],'isForwarded':!0x0});}[_0x957043(0x3b3)](_0x412dd6){const _0x2da9fb=_0x957043;this[_0x2da9fb(0x3a2)](_0x412dd6);const _0x33e2a1=window[_0x2da9fb(0x22d)](()=>{const _0x41bf79=_0x2da9fb;this[_0x41bf79(0x248)][_0x41bf79(0x3e7)](_0x463d32=>{_0x463d32['delete'](_0x412dd6);});},it*0x2);this['_clearOtherTimers'][_0x2da9fb(0x332)](_0x412dd6,_0x33e2a1);}[_0x957043(0x3a2)](_0x6376db){const _0x3dac12=_0x957043;if(this[_0x3dac12(0x323)][_0x3dac12(0x23a)](_0x6376db)){const _0x2ad5c7=this[_0x3dac12(0x323)][_0x3dac12(0x379)](_0x6376db);_0x2ad5c7&&window['clearTimeout'](_0x2ad5c7),this[_0x3dac12(0x323)]['set'](_0x6376db,null);}}[_0x957043(0x249)](_0xe01ff){const _0x2cd702=_0x957043,{memberID:_0x55edef,unitIDs:_0x7ac2cf}=_0xe01ff;_0x7ac2cf[_0x2cd702(0x3e7)](_0x1a76f4=>{const _0x59f83c=_0x2cd702;var _0x5712b5;const _0x395589=this['_unitOnClients']['get'](_0x1a76f4);_0x395589&&(_0x395589['delete'](_0x55edef),(_0x5712b5=this[_0x59f83c(0x265)](_0x1a76f4))==null||_0x5712b5['next'](_0x395589['size']===0x0?_0x569233[_0x59f83c(0x239)]:_0x569233[_0x59f83c(0x36b)]));}),this[_0x2cd702(0x3a2)](_0x55edef);}[_0x957043(0x31a)](_0x5916b1){const _0x2e96f2=_0x957043;this[_0x2e96f2(0x3b3)](_0x5916b1[_0x2e96f2(0x264)]);}[_0x957043(0x3bc)](_0x23a055){const _0x1b1871=_0x957043;localStorage[_0x1b1871(0x2af)](nt,JSON[_0x1b1871(0x2d3)](_0x23a055));}['_scheduleHeartbeat'](){const _0x36889c=_0x957043;this[_0x36889c(0x1ee)]=window[_0x36889c(0x304)](()=>{const _0x3c8ed5=_0x36889c;this[_0x3c8ed5(0x3bc)]({'type':0x2,'memberID':this['_id']});},it);}[_0x957043(0x265)](_0xc2c574){const _0x45e654=_0x957043;return this[_0x45e654(0x390)][_0x45e654(0x23a)](_0xc2c574)||this['_unitStatus']['set'](_0xc2c574,new _0x3dfdee(_0x569233[_0x45e654(0x239)])),this[_0x45e654(0x390)][_0x45e654(0x379)](_0xc2c574);}}var Mt=(_0x22eae2=>(_0x22eae2[_0x22eae2['UNDEFINED']=0x0]=_0x957043(0x1fa),_0x22eae2[_0x22eae2['OK']=0x1]='OK',_0x22eae2[_0x22eae2[_0x957043(0x244)]=0x2]='INTERNAL_ERROR',_0x22eae2[_0x22eae2[_0x957043(0x326)]=0x3]=_0x957043(0x326),_0x22eae2[_0x22eae2[_0x957043(0x33d)]=0x4]=_0x957043(0x33d),_0x22eae2[_0x22eae2[_0x957043(0x30a)]=0x5]=_0x957043(0x30a),_0x22eae2[_0x22eae2[_0x957043(0x256)]=0x6]=_0x957043(0x256),_0x22eae2[_0x22eae2[_0x957043(0x331)]=0x7]=_0x957043(0x331),_0x22eae2[_0x22eae2[_0x957043(0x28e)]=0x8]='TOO_MANY_REQUESTS',_0x22eae2[_0x22eae2['COMPLETION_FINISHED']=0x9]=_0x957043(0x34b),_0x22eae2[_0x22eae2[_0x957043(0x37e)]=0xa]='LOGIN_FAILED',_0x22eae2[_0x22eae2[_0x957043(0x28c)]=0x1389]=_0x957043(0x28c),_0x22eae2[_0x22eae2['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x957043(0x39d),_0x22eae2[_0x22eae2[_0x957043(0x20d)]=0x1772]=_0x957043(0x20d),_0x22eae2[_0x22eae2[_0x957043(0x37c)]=0x1773]=_0x957043(0x37c),_0x22eae2[_0x22eae2[_0x957043(0x2f5)]=0x1b59]=_0x957043(0x2f5),_0x22eae2[_0x22eae2[_0x957043(0x233)]=0x1b5a]=_0x957043(0x233),_0x22eae2[_0x22eae2[_0x957043(0x27a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x22eae2[_0x22eae2[_0x957043(0x3a8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x22eae2[_0x22eae2[_0x957043(0x1ed)]=0x1b5d]=_0x957043(0x1ed),_0x22eae2[_0x22eae2[_0x957043(0x318)]=0x1f41]=_0x957043(0x318),_0x22eae2[_0x22eae2['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x957043(0x21c),_0x22eae2[_0x22eae2['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x957043(0x2aa),_0x22eae2[_0x22eae2[_0x957043(0x291)]=0x232b]=_0x957043(0x291),_0x22eae2[_0x22eae2[_0x957043(0x3c6)]=0x232c]=_0x957043(0x3c6),_0x22eae2[_0x22eae2[_0x957043(0x24a)]=0x232d]=_0x957043(0x24a),_0x22eae2[_0x22eae2[_0x957043(0x37f)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x22eae2[_0x22eae2['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x957043(0x359),_0x22eae2[_0x22eae2[_0x957043(0x2bf)]=0x2713]=_0x957043(0x2bf),_0x22eae2[_0x22eae2[_0x957043(0x2e1)]=0x2714]=_0x957043(0x2e1),_0x22eae2[_0x22eae2[_0x957043(0x252)]=0x271a]=_0x957043(0x252),_0x22eae2[_0x22eae2[_0x957043(0x2ab)]=0x271b]=_0x957043(0x2ab),_0x22eae2[_0x22eae2[_0x957043(0x2fe)]=0x271c]=_0x957043(0x2fe),_0x22eae2[_0x22eae2[_0x957043(0x30c)]=0x271d]=_0x957043(0x30c),_0x22eae2[_0x22eae2[_0x957043(0x308)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x22eae2[_0x22eae2[_0x957043(0x25e)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x22eae2[_0x22eae2['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x957043(0x3c0),_0x22eae2[_0x22eae2[_0x957043(0x376)]=0x2ee1]=_0x957043(0x376),_0x22eae2[_0x22eae2[_0x957043(0x3a3)]=0x2ee2]='INVALID_INVITE_CODE',_0x22eae2[_0x22eae2[_0x957043(0x373)]=0x2ee3]=_0x957043(0x373),_0x22eae2[_0x22eae2[_0x957043(0x35e)]=0x2ee4]=_0x957043(0x35e),_0x22eae2[_0x22eae2['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x957043(0x37d),_0x22eae2[_0x22eae2[_0x957043(0x280)]=0x32c9]=_0x957043(0x280),_0x22eae2[_0x22eae2[_0x957043(0x31f)]=0x32ca]=_0x957043(0x31f),_0x22eae2[_0x22eae2['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x957043(0x293),_0x22eae2[_0x22eae2['UNRECOGNIZED']=-0x1]=_0x957043(0x229),_0x22eae2))(Mt||{}),pn=Object[_0x957043(0x3e8)],Cn=(_0x30035a,_0x541117,_0x50e7ee,_0x56f5ad)=>{const _0x5d89d8=_0x957043;for(var _0x453053=_0x56f5ad>0x1?void 0x0:_0x56f5ad?pn(_0x541117,_0x50e7ee):_0x541117,_0x3942ad=_0x30035a[_0x5d89d8(0x3d8)]-0x1,_0x409532;_0x3942ad>=0x0;_0x3942ad--)(_0x409532=_0x30035a[_0x3942ad])&&(_0x453053=_0x409532(_0x453053)||_0x453053);return _0x453053;},be=(_0x12eaa5,_0x39166d)=>(_0x1e740a,_0x4983e7)=>_0x39166d(_0x1e740a,_0x4983e7,_0x12eaa5);let rt=class extends _0x4a6261{constructor(_0x27ab63,_0x348c8a,_0x527558){const _0x2e5141=_0x957043;super(),this['_instanceService']=_0x27ab63,this[_0x2e5141(0x3c1)]=_0x348c8a,this[_0x2e5141(0x3b4)]=_0x527558;}async[_0x957043(0x21d)](_0x102320,_0x516d50,_0x4be8ed,..._0x29ef81){const _0x597203=_0x957043;var _0x19fe84,_0x5e9fd1,_0x2a2dfb,_0x2ee9dd;const _0x2a1b3e=this[_0x597203(0x3a1)][_0x597203(0x2b7)]();if(!_0x2a1b3e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2f386d=((_0x19fe84=this[_0x597203(0x3b4)][_0x597203(0x3cf)](_0x1fe298))!=null?_0x19fe84:_0x4155e4)+'/'+_0x102320+_0x597203(0x25c)+_0x516d50,_0x2b7fa4=new URL(window[_0x597203(0x295)][_0x597203(0x32e)]),_0x1adbd0={'scriptId':_0x102320,'runId':(_0x5e9fd1=_0x2b7fa4[_0x597203(0x3e4)][_0x597203(0x379)]('runId'))!=null?_0x5e9fd1:'','function':_0x516d50,'unitId':_0x2a1b3e[_0x597203(0x2f6)](),'argsOfFunction':JSON[_0x597203(0x2d3)](_0x29ef81),'invokeId':(_0x2a2dfb=_0x4be8ed[_0x597203(0x217)])!=null?_0x2a2dfb:'','executionId':(_0x2ee9dd=_0x4be8ed['executionId'])!=null?_0x2ee9dd:''};try{const _0x5ba30f=await this[_0x597203(0x3c1)]['post'](_0x2f386d,{'body':_0x1adbd0});return _0x5ba30f[_0x597203(0x3cd)][_0x597203(0x219)]&&_0x5ba30f[_0x597203(0x3cd)]['error'][_0x597203(0x21a)]!==Mt['OK']?_0x597203(0x394):_0x5ba30f[_0x597203(0x3cd)]['result'];}catch{return _0x597203(0x394);}}};rt=Cn([be(0x0,_0x16f134),be(0x1,_0x79b2b4(_0x34a3dc)),be(0x2,_0x1240a8)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x459779=_0x1290;function _0x1290(_0x3b10b2,_0x2a4264){const _0x470aa7=_0x470a();return _0x1290=function(_0x1290bf,_0x3f224a){_0x1290bf=_0x1290bf-0xcb;let _0x44d82e=_0x470aa7[_0x1290bf];return _0x44d82e;},_0x1290(_0x3b10b2,_0x2a4264);}(function(_0x250690,_0x24e872){const _0x102e69=_0x1290,_0x5efc74=_0x250690();while(!![]){try{const _0x4ce016=-parseInt(_0x102e69(0xd0))/0x1*(-parseInt(_0x102e69(0xce))/0x2)+parseInt(_0x102e69(0xda))/0x3*(-parseInt(_0x102e69(0xcd))/0x4)+-parseInt(_0x102e69(0xcf))/0x5*(parseInt(_0x102e69(0xd1))/0x6)+-parseInt(_0x102e69(0xd5))/0x7+parseInt(_0x102e69(0xdd))/0x8+parseInt(_0x102e69(0xde))/0x9*(-parseInt(_0x102e69(0xcc))/0xa)+parseInt(_0x102e69(0xdb))/0xb;if(_0x4ce016===_0x24e872)break;else _0x5efc74['push'](_0x5efc74['shift']());}catch(_0x1cdece){_0x5efc74['push'](_0x5efc74['shift']());}}}(_0x470a,0xbc02a));const e={'collab-client':{'tooltip':{'reconnect':_0x459779(0xd4)}},'collabStatus':{'fetchMiss':_0x459779(0xd8),'conflict':_0x459779(0xd3),'notCollab':_0x459779(0xd6),'synced':_0x459779(0xd9),'syncing':_0x459779(0xe0),'offline':_0x459779(0xcb)},'session':{'connection-failed':_0x459779(0xe3),'will-retry':_0x459779(0xd7),'room-full':_0x459779(0xe2),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','content':_0x459779(0xe1)},'permission':{'title':_0x459779(0xd2),'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':_0x459779(0xdf)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x459779(0xdc)}};export{e as default};function _0x470a(){const _0x29fcf5=['Local\x20file','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','Synced','3UjbNRA','20931108eVBCwo','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','7750960vxACwe','199197UOwGCq','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing...','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.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','130rQbKDC','844128dRpqjs','14jxfazR','1603205RybHNZ','47198MwTErH','18VuTDrM','Authentication\x20Error','Edit\x20conflicts','Click\x20to\x20Reconnect','6799170vYmyrO'];_0x470a=function(){return _0x29fcf5;};return _0x470a();}
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x65a62b=_0x18b0;(function(_0x1e6edb,_0x32f9e9){const _0x577a0d=_0x18b0,_0xc75871=_0x1e6edb();while(!![]){try{const _0x1445b5=parseInt(_0x577a0d(0x126))/0x1*(-parseInt(_0x577a0d(0x12a))/0x2)+parseInt(_0x577a0d(0x128))/0x3+-parseInt(_0x577a0d(0x127))/0x4+parseInt(_0x577a0d(0x121))/0x5+-parseInt(_0x577a0d(0x11c))/0x6+parseInt(_0x577a0d(0x12f))/0x7+parseInt(_0x577a0d(0x12c))/0x8;if(_0x1445b5===_0x32f9e9)break;else _0xc75871['push'](_0xc75871['shift']());}catch(_0x1a616b){_0xc75871['push'](_0xc75871['shift']());}}}(_0x4d49,0xdc317));function _0x4d49(){const _0x2ad6f7=['اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','خطای\x20اعتبارسنجی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','1125752cKMxcl','311552bomhKa','1795806NUFEcE','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','2Yerogg','پرونده\x20محلی','16923456TfvhkP','تداخل\x20ویرایش','همگام\x20سازی','1923929jbqWfp','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','7143912VYlDGP','در\x20حال\x20همگام\x20سازی...','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','تداخل\x20همکاری','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','1536610CzmMrF'];_0x4d49=function(){return _0x2ad6f7;};return _0x4d49();}function _0x18b0(_0x2f533e,_0x2fd886){const _0x4d49da=_0x4d49();return _0x18b0=function(_0x18b0dd,_0x1ab47a){_0x18b0dd=_0x18b0dd-0x11a;let _0xb1540a=_0x4d49da[_0x18b0dd];return _0xb1540a;},_0x18b0(_0x2f533e,_0x2fd886);}const o={'collab-client':{'tooltip':{'reconnect':_0x65a62b(0x11b)}},'collabStatus':{'fetchMiss':_0x65a62b(0x125),'conflict':_0x65a62b(0x12d),'notCollab':_0x65a62b(0x12b),'synced':_0x65a62b(0x12e),'syncing':_0x65a62b(0x11d),'offline':_0x65a62b(0x123)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x65a62b(0x122),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x65a62b(0x120)},'conflict':{'title':_0x65a62b(0x11f),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x65a62b(0x124),'content':_0x65a62b(0x11e)},'collaboration':{'single-unit':{'warning':_0x65a62b(0x11a)},'closeRoom':_0x65a62b(0x130)},'auth':{'needGotoLoginAlert':_0x65a62b(0x129)}};export{o as default};
|