@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505261607 → 0.8.0-nightly.202505271607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/es/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 _0x193aec=_0x5946;(function(_0x192de5,_0x5c7f7a){const _0x8fe46e=_0x5946,_0x4ada0f=_0x192de5();while(!![]){try{const _0x52c82f=-parseInt(_0x8fe46e(0x2fd))/0x1*(-parseInt(_0x8fe46e(0x2b0))/0x2)+-parseInt(_0x8fe46e(0x2e0))/0x3*(-parseInt(_0x8fe46e(0x12f))/0x4)+-parseInt(_0x8fe46e(0x1fd))/0x5+parseInt(_0x8fe46e(0x1ed))/0x6+parseInt(_0x8fe46e(0x1a1))/0x7+-parseInt(_0x8fe46e(0x27c))/0x8+-parseInt(_0x8fe46e(0x22b))/0x9*(parseInt(_0x8fe46e(0x283))/0xa);if(_0x52c82f===_0x5c7f7a)break;else _0x4ada0f['push'](_0x4ada0f['shift']());}catch(_0x350cf0){_0x4ada0f['push'](_0x4ada0f['shift']());}}}(_0x3b27,0x405ad));var $t=Object['defineProperty'],xt=(_0x4c6fc7,_0x149d5a,_0x4ebfa3)=>_0x149d5a in _0x4c6fc7?$t(_0x4c6fc7,_0x149d5a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ebfa3}):_0x4c6fc7[_0x149d5a]=_0x4ebfa3,_=(_0xfd0d4e,_0x377ddf,_0x137177)=>xt(_0xfd0d4e,typeof _0x377ddf!=_0x193aec(0x217)?_0x377ddf+'':_0x377ddf,_0x137177);import{MemberService as _0x2ef6e3,SessionStatus as _0x545f32,CollaborationSessionService as _0x307ffe,CollaborationStatus as _0x4edef0,CollaborationController as _0x4a6d42,ILocalCacheService as _0x20b832,CollaborationUIEventService as _0x3daf9a,CollaborationUIEventId as _0x461039,DataLoaderService as _0x5a2d1e,DocCollaborationEntity as _0x3baafc,getLocalCacheKey as _0x221573,LOCAL_CACHE_INTERVAL as _0x494d26,LOCAL_CACHE_INTERVAL_KEY as _0x2cf44f,UniverCollaborationClientPlugin as _0x3c2564,CollaborationSocketService as _0x464948,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4f03a5,DEFAULT_WS_SESSION_TICKET_URL as _0x130e45,UnitStatus as _0x25bd48,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4a1ddb,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2bbba8}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x16f661,Disposable as _0xbd216d,DOC_RANGE_TYPE as _0x343d66,Inject as _0x5562e7,Injector as _0x5d7665,IUniverInstanceService as _0x14a725,ICommandService as _0x4f1fe2,debounce as _0xbcfd96,Rectangle as _0x1a585b,DisposableCollection as _0x35a3fc,toDisposable as _0x37fdfd,UniverInstanceType as _0x32a01e,Tools as _0x3929d5,COLORS as _0x49e583,ColorKit as _0x17c4c3,ThemeService as _0x2a18b1,fromEventSubject as _0x559980,LocaleService as _0x57d907,createIdentifier as _0x1540fc,ILogService as _0x3bb28b,Optional as _0x3c3154,Workbook as _0x1ec27e,CommandType as _0x5af747,IConfigService as _0x42dae1,ILocalStorageService as _0x33a67a,DependentOn as _0x2d8f64,Plugin as _0x25c120,merge as _0x14593e,registerDependencies as _0x2136db,mergeOverrideWithDependencies as _0x427a80,touchDependencies as _0x244f3c,generateRandomId as _0x163e40}from'@univerjs/core';import{Shape as _0x3319af,Rect as _0x4c1fcc,getColor as _0x4f4df7,RegularPolygon as _0x3641ed,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x10f7a0,Vector2 as _0x25c94b,SHEET_VIEWPORT_KEY as _0x21c299,IRenderManagerService as _0xd66e10}from'@univerjs/engine-render';import{ISocketService as _0x2c59ad,WebSocketService as _0x55b5b3,HTTPService as _0x809f14}from'@univerjs/network';import{IDocClipboardService as _0x2efc1b,NodePositionConvertToCursor as _0x2e5d46,NodePositionConvertToRectRange as _0x302090,TEXT_RANGE_LAYER_INDEX as _0x11fdc1,SetDocZoomRatioOperation as _0x2ff919,DocIMEInputManagerService as _0x122a14,DocStateChangeManagerService as _0x712931}from'@univerjs/docs-ui';import{IImageIoService as _0x2ad476}from'@univerjs/drawing';import{BehaviorSubject as _0x1c6c20,debounceTime as _0x4ba34f,takeUntil as _0x4f9556,Subject as _0x316686,filter as _0x2d3d10,switchMap as _0x443430,merge as _0x111dc5,combineLatest as _0x575ac7,of as _0x42a69d,fromEvent as _0x5f0e58,shareReplay as _0x268732,mapTo as _0x419935,distinctUntilChanged as _0x5409e4}from'rxjs';import{SetTextSelectionsOperation as _0xcd12da,RichTextEditingMutation as _0x6d88d5,DocSelectionManagerService as _0x1d2394,DocSkeletonManagerService as _0x35adb7}from'@univerjs/docs';import{ITransformService as _0x15ff0c,CollaborationEvent as _0x2b82ba,isTransformMutationFailure as _0x2e30ea,isTransformMutationsWithChangesetSuccess as _0x18d356,RevisionService as _0x2c818f,ISnapshotServerService as _0x181e9d}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x5ba6c1,serializeRangeWithSheet as _0x1e8070}from'@univerjs/engine-formula';import{RefRangeService as _0x1d8553,SetSelectionsOperation as _0x52e0ed,SheetsSelectionsService as _0xe6be6f,EffectRefRangId as _0x4d5ea4,handleIRemoveRow as _0x1de786,handleIRemoveCol as _0x5cb3f5,handleMoveRange as _0x3bc627,handleInsertRow as _0x4f84b8,handleInsertRangeMoveRight as _0x96700b,handleInsertRangeMoveDown as _0x1986ed,handleInsertCol as _0x1bafa1,handleDeleteRangeMoveUp as _0x558440,handleDeleteRangeMoveLeft as _0x4ed1d2,runRefRangeMutations as _0x297105,SetWorksheetActivateCommand as _0x84ca92}from'@univerjs/sheets';import{map as _0x48258c,filter as _0x1eada0,throttleTime as _0x37deae,takeUntil as _0x42ff6e,switchMap as _0x176659}from'rxjs/operators';import{SheetSkeletonManagerService as _0x532ecb,getCoordByCell as _0x27b72a,getSheetObject as _0x119bd6}from'@univerjs/sheets-ui';import{jsx as _0x209764,jsxs as _0x378b6a}from'react/jsx-runtime';import{useObservable as _0x37ff18,useDependency as _0x182f0c,IUIPartsService as _0x4fbd5c,BuiltInUIPart as _0x264eb6,connectInjector as _0x400a79,IBeforeCloseService as _0xbc85b9,IMessageService as _0x421a38,INotificationService as _0x3b7e9a}from'@univerjs/ui';import{Tooltip as _0x533e88,clsx as _0x1c5511,MessageType as _0x194551}from'@univerjs/design';import{forwardRef as _0x52ec90,useRef as _0x28a951,createElement as _0x22d147,useCallback as _0x2b288f}from'react';function _0x3b27(){const _0x41307d=['InsertColCommandId','syncEditingCollabCursor','subscribeEvent','getVpScrollXYInfoByPosToVp','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','use','getUnitStatus$','searchParams','SNAPSHOT_INVALID_SNAPSHOT','pluginName','clipPath','UNDEFINED','min','defIds','setStateCache','defs','indexOf','SOCKET_FAILED_RETRY','newValue','saveOfflineData','collabCursorState$','YUUMI_NO_CUBOID_FOR_QUESTION','_range','engine','_getScale','CHANGESET_REVISION_CONFILICT','onPointerEnter$','color','YUUMI_SUBSCRIPTION_NOT_FOUND','transformIMECache','CLOSE_ROOM','0\x200\x2017\x2016','_handleHover','clearInterval','column','OTHER_CLIENT_EDITING','OnLineIcon','getColorFromTheme','doc.mutation.rich-text-editing','unsubscribe','_initStatusListener','getOwnPropertyDescriptor','_toggleOffline','getMember','_docClipboardService','has','addClipboardHook','lineTo','entries','forEach','measureText','_cachedData','_selfUnitIDs','saveTaskMap','LOGIN_FAILED','startRow','idSuffix','_initResize','memberID','pipe','_status$','_updateSubUnitFromURLParams','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','_hover','RemoveRowCommandId','origin','Failed','_name','_cursorInfo$','getAncestorScale','_handleEvent','div','[CollaborationDataLoaderController]','send','drawWith','getUnitId','4203424JzpQLW','toRgbString','docStateChange$','univerjs-icon\x20univerjs-icon-','unitID','SUBMIT_CHANGESET_TIMEOUT','propertyIsEnumerable','2090qqBTqI','startColumn','_beforeCloseService','RemoveColCommandId','NOT_COLLAB','_collabSessionService','transformSelections','Warning','transformRemoteChangeset','EMAIL_HAS_BEEN_BOUND','onTransformChange$','_handleHeartbeatEvent','fillText','search','permission.content','registerRenderModule','_getSessionTicket','mutations','M0\x200H16V16H0z','_dataLoaderService','_syncEditingCollabCursorService','m2Prime','ticket','CONNECTOR_DATA_TOO_LARGE','requireSession','/run/','status$','InsertRangeMoveDownCommandId','session.connection-failed','whenReady','UNIVER_DOC','post','attrs','textRanges','complete','translate(.97)','updateOfflineData','selection','YUUMI_URL_COL_OUT_OF_RANGE','max','permission.title','invokeId','off-line-icon_clip0_910_343','getTypeOfUnitDisposed$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','14XGCVSF','loadUnit','error','_disabled','_render','getSheetBySheetId','...','LICENSE_EXPORT_SIZE_EXCEEDED','fillStyle','collabStatus.syncing','dispose$','_logService','APPLY_NON_SEQUENTIAL_REVISION','then','substring','JOIN_ROOM_FAILED','params','setItem','generateRandomId','getCurrent','urlChange$','_registerRenderDependencies','type','isActive','next','Error','getActiveSheet','getTypeOfUnitAdded$','white','#FFF','init','undoState','call','_docTransformSelectionsService','arc','getValue','_injector','subunit','_hovered','YUUMI_TABLE_NOT_FOUND_IN_UNIT','transformMutationsWithChangeset','NO_OTHER_CLIENTS_EDITING','MOBILE_HAS_BEEN_BOUND','assign','unitId','_online','asObservable','exhaustSavingTask','49263mkfqWb','_entities','svg','save','findNodePositionByCharIndex','LICENSE_DISTRO_REJECTED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','evenodd','getRelativeToViewportCoord','createSocket','_document','http://www.w3.org/2000/svg','_colorAssignService','replaceState','unit','_cursors','_id','assignAColorForMemberID','SNAPSHOT_HAS_BEEN_REMOVED','_memberService','TOO_MANY_REQUESTS','univer-flex\x20univer-mr-2\x20univer-text-xl','code','resize','_initCommandExecutedListener','m1Prime','fillRule','getMemberID','onPointerLeave$','60611kQpvwH','endRow','1em','font','none','unshift','focused$','_httpService','size','_instanceService','_localeService','deepClone','_initDependencies','_initStatusComponent','session.will-retry','sessionTicket','_transformHistoryAndStateStack','getUnhiddenWorksheets','values','_saveTaskMap','_docTransformStateCacheService','subscribe','addHandlerCallback','labelPosition','_scheduleClearOtherTimer','Unknown\x20user','UniverIcon','currentSkeleton$','setAlpha','collaboration-client.offline-data-not-saved','_unitOnClients','_anchorDot','_transformService','url(#off-line-icon_clip0_910_343)','_getSheetObject','prototype','_localStorageService','_lastPointer','string','_uiPartsService','_toggleOnline','0\x200\x2016\x2016','bottom','HEADER_MENU','eventID','FETCH_MISS','_setupBeforeClosingHandler','startsWith','collabStatus.fetchMiss','set','APPLY_PERMISSION_DENIED','60rgenke','INVALID_INVITE_CODE','red.300','INVITE_CODE_ALREADY_BOUND','override','_registerDependencies','registerRefRange','range','reconnect','_updateCollabCursors','activeSheet$','history','univer-flex\x20univer-items-center','black','off-line-icon','_assignedColors','UPDATE_CURSOR','sheetID','_createSocketURL','_docSyncEditingCollabCursorService','roomMembers$','_renderManagerService','debug','clearTimeout','displayName','name','_roomMembers$','INVITE_CODE_HAS_BEEN_UES','_heartbeatTimer','YUUMI_UNABLE_LOAD_URL','_drawAnchor','SYNCED','_session','getFocusedUnit','jiqing.500','_getSaveTimeout','setActiveRange','CONFLICT','round','COMPLETION_FINISHED','addObjects','SOCKET_FAILED','body','UNAUTHENTICATED','getOwnPropertySymbols','_getAnchorBounding','MUTATION','_color','className','getRenderById','_shapes','executeCommand','_transformPreviousActiveRange','_themeService','registerBeforeClose','push','_onRefRangeChange','_eventUnsubscribe','map','_removeCollabCursors','collabStatus.synced','getCurrentUnitForType','top','transformMutation','_labelPosition','random','disposeWithMe','loadOfflineData','_cursor','getCollabEntity$','_doCreateSocket','trim','beginPath','_removeClearOtherTimer','_startDocCollabCursor','application/json','storage','redoState','createInstance','pushState','_handleLeaveEvent','_refRangeService','on-line-icon_clip0_910_349','replace','YUUMI_ASYNCIO_CANCELLED','function','executionId','add','_messageService','_sheetSkeletonManagerService','MoveRangeCommandId','_unitStatus','sessionStatus$','_scene','result','DeleteRangeMoveLeftCommandId','APPLY_DUPLICATED','icon','closePath','toString','url(#$1','_commandService','UNRECOGNIZED','path','TEXT','getOffsetConfig','_docSkeletonManagerService','_colorIndex','show','YUUMI_AI_RUN_FAILED','xlink:href','_imageIoService','_ensureSubject','dispose','2605582TEUrNl','collabStatus.conflict','_saveCache','InsertRowCommandId','_updateLocalCursor','getMergeData','getCellPositionByOffset','ranges','onLocalMutation','_setupSubUnitSync','getCollabCursors$','hovered','getSheetId','href','INVITE_CODE_REQUIRED','makeDirty','collaboration.closeRoom','length','INTERNAL_ERROR','_refreshCollabCursors','onStarting','session.collaboration-timeout','_config','ENSURE_SNAPSHOT_EXECUTION','setConfig','_backgroundColor','hide','triggerDblclick','APPLY_REJECT','height','_drawRectRange','_send','mask','text','_context','_onCursorDelete','_textBubble','width','cursorInfo','contains','_configService','data','actions','RECT','USERS_LEAVE','_docStateChangeManagerService','NOT_FOUND','UNIVER_SHEET','_scheduleSaving','YUUMI_RATE_OVER_LIMIT','PERMISSION_DENIED','_cursorShapes','_univerInstanceService','tag','getViewport','setParam','location','wsSessionTicketUrl','addObject','removeParam','disableLocalCache','cursorInfo$','getConfig','all','_entityInit$','getSkeleton','collaboration-client-ui.config','_clearOtherTimers','editingUnit','colorChannel1','_urlService','runId','OffLineIcon','setTimeout','endColumn','moveTo','2240148DQIwII','_getMergeRange','children','_collabCursorController','flatMap','collab-client.tooltip.reconnect','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','VIEW_MAIN','transformStateCache','collabStatus.offline','setInterval','_onCursorUpdate','_collabCursorState$','event$','_docSkeleton','_drawTextRange','2193165GzUaRZ','_hideTimer','backgroundColor','subUnitId','getParam','get','delete','collab-text-anchor-','_docTransformIMECacheService','ONLINE','getCurrentSelections','from','onCommandExecuted','popstate','isArray','onMouseMove','enableLocalCache','split','_init','WECHAT_HAS_BEEN_BOUND','currentColor','current','_anchor','_startSheetCollabCursor','_updateURLWithCurrentState','_initEvent','symbol','OFFLINE','extend','InsertRangeMoveRightCommandId','fill','LICENSE_MAX_UNITS_EXCEEDED','getDocRanges','includes','defineProperty','_scheduleHeartbeat','concat','stringify','hasOwnProperty','setShapeProps','ACTIVE_UNIT_EVENT_CHANNEL','_collaborationController','_initEntityListener','roomMembers','_transformUndoRedoStack','getItem','8118kNCvjm','getRangePointData','ALREADY_EXISTS','with','INVALID_ARGUMENT'];_0x3b27=function(){return _0x41307d;};return _0x3b27();}import{IRemoteInstanceService as _0x490b6a}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x1ae66a,_0x4e6fbc,_0x3ed74e,_0x493829)=>{for(var _0x48d9c8=_0x493829>0x1?void 0x0:_0x493829?ci(_0x4e6fbc,_0x3ed74e):_0x4e6fbc,_0x417a94=_0x1ae66a['length']-0x1,_0x768952;_0x417a94>=0x0;_0x417a94--)(_0x768952=_0x1ae66a[_0x417a94])&&(_0x48d9c8=_0x768952(_0x48d9c8)||_0x48d9c8);return _0x48d9c8;},Je=(_0x902ba9,_0x106016)=>(_0x498388,_0x237cf3)=>_0x106016(_0x498388,_0x237cf3,_0x902ba9);let Ne=class extends _0x16f661{constructor(_0x326741,_0x52d8de){const _0x53b340=_0x193aec;super(),this[_0x53b340(0x25c)]=_0x326741,this[_0x53b340(0x19e)]=_0x52d8de,this[_0x53b340(0x20f)]();}[_0x193aec(0x20f)](){const _0x590adb=_0x193aec,_0x33b5a8=this;this[_0x590adb(0x171)](this[_0x590adb(0x25c)][_0x590adb(0x25e)]({'onBeforePasteImage':async _0x4c50de=>{const _0x328bb0=_0x590adb,_0x15f16d=await _0x33b5a8[_0x328bb0(0x19e)]['saveImage'](_0x4c50de);return _0x15f16d?{'source':_0x15f16d['source'],'imageSourceType':_0x15f16d['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x2efc1b),Je(0x1,_0x2ad476)],Ne);const Ze=['purple.300',_0x193aec(0x151),'green.600',_0x193aec(0x131),'blue.400','yellow.400'];class ke extends _0xbd216d{constructor(){const _0x5e5f7b=_0x193aec;super(...arguments),_(this,_0x5e5f7b(0x13e),new Map()),_(this,_0x5e5f7b(0x19a),0x0);}[_0x193aec(0x2f1)](_0x2b6744){const _0x1baaa8=_0x193aec;if(this['_assignedColors'][_0x1baaa8(0x25d)](_0x2b6744))return this[_0x1baaa8(0x13e)][_0x1baaa8(0x202)](_0x2b6744);const _0x29597f=Ze[this['_colorIndex']];return this[_0x1baaa8(0x19a)]=(this[_0x1baaa8(0x19a)]+0x1)%Ze['length'],this[_0x1baaa8(0x13e)]['set'](_0x2b6744,_0x29597f),_0x29597f;}}function Tt(_0x773b6e){const _0x4fbb66=_0x193aec;let _0x2aef5b='';for(const _0x5c8143 of _0x773b6e){const {startOffset:_0x3c4b09,endOffset:_0x1cfc6d,isActive:_0x4a1aff,rangeType:_0x491304,segmentId:_0x57aa87,segmentPage:_0xef18cb}=_0x5c8143;_0x2aef5b[_0x4fbb66(0x1b2)]&&(_0x2aef5b+=','),_0x2aef5b+=_0x3c4b09+':'+_0x1cfc6d+':'+(_0x4a1aff?'1':'0')+':'+_0x491304+':'+_0x57aa87+':'+_0xef18cb;}return _0x2aef5b;}function _i(_0x10cee6){const _0x5dd0a7=_0x193aec,_0x2edb36=_0x10cee6[_0x5dd0a7(0x20e)](','),_0x2a0597=[];for(const _0x53bb2 of _0x2edb36){const [_0x40db4b,_0x3b08d2,_0x4ed478,_0x3358f3,_0x281229,_0x4ec999]=_0x53bb2[_0x5dd0a7(0x20e)](':');_0x2a0597['push']({'startOffset':Number(_0x40db4b),'endOffset':Number(_0x3b08d2),'collapsed':_0x40db4b===_0x3b08d2,'isActive':_0x4ed478==='1','rangeType':_0x3358f3===_0x343d66[_0x5dd0a7(0x197)]?_0x343d66['TEXT']:_0x343d66[_0x5dd0a7(0x1cc)],'segmentId':typeof _0x281229==_0x5dd0a7(0x323)?String(_0x281229):'','segmentPage':Number(_0x4ec999!=null?_0x4ec999:-0x1)});}return _0x2a0597['some'](_0x6bd9b=>_0x6bd9b[_0x5dd0a7(0x2c7)])||(_0x2a0597[0x0][_0x5dd0a7(0x2c7)]=!0x0),_0x2a0597;}class He extends _0x16f661{constructor(){const _0x3cea4d=_0x193aec;super(...arguments),_(this,_0x3cea4d(0x1f9),new _0x1c6c20(null)),_(this,_0x3cea4d(0x244),this['_collabCursorState$'][_0x3cea4d(0x2de)]());}[_0x193aec(0x231)](_0xf817a3){const _0x490857=_0x193aec,{unitID:_0x2708eb,memberID:_0x2ae1c5,textRanges:_0x54d2dc}=_0xf817a3,_0x5e9021=Tt(_0x54d2dc);if(_0x5e9021==='')return;const _0x4f9fc6={'unitID':_0x2708eb,'memberID':_0x2ae1c5,'selection':_0x5e9021};this[_0x490857(0x1f9)][_0x490857(0x2c8)](_0x4f9fc6);}}var hi=Object[_0x193aec(0x259)],ui=(_0x137ef3,_0x2ba05a,_0x3ed2ae,_0x583f4b)=>{const _0x46f447=_0x193aec;for(var _0x14bf53=_0x583f4b>0x1?void 0x0:_0x583f4b?hi(_0x2ba05a,_0x3ed2ae):_0x2ba05a,_0x4abe06=_0x137ef3[_0x46f447(0x1b2)]-0x1,_0x32b2c6;_0x4abe06>=0x0;_0x4abe06--)(_0x32b2c6=_0x137ef3[_0x4abe06])&&(_0x14bf53=_0x32b2c6(_0x14bf53)||_0x14bf53);return _0x14bf53;},P=(_0xce4eb7,_0x1b177f)=>(_0xe72ef1,_0x56d095)=>_0x1b177f(_0xe72ef1,_0x56d095,_0xce4eb7);const di=0x12c,fi=0x64;let Ue=class extends _0x16f661{constructor(_0x532715,_0x44637a,_0x3804ca,_0x1685cb,_0x5c5eae,_0x10d507,_0xd17cd0,_0x1b96b6,_0x293d48){const _0x47de8e=_0x193aec;super(),_(this,_0x47de8e(0x2dd),!0x1),_(this,_0x47de8e(0x20f),!0x1),_(this,_0x47de8e(0x274),new _0x1c6c20(new Map())),_(this,_0x47de8e(0x1de),this['_cursorInfo$'][_0x47de8e(0x2de)]()),_(this,_0x47de8e(0x149),new _0x1c6c20([])),_(this,_0x47de8e(0x143),this['_roomMembers$']['pipe'](_0x4ba34f(di))),_(this,'_updateLocalCursor',_0xbcfd96(_0x333b82=>{const _0x363bfd=_0x47de8e,_0x44abe1={'eventID':_0x2b82ba['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x363bfd(0x2fb)](),'selection':Tt(_0x333b82)}};this[_0x363bfd(0x14f)][_0x363bfd(0x279)](_0x44abe1,this[_0x363bfd(0x280)]);},fi)),(this[_0x47de8e(0x280)]=_0x532715,this['_session']=_0x44637a,this[_0x47de8e(0x2d4)]=_0x3804ca,this['_colorAssignService']=_0x1685cb,this[_0x47de8e(0x2f3)]=_0x5c5eae,this[_0x47de8e(0x297)]=_0x10d507,this[_0x47de8e(0x31d)]=_0xd17cd0,this[_0x47de8e(0x1d5)]=_0x1b96b6,this['_commandService']=_0x293d48);}get[_0x193aec(0x1c7)](){const _0x3aff24=_0x193aec;return this[_0x3aff24(0x274)][_0x3aff24(0x2d3)]();}get[_0x193aec(0x228)](){const _0x47cc3c=_0x193aec;return this[_0x47cc3c(0x149)][_0x47cc3c(0x2d3)]();}[_0x193aec(0x1a0)](){const _0x6faf24=_0x193aec;super[_0x6faf24(0x1a0)](),this[_0x6faf24(0x274)]['next'](new Map()),this[_0x6faf24(0x274)][_0x6faf24(0x2a5)](),this[_0x6faf24(0x149)][_0x6faf24(0x2c8)]([]),this[_0x6faf24(0x149)]['complete']();}[_0x193aec(0x2ce)](){const _0x4227b8=_0x193aec;this[_0x4227b8(0x20f)]||(this[_0x4227b8(0x20f)]=!0x0,this[_0x4227b8(0x14f)]['sessionStatus$'][_0x4227b8(0x26b)](_0x4f9556(this[_0x4227b8(0x2ba)]))[_0x4227b8(0x312)](_0x517c0e=>{const _0x46fc36=_0x4227b8;_0x517c0e===_0x545f32[_0x46fc36(0x206)]?this[_0x46fc36(0x124)]():this[_0x46fc36(0x25a)]();}),this[_0x4227b8(0x14f)][_0x4227b8(0x1fa)][_0x4227b8(0x26b)](_0x4f9556(this[_0x4227b8(0x2ba)]))[_0x4227b8(0x312)](_0x171422=>{const _0x2a8bd5=_0x4227b8,_0x4399d9=_0x171422[_0x2a8bd5(0x128)];_0x4399d9===_0x2b82ba[_0x2a8bd5(0x13f)]&&this['_onCursorUpdate'](_0x171422),_0x4399d9===_0x2b82ba[_0x2a8bd5(0x1cd)]&&this[_0x2a8bd5(0x1c4)](_0x171422);}),this[_0x4227b8(0x171)](this[_0x4227b8(0x194)][_0x4227b8(0x209)](_0x399180=>{const _0x3fe581=_0x4227b8,_0x264bb1=_0x399180['params'];_0x264bb1!=null&&this[_0x3fe581(0x2dd)]&&_0x399180['id']===_0xcd12da['id']&&_0x264bb1['unitId']===this[_0x3fe581(0x280)]&&_0x264bb1['isEditing']===!0x1&&_0x264bb1[_0x3fe581(0x1a8)]['length']>0x0&&this[_0x3fe581(0x1a5)](_0x264bb1[_0x3fe581(0x1a8)]);})),this[_0x4227b8(0x297)][_0x4227b8(0x244)][_0x4227b8(0x26b)](_0x4f9556(this[_0x4227b8(0x2ba)]))[_0x4227b8(0x312)](_0x62a81e=>{const _0x2bbe4a=_0x4227b8;if((_0x62a81e==null?void 0x0:_0x62a81e[_0x2bbe4a(0x280)])!==this[_0x2bbe4a(0x280)])return;const _0x465d6f={'eventID':_0x2b82ba['UPDATE_CURSOR'],'data':_0x62a81e};this[_0x2bbe4a(0x1f8)](_0x465d6f);}),this[_0x4227b8(0x171)](this['_commandService'][_0x4227b8(0x209)](_0x48a5aa=>{const _0xcfeb83=_0x4227b8;if(_0x48a5aa['params']==null)return;const _0x453f91=_0x48a5aa[_0xcfeb83(0x2c0)];if(_0x48a5aa['id']!==_0x6d88d5['id']||_0x453f91[_0xcfeb83(0x2dc)]!==this[_0xcfeb83(0x280)])return;const _0x3f3aaf={'id':_0xcfeb83(0x256),'params':_0x453f91},_0x9aca79=this[_0xcfeb83(0x1c7)];for(const [_0x10cf87,_0x4d5719]of _0x9aca79){const _0x54c2fa={'id':_0xcfeb83(0x256),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4d5719[_0xcfeb83(0x1a8)]}},_0x43cff7=this[_0xcfeb83(0x31d)]['transformMutation'](_0x3f3aaf,_0x54c2fa,!0x1);if(_0x2e30ea(_0x43cff7))throw _0x43cff7[_0xcfeb83(0x2b2)];_0x9aca79['set'](_0x10cf87,{..._0x4d5719,'ranges':_0x43cff7['m2Prime'][_0xcfeb83(0x2c0)][_0xcfeb83(0x2a4)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x9aca79);});})));}[_0x193aec(0x1f8)](_0x28af8a){const _0x1484c8=_0x193aec;var _0xb0779d,_0x43bea4;const {memberID:_0x6be5ab,selection:_0x20d91a}=_0x28af8a[_0x1484c8(0x1ca)],_0x4fbdb7=_i(_0x20d91a),_0x548774=(_0x43bea4=(_0xb0779d=this[_0x1484c8(0x2f3)]['getMember'](this['unitID'],_0x6be5ab))==null?void 0x0:_0xb0779d['name'])!=null?_0x43bea4:_0x1484c8(0x316),_0x103c06={'color':this[_0x1484c8(0x2ec)]['assignAColorForMemberID'](_0x6be5ab),'name':_0x548774,'ranges':_0x4fbdb7},_0x3c5b77=this['cursorInfo'];_0x3c5b77[_0x1484c8(0x12d)](_0x6be5ab,_0x103c06),this['_cursorInfo$']['next'](_0x3c5b77);}[_0x193aec(0x1c4)](_0x5d394f){const _0x335a08=_0x193aec,{memberID:_0x3a4b4c}=_0x5d394f[_0x335a08(0x1ca)],_0x133bd9=this[_0x335a08(0x1c7)];_0x133bd9[_0x335a08(0x203)](_0x3a4b4c),this[_0x335a08(0x274)][_0x335a08(0x2c8)](_0x133bd9);}['_toggleOnline'](){const _0x538b2b=_0x193aec;var _0x505e8a;if(this[_0x538b2b(0x2dd)]=!0x0,((_0x505e8a=this[_0x538b2b(0x1d5)]['getFocusedUnit']())==null?void 0x0:_0x505e8a[_0x538b2b(0x27b)]())!==this['unitID'])return;const _0x118428=this[_0x538b2b(0x2d4)]['get'](_0x1d2394)[_0x538b2b(0x21d)]();Array[_0x538b2b(0x20b)](_0x118428)&&_0x118428[_0x538b2b(0x1b2)]>0x0&&this[_0x538b2b(0x1a5)](_0x118428);}[_0x193aec(0x25a)](){const _0x29d4ee=_0x193aec;this[_0x29d4ee(0x2dd)]=!0x1;}};Ue=ui([P(0x2,_0x5562e7(_0x5d7665)),P(0x3,_0x5562e7(ke)),P(0x4,_0x5562e7(_0x2ef6e3)),P(0x5,_0x5562e7(He)),P(0x6,_0x15ff0c),P(0x7,_0x14a725),P(0x8,_0x4f1fe2)],Ue);var Si=Object[_0x193aec(0x259)],mi=(_0x4cd2f9,_0x146914,_0x34e64a,_0x240b2e)=>{const _0x5e89d1=_0x193aec;for(var _0xbb2a25=_0x240b2e>0x1?void 0x0:_0x240b2e?Si(_0x146914,_0x34e64a):_0x146914,_0x3c0d37=_0x4cd2f9[_0x5e89d1(0x1b2)]-0x1,_0x45b233;_0x3c0d37>=0x0;_0x3c0d37--)(_0x45b233=_0x4cd2f9[_0x3c0d37])&&(_0xbb2a25=_0x45b233(_0xbb2a25)||_0xbb2a25);return _0xbb2a25;},x=(_0x4463c1,_0x9882f8)=>(_0x8df4cd,_0x249312)=>_0x9882f8(_0x8df4cd,_0x249312,_0x4463c1);const Ii=0x12c,gi=0x64,vi=()=>{let _0x49c238=[],_0x592d68=!0x1;return _0x4c0c43=>{const _0x1b1dcd=_0x5946;_0x49c238[_0x1b1dcd(0x166)](_0x4c0c43),_0x592d68||(_0x592d68=!0x0,setTimeout(()=>{_0x49c238['forEach'](_0x4c8416=>_0x4c8416()),_0x49c238=[],_0x592d68=!0x1;}));};};let Me=class extends _0x16f661{constructor(_0x3035d3,_0x59becf,_0x43ded0,_0x2b8451,_0x2ce7d6,_0x4a728e,_0x16085c,_0x27c6af){const _0x275697=_0x193aec;super(),_(this,_0x275697(0x2dd),!0x1),_(this,_0x275697(0x20f),!0x1),_(this,'_cursorInfo$',new _0x1c6c20(new Map())),_(this,_0x275697(0x1de),this[_0x275697(0x274)][_0x275697(0x2de)]()),_(this,_0x275697(0x149),new _0x1c6c20([])),_(this,_0x275697(0x143),this['_roomMembers$'][_0x275697(0x26b)](_0x4ba34f(Ii))),_(this,_0x275697(0x1a5),_0xbcfd96((_0x1bf08a,_0x17435b)=>{const _0x2fc9d6=_0x275697,_0x7bcb2f={'eventID':_0x2b82ba[_0x2fc9d6(0x13f)],'data':{'unitID':this['unitID'],'memberID':this[_0x2fc9d6(0x14f)][_0x2fc9d6(0x2fb)](),'selection':_0x1e8070(_0x1bf08a,_0x17435b[_0x2fc9d6(0x136)])}};this[_0x2fc9d6(0x14f)][_0x2fc9d6(0x279)](_0x7bcb2f,this[_0x2fc9d6(0x280)]);},gi)),(this[_0x275697(0x280)]=_0x3035d3,this[_0x275697(0x14f)]=_0x59becf,this[_0x275697(0x2d4)]=_0x43ded0,this[_0x275697(0x2ec)]=_0x2b8451,this['_memberService']=_0x2ce7d6,this['_univerInstanceService']=_0x4a728e,this[_0x275697(0x194)]=_0x16085c,this[_0x275697(0x180)]=_0x27c6af);}get[_0x193aec(0x1c7)](){const _0x43bbd7=_0x193aec;return this[_0x43bbd7(0x274)][_0x43bbd7(0x2d3)]();}get['roomMembers'](){const _0x147243=_0x193aec;return this[_0x147243(0x149)][_0x147243(0x2d3)]();}[_0x193aec(0x1a0)](){const _0x102b07=_0x193aec;super[_0x102b07(0x1a0)](),this[_0x102b07(0x274)][_0x102b07(0x2c8)](new Map()),this[_0x102b07(0x274)][_0x102b07(0x2a5)](),this[_0x102b07(0x149)][_0x102b07(0x2c8)]([]),this[_0x102b07(0x149)]['complete']();}['init'](){const _0x2578b7=_0x193aec;this['_init']||(this[_0x2578b7(0x20f)]=!0x0,this[_0x2578b7(0x14f)][_0x2578b7(0x18b)]['pipe'](_0x4f9556(this[_0x2578b7(0x2ba)]))[_0x2578b7(0x312)](_0x49e5b5=>{const _0x310f3d=_0x2578b7;_0x49e5b5===_0x545f32[_0x310f3d(0x206)]?this[_0x310f3d(0x124)]():this[_0x310f3d(0x25a)]();}),this[_0x2578b7(0x14f)][_0x2578b7(0x1fa)]['pipe'](_0x4f9556(this[_0x2578b7(0x2ba)]))['subscribe'](_0x3195d2=>{const _0x1519eb=_0x2578b7,_0x3baeae=_0x3195d2[_0x1519eb(0x128)];_0x3baeae===_0x2b82ba['UPDATE_CURSOR']&&this[_0x1519eb(0x1f8)](_0x3195d2),_0x3baeae===_0x2b82ba['USERS_LEAVE']&&this[_0x1519eb(0x1c4)](_0x3195d2);}),this[_0x2578b7(0x167)](),this['disposeWithMe'](this[_0x2578b7(0x194)][_0x2578b7(0x209)](_0x49aa9b=>{const _0x5bb0ea=_0x2578b7;if(this[_0x5bb0ea(0x2dd)]&&_0x49aa9b['id']===_0x52e0ed['id']&&_0x49aa9b[_0x5bb0ea(0x2c0)][_0x5bb0ea(0x2dc)]===this[_0x5bb0ea(0x280)]){const _0x38ee57=_0x49aa9b[_0x5bb0ea(0x2c0)];this[_0x5bb0ea(0x1a5)](_0x38ee57[_0x5bb0ea(0x200)],_0x38ee57['selections'][0x0]);}})));}['_onCursorUpdate'](_0x50af58){const _0x409203=_0x193aec;var _0x145368,_0x2bbfe0;const {memberID:_0x325d7e,selection:_0x5c30ef}=_0x50af58[_0x409203(0x1ca)],{sheetName:_0x52dd65,range:_0x27f42f}=_0x5ba6c1(_0x5c30ef),_0x1d74f2={'name':(_0x2bbfe0=(_0x145368=this[_0x409203(0x2f3)][_0x409203(0x25b)](this[_0x409203(0x280)],_0x325d7e))==null?void 0x0:_0x145368['name'])!=null?_0x2bbfe0:_0x409203(0x316),'range':this[_0x409203(0x1ee)](_0x52dd65,_0x27f42f),'sheetID':_0x52dd65,'color':this[_0x409203(0x2ec)][_0x409203(0x2f1)](_0x325d7e),'selection':_0x5c30ef},_0x53b61f=this['cursorInfo'];_0x53b61f['set'](_0x325d7e,_0x1d74f2),this[_0x409203(0x274)][_0x409203(0x2c8)](_0x53b61f);}[_0x193aec(0x1c4)](_0x5bc2b2){const _0x44d7f9=_0x193aec,{memberID:_0x5c597c}=_0x5bc2b2['data'],_0x4f2ab1=this[_0x44d7f9(0x1c7)];_0x4f2ab1[_0x44d7f9(0x203)](_0x5c597c),this['_cursorInfo$'][_0x44d7f9(0x2c8)](_0x4f2ab1);}[_0x193aec(0x1ee)](_0x33537c,_0x54ef6e){const _0x429225=_0x193aec;var _0x1b38df,_0x21489a;const _0x3fe1a3=(_0x21489a=(_0x1b38df=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x429225(0x280)]))==null?void 0x0:_0x1b38df[_0x429225(0x2b5)](_0x33537c))==null?void 0x0:_0x21489a[_0x429225(0x1a6)]();return(_0x3fe1a3==null?void 0x0:_0x3fe1a3['find'](_0xe744f0=>_0x1a585b[_0x429225(0x1c8)](_0xe744f0,_0x54ef6e)))||_0x54ef6e;}[_0x193aec(0x167)](){const _0x360cd6=_0x193aec,_0x2f26e0=new _0x35a3fc(),_0x5f5756=vi(),_0x540f25=()=>{const _0x3911c3=_0x5946;_0x2f26e0[_0x3911c3(0x1a0)]();const _0x4d5051=(_0x36cb1a,_0x257644,_0x2d22ce,_0x19d25d)=>{const _0x1e5c14=_0x3911c3;let _0x495bd5=[];switch(_0x36cb1a['id']){case _0x4d5ea4[_0x1e5c14(0x18e)]:{_0x495bd5=_0x4ed1d2(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4['DeleteRangeMoveUpCommandId']:{_0x495bd5=_0x558440(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x230)]:{_0x495bd5=_0x1bafa1(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x29e)]:{_0x495bd5=_0x1986ed(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x21a)]:{_0x495bd5=_0x96700b(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x1a4)]:{_0x495bd5=_0x4f84b8(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x189)]:{_0x495bd5=_0x3bc627(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x286)]:{_0x495bd5=_0x5cb3f5(_0x36cb1a,_0x19d25d);break;}case _0x4d5ea4[_0x1e5c14(0x270)]:{_0x495bd5=_0x1de786(_0x36cb1a,_0x19d25d);break;}}const _0x3cb6a5=_0x297105(_0x495bd5,_0x19d25d),_0x12e42f=this['cursorInfo'][_0x1e5c14(0x202)](_0x257644);if(_0x12e42f&&_0x3cb6a5){const _0x275d8f={..._0x12e42f,'range':_0x3cb6a5};this[_0x1e5c14(0x1c7)][_0x1e5c14(0x12d)](_0x257644,_0x275d8f),_0x5f5756(()=>{const _0x1f4fc0=_0x1e5c14,_0x10e98a=this[_0x1f4fc0(0x180)][_0x1f4fc0(0x135)](_0x3cb6a5,_0x3443bc=>(_0x10e98a['dispose'](),_0x4d5051(_0x3443bc,_0x257644,_0x2d22ce,_0x3cb6a5)));_0x2f26e0['add'](_0x10e98a);});}return{'redos':[],'undos':[]};};this[_0x3911c3(0x1c7)]['forEach']((_0x2ec23b,_0x5d5526)=>{const _0x3ee62f=_0x3911c3,{range:_0x102bac,sheetID:_0x493954}=_0x2ec23b,_0x1d6754=this['_refRangeService']['registerRefRange'](_0x102bac,_0x539d5f=>(_0x1d6754['dispose'](),_0x4d5051(_0x539d5f,_0x5d5526,_0x493954,_0x102bac)));_0x2f26e0[_0x3ee62f(0x186)](_0x1d6754);});};this[_0x360cd6(0x171)](_0x37fdfd(this[_0x360cd6(0x274)][_0x360cd6(0x312)](()=>{_0x540f25();})));}[_0x193aec(0x124)](){const _0x36d6b0=_0x193aec;var _0x1351a7,_0x4dc769;if(this[_0x36d6b0(0x2dd)]=!0x0,((_0x1351a7=this[_0x36d6b0(0x1d5)][_0x36d6b0(0x150)]())==null?void 0x0:_0x1351a7['getUnitId']())!==this['unitID'])return;const _0xa7a2c5=(_0x4dc769=this[_0x36d6b0(0x2d4)][_0x36d6b0(0x202)](_0xe6be6f)[_0x36d6b0(0x207)]())==null?void 0x0:_0x4dc769[0x0],_0x4567f4=this['_univerInstanceService'][_0x36d6b0(0x16c)](_0x32a01e[_0x36d6b0(0x1d0)])[_0x36d6b0(0x2ca)]();_0xa7a2c5&&_0x4567f4&&this[_0x36d6b0(0x1a5)](_0x4567f4['getSheetId'](),_0xa7a2c5);}[_0x193aec(0x25a)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x5562e7(_0x5d7665)),x(0x3,_0x5562e7(ke)),x(0x4,_0x5562e7(_0x2ef6e3)),x(0x5,_0x14a725),x(0x6,_0x4f1fe2),x(0x7,_0x5562e7(_0x1d8553))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x37ed8b,_0x175f53,_0x2df948,_0x31fbf7)=>{const _0x38be7f=_0x193aec;for(var _0x2d014d=_0x31fbf7>0x1?void 0x0:_0x31fbf7?pi(_0x175f53,_0x2df948):_0x175f53,_0x149fd9=_0x37ed8b[_0x38be7f(0x1b2)]-0x1,_0x20ebda;_0x149fd9>=0x0;_0x149fd9--)(_0x20ebda=_0x37ed8b[_0x149fd9])&&(_0x2d014d=_0x20ebda(_0x2d014d)||_0x2d014d);return _0x2d014d;},Se=(_0x51c860,_0x6d076a)=>(_0x4a8591,_0x7e83b5)=>_0x6d076a(_0x4a8591,_0x7e83b5,_0x51c860);let H=class extends _0x16f661{constructor(_0x1d1742,_0x380319,_0x1ed219){const _0x46afaa=_0x193aec;super(),_(this,'_entities',new Map()),_(this,_0x46afaa(0x1e1),new _0x316686()),(this[_0x46afaa(0x1d5)]=_0x1d1742,this[_0x46afaa(0x2d4)]=_0x380319,this[_0x46afaa(0x288)]=_0x1ed219,this['_init']());}[_0x193aec(0x1a0)](){const _0x567d9e=_0x193aec;super[_0x567d9e(0x1a0)](),this[_0x567d9e(0x1e1)][_0x567d9e(0x2a5)](),this[_0x567d9e(0x2e1)][_0x567d9e(0x261)](_0x2a63b7=>_0x2a63b7[_0x567d9e(0x1a0)]());}[_0x193aec(0x1ab)](_0x49348f){const _0x2ee92a=_0x193aec;return this[_0x2ee92a(0x2e1)][_0x2ee92a(0x25d)](_0x49348f)?this['_entities']['get'](_0x49348f)['cursorInfo$']:this[_0x2ee92a(0x1e1)][_0x2ee92a(0x26b)](_0x2d3d10(_0x3f143d=>_0x3f143d[_0x2ee92a(0x280)]===_0x49348f),_0x443430(_0x194c1f=>_0x194c1f['cursorInfo$']));}[_0x193aec(0x20f)](){const _0x21ca9e=_0x193aec;this[_0x21ca9e(0x1d5)][_0x21ca9e(0x2cb)](_0x32a01e['UNIVER_SHEET'])[_0x21ca9e(0x26b)](_0x4f9556(this[_0x21ca9e(0x2ba)]))['subscribe'](async _0x8622dd=>{const _0x26027f=_0x21ca9e,_0x1ae5b9=_0x8622dd['getUnitId'](),_0x5ea865=await this[_0x26027f(0x214)](_0x1ae5b9);this['_entityInit$'][_0x26027f(0x2c8)](_0x5ea865),this[_0x26027f(0x2e1)][_0x26027f(0x12d)](_0x1ae5b9,_0x5ea865);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x32a01e[_0x21ca9e(0x2a1)])[_0x21ca9e(0x26b)](_0x4f9556(this[_0x21ca9e(0x2ba)]))[_0x21ca9e(0x26b)](_0x2d3d10(_0x4da053=>!_0x4da053[_0x21ca9e(0x27b)]()[_0x21ca9e(0x12b)]('__')))[_0x21ca9e(0x312)](async _0xfb2809=>{const _0xf96e39=_0x21ca9e,_0x59c0d3=_0xfb2809[_0xf96e39(0x27b)](),_0x36bc8d=await this[_0xf96e39(0x179)](_0x59c0d3);this['_entityInit$'][_0xf96e39(0x2c8)](_0x36bc8d),this[_0xf96e39(0x2e1)]['set'](_0x59c0d3,_0x36bc8d);}),_0x111dc5(this[_0x21ca9e(0x1d5)][_0x21ca9e(0x2ae)](_0x32a01e[_0x21ca9e(0x2a1)]),this[_0x21ca9e(0x1d5)][_0x21ca9e(0x2ae)](_0x32a01e[_0x21ca9e(0x1d0)]))[_0x21ca9e(0x26b)](_0x4f9556(this['dispose$']))[_0x21ca9e(0x312)](_0x2cb97f=>{const _0x1b5f23=_0x21ca9e,_0x31548b=_0x2cb97f['getUnitId'](),_0x430e28=this[_0x1b5f23(0x2e1)]['get'](_0x31548b);_0x430e28&&(_0x430e28[_0x1b5f23(0x1a0)](),this[_0x1b5f23(0x2e1)]['delete'](_0x31548b));});}async[_0x193aec(0x214)](_0x5ed0fe){const _0x4bc909=_0x193aec,_0xbcdbab=await this[_0x4bc909(0x288)][_0x4bc909(0x29b)](_0x5ed0fe),_0x18c27e=this[_0x4bc909(0x2d4)][_0x4bc909(0x17d)](Me,_0x5ed0fe,_0xbcdbab);return _0x18c27e[_0x4bc909(0x2ce)](),_0x18c27e;}async['_startDocCollabCursor'](_0x1c0b78){const _0x5ae8a2=_0x193aec,_0x520eb8=await this['_collabSessionService'][_0x5ae8a2(0x29b)](_0x1c0b78),_0x59dd60=this[_0x5ae8a2(0x2d4)][_0x5ae8a2(0x17d)](Ue,_0x1c0b78,_0x520eb8);return _0x59dd60['init'](),_0x59dd60;}};H=Ci([Se(0x0,_0x14a725),Se(0x1,_0x5562e7(_0x5d7665)),Se(0x2,_0x5562e7(_0x307ffe))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x58c3cc,_0x455bef){const _0x2c480b=_0x193aec;let {radius:_0x579c26,width:_0x3681b7,height:_0x4c503a}=_0x455bef;_0x579c26=_0x579c26!=null?_0x579c26:0x0,_0x3681b7=_0x3681b7!=null?_0x3681b7:0x1e,_0x4c503a=_0x4c503a!=null?_0x4c503a:0x1e;let _0x2ef7f7=0x0,_0x3d2792=0x0,_0xc58f0=0x0;_0x2ef7f7=_0x3d2792=_0xc58f0=Math['min'](_0x579c26,_0x3681b7/0x2,_0x4c503a/0x2),_0x58c3cc[_0x2c480b(0x177)](),_0x58c3cc[_0x2c480b(0x1ec)](_0x2ef7f7,0x0),_0x58c3cc[_0x2c480b(0x25f)](_0x3681b7-_0x3d2792,0x0),_0x58c3cc['arc'](_0x3681b7-_0x3d2792,_0x3d2792,_0x3d2792,Math['PI']*0x3/0x2,0x0,!0x1),_0x58c3cc[_0x2c480b(0x25f)](_0x3681b7,_0x4c503a-_0xc58f0),_0x58c3cc[_0x2c480b(0x2d2)](_0x3681b7-_0xc58f0,_0x4c503a-_0xc58f0,_0xc58f0,0x0,Math['PI']/0x2,!0x1),_0x58c3cc[_0x2c480b(0x25f)](0x0,_0x4c503a),_0x58c3cc[_0x2c480b(0x25f)](0x0,_0x2ef7f7),_0x58c3cc[_0x2c480b(0x2d2)](_0x2ef7f7,_0x2ef7f7,_0x2ef7f7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x58c3cc[_0x2c480b(0x191)](),_0x455bef[_0x2c480b(0x21b)]&&(_0x58c3cc[_0x2c480b(0x2e3)](),_0x58c3cc['fillStyle']=_0x455bef[_0x2c480b(0x21b)],_0x455bef[_0x2c480b(0x2fa)]===_0x2c480b(0x2e7)?_0x58c3cc[_0x2c480b(0x21b)]('evenodd'):_0x58c3cc['fill'](),_0x58c3cc['restore']());}class he extends _0x3319af{constructor(_0x1a3446,_0x3e6d12){const _0x2e92d2=_0x193aec;super(_0x1a3446,_0x3e6d12),_(this,'color'),_(this,_0x2e92d2(0x1c2)),(this[_0x2e92d2(0x24b)]=_0x3e6d12==null?void 0x0:_0x3e6d12[_0x2e92d2(0x24b)],this['text']=_0x3e6d12==null?void 0x0:_0x3e6d12[_0x2e92d2(0x1c2)]);}static['drawWith'](_0x372271,_0x266191){const _0x4c532c=_0x193aec,{text:_0x533b0f,color:_0x423a5f}=_0x266191;_0x372271[_0x4c532c(0x2e3)](),_0x372271[_0x4c532c(0x300)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x587421=_0x372271[_0x4c532c(0x262)](_0x533b0f)[_0x4c532c(0x1c6)],_0x3cc036=Math[_0x4c532c(0x23c)](_0x587421+0x2*me,Qe);Oi(_0x372271,{'height':ee,'radius':0x4,'width':_0x3cc036,'fill':_0x423a5f}),_0x372271[_0x4c532c(0x2b8)]=_0x4c532c(0x2cd);const _0x1d5298=me,_0x36e8f7=ee-Ei,_0x2653d7=Qe-0x2*me;if(_0x587421>_0x2653d7){let _0x41685f='',_0x2fa149=0x0;for(const _0x5252a4 of _0x533b0f){const _0x49d2c4=_0x372271[_0x4c532c(0x262)](_0x5252a4)[_0x4c532c(0x1c6)];if(_0x2fa149+_0x49d2c4<=_0x2653d7-_0x372271['measureText'](_0x4c532c(0x2b6))[_0x4c532c(0x1c6)])_0x41685f+=_0x5252a4,_0x2fa149+=_0x49d2c4;else{_0x41685f+=_0x4c532c(0x2b6);break;}}_0x372271[_0x4c532c(0x28f)](_0x41685f,_0x1d5298,_0x36e8f7);}else _0x372271[_0x4c532c(0x28f)](_0x533b0f,_0x1d5298,_0x36e8f7);_0x372271['restore']();}['_draw'](_0x2afd17){he['drawWith'](_0x2afd17,this);}}const Ie=_0x193aec(0x204),bi='collab-text-range-',Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x22df81,_0x41f6b8,_0x476792,_0x964397){const _0x50ff94=_0x193aec;_(this,_0x50ff94(0x161),[]),_(this,_0x50ff94(0x213),null),_(this,'_textBubble',null),_(this,_0x50ff94(0x31c),null),_(this,_0x50ff94(0x1fe),null),_(this,_0x50ff94(0x168),null),(this[_0x50ff94(0x173)]=_0x22df81,this['_scene']=_0x41f6b8,this[_0x50ff94(0x1fb)]=_0x476792,this[_0x50ff94(0x2ea)]=_0x964397,this[_0x50ff94(0x2b4)]());}set[_0x193aec(0x26f)](_0x4e5e35){const _0x533ac8=_0x193aec;_0x4e5e35?(this['_anchorDot']&&this[_0x533ac8(0x31c)][_0x533ac8(0x1bb)](),this['_textBubble']&&this[_0x533ac8(0x1c5)][_0x533ac8(0x19b)]()):(this[_0x533ac8(0x31c)]&&this[_0x533ac8(0x31c)][_0x533ac8(0x19b)](),this[_0x533ac8(0x1c5)]&&this[_0x533ac8(0x1c5)][_0x533ac8(0x1bb)]());}[_0x193aec(0x1a0)](){const _0x2c9a27=_0x193aec;for(const _0x2dbac4 of this[_0x2c9a27(0x161)])_0x2dbac4['dispose']();this[_0x2c9a27(0x1c5)]&&this['_textBubble'][_0x2c9a27(0x1a0)](),this[_0x2c9a27(0x31c)]&&this[_0x2c9a27(0x31c)][_0x2c9a27(0x1a0)](),this['_anchor']&&this[_0x2c9a27(0x213)][_0x2c9a27(0x1a0)](),this[_0x2c9a27(0x168)]&&this[_0x2c9a27(0x168)]();}['_render'](){const _0x4d5c05=_0x193aec;var _0xd010ee;const {_docSkeleton:_0x5e272a,_document:_0x2b5811}=this,{color:_0x49d0e7,name:_0x1821ad,ranges:_0x3432e0}=this[_0x4d5c05(0x173)],_0x4831b4=_0x2b5811[_0x4d5c05(0x198)](),{docsLeft:_0x508c25,docsTop:_0x306e67}=_0x4831b4,_0x327678=new _0x2e5d46(_0x4831b4,_0x5e272a);for(const {startOffset:_0x9ea995,endOffset:_0x255ef0,rangeType:_0x3f0cbe,segmentId:_0x1cca21,segmentPage:_0x291b86,collapsed:_0x90f8cc,isActive:_0x155032}of _0x3432e0){const _0x2791b5=_0x5e272a[_0x4d5c05(0x2e4)](_0x9ea995,!0x0,_0x1cca21,_0x291b86);let _0x248f61=_0x5e272a['findNodePositionByCharIndex'](_0x255ef0,!0x0,_0x1cca21,_0x291b86);if(_0x248f61==null&&(_0x248f61=_0x5e272a[_0x4d5c05(0x2e4)](_0x255ef0-0x1,!0x1,_0x1cca21,_0x291b86)),_0x155032){const {contentBoxPointGroup:_0x5634e6}=_0x327678[_0x4d5c05(0x22c)](_0x248f61,_0x248f61);if(_0x5634e6[_0x4d5c05(0x1b2)]===0x0)continue;this[_0x4d5c05(0x14d)](_0x49d0e7,_0x5634e6,_0x508c25,_0x306e67,_0x1821ad),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x2791b5&&_0x248f61){if(_0x3f0cbe===_0x343d66[_0x4d5c05(0x1cc)]){const _0x1c6146=new _0x302090(_0x4831b4,_0x5e272a),{pointGroup:_0x3b7f1f}=(_0xd010ee=_0x1c6146[_0x4d5c05(0x22c)](_0x2791b5,_0x248f61))!=null?_0xd010ee:{};if(_0x3b7f1f==null||_0x3b7f1f[_0x4d5c05(0x1b2)]===0x0)continue;this['_drawRectRange'](_0x49d0e7,_0x3b7f1f,_0x508c25,_0x306e67);}else{if(!_0x90f8cc){const {borderBoxPointGroup:_0x2b263a}=_0x327678[_0x4d5c05(0x22c)](_0x2791b5,_0x248f61);if(_0x2b263a[_0x4d5c05(0x1b2)]===0x0)continue;this[_0x4d5c05(0x1fc)](_0x49d0e7,_0x2b263a,_0x508c25,_0x306e67);}}}}}['_drawAnchor'](_0x4d7eda,_0x4abd18,_0x13a0ff,_0x4f700a,_0x4a7fb8){const _0x243143=_0x193aec,_0x131081=this['_getAnchorBounding'](_0x4abd18),{left:_0x42240e,top:_0x1a4cbb,height:_0x320f22}=_0x131081,_0x498466=this['_getScale'](),_0x1a67a9=Di/_0x498466,_0x5cbea5=new _0x4c1fcc(Ie+_0x3929d5[_0x243143(0x2c2)](X),{'left':_0x42240e+_0x13a0ff-_0x1a67a9,'top':_0x1a4cbb+_0x4f700a,'height':_0x320f22,'width':Ri,'fill':_0x4d7eda||_0x4f4df7(_0x49e583['black'],0x0),'strokeWidth':_0x1a67a9,'stroke':Ni,'evented':!0x0});this[_0x243143(0x213)]=_0x5cbea5,this[_0x243143(0x18c)][_0x243143(0x1db)](_0x5cbea5,_0x11fdc1);const _0x33148d=new _0x4c1fcc(Ie+_0x3929d5[_0x243143(0x2c2)](X),{'left':_0x42240e+_0x13a0ff-_0x1a67a9,'top':_0x1a4cbb+_0x4f700a-ge/0x2,'height':ge,'width':ge,'fill':_0x4d7eda||_0x4f4df7(_0x49e583[_0x243143(0x13c)],0x0),'strokeWidth':0x0,'stroke':_0x4d7eda||_0x4f4df7(_0x49e583[_0x243143(0x13c)],0x0),'evented':!0x1});this[_0x243143(0x31c)]=_0x33148d,this[_0x243143(0x18c)]['addObject'](_0x33148d,_0x11fdc1);const _0x302d05=new he(Ie+_0x3929d5[_0x243143(0x2c2)](X),{'left':_0x42240e+_0x13a0ff-_0x1a67a9,'top':_0x1a4cbb+_0x4f700a-ee,'text':_0x4a7fb8,'color':_0x4d7eda});this[_0x243143(0x1c5)]=_0x302d05,this[_0x243143(0x18c)][_0x243143(0x1db)](_0x302d05,_0x11fdc1),this['_hover']=!0x1;}[_0x193aec(0x250)](){const _0x10005a=_0x193aec,_0x57eb52=this[_0x10005a(0x213)][_0x10005a(0x24a)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x5502fa=this['_anchor'][_0x10005a(0x2fc)][_0x10005a(0x232)](()=>{const _0x249c55=_0x10005a;this['_hideTimer']&&clearTimeout(this[_0x249c55(0x1fe)]),this[_0x249c55(0x1fe)]=setTimeout(()=>{const _0x1e521a=_0x249c55;this[_0x1e521a(0x26f)]=!0x1;},0x7d0);});return()=>{const _0x17cc8c=_0x10005a;_0x57eb52[_0x17cc8c(0x257)](),_0x5502fa[_0x17cc8c(0x257)]();};}[_0x193aec(0x1fc)](_0x10eb5c,_0x55a9f4,_0x430460,_0x1d0274){const _0x1b8b8d=_0x193aec,_0x326016=new _0x17c4c3(_0x10eb5c)[_0x1b8b8d(0x319)](0.2)['toRgbString'](),_0x2d7715=new _0x3641ed(bi+_0x3929d5['generateRandomId'](X),{'pointsGroup':_0x55a9f4,'fill':_0x326016||_0x4f4df7(_0x49e583['black'],0.2),'left':_0x430460,'top':_0x1d0274,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1b8b8d(0x166)](_0x2d7715),this[_0x1b8b8d(0x18c)][_0x1b8b8d(0x1db)](_0x2d7715,_0x11fdc1);}[_0x193aec(0x1bf)](_0x4a345d,_0x514cb5,_0x440969,_0x4a39a6){const _0x88ebf1=_0x193aec,_0x3ccce5=new _0x17c4c3(_0x4a345d)[_0x88ebf1(0x319)](0.2)[_0x88ebf1(0x27d)](),_0x502e0f=new _0x3641ed(Ti+_0x3929d5[_0x88ebf1(0x2c2)](X),{'pointsGroup':_0x514cb5,'fill':_0x3ccce5||_0x4f4df7(_0x49e583['black'],0.2),'left':_0x440969,'top':_0x4a39a6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x502e0f),this[_0x88ebf1(0x18c)][_0x88ebf1(0x1db)](_0x502e0f,_0x11fdc1);}[_0x193aec(0x15c)](_0x104fd9){const _0x1a7888=_0x104fd9[0x0],_0x5d5cea=_0x1a7888[0x0],_0x68d5f5=_0x1a7888[0x2],{x:_0xc43dcc,y:_0x2d2e86}=_0x5d5cea,{x:_0x2cf6f8,y:_0x250c1b}=_0x68d5f5;return{'left':_0xc43dcc,'top':_0x2d2e86,'width':_0x2cf6f8-_0xc43dcc,'height':_0x250c1b-_0x2d2e86};}[_0x193aec(0x248)](){const _0xd01057=_0x193aec,{scaleX:_0x256cb,scaleY:_0xe5a502}=this[_0xd01057(0x18c)][_0xd01057(0x275)]();return Math[_0xd01057(0x2aa)](_0x256cb,_0xe5a502);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x4c3a8a,_0x369c8d,_0x4206d9,_0x27cab0)=>{const _0x2c61da=_0x193aec;for(var _0x475e1d=_0x27cab0>0x1?void 0x0:_0x27cab0?Ui(_0x369c8d,_0x4206d9):_0x369c8d,_0x25fb20=_0x4c3a8a[_0x2c61da(0x1b2)]-0x1,_0x2fad14;_0x25fb20>=0x0;_0x25fb20--)(_0x2fad14=_0x4c3a8a[_0x25fb20])&&(_0x475e1d=_0x2fad14(_0x475e1d)||_0x475e1d);return _0x475e1d;},Z=(_0x38009d,_0xa26157)=>(_0x5830f0,_0x3b8e3f)=>_0xa26157(_0x5830f0,_0x3b8e3f,_0x38009d);let we=class extends _0x16f661{constructor(_0x4bc6a9,_0x3816d4,_0x4459ea,_0x165bae,_0x133760){const _0x5e0b2c=_0x193aec;super(),_(this,'_cursorShapes',[]),_(this,_0x5e0b2c(0x2ef),[]),(this[_0x5e0b2c(0x1c3)]=_0x4bc6a9,this[_0x5e0b2c(0x199)]=_0x3816d4,this[_0x5e0b2c(0x1f0)]=_0x4459ea,this['_commandService']=_0x165bae,this[_0x5e0b2c(0x164)]=_0x133760,this[_0x5e0b2c(0x20f)]());}[_0x193aec(0x20f)](){const _0x53dda0=_0x193aec,_0x1f0212=this[_0x53dda0(0x1c3)][_0x53dda0(0x2dc)],_0x2b37c9=this[_0x53dda0(0x199)];this[_0x53dda0(0x171)](_0x575ac7([this[_0x53dda0(0x1f0)][_0x53dda0(0x1ab)](_0x1f0212),this['_themeService']['currentTheme$']])['pipe'](_0x48258c(([_0x1d7e4b,_0x2c17d0])=>({'skeleton':_0x2b37c9['getSkeleton'](),'cursors':[..._0x1d7e4b['values']()][_0x53dda0(0x1f1)](_0x5166b4=>({..._0x5166b4,'color':this[_0x53dda0(0x164)][_0x53dda0(0x255)](_0x5166b4[_0x53dda0(0x24b)])}))})))[_0x53dda0(0x312)](_0x5ddfda=>{const _0x4e0884=_0x53dda0;if(this[_0x4e0884(0x16a)](),_0x5ddfda){const {skeleton:_0x24ea6d,cursors:_0x232691}=_0x5ddfda;this[_0x4e0884(0x138)](_0x24ea6d,_0x232691);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x193aec(0x138)](_0x541ea9,_0x1f0db0){const _0x3a3337=_0x193aec,{scene:_0x495991,mainComponent:_0x16fd73}=this[_0x3a3337(0x1c3)],_0x3fd958=_0x1f0db0[_0x3a3337(0x169)](_0x4c470a=>new qe(_0x4c470a,_0x495991,_0x541ea9,_0x16fd73));this['_cursorShapes']=_0x3fd958,this[_0x3a3337(0x2ef)]=_0x1f0db0;}[_0x193aec(0x1b4)](){const _0x5200e9=_0x193aec;this[_0x5200e9(0x16a)]();const {scene:_0x70b33f,mainComponent:_0x4e356d}=this[_0x5200e9(0x1c3)],_0x1abb5f=this['_docSkeletonManagerService'][_0x5200e9(0x1e2)](),_0x3afffb=this['_cursors']['map'](_0x20d719=>new qe(_0x20d719,_0x70b33f,_0x1abb5f,_0x4e356d));this['_cursorShapes']=_0x3afffb;}['_removeCollabCursors'](){const _0x51db2e=_0x193aec;this[_0x51db2e(0x1d4)][_0x51db2e(0x261)](_0x1338c7=>_0x1338c7[_0x51db2e(0x1a0)]()),this[_0x51db2e(0x1d4)]=[];}[_0x193aec(0x2f8)](){const _0x538d5d=_0x193aec,_0x5289ee=[_0x2ff919['id']];this[_0x538d5d(0x171)](this['_commandService'][_0x538d5d(0x209)](_0x38c723=>{const _0x3f1d13=_0x538d5d;_0x5289ee[_0x3f1d13(0x21e)](_0x38c723['id'])&&_0x38c723[_0x3f1d13(0x2c0)][_0x3f1d13(0x2dc)]===this[_0x3f1d13(0x1c3)][_0x3f1d13(0x2dc)]&&this[_0x3f1d13(0x1b4)]();}));}[_0x193aec(0x269)](){const _0x590a42=_0x193aec;this[_0x590a42(0x171)](_0x559980(this[_0x590a42(0x1c3)][_0x590a42(0x247)][_0x590a42(0x28d)])[_0x590a42(0x26b)](_0x1eada0(_0x6272ff=>_0x6272ff['type']===_0x10f7a0[_0x590a42(0x2f7)]),_0x37deae(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};we=Mi([Z(0x1,_0x5562e7(_0x35adb7)),Z(0x2,_0x5562e7(H)),Z(0x3,_0x4f1fe2),Z(0x4,_0x5562e7(_0x2a18b1))],we);const wi=0x1,Pi=1.5;class Li extends _0x3319af{constructor(_0x7837ea,_0x7d4124){const _0x123619=_0x193aec;super(_0x7837ea,_0x7d4124),_(this,_0x123619(0x15e)),_(this,_0x123619(0x2d6),!0x1),_(this,_0x123619(0x246)),_(this,'_name',''),_(this,_0x123619(0x16f),_0x123619(0x16d)),_(this,_0x123619(0x1ba)),(_0x7d4124&&this['setShapeProps'](_0x7d4124),this[_0x123619(0x24a)][_0x123619(0x232)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x123619(0x2fc)][_0x123619(0x232)](()=>this[_0x123619(0x224)]({'hovered':!0x1})));}[_0x193aec(0x224)](_0x378e8c){const _0x5e9a25=_0x193aec;var _0x32a806,_0x48002a,_0x1040cd,_0x390599,_0x56d7c2,_0xdcc71a;this['_color']=(_0x32a806=_0x378e8c['color'])!=null?_0x32a806:this[_0x5e9a25(0x15e)],this[_0x5e9a25(0x2d6)]=(_0x48002a=_0x378e8c[_0x5e9a25(0x1ac)])!=null?_0x48002a:this[_0x5e9a25(0x2d6)],this[_0x5e9a25(0x246)]=(_0x1040cd=_0x378e8c[_0x5e9a25(0x136)])!=null?_0x1040cd:this['_range'],this['_name']=(_0x390599=_0x378e8c[_0x5e9a25(0x148)])!=null?_0x390599:this[_0x5e9a25(0x273)],this[_0x5e9a25(0x16f)]=(_0x56d7c2=_0x378e8c[_0x5e9a25(0x314)])!=null?_0x56d7c2:this[_0x5e9a25(0x16f)],this[_0x5e9a25(0x1ba)]=(_0xdcc71a=_0x378e8c[_0x5e9a25(0x1ff)])!=null?_0xdcc71a:this[_0x5e9a25(0x1ba)],this['transformByState']({'width':_0x378e8c[_0x5e9a25(0x1c6)],'height':_0x378e8c[_0x5e9a25(0x1be)]});}[_0x193aec(0x20c)](_0x425f67){const _0x413ce3=_0x193aec,{row:_0x3edb95,column:_0x45597f}=_0x425f67;if(_0x3edb95>=this[_0x413ce3(0x246)][_0x413ce3(0x267)]&&_0x3edb95<=this[_0x413ce3(0x246)][_0x413ce3(0x2fe)]&&_0x45597f>=this[_0x413ce3(0x246)][_0x413ce3(0x284)]&&_0x45597f<=this[_0x413ce3(0x246)][_0x413ce3(0x1eb)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x413ce3(0x224)]({'hovered':!0x1});}[_0x193aec(0x1bc)](_0x1916cb){return!0x1;}['_draw'](_0xa494ab){const _0x15af80=_0x193aec;_0x4c1fcc[_0x15af80(0x27a)](_0xa494ab,{'width':this[_0x15af80(0x1c6)],'height':this[_0x15af80(0x1be)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x15af80(0x1ba)]}),this[_0x15af80(0x2d6)]&&(_0xa494ab[_0x15af80(0x2e3)](),_0xa494ab['transform'](0x1,0x0,0x0,0x1,this[_0x15af80(0x1c6)],this[_0x15af80(0x16f)]===_0x15af80(0x126)?0x0:-0x14),he[_0x15af80(0x27a)](_0xa494ab,{'text':this[_0x15af80(0x273)],'color':this[_0x15af80(0x15e)]}),_0xa494ab['restore']());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x312bf5,_0x8cc95,_0x362f6a,_0xf08b00)=>{for(var _0x114481=_0xf08b00>0x1?void 0x0:_0xf08b00?Ai(_0x8cc95,_0x362f6a):_0x8cc95,_0x38506b=_0x312bf5['length']-0x1,_0x1fbe9a;_0x38506b>=0x0;_0x38506b--)(_0x1fbe9a=_0x312bf5[_0x38506b])&&(_0x114481=_0x1fbe9a(_0x114481)||_0x114481);return _0x114481;},ve=(_0xc0e311,_0x46610c)=>(_0x41af60,_0x4b1b1b)=>_0x46610c(_0x41af60,_0x4b1b1b,_0xc0e311);const $i=0x1389;let Pe=class extends _0x16f661{constructor(_0x2b8133,_0x3152c9,_0x51f4e6,_0x4a85ce){const _0x463d10=_0x193aec;super(),_(this,_0x463d10(0x2ef),new Set()),_(this,_0x463d10(0x322),null),(this[_0x463d10(0x1c3)]=_0x2b8133,this['_sheetSkeletonManagerService']=_0x3152c9,this['_collabCursorController']=_0x51f4e6,this[_0x463d10(0x164)]=_0x4a85ce,this[_0x463d10(0x20f)]());}[_0x193aec(0x20f)](){const _0x1e17a8=_0x193aec;this['_sheetSkeletonManagerService'][_0x1e17a8(0x318)][_0x1e17a8(0x26b)](_0x42ff6e(this[_0x1e17a8(0x2ba)]),_0x176659(_0xcf464c=>{const _0x219f94=_0x1e17a8;if(_0xcf464c){const _0x5bfd6a=_0xcf464c['sheetId'];return _0x575ac7(this[_0x219f94(0x1f0)][_0x219f94(0x1ab)](this[_0x219f94(0x1c3)][_0x219f94(0x2dc)]),this['_themeService']['currentTheme$'])[_0x219f94(0x26b)](_0x48258c(([_0x54dbc7,_0x34a831])=>{const _0x30201c=_0x219f94,_0x19fb9b=new Map();return _0x54dbc7[_0x30201c(0x261)]((_0x4edb2c,_0x76e57f)=>{const _0x1b7265=_0x30201c;if(_0x4edb2c[_0x1b7265(0x140)]===_0x5bfd6a){const _0x37695={..._0x4edb2c};_0x37695[_0x1b7265(0x24b)]=this[_0x1b7265(0x164)][_0x1b7265(0x255)](_0x4edb2c['color']),_0x19fb9b[_0x1b7265(0x12d)](_0x76e57f,_0x37695);}}),{'skeleton':_0xcf464c,'cursors':_0x19fb9b};}));}return _0x42a69d({'skeleton':null,'cursors':new Map()});}))[_0x1e17a8(0x312)](({skeleton:_0x49d0d3,cursors:_0x3cea97})=>{const _0x391fc0=_0x1e17a8;this[_0x391fc0(0x16a)](),_0x49d0d3&&this['_updateCollabCursors'](_0x49d0d3,_0x3cea97);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x55f8f4=>{const _0x4073fd=_0x1e17a8;if(_0x55f8f4==null)return;const {skeleton:_0x55d8ec}=_0x55f8f4,{scene:_0x4d7581}=this[_0x4073fd(0x1c3)];_0x4d7581['onPointerMove$'][_0x4073fd(0x232)](_0xbcfd96(_0x2dd340=>{const _0x3955fe=_0x4073fd;var _0x5857ce,_0x576598;const {offsetX:_0xfc34b8,offsetY:_0x3e242a}=_0x2dd340,{x:_0x3d1b77,y:_0x32ea6d}=_0x4d7581[_0x3955fe(0x2e8)](_0x25c94b['FromArray']([_0xfc34b8,_0x3e242a])),{scaleX:_0x3e8ff7,scaleY:_0x1f9adc}=_0x4d7581['getAncestorScale'](),_0x218c6e=_0x4d7581[_0x3955fe(0x1d7)](_0x21c299[_0x3955fe(0x1f4)]),_0x3cf894=_0x4d7581[_0x3955fe(0x233)](_0x25c94b['FromArray']([_0x3d1b77,_0x32ea6d]),_0x218c6e),_0x208c15=_0x55d8ec[_0x3955fe(0x1a7)](_0xfc34b8,_0x3e242a,_0x3e8ff7,_0x1f9adc,_0x3cf894);((_0x5857ce=this[_0x3955fe(0x322)])==null?void 0x0:_0x5857ce[_0x3955fe(0x252)])===_0x208c15[_0x3955fe(0x252)]&&((_0x576598=this['_lastPointer'])==null?void 0x0:_0x576598['row'])===_0x208c15['row']||this[_0x3955fe(0x2ef)][_0x3955fe(0x261)](_0x4833a4=>{const _0x190dc5=_0x3955fe;_0x4833a4[_0x190dc5(0x20c)](_0x208c15);});},0x64));});}['_updateCollabCursors'](_0x2ecf76,_0x4dd13d){const _0x80a7c=_0x193aec;var _0x5ea01d;const _0x405d07=(_0x5ea01d=this[_0x80a7c(0x188)][_0x80a7c(0x2c3)]())==null?void 0x0:_0x5ea01d['skeleton'];if(!_0x405d07)return;const _0x305f86=this[_0x80a7c(0x31f)]();if(!_0x305f86)return;this['_cursors'][_0x80a7c(0x261)](_0x220896=>{const _0x1eb8fb=_0x80a7c;_0x220896[_0x1eb8fb(0x1b0)]();});const {scene:_0x9cf5be}=_0x305f86,_0x19e5f3=xi(Array['from'](_0x4dd13d[_0x80a7c(0x30f)]()))[_0x80a7c(0x169)](_0x56cb5c=>{const _0x37cd32=_0x80a7c,{color:_0xb12367,range:_0x22bde9,name:_0x4dbff0,selection:_0x388c39,sheetID:_0x1fe6eb}=_0x56cb5c,{startColumn:_0x29e18c,startRow:_0x260960,endColumn:_0x1a40c3,endRow:_0x9f3e12}=_0x22bde9,_0x36aa6f=_0x27b72a(_0x260960,_0x29e18c,_0x9cf5be,_0x405d07),_0x3a51f2=_0x27b72a(_0x9f3e12,_0x1a40c3,_0x9cf5be,_0x405d07),{columnHeaderHeightAndMarginTop:_0x30fdee}=_0x405d07,{startX:_0x2539c4,startY:_0x379796}=_0x36aa6f,{endX:_0x134c0d,endY:_0x4fcae3}=_0x3a51f2,_0x2cdda0=_0x134c0d-_0x2539c4,_0x202281=_0x4fcae3-_0x379796,_0x12abb8={'labelPosition':_0x379796-_0x30fdee>=ee?_0x37cd32(0x16d):_0x37cd32(0x126),'sheetID':_0x1fe6eb,'range':_0x22bde9,'color':_0xb12367,'name':_0x4dbff0,'selection':_0x388c39,'left':_0x2539c4,'top':_0x379796,'width':_0x2cdda0,'height':_0x202281,'evented':!0x1,'zIndex':$i};return new Li(_0x4dbff0,_0x12abb8);});_0x9cf5be[_0x80a7c(0x157)](_0x19e5f3,wi),this[_0x80a7c(0x2ef)]=new Set(_0x19e5f3);}[_0x193aec(0x16a)](){const _0xda181d=_0x193aec;var _0x2cce46;(_0x2cce46=this['_cursors'])==null||_0x2cce46['forEach'](_0x2e80ce=>_0x2e80ce[_0xda181d(0x1a0)]());}[_0x193aec(0x31f)](){const _0x3da0bb=_0x193aec;return _0x119bd6(this[_0x3da0bb(0x1c3)][_0x3da0bb(0x2ee)],this[_0x3da0bb(0x1c3)]);}};Pe=yi([ve(0x1,_0x5562e7(_0x532ecb)),ve(0x2,_0x5562e7(H)),ve(0x3,_0x5562e7(_0x2a18b1))],Pe);function xi(_0x339da4){const _0x19a7f7=_0x193aec,_0x50a65f=new Map();return _0x339da4[_0x19a7f7(0x261)](_0x585838=>{const _0x1fd1a8=_0x19a7f7;if(_0x50a65f['has'](_0x585838['selection'])){const _0xb85eff=_0x50a65f[_0x1fd1a8(0x202)](_0x585838[_0x1fd1a8(0x2a8)]);_0xb85eff[_0x1fd1a8(0x148)]+=',\x20'+_0x585838['name'];}else _0x50a65f[_0x1fd1a8(0x12d)](_0x585838['selection'],_0x585838);}),Array['from'](_0x50a65f[_0x19a7f7(0x30f)]());}var v=function(){const _0x5e63d8=_0x193aec;return v=Object[_0x5e63d8(0x2db)]||function(_0x388332){const _0x2dc593=_0x5e63d8;for(var _0x32a5f3,_0x281752=0x1,_0x22e9d9=arguments[_0x2dc593(0x1b2)];_0x281752<_0x22e9d9;_0x281752++){_0x32a5f3=arguments[_0x281752];for(var _0x37dd23 in _0x32a5f3)Object[_0x2dc593(0x320)][_0x2dc593(0x223)]['call'](_0x32a5f3,_0x37dd23)&&(_0x388332[_0x37dd23]=_0x32a5f3[_0x37dd23]);}return _0x388332;},v['apply'](this,arguments);},Bi=function(_0x424a17,_0x579487){const _0x55f0f1=_0x193aec;var _0x44d33d={};for(var _0x44139e in _0x424a17)Object[_0x55f0f1(0x320)][_0x55f0f1(0x223)][_0x55f0f1(0x2d0)](_0x424a17,_0x44139e)&&_0x579487[_0x55f0f1(0x240)](_0x44139e)<0x0&&(_0x44d33d[_0x44139e]=_0x424a17[_0x44139e]);if(_0x424a17!=null&&typeof Object[_0x55f0f1(0x15b)]==_0x55f0f1(0x184)){for(var _0x2ad2a2=0x0,_0x44139e=Object[_0x55f0f1(0x15b)](_0x424a17);_0x2ad2a2<_0x44139e[_0x55f0f1(0x1b2)];_0x2ad2a2++)_0x579487[_0x55f0f1(0x240)](_0x44139e[_0x2ad2a2])<0x0&&Object[_0x55f0f1(0x320)][_0x55f0f1(0x282)]['call'](_0x424a17,_0x44139e[_0x2ad2a2])&&(_0x44d33d[_0x44139e[_0x2ad2a2]]=_0x424a17[_0x44139e[_0x2ad2a2]]);}return _0x44d33d;},je=_0x52ec90(function(_0x53e0ff,_0x265695){const _0x192190=_0x193aec;var _0x11f798=_0x53e0ff[_0x192190(0x190)],_0x3a0462=_0x53e0ff['id'],_0x30315e=_0x53e0ff[_0x192190(0x15f)],_0x3227f2=_0x53e0ff['extend'],_0x2009bd=Bi(_0x53e0ff,[_0x192190(0x190),'id',_0x192190(0x15f),_0x192190(0x219)]),_0x4b3606=_0x192190(0x27f)[_0x192190(0x221)](_0x3a0462,'\x20')[_0x192190(0x221)](_0x30315e||'')[_0x192190(0x176)](),_0x2300e9=_0x28a951('_'[_0x192190(0x221)](ji()));return Rt(_0x11f798,''[_0x192190(0x221)](_0x3a0462),{'defIds':_0x11f798[_0x192190(0x23d)],'idSuffix':_0x2300e9[_0x192190(0x212)]},v({'ref':_0x265695,'className':_0x4b3606},_0x2009bd),_0x3227f2);});function Rt(_0x445ea2,_0x3ca95b,_0x4b94bd,_0x4359d0,_0x39e7ce){const _0x3ca37d=_0x193aec;return _0x22d147(_0x445ea2[_0x3ca37d(0x1d6)],v(v({'key':_0x3ca95b},ki(_0x445ea2,_0x4b94bd,_0x39e7ce)),_0x4359d0),(Hi(_0x445ea2,_0x4b94bd)[_0x3ca37d(0x1ef)]||[])[_0x3ca37d(0x169)](function(_0x22c0fb,_0x4a79bd){const _0x2ad596=_0x3ca37d;return Rt(_0x22c0fb,''[_0x2ad596(0x221)](_0x3ca95b,'-')['concat'](_0x445ea2[_0x2ad596(0x1d6)],'-')[_0x2ad596(0x221)](_0x4a79bd),_0x4b94bd,void 0x0,_0x39e7ce);}));}function ki(_0xe04e79,_0x59d06d,_0x389fa8){const _0x481d2d=_0x193aec;var _0x30ab49=v({},_0xe04e79[_0x481d2d(0x2a3)]);_0x389fa8!=null&&_0x389fa8[_0x481d2d(0x1e6)]&&_0x30ab49[_0x481d2d(0x21b)]===_0x481d2d(0x1e6)&&(_0x30ab49[_0x481d2d(0x21b)]=_0x389fa8[_0x481d2d(0x1e6)]),_0xe04e79['tag']===_0x481d2d(0x1c1)&&_0x30ab49['id']&&(_0x30ab49['id']=_0x30ab49['id']+_0x59d06d['idSuffix']),Object[_0x481d2d(0x260)](_0x30ab49)[_0x481d2d(0x261)](function(_0x315f37){const _0x412abc=_0x481d2d;var _0x4664ac=_0x315f37[0x0],_0x27762d=_0x315f37[0x1];_0x4664ac==='mask'&&typeof _0x27762d==_0x412abc(0x323)&&(_0x30ab49[_0x4664ac]=_0x27762d[_0x412abc(0x182)](/url\(#(.*)\)/,_0x412abc(0x193)[_0x412abc(0x221)](_0x59d06d[_0x412abc(0x268)],')')));});var _0x37e8a0=_0x59d06d[_0x481d2d(0x23d)];return!_0x37e8a0||_0x37e8a0[_0x481d2d(0x1b2)]===0x0||(_0xe04e79[_0x481d2d(0x1d6)]===_0x481d2d(0x235)&&_0x30ab49[_0x481d2d(0x19d)]&&(_0x30ab49[_0x481d2d(0x19d)]=_0x30ab49[_0x481d2d(0x19d)]+_0x59d06d[_0x481d2d(0x268)]),Object['entries'](_0x30ab49)[_0x481d2d(0x261)](function(_0x1eda53){const _0x3d77cb=_0x481d2d;var _0x770513=_0x1eda53[0x0],_0x2c1699=_0x1eda53[0x1];typeof _0x2c1699==_0x3d77cb(0x323)&&(_0x30ab49[_0x770513]=_0x2c1699[_0x3d77cb(0x182)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x59d06d[_0x3d77cb(0x268)],')')));})),_0x30ab49;}function Hi(_0x381011,_0x5b3afb){const _0x15ecf9=_0x193aec;var _0x57da2a,_0x3f0dc5=_0x5b3afb[_0x15ecf9(0x23d)];return!_0x3f0dc5||_0x3f0dc5[_0x15ecf9(0x1b2)]===0x0?_0x381011:_0x381011[_0x15ecf9(0x1d6)]==='defs'&&(!((_0x57da2a=_0x381011[_0x15ecf9(0x1ef)])===null||_0x57da2a===void 0x0)&&_0x57da2a[_0x15ecf9(0x1b2)])?v(v({},_0x381011),{'children':_0x381011[_0x15ecf9(0x1ef)][_0x15ecf9(0x169)](function(_0x21bc74){const _0x42964c=_0x15ecf9;return typeof _0x21bc74[_0x42964c(0x2a3)]['id']==_0x42964c(0x323)&&_0x3f0dc5&&_0x3f0dc5[_0x42964c(0x240)](_0x21bc74['attrs']['id'])>-0x1?v(v({},_0x21bc74),{'attrs':v(v({},_0x21bc74['attrs']),{'id':_0x21bc74[_0x42964c(0x2a3)]['id']+_0x5b3afb[_0x42964c(0x268)]})}):_0x21bc74;})}):_0x381011;}function ji(){const _0x4238fb=_0x193aec;return Math[_0x4238fb(0x170)]()['toString'](0x24)[_0x4238fb(0x2be)](0x2,0x8);}je[_0x193aec(0x147)]=_0x193aec(0x317);var Yi={'tag':_0x193aec(0x2e2),'attrs':{'xmlns':_0x193aec(0x2eb),'fill':_0x193aec(0x301),'viewBox':_0x193aec(0x125),'width':'1em','height':_0x193aec(0x2ff)},'children':[{'tag':'g','attrs':{'clipPath':_0x193aec(0x31e)},'children':[{'tag':'path','attrs':{'stroke':_0x193aec(0x211),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x193aec(0x155),'strokeWidth':1.2}}]},{'tag':_0x193aec(0x23f),'attrs':{},'children':[{'tag':_0x193aec(0x23a),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x193aec(0x196),'attrs':{'fill':_0x193aec(0x2cc),'d':_0x193aec(0x295)}}]}]}],'defIds':[_0x193aec(0x2ad)]},Dt=_0x52ec90(function(_0x13da86,_0x20762b){const _0x9174f0=_0x193aec;return _0x22d147(je,Object[_0x9174f0(0x2db)]({},_0x13da86,{'id':_0x9174f0(0x13d),'ref':_0x20762b,'icon':Yi}));});Dt['displayName']=_0x193aec(0x1e9);function _0x5946(_0x238c31,_0x3b16d6){const _0x3b2755=_0x3b27();return _0x5946=function(_0x59468c,_0x3e1220){_0x59468c=_0x59468c-0x124;let _0x1befd2=_0x3b2755[_0x59468c];return _0x1befd2;},_0x5946(_0x238c31,_0x3b16d6);}var Fi={'tag':_0x193aec(0x2e2),'attrs':{'xmlns':_0x193aec(0x2eb),'fill':_0x193aec(0x301),'viewBox':_0x193aec(0x24f),'width':_0x193aec(0x2ff),'height':_0x193aec(0x2ff)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x193aec(0x211),'d':_0x193aec(0x26e),'strokeLinecap':_0x193aec(0x155),'strokeLinejoin':_0x193aec(0x155),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x193aec(0x23a),'attrs':{'id':_0x193aec(0x181)},'children':[{'tag':_0x193aec(0x196),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x193aec(0x2a6)}}]}]}],'defIds':[_0x193aec(0x181)]},Nt=_0x52ec90(function(_0x3b82a0,_0x46466f){return _0x22d147(je,Object['assign']({},_0x3b82a0,{'id':'on-line-icon','ref':_0x46466f,'icon':Fi}));});Nt[_0x193aec(0x147)]=_0x193aec(0x254);function Wi(_0x13ae8f){const _0x5cd394=_0x193aec;switch(_0x13ae8f){case _0x4edef0[_0x5cd394(0x218)]:return _0x5cd394(0x1f6);case _0x4edef0[_0x5cd394(0x154)]:return _0x5cd394(0x1a2);case _0x4edef0[_0x5cd394(0x129)]:return _0x5cd394(0x12c);case _0x4edef0['NOT_COLLAB']:return'collabStatus.notCollab';case _0x4edef0['AWAITING']:case _0x4edef0['AWAITING_WITH_PENDING']:return _0x5cd394(0x2b9);case _0x4edef0[_0x5cd394(0x14e)]:case _0x4edef0['PENDING']:return _0x5cd394(0x16b);}}function Vi(_0x5127df){const _0x263d2c=_0x193aec,{status$:_0x55d335}=_0x5127df,_0xeb82d=_0x37ff18(_0x55d335,_0x4edef0[_0x263d2c(0x287)]),_0x98cf3=_0x182f0c(_0x57d907),_0x29e9a4=_0x182f0c(_0x307ffe),_0x1a2775=_0xeb82d!==_0x4edef0[_0x263d2c(0x218)],_0x43c3fd=_0x98cf3['t'](Wi(_0xeb82d)),_0x243005=_0x1a2775?_0x209764(Nt,{}):_0x209764(Dt,{}),_0x3d65be=_0x2b288f(()=>{const _0x28cbb9=_0x263d2c;_0x1a2775||_0x29e9a4[_0x28cbb9(0x137)]();},[_0x1a2775,_0x29e9a4]);function _0x390ddb(){const _0x4b71cc=_0x263d2c;return _0x378b6a(_0x4b71cc(0x277),{'className':_0x4b71cc(0x13b),'onClick':_0x3d65be,'children':[_0x209764(_0x4b71cc(0x277),{'className':_0x1c5511(_0x4b71cc(0x2f5),{'univer-text-green-500':_0x1a2775,'univer-text-red-500':!_0x1a2775}),'children':_0x243005}),_0x209764(_0x4b71cc(0x277),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x43c3fd})]});}return _0x1a2775?_0x390ddb():_0x209764(_0x533e88,{'title':_0x98cf3['t'](_0x263d2c(0x1f2)),'children':_0x390ddb()});}var Xi=Object[_0x193aec(0x259)],Gi=(_0x3ed65a,_0x202d73,_0x1993c2,_0x91ada0)=>{for(var _0x3043fd=_0x91ada0>0x1?void 0x0:_0x91ada0?Xi(_0x202d73,_0x1993c2):_0x202d73,_0x100b0d=_0x3ed65a['length']-0x1,_0x11356;_0x100b0d>=0x0;_0x100b0d--)(_0x11356=_0x3ed65a[_0x100b0d])&&(_0x3043fd=_0x11356(_0x3043fd)||_0x3043fd);return _0x3043fd;},Q=(_0x5626b8,_0x42ce01)=>(_0x1a0a8e,_0x375b20)=>_0x42ce01(_0x1a0a8e,_0x375b20,_0x5626b8);let te=class extends _0xbd216d{constructor(_0x3fc9e4,_0xfd499a,_0x13db29,_0x1f02c4){const _0x134154=_0x193aec;super(),_(this,_0x134154(0x26c),new _0x1c6c20(_0x4edef0[_0x134154(0x287)])),(this[_0x134154(0x1d5)]=_0x3fc9e4,this[_0x134154(0x2d4)]=_0xfd499a,this[_0x134154(0x226)]=_0x13db29,this[_0x134154(0x324)]=_0x1f02c4,this[_0x134154(0x30a)](),this[_0x134154(0x258)]());}['_initStatusListener'](){const _0x2f99fb=_0x193aec;this[_0x2f99fb(0x171)](this['_univerInstanceService'][_0x2f99fb(0x303)]['pipe'](_0x443430(()=>{const _0x79e237=_0x2f99fb,_0xa1f567=this[_0x79e237(0x1d5)][_0x79e237(0x150)]();return _0xa1f567?this[_0x79e237(0x226)][_0x79e237(0x174)](_0xa1f567[_0x79e237(0x27b)]()):_0x42a69d(null);}),_0x443430(_0x46cd8e=>_0x46cd8e?_0x46cd8e[_0x2f99fb(0x29d)]:_0x42a69d(_0x4edef0[_0x2f99fb(0x287)])))['subscribe'](_0x328fca=>{this['_status$']['next'](_0x328fca);}));}['_initStatusComponent'](){const _0x574c94=_0x193aec;this[_0x574c94(0x171)](this[_0x574c94(0x324)]['registerComponent'](_0x264eb6[_0x574c94(0x127)],()=>_0x400a79(Ki({'status$':this[_0x574c94(0x26c)][_0x574c94(0x2de)]()}),this[_0x574c94(0x2d4)])));}};te=Gi([Q(0x0,_0x14a725),Q(0x1,_0x5562e7(_0x5d7665)),Q(0x2,_0x5562e7(_0x4a6d42)),Q(0x3,_0x4fbd5c)],te);function Ki(_0xd8b16b){const {status$:_0x2b91c5}=_0xd8b16b;return function(){return _0x209764(Vi,{'status$':_0x2b91c5});};}var zi=Object[_0x193aec(0x259)],Ji=(_0x363f29,_0x5d762e,_0x1cc0bd,_0x2ffb61)=>{const _0x5bc55d=_0x193aec;for(var _0x4733f7=_0x2ffb61>0x1?void 0x0:_0x2ffb61?zi(_0x5d762e,_0x1cc0bd):_0x5d762e,_0x3a0b9f=_0x363f29[_0x5bc55d(0x1b2)]-0x1,_0x4ea63e;_0x3a0b9f>=0x0;_0x3a0b9f--)(_0x4ea63e=_0x363f29[_0x3a0b9f])&&(_0x4733f7=_0x4ea63e(_0x4733f7)||_0x4733f7);return _0x4733f7;},B=(_0x1b958d,_0x39784a)=>(_0x1648e4,_0x1e6b66)=>_0x39784a(_0x1648e4,_0x1e6b66,_0x1b958d);let se=class extends _0xbd216d{constructor(_0x3c3930,_0x2fae63,_0x5d78bb,_0x39e67f,_0x3c3691,_0x3580e0){const _0x598ac0=_0x193aec;super(),this[_0x598ac0(0x285)]=_0x3c3930,this['_localCacheService']=_0x2fae63,this['_collaborationUIEventService']=_0x5d78bb,this[_0x598ac0(0x187)]=_0x39e67f,this['_notificationService']=_0x3c3691,this['_localeService']=_0x3580e0,this[_0x598ac0(0x12a)](),this[_0x598ac0(0x216)]();}['_setupBeforeClosingHandler'](){const _0x1ba863=_0x193aec;this[_0x1ba863(0x171)](this[_0x1ba863(0x285)][_0x1ba863(0x165)](()=>{const _0x492163=_0x1ba863;if(this['_localCacheService'][_0x492163(0x265)][_0x492163(0x305)])return this[_0x492163(0x307)]['t'](_0x492163(0x31a));}));}[_0x193aec(0x216)](){const _0x4343bf=_0x193aec;this[_0x4343bf(0x171)](this['_collaborationUIEventService']['event$'][_0x4343bf(0x312)](_0x1ffb85=>{const _0x1ecd73=_0x4343bf;_0x1ffb85['id']===_0x461039[_0x1ecd73(0x253)]&&this[_0x1ecd73(0x187)][_0x1ecd73(0x19b)]({'type':_0x194551[_0x1ecd73(0x28a)],'content':this[_0x1ecd73(0x307)]['t']('collaboration.single-unit.warning')}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x24e)]&&this[_0x1ecd73(0x187)]['show']({'type':_0x194551['Warning'],'content':this['_localeService']['t'](_0x1ecd73(0x1b1))}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x1d3)]&&this['_notificationService'][_0x1ecd73(0x19b)]({'title':this['_localeService']['t'](_0x1ecd73(0x2ab)),'content':this[_0x1ecd73(0x307)]['t'](_0x1ecd73(0x291)),'type':_0x1ecd73(0x2b2),'duration':0x0}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x154)]&&this[_0x1ecd73(0x187)][_0x1ecd73(0x19b)]({'type':_0x194551[_0x1ecd73(0x2c9)],'content':this[_0x1ecd73(0x307)]['t'](_0x1ecd73(0x1b1))+'('+_0x1ffb85[_0x1ecd73(0x1ca)]+')'}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x2bf)]&&this[_0x1ecd73(0x187)]['show']({'type':_0x194551['Warning'],'content':this[_0x1ecd73(0x307)]['t'](_0x1ffb85['data']||'')}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x241)]&&this['_messageService'][_0x1ecd73(0x19b)]({'type':_0x194551[_0x1ecd73(0x28a)],'content':this[_0x1ecd73(0x307)]['t'](_0x1ecd73(0x30b))}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x158)]&&this[_0x1ecd73(0x187)][_0x1ecd73(0x19b)]({'type':_0x194551[_0x1ecd73(0x2c9)],'content':this[_0x1ecd73(0x307)]['t'](_0x1ecd73(0x29f))}),_0x1ffb85['id']===_0x461039[_0x1ecd73(0x281)]&&this[_0x1ecd73(0x187)][_0x1ecd73(0x19b)]({'type':_0x194551[_0x1ecd73(0x2c9)],'content':this[_0x1ecd73(0x307)]['t'](_0x1ecd73(0x1b6))});}));}};se=Ji([B(0x0,_0xbc85b9),B(0x1,_0x20b832),B(0x2,_0x5562e7(_0x3daf9a)),B(0x3,_0x421a38),B(0x4,_0x3b7e9a),B(0x5,_0x5562e7(_0x57d907))],se);const Zi=_0x193aec(0x1e3),et={},Ut=_0x1540fc('uni.network.url-service');var Qi=Object[_0x193aec(0x259)],qi=(_0x468fba,_0xa8aeef,_0x486ed5,_0x24be03)=>{const _0xe5220e=_0x193aec;for(var _0x4225ee=_0x24be03>0x1?void 0x0:_0x24be03?Qi(_0xa8aeef,_0x486ed5):_0xa8aeef,_0x594043=_0x468fba[_0xe5220e(0x1b2)]-0x1,_0x33694c;_0x594043>=0x0;_0x594043--)(_0x33694c=_0x468fba[_0x594043])&&(_0x4225ee=_0x33694c(_0x4225ee)||_0x4225ee);return _0x4225ee;},G=(_0x4f06d1,_0x5e25ed)=>(_0x359d08,_0x79334c)=>_0x5e25ed(_0x359d08,_0x79334c,_0x4f06d1);let ie=class extends _0x16f661{constructor(_0x24ef39,_0x359564,_0x364954,_0x29ea95,_0x347cfb){const _0x27de9b=_0x193aec;super(),this[_0x27de9b(0x1e7)]=_0x24ef39,this[_0x27de9b(0x2bb)]=_0x359564,this[_0x27de9b(0x194)]=_0x364954,this[_0x27de9b(0x296)]=_0x29ea95,_0x347cfb?_0x347cfb==null||_0x347cfb[_0x27de9b(0x2a0)]()[_0x27de9b(0x2bd)](()=>this[_0x27de9b(0x20f)]()):(this[_0x27de9b(0x2bb)][_0x27de9b(0x145)](_0x27de9b(0x278),_0x27de9b(0x2e6)),this[_0x27de9b(0x20f)]());}async[_0x193aec(0x20f)](){const _0x576724=_0x193aec,_0x180ece=this[_0x576724(0x1e7)][_0x576724(0x201)](_0x576724(0x2ee)),_0x349d3a=this[_0x576724(0x1e7)]['getParam'](_0x576724(0x2c6)),_0x5712a4=this[_0x576724(0x1e7)][_0x576724(0x201)](_0x576724(0x2d5));if(!_0x180ece||!_0x349d3a){this[_0x576724(0x2bb)]['debug'](_0x576724(0x278),_0x576724(0x1f3));return;}const _0x196c3d=await this[_0x576724(0x296)][_0x576724(0x2b1)](_0x180ece,Number(_0x349d3a),_0x5712a4);_0x196c3d&&_0x196c3d instanceof _0x1ec27e&&this[_0x576724(0x1aa)](_0x196c3d);}async[_0x193aec(0x1aa)](_0x84ac0f){const _0x1cf5cf=_0x193aec;await this[_0x1cf5cf(0x26d)](_0x84ac0f),_0x84ac0f[_0x1cf5cf(0x139)][_0x1cf5cf(0x26b)](_0x4f9556(this['dispose$']))[_0x1cf5cf(0x312)](_0x30e060=>{const _0x1bfd7c=_0x1cf5cf;_0x30e060&&this[_0x1bfd7c(0x215)](_0x30e060);}),this[_0x1cf5cf(0x1e7)]['urlChange$'][_0x1cf5cf(0x26b)](_0x4f9556(this[_0x1cf5cf(0x2ba)]))[_0x1cf5cf(0x312)](()=>this['_updateSubUnitFromURLParams'](_0x84ac0f));}[_0x193aec(0x215)](_0x50cf1f,_0x581992=!0x1){const _0x3d7a2f=_0x193aec,_0x2942f3=this[_0x3d7a2f(0x1e7)][_0x3d7a2f(0x201)](_0x3d7a2f(0x2d5));_0x50cf1f['getSheetId']()!==_0x2942f3&&this[_0x3d7a2f(0x1e7)][_0x3d7a2f(0x1d8)](_0x3d7a2f(0x2d5),_0x50cf1f[_0x3d7a2f(0x1ad)](),_0x581992);}async[_0x193aec(0x26d)](_0x7267ea){const _0x3e977b=_0x193aec;var _0x4da28b;const _0x1e73a8=this[_0x3e977b(0x1e7)]['getParam']('subunit');if(!_0x1e73a8||!_0x7267ea[_0x3e977b(0x2b5)](_0x1e73a8)){const _0x16ab62=_0x7267ea[_0x3e977b(0x30e)]()[0x0],_0x19e60a=_0x7267ea[_0x3e977b(0x2b5)](_0x16ab62);if(!_0x19e60a)return;this[_0x3e977b(0x215)](_0x19e60a,!0x0),await this[_0x3e977b(0x194)][_0x3e977b(0x162)](_0x84ca92['id'],{'unitId':_0x7267ea[_0x3e977b(0x27b)](),'subUnitId':_0x16ab62});return;}((_0x4da28b=_0x7267ea[_0x3e977b(0x2ca)]())==null?void 0x0:_0x4da28b[_0x3e977b(0x1ad)]())!==_0x1e73a8&&await this[_0x3e977b(0x194)][_0x3e977b(0x162)](_0x84ca92['id'],{'unitId':_0x7267ea[_0x3e977b(0x27b)](),'subUnitId':_0x1e73a8});}};ie=qi([G(0x0,Ut),G(0x1,_0x3bb28b),G(0x2,_0x4f1fe2),G(0x3,_0x5562e7(_0x5a2d1e)),G(0x4,_0x3c3154(_0x490b6a))],ie);var en=Object[_0x193aec(0x259)],tn=(_0x537b4e,_0x2d564a,_0x44b964,_0x458ab2)=>{for(var _0x346683=_0x458ab2>0x1?void 0x0:_0x458ab2?en(_0x2d564a,_0x44b964):_0x2d564a,_0x564d2c=_0x537b4e['length']-0x1,_0x3c40eb;_0x564d2c>=0x0;_0x564d2c--)(_0x3c40eb=_0x537b4e[_0x564d2c])&&(_0x346683=_0x3c40eb(_0x346683)||_0x346683);return _0x346683;},pe=(_0x41797f,_0x35eb89)=>(_0x5d505f,_0x3f1190)=>_0x35eb89(_0x5d505f,_0x3f1190,_0x41797f);let ne=class{constructor(_0x1578ae,_0xcbe054,_0x34c24e){const _0x3218ec=_0x193aec;this['_injector']=_0x1578ae,this[_0x3218ec(0x31d)]=_0xcbe054,this['_renderManagerService']=_0x34c24e;}[_0x193aec(0x24d)](_0x1640a7){const _0x3ac9aa=_0x193aec;this[_0x3ac9aa(0x229)](_0x1640a7),this['_transformPreviousActiveRange'](_0x1640a7);}[_0x193aec(0x28b)](_0x1446ed){const _0xfe35c6=_0x193aec,{unitID:_0x3f48e0}=_0x1446ed,_0x335d93=this[_0xfe35c6(0x144)][_0xfe35c6(0x160)](_0x3f48e0)[_0xfe35c6(0x22e)](_0x122a14),{redoCache:_0x4a703f}=_0x335d93['getUndoRedoMutationParamsCache']();if(_0x4a703f[_0xfe35c6(0x1b2)]===0x0)return _0x1446ed;let _0xc23314=_0x3929d5['deepClone'](_0x1446ed[_0xfe35c6(0x294)][0x0]);for(let _0x3b8c50=0x0;_0x3b8c50<_0x4a703f[_0xfe35c6(0x1b2)];_0x3b8c50++){const _0xcb515e={'id':_0xfe35c6(0x256),'params':{..._0x4a703f[_0x3b8c50]}},_0x57895d=this[_0xfe35c6(0x31d)][_0xfe35c6(0x16e)](_0xc23314,_0xcb515e,!0x1);if(_0x2e30ea(_0x57895d))throw _0x57895d[_0xfe35c6(0x2b2)];_0xc23314=_0x57895d[_0xfe35c6(0x2f9)];}return{..._0x3929d5['deepClone'](_0x1446ed),'mutations':[_0xc23314]};}[_0x193aec(0x229)](_0x2fb133){const _0x5d08be=_0x193aec,{unitID:_0x347765}=_0x2fb133,_0xdf6486=this[_0x5d08be(0x144)][_0x5d08be(0x160)](_0x347765)['with'](_0x122a14),{undoCache:_0x4e04cd,redoCache:_0x1d31b0}=_0xdf6486['getUndoRedoMutationParamsCache']();if(_0x4e04cd[_0x5d08be(0x1b2)]===0x0||_0x1d31b0[_0x5d08be(0x1b2)]===0x0)return;const _0x10f525=[],_0x339631=[];let _0x1c69b7=_0x3929d5['deepClone'](_0x2fb133['mutations'][0x0]),_0x558d53=_0x3929d5[_0x5d08be(0x308)](_0x2fb133[_0x5d08be(0x294)][0x0]);for(let _0x3c302e=_0x4e04cd[_0x5d08be(0x1b2)]-0x1;_0x3c302e>=0x0;_0x3c302e--){const _0x25aaf8={'id':_0x5d08be(0x256),'params':{..._0x4e04cd[_0x3c302e]}},_0x1711f8={'id':_0x5d08be(0x256),'params':{..._0x1d31b0[_0x3c302e]}},_0x5daf6c=this[_0x5d08be(0x31d)]['transformMutation'](_0x1c69b7,_0x25aaf8,!0x1),_0x2ebe62=this[_0x5d08be(0x31d)][_0x5d08be(0x16e)](_0x558d53,_0x1711f8,!0x1);if(_0x2e30ea(_0x5daf6c))throw _0x5daf6c[_0x5d08be(0x2b2)];if(_0x2e30ea(_0x2ebe62))throw _0x2ebe62[_0x5d08be(0x2b2)];_0x10f525['unshift'](_0x5daf6c[_0x5d08be(0x298)][_0x5d08be(0x2c0)]),_0x339631[_0x5d08be(0x302)](_0x2ebe62['m2Prime'][_0x5d08be(0x2c0)]),_0x1c69b7=_0x5daf6c['m1Prime'],_0x558d53=_0x2ebe62[_0x5d08be(0x2f9)];}_0xdf6486['setUndoRedoMutationParamsCache']({'undoCache':_0x10f525,'redoCache':_0x339631});}[_0x193aec(0x163)](_0x1d5747){const _0x55cfa0=_0x193aec,{unitID:_0x42c968}=_0x1d5747,_0x4da95d=this['_renderManagerService'][_0x55cfa0(0x160)](_0x42c968)['with'](_0x122a14),_0x54a5f0=_0x4da95d['getActiveRange']();if(_0x54a5f0==null)return;const _0x477367=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d5747[_0x55cfa0(0x280)],'actions':null,'textRanges':[_0x54a5f0]}}],_0x16cbf8=this[_0x55cfa0(0x31d)]['transformMutationsWithChangeset'](_0x1d5747,_0x477367);if(!_0x18d356(_0x16cbf8))throw _0x16cbf8[_0x55cfa0(0x2b2)];const _0x31dbda=_0x16cbf8[_0x55cfa0(0x298)][0x0][_0x55cfa0(0x2c0)][_0x55cfa0(0x2a4)];Array[_0x55cfa0(0x20b)](_0x31dbda)&&_0x31dbda['length']&&_0x4da95d[_0x55cfa0(0x153)](_0x31dbda[0x0]);}};ne=tn([pe(0x0,_0x5562e7(_0x5d7665)),pe(0x1,_0x15ff0c),pe(0x2,_0xd66e10)],ne);var sn=Object[_0x193aec(0x259)],nn=(_0x508bcf,_0x2e06e4,_0x4a6b6f,_0x5587d2)=>{for(var _0x87fac=_0x5587d2>0x1?void 0x0:_0x5587d2?sn(_0x2e06e4,_0x4a6b6f):_0x2e06e4,_0x4a28e3=_0x508bcf['length']-0x1,_0xa39193;_0x4a28e3>=0x0;_0x4a28e3--)(_0xa39193=_0x508bcf[_0x4a28e3])&&(_0x87fac=_0xa39193(_0x87fac)||_0x87fac);return _0x87fac;},Ce=(_0x43c51b,_0x367d6f)=>(_0x126174,_0x3737f1)=>_0x367d6f(_0x126174,_0x3737f1,_0x43c51b);let re=class{constructor(_0x22e8a7,_0x2974c0,_0x58d446){const _0x4bc1fe=_0x193aec;this[_0x4bc1fe(0x2d4)]=_0x22e8a7,this[_0x4bc1fe(0x31d)]=_0x2974c0,this[_0x4bc1fe(0x1ce)]=_0x58d446;}[_0x193aec(0x1f5)](_0xeb64dd){const _0x5f451d=_0x193aec;this[_0x5f451d(0x30d)](_0xeb64dd);}[_0x193aec(0x28b)](_0x44aa41){const _0x1cef32=_0x193aec,{unitID:_0x14cde6}=_0x44aa41,{collaboration:_0xd23c3}=this[_0x1cef32(0x1ce)]['getStateCache'](_0x14cde6);if(_0xd23c3['length']===0x0)return _0x44aa41;let _0x59e90c=_0x3929d5[_0x1cef32(0x308)](_0x44aa41['mutations'][0x0]);for(let _0x3b2166=0x0;_0x3b2166<_0xd23c3[_0x1cef32(0x1b2)];_0x3b2166++){const _0x339b8a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd23c3[_0x3b2166][_0x1cef32(0x2dc)],..._0xd23c3[_0x3b2166][_0x1cef32(0x17c)]}},_0x28d62b=this['_transformService']['transformMutation'](_0x59e90c,_0x339b8a,!0x1);if(_0x2e30ea(_0x28d62b))throw _0x28d62b['error'];_0x59e90c=_0x28d62b[_0x1cef32(0x2f9)];}return{..._0x3929d5['deepClone'](_0x44aa41),'mutations':[_0x59e90c]};}[_0x193aec(0x30d)](_0x499be2){const _0x336558=_0x193aec,{unitID:_0x550421}=_0x499be2,{history:_0x5f5997,collaboration:_0xafa5ca}=this[_0x336558(0x1ce)]['getStateCache'](_0x550421);if(_0x5f5997[_0x336558(0x1b2)]===0x0&&_0xafa5ca[_0x336558(0x1b2)]===0x0)return;const _0x30c21e=[],_0x1ba0a5=[];let _0x499af3=_0x3929d5[_0x336558(0x308)](_0x499be2[_0x336558(0x294)][0x0]),_0x4c7b31=_0x3929d5[_0x336558(0x308)](_0x499be2['mutations'][0x0]);for(let _0x214298=_0x5f5997[_0x336558(0x1b2)]-0x1;_0x214298>=0x0;_0x214298--){const _0xdeca02={'id':_0x336558(0x256),'params':{'unitId':_0x5f5997[_0x214298][_0x336558(0x2dc)],..._0x5f5997[_0x214298][_0x336558(0x2cf)]}},_0x42e68e={'id':_0x336558(0x256),'params':{'unitId':_0x5f5997[_0x214298][_0x336558(0x2dc)],..._0x5f5997[_0x214298][_0x336558(0x17c)]}},_0x29c06f=this[_0x336558(0x31d)][_0x336558(0x16e)](_0x499af3,_0xdeca02,!0x1),_0x2809cb=this[_0x336558(0x31d)][_0x336558(0x16e)](_0x4c7b31,_0x42e68e,!0x1);if(_0x2e30ea(_0x29c06f))throw _0x29c06f[_0x336558(0x2b2)];if(_0x2e30ea(_0x2809cb))throw _0x2809cb[_0x336558(0x2b2)];_0x30c21e[_0x336558(0x302)]({..._0x5f5997[_0x214298],'undoState':_0x29c06f[_0x336558(0x298)]['params'],'redoState':_0x2809cb[_0x336558(0x298)][_0x336558(0x2c0)]}),_0x499af3=_0x29c06f[_0x336558(0x2f9)],_0x4c7b31=_0x2809cb[_0x336558(0x2f9)];}_0x499af3=_0x3929d5[_0x336558(0x308)](_0x499be2['mutations'][0x0]),_0x4c7b31=_0x3929d5[_0x336558(0x308)](_0x499be2[_0x336558(0x294)][0x0]);for(let _0x1cf814=_0xafa5ca[_0x336558(0x1b2)]-0x1;_0x1cf814>=0x0;_0x1cf814--){const _0x2a4856={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xafa5ca[_0x1cf814][_0x336558(0x2dc)],..._0xafa5ca[_0x1cf814][_0x336558(0x2cf)]}},_0x4724a5={'id':_0x336558(0x256),'params':{'unitId':_0xafa5ca[_0x1cf814][_0x336558(0x2dc)],..._0xafa5ca[_0x1cf814][_0x336558(0x17c)]}},_0x3d4e64=this['_transformService'][_0x336558(0x16e)](_0x499af3,_0x2a4856,!0x1),_0x3caa22=this['_transformService'][_0x336558(0x16e)](_0x4c7b31,_0x4724a5,!0x1);if(_0x2e30ea(_0x3d4e64))throw _0x3d4e64['error'];if(_0x2e30ea(_0x3caa22))throw _0x3caa22[_0x336558(0x2b2)];_0x1ba0a5[_0x336558(0x302)]({..._0xafa5ca[_0x1cf814],'undoState':_0x3d4e64[_0x336558(0x298)][_0x336558(0x2c0)],'redoState':_0x3caa22[_0x336558(0x298)]['params']}),_0x499af3=_0x3d4e64[_0x336558(0x2f9)],_0x4c7b31=_0x3caa22['m1Prime'];}this[_0x336558(0x1ce)][_0x336558(0x23e)](_0x550421,{'history':_0x30c21e,'collaboration':_0x1ba0a5});}};re=nn([Ce(0x0,_0x5562e7(_0x5d7665)),Ce(0x1,_0x15ff0c),Ce(0x2,_0x5562e7(_0x712931))],re);var rn=Object[_0x193aec(0x259)],on=(_0x56d2c3,_0x44f26c,_0x52a129,_0x379263)=>{const _0x39e00a=_0x193aec;for(var _0x279cd7=_0x379263>0x1?void 0x0:_0x379263?rn(_0x44f26c,_0x52a129):_0x44f26c,_0x5848fc=_0x56d2c3[_0x39e00a(0x1b2)]-0x1,_0x384da4;_0x5848fc>=0x0;_0x5848fc--)(_0x384da4=_0x56d2c3[_0x5848fc])&&(_0x279cd7=_0x384da4(_0x279cd7)||_0x279cd7);return _0x279cd7;},tt=(_0xd5266b,_0x26b996)=>(_0xb2255f,_0x2fd7f6)=>_0x26b996(_0xb2255f,_0x2fd7f6,_0xd5266b);let oe=class{constructor(_0x5a0f8e,_0x103484){const _0x431d36=_0x193aec;this[_0x431d36(0x2d4)]=_0x5a0f8e,this[_0x431d36(0x31d)]=_0x103484;}[_0x193aec(0x289)](_0x502a7e){const _0x300a26=_0x193aec;var _0x485289;const _0x5d3a84=this[_0x300a26(0x2d4)][_0x300a26(0x202)](_0x1d2394),_0x59e293=(_0x485289=_0x5d3a84[_0x300a26(0x21d)]())!=null?_0x485289:[];if(_0x59e293[_0x300a26(0x1b2)]===0x0)return;const _0x5d9c5d=_0x502a7e[_0x300a26(0x280)],_0x3f34d4=[{'id':_0x300a26(0x256),'params':{'unitId':_0x5d9c5d,'actions':null,'textRanges':_0x59e293}}],_0x33378a=this[_0x300a26(0x31d)][_0x300a26(0x2d8)](_0x502a7e,_0x3f34d4);if(!_0x18d356(_0x33378a))throw _0x33378a['error'];const _0x497836=_0x33378a[_0x300a26(0x298)][0x0][_0x300a26(0x2c0)]['textRanges'];Array['isArray'](_0x497836)&&_0x497836[_0x300a26(0x1b2)]&&_0x5d3a84['replaceDocRanges'](_0x497836,{'unitId':_0x5d9c5d,'subUnitId':_0x5d9c5d},!0x1);}};oe=on([tt(0x0,_0x5562e7(_0x5d7665)),tt(0x1,_0x15ff0c)],oe);var an=Object[_0x193aec(0x259)],cn=(_0x16db03,_0x7ba937,_0x31eea0,_0x100ccc)=>{const _0x53f2a7=_0x193aec;for(var _0x1e191b=_0x100ccc>0x1?void 0x0:_0x100ccc?an(_0x7ba937,_0x31eea0):_0x7ba937,_0xa84298=_0x16db03[_0x53f2a7(0x1b2)]-0x1,_0x514523;_0xa84298>=0x0;_0xa84298--)(_0x514523=_0x16db03[_0xa84298])&&(_0x1e191b=_0x514523(_0x1e191b)||_0x1e191b);return _0x1e191b;},U=(_0x2c7a78,_0x1522de)=>(_0x502d97,_0x406bc5)=>_0x1522de(_0x502d97,_0x406bc5,_0x2c7a78);let ae=class extends _0xbd216d{constructor(_0x2df96d,_0x1b3df9,_0x25eab6,_0x40468d,_0x3733f6,_0x5728f9,_0x3d2139,_0x19de00){const _0x2a39a6=_0x193aec;super(),_(this,_0x2a39a6(0x26c),new _0x1c6c20(_0x4edef0[_0x2a39a6(0x287)])),(this[_0x2a39a6(0x1ce)]=_0x2df96d,this[_0x2a39a6(0x226)]=_0x1b3df9,this[_0x2a39a6(0x205)]=_0x25eab6,this['_docTransformStateCacheService']=_0x40468d,this[_0x2a39a6(0x2d1)]=_0x3733f6,this[_0x2a39a6(0x142)]=_0x5728f9,this['_messageService']=_0x3d2139,this[_0x2a39a6(0x307)]=_0x19de00,this[_0x2a39a6(0x227)]());}[_0x193aec(0x227)](){const _0x2229e6=_0x193aec;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0x2229e6(0x312)](_0x2e4c98=>{const _0x1c7bbe=_0x2229e6,_0x2ed330=this[_0x1c7bbe(0x1ce)][_0x1c7bbe(0x27e)][_0x1c7bbe(0x312)](_0x38f862=>{const _0x2949a1=_0x1c7bbe;if(_0x38f862==null)return;const {unitId:_0x224959,redoState:_0x3dc793,commandId:_0x5d541f}=_0x38f862;if(_0x224959!==_0x2e4c98[_0x2949a1(0x280)])return;const _0xd8a0ae={'id':_0x5d541f,'type':_0x5af747[_0x2949a1(0x15d)],'params':{'unitId':_0x224959,'actions':_0x3dc793[_0x2949a1(0x1cb)],'textRanges':null}};_0x2e4c98[_0x2949a1(0x1a9)](_0xd8a0ae);});if(_0x2e4c98[_0x1c7bbe(0x171)](_0x2ed330),_0x2e4c98 instanceof _0x3baafc){const _0x4f3d34={'onTransformIME':_0x45164c=>this[_0x1c7bbe(0x205)][_0x1c7bbe(0x24d)](_0x45164c),'onTransformState':_0x1b81c3=>this[_0x1c7bbe(0x311)][_0x1c7bbe(0x1f5)](_0x1b81c3),'onTransformSelections':_0x32d206=>this['_docTransformSelectionsService'][_0x1c7bbe(0x289)](_0x32d206),'onSyncEditingCollabCursor':_0x40cd10=>this['_docSyncEditingCollabCursorService'][_0x1c7bbe(0x231)](_0x40cd10),'onTransformRemoteChangesetByIMECache':_0x2327bf=>this['_docTransformIMECacheService'][_0x1c7bbe(0x28b)](_0x2327bf),'onTransformRemoteChangesetByStateCache':_0x48c544=>this['_docTransformStateCacheService'][_0x1c7bbe(0x28b)](_0x48c544)};_0x2e4c98[_0x1c7bbe(0x313)](_0x4f3d34);}}));}};ae=cn([U(0x0,_0x5562e7(_0x712931)),U(0x1,_0x5562e7(_0x4a6d42)),U(0x2,_0x5562e7(ne)),U(0x3,_0x5562e7(re)),U(0x4,_0x5562e7(oe)),U(0x5,_0x5562e7(He)),U(0x6,_0x421a38),U(0x7,_0x5562e7(_0x57d907))],ae);var ln=Object[_0x193aec(0x259)],_n=(_0x44fda6,_0x20565,_0x1f90de,_0x455f5)=>{const _0x7001c8=_0x193aec;for(var _0x5406da=_0x455f5>0x1?void 0x0:_0x455f5?ln(_0x20565,_0x1f90de):_0x20565,_0x587d9f=_0x44fda6[_0x7001c8(0x1b2)]-0x1,_0x4ea633;_0x587d9f>=0x0;_0x587d9f--)(_0x4ea633=_0x44fda6[_0x587d9f])&&(_0x5406da=_0x4ea633(_0x5406da)||_0x5406da);return _0x5406da;},Ee=(_0x13f6b5,_0x4e386f)=>(_0x30e51c,_0x3c0e4b)=>_0x4e386f(_0x30e51c,_0x3c0e4b,_0x13f6b5);let Le=class extends _0xbd216d{constructor(_0x24429e,_0x3ad0dc,_0x4f8699){const _0x5f0140=_0x193aec;super(),_(this,_0x5f0140(0x263),new Map()),_(this,_0x5f0140(0x310),new Map()),_(this,'_disabled',!0x1),(this[_0x5f0140(0x1c9)]=_0x24429e,this[_0x5f0140(0x321)]=_0x3ad0dc,this['_revisionService']=_0x4f8699);}[_0x193aec(0x1dd)](){this['_disabled']=!0x0;}[_0x193aec(0x20d)](){const _0x17f771=_0x193aec;this[_0x17f771(0x2b3)]=!0x1;}get[_0x193aec(0x265)](){const _0x2486d1=_0x193aec;return this[_0x2486d1(0x310)];}[_0x193aec(0x1a0)](){const _0x4f28ad=_0x193aec;this[_0x4f28ad(0x2df)]()[_0x4f28ad(0x2bd)](()=>super['dispose']());}async[_0x193aec(0x172)](_0x3d0d47){const _0x56f756=_0x193aec;return this[_0x56f756(0x2b3)]?null:this[_0x56f756(0x321)][_0x56f756(0x22a)](_0x221573(_0x3d0d47));}async[_0x193aec(0x243)](_0x1928c9,_0x25f7e7){const _0x37bd1d=_0x193aec;return!!this[_0x37bd1d(0x321)][_0x37bd1d(0x2c1)](_0x1928c9,_0x25f7e7);}[_0x193aec(0x2a7)](_0x330614,_0x281274,_0x446487,_0x35957f){const _0x2ee56f=_0x193aec,_0x4fc785=this['_revisionService']['getCurrentRevOfUnit'](_0x330614);this[_0x2ee56f(0x263)][_0x2ee56f(0x12d)](_0x330614,{'unitID':_0x330614,'type':_0x281274,'awaitingChangeset':_0x446487,'mutations':_0x35957f,'rev':_0x4fc785}),this[_0x2ee56f(0x310)]['has'](_0x330614)||this[_0x2ee56f(0x1d1)](_0x330614);}['_scheduleSaving'](_0x255fc7){const _0x414c80=_0x193aec,_0x407e42=this[_0x414c80(0x152)]();_0x407e42===0x0?this[_0x414c80(0x1a3)](_0x255fc7):this[_0x414c80(0x310)]['set'](_0x255fc7,setTimeout(()=>this[_0x414c80(0x1a3)](_0x255fc7),_0x407e42));}[_0x193aec(0x152)](){const _0x4a6f31=_0x193aec;var _0x3d419b;return(_0x3d419b=this[_0x4a6f31(0x1c9)][_0x4a6f31(0x1df)](_0x2cf44f))!=null?_0x3d419b:_0x494d26;}[_0x193aec(0x1a3)](_0x2fe82e){const _0x157d2d=_0x193aec,_0xc07f89=this[_0x157d2d(0x310)][_0x157d2d(0x202)](_0x2fe82e);return _0xc07f89!==void 0x0&&window[_0x157d2d(0x146)](_0xc07f89),this[_0x157d2d(0x321)][_0x157d2d(0x2c1)](_0x221573(_0x2fe82e),this['_cachedData'][_0x157d2d(0x202)](_0x2fe82e))[_0x157d2d(0x2bd)](()=>this[_0x157d2d(0x310)]['delete'](_0x2fe82e));}async['exhaustSavingTask'](){const _0x53137d=_0x193aec,_0x4842a=[];this[_0x53137d(0x310)][_0x53137d(0x261)]((_0x32667b,_0x22b2f2)=>{const _0xe258a=_0x53137d;window[_0xe258a(0x146)](_0x32667b),_0x4842a['push'](this[_0xe258a(0x1a3)](_0x22b2f2)[_0xe258a(0x2bd)](()=>{const _0x3c88fc=_0xe258a;this[_0x3c88fc(0x310)][_0x3c88fc(0x203)](_0x22b2f2);}));}),await Promise[_0x53137d(0x1e0)](_0x4842a);}};Le=_n([Ee(0x0,_0x42dae1),Ee(0x1,_0x33a67a),Ee(0x2,_0x5562e7(_0x2c818f))],Le);class hn extends _0x16f661{constructor(){const _0x4832fd=_0x193aec;super(),_(this,_0x4832fd(0x2c4)),this[_0x4832fd(0x2c4)]=_0x5f0e58(window,_0x4832fd(0x20a))[_0x4832fd(0x26b)](_0x4f9556(this[_0x4832fd(0x2ba)]),_0x268732(0x1),_0x419935(void 0x0));}[_0x193aec(0x1d8)](_0x35d155,_0x5c87a8,_0x26512b=!0x1){const _0x2cfad1=_0x193aec,_0xfb091b=new URL(window[_0x2cfad1(0x1d9)]['href']);_0xfb091b['searchParams'][_0x2cfad1(0x12d)](_0x35d155,_0x5c87a8),_0x26512b?window[_0x2cfad1(0x13a)]['replaceState']('','',_0xfb091b[_0x2cfad1(0x192)]()):window[_0x2cfad1(0x13a)][_0x2cfad1(0x17e)]('','',_0xfb091b[_0x2cfad1(0x192)]());}[_0x193aec(0x1dc)](_0xba2883,_0x520fb8=!0x1){const _0x2fe9a5=_0x193aec,_0x6f13de=new URL(window['location'][_0x2fe9a5(0x1ae)]);_0x6f13de[_0x2fe9a5(0x237)][_0x2fe9a5(0x203)](_0xba2883),_0x520fb8?window[_0x2fe9a5(0x13a)][_0x2fe9a5(0x2ed)]('','',_0x6f13de['toString']()):window[_0x2fe9a5(0x13a)][_0x2fe9a5(0x17e)]('','',_0x6f13de[_0x2fe9a5(0x192)]());}[_0x193aec(0x201)](_0x3e933b){const _0x7ad0b4=_0x193aec;var _0x53573a;return(_0x53573a=new URL(window[_0x7ad0b4(0x1d9)][_0x7ad0b4(0x1ae)])[_0x7ad0b4(0x237)][_0x7ad0b4(0x202)](_0x3e933b))!=null?_0x53573a:void 0x0;}}var un=Object[_0x193aec(0x21f)],dn=Object[_0x193aec(0x259)],fn=(_0x56fcf0,_0x4b8e58,_0x1f30a2)=>_0x4b8e58 in _0x56fcf0?un(_0x56fcf0,_0x4b8e58,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f30a2}):_0x56fcf0[_0x4b8e58]=_0x1f30a2,Sn=(_0x5a87f8,_0x270d8b,_0x1768f4,_0x25785a)=>{for(var _0x3dbe61=_0x25785a>0x1?void 0x0:_0x25785a?dn(_0x270d8b,_0x1768f4):_0x270d8b,_0x49ef13=_0x5a87f8['length']-0x1,_0x379eab;_0x49ef13>=0x0;_0x49ef13--)(_0x379eab=_0x5a87f8[_0x49ef13])&&(_0x3dbe61=_0x379eab(_0x3dbe61)||_0x3dbe61);return _0x3dbe61;},Oe=(_0x16c756,_0x4ff973)=>(_0x187bcc,_0x2d6bfe)=>_0x4ff973(_0x187bcc,_0x2d6bfe,_0x16c756),mn=(_0x3cd095,_0x57cf23,_0x53261e)=>fn(_0x3cd095,_0x57cf23+'',_0x53261e);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x25c120{constructor(_0x310178=et,_0xc7155b,_0x2702cc,_0x171bd9){const _0x3216fc=_0x193aec;super(),this['_config']=_0x310178,this[_0x3216fc(0x144)]=_0xc7155b,this[_0x3216fc(0x2d4)]=_0x2702cc,this[_0x3216fc(0x1c9)]=_0x171bd9;const {..._0x419173}=_0x14593e({},et,this[_0x3216fc(0x1b7)]);this[_0x3216fc(0x1c9)][_0x3216fc(0x1b9)](Zi,_0x419173);}[_0x193aec(0x1b5)](){const _0x5772f1=_0x193aec;this[_0x5772f1(0x134)](),this['_initDependencies']();}['onRendered'](){this['_registerRenderDependencies']();}[_0x193aec(0x134)](){const _0x5606e8=_0x193aec;var _0x3926a3;const _0x3213f7=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x2c59ad,{'useClass':_0x55b5b3}],[_0x20b832,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x2136db(this[_0x5606e8(0x2d4)],_0x427a80(_0x3213f7,(_0x3926a3=this[_0x5606e8(0x1b7)])==null?void 0x0:_0x3926a3[_0x5606e8(0x133)]));}[_0x193aec(0x2c5)](){const _0x1b5b14=_0x193aec;this[_0x1b5b14(0x171)](this[_0x1b5b14(0x144)][_0x1b5b14(0x292)](_0x32a01e[_0x1b5b14(0x2a1)],[we])),this['disposeWithMe'](this[_0x1b5b14(0x144)]['registerRenderModule'](_0x32a01e[_0x1b5b14(0x1d0)],[Pe]));}[_0x193aec(0x309)](){const _0x1d98fb=_0x193aec;_0x244f3c(this[_0x1d98fb(0x2d4)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x193aec(0x239),In),Ae=Sn([_0x2d8f64(_0x3c2564),Oe(0x1,_0xd66e10),Oe(0x2,_0x5562e7(_0x5d7665)),Oe(0x3,_0x42dae1)],Ae);var gn=Object[_0x193aec(0x259)],vn=(_0x1bfbb4,_0x128a3e,_0x210a21,_0x44f1fc)=>{const _0x4f5743=_0x193aec;for(var _0x77ea3=_0x44f1fc>0x1?void 0x0:_0x44f1fc?gn(_0x128a3e,_0x210a21):_0x128a3e,_0x198a40=_0x1bfbb4[_0x4f5743(0x1b2)]-0x1,_0x4e7d10;_0x198a40>=0x0;_0x198a40--)(_0x4e7d10=_0x1bfbb4[_0x198a40])&&(_0x77ea3=_0x4e7d10(_0x77ea3)||_0x77ea3);return _0x77ea3;},K=(_0x4543e9,_0x98254c)=>(_0x52b759,_0x8b606f)=>_0x98254c(_0x52b759,_0x8b606f,_0x4543e9);let st=class extends _0x464948{constructor(_0x3caa84,_0xb74bda,_0x3d285c,_0x3ae062,_0x3474a8){super(_0x3caa84,_0xb74bda,_0x3d285c,_0x3ae062,_0x3474a8);}async[_0x193aec(0x2e9)](_0x1e0330){const _0x453960=_0x193aec,_0xfcb378=await this[_0x453960(0x293)](),_0x5f59ac=this[_0x453960(0x141)](_0x1e0330,_0xfcb378);return this[_0x453960(0x175)](_0x5f59ac);}[_0x193aec(0x141)](_0x1fba79,_0x239575){const _0x5437ae=_0x193aec,_0x2e7d12=typeof window>'u'?new URL(_0x1fba79):new URL(_0x1fba79,window[_0x5437ae(0x1d9)][_0x5437ae(0x271)]);_0x2e7d12[_0x5437ae(0x237)][_0x5437ae(0x12d)](_0x5437ae(0x30c),_0x239575);const _0x1d16fc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5437ae(0x1d9)][_0x5437ae(0x290)]);return _0x1d16fc[_0x5437ae(0x202)](_0x5437ae(0x1e8))&&_0x2e7d12[_0x5437ae(0x237)][_0x5437ae(0x12d)](_0x5437ae(0x1e8),_0x1d16fc[_0x5437ae(0x202)](_0x5437ae(0x1e8))),_0x2e7d12[_0x5437ae(0x192)]();}async['_getSessionTicket'](){const _0x9902b6=_0x193aec;var _0x349dc5,_0x4f0fd7,_0x36d711;const _0x1a0af0=this[_0x9902b6(0x1c9)][_0x9902b6(0x1df)](_0x4f03a5),_0x4d57b8=(_0x349dc5=_0x1a0af0==null?void 0x0:_0x1a0af0[_0x9902b6(0x1da)])!=null?_0x349dc5:_0x130e45;return(_0x36d711=(_0x4f0fd7=(await this['_httpService']['get'](_0x4d57b8,{'headers':{'Content-Type':_0x9902b6(0x17a)}}))[_0x9902b6(0x159)])==null?void 0x0:_0x4f0fd7[_0x9902b6(0x299)])!=null?_0x36d711:'';}};st=vn([K(0x0,_0x5562e7(_0x5d7665)),K(0x1,_0x5562e7(_0x809f14)),K(0x2,_0x42dae1),K(0x3,_0x3bb28b),K(0x4,_0x181e9d)],st);const it=0x7530,nt=_0x193aec(0x225);class jn extends _0xbd216d{constructor(){const _0x4df951=_0x193aec;super(),_(this,'_id',_0x163e40()),_(this,'_selfUnitIDs',new Set()),_(this,_0x4df951(0x31b),new Map()),_(this,_0x4df951(0x14b),null),_(this,_0x4df951(0x1e4),new Map()),_(this,_0x4df951(0x18a),new Map()),this['_init']();}[_0x193aec(0x1a0)](){const _0x5def37=_0x193aec;super[_0x5def37(0x1a0)](),this[_0x5def37(0x1e4)][_0x5def37(0x261)]((_0x1735c1,_0x5a6461)=>this[_0x5def37(0x178)](_0x5a6461)),this[_0x5def37(0x14b)]&&window[_0x5def37(0x251)](this[_0x5def37(0x14b)]);}[_0x193aec(0x236)](_0x11fc32){const _0x399353=_0x193aec;return this['_ensureSubject'](_0x11fc32)[_0x399353(0x26b)](_0x5409e4());}[_0x193aec(0x1e5)](_0x24fa6f){const _0x3064cb=_0x193aec;this['_selfUnitIDs'][_0x3064cb(0x305)]===0x0&&this[_0x3064cb(0x220)](),this['_selfUnitIDs']['add'](_0x24fa6f),this['_send']({'type':0x0,'memberID':this[_0x3064cb(0x2f0)],'unitIDs':[_0x24fa6f],'isForwarded':!0x1});}['disposeUnit'](_0x4853e0){const _0x10c977=_0x193aec;this[_0x10c977(0x264)][_0x10c977(0x203)](_0x4853e0),this['_selfUnitIDs'][_0x10c977(0x305)]===0x0&&this[_0x10c977(0x14b)]&&window[_0x10c977(0x251)](this[_0x10c977(0x14b)]);}['_init'](){const _0xa85590=_0x193aec;this['disposeWithMe'](_0x37fdfd(_0x5f0e58(window,_0xa85590(0x17b))['subscribe'](_0x455aa8=>{const _0x3c7650=_0xa85590;if(_0x455aa8['key']!==nt||!_0x455aa8['newValue'])return;const _0x124780=JSON['parse'](_0x455aa8[_0x3c7650(0x242)]);this[_0x3c7650(0x276)](_0x124780);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0xa85590(0x2f0)],'unitIDs':Array[_0xa85590(0x208)](this[_0xa85590(0x264)])}));}[_0x193aec(0x276)](_0x2d3e7a){const _0x3df77c=_0x193aec;switch(_0x2d3e7a[_0x3df77c(0x2c6)]){case 0x0:this['_handleJoinEvent'](_0x2d3e7a);break;case 0x1:this[_0x3df77c(0x17f)](_0x2d3e7a);break;case 0x2:this[_0x3df77c(0x28e)](_0x2d3e7a);break;}}['_handleJoinEvent'](_0x291186){const _0x4fb68c=_0x193aec,{unitIDs:_0x3c84d9,memberID:_0x1cca5c,isForwarded:_0xd92570}=_0x291186;_0x3c84d9['forEach'](_0x41e575=>{const _0x167507=_0x5946;if(!_0xd92570&&this[_0x167507(0x31b)][_0x167507(0x25d)](_0x41e575)&&this[_0x167507(0x19f)](_0x41e575)['next'](_0x25bd48['OTHER_CLIENTS_EDITING']),!this[_0x167507(0x31b)][_0x167507(0x25d)](_0x41e575)||!this[_0x167507(0x31b)]['get'](_0x41e575)[_0x167507(0x25d)](_0x1cca5c)){const _0x138de3=this['_unitOnClients'][_0x167507(0x202)](_0x41e575)||new Set();_0x138de3[_0x167507(0x186)](_0x1cca5c),this[_0x167507(0x31b)]['set'](_0x41e575,_0x138de3),this[_0x167507(0x315)](_0x1cca5c);}}),_0xd92570||this[_0x4fb68c(0x1c0)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x193aec(0x315)](_0x30c8db){const _0x451b26=_0x193aec;this[_0x451b26(0x178)](_0x30c8db);const _0x21ee1a=window[_0x451b26(0x1ea)](()=>{const _0x140cdb=_0x451b26;this['_unitOnClients'][_0x140cdb(0x261)](_0x3e89d9=>{const _0x49a1c5=_0x140cdb;_0x3e89d9[_0x49a1c5(0x203)](_0x30c8db);});},it*0x2);this['_clearOtherTimers'][_0x451b26(0x12d)](_0x30c8db,_0x21ee1a);}[_0x193aec(0x178)](_0x43648d){const _0x16fd70=_0x193aec;if(this[_0x16fd70(0x1e4)][_0x16fd70(0x25d)](_0x43648d)){const _0x11b183=this['_clearOtherTimers']['get'](_0x43648d);_0x11b183&&window[_0x16fd70(0x146)](_0x11b183),this['_clearOtherTimers'][_0x16fd70(0x12d)](_0x43648d,null);}}[_0x193aec(0x17f)](_0x1d74a7){const {memberID:_0x10e625,unitIDs:_0x15a21b}=_0x1d74a7;_0x15a21b['forEach'](_0x1ff4a9=>{const _0x772380=_0x5946;var _0x1706e3;const _0x26f03b=this['_unitOnClients']['get'](_0x1ff4a9);_0x26f03b&&(_0x26f03b[_0x772380(0x203)](_0x10e625),(_0x1706e3=this[_0x772380(0x19f)](_0x1ff4a9))==null||_0x1706e3['next'](_0x26f03b[_0x772380(0x305)]===0x0?_0x25bd48[_0x772380(0x2d9)]:_0x25bd48['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x10e625);}[_0x193aec(0x28e)](_0x1300fe){const _0x476899=_0x193aec;this[_0x476899(0x315)](_0x1300fe[_0x476899(0x26a)]);}[_0x193aec(0x1c0)](_0x3dd45e){const _0x5bd7e0=_0x193aec;localStorage['setItem'](nt,JSON[_0x5bd7e0(0x222)](_0x3dd45e));}[_0x193aec(0x220)](){const _0x76f9d2=_0x193aec;this[_0x76f9d2(0x14b)]=window[_0x76f9d2(0x1f7)](()=>{const _0x1bd82a=_0x76f9d2;this['_send']({'type':0x2,'memberID':this[_0x1bd82a(0x2f0)]});},it);}[_0x193aec(0x19f)](_0x2d1427){const _0x3c16f1=_0x193aec;return this[_0x3c16f1(0x18a)]['has'](_0x2d1427)||this[_0x3c16f1(0x18a)]['set'](_0x2d1427,new _0x1c6c20(_0x25bd48[_0x3c16f1(0x2d9)])),this[_0x3c16f1(0x18a)][_0x3c16f1(0x202)](_0x2d1427);}}var Mt=(_0x1e8c14=>(_0x1e8c14[_0x1e8c14[_0x193aec(0x23b)]=0x0]=_0x193aec(0x23b),_0x1e8c14[_0x1e8c14['OK']=0x1]='OK',_0x1e8c14[_0x1e8c14[_0x193aec(0x1b3)]=0x2]=_0x193aec(0x1b3),_0x1e8c14[_0x1e8c14['PERMISSION_DENIED']=0x3]=_0x193aec(0x1d3),_0x1e8c14[_0x1e8c14[_0x193aec(0x1cf)]=0x4]=_0x193aec(0x1cf),_0x1e8c14[_0x1e8c14['UNAUTHENTICATED']=0x5]=_0x193aec(0x15a),_0x1e8c14[_0x1e8c14[_0x193aec(0x22d)]=0x6]=_0x193aec(0x22d),_0x1e8c14[_0x1e8c14[_0x193aec(0x22f)]=0x7]='INVALID_ARGUMENT',_0x1e8c14[_0x1e8c14[_0x193aec(0x2f4)]=0x8]='TOO_MANY_REQUESTS',_0x1e8c14[_0x1e8c14[_0x193aec(0x156)]=0x9]='COMPLETION_FINISHED',_0x1e8c14[_0x1e8c14['LOGIN_FAILED']=0xa]=_0x193aec(0x266),_0x1e8c14[_0x1e8c14['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x193aec(0x249),_0x1e8c14[_0x1e8c14[_0x193aec(0x238)]=0x1771]=_0x193aec(0x238),_0x1e8c14[_0x1e8c14[_0x193aec(0x2f2)]=0x1772]=_0x193aec(0x2f2),_0x1e8c14[_0x1e8c14[_0x193aec(0x1b8)]=0x1773]=_0x193aec(0x1b8),_0x1e8c14[_0x1e8c14[_0x193aec(0x1bd)]=0x1b59]=_0x193aec(0x1bd),_0x1e8c14[_0x1e8c14[_0x193aec(0x2bc)]=0x1b5a]=_0x193aec(0x2bc),_0x1e8c14[_0x1e8c14['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1e8c14[_0x1e8c14[_0x193aec(0x12e)]=0x1b5c]=_0x193aec(0x12e),_0x1e8c14[_0x1e8c14[_0x193aec(0x18f)]=0x1b5d]='APPLY_DUPLICATED',_0x1e8c14[_0x1e8c14[_0x193aec(0x29a)]=0x1f41]=_0x193aec(0x29a),_0x1e8c14[_0x1e8c14[_0x193aec(0x21c)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1e8c14[_0x1e8c14['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1e8c14[_0x1e8c14['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1e8c14[_0x1e8c14[_0x193aec(0x2b7)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x1e8c14[_0x1e8c14['LICENSE_DISTRO_REJECTED']=0x232d]=_0x193aec(0x2e5),_0x1e8c14[_0x1e8c14[_0x193aec(0x14c)]=0x2711]=_0x193aec(0x14c),_0x1e8c14[_0x1e8c14['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x193aec(0x2a9),_0x1e8c14[_0x1e8c14[_0x193aec(0x1d2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x1e8c14[_0x1e8c14[_0x193aec(0x24c)]=0x2714]=_0x193aec(0x24c),_0x1e8c14[_0x1e8c14['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x193aec(0x245),_0x1e8c14[_0x1e8c14['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x193aec(0x183),_0x1e8c14[_0x1e8c14[_0x193aec(0x2d7)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x1e8c14[_0x1e8c14['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1e8c14[_0x1e8c14[_0x193aec(0x234)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1e8c14[_0x1e8c14[_0x193aec(0x19c)]=0x271f]=_0x193aec(0x19c),_0x1e8c14[_0x1e8c14['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1e8c14[_0x1e8c14[_0x193aec(0x14a)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1e8c14[_0x1e8c14[_0x193aec(0x130)]=0x2ee2]=_0x193aec(0x130),_0x1e8c14[_0x1e8c14['INVITE_CODE_REQUIRED']=0x2ee3]=_0x193aec(0x1af),_0x1e8c14[_0x1e8c14['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x1e8c14[_0x1e8c14[_0x193aec(0x132)]=0x2ee5]=_0x193aec(0x132),_0x1e8c14[_0x1e8c14[_0x193aec(0x210)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1e8c14[_0x1e8c14[_0x193aec(0x2da)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1e8c14[_0x1e8c14[_0x193aec(0x28c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x1e8c14[_0x1e8c14['UNRECOGNIZED']=-0x1]=_0x193aec(0x195),_0x1e8c14))(Mt||{}),pn=Object[_0x193aec(0x259)],Cn=(_0x361376,_0x590d98,_0x54ebd0,_0x172d48)=>{const _0x54d54f=_0x193aec;for(var _0x1b45db=_0x172d48>0x1?void 0x0:_0x172d48?pn(_0x590d98,_0x54ebd0):_0x590d98,_0x2c14b7=_0x361376[_0x54d54f(0x1b2)]-0x1,_0x20614b;_0x2c14b7>=0x0;_0x2c14b7--)(_0x20614b=_0x361376[_0x2c14b7])&&(_0x1b45db=_0x20614b(_0x1b45db)||_0x1b45db);return _0x1b45db;},be=(_0x45f022,_0x5199fa)=>(_0xde2253,_0x457ac9)=>_0x5199fa(_0xde2253,_0x457ac9,_0x45f022);let rt=class extends _0xbd216d{constructor(_0x40bba3,_0x258c3d,_0x217f75){const _0x394409=_0x193aec;super(),this[_0x394409(0x306)]=_0x40bba3,this[_0x394409(0x304)]=_0x258c3d,this[_0x394409(0x1c9)]=_0x217f75;}async['runOnServer'](_0x391924,_0x3081fe,_0x3607ef,..._0x1303ca){const _0x588066=_0x193aec;var _0x5bc4b3,_0x466776,_0x4a872a,_0x921ced;const _0x558745=this['_instanceService'][_0x588066(0x150)]();if(!_0x558745)throw new Error(_0x588066(0x2af));const _0x36a330=((_0x5bc4b3=this[_0x588066(0x1c9)]['getConfig'](_0x4a1ddb))!=null?_0x5bc4b3:_0x2bbba8)+'/'+_0x391924+_0x588066(0x29c)+_0x3081fe,_0x4aeea1=new URL(window['location']['href']),_0x53613b={'scriptId':_0x391924,'runId':(_0x466776=_0x4aeea1[_0x588066(0x237)][_0x588066(0x202)]('runId'))!=null?_0x466776:'','function':_0x3081fe,'unitId':_0x558745[_0x588066(0x27b)](),'argsOfFunction':JSON[_0x588066(0x222)](_0x1303ca),'invokeId':(_0x4a872a=_0x3607ef[_0x588066(0x2ac)])!=null?_0x4a872a:'','executionId':(_0x921ced=_0x3607ef[_0x588066(0x185)])!=null?_0x921ced:''};try{const _0x3a60d2=await this[_0x588066(0x304)][_0x588066(0x2a2)](_0x36a330,{'body':_0x53613b});return _0x3a60d2[_0x588066(0x159)][_0x588066(0x2b2)]&&_0x3a60d2[_0x588066(0x159)][_0x588066(0x2b2)][_0x588066(0x2f6)]!==Mt['OK']?_0x588066(0x272):_0x3a60d2[_0x588066(0x159)][_0x588066(0x18d)];}catch{return _0x588066(0x272);}}};rt=Cn([be(0x0,_0x14a725),be(0x1,_0x5562e7(_0x809f14)),be(0x2,_0x42dae1)],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/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x27a496=_0xd0fd;function _0xd0fd(_0x2ed3eb,_0x498360){const _0x514fc1=_0x514f();return _0xd0fd=function(_0xd0fdb7,_0x29e257){_0xd0fdb7=_0xd0fdb7-0x152;let _0x20a0b2=_0x514fc1[_0xd0fdb7];return _0x20a0b2;},_0xd0fd(_0x2ed3eb,_0x498360);}(function(_0x4289d5,_0x5de2a1){const _0x5edc7b=_0xd0fd,_0x373524=_0x4289d5();while(!![]){try{const _0x421115=parseInt(_0x5edc7b(0x157))/0x1+parseInt(_0x5edc7b(0x15d))/0x2+-parseInt(_0x5edc7b(0x15e))/0x3+parseInt(_0x5edc7b(0x165))/0x4*(parseInt(_0x5edc7b(0x155))/0x5)+parseInt(_0x5edc7b(0x167))/0x6+-parseInt(_0x5edc7b(0x15f))/0x7+parseInt(_0x5edc7b(0x163))/0x8;if(_0x421115===_0x5de2a1)break;else _0x373524['push'](_0x373524['shift']());}catch(_0x2230d1){_0x373524['push'](_0x373524['shift']());}}}(_0x514f,0x446e0));function _0x514f(){const _0x1bb613=['Collaboration\x20Conflict','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2617344JMitDG','Local\x20file','28OwjwJR','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','266748JkSrgv','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','208890mJXJyO','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','58209ssyChB','Synced','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','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.','327222PNLMyE','544683BwcyPg','2968301pEregL','Click\x20to\x20Reconnect'];_0x514f=function(){return _0x1bb613;};return _0x514f();}const e={'collab-client':{'tooltip':{'reconnect':_0x27a496(0x160)}},'collabStatus':{'fetchMiss':_0x27a496(0x153),'conflict':'Edit\x20conflicts','notCollab':_0x27a496(0x164),'synced':_0x27a496(0x158),'syncing':'Syncing...','offline':_0x27a496(0x166)},'session':{'connection-failed':_0x27a496(0x152),'will-retry':_0x27a496(0x154),'room-full':_0x27a496(0x159),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x27a496(0x161),'content':_0x27a496(0x15c)},'permission':{'title':'Authentication\x20Error','content':_0x27a496(0x156)},'collaboration':{'single-unit':{'warning':_0x27a496(0x15b)},'closeRoom':_0x27a496(0x162)},'auth':{'needGotoLoginAlert':_0x27a496(0x15a)}};export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x2ad22f=_0x5d3a;(function(_0x3ca0a6,_0x4a5574){const _0x1226c1=_0x5d3a,_0x48376d=_0x3ca0a6();while(!![]){try{const _0x358d8d=-parseInt(_0x1226c1(0x1f9))/0x1+parseInt(_0x1226c1(0x201))/0x2*(parseInt(_0x1226c1(0x1fa))/0x3)+-parseInt(_0x1226c1(0x1f8))/0x4+-parseInt(_0x1226c1(0x1f3))/0x5*(parseInt(_0x1226c1(0x1fc))/0x6)+-parseInt(_0x1226c1(0x1f7))/0x7+-parseInt(_0x1226c1(0x1f6))/0x8+-parseInt(_0x1226c1(0x205))/0x9*(-parseInt(_0x1226c1(0x1f2))/0xa);if(_0x358d8d===_0x4a5574)break;else _0x48376d['push'](_0x48376d['shift']());}catch(_0x538ded){_0x48376d['push'](_0x48376d['shift']());}}}(_0x32d7,0x26125));function _0x32d7(){const _0x20f69b=['819833IUafVu','854924SFCPpU','178734PHpPKf','3117WCNmFi','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','12FEbnaP','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','492BjAtZK','یک\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کنیم.','9KarQYC','تداخل\x20همکاری','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','7263790zwJkzB','598595TqnPSw','تداخل\x20ویرایش','همگام\x20سازی','616080NFCMvh'];_0x32d7=function(){return _0x20f69b;};return _0x32d7();}function _0x5d3a(_0x1cd008,_0x3f0141){const _0x32d77e=_0x32d7();return _0x5d3a=function(_0x5d3aa3,_0x1d1175){_0x5d3aa3=_0x5d3aa3-0x1ef;let _0x1a66d9=_0x32d77e[_0x5d3aa3];return _0x1a66d9;},_0x5d3a(_0x1cd008,_0x3f0141);}const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x2ad22f(0x1ff),'conflict':_0x2ad22f(0x1f4),'notCollab':'پرونده\x20محلی','synced':_0x2ad22f(0x1f5),'syncing':_0x2ad22f(0x203),'offline':_0x2ad22f(0x1f0)},'session':{'connection-failed':_0x2ad22f(0x1fb),'will-retry':_0x2ad22f(0x204),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x2ad22f(0x200)},'conflict':{'title':_0x2ad22f(0x1ef),'content':_0x2ad22f(0x202)},'permission':{'title':'خطای\x20اعتبارسنجی','content':'اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'collaboration':{'single-unit':{'warning':_0x2ad22f(0x1fd)},'closeRoom':_0x2ad22f(0x1f1)},'auth':{'needGotoLoginAlert':_0x2ad22f(0x1fe)}};export{o as default};
|