@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250410-b7c4a5b → 0.6.10-experimental.20250411-055c47d
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 +15 -15
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x572570=_0x2092;(function(_0x57b9ec,_0x28a81a){const _0x2fd5d5=_0x2092,_0x56d57c=_0x57b9ec();while(!![]){try{const _0x2084a5=-parseInt(_0x2fd5d5(0x29b))/0x1+parseInt(_0x2fd5d5(0x2b5))/0x2*(-parseInt(_0x2fd5d5(0x3a1))/0x3)+parseInt(_0x2fd5d5(0x1d9))/0x4+parseInt(_0x2fd5d5(0x316))/0x5*(-parseInt(_0x2fd5d5(0x215))/0x6)+parseInt(_0x2fd5d5(0x1d3))/0x7+-parseInt(_0x2fd5d5(0x2da))/0x8*(-parseInt(_0x2fd5d5(0x355))/0x9)+-parseInt(_0x2fd5d5(0x31a))/0xa*(-parseInt(_0x2fd5d5(0x3a0))/0xb);if(_0x2084a5===_0x28a81a)break;else _0x56d57c['push'](_0x56d57c['shift']());}catch(_0x28a7de){_0x56d57c['push'](_0x56d57c['shift']());}}}(_0x1447,0xe68f8));var Bt=Object[_0x572570(0x1d7)],kt=(_0x2ee006,_0x48f5a2,_0x1ce50a)=>_0x48f5a2 in _0x2ee006?Bt(_0x2ee006,_0x48f5a2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ce50a}):_0x2ee006[_0x48f5a2]=_0x1ce50a,_=(_0x4b38c9,_0xa500d7,_0x541c05)=>kt(_0x4b38c9,typeof _0xa500d7!=_0x572570(0x2bb)?_0xa500d7+'':_0xa500d7,_0x541c05);import{MemberService as _0x517357,SessionStatus as _0x307177,CollaborationSessionService as _0x39ae42,CollaborationStatus as _0x3df542,CollaborationController as _0x3ecef9,ILocalCacheService as _0x1bc110,CollaborationUIEventService as _0x5893fe,CollaborationUIEventId as _0x100d2a,DataLoaderService as _0x5d6277,DocCollaborationEntity as _0x4edbfb,getLocalCacheKey as _0x19e9dc,LOCAL_CACHE_INTERVAL as _0x3383af,LOCAL_CACHE_INTERVAL_KEY as _0x6d16ed,UniverCollaborationClientPlugin as _0x3cce7e,CollaborationSocketService as _0x1de30c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3b8c9b,DEFAULT_WS_SESSION_TICKET_URL as _0x182b27,UnitStatus as _0x22fb59,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x157464,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x108e0f}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x590569,Disposable as _0x289462,DOC_RANGE_TYPE as _0x117f8e,Inject as _0x374320,Injector as _0x3383f8,IUniverInstanceService as _0x5b8530,ICommandService as _0x2db423,debounce as _0x4d7386,Rectangle as _0x27e5f1,DisposableCollection as _0xd550e7,toDisposable as _0x5987c5,UniverInstanceType as _0x251350,Tools as _0x1bed9f,COLORS as _0x29c527,ColorKit as _0x2000af,ThemeService as _0x128330,fromEventSubject as _0x568dc7,LocaleService as _0x3cd2c2,createIdentifier as _0x3b2bb1,ILogService as _0x1c8dc9,Optional as _0x23a632,Workbook as _0x4b90de,CommandType as _0x3850fb,IConfigService as _0xe6992,ILocalStorageService as _0x5bff25,DependentOn as _0x54e900,Plugin as _0x15f3f5,merge as _0x4ecf07,registerDependencies as _0xed2e46,mergeOverrideWithDependencies as _0x314d0f,touchDependencies as _0x3d29c5,generateRandomId as _0x36a3c2}from'@univerjs/core';import{Shape as _0x30a11e,Rect as _0x30c8f5,getColor as _0x57bd38,RegularPolygon as _0x592a8d,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x45a4eb,Vector2 as _0x9ae0c1,SHEET_VIEWPORT_KEY as _0x5e75d6,IRenderManagerService as _0x13af8c}from'@univerjs/engine-render';import{ISocketService as _0x3c3e39,WebSocketService as _0x2546d3,HTTPService as _0x209003}from'@univerjs/network';import{IDocClipboardService as _0x29b64e,NodePositionConvertToCursor as _0x3ffbb7,NodePositionConvertToRectRange as _0x550b1e,TEXT_RANGE_LAYER_INDEX as _0x49c6be,SetDocZoomRatioOperation as _0x424fa7,DocIMEInputManagerService as _0x5afdc7,DocStateChangeManagerService as _0x2d2f2f}from'@univerjs/docs-ui';import{IImageIoService as _0x2d368e}from'@univerjs/drawing';import{BehaviorSubject as _0x21d2f0,debounceTime as _0xfd09ef,takeUntil as _0x20f6fa,Subject as _0x2a98f3,filter as _0x1aefb6,switchMap as _0x472079,merge as _0x2d26a6,combineLatest as _0x39cd06,of as _0x492dea,fromEvent as _0x24d547,shareReplay as _0x2b8759,mapTo as _0x91ebe2,distinctUntilChanged as _0x1f5685}from'rxjs';import{SetTextSelectionsOperation as _0x5c1cc5,RichTextEditingMutation as _0x200857,DocSelectionManagerService as _0x396377,DocSkeletonManagerService as _0x4892f9}from'@univerjs/docs';import{ITransformService as _0x4c7a5f,CollaborationEvent as _0x201ee1,isTransformMutationFailure as _0x2bf142,isTransformMutationsWithChangesetSuccess as _0x21f7e9,RevisionService as _0x16465a,ISnapshotServerService as _0x46a28e}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x52d3fd,serializeRangeWithSheet as _0x3daf5e}from'@univerjs/engine-formula';import{RefRangeService as _0x2c46f2,SetSelectionsOperation as _0x25b97b,SheetsSelectionsService as _0x1109a0,EffectRefRangId as _0x515c1c,handleIRemoveRow as _0x21678a,handleIRemoveCol as _0x39787c,handleMoveRange as _0x1b1845,handleInsertRow as _0x5a3de0,handleInsertRangeMoveRight as _0x38dd9d,handleInsertRangeMoveDown as _0x284668,handleInsertCol as _0x56a0cc,handleDeleteRangeMoveUp as _0x111b18,handleDeleteRangeMoveLeft as _0x3a968b,runRefRangeMutations as _0x3095ee,SetWorksheetActivateCommand as _0xd485e3}from'@univerjs/sheets';import{map as _0x549166,filter as _0x554adb,throttleTime as _0x37601c,takeUntil as _0x4513f6,switchMap as _0x611378}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1b698d,getCoordByCell as _0x30b889,getSheetObject as _0x18ee33}from'@univerjs/sheets-ui';import{jsx as _0x646673,jsxs as _0x45f432}from'react/jsx-runtime';import{useObservable as _0x1dcbc9,useDependency as _0x2fafc7,IUIPartsService as _0x3871d0,BuiltInUIPart as _0x10b324,connectInjector as _0x52486f,IBeforeCloseService as _0x14d476,IMessageService as _0x372cc5,INotificationService as _0x13ec46}from'@univerjs/ui';import{clsx as _0x5d2435,Tooltip as _0x4fc6e2,MessageType as _0x3ba295}from'@univerjs/design';import{forwardRef as _0x36340d,useRef as _0x1b6cbf,createElement as _0x312948,useCallback as _0x459104}from'react';import{IRemoteInstanceService as _0xb91192}from'@univerjs/rpc';var li=Object[_0x572570(0x225)],_i=(_0x8ef8fc,_0x50f0b7,_0x45dc68,_0x5c2daa)=>{const _0x427b3b=_0x572570;for(var _0x5af371=_0x5c2daa>0x1?void 0x0:_0x5c2daa?li(_0x50f0b7,_0x45dc68):_0x50f0b7,_0x1fc7ee=_0x8ef8fc[_0x427b3b(0x357)]-0x1,_0x4b5c28;_0x1fc7ee>=0x0;_0x1fc7ee--)(_0x4b5c28=_0x8ef8fc[_0x1fc7ee])&&(_0x5af371=_0x4b5c28(_0x5af371)||_0x5af371);return _0x5af371;},Qe=(_0x1b46b2,_0x1eaf55)=>(_0x5a7808,_0x566141)=>_0x1eaf55(_0x5a7808,_0x566141,_0x1b46b2);let Me=class extends _0x590569{constructor(_0x186e08,_0x28398e){super(),this['_docClipboardService']=_0x186e08,this['_imageIoService']=_0x28398e,this['_init']();}[_0x572570(0x2c2)](){const _0x4e7bcc=_0x572570,_0x31b1f1=this;this[_0x4e7bcc(0x31b)](this[_0x4e7bcc(0x220)]['addClipboardHook']({'onBeforePasteImage':async _0x2480da=>{const _0x34a745=_0x4e7bcc,_0x5b323c=await _0x31b1f1['_imageIoService'][_0x34a745(0x3be)](_0x2480da);return _0x5b323c?{'source':_0x5b323c[_0x34a745(0x260)],'imageSourceType':_0x5b323c[_0x34a745(0x2de)]}:null;}}));}};Me=_i([Qe(0x0,_0x29b64e),Qe(0x1,_0x2d368e)],Me);const qe=[_0x572570(0x293),_0x572570(0x2a8),'verdancy600',_0x572570(0x3bb),_0x572570(0x27f),_0x572570(0x200)];class He extends _0x289462{constructor(){const _0x5966c0=_0x572570;super(...arguments),_(this,_0x5966c0(0x2e8),new Map()),_(this,'_colorIndex',0x0);}[_0x572570(0x3b6)](_0x381a3a){const _0x4bf2fe=_0x572570;if(this[_0x4bf2fe(0x2e8)][_0x4bf2fe(0x27e)](_0x381a3a))return this[_0x4bf2fe(0x2e8)][_0x4bf2fe(0x278)](_0x381a3a);const _0x520a7e=qe[this[_0x4bf2fe(0x1cc)]];return this[_0x4bf2fe(0x1cc)]=(this[_0x4bf2fe(0x1cc)]+0x1)%qe[_0x4bf2fe(0x357)],this[_0x4bf2fe(0x2e8)][_0x4bf2fe(0x3c0)](_0x381a3a,_0x520a7e),_0x520a7e;}}function Dt(_0x342701){const _0x3d3691=_0x572570;let _0x4fa184='';for(const _0x51e96e of _0x342701){const {startOffset:_0x4b436c,endOffset:_0x5c6de4,isActive:_0x3d0052,rangeType:_0x460a49,segmentId:_0x166484,segmentPage:_0x262ae6}=_0x51e96e;_0x4fa184[_0x3d3691(0x357)]&&(_0x4fa184+=','),_0x4fa184+=_0x4b436c+':'+_0x5c6de4+':'+(_0x3d0052?'1':'0')+':'+_0x460a49+':'+_0x166484+':'+_0x262ae6;}return _0x4fa184;}function hi(_0xbdb2e){const _0x140f8b=_0x572570,_0x3f725d=_0xbdb2e['split'](','),_0x1e5283=[];for(const _0x39519b of _0x3f725d){const [_0x5c9d96,_0x3492f8,_0x4d654d,_0x107f91,_0xf039ad,_0x26eb1c]=_0x39519b[_0x140f8b(0x3ba)](':');_0x1e5283['push']({'startOffset':Number(_0x5c9d96),'endOffset':Number(_0x3492f8),'collapsed':_0x5c9d96===_0x3492f8,'isActive':_0x4d654d==='1','rangeType':_0x107f91===_0x117f8e['TEXT']?_0x117f8e[_0x140f8b(0x20c)]:_0x117f8e[_0x140f8b(0x228)],'segmentId':typeof _0xf039ad==_0x140f8b(0x22f)?String(_0xf039ad):'','segmentPage':Number(_0x26eb1c!=null?_0x26eb1c:-0x1)});}return _0x1e5283[_0x140f8b(0x219)](_0x258c21=>_0x258c21[_0x140f8b(0x35e)])||(_0x1e5283[0x0][_0x140f8b(0x35e)]=!0x0),_0x1e5283;}class je extends _0x590569{constructor(){const _0x10f89f=_0x572570;super(...arguments),_(this,'_collabCursorState$',new _0x21d2f0(null)),_(this,_0x10f89f(0x2ff),this[_0x10f89f(0x36d)][_0x10f89f(0x283)]());}[_0x572570(0x29c)](_0x2fe835){const _0x43498b=_0x572570,{unitID:_0x34f98f,memberID:_0x244f89,textRanges:_0x1b7a96}=_0x2fe835,_0xc6f7e6=Dt(_0x1b7a96);if(_0xc6f7e6==='')return;const _0x401c18={'unitID':_0x34f98f,'memberID':_0x244f89,'selection':_0xc6f7e6};this[_0x43498b(0x36d)]['next'](_0x401c18);}}function _0x1447(){const _0x13b24e=['length','YUUMI_SUBSCRIPTION_NOT_FOUND','InsertRowCommandId','getCurrentSelections','column','roomMembers$','_lastPointer','isActive','enableLocalCache','INVITE_CODE_ALREADY_BOUND','focused$','icon','_revisionService','MUTATION','_messageService','updateOfflineData','0\x200\x2016\x2016','_getAnchorBounding','ONLINE','location','fillStyle','setInterval','_collabCursorState$','_scene','...','key','top','_onCursorUpdate','substring','_anchor','path','YUUMI_UNABLE_LOAD_URL','_removeClearOtherTimer','transformMutationsWithChangeset','searchParams','INVALID_INVITE_CODE','0\x200\x2017\x2016','_drawAnchor','collabStatus.notCollab','_session','executionId','next','width','_cachedData','getSheetBySheetId','_handleLeaveEvent','_configService','univer-online-status-icon','_selfUnitIDs','values','hide','subunit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_updateSubUnitFromURLParams','1em','_heartbeatTimer','triggerDblclick','endRow','sheetId','unitID','SYNCED','send','univer-online-status-title','_context','transformRemoteChangeset','m1Prime','FromArray','NOT_COLLAB','onTransformChange$','getCurrentUnitForType','UniverIcon','sheetID','collabStatus.synced','7113062UwCmvj','699jHuMed','APPLY_DUPLICATED','_localStorageService','APPLY_NON_SEQUENTIAL_REVISION','AWAITING','from','selection','_drawTextRange','_cursor','_render','getItem','_registerDependencies','EMAIL_HAS_BEEN_BOUND','executeCommand','getMember','delete','_toggleOffline','use','current','all','data','assignAColorForMemberID','children','push','NO_OTHER_CLIENTS_EDITING','split','red300','RemoveRowCommandId','doc.mutation.rich-text-editing','saveImage','ALREADY_EXISTS','set','_config','M0\x200H16V16H0z','apply','_colorAssignService','findNodePositionByCharIndex','debug','assign','_notificationService','startRow','_onCursorDelete','_entities','_collabSessionService','color','roomMembers','getCurrent','status$','tag','session.connection-failed','currentSkeleton$','setParam','_hovered','history','_docTransformSelectionsService','memberID','_colorIndex','getValue','getTypeOfUnitAdded$','font','SOCKET_FAILED','unitId','indexOf','4632950SzqwPQ','_themeService','redoState','origin','defineProperty','closePath','3595768OscjPB','toString','body','_status$','collaboration-client.offline-data-not-saved','_name','name','setItem','USERS_LEAVE','_logService','LICENSE_DISTRO_REJECTED','isArray','CONNECTOR_DATA_TOO_LARGE','_cursorInfo$','setConfig','getActiveRange','_transformService','getUnhiddenWorksheets','actions','registerRenderModule','_initEntityListener','_refreshCollabCursors','_syncEditingCollabCursorService','_initEvent','pushState','hovered','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','pipe','_draw','APPLY_PERMISSION_DENIED','UNRECOGNIZED','lineTo','saveTaskMap','collabStatus.conflict','SOCKET_FAILED_RETRY','div','transformByState','InsertColCommandId','selections','gold400','_handleEvent','className','InsertRangeMoveDownCommandId','getUndoRedoMutationParamsCache','getUniverSheetInstance','onStarting','onRendered','_updateCollabCursors','_getSheetObject','getVpScrollXYInfoByPosToVp','PERMISSION_DENIED','TEXT','_entityInit$','concat','_updateURLWithCurrentState','hasOwnProperty','_sheetSkeletonManagerService','_saveCache','pluginName','attrs','666cuRvqt','beginPath','href','addObject','some','application/json','transformSelections','_collaborationUIEventService','init','_dataLoaderService','_saveTaskMap','_docClipboardService','mask','translate(.97)','startsWith','_scheduleSaving','getOwnPropertyDescriptor','_doCreateSocket','_docTransformIMECacheService','RECT','_hover','_initDependencies','subscribeEvent','mutations','toRgbString','_color','string','permission.content','_renderManagerService','loadUnit','_getScale','_ensureSubject','_transformUndoRedoStack','fillRule','forEach','_httpService','INVITE_CODE_HAS_BEEN_UES','getFocusedUnit','skeleton','url(#$1','text','APPLY_REVISION_CONFILICT','svg','UNIVER_DOC','OFFLINE','_initStatusListener','_scheduleHeartbeat','endColumn','wsSessionTicketUrl','YUUMI_URL_COL_OUT_OF_RANGE','dispose','NOT_FOUND','createInstance','off-line-single_clip0_910_343','_handleJoinEvent','getTypeOfUnitDisposed$','height','_getSaveTimeout','INVALID_ARGUMENT','textRanges','replaceState','exhaustSavingTask','onLocalMutation','getRenderById','UNAUTHENTICATED','[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_localCacheService','FETCH_MISS','clearTimeout','collab-rect-range-','transform','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','requireSession','source','INTERNAL_ERROR','_getSessionTicket','_range','createSocket','sessionTicket','unload','colorChannel1','max','getCollabEntity$','moveTo','idSuffix','parse','unsubscribe','_startDocCollabCursor','_id','registerBeforeClose','trim','collaboration-client-ui.config','_initResize','UPDATE_CURSOR','_instanceService','call','with','get','OffLineSingle','map','_transformPreviousActiveRange','cursorInfo$','permission.title','has','blue400','CHANGESET_REVISION_CONFILICT','addHandlerCallback','removeParam','asObservable','setStateCache','cursorInfo','AWAITING_WITH_PENDING','_roomMembers$','type','_commandService','undoState','onlineStatusTitle','_handleHover','error','collabStatus.fetchMiss','complete','_labelPosition','docStateChange$','prototype','purple300','eventID','LICENSE_EXPORT_SIZE_EXCEEDED','univer-offline','_urlService','_refRangeService','function','_initCommandExecutedListener','517124rIYQDf','syncEditingCollabCursor','find','getCollabCursors$','on-line-single','_docStateChangeManagerService','storage','runOnServer','Warning','SNAPSHOT_INVALID_SNAPSHOT','_registerRenderDependencies','collabStatus.syncing','runId','jiqing500','InsertRangeMoveRightCommandId','entries','getSkeleton','WECHAT_HAS_BEEN_BOUND','deepClone','INVITE_CODE_REQUIRED','getSheetId','post','propertyIsEnumerable','_cursors','offline','defs','4234qOUkCp','online','m2Prime','univer-online','dispose$','urlChange$','symbol','_anchorDot','UNDEFINED','_textBubble','transformMutation','onMouseMove','_cursorShapes','_init','subscribe','generateRandomId','#fff','getActiveSheet','replace','unit','drawWith','isEditing','OTHER_CLIENT_EDITING','override','#FFF','registerRefRange','_hideTimer','getConfig','HEADER_MENU','bottom','fillText','collabStatus.offline','_injector','_shapes','arc','APPLY_REJECT','_docSkeletonManagerService','321752UKUWkd','engine','setTimeout','_document','imageSourceType','fill','ranges','sessionStatus$','entityInit$','clearInterval','ACTIVE_UNIT_EVENT_CHANNEL','_send','_toggleOnline','getDocRanges','_assignedColors','getAncestorScale','getParam','OTHER_CLIENTS_EDITING','startColumn','getMemberID','collab-text-range-','_scheduleClearOtherTimer','black','TOO_MANY_REQUESTS','_univerInstanceService','_disabled','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','show','getStateCache','LICENSE_IMPORT_SIZE_EXCEEDED','collaboration.single-unit.warning','_removeCollabCursors','onPointerLeave$','disposeUnit','_startSheetCollabCursor','getOffsetConfig','addEventListener','collabCursorState$','_onRefRangeChange','_transformHistoryAndStateStack','_createSocketURL','LICENSE_MAX_UNITS_EXCEEDED','event$','transformStateCache','includes','save','none','on-line-single_clip0_910_349','onCommandExecuted','row','univer-online-status','YUUMI_RATE_OVER_LIMIT','_docSyncEditingCollabCursorService','_eventUnsubscribe','setAlpha','range','result','flatMap','round','_getMergeRange','31310bxVBXE','PY_RUNTIME_SCRIPT_ERROR','defIds','getCurrentRevOfUnit','10GkFsLq','disposeWithMe','transformIMECache','_beforeCloseService','UNIVER_SHEET','collaboration.closeRoom','then','currentColor','_initStatusComponent','SNAPSHOT_HAS_BEEN_REMOVED','add','_online','getCellPositionByOffset','_setupSubUnitSync','CONFLICT','_unitStatus','_memberService','_backgroundColor','SUBMIT_CHANGESET_TIMEOUT','unshift','code','saveOfflineData','_collaborationController','activeSheet$','xlink:href','_localeService','OnLineSingle','getUnitStatus$','univer-flex\x20univer-items-center','displayName','_handleHeartbeatEvent','newValue','replaceDocRanges','_unitOnClients','Error','USER_NOT_INVITED_CODE','univerjs-icon\x20univerjs-icon-','ENSURE_SNAPSHOT_EXECUTION','Failed','restore','LOGIN_FAILED','_setupBeforeClosingHandler','getRangePointData','disableLocalCache','min','_collabCursorController','Unknown\x20user','setShapeProps','_drawRectRange','editingUnit','_updateLocalCursor','_uiPartsService','collab-text-anchor-','getUnitId','COMPLETION_FINISHED','onPointerEnter$','_clearOtherTimers','measureText','_docTransformStateCacheService','99pcXDUr','params'];_0x1447=function(){return _0x13b24e;};return _0x1447();}var ui=Object[_0x572570(0x225)],di=(_0x2cb67d,_0x3b1b2d,_0x3808a5,_0x3865d8)=>{const _0x30ae13=_0x572570;for(var _0x2b6b99=_0x3865d8>0x1?void 0x0:_0x3865d8?ui(_0x3b1b2d,_0x3808a5):_0x3b1b2d,_0x185029=_0x2cb67d[_0x30ae13(0x357)]-0x1,_0x1855ec;_0x185029>=0x0;_0x185029--)(_0x1855ec=_0x2cb67d[_0x185029])&&(_0x2b6b99=_0x1855ec(_0x2b6b99)||_0x2b6b99);return _0x2b6b99;},U=(_0x20daac,_0x2fb628)=>(_0x36f1b1,_0x25d3f8)=>_0x2fb628(_0x36f1b1,_0x25d3f8,_0x20daac);const fi=0x12c,Si=0x64;let Pe=class extends _0x590569{constructor(_0x76ac7c,_0x2057b0,_0x457def,_0x2f80b9,_0x19462e,_0x5d624c,_0x491cd1,_0x1078af,_0x597023){const _0x27b594=_0x572570;super(),_(this,'_online',!0x1),_(this,_0x27b594(0x2c2),!0x1),_(this,'_cursorInfo$',new _0x21d2f0(new Map())),_(this,'cursorInfo$',this[_0x27b594(0x1e6)][_0x27b594(0x283)]()),_(this,_0x27b594(0x287),new _0x21d2f0([])),_(this,_0x27b594(0x35c),this['_roomMembers$'][_0x27b594(0x1f4)](_0xfd09ef(fi))),_(this,'_updateLocalCursor',_0x4d7386(_0x387f87=>{const _0x1297fd=_0x27b594,_0x30a507={'eventID':_0x201ee1['UPDATE_CURSOR'],'data':{'unitID':this[_0x1297fd(0x392)],'memberID':this[_0x1297fd(0x37e)][_0x1297fd(0x2ed)](),'selection':Dt(_0x387f87)}};this['_session'][_0x1297fd(0x394)](_0x30a507,this['unitID']);},Si)),(this[_0x27b594(0x392)]=_0x76ac7c,this[_0x27b594(0x37e)]=_0x2057b0,this[_0x27b594(0x2d5)]=_0x457def,this[_0x27b594(0x3c4)]=_0x2f80b9,this[_0x27b594(0x32a)]=_0x19462e,this[_0x27b594(0x1ef)]=_0x5d624c,this[_0x27b594(0x1e9)]=_0x491cd1,this[_0x27b594(0x2f2)]=_0x1078af,this['_commandService']=_0x597023);}get[_0x572570(0x285)](){const _0x625a43=_0x572570;return this[_0x625a43(0x1e6)][_0x625a43(0x1cd)]();}get[_0x572570(0x3ce)](){const _0x5d65a1=_0x572570;return this[_0x5d65a1(0x287)][_0x5d65a1(0x1cd)]();}[_0x572570(0x247)](){const _0x40bd4b=_0x572570;super['dispose'](),this[_0x40bd4b(0x1e6)][_0x40bd4b(0x380)](new Map()),this[_0x40bd4b(0x1e6)][_0x40bd4b(0x28f)](),this[_0x40bd4b(0x287)][_0x40bd4b(0x380)]([]),this[_0x40bd4b(0x287)][_0x40bd4b(0x28f)]();}['init'](){const _0x49d8c4=_0x572570;this[_0x49d8c4(0x2c2)]||(this[_0x49d8c4(0x2c2)]=!0x0,this[_0x49d8c4(0x37e)][_0x49d8c4(0x2e1)][_0x49d8c4(0x1f4)](_0x20f6fa(this[_0x49d8c4(0x2b9)]))[_0x49d8c4(0x2c3)](_0x16defe=>{const _0x371ed5=_0x49d8c4;_0x16defe===_0x307177[_0x371ed5(0x369)]?this[_0x371ed5(0x2e6)]():this['_toggleOffline']();}),this[_0x49d8c4(0x37e)][_0x49d8c4(0x304)][_0x49d8c4(0x1f4)](_0x20f6fa(this['dispose$']))[_0x49d8c4(0x2c3)](_0xf2d5e3=>{const _0x53958f=_0x49d8c4,_0x557c68=_0xf2d5e3['eventID'];_0x557c68===_0x201ee1['UPDATE_CURSOR']&&this[_0x53958f(0x372)](_0xf2d5e3),_0x557c68===_0x201ee1[_0x53958f(0x1e1)]&&this[_0x53958f(0x3ca)](_0xf2d5e3);}),this['disposeWithMe'](this[_0x49d8c4(0x289)]['onCommandExecuted'](_0x128a5=>{const _0x5ae5b7=_0x49d8c4,_0xb9d18f=_0x128a5['params'];_0xb9d18f!=null&&this[_0x5ae5b7(0x325)]&&_0x128a5['id']===_0x5c1cc5['id']&&_0xb9d18f[_0x5ae5b7(0x1d1)]===this[_0x5ae5b7(0x392)]&&_0xb9d18f[_0x5ae5b7(0x2ca)]===!0x1&&_0xb9d18f['ranges'][_0x5ae5b7(0x357)]>0x0&&this[_0x5ae5b7(0x34c)](_0xb9d18f['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x49d8c4(0x1f4)](_0x20f6fa(this['dispose$']))[_0x49d8c4(0x2c3)](_0x57a5ed=>{const _0x5ab978=_0x49d8c4;if((_0x57a5ed==null?void 0x0:_0x57a5ed[_0x5ab978(0x392)])!==this[_0x5ab978(0x392)])return;const _0x4ba699={'eventID':_0x201ee1['UPDATE_CURSOR'],'data':_0x57a5ed};this[_0x5ab978(0x372)](_0x4ba699);}),this[_0x49d8c4(0x31b)](this[_0x49d8c4(0x289)][_0x49d8c4(0x30a)](_0x34ee03=>{const _0x4eb4d8=_0x49d8c4;if(_0x34ee03['params']==null)return;const _0x3a6655=_0x34ee03[_0x4eb4d8(0x356)];if(_0x34ee03['id']!==_0x200857['id']||_0x3a6655[_0x4eb4d8(0x1d1)]!==this[_0x4eb4d8(0x392)])return;const _0x3ab32d={'id':_0x4eb4d8(0x3bd),'params':_0x3a6655},_0x2fa842=this[_0x4eb4d8(0x285)];for(const [_0xadc13,_0x4825f5]of _0x2fa842){const _0x28d766={'id':_0x4eb4d8(0x3bd),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4825f5[_0x4eb4d8(0x2e0)]}},_0x448b0a=this[_0x4eb4d8(0x1e9)]['transformMutation'](_0x3ab32d,_0x28d766,!0x1);if(_0x2bf142(_0x448b0a))throw _0x448b0a[_0x4eb4d8(0x28d)];_0x2fa842[_0x4eb4d8(0x3c0)](_0xadc13,{..._0x4825f5,'ranges':_0x448b0a[_0x4eb4d8(0x2b7)][_0x4eb4d8(0x356)][_0x4eb4d8(0x250)]});}queueMicrotask(()=>{const _0x1cb0e5=_0x4eb4d8;this[_0x1cb0e5(0x1e6)][_0x1cb0e5(0x380)](_0x2fa842);});})));}[_0x572570(0x372)](_0x4f974d){const _0x3a3834=_0x572570;var _0x511d8e,_0x17487a;const {memberID:_0x1121a9,selection:_0x405910}=_0x4f974d['data'],_0x56781b=hi(_0x405910),_0x18c126=(_0x17487a=(_0x511d8e=this['_memberService'][_0x3a3834(0x3af)](this['unitID'],_0x1121a9))==null?void 0x0:_0x511d8e[_0x3a3834(0x1df)])!=null?_0x17487a:_0x3a3834(0x348),_0x3416d6={'color':this[_0x3a3834(0x3c4)][_0x3a3834(0x3b6)](_0x1121a9),'name':_0x18c126,'ranges':_0x56781b},_0x1502dd=this[_0x3a3834(0x285)];_0x1502dd[_0x3a3834(0x3c0)](_0x1121a9,_0x3416d6),this[_0x3a3834(0x1e6)][_0x3a3834(0x380)](_0x1502dd);}[_0x572570(0x3ca)](_0x803c2c){const _0xe87ff=_0x572570,{memberID:_0x5db726}=_0x803c2c['data'],_0x10a927=this[_0xe87ff(0x285)];_0x10a927[_0xe87ff(0x3b0)](_0x5db726),this['_cursorInfo$'][_0xe87ff(0x380)](_0x10a927);}[_0x572570(0x2e6)](){const _0x4b9f92=_0x572570;var _0x14c1d5;if(this[_0x4b9f92(0x325)]=!0x0,((_0x14c1d5=this[_0x4b9f92(0x2f2)][_0x4b9f92(0x23a)]())==null?void 0x0:_0x14c1d5[_0x4b9f92(0x34f)]())!==this[_0x4b9f92(0x392)])return;const _0x3aea03=this[_0x4b9f92(0x2d5)][_0x4b9f92(0x278)](_0x396377)[_0x4b9f92(0x2e7)]();Array[_0x4b9f92(0x1e4)](_0x3aea03)&&_0x3aea03[_0x4b9f92(0x357)]>0x0&&this['_updateLocalCursor'](_0x3aea03);}['_toggleOffline'](){const _0x1b1c1e=_0x572570;this[_0x1b1c1e(0x325)]=!0x1;}};Pe=di([U(0x2,_0x374320(_0x3383f8)),U(0x3,_0x374320(He)),U(0x4,_0x374320(_0x517357)),U(0x5,_0x374320(je)),U(0x6,_0x4c7a5f),U(0x7,_0x5b8530),U(0x8,_0x2db423)],Pe);var mi=Object[_0x572570(0x225)],gi=(_0x1a24ce,_0x1d5465,_0x3a91bf,_0x1d4b41)=>{const _0x2da963=_0x572570;for(var _0x573621=_0x1d4b41>0x1?void 0x0:_0x1d4b41?mi(_0x1d5465,_0x3a91bf):_0x1d5465,_0x3c9663=_0x1a24ce[_0x2da963(0x357)]-0x1,_0x15230b;_0x3c9663>=0x0;_0x3c9663--)(_0x15230b=_0x1a24ce[_0x3c9663])&&(_0x573621=_0x15230b(_0x573621)||_0x573621);return _0x573621;},x=(_0x3ba1d3,_0x566edc)=>(_0x5afd7d,_0x21adf2)=>_0x566edc(_0x5afd7d,_0x21adf2,_0x3ba1d3);const vi=0x12c,Ii=0x64,pi=()=>{let _0x1ad531=[],_0x3d00ba=!0x1;return _0x324718=>{const _0x14775c=_0x2092;_0x1ad531[_0x14775c(0x3b8)](_0x324718),_0x3d00ba||(_0x3d00ba=!0x0,setTimeout(()=>{const _0x4750ad=_0x14775c;_0x1ad531[_0x4750ad(0x237)](_0x27b3cd=>_0x27b3cd()),_0x1ad531=[],_0x3d00ba=!0x1;}));};};let we=class extends _0x590569{constructor(_0x1ea4d3,_0x2e791f,_0x40432b,_0x4c9cf2,_0x5a521c,_0x593801,_0x38717a,_0x28efba){const _0x347aa1=_0x572570;super(),_(this,_0x347aa1(0x325),!0x1),_(this,_0x347aa1(0x2c2),!0x1),_(this,_0x347aa1(0x1e6),new _0x21d2f0(new Map())),_(this,_0x347aa1(0x27c),this[_0x347aa1(0x1e6)][_0x347aa1(0x283)]()),_(this,'_roomMembers$',new _0x21d2f0([])),_(this,_0x347aa1(0x35c),this[_0x347aa1(0x287)][_0x347aa1(0x1f4)](_0xfd09ef(vi))),_(this,_0x347aa1(0x34c),_0x4d7386((_0x3c6510,_0x51ebf4)=>{const _0x248a10=_0x347aa1,_0x41e0b6={'eventID':_0x201ee1[_0x248a10(0x274)],'data':{'unitID':this['unitID'],'memberID':this[_0x248a10(0x37e)][_0x248a10(0x2ed)](),'selection':_0x3daf5e(_0x3c6510,_0x51ebf4[_0x248a10(0x311)])}};this['_session'][_0x248a10(0x394)](_0x41e0b6,this[_0x248a10(0x392)]);},Ii)),(this[_0x347aa1(0x392)]=_0x1ea4d3,this[_0x347aa1(0x37e)]=_0x2e791f,this[_0x347aa1(0x2d5)]=_0x40432b,this[_0x347aa1(0x3c4)]=_0x4c9cf2,this[_0x347aa1(0x32a)]=_0x5a521c,this[_0x347aa1(0x2f2)]=_0x593801,this['_commandService']=_0x38717a,this[_0x347aa1(0x298)]=_0x28efba);}get['cursorInfo'](){const _0x343188=_0x572570;return this[_0x343188(0x1e6)]['getValue']();}get[_0x572570(0x3ce)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x25a6aa=_0x572570;super['dispose'](),this[_0x25a6aa(0x1e6)][_0x25a6aa(0x380)](new Map()),this[_0x25a6aa(0x1e6)][_0x25a6aa(0x28f)](),this[_0x25a6aa(0x287)]['next']([]),this[_0x25a6aa(0x287)][_0x25a6aa(0x28f)]();}[_0x572570(0x21d)](){const _0x58895c=_0x572570;this[_0x58895c(0x2c2)]||(this['_init']=!0x0,this[_0x58895c(0x37e)][_0x58895c(0x2e1)][_0x58895c(0x1f4)](_0x20f6fa(this[_0x58895c(0x2b9)]))[_0x58895c(0x2c3)](_0x5f4e8e=>{const _0x5a7721=_0x58895c;_0x5f4e8e===_0x307177[_0x5a7721(0x369)]?this[_0x5a7721(0x2e6)]():this['_toggleOffline']();}),this[_0x58895c(0x37e)][_0x58895c(0x304)]['pipe'](_0x20f6fa(this[_0x58895c(0x2b9)]))[_0x58895c(0x2c3)](_0x337672=>{const _0x6ad104=_0x58895c,_0x4aa355=_0x337672[_0x6ad104(0x294)];_0x4aa355===_0x201ee1[_0x6ad104(0x274)]&&this['_onCursorUpdate'](_0x337672),_0x4aa355===_0x201ee1[_0x6ad104(0x1e1)]&&this[_0x6ad104(0x3ca)](_0x337672);}),this[_0x58895c(0x300)](),this[_0x58895c(0x31b)](this[_0x58895c(0x289)]['onCommandExecuted'](_0x26504b=>{const _0x3e51c8=_0x58895c;if(this['_online']&&_0x26504b['id']===_0x25b97b['id']&&_0x26504b[_0x3e51c8(0x356)][_0x3e51c8(0x1d1)]===this['unitID']){const _0x5c049d=_0x26504b[_0x3e51c8(0x356)];this['_updateLocalCursor'](_0x5c049d['subUnitId'],_0x5c049d[_0x3e51c8(0x1ff)][0x0]);}})));}['_onCursorUpdate'](_0x2b9dbf){const _0x2c8ed0=_0x572570;var _0xb5a53a,_0x353de5;const {memberID:_0x5493a5,selection:_0x460fdc}=_0x2b9dbf[_0x2c8ed0(0x3b5)],{sheetName:_0x2583c5,range:_0x219ddc}=_0x52d3fd(_0x460fdc),_0x22e1cf={'name':(_0x353de5=(_0xb5a53a=this[_0x2c8ed0(0x32a)][_0x2c8ed0(0x3af)](this[_0x2c8ed0(0x392)],_0x5493a5))==null?void 0x0:_0xb5a53a[_0x2c8ed0(0x1df)])!=null?_0x353de5:_0x2c8ed0(0x348),'range':this['_getMergeRange'](_0x2583c5,_0x219ddc),'sheetID':_0x2583c5,'color':this[_0x2c8ed0(0x3c4)][_0x2c8ed0(0x3b6)](_0x5493a5),'selection':_0x460fdc},_0x4be2c8=this[_0x2c8ed0(0x285)];_0x4be2c8[_0x2c8ed0(0x3c0)](_0x5493a5,_0x22e1cf),this[_0x2c8ed0(0x1e6)]['next'](_0x4be2c8);}[_0x572570(0x3ca)](_0x11323a){const _0x4b1b48=_0x572570,{memberID:_0x1ed35c}=_0x11323a[_0x4b1b48(0x3b5)],_0xccba59=this[_0x4b1b48(0x285)];_0xccba59[_0x4b1b48(0x3b0)](_0x1ed35c),this[_0x4b1b48(0x1e6)][_0x4b1b48(0x380)](_0xccba59);}[_0x572570(0x315)](_0x328577,_0x1c0c6a){const _0x38af7a=_0x572570;var _0xcd89b7,_0x53d4fd;const _0x597892=(_0x53d4fd=(_0xcd89b7=this['_univerInstanceService'][_0x38af7a(0x205)](this['unitID']))==null?void 0x0:_0xcd89b7[_0x38af7a(0x383)](_0x328577))==null?void 0x0:_0x53d4fd['getMergeData']();return(_0x597892==null?void 0x0:_0x597892[_0x38af7a(0x29d)](_0x1b0a26=>_0x27e5f1['contains'](_0x1b0a26,_0x1c0c6a)))||_0x1c0c6a;}[_0x572570(0x300)](){const _0x295bc4=_0x572570,_0x2dd2c8=new _0xd550e7(),_0xb7090b=pi(),_0x214b45=()=>{const _0x28848f=_0x2092;_0x2dd2c8[_0x28848f(0x247)]();const _0x2cb684=(_0x23fa50,_0x4a7622,_0x4a187f,_0x29e367)=>{const _0x3acff8=_0x28848f;let _0x1d9330=[];switch(_0x23fa50['id']){case _0x515c1c['DeleteRangeMoveLeftCommandId']:{_0x1d9330=_0x3a968b(_0x23fa50,_0x29e367);break;}case _0x515c1c['DeleteRangeMoveUpCommandId']:{_0x1d9330=_0x111b18(_0x23fa50,_0x29e367);break;}case _0x515c1c[_0x3acff8(0x1fe)]:{_0x1d9330=_0x56a0cc(_0x23fa50,_0x29e367);break;}case _0x515c1c[_0x3acff8(0x203)]:{_0x1d9330=_0x284668(_0x23fa50,_0x29e367);break;}case _0x515c1c[_0x3acff8(0x2a9)]:{_0x1d9330=_0x38dd9d(_0x23fa50,_0x29e367);break;}case _0x515c1c[_0x3acff8(0x359)]:{_0x1d9330=_0x5a3de0(_0x23fa50,_0x29e367);break;}case _0x515c1c['MoveRangeCommandId']:{_0x1d9330=_0x1b1845(_0x23fa50,_0x29e367);break;}case _0x515c1c['RemoveColCommandId']:{_0x1d9330=_0x39787c(_0x23fa50,_0x29e367);break;}case _0x515c1c[_0x3acff8(0x3bc)]:{_0x1d9330=_0x21678a(_0x23fa50,_0x29e367);break;}}const _0x53f031=_0x3095ee(_0x1d9330,_0x29e367),_0x17e642=this[_0x3acff8(0x285)]['get'](_0x4a7622);if(_0x17e642&&_0x53f031){const _0x1d0b08={..._0x17e642,'range':_0x53f031};this[_0x3acff8(0x285)]['set'](_0x4a7622,_0x1d0b08),_0xb7090b(()=>{const _0x242f70=_0x3acff8,_0x2cb5f0=this['_refRangeService'][_0x242f70(0x2ce)](_0x53f031,_0x53cc7c=>(_0x2cb5f0['dispose'](),_0x2cb684(_0x53cc7c,_0x4a7622,_0x4a187f,_0x53f031)));_0x2dd2c8[_0x242f70(0x324)](_0x2cb5f0);});}return{'redos':[],'undos':[]};};this[_0x28848f(0x285)][_0x28848f(0x237)]((_0x312286,_0x134c65)=>{const _0x46180b=_0x28848f,{range:_0x15c1fa,sheetID:_0xde3a8a}=_0x312286,_0x452e31=this['_refRangeService']['registerRefRange'](_0x15c1fa,_0x4473df=>(_0x452e31['dispose'](),_0x2cb684(_0x4473df,_0x134c65,_0xde3a8a,_0x15c1fa)));_0x2dd2c8[_0x46180b(0x324)](_0x452e31);});};this[_0x295bc4(0x31b)](_0x5987c5(this[_0x295bc4(0x1e6)][_0x295bc4(0x2c3)](()=>{_0x214b45();})));}['_toggleOnline'](){const _0x46876f=_0x572570;var _0x4243ad,_0x529510;if(this['_online']=!0x0,((_0x4243ad=this[_0x46876f(0x2f2)]['getFocusedUnit']())==null?void 0x0:_0x4243ad[_0x46876f(0x34f)]())!==this['unitID'])return;const _0x4924dc=(_0x529510=this['_injector']['get'](_0x1109a0)[_0x46876f(0x35a)]())==null?void 0x0:_0x529510[0x0],_0x112b60=this[_0x46876f(0x2f2)][_0x46876f(0x39c)](_0x251350[_0x46876f(0x31e)])[_0x46876f(0x2c6)]();_0x4924dc&&_0x112b60&&this[_0x46876f(0x34c)](_0x112b60[_0x46876f(0x2af)](),_0x4924dc);}[_0x572570(0x3b1)](){const _0x1c86c2=_0x572570;this[_0x1c86c2(0x325)]=!0x1;}};we=gi([x(0x2,_0x374320(_0x3383f8)),x(0x3,_0x374320(He)),x(0x4,_0x374320(_0x517357)),x(0x5,_0x5b8530),x(0x6,_0x2db423),x(0x7,_0x374320(_0x2c46f2))],we);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x471f8d,_0x3e6a59,_0x54ce69,_0x4051a7)=>{const _0x13165f=_0x572570;for(var _0x5f2db6=_0x4051a7>0x1?void 0x0:_0x4051a7?Ci(_0x3e6a59,_0x54ce69):_0x3e6a59,_0x22acba=_0x471f8d[_0x13165f(0x357)]-0x1,_0xaae939;_0x22acba>=0x0;_0x22acba--)(_0xaae939=_0x471f8d[_0x22acba])&&(_0x5f2db6=_0xaae939(_0x5f2db6)||_0x5f2db6);return _0x5f2db6;},me=(_0x42b67a,_0xab637c)=>(_0x56beba,_0x2d39e7)=>_0xab637c(_0x56beba,_0x2d39e7,_0x42b67a);let H=class extends _0x590569{constructor(_0x3b3dcd,_0x5cb4c8,_0x289d3e){const _0x39adac=_0x572570;super(),_(this,_0x39adac(0x3cb),new Map()),_(this,_0x39adac(0x20d),new _0x2a98f3()),(this[_0x39adac(0x2f2)]=_0x3b3dcd,this[_0x39adac(0x2d5)]=_0x5cb4c8,this[_0x39adac(0x3cc)]=_0x289d3e,this[_0x39adac(0x2c2)]());}[_0x572570(0x247)](){const _0x109eb8=_0x572570;super[_0x109eb8(0x247)](),this[_0x109eb8(0x20d)]['complete'](),this['_entities']['forEach'](_0x25c6d9=>_0x25c6d9[_0x109eb8(0x247)]());}[_0x572570(0x29e)](_0x2ab7ba){const _0x34918a=_0x572570;return this['_entities'][_0x34918a(0x27e)](_0x2ab7ba)?this[_0x34918a(0x3cb)]['get'](_0x2ab7ba)[_0x34918a(0x27c)]:this[_0x34918a(0x20d)]['pipe'](_0x1aefb6(_0x5db5a8=>_0x5db5a8['unitID']===_0x2ab7ba),_0x472079(_0xa539c3=>_0xa539c3['cursorInfo$']));}[_0x572570(0x2c2)](){const _0x52e93f=_0x572570;this[_0x52e93f(0x2f2)][_0x52e93f(0x1ce)](_0x251350[_0x52e93f(0x31e)])[_0x52e93f(0x1f4)](_0x20f6fa(this['dispose$']))[_0x52e93f(0x2c3)](async _0x700ca=>{const _0x16a6cb=_0x52e93f,_0x5aa6b1=_0x700ca[_0x16a6cb(0x34f)](),_0x36a111=await this[_0x16a6cb(0x2fc)](_0x5aa6b1);this[_0x16a6cb(0x20d)]['next'](_0x36a111),this[_0x16a6cb(0x3cb)][_0x16a6cb(0x3c0)](_0x5aa6b1,_0x36a111);}),this['_univerInstanceService'][_0x52e93f(0x1ce)](_0x251350['UNIVER_DOC'])[_0x52e93f(0x1f4)](_0x20f6fa(this[_0x52e93f(0x2b9)]))[_0x52e93f(0x1f4)](_0x1aefb6(_0x155e4e=>!_0x155e4e[_0x52e93f(0x34f)]()[_0x52e93f(0x223)]('__')))[_0x52e93f(0x2c3)](async _0x1cacff=>{const _0x447f55=_0x52e93f,_0x18b98a=_0x1cacff['getUnitId'](),_0x49b04d=await this[_0x447f55(0x26e)](_0x18b98a);this[_0x447f55(0x20d)][_0x447f55(0x380)](_0x49b04d),this['_entities']['set'](_0x18b98a,_0x49b04d);}),_0x2d26a6(this[_0x52e93f(0x2f2)][_0x52e93f(0x24c)](_0x251350[_0x52e93f(0x240)]),this['_univerInstanceService'][_0x52e93f(0x24c)](_0x251350['UNIVER_SHEET']))[_0x52e93f(0x1f4)](_0x20f6fa(this[_0x52e93f(0x2b9)]))[_0x52e93f(0x2c3)](_0x6e50dc=>{const _0x1de744=_0x52e93f,_0x28cc34=_0x6e50dc[_0x1de744(0x34f)](),_0x248781=this[_0x1de744(0x3cb)][_0x1de744(0x278)](_0x28cc34);_0x248781&&(_0x248781[_0x1de744(0x247)](),this[_0x1de744(0x3cb)][_0x1de744(0x3b0)](_0x28cc34));});}async['_startSheetCollabCursor'](_0xf65449){const _0x22f26c=_0x572570,_0x3662f8=await this[_0x22f26c(0x3cc)]['requireSession'](_0xf65449),_0x266053=this['_injector']['createInstance'](we,_0xf65449,_0x3662f8);return _0x266053[_0x22f26c(0x21d)](),_0x266053;}async[_0x572570(0x26e)](_0x441a13){const _0x13483c=_0x572570,_0x3729ec=await this[_0x13483c(0x3cc)][_0x13483c(0x25f)](_0x441a13),_0x3ff657=this[_0x13483c(0x2d5)][_0x13483c(0x249)](Pe,_0x441a13,_0x3729ec);return _0x3ff657[_0x13483c(0x21d)](),_0x3ff657;}};H=Ei([me(0x0,_0x5b8530),me(0x1,_0x374320(_0x3383f8)),me(0x2,_0x374320(_0x39ae42))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x333977,_0x4d8f5){const _0x4442d7=_0x572570;let {radius:_0x588227,width:_0x2eb506,height:_0x2c6335}=_0x4d8f5;_0x588227=_0x588227!=null?_0x588227:0x0,_0x2eb506=_0x2eb506!=null?_0x2eb506:0x1e,_0x2c6335=_0x2c6335!=null?_0x2c6335:0x1e;let _0x215df5=0x0,_0x5f4036=0x0,_0x4d8a8a=0x0;_0x215df5=_0x5f4036=_0x4d8a8a=Math['min'](_0x588227,_0x2eb506/0x2,_0x2c6335/0x2),_0x333977[_0x4442d7(0x216)](),_0x333977[_0x4442d7(0x26a)](_0x215df5,0x0),_0x333977['lineTo'](_0x2eb506-_0x5f4036,0x0),_0x333977[_0x4442d7(0x2d7)](_0x2eb506-_0x5f4036,_0x5f4036,_0x5f4036,Math['PI']*0x3/0x2,0x0,!0x1),_0x333977[_0x4442d7(0x1f8)](_0x2eb506,_0x2c6335-_0x4d8a8a),_0x333977[_0x4442d7(0x2d7)](_0x2eb506-_0x4d8a8a,_0x2c6335-_0x4d8a8a,_0x4d8a8a,0x0,Math['PI']/0x2,!0x1),_0x333977[_0x4442d7(0x1f8)](0x0,_0x2c6335),_0x333977[_0x4442d7(0x1f8)](0x0,_0x215df5),_0x333977[_0x4442d7(0x2d7)](_0x215df5,_0x215df5,_0x215df5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x333977[_0x4442d7(0x1d8)](),_0x4d8f5[_0x4442d7(0x2df)]&&(_0x333977[_0x4442d7(0x307)](),_0x333977['fillStyle']=_0x4d8f5[_0x4442d7(0x2df)],_0x4d8f5[_0x4442d7(0x236)]==='evenodd'?_0x333977[_0x4442d7(0x2df)]('evenodd'):_0x333977['fill'](),_0x333977[_0x4442d7(0x341)]());}class ue extends _0x30a11e{constructor(_0x7a14e4,_0x51469b){const _0xd56745=_0x572570;super(_0x7a14e4,_0x51469b),_(this,'color'),_(this,_0xd56745(0x23d)),(this[_0xd56745(0x3cd)]=_0x51469b==null?void 0x0:_0x51469b[_0xd56745(0x3cd)],this[_0xd56745(0x23d)]=_0x51469b==null?void 0x0:_0x51469b[_0xd56745(0x23d)]);}static[_0x572570(0x2c9)](_0x22781b,_0x338497){const _0x1945dc=_0x572570,{text:_0x5cc6c5,color:_0x3050c1}=_0x338497;_0x22781b[_0x1945dc(0x307)](),_0x22781b[_0x1945dc(0x1cf)]=_0x1945dc(0x2f4);const _0x56af99=_0x22781b[_0x1945dc(0x353)](_0x5cc6c5)[_0x1945dc(0x381)],_0x168aaf=Math[_0x1945dc(0x346)](_0x56af99+0x2*ge,et);Oi(_0x22781b,{'height':te,'radius':0x4,'width':_0x168aaf,'fill':_0x3050c1}),_0x22781b[_0x1945dc(0x36b)]=_0x1945dc(0x2cd);const _0x4ddabd=ge,_0x2411cc=te-bi,_0x2a848a=et-0x2*ge;if(_0x56af99>_0x2a848a){let _0x2a24a9='',_0x3e30d8=0x0;for(const _0x4fbdf9 of _0x5cc6c5){const _0x23ef50=_0x22781b['measureText'](_0x4fbdf9)[_0x1945dc(0x381)];if(_0x3e30d8+_0x23ef50<=_0x2a848a-_0x22781b[_0x1945dc(0x353)](_0x1945dc(0x36f))[_0x1945dc(0x381)])_0x2a24a9+=_0x4fbdf9,_0x3e30d8+=_0x23ef50;else{_0x2a24a9+=_0x1945dc(0x36f);break;}}_0x22781b[_0x1945dc(0x2d3)](_0x2a24a9,_0x4ddabd,_0x2411cc);}else _0x22781b[_0x1945dc(0x2d3)](_0x5cc6c5,_0x4ddabd,_0x2411cc);_0x22781b['restore']();}['_draw'](_0x37452f){ue['drawWith'](_0x37452f,this);}}const ve=_0x572570(0x34e),Ti=_0x572570(0x2ee),Ri=_0x572570(0x25b),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi='rgba(255,\x20255,\x20255,\x200.01)';class tt{constructor(_0x416638,_0x1bf8a4,_0x52ff82,_0x1f9474){const _0x1408ab=_0x572570;_(this,_0x1408ab(0x2d6),[]),_(this,_0x1408ab(0x374),null),_(this,_0x1408ab(0x2be),null),_(this,_0x1408ab(0x2bc),null),_(this,_0x1408ab(0x2cf),null),_(this,_0x1408ab(0x30f),null),(this[_0x1408ab(0x3a9)]=_0x416638,this['_scene']=_0x1bf8a4,this['_docSkeleton']=_0x52ff82,this[_0x1408ab(0x2dd)]=_0x1f9474,this[_0x1408ab(0x3aa)]());}set[_0x572570(0x229)](_0x7884a9){const _0x53df1b=_0x572570;_0x7884a9?(this[_0x53df1b(0x2bc)]&&this[_0x53df1b(0x2bc)][_0x53df1b(0x389)](),this[_0x53df1b(0x2be)]&&this['_textBubble'][_0x53df1b(0x2f5)]()):(this[_0x53df1b(0x2bc)]&&this[_0x53df1b(0x2bc)][_0x53df1b(0x2f5)](),this['_textBubble']&&this[_0x53df1b(0x2be)][_0x53df1b(0x389)]());}[_0x572570(0x247)](){const _0x4a149a=_0x572570;for(const _0x2acdbb of this['_shapes'])_0x2acdbb[_0x4a149a(0x247)]();this[_0x4a149a(0x2be)]&&this[_0x4a149a(0x2be)]['dispose'](),this[_0x4a149a(0x2bc)]&&this[_0x4a149a(0x2bc)][_0x4a149a(0x247)](),this[_0x4a149a(0x374)]&&this[_0x4a149a(0x374)]['dispose'](),this[_0x4a149a(0x30f)]&&this[_0x4a149a(0x30f)]();}[_0x572570(0x3aa)](){const _0x340ac8=_0x572570;var _0x4773b2;const {_docSkeleton:_0x28813,_document:_0x23cba5}=this,{color:_0x4aab26,name:_0x127eb8,ranges:_0x347a19}=this[_0x340ac8(0x3a9)],_0x30e15c=_0x23cba5[_0x340ac8(0x2fd)](),{docsLeft:_0x447905,docsTop:_0x516a3f}=_0x30e15c,_0x1a2da8=new _0x3ffbb7(_0x30e15c,_0x28813);for(const {startOffset:_0x5b1b57,endOffset:_0x52e049,rangeType:_0x360e3b,segmentId:_0x56d209,segmentPage:_0x334ef7,collapsed:_0x5acc5b,isActive:_0x3d0425}of _0x347a19){const _0x5c4b77=_0x28813[_0x340ac8(0x3c5)](_0x5b1b57,!0x0,_0x56d209,_0x334ef7);let _0x2e799a=_0x28813[_0x340ac8(0x3c5)](_0x52e049,!0x0,_0x56d209,_0x334ef7);if(_0x2e799a==null&&(_0x2e799a=_0x28813[_0x340ac8(0x3c5)](_0x52e049-0x1,!0x1,_0x56d209,_0x334ef7)),_0x3d0425){const {contentBoxPointGroup:_0x5b18f3}=_0x1a2da8[_0x340ac8(0x344)](_0x2e799a,_0x2e799a);if(_0x5b18f3[_0x340ac8(0x357)]===0x0)continue;this[_0x340ac8(0x37c)](_0x4aab26,_0x5b18f3,_0x447905,_0x516a3f,_0x127eb8),this['_eventUnsubscribe']=this[_0x340ac8(0x28c)]();}if(_0x5c4b77&&_0x2e799a){if(_0x360e3b===_0x117f8e[_0x340ac8(0x228)]){const _0x165e7b=new _0x550b1e(_0x30e15c,_0x28813),{pointGroup:_0x100269}=(_0x4773b2=_0x165e7b[_0x340ac8(0x344)](_0x5c4b77,_0x2e799a))!=null?_0x4773b2:{};if(_0x100269==null||_0x100269[_0x340ac8(0x357)]===0x0)continue;this[_0x340ac8(0x34a)](_0x4aab26,_0x100269,_0x447905,_0x516a3f);}else{if(!_0x5acc5b){const {borderBoxPointGroup:_0x52f6b7}=_0x1a2da8['getRangePointData'](_0x5c4b77,_0x2e799a);if(_0x52f6b7['length']===0x0)continue;this['_drawTextRange'](_0x4aab26,_0x52f6b7,_0x447905,_0x516a3f);}}}}}['_drawAnchor'](_0x2328fa,_0x17b958,_0x577f79,_0x39eecc,_0x329211){const _0x3f9d9b=_0x572570,_0x1eb984=this[_0x3f9d9b(0x368)](_0x17b958),{left:_0xf278dd,top:_0xdbbba0,height:_0x441255}=_0x1eb984,_0x1cab1e=this[_0x3f9d9b(0x233)](),_0xbcdae1=Ni/_0x1cab1e,_0x192a2d=new _0x30c8f5(ve+_0x1bed9f[_0x3f9d9b(0x2c4)](X),{'left':_0xf278dd+_0x577f79-_0xbcdae1,'top':_0xdbbba0+_0x39eecc,'height':_0x441255,'width':Di,'fill':_0x2328fa||_0x57bd38(_0x29c527['black'],0x0),'strokeWidth':_0xbcdae1,'stroke':Mi,'evented':!0x0});this[_0x3f9d9b(0x374)]=_0x192a2d,this[_0x3f9d9b(0x36e)][_0x3f9d9b(0x218)](_0x192a2d,_0x49c6be);const _0x4a7b48=new _0x30c8f5(ve+_0x1bed9f['generateRandomId'](X),{'left':_0xf278dd+_0x577f79-_0xbcdae1,'top':_0xdbbba0+_0x39eecc-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2328fa||_0x57bd38(_0x29c527[_0x3f9d9b(0x2f0)],0x0),'strokeWidth':0x0,'stroke':_0x2328fa||_0x57bd38(_0x29c527['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x4a7b48,this[_0x3f9d9b(0x36e)][_0x3f9d9b(0x218)](_0x4a7b48,_0x49c6be);const _0x32de6a=new ue(ve+_0x1bed9f['generateRandomId'](X),{'left':_0xf278dd+_0x577f79-_0xbcdae1,'top':_0xdbbba0+_0x39eecc-te,'text':_0x329211,'color':_0x2328fa});this[_0x3f9d9b(0x2be)]=_0x32de6a,this[_0x3f9d9b(0x36e)]['addObject'](_0x32de6a,_0x49c6be),this['_hover']=!0x1;}['_handleHover'](){const _0x43c182=_0x572570,_0x444417=this[_0x43c182(0x374)][_0x43c182(0x351)]['subscribeEvent'](()=>{const _0x160557=_0x43c182;this[_0x160557(0x229)]=!0x0;}),_0x5bb5e1=this[_0x43c182(0x374)][_0x43c182(0x2fa)][_0x43c182(0x22b)](()=>{const _0xde37b8=_0x43c182;this['_hideTimer']&&clearTimeout(this[_0xde37b8(0x2cf)]),this[_0xde37b8(0x2cf)]=setTimeout(()=>{const _0x5dfaad=_0xde37b8;this[_0x5dfaad(0x229)]=!0x1;},0x7d0);});return()=>{const _0x4fbdb5=_0x43c182;_0x444417[_0x4fbdb5(0x26d)](),_0x5bb5e1['unsubscribe']();};}[_0x572570(0x3a8)](_0x3b8d4a,_0x240c79,_0x5330f4,_0x2182f8){const _0x2e5ebc=_0x572570,_0x1f2122=new _0x2000af(_0x3b8d4a)[_0x2e5ebc(0x310)](0.2)['toRgbString'](),_0x12dc22=new _0x592a8d(Ti+_0x1bed9f[_0x2e5ebc(0x2c4)](X),{'pointsGroup':_0x240c79,'fill':_0x1f2122||_0x57bd38(_0x29c527['black'],0.2),'left':_0x5330f4,'top':_0x2182f8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2e5ebc(0x2d6)]['push'](_0x12dc22),this[_0x2e5ebc(0x36e)][_0x2e5ebc(0x218)](_0x12dc22,_0x49c6be);}[_0x572570(0x34a)](_0x3fe59a,_0x382948,_0x4cd1c0,_0x17be0c){const _0x152bd2=_0x572570,_0x4c07d0=new _0x2000af(_0x3fe59a)[_0x152bd2(0x310)](0.2)[_0x152bd2(0x22d)](),_0x1b7ddf=new _0x592a8d(Ri+_0x1bed9f[_0x152bd2(0x2c4)](X),{'pointsGroup':_0x382948,'fill':_0x4c07d0||_0x57bd38(_0x29c527[_0x152bd2(0x2f0)],0.2),'left':_0x4cd1c0,'top':_0x17be0c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x152bd2(0x2d6)][_0x152bd2(0x3b8)](_0x1b7ddf),this[_0x152bd2(0x36e)][_0x152bd2(0x218)](_0x1b7ddf,_0x49c6be);}[_0x572570(0x368)](_0x58db92){const _0x2426fc=_0x58db92[0x0],_0x4a1c6d=_0x2426fc[0x0],_0x11523e=_0x2426fc[0x2],{x:_0x41e90c,y:_0x44c90e}=_0x4a1c6d,{x:_0x131269,y:_0x3f0eb0}=_0x11523e;return{'left':_0x41e90c,'top':_0x44c90e,'width':_0x131269-_0x41e90c,'height':_0x3f0eb0-_0x44c90e};}[_0x572570(0x233)](){const _0x2542f4=_0x572570,{scaleX:_0x1d172d,scaleY:_0x2a0b7f}=this[_0x2542f4(0x36e)][_0x2542f4(0x2e9)]();return Math[_0x2542f4(0x268)](_0x1d172d,_0x2a0b7f);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0xdf4352,_0x24afbf,_0x54495,_0x5951ae)=>{for(var _0x33a81e=_0x5951ae>0x1?void 0x0:_0x5951ae?Pi(_0x24afbf,_0x54495):_0x24afbf,_0x493d56=_0xdf4352['length']-0x1,_0x2df0a3;_0x493d56>=0x0;_0x493d56--)(_0x2df0a3=_0xdf4352[_0x493d56])&&(_0x33a81e=_0x2df0a3(_0x33a81e)||_0x33a81e);return _0x33a81e;},Q=(_0xcdfd19,_0x111373)=>(_0x37c95f,_0x2e1733)=>_0x111373(_0x37c95f,_0x2e1733,_0xcdfd19);let Ue=class extends _0x590569{constructor(_0x1b02d6,_0xb920c5,_0x30053f,_0x359f46,_0x1553bf){const _0x8ea8c5=_0x572570;super(),_(this,_0x8ea8c5(0x2c1),[]),_(this,_0x8ea8c5(0x2b2),[]),(this[_0x8ea8c5(0x396)]=_0x1b02d6,this[_0x8ea8c5(0x2d9)]=_0xb920c5,this['_collabCursorController']=_0x30053f,this[_0x8ea8c5(0x289)]=_0x359f46,this['_themeService']=_0x1553bf,this[_0x8ea8c5(0x2c2)]());}[_0x572570(0x2c2)](){const _0x345c55=_0x572570,_0xe6658e=this[_0x345c55(0x396)][_0x345c55(0x1d1)],_0x16246d=this[_0x345c55(0x2d9)];this[_0x345c55(0x31b)](_0x39cd06([this[_0x345c55(0x347)][_0x345c55(0x29e)](_0xe6658e),this[_0x345c55(0x1d4)]['currentTheme$']])['pipe'](_0x549166(([_0x3c9b2f,_0xf7ac37])=>({'skeleton':_0x16246d['getSkeleton'](),'cursors':[..._0x3c9b2f[_0x345c55(0x388)]()][_0x345c55(0x313)](_0x3bddd7=>({..._0x3bddd7,'color':_0xf7ac37[_0x3bddd7[_0x345c55(0x3cd)]]}))})))['subscribe'](_0x1b04de=>{const _0x5131bd=_0x345c55;if(this['_removeCollabCursors'](),_0x1b04de){const {skeleton:_0x32b69f,cursors:_0x4b914c}=_0x1b04de;this[_0x5131bd(0x208)](_0x32b69f,_0x4b914c);}})),this[_0x345c55(0x273)](),this[_0x345c55(0x29a)]();}[_0x572570(0x208)](_0x1818fd,_0x46fb46){const _0x5ca942=_0x572570,{scene:_0x194ca9,mainComponent:_0x4b0cb6}=this[_0x5ca942(0x396)],_0x47c326=_0x46fb46[_0x5ca942(0x27a)](_0x4cb472=>new tt(_0x4cb472,_0x194ca9,_0x1818fd,_0x4b0cb6));this['_cursorShapes']=_0x47c326,this[_0x5ca942(0x2b2)]=_0x46fb46;}[_0x572570(0x1ee)](){const _0x1353e4=_0x572570;this[_0x1353e4(0x2f9)]();const {scene:_0xfe2a24,mainComponent:_0x5865d8}=this[_0x1353e4(0x396)],_0x4b574b=this[_0x1353e4(0x2d9)][_0x1353e4(0x2ab)](),_0x27d7a3=this[_0x1353e4(0x2b2)][_0x1353e4(0x27a)](_0x2a32dc=>new tt(_0x2a32dc,_0xfe2a24,_0x4b574b,_0x5865d8));this[_0x1353e4(0x2c1)]=_0x27d7a3;}[_0x572570(0x2f9)](){const _0x4734ee=_0x572570;this[_0x4734ee(0x2c1)][_0x4734ee(0x237)](_0x24839f=>_0x24839f[_0x4734ee(0x247)]()),this[_0x4734ee(0x2c1)]=[];}[_0x572570(0x29a)](){const _0x22fb8f=_0x572570,_0x51f9c3=[_0x424fa7['id']];this[_0x22fb8f(0x31b)](this['_commandService']['onCommandExecuted'](_0x502594=>{const _0x2f31a6=_0x22fb8f;_0x51f9c3[_0x2f31a6(0x306)](_0x502594['id'])&&_0x502594['params'][_0x2f31a6(0x1d1)]===this[_0x2f31a6(0x396)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x572570(0x273)](){const _0x2a97cf=_0x572570;this['disposeWithMe'](_0x568dc7(this[_0x2a97cf(0x396)][_0x2a97cf(0x2db)][_0x2a97cf(0x39b)])[_0x2a97cf(0x1f4)](_0x554adb(_0x49eb36=>_0x49eb36['type']===_0x45a4eb['resize']),_0x37601c(0x10))['subscribe'](()=>{const _0x5397be=_0x2a97cf;this[_0x5397be(0x1ee)]();}));}};Ue=wi([Q(0x1,_0x374320(_0x4892f9)),Q(0x2,_0x374320(H)),Q(0x3,_0x2db423),Q(0x4,_0x374320(_0x128330))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x30a11e{constructor(_0x2d7528,_0x5b8f2b){const _0x38cad5=_0x572570;super(_0x2d7528,_0x5b8f2b),_(this,_0x38cad5(0x22e)),_(this,_0x38cad5(0x1c8),!0x1),_(this,'_range'),_(this,_0x38cad5(0x1de),''),_(this,_0x38cad5(0x290),_0x38cad5(0x371)),_(this,'_backgroundColor'),(_0x5b8f2b&&this['setShapeProps'](_0x5b8f2b),this[_0x38cad5(0x351)]['subscribeEvent'](()=>this[_0x38cad5(0x349)]({'hovered':!0x0})),this[_0x38cad5(0x2fa)][_0x38cad5(0x22b)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x572570(0x349)](_0x4a13e2){const _0x30ef85=_0x572570;var _0x5ea812,_0x350d69,_0x598024,_0x91a198,_0x75ddb6,_0x320144;this[_0x30ef85(0x22e)]=(_0x5ea812=_0x4a13e2['color'])!=null?_0x5ea812:this['_color'],this[_0x30ef85(0x1c8)]=(_0x350d69=_0x4a13e2[_0x30ef85(0x1f2)])!=null?_0x350d69:this[_0x30ef85(0x1c8)],this['_range']=(_0x598024=_0x4a13e2[_0x30ef85(0x311)])!=null?_0x598024:this[_0x30ef85(0x263)],this[_0x30ef85(0x1de)]=(_0x91a198=_0x4a13e2[_0x30ef85(0x1df)])!=null?_0x91a198:this['_name'],this[_0x30ef85(0x290)]=(_0x75ddb6=_0x4a13e2['labelPosition'])!=null?_0x75ddb6:this[_0x30ef85(0x290)],this[_0x30ef85(0x32b)]=(_0x320144=_0x4a13e2['backgroundColor'])!=null?_0x320144:this[_0x30ef85(0x32b)],this[_0x30ef85(0x1fd)]({'width':_0x4a13e2['width'],'height':_0x4a13e2[_0x30ef85(0x24d)]});}[_0x572570(0x2c0)](_0x5a7735){const _0x4798dc=_0x572570,{row:_0x7bd4b7,column:_0x13391f}=_0x5a7735;if(_0x7bd4b7>=this['_range'][_0x4798dc(0x3c9)]&&_0x7bd4b7<=this[_0x4798dc(0x263)][_0x4798dc(0x390)]&&_0x13391f>=this[_0x4798dc(0x263)][_0x4798dc(0x2ec)]&&_0x13391f<=this[_0x4798dc(0x263)][_0x4798dc(0x244)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x572570(0x38f)](_0x2d4db4){return!0x1;}[_0x572570(0x1f5)](_0x3edeeb){const _0xa82dd4=_0x572570;_0x30c8f5[_0xa82dd4(0x2c9)](_0x3edeeb,{'width':this[_0xa82dd4(0x381)],'height':this[_0xa82dd4(0x24d)],'strokeWidth':Li,'stroke':this[_0xa82dd4(0x22e)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0xa82dd4(0x1c8)]&&(_0x3edeeb[_0xa82dd4(0x307)](),_0x3edeeb[_0xa82dd4(0x25c)](0x1,0x0,0x0,0x1,this[_0xa82dd4(0x381)],this[_0xa82dd4(0x290)]===_0xa82dd4(0x2d2)?0x0:-0x14),ue['drawWith'](_0x3edeeb,{'text':this['_name'],'color':this[_0xa82dd4(0x22e)]}),_0x3edeeb[_0xa82dd4(0x341)]());}}var yi=Object['getOwnPropertyDescriptor'],$i=(_0x677aa7,_0x23c045,_0x3ea80a,_0x36937f)=>{const _0xc94a68=_0x572570;for(var _0x28c647=_0x36937f>0x1?void 0x0:_0x36937f?yi(_0x23c045,_0x3ea80a):_0x23c045,_0x5c926a=_0x677aa7[_0xc94a68(0x357)]-0x1,_0x80fdb3;_0x5c926a>=0x0;_0x5c926a--)(_0x80fdb3=_0x677aa7[_0x5c926a])&&(_0x28c647=_0x80fdb3(_0x28c647)||_0x28c647);return _0x28c647;},pe=(_0xf2f2ab,_0x1043a2)=>(_0x1d2451,_0x5f0599)=>_0x1043a2(_0x1d2451,_0x5f0599,_0xf2f2ab);function _0x2092(_0x286b9f,_0x48a347){const _0x144791=_0x1447();return _0x2092=function(_0x2092b1,_0x551026){_0x2092b1=_0x2092b1-0x1c8;let _0x1d9f54=_0x144791[_0x2092b1];return _0x1d9f54;},_0x2092(_0x286b9f,_0x48a347);}const xi=0x1389;let Le=class extends _0x590569{constructor(_0xf9d43d,_0x149a3c,_0x3ef432,_0x4bc9a0){const _0x994d04=_0x572570;super(),_(this,_0x994d04(0x2b2),new Set()),_(this,'_lastPointer',null),(this[_0x994d04(0x396)]=_0xf9d43d,this[_0x994d04(0x211)]=_0x149a3c,this['_collabCursorController']=_0x3ef432,this[_0x994d04(0x1d4)]=_0x4bc9a0,this[_0x994d04(0x2c2)]());}[_0x572570(0x2c2)](){const _0x421105=_0x572570;this[_0x421105(0x211)]['currentSkeleton$'][_0x421105(0x1f4)](_0x4513f6(this[_0x421105(0x2b9)]),_0x611378(_0x332233=>{const _0x428f77=_0x421105;if(_0x332233){const _0x5ec49b=_0x332233[_0x428f77(0x391)];return _0x39cd06(this[_0x428f77(0x347)]['getCollabCursors$'](this['_context'][_0x428f77(0x1d1)]),this[_0x428f77(0x1d4)]['currentTheme$'])['pipe'](_0x549166(([_0x96aacd,_0x51b451])=>{const _0x35a7c5=_0x428f77,_0x533230=new Map();return _0x96aacd[_0x35a7c5(0x237)]((_0x4e487e,_0x43f058)=>{const _0x812e55=_0x35a7c5;if(_0x4e487e[_0x812e55(0x39e)]===_0x5ec49b){const _0x16b0fe={..._0x4e487e};_0x16b0fe[_0x812e55(0x3cd)]=_0x51b451[_0x4e487e['color']],_0x533230[_0x812e55(0x3c0)](_0x43f058,_0x16b0fe);}}),{'skeleton':_0x332233,'cursors':_0x533230};}));}return _0x492dea({'skeleton':null,'cursors':new Map()});}))[_0x421105(0x2c3)](({skeleton:_0x3e38a2,cursors:_0x57266e})=>{const _0x34048b=_0x421105;this[_0x34048b(0x2f9)](),_0x3e38a2&&this['_updateCollabCursors'](_0x3e38a2,_0x57266e);}),this[_0x421105(0x211)][_0x421105(0x3d3)]['subscribe'](_0x418fa8=>{const _0x209021=_0x421105;if(_0x418fa8==null)return;const {skeleton:_0x707024}=_0x418fa8,{scene:_0x1b8c2a}=this[_0x209021(0x396)];_0x1b8c2a['onPointerMove$'][_0x209021(0x22b)](_0x4d7386(_0x3880ab=>{const _0x5ab187=_0x209021;var _0x565456,_0x5ef791;const {offsetX:_0x3b36a2,offsetY:_0x28b365}=_0x3880ab,{x:_0x51475e,y:_0x43c0d2}=_0x1b8c2a['getRelativeToViewportCoord'](_0x9ae0c1[_0x5ab187(0x399)]([_0x3b36a2,_0x28b365])),{scaleX:_0x27fb6c,scaleY:_0xcac344}=_0x1b8c2a[_0x5ab187(0x2e9)](),_0x4b6b73=_0x1b8c2a['getViewport'](_0x5e75d6['VIEW_MAIN']),_0x4dd28e=_0x1b8c2a[_0x5ab187(0x20a)](_0x9ae0c1[_0x5ab187(0x399)]([_0x51475e,_0x43c0d2]),_0x4b6b73),_0x459753=_0x707024[_0x5ab187(0x326)](_0x3b36a2,_0x28b365,_0x27fb6c,_0xcac344,_0x4dd28e);((_0x565456=this[_0x5ab187(0x35d)])==null?void 0x0:_0x565456[_0x5ab187(0x35b)])===_0x459753['column']&&((_0x5ef791=this['_lastPointer'])==null?void 0x0:_0x5ef791[_0x5ab187(0x30b)])===_0x459753[_0x5ab187(0x30b)]||this[_0x5ab187(0x2b2)][_0x5ab187(0x237)](_0x3fca89=>{const _0x3a7c54=_0x5ab187;_0x3fca89[_0x3a7c54(0x2c0)](_0x459753);});},0x64));});}['_updateCollabCursors'](_0xc9e2aa,_0x425a3e){const _0x50d813=_0x572570;var _0x4b0108;const _0x54dffe=(_0x4b0108=this[_0x50d813(0x211)][_0x50d813(0x3cf)]())==null?void 0x0:_0x4b0108[_0x50d813(0x23b)];if(!_0x54dffe)return;const _0x515cf4=this[_0x50d813(0x209)]();if(!_0x515cf4)return;this[_0x50d813(0x2b2)]['forEach'](_0x33aa92=>{_0x33aa92['makeDirty']();});const {scene:_0x2b1804}=_0x515cf4,_0x59f941=Bi(Array[_0x50d813(0x3a6)](_0x425a3e[_0x50d813(0x388)]()))[_0x50d813(0x27a)](_0x52ff32=>{const _0x366726=_0x50d813,{color:_0x461758,range:_0x104270,name:_0x29d054,selection:_0x526b66,sheetID:_0x257a80}=_0x52ff32,{startColumn:_0x34c09e,startRow:_0x4e5ea4,endColumn:_0x40f476,endRow:_0x33f826}=_0x104270,_0x4c2457=_0x30b889(_0x4e5ea4,_0x34c09e,_0x2b1804,_0x54dffe),_0x4ac9c6=_0x30b889(_0x33f826,_0x40f476,_0x2b1804,_0x54dffe),{columnHeaderHeightAndMarginTop:_0x193157}=_0x54dffe,{startX:_0x1bf96c,startY:_0xdf2cae}=_0x4c2457,{endX:_0x50e8b5,endY:_0xfe89}=_0x4ac9c6,_0x1d3b04=_0x50e8b5-_0x1bf96c,_0xca582c=_0xfe89-_0xdf2cae,_0x3bb84c={'labelPosition':_0xdf2cae-_0x193157>=te?_0x366726(0x371):_0x366726(0x2d2),'sheetID':_0x257a80,'range':_0x104270,'color':_0x461758,'name':_0x29d054,'selection':_0x526b66,'left':_0x1bf96c,'top':_0xdf2cae,'width':_0x1d3b04,'height':_0xca582c,'evented':!0x1,'zIndex':xi};return new Ai(_0x29d054,_0x3bb84c);});_0x2b1804['addObjects'](_0x59f941,Ui),this[_0x50d813(0x2b2)]=new Set(_0x59f941);}[_0x572570(0x2f9)](){const _0x215cfa=_0x572570;var _0x3661d6;(_0x3661d6=this[_0x215cfa(0x2b2)])==null||_0x3661d6[_0x215cfa(0x237)](_0x1d5bc9=>_0x1d5bc9[_0x215cfa(0x247)]());}[_0x572570(0x209)](){const _0x58d59c=_0x572570;return _0x18ee33(this[_0x58d59c(0x396)][_0x58d59c(0x2c8)],this[_0x58d59c(0x396)]);}};Le=$i([pe(0x1,_0x374320(_0x1b698d)),pe(0x2,_0x374320(H)),pe(0x3,_0x374320(_0x128330))],Le);function Bi(_0xa94e5f){const _0x10f20a=_0x572570,_0x2316ca=new Map();return _0xa94e5f['forEach'](_0x32f898=>{const _0x28bdcd=_0x2092;if(_0x2316ca['has'](_0x32f898['selection'])){const _0x491e8e=_0x2316ca[_0x28bdcd(0x278)](_0x32f898[_0x28bdcd(0x3a7)]);_0x491e8e[_0x28bdcd(0x1df)]+=',\x20'+_0x32f898[_0x28bdcd(0x1df)];}else _0x2316ca['set'](_0x32f898['selection'],_0x32f898);}),Array[_0x10f20a(0x3a6)](_0x2316ca[_0x10f20a(0x388)]());}var I=function(){const _0x224fc0=_0x572570;return I=Object['assign']||function(_0x20445e){const _0x24d9fc=_0x2092;for(var _0x5ef3de,_0x420306=0x1,_0x10f10a=arguments[_0x24d9fc(0x357)];_0x420306<_0x10f10a;_0x420306++){_0x5ef3de=arguments[_0x420306];for(var _0x2f423d in _0x5ef3de)Object[_0x24d9fc(0x292)][_0x24d9fc(0x210)][_0x24d9fc(0x276)](_0x5ef3de,_0x2f423d)&&(_0x20445e[_0x2f423d]=_0x5ef3de[_0x2f423d]);}return _0x20445e;},I[_0x224fc0(0x3c3)](this,arguments);},ki=function(_0x47364a,_0x58b081){const _0x37d86b=_0x572570;var _0x28d473={};for(var _0x34da7c in _0x47364a)Object[_0x37d86b(0x292)]['hasOwnProperty'][_0x37d86b(0x276)](_0x47364a,_0x34da7c)&&_0x58b081[_0x37d86b(0x1d2)](_0x34da7c)<0x0&&(_0x28d473[_0x34da7c]=_0x47364a[_0x34da7c]);if(_0x47364a!=null&&typeof Object['getOwnPropertySymbols']==_0x37d86b(0x299)){for(var _0x5ae25f=0x0,_0x34da7c=Object['getOwnPropertySymbols'](_0x47364a);_0x5ae25f<_0x34da7c[_0x37d86b(0x357)];_0x5ae25f++)_0x58b081[_0x37d86b(0x1d2)](_0x34da7c[_0x5ae25f])<0x0&&Object[_0x37d86b(0x292)][_0x37d86b(0x2b1)]['call'](_0x47364a,_0x34da7c[_0x5ae25f])&&(_0x28d473[_0x34da7c[_0x5ae25f]]=_0x47364a[_0x34da7c[_0x5ae25f]]);}return _0x28d473;},We=_0x36340d(function(_0x58f187,_0x2c99ec){const _0x339f99=_0x572570;var _0xef79d=_0x58f187['icon'],_0x5a59b3=_0x58f187['id'],_0x480e35=_0x58f187['className'],_0x3a2f23=_0x58f187['extend'],_0x442c1d=ki(_0x58f187,[_0x339f99(0x362),'id',_0x339f99(0x202),'extend']),_0x798072=_0x339f99(0x33e)[_0x339f99(0x20e)](_0x5a59b3,'\x20')[_0x339f99(0x20e)](_0x480e35||'')[_0x339f99(0x271)](),_0x131a32=_0x1b6cbf('_'[_0x339f99(0x20e)](Wi()));return Nt(_0xef79d,''[_0x339f99(0x20e)](_0x5a59b3),{'defIds':_0xef79d[_0x339f99(0x318)],'idSuffix':_0x131a32[_0x339f99(0x3b3)]},I({'ref':_0x2c99ec,'className':_0x798072},_0x442c1d),_0x3a2f23);});function Nt(_0x2274bc,_0xac6857,_0x4cf01d,_0x536b8f,_0x359572){const _0x5ce0c9=_0x572570;return _0x312948(_0x2274bc[_0x5ce0c9(0x3d1)],I(I({'key':_0xac6857},Hi(_0x2274bc,_0x4cf01d,_0x359572)),_0x536b8f),(ji(_0x2274bc,_0x4cf01d)[_0x5ce0c9(0x3b7)]||[])['map'](function(_0x5dcc45,_0x425e28){const _0x1a4e5d=_0x5ce0c9;return Nt(_0x5dcc45,''[_0x1a4e5d(0x20e)](_0xac6857,'-')[_0x1a4e5d(0x20e)](_0x2274bc[_0x1a4e5d(0x3d1)],'-')[_0x1a4e5d(0x20e)](_0x425e28),_0x4cf01d,void 0x0,_0x359572);}));}function Hi(_0x24af6e,_0x533790,_0x2c8a89){const _0x1c46ee=_0x572570;var _0x15fdf9=I({},_0x24af6e[_0x1c46ee(0x214)]);_0x2c8a89!=null&&_0x2c8a89[_0x1c46ee(0x267)]&&_0x15fdf9[_0x1c46ee(0x2df)]===_0x1c46ee(0x267)&&(_0x15fdf9[_0x1c46ee(0x2df)]=_0x2c8a89['colorChannel1']),_0x24af6e[_0x1c46ee(0x3d1)]===_0x1c46ee(0x221)&&_0x15fdf9['id']&&(_0x15fdf9['id']=_0x15fdf9['id']+_0x533790[_0x1c46ee(0x26b)]),Object[_0x1c46ee(0x2aa)](_0x15fdf9)[_0x1c46ee(0x237)](function(_0x28c341){const _0x332716=_0x1c46ee;var _0x48dac5=_0x28c341[0x0],_0x501a21=_0x28c341[0x1];_0x48dac5===_0x332716(0x221)&&typeof _0x501a21==_0x332716(0x22f)&&(_0x15fdf9[_0x48dac5]=_0x501a21[_0x332716(0x2c7)](/url\(#(.*)\)/,_0x332716(0x23c)['concat'](_0x533790[_0x332716(0x26b)],')')));});var _0x4b65f3=_0x533790['defIds'];return!_0x4b65f3||_0x4b65f3[_0x1c46ee(0x357)]===0x0||(_0x24af6e[_0x1c46ee(0x3d1)]===_0x1c46ee(0x3b2)&&_0x15fdf9[_0x1c46ee(0x332)]&&(_0x15fdf9['xlink:href']=_0x15fdf9['xlink:href']+_0x533790[_0x1c46ee(0x26b)]),Object[_0x1c46ee(0x2aa)](_0x15fdf9)['forEach'](function(_0x2e3b75){const _0x28230e=_0x1c46ee;var _0x3a41f1=_0x2e3b75[0x0],_0x143d60=_0x2e3b75[0x1];typeof _0x143d60==_0x28230e(0x22f)&&(_0x15fdf9[_0x3a41f1]=_0x143d60[_0x28230e(0x2c7)](/url\(#(.*)\)/,_0x28230e(0x23c)[_0x28230e(0x20e)](_0x533790['idSuffix'],')')));})),_0x15fdf9;}function ji(_0x299ef3,_0x1c7d89){const _0x54315e=_0x572570;var _0x1e8c68,_0x4bc279=_0x1c7d89['defIds'];return!_0x4bc279||_0x4bc279[_0x54315e(0x357)]===0x0?_0x299ef3:_0x299ef3[_0x54315e(0x3d1)]===_0x54315e(0x2b4)&&(!((_0x1e8c68=_0x299ef3['children'])===null||_0x1e8c68===void 0x0)&&_0x1e8c68[_0x54315e(0x357)])?I(I({},_0x299ef3),{'children':_0x299ef3['children']['map'](function(_0x59f6f8){const _0x53a16b=_0x54315e;return typeof _0x59f6f8[_0x53a16b(0x214)]['id']==_0x53a16b(0x22f)&&_0x4bc279&&_0x4bc279['indexOf'](_0x59f6f8['attrs']['id'])>-0x1?I(I({},_0x59f6f8),{'attrs':I(I({},_0x59f6f8[_0x53a16b(0x214)]),{'id':_0x59f6f8[_0x53a16b(0x214)]['id']+_0x1c7d89[_0x53a16b(0x26b)]})}):_0x59f6f8;})}):_0x299ef3;}function Wi(){const _0x2e7b46=_0x572570;return Math['random']()[_0x2e7b46(0x1da)](0x24)[_0x2e7b46(0x373)](0x2,0x8);}We[_0x572570(0x337)]=_0x572570(0x39d);var Fi={'tag':_0x572570(0x23f),'attrs':{'fill':'none','viewBox':_0x572570(0x367),'width':_0x572570(0x38d),'height':_0x572570(0x38d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x572570(0x375),'attrs':{'stroke':_0x572570(0x321),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x572570(0x2b4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x572570(0x24a)},'children':[{'tag':_0x572570(0x375),'attrs':{'fill':_0x572570(0x2c5),'d':_0x572570(0x3c2)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0x36340d(function(_0x27e760,_0x5afd85){return _0x312948(We,Object['assign']({},_0x27e760,{'id':'off-line-single','ref':_0x5afd85,'icon':Fi}));});Mt[_0x572570(0x337)]=_0x572570(0x279);var Vi={'tag':_0x572570(0x23f),'attrs':{'fill':_0x572570(0x308),'viewBox':_0x572570(0x37b),'width':'1em','height':_0x572570(0x38d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x572570(0x375),'attrs':{'stroke':_0x572570(0x321),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x572570(0x314),'strokeLinejoin':_0x572570(0x314),'strokeWidth':1.2}}]},{'tag':_0x572570(0x2b4),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x572570(0x309)},'children':[{'tag':_0x572570(0x375),'attrs':{'fill':_0x572570(0x2c5),'d':_0x572570(0x3c2),'transform':_0x572570(0x222)}}]}]}],'defIds':[_0x572570(0x309)]},Pt=_0x36340d(function(_0x2cfcde,_0x5406bc){const _0x2f638d=_0x572570;return _0x312948(We,Object[_0x2f638d(0x3c7)]({},_0x2cfcde,{'id':_0x2f638d(0x29f),'ref':_0x5406bc,'icon':Vi}));});Pt['displayName']=_0x572570(0x334);const Yi=_0x572570(0x386),Xi=_0x572570(0x395),Gi=_0x572570(0x30c),Ki=_0x572570(0x2b8),zi=_0x572570(0x296),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x2d861d){const _0xd4f484=_0x572570;switch(_0x2d861d){case _0x3df542['OFFLINE']:return _0xd4f484(0x2d4);case _0x3df542[_0xd4f484(0x328)]:return _0xd4f484(0x1fa);case _0x3df542[_0xd4f484(0x259)]:return _0xd4f484(0x28e);case _0x3df542['NOT_COLLAB']:return _0xd4f484(0x37d);case _0x3df542[_0xd4f484(0x3a5)]:case _0x3df542[_0xd4f484(0x286)]:return _0xd4f484(0x2a6);case _0x3df542[_0xd4f484(0x393)]:case _0x3df542['PENDING']:return _0xd4f484(0x39f);}}function Zi(_0x25f0fc){const _0x4ab7fd=_0x572570,{status$:_0x51f392}=_0x25f0fc,_0x2b3991=_0x1dcbc9(_0x51f392,_0x3df542[_0x4ab7fd(0x39a)]),_0x4402b6=_0x2fafc7(_0x3cd2c2),_0x491045=_0x2fafc7(_0x39ae42),_0x5e480c=_0x2b3991!==_0x3df542[_0x4ab7fd(0x241)],_0x1d872b=_0x4402b6['t'](Ji(_0x2b3991)),_0x103c7f=_0x5d2435(G['onlineStatus'],{[G[_0x4ab7fd(0x2b6)]]:_0x5e480c,[G[_0x4ab7fd(0x2b3)]]:!_0x5e480c}),_0xd3fa8=_0x5e480c?_0x646673(Pt,{}):_0x646673(Mt,{}),_0x382d76=_0x459104(()=>{_0x5e480c||_0x491045['reconnect']();},[_0x5e480c,_0x491045]);function _0x152fad(){const _0x2dfce3=_0x4ab7fd;return _0x45f432(_0x2dfce3(0x1fc),{'className':_0x5d2435(_0x103c7f,_0x2dfce3(0x336)),'onClick':_0x382d76,'children':[_0x646673(_0x2dfce3(0x1fc),{'className':G['onlineStatusIcon'],'children':_0xd3fa8}),_0x646673(_0x2dfce3(0x1fc),{'className':G[_0x2dfce3(0x28b)],'children':_0x1d872b})]});}return _0x5e480c?_0x152fad():_0x646673(_0x4fc6e2,{'title':_0x4402b6['t']('collab-client.tooltip.reconnect'),'children':_0x152fad()});}var Qi=Object[_0x572570(0x225)],qi=(_0x1332dd,_0x13518e,_0x514153,_0x3667b9)=>{const _0x5e21bd=_0x572570;for(var _0x551f1c=_0x3667b9>0x1?void 0x0:_0x3667b9?Qi(_0x13518e,_0x514153):_0x13518e,_0x434100=_0x1332dd[_0x5e21bd(0x357)]-0x1,_0x1aa99c;_0x434100>=0x0;_0x434100--)(_0x1aa99c=_0x1332dd[_0x434100])&&(_0x551f1c=_0x1aa99c(_0x551f1c)||_0x551f1c);return _0x551f1c;},q=(_0xb9f6e8,_0x5ed4e2)=>(_0x341ee1,_0x2a4bbe)=>_0x5ed4e2(_0x341ee1,_0x2a4bbe,_0xb9f6e8);let se=class extends _0x289462{constructor(_0x201442,_0x56db1c,_0x1e4888,_0x36e9b8){const _0x29b5d2=_0x572570;super(),_(this,_0x29b5d2(0x1dc),new _0x21d2f0(_0x3df542[_0x29b5d2(0x39a)])),(this['_univerInstanceService']=_0x201442,this[_0x29b5d2(0x2d5)]=_0x56db1c,this[_0x29b5d2(0x330)]=_0x1e4888,this[_0x29b5d2(0x34d)]=_0x36e9b8,this[_0x29b5d2(0x322)](),this[_0x29b5d2(0x242)]());}[_0x572570(0x242)](){const _0x539b3d=_0x572570;this[_0x539b3d(0x31b)](this[_0x539b3d(0x2f2)][_0x539b3d(0x361)]['pipe'](_0x472079(()=>{const _0x522020=_0x539b3d,_0x267bb0=this[_0x522020(0x2f2)]['getFocusedUnit']();return _0x267bb0?this[_0x522020(0x330)][_0x522020(0x269)](_0x267bb0[_0x522020(0x34f)]()):_0x492dea(null);}),_0x472079(_0x5e2e9c=>_0x5e2e9c?_0x5e2e9c[_0x539b3d(0x3d0)]:_0x492dea(_0x3df542[_0x539b3d(0x39a)])))[_0x539b3d(0x2c3)](_0x41bc49=>{this['_status$']['next'](_0x41bc49);}));}['_initStatusComponent'](){const _0xc71187=_0x572570;this[_0xc71187(0x31b)](this[_0xc71187(0x34d)]['registerComponent'](_0x10b324[_0xc71187(0x2d1)],()=>_0x52486f(en({'status$':this[_0xc71187(0x1dc)][_0xc71187(0x283)]()}),this[_0xc71187(0x2d5)])));}};se=qi([q(0x0,_0x5b8530),q(0x1,_0x374320(_0x3383f8)),q(0x2,_0x374320(_0x3ecef9)),q(0x3,_0x3871d0)],se);function en(_0x5bde22){const {status$:_0x26a48e}=_0x5bde22;return function(){return _0x646673(Zi,{'status$':_0x26a48e});};}var tn=Object[_0x572570(0x225)],sn=(_0x4371ed,_0x31ea26,_0x5a10f1,_0x194604)=>{for(var _0xe47e7d=_0x194604>0x1?void 0x0:_0x194604?tn(_0x31ea26,_0x5a10f1):_0x31ea26,_0x4f223e=_0x4371ed['length']-0x1,_0x27c5d6;_0x4f223e>=0x0;_0x4f223e--)(_0x27c5d6=_0x4371ed[_0x4f223e])&&(_0xe47e7d=_0x27c5d6(_0xe47e7d)||_0xe47e7d);return _0xe47e7d;},B=(_0xacbc4b,_0x20b19c)=>(_0x5dfef8,_0x4c48d3)=>_0x20b19c(_0x5dfef8,_0x4c48d3,_0xacbc4b);let ie=class extends _0x289462{constructor(_0x505f45,_0x50ccb1,_0x4e021c,_0x2e168b,_0x13d672,_0x213de2){const _0x4b5286=_0x572570;super(),this[_0x4b5286(0x31d)]=_0x505f45,this[_0x4b5286(0x258)]=_0x50ccb1,this[_0x4b5286(0x21c)]=_0x4e021c,this[_0x4b5286(0x365)]=_0x2e168b,this[_0x4b5286(0x3c8)]=_0x13d672,this[_0x4b5286(0x333)]=_0x213de2,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x572570(0x343)](){const _0x3be3b0=_0x572570;this[_0x3be3b0(0x31b)](this[_0x3be3b0(0x31d)][_0x3be3b0(0x270)](()=>{const _0x186f9e=_0x3be3b0;if(this[_0x186f9e(0x258)]['saveTaskMap']['size'])return this['_localeService']['t'](_0x186f9e(0x1dd));}));}[_0x572570(0x1f0)](){const _0x1945fc=_0x572570;this['disposeWithMe'](this[_0x1945fc(0x21c)]['event$'][_0x1945fc(0x2c3)](_0x50233b=>{const _0x1f00eb=_0x1945fc;_0x50233b['id']===_0x100d2a[_0x1f00eb(0x2cb)]&&this['_messageService'][_0x1f00eb(0x2f5)]({'type':_0x3ba295[_0x1f00eb(0x2a3)],'content':this[_0x1f00eb(0x333)]['t'](_0x1f00eb(0x2f8))}),_0x50233b['id']===_0x100d2a['CLOSE_ROOM']&&this[_0x1f00eb(0x365)][_0x1f00eb(0x2f5)]({'type':_0x3ba295['Warning'],'content':this[_0x1f00eb(0x333)]['t'](_0x1f00eb(0x31f))}),_0x50233b['id']===_0x100d2a[_0x1f00eb(0x20b)]&&this[_0x1f00eb(0x3c8)][_0x1f00eb(0x2f5)]({'title':this[_0x1f00eb(0x333)]['t'](_0x1f00eb(0x27d)),'content':this[_0x1f00eb(0x333)]['t'](_0x1f00eb(0x230)),'type':_0x1f00eb(0x28d),'duration':0x0}),_0x50233b['id']===_0x100d2a['CONFLICT']&&this['_messageService'][_0x1f00eb(0x2f5)]({'type':_0x3ba295[_0x1f00eb(0x33c)],'content':this[_0x1f00eb(0x333)]['t'](_0x1f00eb(0x31f))+'('+_0x50233b['data']+')'}),_0x50233b['id']===_0x100d2a['JOIN_ROOM_FAILED']&&this[_0x1f00eb(0x365)][_0x1f00eb(0x2f5)]({'type':_0x3ba295[_0x1f00eb(0x2a3)],'content':this['_localeService']['t'](_0x50233b['data']||'')}),_0x50233b['id']===_0x100d2a[_0x1f00eb(0x1fb)]&&this[_0x1f00eb(0x365)][_0x1f00eb(0x2f5)]({'type':_0x3ba295['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x50233b['id']===_0x100d2a[_0x1f00eb(0x1d0)]&&this[_0x1f00eb(0x365)][_0x1f00eb(0x2f5)]({'type':_0x3ba295[_0x1f00eb(0x33c)],'content':this['_localeService']['t'](_0x1f00eb(0x3d2))}),_0x50233b['id']===_0x100d2a[_0x1f00eb(0x32c)]&&this[_0x1f00eb(0x365)]['show']({'type':_0x3ba295[_0x1f00eb(0x33c)],'content':this[_0x1f00eb(0x333)]['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x14d476),B(0x1,_0x1bc110),B(0x2,_0x374320(_0x5893fe)),B(0x3,_0x372cc5),B(0x4,_0x13ec46),B(0x5,_0x374320(_0x3cd2c2))],ie);const nn=_0x572570(0x272),st={},wt=_0x3b2bb1('uni.network.url-service');var rn=Object[_0x572570(0x225)],on=(_0x59a829,_0x360a06,_0x511963,_0x34c421)=>{for(var _0x4da73b=_0x34c421>0x1?void 0x0:_0x34c421?rn(_0x360a06,_0x511963):_0x360a06,_0x4bb51b=_0x59a829['length']-0x1,_0x36af31;_0x4bb51b>=0x0;_0x4bb51b--)(_0x36af31=_0x59a829[_0x4bb51b])&&(_0x4da73b=_0x36af31(_0x4da73b)||_0x4da73b);return _0x4da73b;},K=(_0x1d95b1,_0x202cf4)=>(_0x447f71,_0x5e5cd2)=>_0x202cf4(_0x447f71,_0x5e5cd2,_0x1d95b1);let ne=class extends _0x590569{constructor(_0x242b7b,_0x38243f,_0x4c34b3,_0x4c00c7,_0x420d72){const _0x222f14=_0x572570;super(),this[_0x222f14(0x297)]=_0x242b7b,this[_0x222f14(0x1e2)]=_0x38243f,this[_0x222f14(0x289)]=_0x4c34b3,this[_0x222f14(0x21e)]=_0x4c00c7,_0x420d72?_0x420d72==null||_0x420d72['whenReady']()['then'](()=>this['_init']()):(this[_0x222f14(0x1e2)][_0x222f14(0x3c6)](_0x222f14(0x256),_0x222f14(0x257)),this[_0x222f14(0x2c2)]());}async[_0x572570(0x2c2)](){const _0x1bb134=_0x572570,_0x3afaca=this[_0x1bb134(0x297)][_0x1bb134(0x2ea)](_0x1bb134(0x2c8)),_0x1656bf=this['_urlService'][_0x1bb134(0x2ea)](_0x1bb134(0x288)),_0xa77190=this[_0x1bb134(0x297)]['getParam'](_0x1bb134(0x38a));if(!_0x3afaca||!_0x1656bf){this['_logService']['debug'](_0x1bb134(0x256),_0x1bb134(0x1f3));return;}const _0x421ef8=await this[_0x1bb134(0x21e)][_0x1bb134(0x232)](_0x3afaca,Number(_0x1656bf),_0xa77190);_0x421ef8&&_0x421ef8 instanceof _0x4b90de&&this[_0x1bb134(0x327)](_0x421ef8);}async[_0x572570(0x327)](_0x20d77e){const _0x56d165=_0x572570;await this[_0x56d165(0x38c)](_0x20d77e),_0x20d77e[_0x56d165(0x331)][_0x56d165(0x1f4)](_0x20f6fa(this[_0x56d165(0x2b9)]))[_0x56d165(0x2c3)](_0x43b2da=>{const _0x3f8cb5=_0x56d165;_0x43b2da&&this[_0x3f8cb5(0x20f)](_0x43b2da);}),this[_0x56d165(0x297)][_0x56d165(0x2ba)][_0x56d165(0x1f4)](_0x20f6fa(this[_0x56d165(0x2b9)]))[_0x56d165(0x2c3)](()=>this[_0x56d165(0x38c)](_0x20d77e));}[_0x572570(0x20f)](_0x6a52b5,_0x3b946=!0x1){const _0x1ec823=_0x572570,_0x350fac=this[_0x1ec823(0x297)][_0x1ec823(0x2ea)]('subunit');_0x6a52b5[_0x1ec823(0x2af)]()!==_0x350fac&&this['_urlService'][_0x1ec823(0x3d4)]('subunit',_0x6a52b5['getSheetId'](),_0x3b946);}async[_0x572570(0x38c)](_0x4a7d68){const _0xcf3b66=_0x572570;var _0xcda79f;const _0x470931=this['_urlService'][_0xcf3b66(0x2ea)](_0xcf3b66(0x38a));if(!_0x470931||!_0x4a7d68['getSheetBySheetId'](_0x470931)){const _0x34ea78=_0x4a7d68[_0xcf3b66(0x1ea)]()[0x0],_0x26bdfa=_0x4a7d68[_0xcf3b66(0x383)](_0x34ea78);if(!_0x26bdfa)return;this[_0xcf3b66(0x20f)](_0x26bdfa,!0x0),await this[_0xcf3b66(0x289)][_0xcf3b66(0x3ae)](_0xd485e3['id'],{'unitId':_0x4a7d68[_0xcf3b66(0x34f)](),'subUnitId':_0x34ea78});return;}((_0xcda79f=_0x4a7d68[_0xcf3b66(0x2c6)]())==null?void 0x0:_0xcda79f['getSheetId']())!==_0x470931&&await this[_0xcf3b66(0x289)][_0xcf3b66(0x3ae)](_0xd485e3['id'],{'unitId':_0x4a7d68[_0xcf3b66(0x34f)](),'subUnitId':_0x470931});}};ne=on([K(0x0,wt),K(0x1,_0x1c8dc9),K(0x2,_0x2db423),K(0x3,_0x374320(_0x5d6277)),K(0x4,_0x23a632(_0xb91192))],ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x357df9,_0x189fdf,_0x38f9d2,_0x3a2f76)=>{const _0x247494=_0x572570;for(var _0x30c9c1=_0x3a2f76>0x1?void 0x0:_0x3a2f76?an(_0x189fdf,_0x38f9d2):_0x189fdf,_0x29f553=_0x357df9[_0x247494(0x357)]-0x1,_0xfff920;_0x29f553>=0x0;_0x29f553--)(_0xfff920=_0x357df9[_0x29f553])&&(_0x30c9c1=_0xfff920(_0x30c9c1)||_0x30c9c1);return _0x30c9c1;},Ce=(_0x168da1,_0x41a839)=>(_0x1f8c2f,_0x46d871)=>_0x41a839(_0x1f8c2f,_0x46d871,_0x168da1);let re=class{constructor(_0x2cc38f,_0x48516f,_0xa72047){const _0x56d320=_0x572570;this[_0x56d320(0x2d5)]=_0x2cc38f,this['_transformService']=_0x48516f,this[_0x56d320(0x231)]=_0xa72047;}[_0x572570(0x31c)](_0x493f03){const _0x38ffdf=_0x572570;this[_0x38ffdf(0x235)](_0x493f03),this[_0x38ffdf(0x27b)](_0x493f03);}[_0x572570(0x397)](_0x31361a){const _0x596aba=_0x572570,{unitID:_0x1c9476}=_0x31361a,_0x48f2bf=this[_0x596aba(0x231)][_0x596aba(0x254)](_0x1c9476)[_0x596aba(0x277)](_0x5afdc7),{redoCache:_0x46fec6}=_0x48f2bf[_0x596aba(0x204)]();if(_0x46fec6[_0x596aba(0x357)]===0x0)return _0x31361a;let _0xe2cad6=_0x1bed9f['deepClone'](_0x31361a[_0x596aba(0x22c)][0x0]);for(let _0x4d3ac7=0x0;_0x4d3ac7<_0x46fec6['length'];_0x4d3ac7++){const _0x4acd67={'id':_0x596aba(0x3bd),'params':{..._0x46fec6[_0x4d3ac7]}},_0x378ef7=this[_0x596aba(0x1e9)][_0x596aba(0x2bf)](_0xe2cad6,_0x4acd67,!0x1);if(_0x2bf142(_0x378ef7))throw _0x378ef7[_0x596aba(0x28d)];_0xe2cad6=_0x378ef7[_0x596aba(0x398)];}return{..._0x1bed9f[_0x596aba(0x2ad)](_0x31361a),'mutations':[_0xe2cad6]};}[_0x572570(0x235)](_0x10fce1){const _0x4635f3=_0x572570,{unitID:_0xeb282f}=_0x10fce1,_0x1f25ec=this[_0x4635f3(0x231)]['getRenderById'](_0xeb282f)[_0x4635f3(0x277)](_0x5afdc7),{undoCache:_0x1a45d5,redoCache:_0x594ce0}=_0x1f25ec['getUndoRedoMutationParamsCache']();if(_0x1a45d5['length']===0x0||_0x594ce0['length']===0x0)return;const _0x2751a9=[],_0xcd7705=[];let _0x583aae=_0x1bed9f[_0x4635f3(0x2ad)](_0x10fce1[_0x4635f3(0x22c)][0x0]),_0x10ef2a=_0x1bed9f['deepClone'](_0x10fce1[_0x4635f3(0x22c)][0x0]);for(let _0x132dab=_0x1a45d5[_0x4635f3(0x357)]-0x1;_0x132dab>=0x0;_0x132dab--){const _0x3f14a6={'id':_0x4635f3(0x3bd),'params':{..._0x1a45d5[_0x132dab]}},_0x43c8ac={'id':_0x4635f3(0x3bd),'params':{..._0x594ce0[_0x132dab]}},_0xc83a24=this[_0x4635f3(0x1e9)][_0x4635f3(0x2bf)](_0x583aae,_0x3f14a6,!0x1),_0x5c8b27=this[_0x4635f3(0x1e9)][_0x4635f3(0x2bf)](_0x10ef2a,_0x43c8ac,!0x1);if(_0x2bf142(_0xc83a24))throw _0xc83a24[_0x4635f3(0x28d)];if(_0x2bf142(_0x5c8b27))throw _0x5c8b27[_0x4635f3(0x28d)];_0x2751a9[_0x4635f3(0x32d)](_0xc83a24[_0x4635f3(0x2b7)][_0x4635f3(0x356)]),_0xcd7705[_0x4635f3(0x32d)](_0x5c8b27[_0x4635f3(0x2b7)][_0x4635f3(0x356)]),_0x583aae=_0xc83a24[_0x4635f3(0x398)],_0x10ef2a=_0x5c8b27[_0x4635f3(0x398)];}_0x1f25ec['setUndoRedoMutationParamsCache']({'undoCache':_0x2751a9,'redoCache':_0xcd7705});}[_0x572570(0x27b)](_0x1fee81){const _0x6e139a=_0x572570,{unitID:_0x5bdf39}=_0x1fee81,_0x33d9fa=this[_0x6e139a(0x231)][_0x6e139a(0x254)](_0x5bdf39)[_0x6e139a(0x277)](_0x5afdc7),_0x20b6b4=_0x33d9fa[_0x6e139a(0x1e8)]();if(_0x20b6b4==null)return;const _0x2b1a95=[{'id':_0x6e139a(0x3bd),'params':{'unitId':_0x1fee81[_0x6e139a(0x392)],'actions':null,'textRanges':[_0x20b6b4]}}],_0x583c12=this[_0x6e139a(0x1e9)][_0x6e139a(0x378)](_0x1fee81,_0x2b1a95);if(!_0x21f7e9(_0x583c12))throw _0x583c12[_0x6e139a(0x28d)];const _0x48c25d=_0x583c12[_0x6e139a(0x2b7)][0x0]['params'][_0x6e139a(0x250)];Array[_0x6e139a(0x1e4)](_0x48c25d)&&_0x48c25d[_0x6e139a(0x357)]&&_0x33d9fa['setActiveRange'](_0x48c25d[0x0]);}};re=cn([Ce(0x0,_0x374320(_0x3383f8)),Ce(0x1,_0x4c7a5f),Ce(0x2,_0x13af8c)],re);var ln=Object[_0x572570(0x225)],_n=(_0x2c4e98,_0x4d265c,_0x44845f,_0x3fee2f)=>{for(var _0x168bbb=_0x3fee2f>0x1?void 0x0:_0x3fee2f?ln(_0x4d265c,_0x44845f):_0x4d265c,_0x4832b3=_0x2c4e98['length']-0x1,_0x6377e9;_0x4832b3>=0x0;_0x4832b3--)(_0x6377e9=_0x2c4e98[_0x4832b3])&&(_0x168bbb=_0x6377e9(_0x168bbb)||_0x168bbb);return _0x168bbb;},Ee=(_0x2eaa6e,_0x8d028)=>(_0x34efe9,_0x372f40)=>_0x8d028(_0x34efe9,_0x372f40,_0x2eaa6e);let oe=class{constructor(_0x2ee3f4,_0x271d68,_0x116746){const _0x56535e=_0x572570;this[_0x56535e(0x2d5)]=_0x2ee3f4,this[_0x56535e(0x1e9)]=_0x271d68,this['_docStateChangeManagerService']=_0x116746;}['transformStateCache'](_0x2f9223){const _0x1f92df=_0x572570;this[_0x1f92df(0x301)](_0x2f9223);}[_0x572570(0x397)](_0x4ac089){const _0x722053=_0x572570,{unitID:_0x50c6bf}=_0x4ac089,{collaboration:_0x38d453}=this[_0x722053(0x2a0)][_0x722053(0x2f6)](_0x50c6bf);if(_0x38d453[_0x722053(0x357)]===0x0)return _0x4ac089;let _0x4ec84f=_0x1bed9f['deepClone'](_0x4ac089[_0x722053(0x22c)][0x0]);for(let _0x4e568f=0x0;_0x4e568f<_0x38d453[_0x722053(0x357)];_0x4e568f++){const _0xf3ad82={'id':_0x722053(0x3bd),'params':{'unitId':_0x38d453[_0x4e568f][_0x722053(0x1d1)],..._0x38d453[_0x4e568f][_0x722053(0x1d5)]}},_0x59ac8b=this[_0x722053(0x1e9)][_0x722053(0x2bf)](_0x4ec84f,_0xf3ad82,!0x1);if(_0x2bf142(_0x59ac8b))throw _0x59ac8b[_0x722053(0x28d)];_0x4ec84f=_0x59ac8b[_0x722053(0x398)];}return{..._0x1bed9f['deepClone'](_0x4ac089),'mutations':[_0x4ec84f]};}[_0x572570(0x301)](_0x349b82){const _0x39c6d9=_0x572570,{unitID:_0xcb7d37}=_0x349b82,{history:_0x1c19c7,collaboration:_0x5eb0c4}=this[_0x39c6d9(0x2a0)][_0x39c6d9(0x2f6)](_0xcb7d37);if(_0x1c19c7[_0x39c6d9(0x357)]===0x0&&_0x5eb0c4[_0x39c6d9(0x357)]===0x0)return;const _0x1c1f8c=[],_0x5280db=[];let _0x482497=_0x1bed9f[_0x39c6d9(0x2ad)](_0x349b82[_0x39c6d9(0x22c)][0x0]),_0x4d349c=_0x1bed9f[_0x39c6d9(0x2ad)](_0x349b82[_0x39c6d9(0x22c)][0x0]);for(let _0x15a61d=_0x1c19c7['length']-0x1;_0x15a61d>=0x0;_0x15a61d--){const _0x559778={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c19c7[_0x15a61d]['unitId'],..._0x1c19c7[_0x15a61d][_0x39c6d9(0x28a)]}},_0x410015={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c19c7[_0x15a61d][_0x39c6d9(0x1d1)],..._0x1c19c7[_0x15a61d][_0x39c6d9(0x1d5)]}},_0x2bfc4e=this[_0x39c6d9(0x1e9)]['transformMutation'](_0x482497,_0x559778,!0x1),_0x3cdb8a=this['_transformService'][_0x39c6d9(0x2bf)](_0x4d349c,_0x410015,!0x1);if(_0x2bf142(_0x2bfc4e))throw _0x2bfc4e[_0x39c6d9(0x28d)];if(_0x2bf142(_0x3cdb8a))throw _0x3cdb8a[_0x39c6d9(0x28d)];_0x1c1f8c[_0x39c6d9(0x32d)]({..._0x1c19c7[_0x15a61d],'undoState':_0x2bfc4e[_0x39c6d9(0x2b7)][_0x39c6d9(0x356)],'redoState':_0x3cdb8a[_0x39c6d9(0x2b7)][_0x39c6d9(0x356)]}),_0x482497=_0x2bfc4e[_0x39c6d9(0x398)],_0x4d349c=_0x3cdb8a[_0x39c6d9(0x398)];}_0x482497=_0x1bed9f[_0x39c6d9(0x2ad)](_0x349b82['mutations'][0x0]),_0x4d349c=_0x1bed9f[_0x39c6d9(0x2ad)](_0x349b82[_0x39c6d9(0x22c)][0x0]);for(let _0x148456=_0x5eb0c4['length']-0x1;_0x148456>=0x0;_0x148456--){const _0x1a04e3={'id':_0x39c6d9(0x3bd),'params':{'unitId':_0x5eb0c4[_0x148456][_0x39c6d9(0x1d1)],..._0x5eb0c4[_0x148456]['undoState']}},_0x29ee3d={'id':_0x39c6d9(0x3bd),'params':{'unitId':_0x5eb0c4[_0x148456][_0x39c6d9(0x1d1)],..._0x5eb0c4[_0x148456]['redoState']}},_0x44b7cf=this[_0x39c6d9(0x1e9)]['transformMutation'](_0x482497,_0x1a04e3,!0x1),_0x5cdbff=this['_transformService'][_0x39c6d9(0x2bf)](_0x4d349c,_0x29ee3d,!0x1);if(_0x2bf142(_0x44b7cf))throw _0x44b7cf[_0x39c6d9(0x28d)];if(_0x2bf142(_0x5cdbff))throw _0x5cdbff[_0x39c6d9(0x28d)];_0x5280db[_0x39c6d9(0x32d)]({..._0x5eb0c4[_0x148456],'undoState':_0x44b7cf[_0x39c6d9(0x2b7)][_0x39c6d9(0x356)],'redoState':_0x5cdbff[_0x39c6d9(0x2b7)][_0x39c6d9(0x356)]}),_0x482497=_0x44b7cf[_0x39c6d9(0x398)],_0x4d349c=_0x5cdbff[_0x39c6d9(0x398)];}this[_0x39c6d9(0x2a0)][_0x39c6d9(0x284)](_0xcb7d37,{'history':_0x1c1f8c,'collaboration':_0x5280db});}};oe=_n([Ee(0x0,_0x374320(_0x3383f8)),Ee(0x1,_0x4c7a5f),Ee(0x2,_0x374320(_0x2d2f2f))],oe);var hn=Object['getOwnPropertyDescriptor'],un=(_0x6d8c32,_0x1a68b8,_0x99e7f1,_0x1f0571)=>{for(var _0x4e60f8=_0x1f0571>0x1?void 0x0:_0x1f0571?hn(_0x1a68b8,_0x99e7f1):_0x1a68b8,_0xdfdf47=_0x6d8c32['length']-0x1,_0x533dab;_0xdfdf47>=0x0;_0xdfdf47--)(_0x533dab=_0x6d8c32[_0xdfdf47])&&(_0x4e60f8=_0x533dab(_0x4e60f8)||_0x4e60f8);return _0x4e60f8;},it=(_0x3ba899,_0xbfd340)=>(_0x231730,_0x2af60f)=>_0xbfd340(_0x231730,_0x2af60f,_0x3ba899);let ae=class{constructor(_0x29e5d2,_0x3e8684){const _0x2c5918=_0x572570;this[_0x2c5918(0x2d5)]=_0x29e5d2,this[_0x2c5918(0x1e9)]=_0x3e8684;}[_0x572570(0x21b)](_0x14180c){const _0x1af715=_0x572570;var _0xee6e82;const _0x45ceca=this['_injector'][_0x1af715(0x278)](_0x396377),_0x590348=(_0xee6e82=_0x45ceca[_0x1af715(0x2e7)]())!=null?_0xee6e82:[];if(_0x590348[_0x1af715(0x357)]===0x0)return;const _0x2de657=_0x14180c[_0x1af715(0x392)],_0x21f33b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2de657,'actions':null,'textRanges':_0x590348}}],_0x2e180b=this[_0x1af715(0x1e9)][_0x1af715(0x378)](_0x14180c,_0x21f33b);if(!_0x21f7e9(_0x2e180b))throw _0x2e180b[_0x1af715(0x28d)];const _0x481de5=_0x2e180b[_0x1af715(0x2b7)][0x0][_0x1af715(0x356)][_0x1af715(0x250)];Array['isArray'](_0x481de5)&&_0x481de5[_0x1af715(0x357)]&&_0x45ceca[_0x1af715(0x33a)](_0x481de5,{'unitId':_0x2de657,'subUnitId':_0x2de657},!0x1);}};ae=un([it(0x0,_0x374320(_0x3383f8)),it(0x1,_0x4c7a5f)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x1e9942,_0x270af7,_0xeb86d8,_0x314167)=>{const _0xf0e253=_0x572570;for(var _0x1ef23f=_0x314167>0x1?void 0x0:_0x314167?dn(_0x270af7,_0xeb86d8):_0x270af7,_0x307764=_0x1e9942[_0xf0e253(0x357)]-0x1,_0x461ac2;_0x307764>=0x0;_0x307764--)(_0x461ac2=_0x1e9942[_0x307764])&&(_0x1ef23f=_0x461ac2(_0x1ef23f)||_0x1ef23f);return _0x1ef23f;},M=(_0x5b00de,_0x3ed2a5)=>(_0x1ff1bb,_0x166c4e)=>_0x3ed2a5(_0x1ff1bb,_0x166c4e,_0x5b00de);let ce=class extends _0x289462{constructor(_0x2c78e1,_0x319899,_0x50ca80,_0x2ed100,_0x37bc7f,_0x3cd201,_0xb945b1,_0x5da006){const _0x3ce812=_0x572570;super(),_(this,_0x3ce812(0x1dc),new _0x21d2f0(_0x3df542[_0x3ce812(0x39a)])),(this[_0x3ce812(0x2a0)]=_0x2c78e1,this[_0x3ce812(0x330)]=_0x319899,this[_0x3ce812(0x227)]=_0x50ca80,this[_0x3ce812(0x354)]=_0x2ed100,this[_0x3ce812(0x1ca)]=_0x37bc7f,this[_0x3ce812(0x30e)]=_0x3cd201,this[_0x3ce812(0x365)]=_0xb945b1,this[_0x3ce812(0x333)]=_0x5da006,this[_0x3ce812(0x1ed)]());}[_0x572570(0x1ed)](){const _0x153d26=_0x572570;this[_0x153d26(0x31b)](this[_0x153d26(0x330)][_0x153d26(0x2e2)][_0x153d26(0x2c3)](_0x1a18be=>{const _0x17e3a2=_0x153d26,_0x58b408=this['_docStateChangeManagerService'][_0x17e3a2(0x291)]['subscribe'](_0x17b5af=>{const _0x4e2ad6=_0x17e3a2;if(_0x17b5af==null)return;const {unitId:_0x48c934,redoState:_0x2db182,commandId:_0x52efda}=_0x17b5af;if(_0x48c934!==_0x1a18be[_0x4e2ad6(0x392)])return;const _0x444892={'id':_0x52efda,'type':_0x3850fb[_0x4e2ad6(0x364)],'params':{'unitId':_0x48c934,'actions':_0x2db182[_0x4e2ad6(0x1eb)],'textRanges':null}};_0x1a18be[_0x4e2ad6(0x253)](_0x444892);});if(_0x1a18be[_0x17e3a2(0x31b)](_0x58b408),_0x1a18be instanceof _0x4edbfb){const _0x17ee0a={'onTransformIME':_0x3e7b7e=>this[_0x17e3a2(0x227)][_0x17e3a2(0x31c)](_0x3e7b7e),'onTransformState':_0x125f5e=>this[_0x17e3a2(0x354)][_0x17e3a2(0x305)](_0x125f5e),'onTransformSelections':_0x57ccfc=>this[_0x17e3a2(0x1ca)][_0x17e3a2(0x21b)](_0x57ccfc),'onSyncEditingCollabCursor':_0x3e9def=>this[_0x17e3a2(0x30e)][_0x17e3a2(0x29c)](_0x3e9def),'onTransformRemoteChangesetByIMECache':_0x2f8756=>this[_0x17e3a2(0x227)][_0x17e3a2(0x397)](_0x2f8756),'onTransformRemoteChangesetByStateCache':_0x5ea16b=>this['_docTransformStateCacheService'][_0x17e3a2(0x397)](_0x5ea16b)};_0x1a18be[_0x17e3a2(0x281)](_0x17ee0a);}}));}};ce=fn([M(0x0,_0x374320(_0x2d2f2f)),M(0x1,_0x374320(_0x3ecef9)),M(0x2,_0x374320(re)),M(0x3,_0x374320(oe)),M(0x4,_0x374320(ae)),M(0x5,_0x374320(je)),M(0x6,_0x372cc5),M(0x7,_0x374320(_0x3cd2c2))],ce);var Sn=Object[_0x572570(0x225)],mn=(_0x428453,_0x5b9e80,_0xe67f9c,_0x37be23)=>{const _0x5e5372=_0x572570;for(var _0x9cc5be=_0x37be23>0x1?void 0x0:_0x37be23?Sn(_0x5b9e80,_0xe67f9c):_0x5b9e80,_0x2b1ab3=_0x428453[_0x5e5372(0x357)]-0x1,_0x50071f;_0x2b1ab3>=0x0;_0x2b1ab3--)(_0x50071f=_0x428453[_0x2b1ab3])&&(_0x9cc5be=_0x50071f(_0x9cc5be)||_0x9cc5be);return _0x9cc5be;},be=(_0x602dd,_0xe1dc0c)=>(_0x33b3d7,_0x2629d8)=>_0xe1dc0c(_0x33b3d7,_0x2629d8,_0x602dd);let Ae=class extends _0x289462{constructor(_0x1250bc,_0xf4b605,_0x1636d1){const _0x27da78=_0x572570;super(),_(this,_0x27da78(0x382),new Map()),_(this,_0x27da78(0x21f),new Map()),_(this,_0x27da78(0x2f3),!0x1),(this[_0x27da78(0x385)]=_0x1250bc,this[_0x27da78(0x3a3)]=_0xf4b605,this['_revisionService']=_0x1636d1);}[_0x572570(0x345)](){const _0x4fed22=_0x572570;this[_0x4fed22(0x2f3)]=!0x0;}[_0x572570(0x35f)](){const _0x21e9f5=_0x572570;this[_0x21e9f5(0x2f3)]=!0x1;}get[_0x572570(0x1f9)](){const _0x251f37=_0x572570;return this[_0x251f37(0x21f)];}[_0x572570(0x247)](){const _0x5d37d2=_0x572570;this[_0x5d37d2(0x252)]()[_0x5d37d2(0x320)](()=>super[_0x5d37d2(0x247)]());}async['loadOfflineData'](_0x19d7c6){const _0x107d94=_0x572570;return this[_0x107d94(0x2f3)]?null:this[_0x107d94(0x3a3)][_0x107d94(0x3ab)](_0x19e9dc(_0x19d7c6));}async[_0x572570(0x32f)](_0x59395b,_0xae2a26){const _0xa8298b=_0x572570;return!!this[_0xa8298b(0x3a3)][_0xa8298b(0x1e0)](_0x59395b,_0xae2a26);}[_0x572570(0x366)](_0x14a27a,_0x14eeee,_0x150288,_0x5258c2){const _0x4907f0=_0x572570,_0x8105b=this[_0x4907f0(0x363)][_0x4907f0(0x319)](_0x14a27a);this[_0x4907f0(0x382)][_0x4907f0(0x3c0)](_0x14a27a,{'unitID':_0x14a27a,'type':_0x14eeee,'awaitingChangeset':_0x150288,'mutations':_0x5258c2,'rev':_0x8105b}),this[_0x4907f0(0x21f)][_0x4907f0(0x27e)](_0x14a27a)||this[_0x4907f0(0x224)](_0x14a27a);}[_0x572570(0x224)](_0x2a0563){const _0x1e0fff=_0x572570,_0x48f85e=this[_0x1e0fff(0x24e)]();_0x48f85e===0x0?this[_0x1e0fff(0x212)](_0x2a0563):this['_saveTaskMap'][_0x1e0fff(0x3c0)](_0x2a0563,setTimeout(()=>this[_0x1e0fff(0x212)](_0x2a0563),_0x48f85e));}[_0x572570(0x24e)](){const _0x290a6d=_0x572570;var _0x573c5c;return(_0x573c5c=this['_configService'][_0x290a6d(0x2d0)](_0x6d16ed))!=null?_0x573c5c:_0x3383af;}[_0x572570(0x212)](_0x28d47d){const _0x40da48=_0x572570,_0x3a4314=this[_0x40da48(0x21f)][_0x40da48(0x278)](_0x28d47d);return _0x3a4314!==void 0x0&&window['clearTimeout'](_0x3a4314),this[_0x40da48(0x3a3)][_0x40da48(0x1e0)](_0x19e9dc(_0x28d47d),this[_0x40da48(0x382)]['get'](_0x28d47d))[_0x40da48(0x320)](()=>this[_0x40da48(0x21f)][_0x40da48(0x3b0)](_0x28d47d));}async[_0x572570(0x252)](){const _0x3cfae5=_0x572570,_0x4d4d5c=[];this[_0x3cfae5(0x21f)][_0x3cfae5(0x237)]((_0x4fe150,_0x19314a)=>{const _0x2fe6a4=_0x3cfae5;window[_0x2fe6a4(0x25a)](_0x4fe150),_0x4d4d5c[_0x2fe6a4(0x3b8)](this[_0x2fe6a4(0x212)](_0x19314a)[_0x2fe6a4(0x320)](()=>{const _0xf9750=_0x2fe6a4;this[_0xf9750(0x21f)][_0xf9750(0x3b0)](_0x19314a);}));}),await Promise[_0x3cfae5(0x3b4)](_0x4d4d5c);}};Ae=mn([be(0x0,_0xe6992),be(0x1,_0x5bff25),be(0x2,_0x374320(_0x16465a))],Ae);class gn extends _0x590569{constructor(){const _0x359c27=_0x572570;super(),_(this,_0x359c27(0x2ba)),this[_0x359c27(0x2ba)]=_0x24d547(window,'popstate')[_0x359c27(0x1f4)](_0x20f6fa(this[_0x359c27(0x2b9)]),_0x2b8759(0x1),_0x91ebe2(void 0x0));}[_0x572570(0x3d4)](_0x62cde6,_0x5cc645,_0xb43e14=!0x1){const _0x14c05d=_0x572570,_0x4367ec=new URL(window[_0x14c05d(0x36a)][_0x14c05d(0x217)]);_0x4367ec[_0x14c05d(0x379)][_0x14c05d(0x3c0)](_0x62cde6,_0x5cc645),_0xb43e14?window[_0x14c05d(0x1c9)][_0x14c05d(0x251)]('','',_0x4367ec[_0x14c05d(0x1da)]()):window[_0x14c05d(0x1c9)][_0x14c05d(0x1f1)]('','',_0x4367ec[_0x14c05d(0x1da)]());}[_0x572570(0x282)](_0x34abed,_0x1c26fe=!0x1){const _0x5d1488=_0x572570,_0xff8a5a=new URL(window[_0x5d1488(0x36a)][_0x5d1488(0x217)]);_0xff8a5a[_0x5d1488(0x379)]['delete'](_0x34abed),_0x1c26fe?window[_0x5d1488(0x1c9)][_0x5d1488(0x251)]('','',_0xff8a5a[_0x5d1488(0x1da)]()):window[_0x5d1488(0x1c9)][_0x5d1488(0x1f1)]('','',_0xff8a5a[_0x5d1488(0x1da)]());}[_0x572570(0x2ea)](_0x9ae38e){const _0xe337e1=_0x572570;var _0x33a18d;return(_0x33a18d=new URL(window[_0xe337e1(0x36a)]['href'])['searchParams'][_0xe337e1(0x278)](_0x9ae38e))!=null?_0x33a18d:void 0x0;}}var vn=Object[_0x572570(0x1d7)],In=Object['getOwnPropertyDescriptor'],pn=(_0xaad70b,_0x24ff73,_0x3aca0a)=>_0x24ff73 in _0xaad70b?vn(_0xaad70b,_0x24ff73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3aca0a}):_0xaad70b[_0x24ff73]=_0x3aca0a,Cn=(_0x5ba403,_0x181acd,_0x5b4e62,_0x358b30)=>{const _0x6c94c0=_0x572570;for(var _0x1970e2=_0x358b30>0x1?void 0x0:_0x358b30?In(_0x181acd,_0x5b4e62):_0x181acd,_0x55e0eb=_0x5ba403[_0x6c94c0(0x357)]-0x1,_0x1e2494;_0x55e0eb>=0x0;_0x55e0eb--)(_0x1e2494=_0x5ba403[_0x55e0eb])&&(_0x1970e2=_0x1e2494(_0x1970e2)||_0x1970e2);return _0x1970e2;},Oe=(_0x135a10,_0x52fbf6)=>(_0x44e3a6,_0x3e168a)=>_0x52fbf6(_0x44e3a6,_0x3e168a,_0x135a10),En=(_0x3ccb7a,_0x4d44bd,_0x547f6a)=>pn(_0x3ccb7a,_0x4d44bd+'',_0x547f6a);const bn=_0x572570(0x25e);let ye=class extends _0x15f3f5{constructor(_0xf624f6=st,_0x49684a,_0x1d7155,_0x3b3381){const _0x2ad462=_0x572570;super(),this[_0x2ad462(0x3c1)]=_0xf624f6,this[_0x2ad462(0x231)]=_0x49684a,this['_injector']=_0x1d7155,this[_0x2ad462(0x385)]=_0x3b3381;const {..._0x10dd14}=_0x4ecf07({},st,this['_config']);this['_configService'][_0x2ad462(0x1e7)](nn,_0x10dd14);}[_0x572570(0x206)](){const _0x2764b0=_0x572570;this[_0x2764b0(0x3ac)](),this['_initDependencies']();}[_0x572570(0x207)](){const _0x1caa9c=_0x572570;this[_0x1caa9c(0x2a5)]();}[_0x572570(0x3ac)](){const _0x31e2b4=_0x572570;var _0x5c8753;const _0x7b2c9e=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x3c3e39,{'useClass':_0x2546d3}],[_0x1bc110,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0xed2e46(this[_0x31e2b4(0x2d5)],_0x314d0f(_0x7b2c9e,(_0x5c8753=this[_0x31e2b4(0x3c1)])==null?void 0x0:_0x5c8753[_0x31e2b4(0x2cc)]));}[_0x572570(0x2a5)](){const _0xdef329=_0x572570;this['disposeWithMe'](this[_0xdef329(0x231)][_0xdef329(0x1ec)](_0x251350['UNIVER_DOC'],[Ue])),this[_0xdef329(0x31b)](this['_renderManagerService'][_0xdef329(0x1ec)](_0x251350[_0xdef329(0x31e)],[Le]));}[_0x572570(0x22a)](){const _0x382278=_0x572570;_0x3d29c5(this[_0x382278(0x2d5)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x572570(0x213),bn),ye=Cn([_0x54e900(_0x3cce7e),Oe(0x1,_0x13af8c),Oe(0x2,_0x374320(_0x3383f8)),Oe(0x3,_0xe6992)],ye);var On=Object[_0x572570(0x225)],Tn=(_0x4d95c4,_0x5832c0,_0x22eda3,_0x28a19c)=>{const _0x2fe7b3=_0x572570;for(var _0x23b7a2=_0x28a19c>0x1?void 0x0:_0x28a19c?On(_0x5832c0,_0x22eda3):_0x5832c0,_0x3d7757=_0x4d95c4[_0x2fe7b3(0x357)]-0x1,_0x491a37;_0x3d7757>=0x0;_0x3d7757--)(_0x491a37=_0x4d95c4[_0x3d7757])&&(_0x23b7a2=_0x491a37(_0x23b7a2)||_0x23b7a2);return _0x23b7a2;},z=(_0x2c313e,_0xfffaef)=>(_0x18a66b,_0x1bd4a8)=>_0xfffaef(_0x18a66b,_0x1bd4a8,_0x2c313e);let nt=class extends _0x1de30c{constructor(_0x11f35e,_0x3c3aa2,_0x12c42c,_0x406027,_0x3e564c){super(_0x11f35e,_0x3c3aa2,_0x12c42c,_0x406027,_0x3e564c);}async[_0x572570(0x264)](_0x591d35){const _0x2b7c97=_0x572570,_0x4ac813=await this['_getSessionTicket'](),_0x56eae6=this['_createSocketURL'](_0x591d35,_0x4ac813);return this[_0x2b7c97(0x226)](_0x56eae6);}[_0x572570(0x302)](_0x5dffbb,_0x36b356){const _0x40471a=_0x572570,_0x473448=typeof window>'u'?new URL(_0x5dffbb):new URL(_0x5dffbb,window[_0x40471a(0x36a)][_0x40471a(0x1d6)]);_0x473448[_0x40471a(0x379)][_0x40471a(0x3c0)](_0x40471a(0x265),_0x36b356);const _0x5c8489=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x5c8489[_0x40471a(0x278)](_0x40471a(0x2a7))&&_0x473448[_0x40471a(0x379)][_0x40471a(0x3c0)](_0x40471a(0x2a7),_0x5c8489[_0x40471a(0x278)]('runId')),_0x473448[_0x40471a(0x1da)]();}async[_0x572570(0x262)](){const _0x257011=_0x572570;var _0x344425,_0x2649fc,_0x41f943;const _0x14c663=this[_0x257011(0x385)][_0x257011(0x2d0)](_0x3b8c9b),_0x267e47=(_0x344425=_0x14c663==null?void 0x0:_0x14c663[_0x257011(0x245)])!=null?_0x344425:_0x182b27;return(_0x41f943=(_0x2649fc=(await this[_0x257011(0x238)][_0x257011(0x278)](_0x267e47,{'headers':{'Content-Type':_0x257011(0x21a)}}))[_0x257011(0x1db)])==null?void 0x0:_0x2649fc['ticket'])!=null?_0x41f943:'';}};nt=Tn([z(0x0,_0x374320(_0x3383f8)),z(0x1,_0x374320(_0x209003)),z(0x2,_0xe6992),z(0x3,_0x1c8dc9),z(0x4,_0x46a28e)],nt);const rt=0x7530,ot=_0x572570(0x2e4);class Gn extends _0x289462{constructor(){const _0xbb0651=_0x572570;super(),_(this,'_id',_0x36a3c2()),_(this,'_selfUnitIDs',new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0xbb0651(0x352),new Map()),_(this,'_unitStatus',new Map()),this[_0xbb0651(0x2c2)]();}[_0x572570(0x247)](){const _0x54310c=_0x572570;super[_0x54310c(0x247)](),this['_clearOtherTimers'][_0x54310c(0x237)]((_0x2345aa,_0x6fedb1)=>this[_0x54310c(0x377)](_0x6fedb1)),this[_0x54310c(0x38e)]&&window[_0x54310c(0x2e3)](this['_heartbeatTimer']);}[_0x572570(0x335)](_0x23cea0){const _0x556ad8=_0x572570;return this[_0x556ad8(0x234)](_0x23cea0)[_0x556ad8(0x1f4)](_0x1f5685());}[_0x572570(0x34b)](_0x257f62){const _0x1db403=_0x572570;this[_0x1db403(0x387)]['size']===0x0&&this[_0x1db403(0x243)](),this[_0x1db403(0x387)][_0x1db403(0x324)](_0x257f62),this[_0x1db403(0x2e5)]({'type':0x0,'memberID':this[_0x1db403(0x26f)],'unitIDs':[_0x257f62],'isForwarded':!0x1});}[_0x572570(0x2fb)](_0x105d05){const _0x16af08=_0x572570;this[_0x16af08(0x387)][_0x16af08(0x3b0)](_0x105d05),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x16af08(0x2e3)](this[_0x16af08(0x38e)]);}[_0x572570(0x2c2)](){const _0x3284b4=_0x572570;this[_0x3284b4(0x31b)](_0x5987c5(_0x24d547(window,_0x3284b4(0x2a1))[_0x3284b4(0x2c3)](_0x40566e=>{const _0x5cb1e6=_0x3284b4;if(_0x40566e[_0x5cb1e6(0x370)]!==ot||!_0x40566e[_0x5cb1e6(0x339)])return;const _0x2d6d2d=JSON[_0x5cb1e6(0x26c)](_0x40566e[_0x5cb1e6(0x339)]);this[_0x5cb1e6(0x201)](_0x2d6d2d);}))),window[_0x3284b4(0x2fe)](_0x3284b4(0x266),()=>this[_0x3284b4(0x2e5)]({'type':0x1,'memberID':this[_0x3284b4(0x26f)],'unitIDs':Array[_0x3284b4(0x3a6)](this[_0x3284b4(0x387)])}));}[_0x572570(0x201)](_0x7df33){const _0x2ba7cb=_0x572570;switch(_0x7df33['type']){case 0x0:this[_0x2ba7cb(0x24b)](_0x7df33);break;case 0x1:this[_0x2ba7cb(0x384)](_0x7df33);break;case 0x2:this[_0x2ba7cb(0x338)](_0x7df33);break;}}[_0x572570(0x24b)](_0x18085c){const _0x4d49f0=_0x572570,{unitIDs:_0x3991b8,memberID:_0x5cf93d,isForwarded:_0x5d8327}=_0x18085c;_0x3991b8['forEach'](_0x237a53=>{const _0x443879=_0x2092;if(!_0x5d8327&&this[_0x443879(0x33b)]['has'](_0x237a53)&&this[_0x443879(0x234)](_0x237a53)['next'](_0x22fb59[_0x443879(0x2eb)]),!this[_0x443879(0x33b)][_0x443879(0x27e)](_0x237a53)||!this['_unitOnClients'][_0x443879(0x278)](_0x237a53)[_0x443879(0x27e)](_0x5cf93d)){const _0x1327db=this['_unitOnClients']['get'](_0x237a53)||new Set();_0x1327db[_0x443879(0x324)](_0x5cf93d),this[_0x443879(0x33b)][_0x443879(0x3c0)](_0x237a53,_0x1327db),this[_0x443879(0x2ef)](_0x5cf93d);}}),_0x5d8327||this[_0x4d49f0(0x2e5)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4d49f0(0x387)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2fefea){const _0x530883=_0x572570;this[_0x530883(0x377)](_0x2fefea);const _0x2d3dc3=window[_0x530883(0x2dc)](()=>{const _0x2110f5=_0x530883;this[_0x2110f5(0x33b)][_0x2110f5(0x237)](_0x4ce1fe=>{const _0x5dbb78=_0x2110f5;_0x4ce1fe[_0x5dbb78(0x3b0)](_0x2fefea);});},rt*0x2);this['_clearOtherTimers'][_0x530883(0x3c0)](_0x2fefea,_0x2d3dc3);}[_0x572570(0x377)](_0x135afa){const _0x51874f=_0x572570;if(this[_0x51874f(0x352)][_0x51874f(0x27e)](_0x135afa)){const _0x461b4d=this[_0x51874f(0x352)][_0x51874f(0x278)](_0x135afa);_0x461b4d&&window[_0x51874f(0x25a)](_0x461b4d),this[_0x51874f(0x352)][_0x51874f(0x3c0)](_0x135afa,null);}}['_handleLeaveEvent'](_0x1c1534){const _0x1a33b2=_0x572570,{memberID:_0x45a87a,unitIDs:_0x31aec1}=_0x1c1534;_0x31aec1[_0x1a33b2(0x237)](_0x4ede62=>{const _0x76735a=_0x1a33b2;var _0x3cc4d0;const _0x361fad=this[_0x76735a(0x33b)][_0x76735a(0x278)](_0x4ede62);_0x361fad&&(_0x361fad['delete'](_0x45a87a),(_0x3cc4d0=this[_0x76735a(0x234)](_0x4ede62))==null||_0x3cc4d0[_0x76735a(0x380)](_0x361fad['size']===0x0?_0x22fb59['NO_OTHER_CLIENTS_EDITING']:_0x22fb59[_0x76735a(0x2eb)]));}),this[_0x1a33b2(0x377)](_0x45a87a);}['_handleHeartbeatEvent'](_0x3a8575){const _0x3c2aff=_0x572570;this[_0x3c2aff(0x2ef)](_0x3a8575[_0x3c2aff(0x1cb)]);}[_0x572570(0x2e5)](_0x4aee64){const _0x5c30d8=_0x572570;localStorage[_0x5c30d8(0x1e0)](ot,JSON['stringify'](_0x4aee64));}['_scheduleHeartbeat'](){const _0x2217e6=_0x572570;this[_0x2217e6(0x38e)]=window[_0x2217e6(0x36c)](()=>{const _0x10592e=_0x2217e6;this[_0x10592e(0x2e5)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x572570(0x234)](_0x32dac7){const _0x293929=_0x572570;return this[_0x293929(0x329)][_0x293929(0x27e)](_0x32dac7)||this['_unitStatus'][_0x293929(0x3c0)](_0x32dac7,new _0x21d2f0(_0x22fb59[_0x293929(0x3b9)])),this['_unitStatus'][_0x293929(0x278)](_0x32dac7);}}var Ut=(_0x12ed5a=>(_0x12ed5a[_0x12ed5a[_0x572570(0x2bd)]=0x0]='UNDEFINED',_0x12ed5a[_0x12ed5a['OK']=0x1]='OK',_0x12ed5a[_0x12ed5a[_0x572570(0x261)]=0x2]='INTERNAL_ERROR',_0x12ed5a[_0x12ed5a[_0x572570(0x20b)]=0x3]=_0x572570(0x20b),_0x12ed5a[_0x12ed5a['NOT_FOUND']=0x4]=_0x572570(0x248),_0x12ed5a[_0x12ed5a[_0x572570(0x255)]=0x5]=_0x572570(0x255),_0x12ed5a[_0x12ed5a['ALREADY_EXISTS']=0x6]=_0x572570(0x3bf),_0x12ed5a[_0x12ed5a[_0x572570(0x24f)]=0x7]=_0x572570(0x24f),_0x12ed5a[_0x12ed5a[_0x572570(0x2f1)]=0x8]=_0x572570(0x2f1),_0x12ed5a[_0x12ed5a[_0x572570(0x350)]=0x9]='COMPLETION_FINISHED',_0x12ed5a[_0x12ed5a[_0x572570(0x342)]=0xa]=_0x572570(0x342),_0x12ed5a[_0x12ed5a[_0x572570(0x280)]=0x1389]=_0x572570(0x280),_0x12ed5a[_0x12ed5a[_0x572570(0x2a4)]=0x1771]=_0x572570(0x2a4),_0x12ed5a[_0x12ed5a[_0x572570(0x323)]=0x1772]=_0x572570(0x323),_0x12ed5a[_0x12ed5a['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x572570(0x33f),_0x12ed5a[_0x12ed5a[_0x572570(0x2d8)]=0x1b59]=_0x572570(0x2d8),_0x12ed5a[_0x12ed5a['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x572570(0x3a4),_0x12ed5a[_0x12ed5a[_0x572570(0x23e)]=0x1b5b]=_0x572570(0x23e),_0x12ed5a[_0x12ed5a[_0x572570(0x1f6)]=0x1b5c]=_0x572570(0x1f6),_0x12ed5a[_0x12ed5a[_0x572570(0x3a2)]=0x1b5d]=_0x572570(0x3a2),_0x12ed5a[_0x12ed5a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x572570(0x1e5),_0x12ed5a[_0x12ed5a[_0x572570(0x303)]=0x2329]=_0x572570(0x303),_0x12ed5a[_0x12ed5a[_0x572570(0x38b)]=0x232a]=_0x572570(0x38b),_0x12ed5a[_0x12ed5a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x572570(0x2f7),_0x12ed5a[_0x12ed5a[_0x572570(0x295)]=0x232c]=_0x572570(0x295),_0x12ed5a[_0x12ed5a[_0x572570(0x1e3)]=0x232d]=_0x572570(0x1e3),_0x12ed5a[_0x12ed5a[_0x572570(0x376)]=0x2711]=_0x572570(0x376),_0x12ed5a[_0x12ed5a['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x572570(0x246),_0x12ed5a[_0x12ed5a[_0x572570(0x30d)]=0x2713]=_0x572570(0x30d),_0x12ed5a[_0x12ed5a[_0x572570(0x358)]=0x2714]=_0x572570(0x358),_0x12ed5a[_0x12ed5a[_0x572570(0x317)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x12ed5a[_0x12ed5a[_0x572570(0x239)]=0x2ee1]=_0x572570(0x239),_0x12ed5a[_0x12ed5a[_0x572570(0x37a)]=0x2ee2]='INVALID_INVITE_CODE',_0x12ed5a[_0x12ed5a[_0x572570(0x2ae)]=0x2ee3]=_0x572570(0x2ae),_0x12ed5a[_0x12ed5a[_0x572570(0x33d)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x12ed5a[_0x12ed5a[_0x572570(0x360)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x12ed5a[_0x12ed5a[_0x572570(0x2ac)]=0x32c9]=_0x572570(0x2ac),_0x12ed5a[_0x12ed5a['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x12ed5a[_0x12ed5a[_0x572570(0x3ad)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x12ed5a[_0x12ed5a[_0x572570(0x1f7)]=-0x1]=_0x572570(0x1f7),_0x12ed5a))(Ut||{}),Rn=Object[_0x572570(0x225)],Dn=(_0xc17b92,_0xe2a1df,_0x3ffffc,_0x12ab93)=>{const _0x42756b=_0x572570;for(var _0x4d1d09=_0x12ab93>0x1?void 0x0:_0x12ab93?Rn(_0xe2a1df,_0x3ffffc):_0xe2a1df,_0x262dc5=_0xc17b92[_0x42756b(0x357)]-0x1,_0x4905a8;_0x262dc5>=0x0;_0x262dc5--)(_0x4905a8=_0xc17b92[_0x262dc5])&&(_0x4d1d09=_0x4905a8(_0x4d1d09)||_0x4d1d09);return _0x4d1d09;},Te=(_0x22e813,_0x3f610b)=>(_0x2544ed,_0x2836a6)=>_0x3f610b(_0x2544ed,_0x2836a6,_0x22e813);let at=class extends _0x289462{constructor(_0x54e6ec,_0x52e1aa,_0x53da8b){const _0x53ed42=_0x572570;super(),this['_instanceService']=_0x54e6ec,this[_0x53ed42(0x238)]=_0x52e1aa,this[_0x53ed42(0x385)]=_0x53da8b;}async[_0x572570(0x2a2)](_0x37cabe,_0x55ab7d,_0x3f6af5,..._0x32c5f4){const _0x426a6a=_0x572570;var _0x4713d2,_0x3b8f3f,_0xd9e36c,_0x2022a3;const _0x136a60=this[_0x426a6a(0x275)][_0x426a6a(0x23a)]();if(!_0x136a60)throw new Error(_0x426a6a(0x25d));const _0x5100c2=((_0x4713d2=this[_0x426a6a(0x385)][_0x426a6a(0x2d0)](_0x157464))!=null?_0x4713d2:_0x108e0f)+'/'+_0x37cabe+'/run/'+_0x55ab7d,_0x28a438=new URL(window[_0x426a6a(0x36a)][_0x426a6a(0x217)]),_0x1dd572={'scriptId':_0x37cabe,'runId':(_0x3b8f3f=_0x28a438[_0x426a6a(0x379)][_0x426a6a(0x278)](_0x426a6a(0x2a7)))!=null?_0x3b8f3f:'','function':_0x55ab7d,'unitId':_0x136a60[_0x426a6a(0x34f)](),'argsOfFunction':JSON['stringify'](_0x32c5f4),'invokeId':(_0xd9e36c=_0x3f6af5['invokeId'])!=null?_0xd9e36c:'','executionId':(_0x2022a3=_0x3f6af5[_0x426a6a(0x37f)])!=null?_0x2022a3:''};try{const _0xad890b=await this[_0x426a6a(0x238)][_0x426a6a(0x2b0)](_0x5100c2,{'body':_0x1dd572});return _0xad890b[_0x426a6a(0x1db)][_0x426a6a(0x28d)]&&_0xad890b['body']['error'][_0x426a6a(0x32e)]!==Ut['OK']?_0x426a6a(0x340):_0xad890b['body'][_0x426a6a(0x312)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x5b8530),Te(0x1,_0x374320(_0x209003)),Te(0x2,_0xe6992)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
|
1
|
+
const _0xbc5111=_0x29cc;(function(_0x2ba6ad,_0xa2d6ea){const _0x4dca52=_0x29cc,_0x487767=_0x2ba6ad();while(!![]){try{const _0x41a80d=parseInt(_0x4dca52(0xd8))/0x1*(parseInt(_0x4dca52(0xbc))/0x2)+-parseInt(_0x4dca52(0x12b))/0x3+parseInt(_0x4dca52(0x214))/0x4+parseInt(_0x4dca52(0x243))/0x5*(parseInt(_0x4dca52(0x16c))/0x6)+-parseInt(_0x4dca52(0x1d6))/0x7*(-parseInt(_0x4dca52(0x1ab))/0x8)+parseInt(_0x4dca52(0x285))/0x9*(-parseInt(_0x4dca52(0x17b))/0xa)+-parseInt(_0x4dca52(0x167))/0xb*(parseInt(_0x4dca52(0x1cb))/0xc);if(_0x41a80d===_0xa2d6ea)break;else _0x487767['push'](_0x487767['shift']());}catch(_0x403973){_0x487767['push'](_0x487767['shift']());}}}(_0x2148,0x345e1));var Bt=Object[_0xbc5111(0xc9)],kt=(_0x886b86,_0x680c3d,_0x451013)=>_0x680c3d in _0x886b86?Bt(_0x886b86,_0x680c3d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x451013}):_0x886b86[_0x680c3d]=_0x451013,_=(_0x5b9bce,_0x563cca,_0x218b92)=>kt(_0x5b9bce,typeof _0x563cca!=_0xbc5111(0x90)?_0x563cca+'':_0x563cca,_0x218b92);import{MemberService as _0x5980a1,SessionStatus as _0x78e073,CollaborationSessionService as _0x26c35c,CollaborationStatus as _0x548c51,CollaborationController as _0x1c5db3,ILocalCacheService as _0x55279a,CollaborationUIEventService as _0x425d72,CollaborationUIEventId as _0x44c47e,DataLoaderService as _0x2b16cb,DocCollaborationEntity as _0x4ffd89,getLocalCacheKey as _0x2c5663,LOCAL_CACHE_INTERVAL as _0x259a42,LOCAL_CACHE_INTERVAL_KEY as _0x2292f1,UniverCollaborationClientPlugin as _0x25b600,CollaborationSocketService as _0x3fde63,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x251bb7,DEFAULT_WS_SESSION_TICKET_URL as _0x46d72c,UnitStatus as _0x586cb3,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x456d9a,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0xc4741e}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3718b9,Disposable as _0x81bfb6,DOC_RANGE_TYPE as _0x2bdbe9,Inject as _0x5eeb0c,Injector as _0x1ac001,IUniverInstanceService as _0x2e829f,ICommandService as _0x2df7f1,debounce as _0x3466b4,Rectangle as _0x397bb1,DisposableCollection as _0x531d4e,toDisposable as _0x7ed4d2,UniverInstanceType as _0xd95464,Tools as _0x665b8b,COLORS as _0x169118,ColorKit as _0x47d0d2,ThemeService as _0x50563d,fromEventSubject as _0x1030d2,LocaleService as _0x5b2c11,createIdentifier as _0x35eed1,ILogService as _0x7d30d,Optional as _0x198d76,Workbook as _0x2df930,CommandType as _0x6d3759,IConfigService as _0x2b4552,ILocalStorageService as _0x144c96,DependentOn as _0x18c463,Plugin as _0x470737,merge as _0x5d5ca5,registerDependencies as _0x5009d9,mergeOverrideWithDependencies as _0x1a6d65,touchDependencies as _0x4534a6,generateRandomId as _0x1eae8a}from'@univerjs/core';import{Shape as _0x28b603,Rect as _0x3462a9,getColor as _0x937d12,RegularPolygon as _0x3ed4f8,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4ec3c0,Vector2 as _0x235e42,SHEET_VIEWPORT_KEY as _0x41453f,IRenderManagerService as _0x141461}from'@univerjs/engine-render';import{ISocketService as _0x38ba51,WebSocketService as _0x42269d,HTTPService as _0x3eeac1}from'@univerjs/network';import{IDocClipboardService as _0x51286a,NodePositionConvertToCursor as _0x1679f3,NodePositionConvertToRectRange as _0xc178fb,TEXT_RANGE_LAYER_INDEX as _0x4300de,SetDocZoomRatioOperation as _0x40a6ef,DocIMEInputManagerService as _0x1f393f,DocStateChangeManagerService as _0x5ec7ff}from'@univerjs/docs-ui';import{IImageIoService as _0x5700c8}from'@univerjs/drawing';import{BehaviorSubject as _0x596cd4,debounceTime as _0x3f9a59,takeUntil as _0x225be1,Subject as _0x57f626,filter as _0x14cbca,switchMap as _0x3ebe65,merge as _0x1588de,combineLatest as _0x56c281,of as _0x5a1ccc,fromEvent as _0x1aaacf,shareReplay as _0x51f0d5,mapTo as _0x95ba0c,distinctUntilChanged as _0x55f8a1}from'rxjs';import{SetTextSelectionsOperation as _0x27b5ce,RichTextEditingMutation as _0x2f30bd,DocSelectionManagerService as _0x3a333b,DocSkeletonManagerService as _0xe4d7f9}from'@univerjs/docs';import{ITransformService as _0x190912,CollaborationEvent as _0x41f547,isTransformMutationFailure as _0x481950,isTransformMutationsWithChangesetSuccess as _0x36d68a,RevisionService as _0x2340cb,ISnapshotServerService as _0x23e5b0}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x5909a0,serializeRangeWithSheet as _0x243425}from'@univerjs/engine-formula';import{RefRangeService as _0x91852f,SetSelectionsOperation as _0x17137e,SheetsSelectionsService as _0x3ee2c1,EffectRefRangId as _0x4d6815,handleIRemoveRow as _0x559688,handleIRemoveCol as _0x4222ad,handleMoveRange as _0x495c27,handleInsertRow as _0x360322,handleInsertRangeMoveRight as _0x48ceff,handleInsertRangeMoveDown as _0x4ac1ef,handleInsertCol as _0x2c0b20,handleDeleteRangeMoveUp as _0x2e2be3,handleDeleteRangeMoveLeft as _0x5d308c,runRefRangeMutations as _0x48fe90,SetWorksheetActivateCommand as _0x4a10c4}from'@univerjs/sheets';import{map as _0x59cb85,filter as _0x1c1218,throttleTime as _0x546afa,takeUntil as _0x533c63,switchMap as _0x4ed467}from'rxjs/operators';import{SheetSkeletonManagerService as _0x48f7a5,getCoordByCell as _0x238dc7,getSheetObject as _0x1bb98a}from'@univerjs/sheets-ui';import{jsx as _0x444af1,jsxs as _0x1e7739}from'react/jsx-runtime';import{useObservable as _0x318bf4,useDependency as _0xe6893a,IUIPartsService as _0x2c6bb2,BuiltInUIPart as _0x5b1a30,connectInjector as _0x131858,IBeforeCloseService as _0x55b272,IMessageService as _0x2df150,INotificationService as _0x2cb423}from'@univerjs/ui';import{clsx as _0x3c3f71,Tooltip as _0x2fd478,MessageType as _0x5c22e8}from'@univerjs/design';function _0x2148(){const _0x44a97a=['transformByState','roomMembers$','_dataLoaderService','newValue','univer-online-status-title','startColumn','setParam','random','subunit','_draw','collaboration.closeRoom','m2Prime','onPointerEnter$','_entities','_selfUnitIDs','restore','defs','APPLY_NON_SEQUENTIAL_REVISION','ticket','mutations','SOCKET_FAILED','_onCursorUpdate','search','TEXT','[RemoteUniscriptService]:\x20no\x20focused\x20unit','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','currentTheme$','Error','entityInit$','get','createInstance','focused$','_updateLocalCursor','YUUMI_UNABLE_LOAD_URL','className','xlink:href','href','undoState','wsSessionTicketUrl','storage','getUndoRedoMutationParamsCache','onCommandExecuted','[CollaborationDataLoaderController]','1350020cgRaAn','_collaborationController','push','_session','addObject','url(#off-line-single_clip0_910_343)','startRow','beginPath','split','setAlpha','0\x200\x2017\x2016','_hover','verdancy600','INVITE_CODE_REQUIRED','getViewport','collaboration.single-unit.warning','_updateSubUnitFromURLParams','DeleteRangeMoveUpCommandId','rgba(255,\x20255,\x20255,\x200.01)','generateRandomId','_scheduleSaving','CONFLICT','VIEW_MAIN','univer-flex\x20univer-items-center','_beforeCloseService','width','color','_lastPointer','getItem','_messageService','addHandlerCallback','asObservable','searchParams','YUUMI_URL_COL_OUT_OF_RANGE','pluginName','registerRefRange','_setupBeforeClosingHandler','_anchorDot','OFFLINE','NOT_COLLAB','_drawAnchor','_imageIoService','YUUMI_RATE_OVER_LIMIT','entries','_scene','hide','isArray','1855220JxWdFV','range','registerRenderModule','onLocalMutation','unitID','_document','_initEvent','_transformHistoryAndStateStack','_syncEditingCollabCursorService','getRenderById','column','div','APPLY_DUPLICATED','addObjects','getOwnPropertySymbols','on-line-single','sheetID','INVITE_CODE_ALREADY_BOUND','USERS_LEAVE','getActiveSheet','_assignedColors','_labelPosition','_getScale','_configService','fillText','history','collabStatus.fetchMiss','dispose$','bottom','_registerDependencies','_removeClearOtherTimer','disposeWithMe','getOwnPropertyDescriptor','getSkeleton','blue400','updateOfflineData','code','M0\x200H16V16H0z','runId','_setupSubUnitSync','_commandService','_drawRectRange','InsertRangeMoveRightCommandId','_initDependencies','_color','_startSheetCollabCursor','_cursor','APPLY_REJECT','gold400','registerBeforeClose','text','send','string','body','font','_scheduleClearOtherTimer','_roomMembers$','mask','getUnitId','univerjs-icon\x20univerjs-icon-','assign','eventID','findNodePositionByCharIndex','collabStatus.syncing','_onCursorDelete','onlineStatus','9LTRCcJ','collabStatus.offline','row','onPointerLeave$','INVALID_ARGUMENT','univer-online-status-icon','m1Prime','CHANGESET_REVISION_CONFILICT','top','onlineStatusTitle','PY_RUNTIME_SCRIPT_ERROR','getParam','_toggleOffline','_collabCursorState$','_init','has','executionId','_drawTextRange','symbol','_docSkeletonManagerService','path','_getSheetObject','SUBMIT_CHANGESET_TIMEOUT','ACTIVE_UNIT_EVENT_CHANNEL','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','trim','getVpScrollXYInfoByPosToVp','_notificationService','attrs','none','getAncestorScale','AWAITING_WITH_PENDING','length','getValue','dispose','_themeService','_cursorInfo$','pushState','defIds','from','_instanceService','...','substring','_send','setTimeout','memberID','_getSaveTimeout','getCurrentSelections','univer-online-status','LICENSE_IMPORT_SIZE_EXCEEDED','_memberService','addClipboardHook','_handleJoinEvent','runOnServer','type','setInterval','off-line-single_clip0_910_343','HEADER_MENU','OnLineSingle','origin','ONLINE','_docClipboardService','442418eMgZmV','some','_online','actions','debug','_initStatusComponent','YUUMI_SUBSCRIPTION_NOT_FOUND','_handleHover','Unknown\x20user','translate(.97)','_transformPreviousActiveRange','_injector','createSocket','defineProperty','syncEditingCollabCursor','use','setUndoRedoMutationParamsCache','_name','_docSkeleton','_hovered','executeCommand','evenodd','_eventUnsubscribe','getMergeData','_removeCollabCursors','INVITE_CODE_HAS_BEEN_UES','fill','subscribeEvent','1OIMoGp','_collabSessionService','_disabled','pipe','UPDATE_CURSOR','_getSessionTicket','_renderManagerService','FromArray','collaboration-client.offline-data-not-saved','measureText','_initCommandExecutedListener','transformRemoteChangeset','DeleteRangeMoveLeftCommandId','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','arc','getSheetBySheetId','_doCreateSocket','collab-client.tooltip.reconnect','registerComponent','COMPLETION_FINISHED','max','url(#$1','UNIVER_DOC','source','transformSelections','_urlService','collabCursorState$','getFocusedUnit','roomMembers','CLOSE_ROOM','loadUnit','getRangePointData','editingUnit','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_localStorageService','APPLY_REVISION_CONFILICT','backgroundColor','_config','_context','_createSocketURL','_refRangeService','_id','clearTimeout','next','hovered','getCurrent','getStateCache','round','UNAUTHENTICATED','_uiPartsService','with','UNIVER_SHEET','contains','_collaborationUIEventService','session.connection-failed','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','WECHAT_HAS_BEEN_BOUND','collabStatus.synced','_initResize','sessionTicket','on-line-single_clip0_910_349','ranges','disposeUnit','_heartbeatTimer','_textBubble','_range','Warning','currentSkeleton$','PENDING','INTERNAL_ERROR','_unitStatus','permission.content','offline','urlChange$','size','permission.title','redoState','NOT_FOUND','cursorInfo','_hideTimer','univer-offline','url(#on-line-single_clip0_910_349)','291849tUHWja','_scheduleHeartbeat','stringify','then','_docTransformStateCacheService','RemoveColCommandId','_entityInit$','unitId','_registerRenderDependencies','set','_render','all','addEventListener','_univerInstanceService','USER_NOT_INVITED_CODE','map','SYNCED','endRow','unit','min','_status$','0\x200\x2016\x2016','sessionStatus$','SNAPSHOT_INVALID_SNAPSHOT','add','LOGIN_FAILED','getMember','MOBILE_HAS_BEEN_BOUND','getConfig','PERMISSION_DENIED','_anchor','InsertRowCommandId','Failed','_clearOtherTimers','collab-text-anchor-','univer-online','doc.mutation.rich-text-editing','1em','imageSourceType','isEditing','isActive','NO_OTHER_CLIENTS_EDITING','concat','exhaustSavingTask','UNDEFINED','prototype','RECT','ENSURE_SNAPSHOT_EXECUTION','unshift','_cursors','getCollabCursors$','_unitOnClients','call','_cursorShapes','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','black','engine','hasOwnProperty','_logService','_colorIndex','1534093BRAGbX','fillStyle','_ensureSubject','getCollabEntity$','onMouseMove','6GUsTqV','_getMergeRange','_initEntityListener','_docTransformIMECacheService','setConfig','_docTransformSelectionsService','_updateCollabCursors','resize','event$','_colorAssignService','toRgbString','values','application/json','#FFF','getCurrentRevOfUnit','1574570lwTqUu','height','_docSyncEditingCollabCursorService','getTypeOfUnitDisposed$','getMemberID','subscribe','setItem','OffLineSingle','setStateCache','save','_toggleOnline','InsertRangeMoveDownCommandId','requireSession','name','_localCacheService','icon','removeParam','forEach','_saveCache','params','colorChannel1','children','getUnitStatus$','getOffsetConfig','currentColor','complete','clearInterval','makeDirty','FETCH_MISS','delete','_httpService','onlineStatusIcon','_refreshCollabCursors','deepClone','getUniverSheetInstance','_handleEvent','getDocRanges','transformMutationsWithChangeset','transformIMECache','LICENSE_EXPORT_SIZE_EXCEEDED','LICENSE_MAX_UNITS_EXCEEDED','_sheetSkeletonManagerService','lineTo','SNAPSHOT_HAS_BEEN_REMOVED','collab-rect-range-','toString','propertyIsEnumerable','#fff','22632xNvwhH','_docStateChangeManagerService','unsubscribe','textRanges','_transformService','TOO_MANY_REQUESTS','setShapeProps','data','error','_collabCursorController','jiqing500','purple300','indexOf','_cachedData','extend','replaceDocRanges','cursorInfo$','ALREADY_EXISTS','_getAnchorBounding','onStarting','unload','selections','replaceState','svg','location','_onRefRangeChange','_localeService','_handleHeartbeatEvent','transformMutation','tag','clipPath','_backgroundColor','72bTuRnB','show','_revisionService','displayName','_shapes','startsWith','collab-text-range-','getTypeOfUnitAdded$','UniverIcon','saveTaskMap','subUnitId','931NMVmfD','drawWith','idSuffix','_transformUndoRedoStack','init','uni.network.url-service','off-line-single','_handleLeaveEvent','assignAColorForMemberID','activeSheet$','selection','LICENSE_DISTRO_REJECTED','_updateURLWithCurrentState','_saveTaskMap','replace','_startDocCollabCursor','getSheetId','/run/','_initStatusListener'];_0x2148=function(){return _0x44a97a;};return _0x2148();}import{forwardRef as _0x2deb9a,useRef as _0x219936,createElement as _0xc238bb,useCallback as _0x36f78e}from'react';import{IRemoteInstanceService as _0x3c3a4c}from'@univerjs/rpc';var li=Object[_0xbc5111(0x263)],_i=(_0x507062,_0x1555ff,_0x4ae257,_0x169cbf)=>{const _0x2c88c5=_0xbc5111;for(var _0x319840=_0x169cbf>0x1?void 0x0:_0x169cbf?li(_0x1555ff,_0x4ae257):_0x1555ff,_0x5732cf=_0x507062[_0x2c88c5(0x9e)]-0x1,_0x2e9609;_0x5732cf>=0x0;_0x5732cf--)(_0x2e9609=_0x507062[_0x5732cf])&&(_0x319840=_0x2e9609(_0x319840)||_0x319840);return _0x319840;},Qe=(_0x119e81,_0x44fbf9)=>(_0x2a098f,_0x4f5ebf)=>_0x44fbf9(_0x2a098f,_0x4f5ebf,_0x119e81);let Me=class extends _0x3718b9{constructor(_0x480d38,_0x5d380b){const _0x40e911=_0xbc5111;super(),this['_docClipboardService']=_0x480d38,this[_0x40e911(0x23d)]=_0x5d380b,this[_0x40e911(0x293)]();}['_init'](){const _0x44e56d=_0xbc5111,_0x4ab729=this;this['disposeWithMe'](this[_0x44e56d(0xbb)][_0x44e56d(0xb1)]({'onBeforePasteImage':async _0x26e4a2=>{const _0x275c1a=_0x44e56d,_0x1b302a=await _0x4ab729[_0x275c1a(0x23d)]['saveImage'](_0x26e4a2);return _0x1b302a?{'source':_0x1b302a[_0x275c1a(0xf0)],'imageSourceType':_0x1b302a[_0x275c1a(0x151)]}:null;}}));}};Me=_i([Qe(0x0,_0x51286a),Qe(0x1,_0x5700c8)],Me);const qe=[_0xbc5111(0x1b6),_0xbc5111(0x1b5),_0xbc5111(0x220),'red300',_0xbc5111(0x265),_0xbc5111(0x273)];class He extends _0x81bfb6{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0xbc5111(0x1de)](_0x122a01){const _0x403f2c=_0xbc5111;if(this[_0x403f2c(0x257)][_0x403f2c(0x294)](_0x122a01))return this[_0x403f2c(0x257)][_0x403f2c(0x206)](_0x122a01);const _0x83f112=qe[this[_0x403f2c(0x166)]];return this[_0x403f2c(0x166)]=(this[_0x403f2c(0x166)]+0x1)%qe[_0x403f2c(0x9e)],this[_0x403f2c(0x257)][_0x403f2c(0x134)](_0x122a01,_0x83f112),_0x83f112;}}function Dt(_0x2fadfd){const _0x20086e=_0xbc5111;let _0x190b3f='';for(const _0x267fae of _0x2fadfd){const {startOffset:_0x4ba6ca,endOffset:_0x47ef05,isActive:_0x73fec6,rangeType:_0x31bbe6,segmentId:_0x418dbc,segmentPage:_0x498917}=_0x267fae;_0x190b3f[_0x20086e(0x9e)]&&(_0x190b3f+=','),_0x190b3f+=_0x4ba6ca+':'+_0x47ef05+':'+(_0x73fec6?'1':'0')+':'+_0x31bbe6+':'+_0x418dbc+':'+_0x498917;}return _0x190b3f;}function hi(_0x15ff3a){const _0x4b0af2=_0xbc5111,_0x231e8e=_0x15ff3a[_0x4b0af2(0x21c)](','),_0x24e007=[];for(const _0x23fc51 of _0x231e8e){const [_0x5a6fc1,_0x2d473c,_0x17ea2a,_0x3e6bc2,_0x393073,_0x25b3d8]=_0x23fc51[_0x4b0af2(0x21c)](':');_0x24e007[_0x4b0af2(0x216)]({'startOffset':Number(_0x5a6fc1),'endOffset':Number(_0x2d473c),'collapsed':_0x5a6fc1===_0x2d473c,'isActive':_0x17ea2a==='1','rangeType':_0x3e6bc2===_0x2bdbe9['TEXT']?_0x2bdbe9[_0x4b0af2(0x200)]:_0x2bdbe9[_0x4b0af2(0x159)],'segmentId':typeof _0x393073==_0x4b0af2(0x277)?String(_0x393073):'','segmentPage':Number(_0x25b3d8!=null?_0x25b3d8:-0x1)});}return _0x24e007[_0x4b0af2(0xbd)](_0x523458=>_0x523458[_0x4b0af2(0x153)])||(_0x24e007[0x0][_0x4b0af2(0x153)]=!0x0),_0x24e007;}class je extends _0x3718b9{constructor(){const _0x4e0916=_0xbc5111;super(...arguments),_(this,'_collabCursorState$',new _0x596cd4(null)),_(this,_0x4e0916(0xf3),this[_0x4e0916(0x292)][_0x4e0916(0x233)]());}[_0xbc5111(0xca)](_0x160874){const _0xdb3a3b=_0xbc5111,{unitID:_0x3fa4c1,memberID:_0xe4b262,textRanges:_0x22b5a8}=_0x160874,_0x4bd548=Dt(_0x22b5a8);if(_0x4bd548==='')return;const _0x2454a7={'unitID':_0x3fa4c1,'memberID':_0xe4b262,'selection':_0x4bd548};this[_0xdb3a3b(0x292)][_0xdb3a3b(0x104)](_0x2454a7);}}var ui=Object[_0xbc5111(0x263)],di=(_0x2ae0c1,_0x4734c0,_0x4a5f75,_0x36b605)=>{const _0x1b00b0=_0xbc5111;for(var _0x3dbd46=_0x36b605>0x1?void 0x0:_0x36b605?ui(_0x4734c0,_0x4a5f75):_0x4734c0,_0x1b2304=_0x2ae0c1[_0x1b00b0(0x9e)]-0x1,_0x2a1a8b;_0x1b2304>=0x0;_0x1b2304--)(_0x2a1a8b=_0x2ae0c1[_0x1b2304])&&(_0x3dbd46=_0x2a1a8b(_0x3dbd46)||_0x3dbd46);return _0x3dbd46;},U=(_0x34df15,_0x5534ff)=>(_0x1b75cc,_0x3055dd)=>_0x5534ff(_0x1b75cc,_0x3055dd,_0x34df15);const fi=0x12c,Si=0x64;let Pe=class extends _0x3718b9{constructor(_0x59ad05,_0xbc46a7,_0x2050b9,_0x5abbf4,_0x4eac98,_0x28ab64,_0x4a9f2f,_0x538f57,_0x51ecc7){const _0x1b85a4=_0xbc5111;super(),_(this,_0x1b85a4(0xbe),!0x1),_(this,_0x1b85a4(0x293),!0x1),_(this,_0x1b85a4(0xa2),new _0x596cd4(new Map())),_(this,_0x1b85a4(0x1bb),this[_0x1b85a4(0xa2)]['asObservable']()),_(this,_0x1b85a4(0x27b),new _0x596cd4([])),_(this,_0x1b85a4(0x1ea),this[_0x1b85a4(0x27b)][_0x1b85a4(0xdb)](_0x3f9a59(fi))),_(this,'_updateLocalCursor',_0x3466b4(_0x386e23=>{const _0x1392e2=_0x1b85a4,_0x412d8e={'eventID':_0x41f547[_0x1392e2(0xdc)],'data':{'unitID':this[_0x1392e2(0x247)],'memberID':this[_0x1392e2(0x217)][_0x1392e2(0x17f)](),'selection':Dt(_0x386e23)}};this[_0x1392e2(0x217)][_0x1392e2(0x276)](_0x412d8e,this[_0x1392e2(0x247)]);},Si)),(this[_0x1b85a4(0x247)]=_0x59ad05,this[_0x1b85a4(0x217)]=_0xbc46a7,this[_0x1b85a4(0xc7)]=_0x2050b9,this['_colorAssignService']=_0x5abbf4,this[_0x1b85a4(0xb0)]=_0x4eac98,this[_0x1b85a4(0x24b)]=_0x28ab64,this[_0x1b85a4(0x1af)]=_0x4a9f2f,this[_0x1b85a4(0x138)]=_0x538f57,this[_0x1b85a4(0x26b)]=_0x51ecc7);}get['cursorInfo'](){const _0x25bcaa=_0xbc5111;return this[_0x25bcaa(0xa2)][_0x25bcaa(0x9f)]();}get[_0xbc5111(0xf5)](){const _0x4180f1=_0xbc5111;return this[_0x4180f1(0x27b)][_0x4180f1(0x9f)]();}[_0xbc5111(0xa0)](){const _0x56be84=_0xbc5111;super[_0x56be84(0xa0)](),this[_0x56be84(0xa2)][_0x56be84(0x104)](new Map()),this[_0x56be84(0xa2)][_0x56be84(0x194)](),this[_0x56be84(0x27b)][_0x56be84(0x104)]([]),this['_roomMembers$']['complete']();}[_0xbc5111(0x1da)](){const _0x5d7188=_0xbc5111;this[_0x5d7188(0x293)]||(this[_0x5d7188(0x293)]=!0x0,this['_session'][_0x5d7188(0x141)][_0x5d7188(0xdb)](_0x225be1(this[_0x5d7188(0x25e)]))[_0x5d7188(0x180)](_0x33d8d0=>{const _0x48386c=_0x5d7188;_0x33d8d0===_0x78e073[_0x48386c(0xba)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x5d7188(0x217)][_0x5d7188(0x174)][_0x5d7188(0xdb)](_0x225be1(this['dispose$']))[_0x5d7188(0x180)](_0xd68ac0=>{const _0x5538ea=_0x5d7188,_0x5e50e6=_0xd68ac0[_0x5538ea(0x280)];_0x5e50e6===_0x41f547[_0x5538ea(0xdc)]&&this[_0x5538ea(0x1fe)](_0xd68ac0),_0x5e50e6===_0x41f547[_0x5538ea(0x255)]&&this[_0x5538ea(0x283)](_0xd68ac0);}),this[_0x5d7188(0x262)](this[_0x5d7188(0x26b)]['onCommandExecuted'](_0x22ff58=>{const _0x156b93=_0x5d7188,_0x16d37f=_0x22ff58[_0x156b93(0x18e)];_0x16d37f!=null&&this[_0x156b93(0xbe)]&&_0x22ff58['id']===_0x27b5ce['id']&&_0x16d37f['unitId']===this['unitID']&&_0x16d37f[_0x156b93(0x152)]===!0x1&&_0x16d37f[_0x156b93(0x116)][_0x156b93(0x9e)]>0x0&&this[_0x156b93(0x209)](_0x16d37f[_0x156b93(0x116)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x5d7188(0xdb)](_0x225be1(this[_0x5d7188(0x25e)]))['subscribe'](_0x2b829e=>{const _0x1ab3e7=_0x5d7188;if((_0x2b829e==null?void 0x0:_0x2b829e[_0x1ab3e7(0x247)])!==this['unitID'])return;const _0x5d1125={'eventID':_0x41f547[_0x1ab3e7(0xdc)],'data':_0x2b829e};this['_onCursorUpdate'](_0x5d1125);}),this[_0x5d7188(0x262)](this[_0x5d7188(0x26b)][_0x5d7188(0x212)](_0x7be979=>{const _0x21d63b=_0x5d7188;if(_0x7be979[_0x21d63b(0x18e)]==null)return;const _0x22be95=_0x7be979[_0x21d63b(0x18e)];if(_0x7be979['id']!==_0x2f30bd['id']||_0x22be95[_0x21d63b(0x132)]!==this['unitID'])return;const _0x21666c={'id':'doc.mutation.rich-text-editing','params':_0x22be95},_0x21d228=this['cursorInfo'];for(const [_0x283037,_0x2bc6db]of _0x21d228){const _0x528b2d={'id':_0x21d63b(0x14f),'params':{'unitId':this[_0x21d63b(0x247)],'actions':null,'textRanges':_0x2bc6db[_0x21d63b(0x116)]}},_0x1ed31f=this['_transformService'][_0x21d63b(0x1c7)](_0x21666c,_0x528b2d,!0x1);if(_0x481950(_0x1ed31f))throw _0x1ed31f[_0x21d63b(0x1b3)];_0x21d228[_0x21d63b(0x134)](_0x283037,{..._0x2bc6db,'ranges':_0x1ed31f[_0x21d63b(0x1f4)][_0x21d63b(0x18e)][_0x21d63b(0x1ae)]});}queueMicrotask(()=>{const _0x141ab2=_0x21d63b;this[_0x141ab2(0xa2)]['next'](_0x21d228);});})));}[_0xbc5111(0x1fe)](_0x33eec2){const _0x4e6d12=_0xbc5111;var _0x1e3d7f,_0x3b47c0;const {memberID:_0x35064f,selection:_0x326ab6}=_0x33eec2[_0x4e6d12(0x1b2)],_0xf68727=hi(_0x326ab6),_0x5d5092=(_0x3b47c0=(_0x1e3d7f=this[_0x4e6d12(0xb0)]['getMember'](this[_0x4e6d12(0x247)],_0x35064f))==null?void 0x0:_0x1e3d7f['name'])!=null?_0x3b47c0:_0x4e6d12(0xc4),_0x538bdd={'color':this[_0x4e6d12(0x175)]['assignAColorForMemberID'](_0x35064f),'name':_0x5d5092,'ranges':_0xf68727},_0x14cc52=this['cursorInfo'];_0x14cc52[_0x4e6d12(0x134)](_0x35064f,_0x538bdd),this[_0x4e6d12(0xa2)][_0x4e6d12(0x104)](_0x14cc52);}[_0xbc5111(0x283)](_0x219c0f){const _0x3321ca=_0xbc5111,{memberID:_0x14231d}=_0x219c0f['data'],_0x3e6134=this[_0x3321ca(0x127)];_0x3e6134[_0x3321ca(0x198)](_0x14231d),this[_0x3321ca(0xa2)][_0x3321ca(0x104)](_0x3e6134);}[_0xbc5111(0x185)](){const _0x4a5905=_0xbc5111;var _0x559769;if(this[_0x4a5905(0xbe)]=!0x0,((_0x559769=this[_0x4a5905(0x138)][_0x4a5905(0xf4)]())==null?void 0x0:_0x559769[_0x4a5905(0x27d)]())!==this['unitID'])return;const _0x5d6fcf=this['_injector'][_0x4a5905(0x206)](_0x3a333b)[_0x4a5905(0x19f)]();Array[_0x4a5905(0x242)](_0x5d6fcf)&&_0x5d6fcf['length']>0x0&&this[_0x4a5905(0x209)](_0x5d6fcf);}[_0xbc5111(0x291)](){const _0xc3a47b=_0xbc5111;this[_0xc3a47b(0xbe)]=!0x1;}};Pe=di([U(0x2,_0x5eeb0c(_0x1ac001)),U(0x3,_0x5eeb0c(He)),U(0x4,_0x5eeb0c(_0x5980a1)),U(0x5,_0x5eeb0c(je)),U(0x6,_0x190912),U(0x7,_0x2e829f),U(0x8,_0x2df7f1)],Pe);var mi=Object['getOwnPropertyDescriptor'],gi=(_0x1df2d6,_0x19f4d6,_0x161709,_0x50c759)=>{const _0x49121e=_0xbc5111;for(var _0x476098=_0x50c759>0x1?void 0x0:_0x50c759?mi(_0x19f4d6,_0x161709):_0x19f4d6,_0x362234=_0x1df2d6[_0x49121e(0x9e)]-0x1,_0x5076c8;_0x362234>=0x0;_0x362234--)(_0x5076c8=_0x1df2d6[_0x362234])&&(_0x476098=_0x5076c8(_0x476098)||_0x476098);return _0x476098;},x=(_0x52a662,_0xc0f31a)=>(_0x1c7578,_0x154377)=>_0xc0f31a(_0x1c7578,_0x154377,_0x52a662);const vi=0x12c,Ii=0x64,pi=()=>{let _0x2522a6=[],_0x25ae2f=!0x1;return _0x293300=>{_0x2522a6['push'](_0x293300),_0x25ae2f||(_0x25ae2f=!0x0,setTimeout(()=>{_0x2522a6['forEach'](_0x4aaa09=>_0x4aaa09()),_0x2522a6=[],_0x25ae2f=!0x1;}));};};let we=class extends _0x3718b9{constructor(_0x1063e2,_0x2500c0,_0xcfb84f,_0x34307a,_0x31e5cb,_0x18d6bf,_0x5ddca9,_0x549de9){const _0x1551f1=_0xbc5111;super(),_(this,'_online',!0x1),_(this,_0x1551f1(0x293),!0x1),_(this,_0x1551f1(0xa2),new _0x596cd4(new Map())),_(this,_0x1551f1(0x1bb),this[_0x1551f1(0xa2)][_0x1551f1(0x233)]()),_(this,_0x1551f1(0x27b),new _0x596cd4([])),_(this,'roomMembers$',this[_0x1551f1(0x27b)][_0x1551f1(0xdb)](_0x3f9a59(vi))),_(this,_0x1551f1(0x209),_0x3466b4((_0x37b7dc,_0x57b4ca)=>{const _0x102445=_0x1551f1,_0x461e47={'eventID':_0x41f547[_0x102445(0xdc)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x102445(0x17f)](),'selection':_0x243425(_0x37b7dc,_0x57b4ca['range'])}};this[_0x102445(0x217)][_0x102445(0x276)](_0x461e47,this[_0x102445(0x247)]);},Ii)),(this[_0x1551f1(0x247)]=_0x1063e2,this[_0x1551f1(0x217)]=_0x2500c0,this['_injector']=_0xcfb84f,this[_0x1551f1(0x175)]=_0x34307a,this[_0x1551f1(0xb0)]=_0x31e5cb,this[_0x1551f1(0x138)]=_0x18d6bf,this['_commandService']=_0x5ddca9,this[_0x1551f1(0x101)]=_0x549de9);}get[_0xbc5111(0x127)](){const _0x4276c3=_0xbc5111;return this[_0x4276c3(0xa2)]['getValue']();}get[_0xbc5111(0xf5)](){const _0x1433b7=_0xbc5111;return this['_roomMembers$'][_0x1433b7(0x9f)]();}[_0xbc5111(0xa0)](){const _0x500b46=_0xbc5111;super[_0x500b46(0xa0)](),this['_cursorInfo$'][_0x500b46(0x104)](new Map()),this[_0x500b46(0xa2)][_0x500b46(0x194)](),this[_0x500b46(0x27b)][_0x500b46(0x104)]([]),this[_0x500b46(0x27b)][_0x500b46(0x194)]();}[_0xbc5111(0x1da)](){const _0x5025f5=_0xbc5111;this[_0x5025f5(0x293)]||(this[_0x5025f5(0x293)]=!0x0,this[_0x5025f5(0x217)]['sessionStatus$'][_0x5025f5(0xdb)](_0x225be1(this[_0x5025f5(0x25e)]))['subscribe'](_0x5e612e=>{const _0x282593=_0x5025f5;_0x5e612e===_0x78e073['ONLINE']?this[_0x282593(0x185)]():this[_0x282593(0x291)]();}),this[_0x5025f5(0x217)][_0x5025f5(0x174)][_0x5025f5(0xdb)](_0x225be1(this['dispose$']))['subscribe'](_0x15a374=>{const _0x56666a=_0x5025f5,_0x4d6d14=_0x15a374[_0x56666a(0x280)];_0x4d6d14===_0x41f547['UPDATE_CURSOR']&&this[_0x56666a(0x1fe)](_0x15a374),_0x4d6d14===_0x41f547[_0x56666a(0x255)]&&this[_0x56666a(0x283)](_0x15a374);}),this[_0x5025f5(0x1c4)](),this['disposeWithMe'](this[_0x5025f5(0x26b)][_0x5025f5(0x212)](_0x3155e8=>{const _0x393eb9=_0x5025f5;if(this[_0x393eb9(0xbe)]&&_0x3155e8['id']===_0x17137e['id']&&_0x3155e8[_0x393eb9(0x18e)]['unitId']===this[_0x393eb9(0x247)]){const _0x4edd02=_0x3155e8[_0x393eb9(0x18e)];this[_0x393eb9(0x209)](_0x4edd02[_0x393eb9(0x1d5)],_0x4edd02[_0x393eb9(0x1c0)][0x0]);}})));}['_onCursorUpdate'](_0x420ed4){const _0x3c0ffa=_0xbc5111;var _0x11386d,_0x4a680a;const {memberID:_0x164374,selection:_0x42063c}=_0x420ed4[_0x3c0ffa(0x1b2)],{sheetName:_0x52e801,range:_0x226f7c}=_0x5909a0(_0x42063c),_0x2fe403={'name':(_0x4a680a=(_0x11386d=this[_0x3c0ffa(0xb0)][_0x3c0ffa(0x145)](this[_0x3c0ffa(0x247)],_0x164374))==null?void 0x0:_0x11386d[_0x3c0ffa(0x188)])!=null?_0x4a680a:_0x3c0ffa(0xc4),'range':this['_getMergeRange'](_0x52e801,_0x226f7c),'sheetID':_0x52e801,'color':this['_colorAssignService'][_0x3c0ffa(0x1de)](_0x164374),'selection':_0x42063c},_0xab2cd8=this[_0x3c0ffa(0x127)];_0xab2cd8[_0x3c0ffa(0x134)](_0x164374,_0x2fe403),this[_0x3c0ffa(0xa2)][_0x3c0ffa(0x104)](_0xab2cd8);}[_0xbc5111(0x283)](_0x4873cc){const _0x2c56a6=_0xbc5111,{memberID:_0x306e16}=_0x4873cc[_0x2c56a6(0x1b2)],_0x4d4a4c=this[_0x2c56a6(0x127)];_0x4d4a4c['delete'](_0x306e16),this[_0x2c56a6(0xa2)][_0x2c56a6(0x104)](_0x4d4a4c);}[_0xbc5111(0x16d)](_0x31aeb2,_0x57fcfd){const _0xd984e3=_0xbc5111;var _0x32e834,_0x3124cf;const _0x2a9453=(_0x3124cf=(_0x32e834=this[_0xd984e3(0x138)][_0xd984e3(0x19d)](this[_0xd984e3(0x247)]))==null?void 0x0:_0x32e834[_0xd984e3(0xe8)](_0x31aeb2))==null?void 0x0:_0x3124cf[_0xd984e3(0xd3)]();return(_0x2a9453==null?void 0x0:_0x2a9453['find'](_0x531456=>_0x397bb1[_0xd984e3(0x10d)](_0x531456,_0x57fcfd)))||_0x57fcfd;}['_onRefRangeChange'](){const _0xce240b=_0xbc5111,_0x4a16df=new _0x531d4e(),_0x127df8=pi(),_0xce7371=()=>{const _0x56e541=_0x29cc;_0x4a16df[_0x56e541(0xa0)]();const _0x3a5fce=(_0x12100f,_0x51b867,_0x3d6fb2,_0x17a586)=>{const _0x3b2cb5=_0x56e541;let _0x2079b4=[];switch(_0x12100f['id']){case _0x4d6815[_0x3b2cb5(0xe4)]:{_0x2079b4=_0x5d308c(_0x12100f,_0x17a586);break;}case _0x4d6815[_0x3b2cb5(0x225)]:{_0x2079b4=_0x2e2be3(_0x12100f,_0x17a586);break;}case _0x4d6815['InsertColCommandId']:{_0x2079b4=_0x2c0b20(_0x12100f,_0x17a586);break;}case _0x4d6815[_0x3b2cb5(0x186)]:{_0x2079b4=_0x4ac1ef(_0x12100f,_0x17a586);break;}case _0x4d6815[_0x3b2cb5(0x26d)]:{_0x2079b4=_0x48ceff(_0x12100f,_0x17a586);break;}case _0x4d6815[_0x3b2cb5(0x14a)]:{_0x2079b4=_0x360322(_0x12100f,_0x17a586);break;}case _0x4d6815['MoveRangeCommandId']:{_0x2079b4=_0x495c27(_0x12100f,_0x17a586);break;}case _0x4d6815[_0x3b2cb5(0x130)]:{_0x2079b4=_0x4222ad(_0x12100f,_0x17a586);break;}case _0x4d6815['RemoveRowCommandId']:{_0x2079b4=_0x559688(_0x12100f,_0x17a586);break;}}const _0x661ac4=_0x48fe90(_0x2079b4,_0x17a586),_0x3c8c97=this[_0x3b2cb5(0x127)]['get'](_0x51b867);if(_0x3c8c97&&_0x661ac4){const _0x57bb86={..._0x3c8c97,'range':_0x661ac4};this['cursorInfo']['set'](_0x51b867,_0x57bb86),_0x127df8(()=>{const _0x2235ee=_0x3b2cb5,_0x376620=this[_0x2235ee(0x101)][_0x2235ee(0x237)](_0x661ac4,_0x5bdafe=>(_0x376620[_0x2235ee(0xa0)](),_0x3a5fce(_0x5bdafe,_0x51b867,_0x3d6fb2,_0x661ac4)));_0x4a16df[_0x2235ee(0x143)](_0x376620);});}return{'redos':[],'undos':[]};};this[_0x56e541(0x127)][_0x56e541(0x18c)]((_0x432f7a,_0x2763cf)=>{const _0x2def0f=_0x56e541,{range:_0x1226e5,sheetID:_0x487d0a}=_0x432f7a,_0x17e1ba=this[_0x2def0f(0x101)]['registerRefRange'](_0x1226e5,_0x9217cd=>(_0x17e1ba[_0x2def0f(0xa0)](),_0x3a5fce(_0x9217cd,_0x2763cf,_0x487d0a,_0x1226e5)));_0x4a16df[_0x2def0f(0x143)](_0x17e1ba);});};this[_0xce240b(0x262)](_0x7ed4d2(this[_0xce240b(0xa2)][_0xce240b(0x180)](()=>{_0xce7371();})));}['_toggleOnline'](){const _0x267284=_0xbc5111;var _0x46e2ba,_0x4be4ff;if(this[_0x267284(0xbe)]=!0x0,((_0x46e2ba=this[_0x267284(0x138)][_0x267284(0xf4)]())==null?void 0x0:_0x46e2ba[_0x267284(0x27d)]())!==this['unitID'])return;const _0x3c7978=(_0x4be4ff=this[_0x267284(0xc7)][_0x267284(0x206)](_0x3ee2c1)[_0x267284(0xad)]())==null?void 0x0:_0x4be4ff[0x0],_0x24d2f8=this[_0x267284(0x138)]['getCurrentUnitForType'](_0xd95464['UNIVER_SHEET'])[_0x267284(0x256)]();_0x3c7978&&_0x24d2f8&&this[_0x267284(0x209)](_0x24d2f8[_0x267284(0x1e6)](),_0x3c7978);}[_0xbc5111(0x291)](){const _0x55593f=_0xbc5111;this[_0x55593f(0xbe)]=!0x1;}};we=gi([x(0x2,_0x5eeb0c(_0x1ac001)),x(0x3,_0x5eeb0c(He)),x(0x4,_0x5eeb0c(_0x5980a1)),x(0x5,_0x2e829f),x(0x6,_0x2df7f1),x(0x7,_0x5eeb0c(_0x91852f))],we);function _0x29cc(_0x2f9d5c,_0x7c174b){const _0x2148e6=_0x2148();return _0x29cc=function(_0x29cc95,_0x43fa84){_0x29cc95=_0x29cc95-0x8f;let _0x4108a2=_0x2148e6[_0x29cc95];return _0x4108a2;},_0x29cc(_0x2f9d5c,_0x7c174b);}var Ci=Object[_0xbc5111(0x263)],Ei=(_0x5f521b,_0x2877a2,_0x4f8de2,_0xa31f9a)=>{const _0xa790fe=_0xbc5111;for(var _0x1edbb3=_0xa31f9a>0x1?void 0x0:_0xa31f9a?Ci(_0x2877a2,_0x4f8de2):_0x2877a2,_0x4ab3fb=_0x5f521b[_0xa790fe(0x9e)]-0x1,_0x143f2f;_0x4ab3fb>=0x0;_0x4ab3fb--)(_0x143f2f=_0x5f521b[_0x4ab3fb])&&(_0x1edbb3=_0x143f2f(_0x1edbb3)||_0x1edbb3);return _0x1edbb3;},me=(_0xf0c258,_0xfd8ada)=>(_0x346412,_0x41b625)=>_0xfd8ada(_0x346412,_0x41b625,_0xf0c258);let H=class extends _0x3718b9{constructor(_0x11cc5e,_0x59dee5,_0x4fd9a3){const _0x15ac8b=_0xbc5111;super(),_(this,_0x15ac8b(0x1f6),new Map()),_(this,_0x15ac8b(0x131),new _0x57f626()),(this[_0x15ac8b(0x138)]=_0x11cc5e,this[_0x15ac8b(0xc7)]=_0x59dee5,this[_0x15ac8b(0xd9)]=_0x4fd9a3,this['_init']());}[_0xbc5111(0xa0)](){const _0x2e27bf=_0xbc5111;super[_0x2e27bf(0xa0)](),this[_0x2e27bf(0x131)][_0x2e27bf(0x194)](),this['_entities'][_0x2e27bf(0x18c)](_0x37c38c=>_0x37c38c[_0x2e27bf(0xa0)]());}[_0xbc5111(0x15d)](_0x2ce08e){const _0x246246=_0xbc5111;return this[_0x246246(0x1f6)]['has'](_0x2ce08e)?this['_entities'][_0x246246(0x206)](_0x2ce08e)[_0x246246(0x1bb)]:this[_0x246246(0x131)][_0x246246(0xdb)](_0x14cbca(_0x50c00a=>_0x50c00a[_0x246246(0x247)]===_0x2ce08e),_0x3ebe65(_0x412693=>_0x412693['cursorInfo$']));}[_0xbc5111(0x293)](){const _0x3126c4=_0xbc5111;this[_0x3126c4(0x138)]['getTypeOfUnitAdded$'](_0xd95464[_0x3126c4(0x10c)])[_0x3126c4(0xdb)](_0x225be1(this['dispose$']))[_0x3126c4(0x180)](async _0x3c96e9=>{const _0x33b0f9=_0x3126c4,_0x6fd7fc=_0x3c96e9[_0x33b0f9(0x27d)](),_0x5285c4=await this['_startSheetCollabCursor'](_0x6fd7fc);this['_entityInit$']['next'](_0x5285c4),this[_0x33b0f9(0x1f6)][_0x33b0f9(0x134)](_0x6fd7fc,_0x5285c4);}),this['_univerInstanceService'][_0x3126c4(0x1d2)](_0xd95464[_0x3126c4(0xef)])[_0x3126c4(0xdb)](_0x225be1(this[_0x3126c4(0x25e)]))[_0x3126c4(0xdb)](_0x14cbca(_0x3ddf12=>!_0x3ddf12[_0x3126c4(0x27d)]()[_0x3126c4(0x1d0)]('__')))[_0x3126c4(0x180)](async _0x62d18a=>{const _0x2419f5=_0x3126c4,_0x216930=_0x62d18a['getUnitId'](),_0x3c1253=await this[_0x2419f5(0x1e5)](_0x216930);this[_0x2419f5(0x131)][_0x2419f5(0x104)](_0x3c1253),this['_entities'][_0x2419f5(0x134)](_0x216930,_0x3c1253);}),_0x1588de(this[_0x3126c4(0x138)][_0x3126c4(0x17e)](_0xd95464[_0x3126c4(0xef)]),this[_0x3126c4(0x138)][_0x3126c4(0x17e)](_0xd95464[_0x3126c4(0x10c)]))[_0x3126c4(0xdb)](_0x225be1(this['dispose$']))[_0x3126c4(0x180)](_0x121a43=>{const _0x1c02b0=_0x3126c4,_0x36e7c0=_0x121a43[_0x1c02b0(0x27d)](),_0x3d3b44=this[_0x1c02b0(0x1f6)][_0x1c02b0(0x206)](_0x36e7c0);_0x3d3b44&&(_0x3d3b44[_0x1c02b0(0xa0)](),this[_0x1c02b0(0x1f6)][_0x1c02b0(0x198)](_0x36e7c0));});}async[_0xbc5111(0x270)](_0x5832ba){const _0x164d40=_0xbc5111,_0x51ae99=await this[_0x164d40(0xd9)][_0x164d40(0x187)](_0x5832ba),_0xb97a85=this[_0x164d40(0xc7)][_0x164d40(0x207)](we,_0x5832ba,_0x51ae99);return _0xb97a85[_0x164d40(0x1da)](),_0xb97a85;}async[_0xbc5111(0x1e5)](_0x5e6829){const _0x22a5ae=_0xbc5111,_0x2e56c8=await this[_0x22a5ae(0xd9)][_0x22a5ae(0x187)](_0x5e6829),_0x16daa8=this['_injector'][_0x22a5ae(0x207)](Pe,_0x5e6829,_0x2e56c8);return _0x16daa8[_0x22a5ae(0x1da)](),_0x16daa8;}};H=Ei([me(0x0,_0x2e829f),me(0x1,_0x5eeb0c(_0x1ac001)),me(0x2,_0x5eeb0c(_0x26c35c))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x5a0ab9,_0x2d7d){const _0x41410f=_0xbc5111;let {radius:_0x5d52e8,width:_0x4a6bb9,height:_0x212aa2}=_0x2d7d;_0x5d52e8=_0x5d52e8!=null?_0x5d52e8:0x0,_0x4a6bb9=_0x4a6bb9!=null?_0x4a6bb9:0x1e,_0x212aa2=_0x212aa2!=null?_0x212aa2:0x1e;let _0xdcfe8d=0x0,_0xc5c870=0x0,_0x582386=0x0;_0xdcfe8d=_0xc5c870=_0x582386=Math['min'](_0x5d52e8,_0x4a6bb9/0x2,_0x212aa2/0x2),_0x5a0ab9[_0x41410f(0x21b)](),_0x5a0ab9['moveTo'](_0xdcfe8d,0x0),_0x5a0ab9[_0x41410f(0x1a5)](_0x4a6bb9-_0xc5c870,0x0),_0x5a0ab9[_0x41410f(0xe7)](_0x4a6bb9-_0xc5c870,_0xc5c870,_0xc5c870,Math['PI']*0x3/0x2,0x0,!0x1),_0x5a0ab9[_0x41410f(0x1a5)](_0x4a6bb9,_0x212aa2-_0x582386),_0x5a0ab9['arc'](_0x4a6bb9-_0x582386,_0x212aa2-_0x582386,_0x582386,0x0,Math['PI']/0x2,!0x1),_0x5a0ab9[_0x41410f(0x1a5)](0x0,_0x212aa2),_0x5a0ab9[_0x41410f(0x1a5)](0x0,_0xdcfe8d),_0x5a0ab9[_0x41410f(0xe7)](_0xdcfe8d,_0xdcfe8d,_0xdcfe8d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5a0ab9['closePath'](),_0x2d7d[_0x41410f(0xd6)]&&(_0x5a0ab9[_0x41410f(0x184)](),_0x5a0ab9[_0x41410f(0x168)]=_0x2d7d[_0x41410f(0xd6)],_0x2d7d['fillRule']===_0x41410f(0xd1)?_0x5a0ab9['fill'](_0x41410f(0xd1)):_0x5a0ab9[_0x41410f(0xd6)](),_0x5a0ab9['restore']());}class ue extends _0x28b603{constructor(_0x5de660,_0x361e90){const _0x10977b=_0xbc5111;super(_0x5de660,_0x361e90),_(this,_0x10977b(0x22e)),_(this,_0x10977b(0x275)),(this[_0x10977b(0x22e)]=_0x361e90==null?void 0x0:_0x361e90['color'],this[_0x10977b(0x275)]=_0x361e90==null?void 0x0:_0x361e90[_0x10977b(0x275)]);}static[_0xbc5111(0x1d7)](_0x505df7,_0x5602e5){const _0x36b925=_0xbc5111,{text:_0x4b23e9,color:_0x3050f3}=_0x5602e5;_0x505df7[_0x36b925(0x184)](),_0x505df7[_0x36b925(0x279)]=_0x36b925(0x96);const _0x609878=_0x505df7[_0x36b925(0xe1)](_0x4b23e9)[_0x36b925(0x22d)],_0x3abfe4=Math[_0x36b925(0x13e)](_0x609878+0x2*ge,et);Oi(_0x505df7,{'height':te,'radius':0x4,'width':_0x3abfe4,'fill':_0x3050f3}),_0x505df7[_0x36b925(0x168)]=_0x36b925(0x179);const _0x4b36eb=ge,_0x466d2f=te-bi,_0x2eb858=et-0x2*ge;if(_0x609878>_0x2eb858){let _0x3d84a9='',_0x5a9368=0x0;for(const _0x2ad5ff of _0x4b23e9){const _0x218230=_0x505df7[_0x36b925(0xe1)](_0x2ad5ff)['width'];if(_0x5a9368+_0x218230<=_0x2eb858-_0x505df7['measureText'](_0x36b925(0xa7))['width'])_0x3d84a9+=_0x2ad5ff,_0x5a9368+=_0x218230;else{_0x3d84a9+=_0x36b925(0xa7);break;}}_0x505df7[_0x36b925(0x25b)](_0x3d84a9,_0x4b36eb,_0x466d2f);}else _0x505df7['fillText'](_0x4b23e9,_0x4b36eb,_0x466d2f);_0x505df7[_0x36b925(0x1f8)]();}[_0xbc5111(0x1f2)](_0x5d1cc3){const _0x56475c=_0xbc5111;ue[_0x56475c(0x1d7)](_0x5d1cc3,this);}}const ve=_0xbc5111(0x14d),Ti=_0xbc5111(0x1d1),Ri=_0xbc5111(0x1a7),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0xbc5111(0x226);class tt{constructor(_0x5239ae,_0x39a59b,_0x564b67,_0x59e074){const _0x55bb6a=_0xbc5111;_(this,_0x55bb6a(0x1cf),[]),_(this,_0x55bb6a(0x149),null),_(this,'_textBubble',null),_(this,_0x55bb6a(0x239),null),_(this,'_hideTimer',null),_(this,_0x55bb6a(0xd2),null),(this[_0x55bb6a(0x271)]=_0x5239ae,this[_0x55bb6a(0x240)]=_0x39a59b,this[_0x55bb6a(0xce)]=_0x564b67,this[_0x55bb6a(0x248)]=_0x59e074,this['_render']());}set[_0xbc5111(0x21f)](_0x5d8937){const _0x3f21c0=_0xbc5111;_0x5d8937?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x3f21c0(0x119)]&&this[_0x3f21c0(0x119)][_0x3f21c0(0x1cc)]()):(this[_0x3f21c0(0x239)]&&this[_0x3f21c0(0x239)][_0x3f21c0(0x1cc)](),this[_0x3f21c0(0x119)]&&this[_0x3f21c0(0x119)][_0x3f21c0(0x241)]());}['dispose'](){const _0x5c5700=_0xbc5111;for(const _0x48ff59 of this['_shapes'])_0x48ff59[_0x5c5700(0xa0)]();this['_textBubble']&&this[_0x5c5700(0x119)]['dispose'](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x5c5700(0x149)]&&this[_0x5c5700(0x149)][_0x5c5700(0xa0)](),this[_0x5c5700(0xd2)]&&this[_0x5c5700(0xd2)]();}[_0xbc5111(0x135)](){const _0x452f2f=_0xbc5111;var _0x550f39;const {_docSkeleton:_0x44e945,_document:_0x4bd117}=this,{color:_0x2cb1ea,name:_0x480547,ranges:_0x22b78f}=this[_0x452f2f(0x271)],_0x1ee278=_0x4bd117[_0x452f2f(0x192)](),{docsLeft:_0xb2c237,docsTop:_0x72356b}=_0x1ee278,_0x34226c=new _0x1679f3(_0x1ee278,_0x44e945);for(const {startOffset:_0x2dc24e,endOffset:_0x11f4dd,rangeType:_0x569a14,segmentId:_0x839f7,segmentPage:_0x33bcf0,collapsed:_0x370229,isActive:_0x13adfb}of _0x22b78f){const _0x5a5161=_0x44e945[_0x452f2f(0x281)](_0x2dc24e,!0x0,_0x839f7,_0x33bcf0);let _0x48479f=_0x44e945[_0x452f2f(0x281)](_0x11f4dd,!0x0,_0x839f7,_0x33bcf0);if(_0x48479f==null&&(_0x48479f=_0x44e945['findNodePositionByCharIndex'](_0x11f4dd-0x1,!0x1,_0x839f7,_0x33bcf0)),_0x13adfb){const {contentBoxPointGroup:_0x333caf}=_0x34226c[_0x452f2f(0xf8)](_0x48479f,_0x48479f);if(_0x333caf[_0x452f2f(0x9e)]===0x0)continue;this[_0x452f2f(0x23c)](_0x2cb1ea,_0x333caf,_0xb2c237,_0x72356b,_0x480547),this[_0x452f2f(0xd2)]=this[_0x452f2f(0xc3)]();}if(_0x5a5161&&_0x48479f){if(_0x569a14===_0x2bdbe9[_0x452f2f(0x159)]){const _0x375946=new _0xc178fb(_0x1ee278,_0x44e945),{pointGroup:_0x5caaea}=(_0x550f39=_0x375946[_0x452f2f(0xf8)](_0x5a5161,_0x48479f))!=null?_0x550f39:{};if(_0x5caaea==null||_0x5caaea[_0x452f2f(0x9e)]===0x0)continue;this[_0x452f2f(0x26c)](_0x2cb1ea,_0x5caaea,_0xb2c237,_0x72356b);}else{if(!_0x370229){const {borderBoxPointGroup:_0x561271}=_0x34226c['getRangePointData'](_0x5a5161,_0x48479f);if(_0x561271['length']===0x0)continue;this[_0x452f2f(0x8f)](_0x2cb1ea,_0x561271,_0xb2c237,_0x72356b);}}}}}[_0xbc5111(0x23c)](_0x1973bc,_0x40d69a,_0x28e1a9,_0x3faf59,_0x43076e){const _0x3ba9d3=_0xbc5111,_0x345e62=this[_0x3ba9d3(0x1bd)](_0x40d69a),{left:_0x52229a,top:_0x206f66,height:_0x2b7b34}=_0x345e62,_0x3b9cc9=this[_0x3ba9d3(0x259)](),_0x5bfd44=Ni/_0x3b9cc9,_0x393aaa=new _0x3462a9(ve+_0x665b8b[_0x3ba9d3(0x227)](X),{'left':_0x52229a+_0x28e1a9-_0x5bfd44,'top':_0x206f66+_0x3faf59,'height':_0x2b7b34,'width':Di,'fill':_0x1973bc||_0x937d12(_0x169118[_0x3ba9d3(0x162)],0x0),'strokeWidth':_0x5bfd44,'stroke':Mi,'evented':!0x0});this[_0x3ba9d3(0x149)]=_0x393aaa,this['_scene']['addObject'](_0x393aaa,_0x4300de);const _0xb309f7=new _0x3462a9(ve+_0x665b8b['generateRandomId'](X),{'left':_0x52229a+_0x28e1a9-_0x5bfd44,'top':_0x206f66+_0x3faf59-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x1973bc||_0x937d12(_0x169118[_0x3ba9d3(0x162)],0x0),'strokeWidth':0x0,'stroke':_0x1973bc||_0x937d12(_0x169118[_0x3ba9d3(0x162)],0x0),'evented':!0x1});this['_anchorDot']=_0xb309f7,this[_0x3ba9d3(0x240)][_0x3ba9d3(0x218)](_0xb309f7,_0x4300de);const _0x5075d3=new ue(ve+_0x665b8b[_0x3ba9d3(0x227)](X),{'left':_0x52229a+_0x28e1a9-_0x5bfd44,'top':_0x206f66+_0x3faf59-te,'text':_0x43076e,'color':_0x1973bc});this[_0x3ba9d3(0x119)]=_0x5075d3,this[_0x3ba9d3(0x240)]['addObject'](_0x5075d3,_0x4300de),this[_0x3ba9d3(0x21f)]=!0x1;}[_0xbc5111(0xc3)](){const _0x1bf0a8=_0xbc5111,_0x51742e=this['_anchor'][_0x1bf0a8(0x1f5)][_0x1bf0a8(0xd7)](()=>{this['_hover']=!0x0;}),_0x5ea166=this[_0x1bf0a8(0x149)][_0x1bf0a8(0x288)][_0x1bf0a8(0xd7)](()=>{const _0x193785=_0x1bf0a8;this[_0x193785(0x128)]&&clearTimeout(this[_0x193785(0x128)]),this[_0x193785(0x128)]=setTimeout(()=>{const _0x291382=_0x193785;this[_0x291382(0x21f)]=!0x1;},0x7d0);});return()=>{const _0x25c95b=_0x1bf0a8;_0x51742e['unsubscribe'](),_0x5ea166[_0x25c95b(0x1ad)]();};}[_0xbc5111(0x8f)](_0x425389,_0x10cc1c,_0x268347,_0x3a3741){const _0x7a99e3=_0xbc5111,_0x2401ad=new _0x47d0d2(_0x425389)[_0x7a99e3(0x21d)](0.2)[_0x7a99e3(0x176)](),_0x3fc334=new _0x3ed4f8(Ti+_0x665b8b['generateRandomId'](X),{'pointsGroup':_0x10cc1c,'fill':_0x2401ad||_0x937d12(_0x169118[_0x7a99e3(0x162)],0.2),'left':_0x268347,'top':_0x3a3741,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x7a99e3(0x1cf)]['push'](_0x3fc334),this[_0x7a99e3(0x240)][_0x7a99e3(0x218)](_0x3fc334,_0x4300de);}[_0xbc5111(0x26c)](_0x33acff,_0x3a6c3e,_0x48922f,_0x14348a){const _0x3072e6=_0xbc5111,_0x5a742a=new _0x47d0d2(_0x33acff)[_0x3072e6(0x21d)](0.2)['toRgbString'](),_0x25357b=new _0x3ed4f8(Ri+_0x665b8b[_0x3072e6(0x227)](X),{'pointsGroup':_0x3a6c3e,'fill':_0x5a742a||_0x937d12(_0x169118[_0x3072e6(0x162)],0.2),'left':_0x48922f,'top':_0x14348a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3072e6(0x1cf)][_0x3072e6(0x216)](_0x25357b),this[_0x3072e6(0x240)][_0x3072e6(0x218)](_0x25357b,_0x4300de);}[_0xbc5111(0x1bd)](_0x13cadb){const _0x212cf9=_0x13cadb[0x0],_0x472598=_0x212cf9[0x0],_0x4a1d14=_0x212cf9[0x2],{x:_0x257c27,y:_0x335c11}=_0x472598,{x:_0x1cda88,y:_0x29ef0d}=_0x4a1d14;return{'left':_0x257c27,'top':_0x335c11,'width':_0x1cda88-_0x257c27,'height':_0x29ef0d-_0x335c11};}['_getScale'](){const _0xbc8c91=_0xbc5111,{scaleX:_0x5b29e0,scaleY:_0x2bb4e0}=this[_0xbc8c91(0x240)][_0xbc8c91(0x9c)]();return Math[_0xbc8c91(0xed)](_0x5b29e0,_0x2bb4e0);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x2db522,_0x9b8661,_0x4fcea5,_0x2fed09)=>{const _0x354fd9=_0xbc5111;for(var _0x1c8301=_0x2fed09>0x1?void 0x0:_0x2fed09?Pi(_0x9b8661,_0x4fcea5):_0x9b8661,_0x359a6e=_0x2db522[_0x354fd9(0x9e)]-0x1,_0x1e0194;_0x359a6e>=0x0;_0x359a6e--)(_0x1e0194=_0x2db522[_0x359a6e])&&(_0x1c8301=_0x1e0194(_0x1c8301)||_0x1c8301);return _0x1c8301;},Q=(_0x4ad5b5,_0x611fe3)=>(_0x35da9e,_0x5a4019)=>_0x611fe3(_0x35da9e,_0x5a4019,_0x4ad5b5);let Ue=class extends _0x3718b9{constructor(_0x3cb81c,_0x454ad2,_0x10d866,_0x368b3f,_0x3ee003){const _0x25a076=_0xbc5111;super(),_(this,'_cursorShapes',[]),_(this,_0x25a076(0x15c),[]),(this['_context']=_0x3cb81c,this[_0x25a076(0x91)]=_0x454ad2,this[_0x25a076(0x1b4)]=_0x10d866,this[_0x25a076(0x26b)]=_0x368b3f,this[_0x25a076(0xa1)]=_0x3ee003,this['_init']());}[_0xbc5111(0x293)](){const _0x201ad8=_0xbc5111,_0x111488=this[_0x201ad8(0xff)][_0x201ad8(0x132)],_0x5ec226=this['_docSkeletonManagerService'];this[_0x201ad8(0x262)](_0x56c281([this[_0x201ad8(0x1b4)][_0x201ad8(0x15d)](_0x111488),this[_0x201ad8(0xa1)]['currentTheme$']])[_0x201ad8(0xdb)](_0x59cb85(([_0x33c6e1,_0x5032d6])=>({'skeleton':_0x5ec226['getSkeleton'](),'cursors':[..._0x33c6e1[_0x201ad8(0x177)]()]['flatMap'](_0x2185f0=>({..._0x2185f0,'color':_0x5032d6[_0x2185f0[_0x201ad8(0x22e)]]}))})))['subscribe'](_0x2c0bbc=>{const _0x4678e2=_0x201ad8;if(this[_0x4678e2(0xd4)](),_0x2c0bbc){const {skeleton:_0x37d769,cursors:_0x362aa8}=_0x2c0bbc;this['_updateCollabCursors'](_0x37d769,_0x362aa8);}})),this[_0x201ad8(0x113)](),this[_0x201ad8(0xe2)]();}['_updateCollabCursors'](_0x533473,_0x51bc12){const _0x116208=_0xbc5111,{scene:_0x1950ee,mainComponent:_0xc2b1ea}=this[_0x116208(0xff)],_0x1b9d77=_0x51bc12[_0x116208(0x13a)](_0x2dab9c=>new tt(_0x2dab9c,_0x1950ee,_0x533473,_0xc2b1ea));this[_0x116208(0x160)]=_0x1b9d77,this['_cursors']=_0x51bc12;}[_0xbc5111(0x19b)](){const _0x1bdef0=_0xbc5111;this[_0x1bdef0(0xd4)]();const {scene:_0x4eef81,mainComponent:_0x337b54}=this[_0x1bdef0(0xff)],_0xeb3c04=this[_0x1bdef0(0x91)][_0x1bdef0(0x264)](),_0x350cb8=this[_0x1bdef0(0x15c)][_0x1bdef0(0x13a)](_0x256dcd=>new tt(_0x256dcd,_0x4eef81,_0xeb3c04,_0x337b54));this[_0x1bdef0(0x160)]=_0x350cb8;}[_0xbc5111(0xd4)](){const _0x3e45a5=_0xbc5111;this['_cursorShapes']['forEach'](_0x101ac8=>_0x101ac8[_0x3e45a5(0xa0)]()),this[_0x3e45a5(0x160)]=[];}[_0xbc5111(0xe2)](){const _0x55ca18=_0xbc5111,_0x261e70=[_0x40a6ef['id']];this[_0x55ca18(0x262)](this[_0x55ca18(0x26b)]['onCommandExecuted'](_0x3876e4=>{const _0x38e6d4=_0x55ca18;_0x261e70['includes'](_0x3876e4['id'])&&_0x3876e4['params'][_0x38e6d4(0x132)]===this[_0x38e6d4(0xff)][_0x38e6d4(0x132)]&&this[_0x38e6d4(0x19b)]();}));}[_0xbc5111(0x113)](){const _0x544e8d=_0xbc5111;this[_0x544e8d(0x262)](_0x1030d2(this[_0x544e8d(0xff)][_0x544e8d(0x163)]['onTransformChange$'])['pipe'](_0x1c1218(_0x1396f2=>_0x1396f2[_0x544e8d(0xb4)]===_0x4ec3c0[_0x544e8d(0x173)]),_0x546afa(0x10))[_0x544e8d(0x180)](()=>{const _0x350921=_0x544e8d;this[_0x350921(0x19b)]();}));}};Ue=wi([Q(0x1,_0x5eeb0c(_0xe4d7f9)),Q(0x2,_0x5eeb0c(H)),Q(0x3,_0x2df7f1),Q(0x4,_0x5eeb0c(_0x50563d))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x28b603{constructor(_0x353f15,_0xc39ce9){const _0x121482=_0xbc5111;super(_0x353f15,_0xc39ce9),_(this,'_color'),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0x121482(0xcd),''),_(this,_0x121482(0x258),_0x121482(0x28d)),_(this,'_backgroundColor'),(_0xc39ce9&&this[_0x121482(0x1b1)](_0xc39ce9),this[_0x121482(0x1f5)][_0x121482(0xd7)](()=>this[_0x121482(0x1b1)]({'hovered':!0x0})),this['onPointerLeave$'][_0x121482(0xd7)](()=>this[_0x121482(0x1b1)]({'hovered':!0x1})));}[_0xbc5111(0x1b1)](_0x1abcf6){const _0x3fa61a=_0xbc5111;var _0x1599ca,_0x1f648e,_0x424370,_0xfe4907,_0x46311d,_0x37cfbd;this['_color']=(_0x1599ca=_0x1abcf6['color'])!=null?_0x1599ca:this['_color'],this[_0x3fa61a(0xcf)]=(_0x1f648e=_0x1abcf6[_0x3fa61a(0x105)])!=null?_0x1f648e:this['_hovered'],this[_0x3fa61a(0x11a)]=(_0x424370=_0x1abcf6[_0x3fa61a(0x244)])!=null?_0x424370:this[_0x3fa61a(0x11a)],this['_name']=(_0xfe4907=_0x1abcf6['name'])!=null?_0xfe4907:this[_0x3fa61a(0xcd)],this[_0x3fa61a(0x258)]=(_0x46311d=_0x1abcf6['labelPosition'])!=null?_0x46311d:this[_0x3fa61a(0x258)],this[_0x3fa61a(0x1ca)]=(_0x37cfbd=_0x1abcf6[_0x3fa61a(0xfd)])!=null?_0x37cfbd:this[_0x3fa61a(0x1ca)],this[_0x3fa61a(0x1e9)]({'width':_0x1abcf6[_0x3fa61a(0x22d)],'height':_0x1abcf6[_0x3fa61a(0x17c)]});}[_0xbc5111(0x16b)](_0x1dd194){const _0x1b2534=_0xbc5111,{row:_0x47609f,column:_0x1d4d78}=_0x1dd194;if(_0x47609f>=this[_0x1b2534(0x11a)][_0x1b2534(0x21a)]&&_0x47609f<=this['_range'][_0x1b2534(0x13c)]&&_0x1d4d78>=this[_0x1b2534(0x11a)][_0x1b2534(0x1ee)]&&_0x1d4d78<=this[_0x1b2534(0x11a)]['endColumn']){this[_0x1b2534(0x1b1)]({'hovered':!0x0});return;}this[_0x1b2534(0x1b1)]({'hovered':!0x1});}['triggerDblclick'](_0x21639d){return!0x1;}['_draw'](_0x4c03f7){const _0x181dea=_0xbc5111;_0x3462a9[_0x181dea(0x1d7)](_0x4c03f7,{'width':this['width'],'height':this[_0x181dea(0x17c)],'strokeWidth':Li,'stroke':this[_0x181dea(0x26f)],'evented':!0x1,'fill':this[_0x181dea(0x1ca)]}),this[_0x181dea(0xcf)]&&(_0x4c03f7[_0x181dea(0x184)](),_0x4c03f7['transform'](0x1,0x0,0x0,0x1,this[_0x181dea(0x22d)],this[_0x181dea(0x258)]===_0x181dea(0x25f)?0x0:-0x14),ue[_0x181dea(0x1d7)](_0x4c03f7,{'text':this['_name'],'color':this[_0x181dea(0x26f)]}),_0x4c03f7[_0x181dea(0x1f8)]());}}var yi=Object['getOwnPropertyDescriptor'],$i=(_0x3db23f,_0x32ecf7,_0x11ba2a,_0x3128f6)=>{const _0x575055=_0xbc5111;for(var _0x175f79=_0x3128f6>0x1?void 0x0:_0x3128f6?yi(_0x32ecf7,_0x11ba2a):_0x32ecf7,_0x4617c6=_0x3db23f[_0x575055(0x9e)]-0x1,_0x5d5099;_0x4617c6>=0x0;_0x4617c6--)(_0x5d5099=_0x3db23f[_0x4617c6])&&(_0x175f79=_0x5d5099(_0x175f79)||_0x175f79);return _0x175f79;},pe=(_0x1800f1,_0x40ca14)=>(_0x5d92b0,_0x24c7a7)=>_0x40ca14(_0x5d92b0,_0x24c7a7,_0x1800f1);const xi=0x1389;let Le=class extends _0x3718b9{constructor(_0x2096aa,_0x428a18,_0x579b81,_0x1cf9f7){const _0x2c41ee=_0xbc5111;super(),_(this,_0x2c41ee(0x15c),new Set()),_(this,_0x2c41ee(0x22f),null),(this[_0x2c41ee(0xff)]=_0x2096aa,this[_0x2c41ee(0x1a4)]=_0x428a18,this[_0x2c41ee(0x1b4)]=_0x579b81,this[_0x2c41ee(0xa1)]=_0x1cf9f7,this[_0x2c41ee(0x293)]());}[_0xbc5111(0x293)](){const _0x587744=_0xbc5111;this[_0x587744(0x1a4)][_0x587744(0x11c)]['pipe'](_0x533c63(this['dispose$']),_0x4ed467(_0x474716=>{const _0x2573f0=_0x587744;if(_0x474716){const _0x11e2be=_0x474716['sheetId'];return _0x56c281(this[_0x2573f0(0x1b4)][_0x2573f0(0x15d)](this[_0x2573f0(0xff)][_0x2573f0(0x132)]),this[_0x2573f0(0xa1)][_0x2573f0(0x203)])[_0x2573f0(0xdb)](_0x59cb85(([_0x178592,_0x122945])=>{const _0x402c45=_0x2573f0,_0x25ba40=new Map();return _0x178592[_0x402c45(0x18c)]((_0x2aabee,_0x3e87fa)=>{const _0x3255a5=_0x402c45;if(_0x2aabee[_0x3255a5(0x253)]===_0x11e2be){const _0x4947e8={..._0x2aabee};_0x4947e8['color']=_0x122945[_0x2aabee['color']],_0x25ba40['set'](_0x3e87fa,_0x4947e8);}}),{'skeleton':_0x474716,'cursors':_0x25ba40};}));}return _0x5a1ccc({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x12ccfe,cursors:_0x4a04db})=>{const _0x4aff64=_0x587744;this[_0x4aff64(0xd4)](),_0x12ccfe&&this[_0x4aff64(0x172)](_0x12ccfe,_0x4a04db);}),this[_0x587744(0x1a4)][_0x587744(0x11c)][_0x587744(0x180)](_0x4593ad=>{const _0x4f8312=_0x587744;if(_0x4593ad==null)return;const {skeleton:_0x54d8ef}=_0x4593ad,{scene:_0x90fc4b}=this[_0x4f8312(0xff)];_0x90fc4b['onPointerMove$'][_0x4f8312(0xd7)](_0x3466b4(_0x51ea2b=>{const _0x2ef963=_0x4f8312;var _0x4b6c68,_0x2d9a8e;const {offsetX:_0x4f021e,offsetY:_0xda7f70}=_0x51ea2b,{x:_0x1b7a4c,y:_0x346099}=_0x90fc4b['getRelativeToViewportCoord'](_0x235e42[_0x2ef963(0xdf)]([_0x4f021e,_0xda7f70])),{scaleX:_0x5b67a8,scaleY:_0x167bda}=_0x90fc4b['getAncestorScale'](),_0x283756=_0x90fc4b[_0x2ef963(0x222)](_0x41453f[_0x2ef963(0x22a)]),_0x2f16b4=_0x90fc4b[_0x2ef963(0x98)](_0x235e42[_0x2ef963(0xdf)]([_0x1b7a4c,_0x346099]),_0x283756),_0x3b7830=_0x54d8ef['getCellPositionByOffset'](_0x4f021e,_0xda7f70,_0x5b67a8,_0x167bda,_0x2f16b4);((_0x4b6c68=this[_0x2ef963(0x22f)])==null?void 0x0:_0x4b6c68[_0x2ef963(0x24d)])===_0x3b7830[_0x2ef963(0x24d)]&&((_0x2d9a8e=this[_0x2ef963(0x22f)])==null?void 0x0:_0x2d9a8e[_0x2ef963(0x287)])===_0x3b7830[_0x2ef963(0x287)]||this[_0x2ef963(0x15c)][_0x2ef963(0x18c)](_0x429d3a=>{const _0x5efc39=_0x2ef963;_0x429d3a[_0x5efc39(0x16b)](_0x3b7830);});},0x64));});}['_updateCollabCursors'](_0x2553d3,_0x3b7b4d){const _0x377c01=_0xbc5111;var _0x246f92;const _0x1cde38=(_0x246f92=this[_0x377c01(0x1a4)][_0x377c01(0x106)]())==null?void 0x0:_0x246f92['skeleton'];if(!_0x1cde38)return;const _0xd1680d=this[_0x377c01(0x93)]();if(!_0xd1680d)return;this['_cursors'][_0x377c01(0x18c)](_0x1ac464=>{const _0x44f061=_0x377c01;_0x1ac464[_0x44f061(0x196)]();});const {scene:_0x46fd94}=_0xd1680d,_0x234529=Bi(Array[_0x377c01(0xa5)](_0x3b7b4d['values']()))[_0x377c01(0x13a)](_0x25933f=>{const {color:_0x34f92f,range:_0x4bcdec,name:_0x5dd787,selection:_0x58fbb1,sheetID:_0x564ebd}=_0x25933f,{startColumn:_0x3ecb2b,startRow:_0x48a16d,endColumn:_0x2bad21,endRow:_0x6064f6}=_0x4bcdec,_0x30f63f=_0x238dc7(_0x48a16d,_0x3ecb2b,_0x46fd94,_0x1cde38),_0x20b4fb=_0x238dc7(_0x6064f6,_0x2bad21,_0x46fd94,_0x1cde38),{columnHeaderHeightAndMarginTop:_0x57c04e}=_0x1cde38,{startX:_0xdc15bb,startY:_0xaf2434}=_0x30f63f,{endX:_0x1066ca,endY:_0xc92a1d}=_0x20b4fb,_0x4cb436=_0x1066ca-_0xdc15bb,_0x1c5b2c=_0xc92a1d-_0xaf2434,_0x43f5be={'labelPosition':_0xaf2434-_0x57c04e>=te?'top':'bottom','sheetID':_0x564ebd,'range':_0x4bcdec,'color':_0x34f92f,'name':_0x5dd787,'selection':_0x58fbb1,'left':_0xdc15bb,'top':_0xaf2434,'width':_0x4cb436,'height':_0x1c5b2c,'evented':!0x1,'zIndex':xi};return new Ai(_0x5dd787,_0x43f5be);});_0x46fd94[_0x377c01(0x250)](_0x234529,Ui),this[_0x377c01(0x15c)]=new Set(_0x234529);}[_0xbc5111(0xd4)](){const _0x4aa9a2=_0xbc5111;var _0x32509c;(_0x32509c=this[_0x4aa9a2(0x15c)])==null||_0x32509c[_0x4aa9a2(0x18c)](_0x2468d0=>_0x2468d0['dispose']());}['_getSheetObject'](){const _0x39bad9=_0xbc5111;return _0x1bb98a(this[_0x39bad9(0xff)][_0x39bad9(0x13d)],this[_0x39bad9(0xff)]);}};Le=$i([pe(0x1,_0x5eeb0c(_0x48f7a5)),pe(0x2,_0x5eeb0c(H)),pe(0x3,_0x5eeb0c(_0x50563d))],Le);function Bi(_0x4c8b38){const _0x254c76=_0xbc5111,_0x2e04c=new Map();return _0x4c8b38['forEach'](_0x185931=>{const _0x326726=_0x29cc;if(_0x2e04c['has'](_0x185931[_0x326726(0x1e0)])){const _0x57ea39=_0x2e04c[_0x326726(0x206)](_0x185931[_0x326726(0x1e0)]);_0x57ea39['name']+=',\x20'+_0x185931['name'];}else _0x2e04c['set'](_0x185931['selection'],_0x185931);}),Array[_0x254c76(0xa5)](_0x2e04c[_0x254c76(0x177)]());}var I=function(){const _0x524d01=_0xbc5111;return I=Object[_0x524d01(0x27f)]||function(_0x22bc68){const _0x917518=_0x524d01;for(var _0x2f2870,_0x1b498b=0x1,_0x1ce2e7=arguments[_0x917518(0x9e)];_0x1b498b<_0x1ce2e7;_0x1b498b++){_0x2f2870=arguments[_0x1b498b];for(var _0x58042c in _0x2f2870)Object[_0x917518(0x158)][_0x917518(0x164)]['call'](_0x2f2870,_0x58042c)&&(_0x22bc68[_0x58042c]=_0x2f2870[_0x58042c]);}return _0x22bc68;},I['apply'](this,arguments);},ki=function(_0x3199bb,_0x3a6388){const _0x43665d=_0xbc5111;var _0x1e9175={};for(var _0x522427 in _0x3199bb)Object['prototype'][_0x43665d(0x164)][_0x43665d(0x15f)](_0x3199bb,_0x522427)&&_0x3a6388[_0x43665d(0x1b7)](_0x522427)<0x0&&(_0x1e9175[_0x522427]=_0x3199bb[_0x522427]);if(_0x3199bb!=null&&typeof Object[_0x43665d(0x251)]=='function'){for(var _0x4b1d35=0x0,_0x522427=Object[_0x43665d(0x251)](_0x3199bb);_0x4b1d35<_0x522427['length'];_0x4b1d35++)_0x3a6388[_0x43665d(0x1b7)](_0x522427[_0x4b1d35])<0x0&&Object[_0x43665d(0x158)][_0x43665d(0x1a9)][_0x43665d(0x15f)](_0x3199bb,_0x522427[_0x4b1d35])&&(_0x1e9175[_0x522427[_0x4b1d35]]=_0x3199bb[_0x522427[_0x4b1d35]]);}return _0x1e9175;},We=_0x2deb9a(function(_0x482542,_0x5f35ce){const _0xfad27a=_0xbc5111;var _0x5a886f=_0x482542[_0xfad27a(0x18a)],_0x49fe0a=_0x482542['id'],_0x1e0808=_0x482542[_0xfad27a(0x20b)],_0x901cd0=_0x482542[_0xfad27a(0x1b9)],_0x38518f=ki(_0x482542,['icon','id',_0xfad27a(0x20b),_0xfad27a(0x1b9)]),_0x2377e1=_0xfad27a(0x27e)[_0xfad27a(0x155)](_0x49fe0a,'\x20')[_0xfad27a(0x155)](_0x1e0808||'')[_0xfad27a(0x97)](),_0xb40327=_0x219936('_'[_0xfad27a(0x155)](Wi()));return Nt(_0x5a886f,''[_0xfad27a(0x155)](_0x49fe0a),{'defIds':_0x5a886f['defIds'],'idSuffix':_0xb40327['current']},I({'ref':_0x5f35ce,'className':_0x2377e1},_0x38518f),_0x901cd0);});function Nt(_0x430bf7,_0xf65c88,_0x1e58ee,_0x43fc42,_0x242bd5){const _0x1c2f12=_0xbc5111;return _0xc238bb(_0x430bf7[_0x1c2f12(0x1c8)],I(I({'key':_0xf65c88},Hi(_0x430bf7,_0x1e58ee,_0x242bd5)),_0x43fc42),(ji(_0x430bf7,_0x1e58ee)[_0x1c2f12(0x190)]||[])['map'](function(_0x254536,_0xd81828){const _0x253f8e=_0x1c2f12;return Nt(_0x254536,''[_0x253f8e(0x155)](_0xf65c88,'-')[_0x253f8e(0x155)](_0x430bf7[_0x253f8e(0x1c8)],'-')[_0x253f8e(0x155)](_0xd81828),_0x1e58ee,void 0x0,_0x242bd5);}));}function Hi(_0x128512,_0x4057ba,_0x4827c0){const _0x2f39a5=_0xbc5111;var _0xb8457e=I({},_0x128512[_0x2f39a5(0x9a)]);_0x4827c0!=null&&_0x4827c0['colorChannel1']&&_0xb8457e[_0x2f39a5(0xd6)]===_0x2f39a5(0x18f)&&(_0xb8457e['fill']=_0x4827c0['colorChannel1']),_0x128512['tag']===_0x2f39a5(0x27c)&&_0xb8457e['id']&&(_0xb8457e['id']=_0xb8457e['id']+_0x4057ba[_0x2f39a5(0x1d8)]),Object[_0x2f39a5(0x23f)](_0xb8457e)[_0x2f39a5(0x18c)](function(_0x7739f8){const _0x4cf276=_0x2f39a5;var _0x2b80e6=_0x7739f8[0x0],_0x5bc4ca=_0x7739f8[0x1];_0x2b80e6===_0x4cf276(0x27c)&&typeof _0x5bc4ca==_0x4cf276(0x277)&&(_0xb8457e[_0x2b80e6]=_0x5bc4ca[_0x4cf276(0x1e4)](/url\(#(.*)\)/,_0x4cf276(0xee)[_0x4cf276(0x155)](_0x4057ba[_0x4cf276(0x1d8)],')')));});var _0xfd5e35=_0x4057ba[_0x2f39a5(0xa4)];return!_0xfd5e35||_0xfd5e35[_0x2f39a5(0x9e)]===0x0||(_0x128512['tag']===_0x2f39a5(0xcb)&&_0xb8457e[_0x2f39a5(0x20c)]&&(_0xb8457e[_0x2f39a5(0x20c)]=_0xb8457e['xlink:href']+_0x4057ba['idSuffix']),Object[_0x2f39a5(0x23f)](_0xb8457e)[_0x2f39a5(0x18c)](function(_0x362cf7){const _0x5f46fd=_0x2f39a5;var _0x4dc7ae=_0x362cf7[0x0],_0x4c1776=_0x362cf7[0x1];typeof _0x4c1776==_0x5f46fd(0x277)&&(_0xb8457e[_0x4dc7ae]=_0x4c1776[_0x5f46fd(0x1e4)](/url\(#(.*)\)/,_0x5f46fd(0xee)['concat'](_0x4057ba[_0x5f46fd(0x1d8)],')')));})),_0xb8457e;}function ji(_0x598759,_0x5bbb03){const _0x30b216=_0xbc5111;var _0x1f23e2,_0x846888=_0x5bbb03[_0x30b216(0xa4)];return!_0x846888||_0x846888[_0x30b216(0x9e)]===0x0?_0x598759:_0x598759['tag']===_0x30b216(0x1f9)&&(!((_0x1f23e2=_0x598759[_0x30b216(0x190)])===null||_0x1f23e2===void 0x0)&&_0x1f23e2[_0x30b216(0x9e)])?I(I({},_0x598759),{'children':_0x598759[_0x30b216(0x190)][_0x30b216(0x13a)](function(_0x4d5a3c){const _0x58defd=_0x30b216;return typeof _0x4d5a3c[_0x58defd(0x9a)]['id']==_0x58defd(0x277)&&_0x846888&&_0x846888[_0x58defd(0x1b7)](_0x4d5a3c['attrs']['id'])>-0x1?I(I({},_0x4d5a3c),{'attrs':I(I({},_0x4d5a3c['attrs']),{'id':_0x4d5a3c[_0x58defd(0x9a)]['id']+_0x5bbb03[_0x58defd(0x1d8)]})}):_0x4d5a3c;})}):_0x598759;}function Wi(){const _0x5b7d83=_0xbc5111;return Math[_0x5b7d83(0x1f0)]()[_0x5b7d83(0x1a8)](0x24)[_0x5b7d83(0xa8)](0x2,0x8);}We[_0xbc5111(0x1ce)]=_0xbc5111(0x1d3);var Fi={'tag':_0xbc5111(0x1c2),'attrs':{'fill':'none','viewBox':_0xbc5111(0x140),'width':_0xbc5111(0x150),'height':_0xbc5111(0x150)},'children':[{'tag':'g','attrs':{'clipPath':_0xbc5111(0x219)},'children':[{'tag':_0xbc5111(0x92),'attrs':{'stroke':_0xbc5111(0x193),'d':_0xbc5111(0x161),'strokeLinecap':_0xbc5111(0x108),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xbc5111(0x1c9),'attrs':{'id':_0xbc5111(0xb6)},'children':[{'tag':_0xbc5111(0x92),'attrs':{'fill':_0xbc5111(0x1aa),'d':_0xbc5111(0x268)}}]}]}],'defIds':[_0xbc5111(0xb6)]},Mt=_0x2deb9a(function(_0x4cb262,_0x1fb713){const _0x241a57=_0xbc5111;return _0xc238bb(We,Object[_0x241a57(0x27f)]({},_0x4cb262,{'id':_0x241a57(0x1dc),'ref':_0x1fb713,'icon':Fi}));});Mt[_0xbc5111(0x1ce)]=_0xbc5111(0x182);var Vi={'tag':'svg','attrs':{'fill':_0xbc5111(0x9b),'viewBox':_0xbc5111(0x21e),'width':_0xbc5111(0x150),'height':_0xbc5111(0x150)},'children':[{'tag':'g','attrs':{'clipPath':_0xbc5111(0x12a)},'children':[{'tag':_0xbc5111(0x92),'attrs':{'stroke':_0xbc5111(0x193),'d':_0xbc5111(0xe5),'strokeLinecap':_0xbc5111(0x108),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xbc5111(0x1f9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xbc5111(0x115)},'children':[{'tag':_0xbc5111(0x92),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0xbc5111(0xc5)}}]}]}],'defIds':[_0xbc5111(0x115)]},Pt=_0x2deb9a(function(_0x4d2e5f,_0x5c585d){const _0x458eed=_0xbc5111;return _0xc238bb(We,Object[_0x458eed(0x27f)]({},_0x4d2e5f,{'id':_0x458eed(0x252),'ref':_0x5c585d,'icon':Vi}));});Pt[_0xbc5111(0x1ce)]=_0xbc5111(0xb8);const Yi=_0xbc5111(0x28a),Xi=_0xbc5111(0x1ed),Gi=_0xbc5111(0xae),Ki=_0xbc5111(0x14e),zi=_0xbc5111(0x129),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x19a92c){const _0x2f1c17=_0xbc5111;switch(_0x19a92c){case _0x548c51[_0x2f1c17(0x23a)]:return _0x2f1c17(0x286);case _0x548c51[_0x2f1c17(0x229)]:return'collabStatus.conflict';case _0x548c51[_0x2f1c17(0x197)]:return _0x2f1c17(0x25d);case _0x548c51['NOT_COLLAB']:return'collabStatus.notCollab';case _0x548c51['AWAITING']:case _0x548c51[_0x2f1c17(0x9d)]:return _0x2f1c17(0x282);case _0x548c51[_0x2f1c17(0x13b)]:case _0x548c51[_0x2f1c17(0x11d)]:return _0x2f1c17(0x112);}}function Zi(_0x26a70a){const _0x2d8072=_0xbc5111,{status$:_0x648253}=_0x26a70a,_0x1ec9b0=_0x318bf4(_0x648253,_0x548c51['NOT_COLLAB']),_0x372594=_0xe6893a(_0x5b2c11),_0x315e6d=_0xe6893a(_0x26c35c),_0x46508f=_0x1ec9b0!==_0x548c51['OFFLINE'],_0x771ca6=_0x372594['t'](Ji(_0x1ec9b0)),_0x368a55=_0x3c3f71(G[_0x2d8072(0x284)],{[G['online']]:_0x46508f,[G[_0x2d8072(0x121)]]:!_0x46508f}),_0xb3bad1=_0x46508f?_0x444af1(Pt,{}):_0x444af1(Mt,{}),_0x3008d8=_0x36f78e(()=>{_0x46508f||_0x315e6d['reconnect']();},[_0x46508f,_0x315e6d]);function _0x19e9d7(){const _0x50bdc3=_0x2d8072;return _0x1e7739(_0x50bdc3(0x24e),{'className':_0x3c3f71(_0x368a55,_0x50bdc3(0x22b)),'onClick':_0x3008d8,'children':[_0x444af1('div',{'className':G[_0x50bdc3(0x19a)],'children':_0xb3bad1}),_0x444af1(_0x50bdc3(0x24e),{'className':G[_0x50bdc3(0x28e)],'children':_0x771ca6})]});}return _0x46508f?_0x19e9d7():_0x444af1(_0x2fd478,{'title':_0x372594['t'](_0x2d8072(0xea)),'children':_0x19e9d7()});}var Qi=Object[_0xbc5111(0x263)],qi=(_0x160983,_0x4e7f13,_0xfa0dc,_0x1a43b6)=>{for(var _0x10cd03=_0x1a43b6>0x1?void 0x0:_0x1a43b6?Qi(_0x4e7f13,_0xfa0dc):_0x4e7f13,_0x2357ba=_0x160983['length']-0x1,_0x1bcaf8;_0x2357ba>=0x0;_0x2357ba--)(_0x1bcaf8=_0x160983[_0x2357ba])&&(_0x10cd03=_0x1bcaf8(_0x10cd03)||_0x10cd03);return _0x10cd03;},q=(_0x3ba1a5,_0x497af8)=>(_0x37a1f7,_0x289b0c)=>_0x497af8(_0x37a1f7,_0x289b0c,_0x3ba1a5);let se=class extends _0x81bfb6{constructor(_0x1c67e8,_0x467a6f,_0x3d3357,_0x36611e){const _0x32de0b=_0xbc5111;super(),_(this,_0x32de0b(0x13f),new _0x596cd4(_0x548c51['NOT_COLLAB'])),(this['_univerInstanceService']=_0x1c67e8,this['_injector']=_0x467a6f,this[_0x32de0b(0x215)]=_0x3d3357,this[_0x32de0b(0x10a)]=_0x36611e,this['_initStatusComponent'](),this[_0x32de0b(0x1e8)]());}[_0xbc5111(0x1e8)](){const _0x422216=_0xbc5111;this['disposeWithMe'](this['_univerInstanceService'][_0x422216(0x208)]['pipe'](_0x3ebe65(()=>{const _0x36b40b=_0x422216,_0x2b3eac=this[_0x36b40b(0x138)][_0x36b40b(0xf4)]();return _0x2b3eac?this['_collaborationController'][_0x36b40b(0x16a)](_0x2b3eac[_0x36b40b(0x27d)]()):_0x5a1ccc(null);}),_0x3ebe65(_0x17e066=>_0x17e066?_0x17e066['status$']:_0x5a1ccc(_0x548c51[_0x422216(0x23b)])))['subscribe'](_0x1314b6=>{const _0x530bb1=_0x422216;this[_0x530bb1(0x13f)]['next'](_0x1314b6);}));}[_0xbc5111(0xc1)](){const _0x50a35b=_0xbc5111;this[_0x50a35b(0x262)](this[_0x50a35b(0x10a)][_0x50a35b(0xeb)](_0x5b1a30[_0x50a35b(0xb7)],()=>_0x131858(en({'status$':this['_status$'][_0x50a35b(0x233)]()}),this[_0x50a35b(0xc7)])));}};se=qi([q(0x0,_0x2e829f),q(0x1,_0x5eeb0c(_0x1ac001)),q(0x2,_0x5eeb0c(_0x1c5db3)),q(0x3,_0x2c6bb2)],se);function en(_0x2560f5){const {status$:_0x5527b3}=_0x2560f5;return function(){return _0x444af1(Zi,{'status$':_0x5527b3});};}var tn=Object[_0xbc5111(0x263)],sn=(_0x14b490,_0x423302,_0x2840da,_0x14ad43)=>{const _0x38a997=_0xbc5111;for(var _0x25db40=_0x14ad43>0x1?void 0x0:_0x14ad43?tn(_0x423302,_0x2840da):_0x423302,_0x1ff2c0=_0x14b490[_0x38a997(0x9e)]-0x1,_0x4279aa;_0x1ff2c0>=0x0;_0x1ff2c0--)(_0x4279aa=_0x14b490[_0x1ff2c0])&&(_0x25db40=_0x4279aa(_0x25db40)||_0x25db40);return _0x25db40;},B=(_0xda1ecb,_0x14fadf)=>(_0x3f4f20,_0x28d61b)=>_0x14fadf(_0x3f4f20,_0x28d61b,_0xda1ecb);let ie=class extends _0x81bfb6{constructor(_0x32f6a3,_0x2f48db,_0x4b5763,_0x58aff4,_0x58617f,_0x34570f){const _0x466dda=_0xbc5111;super(),this[_0x466dda(0x22c)]=_0x32f6a3,this[_0x466dda(0x189)]=_0x2f48db,this[_0x466dda(0x10e)]=_0x4b5763,this['_messageService']=_0x58aff4,this['_notificationService']=_0x58617f,this[_0x466dda(0x1c5)]=_0x34570f,this[_0x466dda(0x238)](),this[_0x466dda(0x249)]();}[_0xbc5111(0x238)](){const _0x38d70e=_0xbc5111;this[_0x38d70e(0x262)](this[_0x38d70e(0x22c)][_0x38d70e(0x274)](()=>{const _0x45594d=_0x38d70e;if(this[_0x45594d(0x189)][_0x45594d(0x1d4)][_0x45594d(0x123)])return this[_0x45594d(0x1c5)]['t'](_0x45594d(0xe0));}));}[_0xbc5111(0x249)](){const _0x1293ba=_0xbc5111;this[_0x1293ba(0x262)](this['_collaborationUIEventService'][_0x1293ba(0x174)][_0x1293ba(0x180)](_0x3eb355=>{const _0x4bbbe3=_0x1293ba;_0x3eb355['id']===_0x44c47e['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x4bbbe3(0x1cc)]({'type':_0x5c22e8[_0x4bbbe3(0x11b)],'content':this['_localeService']['t'](_0x4bbbe3(0x223))}),_0x3eb355['id']===_0x44c47e[_0x4bbbe3(0xf6)]&&this[_0x4bbbe3(0x231)][_0x4bbbe3(0x1cc)]({'type':_0x5c22e8[_0x4bbbe3(0x11b)],'content':this[_0x4bbbe3(0x1c5)]['t'](_0x4bbbe3(0x1f3))}),_0x3eb355['id']===_0x44c47e[_0x4bbbe3(0x148)]&&this[_0x4bbbe3(0x99)]['show']({'title':this[_0x4bbbe3(0x1c5)]['t'](_0x4bbbe3(0x124)),'content':this[_0x4bbbe3(0x1c5)]['t'](_0x4bbbe3(0x120)),'type':'error','duration':0x0}),_0x3eb355['id']===_0x44c47e[_0x4bbbe3(0x229)]&&this[_0x4bbbe3(0x231)]['show']({'type':_0x5c22e8[_0x4bbbe3(0x204)],'content':this[_0x4bbbe3(0x1c5)]['t']('collaboration.closeRoom')+'('+_0x3eb355['data']+')'}),_0x3eb355['id']===_0x44c47e['JOIN_ROOM_FAILED']&&this[_0x4bbbe3(0x231)]['show']({'type':_0x5c22e8['Warning'],'content':this[_0x4bbbe3(0x1c5)]['t'](_0x3eb355['data']||'')}),_0x3eb355['id']===_0x44c47e['SOCKET_FAILED_RETRY']&&this[_0x4bbbe3(0x231)][_0x4bbbe3(0x1cc)]({'type':_0x5c22e8[_0x4bbbe3(0x11b)],'content':this['_localeService']['t']('session.will-retry')}),_0x3eb355['id']===_0x44c47e[_0x4bbbe3(0x1fd)]&&this['_messageService'][_0x4bbbe3(0x1cc)]({'type':_0x5c22e8[_0x4bbbe3(0x204)],'content':this[_0x4bbbe3(0x1c5)]['t'](_0x4bbbe3(0x10f))}),_0x3eb355['id']===_0x44c47e[_0x4bbbe3(0x94)]&&this[_0x4bbbe3(0x231)]['show']({'type':_0x5c22e8[_0x4bbbe3(0x204)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x55b272),B(0x1,_0x55279a),B(0x2,_0x5eeb0c(_0x425d72)),B(0x3,_0x2df150),B(0x4,_0x2cb423),B(0x5,_0x5eeb0c(_0x5b2c11))],ie);const nn='collaboration-client-ui.config',st={},wt=_0x35eed1(_0xbc5111(0x1db));var rn=Object[_0xbc5111(0x263)],on=(_0x373a0a,_0xa55926,_0x345898,_0x14ef70)=>{const _0x36cf92=_0xbc5111;for(var _0x1f934c=_0x14ef70>0x1?void 0x0:_0x14ef70?rn(_0xa55926,_0x345898):_0xa55926,_0x5a86dd=_0x373a0a[_0x36cf92(0x9e)]-0x1,_0x2d86ab;_0x5a86dd>=0x0;_0x5a86dd--)(_0x2d86ab=_0x373a0a[_0x5a86dd])&&(_0x1f934c=_0x2d86ab(_0x1f934c)||_0x1f934c);return _0x1f934c;},K=(_0x23d0d4,_0x3980c4)=>(_0x2a4160,_0x2056d7)=>_0x3980c4(_0x2a4160,_0x2056d7,_0x23d0d4);let ne=class extends _0x3718b9{constructor(_0x5c9996,_0x1f09ad,_0x2c2b56,_0x1ee36b,_0x57c7ee){const _0x27309f=_0xbc5111;super(),this[_0x27309f(0xf2)]=_0x5c9996,this[_0x27309f(0x165)]=_0x1f09ad,this[_0x27309f(0x26b)]=_0x2c2b56,this[_0x27309f(0x1eb)]=_0x1ee36b,_0x57c7ee?_0x57c7ee==null||_0x57c7ee['whenReady']()[_0x27309f(0x12e)](()=>this[_0x27309f(0x293)]()):(this[_0x27309f(0x165)][_0x27309f(0xc0)](_0x27309f(0x213),_0x27309f(0x110)),this[_0x27309f(0x293)]());}async[_0xbc5111(0x293)](){const _0x5430eb=_0xbc5111,_0xbfa262=this[_0x5430eb(0xf2)]['getParam']('unit'),_0x28e85b=this[_0x5430eb(0xf2)][_0x5430eb(0x290)](_0x5430eb(0xb4)),_0x2522ae=this[_0x5430eb(0xf2)]['getParam'](_0x5430eb(0x1f1));if(!_0xbfa262||!_0x28e85b){this[_0x5430eb(0x165)][_0x5430eb(0xc0)](_0x5430eb(0x213),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x19f0bd=await this[_0x5430eb(0x1eb)][_0x5430eb(0xf7)](_0xbfa262,Number(_0x28e85b),_0x2522ae);_0x19f0bd&&_0x19f0bd instanceof _0x2df930&&this[_0x5430eb(0x26a)](_0x19f0bd);}async['_setupSubUnitSync'](_0x53b417){const _0x54563d=_0xbc5111;await this['_updateSubUnitFromURLParams'](_0x53b417),_0x53b417[_0x54563d(0x1df)][_0x54563d(0xdb)](_0x225be1(this[_0x54563d(0x25e)]))['subscribe'](_0x392def=>{const _0x3ffa8a=_0x54563d;_0x392def&&this[_0x3ffa8a(0x1e2)](_0x392def);}),this['_urlService'][_0x54563d(0x122)][_0x54563d(0xdb)](_0x225be1(this[_0x54563d(0x25e)]))[_0x54563d(0x180)](()=>this[_0x54563d(0x224)](_0x53b417));}[_0xbc5111(0x1e2)](_0x8c1e03,_0xc48600=!0x1){const _0x34149f=_0xbc5111,_0x1bc3f6=this[_0x34149f(0xf2)][_0x34149f(0x290)]('subunit');_0x8c1e03[_0x34149f(0x1e6)]()!==_0x1bc3f6&&this['_urlService'][_0x34149f(0x1ef)]('subunit',_0x8c1e03[_0x34149f(0x1e6)](),_0xc48600);}async['_updateSubUnitFromURLParams'](_0x1cdac3){const _0x37a683=_0xbc5111;var _0x3d309f;const _0x3eb6dd=this['_urlService']['getParam']('subunit');if(!_0x3eb6dd||!_0x1cdac3[_0x37a683(0xe8)](_0x3eb6dd)){const _0x19986f=_0x1cdac3['getUnhiddenWorksheets']()[0x0],_0x51035a=_0x1cdac3[_0x37a683(0xe8)](_0x19986f);if(!_0x51035a)return;this[_0x37a683(0x1e2)](_0x51035a,!0x0),await this[_0x37a683(0x26b)][_0x37a683(0xd0)](_0x4a10c4['id'],{'unitId':_0x1cdac3['getUnitId'](),'subUnitId':_0x19986f});return;}((_0x3d309f=_0x1cdac3[_0x37a683(0x256)]())==null?void 0x0:_0x3d309f[_0x37a683(0x1e6)]())!==_0x3eb6dd&&await this['_commandService'][_0x37a683(0xd0)](_0x4a10c4['id'],{'unitId':_0x1cdac3[_0x37a683(0x27d)](),'subUnitId':_0x3eb6dd});}};ne=on([K(0x0,wt),K(0x1,_0x7d30d),K(0x2,_0x2df7f1),K(0x3,_0x5eeb0c(_0x2b16cb)),K(0x4,_0x198d76(_0x3c3a4c))],ne);var an=Object[_0xbc5111(0x263)],cn=(_0x36ae84,_0x47da9c,_0x43e648,_0xefea3)=>{const _0x5cda8a=_0xbc5111;for(var _0x2be4e3=_0xefea3>0x1?void 0x0:_0xefea3?an(_0x47da9c,_0x43e648):_0x47da9c,_0x46098e=_0x36ae84[_0x5cda8a(0x9e)]-0x1,_0x4d1d40;_0x46098e>=0x0;_0x46098e--)(_0x4d1d40=_0x36ae84[_0x46098e])&&(_0x2be4e3=_0x4d1d40(_0x2be4e3)||_0x2be4e3);return _0x2be4e3;},Ce=(_0x20a979,_0x1366f2)=>(_0x41aae1,_0x2f468d)=>_0x1366f2(_0x41aae1,_0x2f468d,_0x20a979);let re=class{constructor(_0x150551,_0x5860e8,_0x2a85db){const _0xbc7dae=_0xbc5111;this[_0xbc7dae(0xc7)]=_0x150551,this[_0xbc7dae(0x1af)]=_0x5860e8,this['_renderManagerService']=_0x2a85db;}[_0xbc5111(0x1a1)](_0x2990e5){const _0x485a42=_0xbc5111;this[_0x485a42(0x1d9)](_0x2990e5),this[_0x485a42(0xc6)](_0x2990e5);}[_0xbc5111(0xe3)](_0x1e59ec){const _0x376feb=_0xbc5111,{unitID:_0x216120}=_0x1e59ec,_0x385e36=this[_0x376feb(0xde)][_0x376feb(0x24c)](_0x216120)[_0x376feb(0x10b)](_0x1f393f),{redoCache:_0x2220fe}=_0x385e36[_0x376feb(0x211)]();if(_0x2220fe[_0x376feb(0x9e)]===0x0)return _0x1e59ec;let _0x96a922=_0x665b8b[_0x376feb(0x19c)](_0x1e59ec['mutations'][0x0]);for(let _0xd70a2a=0x0;_0xd70a2a<_0x2220fe[_0x376feb(0x9e)];_0xd70a2a++){const _0x59eee3={'id':'doc.mutation.rich-text-editing','params':{..._0x2220fe[_0xd70a2a]}},_0x18b8d5=this[_0x376feb(0x1af)][_0x376feb(0x1c7)](_0x96a922,_0x59eee3,!0x1);if(_0x481950(_0x18b8d5))throw _0x18b8d5['error'];_0x96a922=_0x18b8d5[_0x376feb(0x28b)];}return{..._0x665b8b[_0x376feb(0x19c)](_0x1e59ec),'mutations':[_0x96a922]};}[_0xbc5111(0x1d9)](_0x45be1f){const _0x4fd55e=_0xbc5111,{unitID:_0x310cd5}=_0x45be1f,_0x587625=this[_0x4fd55e(0xde)][_0x4fd55e(0x24c)](_0x310cd5)[_0x4fd55e(0x10b)](_0x1f393f),{undoCache:_0x79396d,redoCache:_0x4d0e3d}=_0x587625[_0x4fd55e(0x211)]();if(_0x79396d['length']===0x0||_0x4d0e3d['length']===0x0)return;const _0x27baa5=[],_0x3f0e66=[];let _0x2af7ba=_0x665b8b[_0x4fd55e(0x19c)](_0x45be1f[_0x4fd55e(0x1fc)][0x0]),_0x433b7d=_0x665b8b[_0x4fd55e(0x19c)](_0x45be1f['mutations'][0x0]);for(let _0x236d92=_0x79396d['length']-0x1;_0x236d92>=0x0;_0x236d92--){const _0x57f627={'id':_0x4fd55e(0x14f),'params':{..._0x79396d[_0x236d92]}},_0x8476fe={'id':_0x4fd55e(0x14f),'params':{..._0x4d0e3d[_0x236d92]}},_0x29d778=this['_transformService'][_0x4fd55e(0x1c7)](_0x2af7ba,_0x57f627,!0x1),_0x1a052f=this[_0x4fd55e(0x1af)][_0x4fd55e(0x1c7)](_0x433b7d,_0x8476fe,!0x1);if(_0x481950(_0x29d778))throw _0x29d778[_0x4fd55e(0x1b3)];if(_0x481950(_0x1a052f))throw _0x1a052f[_0x4fd55e(0x1b3)];_0x27baa5[_0x4fd55e(0x15b)](_0x29d778[_0x4fd55e(0x1f4)]['params']),_0x3f0e66[_0x4fd55e(0x15b)](_0x1a052f['m2Prime']['params']),_0x2af7ba=_0x29d778[_0x4fd55e(0x28b)],_0x433b7d=_0x1a052f[_0x4fd55e(0x28b)];}_0x587625[_0x4fd55e(0xcc)]({'undoCache':_0x27baa5,'redoCache':_0x3f0e66});}[_0xbc5111(0xc6)](_0x3ece93){const _0x58e534=_0xbc5111,{unitID:_0x140cfc}=_0x3ece93,_0x515389=this[_0x58e534(0xde)][_0x58e534(0x24c)](_0x140cfc)[_0x58e534(0x10b)](_0x1f393f),_0x57a7a7=_0x515389['getActiveRange']();if(_0x57a7a7==null)return;const _0x11e440=[{'id':_0x58e534(0x14f),'params':{'unitId':_0x3ece93[_0x58e534(0x247)],'actions':null,'textRanges':[_0x57a7a7]}}],_0x28404a=this['_transformService'][_0x58e534(0x1a0)](_0x3ece93,_0x11e440);if(!_0x36d68a(_0x28404a))throw _0x28404a[_0x58e534(0x1b3)];const _0x4ed0f1=_0x28404a[_0x58e534(0x1f4)][0x0][_0x58e534(0x18e)][_0x58e534(0x1ae)];Array['isArray'](_0x4ed0f1)&&_0x4ed0f1[_0x58e534(0x9e)]&&_0x515389['setActiveRange'](_0x4ed0f1[0x0]);}};re=cn([Ce(0x0,_0x5eeb0c(_0x1ac001)),Ce(0x1,_0x190912),Ce(0x2,_0x141461)],re);var ln=Object[_0xbc5111(0x263)],_n=(_0x15a6ea,_0x3874b4,_0x5bdb20,_0x3df0f0)=>{const _0x331755=_0xbc5111;for(var _0x1a2dd2=_0x3df0f0>0x1?void 0x0:_0x3df0f0?ln(_0x3874b4,_0x5bdb20):_0x3874b4,_0x98076c=_0x15a6ea[_0x331755(0x9e)]-0x1,_0x1d684b;_0x98076c>=0x0;_0x98076c--)(_0x1d684b=_0x15a6ea[_0x98076c])&&(_0x1a2dd2=_0x1d684b(_0x1a2dd2)||_0x1a2dd2);return _0x1a2dd2;},Ee=(_0x27d828,_0x51c15a)=>(_0x4f7005,_0x54ab0d)=>_0x51c15a(_0x4f7005,_0x54ab0d,_0x27d828);let oe=class{constructor(_0x169b10,_0x279301,_0x4ea6d6){const _0x25edf8=_0xbc5111;this[_0x25edf8(0xc7)]=_0x169b10,this[_0x25edf8(0x1af)]=_0x279301,this[_0x25edf8(0x1ac)]=_0x4ea6d6;}['transformStateCache'](_0x538aa8){const _0x5c6a97=_0xbc5111;this[_0x5c6a97(0x24a)](_0x538aa8);}[_0xbc5111(0xe3)](_0x22b1d3){const _0x2b19ac=_0xbc5111,{unitID:_0xb9484b}=_0x22b1d3,{collaboration:_0x24d728}=this[_0x2b19ac(0x1ac)][_0x2b19ac(0x107)](_0xb9484b);if(_0x24d728['length']===0x0)return _0x22b1d3;let _0x443487=_0x665b8b['deepClone'](_0x22b1d3[_0x2b19ac(0x1fc)][0x0]);for(let _0x1fc3e6=0x0;_0x1fc3e6<_0x24d728[_0x2b19ac(0x9e)];_0x1fc3e6++){const _0x3eff40={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24d728[_0x1fc3e6][_0x2b19ac(0x132)],..._0x24d728[_0x1fc3e6][_0x2b19ac(0x125)]}},_0x31b2e6=this[_0x2b19ac(0x1af)]['transformMutation'](_0x443487,_0x3eff40,!0x1);if(_0x481950(_0x31b2e6))throw _0x31b2e6[_0x2b19ac(0x1b3)];_0x443487=_0x31b2e6[_0x2b19ac(0x28b)];}return{..._0x665b8b[_0x2b19ac(0x19c)](_0x22b1d3),'mutations':[_0x443487]};}[_0xbc5111(0x24a)](_0xc38aa3){const _0x2270e0=_0xbc5111,{unitID:_0x1ebe26}=_0xc38aa3,{history:_0x332c39,collaboration:_0x1c4516}=this[_0x2270e0(0x1ac)][_0x2270e0(0x107)](_0x1ebe26);if(_0x332c39['length']===0x0&&_0x1c4516[_0x2270e0(0x9e)]===0x0)return;const _0x366124=[],_0x1b0ea4=[];let _0x33297a=_0x665b8b[_0x2270e0(0x19c)](_0xc38aa3[_0x2270e0(0x1fc)][0x0]),_0x97d5b0=_0x665b8b[_0x2270e0(0x19c)](_0xc38aa3['mutations'][0x0]);for(let _0x443ca8=_0x332c39[_0x2270e0(0x9e)]-0x1;_0x443ca8>=0x0;_0x443ca8--){const _0x453a09={'id':_0x2270e0(0x14f),'params':{'unitId':_0x332c39[_0x443ca8]['unitId'],..._0x332c39[_0x443ca8][_0x2270e0(0x20e)]}},_0x4a8323={'id':_0x2270e0(0x14f),'params':{'unitId':_0x332c39[_0x443ca8][_0x2270e0(0x132)],..._0x332c39[_0x443ca8][_0x2270e0(0x125)]}},_0x559f1e=this[_0x2270e0(0x1af)]['transformMutation'](_0x33297a,_0x453a09,!0x1),_0x47a0a2=this['_transformService'][_0x2270e0(0x1c7)](_0x97d5b0,_0x4a8323,!0x1);if(_0x481950(_0x559f1e))throw _0x559f1e[_0x2270e0(0x1b3)];if(_0x481950(_0x47a0a2))throw _0x47a0a2[_0x2270e0(0x1b3)];_0x366124[_0x2270e0(0x15b)]({..._0x332c39[_0x443ca8],'undoState':_0x559f1e[_0x2270e0(0x1f4)][_0x2270e0(0x18e)],'redoState':_0x47a0a2[_0x2270e0(0x1f4)][_0x2270e0(0x18e)]}),_0x33297a=_0x559f1e[_0x2270e0(0x28b)],_0x97d5b0=_0x47a0a2[_0x2270e0(0x28b)];}_0x33297a=_0x665b8b[_0x2270e0(0x19c)](_0xc38aa3[_0x2270e0(0x1fc)][0x0]),_0x97d5b0=_0x665b8b['deepClone'](_0xc38aa3[_0x2270e0(0x1fc)][0x0]);for(let _0x2f56a4=_0x1c4516[_0x2270e0(0x9e)]-0x1;_0x2f56a4>=0x0;_0x2f56a4--){const _0x511197={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c4516[_0x2f56a4][_0x2270e0(0x132)],..._0x1c4516[_0x2f56a4]['undoState']}},_0x5dcd1f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c4516[_0x2f56a4][_0x2270e0(0x132)],..._0x1c4516[_0x2f56a4][_0x2270e0(0x125)]}},_0x37f22a=this[_0x2270e0(0x1af)][_0x2270e0(0x1c7)](_0x33297a,_0x511197,!0x1),_0x3e8f5b=this[_0x2270e0(0x1af)]['transformMutation'](_0x97d5b0,_0x5dcd1f,!0x1);if(_0x481950(_0x37f22a))throw _0x37f22a[_0x2270e0(0x1b3)];if(_0x481950(_0x3e8f5b))throw _0x3e8f5b['error'];_0x1b0ea4[_0x2270e0(0x15b)]({..._0x1c4516[_0x2f56a4],'undoState':_0x37f22a['m2Prime'][_0x2270e0(0x18e)],'redoState':_0x3e8f5b[_0x2270e0(0x1f4)][_0x2270e0(0x18e)]}),_0x33297a=_0x37f22a[_0x2270e0(0x28b)],_0x97d5b0=_0x3e8f5b[_0x2270e0(0x28b)];}this[_0x2270e0(0x1ac)][_0x2270e0(0x183)](_0x1ebe26,{'history':_0x366124,'collaboration':_0x1b0ea4});}};oe=_n([Ee(0x0,_0x5eeb0c(_0x1ac001)),Ee(0x1,_0x190912),Ee(0x2,_0x5eeb0c(_0x5ec7ff))],oe);var hn=Object['getOwnPropertyDescriptor'],un=(_0x45cc65,_0x15ee96,_0x2f656e,_0x10bcdf)=>{const _0x32b112=_0xbc5111;for(var _0xf308dc=_0x10bcdf>0x1?void 0x0:_0x10bcdf?hn(_0x15ee96,_0x2f656e):_0x15ee96,_0x3f032f=_0x45cc65[_0x32b112(0x9e)]-0x1,_0x182390;_0x3f032f>=0x0;_0x3f032f--)(_0x182390=_0x45cc65[_0x3f032f])&&(_0xf308dc=_0x182390(_0xf308dc)||_0xf308dc);return _0xf308dc;},it=(_0x4e35e8,_0x2d207)=>(_0x42e941,_0x5cd7bf)=>_0x2d207(_0x42e941,_0x5cd7bf,_0x4e35e8);let ae=class{constructor(_0x5e4537,_0x584297){const _0x251e7d=_0xbc5111;this[_0x251e7d(0xc7)]=_0x5e4537,this[_0x251e7d(0x1af)]=_0x584297;}[_0xbc5111(0xf1)](_0x393615){const _0x4d6583=_0xbc5111;var _0x55bd2a;const _0x4b5c3e=this[_0x4d6583(0xc7)][_0x4d6583(0x206)](_0x3a333b),_0x8d71c0=(_0x55bd2a=_0x4b5c3e['getDocRanges']())!=null?_0x55bd2a:[];if(_0x8d71c0[_0x4d6583(0x9e)]===0x0)return;const _0x250789=_0x393615[_0x4d6583(0x247)],_0x506f04=[{'id':_0x4d6583(0x14f),'params':{'unitId':_0x250789,'actions':null,'textRanges':_0x8d71c0}}],_0x33a830=this[_0x4d6583(0x1af)]['transformMutationsWithChangeset'](_0x393615,_0x506f04);if(!_0x36d68a(_0x33a830))throw _0x33a830[_0x4d6583(0x1b3)];const _0x17455d=_0x33a830[_0x4d6583(0x1f4)][0x0][_0x4d6583(0x18e)][_0x4d6583(0x1ae)];Array[_0x4d6583(0x242)](_0x17455d)&&_0x17455d[_0x4d6583(0x9e)]&&_0x4b5c3e[_0x4d6583(0x1ba)](_0x17455d,{'unitId':_0x250789,'subUnitId':_0x250789},!0x1);}};ae=un([it(0x0,_0x5eeb0c(_0x1ac001)),it(0x1,_0x190912)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x2273ac,_0x40d4c9,_0x596b6c,_0x192c45)=>{const _0x3d1fa3=_0xbc5111;for(var _0x36ecf5=_0x192c45>0x1?void 0x0:_0x192c45?dn(_0x40d4c9,_0x596b6c):_0x40d4c9,_0x8cf2a4=_0x2273ac[_0x3d1fa3(0x9e)]-0x1,_0x46a23b;_0x8cf2a4>=0x0;_0x8cf2a4--)(_0x46a23b=_0x2273ac[_0x8cf2a4])&&(_0x36ecf5=_0x46a23b(_0x36ecf5)||_0x36ecf5);return _0x36ecf5;},M=(_0x253ebb,_0x1c6fa3)=>(_0x207f0e,_0x1db58b)=>_0x1c6fa3(_0x207f0e,_0x1db58b,_0x253ebb);let ce=class extends _0x81bfb6{constructor(_0x48734a,_0x51b5cd,_0x5cb686,_0x15e22e,_0x77ea84,_0x712898,_0x238d38,_0x22bce6){const _0xdf83e8=_0xbc5111;super(),_(this,_0xdf83e8(0x13f),new _0x596cd4(_0x548c51[_0xdf83e8(0x23b)])),(this['_docStateChangeManagerService']=_0x48734a,this['_collaborationController']=_0x51b5cd,this[_0xdf83e8(0x16f)]=_0x5cb686,this[_0xdf83e8(0x12f)]=_0x15e22e,this[_0xdf83e8(0x171)]=_0x77ea84,this[_0xdf83e8(0x17d)]=_0x712898,this[_0xdf83e8(0x231)]=_0x238d38,this[_0xdf83e8(0x1c5)]=_0x22bce6,this[_0xdf83e8(0x16e)]());}['_initEntityListener'](){const _0x52a147=_0xbc5111;this[_0x52a147(0x262)](this['_collaborationController'][_0x52a147(0x205)][_0x52a147(0x180)](_0x50d880=>{const _0x1f4328=_0x52a147,_0x4c7de7=this['_docStateChangeManagerService']['docStateChange$'][_0x1f4328(0x180)](_0x11b3d2=>{const _0xd2d3cd=_0x1f4328;if(_0x11b3d2==null)return;const {unitId:_0xa0ad45,redoState:_0x33f517,commandId:_0x257117}=_0x11b3d2;if(_0xa0ad45!==_0x50d880['unitID'])return;const _0xdd9ce9={'id':_0x257117,'type':_0x6d3759['MUTATION'],'params':{'unitId':_0xa0ad45,'actions':_0x33f517[_0xd2d3cd(0xbf)],'textRanges':null}};_0x50d880[_0xd2d3cd(0x246)](_0xdd9ce9);});if(_0x50d880[_0x1f4328(0x262)](_0x4c7de7),_0x50d880 instanceof _0x4ffd89){const _0x52b734={'onTransformIME':_0x55fdcf=>this[_0x1f4328(0x16f)]['transformIMECache'](_0x55fdcf),'onTransformState':_0x3df2fb=>this[_0x1f4328(0x12f)]['transformStateCache'](_0x3df2fb),'onTransformSelections':_0x21b3a0=>this[_0x1f4328(0x171)][_0x1f4328(0xf1)](_0x21b3a0),'onSyncEditingCollabCursor':_0x4d34e2=>this[_0x1f4328(0x17d)][_0x1f4328(0xca)](_0x4d34e2),'onTransformRemoteChangesetByIMECache':_0xa3f7d6=>this[_0x1f4328(0x16f)][_0x1f4328(0xe3)](_0xa3f7d6),'onTransformRemoteChangesetByStateCache':_0x3550ed=>this[_0x1f4328(0x12f)][_0x1f4328(0xe3)](_0x3550ed)};_0x50d880[_0x1f4328(0x232)](_0x52b734);}}));}};ce=fn([M(0x0,_0x5eeb0c(_0x5ec7ff)),M(0x1,_0x5eeb0c(_0x1c5db3)),M(0x2,_0x5eeb0c(re)),M(0x3,_0x5eeb0c(oe)),M(0x4,_0x5eeb0c(ae)),M(0x5,_0x5eeb0c(je)),M(0x6,_0x2df150),M(0x7,_0x5eeb0c(_0x5b2c11))],ce);var Sn=Object[_0xbc5111(0x263)],mn=(_0x550b9f,_0x2f9a81,_0x3f88b1,_0x2469ee)=>{for(var _0x6d287a=_0x2469ee>0x1?void 0x0:_0x2469ee?Sn(_0x2f9a81,_0x3f88b1):_0x2f9a81,_0x5ab83c=_0x550b9f['length']-0x1,_0x1a569b;_0x5ab83c>=0x0;_0x5ab83c--)(_0x1a569b=_0x550b9f[_0x5ab83c])&&(_0x6d287a=_0x1a569b(_0x6d287a)||_0x6d287a);return _0x6d287a;},be=(_0x4d5954,_0x29c03d)=>(_0xda2e81,_0x42ad31)=>_0x29c03d(_0xda2e81,_0x42ad31,_0x4d5954);let Ae=class extends _0x81bfb6{constructor(_0x3bd370,_0x2bb345,_0x32a0ee){const _0x29474a=_0xbc5111;super(),_(this,_0x29474a(0x1b8),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x29474a(0xda),!0x1),(this[_0x29474a(0x25a)]=_0x3bd370,this[_0x29474a(0xfb)]=_0x2bb345,this['_revisionService']=_0x32a0ee);}['disableLocalCache'](){const _0x36b431=_0xbc5111;this[_0x36b431(0xda)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0xbc5111(0xa0)](){const _0x44eac2=_0xbc5111;this[_0x44eac2(0x156)]()[_0x44eac2(0x12e)](()=>super[_0x44eac2(0xa0)]());}async['loadOfflineData'](_0x5bd4ac){const _0x134ea4=_0xbc5111;return this[_0x134ea4(0xda)]?null:this[_0x134ea4(0xfb)][_0x134ea4(0x230)](_0x2c5663(_0x5bd4ac));}async['saveOfflineData'](_0x3e1a4a,_0x49eb72){const _0x566c1e=_0xbc5111;return!!this[_0x566c1e(0xfb)][_0x566c1e(0x181)](_0x3e1a4a,_0x49eb72);}[_0xbc5111(0x266)](_0x159db6,_0x200a6c,_0x5174b1,_0xd9cfab){const _0xcd9af5=_0xbc5111,_0x2db60e=this[_0xcd9af5(0x1cd)][_0xcd9af5(0x17a)](_0x159db6);this[_0xcd9af5(0x1b8)][_0xcd9af5(0x134)](_0x159db6,{'unitID':_0x159db6,'type':_0x200a6c,'awaitingChangeset':_0x5174b1,'mutations':_0xd9cfab,'rev':_0x2db60e}),this[_0xcd9af5(0x1e3)]['has'](_0x159db6)||this[_0xcd9af5(0x228)](_0x159db6);}['_scheduleSaving'](_0x327373){const _0x37281b=_0xbc5111,_0x1909dc=this[_0x37281b(0xac)]();_0x1909dc===0x0?this[_0x37281b(0x18d)](_0x327373):this['_saveTaskMap']['set'](_0x327373,setTimeout(()=>this[_0x37281b(0x18d)](_0x327373),_0x1909dc));}[_0xbc5111(0xac)](){const _0x4352f7=_0xbc5111;var _0x1b9d19;return(_0x1b9d19=this[_0x4352f7(0x25a)]['getConfig'](_0x2292f1))!=null?_0x1b9d19:_0x259a42;}['_saveCache'](_0x48ffd3){const _0x4d0323=_0xbc5111,_0xa7da8=this[_0x4d0323(0x1e3)][_0x4d0323(0x206)](_0x48ffd3);return _0xa7da8!==void 0x0&&window[_0x4d0323(0x103)](_0xa7da8),this[_0x4d0323(0xfb)][_0x4d0323(0x181)](_0x2c5663(_0x48ffd3),this['_cachedData'][_0x4d0323(0x206)](_0x48ffd3))['then'](()=>this['_saveTaskMap'][_0x4d0323(0x198)](_0x48ffd3));}async[_0xbc5111(0x156)](){const _0x4c175b=_0xbc5111,_0x40085b=[];this[_0x4c175b(0x1e3)]['forEach']((_0x422262,_0x2e1c45)=>{const _0x1d07ea=_0x4c175b;window[_0x1d07ea(0x103)](_0x422262),_0x40085b[_0x1d07ea(0x216)](this[_0x1d07ea(0x18d)](_0x2e1c45)[_0x1d07ea(0x12e)](()=>{const _0x559930=_0x1d07ea;this['_saveTaskMap'][_0x559930(0x198)](_0x2e1c45);}));}),await Promise[_0x4c175b(0x136)](_0x40085b);}};Ae=mn([be(0x0,_0x2b4552),be(0x1,_0x144c96),be(0x2,_0x5eeb0c(_0x2340cb))],Ae);class gn extends _0x3718b9{constructor(){const _0x1e8336=_0xbc5111;super(),_(this,_0x1e8336(0x122)),this['urlChange$']=_0x1aaacf(window,'popstate')[_0x1e8336(0xdb)](_0x225be1(this['dispose$']),_0x51f0d5(0x1),_0x95ba0c(void 0x0));}['setParam'](_0x217c2e,_0x27ef90,_0x4a76b9=!0x1){const _0x1d58e9=_0xbc5111,_0x4e4a5d=new URL(window[_0x1d58e9(0x1c3)][_0x1d58e9(0x20d)]);_0x4e4a5d[_0x1d58e9(0x234)][_0x1d58e9(0x134)](_0x217c2e,_0x27ef90),_0x4a76b9?window[_0x1d58e9(0x25c)][_0x1d58e9(0x1c1)]('','',_0x4e4a5d['toString']()):window[_0x1d58e9(0x25c)][_0x1d58e9(0xa3)]('','',_0x4e4a5d[_0x1d58e9(0x1a8)]());}[_0xbc5111(0x18b)](_0x1eb35d,_0x3f74f5=!0x1){const _0x41dabf=_0xbc5111,_0x1f210c=new URL(window['location'][_0x41dabf(0x20d)]);_0x1f210c[_0x41dabf(0x234)]['delete'](_0x1eb35d),_0x3f74f5?window['history']['replaceState']('','',_0x1f210c[_0x41dabf(0x1a8)]()):window['history']['pushState']('','',_0x1f210c[_0x41dabf(0x1a8)]());}[_0xbc5111(0x290)](_0x32127e){const _0x446699=_0xbc5111;var _0x4cfa5b;return(_0x4cfa5b=new URL(window[_0x446699(0x1c3)]['href'])[_0x446699(0x234)]['get'](_0x32127e))!=null?_0x4cfa5b:void 0x0;}}var vn=Object[_0xbc5111(0xc9)],In=Object[_0xbc5111(0x263)],pn=(_0x2821be,_0x262803,_0x4dcafa)=>_0x262803 in _0x2821be?vn(_0x2821be,_0x262803,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dcafa}):_0x2821be[_0x262803]=_0x4dcafa,Cn=(_0x59c55d,_0x443968,_0x3ee1a2,_0x128428)=>{for(var _0x5367f6=_0x128428>0x1?void 0x0:_0x128428?In(_0x443968,_0x3ee1a2):_0x443968,_0x514645=_0x59c55d['length']-0x1,_0x3863ca;_0x514645>=0x0;_0x514645--)(_0x3863ca=_0x59c55d[_0x514645])&&(_0x5367f6=_0x3863ca(_0x5367f6)||_0x5367f6);return _0x5367f6;},Oe=(_0x28ce83,_0x20e09d)=>(_0xd8e4ea,_0x5d1221)=>_0x20e09d(_0xd8e4ea,_0x5d1221,_0x28ce83),En=(_0x4f7120,_0x181f6b,_0x1a1ce5)=>pn(_0x4f7120,_0x181f6b+'',_0x1a1ce5);const bn=_0xbc5111(0xfa);let ye=class extends _0x470737{constructor(_0x2f1d24=st,_0xcd8c35,_0x170e29,_0x5428eb){const _0x5c711a=_0xbc5111;super(),this[_0x5c711a(0xfe)]=_0x2f1d24,this[_0x5c711a(0xde)]=_0xcd8c35,this['_injector']=_0x170e29,this['_configService']=_0x5428eb;const {..._0x2a9d21}=_0x5d5ca5({},st,this['_config']);this[_0x5c711a(0x25a)][_0x5c711a(0x170)](nn,_0x2a9d21);}[_0xbc5111(0x1be)](){const _0x1b817d=_0xbc5111;this['_registerDependencies'](),this[_0x1b817d(0x26e)]();}['onRendered'](){const _0x480954=_0xbc5111;this[_0x480954(0x133)]();}[_0xbc5111(0x260)](){const _0x1a65d4=_0xbc5111;var _0x179a1d;const _0x2142d7=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x38ba51,{'useClass':_0x42269d}],[_0x55279a,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x5009d9(this[_0x1a65d4(0xc7)],_0x1a6d65(_0x2142d7,(_0x179a1d=this['_config'])==null?void 0x0:_0x179a1d['override']));}[_0xbc5111(0x133)](){const _0x332ce7=_0xbc5111;this[_0x332ce7(0x262)](this[_0x332ce7(0xde)][_0x332ce7(0x245)](_0xd95464[_0x332ce7(0xef)],[Ue])),this[_0x332ce7(0x262)](this[_0x332ce7(0xde)][_0x332ce7(0x245)](_0xd95464['UNIVER_SHEET'],[Le]));}[_0xbc5111(0x26e)](){const _0x36a591=_0xbc5111;_0x4534a6(this[_0x36a591(0xc7)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0xbc5111(0x236),bn),ye=Cn([_0x18c463(_0x25b600),Oe(0x1,_0x141461),Oe(0x2,_0x5eeb0c(_0x1ac001)),Oe(0x3,_0x2b4552)],ye);var On=Object[_0xbc5111(0x263)],Tn=(_0x7e6707,_0x2da51a,_0x510526,_0x475009)=>{const _0x48b8cd=_0xbc5111;for(var _0x51e8d2=_0x475009>0x1?void 0x0:_0x475009?On(_0x2da51a,_0x510526):_0x2da51a,_0x449090=_0x7e6707[_0x48b8cd(0x9e)]-0x1,_0x2497fd;_0x449090>=0x0;_0x449090--)(_0x2497fd=_0x7e6707[_0x449090])&&(_0x51e8d2=_0x2497fd(_0x51e8d2)||_0x51e8d2);return _0x51e8d2;},z=(_0x523cd8,_0x4d1d1e)=>(_0x131d5a,_0x10d2b1)=>_0x4d1d1e(_0x131d5a,_0x10d2b1,_0x523cd8);let nt=class extends _0x3fde63{constructor(_0x56c347,_0x10e012,_0x3c791c,_0x135486,_0x317619){super(_0x56c347,_0x10e012,_0x3c791c,_0x135486,_0x317619);}async[_0xbc5111(0xc8)](_0x499f38){const _0x1e7bb5=_0xbc5111,_0x586b9c=await this[_0x1e7bb5(0xdd)](),_0x5ad786=this[_0x1e7bb5(0x100)](_0x499f38,_0x586b9c);return this[_0x1e7bb5(0xe9)](_0x5ad786);}[_0xbc5111(0x100)](_0x458fd2,_0x24511f){const _0x46377e=_0xbc5111,_0x13de84=typeof window>'u'?new URL(_0x458fd2):new URL(_0x458fd2,window[_0x46377e(0x1c3)][_0x46377e(0xb9)]);_0x13de84['searchParams'][_0x46377e(0x134)](_0x46377e(0x114),_0x24511f);const _0x119c78=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x46377e(0x1c3)][_0x46377e(0x1ff)]);return _0x119c78[_0x46377e(0x206)]('runId')&&_0x13de84['searchParams'][_0x46377e(0x134)](_0x46377e(0x269),_0x119c78[_0x46377e(0x206)](_0x46377e(0x269))),_0x13de84[_0x46377e(0x1a8)]();}async[_0xbc5111(0xdd)](){const _0x3cbd54=_0xbc5111;var _0x1b87a9,_0xd9bf4f,_0x1df97c;const _0x515024=this[_0x3cbd54(0x25a)][_0x3cbd54(0x147)](_0x251bb7),_0x330ea4=(_0x1b87a9=_0x515024==null?void 0x0:_0x515024[_0x3cbd54(0x20f)])!=null?_0x1b87a9:_0x46d72c;return(_0x1df97c=(_0xd9bf4f=(await this[_0x3cbd54(0x199)][_0x3cbd54(0x206)](_0x330ea4,{'headers':{'Content-Type':_0x3cbd54(0x178)}}))[_0x3cbd54(0x278)])==null?void 0x0:_0xd9bf4f[_0x3cbd54(0x1fb)])!=null?_0x1df97c:'';}};nt=Tn([z(0x0,_0x5eeb0c(_0x1ac001)),z(0x1,_0x5eeb0c(_0x3eeac1)),z(0x2,_0x2b4552),z(0x3,_0x7d30d),z(0x4,_0x23e5b0)],nt);const rt=0x7530,ot=_0xbc5111(0x95);class Gn extends _0x81bfb6{constructor(){const _0x75c25=_0xbc5111;super(),_(this,_0x75c25(0x102),_0x1eae8a()),_(this,_0x75c25(0x1f7),new Set()),_(this,_0x75c25(0x15e),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x75c25(0x14c),new Map()),_(this,_0x75c25(0x11f),new Map()),this[_0x75c25(0x293)]();}[_0xbc5111(0xa0)](){const _0x587ef9=_0xbc5111;super[_0x587ef9(0xa0)](),this[_0x587ef9(0x14c)]['forEach']((_0x4916bb,_0xc8d8eb)=>this[_0x587ef9(0x261)](_0xc8d8eb)),this[_0x587ef9(0x118)]&&window[_0x587ef9(0x195)](this[_0x587ef9(0x118)]);}[_0xbc5111(0x191)](_0x37116f){const _0x48267a=_0xbc5111;return this[_0x48267a(0x169)](_0x37116f)['pipe'](_0x55f8a1());}[_0xbc5111(0xf9)](_0x195d3d){const _0xb13ee1=_0xbc5111;this['_selfUnitIDs'][_0xb13ee1(0x123)]===0x0&&this[_0xb13ee1(0x12c)](),this[_0xb13ee1(0x1f7)]['add'](_0x195d3d),this[_0xb13ee1(0xa9)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x195d3d],'isForwarded':!0x1});}[_0xbc5111(0x117)](_0x58f836){const _0x182832=_0xbc5111;this['_selfUnitIDs'][_0x182832(0x198)](_0x58f836),this[_0x182832(0x1f7)][_0x182832(0x123)]===0x0&&this[_0x182832(0x118)]&&window[_0x182832(0x195)](this[_0x182832(0x118)]);}[_0xbc5111(0x293)](){const _0x3ce9b0=_0xbc5111;this['disposeWithMe'](_0x7ed4d2(_0x1aaacf(window,_0x3ce9b0(0x210))[_0x3ce9b0(0x180)](_0x319723=>{const _0x2a6db2=_0x3ce9b0;if(_0x319723[_0x2a6db2(0xe6)]!==ot||!_0x319723[_0x2a6db2(0x1ec)])return;const _0x43a9cd=JSON['parse'](_0x319723[_0x2a6db2(0x1ec)]);this[_0x2a6db2(0x19e)](_0x43a9cd);}))),window[_0x3ce9b0(0x137)](_0x3ce9b0(0x1bf),()=>this[_0x3ce9b0(0xa9)]({'type':0x1,'memberID':this[_0x3ce9b0(0x102)],'unitIDs':Array[_0x3ce9b0(0xa5)](this[_0x3ce9b0(0x1f7)])}));}[_0xbc5111(0x19e)](_0x463de8){const _0x321cf4=_0xbc5111;switch(_0x463de8['type']){case 0x0:this['_handleJoinEvent'](_0x463de8);break;case 0x1:this[_0x321cf4(0x1dd)](_0x463de8);break;case 0x2:this[_0x321cf4(0x1c6)](_0x463de8);break;}}[_0xbc5111(0xb2)](_0x1a9fef){const _0x5c5074=_0xbc5111,{unitIDs:_0x10c760,memberID:_0x308ddc,isForwarded:_0x3497a6}=_0x1a9fef;_0x10c760[_0x5c5074(0x18c)](_0xfd709=>{const _0x421631=_0x5c5074;if(!_0x3497a6&&this[_0x421631(0x15e)]['has'](_0xfd709)&&this[_0x421631(0x169)](_0xfd709)[_0x421631(0x104)](_0x586cb3['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0xfd709)||!this[_0x421631(0x15e)][_0x421631(0x206)](_0xfd709)['has'](_0x308ddc)){const _0x1e1592=this[_0x421631(0x15e)][_0x421631(0x206)](_0xfd709)||new Set();_0x1e1592[_0x421631(0x143)](_0x308ddc),this[_0x421631(0x15e)][_0x421631(0x134)](_0xfd709,_0x1e1592),this['_scheduleClearOtherTimer'](_0x308ddc);}}),_0x3497a6||this[_0x5c5074(0xa9)]({'type':0x0,'memberID':this[_0x5c5074(0x102)],'unitIDs':[...this[_0x5c5074(0x1f7)]],'isForwarded':!0x0});}[_0xbc5111(0x27a)](_0x3e92f1){const _0x318490=_0xbc5111;this['_removeClearOtherTimer'](_0x3e92f1);const _0x252315=window[_0x318490(0xaa)](()=>{const _0x4fc26c=_0x318490;this[_0x4fc26c(0x15e)][_0x4fc26c(0x18c)](_0x191e08=>{const _0x394a9e=_0x4fc26c;_0x191e08[_0x394a9e(0x198)](_0x3e92f1);});},rt*0x2);this[_0x318490(0x14c)][_0x318490(0x134)](_0x3e92f1,_0x252315);}['_removeClearOtherTimer'](_0x1e80fc){const _0x41cd3b=_0xbc5111;if(this[_0x41cd3b(0x14c)][_0x41cd3b(0x294)](_0x1e80fc)){const _0x4d46b6=this[_0x41cd3b(0x14c)][_0x41cd3b(0x206)](_0x1e80fc);_0x4d46b6&&window['clearTimeout'](_0x4d46b6),this[_0x41cd3b(0x14c)][_0x41cd3b(0x134)](_0x1e80fc,null);}}[_0xbc5111(0x1dd)](_0x3df129){const _0x204e5c=_0xbc5111,{memberID:_0x2b5514,unitIDs:_0x1311ec}=_0x3df129;_0x1311ec[_0x204e5c(0x18c)](_0x10186b=>{const _0x3800b0=_0x204e5c;var _0x441e34;const _0x22bb8c=this[_0x3800b0(0x15e)][_0x3800b0(0x206)](_0x10186b);_0x22bb8c&&(_0x22bb8c[_0x3800b0(0x198)](_0x2b5514),(_0x441e34=this[_0x3800b0(0x169)](_0x10186b))==null||_0x441e34[_0x3800b0(0x104)](_0x22bb8c[_0x3800b0(0x123)]===0x0?_0x586cb3[_0x3800b0(0x154)]:_0x586cb3['OTHER_CLIENTS_EDITING']));}),this[_0x204e5c(0x261)](_0x2b5514);}[_0xbc5111(0x1c6)](_0x3eb09f){const _0x573c42=_0xbc5111;this[_0x573c42(0x27a)](_0x3eb09f[_0x573c42(0xab)]);}['_send'](_0x8995b0){const _0x3835c4=_0xbc5111;localStorage[_0x3835c4(0x181)](ot,JSON[_0x3835c4(0x12d)](_0x8995b0));}[_0xbc5111(0x12c)](){const _0x1b8b0d=_0xbc5111;this[_0x1b8b0d(0x118)]=window[_0x1b8b0d(0xb5)](()=>{const _0x33d2d2=_0x1b8b0d;this[_0x33d2d2(0xa9)]({'type':0x2,'memberID':this[_0x33d2d2(0x102)]});},rt);}[_0xbc5111(0x169)](_0x10a53d){const _0x30375b=_0xbc5111;return this['_unitStatus'][_0x30375b(0x294)](_0x10a53d)||this[_0x30375b(0x11f)][_0x30375b(0x134)](_0x10a53d,new _0x596cd4(_0x586cb3['NO_OTHER_CLIENTS_EDITING'])),this[_0x30375b(0x11f)][_0x30375b(0x206)](_0x10a53d);}}var Ut=(_0x4f3400=>(_0x4f3400[_0x4f3400[_0xbc5111(0x157)]=0x0]=_0xbc5111(0x157),_0x4f3400[_0x4f3400['OK']=0x1]='OK',_0x4f3400[_0x4f3400[_0xbc5111(0x11e)]=0x2]=_0xbc5111(0x11e),_0x4f3400[_0x4f3400[_0xbc5111(0x148)]=0x3]='PERMISSION_DENIED',_0x4f3400[_0x4f3400[_0xbc5111(0x126)]=0x4]='NOT_FOUND',_0x4f3400[_0x4f3400[_0xbc5111(0x109)]=0x5]=_0xbc5111(0x109),_0x4f3400[_0x4f3400[_0xbc5111(0x1bc)]=0x6]='ALREADY_EXISTS',_0x4f3400[_0x4f3400[_0xbc5111(0x289)]=0x7]=_0xbc5111(0x289),_0x4f3400[_0x4f3400[_0xbc5111(0x1b0)]=0x8]=_0xbc5111(0x1b0),_0x4f3400[_0x4f3400['COMPLETION_FINISHED']=0x9]=_0xbc5111(0xec),_0x4f3400[_0x4f3400[_0xbc5111(0x144)]=0xa]=_0xbc5111(0x144),_0x4f3400[_0x4f3400['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xbc5111(0x28c),_0x4f3400[_0x4f3400[_0xbc5111(0x142)]=0x1771]=_0xbc5111(0x142),_0x4f3400[_0x4f3400[_0xbc5111(0x1a6)]=0x1772]=_0xbc5111(0x1a6),_0x4f3400[_0x4f3400[_0xbc5111(0x15a)]=0x1773]=_0xbc5111(0x15a),_0x4f3400[_0x4f3400[_0xbc5111(0x272)]=0x1b59]=_0xbc5111(0x272),_0x4f3400[_0x4f3400[_0xbc5111(0x1fa)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x4f3400[_0x4f3400[_0xbc5111(0xfc)]=0x1b5b]=_0xbc5111(0xfc),_0x4f3400[_0x4f3400['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4f3400[_0x4f3400['APPLY_DUPLICATED']=0x1b5d]=_0xbc5111(0x24f),_0x4f3400[_0x4f3400['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4f3400[_0x4f3400[_0xbc5111(0x1a3)]=0x2329]=_0xbc5111(0x1a3),_0x4f3400[_0x4f3400[_0xbc5111(0x202)]=0x232a]=_0xbc5111(0x202),_0x4f3400[_0x4f3400['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0xbc5111(0xaf),_0x4f3400[_0x4f3400['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xbc5111(0x1a2),_0x4f3400[_0x4f3400[_0xbc5111(0x1e1)]=0x232d]=_0xbc5111(0x1e1),_0x4f3400[_0x4f3400[_0xbc5111(0x20a)]=0x2711]=_0xbc5111(0x20a),_0x4f3400[_0x4f3400[_0xbc5111(0x235)]=0x2712]=_0xbc5111(0x235),_0x4f3400[_0x4f3400[_0xbc5111(0x23e)]=0x2713]=_0xbc5111(0x23e),_0x4f3400[_0x4f3400[_0xbc5111(0xc2)]=0x2714]=_0xbc5111(0xc2),_0x4f3400[_0x4f3400[_0xbc5111(0x28f)]=0x2af9]=_0xbc5111(0x28f),_0x4f3400[_0x4f3400[_0xbc5111(0xd5)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4f3400[_0x4f3400['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x4f3400[_0x4f3400['INVITE_CODE_REQUIRED']=0x2ee3]=_0xbc5111(0x221),_0x4f3400[_0x4f3400[_0xbc5111(0x139)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4f3400[_0x4f3400[_0xbc5111(0x254)]=0x2ee5]=_0xbc5111(0x254),_0x4f3400[_0x4f3400[_0xbc5111(0x111)]=0x32c9]=_0xbc5111(0x111),_0x4f3400[_0x4f3400[_0xbc5111(0x146)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4f3400[_0x4f3400['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4f3400[_0x4f3400['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x4f3400))(Ut||{}),Rn=Object[_0xbc5111(0x263)],Dn=(_0x473fe0,_0x94ed7f,_0x2fa892,_0x1ef7f8)=>{for(var _0x207ff2=_0x1ef7f8>0x1?void 0x0:_0x1ef7f8?Rn(_0x94ed7f,_0x2fa892):_0x94ed7f,_0x2b0ac3=_0x473fe0['length']-0x1,_0x595ffd;_0x2b0ac3>=0x0;_0x2b0ac3--)(_0x595ffd=_0x473fe0[_0x2b0ac3])&&(_0x207ff2=_0x595ffd(_0x207ff2)||_0x207ff2);return _0x207ff2;},Te=(_0x43d044,_0x1fbd8f)=>(_0xdfb97a,_0x43d898)=>_0x1fbd8f(_0xdfb97a,_0x43d898,_0x43d044);let at=class extends _0x81bfb6{constructor(_0x4fb87f,_0x1d198e,_0x411503){const _0x202e52=_0xbc5111;super(),this[_0x202e52(0xa6)]=_0x4fb87f,this[_0x202e52(0x199)]=_0x1d198e,this['_configService']=_0x411503;}async[_0xbc5111(0xb3)](_0xc19408,_0x549e87,_0x152c6d,..._0x478ab6){const _0x256d51=_0xbc5111;var _0x5e8ec6,_0xe06991,_0x223f7e,_0xc4cbae;const _0x2c6f30=this[_0x256d51(0xa6)][_0x256d51(0xf4)]();if(!_0x2c6f30)throw new Error(_0x256d51(0x201));const _0x5d5192=((_0x5e8ec6=this[_0x256d51(0x25a)][_0x256d51(0x147)](_0x456d9a))!=null?_0x5e8ec6:_0xc4741e)+'/'+_0xc19408+_0x256d51(0x1e7)+_0x549e87,_0x199dbc=new URL(window['location'][_0x256d51(0x20d)]),_0x3a5184={'scriptId':_0xc19408,'runId':(_0xe06991=_0x199dbc['searchParams'][_0x256d51(0x206)]('runId'))!=null?_0xe06991:'','function':_0x549e87,'unitId':_0x2c6f30[_0x256d51(0x27d)](),'argsOfFunction':JSON[_0x256d51(0x12d)](_0x478ab6),'invokeId':(_0x223f7e=_0x152c6d['invokeId'])!=null?_0x223f7e:'','executionId':(_0xc4cbae=_0x152c6d[_0x256d51(0x295)])!=null?_0xc4cbae:''};try{const _0x456bab=await this[_0x256d51(0x199)]['post'](_0x5d5192,{'body':_0x3a5184});return _0x456bab[_0x256d51(0x278)][_0x256d51(0x1b3)]&&_0x456bab[_0x256d51(0x278)]['error'][_0x256d51(0x267)]!==Ut['OK']?_0x256d51(0x14b):_0x456bab[_0x256d51(0x278)]['result'];}catch{return _0x256d51(0x14b);}}};at=Dn([Te(0x0,_0x2e829f),Te(0x1,_0x5eeb0c(_0x3eeac1)),Te(0x2,_0x2b4552)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function _0x2f18(_0x3580f4,_0x58674a){const _0x35b55d=_0x35b5();return _0x2f18=function(_0x2f18cf,_0x2005db){_0x2f18cf=_0x2f18cf-0x1c7;let _0x59edb5=_0x35b55d[_0x2f18cf];return _0x59edb5;},_0x2f18(_0x3580f4,_0x58674a);}function _0x35b5(){const _0x4f5b31=['156808FGWHAY','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Authentication\x20Error','872806NLkZlF','12xcFcsu','1320146luFlvQ','2649530VgaePb','4920027jPrgXF','Local\x20file','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.','18mcEWjZ','30VwguGO','1sUfnht','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing...','638223VIZyei','Collaboration\x20Conflict','Connection\x20failed,\x20please\x20check\x20your\x20network.','Synced','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','78720GKgNFI','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'];_0x35b5=function(){return _0x4f5b31;};return _0x35b5();}const _0x1917cc=_0x2f18;(function(_0xa48516,_0x5c3bd4){const _0x4384e0=_0x2f18,_0x1e80c0=_0xa48516();while(!![]){try{const _0x2eb8b5=parseInt(_0x4384e0(0x1dc))/0x1*(parseInt(_0x4384e0(0x1d5))/0x2)+-parseInt(_0x4384e0(0x1c9))/0x3*(-parseInt(_0x4384e0(0x1d4))/0x4)+-parseInt(_0x4384e0(0x1d6))/0x5+parseInt(_0x4384e0(0x1ce))/0x6+-parseInt(_0x4384e0(0x1d7))/0x7+-parseInt(_0x4384e0(0x1d0))/0x8*(-parseInt(_0x4384e0(0x1da))/0x9)+parseInt(_0x4384e0(0x1db))/0xa*(parseInt(_0x4384e0(0x1d3))/0xb);if(_0x2eb8b5===_0x5c3bd4)break;else _0x1e80c0['push'](_0x1e80c0['shift']());}catch(_0x249f20){_0x1e80c0['push'](_0x1e80c0['shift']());}}}(_0x35b5,0x56e31));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x1917cc(0x1dd),'notCollab':_0x1917cc(0x1d8),'synced':_0x1917cc(0x1cc),'syncing':_0x1917cc(0x1c8),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x1917cc(0x1cb),'will-retry':_0x1917cc(0x1c7),'room-full':_0x1917cc(0x1d1),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x1917cc(0x1ca),'content':_0x1917cc(0x1d9)},'permission':{'title':_0x1917cc(0x1d2),'content':_0x1917cc(0x1cd)},'collaboration':{'single-unit':{'warning':_0x1917cc(0x1cf)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function _0x1382(_0x408c51,_0x4a69d3){const _0x15bd81=_0x15bd();return _0x1382=function(_0x138215,_0x4d9bc5){_0x138215=_0x138215-0x6f;let _0xe41355=_0x15bd81[_0x138215];return _0xe41355;},_0x1382(_0x408c51,_0x4a69d3);}const _0x11fe92=_0x1382;(function(_0x28c15c,_0xb8d58){const _0x2a1b8c=_0x1382,_0x2eeebb=_0x28c15c();while(!![]){try{const _0x1f8af4=-parseInt(_0x2a1b8c(0x72))/0x1*(parseInt(_0x2a1b8c(0x78))/0x2)+-parseInt(_0x2a1b8c(0x6f))/0x3+parseInt(_0x2a1b8c(0x83))/0x4*(-parseInt(_0x2a1b8c(0x7e))/0x5)+parseInt(_0x2a1b8c(0x70))/0x6*(parseInt(_0x2a1b8c(0x75))/0x7)+-parseInt(_0x2a1b8c(0x79))/0x8+-parseInt(_0x2a1b8c(0x7b))/0x9*(parseInt(_0x2a1b8c(0x71))/0xa)+parseInt(_0x2a1b8c(0x86))/0xb*(parseInt(_0x2a1b8c(0x81))/0xc);if(_0x1f8af4===_0xb8d58)break;else _0x2eeebb['push'](_0x2eeebb['shift']());}catch(_0x2f6efe){_0x2eeebb['push'](_0x2eeebb['shift']());}}}(_0x15bd,0x792d6));const o={'collab-client':{'tooltip':{'reconnect':_0x11fe92(0x87)}},'collabStatus':{'fetchMiss':_0x11fe92(0x74),'conflict':_0x11fe92(0x7c),'notCollab':_0x11fe92(0x73),'synced':'همگام\x20سازی','syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x11fe92(0x77)},'session':{'connection-failed':_0x11fe92(0x84),'will-retry':_0x11fe92(0x85),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x11fe92(0x80)},'conflict':{'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بین\x20خواهند\x20رفت.'},'permission':{'title':_0x11fe92(0x82),'content':_0x11fe92(0x76)},'collaboration':{'single-unit':{'warning':_0x11fe92(0x7f)},'closeRoom':_0x11fe92(0x7d)},'auth':{'needGotoLoginAlert':_0x11fe92(0x7a)}};function _0x15bd(){const _0x14a56c=['تداخل\x20ویرایش','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','25lMhrVe','شما\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شوند.','12bZAAen','خطای\x20اعتبارسنجی','319188lcSZDT','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','10136434atRCpf','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','104544spkcfK','3804mAuHWC','4910CPoWfa','20123TloyOk','پرونده\x20محلی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','7910LcbHej','اعمال\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شوند','2RMpAar','5497000XxBEcU','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','9ZUpbht'];_0x15bd=function(){return _0x14a56c;};return _0x15bd();}export{o as default};
|