@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506021607 → 0.8.0-nightly.202506031608
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x2ea585=_0x3e72;(function(_0x5f4126,_0x2901b3){const _0x540c50=_0x3e72,_0x1dcf44=_0x5f4126();while(!![]){try{const _0x16c2b6=-parseInt(_0x540c50(0x1d2))/0x1+parseInt(_0x540c50(0x87))/0x2*(parseInt(_0x540c50(0xfa))/0x3)+-parseInt(_0x540c50(0x14d))/0x4+parseInt(_0x540c50(0x100))/0x5*(-parseInt(_0x540c50(0x167))/0x6)+parseInt(_0x540c50(0xa3))/0x7+parseInt(_0x540c50(0x66))/0x8+parseInt(_0x540c50(0x194))/0x9*(-parseInt(_0x540c50(0x1a3))/0xa);if(_0x16c2b6===_0x2901b3)break;else _0x1dcf44['push'](_0x1dcf44['shift']());}catch(_0x2b1cf7){_0x1dcf44['push'](_0x1dcf44['shift']());}}}(_0x5527,0xc8ecf));var $t=Object['defineProperty'],xt=(_0xbd50a3,_0x468259,_0x30e875)=>_0x468259 in _0xbd50a3?$t(_0xbd50a3,_0x468259,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30e875}):_0xbd50a3[_0x468259]=_0x30e875,_=(_0x3b25ea,_0x53882c,_0x2d07ce)=>xt(_0x3b25ea,typeof _0x53882c!='symbol'?_0x53882c+'':_0x53882c,_0x2d07ce);import{MemberService as _0x957363,SessionStatus as _0x1be906,CollaborationSessionService as _0x5db2de,CollaborationStatus as _0x22b9eb,CollaborationController as _0x2e8838,ILocalCacheService as _0xb2bb6a,CollaborationUIEventService as _0x146bdc,CollaborationUIEventId as _0x5bd043,DataLoaderService as _0x50b1e1,DocCollaborationEntity as _0x40f114,getLocalCacheKey as _0x3c28af,LOCAL_CACHE_INTERVAL as _0x4961b2,LOCAL_CACHE_INTERVAL_KEY as _0x4193b7,UniverCollaborationClientPlugin as _0x4d1be4,CollaborationSocketService as _0xa51a02,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x59eb65,DEFAULT_WS_SESSION_TICKET_URL as _0x446d5f,UnitStatus as _0x526cb6,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1ff146,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x114a7e}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3eac5d,Disposable as _0x40ba21,DOC_RANGE_TYPE as _0x352d7e,Inject as _0x1b5eae,Injector as _0x5bfc31,IUniverInstanceService as _0x59e8d0,ICommandService as _0xa8cbfd,debounce as _0x149e25,Rectangle as _0x235cd2,DisposableCollection as _0x451387,toDisposable as _0x4b2294,UniverInstanceType as _0x17d1c2,Tools as _0x45a912,COLORS as _0x152bdc,ColorKit as _0x247de3,ThemeService as _0x2cd56c,fromEventSubject as _0x5d7a9b,LocaleService as _0x2e50e5,createIdentifier as _0x44fa29,ILogService as _0x2ac48a,Optional as _0x17b026,Workbook as _0x197ab5,CommandType as _0x4a0f45,IConfigService as _0x15811c,ILocalStorageService as _0x46737b,DependentOn as _0x2fb02a,Plugin as _0x5650a0,merge as _0x1c6faa,registerDependencies as _0x146ce2,mergeOverrideWithDependencies as _0x3c03b0,touchDependencies as _0x1e96cf,generateRandomId as _0x38a20e}from'@univerjs/core';import{Shape as _0x347998,Rect as _0x31c455,getColor as _0x113774,RegularPolygon as _0x2ff387,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1e1258,Vector2 as _0x766b0c,SHEET_VIEWPORT_KEY as _0x5438bd,IRenderManagerService as _0x199ab1}from'@univerjs/engine-render';import{ISocketService as _0x50064a,WebSocketService as _0x5a68be,HTTPService as _0x1d3895}from'@univerjs/network';import{IDocClipboardService as _0x4193dd,NodePositionConvertToCursor as _0xb4cb7,NodePositionConvertToRectRange as _0x16fc13,TEXT_RANGE_LAYER_INDEX as _0x1bc18a,SetDocZoomRatioOperation as _0x65133c,DocIMEInputManagerService as _0x3b8c66,DocStateChangeManagerService as _0x1d23eb}from'@univerjs/docs-ui';import{IImageIoService as _0x457447}from'@univerjs/drawing';import{BehaviorSubject as _0x5d9fc3,debounceTime as _0x47d14f,takeUntil as _0x53da7d,Subject as _0x44b731,filter as _0x28c509,switchMap as _0x32c90e,merge as _0x1863bc,combineLatest as _0xa2467,of as _0x3b4356,fromEvent as _0xe04811,shareReplay as _0x3f6233,mapTo as _0x296ed6,distinctUntilChanged as _0x441853}from'rxjs';function _0x5527(){const _0x46ae63=['session.will-retry','add','_revisionService','_assignedColors','_lastPointer','_handleJoinEvent','defIds','docStateChange$','text','onPointerMove$','_univerInstanceService','includes','FromArray','_messageService','USER_NOT_INVITED_CODE','_cursorInfo$','univer-flex\x20univer-mr-2\x20univer-text-xl','setActiveRange','stringify','DeleteRangeMoveLeftCommandId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','executeCommand','currentColor','actions','InsertRangeMoveRightCommandId','map','_removeCollabCursors','collaboration-client.offline-data-not-saved','getUniverSheetInstance','_unitStatus','on-line-icon','from','xlink:href','APPLY_DUPLICATED','all','_uiPartsService','svg','_scheduleSaving','RECT','color','84369XNsViF','_initEvent','url(#off-line-icon_clip0_910_343)','_status$','_renderManagerService','1em','popstate','wsSessionTicketUrl','saveTaskMap','OTHER_CLIENT_EDITING','_scheduleClearOtherTimer','uni.network.url-service','transformByState','searchParams','_updateURLWithCurrentState','LICENSE_DISTRO_REJECTED','startRow','setItem','YUUMI_NO_CUBOID_FOR_QUESTION','SUBMIT_CHANGESET_TIMEOUT','SYNCED','init','yellow.400','entries','newValue','_heartbeatTimer','max','_collaborationUIEventService','_createSocketURL','_document','_cachedData','addObjects','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_handleLeaveEvent','Error','length','result','APPLY_REVISION_CONFILICT','textRanges','_collabCursorState$','subunit','_ensureSubject','name','CONFLICT','_updateLocalCursor','fillText','m1Prime','tag','OTHER_CLIENTS_EDITING','values','green.600','replaceState','flatMap','APPLY_PERMISSION_DENIED','permission.content','ticket','_cursorShapes','OnLineIcon','ranges','split','getOwnPropertySymbols','clearTimeout','unitID','M0\x200H16V16H0z','_sheetSkeletonManagerService','_transformPreviousActiveRange','onMouseMove','collab-client.tooltip.reconnect','_setupBeforeClosingHandler','arc','NO_OTHER_CLIENTS_EDITING','sheetId','_localeService','getMember','subscribe','_injector','next','_configService','jiqing.500','LICENSE_MAX_UNITS_EXCEEDED','pushState','USERS_LEAVE','column','InsertRowCommandId','doc.mutation.rich-text-editing','application/json','attrs','_collabSessionService','off-line-icon_clip0_910_343','_initEntityListener','set','displayName','EMAIL_HAS_BEEN_BOUND','_entityInit$','startColumn','_hideTimer','unshift','assignAColorForMemberID','PENDING','_backgroundColor','getActiveRange','APPLY_REJECT','override','prototype','transform','current','_handleHover','YUUMI_TABLE_NOT_FOUND_IN_UNIT','extend','cursorInfo','range','path','_colorIndex','translate(.97)','YUUMI_ALL_TABLES_IS_INVALID','YUUMI_SUBSCRIPTION_NOT_FOUND','white','getSheetBySheetId','_onRefRangeChange','_startSheetCollabCursor','href','sessionTicket','_onCursorUpdate','trim','_send','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_syncEditingCollabCursorService','focused$','_collaborationController','hasOwnProperty','bottom','TEXT','_context','SNAPSHOT_HAS_BEEN_REMOVED','UNRECOGNIZED','endRow','_docStateChangeManagerService','addHandlerCallback','_eventUnsubscribe','body','_transformService','getRenderById','icon','session.collaboration-timeout','onPointerLeave$','getUnitId','Unknown\x20user','history','collab-text-range-','event$','getMergeData','url(#on-line-icon_clip0_910_349)','_docClipboardService','call','0\x200\x2016\x2016','whenReady','_getSessionTicket','setInterval','INVALID_INVITE_CODE','_transformHistoryAndStateStack','show','transformIMECache','error','substring','setParam','get','setShapeProps','clipPath','backgroundColor','12139352dOqUQF','sheetID','_labelPosition','m2Prime','permission.title','deepClone','_disabled','invokeId','propertyIsEnumerable','_getSaveTimeout','_online','getCellPositionByOffset','editingUnit','AWAITING_WITH_PENDING','_cursor','defineProperty','getConfig','unsubscribe','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','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_instanceService','urlChange$','_hovered','forEach','_docTransformStateCacheService','then','asObservable','colorChannel1','_themeService','_initResize','roomMembers','subscribeEvent','exhaustSavingTask','2082044AvKVCh','beginPath','_refreshCollabCursors','parse','location','getValue','indexOf','_localStorageService','getCollabCursors$','_updateSubUnitFromURLParams','_unitOnClients','_dataLoaderService','undoState','unit','onPointerEnter$','_shapes','_refRangeService','_handleEvent','_httpService','_docSkeletonManagerService','_roomMembers$','PERMISSION_DENIED','getTypeOfUnitAdded$','_setupSubUnitSync','getCurrent','transformSelections','memberID','runOnServer','10608752GdxfYN','_cursors','_drawRectRange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','has','YUUMI_AI_RUN_FAILED','findNodePositionByCharIndex','UNIVER_SHEET','onTransformChange$','WECHAT_HAS_BEEN_BOUND','_startDocCollabCursor','_getAnchorBounding','setUndoRedoMutationParamsCache','string','Failed','disposeWithMe','_toggleOffline','MOBILE_HAS_BEEN_BOUND','delete','black','INVITE_CODE_HAS_BEEN_UES','cursorInfo$','entityInit$','some','YUUMI_RATE_OVER_LIMIT','YUUMI_URL_COL_OUT_OF_RANGE','runId','_onCursorDelete','enableLocalCache','closePath','_hover','drawWith','_urlService','selections','blue.400','_anchorDot','contains','toString','moveTo','push','purple.300','transformMutationsWithChangeset','getSkeleton','setAlpha','fill','#FFF','onCommandExecuted','loadOfflineData','getCurrentRevOfUnit','_initStatusListener','_beforeCloseService','collaboration.single-unit.warning','YUUMI_ASYNCIO_CANCELLED','_render','_drawAnchor','_id','registerRenderModule','currentTheme$','INVALID_ARGUMENT','INVITE_CODE_ALREADY_BOUND','triggerDblclick','measureText','data','_textBubble','source','UPDATE_CURSOR','collabStatus.offline','DeleteRangeMoveUpCommandId','getUndoRedoMutationParamsCache','apply','off-line-icon','replaceDocRanges','LICENSE_IMPORT_SIZE_EXCEEDED','ACTIVE_UNIT_EVENT_CHANNEL','collab-rect-range-','clearInterval','OffLineIcon','url(#$1','_transformUndoRedoStack','_commandService','_color','RemoveColCommandId','_toggleOnline','min','div','YUUMI_UNABLE_LOAD_URL','collabCursorState$','3PnpLGb','unitId','LOGIN_FAILED','with','function','getTypeOfUnitDisposed$','25eBERyA','getMemberID','find','getOffsetConfig','...','_getSheetObject','NOT_FOUND','on-line-icon_clip0_910_349','evenodd','HEADER_MENU','_registerDependencies','dispose$','disposeUnit','transformRemoteChangeset','restore','onStarting','_saveCache','_scene','assign','isArray','OFFLINE','updateOfflineData','CONNECTOR_DATA_TOO_LARGE','_updateCollabCursors','debug','getActiveSheet','_initStatusComponent','_notificationService','none','_entities','_draw','onRendered','saveImage','getCollabEntity$','UNAUTHENTICATED','activeSheet$','sessionStatus$','VIEW_MAIN','className','getFocusedUnit','SOCKET_FAILED','_registerRenderDependencies','endColumn','_config','requireSession','registerRefRange','INVITE_CODE_REQUIRED','NOT_COLLAB','top','getUnitStatus$','key','SNAPSHOT_INVALID_SNAPSHOT','isEditing','_logService','_initDependencies','RemoveRowCommandId','UNDEFINED','getDocRanges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_drawTextRange','concat','http://www.w3.org/2000/svg','eventID','_range','save','collaboration.closeRoom','_selfUnitIDs','selection','width','removeParam','row','_clearOtherTimers','getUnhiddenWorksheets','_localCacheService','Warning','_colorAssignService','fillStyle','3157244OXKxiN','redoState','_memberService','complete','height','_imageIoService','engine','search','collaboration-client-ui.config','_removeClearOtherTimer','MUTATION','resize','toRgbString','_anchor','_getMergeRange','addObject','_init','origin','onLocalMutation','generateRandomId','hide','type','rgba(255,\x20255,\x20255,\x200.01)','transformMutation','MoveRangeCommandId','mask','316278sLuFkL','JOIN_ROOM_FAILED','/run/','currentSkeleton$','pipe','subUnitId','ONLINE','_collabCursorController','getOwnPropertyDescriptor','getStateCache','round','lineTo','storage','UNIVER_DOC','getRelativeToViewportCoord','_docTransformSelectionsService','registerBeforeClose','unload','replace','CHANGESET_REVISION_CONFILICT','getSheetId','use','_handleHeartbeatEvent','PY_RUNTIME_SCRIPT_ERROR','defs','COMPLETION_FINISHED','SOCKET_FAILED_RETRY','InsertRangeMoveDownCommandId','imageSourceType','INTERNAL_ERROR','transformStateCache','makeDirty','size','_docTransformIMECacheService','mutations','children','code','_name','collabStatus.fetchMiss','post','startsWith','isActive','_initCommandExecutedListener','ENSURE_SNAPSHOT_EXECUTION','FETCH_MISS','2717667HOEmAV','dispose','_saveTaskMap','APPLY_NON_SEQUENTIAL_REVISION','collabStatus.conflict','hovered','InsertColCommandId','labelPosition','registerComponent','session.connection-failed','_session','createSocket','[CollaborationDataLoaderController]','params','getParam','70VDNwMg','send','idSuffix','getItem','_getScale','ALREADY_EXISTS','collab-text-anchor-'];_0x5527=function(){return _0x46ae63;};return _0x5527();}import{SetTextSelectionsOperation as _0x4e31f5,RichTextEditingMutation as _0x3ad2f3,DocSelectionManagerService as _0x232b51,DocSkeletonManagerService as _0x5c7684}from'@univerjs/docs';import{ITransformService as _0x24498d,CollaborationEvent as _0xebb8a8,isTransformMutationFailure as _0x1c5976,isTransformMutationsWithChangesetSuccess as _0x4089ae,RevisionService as _0x34be82,ISnapshotServerService as _0x1e4383}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x516427,serializeRangeWithSheet as _0x787795}from'@univerjs/engine-formula';import{RefRangeService as _0x36b3ee,SetSelectionsOperation as _0x966dbb,SheetsSelectionsService as _0x541779,EffectRefRangId as _0x2a823f,handleIRemoveRow as _0x5360f6,handleIRemoveCol as _0xe63233,handleMoveRange as _0xfb3f53,handleInsertRow as _0x86db8e,handleInsertRangeMoveRight as _0x275f0a,handleInsertRangeMoveDown as _0x29e20c,handleInsertCol as _0x27f750,handleDeleteRangeMoveUp as _0x5868c8,handleDeleteRangeMoveLeft as _0x259d6b,runRefRangeMutations as _0x491948,SetWorksheetActivateCommand as _0xe11ab0}from'@univerjs/sheets';import{map as _0x59c89c,filter as _0xbb8af8,throttleTime as _0x5f5a5d,takeUntil as _0xf15a92,switchMap as _0x443647}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4e0b83,getCoordByCell as _0x13748b,getSheetObject as _0xa2fb78}from'@univerjs/sheets-ui';import{jsx as _0x3f689d,jsxs as _0x44e5ef}from'react/jsx-runtime';import{useObservable as _0x445db2,useDependency as _0x3cc4e5,IUIPartsService as _0x1fe8e4,BuiltInUIPart as _0x1bab83,connectInjector as _0xb1d17d,IBeforeCloseService as _0x4cff3d,IMessageService as _0x334ab7,INotificationService as _0x526ec6}from'@univerjs/ui';import{Tooltip as _0xb08f3e,clsx as _0x1cf2f0,MessageType as _0x4fd420}from'@univerjs/design';import{forwardRef as _0x3459f8,useRef as _0x52d9ea,createElement as _0x59c871,useCallback as _0x357934}from'react';import{IRemoteInstanceService as _0xe94f31}from'@univerjs/rpc';var ci=Object[_0x2ea585(0x16f)],li=(_0x2e5904,_0x288e98,_0x1067d6,_0x5a1684)=>{const _0x1162ec=_0x2ea585;for(var _0xd7887f=_0x5a1684>0x1?void 0x0:_0x5a1684?ci(_0x288e98,_0x1067d6):_0x288e98,_0x4ce830=_0x2e5904[_0x1162ec(0x1f5)]-0x1,_0x5b36ee;_0x4ce830>=0x0;_0x4ce830--)(_0x5b36ee=_0x2e5904[_0x4ce830])&&(_0xd7887f=_0x5b36ee(_0xd7887f)||_0xd7887f);return _0xd7887f;},Je=(_0x19db16,_0x41978b)=>(_0x5dc68e,_0x35f5b3)=>_0x41978b(_0x5dc68e,_0x35f5b3,_0x19db16);let Ne=class extends _0x3eac5d{constructor(_0x7d118a,_0xd9f29a){const _0x13e0e0=_0x2ea585;super(),this[_0x13e0e0(0x26a)]=_0x7d118a,this[_0x13e0e0(0x152)]=_0xd9f29a,this[_0x13e0e0(0x15d)]();}['_init'](){const _0x199488=_0x2ea585,_0x358dcf=this;this[_0x199488(0xb2)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x5e6415=>{const _0x4c5ae4=_0x199488,_0x484bcb=await _0x358dcf['_imageIoService'][_0x4c5ae4(0x120)](_0x5e6415);return _0x484bcb?{'source':_0x484bcb[_0x4c5ae4(0xe3)],'imageSourceType':_0x484bcb[_0x4c5ae4(0x183)]}:null;}}));}};Ne=li([Je(0x0,_0x4193dd),Je(0x1,_0x457447)],Ne);const Ze=[_0x2ea585(0xcb),_0x2ea585(0x220),_0x2ea585(0x204),'red.300',_0x2ea585(0xc5),_0x2ea585(0x1e8)];class ke extends _0x40ba21{constructor(){const _0x2807ca=_0x2ea585;super(...arguments),_(this,_0x2807ca(0x1ad),new Map()),_(this,'_colorIndex',0x0);}[_0x2ea585(0x233)](_0x5c2d84){const _0x2f09a9=_0x2ea585;if(this[_0x2f09a9(0x1ad)][_0x2f09a9(0xa7)](_0x5c2d84))return this['_assignedColors']['get'](_0x5c2d84);const _0xbd9ff1=Ze[this[_0x2f09a9(0x242)]];return this[_0x2f09a9(0x242)]=(this[_0x2f09a9(0x242)]+0x1)%Ze[_0x2f09a9(0x1f5)],this['_assignedColors']['set'](_0x5c2d84,_0xbd9ff1),_0xbd9ff1;}}function Tt(_0x3275eb){const _0x5b37b7=_0x2ea585;let _0x3f4713='';for(const _0x5ef3ab of _0x3275eb){const {startOffset:_0x45435d,endOffset:_0x53492a,isActive:_0x4ed5c0,rangeType:_0x58534b,segmentId:_0x585529,segmentPage:_0x405fc1}=_0x5ef3ab;_0x3f4713[_0x5b37b7(0x1f5)]&&(_0x3f4713+=','),_0x3f4713+=_0x45435d+':'+_0x53492a+':'+(_0x4ed5c0?'1':'0')+':'+_0x58534b+':'+_0x585529+':'+_0x405fc1;}return _0x3f4713;}function _i(_0x59d9e1){const _0x15d2d7=_0x2ea585,_0x4e9789=_0x59d9e1['split'](','),_0x384eb6=[];for(const _0x2ea9c0 of _0x4e9789){const [_0x1b6b56,_0x49ad9f,_0x3a5939,_0x4c2596,_0x3553bb,_0x5566ec]=_0x2ea9c0[_0x15d2d7(0x20d)](':');_0x384eb6['push']({'startOffset':Number(_0x1b6b56),'endOffset':Number(_0x49ad9f),'collapsed':_0x1b6b56===_0x49ad9f,'isActive':_0x3a5939==='1','rangeType':_0x4c2596===_0x352d7e[_0x15d2d7(0x255)]?_0x352d7e[_0x15d2d7(0x255)]:_0x352d7e[_0x15d2d7(0x1d0)],'segmentId':typeof _0x3553bb==_0x15d2d7(0xb0)?String(_0x3553bb):'','segmentPage':Number(_0x5566ec!=null?_0x5566ec:-0x1)});}return _0x384eb6[_0x15d2d7(0xba)](_0x30e863=>_0x30e863[_0x15d2d7(0x190)])||(_0x384eb6[0x0]['isActive']=!0x0),_0x384eb6;}class He extends _0x3eac5d{constructor(){const _0x1ee2dc=_0x2ea585;super(...arguments),_(this,_0x1ee2dc(0x1f9),new _0x5d9fc3(null)),_(this,'collabCursorState$',this[_0x1ee2dc(0x1f9)]['asObservable']());}['syncEditingCollabCursor'](_0xd8e8e0){const _0x2ad15e=_0x2ea585,{unitID:_0x5456b5,memberID:_0x2a83b6,textRanges:_0x288ccf}=_0xd8e8e0,_0x4d1ba0=Tt(_0x288ccf);if(_0x4d1ba0==='')return;const _0x59bde3={'unitID':_0x5456b5,'memberID':_0x2a83b6,'selection':_0x4d1ba0};this[_0x2ad15e(0x1f9)][_0x2ad15e(0x21e)](_0x59bde3);}}var hi=Object[_0x2ea585(0x16f)],ui=(_0xef3796,_0x27ca45,_0x33c75f,_0x4de060)=>{const _0x1b24c1=_0x2ea585;for(var _0x1230be=_0x4de060>0x1?void 0x0:_0x4de060?hi(_0x27ca45,_0x33c75f):_0x27ca45,_0x5164dc=_0xef3796[_0x1b24c1(0x1f5)]-0x1,_0x5d9dfd;_0x5164dc>=0x0;_0x5164dc--)(_0x5d9dfd=_0xef3796[_0x5164dc])&&(_0x1230be=_0x5d9dfd(_0x1230be)||_0x1230be);return _0x1230be;},P=(_0xb9dfef,_0x1265e3)=>(_0x4c1f87,_0x17af07)=>_0x1265e3(_0x4c1f87,_0x17af07,_0xb9dfef);const di=0x12c,fi=0x64;let Ue=class extends _0x3eac5d{constructor(_0x55582c,_0x1bdca4,_0x38cdc5,_0x3c79da,_0x5649fc,_0x58e9ce,_0x75076e,_0x3e1bca,_0x179964){const _0x50e0ef=_0x2ea585;super(),_(this,_0x50e0ef(0x70),!0x1),_(this,_0x50e0ef(0x15d),!0x1),_(this,'_cursorInfo$',new _0x5d9fc3(new Map())),_(this,'cursorInfo$',this[_0x50e0ef(0x1b9)][_0x50e0ef(0x80)]()),_(this,_0x50e0ef(0x9b),new _0x5d9fc3([])),_(this,'roomMembers$',this[_0x50e0ef(0x9b)][_0x50e0ef(0x16b)](_0x47d14f(di))),_(this,'_updateLocalCursor',_0x149e25(_0x56d053=>{const _0xa2c12b=_0x50e0ef,_0x4d7b5c={'eventID':_0xebb8a8[_0xa2c12b(0xe4)],'data':{'unitID':this[_0xa2c12b(0x210)],'memberID':this[_0xa2c12b(0x19e)][_0xa2c12b(0x101)](),'selection':Tt(_0x56d053)}};this[_0xa2c12b(0x19e)][_0xa2c12b(0x1a4)](_0x4d7b5c,this['unitID']);},fi)),(this['unitID']=_0x55582c,this[_0x50e0ef(0x19e)]=_0x1bdca4,this[_0x50e0ef(0x21d)]=_0x38cdc5,this[_0x50e0ef(0x14b)]=_0x3c79da,this['_memberService']=_0x5649fc,this[_0x50e0ef(0x250)]=_0x58e9ce,this['_transformService']=_0x75076e,this[_0x50e0ef(0x1b4)]=_0x3e1bca,this[_0x50e0ef(0xf2)]=_0x179964);}get[_0x2ea585(0x23f)](){return this['_cursorInfo$']['getValue']();}get[_0x2ea585(0x84)](){const _0x4c7cbd=_0x2ea585;return this[_0x4c7cbd(0x9b)]['getValue']();}[_0x2ea585(0x195)](){const _0x5aa447=_0x2ea585;super[_0x5aa447(0x195)](),this[_0x5aa447(0x1b9)][_0x5aa447(0x21e)](new Map()),this[_0x5aa447(0x1b9)][_0x5aa447(0x150)](),this[_0x5aa447(0x9b)][_0x5aa447(0x21e)]([]),this[_0x5aa447(0x9b)][_0x5aa447(0x150)]();}[_0x2ea585(0x1e7)](){const _0x1d251a=_0x2ea585;this[_0x1d251a(0x15d)]||(this[_0x1d251a(0x15d)]=!0x0,this[_0x1d251a(0x19e)][_0x1d251a(0x124)]['pipe'](_0x53da7d(this[_0x1d251a(0x10b)]))[_0x1d251a(0x21c)](_0x4245ac=>{const _0xb9318d=_0x1d251a;_0x4245ac===_0x1be906['ONLINE']?this[_0xb9318d(0xf5)]():this['_toggleOffline']();}),this[_0x1d251a(0x19e)][_0x1d251a(0x267)]['pipe'](_0x53da7d(this[_0x1d251a(0x10b)]))[_0x1d251a(0x21c)](_0x50ac1d=>{const _0x25509b=_0x1d251a,_0x2770e8=_0x50ac1d[_0x25509b(0x13e)];_0x2770e8===_0xebb8a8[_0x25509b(0xe4)]&&this[_0x25509b(0x24c)](_0x50ac1d),_0x2770e8===_0xebb8a8[_0x25509b(0x223)]&&this['_onCursorDelete'](_0x50ac1d);}),this['disposeWithMe'](this[_0x1d251a(0xf2)][_0x1d251a(0xd1)](_0x5c361e=>{const _0x5bf1ab=_0x1d251a,_0x4f25ba=_0x5c361e[_0x5bf1ab(0x1a1)];_0x4f25ba!=null&&this[_0x5bf1ab(0x70)]&&_0x5c361e['id']===_0x4e31f5['id']&&_0x4f25ba[_0x5bf1ab(0xfb)]===this[_0x5bf1ab(0x210)]&&_0x4f25ba[_0x5bf1ab(0x134)]===!0x1&&_0x4f25ba['ranges']['length']>0x0&&this[_0x5bf1ab(0x1fe)](_0x4f25ba[_0x5bf1ab(0x20c)]);})),this[_0x1d251a(0x250)][_0x1d251a(0xf9)][_0x1d251a(0x16b)](_0x53da7d(this['dispose$']))['subscribe'](_0x306149=>{const _0x3d14e2=_0x1d251a;if((_0x306149==null?void 0x0:_0x306149[_0x3d14e2(0x210)])!==this[_0x3d14e2(0x210)])return;const _0x172d20={'eventID':_0xebb8a8['UPDATE_CURSOR'],'data':_0x306149};this['_onCursorUpdate'](_0x172d20);}),this[_0x1d251a(0xb2)](this[_0x1d251a(0xf2)][_0x1d251a(0xd1)](_0x4c7668=>{const _0x49115e=_0x1d251a;if(_0x4c7668[_0x49115e(0x1a1)]==null)return;const _0xbc2108=_0x4c7668[_0x49115e(0x1a1)];if(_0x4c7668['id']!==_0x3ad2f3['id']||_0xbc2108[_0x49115e(0xfb)]!==this['unitID'])return;const _0x2e4beb={'id':'doc.mutation.rich-text-editing','params':_0xbc2108},_0x105798=this[_0x49115e(0x23f)];for(const [_0x56c539,_0x270c73]of _0x105798){const _0x244f78={'id':_0x49115e(0x226),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x270c73['ranges']}},_0x47b37e=this[_0x49115e(0x25e)][_0x49115e(0x164)](_0x2e4beb,_0x244f78,!0x1);if(_0x1c5976(_0x47b37e))throw _0x47b37e[_0x49115e(0x274)];_0x105798['set'](_0x56c539,{..._0x270c73,'ranges':_0x47b37e[_0x49115e(0x69)]['params'][_0x49115e(0x1f8)]});}queueMicrotask(()=>{const _0x415f5b=_0x49115e;this[_0x415f5b(0x1b9)][_0x415f5b(0x21e)](_0x105798);});})));}['_onCursorUpdate'](_0x2ad787){const _0x2ebbb5=_0x2ea585;var _0x19aef,_0x7a67a3;const {memberID:_0x62e291,selection:_0x239899}=_0x2ad787[_0x2ebbb5(0xe1)],_0x5f55b5=_i(_0x239899),_0xe3b929=(_0x7a67a3=(_0x19aef=this[_0x2ebbb5(0x14f)][_0x2ebbb5(0x21b)](this[_0x2ebbb5(0x210)],_0x62e291))==null?void 0x0:_0x19aef[_0x2ebbb5(0x1fc)])!=null?_0x7a67a3:'Unknown\x20user',_0x4a6a6e={'color':this['_colorAssignService'][_0x2ebbb5(0x233)](_0x62e291),'name':_0xe3b929,'ranges':_0x5f55b5},_0x576df6=this[_0x2ebbb5(0x23f)];_0x576df6[_0x2ebbb5(0x22c)](_0x62e291,_0x4a6a6e),this[_0x2ebbb5(0x1b9)][_0x2ebbb5(0x21e)](_0x576df6);}['_onCursorDelete'](_0x341bc4){const _0x342029=_0x2ea585,{memberID:_0x14c440}=_0x341bc4[_0x342029(0xe1)],_0x22cbc7=this[_0x342029(0x23f)];_0x22cbc7[_0x342029(0xb5)](_0x14c440),this[_0x342029(0x1b9)][_0x342029(0x21e)](_0x22cbc7);}[_0x2ea585(0xf5)](){const _0x109e95=_0x2ea585;var _0x23ea8e;if(this[_0x109e95(0x70)]=!0x0,((_0x23ea8e=this[_0x109e95(0x1b4)][_0x109e95(0x127)]())==null?void 0x0:_0x23ea8e[_0x109e95(0x263)]())!==this[_0x109e95(0x210)])return;const _0x1d8f5e=this['_injector'][_0x109e95(0x277)](_0x232b51)[_0x109e95(0x139)]();Array[_0x109e95(0x113)](_0x1d8f5e)&&_0x1d8f5e[_0x109e95(0x1f5)]>0x0&&this[_0x109e95(0x1fe)](_0x1d8f5e);}[_0x2ea585(0xb3)](){const _0x26b116=_0x2ea585;this[_0x26b116(0x70)]=!0x1;}};Ue=ui([P(0x2,_0x1b5eae(_0x5bfc31)),P(0x3,_0x1b5eae(ke)),P(0x4,_0x1b5eae(_0x957363)),P(0x5,_0x1b5eae(He)),P(0x6,_0x24498d),P(0x7,_0x59e8d0),P(0x8,_0xa8cbfd)],Ue);var Si=Object[_0x2ea585(0x16f)],mi=(_0x1c8698,_0x5826da,_0x2e4d56,_0x20daf4)=>{const _0x49046a=_0x2ea585;for(var _0x521c8f=_0x20daf4>0x1?void 0x0:_0x20daf4?Si(_0x5826da,_0x2e4d56):_0x5826da,_0xb1cba0=_0x1c8698[_0x49046a(0x1f5)]-0x1,_0x15da4e;_0xb1cba0>=0x0;_0xb1cba0--)(_0x15da4e=_0x1c8698[_0xb1cba0])&&(_0x521c8f=_0x15da4e(_0x521c8f)||_0x521c8f);return _0x521c8f;},x=(_0x359e3d,_0x885205)=>(_0x43d506,_0x2a6ec4)=>_0x885205(_0x43d506,_0x2a6ec4,_0x359e3d);const Ii=0x12c,gi=0x64,vi=()=>{let _0x307789=[],_0x441137=!0x1;return _0xbde680=>{const _0x5db85e=_0x3e72;_0x307789[_0x5db85e(0xca)](_0xbde680),_0x441137||(_0x441137=!0x0,setTimeout(()=>{const _0x3b6d8f=_0x5db85e;_0x307789[_0x3b6d8f(0x7d)](_0x420b50=>_0x420b50()),_0x307789=[],_0x441137=!0x1;}));};};let Me=class extends _0x3eac5d{constructor(_0x1cf051,_0x3ffde8,_0x574dc8,_0x1b4a3d,_0x2cd244,_0x486231,_0x54a844,_0x5a83){const _0x57d100=_0x2ea585;super(),_(this,_0x57d100(0x70),!0x1),_(this,'_init',!0x1),_(this,_0x57d100(0x1b9),new _0x5d9fc3(new Map())),_(this,'cursorInfo$',this[_0x57d100(0x1b9)]['asObservable']()),_(this,_0x57d100(0x9b),new _0x5d9fc3([])),_(this,'roomMembers$',this['_roomMembers$'][_0x57d100(0x16b)](_0x47d14f(Ii))),_(this,_0x57d100(0x1fe),_0x149e25((_0x5571ba,_0xb84e0e)=>{const _0x399203=_0x57d100,_0x2f149d={'eventID':_0xebb8a8[_0x399203(0xe4)],'data':{'unitID':this[_0x399203(0x210)],'memberID':this[_0x399203(0x19e)][_0x399203(0x101)](),'selection':_0x787795(_0x5571ba,_0xb84e0e[_0x399203(0x240)])}};this['_session'][_0x399203(0x1a4)](_0x2f149d,this[_0x399203(0x210)]);},gi)),(this[_0x57d100(0x210)]=_0x1cf051,this[_0x57d100(0x19e)]=_0x3ffde8,this[_0x57d100(0x21d)]=_0x574dc8,this[_0x57d100(0x14b)]=_0x1b4a3d,this[_0x57d100(0x14f)]=_0x2cd244,this[_0x57d100(0x1b4)]=_0x486231,this[_0x57d100(0xf2)]=_0x54a844,this[_0x57d100(0x97)]=_0x5a83);}get[_0x2ea585(0x23f)](){const _0x2f8179=_0x2ea585;return this['_cursorInfo$'][_0x2f8179(0x8c)]();}get[_0x2ea585(0x84)](){const _0x55785c=_0x2ea585;return this[_0x55785c(0x9b)][_0x55785c(0x8c)]();}[_0x2ea585(0x195)](){const _0x552ab3=_0x2ea585;super[_0x552ab3(0x195)](),this[_0x552ab3(0x1b9)][_0x552ab3(0x21e)](new Map()),this['_cursorInfo$'][_0x552ab3(0x150)](),this['_roomMembers$'][_0x552ab3(0x21e)]([]),this[_0x552ab3(0x9b)][_0x552ab3(0x150)]();}[_0x2ea585(0x1e7)](){const _0x334138=_0x2ea585;this[_0x334138(0x15d)]||(this[_0x334138(0x15d)]=!0x0,this[_0x334138(0x19e)]['sessionStatus$'][_0x334138(0x16b)](_0x53da7d(this['dispose$']))[_0x334138(0x21c)](_0xd69c8d=>{const _0x3c8b48=_0x334138;_0xd69c8d===_0x1be906[_0x3c8b48(0x16d)]?this[_0x3c8b48(0xf5)]():this[_0x3c8b48(0xb3)]();}),this[_0x334138(0x19e)][_0x334138(0x267)]['pipe'](_0x53da7d(this['dispose$']))['subscribe'](_0x393e96=>{const _0x5f0692=_0x334138,_0x140e23=_0x393e96[_0x5f0692(0x13e)];_0x140e23===_0xebb8a8[_0x5f0692(0xe4)]&&this[_0x5f0692(0x24c)](_0x393e96),_0x140e23===_0xebb8a8[_0x5f0692(0x223)]&&this[_0x5f0692(0xbe)](_0x393e96);}),this[_0x334138(0x248)](),this['disposeWithMe'](this[_0x334138(0xf2)][_0x334138(0xd1)](_0x2c79d4=>{const _0x642f2c=_0x334138;if(this[_0x642f2c(0x70)]&&_0x2c79d4['id']===_0x966dbb['id']&&_0x2c79d4[_0x642f2c(0x1a1)]['unitId']===this[_0x642f2c(0x210)]){const _0x5215b8=_0x2c79d4[_0x642f2c(0x1a1)];this[_0x642f2c(0x1fe)](_0x5215b8[_0x642f2c(0x16c)],_0x5215b8[_0x642f2c(0xc4)][0x0]);}})));}[_0x2ea585(0x24c)](_0x39fa83){const _0x10624d=_0x2ea585;var _0x475c1f,_0x454dff;const {memberID:_0x3e4ce7,selection:_0x260508}=_0x39fa83[_0x10624d(0xe1)],{sheetName:_0x2aba64,range:_0x24f6c8}=_0x516427(_0x260508),_0x32673d={'name':(_0x454dff=(_0x475c1f=this['_memberService'][_0x10624d(0x21b)](this[_0x10624d(0x210)],_0x3e4ce7))==null?void 0x0:_0x475c1f[_0x10624d(0x1fc)])!=null?_0x454dff:_0x10624d(0x264),'range':this[_0x10624d(0x15b)](_0x2aba64,_0x24f6c8),'sheetID':_0x2aba64,'color':this[_0x10624d(0x14b)][_0x10624d(0x233)](_0x3e4ce7),'selection':_0x260508},_0x4867c8=this['cursorInfo'];_0x4867c8[_0x10624d(0x22c)](_0x3e4ce7,_0x32673d),this[_0x10624d(0x1b9)][_0x10624d(0x21e)](_0x4867c8);}['_onCursorDelete'](_0x242414){const _0x4c97d5=_0x2ea585,{memberID:_0x1666b5}=_0x242414['data'],_0x23df91=this[_0x4c97d5(0x23f)];_0x23df91[_0x4c97d5(0xb5)](_0x1666b5),this[_0x4c97d5(0x1b9)][_0x4c97d5(0x21e)](_0x23df91);}['_getMergeRange'](_0x17b929,_0x583db9){const _0x4f2c08=_0x2ea585;var _0x20d068,_0x2ed56a;const _0xfbb489=(_0x2ed56a=(_0x20d068=this[_0x4f2c08(0x1b4)][_0x4f2c08(0x1c6)](this[_0x4f2c08(0x210)]))==null?void 0x0:_0x20d068[_0x4f2c08(0x247)](_0x17b929))==null?void 0x0:_0x2ed56a[_0x4f2c08(0x268)]();return(_0xfbb489==null?void 0x0:_0xfbb489[_0x4f2c08(0x102)](_0x5344db=>_0x235cd2[_0x4f2c08(0xc7)](_0x5344db,_0x583db9)))||_0x583db9;}[_0x2ea585(0x248)](){const _0x512673=_0x2ea585,_0x3b6656=new _0x451387(),_0x3b7bef=vi(),_0x2b3402=()=>{const _0x157c05=_0x3e72;_0x3b6656[_0x157c05(0x195)]();const _0x3b923b=(_0x5437af,_0x4dbda7,_0x15cc25,_0x1feea1)=>{const _0x1dc90b=_0x157c05;let _0x3a2952=[];switch(_0x5437af['id']){case _0x2a823f[_0x1dc90b(0x1bd)]:{_0x3a2952=_0x259d6b(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0xe6)]:{_0x3a2952=_0x5868c8(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x19a)]:{_0x3a2952=_0x27f750(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x182)]:{_0x3a2952=_0x29e20c(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x1c2)]:{_0x3a2952=_0x275f0a(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x225)]:{_0x3a2952=_0x86db8e(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x165)]:{_0x3a2952=_0xfb3f53(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0xf4)]:{_0x3a2952=_0xe63233(_0x5437af,_0x1feea1);break;}case _0x2a823f[_0x1dc90b(0x137)]:{_0x3a2952=_0x5360f6(_0x5437af,_0x1feea1);break;}}const _0x227341=_0x491948(_0x3a2952,_0x1feea1),_0x48b3d0=this[_0x1dc90b(0x23f)][_0x1dc90b(0x277)](_0x4dbda7);if(_0x48b3d0&&_0x227341){const _0x37600e={..._0x48b3d0,'range':_0x227341};this[_0x1dc90b(0x23f)][_0x1dc90b(0x22c)](_0x4dbda7,_0x37600e),_0x3b7bef(()=>{const _0xecb893=_0x1dc90b,_0x403531=this['_refRangeService'][_0xecb893(0x12d)](_0x227341,_0x11e448=>(_0x403531['dispose'](),_0x3b923b(_0x11e448,_0x4dbda7,_0x15cc25,_0x227341)));_0x3b6656['add'](_0x403531);});}return{'redos':[],'undos':[]};};this[_0x157c05(0x23f)]['forEach']((_0xfde24,_0x3ae913)=>{const _0x3766b8=_0x157c05,{range:_0x13c2f9,sheetID:_0x40b91e}=_0xfde24,_0x49e335=this[_0x3766b8(0x97)]['registerRefRange'](_0x13c2f9,_0x36691f=>(_0x49e335[_0x3766b8(0x195)](),_0x3b923b(_0x36691f,_0x3ae913,_0x40b91e,_0x13c2f9)));_0x3b6656[_0x3766b8(0x1ab)](_0x49e335);});};this[_0x512673(0xb2)](_0x4b2294(this[_0x512673(0x1b9)][_0x512673(0x21c)](()=>{_0x2b3402();})));}[_0x2ea585(0xf5)](){const _0x68a4e7=_0x2ea585;var _0x3ab4aa,_0x31f56e;if(this[_0x68a4e7(0x70)]=!0x0,((_0x3ab4aa=this[_0x68a4e7(0x1b4)][_0x68a4e7(0x127)]())==null?void 0x0:_0x3ab4aa[_0x68a4e7(0x263)]())!==this[_0x68a4e7(0x210)])return;const _0x55be33=(_0x31f56e=this[_0x68a4e7(0x21d)]['get'](_0x541779)['getCurrentSelections']())==null?void 0x0:_0x31f56e[0x0],_0x53247a=this[_0x68a4e7(0x1b4)]['getCurrentUnitForType'](_0x17d1c2[_0x68a4e7(0xaa)])[_0x68a4e7(0x119)]();_0x55be33&&_0x53247a&&this[_0x68a4e7(0x1fe)](_0x53247a[_0x68a4e7(0x17b)](),_0x55be33);}[_0x2ea585(0xb3)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x1b5eae(_0x5bfc31)),x(0x3,_0x1b5eae(ke)),x(0x4,_0x1b5eae(_0x957363)),x(0x5,_0x59e8d0),x(0x6,_0xa8cbfd),x(0x7,_0x1b5eae(_0x36b3ee))],Me);var pi=Object[_0x2ea585(0x16f)],Ci=(_0x499cf3,_0x547da3,_0x2ce65d,_0x31b2a8)=>{const _0x390f1f=_0x2ea585;for(var _0x3d97f4=_0x31b2a8>0x1?void 0x0:_0x31b2a8?pi(_0x547da3,_0x2ce65d):_0x547da3,_0x8087fd=_0x499cf3[_0x390f1f(0x1f5)]-0x1,_0x3742e3;_0x8087fd>=0x0;_0x8087fd--)(_0x3742e3=_0x499cf3[_0x8087fd])&&(_0x3d97f4=_0x3742e3(_0x3d97f4)||_0x3d97f4);return _0x3d97f4;},Se=(_0x3196da,_0x3ceb1c)=>(_0x5b157a,_0x199d07)=>_0x3ceb1c(_0x5b157a,_0x199d07,_0x3196da);let H=class extends _0x3eac5d{constructor(_0x595554,_0x3ac05b,_0x5b6948){const _0x444e9a=_0x2ea585;super(),_(this,_0x444e9a(0x11d),new Map()),_(this,_0x444e9a(0x22f),new _0x44b731()),(this[_0x444e9a(0x1b4)]=_0x595554,this[_0x444e9a(0x21d)]=_0x3ac05b,this[_0x444e9a(0x229)]=_0x5b6948,this['_init']());}['dispose'](){const _0x4e54bf=_0x2ea585;super[_0x4e54bf(0x195)](),this['_entityInit$'][_0x4e54bf(0x150)](),this['_entities']['forEach'](_0x3dab94=>_0x3dab94[_0x4e54bf(0x195)]());}[_0x2ea585(0x8f)](_0x32b303){const _0x4956e4=_0x2ea585;return this[_0x4956e4(0x11d)][_0x4956e4(0xa7)](_0x32b303)?this[_0x4956e4(0x11d)][_0x4956e4(0x277)](_0x32b303)[_0x4956e4(0xb8)]:this['_entityInit$'][_0x4956e4(0x16b)](_0x28c509(_0x2c51ed=>_0x2c51ed[_0x4956e4(0x210)]===_0x32b303),_0x32c90e(_0x34ee2f=>_0x34ee2f[_0x4956e4(0xb8)]));}[_0x2ea585(0x15d)](){const _0x39613d=_0x2ea585;this[_0x39613d(0x1b4)][_0x39613d(0x9d)](_0x17d1c2[_0x39613d(0xaa)])[_0x39613d(0x16b)](_0x53da7d(this[_0x39613d(0x10b)]))['subscribe'](async _0x4db4fc=>{const _0x30d8be=_0x39613d,_0x8467f4=_0x4db4fc[_0x30d8be(0x263)](),_0x5d0f58=await this[_0x30d8be(0x249)](_0x8467f4);this[_0x30d8be(0x22f)][_0x30d8be(0x21e)](_0x5d0f58),this['_entities']['set'](_0x8467f4,_0x5d0f58);}),this[_0x39613d(0x1b4)][_0x39613d(0x9d)](_0x17d1c2['UNIVER_DOC'])[_0x39613d(0x16b)](_0x53da7d(this['dispose$']))['pipe'](_0x28c509(_0x6d4611=>!_0x6d4611[_0x39613d(0x263)]()[_0x39613d(0x18f)]('__')))[_0x39613d(0x21c)](async _0x416370=>{const _0x293b3c=_0x39613d,_0x5d3198=_0x416370[_0x293b3c(0x263)](),_0x11d53d=await this[_0x293b3c(0xad)](_0x5d3198);this['_entityInit$'][_0x293b3c(0x21e)](_0x11d53d),this['_entities'][_0x293b3c(0x22c)](_0x5d3198,_0x11d53d);}),_0x1863bc(this[_0x39613d(0x1b4)]['getTypeOfUnitDisposed$'](_0x17d1c2['UNIVER_DOC']),this[_0x39613d(0x1b4)][_0x39613d(0xff)](_0x17d1c2[_0x39613d(0xaa)]))[_0x39613d(0x16b)](_0x53da7d(this[_0x39613d(0x10b)]))[_0x39613d(0x21c)](_0x322c78=>{const _0x26f10b=_0x39613d,_0x29ee18=_0x322c78['getUnitId'](),_0x1436b5=this[_0x26f10b(0x11d)][_0x26f10b(0x277)](_0x29ee18);_0x1436b5&&(_0x1436b5['dispose'](),this[_0x26f10b(0x11d)]['delete'](_0x29ee18));});}async[_0x2ea585(0x249)](_0x40b30c){const _0x233e3b=_0x2ea585,_0x19f6c9=await this['_collabSessionService'][_0x233e3b(0x12c)](_0x40b30c),_0x2dec52=this[_0x233e3b(0x21d)]['createInstance'](Me,_0x40b30c,_0x19f6c9);return _0x2dec52[_0x233e3b(0x1e7)](),_0x2dec52;}async[_0x2ea585(0xad)](_0x4a91bd){const _0x544078=_0x2ea585,_0xd929d3=await this[_0x544078(0x229)][_0x544078(0x12c)](_0x4a91bd),_0x3e3adb=this[_0x544078(0x21d)]['createInstance'](Ue,_0x4a91bd,_0xd929d3);return _0x3e3adb[_0x544078(0x1e7)](),_0x3e3adb;}};H=Ci([Se(0x0,_0x59e8d0),Se(0x1,_0x1b5eae(_0x5bfc31)),Se(0x2,_0x1b5eae(_0x5db2de))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x330c75,_0x20a64e){const _0x692cdb=_0x2ea585;let {radius:_0x3748e7,width:_0x3927a7,height:_0x379ddd}=_0x20a64e;_0x3748e7=_0x3748e7!=null?_0x3748e7:0x0,_0x3927a7=_0x3927a7!=null?_0x3927a7:0x1e,_0x379ddd=_0x379ddd!=null?_0x379ddd:0x1e;let _0x1a17b7=0x0,_0x3ccee0=0x0,_0x1e48f9=0x0;_0x1a17b7=_0x3ccee0=_0x1e48f9=Math[_0x692cdb(0xf6)](_0x3748e7,_0x3927a7/0x2,_0x379ddd/0x2),_0x330c75[_0x692cdb(0x88)](),_0x330c75[_0x692cdb(0xc9)](_0x1a17b7,0x0),_0x330c75[_0x692cdb(0x172)](_0x3927a7-_0x3ccee0,0x0),_0x330c75['arc'](_0x3927a7-_0x3ccee0,_0x3ccee0,_0x3ccee0,Math['PI']*0x3/0x2,0x0,!0x1),_0x330c75[_0x692cdb(0x172)](_0x3927a7,_0x379ddd-_0x1e48f9),_0x330c75[_0x692cdb(0x217)](_0x3927a7-_0x1e48f9,_0x379ddd-_0x1e48f9,_0x1e48f9,0x0,Math['PI']/0x2,!0x1),_0x330c75[_0x692cdb(0x172)](0x0,_0x379ddd),_0x330c75[_0x692cdb(0x172)](0x0,_0x1a17b7),_0x330c75[_0x692cdb(0x217)](_0x1a17b7,_0x1a17b7,_0x1a17b7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x330c75[_0x692cdb(0xc0)](),_0x20a64e[_0x692cdb(0xcf)]&&(_0x330c75[_0x692cdb(0x140)](),_0x330c75[_0x692cdb(0x14c)]=_0x20a64e[_0x692cdb(0xcf)],_0x20a64e['fillRule']==='evenodd'?_0x330c75['fill'](_0x692cdb(0x108)):_0x330c75[_0x692cdb(0xcf)](),_0x330c75[_0x692cdb(0x10e)]());}class he extends _0x347998{constructor(_0x59aac2,_0x11a77d){const _0x383b35=_0x2ea585;super(_0x59aac2,_0x11a77d),_(this,_0x383b35(0x1d1)),_(this,_0x383b35(0x1b2)),(this[_0x383b35(0x1d1)]=_0x11a77d==null?void 0x0:_0x11a77d[_0x383b35(0x1d1)],this[_0x383b35(0x1b2)]=_0x11a77d==null?void 0x0:_0x11a77d[_0x383b35(0x1b2)]);}static['drawWith'](_0x6a86bc,_0xe78b22){const _0x244432=_0x2ea585,{text:_0x21467d,color:_0x3d4508}=_0xe78b22;_0x6a86bc[_0x244432(0x140)](),_0x6a86bc['font']=_0x244432(0x1be);const _0x2f8505=_0x6a86bc[_0x244432(0xe0)](_0x21467d)[_0x244432(0x144)],_0x39c307=Math['min'](_0x2f8505+0x2*me,Qe);Oi(_0x6a86bc,{'height':ee,'radius':0x4,'width':_0x39c307,'fill':_0x3d4508}),_0x6a86bc[_0x244432(0x14c)]=_0x244432(0xd0);const _0xd59d4f=me,_0x3440e7=ee-Ei,_0x4110de=Qe-0x2*me;if(_0x2f8505>_0x4110de){let _0x3b842c='',_0x599783=0x0;for(const _0x28cc61 of _0x21467d){const _0x3443d5=_0x6a86bc[_0x244432(0xe0)](_0x28cc61)['width'];if(_0x599783+_0x3443d5<=_0x4110de-_0x6a86bc['measureText'](_0x244432(0x104))[_0x244432(0x144)])_0x3b842c+=_0x28cc61,_0x599783+=_0x3443d5;else{_0x3b842c+=_0x244432(0x104);break;}}_0x6a86bc[_0x244432(0x1ff)](_0x3b842c,_0xd59d4f,_0x3440e7);}else _0x6a86bc[_0x244432(0x1ff)](_0x21467d,_0xd59d4f,_0x3440e7);_0x6a86bc[_0x244432(0x10e)]();}[_0x2ea585(0x11e)](_0x1722b5){const _0x5ee8ba=_0x2ea585;he[_0x5ee8ba(0xc2)](_0x1722b5,this);}}const Ie=_0x2ea585(0x1a9),bi=_0x2ea585(0x266),Ti=_0x2ea585(0xed),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x2ea585(0x163);class qe{constructor(_0x854650,_0x151036,_0xc99088,_0x145fc0){const _0x29037b=_0x2ea585;_(this,_0x29037b(0x96),[]),_(this,_0x29037b(0x15a),null),_(this,_0x29037b(0xe2),null),_(this,'_anchorDot',null),_(this,_0x29037b(0x231),null),_(this,_0x29037b(0x25c),null),(this[_0x29037b(0x74)]=_0x854650,this[_0x29037b(0x111)]=_0x151036,this['_docSkeleton']=_0xc99088,this[_0x29037b(0x1ef)]=_0x145fc0,this['_render']());}set[_0x2ea585(0xc1)](_0x1a329c){const _0x275caf=_0x2ea585;_0x1a329c?(this[_0x275caf(0xc6)]&&this[_0x275caf(0xc6)][_0x275caf(0x161)](),this[_0x275caf(0xe2)]&&this[_0x275caf(0xe2)]['show']()):(this[_0x275caf(0xc6)]&&this[_0x275caf(0xc6)]['show'](),this['_textBubble']&&this[_0x275caf(0xe2)][_0x275caf(0x161)]());}[_0x2ea585(0x195)](){const _0x3693ba=_0x2ea585;for(const _0x3360e4 of this['_shapes'])_0x3360e4[_0x3693ba(0x195)]();this[_0x3693ba(0xe2)]&&this[_0x3693ba(0xe2)][_0x3693ba(0x195)](),this[_0x3693ba(0xc6)]&&this[_0x3693ba(0xc6)]['dispose'](),this[_0x3693ba(0x15a)]&&this[_0x3693ba(0x15a)]['dispose'](),this[_0x3693ba(0x25c)]&&this[_0x3693ba(0x25c)]();}[_0x2ea585(0xd8)](){const _0x2f3918=_0x2ea585;var _0x314bb2;const {_docSkeleton:_0x4d746b,_document:_0x365c07}=this,{color:_0x4433bf,name:_0x5cb8ed,ranges:_0x4654e1}=this['_cursor'],_0x9b250f=_0x365c07[_0x2f3918(0x103)](),{docsLeft:_0x16cba8,docsTop:_0x2e5349}=_0x9b250f,_0x25d16f=new _0xb4cb7(_0x9b250f,_0x4d746b);for(const {startOffset:_0x31871b,endOffset:_0x519ae1,rangeType:_0x3ac005,segmentId:_0x36996a,segmentPage:_0x5ea040,collapsed:_0x51183d,isActive:_0x1c3b7a}of _0x4654e1){const _0xe4deaf=_0x4d746b[_0x2f3918(0xa9)](_0x31871b,!0x0,_0x36996a,_0x5ea040);let _0x48cff0=_0x4d746b[_0x2f3918(0xa9)](_0x519ae1,!0x0,_0x36996a,_0x5ea040);if(_0x48cff0==null&&(_0x48cff0=_0x4d746b[_0x2f3918(0xa9)](_0x519ae1-0x1,!0x1,_0x36996a,_0x5ea040)),_0x1c3b7a){const {contentBoxPointGroup:_0x2cd60d}=_0x25d16f['getRangePointData'](_0x48cff0,_0x48cff0);if(_0x2cd60d[_0x2f3918(0x1f5)]===0x0)continue;this[_0x2f3918(0xd9)](_0x4433bf,_0x2cd60d,_0x16cba8,_0x2e5349,_0x5cb8ed),this['_eventUnsubscribe']=this[_0x2f3918(0x23c)]();}if(_0xe4deaf&&_0x48cff0){if(_0x3ac005===_0x352d7e[_0x2f3918(0x1d0)]){const _0x2cbd18=new _0x16fc13(_0x9b250f,_0x4d746b),{pointGroup:_0x504f27}=(_0x314bb2=_0x2cbd18['getRangePointData'](_0xe4deaf,_0x48cff0))!=null?_0x314bb2:{};if(_0x504f27==null||_0x504f27[_0x2f3918(0x1f5)]===0x0)continue;this[_0x2f3918(0xa5)](_0x4433bf,_0x504f27,_0x16cba8,_0x2e5349);}else{if(!_0x51183d){const {borderBoxPointGroup:_0x32cc4b}=_0x25d16f['getRangePointData'](_0xe4deaf,_0x48cff0);if(_0x32cc4b[_0x2f3918(0x1f5)]===0x0)continue;this[_0x2f3918(0x13b)](_0x4433bf,_0x32cc4b,_0x16cba8,_0x2e5349);}}}}}[_0x2ea585(0xd9)](_0x50c42a,_0x885d73,_0x42eb09,_0x4abd25,_0x5354c5){const _0x46f884=_0x2ea585,_0x120982=this[_0x46f884(0xae)](_0x885d73),{left:_0x2b9d7d,top:_0x4d534a,height:_0x35e1d0}=_0x120982,_0x29504a=this[_0x46f884(0x1a7)](),_0x1a86c8=Di/_0x29504a,_0x5083af=new _0x31c455(Ie+_0x45a912[_0x46f884(0x160)](X),{'left':_0x2b9d7d+_0x42eb09-_0x1a86c8,'top':_0x4d534a+_0x4abd25,'height':_0x35e1d0,'width':Ri,'fill':_0x50c42a||_0x113774(_0x152bdc[_0x46f884(0xb6)],0x0),'strokeWidth':_0x1a86c8,'stroke':Ni,'evented':!0x0});this[_0x46f884(0x15a)]=_0x5083af,this[_0x46f884(0x111)][_0x46f884(0x15c)](_0x5083af,_0x1bc18a);const _0x29999b=new _0x31c455(Ie+_0x45a912['generateRandomId'](X),{'left':_0x2b9d7d+_0x42eb09-_0x1a86c8,'top':_0x4d534a+_0x4abd25-ge/0x2,'height':ge,'width':ge,'fill':_0x50c42a||_0x113774(_0x152bdc['black'],0x0),'strokeWidth':0x0,'stroke':_0x50c42a||_0x113774(_0x152bdc[_0x46f884(0xb6)],0x0),'evented':!0x1});this[_0x46f884(0xc6)]=_0x29999b,this['_scene']['addObject'](_0x29999b,_0x1bc18a);const _0xf444db=new he(Ie+_0x45a912[_0x46f884(0x160)](X),{'left':_0x2b9d7d+_0x42eb09-_0x1a86c8,'top':_0x4d534a+_0x4abd25-ee,'text':_0x5354c5,'color':_0x50c42a});this[_0x46f884(0xe2)]=_0xf444db,this[_0x46f884(0x111)]['addObject'](_0xf444db,_0x1bc18a),this[_0x46f884(0xc1)]=!0x1;}[_0x2ea585(0x23c)](){const _0x15b5a4=_0x2ea585,_0x457664=this['_anchor'][_0x15b5a4(0x95)][_0x15b5a4(0x85)](()=>{this['_hover']=!0x0;}),_0x4d816f=this[_0x15b5a4(0x15a)][_0x15b5a4(0x262)][_0x15b5a4(0x85)](()=>{const _0x180d10=_0x15b5a4;this['_hideTimer']&&clearTimeout(this[_0x180d10(0x231)]),this[_0x180d10(0x231)]=setTimeout(()=>{const _0x25486f=_0x180d10;this[_0x25486f(0xc1)]=!0x1;},0x7d0);});return()=>{const _0x3965b1=_0x15b5a4;_0x457664[_0x3965b1(0x77)](),_0x4d816f['unsubscribe']();};}[_0x2ea585(0x13b)](_0x49c974,_0xdcf3df,_0x5477a0,_0x4ef749){const _0x41d8b8=_0x2ea585,_0x12a3e4=new _0x247de3(_0x49c974)[_0x41d8b8(0xce)](0.2)[_0x41d8b8(0x159)](),_0x542bbc=new _0x2ff387(bi+_0x45a912[_0x41d8b8(0x160)](X),{'pointsGroup':_0xdcf3df,'fill':_0x12a3e4||_0x113774(_0x152bdc[_0x41d8b8(0xb6)],0.2),'left':_0x5477a0,'top':_0x4ef749,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x41d8b8(0x96)][_0x41d8b8(0xca)](_0x542bbc),this[_0x41d8b8(0x111)][_0x41d8b8(0x15c)](_0x542bbc,_0x1bc18a);}['_drawRectRange'](_0x4dad98,_0x1ab619,_0x32266a,_0x38e345){const _0x2a818a=_0x2ea585,_0x5ef396=new _0x247de3(_0x4dad98)['setAlpha'](0.2)[_0x2a818a(0x159)](),_0x1d966d=new _0x2ff387(Ti+_0x45a912[_0x2a818a(0x160)](X),{'pointsGroup':_0x1ab619,'fill':_0x5ef396||_0x113774(_0x152bdc[_0x2a818a(0xb6)],0.2),'left':_0x32266a,'top':_0x38e345,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2a818a(0x96)][_0x2a818a(0xca)](_0x1d966d),this[_0x2a818a(0x111)]['addObject'](_0x1d966d,_0x1bc18a);}[_0x2ea585(0xae)](_0xa7f868){const _0x2e77c8=_0xa7f868[0x0],_0x56bd5f=_0x2e77c8[0x0],_0x4e911a=_0x2e77c8[0x2],{x:_0x54fb4e,y:_0xde26e6}=_0x56bd5f,{x:_0x40cf8c,y:_0x303b58}=_0x4e911a;return{'left':_0x54fb4e,'top':_0xde26e6,'width':_0x40cf8c-_0x54fb4e,'height':_0x303b58-_0xde26e6};}[_0x2ea585(0x1a7)](){const _0x1189f2=_0x2ea585,{scaleX:_0x176803,scaleY:_0x576744}=this[_0x1189f2(0x111)]['getAncestorScale']();return Math[_0x1189f2(0x1ec)](_0x176803,_0x576744);}}var Ui=Object[_0x2ea585(0x16f)],Mi=(_0x956e9c,_0x54c25a,_0x1042a0,_0x3ce106)=>{const _0x3693c6=_0x2ea585;for(var _0x45d929=_0x3ce106>0x1?void 0x0:_0x3ce106?Ui(_0x54c25a,_0x1042a0):_0x54c25a,_0xdb3917=_0x956e9c[_0x3693c6(0x1f5)]-0x1,_0x3bcec7;_0xdb3917>=0x0;_0xdb3917--)(_0x3bcec7=_0x956e9c[_0xdb3917])&&(_0x45d929=_0x3bcec7(_0x45d929)||_0x45d929);return _0x45d929;},Z=(_0x4c70c7,_0x132729)=>(_0x4bbd21,_0x3e2ae3)=>_0x132729(_0x4bbd21,_0x3e2ae3,_0x4c70c7);let we=class extends _0x3eac5d{constructor(_0x451040,_0x37b4d9,_0x51ba12,_0x412ac9,_0x1aeb53){const _0x216a9b=_0x2ea585;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x216a9b(0x256)]=_0x451040,this[_0x216a9b(0x9a)]=_0x37b4d9,this[_0x216a9b(0x16e)]=_0x51ba12,this[_0x216a9b(0xf2)]=_0x412ac9,this[_0x216a9b(0x82)]=_0x1aeb53,this['_init']());}[_0x2ea585(0x15d)](){const _0x417800=_0x2ea585,_0x530494=this['_context'][_0x417800(0xfb)],_0x11ec32=this['_docSkeletonManagerService'];this['disposeWithMe'](_0xa2467([this[_0x417800(0x16e)][_0x417800(0x8f)](_0x530494),this[_0x417800(0x82)][_0x417800(0xdc)]])[_0x417800(0x16b)](_0x59c89c(([_0x23c71d,_0x544a06])=>({'skeleton':_0x11ec32[_0x417800(0xcd)](),'cursors':[..._0x23c71d[_0x417800(0x203)]()][_0x417800(0x206)](_0x56d74d=>({..._0x56d74d,'color':this['_themeService']['getColorFromTheme'](_0x56d74d['color'])}))})))['subscribe'](_0x4ab2ff=>{const _0x3dc90d=_0x417800;if(this[_0x3dc90d(0x1c4)](),_0x4ab2ff){const {skeleton:_0x333262,cursors:_0x35da15}=_0x4ab2ff;this[_0x3dc90d(0x117)](_0x333262,_0x35da15);}})),this[_0x417800(0x83)](),this[_0x417800(0x191)]();}[_0x2ea585(0x117)](_0x22db99,_0x45e10a){const _0x22343b=_0x2ea585,{scene:_0x52ebea,mainComponent:_0xea320a}=this['_context'],_0x115099=_0x45e10a[_0x22343b(0x1c3)](_0x428e6a=>new qe(_0x428e6a,_0x52ebea,_0x22db99,_0xea320a));this[_0x22343b(0x20a)]=_0x115099,this[_0x22343b(0xa4)]=_0x45e10a;}[_0x2ea585(0x89)](){const _0x1f0b08=_0x2ea585;this['_removeCollabCursors']();const {scene:_0x34a611,mainComponent:_0x496539}=this[_0x1f0b08(0x256)],_0x1e20d5=this[_0x1f0b08(0x9a)][_0x1f0b08(0xcd)](),_0xb734f7=this[_0x1f0b08(0xa4)][_0x1f0b08(0x1c3)](_0x3d4832=>new qe(_0x3d4832,_0x34a611,_0x1e20d5,_0x496539));this['_cursorShapes']=_0xb734f7;}[_0x2ea585(0x1c4)](){const _0x5bd23d=_0x2ea585;this[_0x5bd23d(0x20a)][_0x5bd23d(0x7d)](_0x5b5aa9=>_0x5b5aa9[_0x5bd23d(0x195)]()),this[_0x5bd23d(0x20a)]=[];}['_initCommandExecutedListener'](){const _0x241cf0=_0x2ea585,_0x51a82c=[_0x65133c['id']];this[_0x241cf0(0xb2)](this[_0x241cf0(0xf2)][_0x241cf0(0xd1)](_0x2ea631=>{const _0x55f767=_0x241cf0;_0x51a82c['includes'](_0x2ea631['id'])&&_0x2ea631['params'][_0x55f767(0xfb)]===this[_0x55f767(0x256)][_0x55f767(0xfb)]&&this[_0x55f767(0x89)]();}));}[_0x2ea585(0x83)](){const _0x24bd3c=_0x2ea585;this[_0x24bd3c(0xb2)](_0x5d7a9b(this[_0x24bd3c(0x256)][_0x24bd3c(0x153)][_0x24bd3c(0xab)])[_0x24bd3c(0x16b)](_0xbb8af8(_0x49db4e=>_0x49db4e[_0x24bd3c(0x162)]===_0x1e1258[_0x24bd3c(0x158)]),_0x5f5a5d(0x10))['subscribe'](()=>{const _0x1a0f6f=_0x24bd3c;this[_0x1a0f6f(0x89)]();}));}};we=Mi([Z(0x1,_0x1b5eae(_0x5c7684)),Z(0x2,_0x1b5eae(H)),Z(0x3,_0xa8cbfd),Z(0x4,_0x1b5eae(_0x2cd56c))],we);const wi=0x1,Pi=1.5;class Li extends _0x347998{constructor(_0x3ac0d9,_0x5e1f8b){const _0x30ead0=_0x2ea585;super(_0x3ac0d9,_0x5e1f8b),_(this,_0x30ead0(0xf3)),_(this,_0x30ead0(0x7c),!0x1),_(this,_0x30ead0(0x13f)),_(this,_0x30ead0(0x18c),''),_(this,_0x30ead0(0x68),_0x30ead0(0x130)),_(this,_0x30ead0(0x235)),(_0x5e1f8b&&this[_0x30ead0(0x278)](_0x5e1f8b),this[_0x30ead0(0x95)][_0x30ead0(0x85)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x30ead0(0x262)][_0x30ead0(0x85)](()=>this[_0x30ead0(0x278)]({'hovered':!0x1})));}[_0x2ea585(0x278)](_0x3d3d50){const _0x369c21=_0x2ea585;var _0x286056,_0x4237a0,_0x3f150f,_0x3446b0,_0x49c189,_0x58f42a;this[_0x369c21(0xf3)]=(_0x286056=_0x3d3d50[_0x369c21(0x1d1)])!=null?_0x286056:this['_color'],this[_0x369c21(0x7c)]=(_0x4237a0=_0x3d3d50[_0x369c21(0x199)])!=null?_0x4237a0:this[_0x369c21(0x7c)],this[_0x369c21(0x13f)]=(_0x3f150f=_0x3d3d50[_0x369c21(0x240)])!=null?_0x3f150f:this[_0x369c21(0x13f)],this[_0x369c21(0x18c)]=(_0x3446b0=_0x3d3d50[_0x369c21(0x1fc)])!=null?_0x3446b0:this[_0x369c21(0x18c)],this['_labelPosition']=(_0x49c189=_0x3d3d50[_0x369c21(0x19b)])!=null?_0x49c189:this[_0x369c21(0x68)],this['_backgroundColor']=(_0x58f42a=_0x3d3d50[_0x369c21(0x65)])!=null?_0x58f42a:this[_0x369c21(0x235)],this[_0x369c21(0x1de)]({'width':_0x3d3d50['width'],'height':_0x3d3d50[_0x369c21(0x151)]});}[_0x2ea585(0x214)](_0x4eab97){const _0x14b2bd=_0x2ea585,{row:_0xf63ee3,column:_0x4a237e}=_0x4eab97;if(_0xf63ee3>=this[_0x14b2bd(0x13f)][_0x14b2bd(0x1e2)]&&_0xf63ee3<=this[_0x14b2bd(0x13f)][_0x14b2bd(0x259)]&&_0x4a237e>=this[_0x14b2bd(0x13f)][_0x14b2bd(0x230)]&&_0x4a237e<=this['_range'][_0x14b2bd(0x12a)]){this[_0x14b2bd(0x278)]({'hovered':!0x0});return;}this[_0x14b2bd(0x278)]({'hovered':!0x1});}[_0x2ea585(0xdf)](_0x4e6fb7){return!0x1;}[_0x2ea585(0x11e)](_0x56e528){const _0x5cd27b=_0x2ea585;_0x31c455['drawWith'](_0x56e528,{'width':this[_0x5cd27b(0x144)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x5cd27b(0xf3)],'evented':!0x1,'fill':this[_0x5cd27b(0x235)]}),this[_0x5cd27b(0x7c)]&&(_0x56e528[_0x5cd27b(0x140)](),_0x56e528[_0x5cd27b(0x23a)](0x1,0x0,0x0,0x1,this[_0x5cd27b(0x144)],this[_0x5cd27b(0x68)]==='bottom'?0x0:-0x14),he['drawWith'](_0x56e528,{'text':this[_0x5cd27b(0x18c)],'color':this['_color']}),_0x56e528[_0x5cd27b(0x10e)]());}}var Ai=Object[_0x2ea585(0x16f)],yi=(_0x349107,_0x19b7f8,_0x535cc8,_0x70b25)=>{const _0x4b842b=_0x2ea585;for(var _0x440161=_0x70b25>0x1?void 0x0:_0x70b25?Ai(_0x19b7f8,_0x535cc8):_0x19b7f8,_0x23ae13=_0x349107[_0x4b842b(0x1f5)]-0x1,_0x4e8e20;_0x23ae13>=0x0;_0x23ae13--)(_0x4e8e20=_0x349107[_0x23ae13])&&(_0x440161=_0x4e8e20(_0x440161)||_0x440161);return _0x440161;},ve=(_0x4fbd68,_0xc6da7)=>(_0x50a1c6,_0x4f39d1)=>_0xc6da7(_0x50a1c6,_0x4f39d1,_0x4fbd68);const $i=0x1389;let Pe=class extends _0x3eac5d{constructor(_0x4cbc53,_0x121b71,_0x367259,_0x2653f5){const _0x477620=_0x2ea585;super(),_(this,_0x477620(0xa4),new Set()),_(this,_0x477620(0x1ae),null),(this[_0x477620(0x256)]=_0x4cbc53,this[_0x477620(0x212)]=_0x121b71,this['_collabCursorController']=_0x367259,this[_0x477620(0x82)]=_0x2653f5,this[_0x477620(0x15d)]());}[_0x2ea585(0x15d)](){const _0x30b1fb=_0x2ea585;this[_0x30b1fb(0x212)][_0x30b1fb(0x16a)][_0x30b1fb(0x16b)](_0xf15a92(this['dispose$']),_0x443647(_0x55cf41=>{const _0x1bb5ea=_0x30b1fb;if(_0x55cf41){const _0x4174a9=_0x55cf41[_0x1bb5ea(0x219)];return _0xa2467(this[_0x1bb5ea(0x16e)][_0x1bb5ea(0x8f)](this[_0x1bb5ea(0x256)][_0x1bb5ea(0xfb)]),this[_0x1bb5ea(0x82)][_0x1bb5ea(0xdc)])[_0x1bb5ea(0x16b)](_0x59c89c(([_0x548f8a,_0x185287])=>{const _0x2f7c96=_0x1bb5ea,_0x52ec2b=new Map();return _0x548f8a[_0x2f7c96(0x7d)]((_0xaf1b10,_0x689448)=>{const _0x2d10b5=_0x2f7c96;if(_0xaf1b10[_0x2d10b5(0x67)]===_0x4174a9){const _0x47f8b5={..._0xaf1b10};_0x47f8b5[_0x2d10b5(0x1d1)]=this[_0x2d10b5(0x82)]['getColorFromTheme'](_0xaf1b10[_0x2d10b5(0x1d1)]),_0x52ec2b[_0x2d10b5(0x22c)](_0x689448,_0x47f8b5);}}),{'skeleton':_0x55cf41,'cursors':_0x52ec2b};}));}return _0x3b4356({'skeleton':null,'cursors':new Map()});}))[_0x30b1fb(0x21c)](({skeleton:_0x593c78,cursors:_0x3fa23b})=>{const _0x421b7b=_0x30b1fb;this['_removeCollabCursors'](),_0x593c78&&this[_0x421b7b(0x117)](_0x593c78,_0x3fa23b);}),this[_0x30b1fb(0x212)][_0x30b1fb(0x16a)][_0x30b1fb(0x21c)](_0x841af6=>{const _0x396067=_0x30b1fb;if(_0x841af6==null)return;const {skeleton:_0x537c73}=_0x841af6,{scene:_0x2fc126}=this[_0x396067(0x256)];_0x2fc126[_0x396067(0x1b3)][_0x396067(0x85)](_0x149e25(_0x548ff6=>{const _0xb9c884=_0x396067;var _0x2797c9,_0x21bdb4;const {offsetX:_0x5477ad,offsetY:_0x4aeaca}=_0x548ff6,{x:_0x594c39,y:_0x105201}=_0x2fc126[_0xb9c884(0x175)](_0x766b0c['FromArray']([_0x5477ad,_0x4aeaca])),{scaleX:_0x23d2a3,scaleY:_0x9ecc2d}=_0x2fc126['getAncestorScale'](),_0x35ac4f=_0x2fc126['getViewport'](_0x5438bd[_0xb9c884(0x125)]),_0x3b6b82=_0x2fc126['getVpScrollXYInfoByPosToVp'](_0x766b0c[_0xb9c884(0x1b6)]([_0x594c39,_0x105201]),_0x35ac4f),_0x14ad08=_0x537c73[_0xb9c884(0x71)](_0x5477ad,_0x4aeaca,_0x23d2a3,_0x9ecc2d,_0x3b6b82);((_0x2797c9=this['_lastPointer'])==null?void 0x0:_0x2797c9['column'])===_0x14ad08[_0xb9c884(0x224)]&&((_0x21bdb4=this[_0xb9c884(0x1ae)])==null?void 0x0:_0x21bdb4[_0xb9c884(0x146)])===_0x14ad08[_0xb9c884(0x146)]||this[_0xb9c884(0xa4)][_0xb9c884(0x7d)](_0x51bf8b=>{const _0x376dee=_0xb9c884;_0x51bf8b[_0x376dee(0x214)](_0x14ad08);});},0x64));});}[_0x2ea585(0x117)](_0x1fc069,_0x27fcaa){const _0x3d12a9=_0x2ea585;var _0x52af22;const _0x2bb1c4=(_0x52af22=this[_0x3d12a9(0x212)][_0x3d12a9(0x9f)]())==null?void 0x0:_0x52af22['skeleton'];if(!_0x2bb1c4)return;const _0x5636d4=this['_getSheetObject']();if(!_0x5636d4)return;this[_0x3d12a9(0xa4)][_0x3d12a9(0x7d)](_0x14060e=>{const _0x5ad460=_0x3d12a9;_0x14060e[_0x5ad460(0x186)]();});const {scene:_0x340966}=_0x5636d4,_0x5ea1c5=xi(Array[_0x3d12a9(0x1c9)](_0x27fcaa[_0x3d12a9(0x203)]()))['map'](_0x2379f0=>{const _0x2b317f=_0x3d12a9,{color:_0x2f3405,range:_0x26cfb4,name:_0x4fcd0e,selection:_0x350fef,sheetID:_0x2e53c9}=_0x2379f0,{startColumn:_0x4632ce,startRow:_0x34c683,endColumn:_0x37277d,endRow:_0x3d185a}=_0x26cfb4,_0x3e5de7=_0x13748b(_0x34c683,_0x4632ce,_0x340966,_0x2bb1c4),_0x305b21=_0x13748b(_0x3d185a,_0x37277d,_0x340966,_0x2bb1c4),{columnHeaderHeightAndMarginTop:_0x4f5ac6}=_0x2bb1c4,{startX:_0xc8d1fa,startY:_0x5de36b}=_0x3e5de7,{endX:_0x4089e0,endY:_0x467fc8}=_0x305b21,_0x2847ec=_0x4089e0-_0xc8d1fa,_0x18e618=_0x467fc8-_0x5de36b,_0x75143d={'labelPosition':_0x5de36b-_0x4f5ac6>=ee?_0x2b317f(0x130):_0x2b317f(0x254),'sheetID':_0x2e53c9,'range':_0x26cfb4,'color':_0x2f3405,'name':_0x4fcd0e,'selection':_0x350fef,'left':_0xc8d1fa,'top':_0x5de36b,'width':_0x2847ec,'height':_0x18e618,'evented':!0x1,'zIndex':$i};return new Li(_0x4fcd0e,_0x75143d);});_0x340966[_0x3d12a9(0x1f1)](_0x5ea1c5,wi),this[_0x3d12a9(0xa4)]=new Set(_0x5ea1c5);}[_0x2ea585(0x1c4)](){const _0x27ef9d=_0x2ea585;var _0xe31dff;(_0xe31dff=this[_0x27ef9d(0xa4)])==null||_0xe31dff[_0x27ef9d(0x7d)](_0x10ef1d=>_0x10ef1d['dispose']());}[_0x2ea585(0x105)](){const _0x3dbafa=_0x2ea585;return _0xa2fb78(this[_0x3dbafa(0x256)]['unit'],this[_0x3dbafa(0x256)]);}};Pe=yi([ve(0x1,_0x1b5eae(_0x4e0b83)),ve(0x2,_0x1b5eae(H)),ve(0x3,_0x1b5eae(_0x2cd56c))],Pe);function xi(_0x4be408){const _0x214353=_0x2ea585,_0x5ca120=new Map();return _0x4be408[_0x214353(0x7d)](_0x2a524a=>{const _0x4df0e6=_0x214353;if(_0x5ca120[_0x4df0e6(0xa7)](_0x2a524a[_0x4df0e6(0x143)])){const _0x2fb5f3=_0x5ca120[_0x4df0e6(0x277)](_0x2a524a[_0x4df0e6(0x143)]);_0x2fb5f3[_0x4df0e6(0x1fc)]+=',\x20'+_0x2a524a[_0x4df0e6(0x1fc)];}else _0x5ca120[_0x4df0e6(0x22c)](_0x2a524a[_0x4df0e6(0x143)],_0x2a524a);}),Array['from'](_0x5ca120[_0x214353(0x203)]());}var v=function(){const _0x317a51=_0x2ea585;return v=Object[_0x317a51(0x112)]||function(_0x46aa22){const _0x23e882=_0x317a51;for(var _0x28e547,_0x489720=0x1,_0x53e726=arguments[_0x23e882(0x1f5)];_0x489720<_0x53e726;_0x489720++){_0x28e547=arguments[_0x489720];for(var _0x1b5f57 in _0x28e547)Object[_0x23e882(0x239)][_0x23e882(0x253)]['call'](_0x28e547,_0x1b5f57)&&(_0x46aa22[_0x1b5f57]=_0x28e547[_0x1b5f57]);}return _0x46aa22;},v[_0x317a51(0xe8)](this,arguments);},Bi=function(_0x291724,_0x21de90){const _0x23386c=_0x2ea585;var _0x2a3c53={};for(var _0x1e9003 in _0x291724)Object[_0x23386c(0x239)]['hasOwnProperty'][_0x23386c(0x26b)](_0x291724,_0x1e9003)&&_0x21de90[_0x23386c(0x8d)](_0x1e9003)<0x0&&(_0x2a3c53[_0x1e9003]=_0x291724[_0x1e9003]);if(_0x291724!=null&&typeof Object[_0x23386c(0x20e)]==_0x23386c(0xfe)){for(var _0x2903ec=0x0,_0x1e9003=Object[_0x23386c(0x20e)](_0x291724);_0x2903ec<_0x1e9003[_0x23386c(0x1f5)];_0x2903ec++)_0x21de90['indexOf'](_0x1e9003[_0x2903ec])<0x0&&Object[_0x23386c(0x239)][_0x23386c(0x6e)][_0x23386c(0x26b)](_0x291724,_0x1e9003[_0x2903ec])&&(_0x2a3c53[_0x1e9003[_0x2903ec]]=_0x291724[_0x1e9003[_0x2903ec]]);}return _0x2a3c53;},je=_0x3459f8(function(_0x28e826,_0xfc2186){const _0x1bd19c=_0x2ea585;var _0x1e7f35=_0x28e826[_0x1bd19c(0x260)],_0x5297c2=_0x28e826['id'],_0x516c8e=_0x28e826[_0x1bd19c(0x126)],_0x1807d1=_0x28e826[_0x1bd19c(0x23e)],_0x1f6138=Bi(_0x28e826,[_0x1bd19c(0x260),'id',_0x1bd19c(0x126),_0x1bd19c(0x23e)]),_0x13b715='univerjs-icon\x20univerjs-icon-'[_0x1bd19c(0x13c)](_0x5297c2,'\x20')[_0x1bd19c(0x13c)](_0x516c8e||'')[_0x1bd19c(0x24d)](),_0x383a55=_0x52d9ea('_'[_0x1bd19c(0x13c)](ji()));return Rt(_0x1e7f35,''[_0x1bd19c(0x13c)](_0x5297c2),{'defIds':_0x1e7f35[_0x1bd19c(0x1b0)],'idSuffix':_0x383a55[_0x1bd19c(0x23b)]},v({'ref':_0xfc2186,'className':_0x13b715},_0x1f6138),_0x1807d1);});function Rt(_0x1f76ad,_0x211d6d,_0x23c005,_0xf1bce2,_0x352385){const _0x48cf82=_0x2ea585;return _0x59c871(_0x1f76ad[_0x48cf82(0x201)],v(v({'key':_0x211d6d},ki(_0x1f76ad,_0x23c005,_0x352385)),_0xf1bce2),(Hi(_0x1f76ad,_0x23c005)[_0x48cf82(0x18a)]||[])[_0x48cf82(0x1c3)](function(_0x4639e4,_0x3718e1){const _0x1e38e8=_0x48cf82;return Rt(_0x4639e4,''[_0x1e38e8(0x13c)](_0x211d6d,'-')[_0x1e38e8(0x13c)](_0x1f76ad[_0x1e38e8(0x201)],'-')['concat'](_0x3718e1),_0x23c005,void 0x0,_0x352385);}));}function ki(_0x549b73,_0x59ab06,_0x4dbf0c){const _0x3a82eb=_0x2ea585;var _0x58f1e4=v({},_0x549b73[_0x3a82eb(0x228)]);_0x4dbf0c!=null&&_0x4dbf0c[_0x3a82eb(0x81)]&&_0x58f1e4[_0x3a82eb(0xcf)]===_0x3a82eb(0x81)&&(_0x58f1e4['fill']=_0x4dbf0c['colorChannel1']),_0x549b73[_0x3a82eb(0x201)]===_0x3a82eb(0x166)&&_0x58f1e4['id']&&(_0x58f1e4['id']=_0x58f1e4['id']+_0x59ab06['idSuffix']),Object[_0x3a82eb(0x1e9)](_0x58f1e4)['forEach'](function(_0x5b8991){const _0x4edd0d=_0x3a82eb;var _0x24dded=_0x5b8991[0x0],_0x4cd89e=_0x5b8991[0x1];_0x24dded===_0x4edd0d(0x166)&&typeof _0x4cd89e=='string'&&(_0x58f1e4[_0x24dded]=_0x4cd89e[_0x4edd0d(0x179)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x59ab06[_0x4edd0d(0x1a5)],')')));});var _0x384a4c=_0x59ab06['defIds'];return!_0x384a4c||_0x384a4c[_0x3a82eb(0x1f5)]===0x0||(_0x549b73['tag']===_0x3a82eb(0x17c)&&_0x58f1e4[_0x3a82eb(0x1ca)]&&(_0x58f1e4['xlink:href']=_0x58f1e4['xlink:href']+_0x59ab06[_0x3a82eb(0x1a5)]),Object[_0x3a82eb(0x1e9)](_0x58f1e4)['forEach'](function(_0x28798b){const _0x20fed5=_0x3a82eb;var _0x55c11c=_0x28798b[0x0],_0x3b2a35=_0x28798b[0x1];typeof _0x3b2a35==_0x20fed5(0xb0)&&(_0x58f1e4[_0x55c11c]=_0x3b2a35[_0x20fed5(0x179)](/url\(#(.*)\)/,_0x20fed5(0xf0)[_0x20fed5(0x13c)](_0x59ab06[_0x20fed5(0x1a5)],')')));})),_0x58f1e4;}function Hi(_0x129971,_0x21fb93){const _0x56dd5f=_0x2ea585;var _0x56a1f7,_0x216982=_0x21fb93[_0x56dd5f(0x1b0)];return!_0x216982||_0x216982[_0x56dd5f(0x1f5)]===0x0?_0x129971:_0x129971['tag']===_0x56dd5f(0x17f)&&(!((_0x56a1f7=_0x129971[_0x56dd5f(0x18a)])===null||_0x56a1f7===void 0x0)&&_0x56a1f7['length'])?v(v({},_0x129971),{'children':_0x129971[_0x56dd5f(0x18a)]['map'](function(_0x589986){const _0x15a194=_0x56dd5f;return typeof _0x589986[_0x15a194(0x228)]['id']==_0x15a194(0xb0)&&_0x216982&&_0x216982[_0x15a194(0x1b5)](_0x589986[_0x15a194(0x228)]['id'])?v(v({},_0x589986),{'attrs':v(v({},_0x589986[_0x15a194(0x228)]),{'id':_0x589986['attrs']['id']+_0x21fb93[_0x15a194(0x1a5)]})}):_0x589986;})}):_0x129971;}function ji(){const _0x3a3296=_0x2ea585;return Math['random']()[_0x3a3296(0xc8)](0x24)[_0x3a3296(0x275)](0x2,0x8);}je[_0x2ea585(0x22d)]='UniverIcon';var Yi={'tag':_0x2ea585(0x1ce),'attrs':{'xmlns':_0x2ea585(0x13d),'fill':_0x2ea585(0x11c),'viewBox':_0x2ea585(0x26c),'width':_0x2ea585(0x1d7),'height':_0x2ea585(0x1d7)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ea585(0x1d4)},'children':[{'tag':'path','attrs':{'stroke':_0x2ea585(0x1c0),'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':_0x2ea585(0x171),'strokeLinejoin':_0x2ea585(0x171),'strokeWidth':1.2}}]},{'tag':_0x2ea585(0x17f),'attrs':{},'children':[{'tag':_0x2ea585(0x64),'attrs':{'id':_0x2ea585(0x22a)},'children':[{'tag':_0x2ea585(0x241),'attrs':{'fill':_0x2ea585(0x246),'d':_0x2ea585(0x211)}}]}]}],'defIds':[_0x2ea585(0x22a)]},Dt=_0x3459f8(function(_0x53352d,_0x4066cc){const _0x27ab01=_0x2ea585;return _0x59c871(je,Object[_0x27ab01(0x112)]({},_0x53352d,{'id':_0x27ab01(0xe9),'ref':_0x4066cc,'icon':Yi}));});function _0x3e72(_0x5087fc,_0x49495e){const _0x552730=_0x5527();return _0x3e72=function(_0x3e72b3,_0x5e6b9f){_0x3e72b3=_0x3e72b3-0x64;let _0x483f29=_0x552730[_0x3e72b3];return _0x483f29;},_0x3e72(_0x5087fc,_0x49495e);}Dt[_0x2ea585(0x22d)]=_0x2ea585(0xef);var Fi={'tag':'svg','attrs':{'xmlns':_0x2ea585(0x13d),'fill':_0x2ea585(0x11c),'viewBox':'0\x200\x2017\x2016','width':_0x2ea585(0x1d7),'height':_0x2ea585(0x1d7)},'children':[{'tag':'g','attrs':{'clipPath':_0x2ea585(0x269)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x2ea585(0x78),'strokeLinecap':_0x2ea585(0x171),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2ea585(0x17f),'attrs':{},'children':[{'tag':_0x2ea585(0x64),'attrs':{'id':_0x2ea585(0x107)},'children':[{'tag':_0x2ea585(0x241),'attrs':{'fill':_0x2ea585(0x246),'d':_0x2ea585(0x211),'transform':_0x2ea585(0x243)}}]}]}],'defIds':[_0x2ea585(0x107)]},Nt=_0x3459f8(function(_0x31befd,_0x46557a){const _0x315f74=_0x2ea585;return _0x59c871(je,Object['assign']({},_0x31befd,{'id':_0x315f74(0x1c8),'ref':_0x46557a,'icon':Fi}));});Nt[_0x2ea585(0x22d)]=_0x2ea585(0x20b);function Wi(_0x1d9318){const _0x5cb20b=_0x2ea585;switch(_0x1d9318){case _0x22b9eb[_0x5cb20b(0x114)]:return _0x5cb20b(0xe5);case _0x22b9eb[_0x5cb20b(0x1fd)]:return _0x5cb20b(0x198);case _0x22b9eb[_0x5cb20b(0x193)]:return _0x5cb20b(0x18d);case _0x22b9eb[_0x5cb20b(0x12f)]:return'collabStatus.notCollab';case _0x22b9eb['AWAITING']:case _0x22b9eb[_0x5cb20b(0x73)]:return'collabStatus.syncing';case _0x22b9eb[_0x5cb20b(0x1e6)]:case _0x22b9eb[_0x5cb20b(0x234)]:return'collabStatus.synced';}}function Vi(_0x548b9b){const _0x5b4930=_0x2ea585,{status$:_0x4fab65}=_0x548b9b,_0x353116=_0x445db2(_0x4fab65,_0x22b9eb[_0x5b4930(0x12f)]),_0x43a0a7=_0x3cc4e5(_0x2e50e5),_0x12004e=_0x3cc4e5(_0x5db2de),_0xc3bc21=_0x353116!==_0x22b9eb[_0x5b4930(0x114)],_0xb3acff=_0x43a0a7['t'](Wi(_0x353116)),_0x1587e7=_0xc3bc21?_0x3f689d(Nt,{}):_0x3f689d(Dt,{}),_0x129c4f=_0x357934(()=>{_0xc3bc21||_0x12004e['reconnect']();},[_0xc3bc21,_0x12004e]);function _0xa5cd59(){const _0xed8999=_0x5b4930;return _0x44e5ef(_0xed8999(0xf7),{'className':'univer-flex\x20univer-items-center','onClick':_0x129c4f,'children':[_0x3f689d('div',{'className':_0x1cf2f0(_0xed8999(0x1ba),{'univer-text-green-500':_0xc3bc21,'univer-text-red-500':!_0xc3bc21}),'children':_0x1587e7}),_0x3f689d('div',{'className':_0xed8999(0x24f),'children':_0xb3acff})]});}return _0xc3bc21?_0xa5cd59():_0x3f689d(_0xb08f3e,{'title':_0x43a0a7['t'](_0x5b4930(0x215)),'children':_0xa5cd59()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x11872c,_0x18beb1,_0x2574c9,_0x481da0)=>{const _0x319096=_0x2ea585;for(var _0x391261=_0x481da0>0x1?void 0x0:_0x481da0?Xi(_0x18beb1,_0x2574c9):_0x18beb1,_0x135a59=_0x11872c[_0x319096(0x1f5)]-0x1,_0x2719d2;_0x135a59>=0x0;_0x135a59--)(_0x2719d2=_0x11872c[_0x135a59])&&(_0x391261=_0x2719d2(_0x391261)||_0x391261);return _0x391261;},Q=(_0x4dac5d,_0x103b2d)=>(_0x3d1f64,_0x3e0724)=>_0x103b2d(_0x3d1f64,_0x3e0724,_0x4dac5d);let te=class extends _0x40ba21{constructor(_0x32fe04,_0x49b50b,_0x27c2a6,_0x4b89ce){const _0x32bae3=_0x2ea585;super(),_(this,'_status$',new _0x5d9fc3(_0x22b9eb[_0x32bae3(0x12f)])),(this[_0x32bae3(0x1b4)]=_0x32fe04,this[_0x32bae3(0x21d)]=_0x49b50b,this[_0x32bae3(0x252)]=_0x27c2a6,this[_0x32bae3(0x1cd)]=_0x4b89ce,this['_initStatusComponent'](),this[_0x32bae3(0xd4)]());}['_initStatusListener'](){const _0x566258=_0x2ea585;this[_0x566258(0xb2)](this['_univerInstanceService'][_0x566258(0x251)][_0x566258(0x16b)](_0x32c90e(()=>{const _0x42780e=_0x566258,_0x1a36af=this['_univerInstanceService'][_0x42780e(0x127)]();return _0x1a36af?this[_0x42780e(0x252)][_0x42780e(0x121)](_0x1a36af[_0x42780e(0x263)]()):_0x3b4356(null);}),_0x32c90e(_0x27f29b=>_0x27f29b?_0x27f29b['status$']:_0x3b4356(_0x22b9eb[_0x566258(0x12f)])))['subscribe'](_0x103b88=>{const _0x39900e=_0x566258;this[_0x39900e(0x1d5)]['next'](_0x103b88);}));}[_0x2ea585(0x11a)](){const _0x4cf2a3=_0x2ea585;this[_0x4cf2a3(0xb2)](this['_uiPartsService'][_0x4cf2a3(0x19c)](_0x1bab83[_0x4cf2a3(0x109)],()=>_0xb1d17d(Ki({'status$':this[_0x4cf2a3(0x1d5)]['asObservable']()}),this[_0x4cf2a3(0x21d)])));}};te=Gi([Q(0x0,_0x59e8d0),Q(0x1,_0x1b5eae(_0x5bfc31)),Q(0x2,_0x1b5eae(_0x2e8838)),Q(0x3,_0x1fe8e4)],te);function Ki(_0x1c5c64){const {status$:_0x2ff472}=_0x1c5c64;return function(){return _0x3f689d(Vi,{'status$':_0x2ff472});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x4fba77,_0x232517,_0x3a4281,_0x4baafd)=>{const _0x5e2764=_0x2ea585;for(var _0x42d665=_0x4baafd>0x1?void 0x0:_0x4baafd?zi(_0x232517,_0x3a4281):_0x232517,_0x5c42a8=_0x4fba77[_0x5e2764(0x1f5)]-0x1,_0x443d51;_0x5c42a8>=0x0;_0x5c42a8--)(_0x443d51=_0x4fba77[_0x5c42a8])&&(_0x42d665=_0x443d51(_0x42d665)||_0x42d665);return _0x42d665;},B=(_0x400d48,_0x4b9d63)=>(_0x307b0a,_0x1f5cab)=>_0x4b9d63(_0x307b0a,_0x1f5cab,_0x400d48);let se=class extends _0x40ba21{constructor(_0x29ca8c,_0x253a35,_0x3cea81,_0x2047d0,_0x25f19d,_0x522c21){const _0x4d12b0=_0x2ea585;super(),this['_beforeCloseService']=_0x29ca8c,this[_0x4d12b0(0x149)]=_0x253a35,this[_0x4d12b0(0x1ed)]=_0x3cea81,this['_messageService']=_0x2047d0,this[_0x4d12b0(0x11b)]=_0x25f19d,this[_0x4d12b0(0x21a)]=_0x522c21,this[_0x4d12b0(0x216)](),this[_0x4d12b0(0x1d3)]();}[_0x2ea585(0x216)](){const _0x39fd4c=_0x2ea585;this['disposeWithMe'](this[_0x39fd4c(0xd5)][_0x39fd4c(0x177)](()=>{const _0xb033f0=_0x39fd4c;if(this[_0xb033f0(0x149)][_0xb033f0(0x1da)][_0xb033f0(0x187)])return this[_0xb033f0(0x21a)]['t'](_0xb033f0(0x1c5));}));}[_0x2ea585(0x1d3)](){const _0x1b0111=_0x2ea585;this['disposeWithMe'](this[_0x1b0111(0x1ed)][_0x1b0111(0x267)]['subscribe'](_0x4065d1=>{const _0x1a5327=_0x1b0111;_0x4065d1['id']===_0x5bd043[_0x1a5327(0x1db)]&&this[_0x1a5327(0x1b7)]['show']({'type':_0x4fd420[_0x1a5327(0x14a)],'content':this['_localeService']['t'](_0x1a5327(0xd6))}),_0x4065d1['id']===_0x5bd043['CLOSE_ROOM']&&this[_0x1a5327(0x1b7)][_0x1a5327(0x272)]({'type':_0x4fd420['Warning'],'content':this['_localeService']['t'](_0x1a5327(0x141))}),_0x4065d1['id']===_0x5bd043['PERMISSION_DENIED']&&this[_0x1a5327(0x11b)][_0x1a5327(0x272)]({'title':this[_0x1a5327(0x21a)]['t'](_0x1a5327(0x6a)),'content':this[_0x1a5327(0x21a)]['t'](_0x1a5327(0x208)),'type':'error','duration':0x0}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x1fd)]&&this[_0x1a5327(0x1b7)][_0x1a5327(0x272)]({'type':_0x4fd420[_0x1a5327(0x1f4)],'content':this['_localeService']['t'](_0x1a5327(0x141))+'('+_0x4065d1['data']+')'}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x168)]&&this[_0x1a5327(0x1b7)]['show']({'type':_0x4fd420['Warning'],'content':this[_0x1a5327(0x21a)]['t'](_0x4065d1['data']||'')}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x181)]&&this['_messageService'][_0x1a5327(0x272)]({'type':_0x4fd420[_0x1a5327(0x14a)],'content':this['_localeService']['t'](_0x1a5327(0x1aa))}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x128)]&&this['_messageService'][_0x1a5327(0x272)]({'type':_0x4fd420['Error'],'content':this['_localeService']['t'](_0x1a5327(0x19d))}),_0x4065d1['id']===_0x5bd043[_0x1a5327(0x1e5)]&&this[_0x1a5327(0x1b7)]['show']({'type':_0x4fd420[_0x1a5327(0x1f4)],'content':this[_0x1a5327(0x21a)]['t'](_0x1a5327(0x261))});}));}};se=Ji([B(0x0,_0x4cff3d),B(0x1,_0xb2bb6a),B(0x2,_0x1b5eae(_0x146bdc)),B(0x3,_0x334ab7),B(0x4,_0x526ec6),B(0x5,_0x1b5eae(_0x2e50e5))],se);const Zi=_0x2ea585(0x155),et={},Ut=_0x44fa29(_0x2ea585(0x1dd));var Qi=Object[_0x2ea585(0x16f)],qi=(_0x4e68c4,_0x454070,_0x33bf4c,_0x5b0441)=>{const _0x549b14=_0x2ea585;for(var _0x314592=_0x5b0441>0x1?void 0x0:_0x5b0441?Qi(_0x454070,_0x33bf4c):_0x454070,_0x3b8e6a=_0x4e68c4[_0x549b14(0x1f5)]-0x1,_0x22a0be;_0x3b8e6a>=0x0;_0x3b8e6a--)(_0x22a0be=_0x4e68c4[_0x3b8e6a])&&(_0x314592=_0x22a0be(_0x314592)||_0x314592);return _0x314592;},G=(_0x823b51,_0x1f086c)=>(_0x520564,_0x7da267)=>_0x1f086c(_0x520564,_0x7da267,_0x823b51);let ie=class extends _0x3eac5d{constructor(_0x26bbe8,_0x35e236,_0x4b711c,_0x45e923,_0x4ff00c){const _0x3edd22=_0x2ea585;super(),this[_0x3edd22(0xc3)]=_0x26bbe8,this[_0x3edd22(0x135)]=_0x35e236,this['_commandService']=_0x4b711c,this[_0x3edd22(0x92)]=_0x45e923,_0x4ff00c?_0x4ff00c==null||_0x4ff00c[_0x3edd22(0x26d)]()[_0x3edd22(0x7f)](()=>this[_0x3edd22(0x15d)]()):(this[_0x3edd22(0x135)][_0x3edd22(0x118)](_0x3edd22(0x1a0),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3edd22(0x15d)]());}async[_0x2ea585(0x15d)](){const _0x1f78bc=_0x2ea585,_0x562083=this[_0x1f78bc(0xc3)][_0x1f78bc(0x1a2)](_0x1f78bc(0x94)),_0x1eff5d=this['_urlService']['getParam'](_0x1f78bc(0x162)),_0x24bbd2=this[_0x1f78bc(0xc3)][_0x1f78bc(0x1a2)](_0x1f78bc(0x1fa));if(!_0x562083||!_0x1eff5d){this['_logService'][_0x1f78bc(0x118)](_0x1f78bc(0x1a0),_0x1f78bc(0xa6));return;}const _0x5e6ad7=await this[_0x1f78bc(0x92)]['loadUnit'](_0x562083,Number(_0x1eff5d),_0x24bbd2);_0x5e6ad7&&_0x5e6ad7 instanceof _0x197ab5&&this[_0x1f78bc(0x9e)](_0x5e6ad7);}async[_0x2ea585(0x9e)](_0xfdeebf){const _0x2199c8=_0x2ea585;await this[_0x2199c8(0x90)](_0xfdeebf),_0xfdeebf[_0x2199c8(0x123)][_0x2199c8(0x16b)](_0x53da7d(this[_0x2199c8(0x10b)]))[_0x2199c8(0x21c)](_0x39c157=>{const _0x53941e=_0x2199c8;_0x39c157&&this[_0x53941e(0x1e0)](_0x39c157);}),this[_0x2199c8(0xc3)][_0x2199c8(0x7b)][_0x2199c8(0x16b)](_0x53da7d(this['dispose$']))[_0x2199c8(0x21c)](()=>this[_0x2199c8(0x90)](_0xfdeebf));}['_updateURLWithCurrentState'](_0x29ed73,_0x19d268=!0x1){const _0x57dd19=_0x2ea585,_0x4d11db=this['_urlService'][_0x57dd19(0x1a2)](_0x57dd19(0x1fa));_0x29ed73[_0x57dd19(0x17b)]()!==_0x4d11db&&this[_0x57dd19(0xc3)][_0x57dd19(0x276)](_0x57dd19(0x1fa),_0x29ed73[_0x57dd19(0x17b)](),_0x19d268);}async['_updateSubUnitFromURLParams'](_0x403cf7){const _0x354648=_0x2ea585;var _0x45dc33;const _0xb6eef2=this[_0x354648(0xc3)][_0x354648(0x1a2)](_0x354648(0x1fa));if(!_0xb6eef2||!_0x403cf7[_0x354648(0x247)](_0xb6eef2)){const _0x90732a=_0x403cf7[_0x354648(0x148)]()[0x0],_0x68c549=_0x403cf7[_0x354648(0x247)](_0x90732a);if(!_0x68c549)return;this[_0x354648(0x1e0)](_0x68c549,!0x0),await this[_0x354648(0xf2)][_0x354648(0x1bf)](_0xe11ab0['id'],{'unitId':_0x403cf7[_0x354648(0x263)](),'subUnitId':_0x90732a});return;}((_0x45dc33=_0x403cf7['getActiveSheet']())==null?void 0x0:_0x45dc33[_0x354648(0x17b)]())!==_0xb6eef2&&await this[_0x354648(0xf2)]['executeCommand'](_0xe11ab0['id'],{'unitId':_0x403cf7['getUnitId'](),'subUnitId':_0xb6eef2});}};ie=qi([G(0x0,Ut),G(0x1,_0x2ac48a),G(0x2,_0xa8cbfd),G(0x3,_0x1b5eae(_0x50b1e1)),G(0x4,_0x17b026(_0xe94f31))],ie);var en=Object[_0x2ea585(0x16f)],tn=(_0x827868,_0x422ed3,_0x26e852,_0x3fbb94)=>{const _0x2e475f=_0x2ea585;for(var _0x30ab93=_0x3fbb94>0x1?void 0x0:_0x3fbb94?en(_0x422ed3,_0x26e852):_0x422ed3,_0x3b403e=_0x827868[_0x2e475f(0x1f5)]-0x1,_0x5e434d;_0x3b403e>=0x0;_0x3b403e--)(_0x5e434d=_0x827868[_0x3b403e])&&(_0x30ab93=_0x5e434d(_0x30ab93)||_0x30ab93);return _0x30ab93;},pe=(_0x112468,_0x222a80)=>(_0x1f2361,_0x389c55)=>_0x222a80(_0x1f2361,_0x389c55,_0x112468);let ne=class{constructor(_0x8f125c,_0x59ae3e,_0x2d2f81){const _0x42304a=_0x2ea585;this[_0x42304a(0x21d)]=_0x8f125c,this[_0x42304a(0x25e)]=_0x59ae3e,this['_renderManagerService']=_0x2d2f81;}[_0x2ea585(0x273)](_0x5d9464){const _0x155ef2=_0x2ea585;this[_0x155ef2(0xf1)](_0x5d9464),this[_0x155ef2(0x213)](_0x5d9464);}[_0x2ea585(0x10d)](_0x1a9694){const _0x24f6ba=_0x2ea585,{unitID:_0x51021c}=_0x1a9694,_0x3667f3=this[_0x24f6ba(0x1d6)]['getRenderById'](_0x51021c)[_0x24f6ba(0xfd)](_0x3b8c66),{redoCache:_0x2eb70a}=_0x3667f3[_0x24f6ba(0xe7)]();if(_0x2eb70a['length']===0x0)return _0x1a9694;let _0x4d51d2=_0x45a912[_0x24f6ba(0x6b)](_0x1a9694[_0x24f6ba(0x189)][0x0]);for(let _0x5e9676=0x0;_0x5e9676<_0x2eb70a[_0x24f6ba(0x1f5)];_0x5e9676++){const _0x4afcb0={'id':_0x24f6ba(0x226),'params':{..._0x2eb70a[_0x5e9676]}},_0x54b71a=this[_0x24f6ba(0x25e)]['transformMutation'](_0x4d51d2,_0x4afcb0,!0x1);if(_0x1c5976(_0x54b71a))throw _0x54b71a[_0x24f6ba(0x274)];_0x4d51d2=_0x54b71a[_0x24f6ba(0x200)];}return{..._0x45a912[_0x24f6ba(0x6b)](_0x1a9694),'mutations':[_0x4d51d2]};}['_transformUndoRedoStack'](_0x1dde38){const _0x2052ef=_0x2ea585,{unitID:_0xf86685}=_0x1dde38,_0x50af32=this[_0x2052ef(0x1d6)][_0x2052ef(0x25f)](_0xf86685)['with'](_0x3b8c66),{undoCache:_0x3cf17a,redoCache:_0x45e123}=_0x50af32[_0x2052ef(0xe7)]();if(_0x3cf17a[_0x2052ef(0x1f5)]===0x0||_0x45e123['length']===0x0)return;const _0x24800d=[],_0x5ec25a=[];let _0x57a46b=_0x45a912[_0x2052ef(0x6b)](_0x1dde38[_0x2052ef(0x189)][0x0]),_0x58649e=_0x45a912[_0x2052ef(0x6b)](_0x1dde38[_0x2052ef(0x189)][0x0]);for(let _0x50eb08=_0x3cf17a['length']-0x1;_0x50eb08>=0x0;_0x50eb08--){const _0x38e72c={'id':_0x2052ef(0x226),'params':{..._0x3cf17a[_0x50eb08]}},_0x224b8c={'id':_0x2052ef(0x226),'params':{..._0x45e123[_0x50eb08]}},_0x12b9ae=this[_0x2052ef(0x25e)]['transformMutation'](_0x57a46b,_0x38e72c,!0x1),_0x293e19=this[_0x2052ef(0x25e)]['transformMutation'](_0x58649e,_0x224b8c,!0x1);if(_0x1c5976(_0x12b9ae))throw _0x12b9ae[_0x2052ef(0x274)];if(_0x1c5976(_0x293e19))throw _0x293e19['error'];_0x24800d[_0x2052ef(0x232)](_0x12b9ae[_0x2052ef(0x69)][_0x2052ef(0x1a1)]),_0x5ec25a[_0x2052ef(0x232)](_0x293e19[_0x2052ef(0x69)]['params']),_0x57a46b=_0x12b9ae['m1Prime'],_0x58649e=_0x293e19[_0x2052ef(0x200)];}_0x50af32[_0x2052ef(0xaf)]({'undoCache':_0x24800d,'redoCache':_0x5ec25a});}[_0x2ea585(0x213)](_0xf2fb7b){const _0x55846b=_0x2ea585,{unitID:_0x1ad022}=_0xf2fb7b,_0x5512e9=this[_0x55846b(0x1d6)]['getRenderById'](_0x1ad022)[_0x55846b(0xfd)](_0x3b8c66),_0x335c46=_0x5512e9[_0x55846b(0x236)]();if(_0x335c46==null)return;const _0x83b652=[{'id':_0x55846b(0x226),'params':{'unitId':_0xf2fb7b[_0x55846b(0x210)],'actions':null,'textRanges':[_0x335c46]}}],_0x4424f2=this[_0x55846b(0x25e)][_0x55846b(0xcc)](_0xf2fb7b,_0x83b652);if(!_0x4089ae(_0x4424f2))throw _0x4424f2[_0x55846b(0x274)];const _0x2846e7=_0x4424f2[_0x55846b(0x69)][0x0][_0x55846b(0x1a1)][_0x55846b(0x1f8)];Array['isArray'](_0x2846e7)&&_0x2846e7['length']&&_0x5512e9[_0x55846b(0x1bb)](_0x2846e7[0x0]);}};ne=tn([pe(0x0,_0x1b5eae(_0x5bfc31)),pe(0x1,_0x24498d),pe(0x2,_0x199ab1)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x151936,_0x4fdf16,_0x357454,_0x4e4bd7)=>{const _0x1550de=_0x2ea585;for(var _0x162411=_0x4e4bd7>0x1?void 0x0:_0x4e4bd7?sn(_0x4fdf16,_0x357454):_0x4fdf16,_0xa2dc25=_0x151936[_0x1550de(0x1f5)]-0x1,_0x1f29a7;_0xa2dc25>=0x0;_0xa2dc25--)(_0x1f29a7=_0x151936[_0xa2dc25])&&(_0x162411=_0x1f29a7(_0x162411)||_0x162411);return _0x162411;},Ce=(_0x2f7aac,_0x19baee)=>(_0x1b4cb2,_0x3214ae)=>_0x19baee(_0x1b4cb2,_0x3214ae,_0x2f7aac);let re=class{constructor(_0x33b92e,_0x304ec9,_0x29427d){const _0x46fd76=_0x2ea585;this[_0x46fd76(0x21d)]=_0x33b92e,this[_0x46fd76(0x25e)]=_0x304ec9,this[_0x46fd76(0x25a)]=_0x29427d;}[_0x2ea585(0x185)](_0x3e5d16){const _0x48f820=_0x2ea585;this[_0x48f820(0x271)](_0x3e5d16);}['transformRemoteChangeset'](_0x1c8ac3){const _0x6374d5=_0x2ea585,{unitID:_0x54127f}=_0x1c8ac3,{collaboration:_0x1cec4a}=this[_0x6374d5(0x25a)][_0x6374d5(0x170)](_0x54127f);if(_0x1cec4a[_0x6374d5(0x1f5)]===0x0)return _0x1c8ac3;let _0x3b11c8=_0x45a912[_0x6374d5(0x6b)](_0x1c8ac3[_0x6374d5(0x189)][0x0]);for(let _0x5db274=0x0;_0x5db274<_0x1cec4a[_0x6374d5(0x1f5)];_0x5db274++){const _0x2dbeba={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1cec4a[_0x5db274][_0x6374d5(0xfb)],..._0x1cec4a[_0x5db274][_0x6374d5(0x14e)]}},_0x282d94=this[_0x6374d5(0x25e)][_0x6374d5(0x164)](_0x3b11c8,_0x2dbeba,!0x1);if(_0x1c5976(_0x282d94))throw _0x282d94[_0x6374d5(0x274)];_0x3b11c8=_0x282d94[_0x6374d5(0x200)];}return{..._0x45a912[_0x6374d5(0x6b)](_0x1c8ac3),'mutations':[_0x3b11c8]};}[_0x2ea585(0x271)](_0x446935){const _0x5594b8=_0x2ea585,{unitID:_0x32daa0}=_0x446935,{history:_0xb245bb,collaboration:_0x5eb6c8}=this['_docStateChangeManagerService'][_0x5594b8(0x170)](_0x32daa0);if(_0xb245bb['length']===0x0&&_0x5eb6c8[_0x5594b8(0x1f5)]===0x0)return;const _0x33e413=[],_0x4a6c5c=[];let _0x350689=_0x45a912[_0x5594b8(0x6b)](_0x446935[_0x5594b8(0x189)][0x0]),_0x1046eb=_0x45a912[_0x5594b8(0x6b)](_0x446935[_0x5594b8(0x189)][0x0]);for(let _0x1dfba6=_0xb245bb[_0x5594b8(0x1f5)]-0x1;_0x1dfba6>=0x0;_0x1dfba6--){const _0x4a2580={'id':_0x5594b8(0x226),'params':{'unitId':_0xb245bb[_0x1dfba6][_0x5594b8(0xfb)],..._0xb245bb[_0x1dfba6][_0x5594b8(0x93)]}},_0x4b07aa={'id':_0x5594b8(0x226),'params':{'unitId':_0xb245bb[_0x1dfba6][_0x5594b8(0xfb)],..._0xb245bb[_0x1dfba6]['redoState']}},_0x5615be=this[_0x5594b8(0x25e)][_0x5594b8(0x164)](_0x350689,_0x4a2580,!0x1),_0x453209=this[_0x5594b8(0x25e)][_0x5594b8(0x164)](_0x1046eb,_0x4b07aa,!0x1);if(_0x1c5976(_0x5615be))throw _0x5615be[_0x5594b8(0x274)];if(_0x1c5976(_0x453209))throw _0x453209[_0x5594b8(0x274)];_0x33e413['unshift']({..._0xb245bb[_0x1dfba6],'undoState':_0x5615be[_0x5594b8(0x69)]['params'],'redoState':_0x453209['m2Prime']['params']}),_0x350689=_0x5615be[_0x5594b8(0x200)],_0x1046eb=_0x453209[_0x5594b8(0x200)];}_0x350689=_0x45a912[_0x5594b8(0x6b)](_0x446935[_0x5594b8(0x189)][0x0]),_0x1046eb=_0x45a912[_0x5594b8(0x6b)](_0x446935[_0x5594b8(0x189)][0x0]);for(let _0x5a5b33=_0x5eb6c8[_0x5594b8(0x1f5)]-0x1;_0x5a5b33>=0x0;_0x5a5b33--){const _0x59c425={'id':_0x5594b8(0x226),'params':{'unitId':_0x5eb6c8[_0x5a5b33][_0x5594b8(0xfb)],..._0x5eb6c8[_0x5a5b33][_0x5594b8(0x93)]}},_0x50e3ae={'id':_0x5594b8(0x226),'params':{'unitId':_0x5eb6c8[_0x5a5b33][_0x5594b8(0xfb)],..._0x5eb6c8[_0x5a5b33]['redoState']}},_0x34ff2a=this[_0x5594b8(0x25e)]['transformMutation'](_0x350689,_0x59c425,!0x1),_0xbd4610=this['_transformService'][_0x5594b8(0x164)](_0x1046eb,_0x50e3ae,!0x1);if(_0x1c5976(_0x34ff2a))throw _0x34ff2a['error'];if(_0x1c5976(_0xbd4610))throw _0xbd4610[_0x5594b8(0x274)];_0x4a6c5c[_0x5594b8(0x232)]({..._0x5eb6c8[_0x5a5b33],'undoState':_0x34ff2a[_0x5594b8(0x69)][_0x5594b8(0x1a1)],'redoState':_0xbd4610['m2Prime'][_0x5594b8(0x1a1)]}),_0x350689=_0x34ff2a[_0x5594b8(0x200)],_0x1046eb=_0xbd4610[_0x5594b8(0x200)];}this[_0x5594b8(0x25a)]['setStateCache'](_0x32daa0,{'history':_0x33e413,'collaboration':_0x4a6c5c});}};re=nn([Ce(0x0,_0x1b5eae(_0x5bfc31)),Ce(0x1,_0x24498d),Ce(0x2,_0x1b5eae(_0x1d23eb))],re);var rn=Object[_0x2ea585(0x16f)],on=(_0x45e6ae,_0x1e3e77,_0x272243,_0x4b9c6e)=>{const _0x2d87e0=_0x2ea585;for(var _0x2b5ed8=_0x4b9c6e>0x1?void 0x0:_0x4b9c6e?rn(_0x1e3e77,_0x272243):_0x1e3e77,_0x87c3ab=_0x45e6ae[_0x2d87e0(0x1f5)]-0x1,_0xc143d7;_0x87c3ab>=0x0;_0x87c3ab--)(_0xc143d7=_0x45e6ae[_0x87c3ab])&&(_0x2b5ed8=_0xc143d7(_0x2b5ed8)||_0x2b5ed8);return _0x2b5ed8;},tt=(_0x32df10,_0x36a407)=>(_0x44e682,_0x48fa99)=>_0x36a407(_0x44e682,_0x48fa99,_0x32df10);let oe=class{constructor(_0x16ba39,_0x29a0d5){const _0x397a85=_0x2ea585;this[_0x397a85(0x21d)]=_0x16ba39,this['_transformService']=_0x29a0d5;}[_0x2ea585(0xa0)](_0x4c9d9a){const _0x44d736=_0x2ea585;var _0x5b77a6;const _0xcc019b=this[_0x44d736(0x21d)]['get'](_0x232b51),_0x2db7a1=(_0x5b77a6=_0xcc019b['getDocRanges']())!=null?_0x5b77a6:[];if(_0x2db7a1[_0x44d736(0x1f5)]===0x0)return;const _0x2adb23=_0x4c9d9a[_0x44d736(0x210)],_0x2ac179=[{'id':_0x44d736(0x226),'params':{'unitId':_0x2adb23,'actions':null,'textRanges':_0x2db7a1}}],_0x1a1276=this[_0x44d736(0x25e)]['transformMutationsWithChangeset'](_0x4c9d9a,_0x2ac179);if(!_0x4089ae(_0x1a1276))throw _0x1a1276['error'];const _0x4baf6c=_0x1a1276[_0x44d736(0x69)][0x0][_0x44d736(0x1a1)][_0x44d736(0x1f8)];Array[_0x44d736(0x113)](_0x4baf6c)&&_0x4baf6c[_0x44d736(0x1f5)]&&_0xcc019b[_0x44d736(0xea)](_0x4baf6c,{'unitId':_0x2adb23,'subUnitId':_0x2adb23},!0x1);}};oe=on([tt(0x0,_0x1b5eae(_0x5bfc31)),tt(0x1,_0x24498d)],oe);var an=Object[_0x2ea585(0x16f)],cn=(_0x1acca4,_0x194d6d,_0xa426f0,_0x3d0969)=>{const _0x2d2e9a=_0x2ea585;for(var _0x181826=_0x3d0969>0x1?void 0x0:_0x3d0969?an(_0x194d6d,_0xa426f0):_0x194d6d,_0xa9343c=_0x1acca4[_0x2d2e9a(0x1f5)]-0x1,_0x1fd4a2;_0xa9343c>=0x0;_0xa9343c--)(_0x1fd4a2=_0x1acca4[_0xa9343c])&&(_0x181826=_0x1fd4a2(_0x181826)||_0x181826);return _0x181826;},U=(_0x6fe634,_0x383608)=>(_0x268ae7,_0x170bb2)=>_0x383608(_0x268ae7,_0x170bb2,_0x6fe634);let ae=class extends _0x40ba21{constructor(_0xbd6e85,_0x51c0e5,_0x366273,_0x5583b6,_0x2135eb,_0x461491,_0x428b7c,_0x141282){const _0x18ce40=_0x2ea585;super(),_(this,_0x18ce40(0x1d5),new _0x5d9fc3(_0x22b9eb[_0x18ce40(0x12f)])),(this['_docStateChangeManagerService']=_0xbd6e85,this[_0x18ce40(0x252)]=_0x51c0e5,this['_docTransformIMECacheService']=_0x366273,this[_0x18ce40(0x7e)]=_0x5583b6,this[_0x18ce40(0x176)]=_0x2135eb,this['_docSyncEditingCollabCursorService']=_0x461491,this['_messageService']=_0x428b7c,this[_0x18ce40(0x21a)]=_0x141282,this[_0x18ce40(0x22b)]());}['_initEntityListener'](){const _0x1ca308=_0x2ea585;this[_0x1ca308(0xb2)](this[_0x1ca308(0x252)][_0x1ca308(0xb9)][_0x1ca308(0x21c)](_0x6528d9=>{const _0x265e13=_0x1ca308,_0x1e06ec=this['_docStateChangeManagerService'][_0x265e13(0x1b1)][_0x265e13(0x21c)](_0x436ee3=>{const _0x3e8990=_0x265e13;if(_0x436ee3==null)return;const {unitId:_0x26eff6,redoState:_0x2a880b,commandId:_0x4bb82e}=_0x436ee3;if(_0x26eff6!==_0x6528d9[_0x3e8990(0x210)])return;const _0x1ad104={'id':_0x4bb82e,'type':_0x4a0f45[_0x3e8990(0x157)],'params':{'unitId':_0x26eff6,'actions':_0x2a880b[_0x3e8990(0x1c1)],'textRanges':null}};_0x6528d9[_0x3e8990(0x15f)](_0x1ad104);});if(_0x6528d9[_0x265e13(0xb2)](_0x1e06ec),_0x6528d9 instanceof _0x40f114){const _0x5dfa9b={'onTransformIME':_0xbedc87=>this[_0x265e13(0x188)][_0x265e13(0x273)](_0xbedc87),'onTransformState':_0x1ce6c0=>this[_0x265e13(0x7e)][_0x265e13(0x185)](_0x1ce6c0),'onTransformSelections':_0x4e31ba=>this['_docTransformSelectionsService']['transformSelections'](_0x4e31ba),'onSyncEditingCollabCursor':_0x2683d3=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x2683d3),'onTransformRemoteChangesetByIMECache':_0x52bf21=>this['_docTransformIMECacheService'][_0x265e13(0x10d)](_0x52bf21),'onTransformRemoteChangesetByStateCache':_0x3baaa3=>this[_0x265e13(0x7e)][_0x265e13(0x10d)](_0x3baaa3)};_0x6528d9[_0x265e13(0x25b)](_0x5dfa9b);}}));}};ae=cn([U(0x0,_0x1b5eae(_0x1d23eb)),U(0x1,_0x1b5eae(_0x2e8838)),U(0x2,_0x1b5eae(ne)),U(0x3,_0x1b5eae(re)),U(0x4,_0x1b5eae(oe)),U(0x5,_0x1b5eae(He)),U(0x6,_0x334ab7),U(0x7,_0x1b5eae(_0x2e50e5))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x446154,_0x296995,_0x351577,_0x4eaa57)=>{const _0x5ca8c9=_0x2ea585;for(var _0x1e1095=_0x4eaa57>0x1?void 0x0:_0x4eaa57?ln(_0x296995,_0x351577):_0x296995,_0x375bd2=_0x446154[_0x5ca8c9(0x1f5)]-0x1,_0x38787a;_0x375bd2>=0x0;_0x375bd2--)(_0x38787a=_0x446154[_0x375bd2])&&(_0x1e1095=_0x38787a(_0x1e1095)||_0x1e1095);return _0x1e1095;},Ee=(_0x332373,_0x4f6f7e)=>(_0x472ff4,_0x114fcc)=>_0x4f6f7e(_0x472ff4,_0x114fcc,_0x332373);let Le=class extends _0x40ba21{constructor(_0x3f75c3,_0x1e82d2,_0x25056e){const _0x47fbf9=_0x2ea585;super(),_(this,_0x47fbf9(0x1f0),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x3f75c3,this[_0x47fbf9(0x8e)]=_0x1e82d2,this[_0x47fbf9(0x1ac)]=_0x25056e);}['disableLocalCache'](){const _0x326773=_0x2ea585;this[_0x326773(0x6c)]=!0x0;}[_0x2ea585(0xbf)](){const _0x4831c3=_0x2ea585;this[_0x4831c3(0x6c)]=!0x1;}get[_0x2ea585(0x1da)](){return this['_saveTaskMap'];}['dispose'](){const _0x4c4b7b=_0x2ea585;this[_0x4c4b7b(0x86)]()[_0x4c4b7b(0x7f)](()=>super[_0x4c4b7b(0x195)]());}async[_0x2ea585(0xd2)](_0x5e9a35){const _0x37df94=_0x2ea585;return this[_0x37df94(0x6c)]?null:this[_0x37df94(0x8e)][_0x37df94(0x1a6)](_0x3c28af(_0x5e9a35));}async['saveOfflineData'](_0x109cbf,_0x3b2259){const _0x583bec=_0x2ea585;return!!this['_localStorageService'][_0x583bec(0x1e3)](_0x109cbf,_0x3b2259);}[_0x2ea585(0x115)](_0x856e18,_0x125da8,_0x34ab12,_0x3bd3ea){const _0x33f5f8=_0x2ea585,_0x54f44d=this[_0x33f5f8(0x1ac)][_0x33f5f8(0xd3)](_0x856e18);this[_0x33f5f8(0x1f0)][_0x33f5f8(0x22c)](_0x856e18,{'unitID':_0x856e18,'type':_0x125da8,'awaitingChangeset':_0x34ab12,'mutations':_0x3bd3ea,'rev':_0x54f44d}),this[_0x33f5f8(0x196)][_0x33f5f8(0xa7)](_0x856e18)||this[_0x33f5f8(0x1cf)](_0x856e18);}[_0x2ea585(0x1cf)](_0x24dd06){const _0xce2678=_0x2ea585,_0x3d8c5e=this[_0xce2678(0x6f)]();_0x3d8c5e===0x0?this[_0xce2678(0x110)](_0x24dd06):this[_0xce2678(0x196)][_0xce2678(0x22c)](_0x24dd06,setTimeout(()=>this[_0xce2678(0x110)](_0x24dd06),_0x3d8c5e));}[_0x2ea585(0x6f)](){const _0x535316=_0x2ea585;var _0x48921c;return(_0x48921c=this[_0x535316(0x21f)]['getConfig'](_0x4193b7))!=null?_0x48921c:_0x4961b2;}[_0x2ea585(0x110)](_0x452b04){const _0x1f1efb=_0x2ea585,_0x3a3ba5=this[_0x1f1efb(0x196)][_0x1f1efb(0x277)](_0x452b04);return _0x3a3ba5!==void 0x0&&window['clearTimeout'](_0x3a3ba5),this['_localStorageService'][_0x1f1efb(0x1e3)](_0x3c28af(_0x452b04),this[_0x1f1efb(0x1f0)][_0x1f1efb(0x277)](_0x452b04))[_0x1f1efb(0x7f)](()=>this[_0x1f1efb(0x196)][_0x1f1efb(0xb5)](_0x452b04));}async[_0x2ea585(0x86)](){const _0x215906=_0x2ea585,_0x3dde3e=[];this[_0x215906(0x196)][_0x215906(0x7d)]((_0x193b89,_0x33bc07)=>{const _0x521835=_0x215906;window[_0x521835(0x20f)](_0x193b89),_0x3dde3e[_0x521835(0xca)](this[_0x521835(0x110)](_0x33bc07)['then'](()=>{const _0x43f9cd=_0x521835;this[_0x43f9cd(0x196)][_0x43f9cd(0xb5)](_0x33bc07);}));}),await Promise[_0x215906(0x1cc)](_0x3dde3e);}};Le=_n([Ee(0x0,_0x15811c),Ee(0x1,_0x46737b),Ee(0x2,_0x1b5eae(_0x34be82))],Le);class hn extends _0x3eac5d{constructor(){const _0x2c906a=_0x2ea585;super(),_(this,_0x2c906a(0x7b)),this[_0x2c906a(0x7b)]=_0xe04811(window,_0x2c906a(0x1d8))[_0x2c906a(0x16b)](_0x53da7d(this[_0x2c906a(0x10b)]),_0x3f6233(0x1),_0x296ed6(void 0x0));}[_0x2ea585(0x276)](_0xfdfbb0,_0x1f03ab,_0x436431=!0x1){const _0x43ffce=_0x2ea585,_0x24fcef=new URL(window[_0x43ffce(0x8b)][_0x43ffce(0x24a)]);_0x24fcef[_0x43ffce(0x1df)][_0x43ffce(0x22c)](_0xfdfbb0,_0x1f03ab),_0x436431?window[_0x43ffce(0x265)]['replaceState']('','',_0x24fcef[_0x43ffce(0xc8)]()):window[_0x43ffce(0x265)][_0x43ffce(0x222)]('','',_0x24fcef[_0x43ffce(0xc8)]());}[_0x2ea585(0x145)](_0x4c8ed5,_0x20a5d4=!0x1){const _0x21c4f5=_0x2ea585,_0x4b2822=new URL(window[_0x21c4f5(0x8b)][_0x21c4f5(0x24a)]);_0x4b2822[_0x21c4f5(0x1df)][_0x21c4f5(0xb5)](_0x4c8ed5),_0x20a5d4?window[_0x21c4f5(0x265)][_0x21c4f5(0x205)]('','',_0x4b2822[_0x21c4f5(0xc8)]()):window[_0x21c4f5(0x265)][_0x21c4f5(0x222)]('','',_0x4b2822[_0x21c4f5(0xc8)]());}[_0x2ea585(0x1a2)](_0x50b328){const _0x2f81e5=_0x2ea585;var _0x237bd4;return(_0x237bd4=new URL(window[_0x2f81e5(0x8b)][_0x2f81e5(0x24a)])[_0x2f81e5(0x1df)]['get'](_0x50b328))!=null?_0x237bd4:void 0x0;}}var un=Object[_0x2ea585(0x75)],dn=Object[_0x2ea585(0x16f)],fn=(_0x188ad1,_0x391410,_0x2570e0)=>_0x391410 in _0x188ad1?un(_0x188ad1,_0x391410,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2570e0}):_0x188ad1[_0x391410]=_0x2570e0,Sn=(_0x156d12,_0x367754,_0x53a04c,_0x199532)=>{const _0x2d21ed=_0x2ea585;for(var _0x4c278d=_0x199532>0x1?void 0x0:_0x199532?dn(_0x367754,_0x53a04c):_0x367754,_0x12add9=_0x156d12[_0x2d21ed(0x1f5)]-0x1,_0x192899;_0x12add9>=0x0;_0x12add9--)(_0x192899=_0x156d12[_0x12add9])&&(_0x4c278d=_0x192899(_0x4c278d)||_0x4c278d);return _0x4c278d;},Oe=(_0x393c5f,_0x162464)=>(_0x132da5,_0x4fb8cd)=>_0x162464(_0x132da5,_0x4fb8cd,_0x393c5f),mn=(_0xde2a97,_0x3fe3d1,_0x2193c3)=>fn(_0xde2a97,_0x3fe3d1+'',_0x2193c3);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x5650a0{constructor(_0x33ff0a=et,_0x58c68a,_0x35d359,_0x355eae){const _0x26d263=_0x2ea585;super(),this[_0x26d263(0x12b)]=_0x33ff0a,this[_0x26d263(0x1d6)]=_0x58c68a,this[_0x26d263(0x21d)]=_0x35d359,this[_0x26d263(0x21f)]=_0x355eae;const {..._0x40b7ae}=_0x1c6faa({},et,this[_0x26d263(0x12b)]);this[_0x26d263(0x21f)]['setConfig'](Zi,_0x40b7ae);}[_0x2ea585(0x10f)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2ea585(0x11f)](){this['_registerRenderDependencies']();}[_0x2ea585(0x10a)](){const _0x209a80=_0x2ea585;var _0x511964;const _0x301309=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x50064a,{'useClass':_0x5a68be}],[_0xb2bb6a,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x146ce2(this['_injector'],_0x3c03b0(_0x301309,(_0x511964=this[_0x209a80(0x12b)])==null?void 0x0:_0x511964[_0x209a80(0x238)]));}[_0x2ea585(0x129)](){const _0x579921=_0x2ea585;this['disposeWithMe'](this[_0x579921(0x1d6)][_0x579921(0xdb)](_0x17d1c2[_0x579921(0x174)],[we])),this[_0x579921(0xb2)](this[_0x579921(0x1d6)]['registerRenderModule'](_0x17d1c2['UNIVER_SHEET'],[Pe]));}[_0x2ea585(0x136)](){_0x1e96cf(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x2fb02a(_0x4d1be4),Oe(0x1,_0x199ab1),Oe(0x2,_0x1b5eae(_0x5bfc31)),Oe(0x3,_0x15811c)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0xb9ed7b,_0x297827,_0x245242,_0x54581d)=>{for(var _0x5a3bb2=_0x54581d>0x1?void 0x0:_0x54581d?gn(_0x297827,_0x245242):_0x297827,_0x3477f5=_0xb9ed7b['length']-0x1,_0x54be81;_0x3477f5>=0x0;_0x3477f5--)(_0x54be81=_0xb9ed7b[_0x3477f5])&&(_0x5a3bb2=_0x54be81(_0x5a3bb2)||_0x5a3bb2);return _0x5a3bb2;},K=(_0x49ba15,_0x2f93b7)=>(_0x3a2f09,_0x509fa1)=>_0x2f93b7(_0x3a2f09,_0x509fa1,_0x49ba15);let st=class extends _0xa51a02{constructor(_0xaf69a2,_0x2b498c,_0x3c41fc,_0x1ea314,_0x288f33){super(_0xaf69a2,_0x2b498c,_0x3c41fc,_0x1ea314,_0x288f33);}async[_0x2ea585(0x19f)](_0x47e917){const _0x19da42=_0x2ea585,_0x4217ff=await this['_getSessionTicket'](),_0x230402=this[_0x19da42(0x1ee)](_0x47e917,_0x4217ff);return this['_doCreateSocket'](_0x230402);}[_0x2ea585(0x1ee)](_0x39c813,_0x4a07f0){const _0x523599=_0x2ea585,_0x549862=typeof window>'u'?new URL(_0x39c813):new URL(_0x39c813,window[_0x523599(0x8b)][_0x523599(0x15e)]);_0x549862[_0x523599(0x1df)]['set'](_0x523599(0x24b),_0x4a07f0);const _0xf31a6f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x523599(0x154)]);return _0xf31a6f[_0x523599(0x277)]('runId')&&_0x549862[_0x523599(0x1df)][_0x523599(0x22c)](_0x523599(0xbd),_0xf31a6f[_0x523599(0x277)](_0x523599(0xbd))),_0x549862['toString']();}async[_0x2ea585(0x26e)](){const _0x4cafb5=_0x2ea585;var _0x4e4b8c,_0x350e56,_0x4e0ea1;const _0x26692a=this['_configService']['getConfig'](_0x59eb65),_0x201a5e=(_0x4e4b8c=_0x26692a==null?void 0x0:_0x26692a[_0x4cafb5(0x1d9)])!=null?_0x4e4b8c:_0x446d5f;return(_0x4e0ea1=(_0x350e56=(await this[_0x4cafb5(0x99)][_0x4cafb5(0x277)](_0x201a5e,{'headers':{'Content-Type':_0x4cafb5(0x227)}}))[_0x4cafb5(0x25d)])==null?void 0x0:_0x350e56[_0x4cafb5(0x209)])!=null?_0x4e0ea1:'';}};st=vn([K(0x0,_0x1b5eae(_0x5bfc31)),K(0x1,_0x1b5eae(_0x1d3895)),K(0x2,_0x15811c),K(0x3,_0x2ac48a),K(0x4,_0x1e4383)],st);const it=0x7530,nt=_0x2ea585(0xec);class jn extends _0x40ba21{constructor(){const _0x3b7c42=_0x2ea585;super(),_(this,_0x3b7c42(0xda),_0x38a20e()),_(this,'_selfUnitIDs',new Set()),_(this,_0x3b7c42(0x91),new Map()),_(this,_0x3b7c42(0x1eb),null),_(this,_0x3b7c42(0x147),new Map()),_(this,_0x3b7c42(0x1c7),new Map()),this[_0x3b7c42(0x15d)]();}['dispose'](){const _0x1a716a=_0x2ea585;super['dispose'](),this[_0x1a716a(0x147)][_0x1a716a(0x7d)]((_0x49ccde,_0x3db57d)=>this[_0x1a716a(0x156)](_0x3db57d)),this[_0x1a716a(0x1eb)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2ea585(0x131)](_0x5c596){const _0x5b16d0=_0x2ea585;return this['_ensureSubject'](_0x5c596)[_0x5b16d0(0x16b)](_0x441853());}[_0x2ea585(0x72)](_0x3ee123){const _0x3b1661=_0x2ea585;this['_selfUnitIDs'][_0x3b1661(0x187)]===0x0&&this['_scheduleHeartbeat'](),this[_0x3b1661(0x142)][_0x3b1661(0x1ab)](_0x3ee123),this[_0x3b1661(0x24e)]({'type':0x0,'memberID':this[_0x3b1661(0xda)],'unitIDs':[_0x3ee123],'isForwarded':!0x1});}[_0x2ea585(0x10c)](_0x2298c3){const _0x178d2e=_0x2ea585;this['_selfUnitIDs'][_0x178d2e(0xb5)](_0x2298c3),this[_0x178d2e(0x142)]['size']===0x0&&this[_0x178d2e(0x1eb)]&&window[_0x178d2e(0xee)](this['_heartbeatTimer']);}['_init'](){const _0x11078e=_0x2ea585;this[_0x11078e(0xb2)](_0x4b2294(_0xe04811(window,_0x11078e(0x173))[_0x11078e(0x21c)](_0x36e630=>{const _0x401f5a=_0x11078e;if(_0x36e630[_0x401f5a(0x132)]!==nt||!_0x36e630[_0x401f5a(0x1ea)])return;const _0xde35e8=JSON[_0x401f5a(0x8a)](_0x36e630['newValue']);this[_0x401f5a(0x98)](_0xde35e8);}))),window['addEventListener'](_0x11078e(0x178),()=>this[_0x11078e(0x24e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x11078e(0x1c9)](this[_0x11078e(0x142)])}));}[_0x2ea585(0x98)](_0x4e35d7){const _0x488aa6=_0x2ea585;switch(_0x4e35d7[_0x488aa6(0x162)]){case 0x0:this[_0x488aa6(0x1af)](_0x4e35d7);break;case 0x1:this[_0x488aa6(0x1f3)](_0x4e35d7);break;case 0x2:this[_0x488aa6(0x17d)](_0x4e35d7);break;}}[_0x2ea585(0x1af)](_0x599524){const _0x2c8dd5=_0x2ea585,{unitIDs:_0x44326d,memberID:_0x1c572a,isForwarded:_0xe4ce42}=_0x599524;_0x44326d[_0x2c8dd5(0x7d)](_0x143f75=>{const _0x4ce5b6=_0x2c8dd5;if(!_0xe4ce42&&this[_0x4ce5b6(0x91)][_0x4ce5b6(0xa7)](_0x143f75)&&this['_ensureSubject'](_0x143f75)['next'](_0x526cb6[_0x4ce5b6(0x202)]),!this[_0x4ce5b6(0x91)][_0x4ce5b6(0xa7)](_0x143f75)||!this[_0x4ce5b6(0x91)][_0x4ce5b6(0x277)](_0x143f75)[_0x4ce5b6(0xa7)](_0x1c572a)){const _0x4ded32=this['_unitOnClients'][_0x4ce5b6(0x277)](_0x143f75)||new Set();_0x4ded32[_0x4ce5b6(0x1ab)](_0x1c572a),this[_0x4ce5b6(0x91)][_0x4ce5b6(0x22c)](_0x143f75,_0x4ded32),this[_0x4ce5b6(0x1dc)](_0x1c572a);}}),_0xe4ce42||this[_0x2c8dd5(0x24e)]({'type':0x0,'memberID':this[_0x2c8dd5(0xda)],'unitIDs':[...this[_0x2c8dd5(0x142)]],'isForwarded':!0x0});}[_0x2ea585(0x1dc)](_0x3c9a3f){const _0x112ce7=_0x2ea585;this['_removeClearOtherTimer'](_0x3c9a3f);const _0x362e98=window['setTimeout'](()=>{const _0x1473c5=_0x3e72;this[_0x1473c5(0x91)]['forEach'](_0x7977a8=>{const _0x441333=_0x1473c5;_0x7977a8[_0x441333(0xb5)](_0x3c9a3f);});},it*0x2);this[_0x112ce7(0x147)]['set'](_0x3c9a3f,_0x362e98);}[_0x2ea585(0x156)](_0x1b1402){const _0x12b05f=_0x2ea585;if(this['_clearOtherTimers'][_0x12b05f(0xa7)](_0x1b1402)){const _0x5f9a6=this[_0x12b05f(0x147)][_0x12b05f(0x277)](_0x1b1402);_0x5f9a6&&window[_0x12b05f(0x20f)](_0x5f9a6),this[_0x12b05f(0x147)][_0x12b05f(0x22c)](_0x1b1402,null);}}['_handleLeaveEvent'](_0x2539a4){const _0x187f6d=_0x2ea585,{memberID:_0x4751c2,unitIDs:_0xe5e9f}=_0x2539a4;_0xe5e9f['forEach'](_0x424f34=>{const _0x375db8=_0x3e72;var _0x85806a;const _0x3be94c=this['_unitOnClients'][_0x375db8(0x277)](_0x424f34);_0x3be94c&&(_0x3be94c['delete'](_0x4751c2),(_0x85806a=this['_ensureSubject'](_0x424f34))==null||_0x85806a[_0x375db8(0x21e)](_0x3be94c['size']===0x0?_0x526cb6[_0x375db8(0x218)]:_0x526cb6[_0x375db8(0x202)]));}),this[_0x187f6d(0x156)](_0x4751c2);}[_0x2ea585(0x17d)](_0x2908cd){const _0x46ac35=_0x2ea585;this[_0x46ac35(0x1dc)](_0x2908cd[_0x46ac35(0xa1)]);}[_0x2ea585(0x24e)](_0x1dd9aa){const _0x5a6237=_0x2ea585;localStorage[_0x5a6237(0x1e3)](nt,JSON[_0x5a6237(0x1bc)](_0x1dd9aa));}['_scheduleHeartbeat'](){const _0x5c1b40=_0x2ea585;this[_0x5c1b40(0x1eb)]=window[_0x5c1b40(0x26f)](()=>{const _0x4c6bfd=_0x5c1b40;this[_0x4c6bfd(0x24e)]({'type':0x2,'memberID':this[_0x4c6bfd(0xda)]});},it);}[_0x2ea585(0x1fb)](_0xe611f4){const _0x3531c7=_0x2ea585;return this['_unitStatus'][_0x3531c7(0xa7)](_0xe611f4)||this[_0x3531c7(0x1c7)][_0x3531c7(0x22c)](_0xe611f4,new _0x5d9fc3(_0x526cb6[_0x3531c7(0x218)])),this[_0x3531c7(0x1c7)][_0x3531c7(0x277)](_0xe611f4);}}var Mt=(_0x45d84a=>(_0x45d84a[_0x45d84a[_0x2ea585(0x138)]=0x0]=_0x2ea585(0x138),_0x45d84a[_0x45d84a['OK']=0x1]='OK',_0x45d84a[_0x45d84a['INTERNAL_ERROR']=0x2]=_0x2ea585(0x184),_0x45d84a[_0x45d84a[_0x2ea585(0x9c)]=0x3]=_0x2ea585(0x9c),_0x45d84a[_0x45d84a['NOT_FOUND']=0x4]=_0x2ea585(0x106),_0x45d84a[_0x45d84a[_0x2ea585(0x122)]=0x5]=_0x2ea585(0x122),_0x45d84a[_0x45d84a['ALREADY_EXISTS']=0x6]=_0x2ea585(0x1a8),_0x45d84a[_0x45d84a[_0x2ea585(0xdd)]=0x7]=_0x2ea585(0xdd),_0x45d84a[_0x45d84a['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x45d84a[_0x45d84a['COMPLETION_FINISHED']=0x9]=_0x2ea585(0x180),_0x45d84a[_0x45d84a['LOGIN_FAILED']=0xa]=_0x2ea585(0xfc),_0x45d84a[_0x45d84a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2ea585(0x17a),_0x45d84a[_0x45d84a[_0x2ea585(0x133)]=0x1771]=_0x2ea585(0x133),_0x45d84a[_0x45d84a[_0x2ea585(0x257)]=0x1772]=_0x2ea585(0x257),_0x45d84a[_0x45d84a[_0x2ea585(0x192)]=0x1773]=_0x2ea585(0x192),_0x45d84a[_0x45d84a[_0x2ea585(0x237)]=0x1b59]=_0x2ea585(0x237),_0x45d84a[_0x45d84a[_0x2ea585(0x197)]=0x1b5a]=_0x2ea585(0x197),_0x45d84a[_0x45d84a[_0x2ea585(0x1f7)]=0x1b5b]=_0x2ea585(0x1f7),_0x45d84a[_0x45d84a[_0x2ea585(0x207)]=0x1b5c]=_0x2ea585(0x207),_0x45d84a[_0x45d84a[_0x2ea585(0x1cb)]=0x1b5d]='APPLY_DUPLICATED',_0x45d84a[_0x45d84a[_0x2ea585(0x116)]=0x1f41]=_0x2ea585(0x116),_0x45d84a[_0x45d84a[_0x2ea585(0x221)]=0x2329]=_0x2ea585(0x221),_0x45d84a[_0x45d84a[_0x2ea585(0x1f2)]=0x232a]=_0x2ea585(0x1f2),_0x45d84a[_0x45d84a['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2ea585(0xeb),_0x45d84a[_0x45d84a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x45d84a[_0x45d84a[_0x2ea585(0x1e1)]=0x232d]=_0x2ea585(0x1e1),_0x45d84a[_0x45d84a[_0x2ea585(0xf8)]=0x2711]=_0x2ea585(0xf8),_0x45d84a[_0x45d84a[_0x2ea585(0xbc)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x45d84a[_0x45d84a[_0x2ea585(0xbb)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x45d84a[_0x45d84a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2ea585(0x245),_0x45d84a[_0x45d84a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x2ea585(0x1e4),_0x45d84a[_0x45d84a[_0x2ea585(0xd7)]=0x271b]=_0x2ea585(0xd7),_0x45d84a[_0x45d84a[_0x2ea585(0x23d)]=0x271c]=_0x2ea585(0x23d),_0x45d84a[_0x45d84a[_0x2ea585(0x244)]=0x271d]=_0x2ea585(0x244),_0x45d84a[_0x45d84a[_0x2ea585(0x13a)]=0x271e]=_0x2ea585(0x13a),_0x45d84a[_0x45d84a[_0x2ea585(0xa8)]=0x271f]=_0x2ea585(0xa8),_0x45d84a[_0x45d84a[_0x2ea585(0x17e)]=0x2af9]=_0x2ea585(0x17e),_0x45d84a[_0x45d84a[_0x2ea585(0xb7)]=0x2ee1]=_0x2ea585(0xb7),_0x45d84a[_0x45d84a['INVALID_INVITE_CODE']=0x2ee2]=_0x2ea585(0x270),_0x45d84a[_0x45d84a[_0x2ea585(0x12e)]=0x2ee3]=_0x2ea585(0x12e),_0x45d84a[_0x45d84a[_0x2ea585(0x1b8)]=0x2ee4]=_0x2ea585(0x1b8),_0x45d84a[_0x45d84a['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2ea585(0xde),_0x45d84a[_0x45d84a['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x2ea585(0xac),_0x45d84a[_0x45d84a[_0x2ea585(0xb4)]=0x32ca]=_0x2ea585(0xb4),_0x45d84a[_0x45d84a[_0x2ea585(0x22e)]=0x32cb]=_0x2ea585(0x22e),_0x45d84a[_0x45d84a[_0x2ea585(0x258)]=-0x1]=_0x2ea585(0x258),_0x45d84a))(Mt||{}),pn=Object[_0x2ea585(0x16f)],Cn=(_0x2ff6c7,_0x503dcc,_0x28d75f,_0x41bcbd)=>{const _0x51c2a9=_0x2ea585;for(var _0x116c09=_0x41bcbd>0x1?void 0x0:_0x41bcbd?pn(_0x503dcc,_0x28d75f):_0x503dcc,_0x87e7d2=_0x2ff6c7[_0x51c2a9(0x1f5)]-0x1,_0x469c19;_0x87e7d2>=0x0;_0x87e7d2--)(_0x469c19=_0x2ff6c7[_0x87e7d2])&&(_0x116c09=_0x469c19(_0x116c09)||_0x116c09);return _0x116c09;},be=(_0x24a33c,_0x33a28c)=>(_0x10a654,_0x3cebc5)=>_0x33a28c(_0x10a654,_0x3cebc5,_0x24a33c);let rt=class extends _0x40ba21{constructor(_0x3794cc,_0x48be9e,_0x5d4280){const _0x455e41=_0x2ea585;super(),this[_0x455e41(0x7a)]=_0x3794cc,this[_0x455e41(0x99)]=_0x48be9e,this[_0x455e41(0x21f)]=_0x5d4280;}async[_0x2ea585(0xa2)](_0x4bbc52,_0x2f08e1,_0x5cf320,..._0x3af0e9){const _0x2de3e4=_0x2ea585;var _0x96680e,_0x545b7c,_0x87d79a,_0x1de2c6;const _0x5db706=this[_0x2de3e4(0x7a)][_0x2de3e4(0x127)]();if(!_0x5db706)throw new Error(_0x2de3e4(0x79));const _0x3de141=((_0x96680e=this['_configService'][_0x2de3e4(0x76)](_0x1ff146))!=null?_0x96680e:_0x114a7e)+'/'+_0x4bbc52+_0x2de3e4(0x169)+_0x2f08e1,_0x1fc345=new URL(window[_0x2de3e4(0x8b)][_0x2de3e4(0x24a)]),_0x539811={'scriptId':_0x4bbc52,'runId':(_0x545b7c=_0x1fc345['searchParams'][_0x2de3e4(0x277)](_0x2de3e4(0xbd)))!=null?_0x545b7c:'','function':_0x2f08e1,'unitId':_0x5db706[_0x2de3e4(0x263)](),'argsOfFunction':JSON[_0x2de3e4(0x1bc)](_0x3af0e9),'invokeId':(_0x87d79a=_0x5cf320[_0x2de3e4(0x6d)])!=null?_0x87d79a:'','executionId':(_0x1de2c6=_0x5cf320['executionId'])!=null?_0x1de2c6:''};try{const _0x553379=await this[_0x2de3e4(0x99)][_0x2de3e4(0x18e)](_0x3de141,{'body':_0x539811});return _0x553379[_0x2de3e4(0x25d)][_0x2de3e4(0x274)]&&_0x553379[_0x2de3e4(0x25d)][_0x2de3e4(0x274)][_0x2de3e4(0x18b)]!==Mt['OK']?_0x2de3e4(0xb1):_0x553379['body'][_0x2de3e4(0x1f6)];}catch{return _0x2de3e4(0xb1);}}};rt=Cn([be(0x0,_0x59e8d0),be(0x1,_0x1b5eae(_0x1d3895)),be(0x2,_0x15811c)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
|
1
|
+
const _0x4eaba6=_0xc929;(function(_0x115a3a,_0x4df8ec){const _0x2138fb=_0xc929,_0x294fcf=_0x115a3a();while(!![]){try{const _0x2511f9=parseInt(_0x2138fb(0x39b))/0x1*(-parseInt(_0x2138fb(0x25d))/0x2)+parseInt(_0x2138fb(0x1df))/0x3*(parseInt(_0x2138fb(0x2ad))/0x4)+-parseInt(_0x2138fb(0x1eb))/0x5*(-parseInt(_0x2138fb(0x22b))/0x6)+parseInt(_0x2138fb(0x269))/0x7+-parseInt(_0x2138fb(0x1ce))/0x8+parseInt(_0x2138fb(0x208))/0x9*(parseInt(_0x2138fb(0x292))/0xa)+-parseInt(_0x2138fb(0x1f0))/0xb*(parseInt(_0x2138fb(0x306))/0xc);if(_0x2511f9===_0x4df8ec)break;else _0x294fcf['push'](_0x294fcf['shift']());}catch(_0x1035b8){_0x294fcf['push'](_0x294fcf['shift']());}}}(_0x4acf,0xd09c5));var $t=Object[_0x4eaba6(0x398)],xt=(_0x22fff0,_0x334d7a,_0x33e2d5)=>_0x334d7a in _0x22fff0?$t(_0x22fff0,_0x334d7a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33e2d5}):_0x22fff0[_0x334d7a]=_0x33e2d5,_=(_0x12bc09,_0x2ab4a5,_0x28a426)=>xt(_0x12bc09,typeof _0x2ab4a5!='symbol'?_0x2ab4a5+'':_0x2ab4a5,_0x28a426);import{MemberService as _0x410d43,SessionStatus as _0x303de7,CollaborationSessionService as _0x4fa7e6,CollaborationStatus as _0x4efd68,CollaborationController as _0x4dd44e,ILocalCacheService as _0x2dbf9c,CollaborationUIEventService as _0x2e40e8,CollaborationUIEventId as _0x224233,DataLoaderService as _0x55d6e6,DocCollaborationEntity as _0x19e46f,getLocalCacheKey as _0x351a65,LOCAL_CACHE_INTERVAL as _0xe4e9a8,LOCAL_CACHE_INTERVAL_KEY as _0x383cf6,UniverCollaborationClientPlugin as _0x17d159,CollaborationSocketService as _0x45335b,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3ffc75,DEFAULT_WS_SESSION_TICKET_URL as _0x17830a,UnitStatus as _0x4ecd4f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1ce0d7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x455e1c}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x37b3a8,Disposable as _0x344f28,DOC_RANGE_TYPE as _0x1d1929,Inject as _0x18907d,Injector as _0x3e72ea,IUniverInstanceService as _0x51bea5,ICommandService as _0xe6668b,debounce as _0x4e6b06,Rectangle as _0x22723d,DisposableCollection as _0x3adbb7,toDisposable as _0x453e2f,UniverInstanceType as _0x549840,Tools as _0x50e33b,COLORS as _0x4a6564,ColorKit as _0x288d49,ThemeService as _0x43d9fb,fromEventSubject as _0x4c81bc,LocaleService as _0x3ecf5f,createIdentifier as _0x200bfb,ILogService as _0x194710,Optional as _0x5aed5c,Workbook as _0x310a1a,CommandType as _0x4d2b87,IConfigService as _0x25b8a1,ILocalStorageService as _0x1064bb,DependentOn as _0xff9419,Plugin as _0xe58874,merge as _0x76d1ac,registerDependencies as _0x290cf4,mergeOverrideWithDependencies as _0x4ae91e,touchDependencies as _0xe9bebf,generateRandomId as _0x2d61e7}from'@univerjs/core';import{Shape as _0x4d4cf9,Rect as _0x425401,getColor as _0x21b00f,RegularPolygon as _0x283506,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x36e34f,Vector2 as _0x57e231,SHEET_VIEWPORT_KEY as _0x32a6d8,IRenderManagerService as _0x2b5744}from'@univerjs/engine-render';import{ISocketService as _0x15ab2d,WebSocketService as _0x3a1d1a,HTTPService as _0x3fd8e6}from'@univerjs/network';import{IDocClipboardService as _0x23f000,NodePositionConvertToCursor as _0x2b6661,NodePositionConvertToRectRange as _0x5db283,TEXT_RANGE_LAYER_INDEX as _0x1ca82e,SetDocZoomRatioOperation as _0x32d3ed,DocIMEInputManagerService as _0xa029f7,DocStateChangeManagerService as _0x54c954}from'@univerjs/docs-ui';import{IImageIoService as _0x8bd6a0}from'@univerjs/drawing';import{BehaviorSubject as _0x32e977,debounceTime as _0x24fe05,takeUntil as _0x560bf3,Subject as _0x455e5b,filter as _0x2ffaa6,switchMap as _0x583a36,merge as _0x168603,combineLatest as _0x538dd7,of as _0x5961a7,fromEvent as _0x177e18,shareReplay as _0x1e898c,mapTo as _0x69ddc5,distinctUntilChanged as _0x312486}from'rxjs';import{SetTextSelectionsOperation as _0x1c17bd,RichTextEditingMutation as _0x901915,DocSelectionManagerService as _0x947e8c,DocSkeletonManagerService as _0x4076e2}from'@univerjs/docs';import{ITransformService as _0x1a60d7,CollaborationEvent as _0x308cae,isTransformMutationFailure as _0xa30238,isTransformMutationsWithChangesetSuccess as _0x247d4,RevisionService as _0x40a97e,ISnapshotServerService as _0x1534d1}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x340642,serializeRangeWithSheet as _0x4c71ac}from'@univerjs/engine-formula';import{RefRangeService as _0xaa34b8,SetSelectionsOperation as _0x321a66,SheetsSelectionsService as _0x409888,EffectRefRangId as _0x4ff3ff,handleIRemoveRow as _0x2ec563,handleIRemoveCol as _0x5f076d,handleMoveRange as _0x5ce326,handleInsertRow as _0x22556e,handleInsertRangeMoveRight as _0x5b822c,handleInsertRangeMoveDown as _0xa12bc,handleInsertCol as _0xce86ac,handleDeleteRangeMoveUp as _0x4a1424,handleDeleteRangeMoveLeft as _0x244fbe,runRefRangeMutations as _0xe84e43,SetWorksheetActivateCommand as _0x310690}from'@univerjs/sheets';import{map as _0x4bdb36,filter as _0x50b544,throttleTime as _0x4abe90,takeUntil as _0x38fa3e,switchMap as _0x546c4e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x42870f,getCoordByCell as _0x3cc264,getSheetObject as _0x7c6242}from'@univerjs/sheets-ui';import{jsx as _0x30eda6,jsxs as _0x5ba7a2}from'react/jsx-runtime';import{useObservable as _0x20177b,useDependency as _0x27e39c,IUIPartsService as _0x251619,BuiltInUIPart as _0x25bc4b,connectInjector as _0x4f3f63,IBeforeCloseService as _0x35094c,IMessageService as _0x441bfa,INotificationService as _0x315fb8}from'@univerjs/ui';import{Tooltip as _0x437d63,clsx as _0x140e3f,MessageType as _0x11fa23}from'@univerjs/design';import{forwardRef as _0x1d46e0,useRef as _0x92dff0,createElement as _0x50bcce,useCallback as _0x364655}from'react';import{IRemoteInstanceService as _0x223e63}from'@univerjs/rpc';var ci=Object[_0x4eaba6(0x293)],li=(_0x1cb0eb,_0x2f574e,_0x413069,_0x704ea8)=>{const _0x52f554=_0x4eaba6;for(var _0x5b2e0c=_0x704ea8>0x1?void 0x0:_0x704ea8?ci(_0x2f574e,_0x413069):_0x2f574e,_0x4ba677=_0x1cb0eb[_0x52f554(0x2e6)]-0x1,_0x270861;_0x4ba677>=0x0;_0x4ba677--)(_0x270861=_0x1cb0eb[_0x4ba677])&&(_0x5b2e0c=_0x270861(_0x5b2e0c)||_0x5b2e0c);return _0x5b2e0c;},Je=(_0x1a3e5f,_0x140e77)=>(_0x1a24de,_0x2ce916)=>_0x140e77(_0x1a24de,_0x2ce916,_0x1a3e5f);let Ne=class extends _0x37b3a8{constructor(_0x271038,_0x2479e5){const _0x2dcce8=_0x4eaba6;super(),this['_docClipboardService']=_0x271038,this[_0x2dcce8(0x31b)]=_0x2479e5,this[_0x2dcce8(0x20e)]();}['_init'](){const _0x10fcbd=_0x4eaba6,_0x13b77e=this;this[_0x10fcbd(0x1ca)](this['_docClipboardService'][_0x10fcbd(0x3a7)]({'onBeforePasteImage':async _0x11ee1c=>{const _0x432868=_0x10fcbd,_0x329191=await _0x13b77e['_imageIoService'][_0x432868(0x3c9)](_0x11ee1c);return _0x329191?{'source':_0x329191[_0x432868(0x235)],'imageSourceType':_0x329191['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x23f000),Je(0x1,_0x8bd6a0)],Ne);const Ze=[_0x4eaba6(0x343),'jiqing.500',_0x4eaba6(0x1d1),_0x4eaba6(0x35a),'blue.400',_0x4eaba6(0x218)];class ke extends _0x344f28{constructor(){const _0x51a22a=_0x4eaba6;super(...arguments),_(this,_0x51a22a(0x304),new Map()),_(this,_0x51a22a(0x284),0x0);}[_0x4eaba6(0x37e)](_0x1f4552){const _0x5f14c2=_0x4eaba6;if(this[_0x5f14c2(0x304)][_0x5f14c2(0x1e9)](_0x1f4552))return this[_0x5f14c2(0x304)]['get'](_0x1f4552);const _0x59c59a=Ze[this['_colorIndex']];return this[_0x5f14c2(0x284)]=(this[_0x5f14c2(0x284)]+0x1)%Ze['length'],this[_0x5f14c2(0x304)][_0x5f14c2(0x307)](_0x1f4552,_0x59c59a),_0x59c59a;}}function Tt(_0x19ce51){const _0x47ace1=_0x4eaba6;let _0x34c889='';for(const _0x543375 of _0x19ce51){const {startOffset:_0x148491,endOffset:_0x260578,isActive:_0xa61391,rangeType:_0x4c3d90,segmentId:_0x5c61a4,segmentPage:_0x42ddc9}=_0x543375;_0x34c889[_0x47ace1(0x2e6)]&&(_0x34c889+=','),_0x34c889+=_0x148491+':'+_0x260578+':'+(_0xa61391?'1':'0')+':'+_0x4c3d90+':'+_0x5c61a4+':'+_0x42ddc9;}return _0x34c889;}function _i(_0x595d56){const _0x4856eb=_0x4eaba6,_0x1dd4cf=_0x595d56[_0x4856eb(0x37f)](','),_0x3ad559=[];for(const _0x165344 of _0x1dd4cf){const [_0x39bd23,_0x3a08c3,_0x500060,_0x302e26,_0x45f928,_0x417ce4]=_0x165344[_0x4856eb(0x37f)](':');_0x3ad559[_0x4856eb(0x36c)]({'startOffset':Number(_0x39bd23),'endOffset':Number(_0x3a08c3),'collapsed':_0x39bd23===_0x3a08c3,'isActive':_0x500060==='1','rangeType':_0x302e26===_0x1d1929[_0x4856eb(0x2f2)]?_0x1d1929[_0x4856eb(0x2f2)]:_0x1d1929[_0x4856eb(0x2af)],'segmentId':typeof _0x45f928==_0x4856eb(0x33c)?String(_0x45f928):'','segmentPage':Number(_0x417ce4!=null?_0x417ce4:-0x1)});}return _0x3ad559[_0x4856eb(0x2be)](_0x444a18=>_0x444a18[_0x4856eb(0x2b9)])||(_0x3ad559[0x0][_0x4856eb(0x2b9)]=!0x0),_0x3ad559;}class He extends _0x37b3a8{constructor(){const _0x211515=_0x4eaba6;super(...arguments),_(this,'_collabCursorState$',new _0x32e977(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x211515(0x2e1)]());}[_0x4eaba6(0x234)](_0x567ed6){const {unitID:_0x38847b,memberID:_0x380f86,textRanges:_0xf8caeb}=_0x567ed6,_0x1bffb6=Tt(_0xf8caeb);if(_0x1bffb6==='')return;const _0x99de15={'unitID':_0x38847b,'memberID':_0x380f86,'selection':_0x1bffb6};this['_collabCursorState$']['next'](_0x99de15);}}var hi=Object[_0x4eaba6(0x293)],ui=(_0x289796,_0x4e2b70,_0x567f33,_0x22b584)=>{const _0x3567eb=_0x4eaba6;for(var _0x4cf462=_0x22b584>0x1?void 0x0:_0x22b584?hi(_0x4e2b70,_0x567f33):_0x4e2b70,_0x5b1991=_0x289796[_0x3567eb(0x2e6)]-0x1,_0x3fdf88;_0x5b1991>=0x0;_0x5b1991--)(_0x3fdf88=_0x289796[_0x5b1991])&&(_0x4cf462=_0x3fdf88(_0x4cf462)||_0x4cf462);return _0x4cf462;},P=(_0x1ff724,_0x1223c3)=>(_0x44cafb,_0x354e29)=>_0x1223c3(_0x44cafb,_0x354e29,_0x1ff724);const di=0x12c,fi=0x64;let Ue=class extends _0x37b3a8{constructor(_0x4d31a8,_0x188e6b,_0x56bcbe,_0x389aff,_0x431504,_0x281272,_0x44b8e2,_0x3f6755,_0x54b572){const _0x32cf2f=_0x4eaba6;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x32cf2f(0x344),new _0x32e977(new Map())),_(this,'cursorInfo$',this[_0x32cf2f(0x344)][_0x32cf2f(0x2e1)]()),_(this,_0x32cf2f(0x389),new _0x32e977([])),_(this,'roomMembers$',this['_roomMembers$'][_0x32cf2f(0x2b6)](_0x24fe05(di))),_(this,'_updateLocalCursor',_0x4e6b06(_0xf05d52=>{const _0x21a1b4=_0x32cf2f,_0x4d7fde={'eventID':_0x308cae[_0x21a1b4(0x367)],'data':{'unitID':this[_0x21a1b4(0x2f5)],'memberID':this[_0x21a1b4(0x27c)][_0x21a1b4(0x395)](),'selection':Tt(_0xf05d52)}};this[_0x21a1b4(0x27c)][_0x21a1b4(0x30d)](_0x4d7fde,this[_0x21a1b4(0x2f5)]);},fi)),(this[_0x32cf2f(0x2f5)]=_0x4d31a8,this[_0x32cf2f(0x27c)]=_0x188e6b,this[_0x32cf2f(0x36f)]=_0x56bcbe,this[_0x32cf2f(0x1c9)]=_0x389aff,this[_0x32cf2f(0x32d)]=_0x431504,this['_syncEditingCollabCursorService']=_0x281272,this[_0x32cf2f(0x301)]=_0x44b8e2,this['_univerInstanceService']=_0x3f6755,this['_commandService']=_0x54b572);}get[_0x4eaba6(0x336)](){const _0xc74984=_0x4eaba6;return this['_cursorInfo$'][_0xc74984(0x38f)]();}get[_0x4eaba6(0x313)](){const _0xa20704=_0x4eaba6;return this['_roomMembers$'][_0xa20704(0x38f)]();}[_0x4eaba6(0x2cb)](){const _0x3790ca=_0x4eaba6;super[_0x3790ca(0x2cb)](),this[_0x3790ca(0x344)]['next'](new Map()),this[_0x3790ca(0x344)][_0x3790ca(0x26c)](),this[_0x3790ca(0x389)][_0x3790ca(0x2d5)]([]),this['_roomMembers$']['complete']();}[_0x4eaba6(0x2c9)](){const _0x437c5b=_0x4eaba6;this['_init']||(this[_0x437c5b(0x20e)]=!0x0,this[_0x437c5b(0x27c)][_0x437c5b(0x3c4)][_0x437c5b(0x2b6)](_0x560bf3(this[_0x437c5b(0x237)]))[_0x437c5b(0x1fe)](_0x20190b=>{const _0x12e0a7=_0x437c5b;_0x20190b===_0x303de7[_0x12e0a7(0x2e7)]?this[_0x12e0a7(0x238)]():this[_0x12e0a7(0x2a0)]();}),this[_0x437c5b(0x27c)][_0x437c5b(0x390)][_0x437c5b(0x2b6)](_0x560bf3(this[_0x437c5b(0x237)]))[_0x437c5b(0x1fe)](_0x67eb0b=>{const _0x64c3b5=_0x437c5b,_0x30808e=_0x67eb0b[_0x64c3b5(0x2b3)];_0x30808e===_0x308cae[_0x64c3b5(0x367)]&&this['_onCursorUpdate'](_0x67eb0b),_0x30808e===_0x308cae[_0x64c3b5(0x2d0)]&&this[_0x64c3b5(0x332)](_0x67eb0b);}),this[_0x437c5b(0x1ca)](this[_0x437c5b(0x35d)][_0x437c5b(0x361)](_0x3d2125=>{const _0x29b5e5=_0x437c5b,_0x511f16=_0x3d2125['params'];_0x511f16!=null&&this[_0x29b5e5(0x337)]&&_0x3d2125['id']===_0x1c17bd['id']&&_0x511f16[_0x29b5e5(0x38c)]===this[_0x29b5e5(0x2f5)]&&_0x511f16[_0x29b5e5(0x2a7)]===!0x1&&_0x511f16[_0x29b5e5(0x27e)][_0x29b5e5(0x2e6)]>0x0&&this[_0x29b5e5(0x350)](_0x511f16[_0x29b5e5(0x27e)]);})),this[_0x437c5b(0x1d3)][_0x437c5b(0x335)][_0x437c5b(0x2b6)](_0x560bf3(this['dispose$']))['subscribe'](_0x53d27e=>{const _0x17101c=_0x437c5b;if((_0x53d27e==null?void 0x0:_0x53d27e[_0x17101c(0x2f5)])!==this[_0x17101c(0x2f5)])return;const _0x437785={'eventID':_0x308cae[_0x17101c(0x367)],'data':_0x53d27e};this[_0x17101c(0x20a)](_0x437785);}),this['disposeWithMe'](this[_0x437c5b(0x35d)][_0x437c5b(0x361)](_0x576593=>{const _0x2425d5=_0x437c5b;if(_0x576593[_0x2425d5(0x2fd)]==null)return;const _0x1a391e=_0x576593[_0x2425d5(0x2fd)];if(_0x576593['id']!==_0x901915['id']||_0x1a391e[_0x2425d5(0x38c)]!==this[_0x2425d5(0x2f5)])return;const _0x1af727={'id':_0x2425d5(0x363),'params':_0x1a391e},_0x47f8c8=this[_0x2425d5(0x336)];for(const [_0x3c2659,_0x44bab9]of _0x47f8c8){const _0x4bbc5f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2425d5(0x2f5)],'actions':null,'textRanges':_0x44bab9[_0x2425d5(0x27e)]}},_0x2923a5=this[_0x2425d5(0x301)]['transformMutation'](_0x1af727,_0x4bbc5f,!0x1);if(_0xa30238(_0x2923a5))throw _0x2923a5[_0x2425d5(0x21d)];_0x47f8c8[_0x2425d5(0x307)](_0x3c2659,{..._0x44bab9,'ranges':_0x2923a5[_0x2425d5(0x3b2)][_0x2425d5(0x2fd)][_0x2425d5(0x2c7)]});}queueMicrotask(()=>{const _0x903cd7=_0x2425d5;this['_cursorInfo$'][_0x903cd7(0x2d5)](_0x47f8c8);});})));}[_0x4eaba6(0x20a)](_0x2ff1b5){const _0x136030=_0x4eaba6;var _0x175ea8,_0x54d753;const {memberID:_0x1d2dc3,selection:_0x408c9c}=_0x2ff1b5[_0x136030(0x2bc)],_0x1db0d3=_i(_0x408c9c),_0x323901=(_0x54d753=(_0x175ea8=this['_memberService'][_0x136030(0x384)](this['unitID'],_0x1d2dc3))==null?void 0x0:_0x175ea8['name'])!=null?_0x54d753:_0x136030(0x2e0),_0x22421a={'color':this[_0x136030(0x1c9)][_0x136030(0x37e)](_0x1d2dc3),'name':_0x323901,'ranges':_0x1db0d3},_0x59a13e=this['cursorInfo'];_0x59a13e[_0x136030(0x307)](_0x1d2dc3,_0x22421a),this[_0x136030(0x344)][_0x136030(0x2d5)](_0x59a13e);}[_0x4eaba6(0x332)](_0x4a884c){const _0x36a665=_0x4eaba6,{memberID:_0x4e2d72}=_0x4a884c[_0x36a665(0x2bc)],_0x5447b3=this[_0x36a665(0x336)];_0x5447b3[_0x36a665(0x2e9)](_0x4e2d72),this['_cursorInfo$'][_0x36a665(0x2d5)](_0x5447b3);}[_0x4eaba6(0x238)](){const _0x40e544=_0x4eaba6;var _0x40be8e;if(this['_online']=!0x0,((_0x40be8e=this[_0x40e544(0x38a)][_0x40e544(0x21b)]())==null?void 0x0:_0x40be8e[_0x40e544(0x373)]())!==this[_0x40e544(0x2f5)])return;const _0x153baa=this[_0x40e544(0x36f)]['get'](_0x947e8c)[_0x40e544(0x311)]();Array['isArray'](_0x153baa)&&_0x153baa['length']>0x0&&this[_0x40e544(0x350)](_0x153baa);}[_0x4eaba6(0x2a0)](){const _0x5e123d=_0x4eaba6;this[_0x5e123d(0x337)]=!0x1;}};Ue=ui([P(0x2,_0x18907d(_0x3e72ea)),P(0x3,_0x18907d(ke)),P(0x4,_0x18907d(_0x410d43)),P(0x5,_0x18907d(He)),P(0x6,_0x1a60d7),P(0x7,_0x51bea5),P(0x8,_0xe6668b)],Ue);var Si=Object[_0x4eaba6(0x293)],mi=(_0x4a11c9,_0x393242,_0x38d057,_0x4c24e1)=>{const _0x5df2fb=_0x4eaba6;for(var _0x2066ba=_0x4c24e1>0x1?void 0x0:_0x4c24e1?Si(_0x393242,_0x38d057):_0x393242,_0xed716e=_0x4a11c9[_0x5df2fb(0x2e6)]-0x1,_0x39addf;_0xed716e>=0x0;_0xed716e--)(_0x39addf=_0x4a11c9[_0xed716e])&&(_0x2066ba=_0x39addf(_0x2066ba)||_0x2066ba);return _0x2066ba;},x=(_0xc6b29e,_0x3ae8da)=>(_0x5a456c,_0x341807)=>_0x3ae8da(_0x5a456c,_0x341807,_0xc6b29e);const Ii=0x12c,gi=0x64,vi=()=>{let _0x2d573e=[],_0x5077ae=!0x1;return _0x2b023a=>{const _0x32543c=_0xc929;_0x2d573e[_0x32543c(0x36c)](_0x2b023a),_0x5077ae||(_0x5077ae=!0x0,setTimeout(()=>{const _0x4d967c=_0x32543c;_0x2d573e[_0x4d967c(0x25c)](_0x61d304=>_0x61d304()),_0x2d573e=[],_0x5077ae=!0x1;}));};};let Me=class extends _0x37b3a8{constructor(_0x30378f,_0x409f1d,_0x4e5870,_0x4063ee,_0x5b8a2c,_0x12fdc7,_0x34fc1d,_0x42c103){const _0x5cc33a=_0x4eaba6;super(),_(this,_0x5cc33a(0x337),!0x1),_(this,_0x5cc33a(0x20e),!0x1),_(this,_0x5cc33a(0x344),new _0x32e977(new Map())),_(this,_0x5cc33a(0x1fa),this[_0x5cc33a(0x344)][_0x5cc33a(0x2e1)]()),_(this,_0x5cc33a(0x389),new _0x32e977([])),_(this,_0x5cc33a(0x2d3),this['_roomMembers$'][_0x5cc33a(0x2b6)](_0x24fe05(Ii))),_(this,_0x5cc33a(0x350),_0x4e6b06((_0x1d43ec,_0x414569)=>{const _0x59f100=_0x5cc33a,_0x23edeb={'eventID':_0x308cae['UPDATE_CURSOR'],'data':{'unitID':this[_0x59f100(0x2f5)],'memberID':this['_session'][_0x59f100(0x395)](),'selection':_0x4c71ac(_0x1d43ec,_0x414569[_0x59f100(0x2e4)])}};this[_0x59f100(0x27c)][_0x59f100(0x30d)](_0x23edeb,this['unitID']);},gi)),(this[_0x5cc33a(0x2f5)]=_0x30378f,this[_0x5cc33a(0x27c)]=_0x409f1d,this[_0x5cc33a(0x36f)]=_0x4e5870,this[_0x5cc33a(0x1c9)]=_0x4063ee,this['_memberService']=_0x5b8a2c,this[_0x5cc33a(0x38a)]=_0x12fdc7,this[_0x5cc33a(0x35d)]=_0x34fc1d,this[_0x5cc33a(0x1fc)]=_0x42c103);}get[_0x4eaba6(0x336)](){const _0x1c703b=_0x4eaba6;return this[_0x1c703b(0x344)][_0x1c703b(0x38f)]();}get[_0x4eaba6(0x313)](){const _0xe47300=_0x4eaba6;return this[_0xe47300(0x389)][_0xe47300(0x38f)]();}[_0x4eaba6(0x2cb)](){const _0x43700f=_0x4eaba6;super[_0x43700f(0x2cb)](),this['_cursorInfo$'][_0x43700f(0x2d5)](new Map()),this['_cursorInfo$'][_0x43700f(0x26c)](),this[_0x43700f(0x389)][_0x43700f(0x2d5)]([]),this[_0x43700f(0x389)][_0x43700f(0x26c)]();}[_0x4eaba6(0x2c9)](){const _0x4e1256=_0x4eaba6;this[_0x4e1256(0x20e)]||(this[_0x4e1256(0x20e)]=!0x0,this[_0x4e1256(0x27c)]['sessionStatus$'][_0x4e1256(0x2b6)](_0x560bf3(this['dispose$']))[_0x4e1256(0x1fe)](_0x1eb6eb=>{const _0xf55714=_0x4e1256;_0x1eb6eb===_0x303de7['ONLINE']?this['_toggleOnline']():this[_0xf55714(0x2a0)]();}),this[_0x4e1256(0x27c)][_0x4e1256(0x390)][_0x4e1256(0x2b6)](_0x560bf3(this['dispose$']))[_0x4e1256(0x1fe)](_0x2fe82b=>{const _0x3874e7=_0x4e1256,_0x42ed81=_0x2fe82b[_0x3874e7(0x2b3)];_0x42ed81===_0x308cae[_0x3874e7(0x367)]&&this['_onCursorUpdate'](_0x2fe82b),_0x42ed81===_0x308cae[_0x3874e7(0x2d0)]&&this['_onCursorDelete'](_0x2fe82b);}),this['_onRefRangeChange'](),this[_0x4e1256(0x1ca)](this[_0x4e1256(0x35d)]['onCommandExecuted'](_0x4372d0=>{const _0x53f952=_0x4e1256;if(this[_0x53f952(0x337)]&&_0x4372d0['id']===_0x321a66['id']&&_0x4372d0[_0x53f952(0x2fd)][_0x53f952(0x38c)]===this['unitID']){const _0xe48755=_0x4372d0[_0x53f952(0x2fd)];this[_0x53f952(0x350)](_0xe48755[_0x53f952(0x2ed)],_0xe48755[_0x53f952(0x300)][0x0]);}})));}['_onCursorUpdate'](_0x4d3d26){const _0x3ffe7f=_0x4eaba6;var _0x53f130,_0x586dc7;const {memberID:_0x349fc1,selection:_0x4611fd}=_0x4d3d26[_0x3ffe7f(0x2bc)],{sheetName:_0x34f7c3,range:_0x4d55fe}=_0x340642(_0x4611fd),_0x2e684c={'name':(_0x586dc7=(_0x53f130=this['_memberService'][_0x3ffe7f(0x384)](this[_0x3ffe7f(0x2f5)],_0x349fc1))==null?void 0x0:_0x53f130[_0x3ffe7f(0x35f)])!=null?_0x586dc7:_0x3ffe7f(0x2e0),'range':this[_0x3ffe7f(0x290)](_0x34f7c3,_0x4d55fe),'sheetID':_0x34f7c3,'color':this[_0x3ffe7f(0x1c9)][_0x3ffe7f(0x37e)](_0x349fc1),'selection':_0x4611fd},_0x33d381=this[_0x3ffe7f(0x336)];_0x33d381[_0x3ffe7f(0x307)](_0x349fc1,_0x2e684c),this[_0x3ffe7f(0x344)]['next'](_0x33d381);}['_onCursorDelete'](_0x4380de){const _0x578af7=_0x4eaba6,{memberID:_0x54acae}=_0x4380de['data'],_0x1c8346=this[_0x578af7(0x336)];_0x1c8346['delete'](_0x54acae),this[_0x578af7(0x344)][_0x578af7(0x2d5)](_0x1c8346);}[_0x4eaba6(0x290)](_0x429f71,_0x1bc873){const _0x569a4d=_0x4eaba6;var _0xcb205a,_0x13aba4;const _0x207b1a=(_0x13aba4=(_0xcb205a=this[_0x569a4d(0x38a)]['getUniverSheetInstance'](this[_0x569a4d(0x2f5)]))==null?void 0x0:_0xcb205a[_0x569a4d(0x28f)](_0x429f71))==null?void 0x0:_0x13aba4[_0x569a4d(0x3c6)]();return(_0x207b1a==null?void 0x0:_0x207b1a[_0x569a4d(0x3a1)](_0xbd658d=>_0x22723d['contains'](_0xbd658d,_0x1bc873)))||_0x1bc873;}[_0x4eaba6(0x1cf)](){const _0x10ec64=_0x4eaba6,_0x10803c=new _0x3adbb7(),_0x1892e9=vi(),_0x2aa2b5=()=>{const _0x327344=_0xc929;_0x10803c['dispose']();const _0x40174e=(_0x2e8db6,_0x4f7aec,_0x4025b0,_0x574f44)=>{const _0x5d3b5e=_0xc929;let _0xea89ec=[];switch(_0x2e8db6['id']){case _0x4ff3ff[_0x5d3b5e(0x365)]:{_0xea89ec=_0x244fbe(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x341)]:{_0xea89ec=_0x4a1424(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x24a)]:{_0xea89ec=_0xce86ac(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff['InsertRangeMoveDownCommandId']:{_0xea89ec=_0xa12bc(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x2a4)]:{_0xea89ec=_0x5b822c(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x37a)]:{_0xea89ec=_0x22556e(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x2dd)]:{_0xea89ec=_0x5ce326(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x2b1)]:{_0xea89ec=_0x5f076d(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x28e)]:{_0xea89ec=_0x2ec563(_0x2e8db6,_0x574f44);break;}}const _0x4d9b8b=_0xe84e43(_0xea89ec,_0x574f44),_0x53c9b3=this['cursorInfo'][_0x5d3b5e(0x254)](_0x4f7aec);if(_0x53c9b3&&_0x4d9b8b){const _0x2ec65b={..._0x53c9b3,'range':_0x4d9b8b};this[_0x5d3b5e(0x336)][_0x5d3b5e(0x307)](_0x4f7aec,_0x2ec65b),_0x1892e9(()=>{const _0x58f5f6=_0x5d3b5e,_0x3f6383=this['_refRangeService']['registerRefRange'](_0x4d9b8b,_0x41eaae=>(_0x3f6383[_0x58f5f6(0x2cb)](),_0x40174e(_0x41eaae,_0x4f7aec,_0x4025b0,_0x4d9b8b)));_0x10803c[_0x58f5f6(0x24b)](_0x3f6383);});}return{'redos':[],'undos':[]};};this[_0x327344(0x336)][_0x327344(0x25c)]((_0x5a3663,_0x4a62a5)=>{const _0x5dcf4b=_0x327344,{range:_0x297296,sheetID:_0x4e9888}=_0x5a3663,_0x57ed47=this[_0x5dcf4b(0x1fc)]['registerRefRange'](_0x297296,_0x40e344=>(_0x57ed47[_0x5dcf4b(0x2cb)](),_0x40174e(_0x40e344,_0x4a62a5,_0x4e9888,_0x297296)));_0x10803c[_0x5dcf4b(0x24b)](_0x57ed47);});};this[_0x10ec64(0x1ca)](_0x453e2f(this[_0x10ec64(0x344)]['subscribe'](()=>{_0x2aa2b5();})));}['_toggleOnline'](){const _0x5ce492=_0x4eaba6;var _0x4f8841,_0x331fbb;if(this[_0x5ce492(0x337)]=!0x0,((_0x4f8841=this[_0x5ce492(0x38a)][_0x5ce492(0x21b)]())==null?void 0x0:_0x4f8841[_0x5ce492(0x373)]())!==this['unitID'])return;const _0x5a6621=(_0x331fbb=this[_0x5ce492(0x36f)][_0x5ce492(0x254)](_0x409888)['getCurrentSelections']())==null?void 0x0:_0x331fbb[0x0],_0x33704d=this[_0x5ce492(0x38a)][_0x5ce492(0x274)](_0x549840['UNIVER_SHEET'])[_0x5ce492(0x37c)]();_0x5a6621&&_0x33704d&&this[_0x5ce492(0x350)](_0x33704d[_0x5ce492(0x206)](),_0x5a6621);}[_0x4eaba6(0x2a0)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x18907d(_0x3e72ea)),x(0x3,_0x18907d(ke)),x(0x4,_0x18907d(_0x410d43)),x(0x5,_0x51bea5),x(0x6,_0xe6668b),x(0x7,_0x18907d(_0xaa34b8))],Me);var pi=Object[_0x4eaba6(0x293)],Ci=(_0xa3806a,_0x56f7b1,_0x4d39a1,_0x3c48e2)=>{const _0x1ede46=_0x4eaba6;for(var _0x3252a1=_0x3c48e2>0x1?void 0x0:_0x3c48e2?pi(_0x56f7b1,_0x4d39a1):_0x56f7b1,_0x42cb3b=_0xa3806a[_0x1ede46(0x2e6)]-0x1,_0x416e24;_0x42cb3b>=0x0;_0x42cb3b--)(_0x416e24=_0xa3806a[_0x42cb3b])&&(_0x3252a1=_0x416e24(_0x3252a1)||_0x3252a1);return _0x3252a1;},Se=(_0x2d9f7e,_0x46fd37)=>(_0x36ce59,_0x20d8a0)=>_0x46fd37(_0x36ce59,_0x20d8a0,_0x2d9f7e);let H=class extends _0x37b3a8{constructor(_0x45827d,_0x154c8c,_0x1cd5b1){const _0xb4f11e=_0x4eaba6;super(),_(this,'_entities',new Map()),_(this,_0xb4f11e(0x1f1),new _0x455e5b()),(this[_0xb4f11e(0x38a)]=_0x45827d,this[_0xb4f11e(0x36f)]=_0x154c8c,this[_0xb4f11e(0x320)]=_0x1cd5b1,this['_init']());}['dispose'](){const _0x4703d4=_0x4eaba6;super['dispose'](),this[_0x4703d4(0x1f1)]['complete'](),this[_0x4703d4(0x308)][_0x4703d4(0x25c)](_0x1297f3=>_0x1297f3[_0x4703d4(0x2cb)]());}[_0x4eaba6(0x30c)](_0xdd67d9){const _0x25857b=_0x4eaba6;return this[_0x25857b(0x308)][_0x25857b(0x1e9)](_0xdd67d9)?this[_0x25857b(0x308)]['get'](_0xdd67d9)['cursorInfo$']:this['_entityInit$']['pipe'](_0x2ffaa6(_0x3fa275=>_0x3fa275['unitID']===_0xdd67d9),_0x583a36(_0x35d8e9=>_0x35d8e9[_0x25857b(0x1fa)]));}[_0x4eaba6(0x20e)](){const _0x5cfddc=_0x4eaba6;this['_univerInstanceService'][_0x5cfddc(0x3b1)](_0x549840[_0x5cfddc(0x2ce)])[_0x5cfddc(0x2b6)](_0x560bf3(this['dispose$']))[_0x5cfddc(0x1fe)](async _0x420fb4=>{const _0x3b4d36=_0x5cfddc,_0x579b88=_0x420fb4['getUnitId'](),_0x5bf220=await this[_0x3b4d36(0x261)](_0x579b88);this[_0x3b4d36(0x1f1)]['next'](_0x5bf220),this[_0x3b4d36(0x308)][_0x3b4d36(0x307)](_0x579b88,_0x5bf220);}),this[_0x5cfddc(0x38a)][_0x5cfddc(0x3b1)](_0x549840['UNIVER_DOC'])[_0x5cfddc(0x2b6)](_0x560bf3(this[_0x5cfddc(0x237)]))[_0x5cfddc(0x2b6)](_0x2ffaa6(_0x3094ae=>!_0x3094ae[_0x5cfddc(0x373)]()[_0x5cfddc(0x2bb)]('__')))[_0x5cfddc(0x1fe)](async _0xc8202c=>{const _0x37b464=_0x5cfddc,_0x24b604=_0xc8202c[_0x37b464(0x373)](),_0x375ae7=await this[_0x37b464(0x352)](_0x24b604);this[_0x37b464(0x1f1)][_0x37b464(0x2d5)](_0x375ae7),this[_0x37b464(0x308)][_0x37b464(0x307)](_0x24b604,_0x375ae7);}),_0x168603(this[_0x5cfddc(0x38a)][_0x5cfddc(0x340)](_0x549840[_0x5cfddc(0x381)]),this[_0x5cfddc(0x38a)][_0x5cfddc(0x340)](_0x549840['UNIVER_SHEET']))[_0x5cfddc(0x2b6)](_0x560bf3(this[_0x5cfddc(0x237)]))[_0x5cfddc(0x1fe)](_0x56da7a=>{const _0x34be45=_0x5cfddc,_0xd6bbcc=_0x56da7a[_0x34be45(0x373)](),_0x208dc1=this[_0x34be45(0x308)]['get'](_0xd6bbcc);_0x208dc1&&(_0x208dc1['dispose'](),this[_0x34be45(0x308)][_0x34be45(0x2e9)](_0xd6bbcc));});}async['_startSheetCollabCursor'](_0x20a8a0){const _0x599c20=_0x4eaba6,_0x3e1e7b=await this[_0x599c20(0x320)][_0x599c20(0x347)](_0x20a8a0),_0x39e79f=this['_injector'][_0x599c20(0x277)](Me,_0x20a8a0,_0x3e1e7b);return _0x39e79f[_0x599c20(0x2c9)](),_0x39e79f;}async[_0x4eaba6(0x352)](_0x4c3626){const _0x2183f=_0x4eaba6,_0x5bf007=await this['_collabSessionService'][_0x2183f(0x347)](_0x4c3626),_0x174e8c=this[_0x2183f(0x36f)]['createInstance'](Ue,_0x4c3626,_0x5bf007);return _0x174e8c[_0x2183f(0x2c9)](),_0x174e8c;}};H=Ci([Se(0x0,_0x51bea5),Se(0x1,_0x18907d(_0x3e72ea)),Se(0x2,_0x18907d(_0x4fa7e6))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x392ef9,_0x2fa5df){const _0x4af9e3=_0x4eaba6;let {radius:_0x22c8a3,width:_0x46f6e2,height:_0x1f45e5}=_0x2fa5df;_0x22c8a3=_0x22c8a3!=null?_0x22c8a3:0x0,_0x46f6e2=_0x46f6e2!=null?_0x46f6e2:0x1e,_0x1f45e5=_0x1f45e5!=null?_0x1f45e5:0x1e;let _0x3d135d=0x0,_0x3bf1d5=0x0,_0x27e2d5=0x0;_0x3d135d=_0x3bf1d5=_0x27e2d5=Math[_0x4af9e3(0x2a3)](_0x22c8a3,_0x46f6e2/0x2,_0x1f45e5/0x2),_0x392ef9['beginPath'](),_0x392ef9[_0x4af9e3(0x23c)](_0x3d135d,0x0),_0x392ef9[_0x4af9e3(0x2c3)](_0x46f6e2-_0x3bf1d5,0x0),_0x392ef9[_0x4af9e3(0x243)](_0x46f6e2-_0x3bf1d5,_0x3bf1d5,_0x3bf1d5,Math['PI']*0x3/0x2,0x0,!0x1),_0x392ef9[_0x4af9e3(0x2c3)](_0x46f6e2,_0x1f45e5-_0x27e2d5),_0x392ef9[_0x4af9e3(0x243)](_0x46f6e2-_0x27e2d5,_0x1f45e5-_0x27e2d5,_0x27e2d5,0x0,Math['PI']/0x2,!0x1),_0x392ef9['lineTo'](0x0,_0x1f45e5),_0x392ef9[_0x4af9e3(0x2c3)](0x0,_0x3d135d),_0x392ef9['arc'](_0x3d135d,_0x3d135d,_0x3d135d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x392ef9[_0x4af9e3(0x2a9)](),_0x2fa5df[_0x4af9e3(0x1fd)]&&(_0x392ef9['save'](),_0x392ef9[_0x4af9e3(0x2cd)]=_0x2fa5df[_0x4af9e3(0x1fd)],_0x2fa5df[_0x4af9e3(0x286)]===_0x4af9e3(0x271)?_0x392ef9[_0x4af9e3(0x1fd)](_0x4af9e3(0x271)):_0x392ef9['fill'](),_0x392ef9['restore']());}class he extends _0x4d4cf9{constructor(_0x2f3c40,_0x589fe4){const _0x467770=_0x4eaba6;super(_0x2f3c40,_0x589fe4),_(this,_0x467770(0x2f7)),_(this,_0x467770(0x328)),(this[_0x467770(0x2f7)]=_0x589fe4==null?void 0x0:_0x589fe4[_0x467770(0x2f7)],this[_0x467770(0x328)]=_0x589fe4==null?void 0x0:_0x589fe4[_0x467770(0x328)]);}static['drawWith'](_0x349712,_0x585730){const _0x31ee38=_0x4eaba6,{text:_0x48f8f9,color:_0x2f50b9}=_0x585730;_0x349712[_0x31ee38(0x1e0)](),_0x349712['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xf9331f=_0x349712[_0x31ee38(0x1f5)](_0x48f8f9)[_0x31ee38(0x1e1)],_0x24e015=Math['min'](_0xf9331f+0x2*me,Qe);Oi(_0x349712,{'height':ee,'radius':0x4,'width':_0x24e015,'fill':_0x2f50b9}),_0x349712[_0x31ee38(0x2cd)]=_0x31ee38(0x1e2);const _0x53fd48=me,_0x538fd4=ee-Ei,_0x443ce9=Qe-0x2*me;if(_0xf9331f>_0x443ce9){let _0x26ee1b='',_0x2de2a3=0x0;for(const _0x7c6e86 of _0x48f8f9){const _0xe4e18f=_0x349712[_0x31ee38(0x1f5)](_0x7c6e86)['width'];if(_0x2de2a3+_0xe4e18f<=_0x443ce9-_0x349712[_0x31ee38(0x1f5)](_0x31ee38(0x31f))[_0x31ee38(0x1e1)])_0x26ee1b+=_0x7c6e86,_0x2de2a3+=_0xe4e18f;else{_0x26ee1b+=_0x31ee38(0x31f);break;}}_0x349712[_0x31ee38(0x1e5)](_0x26ee1b,_0x53fd48,_0x538fd4);}else _0x349712['fillText'](_0x48f8f9,_0x53fd48,_0x538fd4);_0x349712[_0x31ee38(0x3c8)]();}[_0x4eaba6(0x29f)](_0xaeffcc){const _0x47fb96=_0x4eaba6;he[_0x47fb96(0x246)](_0xaeffcc,this);}}const Ie='collab-text-anchor-',bi=_0x4eaba6(0x20d),Ti=_0x4eaba6(0x2c4),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x4eaba6(0x1db);class qe{constructor(_0x4adf68,_0xd8fd4c,_0x32ce92,_0x3fa86b){const _0x214d55=_0x4eaba6;_(this,_0x214d55(0x3cd),[]),_(this,'_anchor',null),_(this,_0x214d55(0x1d5),null),_(this,_0x214d55(0x217),null),_(this,'_hideTimer',null),_(this,_0x214d55(0x1ed),null),(this[_0x214d55(0x33e)]=_0x4adf68,this[_0x214d55(0x2fe)]=_0xd8fd4c,this[_0x214d55(0x322)]=_0x32ce92,this[_0x214d55(0x25b)]=_0x3fa86b,this[_0x214d55(0x3ad)]());}set[_0x4eaba6(0x3b5)](_0x5bc465){const _0x4ca5e9=_0x4eaba6;_0x5bc465?(this[_0x4ca5e9(0x217)]&&this[_0x4ca5e9(0x217)][_0x4ca5e9(0x203)](),this['_textBubble']&&this[_0x4ca5e9(0x1d5)][_0x4ca5e9(0x3c5)]()):(this[_0x4ca5e9(0x217)]&&this[_0x4ca5e9(0x217)][_0x4ca5e9(0x3c5)](),this[_0x4ca5e9(0x1d5)]&&this[_0x4ca5e9(0x1d5)][_0x4ca5e9(0x203)]());}['dispose'](){const _0x3a2b60=_0x4eaba6;for(const _0x6f2f50 of this['_shapes'])_0x6f2f50[_0x3a2b60(0x2cb)]();this[_0x3a2b60(0x1d5)]&&this[_0x3a2b60(0x1d5)][_0x3a2b60(0x2cb)](),this[_0x3a2b60(0x217)]&&this['_anchorDot'][_0x3a2b60(0x2cb)](),this[_0x3a2b60(0x325)]&&this['_anchor'][_0x3a2b60(0x2cb)](),this[_0x3a2b60(0x1ed)]&&this[_0x3a2b60(0x1ed)]();}[_0x4eaba6(0x3ad)](){const _0x2ea09b=_0x4eaba6;var _0x1b628d;const {_docSkeleton:_0x1bc986,_document:_0x13f36a}=this,{color:_0x875bc3,name:_0xeeb52b,ranges:_0x2a4dbe}=this[_0x2ea09b(0x33e)],_0x3a152c=_0x13f36a[_0x2ea09b(0x298)](),{docsLeft:_0x49dc72,docsTop:_0x2c1fea}=_0x3a152c,_0x50313b=new _0x2b6661(_0x3a152c,_0x1bc986);for(const {startOffset:_0x13582c,endOffset:_0x2a0abe,rangeType:_0x1efd67,segmentId:_0x63c1dd,segmentPage:_0x4c0a67,collapsed:_0x2a0630,isActive:_0x2bca96}of _0x2a4dbe){const _0x1d7b1a=_0x1bc986[_0x2ea09b(0x3ca)](_0x13582c,!0x0,_0x63c1dd,_0x4c0a67);let _0x52787b=_0x1bc986['findNodePositionByCharIndex'](_0x2a0abe,!0x0,_0x63c1dd,_0x4c0a67);if(_0x52787b==null&&(_0x52787b=_0x1bc986[_0x2ea09b(0x3ca)](_0x2a0abe-0x1,!0x1,_0x63c1dd,_0x4c0a67)),_0x2bca96){const {contentBoxPointGroup:_0x2c27d9}=_0x50313b[_0x2ea09b(0x220)](_0x52787b,_0x52787b);if(_0x2c27d9[_0x2ea09b(0x2e6)]===0x0)continue;this[_0x2ea09b(0x351)](_0x875bc3,_0x2c27d9,_0x49dc72,_0x2c1fea,_0xeeb52b),this[_0x2ea09b(0x1ed)]=this[_0x2ea09b(0x34f)]();}if(_0x1d7b1a&&_0x52787b){if(_0x1efd67===_0x1d1929[_0x2ea09b(0x2af)]){const _0x4be60a=new _0x5db283(_0x3a152c,_0x1bc986),{pointGroup:_0x1cb2fd}=(_0x1b628d=_0x4be60a['getRangePointData'](_0x1d7b1a,_0x52787b))!=null?_0x1b628d:{};if(_0x1cb2fd==null||_0x1cb2fd[_0x2ea09b(0x2e6)]===0x0)continue;this[_0x2ea09b(0x338)](_0x875bc3,_0x1cb2fd,_0x49dc72,_0x2c1fea);}else{if(!_0x2a0630){const {borderBoxPointGroup:_0x51fb37}=_0x50313b['getRangePointData'](_0x1d7b1a,_0x52787b);if(_0x51fb37[_0x2ea09b(0x2e6)]===0x0)continue;this['_drawTextRange'](_0x875bc3,_0x51fb37,_0x49dc72,_0x2c1fea);}}}}}['_drawAnchor'](_0x5ecd2d,_0x315912,_0x4d2ec2,_0x183993,_0x116475){const _0x11024f=_0x4eaba6,_0x52df1e=this[_0x11024f(0x2ba)](_0x315912),{left:_0x128d43,top:_0x3f4cdc,height:_0x4443ea}=_0x52df1e,_0x2bcc5f=this['_getScale'](),_0x1ed6db=Di/_0x2bcc5f,_0x136137=new _0x425401(Ie+_0x50e33b[_0x11024f(0x281)](X),{'left':_0x128d43+_0x4d2ec2-_0x1ed6db,'top':_0x3f4cdc+_0x183993,'height':_0x4443ea,'width':Ri,'fill':_0x5ecd2d||_0x21b00f(_0x4a6564[_0x11024f(0x2ac)],0x0),'strokeWidth':_0x1ed6db,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x136137,this[_0x11024f(0x2fe)]['addObject'](_0x136137,_0x1ca82e);const _0x2c1ced=new _0x425401(Ie+_0x50e33b[_0x11024f(0x281)](X),{'left':_0x128d43+_0x4d2ec2-_0x1ed6db,'top':_0x3f4cdc+_0x183993-ge/0x2,'height':ge,'width':ge,'fill':_0x5ecd2d||_0x21b00f(_0x4a6564[_0x11024f(0x2ac)],0x0),'strokeWidth':0x0,'stroke':_0x5ecd2d||_0x21b00f(_0x4a6564[_0x11024f(0x2ac)],0x0),'evented':!0x1});this[_0x11024f(0x217)]=_0x2c1ced,this['_scene']['addObject'](_0x2c1ced,_0x1ca82e);const _0x1f505b=new he(Ie+_0x50e33b[_0x11024f(0x281)](X),{'left':_0x128d43+_0x4d2ec2-_0x1ed6db,'top':_0x3f4cdc+_0x183993-ee,'text':_0x116475,'color':_0x5ecd2d});this[_0x11024f(0x1d5)]=_0x1f505b,this[_0x11024f(0x2fe)]['addObject'](_0x1f505b,_0x1ca82e),this[_0x11024f(0x3b5)]=!0x1;}[_0x4eaba6(0x34f)](){const _0x2a8abe=_0x4eaba6,_0x15cdf5=this['_anchor'][_0x2a8abe(0x382)][_0x2a8abe(0x264)](()=>{const _0x2a9f77=_0x2a8abe;this[_0x2a9f77(0x3b5)]=!0x0;}),_0x5142cd=this[_0x2a8abe(0x325)][_0x2a8abe(0x33d)][_0x2a8abe(0x264)](()=>{const _0x132044=_0x2a8abe;this[_0x132044(0x2d4)]&&clearTimeout(this[_0x132044(0x2d4)]),this['_hideTimer']=setTimeout(()=>{const _0x3c3b2f=_0x132044;this[_0x3c3b2f(0x3b5)]=!0x1;},0x7d0);});return()=>{const _0x38f867=_0x2a8abe;_0x15cdf5[_0x38f867(0x2a5)](),_0x5142cd['unsubscribe']();};}[_0x4eaba6(0x28a)](_0x2675d5,_0x593c44,_0x578a62,_0x3836bf){const _0x48e272=_0x4eaba6,_0x4cff42=new _0x288d49(_0x2675d5)[_0x48e272(0x250)](0.2)[_0x48e272(0x2df)](),_0x429afb=new _0x283506(bi+_0x50e33b[_0x48e272(0x281)](X),{'pointsGroup':_0x593c44,'fill':_0x4cff42||_0x21b00f(_0x4a6564[_0x48e272(0x2ac)],0.2),'left':_0x578a62,'top':_0x3836bf,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48e272(0x3cd)][_0x48e272(0x36c)](_0x429afb),this[_0x48e272(0x2fe)]['addObject'](_0x429afb,_0x1ca82e);}[_0x4eaba6(0x338)](_0x1bfd52,_0x594b70,_0x20e5e0,_0xc53100){const _0x12a5fb=_0x4eaba6,_0x4d1b2a=new _0x288d49(_0x1bfd52)[_0x12a5fb(0x250)](0.2)['toRgbString'](),_0x538602=new _0x283506(Ti+_0x50e33b[_0x12a5fb(0x281)](X),{'pointsGroup':_0x594b70,'fill':_0x4d1b2a||_0x21b00f(_0x4a6564[_0x12a5fb(0x2ac)],0.2),'left':_0x20e5e0,'top':_0xc53100,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x12a5fb(0x3cd)][_0x12a5fb(0x36c)](_0x538602),this['_scene'][_0x12a5fb(0x25a)](_0x538602,_0x1ca82e);}['_getAnchorBounding'](_0x472843){const _0x2cfedb=_0x472843[0x0],_0x2e0e8c=_0x2cfedb[0x0],_0x389728=_0x2cfedb[0x2],{x:_0x120b30,y:_0x168c48}=_0x2e0e8c,{x:_0xf8a59c,y:_0x47b859}=_0x389728;return{'left':_0x120b30,'top':_0x168c48,'width':_0xf8a59c-_0x120b30,'height':_0x47b859-_0x168c48};}[_0x4eaba6(0x2cc)](){const _0x45dd45=_0x4eaba6,{scaleX:_0x241e87,scaleY:_0x595c86}=this[_0x45dd45(0x2fe)]['getAncestorScale']();return Math[_0x45dd45(0x21f)](_0x241e87,_0x595c86);}}var Ui=Object[_0x4eaba6(0x293)],Mi=(_0x2c623b,_0x5c1f2b,_0xe6963c,_0x1bf969)=>{const _0x3f1576=_0x4eaba6;for(var _0x441e75=_0x1bf969>0x1?void 0x0:_0x1bf969?Ui(_0x5c1f2b,_0xe6963c):_0x5c1f2b,_0x8ae13e=_0x2c623b[_0x3f1576(0x2e6)]-0x1,_0x3df98d;_0x8ae13e>=0x0;_0x8ae13e--)(_0x3df98d=_0x2c623b[_0x8ae13e])&&(_0x441e75=_0x3df98d(_0x441e75)||_0x441e75);return _0x441e75;},Z=(_0x2fceb1,_0x32f9b7)=>(_0x29c7f9,_0x786dde)=>_0x32f9b7(_0x29c7f9,_0x786dde,_0x2fceb1);let we=class extends _0x37b3a8{constructor(_0x58e0bf,_0xbd342f,_0x383692,_0x4142e7,_0x56577e){const _0x5312c8=_0x4eaba6;super(),_(this,_0x5312c8(0x391),[]),_(this,_0x5312c8(0x253),[]),(this[_0x5312c8(0x245)]=_0x58e0bf,this[_0x5312c8(0x31a)]=_0xbd342f,this[_0x5312c8(0x24d)]=_0x383692,this[_0x5312c8(0x35d)]=_0x4142e7,this['_themeService']=_0x56577e,this['_init']());}[_0x4eaba6(0x20e)](){const _0x5aeb1c=_0x4eaba6,_0x35e3e4=this[_0x5aeb1c(0x245)][_0x5aeb1c(0x38c)],_0x48a9f2=this[_0x5aeb1c(0x31a)];this[_0x5aeb1c(0x1ca)](_0x538dd7([this[_0x5aeb1c(0x24d)][_0x5aeb1c(0x30c)](_0x35e3e4),this[_0x5aeb1c(0x3ac)]['currentTheme$']])['pipe'](_0x4bdb36(([_0x5961ae,_0x4ed92c])=>({'skeleton':_0x48a9f2[_0x5aeb1c(0x34e)](),'cursors':[..._0x5961ae['values']()][_0x5aeb1c(0x2ff)](_0x3d74e8=>({..._0x3d74e8,'color':this[_0x5aeb1c(0x3ac)][_0x5aeb1c(0x244)](_0x3d74e8[_0x5aeb1c(0x2f7)])}))})))[_0x5aeb1c(0x1fe)](_0x33b307=>{const _0x4a2344=_0x5aeb1c;if(this[_0x4a2344(0x222)](),_0x33b307){const {skeleton:_0xd2288b,cursors:_0x4e3485}=_0x33b307;this[_0x4a2344(0x326)](_0xd2288b,_0x4e3485);}})),this[_0x5aeb1c(0x3bc)](),this[_0x5aeb1c(0x2c1)]();}['_updateCollabCursors'](_0x5dc23a,_0x591ae4){const _0x34e258=_0x4eaba6,{scene:_0x2815a3,mainComponent:_0x384ed4}=this[_0x34e258(0x245)],_0x5373d0=_0x591ae4['map'](_0x1d3bfe=>new qe(_0x1d3bfe,_0x2815a3,_0x5dc23a,_0x384ed4));this[_0x34e258(0x391)]=_0x5373d0,this[_0x34e258(0x253)]=_0x591ae4;}[_0x4eaba6(0x26d)](){const _0x5619bc=_0x4eaba6;this['_removeCollabCursors']();const {scene:_0x1344d0,mainComponent:_0x5c08ba}=this['_context'],_0x554de1=this['_docSkeletonManagerService'][_0x5619bc(0x34e)](),_0x3f9b64=this['_cursors'][_0x5619bc(0x2cf)](_0x200d1b=>new qe(_0x200d1b,_0x1344d0,_0x554de1,_0x5c08ba));this['_cursorShapes']=_0x3f9b64;}[_0x4eaba6(0x222)](){const _0x12e20e=_0x4eaba6;this[_0x12e20e(0x391)][_0x12e20e(0x25c)](_0x4cbe23=>_0x4cbe23[_0x12e20e(0x2cb)]()),this[_0x12e20e(0x391)]=[];}['_initCommandExecutedListener'](){const _0x2d4cc4=_0x4eaba6,_0xdd7ae9=[_0x32d3ed['id']];this[_0x2d4cc4(0x1ca)](this[_0x2d4cc4(0x35d)]['onCommandExecuted'](_0x169842=>{const _0x3faa4a=_0x2d4cc4;_0xdd7ae9[_0x3faa4a(0x2aa)](_0x169842['id'])&&_0x169842[_0x3faa4a(0x2fd)][_0x3faa4a(0x38c)]===this[_0x3faa4a(0x245)][_0x3faa4a(0x38c)]&&this[_0x3faa4a(0x26d)]();}));}[_0x4eaba6(0x3bc)](){const _0x492c54=_0x4eaba6;this[_0x492c54(0x1ca)](_0x4c81bc(this[_0x492c54(0x245)]['engine']['onTransformChange$'])[_0x492c54(0x2b6)](_0x50b544(_0x258167=>_0x258167[_0x492c54(0x291)]===_0x36e34f[_0x492c54(0x37d)]),_0x4abe90(0x10))[_0x492c54(0x1fe)](()=>{const _0x400629=_0x492c54;this[_0x400629(0x26d)]();}));}};we=Mi([Z(0x1,_0x18907d(_0x4076e2)),Z(0x2,_0x18907d(H)),Z(0x3,_0xe6668b),Z(0x4,_0x18907d(_0x43d9fb))],we);const wi=0x1,Pi=1.5;class Li extends _0x4d4cf9{constructor(_0x4f14cf,_0x2452a7){const _0x1f1984=_0x4eaba6;super(_0x4f14cf,_0x2452a7),_(this,_0x1f1984(0x39d)),_(this,'_hovered',!0x1),_(this,_0x1f1984(0x319)),_(this,_0x1f1984(0x385),''),_(this,_0x1f1984(0x1d9),_0x1f1984(0x2de)),_(this,_0x1f1984(0x393)),(_0x2452a7&&this[_0x1f1984(0x1f2)](_0x2452a7),this[_0x1f1984(0x382)][_0x1f1984(0x264)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1f1984(0x33d)][_0x1f1984(0x264)](()=>this[_0x1f1984(0x1f2)]({'hovered':!0x1})));}[_0x4eaba6(0x1f2)](_0x49e08c){const _0x1e6aef=_0x4eaba6;var _0x2de38b,_0x2bc49a,_0x1c984a,_0x21484c,_0x4ec7fc,_0x184892;this[_0x1e6aef(0x39d)]=(_0x2de38b=_0x49e08c[_0x1e6aef(0x2f7)])!=null?_0x2de38b:this['_color'],this[_0x1e6aef(0x215)]=(_0x2bc49a=_0x49e08c['hovered'])!=null?_0x2bc49a:this[_0x1e6aef(0x215)],this[_0x1e6aef(0x319)]=(_0x1c984a=_0x49e08c[_0x1e6aef(0x2e4)])!=null?_0x1c984a:this[_0x1e6aef(0x319)],this[_0x1e6aef(0x385)]=(_0x21484c=_0x49e08c[_0x1e6aef(0x35f)])!=null?_0x21484c:this['_name'],this[_0x1e6aef(0x1d9)]=(_0x4ec7fc=_0x49e08c['labelPosition'])!=null?_0x4ec7fc:this[_0x1e6aef(0x1d9)],this['_backgroundColor']=(_0x184892=_0x49e08c[_0x1e6aef(0x35c)])!=null?_0x184892:this[_0x1e6aef(0x393)],this[_0x1e6aef(0x36d)]({'width':_0x49e08c[_0x1e6aef(0x1e1)],'height':_0x49e08c[_0x1e6aef(0x2a1)]});}['onMouseMove'](_0xe361e4){const _0x24f69d=_0x4eaba6,{row:_0x1a2d14,column:_0x1a90ce}=_0xe361e4;if(_0x1a2d14>=this[_0x24f69d(0x319)][_0x24f69d(0x257)]&&_0x1a2d14<=this['_range'][_0x24f69d(0x1cb)]&&_0x1a90ce>=this[_0x24f69d(0x319)][_0x24f69d(0x327)]&&_0x1a90ce<=this['_range'][_0x24f69d(0x3b9)]){this[_0x24f69d(0x1f2)]({'hovered':!0x0});return;}this[_0x24f69d(0x1f2)]({'hovered':!0x1});}[_0x4eaba6(0x2f6)](_0x5e6ce8){return!0x1;}[_0x4eaba6(0x29f)](_0xb3f431){const _0x53a1f9=_0x4eaba6;_0x425401['drawWith'](_0xb3f431,{'width':this[_0x53a1f9(0x1e1)],'height':this[_0x53a1f9(0x2a1)],'strokeWidth':Pi,'stroke':this[_0x53a1f9(0x39d)],'evented':!0x1,'fill':this[_0x53a1f9(0x393)]}),this['_hovered']&&(_0xb3f431['save'](),_0xb3f431[_0x53a1f9(0x233)](0x1,0x0,0x0,0x1,this[_0x53a1f9(0x1e1)],this[_0x53a1f9(0x1d9)]===_0x53a1f9(0x2ee)?0x0:-0x14),he[_0x53a1f9(0x246)](_0xb3f431,{'text':this[_0x53a1f9(0x385)],'color':this[_0x53a1f9(0x39d)]}),_0xb3f431[_0x53a1f9(0x3c8)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x21b1b0,_0x5b92a5,_0x3d68fe,_0x15f59d)=>{const _0x2d30f1=_0x4eaba6;for(var _0x5b2580=_0x15f59d>0x1?void 0x0:_0x15f59d?Ai(_0x5b92a5,_0x3d68fe):_0x5b92a5,_0x5007d8=_0x21b1b0[_0x2d30f1(0x2e6)]-0x1,_0x469d8b;_0x5007d8>=0x0;_0x5007d8--)(_0x469d8b=_0x21b1b0[_0x5007d8])&&(_0x5b2580=_0x469d8b(_0x5b2580)||_0x5b2580);return _0x5b2580;},ve=(_0x31c7d8,_0x478b88)=>(_0x59aa90,_0x217d5c)=>_0x478b88(_0x59aa90,_0x217d5c,_0x31c7d8);const $i=0x1389;let Pe=class extends _0x37b3a8{constructor(_0x2aba45,_0x52b186,_0x4c6107,_0x4ee487){const _0x533ab2=_0x4eaba6;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x533ab2(0x245)]=_0x2aba45,this[_0x533ab2(0x3c1)]=_0x52b186,this[_0x533ab2(0x24d)]=_0x4c6107,this[_0x533ab2(0x3ac)]=_0x4ee487,this[_0x533ab2(0x20e)]());}[_0x4eaba6(0x20e)](){const _0x443bc3=_0x4eaba6;this['_sheetSkeletonManagerService'][_0x443bc3(0x39a)][_0x443bc3(0x2b6)](_0x38fa3e(this[_0x443bc3(0x237)]),_0x546c4e(_0x4617f4=>{const _0x4d61c6=_0x443bc3;if(_0x4617f4){const _0x1bbe22=_0x4617f4['sheetId'];return _0x538dd7(this[_0x4d61c6(0x24d)][_0x4d61c6(0x30c)](this['_context'][_0x4d61c6(0x38c)]),this[_0x4d61c6(0x3ac)][_0x4d61c6(0x265)])['pipe'](_0x4bdb36(([_0x1c3f74,_0x2c1faa])=>{const _0x1b0748=new Map();return _0x1c3f74['forEach']((_0x572fb1,_0x1e17a9)=>{const _0x11a81e=_0xc929;if(_0x572fb1[_0x11a81e(0x267)]===_0x1bbe22){const _0xfd6be6={..._0x572fb1};_0xfd6be6[_0x11a81e(0x2f7)]=this[_0x11a81e(0x3ac)]['getColorFromTheme'](_0x572fb1[_0x11a81e(0x2f7)]),_0x1b0748[_0x11a81e(0x307)](_0x1e17a9,_0xfd6be6);}}),{'skeleton':_0x4617f4,'cursors':_0x1b0748};}));}return _0x5961a7({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x36cac1,cursors:_0x3930c4})=>{const _0x4701c9=_0x443bc3;this[_0x4701c9(0x222)](),_0x36cac1&&this[_0x4701c9(0x326)](_0x36cac1,_0x3930c4);}),this[_0x443bc3(0x3c1)][_0x443bc3(0x39a)][_0x443bc3(0x1fe)](_0x5a71a6=>{const _0x289ea3=_0x443bc3;if(_0x5a71a6==null)return;const {skeleton:_0x5c141d}=_0x5a71a6,{scene:_0xbed929}=this[_0x289ea3(0x245)];_0xbed929[_0x289ea3(0x30a)][_0x289ea3(0x264)](_0x4e6b06(_0xdb1785=>{const _0x3c13ce=_0x289ea3;var _0x84c060,_0x49a36c;const {offsetX:_0x42438e,offsetY:_0x1ae333}=_0xdb1785,{x:_0x366b44,y:_0x145d97}=_0xbed929[_0x3c13ce(0x349)](_0x57e231[_0x3c13ce(0x2ca)]([_0x42438e,_0x1ae333])),{scaleX:_0x5abea9,scaleY:_0x140328}=_0xbed929['getAncestorScale'](),_0x34b94c=_0xbed929[_0x3c13ce(0x1e7)](_0x32a6d8[_0x3c13ce(0x2bf)]),_0x3c3033=_0xbed929[_0x3c13ce(0x2c5)](_0x57e231[_0x3c13ce(0x2ca)]([_0x366b44,_0x145d97]),_0x34b94c),_0x151063=_0x5c141d[_0x3c13ce(0x200)](_0x42438e,_0x1ae333,_0x5abea9,_0x140328,_0x3c3033);((_0x84c060=this[_0x3c13ce(0x278)])==null?void 0x0:_0x84c060[_0x3c13ce(0x212)])===_0x151063[_0x3c13ce(0x212)]&&((_0x49a36c=this[_0x3c13ce(0x278)])==null?void 0x0:_0x49a36c[_0x3c13ce(0x1d4)])===_0x151063[_0x3c13ce(0x1d4)]||this[_0x3c13ce(0x253)][_0x3c13ce(0x25c)](_0x14fb98=>{_0x14fb98['onMouseMove'](_0x151063);});},0x64));});}[_0x4eaba6(0x326)](_0x3dbdf4,_0x27572a){const _0x6da43d=_0x4eaba6;var _0x11f39d;const _0x722da6=(_0x11f39d=this['_sheetSkeletonManagerService'][_0x6da43d(0x20f)]())==null?void 0x0:_0x11f39d[_0x6da43d(0x219)];if(!_0x722da6)return;const _0x85a236=this['_getSheetObject']();if(!_0x85a236)return;this[_0x6da43d(0x253)][_0x6da43d(0x25c)](_0x4fa4b1=>{const _0x1239b9=_0x6da43d;_0x4fa4b1[_0x1239b9(0x3aa)]();});const {scene:_0x4059a8}=_0x85a236,_0x368b11=xi(Array[_0x6da43d(0x242)](_0x27572a[_0x6da43d(0x1dc)]()))[_0x6da43d(0x2cf)](_0x252f7d=>{const {color:_0x2bac30,range:_0x48958e,name:_0x5bc443,selection:_0x13422b,sheetID:_0x1f18c0}=_0x252f7d,{startColumn:_0x1cc2b2,startRow:_0x2ab82a,endColumn:_0x22751a,endRow:_0x38e1c4}=_0x48958e,_0x418684=_0x3cc264(_0x2ab82a,_0x1cc2b2,_0x4059a8,_0x722da6),_0x53b12f=_0x3cc264(_0x38e1c4,_0x22751a,_0x4059a8,_0x722da6),{columnHeaderHeightAndMarginTop:_0x5827c8}=_0x722da6,{startX:_0x4a038c,startY:_0x48d10f}=_0x418684,{endX:_0x234e72,endY:_0x5c26e6}=_0x53b12f,_0x5aa9e9=_0x234e72-_0x4a038c,_0x241906=_0x5c26e6-_0x48d10f,_0x25d3fe={'labelPosition':_0x48d10f-_0x5827c8>=ee?'top':'bottom','sheetID':_0x1f18c0,'range':_0x48958e,'color':_0x2bac30,'name':_0x5bc443,'selection':_0x13422b,'left':_0x4a038c,'top':_0x48d10f,'width':_0x5aa9e9,'height':_0x241906,'evented':!0x1,'zIndex':$i};return new Li(_0x5bc443,_0x25d3fe);});_0x4059a8[_0x6da43d(0x26b)](_0x368b11,wi),this[_0x6da43d(0x253)]=new Set(_0x368b11);}['_removeCollabCursors'](){const _0x272743=_0x4eaba6;var _0x22a64e;(_0x22a64e=this[_0x272743(0x253)])==null||_0x22a64e[_0x272743(0x25c)](_0x4fc1c3=>_0x4fc1c3[_0x272743(0x2cb)]());}[_0x4eaba6(0x276)](){const _0x49a588=_0x4eaba6;return _0x7c6242(this['_context'][_0x49a588(0x399)],this[_0x49a588(0x245)]);}};Pe=yi([ve(0x1,_0x18907d(_0x42870f)),ve(0x2,_0x18907d(H)),ve(0x3,_0x18907d(_0x43d9fb))],Pe);function xi(_0x43ce45){const _0xd545e4=_0x4eaba6,_0x3b4b84=new Map();return _0x43ce45[_0xd545e4(0x25c)](_0x4a949a=>{const _0x47bf03=_0xd545e4;if(_0x3b4b84[_0x47bf03(0x1e9)](_0x4a949a[_0x47bf03(0x318)])){const _0x30cc07=_0x3b4b84['get'](_0x4a949a[_0x47bf03(0x318)]);_0x30cc07['name']+=',\x20'+_0x4a949a[_0x47bf03(0x35f)];}else _0x3b4b84[_0x47bf03(0x307)](_0x4a949a['selection'],_0x4a949a);}),Array[_0xd545e4(0x242)](_0x3b4b84[_0xd545e4(0x1dc)]());}var v=function(){const _0x4d6411=_0x4eaba6;return v=Object['assign']||function(_0x43156a){const _0x1def20=_0xc929;for(var _0x1639cc,_0x3edabb=0x1,_0xed84f8=arguments[_0x1def20(0x2e6)];_0x3edabb<_0xed84f8;_0x3edabb++){_0x1639cc=arguments[_0x3edabb];for(var _0x28a6d0 in _0x1639cc)Object['prototype'][_0x1def20(0x256)][_0x1def20(0x3b3)](_0x1639cc,_0x28a6d0)&&(_0x43156a[_0x28a6d0]=_0x1639cc[_0x28a6d0]);}return _0x43156a;},v[_0x4d6411(0x2e3)](this,arguments);},Bi=function(_0x22d099,_0x48df54){const _0x3f2447=_0x4eaba6;var _0x487935={};for(var _0x33d8e7 in _0x22d099)Object[_0x3f2447(0x30f)][_0x3f2447(0x256)]['call'](_0x22d099,_0x33d8e7)&&_0x48df54[_0x3f2447(0x263)](_0x33d8e7)<0x0&&(_0x487935[_0x33d8e7]=_0x22d099[_0x33d8e7]);if(_0x22d099!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x2b0111=0x0,_0x33d8e7=Object[_0x3f2447(0x23e)](_0x22d099);_0x2b0111<_0x33d8e7[_0x3f2447(0x2e6)];_0x2b0111++)_0x48df54[_0x3f2447(0x263)](_0x33d8e7[_0x2b0111])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x3f2447(0x3b3)](_0x22d099,_0x33d8e7[_0x2b0111])&&(_0x487935[_0x33d8e7[_0x2b0111]]=_0x22d099[_0x33d8e7[_0x2b0111]]);}return _0x487935;},je=_0x1d46e0(function(_0x59ff71,_0x2968e5){const _0x25dba9=_0x4eaba6;var _0x3ca8ae=_0x59ff71[_0x25dba9(0x241)],_0x29a55b=_0x59ff71['id'],_0x31fa2d=_0x59ff71[_0x25dba9(0x38b)],_0x316ea6=_0x59ff71[_0x25dba9(0x282)],_0x6f1ec2=Bi(_0x59ff71,['icon','id','className','extend']),_0x511cff=_0x25dba9(0x355)[_0x25dba9(0x339)](_0x29a55b,'\x20')[_0x25dba9(0x339)](_0x31fa2d||'')[_0x25dba9(0x270)](),_0xe30716=_0x92dff0('_'[_0x25dba9(0x339)](ji()));return Rt(_0x3ca8ae,''[_0x25dba9(0x339)](_0x29a55b),{'defIds':_0x3ca8ae[_0x25dba9(0x1cd)],'idSuffix':_0xe30716[_0x25dba9(0x3ba)]},v({'ref':_0x2968e5,'className':_0x511cff},_0x6f1ec2),_0x316ea6);});function Rt(_0x1fe355,_0x46f562,_0x1d420f,_0x565080,_0x461a11){const _0x212d0=_0x4eaba6;return _0x50bcce(_0x1fe355['tag'],v(v({'key':_0x46f562},ki(_0x1fe355,_0x1d420f,_0x461a11)),_0x565080),(Hi(_0x1fe355,_0x1d420f)['children']||[])[_0x212d0(0x2cf)](function(_0x9417dc,_0x523d81){const _0x598e54=_0x212d0;return Rt(_0x9417dc,''[_0x598e54(0x339)](_0x46f562,'-')[_0x598e54(0x339)](_0x1fe355[_0x598e54(0x228)],'-')[_0x598e54(0x339)](_0x523d81),_0x1d420f,void 0x0,_0x461a11);}));}function ki(_0x278149,_0x48ed7e,_0x180ff1){const _0x3e13a8=_0x4eaba6;var _0x3ee724=v({},_0x278149['attrs']);_0x180ff1!=null&&_0x180ff1[_0x3e13a8(0x330)]&&_0x3ee724['fill']===_0x3e13a8(0x330)&&(_0x3ee724[_0x3e13a8(0x1fd)]=_0x180ff1[_0x3e13a8(0x330)]),_0x278149[_0x3e13a8(0x228)]===_0x3e13a8(0x1f7)&&_0x3ee724['id']&&(_0x3ee724['id']=_0x3ee724['id']+_0x48ed7e[_0x3e13a8(0x2b5)]),Object[_0x3e13a8(0x2e2)](_0x3ee724)[_0x3e13a8(0x25c)](function(_0x28f735){const _0x32e3ad=_0x3e13a8;var _0x3722ef=_0x28f735[0x0],_0x23f68b=_0x28f735[0x1];_0x3722ef===_0x32e3ad(0x1f7)&&typeof _0x23f68b=='string'&&(_0x3ee724[_0x3722ef]=_0x23f68b[_0x32e3ad(0x3cb)](/url\(#(.*)\)/,'url(#$1'[_0x32e3ad(0x339)](_0x48ed7e['idSuffix'],')')));});var _0x4abce1=_0x48ed7e[_0x3e13a8(0x1cd)];return!_0x4abce1||_0x4abce1[_0x3e13a8(0x2e6)]===0x0||(_0x278149['tag']==='use'&&_0x3ee724['xlink:href']&&(_0x3ee724[_0x3e13a8(0x2d7)]=_0x3ee724[_0x3e13a8(0x2d7)]+_0x48ed7e[_0x3e13a8(0x2b5)]),Object[_0x3e13a8(0x2e2)](_0x3ee724)[_0x3e13a8(0x25c)](function(_0x5a58a7){const _0x410252=_0x3e13a8;var _0x286254=_0x5a58a7[0x0],_0x42064b=_0x5a58a7[0x1];typeof _0x42064b==_0x410252(0x33c)&&(_0x3ee724[_0x286254]=_0x42064b[_0x410252(0x3cb)](/url\(#(.*)\)/,'url(#$1'[_0x410252(0x339)](_0x48ed7e[_0x410252(0x2b5)],')')));})),_0x3ee724;}function Hi(_0x39ef44,_0x31cb6e){const _0x2924cf=_0x4eaba6;var _0x3a6863,_0x56a35a=_0x31cb6e[_0x2924cf(0x1cd)];return!_0x56a35a||_0x56a35a[_0x2924cf(0x2e6)]===0x0?_0x39ef44:_0x39ef44[_0x2924cf(0x228)]===_0x2924cf(0x1d2)&&(!((_0x3a6863=_0x39ef44['children'])===null||_0x3a6863===void 0x0)&&_0x3a6863['length'])?v(v({},_0x39ef44),{'children':_0x39ef44[_0x2924cf(0x359)][_0x2924cf(0x2cf)](function(_0x84a5e6){const _0x7f958f=_0x2924cf;return typeof _0x84a5e6[_0x7f958f(0x26e)]['id']==_0x7f958f(0x33c)&&_0x56a35a&&_0x56a35a[_0x7f958f(0x2aa)](_0x84a5e6['attrs']['id'])?v(v({},_0x84a5e6),{'attrs':v(v({},_0x84a5e6['attrs']),{'id':_0x84a5e6[_0x7f958f(0x26e)]['id']+_0x31cb6e['idSuffix']})}):_0x84a5e6;})}):_0x39ef44;}function ji(){const _0x7acf43=_0x4eaba6;return Math['random']()[_0x7acf43(0x2e8)](0x24)[_0x7acf43(0x345)](0x2,0x8);}je[_0x4eaba6(0x21a)]=_0x4eaba6(0x29e);var Yi={'tag':_0x4eaba6(0x380),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4eaba6(0x248),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4eaba6(0x251)},'children':[{'tag':_0x4eaba6(0x30e),'attrs':{'stroke':_0x4eaba6(0x285),'d':_0x4eaba6(0x1f8),'strokeLinecap':'round','strokeLinejoin':_0x4eaba6(0x3a2),'strokeWidth':1.2}}]},{'tag':_0x4eaba6(0x1d2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4eaba6(0x3bb)},'children':[{'tag':_0x4eaba6(0x30e),'attrs':{'fill':_0x4eaba6(0x2f9),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4eaba6(0x3bb)]},Dt=_0x1d46e0(function(_0x418eb3,_0x30aa63){const _0x40f892=_0x4eaba6;return _0x50bcce(je,Object[_0x40f892(0x266)]({},_0x418eb3,{'id':'off-line-icon','ref':_0x30aa63,'icon':Yi}));});Dt['displayName']=_0x4eaba6(0x357);var Fi={'tag':_0x4eaba6(0x380),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4eaba6(0x248),'viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4eaba6(0x2fa)},'children':[{'tag':'path','attrs':{'stroke':_0x4eaba6(0x285),'d':_0x4eaba6(0x1f9),'strokeLinecap':_0x4eaba6(0x3a2),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4eaba6(0x1d2),'attrs':{},'children':[{'tag':_0x4eaba6(0x20c),'attrs':{'id':_0x4eaba6(0x374)},'children':[{'tag':_0x4eaba6(0x30e),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x4eaba6(0x374)]},Nt=_0x1d46e0(function(_0x381862,_0x556cb0){const _0xfc84e8=_0x4eaba6;return _0x50bcce(je,Object[_0xfc84e8(0x266)]({},_0x381862,{'id':_0xfc84e8(0x2a6),'ref':_0x556cb0,'icon':Fi}));});Nt['displayName']=_0x4eaba6(0x1f6);function Wi(_0x23bb69){const _0x1f4219=_0x4eaba6;switch(_0x23bb69){case _0x4efd68[_0x1f4219(0x370)]:return'collabStatus.offline';case _0x4efd68[_0x1f4219(0x223)]:return _0x1f4219(0x205);case _0x4efd68[_0x1f4219(0x1d6)]:return _0x1f4219(0x214);case _0x4efd68[_0x1f4219(0x236)]:return _0x1f4219(0x213);case _0x4efd68['AWAITING']:case _0x4efd68[_0x1f4219(0x1f3)]:return _0x1f4219(0x27a);case _0x4efd68[_0x1f4219(0x2ea)]:case _0x4efd68[_0x1f4219(0x24e)]:return _0x1f4219(0x377);}}function Vi(_0x45d8e1){const _0x1aed72=_0x4eaba6,{status$:_0x245be8}=_0x45d8e1,_0x40c0bc=_0x20177b(_0x245be8,_0x4efd68[_0x1aed72(0x236)]),_0x244632=_0x27e39c(_0x3ecf5f),_0x6febfb=_0x27e39c(_0x4fa7e6),_0x360758=_0x40c0bc!==_0x4efd68['OFFLINE'],_0x24235a=_0x244632['t'](Wi(_0x40c0bc)),_0x3c6703=_0x360758?_0x30eda6(Nt,{}):_0x30eda6(Dt,{}),_0x4b0574=_0x364655(()=>{const _0x4ca3ff=_0x1aed72;_0x360758||_0x6febfb[_0x4ca3ff(0x280)]();},[_0x360758,_0x6febfb]);function _0x5f52a2(){const _0x361c10=_0x1aed72;return _0x5ba7a2(_0x361c10(0x388),{'className':_0x361c10(0x3ae),'onClick':_0x4b0574,'children':[_0x30eda6('div',{'className':_0x140e3f(_0x361c10(0x397),{'univer-text-green-500':_0x360758,'univer-text-red-500':!_0x360758}),'children':_0x3c6703}),_0x30eda6(_0x361c10(0x388),{'className':_0x361c10(0x30b),'children':_0x24235a})]});}return _0x360758?_0x5f52a2():_0x30eda6(_0x437d63,{'title':_0x244632['t'](_0x1aed72(0x32c)),'children':_0x5f52a2()});}function _0x4acf(){const _0x4d598c=['createInstance','_lastPointer','addHandlerCallback','collabStatus.syncing','_getSaveTimeout','_session','LICENSE_EXPORT_SIZE_EXCEEDED','ranges','PERMISSION_DENIED','reconnect','generateRandomId','extend','_transformPreviousActiveRange','_colorIndex','currentColor','fillRule','_cachedData','isArray','createSocket','_drawTextRange','_docTransformStateCacheService','LICENSE_MAX_UNITS_EXCEEDED','origin','RemoveRowCommandId','getSheetBySheetId','_getMergeRange','type','30IKsxaI','getOwnPropertyDescriptor','getUnitStatus$','_initEntityListener','ENSURE_SNAPSHOT_EXECUTION','session.collaboration-timeout','getOffsetConfig','getCurrentRevOfUnit','CHANGESET_REVISION_CONFILICT','APPLY_PERMISSION_DENIED','clearTimeout','then','UniverIcon','_draw','_toggleOffline','height','USER_NOT_INVITED_CODE','min','InsertRangeMoveRightCommandId','unsubscribe','on-line-icon','isEditing','_registerRenderDependencies','closePath','includes','_id','black','50356MoEXai','_messageService','RECT','_saveCache','RemoveColCommandId','subunit','eventID','_transformUndoRedoStack','idSuffix','pipe','_uiPartsService','application/json','isActive','_getAnchorBounding','startsWith','data','LICENSE_IMPORT_SIZE_EXCEEDED','some','VIEW_MAIN','HEADER_MENU','_initCommandExecutedListener','INVITE_CODE_ALREADY_BOUND','lineTo','collab-rect-range-','getVpScrollXYInfoByPosToVp','_scheduleClearOtherTimer','textRanges','APPLY_DUPLICATED','init','FromArray','dispose','_getScale','fillStyle','UNIVER_SHEET','map','USERS_LEAVE','uni.network.url-service','setInterval','roomMembers$','_hideTimer','next','INVITE_CODE_HAS_BEEN_UES','xlink:href','saveTaskMap','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','CONNECTOR_DATA_TOO_LARGE','INTERNAL_ERROR','UNAUTHENTICATED','MoveRangeCommandId','top','toRgbString','Unknown\x20user','asObservable','entries','apply','range','_docStateChangeManagerService','length','ONLINE','toString','delete','SYNCED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','clearInterval','subUnitId','bottom','setParam','setActiveRange','MOBILE_HAS_BEEN_BOUND','TEXT','EMAIL_HAS_BEEN_BOUND','_doCreateSocket','unitID','triggerDblclick','color','getParam','white','url(#on-line-icon_clip0_910_349)','docStateChange$','runId','params','_scene','flatMap','selections','_transformService','status$','Error','_assignedColors','replaceState','252bSehzb','set','_entities','Failed','onPointerMove$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getCollabCursors$','send','path','prototype','permission.content','getDocRanges','INVALID_INVITE_CODE','roomMembers','YUUMI_AI_RUN_FAILED','collaboration-client-ui.config','SOCKET_FAILED','parse','selection','_range','_docSkeletonManagerService','_imageIoService','getStateCache','_updateSubUnitFromURLParams','OTHER_CLIENT_EDITING','...','_collabSessionService','CLOSE_ROOM','_docSkeleton','_updateURLWithCurrentState','deepClone','_anchor','_updateCollabCursors','startColumn','text','YUUMI_ALL_TABLES_IS_INVALID','unshift','_collaborationController','collab-client.tooltip.reconnect','_memberService','_send','onStarting','colorChannel1','_dataLoaderService','_onCursorDelete','[CollaborationDataLoaderController]','setConfig','collabCursorState$','cursorInfo','_online','_drawRectRange','concat','_scheduleHeartbeat','_docSyncEditingCollabCursorService','string','onPointerLeave$','_cursor','permission.title','getTypeOfUnitDisposed$','DeleteRangeMoveUpCommandId','SNAPSHOT_INVALID_SNAPSHOT','purple.300','_cursorInfo$','substring','result','requireSession','newValue','getRelativeToViewportCoord','NO_OTHER_CLIENTS_EDITING','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ticket','_renderManagerService','getSkeleton','_handleHover','_updateLocalCursor','_drawAnchor','_startDocCollabCursor','_createSocketURL','transformIMECache','univerjs-icon\x20univerjs-icon-','Warning','OffLineIcon','_scheduleSaving','children','red.300','executeCommand','backgroundColor','_commandService','MUTATION','name','getCollabEntity$','onCommandExecuted','YUUMI_UNABLE_LOAD_URL','doc.mutation.rich-text-editing','editingUnit','DeleteRangeMoveLeftCommandId','urlChange$','UPDATE_CURSOR','storage','APPLY_REVISION_CONFILICT','pluginName','_initEvent','push','transformByState','pushState','_injector','OFFLINE','getUnhiddenWorksheets','runOnServer','getUnitId','on-line-icon_clip0_910_349','ALREADY_EXISTS','exhaustSavingTask','collabStatus.synced','_setupBeforeClosingHandler','ACTIVE_UNIT_EVENT_CHANNEL','InsertRowCommandId','registerRenderModule','getActiveSheet','resize','assignAColorForMemberID','split','svg','UNIVER_DOC','onPointerEnter$','_handleHeartbeatEvent','getMember','_name','href','_selfUnitIDs','div','_roomMembers$','_univerInstanceService','className','unitId','SNAPSHOT_HAS_BEEN_REMOVED','_disabled','getValue','event$','_cursorShapes','_removeClearOtherTimer','_backgroundColor','_config','getMemberID','executionId','univer-flex\x20univer-mr-2\x20univer-text-xl','defineProperty','unit','currentSkeleton$','58547zXSuJS','onLocalMutation','_color','size','_instanceService','APPLY_REJECT','find','round','collaboration-client.offline-data-not-saved','getConfig','APPLY_NON_SEQUENTIAL_REVISION','setStateCache','addClipboardHook','_httpService','_getSessionTicket','makeDirty','history','_themeService','_render','univer-flex\x20univer-items-center','updateOfflineData','wsSessionTicketUrl','getTypeOfUnitAdded$','m2Prime','call','_initDependencies','_hover','YUUMI_ASYNCIO_CANCELLED','replaceDocRanges','INVITE_CODE_REQUIRED','endColumn','current','off-line-icon_clip0_910_343','_initResize','key','loadOfflineData','setTimeout','collaboration.closeRoom','_sheetSkeletonManagerService','_handleJoinEvent','setUndoRedoMutationParamsCache','sessionStatus$','show','getMergeData','transformMutationsWithChangeset','restore','saveImage','findNodePositionByCharIndex','replace','transformRemoteChangeset','_shapes','_initStatusComponent','_colorAssignService','disposeWithMe','endRow','_notificationService','defIds','5831992JoBQjf','_onRefRangeChange','getUndoRedoMutationParamsCache','green.600','defs','_syncEditingCollabCursorService','row','_textBubble','FETCH_MISS','debug','searchParams','_labelPosition','LICENSE_DISTRO_REJECTED','rgba(255,\x20255,\x20255,\x200.01)','values','UNDEFINED','mutations','237BOJpfk','save','width','#FFF','sessionTicket','_urlService','fillText','LOGIN_FAILED','getViewport','stringify','has','undoState','205WxcsjC','SUBMIT_CHANGESET_TIMEOUT','_eventUnsubscribe','_registerDependencies','_handleEvent','585992dPmbHw','_entityInit$','setShapeProps','AWAITING_WITH_PENDING','search','measureText','OnLineIcon','mask','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','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','cursorInfo$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_refRangeService','fill','subscribe','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getCellPositionByOffset','_heartbeatTimer','transformSelections','hide','COMPLETION_FINISHED','collabStatus.conflict','getSheetId','WECHAT_HAS_BEEN_BOUND','3098259udtLqZ','_status$','_onCursorUpdate','_revisionService','clipPath','collab-text-range-','_init','getCurrent','whenReady','m1Prime','column','collabStatus.notCollab','collabStatus.fetchMiss','_hovered','_docTransformIMECacheService','_anchorDot','yellow.400','skeleton','displayName','getFocusedUnit','NOT_FOUND','error','_localStorageService','max','getRangePointData','PY_RUNTIME_SCRIPT_ERROR','_removeCollabCursors','CONFLICT','_handleLeaveEvent','_localeService','SOCKET_FAILED_RETRY','entityInit$','tag','transformStateCache','location','118698BYqbLZ','OTHER_CLIENTS_EDITING','onRendered','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','redoState','UNRECOGNIZED','activeSheet$','_ensureSubject','transform','syncEditingCollabCursor','source','NOT_COLLAB','dispose$','_toggleOnline','YUUMI_URL_COL_OUT_OF_RANGE','_saveTaskMap','override','moveTo','transformMutation','getOwnPropertySymbols','setItem','_clearOtherTimers','icon','from','arc','getColorFromTheme','_context','drawWith','_docTransformSelectionsService','none','_logService','InsertColCommandId','add','INVALID_ARGUMENT','_collabCursorController','PENDING','_configService','setAlpha','url(#off-line-icon_clip0_910_343)','_unitOnClients','_cursors','get','YUUMI_RATE_OVER_LIMIT','hasOwnProperty','startRow','YUUMI_SUBSCRIPTION_NOT_FOUND','_beforeCloseService','addObject','_document','forEach','22zCPkhV','disposeUnit','body','loadUnit','_startSheetCollabCursor','with','indexOf','subscribeEvent','currentTheme$','assign','sheetID','_unitStatus','3554670HPzuZI','_setupSubUnitSync','addObjects','complete','_refreshCollabCursors','attrs','_transformHistoryAndStateStack','trim','evenodd','post','getRenderById','getCurrentUnitForType','getItem','_getSheetObject'];_0x4acf=function(){return _0x4d598c;};return _0x4acf();}var Xi=Object[_0x4eaba6(0x293)],Gi=(_0xfcddfd,_0x315112,_0x459b10,_0x151c6a)=>{for(var _0x293824=_0x151c6a>0x1?void 0x0:_0x151c6a?Xi(_0x315112,_0x459b10):_0x315112,_0x4032b6=_0xfcddfd['length']-0x1,_0x51b2c1;_0x4032b6>=0x0;_0x4032b6--)(_0x51b2c1=_0xfcddfd[_0x4032b6])&&(_0x293824=_0x51b2c1(_0x293824)||_0x293824);return _0x293824;},Q=(_0x139e8c,_0xd80d46)=>(_0x5ceddb,_0x54332d)=>_0xd80d46(_0x5ceddb,_0x54332d,_0x139e8c);let te=class extends _0x344f28{constructor(_0x5263ed,_0x27a10c,_0x120efd,_0x3e809b){const _0x324874=_0x4eaba6;super(),_(this,_0x324874(0x209),new _0x32e977(_0x4efd68[_0x324874(0x236)])),(this['_univerInstanceService']=_0x5263ed,this[_0x324874(0x36f)]=_0x27a10c,this[_0x324874(0x32b)]=_0x120efd,this[_0x324874(0x2b7)]=_0x3e809b,this[_0x324874(0x3ce)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x46eb23=_0x4eaba6;this['disposeWithMe'](this[_0x46eb23(0x38a)]['focused$'][_0x46eb23(0x2b6)](_0x583a36(()=>{const _0x52427e=_0x46eb23,_0x3a761e=this[_0x52427e(0x38a)][_0x52427e(0x21b)]();return _0x3a761e?this[_0x52427e(0x32b)][_0x52427e(0x360)](_0x3a761e[_0x52427e(0x373)]()):_0x5961a7(null);}),_0x583a36(_0x125f53=>_0x125f53?_0x125f53[_0x46eb23(0x302)]:_0x5961a7(_0x4efd68['NOT_COLLAB'])))['subscribe'](_0x151af7=>{const _0x39649d=_0x46eb23;this[_0x39649d(0x209)][_0x39649d(0x2d5)](_0x151af7);}));}['_initStatusComponent'](){const _0x4737a5=_0x4eaba6;this[_0x4737a5(0x1ca)](this[_0x4737a5(0x2b7)]['registerComponent'](_0x25bc4b[_0x4737a5(0x2c0)],()=>_0x4f3f63(Ki({'status$':this[_0x4737a5(0x209)]['asObservable']()}),this[_0x4737a5(0x36f)])));}};te=Gi([Q(0x0,_0x51bea5),Q(0x1,_0x18907d(_0x3e72ea)),Q(0x2,_0x18907d(_0x4dd44e)),Q(0x3,_0x251619)],te);function Ki(_0x15e3c4){const {status$:_0xe8793b}=_0x15e3c4;return function(){return _0x30eda6(Vi,{'status$':_0xe8793b});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x4878d4,_0x179751,_0x137cef,_0x55ffd3)=>{const _0x148f8d=_0x4eaba6;for(var _0x4b3625=_0x55ffd3>0x1?void 0x0:_0x55ffd3?zi(_0x179751,_0x137cef):_0x179751,_0x3db0e3=_0x4878d4[_0x148f8d(0x2e6)]-0x1,_0x21a8c0;_0x3db0e3>=0x0;_0x3db0e3--)(_0x21a8c0=_0x4878d4[_0x3db0e3])&&(_0x4b3625=_0x21a8c0(_0x4b3625)||_0x4b3625);return _0x4b3625;},B=(_0x388c01,_0x446a7e)=>(_0x118eae,_0x5797d5)=>_0x446a7e(_0x118eae,_0x5797d5,_0x388c01);let se=class extends _0x344f28{constructor(_0x4ef6a8,_0x41ca28,_0x8e8137,_0x19766f,_0x1ff1e4,_0x1a7662){const _0x37c466=_0x4eaba6;super(),this[_0x37c466(0x259)]=_0x4ef6a8,this['_localCacheService']=_0x41ca28,this['_collaborationUIEventService']=_0x8e8137,this[_0x37c466(0x2ae)]=_0x19766f,this[_0x37c466(0x1cc)]=_0x1ff1e4,this[_0x37c466(0x225)]=_0x1a7662,this[_0x37c466(0x378)](),this[_0x37c466(0x36b)]();}['_setupBeforeClosingHandler'](){const _0x3dd7ce=_0x4eaba6;this[_0x3dd7ce(0x1ca)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x5ad6b9=_0x3dd7ce;if(this['_localCacheService'][_0x5ad6b9(0x2d8)][_0x5ad6b9(0x39e)])return this[_0x5ad6b9(0x225)]['t'](_0x5ad6b9(0x3a3));}));}[_0x4eaba6(0x36b)](){const _0x1edea9=_0x4eaba6;this[_0x1edea9(0x1ca)](this['_collaborationUIEventService'][_0x1edea9(0x390)]['subscribe'](_0x1efb82=>{const _0x43c0c1=_0x1edea9;_0x1efb82['id']===_0x224233[_0x43c0c1(0x31e)]&&this[_0x43c0c1(0x2ae)][_0x43c0c1(0x3c5)]({'type':_0x11fa23['Warning'],'content':this[_0x43c0c1(0x225)]['t']('collaboration.single-unit.warning')}),_0x1efb82['id']===_0x224233[_0x43c0c1(0x321)]&&this['_messageService'][_0x43c0c1(0x3c5)]({'type':_0x11fa23[_0x43c0c1(0x356)],'content':this['_localeService']['t'](_0x43c0c1(0x3c0))}),_0x1efb82['id']===_0x224233[_0x43c0c1(0x27f)]&&this[_0x43c0c1(0x1cc)]['show']({'title':this[_0x43c0c1(0x225)]['t'](_0x43c0c1(0x33f)),'content':this['_localeService']['t'](_0x43c0c1(0x310)),'type':'error','duration':0x0}),_0x1efb82['id']===_0x224233[_0x43c0c1(0x223)]&&this['_messageService'][_0x43c0c1(0x3c5)]({'type':_0x11fa23[_0x43c0c1(0x303)],'content':this[_0x43c0c1(0x225)]['t']('collaboration.closeRoom')+'('+_0x1efb82['data']+')'}),_0x1efb82['id']===_0x224233['JOIN_ROOM_FAILED']&&this['_messageService'][_0x43c0c1(0x3c5)]({'type':_0x11fa23[_0x43c0c1(0x356)],'content':this[_0x43c0c1(0x225)]['t'](_0x1efb82[_0x43c0c1(0x2bc)]||'')}),_0x1efb82['id']===_0x224233[_0x43c0c1(0x226)]&&this[_0x43c0c1(0x2ae)][_0x43c0c1(0x3c5)]({'type':_0x11fa23[_0x43c0c1(0x356)],'content':this[_0x43c0c1(0x225)]['t']('session.will-retry')}),_0x1efb82['id']===_0x224233[_0x43c0c1(0x316)]&&this[_0x43c0c1(0x2ae)][_0x43c0c1(0x3c5)]({'type':_0x11fa23[_0x43c0c1(0x303)],'content':this[_0x43c0c1(0x225)]['t']('session.connection-failed')}),_0x1efb82['id']===_0x224233[_0x43c0c1(0x1ec)]&&this[_0x43c0c1(0x2ae)]['show']({'type':_0x11fa23[_0x43c0c1(0x303)],'content':this['_localeService']['t'](_0x43c0c1(0x297))});}));}};se=Ji([B(0x0,_0x35094c),B(0x1,_0x2dbf9c),B(0x2,_0x18907d(_0x2e40e8)),B(0x3,_0x441bfa),B(0x4,_0x315fb8),B(0x5,_0x18907d(_0x3ecf5f))],se);const Zi=_0x4eaba6(0x315),et={},Ut=_0x200bfb(_0x4eaba6(0x2d1));var Qi=Object[_0x4eaba6(0x293)],qi=(_0x5ee0b5,_0x21eefc,_0xfef127,_0x416a8a)=>{const _0x5ceb10=_0x4eaba6;for(var _0x599d45=_0x416a8a>0x1?void 0x0:_0x416a8a?Qi(_0x21eefc,_0xfef127):_0x21eefc,_0x1c1c92=_0x5ee0b5[_0x5ceb10(0x2e6)]-0x1,_0x50e416;_0x1c1c92>=0x0;_0x1c1c92--)(_0x50e416=_0x5ee0b5[_0x1c1c92])&&(_0x599d45=_0x50e416(_0x599d45)||_0x599d45);return _0x599d45;},G=(_0x490cd1,_0x3b15fa)=>(_0x3f7543,_0x237f44)=>_0x3b15fa(_0x3f7543,_0x237f44,_0x490cd1);let ie=class extends _0x37b3a8{constructor(_0x4ab016,_0x1778bb,_0x3da08c,_0x515833,_0x3fbcad){const _0x1c629d=_0x4eaba6;super(),this[_0x1c629d(0x1e4)]=_0x4ab016,this[_0x1c629d(0x249)]=_0x1778bb,this[_0x1c629d(0x35d)]=_0x3da08c,this[_0x1c629d(0x331)]=_0x515833,_0x3fbcad?_0x3fbcad==null||_0x3fbcad[_0x1c629d(0x210)]()[_0x1c629d(0x29d)](()=>this['_init']()):(this[_0x1c629d(0x249)][_0x1c629d(0x1d7)](_0x1c629d(0x333),_0x1c629d(0x2d9)),this[_0x1c629d(0x20e)]());}async[_0x4eaba6(0x20e)](){const _0x368965=_0x4eaba6,_0x3de51b=this[_0x368965(0x1e4)]['getParam'](_0x368965(0x399)),_0x3c0687=this['_urlService'][_0x368965(0x2f8)](_0x368965(0x291)),_0x57b21e=this[_0x368965(0x1e4)][_0x368965(0x2f8)](_0x368965(0x2b2));if(!_0x3de51b||!_0x3c0687){this['_logService'][_0x368965(0x1d7)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1d96ef=await this['_dataLoaderService'][_0x368965(0x260)](_0x3de51b,Number(_0x3c0687),_0x57b21e);_0x1d96ef&&_0x1d96ef instanceof _0x310a1a&&this[_0x368965(0x26a)](_0x1d96ef);}async['_setupSubUnitSync'](_0x18e7c5){const _0x1c8d7a=_0x4eaba6;await this[_0x1c8d7a(0x31d)](_0x18e7c5),_0x18e7c5[_0x1c8d7a(0x231)]['pipe'](_0x560bf3(this['dispose$']))[_0x1c8d7a(0x1fe)](_0xd58b01=>{const _0x974011=_0x1c8d7a;_0xd58b01&&this[_0x974011(0x323)](_0xd58b01);}),this[_0x1c8d7a(0x1e4)][_0x1c8d7a(0x366)][_0x1c8d7a(0x2b6)](_0x560bf3(this[_0x1c8d7a(0x237)]))[_0x1c8d7a(0x1fe)](()=>this[_0x1c8d7a(0x31d)](_0x18e7c5));}[_0x4eaba6(0x323)](_0x5d30e1,_0x516c9d=!0x1){const _0x4580b5=_0x4eaba6,_0x5af98f=this[_0x4580b5(0x1e4)]['getParam'](_0x4580b5(0x2b2));_0x5d30e1['getSheetId']()!==_0x5af98f&&this[_0x4580b5(0x1e4)]['setParam']('subunit',_0x5d30e1[_0x4580b5(0x206)](),_0x516c9d);}async[_0x4eaba6(0x31d)](_0x39901d){const _0x14de7c=_0x4eaba6;var _0x219a86;const _0x499aa4=this[_0x14de7c(0x1e4)][_0x14de7c(0x2f8)]('subunit');if(!_0x499aa4||!_0x39901d[_0x14de7c(0x28f)](_0x499aa4)){const _0x45f1ab=_0x39901d[_0x14de7c(0x371)]()[0x0],_0x2bfc9e=_0x39901d['getSheetBySheetId'](_0x45f1ab);if(!_0x2bfc9e)return;this[_0x14de7c(0x323)](_0x2bfc9e,!0x0),await this[_0x14de7c(0x35d)][_0x14de7c(0x35b)](_0x310690['id'],{'unitId':_0x39901d[_0x14de7c(0x373)](),'subUnitId':_0x45f1ab});return;}((_0x219a86=_0x39901d[_0x14de7c(0x37c)]())==null?void 0x0:_0x219a86['getSheetId']())!==_0x499aa4&&await this[_0x14de7c(0x35d)][_0x14de7c(0x35b)](_0x310690['id'],{'unitId':_0x39901d[_0x14de7c(0x373)](),'subUnitId':_0x499aa4});}};ie=qi([G(0x0,Ut),G(0x1,_0x194710),G(0x2,_0xe6668b),G(0x3,_0x18907d(_0x55d6e6)),G(0x4,_0x5aed5c(_0x223e63))],ie);var en=Object[_0x4eaba6(0x293)],tn=(_0x2b22d5,_0x524156,_0x18542d,_0x3ee066)=>{const _0x344b9b=_0x4eaba6;for(var _0x31cd73=_0x3ee066>0x1?void 0x0:_0x3ee066?en(_0x524156,_0x18542d):_0x524156,_0x5597ef=_0x2b22d5[_0x344b9b(0x2e6)]-0x1,_0x213a55;_0x5597ef>=0x0;_0x5597ef--)(_0x213a55=_0x2b22d5[_0x5597ef])&&(_0x31cd73=_0x213a55(_0x31cd73)||_0x31cd73);return _0x31cd73;},pe=(_0x5206bd,_0x151bcf)=>(_0x221456,_0x312deb)=>_0x151bcf(_0x221456,_0x312deb,_0x5206bd);let ne=class{constructor(_0x3877d7,_0x50e289,_0x72dd3a){const _0x2f7065=_0x4eaba6;this[_0x2f7065(0x36f)]=_0x3877d7,this[_0x2f7065(0x301)]=_0x50e289,this[_0x2f7065(0x34d)]=_0x72dd3a;}['transformIMECache'](_0x4d3624){const _0x2c76a6=_0x4eaba6;this[_0x2c76a6(0x2b4)](_0x4d3624),this[_0x2c76a6(0x283)](_0x4d3624);}[_0x4eaba6(0x3cc)](_0x128592){const _0x2ecfba=_0x4eaba6,{unitID:_0x309889}=_0x128592,_0x4cecd6=this[_0x2ecfba(0x34d)][_0x2ecfba(0x273)](_0x309889)['with'](_0xa029f7),{redoCache:_0x26fc7c}=_0x4cecd6['getUndoRedoMutationParamsCache']();if(_0x26fc7c[_0x2ecfba(0x2e6)]===0x0)return _0x128592;let _0x2e594a=_0x50e33b[_0x2ecfba(0x324)](_0x128592['mutations'][0x0]);for(let _0x525abe=0x0;_0x525abe<_0x26fc7c[_0x2ecfba(0x2e6)];_0x525abe++){const _0x54193b={'id':_0x2ecfba(0x363),'params':{..._0x26fc7c[_0x525abe]}},_0x3918ff=this[_0x2ecfba(0x301)][_0x2ecfba(0x23d)](_0x2e594a,_0x54193b,!0x1);if(_0xa30238(_0x3918ff))throw _0x3918ff['error'];_0x2e594a=_0x3918ff[_0x2ecfba(0x211)];}return{..._0x50e33b['deepClone'](_0x128592),'mutations':[_0x2e594a]};}[_0x4eaba6(0x2b4)](_0x22d499){const _0x2acd50=_0x4eaba6,{unitID:_0x16fbe1}=_0x22d499,_0x2cd7ed=this['_renderManagerService']['getRenderById'](_0x16fbe1)[_0x2acd50(0x262)](_0xa029f7),{undoCache:_0x34d2fb,redoCache:_0x529f05}=_0x2cd7ed[_0x2acd50(0x1d0)]();if(_0x34d2fb[_0x2acd50(0x2e6)]===0x0||_0x529f05[_0x2acd50(0x2e6)]===0x0)return;const _0x23e3e4=[],_0x2f77fa=[];let _0xdad6cb=_0x50e33b[_0x2acd50(0x324)](_0x22d499[_0x2acd50(0x1de)][0x0]),_0x54c2fe=_0x50e33b[_0x2acd50(0x324)](_0x22d499[_0x2acd50(0x1de)][0x0]);for(let _0x50ef46=_0x34d2fb[_0x2acd50(0x2e6)]-0x1;_0x50ef46>=0x0;_0x50ef46--){const _0x189cdf={'id':_0x2acd50(0x363),'params':{..._0x34d2fb[_0x50ef46]}},_0x56c4eb={'id':_0x2acd50(0x363),'params':{..._0x529f05[_0x50ef46]}},_0xc6ca7f=this[_0x2acd50(0x301)][_0x2acd50(0x23d)](_0xdad6cb,_0x189cdf,!0x1),_0x1a2bb4=this[_0x2acd50(0x301)][_0x2acd50(0x23d)](_0x54c2fe,_0x56c4eb,!0x1);if(_0xa30238(_0xc6ca7f))throw _0xc6ca7f['error'];if(_0xa30238(_0x1a2bb4))throw _0x1a2bb4[_0x2acd50(0x21d)];_0x23e3e4[_0x2acd50(0x32a)](_0xc6ca7f['m2Prime'][_0x2acd50(0x2fd)]),_0x2f77fa[_0x2acd50(0x32a)](_0x1a2bb4[_0x2acd50(0x3b2)][_0x2acd50(0x2fd)]),_0xdad6cb=_0xc6ca7f['m1Prime'],_0x54c2fe=_0x1a2bb4['m1Prime'];}_0x2cd7ed[_0x2acd50(0x3c3)]({'undoCache':_0x23e3e4,'redoCache':_0x2f77fa});}[_0x4eaba6(0x283)](_0x27aeeb){const _0x52c066=_0x4eaba6,{unitID:_0x4d60be}=_0x27aeeb,_0x2f2eec=this['_renderManagerService'][_0x52c066(0x273)](_0x4d60be)[_0x52c066(0x262)](_0xa029f7),_0x9eca9f=_0x2f2eec['getActiveRange']();if(_0x9eca9f==null)return;const _0x49617e=[{'id':_0x52c066(0x363),'params':{'unitId':_0x27aeeb['unitID'],'actions':null,'textRanges':[_0x9eca9f]}}],_0x2e84b1=this['_transformService'][_0x52c066(0x3c7)](_0x27aeeb,_0x49617e);if(!_0x247d4(_0x2e84b1))throw _0x2e84b1[_0x52c066(0x21d)];const _0x53e8c7=_0x2e84b1[_0x52c066(0x3b2)][0x0]['params'][_0x52c066(0x2c7)];Array[_0x52c066(0x288)](_0x53e8c7)&&_0x53e8c7[_0x52c066(0x2e6)]&&_0x2f2eec[_0x52c066(0x2f0)](_0x53e8c7[0x0]);}};ne=tn([pe(0x0,_0x18907d(_0x3e72ea)),pe(0x1,_0x1a60d7),pe(0x2,_0x2b5744)],ne);var sn=Object[_0x4eaba6(0x293)],nn=(_0x405caa,_0x4acc77,_0x8b0d74,_0x21f718)=>{const _0x204d65=_0x4eaba6;for(var _0x11891d=_0x21f718>0x1?void 0x0:_0x21f718?sn(_0x4acc77,_0x8b0d74):_0x4acc77,_0x421af5=_0x405caa[_0x204d65(0x2e6)]-0x1,_0x5ed5d2;_0x421af5>=0x0;_0x421af5--)(_0x5ed5d2=_0x405caa[_0x421af5])&&(_0x11891d=_0x5ed5d2(_0x11891d)||_0x11891d);return _0x11891d;},Ce=(_0x25d837,_0x4cc048)=>(_0x23a6e9,_0x4de823)=>_0x4cc048(_0x23a6e9,_0x4de823,_0x25d837);let re=class{constructor(_0x44d515,_0x316390,_0x4d7d80){const _0x625f27=_0x4eaba6;this[_0x625f27(0x36f)]=_0x44d515,this[_0x625f27(0x301)]=_0x316390,this['_docStateChangeManagerService']=_0x4d7d80;}[_0x4eaba6(0x229)](_0x189ffd){const _0x552c68=_0x4eaba6;this[_0x552c68(0x26f)](_0x189ffd);}[_0x4eaba6(0x3cc)](_0x17a933){const _0x3a9182=_0x4eaba6,{unitID:_0x1b00c9}=_0x17a933,{collaboration:_0x33e438}=this['_docStateChangeManagerService'][_0x3a9182(0x31c)](_0x1b00c9);if(_0x33e438['length']===0x0)return _0x17a933;let _0x295d11=_0x50e33b['deepClone'](_0x17a933['mutations'][0x0]);for(let _0x34ad12=0x0;_0x34ad12<_0x33e438['length'];_0x34ad12++){const _0x2d8db2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x33e438[_0x34ad12][_0x3a9182(0x38c)],..._0x33e438[_0x34ad12]['redoState']}},_0x3083f3=this[_0x3a9182(0x301)][_0x3a9182(0x23d)](_0x295d11,_0x2d8db2,!0x1);if(_0xa30238(_0x3083f3))throw _0x3083f3['error'];_0x295d11=_0x3083f3[_0x3a9182(0x211)];}return{..._0x50e33b[_0x3a9182(0x324)](_0x17a933),'mutations':[_0x295d11]};}[_0x4eaba6(0x26f)](_0x3e8dae){const _0x22a503=_0x4eaba6,{unitID:_0x4a3486}=_0x3e8dae,{history:_0x31a091,collaboration:_0x13e8a8}=this[_0x22a503(0x2e5)][_0x22a503(0x31c)](_0x4a3486);if(_0x31a091[_0x22a503(0x2e6)]===0x0&&_0x13e8a8['length']===0x0)return;const _0x271bfa=[],_0x3bc095=[];let _0x4b7eea=_0x50e33b['deepClone'](_0x3e8dae[_0x22a503(0x1de)][0x0]),_0x4681cf=_0x50e33b['deepClone'](_0x3e8dae['mutations'][0x0]);for(let _0x5abadc=_0x31a091['length']-0x1;_0x5abadc>=0x0;_0x5abadc--){const _0x565f1e={'id':_0x22a503(0x363),'params':{'unitId':_0x31a091[_0x5abadc][_0x22a503(0x38c)],..._0x31a091[_0x5abadc][_0x22a503(0x1ea)]}},_0x33bdd2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x31a091[_0x5abadc][_0x22a503(0x38c)],..._0x31a091[_0x5abadc][_0x22a503(0x22f)]}},_0x5d670c=this['_transformService'][_0x22a503(0x23d)](_0x4b7eea,_0x565f1e,!0x1),_0x1c99b8=this[_0x22a503(0x301)][_0x22a503(0x23d)](_0x4681cf,_0x33bdd2,!0x1);if(_0xa30238(_0x5d670c))throw _0x5d670c['error'];if(_0xa30238(_0x1c99b8))throw _0x1c99b8[_0x22a503(0x21d)];_0x271bfa[_0x22a503(0x32a)]({..._0x31a091[_0x5abadc],'undoState':_0x5d670c[_0x22a503(0x3b2)][_0x22a503(0x2fd)],'redoState':_0x1c99b8[_0x22a503(0x3b2)][_0x22a503(0x2fd)]}),_0x4b7eea=_0x5d670c[_0x22a503(0x211)],_0x4681cf=_0x1c99b8[_0x22a503(0x211)];}_0x4b7eea=_0x50e33b[_0x22a503(0x324)](_0x3e8dae[_0x22a503(0x1de)][0x0]),_0x4681cf=_0x50e33b[_0x22a503(0x324)](_0x3e8dae[_0x22a503(0x1de)][0x0]);for(let _0x3290a4=_0x13e8a8['length']-0x1;_0x3290a4>=0x0;_0x3290a4--){const _0x4584f9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x13e8a8[_0x3290a4][_0x22a503(0x38c)],..._0x13e8a8[_0x3290a4][_0x22a503(0x1ea)]}},_0x29df3a={'id':_0x22a503(0x363),'params':{'unitId':_0x13e8a8[_0x3290a4][_0x22a503(0x38c)],..._0x13e8a8[_0x3290a4][_0x22a503(0x22f)]}},_0x6a99d4=this[_0x22a503(0x301)][_0x22a503(0x23d)](_0x4b7eea,_0x4584f9,!0x1),_0x4dba4e=this[_0x22a503(0x301)]['transformMutation'](_0x4681cf,_0x29df3a,!0x1);if(_0xa30238(_0x6a99d4))throw _0x6a99d4[_0x22a503(0x21d)];if(_0xa30238(_0x4dba4e))throw _0x4dba4e[_0x22a503(0x21d)];_0x3bc095[_0x22a503(0x32a)]({..._0x13e8a8[_0x3290a4],'undoState':_0x6a99d4[_0x22a503(0x3b2)][_0x22a503(0x2fd)],'redoState':_0x4dba4e[_0x22a503(0x3b2)][_0x22a503(0x2fd)]}),_0x4b7eea=_0x6a99d4['m1Prime'],_0x4681cf=_0x4dba4e[_0x22a503(0x211)];}this[_0x22a503(0x2e5)][_0x22a503(0x3a6)](_0x4a3486,{'history':_0x271bfa,'collaboration':_0x3bc095});}};re=nn([Ce(0x0,_0x18907d(_0x3e72ea)),Ce(0x1,_0x1a60d7),Ce(0x2,_0x18907d(_0x54c954))],re);var rn=Object[_0x4eaba6(0x293)],on=(_0x535101,_0x3acb25,_0x593983,_0x2d8777)=>{for(var _0x31f4ec=_0x2d8777>0x1?void 0x0:_0x2d8777?rn(_0x3acb25,_0x593983):_0x3acb25,_0x28ad22=_0x535101['length']-0x1,_0x4d22f9;_0x28ad22>=0x0;_0x28ad22--)(_0x4d22f9=_0x535101[_0x28ad22])&&(_0x31f4ec=_0x4d22f9(_0x31f4ec)||_0x31f4ec);return _0x31f4ec;},tt=(_0x17e9b5,_0x1b13a5)=>(_0x2baf78,_0x1abf2b)=>_0x1b13a5(_0x2baf78,_0x1abf2b,_0x17e9b5);let oe=class{constructor(_0x39f908,_0x5516ec){const _0x5c7515=_0x4eaba6;this[_0x5c7515(0x36f)]=_0x39f908,this[_0x5c7515(0x301)]=_0x5516ec;}[_0x4eaba6(0x202)](_0x4f578f){const _0x14720c=_0x4eaba6;var _0x4481ee;const _0x21d313=this['_injector']['get'](_0x947e8c),_0x2308dc=(_0x4481ee=_0x21d313[_0x14720c(0x311)]())!=null?_0x4481ee:[];if(_0x2308dc[_0x14720c(0x2e6)]===0x0)return;const _0x58e2a4=_0x4f578f[_0x14720c(0x2f5)],_0x4fbbd1=[{'id':_0x14720c(0x363),'params':{'unitId':_0x58e2a4,'actions':null,'textRanges':_0x2308dc}}],_0xb94278=this[_0x14720c(0x301)]['transformMutationsWithChangeset'](_0x4f578f,_0x4fbbd1);if(!_0x247d4(_0xb94278))throw _0xb94278[_0x14720c(0x21d)];const _0x68b632=_0xb94278['m2Prime'][0x0]['params'][_0x14720c(0x2c7)];Array[_0x14720c(0x288)](_0x68b632)&&_0x68b632[_0x14720c(0x2e6)]&&_0x21d313[_0x14720c(0x3b7)](_0x68b632,{'unitId':_0x58e2a4,'subUnitId':_0x58e2a4},!0x1);}};oe=on([tt(0x0,_0x18907d(_0x3e72ea)),tt(0x1,_0x1a60d7)],oe);var an=Object[_0x4eaba6(0x293)],cn=(_0x541bfd,_0x57dff5,_0x253ef8,_0x11f28f)=>{const _0xda2f4=_0x4eaba6;for(var _0x592441=_0x11f28f>0x1?void 0x0:_0x11f28f?an(_0x57dff5,_0x253ef8):_0x57dff5,_0x4447e9=_0x541bfd[_0xda2f4(0x2e6)]-0x1,_0x487148;_0x4447e9>=0x0;_0x4447e9--)(_0x487148=_0x541bfd[_0x4447e9])&&(_0x592441=_0x487148(_0x592441)||_0x592441);return _0x592441;},U=(_0x51c437,_0x14766a)=>(_0xeb46ea,_0x4da898)=>_0x14766a(_0xeb46ea,_0x4da898,_0x51c437);let ae=class extends _0x344f28{constructor(_0x28ed41,_0x20bc59,_0x330766,_0x47cdbe,_0x587834,_0x41ffe6,_0x574c3d,_0x471593){const _0x266637=_0x4eaba6;super(),_(this,_0x266637(0x209),new _0x32e977(_0x4efd68['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x28ed41,this['_collaborationController']=_0x20bc59,this[_0x266637(0x216)]=_0x330766,this[_0x266637(0x28b)]=_0x47cdbe,this[_0x266637(0x247)]=_0x587834,this[_0x266637(0x33b)]=_0x41ffe6,this[_0x266637(0x2ae)]=_0x574c3d,this[_0x266637(0x225)]=_0x471593,this[_0x266637(0x295)]());}[_0x4eaba6(0x295)](){const _0x473484=_0x4eaba6;this[_0x473484(0x1ca)](this[_0x473484(0x32b)][_0x473484(0x227)][_0x473484(0x1fe)](_0x499870=>{const _0x563b41=_0x473484,_0x5cbe15=this[_0x563b41(0x2e5)][_0x563b41(0x2fb)][_0x563b41(0x1fe)](_0x14619a=>{const _0x484478=_0x563b41;if(_0x14619a==null)return;const {unitId:_0x482d6a,redoState:_0x30ad44,commandId:_0x3c33e6}=_0x14619a;if(_0x482d6a!==_0x499870['unitID'])return;const _0x591c86={'id':_0x3c33e6,'type':_0x4d2b87[_0x484478(0x35e)],'params':{'unitId':_0x482d6a,'actions':_0x30ad44['actions'],'textRanges':null}};_0x499870[_0x484478(0x39c)](_0x591c86);});if(_0x499870['disposeWithMe'](_0x5cbe15),_0x499870 instanceof _0x19e46f){const _0x4d5e91={'onTransformIME':_0x4725a4=>this['_docTransformIMECacheService'][_0x563b41(0x354)](_0x4725a4),'onTransformState':_0x51bcfd=>this[_0x563b41(0x28b)]['transformStateCache'](_0x51bcfd),'onTransformSelections':_0x1c6e59=>this[_0x563b41(0x247)][_0x563b41(0x202)](_0x1c6e59),'onSyncEditingCollabCursor':_0x47a718=>this[_0x563b41(0x33b)][_0x563b41(0x234)](_0x47a718),'onTransformRemoteChangesetByIMECache':_0x2e0a00=>this[_0x563b41(0x216)]['transformRemoteChangeset'](_0x2e0a00),'onTransformRemoteChangesetByStateCache':_0x317072=>this[_0x563b41(0x28b)][_0x563b41(0x3cc)](_0x317072)};_0x499870[_0x563b41(0x279)](_0x4d5e91);}}));}};ae=cn([U(0x0,_0x18907d(_0x54c954)),U(0x1,_0x18907d(_0x4dd44e)),U(0x2,_0x18907d(ne)),U(0x3,_0x18907d(re)),U(0x4,_0x18907d(oe)),U(0x5,_0x18907d(He)),U(0x6,_0x441bfa),U(0x7,_0x18907d(_0x3ecf5f))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x3cc719,_0x239244,_0x43bd43,_0x289a37)=>{for(var _0x11547b=_0x289a37>0x1?void 0x0:_0x289a37?ln(_0x239244,_0x43bd43):_0x239244,_0x53b60e=_0x3cc719['length']-0x1,_0x28ef7e;_0x53b60e>=0x0;_0x53b60e--)(_0x28ef7e=_0x3cc719[_0x53b60e])&&(_0x11547b=_0x28ef7e(_0x11547b)||_0x11547b);return _0x11547b;},Ee=(_0x805923,_0x3480f4)=>(_0x5c29c8,_0x398bec)=>_0x3480f4(_0x5c29c8,_0x398bec,_0x805923);let Le=class extends _0x344f28{constructor(_0x2a2995,_0x1507b6,_0x472753){const _0x4b2376=_0x4eaba6;super(),_(this,'_cachedData',new Map()),_(this,_0x4b2376(0x23a),new Map()),_(this,'_disabled',!0x1),(this[_0x4b2376(0x24f)]=_0x2a2995,this['_localStorageService']=_0x1507b6,this[_0x4b2376(0x20b)]=_0x472753);}['disableLocalCache'](){const _0x21b7a7=_0x4eaba6;this[_0x21b7a7(0x38e)]=!0x0;}['enableLocalCache'](){const _0x23741a=_0x4eaba6;this[_0x23741a(0x38e)]=!0x1;}get[_0x4eaba6(0x2d8)](){const _0x35bacd=_0x4eaba6;return this[_0x35bacd(0x23a)];}[_0x4eaba6(0x2cb)](){const _0x33c358=_0x4eaba6;this[_0x33c358(0x376)]()[_0x33c358(0x29d)](()=>super[_0x33c358(0x2cb)]());}async[_0x4eaba6(0x3be)](_0x5061c8){const _0x50d0c8=_0x4eaba6;return this[_0x50d0c8(0x38e)]?null:this[_0x50d0c8(0x21e)][_0x50d0c8(0x275)](_0x351a65(_0x5061c8));}async['saveOfflineData'](_0x15949f,_0x67b3e0){const _0x4d8687=_0x4eaba6;return!!this['_localStorageService'][_0x4d8687(0x23f)](_0x15949f,_0x67b3e0);}[_0x4eaba6(0x3af)](_0x38e8b1,_0x513533,_0x368005,_0x5e855a){const _0x301e7b=_0x4eaba6,_0x34344d=this[_0x301e7b(0x20b)][_0x301e7b(0x299)](_0x38e8b1);this[_0x301e7b(0x287)][_0x301e7b(0x307)](_0x38e8b1,{'unitID':_0x38e8b1,'type':_0x513533,'awaitingChangeset':_0x368005,'mutations':_0x5e855a,'rev':_0x34344d}),this[_0x301e7b(0x23a)][_0x301e7b(0x1e9)](_0x38e8b1)||this['_scheduleSaving'](_0x38e8b1);}[_0x4eaba6(0x358)](_0x16fde1){const _0x25e515=_0x4eaba6,_0x28c67b=this['_getSaveTimeout']();_0x28c67b===0x0?this['_saveCache'](_0x16fde1):this[_0x25e515(0x23a)]['set'](_0x16fde1,setTimeout(()=>this[_0x25e515(0x2b0)](_0x16fde1),_0x28c67b));}[_0x4eaba6(0x27b)](){const _0x2ce9ac=_0x4eaba6;var _0x125252;return(_0x125252=this[_0x2ce9ac(0x24f)]['getConfig'](_0x383cf6))!=null?_0x125252:_0xe4e9a8;}[_0x4eaba6(0x2b0)](_0x30d69b){const _0x1ee1fe=_0x4eaba6,_0x5c67db=this[_0x1ee1fe(0x23a)][_0x1ee1fe(0x254)](_0x30d69b);return _0x5c67db!==void 0x0&&window[_0x1ee1fe(0x29c)](_0x5c67db),this[_0x1ee1fe(0x21e)]['setItem'](_0x351a65(_0x30d69b),this['_cachedData'][_0x1ee1fe(0x254)](_0x30d69b))[_0x1ee1fe(0x29d)](()=>this[_0x1ee1fe(0x23a)]['delete'](_0x30d69b));}async[_0x4eaba6(0x376)](){const _0x87ec36=_0x4eaba6,_0x16e2ac=[];this[_0x87ec36(0x23a)]['forEach']((_0x44bfc7,_0x8d5bc7)=>{const _0x24ff3e=_0x87ec36;window[_0x24ff3e(0x29c)](_0x44bfc7),_0x16e2ac[_0x24ff3e(0x36c)](this['_saveCache'](_0x8d5bc7)[_0x24ff3e(0x29d)](()=>{const _0x1b7adf=_0x24ff3e;this['_saveTaskMap'][_0x1b7adf(0x2e9)](_0x8d5bc7);}));}),await Promise['all'](_0x16e2ac);}};function _0xc929(_0x4b1fbe,_0x5439d8){const _0x4acf1d=_0x4acf();return _0xc929=function(_0xc92920,_0x2bfba4){_0xc92920=_0xc92920-0x1c9;let _0x5612bf=_0x4acf1d[_0xc92920];return _0x5612bf;},_0xc929(_0x4b1fbe,_0x5439d8);}Le=_n([Ee(0x0,_0x25b8a1),Ee(0x1,_0x1064bb),Ee(0x2,_0x18907d(_0x40a97e))],Le);class hn extends _0x37b3a8{constructor(){const _0x4757e1=_0x4eaba6;super(),_(this,_0x4757e1(0x366)),this[_0x4757e1(0x366)]=_0x177e18(window,'popstate')[_0x4757e1(0x2b6)](_0x560bf3(this['dispose$']),_0x1e898c(0x1),_0x69ddc5(void 0x0));}[_0x4eaba6(0x2ef)](_0x21f57a,_0x3b940f,_0x5bdb95=!0x1){const _0x1d58ad=_0x4eaba6,_0x301a01=new URL(window[_0x1d58ad(0x22a)][_0x1d58ad(0x386)]);_0x301a01[_0x1d58ad(0x1d8)][_0x1d58ad(0x307)](_0x21f57a,_0x3b940f),_0x5bdb95?window[_0x1d58ad(0x3ab)][_0x1d58ad(0x305)]('','',_0x301a01['toString']()):window[_0x1d58ad(0x3ab)][_0x1d58ad(0x36e)]('','',_0x301a01[_0x1d58ad(0x2e8)]());}['removeParam'](_0x4f208a,_0x2ee36b=!0x1){const _0x17606f=_0x4eaba6,_0x49d2a4=new URL(window[_0x17606f(0x22a)]['href']);_0x49d2a4['searchParams'][_0x17606f(0x2e9)](_0x4f208a),_0x2ee36b?window[_0x17606f(0x3ab)]['replaceState']('','',_0x49d2a4[_0x17606f(0x2e8)]()):window[_0x17606f(0x3ab)][_0x17606f(0x36e)]('','',_0x49d2a4[_0x17606f(0x2e8)]());}[_0x4eaba6(0x2f8)](_0x1950a1){const _0x3b7c9d=_0x4eaba6;var _0x258652;return(_0x258652=new URL(window['location'][_0x3b7c9d(0x386)])[_0x3b7c9d(0x1d8)][_0x3b7c9d(0x254)](_0x1950a1))!=null?_0x258652:void 0x0;}}var un=Object[_0x4eaba6(0x398)],dn=Object[_0x4eaba6(0x293)],fn=(_0x13d492,_0x1a711f,_0x4c3dd5)=>_0x1a711f in _0x13d492?un(_0x13d492,_0x1a711f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c3dd5}):_0x13d492[_0x1a711f]=_0x4c3dd5,Sn=(_0x1c3e8c,_0x9f7812,_0x189635,_0x58ff43)=>{const _0x18d233=_0x4eaba6;for(var _0x492a95=_0x58ff43>0x1?void 0x0:_0x58ff43?dn(_0x9f7812,_0x189635):_0x9f7812,_0x343628=_0x1c3e8c[_0x18d233(0x2e6)]-0x1,_0x520e44;_0x343628>=0x0;_0x343628--)(_0x520e44=_0x1c3e8c[_0x343628])&&(_0x492a95=_0x520e44(_0x492a95)||_0x492a95);return _0x492a95;},Oe=(_0x35e87d,_0x2e9511)=>(_0x33c92e,_0x5ab14d)=>_0x2e9511(_0x33c92e,_0x5ab14d,_0x35e87d),mn=(_0x131e7e,_0x2b58ba,_0x3a9af3)=>fn(_0x131e7e,_0x2b58ba+'',_0x3a9af3);const In=_0x4eaba6(0x1fb);let Ae=class extends _0xe58874{constructor(_0x4db4e6=et,_0x161c6b,_0x272d9e,_0x8f52b3){const _0x35466c=_0x4eaba6;super(),this[_0x35466c(0x394)]=_0x4db4e6,this['_renderManagerService']=_0x161c6b,this['_injector']=_0x272d9e,this[_0x35466c(0x24f)]=_0x8f52b3;const {..._0xec3541}=_0x76d1ac({},et,this['_config']);this[_0x35466c(0x24f)][_0x35466c(0x334)](Zi,_0xec3541);}[_0x4eaba6(0x32f)](){const _0x4bd8b=_0x4eaba6;this[_0x4bd8b(0x1ee)](),this['_initDependencies']();}[_0x4eaba6(0x22d)](){const _0x5039ec=_0x4eaba6;this[_0x5039ec(0x2a8)]();}[_0x4eaba6(0x1ee)](){const _0x289ae6=_0x4eaba6;var _0x29c6d4;const _0x50919e=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x15ab2d,{'useClass':_0x3a1d1a}],[_0x2dbf9c,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x290cf4(this[_0x289ae6(0x36f)],_0x4ae91e(_0x50919e,(_0x29c6d4=this['_config'])==null?void 0x0:_0x29c6d4[_0x289ae6(0x23b)]));}[_0x4eaba6(0x2a8)](){const _0x1523da=_0x4eaba6;this[_0x1523da(0x1ca)](this['_renderManagerService'][_0x1523da(0x37b)](_0x549840['UNIVER_DOC'],[we])),this[_0x1523da(0x1ca)](this[_0x1523da(0x34d)][_0x1523da(0x37b)](_0x549840[_0x1523da(0x2ce)],[Pe]));}[_0x4eaba6(0x3b4)](){const _0x4c7de0=_0x4eaba6;_0xe9bebf(this[_0x4c7de0(0x36f)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4eaba6(0x36a),In),Ae=Sn([_0xff9419(_0x17d159),Oe(0x1,_0x2b5744),Oe(0x2,_0x18907d(_0x3e72ea)),Oe(0x3,_0x25b8a1)],Ae);var gn=Object[_0x4eaba6(0x293)],vn=(_0xd3f368,_0x16913e,_0x5d2737,_0x3dad7d)=>{for(var _0x50c783=_0x3dad7d>0x1?void 0x0:_0x3dad7d?gn(_0x16913e,_0x5d2737):_0x16913e,_0x4492cc=_0xd3f368['length']-0x1,_0x31a1dc;_0x4492cc>=0x0;_0x4492cc--)(_0x31a1dc=_0xd3f368[_0x4492cc])&&(_0x50c783=_0x31a1dc(_0x50c783)||_0x50c783);return _0x50c783;},K=(_0x16e194,_0x5a5421)=>(_0x3cff23,_0x3bde75)=>_0x5a5421(_0x3cff23,_0x3bde75,_0x16e194);let st=class extends _0x45335b{constructor(_0x1a5eb4,_0x4226c0,_0x2a4169,_0x403343,_0x5ed0fb){super(_0x1a5eb4,_0x4226c0,_0x2a4169,_0x403343,_0x5ed0fb);}async[_0x4eaba6(0x289)](_0x148bb8){const _0x32d401=_0x4eaba6,_0x30d50d=await this[_0x32d401(0x3a9)](),_0x648a8a=this[_0x32d401(0x353)](_0x148bb8,_0x30d50d);return this[_0x32d401(0x2f4)](_0x648a8a);}[_0x4eaba6(0x353)](_0x343a13,_0x5a6bb4){const _0x3be6a4=_0x4eaba6,_0x18fe59=typeof window>'u'?new URL(_0x343a13):new URL(_0x343a13,window['location'][_0x3be6a4(0x28d)]);_0x18fe59[_0x3be6a4(0x1d8)][_0x3be6a4(0x307)](_0x3be6a4(0x1e3),_0x5a6bb4);const _0x11b82a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3be6a4(0x22a)][_0x3be6a4(0x1f4)]);return _0x11b82a[_0x3be6a4(0x254)](_0x3be6a4(0x2fc))&&_0x18fe59['searchParams'][_0x3be6a4(0x307)]('runId',_0x11b82a[_0x3be6a4(0x254)](_0x3be6a4(0x2fc))),_0x18fe59[_0x3be6a4(0x2e8)]();}async[_0x4eaba6(0x3a9)](){const _0x13ec6e=_0x4eaba6;var _0x59feb0,_0x2a3e46,_0x3fe86b;const _0x2f45d9=this[_0x13ec6e(0x24f)][_0x13ec6e(0x3a4)](_0x3ffc75),_0x3741f4=(_0x59feb0=_0x2f45d9==null?void 0x0:_0x2f45d9[_0x13ec6e(0x3b0)])!=null?_0x59feb0:_0x17830a;return(_0x3fe86b=(_0x2a3e46=(await this[_0x13ec6e(0x3a8)][_0x13ec6e(0x254)](_0x3741f4,{'headers':{'Content-Type':_0x13ec6e(0x2b8)}}))['body'])==null?void 0x0:_0x2a3e46[_0x13ec6e(0x34c)])!=null?_0x3fe86b:'';}};st=vn([K(0x0,_0x18907d(_0x3e72ea)),K(0x1,_0x18907d(_0x3fd8e6)),K(0x2,_0x25b8a1),K(0x3,_0x194710),K(0x4,_0x1534d1)],st);const it=0x7530,nt=_0x4eaba6(0x379);class jn extends _0x344f28{constructor(){const _0x85b60b=_0x4eaba6;super(),_(this,_0x85b60b(0x2ab),_0x2d61e7()),_(this,'_selfUnitIDs',new Set()),_(this,_0x85b60b(0x252),new Map()),_(this,_0x85b60b(0x201),null),_(this,_0x85b60b(0x240),new Map()),_(this,_0x85b60b(0x268),new Map()),this['_init']();}['dispose'](){const _0x44c910=_0x4eaba6;super[_0x44c910(0x2cb)](),this['_clearOtherTimers']['forEach']((_0x12404d,_0x4f98d1)=>this[_0x44c910(0x392)](_0x4f98d1)),this[_0x44c910(0x201)]&&window[_0x44c910(0x2ec)](this[_0x44c910(0x201)]);}[_0x4eaba6(0x294)](_0x5bc39e){const _0x1ecc7b=_0x4eaba6;return this[_0x1ecc7b(0x232)](_0x5bc39e)[_0x1ecc7b(0x2b6)](_0x312486());}[_0x4eaba6(0x364)](_0x5e3c12){const _0x58e8f0=_0x4eaba6;this[_0x58e8f0(0x387)][_0x58e8f0(0x39e)]===0x0&&this[_0x58e8f0(0x33a)](),this[_0x58e8f0(0x387)][_0x58e8f0(0x24b)](_0x5e3c12),this[_0x58e8f0(0x32e)]({'type':0x0,'memberID':this[_0x58e8f0(0x2ab)],'unitIDs':[_0x5e3c12],'isForwarded':!0x1});}[_0x4eaba6(0x25e)](_0x49c58c){const _0x54394d=_0x4eaba6;this[_0x54394d(0x387)][_0x54394d(0x2e9)](_0x49c58c),this['_selfUnitIDs'][_0x54394d(0x39e)]===0x0&&this[_0x54394d(0x201)]&&window['clearInterval'](this[_0x54394d(0x201)]);}['_init'](){const _0x5f35b0=_0x4eaba6;this['disposeWithMe'](_0x453e2f(_0x177e18(window,_0x5f35b0(0x368))[_0x5f35b0(0x1fe)](_0x20e77b=>{const _0x1d73e8=_0x5f35b0;if(_0x20e77b[_0x1d73e8(0x3bd)]!==nt||!_0x20e77b[_0x1d73e8(0x348)])return;const _0x33c641=JSON[_0x1d73e8(0x317)](_0x20e77b[_0x1d73e8(0x348)]);this[_0x1d73e8(0x1ef)](_0x33c641);}))),window['addEventListener']('unload',()=>this[_0x5f35b0(0x32e)]({'type':0x1,'memberID':this[_0x5f35b0(0x2ab)],'unitIDs':Array[_0x5f35b0(0x242)](this[_0x5f35b0(0x387)])}));}['_handleEvent'](_0x422b8e){const _0x324f6b=_0x4eaba6;switch(_0x422b8e['type']){case 0x0:this[_0x324f6b(0x3c2)](_0x422b8e);break;case 0x1:this['_handleLeaveEvent'](_0x422b8e);break;case 0x2:this[_0x324f6b(0x383)](_0x422b8e);break;}}[_0x4eaba6(0x3c2)](_0x5036d2){const _0x79e96b=_0x4eaba6,{unitIDs:_0x2b4191,memberID:_0x2b639f,isForwarded:_0x40d85c}=_0x5036d2;_0x2b4191[_0x79e96b(0x25c)](_0x15216d=>{const _0xf87d1e=_0x79e96b;if(!_0x40d85c&&this[_0xf87d1e(0x252)]['has'](_0x15216d)&&this[_0xf87d1e(0x232)](_0x15216d)['next'](_0x4ecd4f[_0xf87d1e(0x22c)]),!this['_unitOnClients'][_0xf87d1e(0x1e9)](_0x15216d)||!this['_unitOnClients']['get'](_0x15216d)[_0xf87d1e(0x1e9)](_0x2b639f)){const _0x2db1dd=this[_0xf87d1e(0x252)][_0xf87d1e(0x254)](_0x15216d)||new Set();_0x2db1dd['add'](_0x2b639f),this['_unitOnClients'][_0xf87d1e(0x307)](_0x15216d,_0x2db1dd),this[_0xf87d1e(0x2c6)](_0x2b639f);}}),_0x40d85c||this[_0x79e96b(0x32e)]({'type':0x0,'memberID':this[_0x79e96b(0x2ab)],'unitIDs':[...this[_0x79e96b(0x387)]],'isForwarded':!0x0});}[_0x4eaba6(0x2c6)](_0x383f93){const _0x2dfb50=_0x4eaba6;this[_0x2dfb50(0x392)](_0x383f93);const _0x2856ff=window[_0x2dfb50(0x3bf)](()=>{const _0x351924=_0x2dfb50;this['_unitOnClients'][_0x351924(0x25c)](_0x25dfb6=>{const _0x4fb416=_0x351924;_0x25dfb6[_0x4fb416(0x2e9)](_0x383f93);});},it*0x2);this[_0x2dfb50(0x240)]['set'](_0x383f93,_0x2856ff);}['_removeClearOtherTimer'](_0x2cb0a1){const _0x1b4ba7=_0x4eaba6;if(this[_0x1b4ba7(0x240)]['has'](_0x2cb0a1)){const _0x27da44=this[_0x1b4ba7(0x240)][_0x1b4ba7(0x254)](_0x2cb0a1);_0x27da44&&window['clearTimeout'](_0x27da44),this[_0x1b4ba7(0x240)]['set'](_0x2cb0a1,null);}}[_0x4eaba6(0x224)](_0x5b14bb){const _0x3bf177=_0x4eaba6,{memberID:_0x5defd4,unitIDs:_0x16327a}=_0x5b14bb;_0x16327a[_0x3bf177(0x25c)](_0x1e6597=>{const _0x4e08b6=_0x3bf177;var _0x15b626;const _0x1fea3e=this[_0x4e08b6(0x252)][_0x4e08b6(0x254)](_0x1e6597);_0x1fea3e&&(_0x1fea3e['delete'](_0x5defd4),(_0x15b626=this[_0x4e08b6(0x232)](_0x1e6597))==null||_0x15b626[_0x4e08b6(0x2d5)](_0x1fea3e[_0x4e08b6(0x39e)]===0x0?_0x4ecd4f[_0x4e08b6(0x34a)]:_0x4ecd4f[_0x4e08b6(0x22c)]));}),this[_0x3bf177(0x392)](_0x5defd4);}[_0x4eaba6(0x383)](_0x5f8caa){const _0x69ebb4=_0x4eaba6;this[_0x69ebb4(0x2c6)](_0x5f8caa['memberID']);}[_0x4eaba6(0x32e)](_0x1d7993){const _0x15b2ab=_0x4eaba6;localStorage[_0x15b2ab(0x23f)](nt,JSON[_0x15b2ab(0x1e8)](_0x1d7993));}[_0x4eaba6(0x33a)](){const _0x4a1ca6=_0x4eaba6;this[_0x4a1ca6(0x201)]=window[_0x4a1ca6(0x2d2)](()=>{const _0x40aa3a=_0x4a1ca6;this[_0x40aa3a(0x32e)]({'type':0x2,'memberID':this[_0x40aa3a(0x2ab)]});},it);}['_ensureSubject'](_0x5919f4){const _0x411450=_0x4eaba6;return this[_0x411450(0x268)][_0x411450(0x1e9)](_0x5919f4)||this['_unitStatus'][_0x411450(0x307)](_0x5919f4,new _0x32e977(_0x4ecd4f['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x411450(0x254)](_0x5919f4);}}var Mt=(_0x5dafee=>(_0x5dafee[_0x5dafee[_0x4eaba6(0x1dd)]=0x0]=_0x4eaba6(0x1dd),_0x5dafee[_0x5dafee['OK']=0x1]='OK',_0x5dafee[_0x5dafee[_0x4eaba6(0x2db)]=0x2]=_0x4eaba6(0x2db),_0x5dafee[_0x5dafee[_0x4eaba6(0x27f)]=0x3]=_0x4eaba6(0x27f),_0x5dafee[_0x5dafee[_0x4eaba6(0x21c)]=0x4]=_0x4eaba6(0x21c),_0x5dafee[_0x5dafee[_0x4eaba6(0x2dc)]=0x5]=_0x4eaba6(0x2dc),_0x5dafee[_0x5dafee[_0x4eaba6(0x375)]=0x6]=_0x4eaba6(0x375),_0x5dafee[_0x5dafee[_0x4eaba6(0x24c)]=0x7]='INVALID_ARGUMENT',_0x5dafee[_0x5dafee['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x5dafee[_0x5dafee['COMPLETION_FINISHED']=0x9]=_0x4eaba6(0x204),_0x5dafee[_0x5dafee[_0x4eaba6(0x1e6)]=0xa]=_0x4eaba6(0x1e6),_0x5dafee[_0x5dafee[_0x4eaba6(0x29a)]=0x1389]=_0x4eaba6(0x29a),_0x5dafee[_0x5dafee['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4eaba6(0x342),_0x5dafee[_0x5dafee['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4eaba6(0x38d),_0x5dafee[_0x5dafee[_0x4eaba6(0x296)]=0x1773]=_0x4eaba6(0x296),_0x5dafee[_0x5dafee[_0x4eaba6(0x3a0)]=0x1b59]=_0x4eaba6(0x3a0),_0x5dafee[_0x5dafee[_0x4eaba6(0x3a5)]=0x1b5a]=_0x4eaba6(0x3a5),_0x5dafee[_0x5dafee[_0x4eaba6(0x369)]=0x1b5b]=_0x4eaba6(0x369),_0x5dafee[_0x5dafee[_0x4eaba6(0x29b)]=0x1b5c]=_0x4eaba6(0x29b),_0x5dafee[_0x5dafee[_0x4eaba6(0x2c8)]=0x1b5d]='APPLY_DUPLICATED',_0x5dafee[_0x5dafee[_0x4eaba6(0x2da)]=0x1f41]=_0x4eaba6(0x2da),_0x5dafee[_0x5dafee['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4eaba6(0x28c),_0x5dafee[_0x5dafee['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4eaba6(0x22e),_0x5dafee[_0x5dafee[_0x4eaba6(0x2bd)]=0x232b]=_0x4eaba6(0x2bd),_0x5dafee[_0x5dafee['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4eaba6(0x27d),_0x5dafee[_0x5dafee[_0x4eaba6(0x1da)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5dafee[_0x5dafee[_0x4eaba6(0x362)]=0x2711]=_0x4eaba6(0x362),_0x5dafee[_0x5dafee[_0x4eaba6(0x239)]=0x2712]=_0x4eaba6(0x239),_0x5dafee[_0x5dafee[_0x4eaba6(0x255)]=0x2713]=_0x4eaba6(0x255),_0x5dafee[_0x5dafee[_0x4eaba6(0x258)]=0x2714]=_0x4eaba6(0x258),_0x5dafee[_0x5dafee['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5dafee[_0x5dafee[_0x4eaba6(0x3b6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5dafee[_0x5dafee['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4eaba6(0x34b),_0x5dafee[_0x5dafee[_0x4eaba6(0x329)]=0x271d]=_0x4eaba6(0x329),_0x5dafee[_0x5dafee[_0x4eaba6(0x2eb)]=0x271e]=_0x4eaba6(0x2eb),_0x5dafee[_0x5dafee[_0x4eaba6(0x314)]=0x271f]=_0x4eaba6(0x314),_0x5dafee[_0x5dafee[_0x4eaba6(0x221)]=0x2af9]=_0x4eaba6(0x221),_0x5dafee[_0x5dafee[_0x4eaba6(0x2d6)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5dafee[_0x5dafee[_0x4eaba6(0x312)]=0x2ee2]='INVALID_INVITE_CODE',_0x5dafee[_0x5dafee[_0x4eaba6(0x3b8)]=0x2ee3]=_0x4eaba6(0x3b8),_0x5dafee[_0x5dafee[_0x4eaba6(0x2a2)]=0x2ee4]=_0x4eaba6(0x2a2),_0x5dafee[_0x5dafee['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4eaba6(0x2c2),_0x5dafee[_0x5dafee[_0x4eaba6(0x207)]=0x32c9]=_0x4eaba6(0x207),_0x5dafee[_0x5dafee['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4eaba6(0x2f1),_0x5dafee[_0x5dafee['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4eaba6(0x2f3),_0x5dafee[_0x5dafee[_0x4eaba6(0x230)]=-0x1]=_0x4eaba6(0x230),_0x5dafee))(Mt||{}),pn=Object[_0x4eaba6(0x293)],Cn=(_0x347d46,_0x4df43b,_0x26812e,_0x4e66e4)=>{const _0x5c0ccb=_0x4eaba6;for(var _0x360697=_0x4e66e4>0x1?void 0x0:_0x4e66e4?pn(_0x4df43b,_0x26812e):_0x4df43b,_0x6e850=_0x347d46[_0x5c0ccb(0x2e6)]-0x1,_0x58c1d1;_0x6e850>=0x0;_0x6e850--)(_0x58c1d1=_0x347d46[_0x6e850])&&(_0x360697=_0x58c1d1(_0x360697)||_0x360697);return _0x360697;},be=(_0x2256d7,_0x166771)=>(_0x3ad602,_0x757305)=>_0x166771(_0x3ad602,_0x757305,_0x2256d7);let rt=class extends _0x344f28{constructor(_0x31986a,_0x2e81db,_0x45f7b4){const _0x1116d4=_0x4eaba6;super(),this[_0x1116d4(0x39f)]=_0x31986a,this[_0x1116d4(0x3a8)]=_0x2e81db,this[_0x1116d4(0x24f)]=_0x45f7b4;}async[_0x4eaba6(0x372)](_0x9dac46,_0x412d6d,_0xbbd976,..._0x53eefe){const _0x3e7430=_0x4eaba6;var _0x126259,_0x1b9e33,_0x52a7ee,_0x51bb71;const _0x3ad8f3=this[_0x3e7430(0x39f)][_0x3e7430(0x21b)]();if(!_0x3ad8f3)throw new Error(_0x3e7430(0x1ff));const _0x42af72=((_0x126259=this['_configService'][_0x3e7430(0x3a4)](_0x1ce0d7))!=null?_0x126259:_0x455e1c)+'/'+_0x9dac46+'/run/'+_0x412d6d,_0xbd818e=new URL(window[_0x3e7430(0x22a)][_0x3e7430(0x386)]),_0x44ea9f={'scriptId':_0x9dac46,'runId':(_0x1b9e33=_0xbd818e[_0x3e7430(0x1d8)][_0x3e7430(0x254)]('runId'))!=null?_0x1b9e33:'','function':_0x412d6d,'unitId':_0x3ad8f3[_0x3e7430(0x373)](),'argsOfFunction':JSON[_0x3e7430(0x1e8)](_0x53eefe),'invokeId':(_0x52a7ee=_0xbbd976['invokeId'])!=null?_0x52a7ee:'','executionId':(_0x51bb71=_0xbbd976[_0x3e7430(0x396)])!=null?_0x51bb71:''};try{const _0x45c0b8=await this['_httpService'][_0x3e7430(0x272)](_0x42af72,{'body':_0x44ea9f});return _0x45c0b8[_0x3e7430(0x25f)][_0x3e7430(0x21d)]&&_0x45c0b8[_0x3e7430(0x25f)][_0x3e7430(0x21d)]['code']!==Mt['OK']?_0x3e7430(0x309):_0x45c0b8[_0x3e7430(0x25f)][_0x3e7430(0x346)];}catch{return _0x3e7430(0x309);}}};rt=Cn([be(0x0,_0x51bea5),be(0x1,_0x18907d(_0x3fd8e6)),be(0x2,_0x25b8a1)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
|
package/lib/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x1099d6=_0x3a88;function _0x30cd(){const _0x20dc07=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','250jCXabi','1497EjsQCW','130212yvmpkh','Authentication\x20Error','10086GuZgxP','Click\x20to\x20Reconnect','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','62057phNsgS','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','4mcHnJL','2226pcDuqW','212EmqpUi','244125WSnFhg','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.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','4773048QXXkNQ','2588425jAGkby','528gkQcsj','Synced','Syncing...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts'];_0x30cd=function(){return _0x20dc07;};return _0x30cd();}function _0x3a88(_0x1a7d83,_0x5ed691){const _0x30cd23=_0x30cd();return _0x3a88=function(_0x3a8892,_0x5b25f4){_0x3a8892=_0x3a8892-0x15f;let _0x59dda9=_0x30cd23[_0x3a8892];return _0x59dda9;},_0x3a88(_0x1a7d83,_0x5ed691);}(function(_0x3eb921,_0x210a3e){const _0x48ddb4=_0x3a88,_0x2235c7=_0x3eb921();while(!![]){try{const _0x555d67=parseInt(_0x48ddb4(0x160))/0x1*(parseInt(_0x48ddb4(0x162))/0x2)+parseInt(_0x48ddb4(0x173))/0x3*(parseInt(_0x48ddb4(0x164))/0x4)+parseInt(_0x48ddb4(0x169))/0x5+parseInt(_0x48ddb4(0x176))/0x6*(parseInt(_0x48ddb4(0x163))/0x7)+-parseInt(_0x48ddb4(0x168))/0x8+parseInt(_0x48ddb4(0x165))/0x9*(-parseInt(_0x48ddb4(0x172))/0xa)+parseInt(_0x48ddb4(0x16a))/0xb*(parseInt(_0x48ddb4(0x174))/0xc);if(_0x555d67===_0x210a3e)break;else _0x2235c7['push'](_0x2235c7['shift']());}catch(_0x4c4864){_0x2235c7['push'](_0x2235c7['shift']());}}}(_0x30cd,0x6d980));const e={'collab-client':{'tooltip':{'reconnect':_0x1099d6(0x177)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x1099d6(0x16e),'notCollab':'Local\x20file','synced':_0x1099d6(0x16b),'syncing':_0x1099d6(0x16c),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x1099d6(0x167),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x1099d6(0x16f)},'conflict':{'title':_0x1099d6(0x170),'content':_0x1099d6(0x166)},'permission':{'title':_0x1099d6(0x175),'content':_0x1099d6(0x15f)},'collaboration':{'single-unit':{'warning':_0x1099d6(0x161)},'closeRoom':_0x1099d6(0x16d)},'auth':{'needGotoLoginAlert':_0x1099d6(0x171)}};export{e as default};
|
package/lib/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0x14b989=_0x210a;function _0x210a(_0x1a938c,_0x25be84){const _0x39109a=_0x3910();return _0x210a=function(_0x210ac6,_0x34450b){_0x210ac6=_0x210ac6-0xbd;let _0x3dccef=_0x39109a[_0x210ac6];return _0x3dccef;},_0x210a(_0x1a938c,_0x25be84);}function _0x3910(){const _0x3a3843=['پرونده\x20محلی','2093432jUzNir','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','311624PuXibb','تداخل\x20همکاری','9hRgBxH','3061650RAgFtg','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1WpdbNT','آفلاین،\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شوند.','66kGMUAW','در\x20حال\x20همگام\x20سازی...','همگام\x20سازی','487425VnGRoc','یک\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رفت.','88QGLFxl','161185lYIlSa','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','8NwjUAR','847CpSUrB','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','535404RcYLTI'];_0x3910=function(){return _0x3a3843;};return _0x3910();}(function(_0x25562c,_0x4e712f){const _0x58fc0b=_0x210a,_0x323ed6=_0x25562c();while(!![]){try{const _0x36846e=-parseInt(_0x58fc0b(0xc9))/0x1*(parseInt(_0x58fc0b(0xc4))/0x2)+parseInt(_0x58fc0b(0xd1))/0x3+-parseInt(_0x58fc0b(0xd8))/0x4*(parseInt(_0x58fc0b(0xd4))/0x5)+-parseInt(_0x58fc0b(0xce))/0x6*(-parseInt(_0x58fc0b(0xbd))/0x7)+parseInt(_0x58fc0b(0xc2))/0x8*(parseInt(_0x58fc0b(0xc6))/0x9)+parseInt(_0x58fc0b(0xc7))/0xa+-parseInt(_0x58fc0b(0xd3))/0xb*(parseInt(_0x58fc0b(0xc0))/0xc);if(_0x36846e===_0x4e712f)break;else _0x323ed6['push'](_0x323ed6['shift']());}catch(_0x3975a1){_0x323ed6['push'](_0x323ed6['shift']());}}}(_0x3910,0x25b3c));const o={'collab-client':{'tooltip':{'reconnect':_0x14b989(0xbe)}},'collabStatus':{'fetchMiss':_0x14b989(0xd5),'conflict':_0x14b989(0xcb),'notCollab':_0x14b989(0xc1),'synced':_0x14b989(0xd0),'syncing':_0x14b989(0xcf),'offline':_0x14b989(0xca)},'session':{'connection-failed':_0x14b989(0xbf),'will-retry':_0x14b989(0xcc),'room-full':_0x14b989(0xc3),'collaboration-timeout':_0x14b989(0xcd)},'conflict':{'title':_0x14b989(0xc5),'content':_0x14b989(0xd2)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x14b989(0xd7)},'collaboration':{'single-unit':{'warning':_0x14b989(0xc8)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x14b989(0xd6)}};export{o as default};
|