@univerjs-pro/collaboration-client-ui 0.15.3 → 0.15.4

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 (58) 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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -0
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -0
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -0
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/types/locale/sk-SK.d.ts +3 -0
  44. package/lib/umd/facade.js +1 -1
  45. package/lib/umd/index.js +1 -1
  46. package/lib/umd/locale/ca-ES.js +1 -1
  47. package/lib/umd/locale/en-US.js +1 -1
  48. package/lib/umd/locale/es-ES.js +1 -1
  49. package/lib/umd/locale/fa-IR.js +1 -1
  50. package/lib/umd/locale/fr-FR.js +1 -1
  51. package/lib/umd/locale/ja-JP.js +1 -1
  52. package/lib/umd/locale/ko-KR.js +1 -1
  53. package/lib/umd/locale/ru-RU.js +1 -1
  54. package/lib/umd/locale/sk-SK.js +1 -0
  55. package/lib/umd/locale/vi-VN.js +1 -1
  56. package/lib/umd/locale/zh-CN.js +1 -1
  57. package/lib/umd/locale/zh-TW.js +1 -1
  58. package/package.json +18 -18
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x1e40b1=_0x38fa;(function(_0x95951a,_0x224866){const _0x5da787=_0x38fa,_0xd18537=_0x95951a();while(!![]){try{const _0x1dfe9f=-parseInt(_0x5da787(0x2f5))/0x1+-parseInt(_0x5da787(0x2f4))/0x2+parseInt(_0x5da787(0x1ca))/0x3*(parseInt(_0x5da787(0x268))/0x4)+-parseInt(_0x5da787(0x28e))/0x5*(-parseInt(_0x5da787(0x229))/0x6)+parseInt(_0x5da787(0x225))/0x7+-parseInt(_0x5da787(0xdf))/0x8*(-parseInt(_0x5da787(0xe5))/0x9)+parseInt(_0x5da787(0x1cb))/0xa*(-parseInt(_0x5da787(0xfe))/0xb);if(_0x1dfe9f===_0x224866)break;else _0xd18537['push'](_0xd18537['shift']());}catch(_0x365831){_0xd18537['push'](_0xd18537['shift']());}}}(_0x4aab,0xae791));var Yt=Object['defineProperty'],Wt=(_0x16019f,_0x110416,_0x4e0018)=>_0x110416 in _0x16019f?Yt(_0x16019f,_0x110416,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e0018}):_0x16019f[_0x110416]=_0x4e0018,_=(_0x4405ff,_0x287fd9,_0xd66fa5)=>Wt(_0x4405ff,typeof _0x287fd9!='symbol'?_0x287fd9+'':_0x287fd9,_0xd66fa5);import{jsx as _0x536d58,jsxs as _0x1a093a}from'react/jsx-runtime';import{CollaborationStatus as _0x126115,CollaborationSessionService as _0x38b52a,CollaborationController as _0x465340,DataLoaderService as _0x19e9f7,MemberService as _0x4d6b15,SessionStatus as _0x5c067f,ILocalCacheService as _0x51b584,CollaborationUIEventService as _0xfcb14b,CollaborationUIEventId as _0x29a27e,DocCollaborationEntity as _0x185d0f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x7fd448,getLocalCacheKey as _0x192196,LOCAL_CACHE_INTERVAL as _0x14c463,LOCAL_CACHE_INTERVAL_KEY as _0x18d25d,UniverCollaborationClientPlugin as _0x485e39,CollaborationSocketService as _0x4c670c,DEFAULT_WS_SESSION_TICKET_URL as _0x3b6f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x50aa9c,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x78af75,UnitStatus as _0x114a9b}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x51435d,IUniverInstanceService as _0x161ad0,Inject as _0x2c0e45,Injector as _0x3fc224,Disposable as _0x4e2370,createIdentifier as _0x19cd97,ILogService as _0x29510e,ICommandService as _0x7462c,Optional as _0x37f660,RxDisposable as _0x52c72b,Workbook as _0x4df832,DOC_RANGE_TYPE as _0x4cbb3c,debounce as _0x480f0d,Rectangle as _0x44bb29,DisposableCollection as _0x4f0c87,toDisposable as _0x4b734a,UniverInstanceType as _0x25fa51,generateRandomId as _0x2b8a5d,COLORS as _0x2162bc,ColorKit as _0x5d75b4,ThemeService as _0x200d5a,fromEventSubject as _0x5026b8,Tools as _0x509f1e,CommandType as _0x488e10,IConfigService as _0xaf39b9,CanceledError as _0x309b6a,isFormulaString as _0x16ba62,isFormulaId as _0x244a3a,ILocalStorageService as _0x401375,DependentOn as _0xe8bdb1,Plugin as _0x504480,merge as _0x119aa6,registerDependencies as _0x5c9d92,mergeOverrideWithDependencies as _0x1282ba,touchDependencies as _0x3ecbaa}from'@univerjs/core';import{useObservable as _0x22378b,useDependency as _0x26b09f,IUIPartsService as _0x37320f,BuiltInUIPart as _0x4c7ebe,connectInjector as _0x4392f7,IBeforeCloseService as _0x3cd0f6,IMessageService as _0x5aac8c,INotificationService as _0x5c99d5}from'@univerjs/ui';import{BehaviorSubject as _0xefb469,switchMap as _0x163538,of as _0x1b1789,takeUntil as _0x5d9a7c,debounceTime as _0x16ada7,Subject as _0x2ecf52,filter as _0x15df19,merge as _0x212f2b,combineLatest as _0x486491,fromEvent as _0x336182,shareReplay as _0x5d780b,mapTo as _0x44ca7b,distinctUntilChanged as _0x26115a}from'rxjs';import{Tooltip as _0x9bf705,clsx as _0x5085c6,MessageType as _0x413557}from'@univerjs/design';import{useRef as _0x1fc853,createElement as _0x52bed7,forwardRef as _0xec3552,useCallback as _0x3c7968}from'react';import{IRemoteInstanceService as _0x213dc6}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x5eff69,RefRangeService as _0x4a3acd,SetSelectionsOperation as _0x40536b,SheetsSelectionsService as _0x4bec6f,EffectRefRangId as _0x37e3ca,handleIRemoveRow as _0x1c3d70,handleIRemoveCol as _0x47f10c,handleMoveRange as _0x38059d,handleInsertRow as _0x3957c8,handleInsertRangeMoveRight as _0x24b9be,handleInsertRangeMoveDown as _0x23dfff,handleInsertCol as _0x245f5c,handleDeleteRangeMoveUp as _0xb28157,handleDeleteRangeMoveLeft as _0xc65089,runRefRangeMutations as _0x89c58f}from'@univerjs/sheets';import{Shape as _0x29b4e3,Rect as _0x4d3d55,getColor as _0xe0e13e,RegularPolygon as _0x13a851,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x35411e,Vector2 as _0x5c81fa,SHEET_VIEWPORT_KEY as _0x1b7b1e,IRenderManagerService as _0xef4dde}from'@univerjs/engine-render';import{HTTPService as _0xb0aafa,ISocketService as _0x53cf78,WebSocketService as _0x4c4ca2}from'@univerjs/network';import{IDocClipboardService as _0x19ff31,NodePositionConvertToCursor as _0x2573ee,NodePositionConvertToRectRange as _0x47b2a6,TEXT_RANGE_LAYER_INDEX as _0x4973ed,SetDocZoomRatioOperation as _0x350f79,DocIMEInputManagerService as _0x208526,DocStateChangeManagerService as _0x1e4bf3}from'@univerjs/docs-ui';import{IImageIoService as _0x12a140}from'@univerjs/drawing';import{ITransformService as _0xa76561,CollaborationEvent as _0x364cbb,isTransformMutationFailure as _0x463700,isTransformMutationsWithChangesetSuccess as _0x22ff8b,RevisionService as _0x520e2c,ISnapshotServerService as _0x6fbdfe}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x50d425,RichTextEditingMutation as _0x1b9411,DocSelectionManagerService as _0x8b731d,DocSkeletonManagerService as _0x1842c9}from'@univerjs/docs';function _0x38fa(_0x6d2e16,_0x45eae1){_0x6d2e16=_0x6d2e16-0xce;const _0x4aabca=_0x4aab();let _0x38fa5b=_0x4aabca[_0x6d2e16];return _0x38fa5b;}import{deserializeRangeWithSheet as _0x236172,serializeRangeWithSheet as _0x5e08f5,FormulaExecuteStageType as _0x422184,FormulaExecutedStateType as _0x3bbcbd,SetFormulaCalculationStartMutation as _0x1ecee1,SetFormulaCalculationNotificationMutation as _0x49db29}from'@univerjs/engine-formula';import{map as _0x4ad3b0,filter as _0x1194e9,throttleTime as _0xe140a4,takeUntil as _0x25496f,switchMap as _0x46468b}from'rxjs/operators';import{SheetSkeletonManagerService as _0x2e6db2,getCoordByCell as _0x4ae2c3,getSheetObject as _0x542516}from'@univerjs/sheets-ui';function Ge({ref:_0x2a7fdc,..._0x3e867a}){const _0x30e5cd=_0x38fa,{icon:_0x1f1c31,id:_0x1513c1,className:_0x4ebfbf,extend:_0x3fd1f9,..._0xe1d57c}=_0x3e867a,_0x130f7d=(_0x30e5cd(0x108)+_0x1513c1+'\x20'+(_0x4ebfbf||''))[_0x30e5cd(0x1d2)](),_0x136b6d=_0x1fc853('_'+vi());return At(_0x1f1c31,''+_0x1513c1,{'defIds':_0x1f1c31[_0x30e5cd(0x2cb)],'idSuffix':_0x136b6d['current']},{'ref':_0x2a7fdc,'className':_0x130f7d,..._0xe1d57c},_0x3fd1f9);}function At(_0x5de33c,_0x3692ba,_0x4ddb93,_0x4a88b8,_0x38e04a){const _0x3829cc=_0x38fa;return _0x52bed7(_0x5de33c[_0x3829cc(0x189)],{'key':_0x3692ba,...gi(_0x5de33c,_0x4ddb93,_0x38e04a),..._0x4a88b8},(Ei(_0x5de33c,_0x4ddb93)[_0x3829cc(0x2a7)]||[])[_0x3829cc(0x1de)]((_0x2a6d22,_0xe2cbef)=>At(_0x2a6d22,_0x3692ba+'-'+_0x5de33c[_0x3829cc(0x189)]+'-'+_0xe2cbef,_0x4ddb93,void 0x0,_0x38e04a)));}function _0x4aab(){const _0x21abe2=['override','_document','ONLINE','getParam','_ensureSubject','Failed','trim','getConfig','sheetId','getMergeData','formula.calculation.unable','onPointerEnter$','getRenderById','registerBeforeClose','catch','ENTITLE_COUPON_USED_UP','setTimeout','replaceDocRanges','map','Error','eventID','_docStateChangeManagerService','entries','createSocket','subUnitId','getCurrentSelections','_pollingInterval','_themeService','REDEMPTION_CODE_FULLY_REDEEMED','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','ERROR_AGAIN','collaboration.closeRoom','syncEditingCollabCursor','currentColor','newValue','textRanges','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','_imageIoService','_collabCursorController','set','/universer-api/license/formula/limit/done','doc.mutation.rich-text-editing','_localCacheService','collab-client.tooltip.reconnect','defs','NO_OTHER_CLIENTS_EDITING','imageSourceType','USERS_LEAVE','_maxFormulaLimit','CHANGESET_REVISION_CONFILICT','_initWindowErrorListener','urlChange$','getValue','loadOfflineData','_registerRenderDependencies','REDEMPTION_CODE_INACTIVE','_getMergeRange','unsubscribe','then','memberID','_docTransformIMECacheService','INTERNAL_ERROR','PENDING','getRangePointData','_startCalculationLimit','SNAPSHOT_INVALID_SNAPSHOT','\x20at\x20','history','_range','_send','UNIVER_SHEET','width','DATA_SOURCE_TOO_LARGE','_getScale','onLocalMutation','_taskIds','_handleJoinEvent','addClipboardHook','_initUserListener','PY_RUNTIME_SCRIPT_ERROR','_updateURLWithCurrentState','_selfUnitIDs','setInterval','saveImage','http://www.w3.org/2000/svg','focused$','column','ENTITLE_CAN_NOT_BUY_LOWER_OTP','beginPath','2853921JMOBeG','_releaseCalculationLimit','_initResize','_cursorShapes','90096vZjRRs','collaboration.single-unit.warning','startsWith','REDEMPTION_INVALID_CODE','InsertRowCommandId','parseInt','result','_docTransformStateCacheService','_startDocCollabCursor','NOT_COLLAB','ENTITLE_USE_COUPON_NOT_1ST_TRADE','dispose','getActiveRange','wsSessionTicketUrl','USER_NOT_INVITED_CODE','_docClipboardService','registerRefRange','next','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformStateCache','permission.title','add','makeDirty','SOCKET_FAILED','all','getColorFromTheme','_notificationService','YUUMI_AI_RUN_FAILED','endRow','_cursorInfo$','_onCursorUpdate','saveTaskMap','InsertRangeMoveDownCommandId','_memberID','getAncestorScale','editingUnit','string','off-line-icon','LOGIN_TOKEN_PROCESSING_FAILED','getOffsetConfig','UniverIcon','_cursors','_messageService','reason','key','_getSheetObject','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collabStatus.fetchMiss','post','lineTo','white','/run/','FromArray','xlink:href','selections','transformByState','transformMutationsWithChangeset','_initEntityListener','setItem','_configService','none','svg','MOBILE_HAS_BEEN_BOUND','1332tuwVVw','_showGuardMessage','hide','_removeClearOtherTimer','_memberService','addObject','collaboration-client-ui.config','bottom','YUUMI_RATE_OVER_LIMIT','_status$','href','exhaustSavingTask','startFormulaLimitUrl','displayName','getUnitId','_scheduleClearOtherTimer','UPDATE_CURSOR','getCurrentUnitForType','unshift','0\x200\x2017\x2016','delete','permission.content','_drawAnchor','getCollabCursors$','_shapes','[CollaborationDataLoaderController]','contains','clearInterval','on-line-icon_clip0_910_349','APPLY_REJECT','disposeWithMe','UNDEFINED','collabStatus.offline','session.will-retry','_uploadLog','searchParams','url(#$1','_context','260xugwhc','_transformService','currentTheme$','toRgbString','getMemberID','startRow','location','roomMembers','LICENSE_DISTRO_REJECTED','maxFormulaLimit','_unitOnClients','_initCommandInterceptor','_checkCalculationAvailable','_onCursorDelete','complete','JOIN_ROOM_FAILED','_session','ENTITLE_REPORT_LIMIT_EXCEED','setShapeProps','LICENSE_IMPORT_SIZE_EXCEEDED','ranges','_applyCommand','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_scheduleHeartbeat','length','children','flatMap','row','bind','_sheetSkeletonManagerService','colorChannel1','fillStyle','fillText','?taskId=','getItem','socket$','pipe','isArray','random','min','onPointerLeave$','SUBMIT_CHANGESET_TIMEOUT','_online','_toggleOnline','_heartbeatTimer','runOnServer','stageInfo','removeEventListener','OffLineIcon','CURRENT_STATUS_CANNOT_OPERATE','REDEMPTION_CODE_NOT_STARTED','RECT','hovered','replace','fill','INVITE_CODE_REQUIRED','UNAUTHENTICATED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_commandService','mask','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','defIds','getMember','error','0\x200\x2016\x2016','_transformUndoRedoStack','_backgroundColor','clipPath','getSheetId','substring','VIEW_MAIN','lineno','deepClone','_initEvent','AWAITING_WITH_PENDING','onStarting','transform','_transformPreviousActiveRange','NOT_FOUND','red.300','getUnhiddenWorksheets','_collabCursorState$','off-line-icon_clip0_910_343','_initCommandExecutedListener','PAYMENT_CHANNEL_NOT_SUPPORT','range','_updateLocalCursor','getStateCache','from','push','path','shift','unload','_collaborationUIEventService','YUUMI_UNABLE_LOAD_URL','source','TEXT','purple.300','_color','_injector','_entityInit$','fillRule','1909486sFQnaY','1143746AehNWK','_name','FETCH_MISS','moveTo','setAlpha','executeCommand','ALREADY_EXISTS','_uiPartsService','_removeCollabCursors','MoveRangeCommandId','_eventUnsubscribe','collabStatus.notCollab','APPLY_PERMISSION_DENIED','_logService','get','_scheduleSaving','YUUMI_NO_CUBOID_FOR_QUESTION','registerRenderModule','_handleHover','loadUnit','RemoveColCommandId','init','sessionStatus$','rgba(255,\x20255,\x20255,\x200.01)','split','ENTITLE_COUPON_EXPIRED','updateOfflineData','subscribeEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','_localStorageService','OnLineIcon','filename','_entities','_renderManagerService','Warning','executionId','onPointerMove$','activeSheet$','ENTITLE_INVALID_COUPON_CODE','YUUMI_ALL_TABLES_IS_INVALID','m2Prime','yellow.400','docStateChange$','code','_drawRectRange','LICENSE_MAX_UNITS_EXCEEDED','dispose$','MUTATION','INVITE_CODE_ALREADY_BOUND','_unitStatus','params','join','ENTITLE_DUP_SUBSCRIPTION','dirtyRanges','onCommandExecuted','LICENSE_EXPORT_SIZE_EXCEEDED','_currentUsage','attrs','collabCursorState$','YUUMI_CONNECTOR_URL_NOT_FOUND','getDocRanges','_draw','assign','uni.network.url-service','START_CALCULATION','_collabSessionService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_clearOtherTimers','8qOAtza','getOwnPropertyDescriptor','_urlService','restore','clearTimeout','type','12431898ybinYp','evenodd','_startSheetCollabCursor','getFocusedUnit','INVITE_CODE_HAS_BEEN_UES','_initStatusComponent','disposeUnit','transformMutation','INVALID_INVITE_CODE','height','beforeCommandExecuted','unit','getVpScrollXYInfoByPosToVp','1em','_refRangeService','ENTITLE_NEED_BILLING_ADDRESS','_instanceService','includes','roomMembers$','origin','transformSelections','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','REDEMPTION_CODE_HAS_BEEN_CREATED','createInstance','subscribe','7513yPxHry','show','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','mutations','setParam','_assignedColors','black','debug','drawWith','_refreshCollabCursors','univerjs-icon\x20univerjs-icon-','with','entityInit$','enableFrontendLog','#FFF','univer-flex\x20univer-items-center','selection','USER_NOT_FOUND','m1Prime','_colorAssignService','transformRemoteChangeset','_colorIndex','_roomMembers$','_toggleOffline','actions','send','idSuffix','_handleEvent','max','onRendered','event$','transformIMECache','message','_monkeyPatchLogService','arc','functionsExecutedState','name','APPLY_REVISION_CONFILICT','_collaborationController','cursorInfo','round','APPLY_NON_SEQUENTIAL_REVISION','OFFLINE','Unknown\x20user','getUndoRedoMutationParamsCache','/universer-api/license/formula/limit/start','_getFormulaLimitStatus','registerComponent','_collaborationSessionService','asObservable','limitInfo','defineProperty','collabStatus.syncing','session.connection-failed','_createSocketURL','_setupSubUnitSync','text','getFormulaLimitStatusUrl','measureText','_initDependencies','body','getCellPositionByOffset','_updateSubUnitFromURLParams','enableLocalCache','runId','LOGIN_FAILED','findNodePositionByCharIndex','collaboration.offline-data-not-saved','invokeId','_checkAndWaitForCalculationPermission','_getSaveTimeout','OTHER_CLIENTS_EDITING','releaseFormulaLimitUrl','_scene','_docSkeletonManagerService','_localeService','UNRECOGNIZED','pluginName','_docSyncEditingCollabCursorService','_setupBeforeClosingHandler','WECHAT_HAS_BEEN_BOUND','_lastPointer','forEach','...','Success','subunit','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_getSessionTicket','values','blue.400','requireSession','toString','_clearPolling','_onRefRangeChange','colno','div','_textBubble','totalFormulasToCalculate','resize','url(#on-line-icon_clip0_910_349)','reconnect','setConfig','_updateCollabCursors','AUTHORIZE_CODE_ILLEGAL','EMAIL_HAS_BEEN_BOUND','_render','isEditing','engine','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_ASYNCIO_CANCELLED','USER_IS_ANONYMOUS','_lastResponseTimestamp','[Unhandled\x20Rejection]:\x20','setUndoRedoMutationParamsCache','unitId','SNAPSHOT_HAS_BEEN_REMOVED','assignAColorForMemberID','color','INVALID_ARGUMENT','_saveTaskMap','has','size','top','_hover','CLOSE_ROOM','data','save','getTypeOfUnitAdded$','stringify','_init','REDEMPTION_USER_NOT_ELIGIBLE','_registerDependencies','application/json','_hideTimer','/universer-api/license/formula/limit/status','_httpService','translate(.97)','unitID','getSheetBySheetId','tag','getTypeOfUnitDisposed$','_config','_cachedData','_getAnchorBounding','ENSURE_SNAPSHOT_EXECUTION','TOO_MANY_REQUESTS','stack','setStateCache','_anchor','_saveCache','_univerInstanceService','UNIVER_DOC','getViewport','getSkeleton','_hovered','EMAIL_VERIFY_CODE_MISMATCH','isActive','_transformHistoryAndStateStack','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_INSUFFICIENT_QUOTA','collab-rect-range-','pushState','_anchorDot','_labelPosition','onMouseMove','replaceState','APPLY_DUPLICATED','RemoveRowCommandId','cursorInfo$','_setFormulaLimitStatus','InsertColCommandId','COMPLETION_FINISHED','now','_docTransformSelectionsService','MOBILE_VERIFY_CODE_MISMATCH','collab-text-anchor-','DeleteRangeMoveUpCommandId','backgroundColor','REDEMPTION_USER_REDEEM_TIMES_EXCEED','HEADER_MENU','_initStatusListener','_docSkeleton','currentUsage','endColumn','getCurrentRevOfUnit','addHandlerCallback','_cursor','getRelativeToViewportCoord','Loading','triggerDblclick','redoState','_beforeCloseService','_dataLoaderService','undoState','[Window\x20Error]:\x20','_handleHeartbeatEvent','_hasFormulaInDirtyRanges','startColumn','parse','storage','addEventListener','_id','/universer-api/frontend/logs','PERMISSION_DENIED','12732fBKmkc','17130FYKUfo'];_0x4aab=function(){return _0x21abe2;};return _0x4aab();}function gi(_0xa9d597,_0x58b832,_0x5787de){const _0x47504f=_0x38fa,_0x97f2fd={..._0xa9d597[_0x47504f(0xd4)]};_0x5787de!=null&&_0x5787de[_0x47504f(0x2ac)]&&_0x97f2fd[_0x47504f(0x2c4)]===_0x47504f(0x2ac)&&(_0x97f2fd['fill']=_0x5787de['colorChannel1']),_0xa9d597[_0x47504f(0x189)]===_0x47504f(0x2c9)&&_0x97f2fd['id']&&(_0x97f2fd['id']=_0x97f2fd['id']+_0x58b832[_0x47504f(0x118)]),Object[_0x47504f(0x1e2)](_0x97f2fd)['forEach'](([_0x414f56,_0x2e342a])=>{const _0x3765d2=_0x47504f;_0x414f56==='mask'&&typeof _0x2e342a==_0x3765d2(0x24d)&&(_0x97f2fd[_0x414f56]=_0x2e342a[_0x3765d2(0x2c3)](/url\(#(.*)\)/,_0x3765d2(0x28c)+_0x58b832[_0x3765d2(0x118)]+')'));});const {defIds:_0x42a258}=_0x58b832;return!_0x42a258||_0x42a258[_0x47504f(0x2a6)]===0x0||(_0xa9d597[_0x47504f(0x189)]==='use'&&_0x97f2fd['xlink:href']&&(_0x97f2fd['xlink:href']=_0x97f2fd[_0x47504f(0x25e)]+_0x58b832[_0x47504f(0x118)]),Object[_0x47504f(0x1e2)](_0x97f2fd)[_0x47504f(0x150)](([_0x16631a,_0x2d9426])=>{const _0x20634e=_0x47504f;typeof _0x2d9426=='string'&&(_0x97f2fd[_0x16631a]=_0x2d9426['replace'](/url\(#(.*)\)/,_0x20634e(0x28c)+_0x58b832[_0x20634e(0x118)]+')'));})),_0x97f2fd;}function Ei(_0x306b22,_0x1f090f){const _0x1b96f3=_0x38fa;var _0x31f15f;const {defIds:_0x5776e0}=_0x1f090f;return!_0x5776e0||_0x5776e0[_0x1b96f3(0x2a6)]===0x0?_0x306b22:_0x306b22['tag']===_0x1b96f3(0x1f8)&&((_0x31f15f=_0x306b22[_0x1b96f3(0x2a7)])!=null&&_0x31f15f['length'])?{..._0x306b22,'children':_0x306b22[_0x1b96f3(0x2a7)][_0x1b96f3(0x1de)](_0x3619b2=>typeof _0x3619b2[_0x1b96f3(0xd4)]['id']==_0x1b96f3(0x24d)&&_0x5776e0&&_0x5776e0['includes'](_0x3619b2[_0x1b96f3(0xd4)]['id'])?{..._0x3619b2,'attrs':{..._0x3619b2[_0x1b96f3(0xd4)],'id':_0x3619b2['attrs']['id']+_0x1f090f[_0x1b96f3(0x118)]}}:_0x3619b2)}:_0x306b22;}function vi(){const _0x6468af=_0x38fa;return Math[_0x6468af(0x2b4)]()[_0x6468af(0x159)](0x24)[_0x6468af(0x2d3)](0x2,0x8);}Ge[_0x1e40b1(0x275)]=_0x1e40b1(0x251);const pi={'tag':_0x1e40b1(0x266),'attrs':{'xmlns':_0x1e40b1(0x220),'fill':_0x1e40b1(0x265),'viewBox':_0x1e40b1(0x2ce),'width':_0x1e40b1(0xf2),'height':_0x1e40b1(0xf2)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x1e40b1(0x1ed),'d':_0x1e40b1(0x1f0),'strokeLinecap':_0x1e40b1(0x126),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1e40b1(0x1f8),'attrs':{},'children':[{'tag':_0x1e40b1(0x2d1),'attrs':{'id':_0x1e40b1(0x2e0)},'children':[{'tag':_0x1e40b1(0x2e8),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x1e40b1(0x2e0)]},Pt=_0xec3552(function(_0x4d65be,_0xa64874){const _0x5e4d2e=_0x1e40b1;return _0x52bed7(Ge,Object[_0x5e4d2e(0xd9)]({},_0x4d65be,{'id':_0x5e4d2e(0x24e),'ref':_0xa64874,'icon':pi}));});Pt['displayName']=_0x1e40b1(0x2be);const Oi={'tag':_0x1e40b1(0x266),'attrs':{'xmlns':_0x1e40b1(0x220),'fill':'none','viewBox':_0x1e40b1(0x27b),'width':_0x1e40b1(0xf2),'height':_0x1e40b1(0xf2)},'children':[{'tag':'g','attrs':{'clipPath':_0x1e40b1(0x161)},'children':[{'tag':_0x1e40b1(0x2e8),'attrs':{'stroke':_0x1e40b1(0x1ed),'d':_0x1e40b1(0x1e9),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1e40b1(0x1f8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1e40b1(0x284)},'children':[{'tag':_0x1e40b1(0x2e8),'attrs':{'fill':_0x1e40b1(0x25b),'d':'M0\x200H16V16H0z','transform':_0x1e40b1(0x186)}}]}]}],'defIds':[_0x1e40b1(0x284)]},wt=_0xec3552(function(_0x5e62ba,_0x33edea){const _0x5146dd=_0x1e40b1;return _0x52bed7(Ge,Object[_0x5146dd(0xd9)]({},_0x5e62ba,{'id':'on-line-icon','ref':_0x33edea,'icon':Oi}));});wt[_0x1e40b1(0x275)]=_0x1e40b1(0x313);function Ti(_0x56fce1){const _0x1a37d9=_0x1e40b1;switch(_0x56fce1){case _0x126115[_0x1a37d9(0x128)]:return _0x1a37d9(0x288);case _0x126115['CONFLICT']:return'collabStatus.conflict';case _0x126115[_0x1a37d9(0x2f7)]:return _0x1a37d9(0x258);case _0x126115[_0x1a37d9(0x232)]:return _0x1a37d9(0x300);case _0x126115['AWAITING']:case _0x126115[_0x1a37d9(0x2d8)]:return _0x1a37d9(0x132);case _0x126115['SYNCED']:case _0x126115[_0x1a37d9(0x20a)]:return'collabStatus.synced';}}function Ci(_0x30fe4d){const _0x537284=_0x1e40b1,{status$:_0x118911}=_0x30fe4d,_0x4a4a8e=_0x22378b(_0x118911,_0x126115[_0x537284(0x232)]),_0x3de569=_0x26b09f(_0x51435d),_0x400717=_0x26b09f(_0x38b52a),_0x53bf09=_0x4a4a8e!==_0x126115[_0x537284(0x128)],_0x1ecaab=_0x3de569['t'](Ti(_0x4a4a8e)),_0x3ecdb0=_0x53bf09?_0x536d58(wt,{}):_0x536d58(Pt,{}),_0x38fa27=_0x3c7968(()=>{const _0x3d978d=_0x537284;_0x53bf09||_0x400717[_0x3d978d(0x162)]();},[_0x53bf09,_0x400717]);function _0x370092(){const _0x463325=_0x537284;return _0x1a093a(_0x463325(0x15d),{'className':_0x463325(0x10d),'onClick':_0x38fa27,'children':[_0x536d58(_0x463325(0x15d),{'className':_0x5085c6('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x53bf09,'univer-text-red-500':!_0x53bf09}),'children':_0x3ecdb0}),_0x536d58(_0x463325(0x15d),{'className':_0x463325(0xfa),'children':_0x1ecaab})]});}return _0x53bf09?_0x370092():_0x536d58(_0x9bf705,{'title':_0x3de569['t'](_0x537284(0x1f7)),'children':_0x370092()});}var Ri=Object[_0x1e40b1(0xe0)],Di=(_0x147769,_0x466bff,_0x1f0d47,_0x16a281)=>{const _0x264128=_0x1e40b1;for(var _0x3af0f4=_0x16a281>0x1?void 0x0:_0x16a281?Ri(_0x466bff,_0x1f0d47):_0x466bff,_0x1b5ea1=_0x147769[_0x264128(0x2a6)]-0x1,_0x3edcb8;_0x1b5ea1>=0x0;_0x1b5ea1--)(_0x3edcb8=_0x147769[_0x1b5ea1])&&(_0x3af0f4=_0x3edcb8(_0x3af0f4)||_0x3af0f4);return _0x3af0f4;},se=(_0x461c2,_0xacd8e2)=>(_0x287ad7,_0x212360)=>_0xacd8e2(_0x287ad7,_0x212360,_0x461c2);let ae=class extends _0x4e2370{constructor(_0x143487,_0x1288e0,_0x20e6d6,_0x8f7fcd){const _0x4a980e=_0x1e40b1;super(),_(this,_0x4a980e(0x271),new _0xefb469(_0x126115[_0x4a980e(0x232)])),(this['_univerInstanceService']=_0x143487,this[_0x4a980e(0x2f1)]=_0x1288e0,this[_0x4a980e(0x124)]=_0x20e6d6,this['_uiPartsService']=_0x8f7fcd,this[_0x4a980e(0xea)](),this[_0x4a980e(0x1b2)]());}['_initStatusListener'](){const _0x434033=_0x1e40b1;this[_0x434033(0x286)](this[_0x434033(0x194)][_0x434033(0x221)][_0x434033(0x2b2)](_0x163538(()=>{const _0x33f4b8=_0x434033,_0x580411=this['_univerInstanceService']['getFocusedUnit']();return _0x580411?this[_0x33f4b8(0x124)]['getCollabEntity$'](_0x580411[_0x33f4b8(0x276)]()):_0x1b1789(null);}),_0x163538(_0x1d1870=>_0x1d1870?_0x1d1870['status$']:_0x1b1789(_0x126115[_0x434033(0x232)])))[_0x434033(0xfd)](_0x20dd57=>{const _0xa529f8=_0x434033;this[_0xa529f8(0x271)][_0xa529f8(0x23a)](_0x20dd57);}));}[_0x1e40b1(0xea)](){const _0x25e69c=_0x1e40b1;this['disposeWithMe'](this[_0x25e69c(0x2fc)][_0x25e69c(0x12d)](_0x4c7ebe[_0x25e69c(0x1b1)],()=>_0x4392f7(Ni({'status$':this[_0x25e69c(0x271)][_0x25e69c(0x12f)]()}),this[_0x25e69c(0x2f1)])));}};ae=Di([se(0x0,_0x161ad0),se(0x1,_0x2c0e45(_0x3fc224)),se(0x2,_0x2c0e45(_0x465340)),se(0x3,_0x37320f)],ae);function Ni(_0x45eb45){const {status$:_0x2e0fd1}=_0x45eb45;return function(){return _0x536d58(Ci,{'status$':_0x2e0fd1});};}const yt=_0x19cd97(_0x1e40b1(0xda));var bi=Object['getOwnPropertyDescriptor'],Li=(_0x41e74e,_0x338b53,_0x5ba719,_0x2167df)=>{const _0x2b60cf=_0x1e40b1;for(var _0x249ac7=_0x2167df>0x1?void 0x0:_0x2167df?bi(_0x338b53,_0x5ba719):_0x338b53,_0x430c47=_0x41e74e[_0x2b60cf(0x2a6)]-0x1,_0x12a28a;_0x430c47>=0x0;_0x430c47--)(_0x12a28a=_0x41e74e[_0x430c47])&&(_0x249ac7=_0x12a28a(_0x249ac7)||_0x249ac7);return _0x249ac7;},K=(_0x30b62e,_0x14f274)=>(_0x361ce5,_0x4d7cc1)=>_0x14f274(_0x361ce5,_0x4d7cc1,_0x30b62e);let ce=class extends _0x52c72b{constructor(_0x5840c0,_0x177056,_0x379df6,_0x5a398f,_0xf9a430){const _0x9cbc8f=_0x1e40b1;super(),this[_0x9cbc8f(0xe1)]=_0x5840c0,this[_0x9cbc8f(0x302)]=_0x177056,this[_0x9cbc8f(0x2c8)]=_0x379df6,this[_0x9cbc8f(0x1be)]=_0x5a398f,_0xf9a430?_0xf9a430==null||_0xf9a430['whenReady']()[_0x9cbc8f(0x206)](()=>this[_0x9cbc8f(0x17f)]()):(this[_0x9cbc8f(0x302)][_0x9cbc8f(0x105)](_0x9cbc8f(0x281),_0x9cbc8f(0xdd)),this['_init']());}async[_0x1e40b1(0x17f)](){const _0x49bc54=_0x1e40b1,_0x1b0271=this['_urlService']['getParam'](_0x49bc54(0xf0)),_0x312b3c=this['_urlService']['getParam']('type'),_0x14aee8=this[_0x49bc54(0xe1)][_0x49bc54(0x1cf)](_0x49bc54(0x153));if(!_0x1b0271||!_0x312b3c){this[_0x49bc54(0x302)][_0x49bc54(0x105)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4f44d8=await this[_0x49bc54(0x1be)][_0x49bc54(0x308)](_0x1b0271,Number(_0x312b3c),_0x14aee8);_0x4f44d8&&_0x4f44d8 instanceof _0x4df832&&this[_0x49bc54(0x135)](_0x4f44d8);}async['_setupSubUnitSync'](_0x210b19){const _0x4ff856=_0x1e40b1;await this[_0x4ff856(0x13c)](_0x210b19),_0x210b19[_0x4ff856(0x31a)]['pipe'](_0x5d9a7c(this['dispose$']))[_0x4ff856(0xfd)](_0x5f21eb=>{_0x5f21eb&&this['_updateURLWithCurrentState'](_0x5f21eb);}),this['_urlService']['urlChange$'][_0x4ff856(0x2b2)](_0x5d9a7c(this['dispose$']))[_0x4ff856(0xfd)](()=>this['_updateSubUnitFromURLParams'](_0x210b19));}['_updateURLWithCurrentState'](_0xc68c47,_0x202af5=!0x1){const _0x5517cd=_0x1e40b1,_0x46bc68=this[_0x5517cd(0xe1)]['getParam'](_0x5517cd(0x153));_0xc68c47['getSheetId']()!==_0x46bc68&&this[_0x5517cd(0xe1)][_0x5517cd(0x102)](_0x5517cd(0x153),_0xc68c47[_0x5517cd(0x2d2)](),_0x202af5);}async[_0x1e40b1(0x13c)](_0x499aa1){const _0x1108ef=_0x1e40b1;var _0x2249a1;const _0x147cd=this[_0x1108ef(0xe1)][_0x1108ef(0x1cf)](_0x1108ef(0x153));if(!_0x147cd||!_0x499aa1[_0x1108ef(0x188)](_0x147cd)){const _0x1f5e08=_0x499aa1[_0x1108ef(0x2de)]()[0x0],_0x6dcb49=_0x499aa1['getSheetBySheetId'](_0x1f5e08);if(!_0x6dcb49)return;this[_0x1108ef(0x21c)](_0x6dcb49,!0x0),await this[_0x1108ef(0x2c8)][_0x1108ef(0x2fa)](_0x5eff69['id'],{'unitId':_0x499aa1[_0x1108ef(0x276)](),'subUnitId':_0x1f5e08});return;}((_0x2249a1=_0x499aa1['getActiveSheet']())==null?void 0x0:_0x2249a1[_0x1108ef(0x2d2)]())!==_0x147cd&&await this['_commandService']['executeCommand'](_0x5eff69['id'],{'unitId':_0x499aa1[_0x1108ef(0x276)](),'subUnitId':_0x147cd});}};ce=Li([K(0x0,yt),K(0x1,_0x29510e),K(0x2,_0x7462c),K(0x3,_0x2c0e45(_0x19e9f7)),K(0x4,_0x37f660(_0x213dc6))],ce);var Ui=Object[_0x1e40b1(0xe0)],Mi=(_0x409070,_0x23fac5,_0x3f9334,_0x5ca9ce)=>{const _0x1cf64d=_0x1e40b1;for(var _0x25e542=_0x5ca9ce>0x1?void 0x0:_0x5ca9ce?Ui(_0x23fac5,_0x3f9334):_0x23fac5,_0x29358b=_0x409070[_0x1cf64d(0x2a6)]-0x1,_0x462317;_0x29358b>=0x0;_0x29358b--)(_0x462317=_0x409070[_0x29358b])&&(_0x25e542=_0x462317(_0x25e542)||_0x25e542);return _0x25e542;},rt=(_0x3f0917,_0xc9a69c)=>(_0x4702a2,_0x3d0b3b)=>_0xc9a69c(_0x4702a2,_0x3d0b3b,_0x3f0917);let $e=class extends _0x52c72b{constructor(_0x420ee8,_0x6d8b31){const _0x1650a1=_0x1e40b1;super(),this[_0x1650a1(0x238)]=_0x420ee8,this[_0x1650a1(0x1f1)]=_0x6d8b31,this[_0x1650a1(0x17f)]();}[_0x1e40b1(0x17f)](){const _0x49b92a=_0x1e40b1,_0x3e48a9=this;this[_0x49b92a(0x286)](this['_docClipboardService'][_0x49b92a(0x219)]({'onBeforePasteImage':async _0x36a942=>{const _0x63d1bc=_0x49b92a,_0x4f9dfa=await _0x3e48a9[_0x63d1bc(0x1f1)][_0x63d1bc(0x21f)](_0x36a942);return _0x4f9dfa?{'source':_0x4f9dfa[_0x63d1bc(0x2ed)],'imageSourceType':_0x4f9dfa[_0x63d1bc(0x1fa)]}:null;}}));}};$e=Mi([rt(0x0,_0x19ff31),rt(0x1,_0x12a140)],$e);const ot=[_0x1e40b1(0x2ef),'jiqing.500','green.600',_0x1e40b1(0x2dd),_0x1e40b1(0x157),_0x1e40b1(0x31e)];class Ke extends _0x4e2370{constructor(){const _0x414d81=_0x1e40b1;super(...arguments),_(this,_0x414d81(0x103),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x5edea0){const _0x15fa9d=_0x1e40b1;if(this[_0x15fa9d(0x103)]['has'](_0x5edea0))return this[_0x15fa9d(0x103)][_0x15fa9d(0x303)](_0x5edea0);const _0x2125e6=ot[this[_0x15fa9d(0x113)]];return this[_0x15fa9d(0x113)]=(this[_0x15fa9d(0x113)]+0x1)%ot['length'],this[_0x15fa9d(0x103)][_0x15fa9d(0x1f3)](_0x5edea0,_0x2125e6),_0x2125e6;}}function $t(_0x5e9b93){const _0x29e9d1=_0x1e40b1;let _0x566369='';for(const _0x5a161d of _0x5e9b93){const {startOffset:_0x5928f5,endOffset:_0x3eb373,isActive:_0x1c5bba,rangeType:_0x59aa70,segmentId:_0x4cf562,segmentPage:_0x4e120c}=_0x5a161d;_0x566369[_0x29e9d1(0x2a6)]&&(_0x566369+=','),_0x566369+=_0x5928f5+':'+_0x3eb373+':'+(_0x1c5bba?'1':'0')+':'+_0x59aa70+':'+_0x4cf562+':'+_0x4e120c;}return _0x566369;}function Ai(_0x23e71e){const _0x1dec89=_0x1e40b1,_0x2e4c3d=_0x23e71e[_0x1dec89(0x30d)](','),_0x567811=[];for(const _0xdff395 of _0x2e4c3d){const [_0x4d50fb,_0x99e18a,_0x4b020e,_0x5ef966,_0x12db64,_0x1f9e05]=_0xdff395['split'](':');_0x567811['push']({'startOffset':Number(_0x4d50fb),'endOffset':Number(_0x99e18a),'collapsed':_0x4d50fb===_0x99e18a,'isActive':_0x4b020e==='1','rangeType':_0x5ef966===_0x4cbb3c[_0x1dec89(0x2ee)]?_0x4cbb3c[_0x1dec89(0x2ee)]:_0x4cbb3c['RECT'],'segmentId':typeof _0x12db64=='string'?String(_0x12db64):'','segmentPage':Number(_0x1f9e05!=null?_0x1f9e05:-0x1)});}return _0x567811['some'](_0x46d519=>_0x46d519[_0x1dec89(0x19a)])||(_0x567811[0x0][_0x1dec89(0x19a)]=!0x0),_0x567811;}class ze extends _0x52c72b{constructor(){const _0x55d8b5=_0x1e40b1;super(...arguments),_(this,_0x55d8b5(0x2df),new _0xefb469(null)),_(this,_0x55d8b5(0xd5),this[_0x55d8b5(0x2df)][_0x55d8b5(0x12f)]());}['syncEditingCollabCursor'](_0x4792b7){const _0x274afe=_0x1e40b1,{unitID:_0x575714,memberID:_0x257c29,textRanges:_0x29a206}=_0x4792b7,_0x14c8c3=$t(_0x29a206);if(_0x14c8c3==='')return;const _0x1118fb={'unitID':_0x575714,'memberID':_0x257c29,'selection':_0x14c8c3};this[_0x274afe(0x2df)]['next'](_0x1118fb);}}var Pi=Object[_0x1e40b1(0xe0)],wi=(_0x3680f0,_0x5303a9,_0x1162a6,_0x281fbf)=>{const _0x486b78=_0x1e40b1;for(var _0x3208a1=_0x281fbf>0x1?void 0x0:_0x281fbf?Pi(_0x5303a9,_0x1162a6):_0x5303a9,_0x44983b=_0x3680f0[_0x486b78(0x2a6)]-0x1,_0x5f4e5e;_0x44983b>=0x0;_0x44983b--)(_0x5f4e5e=_0x3680f0[_0x44983b])&&(_0x3208a1=_0x5f4e5e(_0x3208a1)||_0x3208a1);return _0x3208a1;},A=(_0x508648,_0x153f10)=>(_0x3cce0a,_0x4d8cda)=>_0x153f10(_0x3cce0a,_0x4d8cda,_0x508648);const yi=0x12c,$i=0x64;let xe=class extends _0x52c72b{constructor(_0x10fabf,_0x87b015,_0x483a14,_0x442df9,_0x1de20d,_0x3acac6,_0x1b877e,_0x490d5e,_0x42486a){const _0x5c48a3=_0x1e40b1;super(),_(this,'_online',!0x1),_(this,_0x5c48a3(0x17f),!0x1),_(this,_0x5c48a3(0x246),new _0xefb469(new Map())),_(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_(this,_0x5c48a3(0x114),new _0xefb469([])),_(this,_0x5c48a3(0xf7),this[_0x5c48a3(0x114)][_0x5c48a3(0x2b2)](_0x16ada7(yi))),_(this,_0x5c48a3(0x2e4),_0x480f0d(_0x9786ff=>{const _0x18a351=_0x5c48a3,_0x2f54a7={'eventID':_0x364cbb['UPDATE_CURSOR'],'data':{'unitID':this[_0x18a351(0x187)],'memberID':this[_0x18a351(0x29e)][_0x18a351(0x292)](),'selection':$t(_0x9786ff)}};this['_session'][_0x18a351(0x117)](_0x2f54a7,this[_0x18a351(0x187)]);},$i)),(this[_0x5c48a3(0x187)]=_0x10fabf,this[_0x5c48a3(0x29e)]=_0x87b015,this[_0x5c48a3(0x2f1)]=_0x483a14,this[_0x5c48a3(0x111)]=_0x442df9,this[_0x5c48a3(0x26c)]=_0x1de20d,this['_syncEditingCollabCursorService']=_0x3acac6,this[_0x5c48a3(0x28f)]=_0x1b877e,this[_0x5c48a3(0x194)]=_0x490d5e,this[_0x5c48a3(0x2c8)]=_0x42486a);}get[_0x1e40b1(0x125)](){const _0x1946b9=_0x1e40b1;return this[_0x1946b9(0x246)][_0x1946b9(0x200)]();}get['roomMembers'](){const _0x38e755=_0x1e40b1;return this[_0x38e755(0x114)][_0x38e755(0x200)]();}[_0x1e40b1(0x234)](){const _0x5d8a63=_0x1e40b1;super['dispose'](),this['_cursorInfo$'][_0x5d8a63(0x23a)](new Map()),this[_0x5d8a63(0x246)][_0x5d8a63(0x29c)](),this['_roomMembers$'][_0x5d8a63(0x23a)]([]),this['_roomMembers$'][_0x5d8a63(0x29c)]();}[_0x1e40b1(0x30a)](){const _0x30c186=_0x1e40b1;this['_init']||(this[_0x30c186(0x17f)]=!0x0,this[_0x30c186(0x29e)][_0x30c186(0x30b)][_0x30c186(0x2b2)](_0x5d9a7c(this[_0x30c186(0x323)]))['subscribe'](_0x4e3b2a=>{const _0x309a05=_0x30c186;_0x4e3b2a===_0x5c067f[_0x309a05(0x1ce)]?this['_toggleOnline']():this[_0x309a05(0x115)]();}),this[_0x30c186(0x29e)]['event$'][_0x30c186(0x2b2)](_0x5d9a7c(this[_0x30c186(0x323)]))[_0x30c186(0xfd)](_0x4d4360=>{const _0x47bc74=_0x30c186,_0x537e8a=_0x4d4360[_0x47bc74(0x1e0)];_0x537e8a===_0x364cbb[_0x47bc74(0x278)]&&this[_0x47bc74(0x247)](_0x4d4360),_0x537e8a===_0x364cbb[_0x47bc74(0x1fb)]&&this[_0x47bc74(0x29b)](_0x4d4360);}),this[_0x30c186(0x286)](this[_0x30c186(0x2c8)][_0x30c186(0xd1)](_0x3ae486=>{const _0x20f898=_0x30c186,_0x5f56ab=_0x3ae486[_0x20f898(0x327)];_0x5f56ab!=null&&this[_0x20f898(0x2b8)]&&_0x3ae486['id']===_0x50d425['id']&&_0x5f56ab[_0x20f898(0x170)]===this[_0x20f898(0x187)]&&_0x5f56ab[_0x20f898(0x168)]===!0x1&&_0x5f56ab[_0x20f898(0x2a2)][_0x20f898(0x2a6)]>0x0&&this[_0x20f898(0x2e4)](_0x5f56ab['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](_0x5d9a7c(this['dispose$']))[_0x30c186(0xfd)](_0x1d6e87=>{const _0x591193=_0x30c186;if((_0x1d6e87==null?void 0x0:_0x1d6e87[_0x591193(0x187)])!==this['unitID'])return;const _0x4994b7={'eventID':_0x364cbb[_0x591193(0x278)],'data':_0x1d6e87};this[_0x591193(0x247)](_0x4994b7);}),this['disposeWithMe'](this['_commandService'][_0x30c186(0xd1)](_0x134c56=>{const _0x10c6c5=_0x30c186;if(_0x134c56[_0x10c6c5(0x327)]==null)return;const _0x11d686=_0x134c56[_0x10c6c5(0x327)];if(_0x134c56['id']!==_0x1b9411['id']||_0x11d686[_0x10c6c5(0x170)]!==this[_0x10c6c5(0x187)])return;const _0x415da1={'id':'doc.mutation.rich-text-editing','params':_0x11d686},_0x455c23=this[_0x10c6c5(0x125)];for(const [_0x4d1e3b,_0xbc882a]of _0x455c23){const _0x9e362f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x10c6c5(0x187)],'actions':null,'textRanges':_0xbc882a['ranges']}},_0x29a7c3=this[_0x10c6c5(0x28f)]['transformMutation'](_0x415da1,_0x9e362f,!0x1);if(_0x463700(_0x29a7c3))throw _0x29a7c3[_0x10c6c5(0x2cd)];_0x455c23['set'](_0x4d1e3b,{..._0xbc882a,'ranges':_0x29a7c3[_0x10c6c5(0x31d)][_0x10c6c5(0x327)][_0x10c6c5(0x1ef)]});}queueMicrotask(()=>{const _0x3d1b32=_0x10c6c5;this[_0x3d1b32(0x246)][_0x3d1b32(0x23a)](_0x455c23);});})));}['_onCursorUpdate'](_0x2b25d2){const _0x284dd3=_0x1e40b1;var _0x10ed16,_0x1b5b1c;const {memberID:_0x2d21d9,selection:_0x3c89c5}=_0x2b25d2[_0x284dd3(0x17b)],_0x3efa13=Ai(_0x3c89c5),_0x39b42c=(_0x1b5b1c=(_0x10ed16=this[_0x284dd3(0x26c)][_0x284dd3(0x2cc)](this[_0x284dd3(0x187)],_0x2d21d9))==null?void 0x0:_0x10ed16[_0x284dd3(0x122)])!=null?_0x1b5b1c:_0x284dd3(0x129),_0x5c3f10={'color':this[_0x284dd3(0x111)][_0x284dd3(0x172)](_0x2d21d9),'name':_0x39b42c,'ranges':_0x3efa13},_0x63b63a=this[_0x284dd3(0x125)];_0x63b63a[_0x284dd3(0x1f3)](_0x2d21d9,_0x5c3f10),this[_0x284dd3(0x246)][_0x284dd3(0x23a)](_0x63b63a);}['_onCursorDelete'](_0x263127){const _0x3abc64=_0x1e40b1,{memberID:_0x4be268}=_0x263127[_0x3abc64(0x17b)],_0x22c315=this[_0x3abc64(0x125)];_0x22c315[_0x3abc64(0x27c)](_0x4be268),this[_0x3abc64(0x246)]['next'](_0x22c315);}[_0x1e40b1(0x2b9)](){const _0x22c2cc=_0x1e40b1;var _0x287872;if(this['_online']=!0x0,((_0x287872=this['_univerInstanceService'][_0x22c2cc(0xe8)]())==null?void 0x0:_0x287872[_0x22c2cc(0x276)]())!==this[_0x22c2cc(0x187)])return;const _0xf0b0a=this[_0x22c2cc(0x2f1)][_0x22c2cc(0x303)](_0x8b731d)[_0x22c2cc(0xd7)]();Array[_0x22c2cc(0x2b3)](_0xf0b0a)&&_0xf0b0a[_0x22c2cc(0x2a6)]>0x0&&this[_0x22c2cc(0x2e4)](_0xf0b0a);}[_0x1e40b1(0x115)](){const _0x5f1a95=_0x1e40b1;this[_0x5f1a95(0x2b8)]=!0x1;}};xe=wi([A(0x2,_0x2c0e45(_0x3fc224)),A(0x3,_0x2c0e45(Ke)),A(0x4,_0x2c0e45(_0x4d6b15)),A(0x5,_0x2c0e45(ze)),A(0x6,_0xa76561),A(0x7,_0x161ad0),A(0x8,_0x7462c)],xe);var xi=Object[_0x1e40b1(0xe0)],Bi=(_0x5a03d1,_0x3964c4,_0x35c994,_0x239ca4)=>{const _0x564d0b=_0x1e40b1;for(var _0x4ba524=_0x239ca4>0x1?void 0x0:_0x239ca4?xi(_0x3964c4,_0x35c994):_0x3964c4,_0x3254c7=_0x5a03d1[_0x564d0b(0x2a6)]-0x1,_0x28707c;_0x3254c7>=0x0;_0x3254c7--)(_0x28707c=_0x5a03d1[_0x3254c7])&&(_0x4ba524=_0x28707c(_0x4ba524)||_0x4ba524);return _0x4ba524;},B=(_0x3a321c,_0x22af1f)=>(_0x3897b6,_0x1da4f1)=>_0x22af1f(_0x3897b6,_0x1da4f1,_0x3a321c);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x2440a3=[],_0x212cec=!0x1;return _0x15da8d=>{const _0x3b91cd=_0x38fa;_0x2440a3[_0x3b91cd(0x2e7)](_0x15da8d),_0x212cec||(_0x212cec=!0x0,setTimeout(()=>{const _0x2c6a37=_0x3b91cd;_0x2440a3[_0x2c6a37(0x150)](_0x56548c=>_0x56548c()),_0x2440a3=[],_0x212cec=!0x1;}));};};let Be=class extends _0x52c72b{constructor(_0xd9302c,_0x398db9,_0x1f5e67,_0x410f45,_0x53d5bd,_0x5c1bff,_0x1b76d5,_0x3bdc52){const _0x23d271=_0x1e40b1;super(),_(this,_0x23d271(0x2b8),!0x1),_(this,_0x23d271(0x17f),!0x1),_(this,_0x23d271(0x246),new _0xefb469(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x23d271(0x12f)]()),_(this,_0x23d271(0x114),new _0xefb469([])),_(this,_0x23d271(0xf7),this[_0x23d271(0x114)][_0x23d271(0x2b2)](_0x16ada7(Fi))),_(this,_0x23d271(0x2e4),_0x480f0d((_0xc38ce1,_0x5ac8cc)=>{const _0x18bbe9=_0x23d271,_0xd4d215={'eventID':_0x364cbb[_0x18bbe9(0x278)],'data':{'unitID':this[_0x18bbe9(0x187)],'memberID':this[_0x18bbe9(0x29e)][_0x18bbe9(0x292)](),'selection':_0x5e08f5(_0xc38ce1,_0x5ac8cc[_0x18bbe9(0x2e3)])}};this['_session'][_0x18bbe9(0x117)](_0xd4d215,this[_0x18bbe9(0x187)]);},ki)),(this[_0x23d271(0x187)]=_0xd9302c,this[_0x23d271(0x29e)]=_0x398db9,this[_0x23d271(0x2f1)]=_0x1f5e67,this[_0x23d271(0x111)]=_0x410f45,this[_0x23d271(0x26c)]=_0x53d5bd,this[_0x23d271(0x194)]=_0x5c1bff,this['_commandService']=_0x1b76d5,this['_refRangeService']=_0x3bdc52);}get['cursorInfo'](){const _0x3ff690=_0x1e40b1;return this[_0x3ff690(0x246)][_0x3ff690(0x200)]();}get[_0x1e40b1(0x295)](){const _0x1bd1ff=_0x1e40b1;return this[_0x1bd1ff(0x114)][_0x1bd1ff(0x200)]();}[_0x1e40b1(0x234)](){const _0x2bdea4=_0x1e40b1;super[_0x2bdea4(0x234)](),this[_0x2bdea4(0x246)][_0x2bdea4(0x23a)](new Map()),this[_0x2bdea4(0x246)][_0x2bdea4(0x29c)](),this[_0x2bdea4(0x114)]['next']([]),this[_0x2bdea4(0x114)][_0x2bdea4(0x29c)]();}[_0x1e40b1(0x30a)](){const _0x5ee1f4=_0x1e40b1;this[_0x5ee1f4(0x17f)]||(this[_0x5ee1f4(0x17f)]=!0x0,this[_0x5ee1f4(0x29e)][_0x5ee1f4(0x30b)][_0x5ee1f4(0x2b2)](_0x5d9a7c(this[_0x5ee1f4(0x323)]))[_0x5ee1f4(0xfd)](_0x26b551=>{const _0x131dab=_0x5ee1f4;_0x26b551===_0x5c067f[_0x131dab(0x1ce)]?this['_toggleOnline']():this[_0x131dab(0x115)]();}),this['_session'][_0x5ee1f4(0x11c)][_0x5ee1f4(0x2b2)](_0x5d9a7c(this[_0x5ee1f4(0x323)]))['subscribe'](_0x9734ca=>{const _0xbaa33a=_0x5ee1f4,_0x22ab73=_0x9734ca[_0xbaa33a(0x1e0)];_0x22ab73===_0x364cbb[_0xbaa33a(0x278)]&&this[_0xbaa33a(0x247)](_0x9734ca),_0x22ab73===_0x364cbb[_0xbaa33a(0x1fb)]&&this[_0xbaa33a(0x29b)](_0x9734ca);}),this[_0x5ee1f4(0x15b)](),this['disposeWithMe'](this[_0x5ee1f4(0x2c8)]['onCommandExecuted'](_0x2e28f6=>{const _0xba8e3d=_0x5ee1f4;if(this['_online']&&_0x2e28f6['id']===_0x40536b['id']&&_0x2e28f6[_0xba8e3d(0x327)][_0xba8e3d(0x170)]===this[_0xba8e3d(0x187)]){const _0x5f457b=_0x2e28f6['params'];this['_updateLocalCursor'](_0x5f457b[_0xba8e3d(0x1e4)],_0x5f457b[_0xba8e3d(0x25f)][0x0]);}})));}['_onCursorUpdate'](_0x8c2daa){const _0x2b7406=_0x1e40b1;var _0x3d8796,_0x5bd59b;const {memberID:_0x4d054d,selection:_0x33a178}=_0x8c2daa[_0x2b7406(0x17b)],{sheetName:_0x12569c,range:_0x35b102}=_0x236172(_0x33a178),_0x1dea56={'name':(_0x5bd59b=(_0x3d8796=this[_0x2b7406(0x26c)][_0x2b7406(0x2cc)](this[_0x2b7406(0x187)],_0x4d054d))==null?void 0x0:_0x3d8796[_0x2b7406(0x122)])!=null?_0x5bd59b:_0x2b7406(0x129),'range':this[_0x2b7406(0x204)](_0x12569c,_0x35b102),'sheetID':_0x12569c,'color':this['_colorAssignService'][_0x2b7406(0x172)](_0x4d054d),'selection':_0x33a178},_0x35a2bc=this[_0x2b7406(0x125)];_0x35a2bc[_0x2b7406(0x1f3)](_0x4d054d,_0x1dea56),this[_0x2b7406(0x246)][_0x2b7406(0x23a)](_0x35a2bc);}[_0x1e40b1(0x29b)](_0x1db87f){const _0x46d585=_0x1e40b1,{memberID:_0x15b7d8}=_0x1db87f[_0x46d585(0x17b)],_0x12fbe7=this[_0x46d585(0x125)];_0x12fbe7[_0x46d585(0x27c)](_0x15b7d8),this['_cursorInfo$'][_0x46d585(0x23a)](_0x12fbe7);}['_getMergeRange'](_0x4c2778,_0x4ee3df){const _0x129805=_0x1e40b1;var _0xaf6a57,_0x19fbd9;const _0x40d147=(_0x19fbd9=(_0xaf6a57=this[_0x129805(0x194)]['getUniverSheetInstance'](this[_0x129805(0x187)]))==null?void 0x0:_0xaf6a57['getSheetBySheetId'](_0x4c2778))==null?void 0x0:_0x19fbd9[_0x129805(0x1d5)]();return(_0x40d147==null?void 0x0:_0x40d147['find'](_0x111c34=>_0x44bb29[_0x129805(0x282)](_0x111c34,_0x4ee3df)))||_0x4ee3df;}[_0x1e40b1(0x15b)](){const _0x501a2b=_0x1e40b1,_0x25cf5=new _0x4f0c87(),_0x2c0f10=Hi(),_0x2ee9b7=()=>{const _0x326a54=_0x38fa;_0x25cf5['dispose']();const _0x1f4669=(_0x49a15c,_0x438fe0,_0x589ed6,_0x58921a)=>{const _0x991edf=_0x38fa;let _0x14b588=[];switch(_0x49a15c['id']){case _0x37e3ca['DeleteRangeMoveLeftCommandId']:{_0x14b588=_0xc65089(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x1ae)]:{_0x14b588=_0xb28157(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x1a8)]:{_0x14b588=_0x245f5c(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x249)]:{_0x14b588=_0x23dfff(_0x49a15c,_0x58921a);break;}case _0x37e3ca['InsertRangeMoveRightCommandId']:{_0x14b588=_0x24b9be(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x22d)]:{_0x14b588=_0x3957c8(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x2fe)]:{_0x14b588=_0x38059d(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x309)]:{_0x14b588=_0x47f10c(_0x49a15c,_0x58921a);break;}case _0x37e3ca[_0x991edf(0x1a5)]:{_0x14b588=_0x1c3d70(_0x49a15c,_0x58921a);break;}}const _0x4be6fc=_0x89c58f(_0x14b588,_0x58921a),_0x269c4b=this[_0x991edf(0x125)]['get'](_0x438fe0);if(_0x269c4b&&_0x4be6fc){const _0x3822e9={..._0x269c4b,'range':_0x4be6fc};this[_0x991edf(0x125)][_0x991edf(0x1f3)](_0x438fe0,_0x3822e9),_0x2c0f10(()=>{const _0x3eebfe=_0x991edf,_0x8b7121=this[_0x3eebfe(0xf3)]['registerRefRange'](_0x4be6fc,_0x328174=>(_0x8b7121[_0x3eebfe(0x234)](),_0x1f4669(_0x328174,_0x438fe0,_0x589ed6,_0x4be6fc)));_0x25cf5[_0x3eebfe(0x23e)](_0x8b7121);});}return{'redos':[],'undos':[]};};this[_0x326a54(0x125)]['forEach']((_0x44b521,_0x49c610)=>{const _0x19970b=_0x326a54,{range:_0x4a244e,sheetID:_0x455cd9}=_0x44b521,_0x48f17f=this[_0x19970b(0xf3)][_0x19970b(0x239)](_0x4a244e,_0x387e51=>(_0x48f17f[_0x19970b(0x234)](),_0x1f4669(_0x387e51,_0x49c610,_0x455cd9,_0x4a244e)));_0x25cf5['add'](_0x48f17f);});};this[_0x501a2b(0x286)](_0x4b734a(this[_0x501a2b(0x246)]['subscribe'](()=>{_0x2ee9b7();})));}[_0x1e40b1(0x2b9)](){const _0x9f9022=_0x1e40b1;var _0x33cbd3,_0x1fafd9;if(this[_0x9f9022(0x2b8)]=!0x0,((_0x33cbd3=this['_univerInstanceService'][_0x9f9022(0xe8)]())==null?void 0x0:_0x33cbd3[_0x9f9022(0x276)]())!==this[_0x9f9022(0x187)])return;const _0x1f396a=(_0x1fafd9=this[_0x9f9022(0x2f1)][_0x9f9022(0x303)](_0x4bec6f)[_0x9f9022(0x1e5)]())==null?void 0x0:_0x1fafd9[0x0],_0x16c264=this[_0x9f9022(0x194)][_0x9f9022(0x279)](_0x25fa51['UNIVER_SHEET'])['getActiveSheet']();_0x1f396a&&_0x16c264&&this['_updateLocalCursor'](_0x16c264[_0x9f9022(0x2d2)](),_0x1f396a);}[_0x1e40b1(0x115)](){const _0x407f3f=_0x1e40b1;this[_0x407f3f(0x2b8)]=!0x1;}};Be=Bi([B(0x2,_0x2c0e45(_0x3fc224)),B(0x3,_0x2c0e45(Ke)),B(0x4,_0x2c0e45(_0x4d6b15)),B(0x5,_0x161ad0),B(0x6,_0x7462c),B(0x7,_0x2c0e45(_0x4a3acd))],Be);var Yi=Object[_0x1e40b1(0xe0)],Wi=(_0x2d901c,_0x45682c,_0xbf6293,_0x1121d3)=>{const _0x1ed11c=_0x1e40b1;for(var _0x6c02ae=_0x1121d3>0x1?void 0x0:_0x1121d3?Yi(_0x45682c,_0xbf6293):_0x45682c,_0x4012e4=_0x2d901c[_0x1ed11c(0x2a6)]-0x1,_0x57c6f6;_0x4012e4>=0x0;_0x4012e4--)(_0x57c6f6=_0x2d901c[_0x4012e4])&&(_0x6c02ae=_0x57c6f6(_0x6c02ae)||_0x6c02ae);return _0x6c02ae;},Ce=(_0x288c64,_0x343a79)=>(_0x3419ec,_0x52edc9)=>_0x343a79(_0x3419ec,_0x52edc9,_0x288c64);let H=class extends _0x52c72b{constructor(_0x673d37,_0x1c1ba9,_0x3f10c8){const _0x533b73=_0x1e40b1;super(),_(this,'_entities',new Map()),_(this,_0x533b73(0x2f2),new _0x2ecf52()),(this[_0x533b73(0x194)]=_0x673d37,this[_0x533b73(0x2f1)]=_0x1c1ba9,this[_0x533b73(0xdc)]=_0x3f10c8,this[_0x533b73(0x17f)]());}['dispose'](){const _0xe204ce=_0x1e40b1;super[_0xe204ce(0x234)](),this[_0xe204ce(0x2f2)][_0xe204ce(0x29c)](),this[_0xe204ce(0x315)][_0xe204ce(0x150)](_0x10fb24=>_0x10fb24[_0xe204ce(0x234)]());}[_0x1e40b1(0x27f)](_0xca0aab){const _0x9f7c39=_0x1e40b1;return this[_0x9f7c39(0x315)][_0x9f7c39(0x176)](_0xca0aab)?this[_0x9f7c39(0x315)][_0x9f7c39(0x303)](_0xca0aab)[_0x9f7c39(0x1a6)]:this[_0x9f7c39(0x2f2)][_0x9f7c39(0x2b2)](_0x15df19(_0x4368d1=>_0x4368d1['unitID']===_0xca0aab),_0x163538(_0x41278e=>_0x41278e[_0x9f7c39(0x1a6)]));}[_0x1e40b1(0x17f)](){const _0x2c4043=_0x1e40b1;this[_0x2c4043(0x194)][_0x2c4043(0x17d)](_0x25fa51[_0x2c4043(0x212)])[_0x2c4043(0x2b2)](_0x5d9a7c(this[_0x2c4043(0x323)]))[_0x2c4043(0xfd)](async _0x45d10e=>{const _0x8e3220=_0x2c4043,_0x613d4b=_0x45d10e[_0x8e3220(0x276)](),_0x41f913=await this[_0x8e3220(0xe7)](_0x613d4b);this[_0x8e3220(0x2f2)]['next'](_0x41f913),this['_entities'][_0x8e3220(0x1f3)](_0x613d4b,_0x41f913);}),this[_0x2c4043(0x194)][_0x2c4043(0x17d)](_0x25fa51['UNIVER_DOC'])[_0x2c4043(0x2b2)](_0x5d9a7c(this[_0x2c4043(0x323)]))['pipe'](_0x15df19(_0x39306e=>!_0x39306e[_0x2c4043(0x276)]()[_0x2c4043(0x22b)]('__')))[_0x2c4043(0xfd)](async _0xd3d66e=>{const _0x146b90=_0x2c4043,_0x39b6f7=_0xd3d66e[_0x146b90(0x276)](),_0x3c2bc3=await this[_0x146b90(0x231)](_0x39b6f7);this[_0x146b90(0x2f2)]['next'](_0x3c2bc3),this[_0x146b90(0x315)]['set'](_0x39b6f7,_0x3c2bc3);}),_0x212f2b(this[_0x2c4043(0x194)][_0x2c4043(0x18a)](_0x25fa51[_0x2c4043(0x195)]),this[_0x2c4043(0x194)][_0x2c4043(0x18a)](_0x25fa51[_0x2c4043(0x212)]))[_0x2c4043(0x2b2)](_0x5d9a7c(this[_0x2c4043(0x323)]))[_0x2c4043(0xfd)](_0x4db056=>{const _0x5144a1=_0x2c4043,_0x1cf785=_0x4db056['getUnitId'](),_0x401ddb=this[_0x5144a1(0x315)][_0x5144a1(0x303)](_0x1cf785);_0x401ddb&&(_0x401ddb['dispose'](),this[_0x5144a1(0x315)][_0x5144a1(0x27c)](_0x1cf785));});}async[_0x1e40b1(0xe7)](_0x22433e){const _0x25c218=_0x1e40b1,_0x381ef9=await this[_0x25c218(0xdc)][_0x25c218(0x158)](_0x22433e),_0x5e1b57=this[_0x25c218(0x2f1)][_0x25c218(0xfc)](Be,_0x22433e,_0x381ef9);return _0x5e1b57[_0x25c218(0x30a)](),_0x5e1b57;}async['_startDocCollabCursor'](_0x2bc211){const _0x217078=_0x1e40b1,_0xae4cf1=await this['_collabSessionService'][_0x217078(0x158)](_0x2bc211),_0x2834bf=this[_0x217078(0x2f1)][_0x217078(0xfc)](xe,_0x2bc211,_0xae4cf1);return _0x2834bf['init'](),_0x2834bf;}};H=Wi([Ce(0x0,_0x161ad0),Ce(0x1,_0x2c0e45(_0x3fc224)),Ce(0x2,_0x2c0e45(_0x38b52a))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0xc1e364,_0x447e82){const _0x1bdb22=_0x1e40b1;let {radius:_0x55dda1,width:_0x586aa6,height:_0xbdd782}=_0x447e82;_0x55dda1=_0x55dda1!=null?_0x55dda1:0x0,_0x586aa6=_0x586aa6!=null?_0x586aa6:0x1e,_0xbdd782=_0xbdd782!=null?_0xbdd782:0x1e;let _0x226eb9=0x0,_0x8ad2c8=0x0,_0x1c8478=0x0;_0x226eb9=_0x8ad2c8=_0x1c8478=Math[_0x1bdb22(0x2b5)](_0x55dda1,_0x586aa6/0x2,_0xbdd782/0x2),_0xc1e364[_0x1bdb22(0x224)](),_0xc1e364[_0x1bdb22(0x2f8)](_0x226eb9,0x0),_0xc1e364[_0x1bdb22(0x25a)](_0x586aa6-_0x8ad2c8,0x0),_0xc1e364[_0x1bdb22(0x120)](_0x586aa6-_0x8ad2c8,_0x8ad2c8,_0x8ad2c8,Math['PI']*0x3/0x2,0x0,!0x1),_0xc1e364[_0x1bdb22(0x25a)](_0x586aa6,_0xbdd782-_0x1c8478),_0xc1e364[_0x1bdb22(0x120)](_0x586aa6-_0x1c8478,_0xbdd782-_0x1c8478,_0x1c8478,0x0,Math['PI']/0x2,!0x1),_0xc1e364[_0x1bdb22(0x25a)](0x0,_0xbdd782),_0xc1e364['lineTo'](0x0,_0x226eb9),_0xc1e364[_0x1bdb22(0x120)](_0x226eb9,_0x226eb9,_0x226eb9,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xc1e364['closePath'](),_0x447e82[_0x1bdb22(0x2c4)]&&(_0xc1e364[_0x1bdb22(0x17c)](),_0xc1e364[_0x1bdb22(0x2ad)]=_0x447e82['fill'],_0x447e82[_0x1bdb22(0x2f3)]==='evenodd'?_0xc1e364[_0x1bdb22(0x2c4)](_0x1bdb22(0xe6)):_0xc1e364['fill'](),_0xc1e364[_0x1bdb22(0xe2)]());}class ve extends _0x29b4e3{constructor(_0xb3185d,_0x3bd55e){const _0x35fbcc=_0x1e40b1;super(_0xb3185d,_0x3bd55e),_(this,_0x35fbcc(0x173)),_(this,'text'),(this[_0x35fbcc(0x173)]=_0x3bd55e==null?void 0x0:_0x3bd55e[_0x35fbcc(0x173)],this[_0x35fbcc(0x136)]=_0x3bd55e==null?void 0x0:_0x3bd55e[_0x35fbcc(0x136)]);}static[_0x1e40b1(0x106)](_0x5303f5,_0x3a10fd){const _0x2279fe=_0x1e40b1,{text:_0x686131,color:_0x150baf}=_0x3a10fd;_0x5303f5[_0x2279fe(0x17c)](),_0x5303f5['font']=_0x2279fe(0x2c7);const _0x45b853=_0x5303f5[_0x2279fe(0x138)](_0x686131)[_0x2279fe(0x213)],_0x2e9382=Math['min'](_0x45b853+0x2*Re,at);ji(_0x5303f5,{'height':Q,'radius':0x4,'width':_0x2e9382,'fill':_0x150baf}),_0x5303f5[_0x2279fe(0x2ad)]=_0x2279fe(0x10c);const _0x4e2df8=Re,_0x4c1f70=Q-Vi,_0x2081ba=at-0x2*Re;if(_0x45b853>_0x2081ba){let _0x238830='',_0x336f39=0x0;for(const _0x1bd8b4 of _0x686131){const _0x1af085=_0x5303f5['measureText'](_0x1bd8b4)['width'];if(_0x336f39+_0x1af085<=_0x2081ba-_0x5303f5[_0x2279fe(0x138)](_0x2279fe(0x151))[_0x2279fe(0x213)])_0x238830+=_0x1bd8b4,_0x336f39+=_0x1af085;else{_0x238830+=_0x2279fe(0x151);break;}}_0x5303f5[_0x2279fe(0x2ae)](_0x238830,_0x4e2df8,_0x4c1f70);}else _0x5303f5[_0x2279fe(0x2ae)](_0x686131,_0x4e2df8,_0x4c1f70);_0x5303f5[_0x2279fe(0xe2)]();}[_0x1e40b1(0xd8)](_0x9af987){const _0x45704f=_0x1e40b1;ve[_0x45704f(0x106)](_0x9af987,this);}}const De=_0x1e40b1(0x1ad),Xi='collab-text-range-',Gi=_0x1e40b1(0x19e),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x1e40b1(0x30c);class ct{constructor(_0x4c5ed6,_0x3aaf4d,_0x1b932d,_0x5f41b7){const _0x4a662f=_0x1e40b1;_(this,'_shapes',[]),_(this,_0x4a662f(0x192),null),_(this,_0x4a662f(0x15e),null),_(this,_0x4a662f(0x1a0),null),_(this,_0x4a662f(0x183),null),_(this,'_eventUnsubscribe',null),(this[_0x4a662f(0x1b8)]=_0x4c5ed6,this[_0x4a662f(0x147)]=_0x3aaf4d,this[_0x4a662f(0x1b3)]=_0x1b932d,this[_0x4a662f(0x1cd)]=_0x5f41b7,this[_0x4a662f(0x167)]());}set[_0x1e40b1(0x179)](_0x3fe76e){const _0x462d00=_0x1e40b1;_0x3fe76e?(this[_0x462d00(0x1a0)]&&this[_0x462d00(0x1a0)][_0x462d00(0x26a)](),this['_textBubble']&&this[_0x462d00(0x15e)][_0x462d00(0xff)]()):(this[_0x462d00(0x1a0)]&&this[_0x462d00(0x1a0)][_0x462d00(0xff)](),this['_textBubble']&&this[_0x462d00(0x15e)]['hide']());}['dispose'](){const _0x22a349=_0x1e40b1;for(const _0x4d53e7 of this[_0x22a349(0x280)])_0x4d53e7[_0x22a349(0x234)]();this['_textBubble']&&this[_0x22a349(0x15e)][_0x22a349(0x234)](),this['_anchorDot']&&this[_0x22a349(0x1a0)][_0x22a349(0x234)](),this[_0x22a349(0x192)]&&this[_0x22a349(0x192)]['dispose'](),this['_eventUnsubscribe']&&this[_0x22a349(0x2ff)]();}[_0x1e40b1(0x167)](){const _0x217f29=_0x1e40b1;var _0x3481ba;const {_docSkeleton:_0x5ef386,_document:_0x5ce62c}=this,{color:_0x3a9236,name:_0x289bc2,ranges:_0x1d2ac1}=this[_0x217f29(0x1b8)],_0x3f8934=_0x5ce62c[_0x217f29(0x250)](),{docsLeft:_0x19308d,docsTop:_0x4ef774}=_0x3f8934,_0x49a271=new _0x2573ee(_0x3f8934,_0x5ef386);for(const {startOffset:_0x3f8ca5,endOffset:_0x4df5d7,rangeType:_0x427ddb,segmentId:_0x409324,segmentPage:_0x32945a,collapsed:_0x260890,isActive:_0x52ba18}of _0x1d2ac1){const _0x5c1846=_0x5ef386[_0x217f29(0x140)](_0x3f8ca5,!0x0,_0x409324,_0x32945a);let _0x5149b4=_0x5ef386[_0x217f29(0x140)](_0x4df5d7,!0x0,_0x409324,_0x32945a);if(_0x5149b4==null&&(_0x5149b4=_0x5ef386[_0x217f29(0x140)](_0x4df5d7-0x1,!0x1,_0x409324,_0x32945a)),_0x52ba18){const {contentBoxPointGroup:_0x4ecf48}=_0x49a271[_0x217f29(0x20b)](_0x5149b4,_0x5149b4);if(_0x4ecf48[_0x217f29(0x2a6)]===0x0)continue;this[_0x217f29(0x27e)](_0x3a9236,_0x4ecf48,_0x19308d,_0x4ef774,_0x289bc2),this['_eventUnsubscribe']=this[_0x217f29(0x307)]();}if(_0x5c1846&&_0x5149b4){if(_0x427ddb===_0x4cbb3c[_0x217f29(0x2c1)]){const _0x4d3ea4=new _0x47b2a6(_0x3f8934,_0x5ef386),{pointGroup:_0x850390}=(_0x3481ba=_0x4d3ea4[_0x217f29(0x20b)](_0x5c1846,_0x5149b4))!=null?_0x3481ba:{};if(_0x850390==null||_0x850390[_0x217f29(0x2a6)]===0x0)continue;this[_0x217f29(0x321)](_0x3a9236,_0x850390,_0x19308d,_0x4ef774);}else{if(!_0x260890){const {borderBoxPointGroup:_0x2ad8bd}=_0x49a271[_0x217f29(0x20b)](_0x5c1846,_0x5149b4);if(_0x2ad8bd['length']===0x0)continue;this['_drawTextRange'](_0x3a9236,_0x2ad8bd,_0x19308d,_0x4ef774);}}}}}[_0x1e40b1(0x27e)](_0x78a844,_0x567cf9,_0x2e07d9,_0x5cbc33,_0x23880b){const _0x3726f8=_0x1e40b1,_0x55113a=this[_0x3726f8(0x18d)](_0x567cf9),{left:_0x48b4f5,top:_0x4a0b36,height:_0x3a64d8}=_0x55113a,_0x1a4014=this[_0x3726f8(0x215)](),_0x7f1629=zi/_0x1a4014,_0x5bba12=new _0x4d3d55(De+_0x2b8a5d(z),{'left':_0x48b4f5+_0x2e07d9-_0x7f1629,'top':_0x4a0b36+_0x5cbc33,'height':_0x3a64d8,'width':Ki,'fill':_0x78a844||_0xe0e13e(_0x2162bc[_0x3726f8(0x104)],0x0),'strokeWidth':_0x7f1629,'stroke':Ji,'evented':!0x0});this[_0x3726f8(0x192)]=_0x5bba12,this['_scene'][_0x3726f8(0x26d)](_0x5bba12,_0x4973ed);const _0x42c84d=new _0x4d3d55(De+_0x2b8a5d(z),{'left':_0x48b4f5+_0x2e07d9-_0x7f1629,'top':_0x4a0b36+_0x5cbc33-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x78a844||_0xe0e13e(_0x2162bc[_0x3726f8(0x104)],0x0),'strokeWidth':0x0,'stroke':_0x78a844||_0xe0e13e(_0x2162bc[_0x3726f8(0x104)],0x0),'evented':!0x1});this['_anchorDot']=_0x42c84d,this[_0x3726f8(0x147)][_0x3726f8(0x26d)](_0x42c84d,_0x4973ed);const _0x478963=new ve(De+_0x2b8a5d(z),{'left':_0x48b4f5+_0x2e07d9-_0x7f1629,'top':_0x4a0b36+_0x5cbc33-Q,'text':_0x23880b,'color':_0x78a844});this[_0x3726f8(0x15e)]=_0x478963,this[_0x3726f8(0x147)][_0x3726f8(0x26d)](_0x478963,_0x4973ed),this['_hover']=!0x1;}[_0x1e40b1(0x307)](){const _0x5be5f0=_0x1e40b1,_0x428628=this[_0x5be5f0(0x192)][_0x5be5f0(0x1d7)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x37e8c0=this['_anchor'][_0x5be5f0(0x2b6)]['subscribeEvent'](()=>{const _0x1ebaad=_0x5be5f0;this[_0x1ebaad(0x183)]&&clearTimeout(this[_0x1ebaad(0x183)]),this[_0x1ebaad(0x183)]=setTimeout(()=>{const _0x48d06c=_0x1ebaad;this[_0x48d06c(0x179)]=!0x1;},0x7d0);});return()=>{const _0x50e1c1=_0x5be5f0;_0x428628[_0x50e1c1(0x205)](),_0x37e8c0['unsubscribe']();};}['_drawTextRange'](_0x3eaabe,_0x1dd181,_0x361121,_0x4b930c){const _0x5f26e7=_0x1e40b1,_0x4e7fe5=new _0x5d75b4(_0x3eaabe)['setAlpha'](0.2)[_0x5f26e7(0x291)](),_0x4f004a=new _0x13a851(Xi+_0x2b8a5d(z),{'pointsGroup':_0x1dd181,'fill':_0x4e7fe5||_0xe0e13e(_0x2162bc[_0x5f26e7(0x104)],0.2),'left':_0x361121,'top':_0x4b930c,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x4f004a),this[_0x5f26e7(0x147)][_0x5f26e7(0x26d)](_0x4f004a,_0x4973ed);}['_drawRectRange'](_0x2d4a2c,_0x450bdc,_0x17acab,_0x331d69){const _0x5de789=_0x1e40b1,_0x1fb71c=new _0x5d75b4(_0x2d4a2c)[_0x5de789(0x2f9)](0.2)[_0x5de789(0x291)](),_0x3050d1=new _0x13a851(Gi+_0x2b8a5d(z),{'pointsGroup':_0x450bdc,'fill':_0x1fb71c||_0xe0e13e(_0x2162bc[_0x5de789(0x104)],0.2),'left':_0x17acab,'top':_0x331d69,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5de789(0x2e7)](_0x3050d1),this[_0x5de789(0x147)][_0x5de789(0x26d)](_0x3050d1,_0x4973ed);}[_0x1e40b1(0x18d)](_0x2b5363){const _0x364f42=_0x2b5363[0x0],_0x118197=_0x364f42[0x0],_0x1f6c52=_0x364f42[0x2],{x:_0x4442ee,y:_0x1511cd}=_0x118197,{x:_0x44e2a9,y:_0x4256ab}=_0x1f6c52;return{'left':_0x4442ee,'top':_0x1511cd,'width':_0x44e2a9-_0x4442ee,'height':_0x4256ab-_0x1511cd};}[_0x1e40b1(0x215)](){const _0x4b5fa7=_0x1e40b1,{scaleX:_0x4926eb,scaleY:_0x4c4929}=this['_scene'][_0x4b5fa7(0x24b)]();return Math[_0x4b5fa7(0x11a)](_0x4926eb,_0x4c4929);}}var Zi=Object[_0x1e40b1(0xe0)],Qi=(_0x4b15d8,_0x2da623,_0x11c355,_0x3b5adf)=>{const _0xcc0b48=_0x1e40b1;for(var _0x193682=_0x3b5adf>0x1?void 0x0:_0x3b5adf?Zi(_0x2da623,_0x11c355):_0x2da623,_0x3bdb82=_0x4b15d8[_0xcc0b48(0x2a6)]-0x1,_0x1dbc7e;_0x3bdb82>=0x0;_0x3bdb82--)(_0x1dbc7e=_0x4b15d8[_0x3bdb82])&&(_0x193682=_0x1dbc7e(_0x193682)||_0x193682);return _0x193682;},ie=(_0x1ee054,_0x4817b6)=>(_0x1c71e0,_0x248627)=>_0x4817b6(_0x1c71e0,_0x248627,_0x1ee054);let Fe=class extends _0x52c72b{constructor(_0x18e5bc,_0x446336,_0x51dba5,_0x8cf331,_0x189072){const _0x56dfbb=_0x1e40b1;super(),_(this,_0x56dfbb(0x228),[]),_(this,'_cursors',[]),(this['_context']=_0x18e5bc,this[_0x56dfbb(0x148)]=_0x446336,this[_0x56dfbb(0x1f2)]=_0x51dba5,this[_0x56dfbb(0x2c8)]=_0x8cf331,this[_0x56dfbb(0x1e7)]=_0x189072,this[_0x56dfbb(0x17f)]());}['_init'](){const _0x7da02=_0x1e40b1,_0x52081b=this[_0x7da02(0x28d)][_0x7da02(0x170)],_0x4a1b86=this[_0x7da02(0x148)];this[_0x7da02(0x286)](_0x486491([this['_collabCursorController'][_0x7da02(0x27f)](_0x52081b),this[_0x7da02(0x1e7)][_0x7da02(0x290)]])[_0x7da02(0x2b2)](_0x4ad3b0(([_0x2ceb36,_0x10bf7d])=>({'skeleton':_0x4a1b86[_0x7da02(0x197)](),'cursors':[..._0x2ceb36['values']()][_0x7da02(0x2a8)](_0x3d0855=>({..._0x3d0855,'color':this['_themeService']['getColorFromTheme'](_0x3d0855[_0x7da02(0x173)])}))})))[_0x7da02(0xfd)](_0x1ed65d=>{const _0x5a4d0e=_0x7da02;if(this[_0x5a4d0e(0x2fd)](),_0x1ed65d){const {skeleton:_0x1e6a88,cursors:_0x2b2644}=_0x1ed65d;this[_0x5a4d0e(0x164)](_0x1e6a88,_0x2b2644);}})),this['_initResize'](),this[_0x7da02(0x2e1)]();}['_updateCollabCursors'](_0x1a4e20,_0x5f54c2){const _0x32357a=_0x1e40b1,{scene:_0x21c8d9,mainComponent:_0x46f7e2}=this[_0x32357a(0x28d)],_0x3d79e2=_0x5f54c2[_0x32357a(0x1de)](_0x33f052=>new ct(_0x33f052,_0x21c8d9,_0x1a4e20,_0x46f7e2));this[_0x32357a(0x228)]=_0x3d79e2,this[_0x32357a(0x252)]=_0x5f54c2;}[_0x1e40b1(0x107)](){const _0x2d574a=_0x1e40b1;this[_0x2d574a(0x2fd)]();const {scene:_0x450c1a,mainComponent:_0x4b7406}=this[_0x2d574a(0x28d)],_0x5592f6=this[_0x2d574a(0x148)]['getSkeleton'](),_0x31b75d=this['_cursors']['map'](_0x2f2775=>new ct(_0x2f2775,_0x450c1a,_0x5592f6,_0x4b7406));this[_0x2d574a(0x228)]=_0x31b75d;}[_0x1e40b1(0x2fd)](){const _0x53f1ed=_0x1e40b1;this[_0x53f1ed(0x228)][_0x53f1ed(0x150)](_0x4fce93=>_0x4fce93[_0x53f1ed(0x234)]()),this[_0x53f1ed(0x228)]=[];}['_initCommandExecutedListener'](){const _0x50c1bc=_0x1e40b1,_0x30a089=[_0x350f79['id']];this['disposeWithMe'](this[_0x50c1bc(0x2c8)][_0x50c1bc(0xd1)](_0x50fcf4=>{const _0xd3dc5a=_0x50c1bc;_0x30a089[_0xd3dc5a(0xf6)](_0x50fcf4['id'])&&_0x50fcf4[_0xd3dc5a(0x327)][_0xd3dc5a(0x170)]===this[_0xd3dc5a(0x28d)][_0xd3dc5a(0x170)]&&this['_refreshCollabCursors']();}));}[_0x1e40b1(0x227)](){const _0x81462a=_0x1e40b1;this['disposeWithMe'](_0x5026b8(this[_0x81462a(0x28d)][_0x81462a(0x169)]['onTransformChange$'])['pipe'](_0x1194e9(_0x5d8eaa=>_0x5d8eaa['type']===_0x35411e[_0x81462a(0x160)]),_0xe140a4(0x10))[_0x81462a(0xfd)](()=>{const _0x1a44ab=_0x81462a;this[_0x1a44ab(0x107)]();}));}};Fe=Qi([ie(0x1,_0x2c0e45(_0x1842c9)),ie(0x2,_0x2c0e45(H)),ie(0x3,_0x7462c),ie(0x4,_0x2c0e45(_0x200d5a))],Fe);const qi=0x1,en=1.5;class tn extends _0x29b4e3{constructor(_0x10c4ef,_0x48dcd8){const _0x3f432c=_0x1e40b1;super(_0x10c4ef,_0x48dcd8),_(this,_0x3f432c(0x2f0)),_(this,_0x3f432c(0x198),!0x1),_(this,_0x3f432c(0x210)),_(this,_0x3f432c(0x2f6),''),_(this,_0x3f432c(0x1a1),_0x3f432c(0x178)),_(this,_0x3f432c(0x2d0)),(_0x48dcd8&&this[_0x3f432c(0x2a0)](_0x48dcd8),this['onPointerEnter$'][_0x3f432c(0x310)](()=>this[_0x3f432c(0x2a0)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x3f432c(0x2a0)]({'hovered':!0x1})));}['setShapeProps'](_0x34421f){const _0xc16960=_0x1e40b1;var _0x55996c,_0x816429,_0x4c5426,_0x240c3f,_0x3fd8aa,_0x21e078;this[_0xc16960(0x2f0)]=(_0x55996c=_0x34421f['color'])!=null?_0x55996c:this['_color'],this[_0xc16960(0x198)]=(_0x816429=_0x34421f[_0xc16960(0x2c2)])!=null?_0x816429:this[_0xc16960(0x198)],this['_range']=(_0x4c5426=_0x34421f[_0xc16960(0x2e3)])!=null?_0x4c5426:this[_0xc16960(0x210)],this['_name']=(_0x240c3f=_0x34421f['name'])!=null?_0x240c3f:this[_0xc16960(0x2f6)],this[_0xc16960(0x1a1)]=(_0x3fd8aa=_0x34421f['labelPosition'])!=null?_0x3fd8aa:this[_0xc16960(0x1a1)],this[_0xc16960(0x2d0)]=(_0x21e078=_0x34421f[_0xc16960(0x1af)])!=null?_0x21e078:this[_0xc16960(0x2d0)],this[_0xc16960(0x260)]({'width':_0x34421f[_0xc16960(0x213)],'height':_0x34421f[_0xc16960(0xee)]});}[_0x1e40b1(0x1a2)](_0x2a9206){const _0x2561c6=_0x1e40b1,{row:_0x22c1b2,column:_0x2ef1e9}=_0x2a9206;if(_0x22c1b2>=this['_range'][_0x2561c6(0x293)]&&_0x22c1b2<=this[_0x2561c6(0x210)][_0x2561c6(0x245)]&&_0x2ef1e9>=this[_0x2561c6(0x210)][_0x2561c6(0x1c3)]&&_0x2ef1e9<=this[_0x2561c6(0x210)][_0x2561c6(0x1b5)]){this[_0x2561c6(0x2a0)]({'hovered':!0x0});return;}this[_0x2561c6(0x2a0)]({'hovered':!0x1});}[_0x1e40b1(0x1bb)](_0x72967b){return!0x1;}[_0x1e40b1(0xd8)](_0x46f901){const _0x33f0e6=_0x1e40b1;_0x4d3d55[_0x33f0e6(0x106)](_0x46f901,{'width':this[_0x33f0e6(0x213)],'height':this['height'],'strokeWidth':en,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x33f0e6(0x2d0)]}),this['_hovered']&&(_0x46f901[_0x33f0e6(0x17c)](),_0x46f901[_0x33f0e6(0x2da)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x33f0e6(0x26f)?0x0:-Q),ve['drawWith'](_0x46f901,{'text':this[_0x33f0e6(0x2f6)],'color':this['_color']}),_0x46f901[_0x33f0e6(0xe2)]());}}var sn=Object[_0x1e40b1(0xe0)],nn=(_0x3043e6,_0x4c0fde,_0x1ced30,_0x5897c6)=>{const _0x50c699=_0x1e40b1;for(var _0x4bb1f3=_0x5897c6>0x1?void 0x0:_0x5897c6?sn(_0x4c0fde,_0x1ced30):_0x4c0fde,_0x55abf8=_0x3043e6[_0x50c699(0x2a6)]-0x1,_0xe03e35;_0x55abf8>=0x0;_0x55abf8--)(_0xe03e35=_0x3043e6[_0x55abf8])&&(_0x4bb1f3=_0xe03e35(_0x4bb1f3)||_0x4bb1f3);return _0x4bb1f3;},be=(_0x1118b7,_0x4b737a)=>(_0x3b6e90,_0x26ae9a)=>_0x4b737a(_0x3b6e90,_0x26ae9a,_0x1118b7);const rn=0x1389;let ke=class extends _0x52c72b{constructor(_0x14b435,_0x1dfac3,_0x6372d4,_0x5bfa8c){const _0x4abd92=_0x1e40b1;super(),_(this,'_cursors',new Set()),_(this,_0x4abd92(0x14f),null),(this[_0x4abd92(0x28d)]=_0x14b435,this[_0x4abd92(0x2ab)]=_0x1dfac3,this[_0x4abd92(0x1f2)]=_0x6372d4,this[_0x4abd92(0x1e7)]=_0x5bfa8c,this[_0x4abd92(0x17f)]());}[_0x1e40b1(0x17f)](){const _0x17fd7a=_0x1e40b1;this[_0x17fd7a(0x2ab)]['currentSkeleton$'][_0x17fd7a(0x2b2)](_0x25496f(this[_0x17fd7a(0x323)]),_0x46468b(_0x98662a=>{const _0x148e8d=_0x17fd7a;if(_0x98662a){const _0x4d774f=_0x98662a[_0x148e8d(0x1d4)];return _0x486491(this[_0x148e8d(0x1f2)][_0x148e8d(0x27f)](this['_context'][_0x148e8d(0x170)]),this['_themeService'][_0x148e8d(0x290)])[_0x148e8d(0x2b2)](_0x4ad3b0(([_0x435703,_0x465d74])=>{const _0x1969ab=new Map();return _0x435703['forEach']((_0x373201,_0x367eb9)=>{const _0x192691=_0x38fa;if(_0x373201['sheetID']===_0x4d774f){const _0x296f40={..._0x373201};_0x296f40[_0x192691(0x173)]=this[_0x192691(0x1e7)][_0x192691(0x242)](_0x373201['color']),_0x1969ab[_0x192691(0x1f3)](_0x367eb9,_0x296f40);}}),{'skeleton':_0x98662a,'cursors':_0x1969ab};}));}return _0x1b1789({'skeleton':null,'cursors':new Map()});}))[_0x17fd7a(0xfd)](({skeleton:_0x49a7eb,cursors:_0x5d7f31})=>{const _0x1f7c7a=_0x17fd7a;this['_removeCollabCursors'](),_0x49a7eb&&this[_0x1f7c7a(0x164)](_0x49a7eb,_0x5d7f31);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x17fd7a(0xfd)](_0xb02db=>{const _0x53e595=_0x17fd7a;if(_0xb02db==null)return;const {skeleton:_0x3bc561}=_0xb02db,{scene:_0x1d5efc}=this[_0x53e595(0x28d)];_0x1d5efc[_0x53e595(0x319)][_0x53e595(0x310)](_0x480f0d(_0x26d5bc=>{const _0x299896=_0x53e595;var _0x5ba213,_0x382e80;const {offsetX:_0x482f28,offsetY:_0x294f96}=_0x26d5bc,{x:_0x235258,y:_0x22ca7e}=_0x1d5efc[_0x299896(0x1b9)](_0x5c81fa['FromArray']([_0x482f28,_0x294f96])),{scaleX:_0x2aa6d1,scaleY:_0x5c837d}=_0x1d5efc[_0x299896(0x24b)](),_0x4726b5=_0x1d5efc[_0x299896(0x196)](_0x1b7b1e[_0x299896(0x2d4)]),_0x5ce94d=_0x1d5efc[_0x299896(0xf1)](_0x5c81fa[_0x299896(0x25d)]([_0x235258,_0x22ca7e]),_0x4726b5),_0x1870ca=_0x3bc561[_0x299896(0x13b)](_0x482f28,_0x294f96,_0x2aa6d1,_0x5c837d,_0x5ce94d);((_0x5ba213=this[_0x299896(0x14f)])==null?void 0x0:_0x5ba213[_0x299896(0x222)])===_0x1870ca[_0x299896(0x222)]&&((_0x382e80=this[_0x299896(0x14f)])==null?void 0x0:_0x382e80[_0x299896(0x2a9)])===_0x1870ca[_0x299896(0x2a9)]||this['_cursors'][_0x299896(0x150)](_0x185e09=>{const _0x10bbbd=_0x299896;_0x185e09[_0x10bbbd(0x1a2)](_0x1870ca);});},0x64));});}[_0x1e40b1(0x164)](_0x279063,_0x7f940e){const _0x3a557e=_0x1e40b1;var _0x2e308d;const _0xfc677d=(_0x2e308d=this[_0x3a557e(0x2ab)]['getCurrent']())==null?void 0x0:_0x2e308d['skeleton'];if(!_0xfc677d)return;const _0x5ba661=this['_getSheetObject']();if(!_0x5ba661)return;this[_0x3a557e(0x252)][_0x3a557e(0x150)](_0x3bd9ae=>{const _0xea194d=_0x3a557e;_0x3bd9ae[_0xea194d(0x23f)]();});const {scene:_0x44ebf9}=_0x5ba661,_0x3d3ec9=on(Array['from'](_0x7f940e[_0x3a557e(0x156)]()))[_0x3a557e(0x1de)](_0x37edba=>{const _0x5dce5d=_0x3a557e,{color:_0x2d18fa,range:_0x27b385,name:_0x1986f9,selection:_0x4f3046,sheetID:_0xf2a2cb}=_0x37edba,{startColumn:_0xb2514e,startRow:_0x55f25f,endColumn:_0x3f62fe,endRow:_0x39fd43}=_0x27b385,_0x40b322=_0x4ae2c3(_0x55f25f,_0xb2514e,_0x44ebf9,_0xfc677d),_0x80e703=_0x4ae2c3(_0x39fd43,_0x3f62fe,_0x44ebf9,_0xfc677d),{columnHeaderHeightAndMarginTop:_0x2463ba}=_0xfc677d,{startX:_0x2702cb,startY:_0x68acd8}=_0x40b322,{endX:_0x501705,endY:_0x381d5a}=_0x80e703,_0x3c927a=_0x501705-_0x2702cb,_0x3dc03e=_0x381d5a-_0x68acd8,_0x30a20a={'labelPosition':_0x68acd8-_0x2463ba>=Q?'top':_0x5dce5d(0x26f),'sheetID':_0xf2a2cb,'range':_0x27b385,'color':_0x2d18fa,'name':_0x1986f9,'selection':_0x4f3046,'left':_0x2702cb,'top':_0x68acd8,'width':_0x3c927a,'height':_0x3dc03e,'evented':!0x1,'zIndex':rn};return new tn(_0x1986f9,_0x30a20a);});_0x44ebf9['addObjects'](_0x3d3ec9,qi),this[_0x3a557e(0x252)]=new Set(_0x3d3ec9);}[_0x1e40b1(0x2fd)](){const _0x3369d6=_0x1e40b1;var _0x1f2691;(_0x1f2691=this['_cursors'])==null||_0x1f2691['forEach'](_0x22ca5d=>_0x22ca5d[_0x3369d6(0x234)]());}[_0x1e40b1(0x256)](){const _0x1c0c61=_0x1e40b1;return _0x542516(this[_0x1c0c61(0x28d)][_0x1c0c61(0xf0)],this[_0x1c0c61(0x28d)]);}};ke=nn([be(0x1,_0x2c0e45(_0x2e6db2)),be(0x2,_0x2c0e45(H)),be(0x3,_0x2c0e45(_0x200d5a))],ke);function on(_0x13d47c){const _0x202983=_0x1e40b1,_0x54569d=new Map();return _0x13d47c[_0x202983(0x150)](_0x5da13d=>{const _0x4ecebe=_0x202983;if(_0x54569d[_0x4ecebe(0x176)](_0x5da13d[_0x4ecebe(0x10e)])){const _0x43b549=_0x54569d[_0x4ecebe(0x303)](_0x5da13d['selection']);_0x43b549[_0x4ecebe(0x122)]+=',\x20'+_0x5da13d[_0x4ecebe(0x122)];}else _0x54569d[_0x4ecebe(0x1f3)](_0x5da13d[_0x4ecebe(0x10e)],_0x5da13d);}),Array[_0x202983(0x2e6)](_0x54569d[_0x202983(0x156)]());}var an=Object[_0x1e40b1(0xe0)],cn=(_0x24ad3b,_0x29ad9c,_0x43d123,_0x121864)=>{for(var _0xf1fe6e=_0x121864>0x1?void 0x0:_0x121864?an(_0x29ad9c,_0x43d123):_0x29ad9c,_0x1fda3c=_0x24ad3b['length']-0x1,_0x206df5;_0x1fda3c>=0x0;_0x1fda3c--)(_0x206df5=_0x24ad3b[_0x1fda3c])&&(_0xf1fe6e=_0x206df5(_0xf1fe6e)||_0xf1fe6e);return _0xf1fe6e;},F=(_0x193401,_0x173412)=>(_0xa1ba8f,_0x3c21f6)=>_0x173412(_0xa1ba8f,_0x3c21f6,_0x193401);let _e=class extends _0x4e2370{constructor(_0x4b2001,_0x40e7a7,_0x329925,_0x3ce750,_0x5b9a41,_0x836a4f){const _0xeb12ff=_0x1e40b1;super(),this[_0xeb12ff(0x1bd)]=_0x4b2001,this[_0xeb12ff(0x1f6)]=_0x40e7a7,this[_0xeb12ff(0x2eb)]=_0x329925,this['_messageService']=_0x3ce750,this[_0xeb12ff(0x243)]=_0x5b9a41,this[_0xeb12ff(0x149)]=_0x836a4f,this[_0xeb12ff(0x14d)](),this['_initEvent']();}[_0x1e40b1(0x14d)](){const _0x563297=_0x1e40b1;this['disposeWithMe'](this[_0x563297(0x1bd)][_0x563297(0x1d9)](()=>{const _0x4b0318=_0x563297;if(this[_0x4b0318(0x1f6)]['saveTaskMap']['size'])return this[_0x4b0318(0x149)]['t'](_0x4b0318(0x141));}));}[_0x1e40b1(0x2d7)](){const _0x1a1548=_0x1e40b1;this[_0x1a1548(0x286)](this[_0x1a1548(0x2eb)][_0x1a1548(0x11c)]['subscribe'](_0x1b82bb=>{const _0x5e268f=_0x1a1548;_0x1b82bb['id']===_0x29a27e['OTHER_CLIENT_EDITING']&&this[_0x5e268f(0x253)][_0x5e268f(0xff)]({'type':_0x413557[_0x5e268f(0x317)],'content':this[_0x5e268f(0x149)]['t'](_0x5e268f(0x22a))}),_0x1b82bb['id']===_0x29a27e[_0x5e268f(0x17a)]&&this[_0x5e268f(0x253)]['show']({'type':_0x413557['Warning'],'content':this[_0x5e268f(0x149)]['t'](_0x5e268f(0x1eb))}),_0x1b82bb['id']===_0x29a27e[_0x5e268f(0x1c9)]&&this[_0x5e268f(0x243)][_0x5e268f(0xff)]({'title':this[_0x5e268f(0x149)]['t'](_0x5e268f(0x23d)),'content':this[_0x5e268f(0x149)]['t'](_0x5e268f(0x27d)),'type':_0x5e268f(0x2cd),'duration':0x0}),_0x1b82bb['id']===_0x29a27e['CONFLICT']&&this[_0x5e268f(0x253)]['show']({'type':_0x413557[_0x5e268f(0x1df)],'content':this[_0x5e268f(0x149)]['t'](_0x5e268f(0x1eb))+'('+_0x1b82bb['data']+')'}),_0x1b82bb['id']===_0x29a27e[_0x5e268f(0x29d)]&&this[_0x5e268f(0x253)][_0x5e268f(0xff)]({'type':_0x413557['Warning'],'content':this[_0x5e268f(0x149)]['t'](_0x1b82bb[_0x5e268f(0x17b)]||'')}),_0x1b82bb['id']===_0x29a27e['SOCKET_FAILED_RETRY']&&this[_0x5e268f(0x253)][_0x5e268f(0xff)]({'type':_0x413557['Warning'],'content':this['_localeService']['t'](_0x5e268f(0x289))}),_0x1b82bb['id']===_0x29a27e[_0x5e268f(0x240)]&&this['_messageService'][_0x5e268f(0xff)]({'type':_0x413557[_0x5e268f(0x1df)],'content':this['_localeService']['t'](_0x5e268f(0x133))}),_0x1b82bb['id']===_0x29a27e[_0x5e268f(0x2b7)]&&this['_messageService'][_0x5e268f(0xff)]({'type':_0x413557[_0x5e268f(0x1df)],'content':this[_0x5e268f(0x149)]['t']('session.collaboration-timeout')});}));}};_e=cn([F(0x0,_0x3cd0f6),F(0x1,_0x51b584),F(0x2,_0x2c0e45(_0xfcb14b)),F(0x3,_0x5aac8c),F(0x4,_0x5c99d5),F(0x5,_0x2c0e45(_0x51435d))],_e);var _n=Object[_0x1e40b1(0xe0)],ln=(_0x145493,_0x145f85,_0x32aa64,_0x33e0d8)=>{const _0x48e6fb=_0x1e40b1;for(var _0x170331=_0x33e0d8>0x1?void 0x0:_0x33e0d8?_n(_0x145f85,_0x32aa64):_0x145f85,_0x5b3c14=_0x145493[_0x48e6fb(0x2a6)]-0x1,_0x46b9f7;_0x5b3c14>=0x0;_0x5b3c14--)(_0x46b9f7=_0x145493[_0x5b3c14])&&(_0x170331=_0x46b9f7(_0x170331)||_0x170331);return _0x170331;},ne=(_0x25de80,_0x452a94)=>(_0x22ebba,_0x3b1a53)=>_0x452a94(_0x22ebba,_0x3b1a53,_0x25de80);let le=class extends _0x4e2370{constructor(_0x2258f9,_0x53b322,_0x330ab2,_0x4113cd){const _0x2b68a1=_0x1e40b1;super(),_(this,_0x2b68a1(0x24a)),(this['_injector']=_0x2258f9,this['_httpService']=_0x53b322,this[_0x2b68a1(0x302)]=_0x330ab2,this[_0x2b68a1(0x12e)]=_0x4113cd,this[_0x2b68a1(0x17f)]());}[_0x1e40b1(0x17f)](){const _0x5f3271=_0x1e40b1;this[_0x5f3271(0x1fe)](),this['_initUnhandledRejectionListener'](),this[_0x5f3271(0x11f)](),this[_0x5f3271(0x21a)]();}[_0x1e40b1(0x21a)](){const _0x56f344=_0x1e40b1;this[_0x56f344(0x286)](this[_0x56f344(0x12e)][_0x56f344(0x2b1)][_0x56f344(0xfd)](_0x4a44ef=>{const _0x1888f7=_0x56f344;this[_0x1888f7(0x24a)]=_0x4a44ef==null?void 0x0:_0x4a44ef[_0x1888f7(0x207)];}));}[_0x1e40b1(0x1fe)](){const _0x58dc47=_0x1e40b1,_0x36470d=_0x327dcb=>{const _0x13aadb=_0x38fa;var _0x4fedcd;this[_0x13aadb(0x28a)](_0x13aadb(0x2cd),_0x13aadb(0x1c0)+_0x327dcb['message']+_0x13aadb(0x20e)+_0x327dcb[_0x13aadb(0x314)]+':'+_0x327dcb[_0x13aadb(0x2d5)]+':'+_0x327dcb[_0x13aadb(0x15c)]+'\x0a'+(((_0x4fedcd=_0x327dcb['error'])==null?void 0x0:_0x4fedcd[_0x13aadb(0x190)])||''));};window['addEventListener'](_0x58dc47(0x2cd),_0x36470d),this[_0x58dc47(0x286)](()=>{const _0xa8103f=_0x58dc47;window[_0xa8103f(0x2bd)](_0xa8103f(0x2cd),_0x36470d);});}['_initUnhandledRejectionListener'](){const _0x5948fa=_0x1e40b1,_0x12fd63=_0x35f530=>{const _0x45dd3d=_0x38fa;this[_0x45dd3d(0x28a)](_0x45dd3d(0x2cd),_0x45dd3d(0x16e)+_0x35f530[_0x45dd3d(0x254)]);};window[_0x5948fa(0x1c6)]('unhandledrejection',_0x12fd63),this['disposeWithMe'](()=>{const _0x8c1b0f=_0x5948fa;window[_0x8c1b0f(0x2bd)]('unhandledrejection',_0x12fd63);});}[_0x1e40b1(0x11f)](){const _0x56f9a3=_0x1e40b1,_0x55ab0f=this[_0x56f9a3(0x302)]['error'][_0x56f9a3(0x2aa)](this[_0x56f9a3(0x302)]);this['_logService']['error']=(..._0x494d6b)=>{const _0x337957=_0x56f9a3,_0x137413=_0x494d6b[_0x337957(0x1de)](_0x16465f=>_0x16465f instanceof Error?_0x16465f[_0x337957(0x11e)]+'\x0a'+_0x16465f['stack']:String(_0x16465f))[_0x337957(0xce)]('\x20');this['_uploadLog'](_0x337957(0x2cd),'[LogService\x20Error]:\x20'+_0x137413),_0x55ab0f(..._0x494d6b);},this['disposeWithMe'](()=>{const _0x2441cc=_0x56f9a3;this[_0x2441cc(0x302)]['error']=_0x55ab0f;});}['_uploadLog'](_0x2ee370,_0x2904ee){const _0x4a4180=_0x1e40b1;try{const _0x4d8ca1={'userId':this[_0x4a4180(0x24a)],'logLabel':_0x2ee370,'content':_0x2904ee};this[_0x4a4180(0x185)][_0x4a4180(0x259)](_0x4a4180(0x1c8),{'body':_0x4d8ca1})[_0x4a4180(0x1da)](()=>{});}catch{}}};le=ln([ne(0x0,_0x2c0e45(_0x3fc224)),ne(0x1,_0x2c0e45(_0xb0aafa)),ne(0x2,_0x29510e),ne(0x3,_0x2c0e45(_0x38b52a))],le);const hn=_0x1e40b1(0x26e),_t={};var un=Object[_0x1e40b1(0xe0)],dn=(_0x48e805,_0x50b1d8,_0x49ab61,_0x52f6dc)=>{const _0x430b73=_0x1e40b1;for(var _0x308d43=_0x52f6dc>0x1?void 0x0:_0x52f6dc?un(_0x50b1d8,_0x49ab61):_0x50b1d8,_0x4cc762=_0x48e805[_0x430b73(0x2a6)]-0x1,_0x5bc34e;_0x4cc762>=0x0;_0x4cc762--)(_0x5bc34e=_0x48e805[_0x4cc762])&&(_0x308d43=_0x5bc34e(_0x308d43)||_0x308d43);return _0x308d43;},lt=(_0x1f40bb,_0x5b722e)=>(_0x567eb0,_0x21f294)=>_0x5b722e(_0x567eb0,_0x21f294,_0x1f40bb);let he=class{constructor(_0x481982,_0x4b7fa8){const _0x20b150=_0x1e40b1;this['_transformService']=_0x481982,this[_0x20b150(0x316)]=_0x4b7fa8;}['transformIMECache'](_0x3d6120){const _0x19b205=_0x1e40b1;this[_0x19b205(0x2cf)](_0x3d6120),this[_0x19b205(0x2db)](_0x3d6120);}[_0x1e40b1(0x112)](_0x3be3fb){const _0x1f8d46=_0x1e40b1,{unitID:_0x49d064}=_0x3be3fb,_0xf8fb7=this['_renderManagerService'][_0x1f8d46(0x1d8)](_0x49d064)[_0x1f8d46(0x109)](_0x208526),{redoCache:_0x470f5b}=_0xf8fb7[_0x1f8d46(0x12a)]();if(_0x470f5b[_0x1f8d46(0x2a6)]===0x0)return _0x3be3fb;let _0x473c80=_0x509f1e['deepClone'](_0x3be3fb[_0x1f8d46(0x101)][0x0]);for(let _0x485923=0x0;_0x485923<_0x470f5b['length'];_0x485923++){const _0x3500bc={'id':_0x1f8d46(0x1f5),'params':{..._0x470f5b[_0x485923]}},_0x4aafcc=this[_0x1f8d46(0x28f)][_0x1f8d46(0xec)](_0x473c80,_0x3500bc,!0x1);if(_0x463700(_0x4aafcc))throw _0x4aafcc[_0x1f8d46(0x2cd)];_0x473c80=_0x4aafcc[_0x1f8d46(0x110)];}return{..._0x509f1e[_0x1f8d46(0x2d6)](_0x3be3fb),'mutations':[_0x473c80]};}[_0x1e40b1(0x2cf)](_0x2e5f5e){const _0x1e93e4=_0x1e40b1,{unitID:_0x310f00}=_0x2e5f5e,_0x553b77=this[_0x1e93e4(0x316)][_0x1e93e4(0x1d8)](_0x310f00)[_0x1e93e4(0x109)](_0x208526),{undoCache:_0xdb8829,redoCache:_0x5ad7cb}=_0x553b77[_0x1e93e4(0x12a)]();if(_0xdb8829[_0x1e93e4(0x2a6)]===0x0||_0x5ad7cb['length']===0x0)return;const _0x32ed6f=[],_0x2b3aac=[];let _0x40b7f7=_0x509f1e[_0x1e93e4(0x2d6)](_0x2e5f5e[_0x1e93e4(0x101)][0x0]),_0x1c90ee=_0x509f1e[_0x1e93e4(0x2d6)](_0x2e5f5e[_0x1e93e4(0x101)][0x0]);for(let _0x41a2b5=_0xdb8829[_0x1e93e4(0x2a6)]-0x1;_0x41a2b5>=0x0;_0x41a2b5--){const _0x5bc905={'id':_0x1e93e4(0x1f5),'params':{..._0xdb8829[_0x41a2b5]}},_0x31424={'id':_0x1e93e4(0x1f5),'params':{..._0x5ad7cb[_0x41a2b5]}},_0x465434=this[_0x1e93e4(0x28f)][_0x1e93e4(0xec)](_0x40b7f7,_0x5bc905,!0x1),_0x3e2e44=this[_0x1e93e4(0x28f)][_0x1e93e4(0xec)](_0x1c90ee,_0x31424,!0x1);if(_0x463700(_0x465434))throw _0x465434[_0x1e93e4(0x2cd)];if(_0x463700(_0x3e2e44))throw _0x3e2e44[_0x1e93e4(0x2cd)];_0x32ed6f['unshift'](_0x465434[_0x1e93e4(0x31d)][_0x1e93e4(0x327)]),_0x2b3aac[_0x1e93e4(0x27a)](_0x3e2e44[_0x1e93e4(0x31d)]['params']),_0x40b7f7=_0x465434[_0x1e93e4(0x110)],_0x1c90ee=_0x3e2e44['m1Prime'];}_0x553b77[_0x1e93e4(0x16f)]({'undoCache':_0x32ed6f,'redoCache':_0x2b3aac});}['_transformPreviousActiveRange'](_0x210947){const _0x3c9f52=_0x1e40b1,{unitID:_0x26218a}=_0x210947,_0x3066b0=this['_renderManagerService'][_0x3c9f52(0x1d8)](_0x26218a)['with'](_0x208526),_0x8edc9c=_0x3066b0[_0x3c9f52(0x235)]();if(_0x8edc9c==null)return;const _0x4bef4e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x210947[_0x3c9f52(0x187)],'actions':null,'textRanges':[_0x8edc9c]}}],_0x4ac303=this[_0x3c9f52(0x28f)][_0x3c9f52(0x261)](_0x210947,_0x4bef4e);if(!_0x22ff8b(_0x4ac303))throw _0x4ac303[_0x3c9f52(0x2cd)];const _0xa818e0=_0x4ac303[_0x3c9f52(0x31d)][0x0][_0x3c9f52(0x327)][_0x3c9f52(0x1ef)];Array['isArray'](_0xa818e0)&&_0xa818e0['length']&&_0x3066b0['setActiveRange'](_0xa818e0[0x0]);}};he=dn([lt(0x0,_0xa76561),lt(0x1,_0xef4dde)],he);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x3f7a54,_0x260268,_0x5b58c6,_0xe9f302)=>{const _0x11dde4=_0x1e40b1;for(var _0x2bac4a=_0xe9f302>0x1?void 0x0:_0xe9f302?Sn(_0x260268,_0x5b58c6):_0x260268,_0x3b3627=_0x3f7a54[_0x11dde4(0x2a6)]-0x1,_0xc15419;_0x3b3627>=0x0;_0x3b3627--)(_0xc15419=_0x3f7a54[_0x3b3627])&&(_0x2bac4a=_0xc15419(_0x2bac4a)||_0x2bac4a);return _0x2bac4a;},Le=(_0x3f5e96,_0x3b1998)=>(_0x44825e,_0x38b77c)=>_0x3b1998(_0x44825e,_0x38b77c,_0x3f5e96);let ue=class{constructor(_0x44464b,_0x2c58d8,_0x100754){const _0x590579=_0x1e40b1;this[_0x590579(0x2f1)]=_0x44464b,this[_0x590579(0x28f)]=_0x2c58d8,this[_0x590579(0x1e1)]=_0x100754;}[_0x1e40b1(0x23c)](_0x4f0e15){const _0x3ed521=_0x1e40b1;this[_0x3ed521(0x19b)](_0x4f0e15);}['transformRemoteChangeset'](_0x3e7a22){const _0x378aad=_0x1e40b1,{unitID:_0x54b79e}=_0x3e7a22,{collaboration:_0xd1e313}=this['_docStateChangeManagerService']['getStateCache'](_0x54b79e);if(_0xd1e313['length']===0x0)return _0x3e7a22;let _0x3eb368=_0x509f1e[_0x378aad(0x2d6)](_0x3e7a22['mutations'][0x0]);for(let _0x2e8c5f=0x0;_0x2e8c5f<_0xd1e313[_0x378aad(0x2a6)];_0x2e8c5f++){const _0x321df5={'id':_0x378aad(0x1f5),'params':{'unitId':_0xd1e313[_0x2e8c5f][_0x378aad(0x170)],..._0xd1e313[_0x2e8c5f][_0x378aad(0x1bc)]}},_0x13d9e6=this[_0x378aad(0x28f)]['transformMutation'](_0x3eb368,_0x321df5,!0x1);if(_0x463700(_0x13d9e6))throw _0x13d9e6[_0x378aad(0x2cd)];_0x3eb368=_0x13d9e6[_0x378aad(0x110)];}return{..._0x509f1e[_0x378aad(0x2d6)](_0x3e7a22),'mutations':[_0x3eb368]};}[_0x1e40b1(0x19b)](_0x146c54){const _0x3b3885=_0x1e40b1,{unitID:_0x4e3486}=_0x146c54,{history:_0x2d8aee,collaboration:_0x16d221}=this[_0x3b3885(0x1e1)][_0x3b3885(0x2e5)](_0x4e3486);if(_0x2d8aee['length']===0x0&&_0x16d221[_0x3b3885(0x2a6)]===0x0)return;const _0x2679fd=[],_0xd8d6e9=[];let _0x44da8e=_0x509f1e['deepClone'](_0x146c54[_0x3b3885(0x101)][0x0]),_0x3a1319=_0x509f1e['deepClone'](_0x146c54['mutations'][0x0]);for(let _0x42f195=_0x2d8aee[_0x3b3885(0x2a6)]-0x1;_0x42f195>=0x0;_0x42f195--){const _0x4f21af={'id':_0x3b3885(0x1f5),'params':{'unitId':_0x2d8aee[_0x42f195][_0x3b3885(0x170)],..._0x2d8aee[_0x42f195][_0x3b3885(0x1bf)]}},_0x39dc74={'id':_0x3b3885(0x1f5),'params':{'unitId':_0x2d8aee[_0x42f195]['unitId'],..._0x2d8aee[_0x42f195][_0x3b3885(0x1bc)]}},_0x20e83e=this[_0x3b3885(0x28f)]['transformMutation'](_0x44da8e,_0x4f21af,!0x1),_0x551353=this[_0x3b3885(0x28f)][_0x3b3885(0xec)](_0x3a1319,_0x39dc74,!0x1);if(_0x463700(_0x20e83e))throw _0x20e83e[_0x3b3885(0x2cd)];if(_0x463700(_0x551353))throw _0x551353['error'];_0x2679fd['unshift']({..._0x2d8aee[_0x42f195],'undoState':_0x20e83e[_0x3b3885(0x31d)][_0x3b3885(0x327)],'redoState':_0x551353[_0x3b3885(0x31d)][_0x3b3885(0x327)]}),_0x44da8e=_0x20e83e[_0x3b3885(0x110)],_0x3a1319=_0x551353['m1Prime'];}_0x44da8e=_0x509f1e['deepClone'](_0x146c54[_0x3b3885(0x101)][0x0]),_0x3a1319=_0x509f1e[_0x3b3885(0x2d6)](_0x146c54[_0x3b3885(0x101)][0x0]);for(let _0x13c34c=_0x16d221['length']-0x1;_0x13c34c>=0x0;_0x13c34c--){const _0x2b5934={'id':_0x3b3885(0x1f5),'params':{'unitId':_0x16d221[_0x13c34c]['unitId'],..._0x16d221[_0x13c34c][_0x3b3885(0x1bf)]}},_0x2cfdd6={'id':_0x3b3885(0x1f5),'params':{'unitId':_0x16d221[_0x13c34c][_0x3b3885(0x170)],..._0x16d221[_0x13c34c][_0x3b3885(0x1bc)]}},_0x4072c9=this[_0x3b3885(0x28f)][_0x3b3885(0xec)](_0x44da8e,_0x2b5934,!0x1),_0x3ec8ba=this[_0x3b3885(0x28f)][_0x3b3885(0xec)](_0x3a1319,_0x2cfdd6,!0x1);if(_0x463700(_0x4072c9))throw _0x4072c9[_0x3b3885(0x2cd)];if(_0x463700(_0x3ec8ba))throw _0x3ec8ba[_0x3b3885(0x2cd)];_0xd8d6e9[_0x3b3885(0x27a)]({..._0x16d221[_0x13c34c],'undoState':_0x4072c9[_0x3b3885(0x31d)][_0x3b3885(0x327)],'redoState':_0x3ec8ba[_0x3b3885(0x31d)][_0x3b3885(0x327)]}),_0x44da8e=_0x4072c9['m1Prime'],_0x3a1319=_0x3ec8ba[_0x3b3885(0x110)];}this[_0x3b3885(0x1e1)][_0x3b3885(0x191)](_0x4e3486,{'history':_0x2679fd,'collaboration':_0xd8d6e9});}};ue=In([Le(0x0,_0x2c0e45(_0x3fc224)),Le(0x1,_0xa76561),Le(0x2,_0x2c0e45(_0x1e4bf3))],ue);var mn=Object[_0x1e40b1(0xe0)],fn=(_0x29d141,_0x34465f,_0x4ebff6,_0x2190d8)=>{const _0x56cf6d=_0x1e40b1;for(var _0x16124e=_0x2190d8>0x1?void 0x0:_0x2190d8?mn(_0x34465f,_0x4ebff6):_0x34465f,_0x2f3764=_0x29d141[_0x56cf6d(0x2a6)]-0x1,_0x37e6da;_0x2f3764>=0x0;_0x2f3764--)(_0x37e6da=_0x29d141[_0x2f3764])&&(_0x16124e=_0x37e6da(_0x16124e)||_0x16124e);return _0x16124e;},ht=(_0x29a6d4,_0x13026d)=>(_0x4c8078,_0x1cb18f)=>_0x13026d(_0x4c8078,_0x1cb18f,_0x29a6d4);let de=class{constructor(_0x3e7cfd,_0x40ad12){const _0x338bab=_0x1e40b1;this['_injector']=_0x3e7cfd,this[_0x338bab(0x28f)]=_0x40ad12;}[_0x1e40b1(0xf9)](_0x497d53){const _0x3fddfb=_0x1e40b1;var _0x1956a1;const _0x548834=this[_0x3fddfb(0x2f1)][_0x3fddfb(0x303)](_0x8b731d),_0x5a2489=(_0x1956a1=_0x548834[_0x3fddfb(0xd7)]())!=null?_0x1956a1:[];if(_0x5a2489['length']===0x0)return;const _0x12eada=_0x497d53[_0x3fddfb(0x187)],_0x800e6=[{'id':_0x3fddfb(0x1f5),'params':{'unitId':_0x12eada,'actions':null,'textRanges':_0x5a2489}}],_0x25afe5=this['_transformService'][_0x3fddfb(0x261)](_0x497d53,_0x800e6);if(!_0x22ff8b(_0x25afe5))throw _0x25afe5['error'];const _0x262532=_0x25afe5['m2Prime'][0x0][_0x3fddfb(0x327)][_0x3fddfb(0x1ef)];Array['isArray'](_0x262532)&&_0x262532[_0x3fddfb(0x2a6)]&&_0x548834[_0x3fddfb(0x1dd)](_0x262532,{'unitId':_0x12eada,'subUnitId':_0x12eada},!0x1);}};de=fn([ht(0x0,_0x2c0e45(_0x3fc224)),ht(0x1,_0xa76561)],de);var gn=Object[_0x1e40b1(0xe0)],En=(_0x59a73a,_0x424bd1,_0x42e769,_0x51a268)=>{const _0x2d5585=_0x1e40b1;for(var _0x32fe7c=_0x51a268>0x1?void 0x0:_0x51a268?gn(_0x424bd1,_0x42e769):_0x424bd1,_0xe64726=_0x59a73a[_0x2d5585(0x2a6)]-0x1,_0x42026c;_0xe64726>=0x0;_0xe64726--)(_0x42026c=_0x59a73a[_0xe64726])&&(_0x32fe7c=_0x42026c(_0x32fe7c)||_0x32fe7c);return _0x32fe7c;},U=(_0x5e613e,_0xd18b74)=>(_0xae3a84,_0x15fc99)=>_0xd18b74(_0xae3a84,_0x15fc99,_0x5e613e);let Se=class extends _0x4e2370{constructor(_0x3b442a,_0x4878ec,_0x184f73,_0x29f0ac,_0x1dca75,_0x5d5468,_0x15c060,_0x3e8a30){const _0x41eb12=_0x1e40b1;super(),_(this,_0x41eb12(0x271),new _0xefb469(_0x126115[_0x41eb12(0x232)])),(this[_0x41eb12(0x1e1)]=_0x3b442a,this[_0x41eb12(0x124)]=_0x4878ec,this[_0x41eb12(0x208)]=_0x184f73,this[_0x41eb12(0x230)]=_0x29f0ac,this[_0x41eb12(0x1ab)]=_0x1dca75,this[_0x41eb12(0x14c)]=_0x5d5468,this['_messageService']=_0x15c060,this[_0x41eb12(0x149)]=_0x3e8a30,this[_0x41eb12(0x262)]());}[_0x1e40b1(0x262)](){const _0x180aa5=_0x1e40b1;this[_0x180aa5(0x286)](this[_0x180aa5(0x124)][_0x180aa5(0x10a)][_0x180aa5(0xfd)](_0x1b72c4=>{const _0xf34283=_0x180aa5,_0x270548=this[_0xf34283(0x1e1)][_0xf34283(0x31f)][_0xf34283(0xfd)](_0x49cc94=>{const _0x178417=_0xf34283;if(_0x49cc94==null)return;const {unitId:_0x28df47,redoState:_0x3c707e,commandId:_0x1bc5b4}=_0x49cc94;if(_0x28df47!==_0x1b72c4[_0x178417(0x187)])return;const _0x107e78={'id':_0x1bc5b4,'type':_0x488e10[_0x178417(0x324)],'params':{'unitId':_0x28df47,'actions':_0x3c707e[_0x178417(0x116)],'textRanges':null}};_0x1b72c4[_0x178417(0x216)](_0x107e78);});if(_0x1b72c4[_0xf34283(0x286)](_0x270548),_0x1b72c4 instanceof _0x185d0f){const _0x309909={'onTransformIME':_0x611d95=>this[_0xf34283(0x208)][_0xf34283(0x11d)](_0x611d95),'onTransformState':_0x5e5bd3=>this[_0xf34283(0x230)][_0xf34283(0x23c)](_0x5e5bd3),'onTransformSelections':_0x39f794=>this[_0xf34283(0x1ab)][_0xf34283(0xf9)](_0x39f794),'onSyncEditingCollabCursor':_0x2cb5fb=>this[_0xf34283(0x14c)][_0xf34283(0x1ec)](_0x2cb5fb),'onTransformRemoteChangesetByIMECache':_0x4e3aa9=>this[_0xf34283(0x208)][_0xf34283(0x112)](_0x4e3aa9),'onTransformRemoteChangesetByStateCache':_0x17842b=>this[_0xf34283(0x230)][_0xf34283(0x112)](_0x17842b)};_0x1b72c4[_0xf34283(0x1b7)](_0x309909);}}));}};Se=En([U(0x0,_0x2c0e45(_0x1e4bf3)),U(0x1,_0x2c0e45(_0x465340)),U(0x2,_0x2c0e45(he)),U(0x3,_0x2c0e45(ue)),U(0x4,_0x2c0e45(de)),U(0x5,_0x2c0e45(ze)),U(0x6,_0x5aac8c),U(0x7,_0x2c0e45(_0x51435d))],Se);var Z=(_0x2f24d7=>(_0x2f24d7[_0x2f24d7[_0x1e40b1(0x287)]=0x0]=_0x1e40b1(0x287),_0x2f24d7[_0x2f24d7['OK']=0x1]='OK',_0x2f24d7[_0x2f24d7['INTERNAL_ERROR']=0x2]=_0x1e40b1(0x209),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1c9)]=0x3]=_0x1e40b1(0x1c9),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2dc)]=0x4]=_0x1e40b1(0x2dc),_0x2f24d7[_0x2f24d7['UNAUTHENTICATED']=0x5]=_0x1e40b1(0x2c6),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2fb)]=0x6]=_0x1e40b1(0x2fb),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x174)]=0x7]='INVALID_ARGUMENT',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x18f)]=0x8]='TOO_MANY_REQUESTS',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1a9)]=0x9]='COMPLETION_FINISHED',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x13f)]=0xa]='LOGIN_FAILED',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1ac)]=0xb]=_0x1e40b1(0x1ac),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x100)]=0xc]=_0x1e40b1(0x100),_0x2f24d7[_0x2f24d7['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1e40b1(0x199),_0x2f24d7[_0x2f24d7['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x1e40b1(0x23b),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x165)]=0xf]=_0x1e40b1(0x165),_0x2f24d7[_0x2f24d7['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1e40b1(0x24f),_0x2f24d7[_0x2f24d7['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1e40b1(0x2bf),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1ea)]=0x65]=_0x1e40b1(0x1ea),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x10f)]=0xc9]=_0x1e40b1(0x10f),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x16c)]=0xca]=_0x1e40b1(0x16c),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1fd)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x20d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x171)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x18e)]=0x1773]=_0x1e40b1(0x18e),_0x2f24d7[_0x2f24d7['APPLY_REJECT']=0x1b59]=_0x1e40b1(0x285),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x127)]=0x1b5a]=_0x1e40b1(0x127),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x123)]=0x1b5b]=_0x1e40b1(0x123),_0x2f24d7[_0x2f24d7['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1e40b1(0x301),_0x2f24d7[_0x2f24d7['APPLY_DUPLICATED']=0x1b5d]=_0x1e40b1(0x1a4),_0x2f24d7[_0x2f24d7['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x322)]=0x2329]=_0x1e40b1(0x322),_0x2f24d7[_0x2f24d7['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1e40b1(0x16a),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2a1)]=0x232b]=_0x1e40b1(0x2a1),_0x2f24d7[_0x2f24d7[_0x1e40b1(0xd2)]=0x232c]=_0x1e40b1(0xd2),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x296)]=0x232d]=_0x1e40b1(0x296),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2ec)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2f24d7[_0x2f24d7['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2f24d7[_0x2f24d7['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x1e40b1(0x270),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x311)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x305)]=0x271a]=_0x1e40b1(0x305),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x16b)]=0x271b]=_0x1e40b1(0x16b),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x154)]=0x271c]=_0x1e40b1(0x154),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x31c)]=0x271d]=_0x1e40b1(0x31c),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x19c)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x244)]=0x271f]=_0x1e40b1(0x244),_0x2f24d7[_0x2f24d7['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x1e40b1(0xd6),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x21b)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2f24d7[_0x2f24d7[_0x1e40b1(0xe9)]=0x2ee1]=_0x1e40b1(0xe9),_0x2f24d7[_0x2f24d7[_0x1e40b1(0xed)]=0x2ee2]=_0x1e40b1(0xed),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2c5)]=0x2ee3]=_0x1e40b1(0x2c5),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x237)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2f24d7[_0x2f24d7['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1e40b1(0x325),_0x2f24d7[_0x2f24d7['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x1e40b1(0x14e),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x267)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x166)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x223)]=0x36b1]=_0x1e40b1(0x223),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2a4)]=0x36b2]=_0x1e40b1(0x2a4),_0x2f24d7[_0x2f24d7[_0x1e40b1(0xcf)]=0x36b3]=_0x1e40b1(0xcf),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2e2)]=0x36b4]=_0x1e40b1(0x2e2),_0x2f24d7[_0x2f24d7['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x1e40b1(0x31b),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x30e)]=0x36b6]=_0x1e40b1(0x30e),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1db)]=0x36b7]=_0x1e40b1(0x1db),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x233)]=0x36b8]=_0x1e40b1(0x233),_0x2f24d7[_0x2f24d7['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x29f)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2f24d7[_0x2f24d7[_0x1e40b1(0x19d)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x2f24d7[_0x2f24d7['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1e40b1(0xf4),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x22c)]=0x3a99]=_0x1e40b1(0x22c),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x203)]=0x3a9a]=_0x1e40b1(0x203),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1e8)]=0x3a9b]=_0x1e40b1(0x1e8),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x2c0)]=0x3a9c]=_0x1e40b1(0x2c0),_0x2f24d7[_0x2f24d7['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x1e40b1(0x180),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x1b0)]=0x3a9e]=_0x1e40b1(0x1b0),_0x2f24d7[_0x2f24d7[_0x1e40b1(0xfb)]=0x3a9f]=_0x1e40b1(0xfb),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x214)]=0x3e81]=_0x1e40b1(0x214),_0x2f24d7[_0x2f24d7[_0x1e40b1(0x14a)]=-0x1]=_0x1e40b1(0x14a),_0x2f24d7))(Z||{});function vn(_0x23e64c){const _0xd39f7f=_0x1e40b1;var _0x2f144a,_0x6c6ccc;const _0x5a660c=(_0x2f144a=_0x23e64c[_0xd39f7f(0x2bc)])==null?void 0x0:_0x2f144a['stage'],_0x2410ef=((_0x6c6ccc=_0x23e64c['stageInfo'])==null?void 0x0:_0x6c6ccc[_0xd39f7f(0x15f)])||0x0;return _0x5a660c===_0x422184[_0xd39f7f(0xdb)]&&_0x2410ef>0x0;}function pn(_0x362612){const _0x134b60=_0x1e40b1;return _0x362612[_0x134b60(0x121)]===_0x3bbcbd['SUCCESS'];}var On=Object[_0x1e40b1(0xe0)],Tn=(_0x64c847,_0x1a493d,_0x4dc6b2,_0x2ab9a2)=>{const _0x3980fd=_0x1e40b1;for(var _0x174237=_0x2ab9a2>0x1?void 0x0:_0x2ab9a2?On(_0x1a493d,_0x4dc6b2):_0x1a493d,_0x5e7cc9=_0x64c847[_0x3980fd(0x2a6)]-0x1,_0x550f3e;_0x5e7cc9>=0x0;_0x5e7cc9--)(_0x550f3e=_0x64c847[_0x5e7cc9])&&(_0x174237=_0x550f3e(_0x174237)||_0x174237);return _0x174237;},P=(_0x48ee9a,_0x5ab8e2)=>(_0x4b8e87,_0x102bf6)=>_0x5ab8e2(_0x4b8e87,_0x102bf6,_0x48ee9a);const Cn=_0x1e40b1(0x184),Rn=_0x1e40b1(0x12b),Dn=_0x1e40b1(0x1f4);let Ie=class extends _0x4e2370{constructor(_0x40d88e,_0x25a8dc,_0x1b87b4,_0x5a3fd3,_0x134a69,_0x37edd4,_0x83a987){const _0x123aa6=_0x1e40b1;super(),_(this,_0x123aa6(0x1e6),null),_(this,_0x123aa6(0x1fc),0x0),_(this,_0x123aa6(0xd3),0x0),_(this,'_taskIds',[]),_(this,_0x123aa6(0x16d),0x0),(this[_0x123aa6(0x253)]=_0x40d88e,this[_0x123aa6(0x2c8)]=_0x25a8dc,this[_0x123aa6(0x264)]=_0x1b87b4,this[_0x123aa6(0x185)]=_0x5a3fd3,this[_0x123aa6(0x194)]=_0x134a69,this[_0x123aa6(0x302)]=_0x37edd4,this['_localeService']=_0x83a987,this['_initCommandInterceptor']());}[_0x1e40b1(0x299)](){const _0x2d05ff=_0x1e40b1;this[_0x2d05ff(0x286)](this[_0x2d05ff(0x2c8)][_0x2d05ff(0xef)]((_0x1c27d6,_0x28545a)=>{const _0x29eafd=_0x2d05ff;var _0x211461;if(_0x1c27d6['id']!==_0x1ecee1['id'])return;const _0x505485=_0x1c27d6[_0x29eafd(0x327)];if(!this[_0x29eafd(0x1c2)]((_0x211461=_0x505485[_0x29eafd(0xd0)])!=null?_0x211461:[]))return;if(!this[_0x29eafd(0x29a)]())throw this[_0x29eafd(0x143)](_0x1c27d6,_0x28545a),this[_0x29eafd(0x269)](),new _0x309b6a();})),this['disposeWithMe'](this[_0x2d05ff(0x2c8)]['onCommandExecuted']((_0x5db1d2,_0x348bd8)=>{const _0x58a924=_0x2d05ff;if(_0x5db1d2['id']!==_0x49db29['id'])return;const _0x23a441=_0x5db1d2[_0x58a924(0x327)];if(vn(_0x23a441)){const _0x1f1ea2=_0x2b8a5d();this['_taskIds'][_0x58a924(0x2e7)](_0x1f1ea2),this[_0x58a924(0x20c)](_0x1f1ea2);}else{if(pn(_0x23a441)&&this[_0x58a924(0x217)][_0x58a924(0x2a6)]>0x0){const _0x3e1a01=this[_0x58a924(0x217)][_0x58a924(0x2e9)]();this[_0x58a924(0x226)](_0x3e1a01);}}}));}[_0x1e40b1(0x234)](){const _0x2602b9=_0x1e40b1;super[_0x2602b9(0x234)](),this[_0x2602b9(0x15a)](),this[_0x2602b9(0x217)]=[],this[_0x2602b9(0xd3)]=0x0,this['_maxFormulaLimit']=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x1e40b1(0x143)](_0x17720b,_0x11d9df){const _0x21fbc0=_0x1e40b1;for(let _0x5c3065=0x0;_0x5c3065<0x1e;_0x5c3065++)try{if(await this[_0x21fbc0(0x12c)](),this[_0x21fbc0(0x29a)]()){this[_0x21fbc0(0x2a3)](_0x17720b,_0x11d9df),this['_messageService'][_0x21fbc0(0xff)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x413557[_0x21fbc0(0x152)]});return;}await new Promise(_0x460754=>{const _0x43a2e3=_0x21fbc0;this[_0x43a2e3(0x1e6)]=window[_0x43a2e3(0x1dc)](_0x460754,0x3e8);});}catch(_0x286aa5){this[_0x21fbc0(0x302)][_0x21fbc0(0x2cd)](_0x286aa5);}this[_0x21fbc0(0x253)][_0x21fbc0(0xff)]({'content':this[_0x21fbc0(0x149)]['t'](_0x21fbc0(0x1d6)),'type':_0x413557[_0x21fbc0(0x1df)]});}[_0x1e40b1(0x2a3)](_0x57b3c3,_0x72ccbe){const _0x2fb05c=_0x1e40b1;try{this[_0x2fb05c(0x2c8)]['executeCommand'](_0x57b3c3['id'],_0x57b3c3['params'],_0x72ccbe);}catch(_0x2dddcd){this[_0x2fb05c(0x302)][_0x2fb05c(0x2cd)](_0x2dddcd);}}[_0x1e40b1(0x1a7)](_0xcd6f57,_0x37fc91){const _0x4605ef=_0x1e40b1;_0x37fc91<this['_lastResponseTimestamp']||(this[_0x4605ef(0x16d)]=_0x37fc91,this['_maxFormulaLimit']=Number[_0x4605ef(0x22e)](_0xcd6f57[_0x4605ef(0x297)]),this[_0x4605ef(0xd3)]=Number['parseInt'](_0xcd6f57[_0x4605ef(0x1b4)]));}async[_0x1e40b1(0x20c)](_0x40e852){const _0x32db2c=_0x1e40b1;var _0x5b3d90,_0x620a22;const _0x46b031=Date['now']();try{const _0x14e584=((_0x5b3d90=this[_0x32db2c(0x264)]['getConfig'](_0x7fd448))==null?void 0x0:_0x5b3d90[_0x32db2c(0x274)])||Rn,_0x5af7b9=(await this['_httpService']['post'](_0x14e584,{'body':JSON[_0x32db2c(0x17e)]({'taskId':_0x40e852})}))[_0x32db2c(0x13a)];if(((_0x620a22=_0x5af7b9[_0x32db2c(0x2cd)])==null?void 0x0:_0x620a22[_0x32db2c(0x320)])!==Z['OK'])return;this[_0x32db2c(0x1a7)](_0x5af7b9[_0x32db2c(0x130)],_0x46b031);}catch(_0x16d621){this[_0x32db2c(0x302)]['error'](_0x16d621);}}async[_0x1e40b1(0x12c)](_0x19d1dd){const _0x5d1e1e=_0x1e40b1;var _0x1c31b0,_0x1cafa2;const _0x29afe2=Date[_0x5d1e1e(0x1aa)]();try{const _0x1d248f=((_0x1c31b0=this[_0x5d1e1e(0x264)][_0x5d1e1e(0x1d3)](_0x7fd448))==null?void 0x0:_0x1c31b0[_0x5d1e1e(0x137)])||Cn,_0x907294=_0x19d1dd?_0x1d248f+_0x5d1e1e(0x2af)+encodeURIComponent(_0x19d1dd):_0x1d248f,_0x1613c9=(await this[_0x5d1e1e(0x185)][_0x5d1e1e(0x303)](_0x907294))[_0x5d1e1e(0x13a)];if(((_0x1cafa2=_0x1613c9[_0x5d1e1e(0x2cd)])==null?void 0x0:_0x1cafa2['code'])!==Z['OK'])return;this[_0x5d1e1e(0x1a7)](_0x1613c9[_0x5d1e1e(0x130)],_0x29afe2);}catch(_0x305810){this[_0x5d1e1e(0x302)][_0x5d1e1e(0x2cd)](_0x305810);}}async[_0x1e40b1(0x226)](_0x2d0798){const _0x4b04be=_0x1e40b1;var _0x193bda,_0x12595c;const _0x309933=Date[_0x4b04be(0x1aa)]();try{const _0x5ed5e0=((_0x193bda=this[_0x4b04be(0x264)][_0x4b04be(0x1d3)](_0x7fd448))==null?void 0x0:_0x193bda[_0x4b04be(0x146)])||Dn,_0x9ee6f6=(await this[_0x4b04be(0x185)][_0x4b04be(0x259)](_0x5ed5e0,{'body':JSON[_0x4b04be(0x17e)]({'taskId':_0x2d0798})}))['body'];if(((_0x12595c=_0x9ee6f6[_0x4b04be(0x2cd)])==null?void 0x0:_0x12595c[_0x4b04be(0x320)])!==Z['OK'])return;this[_0x4b04be(0x1a7)](_0x9ee6f6[_0x4b04be(0x130)],_0x309933);}catch(_0x36717c){this[_0x4b04be(0x302)][_0x4b04be(0x2cd)](_0x36717c);}}[_0x1e40b1(0x29a)](){const _0x4da236=_0x1e40b1;return this[_0x4da236(0x1fc)]===0x0?!0x0:this[_0x4da236(0x1fc)]-this[_0x4da236(0xd3)]>0x0;}[_0x1e40b1(0x15a)](){const _0x145c49=_0x1e40b1;this[_0x145c49(0x1e6)]&&(clearTimeout(this[_0x145c49(0x1e6)]),this[_0x145c49(0x1e6)]=null);}[_0x1e40b1(0x269)](){const _0xf7eb71=_0x1e40b1;this[_0xf7eb71(0x253)][_0xf7eb71(0xff)]({'content':this[_0xf7eb71(0x149)]['t']('formula.calculation.waiting'),'type':_0x413557[_0xf7eb71(0x1ba)]});}[_0x1e40b1(0x1c2)](_0x435685){const _0x44379a=_0x1e40b1;for(const _0xba0e13 of _0x435685){const {unitId:_0x48fc83,sheetId:_0x2d9c59,range:_0x2f992a}=_0xba0e13,_0x2491d7=this['_univerInstanceService']['getUnit'](_0x48fc83);if(!_0x2491d7)continue;const _0x4551d4=_0x2491d7[_0x44379a(0x188)](_0x2d9c59);if(!_0x4551d4)continue;const _0x42ce47=_0x4551d4['getCellMatrix']();for(let _0x41f6a9=_0x2f992a[_0x44379a(0x293)];_0x41f6a9<=_0x2f992a[_0x44379a(0x245)];_0x41f6a9++)for(let _0x30c78d=_0x2f992a['startColumn'];_0x30c78d<=_0x2f992a[_0x44379a(0x1b5)];_0x30c78d++){const _0x332b28=_0x42ce47['getValue'](_0x41f6a9,_0x30c78d);if(_0x332b28&&(_0x16ba62(_0x332b28['f'])||_0x244a3a(_0x332b28['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x2c0e45(_0x5aac8c)),P(0x1,_0x7462c),P(0x2,_0xaf39b9),P(0x3,_0x2c0e45(_0xb0aafa)),P(0x4,_0x161ad0),P(0x5,_0x29510e),P(0x6,_0x2c0e45(_0x51435d))],Ie);var Nn=Object['getOwnPropertyDescriptor'],bn=(_0x1afce8,_0x4b61a2,_0x19258a,_0xdecfce)=>{const _0x3f05f4=_0x1e40b1;for(var _0x122550=_0xdecfce>0x1?void 0x0:_0xdecfce?Nn(_0x4b61a2,_0x19258a):_0x4b61a2,_0x2abe50=_0x1afce8[_0x3f05f4(0x2a6)]-0x1,_0x28a3cd;_0x2abe50>=0x0;_0x2abe50--)(_0x28a3cd=_0x1afce8[_0x2abe50])&&(_0x122550=_0x28a3cd(_0x122550)||_0x122550);return _0x122550;},Ue=(_0x5549b4,_0x9da7a0)=>(_0x2fbaa1,_0x299fd7)=>_0x9da7a0(_0x2fbaa1,_0x299fd7,_0x5549b4);let He=class extends _0x4e2370{constructor(_0x1ca90a,_0x438548,_0x385409){const _0x49243d=_0x1e40b1;super(),_(this,_0x49243d(0x18c),new Map()),_(this,_0x49243d(0x175),new Map()),_(this,'_disabled',!0x1),(this[_0x49243d(0x264)]=_0x1ca90a,this['_localStorageService']=_0x438548,this['_revisionService']=_0x385409);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x1e40b1(0x13d)](){this['_disabled']=!0x1;}get[_0x1e40b1(0x248)](){const _0x1e9901=_0x1e40b1;return this[_0x1e9901(0x175)];}[_0x1e40b1(0x234)](){const _0x36b2d2=_0x1e40b1;this[_0x36b2d2(0x273)]()[_0x36b2d2(0x206)](()=>super[_0x36b2d2(0x234)]());}async[_0x1e40b1(0x201)](_0x34e1a2){const _0x372fe0=_0x1e40b1;return this['_disabled']?null:this[_0x372fe0(0x312)][_0x372fe0(0x2b0)](_0x192196(_0x34e1a2));}async['saveOfflineData'](_0x20e6e6,_0x143e49){const _0x1cc9dd=_0x1e40b1;return!!this['_localStorageService'][_0x1cc9dd(0x263)](_0x20e6e6,_0x143e49);}[_0x1e40b1(0x30f)](_0x4f836c,_0x1d4b1f,_0x4a2306,_0x1d1784){const _0x4c1751=_0x1e40b1,_0x2a6dfb=this['_revisionService'][_0x4c1751(0x1b6)](_0x4f836c);this[_0x4c1751(0x18c)][_0x4c1751(0x1f3)](_0x4f836c,{'unitID':_0x4f836c,'type':_0x1d4b1f,'awaitingChangeset':_0x4a2306,'mutations':_0x1d1784,'rev':_0x2a6dfb}),this['_saveTaskMap'][_0x4c1751(0x176)](_0x4f836c)||this[_0x4c1751(0x304)](_0x4f836c);}[_0x1e40b1(0x304)](_0x342d7e){const _0x40784b=_0x1e40b1,_0x1aa555=this[_0x40784b(0x144)]();_0x1aa555===0x0?this[_0x40784b(0x193)](_0x342d7e):this[_0x40784b(0x175)]['set'](_0x342d7e,setTimeout(()=>this[_0x40784b(0x193)](_0x342d7e),_0x1aa555));}[_0x1e40b1(0x144)](){const _0x31bc4d=_0x1e40b1;var _0x250530;return(_0x250530=this[_0x31bc4d(0x264)]['getConfig'](_0x18d25d))!=null?_0x250530:_0x14c463;}[_0x1e40b1(0x193)](_0x1aaa11){const _0x467a25=_0x1e40b1,_0x223759=this[_0x467a25(0x175)]['get'](_0x1aaa11);return _0x223759!==void 0x0&&window[_0x467a25(0xe3)](_0x223759),this[_0x467a25(0x312)][_0x467a25(0x263)](_0x192196(_0x1aaa11),this[_0x467a25(0x18c)][_0x467a25(0x303)](_0x1aaa11))[_0x467a25(0x206)](()=>this['_saveTaskMap'][_0x467a25(0x27c)](_0x1aaa11));}async[_0x1e40b1(0x273)](){const _0x1738e2=_0x1e40b1,_0x2ed1ee=[];this[_0x1738e2(0x175)][_0x1738e2(0x150)]((_0x1ec788,_0x3b4aaf)=>{const _0x539ecd=_0x1738e2;window['clearTimeout'](_0x1ec788),_0x2ed1ee[_0x539ecd(0x2e7)](this[_0x539ecd(0x193)](_0x3b4aaf)[_0x539ecd(0x206)](()=>{const _0x5bcf33=_0x539ecd;this[_0x5bcf33(0x175)]['delete'](_0x3b4aaf);}));}),await Promise[_0x1738e2(0x241)](_0x2ed1ee);}};He=bn([Ue(0x0,_0xaf39b9),Ue(0x1,_0x401375),Ue(0x2,_0x2c0e45(_0x520e2c))],He);class Ln extends _0x52c72b{constructor(){const _0x429151=_0x1e40b1;super(),_(this,'urlChange$'),this[_0x429151(0x1ff)]=_0x336182(window,'popstate')['pipe'](_0x5d9a7c(this[_0x429151(0x323)]),_0x5d780b(0x1),_0x44ca7b(void 0x0));}[_0x1e40b1(0x102)](_0x1007e2,_0x352119,_0x5aa200=!0x1){const _0x114b46=_0x1e40b1,_0x1e1de7=new URL(window[_0x114b46(0x294)][_0x114b46(0x272)]);_0x1e1de7[_0x114b46(0x28b)][_0x114b46(0x1f3)](_0x1007e2,_0x352119),_0x5aa200?window[_0x114b46(0x20f)][_0x114b46(0x1a3)]('','',_0x1e1de7[_0x114b46(0x159)]()):window[_0x114b46(0x20f)][_0x114b46(0x19f)]('','',_0x1e1de7[_0x114b46(0x159)]());}['removeParam'](_0x4daaf9,_0x1f0cab=!0x1){const _0x23d582=_0x1e40b1,_0x14945c=new URL(window[_0x23d582(0x294)][_0x23d582(0x272)]);_0x14945c[_0x23d582(0x28b)][_0x23d582(0x27c)](_0x4daaf9),_0x1f0cab?window['history'][_0x23d582(0x1a3)]('','',_0x14945c['toString']()):window[_0x23d582(0x20f)]['pushState']('','',_0x14945c[_0x23d582(0x159)]());}['getParam'](_0x4cb44a){const _0x33fd54=_0x1e40b1;var _0x1e8138;return(_0x1e8138=new URL(window[_0x33fd54(0x294)]['href'])['searchParams'][_0x33fd54(0x303)](_0x4cb44a))!=null?_0x1e8138:void 0x0;}}var Un=Object[_0x1e40b1(0x131)],Mn=Object['getOwnPropertyDescriptor'],An=(_0x58fe43,_0x42f7b3,_0x4dfe8e)=>_0x42f7b3 in _0x58fe43?Un(_0x58fe43,_0x42f7b3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dfe8e}):_0x58fe43[_0x42f7b3]=_0x4dfe8e,Pn=(_0x3de7df,_0x312cee,_0x4ef40b,_0xa92184)=>{const _0xb8de49=_0x1e40b1;for(var _0x53f6b1=_0xa92184>0x1?void 0x0:_0xa92184?Mn(_0x312cee,_0x4ef40b):_0x312cee,_0x54506d=_0x3de7df[_0xb8de49(0x2a6)]-0x1,_0x3046ec;_0x54506d>=0x0;_0x54506d--)(_0x3046ec=_0x3de7df[_0x54506d])&&(_0x53f6b1=_0x3046ec(_0x53f6b1)||_0x53f6b1);return _0x53f6b1;},Me=(_0x55404a,_0x285d79)=>(_0x5f2b21,_0x155361)=>_0x285d79(_0x5f2b21,_0x155361,_0x55404a),wn=(_0x51a661,_0x363681,_0x530bb3)=>An(_0x51a661,_0x363681+'',_0x530bb3);const yn=_0x1e40b1(0x2ca);let Ye=class extends _0x504480{constructor(_0x28cad9=_t,_0x4d10ca,_0xaf395e,_0x3f0881){const _0x46d427=_0x1e40b1;super(),this[_0x46d427(0x18b)]=_0x28cad9,this[_0x46d427(0x316)]=_0x4d10ca,this['_injector']=_0xaf395e,this[_0x46d427(0x264)]=_0x3f0881;const {..._0x131280}=_0x119aa6({},_t,this[_0x46d427(0x18b)]);this[_0x46d427(0x264)][_0x46d427(0x163)](hn,_0x131280);}[_0x1e40b1(0x2d9)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x1e40b1(0x11b)](){const _0x3691eb=_0x1e40b1;this[_0x3691eb(0x202)]();}[_0x1e40b1(0x181)](){const _0x89e362=_0x1e40b1;var _0x11b502;const _0x4360ab=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x53cf78,{'useClass':_0x4c4ca2}],[_0x51b584,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this['_config'][_0x89e362(0x10b)]&&_0x4360ab[_0x89e362(0x2e7)]([le]),_0x5c9d92(this[_0x89e362(0x2f1)],_0x1282ba(_0x4360ab,(_0x11b502=this[_0x89e362(0x18b)])==null?void 0x0:_0x11b502[_0x89e362(0x1cc)]));}[_0x1e40b1(0x202)](){const _0x130d18=_0x1e40b1;this[_0x130d18(0x286)](this[_0x130d18(0x316)]['registerRenderModule'](_0x25fa51['UNIVER_DOC'],[Fe])),this[_0x130d18(0x286)](this[_0x130d18(0x316)][_0x130d18(0x306)](_0x25fa51[_0x130d18(0x212)],[ke]));}[_0x1e40b1(0x139)](){const _0x5e2329=_0x1e40b1;_0x3ecbaa(this['_injector'],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x5e2329(0x18b)][_0x5e2329(0x10b)]&&_0x3ecbaa(this[_0x5e2329(0x2f1)],[[le]]);}};wn(Ye,_0x1e40b1(0x14b),yn),Ye=Pn([_0xe8bdb1(_0x485e39),Me(0x1,_0xef4dde),Me(0x2,_0x2c0e45(_0x3fc224)),Me(0x3,_0xaf39b9)],Ye);var $n=Object[_0x1e40b1(0xe0)],xn=(_0x1f039d,_0x1056a5,_0x41b13f,_0x98a6f)=>{for(var _0x504c05=_0x98a6f>0x1?void 0x0:_0x98a6f?$n(_0x1056a5,_0x41b13f):_0x1056a5,_0x2356f7=_0x1f039d['length']-0x1,_0x42307d;_0x2356f7>=0x0;_0x2356f7--)(_0x42307d=_0x1f039d[_0x2356f7])&&(_0x504c05=_0x42307d(_0x504c05)||_0x504c05);return _0x504c05;},J=(_0xe10560,_0x5c53ad)=>(_0x51d09c,_0x3677d0)=>_0x5c53ad(_0x51d09c,_0x3677d0,_0xe10560);let ut=class extends _0x4c670c{constructor(_0x2e2f18,_0x10b99e,_0x182e56,_0x217329,_0x5213c1){super(_0x2e2f18,_0x10b99e,_0x182e56,_0x217329,_0x5213c1);}async[_0x1e40b1(0x1e3)](_0x4cca47){const _0x568f9d=_0x1e40b1,_0x254cb3=await this[_0x568f9d(0x155)](),_0x43385b=this['_createSocketURL'](_0x4cca47,_0x254cb3);return this['_doCreateSocket'](_0x43385b);}[_0x1e40b1(0x134)](_0x1eaef6,_0x2f83e7){const _0x4eb782=_0x1e40b1,_0x406b0d=typeof window>'u'?new URL(_0x1eaef6):new URL(_0x1eaef6,window[_0x4eb782(0x294)][_0x4eb782(0xf8)]);_0x406b0d[_0x4eb782(0x28b)][_0x4eb782(0x1f3)]('sessionTicket',_0x2f83e7);const _0x164fd4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x164fd4[_0x4eb782(0x303)](_0x4eb782(0x13e))&&_0x406b0d[_0x4eb782(0x28b)]['set'](_0x4eb782(0x13e),_0x164fd4[_0x4eb782(0x303)](_0x4eb782(0x13e))),_0x406b0d[_0x4eb782(0x159)]();}async[_0x1e40b1(0x155)](){const _0x52013e=_0x1e40b1;var _0x4117d7,_0x9c0bd9,_0x3a3358;const _0x1708c6=this['_configService'][_0x52013e(0x1d3)](_0x7fd448),_0x22e8fc=(_0x4117d7=_0x1708c6==null?void 0x0:_0x1708c6[_0x52013e(0x236)])!=null?_0x4117d7:_0x3b6f;return(_0x3a3358=(_0x9c0bd9=(await this[_0x52013e(0x185)][_0x52013e(0x303)](_0x22e8fc,{'headers':{'Content-Type':_0x52013e(0x182)}}))[_0x52013e(0x13a)])==null?void 0x0:_0x9c0bd9['ticket'])!=null?_0x3a3358:'';}};ut=xn([J(0x0,_0x2c0e45(_0x3fc224)),J(0x1,_0x2c0e45(_0xb0aafa)),J(0x2,_0xaf39b9),J(0x3,_0x29510e),J(0x4,_0x6fbdfe)],ut);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x436748,_0x3de2e0,_0x42c0c2,_0x1615ce)=>{const _0x11fb28=_0x1e40b1;for(var _0xa22413=_0x1615ce>0x1?void 0x0:_0x1615ce?Bn(_0x3de2e0,_0x42c0c2):_0x3de2e0,_0x32fece=_0x436748[_0x11fb28(0x2a6)]-0x1,_0x4e7105;_0x32fece>=0x0;_0x32fece--)(_0x4e7105=_0x436748[_0x32fece])&&(_0xa22413=_0x4e7105(_0xa22413)||_0xa22413);return _0xa22413;},Ae=(_0x5cf8f9,_0x2a2757)=>(_0x3e83f,_0x1ae389)=>_0x2a2757(_0x3e83f,_0x1ae389,_0x5cf8f9);let dt=class extends _0x4e2370{constructor(_0x1c84a0,_0x1d82fc,_0x5d852c){const _0x2c5b70=_0x1e40b1;super(),this[_0x2c5b70(0xf5)]=_0x1c84a0,this[_0x2c5b70(0x185)]=_0x1d82fc,this[_0x2c5b70(0x264)]=_0x5d852c;}async[_0x1e40b1(0x2bb)](_0x335c8d,_0x14a894,_0x32e484,..._0x52e0d9){const _0x42b903=_0x1e40b1;var _0x2430c6,_0x1f80f0,_0x22e311,_0x251384;const _0x5546a3=this[_0x42b903(0xf5)][_0x42b903(0xe8)]();if(!_0x5546a3)throw new Error(_0x42b903(0x257));const _0x4e0bab=((_0x2430c6=this['_configService']['getConfig'](_0x50aa9c))!=null?_0x2430c6:_0x78af75)+'/'+_0x335c8d+_0x42b903(0x25c)+_0x14a894,_0x3a78fc=new URL(window[_0x42b903(0x294)][_0x42b903(0x272)]),_0xefaffd={'scriptId':_0x335c8d,'runId':(_0x1f80f0=_0x3a78fc[_0x42b903(0x28b)][_0x42b903(0x303)](_0x42b903(0x13e)))!=null?_0x1f80f0:'','function':_0x14a894,'unitId':_0x5546a3[_0x42b903(0x276)](),'argsOfFunction':JSON[_0x42b903(0x17e)](_0x52e0d9),'invokeId':(_0x22e311=_0x32e484[_0x42b903(0x142)])!=null?_0x22e311:'','executionId':(_0x251384=_0x32e484[_0x42b903(0x318)])!=null?_0x251384:''};try{const _0x5d72b3=await this['_httpService'][_0x42b903(0x259)](_0x4e0bab,{'body':_0xefaffd});return _0x5d72b3['body']['error']&&_0x5d72b3[_0x42b903(0x13a)][_0x42b903(0x2cd)][_0x42b903(0x320)]!==Z['OK']?_0x42b903(0x1d1):_0x5d72b3[_0x42b903(0x13a)][_0x42b903(0x22f)];}catch{return _0x42b903(0x1d1);}}};dt=Fn([Ae(0x0,_0x161ad0),Ae(0x1,_0x2c0e45(_0xb0aafa)),Ae(0x2,_0xaf39b9)],dt);const St=0x7530,It='ACTIVE_UNIT_EVENT_CHANNEL';class rr extends _0x4e2370{constructor(){const _0x2ffa62=_0x1e40b1;super(),_(this,_0x2ffa62(0x1c7),_0x2b8a5d()),_(this,_0x2ffa62(0x21d),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x2ffa62(0x2ba),null),_(this,_0x2ffa62(0xde),new Map()),_(this,'_unitStatus',new Map()),this[_0x2ffa62(0x17f)]();}[_0x1e40b1(0x234)](){const _0x2fb82c=_0x1e40b1;super['dispose'](),this[_0x2fb82c(0xde)][_0x2fb82c(0x150)]((_0x480cb9,_0x5496bd)=>this[_0x2fb82c(0x26b)](_0x5496bd)),this[_0x2fb82c(0x2ba)]&&window[_0x2fb82c(0x283)](this['_heartbeatTimer']);}['getUnitStatus$'](_0xb78bd){const _0x57cb2b=_0x1e40b1;return this[_0x57cb2b(0x1d0)](_0xb78bd)[_0x57cb2b(0x2b2)](_0x26115a());}[_0x1e40b1(0x24c)](_0x48bb75){const _0x1bd835=_0x1e40b1;this[_0x1bd835(0x21d)][_0x1bd835(0x177)]===0x0&&this[_0x1bd835(0x2a5)](),this[_0x1bd835(0x21d)][_0x1bd835(0x23e)](_0x48bb75),this[_0x1bd835(0x211)]({'type':0x0,'memberID':this[_0x1bd835(0x1c7)],'unitIDs':[_0x48bb75],'isForwarded':!0x1});}[_0x1e40b1(0xeb)](_0x69b78f){const _0x5e9c2e=_0x1e40b1;this['_selfUnitIDs']['delete'](_0x69b78f),this[_0x5e9c2e(0x21d)][_0x5e9c2e(0x177)]===0x0&&this['_heartbeatTimer']&&window[_0x5e9c2e(0x283)](this[_0x5e9c2e(0x2ba)]);}['_init'](){const _0x40e902=_0x1e40b1;this['disposeWithMe'](_0x4b734a(_0x336182(window,_0x40e902(0x1c5))['subscribe'](_0x3a598f=>{const _0x2295c6=_0x40e902;if(_0x3a598f[_0x2295c6(0x255)]!==It||!_0x3a598f[_0x2295c6(0x1ee)])return;const _0x5f0acb=JSON[_0x2295c6(0x1c4)](_0x3a598f['newValue']);this[_0x2295c6(0x119)](_0x5f0acb);}))),window[_0x40e902(0x1c6)](_0x40e902(0x2ea),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x40e902(0x2e6)](this[_0x40e902(0x21d)])}));}[_0x1e40b1(0x119)](_0x4d1af1){const _0x16c1ed=_0x1e40b1;switch(_0x4d1af1[_0x16c1ed(0xe4)]){case 0x0:this[_0x16c1ed(0x218)](_0x4d1af1);break;case 0x1:this['_handleLeaveEvent'](_0x4d1af1);break;case 0x2:this[_0x16c1ed(0x1c1)](_0x4d1af1);break;}}['_handleJoinEvent'](_0x2d9d61){const _0x22be5c=_0x1e40b1,{unitIDs:_0x18bbdd,memberID:_0x1e3b1c,isForwarded:_0x4d09a8}=_0x2d9d61;_0x18bbdd[_0x22be5c(0x150)](_0x5cf9f7=>{const _0x43ee75=_0x22be5c;if(!_0x4d09a8&&this[_0x43ee75(0x298)][_0x43ee75(0x176)](_0x5cf9f7)&&this[_0x43ee75(0x1d0)](_0x5cf9f7)[_0x43ee75(0x23a)](_0x114a9b[_0x43ee75(0x145)]),!this[_0x43ee75(0x298)]['has'](_0x5cf9f7)||!this[_0x43ee75(0x298)][_0x43ee75(0x303)](_0x5cf9f7)[_0x43ee75(0x176)](_0x1e3b1c)){const _0xdad10a=this['_unitOnClients']['get'](_0x5cf9f7)||new Set();_0xdad10a[_0x43ee75(0x23e)](_0x1e3b1c),this[_0x43ee75(0x298)][_0x43ee75(0x1f3)](_0x5cf9f7,_0xdad10a),this[_0x43ee75(0x277)](_0x1e3b1c);}}),_0x4d09a8||this['_send']({'type':0x0,'memberID':this[_0x22be5c(0x1c7)],'unitIDs':[...this[_0x22be5c(0x21d)]],'isForwarded':!0x0});}[_0x1e40b1(0x277)](_0x5ef45c){const _0x1d736f=_0x1e40b1;this['_removeClearOtherTimer'](_0x5ef45c);const _0x394ed7=window['setTimeout'](()=>{const _0x21c157=_0x38fa;this[_0x21c157(0x298)][_0x21c157(0x150)](_0x582544=>{const _0x5b0f6e=_0x21c157;_0x582544[_0x5b0f6e(0x27c)](_0x5ef45c);});},St*0x2);this['_clearOtherTimers'][_0x1d736f(0x1f3)](_0x5ef45c,_0x394ed7);}[_0x1e40b1(0x26b)](_0x2c2c53){const _0x1bd244=_0x1e40b1;if(this['_clearOtherTimers']['has'](_0x2c2c53)){const _0x445fc8=this['_clearOtherTimers'][_0x1bd244(0x303)](_0x2c2c53);_0x445fc8&&window['clearTimeout'](_0x445fc8),this['_clearOtherTimers']['set'](_0x2c2c53,null);}}['_handleLeaveEvent'](_0x5125f8){const _0x11a8e0=_0x1e40b1,{memberID:_0x2abb12,unitIDs:_0xc8b963}=_0x5125f8;_0xc8b963[_0x11a8e0(0x150)](_0x5a487f=>{const _0x4feea9=_0x11a8e0;var _0x48fe5f;const _0x4cb970=this[_0x4feea9(0x298)][_0x4feea9(0x303)](_0x5a487f);_0x4cb970&&(_0x4cb970[_0x4feea9(0x27c)](_0x2abb12),(_0x48fe5f=this[_0x4feea9(0x1d0)](_0x5a487f))==null||_0x48fe5f[_0x4feea9(0x23a)](_0x4cb970[_0x4feea9(0x177)]===0x0?_0x114a9b[_0x4feea9(0x1f9)]:_0x114a9b['OTHER_CLIENTS_EDITING']));}),this[_0x11a8e0(0x26b)](_0x2abb12);}['_handleHeartbeatEvent'](_0x570ecb){const _0x1e4796=_0x1e40b1;this[_0x1e4796(0x277)](_0x570ecb[_0x1e4796(0x207)]);}[_0x1e40b1(0x211)](_0x296fc5){const _0x4eed6f=_0x1e40b1;localStorage[_0x4eed6f(0x263)](It,JSON['stringify'](_0x296fc5));}['_scheduleHeartbeat'](){const _0x8e31b2=_0x1e40b1;this[_0x8e31b2(0x2ba)]=window[_0x8e31b2(0x21e)](()=>{const _0x359b08=_0x8e31b2;this[_0x359b08(0x211)]({'type':0x2,'memberID':this['_id']});},St);}[_0x1e40b1(0x1d0)](_0x1d4c01){const _0x4aaf74=_0x1e40b1;return this[_0x4aaf74(0x326)][_0x4aaf74(0x176)](_0x1d4c01)||this[_0x4aaf74(0x326)][_0x4aaf74(0x1f3)](_0x1d4c01,new _0xefb469(_0x114a9b[_0x4aaf74(0x1f9)])),this[_0x4aaf74(0x326)][_0x4aaf74(0x303)](_0x1d4c01);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
1
+ const _0x3cb6ec=_0x37dd;(function(_0xcf4176,_0x365f49){const _0xa1fbb5=_0x37dd,_0xb7b2fa=_0xcf4176();while(!![]){try{const _0x1fa02f=-parseInt(_0xa1fbb5(0x1b1))/0x1*(-parseInt(_0xa1fbb5(0x1b3))/0x2)+-parseInt(_0xa1fbb5(0x15b))/0x3+-parseInt(_0xa1fbb5(0x149))/0x4*(parseInt(_0xa1fbb5(0x2ce))/0x5)+parseInt(_0xa1fbb5(0x189))/0x6*(parseInt(_0xa1fbb5(0x26b))/0x7)+-parseInt(_0xa1fbb5(0x1ce))/0x8*(-parseInt(_0xa1fbb5(0x1cc))/0x9)+parseInt(_0xa1fbb5(0x1de))/0xa*(-parseInt(_0xa1fbb5(0x16d))/0xb)+parseInt(_0xa1fbb5(0x186))/0xc;if(_0x1fa02f===_0x365f49)break;else _0xb7b2fa['push'](_0xb7b2fa['shift']());}catch(_0x2c570e){_0xb7b2fa['push'](_0xb7b2fa['shift']());}}}(_0x2596,0xda6b0));var Yt=Object[_0x3cb6ec(0x26d)],Wt=(_0x452b77,_0x3064db,_0x4cf36f)=>_0x3064db in _0x452b77?Yt(_0x452b77,_0x3064db,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cf36f}):_0x452b77[_0x3064db]=_0x4cf36f,_=(_0x225c9a,_0x39a4a2,_0x1dad1f)=>Wt(_0x225c9a,typeof _0x39a4a2!=_0x3cb6ec(0x34d)?_0x39a4a2+'':_0x39a4a2,_0x1dad1f);import{jsx as _0x2023d0,jsxs as _0x23eeab}from'react/jsx-runtime';import{CollaborationStatus as _0x200bcf,CollaborationSessionService as _0x590570,CollaborationController as _0x504f1c,DataLoaderService as _0xe4580,MemberService as _0x18e487,SessionStatus as _0x344d35,CollaborationUIEventService as _0x759b59,CollaborationUIEventId as _0x41c066,ILocalCacheService as _0x14d7c0,DocCollaborationEntity as _0x4e6a63,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x539b6c,getLocalCacheKey as _0x5cdbfc,LOCAL_CACHE_INTERVAL as _0x4d3e52,LOCAL_CACHE_INTERVAL_KEY as _0x31da43,UniverCollaborationClientPlugin as _0x3f0f92,CollaborationSocketService as _0x2a89a3,DEFAULT_WS_SESSION_TICKET_URL as _0x166c4e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x159c68,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2130a8,UnitStatus as _0x4df22f}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x85763a,Inject as _0x37d941,Injector as _0x4a07ef,Disposable as _0x1249d3,IUniverInstanceService as _0x1a9089,createIdentifier as _0x3ee087,Optional as _0x559289,RxDisposable as _0x3d678c,Workbook as _0x41b79a,ILogService as _0x4ca09d,ICommandService as _0x9d66d8,DOC_RANGE_TYPE as _0x5f4128,debounce as _0x1ef6bc,Rectangle as _0x37bf32,DisposableCollection as _0x146129,toDisposable as _0x5cbe05,UniverInstanceType as _0x25d838,generateRandomId as _0x1b66d4,COLORS as _0xd2c928,ColorKit as _0x146370,ThemeService as _0x487baa,fromEventSubject as _0x5c469e,Tools as _0x1fa2d7,CommandType as _0x5ed3dc,CanceledError as _0x400542,isFormulaString as _0xfcd8de,isFormulaId as _0x2a2e73,IConfigService as _0x269b4f,ILocalStorageService as _0x13c2ab,DependentOn as _0x2b3291,Plugin as _0x3f6291,merge as _0xe22b41,registerDependencies as _0x5dde57,mergeOverrideWithDependencies as _0x319ca5,touchDependencies as _0x4d625a}from'@univerjs/core';import{useObservable as _0x3162ee,useDependency as _0x2d588a,BuiltInUIPart as _0x20d64a,connectInjector as _0x2232d8,IUIPartsService as _0x46572e,IBeforeCloseService as _0x5e2fbc,IMessageService as _0x35e834,INotificationService as _0x312480}from'@univerjs/ui';import{BehaviorSubject as _0x2dcff1,switchMap as _0x47ae6d,of as _0x45476a,takeUntil as _0x253d09,debounceTime as _0x511f05,Subject as _0x40bdb3,filter as _0x198267,merge as _0x1fe3be,combineLatest as _0x531965,fromEvent as _0x3efde8,shareReplay as _0x3c1ebb,mapTo as _0x2b7ce5,distinctUntilChanged as _0x1ea71e}from'rxjs';import{Tooltip as _0x2cfc89,clsx as _0x3758e3,MessageType as _0x1ad090}from'@univerjs/design';import{useRef as _0x312d5a,createElement as _0x33783e,forwardRef as _0x4b3f25,useCallback as _0x575b12}from'react';function _0x37dd(_0x46ab8f,_0x127b3e){_0x46ab8f=_0x46ab8f-0x11e;const _0x25963c=_0x2596();let _0x37ddf5=_0x25963c[_0x46ab8f];return _0x37ddf5;}import{IRemoteInstanceService as _0x29d080}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x49822a,RefRangeService as _0xefb922,SetSelectionsOperation as _0x6cd446,SheetsSelectionsService as _0x8210bd,EffectRefRangId as _0x527a3d,handleIRemoveRow as _0x154834,handleIRemoveCol as _0x3bdf5a,handleMoveRange as _0x503441,handleInsertRow as _0x3ea12c,handleInsertRangeMoveRight as _0x5996d6,handleInsertRangeMoveDown as _0x228ade,handleInsertCol as _0x34ff64,handleDeleteRangeMoveUp as _0x311bfe,handleDeleteRangeMoveLeft as _0xd51712,runRefRangeMutations as _0x3b54b9}from'@univerjs/sheets';import{Shape as _0x32b61a,Rect as _0x3254d6,getColor as _0x20a918,RegularPolygon as _0x549041,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x56267a,Vector2 as _0x498898,SHEET_VIEWPORT_KEY as _0x6df454,IRenderManagerService as _0x263319}from'@univerjs/engine-render';import{HTTPService as _0x3ac830,ISocketService as _0xcaa6e6,WebSocketService as _0x511b43}from'@univerjs/network';import{IDocClipboardService as _0x192d52,NodePositionConvertToCursor as _0x5a3ddd,NodePositionConvertToRectRange as _0xa12ccc,TEXT_RANGE_LAYER_INDEX as _0x57a799,SetDocZoomRatioOperation as _0x5f2fa5,DocIMEInputManagerService as _0x43bc1f,DocStateChangeManagerService as _0x3a2278}from'@univerjs/docs-ui';import{IImageIoService as _0x144d2f}from'@univerjs/drawing';function _0x2596(){const _0x5db6f2=['clearTimeout','code','SNAPSHOT_INVALID_SNAPSHOT','_handleHeartbeatEvent','transformStateCache','_colorIndex','getActiveSheet','NOT_COLLAB','_getSaveTimeout','INVITE_CODE_HAS_BEEN_UES','_transformPreviousActiveRange','evenodd','/universer-api/license/formula/limit/start','DeleteRangeMoveUpCommandId','status$','onCommandExecuted','getUnitId','LICENSE_DISTRO_REJECTED','getCollabEntity$','InsertRowCommandId','enableFrontendLog','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','univer-flex\x20univer-items-center','type','Failed','UNAUTHENTICATED','stringify','_syncEditingCollabCursorService','_id','on-line-icon','_backgroundColor','MoveRangeCommandId','DeleteRangeMoveLeftCommandId','getMergeData','green.600','key','_urlService','_monkeyPatchLogService','_cursorInfo$','_updateLocalCursor','_createSocketURL','_initResize','_hovered','collaboration.single-unit.warning','_maxFormulaLimit','column','registerBeforeClose','INVITE_CODE_ALREADY_BOUND','collaboration.closeRoom','push','getCollabCursors$','activeSheet$','isArray','lineno','parse','registerRenderModule','_sheetSkeletonManagerService','_notificationService','add','getItem','random','syncEditingCollabCursor','font','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_getFormulaLimitStatus','YUUMI_UNABLE_LOAD_URL','_hasFormulaInDirtyRanges','translate(.97)','getMemberID','editingUnit','with','registerRefRange','/run/','INVALID_ARGUMENT','docStateChange$','removeParam','PY_RUNTIME_SCRIPT_ERROR','setShapeProps','_setupBeforeClosingHandler','_localCacheService','mutations','_initCommandExecutedListener','224952AXVbhH','getUnit','defineProperty','getFocusedUnit','_toggleOffline','_updateCollabCursors','has','shift','_scheduleHeartbeat','ALREADY_EXISTS','_disabled','getStateCache','NOT_FOUND','_textBubble','find','InsertRangeMoveDownCommandId','moveTo','collabStatus.conflict','then','_online','wsSessionTicketUrl','CHANGESET_REVISION_CONFILICT','_hover','_onCursorUpdate','restore','REDEMPTION_USER_REDEEM_TIMES_EXCEED','drawWith','WECHAT_HAS_BEEN_BOUND','doc.mutation.rich-text-editing','getValue','EMAIL_HAS_BEEN_BOUND','dispose$','_initUserListener','error','complete','APPLY_DUPLICATED','getCurrent','_collabCursorState$','current','collab-text-range-','getSheetBySheetId','APPLY_PERMISSION_DENIED','formula.calculation.started','result','YUUMI_URL_COL_OUT_OF_RANGE','div','onTransformChange$','urlChange$','REDEMPTION_CODE_INACTIVE','getParam','delete','...','FromArray','fillStyle','width','USER_NOT_FOUND','popstate','toRgbString','saveImage','transformMutationsWithChangeset','getUndoRedoMutationParamsCache','_toggleOnline','_releaseCalculationLimit','displayName','measureText','params','forEach','loadUnit','setAlpha','body','onPointerEnter$','resize','length','APPLY_REJECT','unshift','currentColor','roomMembers','_uiPartsService','uni.network.url-service','session.will-retry','_drawAnchor','_initEntityListener','runOnServer','memberID','1em','sheetId','REDEMPTION_USER_NOT_ELIGIBLE','executionId','_handleEvent','entityInit$','addEventListener','getOwnPropertyDescriptor','_collabSessionService','_draw','height','bind','_messageService','newValue','limitInfo','5PIWDfu','filename','ENTITLE_INVALID_COUPON_CODE','addClipboardHook','_refreshCollabCursors','getCurrentSelections','runId','_lastResponseTimestamp','roomMembers$','requireSession','InsertRangeMoveRightCommandId','transformMutation','debug','YUUMI_SUBSCRIPTION_NOT_FOUND','ENTITLE_INSUFFICIENT_QUOTA','_collabCursorController','clearInterval','_shapes','_httpService','_config','disableLocalCache','getCurrentUnitForType','_handleJoinEvent','text','row','LOGIN_TOKEN_PROCESSING_FAILED','MUTATION','url(#$1','getSheetId','dispose','createSocket','UNIVER_DOC','entries','ENTITLE_DUP_SUBSCRIPTION','selections','beforeCommandExecuted','MOBILE_HAS_BEEN_BOUND','arc','session.collaboration-timeout','_pollingInterval','getAncestorScale','_docSyncEditingCollabCursorService','_drawTextRange','UNRECOGNIZED','UPDATE_CURSOR','getConfig','onStarting','defs','REDEMPTION_CODE_FULLY_REDEEMED','_renderManagerService','_ensureSubject','maxFormulaLimit','getUnitStatus$','clipPath','findNodePositionByCharIndex','INTERNAL_ERROR','currentUsage','_initStatusListener','_handleHover','_startCalculationLimit','CLOSE_ROOM','UNDEFINED','data','_transformService','permission.title','_configService','setItem','REDEMPTION_CODE_HAS_BEEN_CREATED','_onCursorDelete','_entities','enableLocalCache','_entityInit$','name','deepClone','setTimeout','HEADER_MENU','subscribe','_clearOtherTimers','subscribeEvent','LICENSE_EXPORT_SIZE_EXCEEDED','currentSkeleton$','bottom','APPLY_REVISION_CONFILICT','LICENSE_MAX_UNITS_EXCEEDED','show','_color','TEXT','_taskIds','_collaborationController','path','m1Prime','_docSkeletonManagerService','onPointerLeave$','ENTITLE_COUPON_EXPIRED','url(#on-line-icon_clip0_910_349)','_memberID','getRelativeToViewportCoord','_eventUnsubscribe','onRendered','collab-client.tooltip.reconnect','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unhandledrejection','session.connection-failed','endColumn','getFormulaLimitStatusUrl','_initWindowErrorListener','event$','assignAColorForMemberID','OTHER_CLIENTS_EDITING','get','_registerDependencies','removeEventListener','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_initDependencies','svg','_scheduleClearOtherTimer','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','collab-text-anchor-','INVITE_CODE_REQUIRED','_onRefRangeChange','ENTITLE_CAN_NOT_BUY_LOWER_OTP','setConfig','labelPosition','skeleton','_labelPosition','_dataLoaderService','SYNCED','symbol','_saveCache','eventID','[Window\x20Error]:\x20','UNIVER_SHEET','top','history','engine','_initEvent','ONLINE','updateOfflineData','_anchorDot','onLocalMutation','saveTaskMap','_getMergeRange','textRanges','_docClipboardService','SNAPSHOT_HAS_BEEN_REMOVED','map','post','_cursor','parseInt','getRangePointData','stack','_localeService','getActiveRange','_hideTimer','\x20at\x20','DATA_SOURCE_TOO_LARGE','asObservable','collaboration-client-ui.config','_setFormulaLimitStatus','getDocRanges','_unitOnClients','save','storage','endRow','AUTHORIZE_CODE_ILLEGAL','pluginName','_colorAssignService','size','unit','_range','_getAnchorBounding','YUUMI_AI_RUN_FAILED','startRow','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ENTITLE_CHAT_LIMIT_EXCEED','InsertColCommandId','[CollaborationDataLoaderController]','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','max','_logService','_collaborationSessionService','collabStatus.offline','mask','_assignedColors','getUniverSheetInstance','transformByState','TOO_MANY_REQUESTS','unload','USER_IS_ANONYMOUS','color','_cachedData','catch','purple.300','RECT','transformSelections','subunit','_transformHistoryAndStateStack','CURRENT_STATUS_CANNOT_OPERATE','makeDirty','selection','attrs','YUUMI_ALL_TABLES_IS_INVALID','REDEMPTION_INVALID_CODE','_refRangeService','Warning','beginPath','lineTo','pushState','unsubscribe','_injector','values','getTypeOfUnitAdded$','APPLY_NON_SEQUENTIAL_REVISION','collabCursorState$','_registerRenderDependencies','reconnect','ENTITLE_NEED_BILLING_ADDRESS','_currentUsage','addObjects','_collaborationUIEventService','REDEMPTION_CODE_NOT_STARTED','includes','isActive','_removeCollabCursors','onMouseMove','_themeService','3555412gQYUfZ','ticket','getColorFromTheme','_scheduleSaving','[LogService\x20Error]:\x20','m2Prime','use','addObject','replaceState','replace','_checkCalculationAvailable','_docTransformSelectionsService','_scene','Error','PERMISSION_DENIED','getCurrentRevOfUnit','startFormulaLimitUrl','LICENSE_IMPORT_SIZE_EXCEEDED','4313058lLxLXZ','setActiveRange','disposeUnit','_saveTaskMap','_cursors','join','getViewport','backgroundColor','setInterval','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','assign','_getScale','_roomMembers$','RemoveColCommandId','defIds','_initCommandInterceptor','collaboration.offline-data-not-saved','override','277629pxxxul','/universer-api/license/formula/limit/status','Loading','getMember','_unitStatus','colno','_send','triggerDblclick','SOCKET_FAILED_RETRY','ACTIVE_UNIT_EVENT_CHANNEL','_startSheetCollabCursor','unitId','set','_memberService','YUUMI_ASYNCIO_CANCELLED','_init','redoState','0\x200\x2016\x2016','_startDocCollabCursor','_getSheetObject','message','_name','dirtyRanges','EMAIL_VERIFY_CODE_MISMATCH','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','32466624BOaXRd','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','sessionStatus$','174JtXLfS','invokeId','off-line-icon_clip0_910_343','Unknown\x20user','undoState','white','xlink:href','_removeClearOtherTimer','getUnhiddenWorksheets','location','_instanceService','on-line-icon_clip0_910_349','getSkeleton','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','reason','contains','jiqing.500','getRenderById','JOIN_ROOM_FAILED','_checkAndWaitForCalculationPermission','_session','USERS_LEAVE','setParam','[Unhandled\x20Rejection]:\x20','setUndoRedoMutationParamsCache','_clearPolling','ENTITLE_REPORT_LIMIT_EXCEED','toString','unitID','currentTheme$','searchParams','black','_docTransformIMECacheService','off-line-icon','transformIMECache','?taskId=','univer-mr-2\x20univer-flex\x20univer-text-xl','subUnitId','OffLineIcon','MOBILE_VERIFY_CODE_MISMATCH','117052qwGnKq','_commandService','6ZOaPVr','YUUMI_RATE_OVER_LIMIT','red.300','init','createInstance','origin','href','children','_revisionService','_showGuardMessage','transformRemoteChangeset','executeCommand','fillText','_uploadLog','actions','univerjs-icon\x20univerjs-icon-','_render','range','colorChannel1','blue.400','YUUMI_NO_CUBOID_FOR_QUESTION','_initStatusComponent','ENSURE_SNAPSHOT_EXECUTION','saveOfflineData','_anchor','588726jbEXfY','yellow.400','8NvwokO','addHandlerCallback','LOGIN_FAILED','stage','collabStatus.syncing','none','getOffsetConfig','getCellPositionByOffset','START_CALCULATION','ENTITLE_COUPON_USED_UP','_getSessionTicket','_context','transform','hide','setStateCache','fillRule','330DtvHqu','AWAITING','Success','trim','_heartbeatTimer','_docStateChangeManagerService','_updateSubUnitFromURLParams','formula.calculation.unable','totalFormulasToCalculate','#FFF','now','0\x200\x2017\x2016','getTypeOfUnitDisposed$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','USER_NOT_INVITED_CODE','VIEW_MAIN','PAYMENT_CHANNEL_NOT_SUPPORT','fill','formula.calculation.waiting','_cursorShapes','disposeWithMe','_handleLeaveEvent','_transformUndoRedoStack','_beforeCloseService','pipe','_univerInstanceService','next','tag','_applyCommand','exhaustSavingTask','_localStorageService','send','getVpScrollXYInfoByPosToVp','_status$','NO_OTHER_CLIENTS_EDITING','/universer-api/license/formula/limit/done','COMPLETION_FINISHED','stageInfo','from','cursorInfo','round','startColumn','INVALID_INVITE_CODE','ERROR_AGAIN','idSuffix','cursorInfo$','functionsExecutedState','_updateURLWithCurrentState','search','_selfUnitIDs','http://www.w3.org/2000/svg','ranges','imageSourceType','RemoveRowCommandId','CONFLICT','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_lastPointer','string','M0\x200H16V16H0z'];_0x2596=function(){return _0x5db6f2;};return _0x2596();}import{CollaborationEvent as _0x3d5a79,isTransformMutationFailure as _0x2f71ef,ITransformService as _0x397a7,isTransformMutationsWithChangesetSuccess as _0x215d32,RevisionService as _0x13530d,ISnapshotServerService as _0x5f590d}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x56374f,RichTextEditingMutation as _0xedfca,DocSelectionManagerService as _0x18c59e,DocSkeletonManagerService as _0x18f067}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x3fa163,serializeRangeWithSheet as _0x3044ed,FormulaExecuteStageType as _0x2a77cf,FormulaExecutedStateType as _0x2943c3,SetFormulaCalculationStartMutation as _0x9617aa,SetFormulaCalculationNotificationMutation as _0x576616}from'@univerjs/engine-formula';import{map as _0x3ed505,filter as _0x2447d5,throttleTime as _0x46f260,takeUntil as _0x55ec99,switchMap as _0x10d677}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4a6460,getCoordByCell as _0x341694,getSheetObject as _0x1c0dfd}from'@univerjs/sheets-ui';function Ge({ref:_0x3b754f,..._0x2322aa}){const _0x2a9520=_0x3cb6ec,{icon:_0x2905e2,id:_0x472080,className:_0xe35f6c,extend:_0x410a3e,..._0x28a446}=_0x2322aa,_0x303083=(_0x2a9520(0x1c2)+_0x472080+'\x20'+(_0xe35f6c||''))[_0x2a9520(0x1e1)](),_0x15d240=_0x312d5a('_'+vi());return At(_0x2905e2,''+_0x472080,{'defIds':_0x2905e2[_0x2a9520(0x169)],'idSuffix':_0x15d240[_0x2a9520(0x291)]},{'ref':_0x3b754f,'className':_0x303083,..._0x28a446},_0x410a3e);}function At(_0x2d7ccd,_0x335cbe,_0x57ad1d,_0x5c147f,_0x140d9d){const _0x1bee2a=_0x3cb6ec;return _0x33783e(_0x2d7ccd[_0x1bee2a(0x1f9)],{'key':_0x335cbe,...gi(_0x2d7ccd,_0x57ad1d,_0x140d9d),..._0x5c147f},(Ei(_0x2d7ccd,_0x57ad1d)[_0x1bee2a(0x1ba)]||[])[_0x1bee2a(0x35f)]((_0x359846,_0x30bbaf)=>At(_0x359846,_0x335cbe+'-'+_0x2d7ccd[_0x1bee2a(0x1f9)]+'-'+_0x30bbaf,_0x57ad1d,void 0x0,_0x140d9d)));}function gi(_0x7a5500,_0x24c590,_0x3e88af){const _0x3dfebc=_0x3cb6ec,_0x4e233={..._0x7a5500[_0x3dfebc(0x12f)]};_0x3e88af!=null&&_0x3e88af[_0x3dfebc(0x1c5)]&&_0x4e233[_0x3dfebc(0x1ef)]===_0x3dfebc(0x1c5)&&(_0x4e233['fill']=_0x3e88af[_0x3dfebc(0x1c5)]),_0x7a5500[_0x3dfebc(0x1f9)]==='mask'&&_0x4e233['id']&&(_0x4e233['id']=_0x4e233['id']+_0x24c590[_0x3dfebc(0x20a)]),Object[_0x3dfebc(0x2ee)](_0x4e233)['forEach'](([_0x537e0d,_0x542af0])=>{const _0x108c36=_0x3dfebc;_0x537e0d===_0x108c36(0x384)&&typeof _0x542af0=='string'&&(_0x4e233[_0x537e0d]=_0x542af0[_0x108c36(0x152)](/url\(#(.*)\)/,_0x108c36(0x2e9)+_0x24c590[_0x108c36(0x20a)]+')'));});const {defIds:_0x4bd73e}=_0x24c590;return!_0x4bd73e||_0x4bd73e[_0x3dfebc(0x2b3)]===0x0||(_0x7a5500[_0x3dfebc(0x1f9)]===_0x3dfebc(0x14f)&&_0x4e233[_0x3dfebc(0x18f)]&&(_0x4e233[_0x3dfebc(0x18f)]=_0x4e233['xlink:href']+_0x24c590[_0x3dfebc(0x20a)]),Object['entries'](_0x4e233)[_0x3dfebc(0x2ad)](([_0x9eae5d,_0x3360e1])=>{const _0x581cef=_0x3dfebc;typeof _0x3360e1==_0x581cef(0x217)&&(_0x4e233[_0x9eae5d]=_0x3360e1[_0x581cef(0x152)](/url\(#(.*)\)/,'url(#$1'+_0x24c590[_0x581cef(0x20a)]+')'));})),_0x4e233;}function Ei(_0x35816e,_0x2db8be){const _0x46d986=_0x3cb6ec;var _0x18bff7;const {defIds:_0x4a06f7}=_0x2db8be;return!_0x4a06f7||_0x4a06f7[_0x46d986(0x2b3)]===0x0?_0x35816e:_0x35816e[_0x46d986(0x1f9)]===_0x46d986(0x2fd)&&((_0x18bff7=_0x35816e[_0x46d986(0x1ba)])!=null&&_0x18bff7[_0x46d986(0x2b3)])?{..._0x35816e,'children':_0x35816e[_0x46d986(0x1ba)][_0x46d986(0x35f)](_0x280fb3=>typeof _0x280fb3[_0x46d986(0x12f)]['id']=='string'&&_0x4a06f7&&_0x4a06f7[_0x46d986(0x144)](_0x280fb3[_0x46d986(0x12f)]['id'])?{..._0x280fb3,'attrs':{..._0x280fb3[_0x46d986(0x12f)],'id':_0x280fb3['attrs']['id']+_0x2db8be[_0x46d986(0x20a)]}}:_0x280fb3)}:_0x35816e;}function vi(){const _0x1f63bf=_0x3cb6ec;return Math[_0x1f63bf(0x255)]()[_0x1f63bf(0x1a4)](0x24)['substring'](0x2,0x8);}Ge[_0x3cb6ec(0x2aa)]='UniverIcon';const pi={'tag':_0x3cb6ec(0x340),'attrs':{'xmlns':_0x3cb6ec(0x210),'fill':_0x3cb6ec(0x1d3),'viewBox':_0x3cb6ec(0x17e),'width':_0x3cb6ec(0x2bf),'height':_0x3cb6ec(0x2bf)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x3cb6ec(0x327),'attrs':{'stroke':_0x3cb6ec(0x2b6),'d':_0x3cb6ec(0x187),'strokeLinecap':_0x3cb6ec(0x206),'strokeLinejoin':_0x3cb6ec(0x206),'strokeWidth':1.2}}]},{'tag':_0x3cb6ec(0x2fd),'attrs':{},'children':[{'tag':_0x3cb6ec(0x303),'attrs':{'id':_0x3cb6ec(0x18b)},'children':[{'tag':_0x3cb6ec(0x327),'attrs':{'fill':_0x3cb6ec(0x18e),'d':_0x3cb6ec(0x218)}}]}]}],'defIds':[_0x3cb6ec(0x18b)]},Pt=_0x4b3f25(function(_0x2a32f8,_0x24e11b){const _0x39b7a9=_0x3cb6ec;return _0x33783e(Ge,Object[_0x39b7a9(0x165)]({},_0x2a32f8,{'id':_0x39b7a9(0x1aa),'ref':_0x24e11b,'icon':pi}));});Pt[_0x3cb6ec(0x2aa)]=_0x3cb6ec(0x1af);const Oi={'tag':_0x3cb6ec(0x340),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3cb6ec(0x1d3),'viewBox':_0x3cb6ec(0x1e9),'width':'1em','height':_0x3cb6ec(0x2bf)},'children':[{'tag':'g','attrs':{'clipPath':_0x3cb6ec(0x32c)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x3cb6ec(0x164),'strokeLinecap':_0x3cb6ec(0x206),'strokeLinejoin':_0x3cb6ec(0x206),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3cb6ec(0x194)},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x3cb6ec(0x25c)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},wt=_0x4b3f25(function(_0x11479a,_0x4db1e7){const _0x5f29b8=_0x3cb6ec;return _0x33783e(Ge,Object[_0x5f29b8(0x165)]({},_0x11479a,{'id':_0x5f29b8(0x236),'ref':_0x4db1e7,'icon':Oi}));});wt[_0x3cb6ec(0x2aa)]='OnLineIcon';function Ti(_0x2cce77){const _0x4f10cc=_0x3cb6ec;switch(_0x2cce77){case _0x200bcf['OFFLINE']:return _0x4f10cc(0x383);case _0x200bcf[_0x4f10cc(0x214)]:return _0x4f10cc(0x27c);case _0x200bcf['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x200bcf[_0x4f10cc(0x220)]:return'collabStatus.notCollab';case _0x200bcf[_0x4f10cc(0x1df)]:case _0x200bcf['AWAITING_WITH_PENDING']:return _0x4f10cc(0x1d2);case _0x200bcf[_0x4f10cc(0x34c)]:case _0x200bcf['PENDING']:return'collabStatus.synced';}}function Ci(_0x55a7f6){const _0x5bcbc5=_0x3cb6ec,{status$:_0x2f71b9}=_0x55a7f6,_0x5c391e=_0x3162ee(_0x2f71b9,_0x200bcf['NOT_COLLAB']),_0x5e71ad=_0x2d588a(_0x85763a),_0x16ffc5=_0x2d588a(_0x590570),_0xe92ce2=_0x5c391e!==_0x200bcf['OFFLINE'],_0x3ab730=_0x5e71ad['t'](Ti(_0x5c391e)),_0x2b9477=_0xe92ce2?_0x2023d0(wt,{}):_0x2023d0(Pt,{}),_0x2d777b=_0x575b12(()=>{const _0x4fb372=_0x37dd;_0xe92ce2||_0x16ffc5[_0x4fb372(0x13e)]();},[_0xe92ce2,_0x16ffc5]);function _0x25e712(){const _0x178552=_0x37dd;return _0x23eeab(_0x178552(0x298),{'className':_0x178552(0x22f),'onClick':_0x2d777b,'children':[_0x2023d0(_0x178552(0x298),{'className':_0x3758e3(_0x178552(0x1ad),{'univer-text-green-500':_0xe92ce2,'univer-text-red-500':!_0xe92ce2}),'children':_0x2b9477}),_0x2023d0('div',{'className':_0x178552(0x215),'children':_0x3ab730})]});}return _0xe92ce2?_0x25e712():_0x2023d0(_0x2cfc89,{'title':_0x5e71ad['t'](_0x5bcbc5(0x331)),'children':_0x25e712()});}var Ri=Object[_0x3cb6ec(0x2c6)],Di=(_0x12a514,_0x572e61,_0xff5cda,_0xc1f453)=>{const _0xa6e676=_0x3cb6ec;for(var _0x1a9d50=_0xc1f453>0x1?void 0x0:_0xc1f453?Ri(_0x572e61,_0xff5cda):_0x572e61,_0x574c23=_0x12a514[_0xa6e676(0x2b3)]-0x1,_0x21a0a9;_0x574c23>=0x0;_0x574c23--)(_0x21a0a9=_0x12a514[_0x574c23])&&(_0x1a9d50=_0x21a0a9(_0x1a9d50)||_0x1a9d50);return _0x1a9d50;},se=(_0x191f6d,_0x29e589)=>(_0x11b40c,_0x5779cd)=>_0x29e589(_0x11b40c,_0x5779cd,_0x191f6d);let ae=class extends _0x1249d3{constructor(_0x334bce,_0xdbc1e7,_0x4073a4,_0x1be56b){const _0x1f4431=_0x3cb6ec;super(),_(this,_0x1f4431(0x1ff),new _0x2dcff1(_0x200bcf[_0x1f4431(0x220)])),(this[_0x1f4431(0x1f7)]=_0x334bce,this[_0x1f4431(0x138)]=_0xdbc1e7,this[_0x1f4431(0x326)]=_0x4073a4,this[_0x1f4431(0x2b8)]=_0x1be56b,this['_initStatusComponent'](),this[_0x1f4431(0x307)]());}['_initStatusListener'](){const _0x277a8b=_0x3cb6ec;this[_0x277a8b(0x1f2)](this[_0x277a8b(0x1f7)]['focused$'][_0x277a8b(0x1f6)](_0x47ae6d(()=>{const _0x2825b9=_0x277a8b,_0x41476c=this[_0x2825b9(0x1f7)][_0x2825b9(0x26e)]();return _0x41476c?this[_0x2825b9(0x326)][_0x2825b9(0x22b)](_0x41476c[_0x2825b9(0x229)]()):_0x45476a(null);}),_0x47ae6d(_0x52dd1c=>_0x52dd1c?_0x52dd1c[_0x277a8b(0x227)]:_0x45476a(_0x200bcf[_0x277a8b(0x220)])))[_0x277a8b(0x31a)](_0x4ff136=>{const _0x3c94cf=_0x277a8b;this[_0x3c94cf(0x1ff)][_0x3c94cf(0x1f8)](_0x4ff136);}));}[_0x3cb6ec(0x1c8)](){const _0x3364fe=_0x3cb6ec;this[_0x3364fe(0x1f2)](this['_uiPartsService']['registerComponent'](_0x20d64a[_0x3364fe(0x319)],()=>_0x2232d8(Ni({'status$':this['_status$']['asObservable']()}),this[_0x3364fe(0x138)])));}};ae=Di([se(0x0,_0x1a9089),se(0x1,_0x37d941(_0x4a07ef)),se(0x2,_0x37d941(_0x504f1c)),se(0x3,_0x46572e)],ae);function Ni(_0xcdfee2){const {status$:_0x1eb0fc}=_0xcdfee2;return function(){return _0x2023d0(Ci,{'status$':_0x1eb0fc});};}const yt=_0x3ee087(_0x3cb6ec(0x2b9));var bi=Object[_0x3cb6ec(0x2c6)],Li=(_0x4f2108,_0x1ad317,_0x2a67ae,_0x12cb80)=>{const _0x368de8=_0x3cb6ec;for(var _0x1169b3=_0x12cb80>0x1?void 0x0:_0x12cb80?bi(_0x1ad317,_0x2a67ae):_0x1ad317,_0x4c7fca=_0x4f2108[_0x368de8(0x2b3)]-0x1,_0x15e77b;_0x4c7fca>=0x0;_0x4c7fca--)(_0x15e77b=_0x4f2108[_0x4c7fca])&&(_0x1169b3=_0x15e77b(_0x1169b3)||_0x1169b3);return _0x1169b3;},K=(_0x3538d6,_0x50a6be)=>(_0x3802cb,_0x109298)=>_0x50a6be(_0x3802cb,_0x109298,_0x3538d6);let ce=class extends _0x3d678c{constructor(_0x131ef1,_0x560152,_0x1dfa70,_0x5b85c8,_0x3388e6){const _0x3f43cf=_0x3cb6ec;super(),this['_urlService']=_0x131ef1,this[_0x3f43cf(0x381)]=_0x560152,this[_0x3f43cf(0x1b2)]=_0x1dfa70,this['_dataLoaderService']=_0x5b85c8,_0x3388e6?_0x3388e6==null||_0x3388e6['whenReady']()[_0x3f43cf(0x27d)](()=>this['_init']()):(this[_0x3f43cf(0x381)][_0x3f43cf(0x2da)](_0x3f43cf(0x37e),_0x3f43cf(0x37b)),this[_0x3f43cf(0x17c)]());}async[_0x3cb6ec(0x17c)](){const _0x80b9dd=_0x3cb6ec,_0x308b90=this[_0x80b9dd(0x23d)][_0x80b9dd(0x29c)](_0x80b9dd(0x376)),_0x1de6b2=this[_0x80b9dd(0x23d)][_0x80b9dd(0x29c)](_0x80b9dd(0x230)),_0x1450a8=this[_0x80b9dd(0x23d)][_0x80b9dd(0x29c)]('subunit');if(!_0x308b90||!_0x1de6b2){this['_logService'][_0x80b9dd(0x2da)]('[CollaborationDataLoaderController]',_0x80b9dd(0x332));return;}const _0x3adfd5=await this[_0x80b9dd(0x34b)][_0x80b9dd(0x2ae)](_0x308b90,Number(_0x1de6b2),_0x1450a8);_0x3adfd5&&_0x3adfd5 instanceof _0x41b79a&&this['_setupSubUnitSync'](_0x3adfd5);}async['_setupSubUnitSync'](_0x3432c3){const _0x46e6f4=_0x3cb6ec;await this[_0x46e6f4(0x1e4)](_0x3432c3),_0x3432c3[_0x46e6f4(0x24c)][_0x46e6f4(0x1f6)](_0x253d09(this['dispose$']))[_0x46e6f4(0x31a)](_0x5bd2c7=>{const _0x5b073d=_0x46e6f4;_0x5bd2c7&&this[_0x5b073d(0x20d)](_0x5bd2c7);}),this[_0x46e6f4(0x23d)][_0x46e6f4(0x29a)]['pipe'](_0x253d09(this[_0x46e6f4(0x28a)]))['subscribe'](()=>this[_0x46e6f4(0x1e4)](_0x3432c3));}[_0x3cb6ec(0x20d)](_0x165af0,_0x4ffcf2=!0x1){const _0x627ded=_0x3cb6ec,_0x810c3e=this['_urlService'][_0x627ded(0x29c)]('subunit');_0x165af0[_0x627ded(0x2ea)]()!==_0x810c3e&&this[_0x627ded(0x23d)][_0x627ded(0x19f)](_0x627ded(0x12a),_0x165af0[_0x627ded(0x2ea)](),_0x4ffcf2);}async[_0x3cb6ec(0x1e4)](_0x7b9250){const _0x2b7a2a=_0x3cb6ec;var _0xb92ac4;const _0x1291b1=this[_0x2b7a2a(0x23d)]['getParam'](_0x2b7a2a(0x12a));if(!_0x1291b1||!_0x7b9250[_0x2b7a2a(0x293)](_0x1291b1)){const _0x11b46c=_0x7b9250[_0x2b7a2a(0x191)]()[0x0],_0x8a21ac=_0x7b9250[_0x2b7a2a(0x293)](_0x11b46c);if(!_0x8a21ac)return;this[_0x2b7a2a(0x20d)](_0x8a21ac,!0x0),await this[_0x2b7a2a(0x1b2)]['executeCommand'](_0x49822a['id'],{'unitId':_0x7b9250[_0x2b7a2a(0x229)](),'subUnitId':_0x11b46c});return;}((_0xb92ac4=_0x7b9250[_0x2b7a2a(0x21f)]())==null?void 0x0:_0xb92ac4[_0x2b7a2a(0x2ea)]())!==_0x1291b1&&await this[_0x2b7a2a(0x1b2)][_0x2b7a2a(0x1be)](_0x49822a['id'],{'unitId':_0x7b9250[_0x2b7a2a(0x229)](),'subUnitId':_0x1291b1});}};ce=Li([K(0x0,yt),K(0x1,_0x4ca09d),K(0x2,_0x9d66d8),K(0x3,_0x37d941(_0xe4580)),K(0x4,_0x559289(_0x29d080))],ce);var Ui=Object[_0x3cb6ec(0x2c6)],Mi=(_0x2f9a47,_0x493bcf,_0x261475,_0x548f5d)=>{const _0x5e44cd=_0x3cb6ec;for(var _0x5ee584=_0x548f5d>0x1?void 0x0:_0x548f5d?Ui(_0x493bcf,_0x261475):_0x493bcf,_0xe395bf=_0x2f9a47[_0x5e44cd(0x2b3)]-0x1,_0x195ddc;_0xe395bf>=0x0;_0xe395bf--)(_0x195ddc=_0x2f9a47[_0xe395bf])&&(_0x5ee584=_0x195ddc(_0x5ee584)||_0x5ee584);return _0x5ee584;},rt=(_0x3db79e,_0xfa2256)=>(_0x248e02,_0x3fbb28)=>_0xfa2256(_0x248e02,_0x3fbb28,_0x3db79e);let $e=class extends _0x3d678c{constructor(_0x2a55df,_0x71158a){const _0x5e8363=_0x3cb6ec;super(),this[_0x5e8363(0x35d)]=_0x2a55df,this['_imageIoService']=_0x71158a,this[_0x5e8363(0x17c)]();}[_0x3cb6ec(0x17c)](){const _0x5921c9=_0x3cb6ec,_0x2ed3b5=this;this['disposeWithMe'](this['_docClipboardService'][_0x5921c9(0x2d1)]({'onBeforePasteImage':async _0xaaa137=>{const _0x3af9c5=_0x5921c9,_0x53cba9=await _0x2ed3b5['_imageIoService'][_0x3af9c5(0x2a5)](_0xaaa137);return _0x53cba9?{'source':_0x53cba9['source'],'imageSourceType':_0x53cba9[_0x3af9c5(0x212)]}:null;}}));}};$e=Mi([rt(0x0,_0x192d52),rt(0x1,_0x144d2f)],$e);const ot=[_0x3cb6ec(0x127),_0x3cb6ec(0x199),_0x3cb6ec(0x23b),_0x3cb6ec(0x1b5),_0x3cb6ec(0x1c6),_0x3cb6ec(0x1cd)];class Ke extends _0x1249d3{constructor(){const _0x364f1b=_0x3cb6ec;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x364f1b(0x21e),0x0);}[_0x3cb6ec(0x339)](_0x3d9d9d){const _0x362f6d=_0x3cb6ec;if(this[_0x362f6d(0x11e)]['has'](_0x3d9d9d))return this[_0x362f6d(0x11e)][_0x362f6d(0x33b)](_0x3d9d9d);const _0xed4b26=ot[this[_0x362f6d(0x21e)]];return this[_0x362f6d(0x21e)]=(this[_0x362f6d(0x21e)]+0x1)%ot[_0x362f6d(0x2b3)],this[_0x362f6d(0x11e)][_0x362f6d(0x179)](_0x3d9d9d,_0xed4b26),_0xed4b26;}}function $t(_0x41b717){const _0x4737aa=_0x3cb6ec;let _0x3b82cb='';for(const _0x495ea0 of _0x41b717){const {startOffset:_0x8f5f89,endOffset:_0x20d45d,isActive:_0xb24cfb,rangeType:_0x2799cb,segmentId:_0xdee31a,segmentPage:_0x4237b3}=_0x495ea0;_0x3b82cb[_0x4737aa(0x2b3)]&&(_0x3b82cb+=','),_0x3b82cb+=_0x8f5f89+':'+_0x20d45d+':'+(_0xb24cfb?'1':'0')+':'+_0x2799cb+':'+_0xdee31a+':'+_0x4237b3;}return _0x3b82cb;}function Ai(_0x4d73a6){const _0x5d4e26=_0x3cb6ec,_0x10b816=_0x4d73a6['split'](','),_0x721182=[];for(const _0x51f62f of _0x10b816){const [_0x4e9dd7,_0x37a857,_0x3b2a27,_0x2bb338,_0x37aa1f,_0x4490ce]=_0x51f62f['split'](':');_0x721182[_0x5d4e26(0x24a)]({'startOffset':Number(_0x4e9dd7),'endOffset':Number(_0x37a857),'collapsed':_0x4e9dd7===_0x37a857,'isActive':_0x3b2a27==='1','rangeType':_0x2bb338===_0x5f4128[_0x5d4e26(0x324)]?_0x5f4128['TEXT']:_0x5f4128[_0x5d4e26(0x128)],'segmentId':typeof _0x37aa1f=='string'?String(_0x37aa1f):'','segmentPage':Number(_0x4490ce!=null?_0x4490ce:-0x1)});}return _0x721182['some'](_0x40b539=>_0x40b539[_0x5d4e26(0x145)])||(_0x721182[0x0][_0x5d4e26(0x145)]=!0x0),_0x721182;}class ze extends _0x3d678c{constructor(){const _0x393e36=_0x3cb6ec;super(...arguments),_(this,'_collabCursorState$',new _0x2dcff1(null)),_(this,_0x393e36(0x13c),this[_0x393e36(0x290)][_0x393e36(0x36a)]());}[_0x3cb6ec(0x256)](_0x37ac96){const _0x46724a=_0x3cb6ec,{unitID:_0x343733,memberID:_0x49f85b,textRanges:_0x4ad06a}=_0x37ac96,_0x1fad5e=$t(_0x4ad06a);if(_0x1fad5e==='')return;const _0x47953c={'unitID':_0x343733,'memberID':_0x49f85b,'selection':_0x1fad5e};this[_0x46724a(0x290)][_0x46724a(0x1f8)](_0x47953c);}}var Pi=Object[_0x3cb6ec(0x2c6)],wi=(_0x4688d1,_0x3e0a21,_0x4ff94f,_0x42b9af)=>{const _0x5275f2=_0x3cb6ec;for(var _0x2642c2=_0x42b9af>0x1?void 0x0:_0x42b9af?Pi(_0x3e0a21,_0x4ff94f):_0x3e0a21,_0x5ec833=_0x4688d1[_0x5275f2(0x2b3)]-0x1,_0x401b75;_0x5ec833>=0x0;_0x5ec833--)(_0x401b75=_0x4688d1[_0x5ec833])&&(_0x2642c2=_0x401b75(_0x2642c2)||_0x2642c2);return _0x2642c2;},A=(_0x2bb59a,_0x2005ec)=>(_0x2ecbde,_0x1196ea)=>_0x2005ec(_0x2ecbde,_0x1196ea,_0x2bb59a);const yi=0x12c,$i=0x64;let xe=class extends _0x3d678c{constructor(_0x47d849,_0x1fcdcf,_0x41c507,_0x3656ea,_0x4bf15e,_0x138a4b,_0x14291f,_0x5f5094,_0x32e1c3){const _0x4c9612=_0x3cb6ec;super(),_(this,'_online',!0x1),_(this,_0x4c9612(0x17c),!0x1),_(this,'_cursorInfo$',new _0x2dcff1(new Map())),_(this,_0x4c9612(0x20b),this['_cursorInfo$'][_0x4c9612(0x36a)]()),_(this,_0x4c9612(0x167),new _0x2dcff1([])),_(this,_0x4c9612(0x2d6),this['_roomMembers$'][_0x4c9612(0x1f6)](_0x511f05(yi))),_(this,'_updateLocalCursor',_0x1ef6bc(_0x13b802=>{const _0x1f9f24=_0x4c9612,_0x3ca200={'eventID':_0x3d5a79[_0x1f9f24(0x2fa)],'data':{'unitID':this['unitID'],'memberID':this[_0x1f9f24(0x19d)][_0x1f9f24(0x25d)](),'selection':$t(_0x13b802)}};this[_0x1f9f24(0x19d)][_0x1f9f24(0x1fd)](_0x3ca200,this[_0x1f9f24(0x1a5)]);},$i)),(this[_0x4c9612(0x1a5)]=_0x47d849,this[_0x4c9612(0x19d)]=_0x1fcdcf,this['_injector']=_0x41c507,this[_0x4c9612(0x374)]=_0x3656ea,this[_0x4c9612(0x17a)]=_0x4bf15e,this[_0x4c9612(0x234)]=_0x138a4b,this[_0x4c9612(0x30d)]=_0x14291f,this[_0x4c9612(0x1f7)]=_0x5f5094,this[_0x4c9612(0x1b2)]=_0x32e1c3);}get[_0x3cb6ec(0x205)](){const _0x580821=_0x3cb6ec;return this[_0x580821(0x23f)]['getValue']();}get[_0x3cb6ec(0x2b7)](){const _0x2ed418=_0x3cb6ec;return this[_0x2ed418(0x167)][_0x2ed418(0x288)]();}[_0x3cb6ec(0x2eb)](){const _0x135ff5=_0x3cb6ec;super[_0x135ff5(0x2eb)](),this['_cursorInfo$'][_0x135ff5(0x1f8)](new Map()),this['_cursorInfo$'][_0x135ff5(0x28d)](),this[_0x135ff5(0x167)][_0x135ff5(0x1f8)]([]),this[_0x135ff5(0x167)]['complete']();}[_0x3cb6ec(0x1b6)](){const _0x4fea23=_0x3cb6ec;this[_0x4fea23(0x17c)]||(this[_0x4fea23(0x17c)]=!0x0,this['_session'][_0x4fea23(0x188)][_0x4fea23(0x1f6)](_0x253d09(this[_0x4fea23(0x28a)]))['subscribe'](_0x1f5805=>{const _0x5580b4=_0x4fea23;_0x1f5805===_0x344d35[_0x5580b4(0x356)]?this[_0x5580b4(0x2a8)]():this['_toggleOffline']();}),this[_0x4fea23(0x19d)][_0x4fea23(0x338)][_0x4fea23(0x1f6)](_0x253d09(this[_0x4fea23(0x28a)]))['subscribe'](_0x7bb5b=>{const _0x2ca07e=_0x4fea23,_0x1d1681=_0x7bb5b[_0x2ca07e(0x34f)];_0x1d1681===_0x3d5a79[_0x2ca07e(0x2fa)]&&this[_0x2ca07e(0x282)](_0x7bb5b),_0x1d1681===_0x3d5a79[_0x2ca07e(0x19e)]&&this[_0x2ca07e(0x312)](_0x7bb5b);}),this[_0x4fea23(0x1f2)](this[_0x4fea23(0x1b2)]['onCommandExecuted'](_0xe54ff6=>{const _0x33cc0c=_0x4fea23,_0x2f648e=_0xe54ff6[_0x33cc0c(0x2ac)];_0x2f648e!=null&&this['_online']&&_0xe54ff6['id']===_0x56374f['id']&&_0x2f648e[_0x33cc0c(0x178)]===this[_0x33cc0c(0x1a5)]&&_0x2f648e['isEditing']===!0x1&&_0x2f648e[_0x33cc0c(0x211)][_0x33cc0c(0x2b3)]>0x0&&this['_updateLocalCursor'](_0x2f648e[_0x33cc0c(0x211)]);})),this[_0x4fea23(0x234)][_0x4fea23(0x13c)][_0x4fea23(0x1f6)](_0x253d09(this[_0x4fea23(0x28a)]))[_0x4fea23(0x31a)](_0x2ce7e9=>{const _0x4a61f8=_0x4fea23;if((_0x2ce7e9==null?void 0x0:_0x2ce7e9['unitID'])!==this[_0x4a61f8(0x1a5)])return;const _0x2a78fc={'eventID':_0x3d5a79[_0x4a61f8(0x2fa)],'data':_0x2ce7e9};this[_0x4a61f8(0x282)](_0x2a78fc);}),this[_0x4fea23(0x1f2)](this[_0x4fea23(0x1b2)][_0x4fea23(0x228)](_0x6161d7=>{const _0x4b99d6=_0x4fea23;if(_0x6161d7['params']==null)return;const _0x53ab30=_0x6161d7[_0x4b99d6(0x2ac)];if(_0x6161d7['id']!==_0xedfca['id']||_0x53ab30[_0x4b99d6(0x178)]!==this[_0x4b99d6(0x1a5)])return;const _0x53f49e={'id':_0x4b99d6(0x287),'params':_0x53ab30},_0x4fb054=this[_0x4b99d6(0x205)];for(const [_0x5531db,_0x373c4c]of _0x4fb054){const _0x491825={'id':_0x4b99d6(0x287),'params':{'unitId':this[_0x4b99d6(0x1a5)],'actions':null,'textRanges':_0x373c4c[_0x4b99d6(0x211)]}},_0xbb6f72=this['_transformService'][_0x4b99d6(0x2d9)](_0x53f49e,_0x491825,!0x1);if(_0x2f71ef(_0xbb6f72))throw _0xbb6f72[_0x4b99d6(0x28c)];_0x4fb054['set'](_0x5531db,{..._0x373c4c,'ranges':_0xbb6f72[_0x4b99d6(0x14e)][_0x4b99d6(0x2ac)][_0x4b99d6(0x35c)]});}queueMicrotask(()=>{const _0x3dfd06=_0x4b99d6;this[_0x3dfd06(0x23f)][_0x3dfd06(0x1f8)](_0x4fb054);});})));}['_onCursorUpdate'](_0x1b3532){const _0x1293f5=_0x3cb6ec;var _0x218573,_0x14ee12;const {memberID:_0x14c2cc,selection:_0x1ec6ee}=_0x1b3532[_0x1293f5(0x30c)],_0x2a6931=Ai(_0x1ec6ee),_0x44438d=(_0x14ee12=(_0x218573=this[_0x1293f5(0x17a)][_0x1293f5(0x170)](this['unitID'],_0x14c2cc))==null?void 0x0:_0x218573[_0x1293f5(0x316)])!=null?_0x14ee12:_0x1293f5(0x18c),_0x2ae644={'color':this['_colorAssignService'][_0x1293f5(0x339)](_0x14c2cc),'name':_0x44438d,'ranges':_0x2a6931},_0x94de0=this[_0x1293f5(0x205)];_0x94de0['set'](_0x14c2cc,_0x2ae644),this[_0x1293f5(0x23f)][_0x1293f5(0x1f8)](_0x94de0);}[_0x3cb6ec(0x312)](_0x35ad5c){const _0x58a9e6=_0x3cb6ec,{memberID:_0x32f69d}=_0x35ad5c[_0x58a9e6(0x30c)],_0x161eeb=this['cursorInfo'];_0x161eeb[_0x58a9e6(0x29d)](_0x32f69d),this[_0x58a9e6(0x23f)]['next'](_0x161eeb);}[_0x3cb6ec(0x2a8)](){const _0x30b5c7=_0x3cb6ec;var _0x5a786c;if(this['_online']=!0x0,((_0x5a786c=this[_0x30b5c7(0x1f7)]['getFocusedUnit']())==null?void 0x0:_0x5a786c[_0x30b5c7(0x229)]())!==this[_0x30b5c7(0x1a5)])return;const _0x342200=this['_injector'][_0x30b5c7(0x33b)](_0x18c59e)['getDocRanges']();Array['isArray'](_0x342200)&&_0x342200[_0x30b5c7(0x2b3)]>0x0&&this[_0x30b5c7(0x240)](_0x342200);}['_toggleOffline'](){this['_online']=!0x1;}};xe=wi([A(0x2,_0x37d941(_0x4a07ef)),A(0x3,_0x37d941(Ke)),A(0x4,_0x37d941(_0x18e487)),A(0x5,_0x37d941(ze)),A(0x6,_0x397a7),A(0x7,_0x1a9089),A(0x8,_0x9d66d8)],xe);var xi=Object[_0x3cb6ec(0x2c6)],Bi=(_0x56f760,_0x37b531,_0x2c3ad8,_0x4748c2)=>{const _0x482524=_0x3cb6ec;for(var _0x5e2768=_0x4748c2>0x1?void 0x0:_0x4748c2?xi(_0x37b531,_0x2c3ad8):_0x37b531,_0x172dc0=_0x56f760[_0x482524(0x2b3)]-0x1,_0x3bd360;_0x172dc0>=0x0;_0x172dc0--)(_0x3bd360=_0x56f760[_0x172dc0])&&(_0x5e2768=_0x3bd360(_0x5e2768)||_0x5e2768);return _0x5e2768;},B=(_0x37d460,_0x2139d6)=>(_0x13351d,_0x30eb9f)=>_0x2139d6(_0x13351d,_0x30eb9f,_0x37d460);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x191c5c=[],_0x2e31cf=!0x1;return _0x1a0304=>{const _0x3a8733=_0x37dd;_0x191c5c[_0x3a8733(0x24a)](_0x1a0304),_0x2e31cf||(_0x2e31cf=!0x0,setTimeout(()=>{const _0x1beeab=_0x3a8733;_0x191c5c[_0x1beeab(0x2ad)](_0x438e44=>_0x438e44()),_0x191c5c=[],_0x2e31cf=!0x1;}));};};let Be=class extends _0x3d678c{constructor(_0x4ebd12,_0x3e7067,_0x44676b,_0x583acd,_0x5c7e5b,_0x118767,_0x434a47,_0x190588){const _0x20c267=_0x3cb6ec;super(),_(this,_0x20c267(0x27e),!0x1),_(this,'_init',!0x1),_(this,_0x20c267(0x23f),new _0x2dcff1(new Map())),_(this,_0x20c267(0x20b),this[_0x20c267(0x23f)][_0x20c267(0x36a)]()),_(this,'_roomMembers$',new _0x2dcff1([])),_(this,_0x20c267(0x2d6),this[_0x20c267(0x167)][_0x20c267(0x1f6)](_0x511f05(Fi))),_(this,'_updateLocalCursor',_0x1ef6bc((_0x237949,_0x92c086)=>{const _0x367f4f=_0x20c267,_0x365d74={'eventID':_0x3d5a79[_0x367f4f(0x2fa)],'data':{'unitID':this[_0x367f4f(0x1a5)],'memberID':this[_0x367f4f(0x19d)][_0x367f4f(0x25d)](),'selection':_0x3044ed(_0x237949,_0x92c086[_0x367f4f(0x1c4)])}};this[_0x367f4f(0x19d)][_0x367f4f(0x1fd)](_0x365d74,this[_0x367f4f(0x1a5)]);},ki)),(this[_0x20c267(0x1a5)]=_0x4ebd12,this[_0x20c267(0x19d)]=_0x3e7067,this[_0x20c267(0x138)]=_0x44676b,this[_0x20c267(0x374)]=_0x583acd,this['_memberService']=_0x5c7e5b,this[_0x20c267(0x1f7)]=_0x118767,this[_0x20c267(0x1b2)]=_0x434a47,this[_0x20c267(0x132)]=_0x190588);}get[_0x3cb6ec(0x205)](){const _0x343e87=_0x3cb6ec;return this[_0x343e87(0x23f)][_0x343e87(0x288)]();}get[_0x3cb6ec(0x2b7)](){const _0xa6772c=_0x3cb6ec;return this[_0xa6772c(0x167)][_0xa6772c(0x288)]();}[_0x3cb6ec(0x2eb)](){const _0xd25e95=_0x3cb6ec;super[_0xd25e95(0x2eb)](),this[_0xd25e95(0x23f)][_0xd25e95(0x1f8)](new Map()),this[_0xd25e95(0x23f)][_0xd25e95(0x28d)](),this[_0xd25e95(0x167)][_0xd25e95(0x1f8)]([]),this['_roomMembers$'][_0xd25e95(0x28d)]();}[_0x3cb6ec(0x1b6)](){const _0x454185=_0x3cb6ec;this[_0x454185(0x17c)]||(this[_0x454185(0x17c)]=!0x0,this[_0x454185(0x19d)][_0x454185(0x188)][_0x454185(0x1f6)](_0x253d09(this[_0x454185(0x28a)]))[_0x454185(0x31a)](_0x3ba10f=>{const _0x21e112=_0x454185;_0x3ba10f===_0x344d35[_0x21e112(0x356)]?this['_toggleOnline']():this[_0x21e112(0x26f)]();}),this[_0x454185(0x19d)][_0x454185(0x338)][_0x454185(0x1f6)](_0x253d09(this[_0x454185(0x28a)]))[_0x454185(0x31a)](_0x2abb0a=>{const _0x3e0194=_0x454185,_0x9beb94=_0x2abb0a[_0x3e0194(0x34f)];_0x9beb94===_0x3d5a79[_0x3e0194(0x2fa)]&&this[_0x3e0194(0x282)](_0x2abb0a),_0x9beb94===_0x3d5a79[_0x3e0194(0x19e)]&&this[_0x3e0194(0x312)](_0x2abb0a);}),this[_0x454185(0x345)](),this[_0x454185(0x1f2)](this[_0x454185(0x1b2)][_0x454185(0x228)](_0x7849e5=>{const _0x153438=_0x454185;if(this[_0x153438(0x27e)]&&_0x7849e5['id']===_0x6cd446['id']&&_0x7849e5[_0x153438(0x2ac)][_0x153438(0x178)]===this[_0x153438(0x1a5)]){const _0x31ade5=_0x7849e5['params'];this['_updateLocalCursor'](_0x31ade5[_0x153438(0x1ae)],_0x31ade5[_0x153438(0x2f0)][0x0]);}})));}[_0x3cb6ec(0x282)](_0x211c1d){const _0x58153f=_0x3cb6ec;var _0xa0aa2e,_0x4f9610;const {memberID:_0x6dd971,selection:_0x8a9454}=_0x211c1d['data'],{sheetName:_0x3a099a,range:_0x493ea3}=_0x3fa163(_0x8a9454),_0xb974ce={'name':(_0x4f9610=(_0xa0aa2e=this[_0x58153f(0x17a)][_0x58153f(0x170)](this['unitID'],_0x6dd971))==null?void 0x0:_0xa0aa2e[_0x58153f(0x316)])!=null?_0x4f9610:_0x58153f(0x18c),'range':this[_0x58153f(0x35b)](_0x3a099a,_0x493ea3),'sheetID':_0x3a099a,'color':this[_0x58153f(0x374)][_0x58153f(0x339)](_0x6dd971),'selection':_0x8a9454},_0x282f01=this[_0x58153f(0x205)];_0x282f01['set'](_0x6dd971,_0xb974ce),this[_0x58153f(0x23f)][_0x58153f(0x1f8)](_0x282f01);}[_0x3cb6ec(0x312)](_0x120cf9){const _0x5cdcf6=_0x3cb6ec,{memberID:_0x44bee8}=_0x120cf9[_0x5cdcf6(0x30c)],_0x30ed35=this['cursorInfo'];_0x30ed35['delete'](_0x44bee8),this[_0x5cdcf6(0x23f)][_0x5cdcf6(0x1f8)](_0x30ed35);}[_0x3cb6ec(0x35b)](_0x4081a5,_0x465519){const _0x30e7c4=_0x3cb6ec;var _0x1d68bb,_0x5a4009;const _0x3e70f2=(_0x5a4009=(_0x1d68bb=this[_0x30e7c4(0x1f7)][_0x30e7c4(0x11f)](this[_0x30e7c4(0x1a5)]))==null?void 0x0:_0x1d68bb[_0x30e7c4(0x293)](_0x4081a5))==null?void 0x0:_0x5a4009[_0x30e7c4(0x23a)]();return(_0x3e70f2==null?void 0x0:_0x3e70f2[_0x30e7c4(0x279)](_0x1fc8c8=>_0x37bf32[_0x30e7c4(0x198)](_0x1fc8c8,_0x465519)))||_0x465519;}[_0x3cb6ec(0x345)](){const _0x1c59cc=_0x3cb6ec,_0x57e8cf=new _0x146129(),_0x16b5e9=Hi(),_0xd19175=()=>{const _0x5ce47d=_0x37dd;_0x57e8cf[_0x5ce47d(0x2eb)]();const _0x117495=(_0x318c8f,_0x28027d,_0x5c9ce4,_0x24ca6b)=>{const _0x366176=_0x5ce47d;let _0x1c4f08=[];switch(_0x318c8f['id']){case _0x527a3d[_0x366176(0x239)]:{_0x1c4f08=_0xd51712(_0x318c8f,_0x24ca6b);break;}case _0x527a3d[_0x366176(0x226)]:{_0x1c4f08=_0x311bfe(_0x318c8f,_0x24ca6b);break;}case _0x527a3d[_0x366176(0x37d)]:{_0x1c4f08=_0x34ff64(_0x318c8f,_0x24ca6b);break;}case _0x527a3d[_0x366176(0x27a)]:{_0x1c4f08=_0x228ade(_0x318c8f,_0x24ca6b);break;}case _0x527a3d[_0x366176(0x2d8)]:{_0x1c4f08=_0x5996d6(_0x318c8f,_0x24ca6b);break;}case _0x527a3d[_0x366176(0x22c)]:{_0x1c4f08=_0x3ea12c(_0x318c8f,_0x24ca6b);break;}case _0x527a3d[_0x366176(0x238)]:{_0x1c4f08=_0x503441(_0x318c8f,_0x24ca6b);break;}case _0x527a3d[_0x366176(0x168)]:{_0x1c4f08=_0x3bdf5a(_0x318c8f,_0x24ca6b);break;}case _0x527a3d[_0x366176(0x213)]:{_0x1c4f08=_0x154834(_0x318c8f,_0x24ca6b);break;}}const _0x33fb28=_0x3b54b9(_0x1c4f08,_0x24ca6b),_0x2a1416=this[_0x366176(0x205)][_0x366176(0x33b)](_0x28027d);if(_0x2a1416&&_0x33fb28){const _0x46d683={..._0x2a1416,'range':_0x33fb28};this[_0x366176(0x205)]['set'](_0x28027d,_0x46d683),_0x16b5e9(()=>{const _0x422253=_0x366176,_0x588f29=this['_refRangeService']['registerRefRange'](_0x33fb28,_0x1a118d=>(_0x588f29[_0x422253(0x2eb)](),_0x117495(_0x1a118d,_0x28027d,_0x5c9ce4,_0x33fb28)));_0x57e8cf['add'](_0x588f29);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5ce47d(0x2ad)]((_0x2794c2,_0x5112b8)=>{const _0x1a660f=_0x5ce47d,{range:_0xdc41e2,sheetID:_0x24438d}=_0x2794c2,_0x1beffb=this[_0x1a660f(0x132)][_0x1a660f(0x260)](_0xdc41e2,_0x1f2f8c=>(_0x1beffb['dispose'](),_0x117495(_0x1f2f8c,_0x5112b8,_0x24438d,_0xdc41e2)));_0x57e8cf[_0x1a660f(0x253)](_0x1beffb);});};this['disposeWithMe'](_0x5cbe05(this[_0x1c59cc(0x23f)][_0x1c59cc(0x31a)](()=>{_0xd19175();})));}[_0x3cb6ec(0x2a8)](){const _0x566f25=_0x3cb6ec;var _0x55ca07,_0x53c564;if(this[_0x566f25(0x27e)]=!0x0,((_0x55ca07=this[_0x566f25(0x1f7)]['getFocusedUnit']())==null?void 0x0:_0x55ca07[_0x566f25(0x229)]())!==this[_0x566f25(0x1a5)])return;const _0x3bb802=(_0x53c564=this[_0x566f25(0x138)][_0x566f25(0x33b)](_0x8210bd)[_0x566f25(0x2d3)]())==null?void 0x0:_0x53c564[0x0],_0x40d5ca=this[_0x566f25(0x1f7)][_0x566f25(0x2e3)](_0x25d838[_0x566f25(0x351)])[_0x566f25(0x21f)]();_0x3bb802&&_0x40d5ca&&this[_0x566f25(0x240)](_0x40d5ca[_0x566f25(0x2ea)](),_0x3bb802);}[_0x3cb6ec(0x26f)](){const _0x266a26=_0x3cb6ec;this[_0x266a26(0x27e)]=!0x1;}};Be=Bi([B(0x2,_0x37d941(_0x4a07ef)),B(0x3,_0x37d941(Ke)),B(0x4,_0x37d941(_0x18e487)),B(0x5,_0x1a9089),B(0x6,_0x9d66d8),B(0x7,_0x37d941(_0xefb922))],Be);var Yi=Object['getOwnPropertyDescriptor'],Wi=(_0x28c911,_0x5a4e5e,_0x1e6465,_0x47977b)=>{for(var _0x5a8358=_0x47977b>0x1?void 0x0:_0x47977b?Yi(_0x5a4e5e,_0x1e6465):_0x5a4e5e,_0x4cec32=_0x28c911['length']-0x1,_0x3b2d4b;_0x4cec32>=0x0;_0x4cec32--)(_0x3b2d4b=_0x28c911[_0x4cec32])&&(_0x5a8358=_0x3b2d4b(_0x5a8358)||_0x5a8358);return _0x5a8358;},Ce=(_0x53f17e,_0x517aeb)=>(_0x5ccb41,_0x6a0228)=>_0x517aeb(_0x5ccb41,_0x6a0228,_0x53f17e);let H=class extends _0x3d678c{constructor(_0x369602,_0x4e8f83,_0x8da3c7){const _0x4943f3=_0x3cb6ec;super(),_(this,_0x4943f3(0x313),new Map()),_(this,_0x4943f3(0x315),new _0x40bdb3()),(this['_univerInstanceService']=_0x369602,this[_0x4943f3(0x138)]=_0x4e8f83,this['_collabSessionService']=_0x8da3c7,this[_0x4943f3(0x17c)]());}[_0x3cb6ec(0x2eb)](){const _0x43df11=_0x3cb6ec;super[_0x43df11(0x2eb)](),this['_entityInit$'][_0x43df11(0x28d)](),this['_entities']['forEach'](_0xe66fc8=>_0xe66fc8['dispose']());}['getCollabCursors$'](_0xaf1d7b){const _0x49cdb5=_0x3cb6ec;return this[_0x49cdb5(0x313)][_0x49cdb5(0x271)](_0xaf1d7b)?this[_0x49cdb5(0x313)][_0x49cdb5(0x33b)](_0xaf1d7b)[_0x49cdb5(0x20b)]:this[_0x49cdb5(0x315)][_0x49cdb5(0x1f6)](_0x198267(_0x46eb2d=>_0x46eb2d[_0x49cdb5(0x1a5)]===_0xaf1d7b),_0x47ae6d(_0x15f8e2=>_0x15f8e2[_0x49cdb5(0x20b)]));}['_init'](){const _0x2d1e33=_0x3cb6ec;this['_univerInstanceService'][_0x2d1e33(0x13a)](_0x25d838[_0x2d1e33(0x351)])[_0x2d1e33(0x1f6)](_0x253d09(this[_0x2d1e33(0x28a)]))[_0x2d1e33(0x31a)](async _0x408f30=>{const _0x2cdb13=_0x2d1e33,_0x139d32=_0x408f30[_0x2cdb13(0x229)](),_0x370699=await this[_0x2cdb13(0x177)](_0x139d32);this[_0x2cdb13(0x315)][_0x2cdb13(0x1f8)](_0x370699),this['_entities'][_0x2cdb13(0x179)](_0x139d32,_0x370699);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x25d838[_0x2d1e33(0x2ed)])['pipe'](_0x253d09(this[_0x2d1e33(0x28a)]))[_0x2d1e33(0x1f6)](_0x198267(_0xbd0a1d=>!_0xbd0a1d[_0x2d1e33(0x229)]()['startsWith']('__')))['subscribe'](async _0x37aa4a=>{const _0x3d3b72=_0x2d1e33,_0x5ecdff=_0x37aa4a[_0x3d3b72(0x229)](),_0x2772de=await this[_0x3d3b72(0x17f)](_0x5ecdff);this[_0x3d3b72(0x315)]['next'](_0x2772de),this[_0x3d3b72(0x313)][_0x3d3b72(0x179)](_0x5ecdff,_0x2772de);}),_0x1fe3be(this['_univerInstanceService'][_0x2d1e33(0x1ea)](_0x25d838[_0x2d1e33(0x2ed)]),this[_0x2d1e33(0x1f7)]['getTypeOfUnitDisposed$'](_0x25d838[_0x2d1e33(0x351)]))[_0x2d1e33(0x1f6)](_0x253d09(this[_0x2d1e33(0x28a)]))['subscribe'](_0xd7655a=>{const _0x102ecc=_0x2d1e33,_0x43e0b9=_0xd7655a['getUnitId'](),_0x5141d8=this[_0x102ecc(0x313)][_0x102ecc(0x33b)](_0x43e0b9);_0x5141d8&&(_0x5141d8['dispose'](),this[_0x102ecc(0x313)]['delete'](_0x43e0b9));});}async[_0x3cb6ec(0x177)](_0x4063f3){const _0x41606c=_0x3cb6ec,_0x3690c2=await this['_collabSessionService'][_0x41606c(0x2d7)](_0x4063f3),_0xce9ac2=this[_0x41606c(0x138)][_0x41606c(0x1b7)](Be,_0x4063f3,_0x3690c2);return _0xce9ac2[_0x41606c(0x1b6)](),_0xce9ac2;}async[_0x3cb6ec(0x17f)](_0x4636be){const _0x1d0803=_0x3cb6ec,_0x2a94a7=await this[_0x1d0803(0x2c7)][_0x1d0803(0x2d7)](_0x4636be),_0x36a4b0=this[_0x1d0803(0x138)][_0x1d0803(0x1b7)](xe,_0x4636be,_0x2a94a7);return _0x36a4b0['init'](),_0x36a4b0;}};H=Wi([Ce(0x0,_0x1a9089),Ce(0x1,_0x37d941(_0x4a07ef)),Ce(0x2,_0x37d941(_0x590570))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x31af0b,_0x412f2c){const _0xb79cf5=_0x3cb6ec;let {radius:_0x2ce68f,width:_0x4b5d10,height:_0x23f4d9}=_0x412f2c;_0x2ce68f=_0x2ce68f!=null?_0x2ce68f:0x0,_0x4b5d10=_0x4b5d10!=null?_0x4b5d10:0x1e,_0x23f4d9=_0x23f4d9!=null?_0x23f4d9:0x1e;let _0x49b523=0x0,_0x3483d4=0x0,_0x3262d4=0x0;_0x49b523=_0x3483d4=_0x3262d4=Math['min'](_0x2ce68f,_0x4b5d10/0x2,_0x23f4d9/0x2),_0x31af0b[_0xb79cf5(0x134)](),_0x31af0b[_0xb79cf5(0x27b)](_0x49b523,0x0),_0x31af0b[_0xb79cf5(0x135)](_0x4b5d10-_0x3483d4,0x0),_0x31af0b[_0xb79cf5(0x2f3)](_0x4b5d10-_0x3483d4,_0x3483d4,_0x3483d4,Math['PI']*0x3/0x2,0x0,!0x1),_0x31af0b[_0xb79cf5(0x135)](_0x4b5d10,_0x23f4d9-_0x3262d4),_0x31af0b['arc'](_0x4b5d10-_0x3262d4,_0x23f4d9-_0x3262d4,_0x3262d4,0x0,Math['PI']/0x2,!0x1),_0x31af0b[_0xb79cf5(0x135)](0x0,_0x23f4d9),_0x31af0b[_0xb79cf5(0x135)](0x0,_0x49b523),_0x31af0b[_0xb79cf5(0x2f3)](_0x49b523,_0x49b523,_0x49b523,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x31af0b['closePath'](),_0x412f2c[_0xb79cf5(0x1ef)]&&(_0x31af0b['save'](),_0x31af0b[_0xb79cf5(0x2a0)]=_0x412f2c[_0xb79cf5(0x1ef)],_0x412f2c[_0xb79cf5(0x1dd)]===_0xb79cf5(0x224)?_0x31af0b[_0xb79cf5(0x1ef)](_0xb79cf5(0x224)):_0x31af0b[_0xb79cf5(0x1ef)](),_0x31af0b['restore']());}class ve extends _0x32b61a{constructor(_0x2f87e2,_0x43435d){const _0x35f57b=_0x3cb6ec;super(_0x2f87e2,_0x43435d),_(this,_0x35f57b(0x124)),_(this,_0x35f57b(0x2e5)),(this['color']=_0x43435d==null?void 0x0:_0x43435d[_0x35f57b(0x124)],this[_0x35f57b(0x2e5)]=_0x43435d==null?void 0x0:_0x43435d[_0x35f57b(0x2e5)]);}static[_0x3cb6ec(0x285)](_0x2ada59,_0xa1edb6){const _0x265a0b=_0x3cb6ec,{text:_0x25c3a8,color:_0x1e11ab}=_0xa1edb6;_0x2ada59['save'](),_0x2ada59[_0x265a0b(0x257)]=_0x265a0b(0x258);const _0x4d0ed2=_0x2ada59['measureText'](_0x25c3a8)[_0x265a0b(0x2a1)],_0x59d43a=Math['min'](_0x4d0ed2+0x2*Re,at);ji(_0x2ada59,{'height':Q,'radius':0x4,'width':_0x59d43a,'fill':_0x1e11ab}),_0x2ada59[_0x265a0b(0x2a0)]=_0x265a0b(0x1e7);const _0x5bbadb=Re,_0x3b14b7=Q-Vi,_0x4bf78d=at-0x2*Re;if(_0x4d0ed2>_0x4bf78d){let _0x517a8b='',_0x24318f=0x0;for(const _0x3e9c1a of _0x25c3a8){const _0x27fdc9=_0x2ada59[_0x265a0b(0x2ab)](_0x3e9c1a)[_0x265a0b(0x2a1)];if(_0x24318f+_0x27fdc9<=_0x4bf78d-_0x2ada59[_0x265a0b(0x2ab)](_0x265a0b(0x29e))['width'])_0x517a8b+=_0x3e9c1a,_0x24318f+=_0x27fdc9;else{_0x517a8b+='...';break;}}_0x2ada59['fillText'](_0x517a8b,_0x5bbadb,_0x3b14b7);}else _0x2ada59[_0x265a0b(0x1bf)](_0x25c3a8,_0x5bbadb,_0x3b14b7);_0x2ada59[_0x265a0b(0x283)]();}['_draw'](_0x165112){const _0x412caf=_0x3cb6ec;ve[_0x412caf(0x285)](_0x165112,this);}}const De=_0x3cb6ec(0x343),Xi=_0x3cb6ec(0x292),Gi='collab-rect-range-',z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji='rgba(255,\x20255,\x20255,\x200.01)';class ct{constructor(_0x4fc99d,_0xa6f036,_0x386eef,_0x5848a6){const _0x59af11=_0x3cb6ec;_(this,_0x59af11(0x2df),[]),_(this,'_anchor',null),_(this,_0x59af11(0x278),null),_(this,_0x59af11(0x358),null),_(this,_0x59af11(0x367),null),_(this,_0x59af11(0x32f),null),(this['_cursor']=_0x4fc99d,this[_0x59af11(0x155)]=_0xa6f036,this['_docSkeleton']=_0x386eef,this['_document']=_0x5848a6,this['_render']());}set['_hover'](_0x4c6f98){const _0x5cb8d4=_0x3cb6ec;_0x4c6f98?(this[_0x5cb8d4(0x358)]&&this[_0x5cb8d4(0x358)]['hide'](),this['_textBubble']&&this[_0x5cb8d4(0x278)]['show']()):(this[_0x5cb8d4(0x358)]&&this['_anchorDot']['show'](),this[_0x5cb8d4(0x278)]&&this[_0x5cb8d4(0x278)][_0x5cb8d4(0x1db)]());}[_0x3cb6ec(0x2eb)](){const _0x3a9e94=_0x3cb6ec;for(const _0x476be5 of this[_0x3a9e94(0x2df)])_0x476be5[_0x3a9e94(0x2eb)]();this[_0x3a9e94(0x278)]&&this['_textBubble'][_0x3a9e94(0x2eb)](),this[_0x3a9e94(0x358)]&&this[_0x3a9e94(0x358)][_0x3a9e94(0x2eb)](),this[_0x3a9e94(0x1cb)]&&this[_0x3a9e94(0x1cb)][_0x3a9e94(0x2eb)](),this[_0x3a9e94(0x32f)]&&this[_0x3a9e94(0x32f)]();}[_0x3cb6ec(0x1c3)](){const _0x22aa7d=_0x3cb6ec;var _0x5086b1;const {_docSkeleton:_0x429976,_document:_0x4c44b7}=this,{color:_0x1cbb2b,name:_0x16d5cf,ranges:_0x2c1831}=this[_0x22aa7d(0x361)],_0x549384=_0x4c44b7[_0x22aa7d(0x1d4)](),{docsLeft:_0x68eb65,docsTop:_0x17e983}=_0x549384,_0x7489c3=new _0x5a3ddd(_0x549384,_0x429976);for(const {startOffset:_0x2ffdce,endOffset:_0x4ade4b,rangeType:_0x3c987b,segmentId:_0x3d5030,segmentPage:_0x14d44f,collapsed:_0x3b1f39,isActive:_0x1ada9e}of _0x2c1831){const _0x2895c5=_0x429976[_0x22aa7d(0x304)](_0x2ffdce,!0x0,_0x3d5030,_0x14d44f);let _0x5c5568=_0x429976[_0x22aa7d(0x304)](_0x4ade4b,!0x0,_0x3d5030,_0x14d44f);if(_0x5c5568==null&&(_0x5c5568=_0x429976[_0x22aa7d(0x304)](_0x4ade4b-0x1,!0x1,_0x3d5030,_0x14d44f)),_0x1ada9e){const {contentBoxPointGroup:_0x4e6097}=_0x7489c3[_0x22aa7d(0x363)](_0x5c5568,_0x5c5568);if(_0x4e6097[_0x22aa7d(0x2b3)]===0x0)continue;this[_0x22aa7d(0x2bb)](_0x1cbb2b,_0x4e6097,_0x68eb65,_0x17e983,_0x16d5cf),this['_eventUnsubscribe']=this[_0x22aa7d(0x308)]();}if(_0x2895c5&&_0x5c5568){if(_0x3c987b===_0x5f4128[_0x22aa7d(0x128)]){const _0x23efad=new _0xa12ccc(_0x549384,_0x429976),{pointGroup:_0x53863b}=(_0x5086b1=_0x23efad[_0x22aa7d(0x363)](_0x2895c5,_0x5c5568))!=null?_0x5086b1:{};if(_0x53863b==null||_0x53863b['length']===0x0)continue;this['_drawRectRange'](_0x1cbb2b,_0x53863b,_0x68eb65,_0x17e983);}else{if(!_0x3b1f39){const {borderBoxPointGroup:_0x1075b6}=_0x7489c3['getRangePointData'](_0x2895c5,_0x5c5568);if(_0x1075b6['length']===0x0)continue;this[_0x22aa7d(0x2f8)](_0x1cbb2b,_0x1075b6,_0x68eb65,_0x17e983);}}}}}[_0x3cb6ec(0x2bb)](_0x872e9,_0x2dab51,_0x542c9c,_0x2fa43b,_0x3651cb){const _0x3252d8=_0x3cb6ec,_0x2a7344=this[_0x3252d8(0x378)](_0x2dab51),{left:_0x278d6f,top:_0x2871c9,height:_0x29c7af}=_0x2a7344,_0x365afb=this['_getScale'](),_0x230c53=zi/_0x365afb,_0x13cb01=new _0x3254d6(De+_0x1b66d4(z),{'left':_0x278d6f+_0x542c9c-_0x230c53,'top':_0x2871c9+_0x2fa43b,'height':_0x29c7af,'width':Ki,'fill':_0x872e9||_0x20a918(_0xd2c928[_0x3252d8(0x1a8)],0x0),'strokeWidth':_0x230c53,'stroke':Ji,'evented':!0x0});this['_anchor']=_0x13cb01,this[_0x3252d8(0x155)]['addObject'](_0x13cb01,_0x57a799);const _0x3d1943=new _0x3254d6(De+_0x1b66d4(z),{'left':_0x278d6f+_0x542c9c-_0x230c53,'top':_0x2871c9+_0x2fa43b-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x872e9||_0x20a918(_0xd2c928['black'],0x0),'strokeWidth':0x0,'stroke':_0x872e9||_0x20a918(_0xd2c928[_0x3252d8(0x1a8)],0x0),'evented':!0x1});this[_0x3252d8(0x358)]=_0x3d1943,this[_0x3252d8(0x155)][_0x3252d8(0x150)](_0x3d1943,_0x57a799);const _0x1bb9e4=new ve(De+_0x1b66d4(z),{'left':_0x278d6f+_0x542c9c-_0x230c53,'top':_0x2871c9+_0x2fa43b-Q,'text':_0x3651cb,'color':_0x872e9});this[_0x3252d8(0x278)]=_0x1bb9e4,this[_0x3252d8(0x155)][_0x3252d8(0x150)](_0x1bb9e4,_0x57a799),this[_0x3252d8(0x281)]=!0x1;}[_0x3cb6ec(0x308)](){const _0x27d1b0=_0x3cb6ec,_0x65913c=this[_0x27d1b0(0x1cb)][_0x27d1b0(0x2b1)]['subscribeEvent'](()=>{const _0x32a845=_0x27d1b0;this[_0x32a845(0x281)]=!0x0;}),_0x335ab9=this[_0x27d1b0(0x1cb)]['onPointerLeave$'][_0x27d1b0(0x31c)](()=>{const _0x199f3f=_0x27d1b0;this[_0x199f3f(0x367)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1818b7=_0x27d1b0;_0x65913c[_0x1818b7(0x137)](),_0x335ab9['unsubscribe']();};}[_0x3cb6ec(0x2f8)](_0x21de80,_0x6d166c,_0x126e0b,_0x2c85de){const _0x76eb73=_0x3cb6ec,_0x902c80=new _0x146370(_0x21de80)[_0x76eb73(0x2af)](0.2)[_0x76eb73(0x2a4)](),_0x3e91a1=new _0x549041(Xi+_0x1b66d4(z),{'pointsGroup':_0x6d166c,'fill':_0x902c80||_0x20a918(_0xd2c928[_0x76eb73(0x1a8)],0.2),'left':_0x126e0b,'top':_0x2c85de,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x3e91a1),this[_0x76eb73(0x155)][_0x76eb73(0x150)](_0x3e91a1,_0x57a799);}['_drawRectRange'](_0x3b74e0,_0x396e0d,_0x1d752c,_0x107d39){const _0x186377=_0x3cb6ec,_0x5b5f44=new _0x146370(_0x3b74e0)[_0x186377(0x2af)](0.2)[_0x186377(0x2a4)](),_0x22aff=new _0x549041(Gi+_0x1b66d4(z),{'pointsGroup':_0x396e0d,'fill':_0x5b5f44||_0x20a918(_0xd2c928['black'],0.2),'left':_0x1d752c,'top':_0x107d39,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x186377(0x2df)][_0x186377(0x24a)](_0x22aff),this[_0x186377(0x155)][_0x186377(0x150)](_0x22aff,_0x57a799);}[_0x3cb6ec(0x378)](_0x859d60){const _0x4ecbce=_0x859d60[0x0],_0x286ead=_0x4ecbce[0x0],_0x32454c=_0x4ecbce[0x2],{x:_0xee9790,y:_0x57dd02}=_0x286ead,{x:_0x51ac6f,y:_0x2853d0}=_0x32454c;return{'left':_0xee9790,'top':_0x57dd02,'width':_0x51ac6f-_0xee9790,'height':_0x2853d0-_0x57dd02};}[_0x3cb6ec(0x166)](){const _0x5ace99=_0x3cb6ec,{scaleX:_0x5b8974,scaleY:_0x2d6db4}=this['_scene']['getAncestorScale']();return Math[_0x5ace99(0x380)](_0x5b8974,_0x2d6db4);}}var Zi=Object[_0x3cb6ec(0x2c6)],Qi=(_0x1045b4,_0x178d93,_0x47b8d2,_0x518a6b)=>{const _0x38b1e8=_0x3cb6ec;for(var _0x5b3e4b=_0x518a6b>0x1?void 0x0:_0x518a6b?Zi(_0x178d93,_0x47b8d2):_0x178d93,_0x57110e=_0x1045b4[_0x38b1e8(0x2b3)]-0x1,_0xfd1aa4;_0x57110e>=0x0;_0x57110e--)(_0xfd1aa4=_0x1045b4[_0x57110e])&&(_0x5b3e4b=_0xfd1aa4(_0x5b3e4b)||_0x5b3e4b);return _0x5b3e4b;},ie=(_0x439a8b,_0x302a89)=>(_0x492254,_0x4f6819)=>_0x302a89(_0x492254,_0x4f6819,_0x439a8b);let Fe=class extends _0x3d678c{constructor(_0x803df3,_0x5f25b4,_0x2f9e37,_0x47951b,_0x3c8d19){const _0x2a6ac9=_0x3cb6ec;super(),_(this,_0x2a6ac9(0x1f1),[]),_(this,'_cursors',[]),(this[_0x2a6ac9(0x1d9)]=_0x803df3,this['_docSkeletonManagerService']=_0x5f25b4,this[_0x2a6ac9(0x2dd)]=_0x2f9e37,this[_0x2a6ac9(0x1b2)]=_0x47951b,this[_0x2a6ac9(0x148)]=_0x3c8d19,this['_init']());}[_0x3cb6ec(0x17c)](){const _0x58f669=_0x3cb6ec,_0xa98d5=this[_0x58f669(0x1d9)][_0x58f669(0x178)],_0x24d629=this['_docSkeletonManagerService'];this[_0x58f669(0x1f2)](_0x531965([this[_0x58f669(0x2dd)][_0x58f669(0x24b)](_0xa98d5),this[_0x58f669(0x148)][_0x58f669(0x1a6)]])[_0x58f669(0x1f6)](_0x3ed505(([_0x4efe37,_0x4191e5])=>({'skeleton':_0x24d629[_0x58f669(0x195)](),'cursors':[..._0x4efe37[_0x58f669(0x139)]()]['flatMap'](_0x434a17=>({..._0x434a17,'color':this[_0x58f669(0x148)][_0x58f669(0x14b)](_0x434a17[_0x58f669(0x124)])}))})))['subscribe'](_0x4830c8=>{const _0x42cb2b=_0x58f669;if(this[_0x42cb2b(0x146)](),_0x4830c8){const {skeleton:_0x58a8db,cursors:_0x320607}=_0x4830c8;this[_0x42cb2b(0x270)](_0x58a8db,_0x320607);}})),this[_0x58f669(0x242)](),this['_initCommandExecutedListener']();}[_0x3cb6ec(0x270)](_0x4254ca,_0x32e846){const _0x4b067b=_0x3cb6ec,{scene:_0x225a2f,mainComponent:_0x708466}=this[_0x4b067b(0x1d9)],_0x340403=_0x32e846['map'](_0x134fe6=>new ct(_0x134fe6,_0x225a2f,_0x4254ca,_0x708466));this[_0x4b067b(0x1f1)]=_0x340403,this[_0x4b067b(0x15f)]=_0x32e846;}[_0x3cb6ec(0x2d2)](){const _0x31cb0c=_0x3cb6ec;this[_0x31cb0c(0x146)]();const {scene:_0x408275,mainComponent:_0x388932}=this[_0x31cb0c(0x1d9)],_0x58a98d=this[_0x31cb0c(0x329)][_0x31cb0c(0x195)](),_0x456f74=this[_0x31cb0c(0x15f)][_0x31cb0c(0x35f)](_0x294a5a=>new ct(_0x294a5a,_0x408275,_0x58a98d,_0x388932));this[_0x31cb0c(0x1f1)]=_0x456f74;}[_0x3cb6ec(0x146)](){const _0x187ae0=_0x3cb6ec;this[_0x187ae0(0x1f1)][_0x187ae0(0x2ad)](_0x5e5d87=>_0x5e5d87[_0x187ae0(0x2eb)]()),this['_cursorShapes']=[];}[_0x3cb6ec(0x26a)](){const _0xb5d65f=_0x3cb6ec,_0x2c6518=[_0x5f2fa5['id']];this[_0xb5d65f(0x1f2)](this['_commandService']['onCommandExecuted'](_0x50374a=>{const _0x17f2d9=_0xb5d65f;_0x2c6518[_0x17f2d9(0x144)](_0x50374a['id'])&&_0x50374a[_0x17f2d9(0x2ac)]['unitId']===this[_0x17f2d9(0x1d9)][_0x17f2d9(0x178)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x3caa62=_0x3cb6ec;this[_0x3caa62(0x1f2)](_0x5c469e(this[_0x3caa62(0x1d9)][_0x3caa62(0x354)][_0x3caa62(0x299)])[_0x3caa62(0x1f6)](_0x2447d5(_0x49e8ae=>_0x49e8ae[_0x3caa62(0x230)]===_0x56267a[_0x3caa62(0x2b2)]),_0x46f260(0x10))[_0x3caa62(0x31a)](()=>{const _0x43f152=_0x3caa62;this[_0x43f152(0x2d2)]();}));}};Fe=Qi([ie(0x1,_0x37d941(_0x18f067)),ie(0x2,_0x37d941(H)),ie(0x3,_0x9d66d8),ie(0x4,_0x37d941(_0x487baa))],Fe);const qi=0x1,en=1.5;class tn extends _0x32b61a{constructor(_0x1ec864,_0x38ae57){const _0x474fa2=_0x3cb6ec;super(_0x1ec864,_0x38ae57),_(this,_0x474fa2(0x323)),_(this,'_hovered',!0x1),_(this,_0x474fa2(0x377)),_(this,'_name',''),_(this,'_labelPosition',_0x474fa2(0x352)),_(this,'_backgroundColor'),(_0x38ae57&&this['setShapeProps'](_0x38ae57),this[_0x474fa2(0x2b1)][_0x474fa2(0x31c)](()=>this[_0x474fa2(0x266)]({'hovered':!0x0})),this[_0x474fa2(0x32a)][_0x474fa2(0x31c)](()=>this[_0x474fa2(0x266)]({'hovered':!0x1})));}[_0x3cb6ec(0x266)](_0x5d0f09){const _0x15da93=_0x3cb6ec;var _0x5128bb,_0x11c8c5,_0x561d47,_0x588615,_0x19aa02,_0x188392;this['_color']=(_0x5128bb=_0x5d0f09[_0x15da93(0x124)])!=null?_0x5128bb:this[_0x15da93(0x323)],this[_0x15da93(0x243)]=(_0x11c8c5=_0x5d0f09['hovered'])!=null?_0x11c8c5:this[_0x15da93(0x243)],this['_range']=(_0x561d47=_0x5d0f09[_0x15da93(0x1c4)])!=null?_0x561d47:this[_0x15da93(0x377)],this[_0x15da93(0x182)]=(_0x588615=_0x5d0f09[_0x15da93(0x316)])!=null?_0x588615:this[_0x15da93(0x182)],this[_0x15da93(0x34a)]=(_0x19aa02=_0x5d0f09[_0x15da93(0x348)])!=null?_0x19aa02:this[_0x15da93(0x34a)],this[_0x15da93(0x237)]=(_0x188392=_0x5d0f09[_0x15da93(0x162)])!=null?_0x188392:this[_0x15da93(0x237)],this[_0x15da93(0x120)]({'width':_0x5d0f09[_0x15da93(0x2a1)],'height':_0x5d0f09[_0x15da93(0x2c9)]});}['onMouseMove'](_0x3e9d12){const _0x5d1ec9=_0x3cb6ec,{row:_0x2b2d78,column:_0x2ddc90}=_0x3e9d12;if(_0x2b2d78>=this['_range'][_0x5d1ec9(0x37a)]&&_0x2b2d78<=this['_range'][_0x5d1ec9(0x371)]&&_0x2ddc90>=this[_0x5d1ec9(0x377)][_0x5d1ec9(0x207)]&&_0x2ddc90<=this[_0x5d1ec9(0x377)][_0x5d1ec9(0x335)]){this[_0x5d1ec9(0x266)]({'hovered':!0x0});return;}this[_0x5d1ec9(0x266)]({'hovered':!0x1});}[_0x3cb6ec(0x174)](_0x490e42){return!0x1;}[_0x3cb6ec(0x2c8)](_0x48ebdd){const _0xcf2379=_0x3cb6ec;_0x3254d6[_0xcf2379(0x285)](_0x48ebdd,{'width':this[_0xcf2379(0x2a1)],'height':this[_0xcf2379(0x2c9)],'strokeWidth':en,'stroke':this[_0xcf2379(0x323)],'evented':!0x1,'fill':this[_0xcf2379(0x237)]}),this[_0xcf2379(0x243)]&&(_0x48ebdd[_0xcf2379(0x36f)](),_0x48ebdd[_0xcf2379(0x1da)](0x1,0x0,0x0,0x1,this['width'],this[_0xcf2379(0x34a)]===_0xcf2379(0x31f)?0x0:-Q),ve[_0xcf2379(0x285)](_0x48ebdd,{'text':this['_name'],'color':this['_color']}),_0x48ebdd[_0xcf2379(0x283)]());}}var sn=Object[_0x3cb6ec(0x2c6)],nn=(_0x1c16bc,_0xf3fb23,_0x6e91dc,_0x143d91)=>{const _0x1836a1=_0x3cb6ec;for(var _0x567ef0=_0x143d91>0x1?void 0x0:_0x143d91?sn(_0xf3fb23,_0x6e91dc):_0xf3fb23,_0x497743=_0x1c16bc[_0x1836a1(0x2b3)]-0x1,_0x5e3e74;_0x497743>=0x0;_0x497743--)(_0x5e3e74=_0x1c16bc[_0x497743])&&(_0x567ef0=_0x5e3e74(_0x567ef0)||_0x567ef0);return _0x567ef0;},be=(_0x3843da,_0x36dbac)=>(_0x371767,_0x4146df)=>_0x36dbac(_0x371767,_0x4146df,_0x3843da);const rn=0x1389;let ke=class extends _0x3d678c{constructor(_0x53b4c4,_0x5a9926,_0x27e86e,_0x3b2f0e){const _0x4f7c9c=_0x3cb6ec;super(),_(this,'_cursors',new Set()),_(this,_0x4f7c9c(0x216),null),(this[_0x4f7c9c(0x1d9)]=_0x53b4c4,this[_0x4f7c9c(0x251)]=_0x5a9926,this['_collabCursorController']=_0x27e86e,this[_0x4f7c9c(0x148)]=_0x3b2f0e,this[_0x4f7c9c(0x17c)]());}[_0x3cb6ec(0x17c)](){const _0x587fdb=_0x3cb6ec;this[_0x587fdb(0x251)][_0x587fdb(0x31e)]['pipe'](_0x55ec99(this[_0x587fdb(0x28a)]),_0x10d677(_0x1a6686=>{const _0x379d77=_0x587fdb;if(_0x1a6686){const _0x4d8d2b=_0x1a6686[_0x379d77(0x2c0)];return _0x531965(this[_0x379d77(0x2dd)][_0x379d77(0x24b)](this[_0x379d77(0x1d9)]['unitId']),this[_0x379d77(0x148)]['currentTheme$'])[_0x379d77(0x1f6)](_0x3ed505(([_0x49aea3,_0x51cb8d])=>{const _0x29ed65=_0x379d77,_0x3387d1=new Map();return _0x49aea3[_0x29ed65(0x2ad)]((_0x55537c,_0x2445ba)=>{const _0x552940=_0x29ed65;if(_0x55537c['sheetID']===_0x4d8d2b){const _0x3b5695={..._0x55537c};_0x3b5695[_0x552940(0x124)]=this[_0x552940(0x148)][_0x552940(0x14b)](_0x55537c[_0x552940(0x124)]),_0x3387d1[_0x552940(0x179)](_0x2445ba,_0x3b5695);}}),{'skeleton':_0x1a6686,'cursors':_0x3387d1};}));}return _0x45476a({'skeleton':null,'cursors':new Map()});}))[_0x587fdb(0x31a)](({skeleton:_0x5534c1,cursors:_0x1b47c4})=>{this['_removeCollabCursors'](),_0x5534c1&&this['_updateCollabCursors'](_0x5534c1,_0x1b47c4);}),this[_0x587fdb(0x251)][_0x587fdb(0x31e)][_0x587fdb(0x31a)](_0x4bae0f=>{const _0x564137=_0x587fdb;if(_0x4bae0f==null)return;const {skeleton:_0x6d176e}=_0x4bae0f,{scene:_0x4b5dce}=this[_0x564137(0x1d9)];_0x4b5dce['onPointerMove$'][_0x564137(0x31c)](_0x1ef6bc(_0x3d9530=>{const _0xbb939e=_0x564137;var _0x41d07a,_0x41e2af;const {offsetX:_0x2ca47a,offsetY:_0x2bfad5}=_0x3d9530,{x:_0x211bba,y:_0x114162}=_0x4b5dce[_0xbb939e(0x32e)](_0x498898['FromArray']([_0x2ca47a,_0x2bfad5])),{scaleX:_0x40ed33,scaleY:_0x42d7a6}=_0x4b5dce[_0xbb939e(0x2f6)](),_0xb1f3ab=_0x4b5dce[_0xbb939e(0x161)](_0x6df454[_0xbb939e(0x1ed)]),_0x5657d6=_0x4b5dce[_0xbb939e(0x1fe)](_0x498898[_0xbb939e(0x29f)]([_0x211bba,_0x114162]),_0xb1f3ab),_0x3feb09=_0x6d176e[_0xbb939e(0x1d5)](_0x2ca47a,_0x2bfad5,_0x40ed33,_0x42d7a6,_0x5657d6);((_0x41d07a=this[_0xbb939e(0x216)])==null?void 0x0:_0x41d07a[_0xbb939e(0x246)])===_0x3feb09[_0xbb939e(0x246)]&&((_0x41e2af=this[_0xbb939e(0x216)])==null?void 0x0:_0x41e2af[_0xbb939e(0x2e6)])===_0x3feb09['row']||this[_0xbb939e(0x15f)]['forEach'](_0x30915c=>{const _0x5aea9b=_0xbb939e;_0x30915c[_0x5aea9b(0x147)](_0x3feb09);});},0x64));});}[_0x3cb6ec(0x270)](_0x50ee9e,_0x489ee3){const _0xdbf47d=_0x3cb6ec;var _0x46fcf9;const _0x5edc54=(_0x46fcf9=this[_0xdbf47d(0x251)][_0xdbf47d(0x28f)]())==null?void 0x0:_0x46fcf9[_0xdbf47d(0x349)];if(!_0x5edc54)return;const _0x2b1c2c=this['_getSheetObject']();if(!_0x2b1c2c)return;this['_cursors'][_0xdbf47d(0x2ad)](_0x21911b=>{const _0x88f080=_0xdbf47d;_0x21911b[_0x88f080(0x12d)]();});const {scene:_0x5e5206}=_0x2b1c2c,_0x587fd9=on(Array[_0xdbf47d(0x204)](_0x489ee3[_0xdbf47d(0x139)]()))[_0xdbf47d(0x35f)](_0x1cb80e=>{const _0x46c2e4=_0xdbf47d,{color:_0x3c44d3,range:_0x38945f,name:_0x5f5264,selection:_0x478005,sheetID:_0x346cf1}=_0x1cb80e,{startColumn:_0x5c4234,startRow:_0x4bc355,endColumn:_0x4210e5,endRow:_0x1c697d}=_0x38945f,_0x8d962b=_0x341694(_0x4bc355,_0x5c4234,_0x5e5206,_0x5edc54),_0x50ea29=_0x341694(_0x1c697d,_0x4210e5,_0x5e5206,_0x5edc54),{columnHeaderHeightAndMarginTop:_0x17078c}=_0x5edc54,{startX:_0x1e3e3a,startY:_0x556a6a}=_0x8d962b,{endX:_0x5f4344,endY:_0x30de15}=_0x50ea29,_0x42af52=_0x5f4344-_0x1e3e3a,_0xa5ca6=_0x30de15-_0x556a6a,_0x361494={'labelPosition':_0x556a6a-_0x17078c>=Q?_0x46c2e4(0x352):_0x46c2e4(0x31f),'sheetID':_0x346cf1,'range':_0x38945f,'color':_0x3c44d3,'name':_0x5f5264,'selection':_0x478005,'left':_0x1e3e3a,'top':_0x556a6a,'width':_0x42af52,'height':_0xa5ca6,'evented':!0x1,'zIndex':rn};return new tn(_0x5f5264,_0x361494);});_0x5e5206[_0xdbf47d(0x141)](_0x587fd9,qi),this[_0xdbf47d(0x15f)]=new Set(_0x587fd9);}['_removeCollabCursors'](){const _0x59260b=_0x3cb6ec;var _0x11bde8;(_0x11bde8=this[_0x59260b(0x15f)])==null||_0x11bde8[_0x59260b(0x2ad)](_0x182bd8=>_0x182bd8[_0x59260b(0x2eb)]());}[_0x3cb6ec(0x180)](){const _0x51ba47=_0x3cb6ec;return _0x1c0dfd(this[_0x51ba47(0x1d9)][_0x51ba47(0x376)],this[_0x51ba47(0x1d9)]);}};ke=nn([be(0x1,_0x37d941(_0x4a6460)),be(0x2,_0x37d941(H)),be(0x3,_0x37d941(_0x487baa))],ke);function on(_0x205bde){const _0x361438=_0x3cb6ec,_0x3a949a=new Map();return _0x205bde['forEach'](_0x4e14be=>{const _0x5f3db4=_0x37dd;if(_0x3a949a['has'](_0x4e14be[_0x5f3db4(0x12e)])){const _0x1760d4=_0x3a949a[_0x5f3db4(0x33b)](_0x4e14be['selection']);_0x1760d4['name']+=',\x20'+_0x4e14be['name'];}else _0x3a949a[_0x5f3db4(0x179)](_0x4e14be[_0x5f3db4(0x12e)],_0x4e14be);}),Array[_0x361438(0x204)](_0x3a949a['values']());}var an=Object[_0x3cb6ec(0x2c6)],cn=(_0x33d292,_0x3f5859,_0x5ecf3a,_0x5a2659)=>{const _0x12a7e2=_0x3cb6ec;for(var _0x1971d4=_0x5a2659>0x1?void 0x0:_0x5a2659?an(_0x3f5859,_0x5ecf3a):_0x3f5859,_0x5f11aa=_0x33d292[_0x12a7e2(0x2b3)]-0x1,_0x5a8f4a;_0x5f11aa>=0x0;_0x5f11aa--)(_0x5a8f4a=_0x33d292[_0x5f11aa])&&(_0x1971d4=_0x5a8f4a(_0x1971d4)||_0x1971d4);return _0x1971d4;},F=(_0x312a08,_0x30a90e)=>(_0x31c252,_0xcff2ab)=>_0x30a90e(_0x31c252,_0xcff2ab,_0x312a08);let _e=class extends _0x1249d3{constructor(_0x51e505,_0x46f365,_0xef1f51,_0x4bb1c4,_0x3f8123,_0x3cda81){const _0x47655d=_0x3cb6ec;super(),this[_0x47655d(0x1f5)]=_0x51e505,this[_0x47655d(0x268)]=_0x46f365,this['_collaborationUIEventService']=_0xef1f51,this[_0x47655d(0x2cb)]=_0x4bb1c4,this[_0x47655d(0x252)]=_0x3f8123,this['_localeService']=_0x3cda81,this[_0x47655d(0x267)](),this[_0x47655d(0x355)]();}['_setupBeforeClosingHandler'](){const _0x467774=_0x3cb6ec;this[_0x467774(0x1f2)](this[_0x467774(0x1f5)][_0x467774(0x247)](()=>{const _0x2e4bf1=_0x467774;if(this[_0x2e4bf1(0x268)][_0x2e4bf1(0x35a)][_0x2e4bf1(0x375)])return this['_localeService']['t'](_0x2e4bf1(0x16b));}));}[_0x3cb6ec(0x355)](){const _0x4049b7=_0x3cb6ec;this['disposeWithMe'](this[_0x4049b7(0x142)]['event$']['subscribe'](_0x3bc02f=>{const _0x270b88=_0x4049b7;_0x3bc02f['id']===_0x41c066['OTHER_CLIENT_EDITING']&&this[_0x270b88(0x2cb)][_0x270b88(0x322)]({'type':_0x1ad090['Warning'],'content':this[_0x270b88(0x365)]['t'](_0x270b88(0x244))}),_0x3bc02f['id']===_0x41c066[_0x270b88(0x30a)]&&this[_0x270b88(0x2cb)][_0x270b88(0x322)]({'type':_0x1ad090[_0x270b88(0x133)],'content':this[_0x270b88(0x365)]['t']('collaboration.closeRoom')}),_0x3bc02f['id']===_0x41c066['PERMISSION_DENIED']&&this[_0x270b88(0x252)]['show']({'title':this[_0x270b88(0x365)]['t'](_0x270b88(0x30e)),'content':this[_0x270b88(0x365)]['t']('permission.content'),'type':_0x270b88(0x28c),'duration':0x0}),_0x3bc02f['id']===_0x41c066[_0x270b88(0x214)]&&this[_0x270b88(0x2cb)][_0x270b88(0x322)]({'type':_0x1ad090[_0x270b88(0x156)],'content':this['_localeService']['t'](_0x270b88(0x249))+'('+_0x3bc02f[_0x270b88(0x30c)]+')'}),_0x3bc02f['id']===_0x41c066[_0x270b88(0x19b)]&&this[_0x270b88(0x2cb)][_0x270b88(0x322)]({'type':_0x1ad090['Warning'],'content':this['_localeService']['t'](_0x3bc02f[_0x270b88(0x30c)]||'')}),_0x3bc02f['id']===_0x41c066[_0x270b88(0x175)]&&this[_0x270b88(0x2cb)][_0x270b88(0x322)]({'type':_0x1ad090[_0x270b88(0x133)],'content':this[_0x270b88(0x365)]['t'](_0x270b88(0x2ba))}),_0x3bc02f['id']===_0x41c066['SOCKET_FAILED']&&this['_messageService'][_0x270b88(0x322)]({'type':_0x1ad090[_0x270b88(0x156)],'content':this['_localeService']['t'](_0x270b88(0x334))}),_0x3bc02f['id']===_0x41c066['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x270b88(0x2cb)][_0x270b88(0x322)]({'type':_0x1ad090[_0x270b88(0x156)],'content':this['_localeService']['t'](_0x270b88(0x2f4))});}));}};_e=cn([F(0x0,_0x5e2fbc),F(0x1,_0x14d7c0),F(0x2,_0x37d941(_0x759b59)),F(0x3,_0x35e834),F(0x4,_0x312480),F(0x5,_0x37d941(_0x85763a))],_e);var _n=Object[_0x3cb6ec(0x2c6)],ln=(_0x37dced,_0xeee550,_0x42f83b,_0x1b998f)=>{const _0x59dee8=_0x3cb6ec;for(var _0x106ead=_0x1b998f>0x1?void 0x0:_0x1b998f?_n(_0xeee550,_0x42f83b):_0xeee550,_0x3ec693=_0x37dced[_0x59dee8(0x2b3)]-0x1,_0x5b3260;_0x3ec693>=0x0;_0x3ec693--)(_0x5b3260=_0x37dced[_0x3ec693])&&(_0x106ead=_0x5b3260(_0x106ead)||_0x106ead);return _0x106ead;},ne=(_0x5d7bef,_0x3e66b3)=>(_0x5d04ec,_0x4cf602)=>_0x3e66b3(_0x5d04ec,_0x4cf602,_0x5d7bef);let le=class extends _0x1249d3{constructor(_0x4b58e4,_0xa6370d,_0x1fec57,_0x57d9fc){const _0x40d601=_0x3cb6ec;super(),_(this,_0x40d601(0x32d)),(this[_0x40d601(0x138)]=_0x4b58e4,this[_0x40d601(0x2e0)]=_0xa6370d,this[_0x40d601(0x381)]=_0x1fec57,this['_collaborationSessionService']=_0x57d9fc,this[_0x40d601(0x17c)]());}['_init'](){const _0x29b527=_0x3cb6ec;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this[_0x29b527(0x23e)](),this[_0x29b527(0x28b)]();}[_0x3cb6ec(0x28b)](){const _0x1c25e4=_0x3cb6ec;this[_0x1c25e4(0x1f2)](this[_0x1c25e4(0x382)]['socket$'][_0x1c25e4(0x31a)](_0xd66bf1=>{const _0x5443e0=_0x1c25e4;this[_0x5443e0(0x32d)]=_0xd66bf1==null?void 0x0:_0xd66bf1[_0x5443e0(0x2be)];}));}[_0x3cb6ec(0x337)](){const _0x41fbb9=_0x3cb6ec,_0x5aa3f0=_0x5b7c96=>{const _0x28b353=_0x37dd;var _0x33b3e5;this[_0x28b353(0x1c0)](_0x28b353(0x28c),_0x28b353(0x350)+_0x5b7c96[_0x28b353(0x181)]+_0x28b353(0x368)+_0x5b7c96[_0x28b353(0x2cf)]+':'+_0x5b7c96[_0x28b353(0x24e)]+':'+_0x5b7c96[_0x28b353(0x172)]+'\x0a'+(((_0x33b3e5=_0x5b7c96[_0x28b353(0x28c)])==null?void 0x0:_0x33b3e5[_0x28b353(0x364)])||''));};window[_0x41fbb9(0x2c5)](_0x41fbb9(0x28c),_0x5aa3f0),this[_0x41fbb9(0x1f2)](()=>{const _0x234506=_0x41fbb9;window[_0x234506(0x33d)](_0x234506(0x28c),_0x5aa3f0);});}['_initUnhandledRejectionListener'](){const _0x256890=_0x3cb6ec,_0x5eb71a=_0x261f6d=>{const _0x4ddf4d=_0x37dd;this['_uploadLog'](_0x4ddf4d(0x28c),_0x4ddf4d(0x1a0)+_0x261f6d[_0x4ddf4d(0x197)]);};window['addEventListener'](_0x256890(0x333),_0x5eb71a),this[_0x256890(0x1f2)](()=>{const _0x3b29d=_0x256890;window[_0x3b29d(0x33d)](_0x3b29d(0x333),_0x5eb71a);});}[_0x3cb6ec(0x23e)](){const _0x5f5d33=_0x3cb6ec,_0x10cf77=this[_0x5f5d33(0x381)]['error'][_0x5f5d33(0x2ca)](this['_logService']);this[_0x5f5d33(0x381)][_0x5f5d33(0x28c)]=(..._0x58f254)=>{const _0x3938be=_0x5f5d33,_0x4794ec=_0x58f254[_0x3938be(0x35f)](_0x3babd8=>_0x3babd8 instanceof Error?_0x3babd8[_0x3938be(0x181)]+'\x0a'+_0x3babd8[_0x3938be(0x364)]:String(_0x3babd8))[_0x3938be(0x160)]('\x20');this[_0x3938be(0x1c0)]('error',_0x3938be(0x14d)+_0x4794ec),_0x10cf77(..._0x58f254);},this[_0x5f5d33(0x1f2)](()=>{const _0x174531=_0x5f5d33;this['_logService'][_0x174531(0x28c)]=_0x10cf77;});}[_0x3cb6ec(0x1c0)](_0x1a304c,_0x3494f9){const _0x2d5047=_0x3cb6ec;try{const _0x25b803={'userId':this[_0x2d5047(0x32d)],'logLabel':_0x1a304c,'content':_0x3494f9};this['_httpService'][_0x2d5047(0x360)]('/universer-api/frontend/logs',{'body':_0x25b803})[_0x2d5047(0x126)](()=>{});}catch{}}};le=ln([ne(0x0,_0x37d941(_0x4a07ef)),ne(0x1,_0x37d941(_0x3ac830)),ne(0x2,_0x4ca09d),ne(0x3,_0x37d941(_0x590570))],le);const hn=_0x3cb6ec(0x36b),_t={};var un=Object[_0x3cb6ec(0x2c6)],dn=(_0x5a8be6,_0x85333e,_0xfee7a7,_0x474f79)=>{const _0x38c414=_0x3cb6ec;for(var _0x533e31=_0x474f79>0x1?void 0x0:_0x474f79?un(_0x85333e,_0xfee7a7):_0x85333e,_0x1d44b3=_0x5a8be6[_0x38c414(0x2b3)]-0x1,_0xf016a2;_0x1d44b3>=0x0;_0x1d44b3--)(_0xf016a2=_0x5a8be6[_0x1d44b3])&&(_0x533e31=_0xf016a2(_0x533e31)||_0x533e31);return _0x533e31;},lt=(_0x581a25,_0x53283b)=>(_0x555638,_0x54b424)=>_0x53283b(_0x555638,_0x54b424,_0x581a25);let he=class{constructor(_0x384096,_0x3cf1f3){const _0x3ebeb0=_0x3cb6ec;this[_0x3ebeb0(0x30d)]=_0x384096,this['_renderManagerService']=_0x3cf1f3;}[_0x3cb6ec(0x1ab)](_0x57c6ac){const _0x26ff2a=_0x3cb6ec;this[_0x26ff2a(0x1f4)](_0x57c6ac),this[_0x26ff2a(0x223)](_0x57c6ac);}[_0x3cb6ec(0x1bd)](_0x34acf7){const _0x46d946=_0x3cb6ec,{unitID:_0x140321}=_0x34acf7,_0x506db6=this[_0x46d946(0x2ff)][_0x46d946(0x19a)](_0x140321)[_0x46d946(0x25f)](_0x43bc1f),{redoCache:_0x3c66f5}=_0x506db6[_0x46d946(0x2a7)]();if(_0x3c66f5['length']===0x0)return _0x34acf7;let _0x5d06f5=_0x1fa2d7['deepClone'](_0x34acf7[_0x46d946(0x269)][0x0]);for(let _0x1e7115=0x0;_0x1e7115<_0x3c66f5[_0x46d946(0x2b3)];_0x1e7115++){const _0x13f571={'id':'doc.mutation.rich-text-editing','params':{..._0x3c66f5[_0x1e7115]}},_0x342723=this[_0x46d946(0x30d)][_0x46d946(0x2d9)](_0x5d06f5,_0x13f571,!0x1);if(_0x2f71ef(_0x342723))throw _0x342723['error'];_0x5d06f5=_0x342723['m1Prime'];}return{..._0x1fa2d7[_0x46d946(0x317)](_0x34acf7),'mutations':[_0x5d06f5]};}[_0x3cb6ec(0x1f4)](_0xe9caef){const _0x2ec733=_0x3cb6ec,{unitID:_0x4d028b}=_0xe9caef,_0x4f7039=this[_0x2ec733(0x2ff)][_0x2ec733(0x19a)](_0x4d028b)[_0x2ec733(0x25f)](_0x43bc1f),{undoCache:_0x4fd1ab,redoCache:_0xa2a5be}=_0x4f7039[_0x2ec733(0x2a7)]();if(_0x4fd1ab['length']===0x0||_0xa2a5be[_0x2ec733(0x2b3)]===0x0)return;const _0x567101=[],_0x5d61c4=[];let _0x4c5627=_0x1fa2d7[_0x2ec733(0x317)](_0xe9caef[_0x2ec733(0x269)][0x0]),_0x4883f2=_0x1fa2d7['deepClone'](_0xe9caef[_0x2ec733(0x269)][0x0]);for(let _0x356870=_0x4fd1ab[_0x2ec733(0x2b3)]-0x1;_0x356870>=0x0;_0x356870--){const _0x58416a={'id':_0x2ec733(0x287),'params':{..._0x4fd1ab[_0x356870]}},_0x5ca2a8={'id':'doc.mutation.rich-text-editing','params':{..._0xa2a5be[_0x356870]}},_0x5d4255=this[_0x2ec733(0x30d)][_0x2ec733(0x2d9)](_0x4c5627,_0x58416a,!0x1),_0x101f74=this[_0x2ec733(0x30d)][_0x2ec733(0x2d9)](_0x4883f2,_0x5ca2a8,!0x1);if(_0x2f71ef(_0x5d4255))throw _0x5d4255[_0x2ec733(0x28c)];if(_0x2f71ef(_0x101f74))throw _0x101f74[_0x2ec733(0x28c)];_0x567101[_0x2ec733(0x2b5)](_0x5d4255[_0x2ec733(0x14e)][_0x2ec733(0x2ac)]),_0x5d61c4['unshift'](_0x101f74[_0x2ec733(0x14e)][_0x2ec733(0x2ac)]),_0x4c5627=_0x5d4255[_0x2ec733(0x328)],_0x4883f2=_0x101f74[_0x2ec733(0x328)];}_0x4f7039[_0x2ec733(0x1a1)]({'undoCache':_0x567101,'redoCache':_0x5d61c4});}[_0x3cb6ec(0x223)](_0xf6a694){const _0x3fc933=_0x3cb6ec,{unitID:_0x51bd19}=_0xf6a694,_0x1247b7=this['_renderManagerService'][_0x3fc933(0x19a)](_0x51bd19)[_0x3fc933(0x25f)](_0x43bc1f),_0x504ac1=_0x1247b7[_0x3fc933(0x366)]();if(_0x504ac1==null)return;const _0x41eaa4=[{'id':_0x3fc933(0x287),'params':{'unitId':_0xf6a694[_0x3fc933(0x1a5)],'actions':null,'textRanges':[_0x504ac1]}}],_0x3c813e=this[_0x3fc933(0x30d)][_0x3fc933(0x2a6)](_0xf6a694,_0x41eaa4);if(!_0x215d32(_0x3c813e))throw _0x3c813e[_0x3fc933(0x28c)];const _0x3c1ae7=_0x3c813e['m2Prime'][0x0][_0x3fc933(0x2ac)][_0x3fc933(0x35c)];Array[_0x3fc933(0x24d)](_0x3c1ae7)&&_0x3c1ae7['length']&&_0x1247b7[_0x3fc933(0x15c)](_0x3c1ae7[0x0]);}};he=dn([lt(0x0,_0x397a7),lt(0x1,_0x263319)],he);var Sn=Object[_0x3cb6ec(0x2c6)],In=(_0x432664,_0x23c4d2,_0x2bdb7b,_0x41ae2d)=>{const _0x24d99a=_0x3cb6ec;for(var _0x39067e=_0x41ae2d>0x1?void 0x0:_0x41ae2d?Sn(_0x23c4d2,_0x2bdb7b):_0x23c4d2,_0x2a3f52=_0x432664[_0x24d99a(0x2b3)]-0x1,_0x4a9b51;_0x2a3f52>=0x0;_0x2a3f52--)(_0x4a9b51=_0x432664[_0x2a3f52])&&(_0x39067e=_0x4a9b51(_0x39067e)||_0x39067e);return _0x39067e;},Le=(_0x3cf18c,_0x36c27a)=>(_0xf7561f,_0x4499e9)=>_0x36c27a(_0xf7561f,_0x4499e9,_0x3cf18c);let ue=class{constructor(_0x107a40,_0x315794,_0x10a4b6){const _0x46cc21=_0x3cb6ec;this['_injector']=_0x107a40,this['_transformService']=_0x315794,this[_0x46cc21(0x1e3)]=_0x10a4b6;}[_0x3cb6ec(0x21d)](_0x376ca6){const _0x24b5b8=_0x3cb6ec;this[_0x24b5b8(0x12b)](_0x376ca6);}[_0x3cb6ec(0x1bd)](_0x5d4888){const _0x39c5d8=_0x3cb6ec,{unitID:_0x223b14}=_0x5d4888,{collaboration:_0x5e97e4}=this[_0x39c5d8(0x1e3)][_0x39c5d8(0x276)](_0x223b14);if(_0x5e97e4[_0x39c5d8(0x2b3)]===0x0)return _0x5d4888;let _0x31c149=_0x1fa2d7[_0x39c5d8(0x317)](_0x5d4888['mutations'][0x0]);for(let _0x1e4c33=0x0;_0x1e4c33<_0x5e97e4['length'];_0x1e4c33++){const _0x29fc74={'id':_0x39c5d8(0x287),'params':{'unitId':_0x5e97e4[_0x1e4c33]['unitId'],..._0x5e97e4[_0x1e4c33][_0x39c5d8(0x17d)]}},_0x44fa06=this[_0x39c5d8(0x30d)][_0x39c5d8(0x2d9)](_0x31c149,_0x29fc74,!0x1);if(_0x2f71ef(_0x44fa06))throw _0x44fa06['error'];_0x31c149=_0x44fa06[_0x39c5d8(0x328)];}return{..._0x1fa2d7[_0x39c5d8(0x317)](_0x5d4888),'mutations':[_0x31c149]};}[_0x3cb6ec(0x12b)](_0xa8c5df){const _0x539da6=_0x3cb6ec,{unitID:_0x3d461a}=_0xa8c5df,{history:_0x42f64b,collaboration:_0x51142a}=this[_0x539da6(0x1e3)]['getStateCache'](_0x3d461a);if(_0x42f64b[_0x539da6(0x2b3)]===0x0&&_0x51142a[_0x539da6(0x2b3)]===0x0)return;const _0x826ff5=[],_0x510ba2=[];let _0x595038=_0x1fa2d7['deepClone'](_0xa8c5df[_0x539da6(0x269)][0x0]),_0x307571=_0x1fa2d7[_0x539da6(0x317)](_0xa8c5df['mutations'][0x0]);for(let _0x1426e2=_0x42f64b[_0x539da6(0x2b3)]-0x1;_0x1426e2>=0x0;_0x1426e2--){const _0x3eaa02={'id':_0x539da6(0x287),'params':{'unitId':_0x42f64b[_0x1426e2][_0x539da6(0x178)],..._0x42f64b[_0x1426e2][_0x539da6(0x18d)]}},_0x348c3f={'id':_0x539da6(0x287),'params':{'unitId':_0x42f64b[_0x1426e2][_0x539da6(0x178)],..._0x42f64b[_0x1426e2]['redoState']}},_0x4592e4=this[_0x539da6(0x30d)]['transformMutation'](_0x595038,_0x3eaa02,!0x1),_0x27044f=this[_0x539da6(0x30d)][_0x539da6(0x2d9)](_0x307571,_0x348c3f,!0x1);if(_0x2f71ef(_0x4592e4))throw _0x4592e4[_0x539da6(0x28c)];if(_0x2f71ef(_0x27044f))throw _0x27044f[_0x539da6(0x28c)];_0x826ff5[_0x539da6(0x2b5)]({..._0x42f64b[_0x1426e2],'undoState':_0x4592e4[_0x539da6(0x14e)][_0x539da6(0x2ac)],'redoState':_0x27044f[_0x539da6(0x14e)]['params']}),_0x595038=_0x4592e4[_0x539da6(0x328)],_0x307571=_0x27044f[_0x539da6(0x328)];}_0x595038=_0x1fa2d7[_0x539da6(0x317)](_0xa8c5df[_0x539da6(0x269)][0x0]),_0x307571=_0x1fa2d7[_0x539da6(0x317)](_0xa8c5df[_0x539da6(0x269)][0x0]);for(let _0xf68f73=_0x51142a[_0x539da6(0x2b3)]-0x1;_0xf68f73>=0x0;_0xf68f73--){const _0x3c9960={'id':_0x539da6(0x287),'params':{'unitId':_0x51142a[_0xf68f73][_0x539da6(0x178)],..._0x51142a[_0xf68f73][_0x539da6(0x18d)]}},_0xfce023={'id':_0x539da6(0x287),'params':{'unitId':_0x51142a[_0xf68f73]['unitId'],..._0x51142a[_0xf68f73]['redoState']}},_0x213877=this[_0x539da6(0x30d)]['transformMutation'](_0x595038,_0x3c9960,!0x1),_0x469407=this[_0x539da6(0x30d)][_0x539da6(0x2d9)](_0x307571,_0xfce023,!0x1);if(_0x2f71ef(_0x213877))throw _0x213877['error'];if(_0x2f71ef(_0x469407))throw _0x469407[_0x539da6(0x28c)];_0x510ba2[_0x539da6(0x2b5)]({..._0x51142a[_0xf68f73],'undoState':_0x213877['m2Prime']['params'],'redoState':_0x469407[_0x539da6(0x14e)][_0x539da6(0x2ac)]}),_0x595038=_0x213877[_0x539da6(0x328)],_0x307571=_0x469407['m1Prime'];}this[_0x539da6(0x1e3)][_0x539da6(0x1dc)](_0x3d461a,{'history':_0x826ff5,'collaboration':_0x510ba2});}};ue=In([Le(0x0,_0x37d941(_0x4a07ef)),Le(0x1,_0x397a7),Le(0x2,_0x37d941(_0x3a2278))],ue);var mn=Object[_0x3cb6ec(0x2c6)],fn=(_0xa2e680,_0x13d496,_0x51203f,_0x32d6a1)=>{const _0x178fc3=_0x3cb6ec;for(var _0xbe535a=_0x32d6a1>0x1?void 0x0:_0x32d6a1?mn(_0x13d496,_0x51203f):_0x13d496,_0x644151=_0xa2e680[_0x178fc3(0x2b3)]-0x1,_0x2a9b21;_0x644151>=0x0;_0x644151--)(_0x2a9b21=_0xa2e680[_0x644151])&&(_0xbe535a=_0x2a9b21(_0xbe535a)||_0xbe535a);return _0xbe535a;},ht=(_0x1c52a4,_0x7b3772)=>(_0x493e2c,_0x43163a)=>_0x7b3772(_0x493e2c,_0x43163a,_0x1c52a4);let de=class{constructor(_0x39e742,_0xb47bb9){const _0x296d6f=_0x3cb6ec;this[_0x296d6f(0x138)]=_0x39e742,this[_0x296d6f(0x30d)]=_0xb47bb9;}[_0x3cb6ec(0x129)](_0x74414f){const _0x518d50=_0x3cb6ec;var _0x262899;const _0x4d97f9=this['_injector'][_0x518d50(0x33b)](_0x18c59e),_0x3d397b=(_0x262899=_0x4d97f9[_0x518d50(0x36d)]())!=null?_0x262899:[];if(_0x3d397b[_0x518d50(0x2b3)]===0x0)return;const _0x53623f=_0x74414f[_0x518d50(0x1a5)],_0xe3def6=[{'id':_0x518d50(0x287),'params':{'unitId':_0x53623f,'actions':null,'textRanges':_0x3d397b}}],_0x2a3e10=this['_transformService'][_0x518d50(0x2a6)](_0x74414f,_0xe3def6);if(!_0x215d32(_0x2a3e10))throw _0x2a3e10['error'];const _0x13051f=_0x2a3e10[_0x518d50(0x14e)][0x0][_0x518d50(0x2ac)][_0x518d50(0x35c)];Array['isArray'](_0x13051f)&&_0x13051f['length']&&_0x4d97f9['replaceDocRanges'](_0x13051f,{'unitId':_0x53623f,'subUnitId':_0x53623f},!0x1);}};de=fn([ht(0x0,_0x37d941(_0x4a07ef)),ht(0x1,_0x397a7)],de);var gn=Object[_0x3cb6ec(0x2c6)],En=(_0xa29c0b,_0x806565,_0x16e538,_0x4d7e11)=>{const _0x7f73f3=_0x3cb6ec;for(var _0x3c1fd3=_0x4d7e11>0x1?void 0x0:_0x4d7e11?gn(_0x806565,_0x16e538):_0x806565,_0x26d738=_0xa29c0b[_0x7f73f3(0x2b3)]-0x1,_0x1cffcc;_0x26d738>=0x0;_0x26d738--)(_0x1cffcc=_0xa29c0b[_0x26d738])&&(_0x3c1fd3=_0x1cffcc(_0x3c1fd3)||_0x3c1fd3);return _0x3c1fd3;},U=(_0x121805,_0x3751b9)=>(_0x1b327a,_0x470c80)=>_0x3751b9(_0x1b327a,_0x470c80,_0x121805);let Se=class extends _0x1249d3{constructor(_0x3a1f62,_0x34be16,_0x54c115,_0x31121b,_0x596847,_0x184f76,_0x150ffd,_0x31a5b2){const _0x533127=_0x3cb6ec;super(),_(this,_0x533127(0x1ff),new _0x2dcff1(_0x200bcf[_0x533127(0x220)])),(this['_docStateChangeManagerService']=_0x3a1f62,this[_0x533127(0x326)]=_0x34be16,this[_0x533127(0x1a9)]=_0x54c115,this['_docTransformStateCacheService']=_0x31121b,this[_0x533127(0x154)]=_0x596847,this[_0x533127(0x2f7)]=_0x184f76,this[_0x533127(0x2cb)]=_0x150ffd,this['_localeService']=_0x31a5b2,this['_initEntityListener']());}[_0x3cb6ec(0x2bc)](){const _0x4dfda4=_0x3cb6ec;this[_0x4dfda4(0x1f2)](this[_0x4dfda4(0x326)][_0x4dfda4(0x2c4)]['subscribe'](_0xaff579=>{const _0x29bc40=_0x4dfda4,_0x5b07f8=this[_0x29bc40(0x1e3)][_0x29bc40(0x263)][_0x29bc40(0x31a)](_0x5862ef=>{const _0x15f3c7=_0x29bc40;if(_0x5862ef==null)return;const {unitId:_0x52f8e4,redoState:_0x5561da,commandId:_0x452870}=_0x5862ef;if(_0x52f8e4!==_0xaff579[_0x15f3c7(0x1a5)])return;const _0x425395={'id':_0x452870,'type':_0x5ed3dc[_0x15f3c7(0x2e8)],'params':{'unitId':_0x52f8e4,'actions':_0x5561da[_0x15f3c7(0x1c1)],'textRanges':null}};_0xaff579[_0x15f3c7(0x359)](_0x425395);});if(_0xaff579[_0x29bc40(0x1f2)](_0x5b07f8),_0xaff579 instanceof _0x4e6a63){const _0x56bee5={'onTransformIME':_0x177a3b=>this[_0x29bc40(0x1a9)][_0x29bc40(0x1ab)](_0x177a3b),'onTransformState':_0x3cbea5=>this['_docTransformStateCacheService']['transformStateCache'](_0x3cbea5),'onTransformSelections':_0x305ebc=>this[_0x29bc40(0x154)][_0x29bc40(0x129)](_0x305ebc),'onSyncEditingCollabCursor':_0x319ff1=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x319ff1),'onTransformRemoteChangesetByIMECache':_0x2066a0=>this[_0x29bc40(0x1a9)][_0x29bc40(0x1bd)](_0x2066a0),'onTransformRemoteChangesetByStateCache':_0x247929=>this['_docTransformStateCacheService'][_0x29bc40(0x1bd)](_0x247929)};_0xaff579[_0x29bc40(0x1cf)](_0x56bee5);}}));}};Se=En([U(0x0,_0x37d941(_0x3a2278)),U(0x1,_0x37d941(_0x504f1c)),U(0x2,_0x37d941(he)),U(0x3,_0x37d941(ue)),U(0x4,_0x37d941(de)),U(0x5,_0x37d941(ze)),U(0x6,_0x35e834),U(0x7,_0x37d941(_0x85763a))],Se);var Z=(_0x107124=>(_0x107124[_0x107124['UNDEFINED']=0x0]=_0x3cb6ec(0x30b),_0x107124[_0x107124['OK']=0x1]='OK',_0x107124[_0x107124[_0x3cb6ec(0x305)]=0x2]=_0x3cb6ec(0x305),_0x107124[_0x107124[_0x3cb6ec(0x157)]=0x3]=_0x3cb6ec(0x157),_0x107124[_0x107124[_0x3cb6ec(0x277)]=0x4]=_0x3cb6ec(0x277),_0x107124[_0x107124[_0x3cb6ec(0x232)]=0x5]=_0x3cb6ec(0x232),_0x107124[_0x107124[_0x3cb6ec(0x274)]=0x6]=_0x3cb6ec(0x274),_0x107124[_0x107124[_0x3cb6ec(0x262)]=0x7]=_0x3cb6ec(0x262),_0x107124[_0x107124[_0x3cb6ec(0x121)]=0x8]='TOO_MANY_REQUESTS',_0x107124[_0x107124[_0x3cb6ec(0x202)]=0x9]='COMPLETION_FINISHED',_0x107124[_0x107124['LOGIN_FAILED']=0xa]=_0x3cb6ec(0x1d0),_0x107124[_0x107124[_0x3cb6ec(0x1b0)]=0xb]=_0x3cb6ec(0x1b0),_0x107124[_0x107124[_0x3cb6ec(0x185)]=0xc]=_0x3cb6ec(0x185),_0x107124[_0x107124[_0x3cb6ec(0x184)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x107124[_0x107124['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x3cb6ec(0x196),_0x107124[_0x107124[_0x3cb6ec(0x372)]=0xf]=_0x3cb6ec(0x372),_0x107124[_0x107124[_0x3cb6ec(0x2e7)]=0x10]=_0x3cb6ec(0x2e7),_0x107124[_0x107124[_0x3cb6ec(0x12c)]=0x64]=_0x3cb6ec(0x12c),_0x107124[_0x107124[_0x3cb6ec(0x209)]=0x65]=_0x3cb6ec(0x209),_0x107124[_0x107124['USER_NOT_FOUND']=0xc9]=_0x3cb6ec(0x2a2),_0x107124[_0x107124['USER_IS_ANONYMOUS']=0xca]=_0x3cb6ec(0x123),_0x107124[_0x107124[_0x3cb6ec(0x280)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x107124[_0x107124['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3cb6ec(0x21b),_0x107124[_0x107124['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x3cb6ec(0x35e),_0x107124[_0x107124[_0x3cb6ec(0x1c9)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x107124[_0x107124[_0x3cb6ec(0x2b4)]=0x1b59]=_0x3cb6ec(0x2b4),_0x107124[_0x107124['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3cb6ec(0x13b),_0x107124[_0x107124[_0x3cb6ec(0x320)]=0x1b5b]=_0x3cb6ec(0x320),_0x107124[_0x107124[_0x3cb6ec(0x294)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x107124[_0x107124[_0x3cb6ec(0x28e)]=0x1b5d]=_0x3cb6ec(0x28e),_0x107124[_0x107124['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x107124[_0x107124[_0x3cb6ec(0x321)]=0x2329]=_0x3cb6ec(0x321),_0x107124[_0x107124[_0x3cb6ec(0x22e)]=0x232a]=_0x3cb6ec(0x22e),_0x107124[_0x107124[_0x3cb6ec(0x15a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x107124[_0x107124[_0x3cb6ec(0x31d)]=0x232c]=_0x3cb6ec(0x31d),_0x107124[_0x107124['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3cb6ec(0x22a),_0x107124[_0x107124[_0x3cb6ec(0x25a)]=0x2711]=_0x3cb6ec(0x25a),_0x107124[_0x107124[_0x3cb6ec(0x297)]=0x2712]=_0x3cb6ec(0x297),_0x107124[_0x107124[_0x3cb6ec(0x1b4)]=0x2713]=_0x3cb6ec(0x1b4),_0x107124[_0x107124[_0x3cb6ec(0x2db)]=0x2714]=_0x3cb6ec(0x2db),_0x107124[_0x107124['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x3cb6ec(0x1c7),_0x107124[_0x107124[_0x3cb6ec(0x17b)]=0x271b]=_0x3cb6ec(0x17b),_0x107124[_0x107124[_0x3cb6ec(0x1eb)]=0x271c]=_0x3cb6ec(0x1eb),_0x107124[_0x107124[_0x3cb6ec(0x130)]=0x271d]=_0x3cb6ec(0x130),_0x107124[_0x107124['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3cb6ec(0x37f),_0x107124[_0x107124[_0x3cb6ec(0x379)]=0x271f]=_0x3cb6ec(0x379),_0x107124[_0x107124['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x107124[_0x107124[_0x3cb6ec(0x265)]=0x2af9]=_0x3cb6ec(0x265),_0x107124[_0x107124[_0x3cb6ec(0x222)]=0x2ee1]=_0x3cb6ec(0x222),_0x107124[_0x107124['INVALID_INVITE_CODE']=0x2ee2]=_0x3cb6ec(0x208),_0x107124[_0x107124[_0x3cb6ec(0x344)]=0x2ee3]=_0x3cb6ec(0x344),_0x107124[_0x107124[_0x3cb6ec(0x1ec)]=0x2ee4]=_0x3cb6ec(0x1ec),_0x107124[_0x107124[_0x3cb6ec(0x248)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x107124[_0x107124[_0x3cb6ec(0x286)]=0x32c9]=_0x3cb6ec(0x286),_0x107124[_0x107124[_0x3cb6ec(0x2f2)]=0x32ca]=_0x3cb6ec(0x2f2),_0x107124[_0x107124[_0x3cb6ec(0x289)]=0x32cb]=_0x3cb6ec(0x289),_0x107124[_0x107124[_0x3cb6ec(0x346)]=0x36b1]=_0x3cb6ec(0x346),_0x107124[_0x107124[_0x3cb6ec(0x342)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x107124[_0x107124[_0x3cb6ec(0x2ef)]=0x36b3]=_0x3cb6ec(0x2ef),_0x107124[_0x107124[_0x3cb6ec(0x1ee)]=0x36b4]=_0x3cb6ec(0x1ee),_0x107124[_0x107124[_0x3cb6ec(0x2d0)]=0x36b5]=_0x3cb6ec(0x2d0),_0x107124[_0x107124[_0x3cb6ec(0x32b)]=0x36b6]=_0x3cb6ec(0x32b),_0x107124[_0x107124[_0x3cb6ec(0x1d7)]=0x36b7]=_0x3cb6ec(0x1d7),_0x107124[_0x107124[_0x3cb6ec(0x33e)]=0x36b8]=_0x3cb6ec(0x33e),_0x107124[_0x107124[_0x3cb6ec(0x37c)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x107124[_0x107124[_0x3cb6ec(0x1a3)]=0x3716]=_0x3cb6ec(0x1a3),_0x107124[_0x107124[_0x3cb6ec(0x2dc)]=0x3717]=_0x3cb6ec(0x2dc),_0x107124[_0x107124['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x3cb6ec(0x13f),_0x107124[_0x107124[_0x3cb6ec(0x131)]=0x3a99]=_0x3cb6ec(0x131),_0x107124[_0x107124[_0x3cb6ec(0x29b)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x107124[_0x107124[_0x3cb6ec(0x2fe)]=0x3a9b]=_0x3cb6ec(0x2fe),_0x107124[_0x107124[_0x3cb6ec(0x143)]=0x3a9c]=_0x3cb6ec(0x143),_0x107124[_0x107124[_0x3cb6ec(0x2c1)]=0x3a9d]=_0x3cb6ec(0x2c1),_0x107124[_0x107124[_0x3cb6ec(0x284)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x107124[_0x107124[_0x3cb6ec(0x311)]=0x3a9f]=_0x3cb6ec(0x311),_0x107124[_0x107124[_0x3cb6ec(0x369)]=0x3e81]=_0x3cb6ec(0x369),_0x107124[_0x107124[_0x3cb6ec(0x2f9)]=-0x1]='UNRECOGNIZED',_0x107124))(Z||{});function vn(_0x429f4d){const _0x18a171=_0x3cb6ec;var _0x573e7f,_0x54025c;const _0x3d3e13=(_0x573e7f=_0x429f4d[_0x18a171(0x203)])==null?void 0x0:_0x573e7f[_0x18a171(0x1d1)],_0x5cd089=((_0x54025c=_0x429f4d[_0x18a171(0x203)])==null?void 0x0:_0x54025c[_0x18a171(0x1e6)])||0x0;return _0x3d3e13===_0x2a77cf[_0x18a171(0x1d6)]&&_0x5cd089>0x0;}function pn(_0xc1dfa){const _0x3c4159=_0x3cb6ec;return _0xc1dfa[_0x3c4159(0x20c)]===_0x2943c3['SUCCESS'];}var On=Object[_0x3cb6ec(0x2c6)],Tn=(_0x59ce23,_0x349e77,_0x3c4679,_0x4c1ad1)=>{const _0x94b751=_0x3cb6ec;for(var _0x5ac23f=_0x4c1ad1>0x1?void 0x0:_0x4c1ad1?On(_0x349e77,_0x3c4679):_0x349e77,_0x2900d9=_0x59ce23[_0x94b751(0x2b3)]-0x1,_0xb6b902;_0x2900d9>=0x0;_0x2900d9--)(_0xb6b902=_0x59ce23[_0x2900d9])&&(_0x5ac23f=_0xb6b902(_0x5ac23f)||_0x5ac23f);return _0x5ac23f;},P=(_0x1900cd,_0x3eaf6f)=>(_0x4061a6,_0x4e032f)=>_0x3eaf6f(_0x4061a6,_0x4e032f,_0x1900cd);const Cn=_0x3cb6ec(0x16e),Rn=_0x3cb6ec(0x225),Dn=_0x3cb6ec(0x201);let Ie=class extends _0x1249d3{constructor(_0x44ab30,_0x5c1cb8,_0x596c16,_0x311805,_0x5576ea,_0x2f26af,_0x5e7b95){const _0xe21823=_0x3cb6ec;super(),_(this,'_pollingInterval',null),_(this,_0xe21823(0x245),0x0),_(this,_0xe21823(0x140),0x0),_(this,_0xe21823(0x325),[]),_(this,_0xe21823(0x2d5),0x0),(this[_0xe21823(0x2cb)]=_0x44ab30,this[_0xe21823(0x1b2)]=_0x5c1cb8,this[_0xe21823(0x30f)]=_0x596c16,this[_0xe21823(0x2e0)]=_0x311805,this['_univerInstanceService']=_0x5576ea,this['_logService']=_0x2f26af,this[_0xe21823(0x365)]=_0x5e7b95,this[_0xe21823(0x16a)]());}['_initCommandInterceptor'](){const _0x44a1de=_0x3cb6ec;this[_0x44a1de(0x1f2)](this[_0x44a1de(0x1b2)][_0x44a1de(0x2f1)]((_0xff8ba8,_0x5bcdd5)=>{const _0x5cc7fc=_0x44a1de;var _0x53158e;if(_0xff8ba8['id']!==_0x9617aa['id'])return;const _0x2f279c=_0xff8ba8['params'];if(!this[_0x5cc7fc(0x25b)]((_0x53158e=_0x2f279c[_0x5cc7fc(0x183)])!=null?_0x53158e:[]))return;if(!this[_0x5cc7fc(0x153)]())throw this[_0x5cc7fc(0x19c)](_0xff8ba8,_0x5bcdd5),this['_showGuardMessage'](),new _0x400542();})),this['disposeWithMe'](this[_0x44a1de(0x1b2)][_0x44a1de(0x228)]((_0x14bd4a,_0x4e01c5)=>{const _0x24729a=_0x44a1de;if(_0x14bd4a['id']!==_0x576616['id'])return;const _0x5b39c0=_0x14bd4a['params'];if(vn(_0x5b39c0)){const _0x4817fd=_0x1b66d4();this[_0x24729a(0x325)][_0x24729a(0x24a)](_0x4817fd),this[_0x24729a(0x309)](_0x4817fd);}else{if(pn(_0x5b39c0)&&this['_taskIds']['length']>0x0){const _0x585773=this[_0x24729a(0x325)][_0x24729a(0x272)]();this[_0x24729a(0x2a9)](_0x585773);}}}));}['dispose'](){const _0x23a1b6=_0x3cb6ec;super['dispose'](),this[_0x23a1b6(0x1a2)](),this[_0x23a1b6(0x325)]=[],this[_0x23a1b6(0x140)]=0x0,this[_0x23a1b6(0x245)]=0x0,this[_0x23a1b6(0x2d5)]=0x0;}async[_0x3cb6ec(0x19c)](_0x364acf,_0x993cca){const _0xefa576=_0x3cb6ec;for(let _0x55d9b5=0x0;_0x55d9b5<0x1e;_0x55d9b5++)try{if(await this[_0xefa576(0x259)](),this[_0xefa576(0x153)]()){this[_0xefa576(0x1fa)](_0x364acf,_0x993cca),this[_0xefa576(0x2cb)]['show']({'content':this[_0xefa576(0x365)]['t'](_0xefa576(0x295)),'type':_0x1ad090[_0xefa576(0x1e0)]});return;}await new Promise(_0x1ee47c=>{const _0x4f5329=_0xefa576;this[_0x4f5329(0x2f5)]=window[_0x4f5329(0x318)](_0x1ee47c,0x3e8);});}catch(_0x3999ef){this[_0xefa576(0x381)][_0xefa576(0x28c)](_0x3999ef);}this[_0xefa576(0x2cb)][_0xefa576(0x322)]({'content':this[_0xefa576(0x365)]['t'](_0xefa576(0x1e5)),'type':_0x1ad090[_0xefa576(0x156)]});}['_applyCommand'](_0x28a150,_0x103835){const _0x30261e=_0x3cb6ec;try{this[_0x30261e(0x1b2)][_0x30261e(0x1be)](_0x28a150['id'],_0x28a150['params'],_0x103835);}catch(_0x26d4dc){this[_0x30261e(0x381)][_0x30261e(0x28c)](_0x26d4dc);}}[_0x3cb6ec(0x36c)](_0x2b7415,_0x3cc988){const _0x51e932=_0x3cb6ec;_0x3cc988<this[_0x51e932(0x2d5)]||(this[_0x51e932(0x2d5)]=_0x3cc988,this[_0x51e932(0x245)]=Number[_0x51e932(0x362)](_0x2b7415[_0x51e932(0x301)]),this[_0x51e932(0x140)]=Number[_0x51e932(0x362)](_0x2b7415[_0x51e932(0x306)]));}async[_0x3cb6ec(0x309)](_0x588eb0){const _0x4246ca=_0x3cb6ec;var _0x4d1670,_0x3a681d;const _0x30fad9=Date[_0x4246ca(0x1e8)]();try{const _0x5eb95b=((_0x4d1670=this[_0x4246ca(0x30f)][_0x4246ca(0x2fb)](_0x539b6c))==null?void 0x0:_0x4d1670[_0x4246ca(0x159)])||Rn,_0x4aa158=(await this['_httpService'][_0x4246ca(0x360)](_0x5eb95b,{'body':JSON['stringify']({'taskId':_0x588eb0})}))[_0x4246ca(0x2b0)];if(((_0x3a681d=_0x4aa158[_0x4246ca(0x28c)])==null?void 0x0:_0x3a681d[_0x4246ca(0x21a)])!==Z['OK'])return;this[_0x4246ca(0x36c)](_0x4aa158[_0x4246ca(0x2cd)],_0x30fad9);}catch(_0x33aa1a){this[_0x4246ca(0x381)]['error'](_0x33aa1a);}}async[_0x3cb6ec(0x259)](_0xdfa0ea){const _0x216d1e=_0x3cb6ec;var _0x1e9d3c,_0x2d3c2a;const _0xad7a7d=Date['now']();try{const _0x483671=((_0x1e9d3c=this[_0x216d1e(0x30f)]['getConfig'](_0x539b6c))==null?void 0x0:_0x1e9d3c[_0x216d1e(0x336)])||Cn,_0x2bbabf=_0xdfa0ea?_0x483671+_0x216d1e(0x1ac)+encodeURIComponent(_0xdfa0ea):_0x483671,_0x1fd077=(await this['_httpService'][_0x216d1e(0x33b)](_0x2bbabf))[_0x216d1e(0x2b0)];if(((_0x2d3c2a=_0x1fd077[_0x216d1e(0x28c)])==null?void 0x0:_0x2d3c2a[_0x216d1e(0x21a)])!==Z['OK'])return;this[_0x216d1e(0x36c)](_0x1fd077[_0x216d1e(0x2cd)],_0xad7a7d);}catch(_0x48e417){this[_0x216d1e(0x381)]['error'](_0x48e417);}}async[_0x3cb6ec(0x2a9)](_0x1ac706){const _0x43c1dc=_0x3cb6ec;var _0x4f242f,_0x1bf007;const _0x5349d5=Date['now']();try{const _0x468d2b=((_0x4f242f=this[_0x43c1dc(0x30f)][_0x43c1dc(0x2fb)](_0x539b6c))==null?void 0x0:_0x4f242f['releaseFormulaLimitUrl'])||Dn,_0x217c95=(await this[_0x43c1dc(0x2e0)][_0x43c1dc(0x360)](_0x468d2b,{'body':JSON[_0x43c1dc(0x233)]({'taskId':_0x1ac706})}))[_0x43c1dc(0x2b0)];if(((_0x1bf007=_0x217c95['error'])==null?void 0x0:_0x1bf007[_0x43c1dc(0x21a)])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x217c95['limitInfo'],_0x5349d5);}catch(_0x77b7c3){this[_0x43c1dc(0x381)]['error'](_0x77b7c3);}}[_0x3cb6ec(0x153)](){const _0x511bee=_0x3cb6ec;return this[_0x511bee(0x245)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}[_0x3cb6ec(0x1a2)](){const _0x5de0d0=_0x3cb6ec;this[_0x5de0d0(0x2f5)]&&(clearTimeout(this[_0x5de0d0(0x2f5)]),this[_0x5de0d0(0x2f5)]=null);}[_0x3cb6ec(0x1bc)](){const _0x9242e2=_0x3cb6ec;this[_0x9242e2(0x2cb)]['show']({'content':this['_localeService']['t'](_0x9242e2(0x1f0)),'type':_0x1ad090[_0x9242e2(0x16f)]});}['_hasFormulaInDirtyRanges'](_0x30177b){const _0x5f5d58=_0x3cb6ec;for(const _0x22ebdb of _0x30177b){const {unitId:_0x5af1f5,sheetId:_0x10a26d,range:_0x3950a2}=_0x22ebdb,_0x266319=this[_0x5f5d58(0x1f7)][_0x5f5d58(0x26c)](_0x5af1f5);if(!_0x266319)continue;const _0x36d610=_0x266319[_0x5f5d58(0x293)](_0x10a26d);if(!_0x36d610)continue;const _0x28b203=_0x36d610['getCellMatrix']();for(let _0x2eddc7=_0x3950a2[_0x5f5d58(0x37a)];_0x2eddc7<=_0x3950a2[_0x5f5d58(0x371)];_0x2eddc7++)for(let _0x1a2838=_0x3950a2['startColumn'];_0x1a2838<=_0x3950a2[_0x5f5d58(0x335)];_0x1a2838++){const _0x342bca=_0x28b203[_0x5f5d58(0x288)](_0x2eddc7,_0x1a2838);if(_0x342bca&&(_0xfcd8de(_0x342bca['f'])||_0x2a2e73(_0x342bca['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x37d941(_0x35e834)),P(0x1,_0x9d66d8),P(0x2,_0x269b4f),P(0x3,_0x37d941(_0x3ac830)),P(0x4,_0x1a9089),P(0x5,_0x4ca09d),P(0x6,_0x37d941(_0x85763a))],Ie);var Nn=Object[_0x3cb6ec(0x2c6)],bn=(_0x278197,_0x329e07,_0x5881d4,_0x61c3e2)=>{const _0x274a6d=_0x3cb6ec;for(var _0x4fd0cb=_0x61c3e2>0x1?void 0x0:_0x61c3e2?Nn(_0x329e07,_0x5881d4):_0x329e07,_0x490ec5=_0x278197[_0x274a6d(0x2b3)]-0x1,_0x2e6ccf;_0x490ec5>=0x0;_0x490ec5--)(_0x2e6ccf=_0x278197[_0x490ec5])&&(_0x4fd0cb=_0x2e6ccf(_0x4fd0cb)||_0x4fd0cb);return _0x4fd0cb;},Ue=(_0x5654e8,_0x50fc1b)=>(_0x8167e6,_0x4e793c)=>_0x50fc1b(_0x8167e6,_0x4e793c,_0x5654e8);let He=class extends _0x1249d3{constructor(_0x25e0d7,_0x2c656d,_0x58f0ce){const _0x4d1f08=_0x3cb6ec;super(),_(this,_0x4d1f08(0x125),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x4d1f08(0x275),!0x1),(this[_0x4d1f08(0x30f)]=_0x25e0d7,this[_0x4d1f08(0x1fc)]=_0x2c656d,this[_0x4d1f08(0x1bb)]=_0x58f0ce);}[_0x3cb6ec(0x2e2)](){const _0xfff81=_0x3cb6ec;this[_0xfff81(0x275)]=!0x0;}[_0x3cb6ec(0x314)](){const _0x2ef08e=_0x3cb6ec;this[_0x2ef08e(0x275)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x3cb6ec(0x2eb)](){const _0x35ecde=_0x3cb6ec;this['exhaustSavingTask']()[_0x35ecde(0x27d)](()=>super[_0x35ecde(0x2eb)]());}async['loadOfflineData'](_0x4efdad){const _0x21058a=_0x3cb6ec;return this[_0x21058a(0x275)]?null:this[_0x21058a(0x1fc)][_0x21058a(0x254)](_0x5cdbfc(_0x4efdad));}async[_0x3cb6ec(0x1ca)](_0x377e48,_0x1b94ba){const _0x169f4c=_0x3cb6ec;return!!this[_0x169f4c(0x1fc)]['setItem'](_0x377e48,_0x1b94ba);}[_0x3cb6ec(0x357)](_0x246a2b,_0x2bfbda,_0xe2a0c9,_0x53d9e1){const _0x16bb72=_0x3cb6ec,_0x2286a0=this[_0x16bb72(0x1bb)][_0x16bb72(0x158)](_0x246a2b);this['_cachedData'][_0x16bb72(0x179)](_0x246a2b,{'unitID':_0x246a2b,'type':_0x2bfbda,'awaitingChangeset':_0xe2a0c9,'mutations':_0x53d9e1,'rev':_0x2286a0}),this['_saveTaskMap'][_0x16bb72(0x271)](_0x246a2b)||this[_0x16bb72(0x14c)](_0x246a2b);}['_scheduleSaving'](_0x4cd657){const _0x860ef1=_0x3cb6ec,_0xee87c5=this[_0x860ef1(0x221)]();_0xee87c5===0x0?this[_0x860ef1(0x34e)](_0x4cd657):this[_0x860ef1(0x15e)][_0x860ef1(0x179)](_0x4cd657,setTimeout(()=>this['_saveCache'](_0x4cd657),_0xee87c5));}['_getSaveTimeout'](){const _0xa4cd37=_0x3cb6ec;var _0x567114;return(_0x567114=this[_0xa4cd37(0x30f)][_0xa4cd37(0x2fb)](_0x31da43))!=null?_0x567114:_0x4d3e52;}[_0x3cb6ec(0x34e)](_0x5512df){const _0x5f26e6=_0x3cb6ec,_0x1a539a=this[_0x5f26e6(0x15e)]['get'](_0x5512df);return _0x1a539a!==void 0x0&&window['clearTimeout'](_0x1a539a),this[_0x5f26e6(0x1fc)]['setItem'](_0x5cdbfc(_0x5512df),this[_0x5f26e6(0x125)]['get'](_0x5512df))[_0x5f26e6(0x27d)](()=>this[_0x5f26e6(0x15e)][_0x5f26e6(0x29d)](_0x5512df));}async[_0x3cb6ec(0x1fb)](){const _0xfe449d=_0x3cb6ec,_0x39e4c9=[];this[_0xfe449d(0x15e)][_0xfe449d(0x2ad)]((_0x29d85e,_0x1cab52)=>{const _0x567a1a=_0xfe449d;window[_0x567a1a(0x219)](_0x29d85e),_0x39e4c9['push'](this['_saveCache'](_0x1cab52)['then'](()=>{const _0x34b930=_0x567a1a;this['_saveTaskMap'][_0x34b930(0x29d)](_0x1cab52);}));}),await Promise['all'](_0x39e4c9);}};He=bn([Ue(0x0,_0x269b4f),Ue(0x1,_0x13c2ab),Ue(0x2,_0x37d941(_0x13530d))],He);class Ln extends _0x3d678c{constructor(){const _0x146b9f=_0x3cb6ec;super(),_(this,'urlChange$'),this[_0x146b9f(0x29a)]=_0x3efde8(window,_0x146b9f(0x2a3))[_0x146b9f(0x1f6)](_0x253d09(this[_0x146b9f(0x28a)]),_0x3c1ebb(0x1),_0x2b7ce5(void 0x0));}[_0x3cb6ec(0x19f)](_0x445d36,_0x4f218c,_0x4e864c=!0x1){const _0x3055af=_0x3cb6ec,_0x1c10fd=new URL(window[_0x3055af(0x192)]['href']);_0x1c10fd[_0x3055af(0x1a7)][_0x3055af(0x179)](_0x445d36,_0x4f218c),_0x4e864c?window[_0x3055af(0x353)]['replaceState']('','',_0x1c10fd[_0x3055af(0x1a4)]()):window['history'][_0x3055af(0x136)]('','',_0x1c10fd[_0x3055af(0x1a4)]());}[_0x3cb6ec(0x264)](_0x5ac464,_0x5d7bcd=!0x1){const _0x379bd2=_0x3cb6ec,_0x124a98=new URL(window['location'][_0x379bd2(0x1b9)]);_0x124a98[_0x379bd2(0x1a7)][_0x379bd2(0x29d)](_0x5ac464),_0x5d7bcd?window['history'][_0x379bd2(0x151)]('','',_0x124a98['toString']()):window[_0x379bd2(0x353)][_0x379bd2(0x136)]('','',_0x124a98['toString']());}[_0x3cb6ec(0x29c)](_0x3ffe15){const _0x403bb1=_0x3cb6ec;var _0x2e6601;return(_0x2e6601=new URL(window[_0x403bb1(0x192)][_0x403bb1(0x1b9)])[_0x403bb1(0x1a7)][_0x403bb1(0x33b)](_0x3ffe15))!=null?_0x2e6601:void 0x0;}}var Un=Object[_0x3cb6ec(0x26d)],Mn=Object[_0x3cb6ec(0x2c6)],An=(_0x3213c0,_0x28e8ec,_0x48c652)=>_0x28e8ec in _0x3213c0?Un(_0x3213c0,_0x28e8ec,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48c652}):_0x3213c0[_0x28e8ec]=_0x48c652,Pn=(_0xab250d,_0x1f36e8,_0x3bee60,_0x1a6fea)=>{const _0x6798ca=_0x3cb6ec;for(var _0x580612=_0x1a6fea>0x1?void 0x0:_0x1a6fea?Mn(_0x1f36e8,_0x3bee60):_0x1f36e8,_0x50c391=_0xab250d[_0x6798ca(0x2b3)]-0x1,_0x2bae5b;_0x50c391>=0x0;_0x50c391--)(_0x2bae5b=_0xab250d[_0x50c391])&&(_0x580612=_0x2bae5b(_0x580612)||_0x580612);return _0x580612;},Me=(_0x54d9a6,_0x4543d9)=>(_0x15d4c8,_0x53fbd7)=>_0x4543d9(_0x15d4c8,_0x53fbd7,_0x54d9a6),wn=(_0x51a2db,_0x47f94d,_0x1fb701)=>An(_0x51a2db,_0x47f94d+'',_0x1fb701);const yn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ye=class extends _0x3f6291{constructor(_0x2e8e5b=_t,_0x31db05,_0x3e9a5c,_0x376f51){const _0x3e1f41=_0x3cb6ec;super(),this[_0x3e1f41(0x2e1)]=_0x2e8e5b,this[_0x3e1f41(0x2ff)]=_0x31db05,this['_injector']=_0x3e9a5c,this[_0x3e1f41(0x30f)]=_0x376f51;const {..._0x5587c7}=_0xe22b41({},_t,this[_0x3e1f41(0x2e1)]);this[_0x3e1f41(0x30f)][_0x3e1f41(0x347)](hn,_0x5587c7);}[_0x3cb6ec(0x2fc)](){const _0x3eb6f4=_0x3cb6ec;this[_0x3eb6f4(0x33c)](),this['_initDependencies']();}[_0x3cb6ec(0x330)](){const _0x397659=_0x3cb6ec;this[_0x397659(0x13d)]();}['_registerDependencies'](){const _0x4d95c9=_0x3cb6ec;var _0x4e4811;const _0x54167a=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0xcaa6e6,{'useClass':_0x511b43}],[_0x14d7c0,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x4d95c9(0x2e1)][_0x4d95c9(0x22d)]&&_0x54167a[_0x4d95c9(0x24a)]([le]),_0x5dde57(this[_0x4d95c9(0x138)],_0x319ca5(_0x54167a,(_0x4e4811=this['_config'])==null?void 0x0:_0x4e4811[_0x4d95c9(0x16c)]));}[_0x3cb6ec(0x13d)](){const _0x5c267d=_0x3cb6ec;this[_0x5c267d(0x1f2)](this[_0x5c267d(0x2ff)][_0x5c267d(0x250)](_0x25d838[_0x5c267d(0x2ed)],[Fe])),this[_0x5c267d(0x1f2)](this[_0x5c267d(0x2ff)]['registerRenderModule'](_0x25d838[_0x5c267d(0x351)],[ke]));}[_0x3cb6ec(0x33f)](){const _0x12f903=_0x3cb6ec;_0x4d625a(this[_0x12f903(0x138)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x12f903(0x2e1)]['enableFrontendLog']&&_0x4d625a(this['_injector'],[[le]]);}};wn(Ye,_0x3cb6ec(0x373),yn),Ye=Pn([_0x2b3291(_0x3f0f92),Me(0x1,_0x263319),Me(0x2,_0x37d941(_0x4a07ef)),Me(0x3,_0x269b4f)],Ye);var $n=Object[_0x3cb6ec(0x2c6)],xn=(_0x1632fe,_0x3d18e1,_0x4bc090,_0x1a8292)=>{for(var _0x4631c3=_0x1a8292>0x1?void 0x0:_0x1a8292?$n(_0x3d18e1,_0x4bc090):_0x3d18e1,_0x2ccaa0=_0x1632fe['length']-0x1,_0x2f5d76;_0x2ccaa0>=0x0;_0x2ccaa0--)(_0x2f5d76=_0x1632fe[_0x2ccaa0])&&(_0x4631c3=_0x2f5d76(_0x4631c3)||_0x4631c3);return _0x4631c3;},J=(_0x36b5ce,_0x1fa0bd)=>(_0x264e1c,_0x1a87d8)=>_0x1fa0bd(_0x264e1c,_0x1a87d8,_0x36b5ce);let ut=class extends _0x2a89a3{constructor(_0x174db0,_0x3428f4,_0x23a7cd,_0x3431d2,_0x5e306e){super(_0x174db0,_0x3428f4,_0x23a7cd,_0x3431d2,_0x5e306e);}async[_0x3cb6ec(0x2ec)](_0x4e3019){const _0x37d734=_0x3cb6ec,_0xcfeee7=await this[_0x37d734(0x1d8)](),_0x2ce053=this[_0x37d734(0x241)](_0x4e3019,_0xcfeee7);return this['_doCreateSocket'](_0x2ce053);}['_createSocketURL'](_0x122513,_0x195c53){const _0xbacee6=_0x3cb6ec,_0x5700ab=typeof window>'u'?new URL(_0x122513):new URL(_0x122513,window[_0xbacee6(0x192)][_0xbacee6(0x1b8)]);_0x5700ab[_0xbacee6(0x1a7)][_0xbacee6(0x179)]('sessionTicket',_0x195c53);const _0x13acf0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xbacee6(0x20e)]);return _0x13acf0['get']('runId')&&_0x5700ab[_0xbacee6(0x1a7)][_0xbacee6(0x179)](_0xbacee6(0x2d4),_0x13acf0[_0xbacee6(0x33b)](_0xbacee6(0x2d4))),_0x5700ab[_0xbacee6(0x1a4)]();}async[_0x3cb6ec(0x1d8)](){const _0x520ec7=_0x3cb6ec;var _0x31dd63,_0xf8d289,_0x3b98eb;const _0x521709=this[_0x520ec7(0x30f)][_0x520ec7(0x2fb)](_0x539b6c),_0x1cd18b=(_0x31dd63=_0x521709==null?void 0x0:_0x521709[_0x520ec7(0x27f)])!=null?_0x31dd63:_0x166c4e;return(_0x3b98eb=(_0xf8d289=(await this[_0x520ec7(0x2e0)][_0x520ec7(0x33b)](_0x1cd18b,{'headers':{'Content-Type':'application/json'}}))[_0x520ec7(0x2b0)])==null?void 0x0:_0xf8d289[_0x520ec7(0x14a)])!=null?_0x3b98eb:'';}};ut=xn([J(0x0,_0x37d941(_0x4a07ef)),J(0x1,_0x37d941(_0x3ac830)),J(0x2,_0x269b4f),J(0x3,_0x4ca09d),J(0x4,_0x5f590d)],ut);var Bn=Object[_0x3cb6ec(0x2c6)],Fn=(_0x5e1735,_0xe8d915,_0x3205a5,_0x565b8d)=>{const _0x2af8f9=_0x3cb6ec;for(var _0x12a217=_0x565b8d>0x1?void 0x0:_0x565b8d?Bn(_0xe8d915,_0x3205a5):_0xe8d915,_0x24f3d9=_0x5e1735[_0x2af8f9(0x2b3)]-0x1,_0x2e7067;_0x24f3d9>=0x0;_0x24f3d9--)(_0x2e7067=_0x5e1735[_0x24f3d9])&&(_0x12a217=_0x2e7067(_0x12a217)||_0x12a217);return _0x12a217;},Ae=(_0x2c66cb,_0x1a4d06)=>(_0x93dd11,_0x422f2e)=>_0x1a4d06(_0x93dd11,_0x422f2e,_0x2c66cb);let dt=class extends _0x1249d3{constructor(_0x43b904,_0x46a9c1,_0x4cc82a){const _0x465181=_0x3cb6ec;super(),this[_0x465181(0x193)]=_0x43b904,this[_0x465181(0x2e0)]=_0x46a9c1,this[_0x465181(0x30f)]=_0x4cc82a;}async[_0x3cb6ec(0x2bd)](_0x54f601,_0x60eabb,_0x1e9ff0,..._0x126057){const _0x14788b=_0x3cb6ec;var _0x31738e,_0x544ac8,_0x58b786,_0x2d0b58;const _0x5dea4e=this[_0x14788b(0x193)][_0x14788b(0x26e)]();if(!_0x5dea4e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x33588f=((_0x31738e=this[_0x14788b(0x30f)][_0x14788b(0x2fb)](_0x159c68))!=null?_0x31738e:_0x2130a8)+'/'+_0x54f601+_0x14788b(0x261)+_0x60eabb,_0xd0cc98=new URL(window[_0x14788b(0x192)]['href']),_0x284bbc={'scriptId':_0x54f601,'runId':(_0x544ac8=_0xd0cc98[_0x14788b(0x1a7)]['get'](_0x14788b(0x2d4)))!=null?_0x544ac8:'','function':_0x60eabb,'unitId':_0x5dea4e[_0x14788b(0x229)](),'argsOfFunction':JSON[_0x14788b(0x233)](_0x126057),'invokeId':(_0x58b786=_0x1e9ff0[_0x14788b(0x18a)])!=null?_0x58b786:'','executionId':(_0x2d0b58=_0x1e9ff0[_0x14788b(0x2c2)])!=null?_0x2d0b58:''};try{const _0x4a9a7e=await this['_httpService'][_0x14788b(0x360)](_0x33588f,{'body':_0x284bbc});return _0x4a9a7e[_0x14788b(0x2b0)]['error']&&_0x4a9a7e[_0x14788b(0x2b0)][_0x14788b(0x28c)][_0x14788b(0x21a)]!==Z['OK']?'Failed':_0x4a9a7e[_0x14788b(0x2b0)][_0x14788b(0x296)];}catch{return _0x14788b(0x231);}}};dt=Fn([Ae(0x0,_0x1a9089),Ae(0x1,_0x37d941(_0x3ac830)),Ae(0x2,_0x269b4f)],dt);const St=0x7530,It=_0x3cb6ec(0x176);class rr extends _0x1249d3{constructor(){const _0x42dad7=_0x3cb6ec;super(),_(this,_0x42dad7(0x235),_0x1b66d4()),_(this,_0x42dad7(0x20f),new Set()),_(this,_0x42dad7(0x36e),new Map()),_(this,_0x42dad7(0x1e2),null),_(this,_0x42dad7(0x31b),new Map()),_(this,_0x42dad7(0x171),new Map()),this[_0x42dad7(0x17c)]();}[_0x3cb6ec(0x2eb)](){const _0x17f57b=_0x3cb6ec;super[_0x17f57b(0x2eb)](),this['_clearOtherTimers'][_0x17f57b(0x2ad)]((_0x270ad1,_0x4d3625)=>this[_0x17f57b(0x190)](_0x4d3625)),this[_0x17f57b(0x1e2)]&&window[_0x17f57b(0x2de)](this[_0x17f57b(0x1e2)]);}[_0x3cb6ec(0x302)](_0x27ac9d){return this['_ensureSubject'](_0x27ac9d)['pipe'](_0x1ea71e());}[_0x3cb6ec(0x25e)](_0x293f9c){const _0x2d443b=_0x3cb6ec;this[_0x2d443b(0x20f)][_0x2d443b(0x375)]===0x0&&this[_0x2d443b(0x273)](),this[_0x2d443b(0x20f)][_0x2d443b(0x253)](_0x293f9c),this[_0x2d443b(0x173)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x293f9c],'isForwarded':!0x1});}[_0x3cb6ec(0x15d)](_0x3733c7){const _0x5a287e=_0x3cb6ec;this[_0x5a287e(0x20f)][_0x5a287e(0x29d)](_0x3733c7),this['_selfUnitIDs'][_0x5a287e(0x375)]===0x0&&this['_heartbeatTimer']&&window[_0x5a287e(0x2de)](this['_heartbeatTimer']);}[_0x3cb6ec(0x17c)](){const _0x11f473=_0x3cb6ec;this[_0x11f473(0x1f2)](_0x5cbe05(_0x3efde8(window,_0x11f473(0x370))[_0x11f473(0x31a)](_0x11cd9b=>{const _0x46de21=_0x11f473;if(_0x11cd9b[_0x46de21(0x23c)]!==It||!_0x11cd9b[_0x46de21(0x2cc)])return;const _0x130ac6=JSON[_0x46de21(0x24f)](_0x11cd9b['newValue']);this[_0x46de21(0x2c3)](_0x130ac6);}))),window[_0x11f473(0x2c5)](_0x11f473(0x122),()=>this['_send']({'type':0x1,'memberID':this[_0x11f473(0x235)],'unitIDs':Array[_0x11f473(0x204)](this[_0x11f473(0x20f)])}));}['_handleEvent'](_0x15a3cb){const _0x455123=_0x3cb6ec;switch(_0x15a3cb['type']){case 0x0:this[_0x455123(0x2e4)](_0x15a3cb);break;case 0x1:this[_0x455123(0x1f3)](_0x15a3cb);break;case 0x2:this[_0x455123(0x21c)](_0x15a3cb);break;}}[_0x3cb6ec(0x2e4)](_0x50a79f){const _0x5cd6c9=_0x3cb6ec,{unitIDs:_0x910c25,memberID:_0x3d4e80,isForwarded:_0x2b9379}=_0x50a79f;_0x910c25[_0x5cd6c9(0x2ad)](_0x5c792a=>{const _0x492762=_0x5cd6c9;if(!_0x2b9379&&this[_0x492762(0x36e)][_0x492762(0x271)](_0x5c792a)&&this[_0x492762(0x300)](_0x5c792a)['next'](_0x4df22f[_0x492762(0x33a)]),!this['_unitOnClients'][_0x492762(0x271)](_0x5c792a)||!this[_0x492762(0x36e)][_0x492762(0x33b)](_0x5c792a)['has'](_0x3d4e80)){const _0x5f5205=this[_0x492762(0x36e)][_0x492762(0x33b)](_0x5c792a)||new Set();_0x5f5205[_0x492762(0x253)](_0x3d4e80),this[_0x492762(0x36e)][_0x492762(0x179)](_0x5c792a,_0x5f5205),this['_scheduleClearOtherTimer'](_0x3d4e80);}}),_0x2b9379||this['_send']({'type':0x0,'memberID':this[_0x5cd6c9(0x235)],'unitIDs':[...this[_0x5cd6c9(0x20f)]],'isForwarded':!0x0});}[_0x3cb6ec(0x341)](_0x2831e5){const _0x110e68=_0x3cb6ec;this['_removeClearOtherTimer'](_0x2831e5);const _0xcb395b=window[_0x110e68(0x318)](()=>{const _0x2b9936=_0x110e68;this[_0x2b9936(0x36e)][_0x2b9936(0x2ad)](_0x2254e5=>{const _0x3e18b5=_0x2b9936;_0x2254e5[_0x3e18b5(0x29d)](_0x2831e5);});},St*0x2);this[_0x110e68(0x31b)][_0x110e68(0x179)](_0x2831e5,_0xcb395b);}[_0x3cb6ec(0x190)](_0x34685a){const _0x211969=_0x3cb6ec;if(this[_0x211969(0x31b)]['has'](_0x34685a)){const _0xa746d7=this[_0x211969(0x31b)][_0x211969(0x33b)](_0x34685a);_0xa746d7&&window['clearTimeout'](_0xa746d7),this[_0x211969(0x31b)][_0x211969(0x179)](_0x34685a,null);}}['_handleLeaveEvent'](_0x4663d6){const _0x505f87=_0x3cb6ec,{memberID:_0x2063e3,unitIDs:_0x322367}=_0x4663d6;_0x322367['forEach'](_0x303da2=>{const _0x1528fa=_0x37dd;var _0x43cc73;const _0x555dd3=this[_0x1528fa(0x36e)][_0x1528fa(0x33b)](_0x303da2);_0x555dd3&&(_0x555dd3[_0x1528fa(0x29d)](_0x2063e3),(_0x43cc73=this[_0x1528fa(0x300)](_0x303da2))==null||_0x43cc73[_0x1528fa(0x1f8)](_0x555dd3[_0x1528fa(0x375)]===0x0?_0x4df22f[_0x1528fa(0x200)]:_0x4df22f['OTHER_CLIENTS_EDITING']));}),this[_0x505f87(0x190)](_0x2063e3);}['_handleHeartbeatEvent'](_0x541f3a){const _0x80c0c8=_0x3cb6ec;this[_0x80c0c8(0x341)](_0x541f3a[_0x80c0c8(0x2be)]);}[_0x3cb6ec(0x173)](_0x8a966a){const _0x4742db=_0x3cb6ec;localStorage[_0x4742db(0x310)](It,JSON[_0x4742db(0x233)](_0x8a966a));}[_0x3cb6ec(0x273)](){const _0x5b2380=_0x3cb6ec;this['_heartbeatTimer']=window[_0x5b2380(0x163)](()=>{const _0xd02bcb=_0x5b2380;this[_0xd02bcb(0x173)]({'type':0x2,'memberID':this[_0xd02bcb(0x235)]});},St);}[_0x3cb6ec(0x300)](_0x124b40){const _0x4a9677=_0x3cb6ec;return this['_unitStatus'][_0x4a9677(0x271)](_0x124b40)||this[_0x4a9677(0x171)][_0x4a9677(0x179)](_0x124b40,new _0x2dcff1(_0x4df22f[_0x4a9677(0x200)])),this['_unitStatus'][_0x4a9677(0x33b)](_0x124b40);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};