@univerjs-pro/collaboration-client-ui 0.10.0 → 0.10.1-nightly.202508020912

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x558576=_0x579d;(function(_0x300811,_0x142b43){const _0x105f0e=_0x579d,_0x4a1393=_0x300811();while(!![]){try{const _0xcb156d=-parseInt(_0x105f0e(0x154))/0x1*(parseInt(_0x105f0e(0x117))/0x2)+parseInt(_0x105f0e(0x1fc))/0x3*(-parseInt(_0x105f0e(0x116))/0x4)+parseInt(_0x105f0e(0x291))/0x5+-parseInt(_0x105f0e(0xad))/0x6+parseInt(_0x105f0e(0xfa))/0x7*(-parseInt(_0x105f0e(0x1cf))/0x8)+-parseInt(_0x105f0e(0xc7))/0x9+parseInt(_0x105f0e(0x21e))/0xa;if(_0xcb156d===_0x142b43)break;else _0x4a1393['push'](_0x4a1393['shift']());}catch(_0xaa54f){_0x4a1393['push'](_0x4a1393['shift']());}}}(_0x5e78,0xbd1f5));var xt=Object[_0x558576(0x227)],Bt=(_0x153936,_0x438160,_0x5c1bb3)=>_0x438160 in _0x153936?xt(_0x153936,_0x438160,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c1bb3}):_0x153936[_0x438160]=_0x5c1bb3,_=(_0x4a200a,_0x4da3c1,_0x5c0ab5)=>Bt(_0x4a200a,typeof _0x4da3c1!=_0x558576(0x1c1)?_0x4da3c1+'':_0x4da3c1,_0x5c0ab5);function _0x5e78(){const _0x51c4a1=['cursorInfo','onPointerMove$','_registerDependencies','_session','params','_transformPreviousActiveRange','disposeWithMe','YUUMI_CONNECTOR_URL_NOT_FOUND','extend','COMPLETION_FINISHED','setItem','collabStatus.conflict','Error','_docSyncEditingCollabCursorService','assign','_docSkeletonManagerService','_handleHeartbeatEvent','...','_initEntityListener','APPLY_REVISION_CONFILICT','Failed','actions','tag','subscribe','_render','_cursors','getVpScrollXYInfoByPosToVp','disableLocalCache','children','_onCursorDelete','makeDirty','_getSheetObject','_ensureSubject','CHANGESET_REVISION_CONFILICT','fill','_configService','_imageIoService','9dHhIrC','_sheetSkeletonManagerService','SNAPSHOT_INVALID_SNAPSHOT','unload','univer-flex\x20univer-items-center','_transformService','_selfUnitIDs','getCurrentUnitForType','_injector','requireSession','_setupSubUnitSync','_range','getRenderById','_getAnchorBounding','unit','forEach','_handleEvent','_beforeCloseService','collaboration-client-ui.config','row','transformStateCache','all','_entityInit$','[CollaborationDataLoaderController]','_name','_removeClearOtherTimer','_revisionService','WECHAT_HAS_BEEN_BOUND','onStarting','fillText','collab-rect-range-','roomMembers','CONFLICT','registerBeforeClose','57190560xytlgQ','_docTransformStateCacheService','currentTheme$','transformMutationsWithChangeset','mutations','_initDependencies','_backgroundColor','getCollabEntity$','getUnitId','defineProperty','transformIMECache','with','top','_scheduleHeartbeat','whenReady','clearTimeout','transform','prototype','_initResize','_collabSessionService','_docStateChangeManagerService','getOwnPropertyDescriptor','imageSourceType','getCellPositionByOffset','UNIVER_DOC','permission.title','lineTo','_assignedColors','_urlService','_initStatusListener','collab-text-range-','concat','width','getOwnPropertySymbols','M0\x200H16V16H0z','colorChannel1','RemoveColCommandId','collaboration.closeRoom','_shapes','PY_RUNTIME_SCRIPT_ERROR','getActiveRange','div','send','runOnServer','0\x200\x2017\x2016','YUUMI_TABLE_NOT_FOUND_IN_UNIT','delete','fillStyle','init','set','onPointerEnter$','subUnitId','history','DeleteRangeMoveUpCommandId','unitID','isEditing','idSuffix','currentSkeleton$','save','_localStorageService','_color','Unknown\x20user','_saveTaskMap','has','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','indexOf','getStateCache','_collabCursorState$','isActive','_scheduleSaving','_hover','_drawRectRange','YUUMI_AI_RUN_FAILED','getMember','_hovered','evenodd','getRangePointData','_messageService','_anchor','SOCKET_FAILED','collaboration.single-unit.warning','_getSaveTimeout','startColumn','collabStatus.notCollab','currentColor','_document','_toggleOffline','_registerRenderDependencies','url(#off-line-icon_clip0_910_343)','_initCommandExecutedListener','deepClone','getValue','DeleteRangeMoveLeftCommandId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','unshift','getActiveSheet','moveTo','uni.network.url-service','setShapeProps','startsWith','_onRefRangeChange','backgroundColor','_config','reconnect','APPLY_NON_SEQUENTIAL_REVISION','blue.400','TOO_MANY_REQUESTS','_themeService','_startDocCollabCursor','getRelativeToViewportCoord','subunit','redoState','session.collaboration-timeout','entries','focused$','2010705eJTqQB','LICENSE_DISTRO_REJECTED','data','key','bottom','type','size','_getScale','_httpService','m1Prime','univerjs-icon\x20univerjs-icon-','_dataLoaderService','unitId','addObjects','replace','location','RECT','min','_colorIndex','_instanceService','_saveCache','SNAPSHOT_HAS_BEEN_REMOVED','OFFLINE','defIds','_cachedData','_renderManagerService','_updateURLWithCurrentState','registerRefRange','then','url(#on-line-icon_clip0_910_349)','selections','5975196MoKcBs','_toggleOnline','body','YUUMI_NO_CUBOID_FOR_QUESTION','_onCursorUpdate','getFocusedUnit','UPDATE_CURSOR','hovered','_refRangeService','_updateLocalCursor','_updateCollabCursors','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','permission.content','startRow','_colorAssignService','_draw','replaceState','InsertRangeMoveRightCommandId','_setupBeforeClosingHandler','TEXT','white','_handleJoinEvent','urlChange$','_unitStatus','override','text','11035521gbmJrd','CONNECTOR_DATA_TOO_LARGE','subscribeEvent','AWAITING_WITH_PENDING','function','LICENSE_EXPORT_SIZE_EXCEEDED','getUnhiddenWorksheets','string','textRanges','on-line-icon_clip0_910_349','MOBILE_HAS_BEEN_BOUND','Warning','undoState','YUUMI_ASYNCIO_CANCELLED','arc','ONLINE','_updateSubUnitFromURLParams','INVALID_ARGUMENT','_uiPartsService','SYNCED','newValue','endColumn','_send','jiqing.500','setActiveRange','_clearOtherTimers','setUndoRedoMutationParamsCache','NO_OTHER_CLIENTS_EDITING','apply','defs','_removeCollabCursors','_localCacheService','url(#$1','hide','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','NOT_COLLAB','_drawAnchor','AWAITING','result','propertyIsEnumerable','_docTransformSelectionsService','setStateCache','loadUnit','_transformUndoRedoStack','drawWith','findNodePositionByCharIndex','stringify','exhaustSavingTask','JOIN_ROOM_FAILED','split','7KrGksg','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','docStateChange$','call','PENDING','_textBubble','runId','href','isArray','LOGIN_FAILED','0\x200\x2016\x2016','range','cursorInfo$','collaboration-client.offline-data-not-saved','OTHER_CLIENTS_EDITING','get','_id','UniverIcon','dispose$','from','font','_anchorDot','_getSessionTicket','getUndoRedoMutationParamsCache','InsertColCommandId','_initEvent','doc.mutation.rich-text-editing','CLOSE_ROOM','1292888aTjMhU','2wdicAu','YUUMI_RATE_OVER_LIMIT','purple.300','color','add','getCurrentSelections','collabStatus.syncing','length','LICENSE_IMPORT_SIZE_EXCEEDED','unsubscribe','syncEditingCollabCursor','some','_docTransformIMECacheService','getDocRanges','clipPath','registerComponent','entityInit$','_notificationService','InsertRowCommandId','_scheduleClearOtherTimer','mask','univer-mr-2\x20univer-flex\x20univer-text-xl','executeCommand','transformMutation','searchParams','_context','_cursor','find','MOBILE_VERIFY_CODE_MISMATCH','FromArray','YUUMI_SUBSCRIPTION_NOT_FOUND','getConfig','OTHER_CLIENT_EDITING','INVITE_CODE_ALREADY_BOUND','getParam','NOT_FOUND','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','USERS_LEAVE','sheetID','getMemberID','toRgbString','_handleHover','_univerInstanceService','_startSheetCollabCursor','_lastPointer','_transformHistoryAndStateStack','parse','error','createInstance','EMAIL_HAS_BEEN_BOUND','transformByState','asObservable','getSheetBySheetId','editingUnit','loadOfflineData','updateOfflineData','_logService','1em','setParam','_online','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','1093418TLsPuB','restore','addHandlerCallback','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','USER_NOT_INVITED_CODE','clearInterval','_labelPosition','setTimeout','_getMergeRange','getSheetId','http://www.w3.org/2000/svg','transformSelections','m2Prime','setAlpha','_collabCursorController','_commandService','eventID','className','_refreshCollabCursors','getCollabCursors$','roomMembers$','onPointerLeave$','_drawTextRange','registerRenderModule','INVITE_CODE_HAS_BEEN_UES','UNIVER_SHEET','pipe','disposeUnit','onTransformChange$','enableLocalCache','getViewport','height','FETCH_MISS','getCurrent','_init','push','getOffsetConfig','getTypeOfUnitAdded$','OnLineIcon','ranges','post','_collaborationUIEventService','labelPosition','getTypeOfUnitDisposed$','path','resize','YUUMI_UNABLE_LOAD_URL','show','ALREADY_EXISTS','transformRemoteChangeset','getColorFromTheme','_unitOnClients','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','_status$','_initStatusComponent','name','measureText','svg','getUniverSheetInstance','onMouseMove','pluginName','ENSURE_SNAPSHOT_EXECUTION','onLocalMutation','complete','black','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_localeService','none','saveImage','INVITE_CODE_REQUIRED','collabCursorState$','session.connection-failed','_docClipboardService','getAncestorScale','includes','contains','sessionStatus$','_entities','memberID','_createSocketURL','map','UNAUTHENTICATED','_scene','icon','attrs','onCommandExecuted','UNDEFINED','popstate','collabStatus.synced','_cursorShapes','PERMISSION_DENIED','addEventListener','ticket','saveTaskMap','values','closePath','addObject','/run/','fillRule','xlink:href','toString','random','#FFF','rgba(255,\x20255,\x20255,\x200.01)','invokeId','_disabled','EMAIL_VERIFY_CODE_MISMATCH','next','collab-text-anchor-','symbol','_heartbeatTimer','APPLY_REJECT','UNRECOGNIZED','event$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','YUUMI_ALL_TABLES_IS_INVALID','_cursorInfo$','getSkeleton','displayName','dispose','INVALID_INVITE_CODE','assignAColorForMemberID','pushState','8491464ogvlvB','round','_roomMembers$','APPLY_DUPLICATED','hasOwnProperty','_handleLeaveEvent','_hideTimer','_eventUnsubscribe'];_0x5e78=function(){return _0x51c4a1;};return _0x5e78();}import{MemberService as _0x7d9ec2,SessionStatus as _0x18b0c6,CollaborationSessionService as _0x59aca7,CollaborationStatus as _0x333d80,CollaborationController as _0x62c6dc,ILocalCacheService as _0x20f0df,CollaborationUIEventService as _0x17e6a8,CollaborationUIEventId as _0x1e3b11,DataLoaderService as _0x818159,DocCollaborationEntity as _0x31ddbf,getLocalCacheKey as _0x1a4960,LOCAL_CACHE_INTERVAL as _0x2d5902,LOCAL_CACHE_INTERVAL_KEY as _0x4172cc,UniverCollaborationClientPlugin as _0x398380,CollaborationSocketService as _0x3cce14,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x1fe776,DEFAULT_WS_SESSION_TICKET_URL as _0x1866d2,UnitStatus as _0x505f3c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xdb65f7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x259a67}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5ab30e,Disposable as _0x12187e,DOC_RANGE_TYPE as _0x5bba3d,Inject as _0x194e08,Injector as _0x316a89,IUniverInstanceService as _0x2ba6d0,ICommandService as _0x5e0729,debounce as _0x4a6659,Rectangle as _0x12fcda,DisposableCollection as _0xe598dc,toDisposable as _0x4cdd3b,UniverInstanceType as _0x4b1a9c,generateRandomId as _0x3204e4,COLORS as _0xc3174c,ColorKit as _0x4ba188,ThemeService as _0x3238a3,fromEventSubject as _0x2f9331,LocaleService as _0x17cedb,createIdentifier as _0x3796d8,ILogService as _0x36997e,Optional as _0x20cd0b,Workbook as _0x11d483,Tools as _0x3324fe,CommandType as _0x169c49,IConfigService as _0x8c945e,ILocalStorageService as _0x1934a3,DependentOn as _0x118085,Plugin as _0x4a7d6d,merge as _0x3ed7e2,registerDependencies as _0x45d66a,mergeOverrideWithDependencies as _0x5bdfb1,touchDependencies as _0x576131}from'@univerjs/core';import{Shape as _0x41e134,Rect as _0x1bad46,getColor as _0x3bbc80,RegularPolygon as _0x365a61,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3267fb,Vector2 as _0x569550,SHEET_VIEWPORT_KEY as _0xd5a32b,IRenderManagerService as _0x3e366f}from'@univerjs/engine-render';import{ISocketService as _0x2c7f7d,WebSocketService as _0x43c46c,HTTPService as _0x541d05}from'@univerjs/network';import{IDocClipboardService as _0x44701b,NodePositionConvertToCursor as _0x250285,NodePositionConvertToRectRange as _0x3eb40b,TEXT_RANGE_LAYER_INDEX as _0x25c1d3,SetDocZoomRatioOperation as _0x28f0c0,DocIMEInputManagerService as _0xb7bf41,DocStateChangeManagerService as _0x2a22aa}from'@univerjs/docs-ui';import{IImageIoService as _0x1ab6a4}from'@univerjs/drawing';import{BehaviorSubject as _0x344465,debounceTime as _0x245350,takeUntil as _0x2e6a50,Subject as _0x49ab80,filter as _0x4e0d93,switchMap as _0x56f529,merge as _0x1c7443,combineLatest as _0x4fcab2,of as _0x5f58fc,fromEvent as _0x5dd366,shareReplay as _0x1ed1eb,mapTo as _0x1c1715,distinctUntilChanged as _0x530c25}from'rxjs';import{ITransformService as _0x53b600,CollaborationEvent as _0x63d875,isTransformMutationFailure as _0x2cd84e,isTransformMutationsWithChangesetSuccess as _0x376955,RevisionService as _0x356841,ISnapshotServerService as _0x1f8913}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x3b48bd,RichTextEditingMutation as _0x49e299,DocSelectionManagerService as _0x4eded8,DocSkeletonManagerService as _0x34d791}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x26e891,serializeRangeWithSheet as _0x42baa6}from'@univerjs/engine-formula';import{RefRangeService as _0x43c393,SetSelectionsOperation as _0x4ebbd6,SheetsSelectionsService as _0x153c9d,EffectRefRangId as _0x19d152,handleIRemoveRow as _0x18ed09,handleIRemoveCol as _0x1f93ad,handleMoveRange as _0x3f5064,handleInsertRow as _0x3d2e1f,handleInsertRangeMoveRight as _0xac6a4e,handleInsertRangeMoveDown as _0x1ddc83,handleInsertCol as _0x304fcb,handleDeleteRangeMoveUp as _0x45edc1,handleDeleteRangeMoveLeft as _0x2919e8,runRefRangeMutations as _0x3f1b0f,SetWorksheetActivateCommand as _0x2558a9}from'@univerjs/sheets';import{map as _0x54a24d,filter as _0x29be8b,throttleTime as _0x34e1b6,takeUntil as _0x6a86cf,switchMap as _0x32ab40}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2aa2c1,getCoordByCell as _0x3d1154,getSheetObject as _0x5b48ba}from'@univerjs/sheets-ui';import{jsx as _0x5d8a54,jsxs as _0x45d7a9}from'react/jsx-runtime';import{useObservable as _0x27b81c,useDependency as _0x57676b,IUIPartsService as _0x2de367,BuiltInUIPart as _0x89900f,connectInjector as _0x4f3cac,IBeforeCloseService as _0x54a871,IMessageService as _0x103f10,INotificationService as _0x7996e4}from'@univerjs/ui';import{Tooltip as _0x5abf17,clsx as _0xaa4f69,MessageType as _0x3aafdb}from'@univerjs/design';import{forwardRef as _0xeaae3e,useRef as _0x477443,createElement as _0x5f4359,useCallback as _0x27d82d}from'react';import{IRemoteInstanceService as _0xb1bc40}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x301ca1,_0x4c20b6,_0x4a89db,_0x9360)=>{const _0x79340d=_0x558576;for(var _0x46c5a9=_0x9360>0x1?void 0x0:_0x9360?ci(_0x4c20b6,_0x4a89db):_0x4c20b6,_0x303a62=_0x301ca1[_0x79340d(0x11e)]-0x1,_0x400926;_0x303a62>=0x0;_0x303a62--)(_0x400926=_0x301ca1[_0x303a62])&&(_0x46c5a9=_0x400926(_0x46c5a9)||_0x46c5a9);return _0x46c5a9;},Je=(_0x1f4368,_0x596d9a)=>(_0xae7a08,_0x571cc2)=>_0x596d9a(_0xae7a08,_0x571cc2,_0x1f4368);let Ne=class extends _0x5ab30e{constructor(_0x291183,_0x5a0c99){const _0x2804bc=_0x558576;super(),this[_0x2804bc(0x19c)]=_0x291183,this[_0x2804bc(0x1fb)]=_0x5a0c99,this[_0x2804bc(0x176)]();}[_0x558576(0x176)](){const _0x58485a=_0x558576,_0x222545=this;this['disposeWithMe'](this[_0x58485a(0x19c)]['addClipboardHook']({'onBeforePasteImage':async _0x10a5f3=>{const _0x5169f6=_0x58485a,_0x1f1cb2=await _0x222545[_0x5169f6(0x1fb)][_0x5169f6(0x198)](_0x10a5f3);return _0x1f1cb2?{'source':_0x1f1cb2['source'],'imageSourceType':_0x1f1cb2[_0x5169f6(0x234)]}:null;}}));}};Ne=li([Je(0x0,_0x44701b),Je(0x1,_0x1ab6a4)],Ne);const Ze=[_0x558576(0x119),_0x558576(0xde),'green.600','red.300',_0x558576(0x287),'yellow.400'];class ke extends _0x12187e{constructor(){const _0x5a2614=_0x558576;super(...arguments),_(this,_0x5a2614(0x239),new Map()),_(this,_0x5a2614(0xa0),0x0);}[_0x558576(0x1cd)](_0x2fd75c){const _0x46ac3b=_0x558576;if(this[_0x46ac3b(0x239)]['has'](_0x2fd75c))return this[_0x46ac3b(0x239)]['get'](_0x2fd75c);const _0x2ea741=Ze[this[_0x46ac3b(0xa0)]];return this['_colorIndex']=(this[_0x46ac3b(0xa0)]+0x1)%Ze['length'],this[_0x46ac3b(0x239)][_0x46ac3b(0x24f)](_0x2fd75c,_0x2ea741),_0x2ea741;}}function Rt(_0x13ed70){const _0xb4ea3d=_0x558576;let _0x70cac9='';for(const _0x1b1b39 of _0x13ed70){const {startOffset:_0x1d1e09,endOffset:_0x582735,isActive:_0x311674,rangeType:_0x64c109,segmentId:_0x1b00ac,segmentPage:_0x2f0662}=_0x1b1b39;_0x70cac9[_0xb4ea3d(0x11e)]&&(_0x70cac9+=','),_0x70cac9+=_0x1d1e09+':'+_0x582735+':'+(_0x311674?'1':'0')+':'+_0x64c109+':'+_0x1b00ac+':'+_0x2f0662;}return _0x70cac9;}function _i(_0x5bc736){const _0xb512f2=_0x558576,_0x156af2=_0x5bc736['split'](','),_0x2d4c19=[];for(const _0x4e7fe9 of _0x156af2){const [_0x97b8f9,_0x147939,_0x29fcfa,_0x1dacff,_0x307e43,_0xceeb1d]=_0x4e7fe9[_0xb512f2(0xf9)](':');_0x2d4c19[_0xb512f2(0x177)]({'startOffset':Number(_0x97b8f9),'endOffset':Number(_0x147939),'collapsed':_0x97b8f9===_0x147939,'isActive':_0x29fcfa==='1','rangeType':_0x1dacff===_0x5bba3d[_0xb512f2(0xc0)]?_0x5bba3d[_0xb512f2(0xc0)]:_0x5bba3d['RECT'],'segmentId':typeof _0x307e43==_0xb512f2(0xce)?String(_0x307e43):'','segmentPage':Number(_0xceeb1d!=null?_0xceeb1d:-0x1)});}return _0x2d4c19[_0xb512f2(0x122)](_0x31613f=>_0x31613f[_0xb512f2(0x262)])||(_0x2d4c19[0x0][_0xb512f2(0x262)]=!0x0),_0x2d4c19;}class He extends _0x5ab30e{constructor(){const _0x2a7fc8=_0x558576;super(...arguments),_(this,_0x2a7fc8(0x261),new _0x344465(null)),_(this,_0x2a7fc8(0x19a),this['_collabCursorState$'][_0x2a7fc8(0x14a)]());}[_0x558576(0x121)](_0x36a780){const _0x3a631e=_0x558576,{unitID:_0x25cb8f,memberID:_0x4778e2,textRanges:_0x25c31a}=_0x36a780,_0x43ae97=Rt(_0x25c31a);if(_0x43ae97==='')return;const _0x21f668={'unitID':_0x25cb8f,'memberID':_0x4778e2,'selection':_0x43ae97};this[_0x3a631e(0x261)][_0x3a631e(0x1bf)](_0x21f668);}}var hi=Object[_0x558576(0x233)],ui=(_0x546cfb,_0x208a17,_0x53bca6,_0x26e335)=>{for(var _0xbcaa95=_0x26e335>0x1?void 0x0:_0x26e335?hi(_0x208a17,_0x53bca6):_0x208a17,_0x35fb37=_0x546cfb['length']-0x1,_0x15ed67;_0x35fb37>=0x0;_0x35fb37--)(_0x15ed67=_0x546cfb[_0x35fb37])&&(_0xbcaa95=_0x15ed67(_0xbcaa95)||_0xbcaa95);return _0xbcaa95;},P=(_0x14a07a,_0x1a95a6)=>(_0x23203d,_0x120e5d)=>_0x1a95a6(_0x23203d,_0x120e5d,_0x14a07a);const di=0x12c,fi=0x64;let Ue=class extends _0x5ab30e{constructor(_0x3d459f,_0x5ca457,_0x571fa8,_0x26e26e,_0x209f14,_0x133822,_0x141d02,_0x2aea08,_0x2f7fda){const _0x3c042e=_0x558576;super(),_(this,_0x3c042e(0x152),!0x1),_(this,'_init',!0x1),_(this,_0x3c042e(0x1c8),new _0x344465(new Map())),_(this,_0x3c042e(0x106),this[_0x3c042e(0x1c8)]['asObservable']()),_(this,'_roomMembers$',new _0x344465([])),_(this,_0x3c042e(0x168),this[_0x3c042e(0x1d1)][_0x3c042e(0x16e)](_0x245350(di))),_(this,_0x3c042e(0xb6),_0x4a6659(_0x2fb27b=>{const _0xd35da1=_0x3c042e,_0x20f1fd={'eventID':_0x63d875[_0xd35da1(0xb3)],'data':{'unitID':this[_0xd35da1(0x254)],'memberID':this['_session'][_0xd35da1(0x13e)](),'selection':Rt(_0x2fb27b)}};this[_0xd35da1(0x1da)]['send'](_0x20f1fd,this[_0xd35da1(0x254)]);},fi)),(this[_0x3c042e(0x254)]=_0x3d459f,this['_session']=_0x5ca457,this[_0x3c042e(0x204)]=_0x571fa8,this[_0x3c042e(0xbb)]=_0x26e26e,this['_memberService']=_0x209f14,this['_syncEditingCollabCursorService']=_0x133822,this[_0x3c042e(0x201)]=_0x141d02,this['_univerInstanceService']=_0x2aea08,this[_0x3c042e(0x163)]=_0x2f7fda);}get[_0x558576(0x1d7)](){const _0x167f79=_0x558576;return this[_0x167f79(0x1c8)][_0x167f79(0x279)]();}get['roomMembers'](){const _0x21a3a3=_0x558576;return this[_0x21a3a3(0x1d1)][_0x21a3a3(0x279)]();}['dispose'](){const _0x1b477b=_0x558576;super[_0x1b477b(0x1cb)](),this[_0x1b477b(0x1c8)][_0x1b477b(0x1bf)](new Map()),this[_0x1b477b(0x1c8)]['complete'](),this['_roomMembers$']['next']([]),this[_0x1b477b(0x1d1)][_0x1b477b(0x193)]();}[_0x558576(0x24e)](){const _0x42ef8b=_0x558576;this[_0x42ef8b(0x176)]||(this[_0x42ef8b(0x176)]=!0x0,this[_0x42ef8b(0x1da)][_0x42ef8b(0x1a0)][_0x42ef8b(0x16e)](_0x2e6a50(this[_0x42ef8b(0x10c)]))[_0x42ef8b(0x1ee)](_0x80ed8f=>{const _0x3f86e8=_0x42ef8b;_0x80ed8f===_0x18b0c6['ONLINE']?this[_0x3f86e8(0xae)]():this[_0x3f86e8(0x274)]();}),this[_0x42ef8b(0x1da)]['event$'][_0x42ef8b(0x16e)](_0x2e6a50(this[_0x42ef8b(0x10c)]))['subscribe'](_0x3aef40=>{const _0x55ffc9=_0x42ef8b,_0x2ae7c5=_0x3aef40['eventID'];_0x2ae7c5===_0x63d875['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x3aef40),_0x2ae7c5===_0x63d875[_0x55ffc9(0x13c)]&&this[_0x55ffc9(0x1f4)](_0x3aef40);}),this[_0x42ef8b(0x1dd)](this[_0x42ef8b(0x163)][_0x42ef8b(0x1a9)](_0x31ab9=>{const _0x20b21e=_0x42ef8b,_0x51a972=_0x31ab9[_0x20b21e(0x1db)];_0x51a972!=null&&this[_0x20b21e(0x152)]&&_0x31ab9['id']===_0x3b48bd['id']&&_0x51a972[_0x20b21e(0x29d)]===this['unitID']&&_0x51a972[_0x20b21e(0x255)]===!0x1&&_0x51a972['ranges'][_0x20b21e(0x11e)]>0x0&&this[_0x20b21e(0xb6)](_0x51a972['ranges']);})),this['_syncEditingCollabCursorService'][_0x42ef8b(0x19a)][_0x42ef8b(0x16e)](_0x2e6a50(this[_0x42ef8b(0x10c)]))['subscribe'](_0x2eda5e=>{const _0x1ffb83=_0x42ef8b;if((_0x2eda5e==null?void 0x0:_0x2eda5e[_0x1ffb83(0x254)])!==this[_0x1ffb83(0x254)])return;const _0xce3996={'eventID':_0x63d875[_0x1ffb83(0xb3)],'data':_0x2eda5e};this['_onCursorUpdate'](_0xce3996);}),this[_0x42ef8b(0x1dd)](this[_0x42ef8b(0x163)]['onCommandExecuted'](_0x48b350=>{const _0x5080c5=_0x42ef8b;if(_0x48b350['params']==null)return;const _0x5024c9=_0x48b350[_0x5080c5(0x1db)];if(_0x48b350['id']!==_0x49e299['id']||_0x5024c9[_0x5080c5(0x29d)]!==this[_0x5080c5(0x254)])return;const _0xa83d25={'id':_0x5080c5(0x114),'params':_0x5024c9},_0x465de9=this[_0x5080c5(0x1d7)];for(const [_0x3ad83d,_0x226098]of _0x465de9){const _0x43b2f5={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5080c5(0x254)],'actions':null,'textRanges':_0x226098[_0x5080c5(0x17b)]}},_0x508617=this[_0x5080c5(0x201)][_0x5080c5(0x12e)](_0xa83d25,_0x43b2f5,!0x1);if(_0x2cd84e(_0x508617))throw _0x508617[_0x5080c5(0x146)];_0x465de9[_0x5080c5(0x24f)](_0x3ad83d,{..._0x226098,'ranges':_0x508617[_0x5080c5(0x160)][_0x5080c5(0x1db)]['textRanges']});}queueMicrotask(()=>{const _0xbb5ab3=_0x5080c5;this[_0xbb5ab3(0x1c8)][_0xbb5ab3(0x1bf)](_0x465de9);});})));}[_0x558576(0xb1)](_0x324df3){const _0x134841=_0x558576;var _0x4ee45e,_0x24e9c6;const {memberID:_0x46e18c,selection:_0x315476}=_0x324df3[_0x134841(0x293)],_0xfc74f=_i(_0x315476),_0x315063=(_0x24e9c6=(_0x4ee45e=this['_memberService'][_0x134841(0x267)](this[_0x134841(0x254)],_0x46e18c))==null?void 0x0:_0x4ee45e['name'])!=null?_0x24e9c6:_0x134841(0x25b),_0x1ea7ac={'color':this[_0x134841(0xbb)][_0x134841(0x1cd)](_0x46e18c),'name':_0x315063,'ranges':_0xfc74f},_0x37beae=this[_0x134841(0x1d7)];_0x37beae[_0x134841(0x24f)](_0x46e18c,_0x1ea7ac),this[_0x134841(0x1c8)][_0x134841(0x1bf)](_0x37beae);}[_0x558576(0x1f4)](_0x167c23){const _0x49d033=_0x558576,{memberID:_0x441a89}=_0x167c23[_0x49d033(0x293)],_0x32372e=this[_0x49d033(0x1d7)];_0x32372e[_0x49d033(0x24c)](_0x441a89),this[_0x49d033(0x1c8)][_0x49d033(0x1bf)](_0x32372e);}[_0x558576(0xae)](){const _0x2ad4c8=_0x558576;var _0x1aea68;if(this[_0x2ad4c8(0x152)]=!0x0,((_0x1aea68=this[_0x2ad4c8(0x141)][_0x2ad4c8(0xb2)]())==null?void 0x0:_0x1aea68['getUnitId']())!==this[_0x2ad4c8(0x254)])return;const _0x110284=this['_injector']['get'](_0x4eded8)[_0x2ad4c8(0x124)]();Array[_0x2ad4c8(0x102)](_0x110284)&&_0x110284[_0x2ad4c8(0x11e)]>0x0&&this['_updateLocalCursor'](_0x110284);}['_toggleOffline'](){this['_online']=!0x1;}};Ue=ui([P(0x2,_0x194e08(_0x316a89)),P(0x3,_0x194e08(ke)),P(0x4,_0x194e08(_0x7d9ec2)),P(0x5,_0x194e08(He)),P(0x6,_0x53b600),P(0x7,_0x2ba6d0),P(0x8,_0x5e0729)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x4b0fee,_0x1fb683,_0x483dd9,_0x3ccb6c)=>{const _0x1eed60=_0x558576;for(var _0x2f1b47=_0x3ccb6c>0x1?void 0x0:_0x3ccb6c?Si(_0x1fb683,_0x483dd9):_0x1fb683,_0x2726ab=_0x4b0fee[_0x1eed60(0x11e)]-0x1,_0x3660c4;_0x2726ab>=0x0;_0x2726ab--)(_0x3660c4=_0x4b0fee[_0x2726ab])&&(_0x2f1b47=_0x3660c4(_0x2f1b47)||_0x2f1b47);return _0x2f1b47;},x=(_0x1cc6f7,_0x1cd66b)=>(_0x455a1f,_0x941565)=>_0x1cd66b(_0x455a1f,_0x941565,_0x1cc6f7);const Ii=0x12c,vi=0x64,gi=()=>{let _0x3bafca=[],_0x2fee1a=!0x1;return _0x40c935=>{const _0x150407=_0x579d;_0x3bafca[_0x150407(0x177)](_0x40c935),_0x2fee1a||(_0x2fee1a=!0x0,setTimeout(()=>{const _0x26b926=_0x150407;_0x3bafca[_0x26b926(0x20b)](_0x1dd312=>_0x1dd312()),_0x3bafca=[],_0x2fee1a=!0x1;}));};};let Me=class extends _0x5ab30e{constructor(_0x6a495e,_0x41884a,_0xeb52f1,_0x30eb4b,_0x1f756a,_0x440e49,_0x34d8eb,_0x501cd7){const _0x16ef2e=_0x558576;super(),_(this,_0x16ef2e(0x152),!0x1),_(this,_0x16ef2e(0x176),!0x1),_(this,_0x16ef2e(0x1c8),new _0x344465(new Map())),_(this,_0x16ef2e(0x106),this[_0x16ef2e(0x1c8)][_0x16ef2e(0x14a)]()),_(this,_0x16ef2e(0x1d1),new _0x344465([])),_(this,'roomMembers$',this[_0x16ef2e(0x1d1)][_0x16ef2e(0x16e)](_0x245350(Ii))),_(this,_0x16ef2e(0xb6),_0x4a6659((_0x53d6cc,_0x117bcb)=>{const _0x585187=_0x16ef2e,_0x53b655={'eventID':_0x63d875[_0x585187(0xb3)],'data':{'unitID':this[_0x585187(0x254)],'memberID':this[_0x585187(0x1da)][_0x585187(0x13e)](),'selection':_0x42baa6(_0x53d6cc,_0x117bcb[_0x585187(0x105)])}};this[_0x585187(0x1da)][_0x585187(0x248)](_0x53b655,this[_0x585187(0x254)]);},vi)),(this[_0x16ef2e(0x254)]=_0x6a495e,this['_session']=_0x41884a,this[_0x16ef2e(0x204)]=_0xeb52f1,this[_0x16ef2e(0xbb)]=_0x30eb4b,this['_memberService']=_0x1f756a,this[_0x16ef2e(0x141)]=_0x440e49,this[_0x16ef2e(0x163)]=_0x34d8eb,this['_refRangeService']=_0x501cd7);}get[_0x558576(0x1d7)](){const _0x5dbf8b=_0x558576;return this[_0x5dbf8b(0x1c8)][_0x5dbf8b(0x279)]();}get[_0x558576(0x21b)](){const _0x4c73fe=_0x558576;return this[_0x4c73fe(0x1d1)][_0x4c73fe(0x279)]();}[_0x558576(0x1cb)](){const _0x4db5e8=_0x558576;super[_0x4db5e8(0x1cb)](),this[_0x4db5e8(0x1c8)][_0x4db5e8(0x1bf)](new Map()),this[_0x4db5e8(0x1c8)][_0x4db5e8(0x193)](),this['_roomMembers$']['next']([]),this[_0x4db5e8(0x1d1)][_0x4db5e8(0x193)]();}[_0x558576(0x24e)](){const _0x39d143=_0x558576;this[_0x39d143(0x176)]||(this['_init']=!0x0,this[_0x39d143(0x1da)][_0x39d143(0x1a0)][_0x39d143(0x16e)](_0x2e6a50(this[_0x39d143(0x10c)]))[_0x39d143(0x1ee)](_0xefbad4=>{const _0x204bb1=_0x39d143;_0xefbad4===_0x18b0c6[_0x204bb1(0xd6)]?this[_0x204bb1(0xae)]():this[_0x204bb1(0x274)]();}),this[_0x39d143(0x1da)][_0x39d143(0x1c5)]['pipe'](_0x2e6a50(this[_0x39d143(0x10c)]))[_0x39d143(0x1ee)](_0x318ffd=>{const _0x3150be=_0x39d143,_0x288661=_0x318ffd[_0x3150be(0x164)];_0x288661===_0x63d875[_0x3150be(0xb3)]&&this[_0x3150be(0xb1)](_0x318ffd),_0x288661===_0x63d875[_0x3150be(0x13c)]&&this[_0x3150be(0x1f4)](_0x318ffd);}),this[_0x39d143(0x282)](),this[_0x39d143(0x1dd)](this[_0x39d143(0x163)][_0x39d143(0x1a9)](_0x53dfc5=>{const _0x43338a=_0x39d143;if(this[_0x43338a(0x152)]&&_0x53dfc5['id']===_0x4ebbd6['id']&&_0x53dfc5[_0x43338a(0x1db)][_0x43338a(0x29d)]===this['unitID']){const _0x684531=_0x53dfc5[_0x43338a(0x1db)];this[_0x43338a(0xb6)](_0x684531[_0x43338a(0x251)],_0x684531[_0x43338a(0xac)][0x0]);}})));}[_0x558576(0xb1)](_0x1e3358){const _0x4959d4=_0x558576;var _0x427087,_0x265798;const {memberID:_0x11bb0a,selection:_0x4292b6}=_0x1e3358[_0x4959d4(0x293)],{sheetName:_0x316f2f,range:_0x4d0907}=_0x26e891(_0x4292b6),_0x2c953e={'name':(_0x265798=(_0x427087=this['_memberService'][_0x4959d4(0x267)](this['unitID'],_0x11bb0a))==null?void 0x0:_0x427087[_0x4959d4(0x18b)])!=null?_0x265798:_0x4959d4(0x25b),'range':this[_0x4959d4(0x15c)](_0x316f2f,_0x4d0907),'sheetID':_0x316f2f,'color':this[_0x4959d4(0xbb)]['assignAColorForMemberID'](_0x11bb0a),'selection':_0x4292b6},_0xaf4c3b=this[_0x4959d4(0x1d7)];_0xaf4c3b[_0x4959d4(0x24f)](_0x11bb0a,_0x2c953e),this[_0x4959d4(0x1c8)][_0x4959d4(0x1bf)](_0xaf4c3b);}[_0x558576(0x1f4)](_0x3ecd0c){const _0x1157bb=_0x558576,{memberID:_0x1fa765}=_0x3ecd0c[_0x1157bb(0x293)],_0x294b07=this[_0x1157bb(0x1d7)];_0x294b07[_0x1157bb(0x24c)](_0x1fa765),this[_0x1157bb(0x1c8)]['next'](_0x294b07);}[_0x558576(0x15c)](_0xc2a654,_0x346561){const _0x4e7dd7=_0x558576;var _0x377bde,_0x2aad1c;const _0x1d3b30=(_0x2aad1c=(_0x377bde=this[_0x4e7dd7(0x141)][_0x4e7dd7(0x18e)](this[_0x4e7dd7(0x254)]))==null?void 0x0:_0x377bde[_0x4e7dd7(0x14b)](_0xc2a654))==null?void 0x0:_0x2aad1c['getMergeData']();return(_0x1d3b30==null?void 0x0:_0x1d3b30[_0x4e7dd7(0x132)](_0x534732=>_0x12fcda[_0x4e7dd7(0x19f)](_0x534732,_0x346561)))||_0x346561;}[_0x558576(0x282)](){const _0x47a444=_0x558576,_0x1e1596=new _0xe598dc(),_0x1022ae=gi(),_0x1448cf=()=>{const _0x58e152=_0x579d;_0x1e1596[_0x58e152(0x1cb)]();const _0x414507=(_0x4f3ecf,_0x19a904,_0x398402,_0x11aad4)=>{const _0x3db16b=_0x58e152;let _0x2f807c=[];switch(_0x4f3ecf['id']){case _0x19d152[_0x3db16b(0x27a)]:{_0x2f807c=_0x2919e8(_0x4f3ecf,_0x11aad4);break;}case _0x19d152[_0x3db16b(0x253)]:{_0x2f807c=_0x45edc1(_0x4f3ecf,_0x11aad4);break;}case _0x19d152[_0x3db16b(0x112)]:{_0x2f807c=_0x304fcb(_0x4f3ecf,_0x11aad4);break;}case _0x19d152['InsertRangeMoveDownCommandId']:{_0x2f807c=_0x1ddc83(_0x4f3ecf,_0x11aad4);break;}case _0x19d152[_0x3db16b(0xbe)]:{_0x2f807c=_0xac6a4e(_0x4f3ecf,_0x11aad4);break;}case _0x19d152[_0x3db16b(0x129)]:{_0x2f807c=_0x3d2e1f(_0x4f3ecf,_0x11aad4);break;}case _0x19d152['MoveRangeCommandId']:{_0x2f807c=_0x3f5064(_0x4f3ecf,_0x11aad4);break;}case _0x19d152[_0x3db16b(0x242)]:{_0x2f807c=_0x1f93ad(_0x4f3ecf,_0x11aad4);break;}case _0x19d152['RemoveRowCommandId']:{_0x2f807c=_0x18ed09(_0x4f3ecf,_0x11aad4);break;}}const _0x3942c2=_0x3f1b0f(_0x2f807c,_0x11aad4),_0x205d7f=this[_0x3db16b(0x1d7)][_0x3db16b(0x109)](_0x19a904);if(_0x205d7f&&_0x3942c2){const _0x132491={..._0x205d7f,'range':_0x3942c2};this[_0x3db16b(0x1d7)][_0x3db16b(0x24f)](_0x19a904,_0x132491),_0x1022ae(()=>{const _0x3c7032=_0x3db16b,_0x45ac2f=this[_0x3c7032(0xb5)]['registerRefRange'](_0x3942c2,_0x4da3b9=>(_0x45ac2f[_0x3c7032(0x1cb)](),_0x414507(_0x4da3b9,_0x19a904,_0x398402,_0x3942c2)));_0x1e1596['add'](_0x45ac2f);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x58e152(0x20b)]((_0x8ee093,_0x525729)=>{const _0x16e995=_0x58e152,{range:_0x3eeb89,sheetID:_0x43719e}=_0x8ee093,_0x25a213=this[_0x16e995(0xb5)][_0x16e995(0xa9)](_0x3eeb89,_0x546c0e=>(_0x25a213[_0x16e995(0x1cb)](),_0x414507(_0x546c0e,_0x525729,_0x43719e,_0x3eeb89)));_0x1e1596['add'](_0x25a213);});};this['disposeWithMe'](_0x4cdd3b(this[_0x47a444(0x1c8)][_0x47a444(0x1ee)](()=>{_0x1448cf();})));}[_0x558576(0xae)](){const _0x4ba5e1=_0x558576;var _0x5a6dc9,_0x245d0a;if(this[_0x4ba5e1(0x152)]=!0x0,((_0x5a6dc9=this['_univerInstanceService'][_0x4ba5e1(0xb2)]())==null?void 0x0:_0x5a6dc9['getUnitId']())!==this[_0x4ba5e1(0x254)])return;const _0x1ae289=(_0x245d0a=this[_0x4ba5e1(0x204)][_0x4ba5e1(0x109)](_0x153c9d)[_0x4ba5e1(0x11c)]())==null?void 0x0:_0x245d0a[0x0],_0x1c8c5=this['_univerInstanceService'][_0x4ba5e1(0x203)](_0x4b1a9c[_0x4ba5e1(0x16d)])[_0x4ba5e1(0x27d)]();_0x1ae289&&_0x1c8c5&&this[_0x4ba5e1(0xb6)](_0x1c8c5[_0x4ba5e1(0x15d)](),_0x1ae289);}[_0x558576(0x274)](){const _0x13a981=_0x558576;this[_0x13a981(0x152)]=!0x1;}};Me=mi([x(0x2,_0x194e08(_0x316a89)),x(0x3,_0x194e08(ke)),x(0x4,_0x194e08(_0x7d9ec2)),x(0x5,_0x2ba6d0),x(0x6,_0x5e0729),x(0x7,_0x194e08(_0x43c393))],Me);var pi=Object[_0x558576(0x233)],Ci=(_0xe19a62,_0x251b2a,_0x34e456,_0x29b5dc)=>{const _0x58eaa7=_0x558576;for(var _0x4ab947=_0x29b5dc>0x1?void 0x0:_0x29b5dc?pi(_0x251b2a,_0x34e456):_0x251b2a,_0x3a3368=_0xe19a62[_0x58eaa7(0x11e)]-0x1,_0x3649a5;_0x3a3368>=0x0;_0x3a3368--)(_0x3649a5=_0xe19a62[_0x3a3368])&&(_0x4ab947=_0x3649a5(_0x4ab947)||_0x4ab947);return _0x4ab947;},me=(_0x1c58a,_0x37f54f)=>(_0x1c35b7,_0x4855f4)=>_0x37f54f(_0x1c35b7,_0x4855f4,_0x1c58a);let F=class extends _0x5ab30e{constructor(_0x37b037,_0x186934,_0x3a54a0){const _0x396f56=_0x558576;super(),_(this,_0x396f56(0x1a1),new Map()),_(this,_0x396f56(0x212),new _0x49ab80()),(this[_0x396f56(0x141)]=_0x37b037,this[_0x396f56(0x204)]=_0x186934,this[_0x396f56(0x231)]=_0x3a54a0,this['_init']());}[_0x558576(0x1cb)](){const _0x35741f=_0x558576;super[_0x35741f(0x1cb)](),this[_0x35741f(0x212)][_0x35741f(0x193)](),this['_entities'][_0x35741f(0x20b)](_0x539c93=>_0x539c93[_0x35741f(0x1cb)]());}[_0x558576(0x167)](_0x237d71){const _0x3469a=_0x558576;return this[_0x3469a(0x1a1)][_0x3469a(0x25d)](_0x237d71)?this[_0x3469a(0x1a1)]['get'](_0x237d71)[_0x3469a(0x106)]:this[_0x3469a(0x212)][_0x3469a(0x16e)](_0x4e0d93(_0x588288=>_0x588288[_0x3469a(0x254)]===_0x237d71),_0x56f529(_0x402330=>_0x402330[_0x3469a(0x106)]));}[_0x558576(0x176)](){const _0x4fef3c=_0x558576;this[_0x4fef3c(0x141)][_0x4fef3c(0x179)](_0x4b1a9c[_0x4fef3c(0x16d)])[_0x4fef3c(0x16e)](_0x2e6a50(this['dispose$']))[_0x4fef3c(0x1ee)](async _0x181322=>{const _0x317c9d=_0x4fef3c,_0x2cd477=_0x181322['getUnitId'](),_0x31cf8e=await this[_0x317c9d(0x142)](_0x2cd477);this['_entityInit$'][_0x317c9d(0x1bf)](_0x31cf8e),this[_0x317c9d(0x1a1)]['set'](_0x2cd477,_0x31cf8e);}),this[_0x4fef3c(0x141)][_0x4fef3c(0x179)](_0x4b1a9c[_0x4fef3c(0x236)])[_0x4fef3c(0x16e)](_0x2e6a50(this[_0x4fef3c(0x10c)]))[_0x4fef3c(0x16e)](_0x4e0d93(_0x16c27e=>!_0x16c27e[_0x4fef3c(0x226)]()[_0x4fef3c(0x281)]('__')))[_0x4fef3c(0x1ee)](async _0x1c044d=>{const _0x11afa7=_0x4fef3c,_0x2b75e3=_0x1c044d[_0x11afa7(0x226)](),_0xb1fa43=await this[_0x11afa7(0x28a)](_0x2b75e3);this[_0x11afa7(0x212)][_0x11afa7(0x1bf)](_0xb1fa43),this['_entities'][_0x11afa7(0x24f)](_0x2b75e3,_0xb1fa43);}),_0x1c7443(this[_0x4fef3c(0x141)][_0x4fef3c(0x17f)](_0x4b1a9c[_0x4fef3c(0x236)]),this['_univerInstanceService'][_0x4fef3c(0x17f)](_0x4b1a9c[_0x4fef3c(0x16d)]))[_0x4fef3c(0x16e)](_0x2e6a50(this['dispose$']))[_0x4fef3c(0x1ee)](_0x167ea5=>{const _0x46ac8a=_0x4fef3c,_0x534024=_0x167ea5[_0x46ac8a(0x226)](),_0x4a3d6d=this[_0x46ac8a(0x1a1)][_0x46ac8a(0x109)](_0x534024);_0x4a3d6d&&(_0x4a3d6d[_0x46ac8a(0x1cb)](),this[_0x46ac8a(0x1a1)][_0x46ac8a(0x24c)](_0x534024));});}async[_0x558576(0x142)](_0x1a1f84){const _0x3653cf=_0x558576,_0x751d23=await this['_collabSessionService'][_0x3653cf(0x205)](_0x1a1f84),_0x3c458a=this[_0x3653cf(0x204)]['createInstance'](Me,_0x1a1f84,_0x751d23);return _0x3c458a[_0x3653cf(0x24e)](),_0x3c458a;}async['_startDocCollabCursor'](_0x33ad05){const _0x2d9a86=_0x558576,_0x25dc90=await this['_collabSessionService']['requireSession'](_0x33ad05),_0x2969d6=this['_injector'][_0x2d9a86(0x147)](Ue,_0x33ad05,_0x25dc90);return _0x2969d6[_0x2d9a86(0x24e)](),_0x2969d6;}};F=Ci([me(0x0,_0x2ba6d0),me(0x1,_0x194e08(_0x316a89)),me(0x2,_0x194e08(_0x59aca7))],F);const J=0x14,Qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x4910d0,_0x47cc12){const _0x2cba94=_0x558576;let {radius:_0x335886,width:_0x4a0207,height:_0x595a6b}=_0x47cc12;_0x335886=_0x335886!=null?_0x335886:0x0,_0x4a0207=_0x4a0207!=null?_0x4a0207:0x1e,_0x595a6b=_0x595a6b!=null?_0x595a6b:0x1e;let _0x5349ef=0x0,_0x5d7343=0x0,_0x1c654a=0x0;_0x5349ef=_0x5d7343=_0x1c654a=Math[_0x2cba94(0x2a2)](_0x335886,_0x4a0207/0x2,_0x595a6b/0x2),_0x4910d0['beginPath'](),_0x4910d0[_0x2cba94(0x27e)](_0x5349ef,0x0),_0x4910d0['lineTo'](_0x4a0207-_0x5d7343,0x0),_0x4910d0['arc'](_0x4a0207-_0x5d7343,_0x5d7343,_0x5d7343,Math['PI']*0x3/0x2,0x0,!0x1),_0x4910d0[_0x2cba94(0x238)](_0x4a0207,_0x595a6b-_0x1c654a),_0x4910d0['arc'](_0x4a0207-_0x1c654a,_0x595a6b-_0x1c654a,_0x1c654a,0x0,Math['PI']/0x2,!0x1),_0x4910d0[_0x2cba94(0x238)](0x0,_0x595a6b),_0x4910d0[_0x2cba94(0x238)](0x0,_0x5349ef),_0x4910d0[_0x2cba94(0xd5)](_0x5349ef,_0x5349ef,_0x5349ef,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4910d0[_0x2cba94(0x1b3)](),_0x47cc12[_0x2cba94(0x1f9)]&&(_0x4910d0['save'](),_0x4910d0[_0x2cba94(0x24d)]=_0x47cc12[_0x2cba94(0x1f9)],_0x47cc12[_0x2cba94(0x1b6)]===_0x2cba94(0x269)?_0x4910d0[_0x2cba94(0x1f9)]('evenodd'):_0x4910d0[_0x2cba94(0x1f9)](),_0x4910d0[_0x2cba94(0x155)]());}class ue extends _0x41e134{constructor(_0x150a1f,_0x931c8b){const _0x304666=_0x558576;super(_0x150a1f,_0x931c8b),_(this,_0x304666(0x11a)),_(this,_0x304666(0xc6)),(this[_0x304666(0x11a)]=_0x931c8b==null?void 0x0:_0x931c8b[_0x304666(0x11a)],this[_0x304666(0xc6)]=_0x931c8b==null?void 0x0:_0x931c8b[_0x304666(0xc6)]);}static['drawWith'](_0x1372a1,_0x1bcb6d){const _0x4bad44=_0x558576,{text:_0x999dc1,color:_0x5af409}=_0x1bcb6d;_0x1372a1[_0x4bad44(0x258)](),_0x1372a1[_0x4bad44(0x10e)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1ad611=_0x1372a1[_0x4bad44(0x18c)](_0x999dc1)[_0x4bad44(0x23e)],_0x5b67de=Math['min'](_0x1ad611+0x2*Ie,Qe);Oi(_0x1372a1,{'height':J,'radius':0x4,'width':_0x5b67de,'fill':_0x5af409}),_0x1372a1[_0x4bad44(0x24d)]=_0x4bad44(0x1ba);const _0x108821=Ie,_0x2abb0d=J-Ei,_0xa85478=Qe-0x2*Ie;if(_0x1ad611>_0xa85478){let _0x188128='',_0x1213c5=0x0;for(const _0x5294fd of _0x999dc1){const _0x5777ba=_0x1372a1[_0x4bad44(0x18c)](_0x5294fd)['width'];if(_0x1213c5+_0x5777ba<=_0xa85478-_0x1372a1['measureText']('...')['width'])_0x188128+=_0x5294fd,_0x1213c5+=_0x5777ba;else{_0x188128+=_0x4bad44(0x1e8);break;}}_0x1372a1[_0x4bad44(0x219)](_0x188128,_0x108821,_0x2abb0d);}else _0x1372a1[_0x4bad44(0x219)](_0x999dc1,_0x108821,_0x2abb0d);_0x1372a1[_0x4bad44(0x155)]();}[_0x558576(0xbc)](_0x890551){const _0x1c0624=_0x558576;ue[_0x1c0624(0xf4)](_0x890551,this);}}const ve=_0x558576(0x1c0),bi=_0x558576(0x23c),Ti=_0x558576(0x21a),G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x558576(0x1bb);class qe{constructor(_0x6f626b,_0x135291,_0x5a1212,_0x5d13fa){const _0x454bc5=_0x558576;_(this,_0x454bc5(0x244),[]),_(this,_0x454bc5(0x26c),null),_(this,_0x454bc5(0xff),null),_(this,_0x454bc5(0x10f),null),_(this,_0x454bc5(0x1d5),null),_(this,_0x454bc5(0x1d6),null),(this['_cursor']=_0x6f626b,this[_0x454bc5(0x1a6)]=_0x135291,this['_docSkeleton']=_0x5a1212,this[_0x454bc5(0x273)]=_0x5d13fa,this[_0x454bc5(0x1ef)]());}set['_hover'](_0x196f57){const _0x5b9157=_0x558576;_0x196f57?(this[_0x5b9157(0x10f)]&&this[_0x5b9157(0x10f)][_0x5b9157(0xe8)](),this[_0x5b9157(0xff)]&&this[_0x5b9157(0xff)]['show']()):(this[_0x5b9157(0x10f)]&&this[_0x5b9157(0x10f)][_0x5b9157(0x183)](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x558576(0x1cb)](){const _0x3185e0=_0x558576;for(const _0x119280 of this[_0x3185e0(0x244)])_0x119280[_0x3185e0(0x1cb)]();this[_0x3185e0(0xff)]&&this[_0x3185e0(0xff)][_0x3185e0(0x1cb)](),this[_0x3185e0(0x10f)]&&this[_0x3185e0(0x10f)][_0x3185e0(0x1cb)](),this[_0x3185e0(0x26c)]&&this[_0x3185e0(0x26c)][_0x3185e0(0x1cb)](),this[_0x3185e0(0x1d6)]&&this['_eventUnsubscribe']();}['_render'](){const _0x2978b5=_0x558576;var _0xc58cd4;const {_docSkeleton:_0x5e2323,_document:_0x5246d6}=this,{color:_0x446872,name:_0x2b7bd6,ranges:_0x24022c}=this[_0x2978b5(0x131)],_0x2f5ec0=_0x5246d6[_0x2978b5(0x178)](),{docsLeft:_0x1058d6,docsTop:_0x4584db}=_0x2f5ec0,_0x2233e8=new _0x250285(_0x2f5ec0,_0x5e2323);for(const {startOffset:_0x32574c,endOffset:_0x30f13d,rangeType:_0x2eeefa,segmentId:_0x57217b,segmentPage:_0x383e76,collapsed:_0x2a15bd,isActive:_0x5e9787}of _0x24022c){const _0x41ba4a=_0x5e2323['findNodePositionByCharIndex'](_0x32574c,!0x0,_0x57217b,_0x383e76);let _0xfd8fbf=_0x5e2323[_0x2978b5(0xf5)](_0x30f13d,!0x0,_0x57217b,_0x383e76);if(_0xfd8fbf==null&&(_0xfd8fbf=_0x5e2323[_0x2978b5(0xf5)](_0x30f13d-0x1,!0x1,_0x57217b,_0x383e76)),_0x5e9787){const {contentBoxPointGroup:_0x1d93ba}=_0x2233e8[_0x2978b5(0x26a)](_0xfd8fbf,_0xfd8fbf);if(_0x1d93ba[_0x2978b5(0x11e)]===0x0)continue;this[_0x2978b5(0xec)](_0x446872,_0x1d93ba,_0x1058d6,_0x4584db,_0x2b7bd6),this[_0x2978b5(0x1d6)]=this[_0x2978b5(0x140)]();}if(_0x41ba4a&&_0xfd8fbf){if(_0x2eeefa===_0x5bba3d[_0x2978b5(0x2a1)]){const _0x166802=new _0x3eb40b(_0x2f5ec0,_0x5e2323),{pointGroup:_0x1def00}=(_0xc58cd4=_0x166802[_0x2978b5(0x26a)](_0x41ba4a,_0xfd8fbf))!=null?_0xc58cd4:{};if(_0x1def00==null||_0x1def00[_0x2978b5(0x11e)]===0x0)continue;this['_drawRectRange'](_0x446872,_0x1def00,_0x1058d6,_0x4584db);}else{if(!_0x2a15bd){const {borderBoxPointGroup:_0x19b332}=_0x2233e8[_0x2978b5(0x26a)](_0x41ba4a,_0xfd8fbf);if(_0x19b332['length']===0x0)continue;this['_drawTextRange'](_0x446872,_0x19b332,_0x1058d6,_0x4584db);}}}}}[_0x558576(0xec)](_0x58eee6,_0x1726c1,_0x4c4685,_0x172e44,_0x1a4069){const _0x407c3b=_0x558576,_0x21fd60=this[_0x407c3b(0x209)](_0x1726c1),{left:_0x59b16f,top:_0xbff04f,height:_0x573616}=_0x21fd60,_0x5ec470=this[_0x407c3b(0x298)](),_0x5a9e22=Di/_0x5ec470,_0x4c4b63=new _0x1bad46(ve+_0x3204e4(G),{'left':_0x59b16f+_0x4c4685-_0x5a9e22,'top':_0xbff04f+_0x172e44,'height':_0x573616,'width':Ri,'fill':_0x58eee6||_0x3bbc80(_0xc3174c['black'],0x0),'strokeWidth':_0x5a9e22,'stroke':Ni,'evented':!0x0});this[_0x407c3b(0x26c)]=_0x4c4b63,this[_0x407c3b(0x1a6)][_0x407c3b(0x1b4)](_0x4c4b63,_0x25c1d3);const _0x44ceb6=new _0x1bad46(ve+_0x3204e4(G),{'left':_0x59b16f+_0x4c4685-_0x5a9e22,'top':_0xbff04f+_0x172e44-ge/0x2,'height':ge,'width':ge,'fill':_0x58eee6||_0x3bbc80(_0xc3174c[_0x407c3b(0x194)],0x0),'strokeWidth':0x0,'stroke':_0x58eee6||_0x3bbc80(_0xc3174c[_0x407c3b(0x194)],0x0),'evented':!0x1});this[_0x407c3b(0x10f)]=_0x44ceb6,this[_0x407c3b(0x1a6)][_0x407c3b(0x1b4)](_0x44ceb6,_0x25c1d3);const _0x3501ae=new ue(ve+_0x3204e4(G),{'left':_0x59b16f+_0x4c4685-_0x5a9e22,'top':_0xbff04f+_0x172e44-J,'text':_0x1a4069,'color':_0x58eee6});this[_0x407c3b(0xff)]=_0x3501ae,this[_0x407c3b(0x1a6)][_0x407c3b(0x1b4)](_0x3501ae,_0x25c1d3),this['_hover']=!0x1;}[_0x558576(0x140)](){const _0x5d9bf0=_0x558576,_0x29083c=this['_anchor'][_0x5d9bf0(0x250)][_0x5d9bf0(0xc9)](()=>{const _0x5d07d4=_0x5d9bf0;this[_0x5d07d4(0x264)]=!0x0;}),_0x2a0e36=this[_0x5d9bf0(0x26c)][_0x5d9bf0(0x169)][_0x5d9bf0(0xc9)](()=>{const _0x3fb6c3=_0x5d9bf0;this[_0x3fb6c3(0x1d5)]&&clearTimeout(this[_0x3fb6c3(0x1d5)]),this[_0x3fb6c3(0x1d5)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x28b039=_0x5d9bf0;_0x29083c[_0x28b039(0x120)](),_0x2a0e36[_0x28b039(0x120)]();};}[_0x558576(0x16a)](_0x4b53a7,_0x398e89,_0x247416,_0x2c6421){const _0x65c764=_0x558576,_0x322b1d=new _0x4ba188(_0x4b53a7)[_0x65c764(0x161)](0.2)[_0x65c764(0x13f)](),_0x31c17b=new _0x365a61(bi+_0x3204e4(G),{'pointsGroup':_0x398e89,'fill':_0x322b1d||_0x3bbc80(_0xc3174c[_0x65c764(0x194)],0.2),'left':_0x247416,'top':_0x2c6421,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x65c764(0x244)][_0x65c764(0x177)](_0x31c17b),this[_0x65c764(0x1a6)]['addObject'](_0x31c17b,_0x25c1d3);}[_0x558576(0x265)](_0xc79618,_0xa20fb2,_0x3aa2ab,_0x377d6a){const _0x541c35=_0x558576,_0x14bb3d=new _0x4ba188(_0xc79618)['setAlpha'](0.2)[_0x541c35(0x13f)](),_0xf9c67c=new _0x365a61(Ti+_0x3204e4(G),{'pointsGroup':_0xa20fb2,'fill':_0x14bb3d||_0x3bbc80(_0xc3174c['black'],0.2),'left':_0x3aa2ab,'top':_0x377d6a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x541c35(0x244)][_0x541c35(0x177)](_0xf9c67c),this[_0x541c35(0x1a6)][_0x541c35(0x1b4)](_0xf9c67c,_0x25c1d3);}[_0x558576(0x209)](_0x577932){const _0x2dbb13=_0x577932[0x0],_0x2d40ab=_0x2dbb13[0x0],_0x441fe2=_0x2dbb13[0x2],{x:_0x4757d4,y:_0x275357}=_0x2d40ab,{x:_0x205bfe,y:_0x208f32}=_0x441fe2;return{'left':_0x4757d4,'top':_0x275357,'width':_0x205bfe-_0x4757d4,'height':_0x208f32-_0x275357};}['_getScale'](){const _0x40a355=_0x558576,{scaleX:_0x59bb40,scaleY:_0x4a0328}=this[_0x40a355(0x1a6)]['getAncestorScale']();return Math['max'](_0x59bb40,_0x4a0328);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x4a0c32,_0x1245f5,_0x4ce2a0,_0x7c0043)=>{const _0x41b619=_0x558576;for(var _0x4f7c6e=_0x7c0043>0x1?void 0x0:_0x7c0043?Ui(_0x1245f5,_0x4ce2a0):_0x1245f5,_0x42a939=_0x4a0c32[_0x41b619(0x11e)]-0x1,_0x952da;_0x42a939>=0x0;_0x42a939--)(_0x952da=_0x4a0c32[_0x42a939])&&(_0x4f7c6e=_0x952da(_0x4f7c6e)||_0x4f7c6e);return _0x4f7c6e;},q=(_0x4403e8,_0x15c09f)=>(_0x3ddd4d,_0x21563d)=>_0x15c09f(_0x3ddd4d,_0x21563d,_0x4403e8);let Le=class extends _0x5ab30e{constructor(_0x173aaa,_0x265abe,_0x47b2b3,_0x48c546,_0x28abb9){const _0x5c10b3=_0x558576;super(),_(this,'_cursorShapes',[]),_(this,_0x5c10b3(0x1f0),[]),(this[_0x5c10b3(0x130)]=_0x173aaa,this[_0x5c10b3(0x1e6)]=_0x265abe,this[_0x5c10b3(0x162)]=_0x47b2b3,this[_0x5c10b3(0x163)]=_0x48c546,this[_0x5c10b3(0x289)]=_0x28abb9,this[_0x5c10b3(0x176)]());}['_init'](){const _0x1c79e0=_0x558576,_0x15c72f=this[_0x1c79e0(0x130)][_0x1c79e0(0x29d)],_0x3bf4ce=this[_0x1c79e0(0x1e6)];this[_0x1c79e0(0x1dd)](_0x4fcab2([this[_0x1c79e0(0x162)]['getCollabCursors$'](_0x15c72f),this[_0x1c79e0(0x289)][_0x1c79e0(0x220)]])[_0x1c79e0(0x16e)](_0x54a24d(([_0x1dd78d,_0x31df65])=>({'skeleton':_0x3bf4ce['getSkeleton'](),'cursors':[..._0x1dd78d[_0x1c79e0(0x1b2)]()]['flatMap'](_0x55c398=>({..._0x55c398,'color':this['_themeService'][_0x1c79e0(0x186)](_0x55c398[_0x1c79e0(0x11a)])}))})))[_0x1c79e0(0x1ee)](_0x49536c=>{const _0x10de14=_0x1c79e0;if(this['_removeCollabCursors'](),_0x49536c){const {skeleton:_0x5cd59c,cursors:_0x55cf55}=_0x49536c;this[_0x10de14(0xb7)](_0x5cd59c,_0x55cf55);}})),this[_0x1c79e0(0x230)](),this[_0x1c79e0(0x277)]();}[_0x558576(0xb7)](_0x7a8b4c,_0x465fc3){const _0x4e8d8c=_0x558576,{scene:_0x152f0e,mainComponent:_0xf4b156}=this[_0x4e8d8c(0x130)],_0x3c9ded=_0x465fc3[_0x4e8d8c(0x1a4)](_0x54c9e5=>new qe(_0x54c9e5,_0x152f0e,_0x7a8b4c,_0xf4b156));this[_0x4e8d8c(0x1ad)]=_0x3c9ded,this['_cursors']=_0x465fc3;}[_0x558576(0x166)](){const _0x100c3e=_0x558576;this[_0x100c3e(0xe5)]();const {scene:_0x1052ff,mainComponent:_0x12f844}=this['_context'],_0x1473eb=this['_docSkeletonManagerService'][_0x100c3e(0x1c9)](),_0x37feae=this['_cursors'][_0x100c3e(0x1a4)](_0x4b53b9=>new qe(_0x4b53b9,_0x1052ff,_0x1473eb,_0x12f844));this[_0x100c3e(0x1ad)]=_0x37feae;}['_removeCollabCursors'](){const _0x28c80b=_0x558576;this[_0x28c80b(0x1ad)]['forEach'](_0x457c25=>_0x457c25[_0x28c80b(0x1cb)]()),this[_0x28c80b(0x1ad)]=[];}[_0x558576(0x277)](){const _0x1b3cd8=_0x558576,_0x2f2cb3=[_0x28f0c0['id']];this['disposeWithMe'](this['_commandService'][_0x1b3cd8(0x1a9)](_0x443f33=>{const _0x488514=_0x1b3cd8;_0x2f2cb3[_0x488514(0x19e)](_0x443f33['id'])&&_0x443f33[_0x488514(0x1db)]['unitId']===this[_0x488514(0x130)][_0x488514(0x29d)]&&this[_0x488514(0x166)]();}));}['_initResize'](){const _0x57f26c=_0x558576;this['disposeWithMe'](_0x2f9331(this[_0x57f26c(0x130)]['engine'][_0x57f26c(0x170)])[_0x57f26c(0x16e)](_0x29be8b(_0x462591=>_0x462591[_0x57f26c(0x296)]===_0x3267fb[_0x57f26c(0x181)]),_0x34e1b6(0x10))[_0x57f26c(0x1ee)](()=>{const _0x172685=_0x57f26c;this[_0x172685(0x166)]();}));}};Le=Mi([q(0x1,_0x194e08(_0x34d791)),q(0x2,_0x194e08(F)),q(0x3,_0x5e0729),q(0x4,_0x194e08(_0x3238a3))],Le);const Li=0x1,Pi=1.5;function _0x579d(_0x56b88f,_0x23f19f){const _0x5e788b=_0x5e78();return _0x579d=function(_0x579ddf,_0xedcf8){_0x579ddf=_0x579ddf-0xa0;let _0x4f6c96=_0x5e788b[_0x579ddf];return _0x4f6c96;},_0x579d(_0x56b88f,_0x23f19f);}class wi extends _0x41e134{constructor(_0x48506c,_0x2a8cef){const _0x53445a=_0x558576;super(_0x48506c,_0x2a8cef),_(this,_0x53445a(0x25a)),_(this,_0x53445a(0x268),!0x1),_(this,_0x53445a(0x207)),_(this,_0x53445a(0x214),''),_(this,_0x53445a(0x15a),'top'),_(this,_0x53445a(0x224)),(_0x2a8cef&&this[_0x53445a(0x280)](_0x2a8cef),this[_0x53445a(0x250)][_0x53445a(0xc9)](()=>this[_0x53445a(0x280)]({'hovered':!0x0})),this[_0x53445a(0x169)][_0x53445a(0xc9)](()=>this[_0x53445a(0x280)]({'hovered':!0x1})));}[_0x558576(0x280)](_0x433a73){const _0x521519=_0x558576;var _0x4db3e9,_0xf14c40,_0x512825,_0x37ad82,_0x119ea3,_0x21fd08;this[_0x521519(0x25a)]=(_0x4db3e9=_0x433a73[_0x521519(0x11a)])!=null?_0x4db3e9:this[_0x521519(0x25a)],this[_0x521519(0x268)]=(_0xf14c40=_0x433a73[_0x521519(0xb4)])!=null?_0xf14c40:this[_0x521519(0x268)],this[_0x521519(0x207)]=(_0x512825=_0x433a73[_0x521519(0x105)])!=null?_0x512825:this['_range'],this[_0x521519(0x214)]=(_0x37ad82=_0x433a73[_0x521519(0x18b)])!=null?_0x37ad82:this[_0x521519(0x214)],this[_0x521519(0x15a)]=(_0x119ea3=_0x433a73[_0x521519(0x17e)])!=null?_0x119ea3:this[_0x521519(0x15a)],this[_0x521519(0x224)]=(_0x21fd08=_0x433a73[_0x521519(0x283)])!=null?_0x21fd08:this[_0x521519(0x224)],this[_0x521519(0x149)]({'width':_0x433a73[_0x521519(0x23e)],'height':_0x433a73[_0x521519(0x173)]});}[_0x558576(0x18f)](_0x3ed186){const _0x5ed4d4=_0x558576,{row:_0x2c8a64,column:_0x551fed}=_0x3ed186;if(_0x2c8a64>=this['_range'][_0x5ed4d4(0xba)]&&_0x2c8a64<=this[_0x5ed4d4(0x207)]['endRow']&&_0x551fed>=this['_range'][_0x5ed4d4(0x270)]&&_0x551fed<=this['_range'][_0x5ed4d4(0xdc)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5ed4d4(0x280)]({'hovered':!0x1});}['triggerDblclick'](_0x9164f3){return!0x1;}[_0x558576(0xbc)](_0x294e17){const _0x129c16=_0x558576;_0x1bad46[_0x129c16(0xf4)](_0x294e17,{'width':this[_0x129c16(0x23e)],'height':this['height'],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x294e17['save'](),_0x294e17[_0x129c16(0x22e)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x129c16(0x295)?0x0:-J),ue[_0x129c16(0xf4)](_0x294e17,{'text':this[_0x129c16(0x214)],'color':this['_color']}),_0x294e17[_0x129c16(0x155)]());}}var Ai=Object[_0x558576(0x233)],yi=(_0x2b8361,_0x130889,_0x4d45ee,_0x2a2700)=>{const _0x4ff589=_0x558576;for(var _0xeeedd3=_0x2a2700>0x1?void 0x0:_0x2a2700?Ai(_0x130889,_0x4d45ee):_0x130889,_0x44d64d=_0x2b8361[_0x4ff589(0x11e)]-0x1,_0x59d094;_0x44d64d>=0x0;_0x44d64d--)(_0x59d094=_0x2b8361[_0x44d64d])&&(_0xeeedd3=_0x59d094(_0xeeedd3)||_0xeeedd3);return _0xeeedd3;},pe=(_0x4af30e,_0x193005)=>(_0x31b171,_0x31b7c6)=>_0x193005(_0x31b171,_0x31b7c6,_0x4af30e);const $i=0x1389;let Pe=class extends _0x5ab30e{constructor(_0x1f6c0b,_0x40a75d,_0x1b7c2b,_0x151159){const _0x1f6e80=_0x558576;super(),_(this,'_cursors',new Set()),_(this,_0x1f6e80(0x143),null),(this[_0x1f6e80(0x130)]=_0x1f6c0b,this['_sheetSkeletonManagerService']=_0x40a75d,this[_0x1f6e80(0x162)]=_0x1b7c2b,this[_0x1f6e80(0x289)]=_0x151159,this[_0x1f6e80(0x176)]());}[_0x558576(0x176)](){const _0x5ddbb5=_0x558576;this['_sheetSkeletonManagerService'][_0x5ddbb5(0x257)][_0x5ddbb5(0x16e)](_0x6a86cf(this[_0x5ddbb5(0x10c)]),_0x32ab40(_0x8da7fe=>{const _0x313151=_0x5ddbb5;if(_0x8da7fe){const _0x54c524=_0x8da7fe['sheetId'];return _0x4fcab2(this[_0x313151(0x162)][_0x313151(0x167)](this[_0x313151(0x130)][_0x313151(0x29d)]),this['_themeService']['currentTheme$'])['pipe'](_0x54a24d(([_0x29071f,_0x1151a5])=>{const _0xd2c11d=_0x313151,_0x3b79d1=new Map();return _0x29071f[_0xd2c11d(0x20b)]((_0x4e55f5,_0x2394e0)=>{const _0x59032b=_0xd2c11d;if(_0x4e55f5[_0x59032b(0x13d)]===_0x54c524){const _0x2da243={..._0x4e55f5};_0x2da243[_0x59032b(0x11a)]=this[_0x59032b(0x289)][_0x59032b(0x186)](_0x4e55f5['color']),_0x3b79d1[_0x59032b(0x24f)](_0x2394e0,_0x2da243);}}),{'skeleton':_0x8da7fe,'cursors':_0x3b79d1};}));}return _0x5f58fc({'skeleton':null,'cursors':new Map()});}))[_0x5ddbb5(0x1ee)](({skeleton:_0x5a2939,cursors:_0x4f7bc4})=>{const _0x23ece0=_0x5ddbb5;this[_0x23ece0(0xe5)](),_0x5a2939&&this[_0x23ece0(0xb7)](_0x5a2939,_0x4f7bc4);}),this[_0x5ddbb5(0x1fd)][_0x5ddbb5(0x257)][_0x5ddbb5(0x1ee)](_0x4efe75=>{const _0x5efc62=_0x5ddbb5;if(_0x4efe75==null)return;const {skeleton:_0x4b1f0d}=_0x4efe75,{scene:_0x2a6bda}=this[_0x5efc62(0x130)];_0x2a6bda[_0x5efc62(0x1d8)]['subscribeEvent'](_0x4a6659(_0x3a45b6=>{const _0x535f28=_0x5efc62;var _0x189256,_0x308c60;const {offsetX:_0x22223f,offsetY:_0x20726b}=_0x3a45b6,{x:_0x51d5ef,y:_0x1d7cbf}=_0x2a6bda[_0x535f28(0x28b)](_0x569550['FromArray']([_0x22223f,_0x20726b])),{scaleX:_0x1bf679,scaleY:_0x2074c2}=_0x2a6bda[_0x535f28(0x19d)](),_0x671c7=_0x2a6bda[_0x535f28(0x172)](_0xd5a32b['VIEW_MAIN']),_0x2db30a=_0x2a6bda[_0x535f28(0x1f1)](_0x569550[_0x535f28(0x134)]([_0x51d5ef,_0x1d7cbf]),_0x671c7),_0x101ded=_0x4b1f0d[_0x535f28(0x235)](_0x22223f,_0x20726b,_0x1bf679,_0x2074c2,_0x2db30a);((_0x189256=this[_0x535f28(0x143)])==null?void 0x0:_0x189256['column'])===_0x101ded['column']&&((_0x308c60=this['_lastPointer'])==null?void 0x0:_0x308c60[_0x535f28(0x20f)])===_0x101ded[_0x535f28(0x20f)]||this[_0x535f28(0x1f0)][_0x535f28(0x20b)](_0x494bc5=>{const _0x293eb7=_0x535f28;_0x494bc5[_0x293eb7(0x18f)](_0x101ded);});},0x64));});}[_0x558576(0xb7)](_0x19c845,_0x458359){const _0x461bf2=_0x558576;var _0x25bb2a;const _0x1c53cc=(_0x25bb2a=this[_0x461bf2(0x1fd)][_0x461bf2(0x175)]())==null?void 0x0:_0x25bb2a['skeleton'];if(!_0x1c53cc)return;const _0xf0a1a6=this[_0x461bf2(0x1f6)]();if(!_0xf0a1a6)return;this[_0x461bf2(0x1f0)][_0x461bf2(0x20b)](_0x64d29b=>{const _0x405c79=_0x461bf2;_0x64d29b[_0x405c79(0x1f5)]();});const {scene:_0x2fef01}=_0xf0a1a6,_0x2d44e8=xi(Array[_0x461bf2(0x10d)](_0x458359[_0x461bf2(0x1b2)]()))[_0x461bf2(0x1a4)](_0x5d0563=>{const _0x4e02d8=_0x461bf2,{color:_0x9a9ce4,range:_0x5e51d5,name:_0x501afe,selection:_0x47978c,sheetID:_0x5efbd4}=_0x5d0563,{startColumn:_0x50b369,startRow:_0x2dd816,endColumn:_0x8a0fb2,endRow:_0x22a0d7}=_0x5e51d5,_0x47e202=_0x3d1154(_0x2dd816,_0x50b369,_0x2fef01,_0x1c53cc),_0x2d1b59=_0x3d1154(_0x22a0d7,_0x8a0fb2,_0x2fef01,_0x1c53cc),{columnHeaderHeightAndMarginTop:_0x3e7ca8}=_0x1c53cc,{startX:_0x4a6272,startY:_0x483f3b}=_0x47e202,{endX:_0x48dbed,endY:_0x3d665e}=_0x2d1b59,_0xfdf282=_0x48dbed-_0x4a6272,_0x4fa6f3=_0x3d665e-_0x483f3b,_0x21d2c4={'labelPosition':_0x483f3b-_0x3e7ca8>=J?_0x4e02d8(0x22a):_0x4e02d8(0x295),'sheetID':_0x5efbd4,'range':_0x5e51d5,'color':_0x9a9ce4,'name':_0x501afe,'selection':_0x47978c,'left':_0x4a6272,'top':_0x483f3b,'width':_0xfdf282,'height':_0x4fa6f3,'evented':!0x1,'zIndex':$i};return new wi(_0x501afe,_0x21d2c4);});_0x2fef01[_0x461bf2(0x29e)](_0x2d44e8,Li),this[_0x461bf2(0x1f0)]=new Set(_0x2d44e8);}[_0x558576(0xe5)](){const _0x4f7bf6=_0x558576;var _0x13d781;(_0x13d781=this[_0x4f7bf6(0x1f0)])==null||_0x13d781[_0x4f7bf6(0x20b)](_0x44bf58=>_0x44bf58[_0x4f7bf6(0x1cb)]());}[_0x558576(0x1f6)](){return _0x5b48ba(this['_context']['unit'],this['_context']);}};Pe=yi([pe(0x1,_0x194e08(_0x2aa2c1)),pe(0x2,_0x194e08(F)),pe(0x3,_0x194e08(_0x3238a3))],Pe);function xi(_0x21f66f){const _0x957125=_0x558576,_0x5baab8=new Map();return _0x21f66f[_0x957125(0x20b)](_0x5aeca6=>{const _0x125d17=_0x957125;if(_0x5baab8[_0x125d17(0x25d)](_0x5aeca6['selection'])){const _0x298b90=_0x5baab8[_0x125d17(0x109)](_0x5aeca6['selection']);_0x298b90[_0x125d17(0x18b)]+=',\x20'+_0x5aeca6[_0x125d17(0x18b)];}else _0x5baab8['set'](_0x5aeca6['selection'],_0x5aeca6);}),Array[_0x957125(0x10d)](_0x5baab8[_0x957125(0x1b2)]());}var v=function(){const _0x4fcddf=_0x558576;return v=Object[_0x4fcddf(0x1e5)]||function(_0x104f8a){const _0x156960=_0x4fcddf;for(var _0x4190a7,_0x260f6e=0x1,_0x4256db=arguments[_0x156960(0x11e)];_0x260f6e<_0x4256db;_0x260f6e++){_0x4190a7=arguments[_0x260f6e];for(var _0x708ea1 in _0x4190a7)Object[_0x156960(0x22f)][_0x156960(0x1d3)]['call'](_0x4190a7,_0x708ea1)&&(_0x104f8a[_0x708ea1]=_0x4190a7[_0x708ea1]);}return _0x104f8a;},v[_0x4fcddf(0xe3)](this,arguments);},Bi=function(_0x40454b,_0x43b457){const _0x16b423=_0x558576;var _0x5b4b6b={};for(var _0x221ce7 in _0x40454b)Object[_0x16b423(0x22f)][_0x16b423(0x1d3)][_0x16b423(0xfd)](_0x40454b,_0x221ce7)&&_0x43b457[_0x16b423(0x25f)](_0x221ce7)<0x0&&(_0x5b4b6b[_0x221ce7]=_0x40454b[_0x221ce7]);if(_0x40454b!=null&&typeof Object[_0x16b423(0x23f)]==_0x16b423(0xcb)){for(var _0x56766a=0x0,_0x221ce7=Object[_0x16b423(0x23f)](_0x40454b);_0x56766a<_0x221ce7[_0x16b423(0x11e)];_0x56766a++)_0x43b457['indexOf'](_0x221ce7[_0x56766a])<0x0&&Object[_0x16b423(0x22f)][_0x16b423(0xef)][_0x16b423(0xfd)](_0x40454b,_0x221ce7[_0x56766a])&&(_0x5b4b6b[_0x221ce7[_0x56766a]]=_0x40454b[_0x221ce7[_0x56766a]]);}return _0x5b4b6b;},Fe=_0xeaae3e(function(_0x1aaa28,_0x2293d3){const _0x1b0a95=_0x558576;var _0x4fc126=_0x1aaa28[_0x1b0a95(0x1a7)],_0x3aeb67=_0x1aaa28['id'],_0x37b886=_0x1aaa28[_0x1b0a95(0x165)],_0x25defa=_0x1aaa28[_0x1b0a95(0x1df)],_0x25ff21=Bi(_0x1aaa28,[_0x1b0a95(0x1a7),'id',_0x1b0a95(0x165),'extend']),_0x485cd1=_0x1b0a95(0x29b)[_0x1b0a95(0x23d)](_0x3aeb67,'\x20')[_0x1b0a95(0x23d)](_0x37b886||'')['trim'](),_0x500e26=_0x477443('_'[_0x1b0a95(0x23d)](Fi()));return Dt(_0x4fc126,''[_0x1b0a95(0x23d)](_0x3aeb67),{'defIds':_0x4fc126[_0x1b0a95(0xa5)],'idSuffix':_0x500e26['current']},v({'ref':_0x2293d3,'className':_0x485cd1},_0x25ff21),_0x25defa);});function Dt(_0x15a0f1,_0x2b57d6,_0x17ed05,_0x31e0ab,_0x407332){const _0x384ce3=_0x558576;return _0x5f4359(_0x15a0f1['tag'],v(v({'key':_0x2b57d6},ki(_0x15a0f1,_0x17ed05,_0x407332)),_0x31e0ab),(Hi(_0x15a0f1,_0x17ed05)[_0x384ce3(0x1f3)]||[])[_0x384ce3(0x1a4)](function(_0x2f2ca2,_0x345483){const _0x3992d3=_0x384ce3;return Dt(_0x2f2ca2,''['concat'](_0x2b57d6,'-')[_0x3992d3(0x23d)](_0x15a0f1[_0x3992d3(0x1ed)],'-')[_0x3992d3(0x23d)](_0x345483),_0x17ed05,void 0x0,_0x407332);}));}function ki(_0x52d5e0,_0x1defd7,_0x2e1fb4){const _0x3e067c=_0x558576;var _0x380c6e=v({},_0x52d5e0[_0x3e067c(0x1a8)]);_0x2e1fb4!=null&&_0x2e1fb4[_0x3e067c(0x241)]&&_0x380c6e[_0x3e067c(0x1f9)]===_0x3e067c(0x241)&&(_0x380c6e[_0x3e067c(0x1f9)]=_0x2e1fb4[_0x3e067c(0x241)]),_0x52d5e0['tag']===_0x3e067c(0x12b)&&_0x380c6e['id']&&(_0x380c6e['id']=_0x380c6e['id']+_0x1defd7[_0x3e067c(0x256)]),Object[_0x3e067c(0x28f)](_0x380c6e)[_0x3e067c(0x20b)](function(_0x46a07c){const _0x1ae7e5=_0x3e067c;var _0x55fc60=_0x46a07c[0x0],_0x2a858d=_0x46a07c[0x1];_0x55fc60==='mask'&&typeof _0x2a858d==_0x1ae7e5(0xce)&&(_0x380c6e[_0x55fc60]=_0x2a858d[_0x1ae7e5(0x29f)](/url\(#(.*)\)/,_0x1ae7e5(0xe7)[_0x1ae7e5(0x23d)](_0x1defd7['idSuffix'],')')));});var _0xa69c33=_0x1defd7[_0x3e067c(0xa5)];return!_0xa69c33||_0xa69c33[_0x3e067c(0x11e)]===0x0||(_0x52d5e0[_0x3e067c(0x1ed)]==='use'&&_0x380c6e[_0x3e067c(0x1b7)]&&(_0x380c6e[_0x3e067c(0x1b7)]=_0x380c6e[_0x3e067c(0x1b7)]+_0x1defd7[_0x3e067c(0x256)]),Object[_0x3e067c(0x28f)](_0x380c6e)[_0x3e067c(0x20b)](function(_0x53e883){const _0x2f7cad=_0x3e067c;var _0x11ec5b=_0x53e883[0x0],_0x4ce252=_0x53e883[0x1];typeof _0x4ce252==_0x2f7cad(0xce)&&(_0x380c6e[_0x11ec5b]=_0x4ce252[_0x2f7cad(0x29f)](/url\(#(.*)\)/,'url(#$1'[_0x2f7cad(0x23d)](_0x1defd7[_0x2f7cad(0x256)],')')));})),_0x380c6e;}function Hi(_0x3dce6c,_0x1e5e6e){const _0x46975d=_0x558576;var _0x19086b,_0x339663=_0x1e5e6e[_0x46975d(0xa5)];return!_0x339663||_0x339663[_0x46975d(0x11e)]===0x0?_0x3dce6c:_0x3dce6c['tag']==='defs'&&(!((_0x19086b=_0x3dce6c[_0x46975d(0x1f3)])===null||_0x19086b===void 0x0)&&_0x19086b[_0x46975d(0x11e)])?v(v({},_0x3dce6c),{'children':_0x3dce6c[_0x46975d(0x1f3)]['map'](function(_0x58cb5f){const _0x2bdc3e=_0x46975d;return typeof _0x58cb5f[_0x2bdc3e(0x1a8)]['id']==_0x2bdc3e(0xce)&&_0x339663&&_0x339663['includes'](_0x58cb5f[_0x2bdc3e(0x1a8)]['id'])?v(v({},_0x58cb5f),{'attrs':v(v({},_0x58cb5f[_0x2bdc3e(0x1a8)]),{'id':_0x58cb5f[_0x2bdc3e(0x1a8)]['id']+_0x1e5e6e[_0x2bdc3e(0x256)]})}):_0x58cb5f;})}):_0x3dce6c;}function Fi(){const _0x32a8e2=_0x558576;return Math[_0x32a8e2(0x1b9)]()[_0x32a8e2(0x1b8)](0x24)['substring'](0x2,0x8);}Fe[_0x558576(0x1ca)]=_0x558576(0x10b);var Yi={'tag':_0x558576(0x18d),'attrs':{'xmlns':_0x558576(0x15e),'fill':_0x558576(0x197),'viewBox':_0x558576(0x104),'width':_0x558576(0x150),'height':_0x558576(0x150)},'children':[{'tag':'g','attrs':{'clipPath':_0x558576(0x276)},'children':[{'tag':_0x558576(0x180),'attrs':{'stroke':_0x558576(0x272),'d':_0x558576(0x188),'strokeLinecap':'round','strokeLinejoin':_0x558576(0x1d0),'strokeWidth':1.2}}]},{'tag':_0x558576(0xe4),'attrs':{},'children':[{'tag':_0x558576(0x125),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x558576(0x180),'attrs':{'fill':_0x558576(0xc1),'d':_0x558576(0x240)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Nt=_0xeaae3e(function(_0x1c6bee,_0x4c1e03){const _0x133383=_0x558576;return _0x5f4359(Fe,Object[_0x133383(0x1e5)]({},_0x1c6bee,{'id':'off-line-icon','ref':_0x4c1e03,'icon':Yi}));});Nt[_0x558576(0x1ca)]='OffLineIcon';var ji={'tag':_0x558576(0x18d),'attrs':{'xmlns':_0x558576(0x15e),'fill':_0x558576(0x197),'viewBox':_0x558576(0x24a),'width':_0x558576(0x150),'height':_0x558576(0x150)},'children':[{'tag':'g','attrs':{'clipPath':_0x558576(0xab)},'children':[{'tag':_0x558576(0x180),'attrs':{'stroke':_0x558576(0x272),'d':_0x558576(0x13b),'strokeLinecap':_0x558576(0x1d0),'strokeLinejoin':_0x558576(0x1d0),'strokeWidth':1.2}}]},{'tag':_0x558576(0xe4),'attrs':{},'children':[{'tag':_0x558576(0x125),'attrs':{'id':_0x558576(0xd0)},'children':[{'tag':_0x558576(0x180),'attrs':{'fill':'white','d':_0x558576(0x240),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Ut=_0xeaae3e(function(_0x1e52ff,_0x119486){const _0x15bcbd=_0x558576;return _0x5f4359(Fe,Object[_0x15bcbd(0x1e5)]({},_0x1e52ff,{'id':'on-line-icon','ref':_0x119486,'icon':ji}));});Ut['displayName']=_0x558576(0x17a);function Vi(_0x321cea){const _0xe613bc=_0x558576;switch(_0x321cea){case _0x333d80['OFFLINE']:return'collabStatus.offline';case _0x333d80[_0xe613bc(0x21c)]:return _0xe613bc(0x1e2);case _0x333d80[_0xe613bc(0x174)]:return'collabStatus.fetchMiss';case _0x333d80[_0xe613bc(0xeb)]:return _0xe613bc(0x271);case _0x333d80[_0xe613bc(0xed)]:case _0x333d80[_0xe613bc(0xca)]:return _0xe613bc(0x11d);case _0x333d80[_0xe613bc(0xda)]:case _0x333d80[_0xe613bc(0xfe)]:return _0xe613bc(0x1ac);}}function Wi(_0x2ef970){const _0x7cf46=_0x558576,{status$:_0x9b79fd}=_0x2ef970,_0x1abb7f=_0x27b81c(_0x9b79fd,_0x333d80['NOT_COLLAB']),_0x5358f5=_0x57676b(_0x17cedb),_0x29363=_0x57676b(_0x59aca7),_0x3ee528=_0x1abb7f!==_0x333d80[_0x7cf46(0xa4)],_0x5ded57=_0x5358f5['t'](Vi(_0x1abb7f)),_0x580bed=_0x3ee528?_0x5d8a54(Ut,{}):_0x5d8a54(Nt,{}),_0x4aa678=_0x27d82d(()=>{const _0x2fdc4c=_0x7cf46;_0x3ee528||_0x29363[_0x2fdc4c(0x285)]();},[_0x3ee528,_0x29363]);function _0x372530(){const _0x4fcf3c=_0x7cf46;return _0x45d7a9(_0x4fcf3c(0x247),{'className':_0x4fcf3c(0x200),'onClick':_0x4aa678,'children':[_0x5d8a54(_0x4fcf3c(0x247),{'className':_0xaa4f69(_0x4fcf3c(0x12c),{'univer-text-green-500':_0x3ee528,'univer-text-red-500':!_0x3ee528}),'children':_0x580bed}),_0x5d8a54(_0x4fcf3c(0x247),{'className':_0x4fcf3c(0x25e),'children':_0x5ded57})]});}return _0x3ee528?_0x372530():_0x5d8a54(_0x5abf17,{'title':_0x5358f5['t']('collab-client.tooltip.reconnect'),'children':_0x372530()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x1b5dd3,_0x4de674,_0x4822e4,_0x248633)=>{const _0x5615fc=_0x558576;for(var _0x27350d=_0x248633>0x1?void 0x0:_0x248633?Xi(_0x4de674,_0x4822e4):_0x4de674,_0x5cc42d=_0x1b5dd3[_0x5615fc(0x11e)]-0x1,_0x5acd63;_0x5cc42d>=0x0;_0x5cc42d--)(_0x5acd63=_0x1b5dd3[_0x5cc42d])&&(_0x27350d=_0x5acd63(_0x27350d)||_0x27350d);return _0x27350d;},ee=(_0x2346a5,_0x123823)=>(_0x1e92cb,_0x54c803)=>_0x123823(_0x1e92cb,_0x54c803,_0x2346a5);let se=class extends _0x12187e{constructor(_0x3844a4,_0x53f2b7,_0x2852db,_0x1564f3){const _0x5bba35=_0x558576;super(),_(this,'_status$',new _0x344465(_0x333d80[_0x5bba35(0xeb)])),(this[_0x5bba35(0x141)]=_0x3844a4,this[_0x5bba35(0x204)]=_0x53f2b7,this['_collaborationController']=_0x2852db,this[_0x5bba35(0xd9)]=_0x1564f3,this[_0x5bba35(0x18a)](),this[_0x5bba35(0x23b)]());}[_0x558576(0x23b)](){const _0x274b3d=_0x558576;this[_0x274b3d(0x1dd)](this[_0x274b3d(0x141)][_0x274b3d(0x290)][_0x274b3d(0x16e)](_0x56f529(()=>{const _0x3c0e6c=_0x274b3d,_0x594949=this[_0x3c0e6c(0x141)][_0x3c0e6c(0xb2)]();return _0x594949?this['_collaborationController'][_0x3c0e6c(0x225)](_0x594949[_0x3c0e6c(0x226)]()):_0x5f58fc(null);}),_0x56f529(_0x185f24=>_0x185f24?_0x185f24['status$']:_0x5f58fc(_0x333d80[_0x274b3d(0xeb)])))['subscribe'](_0xf7bdc=>{const _0x2483f3=_0x274b3d;this[_0x2483f3(0x189)][_0x2483f3(0x1bf)](_0xf7bdc);}));}[_0x558576(0x18a)](){const _0x45f9d3=_0x558576;this[_0x45f9d3(0x1dd)](this['_uiPartsService'][_0x45f9d3(0x126)](_0x89900f['HEADER_MENU'],()=>_0x4f3cac(Ki({'status$':this['_status$'][_0x45f9d3(0x14a)]()}),this[_0x45f9d3(0x204)])));}};se=Gi([ee(0x0,_0x2ba6d0),ee(0x1,_0x194e08(_0x316a89)),ee(0x2,_0x194e08(_0x62c6dc)),ee(0x3,_0x2de367)],se);function Ki(_0x276829){const {status$:_0x1700ea}=_0x276829;return function(){return _0x5d8a54(Wi,{'status$':_0x1700ea});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x400265,_0x499570,_0x3b27a6,_0x218d3e)=>{const _0x5da2af=_0x558576;for(var _0x34da7c=_0x218d3e>0x1?void 0x0:_0x218d3e?zi(_0x499570,_0x3b27a6):_0x499570,_0x2d0b7b=_0x400265[_0x5da2af(0x11e)]-0x1,_0x244c1f;_0x2d0b7b>=0x0;_0x2d0b7b--)(_0x244c1f=_0x400265[_0x2d0b7b])&&(_0x34da7c=_0x244c1f(_0x34da7c)||_0x34da7c);return _0x34da7c;},B=(_0x2d1f8c,_0x169f45)=>(_0xf57e26,_0x1c8930)=>_0x169f45(_0xf57e26,_0x1c8930,_0x2d1f8c);let ie=class extends _0x12187e{constructor(_0x291fd8,_0x339b34,_0x514f10,_0x5648ca,_0x546e90,_0x3c98c9){const _0x1b478e=_0x558576;super(),this[_0x1b478e(0x20d)]=_0x291fd8,this[_0x1b478e(0xe6)]=_0x339b34,this[_0x1b478e(0x17d)]=_0x514f10,this['_messageService']=_0x5648ca,this[_0x1b478e(0x128)]=_0x546e90,this[_0x1b478e(0x196)]=_0x3c98c9,this[_0x1b478e(0xbf)](),this[_0x1b478e(0x113)]();}[_0x558576(0xbf)](){const _0x11b6fe=_0x558576;this['disposeWithMe'](this[_0x11b6fe(0x20d)][_0x11b6fe(0x21d)](()=>{const _0x5f4a8b=_0x11b6fe;if(this[_0x5f4a8b(0xe6)]['saveTaskMap'][_0x5f4a8b(0x297)])return this[_0x5f4a8b(0x196)]['t'](_0x5f4a8b(0x107));}));}[_0x558576(0x113)](){const _0x3181c2=_0x558576;this[_0x3181c2(0x1dd)](this[_0x3181c2(0x17d)][_0x3181c2(0x1c5)][_0x3181c2(0x1ee)](_0x3fcf54=>{const _0x3c23be=_0x3181c2;_0x3fcf54['id']===_0x1e3b11[_0x3c23be(0x137)]&&this['_messageService']['show']({'type':_0x3aafdb['Warning'],'content':this['_localeService']['t'](_0x3c23be(0x26e))}),_0x3fcf54['id']===_0x1e3b11[_0x3c23be(0x115)]&&this[_0x3c23be(0x26b)][_0x3c23be(0x183)]({'type':_0x3aafdb[_0x3c23be(0xd2)],'content':this['_localeService']['t'](_0x3c23be(0x243))}),_0x3fcf54['id']===_0x1e3b11[_0x3c23be(0x1ae)]&&this['_notificationService'][_0x3c23be(0x183)]({'title':this['_localeService']['t'](_0x3c23be(0x237)),'content':this[_0x3c23be(0x196)]['t'](_0x3c23be(0xb9)),'type':'error','duration':0x0}),_0x3fcf54['id']===_0x1e3b11[_0x3c23be(0x21c)]&&this['_messageService'][_0x3c23be(0x183)]({'type':_0x3aafdb[_0x3c23be(0x1e3)],'content':this[_0x3c23be(0x196)]['t'](_0x3c23be(0x243))+'('+_0x3fcf54['data']+')'}),_0x3fcf54['id']===_0x1e3b11[_0x3c23be(0xf8)]&&this[_0x3c23be(0x26b)][_0x3c23be(0x183)]({'type':_0x3aafdb[_0x3c23be(0xd2)],'content':this[_0x3c23be(0x196)]['t'](_0x3fcf54['data']||'')}),_0x3fcf54['id']===_0x1e3b11['SOCKET_FAILED_RETRY']&&this[_0x3c23be(0x26b)][_0x3c23be(0x183)]({'type':_0x3aafdb[_0x3c23be(0xd2)],'content':this[_0x3c23be(0x196)]['t']('session.will-retry')}),_0x3fcf54['id']===_0x1e3b11[_0x3c23be(0x26d)]&&this[_0x3c23be(0x26b)][_0x3c23be(0x183)]({'type':_0x3aafdb[_0x3c23be(0x1e3)],'content':this[_0x3c23be(0x196)]['t'](_0x3c23be(0x19b))}),_0x3fcf54['id']===_0x1e3b11['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3c23be(0x26b)][_0x3c23be(0x183)]({'type':_0x3aafdb[_0x3c23be(0x1e3)],'content':this[_0x3c23be(0x196)]['t'](_0x3c23be(0x28e))});}));}};ie=Ji([B(0x0,_0x54a871),B(0x1,_0x20f0df),B(0x2,_0x194e08(_0x17e6a8)),B(0x3,_0x103f10),B(0x4,_0x7996e4),B(0x5,_0x194e08(_0x17cedb))],ie);const Zi=_0x558576(0x20e),et={},Mt=_0x3796d8(_0x558576(0x27f));var Qi=Object[_0x558576(0x233)],qi=(_0x3acdad,_0x33f1a4,_0x4b55ae,_0x1f0fd1)=>{const _0x14a2e9=_0x558576;for(var _0x1d6dd6=_0x1f0fd1>0x1?void 0x0:_0x1f0fd1?Qi(_0x33f1a4,_0x4b55ae):_0x33f1a4,_0x193f5a=_0x3acdad[_0x14a2e9(0x11e)]-0x1,_0x101af6;_0x193f5a>=0x0;_0x193f5a--)(_0x101af6=_0x3acdad[_0x193f5a])&&(_0x1d6dd6=_0x101af6(_0x1d6dd6)||_0x1d6dd6);return _0x1d6dd6;},K=(_0x292a2b,_0x416654)=>(_0x3b44a1,_0x17ddb3)=>_0x416654(_0x3b44a1,_0x17ddb3,_0x292a2b);let ne=class extends _0x5ab30e{constructor(_0x16986b,_0xcb82bd,_0x52cdeb,_0x4d940b,_0xe8346b){const _0x22b0f3=_0x558576;super(),this['_urlService']=_0x16986b,this[_0x22b0f3(0x14f)]=_0xcb82bd,this[_0x22b0f3(0x163)]=_0x52cdeb,this[_0x22b0f3(0x29c)]=_0x4d940b,_0xe8346b?_0xe8346b==null||_0xe8346b[_0x22b0f3(0x22c)]()[_0x22b0f3(0xaa)](()=>this['_init']()):(this['_logService']['debug'](_0x22b0f3(0x213),_0x22b0f3(0x157)),this[_0x22b0f3(0x176)]());}async[_0x558576(0x176)](){const _0x1f9857=_0x558576,_0x1102d5=this['_urlService']['getParam'](_0x1f9857(0x20a)),_0x7b7d96=this['_urlService'][_0x1f9857(0x139)](_0x1f9857(0x296)),_0x42bb0b=this[_0x1f9857(0x23a)]['getParam']('subunit');if(!_0x1102d5||!_0x7b7d96){this[_0x1f9857(0x14f)]['debug'](_0x1f9857(0x213),_0x1f9857(0xfb));return;}const _0x4dc1c2=await this['_dataLoaderService'][_0x1f9857(0xf2)](_0x1102d5,Number(_0x7b7d96),_0x42bb0b);_0x4dc1c2&&_0x4dc1c2 instanceof _0x11d483&&this['_setupSubUnitSync'](_0x4dc1c2);}async[_0x558576(0x206)](_0x193a4e){const _0x1b645e=_0x558576;await this[_0x1b645e(0xd7)](_0x193a4e),_0x193a4e['activeSheet$'][_0x1b645e(0x16e)](_0x2e6a50(this[_0x1b645e(0x10c)]))[_0x1b645e(0x1ee)](_0xe9fb2e=>{const _0x2a9b32=_0x1b645e;_0xe9fb2e&&this[_0x2a9b32(0xa8)](_0xe9fb2e);}),this[_0x1b645e(0x23a)][_0x1b645e(0xc3)][_0x1b645e(0x16e)](_0x2e6a50(this[_0x1b645e(0x10c)]))[_0x1b645e(0x1ee)](()=>this[_0x1b645e(0xd7)](_0x193a4e));}[_0x558576(0xa8)](_0x28f6aa,_0x2b25f5=!0x1){const _0x4fdf1f=_0x558576,_0x351c71=this[_0x4fdf1f(0x23a)][_0x4fdf1f(0x139)](_0x4fdf1f(0x28c));_0x28f6aa['getSheetId']()!==_0x351c71&&this[_0x4fdf1f(0x23a)][_0x4fdf1f(0x151)]('subunit',_0x28f6aa[_0x4fdf1f(0x15d)](),_0x2b25f5);}async[_0x558576(0xd7)](_0x5398ec){const _0x2e4767=_0x558576;var _0x2b9dd0;const _0x2ab60d=this[_0x2e4767(0x23a)][_0x2e4767(0x139)]('subunit');if(!_0x2ab60d||!_0x5398ec[_0x2e4767(0x14b)](_0x2ab60d)){const _0x320a48=_0x5398ec[_0x2e4767(0xcd)]()[0x0],_0x2707e1=_0x5398ec['getSheetBySheetId'](_0x320a48);if(!_0x2707e1)return;this['_updateURLWithCurrentState'](_0x2707e1,!0x0),await this[_0x2e4767(0x163)][_0x2e4767(0x12d)](_0x2558a9['id'],{'unitId':_0x5398ec[_0x2e4767(0x226)](),'subUnitId':_0x320a48});return;}((_0x2b9dd0=_0x5398ec['getActiveSheet']())==null?void 0x0:_0x2b9dd0[_0x2e4767(0x15d)]())!==_0x2ab60d&&await this[_0x2e4767(0x163)][_0x2e4767(0x12d)](_0x2558a9['id'],{'unitId':_0x5398ec[_0x2e4767(0x226)](),'subUnitId':_0x2ab60d});}};ne=qi([K(0x0,Mt),K(0x1,_0x36997e),K(0x2,_0x5e0729),K(0x3,_0x194e08(_0x818159)),K(0x4,_0x20cd0b(_0xb1bc40))],ne);var en=Object[_0x558576(0x233)],tn=(_0x5ee81e,_0x4984ab,_0x4f1cc1,_0x44c972)=>{for(var _0x4bf18a=_0x44c972>0x1?void 0x0:_0x44c972?en(_0x4984ab,_0x4f1cc1):_0x4984ab,_0x5dcad6=_0x5ee81e['length']-0x1,_0x1c9ef1;_0x5dcad6>=0x0;_0x5dcad6--)(_0x1c9ef1=_0x5ee81e[_0x5dcad6])&&(_0x4bf18a=_0x1c9ef1(_0x4bf18a)||_0x4bf18a);return _0x4bf18a;},tt=(_0x400e2d,_0x1496c4)=>(_0x1e0a6c,_0x36272e)=>_0x1496c4(_0x1e0a6c,_0x36272e,_0x400e2d);let re=class{constructor(_0x5a752c,_0x19efac){this['_transformService']=_0x5a752c,this['_renderManagerService']=_0x19efac;}[_0x558576(0x228)](_0x459695){const _0x3d499a=_0x558576;this[_0x3d499a(0xf3)](_0x459695),this[_0x3d499a(0x1dc)](_0x459695);}[_0x558576(0x185)](_0x251120){const _0x50844b=_0x558576,{unitID:_0x18e357}=_0x251120,_0x6a00e=this[_0x50844b(0xa7)][_0x50844b(0x208)](_0x18e357)[_0x50844b(0x229)](_0xb7bf41),{redoCache:_0x5efbee}=_0x6a00e[_0x50844b(0x111)]();if(_0x5efbee[_0x50844b(0x11e)]===0x0)return _0x251120;let _0x2b58e4=_0x3324fe['deepClone'](_0x251120[_0x50844b(0x222)][0x0]);for(let _0x485668=0x0;_0x485668<_0x5efbee['length'];_0x485668++){const _0x35a96e={'id':_0x50844b(0x114),'params':{..._0x5efbee[_0x485668]}},_0x1577e5=this['_transformService'][_0x50844b(0x12e)](_0x2b58e4,_0x35a96e,!0x1);if(_0x2cd84e(_0x1577e5))throw _0x1577e5[_0x50844b(0x146)];_0x2b58e4=_0x1577e5['m1Prime'];}return{..._0x3324fe[_0x50844b(0x278)](_0x251120),'mutations':[_0x2b58e4]};}[_0x558576(0xf3)](_0x594937){const _0x61f909=_0x558576,{unitID:_0x5bec6c}=_0x594937,_0x1475bb=this[_0x61f909(0xa7)][_0x61f909(0x208)](_0x5bec6c)[_0x61f909(0x229)](_0xb7bf41),{undoCache:_0x40e360,redoCache:_0x80054e}=_0x1475bb['getUndoRedoMutationParamsCache']();if(_0x40e360[_0x61f909(0x11e)]===0x0||_0x80054e[_0x61f909(0x11e)]===0x0)return;const _0x5e4b69=[],_0x2e2592=[];let _0x4429de=_0x3324fe[_0x61f909(0x278)](_0x594937['mutations'][0x0]),_0x297dd8=_0x3324fe['deepClone'](_0x594937[_0x61f909(0x222)][0x0]);for(let _0xd8d6a1=_0x40e360['length']-0x1;_0xd8d6a1>=0x0;_0xd8d6a1--){const _0x3aae93={'id':_0x61f909(0x114),'params':{..._0x40e360[_0xd8d6a1]}},_0x25965b={'id':_0x61f909(0x114),'params':{..._0x80054e[_0xd8d6a1]}},_0x2d121d=this['_transformService'][_0x61f909(0x12e)](_0x4429de,_0x3aae93,!0x1),_0x43447d=this[_0x61f909(0x201)][_0x61f909(0x12e)](_0x297dd8,_0x25965b,!0x1);if(_0x2cd84e(_0x2d121d))throw _0x2d121d[_0x61f909(0x146)];if(_0x2cd84e(_0x43447d))throw _0x43447d['error'];_0x5e4b69['unshift'](_0x2d121d[_0x61f909(0x160)][_0x61f909(0x1db)]),_0x2e2592[_0x61f909(0x27c)](_0x43447d[_0x61f909(0x160)][_0x61f909(0x1db)]),_0x4429de=_0x2d121d['m1Prime'],_0x297dd8=_0x43447d['m1Prime'];}_0x1475bb[_0x61f909(0xe1)]({'undoCache':_0x5e4b69,'redoCache':_0x2e2592});}[_0x558576(0x1dc)](_0x5a0995){const _0x29e46f=_0x558576,{unitID:_0x319e14}=_0x5a0995,_0x114fbc=this[_0x29e46f(0xa7)]['getRenderById'](_0x319e14)[_0x29e46f(0x229)](_0xb7bf41),_0x56bba5=_0x114fbc[_0x29e46f(0x246)]();if(_0x56bba5==null)return;const _0x3ee236=[{'id':_0x29e46f(0x114),'params':{'unitId':_0x5a0995[_0x29e46f(0x254)],'actions':null,'textRanges':[_0x56bba5]}}],_0x22192d=this['_transformService'][_0x29e46f(0x221)](_0x5a0995,_0x3ee236);if(!_0x376955(_0x22192d))throw _0x22192d[_0x29e46f(0x146)];const _0x348493=_0x22192d['m2Prime'][0x0]['params'][_0x29e46f(0xcf)];Array[_0x29e46f(0x102)](_0x348493)&&_0x348493[_0x29e46f(0x11e)]&&_0x114fbc[_0x29e46f(0xdf)](_0x348493[0x0]);}};re=tn([tt(0x0,_0x53b600),tt(0x1,_0x3e366f)],re);var sn=Object[_0x558576(0x233)],nn=(_0x5095e3,_0x577b5b,_0x38e6f0,_0x1f0cd9)=>{const _0x53f0c2=_0x558576;for(var _0x3b6b9f=_0x1f0cd9>0x1?void 0x0:_0x1f0cd9?sn(_0x577b5b,_0x38e6f0):_0x577b5b,_0x1479bf=_0x5095e3[_0x53f0c2(0x11e)]-0x1,_0x3e4b3d;_0x1479bf>=0x0;_0x1479bf--)(_0x3e4b3d=_0x5095e3[_0x1479bf])&&(_0x3b6b9f=_0x3e4b3d(_0x3b6b9f)||_0x3b6b9f);return _0x3b6b9f;},Ce=(_0x494058,_0x35d37f)=>(_0x47904e,_0x43a5fd)=>_0x35d37f(_0x47904e,_0x43a5fd,_0x494058);let oe=class{constructor(_0x28283d,_0x3ab3ed,_0x56e996){const _0x19fbca=_0x558576;this[_0x19fbca(0x204)]=_0x28283d,this[_0x19fbca(0x201)]=_0x3ab3ed,this[_0x19fbca(0x232)]=_0x56e996;}[_0x558576(0x210)](_0x5058ff){const _0x18d4d7=_0x558576;this[_0x18d4d7(0x144)](_0x5058ff);}[_0x558576(0x185)](_0x4cf86c){const _0x4f91de=_0x558576,{unitID:_0x4dacb9}=_0x4cf86c,{collaboration:_0x194edc}=this[_0x4f91de(0x232)][_0x4f91de(0x260)](_0x4dacb9);if(_0x194edc[_0x4f91de(0x11e)]===0x0)return _0x4cf86c;let _0x489375=_0x3324fe[_0x4f91de(0x278)](_0x4cf86c[_0x4f91de(0x222)][0x0]);for(let _0x2f5c23=0x0;_0x2f5c23<_0x194edc[_0x4f91de(0x11e)];_0x2f5c23++){const _0x56f6db={'id':_0x4f91de(0x114),'params':{'unitId':_0x194edc[_0x2f5c23]['unitId'],..._0x194edc[_0x2f5c23][_0x4f91de(0x28d)]}},_0x140f54=this[_0x4f91de(0x201)][_0x4f91de(0x12e)](_0x489375,_0x56f6db,!0x1);if(_0x2cd84e(_0x140f54))throw _0x140f54[_0x4f91de(0x146)];_0x489375=_0x140f54['m1Prime'];}return{..._0x3324fe[_0x4f91de(0x278)](_0x4cf86c),'mutations':[_0x489375]};}[_0x558576(0x144)](_0xec4736){const _0x419554=_0x558576,{unitID:_0x57dd19}=_0xec4736,{history:_0x5891e7,collaboration:_0x11f7c8}=this[_0x419554(0x232)][_0x419554(0x260)](_0x57dd19);if(_0x5891e7[_0x419554(0x11e)]===0x0&&_0x11f7c8[_0x419554(0x11e)]===0x0)return;const _0x48f063=[],_0x2f9e4a=[];let _0x165b46=_0x3324fe[_0x419554(0x278)](_0xec4736[_0x419554(0x222)][0x0]),_0x2c6b56=_0x3324fe[_0x419554(0x278)](_0xec4736[_0x419554(0x222)][0x0]);for(let _0x157605=_0x5891e7['length']-0x1;_0x157605>=0x0;_0x157605--){const _0x52c835={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5891e7[_0x157605][_0x419554(0x29d)],..._0x5891e7[_0x157605][_0x419554(0xd3)]}},_0xfe5b19={'id':_0x419554(0x114),'params':{'unitId':_0x5891e7[_0x157605]['unitId'],..._0x5891e7[_0x157605][_0x419554(0x28d)]}},_0x25c76b=this['_transformService'][_0x419554(0x12e)](_0x165b46,_0x52c835,!0x1),_0x5a9e45=this['_transformService'][_0x419554(0x12e)](_0x2c6b56,_0xfe5b19,!0x1);if(_0x2cd84e(_0x25c76b))throw _0x25c76b[_0x419554(0x146)];if(_0x2cd84e(_0x5a9e45))throw _0x5a9e45[_0x419554(0x146)];_0x48f063[_0x419554(0x27c)]({..._0x5891e7[_0x157605],'undoState':_0x25c76b[_0x419554(0x160)][_0x419554(0x1db)],'redoState':_0x5a9e45[_0x419554(0x160)]['params']}),_0x165b46=_0x25c76b[_0x419554(0x29a)],_0x2c6b56=_0x5a9e45['m1Prime'];}_0x165b46=_0x3324fe[_0x419554(0x278)](_0xec4736[_0x419554(0x222)][0x0]),_0x2c6b56=_0x3324fe[_0x419554(0x278)](_0xec4736[_0x419554(0x222)][0x0]);for(let _0x5a2e88=_0x11f7c8['length']-0x1;_0x5a2e88>=0x0;_0x5a2e88--){const _0x43b4cd={'id':_0x419554(0x114),'params':{'unitId':_0x11f7c8[_0x5a2e88][_0x419554(0x29d)],..._0x11f7c8[_0x5a2e88]['undoState']}},_0xd2a21d={'id':_0x419554(0x114),'params':{'unitId':_0x11f7c8[_0x5a2e88][_0x419554(0x29d)],..._0x11f7c8[_0x5a2e88]['redoState']}},_0x32cc69=this[_0x419554(0x201)][_0x419554(0x12e)](_0x165b46,_0x43b4cd,!0x1),_0x1bcc7c=this['_transformService'][_0x419554(0x12e)](_0x2c6b56,_0xd2a21d,!0x1);if(_0x2cd84e(_0x32cc69))throw _0x32cc69[_0x419554(0x146)];if(_0x2cd84e(_0x1bcc7c))throw _0x1bcc7c[_0x419554(0x146)];_0x2f9e4a[_0x419554(0x27c)]({..._0x11f7c8[_0x5a2e88],'undoState':_0x32cc69['m2Prime'][_0x419554(0x1db)],'redoState':_0x1bcc7c[_0x419554(0x160)][_0x419554(0x1db)]}),_0x165b46=_0x32cc69[_0x419554(0x29a)],_0x2c6b56=_0x1bcc7c[_0x419554(0x29a)];}this[_0x419554(0x232)][_0x419554(0xf1)](_0x57dd19,{'history':_0x48f063,'collaboration':_0x2f9e4a});}};oe=nn([Ce(0x0,_0x194e08(_0x316a89)),Ce(0x1,_0x53b600),Ce(0x2,_0x194e08(_0x2a22aa))],oe);var rn=Object[_0x558576(0x233)],on=(_0x394b01,_0x2086eb,_0x13d9be,_0x148ebc)=>{const _0x215afc=_0x558576;for(var _0x5c0d59=_0x148ebc>0x1?void 0x0:_0x148ebc?rn(_0x2086eb,_0x13d9be):_0x2086eb,_0x2f0cc5=_0x394b01[_0x215afc(0x11e)]-0x1,_0x4a3ba2;_0x2f0cc5>=0x0;_0x2f0cc5--)(_0x4a3ba2=_0x394b01[_0x2f0cc5])&&(_0x5c0d59=_0x4a3ba2(_0x5c0d59)||_0x5c0d59);return _0x5c0d59;},st=(_0xb828b0,_0x459f16)=>(_0x3c731c,_0x56a745)=>_0x459f16(_0x3c731c,_0x56a745,_0xb828b0);let ae=class{constructor(_0x3c2f1d,_0x211718){const _0x5861e9=_0x558576;this[_0x5861e9(0x204)]=_0x3c2f1d,this[_0x5861e9(0x201)]=_0x211718;}[_0x558576(0x15f)](_0x45f3cf){const _0x5a9bb6=_0x558576;var _0x225a87;const _0x1c76bc=this[_0x5a9bb6(0x204)][_0x5a9bb6(0x109)](_0x4eded8),_0x35119f=(_0x225a87=_0x1c76bc[_0x5a9bb6(0x124)]())!=null?_0x225a87:[];if(_0x35119f[_0x5a9bb6(0x11e)]===0x0)return;const _0x36c72f=_0x45f3cf[_0x5a9bb6(0x254)],_0x75a1e1=[{'id':_0x5a9bb6(0x114),'params':{'unitId':_0x36c72f,'actions':null,'textRanges':_0x35119f}}],_0x3ebecb=this[_0x5a9bb6(0x201)][_0x5a9bb6(0x221)](_0x45f3cf,_0x75a1e1);if(!_0x376955(_0x3ebecb))throw _0x3ebecb['error'];const _0x488c8b=_0x3ebecb[_0x5a9bb6(0x160)][0x0][_0x5a9bb6(0x1db)][_0x5a9bb6(0xcf)];Array['isArray'](_0x488c8b)&&_0x488c8b[_0x5a9bb6(0x11e)]&&_0x1c76bc['replaceDocRanges'](_0x488c8b,{'unitId':_0x36c72f,'subUnitId':_0x36c72f},!0x1);}};ae=on([st(0x0,_0x194e08(_0x316a89)),st(0x1,_0x53b600)],ae);var an=Object[_0x558576(0x233)],cn=(_0x465b88,_0x464ff8,_0x4315ab,_0x5ba7bd)=>{const _0x4cbb21=_0x558576;for(var _0x533b7a=_0x5ba7bd>0x1?void 0x0:_0x5ba7bd?an(_0x464ff8,_0x4315ab):_0x464ff8,_0x484d8a=_0x465b88[_0x4cbb21(0x11e)]-0x1,_0x503b2e;_0x484d8a>=0x0;_0x484d8a--)(_0x503b2e=_0x465b88[_0x484d8a])&&(_0x533b7a=_0x503b2e(_0x533b7a)||_0x533b7a);return _0x533b7a;},N=(_0x2e1b38,_0xdf9087)=>(_0x14c9df,_0x1a0690)=>_0xdf9087(_0x14c9df,_0x1a0690,_0x2e1b38);let ce=class extends _0x12187e{constructor(_0x45e7dc,_0x196d39,_0x23c4be,_0x156a68,_0x2e9355,_0x43405d,_0x3bb589,_0x117418){const _0x1b235e=_0x558576;super(),_(this,_0x1b235e(0x189),new _0x344465(_0x333d80[_0x1b235e(0xeb)])),(this[_0x1b235e(0x232)]=_0x45e7dc,this['_collaborationController']=_0x196d39,this[_0x1b235e(0x123)]=_0x23c4be,this[_0x1b235e(0x21f)]=_0x156a68,this[_0x1b235e(0xf0)]=_0x2e9355,this[_0x1b235e(0x1e4)]=_0x43405d,this[_0x1b235e(0x26b)]=_0x3bb589,this[_0x1b235e(0x196)]=_0x117418,this[_0x1b235e(0x1e9)]());}[_0x558576(0x1e9)](){const _0x19d798=_0x558576;this['disposeWithMe'](this['_collaborationController'][_0x19d798(0x127)][_0x19d798(0x1ee)](_0x5d758f=>{const _0x2db0e1=_0x19d798,_0x448fdd=this[_0x2db0e1(0x232)][_0x2db0e1(0xfc)][_0x2db0e1(0x1ee)](_0x48fe9a=>{const _0x237f35=_0x2db0e1;if(_0x48fe9a==null)return;const {unitId:_0x33e6ab,redoState:_0x2545c2,commandId:_0x1c3371}=_0x48fe9a;if(_0x33e6ab!==_0x5d758f[_0x237f35(0x254)])return;const _0x1f9c1b={'id':_0x1c3371,'type':_0x169c49['MUTATION'],'params':{'unitId':_0x33e6ab,'actions':_0x2545c2[_0x237f35(0x1ec)],'textRanges':null}};_0x5d758f[_0x237f35(0x192)](_0x1f9c1b);});if(_0x5d758f[_0x2db0e1(0x1dd)](_0x448fdd),_0x5d758f instanceof _0x31ddbf){const _0x2e7968={'onTransformIME':_0x3d142d=>this[_0x2db0e1(0x123)][_0x2db0e1(0x228)](_0x3d142d),'onTransformState':_0x4d007f=>this[_0x2db0e1(0x21f)]['transformStateCache'](_0x4d007f),'onTransformSelections':_0x59d438=>this[_0x2db0e1(0xf0)][_0x2db0e1(0x15f)](_0x59d438),'onSyncEditingCollabCursor':_0xb8ae9b=>this['_docSyncEditingCollabCursorService'][_0x2db0e1(0x121)](_0xb8ae9b),'onTransformRemoteChangesetByIMECache':_0x1d132f=>this[_0x2db0e1(0x123)][_0x2db0e1(0x185)](_0x1d132f),'onTransformRemoteChangesetByStateCache':_0x361457=>this[_0x2db0e1(0x21f)]['transformRemoteChangeset'](_0x361457)};_0x5d758f[_0x2db0e1(0x156)](_0x2e7968);}}));}};ce=cn([N(0x0,_0x194e08(_0x2a22aa)),N(0x1,_0x194e08(_0x62c6dc)),N(0x2,_0x194e08(re)),N(0x3,_0x194e08(oe)),N(0x4,_0x194e08(ae)),N(0x5,_0x194e08(He)),N(0x6,_0x103f10),N(0x7,_0x194e08(_0x17cedb))],ce);var ln=Object[_0x558576(0x233)],_n=(_0x33e654,_0x3fb712,_0x34ae74,_0x3cf4a1)=>{const _0x13e446=_0x558576;for(var _0x41e93d=_0x3cf4a1>0x1?void 0x0:_0x3cf4a1?ln(_0x3fb712,_0x34ae74):_0x3fb712,_0x55c449=_0x33e654[_0x13e446(0x11e)]-0x1,_0x1e2b07;_0x55c449>=0x0;_0x55c449--)(_0x1e2b07=_0x33e654[_0x55c449])&&(_0x41e93d=_0x1e2b07(_0x41e93d)||_0x41e93d);return _0x41e93d;},Ee=(_0x1cb996,_0x281094)=>(_0x289f55,_0x7920ed)=>_0x281094(_0x289f55,_0x7920ed,_0x1cb996);let we=class extends _0x12187e{constructor(_0x3100fe,_0x2edf3b,_0x11a728){const _0x187ed4=_0x558576;super(),_(this,_0x187ed4(0xa6),new Map()),_(this,_0x187ed4(0x25c),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x3100fe,this[_0x187ed4(0x259)]=_0x2edf3b,this[_0x187ed4(0x216)]=_0x11a728);}[_0x558576(0x1f2)](){const _0xbc9e20=_0x558576;this[_0xbc9e20(0x1bd)]=!0x0;}[_0x558576(0x171)](){const _0x210c36=_0x558576;this[_0x210c36(0x1bd)]=!0x1;}get[_0x558576(0x1b1)](){const _0x205cea=_0x558576;return this[_0x205cea(0x25c)];}[_0x558576(0x1cb)](){const _0x5b6847=_0x558576;this[_0x5b6847(0xf7)]()[_0x5b6847(0xaa)](()=>super[_0x5b6847(0x1cb)]());}async[_0x558576(0x14d)](_0x1d149b){const _0x36db4b=_0x558576;return this[_0x36db4b(0x1bd)]?null:this[_0x36db4b(0x259)]['getItem'](_0x1a4960(_0x1d149b));}async['saveOfflineData'](_0x4d1576,_0x4a4e1a){const _0x5c1d8e=_0x558576;return!!this[_0x5c1d8e(0x259)][_0x5c1d8e(0x1e1)](_0x4d1576,_0x4a4e1a);}[_0x558576(0x14e)](_0x7179fc,_0x401521,_0x3668d0,_0x1265a2){const _0xf45f84=_0x558576,_0x248047=this[_0xf45f84(0x216)]['getCurrentRevOfUnit'](_0x7179fc);this[_0xf45f84(0xa6)][_0xf45f84(0x24f)](_0x7179fc,{'unitID':_0x7179fc,'type':_0x401521,'awaitingChangeset':_0x3668d0,'mutations':_0x1265a2,'rev':_0x248047}),this['_saveTaskMap'][_0xf45f84(0x25d)](_0x7179fc)||this[_0xf45f84(0x263)](_0x7179fc);}['_scheduleSaving'](_0x29718b){const _0x190336=_0x558576,_0x2db3a6=this[_0x190336(0x26f)]();_0x2db3a6===0x0?this[_0x190336(0xa2)](_0x29718b):this[_0x190336(0x25c)][_0x190336(0x24f)](_0x29718b,setTimeout(()=>this['_saveCache'](_0x29718b),_0x2db3a6));}[_0x558576(0x26f)](){const _0x35251f=_0x558576;var _0x500e06;return(_0x500e06=this[_0x35251f(0x1fa)][_0x35251f(0x136)](_0x4172cc))!=null?_0x500e06:_0x2d5902;}[_0x558576(0xa2)](_0x4e6574){const _0x5a4c8c=_0x558576,_0x31b093=this[_0x5a4c8c(0x25c)][_0x5a4c8c(0x109)](_0x4e6574);return _0x31b093!==void 0x0&&window[_0x5a4c8c(0x22d)](_0x31b093),this[_0x5a4c8c(0x259)][_0x5a4c8c(0x1e1)](_0x1a4960(_0x4e6574),this[_0x5a4c8c(0xa6)][_0x5a4c8c(0x109)](_0x4e6574))['then'](()=>this[_0x5a4c8c(0x25c)][_0x5a4c8c(0x24c)](_0x4e6574));}async[_0x558576(0xf7)](){const _0x2c394e=_0x558576,_0x23eac1=[];this[_0x2c394e(0x25c)][_0x2c394e(0x20b)]((_0x4fc887,_0x5c5202)=>{const _0x27d2fe=_0x2c394e;window['clearTimeout'](_0x4fc887),_0x23eac1[_0x27d2fe(0x177)](this['_saveCache'](_0x5c5202)[_0x27d2fe(0xaa)](()=>{const _0x1375a6=_0x27d2fe;this[_0x1375a6(0x25c)][_0x1375a6(0x24c)](_0x5c5202);}));}),await Promise[_0x2c394e(0x211)](_0x23eac1);}};we=_n([Ee(0x0,_0x8c945e),Ee(0x1,_0x1934a3),Ee(0x2,_0x194e08(_0x356841))],we);class hn extends _0x5ab30e{constructor(){const _0x25ca9b=_0x558576;super(),_(this,_0x25ca9b(0xc3)),this[_0x25ca9b(0xc3)]=_0x5dd366(window,_0x25ca9b(0x1ab))[_0x25ca9b(0x16e)](_0x2e6a50(this[_0x25ca9b(0x10c)]),_0x1ed1eb(0x1),_0x1c1715(void 0x0));}[_0x558576(0x151)](_0x93f80e,_0xfecdf4,_0x3e4d5d=!0x1){const _0x2aa206=_0x558576,_0x1c2cb3=new URL(window[_0x2aa206(0x2a0)]['href']);_0x1c2cb3[_0x2aa206(0x12f)]['set'](_0x93f80e,_0xfecdf4),_0x3e4d5d?window['history'][_0x2aa206(0xbd)]('','',_0x1c2cb3[_0x2aa206(0x1b8)]()):window[_0x2aa206(0x252)][_0x2aa206(0x1ce)]('','',_0x1c2cb3[_0x2aa206(0x1b8)]());}['removeParam'](_0x3e32a1,_0x577f09=!0x1){const _0x1fb671=_0x558576,_0x66a9d5=new URL(window[_0x1fb671(0x2a0)][_0x1fb671(0x101)]);_0x66a9d5[_0x1fb671(0x12f)][_0x1fb671(0x24c)](_0x3e32a1),_0x577f09?window[_0x1fb671(0x252)][_0x1fb671(0xbd)]('','',_0x66a9d5[_0x1fb671(0x1b8)]()):window[_0x1fb671(0x252)][_0x1fb671(0x1ce)]('','',_0x66a9d5[_0x1fb671(0x1b8)]());}[_0x558576(0x139)](_0x2b56aa){const _0x595d12=_0x558576;var _0xe51728;return(_0xe51728=new URL(window['location'][_0x595d12(0x101)])[_0x595d12(0x12f)][_0x595d12(0x109)](_0x2b56aa))!=null?_0xe51728:void 0x0;}}var un=Object[_0x558576(0x227)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x239422,_0x457fd2,_0x317b0d)=>_0x457fd2 in _0x239422?un(_0x239422,_0x457fd2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x317b0d}):_0x239422[_0x457fd2]=_0x317b0d,Sn=(_0x206193,_0x265304,_0x3ca0b8,_0x1df80b)=>{const _0x4f6482=_0x558576;for(var _0x4868e0=_0x1df80b>0x1?void 0x0:_0x1df80b?dn(_0x265304,_0x3ca0b8):_0x265304,_0x4211c5=_0x206193[_0x4f6482(0x11e)]-0x1,_0x31dff4;_0x4211c5>=0x0;_0x4211c5--)(_0x31dff4=_0x206193[_0x4211c5])&&(_0x4868e0=_0x31dff4(_0x4868e0)||_0x4868e0);return _0x4868e0;},Oe=(_0x454d00,_0x458d8c)=>(_0x71a377,_0x17e063)=>_0x458d8c(_0x71a377,_0x17e063,_0x454d00),mn=(_0x170828,_0x16640d,_0x3af98b)=>fn(_0x170828,_0x16640d+'',_0x3af98b);const In=_0x558576(0xb8);let Ae=class extends _0x4a7d6d{constructor(_0x3cc246=et,_0x2ac712,_0x267962,_0x22350d){const _0x5ecc25=_0x558576;super(),this[_0x5ecc25(0x284)]=_0x3cc246,this['_renderManagerService']=_0x2ac712,this[_0x5ecc25(0x204)]=_0x267962,this['_configService']=_0x22350d;const {..._0xa35299}=_0x3ed7e2({},et,this['_config']);this[_0x5ecc25(0x1fa)]['setConfig'](Zi,_0xa35299);}[_0x558576(0x218)](){const _0x4e1868=_0x558576;this[_0x4e1868(0x1d9)](),this[_0x4e1868(0x223)]();}['onRendered'](){const _0x28ab68=_0x558576;this[_0x28ab68(0x275)]();}[_0x558576(0x1d9)](){const _0x426c56=_0x558576;var _0x1fe826;const _0x2ecb68=[[ke],[ae],[re],[oe],[He],[Mt,{'useClass':hn}],[_0x2c7f7d,{'useClass':_0x43c46c}],[_0x20f0df,{'useClass':we}],[se],[ce],[ie],[F],[Ne],[ne]];_0x45d66a(this[_0x426c56(0x204)],_0x5bdfb1(_0x2ecb68,(_0x1fe826=this[_0x426c56(0x284)])==null?void 0x0:_0x1fe826[_0x426c56(0xc5)]));}['_registerRenderDependencies'](){const _0x393e40=_0x558576;this[_0x393e40(0x1dd)](this['_renderManagerService'][_0x393e40(0x16b)](_0x4b1a9c[_0x393e40(0x236)],[Le])),this[_0x393e40(0x1dd)](this[_0x393e40(0xa7)][_0x393e40(0x16b)](_0x4b1a9c[_0x393e40(0x16d)],[Pe]));}[_0x558576(0x223)](){const _0x54de9f=_0x558576;_0x576131(this[_0x54de9f(0x204)],[[F],[se],[ce],[ie],[ne]]);}};mn(Ae,_0x558576(0x190),In),Ae=Sn([_0x118085(_0x398380),Oe(0x1,_0x3e366f),Oe(0x2,_0x194e08(_0x316a89)),Oe(0x3,_0x8c945e)],Ae);var vn=Object[_0x558576(0x233)],gn=(_0x439efa,_0x5a96e7,_0x35e4dc,_0x144ac1)=>{const _0x4ad8f8=_0x558576;for(var _0x4fd3cc=_0x144ac1>0x1?void 0x0:_0x144ac1?vn(_0x5a96e7,_0x35e4dc):_0x5a96e7,_0x2acd2a=_0x439efa[_0x4ad8f8(0x11e)]-0x1,_0x356003;_0x2acd2a>=0x0;_0x2acd2a--)(_0x356003=_0x439efa[_0x2acd2a])&&(_0x4fd3cc=_0x356003(_0x4fd3cc)||_0x4fd3cc);return _0x4fd3cc;},z=(_0x42c9fe,_0x4aa141)=>(_0x561182,_0x4e0fcf)=>_0x4aa141(_0x561182,_0x4e0fcf,_0x42c9fe);let it=class extends _0x3cce14{constructor(_0x54f4e1,_0xd77d31,_0x25f67f,_0x4b6921,_0x338c87){super(_0x54f4e1,_0xd77d31,_0x25f67f,_0x4b6921,_0x338c87);}async['createSocket'](_0x368716){const _0x884afc=_0x558576,_0x5b9fc1=await this[_0x884afc(0x110)](),_0xce47df=this[_0x884afc(0x1a3)](_0x368716,_0x5b9fc1);return this['_doCreateSocket'](_0xce47df);}[_0x558576(0x1a3)](_0x54ceb3,_0x25dc94){const _0x4ca45b=_0x558576,_0xcf0f03=typeof window>'u'?new URL(_0x54ceb3):new URL(_0x54ceb3,window[_0x4ca45b(0x2a0)]['origin']);_0xcf0f03[_0x4ca45b(0x12f)]['set']('sessionTicket',_0x25dc94);const _0x5b1c2d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4ca45b(0x2a0)]['search']);return _0x5b1c2d[_0x4ca45b(0x109)](_0x4ca45b(0x100))&&_0xcf0f03[_0x4ca45b(0x12f)]['set'](_0x4ca45b(0x100),_0x5b1c2d[_0x4ca45b(0x109)](_0x4ca45b(0x100))),_0xcf0f03[_0x4ca45b(0x1b8)]();}async[_0x558576(0x110)](){const _0x20a6b3=_0x558576;var _0x1d8654,_0x5df52c,_0x38267e;const _0x38c3e5=this['_configService'][_0x20a6b3(0x136)](_0x1fe776),_0x30afbf=(_0x1d8654=_0x38c3e5==null?void 0x0:_0x38c3e5['wsSessionTicketUrl'])!=null?_0x1d8654:_0x1866d2;return(_0x38267e=(_0x5df52c=(await this[_0x20a6b3(0x299)][_0x20a6b3(0x109)](_0x30afbf,{'headers':{'Content-Type':'application/json'}}))[_0x20a6b3(0xaf)])==null?void 0x0:_0x5df52c[_0x20a6b3(0x1b0)])!=null?_0x38267e:'';}};it=gn([z(0x0,_0x194e08(_0x316a89)),z(0x1,_0x194e08(_0x541d05)),z(0x2,_0x8c945e),z(0x3,_0x36997e),z(0x4,_0x1f8913)],it);const nt=0x7530,rt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x12187e{constructor(){const _0x10f11a=_0x558576;super(),_(this,_0x10f11a(0x10a),_0x3204e4()),_(this,_0x10f11a(0x202),new Set()),_(this,_0x10f11a(0x187),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x10f11a(0xe0),new Map()),_(this,'_unitStatus',new Map()),this[_0x10f11a(0x176)]();}[_0x558576(0x1cb)](){const _0x1e4710=_0x558576;super[_0x1e4710(0x1cb)](),this[_0x1e4710(0xe0)][_0x1e4710(0x20b)]((_0x54d7c2,_0x25c002)=>this['_removeClearOtherTimer'](_0x25c002)),this['_heartbeatTimer']&&window[_0x1e4710(0x159)](this[_0x1e4710(0x1c2)]);}['getUnitStatus$'](_0xdd1b87){const _0x3ace54=_0x558576;return this['_ensureSubject'](_0xdd1b87)[_0x3ace54(0x16e)](_0x530c25());}[_0x558576(0x14c)](_0x593ef7){const _0x355413=_0x558576;this[_0x355413(0x202)][_0x355413(0x297)]===0x0&&this[_0x355413(0x22b)](),this[_0x355413(0x202)][_0x355413(0x11b)](_0x593ef7),this['_send']({'type':0x0,'memberID':this[_0x355413(0x10a)],'unitIDs':[_0x593ef7],'isForwarded':!0x1});}[_0x558576(0x16f)](_0xe00b55){const _0x2bc46b=_0x558576;this[_0x2bc46b(0x202)][_0x2bc46b(0x24c)](_0xe00b55),this[_0x2bc46b(0x202)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x2bc46b(0x159)](this[_0x2bc46b(0x1c2)]);}[_0x558576(0x176)](){const _0x3044cc=_0x558576;this[_0x3044cc(0x1dd)](_0x4cdd3b(_0x5dd366(window,'storage')[_0x3044cc(0x1ee)](_0xc98336=>{const _0x3dd4a9=_0x3044cc;if(_0xc98336[_0x3dd4a9(0x294)]!==rt||!_0xc98336[_0x3dd4a9(0xdb)])return;const _0x161245=JSON[_0x3dd4a9(0x145)](_0xc98336[_0x3dd4a9(0xdb)]);this[_0x3dd4a9(0x20c)](_0x161245);}))),window[_0x3044cc(0x1af)](_0x3044cc(0x1ff),()=>this[_0x3044cc(0xdd)]({'type':0x1,'memberID':this[_0x3044cc(0x10a)],'unitIDs':Array[_0x3044cc(0x10d)](this[_0x3044cc(0x202)])}));}[_0x558576(0x20c)](_0x5ec14a){const _0x2ff431=_0x558576;switch(_0x5ec14a[_0x2ff431(0x296)]){case 0x0:this[_0x2ff431(0xc2)](_0x5ec14a);break;case 0x1:this[_0x2ff431(0x1d4)](_0x5ec14a);break;case 0x2:this[_0x2ff431(0x1e7)](_0x5ec14a);break;}}[_0x558576(0xc2)](_0xe08e04){const _0x452052=_0x558576,{unitIDs:_0x5d12b0,memberID:_0x24222b,isForwarded:_0x504b12}=_0xe08e04;_0x5d12b0['forEach'](_0x9789f0=>{const _0x65ca1a=_0x579d;if(!_0x504b12&&this['_unitOnClients'][_0x65ca1a(0x25d)](_0x9789f0)&&this[_0x65ca1a(0x1f7)](_0x9789f0)['next'](_0x505f3c[_0x65ca1a(0x108)]),!this[_0x65ca1a(0x187)][_0x65ca1a(0x25d)](_0x9789f0)||!this[_0x65ca1a(0x187)][_0x65ca1a(0x109)](_0x9789f0)[_0x65ca1a(0x25d)](_0x24222b)){const _0x45ddda=this[_0x65ca1a(0x187)][_0x65ca1a(0x109)](_0x9789f0)||new Set();_0x45ddda[_0x65ca1a(0x11b)](_0x24222b),this[_0x65ca1a(0x187)][_0x65ca1a(0x24f)](_0x9789f0,_0x45ddda),this[_0x65ca1a(0x12a)](_0x24222b);}}),_0x504b12||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x452052(0x202)]],'isForwarded':!0x0});}[_0x558576(0x12a)](_0x1d1b36){const _0x254ef0=_0x558576;this[_0x254ef0(0x215)](_0x1d1b36);const _0x57f4d3=window[_0x254ef0(0x15b)](()=>{const _0x7d5823=_0x254ef0;this[_0x7d5823(0x187)][_0x7d5823(0x20b)](_0xa5d456=>{const _0x54eea0=_0x7d5823;_0xa5d456[_0x54eea0(0x24c)](_0x1d1b36);});},nt*0x2);this[_0x254ef0(0xe0)][_0x254ef0(0x24f)](_0x1d1b36,_0x57f4d3);}[_0x558576(0x215)](_0x5c9ca3){const _0x3d8956=_0x558576;if(this[_0x3d8956(0xe0)]['has'](_0x5c9ca3)){const _0x506a06=this[_0x3d8956(0xe0)][_0x3d8956(0x109)](_0x5c9ca3);_0x506a06&&window[_0x3d8956(0x22d)](_0x506a06),this[_0x3d8956(0xe0)][_0x3d8956(0x24f)](_0x5c9ca3,null);}}['_handleLeaveEvent'](_0x4ae3e5){const _0x63f892=_0x558576,{memberID:_0x114179,unitIDs:_0x547d5d}=_0x4ae3e5;_0x547d5d[_0x63f892(0x20b)](_0x1e6f52=>{const _0x227a80=_0x63f892;var _0x4e48eb;const _0x1fd186=this['_unitOnClients'][_0x227a80(0x109)](_0x1e6f52);_0x1fd186&&(_0x1fd186[_0x227a80(0x24c)](_0x114179),(_0x4e48eb=this['_ensureSubject'](_0x1e6f52))==null||_0x4e48eb[_0x227a80(0x1bf)](_0x1fd186[_0x227a80(0x297)]===0x0?_0x505f3c[_0x227a80(0xe2)]:_0x505f3c['OTHER_CLIENTS_EDITING']));}),this[_0x63f892(0x215)](_0x114179);}['_handleHeartbeatEvent'](_0x21b027){const _0x40c857=_0x558576;this['_scheduleClearOtherTimer'](_0x21b027[_0x40c857(0x1a2)]);}[_0x558576(0xdd)](_0x3c97a8){const _0xe82745=_0x558576;localStorage[_0xe82745(0x1e1)](rt,JSON['stringify'](_0x3c97a8));}[_0x558576(0x22b)](){const _0x1c8a40=_0x558576;this[_0x1c8a40(0x1c2)]=window['setInterval'](()=>{const _0xeb9ba2=_0x1c8a40;this['_send']({'type':0x2,'memberID':this[_0xeb9ba2(0x10a)]});},nt);}[_0x558576(0x1f7)](_0x6d8b43){const _0x382a7c=_0x558576;return this[_0x382a7c(0xc4)][_0x382a7c(0x25d)](_0x6d8b43)||this[_0x382a7c(0xc4)]['set'](_0x6d8b43,new _0x344465(_0x505f3c[_0x382a7c(0xe2)])),this[_0x382a7c(0xc4)][_0x382a7c(0x109)](_0x6d8b43);}}var Lt=(_0x4cc224=>(_0x4cc224[_0x4cc224[_0x558576(0x1aa)]=0x0]=_0x558576(0x1aa),_0x4cc224[_0x4cc224['OK']=0x1]='OK',_0x4cc224[_0x4cc224['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x4cc224[_0x4cc224[_0x558576(0x1ae)]=0x3]=_0x558576(0x1ae),_0x4cc224[_0x4cc224[_0x558576(0x13a)]=0x4]='NOT_FOUND',_0x4cc224[_0x4cc224[_0x558576(0x1a5)]=0x5]=_0x558576(0x1a5),_0x4cc224[_0x4cc224[_0x558576(0x184)]=0x6]=_0x558576(0x184),_0x4cc224[_0x4cc224[_0x558576(0xd8)]=0x7]=_0x558576(0xd8),_0x4cc224[_0x4cc224['TOO_MANY_REQUESTS']=0x8]=_0x558576(0x288),_0x4cc224[_0x4cc224[_0x558576(0x1e0)]=0x9]=_0x558576(0x1e0),_0x4cc224[_0x4cc224[_0x558576(0x103)]=0xa]=_0x558576(0x103),_0x4cc224[_0x4cc224[_0x558576(0x133)]=0xb]=_0x558576(0x133),_0x4cc224[_0x4cc224[_0x558576(0x27b)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4cc224[_0x4cc224[_0x558576(0x1be)]=0xd]=_0x558576(0x1be),_0x4cc224[_0x4cc224['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x558576(0x195),_0x4cc224[_0x4cc224[_0x558576(0x1f8)]=0x1389]=_0x558576(0x1f8),_0x4cc224[_0x4cc224[_0x558576(0x1fe)]=0x1771]=_0x558576(0x1fe),_0x4cc224[_0x4cc224[_0x558576(0xa3)]=0x1772]=_0x558576(0xa3),_0x4cc224[_0x4cc224[_0x558576(0x191)]=0x1773]=_0x558576(0x191),_0x4cc224[_0x4cc224[_0x558576(0x1c3)]=0x1b59]='APPLY_REJECT',_0x4cc224[_0x4cc224[_0x558576(0x286)]=0x1b5a]=_0x558576(0x286),_0x4cc224[_0x4cc224['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x558576(0x1ea),_0x4cc224[_0x4cc224['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4cc224[_0x4cc224[_0x558576(0x1d2)]=0x1b5d]='APPLY_DUPLICATED',_0x4cc224[_0x4cc224['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x558576(0xc8),_0x4cc224[_0x4cc224[_0x558576(0xe9)]=0x2329]=_0x558576(0xe9),_0x4cc224[_0x4cc224[_0x558576(0x153)]=0x232a]=_0x558576(0x153),_0x4cc224[_0x4cc224[_0x558576(0x11f)]=0x232b]=_0x558576(0x11f),_0x4cc224[_0x4cc224['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x558576(0xcc),_0x4cc224[_0x4cc224[_0x558576(0x292)]=0x232d]=_0x558576(0x292),_0x4cc224[_0x4cc224[_0x558576(0x182)]=0x2711]=_0x558576(0x182),_0x4cc224[_0x4cc224[_0x558576(0xea)]=0x2712]=_0x558576(0xea),_0x4cc224[_0x4cc224[_0x558576(0x118)]=0x2713]=_0x558576(0x118),_0x4cc224[_0x4cc224[_0x558576(0x135)]=0x2714]=_0x558576(0x135),_0x4cc224[_0x4cc224[_0x558576(0xb0)]=0x271a]=_0x558576(0xb0),_0x4cc224[_0x4cc224[_0x558576(0xd4)]=0x271b]=_0x558576(0xd4),_0x4cc224[_0x4cc224[_0x558576(0x24b)]=0x271c]=_0x558576(0x24b),_0x4cc224[_0x4cc224[_0x558576(0x1c7)]=0x271d]=_0x558576(0x1c7),_0x4cc224[_0x4cc224[_0x558576(0x1c6)]=0x271e]=_0x558576(0x1c6),_0x4cc224[_0x4cc224['YUUMI_AI_RUN_FAILED']=0x271f]=_0x558576(0x266),_0x4cc224[_0x4cc224[_0x558576(0x1de)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x4cc224[_0x4cc224['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x558576(0x245),_0x4cc224[_0x4cc224['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x558576(0x16c),_0x4cc224[_0x4cc224['INVALID_INVITE_CODE']=0x2ee2]=_0x558576(0x1cc),_0x4cc224[_0x4cc224[_0x558576(0x199)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4cc224[_0x4cc224[_0x558576(0x158)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4cc224[_0x4cc224[_0x558576(0x138)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4cc224[_0x4cc224[_0x558576(0x217)]=0x32c9]=_0x558576(0x217),_0x4cc224[_0x4cc224[_0x558576(0xd1)]=0x32ca]=_0x558576(0xd1),_0x4cc224[_0x4cc224[_0x558576(0x148)]=0x32cb]=_0x558576(0x148),_0x4cc224[_0x4cc224['UNRECOGNIZED']=-0x1]=_0x558576(0x1c4),_0x4cc224))(Lt||{}),pn=Object[_0x558576(0x233)],Cn=(_0xc0f2f1,_0x2da26e,_0x136bc4,_0x470eb0)=>{const _0x4661be=_0x558576;for(var _0x53b19f=_0x470eb0>0x1?void 0x0:_0x470eb0?pn(_0x2da26e,_0x136bc4):_0x2da26e,_0x343b44=_0xc0f2f1[_0x4661be(0x11e)]-0x1,_0x110b11;_0x343b44>=0x0;_0x343b44--)(_0x110b11=_0xc0f2f1[_0x343b44])&&(_0x53b19f=_0x110b11(_0x53b19f)||_0x53b19f);return _0x53b19f;},be=(_0x342cf2,_0x5caca1)=>(_0x4aaef8,_0x51b400)=>_0x5caca1(_0x4aaef8,_0x51b400,_0x342cf2);let ot=class extends _0x12187e{constructor(_0x5acd60,_0x40a866,_0x50c419){const _0x567440=_0x558576;super(),this[_0x567440(0xa1)]=_0x5acd60,this['_httpService']=_0x40a866,this[_0x567440(0x1fa)]=_0x50c419;}async[_0x558576(0x249)](_0x2a1993,_0x2ee8ef,_0x41913c,..._0x4afab5){const _0x22bb81=_0x558576;var _0x352462,_0x58b226,_0x2f3b0e,_0x2b09d1;const _0x1029c9=this['_instanceService'][_0x22bb81(0xb2)]();if(!_0x1029c9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x160c8b=((_0x352462=this['_configService']['getConfig'](_0xdb65f7))!=null?_0x352462:_0x259a67)+'/'+_0x2a1993+_0x22bb81(0x1b5)+_0x2ee8ef,_0x3f18e9=new URL(window['location'][_0x22bb81(0x101)]),_0x17f07d={'scriptId':_0x2a1993,'runId':(_0x58b226=_0x3f18e9[_0x22bb81(0x12f)][_0x22bb81(0x109)](_0x22bb81(0x100)))!=null?_0x58b226:'','function':_0x2ee8ef,'unitId':_0x1029c9[_0x22bb81(0x226)](),'argsOfFunction':JSON[_0x22bb81(0xf6)](_0x4afab5),'invokeId':(_0x2f3b0e=_0x41913c[_0x22bb81(0x1bc)])!=null?_0x2f3b0e:'','executionId':(_0x2b09d1=_0x41913c['executionId'])!=null?_0x2b09d1:''};try{const _0x3c7492=await this['_httpService'][_0x22bb81(0x17c)](_0x160c8b,{'body':_0x17f07d});return _0x3c7492[_0x22bb81(0xaf)]['error']&&_0x3c7492['body'][_0x22bb81(0x146)]['code']!==Lt['OK']?_0x22bb81(0x1eb):_0x3c7492[_0x22bb81(0xaf)][_0x22bb81(0xee)];}catch{return'Failed';}}};ot=Cn([be(0x0,_0x2ba6d0),be(0x1,_0x194e08(_0x541d05)),be(0x2,_0x8c945e)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x5d24c9=_0x130c;(function(_0xfdb50a,_0x3f0d0f){const _0x5ba5db=_0x130c,_0xcdfa02=_0xfdb50a();while(!![]){try{const _0x5bcb42=-parseInt(_0x5ba5db(0x1e9))/0x1*(-parseInt(_0x5ba5db(0x253))/0x2)+-parseInt(_0x5ba5db(0x203))/0x3+parseInt(_0x5ba5db(0x31d))/0x4*(parseInt(_0x5ba5db(0x228))/0x5)+-parseInt(_0x5ba5db(0x377))/0x6*(parseInt(_0x5ba5db(0x207))/0x7)+parseInt(_0x5ba5db(0x251))/0x8*(parseInt(_0x5ba5db(0x36e))/0x9)+parseInt(_0x5ba5db(0x2b5))/0xa*(parseInt(_0x5ba5db(0x354))/0xb)+parseInt(_0x5ba5db(0x2c5))/0xc;if(_0x5bcb42===_0x3f0d0f)break;else _0xcdfa02['push'](_0xcdfa02['shift']());}catch(_0x3914b8){_0xcdfa02['push'](_0xcdfa02['shift']());}}}(_0x4bc3,0xd3c1b));var xt=Object['defineProperty'],Bt=(_0x2e6bf9,_0x2a20cc,_0x1483d4)=>_0x2a20cc in _0x2e6bf9?xt(_0x2e6bf9,_0x2a20cc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1483d4}):_0x2e6bf9[_0x2a20cc]=_0x1483d4,_=(_0x274724,_0x51f3b6,_0x280ea8)=>Bt(_0x274724,typeof _0x51f3b6!='symbol'?_0x51f3b6+'':_0x51f3b6,_0x280ea8);import{MemberService as _0x4a67bf,SessionStatus as _0x379a9b,CollaborationSessionService as _0x334391,CollaborationStatus as _0x7b1e8c,CollaborationController as _0x406caf,ILocalCacheService as _0x2c318e,CollaborationUIEventService as _0x1c22f3,CollaborationUIEventId as _0x92ff43,DataLoaderService as _0x1d8805,DocCollaborationEntity as _0x27150e,getLocalCacheKey as _0x23982b,LOCAL_CACHE_INTERVAL as _0x158246,LOCAL_CACHE_INTERVAL_KEY as _0x3f8439,UniverCollaborationClientPlugin as _0x5f476c,CollaborationSocketService as _0x5cee4d,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2db31a,DEFAULT_WS_SESSION_TICKET_URL as _0x3794a6,UnitStatus as _0x2eeaa1,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x10934d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x46e36b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x27746e,Disposable as _0x2e4a76,DOC_RANGE_TYPE as _0x5be365,Inject as _0x476ef4,Injector as _0x3529a9,IUniverInstanceService as _0x55ae69,ICommandService as _0x1a6279,debounce as _0x16f5fd,Rectangle as _0x4db5c7,DisposableCollection as _0x3807d7,toDisposable as _0x59ba33,UniverInstanceType as _0x520a55,generateRandomId as _0x4edadc,COLORS as _0x2958de,ColorKit as _0x2b6930,ThemeService as _0x5d8fcf,fromEventSubject as _0x38cb51,LocaleService as _0x461c11,createIdentifier as _0x2b03c6,ILogService as _0x24c021,Optional as _0x2b094b,Workbook as _0x2f0518,Tools as _0x35f0b2,CommandType as _0x5818ca,IConfigService as _0xa3839,ILocalStorageService as _0x509ee3,DependentOn as _0x29faae,Plugin as _0x4a9f77,merge as _0x13926f,registerDependencies as _0x337e30,mergeOverrideWithDependencies as _0xef0585,touchDependencies as _0x5cc68f}from'@univerjs/core';import{Shape as _0x59039a,Rect as _0x307dc5,getColor as _0x41b73d,RegularPolygon as _0x374b5d,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x540fdc,Vector2 as _0x27eec2,SHEET_VIEWPORT_KEY as _0x51317d,IRenderManagerService as _0x41f4fd}from'@univerjs/engine-render';import{ISocketService as _0x18e7f2,WebSocketService as _0x1626ff,HTTPService as _0x2deaba}from'@univerjs/network';import{IDocClipboardService as _0x19b14f,NodePositionConvertToCursor as _0x55aa3c,NodePositionConvertToRectRange as _0x57b4a1,TEXT_RANGE_LAYER_INDEX as _0x4f526d,SetDocZoomRatioOperation as _0x57654d,DocIMEInputManagerService as _0xd00b2f,DocStateChangeManagerService as _0x3a6901}from'@univerjs/docs-ui';import{IImageIoService as _0xdba933}from'@univerjs/drawing';import{BehaviorSubject as _0x5952f2,debounceTime as _0x412ef1,takeUntil as _0x1e6d67,Subject as _0x1fe443,filter as _0x4cec68,switchMap as _0x583864,merge as _0xdaf147,combineLatest as _0x57a6ab,of as _0x4983e4,fromEvent as _0x29e2c1,shareReplay as _0x35ec06,mapTo as _0x1578c3,distinctUntilChanged as _0x42833d}from'rxjs';import{ITransformService as _0x19e675,CollaborationEvent as _0x166b3,isTransformMutationFailure as _0x1e32bc,isTransformMutationsWithChangesetSuccess as _0x55da4a,RevisionService as _0x1cdadd,ISnapshotServerService as _0x501ad3}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x380633,RichTextEditingMutation as _0x345489,DocSelectionManagerService as _0x3ab449,DocSkeletonManagerService as _0x2c2966}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x4849d0,serializeRangeWithSheet as _0xefd625}from'@univerjs/engine-formula';import{RefRangeService as _0x428649,SetSelectionsOperation as _0x2b87ae,SheetsSelectionsService as _0x4bea15,EffectRefRangId as _0x1aa07b,handleIRemoveRow as _0x4daf19,handleIRemoveCol as _0x564a11,handleMoveRange as _0x13c231,handleInsertRow as _0x499dfa,handleInsertRangeMoveRight as _0x3c723e,handleInsertRangeMoveDown as _0x1f3434,handleInsertCol as _0x352768,handleDeleteRangeMoveUp as _0x441b82,handleDeleteRangeMoveLeft as _0x5275f0,runRefRangeMutations as _0x36122c,SetWorksheetActivateCommand as _0xce0d74}from'@univerjs/sheets';import{map as _0x4a507c,filter as _0x5d33bf,throttleTime as _0x750fe9,takeUntil as _0x252116,switchMap as _0x200b81}from'rxjs/operators';import{SheetSkeletonManagerService as _0x34a495,getCoordByCell as _0x5673fa,getSheetObject as _0x24a3c5}from'@univerjs/sheets-ui';import{jsx as _0x2e40c1,jsxs as _0x340db7}from'react/jsx-runtime';import{useObservable as _0x12553d,useDependency as _0x1fe162,IUIPartsService as _0x513ad6,BuiltInUIPart as _0x116255,connectInjector as _0x49c554,IBeforeCloseService as _0x42d933,IMessageService as _0x22a71f,INotificationService as _0x338597}from'@univerjs/ui';import{Tooltip as _0x5b94ff,clsx as _0x4cdf3f,MessageType as _0x1d6e4e}from'@univerjs/design';import{forwardRef as _0xa9ece8,useRef as _0x5b793d,createElement as _0x56ddc5,useCallback as _0x1cdef4}from'react';import{IRemoteInstanceService as _0x10825d}from'@univerjs/rpc';var ci=Object[_0x5d24c9(0x34d)],li=(_0x2fd36b,_0x5900e2,_0xe11193,_0x1bba25)=>{const _0x1d3773=_0x5d24c9;for(var _0x461075=_0x1bba25>0x1?void 0x0:_0x1bba25?ci(_0x5900e2,_0xe11193):_0x5900e2,_0x2d8fe3=_0x2fd36b[_0x1d3773(0x367)]-0x1,_0x17a6f5;_0x2d8fe3>=0x0;_0x2d8fe3--)(_0x17a6f5=_0x2fd36b[_0x2d8fe3])&&(_0x461075=_0x17a6f5(_0x461075)||_0x461075);return _0x461075;},Je=(_0x8da764,_0x3f460f)=>(_0x14d848,_0x327df3)=>_0x3f460f(_0x14d848,_0x327df3,_0x8da764);let Ne=class extends _0x27746e{constructor(_0x12f5de,_0x529833){const _0x3f2a8e=_0x5d24c9;super(),this[_0x3f2a8e(0x239)]=_0x12f5de,this[_0x3f2a8e(0x23f)]=_0x529833,this['_init']();}[_0x5d24c9(0x3d5)](){const _0x1fbc71=_0x5d24c9,_0x348cf4=this;this['disposeWithMe'](this[_0x1fbc71(0x239)]['addClipboardHook']({'onBeforePasteImage':async _0x206e52=>{const _0x573418=_0x1fbc71,_0x2e33c5=await _0x348cf4[_0x573418(0x23f)][_0x573418(0x29e)](_0x206e52);return _0x2e33c5?{'source':_0x2e33c5[_0x573418(0x2c4)],'imageSourceType':_0x2e33c5[_0x573418(0x282)]}:null;}}));}};Ne=li([Je(0x0,_0x19b14f),Je(0x1,_0xdba933)],Ne);const Ze=[_0x5d24c9(0x2b4),'jiqing.500',_0x5d24c9(0x3d0),'red.300',_0x5d24c9(0x386),_0x5d24c9(0x37e)];class ke extends _0x2e4a76{constructor(){const _0x16fb34=_0x5d24c9;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x16fb34(0x2f1),0x0);}['assignAColorForMemberID'](_0x2e2d1d){const _0x472f41=_0x5d24c9;if(this[_0x472f41(0x261)][_0x472f41(0x1f8)](_0x2e2d1d))return this['_assignedColors'][_0x472f41(0x1e4)](_0x2e2d1d);const _0x5c6277=Ze[this[_0x472f41(0x2f1)]];return this[_0x472f41(0x2f1)]=(this[_0x472f41(0x2f1)]+0x1)%Ze[_0x472f41(0x367)],this[_0x472f41(0x261)][_0x472f41(0x3a8)](_0x2e2d1d,_0x5c6277),_0x5c6277;}}function Rt(_0x334576){const _0x3a1eaa=_0x5d24c9;let _0x142f15='';for(const _0x35a3b1 of _0x334576){const {startOffset:_0x47cf12,endOffset:_0x185f98,isActive:_0x3d44db,rangeType:_0x213760,segmentId:_0x129c43,segmentPage:_0x45f7f1}=_0x35a3b1;_0x142f15[_0x3a1eaa(0x367)]&&(_0x142f15+=','),_0x142f15+=_0x47cf12+':'+_0x185f98+':'+(_0x3d44db?'1':'0')+':'+_0x213760+':'+_0x129c43+':'+_0x45f7f1;}return _0x142f15;}function _i(_0x2bc21e){const _0x5e11d0=_0x5d24c9,_0x42435e=_0x2bc21e[_0x5e11d0(0x30a)](','),_0x4333dc=[];for(const _0x539640 of _0x42435e){const [_0x3a704c,_0xb2eeef,_0x104614,_0x1143b1,_0x1cc19e,_0x4aa866]=_0x539640['split'](':');_0x4333dc[_0x5e11d0(0x293)]({'startOffset':Number(_0x3a704c),'endOffset':Number(_0xb2eeef),'collapsed':_0x3a704c===_0xb2eeef,'isActive':_0x104614==='1','rangeType':_0x1143b1===_0x5be365[_0x5e11d0(0x2b6)]?_0x5be365[_0x5e11d0(0x2b6)]:_0x5be365[_0x5e11d0(0x311)],'segmentId':typeof _0x1cc19e==_0x5e11d0(0x22a)?String(_0x1cc19e):'','segmentPage':Number(_0x4aa866!=null?_0x4aa866:-0x1)});}return _0x4333dc[_0x5e11d0(0x32c)](_0x411ec8=>_0x411ec8[_0x5e11d0(0x355)])||(_0x4333dc[0x0]['isActive']=!0x0),_0x4333dc;}class He extends _0x27746e{constructor(){const _0x3587d5=_0x5d24c9;super(...arguments),_(this,_0x3587d5(0x29f),new _0x5952f2(null)),_(this,_0x3587d5(0x301),this[_0x3587d5(0x29f)]['asObservable']());}[_0x5d24c9(0x21f)](_0x17bfc0){const _0x4e3609=_0x5d24c9,{unitID:_0x3bb090,memberID:_0x4b7da8,textRanges:_0x487789}=_0x17bfc0,_0x1d9db2=Rt(_0x487789);if(_0x1d9db2==='')return;const _0x48ff5d={'unitID':_0x3bb090,'memberID':_0x4b7da8,'selection':_0x1d9db2};this[_0x4e3609(0x29f)][_0x4e3609(0x243)](_0x48ff5d);}}function _0x130c(_0x453c8b,_0x3239a8){const _0x4bc345=_0x4bc3();return _0x130c=function(_0x130cdf,_0x57aff7){_0x130cdf=_0x130cdf-0x1e0;let _0x122687=_0x4bc345[_0x130cdf];return _0x122687;},_0x130c(_0x453c8b,_0x3239a8);}var hi=Object[_0x5d24c9(0x34d)],ui=(_0x482f02,_0x5e63d6,_0x472ca3,_0x138a05)=>{const _0x43a6a6=_0x5d24c9;for(var _0xd8a241=_0x138a05>0x1?void 0x0:_0x138a05?hi(_0x5e63d6,_0x472ca3):_0x5e63d6,_0x3bf9e8=_0x482f02[_0x43a6a6(0x367)]-0x1,_0x5ee2d3;_0x3bf9e8>=0x0;_0x3bf9e8--)(_0x5ee2d3=_0x482f02[_0x3bf9e8])&&(_0xd8a241=_0x5ee2d3(_0xd8a241)||_0xd8a241);return _0xd8a241;},P=(_0x50eba2,_0x4f274a)=>(_0x21674d,_0x11523c)=>_0x4f274a(_0x21674d,_0x11523c,_0x50eba2);const di=0x12c,fi=0x64;let Ue=class extends _0x27746e{constructor(_0x2785e7,_0x535361,_0x274034,_0x2ced57,_0x42803d,_0x1f64ca,_0x32d62e,_0x38d7f6,_0x1c7df9){const _0x2e1a4d=_0x5d24c9;super(),_(this,'_online',!0x1),_(this,_0x2e1a4d(0x3d5),!0x1),_(this,_0x2e1a4d(0x37b),new _0x5952f2(new Map())),_(this,'cursorInfo$',this[_0x2e1a4d(0x37b)][_0x2e1a4d(0x240)]()),_(this,_0x2e1a4d(0x357),new _0x5952f2([])),_(this,'roomMembers$',this['_roomMembers$'][_0x2e1a4d(0x3d1)](_0x412ef1(di))),_(this,'_updateLocalCursor',_0x16f5fd(_0x1d6c8d=>{const _0x3ca416=_0x2e1a4d,_0x1e210f={'eventID':_0x166b3[_0x3ca416(0x26e)],'data':{'unitID':this['unitID'],'memberID':this[_0x3ca416(0x3c8)][_0x3ca416(0x25c)](),'selection':Rt(_0x1d6c8d)}};this[_0x3ca416(0x3c8)][_0x3ca416(0x289)](_0x1e210f,this['unitID']);},fi)),(this[_0x2e1a4d(0x1e1)]=_0x2785e7,this[_0x2e1a4d(0x3c8)]=_0x535361,this[_0x2e1a4d(0x304)]=_0x274034,this[_0x2e1a4d(0x38c)]=_0x2ced57,this['_memberService']=_0x42803d,this[_0x2e1a4d(0x2e0)]=_0x1f64ca,this[_0x2e1a4d(0x360)]=_0x32d62e,this['_univerInstanceService']=_0x38d7f6,this[_0x2e1a4d(0x218)]=_0x1c7df9);}get[_0x5d24c9(0x245)](){const _0x1f3915=_0x5d24c9;return this[_0x1f3915(0x37b)]['getValue']();}get[_0x5d24c9(0x26c)](){const _0x2a6f0c=_0x5d24c9;return this[_0x2a6f0c(0x357)][_0x2a6f0c(0x220)]();}['dispose'](){const _0x5c41a2=_0x5d24c9;super[_0x5c41a2(0x1f4)](),this[_0x5c41a2(0x37b)][_0x5c41a2(0x243)](new Map()),this['_cursorInfo$'][_0x5c41a2(0x2ba)](),this[_0x5c41a2(0x357)]['next']([]),this[_0x5c41a2(0x357)][_0x5c41a2(0x2ba)]();}[_0x5d24c9(0x208)](){const _0x51d035=_0x5d24c9;this[_0x51d035(0x3d5)]||(this[_0x51d035(0x3d5)]=!0x0,this[_0x51d035(0x3c8)][_0x51d035(0x33d)][_0x51d035(0x3d1)](_0x1e6d67(this['dispose$']))[_0x51d035(0x23b)](_0x4fab5d=>{const _0x4911be=_0x51d035;_0x4fab5d===_0x379a9b[_0x4911be(0x3c9)]?this[_0x4911be(0x35c)]():this[_0x4911be(0x2fd)]();}),this['_session'][_0x51d035(0x28c)][_0x51d035(0x3d1)](_0x1e6d67(this[_0x51d035(0x326)]))['subscribe'](_0x59b306=>{const _0xd7123f=_0x51d035,_0x270a70=_0x59b306[_0xd7123f(0x279)];_0x270a70===_0x166b3[_0xd7123f(0x26e)]&&this[_0xd7123f(0x2d0)](_0x59b306),_0x270a70===_0x166b3[_0xd7123f(0x30d)]&&this[_0xd7123f(0x3b7)](_0x59b306);}),this[_0x51d035(0x3d8)](this[_0x51d035(0x218)]['onCommandExecuted'](_0x5b2271=>{const _0x33876e=_0x51d035,_0x3f44fe=_0x5b2271[_0x33876e(0x205)];_0x3f44fe!=null&&this[_0x33876e(0x375)]&&_0x5b2271['id']===_0x380633['id']&&_0x3f44fe['unitId']===this['unitID']&&_0x3f44fe['isEditing']===!0x1&&_0x3f44fe['ranges'][_0x33876e(0x367)]>0x0&&this['_updateLocalCursor'](_0x3f44fe[_0x33876e(0x37a)]);})),this[_0x51d035(0x2e0)]['collabCursorState$']['pipe'](_0x1e6d67(this[_0x51d035(0x326)]))['subscribe'](_0x573b4a=>{const _0x4b7e2a=_0x51d035;if((_0x573b4a==null?void 0x0:_0x573b4a[_0x4b7e2a(0x1e1)])!==this['unitID'])return;const _0x4e3ffa={'eventID':_0x166b3['UPDATE_CURSOR'],'data':_0x573b4a};this[_0x4b7e2a(0x2d0)](_0x4e3ffa);}),this['disposeWithMe'](this[_0x51d035(0x218)]['onCommandExecuted'](_0x57156d=>{const _0x17dbf7=_0x51d035;if(_0x57156d[_0x17dbf7(0x205)]==null)return;const _0x5a3d17=_0x57156d[_0x17dbf7(0x205)];if(_0x57156d['id']!==_0x345489['id']||_0x5a3d17[_0x17dbf7(0x2e7)]!==this[_0x17dbf7(0x1e1)])return;const _0x1765ba={'id':_0x17dbf7(0x2e5),'params':_0x5a3d17},_0x7bdd25=this[_0x17dbf7(0x245)];for(const [_0x3b3f5a,_0x471f3e]of _0x7bdd25){const _0x41b1b7={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x471f3e[_0x17dbf7(0x37a)]}},_0x26b584=this[_0x17dbf7(0x360)][_0x17dbf7(0x25d)](_0x1765ba,_0x41b1b7,!0x1);if(_0x1e32bc(_0x26b584))throw _0x26b584[_0x17dbf7(0x382)];_0x7bdd25['set'](_0x3b3f5a,{..._0x471f3e,'ranges':_0x26b584[_0x17dbf7(0x21e)][_0x17dbf7(0x205)][_0x17dbf7(0x28a)]});}queueMicrotask(()=>{const _0x1ae429=_0x17dbf7;this[_0x1ae429(0x37b)][_0x1ae429(0x243)](_0x7bdd25);});})));}[_0x5d24c9(0x2d0)](_0xad07f8){const _0x539478=_0x5d24c9;var _0x41cbeb,_0x344d69;const {memberID:_0x48be70,selection:_0x817c5b}=_0xad07f8['data'],_0x28dfbe=_i(_0x817c5b),_0x3260fe=(_0x344d69=(_0x41cbeb=this['_memberService']['getMember'](this['unitID'],_0x48be70))==null?void 0x0:_0x41cbeb[_0x539478(0x315)])!=null?_0x344d69:_0x539478(0x2fc),_0x59fdad={'color':this[_0x539478(0x38c)][_0x539478(0x2c1)](_0x48be70),'name':_0x3260fe,'ranges':_0x28dfbe},_0xe5b7cb=this[_0x539478(0x245)];_0xe5b7cb[_0x539478(0x3a8)](_0x48be70,_0x59fdad),this[_0x539478(0x37b)][_0x539478(0x243)](_0xe5b7cb);}[_0x5d24c9(0x3b7)](_0x26ef04){const _0x28ea25=_0x5d24c9,{memberID:_0x4585b1}=_0x26ef04['data'],_0x58ada8=this[_0x28ea25(0x245)];_0x58ada8[_0x28ea25(0x34b)](_0x4585b1),this[_0x28ea25(0x37b)][_0x28ea25(0x243)](_0x58ada8);}[_0x5d24c9(0x35c)](){const _0x554d03=_0x5d24c9;var _0x199d3a;if(this[_0x554d03(0x375)]=!0x0,((_0x199d3a=this[_0x554d03(0x3cc)][_0x554d03(0x317)]())==null?void 0x0:_0x199d3a['getUnitId']())!==this[_0x554d03(0x1e1)])return;const _0x137bfe=this[_0x554d03(0x304)]['get'](_0x3ab449)[_0x554d03(0x2dc)]();Array[_0x554d03(0x2ea)](_0x137bfe)&&_0x137bfe[_0x554d03(0x367)]>0x0&&this[_0x554d03(0x319)](_0x137bfe);}[_0x5d24c9(0x2fd)](){const _0x1c23ef=_0x5d24c9;this[_0x1c23ef(0x375)]=!0x1;}};Ue=ui([P(0x2,_0x476ef4(_0x3529a9)),P(0x3,_0x476ef4(ke)),P(0x4,_0x476ef4(_0x4a67bf)),P(0x5,_0x476ef4(He)),P(0x6,_0x19e675),P(0x7,_0x55ae69),P(0x8,_0x1a6279)],Ue);var Si=Object[_0x5d24c9(0x34d)],mi=(_0x4528f9,_0x63b606,_0x53b493,_0x23c038)=>{const _0x45bda2=_0x5d24c9;for(var _0x50ef21=_0x23c038>0x1?void 0x0:_0x23c038?Si(_0x63b606,_0x53b493):_0x63b606,_0x93588c=_0x4528f9[_0x45bda2(0x367)]-0x1,_0x5ba38e;_0x93588c>=0x0;_0x93588c--)(_0x5ba38e=_0x4528f9[_0x93588c])&&(_0x50ef21=_0x5ba38e(_0x50ef21)||_0x50ef21);return _0x50ef21;},x=(_0x1b7a35,_0xfa88f6)=>(_0x57a2a7,_0x312312)=>_0xfa88f6(_0x57a2a7,_0x312312,_0x1b7a35);const Ii=0x12c,vi=0x64,gi=()=>{let _0x414f0d=[],_0x1a39da=!0x1;return _0x293487=>{const _0x2176e6=_0x130c;_0x414f0d[_0x2176e6(0x293)](_0x293487),_0x1a39da||(_0x1a39da=!0x0,setTimeout(()=>{const _0x5f12c8=_0x2176e6;_0x414f0d[_0x5f12c8(0x230)](_0x42d999=>_0x42d999()),_0x414f0d=[],_0x1a39da=!0x1;}));};};let Me=class extends _0x27746e{constructor(_0x51458c,_0x12e027,_0x3a201f,_0x2dd3c3,_0xada6e6,_0x1d8172,_0x2c4fdf,_0x377895){const _0x31d317=_0x5d24c9;super(),_(this,_0x31d317(0x375),!0x1),_(this,_0x31d317(0x3d5),!0x1),_(this,_0x31d317(0x37b),new _0x5952f2(new Map())),_(this,'cursorInfo$',this[_0x31d317(0x37b)]['asObservable']()),_(this,_0x31d317(0x357),new _0x5952f2([])),_(this,_0x31d317(0x327),this[_0x31d317(0x357)][_0x31d317(0x3d1)](_0x412ef1(Ii))),_(this,'_updateLocalCursor',_0x16f5fd((_0x17c682,_0x5b9feb)=>{const _0x47ca72=_0x31d317,_0x50ab67={'eventID':_0x166b3['UPDATE_CURSOR'],'data':{'unitID':this[_0x47ca72(0x1e1)],'memberID':this[_0x47ca72(0x3c8)]['getMemberID'](),'selection':_0xefd625(_0x17c682,_0x5b9feb[_0x47ca72(0x39b)])}};this[_0x47ca72(0x3c8)][_0x47ca72(0x289)](_0x50ab67,this[_0x47ca72(0x1e1)]);},vi)),(this[_0x31d317(0x1e1)]=_0x51458c,this[_0x31d317(0x3c8)]=_0x12e027,this['_injector']=_0x3a201f,this['_colorAssignService']=_0x2dd3c3,this['_memberService']=_0xada6e6,this['_univerInstanceService']=_0x1d8172,this[_0x31d317(0x218)]=_0x2c4fdf,this[_0x31d317(0x343)]=_0x377895);}get[_0x5d24c9(0x245)](){const _0x318ebe=_0x5d24c9;return this['_cursorInfo$'][_0x318ebe(0x220)]();}get[_0x5d24c9(0x26c)](){const _0x23f6cd=_0x5d24c9;return this[_0x23f6cd(0x357)]['getValue']();}[_0x5d24c9(0x1f4)](){const _0x25f908=_0x5d24c9;super[_0x25f908(0x1f4)](),this[_0x25f908(0x37b)][_0x25f908(0x243)](new Map()),this[_0x25f908(0x37b)][_0x25f908(0x2ba)](),this[_0x25f908(0x357)][_0x25f908(0x243)]([]),this['_roomMembers$'][_0x25f908(0x2ba)]();}[_0x5d24c9(0x208)](){const _0x2090ed=_0x5d24c9;this[_0x2090ed(0x3d5)]||(this[_0x2090ed(0x3d5)]=!0x0,this['_session'][_0x2090ed(0x33d)][_0x2090ed(0x3d1)](_0x1e6d67(this['dispose$']))['subscribe'](_0x2cacbf=>{const _0x534c6a=_0x2090ed;_0x2cacbf===_0x379a9b[_0x534c6a(0x3c9)]?this['_toggleOnline']():this[_0x534c6a(0x2fd)]();}),this[_0x2090ed(0x3c8)][_0x2090ed(0x28c)][_0x2090ed(0x3d1)](_0x1e6d67(this[_0x2090ed(0x326)]))[_0x2090ed(0x23b)](_0x100a41=>{const _0x280942=_0x2090ed,_0x2e482e=_0x100a41[_0x280942(0x279)];_0x2e482e===_0x166b3[_0x280942(0x26e)]&&this[_0x280942(0x2d0)](_0x100a41),_0x2e482e===_0x166b3['USERS_LEAVE']&&this[_0x280942(0x3b7)](_0x100a41);}),this[_0x2090ed(0x39a)](),this[_0x2090ed(0x3d8)](this[_0x2090ed(0x218)][_0x2090ed(0x3bc)](_0x47071b=>{const _0xd32184=_0x2090ed;if(this['_online']&&_0x47071b['id']===_0x2b87ae['id']&&_0x47071b[_0xd32184(0x205)][_0xd32184(0x2e7)]===this[_0xd32184(0x1e1)]){const _0x2b747a=_0x47071b[_0xd32184(0x205)];this[_0xd32184(0x319)](_0x2b747a['subUnitId'],_0x2b747a[_0xd32184(0x352)][0x0]);}})));}['_onCursorUpdate'](_0xb1a5eb){const _0x3f0b18=_0x5d24c9;var _0x4d3a6a,_0x44c18f;const {memberID:_0x4c884f,selection:_0x5f0ea8}=_0xb1a5eb[_0x3f0b18(0x2be)],{sheetName:_0x3a72a2,range:_0x23bc4d}=_0x4849d0(_0x5f0ea8),_0x581654={'name':(_0x44c18f=(_0x4d3a6a=this['_memberService'][_0x3f0b18(0x256)](this[_0x3f0b18(0x1e1)],_0x4c884f))==null?void 0x0:_0x4d3a6a['name'])!=null?_0x44c18f:_0x3f0b18(0x2fc),'range':this['_getMergeRange'](_0x3a72a2,_0x23bc4d),'sheetID':_0x3a72a2,'color':this[_0x3f0b18(0x38c)][_0x3f0b18(0x2c1)](_0x4c884f),'selection':_0x5f0ea8},_0x187d92=this['cursorInfo'];_0x187d92[_0x3f0b18(0x3a8)](_0x4c884f,_0x581654),this['_cursorInfo$'][_0x3f0b18(0x243)](_0x187d92);}[_0x5d24c9(0x3b7)](_0x2f3c88){const _0x1f4482=_0x5d24c9,{memberID:_0x3a19f6}=_0x2f3c88[_0x1f4482(0x2be)],_0x46d15e=this[_0x1f4482(0x245)];_0x46d15e[_0x1f4482(0x34b)](_0x3a19f6),this[_0x1f4482(0x37b)][_0x1f4482(0x243)](_0x46d15e);}['_getMergeRange'](_0x1693d3,_0x32c458){const _0x3f0a9d=_0x5d24c9;var _0xfcf08,_0x5bae9e;const _0x1afca4=(_0x5bae9e=(_0xfcf08=this[_0x3f0a9d(0x3cc)][_0x3f0a9d(0x330)](this[_0x3f0a9d(0x1e1)]))==null?void 0x0:_0xfcf08[_0x3f0a9d(0x2c2)](_0x1693d3))==null?void 0x0:_0x5bae9e['getMergeData']();return(_0x1afca4==null?void 0x0:_0x1afca4['find'](_0x27f91a=>_0x4db5c7[_0x3f0a9d(0x388)](_0x27f91a,_0x32c458)))||_0x32c458;}['_onRefRangeChange'](){const _0x457afc=_0x5d24c9,_0x5bfa88=new _0x3807d7(),_0x418708=gi(),_0x297d52=()=>{const _0xa3df2=_0x130c;_0x5bfa88[_0xa3df2(0x1f4)]();const _0x4686df=(_0x4d1fb6,_0xf72d8a,_0x38d706,_0x567151)=>{const _0x4443d1=_0xa3df2;let _0x30526d=[];switch(_0x4d1fb6['id']){case _0x1aa07b['DeleteRangeMoveLeftCommandId']:{_0x30526d=_0x5275f0(_0x4d1fb6,_0x567151);break;}case _0x1aa07b[_0x4443d1(0x2fe)]:{_0x30526d=_0x441b82(_0x4d1fb6,_0x567151);break;}case _0x1aa07b[_0x4443d1(0x30e)]:{_0x30526d=_0x352768(_0x4d1fb6,_0x567151);break;}case _0x1aa07b[_0x4443d1(0x260)]:{_0x30526d=_0x1f3434(_0x4d1fb6,_0x567151);break;}case _0x1aa07b['InsertRangeMoveRightCommandId']:{_0x30526d=_0x3c723e(_0x4d1fb6,_0x567151);break;}case _0x1aa07b['InsertRowCommandId']:{_0x30526d=_0x499dfa(_0x4d1fb6,_0x567151);break;}case _0x1aa07b[_0x4443d1(0x3c6)]:{_0x30526d=_0x13c231(_0x4d1fb6,_0x567151);break;}case _0x1aa07b[_0x4443d1(0x393)]:{_0x30526d=_0x564a11(_0x4d1fb6,_0x567151);break;}case _0x1aa07b[_0x4443d1(0x370)]:{_0x30526d=_0x4daf19(_0x4d1fb6,_0x567151);break;}}const _0x2b43b0=_0x36122c(_0x30526d,_0x567151),_0x3dd388=this[_0x4443d1(0x245)][_0x4443d1(0x1e4)](_0xf72d8a);if(_0x3dd388&&_0x2b43b0){const _0x1b7163={..._0x3dd388,'range':_0x2b43b0};this[_0x4443d1(0x245)][_0x4443d1(0x3a8)](_0xf72d8a,_0x1b7163),_0x418708(()=>{const _0x1dbbf6=_0x4443d1,_0x52bf2d=this[_0x1dbbf6(0x343)]['registerRefRange'](_0x2b43b0,_0x59f92a=>(_0x52bf2d[_0x1dbbf6(0x1f4)](),_0x4686df(_0x59f92a,_0xf72d8a,_0x38d706,_0x2b43b0)));_0x5bfa88[_0x1dbbf6(0x2db)](_0x52bf2d);});}return{'redos':[],'undos':[]};};this[_0xa3df2(0x245)]['forEach']((_0x32e99d,_0x10c9a7)=>{const _0x5116e2=_0xa3df2,{range:_0x3d4d75,sheetID:_0x5b2a80}=_0x32e99d,_0x18df5f=this[_0x5116e2(0x343)]['registerRefRange'](_0x3d4d75,_0x1be26a=>(_0x18df5f[_0x5116e2(0x1f4)](),_0x4686df(_0x1be26a,_0x10c9a7,_0x5b2a80,_0x3d4d75)));_0x5bfa88[_0x5116e2(0x2db)](_0x18df5f);});};this[_0x457afc(0x3d8)](_0x59ba33(this[_0x457afc(0x37b)][_0x457afc(0x23b)](()=>{_0x297d52();})));}[_0x5d24c9(0x35c)](){const _0x414425=_0x5d24c9;var _0x494e71,_0x5771a1;if(this['_online']=!0x0,((_0x494e71=this[_0x414425(0x3cc)]['getFocusedUnit']())==null?void 0x0:_0x494e71[_0x414425(0x399)]())!==this[_0x414425(0x1e1)])return;const _0x2c5791=(_0x5771a1=this[_0x414425(0x304)][_0x414425(0x1e4)](_0x4bea15)[_0x414425(0x3bf)]())==null?void 0x0:_0x5771a1[0x0],_0xfe73f4=this[_0x414425(0x3cc)]['getCurrentUnitForType'](_0x520a55['UNIVER_SHEET'])[_0x414425(0x33b)]();_0x2c5791&&_0xfe73f4&&this[_0x414425(0x319)](_0xfe73f4[_0x414425(0x285)](),_0x2c5791);}[_0x5d24c9(0x2fd)](){const _0x4686d7=_0x5d24c9;this[_0x4686d7(0x375)]=!0x1;}};Me=mi([x(0x2,_0x476ef4(_0x3529a9)),x(0x3,_0x476ef4(ke)),x(0x4,_0x476ef4(_0x4a67bf)),x(0x5,_0x55ae69),x(0x6,_0x1a6279),x(0x7,_0x476ef4(_0x428649))],Me);var pi=Object[_0x5d24c9(0x34d)],Ci=(_0xb74839,_0x8a3c65,_0x1273d9,_0x57d209)=>{const _0x5aa240=_0x5d24c9;for(var _0x2ce5f6=_0x57d209>0x1?void 0x0:_0x57d209?pi(_0x8a3c65,_0x1273d9):_0x8a3c65,_0x2cb702=_0xb74839[_0x5aa240(0x367)]-0x1,_0x5b8e30;_0x2cb702>=0x0;_0x2cb702--)(_0x5b8e30=_0xb74839[_0x2cb702])&&(_0x2ce5f6=_0x5b8e30(_0x2ce5f6)||_0x2ce5f6);return _0x2ce5f6;},me=(_0x2faec3,_0x38e5fb)=>(_0x15806f,_0x4c9e9f)=>_0x38e5fb(_0x15806f,_0x4c9e9f,_0x2faec3);let F=class extends _0x27746e{constructor(_0x2497c9,_0x23fae4,_0x2ccbf2){const _0x1c5277=_0x5d24c9;super(),_(this,_0x1c5277(0x20b),new Map()),_(this,_0x1c5277(0x234),new _0x1fe443()),(this[_0x1c5277(0x3cc)]=_0x2497c9,this['_injector']=_0x23fae4,this[_0x1c5277(0x2eb)]=_0x2ccbf2,this[_0x1c5277(0x3d5)]());}[_0x5d24c9(0x1f4)](){const _0x4d9e8f=_0x5d24c9;super[_0x4d9e8f(0x1f4)](),this[_0x4d9e8f(0x234)]['complete'](),this['_entities'][_0x4d9e8f(0x230)](_0x44fb13=>_0x44fb13[_0x4d9e8f(0x1f4)]());}[_0x5d24c9(0x2d1)](_0x1bb5bb){const _0x3c3036=_0x5d24c9;return this[_0x3c3036(0x20b)][_0x3c3036(0x1f8)](_0x1bb5bb)?this[_0x3c3036(0x20b)][_0x3c3036(0x1e4)](_0x1bb5bb)[_0x3c3036(0x1fa)]:this['_entityInit$'][_0x3c3036(0x3d1)](_0x4cec68(_0xb2e248=>_0xb2e248['unitID']===_0x1bb5bb),_0x583864(_0x4f8bab=>_0x4f8bab[_0x3c3036(0x1fa)]));}[_0x5d24c9(0x3d5)](){const _0x16d4e7=_0x5d24c9;this[_0x16d4e7(0x3cc)][_0x16d4e7(0x381)](_0x520a55[_0x16d4e7(0x2ec)])[_0x16d4e7(0x3d1)](_0x1e6d67(this[_0x16d4e7(0x326)]))[_0x16d4e7(0x23b)](async _0x2df46f=>{const _0x4ac35e=_0x16d4e7,_0x3f96e8=_0x2df46f[_0x4ac35e(0x399)](),_0x1cc8c1=await this[_0x4ac35e(0x1f2)](_0x3f96e8);this[_0x4ac35e(0x234)]['next'](_0x1cc8c1),this['_entities'][_0x4ac35e(0x3a8)](_0x3f96e8,_0x1cc8c1);}),this[_0x16d4e7(0x3cc)][_0x16d4e7(0x381)](_0x520a55['UNIVER_DOC'])['pipe'](_0x1e6d67(this[_0x16d4e7(0x326)]))[_0x16d4e7(0x3d1)](_0x4cec68(_0x265aa8=>!_0x265aa8['getUnitId']()['startsWith']('__')))[_0x16d4e7(0x23b)](async _0x5a08f3=>{const _0xb582ca=_0x16d4e7,_0x1fca6c=_0x5a08f3[_0xb582ca(0x399)](),_0x53247f=await this['_startDocCollabCursor'](_0x1fca6c);this['_entityInit$'][_0xb582ca(0x243)](_0x53247f),this[_0xb582ca(0x20b)]['set'](_0x1fca6c,_0x53247f);}),_0xdaf147(this[_0x16d4e7(0x3cc)][_0x16d4e7(0x372)](_0x520a55['UNIVER_DOC']),this[_0x16d4e7(0x3cc)]['getTypeOfUnitDisposed$'](_0x520a55[_0x16d4e7(0x2ec)]))[_0x16d4e7(0x3d1)](_0x1e6d67(this[_0x16d4e7(0x326)]))['subscribe'](_0x499221=>{const _0x6a0fcc=_0x16d4e7,_0x55ad27=_0x499221[_0x6a0fcc(0x399)](),_0x427545=this[_0x6a0fcc(0x20b)][_0x6a0fcc(0x1e4)](_0x55ad27);_0x427545&&(_0x427545[_0x6a0fcc(0x1f4)](),this[_0x6a0fcc(0x20b)][_0x6a0fcc(0x34b)](_0x55ad27));});}async['_startSheetCollabCursor'](_0x45561f){const _0x50f00e=_0x5d24c9,_0x3ec976=await this['_collabSessionService']['requireSession'](_0x45561f),_0x13c9d4=this[_0x50f00e(0x304)][_0x50f00e(0x3c4)](Me,_0x45561f,_0x3ec976);return _0x13c9d4[_0x50f00e(0x208)](),_0x13c9d4;}async[_0x5d24c9(0x286)](_0x47ebf1){const _0x2bf76f=_0x5d24c9,_0x509901=await this[_0x2bf76f(0x2eb)][_0x2bf76f(0x2f4)](_0x47ebf1),_0x144e67=this[_0x2bf76f(0x304)][_0x2bf76f(0x3c4)](Ue,_0x47ebf1,_0x509901);return _0x144e67[_0x2bf76f(0x208)](),_0x144e67;}};F=Ci([me(0x0,_0x55ae69),me(0x1,_0x476ef4(_0x3529a9)),me(0x2,_0x476ef4(_0x334391))],F);const J=0x14,Qe=0xc8,Ie=0x4,Ei=0x5;function Oi(_0x256060,_0x3d7a12){const _0x52722e=_0x5d24c9;let {radius:_0x3b8b7e,width:_0x3118ab,height:_0x3176d5}=_0x3d7a12;_0x3b8b7e=_0x3b8b7e!=null?_0x3b8b7e:0x0,_0x3118ab=_0x3118ab!=null?_0x3118ab:0x1e,_0x3176d5=_0x3176d5!=null?_0x3176d5:0x1e;let _0x4edab4=0x0,_0x15eb62=0x0,_0x178b2e=0x0;_0x4edab4=_0x15eb62=_0x178b2e=Math[_0x52722e(0x2c3)](_0x3b8b7e,_0x3118ab/0x2,_0x3176d5/0x2),_0x256060[_0x52722e(0x1ed)](),_0x256060['moveTo'](_0x4edab4,0x0),_0x256060['lineTo'](_0x3118ab-_0x15eb62,0x0),_0x256060[_0x52722e(0x3a4)](_0x3118ab-_0x15eb62,_0x15eb62,_0x15eb62,Math['PI']*0x3/0x2,0x0,!0x1),_0x256060[_0x52722e(0x221)](_0x3118ab,_0x3176d5-_0x178b2e),_0x256060[_0x52722e(0x3a4)](_0x3118ab-_0x178b2e,_0x3176d5-_0x178b2e,_0x178b2e,0x0,Math['PI']/0x2,!0x1),_0x256060[_0x52722e(0x221)](0x0,_0x3176d5),_0x256060['lineTo'](0x0,_0x4edab4),_0x256060['arc'](_0x4edab4,_0x4edab4,_0x4edab4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x256060['closePath'](),_0x3d7a12[_0x52722e(0x2d4)]&&(_0x256060['save'](),_0x256060['fillStyle']=_0x3d7a12[_0x52722e(0x2d4)],_0x3d7a12['fillRule']===_0x52722e(0x2b0)?_0x256060[_0x52722e(0x2d4)](_0x52722e(0x2b0)):_0x256060[_0x52722e(0x2d4)](),_0x256060[_0x52722e(0x308)]());}class ue extends _0x59039a{constructor(_0x4fcd78,_0x5840aa){const _0x58320b=_0x5d24c9;super(_0x4fcd78,_0x5840aa),_(this,_0x58320b(0x2f7)),_(this,'text'),(this[_0x58320b(0x2f7)]=_0x5840aa==null?void 0x0:_0x5840aa[_0x58320b(0x2f7)],this[_0x58320b(0x1ea)]=_0x5840aa==null?void 0x0:_0x5840aa['text']);}static[_0x5d24c9(0x300)](_0x583b10,_0x56356f){const _0x1e8f3a=_0x5d24c9,{text:_0x17f829,color:_0x7a9c31}=_0x56356f;_0x583b10['save'](),_0x583b10[_0x1e8f3a(0x1e5)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1691ab=_0x583b10['measureText'](_0x17f829)['width'],_0xe523d7=Math[_0x1e8f3a(0x2c3)](_0x1691ab+0x2*Ie,Qe);Oi(_0x583b10,{'height':J,'radius':0x4,'width':_0xe523d7,'fill':_0x7a9c31}),_0x583b10['fillStyle']=_0x1e8f3a(0x3ac);const _0x414ade=Ie,_0x5dbba6=J-Ei,_0x3f3f14=Qe-0x2*Ie;if(_0x1691ab>_0x3f3f14){let _0x4886e8='',_0x186bde=0x0;for(const _0x30f529 of _0x17f829){const _0x33e336=_0x583b10[_0x1e8f3a(0x219)](_0x30f529)[_0x1e8f3a(0x379)];if(_0x186bde+_0x33e336<=_0x3f3f14-_0x583b10[_0x1e8f3a(0x219)]('...')[_0x1e8f3a(0x379)])_0x4886e8+=_0x30f529,_0x186bde+=_0x33e336;else{_0x4886e8+=_0x1e8f3a(0x362);break;}}_0x583b10[_0x1e8f3a(0x29a)](_0x4886e8,_0x414ade,_0x5dbba6);}else _0x583b10[_0x1e8f3a(0x29a)](_0x17f829,_0x414ade,_0x5dbba6);_0x583b10[_0x1e8f3a(0x308)]();}['_draw'](_0x52d6d1){const _0x1af67c=_0x5d24c9;ue[_0x1af67c(0x300)](_0x52d6d1,this);}}const ve='collab-text-anchor-',bi=_0x5d24c9(0x3d9),Ti='collab-rect-range-',G=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x3ae2b8,_0x1e060b,_0x5a6b7d,_0x1252b5){const _0x3c5a93=_0x5d24c9;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x3c5a93(0x3b4),null),_(this,_0x3c5a93(0x2c0),null),_(this,_0x3c5a93(0x389),null),_(this,_0x3c5a93(0x312),null),(this[_0x3c5a93(0x214)]=_0x3ae2b8,this['_scene']=_0x1e060b,this[_0x3c5a93(0x1e8)]=_0x5a6b7d,this['_document']=_0x1252b5,this[_0x3c5a93(0x222)]());}set[_0x5d24c9(0x1e0)](_0x5e9d48){const _0x1c26bc=_0x5d24c9;_0x5e9d48?(this[_0x1c26bc(0x2c0)]&&this[_0x1c26bc(0x2c0)][_0x1c26bc(0x2cb)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x1c26bc(0x2c0)]&&this[_0x1c26bc(0x2c0)][_0x1c26bc(0x26a)](),this[_0x1c26bc(0x3b4)]&&this[_0x1c26bc(0x3b4)][_0x1c26bc(0x2cb)]());}[_0x5d24c9(0x1f4)](){const _0x56293b=_0x5d24c9;for(const _0x33d7a2 of this[_0x56293b(0x1ec)])_0x33d7a2[_0x56293b(0x1f4)]();this[_0x56293b(0x3b4)]&&this['_textBubble'][_0x56293b(0x1f4)](),this[_0x56293b(0x2c0)]&&this['_anchorDot']['dispose'](),this[_0x56293b(0x36d)]&&this['_anchor'][_0x56293b(0x1f4)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x5d24c9(0x222)](){const _0x3858cc=_0x5d24c9;var _0x4ff40b;const {_docSkeleton:_0x15fae0,_document:_0x4b8e8a}=this,{color:_0x40e9a9,name:_0x2c8d35,ranges:_0x29b4ef}=this['_cursor'],_0x50efcd=_0x4b8e8a['getOffsetConfig'](),{docsLeft:_0x3807f4,docsTop:_0x2ff96e}=_0x50efcd,_0x3f5ef2=new _0x55aa3c(_0x50efcd,_0x15fae0);for(const {startOffset:_0x11eceb,endOffset:_0x2eeccd,rangeType:_0x2972e0,segmentId:_0x14815a,segmentPage:_0xb9b2b,collapsed:_0x46023c,isActive:_0x5da515}of _0x29b4ef){const _0xeccc73=_0x15fae0['findNodePositionByCharIndex'](_0x11eceb,!0x0,_0x14815a,_0xb9b2b);let _0x4c5ea0=_0x15fae0[_0x3858cc(0x290)](_0x2eeccd,!0x0,_0x14815a,_0xb9b2b);if(_0x4c5ea0==null&&(_0x4c5ea0=_0x15fae0[_0x3858cc(0x290)](_0x2eeccd-0x1,!0x1,_0x14815a,_0xb9b2b)),_0x5da515){const {contentBoxPointGroup:_0x130612}=_0x3f5ef2[_0x3858cc(0x2ad)](_0x4c5ea0,_0x4c5ea0);if(_0x130612[_0x3858cc(0x367)]===0x0)continue;this[_0x3858cc(0x2a3)](_0x40e9a9,_0x130612,_0x3807f4,_0x2ff96e,_0x2c8d35),this['_eventUnsubscribe']=this[_0x3858cc(0x328)]();}if(_0xeccc73&&_0x4c5ea0){if(_0x2972e0===_0x5be365['RECT']){const _0x1531b6=new _0x57b4a1(_0x50efcd,_0x15fae0),{pointGroup:_0x3e67c4}=(_0x4ff40b=_0x1531b6[_0x3858cc(0x2ad)](_0xeccc73,_0x4c5ea0))!=null?_0x4ff40b:{};if(_0x3e67c4==null||_0x3e67c4[_0x3858cc(0x367)]===0x0)continue;this['_drawRectRange'](_0x40e9a9,_0x3e67c4,_0x3807f4,_0x2ff96e);}else{if(!_0x46023c){const {borderBoxPointGroup:_0x1e21e7}=_0x3f5ef2['getRangePointData'](_0xeccc73,_0x4c5ea0);if(_0x1e21e7[_0x3858cc(0x367)]===0x0)continue;this[_0x3858cc(0x35d)](_0x40e9a9,_0x1e21e7,_0x3807f4,_0x2ff96e);}}}}}[_0x5d24c9(0x2a3)](_0x44eaa7,_0x23cb7a,_0x516a9d,_0x52184f,_0x26c062){const _0x5f4c8c=_0x5d24c9,_0x8da543=this['_getAnchorBounding'](_0x23cb7a),{left:_0x2a5085,top:_0x3e4053,height:_0x34b349}=_0x8da543,_0x5145a7=this[_0x5f4c8c(0x2d6)](),_0x4dd68c=Di/_0x5145a7,_0x221475=new _0x307dc5(ve+_0x4edadc(G),{'left':_0x2a5085+_0x516a9d-_0x4dd68c,'top':_0x3e4053+_0x52184f,'height':_0x34b349,'width':Ri,'fill':_0x44eaa7||_0x41b73d(_0x2958de[_0x5f4c8c(0x294)],0x0),'strokeWidth':_0x4dd68c,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x221475,this[_0x5f4c8c(0x32d)][_0x5f4c8c(0x321)](_0x221475,_0x4f526d);const _0x198041=new _0x307dc5(ve+_0x4edadc(G),{'left':_0x2a5085+_0x516a9d-_0x4dd68c,'top':_0x3e4053+_0x52184f-ge/0x2,'height':ge,'width':ge,'fill':_0x44eaa7||_0x41b73d(_0x2958de[_0x5f4c8c(0x294)],0x0),'strokeWidth':0x0,'stroke':_0x44eaa7||_0x41b73d(_0x2958de['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x198041,this[_0x5f4c8c(0x32d)][_0x5f4c8c(0x321)](_0x198041,_0x4f526d);const _0x9447d3=new ue(ve+_0x4edadc(G),{'left':_0x2a5085+_0x516a9d-_0x4dd68c,'top':_0x3e4053+_0x52184f-J,'text':_0x26c062,'color':_0x44eaa7});this[_0x5f4c8c(0x3b4)]=_0x9447d3,this[_0x5f4c8c(0x32d)][_0x5f4c8c(0x321)](_0x9447d3,_0x4f526d),this[_0x5f4c8c(0x1e0)]=!0x1;}[_0x5d24c9(0x328)](){const _0x5040a4=_0x5d24c9,_0x24a7f=this[_0x5040a4(0x36d)]['onPointerEnter$'][_0x5040a4(0x275)](()=>{const _0xcdffe4=_0x5040a4;this[_0xcdffe4(0x1e0)]=!0x0;}),_0x24305f=this['_anchor']['onPointerLeave$']['subscribeEvent'](()=>{const _0x216545=_0x5040a4;this[_0x216545(0x389)]&&clearTimeout(this[_0x216545(0x389)]),this['_hideTimer']=setTimeout(()=>{const _0x3b6c04=_0x216545;this[_0x3b6c04(0x1e0)]=!0x1;},0x7d0);});return()=>{const _0x162f9a=_0x5040a4;_0x24a7f[_0x162f9a(0x395)](),_0x24305f[_0x162f9a(0x395)]();};}[_0x5d24c9(0x35d)](_0x4d1563,_0x473216,_0x3aadf0,_0x257756){const _0x3f70f2=_0x5d24c9,_0x1bda37=new _0x2b6930(_0x4d1563)[_0x3f70f2(0x31e)](0.2)[_0x3f70f2(0x287)](),_0x55d1b1=new _0x374b5d(bi+_0x4edadc(G),{'pointsGroup':_0x473216,'fill':_0x1bda37||_0x41b73d(_0x2958de[_0x3f70f2(0x294)],0.2),'left':_0x3aadf0,'top':_0x257756,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3f70f2(0x1ec)][_0x3f70f2(0x293)](_0x55d1b1),this[_0x3f70f2(0x32d)]['addObject'](_0x55d1b1,_0x4f526d);}[_0x5d24c9(0x3b5)](_0x465aeb,_0x1c7120,_0x79b4da,_0x5d257a){const _0x1a6a72=_0x5d24c9,_0x127cab=new _0x2b6930(_0x465aeb)[_0x1a6a72(0x31e)](0.2)['toRgbString'](),_0x2cb4c2=new _0x374b5d(Ti+_0x4edadc(G),{'pointsGroup':_0x1c7120,'fill':_0x127cab||_0x41b73d(_0x2958de[_0x1a6a72(0x294)],0.2),'left':_0x79b4da,'top':_0x5d257a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a6a72(0x1ec)][_0x1a6a72(0x293)](_0x2cb4c2),this[_0x1a6a72(0x32d)][_0x1a6a72(0x321)](_0x2cb4c2,_0x4f526d);}[_0x5d24c9(0x291)](_0x4d32c2){const _0x9b2b0e=_0x4d32c2[0x0],_0x387783=_0x9b2b0e[0x0],_0x7eda1a=_0x9b2b0e[0x2],{x:_0xefdb34,y:_0x4d3492}=_0x387783,{x:_0x242753,y:_0x296bab}=_0x7eda1a;return{'left':_0xefdb34,'top':_0x4d3492,'width':_0x242753-_0xefdb34,'height':_0x296bab-_0x4d3492};}['_getScale'](){const _0x4c879d=_0x5d24c9,{scaleX:_0x3ff018,scaleY:_0x7aa6b8}=this[_0x4c879d(0x32d)][_0x4c879d(0x2e3)]();return Math[_0x4c879d(0x295)](_0x3ff018,_0x7aa6b8);}}var Ui=Object[_0x5d24c9(0x34d)],Mi=(_0x23ee35,_0x353300,_0x2e94b5,_0x9df2d6)=>{for(var _0x279bd8=_0x9df2d6>0x1?void 0x0:_0x9df2d6?Ui(_0x353300,_0x2e94b5):_0x353300,_0x3018a6=_0x23ee35['length']-0x1,_0x199e93;_0x3018a6>=0x0;_0x3018a6--)(_0x199e93=_0x23ee35[_0x3018a6])&&(_0x279bd8=_0x199e93(_0x279bd8)||_0x279bd8);return _0x279bd8;},q=(_0x205c32,_0xe98716)=>(_0x5af680,_0x133f02)=>_0xe98716(_0x5af680,_0x133f02,_0x205c32);let Le=class extends _0x27746e{constructor(_0x2fb0a5,_0x2d6e40,_0x339aba,_0x1f2974,_0x42b2e6){const _0x446a7d=_0x5d24c9;super(),_(this,_0x446a7d(0x371),[]),_(this,_0x446a7d(0x296),[]),(this[_0x446a7d(0x2de)]=_0x2fb0a5,this[_0x446a7d(0x305)]=_0x2d6e40,this[_0x446a7d(0x397)]=_0x339aba,this[_0x446a7d(0x218)]=_0x1f2974,this['_themeService']=_0x42b2e6,this[_0x446a7d(0x3d5)]());}[_0x5d24c9(0x3d5)](){const _0x3096b0=_0x5d24c9,_0x21b6b3=this['_context']['unitId'],_0x8a583b=this[_0x3096b0(0x305)];this['disposeWithMe'](_0x57a6ab([this[_0x3096b0(0x397)][_0x3096b0(0x2d1)](_0x21b6b3),this[_0x3096b0(0x347)][_0x3096b0(0x266)]])[_0x3096b0(0x3d1)](_0x4a507c(([_0x492889,_0x4a9e36])=>({'skeleton':_0x8a583b[_0x3096b0(0x29b)](),'cursors':[..._0x492889['values']()][_0x3096b0(0x2a7)](_0x32ed17=>({..._0x32ed17,'color':this[_0x3096b0(0x347)]['getColorFromTheme'](_0x32ed17[_0x3096b0(0x2f7)])}))})))['subscribe'](_0x55cf8a=>{const _0x4d2ede=_0x3096b0;if(this['_removeCollabCursors'](),_0x55cf8a){const {skeleton:_0x5d81c8,cursors:_0x3b5dc8}=_0x55cf8a;this[_0x4d2ede(0x2a5)](_0x5d81c8,_0x3b5dc8);}})),this['_initResize'](),this[_0x3096b0(0x227)]();}[_0x5d24c9(0x2a5)](_0x3b0b56,_0x57e1fc){const _0x2c62b6=_0x5d24c9,{scene:_0x3cbf60,mainComponent:_0x1a2b9e}=this[_0x2c62b6(0x2de)],_0x5cfbe7=_0x57e1fc[_0x2c62b6(0x21c)](_0x5c5f67=>new qe(_0x5c5f67,_0x3cbf60,_0x3b0b56,_0x1a2b9e));this[_0x2c62b6(0x371)]=_0x5cfbe7,this[_0x2c62b6(0x296)]=_0x57e1fc;}[_0x5d24c9(0x24e)](){const _0x30fb08=_0x5d24c9;this['_removeCollabCursors']();const {scene:_0x505c16,mainComponent:_0x4b7bab}=this[_0x30fb08(0x2de)],_0x57e56c=this[_0x30fb08(0x305)][_0x30fb08(0x29b)](),_0x40d6f9=this[_0x30fb08(0x296)][_0x30fb08(0x21c)](_0x22d969=>new qe(_0x22d969,_0x505c16,_0x57e56c,_0x4b7bab));this[_0x30fb08(0x371)]=_0x40d6f9;}['_removeCollabCursors'](){const _0x15c202=_0x5d24c9;this[_0x15c202(0x371)]['forEach'](_0x338584=>_0x338584[_0x15c202(0x1f4)]()),this['_cursorShapes']=[];}[_0x5d24c9(0x227)](){const _0x4f58f2=_0x5d24c9,_0x44d8d6=[_0x57654d['id']];this['disposeWithMe'](this[_0x4f58f2(0x218)][_0x4f58f2(0x3bc)](_0x1da0eb=>{const _0x522998=_0x4f58f2;_0x44d8d6[_0x522998(0x336)](_0x1da0eb['id'])&&_0x1da0eb[_0x522998(0x205)][_0x522998(0x2e7)]===this[_0x522998(0x2de)][_0x522998(0x2e7)]&&this['_refreshCollabCursors']();}));}[_0x5d24c9(0x332)](){const _0x217cd2=_0x5d24c9;this[_0x217cd2(0x3d8)](_0x38cb51(this['_context'][_0x217cd2(0x3c5)][_0x217cd2(0x358)])[_0x217cd2(0x3d1)](_0x5d33bf(_0x2ce4b6=>_0x2ce4b6[_0x217cd2(0x369)]===_0x540fdc[_0x217cd2(0x3a3)]),_0x750fe9(0x10))['subscribe'](()=>{const _0x3956c2=_0x217cd2;this[_0x3956c2(0x24e)]();}));}};Le=Mi([q(0x1,_0x476ef4(_0x2c2966)),q(0x2,_0x476ef4(F)),q(0x3,_0x1a6279),q(0x4,_0x476ef4(_0x5d8fcf))],Le);const Li=0x1,Pi=1.5;class wi extends _0x59039a{constructor(_0x13eccb,_0x30dfd0){const _0x270191=_0x5d24c9;super(_0x13eccb,_0x30dfd0),_(this,_0x270191(0x339)),_(this,_0x270191(0x21b),!0x1),_(this,_0x270191(0x3b6)),_(this,'_name',''),_(this,_0x270191(0x3aa),_0x270191(0x2e8)),_(this,'_backgroundColor'),(_0x30dfd0&&this[_0x270191(0x2f2)](_0x30dfd0),this['onPointerEnter$'][_0x270191(0x275)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x270191(0x249)][_0x270191(0x275)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5d24c9(0x2f2)](_0x2785c9){const _0x3b806a=_0x5d24c9;var _0x59f1b6,_0x8b28f9,_0x4d25ec,_0x2d7c85,_0x2421d9,_0x44ca3f;this[_0x3b806a(0x339)]=(_0x59f1b6=_0x2785c9[_0x3b806a(0x2f7)])!=null?_0x59f1b6:this[_0x3b806a(0x339)],this[_0x3b806a(0x21b)]=(_0x8b28f9=_0x2785c9['hovered'])!=null?_0x8b28f9:this[_0x3b806a(0x21b)],this[_0x3b806a(0x3b6)]=(_0x4d25ec=_0x2785c9[_0x3b806a(0x39b)])!=null?_0x4d25ec:this[_0x3b806a(0x3b6)],this['_name']=(_0x2d7c85=_0x2785c9['name'])!=null?_0x2d7c85:this[_0x3b806a(0x2a2)],this['_labelPosition']=(_0x2421d9=_0x2785c9['labelPosition'])!=null?_0x2421d9:this[_0x3b806a(0x3aa)],this['_backgroundColor']=(_0x44ca3f=_0x2785c9[_0x3b806a(0x385)])!=null?_0x44ca3f:this[_0x3b806a(0x31f)],this[_0x3b806a(0x24a)]({'width':_0x2785c9[_0x3b806a(0x379)],'height':_0x2785c9[_0x3b806a(0x212)]});}[_0x5d24c9(0x36f)](_0x36e74e){const _0x55f367=_0x5d24c9,{row:_0x21be75,column:_0x2be572}=_0x36e74e;if(_0x21be75>=this[_0x55f367(0x3b6)][_0x55f367(0x201)]&&_0x21be75<=this['_range'][_0x55f367(0x307)]&&_0x2be572>=this[_0x55f367(0x3b6)]['startColumn']&&_0x2be572<=this[_0x55f367(0x3b6)][_0x55f367(0x25f)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x5d24c9(0x3a2)](_0x1f2eb7){return!0x1;}[_0x5d24c9(0x2dd)](_0x4bd62d){const _0x4cad32=_0x5d24c9;_0x307dc5[_0x4cad32(0x300)](_0x4bd62d,{'width':this['width'],'height':this['height'],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x4cad32(0x31f)]}),this[_0x4cad32(0x21b)]&&(_0x4bd62d[_0x4cad32(0x390)](),_0x4bd62d['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x4cad32(0x2e2)?0x0:-J),ue[_0x4cad32(0x300)](_0x4bd62d,{'text':this[_0x4cad32(0x2a2)],'color':this[_0x4cad32(0x339)]}),_0x4bd62d[_0x4cad32(0x308)]());}}var Ai=Object[_0x5d24c9(0x34d)],yi=(_0x392da8,_0x83cd67,_0x5dce00,_0x3548fe)=>{const _0x1a60c4=_0x5d24c9;for(var _0xf5380e=_0x3548fe>0x1?void 0x0:_0x3548fe?Ai(_0x83cd67,_0x5dce00):_0x83cd67,_0x2608c1=_0x392da8[_0x1a60c4(0x367)]-0x1,_0x11d67e;_0x2608c1>=0x0;_0x2608c1--)(_0x11d67e=_0x392da8[_0x2608c1])&&(_0xf5380e=_0x11d67e(_0xf5380e)||_0xf5380e);return _0xf5380e;},pe=(_0x5cc20f,_0x4b51e4)=>(_0x1e90cd,_0x5040e4)=>_0x4b51e4(_0x1e90cd,_0x5040e4,_0x5cc20f);const $i=0x1389;let Pe=class extends _0x27746e{constructor(_0x2ea6f0,_0x52d7da,_0x2244a1,_0x253b3e){const _0x50ae04=_0x5d24c9;super(),_(this,'_cursors',new Set()),_(this,_0x50ae04(0x35a),null),(this[_0x50ae04(0x2de)]=_0x2ea6f0,this[_0x50ae04(0x3b1)]=_0x52d7da,this['_collabCursorController']=_0x2244a1,this['_themeService']=_0x253b3e,this[_0x50ae04(0x3d5)]());}[_0x5d24c9(0x3d5)](){const _0x27572c=_0x5d24c9;this[_0x27572c(0x3b1)][_0x27572c(0x3d6)][_0x27572c(0x3d1)](_0x252116(this[_0x27572c(0x326)]),_0x200b81(_0x2cce0a=>{const _0x392c7a=_0x27572c;if(_0x2cce0a){const _0x37dbbc=_0x2cce0a[_0x392c7a(0x3cd)];return _0x57a6ab(this[_0x392c7a(0x397)][_0x392c7a(0x2d1)](this[_0x392c7a(0x2de)][_0x392c7a(0x2e7)]),this[_0x392c7a(0x347)][_0x392c7a(0x266)])[_0x392c7a(0x3d1)](_0x4a507c(([_0x14995c,_0x1b023d])=>{const _0x22726d=new Map();return _0x14995c['forEach']((_0xc89048,_0x3efd78)=>{const _0x467623=_0x130c;if(_0xc89048[_0x467623(0x270)]===_0x37dbbc){const _0x3d46e1={..._0xc89048};_0x3d46e1[_0x467623(0x2f7)]=this['_themeService'][_0x467623(0x39d)](_0xc89048[_0x467623(0x2f7)]),_0x22726d[_0x467623(0x3a8)](_0x3efd78,_0x3d46e1);}}),{'skeleton':_0x2cce0a,'cursors':_0x22726d};}));}return _0x4983e4({'skeleton':null,'cursors':new Map()});}))[_0x27572c(0x23b)](({skeleton:_0x2be1bc,cursors:_0x1cdc3f})=>{const _0x5e932b=_0x27572c;this[_0x5e932b(0x32b)](),_0x2be1bc&&this[_0x5e932b(0x2a5)](_0x2be1bc,_0x1cdc3f);}),this[_0x27572c(0x3b1)][_0x27572c(0x3d6)][_0x27572c(0x23b)](_0x42bc31=>{const _0x27081c=_0x27572c;if(_0x42bc31==null)return;const {skeleton:_0x1b919f}=_0x42bc31,{scene:_0xd7b60d}=this[_0x27081c(0x2de)];_0xd7b60d[_0x27081c(0x32a)][_0x27081c(0x275)](_0x16f5fd(_0x11b796=>{const _0x52cad1=_0x27081c;var _0x9e021b,_0x1e62b2;const {offsetX:_0x4ee390,offsetY:_0x1530cd}=_0x11b796,{x:_0xd77174,y:_0x3e6b02}=_0xd7b60d[_0x52cad1(0x271)](_0x27eec2[_0x52cad1(0x233)]([_0x4ee390,_0x1530cd])),{scaleX:_0x2b8dd3,scaleY:_0x48df2f}=_0xd7b60d[_0x52cad1(0x2e3)](),_0x34f004=_0xd7b60d['getViewport'](_0x51317d[_0x52cad1(0x216)]),_0x1c9aae=_0xd7b60d[_0x52cad1(0x1f5)](_0x27eec2[_0x52cad1(0x233)]([_0xd77174,_0x3e6b02]),_0x34f004),_0x7af437=_0x1b919f['getCellPositionByOffset'](_0x4ee390,_0x1530cd,_0x2b8dd3,_0x48df2f,_0x1c9aae);((_0x9e021b=this[_0x52cad1(0x35a)])==null?void 0x0:_0x9e021b['column'])===_0x7af437[_0x52cad1(0x288)]&&((_0x1e62b2=this[_0x52cad1(0x35a)])==null?void 0x0:_0x1e62b2[_0x52cad1(0x223)])===_0x7af437[_0x52cad1(0x223)]||this[_0x52cad1(0x296)][_0x52cad1(0x230)](_0x285c9d=>{_0x285c9d['onMouseMove'](_0x7af437);});},0x64));});}[_0x5d24c9(0x2a5)](_0x4a950b,_0x1e168e){const _0x35a9c2=_0x5d24c9;var _0x385e7b;const _0x566697=(_0x385e7b=this[_0x35a9c2(0x3b1)][_0x35a9c2(0x1f9)]())==null?void 0x0:_0x385e7b[_0x35a9c2(0x2a4)];if(!_0x566697)return;const _0x30ccc1=this[_0x35a9c2(0x259)]();if(!_0x30ccc1)return;this['_cursors'][_0x35a9c2(0x230)](_0x41a572=>{const _0x5a185c=_0x35a9c2;_0x41a572[_0x5a185c(0x22f)]();});const {scene:_0x41618}=_0x30ccc1,_0x2207c7=xi(Array[_0x35a9c2(0x306)](_0x1e168e[_0x35a9c2(0x241)]()))['map'](_0x3775f0=>{const _0x36ae42=_0x35a9c2,{color:_0x24ea6f,range:_0x342936,name:_0x2bfd74,selection:_0x1f519c,sheetID:_0x9a3116}=_0x3775f0,{startColumn:_0x50bc26,startRow:_0x21b9ed,endColumn:_0x33a3db,endRow:_0x21b7de}=_0x342936,_0x8bf6b6=_0x5673fa(_0x21b9ed,_0x50bc26,_0x41618,_0x566697),_0x5540d6=_0x5673fa(_0x21b7de,_0x33a3db,_0x41618,_0x566697),{columnHeaderHeightAndMarginTop:_0x21468b}=_0x566697,{startX:_0x43422b,startY:_0x19aefb}=_0x8bf6b6,{endX:_0x23e2d5,endY:_0x309912}=_0x5540d6,_0x4db83c=_0x23e2d5-_0x43422b,_0x163d75=_0x309912-_0x19aefb,_0x30f06e={'labelPosition':_0x19aefb-_0x21468b>=J?_0x36ae42(0x2e8):_0x36ae42(0x2e2),'sheetID':_0x9a3116,'range':_0x342936,'color':_0x24ea6f,'name':_0x2bfd74,'selection':_0x1f519c,'left':_0x43422b,'top':_0x19aefb,'width':_0x4db83c,'height':_0x163d75,'evented':!0x1,'zIndex':$i};return new wi(_0x2bfd74,_0x30f06e);});_0x41618[_0x35a9c2(0x2fb)](_0x2207c7,Li),this[_0x35a9c2(0x296)]=new Set(_0x2207c7);}['_removeCollabCursors'](){const _0x33870b=_0x5d24c9;var _0x39071b;(_0x39071b=this[_0x33870b(0x296)])==null||_0x39071b['forEach'](_0x555a97=>_0x555a97[_0x33870b(0x1f4)]());}[_0x5d24c9(0x259)](){const _0x3240a8=_0x5d24c9;return _0x24a3c5(this['_context'][_0x3240a8(0x2b2)],this['_context']);}};Pe=yi([pe(0x1,_0x476ef4(_0x34a495)),pe(0x2,_0x476ef4(F)),pe(0x3,_0x476ef4(_0x5d8fcf))],Pe);function xi(_0x3d3d77){const _0xe90fd7=_0x5d24c9,_0x127ee5=new Map();return _0x3d3d77[_0xe90fd7(0x230)](_0xc44d4c=>{const _0x15d460=_0xe90fd7;if(_0x127ee5['has'](_0xc44d4c[_0x15d460(0x1f7)])){const _0x48ab34=_0x127ee5[_0x15d460(0x1e4)](_0xc44d4c[_0x15d460(0x1f7)]);_0x48ab34[_0x15d460(0x315)]+=',\x20'+_0xc44d4c['name'];}else _0x127ee5[_0x15d460(0x3a8)](_0xc44d4c[_0x15d460(0x1f7)],_0xc44d4c);}),Array['from'](_0x127ee5[_0xe90fd7(0x241)]());}var v=function(){const _0x11650f=_0x5d24c9;return v=Object[_0x11650f(0x378)]||function(_0x135041){const _0x26caac=_0x11650f;for(var _0x5e5170,_0x2cb1d9=0x1,_0x3b02cc=arguments[_0x26caac(0x367)];_0x2cb1d9<_0x3b02cc;_0x2cb1d9++){_0x5e5170=arguments[_0x2cb1d9];for(var _0x3d59d3 in _0x5e5170)Object[_0x26caac(0x365)][_0x26caac(0x2af)][_0x26caac(0x299)](_0x5e5170,_0x3d59d3)&&(_0x135041[_0x3d59d3]=_0x5e5170[_0x3d59d3]);}return _0x135041;},v[_0x11650f(0x20e)](this,arguments);},Bi=function(_0x3fa766,_0x4633c4){const _0xbb17e0=_0x5d24c9;var _0x59ed2e={};for(var _0x149f7b in _0x3fa766)Object['prototype'][_0xbb17e0(0x2af)][_0xbb17e0(0x299)](_0x3fa766,_0x149f7b)&&_0x4633c4[_0xbb17e0(0x30c)](_0x149f7b)<0x0&&(_0x59ed2e[_0x149f7b]=_0x3fa766[_0x149f7b]);if(_0x3fa766!=null&&typeof Object[_0xbb17e0(0x3c3)]==_0xbb17e0(0x313)){for(var _0x486958=0x0,_0x149f7b=Object[_0xbb17e0(0x3c3)](_0x3fa766);_0x486958<_0x149f7b[_0xbb17e0(0x367)];_0x486958++)_0x4633c4[_0xbb17e0(0x30c)](_0x149f7b[_0x486958])<0x0&&Object[_0xbb17e0(0x365)][_0xbb17e0(0x391)][_0xbb17e0(0x299)](_0x3fa766,_0x149f7b[_0x486958])&&(_0x59ed2e[_0x149f7b[_0x486958]]=_0x3fa766[_0x149f7b[_0x486958]]);}return _0x59ed2e;},Fe=_0xa9ece8(function(_0x9466e,_0x272699){const _0x5bf550=_0x5d24c9;var _0x303252=_0x9466e[_0x5bf550(0x376)],_0x3cba3c=_0x9466e['id'],_0x58a8ad=_0x9466e[_0x5bf550(0x36c)],_0x1f650f=_0x9466e[_0x5bf550(0x1e7)],_0x9a0fa6=Bi(_0x9466e,[_0x5bf550(0x376),'id','className',_0x5bf550(0x1e7)]),_0xd8a59f=_0x5bf550(0x206)[_0x5bf550(0x217)](_0x3cba3c,'\x20')['concat'](_0x58a8ad||'')[_0x5bf550(0x34a)](),_0x3c728f=_0x5b793d('_'[_0x5bf550(0x217)](Fi()));return Dt(_0x303252,''[_0x5bf550(0x217)](_0x3cba3c),{'defIds':_0x303252[_0x5bf550(0x2ee)],'idSuffix':_0x3c728f[_0x5bf550(0x2f0)]},v({'ref':_0x272699,'className':_0xd8a59f},_0x9a0fa6),_0x1f650f);});function Dt(_0x350184,_0x4cb3b8,_0x57b8f1,_0x4a6e3d,_0x16cf60){const _0x400552=_0x5d24c9;return _0x56ddc5(_0x350184['tag'],v(v({'key':_0x4cb3b8},ki(_0x350184,_0x57b8f1,_0x16cf60)),_0x4a6e3d),(Hi(_0x350184,_0x57b8f1)[_0x400552(0x333)]||[])[_0x400552(0x21c)](function(_0xc845eb,_0x299bf7){const _0x4e3102=_0x400552;return Dt(_0xc845eb,''[_0x4e3102(0x217)](_0x4cb3b8,'-')[_0x4e3102(0x217)](_0x350184[_0x4e3102(0x213)],'-')[_0x4e3102(0x217)](_0x299bf7),_0x57b8f1,void 0x0,_0x16cf60);}));}function ki(_0x3faae9,_0x55135b,_0x4d0fba){const _0x216563=_0x5d24c9;var _0x75ab6=v({},_0x3faae9['attrs']);_0x4d0fba!=null&&_0x4d0fba['colorChannel1']&&_0x75ab6['fill']===_0x216563(0x2ca)&&(_0x75ab6[_0x216563(0x2d4)]=_0x4d0fba[_0x216563(0x2ca)]),_0x3faae9[_0x216563(0x213)]===_0x216563(0x2e9)&&_0x75ab6['id']&&(_0x75ab6['id']=_0x75ab6['id']+_0x55135b['idSuffix']),Object['entries'](_0x75ab6)['forEach'](function(_0xeba1bf){const _0x551a74=_0x216563;var _0x45f59f=_0xeba1bf[0x0],_0x3544b5=_0xeba1bf[0x1];_0x45f59f===_0x551a74(0x2e9)&&typeof _0x3544b5==_0x551a74(0x22a)&&(_0x75ab6[_0x45f59f]=_0x3544b5[_0x551a74(0x314)](/url\(#(.*)\)/,_0x551a74(0x366)['concat'](_0x55135b['idSuffix'],')')));});var _0x3c0b99=_0x55135b[_0x216563(0x2ee)];return!_0x3c0b99||_0x3c0b99[_0x216563(0x367)]===0x0||(_0x3faae9[_0x216563(0x213)]==='use'&&_0x75ab6[_0x216563(0x37f)]&&(_0x75ab6[_0x216563(0x37f)]=_0x75ab6['xlink:href']+_0x55135b[_0x216563(0x2f5)]),Object['entries'](_0x75ab6)[_0x216563(0x230)](function(_0x1e1fe5){const _0x15adc9=_0x216563;var _0xbabc7c=_0x1e1fe5[0x0],_0x56b5a1=_0x1e1fe5[0x1];typeof _0x56b5a1==_0x15adc9(0x22a)&&(_0x75ab6[_0xbabc7c]=_0x56b5a1[_0x15adc9(0x314)](/url\(#(.*)\)/,_0x15adc9(0x366)['concat'](_0x55135b[_0x15adc9(0x2f5)],')')));})),_0x75ab6;}function Hi(_0x495d13,_0x2390f6){const _0x50974e=_0x5d24c9;var _0x44b30c,_0x2d74e9=_0x2390f6['defIds'];return!_0x2d74e9||_0x2d74e9[_0x50974e(0x367)]===0x0?_0x495d13:_0x495d13['tag']===_0x50974e(0x36b)&&(!((_0x44b30c=_0x495d13['children'])===null||_0x44b30c===void 0x0)&&_0x44b30c['length'])?v(v({},_0x495d13),{'children':_0x495d13['children'][_0x50974e(0x21c)](function(_0x2a6057){const _0x5be0a4=_0x50974e;return typeof _0x2a6057['attrs']['id']=='string'&&_0x2d74e9&&_0x2d74e9['includes'](_0x2a6057[_0x5be0a4(0x36a)]['id'])?v(v({},_0x2a6057),{'attrs':v(v({},_0x2a6057[_0x5be0a4(0x36a)]),{'id':_0x2a6057['attrs']['id']+_0x2390f6[_0x5be0a4(0x2f5)]})}):_0x2a6057;})}):_0x495d13;}function Fi(){const _0x25abde=_0x5d24c9;return Math[_0x25abde(0x23d)]()[_0x25abde(0x1fd)](0x24)['substring'](0x2,0x8);}Fe[_0x5d24c9(0x309)]='UniverIcon';var Yi={'tag':_0x5d24c9(0x1e2),'attrs':{'xmlns':_0x5d24c9(0x2b7),'fill':_0x5d24c9(0x331),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x5d24c9(0x25b)},'children':[{'tag':'g','attrs':{'clipPath':_0x5d24c9(0x39c)},'children':[{'tag':'path','attrs':{'stroke':_0x5d24c9(0x310),'d':_0x5d24c9(0x394),'strokeLinecap':_0x5d24c9(0x3a0),'strokeLinejoin':_0x5d24c9(0x3a0),'strokeWidth':1.2}}]},{'tag':_0x5d24c9(0x36b),'attrs':{},'children':[{'tag':_0x5d24c9(0x298),'attrs':{'id':_0x5d24c9(0x2ff)},'children':[{'tag':_0x5d24c9(0x209),'attrs':{'fill':'white','d':_0x5d24c9(0x323)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Nt=_0xa9ece8(function(_0x3470ba,_0x1b4586){const _0x3aa65a=_0x5d24c9;return _0x56ddc5(Fe,Object[_0x3aa65a(0x378)]({},_0x3470ba,{'id':'off-line-icon','ref':_0x1b4586,'icon':Yi}));});Nt[_0x5d24c9(0x309)]=_0x5d24c9(0x2c7);var ji={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5d24c9(0x331),'viewBox':'0\x200\x2017\x2016','width':_0x5d24c9(0x25b),'height':_0x5d24c9(0x25b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5d24c9(0x209),'attrs':{'stroke':_0x5d24c9(0x310),'d':_0x5d24c9(0x3cb),'strokeLinecap':_0x5d24c9(0x3a0),'strokeLinejoin':_0x5d24c9(0x3a0),'strokeWidth':1.2}}]},{'tag':_0x5d24c9(0x36b),'attrs':{},'children':[{'tag':_0x5d24c9(0x298),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x5d24c9(0x26b)}}]}]}],'defIds':[_0x5d24c9(0x3b3)]},Ut=_0xa9ece8(function(_0x10219b,_0x5e8798){const _0x481f9c=_0x5d24c9;return _0x56ddc5(Fe,Object[_0x481f9c(0x378)]({},_0x10219b,{'id':'on-line-icon','ref':_0x5e8798,'icon':ji}));});Ut[_0x5d24c9(0x309)]=_0x5d24c9(0x22d);function Vi(_0x249092){const _0x11cf52=_0x5d24c9;switch(_0x249092){case _0x7b1e8c[_0x11cf52(0x387)]:return _0x11cf52(0x297);case _0x7b1e8c[_0x11cf52(0x26d)]:return _0x11cf52(0x23a);case _0x7b1e8c[_0x11cf52(0x215)]:return'collabStatus.fetchMiss';case _0x7b1e8c[_0x11cf52(0x27c)]:return _0x11cf52(0x3a1);case _0x7b1e8c[_0x11cf52(0x2ac)]:case _0x7b1e8c[_0x11cf52(0x373)]:return'collabStatus.syncing';case _0x7b1e8c[_0x11cf52(0x265)]:case _0x7b1e8c[_0x11cf52(0x292)]:return _0x11cf52(0x346);}}function Wi(_0x48b260){const _0x99985b=_0x5d24c9,{status$:_0x31bbe3}=_0x48b260,_0x8811e=_0x12553d(_0x31bbe3,_0x7b1e8c[_0x99985b(0x27c)]),_0x1a5776=_0x1fe162(_0x461c11),_0x3e5544=_0x1fe162(_0x334391),_0x487e1d=_0x8811e!==_0x7b1e8c['OFFLINE'],_0x1eb3b1=_0x1a5776['t'](Vi(_0x8811e)),_0x25d25a=_0x487e1d?_0x2e40c1(Ut,{}):_0x2e40c1(Nt,{}),_0x4d2534=_0x1cdef4(()=>{const _0x2f2bc5=_0x99985b;_0x487e1d||_0x3e5544[_0x2f2bc5(0x27e)]();},[_0x487e1d,_0x3e5544]);function _0x15cc77(){const _0x3364bc=_0x99985b;return _0x340db7(_0x3364bc(0x341),{'className':_0x3364bc(0x238),'onClick':_0x4d2534,'children':[_0x2e40c1(_0x3364bc(0x341),{'className':_0x4cdf3f(_0x3364bc(0x2f9),{'univer-text-green-500':_0x487e1d,'univer-text-red-500':!_0x487e1d}),'children':_0x25d25a}),_0x2e40c1('div',{'className':_0x3364bc(0x353),'children':_0x1eb3b1})]});}return _0x487e1d?_0x15cc77():_0x2e40c1(_0x5b94ff,{'title':_0x1a5776['t'](_0x99985b(0x225)),'children':_0x15cc77()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x22e345,_0x137e98,_0x198d42,_0x371c54)=>{const _0xbc98aa=_0x5d24c9;for(var _0x24e118=_0x371c54>0x1?void 0x0:_0x371c54?Xi(_0x137e98,_0x198d42):_0x137e98,_0x140c99=_0x22e345[_0xbc98aa(0x367)]-0x1,_0x566d76;_0x140c99>=0x0;_0x140c99--)(_0x566d76=_0x22e345[_0x140c99])&&(_0x24e118=_0x566d76(_0x24e118)||_0x24e118);return _0x24e118;},ee=(_0x3f1a5f,_0x1d7dc6)=>(_0x24d319,_0x2b2e2c)=>_0x1d7dc6(_0x24d319,_0x2b2e2c,_0x3f1a5f);let se=class extends _0x2e4a76{constructor(_0x7596be,_0x57ce02,_0xaad73d,_0x5c6563){const _0x4d455a=_0x5d24c9;super(),_(this,_0x4d455a(0x39e),new _0x5952f2(_0x7b1e8c[_0x4d455a(0x27c)])),(this[_0x4d455a(0x3cc)]=_0x7596be,this[_0x4d455a(0x304)]=_0x57ce02,this[_0x4d455a(0x2c8)]=_0xaad73d,this[_0x4d455a(0x3a7)]=_0x5c6563,this[_0x4d455a(0x1ef)](),this[_0x4d455a(0x29d)]());}[_0x5d24c9(0x29d)](){const _0x24b191=_0x5d24c9;this[_0x24b191(0x3d8)](this[_0x24b191(0x3cc)][_0x24b191(0x20d)][_0x24b191(0x3d1)](_0x583864(()=>{const _0x544b0c=_0x24b191,_0x2b905e=this[_0x544b0c(0x3cc)][_0x544b0c(0x317)]();return _0x2b905e?this[_0x544b0c(0x2c8)][_0x544b0c(0x204)](_0x2b905e[_0x544b0c(0x399)]()):_0x4983e4(null);}),_0x583864(_0x4bf956=>_0x4bf956?_0x4bf956['status$']:_0x4983e4(_0x7b1e8c[_0x24b191(0x27c)])))[_0x24b191(0x23b)](_0x4ee00a=>{const _0x10cbda=_0x24b191;this[_0x10cbda(0x39e)][_0x10cbda(0x243)](_0x4ee00a);}));}[_0x5d24c9(0x1ef)](){const _0x281202=_0x5d24c9;this['disposeWithMe'](this[_0x281202(0x3a7)][_0x281202(0x37d)](_0x116255[_0x281202(0x364)],()=>_0x49c554(Ki({'status$':this[_0x281202(0x39e)][_0x281202(0x240)]()}),this['_injector'])));}};se=Gi([ee(0x0,_0x55ae69),ee(0x1,_0x476ef4(_0x3529a9)),ee(0x2,_0x476ef4(_0x406caf)),ee(0x3,_0x513ad6)],se);function Ki(_0x48905a){const {status$:_0x291498}=_0x48905a;return function(){return _0x2e40c1(Wi,{'status$':_0x291498});};}var zi=Object[_0x5d24c9(0x34d)],Ji=(_0xe66a7,_0x20141f,_0x5b6d1c,_0x4011b0)=>{const _0xfe12c=_0x5d24c9;for(var _0x266d2b=_0x4011b0>0x1?void 0x0:_0x4011b0?zi(_0x20141f,_0x5b6d1c):_0x20141f,_0xc04b9b=_0xe66a7[_0xfe12c(0x367)]-0x1,_0x42c329;_0xc04b9b>=0x0;_0xc04b9b--)(_0x42c329=_0xe66a7[_0xc04b9b])&&(_0x266d2b=_0x42c329(_0x266d2b)||_0x266d2b);return _0x266d2b;},B=(_0x51f5b3,_0x4571b5)=>(_0x5a3888,_0x2bfa8d)=>_0x4571b5(_0x5a3888,_0x2bfa8d,_0x51f5b3);let ie=class extends _0x2e4a76{constructor(_0x336f74,_0x2cb70e,_0x1f0e23,_0x575c8d,_0x1207b4,_0x112c23){const _0x5967ad=_0x5d24c9;super(),this[_0x5967ad(0x2ae)]=_0x336f74,this[_0x5967ad(0x31c)]=_0x2cb70e,this['_collaborationUIEventService']=_0x1f0e23,this[_0x5967ad(0x263)]=_0x575c8d,this['_notificationService']=_0x1207b4,this['_localeService']=_0x112c23,this['_setupBeforeClosingHandler'](),this[_0x5967ad(0x3d7)]();}[_0x5d24c9(0x2a8)](){const _0x54d79b=_0x5d24c9;this[_0x54d79b(0x3d8)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x48f632=_0x54d79b;if(this['_localCacheService'][_0x48f632(0x363)][_0x48f632(0x2cf)])return this[_0x48f632(0x398)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x5d24c9(0x3d7)](){const _0x2f6c67=_0x5d24c9;this[_0x2f6c67(0x3d8)](this[_0x2f6c67(0x2b9)][_0x2f6c67(0x28c)][_0x2f6c67(0x23b)](_0x3a34a2=>{const _0x28af77=_0x2f6c67;_0x3a34a2['id']===_0x92ff43['OTHER_CLIENT_EDITING']&&this[_0x28af77(0x263)][_0x28af77(0x26a)]({'type':_0x1d6e4e[_0x28af77(0x33c)],'content':this[_0x28af77(0x398)]['t']('collaboration.single-unit.warning')}),_0x3a34a2['id']===_0x92ff43['CLOSE_ROOM']&&this['_messageService'][_0x28af77(0x26a)]({'type':_0x1d6e4e[_0x28af77(0x33c)],'content':this[_0x28af77(0x398)]['t'](_0x28af77(0x237))}),_0x3a34a2['id']===_0x92ff43[_0x28af77(0x3da)]&&this[_0x28af77(0x26f)][_0x28af77(0x26a)]({'title':this[_0x28af77(0x398)]['t'](_0x28af77(0x340)),'content':this[_0x28af77(0x398)]['t']('permission.content'),'type':_0x28af77(0x382),'duration':0x0}),_0x3a34a2['id']===_0x92ff43[_0x28af77(0x26d)]&&this[_0x28af77(0x263)]['show']({'type':_0x1d6e4e[_0x28af77(0x226)],'content':this[_0x28af77(0x398)]['t'](_0x28af77(0x237))+'('+_0x3a34a2[_0x28af77(0x2be)]+')'}),_0x3a34a2['id']===_0x92ff43[_0x28af77(0x2ce)]&&this['_messageService']['show']({'type':_0x1d6e4e[_0x28af77(0x33c)],'content':this[_0x28af77(0x398)]['t'](_0x3a34a2[_0x28af77(0x2be)]||'')}),_0x3a34a2['id']===_0x92ff43['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x28af77(0x26a)]({'type':_0x1d6e4e[_0x28af77(0x33c)],'content':this['_localeService']['t'](_0x28af77(0x35b))}),_0x3a34a2['id']===_0x92ff43['SOCKET_FAILED']&&this['_messageService'][_0x28af77(0x26a)]({'type':_0x1d6e4e[_0x28af77(0x226)],'content':this[_0x28af77(0x398)]['t'](_0x28af77(0x33e))}),_0x3a34a2['id']===_0x92ff43[_0x28af77(0x24f)]&&this[_0x28af77(0x263)][_0x28af77(0x26a)]({'type':_0x1d6e4e[_0x28af77(0x226)],'content':this[_0x28af77(0x398)]['t'](_0x28af77(0x34c))});}));}};ie=Ji([B(0x0,_0x42d933),B(0x1,_0x2c318e),B(0x2,_0x476ef4(_0x1c22f3)),B(0x3,_0x22a71f),B(0x4,_0x338597),B(0x5,_0x476ef4(_0x461c11))],ie);const Zi=_0x5d24c9(0x280),et={},Mt=_0x2b03c6(_0x5d24c9(0x3ca));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x2dd9da,_0x354e04,_0xc8e241,_0x3d0cdb)=>{const _0x5d5291=_0x5d24c9;for(var _0xbe723e=_0x3d0cdb>0x1?void 0x0:_0x3d0cdb?Qi(_0x354e04,_0xc8e241):_0x354e04,_0x4e33ec=_0x2dd9da[_0x5d5291(0x367)]-0x1,_0x5d8ef0;_0x4e33ec>=0x0;_0x4e33ec--)(_0x5d8ef0=_0x2dd9da[_0x4e33ec])&&(_0xbe723e=_0x5d8ef0(_0xbe723e)||_0xbe723e);return _0xbe723e;},K=(_0x1c1588,_0x401de2)=>(_0x496ea0,_0x1109f7)=>_0x401de2(_0x496ea0,_0x1109f7,_0x1c1588);let ne=class extends _0x27746e{constructor(_0x3e0242,_0x5a26e3,_0x3c61e5,_0x4e5b09,_0x31013f){const _0x11406b=_0x5d24c9;super(),this[_0x11406b(0x210)]=_0x3e0242,this[_0x11406b(0x2a0)]=_0x5a26e3,this[_0x11406b(0x218)]=_0x3c61e5,this[_0x11406b(0x254)]=_0x4e5b09,_0x31013f?_0x31013f==null||_0x31013f[_0x11406b(0x31a)]()['then'](()=>this['_init']()):(this[_0x11406b(0x2a0)][_0x11406b(0x1eb)](_0x11406b(0x361),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x5d24c9(0x3d5)](){const _0x4223f9=_0x5d24c9,_0xcd0e5d=this[_0x4223f9(0x210)][_0x4223f9(0x2bd)](_0x4223f9(0x2b2)),_0x3e018e=this[_0x4223f9(0x210)]['getParam'](_0x4223f9(0x369)),_0xb88a62=this[_0x4223f9(0x210)]['getParam']('subunit');if(!_0xcd0e5d||!_0x3e018e){this[_0x4223f9(0x2a0)][_0x4223f9(0x1eb)](_0x4223f9(0x361),_0x4223f9(0x23e));return;}const _0x3828cf=await this[_0x4223f9(0x254)][_0x4223f9(0x3ce)](_0xcd0e5d,Number(_0x3e018e),_0xb88a62);_0x3828cf&&_0x3828cf instanceof _0x2f0518&&this['_setupSubUnitSync'](_0x3828cf);}async['_setupSubUnitSync'](_0x46a86d){const _0x3c93b4=_0x5d24c9;await this[_0x3c93b4(0x316)](_0x46a86d),_0x46a86d[_0x3c93b4(0x3ab)][_0x3c93b4(0x3d1)](_0x1e6d67(this['dispose$']))[_0x3c93b4(0x23b)](_0x2fbf70=>{_0x2fbf70&&this['_updateURLWithCurrentState'](_0x2fbf70);}),this['_urlService']['urlChange$'][_0x3c93b4(0x3d1)](_0x1e6d67(this[_0x3c93b4(0x326)]))[_0x3c93b4(0x23b)](()=>this[_0x3c93b4(0x316)](_0x46a86d));}[_0x5d24c9(0x2bf)](_0x462f53,_0x47dee7=!0x1){const _0x57018c=_0x5d24c9,_0x28bc8b=this['_urlService'][_0x57018c(0x2bd)](_0x57018c(0x273));_0x462f53[_0x57018c(0x285)]()!==_0x28bc8b&&this[_0x57018c(0x210)]['setParam'](_0x57018c(0x273),_0x462f53[_0x57018c(0x285)](),_0x47dee7);}async[_0x5d24c9(0x316)](_0x53f96d){const _0x522c80=_0x5d24c9;var _0x5f5a93;const _0x5bb23c=this[_0x522c80(0x210)][_0x522c80(0x2bd)](_0x522c80(0x273));if(!_0x5bb23c||!_0x53f96d[_0x522c80(0x2c2)](_0x5bb23c)){const _0x12462e=_0x53f96d[_0x522c80(0x31b)]()[0x0],_0x597052=_0x53f96d[_0x522c80(0x2c2)](_0x12462e);if(!_0x597052)return;this[_0x522c80(0x2bf)](_0x597052,!0x0),await this[_0x522c80(0x218)][_0x522c80(0x320)](_0xce0d74['id'],{'unitId':_0x53f96d[_0x522c80(0x399)](),'subUnitId':_0x12462e});return;}((_0x5f5a93=_0x53f96d[_0x522c80(0x33b)]())==null?void 0x0:_0x5f5a93[_0x522c80(0x285)]())!==_0x5bb23c&&await this[_0x522c80(0x218)][_0x522c80(0x320)](_0xce0d74['id'],{'unitId':_0x53f96d[_0x522c80(0x399)](),'subUnitId':_0x5bb23c});}};ne=qi([K(0x0,Mt),K(0x1,_0x24c021),K(0x2,_0x1a6279),K(0x3,_0x476ef4(_0x1d8805)),K(0x4,_0x2b094b(_0x10825d))],ne);var en=Object[_0x5d24c9(0x34d)],tn=(_0xad82a3,_0x11186d,_0x18aedd,_0x2c083f)=>{const _0x37f9c3=_0x5d24c9;for(var _0x4a1a6a=_0x2c083f>0x1?void 0x0:_0x2c083f?en(_0x11186d,_0x18aedd):_0x11186d,_0x4b9204=_0xad82a3[_0x37f9c3(0x367)]-0x1,_0x244f37;_0x4b9204>=0x0;_0x4b9204--)(_0x244f37=_0xad82a3[_0x4b9204])&&(_0x4a1a6a=_0x244f37(_0x4a1a6a)||_0x4a1a6a);return _0x4a1a6a;},tt=(_0x1c7abf,_0x5e35ce)=>(_0x22ef39,_0x2430b7)=>_0x5e35ce(_0x22ef39,_0x2430b7,_0x1c7abf);let re=class{constructor(_0x45d951,_0x52e40a){const _0x208dbe=_0x5d24c9;this[_0x208dbe(0x360)]=_0x45d951,this[_0x208dbe(0x2cc)]=_0x52e40a;}[_0x5d24c9(0x3ad)](_0x1fefa4){const _0x2dcfa2=_0x5d24c9;this[_0x2dcfa2(0x322)](_0x1fefa4),this['_transformPreviousActiveRange'](_0x1fefa4);}[_0x5d24c9(0x21d)](_0x421f08){const _0x5da082=_0x5d24c9,{unitID:_0xe9beee}=_0x421f08,_0x280348=this['_renderManagerService'][_0x5da082(0x3c1)](_0xe9beee)[_0x5da082(0x2d5)](_0xd00b2f),{redoCache:_0x35ddd9}=_0x280348[_0x5da082(0x202)]();if(_0x35ddd9[_0x5da082(0x367)]===0x0)return _0x421f08;let _0x11db2c=_0x35f0b2['deepClone'](_0x421f08[_0x5da082(0x30f)][0x0]);for(let _0x3204b2=0x0;_0x3204b2<_0x35ddd9[_0x5da082(0x367)];_0x3204b2++){const _0x89135b={'id':_0x5da082(0x2e5),'params':{..._0x35ddd9[_0x3204b2]}},_0x3170be=this[_0x5da082(0x360)]['transformMutation'](_0x11db2c,_0x89135b,!0x1);if(_0x1e32bc(_0x3170be))throw _0x3170be['error'];_0x11db2c=_0x3170be[_0x5da082(0x2f8)];}return{..._0x35f0b2['deepClone'](_0x421f08),'mutations':[_0x11db2c]};}[_0x5d24c9(0x322)](_0x12e1dc){const _0x8fa4d1=_0x5d24c9,{unitID:_0x6d4444}=_0x12e1dc,_0x43e252=this[_0x8fa4d1(0x2cc)][_0x8fa4d1(0x3c1)](_0x6d4444)[_0x8fa4d1(0x2d5)](_0xd00b2f),{undoCache:_0x1b3399,redoCache:_0x1938c5}=_0x43e252[_0x8fa4d1(0x202)]();if(_0x1b3399[_0x8fa4d1(0x367)]===0x0||_0x1938c5[_0x8fa4d1(0x367)]===0x0)return;const _0x3bcb05=[],_0x1661e9=[];let _0x1d49fd=_0x35f0b2[_0x8fa4d1(0x246)](_0x12e1dc[_0x8fa4d1(0x30f)][0x0]),_0x1f62c8=_0x35f0b2[_0x8fa4d1(0x246)](_0x12e1dc[_0x8fa4d1(0x30f)][0x0]);for(let _0x1cf387=_0x1b3399['length']-0x1;_0x1cf387>=0x0;_0x1cf387--){const _0x42b098={'id':'doc.mutation.rich-text-editing','params':{..._0x1b3399[_0x1cf387]}},_0x5d1349={'id':'doc.mutation.rich-text-editing','params':{..._0x1938c5[_0x1cf387]}},_0x1745ab=this[_0x8fa4d1(0x360)][_0x8fa4d1(0x25d)](_0x1d49fd,_0x42b098,!0x1),_0x464d45=this[_0x8fa4d1(0x360)][_0x8fa4d1(0x25d)](_0x1f62c8,_0x5d1349,!0x1);if(_0x1e32bc(_0x1745ab))throw _0x1745ab[_0x8fa4d1(0x382)];if(_0x1e32bc(_0x464d45))throw _0x464d45[_0x8fa4d1(0x382)];_0x3bcb05[_0x8fa4d1(0x244)](_0x1745ab[_0x8fa4d1(0x21e)][_0x8fa4d1(0x205)]),_0x1661e9[_0x8fa4d1(0x244)](_0x464d45['m2Prime'][_0x8fa4d1(0x205)]),_0x1d49fd=_0x1745ab[_0x8fa4d1(0x2f8)],_0x1f62c8=_0x464d45[_0x8fa4d1(0x2f8)];}_0x43e252[_0x8fa4d1(0x2d3)]({'undoCache':_0x3bcb05,'redoCache':_0x1661e9});}[_0x5d24c9(0x20c)](_0x5ddfec){const _0xd7a138=_0x5d24c9,{unitID:_0x15842b}=_0x5ddfec,_0x2b823d=this[_0xd7a138(0x2cc)][_0xd7a138(0x3c1)](_0x15842b)[_0xd7a138(0x2d5)](_0xd00b2f),_0x382b87=_0x2b823d['getActiveRange']();if(_0x382b87==null)return;const _0x32f7cb=[{'id':_0xd7a138(0x2e5),'params':{'unitId':_0x5ddfec['unitID'],'actions':null,'textRanges':[_0x382b87]}}],_0x280d1e=this[_0xd7a138(0x360)]['transformMutationsWithChangeset'](_0x5ddfec,_0x32f7cb);if(!_0x55da4a(_0x280d1e))throw _0x280d1e['error'];const _0x5fa859=_0x280d1e[_0xd7a138(0x21e)][0x0][_0xd7a138(0x205)][_0xd7a138(0x28a)];Array[_0xd7a138(0x2ea)](_0x5fa859)&&_0x5fa859[_0xd7a138(0x367)]&&_0x2b823d[_0xd7a138(0x3a6)](_0x5fa859[0x0]);}};re=tn([tt(0x0,_0x19e675),tt(0x1,_0x41f4fd)],re);var sn=Object[_0x5d24c9(0x34d)],nn=(_0x18fc6f,_0x11864f,_0x5b4c34,_0x2e40f2)=>{const _0x59a800=_0x5d24c9;for(var _0x53f1e7=_0x2e40f2>0x1?void 0x0:_0x2e40f2?sn(_0x11864f,_0x5b4c34):_0x11864f,_0x23a67a=_0x18fc6f[_0x59a800(0x367)]-0x1,_0x2c93a3;_0x23a67a>=0x0;_0x23a67a--)(_0x2c93a3=_0x18fc6f[_0x23a67a])&&(_0x53f1e7=_0x2c93a3(_0x53f1e7)||_0x53f1e7);return _0x53f1e7;},Ce=(_0x49558f,_0x42d535)=>(_0x1cbd98,_0x4ff3fb)=>_0x42d535(_0x1cbd98,_0x4ff3fb,_0x49558f);let oe=class{constructor(_0x353996,_0x1486d3,_0x440d9c){const _0x1334ae=_0x5d24c9;this[_0x1334ae(0x304)]=_0x353996,this[_0x1334ae(0x360)]=_0x1486d3,this[_0x1334ae(0x25a)]=_0x440d9c;}['transformStateCache'](_0x5c2531){const _0x430edf=_0x5d24c9;this[_0x430edf(0x1ee)](_0x5c2531);}[_0x5d24c9(0x21d)](_0x21652b){const _0x1be405=_0x5d24c9,{unitID:_0x50945a}=_0x21652b,{collaboration:_0x349c0f}=this['_docStateChangeManagerService'][_0x1be405(0x248)](_0x50945a);if(_0x349c0f[_0x1be405(0x367)]===0x0)return _0x21652b;let _0x1d8a69=_0x35f0b2['deepClone'](_0x21652b[_0x1be405(0x30f)][0x0]);for(let _0x380145=0x0;_0x380145<_0x349c0f[_0x1be405(0x367)];_0x380145++){const _0x13e07a={'id':_0x1be405(0x2e5),'params':{'unitId':_0x349c0f[_0x380145][_0x1be405(0x2e7)],..._0x349c0f[_0x380145]['redoState']}},_0x25e28d=this[_0x1be405(0x360)]['transformMutation'](_0x1d8a69,_0x13e07a,!0x1);if(_0x1e32bc(_0x25e28d))throw _0x25e28d['error'];_0x1d8a69=_0x25e28d[_0x1be405(0x2f8)];}return{..._0x35f0b2[_0x1be405(0x246)](_0x21652b),'mutations':[_0x1d8a69]};}['_transformHistoryAndStateStack'](_0x248fa1){const _0xf4d40c=_0x5d24c9,{unitID:_0xa8ebd1}=_0x248fa1,{history:_0x38bd48,collaboration:_0x6471dd}=this[_0xf4d40c(0x25a)][_0xf4d40c(0x248)](_0xa8ebd1);if(_0x38bd48['length']===0x0&&_0x6471dd['length']===0x0)return;const _0x3f3980=[],_0x19ab02=[];let _0x5e0930=_0x35f0b2['deepClone'](_0x248fa1[_0xf4d40c(0x30f)][0x0]),_0x3b2654=_0x35f0b2[_0xf4d40c(0x246)](_0x248fa1[_0xf4d40c(0x30f)][0x0]);for(let _0x444cf0=_0x38bd48['length']-0x1;_0x444cf0>=0x0;_0x444cf0--){const _0xaaa762={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38bd48[_0x444cf0][_0xf4d40c(0x2e7)],..._0x38bd48[_0x444cf0][_0xf4d40c(0x1ff)]}},_0x531b22={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x38bd48[_0x444cf0][_0xf4d40c(0x2e7)],..._0x38bd48[_0x444cf0]['redoState']}},_0x1db6aa=this[_0xf4d40c(0x360)][_0xf4d40c(0x25d)](_0x5e0930,_0xaaa762,!0x1),_0x209dc0=this[_0xf4d40c(0x360)][_0xf4d40c(0x25d)](_0x3b2654,_0x531b22,!0x1);if(_0x1e32bc(_0x1db6aa))throw _0x1db6aa[_0xf4d40c(0x382)];if(_0x1e32bc(_0x209dc0))throw _0x209dc0[_0xf4d40c(0x382)];_0x3f3980[_0xf4d40c(0x244)]({..._0x38bd48[_0x444cf0],'undoState':_0x1db6aa[_0xf4d40c(0x21e)][_0xf4d40c(0x205)],'redoState':_0x209dc0[_0xf4d40c(0x21e)]['params']}),_0x5e0930=_0x1db6aa['m1Prime'],_0x3b2654=_0x209dc0['m1Prime'];}_0x5e0930=_0x35f0b2['deepClone'](_0x248fa1['mutations'][0x0]),_0x3b2654=_0x35f0b2[_0xf4d40c(0x246)](_0x248fa1[_0xf4d40c(0x30f)][0x0]);for(let _0x991e7f=_0x6471dd[_0xf4d40c(0x367)]-0x1;_0x991e7f>=0x0;_0x991e7f--){const _0x15f3e2={'id':_0xf4d40c(0x2e5),'params':{'unitId':_0x6471dd[_0x991e7f][_0xf4d40c(0x2e7)],..._0x6471dd[_0x991e7f]['undoState']}},_0x2fcad7={'id':_0xf4d40c(0x2e5),'params':{'unitId':_0x6471dd[_0x991e7f][_0xf4d40c(0x2e7)],..._0x6471dd[_0x991e7f][_0xf4d40c(0x3b8)]}},_0x341cae=this[_0xf4d40c(0x360)][_0xf4d40c(0x25d)](_0x5e0930,_0x15f3e2,!0x1),_0x1a9336=this[_0xf4d40c(0x360)][_0xf4d40c(0x25d)](_0x3b2654,_0x2fcad7,!0x1);if(_0x1e32bc(_0x341cae))throw _0x341cae[_0xf4d40c(0x382)];if(_0x1e32bc(_0x1a9336))throw _0x1a9336['error'];_0x19ab02[_0xf4d40c(0x244)]({..._0x6471dd[_0x991e7f],'undoState':_0x341cae['m2Prime'][_0xf4d40c(0x205)],'redoState':_0x1a9336[_0xf4d40c(0x21e)][_0xf4d40c(0x205)]}),_0x5e0930=_0x341cae[_0xf4d40c(0x2f8)],_0x3b2654=_0x1a9336[_0xf4d40c(0x2f8)];}this[_0xf4d40c(0x25a)]['setStateCache'](_0xa8ebd1,{'history':_0x3f3980,'collaboration':_0x19ab02});}};oe=nn([Ce(0x0,_0x476ef4(_0x3529a9)),Ce(0x1,_0x19e675),Ce(0x2,_0x476ef4(_0x3a6901))],oe);var rn=Object[_0x5d24c9(0x34d)],on=(_0x2d78c1,_0x39dd37,_0x187aa1,_0x42c0d6)=>{const _0x44b7c2=_0x5d24c9;for(var _0x3c66cb=_0x42c0d6>0x1?void 0x0:_0x42c0d6?rn(_0x39dd37,_0x187aa1):_0x39dd37,_0x32def3=_0x2d78c1[_0x44b7c2(0x367)]-0x1,_0x459917;_0x32def3>=0x0;_0x32def3--)(_0x459917=_0x2d78c1[_0x32def3])&&(_0x3c66cb=_0x459917(_0x3c66cb)||_0x3c66cb);return _0x3c66cb;},st=(_0x5728d5,_0x4a87dc)=>(_0x5a767c,_0x25d7d7)=>_0x4a87dc(_0x5a767c,_0x25d7d7,_0x5728d5);let ae=class{constructor(_0x545273,_0x5c488b){const _0x23fef3=_0x5d24c9;this[_0x23fef3(0x304)]=_0x545273,this[_0x23fef3(0x360)]=_0x5c488b;}[_0x5d24c9(0x2ef)](_0x266138){const _0xaed644=_0x5d24c9;var _0x341864;const _0x436f10=this[_0xaed644(0x304)]['get'](_0x3ab449),_0x16db1f=(_0x341864=_0x436f10['getDocRanges']())!=null?_0x341864:[];if(_0x16db1f[_0xaed644(0x367)]===0x0)return;const _0x24fd80=_0x266138[_0xaed644(0x1e1)],_0x2343c9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24fd80,'actions':null,'textRanges':_0x16db1f}}],_0x5d9070=this[_0xaed644(0x360)][_0xaed644(0x2ed)](_0x266138,_0x2343c9);if(!_0x55da4a(_0x5d9070))throw _0x5d9070[_0xaed644(0x382)];const _0x4c16eb=_0x5d9070[_0xaed644(0x21e)][0x0][_0xaed644(0x205)][_0xaed644(0x28a)];Array['isArray'](_0x4c16eb)&&_0x4c16eb[_0xaed644(0x367)]&&_0x436f10[_0xaed644(0x2d8)](_0x4c16eb,{'unitId':_0x24fd80,'subUnitId':_0x24fd80},!0x1);}};ae=on([st(0x0,_0x476ef4(_0x3529a9)),st(0x1,_0x19e675)],ae);var an=Object['getOwnPropertyDescriptor'],cn=(_0x40cc1e,_0x2b7404,_0x3a1aba,_0x2258bc)=>{for(var _0x41c13a=_0x2258bc>0x1?void 0x0:_0x2258bc?an(_0x2b7404,_0x3a1aba):_0x2b7404,_0x10d893=_0x40cc1e['length']-0x1,_0x1df023;_0x10d893>=0x0;_0x10d893--)(_0x1df023=_0x40cc1e[_0x10d893])&&(_0x41c13a=_0x1df023(_0x41c13a)||_0x41c13a);return _0x41c13a;},N=(_0x4270c0,_0x5cd107)=>(_0x42317e,_0x2c1e69)=>_0x5cd107(_0x42317e,_0x2c1e69,_0x4270c0);function _0x4bc3(){const _0x2e50c2=['_heartbeatTimer','type','attrs','defs','className','_anchor','11190618WMpuFN','onMouseMove','RemoveRowCommandId','_cursorShapes','getTypeOfUnitDisposed$','AWAITING_WITH_PENDING','YUUMI_SUBSCRIPTION_NOT_FOUND','_online','icon','18rtHVqt','assign','width','ranges','_cursorInfo$','memberID','registerComponent','yellow.400','xlink:href','INTERNAL_ERROR','getTypeOfUnitAdded$','error','Failed','_selfUnitIDs','backgroundColor','blue.400','OFFLINE','contains','_hideTimer','UNAUTHENTICATED','_localStorageService','_colorAssignService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ticket','onLocalMutation','save','propertyIsEnumerable','setParam','RemoveColCommandId','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','unsubscribe','_unitOnClients','_collabCursorController','_localeService','getUnitId','_onRefRangeChange','range','url(#off-line-icon_clip0_910_343)','getColorFromTheme','_status$','result','round','collabStatus.notCollab','triggerDblclick','resize','arc','COMPLETION_FINISHED','setActiveRange','_uiPartsService','set','_saveTaskMap','_labelPosition','activeSheet$','#FFF','transformIMECache','setTimeout','SNAPSHOT_INVALID_SNAPSHOT','_unitStatus','_sheetSkeletonManagerService','_cachedData','on-line-icon_clip0_910_349','_textBubble','_drawRectRange','_range','_onCursorDelete','redoState','pushState','createSocket','_handleJoinEvent','onCommandExecuted','_instanceService','_removeClearOtherTimer','getCurrentSelections','stringify','getRenderById','YUUMI_ALL_TABLES_IS_INVALID','getOwnPropertySymbols','createInstance','engine','MoveRangeCommandId','WECHAT_HAS_BEEN_BOUND','_session','ONLINE','uni.network.url-service','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','_univerInstanceService','sheetId','loadUnit','_handleLeaveEvent','green.600','pipe','INVITE_CODE_ALREADY_BOUND','code','location','_init','currentSkeleton$','_initEvent','disposeWithMe','collab-text-range-','PERMISSION_DENIED','_hover','unitID','svg','YUUMI_CONNECTOR_URL_NOT_FOUND','get','font','removeParam','extend','_docSkeleton','128453qvGlKl','text','debug','_shapes','beginPath','_transformHistoryAndStateStack','_initStatusComponent','replaceState','INVITE_CODE_HAS_BEEN_UES','_startSheetCollabCursor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','dispose','getVpScrollXYInfoByPosToVp','saveOfflineData','selection','has','getCurrent','cursorInfo$','APPLY_REVISION_CONFILICT','_createSocketURL','toString','_docSyncEditingCollabCursorService','undoState','APPLY_NON_SEQUENTIAL_REVISION','startRow','getUndoRedoMutationParamsCache','3785226rtUoXS','getCollabEntity$','params','univerjs-icon\x20univerjs-icon-','342629iixJcx','init','path','_docTransformStateCacheService','_entities','_transformPreviousActiveRange','focused$','apply','history','_urlService','_configService','height','tag','_cursor','FETCH_MISS','VIEW_MAIN','concat','_commandService','measureText','href','_hovered','map','transformRemoteChangeset','m2Prime','syncEditingCollabCursor','getValue','lineTo','_render','row','_registerDependencies','collab-client.tooltip.reconnect','Error','_initCommandExecutedListener','2772760RQRgci','_docTransformSelectionsService','string','OTHER_CLIENTS_EDITING','MUTATION','OnLineIcon','CHANGESET_REVISION_CONFILICT','makeDirty','forEach','_id','CONNECTOR_DATA_TOO_LARGE','FromArray','_entityInit$','executionId','ACTIVE_UNIT_EVENT_CHANNEL','collaboration.closeRoom','univer-flex\x20univer-items-center','_docClipboardService','collabStatus.conflict','subscribe','_saveCache','random','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_imageIoService','asObservable','values','_scheduleHeartbeat','next','unshift','cursorInfo','deepClone','urlChange$','getStateCache','onPointerLeave$','transformByState','then','_config','_handleEvent','_refreshCollabCursors','SUBMIT_CHANGESET_TIMEOUT','post','8YanmIO','parse','2dRzDel','_dataLoaderService','registerRenderModule','getMember','YUUMI_NO_CUBOID_FOR_QUESTION','_handleHeartbeatEvent','_getSheetObject','_docStateChangeManagerService','1em','getMemberID','transformMutation','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','endColumn','InsertRangeMoveDownCommandId','_assignedColors','/run/','_messageService','getItem','SYNCED','currentTheme$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','runOnServer','enableLocalCache','show','translate(.97)','roomMembers','CONFLICT','UPDATE_CURSOR','_notificationService','sheetID','getRelativeToViewportCoord','INVALID_ARGUMENT','subunit','search','subscribeEvent','YUUMI_ASYNCIO_CANCELLED','ENSURE_SNAPSHOT_EXECUTION','setItem','eventID','entityInit$','addHandlerCallback','NOT_COLLAB','_scheduleClearOtherTimer','reconnect','MOBILE_VERIFY_CODE_MISMATCH','collaboration-client-ui.config','wsSessionTicketUrl','imageSourceType','docStateChange$','UNDEFINED','getSheetId','_startDocCollabCursor','toRgbString','column','send','textRanges','clearTimeout','event$','unload','INVITE_CODE_REQUIRED','LICENSE_IMPORT_SIZE_EXCEEDED','findNodePositionByCharIndex','_getAnchorBounding','PENDING','push','black','max','_cursors','collabStatus.offline','clipPath','call','fillText','getSkeleton','ALREADY_EXISTS','_initStatusListener','saveImage','_collabCursorState$','_logService','_disabled','_name','_drawAnchor','skeleton','_updateCollabCursors','_ensureSubject','flatMap','_setupBeforeClosingHandler','MOBILE_HAS_BEEN_BOUND','origin','_clearOtherTimers','AWAITING','getRangePointData','_beforeCloseService','hasOwnProperty','evenodd','_initDependencies','unit','UNRECOGNIZED','purple.300','370XtXYtf','TEXT','http://www.w3.org/2000/svg','USER_NOT_INVITED_CODE','_collaborationUIEventService','complete','YUUMI_URL_COL_OUT_OF_RANGE','getConfig','getParam','data','_updateURLWithCurrentState','_anchorDot','assignAColorForMemberID','getSheetBySheetId','min','source','2348664kWVCeS','YUUMI_RATE_OVER_LIMIT','OffLineIcon','_collaborationController','SNAPSHOT_HAS_BEEN_REMOVED','colorChannel1','hide','_renderManagerService','transformStateCache','JOIN_ROOM_FAILED','size','_onCursorUpdate','getCollabCursors$','disposeUnit','setUndoRedoMutationParamsCache','fill','with','_getScale','_scheduleSaving','replaceDocRanges','exhaustSavingTask','getUnitStatus$','add','getDocRanges','_draw','_context','disableLocalCache','_syncEditingCollabCursorService','onRendered','bottom','getAncestorScale','APPLY_PERMISSION_DENIED','doc.mutation.rich-text-editing','_getSessionTicket','unitId','top','mask','isArray','_collabSessionService','UNIVER_SHEET','transformMutationsWithChangeset','defIds','transformSelections','current','_colorIndex','setShapeProps','defineProperty','requireSession','idSuffix','body','color','m1Prime','univer-mr-2\x20univer-flex\x20univer-text-xl','_httpService','addObjects','Unknown\x20user','_toggleOffline','DeleteRangeMoveUpCommandId','off-line-icon_clip0_910_343','drawWith','collabCursorState$','TOO_MANY_REQUESTS','runId','_injector','_docSkeletonManagerService','from','endRow','restore','displayName','split','LICENSE_DISTRO_REJECTED','indexOf','USERS_LEAVE','InsertColCommandId','mutations','currentColor','RECT','_eventUnsubscribe','function','replace','name','_updateSubUnitFromURLParams','getFocusedUnit','_registerRenderDependencies','_updateLocalCursor','whenReady','getUnhiddenWorksheets','_localCacheService','4IAiCPv','setAlpha','_backgroundColor','executeCommand','addObject','_transformUndoRedoStack','M0\x200H16V16H0z','newValue','LICENSE_EXPORT_SIZE_EXCEEDED','dispose$','roomMembers$','_handleHover','LOGIN_FAILED','onPointerMove$','_removeCollabCursors','some','_scene','_initEntityListener','invokeId','getUniverSheetInstance','none','_initResize','children','setConfig','LICENSE_MAX_UNITS_EXCEEDED','includes','NOT_FOUND','clearInterval','_color','_revisionService','getActiveSheet','Warning','sessionStatus$','session.connection-failed','_getSaveTimeout','permission.title','div','EMAIL_HAS_BEEN_BOUND','_refRangeService','_docTransformIMECacheService','INVALID_INVITE_CODE','collabStatus.synced','_themeService','APPLY_REJECT','searchParams','trim','delete','session.collaboration-timeout','getOwnPropertyDescriptor','override','APPLY_DUPLICATED','YUUMI_UNABLE_LOAD_URL','sessionTicket','selections','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','45727UNWHwX','isActive','NO_OTHER_CLIENTS_EDITING','_roomMembers$','onTransformChange$','YUUMI_AI_RUN_FAILED','_lastPointer','session.will-retry','_toggleOnline','_drawTextRange','PY_RUNTIME_SCRIPT_ERROR','loadOfflineData','_transformService','[CollaborationDataLoaderController]','...','saveTaskMap','HEADER_MENU','prototype','url(#$1','length'];_0x4bc3=function(){return _0x2e50c2;};return _0x4bc3();}let ce=class extends _0x2e4a76{constructor(_0x41db9c,_0x255761,_0xe4fec1,_0x16be40,_0x3ebd34,_0x328117,_0x4308b9,_0x20d011){const _0x50d6fb=_0x5d24c9;super(),_(this,_0x50d6fb(0x39e),new _0x5952f2(_0x7b1e8c[_0x50d6fb(0x27c)])),(this[_0x50d6fb(0x25a)]=_0x41db9c,this['_collaborationController']=_0x255761,this[_0x50d6fb(0x344)]=_0xe4fec1,this[_0x50d6fb(0x20a)]=_0x16be40,this['_docTransformSelectionsService']=_0x3ebd34,this[_0x50d6fb(0x1fe)]=_0x328117,this[_0x50d6fb(0x263)]=_0x4308b9,this[_0x50d6fb(0x398)]=_0x20d011,this[_0x50d6fb(0x32e)]());}['_initEntityListener'](){const _0x589e92=_0x5d24c9;this['disposeWithMe'](this[_0x589e92(0x2c8)][_0x589e92(0x27a)]['subscribe'](_0x2c67c3=>{const _0x4b9516=_0x589e92,_0x1896fd=this[_0x4b9516(0x25a)][_0x4b9516(0x283)]['subscribe'](_0x28a98b=>{const _0x3d358b=_0x4b9516;if(_0x28a98b==null)return;const {unitId:_0xa04b8d,redoState:_0x272d69,commandId:_0xf01688}=_0x28a98b;if(_0xa04b8d!==_0x2c67c3['unitID'])return;const _0xd7192f={'id':_0xf01688,'type':_0x5818ca[_0x3d358b(0x22c)],'params':{'unitId':_0xa04b8d,'actions':_0x272d69['actions'],'textRanges':null}};_0x2c67c3[_0x3d358b(0x38f)](_0xd7192f);});if(_0x2c67c3[_0x4b9516(0x3d8)](_0x1896fd),_0x2c67c3 instanceof _0x27150e){const _0x366f98={'onTransformIME':_0x466baa=>this[_0x4b9516(0x344)][_0x4b9516(0x3ad)](_0x466baa),'onTransformState':_0x116c46=>this['_docTransformStateCacheService'][_0x4b9516(0x2cd)](_0x116c46),'onTransformSelections':_0x24e853=>this[_0x4b9516(0x229)]['transformSelections'](_0x24e853),'onSyncEditingCollabCursor':_0x26651a=>this[_0x4b9516(0x1fe)][_0x4b9516(0x21f)](_0x26651a),'onTransformRemoteChangesetByIMECache':_0x4c1b47=>this[_0x4b9516(0x344)][_0x4b9516(0x21d)](_0x4c1b47),'onTransformRemoteChangesetByStateCache':_0x523b54=>this[_0x4b9516(0x20a)][_0x4b9516(0x21d)](_0x523b54)};_0x2c67c3[_0x4b9516(0x27b)](_0x366f98);}}));}};ce=cn([N(0x0,_0x476ef4(_0x3a6901)),N(0x1,_0x476ef4(_0x406caf)),N(0x2,_0x476ef4(re)),N(0x3,_0x476ef4(oe)),N(0x4,_0x476ef4(ae)),N(0x5,_0x476ef4(He)),N(0x6,_0x22a71f),N(0x7,_0x476ef4(_0x461c11))],ce);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x347ada,_0x2267cc,_0x5f174a,_0xb35531)=>{for(var _0x291ca3=_0xb35531>0x1?void 0x0:_0xb35531?ln(_0x2267cc,_0x5f174a):_0x2267cc,_0x1280c3=_0x347ada['length']-0x1,_0x2a5159;_0x1280c3>=0x0;_0x1280c3--)(_0x2a5159=_0x347ada[_0x1280c3])&&(_0x291ca3=_0x2a5159(_0x291ca3)||_0x291ca3);return _0x291ca3;},Ee=(_0x5bfab8,_0x597587)=>(_0x5340c3,_0x47d797)=>_0x597587(_0x5340c3,_0x47d797,_0x5bfab8);let we=class extends _0x2e4a76{constructor(_0x455522,_0x265ccd,_0xe8c339){const _0x418790=_0x5d24c9;super(),_(this,_0x418790(0x3b2),new Map()),_(this,_0x418790(0x3a9),new Map()),_(this,'_disabled',!0x1),(this[_0x418790(0x211)]=_0x455522,this['_localStorageService']=_0x265ccd,this[_0x418790(0x33a)]=_0xe8c339);}[_0x5d24c9(0x2df)](){const _0x15f2b0=_0x5d24c9;this[_0x15f2b0(0x2a1)]=!0x0;}[_0x5d24c9(0x269)](){const _0x2af7db=_0x5d24c9;this[_0x2af7db(0x2a1)]=!0x1;}get[_0x5d24c9(0x363)](){const _0x3e848d=_0x5d24c9;return this[_0x3e848d(0x3a9)];}[_0x5d24c9(0x1f4)](){const _0x355671=_0x5d24c9;this[_0x355671(0x2d9)]()[_0x355671(0x24b)](()=>super[_0x355671(0x1f4)]());}async[_0x5d24c9(0x35f)](_0x51fed2){const _0x1d081c=_0x5d24c9;return this[_0x1d081c(0x2a1)]?null:this[_0x1d081c(0x38b)][_0x1d081c(0x264)](_0x23982b(_0x51fed2));}async[_0x5d24c9(0x1f6)](_0x5e9c50,_0x120d71){const _0xe36fb4=_0x5d24c9;return!!this[_0xe36fb4(0x38b)][_0xe36fb4(0x278)](_0x5e9c50,_0x120d71);}['updateOfflineData'](_0x4fe3d5,_0x33293e,_0x2262a1,_0x2edee7){const _0x42fdac=_0x5d24c9,_0x2caf19=this[_0x42fdac(0x33a)]['getCurrentRevOfUnit'](_0x4fe3d5);this[_0x42fdac(0x3b2)][_0x42fdac(0x3a8)](_0x4fe3d5,{'unitID':_0x4fe3d5,'type':_0x33293e,'awaitingChangeset':_0x2262a1,'mutations':_0x2edee7,'rev':_0x2caf19}),this['_saveTaskMap'][_0x42fdac(0x1f8)](_0x4fe3d5)||this[_0x42fdac(0x2d7)](_0x4fe3d5);}[_0x5d24c9(0x2d7)](_0x237c03){const _0x54750d=_0x5d24c9,_0x5dd26d=this[_0x54750d(0x33f)]();_0x5dd26d===0x0?this[_0x54750d(0x23c)](_0x237c03):this[_0x54750d(0x3a9)][_0x54750d(0x3a8)](_0x237c03,setTimeout(()=>this[_0x54750d(0x23c)](_0x237c03),_0x5dd26d));}[_0x5d24c9(0x33f)](){const _0x3c01fc=_0x5d24c9;var _0x505333;return(_0x505333=this[_0x3c01fc(0x211)][_0x3c01fc(0x2bc)](_0x3f8439))!=null?_0x505333:_0x158246;}[_0x5d24c9(0x23c)](_0xf0a2e3){const _0x28db68=_0x5d24c9,_0x2c3e8f=this['_saveTaskMap'][_0x28db68(0x1e4)](_0xf0a2e3);return _0x2c3e8f!==void 0x0&&window[_0x28db68(0x28b)](_0x2c3e8f),this['_localStorageService'][_0x28db68(0x278)](_0x23982b(_0xf0a2e3),this['_cachedData']['get'](_0xf0a2e3))['then'](()=>this['_saveTaskMap'][_0x28db68(0x34b)](_0xf0a2e3));}async[_0x5d24c9(0x2d9)](){const _0x89f249=_0x5d24c9,_0x46c373=[];this[_0x89f249(0x3a9)][_0x89f249(0x230)]((_0x197a58,_0x44c858)=>{const _0x228a54=_0x89f249;window[_0x228a54(0x28b)](_0x197a58),_0x46c373[_0x228a54(0x293)](this['_saveCache'](_0x44c858)['then'](()=>{const _0x549a61=_0x228a54;this[_0x549a61(0x3a9)][_0x549a61(0x34b)](_0x44c858);}));}),await Promise['all'](_0x46c373);}};we=_n([Ee(0x0,_0xa3839),Ee(0x1,_0x509ee3),Ee(0x2,_0x476ef4(_0x1cdadd))],we);class hn extends _0x27746e{constructor(){const _0x4c7532=_0x5d24c9;super(),_(this,_0x4c7532(0x247)),this[_0x4c7532(0x247)]=_0x29e2c1(window,'popstate')['pipe'](_0x1e6d67(this[_0x4c7532(0x326)]),_0x35ec06(0x1),_0x1578c3(void 0x0));}[_0x5d24c9(0x392)](_0x10415e,_0x44aeef,_0x5d3b6f=!0x1){const _0x18a01f=_0x5d24c9,_0x1c621d=new URL(window[_0x18a01f(0x3d4)][_0x18a01f(0x21a)]);_0x1c621d['searchParams'][_0x18a01f(0x3a8)](_0x10415e,_0x44aeef),_0x5d3b6f?window[_0x18a01f(0x20f)][_0x18a01f(0x1f0)]('','',_0x1c621d[_0x18a01f(0x1fd)]()):window[_0x18a01f(0x20f)][_0x18a01f(0x3b9)]('','',_0x1c621d[_0x18a01f(0x1fd)]());}[_0x5d24c9(0x1e6)](_0x5c2855,_0x342b7b=!0x1){const _0x22ba46=_0x5d24c9,_0x26c76a=new URL(window[_0x22ba46(0x3d4)][_0x22ba46(0x21a)]);_0x26c76a[_0x22ba46(0x349)][_0x22ba46(0x34b)](_0x5c2855),_0x342b7b?window[_0x22ba46(0x20f)][_0x22ba46(0x1f0)]('','',_0x26c76a['toString']()):window[_0x22ba46(0x20f)][_0x22ba46(0x3b9)]('','',_0x26c76a[_0x22ba46(0x1fd)]());}[_0x5d24c9(0x2bd)](_0xdac62c){const _0x181ab5=_0x5d24c9;var _0x5396ac;return(_0x5396ac=new URL(window[_0x181ab5(0x3d4)]['href'])[_0x181ab5(0x349)][_0x181ab5(0x1e4)](_0xdac62c))!=null?_0x5396ac:void 0x0;}}var un=Object[_0x5d24c9(0x2f3)],dn=Object[_0x5d24c9(0x34d)],fn=(_0x5e1ebc,_0x512e56,_0x409d46)=>_0x512e56 in _0x5e1ebc?un(_0x5e1ebc,_0x512e56,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x409d46}):_0x5e1ebc[_0x512e56]=_0x409d46,Sn=(_0x1df04b,_0x27513d,_0x5d853f,_0xea1206)=>{const _0x4aca4d=_0x5d24c9;for(var _0x321181=_0xea1206>0x1?void 0x0:_0xea1206?dn(_0x27513d,_0x5d853f):_0x27513d,_0x28b5b4=_0x1df04b[_0x4aca4d(0x367)]-0x1,_0x52e31d;_0x28b5b4>=0x0;_0x28b5b4--)(_0x52e31d=_0x1df04b[_0x28b5b4])&&(_0x321181=_0x52e31d(_0x321181)||_0x321181);return _0x321181;},Oe=(_0x224278,_0x112e01)=>(_0x3c2771,_0x6559f3)=>_0x112e01(_0x3c2771,_0x6559f3,_0x224278),mn=(_0x49c975,_0x27454c,_0x5af943)=>fn(_0x49c975,_0x27454c+'',_0x5af943);const In=_0x5d24c9(0x267);let Ae=class extends _0x4a9f77{constructor(_0x4e5710=et,_0x3344c8,_0x29ff6d,_0x4011e4){const _0x264ba5=_0x5d24c9;super(),this[_0x264ba5(0x24c)]=_0x4e5710,this[_0x264ba5(0x2cc)]=_0x3344c8,this[_0x264ba5(0x304)]=_0x29ff6d,this[_0x264ba5(0x211)]=_0x4011e4;const {..._0x20a5a5}=_0x13926f({},et,this[_0x264ba5(0x24c)]);this['_configService'][_0x264ba5(0x334)](Zi,_0x20a5a5);}['onStarting'](){const _0x38c3ba=_0x5d24c9;this['_registerDependencies'](),this[_0x38c3ba(0x2b1)]();}[_0x5d24c9(0x2e1)](){const _0x5ee2a3=_0x5d24c9;this[_0x5ee2a3(0x318)]();}[_0x5d24c9(0x224)](){const _0x583959=_0x5d24c9;var _0x598da6;const _0x25c46b=[[ke],[ae],[re],[oe],[He],[Mt,{'useClass':hn}],[_0x18e7f2,{'useClass':_0x1626ff}],[_0x2c318e,{'useClass':we}],[se],[ce],[ie],[F],[Ne],[ne]];_0x337e30(this[_0x583959(0x304)],_0xef0585(_0x25c46b,(_0x598da6=this[_0x583959(0x24c)])==null?void 0x0:_0x598da6[_0x583959(0x34e)]));}[_0x5d24c9(0x318)](){const _0x4d8536=_0x5d24c9;this[_0x4d8536(0x3d8)](this[_0x4d8536(0x2cc)][_0x4d8536(0x255)](_0x520a55['UNIVER_DOC'],[Le])),this['disposeWithMe'](this[_0x4d8536(0x2cc)][_0x4d8536(0x255)](_0x520a55[_0x4d8536(0x2ec)],[Pe]));}['_initDependencies'](){const _0xc26163=_0x5d24c9;_0x5cc68f(this[_0xc26163(0x304)],[[F],[se],[ce],[ie],[ne]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x29faae(_0x5f476c),Oe(0x1,_0x41f4fd),Oe(0x2,_0x476ef4(_0x3529a9)),Oe(0x3,_0xa3839)],Ae);var vn=Object['getOwnPropertyDescriptor'],gn=(_0x595737,_0x57346c,_0x2fffd2,_0x50241a)=>{const _0x569021=_0x5d24c9;for(var _0x373764=_0x50241a>0x1?void 0x0:_0x50241a?vn(_0x57346c,_0x2fffd2):_0x57346c,_0x4520fd=_0x595737[_0x569021(0x367)]-0x1,_0x448983;_0x4520fd>=0x0;_0x4520fd--)(_0x448983=_0x595737[_0x4520fd])&&(_0x373764=_0x448983(_0x373764)||_0x373764);return _0x373764;},z=(_0x3547f0,_0x2df348)=>(_0x28370e,_0x4fdce7)=>_0x2df348(_0x28370e,_0x4fdce7,_0x3547f0);let it=class extends _0x5cee4d{constructor(_0x16f159,_0x4a3843,_0x13c47c,_0x2a79df,_0x3a2b2){super(_0x16f159,_0x4a3843,_0x13c47c,_0x2a79df,_0x3a2b2);}async[_0x5d24c9(0x3ba)](_0x89145c){const _0x2f5fda=_0x5d24c9,_0x41cb92=await this['_getSessionTicket'](),_0x23eeda=this[_0x2f5fda(0x1fc)](_0x89145c,_0x41cb92);return this['_doCreateSocket'](_0x23eeda);}[_0x5d24c9(0x1fc)](_0x117646,_0x1809b6){const _0x429340=_0x5d24c9,_0x80a1e8=typeof window>'u'?new URL(_0x117646):new URL(_0x117646,window[_0x429340(0x3d4)][_0x429340(0x2aa)]);_0x80a1e8[_0x429340(0x349)][_0x429340(0x3a8)](_0x429340(0x351),_0x1809b6);const _0x4bdada=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x429340(0x3d4)][_0x429340(0x274)]);return _0x4bdada[_0x429340(0x1e4)](_0x429340(0x303))&&_0x80a1e8[_0x429340(0x349)][_0x429340(0x3a8)](_0x429340(0x303),_0x4bdada[_0x429340(0x1e4)](_0x429340(0x303))),_0x80a1e8[_0x429340(0x1fd)]();}async[_0x5d24c9(0x2e6)](){const _0x52cf39=_0x5d24c9;var _0x2c5198,_0x5dfb23,_0x598ee7;const _0x2e628c=this[_0x52cf39(0x211)][_0x52cf39(0x2bc)](_0x2db31a),_0x4fc7ed=(_0x2c5198=_0x2e628c==null?void 0x0:_0x2e628c[_0x52cf39(0x281)])!=null?_0x2c5198:_0x3794a6;return(_0x598ee7=(_0x5dfb23=(await this[_0x52cf39(0x2fa)][_0x52cf39(0x1e4)](_0x4fc7ed,{'headers':{'Content-Type':'application/json'}}))[_0x52cf39(0x2f6)])==null?void 0x0:_0x5dfb23[_0x52cf39(0x38e)])!=null?_0x598ee7:'';}};it=gn([z(0x0,_0x476ef4(_0x3529a9)),z(0x1,_0x476ef4(_0x2deaba)),z(0x2,_0xa3839),z(0x3,_0x24c021),z(0x4,_0x501ad3)],it);const nt=0x7530,rt=_0x5d24c9(0x236);class Fn extends _0x2e4a76{constructor(){const _0x4b2284=_0x5d24c9;super(),_(this,_0x4b2284(0x231),_0x4edadc()),_(this,_0x4b2284(0x384),new Set()),_(this,_0x4b2284(0x396),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x4b2284(0x2ab),new Map()),_(this,_0x4b2284(0x3b0),new Map()),this[_0x4b2284(0x3d5)]();}[_0x5d24c9(0x1f4)](){const _0x1b6061=_0x5d24c9;super[_0x1b6061(0x1f4)](),this['_clearOtherTimers']['forEach']((_0x58b34a,_0x4d7aa9)=>this[_0x1b6061(0x3be)](_0x4d7aa9)),this[_0x1b6061(0x368)]&&window[_0x1b6061(0x338)](this['_heartbeatTimer']);}[_0x5d24c9(0x2da)](_0xaef483){const _0x40913c=_0x5d24c9;return this['_ensureSubject'](_0xaef483)[_0x40913c(0x3d1)](_0x42833d());}['editingUnit'](_0x301819){const _0x273dad=_0x5d24c9;this['_selfUnitIDs']['size']===0x0&&this[_0x273dad(0x242)](),this[_0x273dad(0x384)]['add'](_0x301819),this['_send']({'type':0x0,'memberID':this[_0x273dad(0x231)],'unitIDs':[_0x301819],'isForwarded':!0x1});}[_0x5d24c9(0x2d2)](_0x489950){const _0x409749=_0x5d24c9;this[_0x409749(0x384)][_0x409749(0x34b)](_0x489950),this[_0x409749(0x384)][_0x409749(0x2cf)]===0x0&&this[_0x409749(0x368)]&&window[_0x409749(0x338)](this[_0x409749(0x368)]);}[_0x5d24c9(0x3d5)](){const _0x4bfba1=_0x5d24c9;this[_0x4bfba1(0x3d8)](_0x59ba33(_0x29e2c1(window,'storage')[_0x4bfba1(0x23b)](_0x74232=>{const _0x29e0de=_0x4bfba1;if(_0x74232['key']!==rt||!_0x74232[_0x29e0de(0x324)])return;const _0x3c70a2=JSON[_0x29e0de(0x252)](_0x74232[_0x29e0de(0x324)]);this[_0x29e0de(0x24d)](_0x3c70a2);}))),window['addEventListener'](_0x4bfba1(0x28d),()=>this['_send']({'type':0x1,'memberID':this[_0x4bfba1(0x231)],'unitIDs':Array[_0x4bfba1(0x306)](this['_selfUnitIDs'])}));}[_0x5d24c9(0x24d)](_0x44dc54){const _0x2accec=_0x5d24c9;switch(_0x44dc54[_0x2accec(0x369)]){case 0x0:this[_0x2accec(0x3bb)](_0x44dc54);break;case 0x1:this['_handleLeaveEvent'](_0x44dc54);break;case 0x2:this[_0x2accec(0x258)](_0x44dc54);break;}}[_0x5d24c9(0x3bb)](_0x4c749e){const _0x23598d=_0x5d24c9,{unitIDs:_0x5d7b54,memberID:_0x3c3d8d,isForwarded:_0x59b2f5}=_0x4c749e;_0x5d7b54[_0x23598d(0x230)](_0xc6d34b=>{const _0x59ab52=_0x23598d;if(!_0x59b2f5&&this['_unitOnClients']['has'](_0xc6d34b)&&this[_0x59ab52(0x2a6)](_0xc6d34b)['next'](_0x2eeaa1['OTHER_CLIENTS_EDITING']),!this[_0x59ab52(0x396)]['has'](_0xc6d34b)||!this[_0x59ab52(0x396)][_0x59ab52(0x1e4)](_0xc6d34b)['has'](_0x3c3d8d)){const _0x3df784=this['_unitOnClients'][_0x59ab52(0x1e4)](_0xc6d34b)||new Set();_0x3df784[_0x59ab52(0x2db)](_0x3c3d8d),this[_0x59ab52(0x396)]['set'](_0xc6d34b,_0x3df784),this[_0x59ab52(0x27d)](_0x3c3d8d);}}),_0x59b2f5||this['_send']({'type':0x0,'memberID':this[_0x23598d(0x231)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5d24c9(0x27d)](_0x5678b2){const _0x322f95=_0x5d24c9;this[_0x322f95(0x3be)](_0x5678b2);const _0x4e1a67=window[_0x322f95(0x3ae)](()=>{const _0x3ea0eb=_0x322f95;this[_0x3ea0eb(0x396)][_0x3ea0eb(0x230)](_0x37b921=>{const _0x3cfb3e=_0x3ea0eb;_0x37b921[_0x3cfb3e(0x34b)](_0x5678b2);});},nt*0x2);this[_0x322f95(0x2ab)][_0x322f95(0x3a8)](_0x5678b2,_0x4e1a67);}[_0x5d24c9(0x3be)](_0x54a72e){const _0x1b1fba=_0x5d24c9;if(this[_0x1b1fba(0x2ab)][_0x1b1fba(0x1f8)](_0x54a72e)){const _0x482291=this['_clearOtherTimers'][_0x1b1fba(0x1e4)](_0x54a72e);_0x482291&&window[_0x1b1fba(0x28b)](_0x482291),this[_0x1b1fba(0x2ab)][_0x1b1fba(0x3a8)](_0x54a72e,null);}}[_0x5d24c9(0x3cf)](_0x3df01a){const _0x4cfc5b=_0x5d24c9,{memberID:_0x152961,unitIDs:_0x330e12}=_0x3df01a;_0x330e12[_0x4cfc5b(0x230)](_0x932285=>{const _0x137b09=_0x4cfc5b;var _0x4fabad;const _0x256109=this[_0x137b09(0x396)][_0x137b09(0x1e4)](_0x932285);_0x256109&&(_0x256109['delete'](_0x152961),(_0x4fabad=this[_0x137b09(0x2a6)](_0x932285))==null||_0x4fabad[_0x137b09(0x243)](_0x256109['size']===0x0?_0x2eeaa1[_0x137b09(0x356)]:_0x2eeaa1[_0x137b09(0x22b)]));}),this['_removeClearOtherTimer'](_0x152961);}[_0x5d24c9(0x258)](_0x157b97){const _0x3b287=_0x5d24c9;this[_0x3b287(0x27d)](_0x157b97[_0x3b287(0x37c)]);}['_send'](_0x4cbe94){const _0x28f098=_0x5d24c9;localStorage[_0x28f098(0x278)](rt,JSON[_0x28f098(0x3c0)](_0x4cbe94));}[_0x5d24c9(0x242)](){const _0x28f55b=_0x5d24c9;this[_0x28f55b(0x368)]=window['setInterval'](()=>{const _0x142ac6=_0x28f55b;this['_send']({'type':0x2,'memberID':this[_0x142ac6(0x231)]});},nt);}[_0x5d24c9(0x2a6)](_0x1c56e7){const _0x420db3=_0x5d24c9;return this[_0x420db3(0x3b0)][_0x420db3(0x1f8)](_0x1c56e7)||this['_unitStatus'][_0x420db3(0x3a8)](_0x1c56e7,new _0x5952f2(_0x2eeaa1[_0x420db3(0x356)])),this['_unitStatus'][_0x420db3(0x1e4)](_0x1c56e7);}}var Lt=(_0x10cd8f=>(_0x10cd8f[_0x10cd8f[_0x5d24c9(0x284)]=0x0]=_0x5d24c9(0x284),_0x10cd8f[_0x10cd8f['OK']=0x1]='OK',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x380)]=0x2]=_0x5d24c9(0x380),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x3da)]=0x3]=_0x5d24c9(0x3da),_0x10cd8f[_0x10cd8f['NOT_FOUND']=0x4]=_0x5d24c9(0x337),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x38a)]=0x5]='UNAUTHENTICATED',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x29c)]=0x6]=_0x5d24c9(0x29c),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x272)]=0x7]=_0x5d24c9(0x272),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x302)]=0x8]=_0x5d24c9(0x302),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x3a5)]=0x9]=_0x5d24c9(0x3a5),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x329)]=0xa]=_0x5d24c9(0x329),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x27f)]=0xb]=_0x5d24c9(0x27f),_0x10cd8f[_0x10cd8f['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x10cd8f[_0x10cd8f['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x1f3)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x22e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x3af)]=0x1771]=_0x5d24c9(0x3af),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2c9)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x277)]=0x1773]=_0x5d24c9(0x277),_0x10cd8f[_0x10cd8f['APPLY_REJECT']=0x1b59]=_0x5d24c9(0x348),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x200)]=0x1b5a]=_0x5d24c9(0x200),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x1fb)]=0x1b5b]=_0x5d24c9(0x1fb),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2e4)]=0x1b5c]=_0x5d24c9(0x2e4),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x34f)]=0x1b5d]=_0x5d24c9(0x34f),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x232)]=0x1f41]=_0x5d24c9(0x232),_0x10cd8f[_0x10cd8f['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5d24c9(0x335),_0x10cd8f[_0x10cd8f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x5d24c9(0x25e),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x28f)]=0x232b]=_0x5d24c9(0x28f),_0x10cd8f[_0x10cd8f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5d24c9(0x325),_0x10cd8f[_0x10cd8f['LICENSE_DISTRO_REJECTED']=0x232d]=_0x5d24c9(0x30b),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x350)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2bb)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2c6)]=0x2713]=_0x5d24c9(0x2c6),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x374)]=0x2714]=_0x5d24c9(0x374),_0x10cd8f[_0x10cd8f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5d24c9(0x257),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x276)]=0x271b]=_0x5d24c9(0x276),_0x10cd8f[_0x10cd8f['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x3c2)]=0x271d]=_0x5d24c9(0x3c2),_0x10cd8f[_0x10cd8f['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x359)]=0x271f]=_0x5d24c9(0x359),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x1e3)]=0x2720]=_0x5d24c9(0x1e3),_0x10cd8f[_0x10cd8f['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5d24c9(0x35e),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x1f1)]=0x2ee1]=_0x5d24c9(0x1f1),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x345)]=0x2ee2]='INVALID_INVITE_CODE',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x28e)]=0x2ee3]=_0x5d24c9(0x28e),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2b8)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x10cd8f[_0x10cd8f[_0x5d24c9(0x3d2)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x10cd8f[_0x10cd8f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5d24c9(0x3c7),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2a9)]=0x32ca]=_0x5d24c9(0x2a9),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x342)]=0x32cb]=_0x5d24c9(0x342),_0x10cd8f[_0x10cd8f[_0x5d24c9(0x2b3)]=-0x1]=_0x5d24c9(0x2b3),_0x10cd8f))(Lt||{}),pn=Object[_0x5d24c9(0x34d)],Cn=(_0xa7907a,_0x30ae28,_0x2c0b7c,_0x2b7bd8)=>{const _0x3a973d=_0x5d24c9;for(var _0x4b2d24=_0x2b7bd8>0x1?void 0x0:_0x2b7bd8?pn(_0x30ae28,_0x2c0b7c):_0x30ae28,_0x258e9c=_0xa7907a[_0x3a973d(0x367)]-0x1,_0x27fd18;_0x258e9c>=0x0;_0x258e9c--)(_0x27fd18=_0xa7907a[_0x258e9c])&&(_0x4b2d24=_0x27fd18(_0x4b2d24)||_0x4b2d24);return _0x4b2d24;},be=(_0x49c769,_0x3eb11d)=>(_0x2f09bc,_0x1f7278)=>_0x3eb11d(_0x2f09bc,_0x1f7278,_0x49c769);let ot=class extends _0x2e4a76{constructor(_0x39e01b,_0x1089b3,_0x5c4bc7){const _0xd232bc=_0x5d24c9;super(),this[_0xd232bc(0x3bd)]=_0x39e01b,this['_httpService']=_0x1089b3,this['_configService']=_0x5c4bc7;}async[_0x5d24c9(0x268)](_0x1c6431,_0x2e85d0,_0x257753,..._0xa80623){const _0x536d2b=_0x5d24c9;var _0x211af5,_0x168e5b,_0x2859e0,_0x2d3736;const _0x40ee27=this[_0x536d2b(0x3bd)][_0x536d2b(0x317)]();if(!_0x40ee27)throw new Error(_0x536d2b(0x38d));const _0x16f1d8=((_0x211af5=this['_configService'][_0x536d2b(0x2bc)](_0x10934d))!=null?_0x211af5:_0x46e36b)+'/'+_0x1c6431+_0x536d2b(0x262)+_0x2e85d0,_0x24910c=new URL(window[_0x536d2b(0x3d4)][_0x536d2b(0x21a)]),_0x48a024={'scriptId':_0x1c6431,'runId':(_0x168e5b=_0x24910c[_0x536d2b(0x349)][_0x536d2b(0x1e4)](_0x536d2b(0x303)))!=null?_0x168e5b:'','function':_0x2e85d0,'unitId':_0x40ee27[_0x536d2b(0x399)](),'argsOfFunction':JSON[_0x536d2b(0x3c0)](_0xa80623),'invokeId':(_0x2859e0=_0x257753[_0x536d2b(0x32f)])!=null?_0x2859e0:'','executionId':(_0x2d3736=_0x257753[_0x536d2b(0x235)])!=null?_0x2d3736:''};try{const _0x558eb7=await this[_0x536d2b(0x2fa)][_0x536d2b(0x250)](_0x16f1d8,{'body':_0x48a024});return _0x558eb7[_0x536d2b(0x2f6)]['error']&&_0x558eb7[_0x536d2b(0x2f6)][_0x536d2b(0x382)][_0x536d2b(0x3d3)]!==Lt['OK']?'Failed':_0x558eb7[_0x536d2b(0x2f6)][_0x536d2b(0x39f)];}catch{return _0x536d2b(0x383);}}};ot=Cn([be(0x0,_0x55ae69),be(0x1,_0x476ef4(_0x2deaba)),be(0x2,_0xa3839)],ot);export{it as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,se as DesktopCollaborationStatusDisplayController,Mt as IURLService,ot as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x5d4998=_0x275a;function _0x275a(_0x5a6ecb,_0x2111ea){const _0x351fe0=_0x351f();return _0x275a=function(_0x275a99,_0x6c3a73){_0x275a99=_0x275a99-0x109;let _0x2fe63c=_0x351fe0[_0x275a99];return _0x2fe63c;},_0x275a(_0x5a6ecb,_0x2111ea);}function _0x351f(){const _0x4ebc1b=['624xhTLpW','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','8365bxOuFA','Synced','818493YzCDXd','2421620nnDTZy','27FyNubU','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Click\x20to\x20Reconnect','3401152sTOFDW','411992OqeDVm','59peCQDu','Syncing...','Syncing\x20server\x20data...','Collaboration\x20Conflict','8766KiVLxr','Edit\x20conflicts','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','1832370vuWQYj'];_0x351f=function(){return _0x4ebc1b;};return _0x351f();}(function(_0x1de842,_0x20f80e){const _0x1bdf54=_0x275a,_0x512719=_0x1de842();while(!![]){try{const _0x43fa7f=-parseInt(_0x1bdf54(0x118))/0x1*(-parseInt(_0x1bdf54(0x11c))/0x2)+parseInt(_0x1bdf54(0x10f))/0x3+parseInt(_0x1bdf54(0x117))/0x4+parseInt(_0x1bdf54(0x110))/0x5+-parseInt(_0x1bdf54(0x10b))/0x6*(-parseInt(_0x1bdf54(0x10d))/0x7)+-parseInt(_0x1bdf54(0x116))/0x8+parseInt(_0x1bdf54(0x111))/0x9*(-parseInt(_0x1bdf54(0x10a))/0xa);if(_0x43fa7f===_0x20f80e)break;else _0x512719['push'](_0x512719['shift']());}catch(_0x307aed){_0x512719['push'](_0x512719['shift']());}}}(_0x351f,0x4178f));const e={'collab-client':{'tooltip':{'reconnect':_0x5d4998(0x115)}},'collabStatus':{'fetchMiss':_0x5d4998(0x11a),'conflict':_0x5d4998(0x11d),'notCollab':'Local\x20file','synced':_0x5d4998(0x10e),'syncing':_0x5d4998(0x119),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x5d4998(0x10c),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x5d4998(0x11b),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x5d4998(0x113),'content':_0x5d4998(0x109)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x5d4998(0x112)},'auth':{'needGotoLoginAlert':_0x5d4998(0x114)}},o=e;export{o as default};
1
+ function _0x1c0d(_0x5b8eb2,_0x971908){const _0x261243=_0x2612();return _0x1c0d=function(_0x1c0d88,_0x32cef4){_0x1c0d88=_0x1c0d88-0xf9;let _0x509cab=_0x261243[_0x1c0d88];return _0x509cab;},_0x1c0d(_0x5b8eb2,_0x971908);}const _0x37e637=_0x1c0d;(function(_0x598721,_0x5ccdf8){const _0x19e7a9=_0x1c0d,_0x1cba71=_0x598721();while(!![]){try{const _0x51c0cf=-parseInt(_0x19e7a9(0x107))/0x1*(parseInt(_0x19e7a9(0x108))/0x2)+-parseInt(_0x19e7a9(0x10e))/0x3*(-parseInt(_0x19e7a9(0x10a))/0x4)+-parseInt(_0x19e7a9(0x104))/0x5+-parseInt(_0x19e7a9(0xf9))/0x6+-parseInt(_0x19e7a9(0x103))/0x7*(-parseInt(_0x19e7a9(0x111))/0x8)+parseInt(_0x19e7a9(0x101))/0x9+-parseInt(_0x19e7a9(0xfb))/0xa*(-parseInt(_0x19e7a9(0xfa))/0xb);if(_0x51c0cf===_0x5ccdf8)break;else _0x1cba71['push'](_0x1cba71['shift']());}catch(_0xad2c93){_0x1cba71['push'](_0x1cba71['shift']());}}}(_0x2612,0xc4999));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x37e637(0x10c),'conflict':_0x37e637(0x10b),'notCollab':'Local\x20file','synced':_0x37e637(0xfe),'syncing':_0x37e637(0xff),'offline':_0x37e637(0xfd)},'session':{'connection-failed':_0x37e637(0x10d),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x37e637(0x102),'collaboration-timeout':_0x37e637(0xfc)},'conflict':{'title':_0x37e637(0x110),'content':_0x37e637(0x10f)},'permission':{'title':_0x37e637(0x112),'content':_0x37e637(0x100)},'collaboration':{'single-unit':{'warning':_0x37e637(0x105)},'closeRoom':_0x37e637(0x106)},'auth':{'needGotoLoginAlert':_0x37e637(0x109)}},o=e;export{o as default};function _0x2612(){const _0x3dac69=['197393xjKhSE','7887370OzSCvD','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','11503KHitdo','226wjgrSj','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','976804ZZXFAK','Edit\x20conflicts','Syncing\x20server\x20data...','Connection\x20failed,\x20please\x20check\x20your\x20network.','12uGbkoJ','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Collaboration\x20Conflict','152WJurSk','Authentication\x20Error','6304416GzjkjA','121unukEx','1827470YctcPk','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','Syncing...','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','10894680MqKZkA','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.'];_0x2612=function(){return _0x3dac69;};return _0x2612();}
@@ -1 +1 @@
1
- function _0x5446(_0x5a956a,_0x1cc8fb){const _0x5e1194=_0x5e11();return _0x5446=function(_0x54469f,_0x2ec5dd){_0x54469f=_0x54469f-0x16d;let _0x30bc89=_0x5e1194[_0x54469f];return _0x30bc89;},_0x5446(_0x5a956a,_0x1cc8fb);}function _0x5e11(){const _0x2ff785=['Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','2548425QBhjAJ','4299300wuxoWT','410124klEVoa','2AzDrbb','410287GtXzCa','6088nPzDdP','8925jHVohD','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing\x20server\x20data...','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','Click\x20to\x20Reconnect','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1462860VrRTup','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','2262705QVwAQC'];_0x5e11=function(){return _0x2ff785;};return _0x5e11();}const _0x14cfb9=_0x5446;(function(_0x211fd4,_0x19c890){const _0x39b22e=_0x5446,_0x2ada83=_0x211fd4();while(!![]){try{const _0x4f85ff=parseInt(_0x39b22e(0x179))/0x1+parseInt(_0x39b22e(0x178))/0x2*(parseInt(_0x39b22e(0x175))/0x3)+parseInt(_0x39b22e(0x177))/0x4+parseInt(_0x39b22e(0x172))/0x5+parseInt(_0x39b22e(0x16e))/0x6+-parseInt(_0x39b22e(0x17b))/0x7*(parseInt(_0x39b22e(0x17a))/0x8)+-parseInt(_0x39b22e(0x176))/0x9;if(_0x4f85ff===_0x19c890)break;else _0x2ada83['push'](_0x2ada83['shift']());}catch(_0x2494ef){_0x2ada83['push'](_0x2ada83['shift']());}}}(_0x5e11,0x9516d));const e={'collab-client':{'tooltip':{'reconnect':_0x14cfb9(0x181)}},'collabStatus':{'fetchMiss':_0x14cfb9(0x17d),'conflict':'Edit\x20conflicts','notCollab':_0x14cfb9(0x173),'synced':_0x14cfb9(0x17e),'syncing':'Syncing...','offline':_0x14cfb9(0x174)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x14cfb9(0x171),'room-full':_0x14cfb9(0x16d),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x14cfb9(0x16f),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x14cfb9(0x180),'content':_0x14cfb9(0x170)},'collaboration':{'single-unit':{'warning':_0x14cfb9(0x17f)},'closeRoom':_0x14cfb9(0x182)},'auth':{'needGotoLoginAlert':_0x14cfb9(0x17c)}};export{e as default};
1
+ function _0x167c(){const _0x1b6dde=['2540336nyTVkl','Edit\x20conflicts','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.','10ZIrQrH','2195985aLKlGd','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','7929yVUjuI','236rwIpHx','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','23877awimiv','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','9937477hphLmz','Synced','Collaboration\x20Conflict','5725512yoDyYF','475232vTBSFM','Click\x20to\x20Reconnect','Authentication\x20Error','1JWTYHS','Local\x20file','Syncing\x20server\x20data...','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1038xVSBky'];_0x167c=function(){return _0x1b6dde;};return _0x167c();}const _0x11a1d5=_0x3775;(function(_0x31656c,_0x28cbce){const _0x275342=_0x3775,_0x327e26=_0x31656c();while(!![]){try{const _0x21f618=-parseInt(_0x275342(0xaa))/0x1*(parseInt(_0x275342(0xa7))/0x2)+parseInt(_0x275342(0x9e))/0x3*(-parseInt(_0x275342(0x9f))/0x4)+-parseInt(_0x275342(0x9c))/0x5+-parseInt(_0x275342(0x97))/0x6*(-parseInt(_0x275342(0xa1))/0x7)+parseInt(_0x275342(0x98))/0x8+-parseInt(_0x275342(0xa6))/0x9+-parseInt(_0x275342(0x9b))/0xa*(-parseInt(_0x275342(0xa3))/0xb);if(_0x21f618===_0x28cbce)break;else _0x327e26['push'](_0x327e26['shift']());}catch(_0x1e3bad){_0x327e26['push'](_0x327e26['shift']());}}}(_0x167c,0x53876));function _0x3775(_0x210f84,_0x122107){const _0x167c9e=_0x167c();return _0x3775=function(_0x377578,_0x4273e5){_0x377578=_0x377578-0x94;let _0x422649=_0x167c9e[_0x377578];return _0x422649;},_0x3775(_0x210f84,_0x122107);}const e={'collab-client':{'tooltip':{'reconnect':_0x11a1d5(0xa8)}},'collabStatus':{'fetchMiss':_0x11a1d5(0x95),'conflict':_0x11a1d5(0x99),'notCollab':_0x11a1d5(0x94),'synced':_0x11a1d5(0xa4),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x11a1d5(0x9d),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x11a1d5(0xa2)},'conflict':{'title':_0x11a1d5(0xa5),'content':_0x11a1d5(0x9a)},'permission':{'title':_0x11a1d5(0xa9),'content':_0x11a1d5(0xa0)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x11a1d5(0x96)}};export{e as default};