@univerjs-pro/collaboration-client-ui 0.10.14-nightly.202511031023 → 0.10.14-nightly.202511070640
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x28d7(){const _0x3e8daf=['ISocketService','_shapes','getUndoRedoMutationParamsCache','Workbook','UniverCollaborationClientPlugin','post','toRgbString','_colorIndex','_updateURLWithCurrentState','EffectRefRangId','unit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','endColumn','CONFLICT','REDEMPTION_USER_NOT_ELIGIBLE','min','...','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getOwnPropertyDescriptor','BehaviorSubject','ticket','IMessageService','IRemoteInstanceService','collabStatus.syncing','OFFLINE','_beforeCloseService','_drawTextRange','collabCursorState$','IBeforeCloseService','arc','/run/','1101993CoydmQ','session.connection-failed','addObject','REDEMPTION_CODE_NOT_STARTED','IUniverInstanceService','jsx','ranges','LocaleService','WebSocketService','PAYMENT_CHANNEL_NOT_SUPPORT','createSocket','displayName','currentTheme$','_checkCalculationAvailable','currentUsage','_showGuardMessage','mergeOverrideWithDependencies','_getSessionTicket','startsWith','unsubscribe','SetTextSelectionsOperation','START_CALCULATION','ALREADY_EXISTS','_getFormulaLimitStatus','FETCH_MISS','registerRefRange','OTHER_CLIENT_EDITING','DependentOn','_collabSessionService','onPointerLeave$','isFormulaString','ITransformService','_logService','InsertColCommandId','_currentUsage','urlChange$','whenReady','mutations','React','_transformHistoryAndStateStack','_getSheetObject','_updateLocalCursor','310268jpMoPl','replace','_disabled','UniverProCollaborationClient','_cachedData','cursorInfo$','_assignedColors','collabStatus.notCollab','BuiltInUIPart','_scheduleClearOtherTimer','getColor','Tooltip','LOGIN_FAILED','SetDocZoomRatioOperation','WebBrowserSingleActiveUnitService','totalFormulasToCalculate','width','fromEvent','getUnhiddenWorksheets','YUUMI_CONNECTOR_URL_NOT_FOUND','saveOfflineData','_selfUnitIDs','object','_pollingInterval','@univerjs/ui','CollaborationController','HTTPService','setStateCache','InsertRangeMoveRightCommandId','_transformPreviousActiveRange','attrs','jiqing.500','_send','split','push','ThemeService','_createSocketURL','transform','rxjs/operators','LICENSE_IMPORT_SIZE_EXCEEDED','defs','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','/universer-api/license/formula/limit/status','CURRENT_STATUS_CANNOT_OPERATE','getSheetBySheetId','150VtXhfQ','M0\x200H16V16H0z','_session','_getAnchorBounding','_lastPointer','InsertRowCommandId','subunit','contains','handleDeleteRangeMoveLeft','saveImage','off-line-icon','toString','_removeClearOtherTimer','_hovered','SNAPSHOT_INVALID_SNAPSHOT','collaboration-client-ui.config','WECHAT_HAS_BEEN_BOUND','_checkAndWaitForCalculationPermission','@univerjs-pro/collaboration-client','JOIN_ROOM_FAILED','MemberService','UNDEFINED','2uvbkeu','exhaustSavingTask','requireSession','_updateSubUnitFromURLParams','DATA_SOURCE_TOO_LARGE','fromEventSubject','height','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','runRefRangeMutations','onPointerMove$','univer-mr-2\x20univer-flex\x20univer-text-xl','on-line-icon','UNRECOGNIZED','@univerjs-pro/collaboration','_themeService','UniverProCollaborationClientUi','_initResize','_scheduleSaving','APPLY_REVISION_CONFILICT','range','PERMISSION_DENIED','YUUMI_SUBSCRIPTION_NOT_FOUND','asObservable','then','m2Prime','startColumn','HEADER_MENU','_drawAnchor','MUTATION','YUUMI_URL_COL_OUT_OF_RANGE','size','getCurrent','_handleHeartbeatEvent','getCoordByCell','rxjs','onStarting','RichTextEditingMutation','getSkeleton','BrowserCollaborationSocketService','evenodd','lineTo','MOBILE_VERIFY_CODE_MISMATCH','_httpService','NOT_COLLAB','subscribeEvent','transformRemoteChangeset','ILogService','sheetID','CHANGESET_REVISION_CONFILICT','getValue','Optional','_urlService','assignAColorForMemberID','subscribe','green.600','shift','3069300NdYrJe','resize','UniverDesign','_cursor','USER_IS_ANONYMOUS','restore','clipPath','Subject','getItem','CollaborationSessionService','runId','LOGIN_TOKEN_PROCESSING_FAILED','transformByState','hovered','_entities','assign','EMAIL_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','path','_docTransformIMECacheService','debug','UniverEngineRender','triggerDblclick','_initStatusListener','getTypeOfUnitDisposed$','_handleEvent','IConfigService','invokeId','trim','from','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformSelectionsService','_unitStatus','body','INVITE_CODE_REQUIRED','PY_RUNTIME_SCRIPT_ERROR','getActiveSheet','fillRule','stageInfo','addClipboardHook','SOCKET_FAILED_RETRY','sessionStatus$','onLocalMutation','isTransformMutationFailure','_notificationService','CONNECTOR_DATA_TOO_LARGE','beginPath','getMember','show','UniverCollaborationClientUIPlugin','_handleJoinEvent','Inject','_online','_releaseCalculationLimit','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','has','transformStateCache','IURLService','_transformService','set','_localStorageService','serializeRangeWithSheet','name','onMouseMove','add','fillStyle','_saveCache','getCollabEntity$','collab-text-range-','findNodePositionByCharIndex','hide','@univerjs/docs-ui','ISnapshotServerService','SetFormulaCalculationNotificationMutation','289377pnKqta','executionId','rgba(255,\x20255,\x20255,\x200.01)','saveTaskMap','_color','getMemberID','InsertRangeMoveDownCommandId','doc.mutation.rich-text-editing','type','SheetCollabCursorShape','clearInterval','useObservable','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CollaborationUIEventId','@univerjs/engine-formula','deserializeRangeWithSheet','engine','length','_id','_anchorDot','_onCursorDelete','DeleteRangeMoveUpCommandId','selection','setAlpha','_getScale','_hideTimer','stage','UniverDrawing','SOCKET_FAILED','_lastResponseTimestamp','_maxFormulaLimit','replaceState','_clearPolling','_initDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','1em','setItem','_initCommandInterceptor','session.collaboration-timeout','INVALID_INVITE_CODE','Failed','get','Warning','cursorInfo','_collaborationController','getAncestorScale','0\x200\x2017\x2016','REDEMPTION_INVALID_CODE','getUnit','ENTITLE_REPORT_LIMIT_EXCEED','_setupSubUnitSync','YUUMI_ALL_TABLES_IS_INVALID','REDEMPTION_CODE_HAS_BEEN_CREATED','_renderManagerService','createInstance','pushState','purple.300','getLocalCacheKey','USERS_LEAVE','INTERNAL_ERROR','_uiPartsService','unitId','_entityInit$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getUnitStatus$','fillText','transformMutationsWithChangeset','skeleton','_textBubble','_startDocCollabCursor','merge','focused$','NOT_FOUND','url(#$1','beforeCommandExecuted','defIds','location','_instanceService','collaboration.closeRoom','reconnect','ENTITLE_INSUFFICIENT_QUOTA','registerComponent','getRangePointData','search','_hover','AWAITING','endRow','operators','data','UPDATE_CURSOR','RxDisposable','isTransformMutationsWithChangesetSuccess','_context','formula.calculation.unable','INVITE_CODE_ALREADY_BOUND','_updateCollabCursors','_initStatusComponent','values','DocCollaborationEntity','addHandlerCallback','ERROR_AGAIN','source','bottom','_collabCursorState$','url(#on-line-icon_clip0_910_349)','_initEntityListener','_univerInstanceService','wsSessionTicketUrl','uni.network.url-service','@univerjs/docs','pipe','IUIPartsService','_init','textRanges','backgroundColor','key','onTransformChange$','REDEMPTION_CODE_FULLY_REDEEMED','_clearOtherTimers','setTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_injector','setShapeProps','closePath','none','_cursorShapes','event$','useRef','formula.calculation.waiting','DocIMEInputManagerService','ONLINE','getRenderById','releaseFormulaLimitUrl','unload','_docSyncEditingCollabCursorService','_ensureSubject','getSheetObject','dispose','toStringTag','setConfig','ColorKit','unshift','syncEditingCollabCursor','IDocClipboardService','updateOfflineData','SYNCED','popstate','transformIMECache','10NQgIez','_labelPosition','RemoteUniscriptService','CollaborationDataLoaderController','maxFormulaLimit','IRenderManagerService','200qErjVZ','shareReplay','_draw','?taskId=','_handleHover','with','_onCursorUpdate','_render','Rectangle','setInterval','_name','generateRandomId','_scene','entries','_document','getCellPositionByOffset','string','_saveTaskMap','setActiveRange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_initEvent','CollaborationEvent','round','complete','getActiveRange','_memberService','getMergeData','executeCommand','_config','MessageType','getViewport','takeUntil','FormulaExecuteStageType','YUUMI_AI_RUN_FAILED','Rect','SNAPSHOT_HAS_BEEN_REMOVED','toDisposable','pluginName','undoState','children','disposeUnit','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_localCacheService','YUUMI_ASYNCIO_CANCELLED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_drawRectRange','747315ESkJlq','SetWorksheetActivateCommand','_revisionService','isActive','Success','_docStateChangeManagerService','docStateChange$','code','measureText','registerDependencies','CommandType','blue.400','INVALID_ARGUMENT','includes','DeleteRangeMoveLeftCommandId','save','application/json','CollaborationSocketService','getUnitId','_startSheetCollabCursor','sessionTicket','getColorFromTheme','history','_range','drawWith','EMAIL_VERIFY_CODE_MISMATCH','_backgroundColor','_getMergeRange','Vector2','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','throttleTime','text','debounceTime','RegularPolygon','tag','SetFormulaCalculationStartMutation','translate(.97)','Disposable','_scheduleHeartbeat','ICommandService','selections','_refRangeService','getCollabCursors$','onRendered','onCommandExecuted','now','CanceledError','[CollaborationDataLoaderController]','_collaborationUIEventService','UniverSheets','stringify','current','div','some','APPLY_REJECT','black','Injector','NodePositionConvertToRectRange','map','UNIVER_DOC','Error','REDEMPTION_USER_REDEEM_TIMES_EXCEED','parse','CLOSE_ROOM','colorChannel1','@univerjs/sheets-ui','@univerjs/design','DisposableCollection','RefRangeService','UniverSheetsUi','_registerDependencies','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','parseInt','_messageService','@univerjs/sheets','fill','deepClone','ENTITLE_CAN_NOT_BUY_LOWER_OTP','xlink:href','UniverRpc','idSuffix','runOnServer','function','Loading','permission.content','getRelativeToViewportCoord','override','limitInfo','OTHER_CLIENTS_EDITING','RevisionService','color','DocSelectionManagerService','symbol','_toggleOffline','clearTimeout','result','_docTransformStateCacheService','white','m1Prime','permission.title','DOC_RANGE_TYPE','DataLoaderService','FormulaExecutedStateType','_refreshCollabCursors','_registerRenderDependencies','UniverInstanceType','4471072gJiwyf','searchParams','onPointerEnter$','LICENSE_DISTRO_REJECTED','LOCAL_CACHE_INTERVAL','send','ENTITLE_DUP_SUBSCRIPTION','CollaborationStatus','_status$','_onRefRangeChange','dispose$','isFormulaId','next','mask','APPLY_DUPLICATED','newValue','TEXT','handleDeleteRangeMoveUp','_toggleOnline','getParam','moveTo','row','addEventListener','top','_getSaveTimeout','flatMap','registerBeforeClose','441839HFAKrY','init','startRow','debounce','disposeWithMe','_roomMembers$','disableLocalCache','error','useDependency','_commandService','ILocalStorageService','collabStatus.synced','forEach','makeDirty','getStateCache','UniverUi','combineLatest','activeSheet$','Module','getConfig','_colorAssignService','transformSelections','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','SHEET_VIEWPORT_KEY','getDocRanges','currentColor','UniverNetwork','roomMembers','_anchor','_hasFormulaInDirtyRanges','USER_NOT_INVITED_CODE','_collabCursorController','_removeCollabCursors','DesktopCollaborationStatusDisplayController','collab-rect-range-','redoState','collab-client.tooltip.reconnect','collabStatus.conflict','SheetsSelectionsService','loadUnit','_cursorInfo$','unitID','_syncEditingCollabCursorService','SessionStatus','_unitOnClients','_cursors','forwardRef','collaboration.single-unit.warning','APPLY_NON_SEQUENTIAL_REVISION','APPLY_PERMISSION_DENIED','TOO_MANY_REQUESTS','DEFAULT_WS_SESSION_TICKET_URL','Unknown\x20user','getSheetId','red.300','delete','ENTITLE_CHAT_LIMIT_EXCEED','createIdentifier','amd','imageSourceType','@univerjs/core','_dataLoaderService','YUUMI_NO_CUBOID_FOR_QUESTION','ILocalCacheService','DocStateChangeManagerService','roomMembers$','COLORS','_transformUndoRedoStack','SheetSkeletonManagerService','_heartbeatTimer','actions','href','_localeService','setUndoRedoMutationParamsCache','mapTo','origin','switchMap','currentSkeleton$','column','AWAITING_WITH_PENDING','handleInsertCol','TEXT_RANGE_LAYER_INDEX','UnitStatus','_sheetSkeletonManagerService','_configService','_applyCommand','UniverIcon','CollaborationUIEventService','LOCAL_CACHE_INTERVAL_KEY','_taskIds','#FFF','Shape','ENSURE_SNAPSHOT_EXECUTION','defineProperty','filter','SUCCESS','YUUMI_RATE_OVER_LIMIT','http://www.w3.org/2000/svg','COMPLETION_FINISHED','use','INVITE_CODE_HAS_BEEN_UES','UniverDocsUi','params','removeParam','_docSkeletonManagerService','svg','_eventUnsubscribe','getTypeOfUnitAdded$','transformMutation','getUniverSheetInstance','Tools','_setFormulaLimitStatus','NodePositionConvertToCursor','_docClipboardService','getFocusedUnit','isArray'];_0x28d7=function(){return _0x3e8daf;};return _0x28d7();}function _0x2ce3(_0x25f65b,_0x5de281){const _0x28d7e0=_0x28d7();return _0x2ce3=function(_0x2ce347,_0x10f8c5){_0x2ce347=_0x2ce347-0x1e6;let _0x57b8fe=_0x28d7e0[_0x2ce347];return _0x57b8fe;},_0x2ce3(_0x25f65b,_0x5de281);}(function(_0x4aeeeb,_0xd0b9f9){const _0x4d6098=_0x2ce3,_0x1f9043=_0x4aeeeb();while(!![]){try{const _0x48ccf9=-parseInt(_0x4d6098(0x309))/0x1*(-parseInt(_0x4d6098(0x409))/0x2)+parseInt(_0x4d6098(0x39c))/0x3+-parseInt(_0x4d6098(0x2ee))/0x4+-parseInt(_0x4d6098(0x24f))/0x5*(-parseInt(_0x4d6098(0x441))/0x6)+parseInt(_0x4d6098(0x3c6))/0x7*(-parseInt(_0x4d6098(0x255))/0x8)+parseInt(_0x4d6098(0x284))/0x9*(parseInt(_0x4d6098(0x3f3))/0xa)+parseInt(_0x4d6098(0x48b))/0xb;if(_0x48ccf9===_0xd0b9f9)break;else _0x1f9043['push'](_0x1f9043['shift']());}catch(_0x559b5a){_0x1f9043['push'](_0x1f9043['shift']());}}}(_0x28d7,0xd669a),function(_0x1f0e85,_0x4ee07b){const _0x3b57cc=_0x2ce3;typeof exports==_0x3b57cc(0x3dc)&&typeof module<'u'?_0x4ee07b(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==_0x3b57cc(0x2d6)&&define[_0x3b57cc(0x343)]?define(['exports','react/jsx-runtime',_0x3b57cc(0x405),_0x3b57cc(0x345),_0x3b57cc(0x3de),_0x3b57cc(0x42b),_0x3b57cc(0x2c6),'react','@univerjs/rpc',_0x3b57cc(0x2ce),'@univerjs/engine-render','@univerjs/network',_0x3b57cc(0x488),'@univerjs/drawing',_0x3b57cc(0x416),_0x3b57cc(0x228),_0x3b57cc(0x499),_0x3b57cc(0x3ec),_0x3b57cc(0x2c5)],_0x4ee07b):(_0x1f0e85=typeof globalThis<'u'?globalThis:_0x1f0e85||self,_0x4ee07b(_0x1f0e85[_0x3b57cc(0x418)]={},_0x1f0e85[_0x3b57cc(0x3c2)],_0x1f0e85[_0x3b57cc(0x3c9)],_0x1f0e85['UniverCore'],_0x1f0e85[_0x3b57cc(0x318)],_0x1f0e85[_0x3b57cc(0x42b)],_0x1f0e85[_0x3b57cc(0x443)],_0x1f0e85['React'],_0x1f0e85[_0x3b57cc(0x2d3)],_0x1f0e85[_0x3b57cc(0x2b5)],_0x1f0e85[_0x3b57cc(0x456)],_0x1f0e85[_0x3b57cc(0x323)],_0x1f0e85[_0x3b57cc(0x36e)],_0x1f0e85[_0x3b57cc(0x4a6)],_0x1f0e85['UniverProCollaboration'],_0x1f0e85['UniverDocs'],_0x1f0e85['UniverEngineFormula'],_0x1f0e85[_0x3b57cc(0x42b)][_0x3b57cc(0x212)],_0x1f0e85[_0x3b57cc(0x2c9)]));}(this,function(_0x116b26,_0x45952e,_0x2de05c,_0x1187a4,_0x20024a,_0x1068bb,_0x64dbc4,_0x3e72b6,_0x585870,_0x2fe98e,_0x52d8dc,_0x391b32,_0x1b81cc,_0x56cf3b,_0xa5f490,_0x17f20c,_0xbede2,_0x4ba09f,_0x44ccda){'use strict';const _0x45f550=_0x2ce3;var _0xc015df=Object[_0x45f550(0x366)],_0x25a0c6=(_0x1aa1a5,_0x23d84e,_0x497013)=>_0x23d84e in _0x1aa1a5?_0xc015df(_0x1aa1a5,_0x23d84e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x497013}):_0x1aa1a5[_0x23d84e]=_0x497013,_0x4775d1=(_0x5166a5,_0x47bfc5,_0x3a2fbf)=>_0x25a0c6(_0x5166a5,typeof _0x47bfc5!=_0x45f550(0x2e0)?_0x47bfc5+'':_0x47bfc5,_0x3a2fbf);function _0x494ef5({ref:_0x56a600,..._0xf6be5}){const _0x4e3047=_0x45f550,{icon:_0x343321,id:_0x347360,className:_0x248354,extend:_0x3b8242,..._0x3d7f88}=_0xf6be5,_0x139c55=('univerjs-icon\x20univerjs-icon-'+_0x347360+'\x20'+(_0x248354||''))[_0x4e3047(0x45d)](),_0x227ff2=_0x3e72b6[_0x4e3047(0x23a)]('_'+_0x2a69a1());return _0x2e23e2(_0x343321,''+_0x347360,{'defIds':_0x343321[_0x4e3047(0x206)],'idSuffix':_0x227ff2[_0x4e3047(0x2b7)]},{'ref':_0x56a600,'className':_0x139c55,..._0x3d7f88},_0x3b8242);}function _0x2e23e2(_0x1e845c,_0x7b0184,_0x4b650f,_0x28f7d3,_0x3492c7){const _0x255e0d=_0x45f550;return _0x3e72b6['createElement'](_0x1e845c[_0x255e0d(0x2a6)],{'key':_0x7b0184,..._0x43038e(_0x1e845c,_0x4b650f,_0x3492c7),..._0x28f7d3},(_0x2975fc(_0x1e845c,_0x4b650f)[_0x255e0d(0x27c)]||[])['map']((_0x224257,_0x4250bb)=>_0x2e23e2(_0x224257,_0x7b0184+'-'+_0x1e845c['tag']+'-'+_0x4250bb,_0x4b650f,void 0x0,_0x3492c7)));}function _0x43038e(_0xfc4929,_0x1a91cf,_0x434d30){const _0x423621=_0x45f550,_0x3a74fb={..._0xfc4929[_0x423621(0x3e4)]};_0x434d30!=null&&_0x434d30['colorChannel1']&&_0x3a74fb['fill']===_0x423621(0x2c4)&&(_0x3a74fb[_0x423621(0x2cf)]=_0x434d30[_0x423621(0x2c4)]),_0xfc4929[_0x423621(0x2a6)]===_0x423621(0x2fb)&&_0x3a74fb['id']&&(_0x3a74fb['id']=_0x3a74fb['id']+_0x1a91cf[_0x423621(0x2d4)]),Object[_0x423621(0x262)](_0x3a74fb)[_0x423621(0x315)](([_0x3b323d,_0x4894b9])=>{const _0x187511=_0x423621;_0x3b323d===_0x187511(0x2fb)&&typeof _0x4894b9==_0x187511(0x265)&&(_0x3a74fb[_0x3b323d]=_0x4894b9[_0x187511(0x3c7)](/url\(#(.*)\)/,_0x187511(0x204)+_0x1a91cf[_0x187511(0x2d4)]+')'));});const {defIds:_0x34d31f}=_0x1a91cf;return!_0x34d31f||_0x34d31f[_0x423621(0x49c)]===0x0||(_0xfc4929[_0x423621(0x2a6)]===_0x423621(0x36c)&&_0x3a74fb[_0x423621(0x2d2)]&&(_0x3a74fb[_0x423621(0x2d2)]=_0x3a74fb['xlink:href']+_0x1a91cf['idSuffix']),Object[_0x423621(0x262)](_0x3a74fb)[_0x423621(0x315)](([_0x4322e5,_0x444d4d])=>{const _0x20603c=_0x423621;typeof _0x444d4d=='string'&&(_0x3a74fb[_0x4322e5]=_0x444d4d[_0x20603c(0x3c7)](/url\(#(.*)\)/,'url(#$1'+_0x1a91cf['idSuffix']+')'));})),_0x3a74fb;}function _0x2975fc(_0x5edba8,_0x1efc7b){const _0x891a2b=_0x45f550;var _0x56eb80;const {defIds:_0x51c2dd}=_0x1efc7b;return!_0x51c2dd||_0x51c2dd[_0x891a2b(0x49c)]===0x0?_0x5edba8:_0x5edba8['tag']===_0x891a2b(0x3ee)&&((_0x56eb80=_0x5edba8[_0x891a2b(0x27c)])!=null&&_0x56eb80[_0x891a2b(0x49c)])?{..._0x5edba8,'children':_0x5edba8[_0x891a2b(0x27c)][_0x891a2b(0x2be)](_0x402ef3=>typeof _0x402ef3['attrs']['id']==_0x891a2b(0x265)&&_0x51c2dd&&_0x51c2dd[_0x891a2b(0x291)](_0x402ef3[_0x891a2b(0x3e4)]['id'])?{..._0x402ef3,'attrs':{..._0x402ef3[_0x891a2b(0x3e4)],'id':_0x402ef3[_0x891a2b(0x3e4)]['id']+_0x1efc7b[_0x891a2b(0x2d4)]}}:_0x402ef3)}:_0x5edba8;}function _0x2a69a1(){const _0x498309=_0x45f550;return Math['random']()[_0x498309(0x3fe)](0x24)['substring'](0x2,0x8);}_0x494ef5['displayName']=_0x45f550(0x35f);const _0x4333a8={'tag':_0x45f550(0x372),'attrs':{'xmlns':_0x45f550(0x36a),'fill':_0x45f550(0x237),'viewBox':'0\x200\x2016\x2016','width':_0x45f550(0x4ae),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x45f550(0x453),'attrs':{'stroke':'currentColor','d':_0x45f550(0x31f),'strokeLinecap':_0x45f550(0x26b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x45f550(0x3ee),'attrs':{},'children':[{'tag':_0x45f550(0x447),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x45f550(0x453),'attrs':{'fill':'white','d':_0x45f550(0x3f4)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x32bf8d=_0x3e72b6[_0x45f550(0x337)](function(_0x410296,_0xfc3306){const _0x2b8452=_0x45f550;return _0x3e72b6['createElement'](_0x494ef5,Object[_0x2b8452(0x450)]({},_0x410296,{'id':_0x2b8452(0x3fd),'ref':_0xfc3306,'icon':_0x4333a8}));});_0x32bf8d[_0x45f550(0x3a7)]='OffLineIcon';const _0x1c6932={'tag':_0x45f550(0x372),'attrs':{'xmlns':_0x45f550(0x36a),'fill':'none','viewBox':_0x45f550(0x1e9),'width':_0x45f550(0x4ae),'height':_0x45f550(0x4ae)},'children':[{'tag':'g','attrs':{'clipPath':_0x45f550(0x223)},'children':[{'tag':_0x45f550(0x453),'attrs':{'stroke':_0x45f550(0x322),'d':_0x45f550(0x2a1),'strokeLinecap':_0x45f550(0x26b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x45f550(0x453),'attrs':{'fill':_0x45f550(0x2e5),'d':_0x45f550(0x3f4),'transform':_0x45f550(0x2a8)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x51164a=_0x3e72b6[_0x45f550(0x337)](function(_0x3756c7,_0x213ed4){const _0x23f94a=_0x45f550;return _0x3e72b6['createElement'](_0x494ef5,Object[_0x23f94a(0x450)]({},_0x3756c7,{'id':_0x23f94a(0x414),'ref':_0x213ed4,'icon':_0x1c6932}));});_0x51164a[_0x45f550(0x3a7)]='OnLineIcon';function _0x640631(_0x2e39f5){const _0x5be986=_0x45f550;switch(_0x2e39f5){case _0x2de05c['CollaborationStatus']['OFFLINE']:return'collabStatus.offline';case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x38a)]:return _0x5be986(0x32e);case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x3b4)]:return'collabStatus.fetchMiss';case _0x2de05c['CollaborationStatus']['NOT_COLLAB']:return _0x5be986(0x3cd);case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x210)]:case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x358)]:return _0x5be986(0x394);case _0x2de05c['CollaborationStatus'][_0x5be986(0x24c)]:case _0x2de05c[_0x5be986(0x2f5)]['PENDING']:return _0x5be986(0x314);}}function _0x71f5cb(_0xb5615){const _0x4dd830=_0x45f550,{status$:_0x496ab0}=_0xb5615,_0x32d255=_0x20024a[_0x4dd830(0x496)](_0x496ab0,_0x2de05c[_0x4dd830(0x2f5)][_0x4dd830(0x434)]),_0x4d0a3f=_0x20024a[_0x4dd830(0x311)](_0x1187a4[_0x4dd830(0x3a3)]),_0x1b310b=_0x20024a[_0x4dd830(0x311)](_0x2de05c[_0x4dd830(0x44a)]),_0x4281c5=_0x32d255!==_0x2de05c[_0x4dd830(0x2f5)][_0x4dd830(0x395)],_0x294412=_0x4d0a3f['t'](_0x640631(_0x32d255)),_0x288bc6=_0x4281c5?_0x45952e[_0x4dd830(0x3a1)](_0x51164a,{}):_0x45952e[_0x4dd830(0x3a1)](_0x32bf8d,{}),_0x15156f=_0x3e72b6['useCallback'](()=>{const _0x276938=_0x4dd830;_0x4281c5||_0x1b310b[_0x276938(0x20a)]();},[_0x4281c5,_0x1b310b]);function _0x5ca125(){const _0x59916a=_0x4dd830;return _0x45952e['jsxs'](_0x59916a(0x2b8),{'className':'univer-flex\x20univer-items-center','onClick':_0x15156f,'children':[_0x45952e[_0x59916a(0x3a1)](_0x59916a(0x2b8),{'className':_0x64dbc4['clsx'](_0x59916a(0x413),{'univer-text-green-500':_0x4281c5,'univer-text-red-500':!_0x4281c5}),'children':_0x288bc6}),_0x45952e[_0x59916a(0x3a1)](_0x59916a(0x2b8),{'className':_0x59916a(0x268),'children':_0x294412})]});}return _0x4281c5?_0x5ca125():_0x45952e['jsx'](_0x64dbc4[_0x4dd830(0x3d1)],{'title':_0x4d0a3f['t'](_0x4dd830(0x32d)),'children':_0x5ca125()});}var _0x491a22=Object[_0x45f550(0x38f)],_0x2fb467=(_0x3c6f38,_0x18c9bc,_0x36e0e8,_0x3c1290)=>{const _0x38f7de=_0x45f550;for(var _0x55ab2f=_0x3c1290>0x1?void 0x0:_0x3c1290?_0x491a22(_0x18c9bc,_0x36e0e8):_0x18c9bc,_0x4aa217=_0x3c6f38[_0x38f7de(0x49c)]-0x1,_0x53a63f;_0x4aa217>=0x0;_0x4aa217--)(_0x53a63f=_0x3c6f38[_0x4aa217])&&(_0x55ab2f=_0x53a63f(_0x55ab2f)||_0x55ab2f);return _0x55ab2f;},_0x4ecece=(_0x3bd181,_0x1f0135)=>(_0x19f789,_0x325306)=>_0x1f0135(_0x19f789,_0x325306,_0x3bd181);_0x116b26[_0x45f550(0x32a)]=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x3bc150,_0x472b98,_0x469d48,_0x532715){const _0x5cfd4f=_0x45f550;super(),_0x4775d1(this,_0x5cfd4f(0x2f6),new _0x1068bb['BehaviorSubject'](_0x2de05c['CollaborationStatus'][_0x5cfd4f(0x434)])),(this['_univerInstanceService']=_0x3bc150,this[_0x5cfd4f(0x234)]=_0x472b98,this[_0x5cfd4f(0x1e7)]=_0x469d48,this[_0x5cfd4f(0x1f7)]=_0x532715,this[_0x5cfd4f(0x21b)](),this['_initStatusListener']());}[_0x45f550(0x458)](){const _0x4f1304=_0x45f550;this[_0x4f1304(0x30d)](this[_0x4f1304(0x225)][_0x4f1304(0x202)][_0x4f1304(0x229)](_0x1068bb[_0x4f1304(0x355)](()=>{const _0x36db8c=_0x4f1304,_0x177eba=this['_univerInstanceService'][_0x36db8c(0x37b)]();return _0x177eba?this[_0x36db8c(0x1e7)][_0x36db8c(0x484)](_0x177eba['getUnitId']()):_0x1068bb['of'](null);}),_0x1068bb[_0x4f1304(0x355)](_0x492846=>_0x492846?_0x492846['status$']:_0x1068bb['of'](_0x2de05c[_0x4f1304(0x2f5)][_0x4f1304(0x434)])))[_0x4f1304(0x43e)](_0x287706=>{const _0x76d033=_0x4f1304;this[_0x76d033(0x2f6)][_0x76d033(0x2fa)](_0x287706);}));}[_0x45f550(0x21b)](){const _0x26769b=_0x45f550;this['disposeWithMe'](this[_0x26769b(0x1f7)][_0x26769b(0x20c)](_0x20024a[_0x26769b(0x3ce)][_0x26769b(0x423)],()=>_0x20024a['connectInjector'](_0x228bd2({'status$':this[_0x26769b(0x2f6)]['asObservable']()}),this['_injector'])));}},_0x116b26[_0x45f550(0x32a)]=_0x2fb467([_0x4ecece(0x0,_0x1187a4[_0x45f550(0x3a0)]),_0x4ecece(0x1,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x4ecece(0x2,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x3df)])),_0x4ecece(0x3,_0x20024a[_0x45f550(0x22a)])],_0x116b26['DesktopCollaborationStatusDisplayController']);function _0x228bd2(_0x314a53){const {status$:_0x26cdf9}=_0x314a53;return function(){const _0x4b0a2d=_0x2ce3;return _0x45952e[_0x4b0a2d(0x3a1)](_0x71f5cb,{'status$':_0x26cdf9});};}const _0x48aae0=_0x1187a4[_0x45f550(0x342)](_0x45f550(0x227));var _0x6faaa7=Object[_0x45f550(0x38f)],_0x2329d7=(_0x10c09d,_0x4c82cf,_0x532383,_0x415d85)=>{const _0x30b195=_0x45f550;for(var _0x405fdb=_0x415d85>0x1?void 0x0:_0x415d85?_0x6faaa7(_0x4c82cf,_0x532383):_0x4c82cf,_0x3df413=_0x10c09d[_0x30b195(0x49c)]-0x1,_0x2a1839;_0x3df413>=0x0;_0x3df413--)(_0x2a1839=_0x10c09d[_0x3df413])&&(_0x405fdb=_0x2a1839(_0x405fdb)||_0x405fdb);return _0x405fdb;},_0x2700a7=(_0x50f701,_0x45118d)=>(_0x40cb80,_0x22973b)=>_0x45118d(_0x40cb80,_0x22973b,_0x50f701);_0x116b26[_0x45f550(0x252)]=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x1432ef,_0x239eb0,_0x260368,_0x3cfe54,_0x420fee){const _0x3cb7f2=_0x45f550;super(),this[_0x3cb7f2(0x43c)]=_0x1432ef,this[_0x3cb7f2(0x3bc)]=_0x239eb0,this[_0x3cb7f2(0x312)]=_0x260368,this[_0x3cb7f2(0x346)]=_0x3cfe54,_0x420fee?_0x420fee==null||_0x420fee[_0x3cb7f2(0x3c0)]()[_0x3cb7f2(0x420)](()=>this[_0x3cb7f2(0x22b)]()):(this['_logService'][_0x3cb7f2(0x455)]('[CollaborationDataLoaderController]',_0x3cb7f2(0x3ef)),this[_0x3cb7f2(0x22b)]());}async['_init'](){const _0x4d69da=_0x45f550,_0x49170b=this[_0x4d69da(0x43c)][_0x4d69da(0x301)]('unit'),_0x3a5f7a=this[_0x4d69da(0x43c)]['getParam'](_0x4d69da(0x493)),_0x413030=this[_0x4d69da(0x43c)][_0x4d69da(0x301)](_0x4d69da(0x3f9));if(!_0x49170b||!_0x3a5f7a){this[_0x4d69da(0x3bc)][_0x4d69da(0x455)](_0x4d69da(0x2b3),_0x4d69da(0x282));return;}const _0x4acdac=await this[_0x4d69da(0x346)][_0x4d69da(0x330)](_0x49170b,Number(_0x3a5f7a),_0x413030);_0x4acdac&&_0x4acdac instanceof _0x1187a4[_0x4d69da(0x380)]&&this[_0x4d69da(0x1ed)](_0x4acdac);}async[_0x45f550(0x1ed)](_0x17f53d){const _0x5493a1=_0x45f550;await this[_0x5493a1(0x40c)](_0x17f53d),_0x17f53d[_0x5493a1(0x31a)]['pipe'](_0x1068bb[_0x5493a1(0x274)](this[_0x5493a1(0x2f8)]))['subscribe'](_0xf788cb=>{const _0x45e4ba=_0x5493a1;_0xf788cb&&this[_0x45e4ba(0x385)](_0xf788cb);}),this['_urlService'][_0x5493a1(0x3bf)]['pipe'](_0x1068bb[_0x5493a1(0x274)](this[_0x5493a1(0x2f8)]))[_0x5493a1(0x43e)](()=>this[_0x5493a1(0x40c)](_0x17f53d));}[_0x45f550(0x385)](_0x1b9c39,_0x3df1fe=!0x1){const _0x2a96c1=_0x45f550,_0x43f8d0=this[_0x2a96c1(0x43c)]['getParam'](_0x2a96c1(0x3f9));_0x1b9c39[_0x2a96c1(0x33e)]()!==_0x43f8d0&&this['_urlService']['setParam'](_0x2a96c1(0x3f9),_0x1b9c39[_0x2a96c1(0x33e)](),_0x3df1fe);}async[_0x45f550(0x40c)](_0x459fd2){const _0x1f42f9=_0x45f550;var _0x159bec;const _0x557b19=this[_0x1f42f9(0x43c)][_0x1f42f9(0x301)](_0x1f42f9(0x3f9));if(!_0x557b19||!_0x459fd2[_0x1f42f9(0x3f2)](_0x557b19)){const _0x4043ac=_0x459fd2[_0x1f42f9(0x3d8)]()[0x0],_0x41b150=_0x459fd2['getSheetBySheetId'](_0x4043ac);if(!_0x41b150)return;this['_updateURLWithCurrentState'](_0x41b150,!0x0),await this[_0x1f42f9(0x312)][_0x1f42f9(0x270)](_0x2fe98e[_0x1f42f9(0x285)]['id'],{'unitId':_0x459fd2[_0x1f42f9(0x296)](),'subUnitId':_0x4043ac});return;}((_0x159bec=_0x459fd2[_0x1f42f9(0x465)]())==null?void 0x0:_0x159bec[_0x1f42f9(0x33e)]())!==_0x557b19&&await this[_0x1f42f9(0x312)][_0x1f42f9(0x270)](_0x2fe98e['SetWorksheetActivateCommand']['id'],{'unitId':_0x459fd2[_0x1f42f9(0x296)](),'subUnitId':_0x557b19});}},_0x116b26[_0x45f550(0x252)]=_0x2329d7([_0x2700a7(0x0,_0x48aae0),_0x2700a7(0x1,_0x1187a4[_0x45f550(0x437)]),_0x2700a7(0x2,_0x1187a4[_0x45f550(0x2ab)]),_0x2700a7(0x3,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x2e9)])),_0x2700a7(0x4,_0x1187a4[_0x45f550(0x43b)](_0x585870[_0x45f550(0x393)]))],_0x116b26[_0x45f550(0x252)]);var _0x5e1ce0=Object[_0x45f550(0x38f)],_0x19d9a1=(_0x1ea789,_0x5a3019,_0xc93bcb,_0x449ab8)=>{const _0x39651=_0x45f550;for(var _0xcc3127=_0x449ab8>0x1?void 0x0:_0x449ab8?_0x5e1ce0(_0x5a3019,_0xc93bcb):_0x5a3019,_0x435271=_0x1ea789[_0x39651(0x49c)]-0x1,_0x3517b8;_0x435271>=0x0;_0x435271--)(_0x3517b8=_0x1ea789[_0x435271])&&(_0xcc3127=_0x3517b8(_0xcc3127)||_0xcc3127);return _0xcc3127;},_0x4a84ef=(_0xbcca62,_0x32e995)=>(_0xaa9e79,_0x365394)=>_0x32e995(_0xaa9e79,_0x365394,_0xbcca62);let _0x5bb55b=class extends _0x1187a4['RxDisposable']{constructor(_0x162992,_0x1b5b56){const _0x32c959=_0x45f550;super(),this[_0x32c959(0x37a)]=_0x162992,this['_imageIoService']=_0x1b5b56,this[_0x32c959(0x22b)]();}[_0x45f550(0x22b)](){const _0x215bf2=_0x45f550,_0x187839=this;this[_0x215bf2(0x30d)](this['_docClipboardService'][_0x215bf2(0x468)]({'onBeforePasteImage':async _0x2b9d9a=>{const _0x215b06=_0x215bf2,_0x5aa031=await _0x187839['_imageIoService'][_0x215b06(0x3fc)](_0x2b9d9a);return _0x5aa031?{'source':_0x5aa031[_0x215b06(0x220)],'imageSourceType':_0x5aa031[_0x215b06(0x344)]}:null;}}));}};_0x5bb55b=_0x19d9a1([_0x4a84ef(0x0,_0x1b81cc[_0x45f550(0x24a)]),_0x4a84ef(0x1,_0x56cf3b['IImageIoService'])],_0x5bb55b);const _0x5ec0ef=[_0x45f550(0x1f3),_0x45f550(0x3e5),_0x45f550(0x43f),_0x45f550(0x33f),_0x45f550(0x28f),'yellow.400'];class _0x5cc5ff extends _0x1187a4[_0x45f550(0x2a9)]{constructor(){const _0x21494e=_0x45f550;super(...arguments),_0x4775d1(this,'_assignedColors',new Map()),_0x4775d1(this,_0x21494e(0x384),0x0);}[_0x45f550(0x43d)](_0x459d30){const _0x2b0d72=_0x45f550;if(this[_0x2b0d72(0x3cc)]['has'](_0x459d30))return this[_0x2b0d72(0x3cc)]['get'](_0x459d30);const _0x3ed968=_0x5ec0ef[this[_0x2b0d72(0x384)]];return this[_0x2b0d72(0x384)]=(this['_colorIndex']+0x1)%_0x5ec0ef[_0x2b0d72(0x49c)],this[_0x2b0d72(0x3cc)][_0x2b0d72(0x47c)](_0x459d30,_0x3ed968),_0x3ed968;}}function _0x46e9a9(_0x35ee9e){const _0x2053f1=_0x45f550;let _0x220594='';for(const _0x5ceda0 of _0x35ee9e){const {startOffset:_0x92c5c5,endOffset:_0x1b477b,isActive:_0x1256b9,rangeType:_0x615d1a,segmentId:_0x3e4285,segmentPage:_0x3bb1a9}=_0x5ceda0;_0x220594[_0x2053f1(0x49c)]&&(_0x220594+=','),_0x220594+=_0x92c5c5+':'+_0x1b477b+':'+(_0x1256b9?'1':'0')+':'+_0x615d1a+':'+_0x3e4285+':'+_0x3bb1a9;}return _0x220594;}function _0xcdb123(_0x304961){const _0x51731b=_0x45f550,_0x2a9773=_0x304961['split'](','),_0x2477d7=[];for(const _0x307bf9 of _0x2a9773){const [_0x121e09,_0x9fbf9e,_0x33a6f4,_0xc89b70,_0x2577cb,_0x4a96ea]=_0x307bf9[_0x51731b(0x3e7)](':');_0x2477d7[_0x51731b(0x3e8)]({'startOffset':Number(_0x121e09),'endOffset':Number(_0x9fbf9e),'collapsed':_0x121e09===_0x9fbf9e,'isActive':_0x33a6f4==='1','rangeType':_0xc89b70===_0x1187a4['DOC_RANGE_TYPE'][_0x51731b(0x2fe)]?_0x1187a4[_0x51731b(0x2e8)][_0x51731b(0x2fe)]:_0x1187a4[_0x51731b(0x2e8)]['RECT'],'segmentId':typeof _0x2577cb=='string'?String(_0x2577cb):'','segmentPage':Number(_0x4a96ea!=null?_0x4a96ea:-0x1)});}return _0x2477d7[_0x51731b(0x2b9)](_0x2863b0=>_0x2863b0[_0x51731b(0x287)])||(_0x2477d7[0x0][_0x51731b(0x287)]=!0x0),_0x2477d7;}class _0x3cbd00 extends _0x1187a4[_0x45f550(0x215)]{constructor(){const _0x43ffe4=_0x45f550;super(...arguments),_0x4775d1(this,'_collabCursorState$',new _0x1068bb['BehaviorSubject'](null)),_0x4775d1(this,'collabCursorState$',this['_collabCursorState$'][_0x43ffe4(0x41f)]());}[_0x45f550(0x249)](_0x3b308a){const _0x24050f=_0x45f550,{unitID:_0x4c8b40,memberID:_0x520a3f,textRanges:_0x433003}=_0x3b308a,_0x1caa9a=_0x46e9a9(_0x433003);if(_0x1caa9a==='')return;const _0x57ea92={'unitID':_0x4c8b40,'memberID':_0x520a3f,'selection':_0x1caa9a};this[_0x24050f(0x222)][_0x24050f(0x2fa)](_0x57ea92);}}var _0xad61c2=Object[_0x45f550(0x38f)],_0x583d97=(_0x5c2ab7,_0x5dcd45,_0x5288e1,_0x5bb57b)=>{const _0x4cdcfa=_0x45f550;for(var _0xc2cda=_0x5bb57b>0x1?void 0x0:_0x5bb57b?_0xad61c2(_0x5dcd45,_0x5288e1):_0x5dcd45,_0x3c8e95=_0x5c2ab7[_0x4cdcfa(0x49c)]-0x1,_0x476a3c;_0x3c8e95>=0x0;_0x3c8e95--)(_0x476a3c=_0x5c2ab7[_0x3c8e95])&&(_0xc2cda=_0x476a3c(_0xc2cda)||_0xc2cda);return _0xc2cda;},_0x38bf1e=(_0xac5fb5,_0x579f30)=>(_0xa45741,_0x4327c9)=>_0x579f30(_0xa45741,_0x4327c9,_0xac5fb5);const _0x31f225=0x12c,_0x5b3860=0x64;let _0x5e29f4=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0xb98685,_0x4da786,_0x1ce1e9,_0x1a4afe,_0x492bfb,_0x50ddfb,_0x31db54,_0x299843,_0x202ea1){const _0x3a8ec1=_0x45f550;super(),_0x4775d1(this,'_online',!0x1),_0x4775d1(this,_0x3a8ec1(0x22b),!0x1),_0x4775d1(this,_0x3a8ec1(0x331),new _0x1068bb[(_0x3a8ec1(0x390))](new Map())),_0x4775d1(this,'cursorInfo$',this[_0x3a8ec1(0x331)]['asObservable']()),_0x4775d1(this,_0x3a8ec1(0x30e),new _0x1068bb[(_0x3a8ec1(0x390))]([])),_0x4775d1(this,_0x3a8ec1(0x34a),this['_roomMembers$'][_0x3a8ec1(0x229)](_0x1068bb[_0x3a8ec1(0x2a4)](_0x31f225))),_0x4775d1(this,_0x3a8ec1(0x3c5),_0x1187a4[_0x3a8ec1(0x30c)](_0x11b4f0=>{const _0x4e2b6d=_0x3a8ec1,_0x34312d={'eventID':_0xa5f490[_0x4e2b6d(0x26a)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4e2b6d(0x332)],'memberID':this[_0x4e2b6d(0x3f5)][_0x4e2b6d(0x490)](),'selection':_0x46e9a9(_0x11b4f0)}};this[_0x4e2b6d(0x3f5)]['send'](_0x34312d,this[_0x4e2b6d(0x332)]);},_0x5b3860)),(this[_0x3a8ec1(0x332)]=_0xb98685,this['_session']=_0x4da786,this[_0x3a8ec1(0x234)]=_0x1ce1e9,this[_0x3a8ec1(0x31d)]=_0x1a4afe,this['_memberService']=_0x492bfb,this[_0x3a8ec1(0x333)]=_0x50ddfb,this[_0x3a8ec1(0x47b)]=_0x31db54,this[_0x3a8ec1(0x225)]=_0x299843,this[_0x3a8ec1(0x312)]=_0x202ea1);}get[_0x45f550(0x1e6)](){const _0x5f5766=_0x45f550;return this['_cursorInfo$'][_0x5f5766(0x43a)]();}get['roomMembers'](){const _0x47d1fc=_0x45f550;return this[_0x47d1fc(0x30e)][_0x47d1fc(0x43a)]();}[_0x45f550(0x244)](){const _0x376c94=_0x45f550;super[_0x376c94(0x244)](),this[_0x376c94(0x331)][_0x376c94(0x2fa)](new Map()),this['_cursorInfo$']['complete'](),this[_0x376c94(0x30e)][_0x376c94(0x2fa)]([]),this['_roomMembers$'][_0x376c94(0x26c)]();}[_0x45f550(0x30a)](){const _0x1fb263=_0x45f550;this[_0x1fb263(0x22b)]||(this[_0x1fb263(0x22b)]=!0x0,this['_session'][_0x1fb263(0x46a)][_0x1fb263(0x229)](_0x1068bb[_0x1fb263(0x274)](this[_0x1fb263(0x2f8)]))[_0x1fb263(0x43e)](_0xbafa9f=>{const _0xa3e605=_0x1fb263;_0xbafa9f===_0x2de05c[_0xa3e605(0x334)][_0xa3e605(0x23d)]?this[_0xa3e605(0x300)]():this['_toggleOffline']();}),this[_0x1fb263(0x3f5)][_0x1fb263(0x239)][_0x1fb263(0x229)](_0x1068bb[_0x1fb263(0x274)](this['dispose$']))[_0x1fb263(0x43e)](_0x45180a=>{const _0xdd6e23=_0x1fb263,_0x24e207=_0x45180a['eventID'];_0x24e207===_0xa5f490[_0xdd6e23(0x26a)]['UPDATE_CURSOR']&&this[_0xdd6e23(0x25b)](_0x45180a),_0x24e207===_0xa5f490[_0xdd6e23(0x26a)][_0xdd6e23(0x1f5)]&&this['_onCursorDelete'](_0x45180a);}),this[_0x1fb263(0x30d)](this[_0x1fb263(0x312)][_0x1fb263(0x2b0)](_0x31486d=>{const _0x33c120=_0x1fb263,_0x305bf6=_0x31486d[_0x33c120(0x36f)];_0x305bf6!=null&&this[_0x33c120(0x475)]&&_0x31486d['id']===_0x17f20c[_0x33c120(0x3b0)]['id']&&_0x305bf6[_0x33c120(0x1f8)]===this[_0x33c120(0x332)]&&_0x305bf6['isEditing']===!0x1&&_0x305bf6['ranges']['length']>0x0&&this[_0x33c120(0x3c5)](_0x305bf6['ranges']);})),this[_0x1fb263(0x333)][_0x1fb263(0x398)][_0x1fb263(0x229)](_0x1068bb[_0x1fb263(0x274)](this[_0x1fb263(0x2f8)]))[_0x1fb263(0x43e)](_0x47bf57=>{const _0x2890d0=_0x1fb263;if((_0x47bf57==null?void 0x0:_0x47bf57[_0x2890d0(0x332)])!==this[_0x2890d0(0x332)])return;const _0x156b48={'eventID':_0xa5f490[_0x2890d0(0x26a)]['UPDATE_CURSOR'],'data':_0x47bf57};this[_0x2890d0(0x25b)](_0x156b48);}),this[_0x1fb263(0x30d)](this[_0x1fb263(0x312)]['onCommandExecuted'](_0x3dd847=>{const _0x1af1c4=_0x1fb263;if(_0x3dd847['params']==null)return;const _0x75d3f5=_0x3dd847[_0x1af1c4(0x36f)];if(_0x3dd847['id']!==_0x17f20c[_0x1af1c4(0x42d)]['id']||_0x75d3f5[_0x1af1c4(0x1f8)]!==this[_0x1af1c4(0x332)])return;const _0x12d456={'id':_0x1af1c4(0x492),'params':_0x75d3f5},_0x21ceba=this[_0x1af1c4(0x1e6)];for(const [_0x329940,_0x3b5652]of _0x21ceba){const _0xb87f17={'id':_0x1af1c4(0x492),'params':{'unitId':this[_0x1af1c4(0x332)],'actions':null,'textRanges':_0x3b5652[_0x1af1c4(0x3a2)]}},_0x2ace6c=this[_0x1af1c4(0x47b)][_0x1af1c4(0x375)](_0x12d456,_0xb87f17,!0x1);if(_0xa5f490[_0x1af1c4(0x46c)](_0x2ace6c))throw _0x2ace6c[_0x1af1c4(0x310)];_0x21ceba[_0x1af1c4(0x47c)](_0x329940,{..._0x3b5652,'ranges':_0x2ace6c['m2Prime']['params'][_0x1af1c4(0x22c)]});}queueMicrotask(()=>{const _0x22f394=_0x1af1c4;this[_0x22f394(0x331)][_0x22f394(0x2fa)](_0x21ceba);});})));}['_onCursorUpdate'](_0xffaa2e){const _0x506cce=_0x45f550;var _0x359553,_0x691c44;const {memberID:_0x138882,selection:_0x50096a}=_0xffaa2e[_0x506cce(0x213)],_0x30263f=_0xcdb123(_0x50096a),_0x152471=(_0x691c44=(_0x359553=this[_0x506cce(0x26e)][_0x506cce(0x470)](this[_0x506cce(0x332)],_0x138882))==null?void 0x0:_0x359553[_0x506cce(0x47f)])!=null?_0x691c44:_0x506cce(0x33d),_0x5b8232={'color':this['_colorAssignService'][_0x506cce(0x43d)](_0x138882),'name':_0x152471,'ranges':_0x30263f},_0x2cec7f=this[_0x506cce(0x1e6)];_0x2cec7f[_0x506cce(0x47c)](_0x138882,_0x5b8232),this[_0x506cce(0x331)][_0x506cce(0x2fa)](_0x2cec7f);}[_0x45f550(0x49f)](_0x351f8d){const _0x228ca3=_0x45f550,{memberID:_0x58e18a}=_0x351f8d['data'],_0x4df7b9=this[_0x228ca3(0x1e6)];_0x4df7b9[_0x228ca3(0x340)](_0x58e18a),this[_0x228ca3(0x331)][_0x228ca3(0x2fa)](_0x4df7b9);}[_0x45f550(0x300)](){const _0x19761c=_0x45f550;var _0x1ee8ca;if(this[_0x19761c(0x475)]=!0x0,((_0x1ee8ca=this[_0x19761c(0x225)][_0x19761c(0x37b)]())==null?void 0x0:_0x1ee8ca[_0x19761c(0x296)]())!==this[_0x19761c(0x332)])return;const _0x2d7283=this[_0x19761c(0x234)][_0x19761c(0x4b4)](_0x17f20c[_0x19761c(0x2df)])[_0x19761c(0x321)]();Array[_0x19761c(0x37c)](_0x2d7283)&&_0x2d7283['length']>0x0&&this[_0x19761c(0x3c5)](_0x2d7283);}[_0x45f550(0x2e1)](){const _0x59b562=_0x45f550;this[_0x59b562(0x475)]=!0x1;}};_0x5e29f4=_0x583d97([_0x38bf1e(0x2,_0x1187a4[_0x45f550(0x474)](_0x1187a4['Injector'])),_0x38bf1e(0x3,_0x1187a4[_0x45f550(0x474)](_0x5cc5ff)),_0x38bf1e(0x4,_0x1187a4['Inject'](_0x2de05c[_0x45f550(0x407)])),_0x38bf1e(0x5,_0x1187a4[_0x45f550(0x474)](_0x3cbd00)),_0x38bf1e(0x6,_0xa5f490[_0x45f550(0x3bb)]),_0x38bf1e(0x7,_0x1187a4[_0x45f550(0x3a0)]),_0x38bf1e(0x8,_0x1187a4['ICommandService'])],_0x5e29f4);var _0x40f37e=Object[_0x45f550(0x38f)],_0x2e3808=(_0x84650b,_0x44180b,_0x12c8c3,_0x109db4)=>{const _0x4073dd=_0x45f550;for(var _0x30ba83=_0x109db4>0x1?void 0x0:_0x109db4?_0x40f37e(_0x44180b,_0x12c8c3):_0x44180b,_0x4bc3a5=_0x84650b[_0x4073dd(0x49c)]-0x1,_0x2f3e44;_0x4bc3a5>=0x0;_0x4bc3a5--)(_0x2f3e44=_0x84650b[_0x4bc3a5])&&(_0x30ba83=_0x2f3e44(_0x30ba83)||_0x30ba83);return _0x30ba83;},_0x4ea09b=(_0x55a7ed,_0x14401f)=>(_0x4e5c20,_0x2934d9)=>_0x14401f(_0x4e5c20,_0x2934d9,_0x55a7ed);const _0x13a196=0x12c,_0x56c654=0x64,_0x820a61=()=>{let _0x10ca9f=[],_0x378ea2=!0x1;return _0x3132c0=>{const _0x414ba5=_0x2ce3;_0x10ca9f[_0x414ba5(0x3e8)](_0x3132c0),_0x378ea2||(_0x378ea2=!0x0,setTimeout(()=>{const _0x485670=_0x414ba5;_0x10ca9f[_0x485670(0x315)](_0x4436fa=>_0x4436fa()),_0x10ca9f=[],_0x378ea2=!0x1;}));};};let _0x1b6df5=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x3d918b,_0xcb40bf,_0x446f2f,_0x2073b4,_0x4a2f46,_0x4a5d52,_0xb46402,_0x2e0596){const _0x41fdcf=_0x45f550;super(),_0x4775d1(this,_0x41fdcf(0x475),!0x1),_0x4775d1(this,_0x41fdcf(0x22b),!0x1),_0x4775d1(this,_0x41fdcf(0x331),new _0x1068bb[(_0x41fdcf(0x390))](new Map())),_0x4775d1(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x4775d1(this,_0x41fdcf(0x30e),new _0x1068bb[(_0x41fdcf(0x390))]([])),_0x4775d1(this,'roomMembers$',this[_0x41fdcf(0x30e)][_0x41fdcf(0x229)](_0x1068bb[_0x41fdcf(0x2a4)](_0x13a196))),_0x4775d1(this,'_updateLocalCursor',_0x1187a4['debounce']((_0x125811,_0x26225b)=>{const _0x3602d1=_0x41fdcf,_0x4f2eef={'eventID':_0xa5f490[_0x3602d1(0x26a)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3602d1(0x332)],'memberID':this[_0x3602d1(0x3f5)][_0x3602d1(0x490)](),'selection':_0xbede2[_0x3602d1(0x47e)](_0x125811,_0x26225b[_0x3602d1(0x41c)])}};this[_0x3602d1(0x3f5)][_0x3602d1(0x2f3)](_0x4f2eef,this[_0x3602d1(0x332)]);},_0x56c654)),(this[_0x41fdcf(0x332)]=_0x3d918b,this[_0x41fdcf(0x3f5)]=_0xcb40bf,this['_injector']=_0x446f2f,this[_0x41fdcf(0x31d)]=_0x2073b4,this['_memberService']=_0x4a2f46,this['_univerInstanceService']=_0x4a5d52,this[_0x41fdcf(0x312)]=_0xb46402,this[_0x41fdcf(0x2ad)]=_0x2e0596);}get[_0x45f550(0x1e6)](){const _0x34d085=_0x45f550;return this[_0x34d085(0x331)][_0x34d085(0x43a)]();}get[_0x45f550(0x324)](){const _0x2bbcae=_0x45f550;return this[_0x2bbcae(0x30e)][_0x2bbcae(0x43a)]();}[_0x45f550(0x244)](){const _0x45f01a=_0x45f550;super[_0x45f01a(0x244)](),this[_0x45f01a(0x331)][_0x45f01a(0x2fa)](new Map()),this[_0x45f01a(0x331)][_0x45f01a(0x26c)](),this['_roomMembers$'][_0x45f01a(0x2fa)]([]),this['_roomMembers$']['complete']();}[_0x45f550(0x30a)](){const _0x3926fb=_0x45f550;this[_0x3926fb(0x22b)]||(this[_0x3926fb(0x22b)]=!0x0,this[_0x3926fb(0x3f5)][_0x3926fb(0x46a)][_0x3926fb(0x229)](_0x1068bb['takeUntil'](this[_0x3926fb(0x2f8)]))[_0x3926fb(0x43e)](_0x4c144b=>{const _0x557f3c=_0x3926fb;_0x4c144b===_0x2de05c[_0x557f3c(0x334)]['ONLINE']?this[_0x557f3c(0x300)]():this[_0x557f3c(0x2e1)]();}),this['_session']['event$'][_0x3926fb(0x229)](_0x1068bb['takeUntil'](this[_0x3926fb(0x2f8)]))[_0x3926fb(0x43e)](_0x3b29b1=>{const _0x58a669=_0x3926fb,_0x34ce2b=_0x3b29b1['eventID'];_0x34ce2b===_0xa5f490[_0x58a669(0x26a)][_0x58a669(0x214)]&&this['_onCursorUpdate'](_0x3b29b1),_0x34ce2b===_0xa5f490[_0x58a669(0x26a)]['USERS_LEAVE']&&this[_0x58a669(0x49f)](_0x3b29b1);}),this[_0x3926fb(0x2f7)](),this[_0x3926fb(0x30d)](this[_0x3926fb(0x312)][_0x3926fb(0x2b0)](_0xe8441c=>{const _0x30ff1b=_0x3926fb;if(this[_0x30ff1b(0x475)]&&_0xe8441c['id']===_0x2fe98e['SetSelectionsOperation']['id']&&_0xe8441c[_0x30ff1b(0x36f)]['unitId']===this['unitID']){const _0x1d64e7=_0xe8441c['params'];this['_updateLocalCursor'](_0x1d64e7['subUnitId'],_0x1d64e7[_0x30ff1b(0x2ac)][0x0]);}})));}[_0x45f550(0x25b)](_0x1a4b1e){const _0x45b3eb=_0x45f550;var _0x41cae7,_0x1dbf9f;const {memberID:_0x1a8716,selection:_0x17c87e}=_0x1a4b1e['data'],{sheetName:_0x2d00e7,range:_0x364488}=_0xbede2[_0x45b3eb(0x49a)](_0x17c87e),_0x527eb1={'name':(_0x1dbf9f=(_0x41cae7=this[_0x45b3eb(0x26e)]['getMember'](this[_0x45b3eb(0x332)],_0x1a8716))==null?void 0x0:_0x41cae7[_0x45b3eb(0x47f)])!=null?_0x1dbf9f:_0x45b3eb(0x33d),'range':this['_getMergeRange'](_0x2d00e7,_0x364488),'sheetID':_0x2d00e7,'color':this[_0x45b3eb(0x31d)]['assignAColorForMemberID'](_0x1a8716),'selection':_0x17c87e},_0x3d4fc8=this[_0x45b3eb(0x1e6)];_0x3d4fc8[_0x45b3eb(0x47c)](_0x1a8716,_0x527eb1),this[_0x45b3eb(0x331)][_0x45b3eb(0x2fa)](_0x3d4fc8);}['_onCursorDelete'](_0x4b14f8){const _0x2758ea=_0x45f550,{memberID:_0x578be7}=_0x4b14f8[_0x2758ea(0x213)],_0x340932=this[_0x2758ea(0x1e6)];_0x340932[_0x2758ea(0x340)](_0x578be7),this['_cursorInfo$'][_0x2758ea(0x2fa)](_0x340932);}[_0x45f550(0x29f)](_0x4d33c9,_0x3b5b17){const _0x43782a=_0x45f550;var _0x3441f9,_0x24f938;const _0x2c7f39=(_0x24f938=(_0x3441f9=this[_0x43782a(0x225)][_0x43782a(0x376)](this[_0x43782a(0x332)]))==null?void 0x0:_0x3441f9[_0x43782a(0x3f2)](_0x4d33c9))==null?void 0x0:_0x24f938[_0x43782a(0x26f)]();return(_0x2c7f39==null?void 0x0:_0x2c7f39['find'](_0x5cedef=>_0x1187a4[_0x43782a(0x25d)][_0x43782a(0x3fa)](_0x5cedef,_0x3b5b17)))||_0x3b5b17;}[_0x45f550(0x2f7)](){const _0x55fcda=_0x45f550,_0x47520f=new _0x1187a4[(_0x55fcda(0x2c7))](),_0x490e84=_0x820a61(),_0x2900ff=()=>{const _0x31d36c=_0x55fcda;_0x47520f['dispose']();const _0x100371=(_0x17959f,_0x225b54,_0x3ba45b,_0x29d909)=>{const _0x151196=_0x2ce3;let _0x2ccc70=[];switch(_0x17959f['id']){case _0x2fe98e[_0x151196(0x386)][_0x151196(0x292)]:{_0x2ccc70=_0x2fe98e[_0x151196(0x3fb)](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x4a0)]:{_0x2ccc70=_0x2fe98e[_0x151196(0x2ff)](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x3bd)]:{_0x2ccc70=_0x2fe98e[_0x151196(0x359)](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x491)]:{_0x2ccc70=_0x2fe98e['handleInsertRangeMoveDown'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x3e2)]:{_0x2ccc70=_0x2fe98e['handleInsertRangeMoveRight'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x3f8)]:{_0x2ccc70=_0x2fe98e['handleInsertRow'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)]['MoveRangeCommandId']:{_0x2ccc70=_0x2fe98e['handleMoveRange'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)]['RemoveColCommandId']:{_0x2ccc70=_0x2fe98e['handleIRemoveCol'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)]['RemoveRowCommandId']:{_0x2ccc70=_0x2fe98e['handleIRemoveRow'](_0x17959f,_0x29d909);break;}}const _0x3ea530=_0x2fe98e[_0x151196(0x411)](_0x2ccc70,_0x29d909),_0x27f41e=this[_0x151196(0x1e6)][_0x151196(0x4b4)](_0x225b54);if(_0x27f41e&&_0x3ea530){const _0x276778={..._0x27f41e,'range':_0x3ea530};this[_0x151196(0x1e6)][_0x151196(0x47c)](_0x225b54,_0x276778),_0x490e84(()=>{const _0x337db1=_0x151196,_0xc13432=this['_refRangeService'][_0x337db1(0x3b5)](_0x3ea530,_0x6085eb=>(_0xc13432[_0x337db1(0x244)](),_0x100371(_0x6085eb,_0x225b54,_0x3ba45b,_0x3ea530)));_0x47520f[_0x337db1(0x481)](_0xc13432);});}return{'redos':[],'undos':[]};};this[_0x31d36c(0x1e6)][_0x31d36c(0x315)]((_0x6f25e8,_0x3713e3)=>{const _0x36f63d=_0x31d36c,{range:_0x59a6d6,sheetID:_0x24017b}=_0x6f25e8,_0x1acb16=this[_0x36f63d(0x2ad)][_0x36f63d(0x3b5)](_0x59a6d6,_0x4ee253=>(_0x1acb16[_0x36f63d(0x244)](),_0x100371(_0x4ee253,_0x3713e3,_0x24017b,_0x59a6d6)));_0x47520f[_0x36f63d(0x481)](_0x1acb16);});};this[_0x55fcda(0x30d)](_0x1187a4['toDisposable'](this[_0x55fcda(0x331)][_0x55fcda(0x43e)](()=>{_0x2900ff();})));}[_0x45f550(0x300)](){const _0x426be7=_0x45f550;var _0xf04161,_0x1c8864;if(this[_0x426be7(0x475)]=!0x0,((_0xf04161=this[_0x426be7(0x225)][_0x426be7(0x37b)]())==null?void 0x0:_0xf04161[_0x426be7(0x296)]())!==this['unitID'])return;const _0x45e37d=(_0x1c8864=this['_injector']['get'](_0x2fe98e[_0x426be7(0x32f)])['getCurrentSelections']())==null?void 0x0:_0x1c8864[0x0],_0x28864a=this[_0x426be7(0x225)]['getCurrentUnitForType'](_0x1187a4[_0x426be7(0x2ed)]['UNIVER_SHEET'])['getActiveSheet']();_0x45e37d&&_0x28864a&&this['_updateLocalCursor'](_0x28864a['getSheetId'](),_0x45e37d);}[_0x45f550(0x2e1)](){const _0x3499e1=_0x45f550;this[_0x3499e1(0x475)]=!0x1;}};_0x1b6df5=_0x2e3808([_0x4ea09b(0x2,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x4ea09b(0x3,_0x1187a4[_0x45f550(0x474)](_0x5cc5ff)),_0x4ea09b(0x4,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x407)])),_0x4ea09b(0x5,_0x1187a4[_0x45f550(0x3a0)]),_0x4ea09b(0x6,_0x1187a4['ICommandService']),_0x4ea09b(0x7,_0x1187a4['Inject'](_0x2fe98e[_0x45f550(0x2c8)]))],_0x1b6df5);var _0x30c638=Object[_0x45f550(0x38f)],_0x563405=(_0x3495c2,_0x329521,_0x14efeb,_0x3bef5c)=>{const _0x48dfa4=_0x45f550;for(var _0x52c63f=_0x3bef5c>0x1?void 0x0:_0x3bef5c?_0x30c638(_0x329521,_0x14efeb):_0x329521,_0x115e99=_0x3495c2[_0x48dfa4(0x49c)]-0x1,_0x44f879;_0x115e99>=0x0;_0x115e99--)(_0x44f879=_0x3495c2[_0x115e99])&&(_0x52c63f=_0x44f879(_0x52c63f)||_0x52c63f);return _0x52c63f;},_0x1b1bdb=(_0x58dd63,_0x26aeee)=>(_0x22daa1,_0x46e7c5)=>_0x26aeee(_0x22daa1,_0x46e7c5,_0x58dd63);let _0x12a146=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x7b9b9,_0x4e7066,_0x130099){const _0x47ce1a=_0x45f550;super(),_0x4775d1(this,'_entities',new Map()),_0x4775d1(this,_0x47ce1a(0x1f9),new _0x1068bb[(_0x47ce1a(0x448))]()),(this[_0x47ce1a(0x225)]=_0x7b9b9,this[_0x47ce1a(0x234)]=_0x4e7066,this[_0x47ce1a(0x3b8)]=_0x130099,this[_0x47ce1a(0x22b)]());}[_0x45f550(0x244)](){const _0x388cf2=_0x45f550;super['dispose'](),this[_0x388cf2(0x1f9)][_0x388cf2(0x26c)](),this['_entities'][_0x388cf2(0x315)](_0x19be0a=>_0x19be0a[_0x388cf2(0x244)]());}['getCollabCursors$'](_0x51a05b){const _0x175b41=_0x45f550;return this[_0x175b41(0x44f)][_0x175b41(0x478)](_0x51a05b)?this['_entities'][_0x175b41(0x4b4)](_0x51a05b)['cursorInfo$']:this[_0x175b41(0x1f9)][_0x175b41(0x229)](_0x1068bb[_0x175b41(0x367)](_0x4425ce=>_0x4425ce[_0x175b41(0x332)]===_0x51a05b),_0x1068bb[_0x175b41(0x355)](_0x5bbf18=>_0x5bbf18[_0x175b41(0x3cb)]));}[_0x45f550(0x22b)](){const _0x48b013=_0x45f550;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1187a4[_0x48b013(0x2ed)]['UNIVER_SHEET'])[_0x48b013(0x229)](_0x1068bb[_0x48b013(0x274)](this[_0x48b013(0x2f8)]))[_0x48b013(0x43e)](async _0x22bee7=>{const _0x4c8d94=_0x48b013,_0xf7b1c4=_0x22bee7[_0x4c8d94(0x296)](),_0x28be3d=await this[_0x4c8d94(0x297)](_0xf7b1c4);this[_0x4c8d94(0x1f9)]['next'](_0x28be3d),this[_0x4c8d94(0x44f)][_0x4c8d94(0x47c)](_0xf7b1c4,_0x28be3d);}),this[_0x48b013(0x225)][_0x48b013(0x374)](_0x1187a4[_0x48b013(0x2ed)][_0x48b013(0x2bf)])[_0x48b013(0x229)](_0x1068bb[_0x48b013(0x274)](this['dispose$']))[_0x48b013(0x229)](_0x1068bb[_0x48b013(0x367)](_0x120d66=>!_0x120d66['getUnitId']()[_0x48b013(0x3ae)]('__')))[_0x48b013(0x43e)](async _0x27db8c=>{const _0x58889c=_0x48b013,_0x3efc8d=_0x27db8c[_0x58889c(0x296)](),_0x42bfd9=await this[_0x58889c(0x200)](_0x3efc8d);this[_0x58889c(0x1f9)][_0x58889c(0x2fa)](_0x42bfd9),this[_0x58889c(0x44f)]['set'](_0x3efc8d,_0x42bfd9);}),_0x1068bb[_0x48b013(0x201)](this[_0x48b013(0x225)][_0x48b013(0x459)](_0x1187a4[_0x48b013(0x2ed)][_0x48b013(0x2bf)]),this[_0x48b013(0x225)][_0x48b013(0x459)](_0x1187a4[_0x48b013(0x2ed)]['UNIVER_SHEET']))[_0x48b013(0x229)](_0x1068bb['takeUntil'](this[_0x48b013(0x2f8)]))[_0x48b013(0x43e)](_0x3612d9=>{const _0x3252ea=_0x48b013,_0x781d7c=_0x3612d9[_0x3252ea(0x296)](),_0x5d76ca=this[_0x3252ea(0x44f)][_0x3252ea(0x4b4)](_0x781d7c);_0x5d76ca&&(_0x5d76ca[_0x3252ea(0x244)](),this[_0x3252ea(0x44f)][_0x3252ea(0x340)](_0x781d7c));});}async[_0x45f550(0x297)](_0x17b677){const _0x364ee0=_0x45f550,_0x523f2b=await this[_0x364ee0(0x3b8)][_0x364ee0(0x40b)](_0x17b677),_0x40e86c=this['_injector'][_0x364ee0(0x1f1)](_0x1b6df5,_0x17b677,_0x523f2b);return _0x40e86c[_0x364ee0(0x30a)](),_0x40e86c;}async[_0x45f550(0x200)](_0x2e2897){const _0xecc31e=_0x45f550,_0x10683e=await this['_collabSessionService'][_0xecc31e(0x40b)](_0x2e2897),_0xefd470=this['_injector'][_0xecc31e(0x1f1)](_0x5e29f4,_0x2e2897,_0x10683e);return _0xefd470[_0xecc31e(0x30a)](),_0xefd470;}};_0x12a146=_0x563405([_0x1b1bdb(0x0,_0x1187a4[_0x45f550(0x3a0)]),_0x1b1bdb(0x1,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x1b1bdb(0x2,_0x1187a4['Inject'](_0x2de05c[_0x45f550(0x44a)]))],_0x12a146);const _0x17be04=0x14,_0x2c4bda=0xc8,_0x217bb7=0x4,_0x125b2b=0x5;function _0xd69afb(_0x4e75f2,_0x30785e){const _0x3d7966=_0x45f550;let {radius:_0x247030,width:_0x1d45c1,height:_0xb34e27}=_0x30785e;_0x247030=_0x247030!=null?_0x247030:0x0,_0x1d45c1=_0x1d45c1!=null?_0x1d45c1:0x1e,_0xb34e27=_0xb34e27!=null?_0xb34e27:0x1e;let _0x4ea55b=0x0,_0x27078d=0x0,_0x15a492=0x0;_0x4ea55b=_0x27078d=_0x15a492=Math['min'](_0x247030,_0x1d45c1/0x2,_0xb34e27/0x2),_0x4e75f2[_0x3d7966(0x46f)](),_0x4e75f2[_0x3d7966(0x302)](_0x4ea55b,0x0),_0x4e75f2[_0x3d7966(0x431)](_0x1d45c1-_0x27078d,0x0),_0x4e75f2[_0x3d7966(0x39a)](_0x1d45c1-_0x27078d,_0x27078d,_0x27078d,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e75f2[_0x3d7966(0x431)](_0x1d45c1,_0xb34e27-_0x15a492),_0x4e75f2[_0x3d7966(0x39a)](_0x1d45c1-_0x15a492,_0xb34e27-_0x15a492,_0x15a492,0x0,Math['PI']/0x2,!0x1),_0x4e75f2[_0x3d7966(0x431)](0x0,_0xb34e27),_0x4e75f2[_0x3d7966(0x431)](0x0,_0x4ea55b),_0x4e75f2[_0x3d7966(0x39a)](_0x4ea55b,_0x4ea55b,_0x4ea55b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e75f2[_0x3d7966(0x236)](),_0x30785e['fill']&&(_0x4e75f2[_0x3d7966(0x293)](),_0x4e75f2[_0x3d7966(0x482)]=_0x30785e[_0x3d7966(0x2cf)],_0x30785e[_0x3d7966(0x466)]===_0x3d7966(0x430)?_0x4e75f2[_0x3d7966(0x2cf)]('evenodd'):_0x4e75f2[_0x3d7966(0x2cf)](),_0x4e75f2[_0x3d7966(0x446)]());}class _0x2978f3 extends _0x52d8dc[_0x45f550(0x364)]{constructor(_0x5c6a77,_0x162d4c){const _0x107d68=_0x45f550;super(_0x5c6a77,_0x162d4c),_0x4775d1(this,_0x107d68(0x2de)),_0x4775d1(this,'text'),(this[_0x107d68(0x2de)]=_0x162d4c==null?void 0x0:_0x162d4c[_0x107d68(0x2de)],this[_0x107d68(0x2a3)]=_0x162d4c==null?void 0x0:_0x162d4c['text']);}static[_0x45f550(0x29c)](_0xe463ff,_0x4bea87){const _0x31c4e1=_0x45f550,{text:_0x14e732,color:_0x2ef6e8}=_0x4bea87;_0xe463ff[_0x31c4e1(0x293)](),_0xe463ff['font']=_0x31c4e1(0x2cb);const _0x4be780=_0xe463ff[_0x31c4e1(0x28c)](_0x14e732)[_0x31c4e1(0x3d6)],_0x1e7b02=Math[_0x31c4e1(0x38c)](_0x4be780+0x2*_0x217bb7,_0x2c4bda);_0xd69afb(_0xe463ff,{'height':_0x17be04,'radius':0x4,'width':_0x1e7b02,'fill':_0x2ef6e8}),_0xe463ff[_0x31c4e1(0x482)]=_0x31c4e1(0x363);const _0x36ad7b=_0x217bb7,_0x107db3=_0x17be04-_0x125b2b,_0x1acd58=_0x2c4bda-0x2*_0x217bb7;if(_0x4be780>_0x1acd58){let _0x392444='',_0x93a718=0x0;for(const _0x3fede8 of _0x14e732){const _0xaeb751=_0xe463ff[_0x31c4e1(0x28c)](_0x3fede8)[_0x31c4e1(0x3d6)];if(_0x93a718+_0xaeb751<=_0x1acd58-_0xe463ff[_0x31c4e1(0x28c)](_0x31c4e1(0x38d))[_0x31c4e1(0x3d6)])_0x392444+=_0x3fede8,_0x93a718+=_0xaeb751;else{_0x392444+='...';break;}}_0xe463ff[_0x31c4e1(0x1fc)](_0x392444,_0x36ad7b,_0x107db3);}else _0xe463ff['fillText'](_0x14e732,_0x36ad7b,_0x107db3);_0xe463ff[_0x31c4e1(0x446)]();}[_0x45f550(0x257)](_0x2a2418){_0x2978f3['drawWith'](_0x2a2418,this);}}const _0x3106a7='collab-text-anchor-',_0x280658=_0x45f550(0x485),_0x447db4=_0x45f550(0x32b),_0x34867a=0x6,_0x3e13d1=1.5,_0x4510f7=0x4,_0x2f7386=1.5,_0x591f9f=_0x45f550(0x48d);class _0x20f467{constructor(_0x2aca9b,_0x533405,_0x434fe0,_0x2ac8ad){const _0x55c983=_0x45f550;_0x4775d1(this,_0x55c983(0x37e),[]),_0x4775d1(this,_0x55c983(0x325),null),_0x4775d1(this,'_textBubble',null),_0x4775d1(this,_0x55c983(0x49e),null),_0x4775d1(this,_0x55c983(0x4a4),null),_0x4775d1(this,'_eventUnsubscribe',null),(this[_0x55c983(0x444)]=_0x2aca9b,this['_scene']=_0x533405,this['_docSkeleton']=_0x434fe0,this[_0x55c983(0x263)]=_0x2ac8ad,this[_0x55c983(0x25c)]());}set[_0x45f550(0x20f)](_0x3655c3){const _0x4a9db9=_0x45f550;_0x3655c3?(this['_anchorDot']&&this[_0x4a9db9(0x49e)][_0x4a9db9(0x487)](),this[_0x4a9db9(0x1ff)]&&this['_textBubble'][_0x4a9db9(0x471)]()):(this[_0x4a9db9(0x49e)]&&this[_0x4a9db9(0x49e)][_0x4a9db9(0x471)](),this[_0x4a9db9(0x1ff)]&&this['_textBubble'][_0x4a9db9(0x487)]());}['dispose'](){const _0x39e879=_0x45f550;for(const _0x34bd5f of this[_0x39e879(0x37e)])_0x34bd5f[_0x39e879(0x244)]();this[_0x39e879(0x1ff)]&&this[_0x39e879(0x1ff)][_0x39e879(0x244)](),this[_0x39e879(0x49e)]&&this['_anchorDot']['dispose'](),this[_0x39e879(0x325)]&&this[_0x39e879(0x325)][_0x39e879(0x244)](),this['_eventUnsubscribe']&&this[_0x39e879(0x373)]();}[_0x45f550(0x25c)](){const _0x37fd36=_0x45f550;var _0x5f2eea;const {_docSkeleton:_0x48f239,_document:_0x430278}=this,{color:_0x578925,name:_0x33ce8e,ranges:_0x4db81a}=this['_cursor'],_0x558f6b=_0x430278['getOffsetConfig'](),{docsLeft:_0x1f3ab4,docsTop:_0x56ebb0}=_0x558f6b,_0x5456ab=new _0x1b81cc[(_0x37fd36(0x379))](_0x558f6b,_0x48f239);for(const {startOffset:_0x3f9ba3,endOffset:_0x484240,rangeType:_0x92e69,segmentId:_0x235fbf,segmentPage:_0x5ec2d9,collapsed:_0x39ec20,isActive:_0x5b06d0}of _0x4db81a){const _0x10f6db=_0x48f239[_0x37fd36(0x486)](_0x3f9ba3,!0x0,_0x235fbf,_0x5ec2d9);let _0x355134=_0x48f239[_0x37fd36(0x486)](_0x484240,!0x0,_0x235fbf,_0x5ec2d9);if(_0x355134==null&&(_0x355134=_0x48f239[_0x37fd36(0x486)](_0x484240-0x1,!0x1,_0x235fbf,_0x5ec2d9)),_0x5b06d0){const {contentBoxPointGroup:_0x40b591}=_0x5456ab['getRangePointData'](_0x355134,_0x355134);if(_0x40b591['length']===0x0)continue;this[_0x37fd36(0x424)](_0x578925,_0x40b591,_0x1f3ab4,_0x56ebb0,_0x33ce8e),this[_0x37fd36(0x373)]=this['_handleHover']();}if(_0x10f6db&&_0x355134){if(_0x92e69===_0x1187a4[_0x37fd36(0x2e8)]['RECT']){const _0x31a31f=new _0x1b81cc[(_0x37fd36(0x2bd))](_0x558f6b,_0x48f239),{pointGroup:_0x5ea144}=(_0x5f2eea=_0x31a31f['getRangePointData'](_0x10f6db,_0x355134))!=null?_0x5f2eea:{};if(_0x5ea144==null||_0x5ea144[_0x37fd36(0x49c)]===0x0)continue;this['_drawRectRange'](_0x578925,_0x5ea144,_0x1f3ab4,_0x56ebb0);}else{if(!_0x39ec20){const {borderBoxPointGroup:_0x1772a2}=_0x5456ab[_0x37fd36(0x20d)](_0x10f6db,_0x355134);if(_0x1772a2[_0x37fd36(0x49c)]===0x0)continue;this[_0x37fd36(0x397)](_0x578925,_0x1772a2,_0x1f3ab4,_0x56ebb0);}}}}}[_0x45f550(0x424)](_0x3fdcac,_0x1d8bbb,_0x18bdf2,_0x112e63,_0x22f6d2){const _0x2dad74=_0x45f550,_0x20044b=this[_0x2dad74(0x3f6)](_0x1d8bbb),{left:_0x105739,top:_0x48ae46,height:_0x1a5d00}=_0x20044b,_0x32de65=this[_0x2dad74(0x4a3)](),_0x1995b8=_0x2f7386/_0x32de65,_0x519a5c=new _0x52d8dc[(_0x2dad74(0x277))](_0x3106a7+_0x1187a4[_0x2dad74(0x260)](_0x34867a),{'left':_0x105739+_0x18bdf2-_0x1995b8,'top':_0x48ae46+_0x112e63,'height':_0x1a5d00,'width':_0x3e13d1,'fill':_0x3fdcac||_0x52d8dc[_0x2dad74(0x3d0)](_0x1187a4[_0x2dad74(0x34b)]['black'],0x0),'strokeWidth':_0x1995b8,'stroke':_0x591f9f,'evented':!0x0});this[_0x2dad74(0x325)]=_0x519a5c,this[_0x2dad74(0x261)][_0x2dad74(0x39e)](_0x519a5c,_0x1b81cc[_0x2dad74(0x35a)]);const _0x3c48f1=new _0x52d8dc[(_0x2dad74(0x277))](_0x3106a7+_0x1187a4[_0x2dad74(0x260)](_0x34867a),{'left':_0x105739+_0x18bdf2-_0x1995b8,'top':_0x48ae46+_0x112e63-_0x4510f7/0x2,'height':_0x4510f7,'width':_0x4510f7,'fill':_0x3fdcac||_0x52d8dc[_0x2dad74(0x3d0)](_0x1187a4['COLORS'][_0x2dad74(0x2bb)],0x0),'strokeWidth':0x0,'stroke':_0x3fdcac||_0x52d8dc['getColor'](_0x1187a4['COLORS']['black'],0x0),'evented':!0x1});this[_0x2dad74(0x49e)]=_0x3c48f1,this['_scene'][_0x2dad74(0x39e)](_0x3c48f1,_0x1b81cc['TEXT_RANGE_LAYER_INDEX']);const _0x28dfe9=new _0x2978f3(_0x3106a7+_0x1187a4[_0x2dad74(0x260)](_0x34867a),{'left':_0x105739+_0x18bdf2-_0x1995b8,'top':_0x48ae46+_0x112e63-_0x17be04,'text':_0x22f6d2,'color':_0x3fdcac});this[_0x2dad74(0x1ff)]=_0x28dfe9,this[_0x2dad74(0x261)]['addObject'](_0x28dfe9,_0x1b81cc['TEXT_RANGE_LAYER_INDEX']),this[_0x2dad74(0x20f)]=!0x1;}[_0x45f550(0x259)](){const _0x55c1eb=_0x45f550,_0x3dc1ef=this[_0x55c1eb(0x325)][_0x55c1eb(0x2f0)]['subscribeEvent'](()=>{const _0x5afcb3=_0x55c1eb;this[_0x5afcb3(0x20f)]=!0x0;}),_0x5a131f=this['_anchor'][_0x55c1eb(0x3b9)][_0x55c1eb(0x435)](()=>{const _0x137202=_0x55c1eb;this[_0x137202(0x4a4)]&&clearTimeout(this['_hideTimer']),this[_0x137202(0x4a4)]=setTimeout(()=>{const _0x4ffaa4=_0x137202;this[_0x4ffaa4(0x20f)]=!0x1;},0x7d0);});return()=>{const _0x581c53=_0x55c1eb;_0x3dc1ef[_0x581c53(0x3af)](),_0x5a131f['unsubscribe']();};}[_0x45f550(0x397)](_0x5cb18c,_0x458773,_0x5260af,_0x35cf8f){const _0x3994d1=_0x45f550,_0x4286ef=new _0x1187a4[(_0x3994d1(0x247))](_0x5cb18c)[_0x3994d1(0x4a2)](0.2)[_0x3994d1(0x383)](),_0x2e7d51=new _0x52d8dc[(_0x3994d1(0x2a5))](_0x280658+_0x1187a4[_0x3994d1(0x260)](_0x34867a),{'pointsGroup':_0x458773,'fill':_0x4286ef||_0x52d8dc[_0x3994d1(0x3d0)](_0x1187a4['COLORS'][_0x3994d1(0x2bb)],0.2),'left':_0x5260af,'top':_0x35cf8f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3994d1(0x37e)][_0x3994d1(0x3e8)](_0x2e7d51),this[_0x3994d1(0x261)][_0x3994d1(0x39e)](_0x2e7d51,_0x1b81cc[_0x3994d1(0x35a)]);}[_0x45f550(0x283)](_0x5a1ece,_0x14f3be,_0x3c63d4,_0x4262d3){const _0x362ea9=_0x45f550,_0x35fb4d=new _0x1187a4[(_0x362ea9(0x247))](_0x5a1ece)[_0x362ea9(0x4a2)](0.2)['toRgbString'](),_0x4164f3=new _0x52d8dc[(_0x362ea9(0x2a5))](_0x447db4+_0x1187a4[_0x362ea9(0x260)](_0x34867a),{'pointsGroup':_0x14f3be,'fill':_0x35fb4d||_0x52d8dc['getColor'](_0x1187a4['COLORS'][_0x362ea9(0x2bb)],0.2),'left':_0x3c63d4,'top':_0x4262d3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x362ea9(0x37e)][_0x362ea9(0x3e8)](_0x4164f3),this[_0x362ea9(0x261)][_0x362ea9(0x39e)](_0x4164f3,_0x1b81cc['TEXT_RANGE_LAYER_INDEX']);}[_0x45f550(0x3f6)](_0x4048ef){const _0x54a0be=_0x4048ef[0x0],_0x4b5821=_0x54a0be[0x0],_0x1e1afa=_0x54a0be[0x2],{x:_0x455b99,y:_0x224a2f}=_0x4b5821,{x:_0x54bd9a,y:_0x4ecb02}=_0x1e1afa;return{'left':_0x455b99,'top':_0x224a2f,'width':_0x54bd9a-_0x455b99,'height':_0x4ecb02-_0x224a2f};}[_0x45f550(0x4a3)](){const {scaleX:_0x877ab8,scaleY:_0x275fc5}=this['_scene']['getAncestorScale']();return Math['max'](_0x877ab8,_0x275fc5);}}var _0x5545c1=Object[_0x45f550(0x38f)],_0x45f7d8=(_0x2c0fd9,_0x19f843,_0x281a54,_0x2b2b8f)=>{const _0x2bbe62=_0x45f550;for(var _0x5a1919=_0x2b2b8f>0x1?void 0x0:_0x2b2b8f?_0x5545c1(_0x19f843,_0x281a54):_0x19f843,_0x107de8=_0x2c0fd9[_0x2bbe62(0x49c)]-0x1,_0x3585b4;_0x107de8>=0x0;_0x107de8--)(_0x3585b4=_0x2c0fd9[_0x107de8])&&(_0x5a1919=_0x3585b4(_0x5a1919)||_0x5a1919);return _0x5a1919;},_0x42c3f8=(_0x32cc32,_0x987b7a)=>(_0x11e297,_0x578558)=>_0x987b7a(_0x11e297,_0x578558,_0x32cc32);let _0x17ca61=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x17eb69,_0x361513,_0x26a05f,_0x3d317a,_0x273e3f){const _0x5e0693=_0x45f550;super(),_0x4775d1(this,_0x5e0693(0x238),[]),_0x4775d1(this,_0x5e0693(0x336),[]),(this[_0x5e0693(0x217)]=_0x17eb69,this[_0x5e0693(0x371)]=_0x361513,this[_0x5e0693(0x328)]=_0x26a05f,this[_0x5e0693(0x312)]=_0x3d317a,this[_0x5e0693(0x417)]=_0x273e3f,this[_0x5e0693(0x22b)]());}[_0x45f550(0x22b)](){const _0x16467b=_0x45f550,_0x4b103f=this[_0x16467b(0x217)][_0x16467b(0x1f8)],_0x10be9a=this[_0x16467b(0x371)];this[_0x16467b(0x30d)](_0x1068bb[_0x16467b(0x319)]([this['_collabCursorController']['getCollabCursors$'](_0x4b103f),this[_0x16467b(0x417)][_0x16467b(0x3a8)]])[_0x16467b(0x229)](_0x4ba09f['map'](([_0x59082c,_0x527603])=>({'skeleton':_0x10be9a['getSkeleton'](),'cursors':[..._0x59082c[_0x16467b(0x21c)]()][_0x16467b(0x307)](_0x1fd50b=>({..._0x1fd50b,'color':this[_0x16467b(0x417)]['getColorFromTheme'](_0x1fd50b[_0x16467b(0x2de)])}))})))[_0x16467b(0x43e)](_0x1dbb5c=>{const _0x553a01=_0x16467b;if(this[_0x553a01(0x329)](),_0x1dbb5c){const {skeleton:_0x3bf214,cursors:_0x5c174f}=_0x1dbb5c;this[_0x553a01(0x21a)](_0x3bf214,_0x5c174f);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x45f550(0x21a)](_0x5a3098,_0x48872f){const _0x21c5b7=_0x45f550,{scene:_0x42fbd0,mainComponent:_0x1e55d7}=this['_context'],_0x39a2c0=_0x48872f['map'](_0x5a3df4=>new _0x20f467(_0x5a3df4,_0x42fbd0,_0x5a3098,_0x1e55d7));this[_0x21c5b7(0x238)]=_0x39a2c0,this[_0x21c5b7(0x336)]=_0x48872f;}[_0x45f550(0x2eb)](){const _0x5271d9=_0x45f550;this[_0x5271d9(0x329)]();const {scene:_0x259d26,mainComponent:_0x29023a}=this[_0x5271d9(0x217)],_0x25335a=this['_docSkeletonManagerService'][_0x5271d9(0x42e)](),_0x5b29df=this[_0x5271d9(0x336)][_0x5271d9(0x2be)](_0x2cfe42=>new _0x20f467(_0x2cfe42,_0x259d26,_0x25335a,_0x29023a));this[_0x5271d9(0x238)]=_0x5b29df;}[_0x45f550(0x329)](){const _0x38b76a=_0x45f550;this[_0x38b76a(0x238)][_0x38b76a(0x315)](_0x2fe396=>_0x2fe396['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x2b9384=_0x45f550,_0xf7ae8c=[_0x1b81cc[_0x2b9384(0x3d3)]['id']];this['disposeWithMe'](this[_0x2b9384(0x312)]['onCommandExecuted'](_0x332e83=>{const _0x1d2c4d=_0x2b9384;_0xf7ae8c[_0x1d2c4d(0x291)](_0x332e83['id'])&&_0x332e83['params'][_0x1d2c4d(0x1f8)]===this[_0x1d2c4d(0x217)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x45f550(0x419)](){const _0x4a6ca4=_0x45f550;this[_0x4a6ca4(0x30d)](_0x1187a4[_0x4a6ca4(0x40e)](this[_0x4a6ca4(0x217)][_0x4a6ca4(0x49b)][_0x4a6ca4(0x22f)])[_0x4a6ca4(0x229)](_0x4ba09f[_0x4a6ca4(0x367)](_0x1fe248=>_0x1fe248[_0x4a6ca4(0x493)]===_0x52d8dc[_0x4a6ca4(0x1fa)][_0x4a6ca4(0x442)]),_0x4ba09f[_0x4a6ca4(0x2a2)](0x10))[_0x4a6ca4(0x43e)](()=>{this['_refreshCollabCursors']();}));}};_0x17ca61=_0x45f7d8([_0x42c3f8(0x1,_0x1187a4[_0x45f550(0x474)](_0x17f20c['DocSkeletonManagerService'])),_0x42c3f8(0x2,_0x1187a4[_0x45f550(0x474)](_0x12a146)),_0x42c3f8(0x3,_0x1187a4[_0x45f550(0x2ab)]),_0x42c3f8(0x4,_0x1187a4['Inject'](_0x1187a4['ThemeService']))],_0x17ca61);const _0xae4647=0x1,_0x358b9a=1.5;class _0x377138 extends _0x52d8dc[_0x45f550(0x364)]{constructor(_0x5742d8,_0x1825ac){const _0x3463f0=_0x45f550;super(_0x5742d8,_0x1825ac),_0x4775d1(this,_0x3463f0(0x48f)),_0x4775d1(this,'_hovered',!0x1),_0x4775d1(this,_0x3463f0(0x29b)),_0x4775d1(this,'_name',''),_0x4775d1(this,_0x3463f0(0x250),_0x3463f0(0x305)),_0x4775d1(this,_0x3463f0(0x29e)),(_0x1825ac&&this[_0x3463f0(0x235)](_0x1825ac),this[_0x3463f0(0x2f0)][_0x3463f0(0x435)](()=>this[_0x3463f0(0x235)]({'hovered':!0x0})),this[_0x3463f0(0x3b9)][_0x3463f0(0x435)](()=>this[_0x3463f0(0x235)]({'hovered':!0x1})));}['setShapeProps'](_0x3515c5){const _0x220272=_0x45f550;var _0x807137,_0x4440dc,_0x1e7747,_0x1975db,_0x3feb38,_0x59dac1;this[_0x220272(0x48f)]=(_0x807137=_0x3515c5[_0x220272(0x2de)])!=null?_0x807137:this[_0x220272(0x48f)],this['_hovered']=(_0x4440dc=_0x3515c5[_0x220272(0x44e)])!=null?_0x4440dc:this[_0x220272(0x400)],this[_0x220272(0x29b)]=(_0x1e7747=_0x3515c5[_0x220272(0x41c)])!=null?_0x1e7747:this[_0x220272(0x29b)],this[_0x220272(0x25f)]=(_0x1975db=_0x3515c5[_0x220272(0x47f)])!=null?_0x1975db:this[_0x220272(0x25f)],this['_labelPosition']=(_0x3feb38=_0x3515c5['labelPosition'])!=null?_0x3feb38:this[_0x220272(0x250)],this['_backgroundColor']=(_0x59dac1=_0x3515c5[_0x220272(0x22d)])!=null?_0x59dac1:this[_0x220272(0x29e)],this[_0x220272(0x44d)]({'width':_0x3515c5[_0x220272(0x3d6)],'height':_0x3515c5[_0x220272(0x40f)]});}[_0x45f550(0x480)](_0x4770b8){const _0x463260=_0x45f550,{row:_0x26c45b,column:_0x1853f7}=_0x4770b8;if(_0x26c45b>=this[_0x463260(0x29b)][_0x463260(0x30b)]&&_0x26c45b<=this[_0x463260(0x29b)][_0x463260(0x211)]&&_0x1853f7>=this[_0x463260(0x29b)]['startColumn']&&_0x1853f7<=this[_0x463260(0x29b)][_0x463260(0x389)]){this[_0x463260(0x235)]({'hovered':!0x0});return;}this[_0x463260(0x235)]({'hovered':!0x1});}[_0x45f550(0x457)](_0x1bb43b){return!0x1;}[_0x45f550(0x257)](_0x4e80ba){const _0x4d2c58=_0x45f550;_0x52d8dc['Rect']['drawWith'](_0x4e80ba,{'width':this[_0x4d2c58(0x3d6)],'height':this[_0x4d2c58(0x40f)],'strokeWidth':_0x358b9a,'stroke':this[_0x4d2c58(0x48f)],'evented':!0x1,'fill':this[_0x4d2c58(0x29e)]}),this[_0x4d2c58(0x400)]&&(_0x4e80ba['save'](),_0x4e80ba[_0x4d2c58(0x3eb)](0x1,0x0,0x0,0x1,this[_0x4d2c58(0x3d6)],this[_0x4d2c58(0x250)]===_0x4d2c58(0x221)?0x0:-_0x17be04),_0x2978f3[_0x4d2c58(0x29c)](_0x4e80ba,{'text':this[_0x4d2c58(0x25f)],'color':this[_0x4d2c58(0x48f)]}),_0x4e80ba[_0x4d2c58(0x446)]());}}var _0x3c42d2=Object['getOwnPropertyDescriptor'],_0x15a7c3=(_0x392e63,_0x45602d,_0x1ce4d0,_0x1ef97e)=>{const _0x14d155=_0x45f550;for(var _0x215abd=_0x1ef97e>0x1?void 0x0:_0x1ef97e?_0x3c42d2(_0x45602d,_0x1ce4d0):_0x45602d,_0x310e3a=_0x392e63[_0x14d155(0x49c)]-0x1,_0x379e03;_0x310e3a>=0x0;_0x310e3a--)(_0x379e03=_0x392e63[_0x310e3a])&&(_0x215abd=_0x379e03(_0x215abd)||_0x215abd);return _0x215abd;},_0x2f7d3d=(_0xd8645a,_0x292ad3)=>(_0x10953d,_0x5bba3f)=>_0x292ad3(_0x10953d,_0x5bba3f,_0xd8645a);const _0x5148df=0x1389;let _0x43f6b3=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x77a16b,_0x15bbe8,_0x5e9ba5,_0x246d82){const _0x528988=_0x45f550;super(),_0x4775d1(this,_0x528988(0x336),new Set()),_0x4775d1(this,_0x528988(0x3f7),null),(this[_0x528988(0x217)]=_0x77a16b,this[_0x528988(0x35c)]=_0x15bbe8,this[_0x528988(0x328)]=_0x5e9ba5,this['_themeService']=_0x246d82,this[_0x528988(0x22b)]());}[_0x45f550(0x22b)](){const _0x3f0057=_0x45f550;this[_0x3f0057(0x35c)]['currentSkeleton$'][_0x3f0057(0x229)](_0x4ba09f[_0x3f0057(0x274)](this[_0x3f0057(0x2f8)]),_0x4ba09f[_0x3f0057(0x355)](_0x975fec=>{const _0xcfdcbf=_0x3f0057;if(_0x975fec){const _0x4d459a=_0x975fec['sheetId'];return _0x1068bb[_0xcfdcbf(0x319)](this['_collabCursorController'][_0xcfdcbf(0x2ae)](this[_0xcfdcbf(0x217)][_0xcfdcbf(0x1f8)]),this[_0xcfdcbf(0x417)][_0xcfdcbf(0x3a8)])[_0xcfdcbf(0x229)](_0x4ba09f[_0xcfdcbf(0x2be)](([_0x51d395,_0xc45db1])=>{const _0x3f02f0=_0xcfdcbf,_0x261142=new Map();return _0x51d395[_0x3f02f0(0x315)]((_0x10c688,_0x737d88)=>{const _0x171431=_0x3f02f0;if(_0x10c688[_0x171431(0x438)]===_0x4d459a){const _0x3285bd={..._0x10c688};_0x3285bd['color']=this[_0x171431(0x417)][_0x171431(0x299)](_0x10c688[_0x171431(0x2de)]),_0x261142[_0x171431(0x47c)](_0x737d88,_0x3285bd);}}),{'skeleton':_0x975fec,'cursors':_0x261142};}));}return _0x1068bb['of']({'skeleton':null,'cursors':new Map()});}))[_0x3f0057(0x43e)](({skeleton:_0xaba89a,cursors:_0x1c7e60})=>{const _0x128fec=_0x3f0057;this[_0x128fec(0x329)](),_0xaba89a&&this[_0x128fec(0x21a)](_0xaba89a,_0x1c7e60);}),this['_sheetSkeletonManagerService'][_0x3f0057(0x356)]['subscribe'](_0x55c290=>{const _0x2bbf0d=_0x3f0057;if(_0x55c290==null)return;const {skeleton:_0x37b879}=_0x55c290,{scene:_0xce7979}=this[_0x2bbf0d(0x217)];_0xce7979[_0x2bbf0d(0x412)][_0x2bbf0d(0x435)](_0x1187a4['debounce'](_0x1a120d=>{const _0x4ff552=_0x2bbf0d;var _0x401c94,_0x356860;const {offsetX:_0x68c6b0,offsetY:_0x3ba564}=_0x1a120d,{x:_0x5852e4,y:_0x1b355a}=_0xce7979[_0x4ff552(0x2d9)](_0x52d8dc[_0x4ff552(0x2a0)]['FromArray']([_0x68c6b0,_0x3ba564])),{scaleX:_0x3b3841,scaleY:_0x1b3393}=_0xce7979[_0x4ff552(0x1e8)](),_0x31db6e=_0xce7979[_0x4ff552(0x273)](_0x52d8dc[_0x4ff552(0x320)]['VIEW_MAIN']),_0x31a313=_0xce7979['getVpScrollXYInfoByPosToVp'](_0x52d8dc[_0x4ff552(0x2a0)]['FromArray']([_0x5852e4,_0x1b355a]),_0x31db6e),_0x3c72f5=_0x37b879[_0x4ff552(0x264)](_0x68c6b0,_0x3ba564,_0x3b3841,_0x1b3393,_0x31a313);((_0x401c94=this[_0x4ff552(0x3f7)])==null?void 0x0:_0x401c94[_0x4ff552(0x357)])===_0x3c72f5[_0x4ff552(0x357)]&&((_0x356860=this[_0x4ff552(0x3f7)])==null?void 0x0:_0x356860[_0x4ff552(0x303)])===_0x3c72f5[_0x4ff552(0x303)]||this['_cursors'][_0x4ff552(0x315)](_0xea612c=>{_0xea612c['onMouseMove'](_0x3c72f5);});},0x64));});}['_updateCollabCursors'](_0x30bae5,_0x114afc){const _0x34d385=_0x45f550;var _0x21fbbb;const _0x2c9124=(_0x21fbbb=this[_0x34d385(0x35c)][_0x34d385(0x428)]())==null?void 0x0:_0x21fbbb[_0x34d385(0x1fe)];if(!_0x2c9124)return;const _0x27cb53=this['_getSheetObject']();if(!_0x27cb53)return;this[_0x34d385(0x336)]['forEach'](_0x2edcb9=>{const _0x4061cd=_0x34d385;_0x2edcb9[_0x4061cd(0x316)]();});const {scene:_0x8ecdad}=_0x27cb53,_0x926270=_0x4c0745(Array[_0x34d385(0x45e)](_0x114afc[_0x34d385(0x21c)]()))[_0x34d385(0x2be)](_0x51e23c=>{const _0x3c645c=_0x34d385,{color:_0x351c71,range:_0xe7e86,name:_0x4e9a1c,selection:_0x425be4,sheetID:_0x2e492d}=_0x51e23c,{startColumn:_0x2f2c64,startRow:_0x31516c,endColumn:_0x169628,endRow:_0x427e37}=_0xe7e86,_0x452ff7=_0x44ccda[_0x3c645c(0x42a)](_0x31516c,_0x2f2c64,_0x8ecdad,_0x2c9124),_0x4a7760=_0x44ccda[_0x3c645c(0x42a)](_0x427e37,_0x169628,_0x8ecdad,_0x2c9124),{columnHeaderHeightAndMarginTop:_0x3b5e94}=_0x2c9124,{startX:_0x336b8b,startY:_0xabf2ae}=_0x452ff7,{endX:_0x29ee4b,endY:_0x4e45f2}=_0x4a7760,_0x28dbbe=_0x29ee4b-_0x336b8b,_0x28e2e0=_0x4e45f2-_0xabf2ae,_0x18d54f={'labelPosition':_0xabf2ae-_0x3b5e94>=_0x17be04?_0x3c645c(0x305):'bottom','sheetID':_0x2e492d,'range':_0xe7e86,'color':_0x351c71,'name':_0x4e9a1c,'selection':_0x425be4,'left':_0x336b8b,'top':_0xabf2ae,'width':_0x28dbbe,'height':_0x28e2e0,'evented':!0x1,'zIndex':_0x5148df};return new _0x377138(_0x4e9a1c,_0x18d54f);});_0x8ecdad['addObjects'](_0x926270,_0xae4647),this['_cursors']=new Set(_0x926270);}[_0x45f550(0x329)](){const _0x5c60aa=_0x45f550;var _0x3a463e;(_0x3a463e=this[_0x5c60aa(0x336)])==null||_0x3a463e[_0x5c60aa(0x315)](_0x258ee8=>_0x258ee8[_0x5c60aa(0x244)]());}[_0x45f550(0x3c4)](){const _0x4f9d1e=_0x45f550;return _0x44ccda[_0x4f9d1e(0x243)](this['_context'][_0x4f9d1e(0x387)],this[_0x4f9d1e(0x217)]);}};_0x43f6b3=_0x15a7c3([_0x2f7d3d(0x1,_0x1187a4[_0x45f550(0x474)](_0x44ccda[_0x45f550(0x34d)])),_0x2f7d3d(0x2,_0x1187a4[_0x45f550(0x474)](_0x12a146)),_0x2f7d3d(0x3,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x3e9)]))],_0x43f6b3);function _0x4c0745(_0x32f508){const _0x204cd0=_0x45f550,_0x52e9d1=new Map();return _0x32f508[_0x204cd0(0x315)](_0x242d19=>{const _0x5c37f6=_0x204cd0;if(_0x52e9d1['has'](_0x242d19[_0x5c37f6(0x4a1)])){const _0x2d3cbc=_0x52e9d1[_0x5c37f6(0x4b4)](_0x242d19[_0x5c37f6(0x4a1)]);_0x2d3cbc[_0x5c37f6(0x47f)]+=',\x20'+_0x242d19[_0x5c37f6(0x47f)];}else _0x52e9d1[_0x5c37f6(0x47c)](_0x242d19[_0x5c37f6(0x4a1)],_0x242d19);}),Array[_0x204cd0(0x45e)](_0x52e9d1[_0x204cd0(0x21c)]());}var _0xba5bdf=Object[_0x45f550(0x38f)],_0x4e4eb7=(_0x18abf8,_0x211148,_0x3c2cd7,_0x136982)=>{const _0x1b2e2c=_0x45f550;for(var _0x1a1d10=_0x136982>0x1?void 0x0:_0x136982?_0xba5bdf(_0x211148,_0x3c2cd7):_0x211148,_0x1beaf5=_0x18abf8[_0x1b2e2c(0x49c)]-0x1,_0x46ed25;_0x1beaf5>=0x0;_0x1beaf5--)(_0x46ed25=_0x18abf8[_0x1beaf5])&&(_0x1a1d10=_0x46ed25(_0x1a1d10)||_0x1a1d10);return _0x1a1d10;},_0x24809d=(_0x1a8fa4,_0x3393f3)=>(_0x444ba8,_0x3c6253)=>_0x3393f3(_0x444ba8,_0x3c6253,_0x1a8fa4);let _0x3e8554=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x366c33,_0x40c9f2,_0x44feb6,_0x5759b5,_0x564fd3,_0x5bee14){const _0x193e9c=_0x45f550;super(),this[_0x193e9c(0x396)]=_0x366c33,this[_0x193e9c(0x27f)]=_0x40c9f2,this[_0x193e9c(0x2b4)]=_0x44feb6,this[_0x193e9c(0x2cd)]=_0x5759b5,this[_0x193e9c(0x46d)]=_0x564fd3,this['_localeService']=_0x5bee14,this['_setupBeforeClosingHandler'](),this[_0x193e9c(0x269)]();}['_setupBeforeClosingHandler'](){const _0x16fb21=_0x45f550;this[_0x16fb21(0x30d)](this[_0x16fb21(0x396)][_0x16fb21(0x308)](()=>{const _0x25a098=_0x16fb21;if(this[_0x25a098(0x27f)][_0x25a098(0x48e)][_0x25a098(0x427)])return this[_0x25a098(0x351)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x45f550(0x269)](){const _0x34950b=_0x45f550;this[_0x34950b(0x30d)](this[_0x34950b(0x2b4)][_0x34950b(0x239)][_0x34950b(0x43e)](_0x35ef9a=>{const _0x25535e=_0x34950b;_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x3b6)]&&this[_0x25535e(0x2cd)]['show']({'type':_0x64dbc4[_0x25535e(0x272)]['Warning'],'content':this['_localeService']['t'](_0x25535e(0x338))}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x2c3)]&&this[_0x25535e(0x2cd)]['show']({'type':_0x64dbc4[_0x25535e(0x272)]['Warning'],'content':this['_localeService']['t'](_0x25535e(0x209))}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x41d)]&&this[_0x25535e(0x46d)][_0x25535e(0x471)]({'title':this[_0x25535e(0x351)]['t'](_0x25535e(0x2e7)),'content':this['_localeService']['t'](_0x25535e(0x2d8)),'type':_0x25535e(0x310),'duration':0x0}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x38a)]&&this[_0x25535e(0x2cd)][_0x25535e(0x471)]({'type':_0x64dbc4['MessageType'][_0x25535e(0x2c0)],'content':this['_localeService']['t'](_0x25535e(0x209))+'('+_0x35ef9a[_0x25535e(0x213)]+')'}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x406)]&&this['_messageService'][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)][_0x25535e(0x4b5)],'content':this[_0x25535e(0x351)]['t'](_0x35ef9a[_0x25535e(0x213)]||'')}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x469)]&&this['_messageService'][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)]['Warning'],'content':this[_0x25535e(0x351)]['t']('session.will-retry')}),_0x35ef9a['id']===_0x2de05c['CollaborationUIEventId'][_0x25535e(0x4a7)]&&this[_0x25535e(0x2cd)][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)]['Error'],'content':this['_localeService']['t'](_0x25535e(0x39d))}),_0x35ef9a['id']===_0x2de05c['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x25535e(0x2cd)][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)][_0x25535e(0x2c0)],'content':this[_0x25535e(0x351)]['t'](_0x25535e(0x4b1))});}));}};_0x3e8554=_0x4e4eb7([_0x24809d(0x0,_0x20024a[_0x45f550(0x399)]),_0x24809d(0x1,_0x2de05c[_0x45f550(0x348)]),_0x24809d(0x2,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x360)])),_0x24809d(0x3,_0x20024a[_0x45f550(0x392)]),_0x24809d(0x4,_0x20024a['INotificationService']),_0x24809d(0x5,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x3a3)]))],_0x3e8554);const _0x3a1054=_0x45f550(0x402),_0x4af272={};var _0x3c1724=Object[_0x45f550(0x38f)],_0x41fe03=(_0x32f60c,_0x14c260,_0x503a15,_0xa510b1)=>{const _0x1762c4=_0x45f550;for(var _0x1bb24f=_0xa510b1>0x1?void 0x0:_0xa510b1?_0x3c1724(_0x14c260,_0x503a15):_0x14c260,_0x72c347=_0x32f60c[_0x1762c4(0x49c)]-0x1,_0x9d7650;_0x72c347>=0x0;_0x72c347--)(_0x9d7650=_0x32f60c[_0x72c347])&&(_0x1bb24f=_0x9d7650(_0x1bb24f)||_0x1bb24f);return _0x1bb24f;},_0x2dcfc8=(_0x263fec,_0x550f52)=>(_0x373ac0,_0x5e436a)=>_0x550f52(_0x373ac0,_0x5e436a,_0x263fec);let _0x444986=class{constructor(_0x4c553b,_0x2403a4){const _0x17da01=_0x45f550;this['_transformService']=_0x4c553b,this[_0x17da01(0x1f0)]=_0x2403a4;}[_0x45f550(0x24e)](_0xf16f0d){const _0x4105dc=_0x45f550;this[_0x4105dc(0x34c)](_0xf16f0d),this[_0x4105dc(0x3e3)](_0xf16f0d);}[_0x45f550(0x436)](_0x1408a6){const _0x3da2d9=_0x45f550,{unitID:_0x5a9206}=_0x1408a6,_0x95f431=this[_0x3da2d9(0x1f0)][_0x3da2d9(0x23e)](_0x5a9206)['with'](_0x1b81cc[_0x3da2d9(0x23c)]),{redoCache:_0x42e9e1}=_0x95f431[_0x3da2d9(0x37f)]();if(_0x42e9e1[_0x3da2d9(0x49c)]===0x0)return _0x1408a6;let _0x2651e1=_0x1187a4[_0x3da2d9(0x377)][_0x3da2d9(0x2d0)](_0x1408a6[_0x3da2d9(0x3c1)][0x0]);for(let _0x144df8=0x0;_0x144df8<_0x42e9e1[_0x3da2d9(0x49c)];_0x144df8++){const _0x1c050b={'id':_0x3da2d9(0x492),'params':{..._0x42e9e1[_0x144df8]}},_0x540757=this[_0x3da2d9(0x47b)][_0x3da2d9(0x375)](_0x2651e1,_0x1c050b,!0x1);if(_0xa5f490[_0x3da2d9(0x46c)](_0x540757))throw _0x540757['error'];_0x2651e1=_0x540757[_0x3da2d9(0x2e6)];}return{..._0x1187a4[_0x3da2d9(0x377)][_0x3da2d9(0x2d0)](_0x1408a6),'mutations':[_0x2651e1]};}[_0x45f550(0x34c)](_0x41abf5){const _0x2ede31=_0x45f550,{unitID:_0x15edfb}=_0x41abf5,_0x2e4ebe=this[_0x2ede31(0x1f0)]['getRenderById'](_0x15edfb)[_0x2ede31(0x25a)](_0x1b81cc['DocIMEInputManagerService']),{undoCache:_0xe42a89,redoCache:_0x1c6380}=_0x2e4ebe[_0x2ede31(0x37f)]();if(_0xe42a89[_0x2ede31(0x49c)]===0x0||_0x1c6380[_0x2ede31(0x49c)]===0x0)return;const _0x3e4bb8=[],_0x1f5589=[];let _0x556042=_0x1187a4[_0x2ede31(0x377)][_0x2ede31(0x2d0)](_0x41abf5['mutations'][0x0]),_0x25b2e4=_0x1187a4['Tools'][_0x2ede31(0x2d0)](_0x41abf5[_0x2ede31(0x3c1)][0x0]);for(let _0x29867f=_0xe42a89[_0x2ede31(0x49c)]-0x1;_0x29867f>=0x0;_0x29867f--){const _0x47b5f8={'id':_0x2ede31(0x492),'params':{..._0xe42a89[_0x29867f]}},_0x126a21={'id':_0x2ede31(0x492),'params':{..._0x1c6380[_0x29867f]}},_0x5b6d0d=this[_0x2ede31(0x47b)][_0x2ede31(0x375)](_0x556042,_0x47b5f8,!0x1),_0x8b4f2e=this[_0x2ede31(0x47b)][_0x2ede31(0x375)](_0x25b2e4,_0x126a21,!0x1);if(_0xa5f490['isTransformMutationFailure'](_0x5b6d0d))throw _0x5b6d0d[_0x2ede31(0x310)];if(_0xa5f490[_0x2ede31(0x46c)](_0x8b4f2e))throw _0x8b4f2e['error'];_0x3e4bb8['unshift'](_0x5b6d0d[_0x2ede31(0x421)][_0x2ede31(0x36f)]),_0x1f5589[_0x2ede31(0x248)](_0x8b4f2e[_0x2ede31(0x421)]['params']),_0x556042=_0x5b6d0d[_0x2ede31(0x2e6)],_0x25b2e4=_0x8b4f2e[_0x2ede31(0x2e6)];}_0x2e4ebe[_0x2ede31(0x352)]({'undoCache':_0x3e4bb8,'redoCache':_0x1f5589});}[_0x45f550(0x3e3)](_0x4bae5c){const _0x29210f=_0x45f550,{unitID:_0x45ad61}=_0x4bae5c,_0x1cb25d=this[_0x29210f(0x1f0)][_0x29210f(0x23e)](_0x45ad61)[_0x29210f(0x25a)](_0x1b81cc[_0x29210f(0x23c)]),_0x1aef4e=_0x1cb25d[_0x29210f(0x26d)]();if(_0x1aef4e==null)return;const _0x8825ef=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4bae5c[_0x29210f(0x332)],'actions':null,'textRanges':[_0x1aef4e]}}],_0x5f249b=this[_0x29210f(0x47b)][_0x29210f(0x1fd)](_0x4bae5c,_0x8825ef);if(!_0xa5f490[_0x29210f(0x216)](_0x5f249b))throw _0x5f249b['error'];const _0x2bc97a=_0x5f249b[_0x29210f(0x421)][0x0][_0x29210f(0x36f)][_0x29210f(0x22c)];Array[_0x29210f(0x37c)](_0x2bc97a)&&_0x2bc97a[_0x29210f(0x49c)]&&_0x1cb25d[_0x29210f(0x267)](_0x2bc97a[0x0]);}};_0x444986=_0x41fe03([_0x2dcfc8(0x0,_0xa5f490[_0x45f550(0x3bb)]),_0x2dcfc8(0x1,_0x52d8dc[_0x45f550(0x254)])],_0x444986);var _0x326908=Object['getOwnPropertyDescriptor'],_0x3c30c5=(_0xfba0ef,_0x2dbef2,_0x226565,_0x2dade6)=>{const _0x4ed5f9=_0x45f550;for(var _0x185f0f=_0x2dade6>0x1?void 0x0:_0x2dade6?_0x326908(_0x2dbef2,_0x226565):_0x2dbef2,_0x3c241d=_0xfba0ef[_0x4ed5f9(0x49c)]-0x1,_0x10ced2;_0x3c241d>=0x0;_0x3c241d--)(_0x10ced2=_0xfba0ef[_0x3c241d])&&(_0x185f0f=_0x10ced2(_0x185f0f)||_0x185f0f);return _0x185f0f;},_0x20e3c6=(_0x446d13,_0x469ffb)=>(_0x26505b,_0x5ece45)=>_0x469ffb(_0x26505b,_0x5ece45,_0x446d13);let _0x2f87dd=class{constructor(_0x5c46c7,_0x276c78,_0x2ce612){const _0x15ec9b=_0x45f550;this['_injector']=_0x5c46c7,this[_0x15ec9b(0x47b)]=_0x276c78,this[_0x15ec9b(0x289)]=_0x2ce612;}[_0x45f550(0x479)](_0x82260){const _0x21510b=_0x45f550;this[_0x21510b(0x3c3)](_0x82260);}[_0x45f550(0x436)](_0x9c707){const _0x50f6f9=_0x45f550,{unitID:_0x4ba1d8}=_0x9c707,{collaboration:_0x447a64}=this[_0x50f6f9(0x289)][_0x50f6f9(0x317)](_0x4ba1d8);if(_0x447a64['length']===0x0)return _0x9c707;let _0x17e137=_0x1187a4[_0x50f6f9(0x377)][_0x50f6f9(0x2d0)](_0x9c707[_0x50f6f9(0x3c1)][0x0]);for(let _0x6c104e=0x0;_0x6c104e<_0x447a64[_0x50f6f9(0x49c)];_0x6c104e++){const _0x20eebf={'id':_0x50f6f9(0x492),'params':{'unitId':_0x447a64[_0x6c104e][_0x50f6f9(0x1f8)],..._0x447a64[_0x6c104e][_0x50f6f9(0x32c)]}},_0x547c3c=this[_0x50f6f9(0x47b)]['transformMutation'](_0x17e137,_0x20eebf,!0x1);if(_0xa5f490[_0x50f6f9(0x46c)](_0x547c3c))throw _0x547c3c[_0x50f6f9(0x310)];_0x17e137=_0x547c3c['m1Prime'];}return{..._0x1187a4[_0x50f6f9(0x377)][_0x50f6f9(0x2d0)](_0x9c707),'mutations':[_0x17e137]};}[_0x45f550(0x3c3)](_0x173f20){const _0x36fefa=_0x45f550,{unitID:_0x4e58d3}=_0x173f20,{history:_0x37ce84,collaboration:_0x4f38cd}=this[_0x36fefa(0x289)][_0x36fefa(0x317)](_0x4e58d3);if(_0x37ce84[_0x36fefa(0x49c)]===0x0&&_0x4f38cd[_0x36fefa(0x49c)]===0x0)return;const _0x18bea3=[],_0x3c2ffd=[];let _0x1cf196=_0x1187a4[_0x36fefa(0x377)][_0x36fefa(0x2d0)](_0x173f20[_0x36fefa(0x3c1)][0x0]),_0x54f314=_0x1187a4[_0x36fefa(0x377)]['deepClone'](_0x173f20[_0x36fefa(0x3c1)][0x0]);for(let _0x3d8754=_0x37ce84[_0x36fefa(0x49c)]-0x1;_0x3d8754>=0x0;_0x3d8754--){const _0x4921c6={'id':_0x36fefa(0x492),'params':{'unitId':_0x37ce84[_0x3d8754][_0x36fefa(0x1f8)],..._0x37ce84[_0x3d8754][_0x36fefa(0x27b)]}},_0xb7e8bc={'id':_0x36fefa(0x492),'params':{'unitId':_0x37ce84[_0x3d8754]['unitId'],..._0x37ce84[_0x3d8754][_0x36fefa(0x32c)]}},_0x231e9f=this[_0x36fefa(0x47b)]['transformMutation'](_0x1cf196,_0x4921c6,!0x1),_0x1fece1=this[_0x36fefa(0x47b)][_0x36fefa(0x375)](_0x54f314,_0xb7e8bc,!0x1);if(_0xa5f490[_0x36fefa(0x46c)](_0x231e9f))throw _0x231e9f[_0x36fefa(0x310)];if(_0xa5f490['isTransformMutationFailure'](_0x1fece1))throw _0x1fece1[_0x36fefa(0x310)];_0x18bea3[_0x36fefa(0x248)]({..._0x37ce84[_0x3d8754],'undoState':_0x231e9f[_0x36fefa(0x421)]['params'],'redoState':_0x1fece1[_0x36fefa(0x421)][_0x36fefa(0x36f)]}),_0x1cf196=_0x231e9f[_0x36fefa(0x2e6)],_0x54f314=_0x1fece1[_0x36fefa(0x2e6)];}_0x1cf196=_0x1187a4[_0x36fefa(0x377)][_0x36fefa(0x2d0)](_0x173f20[_0x36fefa(0x3c1)][0x0]),_0x54f314=_0x1187a4[_0x36fefa(0x377)][_0x36fefa(0x2d0)](_0x173f20[_0x36fefa(0x3c1)][0x0]);for(let _0x53d14a=_0x4f38cd['length']-0x1;_0x53d14a>=0x0;_0x53d14a--){const _0x1222f6={'id':_0x36fefa(0x492),'params':{'unitId':_0x4f38cd[_0x53d14a]['unitId'],..._0x4f38cd[_0x53d14a][_0x36fefa(0x27b)]}},_0x29f0c1={'id':_0x36fefa(0x492),'params':{'unitId':_0x4f38cd[_0x53d14a][_0x36fefa(0x1f8)],..._0x4f38cd[_0x53d14a][_0x36fefa(0x32c)]}},_0x4e5749=this[_0x36fefa(0x47b)]['transformMutation'](_0x1cf196,_0x1222f6,!0x1),_0x445e96=this[_0x36fefa(0x47b)][_0x36fefa(0x375)](_0x54f314,_0x29f0c1,!0x1);if(_0xa5f490['isTransformMutationFailure'](_0x4e5749))throw _0x4e5749[_0x36fefa(0x310)];if(_0xa5f490[_0x36fefa(0x46c)](_0x445e96))throw _0x445e96['error'];_0x3c2ffd[_0x36fefa(0x248)]({..._0x4f38cd[_0x53d14a],'undoState':_0x4e5749[_0x36fefa(0x421)][_0x36fefa(0x36f)],'redoState':_0x445e96[_0x36fefa(0x421)][_0x36fefa(0x36f)]}),_0x1cf196=_0x4e5749[_0x36fefa(0x2e6)],_0x54f314=_0x445e96[_0x36fefa(0x2e6)];}this[_0x36fefa(0x289)][_0x36fefa(0x3e1)](_0x4e58d3,{'history':_0x18bea3,'collaboration':_0x3c2ffd});}};_0x2f87dd=_0x3c30c5([_0x20e3c6(0x0,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x20e3c6(0x1,_0xa5f490['ITransformService']),_0x20e3c6(0x2,_0x1187a4[_0x45f550(0x474)](_0x1b81cc[_0x45f550(0x349)]))],_0x2f87dd);var _0x3d1a45=Object[_0x45f550(0x38f)],_0x467ce9=(_0x3de351,_0xa8635,_0xc29e50,_0x469614)=>{const _0x403752=_0x45f550;for(var _0x2c6835=_0x469614>0x1?void 0x0:_0x469614?_0x3d1a45(_0xa8635,_0xc29e50):_0xa8635,_0x828a1f=_0x3de351[_0x403752(0x49c)]-0x1,_0x24798d;_0x828a1f>=0x0;_0x828a1f--)(_0x24798d=_0x3de351[_0x828a1f])&&(_0x2c6835=_0x24798d(_0x2c6835)||_0x2c6835);return _0x2c6835;},_0x299e07=(_0x4ebdd0,_0x38bc48)=>(_0x31a247,_0x2e5de7)=>_0x38bc48(_0x31a247,_0x2e5de7,_0x4ebdd0);let _0xab804=class{constructor(_0x6fe31c,_0x38dcc7){const _0x465fb8=_0x45f550;this[_0x465fb8(0x234)]=_0x6fe31c,this[_0x465fb8(0x47b)]=_0x38dcc7;}[_0x45f550(0x31e)](_0xa41fc1){const _0x1ab290=_0x45f550;var _0x4bf8cb;const _0x563f04=this[_0x1ab290(0x234)][_0x1ab290(0x4b4)](_0x17f20c[_0x1ab290(0x2df)]),_0x2f3987=(_0x4bf8cb=_0x563f04[_0x1ab290(0x321)]())!=null?_0x4bf8cb:[];if(_0x2f3987['length']===0x0)return;const _0x13f8da=_0xa41fc1[_0x1ab290(0x332)],_0x1a2d5f=[{'id':_0x1ab290(0x492),'params':{'unitId':_0x13f8da,'actions':null,'textRanges':_0x2f3987}}],_0x1c3091=this['_transformService']['transformMutationsWithChangeset'](_0xa41fc1,_0x1a2d5f);if(!_0xa5f490['isTransformMutationsWithChangesetSuccess'](_0x1c3091))throw _0x1c3091[_0x1ab290(0x310)];const _0x5a43e4=_0x1c3091[_0x1ab290(0x421)][0x0][_0x1ab290(0x36f)][_0x1ab290(0x22c)];Array[_0x1ab290(0x37c)](_0x5a43e4)&&_0x5a43e4[_0x1ab290(0x49c)]&&_0x563f04['replaceDocRanges'](_0x5a43e4,{'unitId':_0x13f8da,'subUnitId':_0x13f8da},!0x1);}};_0xab804=_0x467ce9([_0x299e07(0x0,_0x1187a4['Inject'](_0x1187a4[_0x45f550(0x2bc)])),_0x299e07(0x1,_0xa5f490[_0x45f550(0x3bb)])],_0xab804);var _0xdb65a5=Object['getOwnPropertyDescriptor'],_0x2ce73c=(_0x3aa6f4,_0x450567,_0x5d92f8,_0x1f55e8)=>{const _0x1adf8d=_0x45f550;for(var _0x5b341e=_0x1f55e8>0x1?void 0x0:_0x1f55e8?_0xdb65a5(_0x450567,_0x5d92f8):_0x450567,_0xbb346d=_0x3aa6f4[_0x1adf8d(0x49c)]-0x1,_0x102985;_0xbb346d>=0x0;_0xbb346d--)(_0x102985=_0x3aa6f4[_0xbb346d])&&(_0x5b341e=_0x102985(_0x5b341e)||_0x5b341e);return _0x5b341e;},_0x1c4ea2=(_0x348cb2,_0x3513da)=>(_0x4e23cb,_0x436baa)=>_0x3513da(_0x4e23cb,_0x436baa,_0x348cb2);let _0x1643ec=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x95267d,_0x1831e8,_0x480395,_0x422dba,_0x5887ba,_0x4def4d,_0xc71ac5,_0x5ef1bd){const _0x2c9748=_0x45f550;super(),_0x4775d1(this,_0x2c9748(0x2f6),new _0x1068bb[(_0x2c9748(0x390))](_0x2de05c[_0x2c9748(0x2f5)]['NOT_COLLAB'])),(this[_0x2c9748(0x289)]=_0x95267d,this[_0x2c9748(0x1e7)]=_0x1831e8,this[_0x2c9748(0x454)]=_0x480395,this[_0x2c9748(0x2e4)]=_0x422dba,this[_0x2c9748(0x460)]=_0x5887ba,this[_0x2c9748(0x241)]=_0x4def4d,this[_0x2c9748(0x2cd)]=_0xc71ac5,this[_0x2c9748(0x351)]=_0x5ef1bd,this[_0x2c9748(0x224)]());}[_0x45f550(0x224)](){const _0xce81ba=_0x45f550;this['disposeWithMe'](this[_0xce81ba(0x1e7)]['entityInit$'][_0xce81ba(0x43e)](_0x561113=>{const _0x5783cd=_0xce81ba,_0x4ae436=this[_0x5783cd(0x289)][_0x5783cd(0x28a)][_0x5783cd(0x43e)](_0x4bd07f=>{const _0x32b0db=_0x5783cd;if(_0x4bd07f==null)return;const {unitId:_0x30a875,redoState:_0x1dc18e,commandId:_0x33e61a}=_0x4bd07f;if(_0x30a875!==_0x561113[_0x32b0db(0x332)])return;const _0x29846f={'id':_0x33e61a,'type':_0x1187a4[_0x32b0db(0x28e)][_0x32b0db(0x425)],'params':{'unitId':_0x30a875,'actions':_0x1dc18e[_0x32b0db(0x34f)],'textRanges':null}};_0x561113[_0x32b0db(0x46b)](_0x29846f);});if(_0x561113[_0x5783cd(0x30d)](_0x4ae436),_0x561113 instanceof _0x2de05c[_0x5783cd(0x21d)]){const _0xe50d06={'onTransformIME':_0x9ac2=>this[_0x5783cd(0x454)][_0x5783cd(0x24e)](_0x9ac2),'onTransformState':_0x3a7433=>this['_docTransformStateCacheService'][_0x5783cd(0x479)](_0x3a7433),'onTransformSelections':_0x5369fd=>this[_0x5783cd(0x460)]['transformSelections'](_0x5369fd),'onSyncEditingCollabCursor':_0x2c0d12=>this[_0x5783cd(0x241)][_0x5783cd(0x249)](_0x2c0d12),'onTransformRemoteChangesetByIMECache':_0x2fae36=>this[_0x5783cd(0x454)][_0x5783cd(0x436)](_0x2fae36),'onTransformRemoteChangesetByStateCache':_0x190f2a=>this[_0x5783cd(0x2e4)]['transformRemoteChangeset'](_0x190f2a)};_0x561113[_0x5783cd(0x21e)](_0xe50d06);}}));}};_0x1643ec=_0x2ce73c([_0x1c4ea2(0x0,_0x1187a4[_0x45f550(0x474)](_0x1b81cc[_0x45f550(0x349)])),_0x1c4ea2(0x1,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x3df)])),_0x1c4ea2(0x2,_0x1187a4['Inject'](_0x444986)),_0x1c4ea2(0x3,_0x1187a4[_0x45f550(0x474)](_0x2f87dd)),_0x1c4ea2(0x4,_0x1187a4['Inject'](_0xab804)),_0x1c4ea2(0x5,_0x1187a4[_0x45f550(0x474)](_0x3cbd00)),_0x1c4ea2(0x6,_0x20024a[_0x45f550(0x392)]),_0x1c4ea2(0x7,_0x1187a4['Inject'](_0x1187a4['LocaleService']))],_0x1643ec);var _0x44e248=(_0x1701ca=>(_0x1701ca[_0x1701ca[_0x45f550(0x408)]=0x0]='UNDEFINED',_0x1701ca[_0x1701ca['OK']=0x1]='OK',_0x1701ca[_0x1701ca[_0x45f550(0x1f6)]=0x2]='INTERNAL_ERROR',_0x1701ca[_0x1701ca[_0x45f550(0x41d)]=0x3]=_0x45f550(0x41d),_0x1701ca[_0x1701ca[_0x45f550(0x203)]=0x4]=_0x45f550(0x203),_0x1701ca[_0x1701ca['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x1701ca[_0x1701ca['ALREADY_EXISTS']=0x6]=_0x45f550(0x3b2),_0x1701ca[_0x1701ca[_0x45f550(0x290)]=0x7]=_0x45f550(0x290),_0x1701ca[_0x1701ca[_0x45f550(0x33b)]=0x8]=_0x45f550(0x33b),_0x1701ca[_0x1701ca['COMPLETION_FINISHED']=0x9]=_0x45f550(0x36b),_0x1701ca[_0x1701ca[_0x45f550(0x3d2)]=0xa]=_0x45f550(0x3d2),_0x1701ca[_0x1701ca[_0x45f550(0x432)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1701ca[_0x1701ca[_0x45f550(0x27e)]=0xc]=_0x45f550(0x27e),_0x1701ca[_0x1701ca[_0x45f550(0x29d)]=0xd]=_0x45f550(0x29d),_0x1701ca[_0x1701ca[_0x45f550(0x477)]=0xe]=_0x45f550(0x477),_0x1701ca[_0x1701ca['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x1701ca[_0x1701ca[_0x45f550(0x44c)]=0x10]=_0x45f550(0x44c),_0x1701ca[_0x1701ca[_0x45f550(0x3f1)]=0x64]=_0x45f550(0x3f1),_0x1701ca[_0x1701ca[_0x45f550(0x21f)]=0x65]='ERROR_AGAIN',_0x1701ca[_0x1701ca['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x1701ca[_0x1701ca[_0x45f550(0x445)]=0xca]='USER_IS_ANONYMOUS',_0x1701ca[_0x1701ca['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x45f550(0x439),_0x1701ca[_0x1701ca[_0x45f550(0x401)]=0x1771]=_0x45f550(0x401),_0x1701ca[_0x1701ca[_0x45f550(0x278)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1701ca[_0x1701ca[_0x45f550(0x365)]=0x1773]=_0x45f550(0x365),_0x1701ca[_0x1701ca[_0x45f550(0x2ba)]=0x1b59]=_0x45f550(0x2ba),_0x1701ca[_0x1701ca[_0x45f550(0x339)]=0x1b5a]=_0x45f550(0x339),_0x1701ca[_0x1701ca[_0x45f550(0x41b)]=0x1b5b]=_0x45f550(0x41b),_0x1701ca[_0x1701ca['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x45f550(0x33a),_0x1701ca[_0x1701ca[_0x45f550(0x2fc)]=0x1b5d]=_0x45f550(0x2fc),_0x1701ca[_0x1701ca[_0x45f550(0x46e)]=0x1f41]=_0x45f550(0x46e),_0x1701ca[_0x1701ca['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1701ca[_0x1701ca[_0x45f550(0x233)]=0x232a]=_0x45f550(0x233),_0x1701ca[_0x1701ca[_0x45f550(0x3ed)]=0x232b]=_0x45f550(0x3ed),_0x1701ca[_0x1701ca['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x45f550(0x4ad),_0x1701ca[_0x1701ca['LICENSE_DISTRO_REJECTED']=0x232d]=_0x45f550(0x2f1),_0x1701ca[_0x1701ca['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1701ca[_0x1701ca[_0x45f550(0x426)]=0x2712]=_0x45f550(0x426),_0x1701ca[_0x1701ca[_0x45f550(0x369)]=0x2713]=_0x45f550(0x369),_0x1701ca[_0x1701ca[_0x45f550(0x41e)]=0x2714]=_0x45f550(0x41e),_0x1701ca[_0x1701ca[_0x45f550(0x347)]=0x271a]=_0x45f550(0x347),_0x1701ca[_0x1701ca[_0x45f550(0x280)]=0x271b]=_0x45f550(0x280),_0x1701ca[_0x1701ca[_0x45f550(0x497)]=0x271c]=_0x45f550(0x497),_0x1701ca[_0x1701ca[_0x45f550(0x1ee)]=0x271d]=_0x45f550(0x1ee),_0x1701ca[_0x1701ca['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1701ca[_0x1701ca['YUUMI_AI_RUN_FAILED']=0x271f]=_0x45f550(0x276),_0x1701ca[_0x1701ca[_0x45f550(0x3d9)]=0x2720]=_0x45f550(0x3d9),_0x1701ca[_0x1701ca[_0x45f550(0x464)]=0x2af9]=_0x45f550(0x464),_0x1701ca[_0x1701ca[_0x45f550(0x36d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1701ca[_0x1701ca[_0x45f550(0x4b2)]=0x2ee2]=_0x45f550(0x4b2),_0x1701ca[_0x1701ca['INVITE_CODE_REQUIRED']=0x2ee3]=_0x45f550(0x463),_0x1701ca[_0x1701ca[_0x45f550(0x327)]=0x2ee4]=_0x45f550(0x327),_0x1701ca[_0x1701ca[_0x45f550(0x219)]=0x2ee5]=_0x45f550(0x219),_0x1701ca[_0x1701ca[_0x45f550(0x403)]=0x32c9]=_0x45f550(0x403),_0x1701ca[_0x1701ca['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1701ca[_0x1701ca[_0x45f550(0x451)]=0x32cb]=_0x45f550(0x451),_0x1701ca[_0x1701ca[_0x45f550(0x2d1)]=0x36b1]=_0x45f550(0x2d1),_0x1701ca[_0x1701ca[_0x45f550(0x410)]=0x36b2]=_0x45f550(0x410),_0x1701ca[_0x1701ca[_0x45f550(0x2f4)]=0x36b3]=_0x45f550(0x2f4),_0x1701ca[_0x1701ca['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x45f550(0x3a5),_0x1701ca[_0x1701ca[_0x45f550(0x341)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x1701ca[_0x1701ca[_0x45f550(0x1ec)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x1701ca[_0x1701ca['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x45f550(0x20b),_0x1701ca[_0x1701ca['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x1701ca[_0x1701ca[_0x45f550(0x1ea)]=0x3a99]=_0x45f550(0x1ea),_0x1701ca[_0x1701ca['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x1701ca[_0x1701ca[_0x45f550(0x230)]=0x3a9b]=_0x45f550(0x230),_0x1701ca[_0x1701ca[_0x45f550(0x39f)]=0x3a9c]=_0x45f550(0x39f),_0x1701ca[_0x1701ca['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x45f550(0x38b),_0x1701ca[_0x1701ca[_0x45f550(0x2c1)]=0x3a9e]=_0x45f550(0x2c1),_0x1701ca[_0x1701ca[_0x45f550(0x1ef)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1701ca[_0x1701ca[_0x45f550(0x40d)]=0x3e81]=_0x45f550(0x40d),_0x1701ca[_0x1701ca[_0x45f550(0x415)]=-0x1]=_0x45f550(0x415),_0x1701ca))(_0x44e248||{});function _0x208711(_0x21da35){const _0x70309d=_0x45f550;var _0x1bc432,_0x1dcb67;const _0x5b7ed0=(_0x1bc432=_0x21da35[_0x70309d(0x467)])==null?void 0x0:_0x1bc432[_0x70309d(0x4a5)],_0x578566=((_0x1dcb67=_0x21da35[_0x70309d(0x467)])==null?void 0x0:_0x1dcb67[_0x70309d(0x3d5)])||0x0;return _0x5b7ed0===_0xbede2[_0x70309d(0x275)][_0x70309d(0x3b1)]&&_0x578566>0x0;}function _0x4d2fe3(_0x197053){const _0x10ace1=_0x45f550;return _0x197053['functionsExecutedState']===_0xbede2[_0x10ace1(0x2ea)][_0x10ace1(0x368)];}var _0x60090e=Object['getOwnPropertyDescriptor'],_0x939a4b=(_0x3e0f66,_0xb9b02c,_0x5617e8,_0x5330d5)=>{const _0x5035c9=_0x45f550;for(var _0x122af9=_0x5330d5>0x1?void 0x0:_0x5330d5?_0x60090e(_0xb9b02c,_0x5617e8):_0xb9b02c,_0x47c90c=_0x3e0f66[_0x5035c9(0x49c)]-0x1,_0x283860;_0x47c90c>=0x0;_0x47c90c--)(_0x283860=_0x3e0f66[_0x47c90c])&&(_0x122af9=_0x283860(_0x122af9)||_0x122af9);return _0x122af9;},_0xb1cbc9=(_0x2b2b32,_0x25a3c5)=>(_0xb1aaaa,_0x346642)=>_0x25a3c5(_0xb1aaaa,_0x346642,_0x2b2b32);const _0x2be216=_0x45f550(0x3f0),_0x492bae='/universer-api/license/formula/limit/start',_0x129797='/universer-api/license/formula/limit/done';let _0xb47647=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x2fda2e,_0x4c56b5,_0x10319d,_0x240c24,_0x3e00a0,_0x853e11,_0x5811f1){const _0x58092d=_0x45f550;super(),_0x4775d1(this,_0x58092d(0x3dd),null),_0x4775d1(this,_0x58092d(0x4a9),0x0),_0x4775d1(this,_0x58092d(0x3be),0x0),_0x4775d1(this,'_taskIds',[]),_0x4775d1(this,_0x58092d(0x4a8),0x0),(this[_0x58092d(0x2cd)]=_0x2fda2e,this['_commandService']=_0x4c56b5,this['_configService']=_0x10319d,this[_0x58092d(0x433)]=_0x240c24,this[_0x58092d(0x225)]=_0x3e00a0,this[_0x58092d(0x3bc)]=_0x853e11,this[_0x58092d(0x351)]=_0x5811f1,this[_0x58092d(0x4b0)]());}[_0x45f550(0x4b0)](){const _0x2a9760=_0x45f550;this[_0x2a9760(0x30d)](this[_0x2a9760(0x312)][_0x2a9760(0x205)]((_0x51579e,_0x1f4cb2)=>{const _0x2ad99e=_0x2a9760;var _0x35e065;if(_0x51579e['id']!==_0xbede2[_0x2ad99e(0x2a7)]['id'])return;const _0x2df50d=_0x51579e['params'];if(!this[_0x2ad99e(0x326)]((_0x35e065=_0x2df50d['dirtyRanges'])!=null?_0x35e065:[]))return;if(!this[_0x2ad99e(0x3a9)]())throw this['_checkAndWaitForCalculationPermission'](_0x51579e,_0x1f4cb2),this[_0x2ad99e(0x3ab)](),new _0x1187a4[(_0x2ad99e(0x2b2))]();})),this[_0x2a9760(0x30d)](this[_0x2a9760(0x312)]['onCommandExecuted']((_0x1a55d9,_0x542101)=>{const _0x520ae5=_0x2a9760;if(_0x1a55d9['id']!==_0xbede2[_0x520ae5(0x48a)]['id'])return;const _0x4322fa=_0x1a55d9[_0x520ae5(0x36f)];if(_0x208711(_0x4322fa)){const _0x2c9236=_0x1187a4['generateRandomId']();this[_0x520ae5(0x362)]['push'](_0x2c9236),this['_startCalculationLimit'](_0x2c9236);}else{if(_0x4d2fe3(_0x4322fa)&&this[_0x520ae5(0x362)]['length']>0x0){const _0xeb3142=this[_0x520ae5(0x362)][_0x520ae5(0x440)]();this[_0x520ae5(0x476)](_0xeb3142);}}}));}[_0x45f550(0x244)](){const _0xa6ec0b=_0x45f550;super['dispose'](),this[_0xa6ec0b(0x4ab)](),this['_taskIds']=[],this[_0xa6ec0b(0x3be)]=0x0,this[_0xa6ec0b(0x4a9)]=0x0,this[_0xa6ec0b(0x4a8)]=0x0;}async[_0x45f550(0x404)](_0x3c7c25,_0x2fde0b){const _0x357a08=_0x45f550;for(let _0x1da33a=0x0;_0x1da33a<0x1e;_0x1da33a++)try{if(await this[_0x357a08(0x3b3)](),this[_0x357a08(0x3a9)]()){this[_0x357a08(0x35e)](_0x3c7c25,_0x2fde0b),this['_messageService']['show']({'content':this[_0x357a08(0x351)]['t']('formula.calculation.started'),'type':_0x64dbc4[_0x357a08(0x272)][_0x357a08(0x288)]});return;}await new Promise(_0xdb6305=>{const _0x3ef824=_0x357a08;this[_0x3ef824(0x3dd)]=window[_0x3ef824(0x232)](_0xdb6305,0x3e8);});}catch(_0x5bf3af){this[_0x357a08(0x3bc)][_0x357a08(0x310)](_0x5bf3af);}this[_0x357a08(0x2cd)][_0x357a08(0x471)]({'content':this['_localeService']['t'](_0x357a08(0x218)),'type':_0x64dbc4[_0x357a08(0x272)]['Error']});}[_0x45f550(0x35e)](_0x4318fa,_0x53eeaa){const _0x2dd209=_0x45f550;try{this[_0x2dd209(0x312)][_0x2dd209(0x270)](_0x4318fa['id'],_0x4318fa['params'],_0x53eeaa);}catch(_0x5b3c02){this[_0x2dd209(0x3bc)][_0x2dd209(0x310)](_0x5b3c02);}}['_setFormulaLimitStatus'](_0x48f581,_0x5616c8){const _0xd08e3e=_0x45f550;_0x5616c8<this[_0xd08e3e(0x4a8)]||(this[_0xd08e3e(0x4a8)]=_0x5616c8,this[_0xd08e3e(0x4a9)]=Number[_0xd08e3e(0x2cc)](_0x48f581[_0xd08e3e(0x253)]),this[_0xd08e3e(0x3be)]=Number[_0xd08e3e(0x2cc)](_0x48f581[_0xd08e3e(0x3aa)]));}async['_startCalculationLimit'](_0x18c90a){const _0x5d7a7a=_0x45f550;var _0x4d60a1,_0x680cd;const _0x2e8a22=Date[_0x5d7a7a(0x2b1)]();try{const _0x403e18=((_0x4d60a1=this['_configService'][_0x5d7a7a(0x31c)](_0x2de05c[_0x5d7a7a(0x388)]))==null?void 0x0:_0x4d60a1['startFormulaLimitUrl'])||_0x492bae,_0xf1141=(await this[_0x5d7a7a(0x433)][_0x5d7a7a(0x382)](_0x403e18,{'body':JSON[_0x5d7a7a(0x2b6)]({'taskId':_0x18c90a})}))['body'];if(((_0x680cd=_0xf1141[_0x5d7a7a(0x310)])==null?void 0x0:_0x680cd['code'])!==_0x44e248['OK'])return;this[_0x5d7a7a(0x378)](_0xf1141['limitInfo'],_0x2e8a22);}catch(_0x47ff26){this['_logService'][_0x5d7a7a(0x310)](_0x47ff26);}}async['_getFormulaLimitStatus'](_0x3b4f7a){const _0x40c01d=_0x45f550;var _0x33d06c,_0x79511f;const _0x2ed8a6=Date[_0x40c01d(0x2b1)]();try{const _0x4a62d2=((_0x33d06c=this[_0x40c01d(0x35d)][_0x40c01d(0x31c)](_0x2de05c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x33d06c['getformulaLimitStatusUrl'])||_0x2be216,_0x516cab=_0x3b4f7a?_0x4a62d2+_0x40c01d(0x258)+encodeURIComponent(_0x3b4f7a):_0x4a62d2,_0x19f4d4=(await this[_0x40c01d(0x433)][_0x40c01d(0x4b4)](_0x516cab))[_0x40c01d(0x462)];if(((_0x79511f=_0x19f4d4['error'])==null?void 0x0:_0x79511f[_0x40c01d(0x28b)])!==_0x44e248['OK'])return;this['_setFormulaLimitStatus'](_0x19f4d4[_0x40c01d(0x2db)],_0x2ed8a6);}catch(_0x4e193b){this['_logService'][_0x40c01d(0x310)](_0x4e193b);}}async[_0x45f550(0x476)](_0x1a7f8f){const _0x5f26fb=_0x45f550;var _0x29097b,_0x5375df;const _0x5ea3b9=Date[_0x5f26fb(0x2b1)]();try{const _0x39b959=((_0x29097b=this[_0x5f26fb(0x35d)][_0x5f26fb(0x31c)](_0x2de05c[_0x5f26fb(0x388)]))==null?void 0x0:_0x29097b[_0x5f26fb(0x23f)])||_0x129797,_0x5575a3=(await this['_httpService'][_0x5f26fb(0x382)](_0x39b959,{'body':JSON['stringify']({'taskId':_0x1a7f8f})}))['body'];if(((_0x5375df=_0x5575a3[_0x5f26fb(0x310)])==null?void 0x0:_0x5375df[_0x5f26fb(0x28b)])!==_0x44e248['OK'])return;this[_0x5f26fb(0x378)](_0x5575a3[_0x5f26fb(0x2db)],_0x5ea3b9);}catch(_0x41770d){this['_logService'][_0x5f26fb(0x310)](_0x41770d);}}[_0x45f550(0x3a9)](){const _0x253a55=_0x45f550;return this[_0x253a55(0x4a9)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x253a55(0x3be)]>0x0;}[_0x45f550(0x4ab)](){const _0x5e7be9=_0x45f550;this[_0x5e7be9(0x3dd)]&&(clearTimeout(this[_0x5e7be9(0x3dd)]),this[_0x5e7be9(0x3dd)]=null);}[_0x45f550(0x3ab)](){const _0x28947a=_0x45f550;this[_0x28947a(0x2cd)][_0x28947a(0x471)]({'content':this['_localeService']['t'](_0x28947a(0x23b)),'type':_0x64dbc4[_0x28947a(0x272)][_0x28947a(0x2d7)]});}[_0x45f550(0x326)](_0x4fbc96){const _0x5df14e=_0x45f550;for(const _0x955315 of _0x4fbc96){const {unitId:_0x4430c4,sheetId:_0x284860,range:_0x5ab56c}=_0x955315,_0xb9c1d7=this[_0x5df14e(0x225)][_0x5df14e(0x1eb)](_0x4430c4);if(!_0xb9c1d7)continue;const _0x353fb0=_0xb9c1d7[_0x5df14e(0x3f2)](_0x284860);if(!_0x353fb0)continue;const _0x175fb1=_0x353fb0['getCellMatrix']();for(let _0x1ef36c=_0x5ab56c[_0x5df14e(0x30b)];_0x1ef36c<=_0x5ab56c['endRow'];_0x1ef36c++)for(let _0x5f2f09=_0x5ab56c[_0x5df14e(0x422)];_0x5f2f09<=_0x5ab56c[_0x5df14e(0x389)];_0x5f2f09++){const _0x2b7999=_0x175fb1['getValue'](_0x1ef36c,_0x5f2f09);if(_0x2b7999&&(_0x1187a4[_0x5df14e(0x3ba)](_0x2b7999['f'])||_0x1187a4[_0x5df14e(0x2f9)](_0x2b7999['si'])))return!0x0;}}return!0x1;}};_0xb47647=_0x939a4b([_0xb1cbc9(0x0,_0x1187a4[_0x45f550(0x474)](_0x20024a[_0x45f550(0x392)])),_0xb1cbc9(0x1,_0x1187a4[_0x45f550(0x2ab)]),_0xb1cbc9(0x2,_0x1187a4[_0x45f550(0x45b)]),_0xb1cbc9(0x3,_0x1187a4['Inject'](_0x391b32[_0x45f550(0x3e0)])),_0xb1cbc9(0x4,_0x1187a4[_0x45f550(0x3a0)]),_0xb1cbc9(0x5,_0x1187a4['ILogService']),_0xb1cbc9(0x6,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x3a3)]))],_0xb47647);var _0x5ab35f=Object[_0x45f550(0x38f)],_0x27e759=(_0x2b3f77,_0x270252,_0x17dd62,_0x1a2947)=>{const _0x46694b=_0x45f550;for(var _0x18a8d8=_0x1a2947>0x1?void 0x0:_0x1a2947?_0x5ab35f(_0x270252,_0x17dd62):_0x270252,_0x50212a=_0x2b3f77[_0x46694b(0x49c)]-0x1,_0x393a02;_0x50212a>=0x0;_0x50212a--)(_0x393a02=_0x2b3f77[_0x50212a])&&(_0x18a8d8=_0x393a02(_0x18a8d8)||_0x18a8d8);return _0x18a8d8;},_0x1e0cfd=(_0x1bb523,_0x403dbe)=>(_0x54f1df,_0x138eaf)=>_0x403dbe(_0x54f1df,_0x138eaf,_0x1bb523);let _0x59bd78=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x3f2645,_0x10dcf5,_0x101355){const _0x1fd771=_0x45f550;super(),_0x4775d1(this,_0x1fd771(0x3ca),new Map()),_0x4775d1(this,_0x1fd771(0x266),new Map()),_0x4775d1(this,'_disabled',!0x1),(this[_0x1fd771(0x35d)]=_0x3f2645,this[_0x1fd771(0x47d)]=_0x10dcf5,this[_0x1fd771(0x286)]=_0x101355);}[_0x45f550(0x30f)](){const _0x1720ee=_0x45f550;this[_0x1720ee(0x3c8)]=!0x0;}['enableLocalCache'](){const _0x1e5017=_0x45f550;this[_0x1e5017(0x3c8)]=!0x1;}get[_0x45f550(0x48e)](){return this['_saveTaskMap'];}[_0x45f550(0x244)](){const _0x4b7c16=_0x45f550;this[_0x4b7c16(0x40a)]()['then'](()=>super[_0x4b7c16(0x244)]());}async['loadOfflineData'](_0xa30f8){const _0x1d4241=_0x45f550;return this[_0x1d4241(0x3c8)]?null:this[_0x1d4241(0x47d)][_0x1d4241(0x449)](_0x2de05c[_0x1d4241(0x1f4)](_0xa30f8));}async[_0x45f550(0x3da)](_0x4f64a9,_0x52f347){const _0x30030a=_0x45f550;return!!this[_0x30030a(0x47d)][_0x30030a(0x4af)](_0x4f64a9,_0x52f347);}[_0x45f550(0x24b)](_0x239820,_0x2b5b99,_0x1f89dd,_0x150e37){const _0x190f1f=_0x45f550,_0x28782d=this[_0x190f1f(0x286)]['getCurrentRevOfUnit'](_0x239820);this[_0x190f1f(0x3ca)][_0x190f1f(0x47c)](_0x239820,{'unitID':_0x239820,'type':_0x2b5b99,'awaitingChangeset':_0x1f89dd,'mutations':_0x150e37,'rev':_0x28782d}),this[_0x190f1f(0x266)][_0x190f1f(0x478)](_0x239820)||this[_0x190f1f(0x41a)](_0x239820);}[_0x45f550(0x41a)](_0x1e0dde){const _0xec77dc=_0x45f550,_0x3f81c9=this[_0xec77dc(0x306)]();_0x3f81c9===0x0?this[_0xec77dc(0x483)](_0x1e0dde):this[_0xec77dc(0x266)]['set'](_0x1e0dde,setTimeout(()=>this[_0xec77dc(0x483)](_0x1e0dde),_0x3f81c9));}[_0x45f550(0x306)](){const _0x9502a2=_0x45f550;var _0x2b0b8d;return(_0x2b0b8d=this[_0x9502a2(0x35d)][_0x9502a2(0x31c)](_0x2de05c[_0x9502a2(0x361)]))!=null?_0x2b0b8d:_0x2de05c[_0x9502a2(0x2f2)];}['_saveCache'](_0x4fb0a8){const _0x1aeed2=_0x45f550,_0x3e6394=this[_0x1aeed2(0x266)][_0x1aeed2(0x4b4)](_0x4fb0a8);return _0x3e6394!==void 0x0&&window['clearTimeout'](_0x3e6394),this[_0x1aeed2(0x47d)][_0x1aeed2(0x4af)](_0x2de05c[_0x1aeed2(0x1f4)](_0x4fb0a8),this[_0x1aeed2(0x3ca)][_0x1aeed2(0x4b4)](_0x4fb0a8))[_0x1aeed2(0x420)](()=>this[_0x1aeed2(0x266)]['delete'](_0x4fb0a8));}async['exhaustSavingTask'](){const _0x12ecab=_0x45f550,_0x38d3a6=[];this[_0x12ecab(0x266)][_0x12ecab(0x315)]((_0x216a76,_0x5bdac6)=>{const _0xb8af4c=_0x12ecab;window['clearTimeout'](_0x216a76),_0x38d3a6['push'](this['_saveCache'](_0x5bdac6)[_0xb8af4c(0x420)](()=>{const _0x4053b4=_0xb8af4c;this[_0x4053b4(0x266)][_0x4053b4(0x340)](_0x5bdac6);}));}),await Promise['all'](_0x38d3a6);}};_0x59bd78=_0x27e759([_0x1e0cfd(0x0,_0x1187a4['IConfigService']),_0x1e0cfd(0x1,_0x1187a4[_0x45f550(0x313)]),_0x1e0cfd(0x2,_0x1187a4['Inject'](_0xa5f490[_0x45f550(0x2dd)]))],_0x59bd78);class _0x56ec38 extends _0x1187a4[_0x45f550(0x215)]{constructor(){const _0x1486ae=_0x45f550;super(),_0x4775d1(this,_0x1486ae(0x3bf)),this[_0x1486ae(0x3bf)]=_0x1068bb['fromEvent'](window,_0x1486ae(0x24d))['pipe'](_0x1068bb[_0x1486ae(0x274)](this[_0x1486ae(0x2f8)]),_0x1068bb[_0x1486ae(0x256)](0x1),_0x1068bb[_0x1486ae(0x353)](void 0x0));}['setParam'](_0x4f5d79,_0x4f19cb,_0x2457c8=!0x1){const _0x2fd5fb=_0x45f550,_0x544bf1=new URL(window[_0x2fd5fb(0x207)]['href']);_0x544bf1[_0x2fd5fb(0x2ef)][_0x2fd5fb(0x47c)](_0x4f5d79,_0x4f19cb),_0x2457c8?window[_0x2fd5fb(0x29a)]['replaceState']('','',_0x544bf1[_0x2fd5fb(0x3fe)]()):window[_0x2fd5fb(0x29a)][_0x2fd5fb(0x1f2)]('','',_0x544bf1[_0x2fd5fb(0x3fe)]());}[_0x45f550(0x370)](_0x2cb59d,_0x123693=!0x1){const _0x613d20=_0x45f550,_0x347033=new URL(window[_0x613d20(0x207)][_0x613d20(0x350)]);_0x347033['searchParams'][_0x613d20(0x340)](_0x2cb59d),_0x123693?window['history'][_0x613d20(0x4aa)]('','',_0x347033['toString']()):window[_0x613d20(0x29a)]['pushState']('','',_0x347033['toString']());}[_0x45f550(0x301)](_0x2c2ad2){const _0x3c9841=_0x45f550;var _0x47dcfd;return(_0x47dcfd=new URL(window['location'][_0x3c9841(0x350)])[_0x3c9841(0x2ef)]['get'](_0x2c2ad2))!=null?_0x47dcfd:void 0x0;}}var _0x313ff3=Object[_0x45f550(0x366)],_0x20382b=Object[_0x45f550(0x38f)],_0x470b2c=(_0x60ec8f,_0x4288e5,_0x3b634e)=>_0x4288e5 in _0x60ec8f?_0x313ff3(_0x60ec8f,_0x4288e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b634e}):_0x60ec8f[_0x4288e5]=_0x3b634e,_0x162956=(_0x3660e4,_0x10a8a8,_0x3f8e56,_0x1f5a52)=>{for(var _0x42890c=_0x1f5a52>0x1?void 0x0:_0x1f5a52?_0x20382b(_0x10a8a8,_0x3f8e56):_0x10a8a8,_0x163d01=_0x3660e4['length']-0x1,_0x24964f;_0x163d01>=0x0;_0x163d01--)(_0x24964f=_0x3660e4[_0x163d01])&&(_0x42890c=_0x24964f(_0x42890c)||_0x42890c);return _0x42890c;},_0x543a99=(_0x37fda4,_0x2e3697)=>(_0x110089,_0x3d8baa)=>_0x2e3697(_0x110089,_0x3d8baa,_0x37fda4),_0x2112e6=(_0x237c00,_0xa56ade,_0x6518e5)=>_0x470b2c(_0x237c00,_0xa56ade+'',_0x6518e5);const _0x5b0642=_0x45f550(0x38e);_0x116b26[_0x45f550(0x472)]=class extends _0x1187a4['Plugin']{constructor(_0x5a9a2a=_0x4af272,_0x3322d7,_0x18d3f0,_0x125819){const _0x5ca822=_0x45f550;super(),this[_0x5ca822(0x271)]=_0x5a9a2a,this[_0x5ca822(0x1f0)]=_0x3322d7,this['_injector']=_0x18d3f0,this[_0x5ca822(0x35d)]=_0x125819;const {..._0x4d90ee}=_0x1187a4['merge']({},_0x4af272,this['_config']);this[_0x5ca822(0x35d)][_0x5ca822(0x246)](_0x3a1054,_0x4d90ee);}[_0x45f550(0x42c)](){const _0x24fd7c=_0x45f550;this['_registerDependencies'](),this[_0x24fd7c(0x4ac)]();}[_0x45f550(0x2af)](){const _0x349248=_0x45f550;this[_0x349248(0x2ec)]();}[_0x45f550(0x2ca)](){const _0x3b20f5=_0x45f550;var _0x3c944b;const _0x2921c2=[[_0x5cc5ff],[_0xb47647],[_0xab804],[_0x444986],[_0x2f87dd],[_0x3cbd00],[_0x48aae0,{'useClass':_0x56ec38}],[_0x391b32[_0x3b20f5(0x37d)],{'useClass':_0x391b32[_0x3b20f5(0x3a4)]}],[_0x2de05c[_0x3b20f5(0x348)],{'useClass':_0x59bd78}],[_0x116b26[_0x3b20f5(0x32a)]],[_0x1643ec],[_0x3e8554],[_0x12a146],[_0x5bb55b],[_0x116b26[_0x3b20f5(0x252)]]];_0x1187a4[_0x3b20f5(0x28d)](this[_0x3b20f5(0x234)],_0x1187a4[_0x3b20f5(0x3ac)](_0x2921c2,(_0x3c944b=this[_0x3b20f5(0x271)])==null?void 0x0:_0x3c944b[_0x3b20f5(0x2da)]));}[_0x45f550(0x2ec)](){const _0x23c5b9=_0x45f550;this['disposeWithMe'](this[_0x23c5b9(0x1f0)]['registerRenderModule'](_0x1187a4[_0x23c5b9(0x2ed)][_0x23c5b9(0x2bf)],[_0x17ca61])),this[_0x23c5b9(0x30d)](this[_0x23c5b9(0x1f0)]['registerRenderModule'](_0x1187a4[_0x23c5b9(0x2ed)]['UNIVER_SHEET'],[_0x43f6b3]));}[_0x45f550(0x4ac)](){const _0x4a065d=_0x45f550;_0x1187a4['touchDependencies'](this[_0x4a065d(0x234)],[[_0x12a146],[_0x116b26['DesktopCollaborationStatusDisplayController']],[_0x1643ec],[_0x3e8554],[_0x116b26[_0x4a065d(0x252)]],[_0xb47647]]);}},_0x2112e6(_0x116b26['UniverCollaborationClientUIPlugin'],_0x45f550(0x27a),_0x5b0642),_0x116b26[_0x45f550(0x472)]=_0x162956([_0x1187a4[_0x45f550(0x3b7)](_0x2de05c[_0x45f550(0x381)]),_0x543a99(0x1,_0x52d8dc[_0x45f550(0x254)]),_0x543a99(0x2,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x543a99(0x3,_0x1187a4[_0x45f550(0x45b)])],_0x116b26[_0x45f550(0x472)]);var _0x363a4f=Object[_0x45f550(0x38f)],_0x45e873=(_0x380a37,_0x542c6b,_0x1ffb51,_0x4b2730)=>{const _0x47b58e=_0x45f550;for(var _0x1c7b86=_0x4b2730>0x1?void 0x0:_0x4b2730?_0x363a4f(_0x542c6b,_0x1ffb51):_0x542c6b,_0x509c7d=_0x380a37[_0x47b58e(0x49c)]-0x1,_0x5b0023;_0x509c7d>=0x0;_0x509c7d--)(_0x5b0023=_0x380a37[_0x509c7d])&&(_0x1c7b86=_0x5b0023(_0x1c7b86)||_0x1c7b86);return _0x1c7b86;},_0x322557=(_0x5135f1,_0x23cac3)=>(_0x39c3a1,_0x348cb3)=>_0x23cac3(_0x39c3a1,_0x348cb3,_0x5135f1);_0x116b26[_0x45f550(0x42f)]=class extends _0x2de05c[_0x45f550(0x295)]{constructor(_0x549030,_0x2483b3,_0x14e4ba,_0x5d274e,_0x18050e){super(_0x549030,_0x2483b3,_0x14e4ba,_0x5d274e,_0x18050e);}async[_0x45f550(0x3a6)](_0x2da95b){const _0xbd6790=_0x45f550,_0x304c90=await this[_0xbd6790(0x3ad)](),_0x57fbcc=this[_0xbd6790(0x3ea)](_0x2da95b,_0x304c90);return this['_doCreateSocket'](_0x57fbcc);}['_createSocketURL'](_0x3fffe9,_0xf35d03){const _0x50dcc8=_0x45f550,_0x29d6c8=typeof window>'u'?new URL(_0x3fffe9):new URL(_0x3fffe9,window[_0x50dcc8(0x207)][_0x50dcc8(0x354)]);_0x29d6c8[_0x50dcc8(0x2ef)]['set'](_0x50dcc8(0x298),_0xf35d03);const _0x46b44b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50dcc8(0x207)][_0x50dcc8(0x20e)]);return _0x46b44b[_0x50dcc8(0x4b4)]('runId')&&_0x29d6c8['searchParams'][_0x50dcc8(0x47c)](_0x50dcc8(0x44b),_0x46b44b[_0x50dcc8(0x4b4)](_0x50dcc8(0x44b))),_0x29d6c8[_0x50dcc8(0x3fe)]();}async[_0x45f550(0x3ad)](){const _0x4ec7c3=_0x45f550;var _0x8f4a4e,_0x247fa8,_0x57d702;const _0x5406b1=this['_configService'][_0x4ec7c3(0x31c)](_0x2de05c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x9dc838=(_0x8f4a4e=_0x5406b1==null?void 0x0:_0x5406b1[_0x4ec7c3(0x226)])!=null?_0x8f4a4e:_0x2de05c[_0x4ec7c3(0x33c)];return(_0x57d702=(_0x247fa8=(await this[_0x4ec7c3(0x433)][_0x4ec7c3(0x4b4)](_0x9dc838,{'headers':{'Content-Type':_0x4ec7c3(0x294)}}))[_0x4ec7c3(0x462)])==null?void 0x0:_0x247fa8[_0x4ec7c3(0x391)])!=null?_0x57d702:'';}},_0x116b26[_0x45f550(0x42f)]=_0x45e873([_0x322557(0x0,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x322557(0x1,_0x1187a4[_0x45f550(0x474)](_0x391b32[_0x45f550(0x3e0)])),_0x322557(0x2,_0x1187a4[_0x45f550(0x45b)]),_0x322557(0x3,_0x1187a4[_0x45f550(0x437)]),_0x322557(0x4,_0xa5f490[_0x45f550(0x489)])],_0x116b26[_0x45f550(0x42f)]);var _0x2e1f7d=Object[_0x45f550(0x38f)],_0x483d79=(_0x1e9418,_0x1dd9e0,_0x1b7411,_0x639e00)=>{for(var _0x31b497=_0x639e00>0x1?void 0x0:_0x639e00?_0x2e1f7d(_0x1dd9e0,_0x1b7411):_0x1dd9e0,_0x59a41b=_0x1e9418['length']-0x1,_0x58f38b;_0x59a41b>=0x0;_0x59a41b--)(_0x58f38b=_0x1e9418[_0x59a41b])&&(_0x31b497=_0x58f38b(_0x31b497)||_0x31b497);return _0x31b497;},_0xa0e948=(_0x5d2133,_0x282be7)=>(_0x433a0c,_0x19b452)=>_0x282be7(_0x433a0c,_0x19b452,_0x5d2133);_0x116b26[_0x45f550(0x251)]=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x308cad,_0x5b7a6a,_0x5559e2){const _0x76d979=_0x45f550;super(),this[_0x76d979(0x208)]=_0x308cad,this[_0x76d979(0x433)]=_0x5b7a6a,this[_0x76d979(0x35d)]=_0x5559e2;}async[_0x45f550(0x2d5)](_0x44ab79,_0x19c1d2,_0x349e44,..._0x404887){const _0x4fa30c=_0x45f550;var _0x3e0a8b,_0x1eee26,_0xd9137,_0x4ef757;const _0x2b41fc=this[_0x4fa30c(0x208)][_0x4fa30c(0x37b)]();if(!_0x2b41fc)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1f2d14=((_0x3e0a8b=this['_configService']['getConfig'](_0x2de05c[_0x4fa30c(0x281)]))!=null?_0x3e0a8b:_0x2de05c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x44ab79+_0x4fa30c(0x39b)+_0x19c1d2,_0x2be7be=new URL(window[_0x4fa30c(0x207)][_0x4fa30c(0x350)]),_0x433e7d={'scriptId':_0x44ab79,'runId':(_0x1eee26=_0x2be7be[_0x4fa30c(0x2ef)][_0x4fa30c(0x4b4)](_0x4fa30c(0x44b)))!=null?_0x1eee26:'','function':_0x19c1d2,'unitId':_0x2b41fc['getUnitId'](),'argsOfFunction':JSON[_0x4fa30c(0x2b6)](_0x404887),'invokeId':(_0xd9137=_0x349e44[_0x4fa30c(0x45c)])!=null?_0xd9137:'','executionId':(_0x4ef757=_0x349e44[_0x4fa30c(0x48c)])!=null?_0x4ef757:''};try{const _0x23583b=await this[_0x4fa30c(0x433)][_0x4fa30c(0x382)](_0x1f2d14,{'body':_0x433e7d});return _0x23583b[_0x4fa30c(0x462)][_0x4fa30c(0x310)]&&_0x23583b[_0x4fa30c(0x462)][_0x4fa30c(0x310)][_0x4fa30c(0x28b)]!==_0x44e248['OK']?_0x4fa30c(0x4b3):_0x23583b[_0x4fa30c(0x462)][_0x4fa30c(0x2e3)];}catch{return _0x4fa30c(0x4b3);}}},_0x116b26[_0x45f550(0x251)]=_0x483d79([_0xa0e948(0x0,_0x1187a4['IUniverInstanceService']),_0xa0e948(0x1,_0x1187a4[_0x45f550(0x474)](_0x391b32[_0x45f550(0x3e0)])),_0xa0e948(0x2,_0x1187a4[_0x45f550(0x45b)])],_0x116b26[_0x45f550(0x251)]);const _0x14ab56=0x7530,_0x4943df=_0x45f550(0x45f);class _0x2173c8 extends _0x1187a4[_0x45f550(0x2a9)]{constructor(){const _0x4e19f7=_0x45f550;super(),_0x4775d1(this,_0x4e19f7(0x49d),_0x1187a4[_0x4e19f7(0x260)]()),_0x4775d1(this,_0x4e19f7(0x3db),new Set()),_0x4775d1(this,'_unitOnClients',new Map()),_0x4775d1(this,_0x4e19f7(0x34e),null),_0x4775d1(this,_0x4e19f7(0x231),new Map()),_0x4775d1(this,_0x4e19f7(0x461),new Map()),this['_init']();}[_0x45f550(0x244)](){const _0x58112f=_0x45f550;super[_0x58112f(0x244)](),this[_0x58112f(0x231)][_0x58112f(0x315)]((_0x2ebf4c,_0x2a1f7a)=>this[_0x58112f(0x3ff)](_0x2a1f7a)),this[_0x58112f(0x34e)]&&window[_0x58112f(0x495)](this[_0x58112f(0x34e)]);}[_0x45f550(0x1fb)](_0x4a96f1){const _0x13229a=_0x45f550;return this[_0x13229a(0x242)](_0x4a96f1)[_0x13229a(0x229)](_0x1068bb['distinctUntilChanged']());}['editingUnit'](_0x124a8e){const _0x57a723=_0x45f550;this['_selfUnitIDs'][_0x57a723(0x427)]===0x0&&this[_0x57a723(0x2aa)](),this[_0x57a723(0x3db)]['add'](_0x124a8e),this[_0x57a723(0x3e6)]({'type':0x0,'memberID':this[_0x57a723(0x49d)],'unitIDs':[_0x124a8e],'isForwarded':!0x1});}[_0x45f550(0x27d)](_0x3262de){const _0xab799f=_0x45f550;this[_0xab799f(0x3db)][_0xab799f(0x340)](_0x3262de),this['_selfUnitIDs'][_0xab799f(0x427)]===0x0&&this[_0xab799f(0x34e)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x45f550(0x22b)](){const _0x55a0f1=_0x45f550;this[_0x55a0f1(0x30d)](_0x1187a4[_0x55a0f1(0x279)](_0x1068bb[_0x55a0f1(0x3d7)](window,'storage')[_0x55a0f1(0x43e)](_0x25e9b7=>{const _0x2f3cc5=_0x55a0f1;if(_0x25e9b7[_0x2f3cc5(0x22e)]!==_0x4943df||!_0x25e9b7[_0x2f3cc5(0x2fd)])return;const _0x1119ac=JSON[_0x2f3cc5(0x2c2)](_0x25e9b7[_0x2f3cc5(0x2fd)]);this[_0x2f3cc5(0x45a)](_0x1119ac);}))),window[_0x55a0f1(0x304)](_0x55a0f1(0x240),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x55a0f1(0x45e)](this[_0x55a0f1(0x3db)])}));}[_0x45f550(0x45a)](_0x449479){const _0x3da4e7=_0x45f550;switch(_0x449479[_0x3da4e7(0x493)]){case 0x0:this['_handleJoinEvent'](_0x449479);break;case 0x1:this['_handleLeaveEvent'](_0x449479);break;case 0x2:this[_0x3da4e7(0x429)](_0x449479);break;}}[_0x45f550(0x473)](_0x2e0818){const _0x3d5a31=_0x45f550,{unitIDs:_0x2d5367,memberID:_0x4564bc,isForwarded:_0x547eb0}=_0x2e0818;_0x2d5367[_0x3d5a31(0x315)](_0x59efae=>{const _0x33b610=_0x3d5a31;if(!_0x547eb0&&this[_0x33b610(0x335)][_0x33b610(0x478)](_0x59efae)&&this[_0x33b610(0x242)](_0x59efae)[_0x33b610(0x2fa)](_0x2de05c[_0x33b610(0x35b)][_0x33b610(0x2dc)]),!this['_unitOnClients'][_0x33b610(0x478)](_0x59efae)||!this[_0x33b610(0x335)][_0x33b610(0x4b4)](_0x59efae)[_0x33b610(0x478)](_0x4564bc)){const _0x41d06b=this[_0x33b610(0x335)][_0x33b610(0x4b4)](_0x59efae)||new Set();_0x41d06b[_0x33b610(0x481)](_0x4564bc),this['_unitOnClients'][_0x33b610(0x47c)](_0x59efae,_0x41d06b),this[_0x33b610(0x3cf)](_0x4564bc);}}),_0x547eb0||this[_0x3d5a31(0x3e6)]({'type':0x0,'memberID':this[_0x3d5a31(0x49d)],'unitIDs':[...this[_0x3d5a31(0x3db)]],'isForwarded':!0x0});}[_0x45f550(0x3cf)](_0x1b80f5){const _0x1c16e0=_0x45f550;this[_0x1c16e0(0x3ff)](_0x1b80f5);const _0x15a5be=window[_0x1c16e0(0x232)](()=>{const _0x2845f7=_0x1c16e0;this[_0x2845f7(0x335)][_0x2845f7(0x315)](_0x2e346b=>{const _0x4802f1=_0x2845f7;_0x2e346b[_0x4802f1(0x340)](_0x1b80f5);});},_0x14ab56*0x2);this[_0x1c16e0(0x231)][_0x1c16e0(0x47c)](_0x1b80f5,_0x15a5be);}[_0x45f550(0x3ff)](_0xc26ca1){const _0x183ff2=_0x45f550;if(this['_clearOtherTimers'][_0x183ff2(0x478)](_0xc26ca1)){const _0xa6fc7b=this[_0x183ff2(0x231)][_0x183ff2(0x4b4)](_0xc26ca1);_0xa6fc7b&&window[_0x183ff2(0x2e2)](_0xa6fc7b),this['_clearOtherTimers']['set'](_0xc26ca1,null);}}['_handleLeaveEvent'](_0x1ac9cc){const _0x48118a=_0x45f550,{memberID:_0x4684b1,unitIDs:_0xe42bf1}=_0x1ac9cc;_0xe42bf1[_0x48118a(0x315)](_0xc77883=>{const _0x741488=_0x48118a;var _0x235892;const _0x5c2b57=this[_0x741488(0x335)][_0x741488(0x4b4)](_0xc77883);_0x5c2b57&&(_0x5c2b57['delete'](_0x4684b1),(_0x235892=this[_0x741488(0x242)](_0xc77883))==null||_0x235892[_0x741488(0x2fa)](_0x5c2b57[_0x741488(0x427)]===0x0?_0x2de05c[_0x741488(0x35b)][_0x741488(0x452)]:_0x2de05c[_0x741488(0x35b)][_0x741488(0x2dc)]));}),this[_0x48118a(0x3ff)](_0x4684b1);}[_0x45f550(0x429)](_0x4c8f52){this['_scheduleClearOtherTimer'](_0x4c8f52['memberID']);}['_send'](_0xba49d9){const _0x2f12bc=_0x45f550;localStorage[_0x2f12bc(0x4af)](_0x4943df,JSON['stringify'](_0xba49d9));}['_scheduleHeartbeat'](){const _0x4a7fb6=_0x45f550;this['_heartbeatTimer']=window[_0x4a7fb6(0x25e)](()=>{const _0x537e58=_0x4a7fb6;this[_0x537e58(0x3e6)]({'type':0x2,'memberID':this[_0x537e58(0x49d)]});},_0x14ab56);}['_ensureSubject'](_0x25b60c){const _0x31a856=_0x45f550;return this[_0x31a856(0x461)]['has'](_0x25b60c)||this['_unitStatus'][_0x31a856(0x47c)](_0x25b60c,new _0x1068bb[(_0x31a856(0x390))](_0x2de05c[_0x31a856(0x35b)][_0x31a856(0x452)])),this[_0x31a856(0x461)][_0x31a856(0x4b4)](_0x25b60c);}}_0x116b26[_0x45f550(0x47a)]=_0x48aae0,_0x116b26[_0x45f550(0x494)]=_0x377138,_0x116b26[_0x45f550(0x3d4)]=_0x2173c8,_0x116b26['WebURLService']=_0x56ec38,Object['defineProperty'](_0x116b26,Symbol[_0x45f550(0x245)],{'value':_0x45f550(0x31b)});}));
|
|
1
|
+
function _0xfc56(_0x477fa1,_0x1dd499){const _0x13f3b2=_0x13f3();return _0xfc56=function(_0xfc56e8,_0x5d3ca7){_0xfc56e8=_0xfc56e8-0xef;let _0x905d79=_0x13f3b2[_0xfc56e8];return _0x905d79;},_0xfc56(_0x477fa1,_0x1dd499);}function _0x13f3(){const _0x1963dc=['_handleHeartbeatEvent','_ensureSubject','unload','LOCAL_CACHE_INTERVAL_KEY','code','svg','ticket','green.600','DocSkeletonManagerService','map','restore','IBeforeCloseService','Tooltip','permission.content','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','RECT','getRelativeToViewportCoord','setActiveRange','off-line-icon','_logService','CONNECTOR_DATA_TOO_LARGE','currentUsage','getValue','YUUMI_ASYNCIO_CANCELLED','roomMembers$','clipPath','handleInsertRangeMoveDown','ranges','_session','_scheduleHeartbeat','post','fillText','ICommandService','_renderManagerService','getAncestorScale','serializeRangeWithSheet','error','_applyCommand','CollaborationController','m2Prime','CollaborationStatus','_getMergeRange','_updateSubUnitFromURLParams','_transformService','_updateCollabCursors','Failed','assignAColorForMemberID','ENTITLE_INSUFFICIENT_QUOTA','ThemeService','find','mergeOverrideWithDependencies','pushState','collab-rect-range-','getMember','PENDING','COLORS','_initCommandExecutedListener','DOC_RANGE_TYPE','DeleteRangeMoveUpCommandId','_backgroundColor','CURRENT_STATUS_CANNOT_OPERATE','_cursors','closePath','_removeClearOtherTimer','getActiveRange','_handleJoinEvent','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','translate(.97)','Tools','createInstance','collabStatus.offline','M0\x200H16V16H0z','getCollabEntity$','Error','replaceDocRanges','PAYMENT_CHANNEL_NOT_SUPPORT','merge','univer-flex\x20univer-items-center','_saveCache','_hovered','stage','SUCCESS','fromEventSubject','/universer-api/license/formula/limit/done','debounceTime','WECHAT_HAS_BEEN_BOUND','_transformUndoRedoStack','then','UnitStatus','_colorIndex','_clearPolling','ALREADY_EXISTS','1em','react','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_uiPartsService','getSkeleton','REDEMPTION_CODE_INACTIVE','handleIRemoveCol','collaboration-client.offline-data-not-saved','RevisionService','jsxs','Vector2','forEach','row','attrs','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_handleLeaveEvent','onPointerLeave$','getTypeOfUnitDisposed$','INVITE_CODE_ALREADY_BOUND','application/json','runId','_onCursorDelete','fillRule','memberID','width','_messageService','_color','push','_scheduleClearOtherTimer','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_getFormulaLimitStatus','findNodePositionByCharIndex','UniverProCollaborationClientUi','yellow.400','DocSelectionManagerService','@univerjs/network','_onCursorUpdate','m1Prime','_refreshCollabCursors','PY_RUNTIME_SCRIPT_ERROR','xlink:href','cursorInfo','collabStatus.notCollab','_initStatusComponent','collabStatus.fetchMiss','getColor','IUIPartsService','EffectRefRangId','currentColor','runOnServer','doc.mutation.rich-text-editing','useDependency','_drawAnchor','SNAPSHOT_INVALID_SNAPSHOT','@univerjs/sheets-ui','subunit','unshift','_render','ITransformService','transformByState','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','RemoteUniscriptService','UniverEngineFormula','?taskId=','_textBubble','disableLocalCache','beforeCommandExecuted','NOT_COLLAB','defineProperty','exports','top','selection','colorChannel1','tag','unitID','INVITE_CODE_REQUIRED','totalFormulasToCalculate','_maxFormulaLimit','_releaseCalculationLimit','takeUntil','_registerDependencies','startRow','has','debug','evenodd','UniverSheets','_startCalculationLimit','MemberService','IConfigService','isFormulaString','AWAITING','UniverCollaborationClientUIPlugin','3711436HVziOr','RemoveRowCommandId','_startSheetCollabCursor','session.connection-failed','CollaborationUIEventService','status$','functionsExecutedState','_getSaveTimeout','isTransformMutationFailure','_getSessionTicket','stringify','DocIMEInputManagerService','TEXT_RANGE_LAYER_INDEX','formula.calculation.waiting','_revisionService','textRanges','unitId','11604664NPPFTV','saveTaskMap','currentSkeleton$','sessionTicket','USER_NOT_FOUND','_entityInit$','some','triggerDblclick','setInterval','measureText','from','collab-client.tooltip.reconnect','DocStateChangeManagerService','LOGIN_TOKEN_PROCESSING_FAILED','DocCollaborationEntity','registerRenderModule','limitInfo','UniverIcon','exhaustSavingTask','currentTheme$','collaboration.closeRoom','VIEW_MAIN','drawWith','div','react/jsx-runtime','get','isArray','_localeService','_showGuardMessage','path','createSocket','_beforeCloseService','location','permission.title','Rectangle','_themeService','SheetSkeletonManagerService','_anchor','removeParam','SetWorksheetActivateCommand','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','color','_setFormulaLimitStatus','2254LMWUci','off-line-icon_clip0_910_343','black','_startDocCollabCursor','_instanceService','setShapeProps','_urlService','pluginName','SetDocZoomRatioOperation','registerRefRange','UNAUTHENTICATED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','sheetId','loadUnit','_taskIds','cursorInfo$','_range','AUTHORIZE_CODE_ILLEGAL','includes','values','getSheetBySheetId','registerComponent','_localStorageService','ENTITLE_CAN_NOT_BUY_LOWER_OTP','IUniverInstanceService','Warning','_drawRectRange','onPointerMove$','none','getParam','urlChange$','@univerjs/docs-ui','with','search','APPLY_DUPLICATED','SetSelectionsOperation','_hover','COMPLETION_FINISHED','height','show','_initEvent','_doCreateSocket','REDEMPTION_CODE_NOT_STARTED','key','getUniverSheetInstance','ISocketService','http://www.w3.org/2000/svg','connectInjector','entityInit$','CHANGESET_REVISION_CONFILICT','_docSyncEditingCollabCursorService','save','HTTPService','createElement','setAlpha','_currentUsage','roomMembers','Inject','url(#$1','YUUMI_UNABLE_LOAD_URL','SetTextSelectionsOperation','whenReady','round','UPDATE_CURSOR','forwardRef','_selfUnitIDs','CollaborationEvent','NOT_FOUND','Rect','_shapes','ENTITLE_DUP_SUBSCRIPTION','_hideTimer','_docTransformSelectionsService','event$','SOCKET_FAILED','DesktopCollaborationStatusDisplayController','CollaborationDataLoaderController','InsertRangeMoveRightCommandId','ENTITLE_CHAT_LIMIT_EXCEED','_name','_entities','_createSocketURL','undoState','ILocalCacheService','fromEvent','REDEMPTION_USER_REDEEM_TIMES_EXCEED','docStateChange$','UniverUi','onRendered','origin','/run/','_collabSessionService','12258vEseoH','_initEntityListener','UniverInstanceType','mutations','getCellPositionByOffset','add','backgroundColor','_docClipboardService','children','YUUMI_CONNECTOR_URL_NOT_FOUND','_getAnchorBounding','DataLoaderService','complete','moveTo','assign','NodePositionConvertToCursor','_handleHover','TEXT','_clearOtherTimers','releaseFormulaLimitUrl','_disabled','InsertRowCommandId','CLOSE_ROOM','15NrHMKL','@univerjs/docs','handleMoveRange','USER_NOT_INVITED_CODE','_lastResponseTimestamp','transformMutationsWithChangeset','RefRangeService','9XariTw','onPointerEnter$','_initStatusListener','url(#on-line-icon_clip0_910_349)','REDEMPTION_CODE_HAS_BEEN_CREATED','length','OFFLINE','switchMap','asObservable','/universer-api/license/formula/limit/status','TOO_MANY_REQUESTS','_docTransformIMECacheService','SetFormulaCalculationNotificationMutation','SheetsSelectionsService','_handleEvent','beginPath','BuiltInUIPart','hovered','registerDependencies','column','_eventUnsubscribe','_transformPreviousActiveRange','flatMap','SheetCollabCursorShape','0\x200\x2017\x2016','idSuffix','OTHER_CLIENT_EDITING','MOBILE_HAS_BEEN_BOUND','toDisposable','getUnitId','session.collaboration-timeout','BehaviorSubject','ENSURE_SNAPSHOT_EXECUTION','params','getStateCache','_getScale','arc','...','MessageType','getCurrent','set','handleIRemoveRow','getUnhiddenWorksheets','setTimeout','displayName','InsertRangeMoveDownCommandId','addObjects','CollaborationSocketService','ONLINE','UniverDocsUi','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','LICENSE_MAX_UNITS_EXCEEDED','getUnit','newValue','_collaborationController','_cursor','_dataLoaderService','replaceState','collaboration-client-ui.config','_refRangeService','START_CALCULATION','APPLY_REJECT','UniverCore','skeleton','saveOfflineData','uni.network.url-service','purple.300','LocaleService','_checkCalculationAvailable','APPLY_NON_SEQUENTIAL_REVISION','BrowserCollaborationSocketService','deserializeRangeWithSheet','LICENSE_EXPORT_SIZE_EXCEEDED','getOffsetConfig','DATA_SOURCE_TOO_LARGE','runRefRangeMutations','getActiveSheet','WebBrowserSingleActiveUnitService','getFocusedUnit','WebSocketService','getItem','_status$','Disposable','_online','init','onCommandExecuted','Shape','setParam','now','actions','getUndoRedoMutationParamsCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','parseInt','ILogService','INVITE_CODE_HAS_BEEN_UES','Success','_initDependencies','body','getCurrentUnitForType','EMAIL_HAS_BEEN_BOUND','Subject','getLocalCacheKey','YUUMI_ALL_TABLES_IS_INVALID','_imageIoService','wsSessionTicketUrl','_toggleOffline','USER_IS_ANONYMOUS','dirtyRanges','1473704NmkhyA','amd','mask','NO_OTHER_CLIENTS_EDITING','random','collabCursorState$','_docSkeletonManagerService','endRow','_sheetSkeletonManagerService','_configService','_httpService','_unitStatus','UNDEFINED','Unknown\x20user','getMergeData','invokeId','result','on-line-icon','ENTITLE_NEED_BILLING_ADDRESS','sessionStatus$','startColumn','getConfig','APPLY_REVISION_CONFILICT','_cursorShapes','_collaborationUIEventService','_memberService','max','_univerInstanceService','use','UniverDesign','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_heartbeatTimer','_scene','getTypeOfUnitAdded$','disposeUnit','CollaborationSessionService','unit','_saveTaskMap','_updateURLWithCurrentState','_commandService','INTERNAL_ERROR','_lastPointer','_setupSubUnitSync','NodePositionConvertToRectRange','name','handleInsertRow','REDEMPTION_INVALID_CODE','transformMutation','_context','dispose','SetFormulaCalculationStartMutation','IMessageService','_config','@univerjs/core','UniverRpc','distinctUntilChanged','RichTextEditingMutation','addEventListener','setItem','Plugin','SNAPSHOT_HAS_BEEN_REMOVED','imageSourceType','executeCommand','fill','_setupBeforeClosingHandler','filter','UniverNetwork','selections','hide','UNIVER_SHEET','@univerjs/engine-formula','_toggleOnline','eventID','_assignedColors','replace','USERS_LEAVE','storage','ISnapshotServerService','@univerjs-pro/collaboration','EMAIL_VERIFY_CODE_MISMATCH','clearInterval','426750pcYSvq','_initCommandInterceptor','YUUMI_URL_COL_OUT_OF_RANGE','next','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','CollaborationUIEventId','6449775GjvjGr','href','_docStateChangeManagerService','pipe','updateOfflineData','generateRandomId','getSheetId','_initResize','_syncEditingCollabCursorService','_collabCursorController','transformSelections','operators','/universer-api/license/formula/limit/start','handleDeleteRangeMoveLeft','SessionStatus','rxjs/operators','labelPosition','touchDependencies','PERMISSION_DENIED','sheetID','addHandlerCallback','UNIVER_DOC','text','@univerjs-pro/collaboration-client','[CollaborationDataLoaderController]','data','subscribeEvent','SYNCED','lineTo','collab-text-anchor-','collabStatus.syncing','searchParams','subscribe','getSheetObject','getCoordByCell','UniverDrawing','ColorKit','_draw','onStarting','_init','_cachedData','LICENSE_DISTRO_REJECTED','focused$','_registerRenderDependencies','_pollingInterval','_colorAssignService','getOwnPropertyDescriptor','@univerjs/drawing','split','onLocalMutation','isActive','_docTransformStateCacheService','transformRemoteChangeset','APPLY_PERMISSION_DENIED','type','CONFLICT','UNRECOGNIZED','_anchorDot','red.300','_onRefRangeChange','LOGIN_FAILED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Module','jsx','send','getRangePointData','enableLocalCache','RxDisposable','REDEMPTION_CODE_FULLY_REDEEMED','YUUMI_NO_CUBOID_FOR_QUESTION','clearTimeout','AWAITING_WITH_PENDING','current','_transformHistoryAndStateStack','string','_collabCursorState$','InsertColCommandId','toRgbString','WebURLService','#FFF','getformulaLimitStatusUrl','IURLService','bottom','deepClone','handleDeleteRangeMoveUp','univer-mr-2\x20univer-flex\x20univer-text-xl','history','UniverSheetsUi','unsubscribe','DisposableCollection','INVALID_INVITE_CODE','_send','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','_roomMembers$','ENTITLE_REPORT_LIMIT_EXCEED','override','_removeCollabCursors','white','MUTATION','@univerjs/ui','on-line-icon_clip0_910_349','getViewport','handleInsertCol','toString','getCellMatrix','_updateLocalCursor','font','defs','requireSession','parse','addObject','dispose$','_cursorInfo$','getMemberID','_injector','entries','useObservable','YUUMI_RATE_OVER_LIMIT','getUnitStatus$','syncEditingCollabCursor','INVALID_ARGUMENT','rxjs','getCurrentRevOfUnit','setUndoRedoMutationParamsCache','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SUBMIT_CHANGESET_TIMEOUT','setStateCache','getDocRanges','FromArray','disposeWithMe','29278390EiZmUW','@univerjs/design','getCollabCursors$','getCurrentSelections','mapTo','popstate','delete','ERROR_AGAIN','_localCacheService','url(#off-line-icon_clip0_910_343)','_getSheetObject','Injector','_notificationService','YUUMI_AI_RUN_FAILED','getColorFromTheme','size','object','_drawTextRange','IRenderManagerService','fillStyle','debounce','redoState','_id','_unitOnClients','_labelPosition','HEADER_MENU','DependentOn','SHEET_VIEWPORT_KEY','transformStateCache','saveImage','@univerjs/engine-render','source','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_scheduleSaving','endColumn','_hasFormulaInDirtyRanges','isEditing','OTHER_CLIENTS_EDITING'];_0x13f3=function(){return _0x1963dc;};return _0x13f3();}(function(_0x5254c3,_0x3a51d3){const _0x1f182f=_0xfc56,_0x5ca602=_0x5254c3();while(!![]){try{const _0x520e36=-parseInt(_0x1f182f(0x195))/0x1+parseInt(_0x1f182f(0x1e6))/0x2*(parseInt(_0x1f182f(0x122))/0x3)+-parseInt(_0x1f182f(0x34c))/0x4+parseInt(_0x1f182f(0x1ec))/0x5+-parseInt(_0x1f182f(0x10b))/0x6*(parseInt(_0x1f182f(0x388))/0x7)+-parseInt(_0x1f182f(0x35d))/0x8+parseInt(_0x1f182f(0x129))/0x9*(parseInt(_0x1f182f(0x26e))/0xa);if(_0x520e36===_0x3a51d3)break;else _0x5ca602['push'](_0x5ca602['shift']());}catch(_0x1175df){_0x5ca602['push'](_0x5ca602['shift']());}}}(_0x13f3,0xbd215),function(_0x2b5987,_0x6993a6){const _0x1507a8=_0xfc56;typeof exports==_0x1507a8(0x27e)&&typeof module<'u'?_0x6993a6(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[_0x1507a8(0x196)]?define([_0x1507a8(0x335),_0x1507a8(0x375),_0x1507a8(0x203),_0x1507a8(0x1ca),_0x1507a8(0x24f),'rxjs',_0x1507a8(0x26f),_0x1507a8(0x2f1),'@univerjs/rpc','@univerjs/sheets',_0x1507a8(0x28c),_0x1507a8(0x313),_0x1507a8(0x3a7),_0x1507a8(0x21b),_0x1507a8(0x1e3),_0x1507a8(0x123),_0x1507a8(0x1db),_0x1507a8(0x1fb),_0x1507a8(0x326)],_0x6993a6):(_0x2b5987=typeof globalThis<'u'?globalThis:_0x2b5987||self,_0x6993a6(_0x2b5987[_0x1507a8(0x310)]={},_0x2b5987['React'],_0x2b5987['UniverProCollaborationClient'],_0x2b5987[_0x1507a8(0x167)],_0x2b5987[_0x1507a8(0x106)],_0x2b5987[_0x1507a8(0x265)],_0x2b5987[_0x1507a8(0x1b2)],_0x2b5987['React'],_0x2b5987[_0x1507a8(0x1cb)],_0x2b5987[_0x1507a8(0x345)],_0x2b5987['UniverEngineRender'],_0x2b5987[_0x1507a8(0x1d7)],_0x2b5987[_0x1507a8(0x15a)],_0x2b5987[_0x1507a8(0x20f)],_0x2b5987['UniverProCollaboration'],_0x2b5987['UniverDocs'],_0x2b5987[_0x1507a8(0x32e)],_0x2b5987[_0x1507a8(0x265)][_0x1507a8(0x1f7)],_0x2b5987[_0x1507a8(0x243)]));}(this,function(_0x51a21f,_0x5f5383,_0x1315a6,_0xbbfa4e,_0x46f378,_0x70cdda,_0x32125a,_0x592bec,_0x277977,_0x49b326,_0x21f932,_0x97233e,_0x6db174,_0x3589ef,_0x26787e,_0xc1eed,_0x4c310a,_0x9d102a,_0x11a2db){'use strict';const _0x39d8da=_0xfc56;var _0x5953ce=Object['defineProperty'],_0x1e0b33=(_0x27fefd,_0x4a312e,_0x458899)=>_0x4a312e in _0x27fefd?_0x5953ce(_0x27fefd,_0x4a312e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x458899}):_0x27fefd[_0x4a312e]=_0x458899,_0x42c6f4=(_0x1f9e0a,_0x4eec3e,_0x36b33b)=>_0x1e0b33(_0x1f9e0a,typeof _0x4eec3e!='symbol'?_0x4eec3e+'':_0x4eec3e,_0x36b33b);function _0x3ed1d2({ref:_0x4e9dcd,..._0x26031e}){const _0x599edf=_0xfc56,{icon:_0x1c4023,id:_0x5793b6,className:_0x449d7c,extend:_0x48cacb,..._0x3b523a}=_0x26031e,_0x44e2c4=('univerjs-icon\x20univerjs-icon-'+_0x5793b6+'\x20'+(_0x449d7c||''))['trim'](),_0x2eceff=_0x592bec['useRef']('_'+_0x144332());return _0xea1844(_0x1c4023,''+_0x5793b6,{'defIds':_0x1c4023['defIds'],'idSuffix':_0x2eceff[_0x599edf(0x234)]},{'ref':_0x4e9dcd,'className':_0x44e2c4,..._0x3b523a},_0x48cacb);}function _0xea1844(_0x10b6a4,_0x42d7f8,_0x43c637,_0x3e71aa,_0x508a82){const _0x24d098=_0xfc56;return _0x592bec[_0x24d098(0x3bd)](_0x10b6a4[_0x24d098(0x339)],{'key':_0x42d7f8,..._0x15e5a8(_0x10b6a4,_0x43c637,_0x508a82),..._0x3e71aa},(_0x5e09e3(_0x10b6a4,_0x43c637)[_0x24d098(0x113)]||[])[_0x24d098(0x29d)]((_0x392895,_0x28489d)=>_0xea1844(_0x392895,_0x42d7f8+'-'+_0x10b6a4[_0x24d098(0x339)]+'-'+_0x28489d,_0x43c637,void 0x0,_0x508a82)));}function _0x15e5a8(_0x1d3df9,_0x1060a3,_0x4e5631){const _0x388ad8=_0xfc56,_0x24a2f4={..._0x1d3df9[_0x388ad8(0x2fd)]};_0x4e5631!=null&&_0x4e5631[_0x388ad8(0x338)]&&_0x24a2f4['fill']==='colorChannel1'&&(_0x24a2f4[_0x388ad8(0x1d4)]=_0x4e5631[_0x388ad8(0x338)]),_0x1d3df9['tag']===_0x388ad8(0x197)&&_0x24a2f4['id']&&(_0x24a2f4['id']=_0x24a2f4['id']+_0x1060a3[_0x388ad8(0x142)]),Object['entries'](_0x24a2f4)[_0x388ad8(0x2fb)](([_0x5dd3df,_0x105eca])=>{const _0x1a877e=_0x388ad8;_0x5dd3df===_0x1a877e(0x197)&&typeof _0x105eca==_0x1a877e(0x236)&&(_0x24a2f4[_0x5dd3df]=_0x105eca[_0x1a877e(0x1df)](/url\(#(.*)\)/,_0x1a877e(0x3c2)+_0x1060a3[_0x1a877e(0x142)]+')'));});const {defIds:_0x5709ca}=_0x1060a3;return!_0x5709ca||_0x5709ca[_0x388ad8(0x12e)]===0x0||(_0x1d3df9['tag']===_0x388ad8(0x1b1)&&_0x24a2f4[_0x388ad8(0x318)]&&(_0x24a2f4['xlink:href']=_0x24a2f4[_0x388ad8(0x318)]+_0x1060a3['idSuffix']),Object[_0x388ad8(0x25f)](_0x24a2f4)[_0x388ad8(0x2fb)](([_0x4c1a9c,_0x46e1e8])=>{const _0x2210b6=_0x388ad8;typeof _0x46e1e8==_0x2210b6(0x236)&&(_0x24a2f4[_0x4c1a9c]=_0x46e1e8[_0x2210b6(0x1df)](/url\(#(.*)\)/,'url(#$1'+_0x1060a3[_0x2210b6(0x142)]+')'));})),_0x24a2f4;}function _0x5e09e3(_0x4ec4b2,_0x414d56){const _0xcafda2=_0xfc56;var _0x571604;const {defIds:_0x5812e8}=_0x414d56;return!_0x5812e8||_0x5812e8[_0xcafda2(0x12e)]===0x0?_0x4ec4b2:_0x4ec4b2[_0xcafda2(0x339)]===_0xcafda2(0x257)&&((_0x571604=_0x4ec4b2[_0xcafda2(0x113)])!=null&&_0x571604['length'])?{..._0x4ec4b2,'children':_0x4ec4b2[_0xcafda2(0x113)][_0xcafda2(0x29d)](_0x38854b=>typeof _0x38854b[_0xcafda2(0x2fd)]['id']=='string'&&_0x5812e8&&_0x5812e8[_0xcafda2(0x39a)](_0x38854b[_0xcafda2(0x2fd)]['id'])?{..._0x38854b,'attrs':{..._0x38854b[_0xcafda2(0x2fd)],'id':_0x38854b['attrs']['id']+_0x414d56[_0xcafda2(0x142)]}}:_0x38854b)}:_0x4ec4b2;}function _0x144332(){const _0x453e21=_0xfc56;return Math[_0x453e21(0x199)]()[_0x453e21(0x253)](0x24)['substring'](0x2,0x8);}_0x3ed1d2['displayName']=_0x39d8da(0x36e);const _0x5b0b9c={'tag':'svg','attrs':{'xmlns':_0x39d8da(0x3b6),'fill':_0x39d8da(0x3a4),'viewBox':'0\x200\x2016\x2016','width':_0x39d8da(0x2f0),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x39d8da(0x277)},'children':[{'tag':'path','attrs':{'stroke':_0x39d8da(0x320),'d':_0x39d8da(0x1ea),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x39d8da(0x2ad),'attrs':{'id':_0x39d8da(0x389)},'children':[{'tag':_0x39d8da(0x37a),'attrs':{'fill':_0x39d8da(0x24d),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x39d8da(0x389)]},_0x48f8a2=_0x592bec[_0x39d8da(0xef)](function(_0x3f5df3,_0x269348){const _0x319495=_0x39d8da;return _0x592bec[_0x319495(0x3bd)](_0x3ed1d2,Object[_0x319495(0x119)]({},_0x3f5df3,{'id':_0x319495(0x2a6),'ref':_0x269348,'icon':_0x5b0b9c}));});_0x48f8a2[_0x39d8da(0x155)]='OffLineIcon';const _0xef2b1d={'tag':_0x39d8da(0x299),'attrs':{'xmlns':_0x39d8da(0x3b6),'fill':_0x39d8da(0x3a4),'viewBox':_0x39d8da(0x141),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x39d8da(0x12c)},'children':[{'tag':_0x39d8da(0x37a),'attrs':{'stroke':_0x39d8da(0x320),'d':_0x39d8da(0x248),'strokeLinecap':_0x39d8da(0x3c6),'strokeLinejoin':_0x39d8da(0x3c6),'strokeWidth':1.2}}]},{'tag':_0x39d8da(0x257),'attrs':{},'children':[{'tag':_0x39d8da(0x2ad),'attrs':{'id':_0x39d8da(0x250)},'children':[{'tag':_0x39d8da(0x37a),'attrs':{'fill':'white','d':_0x39d8da(0x2db),'transform':_0x39d8da(0x2d7)}}]}]}],'defIds':[_0x39d8da(0x250)]},_0x5aebed=_0x592bec[_0x39d8da(0xef)](function(_0x179e14,_0xf68b31){const _0x3b54fa=_0x39d8da;return _0x592bec[_0x3b54fa(0x3bd)](_0x3ed1d2,Object[_0x3b54fa(0x119)]({},_0x179e14,{'id':_0x3b54fa(0x1a6),'ref':_0xf68b31,'icon':_0xef2b1d}));});_0x5aebed[_0x39d8da(0x155)]='OnLineIcon';function _0xe4a0f9(_0x42678f){const _0x4ae5d9=_0x39d8da;switch(_0x42678f){case _0x1315a6[_0x4ae5d9(0x2bc)][_0x4ae5d9(0x12f)]:return _0x4ae5d9(0x2da);case _0x1315a6[_0x4ae5d9(0x2bc)][_0x4ae5d9(0x223)]:return'collabStatus.conflict';case _0x1315a6[_0x4ae5d9(0x2bc)]['FETCH_MISS']:return _0x4ae5d9(0x31c);case _0x1315a6[_0x4ae5d9(0x2bc)]['NOT_COLLAB']:return _0x4ae5d9(0x31a);case _0x1315a6[_0x4ae5d9(0x2bc)][_0x4ae5d9(0x34a)]:case _0x1315a6['CollaborationStatus'][_0x4ae5d9(0x233)]:return _0x4ae5d9(0x20a);case _0x1315a6[_0x4ae5d9(0x2bc)][_0x4ae5d9(0x207)]:case _0x1315a6[_0x4ae5d9(0x2bc)][_0x4ae5d9(0x2ca)]:return'collabStatus.synced';}}function _0x343183(_0x25bf9d){const _0x5a7f5d=_0x39d8da,{status$:_0x39fe41}=_0x25bf9d,_0x398003=_0x46f378[_0x5a7f5d(0x260)](_0x39fe41,_0x1315a6[_0x5a7f5d(0x2bc)][_0x5a7f5d(0x333)]),_0x789f53=_0x46f378[_0x5a7f5d(0x323)](_0xbbfa4e[_0x5a7f5d(0x16c)]),_0x32ca71=_0x46f378['useDependency'](_0x1315a6[_0x5a7f5d(0x1b8)]),_0x1a2b20=_0x398003!==_0x1315a6[_0x5a7f5d(0x2bc)][_0x5a7f5d(0x12f)],_0x91ec37=_0x789f53['t'](_0xe4a0f9(_0x398003)),_0x22c731=_0x1a2b20?_0x5f5383[_0x5a7f5d(0x22b)](_0x5aebed,{}):_0x5f5383['jsx'](_0x48f8a2,{}),_0xff74a5=_0x592bec['useCallback'](()=>{_0x1a2b20||_0x32ca71['reconnect']();},[_0x1a2b20,_0x32ca71]);function _0x4643a1(){const _0x5491d8=_0x5a7f5d;return _0x5f5383[_0x5491d8(0x2f9)]('div',{'className':_0x5491d8(0x2e1),'onClick':_0xff74a5,'children':[_0x5f5383[_0x5491d8(0x22b)](_0x5491d8(0x374),{'className':_0x32125a['clsx'](_0x5491d8(0x241),{'univer-text-green-500':_0x1a2b20,'univer-text-red-500':!_0x1a2b20}),'children':_0x22c731}),_0x5f5383[_0x5491d8(0x22b)](_0x5491d8(0x374),{'className':_0x5491d8(0x2a2),'children':_0x91ec37})]});}return _0x1a2b20?_0x4643a1():_0x5f5383['jsx'](_0x32125a[_0x5a7f5d(0x2a0)],{'title':_0x789f53['t'](_0x5a7f5d(0x368)),'children':_0x4643a1()});}var _0x46ce59=Object[_0x39d8da(0x21a)],_0xf3003a=(_0x4d96cc,_0x3c6a77,_0x18745d,_0x50724e)=>{for(var _0x328340=_0x50724e>0x1?void 0x0:_0x50724e?_0x46ce59(_0x3c6a77,_0x18745d):_0x3c6a77,_0x34d336=_0x4d96cc['length']-0x1,_0x33c283;_0x34d336>=0x0;_0x34d336--)(_0x33c283=_0x4d96cc[_0x34d336])&&(_0x328340=_0x33c283(_0x328340)||_0x328340);return _0x328340;},_0x371817=(_0xa0b3a3,_0x50e963)=>(_0x24e577,_0x5bc0b3)=>_0x50e963(_0x24e577,_0x5bc0b3,_0xa0b3a3);_0x51a21f[_0x39d8da(0xfa)]=class extends _0xbbfa4e[_0x39d8da(0x17b)]{constructor(_0x2a1109,_0x1e9e51,_0x49dd50,_0x211448){const _0x40d036=_0x39d8da;super(),_0x42c6f4(this,_0x40d036(0x17a),new _0x70cdda[(_0x40d036(0x148))](_0x1315a6[_0x40d036(0x2bc)][_0x40d036(0x333)])),(this[_0x40d036(0x1b0)]=_0x2a1109,this[_0x40d036(0x25e)]=_0x1e9e51,this[_0x40d036(0x15f)]=_0x49dd50,this[_0x40d036(0x2f3)]=_0x211448,this['_initStatusComponent'](),this[_0x40d036(0x12b)]());}[_0x39d8da(0x12b)](){const _0xadc61e=_0x39d8da;this[_0xadc61e(0x26d)](this[_0xadc61e(0x1b0)][_0xadc61e(0x216)]['pipe'](_0x70cdda[_0xadc61e(0x130)](()=>{const _0xaa5b67=_0xadc61e,_0x554010=this[_0xaa5b67(0x1b0)][_0xaa5b67(0x177)]();return _0x554010?this['_collaborationController'][_0xaa5b67(0x2dc)](_0x554010[_0xaa5b67(0x146)]()):_0x70cdda['of'](null);}),_0x70cdda[_0xadc61e(0x130)](_0x395a03=>_0x395a03?_0x395a03[_0xadc61e(0x351)]:_0x70cdda['of'](_0x1315a6[_0xadc61e(0x2bc)][_0xadc61e(0x333)])))[_0xadc61e(0x20c)](_0x247d6f=>{this['_status$']['next'](_0x247d6f);}));}[_0x39d8da(0x31b)](){const _0x278d4e=_0x39d8da;this[_0x278d4e(0x26d)](this[_0x278d4e(0x2f3)][_0x278d4e(0x39d)](_0x46f378[_0x278d4e(0x139)][_0x278d4e(0x287)],()=>_0x46f378[_0x278d4e(0x3b7)](_0x129bf9({'status$':this[_0x278d4e(0x17a)][_0x278d4e(0x131)]()}),this[_0x278d4e(0x25e)])));}},_0x51a21f[_0x39d8da(0xfa)]=_0xf3003a([_0x371817(0x0,_0xbbfa4e[_0x39d8da(0x3a0)]),_0x371817(0x1,_0xbbfa4e[_0x39d8da(0x3c1)](_0xbbfa4e['Injector'])),_0x371817(0x2,_0xbbfa4e[_0x39d8da(0x3c1)](_0x1315a6[_0x39d8da(0x2ba)])),_0x371817(0x3,_0x46f378[_0x39d8da(0x31e)])],_0x51a21f['DesktopCollaborationStatusDisplayController']);function _0x129bf9(_0x3089ab){const {status$:_0x511aa4}=_0x3089ab;return function(){return _0x5f5383['jsx'](_0x343183,{'status$':_0x511aa4});};}const _0x1bdc04=_0xbbfa4e['createIdentifier'](_0x39d8da(0x16a));var _0x46e676=Object[_0x39d8da(0x21a)],_0x51ea45=(_0x2cb314,_0x3c2794,_0xc46644,_0x1a403f)=>{const _0x5ebdc5=_0x39d8da;for(var _0xc11fb6=_0x1a403f>0x1?void 0x0:_0x1a403f?_0x46e676(_0x3c2794,_0xc46644):_0x3c2794,_0x406cf2=_0x2cb314[_0x5ebdc5(0x12e)]-0x1,_0x326475;_0x406cf2>=0x0;_0x406cf2--)(_0x326475=_0x2cb314[_0x406cf2])&&(_0xc11fb6=_0x326475(_0xc11fb6)||_0xc11fb6);return _0xc11fb6;},_0x38457d=(_0x1abfd3,_0x593d16)=>(_0x1d062c,_0x4a2263)=>_0x593d16(_0x1d062c,_0x4a2263,_0x1abfd3);_0x51a21f[_0x39d8da(0xfb)]=class extends _0xbbfa4e[_0x39d8da(0x22f)]{constructor(_0x1e8002,_0x190278,_0x42e3b1,_0x514f2b,_0x338541){const _0x4a36ce=_0x39d8da;super(),this['_urlService']=_0x1e8002,this[_0x4a36ce(0x2a7)]=_0x190278,this[_0x4a36ce(0x1bc)]=_0x42e3b1,this[_0x4a36ce(0x161)]=_0x514f2b,_0x338541?_0x338541==null||_0x338541[_0x4a36ce(0x3c5)]()['then'](()=>this[_0x4a36ce(0x213)]()):(this[_0x4a36ce(0x2a7)][_0x4a36ce(0x343)](_0x4a36ce(0x204),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x4a36ce(0x213)]());}async[_0x39d8da(0x213)](){const _0x141c73=_0x39d8da,_0x410d5d=this[_0x141c73(0x38e)][_0x141c73(0x3a5)](_0x141c73(0x1b9)),_0x593907=this['_urlService'][_0x141c73(0x3a5)](_0x141c73(0x222)),_0x3aee57=this[_0x141c73(0x38e)][_0x141c73(0x3a5)](_0x141c73(0x327));if(!_0x410d5d||!_0x593907){this[_0x141c73(0x2a7)][_0x141c73(0x343)]('[CollaborationDataLoaderController]',_0x141c73(0x2d6));return;}const _0x5b7318=await this['_dataLoaderService'][_0x141c73(0x395)](_0x410d5d,Number(_0x593907),_0x3aee57);_0x5b7318&&_0x5b7318 instanceof _0xbbfa4e['Workbook']&&this['_setupSubUnitSync'](_0x5b7318);}async[_0x39d8da(0x1bf)](_0x1b1263){const _0x563ab6=_0x39d8da;await this[_0x563ab6(0x2be)](_0x1b1263),_0x1b1263['activeSheet$']['pipe'](_0x70cdda[_0x563ab6(0x33f)](this[_0x563ab6(0x25b)]))[_0x563ab6(0x20c)](_0x29f756=>{const _0x4d1da6=_0x563ab6;_0x29f756&&this[_0x4d1da6(0x1bb)](_0x29f756);}),this['_urlService'][_0x563ab6(0x3a6)][_0x563ab6(0x1ef)](_0x70cdda[_0x563ab6(0x33f)](this[_0x563ab6(0x25b)]))[_0x563ab6(0x20c)](()=>this[_0x563ab6(0x2be)](_0x1b1263));}['_updateURLWithCurrentState'](_0x1e8398,_0x36be2a=!0x1){const _0x1b7a6e=_0x39d8da,_0x2008b7=this['_urlService'][_0x1b7a6e(0x3a5)](_0x1b7a6e(0x327));_0x1e8398[_0x1b7a6e(0x1f2)]()!==_0x2008b7&&this['_urlService'][_0x1b7a6e(0x180)](_0x1b7a6e(0x327),_0x1e8398[_0x1b7a6e(0x1f2)](),_0x36be2a);}async[_0x39d8da(0x2be)](_0x48a307){const _0x438fe8=_0x39d8da;var _0x4efae9;const _0x515bd4=this[_0x438fe8(0x38e)][_0x438fe8(0x3a5)](_0x438fe8(0x327));if(!_0x515bd4||!_0x48a307['getSheetBySheetId'](_0x515bd4)){const _0x2af682=_0x48a307[_0x438fe8(0x153)]()[0x0],_0x110355=_0x48a307['getSheetBySheetId'](_0x2af682);if(!_0x110355)return;this['_updateURLWithCurrentState'](_0x110355,!0x0),await this['_commandService']['executeCommand'](_0x49b326['SetWorksheetActivateCommand']['id'],{'unitId':_0x48a307[_0x438fe8(0x146)](),'subUnitId':_0x2af682});return;}((_0x4efae9=_0x48a307[_0x438fe8(0x175)]())==null?void 0x0:_0x4efae9['getSheetId']())!==_0x515bd4&&await this[_0x438fe8(0x1bc)][_0x438fe8(0x1d3)](_0x49b326[_0x438fe8(0x384)]['id'],{'unitId':_0x48a307[_0x438fe8(0x146)](),'subUnitId':_0x515bd4});}},_0x51a21f[_0x39d8da(0xfb)]=_0x51ea45([_0x38457d(0x0,_0x1bdc04),_0x38457d(0x1,_0xbbfa4e[_0x39d8da(0x186)]),_0x38457d(0x2,_0xbbfa4e['ICommandService']),_0x38457d(0x3,_0xbbfa4e[_0x39d8da(0x3c1)](_0x1315a6[_0x39d8da(0x116)])),_0x38457d(0x4,_0xbbfa4e['Optional'](_0x277977['IRemoteInstanceService']))],_0x51a21f[_0x39d8da(0xfb)]);var _0x3cdb95=Object[_0x39d8da(0x21a)],_0x245cd2=(_0x35a110,_0x1cb736,_0x1f4e4e,_0xd5aab4)=>{const _0x277bc4=_0x39d8da;for(var _0x5f3978=_0xd5aab4>0x1?void 0x0:_0xd5aab4?_0x3cdb95(_0x1cb736,_0x1f4e4e):_0x1cb736,_0x2e49c8=_0x35a110[_0x277bc4(0x12e)]-0x1,_0x2044c1;_0x2e49c8>=0x0;_0x2e49c8--)(_0x2044c1=_0x35a110[_0x2e49c8])&&(_0x5f3978=_0x2044c1(_0x5f3978)||_0x5f3978);return _0x5f3978;},_0x2abaac=(_0x25853b,_0x4a716d)=>(_0x128770,_0x8ab574)=>_0x4a716d(_0x128770,_0x8ab574,_0x25853b);let _0xaa1946=class extends _0xbbfa4e['RxDisposable']{constructor(_0x417d9e,_0x2e5ddf){const _0x46d608=_0x39d8da;super(),this[_0x46d608(0x112)]=_0x417d9e,this[_0x46d608(0x190)]=_0x2e5ddf,this['_init']();}[_0x39d8da(0x213)](){const _0x488b4f=_0x39d8da,_0x59036d=this;this[_0x488b4f(0x26d)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x1f7a3b=>{const _0x21d8f9=_0x488b4f,_0x2924af=await _0x59036d['_imageIoService'][_0x21d8f9(0x28b)](_0x1f7a3b);return _0x2924af?{'source':_0x2924af[_0x21d8f9(0x28d)],'imageSourceType':_0x2924af[_0x21d8f9(0x1d2)]}:null;}}));}};_0xaa1946=_0x245cd2([_0x2abaac(0x0,_0x6db174['IDocClipboardService']),_0x2abaac(0x1,_0x3589ef['IImageIoService'])],_0xaa1946);const _0x10ec73=[_0x39d8da(0x16b),'jiqing.500',_0x39d8da(0x29b),_0x39d8da(0x226),'blue.400',_0x39d8da(0x311)];class _0x418481 extends _0xbbfa4e[_0x39d8da(0x17b)]{constructor(){const _0x49ed15=_0x39d8da;super(...arguments),_0x42c6f4(this,_0x49ed15(0x1de),new Map()),_0x42c6f4(this,_0x49ed15(0x2ed),0x0);}[_0x39d8da(0x2c2)](_0x44204d){const _0x5aaaf6=_0x39d8da;if(this['_assignedColors'][_0x5aaaf6(0x342)](_0x44204d))return this[_0x5aaaf6(0x1de)]['get'](_0x44204d);const _0x238f26=_0x10ec73[this['_colorIndex']];return this[_0x5aaaf6(0x2ed)]=(this[_0x5aaaf6(0x2ed)]+0x1)%_0x10ec73[_0x5aaaf6(0x12e)],this['_assignedColors'][_0x5aaaf6(0x151)](_0x44204d,_0x238f26),_0x238f26;}}function _0x451aa7(_0x415164){let _0x1ecb38='';for(const _0x591a98 of _0x415164){const {startOffset:_0xb401b,endOffset:_0x12f42e,isActive:_0x273b60,rangeType:_0x2f4584,segmentId:_0x5605fa,segmentPage:_0x162cda}=_0x591a98;_0x1ecb38['length']&&(_0x1ecb38+=','),_0x1ecb38+=_0xb401b+':'+_0x12f42e+':'+(_0x273b60?'1':'0')+':'+_0x2f4584+':'+_0x5605fa+':'+_0x162cda;}return _0x1ecb38;}function _0x572bd2(_0x51f268){const _0x4185e6=_0x39d8da,_0x236631=_0x51f268['split'](','),_0x56684b=[];for(const _0x4f5b26 of _0x236631){const [_0x346cfa,_0x8ab829,_0x431c4f,_0x192a4b,_0x637f89,_0x16e385]=_0x4f5b26[_0x4185e6(0x21c)](':');_0x56684b[_0x4185e6(0x30b)]({'startOffset':Number(_0x346cfa),'endOffset':Number(_0x8ab829),'collapsed':_0x346cfa===_0x8ab829,'isActive':_0x431c4f==='1','rangeType':_0x192a4b===_0xbbfa4e[_0x4185e6(0x2cd)][_0x4185e6(0x11c)]?_0xbbfa4e[_0x4185e6(0x2cd)][_0x4185e6(0x11c)]:_0xbbfa4e[_0x4185e6(0x2cd)]['RECT'],'segmentId':typeof _0x637f89=='string'?String(_0x637f89):'','segmentPage':Number(_0x16e385!=null?_0x16e385:-0x1)});}return _0x56684b[_0x4185e6(0x363)](_0x3b3fce=>_0x3b3fce[_0x4185e6(0x21e)])||(_0x56684b[0x0][_0x4185e6(0x21e)]=!0x0),_0x56684b;}class _0x41ca9e extends _0xbbfa4e[_0x39d8da(0x22f)]{constructor(){const _0x559428=_0x39d8da;super(...arguments),_0x42c6f4(this,_0x559428(0x237),new _0x70cdda[(_0x559428(0x148))](null)),_0x42c6f4(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x567e89){const _0x356ec4=_0x39d8da,{unitID:_0xdd773f,memberID:_0x209470,textRanges:_0x5b2da9}=_0x567e89,_0x14c0d6=_0x451aa7(_0x5b2da9);if(_0x14c0d6==='')return;const _0xc05b60={'unitID':_0xdd773f,'memberID':_0x209470,'selection':_0x14c0d6};this[_0x356ec4(0x237)]['next'](_0xc05b60);}}var _0xeb9005=Object[_0x39d8da(0x21a)],_0x4034cb=(_0x2bc361,_0x19b565,_0x406b1b,_0x2f6e31)=>{for(var _0x269616=_0x2f6e31>0x1?void 0x0:_0x2f6e31?_0xeb9005(_0x19b565,_0x406b1b):_0x19b565,_0x590510=_0x2bc361['length']-0x1,_0x7847ae;_0x590510>=0x0;_0x590510--)(_0x7847ae=_0x2bc361[_0x590510])&&(_0x269616=_0x7847ae(_0x269616)||_0x269616);return _0x269616;},_0x5ab14e=(_0x5695a1,_0x394e1e)=>(_0x704093,_0x467520)=>_0x394e1e(_0x704093,_0x467520,_0x5695a1);const _0x509d2b=0x12c,_0x40e4f2=0x64;let _0x402e5a=class extends _0xbbfa4e[_0x39d8da(0x22f)]{constructor(_0x337dff,_0x3e2a40,_0x549c63,_0x5b22f5,_0x4a8fb6,_0x2d6864,_0x3a20d2,_0x2c4ea9,_0x4de4b3){const _0x523135=_0x39d8da;super(),_0x42c6f4(this,_0x523135(0x17c),!0x1),_0x42c6f4(this,_0x523135(0x213),!0x1),_0x42c6f4(this,_0x523135(0x25c),new _0x70cdda[(_0x523135(0x148))](new Map())),_0x42c6f4(this,'cursorInfo$',this[_0x523135(0x25c)][_0x523135(0x131)]()),_0x42c6f4(this,_0x523135(0x249),new _0x70cdda['BehaviorSubject']([])),_0x42c6f4(this,_0x523135(0x2ac),this[_0x523135(0x249)][_0x523135(0x1ef)](_0x70cdda[_0x523135(0x2e8)](_0x509d2b))),_0x42c6f4(this,_0x523135(0x255),_0xbbfa4e[_0x523135(0x282)](_0x13899a=>{const _0x5b8110=_0x523135,_0x4a56ac={'eventID':_0x26787e['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x5b8110(0x33a)],'memberID':this[_0x5b8110(0x2b0)]['getMemberID'](),'selection':_0x451aa7(_0x13899a)}};this[_0x5b8110(0x2b0)]['send'](_0x4a56ac,this['unitID']);},_0x40e4f2)),(this[_0x523135(0x33a)]=_0x337dff,this[_0x523135(0x2b0)]=_0x3e2a40,this[_0x523135(0x25e)]=_0x549c63,this[_0x523135(0x219)]=_0x5b22f5,this[_0x523135(0x1ae)]=_0x4a8fb6,this[_0x523135(0x1f4)]=_0x2d6864,this[_0x523135(0x2bf)]=_0x3a20d2,this[_0x523135(0x1b0)]=_0x2c4ea9,this[_0x523135(0x1bc)]=_0x4de4b3);}get['cursorInfo'](){const _0xf7011=_0x39d8da;return this[_0xf7011(0x25c)][_0xf7011(0x2aa)]();}get['roomMembers'](){const _0x7c29e7=_0x39d8da;return this[_0x7c29e7(0x249)][_0x7c29e7(0x2aa)]();}[_0x39d8da(0x1c6)](){const _0x3510fd=_0x39d8da;super[_0x3510fd(0x1c6)](),this[_0x3510fd(0x25c)][_0x3510fd(0x1e9)](new Map()),this['_cursorInfo$'][_0x3510fd(0x117)](),this[_0x3510fd(0x249)][_0x3510fd(0x1e9)]([]),this[_0x3510fd(0x249)][_0x3510fd(0x117)]();}[_0x39d8da(0x17d)](){const _0x2e857a=_0x39d8da;this[_0x2e857a(0x213)]||(this['_init']=!0x0,this[_0x2e857a(0x2b0)][_0x2e857a(0x1a8)][_0x2e857a(0x1ef)](_0x70cdda[_0x2e857a(0x33f)](this[_0x2e857a(0x25b)]))[_0x2e857a(0x20c)](_0x1333b5=>{const _0x46f675=_0x2e857a;_0x1333b5===_0x1315a6['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x46f675(0x192)]();}),this['_session'][_0x2e857a(0xf8)]['pipe'](_0x70cdda[_0x2e857a(0x33f)](this[_0x2e857a(0x25b)]))[_0x2e857a(0x20c)](_0x5c32fa=>{const _0x59371c=_0x2e857a,_0x233cee=_0x5c32fa[_0x59371c(0x1dd)];_0x233cee===_0x26787e[_0x59371c(0xf1)]['UPDATE_CURSOR']&&this[_0x59371c(0x314)](_0x5c32fa),_0x233cee===_0x26787e[_0x59371c(0xf1)][_0x59371c(0x1e0)]&&this['_onCursorDelete'](_0x5c32fa);}),this[_0x2e857a(0x26d)](this[_0x2e857a(0x1bc)]['onCommandExecuted'](_0x295de6=>{const _0x3f57bd=_0x2e857a,_0x19141e=_0x295de6[_0x3f57bd(0x14a)];_0x19141e!=null&&this[_0x3f57bd(0x17c)]&&_0x295de6['id']===_0xc1eed[_0x3f57bd(0x3c4)]['id']&&_0x19141e[_0x3f57bd(0x35c)]===this[_0x3f57bd(0x33a)]&&_0x19141e[_0x3f57bd(0x292)]===!0x1&&_0x19141e[_0x3f57bd(0x2af)][_0x3f57bd(0x12e)]>0x0&&this['_updateLocalCursor'](_0x19141e[_0x3f57bd(0x2af)]);})),this['_syncEditingCollabCursorService'][_0x2e857a(0x19a)][_0x2e857a(0x1ef)](_0x70cdda[_0x2e857a(0x33f)](this[_0x2e857a(0x25b)]))[_0x2e857a(0x20c)](_0x2219fc=>{const _0x294243=_0x2e857a;if((_0x2219fc==null?void 0x0:_0x2219fc[_0x294243(0x33a)])!==this[_0x294243(0x33a)])return;const _0xef8a2={'eventID':_0x26787e[_0x294243(0xf1)][_0x294243(0x3c7)],'data':_0x2219fc};this[_0x294243(0x314)](_0xef8a2);}),this['disposeWithMe'](this[_0x2e857a(0x1bc)][_0x2e857a(0x17e)](_0xc88775=>{const _0x4022c9=_0x2e857a;if(_0xc88775[_0x4022c9(0x14a)]==null)return;const _0x1cc265=_0xc88775['params'];if(_0xc88775['id']!==_0xc1eed[_0x4022c9(0x1cd)]['id']||_0x1cc265[_0x4022c9(0x35c)]!==this[_0x4022c9(0x33a)])return;const _0x3e8d28={'id':'doc.mutation.rich-text-editing','params':_0x1cc265},_0x1368a2=this['cursorInfo'];for(const [_0x5d3455,_0x178d04]of _0x1368a2){const _0x3232cd={'id':_0x4022c9(0x322),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x178d04[_0x4022c9(0x2af)]}},_0x5cdf36=this[_0x4022c9(0x2bf)][_0x4022c9(0x1c4)](_0x3e8d28,_0x3232cd,!0x1);if(_0x26787e[_0x4022c9(0x354)](_0x5cdf36))throw _0x5cdf36[_0x4022c9(0x2b8)];_0x1368a2['set'](_0x5d3455,{..._0x178d04,'ranges':_0x5cdf36[_0x4022c9(0x2bb)]['params'][_0x4022c9(0x35b)]});}queueMicrotask(()=>{const _0x2d60fb=_0x4022c9;this[_0x2d60fb(0x25c)][_0x2d60fb(0x1e9)](_0x1368a2);});})));}['_onCursorUpdate'](_0x1b0d7a){const _0x549411=_0x39d8da;var _0x559a89,_0x5429a6;const {memberID:_0x319d5d,selection:_0x5393ab}=_0x1b0d7a[_0x549411(0x205)],_0x38d2cc=_0x572bd2(_0x5393ab),_0x20661c=(_0x5429a6=(_0x559a89=this[_0x549411(0x1ae)][_0x549411(0x2c9)](this['unitID'],_0x319d5d))==null?void 0x0:_0x559a89[_0x549411(0x1c1)])!=null?_0x5429a6:'Unknown\x20user',_0x177dc9={'color':this[_0x549411(0x219)][_0x549411(0x2c2)](_0x319d5d),'name':_0x20661c,'ranges':_0x38d2cc},_0x54c3b4=this[_0x549411(0x319)];_0x54c3b4['set'](_0x319d5d,_0x177dc9),this[_0x549411(0x25c)]['next'](_0x54c3b4);}['_onCursorDelete'](_0x245567){const _0x577567=_0x39d8da,{memberID:_0x509a80}=_0x245567[_0x577567(0x205)],_0x54516e=this[_0x577567(0x319)];_0x54516e[_0x577567(0x274)](_0x509a80),this[_0x577567(0x25c)][_0x577567(0x1e9)](_0x54516e);}['_toggleOnline'](){const _0x3c6d92=_0x39d8da;var _0x2bd98f;if(this[_0x3c6d92(0x17c)]=!0x0,((_0x2bd98f=this[_0x3c6d92(0x1b0)][_0x3c6d92(0x177)]())==null?void 0x0:_0x2bd98f['getUnitId']())!==this[_0x3c6d92(0x33a)])return;const _0x192832=this[_0x3c6d92(0x25e)][_0x3c6d92(0x376)](_0xc1eed[_0x3c6d92(0x312)])[_0x3c6d92(0x26b)]();Array[_0x3c6d92(0x377)](_0x192832)&&_0x192832['length']>0x0&&this[_0x3c6d92(0x255)](_0x192832);}[_0x39d8da(0x192)](){const _0x5372a8=_0x39d8da;this[_0x5372a8(0x17c)]=!0x1;}};_0x402e5a=_0x4034cb([_0x5ab14e(0x2,_0xbbfa4e[_0x39d8da(0x3c1)](_0xbbfa4e[_0x39d8da(0x279)])),_0x5ab14e(0x3,_0xbbfa4e[_0x39d8da(0x3c1)](_0x418481)),_0x5ab14e(0x4,_0xbbfa4e[_0x39d8da(0x3c1)](_0x1315a6[_0x39d8da(0x347)])),_0x5ab14e(0x5,_0xbbfa4e[_0x39d8da(0x3c1)](_0x41ca9e)),_0x5ab14e(0x6,_0x26787e['ITransformService']),_0x5ab14e(0x7,_0xbbfa4e[_0x39d8da(0x3a0)]),_0x5ab14e(0x8,_0xbbfa4e[_0x39d8da(0x2b4)])],_0x402e5a);var _0xd73f8b=Object['getOwnPropertyDescriptor'],_0x42882f=(_0x520738,_0xe60549,_0x536224,_0x579bd9)=>{const _0xcca7cd=_0x39d8da;for(var _0x33fb5b=_0x579bd9>0x1?void 0x0:_0x579bd9?_0xd73f8b(_0xe60549,_0x536224):_0xe60549,_0x6f3084=_0x520738[_0xcca7cd(0x12e)]-0x1,_0x341152;_0x6f3084>=0x0;_0x6f3084--)(_0x341152=_0x520738[_0x6f3084])&&(_0x33fb5b=_0x341152(_0x33fb5b)||_0x33fb5b);return _0x33fb5b;},_0x2227ef=(_0x16ce50,_0x38a821)=>(_0x4314fc,_0x4bd980)=>_0x38a821(_0x4314fc,_0x4bd980,_0x16ce50);const _0x199489=0x12c,_0x530139=0x64,_0x52b837=()=>{let _0x3f1cc2=[],_0x334d23=!0x1;return _0x4e4fc1=>{const _0x301893=_0xfc56;_0x3f1cc2[_0x301893(0x30b)](_0x4e4fc1),_0x334d23||(_0x334d23=!0x0,setTimeout(()=>{const _0x505c23=_0x301893;_0x3f1cc2[_0x505c23(0x2fb)](_0x26a8f0=>_0x26a8f0()),_0x3f1cc2=[],_0x334d23=!0x1;}));};};let _0x3a2806=class extends _0xbbfa4e[_0x39d8da(0x22f)]{constructor(_0x26b6fc,_0x354540,_0x2b5d7a,_0x1ec97d,_0x2f5fe2,_0x39c692,_0x5c23f4,_0x3f871f){const _0x2fe18f=_0x39d8da;super(),_0x42c6f4(this,_0x2fe18f(0x17c),!0x1),_0x42c6f4(this,_0x2fe18f(0x213),!0x1),_0x42c6f4(this,_0x2fe18f(0x25c),new _0x70cdda[(_0x2fe18f(0x148))](new Map())),_0x42c6f4(this,_0x2fe18f(0x397),this['_cursorInfo$'][_0x2fe18f(0x131)]()),_0x42c6f4(this,_0x2fe18f(0x249),new _0x70cdda[(_0x2fe18f(0x148))]([])),_0x42c6f4(this,'roomMembers$',this[_0x2fe18f(0x249)]['pipe'](_0x70cdda[_0x2fe18f(0x2e8)](_0x199489))),_0x42c6f4(this,_0x2fe18f(0x255),_0xbbfa4e[_0x2fe18f(0x282)]((_0x30c0f0,_0x34cf45)=>{const _0x9b05e6=_0x2fe18f,_0x4c8847={'eventID':_0x26787e[_0x9b05e6(0xf1)][_0x9b05e6(0x3c7)],'data':{'unitID':this[_0x9b05e6(0x33a)],'memberID':this[_0x9b05e6(0x2b0)][_0x9b05e6(0x25d)](),'selection':_0x4c310a[_0x9b05e6(0x2b7)](_0x30c0f0,_0x34cf45['range'])}};this[_0x9b05e6(0x2b0)][_0x9b05e6(0x22c)](_0x4c8847,this[_0x9b05e6(0x33a)]);},_0x530139)),(this[_0x2fe18f(0x33a)]=_0x26b6fc,this['_session']=_0x354540,this['_injector']=_0x2b5d7a,this[_0x2fe18f(0x219)]=_0x1ec97d,this['_memberService']=_0x2f5fe2,this[_0x2fe18f(0x1b0)]=_0x39c692,this[_0x2fe18f(0x1bc)]=_0x5c23f4,this[_0x2fe18f(0x164)]=_0x3f871f);}get['cursorInfo'](){const _0x426c24=_0x39d8da;return this[_0x426c24(0x25c)]['getValue']();}get[_0x39d8da(0x3c0)](){const _0x2f8e39=_0x39d8da;return this['_roomMembers$'][_0x2f8e39(0x2aa)]();}['dispose'](){const _0x3dd222=_0x39d8da;super['dispose'](),this[_0x3dd222(0x25c)]['next'](new Map()),this[_0x3dd222(0x25c)][_0x3dd222(0x117)](),this[_0x3dd222(0x249)][_0x3dd222(0x1e9)]([]),this[_0x3dd222(0x249)][_0x3dd222(0x117)]();}[_0x39d8da(0x17d)](){const _0x591c18=_0x39d8da;this['_init']||(this[_0x591c18(0x213)]=!0x0,this['_session'][_0x591c18(0x1a8)][_0x591c18(0x1ef)](_0x70cdda[_0x591c18(0x33f)](this[_0x591c18(0x25b)]))[_0x591c18(0x20c)](_0x2b91d8=>{const _0x225366=_0x591c18;_0x2b91d8===_0x1315a6[_0x225366(0x1fa)][_0x225366(0x159)]?this[_0x225366(0x1dc)]():this[_0x225366(0x192)]();}),this[_0x591c18(0x2b0)][_0x591c18(0xf8)][_0x591c18(0x1ef)](_0x70cdda[_0x591c18(0x33f)](this[_0x591c18(0x25b)]))['subscribe'](_0x17bf28=>{const _0x1a2136=_0x591c18,_0x30c7f6=_0x17bf28[_0x1a2136(0x1dd)];_0x30c7f6===_0x26787e[_0x1a2136(0xf1)][_0x1a2136(0x3c7)]&&this[_0x1a2136(0x314)](_0x17bf28),_0x30c7f6===_0x26787e['CollaborationEvent']['USERS_LEAVE']&&this[_0x1a2136(0x305)](_0x17bf28);}),this[_0x591c18(0x227)](),this['disposeWithMe'](this[_0x591c18(0x1bc)][_0x591c18(0x17e)](_0x4cd0b6=>{const _0x68d8b5=_0x591c18;if(this[_0x68d8b5(0x17c)]&&_0x4cd0b6['id']===_0x49b326[_0x68d8b5(0x3ab)]['id']&&_0x4cd0b6[_0x68d8b5(0x14a)][_0x68d8b5(0x35c)]===this[_0x68d8b5(0x33a)]){const _0x30500a=_0x4cd0b6[_0x68d8b5(0x14a)];this[_0x68d8b5(0x255)](_0x30500a['subUnitId'],_0x30500a[_0x68d8b5(0x1d8)][0x0]);}})));}['_onCursorUpdate'](_0xea25de){const _0x519bbd=_0x39d8da;var _0x2159d3,_0xdc11e6;const {memberID:_0xfca605,selection:_0x2891cc}=_0xea25de[_0x519bbd(0x205)],{sheetName:_0x2f5453,range:_0x2e973a}=_0x4c310a[_0x519bbd(0x170)](_0x2891cc),_0x2d82ac={'name':(_0xdc11e6=(_0x2159d3=this[_0x519bbd(0x1ae)]['getMember'](this[_0x519bbd(0x33a)],_0xfca605))==null?void 0x0:_0x2159d3[_0x519bbd(0x1c1)])!=null?_0xdc11e6:_0x519bbd(0x1a2),'range':this[_0x519bbd(0x2bd)](_0x2f5453,_0x2e973a),'sheetID':_0x2f5453,'color':this[_0x519bbd(0x219)]['assignAColorForMemberID'](_0xfca605),'selection':_0x2891cc},_0x4506de=this['cursorInfo'];_0x4506de[_0x519bbd(0x151)](_0xfca605,_0x2d82ac),this['_cursorInfo$'][_0x519bbd(0x1e9)](_0x4506de);}['_onCursorDelete'](_0x3794ff){const _0x57aa5c=_0x39d8da,{memberID:_0x124267}=_0x3794ff[_0x57aa5c(0x205)],_0x37e3a7=this['cursorInfo'];_0x37e3a7[_0x57aa5c(0x274)](_0x124267),this[_0x57aa5c(0x25c)][_0x57aa5c(0x1e9)](_0x37e3a7);}[_0x39d8da(0x2bd)](_0x25fa88,_0x56e6d5){const _0x377d7a=_0x39d8da;var _0x1227a7,_0x313d0d;const _0x291239=(_0x313d0d=(_0x1227a7=this[_0x377d7a(0x1b0)][_0x377d7a(0x3b4)](this[_0x377d7a(0x33a)]))==null?void 0x0:_0x1227a7['getSheetBySheetId'](_0x25fa88))==null?void 0x0:_0x313d0d[_0x377d7a(0x1a3)]();return(_0x291239==null?void 0x0:_0x291239[_0x377d7a(0x2c5)](_0x238d49=>_0xbbfa4e[_0x377d7a(0x37f)]['contains'](_0x238d49,_0x56e6d5)))||_0x56e6d5;}[_0x39d8da(0x227)](){const _0x3b2b4d=_0x39d8da,_0x20a32c=new _0xbbfa4e[(_0x3b2b4d(0x245))](),_0x275ea6=_0x52b837(),_0x11c1cf=()=>{const _0x4dfe46=_0x3b2b4d;_0x20a32c[_0x4dfe46(0x1c6)]();const _0x9f8b53=(_0x2b84f1,_0x173c8e,_0x20378f,_0x4b6724)=>{const _0xd526cf=_0x4dfe46;let _0x5c06c3=[];switch(_0x2b84f1['id']){case _0x49b326[_0xd526cf(0x31f)]['DeleteRangeMoveLeftCommandId']:{_0x5c06c3=_0x49b326[_0xd526cf(0x1f9)](_0x2b84f1,_0x4b6724);break;}case _0x49b326['EffectRefRangId'][_0xd526cf(0x2ce)]:{_0x5c06c3=_0x49b326[_0xd526cf(0x240)](_0x2b84f1,_0x4b6724);break;}case _0x49b326[_0xd526cf(0x31f)][_0xd526cf(0x238)]:{_0x5c06c3=_0x49b326[_0xd526cf(0x252)](_0x2b84f1,_0x4b6724);break;}case _0x49b326['EffectRefRangId'][_0xd526cf(0x156)]:{_0x5c06c3=_0x49b326[_0xd526cf(0x2ae)](_0x2b84f1,_0x4b6724);break;}case _0x49b326['EffectRefRangId'][_0xd526cf(0xfc)]:{_0x5c06c3=_0x49b326['handleInsertRangeMoveRight'](_0x2b84f1,_0x4b6724);break;}case _0x49b326[_0xd526cf(0x31f)][_0xd526cf(0x120)]:{_0x5c06c3=_0x49b326[_0xd526cf(0x1c2)](_0x2b84f1,_0x4b6724);break;}case _0x49b326['EffectRefRangId']['MoveRangeCommandId']:{_0x5c06c3=_0x49b326[_0xd526cf(0x124)](_0x2b84f1,_0x4b6724);break;}case _0x49b326['EffectRefRangId']['RemoveColCommandId']:{_0x5c06c3=_0x49b326[_0xd526cf(0x2f6)](_0x2b84f1,_0x4b6724);break;}case _0x49b326[_0xd526cf(0x31f)][_0xd526cf(0x34d)]:{_0x5c06c3=_0x49b326[_0xd526cf(0x152)](_0x2b84f1,_0x4b6724);break;}}const _0x95637a=_0x49b326[_0xd526cf(0x174)](_0x5c06c3,_0x4b6724),_0x31e9b7=this[_0xd526cf(0x319)][_0xd526cf(0x376)](_0x173c8e);if(_0x31e9b7&&_0x95637a){const _0x544830={..._0x31e9b7,'range':_0x95637a};this[_0xd526cf(0x319)][_0xd526cf(0x151)](_0x173c8e,_0x544830),_0x275ea6(()=>{const _0x27ff41=_0xd526cf,_0x31dca5=this[_0x27ff41(0x164)][_0x27ff41(0x391)](_0x95637a,_0x5f3e3c=>(_0x31dca5[_0x27ff41(0x1c6)](),_0x9f8b53(_0x5f3e3c,_0x173c8e,_0x20378f,_0x95637a)));_0x20a32c[_0x27ff41(0x110)](_0x31dca5);});}return{'redos':[],'undos':[]};};this[_0x4dfe46(0x319)][_0x4dfe46(0x2fb)]((_0x22dafc,_0x233a52)=>{const _0x2fd49a=_0x4dfe46,{range:_0x497b0a,sheetID:_0x19df75}=_0x22dafc,_0x4b63f3=this['_refRangeService'][_0x2fd49a(0x391)](_0x497b0a,_0x5e26b2=>(_0x4b63f3[_0x2fd49a(0x1c6)](),_0x9f8b53(_0x5e26b2,_0x233a52,_0x19df75,_0x497b0a)));_0x20a32c[_0x2fd49a(0x110)](_0x4b63f3);});};this[_0x3b2b4d(0x26d)](_0xbbfa4e[_0x3b2b4d(0x145)](this['_cursorInfo$'][_0x3b2b4d(0x20c)](()=>{_0x11c1cf();})));}[_0x39d8da(0x1dc)](){const _0x5be872=_0x39d8da;var _0x52b881,_0x2efaf7;if(this['_online']=!0x0,((_0x52b881=this[_0x5be872(0x1b0)]['getFocusedUnit']())==null?void 0x0:_0x52b881[_0x5be872(0x146)]())!==this[_0x5be872(0x33a)])return;const _0x1b045a=(_0x2efaf7=this['_injector']['get'](_0x49b326[_0x5be872(0x136)])[_0x5be872(0x271)]())==null?void 0x0:_0x2efaf7[0x0],_0x15481f=this[_0x5be872(0x1b0)][_0x5be872(0x18b)](_0xbbfa4e[_0x5be872(0x10d)][_0x5be872(0x1da)])[_0x5be872(0x175)]();_0x1b045a&&_0x15481f&&this['_updateLocalCursor'](_0x15481f[_0x5be872(0x1f2)](),_0x1b045a);}[_0x39d8da(0x192)](){const _0x5927d8=_0x39d8da;this[_0x5927d8(0x17c)]=!0x1;}};_0x3a2806=_0x42882f([_0x2227ef(0x2,_0xbbfa4e['Inject'](_0xbbfa4e[_0x39d8da(0x279)])),_0x2227ef(0x3,_0xbbfa4e[_0x39d8da(0x3c1)](_0x418481)),_0x2227ef(0x4,_0xbbfa4e[_0x39d8da(0x3c1)](_0x1315a6[_0x39d8da(0x347)])),_0x2227ef(0x5,_0xbbfa4e[_0x39d8da(0x3a0)]),_0x2227ef(0x6,_0xbbfa4e[_0x39d8da(0x2b4)]),_0x2227ef(0x7,_0xbbfa4e[_0x39d8da(0x3c1)](_0x49b326[_0x39d8da(0x128)]))],_0x3a2806);var _0xb029e0=Object[_0x39d8da(0x21a)],_0x174538=(_0x995860,_0x5e6073,_0x13adf6,_0x1eee13)=>{const _0x20a7f3=_0x39d8da;for(var _0x10805e=_0x1eee13>0x1?void 0x0:_0x1eee13?_0xb029e0(_0x5e6073,_0x13adf6):_0x5e6073,_0x2d5c65=_0x995860[_0x20a7f3(0x12e)]-0x1,_0x2b4e9a;_0x2d5c65>=0x0;_0x2d5c65--)(_0x2b4e9a=_0x995860[_0x2d5c65])&&(_0x10805e=_0x2b4e9a(_0x10805e)||_0x10805e);return _0x10805e;},_0x218e84=(_0xdd6c99,_0xb57f89)=>(_0xe45b85,_0x274378)=>_0xb57f89(_0xe45b85,_0x274378,_0xdd6c99);let _0x26adca=class extends _0xbbfa4e['RxDisposable']{constructor(_0x2ab5e0,_0x75d71e,_0x448f85){const _0x653338=_0x39d8da;super(),_0x42c6f4(this,'_entities',new Map()),_0x42c6f4(this,_0x653338(0x362),new _0x70cdda[(_0x653338(0x18d))]()),(this[_0x653338(0x1b0)]=_0x2ab5e0,this[_0x653338(0x25e)]=_0x75d71e,this[_0x653338(0x10a)]=_0x448f85,this[_0x653338(0x213)]());}[_0x39d8da(0x1c6)](){const _0x40e9bd=_0x39d8da;super['dispose'](),this[_0x40e9bd(0x362)][_0x40e9bd(0x117)](),this['_entities'][_0x40e9bd(0x2fb)](_0x1f9768=>_0x1f9768[_0x40e9bd(0x1c6)]());}['getCollabCursors$'](_0x28ead7){const _0x2deacf=_0x39d8da;return this[_0x2deacf(0xff)]['has'](_0x28ead7)?this[_0x2deacf(0xff)][_0x2deacf(0x376)](_0x28ead7)[_0x2deacf(0x397)]:this[_0x2deacf(0x362)][_0x2deacf(0x1ef)](_0x70cdda['filter'](_0x2d8a2d=>_0x2d8a2d[_0x2deacf(0x33a)]===_0x28ead7),_0x70cdda[_0x2deacf(0x130)](_0x2783a5=>_0x2783a5['cursorInfo$']));}[_0x39d8da(0x213)](){const _0x59fecd=_0x39d8da;this[_0x59fecd(0x1b0)][_0x59fecd(0x1b6)](_0xbbfa4e['UniverInstanceType'][_0x59fecd(0x1da)])[_0x59fecd(0x1ef)](_0x70cdda[_0x59fecd(0x33f)](this[_0x59fecd(0x25b)]))[_0x59fecd(0x20c)](async _0x427db9=>{const _0x51494e=_0x59fecd,_0x214912=_0x427db9[_0x51494e(0x146)](),_0x256afb=await this[_0x51494e(0x34e)](_0x214912);this[_0x51494e(0x362)][_0x51494e(0x1e9)](_0x256afb),this[_0x51494e(0xff)][_0x51494e(0x151)](_0x214912,_0x256afb);}),this['_univerInstanceService'][_0x59fecd(0x1b6)](_0xbbfa4e['UniverInstanceType'][_0x59fecd(0x201)])[_0x59fecd(0x1ef)](_0x70cdda[_0x59fecd(0x33f)](this[_0x59fecd(0x25b)]))[_0x59fecd(0x1ef)](_0x70cdda[_0x59fecd(0x1d6)](_0x31c83a=>!_0x31c83a['getUnitId']()['startsWith']('__')))[_0x59fecd(0x20c)](async _0x203aa2=>{const _0x34d2c5=_0x59fecd,_0x1fa345=_0x203aa2[_0x34d2c5(0x146)](),_0x2c3136=await this['_startDocCollabCursor'](_0x1fa345);this['_entityInit$'][_0x34d2c5(0x1e9)](_0x2c3136),this[_0x34d2c5(0xff)][_0x34d2c5(0x151)](_0x1fa345,_0x2c3136);}),_0x70cdda['merge'](this['_univerInstanceService'][_0x59fecd(0x301)](_0xbbfa4e['UniverInstanceType'][_0x59fecd(0x201)]),this[_0x59fecd(0x1b0)][_0x59fecd(0x301)](_0xbbfa4e[_0x59fecd(0x10d)][_0x59fecd(0x1da)]))['pipe'](_0x70cdda[_0x59fecd(0x33f)](this[_0x59fecd(0x25b)]))[_0x59fecd(0x20c)](_0x123c27=>{const _0x4a894f=_0x59fecd,_0x62db6c=_0x123c27['getUnitId'](),_0x1f2996=this[_0x4a894f(0xff)][_0x4a894f(0x376)](_0x62db6c);_0x1f2996&&(_0x1f2996[_0x4a894f(0x1c6)](),this[_0x4a894f(0xff)][_0x4a894f(0x274)](_0x62db6c));});}async[_0x39d8da(0x34e)](_0xc2b249){const _0x77ab44=_0x39d8da,_0x4651fd=await this['_collabSessionService'][_0x77ab44(0x258)](_0xc2b249),_0x1cbaf1=this[_0x77ab44(0x25e)][_0x77ab44(0x2d9)](_0x3a2806,_0xc2b249,_0x4651fd);return _0x1cbaf1[_0x77ab44(0x17d)](),_0x1cbaf1;}async[_0x39d8da(0x38b)](_0x5282f5){const _0x35ba2f=_0x39d8da,_0x147dd5=await this[_0x35ba2f(0x10a)][_0x35ba2f(0x258)](_0x5282f5),_0x37ad0f=this[_0x35ba2f(0x25e)]['createInstance'](_0x402e5a,_0x5282f5,_0x147dd5);return _0x37ad0f[_0x35ba2f(0x17d)](),_0x37ad0f;}};_0x26adca=_0x174538([_0x218e84(0x0,_0xbbfa4e[_0x39d8da(0x3a0)]),_0x218e84(0x1,_0xbbfa4e[_0x39d8da(0x3c1)](_0xbbfa4e[_0x39d8da(0x279)])),_0x218e84(0x2,_0xbbfa4e['Inject'](_0x1315a6['CollaborationSessionService']))],_0x26adca);const _0xd2c260=0x14,_0x44ef08=0xc8,_0x34e744=0x4,_0x232d40=0x5;function _0x5acbce(_0x34aa40,_0x5196e3){const _0x28f71d=_0x39d8da;let {radius:_0x326c8b,width:_0x332fe5,height:_0x3bf977}=_0x5196e3;_0x326c8b=_0x326c8b!=null?_0x326c8b:0x0,_0x332fe5=_0x332fe5!=null?_0x332fe5:0x1e,_0x3bf977=_0x3bf977!=null?_0x3bf977:0x1e;let _0x312828=0x0,_0x1d0d1d=0x0,_0x2b6f61=0x0;_0x312828=_0x1d0d1d=_0x2b6f61=Math['min'](_0x326c8b,_0x332fe5/0x2,_0x3bf977/0x2),_0x34aa40[_0x28f71d(0x138)](),_0x34aa40[_0x28f71d(0x118)](_0x312828,0x0),_0x34aa40[_0x28f71d(0x208)](_0x332fe5-_0x1d0d1d,0x0),_0x34aa40[_0x28f71d(0x14d)](_0x332fe5-_0x1d0d1d,_0x1d0d1d,_0x1d0d1d,Math['PI']*0x3/0x2,0x0,!0x1),_0x34aa40['lineTo'](_0x332fe5,_0x3bf977-_0x2b6f61),_0x34aa40[_0x28f71d(0x14d)](_0x332fe5-_0x2b6f61,_0x3bf977-_0x2b6f61,_0x2b6f61,0x0,Math['PI']/0x2,!0x1),_0x34aa40[_0x28f71d(0x208)](0x0,_0x3bf977),_0x34aa40[_0x28f71d(0x208)](0x0,_0x312828),_0x34aa40[_0x28f71d(0x14d)](_0x312828,_0x312828,_0x312828,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x34aa40[_0x28f71d(0x2d2)](),_0x5196e3['fill']&&(_0x34aa40[_0x28f71d(0x3bb)](),_0x34aa40[_0x28f71d(0x281)]=_0x5196e3['fill'],_0x5196e3[_0x28f71d(0x306)]===_0x28f71d(0x344)?_0x34aa40[_0x28f71d(0x1d4)](_0x28f71d(0x344)):_0x34aa40[_0x28f71d(0x1d4)](),_0x34aa40[_0x28f71d(0x29e)]());}class _0x29e640 extends _0x21f932[_0x39d8da(0x17f)]{constructor(_0x436d1c,_0x398cd0){const _0x101aab=_0x39d8da;super(_0x436d1c,_0x398cd0),_0x42c6f4(this,'color'),_0x42c6f4(this,'text'),(this[_0x101aab(0x386)]=_0x398cd0==null?void 0x0:_0x398cd0[_0x101aab(0x386)],this[_0x101aab(0x202)]=_0x398cd0==null?void 0x0:_0x398cd0[_0x101aab(0x202)]);}static[_0x39d8da(0x373)](_0x57c109,_0x331149){const _0x23adc9=_0x39d8da,{text:_0x270a5e,color:_0x41f0cb}=_0x331149;_0x57c109['save'](),_0x57c109[_0x23adc9(0x256)]=_0x23adc9(0x15b);const _0x1e8a81=_0x57c109[_0x23adc9(0x366)](_0x270a5e)[_0x23adc9(0x308)],_0x4feb1e=Math['min'](_0x1e8a81+0x2*_0x34e744,_0x44ef08);_0x5acbce(_0x57c109,{'height':_0xd2c260,'radius':0x4,'width':_0x4feb1e,'fill':_0x41f0cb}),_0x57c109[_0x23adc9(0x281)]=_0x23adc9(0x23b);const _0x8a1a2e=_0x34e744,_0xa4970a=_0xd2c260-_0x232d40,_0x6d9dc6=_0x44ef08-0x2*_0x34e744;if(_0x1e8a81>_0x6d9dc6){let _0x5519a4='',_0x291c8d=0x0;for(const _0x2cbea4 of _0x270a5e){const _0x291c40=_0x57c109[_0x23adc9(0x366)](_0x2cbea4)[_0x23adc9(0x308)];if(_0x291c8d+_0x291c40<=_0x6d9dc6-_0x57c109[_0x23adc9(0x366)](_0x23adc9(0x14e))[_0x23adc9(0x308)])_0x5519a4+=_0x2cbea4,_0x291c8d+=_0x291c40;else{_0x5519a4+=_0x23adc9(0x14e);break;}}_0x57c109[_0x23adc9(0x2b3)](_0x5519a4,_0x8a1a2e,_0xa4970a);}else _0x57c109['fillText'](_0x270a5e,_0x8a1a2e,_0xa4970a);_0x57c109[_0x23adc9(0x29e)]();}[_0x39d8da(0x211)](_0x2555a9){_0x29e640['drawWith'](_0x2555a9,this);}}const _0x143fb6=_0x39d8da(0x209),_0x379558='collab-text-range-',_0x33dde2=_0x39d8da(0x2c8),_0x4de861=0x6,_0x476b62=1.5,_0x5c814d=0x4,_0x8629de=1.5,_0x17911f='rgba(255,\x20255,\x20255,\x200.01)';class _0x56475d{constructor(_0x57e1f0,_0x39a863,_0x25dac8,_0x3e31d4){const _0x3e241a=_0x39d8da;_0x42c6f4(this,_0x3e241a(0xf4),[]),_0x42c6f4(this,_0x3e241a(0x382),null),_0x42c6f4(this,_0x3e241a(0x330),null),_0x42c6f4(this,_0x3e241a(0x225),null),_0x42c6f4(this,_0x3e241a(0xf6),null),_0x42c6f4(this,'_eventUnsubscribe',null),(this['_cursor']=_0x57e1f0,this[_0x3e241a(0x1b5)]=_0x39a863,this['_docSkeleton']=_0x25dac8,this['_document']=_0x3e31d4,this[_0x3e241a(0x329)]());}set[_0x39d8da(0x3ac)](_0x447491){const _0x3b3c11=_0x39d8da;_0x447491?(this['_anchorDot']&&this[_0x3b3c11(0x225)][_0x3b3c11(0x1d9)](),this[_0x3b3c11(0x330)]&&this['_textBubble']['show']()):(this['_anchorDot']&&this['_anchorDot']['show'](),this['_textBubble']&&this[_0x3b3c11(0x330)][_0x3b3c11(0x1d9)]());}[_0x39d8da(0x1c6)](){const _0x51fca7=_0x39d8da;for(const _0x1db066 of this[_0x51fca7(0xf4)])_0x1db066['dispose']();this[_0x51fca7(0x330)]&&this[_0x51fca7(0x330)][_0x51fca7(0x1c6)](),this['_anchorDot']&&this[_0x51fca7(0x225)]['dispose'](),this[_0x51fca7(0x382)]&&this[_0x51fca7(0x382)][_0x51fca7(0x1c6)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x39d8da(0x329)](){const _0x2ad166=_0x39d8da;var _0x118a73;const {_docSkeleton:_0x43670c,_document:_0xd95e08}=this,{color:_0x5049ff,name:_0x2eb55b,ranges:_0x403a9a}=this[_0x2ad166(0x160)],_0x1e08c9=_0xd95e08[_0x2ad166(0x172)](),{docsLeft:_0x507c9a,docsTop:_0x33df48}=_0x1e08c9,_0x1db262=new _0x6db174[(_0x2ad166(0x11a))](_0x1e08c9,_0x43670c);for(const {startOffset:_0x3937fc,endOffset:_0xaf6d24,rangeType:_0x1493fd,segmentId:_0x2702e0,segmentPage:_0x3a3a0d,collapsed:_0x38ee24,isActive:_0x53426d}of _0x403a9a){const _0x26424a=_0x43670c[_0x2ad166(0x30f)](_0x3937fc,!0x0,_0x2702e0,_0x3a3a0d);let _0xe0546c=_0x43670c[_0x2ad166(0x30f)](_0xaf6d24,!0x0,_0x2702e0,_0x3a3a0d);if(_0xe0546c==null&&(_0xe0546c=_0x43670c[_0x2ad166(0x30f)](_0xaf6d24-0x1,!0x1,_0x2702e0,_0x3a3a0d)),_0x53426d){const {contentBoxPointGroup:_0x224be6}=_0x1db262[_0x2ad166(0x22d)](_0xe0546c,_0xe0546c);if(_0x224be6[_0x2ad166(0x12e)]===0x0)continue;this[_0x2ad166(0x324)](_0x5049ff,_0x224be6,_0x507c9a,_0x33df48,_0x2eb55b),this[_0x2ad166(0x13d)]=this[_0x2ad166(0x11b)]();}if(_0x26424a&&_0xe0546c){if(_0x1493fd===_0xbbfa4e[_0x2ad166(0x2cd)][_0x2ad166(0x2a3)]){const _0x4e3112=new _0x6db174[(_0x2ad166(0x1c0))](_0x1e08c9,_0x43670c),{pointGroup:_0x455907}=(_0x118a73=_0x4e3112[_0x2ad166(0x22d)](_0x26424a,_0xe0546c))!=null?_0x118a73:{};if(_0x455907==null||_0x455907[_0x2ad166(0x12e)]===0x0)continue;this[_0x2ad166(0x3a2)](_0x5049ff,_0x455907,_0x507c9a,_0x33df48);}else{if(!_0x38ee24){const {borderBoxPointGroup:_0x52bca7}=_0x1db262[_0x2ad166(0x22d)](_0x26424a,_0xe0546c);if(_0x52bca7['length']===0x0)continue;this[_0x2ad166(0x27f)](_0x5049ff,_0x52bca7,_0x507c9a,_0x33df48);}}}}}['_drawAnchor'](_0x5c246e,_0x32b91a,_0x453f01,_0x3abd71,_0x3d36f7){const _0x1e91a9=_0x39d8da,_0x1e5d15=this['_getAnchorBounding'](_0x32b91a),{left:_0x27f97b,top:_0x5ee57c,height:_0x1d82ed}=_0x1e5d15,_0x4fea5c=this[_0x1e91a9(0x14c)](),_0x3dc067=_0x8629de/_0x4fea5c,_0x52addf=new _0x21f932[(_0x1e91a9(0xf3))](_0x143fb6+_0xbbfa4e[_0x1e91a9(0x1f1)](_0x4de861),{'left':_0x27f97b+_0x453f01-_0x3dc067,'top':_0x5ee57c+_0x3abd71,'height':_0x1d82ed,'width':_0x476b62,'fill':_0x5c246e||_0x21f932['getColor'](_0xbbfa4e[_0x1e91a9(0x2cb)][_0x1e91a9(0x38a)],0x0),'strokeWidth':_0x3dc067,'stroke':_0x17911f,'evented':!0x0});this[_0x1e91a9(0x382)]=_0x52addf,this['_scene'][_0x1e91a9(0x25a)](_0x52addf,_0x6db174[_0x1e91a9(0x358)]);const _0x3df3d8=new _0x21f932[(_0x1e91a9(0xf3))](_0x143fb6+_0xbbfa4e[_0x1e91a9(0x1f1)](_0x4de861),{'left':_0x27f97b+_0x453f01-_0x3dc067,'top':_0x5ee57c+_0x3abd71-_0x5c814d/0x2,'height':_0x5c814d,'width':_0x5c814d,'fill':_0x5c246e||_0x21f932[_0x1e91a9(0x31d)](_0xbbfa4e[_0x1e91a9(0x2cb)][_0x1e91a9(0x38a)],0x0),'strokeWidth':0x0,'stroke':_0x5c246e||_0x21f932[_0x1e91a9(0x31d)](_0xbbfa4e[_0x1e91a9(0x2cb)][_0x1e91a9(0x38a)],0x0),'evented':!0x1});this[_0x1e91a9(0x225)]=_0x3df3d8,this[_0x1e91a9(0x1b5)]['addObject'](_0x3df3d8,_0x6db174[_0x1e91a9(0x358)]);const _0x4fea61=new _0x29e640(_0x143fb6+_0xbbfa4e[_0x1e91a9(0x1f1)](_0x4de861),{'left':_0x27f97b+_0x453f01-_0x3dc067,'top':_0x5ee57c+_0x3abd71-_0xd2c260,'text':_0x3d36f7,'color':_0x5c246e});this[_0x1e91a9(0x330)]=_0x4fea61,this['_scene'][_0x1e91a9(0x25a)](_0x4fea61,_0x6db174[_0x1e91a9(0x358)]),this[_0x1e91a9(0x3ac)]=!0x1;}[_0x39d8da(0x11b)](){const _0x4a28ba=_0x39d8da,_0x56d0fd=this[_0x4a28ba(0x382)][_0x4a28ba(0x12a)][_0x4a28ba(0x206)](()=>{this['_hover']=!0x0;}),_0x33db8e=this[_0x4a28ba(0x382)][_0x4a28ba(0x300)][_0x4a28ba(0x206)](()=>{const _0x52a5d2=_0x4a28ba;this[_0x52a5d2(0xf6)]&&clearTimeout(this['_hideTimer']),this[_0x52a5d2(0xf6)]=setTimeout(()=>{const _0x43ac37=_0x52a5d2;this[_0x43ac37(0x3ac)]=!0x1;},0x7d0);});return()=>{const _0x27d520=_0x4a28ba;_0x56d0fd['unsubscribe'](),_0x33db8e[_0x27d520(0x244)]();};}['_drawTextRange'](_0x3d6b99,_0x46aa71,_0x41b924,_0x2824e0){const _0x2263af=_0x39d8da,_0x10d4ce=new _0xbbfa4e[(_0x2263af(0x210))](_0x3d6b99)[_0x2263af(0x3be)](0.2)[_0x2263af(0x239)](),_0x288d51=new _0x21f932['RegularPolygon'](_0x379558+_0xbbfa4e[_0x2263af(0x1f1)](_0x4de861),{'pointsGroup':_0x46aa71,'fill':_0x10d4ce||_0x21f932[_0x2263af(0x31d)](_0xbbfa4e['COLORS'][_0x2263af(0x38a)],0.2),'left':_0x41b924,'top':_0x2824e0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2263af(0xf4)][_0x2263af(0x30b)](_0x288d51),this[_0x2263af(0x1b5)]['addObject'](_0x288d51,_0x6db174['TEXT_RANGE_LAYER_INDEX']);}[_0x39d8da(0x3a2)](_0x354bc0,_0x14eeb4,_0x445dca,_0x400469){const _0x3fed57=_0x39d8da,_0xa3166c=new _0xbbfa4e[(_0x3fed57(0x210))](_0x354bc0)['setAlpha'](0.2)[_0x3fed57(0x239)](),_0x3fc480=new _0x21f932['RegularPolygon'](_0x33dde2+_0xbbfa4e[_0x3fed57(0x1f1)](_0x4de861),{'pointsGroup':_0x14eeb4,'fill':_0xa3166c||_0x21f932[_0x3fed57(0x31d)](_0xbbfa4e[_0x3fed57(0x2cb)][_0x3fed57(0x38a)],0.2),'left':_0x445dca,'top':_0x400469,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3fed57(0x30b)](_0x3fc480),this['_scene'][_0x3fed57(0x25a)](_0x3fc480,_0x6db174[_0x3fed57(0x358)]);}[_0x39d8da(0x115)](_0x349eb6){const _0x366f09=_0x349eb6[0x0],_0x1fbc34=_0x366f09[0x0],_0x322c92=_0x366f09[0x2],{x:_0xd1faea,y:_0x53be80}=_0x1fbc34,{x:_0x489e18,y:_0xaf9219}=_0x322c92;return{'left':_0xd1faea,'top':_0x53be80,'width':_0x489e18-_0xd1faea,'height':_0xaf9219-_0x53be80};}[_0x39d8da(0x14c)](){const _0x9b5a54=_0x39d8da,{scaleX:_0x3a06f0,scaleY:_0x56bfa6}=this['_scene']['getAncestorScale']();return Math[_0x9b5a54(0x1af)](_0x3a06f0,_0x56bfa6);}}var _0x3ba451=Object[_0x39d8da(0x21a)],_0x58718e=(_0x3db453,_0x2a96c1,_0x1e5801,_0x1759d5)=>{for(var _0x1cb4b6=_0x1759d5>0x1?void 0x0:_0x1759d5?_0x3ba451(_0x2a96c1,_0x1e5801):_0x2a96c1,_0x22aa9e=_0x3db453['length']-0x1,_0x3a4e84;_0x22aa9e>=0x0;_0x22aa9e--)(_0x3a4e84=_0x3db453[_0x22aa9e])&&(_0x1cb4b6=_0x3a4e84(_0x1cb4b6)||_0x1cb4b6);return _0x1cb4b6;},_0x44591f=(_0x5d0250,_0x4c3679)=>(_0x5a99c3,_0x2bce22)=>_0x4c3679(_0x5a99c3,_0x2bce22,_0x5d0250);let _0x133b87=class extends _0xbbfa4e[_0x39d8da(0x22f)]{constructor(_0x5af087,_0x531cb8,_0x4f8835,_0x3566b2,_0x1cf513){const _0x9d10d6=_0x39d8da;super(),_0x42c6f4(this,_0x9d10d6(0x1ac),[]),_0x42c6f4(this,_0x9d10d6(0x2d1),[]),(this[_0x9d10d6(0x1c5)]=_0x5af087,this[_0x9d10d6(0x19b)]=_0x531cb8,this['_collabCursorController']=_0x4f8835,this[_0x9d10d6(0x1bc)]=_0x3566b2,this[_0x9d10d6(0x380)]=_0x1cf513,this[_0x9d10d6(0x213)]());}[_0x39d8da(0x213)](){const _0x2d2e16=_0x39d8da,_0x50faa0=this[_0x2d2e16(0x1c5)][_0x2d2e16(0x35c)],_0xd0a7d5=this[_0x2d2e16(0x19b)];this[_0x2d2e16(0x26d)](_0x70cdda['combineLatest']([this[_0x2d2e16(0x1f5)][_0x2d2e16(0x270)](_0x50faa0),this['_themeService'][_0x2d2e16(0x370)]])[_0x2d2e16(0x1ef)](_0x9d102a[_0x2d2e16(0x29d)](([_0x160ba4,_0x471318])=>({'skeleton':_0xd0a7d5[_0x2d2e16(0x2f4)](),'cursors':[..._0x160ba4['values']()][_0x2d2e16(0x13f)](_0x574f97=>({..._0x574f97,'color':this['_themeService'][_0x2d2e16(0x27c)](_0x574f97[_0x2d2e16(0x386)])}))})))['subscribe'](_0x26d17f=>{const _0x2a3af8=_0x2d2e16;if(this[_0x2a3af8(0x24c)](),_0x26d17f){const {skeleton:_0x1bda69,cursors:_0xf11818}=_0x26d17f;this[_0x2a3af8(0x2c0)](_0x1bda69,_0xf11818);}})),this[_0x2d2e16(0x1f3)](),this[_0x2d2e16(0x2cc)]();}[_0x39d8da(0x2c0)](_0x350675,_0x194933){const _0x525110=_0x39d8da,{scene:_0x47dcad,mainComponent:_0x9bb14c}=this[_0x525110(0x1c5)],_0x3bc535=_0x194933[_0x525110(0x29d)](_0x94c2c8=>new _0x56475d(_0x94c2c8,_0x47dcad,_0x350675,_0x9bb14c));this[_0x525110(0x1ac)]=_0x3bc535,this[_0x525110(0x2d1)]=_0x194933;}['_refreshCollabCursors'](){const _0x3c9fa1=_0x39d8da;this[_0x3c9fa1(0x24c)]();const {scene:_0x38ac5d,mainComponent:_0x125b97}=this[_0x3c9fa1(0x1c5)],_0x31eb3b=this['_docSkeletonManagerService']['getSkeleton'](),_0x407c75=this[_0x3c9fa1(0x2d1)]['map'](_0xc34ee0=>new _0x56475d(_0xc34ee0,_0x38ac5d,_0x31eb3b,_0x125b97));this[_0x3c9fa1(0x1ac)]=_0x407c75;}[_0x39d8da(0x24c)](){const _0x1bca95=_0x39d8da;this['_cursorShapes'][_0x1bca95(0x2fb)](_0x5c23e3=>_0x5c23e3[_0x1bca95(0x1c6)]()),this['_cursorShapes']=[];}[_0x39d8da(0x2cc)](){const _0x1b81ae=_0x39d8da,_0x477cbd=[_0x6db174[_0x1b81ae(0x390)]['id']];this['disposeWithMe'](this[_0x1b81ae(0x1bc)]['onCommandExecuted'](_0x3a0eb9=>{const _0x542c17=_0x1b81ae;_0x477cbd[_0x542c17(0x39a)](_0x3a0eb9['id'])&&_0x3a0eb9[_0x542c17(0x14a)]['unitId']===this[_0x542c17(0x1c5)][_0x542c17(0x35c)]&&this[_0x542c17(0x316)]();}));}[_0x39d8da(0x1f3)](){const _0x2ab6ea=_0x39d8da;this[_0x2ab6ea(0x26d)](_0xbbfa4e[_0x2ab6ea(0x2e6)](this[_0x2ab6ea(0x1c5)]['engine']['onTransformChange$'])['pipe'](_0x9d102a[_0x2ab6ea(0x1d6)](_0x20714a=>_0x20714a[_0x2ab6ea(0x222)]===_0x21f932[_0x2ab6ea(0x28e)]['resize']),_0x9d102a['throttleTime'](0x10))[_0x2ab6ea(0x20c)](()=>{const _0x258bb2=_0x2ab6ea;this[_0x258bb2(0x316)]();}));}};_0x133b87=_0x58718e([_0x44591f(0x1,_0xbbfa4e[_0x39d8da(0x3c1)](_0xc1eed[_0x39d8da(0x29c)])),_0x44591f(0x2,_0xbbfa4e[_0x39d8da(0x3c1)](_0x26adca)),_0x44591f(0x3,_0xbbfa4e[_0x39d8da(0x2b4)]),_0x44591f(0x4,_0xbbfa4e[_0x39d8da(0x3c1)](_0xbbfa4e[_0x39d8da(0x2c4)]))],_0x133b87);const _0x185125=0x1,_0x46c655=1.5;class _0x4b9541 extends _0x21f932[_0x39d8da(0x17f)]{constructor(_0x5c65d0,_0xb89375){const _0x3d80ed=_0x39d8da;super(_0x5c65d0,_0xb89375),_0x42c6f4(this,'_color'),_0x42c6f4(this,_0x3d80ed(0x2e3),!0x1),_0x42c6f4(this,_0x3d80ed(0x398)),_0x42c6f4(this,_0x3d80ed(0xfe),''),_0x42c6f4(this,'_labelPosition',_0x3d80ed(0x336)),_0x42c6f4(this,_0x3d80ed(0x2cf)),(_0xb89375&&this['setShapeProps'](_0xb89375),this[_0x3d80ed(0x12a)][_0x3d80ed(0x206)](()=>this[_0x3d80ed(0x38d)]({'hovered':!0x0})),this[_0x3d80ed(0x300)][_0x3d80ed(0x206)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x39d8da(0x38d)](_0x5b2ad1){const _0x2dbf00=_0x39d8da;var _0x39f7c8,_0x3f4eb7,_0x236035,_0x189cc1,_0x5c8902,_0x5e0ca1;this[_0x2dbf00(0x30a)]=(_0x39f7c8=_0x5b2ad1['color'])!=null?_0x39f7c8:this[_0x2dbf00(0x30a)],this[_0x2dbf00(0x2e3)]=(_0x3f4eb7=_0x5b2ad1[_0x2dbf00(0x13a)])!=null?_0x3f4eb7:this[_0x2dbf00(0x2e3)],this[_0x2dbf00(0x398)]=(_0x236035=_0x5b2ad1['range'])!=null?_0x236035:this[_0x2dbf00(0x398)],this['_name']=(_0x189cc1=_0x5b2ad1[_0x2dbf00(0x1c1)])!=null?_0x189cc1:this['_name'],this['_labelPosition']=(_0x5c8902=_0x5b2ad1[_0x2dbf00(0x1fc)])!=null?_0x5c8902:this[_0x2dbf00(0x286)],this[_0x2dbf00(0x2cf)]=(_0x5e0ca1=_0x5b2ad1[_0x2dbf00(0x111)])!=null?_0x5e0ca1:this[_0x2dbf00(0x2cf)],this[_0x2dbf00(0x32b)]({'width':_0x5b2ad1['width'],'height':_0x5b2ad1[_0x2dbf00(0x3ae)]});}['onMouseMove'](_0x5ea343){const _0x3ecb69=_0x39d8da,{row:_0x342f10,column:_0x23af05}=_0x5ea343;if(_0x342f10>=this[_0x3ecb69(0x398)][_0x3ecb69(0x341)]&&_0x342f10<=this[_0x3ecb69(0x398)][_0x3ecb69(0x19c)]&&_0x23af05>=this['_range'][_0x3ecb69(0x1a9)]&&_0x23af05<=this['_range'][_0x3ecb69(0x290)]){this[_0x3ecb69(0x38d)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x39d8da(0x364)](_0x52c979){return!0x1;}[_0x39d8da(0x211)](_0x22bf16){const _0x37d73c=_0x39d8da;_0x21f932[_0x37d73c(0xf3)][_0x37d73c(0x373)](_0x22bf16,{'width':this['width'],'height':this[_0x37d73c(0x3ae)],'strokeWidth':_0x46c655,'stroke':this[_0x37d73c(0x30a)],'evented':!0x1,'fill':this[_0x37d73c(0x2cf)]}),this['_hovered']&&(_0x22bf16[_0x37d73c(0x3bb)](),_0x22bf16['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x37d73c(0x286)]===_0x37d73c(0x23e)?0x0:-_0xd2c260),_0x29e640[_0x37d73c(0x373)](_0x22bf16,{'text':this[_0x37d73c(0xfe)],'color':this[_0x37d73c(0x30a)]}),_0x22bf16[_0x37d73c(0x29e)]());}}var _0x197b93=Object[_0x39d8da(0x21a)],_0x1bc4c2=(_0x230a23,_0x54fabf,_0x301859,_0xe18301)=>{const _0x57031b=_0x39d8da;for(var _0x269060=_0xe18301>0x1?void 0x0:_0xe18301?_0x197b93(_0x54fabf,_0x301859):_0x54fabf,_0x54a4f4=_0x230a23[_0x57031b(0x12e)]-0x1,_0x3e3631;_0x54a4f4>=0x0;_0x54a4f4--)(_0x3e3631=_0x230a23[_0x54a4f4])&&(_0x269060=_0x3e3631(_0x269060)||_0x269060);return _0x269060;},_0x38577e=(_0xf64739,_0xaaf985)=>(_0x4b5a5d,_0x37405d)=>_0xaaf985(_0x4b5a5d,_0x37405d,_0xf64739);const _0x2a29fb=0x1389;let _0x42c262=class extends _0xbbfa4e[_0x39d8da(0x22f)]{constructor(_0x5aac63,_0x2edbbf,_0x1da8cf,_0xfae45f){const _0x217e36=_0x39d8da;super(),_0x42c6f4(this,_0x217e36(0x2d1),new Set()),_0x42c6f4(this,_0x217e36(0x1be),null),(this[_0x217e36(0x1c5)]=_0x5aac63,this[_0x217e36(0x19d)]=_0x2edbbf,this['_collabCursorController']=_0x1da8cf,this[_0x217e36(0x380)]=_0xfae45f,this['_init']());}['_init'](){const _0x14d263=_0x39d8da;this[_0x14d263(0x19d)][_0x14d263(0x35f)]['pipe'](_0x9d102a[_0x14d263(0x33f)](this['dispose$']),_0x9d102a[_0x14d263(0x130)](_0x3c02ce=>{const _0x1473bf=_0x14d263;if(_0x3c02ce){const _0x368fdd=_0x3c02ce[_0x1473bf(0x394)];return _0x70cdda['combineLatest'](this[_0x1473bf(0x1f5)][_0x1473bf(0x270)](this[_0x1473bf(0x1c5)]['unitId']),this[_0x1473bf(0x380)][_0x1473bf(0x370)])[_0x1473bf(0x1ef)](_0x9d102a[_0x1473bf(0x29d)](([_0x33cca0,_0x188fda])=>{const _0x2b45e3=_0x1473bf,_0x467578=new Map();return _0x33cca0[_0x2b45e3(0x2fb)]((_0x437e48,_0x3459c6)=>{const _0x243f7b=_0x2b45e3;if(_0x437e48[_0x243f7b(0x1ff)]===_0x368fdd){const _0x444375={..._0x437e48};_0x444375['color']=this[_0x243f7b(0x380)][_0x243f7b(0x27c)](_0x437e48[_0x243f7b(0x386)]),_0x467578['set'](_0x3459c6,_0x444375);}}),{'skeleton':_0x3c02ce,'cursors':_0x467578};}));}return _0x70cdda['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xd34206,cursors:_0x1f6a03})=>{const _0x6a5a43=_0x14d263;this[_0x6a5a43(0x24c)](),_0xd34206&&this[_0x6a5a43(0x2c0)](_0xd34206,_0x1f6a03);}),this[_0x14d263(0x19d)][_0x14d263(0x35f)][_0x14d263(0x20c)](_0x125220=>{const _0x4fbbe7=_0x14d263;if(_0x125220==null)return;const {skeleton:_0x1122c6}=_0x125220,{scene:_0x402c46}=this[_0x4fbbe7(0x1c5)];_0x402c46[_0x4fbbe7(0x3a3)][_0x4fbbe7(0x206)](_0xbbfa4e[_0x4fbbe7(0x282)](_0x7aa76a=>{const _0x43fcb1=_0x4fbbe7;var _0x3925c4,_0x54d107;const {offsetX:_0x5a4f20,offsetY:_0x19bd54}=_0x7aa76a,{x:_0x5e3151,y:_0xe3c3d2}=_0x402c46[_0x43fcb1(0x2a4)](_0x21f932[_0x43fcb1(0x2fa)][_0x43fcb1(0x26c)]([_0x5a4f20,_0x19bd54])),{scaleX:_0x363964,scaleY:_0x15ec73}=_0x402c46[_0x43fcb1(0x2b6)](),_0x1f0a48=_0x402c46[_0x43fcb1(0x251)](_0x21f932[_0x43fcb1(0x289)][_0x43fcb1(0x372)]),_0x18866f=_0x402c46['getVpScrollXYInfoByPosToVp'](_0x21f932[_0x43fcb1(0x2fa)][_0x43fcb1(0x26c)]([_0x5e3151,_0xe3c3d2]),_0x1f0a48),_0x2d64db=_0x1122c6[_0x43fcb1(0x10f)](_0x5a4f20,_0x19bd54,_0x363964,_0x15ec73,_0x18866f);((_0x3925c4=this[_0x43fcb1(0x1be)])==null?void 0x0:_0x3925c4[_0x43fcb1(0x13c)])===_0x2d64db[_0x43fcb1(0x13c)]&&((_0x54d107=this[_0x43fcb1(0x1be)])==null?void 0x0:_0x54d107[_0x43fcb1(0x2fc)])===_0x2d64db[_0x43fcb1(0x2fc)]||this[_0x43fcb1(0x2d1)][_0x43fcb1(0x2fb)](_0x20fea6=>{_0x20fea6['onMouseMove'](_0x2d64db);});},0x64));});}[_0x39d8da(0x2c0)](_0x74d17,_0xada0d2){const _0x3a87bd=_0x39d8da;var _0x176222;const _0x1f90eb=(_0x176222=this[_0x3a87bd(0x19d)][_0x3a87bd(0x150)]())==null?void 0x0:_0x176222[_0x3a87bd(0x168)];if(!_0x1f90eb)return;const _0x31750d=this['_getSheetObject']();if(!_0x31750d)return;this['_cursors'][_0x3a87bd(0x2fb)](_0x265a51=>{_0x265a51['makeDirty']();});const {scene:_0x490332}=_0x31750d,_0x48f4c2=_0x179a70(Array[_0x3a87bd(0x367)](_0xada0d2[_0x3a87bd(0x39b)]()))[_0x3a87bd(0x29d)](_0x42fbe7=>{const _0x355222=_0x3a87bd,{color:_0x2a333f,range:_0x9d1e0a,name:_0x17414b,selection:_0x2fec9a,sheetID:_0x2b18e7}=_0x42fbe7,{startColumn:_0x4cf5e6,startRow:_0x55875e,endColumn:_0x430393,endRow:_0x465305}=_0x9d1e0a,_0x150d1c=_0x11a2db[_0x355222(0x20e)](_0x55875e,_0x4cf5e6,_0x490332,_0x1f90eb),_0x3f9fc1=_0x11a2db['getCoordByCell'](_0x465305,_0x430393,_0x490332,_0x1f90eb),{columnHeaderHeightAndMarginTop:_0x3723c6}=_0x1f90eb,{startX:_0x1c6b4b,startY:_0x4ec79e}=_0x150d1c,{endX:_0x504098,endY:_0x1e65ec}=_0x3f9fc1,_0x1dc77a=_0x504098-_0x1c6b4b,_0x470526=_0x1e65ec-_0x4ec79e,_0x54fc0e={'labelPosition':_0x4ec79e-_0x3723c6>=_0xd2c260?_0x355222(0x336):'bottom','sheetID':_0x2b18e7,'range':_0x9d1e0a,'color':_0x2a333f,'name':_0x17414b,'selection':_0x2fec9a,'left':_0x1c6b4b,'top':_0x4ec79e,'width':_0x1dc77a,'height':_0x470526,'evented':!0x1,'zIndex':_0x2a29fb};return new _0x4b9541(_0x17414b,_0x54fc0e);});_0x490332[_0x3a87bd(0x157)](_0x48f4c2,_0x185125),this[_0x3a87bd(0x2d1)]=new Set(_0x48f4c2);}[_0x39d8da(0x24c)](){const _0x3d435e=_0x39d8da;var _0x43fb79;(_0x43fb79=this[_0x3d435e(0x2d1)])==null||_0x43fb79[_0x3d435e(0x2fb)](_0x38e5c9=>_0x38e5c9['dispose']());}[_0x39d8da(0x278)](){const _0x102430=_0x39d8da;return _0x11a2db[_0x102430(0x20d)](this[_0x102430(0x1c5)][_0x102430(0x1b9)],this[_0x102430(0x1c5)]);}};_0x42c262=_0x1bc4c2([_0x38577e(0x1,_0xbbfa4e['Inject'](_0x11a2db[_0x39d8da(0x381)])),_0x38577e(0x2,_0xbbfa4e[_0x39d8da(0x3c1)](_0x26adca)),_0x38577e(0x3,_0xbbfa4e[_0x39d8da(0x3c1)](_0xbbfa4e[_0x39d8da(0x2c4)]))],_0x42c262);function _0x179a70(_0x45ff90){const _0x24cbe5=_0x39d8da,_0x2111af=new Map();return _0x45ff90[_0x24cbe5(0x2fb)](_0x397fbc=>{const _0x31a582=_0x24cbe5;if(_0x2111af['has'](_0x397fbc['selection'])){const _0x331ddf=_0x2111af['get'](_0x397fbc[_0x31a582(0x337)]);_0x331ddf[_0x31a582(0x1c1)]+=',\x20'+_0x397fbc[_0x31a582(0x1c1)];}else _0x2111af[_0x31a582(0x151)](_0x397fbc['selection'],_0x397fbc);}),Array[_0x24cbe5(0x367)](_0x2111af[_0x24cbe5(0x39b)]());}var _0x10bb8c=Object[_0x39d8da(0x21a)],_0x1af657=(_0x10389c,_0x1d1488,_0x135026,_0x122887)=>{const _0x1cf4f7=_0x39d8da;for(var _0x4e7c0f=_0x122887>0x1?void 0x0:_0x122887?_0x10bb8c(_0x1d1488,_0x135026):_0x1d1488,_0x418d0b=_0x10389c[_0x1cf4f7(0x12e)]-0x1,_0x15634c;_0x418d0b>=0x0;_0x418d0b--)(_0x15634c=_0x10389c[_0x418d0b])&&(_0x4e7c0f=_0x15634c(_0x4e7c0f)||_0x4e7c0f);return _0x4e7c0f;},_0x560aff=(_0x5e58c7,_0x47a314)=>(_0x54c781,_0x1d0366)=>_0x47a314(_0x54c781,_0x1d0366,_0x5e58c7);let _0x5129a7=class extends _0xbbfa4e['Disposable']{constructor(_0x25bbe6,_0xe6ac0c,_0x1a8945,_0x3c22c6,_0x3a7581,_0x3beb50){const _0x147f65=_0x39d8da;super(),this['_beforeCloseService']=_0x25bbe6,this[_0x147f65(0x276)]=_0xe6ac0c,this[_0x147f65(0x1ad)]=_0x1a8945,this[_0x147f65(0x309)]=_0x3c22c6,this[_0x147f65(0x27a)]=_0x3a7581,this[_0x147f65(0x378)]=_0x3beb50,this[_0x147f65(0x1d5)](),this['_initEvent']();}[_0x39d8da(0x1d5)](){const _0x276fde=_0x39d8da;this[_0x276fde(0x26d)](this[_0x276fde(0x37c)]['registerBeforeClose'](()=>{const _0x48bec9=_0x276fde;if(this[_0x48bec9(0x276)][_0x48bec9(0x35e)]['size'])return this['_localeService']['t'](_0x48bec9(0x2f7));}));}[_0x39d8da(0x3b0)](){const _0x54489f=_0x39d8da;this[_0x54489f(0x26d)](this[_0x54489f(0x1ad)][_0x54489f(0xf8)][_0x54489f(0x20c)](_0x1c0952=>{const _0x147996=_0x54489f;_0x1c0952['id']===_0x1315a6['CollaborationUIEventId'][_0x147996(0x143)]&&this['_messageService'][_0x147996(0x3af)]({'type':_0x32125a[_0x147996(0x14f)][_0x147996(0x3a1)],'content':this[_0x147996(0x378)]['t']('collaboration.single-unit.warning')}),_0x1c0952['id']===_0x1315a6[_0x147996(0x1eb)][_0x147996(0x121)]&&this[_0x147996(0x309)][_0x147996(0x3af)]({'type':_0x32125a[_0x147996(0x14f)][_0x147996(0x3a1)],'content':this[_0x147996(0x378)]['t'](_0x147996(0x371))}),_0x1c0952['id']===_0x1315a6[_0x147996(0x1eb)][_0x147996(0x1fe)]&&this[_0x147996(0x27a)][_0x147996(0x3af)]({'title':this['_localeService']['t'](_0x147996(0x37e)),'content':this['_localeService']['t'](_0x147996(0x2a1)),'type':_0x147996(0x2b8),'duration':0x0}),_0x1c0952['id']===_0x1315a6[_0x147996(0x1eb)]['CONFLICT']&&this['_messageService'][_0x147996(0x3af)]({'type':_0x32125a[_0x147996(0x14f)][_0x147996(0x2dd)],'content':this[_0x147996(0x378)]['t']('collaboration.closeRoom')+'('+_0x1c0952[_0x147996(0x205)]+')'}),_0x1c0952['id']===_0x1315a6[_0x147996(0x1eb)]['JOIN_ROOM_FAILED']&&this[_0x147996(0x309)]['show']({'type':_0x32125a[_0x147996(0x14f)][_0x147996(0x3a1)],'content':this[_0x147996(0x378)]['t'](_0x1c0952['data']||'')}),_0x1c0952['id']===_0x1315a6[_0x147996(0x1eb)]['SOCKET_FAILED_RETRY']&&this[_0x147996(0x309)][_0x147996(0x3af)]({'type':_0x32125a[_0x147996(0x14f)][_0x147996(0x3a1)],'content':this['_localeService']['t']('session.will-retry')}),_0x1c0952['id']===_0x1315a6[_0x147996(0x1eb)][_0x147996(0xf9)]&&this['_messageService'][_0x147996(0x3af)]({'type':_0x32125a[_0x147996(0x14f)][_0x147996(0x2dd)],'content':this[_0x147996(0x378)]['t'](_0x147996(0x34f))}),_0x1c0952['id']===_0x1315a6[_0x147996(0x1eb)][_0x147996(0x269)]&&this[_0x147996(0x309)][_0x147996(0x3af)]({'type':_0x32125a['MessageType'][_0x147996(0x2dd)],'content':this[_0x147996(0x378)]['t'](_0x147996(0x147))});}));}};_0x5129a7=_0x1af657([_0x560aff(0x0,_0x46f378[_0x39d8da(0x29f)]),_0x560aff(0x1,_0x1315a6[_0x39d8da(0x102)]),_0x560aff(0x2,_0xbbfa4e[_0x39d8da(0x3c1)](_0x1315a6[_0x39d8da(0x350)])),_0x560aff(0x3,_0x46f378['IMessageService']),_0x560aff(0x4,_0x46f378['INotificationService']),_0x560aff(0x5,_0xbbfa4e[_0x39d8da(0x3c1)](_0xbbfa4e[_0x39d8da(0x16c)]))],_0x5129a7);const _0x5a6978=_0x39d8da(0x163),_0x1894e3={};var _0x575c0b=Object['getOwnPropertyDescriptor'],_0x94ff43=(_0x175148,_0x2907ac,_0x31a1b0,_0xc8732d)=>{for(var _0x24b206=_0xc8732d>0x1?void 0x0:_0xc8732d?_0x575c0b(_0x2907ac,_0x31a1b0):_0x2907ac,_0x18d91c=_0x175148['length']-0x1,_0x3b882e;_0x18d91c>=0x0;_0x18d91c--)(_0x3b882e=_0x175148[_0x18d91c])&&(_0x24b206=_0x3b882e(_0x24b206)||_0x24b206);return _0x24b206;},_0x3ce747=(_0x90512a,_0xc2f731)=>(_0x51e28e,_0x536fee)=>_0xc2f731(_0x51e28e,_0x536fee,_0x90512a);let _0x2cd16b=class{constructor(_0x70c032,_0x21e1f6){const _0x360aac=_0x39d8da;this[_0x360aac(0x2bf)]=_0x70c032,this[_0x360aac(0x2b5)]=_0x21e1f6;}['transformIMECache'](_0xdcbcd5){const _0x2c3790=_0x39d8da;this['_transformUndoRedoStack'](_0xdcbcd5),this[_0x2c3790(0x13e)](_0xdcbcd5);}[_0x39d8da(0x220)](_0x18a8d7){const _0x28d270=_0x39d8da,{unitID:_0x2e8c8f}=_0x18a8d7,_0x48e189=this[_0x28d270(0x2b5)]['getRenderById'](_0x2e8c8f)[_0x28d270(0x3a8)](_0x6db174[_0x28d270(0x357)]),{redoCache:_0x15ecc2}=_0x48e189[_0x28d270(0x183)]();if(_0x15ecc2[_0x28d270(0x12e)]===0x0)return _0x18a8d7;let _0x190b24=_0xbbfa4e[_0x28d270(0x2d8)][_0x28d270(0x23f)](_0x18a8d7[_0x28d270(0x10e)][0x0]);for(let _0xa40824=0x0;_0xa40824<_0x15ecc2['length'];_0xa40824++){const _0x181ba0={'id':'doc.mutation.rich-text-editing','params':{..._0x15ecc2[_0xa40824]}},_0x3be3f1=this['_transformService'][_0x28d270(0x1c4)](_0x190b24,_0x181ba0,!0x1);if(_0x26787e[_0x28d270(0x354)](_0x3be3f1))throw _0x3be3f1['error'];_0x190b24=_0x3be3f1['m1Prime'];}return{..._0xbbfa4e[_0x28d270(0x2d8)][_0x28d270(0x23f)](_0x18a8d7),'mutations':[_0x190b24]};}[_0x39d8da(0x2ea)](_0x3aa42){const _0x556aba=_0x39d8da,{unitID:_0x444cc4}=_0x3aa42,_0x1c71ef=this[_0x556aba(0x2b5)]['getRenderById'](_0x444cc4)[_0x556aba(0x3a8)](_0x6db174[_0x556aba(0x357)]),{undoCache:_0x3b918e,redoCache:_0x346976}=_0x1c71ef[_0x556aba(0x183)]();if(_0x3b918e['length']===0x0||_0x346976[_0x556aba(0x12e)]===0x0)return;const _0x2c8a3d=[],_0x29d520=[];let _0x2f31fb=_0xbbfa4e[_0x556aba(0x2d8)]['deepClone'](_0x3aa42[_0x556aba(0x10e)][0x0]),_0x5138f1=_0xbbfa4e[_0x556aba(0x2d8)][_0x556aba(0x23f)](_0x3aa42['mutations'][0x0]);for(let _0x354fa8=_0x3b918e[_0x556aba(0x12e)]-0x1;_0x354fa8>=0x0;_0x354fa8--){const _0x161a0e={'id':'doc.mutation.rich-text-editing','params':{..._0x3b918e[_0x354fa8]}},_0x28bd94={'id':'doc.mutation.rich-text-editing','params':{..._0x346976[_0x354fa8]}},_0x433fed=this[_0x556aba(0x2bf)][_0x556aba(0x1c4)](_0x2f31fb,_0x161a0e,!0x1),_0x3646af=this[_0x556aba(0x2bf)][_0x556aba(0x1c4)](_0x5138f1,_0x28bd94,!0x1);if(_0x26787e[_0x556aba(0x354)](_0x433fed))throw _0x433fed[_0x556aba(0x2b8)];if(_0x26787e[_0x556aba(0x354)](_0x3646af))throw _0x3646af[_0x556aba(0x2b8)];_0x2c8a3d['unshift'](_0x433fed[_0x556aba(0x2bb)][_0x556aba(0x14a)]),_0x29d520['unshift'](_0x3646af[_0x556aba(0x2bb)][_0x556aba(0x14a)]),_0x2f31fb=_0x433fed[_0x556aba(0x315)],_0x5138f1=_0x3646af[_0x556aba(0x315)];}_0x1c71ef[_0x556aba(0x267)]({'undoCache':_0x2c8a3d,'redoCache':_0x29d520});}[_0x39d8da(0x13e)](_0x46f082){const _0xa50d2a=_0x39d8da,{unitID:_0x66b001}=_0x46f082,_0x489ba3=this[_0xa50d2a(0x2b5)]['getRenderById'](_0x66b001)[_0xa50d2a(0x3a8)](_0x6db174['DocIMEInputManagerService']),_0x3f1833=_0x489ba3[_0xa50d2a(0x2d4)]();if(_0x3f1833==null)return;const _0x1af340=[{'id':_0xa50d2a(0x322),'params':{'unitId':_0x46f082[_0xa50d2a(0x33a)],'actions':null,'textRanges':[_0x3f1833]}}],_0x5a7910=this[_0xa50d2a(0x2bf)][_0xa50d2a(0x127)](_0x46f082,_0x1af340);if(!_0x26787e['isTransformMutationsWithChangesetSuccess'](_0x5a7910))throw _0x5a7910[_0xa50d2a(0x2b8)];const _0x314d28=_0x5a7910['m2Prime'][0x0][_0xa50d2a(0x14a)][_0xa50d2a(0x35b)];Array[_0xa50d2a(0x377)](_0x314d28)&&_0x314d28[_0xa50d2a(0x12e)]&&_0x489ba3[_0xa50d2a(0x2a5)](_0x314d28[0x0]);}};_0x2cd16b=_0x94ff43([_0x3ce747(0x0,_0x26787e['ITransformService']),_0x3ce747(0x1,_0x21f932[_0x39d8da(0x280)])],_0x2cd16b);var _0x1fa88c=Object[_0x39d8da(0x21a)],_0x5955fb=(_0x4ad1e8,_0x590efa,_0x58d631,_0x4d0104)=>{const _0x218c3c=_0x39d8da;for(var _0x277414=_0x4d0104>0x1?void 0x0:_0x4d0104?_0x1fa88c(_0x590efa,_0x58d631):_0x590efa,_0x2b1fd8=_0x4ad1e8[_0x218c3c(0x12e)]-0x1,_0x508055;_0x2b1fd8>=0x0;_0x2b1fd8--)(_0x508055=_0x4ad1e8[_0x2b1fd8])&&(_0x277414=_0x508055(_0x277414)||_0x277414);return _0x277414;},_0x58fbef=(_0x22f410,_0x224c43)=>(_0x1040ea,_0x3eee1e)=>_0x224c43(_0x1040ea,_0x3eee1e,_0x22f410);let _0x5d00f0=class{constructor(_0x2a88cc,_0x5ef733,_0x5cdb11){const _0x49da2e=_0x39d8da;this[_0x49da2e(0x25e)]=_0x2a88cc,this['_transformService']=_0x5ef733,this['_docStateChangeManagerService']=_0x5cdb11;}[_0x39d8da(0x28a)](_0x234501){const _0x464947=_0x39d8da;this[_0x464947(0x235)](_0x234501);}['transformRemoteChangeset'](_0x2194d6){const _0x49aa07=_0x39d8da,{unitID:_0xdea7cd}=_0x2194d6,{collaboration:_0x260ccb}=this['_docStateChangeManagerService'][_0x49aa07(0x14b)](_0xdea7cd);if(_0x260ccb[_0x49aa07(0x12e)]===0x0)return _0x2194d6;let _0x5927d0=_0xbbfa4e[_0x49aa07(0x2d8)][_0x49aa07(0x23f)](_0x2194d6[_0x49aa07(0x10e)][0x0]);for(let _0x241ac6=0x0;_0x241ac6<_0x260ccb['length'];_0x241ac6++){const _0x3af072={'id':_0x49aa07(0x322),'params':{'unitId':_0x260ccb[_0x241ac6][_0x49aa07(0x35c)],..._0x260ccb[_0x241ac6][_0x49aa07(0x283)]}},_0x549594=this[_0x49aa07(0x2bf)]['transformMutation'](_0x5927d0,_0x3af072,!0x1);if(_0x26787e[_0x49aa07(0x354)](_0x549594))throw _0x549594['error'];_0x5927d0=_0x549594[_0x49aa07(0x315)];}return{..._0xbbfa4e[_0x49aa07(0x2d8)][_0x49aa07(0x23f)](_0x2194d6),'mutations':[_0x5927d0]};}[_0x39d8da(0x235)](_0x4c0006){const _0x35e977=_0x39d8da,{unitID:_0xd7aa35}=_0x4c0006,{history:_0x1985af,collaboration:_0x2fcfcd}=this[_0x35e977(0x1ee)][_0x35e977(0x14b)](_0xd7aa35);if(_0x1985af['length']===0x0&&_0x2fcfcd[_0x35e977(0x12e)]===0x0)return;const _0x50e17c=[],_0x21f0a6=[];let _0x37c1fe=_0xbbfa4e['Tools']['deepClone'](_0x4c0006[_0x35e977(0x10e)][0x0]),_0x442be4=_0xbbfa4e[_0x35e977(0x2d8)][_0x35e977(0x23f)](_0x4c0006[_0x35e977(0x10e)][0x0]);for(let _0x2225a6=_0x1985af[_0x35e977(0x12e)]-0x1;_0x2225a6>=0x0;_0x2225a6--){const _0x5f0b4b={'id':_0x35e977(0x322),'params':{'unitId':_0x1985af[_0x2225a6][_0x35e977(0x35c)],..._0x1985af[_0x2225a6][_0x35e977(0x101)]}},_0x54cdb8={'id':_0x35e977(0x322),'params':{'unitId':_0x1985af[_0x2225a6][_0x35e977(0x35c)],..._0x1985af[_0x2225a6][_0x35e977(0x283)]}},_0x4252ac=this[_0x35e977(0x2bf)]['transformMutation'](_0x37c1fe,_0x5f0b4b,!0x1),_0x352d15=this[_0x35e977(0x2bf)][_0x35e977(0x1c4)](_0x442be4,_0x54cdb8,!0x1);if(_0x26787e[_0x35e977(0x354)](_0x4252ac))throw _0x4252ac[_0x35e977(0x2b8)];if(_0x26787e[_0x35e977(0x354)](_0x352d15))throw _0x352d15[_0x35e977(0x2b8)];_0x50e17c[_0x35e977(0x328)]({..._0x1985af[_0x2225a6],'undoState':_0x4252ac[_0x35e977(0x2bb)]['params'],'redoState':_0x352d15['m2Prime']['params']}),_0x37c1fe=_0x4252ac['m1Prime'],_0x442be4=_0x352d15[_0x35e977(0x315)];}_0x37c1fe=_0xbbfa4e[_0x35e977(0x2d8)]['deepClone'](_0x4c0006[_0x35e977(0x10e)][0x0]),_0x442be4=_0xbbfa4e['Tools'][_0x35e977(0x23f)](_0x4c0006[_0x35e977(0x10e)][0x0]);for(let _0x371d4b=_0x2fcfcd[_0x35e977(0x12e)]-0x1;_0x371d4b>=0x0;_0x371d4b--){const _0x1d8a23={'id':_0x35e977(0x322),'params':{'unitId':_0x2fcfcd[_0x371d4b][_0x35e977(0x35c)],..._0x2fcfcd[_0x371d4b][_0x35e977(0x101)]}},_0x219da4={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2fcfcd[_0x371d4b][_0x35e977(0x35c)],..._0x2fcfcd[_0x371d4b][_0x35e977(0x283)]}},_0x452bb2=this[_0x35e977(0x2bf)]['transformMutation'](_0x37c1fe,_0x1d8a23,!0x1),_0x4313b7=this[_0x35e977(0x2bf)][_0x35e977(0x1c4)](_0x442be4,_0x219da4,!0x1);if(_0x26787e[_0x35e977(0x354)](_0x452bb2))throw _0x452bb2[_0x35e977(0x2b8)];if(_0x26787e[_0x35e977(0x354)](_0x4313b7))throw _0x4313b7['error'];_0x21f0a6[_0x35e977(0x328)]({..._0x2fcfcd[_0x371d4b],'undoState':_0x452bb2[_0x35e977(0x2bb)][_0x35e977(0x14a)],'redoState':_0x4313b7['m2Prime'][_0x35e977(0x14a)]}),_0x37c1fe=_0x452bb2[_0x35e977(0x315)],_0x442be4=_0x4313b7[_0x35e977(0x315)];}this[_0x35e977(0x1ee)][_0x35e977(0x26a)](_0xd7aa35,{'history':_0x50e17c,'collaboration':_0x21f0a6});}};_0x5d00f0=_0x5955fb([_0x58fbef(0x0,_0xbbfa4e['Inject'](_0xbbfa4e[_0x39d8da(0x279)])),_0x58fbef(0x1,_0x26787e[_0x39d8da(0x32a)]),_0x58fbef(0x2,_0xbbfa4e[_0x39d8da(0x3c1)](_0x6db174[_0x39d8da(0x369)]))],_0x5d00f0);var _0x5920e9=Object['getOwnPropertyDescriptor'],_0x22029f=(_0x36403f,_0x509237,_0x45831e,_0x2b4891)=>{const _0x2eab8a=_0x39d8da;for(var _0x39cfd8=_0x2b4891>0x1?void 0x0:_0x2b4891?_0x5920e9(_0x509237,_0x45831e):_0x509237,_0x222314=_0x36403f[_0x2eab8a(0x12e)]-0x1,_0x51e6b5;_0x222314>=0x0;_0x222314--)(_0x51e6b5=_0x36403f[_0x222314])&&(_0x39cfd8=_0x51e6b5(_0x39cfd8)||_0x39cfd8);return _0x39cfd8;},_0x9769ce=(_0x3ea9bc,_0x319d52)=>(_0x4670ee,_0x231015)=>_0x319d52(_0x4670ee,_0x231015,_0x3ea9bc);let _0x547065=class{constructor(_0x37d8cf,_0x12858f){const _0x5a1b1f=_0x39d8da;this[_0x5a1b1f(0x25e)]=_0x37d8cf,this[_0x5a1b1f(0x2bf)]=_0x12858f;}[_0x39d8da(0x1f6)](_0x246d5d){const _0x34c2d0=_0x39d8da;var _0x22e045;const _0x3f5dd3=this[_0x34c2d0(0x25e)]['get'](_0xc1eed[_0x34c2d0(0x312)]),_0x310bc9=(_0x22e045=_0x3f5dd3[_0x34c2d0(0x26b)]())!=null?_0x22e045:[];if(_0x310bc9[_0x34c2d0(0x12e)]===0x0)return;const _0x19744b=_0x246d5d[_0x34c2d0(0x33a)],_0x5a4f3b=[{'id':_0x34c2d0(0x322),'params':{'unitId':_0x19744b,'actions':null,'textRanges':_0x310bc9}}],_0x4ffdde=this[_0x34c2d0(0x2bf)]['transformMutationsWithChangeset'](_0x246d5d,_0x5a4f3b);if(!_0x26787e['isTransformMutationsWithChangesetSuccess'](_0x4ffdde))throw _0x4ffdde[_0x34c2d0(0x2b8)];const _0x9a3000=_0x4ffdde[_0x34c2d0(0x2bb)][0x0][_0x34c2d0(0x14a)][_0x34c2d0(0x35b)];Array['isArray'](_0x9a3000)&&_0x9a3000[_0x34c2d0(0x12e)]&&_0x3f5dd3[_0x34c2d0(0x2de)](_0x9a3000,{'unitId':_0x19744b,'subUnitId':_0x19744b},!0x1);}};_0x547065=_0x22029f([_0x9769ce(0x0,_0xbbfa4e[_0x39d8da(0x3c1)](_0xbbfa4e['Injector'])),_0x9769ce(0x1,_0x26787e['ITransformService'])],_0x547065);var _0x1750b4=Object[_0x39d8da(0x21a)],_0x142bb3=(_0x36020f,_0x53c747,_0x299598,_0x5bcd76)=>{const _0xbc5e12=_0x39d8da;for(var _0x1d6db3=_0x5bcd76>0x1?void 0x0:_0x5bcd76?_0x1750b4(_0x53c747,_0x299598):_0x53c747,_0x3ec8a8=_0x36020f[_0xbc5e12(0x12e)]-0x1,_0x2a0a43;_0x3ec8a8>=0x0;_0x3ec8a8--)(_0x2a0a43=_0x36020f[_0x3ec8a8])&&(_0x1d6db3=_0x2a0a43(_0x1d6db3)||_0x1d6db3);return _0x1d6db3;},_0x46262c=(_0x51183f,_0x535ac1)=>(_0x161175,_0x139d69)=>_0x535ac1(_0x161175,_0x139d69,_0x51183f);let _0x20d21d=class extends _0xbbfa4e[_0x39d8da(0x17b)]{constructor(_0x34f04c,_0x184179,_0x5bfdf8,_0x5c30d6,_0x5d7d86,_0x3fd95e,_0x23fef4,_0x2269a6){const _0x70e710=_0x39d8da;super(),_0x42c6f4(this,_0x70e710(0x17a),new _0x70cdda[(_0x70e710(0x148))](_0x1315a6[_0x70e710(0x2bc)][_0x70e710(0x333)])),(this['_docStateChangeManagerService']=_0x34f04c,this['_collaborationController']=_0x184179,this[_0x70e710(0x134)]=_0x5bfdf8,this['_docTransformStateCacheService']=_0x5c30d6,this[_0x70e710(0xf7)]=_0x5d7d86,this['_docSyncEditingCollabCursorService']=_0x3fd95e,this[_0x70e710(0x309)]=_0x23fef4,this['_localeService']=_0x2269a6,this[_0x70e710(0x10c)]());}[_0x39d8da(0x10c)](){const _0x339a53=_0x39d8da;this[_0x339a53(0x26d)](this['_collaborationController'][_0x339a53(0x3b8)][_0x339a53(0x20c)](_0x392df4=>{const _0x21cf1a=_0x339a53,_0x3559b3=this['_docStateChangeManagerService'][_0x21cf1a(0x105)][_0x21cf1a(0x20c)](_0x565381=>{const _0x52fedc=_0x21cf1a;if(_0x565381==null)return;const {unitId:_0x5b2d07,redoState:_0x35b9cb,commandId:_0x1f1999}=_0x565381;if(_0x5b2d07!==_0x392df4['unitID'])return;const _0x56c966={'id':_0x1f1999,'type':_0xbbfa4e['CommandType'][_0x52fedc(0x24e)],'params':{'unitId':_0x5b2d07,'actions':_0x35b9cb[_0x52fedc(0x182)],'textRanges':null}};_0x392df4[_0x52fedc(0x21d)](_0x56c966);});if(_0x392df4['disposeWithMe'](_0x3559b3),_0x392df4 instanceof _0x1315a6[_0x21cf1a(0x36b)]){const _0x59e55f={'onTransformIME':_0x3d36c6=>this['_docTransformIMECacheService']['transformIMECache'](_0x3d36c6),'onTransformState':_0x581b29=>this['_docTransformStateCacheService']['transformStateCache'](_0x581b29),'onTransformSelections':_0x47fe81=>this[_0x21cf1a(0xf7)]['transformSelections'](_0x47fe81),'onSyncEditingCollabCursor':_0x4c1ee7=>this[_0x21cf1a(0x3ba)][_0x21cf1a(0x263)](_0x4c1ee7),'onTransformRemoteChangesetByIMECache':_0x43e014=>this[_0x21cf1a(0x134)][_0x21cf1a(0x220)](_0x43e014),'onTransformRemoteChangesetByStateCache':_0x3d45d4=>this[_0x21cf1a(0x21f)][_0x21cf1a(0x220)](_0x3d45d4)};_0x392df4[_0x21cf1a(0x200)](_0x59e55f);}}));}};_0x20d21d=_0x142bb3([_0x46262c(0x0,_0xbbfa4e[_0x39d8da(0x3c1)](_0x6db174[_0x39d8da(0x369)])),_0x46262c(0x1,_0xbbfa4e['Inject'](_0x1315a6[_0x39d8da(0x2ba)])),_0x46262c(0x2,_0xbbfa4e['Inject'](_0x2cd16b)),_0x46262c(0x3,_0xbbfa4e['Inject'](_0x5d00f0)),_0x46262c(0x4,_0xbbfa4e['Inject'](_0x547065)),_0x46262c(0x5,_0xbbfa4e[_0x39d8da(0x3c1)](_0x41ca9e)),_0x46262c(0x6,_0x46f378[_0x39d8da(0x1c8)]),_0x46262c(0x7,_0xbbfa4e[_0x39d8da(0x3c1)](_0xbbfa4e[_0x39d8da(0x16c)]))],_0x20d21d);var _0x100659=(_0x5d9c6d=>(_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x1a1)]=0x0]=_0x39d8da(0x1a1),_0x5d9c6d[_0x5d9c6d['OK']=0x1]='OK',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x1bd)]=0x2]='INTERNAL_ERROR',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x1fe)]=0x3]=_0x39d8da(0x1fe),_0x5d9c6d[_0x5d9c6d['NOT_FOUND']=0x4]=_0x39d8da(0xf2),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x392)]=0x5]='UNAUTHENTICATED',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x2ef)]=0x6]=_0x39d8da(0x2ef),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x264)]=0x7]=_0x39d8da(0x264),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x133)]=0x8]=_0x39d8da(0x133),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x3ad)]=0x9]=_0x39d8da(0x3ad),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x228)]=0xa]='LOGIN_FAILED',_0x5d9c6d[_0x5d9c6d['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5d9c6d[_0x5d9c6d['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x39d8da(0x393),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x1e4)]=0xd]=_0x39d8da(0x1e4),_0x5d9c6d[_0x5d9c6d['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x39d8da(0x268),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x399)]=0xf]=_0x39d8da(0x399),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x36a)]=0x10]=_0x39d8da(0x36a),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x2d0)]=0x64]=_0x39d8da(0x2d0),_0x5d9c6d[_0x5d9c6d['ERROR_AGAIN']=0x65]=_0x39d8da(0x275),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x361)]=0xc9]='USER_NOT_FOUND',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x193)]=0xca]='USER_IS_ANONYMOUS',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x3b9)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5d9c6d[_0x5d9c6d['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x39d8da(0x325),_0x5d9c6d[_0x5d9c6d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x39d8da(0x1d1),_0x5d9c6d[_0x5d9c6d['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x39d8da(0x149),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x166)]=0x1b59]=_0x39d8da(0x166),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x16e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x1ab)]=0x1b5b]=_0x39d8da(0x1ab),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x221)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x3aa)]=0x1b5d]=_0x39d8da(0x3aa),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x2a8)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5d9c6d[_0x5d9c6d['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x39d8da(0x15c),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x229)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5d9c6d[_0x5d9c6d['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x171)]=0x232c]=_0x39d8da(0x171),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x215)]=0x232d]=_0x39d8da(0x215),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x3c3)]=0x2711]=_0x39d8da(0x3c3),_0x5d9c6d[_0x5d9c6d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x39d8da(0x1e8),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x261)]=0x2713]=_0x39d8da(0x261),_0x5d9c6d[_0x5d9c6d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x231)]=0x271a]=_0x39d8da(0x231),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x2ab)]=0x271b]=_0x39d8da(0x2ab),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x30d)]=0x271c]=_0x39d8da(0x30d),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x18f)]=0x271d]=_0x39d8da(0x18f),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x385)]=0x271e]=_0x39d8da(0x385),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x27b)]=0x271f]=_0x39d8da(0x27b),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x114)]=0x2720]=_0x39d8da(0x114),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x317)]=0x2af9]=_0x39d8da(0x317),_0x5d9c6d[_0x5d9c6d['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x39d8da(0x187),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x246)]=0x2ee2]=_0x39d8da(0x246),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x33b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x125)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x302)]=0x2ee5]=_0x39d8da(0x302),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x2e9)]=0x32c9]=_0x39d8da(0x2e9),_0x5d9c6d[_0x5d9c6d['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x39d8da(0x144),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x18c)]=0x32cb]=_0x39d8da(0x18c),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x39f)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x1b3)]=0x36b2]=_0x39d8da(0x1b3),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0xf5)]=0x36b3]=_0x39d8da(0xf5),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x2df)]=0x36b4]=_0x39d8da(0x2df),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0xfd)]=0x3715]=_0x39d8da(0xfd),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x24a)]=0x3716]=_0x39d8da(0x24a),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x2c3)]=0x3717]=_0x39d8da(0x2c3),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x1a7)]=0x37dd]=_0x39d8da(0x1a7),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x1c3)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x2f5)]=0x3a9a]=_0x39d8da(0x2f5),_0x5d9c6d[_0x5d9c6d['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x39d8da(0x230),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x3b2)]=0x3a9c]=_0x39d8da(0x3b2),_0x5d9c6d[_0x5d9c6d['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x104)]=0x3a9e]=_0x39d8da(0x104),_0x5d9c6d[_0x5d9c6d['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x39d8da(0x12d),_0x5d9c6d[_0x5d9c6d[_0x39d8da(0x173)]=0x3e81]=_0x39d8da(0x173),_0x5d9c6d[_0x5d9c6d['UNRECOGNIZED']=-0x1]=_0x39d8da(0x224),_0x5d9c6d))(_0x100659||{});function _0x294c89(_0x435a6d){const _0x289a41=_0x39d8da;var _0x1b49f2,_0x2d1d0d;const _0x29d1a0=(_0x1b49f2=_0x435a6d['stageInfo'])==null?void 0x0:_0x1b49f2[_0x289a41(0x2e4)],_0x2b71cc=((_0x2d1d0d=_0x435a6d['stageInfo'])==null?void 0x0:_0x2d1d0d[_0x289a41(0x33c)])||0x0;return _0x29d1a0===_0x4c310a['FormulaExecuteStageType'][_0x289a41(0x165)]&&_0x2b71cc>0x0;}function _0x561534(_0x549153){const _0x53e9b0=_0x39d8da;return _0x549153[_0x53e9b0(0x352)]===_0x4c310a['FormulaExecutedStateType'][_0x53e9b0(0x2e5)];}var _0x1686fb=Object['getOwnPropertyDescriptor'],_0x4a45c5=(_0x2c7721,_0x57a8d0,_0x3db05a,_0x13d5a7)=>{const _0x553ec4=_0x39d8da;for(var _0x1d50e6=_0x13d5a7>0x1?void 0x0:_0x13d5a7?_0x1686fb(_0x57a8d0,_0x3db05a):_0x57a8d0,_0x22195e=_0x2c7721[_0x553ec4(0x12e)]-0x1,_0x597d4b;_0x22195e>=0x0;_0x22195e--)(_0x597d4b=_0x2c7721[_0x22195e])&&(_0x1d50e6=_0x597d4b(_0x1d50e6)||_0x1d50e6);return _0x1d50e6;},_0x4bfa3c=(_0x10a6bf,_0x3b8957)=>(_0x4e63f6,_0x30f187)=>_0x3b8957(_0x4e63f6,_0x30f187,_0x10a6bf);const _0x1955d1=_0x39d8da(0x132),_0x4b7002=_0x39d8da(0x1f8),_0x38becb=_0x39d8da(0x2e7);let _0x38326c=class extends _0xbbfa4e[_0x39d8da(0x17b)]{constructor(_0x5386bc,_0x3b02f0,_0x23e327,_0x5c144e,_0x5abef6,_0x455722,_0x4dedbf){const _0x505184=_0x39d8da;super(),_0x42c6f4(this,_0x505184(0x218),null),_0x42c6f4(this,'_maxFormulaLimit',0x0),_0x42c6f4(this,_0x505184(0x3bf),0x0),_0x42c6f4(this,_0x505184(0x396),[]),_0x42c6f4(this,_0x505184(0x126),0x0),(this['_messageService']=_0x5386bc,this['_commandService']=_0x3b02f0,this[_0x505184(0x19e)]=_0x23e327,this[_0x505184(0x19f)]=_0x5c144e,this[_0x505184(0x1b0)]=_0x5abef6,this[_0x505184(0x2a7)]=_0x455722,this[_0x505184(0x378)]=_0x4dedbf,this[_0x505184(0x1e7)]());}[_0x39d8da(0x1e7)](){const _0x1938b4=_0x39d8da;this['disposeWithMe'](this[_0x1938b4(0x1bc)][_0x1938b4(0x332)]((_0x5539d6,_0x50c880)=>{const _0x1d6053=_0x1938b4;var _0x34e483;if(_0x5539d6['id']!==_0x4c310a[_0x1d6053(0x1c7)]['id'])return;const _0x561971=_0x5539d6[_0x1d6053(0x14a)];if(!this[_0x1d6053(0x291)]((_0x34e483=_0x561971[_0x1d6053(0x194)])!=null?_0x34e483:[]))return;if(!this[_0x1d6053(0x16d)]())throw this['_checkAndWaitForCalculationPermission'](_0x5539d6,_0x50c880),this[_0x1d6053(0x379)](),new _0xbbfa4e['CanceledError']();})),this[_0x1938b4(0x26d)](this[_0x1938b4(0x1bc)]['onCommandExecuted']((_0x447a3e,_0x5dd349)=>{const _0x59b261=_0x1938b4;if(_0x447a3e['id']!==_0x4c310a[_0x59b261(0x135)]['id'])return;const _0x34b2fb=_0x447a3e['params'];if(_0x294c89(_0x34b2fb)){const _0x52bb23=_0xbbfa4e[_0x59b261(0x1f1)]();this[_0x59b261(0x396)][_0x59b261(0x30b)](_0x52bb23),this[_0x59b261(0x346)](_0x52bb23);}else{if(_0x561534(_0x34b2fb)&&this[_0x59b261(0x396)][_0x59b261(0x12e)]>0x0){const _0x4441d6=this['_taskIds']['shift']();this[_0x59b261(0x33e)](_0x4441d6);}}}));}['dispose'](){const _0x109862=_0x39d8da;super[_0x109862(0x1c6)](),this[_0x109862(0x2ee)](),this['_taskIds']=[],this[_0x109862(0x3bf)]=0x0,this[_0x109862(0x33d)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x51d3fa,_0x19c507){const _0x1a336a=_0x39d8da;for(let _0x2d49f1=0x0;_0x2d49f1<0x1e;_0x2d49f1++)try{if(await this[_0x1a336a(0x30e)](),this[_0x1a336a(0x16d)]()){this[_0x1a336a(0x2b9)](_0x51d3fa,_0x19c507),this['_messageService']['show']({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x32125a[_0x1a336a(0x14f)][_0x1a336a(0x188)]});return;}await new Promise(_0x2b3465=>{const _0x5684b2=_0x1a336a;this[_0x5684b2(0x218)]=window[_0x5684b2(0x154)](_0x2b3465,0x3e8);});}catch(_0x4b437b){this[_0x1a336a(0x2a7)][_0x1a336a(0x2b8)](_0x4b437b);}this[_0x1a336a(0x309)][_0x1a336a(0x3af)]({'content':this[_0x1a336a(0x378)]['t']('formula.calculation.unable'),'type':_0x32125a[_0x1a336a(0x14f)][_0x1a336a(0x2dd)]});}[_0x39d8da(0x2b9)](_0xb39356,_0x3ac328){const _0x391f4c=_0x39d8da;try{this[_0x391f4c(0x1bc)][_0x391f4c(0x1d3)](_0xb39356['id'],_0xb39356['params'],_0x3ac328);}catch(_0x22ab39){this[_0x391f4c(0x2a7)][_0x391f4c(0x2b8)](_0x22ab39);}}[_0x39d8da(0x387)](_0x3ae763,_0x212726){const _0xab6d8c=_0x39d8da;_0x212726<this[_0xab6d8c(0x126)]||(this['_lastResponseTimestamp']=_0x212726,this[_0xab6d8c(0x33d)]=Number[_0xab6d8c(0x185)](_0x3ae763['maxFormulaLimit']),this['_currentUsage']=Number['parseInt'](_0x3ae763[_0xab6d8c(0x2a9)]));}async[_0x39d8da(0x346)](_0x2402cd){const _0x48a0e0=_0x39d8da;var _0x2d69ad,_0x283803;const _0x245424=Date['now']();try{const _0x31fde6=((_0x2d69ad=this['_configService']['getConfig'](_0x1315a6[_0x48a0e0(0x2fe)]))==null?void 0x0:_0x2d69ad['startFormulaLimitUrl'])||_0x4b7002,_0x59b9b4=(await this[_0x48a0e0(0x19f)]['post'](_0x31fde6,{'body':JSON[_0x48a0e0(0x356)]({'taskId':_0x2402cd})}))[_0x48a0e0(0x18a)];if(((_0x283803=_0x59b9b4[_0x48a0e0(0x2b8)])==null?void 0x0:_0x283803[_0x48a0e0(0x298)])!==_0x100659['OK'])return;this[_0x48a0e0(0x387)](_0x59b9b4[_0x48a0e0(0x36d)],_0x245424);}catch(_0x24e5fa){this['_logService'][_0x48a0e0(0x2b8)](_0x24e5fa);}}async['_getFormulaLimitStatus'](_0x2e363d){const _0xf14dca=_0x39d8da;var _0x16da2f,_0x18850d;const _0x41ea5c=Date[_0xf14dca(0x181)]();try{const _0x1c84da=((_0x16da2f=this[_0xf14dca(0x19e)]['getConfig'](_0x1315a6['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x16da2f[_0xf14dca(0x23c)])||_0x1955d1,_0x2f123a=_0x2e363d?_0x1c84da+_0xf14dca(0x32f)+encodeURIComponent(_0x2e363d):_0x1c84da,_0x22da49=(await this[_0xf14dca(0x19f)]['get'](_0x2f123a))[_0xf14dca(0x18a)];if(((_0x18850d=_0x22da49[_0xf14dca(0x2b8)])==null?void 0x0:_0x18850d[_0xf14dca(0x298)])!==_0x100659['OK'])return;this[_0xf14dca(0x387)](_0x22da49['limitInfo'],_0x41ea5c);}catch(_0x4a7c7e){this[_0xf14dca(0x2a7)]['error'](_0x4a7c7e);}}async[_0x39d8da(0x33e)](_0x571e76){const _0x5cc341=_0x39d8da;var _0x19e283,_0x37c8c7;const _0x11cb0f=Date[_0x5cc341(0x181)]();try{const _0x4e02e0=((_0x19e283=this[_0x5cc341(0x19e)][_0x5cc341(0x1aa)](_0x1315a6[_0x5cc341(0x2fe)]))==null?void 0x0:_0x19e283[_0x5cc341(0x11e)])||_0x38becb,_0x25582d=(await this[_0x5cc341(0x19f)][_0x5cc341(0x2b2)](_0x4e02e0,{'body':JSON[_0x5cc341(0x356)]({'taskId':_0x571e76})}))['body'];if(((_0x37c8c7=_0x25582d[_0x5cc341(0x2b8)])==null?void 0x0:_0x37c8c7[_0x5cc341(0x298)])!==_0x100659['OK'])return;this[_0x5cc341(0x387)](_0x25582d[_0x5cc341(0x36d)],_0x11cb0f);}catch(_0x1ba031){this[_0x5cc341(0x2a7)][_0x5cc341(0x2b8)](_0x1ba031);}}[_0x39d8da(0x16d)](){const _0x1adeae=_0x39d8da;return this[_0x1adeae(0x33d)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x1adeae(0x3bf)]>0x0;}[_0x39d8da(0x2ee)](){const _0x5c74c6=_0x39d8da;this[_0x5c74c6(0x218)]&&(clearTimeout(this[_0x5c74c6(0x218)]),this[_0x5c74c6(0x218)]=null);}[_0x39d8da(0x379)](){const _0x5d6051=_0x39d8da;this[_0x5d6051(0x309)]['show']({'content':this[_0x5d6051(0x378)]['t'](_0x5d6051(0x359)),'type':_0x32125a[_0x5d6051(0x14f)]['Loading']});}[_0x39d8da(0x291)](_0x267be6){const _0x5f1c7c=_0x39d8da;for(const _0x51f04e of _0x267be6){const {unitId:_0x1f309a,sheetId:_0x33940b,range:_0x4cd046}=_0x51f04e,_0xa7a6d3=this[_0x5f1c7c(0x1b0)][_0x5f1c7c(0x15d)](_0x1f309a);if(!_0xa7a6d3)continue;const _0x3c94b5=_0xa7a6d3[_0x5f1c7c(0x39c)](_0x33940b);if(!_0x3c94b5)continue;const _0x71040f=_0x3c94b5[_0x5f1c7c(0x254)]();for(let _0x413b85=_0x4cd046['startRow'];_0x413b85<=_0x4cd046[_0x5f1c7c(0x19c)];_0x413b85++)for(let _0x170347=_0x4cd046[_0x5f1c7c(0x1a9)];_0x170347<=_0x4cd046[_0x5f1c7c(0x290)];_0x170347++){const _0x54a976=_0x71040f[_0x5f1c7c(0x2aa)](_0x413b85,_0x170347);if(_0x54a976&&(_0xbbfa4e[_0x5f1c7c(0x349)](_0x54a976['f'])||_0xbbfa4e['isFormulaId'](_0x54a976['si'])))return!0x0;}}return!0x1;}};_0x38326c=_0x4a45c5([_0x4bfa3c(0x0,_0xbbfa4e[_0x39d8da(0x3c1)](_0x46f378[_0x39d8da(0x1c8)])),_0x4bfa3c(0x1,_0xbbfa4e[_0x39d8da(0x2b4)]),_0x4bfa3c(0x2,_0xbbfa4e[_0x39d8da(0x348)]),_0x4bfa3c(0x3,_0xbbfa4e['Inject'](_0x97233e[_0x39d8da(0x3bc)])),_0x4bfa3c(0x4,_0xbbfa4e[_0x39d8da(0x3a0)]),_0x4bfa3c(0x5,_0xbbfa4e['ILogService']),_0x4bfa3c(0x6,_0xbbfa4e[_0x39d8da(0x3c1)](_0xbbfa4e[_0x39d8da(0x16c)]))],_0x38326c);var _0x1feb3e=Object[_0x39d8da(0x21a)],_0x8e904=(_0x28f382,_0x21404a,_0x20d233,_0x16650b)=>{const _0x2953fa=_0x39d8da;for(var _0x892eae=_0x16650b>0x1?void 0x0:_0x16650b?_0x1feb3e(_0x21404a,_0x20d233):_0x21404a,_0x3b903c=_0x28f382[_0x2953fa(0x12e)]-0x1,_0x5e8b19;_0x3b903c>=0x0;_0x3b903c--)(_0x5e8b19=_0x28f382[_0x3b903c])&&(_0x892eae=_0x5e8b19(_0x892eae)||_0x892eae);return _0x892eae;},_0x450dee=(_0xae17f5,_0x5b7bc9)=>(_0x4aab58,_0x3fea7d)=>_0x5b7bc9(_0x4aab58,_0x3fea7d,_0xae17f5);let _0x146c04=class extends _0xbbfa4e['Disposable']{constructor(_0x173038,_0x2701d8,_0x50bfe1){const _0xf20768=_0x39d8da;super(),_0x42c6f4(this,_0xf20768(0x214),new Map()),_0x42c6f4(this,_0xf20768(0x1ba),new Map()),_0x42c6f4(this,_0xf20768(0x11f),!0x1),(this[_0xf20768(0x19e)]=_0x173038,this[_0xf20768(0x39e)]=_0x2701d8,this['_revisionService']=_0x50bfe1);}[_0x39d8da(0x331)](){const _0x4f4407=_0x39d8da;this[_0x4f4407(0x11f)]=!0x0;}[_0x39d8da(0x22e)](){const _0x45db7e=_0x39d8da;this[_0x45db7e(0x11f)]=!0x1;}get[_0x39d8da(0x35e)](){const _0x414763=_0x39d8da;return this[_0x414763(0x1ba)];}[_0x39d8da(0x1c6)](){const _0x59fd23=_0x39d8da;this['exhaustSavingTask']()[_0x59fd23(0x2eb)](()=>super['dispose']());}async['loadOfflineData'](_0x330dd2){const _0x43a297=_0x39d8da;return this[_0x43a297(0x11f)]?null:this[_0x43a297(0x39e)][_0x43a297(0x179)](_0x1315a6[_0x43a297(0x18e)](_0x330dd2));}async[_0x39d8da(0x169)](_0x38f036,_0x25bb9e){const _0x38f6c5=_0x39d8da;return!!this[_0x38f6c5(0x39e)][_0x38f6c5(0x1cf)](_0x38f036,_0x25bb9e);}[_0x39d8da(0x1f0)](_0x3801af,_0x3f1b61,_0xf09021,_0x5ba417){const _0xe46651=_0x39d8da,_0x3b2f8f=this[_0xe46651(0x35a)][_0xe46651(0x266)](_0x3801af);this[_0xe46651(0x214)][_0xe46651(0x151)](_0x3801af,{'unitID':_0x3801af,'type':_0x3f1b61,'awaitingChangeset':_0xf09021,'mutations':_0x5ba417,'rev':_0x3b2f8f}),this[_0xe46651(0x1ba)][_0xe46651(0x342)](_0x3801af)||this[_0xe46651(0x28f)](_0x3801af);}[_0x39d8da(0x28f)](_0x3c4c06){const _0xf50830=_0x39d8da,_0x3a2e0f=this[_0xf50830(0x353)]();_0x3a2e0f===0x0?this[_0xf50830(0x2e2)](_0x3c4c06):this[_0xf50830(0x1ba)][_0xf50830(0x151)](_0x3c4c06,setTimeout(()=>this['_saveCache'](_0x3c4c06),_0x3a2e0f));}['_getSaveTimeout'](){const _0x4b21cc=_0x39d8da;var _0x291f24;return(_0x291f24=this[_0x4b21cc(0x19e)][_0x4b21cc(0x1aa)](_0x1315a6[_0x4b21cc(0x297)]))!=null?_0x291f24:_0x1315a6['LOCAL_CACHE_INTERVAL'];}[_0x39d8da(0x2e2)](_0xf697f7){const _0x5dccd2=_0x39d8da,_0x2d1a85=this[_0x5dccd2(0x1ba)][_0x5dccd2(0x376)](_0xf697f7);return _0x2d1a85!==void 0x0&&window[_0x5dccd2(0x232)](_0x2d1a85),this[_0x5dccd2(0x39e)]['setItem'](_0x1315a6[_0x5dccd2(0x18e)](_0xf697f7),this['_cachedData'][_0x5dccd2(0x376)](_0xf697f7))[_0x5dccd2(0x2eb)](()=>this[_0x5dccd2(0x1ba)]['delete'](_0xf697f7));}async[_0x39d8da(0x36f)](){const _0x585bfe=_0x39d8da,_0x363a2d=[];this[_0x585bfe(0x1ba)][_0x585bfe(0x2fb)]((_0x15fd52,_0x28a0f6)=>{const _0x5edf27=_0x585bfe;window[_0x5edf27(0x232)](_0x15fd52),_0x363a2d[_0x5edf27(0x30b)](this[_0x5edf27(0x2e2)](_0x28a0f6)[_0x5edf27(0x2eb)](()=>{const _0x5a26b7=_0x5edf27;this[_0x5a26b7(0x1ba)][_0x5a26b7(0x274)](_0x28a0f6);}));}),await Promise['all'](_0x363a2d);}};_0x146c04=_0x8e904([_0x450dee(0x0,_0xbbfa4e[_0x39d8da(0x348)]),_0x450dee(0x1,_0xbbfa4e['ILocalStorageService']),_0x450dee(0x2,_0xbbfa4e[_0x39d8da(0x3c1)](_0x26787e[_0x39d8da(0x2f8)]))],_0x146c04);class _0x23ef76 extends _0xbbfa4e[_0x39d8da(0x22f)]{constructor(){const _0xba3de=_0x39d8da;super(),_0x42c6f4(this,'urlChange$'),this[_0xba3de(0x3a6)]=_0x70cdda[_0xba3de(0x103)](window,_0xba3de(0x273))['pipe'](_0x70cdda['takeUntil'](this[_0xba3de(0x25b)]),_0x70cdda['shareReplay'](0x1),_0x70cdda[_0xba3de(0x272)](void 0x0));}[_0x39d8da(0x180)](_0x406247,_0x347ed3,_0x5775db=!0x1){const _0x3d639b=_0x39d8da,_0x48380a=new URL(window[_0x3d639b(0x37d)][_0x3d639b(0x1ed)]);_0x48380a['searchParams']['set'](_0x406247,_0x347ed3),_0x5775db?window[_0x3d639b(0x242)][_0x3d639b(0x162)]('','',_0x48380a['toString']()):window[_0x3d639b(0x242)][_0x3d639b(0x2c7)]('','',_0x48380a['toString']());}[_0x39d8da(0x383)](_0x4eb1c9,_0x3a7119=!0x1){const _0xc26af4=_0x39d8da,_0xd95834=new URL(window[_0xc26af4(0x37d)][_0xc26af4(0x1ed)]);_0xd95834[_0xc26af4(0x20b)][_0xc26af4(0x274)](_0x4eb1c9),_0x3a7119?window[_0xc26af4(0x242)][_0xc26af4(0x162)]('','',_0xd95834[_0xc26af4(0x253)]()):window[_0xc26af4(0x242)]['pushState']('','',_0xd95834[_0xc26af4(0x253)]());}[_0x39d8da(0x3a5)](_0x22bbc8){const _0x3ccff5=_0x39d8da;var _0x5e186e;return(_0x5e186e=new URL(window['location'][_0x3ccff5(0x1ed)])['searchParams'][_0x3ccff5(0x376)](_0x22bbc8))!=null?_0x5e186e:void 0x0;}}var _0x44165d=Object['defineProperty'],_0x1b9f2a=Object[_0x39d8da(0x21a)],_0x14d93f=(_0x19d156,_0x1e02ba,_0xa57e07)=>_0x1e02ba in _0x19d156?_0x44165d(_0x19d156,_0x1e02ba,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa57e07}):_0x19d156[_0x1e02ba]=_0xa57e07,_0x6a6c1c=(_0x904025,_0x34f1e2,_0x2abcb2,_0xf9594b)=>{const _0x1bc35c=_0x39d8da;for(var _0x11f3f1=_0xf9594b>0x1?void 0x0:_0xf9594b?_0x1b9f2a(_0x34f1e2,_0x2abcb2):_0x34f1e2,_0x31af21=_0x904025[_0x1bc35c(0x12e)]-0x1,_0x396c66;_0x31af21>=0x0;_0x31af21--)(_0x396c66=_0x904025[_0x31af21])&&(_0x11f3f1=_0x396c66(_0x11f3f1)||_0x11f3f1);return _0x11f3f1;},_0x1f5cbc=(_0x2830d8,_0x125520)=>(_0x1c9f5e,_0x12214d)=>_0x125520(_0x1c9f5e,_0x12214d,_0x2830d8),_0x135018=(_0x37f795,_0x2f4436,_0x5902bf)=>_0x14d93f(_0x37f795,_0x2f4436+'',_0x5902bf);const _0x327d61=_0x39d8da(0x32c);_0x51a21f[_0x39d8da(0x34b)]=class extends _0xbbfa4e[_0x39d8da(0x1d0)]{constructor(_0x31c8f8=_0x1894e3,_0x42068b,_0x1fdf5f,_0xa809ed){const _0x165bec=_0x39d8da;super(),this['_config']=_0x31c8f8,this[_0x165bec(0x2b5)]=_0x42068b,this[_0x165bec(0x25e)]=_0x1fdf5f,this['_configService']=_0xa809ed;const {..._0x135085}=_0xbbfa4e[_0x165bec(0x2e0)]({},_0x1894e3,this[_0x165bec(0x1c9)]);this[_0x165bec(0x19e)]['setConfig'](_0x5a6978,_0x135085);}[_0x39d8da(0x212)](){const _0xfaaeb6=_0x39d8da;this[_0xfaaeb6(0x340)](),this[_0xfaaeb6(0x189)]();}[_0x39d8da(0x107)](){const _0x12e4dc=_0x39d8da;this[_0x12e4dc(0x217)]();}['_registerDependencies'](){const _0x30edfe=_0x39d8da;var _0x150721;const _0x2a97a1=[[_0x418481],[_0x38326c],[_0x547065],[_0x2cd16b],[_0x5d00f0],[_0x41ca9e],[_0x1bdc04,{'useClass':_0x23ef76}],[_0x97233e[_0x30edfe(0x3b5)],{'useClass':_0x97233e[_0x30edfe(0x178)]}],[_0x1315a6[_0x30edfe(0x102)],{'useClass':_0x146c04}],[_0x51a21f[_0x30edfe(0xfa)]],[_0x20d21d],[_0x5129a7],[_0x26adca],[_0xaa1946],[_0x51a21f['CollaborationDataLoaderController']]];_0xbbfa4e[_0x30edfe(0x13b)](this[_0x30edfe(0x25e)],_0xbbfa4e[_0x30edfe(0x2c6)](_0x2a97a1,(_0x150721=this[_0x30edfe(0x1c9)])==null?void 0x0:_0x150721[_0x30edfe(0x24b)]));}['_registerRenderDependencies'](){const _0x43d700=_0x39d8da;this[_0x43d700(0x26d)](this['_renderManagerService'][_0x43d700(0x36c)](_0xbbfa4e['UniverInstanceType']['UNIVER_DOC'],[_0x133b87])),this[_0x43d700(0x26d)](this[_0x43d700(0x2b5)]['registerRenderModule'](_0xbbfa4e[_0x43d700(0x10d)]['UNIVER_SHEET'],[_0x42c262]));}[_0x39d8da(0x189)](){const _0x5e0e38=_0x39d8da;_0xbbfa4e[_0x5e0e38(0x1fd)](this['_injector'],[[_0x26adca],[_0x51a21f[_0x5e0e38(0xfa)]],[_0x20d21d],[_0x5129a7],[_0x51a21f[_0x5e0e38(0xfb)]],[_0x38326c]]);}},_0x135018(_0x51a21f[_0x39d8da(0x34b)],_0x39d8da(0x38f),_0x327d61),_0x51a21f['UniverCollaborationClientUIPlugin']=_0x6a6c1c([_0xbbfa4e[_0x39d8da(0x288)](_0x1315a6['UniverCollaborationClientPlugin']),_0x1f5cbc(0x1,_0x21f932[_0x39d8da(0x280)]),_0x1f5cbc(0x2,_0xbbfa4e[_0x39d8da(0x3c1)](_0xbbfa4e[_0x39d8da(0x279)])),_0x1f5cbc(0x3,_0xbbfa4e[_0x39d8da(0x348)])],_0x51a21f[_0x39d8da(0x34b)]);var _0x294ef2=Object[_0x39d8da(0x21a)],_0x4c28c0=(_0x4fab1b,_0x13562c,_0x284497,_0x21734d)=>{for(var _0x5936fe=_0x21734d>0x1?void 0x0:_0x21734d?_0x294ef2(_0x13562c,_0x284497):_0x13562c,_0x15191f=_0x4fab1b['length']-0x1,_0x4e8bd0;_0x15191f>=0x0;_0x15191f--)(_0x4e8bd0=_0x4fab1b[_0x15191f])&&(_0x5936fe=_0x4e8bd0(_0x5936fe)||_0x5936fe);return _0x5936fe;},_0x4be4c7=(_0xd8ad55,_0x72db34)=>(_0x579ac5,_0x46a2e9)=>_0x72db34(_0x579ac5,_0x46a2e9,_0xd8ad55);_0x51a21f[_0x39d8da(0x16f)]=class extends _0x1315a6[_0x39d8da(0x158)]{constructor(_0x528354,_0x517132,_0x3ef370,_0x54172a,_0x31554e){super(_0x528354,_0x517132,_0x3ef370,_0x54172a,_0x31554e);}async[_0x39d8da(0x37b)](_0x37111a){const _0x44ec00=_0x39d8da,_0x48827f=await this[_0x44ec00(0x355)](),_0x46e1bb=this[_0x44ec00(0x100)](_0x37111a,_0x48827f);return this[_0x44ec00(0x3b1)](_0x46e1bb);}[_0x39d8da(0x100)](_0x24f9d3,_0x137826){const _0x577ef9=_0x39d8da,_0x5ae5df=typeof window>'u'?new URL(_0x24f9d3):new URL(_0x24f9d3,window[_0x577ef9(0x37d)][_0x577ef9(0x108)]);_0x5ae5df[_0x577ef9(0x20b)][_0x577ef9(0x151)](_0x577ef9(0x360),_0x137826);const _0x585ac1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x577ef9(0x37d)][_0x577ef9(0x3a9)]);return _0x585ac1['get'](_0x577ef9(0x304))&&_0x5ae5df[_0x577ef9(0x20b)][_0x577ef9(0x151)](_0x577ef9(0x304),_0x585ac1[_0x577ef9(0x376)](_0x577ef9(0x304))),_0x5ae5df[_0x577ef9(0x253)]();}async[_0x39d8da(0x355)](){const _0x5bdc40=_0x39d8da;var _0x9d731,_0x234979,_0x2b46fa;const _0x5a9329=this[_0x5bdc40(0x19e)][_0x5bdc40(0x1aa)](_0x1315a6[_0x5bdc40(0x2fe)]),_0x3783e3=(_0x9d731=_0x5a9329==null?void 0x0:_0x5a9329[_0x5bdc40(0x191)])!=null?_0x9d731:_0x1315a6['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x2b46fa=(_0x234979=(await this[_0x5bdc40(0x19f)][_0x5bdc40(0x376)](_0x3783e3,{'headers':{'Content-Type':_0x5bdc40(0x303)}}))['body'])==null?void 0x0:_0x234979[_0x5bdc40(0x29a)])!=null?_0x2b46fa:'';}},_0x51a21f[_0x39d8da(0x16f)]=_0x4c28c0([_0x4be4c7(0x0,_0xbbfa4e[_0x39d8da(0x3c1)](_0xbbfa4e[_0x39d8da(0x279)])),_0x4be4c7(0x1,_0xbbfa4e[_0x39d8da(0x3c1)](_0x97233e['HTTPService'])),_0x4be4c7(0x2,_0xbbfa4e['IConfigService']),_0x4be4c7(0x3,_0xbbfa4e[_0x39d8da(0x186)]),_0x4be4c7(0x4,_0x26787e[_0x39d8da(0x1e2)])],_0x51a21f['BrowserCollaborationSocketService']);var _0x9ba9eb=Object['getOwnPropertyDescriptor'],_0x5950ad=(_0x4b8866,_0x3a1443,_0x2874c3,_0x2e28fb)=>{const _0x20fa43=_0x39d8da;for(var _0x1f5f5b=_0x2e28fb>0x1?void 0x0:_0x2e28fb?_0x9ba9eb(_0x3a1443,_0x2874c3):_0x3a1443,_0x2a8377=_0x4b8866[_0x20fa43(0x12e)]-0x1,_0x1064ac;_0x2a8377>=0x0;_0x2a8377--)(_0x1064ac=_0x4b8866[_0x2a8377])&&(_0x1f5f5b=_0x1064ac(_0x1f5f5b)||_0x1f5f5b);return _0x1f5f5b;},_0x31ea3c=(_0x219312,_0x37a697)=>(_0x430872,_0x402ed9)=>_0x37a697(_0x430872,_0x402ed9,_0x219312);_0x51a21f[_0x39d8da(0x32d)]=class extends _0xbbfa4e[_0x39d8da(0x17b)]{constructor(_0x10fcd5,_0x34f406,_0x4e9395){const _0x35410e=_0x39d8da;super(),this['_instanceService']=_0x10fcd5,this[_0x35410e(0x19f)]=_0x34f406,this['_configService']=_0x4e9395;}async[_0x39d8da(0x321)](_0x28b50b,_0x4cddf9,_0x16f704,..._0x6674d6){const _0x511021=_0x39d8da;var _0x512dd6,_0x2e9bf4,_0xc9ce1a,_0x4da653;const _0x29b2f5=this[_0x511021(0x38c)][_0x511021(0x177)]();if(!_0x29b2f5)throw new Error(_0x511021(0x2f2));const _0x44d721=((_0x512dd6=this['_configService']['getConfig'](_0x1315a6[_0x511021(0x184)]))!=null?_0x512dd6:_0x1315a6['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x28b50b+_0x511021(0x109)+_0x4cddf9,_0x526496=new URL(window[_0x511021(0x37d)][_0x511021(0x1ed)]),_0x45dd13={'scriptId':_0x28b50b,'runId':(_0x2e9bf4=_0x526496[_0x511021(0x20b)][_0x511021(0x376)](_0x511021(0x304)))!=null?_0x2e9bf4:'','function':_0x4cddf9,'unitId':_0x29b2f5[_0x511021(0x146)](),'argsOfFunction':JSON[_0x511021(0x356)](_0x6674d6),'invokeId':(_0xc9ce1a=_0x16f704[_0x511021(0x1a4)])!=null?_0xc9ce1a:'','executionId':(_0x4da653=_0x16f704['executionId'])!=null?_0x4da653:''};try{const _0x6b0821=await this['_httpService'][_0x511021(0x2b2)](_0x44d721,{'body':_0x45dd13});return _0x6b0821[_0x511021(0x18a)][_0x511021(0x2b8)]&&_0x6b0821[_0x511021(0x18a)]['error'][_0x511021(0x298)]!==_0x100659['OK']?_0x511021(0x2c1):_0x6b0821[_0x511021(0x18a)][_0x511021(0x1a5)];}catch{return'Failed';}}},_0x51a21f[_0x39d8da(0x32d)]=_0x5950ad([_0x31ea3c(0x0,_0xbbfa4e['IUniverInstanceService']),_0x31ea3c(0x1,_0xbbfa4e[_0x39d8da(0x3c1)](_0x97233e[_0x39d8da(0x3bc)])),_0x31ea3c(0x2,_0xbbfa4e[_0x39d8da(0x348)])],_0x51a21f[_0x39d8da(0x32d)]);const _0x55bd12=0x7530,_0x148329='ACTIVE_UNIT_EVENT_CHANNEL';class _0x3dbef8 extends _0xbbfa4e[_0x39d8da(0x17b)]{constructor(){const _0x5b702a=_0x39d8da;super(),_0x42c6f4(this,_0x5b702a(0x284),_0xbbfa4e[_0x5b702a(0x1f1)]()),_0x42c6f4(this,'_selfUnitIDs',new Set()),_0x42c6f4(this,_0x5b702a(0x285),new Map()),_0x42c6f4(this,_0x5b702a(0x1b4),null),_0x42c6f4(this,_0x5b702a(0x11d),new Map()),_0x42c6f4(this,'_unitStatus',new Map()),this['_init']();}[_0x39d8da(0x1c6)](){const _0x131d9e=_0x39d8da;super[_0x131d9e(0x1c6)](),this[_0x131d9e(0x11d)][_0x131d9e(0x2fb)]((_0x167e80,_0x1665b7)=>this['_removeClearOtherTimer'](_0x1665b7)),this[_0x131d9e(0x1b4)]&&window[_0x131d9e(0x1e5)](this[_0x131d9e(0x1b4)]);}[_0x39d8da(0x262)](_0xa902b4){const _0x2dae53=_0x39d8da;return this['_ensureSubject'](_0xa902b4)[_0x2dae53(0x1ef)](_0x70cdda[_0x2dae53(0x1cc)]());}['editingUnit'](_0x13ff9f){const _0x1b465b=_0x39d8da;this[_0x1b465b(0xf0)][_0x1b465b(0x27d)]===0x0&&this[_0x1b465b(0x2b1)](),this['_selfUnitIDs']['add'](_0x13ff9f),this[_0x1b465b(0x247)]({'type':0x0,'memberID':this[_0x1b465b(0x284)],'unitIDs':[_0x13ff9f],'isForwarded':!0x1});}[_0x39d8da(0x1b7)](_0xa9ccf3){const _0x42681c=_0x39d8da;this[_0x42681c(0xf0)][_0x42681c(0x274)](_0xa9ccf3),this[_0x42681c(0xf0)]['size']===0x0&&this[_0x42681c(0x1b4)]&&window[_0x42681c(0x1e5)](this[_0x42681c(0x1b4)]);}[_0x39d8da(0x213)](){const _0x1a04ba=_0x39d8da;this[_0x1a04ba(0x26d)](_0xbbfa4e['toDisposable'](_0x70cdda[_0x1a04ba(0x103)](window,_0x1a04ba(0x1e1))[_0x1a04ba(0x20c)](_0x2b547e=>{const _0x3bfcb4=_0x1a04ba;if(_0x2b547e[_0x3bfcb4(0x3b3)]!==_0x148329||!_0x2b547e['newValue'])return;const _0x10bbfb=JSON[_0x3bfcb4(0x259)](_0x2b547e[_0x3bfcb4(0x15e)]);this[_0x3bfcb4(0x137)](_0x10bbfb);}))),window[_0x1a04ba(0x1ce)](_0x1a04ba(0x296),()=>this[_0x1a04ba(0x247)]({'type':0x1,'memberID':this[_0x1a04ba(0x284)],'unitIDs':Array['from'](this[_0x1a04ba(0xf0)])}));}[_0x39d8da(0x137)](_0x25d57b){const _0x12290e=_0x39d8da;switch(_0x25d57b[_0x12290e(0x222)]){case 0x0:this[_0x12290e(0x2d5)](_0x25d57b);break;case 0x1:this[_0x12290e(0x2ff)](_0x25d57b);break;case 0x2:this['_handleHeartbeatEvent'](_0x25d57b);break;}}[_0x39d8da(0x2d5)](_0x4feb28){const _0x34d325=_0x39d8da,{unitIDs:_0x69bd0f,memberID:_0xe4c37e,isForwarded:_0x45ba9d}=_0x4feb28;_0x69bd0f[_0x34d325(0x2fb)](_0x1a8d02=>{const _0x5b7450=_0x34d325;if(!_0x45ba9d&&this[_0x5b7450(0x285)][_0x5b7450(0x342)](_0x1a8d02)&&this[_0x5b7450(0x295)](_0x1a8d02)[_0x5b7450(0x1e9)](_0x1315a6[_0x5b7450(0x2ec)][_0x5b7450(0x293)]),!this[_0x5b7450(0x285)][_0x5b7450(0x342)](_0x1a8d02)||!this[_0x5b7450(0x285)][_0x5b7450(0x376)](_0x1a8d02)[_0x5b7450(0x342)](_0xe4c37e)){const _0x58ada6=this[_0x5b7450(0x285)][_0x5b7450(0x376)](_0x1a8d02)||new Set();_0x58ada6['add'](_0xe4c37e),this[_0x5b7450(0x285)][_0x5b7450(0x151)](_0x1a8d02,_0x58ada6),this[_0x5b7450(0x30c)](_0xe4c37e);}}),_0x45ba9d||this[_0x34d325(0x247)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x39d8da(0x30c)](_0x4ad342){const _0x11c36b=_0x39d8da;this[_0x11c36b(0x2d3)](_0x4ad342);const _0x26bf05=window['setTimeout'](()=>{const _0x1870af=_0x11c36b;this[_0x1870af(0x285)][_0x1870af(0x2fb)](_0x417072=>{_0x417072['delete'](_0x4ad342);});},_0x55bd12*0x2);this[_0x11c36b(0x11d)][_0x11c36b(0x151)](_0x4ad342,_0x26bf05);}[_0x39d8da(0x2d3)](_0x5accd0){const _0x3c37c8=_0x39d8da;if(this['_clearOtherTimers'][_0x3c37c8(0x342)](_0x5accd0)){const _0x1b8c78=this[_0x3c37c8(0x11d)]['get'](_0x5accd0);_0x1b8c78&&window[_0x3c37c8(0x232)](_0x1b8c78),this[_0x3c37c8(0x11d)][_0x3c37c8(0x151)](_0x5accd0,null);}}[_0x39d8da(0x2ff)](_0x3b1ea8){const {memberID:_0x5844c0,unitIDs:_0x4a68a3}=_0x3b1ea8;_0x4a68a3['forEach'](_0x515477=>{const _0x3a379e=_0xfc56;var _0x1723ab;const _0x36ca35=this[_0x3a379e(0x285)][_0x3a379e(0x376)](_0x515477);_0x36ca35&&(_0x36ca35[_0x3a379e(0x274)](_0x5844c0),(_0x1723ab=this[_0x3a379e(0x295)](_0x515477))==null||_0x1723ab[_0x3a379e(0x1e9)](_0x36ca35['size']===0x0?_0x1315a6['UnitStatus'][_0x3a379e(0x198)]:_0x1315a6['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x5844c0);}[_0x39d8da(0x294)](_0x451674){const _0x2b5cf7=_0x39d8da;this['_scheduleClearOtherTimer'](_0x451674[_0x2b5cf7(0x307)]);}['_send'](_0x3a4dd0){const _0xa39a67=_0x39d8da;localStorage[_0xa39a67(0x1cf)](_0x148329,JSON[_0xa39a67(0x356)](_0x3a4dd0));}['_scheduleHeartbeat'](){const _0x2adc5f=_0x39d8da;this['_heartbeatTimer']=window[_0x2adc5f(0x365)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x55bd12);}['_ensureSubject'](_0xc2c293){const _0x564f9f=_0x39d8da;return this[_0x564f9f(0x1a0)][_0x564f9f(0x342)](_0xc2c293)||this[_0x564f9f(0x1a0)]['set'](_0xc2c293,new _0x70cdda[(_0x564f9f(0x148))](_0x1315a6[_0x564f9f(0x2ec)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x564f9f(0x1a0)][_0x564f9f(0x376)](_0xc2c293);}}_0x51a21f[_0x39d8da(0x23d)]=_0x1bdc04,_0x51a21f[_0x39d8da(0x140)]=_0x4b9541,_0x51a21f[_0x39d8da(0x176)]=_0x3dbef8,_0x51a21f[_0x39d8da(0x23a)]=_0x23ef76,Object[_0x39d8da(0x334)](_0x51a21f,Symbol['toStringTag'],{'value':_0x39d8da(0x22a)});}));
|