@univerjs-pro/collaboration-client-ui 0.10.6-experimental.20250904-44da50e → 0.10.6-nightly.202509060614

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x2806(_0x33c40b,_0x432941){const _0x3ec5c3=_0x3ec5();return _0x2806=function(_0x28066a,_0x9cf753){_0x28066a=_0x28066a-0x103;let _0x545f03=_0x3ec5c3[_0x28066a];return _0x545f03;},_0x2806(_0x33c40b,_0x432941);}function _0x3ec5(){const _0x4ccdcb=['OnLineIcon','registerBeforeClose','focused$','DocIMEInputManagerService','YUUMI_CONNECTOR_URL_NOT_FOUND','override','bottom','ThemeService','entries','history','div','_toggleOffline','_roomMembers$','UniverInstanceType','OffLineIcon','_name','_initDependencies','session.connection-failed','column','_themeService','_docStateChangeManagerService','_updateURLWithCurrentState','getLocalCacheKey','getCollabEntity$','useDependency','CollaborationUIEventService','_handleLeaveEvent','assignAColorForMemberID','PY_RUNTIME_SCRIPT_ERROR','_transformHistoryAndStateStack','pushState','doc.mutation.rich-text-editing','CollaborationSocketService','_entities','HTTPService','pluginName','send','includes','trim','LICENSE_EXPORT_SIZE_EXCEEDED','translate(.97)','_scheduleHeartbeat','getParam','isTransformMutationFailure','endRow','WebBrowserSingleActiveUnitService','DeleteRangeMoveLeftCommandId','VIEW_MAIN','newValue','NO_OTHER_CLIENTS_EDITING','href','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','map','editingUnit','_textBubble','generateRandomId','_updateSubUnitFromURLParams','onPointerLeave$','fill','getCurrentUnitForType','UNIVER_SHEET','_hideTimer','handleDeleteRangeMoveUp','IURLService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','purple.300','_config','defIds','dispose','collabCursorState$','_selfUnitIDs','APPLY_REJECT','SUBMIT_CHANGESET_TIMEOUT','InsertRowCommandId','colorChannel1','url(#on-line-icon_clip0_910_349)','enableLocalCache','parse','children','ILogService','MUTATION','setActiveRange','icon','sheetID','redoState','HEADER_MENU','arc','_uiPartsService','univerjs-icon\x20univerjs-icon-','clearTimeout','removeParam','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collaboration-client-ui.config','_docTransformStateCacheService','whenReady','UniverSheetsUi','SheetCollabCursorShape','registerRefRange','handleIRemoveCol','saveImage','toDisposable','clsx','Inject','ILocalCacheService','addObject','event$','AWAITING_WITH_PENDING','UniverProCollaborationClientUi','_docTransformSelectionsService','Optional','USERS_LEAVE','RegularPolygon','UniverNetwork','isArray','memberID','collabStatus.syncing','handleInsertRangeMoveRight','@univerjs-pro/collaboration-client','MOBILE_VERIFY_CODE_MISMATCH','_messageService','name','@univerjs-pro/collaboration','object','UniverUi','getRangePointData','asObservable','getRenderById','InsertColCommandId','selection','getOwnPropertyDescriptor','_beforeCloseService','_updateLocalCursor','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_lastPointer','_renderManagerService','onRendered','getUnitStatus$','@univerjs/docs','_injector','Injector','loadUnit','combineLatest','_memberService','UniverEngineFormula','_unitStatus','CollaborationDataLoaderController','defineProperty','_assignedColors','useRef','replaceState','_collabSessionService','APPLY_REVISION_CONFILICT','BehaviorSubject','Failed','_dataLoaderService','getUnhiddenWorksheets','stringify','_hover','...','ICommandService','font','onPointerEnter$','getUniverSheetInstance','Warning','_draw','FETCH_MISS','addClipboardHook','_registerRenderDependencies','@univerjs/docs-ui','IMessageService','DisposableCollection','handleMoveRange','top','_labelPosition','transformMutationsWithChangeset','_revisionService','getAncestorScale','drawWith','_initStatusListener','_collabCursorState$','saveOfflineData','_document','_context','_getSaveTimeout','forEach','exhaustSavingTask','APPLY_PERMISSION_DENIED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getMemberID','handleInsertCol','addEventListener','updateOfflineData','black','createIdentifier','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_imageIoService','TOO_MANY_REQUESTS','UnitStatus','dispose$','jsx','find','ALREADY_EXISTS','ticket','delete','InsertRangeMoveRightCommandId','IRenderManagerService','_getSheetObject','_startSheetCollabCursor','INVITE_CODE_HAS_BEEN_UES','UniverDesign','_drawAnchor','SetWorksheetActivateCommand','YUUMI_UNABLE_LOAD_URL','size','UniverProCollaborationClient','RevisionService','CollaborationStatus','add','eventID','RxDisposable','exports','search','DOC_RANGE_TYPE','init','_localStorageService','getValue','subunit','has','_hovered','COMPLETION_FINISHED','reconnect','_setupSubUnitSync','_onCursorUpdate','@univerjs/network','349925qPDBcO','currentTheme$','idSuffix','transformRemoteChangeset','CONFLICT','1014775VgPcSU','LOGIN_FAILED','findNodePositionByCharIndex','_getAnchorBounding','_send','push','RemoveColCommandId','getCurrent','startRow','_cursorShapes','React','getCurrentSelections','DocStateChangeManagerService','deepClone','max','IUniverInstanceService','UniverCollaborationClientUIPlugin','searchParams','setStateCache','closePath','_anchorDot','onPointerMove$','flatMap','_commandService','pipe','_docTransformIMECacheService','_doCreateSocket','isTransformMutationsWithChangesetSuccess','@univerjs/engine-render','length','_getScale','onStarting','_handleEvent','getDocRanges','[CollaborationDataLoaderController]','height','_id','MemberService','univer-flex\x20univer-items-center','UNRECOGNIZED','get','complete','touchDependencies','fromEvent','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','resize','LICENSE_IMPORT_SIZE_EXCEEDED','MessageType','Unknown\x20user','http://www.w3.org/2000/svg','replace','EMAIL_VERIFY_CODE_MISMATCH','SOCKET_FAILED','round','Vector2','_init','subUnitId','BrowserCollaborationSocketService','session.collaboration-timeout','_createSocketURL','_removeCollabCursors','UPDATE_CURSOR','ranges','2910336tczekU','react/jsx-runtime','getViewport','9893640OXUDvo','xlink:href','debug','_transformService','_color','_cursors','_online','COLORS','popstate','onCommandExecuted','_handleHeartbeatEvent','_scheduleClearOtherTimer','measureText','save','debounceTime','SheetSkeletonManagerService','syncEditingCollabCursor','jiqing.500','_syncEditingCollabCursorService','unsubscribe','_notificationService','INVALID_INVITE_CODE','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getCurrentRevOfUnit','textRanges','@univerjs/rpc','BuiltInUIPart','beginPath','unitId','fromEventSubject','undoState','_toggleOnline','hasOwnProperty','INVALID_ARGUMENT','from','YUUMI_ASYNCIO_CANCELLED','lineTo','_initResize','_initEvent','INVITE_CODE_ALREADY_BOUND','_heartbeatTimer','call','m2Prime','InsertRangeMoveDownCommandId','forwardRef','moveTo','key','UNIVER_DOC','getTypeOfUnitAdded$','M0\x200H16V16H0z','CONNECTOR_DATA_TOO_LARGE','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','WECHAT_HAS_BEEN_BOUND','@univerjs/engine-formula','_handleJoinEvent','LICENSE_DISTRO_REJECTED','white','transformStateCache','prototype','RECT','collabStatus.fetchMiss','IRemoteInstanceService','_eventUnsubscribe','sheetId','CollaborationUIEventId','collab-client.tooltip.reconnect','getSkeleton','_drawTextRange','_logService','_registerDependencies','getStateCache','indexOf','cursorInfo$','_cursor','MoveRangeCommandId','@univerjs/core','_instanceService','runRefRangeMutations','clipPath','transformMutation','Tools','YUUMI_RATE_OVER_LIMIT','on-line-icon_clip0_910_349','getColorFromTheme','_entityInit$','_initStatusComponent','contains','engine','getUndoRedoMutationParamsCache','_clearOtherTimers','_shapes','getUnitId','_initEntityListener','set','docStateChange$','4664877JwzDKn','NOT_FOUND','_refRangeService','executionId','collaboration.closeRoom','cursorInfo','className','currentSkeleton$','setTimeout','origin','Module','off-line-icon','then','getFocusedUnit','path','_scene','_setupBeforeClosingHandler','concat','post','YUUMI_AI_RUN_FAILED','application/json','CollaborationController','clearInterval','setItem','setUndoRedoMutationParamsCache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','collaboration-client.offline-data-not-saved','NodePositionConvertToRectRange','isEditing','symbol','restore','addHandlerCallback','_cachedData','defs','DeleteRangeMoveUpCommandId','YUUMI_SUBSCRIPTION_NOT_FOUND','@univerjs/sheets-ui','306xNPofY','UniverCollaborationClientPlugin','_updateCollabCursors','MOBILE_HAS_BEEN_BOUND','IDocClipboardService','_initCommandExecutedListener','filter','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getCoordByCell','_handleHover','SheetsSelectionsService','handleInsertRow','SetTextSelectionsOperation','with','debounce','getConfig','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_docClipboardService','unit','CommandType','getOwnPropertySymbols','entityInit$','activeSheet$','106070JXwCIp','rxjs','split','RemoteUniscriptService','onTransformChange$','_sheetSkeletonManagerService','tag','merge','_colorIndex','YUUMI_NO_CUBOID_FOR_QUESTION','_removeClearOtherTimer','storage','displayName','_unitOnClients','_status$','replaceDocRanges','EMAIL_HAS_BEEN_BOUND','LICENSE_MAX_UNITS_EXCEEDED','subscribeEvent','_startDocCollabCursor','unshift','collabStatus.offline','_docSkeleton','collaboration.single-unit.warning','_backgroundColor','_session','_colorAssignService','_localeService','evenodd','url(#$1','IBeforeCloseService','switchMap','ENSURE_SNAPSHOT_EXECUTION','getCollabCursors$','hide','transformSelections','_configService','LOCAL_CACHE_INTERVAL','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_docSkeletonManagerService','_cursorInfo$','LocaleService','range','1em','_collaborationController','getSheetId','collab-rect-range-','INTERNAL_ERROR','CLOSE_ROOM','collabStatus.notCollab','unitID','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','propertyIsEnumerable','use','backgroundColor','some','ISocketService','_getMergeRange','SNAPSHOT_HAS_BEEN_REMOVED','transformIMECache','OTHER_CLIENTS_EDITING','serializeRangeWithSheet','_httpService','executeCommand','Rect','imageSourceType','_drawRectRange','ITransformService','location','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','none','UniverProCollaboration','LOCAL_CACHE_INTERVAL_KEY','_saveTaskMap','setParam','_onRefRangeChange','registerRenderModule','error','RefRangeService','takeUntil','m1Prime','createInstance','body','_onCursorDelete','extend','roomMembers','setAlpha','url(#off-line-icon_clip0_910_343)','UniverRpc','data','svg','15zizIuO','collabStatus.conflict','EffectRefRangId','assign','_render','_ensureSubject','registerDependencies','/run/','TEXT','values','WebURLService','actions','distinctUntilChanged','APPLY_NON_SEQUENTIAL_REVISION','AWAITING','SetDocZoomRatioOperation','JOIN_ROOM_FAILED','ONLINE','requireSession','row','OFFLINE','amd','setShapeProps','createElement','mapTo','NOT_COLLAB','type','code','runId','Disposable','connectInjector','_disabled','roomMembers$','OTHER_CLIENT_EDITING','getMember','_urlService','triggerDblclick','PERMISSION_DENIED','univer-mr-2\x20univer-flex\x20univer-text-xl','wsSessionTicketUrl','mask','getSheetBySheetId','UniverCore','string','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SessionStatus','shareReplay','_transformPreviousActiveRange','getItem','44hmUrjX','FromArray','_univerInstanceService','_saveCache','urlChange$','endColumn','mergeOverrideWithDependencies','blue.400','color','uni.network.url-service','@univerjs/sheets','CollaborationEvent','toStringTag','_range','DesktopCollaborationStatusDisplayController','_docSyncEditingCollabCursorService','_transformUndoRedoStack','subscribe','DependentOn','PENDING','IUIPartsService','next','DocCollaborationEntity','currentColor','toRgbString','current','RichTextEditingMutation','_anchor','unload','min','saveTaskMap','text','_scheduleSaving','_getSessionTicket','show','width','Error','params','UNDEFINED','Plugin','SNAPSHOT_INVALID_SNAPSHOT','ColorKit','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','UNAUTHENTICATED','getColor','YUUMI_URL_COL_OUT_OF_RANGE','TEXT_RANGE_LAYER_INDEX','WebSocketService','isActive','DocSelectionManagerService','attrs','disposeWithMe','IConfigService','labelPosition','132854gzvZBC','runOnServer','UniverEngineRender','fillStyle','onMouseMove','APPLY_DUPLICATED','red.300','transform','getVpScrollXYInfoByPosToVp','toString','setInterval','random','CHANGESET_REVISION_CONFILICT','status$','mutations','ILocalStorageService','off-line-icon_clip0_910_343'];_0x3ec5=function(){return _0x4ccdcb;};return _0x3ec5();}(function(_0x1bcdc2,_0x53c3d0){const _0xf2fcf=_0x2806,_0x194d9b=_0x1bcdc2();while(!![]){try{const _0x4745de=parseInt(_0xf2fcf(0x149))/0x1+-parseInt(_0xf2fcf(0x2e8))/0x2*(parseInt(_0xf2fcf(0x281))/0x3)+parseInt(_0xf2fcf(0x2b2))/0x4*(parseInt(_0xf2fcf(0x144))/0x5)+-parseInt(_0xf2fcf(0x188))/0x6+parseInt(_0xf2fcf(0x1ea))/0x7+-parseInt(_0xf2fcf(0x18b))/0x8+-parseInt(_0xf2fcf(0x20f))/0x9*(-parseInt(_0xf2fcf(0x226))/0xa);if(_0x4745de===_0x53c3d0)break;else _0x194d9b['push'](_0x194d9b['shift']());}catch(_0xaaa9a0){_0x194d9b['push'](_0x194d9b['shift']());}}}(_0x3ec5,0xb9003),function(_0x234262,_0x184e46){const _0x34c2e1=_0x2806;typeof exports==_0x34c2e1(0x373)&&typeof module<'u'?_0x184e46(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x34c2e1(0x296)]?define([_0x34c2e1(0x136),_0x34c2e1(0x189),_0x34c2e1(0x36e),_0x34c2e1(0x1d6),'@univerjs/ui',_0x34c2e1(0x227),'@univerjs/design','react',_0x34c2e1(0x1a4),_0x34c2e1(0x2bc),_0x34c2e1(0x165),_0x34c2e1(0x143),_0x34c2e1(0x3a1),'@univerjs/drawing',_0x34c2e1(0x372),_0x34c2e1(0x382),_0x34c2e1(0x1c0),'rxjs/operators',_0x34c2e1(0x20e)],_0x184e46):(_0x234262=typeof globalThis<'u'?globalThis:_0x234262||self,_0x184e46(_0x234262[_0x34c2e1(0x364)]={},_0x234262[_0x34c2e1(0x153)],_0x234262[_0x34c2e1(0x130)],_0x234262[_0x34c2e1(0x2ab)],_0x234262[_0x34c2e1(0x374)],_0x234262[_0x34c2e1(0x227)],_0x234262[_0x34c2e1(0x12b)],_0x234262[_0x34c2e1(0x153)],_0x234262[_0x34c2e1(0x27e)],_0x234262['UniverSheets'],_0x234262[_0x34c2e1(0x2ea)],_0x234262[_0x34c2e1(0x369)],_0x234262['UniverDocsUi'],_0x234262['UniverDrawing'],_0x234262[_0x34c2e1(0x26d)],_0x234262['UniverDocs'],_0x234262[_0x34c2e1(0x388)],_0x234262[_0x34c2e1(0x227)]['operators'],_0x234262[_0x34c2e1(0x358)]));}(this,function(_0xa1933d,_0x4d303d,_0x7ddaeb,_0x3dbd89,_0x1264f0,_0x142e5d,_0x43968a,_0x1220fe,_0x416e7c,_0x71d422,_0x3a9176,_0x29bd27,_0x4f3ea0,_0x5a44e5,_0x43c25f,_0x7a54c1,_0x32ac5c,_0x42d5be,_0x1110d7){'use strict';const _0x5efc3d=_0x2806;var _0x39400b=Object[_0x5efc3d(0x38b)],_0x181655=(_0x11f07f,_0x90d16a,_0x30729a)=>_0x90d16a in _0x11f07f?_0x39400b(_0x11f07f,_0x90d16a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30729a}):_0x11f07f[_0x90d16a]=_0x30729a,_0x318f52=(_0x531970,_0x3d2a9a,_0x2a2c26)=>_0x181655(_0x531970,typeof _0x3d2a9a!=_0x5efc3d(0x207)?_0x3d2a9a+'':_0x3d2a9a,_0x2a2c26),_0x42a518=function(){const _0x3adb14=_0x5efc3d;return _0x42a518=Object[_0x3adb14(0x284)]||function(_0x323f8e){const _0x1eb812=_0x3adb14;for(var _0x10cd18,_0x2db8ea=0x1,_0x418daa=arguments[_0x1eb812(0x166)];_0x2db8ea<_0x418daa;_0x2db8ea++){_0x10cd18=arguments[_0x2db8ea];for(var _0x4ec9cf in _0x10cd18)Object[_0x1eb812(0x1c5)][_0x1eb812(0x1ab)][_0x1eb812(0x1b4)](_0x10cd18,_0x4ec9cf)&&(_0x323f8e[_0x4ec9cf]=_0x10cd18[_0x4ec9cf]);}return _0x323f8e;},_0x42a518['apply'](this,arguments);},_0x527bca=function(_0x309a44,_0x179e84){const _0x86f33c=_0x5efc3d;var _0x49ee2e={};for(var _0x52bf29 in _0x309a44)Object[_0x86f33c(0x1c5)][_0x86f33c(0x1ab)][_0x86f33c(0x1b4)](_0x309a44,_0x52bf29)&&_0x179e84[_0x86f33c(0x1d2)](_0x52bf29)<0x0&&(_0x49ee2e[_0x52bf29]=_0x309a44[_0x52bf29]);if(_0x309a44!=null&&typeof Object[_0x86f33c(0x223)]=='function'){for(var _0x4f257d=0x0,_0x52bf29=Object[_0x86f33c(0x223)](_0x309a44);_0x4f257d<_0x52bf29[_0x86f33c(0x166)];_0x4f257d++)_0x179e84[_0x86f33c(0x1d2)](_0x52bf29[_0x4f257d])<0x0&&Object['prototype'][_0x86f33c(0x25a)][_0x86f33c(0x1b4)](_0x309a44,_0x52bf29[_0x4f257d])&&(_0x49ee2e[_0x52bf29[_0x4f257d]]=_0x309a44[_0x52bf29[_0x4f257d]]);}return _0x49ee2e;},_0x58bf6c=_0x1220fe['forwardRef'](function(_0xc9ce43,_0xad70bc){const _0x5b7063=_0x5efc3d;var _0x5b0db4=_0xc9ce43[_0x5b7063(0x34b)],_0x28cf20=_0xc9ce43['id'],_0x4be801=_0xc9ce43[_0x5b7063(0x1f0)],_0x1f27c2=_0xc9ce43[_0x5b7063(0x27a)],_0x3f8b20=_0x527bca(_0xc9ce43,[_0x5b7063(0x34b),'id',_0x5b7063(0x1f0),_0x5b7063(0x27a)]),_0xd92ace=_0x5b7063(0x351)[_0x5b7063(0x1fb)](_0x28cf20,'\x20')[_0x5b7063(0x1fb)](_0x4be801||'')[_0x5b7063(0x31f)](),_0x3d04d7=_0x1220fe[_0x5b7063(0x38d)]('_'[_0x5b7063(0x1fb)](_0x42d053()));return _0x54a783(_0x5b0db4,''['concat'](_0x28cf20),{'defIds':_0x5b0db4[_0x5b7063(0x33c)],'idSuffix':_0x3d04d7[_0x5b7063(0x2cb)]},_0x42a518({'ref':_0xad70bc,'className':_0xd92ace},_0x3f8b20),_0x1f27c2);});function _0x54a783(_0x32f4df,_0x4a6d44,_0x571305,_0xcad836,_0xd9d71b){const _0x4538cb=_0x5efc3d;return _0x1220fe[_0x4538cb(0x298)](_0x32f4df[_0x4538cb(0x22c)],_0x42a518(_0x42a518({'key':_0x4a6d44},_0x33c360(_0x32f4df,_0x571305,_0xd9d71b)),_0xcad836),(_0x590208(_0x32f4df,_0x571305)[_0x4538cb(0x347)]||[])['map'](function(_0x46af51,_0x4fd62e){const _0x21a5d1=_0x4538cb;return _0x54a783(_0x46af51,''[_0x21a5d1(0x1fb)](_0x4a6d44,'-')[_0x21a5d1(0x1fb)](_0x32f4df[_0x21a5d1(0x22c)],'-')[_0x21a5d1(0x1fb)](_0x4fd62e),_0x571305,void 0x0,_0xd9d71b);}));}function _0x33c360(_0x16d449,_0x5ef7b4,_0x4bd3e6){const _0x2d8233=_0x5efc3d;var _0x5f35b7=_0x42a518({},_0x16d449[_0x2d8233(0x2e4)]);_0x4bd3e6!=null&&_0x4bd3e6[_0x2d8233(0x343)]&&_0x5f35b7['fill']===_0x2d8233(0x343)&&(_0x5f35b7['fill']=_0x4bd3e6[_0x2d8233(0x343)]),_0x16d449[_0x2d8233(0x22c)]===_0x2d8233(0x2a9)&&_0x5f35b7['id']&&(_0x5f35b7['id']=_0x5f35b7['id']+_0x5ef7b4[_0x2d8233(0x146)]),Object[_0x2d8233(0x301)](_0x5f35b7)[_0x2d8233(0x112)](function(_0x573f98){const _0x8ebed=_0x2d8233;var _0x2de65a=_0x573f98[0x0],_0x89084e=_0x573f98[0x1];_0x2de65a===_0x8ebed(0x2a9)&&typeof _0x89084e==_0x8ebed(0x2ac)&&(_0x5f35b7[_0x2de65a]=_0x89084e[_0x8ebed(0x17b)](/url\(#(.*)\)/,_0x8ebed(0x243)[_0x8ebed(0x1fb)](_0x5ef7b4[_0x8ebed(0x146)],')')));});var _0x3434b7=_0x5ef7b4[_0x2d8233(0x33c)];return!_0x3434b7||_0x3434b7[_0x2d8233(0x166)]===0x0||(_0x16d449[_0x2d8233(0x22c)]===_0x2d8233(0x25b)&&_0x5f35b7[_0x2d8233(0x18c)]&&(_0x5f35b7['xlink:href']=_0x5f35b7['xlink:href']+_0x5ef7b4[_0x2d8233(0x146)]),Object['entries'](_0x5f35b7)[_0x2d8233(0x112)](function(_0x20619d){const _0x3b8762=_0x2d8233;var _0xa78922=_0x20619d[0x0],_0x386135=_0x20619d[0x1];typeof _0x386135==_0x3b8762(0x2ac)&&(_0x5f35b7[_0xa78922]=_0x386135[_0x3b8762(0x17b)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x5ef7b4[_0x3b8762(0x146)],')')));})),_0x5f35b7;}function _0x590208(_0x512957,_0x421f06){const _0x2a030e=_0x5efc3d;var _0xd02573,_0xfc2afa=_0x421f06[_0x2a030e(0x33c)];return!_0xfc2afa||_0xfc2afa['length']===0x0?_0x512957:_0x512957[_0x2a030e(0x22c)]===_0x2a030e(0x20b)&&(!((_0xd02573=_0x512957[_0x2a030e(0x347)])===null||_0xd02573===void 0x0)&&_0xd02573['length'])?_0x42a518(_0x42a518({},_0x512957),{'children':_0x512957[_0x2a030e(0x347)][_0x2a030e(0x32d)](function(_0x59ad93){const _0x58538e=_0x2a030e;return typeof _0x59ad93[_0x58538e(0x2e4)]['id']==_0x58538e(0x2ac)&&_0xfc2afa&&_0xfc2afa[_0x58538e(0x31e)](_0x59ad93[_0x58538e(0x2e4)]['id'])?_0x42a518(_0x42a518({},_0x59ad93),{'attrs':_0x42a518(_0x42a518({},_0x59ad93[_0x58538e(0x2e4)]),{'id':_0x59ad93[_0x58538e(0x2e4)]['id']+_0x421f06[_0x58538e(0x146)]})}):_0x59ad93;})}):_0x512957;}function _0x42d053(){const _0x1b643e=_0x5efc3d;return Math[_0x1b643e(0x2f3)]()[_0x1b643e(0x2f1)](0x24)['substring'](0x2,0x8);}_0x58bf6c[_0x5efc3d(0x232)]='UniverIcon';var _0x98cc74={'tag':_0x5efc3d(0x280),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5efc3d(0x26c),'viewBox':'0\x200\x2016\x2016','width':_0x5efc3d(0x251),'height':_0x5efc3d(0x251)},'children':[{'tag':'g','attrs':{'clipPath':_0x5efc3d(0x27d)},'children':[{'tag':_0x5efc3d(0x1f8),'attrs':{'stroke':_0x5efc3d(0x2c9),'d':_0x5efc3d(0x1be),'strokeLinecap':_0x5efc3d(0x17e),'strokeLinejoin':_0x5efc3d(0x17e),'strokeWidth':1.2}}]},{'tag':_0x5efc3d(0x20b),'attrs':{},'children':[{'tag':_0x5efc3d(0x1d9),'attrs':{'id':_0x5efc3d(0x2f8)},'children':[{'tag':_0x5efc3d(0x1f8),'attrs':{'fill':_0x5efc3d(0x1c3),'d':_0x5efc3d(0x1bc)}}]}]}],'defIds':[_0x5efc3d(0x2f8)]},_0xe34f32=_0x1220fe['forwardRef'](function(_0x41fead,_0x2ef900){const _0xf1d907=_0x5efc3d;return _0x1220fe[_0xf1d907(0x298)](_0x58bf6c,Object['assign']({},_0x41fead,{'id':_0xf1d907(0x1f5),'ref':_0x2ef900,'icon':_0x98cc74}));});_0xe34f32['displayName']=_0x5efc3d(0x307);var _0xed31dd={'tag':_0x5efc3d(0x280),'attrs':{'xmlns':_0x5efc3d(0x17a),'fill':_0x5efc3d(0x26c),'viewBox':'0\x200\x2017\x2016','width':_0x5efc3d(0x251),'height':_0x5efc3d(0x251)},'children':[{'tag':'g','attrs':{'clipPath':_0x5efc3d(0x344)},'children':[{'tag':_0x5efc3d(0x1f8),'attrs':{'stroke':_0x5efc3d(0x2c9),'d':_0x5efc3d(0x2dc),'strokeLinecap':_0x5efc3d(0x17e),'strokeLinejoin':_0x5efc3d(0x17e),'strokeWidth':1.2}}]},{'tag':_0x5efc3d(0x20b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5efc3d(0x1f8),'attrs':{'fill':_0x5efc3d(0x1c3),'d':_0x5efc3d(0x1bc),'transform':_0x5efc3d(0x321)}}]}]}],'defIds':[_0x5efc3d(0x1dd)]},_0x436332=_0x1220fe[_0x5efc3d(0x1b7)](function(_0x55cda3,_0x4ecdde){const _0x37a101=_0x5efc3d;return _0x1220fe[_0x37a101(0x298)](_0x58bf6c,Object[_0x37a101(0x284)]({},_0x55cda3,{'id':'on-line-icon','ref':_0x4ecdde,'icon':_0xed31dd}));});_0x436332[_0x5efc3d(0x232)]=_0x5efc3d(0x2f9);function _0x184283(_0x2dc57c){const _0x366ded=_0x5efc3d;switch(_0x2dc57c){case _0x7ddaeb['CollaborationStatus'][_0x366ded(0x295)]:return _0x366ded(0x23b);case _0x7ddaeb[_0x366ded(0x132)][_0x366ded(0x148)]:return _0x366ded(0x282);case _0x7ddaeb['CollaborationStatus'][_0x366ded(0x39e)]:return _0x366ded(0x1c7);case _0x7ddaeb[_0x366ded(0x132)][_0x366ded(0x29a)]:return _0x366ded(0x257);case _0x7ddaeb['CollaborationStatus'][_0x366ded(0x28f)]:case _0x7ddaeb[_0x366ded(0x132)][_0x366ded(0x363)]:return _0x366ded(0x36c);case _0x7ddaeb['CollaborationStatus']['SYNCED']:case _0x7ddaeb[_0x366ded(0x132)][_0x366ded(0x2c5)]:return'collabStatus.synced';}}function _0x32d9fc(_0x2adce6){const _0x3968e0=_0x5efc3d,{status$:_0xfc46e0}=_0x2adce6,_0xa5c971=_0x1264f0['useObservable'](_0xfc46e0,_0x7ddaeb[_0x3968e0(0x132)]['NOT_COLLAB']),_0x56faf2=_0x1264f0[_0x3968e0(0x311)](_0x3dbd89['LocaleService']),_0x3599a5=_0x1264f0[_0x3968e0(0x311)](_0x7ddaeb['CollaborationSessionService']),_0x7e95d3=_0xa5c971!==_0x7ddaeb[_0x3968e0(0x132)]['OFFLINE'],_0x12f5eb=_0x56faf2['t'](_0x184283(_0xa5c971)),_0x2a7a4d=_0x7e95d3?_0x4d303d['jsx'](_0x436332,{}):_0x4d303d[_0x3968e0(0x121)](_0xe34f32,{}),_0x943767=_0x1220fe['useCallback'](()=>{const _0x550103=_0x3968e0;_0x7e95d3||_0x3599a5[_0x550103(0x140)]();},[_0x7e95d3,_0x3599a5]);function _0x24fc1d(){const _0x82f907=_0x3968e0;return _0x4d303d['jsxs'](_0x82f907(0x303),{'className':_0x82f907(0x16f),'onClick':_0x943767,'children':[_0x4d303d[_0x82f907(0x121)](_0x82f907(0x303),{'className':_0x43968a[_0x82f907(0x35e)](_0x82f907(0x2a7),{'univer-text-green-500':_0x7e95d3,'univer-text-red-500':!_0x7e95d3}),'children':_0x2a7a4d}),_0x4d303d['jsx'](_0x82f907(0x303),{'className':_0x82f907(0x339),'children':_0x12f5eb})]});}return _0x7e95d3?_0x24fc1d():_0x4d303d[_0x3968e0(0x121)](_0x43968a['Tooltip'],{'title':_0x56faf2['t'](_0x3968e0(0x1cc)),'children':_0x24fc1d()});}var _0x38d72f=Object[_0x5efc3d(0x37a)],_0x50913f=(_0x2df1a1,_0xc28bc7,_0x49bff6,_0x3a50b7)=>{const _0x1f37f6=_0x5efc3d;for(var _0x5016bd=_0x3a50b7>0x1?void 0x0:_0x3a50b7?_0x38d72f(_0xc28bc7,_0x49bff6):_0xc28bc7,_0x2282a1=_0x2df1a1[_0x1f37f6(0x166)]-0x1,_0x4d3fd2;_0x2282a1>=0x0;_0x2282a1--)(_0x4d3fd2=_0x2df1a1[_0x2282a1])&&(_0x5016bd=_0x4d3fd2(_0x5016bd)||_0x5016bd);return _0x5016bd;},_0x1da67a=(_0x1bd373,_0x4119ab)=>(_0x424735,_0x3c2844)=>_0x4119ab(_0x424735,_0x3c2844,_0x1bd373);_0xa1933d[_0x5efc3d(0x2c0)]=class extends _0x3dbd89[_0x5efc3d(0x29e)]{constructor(_0x32590f,_0x165ba3,_0x5c40f1,_0x5513e8){const _0x195550=_0x5efc3d;super(),_0x318f52(this,'_status$',new _0x142e5d[(_0x195550(0x391))](_0x7ddaeb[_0x195550(0x132)][_0x195550(0x29a)])),(this[_0x195550(0x2b4)]=_0x32590f,this[_0x195550(0x383)]=_0x165ba3,this[_0x195550(0x252)]=_0x5c40f1,this[_0x195550(0x350)]=_0x5513e8,this[_0x195550(0x1e0)](),this[_0x195550(0x10c)]());}[_0x5efc3d(0x10c)](){const _0x332490=_0x5efc3d;this[_0x332490(0x2e5)](this['_univerInstanceService'][_0x332490(0x2fb)][_0x332490(0x161)](_0x142e5d[_0x332490(0x245)](()=>{const _0x1c23dc=_0x332490,_0x22cf24=this[_0x1c23dc(0x2b4)][_0x1c23dc(0x1f7)]();return _0x22cf24?this[_0x1c23dc(0x252)][_0x1c23dc(0x310)](_0x22cf24['getUnitId']()):_0x142e5d['of'](null);}),_0x142e5d['switchMap'](_0xfb9d5d=>_0xfb9d5d?_0xfb9d5d[_0x332490(0x2f5)]:_0x142e5d['of'](_0x7ddaeb[_0x332490(0x132)][_0x332490(0x29a)])))[_0x332490(0x2c3)](_0x2901e5=>{const _0x382869=_0x332490;this[_0x382869(0x234)][_0x382869(0x2c7)](_0x2901e5);}));}[_0x5efc3d(0x1e0)](){const _0x14cadf=_0x5efc3d;this[_0x14cadf(0x2e5)](this[_0x14cadf(0x350)]['registerComponent'](_0x1264f0[_0x14cadf(0x1a5)][_0x14cadf(0x34e)],()=>_0x1264f0[_0x14cadf(0x29f)](_0x48a9ee({'status$':this[_0x14cadf(0x234)][_0x14cadf(0x376)]()}),this[_0x14cadf(0x383)])));}},_0xa1933d[_0x5efc3d(0x2c0)]=_0x50913f([_0x1da67a(0x0,_0x3dbd89['IUniverInstanceService']),_0x1da67a(0x1,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x384)])),_0x1da67a(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x7ddaeb[_0x5efc3d(0x1ff)])),_0x1da67a(0x3,_0x1264f0[_0x5efc3d(0x2c6)])],_0xa1933d[_0x5efc3d(0x2c0)]);function _0x48a9ee(_0x4c8f9d){const {status$:_0x41dd03}=_0x4c8f9d;return function(){const _0x25272e=_0x2806;return _0x4d303d[_0x25272e(0x121)](_0x32d9fc,{'status$':_0x41dd03});};}const _0x34b516=_0x3dbd89[_0x5efc3d(0x11b)](_0x5efc3d(0x2bb));var _0x417a5b=Object[_0x5efc3d(0x37a)],_0x5589a9=(_0x30d177,_0x3f2f0d,_0x4f1641,_0x1fa126)=>{for(var _0x24ab18=_0x1fa126>0x1?void 0x0:_0x1fa126?_0x417a5b(_0x3f2f0d,_0x4f1641):_0x3f2f0d,_0x2e3dd8=_0x30d177['length']-0x1,_0x31f4eb;_0x2e3dd8>=0x0;_0x2e3dd8--)(_0x31f4eb=_0x30d177[_0x2e3dd8])&&(_0x24ab18=_0x31f4eb(_0x24ab18)||_0x24ab18);return _0x24ab18;},_0x4d8507=(_0x461b27,_0x4124d2)=>(_0x48fa88,_0x1ae004)=>_0x4124d2(_0x48fa88,_0x1ae004,_0x461b27);_0xa1933d[_0x5efc3d(0x38a)]=class extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(_0x1db2f4,_0x5985ec,_0x45751c,_0xd3bd37,_0x2b0322){const _0x503a45=_0x5efc3d;super(),this[_0x503a45(0x2a4)]=_0x1db2f4,this[_0x503a45(0x1cf)]=_0x5985ec,this[_0x503a45(0x160)]=_0x45751c,this[_0x503a45(0x393)]=_0xd3bd37,_0x2b0322?_0x2b0322==null||_0x2b0322[_0x503a45(0x357)]()[_0x503a45(0x1f6)](()=>this[_0x503a45(0x180)]()):(this[_0x503a45(0x1cf)][_0x503a45(0x18d)]('[CollaborationDataLoaderController]',_0x503a45(0x32c)),this[_0x503a45(0x180)]());}async[_0x5efc3d(0x180)](){const _0x3586e2=_0x5efc3d,_0x3caf46=this[_0x3586e2(0x2a4)][_0x3586e2(0x323)]('unit'),_0x28ddb2=this[_0x3586e2(0x2a4)][_0x3586e2(0x323)](_0x3586e2(0x29b)),_0x1957dc=this['_urlService']['getParam']('subunit');if(!_0x3caf46||!_0x28ddb2){this['_logService'][_0x3586e2(0x18d)](_0x3586e2(0x16b),_0x3586e2(0x26b));return;}const _0x2b6ce8=await this[_0x3586e2(0x393)][_0x3586e2(0x385)](_0x3caf46,Number(_0x28ddb2),_0x1957dc);_0x2b6ce8&&_0x2b6ce8 instanceof _0x3dbd89['Workbook']&&this[_0x3586e2(0x141)](_0x2b6ce8);}async[_0x5efc3d(0x141)](_0xf61538){const _0x45b0c9=_0x5efc3d;await this['_updateSubUnitFromURLParams'](_0xf61538),_0xf61538[_0x45b0c9(0x225)]['pipe'](_0x142e5d[_0x45b0c9(0x275)](this[_0x45b0c9(0x120)]))[_0x45b0c9(0x2c3)](_0x308a43=>{const _0x5e3ba4=_0x45b0c9;_0x308a43&&this[_0x5e3ba4(0x30e)](_0x308a43);}),this['_urlService'][_0x45b0c9(0x2b6)]['pipe'](_0x142e5d[_0x45b0c9(0x275)](this[_0x45b0c9(0x120)]))[_0x45b0c9(0x2c3)](()=>this[_0x45b0c9(0x331)](_0xf61538));}['_updateURLWithCurrentState'](_0x52014e,_0x2c41bc=!0x1){const _0x156b4f=_0x5efc3d,_0xc9e72d=this[_0x156b4f(0x2a4)][_0x156b4f(0x323)](_0x156b4f(0x13c));_0x52014e[_0x156b4f(0x253)]()!==_0xc9e72d&&this['_urlService']['setParam'](_0x156b4f(0x13c),_0x52014e['getSheetId'](),_0x2c41bc);}async['_updateSubUnitFromURLParams'](_0x3e62fc){const _0x317668=_0x5efc3d;var _0x585b29;const _0x4e0b36=this[_0x317668(0x2a4)][_0x317668(0x323)](_0x317668(0x13c));if(!_0x4e0b36||!_0x3e62fc[_0x317668(0x2aa)](_0x4e0b36)){const _0x33878e=_0x3e62fc[_0x317668(0x394)]()[0x0],_0x1ac023=_0x3e62fc[_0x317668(0x2aa)](_0x33878e);if(!_0x1ac023)return;this['_updateURLWithCurrentState'](_0x1ac023,!0x0),await this[_0x317668(0x160)]['executeCommand'](_0x71d422[_0x317668(0x12d)]['id'],{'unitId':_0x3e62fc[_0x317668(0x1e6)](),'subUnitId':_0x33878e});return;}((_0x585b29=_0x3e62fc['getActiveSheet']())==null?void 0x0:_0x585b29['getSheetId']())!==_0x4e0b36&&await this[_0x317668(0x160)][_0x317668(0x265)](_0x71d422['SetWorksheetActivateCommand']['id'],{'unitId':_0x3e62fc['getUnitId'](),'subUnitId':_0x4e0b36});}},_0xa1933d[_0x5efc3d(0x38a)]=_0x5589a9([_0x4d8507(0x0,_0x34b516),_0x4d8507(0x1,_0x3dbd89[_0x5efc3d(0x348)]),_0x4d8507(0x2,_0x3dbd89['ICommandService']),_0x4d8507(0x3,_0x3dbd89[_0x5efc3d(0x35f)](_0x7ddaeb['DataLoaderService'])),_0x4d8507(0x4,_0x3dbd89[_0x5efc3d(0x366)](_0x416e7c[_0x5efc3d(0x1c8)]))],_0xa1933d['CollaborationDataLoaderController']);var _0x5cd02f=Object[_0x5efc3d(0x37a)],_0x53426e=(_0xd751aa,_0x530bf8,_0xa299d,_0x128aac)=>{const _0x33a0d9=_0x5efc3d;for(var _0x5d4f0b=_0x128aac>0x1?void 0x0:_0x128aac?_0x5cd02f(_0x530bf8,_0xa299d):_0x530bf8,_0xa945bd=_0xd751aa[_0x33a0d9(0x166)]-0x1,_0x4f2ea1;_0xa945bd>=0x0;_0xa945bd--)(_0x4f2ea1=_0xd751aa[_0xa945bd])&&(_0x5d4f0b=_0x4f2ea1(_0x5d4f0b)||_0x5d4f0b);return _0x5d4f0b;},_0x41b14c=(_0x30f4d1,_0xa68ec6)=>(_0x270118,_0xb473c8)=>_0xa68ec6(_0x270118,_0xb473c8,_0x30f4d1);let _0x4d7a80=class extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(_0x4208e4,_0x5cd02a){const _0x558619=_0x5efc3d;super(),this[_0x558619(0x220)]=_0x4208e4,this['_imageIoService']=_0x5cd02a,this[_0x558619(0x180)]();}['_init'](){const _0x10f62a=_0x5efc3d,_0x2f3872=this;this[_0x10f62a(0x2e5)](this['_docClipboardService'][_0x10f62a(0x39f)]({'onBeforePasteImage':async _0x2eb4cf=>{const _0x187275=_0x10f62a,_0x18d6d4=await _0x2f3872[_0x187275(0x11d)][_0x187275(0x35c)](_0x2eb4cf);return _0x18d6d4?{'source':_0x18d6d4['source'],'imageSourceType':_0x18d6d4[_0x187275(0x267)]}:null;}}));}};_0x4d7a80=_0x53426e([_0x41b14c(0x0,_0x4f3ea0[_0x5efc3d(0x213)]),_0x41b14c(0x1,_0x5a44e5['IImageIoService'])],_0x4d7a80);const _0x104aa3=[_0x5efc3d(0x33a),_0x5efc3d(0x19c),'green.600',_0x5efc3d(0x2ee),_0x5efc3d(0x2b9),'yellow.400'];class _0x37fd7c extends _0x3dbd89['Disposable']{constructor(){const _0x510058=_0x5efc3d;super(...arguments),_0x318f52(this,_0x510058(0x38c),new Map()),_0x318f52(this,_0x510058(0x22e),0x0);}[_0x5efc3d(0x314)](_0x58fb19){const _0x1aa496=_0x5efc3d;if(this[_0x1aa496(0x38c)][_0x1aa496(0x13d)](_0x58fb19))return this[_0x1aa496(0x38c)]['get'](_0x58fb19);const _0x17d2b1=_0x104aa3[this['_colorIndex']];return this[_0x1aa496(0x22e)]=(this[_0x1aa496(0x22e)]+0x1)%_0x104aa3[_0x1aa496(0x166)],this[_0x1aa496(0x38c)][_0x1aa496(0x1e8)](_0x58fb19,_0x17d2b1),_0x17d2b1;}}function _0x318227(_0x3cce5f){const _0x34a0b9=_0x5efc3d;let _0xff31d1='';for(const _0x539914 of _0x3cce5f){const {startOffset:_0x218fbb,endOffset:_0x341772,isActive:_0x43e478,rangeType:_0x1ebd0b,segmentId:_0xa0e8c8,segmentPage:_0x2ac02f}=_0x539914;_0xff31d1[_0x34a0b9(0x166)]&&(_0xff31d1+=','),_0xff31d1+=_0x218fbb+':'+_0x341772+':'+(_0x43e478?'1':'0')+':'+_0x1ebd0b+':'+_0xa0e8c8+':'+_0x2ac02f;}return _0xff31d1;}function _0x3c6127(_0x9cb1f4){const _0x205596=_0x5efc3d,_0x2dc45f=_0x9cb1f4[_0x205596(0x228)](','),_0x514095=[];for(const _0x4cbb92 of _0x2dc45f){const [_0x337430,_0x11f682,_0x1051d7,_0x2d4c0c,_0xf3f089,_0x482ad8]=_0x4cbb92[_0x205596(0x228)](':');_0x514095['push']({'startOffset':Number(_0x337430),'endOffset':Number(_0x11f682),'collapsed':_0x337430===_0x11f682,'isActive':_0x1051d7==='1','rangeType':_0x2d4c0c===_0x3dbd89[_0x205596(0x138)]['TEXT']?_0x3dbd89['DOC_RANGE_TYPE'][_0x205596(0x289)]:_0x3dbd89['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0xf3f089=='string'?String(_0xf3f089):'','segmentPage':Number(_0x482ad8!=null?_0x482ad8:-0x1)});}return _0x514095[_0x205596(0x25d)](_0x2e1cc1=>_0x2e1cc1[_0x205596(0x2e2)])||(_0x514095[0x0][_0x205596(0x2e2)]=!0x0),_0x514095;}class _0x4256c4 extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(){const _0x44b67a=_0x5efc3d;super(...arguments),_0x318f52(this,'_collabCursorState$',new _0x142e5d[(_0x44b67a(0x391))](null)),_0x318f52(this,_0x44b67a(0x33e),this[_0x44b67a(0x10d)][_0x44b67a(0x376)]());}[_0x5efc3d(0x19b)](_0x1e7658){const {unitID:_0x25f83b,memberID:_0x599c25,textRanges:_0x202383}=_0x1e7658,_0xf2f10e=_0x318227(_0x202383);if(_0xf2f10e==='')return;const _0x8b7cac={'unitID':_0x25f83b,'memberID':_0x599c25,'selection':_0xf2f10e};this['_collabCursorState$']['next'](_0x8b7cac);}}var _0x799dc8=Object[_0x5efc3d(0x37a)],_0x1d1000=(_0x44d884,_0x40327c,_0x341d62,_0xa38512)=>{const _0x41f656=_0x5efc3d;for(var _0x3b3ab9=_0xa38512>0x1?void 0x0:_0xa38512?_0x799dc8(_0x40327c,_0x341d62):_0x40327c,_0x5e0a26=_0x44d884[_0x41f656(0x166)]-0x1,_0x1cf338;_0x5e0a26>=0x0;_0x5e0a26--)(_0x1cf338=_0x44d884[_0x5e0a26])&&(_0x3b3ab9=_0x1cf338(_0x3b3ab9)||_0x3b3ab9);return _0x3b3ab9;},_0x2cef99=(_0x1bd603,_0x1c5e95)=>(_0x4befb1,_0x2a56e8)=>_0x1c5e95(_0x4befb1,_0x2a56e8,_0x1bd603);const _0x4f46a6=0x12c,_0x237a7d=0x64;let _0xde3efd=class extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(_0x348d3b,_0x5b5c61,_0x463ea7,_0xd0beb1,_0x3537ee,_0x45820c,_0x347119,_0x33f9ab,_0x1f90cf){const _0x20e9f2=_0x5efc3d;super(),_0x318f52(this,'_online',!0x1),_0x318f52(this,_0x20e9f2(0x180),!0x1),_0x318f52(this,_0x20e9f2(0x24e),new _0x142e5d[(_0x20e9f2(0x391))](new Map())),_0x318f52(this,_0x20e9f2(0x1d3),this[_0x20e9f2(0x24e)][_0x20e9f2(0x376)]()),_0x318f52(this,_0x20e9f2(0x305),new _0x142e5d[(_0x20e9f2(0x391))]([])),_0x318f52(this,_0x20e9f2(0x2a1),this[_0x20e9f2(0x305)][_0x20e9f2(0x161)](_0x142e5d[_0x20e9f2(0x199)](_0x4f46a6))),_0x318f52(this,_0x20e9f2(0x37c),_0x3dbd89[_0x20e9f2(0x21d)](_0x275957=>{const _0x2f2ace=_0x20e9f2,_0x3d2c71={'eventID':_0x43c25f[_0x2f2ace(0x2bd)][_0x2f2ace(0x186)],'data':{'unitID':this['unitID'],'memberID':this[_0x2f2ace(0x23f)][_0x2f2ace(0x116)](),'selection':_0x318227(_0x275957)}};this[_0x2f2ace(0x23f)][_0x2f2ace(0x31d)](_0x3d2c71,this[_0x2f2ace(0x258)]);},_0x237a7d)),(this[_0x20e9f2(0x258)]=_0x348d3b,this[_0x20e9f2(0x23f)]=_0x5b5c61,this['_injector']=_0x463ea7,this[_0x20e9f2(0x240)]=_0xd0beb1,this['_memberService']=_0x3537ee,this[_0x20e9f2(0x19d)]=_0x45820c,this[_0x20e9f2(0x18e)]=_0x347119,this[_0x20e9f2(0x2b4)]=_0x33f9ab,this[_0x20e9f2(0x160)]=_0x1f90cf);}get['cursorInfo'](){const _0x35688d=_0x5efc3d;return this[_0x35688d(0x24e)][_0x35688d(0x13b)]();}get['roomMembers'](){const _0x5bce4d=_0x5efc3d;return this['_roomMembers$'][_0x5bce4d(0x13b)]();}['dispose'](){const _0x2e3626=_0x5efc3d;super[_0x2e3626(0x33d)](),this[_0x2e3626(0x24e)][_0x2e3626(0x2c7)](new Map()),this[_0x2e3626(0x24e)][_0x2e3626(0x172)](),this[_0x2e3626(0x305)][_0x2e3626(0x2c7)]([]),this[_0x2e3626(0x305)][_0x2e3626(0x172)]();}[_0x5efc3d(0x139)](){const _0x299ae5=_0x5efc3d;this[_0x299ae5(0x180)]||(this[_0x299ae5(0x180)]=!0x0,this[_0x299ae5(0x23f)]['sessionStatus$'][_0x299ae5(0x161)](_0x142e5d[_0x299ae5(0x275)](this[_0x299ae5(0x120)]))[_0x299ae5(0x2c3)](_0x5e2783=>{const _0x59e00e=_0x299ae5;_0x5e2783===_0x7ddaeb[_0x59e00e(0x2ae)][_0x59e00e(0x292)]?this[_0x59e00e(0x1aa)]():this[_0x59e00e(0x304)]();}),this[_0x299ae5(0x23f)][_0x299ae5(0x362)][_0x299ae5(0x161)](_0x142e5d[_0x299ae5(0x275)](this['dispose$']))[_0x299ae5(0x2c3)](_0x35d17e=>{const _0xd55576=_0x299ae5,_0x5d4b6d=_0x35d17e[_0xd55576(0x134)];_0x5d4b6d===_0x43c25f[_0xd55576(0x2bd)][_0xd55576(0x186)]&&this[_0xd55576(0x142)](_0x35d17e),_0x5d4b6d===_0x43c25f[_0xd55576(0x2bd)][_0xd55576(0x367)]&&this[_0xd55576(0x279)](_0x35d17e);}),this['disposeWithMe'](this[_0x299ae5(0x160)][_0x299ae5(0x194)](_0x48633d=>{const _0x23249b=_0x299ae5,_0x30727e=_0x48633d[_0x23249b(0x2d7)];_0x30727e!=null&&this['_online']&&_0x48633d['id']===_0x7a54c1[_0x23249b(0x21b)]['id']&&_0x30727e[_0x23249b(0x1a7)]===this[_0x23249b(0x258)]&&_0x30727e[_0x23249b(0x206)]===!0x1&&_0x30727e[_0x23249b(0x187)]['length']>0x0&&this[_0x23249b(0x37c)](_0x30727e['ranges']);})),this[_0x299ae5(0x19d)][_0x299ae5(0x33e)][_0x299ae5(0x161)](_0x142e5d[_0x299ae5(0x275)](this[_0x299ae5(0x120)]))[_0x299ae5(0x2c3)](_0x5630c4=>{const _0x55f049=_0x299ae5;if((_0x5630c4==null?void 0x0:_0x5630c4['unitID'])!==this[_0x55f049(0x258)])return;const _0xdb4fc9={'eventID':_0x43c25f[_0x55f049(0x2bd)]['UPDATE_CURSOR'],'data':_0x5630c4};this[_0x55f049(0x142)](_0xdb4fc9);}),this['disposeWithMe'](this[_0x299ae5(0x160)][_0x299ae5(0x194)](_0x3524dc=>{const _0x40e912=_0x299ae5;if(_0x3524dc[_0x40e912(0x2d7)]==null)return;const _0xb6a27a=_0x3524dc[_0x40e912(0x2d7)];if(_0x3524dc['id']!==_0x7a54c1[_0x40e912(0x2cc)]['id']||_0xb6a27a[_0x40e912(0x1a7)]!==this[_0x40e912(0x258)])return;const _0x54e141={'id':_0x40e912(0x318),'params':_0xb6a27a},_0x51f2ec=this[_0x40e912(0x1ef)];for(const [_0x20cbbd,_0x570454]of _0x51f2ec){const _0xb123eb={'id':_0x40e912(0x318),'params':{'unitId':this[_0x40e912(0x258)],'actions':null,'textRanges':_0x570454[_0x40e912(0x187)]}},_0x41f012=this[_0x40e912(0x18e)][_0x40e912(0x1da)](_0x54e141,_0xb123eb,!0x1);if(_0x43c25f[_0x40e912(0x324)](_0x41f012))throw _0x41f012[_0x40e912(0x273)];_0x51f2ec[_0x40e912(0x1e8)](_0x20cbbd,{..._0x570454,'ranges':_0x41f012[_0x40e912(0x1b5)]['params'][_0x40e912(0x1a3)]});}queueMicrotask(()=>{const _0x124854=_0x40e912;this[_0x124854(0x24e)][_0x124854(0x2c7)](_0x51f2ec);});})));}[_0x5efc3d(0x142)](_0x296486){const _0x40478c=_0x5efc3d;var _0x43a3e1,_0x4e993e;const {memberID:_0x1189c5,selection:_0x518f68}=_0x296486[_0x40478c(0x27f)],_0x5e23be=_0x3c6127(_0x518f68),_0x1fddf8=(_0x4e993e=(_0x43a3e1=this[_0x40478c(0x387)][_0x40478c(0x2a3)](this[_0x40478c(0x258)],_0x1189c5))==null?void 0x0:_0x43a3e1[_0x40478c(0x371)])!=null?_0x4e993e:_0x40478c(0x179),_0x3e1626={'color':this[_0x40478c(0x240)][_0x40478c(0x314)](_0x1189c5),'name':_0x1fddf8,'ranges':_0x5e23be},_0x59dcaf=this['cursorInfo'];_0x59dcaf[_0x40478c(0x1e8)](_0x1189c5,_0x3e1626),this['_cursorInfo$'][_0x40478c(0x2c7)](_0x59dcaf);}[_0x5efc3d(0x279)](_0x466ce1){const _0x363379=_0x5efc3d,{memberID:_0x5cb3a8}=_0x466ce1[_0x363379(0x27f)],_0x113dfc=this[_0x363379(0x1ef)];_0x113dfc[_0x363379(0x125)](_0x5cb3a8),this[_0x363379(0x24e)][_0x363379(0x2c7)](_0x113dfc);}[_0x5efc3d(0x1aa)](){const _0x547518=_0x5efc3d;var _0x178fd1;if(this[_0x547518(0x191)]=!0x0,((_0x178fd1=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x178fd1[_0x547518(0x1e6)]())!==this['unitID'])return;const _0x4067ab=this['_injector'][_0x547518(0x171)](_0x7a54c1[_0x547518(0x2e3)])['getDocRanges']();Array[_0x547518(0x36a)](_0x4067ab)&&_0x4067ab[_0x547518(0x166)]>0x0&&this[_0x547518(0x37c)](_0x4067ab);}[_0x5efc3d(0x304)](){this['_online']=!0x1;}};_0xde3efd=_0x1d1000([_0x2cef99(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x384)])),_0x2cef99(0x3,_0x3dbd89['Inject'](_0x37fd7c)),_0x2cef99(0x4,_0x3dbd89[_0x5efc3d(0x35f)](_0x7ddaeb[_0x5efc3d(0x16e)])),_0x2cef99(0x5,_0x3dbd89[_0x5efc3d(0x35f)](_0x4256c4)),_0x2cef99(0x6,_0x43c25f['ITransformService']),_0x2cef99(0x7,_0x3dbd89['IUniverInstanceService']),_0x2cef99(0x8,_0x3dbd89['ICommandService'])],_0xde3efd);var _0x1f1255=Object[_0x5efc3d(0x37a)],_0xbc858b=(_0xd0992b,_0x31d270,_0x4d477a,_0x4e74a8)=>{for(var _0x1886ea=_0x4e74a8>0x1?void 0x0:_0x4e74a8?_0x1f1255(_0x31d270,_0x4d477a):_0x31d270,_0x50fd9c=_0xd0992b['length']-0x1,_0x422dfa;_0x50fd9c>=0x0;_0x50fd9c--)(_0x422dfa=_0xd0992b[_0x50fd9c])&&(_0x1886ea=_0x422dfa(_0x1886ea)||_0x1886ea);return _0x1886ea;},_0x3738f9=(_0x21454c,_0x3e1272)=>(_0x51e04c,_0x3c449b)=>_0x3e1272(_0x51e04c,_0x3c449b,_0x21454c);const _0xdef096=0x12c,_0x337416=0x64,_0x519b80=()=>{let _0x438e94=[],_0x334865=!0x1;return _0xab7bb3=>{const _0x2f44fb=_0x2806;_0x438e94[_0x2f44fb(0x14e)](_0xab7bb3),_0x334865||(_0x334865=!0x0,setTimeout(()=>{const _0x4088a0=_0x2f44fb;_0x438e94[_0x4088a0(0x112)](_0x3c9087=>_0x3c9087()),_0x438e94=[],_0x334865=!0x1;}));};};let _0x6a0b7f=class extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(_0x341039,_0x45ebf6,_0x497e7c,_0x96f423,_0x29f14e,_0x23cffc,_0x3627e4,_0x4e7232){const _0x410c10=_0x5efc3d;super(),_0x318f52(this,'_online',!0x1),_0x318f52(this,_0x410c10(0x180),!0x1),_0x318f52(this,_0x410c10(0x24e),new _0x142e5d[(_0x410c10(0x391))](new Map())),_0x318f52(this,_0x410c10(0x1d3),this[_0x410c10(0x24e)][_0x410c10(0x376)]()),_0x318f52(this,_0x410c10(0x305),new _0x142e5d[(_0x410c10(0x391))]([])),_0x318f52(this,_0x410c10(0x2a1),this[_0x410c10(0x305)][_0x410c10(0x161)](_0x142e5d[_0x410c10(0x199)](_0xdef096))),_0x318f52(this,'_updateLocalCursor',_0x3dbd89[_0x410c10(0x21d)]((_0x4d7e83,_0x13d1d0)=>{const _0x20e7dc=_0x410c10,_0x3d9c1b={'eventID':_0x43c25f[_0x20e7dc(0x2bd)][_0x20e7dc(0x186)],'data':{'unitID':this[_0x20e7dc(0x258)],'memberID':this[_0x20e7dc(0x23f)][_0x20e7dc(0x116)](),'selection':_0x32ac5c[_0x20e7dc(0x263)](_0x4d7e83,_0x13d1d0[_0x20e7dc(0x250)])}};this['_session'][_0x20e7dc(0x31d)](_0x3d9c1b,this[_0x20e7dc(0x258)]);},_0x337416)),(this[_0x410c10(0x258)]=_0x341039,this[_0x410c10(0x23f)]=_0x45ebf6,this['_injector']=_0x497e7c,this[_0x410c10(0x240)]=_0x96f423,this[_0x410c10(0x387)]=_0x29f14e,this[_0x410c10(0x2b4)]=_0x23cffc,this[_0x410c10(0x160)]=_0x3627e4,this[_0x410c10(0x1ec)]=_0x4e7232);}get['cursorInfo'](){const _0x4f56b8=_0x5efc3d;return this[_0x4f56b8(0x24e)][_0x4f56b8(0x13b)]();}get[_0x5efc3d(0x27b)](){const _0x1c7e4a=_0x5efc3d;return this['_roomMembers$'][_0x1c7e4a(0x13b)]();}[_0x5efc3d(0x33d)](){const _0x22c6a2=_0x5efc3d;super[_0x22c6a2(0x33d)](),this[_0x22c6a2(0x24e)][_0x22c6a2(0x2c7)](new Map()),this['_cursorInfo$'][_0x22c6a2(0x172)](),this[_0x22c6a2(0x305)][_0x22c6a2(0x2c7)]([]),this[_0x22c6a2(0x305)]['complete']();}['init'](){const _0x40c8e8=_0x5efc3d;this['_init']||(this[_0x40c8e8(0x180)]=!0x0,this[_0x40c8e8(0x23f)]['sessionStatus$'][_0x40c8e8(0x161)](_0x142e5d[_0x40c8e8(0x275)](this[_0x40c8e8(0x120)]))[_0x40c8e8(0x2c3)](_0x5b08d2=>{const _0x2f2c37=_0x40c8e8;_0x5b08d2===_0x7ddaeb['SessionStatus'][_0x2f2c37(0x292)]?this[_0x2f2c37(0x1aa)]():this[_0x2f2c37(0x304)]();}),this['_session'][_0x40c8e8(0x362)]['pipe'](_0x142e5d[_0x40c8e8(0x275)](this[_0x40c8e8(0x120)]))[_0x40c8e8(0x2c3)](_0x1bf360=>{const _0x3e17a8=_0x40c8e8,_0x557ce2=_0x1bf360['eventID'];_0x557ce2===_0x43c25f[_0x3e17a8(0x2bd)]['UPDATE_CURSOR']&&this[_0x3e17a8(0x142)](_0x1bf360),_0x557ce2===_0x43c25f['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x1bf360);}),this[_0x40c8e8(0x271)](),this[_0x40c8e8(0x2e5)](this['_commandService'][_0x40c8e8(0x194)](_0x2b2673=>{const _0x46e8ac=_0x40c8e8;if(this[_0x46e8ac(0x191)]&&_0x2b2673['id']===_0x71d422['SetSelectionsOperation']['id']&&_0x2b2673[_0x46e8ac(0x2d7)][_0x46e8ac(0x1a7)]===this[_0x46e8ac(0x258)]){const _0x3a77e0=_0x2b2673['params'];this[_0x46e8ac(0x37c)](_0x3a77e0[_0x46e8ac(0x181)],_0x3a77e0['selections'][0x0]);}})));}[_0x5efc3d(0x142)](_0x4bdde7){const _0x334c79=_0x5efc3d;var _0x2c5470,_0xdb9927;const {memberID:_0x1627e4,selection:_0x5cc072}=_0x4bdde7[_0x334c79(0x27f)],{sheetName:_0x4c9a22,range:_0x42aa2c}=_0x32ac5c['deserializeRangeWithSheet'](_0x5cc072),_0x18ee91={'name':(_0xdb9927=(_0x2c5470=this['_memberService'][_0x334c79(0x2a3)](this[_0x334c79(0x258)],_0x1627e4))==null?void 0x0:_0x2c5470[_0x334c79(0x371)])!=null?_0xdb9927:_0x334c79(0x179),'range':this['_getMergeRange'](_0x4c9a22,_0x42aa2c),'sheetID':_0x4c9a22,'color':this[_0x334c79(0x240)][_0x334c79(0x314)](_0x1627e4),'selection':_0x5cc072},_0x3a9a08=this[_0x334c79(0x1ef)];_0x3a9a08[_0x334c79(0x1e8)](_0x1627e4,_0x18ee91),this[_0x334c79(0x24e)][_0x334c79(0x2c7)](_0x3a9a08);}[_0x5efc3d(0x279)](_0x30021a){const {memberID:_0x530e6f}=_0x30021a['data'],_0x5acf3e=this['cursorInfo'];_0x5acf3e['delete'](_0x530e6f),this['_cursorInfo$']['next'](_0x5acf3e);}[_0x5efc3d(0x25f)](_0xead141,_0x26a462){const _0x311587=_0x5efc3d;var _0x211b42,_0xd47146;const _0x444c9a=(_0xd47146=(_0x211b42=this['_univerInstanceService'][_0x311587(0x39b)](this[_0x311587(0x258)]))==null?void 0x0:_0x211b42['getSheetBySheetId'](_0xead141))==null?void 0x0:_0xd47146['getMergeData']();return(_0x444c9a==null?void 0x0:_0x444c9a[_0x311587(0x122)](_0x5e8011=>_0x3dbd89['Rectangle'][_0x311587(0x1e1)](_0x5e8011,_0x26a462)))||_0x26a462;}['_onRefRangeChange'](){const _0x356d2e=_0x5efc3d,_0x5e1636=new _0x3dbd89[(_0x356d2e(0x104))](),_0x2a8244=_0x519b80(),_0x470052=()=>{const _0x65ee9=_0x356d2e;_0x5e1636[_0x65ee9(0x33d)]();const _0x151be1=(_0x32ced5,_0x420231,_0x1efae2,_0x18275f)=>{const _0x190731=_0x65ee9;let _0x499087=[];switch(_0x32ced5['id']){case _0x71d422[_0x190731(0x283)][_0x190731(0x327)]:{_0x499087=_0x71d422['handleDeleteRangeMoveLeft'](_0x32ced5,_0x18275f);break;}case _0x71d422[_0x190731(0x283)][_0x190731(0x20c)]:{_0x499087=_0x71d422[_0x190731(0x337)](_0x32ced5,_0x18275f);break;}case _0x71d422[_0x190731(0x283)][_0x190731(0x378)]:{_0x499087=_0x71d422[_0x190731(0x117)](_0x32ced5,_0x18275f);break;}case _0x71d422['EffectRefRangId'][_0x190731(0x1b6)]:{_0x499087=_0x71d422['handleInsertRangeMoveDown'](_0x32ced5,_0x18275f);break;}case _0x71d422['EffectRefRangId'][_0x190731(0x126)]:{_0x499087=_0x71d422[_0x190731(0x36d)](_0x32ced5,_0x18275f);break;}case _0x71d422[_0x190731(0x283)][_0x190731(0x342)]:{_0x499087=_0x71d422[_0x190731(0x21a)](_0x32ced5,_0x18275f);break;}case _0x71d422['EffectRefRangId'][_0x190731(0x1d5)]:{_0x499087=_0x71d422[_0x190731(0x105)](_0x32ced5,_0x18275f);break;}case _0x71d422[_0x190731(0x283)][_0x190731(0x14f)]:{_0x499087=_0x71d422[_0x190731(0x35b)](_0x32ced5,_0x18275f);break;}case _0x71d422['EffectRefRangId']['RemoveRowCommandId']:{_0x499087=_0x71d422['handleIRemoveRow'](_0x32ced5,_0x18275f);break;}}const _0x541beb=_0x71d422[_0x190731(0x1d8)](_0x499087,_0x18275f),_0x176348=this[_0x190731(0x1ef)][_0x190731(0x171)](_0x420231);if(_0x176348&&_0x541beb){const _0x4abcc7={..._0x176348,'range':_0x541beb};this[_0x190731(0x1ef)][_0x190731(0x1e8)](_0x420231,_0x4abcc7),_0x2a8244(()=>{const _0x8d4787=_0x190731,_0x108c39=this['_refRangeService'][_0x8d4787(0x35a)](_0x541beb,_0x25a7c7=>(_0x108c39[_0x8d4787(0x33d)](),_0x151be1(_0x25a7c7,_0x420231,_0x1efae2,_0x541beb)));_0x5e1636['add'](_0x108c39);});}return{'redos':[],'undos':[]};};this[_0x65ee9(0x1ef)][_0x65ee9(0x112)]((_0x218c05,_0x14d66a)=>{const _0x473895=_0x65ee9,{range:_0x3876fd,sheetID:_0x3b0f79}=_0x218c05,_0x30082d=this['_refRangeService']['registerRefRange'](_0x3876fd,_0x494145=>(_0x30082d[_0x473895(0x33d)](),_0x151be1(_0x494145,_0x14d66a,_0x3b0f79,_0x3876fd)));_0x5e1636[_0x473895(0x133)](_0x30082d);});};this[_0x356d2e(0x2e5)](_0x3dbd89[_0x356d2e(0x35d)](this[_0x356d2e(0x24e)]['subscribe'](()=>{_0x470052();})));}[_0x5efc3d(0x1aa)](){const _0x49849d=_0x5efc3d;var _0x102ed3,_0x5358db;if(this[_0x49849d(0x191)]=!0x0,((_0x102ed3=this[_0x49849d(0x2b4)][_0x49849d(0x1f7)]())==null?void 0x0:_0x102ed3['getUnitId']())!==this[_0x49849d(0x258)])return;const _0x6b9c54=(_0x5358db=this[_0x49849d(0x383)][_0x49849d(0x171)](_0x71d422[_0x49849d(0x219)])[_0x49849d(0x154)]())==null?void 0x0:_0x5358db[0x0],_0x46cd6d=this[_0x49849d(0x2b4)][_0x49849d(0x334)](_0x3dbd89[_0x49849d(0x306)][_0x49849d(0x335)])['getActiveSheet']();_0x6b9c54&&_0x46cd6d&&this['_updateLocalCursor'](_0x46cd6d[_0x49849d(0x253)](),_0x6b9c54);}[_0x5efc3d(0x304)](){const _0x56e365=_0x5efc3d;this[_0x56e365(0x191)]=!0x1;}};_0x6a0b7f=_0xbc858b([_0x3738f9(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89['Injector'])),_0x3738f9(0x3,_0x3dbd89[_0x5efc3d(0x35f)](_0x37fd7c)),_0x3738f9(0x4,_0x3dbd89['Inject'](_0x7ddaeb['MemberService'])),_0x3738f9(0x5,_0x3dbd89['IUniverInstanceService']),_0x3738f9(0x6,_0x3dbd89['ICommandService']),_0x3738f9(0x7,_0x3dbd89[_0x5efc3d(0x35f)](_0x71d422[_0x5efc3d(0x274)]))],_0x6a0b7f);var _0x4ce306=Object[_0x5efc3d(0x37a)],_0x1a37db=(_0x414595,_0x5cae00,_0x37668,_0x554a32)=>{const _0x28d6e2=_0x5efc3d;for(var _0x5e121b=_0x554a32>0x1?void 0x0:_0x554a32?_0x4ce306(_0x5cae00,_0x37668):_0x5cae00,_0x3d41a2=_0x414595[_0x28d6e2(0x166)]-0x1,_0x356e8d;_0x3d41a2>=0x0;_0x3d41a2--)(_0x356e8d=_0x414595[_0x3d41a2])&&(_0x5e121b=_0x356e8d(_0x5e121b)||_0x5e121b);return _0x5e121b;},_0x3c8c68=(_0x47014c,_0x43fec2)=>(_0x22d37b,_0x1d0b9b)=>_0x43fec2(_0x22d37b,_0x1d0b9b,_0x47014c);let _0x2973b0=class extends _0x3dbd89['RxDisposable']{constructor(_0x4e3b97,_0x3382b8,_0x46f17f){const _0x2e0760=_0x5efc3d;super(),_0x318f52(this,_0x2e0760(0x31a),new Map()),_0x318f52(this,_0x2e0760(0x1df),new _0x142e5d['Subject']()),(this[_0x2e0760(0x2b4)]=_0x4e3b97,this[_0x2e0760(0x383)]=_0x3382b8,this[_0x2e0760(0x38f)]=_0x46f17f,this[_0x2e0760(0x180)]());}['dispose'](){const _0x4be21a=_0x5efc3d;super[_0x4be21a(0x33d)](),this['_entityInit$'][_0x4be21a(0x172)](),this['_entities'][_0x4be21a(0x112)](_0x2a73bb=>_0x2a73bb[_0x4be21a(0x33d)]());}['getCollabCursors$'](_0xf4b3f3){const _0xfbf180=_0x5efc3d;return this[_0xfbf180(0x31a)][_0xfbf180(0x13d)](_0xf4b3f3)?this['_entities']['get'](_0xf4b3f3)[_0xfbf180(0x1d3)]:this[_0xfbf180(0x1df)][_0xfbf180(0x161)](_0x142e5d[_0xfbf180(0x215)](_0x47f0c3=>_0x47f0c3['unitID']===_0xf4b3f3),_0x142e5d[_0xfbf180(0x245)](_0x3b77f7=>_0x3b77f7[_0xfbf180(0x1d3)]));}[_0x5efc3d(0x180)](){const _0x355822=_0x5efc3d;this[_0x355822(0x2b4)][_0x355822(0x1bb)](_0x3dbd89[_0x355822(0x306)][_0x355822(0x335)])['pipe'](_0x142e5d['takeUntil'](this[_0x355822(0x120)]))[_0x355822(0x2c3)](async _0x26bae2=>{const _0x9331d1=_0x355822,_0x5db6de=_0x26bae2[_0x9331d1(0x1e6)](),_0x45cc4d=await this[_0x9331d1(0x129)](_0x5db6de);this[_0x9331d1(0x1df)][_0x9331d1(0x2c7)](_0x45cc4d),this[_0x9331d1(0x31a)]['set'](_0x5db6de,_0x45cc4d);}),this[_0x355822(0x2b4)][_0x355822(0x1bb)](_0x3dbd89[_0x355822(0x306)]['UNIVER_DOC'])[_0x355822(0x161)](_0x142e5d[_0x355822(0x275)](this[_0x355822(0x120)]))[_0x355822(0x161)](_0x142e5d[_0x355822(0x215)](_0x218c89=>!_0x218c89[_0x355822(0x1e6)]()['startsWith']('__')))[_0x355822(0x2c3)](async _0x230936=>{const _0x15cc92=_0x355822,_0x38e517=_0x230936[_0x15cc92(0x1e6)](),_0x183c06=await this[_0x15cc92(0x239)](_0x38e517);this[_0x15cc92(0x1df)]['next'](_0x183c06),this[_0x15cc92(0x31a)][_0x15cc92(0x1e8)](_0x38e517,_0x183c06);}),_0x142e5d[_0x355822(0x22d)](this[_0x355822(0x2b4)]['getTypeOfUnitDisposed$'](_0x3dbd89[_0x355822(0x306)][_0x355822(0x1ba)]),this[_0x355822(0x2b4)]['getTypeOfUnitDisposed$'](_0x3dbd89['UniverInstanceType'][_0x355822(0x335)]))[_0x355822(0x161)](_0x142e5d['takeUntil'](this[_0x355822(0x120)]))[_0x355822(0x2c3)](_0x2a24b5=>{const _0x3be8ae=_0x355822,_0x2d9b1b=_0x2a24b5['getUnitId'](),_0x4ba672=this[_0x3be8ae(0x31a)][_0x3be8ae(0x171)](_0x2d9b1b);_0x4ba672&&(_0x4ba672[_0x3be8ae(0x33d)](),this[_0x3be8ae(0x31a)][_0x3be8ae(0x125)](_0x2d9b1b));});}async[_0x5efc3d(0x129)](_0x416822){const _0x495291=_0x5efc3d,_0x18ce59=await this[_0x495291(0x38f)]['requireSession'](_0x416822),_0x63eb03=this[_0x495291(0x383)]['createInstance'](_0x6a0b7f,_0x416822,_0x18ce59);return _0x63eb03[_0x495291(0x139)](),_0x63eb03;}async[_0x5efc3d(0x239)](_0xc861ed){const _0x2f7818=_0x5efc3d,_0x3a2b41=await this[_0x2f7818(0x38f)][_0x2f7818(0x293)](_0xc861ed),_0x1080ec=this[_0x2f7818(0x383)][_0x2f7818(0x277)](_0xde3efd,_0xc861ed,_0x3a2b41);return _0x1080ec['init'](),_0x1080ec;}};_0x2973b0=_0x1a37db([_0x3c8c68(0x0,_0x3dbd89[_0x5efc3d(0x158)]),_0x3c8c68(0x1,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89['Injector'])),_0x3c8c68(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x7ddaeb['CollaborationSessionService']))],_0x2973b0);const _0x4d44cc=0x14,_0x3bdd77=0xc8,_0x276f60=0x4,_0xa8863b=0x5;function _0x1475a2(_0x257e5e,_0x4ef3bd){const _0x3869db=_0x5efc3d;let {radius:_0x524eee,width:_0x15316d,height:_0x4aba5e}=_0x4ef3bd;_0x524eee=_0x524eee!=null?_0x524eee:0x0,_0x15316d=_0x15316d!=null?_0x15316d:0x1e,_0x4aba5e=_0x4aba5e!=null?_0x4aba5e:0x1e;let _0x4272aa=0x0,_0x2a6e4a=0x0,_0x57420a=0x0;_0x4272aa=_0x2a6e4a=_0x57420a=Math[_0x3869db(0x2cf)](_0x524eee,_0x15316d/0x2,_0x4aba5e/0x2),_0x257e5e[_0x3869db(0x1a6)](),_0x257e5e[_0x3869db(0x1b8)](_0x4272aa,0x0),_0x257e5e[_0x3869db(0x1af)](_0x15316d-_0x2a6e4a,0x0),_0x257e5e[_0x3869db(0x34f)](_0x15316d-_0x2a6e4a,_0x2a6e4a,_0x2a6e4a,Math['PI']*0x3/0x2,0x0,!0x1),_0x257e5e[_0x3869db(0x1af)](_0x15316d,_0x4aba5e-_0x57420a),_0x257e5e[_0x3869db(0x34f)](_0x15316d-_0x57420a,_0x4aba5e-_0x57420a,_0x57420a,0x0,Math['PI']/0x2,!0x1),_0x257e5e[_0x3869db(0x1af)](0x0,_0x4aba5e),_0x257e5e[_0x3869db(0x1af)](0x0,_0x4272aa),_0x257e5e[_0x3869db(0x34f)](_0x4272aa,_0x4272aa,_0x4272aa,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x257e5e[_0x3869db(0x15c)](),_0x4ef3bd[_0x3869db(0x333)]&&(_0x257e5e[_0x3869db(0x198)](),_0x257e5e[_0x3869db(0x2eb)]=_0x4ef3bd[_0x3869db(0x333)],_0x4ef3bd['fillRule']===_0x3869db(0x242)?_0x257e5e[_0x3869db(0x333)](_0x3869db(0x242)):_0x257e5e[_0x3869db(0x333)](),_0x257e5e[_0x3869db(0x208)]());}class _0x2332d3 extends _0x3a9176['Shape']{constructor(_0x1fe3fe,_0x51a162){const _0x564019=_0x5efc3d;super(_0x1fe3fe,_0x51a162),_0x318f52(this,'color'),_0x318f52(this,_0x564019(0x2d1)),(this[_0x564019(0x2ba)]=_0x51a162==null?void 0x0:_0x51a162['color'],this[_0x564019(0x2d1)]=_0x51a162==null?void 0x0:_0x51a162['text']);}static['drawWith'](_0x38c2fe,_0x2863ec){const _0x3ab2b8=_0x5efc3d,{text:_0x28b1ef,color:_0x12267d}=_0x2863ec;_0x38c2fe[_0x3ab2b8(0x198)](),_0x38c2fe[_0x3ab2b8(0x399)]=_0x3ab2b8(0x115);const _0x50a8e8=_0x38c2fe[_0x3ab2b8(0x197)](_0x28b1ef)[_0x3ab2b8(0x2d5)],_0x3edcd6=Math[_0x3ab2b8(0x2cf)](_0x50a8e8+0x2*_0x276f60,_0x3bdd77);_0x1475a2(_0x38c2fe,{'height':_0x4d44cc,'radius':0x4,'width':_0x3edcd6,'fill':_0x12267d}),_0x38c2fe['fillStyle']='#FFF';const _0x13c5cc=_0x276f60,_0x3688ec=_0x4d44cc-_0xa8863b,_0x2a354a=_0x3bdd77-0x2*_0x276f60;if(_0x50a8e8>_0x2a354a){let _0xa8a148='',_0xa64eb=0x0;for(const _0x4a34d4 of _0x28b1ef){const _0x39ea30=_0x38c2fe[_0x3ab2b8(0x197)](_0x4a34d4)[_0x3ab2b8(0x2d5)];if(_0xa64eb+_0x39ea30<=_0x2a354a-_0x38c2fe['measureText'](_0x3ab2b8(0x397))[_0x3ab2b8(0x2d5)])_0xa8a148+=_0x4a34d4,_0xa64eb+=_0x39ea30;else{_0xa8a148+=_0x3ab2b8(0x397);break;}}_0x38c2fe['fillText'](_0xa8a148,_0x13c5cc,_0x3688ec);}else _0x38c2fe['fillText'](_0x28b1ef,_0x13c5cc,_0x3688ec);_0x38c2fe[_0x3ab2b8(0x208)]();}[_0x5efc3d(0x39d)](_0x1ab442){_0x2332d3['drawWith'](_0x1ab442,this);}}const _0x46af94='collab-text-anchor-',_0x172994='collab-text-range-',_0x4e8c21=_0x5efc3d(0x254),_0x3ebd96=0x6,_0x3aa0ec=1.5,_0x457cba=0x4,_0x504c2a=1.5,_0x38efd2='rgba(255,\x20255,\x20255,\x200.01)';class _0x161b4a{constructor(_0x769a66,_0x404c7e,_0x41e852,_0x5aa8b6){const _0x4dfcb9=_0x5efc3d;_0x318f52(this,_0x4dfcb9(0x1e5),[]),_0x318f52(this,_0x4dfcb9(0x2cd),null),_0x318f52(this,_0x4dfcb9(0x32f),null),_0x318f52(this,_0x4dfcb9(0x15d),null),_0x318f52(this,_0x4dfcb9(0x336),null),_0x318f52(this,_0x4dfcb9(0x1c9),null),(this[_0x4dfcb9(0x1d4)]=_0x769a66,this[_0x4dfcb9(0x1f9)]=_0x404c7e,this[_0x4dfcb9(0x23c)]=_0x41e852,this[_0x4dfcb9(0x10f)]=_0x5aa8b6,this[_0x4dfcb9(0x285)]());}set[_0x5efc3d(0x396)](_0x46d13d){const _0x28a07d=_0x5efc3d;_0x46d13d?(this[_0x28a07d(0x15d)]&&this[_0x28a07d(0x15d)][_0x28a07d(0x248)](),this[_0x28a07d(0x32f)]&&this[_0x28a07d(0x32f)][_0x28a07d(0x2d4)]()):(this[_0x28a07d(0x15d)]&&this[_0x28a07d(0x15d)][_0x28a07d(0x2d4)](),this[_0x28a07d(0x32f)]&&this[_0x28a07d(0x32f)][_0x28a07d(0x248)]());}[_0x5efc3d(0x33d)](){const _0x40d580=_0x5efc3d;for(const _0x538fe9 of this[_0x40d580(0x1e5)])_0x538fe9[_0x40d580(0x33d)]();this[_0x40d580(0x32f)]&&this['_textBubble']['dispose'](),this[_0x40d580(0x15d)]&&this[_0x40d580(0x15d)][_0x40d580(0x33d)](),this[_0x40d580(0x2cd)]&&this[_0x40d580(0x2cd)][_0x40d580(0x33d)](),this[_0x40d580(0x1c9)]&&this[_0x40d580(0x1c9)]();}[_0x5efc3d(0x285)](){const _0x32f9b8=_0x5efc3d;var _0x3cfee9;const {_docSkeleton:_0x28f213,_document:_0x553aea}=this,{color:_0x7d81fd,name:_0x50a041,ranges:_0x41711f}=this[_0x32f9b8(0x1d4)],_0x43e1cb=_0x553aea['getOffsetConfig'](),{docsLeft:_0x2cb8dd,docsTop:_0x5a4632}=_0x43e1cb,_0x39eb6f=new _0x4f3ea0['NodePositionConvertToCursor'](_0x43e1cb,_0x28f213);for(const {startOffset:_0x3b9c2b,endOffset:_0x285a4d,rangeType:_0x2a27a5,segmentId:_0x3f357e,segmentPage:_0x18f5dd,collapsed:_0x261df6,isActive:_0x13652b}of _0x41711f){const _0x1f9ff1=_0x28f213[_0x32f9b8(0x14b)](_0x3b9c2b,!0x0,_0x3f357e,_0x18f5dd);let _0x542093=_0x28f213[_0x32f9b8(0x14b)](_0x285a4d,!0x0,_0x3f357e,_0x18f5dd);if(_0x542093==null&&(_0x542093=_0x28f213[_0x32f9b8(0x14b)](_0x285a4d-0x1,!0x1,_0x3f357e,_0x18f5dd)),_0x13652b){const {contentBoxPointGroup:_0x4e8b20}=_0x39eb6f['getRangePointData'](_0x542093,_0x542093);if(_0x4e8b20[_0x32f9b8(0x166)]===0x0)continue;this[_0x32f9b8(0x12c)](_0x7d81fd,_0x4e8b20,_0x2cb8dd,_0x5a4632,_0x50a041),this[_0x32f9b8(0x1c9)]=this[_0x32f9b8(0x218)]();}if(_0x1f9ff1&&_0x542093){if(_0x2a27a5===_0x3dbd89[_0x32f9b8(0x138)][_0x32f9b8(0x1c6)]){const _0x226679=new _0x4f3ea0[(_0x32f9b8(0x205))](_0x43e1cb,_0x28f213),{pointGroup:_0x5c3add}=(_0x3cfee9=_0x226679[_0x32f9b8(0x375)](_0x1f9ff1,_0x542093))!=null?_0x3cfee9:{};if(_0x5c3add==null||_0x5c3add[_0x32f9b8(0x166)]===0x0)continue;this[_0x32f9b8(0x268)](_0x7d81fd,_0x5c3add,_0x2cb8dd,_0x5a4632);}else{if(!_0x261df6){const {borderBoxPointGroup:_0x4cfdbd}=_0x39eb6f[_0x32f9b8(0x375)](_0x1f9ff1,_0x542093);if(_0x4cfdbd['length']===0x0)continue;this[_0x32f9b8(0x1ce)](_0x7d81fd,_0x4cfdbd,_0x2cb8dd,_0x5a4632);}}}}}['_drawAnchor'](_0x36d37c,_0x510dbb,_0x370849,_0x1410f3,_0x15b8c5){const _0x1e035e=_0x5efc3d,_0x5b9303=this['_getAnchorBounding'](_0x510dbb),{left:_0x187742,top:_0x327bfc,height:_0x53b971}=_0x5b9303,_0x1428ad=this[_0x1e035e(0x167)](),_0x627400=_0x504c2a/_0x1428ad,_0x832c92=new _0x3a9176[(_0x1e035e(0x266))](_0x46af94+_0x3dbd89[_0x1e035e(0x330)](_0x3ebd96),{'left':_0x187742+_0x370849-_0x627400,'top':_0x327bfc+_0x1410f3,'height':_0x53b971,'width':_0x3aa0ec,'fill':_0x36d37c||_0x3a9176[_0x1e035e(0x2de)](_0x3dbd89[_0x1e035e(0x192)]['black'],0x0),'strokeWidth':_0x627400,'stroke':_0x38efd2,'evented':!0x0});this[_0x1e035e(0x2cd)]=_0x832c92,this[_0x1e035e(0x1f9)][_0x1e035e(0x361)](_0x832c92,_0x4f3ea0['TEXT_RANGE_LAYER_INDEX']);const _0x10991c=new _0x3a9176[(_0x1e035e(0x266))](_0x46af94+_0x3dbd89[_0x1e035e(0x330)](_0x3ebd96),{'left':_0x187742+_0x370849-_0x627400,'top':_0x327bfc+_0x1410f3-_0x457cba/0x2,'height':_0x457cba,'width':_0x457cba,'fill':_0x36d37c||_0x3a9176['getColor'](_0x3dbd89['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x36d37c||_0x3a9176[_0x1e035e(0x2de)](_0x3dbd89[_0x1e035e(0x192)][_0x1e035e(0x11a)],0x0),'evented':!0x1});this['_anchorDot']=_0x10991c,this[_0x1e035e(0x1f9)]['addObject'](_0x10991c,_0x4f3ea0['TEXT_RANGE_LAYER_INDEX']);const _0x4f86a1=new _0x2332d3(_0x46af94+_0x3dbd89[_0x1e035e(0x330)](_0x3ebd96),{'left':_0x187742+_0x370849-_0x627400,'top':_0x327bfc+_0x1410f3-_0x4d44cc,'text':_0x15b8c5,'color':_0x36d37c});this[_0x1e035e(0x32f)]=_0x4f86a1,this[_0x1e035e(0x1f9)][_0x1e035e(0x361)](_0x4f86a1,_0x4f3ea0[_0x1e035e(0x2e0)]),this[_0x1e035e(0x396)]=!0x1;}['_handleHover'](){const _0x59de35=_0x5efc3d,_0x5bce7f=this['_anchor'][_0x59de35(0x39a)]['subscribeEvent'](()=>{const _0x4eccd1=_0x59de35;this[_0x4eccd1(0x396)]=!0x0;}),_0x3e95d3=this[_0x59de35(0x2cd)][_0x59de35(0x332)][_0x59de35(0x238)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x2c93d6=_0x2806;this[_0x2c93d6(0x396)]=!0x1;},0x7d0);});return()=>{const _0x138ca2=_0x59de35;_0x5bce7f[_0x138ca2(0x19e)](),_0x3e95d3[_0x138ca2(0x19e)]();};}[_0x5efc3d(0x1ce)](_0x35347b,_0x2f61c7,_0x5a2b82,_0x2092b2){const _0x5a900f=_0x5efc3d,_0x5119f0=new _0x3dbd89[(_0x5a900f(0x2db))](_0x35347b)['setAlpha'](0.2)[_0x5a900f(0x2ca)](),_0x508f5b=new _0x3a9176[(_0x5a900f(0x368))](_0x172994+_0x3dbd89[_0x5a900f(0x330)](_0x3ebd96),{'pointsGroup':_0x2f61c7,'fill':_0x5119f0||_0x3a9176[_0x5a900f(0x2de)](_0x3dbd89[_0x5a900f(0x192)][_0x5a900f(0x11a)],0.2),'left':_0x5a2b82,'top':_0x2092b2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5a900f(0x14e)](_0x508f5b),this[_0x5a900f(0x1f9)][_0x5a900f(0x361)](_0x508f5b,_0x4f3ea0['TEXT_RANGE_LAYER_INDEX']);}[_0x5efc3d(0x268)](_0x3eb0ac,_0x432a15,_0x4257eb,_0x9ddae8){const _0x4a9f46=_0x5efc3d,_0x39f384=new _0x3dbd89[(_0x4a9f46(0x2db))](_0x3eb0ac)[_0x4a9f46(0x27c)](0.2)[_0x4a9f46(0x2ca)](),_0x566f92=new _0x3a9176[(_0x4a9f46(0x368))](_0x4e8c21+_0x3dbd89[_0x4a9f46(0x330)](_0x3ebd96),{'pointsGroup':_0x432a15,'fill':_0x39f384||_0x3a9176[_0x4a9f46(0x2de)](_0x3dbd89[_0x4a9f46(0x192)]['black'],0.2),'left':_0x4257eb,'top':_0x9ddae8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a9f46(0x1e5)][_0x4a9f46(0x14e)](_0x566f92),this['_scene']['addObject'](_0x566f92,_0x4f3ea0[_0x4a9f46(0x2e0)]);}[_0x5efc3d(0x14c)](_0x115580){const _0x27bf72=_0x115580[0x0],_0x788605=_0x27bf72[0x0],_0x10103c=_0x27bf72[0x2],{x:_0x22757f,y:_0x1c64bb}=_0x788605,{x:_0x25b6b4,y:_0x36527f}=_0x10103c;return{'left':_0x22757f,'top':_0x1c64bb,'width':_0x25b6b4-_0x22757f,'height':_0x36527f-_0x1c64bb};}[_0x5efc3d(0x167)](){const _0x4912f7=_0x5efc3d,{scaleX:_0x17c09b,scaleY:_0x308e70}=this[_0x4912f7(0x1f9)][_0x4912f7(0x10a)]();return Math[_0x4912f7(0x157)](_0x17c09b,_0x308e70);}}var _0x2203b7=Object[_0x5efc3d(0x37a)],_0x115c81=(_0x52913a,_0x350917,_0xefcae2,_0x1839a8)=>{for(var _0x274195=_0x1839a8>0x1?void 0x0:_0x1839a8?_0x2203b7(_0x350917,_0xefcae2):_0x350917,_0x10d7ef=_0x52913a['length']-0x1,_0x4265cf;_0x10d7ef>=0x0;_0x10d7ef--)(_0x4265cf=_0x52913a[_0x10d7ef])&&(_0x274195=_0x4265cf(_0x274195)||_0x274195);return _0x274195;},_0xc67de6=(_0x2b8d3a,_0x428e6a)=>(_0x55d51d,_0xe70b1a)=>_0x428e6a(_0x55d51d,_0xe70b1a,_0x2b8d3a);let _0x501291=class extends _0x3dbd89['RxDisposable']{constructor(_0x3d47ad,_0x3bd8f6,_0xbcd0b6,_0x6dcdb,_0x4b67cd){const _0x4b5e06=_0x5efc3d;super(),_0x318f52(this,_0x4b5e06(0x152),[]),_0x318f52(this,_0x4b5e06(0x190),[]),(this['_context']=_0x3d47ad,this['_docSkeletonManagerService']=_0x3bd8f6,this['_collabCursorController']=_0xbcd0b6,this['_commandService']=_0x6dcdb,this[_0x4b5e06(0x30c)]=_0x4b67cd,this[_0x4b5e06(0x180)]());}[_0x5efc3d(0x180)](){const _0x2023ad=_0x5efc3d,_0x3496ac=this['_context']['unitId'],_0x257929=this[_0x2023ad(0x24d)];this['disposeWithMe'](_0x142e5d[_0x2023ad(0x386)]([this['_collabCursorController'][_0x2023ad(0x247)](_0x3496ac),this[_0x2023ad(0x30c)]['currentTheme$']])[_0x2023ad(0x161)](_0x42d5be[_0x2023ad(0x32d)](([_0x37e30d,_0x26c52b])=>({'skeleton':_0x257929[_0x2023ad(0x1cd)](),'cursors':[..._0x37e30d[_0x2023ad(0x28a)]()][_0x2023ad(0x15f)](_0x282a36=>({..._0x282a36,'color':this['_themeService'][_0x2023ad(0x1de)](_0x282a36[_0x2023ad(0x2ba)])}))})))['subscribe'](_0x4f79e5=>{const _0x1644cc=_0x2023ad;if(this[_0x1644cc(0x185)](),_0x4f79e5){const {skeleton:_0x251899,cursors:_0x3b8b3b}=_0x4f79e5;this[_0x1644cc(0x211)](_0x251899,_0x3b8b3b);}})),this[_0x2023ad(0x1b0)](),this[_0x2023ad(0x214)]();}['_updateCollabCursors'](_0x1bbf37,_0x3eb1db){const _0x476b96=_0x5efc3d,{scene:_0x340b0a,mainComponent:_0x8da746}=this[_0x476b96(0x110)],_0x1cfd93=_0x3eb1db[_0x476b96(0x32d)](_0x329abb=>new _0x161b4a(_0x329abb,_0x340b0a,_0x1bbf37,_0x8da746));this['_cursorShapes']=_0x1cfd93,this[_0x476b96(0x190)]=_0x3eb1db;}['_refreshCollabCursors'](){const _0x53b192=_0x5efc3d;this[_0x53b192(0x185)]();const {scene:_0x47000c,mainComponent:_0x40d0e9}=this[_0x53b192(0x110)],_0x588f6f=this[_0x53b192(0x24d)][_0x53b192(0x1cd)](),_0x207db4=this[_0x53b192(0x190)][_0x53b192(0x32d)](_0x3cfcb4=>new _0x161b4a(_0x3cfcb4,_0x47000c,_0x588f6f,_0x40d0e9));this['_cursorShapes']=_0x207db4;}[_0x5efc3d(0x185)](){const _0x27a62b=_0x5efc3d;this[_0x27a62b(0x152)][_0x27a62b(0x112)](_0x596d1f=>_0x596d1f[_0x27a62b(0x33d)]()),this[_0x27a62b(0x152)]=[];}['_initCommandExecutedListener'](){const _0x324ff5=_0x5efc3d,_0x18b7e8=[_0x4f3ea0[_0x324ff5(0x290)]['id']];this['disposeWithMe'](this[_0x324ff5(0x160)][_0x324ff5(0x194)](_0x4ad251=>{const _0x122396=_0x324ff5;_0x18b7e8[_0x122396(0x31e)](_0x4ad251['id'])&&_0x4ad251[_0x122396(0x2d7)][_0x122396(0x1a7)]===this[_0x122396(0x110)][_0x122396(0x1a7)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x42c7e7=_0x5efc3d;this['disposeWithMe'](_0x3dbd89[_0x42c7e7(0x1a8)](this[_0x42c7e7(0x110)][_0x42c7e7(0x1e2)][_0x42c7e7(0x22a)])[_0x42c7e7(0x161)](_0x42d5be[_0x42c7e7(0x215)](_0x19e5d5=>_0x19e5d5[_0x42c7e7(0x29b)]===_0x3a9176[_0x42c7e7(0x11c)][_0x42c7e7(0x176)]),_0x42d5be['throttleTime'](0x10))[_0x42c7e7(0x2c3)](()=>{this['_refreshCollabCursors']();}));}};_0x501291=_0x115c81([_0xc67de6(0x1,_0x3dbd89['Inject'](_0x7a54c1['DocSkeletonManagerService'])),_0xc67de6(0x2,_0x3dbd89['Inject'](_0x2973b0)),_0xc67de6(0x3,_0x3dbd89[_0x5efc3d(0x398)]),_0xc67de6(0x4,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x300)]))],_0x501291);const _0x4d5b46=0x1,_0x2ada7d=1.5;class _0x341b69 extends _0x3a9176['Shape']{constructor(_0x37bea4,_0x2761f7){const _0x13487b=_0x5efc3d;super(_0x37bea4,_0x2761f7),_0x318f52(this,'_color'),_0x318f52(this,_0x13487b(0x13e),!0x1),_0x318f52(this,_0x13487b(0x2bf)),_0x318f52(this,_0x13487b(0x308),''),_0x318f52(this,_0x13487b(0x107),_0x13487b(0x106)),_0x318f52(this,_0x13487b(0x23e)),(_0x2761f7&&this[_0x13487b(0x297)](_0x2761f7),this[_0x13487b(0x39a)][_0x13487b(0x238)](()=>this[_0x13487b(0x297)]({'hovered':!0x0})),this[_0x13487b(0x332)][_0x13487b(0x238)](()=>this[_0x13487b(0x297)]({'hovered':!0x1})));}[_0x5efc3d(0x297)](_0x38263e){const _0x4c2073=_0x5efc3d;var _0x142381,_0x41c9cd,_0x33b938,_0x10c6e3,_0x1ac608,_0x4d4831;this[_0x4c2073(0x18f)]=(_0x142381=_0x38263e[_0x4c2073(0x2ba)])!=null?_0x142381:this[_0x4c2073(0x18f)],this[_0x4c2073(0x13e)]=(_0x41c9cd=_0x38263e['hovered'])!=null?_0x41c9cd:this[_0x4c2073(0x13e)],this['_range']=(_0x33b938=_0x38263e[_0x4c2073(0x250)])!=null?_0x33b938:this[_0x4c2073(0x2bf)],this[_0x4c2073(0x308)]=(_0x10c6e3=_0x38263e[_0x4c2073(0x371)])!=null?_0x10c6e3:this[_0x4c2073(0x308)],this[_0x4c2073(0x107)]=(_0x1ac608=_0x38263e[_0x4c2073(0x2e7)])!=null?_0x1ac608:this['_labelPosition'],this['_backgroundColor']=(_0x4d4831=_0x38263e[_0x4c2073(0x25c)])!=null?_0x4d4831:this[_0x4c2073(0x23e)],this['transformByState']({'width':_0x38263e[_0x4c2073(0x2d5)],'height':_0x38263e[_0x4c2073(0x16c)]});}['onMouseMove'](_0x261bee){const _0x4457a7=_0x5efc3d,{row:_0x2995e0,column:_0x218695}=_0x261bee;if(_0x2995e0>=this['_range'][_0x4457a7(0x151)]&&_0x2995e0<=this[_0x4457a7(0x2bf)][_0x4457a7(0x325)]&&_0x218695>=this[_0x4457a7(0x2bf)]['startColumn']&&_0x218695<=this[_0x4457a7(0x2bf)][_0x4457a7(0x2b7)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4457a7(0x297)]({'hovered':!0x1});}[_0x5efc3d(0x2a5)](_0xa08746){return!0x1;}[_0x5efc3d(0x39d)](_0x17a789){const _0xadc984=_0x5efc3d;_0x3a9176[_0xadc984(0x266)]['drawWith'](_0x17a789,{'width':this[_0xadc984(0x2d5)],'height':this[_0xadc984(0x16c)],'strokeWidth':_0x2ada7d,'stroke':this[_0xadc984(0x18f)],'evented':!0x1,'fill':this[_0xadc984(0x23e)]}),this[_0xadc984(0x13e)]&&(_0x17a789['save'](),_0x17a789[_0xadc984(0x2ef)](0x1,0x0,0x0,0x1,this[_0xadc984(0x2d5)],this['_labelPosition']===_0xadc984(0x2ff)?0x0:-_0x4d44cc),_0x2332d3[_0xadc984(0x10b)](_0x17a789,{'text':this[_0xadc984(0x308)],'color':this[_0xadc984(0x18f)]}),_0x17a789[_0xadc984(0x208)]());}}var _0x31ded9=Object['getOwnPropertyDescriptor'],_0x21ff4b=(_0x4f3093,_0x28ba84,_0x7e52c1,_0x34f4f1)=>{const _0x23b013=_0x5efc3d;for(var _0x572aa8=_0x34f4f1>0x1?void 0x0:_0x34f4f1?_0x31ded9(_0x28ba84,_0x7e52c1):_0x28ba84,_0x374ed5=_0x4f3093[_0x23b013(0x166)]-0x1,_0x38ecf5;_0x374ed5>=0x0;_0x374ed5--)(_0x38ecf5=_0x4f3093[_0x374ed5])&&(_0x572aa8=_0x38ecf5(_0x572aa8)||_0x572aa8);return _0x572aa8;},_0x261a6c=(_0x5b8c80,_0x2be67e)=>(_0x495009,_0x4a617a)=>_0x2be67e(_0x495009,_0x4a617a,_0x5b8c80);const _0xf24922=0x1389;let _0x260543=class extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(_0x51c3b7,_0x14e96e,_0x4fecd7,_0x10cec3){const _0x23edc1=_0x5efc3d;super(),_0x318f52(this,_0x23edc1(0x190),new Set()),_0x318f52(this,_0x23edc1(0x37e),null),(this[_0x23edc1(0x110)]=_0x51c3b7,this[_0x23edc1(0x22b)]=_0x14e96e,this['_collabCursorController']=_0x4fecd7,this[_0x23edc1(0x30c)]=_0x10cec3,this['_init']());}[_0x5efc3d(0x180)](){const _0x14a818=_0x5efc3d;this['_sheetSkeletonManagerService'][_0x14a818(0x1f1)][_0x14a818(0x161)](_0x42d5be[_0x14a818(0x275)](this[_0x14a818(0x120)]),_0x42d5be[_0x14a818(0x245)](_0x412b9f=>{const _0x513c58=_0x14a818;if(_0x412b9f){const _0x4c63e9=_0x412b9f[_0x513c58(0x1ca)];return _0x142e5d[_0x513c58(0x386)](this['_collabCursorController'][_0x513c58(0x247)](this['_context'][_0x513c58(0x1a7)]),this[_0x513c58(0x30c)][_0x513c58(0x145)])['pipe'](_0x42d5be[_0x513c58(0x32d)](([_0x141dd4,_0x54de61])=>{const _0xc4b8dc=_0x513c58,_0x1a9454=new Map();return _0x141dd4[_0xc4b8dc(0x112)]((_0x512d30,_0x367a12)=>{const _0x2e8032=_0xc4b8dc;if(_0x512d30[_0x2e8032(0x34c)]===_0x4c63e9){const _0x2eb8fd={..._0x512d30};_0x2eb8fd[_0x2e8032(0x2ba)]=this[_0x2e8032(0x30c)][_0x2e8032(0x1de)](_0x512d30[_0x2e8032(0x2ba)]),_0x1a9454['set'](_0x367a12,_0x2eb8fd);}}),{'skeleton':_0x412b9f,'cursors':_0x1a9454};}));}return _0x142e5d['of']({'skeleton':null,'cursors':new Map()});}))[_0x14a818(0x2c3)](({skeleton:_0x493485,cursors:_0x1a4ac8})=>{const _0x33815a=_0x14a818;this[_0x33815a(0x185)](),_0x493485&&this['_updateCollabCursors'](_0x493485,_0x1a4ac8);}),this[_0x14a818(0x22b)][_0x14a818(0x1f1)][_0x14a818(0x2c3)](_0x3f1d67=>{const _0x5396db=_0x14a818;if(_0x3f1d67==null)return;const {skeleton:_0x57d0b0}=_0x3f1d67,{scene:_0x3ceeea}=this[_0x5396db(0x110)];_0x3ceeea[_0x5396db(0x15e)]['subscribeEvent'](_0x3dbd89['debounce'](_0x53885d=>{const _0x6936fc=_0x5396db;var _0x5a3e9c,_0x5bffde;const {offsetX:_0x1fa1f3,offsetY:_0x381e2c}=_0x53885d,{x:_0x9a0aaf,y:_0x393fc9}=_0x3ceeea['getRelativeToViewportCoord'](_0x3a9176[_0x6936fc(0x17f)][_0x6936fc(0x2b3)]([_0x1fa1f3,_0x381e2c])),{scaleX:_0x238c6f,scaleY:_0x2dc406}=_0x3ceeea['getAncestorScale'](),_0x3f2438=_0x3ceeea[_0x6936fc(0x18a)](_0x3a9176['SHEET_VIEWPORT_KEY'][_0x6936fc(0x328)]),_0x1fdba7=_0x3ceeea[_0x6936fc(0x2f0)](_0x3a9176[_0x6936fc(0x17f)][_0x6936fc(0x2b3)]([_0x9a0aaf,_0x393fc9]),_0x3f2438),_0x361d2e=_0x57d0b0['getCellPositionByOffset'](_0x1fa1f3,_0x381e2c,_0x238c6f,_0x2dc406,_0x1fdba7);((_0x5a3e9c=this[_0x6936fc(0x37e)])==null?void 0x0:_0x5a3e9c[_0x6936fc(0x30b)])===_0x361d2e[_0x6936fc(0x30b)]&&((_0x5bffde=this[_0x6936fc(0x37e)])==null?void 0x0:_0x5bffde[_0x6936fc(0x294)])===_0x361d2e[_0x6936fc(0x294)]||this[_0x6936fc(0x190)][_0x6936fc(0x112)](_0x39d9ba=>{const _0x1881a6=_0x6936fc;_0x39d9ba[_0x1881a6(0x2ec)](_0x361d2e);});},0x64));});}[_0x5efc3d(0x211)](_0x3e0adb,_0x2e4afc){const _0x3cebef=_0x5efc3d;var _0x5e11e4;const _0x5808d4=(_0x5e11e4=this[_0x3cebef(0x22b)][_0x3cebef(0x150)]())==null?void 0x0:_0x5e11e4['skeleton'];if(!_0x5808d4)return;const _0x10a5cd=this[_0x3cebef(0x128)]();if(!_0x10a5cd)return;this['_cursors']['forEach'](_0x2a4c6b=>{_0x2a4c6b['makeDirty']();});const {scene:_0x43fe94}=_0x10a5cd,_0x411005=_0x5d0b78(Array[_0x3cebef(0x1ad)](_0x2e4afc['values']()))['map'](_0x532238=>{const _0x420c8f=_0x3cebef,{color:_0x4d6055,range:_0x3fed8c,name:_0x581d7e,selection:_0x57aa08,sheetID:_0x51406c}=_0x532238,{startColumn:_0x35da8a,startRow:_0x6f43be,endColumn:_0x5f508f,endRow:_0x14ca72}=_0x3fed8c,_0x14ba33=_0x1110d7[_0x420c8f(0x217)](_0x6f43be,_0x35da8a,_0x43fe94,_0x5808d4),_0x551a70=_0x1110d7[_0x420c8f(0x217)](_0x14ca72,_0x5f508f,_0x43fe94,_0x5808d4),{columnHeaderHeightAndMarginTop:_0x452730}=_0x5808d4,{startX:_0x50ac8d,startY:_0x58e6c7}=_0x14ba33,{endX:_0xefc5f4,endY:_0x40cef7}=_0x551a70,_0x119c9a=_0xefc5f4-_0x50ac8d,_0x8d9ce1=_0x40cef7-_0x58e6c7,_0x295845={'labelPosition':_0x58e6c7-_0x452730>=_0x4d44cc?_0x420c8f(0x106):_0x420c8f(0x2ff),'sheetID':_0x51406c,'range':_0x3fed8c,'color':_0x4d6055,'name':_0x581d7e,'selection':_0x57aa08,'left':_0x50ac8d,'top':_0x58e6c7,'width':_0x119c9a,'height':_0x8d9ce1,'evented':!0x1,'zIndex':_0xf24922};return new _0x341b69(_0x581d7e,_0x295845);});_0x43fe94['addObjects'](_0x411005,_0x4d5b46),this[_0x3cebef(0x190)]=new Set(_0x411005);}[_0x5efc3d(0x185)](){const _0x3f4d96=_0x5efc3d;var _0x14d74a;(_0x14d74a=this[_0x3f4d96(0x190)])==null||_0x14d74a[_0x3f4d96(0x112)](_0x5d588a=>_0x5d588a['dispose']());}[_0x5efc3d(0x128)](){const _0x314772=_0x5efc3d;return _0x1110d7['getSheetObject'](this[_0x314772(0x110)][_0x314772(0x221)],this['_context']);}};_0x260543=_0x21ff4b([_0x261a6c(0x1,_0x3dbd89['Inject'](_0x1110d7[_0x5efc3d(0x19a)])),_0x261a6c(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x2973b0)),_0x261a6c(0x3,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89['ThemeService']))],_0x260543);function _0x5d0b78(_0x47159d){const _0x33e768=_0x5efc3d,_0x377537=new Map();return _0x47159d['forEach'](_0x3fb126=>{const _0x3212ab=_0x2806;if(_0x377537[_0x3212ab(0x13d)](_0x3fb126[_0x3212ab(0x379)])){const _0x5cb2a5=_0x377537[_0x3212ab(0x171)](_0x3fb126[_0x3212ab(0x379)]);_0x5cb2a5[_0x3212ab(0x371)]+=',\x20'+_0x3fb126[_0x3212ab(0x371)];}else _0x377537[_0x3212ab(0x1e8)](_0x3fb126[_0x3212ab(0x379)],_0x3fb126);}),Array['from'](_0x377537[_0x33e768(0x28a)]());}var _0x3a0b60=Object['getOwnPropertyDescriptor'],_0x36055c=(_0xa51eaa,_0x117980,_0x198302,_0x27ec6d)=>{const _0x6e808e=_0x5efc3d;for(var _0x1c0029=_0x27ec6d>0x1?void 0x0:_0x27ec6d?_0x3a0b60(_0x117980,_0x198302):_0x117980,_0x1182f1=_0xa51eaa[_0x6e808e(0x166)]-0x1,_0xc57037;_0x1182f1>=0x0;_0x1182f1--)(_0xc57037=_0xa51eaa[_0x1182f1])&&(_0x1c0029=_0xc57037(_0x1c0029)||_0x1c0029);return _0x1c0029;},_0xcc94c0=(_0x434054,_0x24e58b)=>(_0x5b0aa3,_0x188909)=>_0x24e58b(_0x5b0aa3,_0x188909,_0x434054);let _0x433f2c=class extends _0x3dbd89['Disposable']{constructor(_0x559bf0,_0x38a399,_0x28a03b,_0x2479c8,_0x4aedd5,_0x25fa98){const _0x49e6c2=_0x5efc3d;super(),this[_0x49e6c2(0x37b)]=_0x559bf0,this['_localCacheService']=_0x38a399,this['_collaborationUIEventService']=_0x28a03b,this[_0x49e6c2(0x370)]=_0x2479c8,this[_0x49e6c2(0x19f)]=_0x4aedd5,this['_localeService']=_0x25fa98,this[_0x49e6c2(0x1fa)](),this[_0x49e6c2(0x1b1)]();}[_0x5efc3d(0x1fa)](){const _0x484a27=_0x5efc3d;this[_0x484a27(0x2e5)](this['_beforeCloseService'][_0x484a27(0x2fa)](()=>{const _0x4693b2=_0x484a27;if(this['_localCacheService']['saveTaskMap'][_0x4693b2(0x12f)])return this[_0x4693b2(0x241)]['t'](_0x4693b2(0x204));}));}['_initEvent'](){const _0x1868a1=_0x5efc3d;this[_0x1868a1(0x2e5)](this['_collaborationUIEventService']['event$'][_0x1868a1(0x2c3)](_0x344483=>{const _0x553915=_0x1868a1;_0x344483['id']===_0x7ddaeb[_0x553915(0x1cb)][_0x553915(0x2a2)]&&this[_0x553915(0x370)][_0x553915(0x2d4)]({'type':_0x43968a[_0x553915(0x178)][_0x553915(0x39c)],'content':this[_0x553915(0x241)]['t'](_0x553915(0x23d))}),_0x344483['id']===_0x7ddaeb[_0x553915(0x1cb)][_0x553915(0x256)]&&this[_0x553915(0x370)][_0x553915(0x2d4)]({'type':_0x43968a[_0x553915(0x178)][_0x553915(0x39c)],'content':this[_0x553915(0x241)]['t'](_0x553915(0x1ee))}),_0x344483['id']===_0x7ddaeb['CollaborationUIEventId'][_0x553915(0x2a6)]&&this[_0x553915(0x19f)]['show']({'title':this[_0x553915(0x241)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x553915(0x273),'duration':0x0}),_0x344483['id']===_0x7ddaeb[_0x553915(0x1cb)][_0x553915(0x148)]&&this[_0x553915(0x370)][_0x553915(0x2d4)]({'type':_0x43968a[_0x553915(0x178)][_0x553915(0x2d6)],'content':this['_localeService']['t'](_0x553915(0x1ee))+'('+_0x344483[_0x553915(0x27f)]+')'}),_0x344483['id']===_0x7ddaeb['CollaborationUIEventId'][_0x553915(0x291)]&&this[_0x553915(0x370)]['show']({'type':_0x43968a['MessageType'][_0x553915(0x39c)],'content':this['_localeService']['t'](_0x344483[_0x553915(0x27f)]||'')}),_0x344483['id']===_0x7ddaeb[_0x553915(0x1cb)]['SOCKET_FAILED_RETRY']&&this[_0x553915(0x370)][_0x553915(0x2d4)]({'type':_0x43968a[_0x553915(0x178)]['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x344483['id']===_0x7ddaeb['CollaborationUIEventId'][_0x553915(0x17d)]&&this[_0x553915(0x370)][_0x553915(0x2d4)]({'type':_0x43968a[_0x553915(0x178)]['Error'],'content':this['_localeService']['t'](_0x553915(0x30a))}),_0x344483['id']===_0x7ddaeb[_0x553915(0x1cb)][_0x553915(0x341)]&&this[_0x553915(0x370)][_0x553915(0x2d4)]({'type':_0x43968a[_0x553915(0x178)]['Error'],'content':this[_0x553915(0x241)]['t'](_0x553915(0x183))});}));}};_0x433f2c=_0x36055c([_0xcc94c0(0x0,_0x1264f0[_0x5efc3d(0x244)]),_0xcc94c0(0x1,_0x7ddaeb[_0x5efc3d(0x360)]),_0xcc94c0(0x2,_0x3dbd89['Inject'](_0x7ddaeb[_0x5efc3d(0x312)])),_0xcc94c0(0x3,_0x1264f0['IMessageService']),_0xcc94c0(0x4,_0x1264f0['INotificationService']),_0xcc94c0(0x5,_0x3dbd89['Inject'](_0x3dbd89[_0x5efc3d(0x24f)]))],_0x433f2c);const _0x41d453=_0x5efc3d(0x355),_0x8ba813={};var _0x2fa58e=Object[_0x5efc3d(0x37a)],_0x436466=(_0x1296de,_0x415ea5,_0xaf08eb,_0x880618)=>{const _0x379a68=_0x5efc3d;for(var _0x516c58=_0x880618>0x1?void 0x0:_0x880618?_0x2fa58e(_0x415ea5,_0xaf08eb):_0x415ea5,_0x2f4771=_0x1296de[_0x379a68(0x166)]-0x1,_0x2c742d;_0x2f4771>=0x0;_0x2f4771--)(_0x2c742d=_0x1296de[_0x2f4771])&&(_0x516c58=_0x2c742d(_0x516c58)||_0x516c58);return _0x516c58;},_0x3cecf8=(_0x29b8a7,_0x81e571)=>(_0x259698,_0x3229a7)=>_0x81e571(_0x259698,_0x3229a7,_0x29b8a7);let _0x1e1825=class{constructor(_0xe7d682,_0x330347){const _0x47898b=_0x5efc3d;this['_transformService']=_0xe7d682,this[_0x47898b(0x37f)]=_0x330347;}['transformIMECache'](_0x47398f){const _0x4f0397=_0x5efc3d;this[_0x4f0397(0x2c2)](_0x47398f),this[_0x4f0397(0x2b0)](_0x47398f);}[_0x5efc3d(0x147)](_0x349e4e){const _0x5cc1a2=_0x5efc3d,{unitID:_0x2b1882}=_0x349e4e,_0x32763b=this[_0x5cc1a2(0x37f)][_0x5cc1a2(0x377)](_0x2b1882)['with'](_0x4f3ea0[_0x5cc1a2(0x2fc)]),{redoCache:_0x33c843}=_0x32763b[_0x5cc1a2(0x1e3)]();if(_0x33c843[_0x5cc1a2(0x166)]===0x0)return _0x349e4e;let _0x4c45fe=_0x3dbd89[_0x5cc1a2(0x1db)][_0x5cc1a2(0x156)](_0x349e4e[_0x5cc1a2(0x2f6)][0x0]);for(let _0x4eb193=0x0;_0x4eb193<_0x33c843[_0x5cc1a2(0x166)];_0x4eb193++){const _0x4b9e2d={'id':_0x5cc1a2(0x318),'params':{..._0x33c843[_0x4eb193]}},_0x2307ec=this['_transformService'][_0x5cc1a2(0x1da)](_0x4c45fe,_0x4b9e2d,!0x1);if(_0x43c25f[_0x5cc1a2(0x324)](_0x2307ec))throw _0x2307ec[_0x5cc1a2(0x273)];_0x4c45fe=_0x2307ec[_0x5cc1a2(0x276)];}return{..._0x3dbd89[_0x5cc1a2(0x1db)]['deepClone'](_0x349e4e),'mutations':[_0x4c45fe]};}[_0x5efc3d(0x2c2)](_0x4a79c8){const _0x115cc2=_0x5efc3d,{unitID:_0x59ab17}=_0x4a79c8,_0x2ba613=this[_0x115cc2(0x37f)][_0x115cc2(0x377)](_0x59ab17)[_0x115cc2(0x21c)](_0x4f3ea0[_0x115cc2(0x2fc)]),{undoCache:_0x35c52a,redoCache:_0x54ab16}=_0x2ba613[_0x115cc2(0x1e3)]();if(_0x35c52a[_0x115cc2(0x166)]===0x0||_0x54ab16[_0x115cc2(0x166)]===0x0)return;const _0x22623f=[],_0x441f03=[];let _0x44aaf1=_0x3dbd89[_0x115cc2(0x1db)][_0x115cc2(0x156)](_0x4a79c8[_0x115cc2(0x2f6)][0x0]),_0x433c98=_0x3dbd89[_0x115cc2(0x1db)]['deepClone'](_0x4a79c8[_0x115cc2(0x2f6)][0x0]);for(let _0x4aa883=_0x35c52a[_0x115cc2(0x166)]-0x1;_0x4aa883>=0x0;_0x4aa883--){const _0x3ee512={'id':_0x115cc2(0x318),'params':{..._0x35c52a[_0x4aa883]}},_0x1271a0={'id':_0x115cc2(0x318),'params':{..._0x54ab16[_0x4aa883]}},_0x3c1398=this[_0x115cc2(0x18e)][_0x115cc2(0x1da)](_0x44aaf1,_0x3ee512,!0x1),_0x520092=this[_0x115cc2(0x18e)]['transformMutation'](_0x433c98,_0x1271a0,!0x1);if(_0x43c25f[_0x115cc2(0x324)](_0x3c1398))throw _0x3c1398[_0x115cc2(0x273)];if(_0x43c25f['isTransformMutationFailure'](_0x520092))throw _0x520092[_0x115cc2(0x273)];_0x22623f[_0x115cc2(0x23a)](_0x3c1398['m2Prime'][_0x115cc2(0x2d7)]),_0x441f03['unshift'](_0x520092[_0x115cc2(0x1b5)][_0x115cc2(0x2d7)]),_0x44aaf1=_0x3c1398[_0x115cc2(0x276)],_0x433c98=_0x520092['m1Prime'];}_0x2ba613[_0x115cc2(0x202)]({'undoCache':_0x22623f,'redoCache':_0x441f03});}[_0x5efc3d(0x2b0)](_0x44f163){const _0x258d2a=_0x5efc3d,{unitID:_0x313b67}=_0x44f163,_0x25b059=this['_renderManagerService'][_0x258d2a(0x377)](_0x313b67)[_0x258d2a(0x21c)](_0x4f3ea0[_0x258d2a(0x2fc)]),_0x444709=_0x25b059['getActiveRange']();if(_0x444709==null)return;const _0x5d1757=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x44f163[_0x258d2a(0x258)],'actions':null,'textRanges':[_0x444709]}}],_0x12a599=this[_0x258d2a(0x18e)][_0x258d2a(0x108)](_0x44f163,_0x5d1757);if(!_0x43c25f[_0x258d2a(0x164)](_0x12a599))throw _0x12a599[_0x258d2a(0x273)];const _0x4872b5=_0x12a599['m2Prime'][0x0][_0x258d2a(0x2d7)][_0x258d2a(0x1a3)];Array[_0x258d2a(0x36a)](_0x4872b5)&&_0x4872b5[_0x258d2a(0x166)]&&_0x25b059[_0x258d2a(0x34a)](_0x4872b5[0x0]);}};_0x1e1825=_0x436466([_0x3cecf8(0x0,_0x43c25f[_0x5efc3d(0x269)]),_0x3cecf8(0x1,_0x3a9176[_0x5efc3d(0x127)])],_0x1e1825);var _0x87b1d2=Object[_0x5efc3d(0x37a)],_0x1439ac=(_0x149515,_0x1edf05,_0x4a1a76,_0x1e5b78)=>{const _0xcc29d0=_0x5efc3d;for(var _0x3eb6d8=_0x1e5b78>0x1?void 0x0:_0x1e5b78?_0x87b1d2(_0x1edf05,_0x4a1a76):_0x1edf05,_0x4702c3=_0x149515[_0xcc29d0(0x166)]-0x1,_0x469802;_0x4702c3>=0x0;_0x4702c3--)(_0x469802=_0x149515[_0x4702c3])&&(_0x3eb6d8=_0x469802(_0x3eb6d8)||_0x3eb6d8);return _0x3eb6d8;},_0x47fb22=(_0x3b2ef1,_0x2188df)=>(_0x272df8,_0xf93e91)=>_0x2188df(_0x272df8,_0xf93e91,_0x3b2ef1);let _0x2a2cfa=class{constructor(_0x5f5a55,_0x1da598,_0x288648){const _0x295d75=_0x5efc3d;this[_0x295d75(0x383)]=_0x5f5a55,this[_0x295d75(0x18e)]=_0x1da598,this[_0x295d75(0x30d)]=_0x288648;}[_0x5efc3d(0x1c4)](_0x3c42ea){const _0x816087=_0x5efc3d;this[_0x816087(0x316)](_0x3c42ea);}[_0x5efc3d(0x147)](_0x584efd){const _0x1f1d12=_0x5efc3d,{unitID:_0x3c596f}=_0x584efd,{collaboration:_0x5dd3ba}=this['_docStateChangeManagerService'][_0x1f1d12(0x1d1)](_0x3c596f);if(_0x5dd3ba['length']===0x0)return _0x584efd;let _0x39571a=_0x3dbd89[_0x1f1d12(0x1db)][_0x1f1d12(0x156)](_0x584efd[_0x1f1d12(0x2f6)][0x0]);for(let _0x28c02f=0x0;_0x28c02f<_0x5dd3ba[_0x1f1d12(0x166)];_0x28c02f++){const _0x466ded={'id':_0x1f1d12(0x318),'params':{'unitId':_0x5dd3ba[_0x28c02f]['unitId'],..._0x5dd3ba[_0x28c02f][_0x1f1d12(0x34d)]}},_0x3f16fc=this[_0x1f1d12(0x18e)][_0x1f1d12(0x1da)](_0x39571a,_0x466ded,!0x1);if(_0x43c25f[_0x1f1d12(0x324)](_0x3f16fc))throw _0x3f16fc['error'];_0x39571a=_0x3f16fc['m1Prime'];}return{..._0x3dbd89[_0x1f1d12(0x1db)][_0x1f1d12(0x156)](_0x584efd),'mutations':[_0x39571a]};}[_0x5efc3d(0x316)](_0x3b1706){const _0x552ffc=_0x5efc3d,{unitID:_0x187c44}=_0x3b1706,{history:_0x2e9fa9,collaboration:_0x3eda0d}=this[_0x552ffc(0x30d)][_0x552ffc(0x1d1)](_0x187c44);if(_0x2e9fa9[_0x552ffc(0x166)]===0x0&&_0x3eda0d[_0x552ffc(0x166)]===0x0)return;const _0x1a5bc7=[],_0x5cc2d7=[];let _0x42179e=_0x3dbd89[_0x552ffc(0x1db)][_0x552ffc(0x156)](_0x3b1706[_0x552ffc(0x2f6)][0x0]),_0x25e051=_0x3dbd89['Tools'][_0x552ffc(0x156)](_0x3b1706[_0x552ffc(0x2f6)][0x0]);for(let _0x243d6a=_0x2e9fa9[_0x552ffc(0x166)]-0x1;_0x243d6a>=0x0;_0x243d6a--){const _0xf03e2e={'id':_0x552ffc(0x318),'params':{'unitId':_0x2e9fa9[_0x243d6a]['unitId'],..._0x2e9fa9[_0x243d6a][_0x552ffc(0x1a9)]}},_0x27ca73={'id':_0x552ffc(0x318),'params':{'unitId':_0x2e9fa9[_0x243d6a]['unitId'],..._0x2e9fa9[_0x243d6a]['redoState']}},_0x35fdc6=this['_transformService'][_0x552ffc(0x1da)](_0x42179e,_0xf03e2e,!0x1),_0x4a896d=this[_0x552ffc(0x18e)]['transformMutation'](_0x25e051,_0x27ca73,!0x1);if(_0x43c25f[_0x552ffc(0x324)](_0x35fdc6))throw _0x35fdc6[_0x552ffc(0x273)];if(_0x43c25f[_0x552ffc(0x324)](_0x4a896d))throw _0x4a896d['error'];_0x1a5bc7[_0x552ffc(0x23a)]({..._0x2e9fa9[_0x243d6a],'undoState':_0x35fdc6[_0x552ffc(0x1b5)][_0x552ffc(0x2d7)],'redoState':_0x4a896d['m2Prime']['params']}),_0x42179e=_0x35fdc6['m1Prime'],_0x25e051=_0x4a896d['m1Prime'];}_0x42179e=_0x3dbd89['Tools']['deepClone'](_0x3b1706['mutations'][0x0]),_0x25e051=_0x3dbd89[_0x552ffc(0x1db)][_0x552ffc(0x156)](_0x3b1706['mutations'][0x0]);for(let _0x18cb5d=_0x3eda0d[_0x552ffc(0x166)]-0x1;_0x18cb5d>=0x0;_0x18cb5d--){const _0x1bdb1e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3eda0d[_0x18cb5d][_0x552ffc(0x1a7)],..._0x3eda0d[_0x18cb5d]['undoState']}},_0x1acff9={'id':_0x552ffc(0x318),'params':{'unitId':_0x3eda0d[_0x18cb5d][_0x552ffc(0x1a7)],..._0x3eda0d[_0x18cb5d]['redoState']}},_0x3e1db2=this[_0x552ffc(0x18e)][_0x552ffc(0x1da)](_0x42179e,_0x1bdb1e,!0x1),_0x4f437e=this[_0x552ffc(0x18e)][_0x552ffc(0x1da)](_0x25e051,_0x1acff9,!0x1);if(_0x43c25f[_0x552ffc(0x324)](_0x3e1db2))throw _0x3e1db2[_0x552ffc(0x273)];if(_0x43c25f[_0x552ffc(0x324)](_0x4f437e))throw _0x4f437e[_0x552ffc(0x273)];_0x5cc2d7[_0x552ffc(0x23a)]({..._0x3eda0d[_0x18cb5d],'undoState':_0x3e1db2[_0x552ffc(0x1b5)][_0x552ffc(0x2d7)],'redoState':_0x4f437e[_0x552ffc(0x1b5)][_0x552ffc(0x2d7)]}),_0x42179e=_0x3e1db2[_0x552ffc(0x276)],_0x25e051=_0x4f437e[_0x552ffc(0x276)];}this[_0x552ffc(0x30d)][_0x552ffc(0x15b)](_0x187c44,{'history':_0x1a5bc7,'collaboration':_0x5cc2d7});}};_0x2a2cfa=_0x1439ac([_0x47fb22(0x0,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x384)])),_0x47fb22(0x1,_0x43c25f[_0x5efc3d(0x269)]),_0x47fb22(0x2,_0x3dbd89['Inject'](_0x4f3ea0[_0x5efc3d(0x155)]))],_0x2a2cfa);var _0xc6df14=Object['getOwnPropertyDescriptor'],_0x4b4ad6=(_0x37926f,_0x28a466,_0x4f2017,_0xae62b8)=>{for(var _0x44b73f=_0xae62b8>0x1?void 0x0:_0xae62b8?_0xc6df14(_0x28a466,_0x4f2017):_0x28a466,_0x4992bf=_0x37926f['length']-0x1,_0x575578;_0x4992bf>=0x0;_0x4992bf--)(_0x575578=_0x37926f[_0x4992bf])&&(_0x44b73f=_0x575578(_0x44b73f)||_0x44b73f);return _0x44b73f;},_0x2d33d6=(_0x498cac,_0x26b44b)=>(_0x3f437e,_0x1f36a0)=>_0x26b44b(_0x3f437e,_0x1f36a0,_0x498cac);let _0x3bd34e=class{constructor(_0x3000c9,_0x232a56){const _0xfac53=_0x5efc3d;this[_0xfac53(0x383)]=_0x3000c9,this[_0xfac53(0x18e)]=_0x232a56;}[_0x5efc3d(0x249)](_0x5d7352){const _0x586f79=_0x5efc3d;var _0x529668;const _0x3170a5=this[_0x586f79(0x383)][_0x586f79(0x171)](_0x7a54c1[_0x586f79(0x2e3)]),_0xf07212=(_0x529668=_0x3170a5[_0x586f79(0x16a)]())!=null?_0x529668:[];if(_0xf07212[_0x586f79(0x166)]===0x0)return;const _0x188267=_0x5d7352[_0x586f79(0x258)],_0x37d2b0=[{'id':_0x586f79(0x318),'params':{'unitId':_0x188267,'actions':null,'textRanges':_0xf07212}}],_0x236069=this['_transformService'][_0x586f79(0x108)](_0x5d7352,_0x37d2b0);if(!_0x43c25f['isTransformMutationsWithChangesetSuccess'](_0x236069))throw _0x236069[_0x586f79(0x273)];const _0x2e82cb=_0x236069[_0x586f79(0x1b5)][0x0][_0x586f79(0x2d7)][_0x586f79(0x1a3)];Array[_0x586f79(0x36a)](_0x2e82cb)&&_0x2e82cb[_0x586f79(0x166)]&&_0x3170a5[_0x586f79(0x235)](_0x2e82cb,{'unitId':_0x188267,'subUnitId':_0x188267},!0x1);}};_0x3bd34e=_0x4b4ad6([_0x2d33d6(0x0,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x384)])),_0x2d33d6(0x1,_0x43c25f[_0x5efc3d(0x269)])],_0x3bd34e);var _0x154b3c=Object[_0x5efc3d(0x37a)],_0x1bcc85=(_0x4d0ae9,_0x42348b,_0x31cc69,_0xa8fce2)=>{const _0x262f6d=_0x5efc3d;for(var _0x194fd1=_0xa8fce2>0x1?void 0x0:_0xa8fce2?_0x154b3c(_0x42348b,_0x31cc69):_0x42348b,_0x563569=_0x4d0ae9[_0x262f6d(0x166)]-0x1,_0x44a74d;_0x563569>=0x0;_0x563569--)(_0x44a74d=_0x4d0ae9[_0x563569])&&(_0x194fd1=_0x44a74d(_0x194fd1)||_0x194fd1);return _0x194fd1;},_0x248d75=(_0x54c734,_0x46f1f3)=>(_0x3cf0b8,_0x1e3756)=>_0x46f1f3(_0x3cf0b8,_0x1e3756,_0x54c734);let _0x4a34be=class extends _0x3dbd89['Disposable']{constructor(_0x214e7f,_0x3deaa3,_0x2f8dab,_0x5084a9,_0x926190,_0x251fcd,_0x2ebb02,_0x37e750){const _0x689272=_0x5efc3d;super(),_0x318f52(this,'_status$',new _0x142e5d[(_0x689272(0x391))](_0x7ddaeb['CollaborationStatus'][_0x689272(0x29a)])),(this['_docStateChangeManagerService']=_0x214e7f,this[_0x689272(0x252)]=_0x3deaa3,this['_docTransformIMECacheService']=_0x2f8dab,this[_0x689272(0x356)]=_0x5084a9,this[_0x689272(0x365)]=_0x926190,this[_0x689272(0x2c1)]=_0x251fcd,this[_0x689272(0x370)]=_0x2ebb02,this[_0x689272(0x241)]=_0x37e750,this[_0x689272(0x1e7)]());}['_initEntityListener'](){const _0x342228=_0x5efc3d;this['disposeWithMe'](this['_collaborationController'][_0x342228(0x224)][_0x342228(0x2c3)](_0x2b0a9c=>{const _0x4e98eb=_0x342228,_0x488b61=this[_0x4e98eb(0x30d)][_0x4e98eb(0x1e9)][_0x4e98eb(0x2c3)](_0x39065c=>{const _0x13af7a=_0x4e98eb;if(_0x39065c==null)return;const {unitId:_0x351d57,redoState:_0x365050,commandId:_0x7b9dc4}=_0x39065c;if(_0x351d57!==_0x2b0a9c[_0x13af7a(0x258)])return;const _0x55ac04={'id':_0x7b9dc4,'type':_0x3dbd89[_0x13af7a(0x222)][_0x13af7a(0x349)],'params':{'unitId':_0x351d57,'actions':_0x365050[_0x13af7a(0x28c)],'textRanges':null}};_0x2b0a9c['onLocalMutation'](_0x55ac04);});if(_0x2b0a9c['disposeWithMe'](_0x488b61),_0x2b0a9c instanceof _0x7ddaeb[_0x4e98eb(0x2c8)]){const _0x3ca127={'onTransformIME':_0x5b9d19=>this['_docTransformIMECacheService'][_0x4e98eb(0x261)](_0x5b9d19),'onTransformState':_0x2358fb=>this[_0x4e98eb(0x356)][_0x4e98eb(0x1c4)](_0x2358fb),'onTransformSelections':_0x24d05b=>this[_0x4e98eb(0x365)]['transformSelections'](_0x24d05b),'onSyncEditingCollabCursor':_0x59a1d2=>this[_0x4e98eb(0x2c1)][_0x4e98eb(0x19b)](_0x59a1d2),'onTransformRemoteChangesetByIMECache':_0x518ef5=>this[_0x4e98eb(0x162)]['transformRemoteChangeset'](_0x518ef5),'onTransformRemoteChangesetByStateCache':_0x1e014f=>this[_0x4e98eb(0x356)][_0x4e98eb(0x147)](_0x1e014f)};_0x2b0a9c[_0x4e98eb(0x209)](_0x3ca127);}}));}};_0x4a34be=_0x1bcc85([_0x248d75(0x0,_0x3dbd89[_0x5efc3d(0x35f)](_0x4f3ea0[_0x5efc3d(0x155)])),_0x248d75(0x1,_0x3dbd89['Inject'](_0x7ddaeb[_0x5efc3d(0x1ff)])),_0x248d75(0x2,_0x3dbd89['Inject'](_0x1e1825)),_0x248d75(0x3,_0x3dbd89[_0x5efc3d(0x35f)](_0x2a2cfa)),_0x248d75(0x4,_0x3dbd89[_0x5efc3d(0x35f)](_0x3bd34e)),_0x248d75(0x5,_0x3dbd89[_0x5efc3d(0x35f)](_0x4256c4)),_0x248d75(0x6,_0x1264f0[_0x5efc3d(0x103)]),_0x248d75(0x7,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x24f)]))],_0x4a34be);var _0x431760=Object[_0x5efc3d(0x37a)],_0x4275c=(_0xddb0fe,_0xee614c,_0x218cb7,_0x5a314a)=>{const _0x26433e=_0x5efc3d;for(var _0xcc230a=_0x5a314a>0x1?void 0x0:_0x5a314a?_0x431760(_0xee614c,_0x218cb7):_0xee614c,_0x256feb=_0xddb0fe[_0x26433e(0x166)]-0x1,_0x1eabd9;_0x256feb>=0x0;_0x256feb--)(_0x1eabd9=_0xddb0fe[_0x256feb])&&(_0xcc230a=_0x1eabd9(_0xcc230a)||_0xcc230a);return _0xcc230a;},_0x576352=(_0x12a9e9,_0x4972d2)=>(_0x4c2ae9,_0x7c4218)=>_0x4972d2(_0x4c2ae9,_0x7c4218,_0x12a9e9);let _0x267835=class extends _0x3dbd89[_0x5efc3d(0x29e)]{constructor(_0x48fb5c,_0x136d34,_0x567094){const _0x379f36=_0x5efc3d;super(),_0x318f52(this,_0x379f36(0x20a),new Map()),_0x318f52(this,_0x379f36(0x26f),new Map()),_0x318f52(this,_0x379f36(0x2a0),!0x1),(this[_0x379f36(0x24a)]=_0x48fb5c,this[_0x379f36(0x13a)]=_0x136d34,this[_0x379f36(0x109)]=_0x567094);}['disableLocalCache'](){const _0x16614c=_0x5efc3d;this[_0x16614c(0x2a0)]=!0x0;}[_0x5efc3d(0x345)](){const _0x3e4526=_0x5efc3d;this[_0x3e4526(0x2a0)]=!0x1;}get[_0x5efc3d(0x2d0)](){const _0x2078db=_0x5efc3d;return this[_0x2078db(0x26f)];}['dispose'](){const _0x3cf3cf=_0x5efc3d;this[_0x3cf3cf(0x113)]()[_0x3cf3cf(0x1f6)](()=>super[_0x3cf3cf(0x33d)]());}async['loadOfflineData'](_0x3e234d){const _0x2f8879=_0x5efc3d;return this[_0x2f8879(0x2a0)]?null:this[_0x2f8879(0x13a)][_0x2f8879(0x2b1)](_0x7ddaeb[_0x2f8879(0x30f)](_0x3e234d));}async[_0x5efc3d(0x10e)](_0xd81374,_0x422826){const _0x3eebb3=_0x5efc3d;return!!this[_0x3eebb3(0x13a)][_0x3eebb3(0x201)](_0xd81374,_0x422826);}[_0x5efc3d(0x119)](_0x16d7b9,_0x52a9bf,_0x142164,_0x28bb61){const _0x1e77e6=_0x5efc3d,_0x295e34=this[_0x1e77e6(0x109)][_0x1e77e6(0x1a2)](_0x16d7b9);this[_0x1e77e6(0x20a)][_0x1e77e6(0x1e8)](_0x16d7b9,{'unitID':_0x16d7b9,'type':_0x52a9bf,'awaitingChangeset':_0x142164,'mutations':_0x28bb61,'rev':_0x295e34}),this[_0x1e77e6(0x26f)][_0x1e77e6(0x13d)](_0x16d7b9)||this[_0x1e77e6(0x2d2)](_0x16d7b9);}[_0x5efc3d(0x2d2)](_0x3ec809){const _0x4a794c=_0x5efc3d,_0x3e6f8d=this[_0x4a794c(0x111)]();_0x3e6f8d===0x0?this[_0x4a794c(0x2b5)](_0x3ec809):this[_0x4a794c(0x26f)][_0x4a794c(0x1e8)](_0x3ec809,setTimeout(()=>this[_0x4a794c(0x2b5)](_0x3ec809),_0x3e6f8d));}[_0x5efc3d(0x111)](){const _0x282fea=_0x5efc3d;var _0x5256a1;return(_0x5256a1=this[_0x282fea(0x24a)][_0x282fea(0x21e)](_0x7ddaeb[_0x282fea(0x26e)]))!=null?_0x5256a1:_0x7ddaeb[_0x282fea(0x24b)];}[_0x5efc3d(0x2b5)](_0x52f7e6){const _0x5ce47f=_0x5efc3d,_0x4a949a=this['_saveTaskMap'][_0x5ce47f(0x171)](_0x52f7e6);return _0x4a949a!==void 0x0&&window[_0x5ce47f(0x352)](_0x4a949a),this[_0x5ce47f(0x13a)][_0x5ce47f(0x201)](_0x7ddaeb['getLocalCacheKey'](_0x52f7e6),this[_0x5ce47f(0x20a)][_0x5ce47f(0x171)](_0x52f7e6))[_0x5ce47f(0x1f6)](()=>this['_saveTaskMap'][_0x5ce47f(0x125)](_0x52f7e6));}async['exhaustSavingTask'](){const _0x4bfb52=_0x5efc3d,_0x595878=[];this[_0x4bfb52(0x26f)]['forEach']((_0x18add3,_0x5c7374)=>{const _0x4da1d9=_0x4bfb52;window['clearTimeout'](_0x18add3),_0x595878[_0x4da1d9(0x14e)](this[_0x4da1d9(0x2b5)](_0x5c7374)[_0x4da1d9(0x1f6)](()=>{const _0x30ab4d=_0x4da1d9;this['_saveTaskMap'][_0x30ab4d(0x125)](_0x5c7374);}));}),await Promise['all'](_0x595878);}};_0x267835=_0x4275c([_0x576352(0x0,_0x3dbd89[_0x5efc3d(0x2e6)]),_0x576352(0x1,_0x3dbd89[_0x5efc3d(0x2f7)]),_0x576352(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x43c25f[_0x5efc3d(0x131)]))],_0x267835);class _0x323ef5 extends _0x3dbd89[_0x5efc3d(0x135)]{constructor(){const _0xaadc4e=_0x5efc3d;super(),_0x318f52(this,_0xaadc4e(0x2b6)),this[_0xaadc4e(0x2b6)]=_0x142e5d[_0xaadc4e(0x174)](window,_0xaadc4e(0x193))[_0xaadc4e(0x161)](_0x142e5d['takeUntil'](this[_0xaadc4e(0x120)]),_0x142e5d[_0xaadc4e(0x2af)](0x1),_0x142e5d[_0xaadc4e(0x299)](void 0x0));}[_0x5efc3d(0x270)](_0x18be73,_0x28489a,_0x377edb=!0x1){const _0x2b280f=_0x5efc3d,_0x1ef9d8=new URL(window[_0x2b280f(0x26a)][_0x2b280f(0x32b)]);_0x1ef9d8[_0x2b280f(0x15a)][_0x2b280f(0x1e8)](_0x18be73,_0x28489a),_0x377edb?window[_0x2b280f(0x302)][_0x2b280f(0x38e)]('','',_0x1ef9d8['toString']()):window['history'][_0x2b280f(0x317)]('','',_0x1ef9d8[_0x2b280f(0x2f1)]());}[_0x5efc3d(0x353)](_0x2a9fd8,_0x236ac8=!0x1){const _0x2b0435=_0x5efc3d,_0x1b46ee=new URL(window[_0x2b0435(0x26a)][_0x2b0435(0x32b)]);_0x1b46ee['searchParams'][_0x2b0435(0x125)](_0x2a9fd8),_0x236ac8?window[_0x2b0435(0x302)]['replaceState']('','',_0x1b46ee[_0x2b0435(0x2f1)]()):window[_0x2b0435(0x302)][_0x2b0435(0x317)]('','',_0x1b46ee['toString']());}[_0x5efc3d(0x323)](_0x2dbacb){const _0xd514cc=_0x5efc3d;var _0x1755a7;return(_0x1755a7=new URL(window[_0xd514cc(0x26a)][_0xd514cc(0x32b)])['searchParams'][_0xd514cc(0x171)](_0x2dbacb))!=null?_0x1755a7:void 0x0;}}var _0x2d6912=Object[_0x5efc3d(0x38b)],_0x4ba810=Object['getOwnPropertyDescriptor'],_0x523b76=(_0x399119,_0x8ba720,_0x5c31c2)=>_0x8ba720 in _0x399119?_0x2d6912(_0x399119,_0x8ba720,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c31c2}):_0x399119[_0x8ba720]=_0x5c31c2,_0x2d1104=(_0x4dfcce,_0x42504a,_0x12f4a2,_0x365ef5)=>{const _0x5b6171=_0x5efc3d;for(var _0x4b70ae=_0x365ef5>0x1?void 0x0:_0x365ef5?_0x4ba810(_0x42504a,_0x12f4a2):_0x42504a,_0x525483=_0x4dfcce[_0x5b6171(0x166)]-0x1,_0x5dcd18;_0x525483>=0x0;_0x525483--)(_0x5dcd18=_0x4dfcce[_0x525483])&&(_0x4b70ae=_0x5dcd18(_0x4b70ae)||_0x4b70ae);return _0x4b70ae;},_0x2a9a0f=(_0x19721b,_0x3e0f44)=>(_0x41b81a,_0x486bb8)=>_0x3e0f44(_0x41b81a,_0x486bb8,_0x19721b),_0x1bd19e=(_0x242107,_0xb349ca,_0x2b2a28)=>_0x523b76(_0x242107,_0xb349ca+'',_0x2b2a28);const _0x5eaef6=_0x5efc3d(0x21f);_0xa1933d['UniverCollaborationClientUIPlugin']=class extends _0x3dbd89[_0x5efc3d(0x2d9)]{constructor(_0x5cf6c4=_0x8ba813,_0x47eb55,_0x41d8a5,_0x51f0e2){const _0x2264fc=_0x5efc3d;super(),this[_0x2264fc(0x33b)]=_0x5cf6c4,this[_0x2264fc(0x37f)]=_0x47eb55,this['_injector']=_0x41d8a5,this[_0x2264fc(0x24a)]=_0x51f0e2;const {..._0x5d0063}=_0x3dbd89['merge']({},_0x8ba813,this[_0x2264fc(0x33b)]);this[_0x2264fc(0x24a)]['setConfig'](_0x41d453,_0x5d0063);}[_0x5efc3d(0x168)](){const _0x640d78=_0x5efc3d;this['_registerDependencies'](),this[_0x640d78(0x309)]();}[_0x5efc3d(0x380)](){this['_registerRenderDependencies']();}[_0x5efc3d(0x1d0)](){const _0x52b442=_0x5efc3d;var _0xcfb70c;const _0xbe58e6=[[_0x37fd7c],[_0x3bd34e],[_0x1e1825],[_0x2a2cfa],[_0x4256c4],[_0x34b516,{'useClass':_0x323ef5}],[_0x29bd27[_0x52b442(0x25e)],{'useClass':_0x29bd27[_0x52b442(0x2e1)]}],[_0x7ddaeb[_0x52b442(0x360)],{'useClass':_0x267835}],[_0xa1933d[_0x52b442(0x2c0)]],[_0x4a34be],[_0x433f2c],[_0x2973b0],[_0x4d7a80],[_0xa1933d[_0x52b442(0x38a)]]];_0x3dbd89[_0x52b442(0x287)](this['_injector'],_0x3dbd89[_0x52b442(0x2b8)](_0xbe58e6,(_0xcfb70c=this[_0x52b442(0x33b)])==null?void 0x0:_0xcfb70c[_0x52b442(0x2fe)]));}[_0x5efc3d(0x3a0)](){const _0x268787=_0x5efc3d;this[_0x268787(0x2e5)](this[_0x268787(0x37f)]['registerRenderModule'](_0x3dbd89[_0x268787(0x306)][_0x268787(0x1ba)],[_0x501291])),this[_0x268787(0x2e5)](this['_renderManagerService'][_0x268787(0x272)](_0x3dbd89[_0x268787(0x306)]['UNIVER_SHEET'],[_0x260543]));}[_0x5efc3d(0x309)](){const _0x9b2483=_0x5efc3d;_0x3dbd89[_0x9b2483(0x173)](this[_0x9b2483(0x383)],[[_0x2973b0],[_0xa1933d[_0x9b2483(0x2c0)]],[_0x4a34be],[_0x433f2c],[_0xa1933d[_0x9b2483(0x38a)]]]);}},_0x1bd19e(_0xa1933d['UniverCollaborationClientUIPlugin'],_0x5efc3d(0x31c),_0x5eaef6),_0xa1933d[_0x5efc3d(0x159)]=_0x2d1104([_0x3dbd89[_0x5efc3d(0x2c4)](_0x7ddaeb[_0x5efc3d(0x210)]),_0x2a9a0f(0x1,_0x3a9176['IRenderManagerService']),_0x2a9a0f(0x2,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x384)])),_0x2a9a0f(0x3,_0x3dbd89[_0x5efc3d(0x2e6)])],_0xa1933d['UniverCollaborationClientUIPlugin']);var _0x5f1776=Object[_0x5efc3d(0x37a)],_0x548342=(_0x36f7bd,_0x99cff3,_0x3ea105,_0x30f46a)=>{const _0xd97977=_0x5efc3d;for(var _0x313e24=_0x30f46a>0x1?void 0x0:_0x30f46a?_0x5f1776(_0x99cff3,_0x3ea105):_0x99cff3,_0x165324=_0x36f7bd[_0xd97977(0x166)]-0x1,_0x241dbf;_0x165324>=0x0;_0x165324--)(_0x241dbf=_0x36f7bd[_0x165324])&&(_0x313e24=_0x241dbf(_0x313e24)||_0x313e24);return _0x313e24;},_0x2e7e5a=(_0x475ba5,_0xc2092f)=>(_0x3665c0,_0xace922)=>_0xc2092f(_0x3665c0,_0xace922,_0x475ba5);_0xa1933d[_0x5efc3d(0x182)]=class extends _0x7ddaeb[_0x5efc3d(0x319)]{constructor(_0x2d7e84,_0x1f98d9,_0x38d8eb,_0x13d93f,_0xa2fa6c){super(_0x2d7e84,_0x1f98d9,_0x38d8eb,_0x13d93f,_0xa2fa6c);}async['createSocket'](_0xdb644b){const _0x15db2f=_0x5efc3d,_0x10fe5e=await this[_0x15db2f(0x2d3)](),_0x4b8c5a=this[_0x15db2f(0x184)](_0xdb644b,_0x10fe5e);return this[_0x15db2f(0x163)](_0x4b8c5a);}[_0x5efc3d(0x184)](_0x203807,_0x3ca0af){const _0x461de2=_0x5efc3d,_0x3a9ec8=typeof window>'u'?new URL(_0x203807):new URL(_0x203807,window[_0x461de2(0x26a)][_0x461de2(0x1f3)]);_0x3a9ec8['searchParams']['set']('sessionTicket',_0x3ca0af);const _0x29886b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x461de2(0x26a)][_0x461de2(0x137)]);return _0x29886b['get'](_0x461de2(0x29d))&&_0x3a9ec8['searchParams'][_0x461de2(0x1e8)](_0x461de2(0x29d),_0x29886b[_0x461de2(0x171)](_0x461de2(0x29d))),_0x3a9ec8[_0x461de2(0x2f1)]();}async[_0x5efc3d(0x2d3)](){const _0x3dc735=_0x5efc3d;var _0x1d5874,_0xda68ad,_0x15d86e;const _0x231167=this[_0x3dc735(0x24a)]['getConfig'](_0x7ddaeb[_0x3dc735(0x24c)]),_0x3e5875=(_0x1d5874=_0x231167==null?void 0x0:_0x231167[_0x3dc735(0x2a8)])!=null?_0x1d5874:_0x7ddaeb['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x15d86e=(_0xda68ad=(await this[_0x3dc735(0x264)][_0x3dc735(0x171)](_0x3e5875,{'headers':{'Content-Type':_0x3dc735(0x1fe)}}))[_0x3dc735(0x278)])==null?void 0x0:_0xda68ad[_0x3dc735(0x124)])!=null?_0x15d86e:'';}},_0xa1933d['BrowserCollaborationSocketService']=_0x548342([_0x2e7e5a(0x0,_0x3dbd89[_0x5efc3d(0x35f)](_0x3dbd89[_0x5efc3d(0x384)])),_0x2e7e5a(0x1,_0x3dbd89[_0x5efc3d(0x35f)](_0x29bd27[_0x5efc3d(0x31b)])),_0x2e7e5a(0x2,_0x3dbd89[_0x5efc3d(0x2e6)]),_0x2e7e5a(0x3,_0x3dbd89[_0x5efc3d(0x348)]),_0x2e7e5a(0x4,_0x43c25f['ISnapshotServerService'])],_0xa1933d[_0x5efc3d(0x182)]);var _0x41d693=(_0x5525d0=>(_0x5525d0[_0x5525d0[_0x5efc3d(0x2d8)]=0x0]=_0x5efc3d(0x2d8),_0x5525d0[_0x5525d0['OK']=0x1]='OK',_0x5525d0[_0x5525d0[_0x5efc3d(0x255)]=0x2]=_0x5efc3d(0x255),_0x5525d0[_0x5525d0[_0x5efc3d(0x2a6)]=0x3]=_0x5efc3d(0x2a6),_0x5525d0[_0x5525d0[_0x5efc3d(0x1eb)]=0x4]=_0x5efc3d(0x1eb),_0x5525d0[_0x5525d0[_0x5efc3d(0x2dd)]=0x5]=_0x5efc3d(0x2dd),_0x5525d0[_0x5525d0['ALREADY_EXISTS']=0x6]=_0x5efc3d(0x123),_0x5525d0[_0x5525d0[_0x5efc3d(0x1ac)]=0x7]=_0x5efc3d(0x1ac),_0x5525d0[_0x5525d0[_0x5efc3d(0x11e)]=0x8]=_0x5efc3d(0x11e),_0x5525d0[_0x5525d0[_0x5efc3d(0x13f)]=0x9]=_0x5efc3d(0x13f),_0x5525d0[_0x5525d0[_0x5efc3d(0x14a)]=0xa]='LOGIN_FAILED',_0x5525d0[_0x5525d0[_0x5efc3d(0x36f)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5525d0[_0x5525d0[_0x5efc3d(0x203)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5525d0[_0x5525d0[_0x5efc3d(0x17c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5525d0[_0x5525d0[_0x5efc3d(0x354)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5525d0[_0x5525d0[_0x5efc3d(0x2f4)]=0x1389]=_0x5efc3d(0x2f4),_0x5525d0[_0x5525d0[_0x5efc3d(0x2da)]=0x1771]=_0x5efc3d(0x2da),_0x5525d0[_0x5525d0[_0x5efc3d(0x260)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5525d0[_0x5525d0[_0x5efc3d(0x246)]=0x1773]=_0x5efc3d(0x246),_0x5525d0[_0x5525d0[_0x5efc3d(0x340)]=0x1b59]=_0x5efc3d(0x340),_0x5525d0[_0x5525d0[_0x5efc3d(0x28e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5525d0[_0x5525d0[_0x5efc3d(0x390)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5525d0[_0x5525d0['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5efc3d(0x114),_0x5525d0[_0x5525d0['APPLY_DUPLICATED']=0x1b5d]=_0x5efc3d(0x2ed),_0x5525d0[_0x5525d0['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5efc3d(0x1bd),_0x5525d0[_0x5525d0['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5efc3d(0x237),_0x5525d0[_0x5525d0[_0x5efc3d(0x175)]=0x232a]=_0x5efc3d(0x175),_0x5525d0[_0x5525d0[_0x5efc3d(0x177)]=0x232b]=_0x5efc3d(0x177),_0x5525d0[_0x5525d0[_0x5efc3d(0x320)]=0x232c]=_0x5efc3d(0x320),_0x5525d0[_0x5525d0[_0x5efc3d(0x1c2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5525d0[_0x5525d0[_0x5efc3d(0x12e)]=0x2711]=_0x5efc3d(0x12e),_0x5525d0[_0x5525d0[_0x5efc3d(0x2df)]=0x2712]=_0x5efc3d(0x2df),_0x5525d0[_0x5525d0['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5efc3d(0x1dc),_0x5525d0[_0x5525d0[_0x5efc3d(0x20d)]=0x2714]=_0x5efc3d(0x20d),_0x5525d0[_0x5525d0[_0x5efc3d(0x22f)]=0x271a]=_0x5efc3d(0x22f),_0x5525d0[_0x5525d0[_0x5efc3d(0x1ae)]=0x271b]=_0x5efc3d(0x1ae),_0x5525d0[_0x5525d0[_0x5efc3d(0x1a1)]=0x271c]=_0x5efc3d(0x1a1),_0x5525d0[_0x5525d0['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5525d0[_0x5525d0[_0x5efc3d(0x37d)]=0x271e]=_0x5efc3d(0x37d),_0x5525d0[_0x5525d0[_0x5efc3d(0x1fd)]=0x271f]=_0x5efc3d(0x1fd),_0x5525d0[_0x5525d0[_0x5efc3d(0x2fd)]=0x2720]=_0x5efc3d(0x2fd),_0x5525d0[_0x5525d0['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5efc3d(0x315),_0x5525d0[_0x5525d0['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5efc3d(0x12a),_0x5525d0[_0x5525d0[_0x5efc3d(0x1a0)]=0x2ee2]=_0x5efc3d(0x1a0),_0x5525d0[_0x5525d0['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x5525d0[_0x5525d0['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x5525d0[_0x5525d0[_0x5efc3d(0x1b2)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5525d0[_0x5525d0['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5efc3d(0x1bf),_0x5525d0[_0x5525d0[_0x5efc3d(0x212)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5525d0[_0x5525d0['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5efc3d(0x236),_0x5525d0[_0x5525d0[_0x5efc3d(0x170)]=-0x1]=_0x5efc3d(0x170),_0x5525d0))(_0x41d693||{}),_0x597a1f=Object[_0x5efc3d(0x37a)],_0x3ed11=(_0xdc159f,_0x646d75,_0x2113f5,_0x2b14e6)=>{const _0x19a95b=_0x5efc3d;for(var _0x17a636=_0x2b14e6>0x1?void 0x0:_0x2b14e6?_0x597a1f(_0x646d75,_0x2113f5):_0x646d75,_0x3c48dc=_0xdc159f[_0x19a95b(0x166)]-0x1,_0x56c0eb;_0x3c48dc>=0x0;_0x3c48dc--)(_0x56c0eb=_0xdc159f[_0x3c48dc])&&(_0x17a636=_0x56c0eb(_0x17a636)||_0x17a636);return _0x17a636;},_0x47794e=(_0x23b653,_0x555b22)=>(_0x1269b3,_0x3333db)=>_0x555b22(_0x1269b3,_0x3333db,_0x23b653);_0xa1933d[_0x5efc3d(0x229)]=class extends _0x3dbd89[_0x5efc3d(0x29e)]{constructor(_0x3ddb80,_0xd3785f,_0x2b593d){const _0x22eac8=_0x5efc3d;super(),this[_0x22eac8(0x1d7)]=_0x3ddb80,this[_0x22eac8(0x264)]=_0xd3785f,this[_0x22eac8(0x24a)]=_0x2b593d;}async[_0x5efc3d(0x2e9)](_0xf02dc7,_0x37123e,_0x571e55,..._0x35f5b1){const _0x21dd6f=_0x5efc3d;var _0x16712e,_0x22f8fd,_0x2f8df1,_0x473cc1;const _0x3426c4=this[_0x21dd6f(0x1d7)]['getFocusedUnit']();if(!_0x3426c4)throw new Error(_0x21dd6f(0x216));const _0x48ad6a=((_0x16712e=this[_0x21dd6f(0x24a)][_0x21dd6f(0x21e)](_0x7ddaeb[_0x21dd6f(0x259)]))!=null?_0x16712e:_0x7ddaeb[_0x21dd6f(0x2ad)])+'/'+_0xf02dc7+_0x21dd6f(0x288)+_0x37123e,_0x17fe48=new URL(window[_0x21dd6f(0x26a)][_0x21dd6f(0x32b)]),_0x3e58b3={'scriptId':_0xf02dc7,'runId':(_0x22f8fd=_0x17fe48[_0x21dd6f(0x15a)][_0x21dd6f(0x171)](_0x21dd6f(0x29d)))!=null?_0x22f8fd:'','function':_0x37123e,'unitId':_0x3426c4[_0x21dd6f(0x1e6)](),'argsOfFunction':JSON[_0x21dd6f(0x395)](_0x35f5b1),'invokeId':(_0x2f8df1=_0x571e55['invokeId'])!=null?_0x2f8df1:'','executionId':(_0x473cc1=_0x571e55[_0x21dd6f(0x1ed)])!=null?_0x473cc1:''};try{const _0x4b4bf1=await this[_0x21dd6f(0x264)][_0x21dd6f(0x1fc)](_0x48ad6a,{'body':_0x3e58b3});return _0x4b4bf1[_0x21dd6f(0x278)]['error']&&_0x4b4bf1[_0x21dd6f(0x278)][_0x21dd6f(0x273)][_0x21dd6f(0x29c)]!==_0x41d693['OK']?_0x21dd6f(0x392):_0x4b4bf1[_0x21dd6f(0x278)]['result'];}catch{return'Failed';}}},_0xa1933d['RemoteUniscriptService']=_0x3ed11([_0x47794e(0x0,_0x3dbd89[_0x5efc3d(0x158)]),_0x47794e(0x1,_0x3dbd89[_0x5efc3d(0x35f)](_0x29bd27[_0x5efc3d(0x31b)])),_0x47794e(0x2,_0x3dbd89[_0x5efc3d(0x2e6)])],_0xa1933d[_0x5efc3d(0x229)]);const _0x5eee54=0x7530,_0x18c971='ACTIVE_UNIT_EVENT_CHANNEL';class _0x4d5a02 extends _0x3dbd89['Disposable']{constructor(){const _0x499221=_0x5efc3d;super(),_0x318f52(this,'_id',_0x3dbd89[_0x499221(0x330)]()),_0x318f52(this,'_selfUnitIDs',new Set()),_0x318f52(this,_0x499221(0x233),new Map()),_0x318f52(this,_0x499221(0x1b3),null),_0x318f52(this,_0x499221(0x1e4),new Map()),_0x318f52(this,'_unitStatus',new Map()),this[_0x499221(0x180)]();}[_0x5efc3d(0x33d)](){const _0x42edb5=_0x5efc3d;super[_0x42edb5(0x33d)](),this[_0x42edb5(0x1e4)][_0x42edb5(0x112)]((_0x46b21b,_0x50d7d9)=>this[_0x42edb5(0x230)](_0x50d7d9)),this['_heartbeatTimer']&&window[_0x42edb5(0x200)](this[_0x42edb5(0x1b3)]);}[_0x5efc3d(0x381)](_0x589c42){const _0x21ab64=_0x5efc3d;return this[_0x21ab64(0x286)](_0x589c42)['pipe'](_0x142e5d[_0x21ab64(0x28d)]());}[_0x5efc3d(0x32e)](_0x3a9502){const _0x2ff032=_0x5efc3d;this[_0x2ff032(0x33f)]['size']===0x0&&this[_0x2ff032(0x322)](),this[_0x2ff032(0x33f)][_0x2ff032(0x133)](_0x3a9502),this[_0x2ff032(0x14d)]({'type':0x0,'memberID':this[_0x2ff032(0x16d)],'unitIDs':[_0x3a9502],'isForwarded':!0x1});}['disposeUnit'](_0x6f7654){const _0x357bf2=_0x5efc3d;this['_selfUnitIDs']['delete'](_0x6f7654),this[_0x357bf2(0x33f)]['size']===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x357bf2(0x1b3)]);}['_init'](){const _0x7ff155=_0x5efc3d;this[_0x7ff155(0x2e5)](_0x3dbd89[_0x7ff155(0x35d)](_0x142e5d[_0x7ff155(0x174)](window,_0x7ff155(0x231))[_0x7ff155(0x2c3)](_0x3a55cf=>{const _0x42ea6c=_0x7ff155;if(_0x3a55cf[_0x42ea6c(0x1b9)]!==_0x18c971||!_0x3a55cf[_0x42ea6c(0x329)])return;const _0xd58427=JSON[_0x42ea6c(0x346)](_0x3a55cf[_0x42ea6c(0x329)]);this[_0x42ea6c(0x169)](_0xd58427);}))),window[_0x7ff155(0x118)](_0x7ff155(0x2ce),()=>this[_0x7ff155(0x14d)]({'type':0x1,'memberID':this[_0x7ff155(0x16d)],'unitIDs':Array[_0x7ff155(0x1ad)](this[_0x7ff155(0x33f)])}));}[_0x5efc3d(0x169)](_0x100b1b){const _0x1e4625=_0x5efc3d;switch(_0x100b1b[_0x1e4625(0x29b)]){case 0x0:this[_0x1e4625(0x1c1)](_0x100b1b);break;case 0x1:this[_0x1e4625(0x313)](_0x100b1b);break;case 0x2:this[_0x1e4625(0x195)](_0x100b1b);break;}}[_0x5efc3d(0x1c1)](_0xa78c6a){const _0x51b7fd=_0x5efc3d,{unitIDs:_0x35c995,memberID:_0x480c64,isForwarded:_0x63bcbd}=_0xa78c6a;_0x35c995['forEach'](_0x541694=>{const _0x15fd60=_0x2806;if(!_0x63bcbd&&this[_0x15fd60(0x233)][_0x15fd60(0x13d)](_0x541694)&&this[_0x15fd60(0x286)](_0x541694)[_0x15fd60(0x2c7)](_0x7ddaeb[_0x15fd60(0x11f)][_0x15fd60(0x262)]),!this[_0x15fd60(0x233)][_0x15fd60(0x13d)](_0x541694)||!this[_0x15fd60(0x233)]['get'](_0x541694)[_0x15fd60(0x13d)](_0x480c64)){const _0x5c9a68=this[_0x15fd60(0x233)]['get'](_0x541694)||new Set();_0x5c9a68['add'](_0x480c64),this[_0x15fd60(0x233)]['set'](_0x541694,_0x5c9a68),this[_0x15fd60(0x196)](_0x480c64);}}),_0x63bcbd||this[_0x51b7fd(0x14d)]({'type':0x0,'memberID':this[_0x51b7fd(0x16d)],'unitIDs':[...this[_0x51b7fd(0x33f)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5dbf29){const _0x4e8a06=_0x5efc3d;this[_0x4e8a06(0x230)](_0x5dbf29);const _0x529986=window[_0x4e8a06(0x1f2)](()=>{const _0x5b21fb=_0x4e8a06;this[_0x5b21fb(0x233)]['forEach'](_0x45b4df=>{_0x45b4df['delete'](_0x5dbf29);});},_0x5eee54*0x2);this[_0x4e8a06(0x1e4)][_0x4e8a06(0x1e8)](_0x5dbf29,_0x529986);}[_0x5efc3d(0x230)](_0x574067){const _0x2d219c=_0x5efc3d;if(this[_0x2d219c(0x1e4)][_0x2d219c(0x13d)](_0x574067)){const _0x426a0a=this['_clearOtherTimers']['get'](_0x574067);_0x426a0a&&window[_0x2d219c(0x352)](_0x426a0a),this['_clearOtherTimers'][_0x2d219c(0x1e8)](_0x574067,null);}}[_0x5efc3d(0x313)](_0x1ba4d4){const _0x323480=_0x5efc3d,{memberID:_0x211355,unitIDs:_0x45958b}=_0x1ba4d4;_0x45958b['forEach'](_0x462638=>{const _0x9cff3f=_0x2806;var _0x2c176e;const _0x307361=this[_0x9cff3f(0x233)]['get'](_0x462638);_0x307361&&(_0x307361[_0x9cff3f(0x125)](_0x211355),(_0x2c176e=this['_ensureSubject'](_0x462638))==null||_0x2c176e[_0x9cff3f(0x2c7)](_0x307361[_0x9cff3f(0x12f)]===0x0?_0x7ddaeb[_0x9cff3f(0x11f)][_0x9cff3f(0x32a)]:_0x7ddaeb[_0x9cff3f(0x11f)]['OTHER_CLIENTS_EDITING']));}),this[_0x323480(0x230)](_0x211355);}[_0x5efc3d(0x195)](_0x28cf47){const _0xfbe29e=_0x5efc3d;this[_0xfbe29e(0x196)](_0x28cf47[_0xfbe29e(0x36b)]);}['_send'](_0x296935){const _0x1f0bac=_0x5efc3d;localStorage[_0x1f0bac(0x201)](_0x18c971,JSON['stringify'](_0x296935));}[_0x5efc3d(0x322)](){const _0x7f3006=_0x5efc3d;this[_0x7f3006(0x1b3)]=window[_0x7f3006(0x2f2)](()=>{const _0x483b37=_0x7f3006;this[_0x483b37(0x14d)]({'type':0x2,'memberID':this[_0x483b37(0x16d)]});},_0x5eee54);}[_0x5efc3d(0x286)](_0x1e9d4d){const _0x3a25d9=_0x5efc3d;return this[_0x3a25d9(0x389)][_0x3a25d9(0x13d)](_0x1e9d4d)||this[_0x3a25d9(0x389)][_0x3a25d9(0x1e8)](_0x1e9d4d,new _0x142e5d[(_0x3a25d9(0x391))](_0x7ddaeb[_0x3a25d9(0x11f)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x3a25d9(0x171)](_0x1e9d4d);}}_0xa1933d[_0x5efc3d(0x338)]=_0x34b516,_0xa1933d[_0x5efc3d(0x359)]=_0x341b69,_0xa1933d[_0x5efc3d(0x326)]=_0x4d5a02,_0xa1933d[_0x5efc3d(0x28b)]=_0x323ef5,Object[_0x5efc3d(0x38b)](_0xa1933d,Symbol[_0x5efc3d(0x2be)],{'value':_0x5efc3d(0x1f4)});}));
1
+ function _0x1235(){const _0x29b294=['getMember','INTERNAL_ERROR','handleInsertCol','_uiPartsService','transformRemoteChangeset','ticket','currentSkeleton$','colorChannel1','ILogService','apply','redoState','disposeWithMe','_shapes','icon','ENSURE_SNAPSHOT_EXECUTION','tag','getViewport','_unitStatus','_labelPosition','transformSelections','UNDEFINED','_beforeCloseService','_hideTimer','ranges','blue.400','cursorInfo$','asObservable','onPointerEnter$','addEventListener','arc','handleDeleteRangeMoveUp','@univerjs/docs','reconnect','UNIVER_SHEET','UniverDesign','error','UPDATE_CURSOR','onMouseMove','SNAPSHOT_INVALID_SNAPSHOT','_memberService','onPointerLeave$','defs','_transformHistoryAndStateStack','red.300','popstate','_themeService','_cursorInfo$','_ensureSubject','replaceDocRanges','black','_initStatusComponent','TOO_MANY_REQUESTS','ALREADY_EXISTS','_collabCursorState$','updateOfflineData','onStarting','collaboration.closeRoom','_entities','_messageService','saveTaskMap','entries','BrowserCollaborationSocketService','show','Rect','addObjects','rgba(255,\x20255,\x20255,\x200.01)','InsertRangeMoveDownCommandId','_httpService','_refRangeService','generateRandomId','WECHAT_HAS_BEEN_BOUND','_session','_collaborationController','urlChange$','actions','_updateURLWithCurrentState','endRow','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','dispose','string','transformStateCache','undoState','merge','startColumn','call','UniverRpc','createInstance','getItem','displayName','roomMembers','PERMISSION_DENIED','fillRule','useDependency','docStateChange$','react','loadOfflineData','getUndoRedoMutationParamsCache','UNRECOGNIZED','connectInjector','Tools','beginPath','pipe','EffectRefRangId','_init','setActiveRange','exports','_refreshCollabCursors','UniverIcon','LOCAL_CACHE_INTERVAL_KEY','SetSelectionsOperation','resize','subunit','currentColor','children','_scene','createElement','UniverInstanceType','from','className','TRANSFORM_CHANGE_OBSERVABLE_TYPE','drawWith','svg','getDocRanges','_localCacheService','findNodePositionByCharIndex','textRanges','_drawTextRange','use','MessageType','IRenderManagerService','jsxs','3520779iGwRhg','clsx','univer-flex\x20univer-items-center','SheetsSelectionsService','runRefRangeMutations','getActiveSheet','NodePositionConvertToRectRange','unshift','collaboration-client-ui.config','origin','clearInterval','isArray','UniverSheetsUi','WebSocketService','LICENSE_DISTRO_REJECTED','getOffsetConfig','_setupBeforeClosingHandler','@univerjs-pro/collaboration','USERS_LEAVE','_getAnchorBounding','function','...','_initDependencies','pushState','[CollaborationDataLoaderController]','_selfUnitIDs','CollaborationUIEventId','APPLY_NON_SEQUENTIAL_REVISION','name','IUIPartsService','ICommandService','path','_cursors','EMAIL_VERIFY_CODE_MISMATCH','RichTextEditingMutation','RECT','IBeforeCloseService','flatMap','_online','RemoteUniscriptService','DocIMEInputManagerService','measureText','@univerjs-pro/collaboration-client','object','SetDocZoomRatioOperation','COMPLETION_FINISHED','UNIVER_DOC','getActiveRange','8KMsXOS','@univerjs/core','_backgroundColor','enableLocalCache','UniverEngineFormula','setParam','debug','ITransformService','result','currentTheme$','CONFLICT','http://www.w3.org/2000/svg','1em','startsWith','UniverProCollaborationClientUi','jiqing.500','_drawRectRange','unsubscribe','getCurrentSelections','replace','runOnServer','_docSkeletonManagerService','toDisposable','event$','skeleton','unitID','split','none','UniverNetwork','wsSessionTicketUrl','IUniverInstanceService','hasOwnProperty','requireSession','sessionStatus$','_entityInit$','_getMergeRange','_docSyncEditingCollabCursorService','RegularPolygon','_imageIoService','@univerjs/docs-ui','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_REVISION_CONFILICT','onRendered','current','getCoordByCell','on-line-icon_clip0_910_349','_handleEvent','off-line-icon','fillText','debounce','transform','transformByState','post','source','getConfig','_startDocCollabCursor','m1Prime','Plugin','addHandlerCallback','mutations','backgroundColor','Inject','_anchorDot','788928gDdJrv','doc.mutation.rich-text-editing','NodePositionConvertToCursor','getStateCache','collabStatus.offline','_docTransformSelectionsService','_logService','HEADER_MENU','React','_registerRenderDependencies','_disabled','@univerjs/network','getCurrentUnitForType','RefRangeService','_colorIndex','substring','DeleteRangeMoveUpCommandId','newValue','transformMutationsWithChangeset','replaceState','_updateSubUnitFromURLParams','useRef','_send','FETCH_MISS','1851111AUdBFz','off-line-icon_clip0_910_343','onCommandExecuted','_initCommandExecutedListener','_colorAssignService','2rlfEar','unit','_anchor','labelPosition','SOCKET_FAILED','exhaustSavingTask','_univerInstanceService','with','YUUMI_RATE_OVER_LIMIT','_lastPointer','fillStyle','getParam','handleIRemoveRow','_updateLocalCursor','roomMembers$','getSheetId','focused$','INVALID_ARGUMENT','saveImage','_collabCursorController','_notificationService','_roomMembers$','add','searchParams','unload','4900400AFKpXY','application/json','Module','getUnhiddenWorksheets','_scheduleSaving','registerBeforeClose','getRenderById','CollaborationSessionService','assign','size','_render','_instanceService','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','takeUntil','_getSessionTicket','session.collaboration-timeout','debounceTime','_updateCollabCursors','sheetID','PENDING','defineProperty','getValue','Shape','getRangePointData','values','0\x200\x2017\x2016','RemoveColCommandId','0\x200\x2016\x2016','LOCAL_CACHE_INTERVAL','_color','createSocket','location','_dataLoaderService','SheetCollabCursorShape','makeDirty','_status$','hide','_range','_textBubble','APPLY_DUPLICATED','@univerjs/engine-formula','_hover','SheetSkeletonManagerService','whenReady','handleDeleteRangeMoveLeft','LICENSE_MAX_UNITS_EXCEEDED','IConfigService','SessionStatus','_onCursorUpdate','AWAITING_WITH_PENDING','length','ColorKit','_revisionService','UniverEngineRender','range','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','RevisionService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','m2Prime','startRow','href','INVITE_CODE_ALREADY_BOUND','RxDisposable','forwardRef','setAlpha','transformMutation','1132VMWyVS','DisposableCollection','NOT_COLLAB','SetTextSelectionsOperation','registerComponent','loadUnit','save','SOCKET_FAILED_RETRY','_toggleOnline','fromEventSubject','min','prototype','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','DeleteRangeMoveLeftCommandId','getSheetBySheetId','12965xuzhRR','setConfig','UniverCollaborationClientPlugin','concat','ONLINE','mergeOverrideWithDependencies','MOBILE_HAS_BEEN_BOUND','CollaborationStatus','Error','CommandType','_handleJoinEvent','_clearOtherTimers','Vector2','ACTIVE_UNIT_EVENT_CHANNEL','getCollabEntity$','_injector','_initStatusListener','dispose$','getMemberID','INVITE_CODE_REQUIRED','eventID','@univerjs/rpc','clearTimeout','OnLineIcon','UniverProCollaboration','_sheetSkeletonManagerService','color','fill','NO_OTHER_CLIENTS_EDITING','handleInsertRangeMoveDown','collaboration.single-unit.warning','getColor','hovered','ThemeService','_removeCollabCursors','disableLocalCache','5734044vnxdBW','delete','stringify','_scheduleClearOtherTimer','_context','_docStateChangeManagerService','getUniverSheetInstance','search','_urlService','CollaborationUIEventService','_localStorageService','MOBILE_VERIFY_CODE_MISMATCH','override','CollaborationEvent','TEXT','_assignedColors','collab-text-anchor-','symbol','@univerjs/engine-render','width','mask','executeCommand','removeParam','_id','TEXT_RANGE_LAYER_INDEX','_docSkeleton','_transformService','clipPath','trim','session.will-retry','SYNCED','INVITE_CODE_HAS_BEEN_UES','BuiltInUIPart','APPLY_PERMISSION_DENIED','@univerjs/sheets','includes','switchMap','_docTransformIMECacheService','IRemoteInstanceService','getColorFromTheme','throttleTime','text','forEach','fromEvent','invokeId','Disposable','lineTo','div','RemoveRowCommandId','round','_unitOnClients','collabCursorState$','YUUMI_NO_CUBOID_FOR_QUESTION','_initEvent','YUUMI_AI_RUN_FAILED','COLORS','indexOf','permission.title','LICENSE_IMPORT_SIZE_EXCEEDED','propertyIsEnumerable','distinctUntilChanged','sheetId','syncEditingCollabCursor','UNAUTHENTICATED','collaboration-client.offline-data-not-saved','Rectangle','CONNECTOR_DATA_TOO_LARGE','restore','VIEW_MAIN','M0\x200H16V16H0z','HTTPService','_transformPreviousActiveRange','_handleHover','idSuffix','url(#$1','params','_cursorShapes','init','_syncEditingCollabCursorService','_transformUndoRedoStack','evenodd','OffLineIcon','onPointerMove$','getVpScrollXYInfoByPosToVp','isActive','YUUMI_CONNECTOR_URL_NOT_FOUND','_eventUnsubscribe','assignAColorForMemberID','CollaborationController','_heartbeatTimer','LocaleService','setShapeProps','MUTATION','IMessageService','_cursor','_onCursorDelete','Warning','getTypeOfUnitDisposed$','isTransformMutationsWithChangesetSuccess','_startSheetCollabCursor','LOGIN_FAILED','map','data','@univerjs/ui','_toggleOffline','InsertRangeMoveRightCommandId','_name','toStringTag','UniverSheets','_commandService','UniverCollaborationClientUIPlugin','closePath','DataLoaderService','SetWorksheetActivateCommand','setTimeout','collabStatus.notCollab','_cachedData','combineLatest','MemberService','height','SNAPSHOT_HAS_BEEN_REMOVED','next','translate(.97)','ISnapshotServerService','getCurrentRevOfUnit','disposeUnit','CLOSE_ROOM','serializeRangeWithSheet','key','_scheduleHeartbeat','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','APPLY_REJECT','then','getOwnPropertyDescriptor','defIds','DesktopCollaborationStatusDisplayController','Unknown\x20user','EMAIL_HAS_BEEN_BOUND','OFFLINE','getSkeleton','operators','selection','InsertRowCommandId','on-line-icon','setStateCache','handleInsertRangeMoveRight','registerRefRange','collab-rect-range-','SHEET_VIEWPORT_KEY','YUUMI_ALL_TABLES_IS_INVALID','row','_saveCache','contains','attrs','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','pluginName','push','IURLService','subscribe','filter','_initEntityListener','USER_NOT_INVITED_CODE','handleIRemoveCol','CollaborationSocketService','runId','handleInsertRow','isEditing','_hovered','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subscribeEvent','_collaborationUIEventService','_configService','/run/','getUnitId','jsx','_handleLeaveEvent','deepClone','send','body','has','unitId','getRelativeToViewportCoord','setUndoRedoMutationParamsCache','Failed','cursorInfo','session.connection-failed','CollaborationDataLoaderController','collabStatus.syncing','BehaviorSubject','green.600','top','all','getCurrent','Tooltip','set','_collabSessionService','extend','YUUMI_ASYNCIO_CANCELLED','setItem','FromArray','OTHER_CLIENTS_EDITING','DocStateChangeManagerService','_getSheetObject','_onRefRangeChange','rxjs','DEFAULT_WS_SESSION_TICKET_URL','YUUMI_SUBSCRIPTION_NOT_FOUND','xlink:href','onLocalMutation','UniverDrawing','INVALID_INVITE_CODE','_renderManagerService','status$','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','bottom','getCollabCursors$','#FFF','addObject','AWAITING','getFocusedUnit','_getSaveTimeout','1266306JzYOIg','touchDependencies','Injector','@univerjs/sheets-ui','isTransformMutationFailure','_removeClearOtherTimer','column','getSheetObject','UniverProCollaborationClient','YUUMI_TABLE_NOT_FOUND_IN_UNIT','type','getUnitStatus$','subUnitId','_registerDependencies','toString','url(#on-line-icon_clip0_910_349)','_drawAnchor','CHANGESET_REVISION_CONFILICT','UnitStatus','white','_draw','_saveTaskMap','getTypeOfUnitAdded$','permission.content','DocSkeletonManagerService','storage','_setupSubUnitSync','getLocalCacheKey','useCallback','get','LICENSE_EXPORT_SIZE_EXCEEDED','DOC_RANGE_TYPE','_localeService','purple.300','history','_config','shareReplay','collabStatus.synced','transformIMECache','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getScale','PY_RUNTIME_SCRIPT_ERROR'];_0x1235=function(){return _0x29b294;};return _0x1235();}function _0x1d10(_0x2147b7,_0x56e149){const _0x12353a=_0x1235();return _0x1d10=function(_0x1d1008,_0x4711bb){_0x1d1008=_0x1d1008-0xb5;let _0x933041=_0x12353a[_0x1d1008];return _0x933041;},_0x1d10(_0x2147b7,_0x56e149);}(function(_0x5e4610,_0x2d1406){const _0x2eb016=_0x1d10,_0x1602dc=_0x5e4610();while(!![]){try{const _0x1760b7=-parseInt(_0x2eb016(0x126))/0x1*(parseInt(_0x2eb016(0x292))/0x2)+parseInt(_0x2eb016(0x33f))/0x3+-parseInt(_0x2eb016(0x181))/0x4*(-parseInt(_0x2eb016(0x190))/0x5)+parseInt(_0x2eb016(0x1b4))/0x6+-parseInt(_0x2eb016(0x109))/0x7+-parseInt(_0x2eb016(0xca))/0x8*(parseInt(_0x2eb016(0x121))/0x9)+-parseInt(_0x2eb016(0x13f))/0xa;if(_0x1760b7===_0x2d1406)break;else _0x1602dc['push'](_0x1602dc['shift']());}catch(_0x193ec4){_0x1602dc['push'](_0x1602dc['shift']());}}}(_0x1235,0xc0785),function(_0x32f92f,_0x418ceb){const _0x567452=_0x1d10;typeof exports==_0x567452(0xc5)&&typeof module<'u'?_0x418ceb(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x567452(0x353)&&define['amd']?define([_0x567452(0x325),'react/jsx-runtime',_0x567452(0xc4),_0x567452(0xcb),_0x567452(0x21b),_0x567452(0x281),'@univerjs/design',_0x567452(0x31a),_0x567452(0x1a5),_0x567452(0x1d6),_0x567452(0x1c6),_0x567452(0x114),_0x567452(0xf1),'@univerjs/drawing',_0x567452(0x350),_0x567452(0x2db),_0x567452(0x167),'rxjs/operators',_0x567452(0x295)],_0x418ceb):(_0x32f92f=typeof globalThis<'u'?globalThis:_0x32f92f||self,_0x418ceb(_0x32f92f[_0x567452(0xd8)]={},_0x32f92f['React'],_0x32f92f[_0x567452(0x29a)],_0x32f92f['UniverCore'],_0x32f92f['UniverUi'],_0x32f92f[_0x567452(0x281)],_0x32f92f[_0x567452(0x2de)],_0x32f92f[_0x567452(0x111)],_0x32f92f[_0x567452(0x311)],_0x32f92f[_0x567452(0x220)],_0x32f92f[_0x567452(0x174)],_0x32f92f[_0x567452(0xe6)],_0x32f92f['UniverDocsUi'],_0x32f92f[_0x567452(0x286)],_0x32f92f[_0x567452(0x1a8)],_0x32f92f['UniverDocs'],_0x32f92f[_0x567452(0xce)],_0x32f92f[_0x567452(0x281)][_0x567452(0x240)],_0x32f92f[_0x567452(0x34b)]));}(this,function(_0x4853c8,_0x5beb6b,_0x250f51,_0x31c42f,_0x603ca7,_0x19f1b5,_0x4612e3,_0x1beb2f,_0x337fcc,_0x56db06,_0x1f1202,_0x294bf6,_0x5e24e0,_0xa7fa11,_0x180e29,_0x3f505f,_0x3cb4df,_0x456c9e,_0x5432d7){'use strict';const _0x5a505c=_0x1d10;var _0x3e952b=Object[_0x5a505c(0x153)],_0x3db9ed=(_0x1a45b6,_0x23e5eb,_0x23b496)=>_0x23e5eb in _0x1a45b6?_0x3e952b(_0x1a45b6,_0x23e5eb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23b496}):_0x1a45b6[_0x23e5eb]=_0x23b496,_0x5c9071=(_0x5a2d75,_0x222c44,_0x3c429e)=>_0x3db9ed(_0x5a2d75,typeof _0x222c44!=_0x5a505c(0x1c5)?_0x222c44+'':_0x222c44,_0x3c429e),_0x418fff=function(){const _0x3f53bf=_0x5a505c;return _0x418fff=Object[_0x3f53bf(0x147)]||function(_0xe7122e){const _0x19f106=_0x3f53bf;for(var _0x183252,_0x7a9aa7=0x1,_0x4f214b=arguments[_0x19f106(0x171)];_0x7a9aa7<_0x4f214b;_0x7a9aa7++){_0x183252=arguments[_0x7a9aa7];for(var _0xc18be2 in _0x183252)Object[_0x19f106(0x18c)][_0x19f106(0xe9)][_0x19f106(0x310)](_0x183252,_0xc18be2)&&(_0xe7122e[_0xc18be2]=_0x183252[_0xc18be2]);}return _0xe7122e;},_0x418fff[_0x3f53bf(0x2c5)](this,arguments);},_0x413fef=function(_0x16bcd4,_0x1d7e7d){const _0x51ebac=_0x5a505c;var _0x36853f={};for(var _0x1451e3 in _0x16bcd4)Object['prototype'][_0x51ebac(0xe9)]['call'](_0x16bcd4,_0x1451e3)&&_0x1d7e7d[_0x51ebac(0x1ec)](_0x1451e3)<0x0&&(_0x36853f[_0x1451e3]=_0x16bcd4[_0x1451e3]);if(_0x16bcd4!=null&&typeof Object['getOwnPropertySymbols']==_0x51ebac(0x353)){for(var _0x3b01f0=0x0,_0x1451e3=Object['getOwnPropertySymbols'](_0x16bcd4);_0x3b01f0<_0x1451e3[_0x51ebac(0x171)];_0x3b01f0++)_0x1d7e7d[_0x51ebac(0x1ec)](_0x1451e3[_0x3b01f0])<0x0&&Object[_0x51ebac(0x18c)][_0x51ebac(0x1ef)][_0x51ebac(0x310)](_0x16bcd4,_0x1451e3[_0x3b01f0])&&(_0x36853f[_0x1451e3[_0x3b01f0]]=_0x16bcd4[_0x1451e3[_0x3b01f0]]);}return _0x36853f;},_0x5b8ef9=_0x1beb2f['forwardRef'](function(_0x431bc2,_0x3ef17d){const _0x42235d=_0x5a505c;var _0x2b86dd=_0x431bc2['icon'],_0x17f815=_0x431bc2['id'],_0xcf57bc=_0x431bc2[_0x42235d(0x332)],_0x54eab7=_0x431bc2[_0x42235d(0x279)],_0x1021bc=_0x413fef(_0x431bc2,[_0x42235d(0x2c9),'id',_0x42235d(0x332),_0x42235d(0x279)]),_0x1b6323='univerjs-icon\x20univerjs-icon-'[_0x42235d(0x193)](_0x17f815,'\x20')['concat'](_0xcf57bc||'')[_0x42235d(0x1d0)](),_0x3918da=_0x1beb2f[_0x42235d(0x11e)]('_'[_0x42235d(0x193)](_0x45e795()));return _0x4cdb86(_0x2b86dd,''[_0x42235d(0x193)](_0x17f815),{'defIds':_0x2b86dd[_0x42235d(0x23a)],'idSuffix':_0x3918da[_0x42235d(0xf5)]},_0x418fff({'ref':_0x3ef17d,'className':_0x1b6323},_0x1021bc),_0x54eab7);});function _0x4cdb86(_0x25c939,_0x26585d,_0x2731d7,_0x3b0db3,_0x2f814b){const _0x1e40b7=_0x5a505c;return _0x1beb2f[_0x1e40b7(0x32f)](_0x25c939['tag'],_0x418fff(_0x418fff({'key':_0x26585d},_0x44ed48(_0x25c939,_0x2731d7,_0x2f814b)),_0x3b0db3),(_0x384a90(_0x25c939,_0x2731d7)[_0x1e40b7(0x32d)]||[])['map'](function(_0x377c4b,_0x1f8120){const _0x1c29e7=_0x1e40b7;return _0x4cdb86(_0x377c4b,''[_0x1c29e7(0x193)](_0x26585d,'-')[_0x1c29e7(0x193)](_0x25c939[_0x1c29e7(0x2cb)],'-')['concat'](_0x1f8120),_0x2731d7,void 0x0,_0x2f814b);}));}function _0x44ed48(_0x120f43,_0x1521ce,_0x56a906){const _0x41d5cc=_0x5a505c;var _0x42f115=_0x418fff({},_0x120f43[_0x41d5cc(0x24d)]);_0x56a906!=null&&_0x56a906[_0x41d5cc(0x2c3)]&&_0x42f115[_0x41d5cc(0x1ab)]===_0x41d5cc(0x2c3)&&(_0x42f115[_0x41d5cc(0x1ab)]=_0x56a906[_0x41d5cc(0x2c3)]),_0x120f43[_0x41d5cc(0x2cb)]===_0x41d5cc(0x1c8)&&_0x42f115['id']&&(_0x42f115['id']=_0x42f115['id']+_0x1521ce[_0x41d5cc(0x1fd)]),Object[_0x41d5cc(0x2f8)](_0x42f115)[_0x41d5cc(0x1de)](function(_0x90ce17){const _0x5f12eb=_0x41d5cc;var _0x2832e6=_0x90ce17[0x0],_0x13f7dd=_0x90ce17[0x1];_0x2832e6==='mask'&&typeof _0x13f7dd=='string'&&(_0x42f115[_0x2832e6]=_0x13f7dd['replace'](/url\(#(.*)\)/,_0x5f12eb(0x1fe)[_0x5f12eb(0x193)](_0x1521ce[_0x5f12eb(0x1fd)],')')));});var _0x3ddb3e=_0x1521ce[_0x41d5cc(0x23a)];return!_0x3ddb3e||_0x3ddb3e['length']===0x0||(_0x120f43['tag']===_0x41d5cc(0x33b)&&_0x42f115[_0x41d5cc(0x284)]&&(_0x42f115['xlink:href']=_0x42f115[_0x41d5cc(0x284)]+_0x1521ce[_0x41d5cc(0x1fd)]),Object['entries'](_0x42f115)[_0x41d5cc(0x1de)](function(_0xd936e8){const _0x22c851=_0x41d5cc;var _0x3f61ca=_0xd936e8[0x0],_0x1ea4ae=_0xd936e8[0x1];typeof _0x1ea4ae=='string'&&(_0x42f115[_0x3f61ca]=_0x1ea4ae[_0x22c851(0xdd)](/url\(#(.*)\)/,_0x22c851(0x1fe)[_0x22c851(0x193)](_0x1521ce[_0x22c851(0x1fd)],')')));})),_0x42f115;}function _0x384a90(_0x5b962a,_0xc1a740){const _0x512a22=_0x5a505c;var _0x2fbc3b,_0x1b33f0=_0xc1a740[_0x512a22(0x23a)];return!_0x1b33f0||_0x1b33f0[_0x512a22(0x171)]===0x0?_0x5b962a:_0x5b962a[_0x512a22(0x2cb)]===_0x512a22(0x2e5)&&(!((_0x2fbc3b=_0x5b962a[_0x512a22(0x32d)])===null||_0x2fbc3b===void 0x0)&&_0x2fbc3b['length'])?_0x418fff(_0x418fff({},_0x5b962a),{'children':_0x5b962a[_0x512a22(0x32d)][_0x512a22(0x219)](function(_0x3fe37b){const _0x5db623=_0x512a22;return typeof _0x3fe37b[_0x5db623(0x24d)]['id']==_0x5db623(0x30b)&&_0x1b33f0&&_0x1b33f0['includes'](_0x3fe37b['attrs']['id'])?_0x418fff(_0x418fff({},_0x3fe37b),{'attrs':_0x418fff(_0x418fff({},_0x3fe37b[_0x5db623(0x24d)]),{'id':_0x3fe37b[_0x5db623(0x24d)]['id']+_0xc1a740[_0x5db623(0x1fd)]})}):_0x3fe37b;})}):_0x5b962a;}function _0x45e795(){const _0x159c65=_0x5a505c;return Math['random']()[_0x159c65(0x2a0)](0x24)[_0x159c65(0x118)](0x2,0x8);}_0x5b8ef9[_0x5a505c(0x314)]=_0x5a505c(0x327);var _0xd7cb74={'tag':_0x5a505c(0x335),'attrs':{'xmlns':_0x5a505c(0xd5),'fill':_0x5a505c(0xe5),'viewBox':_0x5a505c(0x15a),'width':'1em','height':_0x5a505c(0xd6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x5a505c(0xb9),'attrs':{'stroke':_0x5a505c(0x32c),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x5a505c(0x1e5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5a505c(0x2e5),'attrs':{},'children':[{'tag':_0x5a505c(0x1cf),'attrs':{'id':_0x5a505c(0x122)},'children':[{'tag':'path','attrs':{'fill':_0x5a505c(0x2a5),'d':_0x5a505c(0x1f9)}}]}]}],'defIds':[_0x5a505c(0x122)]},_0x5ae184=_0x1beb2f[_0x5a505c(0x17e)](function(_0x4548e9,_0xcd9999){const _0x1a0037=_0x5a505c;return _0x1beb2f[_0x1a0037(0x32f)](_0x5b8ef9,Object[_0x1a0037(0x147)]({},_0x4548e9,{'id':_0x1a0037(0xf9),'ref':_0xcd9999,'icon':_0xd7cb74}));});_0x5ae184[_0x5a505c(0x314)]=_0x5a505c(0x205);var _0x1f2e0e={'tag':_0x5a505c(0x335),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5a505c(0xe5),'viewBox':_0x5a505c(0x158),'width':_0x5a505c(0xd6),'height':_0x5a505c(0xd6)},'children':[{'tag':'g','attrs':{'clipPath':_0x5a505c(0x2a1)},'children':[{'tag':_0x5a505c(0xb9),'attrs':{'stroke':'currentColor','d':_0x5a505c(0x14b),'strokeLinecap':_0x5a505c(0x1e5),'strokeLinejoin':_0x5a505c(0x1e5),'strokeWidth':1.2}}]},{'tag':_0x5a505c(0x2e5),'attrs':{},'children':[{'tag':_0x5a505c(0x1cf),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5a505c(0xb9),'attrs':{'fill':_0x5a505c(0x2a5),'d':'M0\x200H16V16H0z','transform':_0x5a505c(0x22e)}}]}]}],'defIds':[_0x5a505c(0xf7)]},_0x350aa3=_0x1beb2f[_0x5a505c(0x17e)](function(_0x528d5e,_0x4e0e4a){const _0xaa9822=_0x5a505c;return _0x1beb2f['createElement'](_0x5b8ef9,Object[_0xaa9822(0x147)]({},_0x528d5e,{'id':_0xaa9822(0x243),'ref':_0x4e0e4a,'icon':_0x1f2e0e}));});_0x350aa3[_0x5a505c(0x314)]=_0x5a505c(0x1a7);function _0x295060(_0x4decdc){const _0x303065=_0x5a505c;switch(_0x4decdc){case _0x250f51[_0x303065(0x197)][_0x303065(0x23e)]:return _0x303065(0x10d);case _0x250f51[_0x303065(0x197)][_0x303065(0xd4)]:return'collabStatus.conflict';case _0x250f51[_0x303065(0x197)][_0x303065(0x120)]:return'collabStatus.fetchMiss';case _0x250f51[_0x303065(0x197)][_0x303065(0x183)]:return _0x303065(0x227);case _0x250f51['CollaborationStatus'][_0x303065(0x28f)]:case _0x250f51['CollaborationStatus'][_0x303065(0x170)]:return _0x303065(0x270);case _0x250f51[_0x303065(0x197)][_0x303065(0x1d2)]:case _0x250f51[_0x303065(0x197)][_0x303065(0x152)]:return _0x303065(0x2b7);}}function _0x13383e(_0x3371bb){const _0x19dd28=_0x5a505c,{status$:_0x1d4b45}=_0x3371bb,_0x46dd67=_0x603ca7['useObservable'](_0x1d4b45,_0x250f51[_0x19dd28(0x197)][_0x19dd28(0x183)]),_0x1c3896=_0x603ca7[_0x19dd28(0x318)](_0x31c42f[_0x19dd28(0x20e)]),_0x1c9662=_0x603ca7[_0x19dd28(0x318)](_0x250f51[_0x19dd28(0x146)]),_0x6a7fa=_0x46dd67!==_0x250f51[_0x19dd28(0x197)][_0x19dd28(0x23e)],_0x35b5f6=_0x1c3896['t'](_0x295060(_0x46dd67)),_0x5c5f3a=_0x6a7fa?_0x5beb6b[_0x19dd28(0x263)](_0x350aa3,{}):_0x5beb6b[_0x19dd28(0x263)](_0x5ae184,{}),_0x1b62c6=_0x1beb2f[_0x19dd28(0x2ae)](()=>{const _0x761aeb=_0x19dd28;_0x6a7fa||_0x1c9662[_0x761aeb(0x2dc)]();},[_0x6a7fa,_0x1c9662]);function _0x2a3ab9(){const _0x2694b2=_0x19dd28;return _0x5beb6b[_0x2694b2(0x33e)](_0x2694b2(0x1e3),{'className':_0x2694b2(0x341),'onClick':_0x1b62c6,'children':[_0x5beb6b[_0x2694b2(0x263)]('div',{'className':_0x4612e3[_0x2694b2(0x340)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x6a7fa,'univer-text-red-500':!_0x6a7fa}),'children':_0x5c5f3a}),_0x5beb6b['jsx'](_0x2694b2(0x1e3),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x35b5f6})]});}return _0x6a7fa?_0x2a3ab9():_0x5beb6b['jsx'](_0x4612e3[_0x19dd28(0x276)],{'title':_0x1c3896['t']('collab-client.tooltip.reconnect'),'children':_0x2a3ab9()});}var _0x3448a8=Object[_0x5a505c(0x239)],_0xd37d93=(_0x1f1ee4,_0x4edac4,_0x10f514,_0x265a69)=>{for(var _0x255eee=_0x265a69>0x1?void 0x0:_0x265a69?_0x3448a8(_0x4edac4,_0x10f514):_0x4edac4,_0x1838d7=_0x1f1ee4['length']-0x1,_0x69b869;_0x1838d7>=0x0;_0x1838d7--)(_0x69b869=_0x1f1ee4[_0x1838d7])&&(_0x255eee=_0x69b869(_0x255eee)||_0x255eee);return _0x255eee;},_0x22abda=(_0x4178ef,_0xf42c33)=>(_0x2c0cd7,_0x23b884)=>_0xf42c33(_0x2c0cd7,_0x23b884,_0x4178ef);_0x4853c8['DesktopCollaborationStatusDisplayController']=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x57937a,_0x14a339,_0x59d017,_0x3fdf1a){const _0x257518=_0x5a505c;super(),_0x5c9071(this,'_status$',new _0x19f1b5[(_0x257518(0x271))](_0x250f51[_0x257518(0x197)][_0x257518(0x183)])),(this[_0x257518(0x12c)]=_0x57937a,this[_0x257518(0x19f)]=_0x14a339,this[_0x257518(0x304)]=_0x59d017,this[_0x257518(0x2bf)]=_0x3fdf1a,this[_0x257518(0x2ee)](),this[_0x257518(0x1a0)]());}[_0x5a505c(0x1a0)](){const _0x225590=_0x5a505c;this[_0x225590(0x2c7)](this[_0x225590(0x12c)][_0x225590(0x136)][_0x225590(0x321)](_0x19f1b5[_0x225590(0x1d8)](()=>{const _0xd79307=_0x225590,_0xcb865f=this[_0xd79307(0x12c)][_0xd79307(0x290)]();return _0xcb865f?this[_0xd79307(0x304)][_0xd79307(0x19e)](_0xcb865f[_0xd79307(0x262)]()):_0x19f1b5['of'](null);}),_0x19f1b5['switchMap'](_0x98a46e=>_0x98a46e?_0x98a46e[_0x225590(0x289)]:_0x19f1b5['of'](_0x250f51['CollaborationStatus'][_0x225590(0x183)])))[_0x225590(0x253)](_0x25d9b4=>{const _0x505b8c=_0x225590;this[_0x505b8c(0x162)][_0x505b8c(0x22d)](_0x25d9b4);}));}['_initStatusComponent'](){const _0x16c78a=_0x5a505c;this[_0x16c78a(0x2c7)](this[_0x16c78a(0x2bf)][_0x16c78a(0x185)](_0x603ca7[_0x16c78a(0x1d4)][_0x16c78a(0x110)],()=>_0x603ca7[_0x16c78a(0x31e)](_0x15e10a({'status$':this[_0x16c78a(0x162)][_0x16c78a(0x2d6)]()}),this[_0x16c78a(0x19f)])));}},_0x4853c8['DesktopCollaborationStatusDisplayController']=_0xd37d93([_0x22abda(0x0,_0x31c42f[_0x5a505c(0xe8)]),_0x22abda(0x1,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0x22abda(0x2,_0x31c42f['Inject'](_0x250f51[_0x5a505c(0x20c)])),_0x22abda(0x3,_0x603ca7[_0x5a505c(0xb7)])],_0x4853c8['DesktopCollaborationStatusDisplayController']);function _0x15e10a(_0x377489){const {status$:_0x41ad6f}=_0x377489;return function(){const _0x51efeb=_0x1d10;return _0x5beb6b[_0x51efeb(0x263)](_0x13383e,{'status$':_0x41ad6f});};}const _0x2b3810=_0x31c42f['createIdentifier']('uni.network.url-service');var _0x5a7b11=Object['getOwnPropertyDescriptor'],_0x505d25=(_0x4de4cd,_0x4151d4,_0x599760,_0x2a7931)=>{const _0x1930a3=_0x5a505c;for(var _0x3cb415=_0x2a7931>0x1?void 0x0:_0x2a7931?_0x5a7b11(_0x4151d4,_0x599760):_0x4151d4,_0x12b17d=_0x4de4cd[_0x1930a3(0x171)]-0x1,_0x1bc9d2;_0x12b17d>=0x0;_0x12b17d--)(_0x1bc9d2=_0x4de4cd[_0x12b17d])&&(_0x3cb415=_0x1bc9d2(_0x3cb415)||_0x3cb415);return _0x3cb415;},_0x12c263=(_0x462925,_0x464046)=>(_0x5ca2b9,_0x104768)=>_0x464046(_0x5ca2b9,_0x104768,_0x462925);_0x4853c8[_0x5a505c(0x26f)]=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x91401f,_0x1a1b41,_0xef8160,_0x14c746,_0x34cb0d){const _0xd70bb8=_0x5a505c;super(),this[_0xd70bb8(0x1bc)]=_0x91401f,this[_0xd70bb8(0x10f)]=_0x1a1b41,this[_0xd70bb8(0x221)]=_0xef8160,this[_0xd70bb8(0x15f)]=_0x14c746,_0x34cb0d?_0x34cb0d==null||_0x34cb0d[_0xd70bb8(0x16a)]()['then'](()=>this['_init']()):(this[_0xd70bb8(0x10f)][_0xd70bb8(0xd0)]('[CollaborationDataLoaderController]',_0xd70bb8(0x18d)),this[_0xd70bb8(0x323)]());}async[_0x5a505c(0x323)](){const _0xe7337b=_0x5a505c,_0x3287d1=this['_urlService'][_0xe7337b(0x131)](_0xe7337b(0x127)),_0x3ce721=this[_0xe7337b(0x1bc)][_0xe7337b(0x131)](_0xe7337b(0x29c)),_0x34f3d0=this['_urlService'][_0xe7337b(0x131)]('subunit');if(!_0x3287d1||!_0x3ce721){this['_logService'][_0xe7337b(0xd0)](_0xe7337b(0x357),_0xe7337b(0x176));return;}const _0x29fa41=await this[_0xe7337b(0x15f)][_0xe7337b(0x186)](_0x3287d1,Number(_0x3ce721),_0x34f3d0);_0x29fa41&&_0x29fa41 instanceof _0x31c42f['Workbook']&&this[_0xe7337b(0x2ac)](_0x29fa41);}async[_0x5a505c(0x2ac)](_0x1a4877){const _0x21c45b=_0x5a505c;await this[_0x21c45b(0x11d)](_0x1a4877),_0x1a4877['activeSheet$'][_0x21c45b(0x321)](_0x19f1b5[_0x21c45b(0x14c)](this[_0x21c45b(0x1a1)]))['subscribe'](_0xf713d4=>{const _0x300cab=_0x21c45b;_0xf713d4&&this[_0x300cab(0x307)](_0xf713d4);}),this['_urlService'][_0x21c45b(0x305)]['pipe'](_0x19f1b5[_0x21c45b(0x14c)](this['dispose$']))[_0x21c45b(0x253)](()=>this[_0x21c45b(0x11d)](_0x1a4877));}[_0x5a505c(0x307)](_0x374b7c,_0x462870=!0x1){const _0x2f7656=_0x5a505c,_0x15aad2=this['_urlService'][_0x2f7656(0x131)]('subunit');_0x374b7c['getSheetId']()!==_0x15aad2&&this['_urlService'][_0x2f7656(0xcf)](_0x2f7656(0x32b),_0x374b7c[_0x2f7656(0x135)](),_0x462870);}async['_updateSubUnitFromURLParams'](_0xa96941){const _0x1b6772=_0x5a505c;var _0x5d749a;const _0x4fc430=this['_urlService'][_0x1b6772(0x131)](_0x1b6772(0x32b));if(!_0x4fc430||!_0xa96941[_0x1b6772(0x18f)](_0x4fc430)){const _0x19c86a=_0xa96941[_0x1b6772(0x142)]()[0x0],_0x211f10=_0xa96941[_0x1b6772(0x18f)](_0x19c86a);if(!_0x211f10)return;this[_0x1b6772(0x307)](_0x211f10,!0x0),await this[_0x1b6772(0x221)][_0x1b6772(0x1c9)](_0x56db06[_0x1b6772(0x225)]['id'],{'unitId':_0xa96941[_0x1b6772(0x262)](),'subUnitId':_0x19c86a});return;}((_0x5d749a=_0xa96941[_0x1b6772(0x344)]())==null?void 0x0:_0x5d749a['getSheetId']())!==_0x4fc430&&await this[_0x1b6772(0x221)]['executeCommand'](_0x56db06[_0x1b6772(0x225)]['id'],{'unitId':_0xa96941[_0x1b6772(0x262)](),'subUnitId':_0x4fc430});}},_0x4853c8['CollaborationDataLoaderController']=_0x505d25([_0x12c263(0x0,_0x2b3810),_0x12c263(0x1,_0x31c42f[_0x5a505c(0x2c4)]),_0x12c263(0x2,_0x31c42f[_0x5a505c(0xb8)]),_0x12c263(0x3,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x224)])),_0x12c263(0x4,_0x31c42f['Optional'](_0x337fcc[_0x5a505c(0x1da)]))],_0x4853c8['CollaborationDataLoaderController']);var _0x1e96e0=Object[_0x5a505c(0x239)],_0x1841aa=(_0x51dba2,_0x32afd3,_0x97e583,_0x3f40ec)=>{const _0x16086b=_0x5a505c;for(var _0x3b553b=_0x3f40ec>0x1?void 0x0:_0x3f40ec?_0x1e96e0(_0x32afd3,_0x97e583):_0x32afd3,_0xa2668c=_0x51dba2[_0x16086b(0x171)]-0x1,_0x53faeb;_0xa2668c>=0x0;_0xa2668c--)(_0x53faeb=_0x51dba2[_0xa2668c])&&(_0x3b553b=_0x53faeb(_0x3b553b)||_0x3b553b);return _0x3b553b;},_0x4234af=(_0x8ba742,_0x32ddeb)=>(_0x38a579,_0x14a9e4)=>_0x32ddeb(_0x38a579,_0x14a9e4,_0x8ba742);let _0x4c41fe=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x2a77d6,_0x4dcf1f){const _0x1f11ea=_0x5a505c;super(),this['_docClipboardService']=_0x2a77d6,this[_0x1f11ea(0xf0)]=_0x4dcf1f,this[_0x1f11ea(0x323)]();}[_0x5a505c(0x323)](){const _0x206239=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x2351ea=>{const _0x2f8691=_0x1d10,_0x23a4ab=await _0x206239[_0x2f8691(0xf0)][_0x2f8691(0x138)](_0x2351ea);return _0x23a4ab?{'source':_0x23a4ab[_0x2f8691(0xff)],'imageSourceType':_0x23a4ab['imageSourceType']}:null;}}));}};_0x4c41fe=_0x1841aa([_0x4234af(0x0,_0x5e24e0['IDocClipboardService']),_0x4234af(0x1,_0xa7fa11['IImageIoService'])],_0x4c41fe);const _0x1b89e0=[_0x5a505c(0x2b3),_0x5a505c(0xd9),_0x5a505c(0x272),_0x5a505c(0x2e7),_0x5a505c(0x2d4),'yellow.400'];class _0x237c9d extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(){const _0x509d12=_0x5a505c;super(...arguments),_0x5c9071(this,_0x509d12(0x1c3),new Map()),_0x5c9071(this,'_colorIndex',0x0);}[_0x5a505c(0x20b)](_0x3a8235){const _0x1624ca=_0x5a505c;if(this[_0x1624ca(0x1c3)]['has'](_0x3a8235))return this[_0x1624ca(0x1c3)][_0x1624ca(0x2af)](_0x3a8235);const _0x3c93a3=_0x1b89e0[this[_0x1624ca(0x117)]];return this[_0x1624ca(0x117)]=(this[_0x1624ca(0x117)]+0x1)%_0x1b89e0['length'],this[_0x1624ca(0x1c3)][_0x1624ca(0x277)](_0x3a8235,_0x3c93a3),_0x3c93a3;}}function _0x18315f(_0x361ce4){const _0x6147f8=_0x5a505c;let _0x4038ef='';for(const _0x516fc6 of _0x361ce4){const {startOffset:_0x465114,endOffset:_0x37a637,isActive:_0x560a2d,rangeType:_0x1b7549,segmentId:_0x51cee5,segmentPage:_0x3d170b}=_0x516fc6;_0x4038ef[_0x6147f8(0x171)]&&(_0x4038ef+=','),_0x4038ef+=_0x465114+':'+_0x37a637+':'+(_0x560a2d?'1':'0')+':'+_0x1b7549+':'+_0x51cee5+':'+_0x3d170b;}return _0x4038ef;}function _0x269ae1(_0x31c989){const _0x1c5fc5=_0x5a505c,_0x117fc5=_0x31c989[_0x1c5fc5(0xe4)](','),_0x39e593=[];for(const _0x3d1dea of _0x117fc5){const [_0x30f3a2,_0x2768b2,_0x3f9817,_0x503266,_0x42e1b3,_0x5b7030]=_0x3d1dea[_0x1c5fc5(0xe4)](':');_0x39e593[_0x1c5fc5(0x251)]({'startOffset':Number(_0x30f3a2),'endOffset':Number(_0x2768b2),'collapsed':_0x30f3a2===_0x2768b2,'isActive':_0x3f9817==='1','rangeType':_0x503266===_0x31c42f[_0x1c5fc5(0x2b1)][_0x1c5fc5(0x1c2)]?_0x31c42f[_0x1c5fc5(0x2b1)][_0x1c5fc5(0x1c2)]:_0x31c42f['DOC_RANGE_TYPE'][_0x1c5fc5(0xbd)],'segmentId':typeof _0x42e1b3=='string'?String(_0x42e1b3):'','segmentPage':Number(_0x5b7030!=null?_0x5b7030:-0x1)});}return _0x39e593['some'](_0x1da38c=>_0x1da38c[_0x1c5fc5(0x208)])||(_0x39e593[0x0][_0x1c5fc5(0x208)]=!0x0),_0x39e593;}class _0x17e7cc extends _0x31c42f[_0x5a505c(0x17d)]{constructor(){const _0x75ba08=_0x5a505c;super(...arguments),_0x5c9071(this,_0x75ba08(0x2f1),new _0x19f1b5[(_0x75ba08(0x271))](null)),_0x5c9071(this,_0x75ba08(0x1e7),this['_collabCursorState$']['asObservable']());}[_0x5a505c(0x1f2)](_0x3c84f4){const _0x19bd99=_0x5a505c,{unitID:_0xd754d7,memberID:_0x3d8823,textRanges:_0x1849e1}=_0x3c84f4,_0x3aef14=_0x18315f(_0x1849e1);if(_0x3aef14==='')return;const _0x1c8e5b={'unitID':_0xd754d7,'memberID':_0x3d8823,'selection':_0x3aef14};this['_collabCursorState$'][_0x19bd99(0x22d)](_0x1c8e5b);}}var _0x4431db=Object[_0x5a505c(0x239)],_0x159b72=(_0x26518a,_0x52741c,_0x56674d,_0x4767ae)=>{const _0x382262=_0x5a505c;for(var _0x4e4349=_0x4767ae>0x1?void 0x0:_0x4767ae?_0x4431db(_0x52741c,_0x56674d):_0x52741c,_0x52267f=_0x26518a[_0x382262(0x171)]-0x1,_0x4ac651;_0x52267f>=0x0;_0x52267f--)(_0x4ac651=_0x26518a[_0x52267f])&&(_0x4e4349=_0x4ac651(_0x4e4349)||_0x4e4349);return _0x4e4349;},_0xa6491c=(_0x4b4008,_0x5a0042)=>(_0x1351f2,_0x902843)=>_0x5a0042(_0x1351f2,_0x902843,_0x4b4008);const _0x4d2c45=0x12c,_0x50d0d4=0x64;let _0x28eeff=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x4f67ba,_0x3b02b1,_0x25bca8,_0x16673c,_0x430e3e,_0xf71fb4,_0x4d7820,_0x2c60ba,_0x27f83c){const _0x241209=_0x5a505c;super(),_0x5c9071(this,_0x241209(0xc0),!0x1),_0x5c9071(this,_0x241209(0x323),!0x1),_0x5c9071(this,_0x241209(0x2ea),new _0x19f1b5[(_0x241209(0x271))](new Map())),_0x5c9071(this,_0x241209(0x2d5),this[_0x241209(0x2ea)][_0x241209(0x2d6)]()),_0x5c9071(this,_0x241209(0x13b),new _0x19f1b5[(_0x241209(0x271))]([])),_0x5c9071(this,_0x241209(0x134),this['_roomMembers$'][_0x241209(0x321)](_0x19f1b5[_0x241209(0x14f)](_0x4d2c45))),_0x5c9071(this,_0x241209(0x133),_0x31c42f[_0x241209(0xfb)](_0x3da83f=>{const _0x47275f=_0x241209,_0x477256={'eventID':_0x180e29[_0x47275f(0x1c1)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x47275f(0xe3)],'memberID':this['_session'][_0x47275f(0x1a2)](),'selection':_0x18315f(_0x3da83f)}};this['_session']['send'](_0x477256,this[_0x47275f(0xe3)]);},_0x50d0d4)),(this[_0x241209(0xe3)]=_0x4f67ba,this[_0x241209(0x303)]=_0x3b02b1,this[_0x241209(0x19f)]=_0x25bca8,this[_0x241209(0x125)]=_0x16673c,this['_memberService']=_0x430e3e,this[_0x241209(0x202)]=_0xf71fb4,this['_transformService']=_0x4d7820,this['_univerInstanceService']=_0x2c60ba,this[_0x241209(0x221)]=_0x27f83c);}get[_0x5a505c(0x26d)](){const _0x21410d=_0x5a505c;return this[_0x21410d(0x2ea)][_0x21410d(0x154)]();}get[_0x5a505c(0x315)](){const _0x5b4eef=_0x5a505c;return this['_roomMembers$'][_0x5b4eef(0x154)]();}[_0x5a505c(0x30a)](){const _0x4e343=_0x5a505c;super[_0x4e343(0x30a)](),this[_0x4e343(0x2ea)][_0x4e343(0x22d)](new Map()),this['_cursorInfo$']['complete'](),this[_0x4e343(0x13b)]['next']([]),this['_roomMembers$']['complete']();}[_0x5a505c(0x201)](){const _0x337ec8=_0x5a505c;this[_0x337ec8(0x323)]||(this[_0x337ec8(0x323)]=!0x0,this[_0x337ec8(0x303)][_0x337ec8(0xeb)][_0x337ec8(0x321)](_0x19f1b5['takeUntil'](this[_0x337ec8(0x1a1)]))[_0x337ec8(0x253)](_0x25c1ab=>{const _0x147945=_0x337ec8;_0x25c1ab===_0x250f51[_0x147945(0x16e)]['ONLINE']?this[_0x147945(0x189)]():this[_0x147945(0x21c)]();}),this[_0x337ec8(0x303)]['event$'][_0x337ec8(0x321)](_0x19f1b5[_0x337ec8(0x14c)](this['dispose$']))[_0x337ec8(0x253)](_0x4ba30f=>{const _0x4b1d1d=_0x337ec8,_0x1232af=_0x4ba30f['eventID'];_0x1232af===_0x180e29['CollaborationEvent'][_0x4b1d1d(0x2e0)]&&this[_0x4b1d1d(0x16f)](_0x4ba30f),_0x1232af===_0x180e29[_0x4b1d1d(0x1c1)]['USERS_LEAVE']&&this[_0x4b1d1d(0x213)](_0x4ba30f);}),this['disposeWithMe'](this[_0x337ec8(0x221)][_0x337ec8(0x123)](_0x16d82e=>{const _0x171c19=_0x337ec8,_0x3bc003=_0x16d82e[_0x171c19(0x1ff)];_0x3bc003!=null&&this[_0x171c19(0xc0)]&&_0x16d82e['id']===_0x3f505f[_0x171c19(0x184)]['id']&&_0x3bc003[_0x171c19(0x269)]===this[_0x171c19(0xe3)]&&_0x3bc003[_0x171c19(0x25b)]===!0x1&&_0x3bc003['ranges'][_0x171c19(0x171)]>0x0&&this['_updateLocalCursor'](_0x3bc003['ranges']);})),this[_0x337ec8(0x202)][_0x337ec8(0x1e7)][_0x337ec8(0x321)](_0x19f1b5[_0x337ec8(0x14c)](this[_0x337ec8(0x1a1)]))[_0x337ec8(0x253)](_0xbd9ee4=>{const _0x3cef11=_0x337ec8;if((_0xbd9ee4==null?void 0x0:_0xbd9ee4[_0x3cef11(0xe3)])!==this['unitID'])return;const _0x26be10={'eventID':_0x180e29['CollaborationEvent'][_0x3cef11(0x2e0)],'data':_0xbd9ee4};this[_0x3cef11(0x16f)](_0x26be10);}),this[_0x337ec8(0x2c7)](this[_0x337ec8(0x221)][_0x337ec8(0x123)](_0x419549=>{const _0x422577=_0x337ec8;if(_0x419549[_0x422577(0x1ff)]==null)return;const _0x58bb18=_0x419549[_0x422577(0x1ff)];if(_0x419549['id']!==_0x3f505f[_0x422577(0xbc)]['id']||_0x58bb18[_0x422577(0x269)]!==this['unitID'])return;const _0xfc7473={'id':_0x422577(0x10a),'params':_0x58bb18},_0x2677ff=this[_0x422577(0x26d)];for(const [_0x56bba9,_0x2c2cb9]of _0x2677ff){const _0xd49dc7={'id':_0x422577(0x10a),'params':{'unitId':this[_0x422577(0xe3)],'actions':null,'textRanges':_0x2c2cb9[_0x422577(0x2d3)]}},_0x312693=this[_0x422577(0x1ce)][_0x422577(0x180)](_0xfc7473,_0xd49dc7,!0x1);if(_0x180e29[_0x422577(0x296)](_0x312693))throw _0x312693[_0x422577(0x2df)];_0x2677ff[_0x422577(0x277)](_0x56bba9,{..._0x2c2cb9,'ranges':_0x312693[_0x422577(0x179)][_0x422577(0x1ff)][_0x422577(0x339)]});}queueMicrotask(()=>{const _0x47018a=_0x422577;this[_0x47018a(0x2ea)]['next'](_0x2677ff);});})));}[_0x5a505c(0x16f)](_0x53ab0b){const _0x29fba7=_0x5a505c;var _0x3f15f2,_0x2c8ada;const {memberID:_0x47e4b2,selection:_0x362a68}=_0x53ab0b[_0x29fba7(0x21a)],_0x5ee4b3=_0x269ae1(_0x362a68),_0x3893c9=(_0x2c8ada=(_0x3f15f2=this['_memberService']['getMember'](this[_0x29fba7(0xe3)],_0x47e4b2))==null?void 0x0:_0x3f15f2[_0x29fba7(0xb6)])!=null?_0x2c8ada:_0x29fba7(0x23c),_0x3b8a01={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x47e4b2),'name':_0x3893c9,'ranges':_0x5ee4b3},_0x5ce2e9=this[_0x29fba7(0x26d)];_0x5ce2e9['set'](_0x47e4b2,_0x3b8a01),this[_0x29fba7(0x2ea)][_0x29fba7(0x22d)](_0x5ce2e9);}[_0x5a505c(0x213)](_0xacf0eb){const _0x5b13a6=_0x5a505c,{memberID:_0x914be5}=_0xacf0eb[_0x5b13a6(0x21a)],_0x49f7da=this[_0x5b13a6(0x26d)];_0x49f7da[_0x5b13a6(0x1b5)](_0x914be5),this[_0x5b13a6(0x2ea)]['next'](_0x49f7da);}[_0x5a505c(0x189)](){const _0xe1c7ea=_0x5a505c;var _0x24b448;if(this[_0xe1c7ea(0xc0)]=!0x0,((_0x24b448=this[_0xe1c7ea(0x12c)]['getFocusedUnit']())==null?void 0x0:_0x24b448[_0xe1c7ea(0x262)]())!==this[_0xe1c7ea(0xe3)])return;const _0x131c1e=this[_0xe1c7ea(0x19f)][_0xe1c7ea(0x2af)](_0x3f505f['DocSelectionManagerService'])[_0xe1c7ea(0x336)]();Array[_0xe1c7ea(0x34a)](_0x131c1e)&&_0x131c1e['length']>0x0&&this[_0xe1c7ea(0x133)](_0x131c1e);}[_0x5a505c(0x21c)](){const _0x715e21=_0x5a505c;this[_0x715e21(0xc0)]=!0x1;}};_0x28eeff=_0x159b72([_0xa6491c(0x2,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0xa6491c(0x3,_0x31c42f[_0x5a505c(0x107)](_0x237c9d)),_0xa6491c(0x4,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x22a)])),_0xa6491c(0x5,_0x31c42f[_0x5a505c(0x107)](_0x17e7cc)),_0xa6491c(0x6,_0x180e29['ITransformService']),_0xa6491c(0x7,_0x31c42f[_0x5a505c(0xe8)]),_0xa6491c(0x8,_0x31c42f[_0x5a505c(0xb8)])],_0x28eeff);var _0x2ac6e1=Object['getOwnPropertyDescriptor'],_0x397afe=(_0x32ecca,_0x34b172,_0xb3db75,_0x1a6776)=>{const _0x46f1a3=_0x5a505c;for(var _0x4d2ded=_0x1a6776>0x1?void 0x0:_0x1a6776?_0x2ac6e1(_0x34b172,_0xb3db75):_0x34b172,_0x4819e1=_0x32ecca[_0x46f1a3(0x171)]-0x1,_0x1aad7;_0x4819e1>=0x0;_0x4819e1--)(_0x1aad7=_0x32ecca[_0x4819e1])&&(_0x4d2ded=_0x1aad7(_0x4d2ded)||_0x4d2ded);return _0x4d2ded;},_0x462372=(_0x3e81a0,_0x5ab8d2)=>(_0x4362e9,_0x2c5b8b)=>_0x5ab8d2(_0x4362e9,_0x2c5b8b,_0x3e81a0);const _0x2c5d28=0x12c,_0x231b85=0x64,_0x1e383f=()=>{let _0x524388=[],_0x16d50f=!0x1;return _0x2852b7=>{const _0x4b643a=_0x1d10;_0x524388[_0x4b643a(0x251)](_0x2852b7),_0x16d50f||(_0x16d50f=!0x0,setTimeout(()=>{const _0x7b2ea3=_0x4b643a;_0x524388[_0x7b2ea3(0x1de)](_0x5970d6=>_0x5970d6()),_0x524388=[],_0x16d50f=!0x1;}));};};let _0x4697a2=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x1d7a8a,_0x3befc0,_0x1a6bb1,_0x44221d,_0x1380d8,_0x194ee0,_0x4033cb,_0xd2e1b3){const _0x393ec9=_0x5a505c;super(),_0x5c9071(this,_0x393ec9(0xc0),!0x1),_0x5c9071(this,_0x393ec9(0x323),!0x1),_0x5c9071(this,_0x393ec9(0x2ea),new _0x19f1b5[(_0x393ec9(0x271))](new Map())),_0x5c9071(this,_0x393ec9(0x2d5),this[_0x393ec9(0x2ea)]['asObservable']()),_0x5c9071(this,_0x393ec9(0x13b),new _0x19f1b5[(_0x393ec9(0x271))]([])),_0x5c9071(this,'roomMembers$',this[_0x393ec9(0x13b)][_0x393ec9(0x321)](_0x19f1b5[_0x393ec9(0x14f)](_0x2c5d28))),_0x5c9071(this,_0x393ec9(0x133),_0x31c42f['debounce']((_0x1eea1b,_0x262a5c)=>{const _0x4981d4=_0x393ec9,_0x411038={'eventID':_0x180e29[_0x4981d4(0x1c1)][_0x4981d4(0x2e0)],'data':{'unitID':this[_0x4981d4(0xe3)],'memberID':this[_0x4981d4(0x303)][_0x4981d4(0x1a2)](),'selection':_0x3cb4df[_0x4981d4(0x233)](_0x1eea1b,_0x262a5c[_0x4981d4(0x175)])}};this[_0x4981d4(0x303)][_0x4981d4(0x266)](_0x411038,this['unitID']);},_0x231b85)),(this['unitID']=_0x1d7a8a,this[_0x393ec9(0x303)]=_0x3befc0,this[_0x393ec9(0x19f)]=_0x1a6bb1,this[_0x393ec9(0x125)]=_0x44221d,this['_memberService']=_0x1380d8,this[_0x393ec9(0x12c)]=_0x194ee0,this[_0x393ec9(0x221)]=_0x4033cb,this[_0x393ec9(0x300)]=_0xd2e1b3);}get['cursorInfo'](){const _0x4f9395=_0x5a505c;return this[_0x4f9395(0x2ea)]['getValue']();}get[_0x5a505c(0x315)](){const _0x13cbd1=_0x5a505c;return this['_roomMembers$'][_0x13cbd1(0x154)]();}[_0x5a505c(0x30a)](){const _0x51a50e=_0x5a505c;super['dispose'](),this[_0x51a50e(0x2ea)]['next'](new Map()),this[_0x51a50e(0x2ea)]['complete'](),this['_roomMembers$'][_0x51a50e(0x22d)]([]),this['_roomMembers$']['complete']();}[_0x5a505c(0x201)](){const _0x4a36ef=_0x5a505c;this['_init']||(this[_0x4a36ef(0x323)]=!0x0,this[_0x4a36ef(0x303)]['sessionStatus$'][_0x4a36ef(0x321)](_0x19f1b5[_0x4a36ef(0x14c)](this[_0x4a36ef(0x1a1)]))['subscribe'](_0x1b2785=>{const _0x40f762=_0x4a36ef;_0x1b2785===_0x250f51['SessionStatus'][_0x40f762(0x194)]?this[_0x40f762(0x189)]():this[_0x40f762(0x21c)]();}),this[_0x4a36ef(0x303)][_0x4a36ef(0xe1)][_0x4a36ef(0x321)](_0x19f1b5[_0x4a36ef(0x14c)](this['dispose$']))[_0x4a36ef(0x253)](_0x261e06=>{const _0x4f4599=_0x4a36ef,_0x590580=_0x261e06[_0x4f4599(0x1a4)];_0x590580===_0x180e29[_0x4f4599(0x1c1)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x261e06),_0x590580===_0x180e29['CollaborationEvent'][_0x4f4599(0x351)]&&this[_0x4f4599(0x213)](_0x261e06);}),this[_0x4a36ef(0x280)](),this[_0x4a36ef(0x2c7)](this['_commandService'][_0x4a36ef(0x123)](_0x41e7fa=>{const _0x152322=_0x4a36ef;if(this[_0x152322(0xc0)]&&_0x41e7fa['id']===_0x56db06[_0x152322(0x329)]['id']&&_0x41e7fa[_0x152322(0x1ff)][_0x152322(0x269)]===this[_0x152322(0xe3)]){const _0x71dc04=_0x41e7fa[_0x152322(0x1ff)];this[_0x152322(0x133)](_0x71dc04[_0x152322(0x29e)],_0x71dc04['selections'][0x0]);}})));}[_0x5a505c(0x16f)](_0x4cc19a){const _0x34520b=_0x5a505c;var _0x15fad7,_0x5b6b82;const {memberID:_0x406397,selection:_0x9ef882}=_0x4cc19a[_0x34520b(0x21a)],{sheetName:_0x594d33,range:_0x150996}=_0x3cb4df['deserializeRangeWithSheet'](_0x9ef882),_0x51bbb9={'name':(_0x5b6b82=(_0x15fad7=this[_0x34520b(0x2e3)][_0x34520b(0x2bc)](this[_0x34520b(0xe3)],_0x406397))==null?void 0x0:_0x15fad7[_0x34520b(0xb6)])!=null?_0x5b6b82:'Unknown\x20user','range':this[_0x34520b(0xed)](_0x594d33,_0x150996),'sheetID':_0x594d33,'color':this[_0x34520b(0x125)]['assignAColorForMemberID'](_0x406397),'selection':_0x9ef882},_0x448c0d=this[_0x34520b(0x26d)];_0x448c0d['set'](_0x406397,_0x51bbb9),this[_0x34520b(0x2ea)][_0x34520b(0x22d)](_0x448c0d);}[_0x5a505c(0x213)](_0x38383f){const _0x4d7dac=_0x5a505c,{memberID:_0xe72bb0}=_0x38383f['data'],_0x4f8599=this[_0x4d7dac(0x26d)];_0x4f8599[_0x4d7dac(0x1b5)](_0xe72bb0),this[_0x4d7dac(0x2ea)][_0x4d7dac(0x22d)](_0x4f8599);}[_0x5a505c(0xed)](_0x30e38c,_0x40a18e){const _0x28b7c9=_0x5a505c;var _0xb1e571,_0x5c5b8c;const _0x454e07=(_0x5c5b8c=(_0xb1e571=this['_univerInstanceService'][_0x28b7c9(0x1ba)](this[_0x28b7c9(0xe3)]))==null?void 0x0:_0xb1e571[_0x28b7c9(0x18f)](_0x30e38c))==null?void 0x0:_0x5c5b8c['getMergeData']();return(_0x454e07==null?void 0x0:_0x454e07['find'](_0x2d27db=>_0x31c42f[_0x28b7c9(0x1f5)][_0x28b7c9(0x24c)](_0x2d27db,_0x40a18e)))||_0x40a18e;}['_onRefRangeChange'](){const _0x4fd27f=_0x5a505c,_0x4a611d=new _0x31c42f[(_0x4fd27f(0x182))](),_0x2fb9d9=_0x1e383f(),_0x2e5383=()=>{const _0x1f447c=_0x4fd27f;_0x4a611d['dispose']();const _0x3d7459=(_0x13d41f,_0x29c00f,_0x18fc7a,_0x731c2a)=>{const _0x373f1c=_0x1d10;let _0x200ca5=[];switch(_0x13d41f['id']){case _0x56db06[_0x373f1c(0x322)][_0x373f1c(0x18e)]:{_0x200ca5=_0x56db06[_0x373f1c(0x16b)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x119)]:{_0x200ca5=_0x56db06[_0x373f1c(0x2da)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId']['InsertColCommandId']:{_0x200ca5=_0x56db06[_0x373f1c(0x2be)](_0x13d41f,_0x731c2a);break;}case _0x56db06[_0x373f1c(0x322)][_0x373f1c(0x2fe)]:{_0x200ca5=_0x56db06[_0x373f1c(0x1ad)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x21d)]:{_0x200ca5=_0x56db06[_0x373f1c(0x245)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x242)]:{_0x200ca5=_0x56db06[_0x373f1c(0x25a)](_0x13d41f,_0x731c2a);break;}case _0x56db06[_0x373f1c(0x322)]['MoveRangeCommandId']:{_0x200ca5=_0x56db06['handleMoveRange'](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x159)]:{_0x200ca5=_0x56db06[_0x373f1c(0x257)](_0x13d41f,_0x731c2a);break;}case _0x56db06['EffectRefRangId'][_0x373f1c(0x1e4)]:{_0x200ca5=_0x56db06[_0x373f1c(0x132)](_0x13d41f,_0x731c2a);break;}}const _0x2e3127=_0x56db06[_0x373f1c(0x343)](_0x200ca5,_0x731c2a),_0xf95e8=this[_0x373f1c(0x26d)][_0x373f1c(0x2af)](_0x29c00f);if(_0xf95e8&&_0x2e3127){const _0x52c30a={..._0xf95e8,'range':_0x2e3127};this[_0x373f1c(0x26d)][_0x373f1c(0x277)](_0x29c00f,_0x52c30a),_0x2fb9d9(()=>{const _0x647725=_0x373f1c,_0xcf91cb=this[_0x647725(0x300)]['registerRefRange'](_0x2e3127,_0x1bec3a=>(_0xcf91cb['dispose'](),_0x3d7459(_0x1bec3a,_0x29c00f,_0x18fc7a,_0x2e3127)));_0x4a611d['add'](_0xcf91cb);});}return{'redos':[],'undos':[]};};this[_0x1f447c(0x26d)][_0x1f447c(0x1de)]((_0x59981c,_0x138b56)=>{const _0x36c8fe=_0x1f447c,{range:_0x1307ad,sheetID:_0x4226af}=_0x59981c,_0x17af67=this[_0x36c8fe(0x300)][_0x36c8fe(0x246)](_0x1307ad,_0x4d5311=>(_0x17af67[_0x36c8fe(0x30a)](),_0x3d7459(_0x4d5311,_0x138b56,_0x4226af,_0x1307ad)));_0x4a611d[_0x36c8fe(0x13c)](_0x17af67);});};this[_0x4fd27f(0x2c7)](_0x31c42f['toDisposable'](this['_cursorInfo$'][_0x4fd27f(0x253)](()=>{_0x2e5383();})));}[_0x5a505c(0x189)](){const _0x4f33bd=_0x5a505c;var _0x16dd91,_0xe78d41;if(this['_online']=!0x0,((_0x16dd91=this[_0x4f33bd(0x12c)][_0x4f33bd(0x290)]())==null?void 0x0:_0x16dd91[_0x4f33bd(0x262)]())!==this[_0x4f33bd(0xe3)])return;const _0x3c56f1=(_0xe78d41=this[_0x4f33bd(0x19f)]['get'](_0x56db06[_0x4f33bd(0x342)])[_0x4f33bd(0xdc)]())==null?void 0x0:_0xe78d41[0x0],_0x5eb7af=this[_0x4f33bd(0x12c)][_0x4f33bd(0x115)](_0x31c42f[_0x4f33bd(0x330)][_0x4f33bd(0x2dd)])[_0x4f33bd(0x344)]();_0x3c56f1&&_0x5eb7af&&this[_0x4f33bd(0x133)](_0x5eb7af['getSheetId'](),_0x3c56f1);}[_0x5a505c(0x21c)](){const _0xb91fc7=_0x5a505c;this[_0xb91fc7(0xc0)]=!0x1;}};_0x4697a2=_0x397afe([_0x462372(0x2,_0x31c42f[_0x5a505c(0x107)](_0x31c42f['Injector'])),_0x462372(0x3,_0x31c42f[_0x5a505c(0x107)](_0x237c9d)),_0x462372(0x4,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x22a)])),_0x462372(0x5,_0x31c42f['IUniverInstanceService']),_0x462372(0x6,_0x31c42f[_0x5a505c(0xb8)]),_0x462372(0x7,_0x31c42f[_0x5a505c(0x107)](_0x56db06[_0x5a505c(0x116)]))],_0x4697a2);var _0x3f0257=Object[_0x5a505c(0x239)],_0x24b0d7=(_0x15a1a8,_0x3d5b94,_0x395e0e,_0xdbf5dc)=>{for(var _0x102456=_0xdbf5dc>0x1?void 0x0:_0xdbf5dc?_0x3f0257(_0x3d5b94,_0x395e0e):_0x3d5b94,_0x1535c6=_0x15a1a8['length']-0x1,_0x4865e3;_0x1535c6>=0x0;_0x1535c6--)(_0x4865e3=_0x15a1a8[_0x1535c6])&&(_0x102456=_0x4865e3(_0x102456)||_0x102456);return _0x102456;},_0x177f3f=(_0x2419b7,_0x131228)=>(_0x58745b,_0x2df040)=>_0x131228(_0x58745b,_0x2df040,_0x2419b7);let _0x53c0b4=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x1f683c,_0x124417,_0x4c1784){const _0x3efab4=_0x5a505c;super(),_0x5c9071(this,_0x3efab4(0x2f5),new Map()),_0x5c9071(this,_0x3efab4(0xec),new _0x19f1b5['Subject']()),(this['_univerInstanceService']=_0x1f683c,this[_0x3efab4(0x19f)]=_0x124417,this['_collabSessionService']=_0x4c1784,this[_0x3efab4(0x323)]());}[_0x5a505c(0x30a)](){const _0x389e0f=_0x5a505c;super[_0x389e0f(0x30a)](),this[_0x389e0f(0xec)]['complete'](),this[_0x389e0f(0x2f5)][_0x389e0f(0x1de)](_0x28935b=>_0x28935b[_0x389e0f(0x30a)]());}[_0x5a505c(0x28c)](_0x5dc6e7){const _0x43ac23=_0x5a505c;return this[_0x43ac23(0x2f5)]['has'](_0x5dc6e7)?this[_0x43ac23(0x2f5)][_0x43ac23(0x2af)](_0x5dc6e7)[_0x43ac23(0x2d5)]:this['_entityInit$'][_0x43ac23(0x321)](_0x19f1b5[_0x43ac23(0x254)](_0x305871=>_0x305871['unitID']===_0x5dc6e7),_0x19f1b5[_0x43ac23(0x1d8)](_0x1cc1da=>_0x1cc1da[_0x43ac23(0x2d5)]));}[_0x5a505c(0x323)](){const _0x3c37f1=_0x5a505c;this['_univerInstanceService'][_0x3c37f1(0x2a8)](_0x31c42f[_0x3c37f1(0x330)][_0x3c37f1(0x2dd)])[_0x3c37f1(0x321)](_0x19f1b5[_0x3c37f1(0x14c)](this[_0x3c37f1(0x1a1)]))[_0x3c37f1(0x253)](async _0x48bfa7=>{const _0x34757c=_0x3c37f1,_0x2b1b97=_0x48bfa7[_0x34757c(0x262)](),_0x7e5c51=await this[_0x34757c(0x217)](_0x2b1b97);this['_entityInit$'][_0x34757c(0x22d)](_0x7e5c51),this['_entities']['set'](_0x2b1b97,_0x7e5c51);}),this['_univerInstanceService'][_0x3c37f1(0x2a8)](_0x31c42f['UniverInstanceType'][_0x3c37f1(0xc8)])['pipe'](_0x19f1b5[_0x3c37f1(0x14c)](this[_0x3c37f1(0x1a1)]))[_0x3c37f1(0x321)](_0x19f1b5[_0x3c37f1(0x254)](_0x26b33e=>!_0x26b33e[_0x3c37f1(0x262)]()[_0x3c37f1(0xd7)]('__')))['subscribe'](async _0x127ac5=>{const _0x319835=_0x3c37f1,_0x2af863=_0x127ac5[_0x319835(0x262)](),_0x1fc11d=await this[_0x319835(0x101)](_0x2af863);this[_0x319835(0xec)][_0x319835(0x22d)](_0x1fc11d),this[_0x319835(0x2f5)]['set'](_0x2af863,_0x1fc11d);}),_0x19f1b5['merge'](this[_0x3c37f1(0x12c)][_0x3c37f1(0x215)](_0x31c42f['UniverInstanceType'][_0x3c37f1(0xc8)]),this[_0x3c37f1(0x12c)][_0x3c37f1(0x215)](_0x31c42f[_0x3c37f1(0x330)][_0x3c37f1(0x2dd)]))[_0x3c37f1(0x321)](_0x19f1b5[_0x3c37f1(0x14c)](this[_0x3c37f1(0x1a1)]))[_0x3c37f1(0x253)](_0x5e61ef=>{const _0x37f33d=_0x3c37f1,_0x5c25e9=_0x5e61ef[_0x37f33d(0x262)](),_0x58cb19=this[_0x37f33d(0x2f5)][_0x37f33d(0x2af)](_0x5c25e9);_0x58cb19&&(_0x58cb19[_0x37f33d(0x30a)](),this[_0x37f33d(0x2f5)]['delete'](_0x5c25e9));});}async['_startSheetCollabCursor'](_0x288e98){const _0x5f276c=_0x5a505c,_0x56e9cb=await this[_0x5f276c(0x278)][_0x5f276c(0xea)](_0x288e98),_0x1b4704=this[_0x5f276c(0x19f)][_0x5f276c(0x312)](_0x4697a2,_0x288e98,_0x56e9cb);return _0x1b4704[_0x5f276c(0x201)](),_0x1b4704;}async[_0x5a505c(0x101)](_0x6c854b){const _0x45191e=_0x5a505c,_0x663ea8=await this[_0x45191e(0x278)][_0x45191e(0xea)](_0x6c854b),_0x2142ad=this['_injector']['createInstance'](_0x28eeff,_0x6c854b,_0x663ea8);return _0x2142ad[_0x45191e(0x201)](),_0x2142ad;}};_0x53c0b4=_0x24b0d7([_0x177f3f(0x0,_0x31c42f[_0x5a505c(0xe8)]),_0x177f3f(0x1,_0x31c42f['Inject'](_0x31c42f['Injector'])),_0x177f3f(0x2,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x146)]))],_0x53c0b4);const _0x1beee5=0x14,_0x598b09=0xc8,_0x47120a=0x4,_0x40eb52=0x5;function _0x14a70a(_0x3aa3c7,_0x4f5cb5){const _0x47093a=_0x5a505c;let {radius:_0x25222f,width:_0x26d51f,height:_0x53441a}=_0x4f5cb5;_0x25222f=_0x25222f!=null?_0x25222f:0x0,_0x26d51f=_0x26d51f!=null?_0x26d51f:0x1e,_0x53441a=_0x53441a!=null?_0x53441a:0x1e;let _0x32538c=0x0,_0x5f2ddf=0x0,_0x480e93=0x0;_0x32538c=_0x5f2ddf=_0x480e93=Math[_0x47093a(0x18b)](_0x25222f,_0x26d51f/0x2,_0x53441a/0x2),_0x3aa3c7[_0x47093a(0x320)](),_0x3aa3c7['moveTo'](_0x32538c,0x0),_0x3aa3c7[_0x47093a(0x1e2)](_0x26d51f-_0x5f2ddf,0x0),_0x3aa3c7[_0x47093a(0x2d9)](_0x26d51f-_0x5f2ddf,_0x5f2ddf,_0x5f2ddf,Math['PI']*0x3/0x2,0x0,!0x1),_0x3aa3c7[_0x47093a(0x1e2)](_0x26d51f,_0x53441a-_0x480e93),_0x3aa3c7[_0x47093a(0x2d9)](_0x26d51f-_0x480e93,_0x53441a-_0x480e93,_0x480e93,0x0,Math['PI']/0x2,!0x1),_0x3aa3c7[_0x47093a(0x1e2)](0x0,_0x53441a),_0x3aa3c7[_0x47093a(0x1e2)](0x0,_0x32538c),_0x3aa3c7[_0x47093a(0x2d9)](_0x32538c,_0x32538c,_0x32538c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3aa3c7[_0x47093a(0x223)](),_0x4f5cb5[_0x47093a(0x1ab)]&&(_0x3aa3c7[_0x47093a(0x187)](),_0x3aa3c7[_0x47093a(0x130)]=_0x4f5cb5[_0x47093a(0x1ab)],_0x4f5cb5[_0x47093a(0x317)]===_0x47093a(0x204)?_0x3aa3c7[_0x47093a(0x1ab)]('evenodd'):_0x3aa3c7[_0x47093a(0x1ab)](),_0x3aa3c7[_0x47093a(0x1f7)]());}class _0x5199f8 extends _0x1f1202['Shape']{constructor(_0x18a5cc,_0xfb42ad){const _0x263f79=_0x5a505c;super(_0x18a5cc,_0xfb42ad),_0x5c9071(this,_0x263f79(0x1aa)),_0x5c9071(this,_0x263f79(0x1dd)),(this[_0x263f79(0x1aa)]=_0xfb42ad==null?void 0x0:_0xfb42ad[_0x263f79(0x1aa)],this[_0x263f79(0x1dd)]=_0xfb42ad==null?void 0x0:_0xfb42ad[_0x263f79(0x1dd)]);}static[_0x5a505c(0x334)](_0x4880aa,_0x28971b){const _0x316f1e=_0x5a505c,{text:_0x59e42b,color:_0x4fec8b}=_0x28971b;_0x4880aa['save'](),_0x4880aa['font']=_0x316f1e(0x236);const _0x47f5b5=_0x4880aa['measureText'](_0x59e42b)[_0x316f1e(0x1c7)],_0x5f521e=Math[_0x316f1e(0x18b)](_0x47f5b5+0x2*_0x47120a,_0x598b09);_0x14a70a(_0x4880aa,{'height':_0x1beee5,'radius':0x4,'width':_0x5f521e,'fill':_0x4fec8b}),_0x4880aa[_0x316f1e(0x130)]=_0x316f1e(0x28d);const _0x365f7d=_0x47120a,_0x4e10ef=_0x1beee5-_0x40eb52,_0x38b471=_0x598b09-0x2*_0x47120a;if(_0x47f5b5>_0x38b471){let _0x4d0d78='',_0x353469=0x0;for(const _0x3d2010 of _0x59e42b){const _0xfe8345=_0x4880aa[_0x316f1e(0xc3)](_0x3d2010)['width'];if(_0x353469+_0xfe8345<=_0x38b471-_0x4880aa[_0x316f1e(0xc3)](_0x316f1e(0x354))[_0x316f1e(0x1c7)])_0x4d0d78+=_0x3d2010,_0x353469+=_0xfe8345;else{_0x4d0d78+=_0x316f1e(0x354);break;}}_0x4880aa[_0x316f1e(0xfa)](_0x4d0d78,_0x365f7d,_0x4e10ef);}else _0x4880aa['fillText'](_0x59e42b,_0x365f7d,_0x4e10ef);_0x4880aa[_0x316f1e(0x1f7)]();}[_0x5a505c(0x2a6)](_0x2d8fb1){const _0x441901=_0x5a505c;_0x5199f8[_0x441901(0x334)](_0x2d8fb1,this);}}const _0x59ee6a=_0x5a505c(0x1c4),_0xf5cea0='collab-text-range-',_0xa6cfd7=_0x5a505c(0x247),_0x478c75=0x6,_0x42d9c0=1.5,_0x51eede=0x4,_0xad25d=1.5,_0x5ec35b=_0x5a505c(0x2fd);class _0x4c24ee{constructor(_0x21cedb,_0x3bef14,_0x4fbfef,_0x5640bb){const _0x56e63f=_0x5a505c;_0x5c9071(this,_0x56e63f(0x2c8),[]),_0x5c9071(this,'_anchor',null),_0x5c9071(this,_0x56e63f(0x165),null),_0x5c9071(this,_0x56e63f(0x108),null),_0x5c9071(this,_0x56e63f(0x2d2),null),_0x5c9071(this,_0x56e63f(0x20a),null),(this[_0x56e63f(0x212)]=_0x21cedb,this[_0x56e63f(0x32e)]=_0x3bef14,this[_0x56e63f(0x1cd)]=_0x4fbfef,this['_document']=_0x5640bb,this[_0x56e63f(0x149)]());}set[_0x5a505c(0x168)](_0xe2bc5e){const _0x57417f=_0x5a505c;_0xe2bc5e?(this[_0x57417f(0x108)]&&this[_0x57417f(0x108)][_0x57417f(0x163)](),this[_0x57417f(0x165)]&&this['_textBubble'][_0x57417f(0x2fa)]()):(this[_0x57417f(0x108)]&&this['_anchorDot'][_0x57417f(0x2fa)](),this[_0x57417f(0x165)]&&this[_0x57417f(0x165)][_0x57417f(0x163)]());}[_0x5a505c(0x30a)](){const _0x480fe9=_0x5a505c;for(const _0x1fb038 of this[_0x480fe9(0x2c8)])_0x1fb038['dispose']();this[_0x480fe9(0x165)]&&this[_0x480fe9(0x165)][_0x480fe9(0x30a)](),this[_0x480fe9(0x108)]&&this[_0x480fe9(0x108)]['dispose'](),this[_0x480fe9(0x128)]&&this['_anchor']['dispose'](),this[_0x480fe9(0x20a)]&&this['_eventUnsubscribe']();}[_0x5a505c(0x149)](){const _0x3fc4d2=_0x5a505c;var _0xad8587;const {_docSkeleton:_0x54fb93,_document:_0x1e2a20}=this,{color:_0x54b018,name:_0x34ada6,ranges:_0x26f7b2}=this[_0x3fc4d2(0x212)],_0x41410a=_0x1e2a20[_0x3fc4d2(0x34e)](),{docsLeft:_0xab54cb,docsTop:_0xfd53b9}=_0x41410a,_0x52779b=new _0x5e24e0[(_0x3fc4d2(0x10b))](_0x41410a,_0x54fb93);for(const {startOffset:_0x3503eb,endOffset:_0x2ad368,rangeType:_0x3498d0,segmentId:_0x4a6ea4,segmentPage:_0x3a0a6e,collapsed:_0x16f12a,isActive:_0x11b2ff}of _0x26f7b2){const _0x5c9360=_0x54fb93[_0x3fc4d2(0x338)](_0x3503eb,!0x0,_0x4a6ea4,_0x3a0a6e);let _0x3071df=_0x54fb93[_0x3fc4d2(0x338)](_0x2ad368,!0x0,_0x4a6ea4,_0x3a0a6e);if(_0x3071df==null&&(_0x3071df=_0x54fb93['findNodePositionByCharIndex'](_0x2ad368-0x1,!0x1,_0x4a6ea4,_0x3a0a6e)),_0x11b2ff){const {contentBoxPointGroup:_0x644a8}=_0x52779b[_0x3fc4d2(0x156)](_0x3071df,_0x3071df);if(_0x644a8[_0x3fc4d2(0x171)]===0x0)continue;this[_0x3fc4d2(0x2a2)](_0x54b018,_0x644a8,_0xab54cb,_0xfd53b9,_0x34ada6),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x5c9360&&_0x3071df){if(_0x3498d0===_0x31c42f[_0x3fc4d2(0x2b1)][_0x3fc4d2(0xbd)]){const _0x1a6b01=new _0x5e24e0[(_0x3fc4d2(0x345))](_0x41410a,_0x54fb93),{pointGroup:_0x26d7e2}=(_0xad8587=_0x1a6b01['getRangePointData'](_0x5c9360,_0x3071df))!=null?_0xad8587:{};if(_0x26d7e2==null||_0x26d7e2[_0x3fc4d2(0x171)]===0x0)continue;this[_0x3fc4d2(0xda)](_0x54b018,_0x26d7e2,_0xab54cb,_0xfd53b9);}else{if(!_0x16f12a){const {borderBoxPointGroup:_0x2cfad2}=_0x52779b['getRangePointData'](_0x5c9360,_0x3071df);if(_0x2cfad2[_0x3fc4d2(0x171)]===0x0)continue;this[_0x3fc4d2(0x33a)](_0x54b018,_0x2cfad2,_0xab54cb,_0xfd53b9);}}}}}[_0x5a505c(0x2a2)](_0x1c47b2,_0x574007,_0x17dd68,_0x231aaf,_0x20c290){const _0x51d47c=_0x5a505c,_0x263e3c=this['_getAnchorBounding'](_0x574007),{left:_0x1f8022,top:_0x4689db,height:_0x43dbe3}=_0x263e3c,_0x1b0255=this[_0x51d47c(0x2ba)](),_0x386cf9=_0xad25d/_0x1b0255,_0x779208=new _0x1f1202[(_0x51d47c(0x2fb))](_0x59ee6a+_0x31c42f[_0x51d47c(0x301)](_0x478c75),{'left':_0x1f8022+_0x17dd68-_0x386cf9,'top':_0x4689db+_0x231aaf,'height':_0x43dbe3,'width':_0x42d9c0,'fill':_0x1c47b2||_0x1f1202['getColor'](_0x31c42f[_0x51d47c(0x1eb)]['black'],0x0),'strokeWidth':_0x386cf9,'stroke':_0x5ec35b,'evented':!0x0});this['_anchor']=_0x779208,this['_scene'][_0x51d47c(0x28e)](_0x779208,_0x5e24e0['TEXT_RANGE_LAYER_INDEX']);const _0x1daec1=new _0x1f1202[(_0x51d47c(0x2fb))](_0x59ee6a+_0x31c42f[_0x51d47c(0x301)](_0x478c75),{'left':_0x1f8022+_0x17dd68-_0x386cf9,'top':_0x4689db+_0x231aaf-_0x51eede/0x2,'height':_0x51eede,'width':_0x51eede,'fill':_0x1c47b2||_0x1f1202['getColor'](_0x31c42f['COLORS'][_0x51d47c(0x2ed)],0x0),'strokeWidth':0x0,'stroke':_0x1c47b2||_0x1f1202[_0x51d47c(0x1af)](_0x31c42f[_0x51d47c(0x1eb)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x1daec1,this[_0x51d47c(0x32e)][_0x51d47c(0x28e)](_0x1daec1,_0x5e24e0[_0x51d47c(0x1cc)]);const _0x41b41d=new _0x5199f8(_0x59ee6a+_0x31c42f[_0x51d47c(0x301)](_0x478c75),{'left':_0x1f8022+_0x17dd68-_0x386cf9,'top':_0x4689db+_0x231aaf-_0x1beee5,'text':_0x20c290,'color':_0x1c47b2});this[_0x51d47c(0x165)]=_0x41b41d,this['_scene']['addObject'](_0x41b41d,_0x5e24e0[_0x51d47c(0x1cc)]),this[_0x51d47c(0x168)]=!0x1;}[_0x5a505c(0x1fc)](){const _0x492a93=_0x5a505c,_0x3fc276=this['_anchor'][_0x492a93(0x2d7)][_0x492a93(0x25e)](()=>{this['_hover']=!0x0;}),_0x2960df=this[_0x492a93(0x128)][_0x492a93(0x2e4)][_0x492a93(0x25e)](()=>{const _0x5e1b12=_0x492a93;this[_0x5e1b12(0x2d2)]&&clearTimeout(this[_0x5e1b12(0x2d2)]),this[_0x5e1b12(0x2d2)]=setTimeout(()=>{const _0x4cec20=_0x5e1b12;this[_0x4cec20(0x168)]=!0x1;},0x7d0);});return()=>{const _0x5d742d=_0x492a93;_0x3fc276['unsubscribe'](),_0x2960df[_0x5d742d(0xdb)]();};}[_0x5a505c(0x33a)](_0x372705,_0x541939,_0x7e9b3f,_0x7ac1ed){const _0x198175=_0x5a505c,_0x3e087c=new _0x31c42f[(_0x198175(0x172))](_0x372705)['setAlpha'](0.2)['toRgbString'](),_0x50f91d=new _0x1f1202[(_0x198175(0xef))](_0xf5cea0+_0x31c42f[_0x198175(0x301)](_0x478c75),{'pointsGroup':_0x541939,'fill':_0x3e087c||_0x1f1202[_0x198175(0x1af)](_0x31c42f[_0x198175(0x1eb)][_0x198175(0x2ed)],0.2),'left':_0x7e9b3f,'top':_0x7ac1ed,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x50f91d),this[_0x198175(0x32e)][_0x198175(0x28e)](_0x50f91d,_0x5e24e0[_0x198175(0x1cc)]);}[_0x5a505c(0xda)](_0x43c4a4,_0xeb14d6,_0x2b2d6c,_0x4fbd66){const _0xdf71f3=_0x5a505c,_0x551df0=new _0x31c42f[(_0xdf71f3(0x172))](_0x43c4a4)[_0xdf71f3(0x17f)](0.2)['toRgbString'](),_0xdf816=new _0x1f1202[(_0xdf71f3(0xef))](_0xa6cfd7+_0x31c42f[_0xdf71f3(0x301)](_0x478c75),{'pointsGroup':_0xeb14d6,'fill':_0x551df0||_0x1f1202['getColor'](_0x31c42f[_0xdf71f3(0x1eb)][_0xdf71f3(0x2ed)],0.2),'left':_0x2b2d6c,'top':_0x4fbd66,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xdf71f3(0x2c8)][_0xdf71f3(0x251)](_0xdf816),this[_0xdf71f3(0x32e)][_0xdf71f3(0x28e)](_0xdf816,_0x5e24e0[_0xdf71f3(0x1cc)]);}[_0x5a505c(0x352)](_0x2a4065){const _0x186891=_0x2a4065[0x0],_0x59f1e3=_0x186891[0x0],_0x46c6ff=_0x186891[0x2],{x:_0x44bfb5,y:_0x5325e1}=_0x59f1e3,{x:_0x302087,y:_0x174fea}=_0x46c6ff;return{'left':_0x44bfb5,'top':_0x5325e1,'width':_0x302087-_0x44bfb5,'height':_0x174fea-_0x5325e1};}[_0x5a505c(0x2ba)](){const _0x39a5c7=_0x5a505c,{scaleX:_0x3f1cea,scaleY:_0x2683a6}=this[_0x39a5c7(0x32e)]['getAncestorScale']();return Math['max'](_0x3f1cea,_0x2683a6);}}var _0x1e789e=Object['getOwnPropertyDescriptor'],_0x1f619e=(_0x2e3119,_0x34cff4,_0x232eab,_0x523334)=>{const _0x448efd=_0x5a505c;for(var _0x4e0aff=_0x523334>0x1?void 0x0:_0x523334?_0x1e789e(_0x34cff4,_0x232eab):_0x34cff4,_0x3d5a06=_0x2e3119[_0x448efd(0x171)]-0x1,_0xd62b6d;_0x3d5a06>=0x0;_0x3d5a06--)(_0xd62b6d=_0x2e3119[_0x3d5a06])&&(_0x4e0aff=_0xd62b6d(_0x4e0aff)||_0x4e0aff);return _0x4e0aff;},_0x24fbd9=(_0x294076,_0x9dc97c)=>(_0xbc5d1d,_0x3e0a76)=>_0x9dc97c(_0xbc5d1d,_0x3e0a76,_0x294076);let _0x30fd5f=class extends _0x31c42f['RxDisposable']{constructor(_0x5823e4,_0x516b7d,_0x2af84d,_0x25dd12,_0x232c0a){const _0x3cb8f0=_0x5a505c;super(),_0x5c9071(this,'_cursorShapes',[]),_0x5c9071(this,_0x3cb8f0(0xba),[]),(this[_0x3cb8f0(0x1b8)]=_0x5823e4,this[_0x3cb8f0(0xdf)]=_0x516b7d,this[_0x3cb8f0(0x139)]=_0x2af84d,this['_commandService']=_0x25dd12,this[_0x3cb8f0(0x2e9)]=_0x232c0a,this[_0x3cb8f0(0x323)]());}['_init'](){const _0x26393f=_0x5a505c,_0x1c22e5=this[_0x26393f(0x1b8)][_0x26393f(0x269)],_0xc157af=this[_0x26393f(0xdf)];this['disposeWithMe'](_0x19f1b5[_0x26393f(0x229)]([this['_collabCursorController']['getCollabCursors$'](_0x1c22e5),this[_0x26393f(0x2e9)][_0x26393f(0xd3)]])[_0x26393f(0x321)](_0x456c9e['map'](([_0xd503fd,_0x47b755])=>({'skeleton':_0xc157af['getSkeleton'](),'cursors':[..._0xd503fd[_0x26393f(0x157)]()][_0x26393f(0xbf)](_0x3095ba=>({..._0x3095ba,'color':this['_themeService'][_0x26393f(0x1db)](_0x3095ba[_0x26393f(0x1aa)])}))})))[_0x26393f(0x253)](_0x4489e7=>{const _0x139aef=_0x26393f;if(this[_0x139aef(0x1b2)](),_0x4489e7){const {skeleton:_0x5aba19,cursors:_0x5b3fcd}=_0x4489e7;this[_0x139aef(0x150)](_0x5aba19,_0x5b3fcd);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x5a505c(0x150)](_0x3470d9,_0x14cc78){const _0x4c8370=_0x5a505c,{scene:_0x18d7b7,mainComponent:_0x16a8a5}=this[_0x4c8370(0x1b8)],_0x55a7ae=_0x14cc78[_0x4c8370(0x219)](_0x104752=>new _0x4c24ee(_0x104752,_0x18d7b7,_0x3470d9,_0x16a8a5));this[_0x4c8370(0x200)]=_0x55a7ae,this[_0x4c8370(0xba)]=_0x14cc78;}[_0x5a505c(0x326)](){const _0x47939f=_0x5a505c;this[_0x47939f(0x1b2)]();const {scene:_0x4cc1f5,mainComponent:_0x5a9d43}=this[_0x47939f(0x1b8)],_0x19413d=this[_0x47939f(0xdf)][_0x47939f(0x23f)](),_0x138754=this[_0x47939f(0xba)][_0x47939f(0x219)](_0x29a0e4=>new _0x4c24ee(_0x29a0e4,_0x4cc1f5,_0x19413d,_0x5a9d43));this[_0x47939f(0x200)]=_0x138754;}[_0x5a505c(0x1b2)](){const _0x49586d=_0x5a505c;this[_0x49586d(0x200)]['forEach'](_0x413d33=>_0x413d33[_0x49586d(0x30a)]()),this[_0x49586d(0x200)]=[];}[_0x5a505c(0x124)](){const _0x32ff7e=_0x5a505c,_0x133589=[_0x5e24e0[_0x32ff7e(0xc6)]['id']];this[_0x32ff7e(0x2c7)](this[_0x32ff7e(0x221)][_0x32ff7e(0x123)](_0x170086=>{const _0x3e1fb0=_0x32ff7e;_0x133589[_0x3e1fb0(0x1d7)](_0x170086['id'])&&_0x170086[_0x3e1fb0(0x1ff)][_0x3e1fb0(0x269)]===this[_0x3e1fb0(0x1b8)][_0x3e1fb0(0x269)]&&this[_0x3e1fb0(0x326)]();}));}['_initResize'](){const _0x4ad390=_0x5a505c;this[_0x4ad390(0x2c7)](_0x31c42f[_0x4ad390(0x18a)](this[_0x4ad390(0x1b8)]['engine']['onTransformChange$'])['pipe'](_0x456c9e[_0x4ad390(0x254)](_0x255a0c=>_0x255a0c[_0x4ad390(0x29c)]===_0x1f1202[_0x4ad390(0x333)][_0x4ad390(0x32a)]),_0x456c9e[_0x4ad390(0x1dc)](0x10))[_0x4ad390(0x253)](()=>{const _0x454c47=_0x4ad390;this[_0x454c47(0x326)]();}));}};_0x30fd5f=_0x1f619e([_0x24fbd9(0x1,_0x31c42f['Inject'](_0x3f505f[_0x5a505c(0x2aa)])),_0x24fbd9(0x2,_0x31c42f['Inject'](_0x53c0b4)),_0x24fbd9(0x3,_0x31c42f[_0x5a505c(0xb8)]),_0x24fbd9(0x4,_0x31c42f[_0x5a505c(0x107)](_0x31c42f['ThemeService']))],_0x30fd5f);const _0x4b5a59=0x1,_0x42e9d3=1.5;class _0x2dccfc extends _0x1f1202[_0x5a505c(0x155)]{constructor(_0x19fee8,_0x260568){const _0x7f2b98=_0x5a505c;super(_0x19fee8,_0x260568),_0x5c9071(this,_0x7f2b98(0x15c)),_0x5c9071(this,_0x7f2b98(0x25c),!0x1),_0x5c9071(this,'_range'),_0x5c9071(this,_0x7f2b98(0x21e),''),_0x5c9071(this,_0x7f2b98(0x2ce),_0x7f2b98(0x273)),_0x5c9071(this,_0x7f2b98(0xcc)),(_0x260568&&this[_0x7f2b98(0x20f)](_0x260568),this[_0x7f2b98(0x2d7)][_0x7f2b98(0x25e)](()=>this[_0x7f2b98(0x20f)]({'hovered':!0x0})),this[_0x7f2b98(0x2e4)]['subscribeEvent'](()=>this[_0x7f2b98(0x20f)]({'hovered':!0x1})));}[_0x5a505c(0x20f)](_0x25caea){const _0x27cb91=_0x5a505c;var _0x52d461,_0x2dc199,_0x5d70fc,_0x2d2cd7,_0x412eab,_0x326c71;this['_color']=(_0x52d461=_0x25caea[_0x27cb91(0x1aa)])!=null?_0x52d461:this[_0x27cb91(0x15c)],this[_0x27cb91(0x25c)]=(_0x2dc199=_0x25caea[_0x27cb91(0x1b0)])!=null?_0x2dc199:this[_0x27cb91(0x25c)],this[_0x27cb91(0x164)]=(_0x5d70fc=_0x25caea['range'])!=null?_0x5d70fc:this['_range'],this['_name']=(_0x2d2cd7=_0x25caea['name'])!=null?_0x2d2cd7:this[_0x27cb91(0x21e)],this[_0x27cb91(0x2ce)]=(_0x412eab=_0x25caea[_0x27cb91(0x129)])!=null?_0x412eab:this[_0x27cb91(0x2ce)],this['_backgroundColor']=(_0x326c71=_0x25caea[_0x27cb91(0x106)])!=null?_0x326c71:this['_backgroundColor'],this[_0x27cb91(0xfd)]({'width':_0x25caea[_0x27cb91(0x1c7)],'height':_0x25caea[_0x27cb91(0x22b)]});}['onMouseMove'](_0x4c4cea){const _0xd517a5=_0x5a505c,{row:_0x20148c,column:_0x277603}=_0x4c4cea;if(_0x20148c>=this[_0xd517a5(0x164)][_0xd517a5(0x17a)]&&_0x20148c<=this[_0xd517a5(0x164)][_0xd517a5(0x308)]&&_0x277603>=this['_range'][_0xd517a5(0x30f)]&&_0x277603<=this[_0xd517a5(0x164)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0xd517a5(0x20f)]({'hovered':!0x1});}['triggerDblclick'](_0x220ebe){return!0x1;}['_draw'](_0x448418){const _0x5c7b5f=_0x5a505c;_0x1f1202[_0x5c7b5f(0x2fb)][_0x5c7b5f(0x334)](_0x448418,{'width':this[_0x5c7b5f(0x1c7)],'height':this[_0x5c7b5f(0x22b)],'strokeWidth':_0x42e9d3,'stroke':this[_0x5c7b5f(0x15c)],'evented':!0x1,'fill':this[_0x5c7b5f(0xcc)]}),this[_0x5c7b5f(0x25c)]&&(_0x448418[_0x5c7b5f(0x187)](),_0x448418[_0x5c7b5f(0xfc)](0x1,0x0,0x0,0x1,this['width'],this[_0x5c7b5f(0x2ce)]===_0x5c7b5f(0x28b)?0x0:-_0x1beee5),_0x5199f8['drawWith'](_0x448418,{'text':this[_0x5c7b5f(0x21e)],'color':this[_0x5c7b5f(0x15c)]}),_0x448418[_0x5c7b5f(0x1f7)]());}}var _0x6f5e44=Object['getOwnPropertyDescriptor'],_0xfec76b=(_0x52faf4,_0x3474d8,_0x376627,_0x3ce35f)=>{const _0x35e74d=_0x5a505c;for(var _0x5c2b33=_0x3ce35f>0x1?void 0x0:_0x3ce35f?_0x6f5e44(_0x3474d8,_0x376627):_0x3474d8,_0x5765d1=_0x52faf4[_0x35e74d(0x171)]-0x1,_0x41b83f;_0x5765d1>=0x0;_0x5765d1--)(_0x41b83f=_0x52faf4[_0x5765d1])&&(_0x5c2b33=_0x41b83f(_0x5c2b33)||_0x5c2b33);return _0x5c2b33;},_0x431394=(_0x2dd1dc,_0x466b42)=>(_0x32bb9f,_0x5761d9)=>_0x466b42(_0x32bb9f,_0x5761d9,_0x2dd1dc);const _0x420a2a=0x1389;let _0x43f2ff=class extends _0x31c42f[_0x5a505c(0x17d)]{constructor(_0x583301,_0x226635,_0x4ae004,_0x54ce72){const _0x2a8b8b=_0x5a505c;super(),_0x5c9071(this,'_cursors',new Set()),_0x5c9071(this,_0x2a8b8b(0x12f),null),(this['_context']=_0x583301,this[_0x2a8b8b(0x1a9)]=_0x226635,this[_0x2a8b8b(0x139)]=_0x4ae004,this[_0x2a8b8b(0x2e9)]=_0x54ce72,this[_0x2a8b8b(0x323)]());}[_0x5a505c(0x323)](){const _0x3472aa=_0x5a505c;this[_0x3472aa(0x1a9)][_0x3472aa(0x2c2)][_0x3472aa(0x321)](_0x456c9e['takeUntil'](this[_0x3472aa(0x1a1)]),_0x456c9e['switchMap'](_0x477380=>{const _0x2f81cb=_0x3472aa;if(_0x477380){const _0x390d8a=_0x477380[_0x2f81cb(0x1f1)];return _0x19f1b5[_0x2f81cb(0x229)](this[_0x2f81cb(0x139)]['getCollabCursors$'](this['_context'][_0x2f81cb(0x269)]),this[_0x2f81cb(0x2e9)][_0x2f81cb(0xd3)])[_0x2f81cb(0x321)](_0x456c9e[_0x2f81cb(0x219)](([_0x2ca702,_0x55b2f3])=>{const _0x54854b=new Map();return _0x2ca702['forEach']((_0x4005d3,_0x19a3ef)=>{const _0x180ad6=_0x1d10;if(_0x4005d3[_0x180ad6(0x151)]===_0x390d8a){const _0x2f21d5={..._0x4005d3};_0x2f21d5[_0x180ad6(0x1aa)]=this[_0x180ad6(0x2e9)]['getColorFromTheme'](_0x4005d3[_0x180ad6(0x1aa)]),_0x54854b[_0x180ad6(0x277)](_0x19a3ef,_0x2f21d5);}}),{'skeleton':_0x477380,'cursors':_0x54854b};}));}return _0x19f1b5['of']({'skeleton':null,'cursors':new Map()});}))[_0x3472aa(0x253)](({skeleton:_0x17e80d,cursors:_0x30cea2})=>{const _0x5bf3cc=_0x3472aa;this[_0x5bf3cc(0x1b2)](),_0x17e80d&&this[_0x5bf3cc(0x150)](_0x17e80d,_0x30cea2);}),this[_0x3472aa(0x1a9)][_0x3472aa(0x2c2)]['subscribe'](_0x2204e9=>{const _0x5576ad=_0x3472aa;if(_0x2204e9==null)return;const {skeleton:_0x515400}=_0x2204e9,{scene:_0x471790}=this['_context'];_0x471790[_0x5576ad(0x206)][_0x5576ad(0x25e)](_0x31c42f[_0x5576ad(0xfb)](_0x44b8f3=>{const _0x16fab1=_0x5576ad;var _0x53b971,_0x35b0a4;const {offsetX:_0x15f87,offsetY:_0x1888f8}=_0x44b8f3,{x:_0x40635c,y:_0x4987be}=_0x471790[_0x16fab1(0x26a)](_0x1f1202[_0x16fab1(0x19c)][_0x16fab1(0x27c)]([_0x15f87,_0x1888f8])),{scaleX:_0x56e17d,scaleY:_0x5acd94}=_0x471790['getAncestorScale'](),_0x41e526=_0x471790[_0x16fab1(0x2cc)](_0x1f1202[_0x16fab1(0x248)][_0x16fab1(0x1f8)]),_0x38d864=_0x471790[_0x16fab1(0x207)](_0x1f1202[_0x16fab1(0x19c)][_0x16fab1(0x27c)]([_0x40635c,_0x4987be]),_0x41e526),_0x423886=_0x515400['getCellPositionByOffset'](_0x15f87,_0x1888f8,_0x56e17d,_0x5acd94,_0x38d864);((_0x53b971=this[_0x16fab1(0x12f)])==null?void 0x0:_0x53b971[_0x16fab1(0x298)])===_0x423886[_0x16fab1(0x298)]&&((_0x35b0a4=this[_0x16fab1(0x12f)])==null?void 0x0:_0x35b0a4[_0x16fab1(0x24a)])===_0x423886['row']||this['_cursors'][_0x16fab1(0x1de)](_0x244fc8=>{const _0x556b83=_0x16fab1;_0x244fc8[_0x556b83(0x2e1)](_0x423886);});},0x64));});}['_updateCollabCursors'](_0x4d5f2c,_0x28edb3){const _0x168f06=_0x5a505c;var _0x3a7084;const _0xf6fd06=(_0x3a7084=this[_0x168f06(0x1a9)][_0x168f06(0x275)]())==null?void 0x0:_0x3a7084[_0x168f06(0xe2)];if(!_0xf6fd06)return;const _0x1e5327=this[_0x168f06(0x27f)]();if(!_0x1e5327)return;this[_0x168f06(0xba)][_0x168f06(0x1de)](_0x3cd357=>{const _0x242207=_0x168f06;_0x3cd357[_0x242207(0x161)]();});const {scene:_0x38ff11}=_0x1e5327,_0xd9098=_0x5ad663(Array[_0x168f06(0x331)](_0x28edb3[_0x168f06(0x157)]()))['map'](_0x39c3c1=>{const _0x500317=_0x168f06,{color:_0x144c97,range:_0x225c97,name:_0x3c0feb,selection:_0x5ae566,sheetID:_0x1625b9}=_0x39c3c1,{startColumn:_0x64c39d,startRow:_0x51e0fa,endColumn:_0x291476,endRow:_0x8a04f9}=_0x225c97,_0x44f4a2=_0x5432d7[_0x500317(0xf6)](_0x51e0fa,_0x64c39d,_0x38ff11,_0xf6fd06),_0xe0c74c=_0x5432d7[_0x500317(0xf6)](_0x8a04f9,_0x291476,_0x38ff11,_0xf6fd06),{columnHeaderHeightAndMarginTop:_0x4cac29}=_0xf6fd06,{startX:_0x502c7c,startY:_0x550cfc}=_0x44f4a2,{endX:_0x50ccf1,endY:_0xa934f7}=_0xe0c74c,_0x35b825=_0x50ccf1-_0x502c7c,_0x32e5d1=_0xa934f7-_0x550cfc,_0x3ad685={'labelPosition':_0x550cfc-_0x4cac29>=_0x1beee5?'top':_0x500317(0x28b),'sheetID':_0x1625b9,'range':_0x225c97,'color':_0x144c97,'name':_0x3c0feb,'selection':_0x5ae566,'left':_0x502c7c,'top':_0x550cfc,'width':_0x35b825,'height':_0x32e5d1,'evented':!0x1,'zIndex':_0x420a2a};return new _0x2dccfc(_0x3c0feb,_0x3ad685);});_0x38ff11[_0x168f06(0x2fc)](_0xd9098,_0x4b5a59),this[_0x168f06(0xba)]=new Set(_0xd9098);}[_0x5a505c(0x1b2)](){const _0x1d70f5=_0x5a505c;var _0x4baa66;(_0x4baa66=this[_0x1d70f5(0xba)])==null||_0x4baa66[_0x1d70f5(0x1de)](_0x2298db=>_0x2298db[_0x1d70f5(0x30a)]());}[_0x5a505c(0x27f)](){const _0x185c36=_0x5a505c;return _0x5432d7[_0x185c36(0x299)](this[_0x185c36(0x1b8)][_0x185c36(0x127)],this[_0x185c36(0x1b8)]);}};_0x43f2ff=_0xfec76b([_0x431394(0x1,_0x31c42f[_0x5a505c(0x107)](_0x5432d7[_0x5a505c(0x169)])),_0x431394(0x2,_0x31c42f[_0x5a505c(0x107)](_0x53c0b4)),_0x431394(0x3,_0x31c42f['Inject'](_0x31c42f[_0x5a505c(0x1b1)]))],_0x43f2ff);function _0x5ad663(_0x6639bd){const _0x39a260=_0x5a505c,_0x182959=new Map();return _0x6639bd[_0x39a260(0x1de)](_0x83fa72=>{const _0x1d0c1e=_0x39a260;if(_0x182959[_0x1d0c1e(0x268)](_0x83fa72[_0x1d0c1e(0x241)])){const _0x37aa2d=_0x182959[_0x1d0c1e(0x2af)](_0x83fa72[_0x1d0c1e(0x241)]);_0x37aa2d['name']+=',\x20'+_0x83fa72[_0x1d0c1e(0xb6)];}else _0x182959[_0x1d0c1e(0x277)](_0x83fa72['selection'],_0x83fa72);}),Array['from'](_0x182959[_0x39a260(0x157)]());}var _0xcac6e0=Object['getOwnPropertyDescriptor'],_0x6a30a6=(_0x2ddf64,_0x4570,_0x39f4fd,_0x46655a)=>{const _0x1fc400=_0x5a505c;for(var _0x1b19cb=_0x46655a>0x1?void 0x0:_0x46655a?_0xcac6e0(_0x4570,_0x39f4fd):_0x4570,_0x44a9c4=_0x2ddf64[_0x1fc400(0x171)]-0x1,_0x15e9c4;_0x44a9c4>=0x0;_0x44a9c4--)(_0x15e9c4=_0x2ddf64[_0x44a9c4])&&(_0x1b19cb=_0x15e9c4(_0x1b19cb)||_0x1b19cb);return _0x1b19cb;},_0x580b3a=(_0x284525,_0x44f353)=>(_0x34ee47,_0x18e1d2)=>_0x44f353(_0x34ee47,_0x18e1d2,_0x284525);let _0x30b96d=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x439c60,_0x2d9fbb,_0x44cd90,_0x469e92,_0x172bc2,_0x145ef0){const _0x1cb4c7=_0x5a505c;super(),this['_beforeCloseService']=_0x439c60,this[_0x1cb4c7(0x337)]=_0x2d9fbb,this[_0x1cb4c7(0x25f)]=_0x44cd90,this['_messageService']=_0x469e92,this[_0x1cb4c7(0x13a)]=_0x172bc2,this['_localeService']=_0x145ef0,this[_0x1cb4c7(0x34f)](),this[_0x1cb4c7(0x1e9)]();}[_0x5a505c(0x34f)](){const _0x5c5edc=_0x5a505c;this['disposeWithMe'](this[_0x5c5edc(0x2d1)][_0x5c5edc(0x144)](()=>{const _0x164c86=_0x5c5edc;if(this[_0x164c86(0x337)][_0x164c86(0x2f7)]['size'])return this[_0x164c86(0x2b2)]['t'](_0x164c86(0x1f4));}));}[_0x5a505c(0x1e9)](){const _0x3a11a5=_0x5a505c;this[_0x3a11a5(0x2c7)](this[_0x3a11a5(0x25f)]['event$'][_0x3a11a5(0x253)](_0x23b136=>{const _0x338820=_0x3a11a5;_0x23b136['id']===_0x250f51[_0x338820(0x359)]['OTHER_CLIENT_EDITING']&&this[_0x338820(0x2f6)]['show']({'type':_0x4612e3[_0x338820(0x33c)]['Warning'],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x1ae))}),_0x23b136['id']===_0x250f51[_0x338820(0x359)][_0x338820(0x232)]&&this[_0x338820(0x2f6)]['show']({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x214)],'content':this['_localeService']['t'](_0x338820(0x2f4))}),_0x23b136['id']===_0x250f51[_0x338820(0x359)][_0x338820(0x316)]&&this[_0x338820(0x13a)][_0x338820(0x2fa)]({'title':this['_localeService']['t'](_0x338820(0x1ed)),'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x2a9)),'type':_0x338820(0x2df),'duration':0x0}),_0x23b136['id']===_0x250f51[_0x338820(0x359)][_0x338820(0xd4)]&&this['_messageService'][_0x338820(0x2fa)]({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x198)],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x2f4))+'('+_0x23b136['data']+')'}),_0x23b136['id']===_0x250f51[_0x338820(0x359)]['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x214)],'content':this[_0x338820(0x2b2)]['t'](_0x23b136['data']||'')}),_0x23b136['id']===_0x250f51[_0x338820(0x359)][_0x338820(0x188)]&&this['_messageService']['show']({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x214)],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x1d1))}),_0x23b136['id']===_0x250f51['CollaborationUIEventId'][_0x338820(0x12a)]&&this['_messageService'][_0x338820(0x2fa)]({'type':_0x4612e3[_0x338820(0x33c)][_0x338820(0x198)],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x26e))}),_0x23b136['id']===_0x250f51[_0x338820(0x359)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x338820(0x2f6)][_0x338820(0x2fa)]({'type':_0x4612e3[_0x338820(0x33c)]['Error'],'content':this[_0x338820(0x2b2)]['t'](_0x338820(0x14e))});}));}};_0x30b96d=_0x6a30a6([_0x580b3a(0x0,_0x603ca7[_0x5a505c(0xbe)]),_0x580b3a(0x1,_0x250f51['ILocalCacheService']),_0x580b3a(0x2,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x1bd)])),_0x580b3a(0x3,_0x603ca7['IMessageService']),_0x580b3a(0x4,_0x603ca7['INotificationService']),_0x580b3a(0x5,_0x31c42f['Inject'](_0x31c42f['LocaleService']))],_0x30b96d);const _0x4ea5d3=_0x5a505c(0x347),_0x508322={};var _0x549ab2=Object[_0x5a505c(0x239)],_0x33e03a=(_0x57947b,_0x435cd8,_0x4dff83,_0x69f37b)=>{const _0x486bdc=_0x5a505c;for(var _0x4ddfa1=_0x69f37b>0x1?void 0x0:_0x69f37b?_0x549ab2(_0x435cd8,_0x4dff83):_0x435cd8,_0xefeb4=_0x57947b[_0x486bdc(0x171)]-0x1,_0x3f8b72;_0xefeb4>=0x0;_0xefeb4--)(_0x3f8b72=_0x57947b[_0xefeb4])&&(_0x4ddfa1=_0x3f8b72(_0x4ddfa1)||_0x4ddfa1);return _0x4ddfa1;},_0x3d9fce=(_0x27109c,_0x103b97)=>(_0x2a9ee0,_0x3bbcc7)=>_0x103b97(_0x2a9ee0,_0x3bbcc7,_0x27109c);let _0x32157d=class{constructor(_0x114abb,_0x3067b9){const _0x42b98a=_0x5a505c;this['_transformService']=_0x114abb,this[_0x42b98a(0x288)]=_0x3067b9;}[_0x5a505c(0x2b8)](_0x213209){const _0xd756ae=_0x5a505c;this[_0xd756ae(0x203)](_0x213209),this['_transformPreviousActiveRange'](_0x213209);}[_0x5a505c(0x2c0)](_0x5c6a0c){const _0x3e73ca=_0x5a505c,{unitID:_0x4fc982}=_0x5c6a0c,_0x449a80=this[_0x3e73ca(0x288)][_0x3e73ca(0x145)](_0x4fc982)[_0x3e73ca(0x12d)](_0x5e24e0['DocIMEInputManagerService']),{redoCache:_0x10086a}=_0x449a80['getUndoRedoMutationParamsCache']();if(_0x10086a[_0x3e73ca(0x171)]===0x0)return _0x5c6a0c;let _0x3d1d0d=_0x31c42f[_0x3e73ca(0x31f)]['deepClone'](_0x5c6a0c[_0x3e73ca(0x105)][0x0]);for(let _0x3af371=0x0;_0x3af371<_0x10086a['length'];_0x3af371++){const _0x4d4d49={'id':_0x3e73ca(0x10a),'params':{..._0x10086a[_0x3af371]}},_0x28dce4=this['_transformService'][_0x3e73ca(0x180)](_0x3d1d0d,_0x4d4d49,!0x1);if(_0x180e29[_0x3e73ca(0x296)](_0x28dce4))throw _0x28dce4[_0x3e73ca(0x2df)];_0x3d1d0d=_0x28dce4['m1Prime'];}return{..._0x31c42f[_0x3e73ca(0x31f)][_0x3e73ca(0x265)](_0x5c6a0c),'mutations':[_0x3d1d0d]};}[_0x5a505c(0x203)](_0x494c17){const _0x3151a9=_0x5a505c,{unitID:_0x1adc94}=_0x494c17,_0x46665d=this['_renderManagerService'][_0x3151a9(0x145)](_0x1adc94)['with'](_0x5e24e0[_0x3151a9(0xc2)]),{undoCache:_0x4dfeb7,redoCache:_0x101446}=_0x46665d[_0x3151a9(0x31c)]();if(_0x4dfeb7['length']===0x0||_0x101446[_0x3151a9(0x171)]===0x0)return;const _0x1ee615=[],_0x35f5cf=[];let _0x19de98=_0x31c42f[_0x3151a9(0x31f)][_0x3151a9(0x265)](_0x494c17[_0x3151a9(0x105)][0x0]),_0x5d3a13=_0x31c42f[_0x3151a9(0x31f)][_0x3151a9(0x265)](_0x494c17[_0x3151a9(0x105)][0x0]);for(let _0x402ce2=_0x4dfeb7[_0x3151a9(0x171)]-0x1;_0x402ce2>=0x0;_0x402ce2--){const _0x51b7b1={'id':_0x3151a9(0x10a),'params':{..._0x4dfeb7[_0x402ce2]}},_0x41fd78={'id':_0x3151a9(0x10a),'params':{..._0x101446[_0x402ce2]}},_0x23f3c4=this[_0x3151a9(0x1ce)]['transformMutation'](_0x19de98,_0x51b7b1,!0x1),_0x454673=this[_0x3151a9(0x1ce)][_0x3151a9(0x180)](_0x5d3a13,_0x41fd78,!0x1);if(_0x180e29['isTransformMutationFailure'](_0x23f3c4))throw _0x23f3c4['error'];if(_0x180e29['isTransformMutationFailure'](_0x454673))throw _0x454673[_0x3151a9(0x2df)];_0x1ee615['unshift'](_0x23f3c4[_0x3151a9(0x179)][_0x3151a9(0x1ff)]),_0x35f5cf[_0x3151a9(0x346)](_0x454673['m2Prime'][_0x3151a9(0x1ff)]),_0x19de98=_0x23f3c4['m1Prime'],_0x5d3a13=_0x454673[_0x3151a9(0x102)];}_0x46665d[_0x3151a9(0x26b)]({'undoCache':_0x1ee615,'redoCache':_0x35f5cf});}[_0x5a505c(0x1fb)](_0x5ef57c){const _0xd7614e=_0x5a505c,{unitID:_0x274126}=_0x5ef57c,_0x3dd986=this[_0xd7614e(0x288)][_0xd7614e(0x145)](_0x274126)['with'](_0x5e24e0['DocIMEInputManagerService']),_0x212aff=_0x3dd986[_0xd7614e(0xc9)]();if(_0x212aff==null)return;const _0x51a7db=[{'id':_0xd7614e(0x10a),'params':{'unitId':_0x5ef57c[_0xd7614e(0xe3)],'actions':null,'textRanges':[_0x212aff]}}],_0x47307b=this[_0xd7614e(0x1ce)][_0xd7614e(0x11b)](_0x5ef57c,_0x51a7db);if(!_0x180e29[_0xd7614e(0x216)](_0x47307b))throw _0x47307b['error'];const _0x22128c=_0x47307b['m2Prime'][0x0][_0xd7614e(0x1ff)][_0xd7614e(0x339)];Array['isArray'](_0x22128c)&&_0x22128c['length']&&_0x3dd986[_0xd7614e(0x324)](_0x22128c[0x0]);}};_0x32157d=_0x33e03a([_0x3d9fce(0x0,_0x180e29[_0x5a505c(0xd1)]),_0x3d9fce(0x1,_0x1f1202[_0x5a505c(0x33d)])],_0x32157d);var _0x41b817=Object[_0x5a505c(0x239)],_0x362a86=(_0x113bee,_0x557d20,_0x1bc67f,_0x19f3f8)=>{const _0x41a6f5=_0x5a505c;for(var _0x445b00=_0x19f3f8>0x1?void 0x0:_0x19f3f8?_0x41b817(_0x557d20,_0x1bc67f):_0x557d20,_0x1252f1=_0x113bee[_0x41a6f5(0x171)]-0x1,_0x1539fe;_0x1252f1>=0x0;_0x1252f1--)(_0x1539fe=_0x113bee[_0x1252f1])&&(_0x445b00=_0x1539fe(_0x445b00)||_0x445b00);return _0x445b00;},_0xc8f9a4=(_0x32b83f,_0x5029ee)=>(_0x16f251,_0x50215c)=>_0x5029ee(_0x16f251,_0x50215c,_0x32b83f);let _0x4ae234=class{constructor(_0x595d35,_0x5abc86,_0x1f85bc){const _0x4ac243=_0x5a505c;this[_0x4ac243(0x19f)]=_0x595d35,this[_0x4ac243(0x1ce)]=_0x5abc86,this[_0x4ac243(0x1b9)]=_0x1f85bc;}[_0x5a505c(0x30c)](_0x48ec99){const _0xf899d6=_0x5a505c;this[_0xf899d6(0x2e6)](_0x48ec99);}[_0x5a505c(0x2c0)](_0xd6164d){const _0x39d4cb=_0x5a505c,{unitID:_0x900bff}=_0xd6164d,{collaboration:_0x74e2f5}=this['_docStateChangeManagerService'][_0x39d4cb(0x10c)](_0x900bff);if(_0x74e2f5['length']===0x0)return _0xd6164d;let _0x5b00be=_0x31c42f[_0x39d4cb(0x31f)][_0x39d4cb(0x265)](_0xd6164d['mutations'][0x0]);for(let _0x459fcd=0x0;_0x459fcd<_0x74e2f5[_0x39d4cb(0x171)];_0x459fcd++){const _0x450118={'id':_0x39d4cb(0x10a),'params':{'unitId':_0x74e2f5[_0x459fcd]['unitId'],..._0x74e2f5[_0x459fcd]['redoState']}},_0x2f9995=this[_0x39d4cb(0x1ce)][_0x39d4cb(0x180)](_0x5b00be,_0x450118,!0x1);if(_0x180e29['isTransformMutationFailure'](_0x2f9995))throw _0x2f9995[_0x39d4cb(0x2df)];_0x5b00be=_0x2f9995[_0x39d4cb(0x102)];}return{..._0x31c42f[_0x39d4cb(0x31f)][_0x39d4cb(0x265)](_0xd6164d),'mutations':[_0x5b00be]};}[_0x5a505c(0x2e6)](_0x7e1497){const _0x2da14b=_0x5a505c,{unitID:_0x35868b}=_0x7e1497,{history:_0x23ac1a,collaboration:_0x4b4fc3}=this[_0x2da14b(0x1b9)]['getStateCache'](_0x35868b);if(_0x23ac1a[_0x2da14b(0x171)]===0x0&&_0x4b4fc3[_0x2da14b(0x171)]===0x0)return;const _0x547645=[],_0x2747cc=[];let _0x449696=_0x31c42f['Tools'][_0x2da14b(0x265)](_0x7e1497[_0x2da14b(0x105)][0x0]),_0x2858b9=_0x31c42f[_0x2da14b(0x31f)][_0x2da14b(0x265)](_0x7e1497[_0x2da14b(0x105)][0x0]);for(let _0x58ac6d=_0x23ac1a[_0x2da14b(0x171)]-0x1;_0x58ac6d>=0x0;_0x58ac6d--){const _0x2eb67b={'id':_0x2da14b(0x10a),'params':{'unitId':_0x23ac1a[_0x58ac6d][_0x2da14b(0x269)],..._0x23ac1a[_0x58ac6d]['undoState']}},_0x5413f7={'id':_0x2da14b(0x10a),'params':{'unitId':_0x23ac1a[_0x58ac6d][_0x2da14b(0x269)],..._0x23ac1a[_0x58ac6d]['redoState']}},_0x7488c3=this['_transformService'][_0x2da14b(0x180)](_0x449696,_0x2eb67b,!0x1),_0x3777fc=this[_0x2da14b(0x1ce)][_0x2da14b(0x180)](_0x2858b9,_0x5413f7,!0x1);if(_0x180e29[_0x2da14b(0x296)](_0x7488c3))throw _0x7488c3['error'];if(_0x180e29['isTransformMutationFailure'](_0x3777fc))throw _0x3777fc[_0x2da14b(0x2df)];_0x547645[_0x2da14b(0x346)]({..._0x23ac1a[_0x58ac6d],'undoState':_0x7488c3[_0x2da14b(0x179)][_0x2da14b(0x1ff)],'redoState':_0x3777fc['m2Prime'][_0x2da14b(0x1ff)]}),_0x449696=_0x7488c3['m1Prime'],_0x2858b9=_0x3777fc['m1Prime'];}_0x449696=_0x31c42f['Tools']['deepClone'](_0x7e1497[_0x2da14b(0x105)][0x0]),_0x2858b9=_0x31c42f[_0x2da14b(0x31f)][_0x2da14b(0x265)](_0x7e1497['mutations'][0x0]);for(let _0x31f992=_0x4b4fc3[_0x2da14b(0x171)]-0x1;_0x31f992>=0x0;_0x31f992--){const _0xecff2f={'id':_0x2da14b(0x10a),'params':{'unitId':_0x4b4fc3[_0x31f992][_0x2da14b(0x269)],..._0x4b4fc3[_0x31f992][_0x2da14b(0x30d)]}},_0x11ef14={'id':_0x2da14b(0x10a),'params':{'unitId':_0x4b4fc3[_0x31f992][_0x2da14b(0x269)],..._0x4b4fc3[_0x31f992][_0x2da14b(0x2c6)]}},_0x34fb62=this[_0x2da14b(0x1ce)][_0x2da14b(0x180)](_0x449696,_0xecff2f,!0x1),_0x1b1d8f=this['_transformService']['transformMutation'](_0x2858b9,_0x11ef14,!0x1);if(_0x180e29[_0x2da14b(0x296)](_0x34fb62))throw _0x34fb62[_0x2da14b(0x2df)];if(_0x180e29['isTransformMutationFailure'](_0x1b1d8f))throw _0x1b1d8f[_0x2da14b(0x2df)];_0x2747cc[_0x2da14b(0x346)]({..._0x4b4fc3[_0x31f992],'undoState':_0x34fb62[_0x2da14b(0x179)][_0x2da14b(0x1ff)],'redoState':_0x1b1d8f[_0x2da14b(0x179)][_0x2da14b(0x1ff)]}),_0x449696=_0x34fb62[_0x2da14b(0x102)],_0x2858b9=_0x1b1d8f['m1Prime'];}this[_0x2da14b(0x1b9)][_0x2da14b(0x244)](_0x35868b,{'history':_0x547645,'collaboration':_0x2747cc});}};_0x4ae234=_0x362a86([_0xc8f9a4(0x0,_0x31c42f[_0x5a505c(0x107)](_0x31c42f['Injector'])),_0xc8f9a4(0x1,_0x180e29[_0x5a505c(0xd1)]),_0xc8f9a4(0x2,_0x31c42f['Inject'](_0x5e24e0[_0x5a505c(0x27e)]))],_0x4ae234);var _0x330b72=Object[_0x5a505c(0x239)],_0x533161=(_0x2cb5ca,_0x22b123,_0x5baa84,_0x10925e)=>{const _0x2d529=_0x5a505c;for(var _0x2d1df4=_0x10925e>0x1?void 0x0:_0x10925e?_0x330b72(_0x22b123,_0x5baa84):_0x22b123,_0x257d42=_0x2cb5ca[_0x2d529(0x171)]-0x1,_0x5d565d;_0x257d42>=0x0;_0x257d42--)(_0x5d565d=_0x2cb5ca[_0x257d42])&&(_0x2d1df4=_0x5d565d(_0x2d1df4)||_0x2d1df4);return _0x2d1df4;},_0x570a6f=(_0x2f3ee6,_0x117b26)=>(_0x33c073,_0xf43e54)=>_0x117b26(_0x33c073,_0xf43e54,_0x2f3ee6);let _0x2a0891=class{constructor(_0x2fb91e,_0x530d9e){const _0x21a821=_0x5a505c;this[_0x21a821(0x19f)]=_0x2fb91e,this[_0x21a821(0x1ce)]=_0x530d9e;}['transformSelections'](_0xb5e032){const _0x3e6923=_0x5a505c;var _0x18d3b5;const _0x403adb=this[_0x3e6923(0x19f)][_0x3e6923(0x2af)](_0x3f505f['DocSelectionManagerService']),_0xc3a1d7=(_0x18d3b5=_0x403adb['getDocRanges']())!=null?_0x18d3b5:[];if(_0xc3a1d7['length']===0x0)return;const _0x4c5577=_0xb5e032[_0x3e6923(0xe3)],_0x4a5b61=[{'id':_0x3e6923(0x10a),'params':{'unitId':_0x4c5577,'actions':null,'textRanges':_0xc3a1d7}}],_0xf00f3c=this[_0x3e6923(0x1ce)]['transformMutationsWithChangeset'](_0xb5e032,_0x4a5b61);if(!_0x180e29['isTransformMutationsWithChangesetSuccess'](_0xf00f3c))throw _0xf00f3c['error'];const _0x4816a4=_0xf00f3c[_0x3e6923(0x179)][0x0][_0x3e6923(0x1ff)][_0x3e6923(0x339)];Array[_0x3e6923(0x34a)](_0x4816a4)&&_0x4816a4['length']&&_0x403adb[_0x3e6923(0x2ec)](_0x4816a4,{'unitId':_0x4c5577,'subUnitId':_0x4c5577},!0x1);}};_0x2a0891=_0x533161([_0x570a6f(0x0,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0x570a6f(0x1,_0x180e29['ITransformService'])],_0x2a0891);var _0x1a616b=Object[_0x5a505c(0x239)],_0xe50f0e=(_0x52f3da,_0x2a58f5,_0x1de67f,_0x31b424)=>{const _0x528684=_0x5a505c;for(var _0x137c8c=_0x31b424>0x1?void 0x0:_0x31b424?_0x1a616b(_0x2a58f5,_0x1de67f):_0x2a58f5,_0x19f1a9=_0x52f3da[_0x528684(0x171)]-0x1,_0x3cd398;_0x19f1a9>=0x0;_0x19f1a9--)(_0x3cd398=_0x52f3da[_0x19f1a9])&&(_0x137c8c=_0x3cd398(_0x137c8c)||_0x137c8c);return _0x137c8c;},_0x1da2d6=(_0x4c4c78,_0x56690a)=>(_0x30c5b8,_0x5ec0dc)=>_0x56690a(_0x30c5b8,_0x5ec0dc,_0x4c4c78);let _0x154ed0=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x7df959,_0x48af7a,_0x2acd30,_0x2276cd,_0x8ae605,_0x1ab72e,_0xaa59c2,_0x5410fb){const _0xe43177=_0x5a505c;super(),_0x5c9071(this,_0xe43177(0x162),new _0x19f1b5[(_0xe43177(0x271))](_0x250f51['CollaborationStatus'][_0xe43177(0x183)])),(this[_0xe43177(0x1b9)]=_0x7df959,this['_collaborationController']=_0x48af7a,this[_0xe43177(0x1d9)]=_0x2acd30,this['_docTransformStateCacheService']=_0x2276cd,this[_0xe43177(0x10e)]=_0x8ae605,this[_0xe43177(0xee)]=_0x1ab72e,this[_0xe43177(0x2f6)]=_0xaa59c2,this[_0xe43177(0x2b2)]=_0x5410fb,this[_0xe43177(0x255)]());}['_initEntityListener'](){const _0x5bb781=_0x5a505c;this[_0x5bb781(0x2c7)](this['_collaborationController']['entityInit$'][_0x5bb781(0x253)](_0x132443=>{const _0x3ef345=_0x5bb781,_0x35c3a9=this['_docStateChangeManagerService'][_0x3ef345(0x319)][_0x3ef345(0x253)](_0x212f8c=>{const _0x2477d3=_0x3ef345;if(_0x212f8c==null)return;const {unitId:_0x3151b3,redoState:_0x3196f6,commandId:_0x22c9a7}=_0x212f8c;if(_0x3151b3!==_0x132443[_0x2477d3(0xe3)])return;const _0x43958a={'id':_0x22c9a7,'type':_0x31c42f[_0x2477d3(0x199)][_0x2477d3(0x210)],'params':{'unitId':_0x3151b3,'actions':_0x3196f6[_0x2477d3(0x306)],'textRanges':null}};_0x132443[_0x2477d3(0x285)](_0x43958a);});if(_0x132443[_0x3ef345(0x2c7)](_0x35c3a9),_0x132443 instanceof _0x250f51['DocCollaborationEntity']){const _0x5cf4e4={'onTransformIME':_0x57b7ab=>this[_0x3ef345(0x1d9)][_0x3ef345(0x2b8)](_0x57b7ab),'onTransformState':_0x13a484=>this['_docTransformStateCacheService']['transformStateCache'](_0x13a484),'onTransformSelections':_0x281482=>this['_docTransformSelectionsService'][_0x3ef345(0x2cf)](_0x281482),'onSyncEditingCollabCursor':_0x2ef368=>this['_docSyncEditingCollabCursorService'][_0x3ef345(0x1f2)](_0x2ef368),'onTransformRemoteChangesetByIMECache':_0x4b3d6a=>this[_0x3ef345(0x1d9)][_0x3ef345(0x2c0)](_0x4b3d6a),'onTransformRemoteChangesetByStateCache':_0x3b433a=>this['_docTransformStateCacheService'][_0x3ef345(0x2c0)](_0x3b433a)};_0x132443[_0x3ef345(0x104)](_0x5cf4e4);}}));}};_0x154ed0=_0xe50f0e([_0x1da2d6(0x0,_0x31c42f['Inject'](_0x5e24e0[_0x5a505c(0x27e)])),_0x1da2d6(0x1,_0x31c42f[_0x5a505c(0x107)](_0x250f51[_0x5a505c(0x20c)])),_0x1da2d6(0x2,_0x31c42f[_0x5a505c(0x107)](_0x32157d)),_0x1da2d6(0x3,_0x31c42f[_0x5a505c(0x107)](_0x4ae234)),_0x1da2d6(0x4,_0x31c42f[_0x5a505c(0x107)](_0x2a0891)),_0x1da2d6(0x5,_0x31c42f[_0x5a505c(0x107)](_0x17e7cc)),_0x1da2d6(0x6,_0x603ca7[_0x5a505c(0x211)]),_0x1da2d6(0x7,_0x31c42f['Inject'](_0x31c42f['LocaleService']))],_0x154ed0);var _0x77052d=Object[_0x5a505c(0x239)],_0x5250e9=(_0x249c77,_0x3a2975,_0x3f6edc,_0x4293e3)=>{const _0x51cca7=_0x5a505c;for(var _0x287c4f=_0x4293e3>0x1?void 0x0:_0x4293e3?_0x77052d(_0x3a2975,_0x3f6edc):_0x3a2975,_0x24d42e=_0x249c77[_0x51cca7(0x171)]-0x1,_0x2056c2;_0x24d42e>=0x0;_0x24d42e--)(_0x2056c2=_0x249c77[_0x24d42e])&&(_0x287c4f=_0x2056c2(_0x287c4f)||_0x287c4f);return _0x287c4f;},_0x1145da=(_0x4fb2f7,_0x5bba3f)=>(_0x2b19b4,_0x367698)=>_0x5bba3f(_0x2b19b4,_0x367698,_0x4fb2f7);let _0x17ecf9=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x57cff2,_0x5ddcae,_0x50c854){const _0x58bad1=_0x5a505c;super(),_0x5c9071(this,_0x58bad1(0x228),new Map()),_0x5c9071(this,'_saveTaskMap',new Map()),_0x5c9071(this,_0x58bad1(0x113),!0x1),(this['_configService']=_0x57cff2,this[_0x58bad1(0x1be)]=_0x5ddcae,this['_revisionService']=_0x50c854);}[_0x5a505c(0x1b3)](){const _0x4a2c0c=_0x5a505c;this[_0x4a2c0c(0x113)]=!0x0;}[_0x5a505c(0xcd)](){this['_disabled']=!0x1;}get[_0x5a505c(0x2f7)](){const _0x7baf15=_0x5a505c;return this[_0x7baf15(0x2a7)];}['dispose'](){const _0x377c76=_0x5a505c;this[_0x377c76(0x12b)]()[_0x377c76(0x238)](()=>super[_0x377c76(0x30a)]());}async[_0x5a505c(0x31b)](_0x34e893){const _0x2dbca9=_0x5a505c;return this[_0x2dbca9(0x113)]?null:this[_0x2dbca9(0x1be)][_0x2dbca9(0x313)](_0x250f51[_0x2dbca9(0x2ad)](_0x34e893));}async['saveOfflineData'](_0xc65252,_0x5412c1){const _0x300392=_0x5a505c;return!!this[_0x300392(0x1be)][_0x300392(0x27b)](_0xc65252,_0x5412c1);}[_0x5a505c(0x2f2)](_0x39a1bd,_0xcb39f7,_0x2f970b,_0x11f4f7){const _0x1415ac=_0x5a505c,_0x2ddf5e=this[_0x1415ac(0x173)][_0x1415ac(0x230)](_0x39a1bd);this['_cachedData'][_0x1415ac(0x277)](_0x39a1bd,{'unitID':_0x39a1bd,'type':_0xcb39f7,'awaitingChangeset':_0x2f970b,'mutations':_0x11f4f7,'rev':_0x2ddf5e}),this['_saveTaskMap'][_0x1415ac(0x268)](_0x39a1bd)||this[_0x1415ac(0x143)](_0x39a1bd);}[_0x5a505c(0x143)](_0x4ebc79){const _0x2cb127=_0x5a505c,_0x366c2a=this['_getSaveTimeout']();_0x366c2a===0x0?this[_0x2cb127(0x24b)](_0x4ebc79):this['_saveTaskMap'][_0x2cb127(0x277)](_0x4ebc79,setTimeout(()=>this[_0x2cb127(0x24b)](_0x4ebc79),_0x366c2a));}[_0x5a505c(0x291)](){const _0x53faa0=_0x5a505c;var _0x3e1f25;return(_0x3e1f25=this[_0x53faa0(0x260)][_0x53faa0(0x100)](_0x250f51[_0x53faa0(0x328)]))!=null?_0x3e1f25:_0x250f51[_0x53faa0(0x15b)];}['_saveCache'](_0x2e15af){const _0x9ce3e=_0x5a505c,_0x52b6a6=this['_saveTaskMap'][_0x9ce3e(0x2af)](_0x2e15af);return _0x52b6a6!==void 0x0&&window[_0x9ce3e(0x1a6)](_0x52b6a6),this[_0x9ce3e(0x1be)]['setItem'](_0x250f51[_0x9ce3e(0x2ad)](_0x2e15af),this[_0x9ce3e(0x228)]['get'](_0x2e15af))[_0x9ce3e(0x238)](()=>this[_0x9ce3e(0x2a7)][_0x9ce3e(0x1b5)](_0x2e15af));}async[_0x5a505c(0x12b)](){const _0xf89149=_0x5a505c,_0x1318b4=[];this[_0xf89149(0x2a7)][_0xf89149(0x1de)]((_0x3c14ed,_0x563537)=>{const _0x3ddeec=_0xf89149;window[_0x3ddeec(0x1a6)](_0x3c14ed),_0x1318b4[_0x3ddeec(0x251)](this[_0x3ddeec(0x24b)](_0x563537)['then'](()=>{const _0x5575a6=_0x3ddeec;this['_saveTaskMap'][_0x5575a6(0x1b5)](_0x563537);}));}),await Promise[_0xf89149(0x274)](_0x1318b4);}};_0x17ecf9=_0x5250e9([_0x1145da(0x0,_0x31c42f[_0x5a505c(0x16d)]),_0x1145da(0x1,_0x31c42f['ILocalStorageService']),_0x1145da(0x2,_0x31c42f[_0x5a505c(0x107)](_0x180e29[_0x5a505c(0x177)]))],_0x17ecf9);class _0x323909 extends _0x31c42f[_0x5a505c(0x17d)]{constructor(){const _0x425415=_0x5a505c;super(),_0x5c9071(this,_0x425415(0x305)),this[_0x425415(0x305)]=_0x19f1b5[_0x425415(0x1df)](window,_0x425415(0x2e8))[_0x425415(0x321)](_0x19f1b5[_0x425415(0x14c)](this[_0x425415(0x1a1)]),_0x19f1b5[_0x425415(0x2b6)](0x1),_0x19f1b5['mapTo'](void 0x0));}[_0x5a505c(0xcf)](_0x4e69e5,_0x4077e0,_0x21aa65=!0x1){const _0x39217f=_0x5a505c,_0x398c99=new URL(window[_0x39217f(0x15e)][_0x39217f(0x17b)]);_0x398c99[_0x39217f(0x13d)][_0x39217f(0x277)](_0x4e69e5,_0x4077e0),_0x21aa65?window[_0x39217f(0x2b4)][_0x39217f(0x11c)]('','',_0x398c99[_0x39217f(0x2a0)]()):window[_0x39217f(0x2b4)][_0x39217f(0x356)]('','',_0x398c99[_0x39217f(0x2a0)]());}[_0x5a505c(0x1ca)](_0x39c32e,_0x49ad4d=!0x1){const _0xe5c6a1=_0x5a505c,_0x5a355f=new URL(window[_0xe5c6a1(0x15e)]['href']);_0x5a355f[_0xe5c6a1(0x13d)]['delete'](_0x39c32e),_0x49ad4d?window['history'][_0xe5c6a1(0x11c)]('','',_0x5a355f[_0xe5c6a1(0x2a0)]()):window[_0xe5c6a1(0x2b4)][_0xe5c6a1(0x356)]('','',_0x5a355f[_0xe5c6a1(0x2a0)]());}[_0x5a505c(0x131)](_0xcf5707){const _0x34fa90=_0x5a505c;var _0x838a0;return(_0x838a0=new URL(window['location'][_0x34fa90(0x17b)])[_0x34fa90(0x13d)][_0x34fa90(0x2af)](_0xcf5707))!=null?_0x838a0:void 0x0;}}var _0x144a53=Object[_0x5a505c(0x153)],_0x3b87de=Object[_0x5a505c(0x239)],_0x1a8928=(_0x59439c,_0x24a89f,_0x3f3df6)=>_0x24a89f in _0x59439c?_0x144a53(_0x59439c,_0x24a89f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3f3df6}):_0x59439c[_0x24a89f]=_0x3f3df6,_0x28f7dd=(_0x1895a7,_0x1841fb,_0x5855ba,_0x2f380c)=>{for(var _0x19230a=_0x2f380c>0x1?void 0x0:_0x2f380c?_0x3b87de(_0x1841fb,_0x5855ba):_0x1841fb,_0xc129a0=_0x1895a7['length']-0x1,_0x415e50;_0xc129a0>=0x0;_0xc129a0--)(_0x415e50=_0x1895a7[_0xc129a0])&&(_0x19230a=_0x415e50(_0x19230a)||_0x19230a);return _0x19230a;},_0x474895=(_0x540d01,_0x13e7bc)=>(_0x2153a0,_0x5bf607)=>_0x13e7bc(_0x2153a0,_0x5bf607,_0x540d01),_0x2f1983=(_0x1d0585,_0x23d979,_0x192176)=>_0x1a8928(_0x1d0585,_0x23d979+'',_0x192176);const _0x5a3036=_0x5a505c(0x309);_0x4853c8[_0x5a505c(0x222)]=class extends _0x31c42f[_0x5a505c(0x103)]{constructor(_0xf8df95=_0x508322,_0x54615b,_0xbffd3a,_0x5e6573){const _0x137720=_0x5a505c;super(),this[_0x137720(0x2b5)]=_0xf8df95,this[_0x137720(0x288)]=_0x54615b,this[_0x137720(0x19f)]=_0xbffd3a,this[_0x137720(0x260)]=_0x5e6573;const {..._0x4d6803}=_0x31c42f[_0x137720(0x30e)]({},_0x508322,this[_0x137720(0x2b5)]);this[_0x137720(0x260)][_0x137720(0x191)](_0x4ea5d3,_0x4d6803);}[_0x5a505c(0x2f3)](){const _0x18f11f=_0x5a505c;this[_0x18f11f(0x29f)](),this[_0x18f11f(0x355)]();}[_0x5a505c(0xf4)](){const _0x2661aa=_0x5a505c;this[_0x2661aa(0x112)]();}['_registerDependencies'](){const _0x4462b3=_0x5a505c;var _0x16658a;const _0x531b53=[[_0x237c9d],[_0x2a0891],[_0x32157d],[_0x4ae234],[_0x17e7cc],[_0x2b3810,{'useClass':_0x323909}],[_0x294bf6['ISocketService'],{'useClass':_0x294bf6[_0x4462b3(0x34c)]}],[_0x250f51['ILocalCacheService'],{'useClass':_0x17ecf9}],[_0x4853c8[_0x4462b3(0x23b)]],[_0x154ed0],[_0x30b96d],[_0x53c0b4],[_0x4c41fe],[_0x4853c8[_0x4462b3(0x26f)]]];_0x31c42f['registerDependencies'](this[_0x4462b3(0x19f)],_0x31c42f[_0x4462b3(0x195)](_0x531b53,(_0x16658a=this['_config'])==null?void 0x0:_0x16658a[_0x4462b3(0x1c0)]));}['_registerRenderDependencies'](){const _0x4ec0d0=_0x5a505c;this[_0x4ec0d0(0x2c7)](this[_0x4ec0d0(0x288)]['registerRenderModule'](_0x31c42f[_0x4ec0d0(0x330)][_0x4ec0d0(0xc8)],[_0x30fd5f])),this[_0x4ec0d0(0x2c7)](this['_renderManagerService']['registerRenderModule'](_0x31c42f['UniverInstanceType'][_0x4ec0d0(0x2dd)],[_0x43f2ff]));}[_0x5a505c(0x355)](){const _0x4e786c=_0x5a505c;_0x31c42f[_0x4e786c(0x293)](this[_0x4e786c(0x19f)],[[_0x53c0b4],[_0x4853c8['DesktopCollaborationStatusDisplayController']],[_0x154ed0],[_0x30b96d],[_0x4853c8['CollaborationDataLoaderController']]]);}},_0x2f1983(_0x4853c8[_0x5a505c(0x222)],_0x5a505c(0x250),_0x5a3036),_0x4853c8[_0x5a505c(0x222)]=_0x28f7dd([_0x31c42f['DependentOn'](_0x250f51[_0x5a505c(0x192)]),_0x474895(0x1,_0x1f1202['IRenderManagerService']),_0x474895(0x2,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0x474895(0x3,_0x31c42f[_0x5a505c(0x16d)])],_0x4853c8['UniverCollaborationClientUIPlugin']);var _0x2849f5=Object[_0x5a505c(0x239)],_0x4d2850=(_0x354dd7,_0x565ef8,_0x15a0e0,_0x18f3c8)=>{for(var _0x690a4e=_0x18f3c8>0x1?void 0x0:_0x18f3c8?_0x2849f5(_0x565ef8,_0x15a0e0):_0x565ef8,_0x511e70=_0x354dd7['length']-0x1,_0x16cb20;_0x511e70>=0x0;_0x511e70--)(_0x16cb20=_0x354dd7[_0x511e70])&&(_0x690a4e=_0x16cb20(_0x690a4e)||_0x690a4e);return _0x690a4e;},_0x7ef8e4=(_0xa1157e,_0x160ef0)=>(_0x1a2bda,_0x188dd5)=>_0x160ef0(_0x1a2bda,_0x188dd5,_0xa1157e);_0x4853c8[_0x5a505c(0x2f9)]=class extends _0x250f51[_0x5a505c(0x258)]{constructor(_0x5be5cf,_0x3a1a27,_0x5a3ca1,_0x2f2129,_0x349db2){super(_0x5be5cf,_0x3a1a27,_0x5a3ca1,_0x2f2129,_0x349db2);}async[_0x5a505c(0x15d)](_0x46dde1){const _0x164f78=_0x5a505c,_0x54d6ca=await this[_0x164f78(0x14d)](),_0x35ffdd=this['_createSocketURL'](_0x46dde1,_0x54d6ca);return this['_doCreateSocket'](_0x35ffdd);}['_createSocketURL'](_0x396f24,_0x1dfcf3){const _0x345c3b=_0x5a505c,_0x233e69=typeof window>'u'?new URL(_0x396f24):new URL(_0x396f24,window[_0x345c3b(0x15e)][_0x345c3b(0x348)]);_0x233e69['searchParams'][_0x345c3b(0x277)]('sessionTicket',_0x1dfcf3);const _0x52d832=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x345c3b(0x15e)][_0x345c3b(0x1bb)]);return _0x52d832['get'](_0x345c3b(0x259))&&_0x233e69['searchParams'][_0x345c3b(0x277)](_0x345c3b(0x259),_0x52d832[_0x345c3b(0x2af)](_0x345c3b(0x259))),_0x233e69[_0x345c3b(0x2a0)]();}async['_getSessionTicket'](){const _0x24997e=_0x5a505c;var _0xcc85b,_0x2eb047,_0x160062;const _0x4c70f6=this[_0x24997e(0x260)][_0x24997e(0x100)](_0x250f51['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x5c915e=(_0xcc85b=_0x4c70f6==null?void 0x0:_0x4c70f6[_0x24997e(0xe7)])!=null?_0xcc85b:_0x250f51[_0x24997e(0x282)];return(_0x160062=(_0x2eb047=(await this['_httpService'][_0x24997e(0x2af)](_0x5c915e,{'headers':{'Content-Type':_0x24997e(0x140)}}))[_0x24997e(0x267)])==null?void 0x0:_0x2eb047[_0x24997e(0x2c1)])!=null?_0x160062:'';}},_0x4853c8['BrowserCollaborationSocketService']=_0x4d2850([_0x7ef8e4(0x0,_0x31c42f[_0x5a505c(0x107)](_0x31c42f[_0x5a505c(0x294)])),_0x7ef8e4(0x1,_0x31c42f['Inject'](_0x294bf6[_0x5a505c(0x1fa)])),_0x7ef8e4(0x2,_0x31c42f[_0x5a505c(0x16d)]),_0x7ef8e4(0x3,_0x31c42f[_0x5a505c(0x2c4)]),_0x7ef8e4(0x4,_0x180e29[_0x5a505c(0x22f)])],_0x4853c8['BrowserCollaborationSocketService']);var _0x28bea2=(_0x34eeac=>(_0x34eeac[_0x34eeac['UNDEFINED']=0x0]=_0x5a505c(0x2d0),_0x34eeac[_0x34eeac['OK']=0x1]='OK',_0x34eeac[_0x34eeac[_0x5a505c(0x2bd)]=0x2]=_0x5a505c(0x2bd),_0x34eeac[_0x34eeac['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x34eeac[_0x34eeac['NOT_FOUND']=0x4]='NOT_FOUND',_0x34eeac[_0x34eeac[_0x5a505c(0x1f3)]=0x5]=_0x5a505c(0x1f3),_0x34eeac[_0x34eeac[_0x5a505c(0x2f0)]=0x6]=_0x5a505c(0x2f0),_0x34eeac[_0x34eeac[_0x5a505c(0x137)]=0x7]=_0x5a505c(0x137),_0x34eeac[_0x34eeac[_0x5a505c(0x2ef)]=0x8]=_0x5a505c(0x2ef),_0x34eeac[_0x34eeac[_0x5a505c(0xc7)]=0x9]=_0x5a505c(0xc7),_0x34eeac[_0x34eeac[_0x5a505c(0x218)]=0xa]=_0x5a505c(0x218),_0x34eeac[_0x34eeac[_0x5a505c(0x1bf)]=0xb]=_0x5a505c(0x1bf),_0x34eeac[_0x34eeac[_0x5a505c(0x24e)]=0xc]=_0x5a505c(0x24e),_0x34eeac[_0x34eeac['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x5a505c(0xbb),_0x34eeac[_0x34eeac['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5a505c(0xf2),_0x34eeac[_0x34eeac[_0x5a505c(0x2a3)]=0x1389]=_0x5a505c(0x2a3),_0x34eeac[_0x34eeac[_0x5a505c(0x2e2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x34eeac[_0x34eeac[_0x5a505c(0x22c)]=0x1772]=_0x5a505c(0x22c),_0x34eeac[_0x34eeac[_0x5a505c(0x2ca)]=0x1773]=_0x5a505c(0x2ca),_0x34eeac[_0x34eeac[_0x5a505c(0x237)]=0x1b59]=_0x5a505c(0x237),_0x34eeac[_0x34eeac[_0x5a505c(0xb5)]=0x1b5a]=_0x5a505c(0xb5),_0x34eeac[_0x34eeac['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5a505c(0xf3),_0x34eeac[_0x34eeac[_0x5a505c(0x1d5)]=0x1b5c]=_0x5a505c(0x1d5),_0x34eeac[_0x34eeac[_0x5a505c(0x166)]=0x1b5d]=_0x5a505c(0x166),_0x34eeac[_0x34eeac['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5a505c(0x1f6),_0x34eeac[_0x34eeac[_0x5a505c(0x16c)]=0x2329]=_0x5a505c(0x16c),_0x34eeac[_0x34eeac[_0x5a505c(0x25d)]=0x232a]=_0x5a505c(0x25d),_0x34eeac[_0x34eeac['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5a505c(0x1ee),_0x34eeac[_0x34eeac[_0x5a505c(0x2b0)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x34eeac[_0x34eeac[_0x5a505c(0x34d)]=0x232d]=_0x5a505c(0x34d),_0x34eeac[_0x34eeac['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x34eeac[_0x34eeac['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x34eeac[_0x34eeac[_0x5a505c(0x12e)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x34eeac[_0x34eeac[_0x5a505c(0x283)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x34eeac[_0x34eeac['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5a505c(0x1e8),_0x34eeac[_0x34eeac[_0x5a505c(0x27a)]=0x271b]=_0x5a505c(0x27a),_0x34eeac[_0x34eeac['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x5a505c(0x29b),_0x34eeac[_0x34eeac[_0x5a505c(0x249)]=0x271d]=_0x5a505c(0x249),_0x34eeac[_0x34eeac[_0x5a505c(0x24f)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x34eeac[_0x34eeac[_0x5a505c(0x1ea)]=0x271f]=_0x5a505c(0x1ea),_0x34eeac[_0x34eeac['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5a505c(0x209),_0x34eeac[_0x34eeac[_0x5a505c(0x2bb)]=0x2af9]=_0x5a505c(0x2bb),_0x34eeac[_0x34eeac['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5a505c(0x1d3),_0x34eeac[_0x34eeac[_0x5a505c(0x287)]=0x2ee2]=_0x5a505c(0x287),_0x34eeac[_0x34eeac[_0x5a505c(0x1a3)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x34eeac[_0x34eeac[_0x5a505c(0x256)]=0x2ee4]=_0x5a505c(0x256),_0x34eeac[_0x34eeac[_0x5a505c(0x17c)]=0x2ee5]=_0x5a505c(0x17c),_0x34eeac[_0x34eeac[_0x5a505c(0x302)]=0x32c9]=_0x5a505c(0x302),_0x34eeac[_0x34eeac[_0x5a505c(0x196)]=0x32ca]=_0x5a505c(0x196),_0x34eeac[_0x34eeac[_0x5a505c(0x23d)]=0x32cb]=_0x5a505c(0x23d),_0x34eeac[_0x34eeac[_0x5a505c(0x31d)]=-0x1]='UNRECOGNIZED',_0x34eeac))(_0x28bea2||{}),_0x396c8c=Object[_0x5a505c(0x239)],_0x239ef1=(_0x183649,_0x3fb6f9,_0x11e450,_0x25068b)=>{const _0x12a1a7=_0x5a505c;for(var _0x278ea9=_0x25068b>0x1?void 0x0:_0x25068b?_0x396c8c(_0x3fb6f9,_0x11e450):_0x3fb6f9,_0x38e045=_0x183649[_0x12a1a7(0x171)]-0x1,_0x5d7efd;_0x38e045>=0x0;_0x38e045--)(_0x5d7efd=_0x183649[_0x38e045])&&(_0x278ea9=_0x5d7efd(_0x278ea9)||_0x278ea9);return _0x278ea9;},_0x19953d=(_0x423441,_0x4136b2)=>(_0x4d64dc,_0x52608a)=>_0x4136b2(_0x4d64dc,_0x52608a,_0x423441);_0x4853c8[_0x5a505c(0xc1)]=class extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(_0x5b000e,_0x55b398,_0x347379){const _0x2232e8=_0x5a505c;super(),this[_0x2232e8(0x14a)]=_0x5b000e,this[_0x2232e8(0x2ff)]=_0x55b398,this[_0x2232e8(0x260)]=_0x347379;}async[_0x5a505c(0xde)](_0x185176,_0x3ebaa7,_0x1d6f28,..._0x5ec1d9){const _0x196ac3=_0x5a505c;var _0x12ae36,_0x17cc19,_0x5c1233,_0x280201;const _0x41d580=this[_0x196ac3(0x14a)][_0x196ac3(0x290)]();if(!_0x41d580)throw new Error(_0x196ac3(0x2b9));const _0x147419=((_0x12ae36=this[_0x196ac3(0x260)][_0x196ac3(0x100)](_0x250f51[_0x196ac3(0x28a)]))!=null?_0x12ae36:_0x250f51[_0x196ac3(0x178)])+'/'+_0x185176+_0x196ac3(0x261)+_0x3ebaa7,_0x51cccd=new URL(window[_0x196ac3(0x15e)][_0x196ac3(0x17b)]),_0x2a3bed={'scriptId':_0x185176,'runId':(_0x17cc19=_0x51cccd[_0x196ac3(0x13d)]['get'](_0x196ac3(0x259)))!=null?_0x17cc19:'','function':_0x3ebaa7,'unitId':_0x41d580[_0x196ac3(0x262)](),'argsOfFunction':JSON[_0x196ac3(0x1b6)](_0x5ec1d9),'invokeId':(_0x5c1233=_0x1d6f28[_0x196ac3(0x1e0)])!=null?_0x5c1233:'','executionId':(_0x280201=_0x1d6f28['executionId'])!=null?_0x280201:''};try{const _0x699f81=await this['_httpService'][_0x196ac3(0xfe)](_0x147419,{'body':_0x2a3bed});return _0x699f81[_0x196ac3(0x267)][_0x196ac3(0x2df)]&&_0x699f81['body']['error']['code']!==_0x28bea2['OK']?_0x196ac3(0x26c):_0x699f81[_0x196ac3(0x267)][_0x196ac3(0xd2)];}catch{return _0x196ac3(0x26c);}}},_0x4853c8[_0x5a505c(0xc1)]=_0x239ef1([_0x19953d(0x0,_0x31c42f[_0x5a505c(0xe8)]),_0x19953d(0x1,_0x31c42f['Inject'](_0x294bf6[_0x5a505c(0x1fa)])),_0x19953d(0x2,_0x31c42f[_0x5a505c(0x16d)])],_0x4853c8[_0x5a505c(0xc1)]);const _0x435408=0x7530,_0x3aff14=_0x5a505c(0x19d);class _0x5b753a extends _0x31c42f[_0x5a505c(0x1e1)]{constructor(){const _0x3fb5ba=_0x5a505c;super(),_0x5c9071(this,'_id',_0x31c42f[_0x3fb5ba(0x301)]()),_0x5c9071(this,_0x3fb5ba(0x358),new Set()),_0x5c9071(this,_0x3fb5ba(0x1e6),new Map()),_0x5c9071(this,_0x3fb5ba(0x20d),null),_0x5c9071(this,_0x3fb5ba(0x19b),new Map()),_0x5c9071(this,'_unitStatus',new Map()),this[_0x3fb5ba(0x323)]();}['dispose'](){const _0x3f8090=_0x5a505c;super[_0x3f8090(0x30a)](),this[_0x3f8090(0x19b)]['forEach']((_0x15fb6b,_0x3b2e14)=>this[_0x3f8090(0x297)](_0x3b2e14)),this['_heartbeatTimer']&&window[_0x3f8090(0x349)](this[_0x3f8090(0x20d)]);}[_0x5a505c(0x29d)](_0x39e84a){const _0x18efdd=_0x5a505c;return this['_ensureSubject'](_0x39e84a)['pipe'](_0x19f1b5[_0x18efdd(0x1f0)]());}['editingUnit'](_0x5f3aea){const _0x4fe7c1=_0x5a505c;this['_selfUnitIDs']['size']===0x0&&this[_0x4fe7c1(0x235)](),this[_0x4fe7c1(0x358)][_0x4fe7c1(0x13c)](_0x5f3aea),this[_0x4fe7c1(0x11f)]({'type':0x0,'memberID':this[_0x4fe7c1(0x1cb)],'unitIDs':[_0x5f3aea],'isForwarded':!0x1});}[_0x5a505c(0x231)](_0x47cca0){const _0x23c92d=_0x5a505c;this[_0x23c92d(0x358)][_0x23c92d(0x1b5)](_0x47cca0),this[_0x23c92d(0x358)]['size']===0x0&&this[_0x23c92d(0x20d)]&&window[_0x23c92d(0x349)](this[_0x23c92d(0x20d)]);}[_0x5a505c(0x323)](){const _0x49c156=_0x5a505c;this[_0x49c156(0x2c7)](_0x31c42f[_0x49c156(0xe0)](_0x19f1b5[_0x49c156(0x1df)](window,_0x49c156(0x2ab))['subscribe'](_0x60786=>{const _0x294efd=_0x49c156;if(_0x60786[_0x294efd(0x234)]!==_0x3aff14||!_0x60786[_0x294efd(0x11a)])return;const _0x22dec2=JSON['parse'](_0x60786[_0x294efd(0x11a)]);this[_0x294efd(0xf8)](_0x22dec2);}))),window[_0x49c156(0x2d8)](_0x49c156(0x13e),()=>this[_0x49c156(0x11f)]({'type':0x1,'memberID':this[_0x49c156(0x1cb)],'unitIDs':Array[_0x49c156(0x331)](this[_0x49c156(0x358)])}));}[_0x5a505c(0xf8)](_0x55136d){const _0x2ccb06=_0x5a505c;switch(_0x55136d[_0x2ccb06(0x29c)]){case 0x0:this[_0x2ccb06(0x19a)](_0x55136d);break;case 0x1:this[_0x2ccb06(0x264)](_0x55136d);break;case 0x2:this['_handleHeartbeatEvent'](_0x55136d);break;}}[_0x5a505c(0x19a)](_0xb125a4){const {unitIDs:_0x36ddcb,memberID:_0x200746,isForwarded:_0x52c4d6}=_0xb125a4;_0x36ddcb['forEach'](_0x4906fe=>{const _0x3e8b0a=_0x1d10;if(!_0x52c4d6&&this[_0x3e8b0a(0x1e6)][_0x3e8b0a(0x268)](_0x4906fe)&&this[_0x3e8b0a(0x2eb)](_0x4906fe)[_0x3e8b0a(0x22d)](_0x250f51[_0x3e8b0a(0x2a4)][_0x3e8b0a(0x27d)]),!this['_unitOnClients'][_0x3e8b0a(0x268)](_0x4906fe)||!this[_0x3e8b0a(0x1e6)][_0x3e8b0a(0x2af)](_0x4906fe)[_0x3e8b0a(0x268)](_0x200746)){const _0x366231=this['_unitOnClients'][_0x3e8b0a(0x2af)](_0x4906fe)||new Set();_0x366231[_0x3e8b0a(0x13c)](_0x200746),this[_0x3e8b0a(0x1e6)][_0x3e8b0a(0x277)](_0x4906fe,_0x366231),this[_0x3e8b0a(0x1b7)](_0x200746);}}),_0x52c4d6||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5a505c(0x1b7)](_0x55c4b6){const _0x293076=_0x5a505c;this[_0x293076(0x297)](_0x55c4b6);const _0x544be9=window[_0x293076(0x226)](()=>{const _0x1d877c=_0x293076;this[_0x1d877c(0x1e6)][_0x1d877c(0x1de)](_0xd621d=>{const _0x1dd71f=_0x1d877c;_0xd621d[_0x1dd71f(0x1b5)](_0x55c4b6);});},_0x435408*0x2);this[_0x293076(0x19b)]['set'](_0x55c4b6,_0x544be9);}[_0x5a505c(0x297)](_0x1fa57f){const _0xb39406=_0x5a505c;if(this[_0xb39406(0x19b)][_0xb39406(0x268)](_0x1fa57f)){const _0xcc7eba=this[_0xb39406(0x19b)][_0xb39406(0x2af)](_0x1fa57f);_0xcc7eba&&window[_0xb39406(0x1a6)](_0xcc7eba),this[_0xb39406(0x19b)][_0xb39406(0x277)](_0x1fa57f,null);}}[_0x5a505c(0x264)](_0x4519eb){const _0x54907b=_0x5a505c,{memberID:_0x5e9aa3,unitIDs:_0xbae276}=_0x4519eb;_0xbae276[_0x54907b(0x1de)](_0x17bec5=>{const _0x3d58b7=_0x54907b;var _0x321aad;const _0x3b0ca7=this['_unitOnClients'][_0x3d58b7(0x2af)](_0x17bec5);_0x3b0ca7&&(_0x3b0ca7[_0x3d58b7(0x1b5)](_0x5e9aa3),(_0x321aad=this[_0x3d58b7(0x2eb)](_0x17bec5))==null||_0x321aad['next'](_0x3b0ca7[_0x3d58b7(0x148)]===0x0?_0x250f51[_0x3d58b7(0x2a4)][_0x3d58b7(0x1ac)]:_0x250f51[_0x3d58b7(0x2a4)]['OTHER_CLIENTS_EDITING']));}),this[_0x54907b(0x297)](_0x5e9aa3);}['_handleHeartbeatEvent'](_0x30bdaf){this['_scheduleClearOtherTimer'](_0x30bdaf['memberID']);}['_send'](_0x58b3f0){const _0x535448=_0x5a505c;localStorage['setItem'](_0x3aff14,JSON[_0x535448(0x1b6)](_0x58b3f0));}[_0x5a505c(0x235)](){const _0x14023c=_0x5a505c;this[_0x14023c(0x20d)]=window['setInterval'](()=>{const _0x1b2a9e=_0x14023c;this['_send']({'type':0x2,'memberID':this[_0x1b2a9e(0x1cb)]});},_0x435408);}[_0x5a505c(0x2eb)](_0x47404e){const _0x59f408=_0x5a505c;return this[_0x59f408(0x2cd)][_0x59f408(0x268)](_0x47404e)||this[_0x59f408(0x2cd)][_0x59f408(0x277)](_0x47404e,new _0x19f1b5[(_0x59f408(0x271))](_0x250f51[_0x59f408(0x2a4)][_0x59f408(0x1ac)])),this[_0x59f408(0x2cd)][_0x59f408(0x2af)](_0x47404e);}}_0x4853c8[_0x5a505c(0x252)]=_0x2b3810,_0x4853c8[_0x5a505c(0x160)]=_0x2dccfc,_0x4853c8['WebBrowserSingleActiveUnitService']=_0x5b753a,_0x4853c8['WebURLService']=_0x323909,Object[_0x5a505c(0x153)](_0x4853c8,Symbol[_0x5a505c(0x21f)],{'value':_0x5a505c(0x141)});}));