@univerjs-pro/collaboration-client-ui 0.8.2-nightly.202506261607 → 0.8.3-nightly.202506271607

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 (42) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/en-US.js +1 -1
  4. package/lib/cjs/locale/fa-IR.js +1 -1
  5. package/lib/cjs/locale/fr-FR.js +1 -1
  6. package/lib/cjs/locale/ko-KR.js +1 -1
  7. package/lib/cjs/locale/ru-RU.js +1 -1
  8. package/lib/cjs/locale/vi-VN.js +1 -1
  9. package/lib/cjs/locale/zh-CN.js +1 -1
  10. package/lib/cjs/locale/zh-TW.js +1 -1
  11. package/lib/es/facade.js +1 -1
  12. package/lib/es/index.js +1 -1
  13. package/lib/es/locale/en-US.js +1 -1
  14. package/lib/es/locale/fa-IR.js +1 -1
  15. package/lib/es/locale/fr-FR.js +1 -1
  16. package/lib/es/locale/ko-KR.js +1 -1
  17. package/lib/es/locale/ru-RU.js +1 -1
  18. package/lib/es/locale/vi-VN.js +1 -1
  19. package/lib/es/locale/zh-CN.js +1 -1
  20. package/lib/es/locale/zh-TW.js +1 -1
  21. package/lib/facade.js +1 -1
  22. package/lib/index.js +1 -1
  23. package/lib/locale/en-US.js +1 -1
  24. package/lib/locale/fa-IR.js +1 -1
  25. package/lib/locale/fr-FR.js +1 -1
  26. package/lib/locale/ko-KR.js +1 -1
  27. package/lib/locale/ru-RU.js +1 -1
  28. package/lib/locale/vi-VN.js +1 -1
  29. package/lib/locale/zh-CN.js +1 -1
  30. package/lib/locale/zh-TW.js +1 -1
  31. package/lib/types/index.d.ts +1 -0
  32. package/lib/umd/facade.js +1 -1
  33. package/lib/umd/index.js +1 -1
  34. package/lib/umd/locale/en-US.js +1 -1
  35. package/lib/umd/locale/fa-IR.js +1 -1
  36. package/lib/umd/locale/fr-FR.js +1 -1
  37. package/lib/umd/locale/ko-KR.js +1 -1
  38. package/lib/umd/locale/ru-RU.js +1 -1
  39. package/lib/umd/locale/vi-VN.js +1 -1
  40. package/lib/umd/locale/zh-CN.js +1 -1
  41. package/lib/umd/locale/zh-TW.js +1 -1
  42. package/package.json +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x517f(){const _0x1d483b=['attrs','skeleton','CollaborationStatusDisplay','fillRule','drawWith','collab-text-range-','CONFLICT','url(#$1','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','setAlpha','createInstance','FromArray','status$','rxjs','storage','_getSheetObject','collabStatus.conflict','docStateChange$','connectInjector','collab-text-anchor-','contains','text','pushState','replaceDocRanges','_updateSubUnitFromURLParams','wsSessionTicketUrl','arc','_status$','INVALID_INVITE_CODE','HEADER_MENU','CollaborationUIEventId','_uiPartsService','then','jsxs','4498550bmoPnb','_initDependencies','Subject','forwardRef','EMAIL_HAS_BEEN_BOUND','_online','_draw','M0\x200H16V16H0z','toStringTag','beginPath','unshift','collab-client.tooltip.reconnect','unitId','SNAPSHOT_HAS_BEEN_REMOVED','code','IRenderManagerService','_toggleOnline','_initEntityListener','univerjs-icon\x20univerjs-icon-','debounceTime','_removeCollabCursors','_lastPointer','engine','displayName','getCollabEntity$','DocStateChangeManagerService','all','BehaviorSubject','@univerjs/network','apply','defs','LICENSE_DISTRO_REJECTED','_anchor','MOBILE_VERIFY_CODE_MISMATCH','red.300','_onCursorDelete','runOnServer','transformStateCache','loadOfflineData','_docClipboardService','MessageType','urlChange$','_createSocketURL','APPLY_REJECT','getDocRanges','switchMap','debounce','roomMembers','jiqing.500','createSocket','column','_docTransformStateCacheService','LICENSE_MAX_UNITS_EXCEEDED','_id','UniverInstanceType','createElement','with','getVpScrollXYInfoByPosToVp','init','values','clsx','_notificationService','UNIVER_SHEET','_scheduleSaving','ILocalStorageService','mergeOverrideWithDependencies','Unknown\x20user','1em','_configService','getSheetObject','@univerjs/sheets','length','_docTransformSelectionsService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','10fRTyPC','INVALID_ARGUMENT','_render','_scheduleClearOtherTimer','ILocalCacheService','indexOf','APPLY_REVISION_CONFILICT','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_disabled','IConfigService','LICENSE_EXPORT_SIZE_EXCEEDED','registerRefRange','SNAPSHOT_INVALID_SNAPSHOT','InsertRangeMoveDownCommandId','isTransformMutationsWithChangesetSuccess','APPLY_DUPLICATED','currentColor','get','RevisionService','_docStateChangeManagerService','useCallback','2526AadPEE','size','DisposableCollection','COMPLETION_FINISHED','collaboration.single-unit.warning','isArray','getCurrentSelections','amd','subUnitId','@univerjs-pro/collaboration','findNodePositionByCharIndex','_injector','_assignedColors','IImageIoService','NO_OTHER_CLIENTS_EDITING','saveOfflineData','SOCKET_FAILED','_textBubble','_config','Shape','CHANGESET_REVISION_CONFILICT','collabStatus.fetchMiss','SheetCollabCursorShape','url(#off-line-icon_clip0_910_343)','_onRefRangeChange','saveTaskMap','1sTISJl','bottom','_refreshCollabCursors','registerComponent','exports','_session','INVITE_CODE_ALREADY_BOUND','throttleTime','RECT','WebBrowserSingleActiveUnitService','95862jROJhu','_themeService','_entities','requireSession','collabStatus.synced','getUnitStatus$','subunit','BrowserCollaborationSocketService','getAncestorScale','_getMergeRange','getLocalCacheKey','NOT_FOUND','Module','_clearOtherTimers','getSkeleton','href','runId','YUUMI_CONNECTOR_URL_NOT_FOUND','_scheduleHeartbeat','INVITE_CODE_REQUIRED','FETCH_MISS','_handleHover','range','@univerjs/docs-ui','_refRangeService','collabCursorState$','defineProperty','UNDEFINED','_getScale','Tools','LOGIN_FAILED','unsubscribe','TOO_MANY_REQUESTS','PENDING','_updateURLWithCurrentState','getViewport','_httpService','WebSocketService','object','_sheetSkeletonManagerService','_setupBeforeClosingHandler','loadUnit','getRangePointData','RemoteUniscriptService','getItem','labelPosition','complete','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','triggerDblclick','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','dispose','0\x200\x2016\x2016','[RemoteUniscriptService]:\x20no\x20focused\x20unit','min','_init','SUBMIT_CHANGESET_TIMEOUT','_beforeCloseService','react/jsx-runtime','OTHER_CLIENTS_EDITING','defIds','_anchorDot','syncEditingCollabCursor','DocCollaborationEntity','green.600','_labelPosition','concat','on-line-icon_clip0_910_349','data','unit','transformRemoteChangeset','EMAIL_VERIFY_CODE_MISMATCH','on-line-icon','CollaborationDataLoaderController','executeCommand','row','_handleJoinEvent','transformSelections','div','_name','toString','className','isTransformMutationFailure','getCoordByCell','getCellPositionByOffset','CollaborationSessionService','pipe','Failed','_univerInstanceService','ThemeService','UNIVER_DOC','setShapeProps','translate(.97)','clearInterval','operators','fill','split','transformMutationsWithChangeset','selection','post','_toggleOffline','handleIRemoveCol','CollaborationEvent','_getSaveTimeout','_startSheetCollabCursor','_entityInit$','_collaborationUIEventService','map','_drawRectRange','@univerjs-pro/collaboration-client','_startDocCollabCursor','handleInsertRangeMoveDown','YUUMI_NO_CUBOID_FOR_QUESTION','getTypeOfUnitDisposed$','OTHER_CLIENT_EDITING','DesktopCollaborationStatusDisplayController','#FFF','fillStyle','none','save','MOBILE_HAS_BEEN_BOUND','currentTheme$','override','endRow','900376mvIiQw','imageSourceType','_collaborationController','_hovered','Error','toDisposable','collaboration-client.offline-data-not-saved','_transformPreviousActiveRange','getMemberID','DocSelectionManagerService','onPointerMove$','m1Prime','yellow.400','useRef','_removeClearOtherTimer','IUniverInstanceService','_cursorInfo$','_drawTextRange','string','debug','textRanges','DataLoaderService','_collabCursorState$','_send','getConfig','saveImage','INotificationService','CollaborationSocketService','name','_backgroundColor','UniverRpc','14835152sdJeNo','getColor','ISocketService','React','VIEW_MAIN','call','measureText','sheetID','Vector2','getTypeOfUnitAdded$','registerDependencies','IURLService','icon','subscribeEvent','_logService','black','color','transformByState','_ensureSubject','fromEvent','[CollaborationDataLoaderController]','@univerjs/design','cursorInfo$','_commandService','getUnitId','height','EffectRefRangId','UniverEngineRender','SheetsSelectionsService','_cursorShapes','transformIMECache','SetWorksheetActivateCommand','_dataLoaderService','TEXT_RANGE_LAYER_INDEX','serializeRangeWithSheet','@univerjs/sheets-ui','_hover','IMessageService','setItem','_initEvent','evenodd','add','0\x200\x2017\x2016','LOCAL_CACHE_INTERVAL_KEY','_messageService','getActiveRange','setUndoRedoMutationParamsCache','_transformUndoRedoStack','enableLocalCache','assign','_renderManagerService','OffLineIcon','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','YUUMI_ALL_TABLES_IS_INVALID','LICENSE_IMPORT_SIZE_EXCEEDED','resize','CollaborationStatus','event$','_initStatusComponent','LocaleService','_range','restore','max','propertyIsEnumerable','registerRenderModule','UNRECOGNIZED','_roomMembers$','extend','svg','setParam','toRgbString','ITransformService','getRelativeToViewportCoord','YUUMI_AI_RUN_FAILED','mask','deserializeRangeWithSheet','hide','Inject','_getSessionTicket','set','DEFAULT_WS_SESSION_TICKET_URL','handleDeleteRangeMoveLeft','prototype','setActiveRange','getColorFromTheme','replace','getOffsetConfig','addHandlerCallback','selections','SessionStatus','trim','merge','backgroundColor','ICommandService','UniverCollaborationClientUIPlugin','unitID','handleInsertCol','@univerjs/docs','getValue','onMouseMove','disableLocalCache','Rect','_updateCollabCursors','endColumn','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','APPLY_NON_SEQUENTIAL_REVISION','mutations','ALREADY_EXISTS','RichTextEditingMutation','cursorInfo','onPointerLeave$','_initStatusListener','path','addObject','getFocusedUnit','_document','undoState','getSheetBySheetId','NodePositionConvertToRectRange','takeUntil','getSheetId','combineLatest','APPLY_PERMISSION_DENIED','deepClone','_revisionService','RxDisposable','entries','UniverDrawing','_localCacheService','collaboration-client-ui.config','_shapes','UniverDocs','includes','_imageIoService','DocIMEInputManagerService','...','location','220cpuHka','from','_cursors','YUUMI_URL_COL_OUT_OF_RANGE','useDependency','getCollabCursors$','_instanceService','_transformService','assignAColorForMemberID','searchParams','_docSyncEditingCollabCursorService','IDocClipboardService','_drawAnchor','UniverIcon','sessionStatus$','_color','getMergeData','_cachedData','INTERNAL_ERROR','UniverSheetsUi','history','current','collabStatus.offline','memberID','show','width','params','clipPath','type','currentSkeleton$','subscribe','tag','ILogService','6796TuhrCN','delete','_memberService','_onCursorUpdate','InsertRangeMoveRightCommandId','permission.content','white','addEventListener','filter','PERMISSION_DENIED','editingUnit','DeleteRangeMoveUpCommandId','UniverProCollaborationClient','onLocalMutation','fillText','body','YUUMI_ASYNCIO_CANCELLED','forEach','collab-rect-range-','idSuffix','_localeService','ENSURE_SNAPSHOT_EXECUTION','@univerjs/engine-render','generateRandomId','clearTimeout','has','onTransformChange$','_collabCursorController','whenReady','makeDirty','_urlService','USERS_LEAVE','transform','DependentOn','_saveCache','DOC_RANGE_TYPE','eventID','@univerjs/engine-formula','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','some','YUUMI_UNABLE_LOAD_URL','colorChannel1','YUUMI_RATE_OVER_LIMIT','children','next','12250242gAwgyw','SetSelectionsOperation','COLORS','CollaborationController','CONNECTOR_DATA_TOO_LARGE','Workbook','exhaustSavingTask','removeParam','_registerDependencies','send','redoState','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','newValue','YUUMI_SUBSCRIPTION_NOT_FOUND','function','@univerjs/core','SOCKET_FAILED_RETRY','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.syncing','INVITE_CODE_HAS_BEEN_UES','_setupSubUnitSync','CLOSE_ROOM','getUndoRedoMutationParamsCache','SetDocZoomRatioOperation','_saveTaskMap','jsx','_initResize','getOwnPropertySymbols','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UniverDesign','m2Prime','setTimeout','_handleHeartbeatEvent','error','executionId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createIdentifier','getActiveSheet','_updateLocalCursor','dispose$','lineTo','_docTransformIMECacheService','_unitOnClients','AWAITING_WITH_PENDING','uni.network.url-service','_selfUnitIDs','BuiltInUIPart','UniverDocsUi','@univerjs/rpc','result','_unitStatus','onRendered','Warning','RegularPolygon','CollaborationUIEventService','Optional','OFFLINE','UniverCore','_docSkeletonManagerService','invokeId','parse','off-line-icon_clip0_910_343','UniverCollaborationClientPlugin','doc.mutation.rich-text-editing','Rectangle','blue.400','transformMutation','TEXT','USER_NOT_INVITED_CODE','InsertRowCommandId','getUniverSheetInstance','asObservable','CommandType','UniverProCollaboration','_initCommandExecutedListener','isEditing','4879204teAeKQ','_heartbeatTimer','session.will-retry','getRenderById','find','useObservable','PY_RUNTIME_SCRIPT_ERROR','roomMembers$','push','RefRangeService','onCommandExecuted','_collabSessionService','use','hasOwnProperty','_registerRenderDependencies','_context','RemoveColCommandId','round','_handleEvent','_handleLeaveEvent','xlink:href','_eventUnsubscribe','UniverEngineFormula','actions','MemberService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','stringify','updateOfflineData','IBeforeCloseService','collabStatus.notCollab','setStateCache','flatMap','Injector','sheetId','getCurrent','OnLineIcon','DocSkeletonManagerService','disposeWithMe','collaboration.closeRoom','_colorAssignService','UnitStatus','entityInit$','ISnapshotServerService','ranges','rxjs/operators','getOwnPropertyDescriptor','WECHAT_HAS_BEEN_BOUND','startsWith','getStateCache','handleInsertRow','registerBeforeClose','Disposable','ACTIVE_UNIT_EVENT_CHANNEL','moveTo','UPDATE_CURSOR','off-line-icon','UNAUTHENTICATED','origin','handleInsertRangeMoveRight','UniverProCollaborationClientUi','NOT_COLLAB','_hideTimer','WebURLService','_scene','key','NodePositionConvertToCursor','@univerjs/drawing','getParam','_localStorageService','_colorIndex','startRow','UniverSheets'];_0x517f=function(){return _0x1d483b;};return _0x517f();}function _0x412f(_0xb9159e,_0x5f0520){const _0x517f30=_0x517f();return _0x412f=function(_0x412f88,_0x121956){_0x412f88=_0x412f88-0xb2;let _0x23de19=_0x517f30[_0x412f88];return _0x23de19;},_0x412f(_0xb9159e,_0x5f0520);}(function(_0x2b9818,_0x27d285){const _0x30672a=_0x412f,_0x2baf84=_0x2b9818();while(!![]){try{const _0x5b4d1d=parseInt(_0x30672a(0x2cc))/0x1*(-parseInt(_0x30672a(0x351))/0x2)+parseInt(_0x30672a(0x2b2))/0x3*(parseInt(_0x30672a(0x170))/0x4)+-parseInt(_0x30672a(0x14f))/0x5*(parseInt(_0x30672a(0x2d6))/0x6)+parseInt(_0x30672a(0x253))/0x7+parseInt(_0x30672a(0xc6))/0x8+-parseInt(_0x30672a(0x19d))/0x9*(parseInt(_0x30672a(0x29d))/0xa)+-parseInt(_0x30672a(0x1e9))/0xb;if(_0x5b4d1d===_0x27d285)break;else _0x2baf84['push'](_0x2baf84['shift']());}catch(_0x2b3ddb){_0x2baf84['push'](_0x2baf84['shift']());}}}(_0x517f,0xecbfc),function(_0x2845f5,_0x1b96c5){const _0x17a4d3=_0x412f;typeof exports==_0x17a4d3(0x2fc)&&typeof module<'u'?_0x1b96c5(exports,require(_0x17a4d3(0x342)),require(_0x17a4d3(0x1ac)),require(_0x17a4d3(0x186)),require(_0x17a4d3(0x26f)),require(_0x17a4d3(0x2ed)),require(_0x17a4d3(0x22b)),require('rxjs'),require(_0x17a4d3(0x2bb)),require(_0x17a4d3(0x127)),require('@univerjs/engine-formula'),require(_0x17a4d3(0x299)),require(_0x17a4d3(0x215)),require(_0x17a4d3(0xe9)),require(_0x17a4d3(0x30f)),require('@univerjs/ui'),require(_0x17a4d3(0xdb)),require('react'),require('@univerjs/rpc')):typeof define==_0x17a4d3(0x1ab)&&define[_0x17a4d3(0x2b9)]?define([_0x17a4d3(0x2d0),_0x17a4d3(0x342),_0x17a4d3(0x1ac),_0x17a4d3(0x186),'@univerjs/network',_0x17a4d3(0x2ed),_0x17a4d3(0x22b),_0x17a4d3(0x23e),_0x17a4d3(0x2bb),_0x17a4d3(0x127),_0x17a4d3(0x195),'@univerjs/sheets',_0x17a4d3(0x215),_0x17a4d3(0xe9),'react/jsx-runtime','@univerjs/ui',_0x17a4d3(0xdb),'react',_0x17a4d3(0x1cd)],_0x1b96c5):(_0x2845f5=typeof globalThis<'u'?globalThis:_0x2845f5||self,_0x1b96c5(_0x2845f5[_0x17a4d3(0x224)]={},_0x2845f5[_0x17a4d3(0x17c)],_0x2845f5[_0x17a4d3(0x1d6)],_0x2845f5[_0x17a4d3(0xe1)],_0x2845f5['UniverNetwork'],_0x2845f5[_0x17a4d3(0x1cc)],_0x2845f5[_0x17a4d3(0x145)],_0x2845f5[_0x17a4d3(0x23e)],_0x2845f5[_0x17a4d3(0x1e6)],_0x2845f5[_0x17a4d3(0x149)],_0x2845f5[_0x17a4d3(0x1ff)],_0x2845f5[_0x17a4d3(0x230)],_0x2845f5['rxjs'][_0x17a4d3(0x333)],_0x2845f5[_0x17a4d3(0x162)],_0x2845f5[_0x17a4d3(0xc9)],_0x2845f5['UniverUi'],_0x2845f5[_0x17a4d3(0x1ba)],_0x2845f5[_0x17a4d3(0xc9)],_0x2845f5[_0x17a4d3(0xc5)]));}(this,function(_0x2a1a14,_0x563ec8,_0x2869e3,_0x5e0e97,_0x5a5573,_0x3ecda4,_0x3009c1,_0x45f1ec,_0x14a853,_0x4a64a9,_0x16c47d,_0x27c981,_0x2e1c54,_0x62ce7e,_0x57639a,_0x1d6ce3,_0x4919f6,_0x403960,_0x5c7b44){'use strict';const _0x3142a3=_0x412f;var _0x485042=Object[_0x3142a3(0x2f0)],_0x2e6ff7=(_0x4352ec,_0x2ea478,_0x5ad108)=>_0x2ea478 in _0x4352ec?_0x485042(_0x4352ec,_0x2ea478,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ad108}):_0x4352ec[_0x2ea478]=_0x5ad108,_0x5d9583=(_0x2b8396,_0xefa48f,_0x5d2951)=>_0x2e6ff7(_0x2b8396,typeof _0xefa48f!='symbol'?_0xefa48f+'':_0xefa48f,_0x5d2951),_0x209cd1=Object[_0x3142a3(0x216)],_0x3d782e=(_0x39b95b,_0x3fbc68,_0x21bfde,_0x3f9d9d)=>{const _0x49d1d2=_0x3142a3;for(var _0x547a24=_0x3f9d9d>0x1?void 0x0:_0x3f9d9d?_0x209cd1(_0x3fbc68,_0x21bfde):_0x3fbc68,_0x324b11=_0x39b95b[_0x49d1d2(0x29a)]-0x1,_0x36173f;_0x324b11>=0x0;_0x324b11--)(_0x36173f=_0x39b95b[_0x324b11])&&(_0x547a24=_0x36173f(_0x547a24)||_0x547a24);return _0x547a24;},_0x49f6bb=(_0x522935,_0x4dface)=>(_0x361f33,_0x3ce89e)=>_0x4dface(_0x361f33,_0x3ce89e,_0x522935);let _0x16b943=class extends _0x2869e3[_0x3142a3(0x143)]{constructor(_0xab9297,_0x4bcd92){const _0x14b105=_0x3142a3;super(),this[_0x14b105(0x27a)]=_0xab9297,this[_0x14b105(0x14b)]=_0x4bcd92,this[_0x14b105(0x30c)]();}[_0x3142a3(0x30c)](){const _0xff8999=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x177155=>{const _0x2bb4af=_0x412f,_0x4bff55=await _0xff8999[_0x2bb4af(0x14b)][_0x2bb4af(0xc0)](_0x177155);return _0x4bff55?{'source':_0x4bff55['source'],'imageSourceType':_0x4bff55[_0x2bb4af(0x352)]}:null;}}));}};_0x16b943=_0x3d782e([_0x49f6bb(0x0,_0x3ecda4[_0x3142a3(0x15a)]),_0x49f6bb(0x1,_0x3009c1[_0x3142a3(0x2bf)])],_0x16b943);const _0x42c10b=['purple.300',_0x3142a3(0x283),_0x3142a3(0x315),_0x3142a3(0x275),_0x3142a3(0x1de),_0x3142a3(0xb3)];class _0xea9dee extends _0x2869e3[_0x3142a3(0x21c)]{constructor(){const _0x277777=_0x3142a3;super(...arguments),_0x5d9583(this,_0x277777(0x2be),new Map()),_0x5d9583(this,'_colorIndex',0x0);}[_0x3142a3(0x157)](_0x206f60){const _0x5a7ca9=_0x3142a3;if(this[_0x5a7ca9(0x2be)][_0x5a7ca9(0x189)](_0x206f60))return this[_0x5a7ca9(0x2be)][_0x5a7ca9(0x2ae)](_0x206f60);const _0x5a6071=_0x42c10b[this[_0x5a7ca9(0x22e)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x42c10b[_0x5a7ca9(0x29a)],this['_assignedColors'][_0x5a7ca9(0x115)](_0x206f60,_0x5a6071),_0x5a6071;}}function _0x5b0144(_0x584b3b){const _0x449654=_0x3142a3;let _0x14f98e='';for(const _0x3e2bf0 of _0x584b3b){const {startOffset:_0x974955,endOffset:_0x45ddee,isActive:_0x1eed45,rangeType:_0x158463,segmentId:_0x1f5a80,segmentPage:_0x26d589}=_0x3e2bf0;_0x14f98e[_0x449654(0x29a)]&&(_0x14f98e+=','),_0x14f98e+=_0x974955+':'+_0x45ddee+':'+(_0x1eed45?'1':'0')+':'+_0x158463+':'+_0x1f5a80+':'+_0x26d589;}return _0x14f98e;}function _0x5c313c(_0x4c4e81){const _0x4fb8e3=_0x3142a3,_0x3fc2a9=_0x4c4e81[_0x4fb8e3(0x335)](','),_0x1150d2=[];for(const _0x5937ce of _0x3fc2a9){const [_0x4a967d,_0x51a2c2,_0x289913,_0x582465,_0x9126c8,_0x241645]=_0x5937ce[_0x4fb8e3(0x335)](':');_0x1150d2[_0x4fb8e3(0x1f1)]({'startOffset':Number(_0x4a967d),'endOffset':Number(_0x51a2c2),'collapsed':_0x4a967d===_0x51a2c2,'isActive':_0x289913==='1','rangeType':_0x582465===_0x2869e3['DOC_RANGE_TYPE'][_0x4fb8e3(0x1e0)]?_0x2869e3[_0x4fb8e3(0x193)][_0x4fb8e3(0x1e0)]:_0x2869e3[_0x4fb8e3(0x193)][_0x4fb8e3(0x2d4)],'segmentId':typeof _0x9126c8==_0x4fb8e3(0xb9)?String(_0x9126c8):'','segmentPage':Number(_0x241645!=null?_0x241645:-0x1)});}return _0x1150d2[_0x4fb8e3(0x197)](_0x152da9=>_0x152da9['isActive'])||(_0x1150d2[0x0]['isActive']=!0x0),_0x1150d2;}class _0x444f98 extends _0x2869e3[_0x3142a3(0x143)]{constructor(){const _0x36eec6=_0x3142a3;super(...arguments),_0x5d9583(this,'_collabCursorState$',new _0x45f1ec[(_0x36eec6(0x26e))](null)),_0x5d9583(this,_0x36eec6(0x2ef),this['_collabCursorState$'][_0x36eec6(0x1e4)]());}[_0x3142a3(0x313)](_0x2cb8a7){const _0x3a20e0=_0x3142a3,{unitID:_0x213ea5,memberID:_0x381248,textRanges:_0x3499c3}=_0x2cb8a7,_0x487621=_0x5b0144(_0x3499c3);if(_0x487621==='')return;const _0x47cdb0={'unitID':_0x213ea5,'memberID':_0x381248,'selection':_0x487621};this[_0x3a20e0(0xbd)][_0x3a20e0(0x19c)](_0x47cdb0);}}var _0x1beb00=Object[_0x3142a3(0x216)],_0x3e1a6e=(_0x51affd,_0x22b207,_0x59f6e0,_0x41b76a)=>{const _0x46bfe4=_0x3142a3;for(var _0x19907b=_0x41b76a>0x1?void 0x0:_0x41b76a?_0x1beb00(_0x22b207,_0x59f6e0):_0x22b207,_0x4cbeec=_0x51affd[_0x46bfe4(0x29a)]-0x1,_0x190525;_0x4cbeec>=0x0;_0x4cbeec--)(_0x190525=_0x51affd[_0x4cbeec])&&(_0x19907b=_0x190525(_0x19907b)||_0x19907b);return _0x19907b;},_0x160828=(_0x20ea19,_0x1c4c36)=>(_0x44a7ca,_0x320b0c)=>_0x1c4c36(_0x44a7ca,_0x320b0c,_0x20ea19);const _0xb18354=0x12c,_0x44e2d3=0x64;let _0x5f6c3b=class extends _0x2869e3[_0x3142a3(0x143)]{constructor(_0x21e6d0,_0x5aebea,_0x2b5f81,_0x2ba37e,_0x47ddf2,_0x13a130,_0x376596,_0x19c31b,_0x87ffb6){const _0x2a4a8c=_0x3142a3;super(),_0x5d9583(this,_0x2a4a8c(0x258),!0x1),_0x5d9583(this,_0x2a4a8c(0x30c),!0x1),_0x5d9583(this,'_cursorInfo$',new _0x45f1ec[(_0x2a4a8c(0x26e))](new Map())),_0x5d9583(this,_0x2a4a8c(0xdc),this['_cursorInfo$'][_0x2a4a8c(0x1e4)]()),_0x5d9583(this,_0x2a4a8c(0x108),new _0x45f1ec['BehaviorSubject']([])),_0x5d9583(this,'roomMembers$',this[_0x2a4a8c(0x108)]['pipe'](_0x45f1ec[_0x2a4a8c(0x266)](_0xb18354))),_0x5d9583(this,'_updateLocalCursor',_0x2869e3[_0x2a4a8c(0x281)](_0x5e278c=>{const _0x14ae60=_0x2a4a8c,_0x2928f4={'eventID':_0x14a853[_0x14ae60(0x33b)][_0x14ae60(0x21f)],'data':{'unitID':this[_0x14ae60(0x125)],'memberID':this['_session']['getMemberID'](),'selection':_0x5b0144(_0x5e278c)}};this[_0x14ae60(0x2d1)][_0x14ae60(0x1a6)](_0x2928f4,this[_0x14ae60(0x125)]);},_0x44e2d3)),(this['unitID']=_0x21e6d0,this[_0x2a4a8c(0x2d1)]=_0x5aebea,this[_0x2a4a8c(0x2bd)]=_0x2b5f81,this[_0x2a4a8c(0x210)]=_0x2ba37e,this[_0x2a4a8c(0x172)]=_0x47ddf2,this['_syncEditingCollabCursorService']=_0x13a130,this[_0x2a4a8c(0x156)]=_0x376596,this[_0x2a4a8c(0x32d)]=_0x19c31b,this[_0x2a4a8c(0xdd)]=_0x87ffb6);}get[_0x3142a3(0x133)](){const _0x1234c7=_0x3142a3;return this[_0x1234c7(0xb7)]['getValue']();}get['roomMembers'](){const _0x5464c9=_0x3142a3;return this[_0x5464c9(0x108)][_0x5464c9(0x128)]();}[_0x3142a3(0x308)](){const _0x178f83=_0x3142a3;super[_0x178f83(0x308)](),this['_cursorInfo$']['next'](new Map()),this[_0x178f83(0xb7)][_0x178f83(0x304)](),this[_0x178f83(0x108)]['next']([]),this['_roomMembers$'][_0x178f83(0x304)]();}['init'](){const _0x55f055=_0x3142a3;this['_init']||(this['_init']=!0x0,this[_0x55f055(0x2d1)][_0x55f055(0x15d)]['pipe'](_0x45f1ec['takeUntil'](this[_0x55f055(0x1c4)]))[_0x55f055(0x16d)](_0x34aff7=>{const _0x5e7227=_0x55f055;_0x34aff7===_0x563ec8[_0x5e7227(0x11f)]['ONLINE']?this['_toggleOnline']():this[_0x5e7227(0x339)]();}),this[_0x55f055(0x2d1)][_0x55f055(0xff)][_0x55f055(0x32b)](_0x45f1ec[_0x55f055(0x13d)](this[_0x55f055(0x1c4)]))[_0x55f055(0x16d)](_0x597d68=>{const _0x41b6a6=_0x55f055,_0x1385a3=_0x597d68[_0x41b6a6(0x194)];_0x1385a3===_0x14a853['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x597d68),_0x1385a3===_0x14a853['CollaborationEvent'][_0x41b6a6(0x18f)]&&this[_0x41b6a6(0x276)](_0x597d68);}),this[_0x55f055(0x20e)](this[_0x55f055(0xdd)][_0x55f055(0x1f3)](_0x31a2e7=>{const _0x468dc4=_0x55f055,_0x5c2173=_0x31a2e7['params'];_0x5c2173!=null&&this[_0x468dc4(0x258)]&&_0x31a2e7['id']===_0x4a64a9['SetTextSelectionsOperation']['id']&&_0x5c2173[_0x468dc4(0x25f)]===this[_0x468dc4(0x125)]&&_0x5c2173[_0x468dc4(0x1e8)]===!0x1&&_0x5c2173['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x5c2173[_0x468dc4(0x214)]);})),this['_syncEditingCollabCursorService'][_0x55f055(0x2ef)][_0x55f055(0x32b)](_0x45f1ec[_0x55f055(0x13d)](this[_0x55f055(0x1c4)]))[_0x55f055(0x16d)](_0x2857ad=>{const _0x245d42=_0x55f055;if((_0x2857ad==null?void 0x0:_0x2857ad[_0x245d42(0x125)])!==this[_0x245d42(0x125)])return;const _0x53580b={'eventID':_0x14a853['CollaborationEvent'][_0x245d42(0x21f)],'data':_0x2857ad};this[_0x245d42(0x173)](_0x53580b);}),this[_0x55f055(0x20e)](this['_commandService']['onCommandExecuted'](_0x3a4826=>{const _0x28bdc1=_0x55f055;if(_0x3a4826[_0x28bdc1(0x169)]==null)return;const _0xd015c9=_0x3a4826[_0x28bdc1(0x169)];if(_0x3a4826['id']!==_0x4a64a9[_0x28bdc1(0x132)]['id']||_0xd015c9[_0x28bdc1(0x25f)]!==this[_0x28bdc1(0x125)])return;const _0x168c6e={'id':'doc.mutation.rich-text-editing','params':_0xd015c9},_0x565020=this[_0x28bdc1(0x133)];for(const [_0x389ef2,_0x1b7548]of _0x565020){const _0x4497b0={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1b7548[_0x28bdc1(0x214)]}},_0x1e9227=this[_0x28bdc1(0x156)][_0x28bdc1(0x1df)](_0x168c6e,_0x4497b0,!0x1);if(_0x14a853[_0x28bdc1(0x327)](_0x1e9227))throw _0x1e9227[_0x28bdc1(0x1be)];_0x565020['set'](_0x389ef2,{..._0x1b7548,'ranges':_0x1e9227[_0x28bdc1(0x1bb)][_0x28bdc1(0x169)][_0x28bdc1(0xbb)]});}queueMicrotask(()=>{const _0x3b5e53=_0x28bdc1;this[_0x3b5e53(0xb7)][_0x3b5e53(0x19c)](_0x565020);});})));}['_onCursorUpdate'](_0x405717){const _0x3feadb=_0x3142a3;var _0x2dd24c,_0x4bd4a7;const {memberID:_0x41c6ba,selection:_0x3802e8}=_0x405717[_0x3feadb(0x319)],_0x476aae=_0x5c313c(_0x3802e8),_0x45306f=(_0x4bd4a7=(_0x2dd24c=this[_0x3feadb(0x172)]['getMember'](this['unitID'],_0x41c6ba))==null?void 0x0:_0x2dd24c['name'])!=null?_0x4bd4a7:_0x3feadb(0x295),_0x387723={'color':this[_0x3feadb(0x210)][_0x3feadb(0x157)](_0x41c6ba),'name':_0x45306f,'ranges':_0x476aae},_0x5cb8b6=this[_0x3feadb(0x133)];_0x5cb8b6[_0x3feadb(0x115)](_0x41c6ba,_0x387723),this[_0x3feadb(0xb7)][_0x3feadb(0x19c)](_0x5cb8b6);}['_onCursorDelete'](_0x53fe62){const _0x485a0d=_0x3142a3,{memberID:_0x3cd099}=_0x53fe62[_0x485a0d(0x319)],_0x43897e=this[_0x485a0d(0x133)];_0x43897e['delete'](_0x3cd099),this['_cursorInfo$'][_0x485a0d(0x19c)](_0x43897e);}[_0x3142a3(0x263)](){const _0x2b37d6=_0x3142a3;var _0x31f15f;if(this[_0x2b37d6(0x258)]=!0x0,((_0x31f15f=this[_0x2b37d6(0x32d)][_0x2b37d6(0x138)]())==null?void 0x0:_0x31f15f['getUnitId']())!==this[_0x2b37d6(0x125)])return;const _0x3e9d85=this[_0x2b37d6(0x2bd)][_0x2b37d6(0x2ae)](_0x4a64a9[_0x2b37d6(0x35a)])[_0x2b37d6(0x27f)]();Array['isArray'](_0x3e9d85)&&_0x3e9d85[_0x2b37d6(0x29a)]>0x0&&this[_0x2b37d6(0x1c3)](_0x3e9d85);}[_0x3142a3(0x339)](){const _0x5429cf=_0x3142a3;this[_0x5429cf(0x258)]=!0x1;}};_0x5f6c3b=_0x3e1a6e([_0x160828(0x2,_0x2869e3[_0x3142a3(0x113)](_0x2869e3[_0x3142a3(0x209)])),_0x160828(0x3,_0x2869e3[_0x3142a3(0x113)](_0xea9dee)),_0x160828(0x4,_0x2869e3[_0x3142a3(0x113)](_0x563ec8[_0x3142a3(0x201)])),_0x160828(0x5,_0x2869e3[_0x3142a3(0x113)](_0x444f98)),_0x160828(0x6,_0x14a853[_0x3142a3(0x10d)]),_0x160828(0x7,_0x2869e3['IUniverInstanceService']),_0x160828(0x8,_0x2869e3[_0x3142a3(0x123)])],_0x5f6c3b);var _0x7b7765=Object[_0x3142a3(0x216)],_0x300570=(_0x58a561,_0x52f0ec,_0x3a5ae5,_0x191e98)=>{for(var _0x27187c=_0x191e98>0x1?void 0x0:_0x191e98?_0x7b7765(_0x52f0ec,_0x3a5ae5):_0x52f0ec,_0x53a17a=_0x58a561['length']-0x1,_0x277d6c;_0x53a17a>=0x0;_0x53a17a--)(_0x277d6c=_0x58a561[_0x53a17a])&&(_0x27187c=_0x277d6c(_0x27187c)||_0x27187c);return _0x27187c;},_0x2c9a5f=(_0x5cb936,_0x87f426)=>(_0x51501b,_0x127dec)=>_0x87f426(_0x51501b,_0x127dec,_0x5cb936);const _0x5d1962=0x12c,_0x4e386a=0x64,_0x122584=()=>{let _0x4a4a90=[],_0x12d7ef=!0x1;return _0x5f1135=>{const _0x559b93=_0x412f;_0x4a4a90[_0x559b93(0x1f1)](_0x5f1135),_0x12d7ef||(_0x12d7ef=!0x0,setTimeout(()=>{const _0x48b8c1=_0x559b93;_0x4a4a90[_0x48b8c1(0x181)](_0xdd3803=>_0xdd3803()),_0x4a4a90=[],_0x12d7ef=!0x1;}));};};let _0x1d3172=class extends _0x2869e3[_0x3142a3(0x143)]{constructor(_0x572869,_0x462000,_0x300e40,_0x18315f,_0x4a6f01,_0x837382,_0x55846b,_0x10565f){const _0x53b735=_0x3142a3;super(),_0x5d9583(this,_0x53b735(0x258),!0x1),_0x5d9583(this,_0x53b735(0x30c),!0x1),_0x5d9583(this,_0x53b735(0xb7),new _0x45f1ec['BehaviorSubject'](new Map())),_0x5d9583(this,'cursorInfo$',this[_0x53b735(0xb7)][_0x53b735(0x1e4)]()),_0x5d9583(this,_0x53b735(0x108),new _0x45f1ec[(_0x53b735(0x26e))]([])),_0x5d9583(this,_0x53b735(0x1f0),this[_0x53b735(0x108)][_0x53b735(0x32b)](_0x45f1ec['debounceTime'](_0x5d1962))),_0x5d9583(this,'_updateLocalCursor',_0x2869e3[_0x53b735(0x281)]((_0x353105,_0x2eeb80)=>{const _0x466524=_0x53b735,_0x2e091b={'eventID':_0x14a853[_0x466524(0x33b)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x466524(0x125)],'memberID':this[_0x466524(0x2d1)][_0x466524(0x359)](),'selection':_0x16c47d[_0x466524(0xe8)](_0x353105,_0x2eeb80[_0x466524(0x2ec)])}};this[_0x466524(0x2d1)][_0x466524(0x1a6)](_0x2e091b,this[_0x466524(0x125)]);},_0x4e386a)),(this['unitID']=_0x572869,this[_0x53b735(0x2d1)]=_0x462000,this['_injector']=_0x300e40,this['_colorAssignService']=_0x18315f,this['_memberService']=_0x4a6f01,this[_0x53b735(0x32d)]=_0x837382,this[_0x53b735(0xdd)]=_0x55846b,this[_0x53b735(0x2ee)]=_0x10565f);}get[_0x3142a3(0x133)](){return this['_cursorInfo$']['getValue']();}get[_0x3142a3(0x282)](){const _0x27d077=_0x3142a3;return this[_0x27d077(0x108)][_0x27d077(0x128)]();}[_0x3142a3(0x308)](){const _0x265e1b=_0x3142a3;super[_0x265e1b(0x308)](),this[_0x265e1b(0xb7)][_0x265e1b(0x19c)](new Map()),this[_0x265e1b(0xb7)][_0x265e1b(0x304)](),this[_0x265e1b(0x108)][_0x265e1b(0x19c)]([]),this[_0x265e1b(0x108)][_0x265e1b(0x304)]();}[_0x3142a3(0x28d)](){const _0x4710ba=_0x3142a3;this[_0x4710ba(0x30c)]||(this[_0x4710ba(0x30c)]=!0x0,this[_0x4710ba(0x2d1)][_0x4710ba(0x15d)][_0x4710ba(0x32b)](_0x45f1ec[_0x4710ba(0x13d)](this[_0x4710ba(0x1c4)]))[_0x4710ba(0x16d)](_0x3680b0=>{_0x3680b0===_0x563ec8['SessionStatus']['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x4710ba(0x2d1)]['event$'][_0x4710ba(0x32b)](_0x45f1ec[_0x4710ba(0x13d)](this[_0x4710ba(0x1c4)]))['subscribe'](_0x4b2bea=>{const _0x35df4e=_0x4710ba,_0x4508c0=_0x4b2bea['eventID'];_0x4508c0===_0x14a853['CollaborationEvent'][_0x35df4e(0x21f)]&&this['_onCursorUpdate'](_0x4b2bea),_0x4508c0===_0x14a853[_0x35df4e(0x33b)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x4b2bea);}),this[_0x4710ba(0x2ca)](),this['disposeWithMe'](this[_0x4710ba(0xdd)][_0x4710ba(0x1f3)](_0x4e0422=>{const _0x4d5f6c=_0x4710ba;if(this['_online']&&_0x4e0422['id']===_0x27c981[_0x4d5f6c(0x19e)]['id']&&_0x4e0422[_0x4d5f6c(0x169)][_0x4d5f6c(0x25f)]===this[_0x4d5f6c(0x125)]){const _0x397f3c=_0x4e0422[_0x4d5f6c(0x169)];this['_updateLocalCursor'](_0x397f3c[_0x4d5f6c(0x2ba)],_0x397f3c[_0x4d5f6c(0x11e)][0x0]);}})));}[_0x3142a3(0x173)](_0x1bedd0){const _0x4fc8ad=_0x3142a3;var _0x286474,_0x34cfa8;const {memberID:_0xbe6229,selection:_0x532f01}=_0x1bedd0[_0x4fc8ad(0x319)],{sheetName:_0x430ebc,range:_0x28b723}=_0x16c47d[_0x4fc8ad(0x111)](_0x532f01),_0x2efce8={'name':(_0x34cfa8=(_0x286474=this['_memberService']['getMember'](this['unitID'],_0xbe6229))==null?void 0x0:_0x286474[_0x4fc8ad(0xc3)])!=null?_0x34cfa8:_0x4fc8ad(0x295),'range':this[_0x4fc8ad(0x2df)](_0x430ebc,_0x28b723),'sheetID':_0x430ebc,'color':this[_0x4fc8ad(0x210)]['assignAColorForMemberID'](_0xbe6229),'selection':_0x532f01},_0x31eef8=this['cursorInfo'];_0x31eef8[_0x4fc8ad(0x115)](_0xbe6229,_0x2efce8),this['_cursorInfo$'][_0x4fc8ad(0x19c)](_0x31eef8);}[_0x3142a3(0x276)](_0x1ac20b){const _0x31532d=_0x3142a3,{memberID:_0x490e83}=_0x1ac20b['data'],_0x1c3d3b=this[_0x31532d(0x133)];_0x1c3d3b[_0x31532d(0x171)](_0x490e83),this['_cursorInfo$'][_0x31532d(0x19c)](_0x1c3d3b);}['_getMergeRange'](_0x100281,_0x3a4b8f){const _0x15797e=_0x3142a3;var _0x43bcca,_0x17d87a;const _0x1cd98d=(_0x17d87a=(_0x43bcca=this[_0x15797e(0x32d)][_0x15797e(0x1e3)](this[_0x15797e(0x125)]))==null?void 0x0:_0x43bcca[_0x15797e(0x13b)](_0x100281))==null?void 0x0:_0x17d87a[_0x15797e(0x15f)]();return(_0x1cd98d==null?void 0x0:_0x1cd98d[_0x15797e(0x1ed)](_0x2162d0=>_0x2869e3[_0x15797e(0x1dd)][_0x15797e(0x245)](_0x2162d0,_0x3a4b8f)))||_0x3a4b8f;}['_onRefRangeChange'](){const _0x575567=_0x3142a3,_0xa1c1f0=new _0x2869e3[(_0x575567(0x2b4))](),_0x4d8cec=_0x122584(),_0x339874=()=>{const _0x15b23a=_0x575567;_0xa1c1f0[_0x15b23a(0x308)]();const _0x3d9543=(_0x199082,_0x246b49,_0x1056f4,_0x54a8ac)=>{const _0x5e74de=_0x15b23a;let _0x77468=[];switch(_0x199082['id']){case _0x27c981[_0x5e74de(0xe0)]['DeleteRangeMoveLeftCommandId']:{_0x77468=_0x27c981[_0x5e74de(0x117)](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)][_0x5e74de(0x17b)]:{_0x77468=_0x27c981['handleDeleteRangeMoveUp'](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)]['InsertColCommandId']:{_0x77468=_0x27c981[_0x5e74de(0x126)](_0x199082,_0x54a8ac);break;}case _0x27c981['EffectRefRangId'][_0x5e74de(0x2aa)]:{_0x77468=_0x27c981[_0x5e74de(0x344)](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)][_0x5e74de(0x174)]:{_0x77468=_0x27c981[_0x5e74de(0x223)](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)][_0x5e74de(0x1e2)]:{_0x77468=_0x27c981[_0x5e74de(0x21a)](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)]['MoveRangeCommandId']:{_0x77468=_0x27c981['handleMoveRange'](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)][_0x5e74de(0x1f9)]:{_0x77468=_0x27c981[_0x5e74de(0x33a)](_0x199082,_0x54a8ac);break;}case _0x27c981[_0x5e74de(0xe0)]['RemoveRowCommandId']:{_0x77468=_0x27c981['handleIRemoveRow'](_0x199082,_0x54a8ac);break;}}const _0x3cfc5e=_0x27c981['runRefRangeMutations'](_0x77468,_0x54a8ac),_0x220c8=this[_0x5e74de(0x133)][_0x5e74de(0x2ae)](_0x246b49);if(_0x220c8&&_0x3cfc5e){const _0x19261c={..._0x220c8,'range':_0x3cfc5e};this['cursorInfo'][_0x5e74de(0x115)](_0x246b49,_0x19261c),_0x4d8cec(()=>{const _0x1eb4f6=_0x5e74de,_0x137446=this[_0x1eb4f6(0x2ee)][_0x1eb4f6(0x2a8)](_0x3cfc5e,_0x46acbf=>(_0x137446['dispose'](),_0x3d9543(_0x46acbf,_0x246b49,_0x1056f4,_0x3cfc5e)));_0xa1c1f0[_0x1eb4f6(0xef)](_0x137446);});}return{'redos':[],'undos':[]};};this[_0x15b23a(0x133)][_0x15b23a(0x181)]((_0x4fcbd0,_0x5069cb)=>{const _0x5ccff6=_0x15b23a,{range:_0xf6d451,sheetID:_0x38836f}=_0x4fcbd0,_0x89f57=this['_refRangeService'][_0x5ccff6(0x2a8)](_0xf6d451,_0x4efc5c=>(_0x89f57[_0x5ccff6(0x308)](),_0x3d9543(_0x4efc5c,_0x5069cb,_0x38836f,_0xf6d451)));_0xa1c1f0[_0x5ccff6(0xef)](_0x89f57);});};this[_0x575567(0x20e)](_0x2869e3['toDisposable'](this['_cursorInfo$'][_0x575567(0x16d)](()=>{_0x339874();})));}[_0x3142a3(0x263)](){const _0x3140ef=_0x3142a3;var _0x311828,_0x454be5;if(this[_0x3140ef(0x258)]=!0x0,((_0x311828=this[_0x3140ef(0x32d)][_0x3140ef(0x138)]())==null?void 0x0:_0x311828[_0x3140ef(0xde)]())!==this[_0x3140ef(0x125)])return;const _0x52d157=(_0x454be5=this[_0x3140ef(0x2bd)][_0x3140ef(0x2ae)](_0x27c981[_0x3140ef(0xe2)])[_0x3140ef(0x2b8)]())==null?void 0x0:_0x454be5[0x0],_0x3adb71=this['_univerInstanceService']['getCurrentUnitForType'](_0x2869e3[_0x3140ef(0x289)][_0x3140ef(0x291)])[_0x3140ef(0x1c2)]();_0x52d157&&_0x3adb71&&this[_0x3140ef(0x1c3)](_0x3adb71[_0x3140ef(0x13e)](),_0x52d157);}[_0x3142a3(0x339)](){const _0x26353e=_0x3142a3;this[_0x26353e(0x258)]=!0x1;}};_0x1d3172=_0x300570([_0x2c9a5f(0x2,_0x2869e3[_0x3142a3(0x113)](_0x2869e3[_0x3142a3(0x209)])),_0x2c9a5f(0x3,_0x2869e3[_0x3142a3(0x113)](_0xea9dee)),_0x2c9a5f(0x4,_0x2869e3['Inject'](_0x563ec8[_0x3142a3(0x201)])),_0x2c9a5f(0x5,_0x2869e3[_0x3142a3(0xb6)]),_0x2c9a5f(0x6,_0x2869e3[_0x3142a3(0x123)]),_0x2c9a5f(0x7,_0x2869e3['Inject'](_0x27c981[_0x3142a3(0x1f2)]))],_0x1d3172);var _0x30f3c3=Object[_0x3142a3(0x216)],_0x46f75b=(_0x18fc79,_0x2341c3,_0xe1d88c,_0x9a76b8)=>{const _0x76d35a=_0x3142a3;for(var _0xc2d1cd=_0x9a76b8>0x1?void 0x0:_0x9a76b8?_0x30f3c3(_0x2341c3,_0xe1d88c):_0x2341c3,_0x2fe57b=_0x18fc79[_0x76d35a(0x29a)]-0x1,_0x2a93b9;_0x2fe57b>=0x0;_0x2fe57b--)(_0x2a93b9=_0x18fc79[_0x2fe57b])&&(_0xc2d1cd=_0x2a93b9(_0xc2d1cd)||_0xc2d1cd);return _0xc2d1cd;},_0x56c49a=(_0x285e87,_0x4de045)=>(_0x5d1ee8,_0x562236)=>_0x4de045(_0x5d1ee8,_0x562236,_0x285e87);let _0x2e6e49=class extends _0x2869e3[_0x3142a3(0x143)]{constructor(_0x17ee8c,_0x4d513e,_0x539a9f){const _0x57e395=_0x3142a3;super(),_0x5d9583(this,_0x57e395(0x2d8),new Map()),_0x5d9583(this,'_entityInit$',new _0x45f1ec[(_0x57e395(0x255))]()),(this['_univerInstanceService']=_0x17ee8c,this['_injector']=_0x4d513e,this[_0x57e395(0x1f4)]=_0x539a9f,this['_init']());}[_0x3142a3(0x308)](){const _0x236e24=_0x3142a3;super[_0x236e24(0x308)](),this[_0x236e24(0x33e)]['complete'](),this[_0x236e24(0x2d8)]['forEach'](_0x2c66b9=>_0x2c66b9[_0x236e24(0x308)]());}['getCollabCursors$'](_0x248be8){const _0x397dc4=_0x3142a3;return this[_0x397dc4(0x2d8)][_0x397dc4(0x189)](_0x248be8)?this[_0x397dc4(0x2d8)][_0x397dc4(0x2ae)](_0x248be8)[_0x397dc4(0xdc)]:this[_0x397dc4(0x33e)]['pipe'](_0x45f1ec['filter'](_0x35e2e7=>_0x35e2e7[_0x397dc4(0x125)]===_0x248be8),_0x45f1ec[_0x397dc4(0x280)](_0x4132ad=>_0x4132ad[_0x397dc4(0xdc)]));}['_init'](){const _0x244562=_0x3142a3;this[_0x244562(0x32d)]['getTypeOfUnitAdded$'](_0x2869e3[_0x244562(0x289)][_0x244562(0x291)])[_0x244562(0x32b)](_0x45f1ec['takeUntil'](this[_0x244562(0x1c4)]))[_0x244562(0x16d)](async _0x8d132e=>{const _0x1a659d=_0x244562,_0x1be7f3=_0x8d132e[_0x1a659d(0xde)](),_0x21a79d=await this[_0x1a659d(0x33d)](_0x1be7f3);this[_0x1a659d(0x33e)][_0x1a659d(0x19c)](_0x21a79d),this[_0x1a659d(0x2d8)][_0x1a659d(0x115)](_0x1be7f3,_0x21a79d);}),this['_univerInstanceService'][_0x244562(0xcf)](_0x2869e3[_0x244562(0x289)][_0x244562(0x32f)])['pipe'](_0x45f1ec[_0x244562(0x13d)](this[_0x244562(0x1c4)]))['pipe'](_0x45f1ec[_0x244562(0x178)](_0x18cfca=>!_0x18cfca[_0x244562(0xde)]()[_0x244562(0x218)]('__')))[_0x244562(0x16d)](async _0x418179=>{const _0x52a0a1=_0x244562,_0x1390fe=_0x418179['getUnitId'](),_0x29cbcc=await this[_0x52a0a1(0x343)](_0x1390fe);this['_entityInit$'][_0x52a0a1(0x19c)](_0x29cbcc),this['_entities'][_0x52a0a1(0x115)](_0x1390fe,_0x29cbcc);}),_0x45f1ec[_0x244562(0x121)](this[_0x244562(0x32d)][_0x244562(0x346)](_0x2869e3['UniverInstanceType'][_0x244562(0x32f)]),this[_0x244562(0x32d)][_0x244562(0x346)](_0x2869e3[_0x244562(0x289)][_0x244562(0x291)]))[_0x244562(0x32b)](_0x45f1ec[_0x244562(0x13d)](this[_0x244562(0x1c4)]))['subscribe'](_0x3caef9=>{const _0x321b96=_0x244562,_0x2a5a0c=_0x3caef9[_0x321b96(0xde)](),_0x89fe7=this[_0x321b96(0x2d8)][_0x321b96(0x2ae)](_0x2a5a0c);_0x89fe7&&(_0x89fe7[_0x321b96(0x308)](),this[_0x321b96(0x2d8)][_0x321b96(0x171)](_0x2a5a0c));});}async[_0x3142a3(0x33d)](_0xeb10c2){const _0x1ea3e4=_0x3142a3,_0x3f1ca1=await this[_0x1ea3e4(0x1f4)]['requireSession'](_0xeb10c2),_0x26c432=this[_0x1ea3e4(0x2bd)][_0x1ea3e4(0x23b)](_0x1d3172,_0xeb10c2,_0x3f1ca1);return _0x26c432[_0x1ea3e4(0x28d)](),_0x26c432;}async[_0x3142a3(0x343)](_0x1f8bfc){const _0xa4945e=_0x3142a3,_0x2e310d=await this[_0xa4945e(0x1f4)][_0xa4945e(0x2d9)](_0x1f8bfc),_0x406d65=this[_0xa4945e(0x2bd)][_0xa4945e(0x23b)](_0x5f6c3b,_0x1f8bfc,_0x2e310d);return _0x406d65['init'](),_0x406d65;}};_0x2e6e49=_0x46f75b([_0x56c49a(0x0,_0x2869e3[_0x3142a3(0xb6)]),_0x56c49a(0x1,_0x2869e3[_0x3142a3(0x113)](_0x2869e3[_0x3142a3(0x209)])),_0x56c49a(0x2,_0x2869e3[_0x3142a3(0x113)](_0x563ec8['CollaborationSessionService']))],_0x2e6e49);const _0x4e1643=0x14,_0x402448=0xc8,_0x35693f=0x4,_0x8fbbe1=0x5;function _0xd31e9e(_0x5f0169,_0x3c85dd){const _0x481fea=_0x3142a3;let {radius:_0x24ee54,width:_0x550bf5,height:_0x3a9d23}=_0x3c85dd;_0x24ee54=_0x24ee54!=null?_0x24ee54:0x0,_0x550bf5=_0x550bf5!=null?_0x550bf5:0x1e,_0x3a9d23=_0x3a9d23!=null?_0x3a9d23:0x1e;let _0x411cd3=0x0,_0x5c1637=0x0,_0x1bc95b=0x0;_0x411cd3=_0x5c1637=_0x1bc95b=Math[_0x481fea(0x30b)](_0x24ee54,_0x550bf5/0x2,_0x3a9d23/0x2),_0x5f0169[_0x481fea(0x25c)](),_0x5f0169[_0x481fea(0x21e)](_0x411cd3,0x0),_0x5f0169[_0x481fea(0x1c5)](_0x550bf5-_0x5c1637,0x0),_0x5f0169[_0x481fea(0x24b)](_0x550bf5-_0x5c1637,_0x5c1637,_0x5c1637,Math['PI']*0x3/0x2,0x0,!0x1),_0x5f0169['lineTo'](_0x550bf5,_0x3a9d23-_0x1bc95b),_0x5f0169[_0x481fea(0x24b)](_0x550bf5-_0x1bc95b,_0x3a9d23-_0x1bc95b,_0x1bc95b,0x0,Math['PI']/0x2,!0x1),_0x5f0169[_0x481fea(0x1c5)](0x0,_0x3a9d23),_0x5f0169[_0x481fea(0x1c5)](0x0,_0x411cd3),_0x5f0169[_0x481fea(0x24b)](_0x411cd3,_0x411cd3,_0x411cd3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5f0169['closePath'](),_0x3c85dd[_0x481fea(0x334)]&&(_0x5f0169[_0x481fea(0x34c)](),_0x5f0169[_0x481fea(0x34a)]=_0x3c85dd[_0x481fea(0x334)],_0x3c85dd[_0x481fea(0x234)]==='evenodd'?_0x5f0169[_0x481fea(0x334)](_0x481fea(0xee)):_0x5f0169[_0x481fea(0x334)](),_0x5f0169[_0x481fea(0x103)]());}class _0x1a66dd extends _0x5e0e97[_0x3142a3(0x2c5)]{constructor(_0x2f7889,_0x378296){const _0x2c8574=_0x3142a3;super(_0x2f7889,_0x378296),_0x5d9583(this,_0x2c8574(0xd6)),_0x5d9583(this,_0x2c8574(0x246)),(this[_0x2c8574(0xd6)]=_0x378296==null?void 0x0:_0x378296[_0x2c8574(0xd6)],this[_0x2c8574(0x246)]=_0x378296==null?void 0x0:_0x378296['text']);}static['drawWith'](_0x1e16b7,_0x5f4780){const _0x43b610=_0x3142a3,{text:_0x1bcd2a,color:_0x43af75}=_0x5f4780;_0x1e16b7[_0x43b610(0x34c)](),_0x1e16b7['font']=_0x43b610(0x239);const _0x22810f=_0x1e16b7[_0x43b610(0xcc)](_0x1bcd2a)[_0x43b610(0x168)],_0x3ac057=Math[_0x43b610(0x30b)](_0x22810f+0x2*_0x35693f,_0x402448);_0xd31e9e(_0x1e16b7,{'height':_0x4e1643,'radius':0x4,'width':_0x3ac057,'fill':_0x43af75}),_0x1e16b7['fillStyle']=_0x43b610(0x349);const _0x266001=_0x35693f,_0x25f59e=_0x4e1643-_0x8fbbe1,_0xf20b10=_0x402448-0x2*_0x35693f;if(_0x22810f>_0xf20b10){let _0x33b6ea='',_0x309778=0x0;for(const _0x25bbb8 of _0x1bcd2a){const _0x5f4ec9=_0x1e16b7[_0x43b610(0xcc)](_0x25bbb8)[_0x43b610(0x168)];if(_0x309778+_0x5f4ec9<=_0xf20b10-_0x1e16b7[_0x43b610(0xcc)](_0x43b610(0x14d))[_0x43b610(0x168)])_0x33b6ea+=_0x25bbb8,_0x309778+=_0x5f4ec9;else{_0x33b6ea+=_0x43b610(0x14d);break;}}_0x1e16b7[_0x43b610(0x17e)](_0x33b6ea,_0x266001,_0x25f59e);}else _0x1e16b7['fillText'](_0x1bcd2a,_0x266001,_0x25f59e);_0x1e16b7[_0x43b610(0x103)]();}[_0x3142a3(0x259)](_0x3be00f){_0x1a66dd['drawWith'](_0x3be00f,this);}}const _0x5520e3=_0x3142a3(0x244),_0x3ee04e=_0x3142a3(0x236),_0x11ba12=_0x3142a3(0x182),_0x37dc39=0x6,_0x5923e8=1.5,_0x161e0b=0x4,_0x2d5a90=1.5,_0x539ca6='rgba(255,\x20255,\x20255,\x200.01)';class _0x4fccdb{constructor(_0x355d75,_0x3c43d4,_0x3f2d25,_0x221b8c){const _0x13abab=_0x3142a3;_0x5d9583(this,_0x13abab(0x148),[]),_0x5d9583(this,_0x13abab(0x273),null),_0x5d9583(this,_0x13abab(0x2c3),null),_0x5d9583(this,_0x13abab(0x312),null),_0x5d9583(this,_0x13abab(0x226),null),_0x5d9583(this,_0x13abab(0x1fe),null),(this['_cursor']=_0x355d75,this[_0x13abab(0x228)]=_0x3c43d4,this['_docSkeleton']=_0x3f2d25,this[_0x13abab(0x139)]=_0x221b8c,this[_0x13abab(0x29f)]());}set[_0x3142a3(0xea)](_0x4752a7){const _0x419af3=_0x3142a3;_0x4752a7?(this['_anchorDot']&&this[_0x419af3(0x312)]['hide'](),this['_textBubble']&&this['_textBubble'][_0x419af3(0x167)]()):(this[_0x419af3(0x312)]&&this[_0x419af3(0x312)]['show'](),this[_0x419af3(0x2c3)]&&this[_0x419af3(0x2c3)][_0x419af3(0x112)]());}[_0x3142a3(0x308)](){const _0x15183f=_0x3142a3;for(const _0x3af25d of this[_0x15183f(0x148)])_0x3af25d[_0x15183f(0x308)]();this[_0x15183f(0x2c3)]&&this['_textBubble'][_0x15183f(0x308)](),this[_0x15183f(0x312)]&&this[_0x15183f(0x312)]['dispose'](),this[_0x15183f(0x273)]&&this['_anchor'][_0x15183f(0x308)](),this[_0x15183f(0x1fe)]&&this[_0x15183f(0x1fe)]();}[_0x3142a3(0x29f)](){const _0x47b509=_0x3142a3;var _0x214d15;const {_docSkeleton:_0x521095,_document:_0x3c2f49}=this,{color:_0x58fb34,name:_0x2047e0,ranges:_0x49eaac}=this['_cursor'],_0x53fc32=_0x3c2f49[_0x47b509(0x11c)](),{docsLeft:_0x365cbd,docsTop:_0x35b8bf}=_0x53fc32,_0x5d27fb=new _0x3ecda4[(_0x47b509(0x22a))](_0x53fc32,_0x521095);for(const {startOffset:_0x4da4bd,endOffset:_0x41b671,rangeType:_0x167ecb,segmentId:_0x3fa68e,segmentPage:_0x9e7cc,collapsed:_0x556a61,isActive:_0x251f07}of _0x49eaac){const _0x437f8f=_0x521095[_0x47b509(0x2bc)](_0x4da4bd,!0x0,_0x3fa68e,_0x9e7cc);let _0x19839b=_0x521095[_0x47b509(0x2bc)](_0x41b671,!0x0,_0x3fa68e,_0x9e7cc);if(_0x19839b==null&&(_0x19839b=_0x521095['findNodePositionByCharIndex'](_0x41b671-0x1,!0x1,_0x3fa68e,_0x9e7cc)),_0x251f07){const {contentBoxPointGroup:_0x334830}=_0x5d27fb[_0x47b509(0x300)](_0x19839b,_0x19839b);if(_0x334830['length']===0x0)continue;this[_0x47b509(0x15b)](_0x58fb34,_0x334830,_0x365cbd,_0x35b8bf,_0x2047e0),this[_0x47b509(0x1fe)]=this[_0x47b509(0x2eb)]();}if(_0x437f8f&&_0x19839b){if(_0x167ecb===_0x2869e3['DOC_RANGE_TYPE'][_0x47b509(0x2d4)]){const _0x4dac98=new _0x3ecda4[(_0x47b509(0x13c))](_0x53fc32,_0x521095),{pointGroup:_0x93b3c}=(_0x214d15=_0x4dac98[_0x47b509(0x300)](_0x437f8f,_0x19839b))!=null?_0x214d15:{};if(_0x93b3c==null||_0x93b3c['length']===0x0)continue;this[_0x47b509(0x341)](_0x58fb34,_0x93b3c,_0x365cbd,_0x35b8bf);}else{if(!_0x556a61){const {borderBoxPointGroup:_0x5762e1}=_0x5d27fb[_0x47b509(0x300)](_0x437f8f,_0x19839b);if(_0x5762e1[_0x47b509(0x29a)]===0x0)continue;this[_0x47b509(0xb8)](_0x58fb34,_0x5762e1,_0x365cbd,_0x35b8bf);}}}}}[_0x3142a3(0x15b)](_0x547550,_0x1743cb,_0x15d4aa,_0x1cede9,_0x1cb476){const _0x22fce2=_0x3142a3,_0x10ca1b=this['_getAnchorBounding'](_0x1743cb),{left:_0x572620,top:_0x5ceacd,height:_0x6cb4ef}=_0x10ca1b,_0x5249a4=this[_0x22fce2(0x2f2)](),_0x5998dc=_0x2d5a90/_0x5249a4,_0x1ee667=new _0x5e0e97[(_0x22fce2(0x12b))](_0x5520e3+_0x2869e3['Tools'][_0x22fce2(0x187)](_0x37dc39),{'left':_0x572620+_0x15d4aa-_0x5998dc,'top':_0x5ceacd+_0x1cede9,'height':_0x6cb4ef,'width':_0x5923e8,'fill':_0x547550||_0x5e0e97[_0x22fce2(0xc7)](_0x2869e3[_0x22fce2(0x19f)]['black'],0x0),'strokeWidth':_0x5998dc,'stroke':_0x539ca6,'evented':!0x0});this[_0x22fce2(0x273)]=_0x1ee667,this[_0x22fce2(0x228)][_0x22fce2(0x137)](_0x1ee667,_0x3ecda4[_0x22fce2(0xe7)]);const _0x427326=new _0x5e0e97['Rect'](_0x5520e3+_0x2869e3['Tools'][_0x22fce2(0x187)](_0x37dc39),{'left':_0x572620+_0x15d4aa-_0x5998dc,'top':_0x5ceacd+_0x1cede9-_0x161e0b/0x2,'height':_0x161e0b,'width':_0x161e0b,'fill':_0x547550||_0x5e0e97[_0x22fce2(0xc7)](_0x2869e3[_0x22fce2(0x19f)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x547550||_0x5e0e97[_0x22fce2(0xc7)](_0x2869e3[_0x22fce2(0x19f)][_0x22fce2(0xd5)],0x0),'evented':!0x1});this[_0x22fce2(0x312)]=_0x427326,this[_0x22fce2(0x228)]['addObject'](_0x427326,_0x3ecda4[_0x22fce2(0xe7)]);const _0xbf65bc=new _0x1a66dd(_0x5520e3+_0x2869e3[_0x22fce2(0x2f3)][_0x22fce2(0x187)](_0x37dc39),{'left':_0x572620+_0x15d4aa-_0x5998dc,'top':_0x5ceacd+_0x1cede9-_0x4e1643,'text':_0x1cb476,'color':_0x547550});this[_0x22fce2(0x2c3)]=_0xbf65bc,this[_0x22fce2(0x228)][_0x22fce2(0x137)](_0xbf65bc,_0x3ecda4[_0x22fce2(0xe7)]),this[_0x22fce2(0xea)]=!0x1;}[_0x3142a3(0x2eb)](){const _0x1bc963=_0x3142a3,_0x52e60a=this[_0x1bc963(0x273)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x3c4167=_0x1bc963;this[_0x3c4167(0xea)]=!0x0;}),_0x37ae2d=this[_0x1bc963(0x273)][_0x1bc963(0x134)][_0x1bc963(0xd3)](()=>{const _0x5010c6=_0x1bc963;this[_0x5010c6(0x226)]&&clearTimeout(this[_0x5010c6(0x226)]),this[_0x5010c6(0x226)]=setTimeout(()=>{const _0x1c7d5b=_0x5010c6;this[_0x1c7d5b(0xea)]=!0x1;},0x7d0);});return()=>{const _0x2f045e=_0x1bc963;_0x52e60a[_0x2f045e(0x2f5)](),_0x37ae2d[_0x2f045e(0x2f5)]();};}['_drawTextRange'](_0x36d54f,_0x1bde00,_0x89bce4,_0xa1a5c2){const _0x1490b0=_0x3142a3,_0x1a7df0=new _0x2869e3['ColorKit'](_0x36d54f)[_0x1490b0(0x23a)](0.2)[_0x1490b0(0x10c)](),_0x142adb=new _0x5e0e97[(_0x1490b0(0x1d2))](_0x3ee04e+_0x2869e3['Tools'][_0x1490b0(0x187)](_0x37dc39),{'pointsGroup':_0x1bde00,'fill':_0x1a7df0||_0x5e0e97[_0x1490b0(0xc7)](_0x2869e3[_0x1490b0(0x19f)][_0x1490b0(0xd5)],0.2),'left':_0x89bce4,'top':_0xa1a5c2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1490b0(0x148)]['push'](_0x142adb),this['_scene'][_0x1490b0(0x137)](_0x142adb,_0x3ecda4[_0x1490b0(0xe7)]);}['_drawRectRange'](_0x5e3576,_0x1e2e3f,_0x5cc9b6,_0x278469){const _0xe651b3=_0x3142a3,_0x115be2=new _0x2869e3['ColorKit'](_0x5e3576)[_0xe651b3(0x23a)](0.2)[_0xe651b3(0x10c)](),_0x50cfc3=new _0x5e0e97[(_0xe651b3(0x1d2))](_0x11ba12+_0x2869e3['Tools'][_0xe651b3(0x187)](_0x37dc39),{'pointsGroup':_0x1e2e3f,'fill':_0x115be2||_0x5e0e97['getColor'](_0x2869e3[_0xe651b3(0x19f)][_0xe651b3(0xd5)],0.2),'left':_0x5cc9b6,'top':_0x278469,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xe651b3(0x1f1)](_0x50cfc3),this[_0xe651b3(0x228)][_0xe651b3(0x137)](_0x50cfc3,_0x3ecda4[_0xe651b3(0xe7)]);}['_getAnchorBounding'](_0x4e57bd){const _0x38828b=_0x4e57bd[0x0],_0xdf090d=_0x38828b[0x0],_0x39ca9e=_0x38828b[0x2],{x:_0x5781ea,y:_0x2db513}=_0xdf090d,{x:_0x5d4397,y:_0x3344a3}=_0x39ca9e;return{'left':_0x5781ea,'top':_0x2db513,'width':_0x5d4397-_0x5781ea,'height':_0x3344a3-_0x2db513};}[_0x3142a3(0x2f2)](){const _0x4e6ff2=_0x3142a3,{scaleX:_0x3072e8,scaleY:_0x1a9bc5}=this[_0x4e6ff2(0x228)][_0x4e6ff2(0x2de)]();return Math[_0x4e6ff2(0x104)](_0x3072e8,_0x1a9bc5);}}var _0xd198d7=Object[_0x3142a3(0x216)],_0x50936d=(_0xf0e6eb,_0x30e16e,_0x7e535,_0x4269e5)=>{for(var _0x15b7de=_0x4269e5>0x1?void 0x0:_0x4269e5?_0xd198d7(_0x30e16e,_0x7e535):_0x30e16e,_0x124374=_0xf0e6eb['length']-0x1,_0x537255;_0x124374>=0x0;_0x124374--)(_0x537255=_0xf0e6eb[_0x124374])&&(_0x15b7de=_0x537255(_0x15b7de)||_0x15b7de);return _0x15b7de;},_0x5261f9=(_0x34ac6b,_0x2b7360)=>(_0x514a90,_0x51d580)=>_0x2b7360(_0x514a90,_0x51d580,_0x34ac6b);let _0x1411b2=class extends _0x2869e3[_0x3142a3(0x143)]{constructor(_0x3238c1,_0x5d026a,_0x5b64c6,_0x537481,_0x234887){const _0x142559=_0x3142a3;super(),_0x5d9583(this,_0x142559(0xe3),[]),_0x5d9583(this,_0x142559(0x151),[]),(this[_0x142559(0x1f8)]=_0x3238c1,this['_docSkeletonManagerService']=_0x5d026a,this['_collabCursorController']=_0x5b64c6,this[_0x142559(0xdd)]=_0x537481,this[_0x142559(0x2d7)]=_0x234887,this[_0x142559(0x30c)]());}[_0x3142a3(0x30c)](){const _0x33e225=_0x3142a3,_0x74d283=this['_context']['unitId'],_0x267b1a=this[_0x33e225(0x1d7)];this['disposeWithMe'](_0x45f1ec[_0x33e225(0x13f)]([this['_collabCursorController'][_0x33e225(0x154)](_0x74d283),this[_0x33e225(0x2d7)][_0x33e225(0x34e)]])[_0x33e225(0x32b)](_0x2e1c54[_0x33e225(0x340)](([_0x1f9064,_0x1b2314])=>({'skeleton':_0x267b1a['getSkeleton'](),'cursors':[..._0x1f9064[_0x33e225(0x28e)]()][_0x33e225(0x208)](_0x131c2b=>({..._0x131c2b,'color':this[_0x33e225(0x2d7)][_0x33e225(0x11a)](_0x131c2b[_0x33e225(0xd6)])}))})))[_0x33e225(0x16d)](_0x3db9af=>{const _0x45b3a7=_0x33e225;if(this[_0x45b3a7(0x267)](),_0x3db9af){const {skeleton:_0x4086aa,cursors:_0x2226c4}=_0x3db9af;this[_0x45b3a7(0x12c)](_0x4086aa,_0x2226c4);}})),this[_0x33e225(0x1b7)](),this[_0x33e225(0x1e7)]();}[_0x3142a3(0x12c)](_0x259906,_0x3e5dd1){const _0x460d8c=_0x3142a3,{scene:_0x25b1e8,mainComponent:_0x258c7a}=this[_0x460d8c(0x1f8)],_0x4e9636=_0x3e5dd1[_0x460d8c(0x340)](_0xcf8810=>new _0x4fccdb(_0xcf8810,_0x25b1e8,_0x259906,_0x258c7a));this[_0x460d8c(0xe3)]=_0x4e9636,this[_0x460d8c(0x151)]=_0x3e5dd1;}[_0x3142a3(0x2ce)](){const _0x2eb127=_0x3142a3;this[_0x2eb127(0x267)]();const {scene:_0x4e24fd,mainComponent:_0x4d3cb0}=this[_0x2eb127(0x1f8)],_0x17ca1d=this['_docSkeletonManagerService'][_0x2eb127(0x2e4)](),_0x1b2755=this['_cursors'][_0x2eb127(0x340)](_0x55b536=>new _0x4fccdb(_0x55b536,_0x4e24fd,_0x17ca1d,_0x4d3cb0));this[_0x2eb127(0xe3)]=_0x1b2755;}[_0x3142a3(0x267)](){const _0x1617b7=_0x3142a3;this[_0x1617b7(0xe3)][_0x1617b7(0x181)](_0x39554d=>_0x39554d[_0x1617b7(0x308)]()),this['_cursorShapes']=[];}[_0x3142a3(0x1e7)](){const _0x2f3e44=_0x3142a3,_0x1de3a6=[_0x3ecda4[_0x2f3e44(0x1b4)]['id']];this[_0x2f3e44(0x20e)](this[_0x2f3e44(0xdd)][_0x2f3e44(0x1f3)](_0x16e63f=>{const _0x1758dc=_0x2f3e44;_0x1de3a6[_0x1758dc(0x14a)](_0x16e63f['id'])&&_0x16e63f['params'][_0x1758dc(0x25f)]===this[_0x1758dc(0x1f8)][_0x1758dc(0x25f)]&&this[_0x1758dc(0x2ce)]();}));}['_initResize'](){const _0x3c540d=_0x3142a3;this[_0x3c540d(0x20e)](_0x2869e3['fromEventSubject'](this[_0x3c540d(0x1f8)][_0x3c540d(0x269)][_0x3c540d(0x18a)])['pipe'](_0x2e1c54[_0x3c540d(0x178)](_0x505c8a=>_0x505c8a[_0x3c540d(0x16b)]===_0x5e0e97['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3c540d(0xfd)]),_0x2e1c54[_0x3c540d(0x2d3)](0x10))[_0x3c540d(0x16d)](()=>{this['_refreshCollabCursors']();}));}};_0x1411b2=_0x50936d([_0x5261f9(0x1,_0x2869e3['Inject'](_0x4a64a9[_0x3142a3(0x20d)])),_0x5261f9(0x2,_0x2869e3[_0x3142a3(0x113)](_0x2e6e49)),_0x5261f9(0x3,_0x2869e3['ICommandService']),_0x5261f9(0x4,_0x2869e3['Inject'](_0x2869e3['ThemeService']))],_0x1411b2);const _0x1f8c56=0x1,_0x1887ab=1.5;class _0x330688 extends _0x5e0e97[_0x3142a3(0x2c5)]{constructor(_0x4c8850,_0x41e1a5){const _0x3757aa=_0x3142a3;super(_0x4c8850,_0x41e1a5),_0x5d9583(this,_0x3757aa(0x15e)),_0x5d9583(this,_0x3757aa(0x354),!0x1),_0x5d9583(this,_0x3757aa(0x102)),_0x5d9583(this,_0x3757aa(0x324),''),_0x5d9583(this,_0x3757aa(0x316),'top'),_0x5d9583(this,_0x3757aa(0xc4)),(_0x41e1a5&&this[_0x3757aa(0x330)](_0x41e1a5),this['onPointerEnter$'][_0x3757aa(0xd3)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3757aa(0x134)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3142a3(0x330)](_0x382ea5){const _0x389e0e=_0x3142a3;var _0x1bf540,_0x58896c,_0x418f12,_0xda9412,_0xa6ee92,_0x2ffa0e;this[_0x389e0e(0x15e)]=(_0x1bf540=_0x382ea5[_0x389e0e(0xd6)])!=null?_0x1bf540:this[_0x389e0e(0x15e)],this['_hovered']=(_0x58896c=_0x382ea5['hovered'])!=null?_0x58896c:this[_0x389e0e(0x354)],this[_0x389e0e(0x102)]=(_0x418f12=_0x382ea5[_0x389e0e(0x2ec)])!=null?_0x418f12:this[_0x389e0e(0x102)],this['_name']=(_0xda9412=_0x382ea5[_0x389e0e(0xc3)])!=null?_0xda9412:this[_0x389e0e(0x324)],this[_0x389e0e(0x316)]=(_0xa6ee92=_0x382ea5[_0x389e0e(0x303)])!=null?_0xa6ee92:this[_0x389e0e(0x316)],this['_backgroundColor']=(_0x2ffa0e=_0x382ea5[_0x389e0e(0x122)])!=null?_0x2ffa0e:this[_0x389e0e(0xc4)],this[_0x389e0e(0xd7)]({'width':_0x382ea5[_0x389e0e(0x168)],'height':_0x382ea5[_0x389e0e(0xdf)]});}['onMouseMove'](_0x5bb66e){const _0x3c0c73=_0x3142a3,{row:_0x47061b,column:_0x2e947d}=_0x5bb66e;if(_0x47061b>=this['_range'][_0x3c0c73(0x22f)]&&_0x47061b<=this['_range'][_0x3c0c73(0x350)]&&_0x2e947d>=this[_0x3c0c73(0x102)]['startColumn']&&_0x2e947d<=this['_range'][_0x3c0c73(0x12d)]){this[_0x3c0c73(0x330)]({'hovered':!0x0});return;}this[_0x3c0c73(0x330)]({'hovered':!0x1});}[_0x3142a3(0x306)](_0x36bb21){return!0x1;}['_draw'](_0x5778e0){const _0x6e8003=_0x3142a3;_0x5e0e97[_0x6e8003(0x12b)]['drawWith'](_0x5778e0,{'width':this['width'],'height':this[_0x6e8003(0xdf)],'strokeWidth':_0x1887ab,'stroke':this[_0x6e8003(0x15e)],'evented':!0x1,'fill':this[_0x6e8003(0xc4)]}),this['_hovered']&&(_0x5778e0[_0x6e8003(0x34c)](),_0x5778e0[_0x6e8003(0x190)](0x1,0x0,0x0,0x1,this[_0x6e8003(0x168)],this[_0x6e8003(0x316)]===_0x6e8003(0x2cd)?0x0:-0x14),_0x1a66dd[_0x6e8003(0x235)](_0x5778e0,{'text':this['_name'],'color':this[_0x6e8003(0x15e)]}),_0x5778e0[_0x6e8003(0x103)]());}}var _0x243aa4=Object[_0x3142a3(0x216)],_0x4ed735=(_0x342424,_0x240568,_0x25f27a,_0x478b5c)=>{for(var _0x321e39=_0x478b5c>0x1?void 0x0:_0x478b5c?_0x243aa4(_0x240568,_0x25f27a):_0x240568,_0x44b9b5=_0x342424['length']-0x1,_0x19fb50;_0x44b9b5>=0x0;_0x44b9b5--)(_0x19fb50=_0x342424[_0x44b9b5])&&(_0x321e39=_0x19fb50(_0x321e39)||_0x321e39);return _0x321e39;},_0x4963f4=(_0x153126,_0x351859)=>(_0x320e23,_0x36dc30)=>_0x351859(_0x320e23,_0x36dc30,_0x153126);const _0x15fe86=0x1389;let _0x31c411=class extends _0x2869e3['RxDisposable']{constructor(_0x5dd9f1,_0x5767d7,_0x48e9cc,_0xf61426){const _0x2c2c03=_0x3142a3;super(),_0x5d9583(this,_0x2c2c03(0x151),new Set()),_0x5d9583(this,_0x2c2c03(0x268),null),(this['_context']=_0x5dd9f1,this[_0x2c2c03(0x2fd)]=_0x5767d7,this[_0x2c2c03(0x18b)]=_0x48e9cc,this[_0x2c2c03(0x2d7)]=_0xf61426,this[_0x2c2c03(0x30c)]());}[_0x3142a3(0x30c)](){const _0x26e4be=_0x3142a3;this['_sheetSkeletonManagerService'][_0x26e4be(0x16c)][_0x26e4be(0x32b)](_0x2e1c54[_0x26e4be(0x13d)](this[_0x26e4be(0x1c4)]),_0x2e1c54[_0x26e4be(0x280)](_0x4dbda6=>{const _0x1e6e48=_0x26e4be;if(_0x4dbda6){const _0x13ab1b=_0x4dbda6[_0x1e6e48(0x20a)];return _0x45f1ec[_0x1e6e48(0x13f)](this[_0x1e6e48(0x18b)]['getCollabCursors$'](this[_0x1e6e48(0x1f8)][_0x1e6e48(0x25f)]),this[_0x1e6e48(0x2d7)]['currentTheme$'])[_0x1e6e48(0x32b)](_0x2e1c54[_0x1e6e48(0x340)](([_0x4f9926,_0x5e5cf4])=>{const _0x1e9c5b=_0x1e6e48,_0x40e7cf=new Map();return _0x4f9926[_0x1e9c5b(0x181)]((_0x3a1d7b,_0x51f9ec)=>{const _0x2b3dcb=_0x1e9c5b;if(_0x3a1d7b[_0x2b3dcb(0xcd)]===_0x13ab1b){const _0x16b1fa={..._0x3a1d7b};_0x16b1fa['color']=this[_0x2b3dcb(0x2d7)]['getColorFromTheme'](_0x3a1d7b['color']),_0x40e7cf[_0x2b3dcb(0x115)](_0x51f9ec,_0x16b1fa);}}),{'skeleton':_0x4dbda6,'cursors':_0x40e7cf};}));}return _0x45f1ec['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x3b122a,cursors:_0x15d902})=>{const _0x1f0b37=_0x26e4be;this[_0x1f0b37(0x267)](),_0x3b122a&&this[_0x1f0b37(0x12c)](_0x3b122a,_0x15d902);}),this[_0x26e4be(0x2fd)][_0x26e4be(0x16c)]['subscribe'](_0x59c9c6=>{const _0x5a5eea=_0x26e4be;if(_0x59c9c6==null)return;const {skeleton:_0x1f1117}=_0x59c9c6,{scene:_0x22a9d4}=this[_0x5a5eea(0x1f8)];_0x22a9d4[_0x5a5eea(0x35b)][_0x5a5eea(0xd3)](_0x2869e3[_0x5a5eea(0x281)](_0x40e032=>{const _0x79c82c=_0x5a5eea;var _0x36a6d4,_0x1f1092;const {offsetX:_0xf51a6,offsetY:_0x3af980}=_0x40e032,{x:_0x34021e,y:_0x1c799b}=_0x22a9d4[_0x79c82c(0x10e)](_0x5e0e97[_0x79c82c(0xce)][_0x79c82c(0x23c)]([_0xf51a6,_0x3af980])),{scaleX:_0x40648d,scaleY:_0x377196}=_0x22a9d4[_0x79c82c(0x2de)](),_0xf6ecc5=_0x22a9d4[_0x79c82c(0x2f9)](_0x5e0e97['SHEET_VIEWPORT_KEY'][_0x79c82c(0xca)]),_0x2e20f0=_0x22a9d4[_0x79c82c(0x28c)](_0x5e0e97[_0x79c82c(0xce)][_0x79c82c(0x23c)]([_0x34021e,_0x1c799b]),_0xf6ecc5),_0x17da88=_0x1f1117[_0x79c82c(0x329)](_0xf51a6,_0x3af980,_0x40648d,_0x377196,_0x2e20f0);((_0x36a6d4=this[_0x79c82c(0x268)])==null?void 0x0:_0x36a6d4[_0x79c82c(0x285)])===_0x17da88[_0x79c82c(0x285)]&&((_0x1f1092=this[_0x79c82c(0x268)])==null?void 0x0:_0x1f1092[_0x79c82c(0x320)])===_0x17da88['row']||this[_0x79c82c(0x151)][_0x79c82c(0x181)](_0x38598=>{const _0x4b85ee=_0x79c82c;_0x38598[_0x4b85ee(0x129)](_0x17da88);});},0x64));});}[_0x3142a3(0x12c)](_0x12cc50,_0x30fbe0){const _0x3886bd=_0x3142a3;var _0x42e964;const _0x362403=(_0x42e964=this['_sheetSkeletonManagerService'][_0x3886bd(0x20b)]())==null?void 0x0:_0x42e964[_0x3886bd(0x232)];if(!_0x362403)return;const _0x2072dd=this['_getSheetObject']();if(!_0x2072dd)return;this[_0x3886bd(0x151)]['forEach'](_0x16fac5=>{const _0x4bc0be=_0x3886bd;_0x16fac5[_0x4bc0be(0x18d)]();});const {scene:_0xc76914}=_0x2072dd,_0x4d93dd=_0x22aa67(Array['from'](_0x30fbe0[_0x3886bd(0x28e)]()))[_0x3886bd(0x340)](_0x48f4a4=>{const _0x21bc8d=_0x3886bd,{color:_0x513c8c,range:_0x11a277,name:_0x177687,selection:_0x3354a2,sheetID:_0x22d0ea}=_0x48f4a4,{startColumn:_0x85d52f,startRow:_0x263672,endColumn:_0x569c42,endRow:_0x574c16}=_0x11a277,_0x497857=_0x62ce7e[_0x21bc8d(0x328)](_0x263672,_0x85d52f,_0xc76914,_0x362403),_0x170214=_0x62ce7e[_0x21bc8d(0x328)](_0x574c16,_0x569c42,_0xc76914,_0x362403),{columnHeaderHeightAndMarginTop:_0x5ee0c8}=_0x362403,{startX:_0x4ef51f,startY:_0x2cec56}=_0x497857,{endX:_0x3081bb,endY:_0x26ae72}=_0x170214,_0x3e84db=_0x3081bb-_0x4ef51f,_0x55f09a=_0x26ae72-_0x2cec56,_0x519a9c={'labelPosition':_0x2cec56-_0x5ee0c8>=_0x4e1643?'top':'bottom','sheetID':_0x22d0ea,'range':_0x11a277,'color':_0x513c8c,'name':_0x177687,'selection':_0x3354a2,'left':_0x4ef51f,'top':_0x2cec56,'width':_0x3e84db,'height':_0x55f09a,'evented':!0x1,'zIndex':_0x15fe86};return new _0x330688(_0x177687,_0x519a9c);});_0xc76914['addObjects'](_0x4d93dd,_0x1f8c56),this['_cursors']=new Set(_0x4d93dd);}[_0x3142a3(0x267)](){const _0x3b7ce0=_0x3142a3;var _0x5a2c0b;(_0x5a2c0b=this[_0x3b7ce0(0x151)])==null||_0x5a2c0b[_0x3b7ce0(0x181)](_0x261f56=>_0x261f56[_0x3b7ce0(0x308)]());}[_0x3142a3(0x240)](){const _0x513114=_0x3142a3;return _0x62ce7e[_0x513114(0x298)](this[_0x513114(0x1f8)]['unit'],this[_0x513114(0x1f8)]);}};_0x31c411=_0x4ed735([_0x4963f4(0x1,_0x2869e3[_0x3142a3(0x113)](_0x62ce7e['SheetSkeletonManagerService'])),_0x4963f4(0x2,_0x2869e3[_0x3142a3(0x113)](_0x2e6e49)),_0x4963f4(0x3,_0x2869e3[_0x3142a3(0x113)](_0x2869e3[_0x3142a3(0x32e)]))],_0x31c411);function _0x22aa67(_0x18cdab){const _0xd26214=_0x3142a3,_0x15ac2a=new Map();return _0x18cdab['forEach'](_0x4d69a2=>{const _0x297331=_0x412f;if(_0x15ac2a[_0x297331(0x189)](_0x4d69a2['selection'])){const _0x17a250=_0x15ac2a[_0x297331(0x2ae)](_0x4d69a2[_0x297331(0x337)]);_0x17a250[_0x297331(0xc3)]+=',\x20'+_0x4d69a2['name'];}else _0x15ac2a[_0x297331(0x115)](_0x4d69a2['selection'],_0x4d69a2);}),Array[_0xd26214(0x150)](_0x15ac2a[_0xd26214(0x28e)]());}var _0x58a186=function(){const _0x2d0f19=_0x3142a3;return _0x58a186=Object[_0x2d0f19(0xf7)]||function(_0x30565e){const _0xaad536=_0x2d0f19;for(var _0x2b98b7,_0x5124b7=0x1,_0x2bf12c=arguments[_0xaad536(0x29a)];_0x5124b7<_0x2bf12c;_0x5124b7++){_0x2b98b7=arguments[_0x5124b7];for(var _0xf07a0f in _0x2b98b7)Object['prototype'][_0xaad536(0x1f6)]['call'](_0x2b98b7,_0xf07a0f)&&(_0x30565e[_0xf07a0f]=_0x2b98b7[_0xf07a0f]);}return _0x30565e;},_0x58a186[_0x2d0f19(0x270)](this,arguments);},_0x118efc=function(_0x2375e5,_0x5ac73e){const _0x62d4b6=_0x3142a3;var _0x2bde3a={};for(var _0x200784 in _0x2375e5)Object[_0x62d4b6(0x118)][_0x62d4b6(0x1f6)][_0x62d4b6(0xcb)](_0x2375e5,_0x200784)&&_0x5ac73e[_0x62d4b6(0x2a2)](_0x200784)<0x0&&(_0x2bde3a[_0x200784]=_0x2375e5[_0x200784]);if(_0x2375e5!=null&&typeof Object[_0x62d4b6(0x1b8)]==_0x62d4b6(0x1ab)){for(var _0x2f582e=0x0,_0x200784=Object[_0x62d4b6(0x1b8)](_0x2375e5);_0x2f582e<_0x200784[_0x62d4b6(0x29a)];_0x2f582e++)_0x5ac73e[_0x62d4b6(0x2a2)](_0x200784[_0x2f582e])<0x0&&Object['prototype'][_0x62d4b6(0x105)][_0x62d4b6(0xcb)](_0x2375e5,_0x200784[_0x2f582e])&&(_0x2bde3a[_0x200784[_0x2f582e]]=_0x2375e5[_0x200784[_0x2f582e]]);}return _0x2bde3a;},_0x279803=_0x403960['forwardRef'](function(_0x3171c7,_0x5c571f){const _0x4e4fda=_0x3142a3;var _0x32b652=_0x3171c7[_0x4e4fda(0xd2)],_0x4c2132=_0x3171c7['id'],_0x430662=_0x3171c7[_0x4e4fda(0x326)],_0x25c66b=_0x3171c7['extend'],_0x1b1c15=_0x118efc(_0x3171c7,[_0x4e4fda(0xd2),'id',_0x4e4fda(0x326),_0x4e4fda(0x109)]),_0x1123c0=_0x4e4fda(0x265)[_0x4e4fda(0x317)](_0x4c2132,'\x20')['concat'](_0x430662||'')[_0x4e4fda(0x120)](),_0x2fb466=_0x403960[_0x4e4fda(0xb4)]('_'['concat'](_0x311ba4()));return _0x274ac(_0x32b652,''[_0x4e4fda(0x317)](_0x4c2132),{'defIds':_0x32b652[_0x4e4fda(0x311)],'idSuffix':_0x2fb466[_0x4e4fda(0x164)]},_0x58a186({'ref':_0x5c571f,'className':_0x1123c0},_0x1b1c15),_0x25c66b);});function _0x274ac(_0x36c8c8,_0x5cb5ed,_0x2e346b,_0x53c3da,_0x42acc4){const _0x3b0540=_0x3142a3;return _0x403960['createElement'](_0x36c8c8[_0x3b0540(0x16e)],_0x58a186(_0x58a186({'key':_0x5cb5ed},_0x5033f4(_0x36c8c8,_0x2e346b,_0x42acc4)),_0x53c3da),(_0xfa3da6(_0x36c8c8,_0x2e346b)[_0x3b0540(0x19b)]||[])[_0x3b0540(0x340)](function(_0x34db89,_0x482683){const _0x16b162=_0x3b0540;return _0x274ac(_0x34db89,''[_0x16b162(0x317)](_0x5cb5ed,'-')[_0x16b162(0x317)](_0x36c8c8[_0x16b162(0x16e)],'-')[_0x16b162(0x317)](_0x482683),_0x2e346b,void 0x0,_0x42acc4);}));}function _0x5033f4(_0x29e61f,_0x388d47,_0x5a2743){const _0x45dcf8=_0x3142a3;var _0x32355d=_0x58a186({},_0x29e61f[_0x45dcf8(0x231)]);_0x5a2743!=null&&_0x5a2743['colorChannel1']&&_0x32355d[_0x45dcf8(0x334)]===_0x45dcf8(0x199)&&(_0x32355d[_0x45dcf8(0x334)]=_0x5a2743[_0x45dcf8(0x199)]),_0x29e61f[_0x45dcf8(0x16e)]===_0x45dcf8(0x110)&&_0x32355d['id']&&(_0x32355d['id']=_0x32355d['id']+_0x388d47[_0x45dcf8(0x183)]),Object[_0x45dcf8(0x144)](_0x32355d)['forEach'](function(_0x3ad506){const _0x449b31=_0x45dcf8;var _0x405348=_0x3ad506[0x0],_0x57c97c=_0x3ad506[0x1];_0x405348===_0x449b31(0x110)&&typeof _0x57c97c==_0x449b31(0xb9)&&(_0x32355d[_0x405348]=_0x57c97c['replace'](/url\(#(.*)\)/,'url(#$1'[_0x449b31(0x317)](_0x388d47[_0x449b31(0x183)],')')));});var _0x54f26e=_0x388d47[_0x45dcf8(0x311)];return!_0x54f26e||_0x54f26e[_0x45dcf8(0x29a)]===0x0||(_0x29e61f[_0x45dcf8(0x16e)]===_0x45dcf8(0x1f5)&&_0x32355d[_0x45dcf8(0x1fd)]&&(_0x32355d[_0x45dcf8(0x1fd)]=_0x32355d[_0x45dcf8(0x1fd)]+_0x388d47[_0x45dcf8(0x183)]),Object['entries'](_0x32355d)[_0x45dcf8(0x181)](function(_0x52c493){const _0x3149ae=_0x45dcf8;var _0x4fa5d1=_0x52c493[0x0],_0x5bf753=_0x52c493[0x1];typeof _0x5bf753==_0x3149ae(0xb9)&&(_0x32355d[_0x4fa5d1]=_0x5bf753[_0x3149ae(0x11b)](/url\(#(.*)\)/,_0x3149ae(0x238)[_0x3149ae(0x317)](_0x388d47[_0x3149ae(0x183)],')')));})),_0x32355d;}function _0xfa3da6(_0x4dabc1,_0x53e975){const _0x39cd65=_0x3142a3;var _0x55790c,_0x202e92=_0x53e975[_0x39cd65(0x311)];return!_0x202e92||_0x202e92['length']===0x0?_0x4dabc1:_0x4dabc1[_0x39cd65(0x16e)]===_0x39cd65(0x271)&&(!((_0x55790c=_0x4dabc1[_0x39cd65(0x19b)])===null||_0x55790c===void 0x0)&&_0x55790c[_0x39cd65(0x29a)])?_0x58a186(_0x58a186({},_0x4dabc1),{'children':_0x4dabc1[_0x39cd65(0x19b)][_0x39cd65(0x340)](function(_0x45bad4){const _0x31ddf8=_0x39cd65;return typeof _0x45bad4[_0x31ddf8(0x231)]['id']==_0x31ddf8(0xb9)&&_0x202e92&&_0x202e92[_0x31ddf8(0x14a)](_0x45bad4[_0x31ddf8(0x231)]['id'])?_0x58a186(_0x58a186({},_0x45bad4),{'attrs':_0x58a186(_0x58a186({},_0x45bad4['attrs']),{'id':_0x45bad4[_0x31ddf8(0x231)]['id']+_0x53e975['idSuffix']})}):_0x45bad4;})}):_0x4dabc1;}function _0x311ba4(){const _0x41f028=_0x3142a3;return Math['random']()[_0x41f028(0x325)](0x24)['substring'](0x2,0x8);}_0x279803[_0x3142a3(0x26a)]=_0x3142a3(0x15c);var _0x387924={'tag':_0x3142a3(0x10a),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3142a3(0x34b),'viewBox':_0x3142a3(0x309),'width':_0x3142a3(0x296),'height':_0x3142a3(0x296)},'children':[{'tag':'g','attrs':{'clipPath':_0x3142a3(0x2c9)},'children':[{'tag':'path','attrs':{'stroke':_0x3142a3(0x2ad),'d':_0x3142a3(0x196),'strokeLinecap':_0x3142a3(0x1fa),'strokeLinejoin':_0x3142a3(0x1fa),'strokeWidth':1.2}}]},{'tag':_0x3142a3(0x271),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3142a3(0x1da)},'children':[{'tag':_0x3142a3(0x136),'attrs':{'fill':_0x3142a3(0x176),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3142a3(0x1da)]},_0x1c0368=_0x403960['forwardRef'](function(_0x74fe24,_0x517031){const _0x52c3a2=_0x3142a3;return _0x403960['createElement'](_0x279803,Object[_0x52c3a2(0xf7)]({},_0x74fe24,{'id':_0x52c3a2(0x220),'ref':_0x517031,'icon':_0x387924}));});_0x1c0368['displayName']=_0x3142a3(0xf9);var _0x497b8b={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3142a3(0x34b),'viewBox':_0x3142a3(0xf0),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x3142a3(0x136),'attrs':{'stroke':_0x3142a3(0x2ad),'d':_0x3142a3(0xfa),'strokeLinecap':_0x3142a3(0x1fa),'strokeLinejoin':_0x3142a3(0x1fa),'strokeWidth':1.2}}]},{'tag':_0x3142a3(0x271),'attrs':{},'children':[{'tag':_0x3142a3(0x16a),'attrs':{'id':_0x3142a3(0x318)},'children':[{'tag':_0x3142a3(0x136),'attrs':{'fill':_0x3142a3(0x176),'d':_0x3142a3(0x25a),'transform':_0x3142a3(0x331)}}]}]}],'defIds':[_0x3142a3(0x318)]},_0x1b0b80=_0x403960[_0x3142a3(0x256)](function(_0x13a7ba,_0x4cbeb9){const _0x2e30ad=_0x3142a3;return _0x403960[_0x2e30ad(0x28a)](_0x279803,Object[_0x2e30ad(0xf7)]({},_0x13a7ba,{'id':_0x2e30ad(0x31d),'ref':_0x4cbeb9,'icon':_0x497b8b}));});_0x1b0b80[_0x3142a3(0x26a)]=_0x3142a3(0x20c);function _0x1ff01d(_0x1441ea){const _0x363df9=_0x3142a3;switch(_0x1441ea){case _0x563ec8[_0x363df9(0xfe)][_0x363df9(0x1d5)]:return _0x363df9(0x165);case _0x563ec8[_0x363df9(0xfe)]['CONFLICT']:return _0x363df9(0x241);case _0x563ec8['CollaborationStatus'][_0x363df9(0x2ea)]:return _0x363df9(0x2c7);case _0x563ec8[_0x363df9(0xfe)]['NOT_COLLAB']:return _0x363df9(0x206);case _0x563ec8[_0x363df9(0xfe)]['AWAITING']:case _0x563ec8[_0x363df9(0xfe)][_0x363df9(0x1c8)]:return _0x363df9(0x1af);case _0x563ec8[_0x363df9(0xfe)]['SYNCED']:case _0x563ec8[_0x363df9(0xfe)][_0x363df9(0x2f7)]:return _0x363df9(0x2da);}}function _0x598439(_0x3e9774){const _0x31721d=_0x3142a3,{status$:_0x433450}=_0x3e9774,_0x5950fb=_0x1d6ce3[_0x31721d(0x1ee)](_0x433450,_0x563ec8['CollaborationStatus'][_0x31721d(0x225)]),_0x36ddff=_0x1d6ce3[_0x31721d(0x153)](_0x2869e3[_0x31721d(0x101)]),_0x25a067=_0x1d6ce3[_0x31721d(0x153)](_0x563ec8[_0x31721d(0x32a)]),_0x3bd397=_0x5950fb!==_0x563ec8[_0x31721d(0xfe)][_0x31721d(0x1d5)],_0x231af8=_0x36ddff['t'](_0x1ff01d(_0x5950fb)),_0x3a33b1=_0x3bd397?_0x57639a[_0x31721d(0x1b6)](_0x1b0b80,{}):_0x57639a[_0x31721d(0x1b6)](_0x1c0368,{}),_0x32863b=_0x403960[_0x31721d(0x2b1)](()=>{_0x3bd397||_0x25a067['reconnect']();},[_0x3bd397,_0x25a067]);function _0x12415e(){const _0x266b19=_0x31721d;return _0x57639a[_0x266b19(0x252)](_0x266b19(0x323),{'className':'univer-flex\x20univer-items-center','onClick':_0x32863b,'children':[_0x57639a[_0x266b19(0x1b6)](_0x266b19(0x323),{'className':_0x4919f6[_0x266b19(0x28f)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x3bd397,'univer-text-red-500':!_0x3bd397}),'children':_0x3a33b1}),_0x57639a['jsx']('div',{'className':_0x266b19(0x1b9),'children':_0x231af8})]});}return _0x3bd397?_0x12415e():_0x57639a[_0x31721d(0x1b6)](_0x4919f6['Tooltip'],{'title':_0x36ddff['t'](_0x31721d(0x25e)),'children':_0x12415e()});}var _0x502b82=Object['getOwnPropertyDescriptor'],_0x4a7bbe=(_0x498fd9,_0xc38d67,_0x3f08a3,_0x5b4a63)=>{const _0x772a6d=_0x3142a3;for(var _0x337c8f=_0x5b4a63>0x1?void 0x0:_0x5b4a63?_0x502b82(_0xc38d67,_0x3f08a3):_0xc38d67,_0x247576=_0x498fd9[_0x772a6d(0x29a)]-0x1,_0x2164d0;_0x247576>=0x0;_0x247576--)(_0x2164d0=_0x498fd9[_0x247576])&&(_0x337c8f=_0x2164d0(_0x337c8f)||_0x337c8f);return _0x337c8f;},_0x6cd811=(_0x24baeb,_0x480fb2)=>(_0x9791bf,_0x1b1884)=>_0x480fb2(_0x9791bf,_0x1b1884,_0x24baeb);_0x2a1a14[_0x3142a3(0x348)]=class extends _0x2869e3[_0x3142a3(0x21c)]{constructor(_0x571900,_0x38acba,_0x53ec8b,_0x38419d){const _0x59a0ad=_0x3142a3;super(),_0x5d9583(this,_0x59a0ad(0x24c),new _0x45f1ec['BehaviorSubject'](_0x563ec8[_0x59a0ad(0xfe)][_0x59a0ad(0x225)])),(this[_0x59a0ad(0x32d)]=_0x571900,this[_0x59a0ad(0x2bd)]=_0x38acba,this[_0x59a0ad(0x353)]=_0x53ec8b,this[_0x59a0ad(0x250)]=_0x38419d,this[_0x59a0ad(0x100)](),this['_initStatusListener']());}[_0x3142a3(0x135)](){const _0x45bcca=_0x3142a3;this[_0x45bcca(0x20e)](this[_0x45bcca(0x32d)]['focused$'][_0x45bcca(0x32b)](_0x45f1ec[_0x45bcca(0x280)](()=>{const _0x1f82f8=_0x45bcca,_0x4b93be=this[_0x1f82f8(0x32d)][_0x1f82f8(0x138)]();return _0x4b93be?this[_0x1f82f8(0x353)][_0x1f82f8(0x26b)](_0x4b93be['getUnitId']()):_0x45f1ec['of'](null);}),_0x45f1ec[_0x45bcca(0x280)](_0x58ac35=>_0x58ac35?_0x58ac35[_0x45bcca(0x23d)]:_0x45f1ec['of'](_0x563ec8[_0x45bcca(0xfe)][_0x45bcca(0x225)])))[_0x45bcca(0x16d)](_0x47f730=>{const _0x3cc694=_0x45bcca;this[_0x3cc694(0x24c)][_0x3cc694(0x19c)](_0x47f730);}));}['_initStatusComponent'](){const _0x2c1711=_0x3142a3;this[_0x2c1711(0x20e)](this['_uiPartsService'][_0x2c1711(0x2cf)](_0x1d6ce3[_0x2c1711(0x1cb)][_0x2c1711(0x24e)],()=>_0x1d6ce3[_0x2c1711(0x243)](_0x92a2d6({'status$':this[_0x2c1711(0x24c)][_0x2c1711(0x1e4)]()}),this[_0x2c1711(0x2bd)])));}},_0x2a1a14[_0x3142a3(0x348)]=_0x4a7bbe([_0x6cd811(0x0,_0x2869e3[_0x3142a3(0xb6)]),_0x6cd811(0x1,_0x2869e3['Inject'](_0x2869e3[_0x3142a3(0x209)])),_0x6cd811(0x2,_0x2869e3[_0x3142a3(0x113)](_0x563ec8[_0x3142a3(0x1a0)])),_0x6cd811(0x3,_0x1d6ce3['IUIPartsService'])],_0x2a1a14[_0x3142a3(0x348)]);function _0x92a2d6(_0x24f0a8){const {status$:_0x2f2679}=_0x24f0a8;return function(){const _0x128422=_0x412f;return _0x57639a[_0x128422(0x1b6)](_0x598439,{'status$':_0x2f2679});};}var _0x4d6ba4=Object[_0x3142a3(0x216)],_0x2bc30e=(_0x1a7fc8,_0x1f2dcf,_0x4d0356,_0x4a80bc)=>{const _0x1b6143=_0x3142a3;for(var _0x4bd813=_0x4a80bc>0x1?void 0x0:_0x4a80bc?_0x4d6ba4(_0x1f2dcf,_0x4d0356):_0x1f2dcf,_0x4cd83f=_0x1a7fc8[_0x1b6143(0x29a)]-0x1,_0x1ffe59;_0x4cd83f>=0x0;_0x4cd83f--)(_0x1ffe59=_0x1a7fc8[_0x4cd83f])&&(_0x4bd813=_0x1ffe59(_0x4bd813)||_0x4bd813);return _0x4bd813;},_0x406898=(_0x2309d2,_0x350c53)=>(_0x518d27,_0x47a182)=>_0x350c53(_0x518d27,_0x47a182,_0x2309d2);let _0x234b1b=class extends _0x2869e3[_0x3142a3(0x21c)]{constructor(_0x3e1d05,_0x3d56c1,_0x9d473e,_0x43a8ee,_0x1aa43d,_0x3a8020){const _0x268fb4=_0x3142a3;super(),this[_0x268fb4(0x30e)]=_0x3e1d05,this[_0x268fb4(0x146)]=_0x3d56c1,this[_0x268fb4(0x33f)]=_0x9d473e,this['_messageService']=_0x43a8ee,this[_0x268fb4(0x290)]=_0x1aa43d,this[_0x268fb4(0x184)]=_0x3a8020,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x3142a3(0x2fe)](){const _0x31fe09=_0x3142a3;this[_0x31fe09(0x20e)](this[_0x31fe09(0x30e)][_0x31fe09(0x21b)](()=>{const _0x9f82f1=_0x31fe09;if(this[_0x9f82f1(0x146)][_0x9f82f1(0x2cb)][_0x9f82f1(0x2b3)])return this[_0x9f82f1(0x184)]['t'](_0x9f82f1(0x357));}));}[_0x3142a3(0xed)](){const _0x11d4a0=_0x3142a3;this[_0x11d4a0(0x20e)](this[_0x11d4a0(0x33f)][_0x11d4a0(0xff)]['subscribe'](_0x18bcb5=>{const _0x44074c=_0x11d4a0;_0x18bcb5['id']===_0x563ec8[_0x44074c(0x24f)][_0x44074c(0x347)]&&this[_0x44074c(0xf2)][_0x44074c(0x167)]({'type':_0x4919f6['MessageType'][_0x44074c(0x1d1)],'content':this[_0x44074c(0x184)]['t'](_0x44074c(0x2b6))}),_0x18bcb5['id']===_0x563ec8[_0x44074c(0x24f)][_0x44074c(0x1b2)]&&this[_0x44074c(0xf2)]['show']({'type':_0x4919f6['MessageType'][_0x44074c(0x1d1)],'content':this[_0x44074c(0x184)]['t'](_0x44074c(0x20f))}),_0x18bcb5['id']===_0x563ec8['CollaborationUIEventId'][_0x44074c(0x179)]&&this[_0x44074c(0x290)][_0x44074c(0x167)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x44074c(0x184)]['t'](_0x44074c(0x175)),'type':_0x44074c(0x1be),'duration':0x0}),_0x18bcb5['id']===_0x563ec8['CollaborationUIEventId'][_0x44074c(0x237)]&&this[_0x44074c(0xf2)][_0x44074c(0x167)]({'type':_0x4919f6['MessageType'][_0x44074c(0x355)],'content':this['_localeService']['t'](_0x44074c(0x20f))+'('+_0x18bcb5['data']+')'}),_0x18bcb5['id']===_0x563ec8[_0x44074c(0x24f)]['JOIN_ROOM_FAILED']&&this[_0x44074c(0xf2)][_0x44074c(0x167)]({'type':_0x4919f6[_0x44074c(0x27b)][_0x44074c(0x1d1)],'content':this[_0x44074c(0x184)]['t'](_0x18bcb5['data']||'')}),_0x18bcb5['id']===_0x563ec8[_0x44074c(0x24f)][_0x44074c(0x1ad)]&&this['_messageService'][_0x44074c(0x167)]({'type':_0x4919f6[_0x44074c(0x27b)][_0x44074c(0x1d1)],'content':this['_localeService']['t'](_0x44074c(0x1eb))}),_0x18bcb5['id']===_0x563ec8[_0x44074c(0x24f)][_0x44074c(0x2c2)]&&this[_0x44074c(0xf2)][_0x44074c(0x167)]({'type':_0x4919f6[_0x44074c(0x27b)][_0x44074c(0x355)],'content':this[_0x44074c(0x184)]['t']('session.connection-failed')}),_0x18bcb5['id']===_0x563ec8[_0x44074c(0x24f)][_0x44074c(0x30d)]&&this[_0x44074c(0xf2)][_0x44074c(0x167)]({'type':_0x4919f6[_0x44074c(0x27b)]['Error'],'content':this[_0x44074c(0x184)]['t']('session.collaboration-timeout')});}));}};_0x234b1b=_0x2bc30e([_0x406898(0x0,_0x1d6ce3[_0x3142a3(0x205)]),_0x406898(0x1,_0x563ec8[_0x3142a3(0x2a1)]),_0x406898(0x2,_0x2869e3['Inject'](_0x563ec8[_0x3142a3(0x1d3)])),_0x406898(0x3,_0x1d6ce3[_0x3142a3(0xeb)]),_0x406898(0x4,_0x1d6ce3[_0x3142a3(0xc1)]),_0x406898(0x5,_0x2869e3['Inject'](_0x2869e3['LocaleService']))],_0x234b1b);const _0x7fd582=_0x3142a3(0x147),_0x31863c={},_0xc4d707=_0x2869e3[_0x3142a3(0x1c1)](_0x3142a3(0x1c9));var _0x5c91c7=Object[_0x3142a3(0x216)],_0x5f1cd3=(_0x489642,_0x3637f3,_0x2a992b,_0x3c4571)=>{const _0x4505=_0x3142a3;for(var _0x5d99cb=_0x3c4571>0x1?void 0x0:_0x3c4571?_0x5c91c7(_0x3637f3,_0x2a992b):_0x3637f3,_0x2ab082=_0x489642[_0x4505(0x29a)]-0x1,_0x13014e;_0x2ab082>=0x0;_0x2ab082--)(_0x13014e=_0x489642[_0x2ab082])&&(_0x5d99cb=_0x13014e(_0x5d99cb)||_0x5d99cb);return _0x5d99cb;},_0x348ea1=(_0x27c4af,_0x155dee)=>(_0x10baa2,_0x4443c2)=>_0x155dee(_0x10baa2,_0x4443c2,_0x27c4af);_0x2a1a14[_0x3142a3(0x31e)]=class extends _0x2869e3['RxDisposable']{constructor(_0xebab0,_0x51093e,_0x56cb18,_0x2242c0,_0x561703){const _0x251a5a=_0x3142a3;super(),this['_urlService']=_0xebab0,this[_0x251a5a(0xd4)]=_0x51093e,this[_0x251a5a(0xdd)]=_0x56cb18,this[_0x251a5a(0xe6)]=_0x2242c0,_0x561703?_0x561703==null||_0x561703[_0x251a5a(0x18c)]()[_0x251a5a(0x251)](()=>this[_0x251a5a(0x30c)]()):(this[_0x251a5a(0xd4)][_0x251a5a(0xba)](_0x251a5a(0xda),_0x251a5a(0x12e)),this[_0x251a5a(0x30c)]());}async[_0x3142a3(0x30c)](){const _0x272f60=_0x3142a3,_0x1a74dd=this[_0x272f60(0x18e)][_0x272f60(0x22c)](_0x272f60(0x31a)),_0x5ce84f=this[_0x272f60(0x18e)][_0x272f60(0x22c)](_0x272f60(0x16b)),_0x1abfcd=this['_urlService']['getParam'](_0x272f60(0x2dc));if(!_0x1a74dd||!_0x5ce84f){this[_0x272f60(0xd4)][_0x272f60(0xba)](_0x272f60(0xda),_0x272f60(0x1c0));return;}const _0x37e3e4=await this[_0x272f60(0xe6)][_0x272f60(0x2ff)](_0x1a74dd,Number(_0x5ce84f),_0x1abfcd);_0x37e3e4&&_0x37e3e4 instanceof _0x2869e3[_0x272f60(0x1a2)]&&this['_setupSubUnitSync'](_0x37e3e4);}async[_0x3142a3(0x1b1)](_0x607d86){const _0x242eba=_0x3142a3;await this[_0x242eba(0x249)](_0x607d86),_0x607d86['activeSheet$'][_0x242eba(0x32b)](_0x45f1ec[_0x242eba(0x13d)](this[_0x242eba(0x1c4)]))[_0x242eba(0x16d)](_0x4dc2fd=>{const _0x3aaf11=_0x242eba;_0x4dc2fd&&this[_0x3aaf11(0x2f8)](_0x4dc2fd);}),this[_0x242eba(0x18e)][_0x242eba(0x27c)]['pipe'](_0x45f1ec[_0x242eba(0x13d)](this[_0x242eba(0x1c4)]))[_0x242eba(0x16d)](()=>this[_0x242eba(0x249)](_0x607d86));}[_0x3142a3(0x2f8)](_0x4fda44,_0x1de59e=!0x1){const _0x1c23d1=_0x3142a3,_0x6abbb1=this[_0x1c23d1(0x18e)][_0x1c23d1(0x22c)](_0x1c23d1(0x2dc));_0x4fda44[_0x1c23d1(0x13e)]()!==_0x6abbb1&&this[_0x1c23d1(0x18e)][_0x1c23d1(0x10b)](_0x1c23d1(0x2dc),_0x4fda44[_0x1c23d1(0x13e)](),_0x1de59e);}async['_updateSubUnitFromURLParams'](_0xf98800){const _0x266670=_0x3142a3;var _0xf4d782;const _0x42b6df=this['_urlService']['getParam'](_0x266670(0x2dc));if(!_0x42b6df||!_0xf98800[_0x266670(0x13b)](_0x42b6df)){const _0x3b6816=_0xf98800['getUnhiddenWorksheets']()[0x0],_0x42f921=_0xf98800[_0x266670(0x13b)](_0x3b6816);if(!_0x42f921)return;this[_0x266670(0x2f8)](_0x42f921,!0x0),await this[_0x266670(0xdd)][_0x266670(0x31f)](_0x27c981[_0x266670(0xe5)]['id'],{'unitId':_0xf98800[_0x266670(0xde)](),'subUnitId':_0x3b6816});return;}((_0xf4d782=_0xf98800[_0x266670(0x1c2)]())==null?void 0x0:_0xf4d782['getSheetId']())!==_0x42b6df&&await this['_commandService'][_0x266670(0x31f)](_0x27c981[_0x266670(0xe5)]['id'],{'unitId':_0xf98800['getUnitId'](),'subUnitId':_0x42b6df});}},_0x2a1a14[_0x3142a3(0x31e)]=_0x5f1cd3([_0x348ea1(0x0,_0xc4d707),_0x348ea1(0x1,_0x2869e3[_0x3142a3(0x16f)]),_0x348ea1(0x2,_0x2869e3[_0x3142a3(0x123)]),_0x348ea1(0x3,_0x2869e3[_0x3142a3(0x113)](_0x563ec8[_0x3142a3(0xbc)])),_0x348ea1(0x4,_0x2869e3[_0x3142a3(0x1d4)](_0x5c7b44['IRemoteInstanceService']))],_0x2a1a14[_0x3142a3(0x31e)]);var _0x4ef037=Object[_0x3142a3(0x216)],_0x21aaed=(_0x1648cb,_0x4ad708,_0x4e4354,_0x4031e0)=>{const _0x32253d=_0x3142a3;for(var _0x27716d=_0x4031e0>0x1?void 0x0:_0x4031e0?_0x4ef037(_0x4ad708,_0x4e4354):_0x4ad708,_0x581be2=_0x1648cb[_0x32253d(0x29a)]-0x1,_0x595084;_0x581be2>=0x0;_0x581be2--)(_0x595084=_0x1648cb[_0x581be2])&&(_0x27716d=_0x595084(_0x27716d)||_0x27716d);return _0x27716d;},_0x5a22ea=(_0x5adcae,_0x46cb98)=>(_0x281e17,_0x62a0f5)=>_0x46cb98(_0x281e17,_0x62a0f5,_0x5adcae);let _0x48d1ca=class{constructor(_0x7621c4,_0x27163b,_0x32b725){const _0x5cd3d=_0x3142a3;this[_0x5cd3d(0x2bd)]=_0x7621c4,this[_0x5cd3d(0x156)]=_0x27163b,this['_renderManagerService']=_0x32b725;}['transformIMECache'](_0x4327c1){const _0x300322=_0x3142a3;this['_transformUndoRedoStack'](_0x4327c1),this[_0x300322(0x358)](_0x4327c1);}[_0x3142a3(0x31b)](_0x462a42){const _0x3e5c77=_0x3142a3,{unitID:_0x5822e8}=_0x462a42,_0x3be838=this[_0x3e5c77(0xf8)][_0x3e5c77(0x1ec)](_0x5822e8)[_0x3e5c77(0x28b)](_0x3ecda4[_0x3e5c77(0x14c)]),{redoCache:_0x3a325f}=_0x3be838[_0x3e5c77(0x1b3)]();if(_0x3a325f['length']===0x0)return _0x462a42;let _0x29a58e=_0x2869e3['Tools'][_0x3e5c77(0x141)](_0x462a42['mutations'][0x0]);for(let _0x3cf3fe=0x0;_0x3cf3fe<_0x3a325f['length'];_0x3cf3fe++){const _0x529e6a={'id':_0x3e5c77(0x1dc),'params':{..._0x3a325f[_0x3cf3fe]}},_0x473838=this['_transformService'][_0x3e5c77(0x1df)](_0x29a58e,_0x529e6a,!0x1);if(_0x14a853[_0x3e5c77(0x327)](_0x473838))throw _0x473838[_0x3e5c77(0x1be)];_0x29a58e=_0x473838[_0x3e5c77(0xb2)];}return{..._0x2869e3[_0x3e5c77(0x2f3)][_0x3e5c77(0x141)](_0x462a42),'mutations':[_0x29a58e]};}[_0x3142a3(0xf5)](_0x594170){const _0x337b38=_0x3142a3,{unitID:_0x597d00}=_0x594170,_0x15f1f0=this['_renderManagerService']['getRenderById'](_0x597d00)[_0x337b38(0x28b)](_0x3ecda4[_0x337b38(0x14c)]),{undoCache:_0x141381,redoCache:_0x521774}=_0x15f1f0[_0x337b38(0x1b3)]();if(_0x141381[_0x337b38(0x29a)]===0x0||_0x521774[_0x337b38(0x29a)]===0x0)return;const _0x7dc24a=[],_0x370bca=[];let _0x352fee=_0x2869e3[_0x337b38(0x2f3)]['deepClone'](_0x594170[_0x337b38(0x130)][0x0]),_0x397c29=_0x2869e3[_0x337b38(0x2f3)][_0x337b38(0x141)](_0x594170[_0x337b38(0x130)][0x0]);for(let _0x58ac29=_0x141381[_0x337b38(0x29a)]-0x1;_0x58ac29>=0x0;_0x58ac29--){const _0x1343c5={'id':_0x337b38(0x1dc),'params':{..._0x141381[_0x58ac29]}},_0x48b3ab={'id':_0x337b38(0x1dc),'params':{..._0x521774[_0x58ac29]}},_0x26d101=this[_0x337b38(0x156)][_0x337b38(0x1df)](_0x352fee,_0x1343c5,!0x1),_0x4a1217=this['_transformService'][_0x337b38(0x1df)](_0x397c29,_0x48b3ab,!0x1);if(_0x14a853['isTransformMutationFailure'](_0x26d101))throw _0x26d101['error'];if(_0x14a853['isTransformMutationFailure'](_0x4a1217))throw _0x4a1217[_0x337b38(0x1be)];_0x7dc24a[_0x337b38(0x25d)](_0x26d101['m2Prime'][_0x337b38(0x169)]),_0x370bca[_0x337b38(0x25d)](_0x4a1217['m2Prime'][_0x337b38(0x169)]),_0x352fee=_0x26d101[_0x337b38(0xb2)],_0x397c29=_0x4a1217[_0x337b38(0xb2)];}_0x15f1f0[_0x337b38(0xf4)]({'undoCache':_0x7dc24a,'redoCache':_0x370bca});}[_0x3142a3(0x358)](_0x149ace){const _0x1bd7a0=_0x3142a3,{unitID:_0x154821}=_0x149ace,_0x5a1d6b=this[_0x1bd7a0(0xf8)][_0x1bd7a0(0x1ec)](_0x154821)[_0x1bd7a0(0x28b)](_0x3ecda4[_0x1bd7a0(0x14c)]),_0x2c1965=_0x5a1d6b[_0x1bd7a0(0xf3)]();if(_0x2c1965==null)return;const _0x145e3e=[{'id':_0x1bd7a0(0x1dc),'params':{'unitId':_0x149ace['unitID'],'actions':null,'textRanges':[_0x2c1965]}}],_0x464a05=this[_0x1bd7a0(0x156)][_0x1bd7a0(0x336)](_0x149ace,_0x145e3e);if(!_0x14a853[_0x1bd7a0(0x2ab)](_0x464a05))throw _0x464a05[_0x1bd7a0(0x1be)];const _0x562f29=_0x464a05[_0x1bd7a0(0x1bb)][0x0][_0x1bd7a0(0x169)][_0x1bd7a0(0xbb)];Array[_0x1bd7a0(0x2b7)](_0x562f29)&&_0x562f29[_0x1bd7a0(0x29a)]&&_0x5a1d6b[_0x1bd7a0(0x119)](_0x562f29[0x0]);}};_0x48d1ca=_0x21aaed([_0x5a22ea(0x0,_0x2869e3[_0x3142a3(0x113)](_0x2869e3[_0x3142a3(0x209)])),_0x5a22ea(0x1,_0x14a853[_0x3142a3(0x10d)]),_0x5a22ea(0x2,_0x5e0e97['IRenderManagerService'])],_0x48d1ca);var _0x8f3f68=Object['getOwnPropertyDescriptor'],_0xafc83b=(_0x20f70d,_0x29b076,_0x1a35be,_0x2612f4)=>{const _0x5596fc=_0x3142a3;for(var _0x22cb56=_0x2612f4>0x1?void 0x0:_0x2612f4?_0x8f3f68(_0x29b076,_0x1a35be):_0x29b076,_0x409526=_0x20f70d[_0x5596fc(0x29a)]-0x1,_0x34c1b5;_0x409526>=0x0;_0x409526--)(_0x34c1b5=_0x20f70d[_0x409526])&&(_0x22cb56=_0x34c1b5(_0x22cb56)||_0x22cb56);return _0x22cb56;},_0x125263=(_0x51929f,_0x4720d6)=>(_0xde9f6e,_0x5e1e7f)=>_0x4720d6(_0xde9f6e,_0x5e1e7f,_0x51929f);let _0x3e2c55=class{constructor(_0x144aca,_0x3fad88,_0x1f0225){const _0x56ba74=_0x3142a3;this['_injector']=_0x144aca,this[_0x56ba74(0x156)]=_0x3fad88,this[_0x56ba74(0x2b0)]=_0x1f0225;}[_0x3142a3(0x278)](_0x4782e1){this['_transformHistoryAndStateStack'](_0x4782e1);}[_0x3142a3(0x31b)](_0xae8916){const _0x456416=_0x3142a3,{unitID:_0x41521e}=_0xae8916,{collaboration:_0xdca8ea}=this[_0x456416(0x2b0)][_0x456416(0x219)](_0x41521e);if(_0xdca8ea[_0x456416(0x29a)]===0x0)return _0xae8916;let _0x195895=_0x2869e3[_0x456416(0x2f3)][_0x456416(0x141)](_0xae8916[_0x456416(0x130)][0x0]);for(let _0x5b6009=0x0;_0x5b6009<_0xdca8ea['length'];_0x5b6009++){const _0x1b367b={'id':_0x456416(0x1dc),'params':{'unitId':_0xdca8ea[_0x5b6009]['unitId'],..._0xdca8ea[_0x5b6009][_0x456416(0x1a7)]}},_0x534eaa=this[_0x456416(0x156)][_0x456416(0x1df)](_0x195895,_0x1b367b,!0x1);if(_0x14a853['isTransformMutationFailure'](_0x534eaa))throw _0x534eaa[_0x456416(0x1be)];_0x195895=_0x534eaa['m1Prime'];}return{..._0x2869e3[_0x456416(0x2f3)]['deepClone'](_0xae8916),'mutations':[_0x195895]};}['_transformHistoryAndStateStack'](_0x20c80c){const _0x43ed1b=_0x3142a3,{unitID:_0x5dd7a8}=_0x20c80c,{history:_0x539522,collaboration:_0x114238}=this[_0x43ed1b(0x2b0)]['getStateCache'](_0x5dd7a8);if(_0x539522['length']===0x0&&_0x114238[_0x43ed1b(0x29a)]===0x0)return;const _0x1a5174=[],_0x2a432b=[];let _0x48b14e=_0x2869e3[_0x43ed1b(0x2f3)][_0x43ed1b(0x141)](_0x20c80c[_0x43ed1b(0x130)][0x0]),_0x51844a=_0x2869e3[_0x43ed1b(0x2f3)][_0x43ed1b(0x141)](_0x20c80c['mutations'][0x0]);for(let _0x307014=_0x539522['length']-0x1;_0x307014>=0x0;_0x307014--){const _0x285426={'id':_0x43ed1b(0x1dc),'params':{'unitId':_0x539522[_0x307014][_0x43ed1b(0x25f)],..._0x539522[_0x307014][_0x43ed1b(0x13a)]}},_0x5adc40={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x539522[_0x307014]['unitId'],..._0x539522[_0x307014][_0x43ed1b(0x1a7)]}},_0x3fdea1=this[_0x43ed1b(0x156)]['transformMutation'](_0x48b14e,_0x285426,!0x1),_0x243f4c=this[_0x43ed1b(0x156)]['transformMutation'](_0x51844a,_0x5adc40,!0x1);if(_0x14a853[_0x43ed1b(0x327)](_0x3fdea1))throw _0x3fdea1['error'];if(_0x14a853[_0x43ed1b(0x327)](_0x243f4c))throw _0x243f4c[_0x43ed1b(0x1be)];_0x1a5174[_0x43ed1b(0x25d)]({..._0x539522[_0x307014],'undoState':_0x3fdea1[_0x43ed1b(0x1bb)]['params'],'redoState':_0x243f4c[_0x43ed1b(0x1bb)][_0x43ed1b(0x169)]}),_0x48b14e=_0x3fdea1[_0x43ed1b(0xb2)],_0x51844a=_0x243f4c[_0x43ed1b(0xb2)];}_0x48b14e=_0x2869e3[_0x43ed1b(0x2f3)]['deepClone'](_0x20c80c[_0x43ed1b(0x130)][0x0]),_0x51844a=_0x2869e3['Tools'][_0x43ed1b(0x141)](_0x20c80c[_0x43ed1b(0x130)][0x0]);for(let _0xf0e8a9=_0x114238['length']-0x1;_0xf0e8a9>=0x0;_0xf0e8a9--){const _0x49905a={'id':_0x43ed1b(0x1dc),'params':{'unitId':_0x114238[_0xf0e8a9][_0x43ed1b(0x25f)],..._0x114238[_0xf0e8a9][_0x43ed1b(0x13a)]}},_0x1b8496={'id':_0x43ed1b(0x1dc),'params':{'unitId':_0x114238[_0xf0e8a9]['unitId'],..._0x114238[_0xf0e8a9][_0x43ed1b(0x1a7)]}},_0x3238ca=this[_0x43ed1b(0x156)][_0x43ed1b(0x1df)](_0x48b14e,_0x49905a,!0x1),_0x5f3468=this[_0x43ed1b(0x156)][_0x43ed1b(0x1df)](_0x51844a,_0x1b8496,!0x1);if(_0x14a853[_0x43ed1b(0x327)](_0x3238ca))throw _0x3238ca['error'];if(_0x14a853['isTransformMutationFailure'](_0x5f3468))throw _0x5f3468[_0x43ed1b(0x1be)];_0x2a432b['unshift']({..._0x114238[_0xf0e8a9],'undoState':_0x3238ca['m2Prime'][_0x43ed1b(0x169)],'redoState':_0x5f3468[_0x43ed1b(0x1bb)][_0x43ed1b(0x169)]}),_0x48b14e=_0x3238ca[_0x43ed1b(0xb2)],_0x51844a=_0x5f3468[_0x43ed1b(0xb2)];}this['_docStateChangeManagerService'][_0x43ed1b(0x207)](_0x5dd7a8,{'history':_0x1a5174,'collaboration':_0x2a432b});}};_0x3e2c55=_0xafc83b([_0x125263(0x0,_0x2869e3[_0x3142a3(0x113)](_0x2869e3['Injector'])),_0x125263(0x1,_0x14a853[_0x3142a3(0x10d)]),_0x125263(0x2,_0x2869e3[_0x3142a3(0x113)](_0x3ecda4[_0x3142a3(0x26c)]))],_0x3e2c55);var _0x1131ba=Object[_0x3142a3(0x216)],_0x3defd8=(_0x20e695,_0x5513c5,_0x2574a9,_0x5b7f0c)=>{const _0x33adc9=_0x3142a3;for(var _0x1ab1e7=_0x5b7f0c>0x1?void 0x0:_0x5b7f0c?_0x1131ba(_0x5513c5,_0x2574a9):_0x5513c5,_0x270bb6=_0x20e695[_0x33adc9(0x29a)]-0x1,_0x1b69f8;_0x270bb6>=0x0;_0x270bb6--)(_0x1b69f8=_0x20e695[_0x270bb6])&&(_0x1ab1e7=_0x1b69f8(_0x1ab1e7)||_0x1ab1e7);return _0x1ab1e7;},_0xf1809b=(_0x16e99b,_0x55439f)=>(_0x15aede,_0x45368f)=>_0x55439f(_0x15aede,_0x45368f,_0x16e99b);let _0x1030ca=class{constructor(_0x2aba70,_0x502058){const _0x1f1144=_0x3142a3;this[_0x1f1144(0x2bd)]=_0x2aba70,this['_transformService']=_0x502058;}['transformSelections'](_0x45157c){const _0x108a32=_0x3142a3;var _0x377cde;const _0x4bc969=this[_0x108a32(0x2bd)][_0x108a32(0x2ae)](_0x4a64a9[_0x108a32(0x35a)]),_0x890307=(_0x377cde=_0x4bc969['getDocRanges']())!=null?_0x377cde:[];if(_0x890307[_0x108a32(0x29a)]===0x0)return;const _0x47240d=_0x45157c[_0x108a32(0x125)],_0xdd855a=[{'id':_0x108a32(0x1dc),'params':{'unitId':_0x47240d,'actions':null,'textRanges':_0x890307}}],_0xb385b9=this[_0x108a32(0x156)]['transformMutationsWithChangeset'](_0x45157c,_0xdd855a);if(!_0x14a853[_0x108a32(0x2ab)](_0xb385b9))throw _0xb385b9[_0x108a32(0x1be)];const _0x164a8c=_0xb385b9['m2Prime'][0x0][_0x108a32(0x169)][_0x108a32(0xbb)];Array[_0x108a32(0x2b7)](_0x164a8c)&&_0x164a8c[_0x108a32(0x29a)]&&_0x4bc969[_0x108a32(0x248)](_0x164a8c,{'unitId':_0x47240d,'subUnitId':_0x47240d},!0x1);}};_0x1030ca=_0x3defd8([_0xf1809b(0x0,_0x2869e3['Inject'](_0x2869e3[_0x3142a3(0x209)])),_0xf1809b(0x1,_0x14a853[_0x3142a3(0x10d)])],_0x1030ca);var _0x1e0b3f=Object['getOwnPropertyDescriptor'],_0x2d4fa8=(_0x3b52f5,_0x2b912c,_0x3e86d7,_0x43415e)=>{const _0x10f1d7=_0x3142a3;for(var _0x2527e8=_0x43415e>0x1?void 0x0:_0x43415e?_0x1e0b3f(_0x2b912c,_0x3e86d7):_0x2b912c,_0x4e442e=_0x3b52f5[_0x10f1d7(0x29a)]-0x1,_0x2b6a95;_0x4e442e>=0x0;_0x4e442e--)(_0x2b6a95=_0x3b52f5[_0x4e442e])&&(_0x2527e8=_0x2b6a95(_0x2527e8)||_0x2527e8);return _0x2527e8;},_0x46f3da=(_0x22b266,_0x3b79f0)=>(_0x37baa0,_0x143e78)=>_0x3b79f0(_0x37baa0,_0x143e78,_0x22b266);let _0x381ec8=class extends _0x2869e3[_0x3142a3(0x21c)]{constructor(_0x2491a5,_0x4dea54,_0x4f7512,_0x26d06c,_0x3d5225,_0x215c77,_0x249266,_0x2ed2f1){const _0x1c0916=_0x3142a3;super(),_0x5d9583(this,_0x1c0916(0x24c),new _0x45f1ec[(_0x1c0916(0x26e))](_0x563ec8['CollaborationStatus']['NOT_COLLAB'])),(this[_0x1c0916(0x2b0)]=_0x2491a5,this[_0x1c0916(0x353)]=_0x4dea54,this[_0x1c0916(0x1c6)]=_0x4f7512,this[_0x1c0916(0x286)]=_0x26d06c,this[_0x1c0916(0x29b)]=_0x3d5225,this[_0x1c0916(0x159)]=_0x215c77,this[_0x1c0916(0xf2)]=_0x249266,this[_0x1c0916(0x184)]=_0x2ed2f1,this[_0x1c0916(0x264)]());}[_0x3142a3(0x264)](){const _0x238572=_0x3142a3;this[_0x238572(0x20e)](this['_collaborationController'][_0x238572(0x212)][_0x238572(0x16d)](_0x4a634c=>{const _0x8409cd=_0x238572,_0x46a33a=this[_0x8409cd(0x2b0)][_0x8409cd(0x242)][_0x8409cd(0x16d)](_0x48bd0a=>{const _0x381616=_0x8409cd;if(_0x48bd0a==null)return;const {unitId:_0x4b1ba4,redoState:_0x51c13a,commandId:_0x14504f}=_0x48bd0a;if(_0x4b1ba4!==_0x4a634c['unitID'])return;const _0x2ff561={'id':_0x14504f,'type':_0x2869e3[_0x381616(0x1e5)]['MUTATION'],'params':{'unitId':_0x4b1ba4,'actions':_0x51c13a[_0x381616(0x200)],'textRanges':null}};_0x4a634c[_0x381616(0x17d)](_0x2ff561);});if(_0x4a634c[_0x8409cd(0x20e)](_0x46a33a),_0x4a634c instanceof _0x563ec8[_0x8409cd(0x314)]){const _0x557dcd={'onTransformIME':_0x68c3e5=>this[_0x8409cd(0x1c6)][_0x8409cd(0xe4)](_0x68c3e5),'onTransformState':_0x25b20c=>this[_0x8409cd(0x286)][_0x8409cd(0x278)](_0x25b20c),'onTransformSelections':_0x5a5ae8=>this[_0x8409cd(0x29b)][_0x8409cd(0x322)](_0x5a5ae8),'onSyncEditingCollabCursor':_0x4b8995=>this[_0x8409cd(0x159)][_0x8409cd(0x313)](_0x4b8995),'onTransformRemoteChangesetByIMECache':_0x4a6e2=>this[_0x8409cd(0x1c6)][_0x8409cd(0x31b)](_0x4a6e2),'onTransformRemoteChangesetByStateCache':_0x52f951=>this[_0x8409cd(0x286)][_0x8409cd(0x31b)](_0x52f951)};_0x4a634c[_0x8409cd(0x11d)](_0x557dcd);}}));}};_0x381ec8=_0x2d4fa8([_0x46f3da(0x0,_0x2869e3[_0x3142a3(0x113)](_0x3ecda4[_0x3142a3(0x26c)])),_0x46f3da(0x1,_0x2869e3[_0x3142a3(0x113)](_0x563ec8[_0x3142a3(0x1a0)])),_0x46f3da(0x2,_0x2869e3['Inject'](_0x48d1ca)),_0x46f3da(0x3,_0x2869e3[_0x3142a3(0x113)](_0x3e2c55)),_0x46f3da(0x4,_0x2869e3[_0x3142a3(0x113)](_0x1030ca)),_0x46f3da(0x5,_0x2869e3[_0x3142a3(0x113)](_0x444f98)),_0x46f3da(0x6,_0x1d6ce3[_0x3142a3(0xeb)]),_0x46f3da(0x7,_0x2869e3['Inject'](_0x2869e3[_0x3142a3(0x101)]))],_0x381ec8);var _0x49a127=Object['getOwnPropertyDescriptor'],_0x3552d5=(_0x22433a,_0x5186a6,_0x20ef59,_0x379826)=>{for(var _0x273767=_0x379826>0x1?void 0x0:_0x379826?_0x49a127(_0x5186a6,_0x20ef59):_0x5186a6,_0x49908c=_0x22433a['length']-0x1,_0x30b241;_0x49908c>=0x0;_0x49908c--)(_0x30b241=_0x22433a[_0x49908c])&&(_0x273767=_0x30b241(_0x273767)||_0x273767);return _0x273767;},_0x50cd90=(_0x49e19e,_0x25baa7)=>(_0x73b500,_0xafbff5)=>_0x25baa7(_0x73b500,_0xafbff5,_0x49e19e);let _0x3613d3=class extends _0x2869e3['Disposable']{constructor(_0x408cad,_0x1e86df,_0x3d39bf){const _0x127c13=_0x3142a3;super(),_0x5d9583(this,_0x127c13(0x160),new Map()),_0x5d9583(this,_0x127c13(0x1b5),new Map()),_0x5d9583(this,'_disabled',!0x1),(this[_0x127c13(0x297)]=_0x408cad,this[_0x127c13(0x22d)]=_0x1e86df,this[_0x127c13(0x142)]=_0x3d39bf);}[_0x3142a3(0x12a)](){const _0x4be857=_0x3142a3;this[_0x4be857(0x2a5)]=!0x0;}[_0x3142a3(0xf6)](){const _0x459e56=_0x3142a3;this[_0x459e56(0x2a5)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x3142a3(0x308)](){const _0x38f6df=_0x3142a3;this[_0x38f6df(0x1a3)]()[_0x38f6df(0x251)](()=>super['dispose']());}async[_0x3142a3(0x279)](_0x5361f6){const _0x4e2bff=_0x3142a3;return this[_0x4e2bff(0x2a5)]?null:this[_0x4e2bff(0x22d)][_0x4e2bff(0x302)](_0x563ec8[_0x4e2bff(0x2e0)](_0x5361f6));}async[_0x3142a3(0x2c1)](_0x2cc4a9,_0x485a2c){const _0x24be4f=_0x3142a3;return!!this[_0x24be4f(0x22d)][_0x24be4f(0xec)](_0x2cc4a9,_0x485a2c);}[_0x3142a3(0x204)](_0x459356,_0x28024c,_0x314018,_0x5d5526){const _0x2527b2=_0x3142a3,_0x4f35a6=this[_0x2527b2(0x142)]['getCurrentRevOfUnit'](_0x459356);this['_cachedData'][_0x2527b2(0x115)](_0x459356,{'unitID':_0x459356,'type':_0x28024c,'awaitingChangeset':_0x314018,'mutations':_0x5d5526,'rev':_0x4f35a6}),this['_saveTaskMap']['has'](_0x459356)||this[_0x2527b2(0x292)](_0x459356);}[_0x3142a3(0x292)](_0x17ccd2){const _0x277fc0=_0x3142a3,_0xc9a9e6=this['_getSaveTimeout']();_0xc9a9e6===0x0?this[_0x277fc0(0x192)](_0x17ccd2):this[_0x277fc0(0x1b5)][_0x277fc0(0x115)](_0x17ccd2,setTimeout(()=>this['_saveCache'](_0x17ccd2),_0xc9a9e6));}[_0x3142a3(0x33c)](){const _0x5d96c4=_0x3142a3;var _0x20dd4a;return(_0x20dd4a=this[_0x5d96c4(0x297)]['getConfig'](_0x563ec8[_0x5d96c4(0xf1)]))!=null?_0x20dd4a:_0x563ec8['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x1e6e8a){const _0x1abea4=_0x3142a3,_0x3c97b3=this[_0x1abea4(0x1b5)][_0x1abea4(0x2ae)](_0x1e6e8a);return _0x3c97b3!==void 0x0&&window[_0x1abea4(0x188)](_0x3c97b3),this['_localStorageService']['setItem'](_0x563ec8[_0x1abea4(0x2e0)](_0x1e6e8a),this[_0x1abea4(0x160)][_0x1abea4(0x2ae)](_0x1e6e8a))[_0x1abea4(0x251)](()=>this['_saveTaskMap'][_0x1abea4(0x171)](_0x1e6e8a));}async[_0x3142a3(0x1a3)](){const _0x44c4e8=_0x3142a3,_0x276447=[];this['_saveTaskMap'][_0x44c4e8(0x181)]((_0x673c41,_0x49dea6)=>{const _0x93d5ef=_0x44c4e8;window[_0x93d5ef(0x188)](_0x673c41),_0x276447['push'](this[_0x93d5ef(0x192)](_0x49dea6)[_0x93d5ef(0x251)](()=>{const _0x1a0df3=_0x93d5ef;this[_0x1a0df3(0x1b5)]['delete'](_0x49dea6);}));}),await Promise[_0x44c4e8(0x26d)](_0x276447);}};_0x3613d3=_0x3552d5([_0x50cd90(0x0,_0x2869e3[_0x3142a3(0x2a6)]),_0x50cd90(0x1,_0x2869e3[_0x3142a3(0x293)]),_0x50cd90(0x2,_0x2869e3[_0x3142a3(0x113)](_0x14a853[_0x3142a3(0x2af)]))],_0x3613d3);class _0x589733 extends _0x2869e3[_0x3142a3(0x143)]{constructor(){const _0xa4203=_0x3142a3;super(),_0x5d9583(this,_0xa4203(0x27c)),this['urlChange$']=_0x45f1ec[_0xa4203(0xd9)](window,'popstate')[_0xa4203(0x32b)](_0x45f1ec['takeUntil'](this['dispose$']),_0x45f1ec['shareReplay'](0x1),_0x45f1ec['mapTo'](void 0x0));}[_0x3142a3(0x10b)](_0x320377,_0x9d901,_0x528953=!0x1){const _0x2d807a=_0x3142a3,_0x4cc605=new URL(window[_0x2d807a(0x14e)][_0x2d807a(0x2e5)]);_0x4cc605['searchParams'][_0x2d807a(0x115)](_0x320377,_0x9d901),_0x528953?window[_0x2d807a(0x163)]['replaceState']('','',_0x4cc605[_0x2d807a(0x325)]()):window['history'][_0x2d807a(0x247)]('','',_0x4cc605['toString']());}[_0x3142a3(0x1a4)](_0x44ecb7,_0x35d96b=!0x1){const _0x47965e=_0x3142a3,_0x373825=new URL(window[_0x47965e(0x14e)]['href']);_0x373825['searchParams']['delete'](_0x44ecb7),_0x35d96b?window[_0x47965e(0x163)]['replaceState']('','',_0x373825[_0x47965e(0x325)]()):window[_0x47965e(0x163)]['pushState']('','',_0x373825['toString']());}[_0x3142a3(0x22c)](_0x50baf6){const _0x55a264=_0x3142a3;var _0x5ab848;return(_0x5ab848=new URL(window['location'][_0x55a264(0x2e5)])[_0x55a264(0x158)][_0x55a264(0x2ae)](_0x50baf6))!=null?_0x5ab848:void 0x0;}}var _0x330565=Object[_0x3142a3(0x2f0)],_0x40411e=Object[_0x3142a3(0x216)],_0x13140b=(_0x1cedd9,_0x4b3122,_0x12d448)=>_0x4b3122 in _0x1cedd9?_0x330565(_0x1cedd9,_0x4b3122,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x12d448}):_0x1cedd9[_0x4b3122]=_0x12d448,_0xa23f50=(_0x3bd5ee,_0x30af9c,_0x2993be,_0x1fa38e)=>{for(var _0x5bd577=_0x1fa38e>0x1?void 0x0:_0x1fa38e?_0x40411e(_0x30af9c,_0x2993be):_0x30af9c,_0x35c17b=_0x3bd5ee['length']-0x1,_0x4001c5;_0x35c17b>=0x0;_0x35c17b--)(_0x4001c5=_0x3bd5ee[_0x35c17b])&&(_0x5bd577=_0x4001c5(_0x5bd577)||_0x5bd577);return _0x5bd577;},_0x24d095=(_0x545f2b,_0x50b76b)=>(_0xbe3dce,_0xc37f3e)=>_0x50b76b(_0xbe3dce,_0xc37f3e,_0x545f2b),_0x20640e=(_0xf35185,_0x1caeb9,_0x3422cb)=>_0x13140b(_0xf35185,_0x1caeb9+'',_0x3422cb);const _0x4ed143=_0x3142a3(0x2a4);_0x2a1a14[_0x3142a3(0x124)]=class extends _0x2869e3['Plugin']{constructor(_0x502709=_0x31863c,_0x290777,_0x2467fa,_0x3473d5){const _0x55d2ed=_0x3142a3;super(),this[_0x55d2ed(0x2c4)]=_0x502709,this['_renderManagerService']=_0x290777,this[_0x55d2ed(0x2bd)]=_0x2467fa,this[_0x55d2ed(0x297)]=_0x3473d5;const {..._0x2feab7}=_0x2869e3['merge']({},_0x31863c,this[_0x55d2ed(0x2c4)]);this['_configService']['setConfig'](_0x7fd582,_0x2feab7);}['onStarting'](){const _0xc3dab5=_0x3142a3;this['_registerDependencies'](),this[_0xc3dab5(0x254)]();}[_0x3142a3(0x1d0)](){const _0x12a497=_0x3142a3;this[_0x12a497(0x1f7)]();}[_0x3142a3(0x1a5)](){const _0xdfc25c=_0x3142a3;var _0x31142c;const _0xb9df56=[[_0xea9dee],[_0x1030ca],[_0x48d1ca],[_0x3e2c55],[_0x444f98],[_0xc4d707,{'useClass':_0x589733}],[_0x5a5573[_0xdfc25c(0xc8)],{'useClass':_0x5a5573[_0xdfc25c(0x2fb)]}],[_0x563ec8['ILocalCacheService'],{'useClass':_0x3613d3}],[_0x2a1a14[_0xdfc25c(0x348)]],[_0x381ec8],[_0x234b1b],[_0x2e6e49],[_0x16b943],[_0x2a1a14[_0xdfc25c(0x31e)]]];_0x2869e3[_0xdfc25c(0xd0)](this['_injector'],_0x2869e3[_0xdfc25c(0x294)](_0xb9df56,(_0x31142c=this[_0xdfc25c(0x2c4)])==null?void 0x0:_0x31142c[_0xdfc25c(0x34f)]));}['_registerRenderDependencies'](){const _0x7db59d=_0x3142a3;this[_0x7db59d(0x20e)](this[_0x7db59d(0xf8)][_0x7db59d(0x106)](_0x2869e3['UniverInstanceType'][_0x7db59d(0x32f)],[_0x1411b2])),this[_0x7db59d(0x20e)](this[_0x7db59d(0xf8)]['registerRenderModule'](_0x2869e3[_0x7db59d(0x289)][_0x7db59d(0x291)],[_0x31c411]));}['_initDependencies'](){const _0x4f1637=_0x3142a3;_0x2869e3['touchDependencies'](this[_0x4f1637(0x2bd)],[[_0x2e6e49],[_0x2a1a14[_0x4f1637(0x348)]],[_0x381ec8],[_0x234b1b],[_0x2a1a14[_0x4f1637(0x31e)]]]);}},_0x20640e(_0x2a1a14[_0x3142a3(0x124)],'pluginName',_0x4ed143),_0x2a1a14[_0x3142a3(0x124)]=_0xa23f50([_0x2869e3[_0x3142a3(0x191)](_0x563ec8[_0x3142a3(0x1db)]),_0x24d095(0x1,_0x5e0e97[_0x3142a3(0x262)]),_0x24d095(0x2,_0x2869e3[_0x3142a3(0x113)](_0x2869e3[_0x3142a3(0x209)])),_0x24d095(0x3,_0x2869e3[_0x3142a3(0x2a6)])],_0x2a1a14['UniverCollaborationClientUIPlugin']);var _0x30413c=Object[_0x3142a3(0x216)],_0x4317a4=(_0x149e18,_0x7a18ff,_0x5128e8,_0x48a443)=>{const _0x4b1665=_0x3142a3;for(var _0x471ea2=_0x48a443>0x1?void 0x0:_0x48a443?_0x30413c(_0x7a18ff,_0x5128e8):_0x7a18ff,_0x2b291b=_0x149e18[_0x4b1665(0x29a)]-0x1,_0x3d2717;_0x2b291b>=0x0;_0x2b291b--)(_0x3d2717=_0x149e18[_0x2b291b])&&(_0x471ea2=_0x3d2717(_0x471ea2)||_0x471ea2);return _0x471ea2;},_0x40f79a=(_0x7d4629,_0x4af9dd)=>(_0x4832b9,_0x35efe7)=>_0x4af9dd(_0x4832b9,_0x35efe7,_0x7d4629);_0x2a1a14[_0x3142a3(0x2dd)]=class extends _0x563ec8[_0x3142a3(0xc2)]{constructor(_0x2be864,_0x4d4cdd,_0x54e33d,_0x1b28c6,_0x59dd2d){super(_0x2be864,_0x4d4cdd,_0x54e33d,_0x1b28c6,_0x59dd2d);}async[_0x3142a3(0x284)](_0x4447c8){const _0x1644fa=_0x3142a3,_0x3950ce=await this[_0x1644fa(0x114)](),_0x248c63=this[_0x1644fa(0x27d)](_0x4447c8,_0x3950ce);return this['_doCreateSocket'](_0x248c63);}[_0x3142a3(0x27d)](_0x186850,_0x2922c7){const _0x5a4904=_0x3142a3,_0x4a4043=typeof window>'u'?new URL(_0x186850):new URL(_0x186850,window[_0x5a4904(0x14e)][_0x5a4904(0x222)]);_0x4a4043[_0x5a4904(0x158)][_0x5a4904(0x115)]('sessionTicket',_0x2922c7);const _0x11e130=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5a4904(0x14e)]['search']);return _0x11e130[_0x5a4904(0x2ae)](_0x5a4904(0x2e6))&&_0x4a4043[_0x5a4904(0x158)]['set'](_0x5a4904(0x2e6),_0x11e130[_0x5a4904(0x2ae)](_0x5a4904(0x2e6))),_0x4a4043[_0x5a4904(0x325)]();}async['_getSessionTicket'](){const _0x37c5a4=_0x3142a3;var _0x4766ec,_0x46aecc,_0x4199a5;const _0x6b22a2=this[_0x37c5a4(0x297)][_0x37c5a4(0xbf)](_0x563ec8[_0x37c5a4(0x29c)]),_0x37449c=(_0x4766ec=_0x6b22a2==null?void 0x0:_0x6b22a2[_0x37c5a4(0x24a)])!=null?_0x4766ec:_0x563ec8[_0x37c5a4(0x116)];return(_0x4199a5=(_0x46aecc=(await this[_0x37c5a4(0x2fa)][_0x37c5a4(0x2ae)](_0x37449c,{'headers':{'Content-Type':'application/json'}}))[_0x37c5a4(0x17f)])==null?void 0x0:_0x46aecc['ticket'])!=null?_0x4199a5:'';}},_0x2a1a14[_0x3142a3(0x2dd)]=_0x4317a4([_0x40f79a(0x0,_0x2869e3['Inject'](_0x2869e3[_0x3142a3(0x209)])),_0x40f79a(0x1,_0x2869e3[_0x3142a3(0x113)](_0x5a5573['HTTPService'])),_0x40f79a(0x2,_0x2869e3[_0x3142a3(0x2a6)]),_0x40f79a(0x3,_0x2869e3[_0x3142a3(0x16f)]),_0x40f79a(0x4,_0x14a853[_0x3142a3(0x213)])],_0x2a1a14[_0x3142a3(0x2dd)]);const _0xa1f3ca=0x7530,_0x20ab38=_0x3142a3(0x21d);class _0x253653 extends _0x2869e3[_0x3142a3(0x21c)]{constructor(){const _0xcf0b8c=_0x3142a3;super(),_0x5d9583(this,_0xcf0b8c(0x288),_0x2869e3[_0xcf0b8c(0x187)]()),_0x5d9583(this,_0xcf0b8c(0x1ca),new Set()),_0x5d9583(this,_0xcf0b8c(0x1c7),new Map()),_0x5d9583(this,_0xcf0b8c(0x1ea),null),_0x5d9583(this,'_clearOtherTimers',new Map()),_0x5d9583(this,_0xcf0b8c(0x1cf),new Map()),this[_0xcf0b8c(0x30c)]();}['dispose'](){const _0x1be699=_0x3142a3;super[_0x1be699(0x308)](),this[_0x1be699(0x2e3)][_0x1be699(0x181)]((_0x552e20,_0x57985d)=>this[_0x1be699(0xb5)](_0x57985d)),this[_0x1be699(0x1ea)]&&window[_0x1be699(0x332)](this[_0x1be699(0x1ea)]);}[_0x3142a3(0x2db)](_0x176e8c){const _0x2504b0=_0x3142a3;return this[_0x2504b0(0xd8)](_0x176e8c)[_0x2504b0(0x32b)](_0x45f1ec['distinctUntilChanged']());}[_0x3142a3(0x17a)](_0x2c32b0){const _0x16fcf1=_0x3142a3;this[_0x16fcf1(0x1ca)][_0x16fcf1(0x2b3)]===0x0&&this[_0x16fcf1(0x2e8)](),this[_0x16fcf1(0x1ca)][_0x16fcf1(0xef)](_0x2c32b0),this[_0x16fcf1(0xbe)]({'type':0x0,'memberID':this[_0x16fcf1(0x288)],'unitIDs':[_0x2c32b0],'isForwarded':!0x1});}['disposeUnit'](_0x55adb7){const _0x1122c1=_0x3142a3;this[_0x1122c1(0x1ca)][_0x1122c1(0x171)](_0x55adb7),this[_0x1122c1(0x1ca)]['size']===0x0&&this[_0x1122c1(0x1ea)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x3142a3(0x30c)](){const _0x56eea9=_0x3142a3;this[_0x56eea9(0x20e)](_0x2869e3[_0x56eea9(0x356)](_0x45f1ec[_0x56eea9(0xd9)](window,_0x56eea9(0x23f))[_0x56eea9(0x16d)](_0x32adc7=>{const _0x50a5f5=_0x56eea9;if(_0x32adc7[_0x50a5f5(0x229)]!==_0x20ab38||!_0x32adc7[_0x50a5f5(0x1a9)])return;const _0x45b0e7=JSON[_0x50a5f5(0x1d9)](_0x32adc7[_0x50a5f5(0x1a9)]);this[_0x50a5f5(0x1fb)](_0x45b0e7);}))),window[_0x56eea9(0x177)]('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x56eea9(0x288)],'unitIDs':Array[_0x56eea9(0x150)](this[_0x56eea9(0x1ca)])}));}[_0x3142a3(0x1fb)](_0x4c6e1c){const _0x35ef01=_0x3142a3;switch(_0x4c6e1c[_0x35ef01(0x16b)]){case 0x0:this['_handleJoinEvent'](_0x4c6e1c);break;case 0x1:this['_handleLeaveEvent'](_0x4c6e1c);break;case 0x2:this[_0x35ef01(0x1bd)](_0x4c6e1c);break;}}[_0x3142a3(0x321)](_0x4c649d){const _0x1e4436=_0x3142a3,{unitIDs:_0x2f32b5,memberID:_0x55f562,isForwarded:_0x2336e6}=_0x4c649d;_0x2f32b5[_0x1e4436(0x181)](_0x32e47e=>{const _0x140964=_0x1e4436;if(!_0x2336e6&&this[_0x140964(0x1c7)]['has'](_0x32e47e)&&this[_0x140964(0xd8)](_0x32e47e)[_0x140964(0x19c)](_0x563ec8['UnitStatus'][_0x140964(0x310)]),!this[_0x140964(0x1c7)][_0x140964(0x189)](_0x32e47e)||!this[_0x140964(0x1c7)][_0x140964(0x2ae)](_0x32e47e)[_0x140964(0x189)](_0x55f562)){const _0x5047ee=this[_0x140964(0x1c7)]['get'](_0x32e47e)||new Set();_0x5047ee[_0x140964(0xef)](_0x55f562),this[_0x140964(0x1c7)]['set'](_0x32e47e,_0x5047ee),this[_0x140964(0x2a0)](_0x55f562);}}),_0x2336e6||this[_0x1e4436(0xbe)]({'type':0x0,'memberID':this[_0x1e4436(0x288)],'unitIDs':[...this[_0x1e4436(0x1ca)]],'isForwarded':!0x0});}[_0x3142a3(0x2a0)](_0x18fff7){const _0x16dcc2=_0x3142a3;this['_removeClearOtherTimer'](_0x18fff7);const _0x1bafbd=window[_0x16dcc2(0x1bc)](()=>{const _0x4d2de1=_0x16dcc2;this['_unitOnClients'][_0x4d2de1(0x181)](_0x1c5cc7=>{const _0x2e8950=_0x4d2de1;_0x1c5cc7[_0x2e8950(0x171)](_0x18fff7);});},_0xa1f3ca*0x2);this[_0x16dcc2(0x2e3)][_0x16dcc2(0x115)](_0x18fff7,_0x1bafbd);}['_removeClearOtherTimer'](_0x36dca8){const _0x4bee6c=_0x3142a3;if(this[_0x4bee6c(0x2e3)][_0x4bee6c(0x189)](_0x36dca8)){const _0x5b05cb=this[_0x4bee6c(0x2e3)][_0x4bee6c(0x2ae)](_0x36dca8);_0x5b05cb&&window[_0x4bee6c(0x188)](_0x5b05cb),this[_0x4bee6c(0x2e3)]['set'](_0x36dca8,null);}}[_0x3142a3(0x1fc)](_0x5dbae2){const _0x391a68=_0x3142a3,{memberID:_0x52c5a8,unitIDs:_0x11f993}=_0x5dbae2;_0x11f993[_0x391a68(0x181)](_0x25bd28=>{const _0x5c0be6=_0x391a68;var _0x563143;const _0x3029a7=this[_0x5c0be6(0x1c7)]['get'](_0x25bd28);_0x3029a7&&(_0x3029a7['delete'](_0x52c5a8),(_0x563143=this[_0x5c0be6(0xd8)](_0x25bd28))==null||_0x563143[_0x5c0be6(0x19c)](_0x3029a7[_0x5c0be6(0x2b3)]===0x0?_0x563ec8[_0x5c0be6(0x211)][_0x5c0be6(0x2c0)]:_0x563ec8[_0x5c0be6(0x211)]['OTHER_CLIENTS_EDITING']));}),this[_0x391a68(0xb5)](_0x52c5a8);}[_0x3142a3(0x1bd)](_0x1340c2){const _0x10f893=_0x3142a3;this[_0x10f893(0x2a0)](_0x1340c2[_0x10f893(0x166)]);}[_0x3142a3(0xbe)](_0x4c4c88){const _0x273abf=_0x3142a3;localStorage['setItem'](_0x20ab38,JSON[_0x273abf(0x203)](_0x4c4c88));}[_0x3142a3(0x2e8)](){const _0x4e5aa6=_0x3142a3;this[_0x4e5aa6(0x1ea)]=window['setInterval'](()=>{const _0x32905a=_0x4e5aa6;this[_0x32905a(0xbe)]({'type':0x2,'memberID':this[_0x32905a(0x288)]});},_0xa1f3ca);}['_ensureSubject'](_0x8832e6){const _0x5d24f7=_0x3142a3;return this[_0x5d24f7(0x1cf)][_0x5d24f7(0x189)](_0x8832e6)||this[_0x5d24f7(0x1cf)]['set'](_0x8832e6,new _0x45f1ec['BehaviorSubject'](_0x563ec8['UnitStatus'][_0x5d24f7(0x2c0)])),this['_unitStatus']['get'](_0x8832e6);}}var _0x3b379f=(_0x150a18=>(_0x150a18[_0x150a18['UNDEFINED']=0x0]=_0x3142a3(0x2f1),_0x150a18[_0x150a18['OK']=0x1]='OK',_0x150a18[_0x150a18[_0x3142a3(0x161)]=0x2]=_0x3142a3(0x161),_0x150a18[_0x150a18[_0x3142a3(0x179)]=0x3]=_0x3142a3(0x179),_0x150a18[_0x150a18[_0x3142a3(0x2e1)]=0x4]=_0x3142a3(0x2e1),_0x150a18[_0x150a18['UNAUTHENTICATED']=0x5]=_0x3142a3(0x221),_0x150a18[_0x150a18[_0x3142a3(0x131)]=0x6]='ALREADY_EXISTS',_0x150a18[_0x150a18[_0x3142a3(0x29e)]=0x7]=_0x3142a3(0x29e),_0x150a18[_0x150a18[_0x3142a3(0x2f6)]=0x8]='TOO_MANY_REQUESTS',_0x150a18[_0x150a18['COMPLETION_FINISHED']=0x9]=_0x3142a3(0x2b5),_0x150a18[_0x150a18[_0x3142a3(0x2f4)]=0xa]=_0x3142a3(0x2f4),_0x150a18[_0x150a18[_0x3142a3(0x274)]=0xb]=_0x3142a3(0x274),_0x150a18[_0x150a18[_0x3142a3(0x305)]=0xc]=_0x3142a3(0x305),_0x150a18[_0x150a18[_0x3142a3(0x31c)]=0xd]=_0x3142a3(0x31c),_0x150a18[_0x150a18[_0x3142a3(0x307)]=0xe]=_0x3142a3(0x307),_0x150a18[_0x150a18[_0x3142a3(0x2c6)]=0x1389]=_0x3142a3(0x2c6),_0x150a18[_0x150a18[_0x3142a3(0x2a9)]=0x1771]=_0x3142a3(0x2a9),_0x150a18[_0x150a18[_0x3142a3(0x260)]=0x1772]=_0x3142a3(0x260),_0x150a18[_0x150a18['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3142a3(0x185),_0x150a18[_0x150a18[_0x3142a3(0x27e)]=0x1b59]=_0x3142a3(0x27e),_0x150a18[_0x150a18[_0x3142a3(0x12f)]=0x1b5a]=_0x3142a3(0x12f),_0x150a18[_0x150a18[_0x3142a3(0x2a3)]=0x1b5b]=_0x3142a3(0x2a3),_0x150a18[_0x150a18['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x3142a3(0x140),_0x150a18[_0x150a18['APPLY_DUPLICATED']=0x1b5d]=_0x3142a3(0x2ac),_0x150a18[_0x150a18[_0x3142a3(0x1a1)]=0x1f41]=_0x3142a3(0x1a1),_0x150a18[_0x150a18[_0x3142a3(0x287)]=0x2329]=_0x3142a3(0x287),_0x150a18[_0x150a18[_0x3142a3(0x1ae)]=0x232a]=_0x3142a3(0x1ae),_0x150a18[_0x150a18['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3142a3(0xfc),_0x150a18[_0x150a18['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3142a3(0x2a7),_0x150a18[_0x150a18[_0x3142a3(0x272)]=0x232d]=_0x3142a3(0x272),_0x150a18[_0x150a18[_0x3142a3(0x198)]=0x2711]=_0x3142a3(0x198),_0x150a18[_0x150a18[_0x3142a3(0x152)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x150a18[_0x150a18[_0x3142a3(0x19a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x150a18[_0x150a18[_0x3142a3(0x1aa)]=0x2714]=_0x3142a3(0x1aa),_0x150a18[_0x150a18[_0x3142a3(0x345)]=0x271a]=_0x3142a3(0x345),_0x150a18[_0x150a18[_0x3142a3(0x180)]=0x271b]=_0x3142a3(0x180),_0x150a18[_0x150a18[_0x3142a3(0x202)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x150a18[_0x150a18[_0x3142a3(0xfb)]=0x271d]=_0x3142a3(0xfb),_0x150a18[_0x150a18['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x150a18[_0x150a18['YUUMI_AI_RUN_FAILED']=0x271f]=_0x3142a3(0x10f),_0x150a18[_0x150a18[_0x3142a3(0x2e7)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x150a18[_0x150a18[_0x3142a3(0x1ef)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x150a18[_0x150a18[_0x3142a3(0x1b0)]=0x2ee1]=_0x3142a3(0x1b0),_0x150a18[_0x150a18[_0x3142a3(0x24d)]=0x2ee2]=_0x3142a3(0x24d),_0x150a18[_0x150a18[_0x3142a3(0x2e9)]=0x2ee3]=_0x3142a3(0x2e9),_0x150a18[_0x150a18[_0x3142a3(0x1e1)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x150a18[_0x150a18[_0x3142a3(0x2d2)]=0x2ee5]=_0x3142a3(0x2d2),_0x150a18[_0x150a18[_0x3142a3(0x217)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x150a18[_0x150a18['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3142a3(0x34d),_0x150a18[_0x150a18[_0x3142a3(0x257)]=0x32cb]=_0x3142a3(0x257),_0x150a18[_0x150a18[_0x3142a3(0x107)]=-0x1]='UNRECOGNIZED',_0x150a18))(_0x3b379f||{}),_0x38fa50=Object['getOwnPropertyDescriptor'],_0x3595a3=(_0x3e2f8d,_0x5d386c,_0x2e8394,_0x184600)=>{const _0x3e213d=_0x3142a3;for(var _0xc686a0=_0x184600>0x1?void 0x0:_0x184600?_0x38fa50(_0x5d386c,_0x2e8394):_0x5d386c,_0x1c93d0=_0x3e2f8d[_0x3e213d(0x29a)]-0x1,_0x219f80;_0x1c93d0>=0x0;_0x1c93d0--)(_0x219f80=_0x3e2f8d[_0x1c93d0])&&(_0xc686a0=_0x219f80(_0xc686a0)||_0xc686a0);return _0xc686a0;},_0x254694=(_0x4e7197,_0x826e25)=>(_0x222f8b,_0x20d28f)=>_0x826e25(_0x222f8b,_0x20d28f,_0x4e7197);_0x2a1a14[_0x3142a3(0x301)]=class extends _0x2869e3[_0x3142a3(0x21c)]{constructor(_0x1fc274,_0xd88ea4,_0x45b745){const _0x1c79ad=_0x3142a3;super(),this[_0x1c79ad(0x155)]=_0x1fc274,this[_0x1c79ad(0x2fa)]=_0xd88ea4,this['_configService']=_0x45b745;}async[_0x3142a3(0x277)](_0x3c98b7,_0x467e3f,_0x17e308,..._0x3ed13b){const _0x29cc9a=_0x3142a3;var _0x48b8e6,_0x2ed3f8,_0x52aa3a,_0x28275b;const _0x31a7ce=this[_0x29cc9a(0x155)][_0x29cc9a(0x138)]();if(!_0x31a7ce)throw new Error(_0x29cc9a(0x30a));const _0x20d7aa=((_0x48b8e6=this[_0x29cc9a(0x297)]['getConfig'](_0x563ec8[_0x29cc9a(0x1a8)]))!=null?_0x48b8e6:_0x563ec8['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x3c98b7+'/run/'+_0x467e3f,_0x40544b=new URL(window[_0x29cc9a(0x14e)][_0x29cc9a(0x2e5)]),_0x324770={'scriptId':_0x3c98b7,'runId':(_0x2ed3f8=_0x40544b[_0x29cc9a(0x158)]['get'](_0x29cc9a(0x2e6)))!=null?_0x2ed3f8:'','function':_0x467e3f,'unitId':_0x31a7ce[_0x29cc9a(0xde)](),'argsOfFunction':JSON[_0x29cc9a(0x203)](_0x3ed13b),'invokeId':(_0x52aa3a=_0x17e308[_0x29cc9a(0x1d8)])!=null?_0x52aa3a:'','executionId':(_0x28275b=_0x17e308[_0x29cc9a(0x1bf)])!=null?_0x28275b:''};try{const _0x45d282=await this[_0x29cc9a(0x2fa)][_0x29cc9a(0x338)](_0x20d7aa,{'body':_0x324770});return _0x45d282[_0x29cc9a(0x17f)]['error']&&_0x45d282['body'][_0x29cc9a(0x1be)][_0x29cc9a(0x261)]!==_0x3b379f['OK']?_0x29cc9a(0x32c):_0x45d282[_0x29cc9a(0x17f)][_0x29cc9a(0x1ce)];}catch{return _0x29cc9a(0x32c);}}},_0x2a1a14[_0x3142a3(0x301)]=_0x3595a3([_0x254694(0x0,_0x2869e3[_0x3142a3(0xb6)]),_0x254694(0x1,_0x2869e3['Inject'](_0x5a5573['HTTPService'])),_0x254694(0x2,_0x2869e3[_0x3142a3(0x2a6)])],_0x2a1a14[_0x3142a3(0x301)]),_0x2a1a14[_0x3142a3(0x233)]=_0x598439,_0x2a1a14[_0x3142a3(0xd1)]=_0xc4d707,_0x2a1a14[_0x3142a3(0x2c8)]=_0x330688,_0x2a1a14[_0x3142a3(0x2d5)]=_0x253653,_0x2a1a14[_0x3142a3(0x227)]=_0x589733,Object[_0x3142a3(0x2f0)](_0x2a1a14,Symbol[_0x3142a3(0x25b)],{'value':_0x3142a3(0x2e2)});}));
1
+ function _0x52cb(){const _0x135df2=['useDependency','width','MUTATION','Unknown\x20user','AWAITING','_docStateChangeManagerService','textRanges','UniverCore','_dataLoaderService','M0\x200H16V16H0z','_setupSubUnitSync','_unitOnClients','saveImage','YUUMI_ALL_TABLES_IS_INVALID','_handleLeaveEvent','_session','getUnitId','MemberService','@univerjs/rpc','_cursor','off-line-icon_clip0_910_343','_startDocCollabCursor','LICENSE_MAX_UNITS_EXCEEDED','Module','_setupBeforeClosingHandler','collaboration-client-ui.config','fillRule','_beforeCloseService','APPLY_PERMISSION_DENIED','getParam','UnitStatus','getVpScrollXYInfoByPosToVp','toDisposable','handleInsertRangeMoveRight','tag','rxjs/operators','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','_anchorDot','parse','Rectangle','hide','_colorIndex','_docSkeletonManagerService','_transformUndoRedoStack','_cursorShapes','CollaborationController','RefRangeService','InsertRangeMoveDownCommandId','setInterval','UniverCollaborationClientUIPlugin','SheetsSelectionsService','getFocusedUnit','PERMISSION_DENIED','red.300','saveOfflineData','_collabSessionService','_selfUnitIDs','_clearOtherTimers','getLocalCacheKey','getSkeleton','_commandService','isTransformMutationsWithChangesetSuccess','_getMergeRange','subscribe','_docTransformStateCacheService','EMAIL_HAS_BEEN_BOUND','_syncEditingCollabCursorService','generateRandomId','skeleton','_updateURLWithCurrentState','WebSocketService','apply','227524DkLmUH','_onRefRangeChange','RegularPolygon','clipPath','setAlpha','getColor','transformSelections','transformIMECache','univer-mr-2\x20univer-flex\x20univer-text-xl','getCollabCursors$','_transformService','deserializeRangeWithSheet','endColumn','push','CollaborationSessionService','INTERNAL_ERROR','row','resize','colorChannel1','saveTaskMap','LICENSE_DISTRO_REJECTED','use','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_entityInit$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','distinctUntilChanged','getTypeOfUnitDisposed$','UniverSheetsUi','650570OqNUkK','COMPLETION_FINISHED','@univerjs/docs-ui','concat','InsertColCommandId','storage','DataLoaderService','_backgroundColor','LICENSE_EXPORT_SIZE_EXCEEDED','forEach','onTransformChange$','engine','React','handleDeleteRangeMoveLeft','CollaborationUIEventService','replaceDocRanges','CollaborationStatusDisplay','_initStatusListener','height','then','MOBILE_HAS_BEEN_BOUND','getCurrentRevOfUnit','getItem','ITransformService','_scheduleClearOtherTimer','path','filter','unshift','onMouseMove','beginPath','Subject','set','_collabCursorState$','selection','_injector','combineLatest','UniverRpc','pipe','name','fillStyle','_hovered','string','setParam','serializeRangeWithSheet','permission.content','getTypeOfUnitAdded$','_getAnchorBounding','debounceTime','setActiveRange','lineTo','addEventListener','_messageService','RemoveRowCommandId','@univerjs/drawing','collabStatus.syncing','SNAPSHOT_HAS_BEEN_REMOVED','runId','DocSkeletonManagerService','_shapes','react/jsx-runtime','handleInsertRangeMoveDown','_hover','replaceState','subunit','/run/','UniverIcon','find','@univerjs/sheets-ui','syncEditingCollabCursor','black','_cursors','next','sessionStatus$','connectInjector','indexOf','onCommandExecuted','eventID','IRemoteInstanceService','WebBrowserSingleActiveUnitService','history','SheetCollabCursorShape','result','addObjects','getOwnPropertyDescriptor','addObject','USER_NOT_INVITED_CODE','error','_status$','range','_updateCollabCursors','Vector2','@univerjs/engine-formula','UniverDesign','none','Shape','children','UniverDocsUi','getActiveRange','_handleEvent','transformRemoteChangeset','disableLocalCache','top','getUnitStatus$','getActiveSheet','SheetSkeletonManagerService','_cachedData','getCurrent','text','1em','_getScale','_anchor','HEADER_MENU','UNRECOGNIZED','PENDING','makeDirty','_colorAssignService','_textBubble','disposeWithMe','DeleteRangeMoveUpCommandId','jsxs','_localeService','APPLY_REJECT','DOC_RANGE_TYPE','focused$','flatMap','onPointerEnter$','OFFLINE','YUUMI_ASYNCIO_CANCELLED','...','Plugin','transformMutationsWithChangeset','LOCAL_CACHE_INTERVAL_KEY','_docSyncEditingCollabCursorService','SYNCED','actions','_ensureSubject','_labelPosition','searchParams','getAncestorScale','isTransformMutationFailure','activeSheet$','_drawAnchor','getOffsetConfig','includes','mask','m2Prime','0\x200\x2016\x2016','CollaborationSocketService','substring','onLocalMutation','blue.400','from','collab-text-range-','_cursorInfo$','_online','getColorFromTheme','unload','entityInit$','arc','_saveCache','m1Prime','CollaborationDataLoaderController','_localStorageService','createIdentifier','propertyIsEnumerable','InsertRangeMoveRightCommandId','drawWith','SetTextSelectionsOperation','getSheetBySheetId','handleMoveRange','_handleHover','getUnhiddenWorksheets','ColorKit','UniverDocs','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','transformMutation','_collabCursorController','_onCursorUpdate','_draw','cursorInfo$','replace','call','Disposable','createInstance','urlChange$','data','_entities','roomMembers','BehaviorSubject','assignAColorForMemberID','Warning','ICommandService','_doCreateSocket','DocSelectionManagerService','onPointerMove$','idSuffix','UniverProCollaboration','_context','_univerInstanceService','_handleJoinEvent','setItem','handleDeleteRangeMoveUp','_range','clearInterval','registerBeforeClose','_refreshCollabCursors','_docClipboardService','19962uhiAcm','jsx','registerRenderModule','ALREADY_EXISTS','handleIRemoveRow','_lastPointer','_sheetSkeletonManagerService','_memberService','currentTheme$','_eventUnsubscribe','with','split','on-line-icon_clip0_910_349','clearTimeout','dispose$','font','createElement','registerRefRange','setTimeout','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','SOCKET_FAILED_RETRY','TEXT_RANGE_LAYER_INDEX','getStateCache','RemoteUniscriptService','EMAIL_VERIFY_CODE_MISMATCH','_themeService','add','TEXT','NOT_FOUND','fromEvent','ILogService','Tools','react','isArray','hasOwnProperty','startsWith','map','xlink:href','_color','Error','UniverDrawing','YUUMI_NO_CUBOID_FOR_QUESTION','session.connection-failed','getDocRanges','defineProperty','toString','startRow','_init','unsubscribe','@univerjs/engine-render','_transformHistoryAndStateStack','all','getMemberID','YUUMI_URL_COL_OUT_OF_RANGE','CONFLICT','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_getSaveTimeout','LocaleService','getOwnPropertySymbols','displayName','_updateLocalCursor','getSheetId','_initEvent','delete','MOBILE_VERIFY_CODE_MISMATCH','Injector','deepClone','_heartbeatTimer','size','pushState','takeUntil','entries','show','values','subUnitId','CollaborationStatus','_logService','_imageIoService','INVITE_CODE_HAS_BEEN_UES','CLOSE_ROOM','getRenderById','className','_toggleOffline','white','_saveTaskMap','translate(.97)','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DesktopCollaborationStatusDisplayController','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','purple.300','event$','addClipboardHook','key','@univerjs-pro/collaboration-client','whenReady','unitId','@univerjs/docs','override','getCellPositionByOffset','has','collaboration.single-unit.warning','_unitStatus','LOCAL_CACHE_INTERVAL','CollaborationEvent','UniverCollaborationClientPlugin','DocIMEInputManagerService','roomMembers$','UniverUi','[CollaborationDataLoaderController]','OTHER_CLIENT_EDITING','post','BrowserCollaborationSocketService','UniverInstanceType','getSheetObject','_roomMembers$','_scheduleSaving','backgroundColor','defIds','_startSheetCollabCursor','FETCH_MISS','DisposableCollection','IMessageService','shareReplay','VIEW_MAIN','SHEET_VIEWPORT_KEY','extend','invokeId','_name','ISnapshotServerService','fromEventSubject','measureText','transform','_localCacheService','getCollabEntity$','_toggleOnline','currentColor','getConfig','_updateSubUnitFromURLParams','DocCollaborationEntity','INVALID_ARGUMENT','div','@univerjs/core','CONNECTOR_DATA_TOO_LARGE','fill','NodePositionConvertToRectRange','column','setShapeProps','LICENSE_IMPORT_SIZE_EXCEEDED','stringify','NOT_COLLAB','color','clsx','body','_onCursorDelete','mutations','Optional','Failed','sheetId','32VunAWg','prototype','handleIRemoveCol','get','svg','YUUMI_RATE_OVER_LIMIT','setConfig','loadUnit','init','MessageType','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','385WdMfEQ','PY_RUNTIME_SCRIPT_ERROR','search','Workbook','pluginName','wsSessionTicketUrl','labelPosition','defs','CHANGESET_REVISION_CONFILICT','_instanceService','UNAUTHENTICATED','setUndoRedoMutationParamsCache','location','DependentOn','_assignedColors','UPDATE_CURSOR','length','assign','SetWorksheetActivateCommand','CollaborationUIEventId','RECT','RemoveColCommandId','_httpService','getValue','_getSheetObject','UniverProCollaborationClientUi','SessionStatus','ThemeService','ranges','IConfigService','DeleteRangeMoveLeftCommandId','collabStatus.offline','useCallback','ILocalStorageService','unit','OTHER_CLIENTS_EDITING','asObservable','@univerjs-pro/collaboration','updateOfflineData','random','_disabled','IURLService','0\x200\x2017\x2016','ILocalCacheService','4435232jSYIhd','@univerjs/network','_transformPreviousActiveRange','fillText','runRefRangeMutations','complete','min','TRANSFORM_CHANGE_OBSERVABLE_TYPE','reconnect','@univerjs/design','FromArray','@univerjs/ui','cursorInfo','WECHAT_HAS_BEEN_BOUND','_initCommandExecutedListener','AWAITING_WITH_PENDING','_hideTimer','ticket','8499YOvDfn','_config','IUniverInstanceService','4663170EYoJXl','url(#on-line-icon_clip0_910_349)','restore','rxjs','_notificationService','current','_drawTextRange','transformByState','IImageIoService','@univerjs/sheets','switchMap','getRangePointData','UniverNetwork','ONLINE','object','application/json','COLORS','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','toRgbString','IRenderManagerService','evenodd','popstate','trim','DocStateChangeManagerService','NO_OTHER_CLIENTS_EDITING','ENSURE_SNAPSHOT_EXECUTION','redoState','session.collaboration-timeout','_registerRenderDependencies','debounce','UNIVER_SHEET','_initStatusComponent','USERS_LEAVE','requireSession','enableLocalCache','INotificationService','send','RxDisposable','_initResize','closePath','CommandType','IDocClipboardService','bottom','subscribeEvent','_initDependencies','_send','http://www.w3.org/2000/svg','283790XAbXkl','_initEntityListener','TOO_MANY_REQUESTS','_renderManagerService','YUUMI_AI_RUN_FAILED','ACTIVE_UNIT_EVENT_CHANNEL','DEFAULT_WS_SESSION_TICKET_URL','icon','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','EffectRefRangId','_docTransformSelectionsService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collabStatus.synced','collabCursorState$','_docTransformIMECacheService','Inject','symbol','params','executeCommand','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','onStarting','moveTo','forwardRef','editingUnit','LOGIN_FAILED','_refRangeService','UNIVER_DOC','unitID','#FFF','throttleTime','collab-client.tooltip.reconnect','attrs','YUUMI_UNABLE_LOAD_URL','APPLY_DUPLICATED','APPLY_NON_SEQUENTIAL_REVISION','HTTPService','Rect','onRendered','findNodePositionByCharIndex','collaboration-client.offline-data-not-saved','JOIN_ROOM_FAILED','url(#$1','getMember','getCurrentSelections','exports','selections','hovered','_urlService','save','_scene','_handleHeartbeatEvent','onPointerLeave$','_removeCollabCursors','_collaborationController','on-line-icon','getCoordByCell','_collaborationUIEventService','SUBMIT_CHANGESET_TIMEOUT','_render','UNDEFINED','RichTextEditingMutation','getUniverSheetInstance','runOnServer','SetDocZoomRatioOperation','ISocketService','status$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_drawRectRange','_registerDependencies','exhaustSavingTask','transformStateCache','currentSkeleton$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_getSessionTicket','mapTo','_revisionService','type','getRelativeToViewportCoord','undoState','NodePositionConvertToCursor','function','memberID','OnLineIcon','doc.mutation.rich-text-editing','_configService','href','merge','INVITE_CODE_REQUIRED','dispose','_id','round','getUndoRedoMutationParamsCache'];_0x52cb=function(){return _0x135df2;};return _0x52cb();}function _0x1d1e(_0x172bed,_0x3e87ca){const _0x52cb2b=_0x52cb();return _0x1d1e=function(_0x1d1e73,_0x5d6fe1){_0x1d1e73=_0x1d1e73-0x1df;let _0x5535ff=_0x52cb2b[_0x1d1e73];return _0x5535ff;},_0x1d1e(_0x172bed,_0x3e87ca);}(function(_0x5a3b53,_0x309bb3){const _0x139fb0=_0x1d1e,_0x3e2abb=_0x5a3b53();while(!![]){try{const _0x2c5f84=-parseInt(_0x139fb0(0x2ec))/0x1+parseInt(_0x139fb0(0x248))/0x2+parseInt(_0x139fb0(0x216))/0x3*(parseInt(_0x139fb0(0x476))/0x4)+parseInt(_0x139fb0(0x308))/0x5+parseInt(_0x139fb0(0x3d7))/0x6*(parseInt(_0x139fb0(0x481))/0x7)+parseInt(_0x139fb0(0x204))/0x8+-parseInt(_0x139fb0(0x219))/0x9;if(_0x2c5f84===_0x309bb3)break;else _0x3e2abb['push'](_0x3e2abb['shift']());}catch(_0x51cc03){_0x3e2abb['push'](_0x3e2abb['shift']());}}}(_0x52cb,0x45ec8),function(_0x40a751,_0x4dba81){const _0x2f9706=_0x1d1e;typeof exports==_0x2f9706(0x227)&&typeof module<'u'?_0x4dba81(exports,require(_0x2f9706(0x435)),require(_0x2f9706(0x465)),require(_0x2f9706(0x409)),require(_0x2f9706(0x205)),require(_0x2f9706(0x30a)),require(_0x2f9706(0x33d)),require(_0x2f9706(0x21c)),require(_0x2f9706(0x1fd)),require(_0x2f9706(0x438)),require('@univerjs/engine-formula'),require(_0x2f9706(0x222)),require(_0x2f9706(0x2c7)),require(_0x2f9706(0x34b)),require(_0x2f9706(0x343)),require(_0x2f9706(0x20f)),require('@univerjs/design'),require(_0x2f9706(0x3f8)),require(_0x2f9706(0x2b6))):typeof define==_0x2f9706(0x298)&&define['amd']?define([_0x2f9706(0x274),'@univerjs-pro/collaboration-client',_0x2f9706(0x465),'@univerjs/engine-render','@univerjs/network',_0x2f9706(0x30a),_0x2f9706(0x33d),'rxjs',_0x2f9706(0x1fd),_0x2f9706(0x438),_0x2f9706(0x363),_0x2f9706(0x222),'rxjs/operators',_0x2f9706(0x34b),'react/jsx-runtime','@univerjs/ui',_0x2f9706(0x20d),_0x2f9706(0x3f8),_0x2f9706(0x2b6)],_0x4dba81):(_0x40a751=typeof globalThis<'u'?globalThis:_0x40a751||self,_0x4dba81(_0x40a751[_0x2f9706(0x1f1)]={},_0x40a751['UniverProCollaborationClient'],_0x40a751[_0x2f9706(0x2ab)],_0x40a751['UniverEngineRender'],_0x40a751[_0x2f9706(0x225)],_0x40a751[_0x2f9706(0x368)],_0x40a751[_0x2f9706(0x400)],_0x40a751[_0x2f9706(0x21c)],_0x40a751[_0x2f9706(0x3cc)],_0x40a751[_0x2f9706(0x3b5)],_0x40a751['UniverEngineFormula'],_0x40a751['UniverSheets'],_0x40a751[_0x2f9706(0x21c)]['operators'],_0x40a751[_0x2f9706(0x307)],_0x40a751['React'],_0x40a751[_0x2f9706(0x443)],_0x40a751[_0x2f9706(0x364)],_0x40a751[_0x2f9706(0x314)],_0x40a751[_0x2f9706(0x32c)]));}(this,function(_0xf30996,_0xbe53a0,_0x496d06,_0x8d3144,_0x4fda2f,_0x35faaf,_0x3fffd6,_0x1f84ca,_0xf2713c,_0x110776,_0x335ed1,_0x36ae62,_0x3a0eac,_0x4f6f98,_0xef77fd,_0x1ea881,_0x47fd52,_0xf931bd,_0x34c09a){'use strict';const _0x54cb3d=_0x1d1e;var _0x38de6b=Object[_0x54cb3d(0x404)],_0x1b10c2=(_0x339eac,_0x828887,_0x1a150e)=>_0x828887 in _0x339eac?_0x38de6b(_0x339eac,_0x828887,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a150e}):_0x339eac[_0x828887]=_0x1a150e,_0x3c80c3=(_0x36fb1d,_0x525c20,_0x4cd678)=>_0x1b10c2(_0x36fb1d,typeof _0x525c20!=_0x54cb3d(0x258)?_0x525c20+'':_0x525c20,_0x4cd678),_0x39f709=Object['getOwnPropertyDescriptor'],_0x308a0a=(_0x1a23d8,_0x34920a,_0x34cb30,_0x1799c5)=>{const _0x394841=_0x54cb3d;for(var _0x4bf16e=_0x1799c5>0x1?void 0x0:_0x1799c5?_0x39f709(_0x34920a,_0x34cb30):_0x34920a,_0x3e6c32=_0x1a23d8[_0x394841(0x1e8)]-0x1,_0xdc8882;_0x3e6c32>=0x0;_0x3e6c32--)(_0xdc8882=_0x1a23d8[_0x3e6c32])&&(_0x4bf16e=_0xdc8882(_0x4bf16e)||_0x4bf16e);return _0x4bf16e;},_0x10cd76=(_0x3f1091,_0x7fc73)=>(_0x7b7720,_0x557e13)=>_0x7fc73(_0x7b7720,_0x557e13,_0x3f1091);let _0x11f54a=class extends _0x496d06[_0x54cb3d(0x23e)]{constructor(_0x542c7d,_0x416d24){const _0x46d787=_0x54cb3d;super(),this[_0x46d787(0x3d6)]=_0x542c7d,this[_0x46d787(0x425)]=_0x416d24,this[_0x46d787(0x407)]();}[_0x54cb3d(0x407)](){const _0x35cc83=_0x54cb3d,_0x18d43e=this;this[_0x35cc83(0x37d)](this[_0x35cc83(0x3d6)][_0x35cc83(0x433)]({'onBeforePasteImage':async _0xccc4fd=>{const _0xd95b76=_0x35cc83,_0x596b7e=await _0x18d43e[_0xd95b76(0x425)][_0xd95b76(0x2b0)](_0xccc4fd);return _0x596b7e?{'source':_0x596b7e['source'],'imageSourceType':_0x596b7e['imageSourceType']}:null;}}));}};_0x11f54a=_0x308a0a([_0x10cd76(0x0,_0x35faaf[_0x54cb3d(0x242)]),_0x10cd76(0x1,_0x3fffd6[_0x54cb3d(0x221)])],_0x11f54a);const _0x36084c=[_0x54cb3d(0x431),'jiqing.500','green.600',_0x54cb3d(0x2d9),_0x54cb3d(0x39e),'yellow.400'];class _0x5cc4a9 extends _0x496d06[_0x54cb3d(0x3be)]{constructor(){const _0x2b244e=_0x54cb3d;super(...arguments),_0x3c80c3(this,_0x2b244e(0x1e6),new Map()),_0x3c80c3(this,_0x2b244e(0x2cd),0x0);}[_0x54cb3d(0x3c5)](_0x9c0e13){const _0x14d619=_0x54cb3d;if(this['_assignedColors'][_0x14d619(0x43b)](_0x9c0e13))return this[_0x14d619(0x1e6)][_0x14d619(0x479)](_0x9c0e13);const _0x655c59=_0x36084c[this[_0x14d619(0x2cd)]];return this['_colorIndex']=(this[_0x14d619(0x2cd)]+0x1)%_0x36084c[_0x14d619(0x1e8)],this[_0x14d619(0x1e6)][_0x14d619(0x327)](_0x9c0e13,_0x655c59),_0x655c59;}}function _0x383d67(_0xc521c3){const _0x1c3086=_0x54cb3d;let _0x28d440='';for(const _0x7b1cb5 of _0xc521c3){const {startOffset:_0x94466c,endOffset:_0x3c39d8,isActive:_0x2be762,rangeType:_0x2dc3b5,segmentId:_0x3edf43,segmentPage:_0x2a3499}=_0x7b1cb5;_0x28d440[_0x1c3086(0x1e8)]&&(_0x28d440+=','),_0x28d440+=_0x94466c+':'+_0x3c39d8+':'+(_0x2be762?'1':'0')+':'+_0x2dc3b5+':'+_0x3edf43+':'+_0x2a3499;}return _0x28d440;}function _0x299eba(_0x2372cd){const _0x2ed168=_0x54cb3d,_0xdb2f91=_0x2372cd[_0x2ed168(0x3e2)](','),_0x4bbb69=[];for(const _0x2bd9ab of _0xdb2f91){const [_0x562bb2,_0x29b335,_0x64a80e,_0x47b4d2,_0xf4881,_0xa68429]=_0x2bd9ab['split'](':');_0x4bbb69['push']({'startOffset':Number(_0x562bb2),'endOffset':Number(_0x29b335),'collapsed':_0x562bb2===_0x29b335,'isActive':_0x64a80e==='1','rangeType':_0x47b4d2===_0x496d06[_0x2ed168(0x382)][_0x2ed168(0x3f3)]?_0x496d06[_0x2ed168(0x382)]['TEXT']:_0x496d06[_0x2ed168(0x382)][_0x2ed168(0x1ec)],'segmentId':typeof _0xf4881==_0x2ed168(0x331)?String(_0xf4881):'','segmentPage':Number(_0xa68429!=null?_0xa68429:-0x1)});}return _0x4bbb69['some'](_0x21a0e5=>_0x21a0e5['isActive'])||(_0x4bbb69[0x0]['isActive']=!0x0),_0x4bbb69;}class _0x2d2ac7 extends _0x496d06['RxDisposable']{constructor(){const _0x51b1c9=_0x54cb3d;super(...arguments),_0x3c80c3(this,'_collabCursorState$',new _0x1f84ca['BehaviorSubject'](null)),_0x3c80c3(this,_0x51b1c9(0x255),this['_collabCursorState$'][_0x51b1c9(0x1fc)]());}[_0x54cb3d(0x34c)](_0x216b42){const _0x73fe3b=_0x54cb3d,{unitID:_0x4a4aeb,memberID:_0x8ea576,textRanges:_0xb7404}=_0x216b42,_0x2dc7ee=_0x383d67(_0xb7404);if(_0x2dc7ee==='')return;const _0x530b92={'unitID':_0x4a4aeb,'memberID':_0x8ea576,'selection':_0x2dc7ee};this[_0x73fe3b(0x328)][_0x73fe3b(0x34f)](_0x530b92);}}var _0xf754c4=Object['getOwnPropertyDescriptor'],_0x6e7426=(_0x11b0c6,_0x51f534,_0x45398a,_0x245196)=>{for(var _0x43e38e=_0x245196>0x1?void 0x0:_0x245196?_0xf754c4(_0x51f534,_0x45398a):_0x51f534,_0xab7430=_0x11b0c6['length']-0x1,_0x2db235;_0xab7430>=0x0;_0xab7430--)(_0x2db235=_0x11b0c6[_0xab7430])&&(_0x43e38e=_0x2db235(_0x43e38e)||_0x43e38e);return _0x43e38e;},_0x365682=(_0x67f324,_0xbe2aba)=>(_0x588b44,_0x16d5d0)=>_0xbe2aba(_0x588b44,_0x16d5d0,_0x67f324);const _0x2eaa1b=0x12c,_0x95802a=0x64;let _0x5f20d7=class extends _0x496d06[_0x54cb3d(0x23e)]{constructor(_0x57798a,_0x47627e,_0x205f8d,_0x51169a,_0x58d1ea,_0x2c2b37,_0x4559c5,_0xee2495,_0x1ba82e){const _0x5c61cb=_0x54cb3d;super(),_0x3c80c3(this,'_online',!0x1),_0x3c80c3(this,_0x5c61cb(0x407),!0x1),_0x3c80c3(this,_0x5c61cb(0x3a1),new _0x1f84ca[(_0x5c61cb(0x3c4))](new Map())),_0x3c80c3(this,_0x5c61cb(0x3bb),this[_0x5c61cb(0x3a1)][_0x5c61cb(0x1fc)]()),_0x3c80c3(this,_0x5c61cb(0x44a),new _0x1f84ca[(_0x5c61cb(0x3c4))]([])),_0x3c80c3(this,_0x5c61cb(0x442),this['_roomMembers$'][_0x5c61cb(0x32d)](_0x1f84ca['debounceTime'](_0x2eaa1b))),_0x3c80c3(this,'_updateLocalCursor',_0x496d06['debounce'](_0x14af46=>{const _0xfe0d5c=_0x5c61cb,_0x55d91c={'eventID':_0xf2713c[_0xfe0d5c(0x43f)][_0xfe0d5c(0x1e7)],'data':{'unitID':this[_0xfe0d5c(0x263)],'memberID':this['_session']['getMemberID'](),'selection':_0x383d67(_0x14af46)}};this['_session'][_0xfe0d5c(0x23d)](_0x55d91c,this['unitID']);},_0x95802a)),(this[_0x5c61cb(0x263)]=_0x57798a,this[_0x5c61cb(0x2b3)]=_0x47627e,this['_injector']=_0x205f8d,this[_0x5c61cb(0x37b)]=_0x51169a,this['_memberService']=_0x58d1ea,this[_0x5c61cb(0x2e6)]=_0x2c2b37,this[_0x5c61cb(0x2f6)]=_0x4559c5,this[_0x5c61cb(0x3ce)]=_0xee2495,this[_0x5c61cb(0x2e0)]=_0x1ba82e);}get['cursorInfo'](){const _0x588525=_0x54cb3d;return this[_0x588525(0x3a1)][_0x588525(0x1ef)]();}get[_0x54cb3d(0x3c3)](){const _0x2bab45=_0x54cb3d;return this[_0x2bab45(0x44a)][_0x2bab45(0x1ef)]();}[_0x54cb3d(0x2a0)](){const _0x2e8930=_0x54cb3d;super['dispose'](),this[_0x2e8930(0x3a1)][_0x2e8930(0x34f)](new Map()),this[_0x2e8930(0x3a1)][_0x2e8930(0x209)](),this[_0x2e8930(0x44a)][_0x2e8930(0x34f)]([]),this[_0x2e8930(0x44a)][_0x2e8930(0x209)]();}[_0x54cb3d(0x47e)](){const _0x169e20=_0x54cb3d;this[_0x169e20(0x407)]||(this['_init']=!0x0,this[_0x169e20(0x2b3)][_0x169e20(0x350)][_0x169e20(0x32d)](_0x1f84ca[_0x169e20(0x41e)](this[_0x169e20(0x3e5)]))[_0x169e20(0x2e3)](_0x48b97e=>{const _0x1e32f=_0x169e20;_0x48b97e===_0xbe53a0[_0x1e32f(0x1f2)][_0x1e32f(0x226)]?this[_0x1e32f(0x45e)]():this[_0x1e32f(0x42a)]();}),this['_session'][_0x169e20(0x432)][_0x169e20(0x32d)](_0x1f84ca['takeUntil'](this[_0x169e20(0x3e5)]))[_0x169e20(0x2e3)](_0x17f578=>{const _0x4d8adf=_0x169e20,_0x4ba0e9=_0x17f578[_0x4d8adf(0x354)];_0x4ba0e9===_0xf2713c[_0x4d8adf(0x43f)]['UPDATE_CURSOR']&&this[_0x4d8adf(0x3b9)](_0x17f578),_0x4ba0e9===_0xf2713c[_0x4d8adf(0x43f)]['USERS_LEAVE']&&this[_0x4d8adf(0x471)](_0x17f578);}),this[_0x169e20(0x37d)](this[_0x169e20(0x2e0)][_0x169e20(0x353)](_0x34b00b=>{const _0x2de2c7=_0x169e20,_0x57bac4=_0x34b00b['params'];_0x57bac4!=null&&this[_0x2de2c7(0x3a2)]&&_0x34b00b['id']===_0x110776[_0x2de2c7(0x3af)]['id']&&_0x57bac4[_0x2de2c7(0x437)]===this[_0x2de2c7(0x263)]&&_0x57bac4['isEditing']===!0x1&&_0x57bac4[_0x2de2c7(0x1f4)][_0x2de2c7(0x1e8)]>0x0&&this[_0x2de2c7(0x414)](_0x57bac4[_0x2de2c7(0x1f4)]);})),this[_0x169e20(0x2e6)][_0x169e20(0x255)]['pipe'](_0x1f84ca['takeUntil'](this[_0x169e20(0x3e5)]))[_0x169e20(0x2e3)](_0x388e23=>{const _0x47e67a=_0x169e20;if((_0x388e23==null?void 0x0:_0x388e23[_0x47e67a(0x263)])!==this[_0x47e67a(0x263)])return;const _0x558f63={'eventID':_0xf2713c[_0x47e67a(0x43f)]['UPDATE_CURSOR'],'data':_0x388e23};this[_0x47e67a(0x3b9)](_0x558f63);}),this['disposeWithMe'](this[_0x169e20(0x2e0)][_0x169e20(0x353)](_0x3a9b64=>{const _0x572dfa=_0x169e20;if(_0x3a9b64[_0x572dfa(0x259)]==null)return;const _0x302021=_0x3a9b64[_0x572dfa(0x259)];if(_0x3a9b64['id']!==_0x110776[_0x572dfa(0x284)]['id']||_0x302021[_0x572dfa(0x437)]!==this[_0x572dfa(0x263)])return;const _0x1cba11={'id':_0x572dfa(0x29b),'params':_0x302021},_0x2047ff=this['cursorInfo'];for(const [_0x2cce88,_0x4b602e]of _0x2047ff){const _0x5d2991={'id':_0x572dfa(0x29b),'params':{'unitId':this[_0x572dfa(0x263)],'actions':null,'textRanges':_0x4b602e[_0x572dfa(0x1f4)]}},_0x458232=this[_0x572dfa(0x2f6)][_0x572dfa(0x3b7)](_0x1cba11,_0x5d2991,!0x1);if(_0xf2713c['isTransformMutationFailure'](_0x458232))throw _0x458232[_0x572dfa(0x35e)];_0x2047ff[_0x572dfa(0x327)](_0x2cce88,{..._0x4b602e,'ranges':_0x458232[_0x572dfa(0x399)][_0x572dfa(0x259)][_0x572dfa(0x2aa)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x2047ff);});})));}[_0x54cb3d(0x3b9)](_0x5509d3){const _0x4a9bdb=_0x54cb3d;var _0x3b3a43,_0x42d0b6;const {memberID:_0x2f1f83,selection:_0x230b4c}=_0x5509d3['data'],_0x1ecdcc=_0x299eba(_0x230b4c),_0x210782=(_0x42d0b6=(_0x3b3a43=this[_0x4a9bdb(0x3de)]['getMember'](this[_0x4a9bdb(0x263)],_0x2f1f83))==null?void 0x0:_0x3b3a43[_0x4a9bdb(0x32e)])!=null?_0x42d0b6:_0x4a9bdb(0x2a7),_0x356afd={'color':this[_0x4a9bdb(0x37b)][_0x4a9bdb(0x3c5)](_0x2f1f83),'name':_0x210782,'ranges':_0x1ecdcc},_0x119993=this['cursorInfo'];_0x119993[_0x4a9bdb(0x327)](_0x2f1f83,_0x356afd),this[_0x4a9bdb(0x3a1)][_0x4a9bdb(0x34f)](_0x119993);}[_0x54cb3d(0x471)](_0x3f2c5d){const _0x295bc1=_0x54cb3d,{memberID:_0x53a889}=_0x3f2c5d[_0x295bc1(0x3c1)],_0x2a2e28=this[_0x295bc1(0x210)];_0x2a2e28['delete'](_0x53a889),this[_0x295bc1(0x3a1)][_0x295bc1(0x34f)](_0x2a2e28);}[_0x54cb3d(0x45e)](){const _0x173b32=_0x54cb3d;var _0x1b7ace;if(this[_0x173b32(0x3a2)]=!0x0,((_0x1b7ace=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1b7ace['getUnitId']())!==this[_0x173b32(0x263)])return;const _0x1f4035=this['_injector'][_0x173b32(0x479)](_0x110776[_0x173b32(0x3c9)])[_0x173b32(0x403)]();Array['isArray'](_0x1f4035)&&_0x1f4035[_0x173b32(0x1e8)]>0x0&&this[_0x173b32(0x414)](_0x1f4035);}[_0x54cb3d(0x42a)](){const _0x4e0f21=_0x54cb3d;this[_0x4e0f21(0x3a2)]=!0x1;}};_0x5f20d7=_0x6e7426([_0x365682(0x2,_0x496d06[_0x54cb3d(0x257)](_0x496d06[_0x54cb3d(0x419)])),_0x365682(0x3,_0x496d06['Inject'](_0x5cc4a9)),_0x365682(0x4,_0x496d06[_0x54cb3d(0x257)](_0xbe53a0[_0x54cb3d(0x2b5)])),_0x365682(0x5,_0x496d06[_0x54cb3d(0x257)](_0x2d2ac7)),_0x365682(0x6,_0xf2713c['ITransformService']),_0x365682(0x7,_0x496d06['IUniverInstanceService']),_0x365682(0x8,_0x496d06[_0x54cb3d(0x3c7)])],_0x5f20d7);var _0x613c7a=Object['getOwnPropertyDescriptor'],_0x135eb2=(_0x3e2485,_0x280365,_0xfb4068,_0x3d121d)=>{const _0x3d998e=_0x54cb3d;for(var _0x542805=_0x3d121d>0x1?void 0x0:_0x3d121d?_0x613c7a(_0x280365,_0xfb4068):_0x280365,_0x186815=_0x3e2485[_0x3d998e(0x1e8)]-0x1,_0x1fee55;_0x186815>=0x0;_0x186815--)(_0x1fee55=_0x3e2485[_0x186815])&&(_0x542805=_0x1fee55(_0x542805)||_0x542805);return _0x542805;},_0x5b2eed=(_0x168605,_0x2e0190)=>(_0x201e93,_0x2af344)=>_0x2e0190(_0x201e93,_0x2af344,_0x168605);const _0x21c6e0=0x12c,_0x447042=0x64,_0x12e228=()=>{let _0x3d54d6=[],_0x371c4a=!0x1;return _0x2a6d34=>{_0x3d54d6['push'](_0x2a6d34),_0x371c4a||(_0x371c4a=!0x0,setTimeout(()=>{const _0x5a5167=_0x1d1e;_0x3d54d6[_0x5a5167(0x311)](_0x25d848=>_0x25d848()),_0x3d54d6=[],_0x371c4a=!0x1;}));};};let _0x5e62e7=class extends _0x496d06[_0x54cb3d(0x23e)]{constructor(_0x2ef8e8,_0x34bc19,_0x23785a,_0x4007b1,_0x5bb853,_0x29b140,_0x382705,_0x4a1caa){const _0x4fed09=_0x54cb3d;super(),_0x3c80c3(this,_0x4fed09(0x3a2),!0x1),_0x3c80c3(this,_0x4fed09(0x407),!0x1),_0x3c80c3(this,_0x4fed09(0x3a1),new _0x1f84ca['BehaviorSubject'](new Map())),_0x3c80c3(this,_0x4fed09(0x3bb),this[_0x4fed09(0x3a1)][_0x4fed09(0x1fc)]()),_0x3c80c3(this,_0x4fed09(0x44a),new _0x1f84ca['BehaviorSubject']([])),_0x3c80c3(this,_0x4fed09(0x442),this[_0x4fed09(0x44a)][_0x4fed09(0x32d)](_0x1f84ca[_0x4fed09(0x337)](_0x21c6e0))),_0x3c80c3(this,_0x4fed09(0x414),_0x496d06[_0x4fed09(0x236)]((_0x120184,_0x30d4b7)=>{const _0x461776=_0x4fed09,_0x29e58f={'eventID':_0xf2713c[_0x461776(0x43f)][_0x461776(0x1e7)],'data':{'unitID':this[_0x461776(0x263)],'memberID':this[_0x461776(0x2b3)][_0x461776(0x40c)](),'selection':_0x335ed1[_0x461776(0x333)](_0x120184,_0x30d4b7[_0x461776(0x360)])}};this[_0x461776(0x2b3)]['send'](_0x29e58f,this[_0x461776(0x263)]);},_0x447042)),(this[_0x4fed09(0x263)]=_0x2ef8e8,this[_0x4fed09(0x2b3)]=_0x34bc19,this[_0x4fed09(0x32a)]=_0x23785a,this['_colorAssignService']=_0x4007b1,this['_memberService']=_0x5bb853,this['_univerInstanceService']=_0x29b140,this[_0x4fed09(0x2e0)]=_0x382705,this[_0x4fed09(0x261)]=_0x4a1caa);}get[_0x54cb3d(0x210)](){const _0x5f47fc=_0x54cb3d;return this[_0x5f47fc(0x3a1)][_0x5f47fc(0x1ef)]();}get[_0x54cb3d(0x3c3)](){const _0x51dc78=_0x54cb3d;return this['_roomMembers$'][_0x51dc78(0x1ef)]();}[_0x54cb3d(0x2a0)](){const _0x10d391=_0x54cb3d;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x10d391(0x3a1)][_0x10d391(0x209)](),this[_0x10d391(0x44a)]['next']([]),this[_0x10d391(0x44a)]['complete']();}['init'](){const _0x12a4ce=_0x54cb3d;this[_0x12a4ce(0x407)]||(this[_0x12a4ce(0x407)]=!0x0,this[_0x12a4ce(0x2b3)]['sessionStatus$'][_0x12a4ce(0x32d)](_0x1f84ca[_0x12a4ce(0x41e)](this[_0x12a4ce(0x3e5)]))['subscribe'](_0x5d288c=>{const _0x4e7d7b=_0x12a4ce;_0x5d288c===_0xbe53a0[_0x4e7d7b(0x1f2)]['ONLINE']?this[_0x4e7d7b(0x45e)]():this['_toggleOffline']();}),this[_0x12a4ce(0x2b3)][_0x12a4ce(0x432)][_0x12a4ce(0x32d)](_0x1f84ca[_0x12a4ce(0x41e)](this['dispose$']))[_0x12a4ce(0x2e3)](_0x2222af=>{const _0x2f2bae=_0x12a4ce,_0xc7116b=_0x2222af[_0x2f2bae(0x354)];_0xc7116b===_0xf2713c[_0x2f2bae(0x43f)][_0x2f2bae(0x1e7)]&&this[_0x2f2bae(0x3b9)](_0x2222af),_0xc7116b===_0xf2713c[_0x2f2bae(0x43f)][_0x2f2bae(0x239)]&&this['_onCursorDelete'](_0x2222af);}),this[_0x12a4ce(0x2ed)](),this[_0x12a4ce(0x37d)](this[_0x12a4ce(0x2e0)]['onCommandExecuted'](_0x1f4458=>{const _0xe06331=_0x12a4ce;if(this[_0xe06331(0x3a2)]&&_0x1f4458['id']===_0x36ae62['SetSelectionsOperation']['id']&&_0x1f4458['params'][_0xe06331(0x437)]===this[_0xe06331(0x263)]){const _0x4b8867=_0x1f4458[_0xe06331(0x259)];this[_0xe06331(0x414)](_0x4b8867[_0xe06331(0x422)],_0x4b8867[_0xe06331(0x275)][0x0]);}})));}[_0x54cb3d(0x3b9)](_0x453bb7){const _0x59eb80=_0x54cb3d;var _0x5bca82,_0x2110c0;const {memberID:_0x4692ff,selection:_0x27d79c}=_0x453bb7[_0x59eb80(0x3c1)],{sheetName:_0xefc763,range:_0x4cb150}=_0x335ed1[_0x59eb80(0x2f7)](_0x27d79c),_0x1f9db5={'name':(_0x2110c0=(_0x5bca82=this[_0x59eb80(0x3de)][_0x59eb80(0x272)](this[_0x59eb80(0x263)],_0x4692ff))==null?void 0x0:_0x5bca82[_0x59eb80(0x32e)])!=null?_0x2110c0:_0x59eb80(0x2a7),'range':this[_0x59eb80(0x2e2)](_0xefc763,_0x4cb150),'sheetID':_0xefc763,'color':this[_0x59eb80(0x37b)][_0x59eb80(0x3c5)](_0x4692ff),'selection':_0x27d79c},_0xd6a21e=this['cursorInfo'];_0xd6a21e[_0x59eb80(0x327)](_0x4692ff,_0x1f9db5),this[_0x59eb80(0x3a1)][_0x59eb80(0x34f)](_0xd6a21e);}[_0x54cb3d(0x471)](_0x3d3475){const _0x46da29=_0x54cb3d,{memberID:_0x1232ed}=_0x3d3475[_0x46da29(0x3c1)],_0x1f377f=this[_0x46da29(0x210)];_0x1f377f[_0x46da29(0x417)](_0x1232ed),this[_0x46da29(0x3a1)]['next'](_0x1f377f);}['_getMergeRange'](_0x28a2d1,_0x26f8eb){const _0x314269=_0x54cb3d;var _0xf7a418,_0x3e6a6e;const _0x84f461=(_0x3e6a6e=(_0xf7a418=this[_0x314269(0x3ce)][_0x314269(0x285)](this[_0x314269(0x263)]))==null?void 0x0:_0xf7a418[_0x314269(0x3b0)](_0x28a2d1))==null?void 0x0:_0x3e6a6e['getMergeData']();return(_0x84f461==null?void 0x0:_0x84f461[_0x314269(0x34a)](_0x567799=>_0x496d06[_0x314269(0x2cb)]['contains'](_0x567799,_0x26f8eb)))||_0x26f8eb;}['_onRefRangeChange'](){const _0x1fdf95=_0x54cb3d,_0x4bdeaa=new _0x496d06[(_0x1fdf95(0x450))](),_0x579b84=_0x12e228(),_0x55378a=()=>{const _0x4b35f0=_0x1fdf95;_0x4bdeaa['dispose']();const _0x21cecf=(_0x1e5f2d,_0x4615bf,_0x2fe0b0,_0x3af67a)=>{const _0x2e98a6=_0x1d1e;let _0x441595=[];switch(_0x1e5f2d['id']){case _0x36ae62[_0x2e98a6(0x251)][_0x2e98a6(0x1f6)]:{_0x441595=_0x36ae62[_0x2e98a6(0x315)](_0x1e5f2d,_0x3af67a);break;}case _0x36ae62[_0x2e98a6(0x251)][_0x2e98a6(0x37e)]:{_0x441595=_0x36ae62[_0x2e98a6(0x3d1)](_0x1e5f2d,_0x3af67a);break;}case _0x36ae62[_0x2e98a6(0x251)][_0x2e98a6(0x30c)]:{_0x441595=_0x36ae62['handleInsertCol'](_0x1e5f2d,_0x3af67a);break;}case _0x36ae62[_0x2e98a6(0x251)][_0x2e98a6(0x2d3)]:{_0x441595=_0x36ae62[_0x2e98a6(0x344)](_0x1e5f2d,_0x3af67a);break;}case _0x36ae62[_0x2e98a6(0x251)][_0x2e98a6(0x3ad)]:{_0x441595=_0x36ae62[_0x2e98a6(0x2c5)](_0x1e5f2d,_0x3af67a);break;}case _0x36ae62[_0x2e98a6(0x251)]['InsertRowCommandId']:{_0x441595=_0x36ae62['handleInsertRow'](_0x1e5f2d,_0x3af67a);break;}case _0x36ae62['EffectRefRangId']['MoveRangeCommandId']:{_0x441595=_0x36ae62[_0x2e98a6(0x3b1)](_0x1e5f2d,_0x3af67a);break;}case _0x36ae62[_0x2e98a6(0x251)][_0x2e98a6(0x1ed)]:{_0x441595=_0x36ae62[_0x2e98a6(0x478)](_0x1e5f2d,_0x3af67a);break;}case _0x36ae62['EffectRefRangId'][_0x2e98a6(0x33c)]:{_0x441595=_0x36ae62[_0x2e98a6(0x3db)](_0x1e5f2d,_0x3af67a);break;}}const _0x374c37=_0x36ae62[_0x2e98a6(0x208)](_0x441595,_0x3af67a),_0x3d987a=this[_0x2e98a6(0x210)]['get'](_0x4615bf);if(_0x3d987a&&_0x374c37){const _0x38cedf={..._0x3d987a,'range':_0x374c37};this['cursorInfo'][_0x2e98a6(0x327)](_0x4615bf,_0x38cedf),_0x579b84(()=>{const _0x4cf046=_0x2e98a6,_0x28a0ac=this[_0x4cf046(0x261)]['registerRefRange'](_0x374c37,_0xa7f9a6=>(_0x28a0ac['dispose'](),_0x21cecf(_0xa7f9a6,_0x4615bf,_0x2fe0b0,_0x374c37)));_0x4bdeaa[_0x4cf046(0x3f2)](_0x28a0ac);});}return{'redos':[],'undos':[]};};this[_0x4b35f0(0x210)][_0x4b35f0(0x311)]((_0x25d972,_0x3ad742)=>{const _0x2e288d=_0x4b35f0,{range:_0x59a133,sheetID:_0x186ef5}=_0x25d972,_0x28babf=this[_0x2e288d(0x261)][_0x2e288d(0x3e8)](_0x59a133,_0x483d88=>(_0x28babf[_0x2e288d(0x2a0)](),_0x21cecf(_0x483d88,_0x3ad742,_0x186ef5,_0x59a133)));_0x4bdeaa[_0x2e288d(0x3f2)](_0x28babf);});};this[_0x1fdf95(0x37d)](_0x496d06[_0x1fdf95(0x2c4)](this[_0x1fdf95(0x3a1)]['subscribe'](()=>{_0x55378a();})));}['_toggleOnline'](){const _0x10ec98=_0x54cb3d;var _0x37ff4f,_0x388e9a;if(this['_online']=!0x0,((_0x37ff4f=this[_0x10ec98(0x3ce)]['getFocusedUnit']())==null?void 0x0:_0x37ff4f[_0x10ec98(0x2b4)]())!==this['unitID'])return;const _0x35d64a=(_0x388e9a=this['_injector']['get'](_0x36ae62[_0x10ec98(0x2d6)])[_0x10ec98(0x273)]())==null?void 0x0:_0x388e9a[0x0],_0x4b591c=this[_0x10ec98(0x3ce)]['getCurrentUnitForType'](_0x496d06['UniverInstanceType'][_0x10ec98(0x237)])['getActiveSheet']();_0x35d64a&&_0x4b591c&&this[_0x10ec98(0x414)](_0x4b591c[_0x10ec98(0x415)](),_0x35d64a);}[_0x54cb3d(0x42a)](){const _0x41a838=_0x54cb3d;this[_0x41a838(0x3a2)]=!0x1;}};_0x5e62e7=_0x135eb2([_0x5b2eed(0x2,_0x496d06[_0x54cb3d(0x257)](_0x496d06[_0x54cb3d(0x419)])),_0x5b2eed(0x3,_0x496d06[_0x54cb3d(0x257)](_0x5cc4a9)),_0x5b2eed(0x4,_0x496d06['Inject'](_0xbe53a0[_0x54cb3d(0x2b5)])),_0x5b2eed(0x5,_0x496d06[_0x54cb3d(0x218)]),_0x5b2eed(0x6,_0x496d06[_0x54cb3d(0x3c7)]),_0x5b2eed(0x7,_0x496d06[_0x54cb3d(0x257)](_0x36ae62[_0x54cb3d(0x2d2)]))],_0x5e62e7);var _0x130881=Object[_0x54cb3d(0x35b)],_0xea6de4=(_0x498aee,_0x2c5140,_0x4fbb43,_0x82fd99)=>{const _0x310163=_0x54cb3d;for(var _0x48df42=_0x82fd99>0x1?void 0x0:_0x82fd99?_0x130881(_0x2c5140,_0x4fbb43):_0x2c5140,_0x21cc58=_0x498aee[_0x310163(0x1e8)]-0x1,_0x4c0d7c;_0x21cc58>=0x0;_0x21cc58--)(_0x4c0d7c=_0x498aee[_0x21cc58])&&(_0x48df42=_0x4c0d7c(_0x48df42)||_0x48df42);return _0x48df42;},_0x38880b=(_0x5c3cc3,_0x3b7dff)=>(_0x1306e2,_0x223e5c)=>_0x3b7dff(_0x1306e2,_0x223e5c,_0x5c3cc3);let _0x96e5af=class extends _0x496d06[_0x54cb3d(0x23e)]{constructor(_0x269482,_0x9d4ffb,_0x524759){const _0x5acc54=_0x54cb3d;super(),_0x3c80c3(this,_0x5acc54(0x3c2),new Map()),_0x3c80c3(this,_0x5acc54(0x303),new _0x1f84ca[(_0x5acc54(0x326))]()),(this[_0x5acc54(0x3ce)]=_0x269482,this[_0x5acc54(0x32a)]=_0x9d4ffb,this[_0x5acc54(0x2db)]=_0x524759,this[_0x5acc54(0x407)]());}[_0x54cb3d(0x2a0)](){const _0x163033=_0x54cb3d;super[_0x163033(0x2a0)](),this[_0x163033(0x303)]['complete'](),this[_0x163033(0x3c2)][_0x163033(0x311)](_0x55ef85=>_0x55ef85[_0x163033(0x2a0)]());}['getCollabCursors$'](_0x5380b0){const _0x409467=_0x54cb3d;return this[_0x409467(0x3c2)][_0x409467(0x43b)](_0x5380b0)?this['_entities'][_0x409467(0x479)](_0x5380b0)[_0x409467(0x3bb)]:this['_entityInit$'][_0x409467(0x32d)](_0x1f84ca[_0x409467(0x322)](_0x2b4e51=>_0x2b4e51['unitID']===_0x5380b0),_0x1f84ca[_0x409467(0x223)](_0x284042=>_0x284042[_0x409467(0x3bb)]));}[_0x54cb3d(0x407)](){const _0x231bfc=_0x54cb3d;this['_univerInstanceService'][_0x231bfc(0x335)](_0x496d06[_0x231bfc(0x448)][_0x231bfc(0x237)])[_0x231bfc(0x32d)](_0x1f84ca[_0x231bfc(0x41e)](this[_0x231bfc(0x3e5)]))['subscribe'](async _0x43be2d=>{const _0x22fcec=_0x231bfc,_0x5655d4=_0x43be2d['getUnitId'](),_0x308a0f=await this[_0x22fcec(0x44e)](_0x5655d4);this[_0x22fcec(0x303)][_0x22fcec(0x34f)](_0x308a0f),this[_0x22fcec(0x3c2)][_0x22fcec(0x327)](_0x5655d4,_0x308a0f);}),this[_0x231bfc(0x3ce)][_0x231bfc(0x335)](_0x496d06[_0x231bfc(0x448)][_0x231bfc(0x262)])[_0x231bfc(0x32d)](_0x1f84ca[_0x231bfc(0x41e)](this[_0x231bfc(0x3e5)]))['pipe'](_0x1f84ca[_0x231bfc(0x322)](_0x455775=>!_0x455775['getUnitId']()[_0x231bfc(0x3fb)]('__')))['subscribe'](async _0xab355a=>{const _0x5d689c=_0x231bfc,_0x3df210=_0xab355a[_0x5d689c(0x2b4)](),_0x3e6376=await this[_0x5d689c(0x2b9)](_0x3df210);this['_entityInit$']['next'](_0x3e6376),this['_entities'][_0x5d689c(0x327)](_0x3df210,_0x3e6376);}),_0x1f84ca[_0x231bfc(0x29e)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x496d06[_0x231bfc(0x448)][_0x231bfc(0x262)]),this[_0x231bfc(0x3ce)][_0x231bfc(0x306)](_0x496d06['UniverInstanceType'][_0x231bfc(0x237)]))['pipe'](_0x1f84ca['takeUntil'](this['dispose$']))[_0x231bfc(0x2e3)](_0x3ffea9=>{const _0x247eb1=_0x231bfc,_0x54a7df=_0x3ffea9[_0x247eb1(0x2b4)](),_0x405dbf=this[_0x247eb1(0x3c2)][_0x247eb1(0x479)](_0x54a7df);_0x405dbf&&(_0x405dbf[_0x247eb1(0x2a0)](),this['_entities'][_0x247eb1(0x417)](_0x54a7df));});}async['_startSheetCollabCursor'](_0x212122){const _0x15c018=_0x54cb3d,_0x1ca685=await this[_0x15c018(0x2db)][_0x15c018(0x23a)](_0x212122),_0xcb2a51=this[_0x15c018(0x32a)][_0x15c018(0x3bf)](_0x5e62e7,_0x212122,_0x1ca685);return _0xcb2a51['init'](),_0xcb2a51;}async[_0x54cb3d(0x2b9)](_0x5dbce4){const _0x4a345c=_0x54cb3d,_0x409855=await this[_0x4a345c(0x2db)][_0x4a345c(0x23a)](_0x5dbce4),_0x599c05=this[_0x4a345c(0x32a)]['createInstance'](_0x5f20d7,_0x5dbce4,_0x409855);return _0x599c05['init'](),_0x599c05;}};_0x96e5af=_0xea6de4([_0x38880b(0x0,_0x496d06[_0x54cb3d(0x218)]),_0x38880b(0x1,_0x496d06[_0x54cb3d(0x257)](_0x496d06[_0x54cb3d(0x419)])),_0x38880b(0x2,_0x496d06['Inject'](_0xbe53a0[_0x54cb3d(0x2fa)]))],_0x96e5af);const _0x3ce736=0x14,_0x518e7a=0xc8,_0x1f562d=0x4,_0x372003=0x5;function _0x130050(_0x125de7,_0x37376b){const _0x3f92fa=_0x54cb3d;let {radius:_0x59ec6b,width:_0x3d9344,height:_0x7ce493}=_0x37376b;_0x59ec6b=_0x59ec6b!=null?_0x59ec6b:0x0,_0x3d9344=_0x3d9344!=null?_0x3d9344:0x1e,_0x7ce493=_0x7ce493!=null?_0x7ce493:0x1e;let _0x18ca50=0x0,_0x2bb5a7=0x0,_0x5a43e0=0x0;_0x18ca50=_0x2bb5a7=_0x5a43e0=Math[_0x3f92fa(0x20a)](_0x59ec6b,_0x3d9344/0x2,_0x7ce493/0x2),_0x125de7[_0x3f92fa(0x325)](),_0x125de7[_0x3f92fa(0x25d)](_0x18ca50,0x0),_0x125de7['lineTo'](_0x3d9344-_0x2bb5a7,0x0),_0x125de7[_0x3f92fa(0x3a6)](_0x3d9344-_0x2bb5a7,_0x2bb5a7,_0x2bb5a7,Math['PI']*0x3/0x2,0x0,!0x1),_0x125de7[_0x3f92fa(0x339)](_0x3d9344,_0x7ce493-_0x5a43e0),_0x125de7[_0x3f92fa(0x3a6)](_0x3d9344-_0x5a43e0,_0x7ce493-_0x5a43e0,_0x5a43e0,0x0,Math['PI']/0x2,!0x1),_0x125de7[_0x3f92fa(0x339)](0x0,_0x7ce493),_0x125de7[_0x3f92fa(0x339)](0x0,_0x18ca50),_0x125de7[_0x3f92fa(0x3a6)](_0x18ca50,_0x18ca50,_0x18ca50,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x125de7[_0x3f92fa(0x240)](),_0x37376b[_0x3f92fa(0x467)]&&(_0x125de7['save'](),_0x125de7[_0x3f92fa(0x32f)]=_0x37376b['fill'],_0x37376b[_0x3f92fa(0x2be)]===_0x3f92fa(0x22d)?_0x125de7['fill'](_0x3f92fa(0x22d)):_0x125de7['fill'](),_0x125de7[_0x3f92fa(0x21b)]());}class _0x4d3031 extends _0x8d3144[_0x54cb3d(0x366)]{constructor(_0xc1bbd2,_0x34f098){const _0x9797c5=_0x54cb3d;super(_0xc1bbd2,_0x34f098),_0x3c80c3(this,_0x9797c5(0x46e)),_0x3c80c3(this,_0x9797c5(0x373)),(this['color']=_0x34f098==null?void 0x0:_0x34f098[_0x9797c5(0x46e)],this[_0x9797c5(0x373)]=_0x34f098==null?void 0x0:_0x34f098[_0x9797c5(0x373)]);}static[_0x54cb3d(0x3ae)](_0x10c791,_0x46ec9b){const _0x24f997=_0x54cb3d,{text:_0x22584c,color:_0x48acd4}=_0x46ec9b;_0x10c791[_0x24f997(0x278)](),_0x10c791[_0x24f997(0x3e6)]=_0x24f997(0x480);const _0x60d87c=_0x10c791[_0x24f997(0x45a)](_0x22584c)[_0x24f997(0x2a5)],_0xd23bd7=Math[_0x24f997(0x20a)](_0x60d87c+0x2*_0x1f562d,_0x518e7a);_0x130050(_0x10c791,{'height':_0x3ce736,'radius':0x4,'width':_0xd23bd7,'fill':_0x48acd4}),_0x10c791[_0x24f997(0x32f)]=_0x24f997(0x264);const _0x3c83d0=_0x1f562d,_0x45adac=_0x3ce736-_0x372003,_0x6bf5d0=_0x518e7a-0x2*_0x1f562d;if(_0x60d87c>_0x6bf5d0){let _0x1b2f5c='',_0x556795=0x0;for(const _0x503f04 of _0x22584c){const _0x4f4bd=_0x10c791[_0x24f997(0x45a)](_0x503f04)[_0x24f997(0x2a5)];if(_0x556795+_0x4f4bd<=_0x6bf5d0-_0x10c791[_0x24f997(0x45a)](_0x24f997(0x388))[_0x24f997(0x2a5)])_0x1b2f5c+=_0x503f04,_0x556795+=_0x4f4bd;else{_0x1b2f5c+=_0x24f997(0x388);break;}}_0x10c791['fillText'](_0x1b2f5c,_0x3c83d0,_0x45adac);}else _0x10c791[_0x24f997(0x207)](_0x22584c,_0x3c83d0,_0x45adac);_0x10c791['restore']();}[_0x54cb3d(0x3ba)](_0xf5db0f){const _0x4ae96f=_0x54cb3d;_0x4d3031[_0x4ae96f(0x3ae)](_0xf5db0f,this);}}const _0xba6ffe='collab-text-anchor-',_0x257f3b=_0x54cb3d(0x3a0),_0x37547a='collab-rect-range-',_0x23638a=0x6,_0x316511=1.5,_0x562ec0=0x4,_0x2edb3c=1.5,_0x31cd11='rgba(255,\x20255,\x20255,\x200.01)';class _0xe87453{constructor(_0x1f0888,_0x3d2ed4,_0x5c0f66,_0x30aa01){const _0x3f2c99=_0x54cb3d;_0x3c80c3(this,_0x3f2c99(0x342),[]),_0x3c80c3(this,_0x3f2c99(0x376),null),_0x3c80c3(this,_0x3f2c99(0x37c),null),_0x3c80c3(this,'_anchorDot',null),_0x3c80c3(this,'_hideTimer',null),_0x3c80c3(this,_0x3f2c99(0x3e0),null),(this[_0x3f2c99(0x2b7)]=_0x1f0888,this[_0x3f2c99(0x279)]=_0x3d2ed4,this['_docSkeleton']=_0x5c0f66,this['_document']=_0x30aa01,this[_0x3f2c99(0x282)]());}set[_0x54cb3d(0x345)](_0x12e8af){const _0x579cd7=_0x54cb3d;_0x12e8af?(this[_0x579cd7(0x2c9)]&&this[_0x579cd7(0x2c9)][_0x579cd7(0x2cc)](),this[_0x579cd7(0x37c)]&&this[_0x579cd7(0x37c)][_0x579cd7(0x420)]()):(this[_0x579cd7(0x2c9)]&&this[_0x579cd7(0x2c9)]['show'](),this[_0x579cd7(0x37c)]&&this[_0x579cd7(0x37c)]['hide']());}[_0x54cb3d(0x2a0)](){const _0x58ca87=_0x54cb3d;for(const _0x101aa1 of this['_shapes'])_0x101aa1[_0x58ca87(0x2a0)]();this['_textBubble']&&this[_0x58ca87(0x37c)][_0x58ca87(0x2a0)](),this['_anchorDot']&&this[_0x58ca87(0x2c9)][_0x58ca87(0x2a0)](),this[_0x58ca87(0x376)]&&this[_0x58ca87(0x376)][_0x58ca87(0x2a0)](),this[_0x58ca87(0x3e0)]&&this[_0x58ca87(0x3e0)]();}[_0x54cb3d(0x282)](){const _0x40baaa=_0x54cb3d;var _0x8a2896;const {_docSkeleton:_0x1700df,_document:_0x539345}=this,{color:_0x5d3ef0,name:_0x3a06ee,ranges:_0x567b64}=this[_0x40baaa(0x2b7)],_0x262f05=_0x539345[_0x40baaa(0x396)](),{docsLeft:_0x23c0e5,docsTop:_0x437753}=_0x262f05,_0x8af69b=new _0x35faaf[(_0x40baaa(0x297))](_0x262f05,_0x1700df);for(const {startOffset:_0x38985a,endOffset:_0x2c097f,rangeType:_0x5e930d,segmentId:_0x4c4a60,segmentPage:_0x2ab202,collapsed:_0x49d72c,isActive:_0x24fff6}of _0x567b64){const _0x83133f=_0x1700df[_0x40baaa(0x26e)](_0x38985a,!0x0,_0x4c4a60,_0x2ab202);let _0x383f84=_0x1700df[_0x40baaa(0x26e)](_0x2c097f,!0x0,_0x4c4a60,_0x2ab202);if(_0x383f84==null&&(_0x383f84=_0x1700df['findNodePositionByCharIndex'](_0x2c097f-0x1,!0x1,_0x4c4a60,_0x2ab202)),_0x24fff6){const {contentBoxPointGroup:_0x5e371c}=_0x8af69b['getRangePointData'](_0x383f84,_0x383f84);if(_0x5e371c[_0x40baaa(0x1e8)]===0x0)continue;this[_0x40baaa(0x395)](_0x5d3ef0,_0x5e371c,_0x23c0e5,_0x437753,_0x3a06ee),this['_eventUnsubscribe']=this[_0x40baaa(0x3b2)]();}if(_0x83133f&&_0x383f84){if(_0x5e930d===_0x496d06['DOC_RANGE_TYPE'][_0x40baaa(0x1ec)]){const _0x320473=new _0x35faaf[(_0x40baaa(0x468))](_0x262f05,_0x1700df),{pointGroup:_0x30f1c3}=(_0x8a2896=_0x320473[_0x40baaa(0x224)](_0x83133f,_0x383f84))!=null?_0x8a2896:{};if(_0x30f1c3==null||_0x30f1c3['length']===0x0)continue;this[_0x40baaa(0x28b)](_0x5d3ef0,_0x30f1c3,_0x23c0e5,_0x437753);}else{if(!_0x49d72c){const {borderBoxPointGroup:_0x1f56a6}=_0x8af69b[_0x40baaa(0x224)](_0x83133f,_0x383f84);if(_0x1f56a6[_0x40baaa(0x1e8)]===0x0)continue;this[_0x40baaa(0x21f)](_0x5d3ef0,_0x1f56a6,_0x23c0e5,_0x437753);}}}}}[_0x54cb3d(0x395)](_0x40465b,_0x2b976a,_0x358fec,_0x79baa,_0x584487){const _0x70fd7a=_0x54cb3d,_0x28d475=this[_0x70fd7a(0x336)](_0x2b976a),{left:_0x46d45d,top:_0x3094b5,height:_0x3172e0}=_0x28d475,_0x51cbcd=this[_0x70fd7a(0x375)](),_0x5ea0d8=_0x2edb3c/_0x51cbcd,_0x885694=new _0x8d3144[(_0x70fd7a(0x26c))](_0xba6ffe+_0x496d06[_0x70fd7a(0x3f7)][_0x70fd7a(0x2e7)](_0x23638a),{'left':_0x46d45d+_0x358fec-_0x5ea0d8,'top':_0x3094b5+_0x79baa,'height':_0x3172e0,'width':_0x316511,'fill':_0x40465b||_0x8d3144[_0x70fd7a(0x2f1)](_0x496d06['COLORS'][_0x70fd7a(0x34d)],0x0),'strokeWidth':_0x5ea0d8,'stroke':_0x31cd11,'evented':!0x0});this['_anchor']=_0x885694,this[_0x70fd7a(0x279)][_0x70fd7a(0x35c)](_0x885694,_0x35faaf[_0x70fd7a(0x3ed)]);const _0x8f349e=new _0x8d3144[(_0x70fd7a(0x26c))](_0xba6ffe+_0x496d06[_0x70fd7a(0x3f7)][_0x70fd7a(0x2e7)](_0x23638a),{'left':_0x46d45d+_0x358fec-_0x5ea0d8,'top':_0x3094b5+_0x79baa-_0x562ec0/0x2,'height':_0x562ec0,'width':_0x562ec0,'fill':_0x40465b||_0x8d3144['getColor'](_0x496d06[_0x70fd7a(0x229)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x40465b||_0x8d3144[_0x70fd7a(0x2f1)](_0x496d06[_0x70fd7a(0x229)][_0x70fd7a(0x34d)],0x0),'evented':!0x1});this[_0x70fd7a(0x2c9)]=_0x8f349e,this[_0x70fd7a(0x279)]['addObject'](_0x8f349e,_0x35faaf['TEXT_RANGE_LAYER_INDEX']);const _0x3f2035=new _0x4d3031(_0xba6ffe+_0x496d06[_0x70fd7a(0x3f7)][_0x70fd7a(0x2e7)](_0x23638a),{'left':_0x46d45d+_0x358fec-_0x5ea0d8,'top':_0x3094b5+_0x79baa-_0x3ce736,'text':_0x584487,'color':_0x40465b});this[_0x70fd7a(0x37c)]=_0x3f2035,this[_0x70fd7a(0x279)][_0x70fd7a(0x35c)](_0x3f2035,_0x35faaf[_0x70fd7a(0x3ed)]),this[_0x70fd7a(0x345)]=!0x1;}[_0x54cb3d(0x3b2)](){const _0x556d16=_0x54cb3d,_0x176c58=this[_0x556d16(0x376)]['onPointerEnter$'][_0x556d16(0x244)](()=>{const _0x4cdf37=_0x556d16;this[_0x4cdf37(0x345)]=!0x0;}),_0x15f8b5=this[_0x556d16(0x376)][_0x556d16(0x27b)][_0x556d16(0x244)](()=>{const _0x25c043=_0x556d16;this[_0x25c043(0x214)]&&clearTimeout(this[_0x25c043(0x214)]),this[_0x25c043(0x214)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x556311=_0x556d16;_0x176c58['unsubscribe'](),_0x15f8b5[_0x556311(0x408)]();};}['_drawTextRange'](_0x15f381,_0x175572,_0x3ada13,_0x3ef5f0){const _0x23f9c3=_0x54cb3d,_0x46803f=new _0x496d06[(_0x23f9c3(0x3b4))](_0x15f381)['setAlpha'](0.2)['toRgbString'](),_0x145c40=new _0x8d3144['RegularPolygon'](_0x257f3b+_0x496d06['Tools']['generateRandomId'](_0x23638a),{'pointsGroup':_0x175572,'fill':_0x46803f||_0x8d3144[_0x23f9c3(0x2f1)](_0x496d06['COLORS'][_0x23f9c3(0x34d)],0.2),'left':_0x3ada13,'top':_0x3ef5f0,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x23f9c3(0x2f9)](_0x145c40),this[_0x23f9c3(0x279)][_0x23f9c3(0x35c)](_0x145c40,_0x35faaf['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x1fdb2e,_0x457a55,_0x28fcb9,_0x13963b){const _0x230688=_0x54cb3d,_0x19436d=new _0x496d06['ColorKit'](_0x1fdb2e)[_0x230688(0x2f0)](0.2)[_0x230688(0x22b)](),_0xc5b596=new _0x8d3144[(_0x230688(0x2ee))](_0x37547a+_0x496d06['Tools']['generateRandomId'](_0x23638a),{'pointsGroup':_0x457a55,'fill':_0x19436d||_0x8d3144['getColor'](_0x496d06['COLORS'][_0x230688(0x34d)],0.2),'left':_0x28fcb9,'top':_0x13963b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x230688(0x342)][_0x230688(0x2f9)](_0xc5b596),this[_0x230688(0x279)][_0x230688(0x35c)](_0xc5b596,_0x35faaf[_0x230688(0x3ed)]);}['_getAnchorBounding'](_0x21fa03){const _0xbc68f4=_0x21fa03[0x0],_0xbaa6db=_0xbc68f4[0x0],_0x3ddbb4=_0xbc68f4[0x2],{x:_0x5aa405,y:_0x18410f}=_0xbaa6db,{x:_0x371fa4,y:_0x2c0653}=_0x3ddbb4;return{'left':_0x5aa405,'top':_0x18410f,'width':_0x371fa4-_0x5aa405,'height':_0x2c0653-_0x18410f};}['_getScale'](){const _0x147335=_0x54cb3d,{scaleX:_0x3015e6,scaleY:_0x274204}=this['_scene'][_0x147335(0x392)]();return Math['max'](_0x3015e6,_0x274204);}}var _0x5b8d83=Object['getOwnPropertyDescriptor'],_0x499fab=(_0x4b5482,_0x5f543b,_0x13f85d,_0x6c8e5c)=>{const _0x23595d=_0x54cb3d;for(var _0x2481f8=_0x6c8e5c>0x1?void 0x0:_0x6c8e5c?_0x5b8d83(_0x5f543b,_0x13f85d):_0x5f543b,_0x2dff45=_0x4b5482[_0x23595d(0x1e8)]-0x1,_0x69d725;_0x2dff45>=0x0;_0x2dff45--)(_0x69d725=_0x4b5482[_0x2dff45])&&(_0x2481f8=_0x69d725(_0x2481f8)||_0x2481f8);return _0x2481f8;},_0x278669=(_0x23c736,_0x242fc1)=>(_0x499bd0,_0x1179ef)=>_0x242fc1(_0x499bd0,_0x1179ef,_0x23c736);let _0x59361c=class extends _0x496d06['RxDisposable']{constructor(_0x50957b,_0xa846d,_0x52aaed,_0x213fc8,_0x53d61f){const _0x22edbf=_0x54cb3d;super(),_0x3c80c3(this,_0x22edbf(0x2d0),[]),_0x3c80c3(this,'_cursors',[]),(this['_context']=_0x50957b,this[_0x22edbf(0x2ce)]=_0xa846d,this[_0x22edbf(0x3b8)]=_0x52aaed,this['_commandService']=_0x213fc8,this['_themeService']=_0x53d61f,this['_init']());}['_init'](){const _0x1e5a7a=_0x54cb3d,_0x10dbe5=this[_0x1e5a7a(0x3cd)]['unitId'],_0x5965dc=this[_0x1e5a7a(0x2ce)];this[_0x1e5a7a(0x37d)](_0x1f84ca[_0x1e5a7a(0x32b)]([this[_0x1e5a7a(0x3b8)][_0x1e5a7a(0x2f5)](_0x10dbe5),this[_0x1e5a7a(0x3f1)][_0x1e5a7a(0x3df)]])['pipe'](_0x3a0eac[_0x1e5a7a(0x3fc)](([_0x516db1,_0x464b60])=>({'skeleton':_0x5965dc['getSkeleton'](),'cursors':[..._0x516db1[_0x1e5a7a(0x421)]()][_0x1e5a7a(0x384)](_0x99044c=>({..._0x99044c,'color':this['_themeService']['getColorFromTheme'](_0x99044c[_0x1e5a7a(0x46e)])}))})))[_0x1e5a7a(0x2e3)](_0x571daf=>{const _0x2e1555=_0x1e5a7a;if(this['_removeCollabCursors'](),_0x571daf){const {skeleton:_0x4908dc,cursors:_0x35a660}=_0x571daf;this[_0x2e1555(0x361)](_0x4908dc,_0x35a660);}})),this[_0x1e5a7a(0x23f)](),this[_0x1e5a7a(0x212)]();}['_updateCollabCursors'](_0x2779b3,_0x349cf8){const _0x5b7a81=_0x54cb3d,{scene:_0x3bc4eb,mainComponent:_0x46bfd4}=this[_0x5b7a81(0x3cd)],_0x1661b7=_0x349cf8[_0x5b7a81(0x3fc)](_0x423f7a=>new _0xe87453(_0x423f7a,_0x3bc4eb,_0x2779b3,_0x46bfd4));this[_0x5b7a81(0x2d0)]=_0x1661b7,this[_0x5b7a81(0x34e)]=_0x349cf8;}[_0x54cb3d(0x3d5)](){const _0x249cd2=_0x54cb3d;this['_removeCollabCursors']();const {scene:_0x1be4ce,mainComponent:_0x4510fb}=this['_context'],_0x40d5d7=this[_0x249cd2(0x2ce)][_0x249cd2(0x2df)](),_0x40b697=this[_0x249cd2(0x34e)][_0x249cd2(0x3fc)](_0x59f5dd=>new _0xe87453(_0x59f5dd,_0x1be4ce,_0x40d5d7,_0x4510fb));this[_0x249cd2(0x2d0)]=_0x40b697;}['_removeCollabCursors'](){const _0x45a80c=_0x54cb3d;this[_0x45a80c(0x2d0)][_0x45a80c(0x311)](_0x1ae0ad=>_0x1ae0ad[_0x45a80c(0x2a0)]()),this[_0x45a80c(0x2d0)]=[];}[_0x54cb3d(0x212)](){const _0x2df0e2=_0x54cb3d,_0x3b460c=[_0x35faaf[_0x2df0e2(0x287)]['id']];this[_0x2df0e2(0x37d)](this[_0x2df0e2(0x2e0)][_0x2df0e2(0x353)](_0x18ad6d=>{const _0x5b5393=_0x2df0e2;_0x3b460c[_0x5b5393(0x397)](_0x18ad6d['id'])&&_0x18ad6d[_0x5b5393(0x259)][_0x5b5393(0x437)]===this[_0x5b5393(0x3cd)][_0x5b5393(0x437)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x2a053c=_0x54cb3d;this[_0x2a053c(0x37d)](_0x496d06[_0x2a053c(0x459)](this[_0x2a053c(0x3cd)][_0x2a053c(0x313)][_0x2a053c(0x312)])[_0x2a053c(0x32d)](_0x3a0eac[_0x2a053c(0x322)](_0x856cb=>_0x856cb[_0x2a053c(0x294)]===_0x8d3144[_0x2a053c(0x20b)][_0x2a053c(0x2fd)]),_0x3a0eac[_0x2a053c(0x265)](0x10))[_0x2a053c(0x2e3)](()=>{const _0x16d21d=_0x2a053c;this[_0x16d21d(0x3d5)]();}));}};_0x59361c=_0x499fab([_0x278669(0x1,_0x496d06[_0x54cb3d(0x257)](_0x110776[_0x54cb3d(0x341)])),_0x278669(0x2,_0x496d06[_0x54cb3d(0x257)](_0x96e5af)),_0x278669(0x3,_0x496d06[_0x54cb3d(0x3c7)]),_0x278669(0x4,_0x496d06[_0x54cb3d(0x257)](_0x496d06[_0x54cb3d(0x1f3)]))],_0x59361c);const _0x56dad6=0x1,_0x5e1b55=1.5;class _0x548181 extends _0x8d3144['Shape']{constructor(_0x5a093c,_0xc3c98b){const _0x478a01=_0x54cb3d;super(_0x5a093c,_0xc3c98b),_0x3c80c3(this,'_color'),_0x3c80c3(this,_0x478a01(0x330),!0x1),_0x3c80c3(this,_0x478a01(0x3d2)),_0x3c80c3(this,_0x478a01(0x457),''),_0x3c80c3(this,_0x478a01(0x390),_0x478a01(0x36d)),_0x3c80c3(this,_0x478a01(0x30f)),(_0xc3c98b&&this['setShapeProps'](_0xc3c98b),this[_0x478a01(0x385)][_0x478a01(0x244)](()=>this[_0x478a01(0x46a)]({'hovered':!0x0})),this['onPointerLeave$'][_0x478a01(0x244)](()=>this[_0x478a01(0x46a)]({'hovered':!0x1})));}['setShapeProps'](_0x1d3821){const _0x4a131a=_0x54cb3d;var _0x2cbecd,_0x42f18a,_0x5a84ec,_0x33ccbd,_0x5544fc,_0x10a017;this[_0x4a131a(0x3fe)]=(_0x2cbecd=_0x1d3821[_0x4a131a(0x46e)])!=null?_0x2cbecd:this[_0x4a131a(0x3fe)],this[_0x4a131a(0x330)]=(_0x42f18a=_0x1d3821[_0x4a131a(0x276)])!=null?_0x42f18a:this['_hovered'],this[_0x4a131a(0x3d2)]=(_0x5a84ec=_0x1d3821[_0x4a131a(0x360)])!=null?_0x5a84ec:this[_0x4a131a(0x3d2)],this[_0x4a131a(0x457)]=(_0x33ccbd=_0x1d3821[_0x4a131a(0x32e)])!=null?_0x33ccbd:this[_0x4a131a(0x457)],this[_0x4a131a(0x390)]=(_0x5544fc=_0x1d3821[_0x4a131a(0x487)])!=null?_0x5544fc:this[_0x4a131a(0x390)],this['_backgroundColor']=(_0x10a017=_0x1d3821[_0x4a131a(0x44c)])!=null?_0x10a017:this[_0x4a131a(0x30f)],this[_0x4a131a(0x220)]({'width':_0x1d3821['width'],'height':_0x1d3821['height']});}[_0x54cb3d(0x324)](_0x81d994){const _0x48ed47=_0x54cb3d,{row:_0x1c816c,column:_0x241c08}=_0x81d994;if(_0x1c816c>=this[_0x48ed47(0x3d2)][_0x48ed47(0x406)]&&_0x1c816c<=this[_0x48ed47(0x3d2)]['endRow']&&_0x241c08>=this[_0x48ed47(0x3d2)]['startColumn']&&_0x241c08<=this[_0x48ed47(0x3d2)][_0x48ed47(0x2f8)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x48ed47(0x46a)]({'hovered':!0x1});}['triggerDblclick'](_0x140fb){return!0x1;}[_0x54cb3d(0x3ba)](_0xc4daf9){const _0x3909e7=_0x54cb3d;_0x8d3144[_0x3909e7(0x26c)][_0x3909e7(0x3ae)](_0xc4daf9,{'width':this[_0x3909e7(0x2a5)],'height':this[_0x3909e7(0x31a)],'strokeWidth':_0x5e1b55,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x3909e7(0x30f)]}),this[_0x3909e7(0x330)]&&(_0xc4daf9['save'](),_0xc4daf9[_0x3909e7(0x45b)](0x1,0x0,0x0,0x1,this[_0x3909e7(0x2a5)],this['_labelPosition']===_0x3909e7(0x243)?0x0:-0x14),_0x4d3031[_0x3909e7(0x3ae)](_0xc4daf9,{'text':this['_name'],'color':this[_0x3909e7(0x3fe)]}),_0xc4daf9[_0x3909e7(0x21b)]());}}var _0x48b13f=Object[_0x54cb3d(0x35b)],_0x3b1b1e=(_0x289d8b,_0x4adc15,_0x4e3a07,_0x97668)=>{const _0x17e5e8=_0x54cb3d;for(var _0x192b8b=_0x97668>0x1?void 0x0:_0x97668?_0x48b13f(_0x4adc15,_0x4e3a07):_0x4adc15,_0x51ebef=_0x289d8b[_0x17e5e8(0x1e8)]-0x1,_0x54dba0;_0x51ebef>=0x0;_0x51ebef--)(_0x54dba0=_0x289d8b[_0x51ebef])&&(_0x192b8b=_0x54dba0(_0x192b8b)||_0x192b8b);return _0x192b8b;},_0x484f2a=(_0x3d62c8,_0x219dd4)=>(_0x38f33a,_0x5956ad)=>_0x219dd4(_0x38f33a,_0x5956ad,_0x3d62c8);const _0x3607da=0x1389;let _0x4ab05a=class extends _0x496d06['RxDisposable']{constructor(_0x3d3553,_0x26fb44,_0x3a2381,_0x415f9e){const _0x1b3aa4=_0x54cb3d;super(),_0x3c80c3(this,_0x1b3aa4(0x34e),new Set()),_0x3c80c3(this,_0x1b3aa4(0x3dc),null),(this[_0x1b3aa4(0x3cd)]=_0x3d3553,this[_0x1b3aa4(0x3dd)]=_0x26fb44,this[_0x1b3aa4(0x3b8)]=_0x3a2381,this[_0x1b3aa4(0x3f1)]=_0x415f9e,this[_0x1b3aa4(0x407)]());}[_0x54cb3d(0x407)](){const _0x1983df=_0x54cb3d;this[_0x1983df(0x3dd)][_0x1983df(0x28f)][_0x1983df(0x32d)](_0x3a0eac[_0x1983df(0x41e)](this[_0x1983df(0x3e5)]),_0x3a0eac['switchMap'](_0x53018f=>{const _0x4445a8=_0x1983df;if(_0x53018f){const _0x1cd527=_0x53018f[_0x4445a8(0x475)];return _0x1f84ca['combineLatest'](this[_0x4445a8(0x3b8)][_0x4445a8(0x2f5)](this['_context']['unitId']),this[_0x4445a8(0x3f1)][_0x4445a8(0x3df)])[_0x4445a8(0x32d)](_0x3a0eac[_0x4445a8(0x3fc)](([_0x4d519b,_0x4a1e88])=>{const _0x3c8f26=_0x4445a8,_0xf0ca6=new Map();return _0x4d519b[_0x3c8f26(0x311)]((_0x532f95,_0x49409d)=>{const _0x22d9a8=_0x3c8f26;if(_0x532f95['sheetID']===_0x1cd527){const _0x1da49f={..._0x532f95};_0x1da49f[_0x22d9a8(0x46e)]=this['_themeService'][_0x22d9a8(0x3a3)](_0x532f95['color']),_0xf0ca6[_0x22d9a8(0x327)](_0x49409d,_0x1da49f);}}),{'skeleton':_0x53018f,'cursors':_0xf0ca6};}));}return _0x1f84ca['of']({'skeleton':null,'cursors':new Map()});}))[_0x1983df(0x2e3)](({skeleton:_0x38edc1,cursors:_0x573874})=>{const _0x2435e0=_0x1983df;this[_0x2435e0(0x27c)](),_0x38edc1&&this[_0x2435e0(0x361)](_0x38edc1,_0x573874);}),this[_0x1983df(0x3dd)][_0x1983df(0x28f)]['subscribe'](_0x1fc122=>{const _0x5ae94b=_0x1983df;if(_0x1fc122==null)return;const {skeleton:_0x196183}=_0x1fc122,{scene:_0x11b3d5}=this[_0x5ae94b(0x3cd)];_0x11b3d5[_0x5ae94b(0x3ca)][_0x5ae94b(0x244)](_0x496d06[_0x5ae94b(0x236)](_0x26c02=>{const _0x2c56c0=_0x5ae94b;var _0x4b638b,_0x3d9be3;const {offsetX:_0x5e860a,offsetY:_0xca40cf}=_0x26c02,{x:_0x2655bc,y:_0x2d59e4}=_0x11b3d5[_0x2c56c0(0x295)](_0x8d3144[_0x2c56c0(0x362)][_0x2c56c0(0x20e)]([_0x5e860a,_0xca40cf])),{scaleX:_0x30e145,scaleY:_0x51779b}=_0x11b3d5[_0x2c56c0(0x392)](),_0x5cad01=_0x11b3d5['getViewport'](_0x8d3144[_0x2c56c0(0x454)][_0x2c56c0(0x453)]),_0x3a89c1=_0x11b3d5[_0x2c56c0(0x2c3)](_0x8d3144['Vector2']['FromArray']([_0x2655bc,_0x2d59e4]),_0x5cad01),_0x283faf=_0x196183[_0x2c56c0(0x43a)](_0x5e860a,_0xca40cf,_0x30e145,_0x51779b,_0x3a89c1);((_0x4b638b=this[_0x2c56c0(0x3dc)])==null?void 0x0:_0x4b638b['column'])===_0x283faf[_0x2c56c0(0x469)]&&((_0x3d9be3=this[_0x2c56c0(0x3dc)])==null?void 0x0:_0x3d9be3[_0x2c56c0(0x2fc)])===_0x283faf[_0x2c56c0(0x2fc)]||this['_cursors']['forEach'](_0x9245bb=>{const _0x4d437f=_0x2c56c0;_0x9245bb[_0x4d437f(0x324)](_0x283faf);});},0x64));});}['_updateCollabCursors'](_0x2fcbe7,_0x21ea26){const _0x3bd370=_0x54cb3d;var _0x5b5e6a;const _0x4ce8ad=(_0x5b5e6a=this['_sheetSkeletonManagerService'][_0x3bd370(0x372)]())==null?void 0x0:_0x5b5e6a[_0x3bd370(0x2e8)];if(!_0x4ce8ad)return;const _0x577ea3=this['_getSheetObject']();if(!_0x577ea3)return;this[_0x3bd370(0x34e)]['forEach'](_0x187fbb=>{const _0x49192d=_0x3bd370;_0x187fbb[_0x49192d(0x37a)]();});const {scene:_0x3311de}=_0x577ea3,_0x5eb7ba=_0x3ec996(Array['from'](_0x21ea26[_0x3bd370(0x421)]()))[_0x3bd370(0x3fc)](_0x5c4afc=>{const _0x5817d=_0x3bd370,{color:_0x4348b7,range:_0x15c39a,name:_0x33c9fd,selection:_0x186f89,sheetID:_0x547e08}=_0x5c4afc,{startColumn:_0x264f9a,startRow:_0x3854f8,endColumn:_0x8dd74c,endRow:_0x31ffc6}=_0x15c39a,_0x3d1b3c=_0x4f6f98[_0x5817d(0x27f)](_0x3854f8,_0x264f9a,_0x3311de,_0x4ce8ad),_0x201a5e=_0x4f6f98[_0x5817d(0x27f)](_0x31ffc6,_0x8dd74c,_0x3311de,_0x4ce8ad),{columnHeaderHeightAndMarginTop:_0x48c2f4}=_0x4ce8ad,{startX:_0x50238d,startY:_0x448d01}=_0x3d1b3c,{endX:_0x5ee533,endY:_0xabe5f7}=_0x201a5e,_0x2b1e0b=_0x5ee533-_0x50238d,_0x4db871=_0xabe5f7-_0x448d01,_0x444846={'labelPosition':_0x448d01-_0x48c2f4>=_0x3ce736?_0x5817d(0x36d):_0x5817d(0x243),'sheetID':_0x547e08,'range':_0x15c39a,'color':_0x4348b7,'name':_0x33c9fd,'selection':_0x186f89,'left':_0x50238d,'top':_0x448d01,'width':_0x2b1e0b,'height':_0x4db871,'evented':!0x1,'zIndex':_0x3607da};return new _0x548181(_0x33c9fd,_0x444846);});_0x3311de[_0x3bd370(0x35a)](_0x5eb7ba,_0x56dad6),this[_0x3bd370(0x34e)]=new Set(_0x5eb7ba);}[_0x54cb3d(0x27c)](){const _0x47f569=_0x54cb3d;var _0x54a954;(_0x54a954=this['_cursors'])==null||_0x54a954[_0x47f569(0x311)](_0x51cdf2=>_0x51cdf2[_0x47f569(0x2a0)]());}[_0x54cb3d(0x1f0)](){const _0x1841b8=_0x54cb3d;return _0x4f6f98[_0x1841b8(0x449)](this[_0x1841b8(0x3cd)]['unit'],this['_context']);}};_0x4ab05a=_0x3b1b1e([_0x484f2a(0x1,_0x496d06[_0x54cb3d(0x257)](_0x4f6f98[_0x54cb3d(0x370)])),_0x484f2a(0x2,_0x496d06['Inject'](_0x96e5af)),_0x484f2a(0x3,_0x496d06[_0x54cb3d(0x257)](_0x496d06[_0x54cb3d(0x1f3)]))],_0x4ab05a);function _0x3ec996(_0x53c1bb){const _0x314dc1=_0x54cb3d,_0x48e170=new Map();return _0x53c1bb[_0x314dc1(0x311)](_0x1fd4a4=>{const _0x469d63=_0x314dc1;if(_0x48e170[_0x469d63(0x43b)](_0x1fd4a4[_0x469d63(0x329)])){const _0x52f7f5=_0x48e170[_0x469d63(0x479)](_0x1fd4a4['selection']);_0x52f7f5[_0x469d63(0x32e)]+=',\x20'+_0x1fd4a4['name'];}else _0x48e170[_0x469d63(0x327)](_0x1fd4a4[_0x469d63(0x329)],_0x1fd4a4);}),Array['from'](_0x48e170[_0x314dc1(0x421)]());}var _0x22efd5=function(){const _0x232af7=_0x54cb3d;return _0x22efd5=Object['assign']||function(_0xa03ec5){const _0x24c852=_0x1d1e;for(var _0x12756a,_0x38d2e0=0x1,_0x213a03=arguments['length'];_0x38d2e0<_0x213a03;_0x38d2e0++){_0x12756a=arguments[_0x38d2e0];for(var _0x30e5c5 in _0x12756a)Object[_0x24c852(0x477)][_0x24c852(0x3fa)]['call'](_0x12756a,_0x30e5c5)&&(_0xa03ec5[_0x30e5c5]=_0x12756a[_0x30e5c5]);}return _0xa03ec5;},_0x22efd5[_0x232af7(0x2eb)](this,arguments);},_0x4fb377=function(_0x4aa583,_0x280396){const _0x21f7f1=_0x54cb3d;var _0x60e1b0={};for(var _0x341d76 in _0x4aa583)Object[_0x21f7f1(0x477)][_0x21f7f1(0x3fa)][_0x21f7f1(0x3bd)](_0x4aa583,_0x341d76)&&_0x280396[_0x21f7f1(0x352)](_0x341d76)<0x0&&(_0x60e1b0[_0x341d76]=_0x4aa583[_0x341d76]);if(_0x4aa583!=null&&typeof Object['getOwnPropertySymbols']==_0x21f7f1(0x298)){for(var _0x3e076c=0x0,_0x341d76=Object[_0x21f7f1(0x412)](_0x4aa583);_0x3e076c<_0x341d76['length'];_0x3e076c++)_0x280396[_0x21f7f1(0x352)](_0x341d76[_0x3e076c])<0x0&&Object[_0x21f7f1(0x477)][_0x21f7f1(0x3ac)][_0x21f7f1(0x3bd)](_0x4aa583,_0x341d76[_0x3e076c])&&(_0x60e1b0[_0x341d76[_0x3e076c]]=_0x4aa583[_0x341d76[_0x3e076c]]);}return _0x60e1b0;},_0x14074c=_0xf931bd[_0x54cb3d(0x25e)](function(_0x172d0c,_0x15a4b8){const _0x4e3843=_0x54cb3d;var _0x25e84e=_0x172d0c['icon'],_0x38f156=_0x172d0c['id'],_0x598f3b=_0x172d0c['className'],_0x802c76=_0x172d0c[_0x4e3843(0x455)],_0x3d59fc=_0x4fb377(_0x172d0c,[_0x4e3843(0x24f),'id',_0x4e3843(0x429),_0x4e3843(0x455)]),_0x2bbbf3='univerjs-icon\x20univerjs-icon-'['concat'](_0x38f156,'\x20')['concat'](_0x598f3b||'')[_0x4e3843(0x22f)](),_0x1b63f9=_0xf931bd['useRef']('_'[_0x4e3843(0x30b)](_0x11a10c()));return _0x543c06(_0x25e84e,''[_0x4e3843(0x30b)](_0x38f156),{'defIds':_0x25e84e['defIds'],'idSuffix':_0x1b63f9[_0x4e3843(0x21e)]},_0x22efd5({'ref':_0x15a4b8,'className':_0x2bbbf3},_0x3d59fc),_0x802c76);});function _0x543c06(_0x3171fe,_0x1c9378,_0x12d626,_0x6c1398,_0x508b10){const _0x1c83aa=_0x54cb3d;return _0xf931bd[_0x1c83aa(0x3e7)](_0x3171fe['tag'],_0x22efd5(_0x22efd5({'key':_0x1c9378},_0x5a54d1(_0x3171fe,_0x12d626,_0x508b10)),_0x6c1398),(_0x599c20(_0x3171fe,_0x12d626)[_0x1c83aa(0x367)]||[])[_0x1c83aa(0x3fc)](function(_0x1e71dd,_0x3c089a){const _0x8fa91f=_0x1c83aa;return _0x543c06(_0x1e71dd,''[_0x8fa91f(0x30b)](_0x1c9378,'-')[_0x8fa91f(0x30b)](_0x3171fe[_0x8fa91f(0x2c6)],'-')[_0x8fa91f(0x30b)](_0x3c089a),_0x12d626,void 0x0,_0x508b10);}));}function _0x5a54d1(_0x59c4f6,_0x1b61f2,_0x4dd4a1){const _0x24532a=_0x54cb3d;var _0x955e77=_0x22efd5({},_0x59c4f6[_0x24532a(0x267)]);_0x4dd4a1!=null&&_0x4dd4a1[_0x24532a(0x2fe)]&&_0x955e77['fill']===_0x24532a(0x2fe)&&(_0x955e77[_0x24532a(0x467)]=_0x4dd4a1[_0x24532a(0x2fe)]),_0x59c4f6[_0x24532a(0x2c6)]===_0x24532a(0x398)&&_0x955e77['id']&&(_0x955e77['id']=_0x955e77['id']+_0x1b61f2[_0x24532a(0x3cb)]),Object[_0x24532a(0x41f)](_0x955e77)[_0x24532a(0x311)](function(_0xd9cfd3){const _0x17233a=_0x24532a;var _0x5912ff=_0xd9cfd3[0x0],_0x2e3495=_0xd9cfd3[0x1];_0x5912ff===_0x17233a(0x398)&&typeof _0x2e3495==_0x17233a(0x331)&&(_0x955e77[_0x5912ff]=_0x2e3495[_0x17233a(0x3bc)](/url\(#(.*)\)/,_0x17233a(0x271)[_0x17233a(0x30b)](_0x1b61f2[_0x17233a(0x3cb)],')')));});var _0x3199ec=_0x1b61f2[_0x24532a(0x44d)];return!_0x3199ec||_0x3199ec[_0x24532a(0x1e8)]===0x0||(_0x59c4f6['tag']===_0x24532a(0x301)&&_0x955e77[_0x24532a(0x3fd)]&&(_0x955e77[_0x24532a(0x3fd)]=_0x955e77[_0x24532a(0x3fd)]+_0x1b61f2[_0x24532a(0x3cb)]),Object[_0x24532a(0x41f)](_0x955e77)[_0x24532a(0x311)](function(_0x3f1c9e){const _0x49749d=_0x24532a;var _0x28bd43=_0x3f1c9e[0x0],_0xd5e5bf=_0x3f1c9e[0x1];typeof _0xd5e5bf==_0x49749d(0x331)&&(_0x955e77[_0x28bd43]=_0xd5e5bf['replace'](/url\(#(.*)\)/,_0x49749d(0x271)['concat'](_0x1b61f2['idSuffix'],')')));})),_0x955e77;}function _0x599c20(_0x3d652f,_0x14e0a3){const _0x30f7ad=_0x54cb3d;var _0x40e41a,_0x269c90=_0x14e0a3[_0x30f7ad(0x44d)];return!_0x269c90||_0x269c90[_0x30f7ad(0x1e8)]===0x0?_0x3d652f:_0x3d652f['tag']===_0x30f7ad(0x1df)&&(!((_0x40e41a=_0x3d652f[_0x30f7ad(0x367)])===null||_0x40e41a===void 0x0)&&_0x40e41a[_0x30f7ad(0x1e8)])?_0x22efd5(_0x22efd5({},_0x3d652f),{'children':_0x3d652f['children']['map'](function(_0x1310ba){const _0xa0e21f=_0x30f7ad;return typeof _0x1310ba[_0xa0e21f(0x267)]['id']==_0xa0e21f(0x331)&&_0x269c90&&_0x269c90['includes'](_0x1310ba[_0xa0e21f(0x267)]['id'])?_0x22efd5(_0x22efd5({},_0x1310ba),{'attrs':_0x22efd5(_0x22efd5({},_0x1310ba[_0xa0e21f(0x267)]),{'id':_0x1310ba[_0xa0e21f(0x267)]['id']+_0x14e0a3[_0xa0e21f(0x3cb)]})}):_0x1310ba;})}):_0x3d652f;}function _0x11a10c(){const _0x4cfe18=_0x54cb3d;return Math[_0x4cfe18(0x1ff)]()[_0x4cfe18(0x405)](0x24)[_0x4cfe18(0x39c)](0x2,0x8);}_0x14074c[_0x54cb3d(0x413)]=_0x54cb3d(0x349);var _0x595ab1={'tag':_0x54cb3d(0x47a),'attrs':{'xmlns':_0x54cb3d(0x247),'fill':_0x54cb3d(0x365),'viewBox':_0x54cb3d(0x39a),'width':_0x54cb3d(0x374),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x54cb3d(0x321),'attrs':{'stroke':_0x54cb3d(0x45f),'d':_0x54cb3d(0x25b),'strokeLinecap':_0x54cb3d(0x2a2),'strokeLinejoin':_0x54cb3d(0x2a2),'strokeWidth':1.2}}]},{'tag':_0x54cb3d(0x1df),'attrs':{},'children':[{'tag':_0x54cb3d(0x2ef),'attrs':{'id':_0x54cb3d(0x2b8)},'children':[{'tag':_0x54cb3d(0x321),'attrs':{'fill':'white','d':_0x54cb3d(0x2ad)}}]}]}],'defIds':[_0x54cb3d(0x2b8)]},_0x50f7eb=_0xf931bd[_0x54cb3d(0x25e)](function(_0x2509ee,_0x450378){const _0x1d3adb=_0x54cb3d;return _0xf931bd[_0x1d3adb(0x3e7)](_0x14074c,Object[_0x1d3adb(0x1e9)]({},_0x2509ee,{'id':'off-line-icon','ref':_0x450378,'icon':_0x595ab1}));});_0x50f7eb[_0x54cb3d(0x413)]='OffLineIcon';var _0x388e9b={'tag':'svg','attrs':{'xmlns':_0x54cb3d(0x247),'fill':_0x54cb3d(0x365),'viewBox':_0x54cb3d(0x202),'width':_0x54cb3d(0x374),'height':_0x54cb3d(0x374)},'children':[{'tag':'g','attrs':{'clipPath':_0x54cb3d(0x21a)},'children':[{'tag':_0x54cb3d(0x321),'attrs':{'stroke':_0x54cb3d(0x45f),'d':_0x54cb3d(0x2c8),'strokeLinecap':_0x54cb3d(0x2a2),'strokeLinejoin':_0x54cb3d(0x2a2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x54cb3d(0x2ef),'attrs':{'id':_0x54cb3d(0x3e3)},'children':[{'tag':_0x54cb3d(0x321),'attrs':{'fill':_0x54cb3d(0x42b),'d':_0x54cb3d(0x2ad),'transform':_0x54cb3d(0x42d)}}]}]}],'defIds':[_0x54cb3d(0x3e3)]},_0x1ba4f2=_0xf931bd[_0x54cb3d(0x25e)](function(_0x27d6da,_0x2624e9){const _0x434acd=_0x54cb3d;return _0xf931bd[_0x434acd(0x3e7)](_0x14074c,Object[_0x434acd(0x1e9)]({},_0x27d6da,{'id':_0x434acd(0x27e),'ref':_0x2624e9,'icon':_0x388e9b}));});_0x1ba4f2[_0x54cb3d(0x413)]=_0x54cb3d(0x29a);function _0x5bee1f(_0x303a4a){const _0x5e9b84=_0x54cb3d;switch(_0x303a4a){case _0xbe53a0[_0x5e9b84(0x423)][_0x5e9b84(0x386)]:return _0x5e9b84(0x1f7);case _0xbe53a0[_0x5e9b84(0x423)][_0x5e9b84(0x40e)]:return'collabStatus.conflict';case _0xbe53a0['CollaborationStatus'][_0x5e9b84(0x44f)]:return'collabStatus.fetchMiss';case _0xbe53a0[_0x5e9b84(0x423)][_0x5e9b84(0x46d)]:return'collabStatus.notCollab';case _0xbe53a0[_0x5e9b84(0x423)][_0x5e9b84(0x2a8)]:case _0xbe53a0[_0x5e9b84(0x423)][_0x5e9b84(0x213)]:return _0x5e9b84(0x33e);case _0xbe53a0[_0x5e9b84(0x423)][_0x5e9b84(0x38d)]:case _0xbe53a0[_0x5e9b84(0x423)][_0x5e9b84(0x379)]:return _0x5e9b84(0x254);}}function _0x62e78c(_0x5cd5c2){const _0xa58bc5=_0x54cb3d,{status$:_0x506943}=_0x5cd5c2,_0x59d5d9=_0x1ea881['useObservable'](_0x506943,_0xbe53a0['CollaborationStatus'][_0xa58bc5(0x46d)]),_0x43e5da=_0x1ea881[_0xa58bc5(0x2a4)](_0x496d06[_0xa58bc5(0x411)]),_0x3bb372=_0x1ea881[_0xa58bc5(0x2a4)](_0xbe53a0[_0xa58bc5(0x2fa)]),_0x306568=_0x59d5d9!==_0xbe53a0[_0xa58bc5(0x423)][_0xa58bc5(0x386)],_0x3c464f=_0x43e5da['t'](_0x5bee1f(_0x59d5d9)),_0x4dc1cf=_0x306568?_0xef77fd[_0xa58bc5(0x3d8)](_0x1ba4f2,{}):_0xef77fd[_0xa58bc5(0x3d8)](_0x50f7eb,{}),_0x5dff20=_0xf931bd[_0xa58bc5(0x1f8)](()=>{const _0x4bf94e=_0xa58bc5;_0x306568||_0x3bb372[_0x4bf94e(0x20c)]();},[_0x306568,_0x3bb372]);function _0x43d38d(){const _0x304cdb=_0xa58bc5;return _0xef77fd[_0x304cdb(0x37f)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x5dff20,'children':[_0xef77fd[_0x304cdb(0x3d8)](_0x304cdb(0x464),{'className':_0x47fd52[_0x304cdb(0x46f)](_0x304cdb(0x2f4),{'univer-text-green-500':_0x306568,'univer-text-red-500':!_0x306568}),'children':_0x4dc1cf}),_0xef77fd['jsx'](_0x304cdb(0x464),{'className':_0x304cdb(0x40f),'children':_0x3c464f})]});}return _0x306568?_0x43d38d():_0xef77fd['jsx'](_0x47fd52['Tooltip'],{'title':_0x43e5da['t'](_0xa58bc5(0x266)),'children':_0x43d38d()});}var _0xcc1194=Object[_0x54cb3d(0x35b)],_0xbda305=(_0x593dc7,_0x38e864,_0x47a1e4,_0x30b187)=>{const _0x454630=_0x54cb3d;for(var _0xd3d4be=_0x30b187>0x1?void 0x0:_0x30b187?_0xcc1194(_0x38e864,_0x47a1e4):_0x38e864,_0x18ded1=_0x593dc7[_0x454630(0x1e8)]-0x1,_0x316004;_0x18ded1>=0x0;_0x18ded1--)(_0x316004=_0x593dc7[_0x18ded1])&&(_0xd3d4be=_0x316004(_0xd3d4be)||_0xd3d4be);return _0xd3d4be;},_0xc66d39=(_0x55325b,_0x17ecdf)=>(_0x2e77eb,_0x2dfa41)=>_0x17ecdf(_0x2e77eb,_0x2dfa41,_0x55325b);_0xf30996[_0x54cb3d(0x42f)]=class extends _0x496d06[_0x54cb3d(0x3be)]{constructor(_0x77efa,_0x3fe1e1,_0x6f2778,_0x2a219a){const _0x19e875=_0x54cb3d;super(),_0x3c80c3(this,_0x19e875(0x35f),new _0x1f84ca[(_0x19e875(0x3c4))](_0xbe53a0[_0x19e875(0x423)][_0x19e875(0x46d)])),(this[_0x19e875(0x3ce)]=_0x77efa,this[_0x19e875(0x32a)]=_0x3fe1e1,this['_collaborationController']=_0x6f2778,this['_uiPartsService']=_0x2a219a,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x54cb3d(0x319)](){const _0x3eeb1a=_0x54cb3d;this[_0x3eeb1a(0x37d)](this[_0x3eeb1a(0x3ce)][_0x3eeb1a(0x383)][_0x3eeb1a(0x32d)](_0x1f84ca[_0x3eeb1a(0x223)](()=>{const _0x3de517=_0x3eeb1a,_0x28776=this[_0x3de517(0x3ce)][_0x3de517(0x2d7)]();return _0x28776?this['_collaborationController'][_0x3de517(0x45d)](_0x28776['getUnitId']()):_0x1f84ca['of'](null);}),_0x1f84ca[_0x3eeb1a(0x223)](_0x2ba8f3=>_0x2ba8f3?_0x2ba8f3[_0x3eeb1a(0x289)]:_0x1f84ca['of'](_0xbe53a0['CollaborationStatus'][_0x3eeb1a(0x46d)])))[_0x3eeb1a(0x2e3)](_0x58cb34=>{const _0x367138=_0x3eeb1a;this[_0x367138(0x35f)][_0x367138(0x34f)](_0x58cb34);}));}[_0x54cb3d(0x238)](){const _0x3a553e=_0x54cb3d;this[_0x3a553e(0x37d)](this['_uiPartsService']['registerComponent'](_0x1ea881['BuiltInUIPart'][_0x3a553e(0x377)],()=>_0x1ea881[_0x3a553e(0x351)](_0x57dbc8({'status$':this[_0x3a553e(0x35f)][_0x3a553e(0x1fc)]()}),this[_0x3a553e(0x32a)])));}},_0xf30996[_0x54cb3d(0x42f)]=_0xbda305([_0xc66d39(0x0,_0x496d06[_0x54cb3d(0x218)]),_0xc66d39(0x1,_0x496d06['Inject'](_0x496d06['Injector'])),_0xc66d39(0x2,_0x496d06[_0x54cb3d(0x257)](_0xbe53a0[_0x54cb3d(0x2d1)])),_0xc66d39(0x3,_0x1ea881['IUIPartsService'])],_0xf30996[_0x54cb3d(0x42f)]);function _0x57dbc8(_0x510343){const {status$:_0x4055cc}=_0x510343;return function(){return _0xef77fd['jsx'](_0x62e78c,{'status$':_0x4055cc});};}var _0x4cc7d7=Object['getOwnPropertyDescriptor'],_0x37ea79=(_0x1778aa,_0x5ba26f,_0x5702f9,_0x4f153b)=>{const _0x2d4907=_0x54cb3d;for(var _0x5bc888=_0x4f153b>0x1?void 0x0:_0x4f153b?_0x4cc7d7(_0x5ba26f,_0x5702f9):_0x5ba26f,_0x2886f7=_0x1778aa[_0x2d4907(0x1e8)]-0x1,_0x4899b8;_0x2886f7>=0x0;_0x2886f7--)(_0x4899b8=_0x1778aa[_0x2886f7])&&(_0x5bc888=_0x4899b8(_0x5bc888)||_0x5bc888);return _0x5bc888;},_0xcbe01f=(_0x48b5b0,_0x50d7cd)=>(_0x4820db,_0x567ae6)=>_0x50d7cd(_0x4820db,_0x567ae6,_0x48b5b0);let _0x41935c=class extends _0x496d06[_0x54cb3d(0x3be)]{constructor(_0x273e82,_0x599886,_0x1169b4,_0x3f42ea,_0x853d65,_0x468e61){const _0x4f4b68=_0x54cb3d;super(),this[_0x4f4b68(0x2bf)]=_0x273e82,this[_0x4f4b68(0x45c)]=_0x599886,this[_0x4f4b68(0x280)]=_0x1169b4,this[_0x4f4b68(0x33b)]=_0x3f42ea,this[_0x4f4b68(0x21d)]=_0x853d65,this['_localeService']=_0x468e61,this[_0x4f4b68(0x2bc)](),this['_initEvent']();}[_0x54cb3d(0x2bc)](){const _0x3b0d23=_0x54cb3d;this[_0x3b0d23(0x37d)](this['_beforeCloseService'][_0x3b0d23(0x3d4)](()=>{const _0x59ab03=_0x3b0d23;if(this[_0x59ab03(0x45c)]['saveTaskMap'][_0x59ab03(0x41c)])return this[_0x59ab03(0x380)]['t'](_0x59ab03(0x26f));}));}[_0x54cb3d(0x416)](){const _0x5cf2ed=_0x54cb3d;this[_0x5cf2ed(0x37d)](this[_0x5cf2ed(0x280)]['event$'][_0x5cf2ed(0x2e3)](_0x3246c7=>{const _0x15d22f=_0x5cf2ed;_0x3246c7['id']===_0xbe53a0[_0x15d22f(0x1eb)][_0x15d22f(0x445)]&&this['_messageService'][_0x15d22f(0x420)]({'type':_0x47fd52[_0x15d22f(0x47f)][_0x15d22f(0x3c6)],'content':this[_0x15d22f(0x380)]['t'](_0x15d22f(0x43c))}),_0x3246c7['id']===_0xbe53a0['CollaborationUIEventId'][_0x15d22f(0x427)]&&this[_0x15d22f(0x33b)][_0x15d22f(0x420)]({'type':_0x47fd52[_0x15d22f(0x47f)]['Warning'],'content':this[_0x15d22f(0x380)]['t']('collaboration.closeRoom')}),_0x3246c7['id']===_0xbe53a0['CollaborationUIEventId'][_0x15d22f(0x2d8)]&&this[_0x15d22f(0x21d)][_0x15d22f(0x420)]({'title':this[_0x15d22f(0x380)]['t']('permission.title'),'content':this[_0x15d22f(0x380)]['t'](_0x15d22f(0x334)),'type':_0x15d22f(0x35e),'duration':0x0}),_0x3246c7['id']===_0xbe53a0['CollaborationUIEventId'][_0x15d22f(0x40e)]&&this[_0x15d22f(0x33b)]['show']({'type':_0x47fd52[_0x15d22f(0x47f)]['Error'],'content':this[_0x15d22f(0x380)]['t']('collaboration.closeRoom')+'('+_0x3246c7[_0x15d22f(0x3c1)]+')'}),_0x3246c7['id']===_0xbe53a0['CollaborationUIEventId'][_0x15d22f(0x270)]&&this[_0x15d22f(0x33b)]['show']({'type':_0x47fd52[_0x15d22f(0x47f)][_0x15d22f(0x3c6)],'content':this[_0x15d22f(0x380)]['t'](_0x3246c7['data']||'')}),_0x3246c7['id']===_0xbe53a0[_0x15d22f(0x1eb)][_0x15d22f(0x3ec)]&&this[_0x15d22f(0x33b)][_0x15d22f(0x420)]({'type':_0x47fd52[_0x15d22f(0x47f)][_0x15d22f(0x3c6)],'content':this[_0x15d22f(0x380)]['t']('session.will-retry')}),_0x3246c7['id']===_0xbe53a0[_0x15d22f(0x1eb)]['SOCKET_FAILED']&&this[_0x15d22f(0x33b)][_0x15d22f(0x420)]({'type':_0x47fd52[_0x15d22f(0x47f)][_0x15d22f(0x3ff)],'content':this[_0x15d22f(0x380)]['t'](_0x15d22f(0x402))}),_0x3246c7['id']===_0xbe53a0[_0x15d22f(0x1eb)][_0x15d22f(0x281)]&&this[_0x15d22f(0x33b)]['show']({'type':_0x47fd52[_0x15d22f(0x47f)][_0x15d22f(0x3ff)],'content':this[_0x15d22f(0x380)]['t'](_0x15d22f(0x234))});}));}};_0x41935c=_0x37ea79([_0xcbe01f(0x0,_0x1ea881['IBeforeCloseService']),_0xcbe01f(0x1,_0xbe53a0[_0x54cb3d(0x203)]),_0xcbe01f(0x2,_0x496d06[_0x54cb3d(0x257)](_0xbe53a0[_0x54cb3d(0x316)])),_0xcbe01f(0x3,_0x1ea881[_0x54cb3d(0x451)]),_0xcbe01f(0x4,_0x1ea881[_0x54cb3d(0x23c)]),_0xcbe01f(0x5,_0x496d06[_0x54cb3d(0x257)](_0x496d06[_0x54cb3d(0x411)]))],_0x41935c);const _0x404276=_0x54cb3d(0x2bd),_0x44d1a5={},_0x42d8e5=_0x496d06[_0x54cb3d(0x3ab)]('uni.network.url-service');var _0x58feb7=Object[_0x54cb3d(0x35b)],_0x5052f9=(_0x1de160,_0x4f9e4d,_0x515078,_0x4bd091)=>{const _0x56a97e=_0x54cb3d;for(var _0x396004=_0x4bd091>0x1?void 0x0:_0x4bd091?_0x58feb7(_0x4f9e4d,_0x515078):_0x4f9e4d,_0x537d9d=_0x1de160[_0x56a97e(0x1e8)]-0x1,_0x50c0e9;_0x537d9d>=0x0;_0x537d9d--)(_0x50c0e9=_0x1de160[_0x537d9d])&&(_0x396004=_0x50c0e9(_0x396004)||_0x396004);return _0x396004;},_0x18d11f=(_0x128b40,_0x1bd1d9)=>(_0x1c43e1,_0xe19cf5)=>_0x1bd1d9(_0x1c43e1,_0xe19cf5,_0x128b40);_0xf30996[_0x54cb3d(0x3a9)]=class extends _0x496d06['RxDisposable']{constructor(_0x86c827,_0x2d273a,_0x24ad5f,_0x918361,_0x24fa8b){const _0x2f44cc=_0x54cb3d;super(),this[_0x2f44cc(0x277)]=_0x86c827,this['_logService']=_0x2d273a,this['_commandService']=_0x24ad5f,this[_0x2f44cc(0x2ac)]=_0x918361,_0x24fa8b?_0x24fa8b==null||_0x24fa8b[_0x2f44cc(0x436)]()[_0x2f44cc(0x31b)](()=>this[_0x2f44cc(0x407)]()):(this['_logService']['debug'](_0x2f44cc(0x444),_0x2f44cc(0x253)),this[_0x2f44cc(0x407)]());}async[_0x54cb3d(0x407)](){const _0x14be7d=_0x54cb3d,_0x394b2f=this[_0x14be7d(0x277)][_0x14be7d(0x2c1)](_0x14be7d(0x1fa)),_0x300e3e=this[_0x14be7d(0x277)][_0x14be7d(0x2c1)]('type'),_0x5a5263=this[_0x14be7d(0x277)][_0x14be7d(0x2c1)]('subunit');if(!_0x394b2f||!_0x300e3e){this[_0x14be7d(0x424)]['debug'](_0x14be7d(0x444),_0x14be7d(0x28a));return;}const _0x534d3f=await this[_0x14be7d(0x2ac)][_0x14be7d(0x47d)](_0x394b2f,Number(_0x300e3e),_0x5a5263);_0x534d3f&&_0x534d3f instanceof _0x496d06[_0x14be7d(0x484)]&&this['_setupSubUnitSync'](_0x534d3f);}async[_0x54cb3d(0x2ae)](_0xb16ec8){const _0x1b7f63=_0x54cb3d;await this[_0x1b7f63(0x461)](_0xb16ec8),_0xb16ec8[_0x1b7f63(0x394)][_0x1b7f63(0x32d)](_0x1f84ca[_0x1b7f63(0x41e)](this['dispose$']))[_0x1b7f63(0x2e3)](_0x2c6bae=>{const _0x5f5a03=_0x1b7f63;_0x2c6bae&&this[_0x5f5a03(0x2e9)](_0x2c6bae);}),this[_0x1b7f63(0x277)][_0x1b7f63(0x3c0)][_0x1b7f63(0x32d)](_0x1f84ca[_0x1b7f63(0x41e)](this[_0x1b7f63(0x3e5)]))[_0x1b7f63(0x2e3)](()=>this['_updateSubUnitFromURLParams'](_0xb16ec8));}['_updateURLWithCurrentState'](_0x53de48,_0x3c0ba5=!0x1){const _0x221e58=_0x54cb3d,_0x492daf=this[_0x221e58(0x277)][_0x221e58(0x2c1)]('subunit');_0x53de48[_0x221e58(0x415)]()!==_0x492daf&&this['_urlService'][_0x221e58(0x332)]('subunit',_0x53de48[_0x221e58(0x415)](),_0x3c0ba5);}async['_updateSubUnitFromURLParams'](_0x1d4230){const _0x4a81ec=_0x54cb3d;var _0x11403a;const _0x4b869f=this[_0x4a81ec(0x277)][_0x4a81ec(0x2c1)](_0x4a81ec(0x347));if(!_0x4b869f||!_0x1d4230[_0x4a81ec(0x3b0)](_0x4b869f)){const _0x492395=_0x1d4230[_0x4a81ec(0x3b3)]()[0x0],_0x43e980=_0x1d4230['getSheetBySheetId'](_0x492395);if(!_0x43e980)return;this['_updateURLWithCurrentState'](_0x43e980,!0x0),await this[_0x4a81ec(0x2e0)][_0x4a81ec(0x25a)](_0x36ae62['SetWorksheetActivateCommand']['id'],{'unitId':_0x1d4230[_0x4a81ec(0x2b4)](),'subUnitId':_0x492395});return;}((_0x11403a=_0x1d4230[_0x4a81ec(0x36f)]())==null?void 0x0:_0x11403a['getSheetId']())!==_0x4b869f&&await this['_commandService']['executeCommand'](_0x36ae62[_0x4a81ec(0x1ea)]['id'],{'unitId':_0x1d4230['getUnitId'](),'subUnitId':_0x4b869f});}},_0xf30996[_0x54cb3d(0x3a9)]=_0x5052f9([_0x18d11f(0x0,_0x42d8e5),_0x18d11f(0x1,_0x496d06[_0x54cb3d(0x3f6)]),_0x18d11f(0x2,_0x496d06[_0x54cb3d(0x3c7)]),_0x18d11f(0x3,_0x496d06[_0x54cb3d(0x257)](_0xbe53a0[_0x54cb3d(0x30e)])),_0x18d11f(0x4,_0x496d06[_0x54cb3d(0x473)](_0x34c09a[_0x54cb3d(0x355)]))],_0xf30996['CollaborationDataLoaderController']);var _0x3d043e=Object[_0x54cb3d(0x35b)],_0x4499ff=(_0x4ae656,_0x272889,_0x5884cc,_0x3cbc3a)=>{for(var _0x114279=_0x3cbc3a>0x1?void 0x0:_0x3cbc3a?_0x3d043e(_0x272889,_0x5884cc):_0x272889,_0x4704b7=_0x4ae656['length']-0x1,_0x4dc5b1;_0x4704b7>=0x0;_0x4704b7--)(_0x4dc5b1=_0x4ae656[_0x4704b7])&&(_0x114279=_0x4dc5b1(_0x114279)||_0x114279);return _0x114279;},_0x426068=(_0x3b9b90,_0x2ca8d4)=>(_0x14736c,_0xd90dcb)=>_0x2ca8d4(_0x14736c,_0xd90dcb,_0x3b9b90);let _0x13e534=class{constructor(_0x45ef9c,_0x272ea4,_0x51764d){const _0x3859e9=_0x54cb3d;this[_0x3859e9(0x32a)]=_0x45ef9c,this[_0x3859e9(0x2f6)]=_0x272ea4,this[_0x3859e9(0x24b)]=_0x51764d;}[_0x54cb3d(0x2f3)](_0x14566a){const _0x388291=_0x54cb3d;this[_0x388291(0x2cf)](_0x14566a),this[_0x388291(0x206)](_0x14566a);}[_0x54cb3d(0x36b)](_0x417ea1){const _0x35549f=_0x54cb3d,{unitID:_0x3dbe62}=_0x417ea1,_0x5e9b92=this['_renderManagerService']['getRenderById'](_0x3dbe62)[_0x35549f(0x3e1)](_0x35faaf[_0x35549f(0x441)]),{redoCache:_0x52b938}=_0x5e9b92[_0x35549f(0x2a3)]();if(_0x52b938['length']===0x0)return _0x417ea1;let _0x116278=_0x496d06[_0x35549f(0x3f7)]['deepClone'](_0x417ea1[_0x35549f(0x472)][0x0]);for(let _0x663e9a=0x0;_0x663e9a<_0x52b938['length'];_0x663e9a++){const _0x988026={'id':_0x35549f(0x29b),'params':{..._0x52b938[_0x663e9a]}},_0xc6e6b1=this[_0x35549f(0x2f6)]['transformMutation'](_0x116278,_0x988026,!0x1);if(_0xf2713c['isTransformMutationFailure'](_0xc6e6b1))throw _0xc6e6b1[_0x35549f(0x35e)];_0x116278=_0xc6e6b1[_0x35549f(0x3a8)];}return{..._0x496d06[_0x35549f(0x3f7)][_0x35549f(0x41a)](_0x417ea1),'mutations':[_0x116278]};}[_0x54cb3d(0x2cf)](_0x20e3c8){const _0x3c766e=_0x54cb3d,{unitID:_0x3f72b9}=_0x20e3c8,_0x7a7f30=this['_renderManagerService'][_0x3c766e(0x428)](_0x3f72b9)[_0x3c766e(0x3e1)](_0x35faaf[_0x3c766e(0x441)]),{undoCache:_0x4ccf9c,redoCache:_0x15c5a4}=_0x7a7f30[_0x3c766e(0x2a3)]();if(_0x4ccf9c[_0x3c766e(0x1e8)]===0x0||_0x15c5a4[_0x3c766e(0x1e8)]===0x0)return;const _0x47fd88=[],_0x2742a9=[];let _0x211eaf=_0x496d06[_0x3c766e(0x3f7)]['deepClone'](_0x20e3c8['mutations'][0x0]),_0x362266=_0x496d06[_0x3c766e(0x3f7)]['deepClone'](_0x20e3c8[_0x3c766e(0x472)][0x0]);for(let _0x58604b=_0x4ccf9c[_0x3c766e(0x1e8)]-0x1;_0x58604b>=0x0;_0x58604b--){const _0x4dad92={'id':_0x3c766e(0x29b),'params':{..._0x4ccf9c[_0x58604b]}},_0x5ec63c={'id':'doc.mutation.rich-text-editing','params':{..._0x15c5a4[_0x58604b]}},_0x3293b5=this[_0x3c766e(0x2f6)][_0x3c766e(0x3b7)](_0x211eaf,_0x4dad92,!0x1),_0x288977=this['_transformService'][_0x3c766e(0x3b7)](_0x362266,_0x5ec63c,!0x1);if(_0xf2713c['isTransformMutationFailure'](_0x3293b5))throw _0x3293b5[_0x3c766e(0x35e)];if(_0xf2713c['isTransformMutationFailure'](_0x288977))throw _0x288977[_0x3c766e(0x35e)];_0x47fd88[_0x3c766e(0x323)](_0x3293b5[_0x3c766e(0x399)][_0x3c766e(0x259)]),_0x2742a9[_0x3c766e(0x323)](_0x288977[_0x3c766e(0x399)][_0x3c766e(0x259)]),_0x211eaf=_0x3293b5[_0x3c766e(0x3a8)],_0x362266=_0x288977[_0x3c766e(0x3a8)];}_0x7a7f30[_0x3c766e(0x1e3)]({'undoCache':_0x47fd88,'redoCache':_0x2742a9});}[_0x54cb3d(0x206)](_0x4cfd82){const _0x1539a7=_0x54cb3d,{unitID:_0x341a67}=_0x4cfd82,_0x223a9b=this['_renderManagerService']['getRenderById'](_0x341a67)['with'](_0x35faaf[_0x1539a7(0x441)]),_0x5c53fb=_0x223a9b[_0x1539a7(0x369)]();if(_0x5c53fb==null)return;const _0x4f2f99=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cfd82['unitID'],'actions':null,'textRanges':[_0x5c53fb]}}],_0x3d74b2=this[_0x1539a7(0x2f6)][_0x1539a7(0x38a)](_0x4cfd82,_0x4f2f99);if(!_0xf2713c['isTransformMutationsWithChangesetSuccess'](_0x3d74b2))throw _0x3d74b2[_0x1539a7(0x35e)];const _0x3f6329=_0x3d74b2['m2Prime'][0x0][_0x1539a7(0x259)][_0x1539a7(0x2aa)];Array[_0x1539a7(0x3f9)](_0x3f6329)&&_0x3f6329[_0x1539a7(0x1e8)]&&_0x223a9b[_0x1539a7(0x338)](_0x3f6329[0x0]);}};_0x13e534=_0x4499ff([_0x426068(0x0,_0x496d06[_0x54cb3d(0x257)](_0x496d06[_0x54cb3d(0x419)])),_0x426068(0x1,_0xf2713c[_0x54cb3d(0x31f)]),_0x426068(0x2,_0x8d3144[_0x54cb3d(0x22c)])],_0x13e534);var _0x6fa7e5=Object[_0x54cb3d(0x35b)],_0x41ad9d=(_0x3b717e,_0x2aa0ee,_0x341e86,_0x18e2b3)=>{for(var _0x230ff1=_0x18e2b3>0x1?void 0x0:_0x18e2b3?_0x6fa7e5(_0x2aa0ee,_0x341e86):_0x2aa0ee,_0x8ae2dd=_0x3b717e['length']-0x1,_0x547f40;_0x8ae2dd>=0x0;_0x8ae2dd--)(_0x547f40=_0x3b717e[_0x8ae2dd])&&(_0x230ff1=_0x547f40(_0x230ff1)||_0x230ff1);return _0x230ff1;},_0x44a23a=(_0x423441,_0x3de2a3)=>(_0x135660,_0x466f99)=>_0x3de2a3(_0x135660,_0x466f99,_0x423441);let _0x563bfa=class{constructor(_0x4b5fae,_0x3171c7,_0x12f45b){const _0xe9a034=_0x54cb3d;this[_0xe9a034(0x32a)]=_0x4b5fae,this[_0xe9a034(0x2f6)]=_0x3171c7,this[_0xe9a034(0x2a9)]=_0x12f45b;}['transformStateCache'](_0x28bd70){const _0x73b1e7=_0x54cb3d;this[_0x73b1e7(0x40a)](_0x28bd70);}[_0x54cb3d(0x36b)](_0x25921f){const _0x5807b8=_0x54cb3d,{unitID:_0x436fa1}=_0x25921f,{collaboration:_0x4b59a3}=this['_docStateChangeManagerService'][_0x5807b8(0x3ee)](_0x436fa1);if(_0x4b59a3[_0x5807b8(0x1e8)]===0x0)return _0x25921f;let _0x3d1a0e=_0x496d06[_0x5807b8(0x3f7)][_0x5807b8(0x41a)](_0x25921f[_0x5807b8(0x472)][0x0]);for(let _0x16b738=0x0;_0x16b738<_0x4b59a3[_0x5807b8(0x1e8)];_0x16b738++){const _0x2aea6c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4b59a3[_0x16b738]['unitId'],..._0x4b59a3[_0x16b738][_0x5807b8(0x233)]}},_0x2556f6=this[_0x5807b8(0x2f6)][_0x5807b8(0x3b7)](_0x3d1a0e,_0x2aea6c,!0x1);if(_0xf2713c[_0x5807b8(0x393)](_0x2556f6))throw _0x2556f6['error'];_0x3d1a0e=_0x2556f6[_0x5807b8(0x3a8)];}return{..._0x496d06[_0x5807b8(0x3f7)][_0x5807b8(0x41a)](_0x25921f),'mutations':[_0x3d1a0e]};}[_0x54cb3d(0x40a)](_0x29352b){const _0x2f585b=_0x54cb3d,{unitID:_0x56dde3}=_0x29352b,{history:_0x3f4610,collaboration:_0x386075}=this[_0x2f585b(0x2a9)][_0x2f585b(0x3ee)](_0x56dde3);if(_0x3f4610[_0x2f585b(0x1e8)]===0x0&&_0x386075[_0x2f585b(0x1e8)]===0x0)return;const _0x3a0b06=[],_0x28d3fa=[];let _0x245a2a=_0x496d06[_0x2f585b(0x3f7)][_0x2f585b(0x41a)](_0x29352b[_0x2f585b(0x472)][0x0]),_0x36394e=_0x496d06['Tools'][_0x2f585b(0x41a)](_0x29352b[_0x2f585b(0x472)][0x0]);for(let _0x253c9a=_0x3f4610[_0x2f585b(0x1e8)]-0x1;_0x253c9a>=0x0;_0x253c9a--){const _0x1a6bb8={'id':_0x2f585b(0x29b),'params':{'unitId':_0x3f4610[_0x253c9a][_0x2f585b(0x437)],..._0x3f4610[_0x253c9a][_0x2f585b(0x296)]}},_0x5e3b94={'id':_0x2f585b(0x29b),'params':{'unitId':_0x3f4610[_0x253c9a]['unitId'],..._0x3f4610[_0x253c9a][_0x2f585b(0x233)]}},_0x30e80e=this['_transformService']['transformMutation'](_0x245a2a,_0x1a6bb8,!0x1),_0x229381=this[_0x2f585b(0x2f6)][_0x2f585b(0x3b7)](_0x36394e,_0x5e3b94,!0x1);if(_0xf2713c[_0x2f585b(0x393)](_0x30e80e))throw _0x30e80e[_0x2f585b(0x35e)];if(_0xf2713c[_0x2f585b(0x393)](_0x229381))throw _0x229381[_0x2f585b(0x35e)];_0x3a0b06[_0x2f585b(0x323)]({..._0x3f4610[_0x253c9a],'undoState':_0x30e80e[_0x2f585b(0x399)][_0x2f585b(0x259)],'redoState':_0x229381[_0x2f585b(0x399)]['params']}),_0x245a2a=_0x30e80e['m1Prime'],_0x36394e=_0x229381[_0x2f585b(0x3a8)];}_0x245a2a=_0x496d06['Tools'][_0x2f585b(0x41a)](_0x29352b[_0x2f585b(0x472)][0x0]),_0x36394e=_0x496d06[_0x2f585b(0x3f7)][_0x2f585b(0x41a)](_0x29352b[_0x2f585b(0x472)][0x0]);for(let _0x530604=_0x386075['length']-0x1;_0x530604>=0x0;_0x530604--){const _0x49b390={'id':_0x2f585b(0x29b),'params':{'unitId':_0x386075[_0x530604]['unitId'],..._0x386075[_0x530604]['undoState']}},_0x108400={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x386075[_0x530604]['unitId'],..._0x386075[_0x530604][_0x2f585b(0x233)]}},_0x4c8dbd=this[_0x2f585b(0x2f6)][_0x2f585b(0x3b7)](_0x245a2a,_0x49b390,!0x1),_0xef48d5=this[_0x2f585b(0x2f6)]['transformMutation'](_0x36394e,_0x108400,!0x1);if(_0xf2713c[_0x2f585b(0x393)](_0x4c8dbd))throw _0x4c8dbd[_0x2f585b(0x35e)];if(_0xf2713c[_0x2f585b(0x393)](_0xef48d5))throw _0xef48d5[_0x2f585b(0x35e)];_0x28d3fa[_0x2f585b(0x323)]({..._0x386075[_0x530604],'undoState':_0x4c8dbd['m2Prime'][_0x2f585b(0x259)],'redoState':_0xef48d5[_0x2f585b(0x399)][_0x2f585b(0x259)]}),_0x245a2a=_0x4c8dbd[_0x2f585b(0x3a8)],_0x36394e=_0xef48d5[_0x2f585b(0x3a8)];}this[_0x2f585b(0x2a9)]['setStateCache'](_0x56dde3,{'history':_0x3a0b06,'collaboration':_0x28d3fa});}};_0x563bfa=_0x41ad9d([_0x44a23a(0x0,_0x496d06[_0x54cb3d(0x257)](_0x496d06[_0x54cb3d(0x419)])),_0x44a23a(0x1,_0xf2713c[_0x54cb3d(0x31f)]),_0x44a23a(0x2,_0x496d06['Inject'](_0x35faaf[_0x54cb3d(0x230)]))],_0x563bfa);var _0x4007b8=Object[_0x54cb3d(0x35b)],_0x3334ad=(_0xa7fe1c,_0x4eb77c,_0x285845,_0x4cad2a)=>{for(var _0x11ae82=_0x4cad2a>0x1?void 0x0:_0x4cad2a?_0x4007b8(_0x4eb77c,_0x285845):_0x4eb77c,_0x379f46=_0xa7fe1c['length']-0x1,_0x2cef7c;_0x379f46>=0x0;_0x379f46--)(_0x2cef7c=_0xa7fe1c[_0x379f46])&&(_0x11ae82=_0x2cef7c(_0x11ae82)||_0x11ae82);return _0x11ae82;},_0x5aa006=(_0x29ab09,_0x3ddda1)=>(_0x781cf9,_0x2e6cbf)=>_0x3ddda1(_0x781cf9,_0x2e6cbf,_0x29ab09);let _0x281b9f=class{constructor(_0x41d177,_0x58ed46){this['_injector']=_0x41d177,this['_transformService']=_0x58ed46;}[_0x54cb3d(0x2f2)](_0x45426b){const _0x96bc84=_0x54cb3d;var _0x1ae12a;const _0x1d2766=this[_0x96bc84(0x32a)]['get'](_0x110776[_0x96bc84(0x3c9)]),_0x63e308=(_0x1ae12a=_0x1d2766['getDocRanges']())!=null?_0x1ae12a:[];if(_0x63e308['length']===0x0)return;const _0x424fee=_0x45426b[_0x96bc84(0x263)],_0x39b8ab=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x424fee,'actions':null,'textRanges':_0x63e308}}],_0x543cfa=this[_0x96bc84(0x2f6)]['transformMutationsWithChangeset'](_0x45426b,_0x39b8ab);if(!_0xf2713c[_0x96bc84(0x2e1)](_0x543cfa))throw _0x543cfa[_0x96bc84(0x35e)];const _0x4d4115=_0x543cfa[_0x96bc84(0x399)][0x0][_0x96bc84(0x259)]['textRanges'];Array[_0x96bc84(0x3f9)](_0x4d4115)&&_0x4d4115[_0x96bc84(0x1e8)]&&_0x1d2766[_0x96bc84(0x317)](_0x4d4115,{'unitId':_0x424fee,'subUnitId':_0x424fee},!0x1);}};_0x281b9f=_0x3334ad([_0x5aa006(0x0,_0x496d06[_0x54cb3d(0x257)](_0x496d06[_0x54cb3d(0x419)])),_0x5aa006(0x1,_0xf2713c[_0x54cb3d(0x31f)])],_0x281b9f);var _0x1b153d=Object[_0x54cb3d(0x35b)],_0x34332f=(_0x21bab1,_0x2bfd56,_0xaef7c5,_0x90ba1f)=>{const _0x4e1704=_0x54cb3d;for(var _0x3717ad=_0x90ba1f>0x1?void 0x0:_0x90ba1f?_0x1b153d(_0x2bfd56,_0xaef7c5):_0x2bfd56,_0x9e3db5=_0x21bab1[_0x4e1704(0x1e8)]-0x1,_0x5e5d73;_0x9e3db5>=0x0;_0x9e3db5--)(_0x5e5d73=_0x21bab1[_0x9e3db5])&&(_0x3717ad=_0x5e5d73(_0x3717ad)||_0x3717ad);return _0x3717ad;},_0x337cc5=(_0x4a8c5d,_0x31f73f)=>(_0x4052f5,_0x1d7f58)=>_0x31f73f(_0x4052f5,_0x1d7f58,_0x4a8c5d);let _0x411fb3=class extends _0x496d06['Disposable']{constructor(_0x557544,_0x49a12d,_0x5532c5,_0x754f2e,_0x3217a0,_0x4958c0,_0x307a4a,_0x490ef8){const _0x56e811=_0x54cb3d;super(),_0x3c80c3(this,_0x56e811(0x35f),new _0x1f84ca[(_0x56e811(0x3c4))](_0xbe53a0[_0x56e811(0x423)]['NOT_COLLAB'])),(this[_0x56e811(0x2a9)]=_0x557544,this[_0x56e811(0x27d)]=_0x49a12d,this[_0x56e811(0x256)]=_0x5532c5,this[_0x56e811(0x2e4)]=_0x754f2e,this[_0x56e811(0x252)]=_0x3217a0,this['_docSyncEditingCollabCursorService']=_0x4958c0,this[_0x56e811(0x33b)]=_0x307a4a,this[_0x56e811(0x380)]=_0x490ef8,this[_0x56e811(0x249)]());}[_0x54cb3d(0x249)](){const _0x2aacee=_0x54cb3d;this['disposeWithMe'](this['_collaborationController'][_0x2aacee(0x3a5)]['subscribe'](_0x354394=>{const _0x810501=_0x2aacee,_0x5c9ac0=this[_0x810501(0x2a9)]['docStateChange$'][_0x810501(0x2e3)](_0x5d6b95=>{const _0x336c9e=_0x810501;if(_0x5d6b95==null)return;const {unitId:_0x11c898,redoState:_0x4f6fb9,commandId:_0x33731c}=_0x5d6b95;if(_0x11c898!==_0x354394['unitID'])return;const _0x57b0e4={'id':_0x33731c,'type':_0x496d06[_0x336c9e(0x241)][_0x336c9e(0x2a6)],'params':{'unitId':_0x11c898,'actions':_0x4f6fb9[_0x336c9e(0x38e)],'textRanges':null}};_0x354394[_0x336c9e(0x39d)](_0x57b0e4);});if(_0x354394['disposeWithMe'](_0x5c9ac0),_0x354394 instanceof _0xbe53a0[_0x810501(0x462)]){const _0x5bf677={'onTransformIME':_0x55f3cf=>this[_0x810501(0x256)][_0x810501(0x2f3)](_0x55f3cf),'onTransformState':_0x187b84=>this['_docTransformStateCacheService'][_0x810501(0x28e)](_0x187b84),'onTransformSelections':_0x411423=>this[_0x810501(0x252)]['transformSelections'](_0x411423),'onSyncEditingCollabCursor':_0x256180=>this[_0x810501(0x38c)]['syncEditingCollabCursor'](_0x256180),'onTransformRemoteChangesetByIMECache':_0x40efaa=>this[_0x810501(0x256)][_0x810501(0x36b)](_0x40efaa),'onTransformRemoteChangesetByStateCache':_0xac62d7=>this[_0x810501(0x2e4)][_0x810501(0x36b)](_0xac62d7)};_0x354394['addHandlerCallback'](_0x5bf677);}}));}};_0x411fb3=_0x34332f([_0x337cc5(0x0,_0x496d06[_0x54cb3d(0x257)](_0x35faaf['DocStateChangeManagerService'])),_0x337cc5(0x1,_0x496d06['Inject'](_0xbe53a0[_0x54cb3d(0x2d1)])),_0x337cc5(0x2,_0x496d06['Inject'](_0x13e534)),_0x337cc5(0x3,_0x496d06['Inject'](_0x563bfa)),_0x337cc5(0x4,_0x496d06[_0x54cb3d(0x257)](_0x281b9f)),_0x337cc5(0x5,_0x496d06[_0x54cb3d(0x257)](_0x2d2ac7)),_0x337cc5(0x6,_0x1ea881['IMessageService']),_0x337cc5(0x7,_0x496d06[_0x54cb3d(0x257)](_0x496d06[_0x54cb3d(0x411)]))],_0x411fb3);var _0x54a9d3=Object['getOwnPropertyDescriptor'],_0xb798c=(_0x35f733,_0x34dcbe,_0x3d9e87,_0x5a10ca)=>{for(var _0x849d04=_0x5a10ca>0x1?void 0x0:_0x5a10ca?_0x54a9d3(_0x34dcbe,_0x3d9e87):_0x34dcbe,_0x4172d4=_0x35f733['length']-0x1,_0x42f1d3;_0x4172d4>=0x0;_0x4172d4--)(_0x42f1d3=_0x35f733[_0x4172d4])&&(_0x849d04=_0x42f1d3(_0x849d04)||_0x849d04);return _0x849d04;},_0x117cbc=(_0x25873a,_0x59f574)=>(_0x4a6106,_0x1a8eeb)=>_0x59f574(_0x4a6106,_0x1a8eeb,_0x25873a);let _0x2aa403=class extends _0x496d06[_0x54cb3d(0x3be)]{constructor(_0x1c8ddc,_0x123fbd,_0x1bf215){const _0x3252a0=_0x54cb3d;super(),_0x3c80c3(this,_0x3252a0(0x371),new Map()),_0x3c80c3(this,_0x3252a0(0x42c),new Map()),_0x3c80c3(this,_0x3252a0(0x200),!0x1),(this[_0x3252a0(0x29c)]=_0x1c8ddc,this[_0x3252a0(0x3aa)]=_0x123fbd,this[_0x3252a0(0x293)]=_0x1bf215);}[_0x54cb3d(0x36c)](){this['_disabled']=!0x0;}[_0x54cb3d(0x23b)](){this['_disabled']=!0x1;}get[_0x54cb3d(0x2ff)](){return this['_saveTaskMap'];}[_0x54cb3d(0x2a0)](){const _0x1051d7=_0x54cb3d;this[_0x1051d7(0x28d)]()[_0x1051d7(0x31b)](()=>super[_0x1051d7(0x2a0)]());}async['loadOfflineData'](_0x17b7f5){const _0x467422=_0x54cb3d;return this[_0x467422(0x200)]?null:this[_0x467422(0x3aa)][_0x467422(0x31e)](_0xbe53a0[_0x467422(0x2de)](_0x17b7f5));}async[_0x54cb3d(0x2da)](_0xc48ed6,_0x436ec8){const _0x544fe7=_0x54cb3d;return!!this[_0x544fe7(0x3aa)][_0x544fe7(0x3d0)](_0xc48ed6,_0x436ec8);}[_0x54cb3d(0x1fe)](_0xba3a9a,_0x4672bf,_0x2ec952,_0x1bd1f0){const _0x317385=_0x54cb3d,_0x40be57=this['_revisionService'][_0x317385(0x31d)](_0xba3a9a);this[_0x317385(0x371)][_0x317385(0x327)](_0xba3a9a,{'unitID':_0xba3a9a,'type':_0x4672bf,'awaitingChangeset':_0x2ec952,'mutations':_0x1bd1f0,'rev':_0x40be57}),this['_saveTaskMap'][_0x317385(0x43b)](_0xba3a9a)||this['_scheduleSaving'](_0xba3a9a);}[_0x54cb3d(0x44b)](_0x342e56){const _0x2b6405=_0x54cb3d,_0x3157a4=this['_getSaveTimeout']();_0x3157a4===0x0?this[_0x2b6405(0x3a7)](_0x342e56):this[_0x2b6405(0x42c)][_0x2b6405(0x327)](_0x342e56,setTimeout(()=>this[_0x2b6405(0x3a7)](_0x342e56),_0x3157a4));}[_0x54cb3d(0x410)](){const _0x23387d=_0x54cb3d;var _0x2fb209;return(_0x2fb209=this[_0x23387d(0x29c)][_0x23387d(0x460)](_0xbe53a0[_0x23387d(0x38b)]))!=null?_0x2fb209:_0xbe53a0[_0x23387d(0x43e)];}[_0x54cb3d(0x3a7)](_0x4f4294){const _0x34bd7f=_0x54cb3d,_0x114e8c=this[_0x34bd7f(0x42c)]['get'](_0x4f4294);return _0x114e8c!==void 0x0&&window[_0x34bd7f(0x3e4)](_0x114e8c),this[_0x34bd7f(0x3aa)][_0x34bd7f(0x3d0)](_0xbe53a0[_0x34bd7f(0x2de)](_0x4f4294),this[_0x34bd7f(0x371)]['get'](_0x4f4294))[_0x34bd7f(0x31b)](()=>this['_saveTaskMap']['delete'](_0x4f4294));}async['exhaustSavingTask'](){const _0x577c04=_0x54cb3d,_0x297e04=[];this[_0x577c04(0x42c)][_0x577c04(0x311)]((_0x6c6e13,_0x43f3a7)=>{const _0x43f12c=_0x577c04;window[_0x43f12c(0x3e4)](_0x6c6e13),_0x297e04[_0x43f12c(0x2f9)](this[_0x43f12c(0x3a7)](_0x43f3a7)['then'](()=>{const _0x1e6eac=_0x43f12c;this[_0x1e6eac(0x42c)]['delete'](_0x43f3a7);}));}),await Promise[_0x577c04(0x40b)](_0x297e04);}};_0x2aa403=_0xb798c([_0x117cbc(0x0,_0x496d06[_0x54cb3d(0x1f5)]),_0x117cbc(0x1,_0x496d06[_0x54cb3d(0x1f9)]),_0x117cbc(0x2,_0x496d06['Inject'](_0xf2713c['RevisionService']))],_0x2aa403);class _0x202064 extends _0x496d06[_0x54cb3d(0x23e)]{constructor(){const _0x498145=_0x54cb3d;super(),_0x3c80c3(this,_0x498145(0x3c0)),this[_0x498145(0x3c0)]=_0x1f84ca[_0x498145(0x3f5)](window,_0x498145(0x22e))[_0x498145(0x32d)](_0x1f84ca[_0x498145(0x41e)](this[_0x498145(0x3e5)]),_0x1f84ca[_0x498145(0x452)](0x1),_0x1f84ca[_0x498145(0x292)](void 0x0));}['setParam'](_0x118b6b,_0x1b8743,_0x59271e=!0x1){const _0x2fd02f=_0x54cb3d,_0x5dda4b=new URL(window[_0x2fd02f(0x1e4)][_0x2fd02f(0x29d)]);_0x5dda4b['searchParams'][_0x2fd02f(0x327)](_0x118b6b,_0x1b8743),_0x59271e?window[_0x2fd02f(0x357)][_0x2fd02f(0x346)]('','',_0x5dda4b[_0x2fd02f(0x405)]()):window[_0x2fd02f(0x357)]['pushState']('','',_0x5dda4b[_0x2fd02f(0x405)]());}['removeParam'](_0x16c016,_0x33dad3=!0x1){const _0xcf2b50=_0x54cb3d,_0x670195=new URL(window[_0xcf2b50(0x1e4)]['href']);_0x670195[_0xcf2b50(0x391)][_0xcf2b50(0x417)](_0x16c016),_0x33dad3?window[_0xcf2b50(0x357)][_0xcf2b50(0x346)]('','',_0x670195[_0xcf2b50(0x405)]()):window[_0xcf2b50(0x357)][_0xcf2b50(0x41d)]('','',_0x670195[_0xcf2b50(0x405)]());}[_0x54cb3d(0x2c1)](_0x3128b4){const _0xa92d58=_0x54cb3d;var _0x292216;return(_0x292216=new URL(window[_0xa92d58(0x1e4)][_0xa92d58(0x29d)])[_0xa92d58(0x391)][_0xa92d58(0x479)](_0x3128b4))!=null?_0x292216:void 0x0;}}var _0x1d25a0=Object['defineProperty'],_0x3c663a=Object['getOwnPropertyDescriptor'],_0x2991c0=(_0xee8a14,_0xdbaff5,_0xbb9706)=>_0xdbaff5 in _0xee8a14?_0x1d25a0(_0xee8a14,_0xdbaff5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbb9706}):_0xee8a14[_0xdbaff5]=_0xbb9706,_0x23b02f=(_0x44647d,_0x34aa70,_0x524b66,_0x59cf56)=>{for(var _0x56eab1=_0x59cf56>0x1?void 0x0:_0x59cf56?_0x3c663a(_0x34aa70,_0x524b66):_0x34aa70,_0x4ba268=_0x44647d['length']-0x1,_0x4415c5;_0x4ba268>=0x0;_0x4ba268--)(_0x4415c5=_0x44647d[_0x4ba268])&&(_0x56eab1=_0x4415c5(_0x56eab1)||_0x56eab1);return _0x56eab1;},_0x5a5716=(_0x5aaa09,_0x568c4d)=>(_0x15fc8f,_0x4662ef)=>_0x568c4d(_0x15fc8f,_0x4662ef,_0x5aaa09),_0x21ec7=(_0x5d93fa,_0x2ad3e4,_0x1c22f6)=>_0x2991c0(_0x5d93fa,_0x2ad3e4+'',_0x1c22f6);const _0x15d0e1=_0x54cb3d(0x302);_0xf30996['UniverCollaborationClientUIPlugin']=class extends _0x496d06[_0x54cb3d(0x389)]{constructor(_0x3c3adc=_0x44d1a5,_0x3aad13,_0x532e72,_0x5de53e){const _0x32fbb5=_0x54cb3d;super(),this['_config']=_0x3c3adc,this[_0x32fbb5(0x24b)]=_0x3aad13,this['_injector']=_0x532e72,this['_configService']=_0x5de53e;const {..._0x3bdfdd}=_0x496d06[_0x32fbb5(0x29e)]({},_0x44d1a5,this[_0x32fbb5(0x217)]);this['_configService'][_0x32fbb5(0x47c)](_0x404276,_0x3bdfdd);}[_0x54cb3d(0x25c)](){const _0x43bb5a=_0x54cb3d;this[_0x43bb5a(0x28c)](),this[_0x43bb5a(0x245)]();}[_0x54cb3d(0x26d)](){const _0x57ebfd=_0x54cb3d;this[_0x57ebfd(0x235)]();}[_0x54cb3d(0x28c)](){const _0x2e4544=_0x54cb3d;var _0x52a8d0;const _0x394318=[[_0x5cc4a9],[_0x281b9f],[_0x13e534],[_0x563bfa],[_0x2d2ac7],[_0x42d8e5,{'useClass':_0x202064}],[_0x4fda2f[_0x2e4544(0x288)],{'useClass':_0x4fda2f[_0x2e4544(0x2ea)]}],[_0xbe53a0[_0x2e4544(0x203)],{'useClass':_0x2aa403}],[_0xf30996[_0x2e4544(0x42f)]],[_0x411fb3],[_0x41935c],[_0x96e5af],[_0x11f54a],[_0xf30996[_0x2e4544(0x3a9)]]];_0x496d06['registerDependencies'](this['_injector'],_0x496d06['mergeOverrideWithDependencies'](_0x394318,(_0x52a8d0=this[_0x2e4544(0x217)])==null?void 0x0:_0x52a8d0[_0x2e4544(0x439)]));}[_0x54cb3d(0x235)](){const _0x3f2d7d=_0x54cb3d;this[_0x3f2d7d(0x37d)](this[_0x3f2d7d(0x24b)][_0x3f2d7d(0x3d9)](_0x496d06[_0x3f2d7d(0x448)][_0x3f2d7d(0x262)],[_0x59361c])),this[_0x3f2d7d(0x37d)](this[_0x3f2d7d(0x24b)][_0x3f2d7d(0x3d9)](_0x496d06[_0x3f2d7d(0x448)][_0x3f2d7d(0x237)],[_0x4ab05a]));}[_0x54cb3d(0x245)](){const _0x2df971=_0x54cb3d;_0x496d06['touchDependencies'](this[_0x2df971(0x32a)],[[_0x96e5af],[_0xf30996[_0x2df971(0x42f)]],[_0x411fb3],[_0x41935c],[_0xf30996[_0x2df971(0x3a9)]]]);}},_0x21ec7(_0xf30996['UniverCollaborationClientUIPlugin'],_0x54cb3d(0x485),_0x15d0e1),_0xf30996[_0x54cb3d(0x2d5)]=_0x23b02f([_0x496d06[_0x54cb3d(0x1e5)](_0xbe53a0[_0x54cb3d(0x440)]),_0x5a5716(0x1,_0x8d3144[_0x54cb3d(0x22c)]),_0x5a5716(0x2,_0x496d06[_0x54cb3d(0x257)](_0x496d06['Injector'])),_0x5a5716(0x3,_0x496d06['IConfigService'])],_0xf30996['UniverCollaborationClientUIPlugin']);var _0x20134f=Object['getOwnPropertyDescriptor'],_0x1b0d51=(_0x5e3f66,_0x5d41e3,_0x206075,_0xc6c49a)=>{for(var _0x893e63=_0xc6c49a>0x1?void 0x0:_0xc6c49a?_0x20134f(_0x5d41e3,_0x206075):_0x5d41e3,_0x1f90e6=_0x5e3f66['length']-0x1,_0x2254f3;_0x1f90e6>=0x0;_0x1f90e6--)(_0x2254f3=_0x5e3f66[_0x1f90e6])&&(_0x893e63=_0x2254f3(_0x893e63)||_0x893e63);return _0x893e63;},_0x4d13ce=(_0x234304,_0x5049f1)=>(_0x50ac07,_0x57f333)=>_0x5049f1(_0x50ac07,_0x57f333,_0x234304);_0xf30996[_0x54cb3d(0x447)]=class extends _0xbe53a0[_0x54cb3d(0x39b)]{constructor(_0x4a39e9,_0x4e3ed3,_0x3a895a,_0x3f6381,_0x3e5324){super(_0x4a39e9,_0x4e3ed3,_0x3a895a,_0x3f6381,_0x3e5324);}async['createSocket'](_0x1721d2){const _0x5240ee=_0x54cb3d,_0x2c0fc8=await this[_0x5240ee(0x291)](),_0x256423=this['_createSocketURL'](_0x1721d2,_0x2c0fc8);return this[_0x5240ee(0x3c8)](_0x256423);}['_createSocketURL'](_0x2ff9a5,_0x5ebe19){const _0x3161ed=_0x54cb3d,_0x154aea=typeof window>'u'?new URL(_0x2ff9a5):new URL(_0x2ff9a5,window[_0x3161ed(0x1e4)]['origin']);_0x154aea[_0x3161ed(0x391)]['set']('sessionTicket',_0x5ebe19);const _0x9ffd31=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3161ed(0x483)]);return _0x9ffd31[_0x3161ed(0x479)](_0x3161ed(0x340))&&_0x154aea[_0x3161ed(0x391)][_0x3161ed(0x327)](_0x3161ed(0x340),_0x9ffd31[_0x3161ed(0x479)](_0x3161ed(0x340))),_0x154aea[_0x3161ed(0x405)]();}async[_0x54cb3d(0x291)](){const _0x561be6=_0x54cb3d;var _0x4103ba,_0x166de9,_0xbd4439;const _0x3cd849=this[_0x561be6(0x29c)]['getConfig'](_0xbe53a0[_0x561be6(0x430)]),_0x15f2e1=(_0x4103ba=_0x3cd849==null?void 0x0:_0x3cd849[_0x561be6(0x486)])!=null?_0x4103ba:_0xbe53a0[_0x561be6(0x24e)];return(_0xbd4439=(_0x166de9=(await this['_httpService'][_0x561be6(0x479)](_0x15f2e1,{'headers':{'Content-Type':_0x561be6(0x228)}}))[_0x561be6(0x470)])==null?void 0x0:_0x166de9[_0x561be6(0x215)])!=null?_0xbd4439:'';}},_0xf30996['BrowserCollaborationSocketService']=_0x1b0d51([_0x4d13ce(0x0,_0x496d06['Inject'](_0x496d06[_0x54cb3d(0x419)])),_0x4d13ce(0x1,_0x496d06['Inject'](_0x4fda2f['HTTPService'])),_0x4d13ce(0x2,_0x496d06[_0x54cb3d(0x1f5)]),_0x4d13ce(0x3,_0x496d06[_0x54cb3d(0x3f6)]),_0x4d13ce(0x4,_0xf2713c[_0x54cb3d(0x458)])],_0xf30996[_0x54cb3d(0x447)]);const _0xee285=0x7530,_0x3d6131=_0x54cb3d(0x24d);class _0x595375 extends _0x496d06[_0x54cb3d(0x3be)]{constructor(){const _0x3c6d57=_0x54cb3d;super(),_0x3c80c3(this,_0x3c6d57(0x2a1),_0x496d06[_0x3c6d57(0x2e7)]()),_0x3c80c3(this,'_selfUnitIDs',new Set()),_0x3c80c3(this,_0x3c6d57(0x2af),new Map()),_0x3c80c3(this,_0x3c6d57(0x41b),null),_0x3c80c3(this,'_clearOtherTimers',new Map()),_0x3c80c3(this,_0x3c6d57(0x43d),new Map()),this[_0x3c6d57(0x407)]();}[_0x54cb3d(0x2a0)](){const _0x5544c4=_0x54cb3d;super[_0x5544c4(0x2a0)](),this[_0x5544c4(0x2dd)][_0x5544c4(0x311)]((_0x490dd8,_0x18c476)=>this['_removeClearOtherTimer'](_0x18c476)),this[_0x5544c4(0x41b)]&&window['clearInterval'](this[_0x5544c4(0x41b)]);}[_0x54cb3d(0x36e)](_0x5e0a0e){const _0xcd26ed=_0x54cb3d;return this[_0xcd26ed(0x38f)](_0x5e0a0e)['pipe'](_0x1f84ca[_0xcd26ed(0x305)]());}[_0x54cb3d(0x25f)](_0x3841aa){const _0xb3cad6=_0x54cb3d;this[_0xb3cad6(0x2dc)][_0xb3cad6(0x41c)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0xb3cad6(0x3f2)](_0x3841aa),this[_0xb3cad6(0x246)]({'type':0x0,'memberID':this[_0xb3cad6(0x2a1)],'unitIDs':[_0x3841aa],'isForwarded':!0x1});}['disposeUnit'](_0x1c3170){const _0x2356f1=_0x54cb3d;this[_0x2356f1(0x2dc)][_0x2356f1(0x417)](_0x1c3170),this[_0x2356f1(0x2dc)][_0x2356f1(0x41c)]===0x0&&this['_heartbeatTimer']&&window[_0x2356f1(0x3d3)](this[_0x2356f1(0x41b)]);}[_0x54cb3d(0x407)](){const _0x45ae2b=_0x54cb3d;this[_0x45ae2b(0x37d)](_0x496d06['toDisposable'](_0x1f84ca[_0x45ae2b(0x3f5)](window,_0x45ae2b(0x30d))[_0x45ae2b(0x2e3)](_0x2c666f=>{const _0x126720=_0x45ae2b;if(_0x2c666f[_0x126720(0x434)]!==_0x3d6131||!_0x2c666f['newValue'])return;const _0x328d58=JSON[_0x126720(0x2ca)](_0x2c666f['newValue']);this[_0x126720(0x36a)](_0x328d58);}))),window[_0x45ae2b(0x33a)](_0x45ae2b(0x3a4),()=>this[_0x45ae2b(0x246)]({'type':0x1,'memberID':this[_0x45ae2b(0x2a1)],'unitIDs':Array[_0x45ae2b(0x39f)](this[_0x45ae2b(0x2dc)])}));}[_0x54cb3d(0x36a)](_0x5f5895){const _0x214591=_0x54cb3d;switch(_0x5f5895[_0x214591(0x294)]){case 0x0:this['_handleJoinEvent'](_0x5f5895);break;case 0x1:this[_0x214591(0x2b2)](_0x5f5895);break;case 0x2:this[_0x214591(0x27a)](_0x5f5895);break;}}[_0x54cb3d(0x3cf)](_0x4a0e92){const _0x25280c=_0x54cb3d,{unitIDs:_0x3165c9,memberID:_0x541934,isForwarded:_0x9d456e}=_0x4a0e92;_0x3165c9[_0x25280c(0x311)](_0x14cb29=>{const _0x18e1af=_0x25280c;if(!_0x9d456e&&this[_0x18e1af(0x2af)][_0x18e1af(0x43b)](_0x14cb29)&&this[_0x18e1af(0x38f)](_0x14cb29)[_0x18e1af(0x34f)](_0xbe53a0[_0x18e1af(0x2c2)][_0x18e1af(0x1fb)]),!this[_0x18e1af(0x2af)][_0x18e1af(0x43b)](_0x14cb29)||!this['_unitOnClients'][_0x18e1af(0x479)](_0x14cb29)[_0x18e1af(0x43b)](_0x541934)){const _0x1ecc93=this['_unitOnClients'][_0x18e1af(0x479)](_0x14cb29)||new Set();_0x1ecc93[_0x18e1af(0x3f2)](_0x541934),this['_unitOnClients'][_0x18e1af(0x327)](_0x14cb29,_0x1ecc93),this[_0x18e1af(0x320)](_0x541934);}}),_0x9d456e||this['_send']({'type':0x0,'memberID':this[_0x25280c(0x2a1)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x54cb3d(0x320)](_0x35c462){const _0x5dea4b=_0x54cb3d;this['_removeClearOtherTimer'](_0x35c462);const _0x4635ee=window[_0x5dea4b(0x3e9)](()=>{const _0x3f6d25=_0x5dea4b;this[_0x3f6d25(0x2af)][_0x3f6d25(0x311)](_0x3fd29c=>{const _0x184199=_0x3f6d25;_0x3fd29c[_0x184199(0x417)](_0x35c462);});},_0xee285*0x2);this[_0x5dea4b(0x2dd)][_0x5dea4b(0x327)](_0x35c462,_0x4635ee);}['_removeClearOtherTimer'](_0x869adf){const _0x4f38ce=_0x54cb3d;if(this[_0x4f38ce(0x2dd)][_0x4f38ce(0x43b)](_0x869adf)){const _0x449a52=this[_0x4f38ce(0x2dd)][_0x4f38ce(0x479)](_0x869adf);_0x449a52&&window[_0x4f38ce(0x3e4)](_0x449a52),this[_0x4f38ce(0x2dd)][_0x4f38ce(0x327)](_0x869adf,null);}}['_handleLeaveEvent'](_0x47b01b){const _0x2e495a=_0x54cb3d,{memberID:_0x8836c6,unitIDs:_0x4c6227}=_0x47b01b;_0x4c6227[_0x2e495a(0x311)](_0x23d682=>{const _0x3907fe=_0x2e495a;var _0x172d5c;const _0x1ed71f=this['_unitOnClients']['get'](_0x23d682);_0x1ed71f&&(_0x1ed71f[_0x3907fe(0x417)](_0x8836c6),(_0x172d5c=this['_ensureSubject'](_0x23d682))==null||_0x172d5c[_0x3907fe(0x34f)](_0x1ed71f[_0x3907fe(0x41c)]===0x0?_0xbe53a0['UnitStatus'][_0x3907fe(0x231)]:_0xbe53a0['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x8836c6);}[_0x54cb3d(0x27a)](_0x379182){const _0x31af96=_0x54cb3d;this[_0x31af96(0x320)](_0x379182[_0x31af96(0x299)]);}[_0x54cb3d(0x246)](_0x896da){const _0x2c5547=_0x54cb3d;localStorage[_0x2c5547(0x3d0)](_0x3d6131,JSON[_0x2c5547(0x46c)](_0x896da));}['_scheduleHeartbeat'](){const _0x5cabec=_0x54cb3d;this[_0x5cabec(0x41b)]=window[_0x5cabec(0x2d4)](()=>{const _0x10a724=_0x5cabec;this[_0x10a724(0x246)]({'type':0x2,'memberID':this[_0x10a724(0x2a1)]});},_0xee285);}[_0x54cb3d(0x38f)](_0xea1c16){const _0x2d502d=_0x54cb3d;return this['_unitStatus']['has'](_0xea1c16)||this[_0x2d502d(0x43d)][_0x2d502d(0x327)](_0xea1c16,new _0x1f84ca[(_0x2d502d(0x3c4))](_0xbe53a0[_0x2d502d(0x2c2)][_0x2d502d(0x231)])),this[_0x2d502d(0x43d)][_0x2d502d(0x479)](_0xea1c16);}}var _0x1608b0=(_0x8936c1=>(_0x8936c1[_0x8936c1[_0x54cb3d(0x283)]=0x0]='UNDEFINED',_0x8936c1[_0x8936c1['OK']=0x1]='OK',_0x8936c1[_0x8936c1['INTERNAL_ERROR']=0x2]=_0x54cb3d(0x2fb),_0x8936c1[_0x8936c1[_0x54cb3d(0x2d8)]=0x3]='PERMISSION_DENIED',_0x8936c1[_0x8936c1['NOT_FOUND']=0x4]=_0x54cb3d(0x3f4),_0x8936c1[_0x8936c1[_0x54cb3d(0x1e2)]=0x5]=_0x54cb3d(0x1e2),_0x8936c1[_0x8936c1[_0x54cb3d(0x3da)]=0x6]='ALREADY_EXISTS',_0x8936c1[_0x8936c1[_0x54cb3d(0x463)]=0x7]='INVALID_ARGUMENT',_0x8936c1[_0x8936c1[_0x54cb3d(0x24a)]=0x8]=_0x54cb3d(0x24a),_0x8936c1[_0x8936c1[_0x54cb3d(0x309)]=0x9]=_0x54cb3d(0x309),_0x8936c1[_0x8936c1[_0x54cb3d(0x260)]=0xa]=_0x54cb3d(0x260),_0x8936c1[_0x8936c1[_0x54cb3d(0x418)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x8936c1[_0x8936c1[_0x54cb3d(0x250)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x8936c1[_0x8936c1['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x54cb3d(0x3f0),_0x8936c1[_0x8936c1[_0x54cb3d(0x290)]=0xe]=_0x54cb3d(0x290),_0x8936c1[_0x8936c1[_0x54cb3d(0x1e0)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x8936c1[_0x8936c1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x8936c1[_0x8936c1[_0x54cb3d(0x33f)]=0x1772]=_0x54cb3d(0x33f),_0x8936c1[_0x8936c1[_0x54cb3d(0x232)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x8936c1[_0x8936c1[_0x54cb3d(0x381)]=0x1b59]=_0x54cb3d(0x381),_0x8936c1[_0x8936c1[_0x54cb3d(0x26a)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x8936c1[_0x8936c1['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x8936c1[_0x8936c1[_0x54cb3d(0x2c0)]=0x1b5c]=_0x54cb3d(0x2c0),_0x8936c1[_0x8936c1[_0x54cb3d(0x269)]=0x1b5d]=_0x54cb3d(0x269),_0x8936c1[_0x8936c1[_0x54cb3d(0x466)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x8936c1[_0x8936c1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x54cb3d(0x2ba),_0x8936c1[_0x8936c1[_0x54cb3d(0x42e)]=0x232a]=_0x54cb3d(0x42e),_0x8936c1[_0x8936c1[_0x54cb3d(0x46b)]=0x232b]=_0x54cb3d(0x46b),_0x8936c1[_0x8936c1[_0x54cb3d(0x310)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x8936c1[_0x8936c1[_0x54cb3d(0x300)]=0x232d]=_0x54cb3d(0x300),_0x8936c1[_0x8936c1['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x54cb3d(0x268),_0x8936c1[_0x8936c1[_0x54cb3d(0x40d)]=0x2712]=_0x54cb3d(0x40d),_0x8936c1[_0x8936c1['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x54cb3d(0x47b),_0x8936c1[_0x8936c1[_0x54cb3d(0x3ea)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x8936c1[_0x8936c1['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x54cb3d(0x401),_0x8936c1[_0x8936c1['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x54cb3d(0x387),_0x8936c1[_0x8936c1['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x54cb3d(0x3eb),_0x8936c1[_0x8936c1[_0x54cb3d(0x2b1)]=0x271d]=_0x54cb3d(0x2b1),_0x8936c1[_0x8936c1[_0x54cb3d(0x304)]=0x271e]=_0x54cb3d(0x304),_0x8936c1[_0x8936c1[_0x54cb3d(0x24c)]=0x271f]=_0x54cb3d(0x24c),_0x8936c1[_0x8936c1['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x8936c1[_0x8936c1[_0x54cb3d(0x482)]=0x2af9]=_0x54cb3d(0x482),_0x8936c1[_0x8936c1[_0x54cb3d(0x426)]=0x2ee1]=_0x54cb3d(0x426),_0x8936c1[_0x8936c1['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x8936c1[_0x8936c1[_0x54cb3d(0x29f)]=0x2ee3]=_0x54cb3d(0x29f),_0x8936c1[_0x8936c1[_0x54cb3d(0x35d)]=0x2ee4]=_0x54cb3d(0x35d),_0x8936c1[_0x8936c1['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x8936c1[_0x8936c1[_0x54cb3d(0x211)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x8936c1[_0x8936c1[_0x54cb3d(0x31c)]=0x32ca]=_0x54cb3d(0x31c),_0x8936c1[_0x8936c1[_0x54cb3d(0x2e5)]=0x32cb]=_0x54cb3d(0x2e5),_0x8936c1[_0x8936c1['UNRECOGNIZED']=-0x1]=_0x54cb3d(0x378),_0x8936c1))(_0x1608b0||{}),_0x592375=Object[_0x54cb3d(0x35b)],_0x397e20=(_0x3b85f7,_0x40d943,_0x465f63,_0x296dd5)=>{for(var _0x32857f=_0x296dd5>0x1?void 0x0:_0x296dd5?_0x592375(_0x40d943,_0x465f63):_0x40d943,_0x828cce=_0x3b85f7['length']-0x1,_0x43284c;_0x828cce>=0x0;_0x828cce--)(_0x43284c=_0x3b85f7[_0x828cce])&&(_0x32857f=_0x43284c(_0x32857f)||_0x32857f);return _0x32857f;},_0x539b87=(_0x205a55,_0x55d09a)=>(_0x5c9656,_0x4b5739)=>_0x55d09a(_0x5c9656,_0x4b5739,_0x205a55);_0xf30996['RemoteUniscriptService']=class extends _0x496d06[_0x54cb3d(0x3be)]{constructor(_0x131a93,_0x460b6a,_0xa7687){const _0x8b5955=_0x54cb3d;super(),this[_0x8b5955(0x1e1)]=_0x131a93,this['_httpService']=_0x460b6a,this['_configService']=_0xa7687;}async[_0x54cb3d(0x286)](_0x307af8,_0x35155a,_0x17a398,..._0x55aed2){const _0x5db6c9=_0x54cb3d;var _0x2b1a37,_0x19692a,_0x366385,_0x50d1c3;const _0x248e3c=this[_0x5db6c9(0x1e1)][_0x5db6c9(0x2d7)]();if(!_0x248e3c)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2b9f46=((_0x2b1a37=this[_0x5db6c9(0x29c)][_0x5db6c9(0x460)](_0xbe53a0[_0x5db6c9(0x3b6)]))!=null?_0x2b1a37:_0xbe53a0[_0x5db6c9(0x22a)])+'/'+_0x307af8+_0x5db6c9(0x348)+_0x35155a,_0x3e60d3=new URL(window[_0x5db6c9(0x1e4)][_0x5db6c9(0x29d)]),_0x3e7092={'scriptId':_0x307af8,'runId':(_0x19692a=_0x3e60d3[_0x5db6c9(0x391)][_0x5db6c9(0x479)](_0x5db6c9(0x340)))!=null?_0x19692a:'','function':_0x35155a,'unitId':_0x248e3c[_0x5db6c9(0x2b4)](),'argsOfFunction':JSON['stringify'](_0x55aed2),'invokeId':(_0x366385=_0x17a398[_0x5db6c9(0x456)])!=null?_0x366385:'','executionId':(_0x50d1c3=_0x17a398['executionId'])!=null?_0x50d1c3:''};try{const _0x54ca4d=await this[_0x5db6c9(0x1ee)][_0x5db6c9(0x446)](_0x2b9f46,{'body':_0x3e7092});return _0x54ca4d[_0x5db6c9(0x470)][_0x5db6c9(0x35e)]&&_0x54ca4d[_0x5db6c9(0x470)][_0x5db6c9(0x35e)]['code']!==_0x1608b0['OK']?_0x5db6c9(0x474):_0x54ca4d[_0x5db6c9(0x470)][_0x5db6c9(0x359)];}catch{return _0x5db6c9(0x474);}}},_0xf30996['RemoteUniscriptService']=_0x397e20([_0x539b87(0x0,_0x496d06['IUniverInstanceService']),_0x539b87(0x1,_0x496d06[_0x54cb3d(0x257)](_0x4fda2f[_0x54cb3d(0x26b)])),_0x539b87(0x2,_0x496d06[_0x54cb3d(0x1f5)])],_0xf30996[_0x54cb3d(0x3ef)]),_0xf30996[_0x54cb3d(0x318)]=_0x62e78c,_0xf30996[_0x54cb3d(0x201)]=_0x42d8e5,_0xf30996[_0x54cb3d(0x358)]=_0x548181,_0xf30996[_0x54cb3d(0x356)]=_0x595375,_0xf30996['WebURLService']=_0x202064,Object['defineProperty'](_0xf30996,Symbol['toStringTag'],{'value':_0x54cb3d(0x2bb)});}));