@univerjs-pro/collaboration-client-ui 0.10.14-nightly.202511070640 → 0.10.14-nightly.202511080715
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 _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)});}));
|
|
1
|
+
function _0x4c12(_0x5c848d,_0x4c5c1e){const _0x416b82=_0x416b();return _0x4c12=function(_0x4c121c,_0x4795d9){_0x4c121c=_0x4c121c-0x1c8;let _0x173bf8=_0x416b82[_0x4c121c];return _0x173bf8;},_0x4c12(_0x5c848d,_0x4c5c1e);}(function(_0x3a08a2,_0x484d69){const _0x443d20=_0x4c12,_0x56949b=_0x3a08a2();while(!![]){try{const _0x5c042a=-parseInt(_0x443d20(0x2aa))/0x1+-parseInt(_0x443d20(0x26b))/0x2+-parseInt(_0x443d20(0x327))/0x3*(-parseInt(_0x443d20(0x442))/0x4)+-parseInt(_0x443d20(0x487))/0x5+parseInt(_0x443d20(0x2b1))/0x6+-parseInt(_0x443d20(0x30f))/0x7*(parseInt(_0x443d20(0x1ca))/0x8)+-parseInt(_0x443d20(0x210))/0x9*(-parseInt(_0x443d20(0x44e))/0xa);if(_0x5c042a===_0x484d69)break;else _0x56949b['push'](_0x56949b['shift']());}catch(_0xa8d6ee){_0x56949b['push'](_0x56949b['shift']());}}}(_0x416b,0xa3de9),function(_0x4c8f29,_0x147463){const _0x591720=_0x4c12;typeof exports==_0x591720(0x2b6)&&typeof module<'u'?_0x147463(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[_0x591720(0x2f4)]?define([_0x591720(0x2ad),_0x591720(0x499),'@univerjs-pro/collaboration-client',_0x591720(0x45d),_0x591720(0x2b4),_0x591720(0x400),_0x591720(0x239),_0x591720(0x371),_0x591720(0x217),_0x591720(0x28f),_0x591720(0x452),_0x591720(0x423),_0x591720(0x27c),_0x591720(0x20e),_0x591720(0x3bb),_0x591720(0x2d8),_0x591720(0x469),_0x591720(0x216),_0x591720(0x1c9)],_0x147463):(_0x4c8f29=typeof globalThis<'u'?globalThis:_0x4c8f29||self,_0x147463(_0x4c8f29[_0x591720(0x1fe)]={},_0x4c8f29[_0x591720(0x361)],_0x4c8f29[_0x591720(0x219)],_0x4c8f29[_0x591720(0x352)],_0x4c8f29[_0x591720(0x489)],_0x4c8f29[_0x591720(0x400)],_0x4c8f29[_0x591720(0x1cc)],_0x4c8f29[_0x591720(0x361)],_0x4c8f29[_0x591720(0x2ee)],_0x4c8f29['UniverSheets'],_0x4c8f29['UniverEngineRender'],_0x4c8f29[_0x591720(0x3b1)],_0x4c8f29['UniverDocsUi'],_0x4c8f29['UniverDrawing'],_0x4c8f29[_0x591720(0x222)],_0x4c8f29[_0x591720(0x322)],_0x4c8f29[_0x591720(0x270)],_0x4c8f29['rxjs']['operators'],_0x4c8f29['UniverSheetsUi']));}(this,function(_0x5077fe,_0x5148ca,_0x2e0918,_0x4dc9d4,_0x2d992f,_0x488623,_0x32cbec,_0x5044cf,_0xed152a,_0x14e350,_0x37167b,_0x4efdde,_0x504cab,_0x5d37cb,_0x40f85d,_0x2ffbcd,_0x55872e,_0x2eb3af,_0x4e7875){'use strict';const _0x4ff2ee=_0x4c12;var _0x2da0fd=Object[_0x4ff2ee(0x342)],_0x227c16=(_0x5e3db1,_0x2c7567,_0x2d6438)=>_0x2c7567 in _0x5e3db1?_0x2da0fd(_0x5e3db1,_0x2c7567,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d6438}):_0x5e3db1[_0x2c7567]=_0x2d6438,_0x3f28ac=(_0x2cee2a,_0x151d2d,_0xb45740)=>_0x227c16(_0x2cee2a,typeof _0x151d2d!=_0x4ff2ee(0x3a1)?_0x151d2d+'':_0x151d2d,_0xb45740);function _0x2b8db4({ref:_0x2e9d6f,..._0x4e1150}){const _0x488643=_0x4ff2ee,{icon:_0x47f1e3,id:_0x21955d,className:_0x1fc8f4,extend:_0x10eff4,..._0xac775a}=_0x4e1150,_0x1f7cc4=(_0x488643(0x218)+_0x21955d+'\x20'+(_0x1fc8f4||''))[_0x488643(0x21e)](),_0x35eac4=_0x5044cf['useRef']('_'+_0x30bc38());return _0xd5cf3c(_0x47f1e3,''+_0x21955d,{'defIds':_0x47f1e3[_0x488643(0x46f)],'idSuffix':_0x35eac4[_0x488643(0x407)]},{'ref':_0x2e9d6f,'className':_0x1f7cc4,..._0xac775a},_0x10eff4);}function _0xd5cf3c(_0x57163b,_0x36f49f,_0x5ccc30,_0x46a192,_0x5d50f1){const _0x3e9d7e=_0x4ff2ee;return _0x5044cf['createElement'](_0x57163b['tag'],{'key':_0x36f49f,..._0x476ede(_0x57163b,_0x5ccc30,_0x5d50f1),..._0x46a192},(_0x1369d7(_0x57163b,_0x5ccc30)[_0x3e9d7e(0x35e)]||[])[_0x3e9d7e(0x3ab)]((_0x5a2e7f,_0x4adbee)=>_0xd5cf3c(_0x5a2e7f,_0x36f49f+'-'+_0x57163b[_0x3e9d7e(0x34a)]+'-'+_0x4adbee,_0x5ccc30,void 0x0,_0x5d50f1)));}function _0x476ede(_0x2df73d,_0x1bfd45,_0x5670c9){const _0x410986=_0x4ff2ee,_0x438d3e={..._0x2df73d['attrs']};_0x5670c9!=null&&_0x5670c9[_0x410986(0x1ce)]&&_0x438d3e[_0x410986(0x25e)]===_0x410986(0x1ce)&&(_0x438d3e[_0x410986(0x25e)]=_0x5670c9['colorChannel1']),_0x2df73d[_0x410986(0x34a)]===_0x410986(0x291)&&_0x438d3e['id']&&(_0x438d3e['id']=_0x438d3e['id']+_0x1bfd45[_0x410986(0x309)]),Object[_0x410986(0x3e1)](_0x438d3e)[_0x410986(0x426)](([_0x26f8b1,_0x267053])=>{const _0x1de1db=_0x410986;_0x26f8b1===_0x1de1db(0x291)&&typeof _0x267053==_0x1de1db(0x290)&&(_0x438d3e[_0x26f8b1]=_0x267053[_0x1de1db(0x3ba)](/url\(#(.*)\)/,_0x1de1db(0x2a3)+_0x1bfd45['idSuffix']+')'));});const {defIds:_0x16e936}=_0x1bfd45;return!_0x16e936||_0x16e936[_0x410986(0x274)]===0x0||(_0x2df73d[_0x410986(0x34a)]===_0x410986(0x28a)&&_0x438d3e[_0x410986(0x2a4)]&&(_0x438d3e[_0x410986(0x2a4)]=_0x438d3e[_0x410986(0x2a4)]+_0x1bfd45[_0x410986(0x309)]),Object['entries'](_0x438d3e)[_0x410986(0x426)](([_0x9ba05a,_0x9bcb5d])=>{const _0x36e220=_0x410986;typeof _0x9bcb5d==_0x36e220(0x290)&&(_0x438d3e[_0x9ba05a]=_0x9bcb5d[_0x36e220(0x3ba)](/url\(#(.*)\)/,_0x36e220(0x2a3)+_0x1bfd45[_0x36e220(0x309)]+')'));})),_0x438d3e;}function _0x1369d7(_0x484606,_0x162209){const _0x331339=_0x4ff2ee;var _0x322499;const {defIds:_0x28ffbe}=_0x162209;return!_0x28ffbe||_0x28ffbe[_0x331339(0x274)]===0x0?_0x484606:_0x484606['tag']===_0x331339(0x40f)&&((_0x322499=_0x484606['children'])!=null&&_0x322499['length'])?{..._0x484606,'children':_0x484606['children'][_0x331339(0x3ab)](_0x4e7f7e=>typeof _0x4e7f7e[_0x331339(0x446)]['id']=='string'&&_0x28ffbe&&_0x28ffbe['includes'](_0x4e7f7e[_0x331339(0x446)]['id'])?{..._0x4e7f7e,'attrs':{..._0x4e7f7e[_0x331339(0x446)],'id':_0x4e7f7e['attrs']['id']+_0x162209[_0x331339(0x309)]}}:_0x4e7f7e)}:_0x484606;}function _0x30bc38(){const _0x5a5d74=_0x4ff2ee;return Math[_0x5a5d74(0x3fa)]()[_0x5a5d74(0x471)](0x24)[_0x5a5d74(0x1f8)](0x2,0x8);}_0x2b8db4[_0x4ff2ee(0x303)]=_0x4ff2ee(0x25c);const _0x58acc2={'tag':_0x4ff2ee(0x3b5),'attrs':{'xmlns':_0x4ff2ee(0x1d4),'fill':_0x4ff2ee(0x252),'viewBox':_0x4ff2ee(0x25f),'width':_0x4ff2ee(0x394),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x4ff2ee(0x41a),'attrs':{'stroke':_0x4ff2ee(0x39f),'d':_0x4ff2ee(0x22a),'strokeLinecap':_0x4ff2ee(0x330),'strokeLinejoin':_0x4ff2ee(0x330),'strokeWidth':1.2}}]},{'tag':_0x4ff2ee(0x40f),'attrs':{},'children':[{'tag':_0x4ff2ee(0x347),'attrs':{'id':_0x4ff2ee(0x37a)},'children':[{'tag':_0x4ff2ee(0x41a),'attrs':{'fill':_0x4ff2ee(0x333),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x21539d=_0x5044cf[_0x4ff2ee(0x421)](function(_0x2a5d03,_0xab1c4b){const _0x54cdb0=_0x4ff2ee;return _0x5044cf[_0x54cdb0(0x2e9)](_0x2b8db4,Object[_0x54cdb0(0x32d)]({},_0x2a5d03,{'id':_0x54cdb0(0x27a),'ref':_0xab1c4b,'icon':_0x58acc2}));});_0x21539d['displayName']=_0x4ff2ee(0x3a5);const _0x5609da={'tag':_0x4ff2ee(0x3b5),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x4ff2ee(0x353),'width':_0x4ff2ee(0x394),'height':_0x4ff2ee(0x394)},'children':[{'tag':'g','attrs':{'clipPath':_0x4ff2ee(0x44d)},'children':[{'tag':'path','attrs':{'stroke':_0x4ff2ee(0x39f),'d':_0x4ff2ee(0x464),'strokeLinecap':_0x4ff2ee(0x330),'strokeLinejoin':_0x4ff2ee(0x330),'strokeWidth':1.2}}]},{'tag':_0x4ff2ee(0x40f),'attrs':{},'children':[{'tag':_0x4ff2ee(0x347),'attrs':{'id':_0x4ff2ee(0x254)},'children':[{'tag':_0x4ff2ee(0x41a),'attrs':{'fill':_0x4ff2ee(0x333),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x4ff2ee(0x254)]},_0x53c179=_0x5044cf[_0x4ff2ee(0x421)](function(_0x579700,_0x3a3af9){const _0x2c9cff=_0x4ff2ee;return _0x5044cf[_0x2c9cff(0x2e9)](_0x2b8db4,Object[_0x2c9cff(0x32d)]({},_0x579700,{'id':'on-line-icon','ref':_0x3a3af9,'icon':_0x5609da}));});_0x53c179[_0x4ff2ee(0x303)]=_0x4ff2ee(0x3e6);function _0x586c64(_0x58a677){const _0x28fdb6=_0x4ff2ee;switch(_0x58a677){case _0x2e0918[_0x28fdb6(0x2f1)]['OFFLINE']:return'collabStatus.offline';case _0x2e0918['CollaborationStatus'][_0x28fdb6(0x3e0)]:return _0x28fdb6(0x3fc);case _0x2e0918['CollaborationStatus']['FETCH_MISS']:return _0x28fdb6(0x3b9);case _0x2e0918[_0x28fdb6(0x2f1)][_0x28fdb6(0x3de)]:return _0x28fdb6(0x310);case _0x2e0918['CollaborationStatus']['AWAITING']:case _0x2e0918['CollaborationStatus']['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x2e0918[_0x28fdb6(0x2f1)]['SYNCED']:case _0x2e0918[_0x28fdb6(0x2f1)]['PENDING']:return _0x28fdb6(0x276);}}function _0x4677ac(_0x81668e){const _0x4269e7=_0x4ff2ee,{status$:_0x462070}=_0x81668e,_0x1eac29=_0x2d992f[_0x4269e7(0x49c)](_0x462070,_0x2e0918[_0x4269e7(0x2f1)][_0x4269e7(0x3de)]),_0x117fb9=_0x2d992f[_0x4269e7(0x3d0)](_0x4dc9d4['LocaleService']),_0x50f3a2=_0x2d992f[_0x4269e7(0x3d0)](_0x2e0918[_0x4269e7(0x453)]),_0x3b4c35=_0x1eac29!==_0x2e0918['CollaborationStatus'][_0x4269e7(0x49d)],_0x7f3e3d=_0x117fb9['t'](_0x586c64(_0x1eac29)),_0xa815ee=_0x3b4c35?_0x5148ca['jsx'](_0x53c179,{}):_0x5148ca[_0x4269e7(0x40c)](_0x21539d,{}),_0xe40f20=_0x5044cf['useCallback'](()=>{const _0x155c72=_0x4269e7;_0x3b4c35||_0x50f3a2[_0x155c72(0x2f8)]();},[_0x3b4c35,_0x50f3a2]);function _0x2cfb33(){const _0xc7d3eb=_0x4269e7;return _0x5148ca[_0xc7d3eb(0x491)]('div',{'className':_0xc7d3eb(0x390),'onClick':_0xe40f20,'children':[_0x5148ca[_0xc7d3eb(0x40c)](_0xc7d3eb(0x48c),{'className':_0x32cbec[_0xc7d3eb(0x232)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x3b4c35,'univer-text-red-500':!_0x3b4c35}),'children':_0xa815ee}),_0x5148ca[_0xc7d3eb(0x40c)](_0xc7d3eb(0x48c),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x7f3e3d})]});}return _0x3b4c35?_0x2cfb33():_0x5148ca['jsx'](_0x32cbec[_0x4269e7(0x204)],{'title':_0x117fb9['t'](_0x4269e7(0x272)),'children':_0x2cfb33()});}var _0x24e26f=Object[_0x4ff2ee(0x304)],_0x38860a=(_0x2f5d11,_0x2dccb9,_0x5ce689,_0x27ec51)=>{const _0x263864=_0x4ff2ee;for(var _0x27681a=_0x27ec51>0x1?void 0x0:_0x27ec51?_0x24e26f(_0x2dccb9,_0x5ce689):_0x2dccb9,_0x26612f=_0x2f5d11[_0x263864(0x274)]-0x1,_0x513c9b;_0x26612f>=0x0;_0x26612f--)(_0x513c9b=_0x2f5d11[_0x26612f])&&(_0x27681a=_0x513c9b(_0x27681a)||_0x27681a);return _0x27681a;},_0x259b1a=(_0x420962,_0x4cd434)=>(_0x732be4,_0x56142c)=>_0x4cd434(_0x732be4,_0x56142c,_0x420962);_0x5077fe[_0x4ff2ee(0x44b)]=class extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(_0x5c82b6,_0xcb98e1,_0x4c4a1e,_0x42b60f){const _0x3cfc56=_0x4ff2ee;super(),_0x3f28ac(this,_0x3cfc56(0x2fe),new _0x488623[(_0x3cfc56(0x438))](_0x2e0918[_0x3cfc56(0x2f1)][_0x3cfc56(0x3de)])),(this[_0x3cfc56(0x40a)]=_0x5c82b6,this[_0x3cfc56(0x406)]=_0xcb98e1,this[_0x3cfc56(0x278)]=_0x4c4a1e,this['_uiPartsService']=_0x42b60f,this[_0x3cfc56(0x27e)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x214340=_0x4ff2ee;this[_0x214340(0x466)](this[_0x214340(0x40a)]['focused$'][_0x214340(0x2b9)](_0x488623['switchMap'](()=>{const _0x5ccf00=_0x214340,_0x524fc4=this[_0x5ccf00(0x40a)][_0x5ccf00(0x29c)]();return _0x524fc4?this['_collaborationController']['getCollabEntity$'](_0x524fc4[_0x5ccf00(0x249)]()):_0x488623['of'](null);}),_0x488623['switchMap'](_0x1cd6b1=>_0x1cd6b1?_0x1cd6b1[_0x214340(0x414)]:_0x488623['of'](_0x2e0918[_0x214340(0x2f1)]['NOT_COLLAB'])))[_0x214340(0x292)](_0x3d957d=>{const _0x265814=_0x214340;this[_0x265814(0x2fe)]['next'](_0x3d957d);}));}[_0x4ff2ee(0x27e)](){const _0x246dd5=_0x4ff2ee;this[_0x246dd5(0x466)](this['_uiPartsService']['registerComponent'](_0x2d992f[_0x246dd5(0x399)]['HEADER_MENU'],()=>_0x2d992f['connectInjector'](_0xc9fad3({'status$':this[_0x246dd5(0x2fe)][_0x246dd5(0x37e)]()}),this[_0x246dd5(0x406)])));}},_0x5077fe[_0x4ff2ee(0x44b)]=_0x38860a([_0x259b1a(0x0,_0x4dc9d4['IUniverInstanceService']),_0x259b1a(0x1,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x419)])),_0x259b1a(0x2,_0x4dc9d4['Inject'](_0x2e0918['CollaborationController'])),_0x259b1a(0x3,_0x2d992f[_0x4ff2ee(0x3cd)])],_0x5077fe[_0x4ff2ee(0x44b)]);function _0xc9fad3(_0xf696a){const {status$:_0x1da96d}=_0xf696a;return function(){return _0x5148ca['jsx'](_0x4677ac,{'status$':_0x1da96d});};}const _0x4d3f49=_0x4dc9d4[_0x4ff2ee(0x3f6)](_0x4ff2ee(0x299));var _0x2dda93=Object[_0x4ff2ee(0x304)],_0x108b33=(_0xb2830d,_0x228ab7,_0xaad7bd,_0x58f3e3)=>{const _0x1599d6=_0x4ff2ee;for(var _0x74c4da=_0x58f3e3>0x1?void 0x0:_0x58f3e3?_0x2dda93(_0x228ab7,_0xaad7bd):_0x228ab7,_0x5a3a05=_0xb2830d[_0x1599d6(0x274)]-0x1,_0x448f00;_0x5a3a05>=0x0;_0x5a3a05--)(_0x448f00=_0xb2830d[_0x5a3a05])&&(_0x74c4da=_0x448f00(_0x74c4da)||_0x74c4da);return _0x74c4da;},_0x31a6bb=(_0x491553,_0x749394)=>(_0x3924a0,_0x4712ed)=>_0x749394(_0x3924a0,_0x4712ed,_0x491553);_0x5077fe[_0x4ff2ee(0x3df)]=class extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(_0x18f7d6,_0x5c4f5c,_0x4245a7,_0x36f6a1,_0x4037c4){const _0x29fe71=_0x4ff2ee;super(),this[_0x29fe71(0x43a)]=_0x18f7d6,this[_0x29fe71(0x403)]=_0x5c4f5c,this['_commandService']=_0x4245a7,this[_0x29fe71(0x2ff)]=_0x36f6a1,_0x4037c4?_0x4037c4==null||_0x4037c4[_0x29fe71(0x260)]()['then'](()=>this[_0x29fe71(0x475)]()):(this[_0x29fe71(0x403)][_0x29fe71(0x427)]('[CollaborationDataLoaderController]',_0x29fe71(0x365)),this[_0x29fe71(0x475)]());}async[_0x4ff2ee(0x475)](){const _0x3b449d=_0x4ff2ee,_0x259299=this[_0x3b449d(0x43a)][_0x3b449d(0x2cb)]('unit'),_0x56ade0=this['_urlService']['getParam']('type'),_0x4fdb29=this[_0x3b449d(0x43a)][_0x3b449d(0x2cb)](_0x3b449d(0x485));if(!_0x259299||!_0x56ade0){this['_logService'][_0x3b449d(0x427)](_0x3b449d(0x2d6),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2924de=await this[_0x3b449d(0x2ff)][_0x3b449d(0x1cd)](_0x259299,Number(_0x56ade0),_0x4fdb29);_0x2924de&&_0x2924de instanceof _0x4dc9d4[_0x3b449d(0x3b8)]&&this[_0x3b449d(0x358)](_0x2924de);}async['_setupSubUnitSync'](_0x6d940f){const _0x3d97ce=_0x4ff2ee;await this[_0x3d97ce(0x2b3)](_0x6d940f),_0x6d940f[_0x3d97ce(0x2bd)][_0x3d97ce(0x2b9)](_0x488623[_0x3d97ce(0x1d2)](this[_0x3d97ce(0x1d7)]))[_0x3d97ce(0x292)](_0x2d72c8=>{const _0x4d4b4a=_0x3d97ce;_0x2d72c8&&this[_0x4d4b4a(0x482)](_0x2d72c8);}),this['_urlService']['urlChange$']['pipe'](_0x488623[_0x3d97ce(0x1d2)](this[_0x3d97ce(0x1d7)]))[_0x3d97ce(0x292)](()=>this[_0x3d97ce(0x2b3)](_0x6d940f));}[_0x4ff2ee(0x482)](_0x3f72d9,_0x3f5ffa=!0x1){const _0x5ba14c=_0x4ff2ee,_0x96074f=this[_0x5ba14c(0x43a)][_0x5ba14c(0x2cb)](_0x5ba14c(0x485));_0x3f72d9['getSheetId']()!==_0x96074f&&this[_0x5ba14c(0x43a)][_0x5ba14c(0x317)](_0x5ba14c(0x485),_0x3f72d9[_0x5ba14c(0x37c)](),_0x3f5ffa);}async[_0x4ff2ee(0x2b3)](_0x207e68){const _0x5a9d30=_0x4ff2ee;var _0x599848;const _0x3f9667=this['_urlService']['getParam'](_0x5a9d30(0x485));if(!_0x3f9667||!_0x207e68[_0x5a9d30(0x492)](_0x3f9667)){const _0x4b94c9=_0x207e68[_0x5a9d30(0x236)]()[0x0],_0x2a5e78=_0x207e68[_0x5a9d30(0x492)](_0x4b94c9);if(!_0x2a5e78)return;this[_0x5a9d30(0x482)](_0x2a5e78,!0x0),await this[_0x5a9d30(0x35d)][_0x5a9d30(0x2da)](_0x14e350['SetWorksheetActivateCommand']['id'],{'unitId':_0x207e68[_0x5a9d30(0x249)](),'subUnitId':_0x4b94c9});return;}((_0x599848=_0x207e68[_0x5a9d30(0x478)]())==null?void 0x0:_0x599848[_0x5a9d30(0x37c)]())!==_0x3f9667&&await this[_0x5a9d30(0x35d)]['executeCommand'](_0x14e350[_0x5a9d30(0x38e)]['id'],{'unitId':_0x207e68[_0x5a9d30(0x249)](),'subUnitId':_0x3f9667});}},_0x5077fe['CollaborationDataLoaderController']=_0x108b33([_0x31a6bb(0x0,_0x4d3f49),_0x31a6bb(0x1,_0x4dc9d4[_0x4ff2ee(0x47b)]),_0x31a6bb(0x2,_0x4dc9d4['ICommandService']),_0x31a6bb(0x3,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x2e0918[_0x4ff2ee(0x2af)])),_0x31a6bb(0x4,_0x4dc9d4[_0x4ff2ee(0x30c)](_0xed152a[_0x4ff2ee(0x201)]))],_0x5077fe[_0x4ff2ee(0x3df)]);var _0x2ba86a=Object[_0x4ff2ee(0x304)],_0x4e5023=(_0x2c5220,_0x52ec15,_0x286d8c,_0x220716)=>{for(var _0x4c8e44=_0x220716>0x1?void 0x0:_0x220716?_0x2ba86a(_0x52ec15,_0x286d8c):_0x52ec15,_0x306793=_0x2c5220['length']-0x1,_0x363d44;_0x306793>=0x0;_0x306793--)(_0x363d44=_0x2c5220[_0x306793])&&(_0x4c8e44=_0x363d44(_0x4c8e44)||_0x4c8e44);return _0x4c8e44;},_0x5cef53=(_0x285793,_0x5ef6b1)=>(_0x47793e,_0x2b7bb4)=>_0x5ef6b1(_0x47793e,_0x2b7bb4,_0x285793);let _0x397ffc=class extends _0x4dc9d4['RxDisposable']{constructor(_0x1deb9d,_0x32abd1){const _0x3af210=_0x4ff2ee;super(),this[_0x3af210(0x323)]=_0x1deb9d,this['_imageIoService']=_0x32abd1,this[_0x3af210(0x475)]();}['_init'](){const _0x1df751=_0x4ff2ee,_0x353af1=this;this[_0x1df751(0x466)](this['_docClipboardService'][_0x1df751(0x30d)]({'onBeforePasteImage':async _0xd2103=>{const _0x299159=_0x1df751,_0x5e8cbd=await _0x353af1[_0x299159(0x369)]['saveImage'](_0xd2103);return _0x5e8cbd?{'source':_0x5e8cbd[_0x299159(0x479)],'imageSourceType':_0x5e8cbd[_0x299159(0x348)]}:null;}}));}};_0x397ffc=_0x4e5023([_0x5cef53(0x0,_0x504cab[_0x4ff2ee(0x33d)]),_0x5cef53(0x1,_0x5d37cb['IImageIoService'])],_0x397ffc);const _0xc9be9f=[_0x4ff2ee(0x2cc),'jiqing.500',_0x4ff2ee(0x1ee),'red.300','blue.400',_0x4ff2ee(0x420)];class _0x278cb7 extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(){const _0x15338a=_0x4ff2ee;super(...arguments),_0x3f28ac(this,_0x15338a(0x44c),new Map()),_0x3f28ac(this,_0x15338a(0x202),0x0);}[_0x4ff2ee(0x2a0)](_0x1041e4){const _0x288748=_0x4ff2ee;if(this[_0x288748(0x44c)][_0x288748(0x477)](_0x1041e4))return this[_0x288748(0x44c)][_0x288748(0x35f)](_0x1041e4);const _0x24be55=_0xc9be9f[this[_0x288748(0x202)]];return this[_0x288748(0x202)]=(this['_colorIndex']+0x1)%_0xc9be9f['length'],this[_0x288748(0x44c)][_0x288748(0x48a)](_0x1041e4,_0x24be55),_0x24be55;}}function _0x3c64bb(_0xbbb50e){const _0xf8484=_0x4ff2ee;let _0x15dc62='';for(const _0x3555bc of _0xbbb50e){const {startOffset:_0xb624ad,endOffset:_0x5d4c9a,isActive:_0x4c3838,rangeType:_0x8f51d4,segmentId:_0x10e6b5,segmentPage:_0x350fb2}=_0x3555bc;_0x15dc62[_0xf8484(0x274)]&&(_0x15dc62+=','),_0x15dc62+=_0xb624ad+':'+_0x5d4c9a+':'+(_0x4c3838?'1':'0')+':'+_0x8f51d4+':'+_0x10e6b5+':'+_0x350fb2;}return _0x15dc62;}function _0x299d19(_0x52f392){const _0x1b7605=_0x4ff2ee,_0x3cfe65=_0x52f392['split'](','),_0x1cab36=[];for(const _0x3e10d7 of _0x3cfe65){const [_0x728b74,_0x7d2610,_0x33b688,_0x9c0331,_0x214608,_0x513c60]=_0x3e10d7[_0x1b7605(0x227)](':');_0x1cab36['push']({'startOffset':Number(_0x728b74),'endOffset':Number(_0x7d2610),'collapsed':_0x728b74===_0x7d2610,'isActive':_0x33b688==='1','rangeType':_0x9c0331===_0x4dc9d4[_0x1b7605(0x30a)][_0x1b7605(0x3f5)]?_0x4dc9d4[_0x1b7605(0x30a)][_0x1b7605(0x3f5)]:_0x4dc9d4['DOC_RANGE_TYPE'][_0x1b7605(0x263)],'segmentId':typeof _0x214608==_0x1b7605(0x290)?String(_0x214608):'','segmentPage':Number(_0x513c60!=null?_0x513c60:-0x1)});}return _0x1cab36['some'](_0x25475d=>_0x25475d['isActive'])||(_0x1cab36[0x0][_0x1b7605(0x34f)]=!0x0),_0x1cab36;}class _0x46655e extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(){const _0x5e8d6b=_0x4ff2ee;super(...arguments),_0x3f28ac(this,_0x5e8d6b(0x455),new _0x488623['BehaviorSubject'](null)),_0x3f28ac(this,_0x5e8d6b(0x39a),this[_0x5e8d6b(0x455)][_0x5e8d6b(0x37e)]());}['syncEditingCollabCursor'](_0x5e9d98){const _0x276173=_0x4ff2ee,{unitID:_0x133d5c,memberID:_0x41815f,textRanges:_0x43e346}=_0x5e9d98,_0x5be919=_0x3c64bb(_0x43e346);if(_0x5be919==='')return;const _0x386661={'unitID':_0x133d5c,'memberID':_0x41815f,'selection':_0x5be919};this['_collabCursorState$'][_0x276173(0x474)](_0x386661);}}var _0x46abde=Object[_0x4ff2ee(0x304)],_0x701d7d=(_0x50a04d,_0x46b011,_0x556cc0,_0x316d00)=>{const _0x454c79=_0x4ff2ee;for(var _0x4d388c=_0x316d00>0x1?void 0x0:_0x316d00?_0x46abde(_0x46b011,_0x556cc0):_0x46b011,_0x4dd48f=_0x50a04d[_0x454c79(0x274)]-0x1,_0x311760;_0x4dd48f>=0x0;_0x4dd48f--)(_0x311760=_0x50a04d[_0x4dd48f])&&(_0x4d388c=_0x311760(_0x4d388c)||_0x4d388c);return _0x4d388c;},_0x3da18a=(_0x2683c4,_0x41dc82)=>(_0x3f9b43,_0x263b2d)=>_0x41dc82(_0x3f9b43,_0x263b2d,_0x2683c4);const _0x19fc2d=0x12c,_0x7ec9dc=0x64;let _0x2eb2d8=class extends _0x4dc9d4['RxDisposable']{constructor(_0x5d5d1c,_0x4d237b,_0x119266,_0x31d8ea,_0xadd9be,_0x1965c8,_0x35fa47,_0x11a586,_0x2768f6){const _0x19ce57=_0x4ff2ee;super(),_0x3f28ac(this,'_online',!0x1),_0x3f28ac(this,'_init',!0x1),_0x3f28ac(this,_0x19ce57(0x38c),new _0x488623[(_0x19ce57(0x438))](new Map())),_0x3f28ac(this,_0x19ce57(0x381),this[_0x19ce57(0x38c)]['asObservable']()),_0x3f28ac(this,_0x19ce57(0x316),new _0x488623['BehaviorSubject']([])),_0x3f28ac(this,_0x19ce57(0x334),this['_roomMembers$'][_0x19ce57(0x2b9)](_0x488623[_0x19ce57(0x1cf)](_0x19fc2d))),_0x3f28ac(this,'_updateLocalCursor',_0x4dc9d4['debounce'](_0x44fef5=>{const _0x276e78=_0x19ce57,_0x1d63b6={'eventID':_0x40f85d[_0x276e78(0x25b)][_0x276e78(0x345)],'data':{'unitID':this['unitID'],'memberID':this[_0x276e78(0x24d)][_0x276e78(0x3d7)](),'selection':_0x3c64bb(_0x44fef5)}};this[_0x276e78(0x24d)][_0x276e78(0x2fa)](_0x1d63b6,this[_0x276e78(0x259)]);},_0x7ec9dc)),(this[_0x19ce57(0x259)]=_0x5d5d1c,this[_0x19ce57(0x24d)]=_0x4d237b,this[_0x19ce57(0x406)]=_0x119266,this[_0x19ce57(0x1e6)]=_0x31d8ea,this[_0x19ce57(0x2ec)]=_0xadd9be,this[_0x19ce57(0x280)]=_0x1965c8,this[_0x19ce57(0x3cc)]=_0x35fa47,this[_0x19ce57(0x40a)]=_0x11a586,this['_commandService']=_0x2768f6);}get[_0x4ff2ee(0x2f9)](){const _0x38ddf7=_0x4ff2ee;return this[_0x38ddf7(0x38c)][_0x38ddf7(0x221)]();}get[_0x4ff2ee(0x228)](){const _0xf01dd7=_0x4ff2ee;return this[_0xf01dd7(0x316)]['getValue']();}[_0x4ff2ee(0x462)](){const _0x18031d=_0x4ff2ee;super[_0x18031d(0x462)](),this[_0x18031d(0x38c)][_0x18031d(0x474)](new Map()),this[_0x18031d(0x38c)][_0x18031d(0x3aa)](),this[_0x18031d(0x316)]['next']([]),this['_roomMembers$'][_0x18031d(0x3aa)]();}[_0x4ff2ee(0x411)](){const _0x4b727e=_0x4ff2ee;this[_0x4b727e(0x475)]||(this['_init']=!0x0,this['_session'][_0x4b727e(0x237)][_0x4b727e(0x2b9)](_0x488623[_0x4b727e(0x1d2)](this[_0x4b727e(0x1d7)]))['subscribe'](_0x1e1a0a=>{const _0x3de7ad=_0x4b727e;_0x1e1a0a===_0x2e0918[_0x3de7ad(0x366)][_0x3de7ad(0x255)]?this[_0x3de7ad(0x1f6)]():this[_0x3de7ad(0x422)]();}),this[_0x4b727e(0x24d)][_0x4b727e(0x25a)][_0x4b727e(0x2b9)](_0x488623[_0x4b727e(0x1d2)](this[_0x4b727e(0x1d7)]))[_0x4b727e(0x292)](_0x29a344=>{const _0x22120b=_0x4b727e,_0x574995=_0x29a344[_0x22120b(0x377)];_0x574995===_0x40f85d[_0x22120b(0x25b)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x29a344),_0x574995===_0x40f85d['CollaborationEvent'][_0x22120b(0x28d)]&&this['_onCursorDelete'](_0x29a344);}),this[_0x4b727e(0x466)](this[_0x4b727e(0x35d)][_0x4b727e(0x472)](_0x24fcd2=>{const _0xa14d2b=_0x4b727e,_0x9defa5=_0x24fcd2[_0xa14d2b(0x2ed)];_0x9defa5!=null&&this[_0xa14d2b(0x497)]&&_0x24fcd2['id']===_0x2ffbcd[_0xa14d2b(0x398)]['id']&&_0x9defa5[_0xa14d2b(0x470)]===this[_0xa14d2b(0x259)]&&_0x9defa5[_0xa14d2b(0x32e)]===!0x1&&_0x9defa5['ranges'][_0xa14d2b(0x274)]>0x0&&this[_0xa14d2b(0x27f)](_0x9defa5[_0xa14d2b(0x3e8)]);})),this[_0x4b727e(0x280)][_0x4b727e(0x39a)][_0x4b727e(0x2b9)](_0x488623[_0x4b727e(0x1d2)](this[_0x4b727e(0x1d7)]))[_0x4b727e(0x292)](_0x34a656=>{const _0x5bf350=_0x4b727e;if((_0x34a656==null?void 0x0:_0x34a656[_0x5bf350(0x259)])!==this[_0x5bf350(0x259)])return;const _0x23cce8={'eventID':_0x40f85d['CollaborationEvent'][_0x5bf350(0x345)],'data':_0x34a656};this[_0x5bf350(0x1f1)](_0x23cce8);}),this[_0x4b727e(0x466)](this[_0x4b727e(0x35d)]['onCommandExecuted'](_0x1589a9=>{const _0x3e4a4c=_0x4b727e;if(_0x1589a9[_0x3e4a4c(0x2ed)]==null)return;const _0x920879=_0x1589a9[_0x3e4a4c(0x2ed)];if(_0x1589a9['id']!==_0x2ffbcd['RichTextEditingMutation']['id']||_0x920879[_0x3e4a4c(0x470)]!==this[_0x3e4a4c(0x259)])return;const _0xdd5a9e={'id':_0x3e4a4c(0x36c),'params':_0x920879},_0x1e3854=this['cursorInfo'];for(const [_0x27da21,_0x204114]of _0x1e3854){const _0x548aa5={'id':_0x3e4a4c(0x36c),'params':{'unitId':this[_0x3e4a4c(0x259)],'actions':null,'textRanges':_0x204114[_0x3e4a4c(0x3e8)]}},_0x1aa3c5=this[_0x3e4a4c(0x3cc)][_0x3e4a4c(0x300)](_0xdd5a9e,_0x548aa5,!0x1);if(_0x40f85d[_0x3e4a4c(0x24a)](_0x1aa3c5))throw _0x1aa3c5[_0x3e4a4c(0x405)];_0x1e3854[_0x3e4a4c(0x48a)](_0x27da21,{..._0x204114,'ranges':_0x1aa3c5[_0x3e4a4c(0x211)][_0x3e4a4c(0x2ed)][_0x3e4a4c(0x3ff)]});}queueMicrotask(()=>{const _0x176f84=_0x3e4a4c;this['_cursorInfo$'][_0x176f84(0x474)](_0x1e3854);});})));}[_0x4ff2ee(0x1f1)](_0xca81f7){const _0x30619b=_0x4ff2ee;var _0x20e804,_0x3bb100;const {memberID:_0x126aab,selection:_0x6b7f45}=_0xca81f7[_0x30619b(0x36e)],_0x57ea00=_0x299d19(_0x6b7f45),_0x4faf1b=(_0x3bb100=(_0x20e804=this[_0x30619b(0x2ec)][_0x30619b(0x418)](this[_0x30619b(0x259)],_0x126aab))==null?void 0x0:_0x20e804[_0x30619b(0x3e7)])!=null?_0x3bb100:'Unknown\x20user',_0x4e189b={'color':this['_colorAssignService'][_0x30619b(0x2a0)](_0x126aab),'name':_0x4faf1b,'ranges':_0x57ea00},_0x32d6ad=this[_0x30619b(0x2f9)];_0x32d6ad[_0x30619b(0x48a)](_0x126aab,_0x4e189b),this[_0x30619b(0x38c)][_0x30619b(0x474)](_0x32d6ad);}[_0x4ff2ee(0x36d)](_0x4e7d2e){const _0x512c92=_0x4ff2ee,{memberID:_0x240228}=_0x4e7d2e[_0x512c92(0x36e)],_0x2f32f7=this[_0x512c92(0x2f9)];_0x2f32f7[_0x512c92(0x3dd)](_0x240228),this[_0x512c92(0x38c)]['next'](_0x2f32f7);}[_0x4ff2ee(0x1f6)](){const _0x34a74c=_0x4ff2ee;var _0x53b2e3;if(this[_0x34a74c(0x497)]=!0x0,((_0x53b2e3=this['_univerInstanceService'][_0x34a74c(0x29c)]())==null?void 0x0:_0x53b2e3[_0x34a74c(0x249)]())!==this[_0x34a74c(0x259)])return;const _0x1b8d41=this[_0x34a74c(0x406)][_0x34a74c(0x35f)](_0x2ffbcd[_0x34a74c(0x337)])[_0x34a74c(0x1e1)]();Array[_0x34a74c(0x23d)](_0x1b8d41)&&_0x1b8d41['length']>0x0&&this[_0x34a74c(0x27f)](_0x1b8d41);}[_0x4ff2ee(0x422)](){const _0x3f7502=_0x4ff2ee;this[_0x3f7502(0x497)]=!0x1;}};_0x2eb2d8=_0x701d7d([_0x3da18a(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x419)])),_0x3da18a(0x3,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x278cb7)),_0x3da18a(0x4,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x2e0918[_0x4ff2ee(0x447)])),_0x3da18a(0x5,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x46655e)),_0x3da18a(0x6,_0x40f85d[_0x4ff2ee(0x1ed)]),_0x3da18a(0x7,_0x4dc9d4[_0x4ff2ee(0x490)]),_0x3da18a(0x8,_0x4dc9d4[_0x4ff2ee(0x396)])],_0x2eb2d8);var _0x5ae5e2=Object[_0x4ff2ee(0x304)],_0x5211eb=(_0x6f39e2,_0x3450b7,_0x483469,_0x2ceb13)=>{const _0x3d1ce2=_0x4ff2ee;for(var _0x54b69c=_0x2ceb13>0x1?void 0x0:_0x2ceb13?_0x5ae5e2(_0x3450b7,_0x483469):_0x3450b7,_0x312b3b=_0x6f39e2[_0x3d1ce2(0x274)]-0x1,_0x57187f;_0x312b3b>=0x0;_0x312b3b--)(_0x57187f=_0x6f39e2[_0x312b3b])&&(_0x54b69c=_0x57187f(_0x54b69c)||_0x54b69c);return _0x54b69c;},_0x203dcb=(_0x5f02cf,_0x301259)=>(_0x1e0cde,_0x28a3e5)=>_0x301259(_0x1e0cde,_0x28a3e5,_0x5f02cf);const _0x26e9bf=0x12c,_0x558440=0x64,_0x4fdda8=()=>{let _0x1f67b3=[],_0x5ea64=!0x1;return _0x28ce2d=>{const _0x19d608=_0x4c12;_0x1f67b3[_0x19d608(0x3d5)](_0x28ce2d),_0x5ea64||(_0x5ea64=!0x0,setTimeout(()=>{_0x1f67b3['forEach'](_0x56295e=>_0x56295e()),_0x1f67b3=[],_0x5ea64=!0x1;}));};};let _0x564c45=class extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(_0x5f3026,_0x322e4e,_0x19ad36,_0x36df5c,_0x129f8b,_0x4c913e,_0x2b00b5,_0x4b5319){const _0x32ed4a=_0x4ff2ee;super(),_0x3f28ac(this,'_online',!0x1),_0x3f28ac(this,_0x32ed4a(0x475),!0x1),_0x3f28ac(this,'_cursorInfo$',new _0x488623[(_0x32ed4a(0x438))](new Map())),_0x3f28ac(this,_0x32ed4a(0x381),this['_cursorInfo$'][_0x32ed4a(0x37e)]()),_0x3f28ac(this,_0x32ed4a(0x316),new _0x488623['BehaviorSubject']([])),_0x3f28ac(this,'roomMembers$',this[_0x32ed4a(0x316)][_0x32ed4a(0x2b9)](_0x488623[_0x32ed4a(0x1cf)](_0x26e9bf))),_0x3f28ac(this,'_updateLocalCursor',_0x4dc9d4[_0x32ed4a(0x1f4)]((_0x375f20,_0x44aed6)=>{const _0x385f78=_0x32ed4a,_0x313c71={'eventID':_0x40f85d[_0x385f78(0x25b)][_0x385f78(0x345)],'data':{'unitID':this[_0x385f78(0x259)],'memberID':this['_session'][_0x385f78(0x3d7)](),'selection':_0x55872e[_0x385f78(0x21b)](_0x375f20,_0x44aed6[_0x385f78(0x2d3)])}};this[_0x385f78(0x24d)][_0x385f78(0x2fa)](_0x313c71,this['unitID']);},_0x558440)),(this[_0x32ed4a(0x259)]=_0x5f3026,this[_0x32ed4a(0x24d)]=_0x322e4e,this['_injector']=_0x19ad36,this['_colorAssignService']=_0x36df5c,this[_0x32ed4a(0x2ec)]=_0x129f8b,this[_0x32ed4a(0x40a)]=_0x4c913e,this[_0x32ed4a(0x35d)]=_0x2b00b5,this[_0x32ed4a(0x33c)]=_0x4b5319);}get[_0x4ff2ee(0x2f9)](){const _0x453c80=_0x4ff2ee;return this[_0x453c80(0x38c)][_0x453c80(0x221)]();}get['roomMembers'](){const _0x3b39ea=_0x4ff2ee;return this[_0x3b39ea(0x316)][_0x3b39ea(0x221)]();}[_0x4ff2ee(0x462)](){const _0x2e06e8=_0x4ff2ee;super['dispose'](),this[_0x2e06e8(0x38c)]['next'](new Map()),this[_0x2e06e8(0x38c)][_0x2e06e8(0x3aa)](),this[_0x2e06e8(0x316)][_0x2e06e8(0x474)]([]),this[_0x2e06e8(0x316)][_0x2e06e8(0x3aa)]();}[_0x4ff2ee(0x411)](){const _0x55904a=_0x4ff2ee;this[_0x55904a(0x475)]||(this[_0x55904a(0x475)]=!0x0,this[_0x55904a(0x24d)][_0x55904a(0x237)][_0x55904a(0x2b9)](_0x488623['takeUntil'](this[_0x55904a(0x1d7)]))['subscribe'](_0x17618a=>{const _0x540eb6=_0x55904a;_0x17618a===_0x2e0918['SessionStatus'][_0x540eb6(0x255)]?this[_0x540eb6(0x1f6)]():this[_0x540eb6(0x422)]();}),this['_session']['event$'][_0x55904a(0x2b9)](_0x488623['takeUntil'](this['dispose$']))[_0x55904a(0x292)](_0x5b9b56=>{const _0x311e6b=_0x55904a,_0xbb28b=_0x5b9b56[_0x311e6b(0x377)];_0xbb28b===_0x40f85d[_0x311e6b(0x25b)]['UPDATE_CURSOR']&&this[_0x311e6b(0x1f1)](_0x5b9b56),_0xbb28b===_0x40f85d['CollaborationEvent']['USERS_LEAVE']&&this[_0x311e6b(0x36d)](_0x5b9b56);}),this[_0x55904a(0x203)](),this[_0x55904a(0x466)](this[_0x55904a(0x35d)]['onCommandExecuted'](_0x39a597=>{const _0x547c7b=_0x55904a;if(this[_0x547c7b(0x497)]&&_0x39a597['id']===_0x14e350['SetSelectionsOperation']['id']&&_0x39a597[_0x547c7b(0x2ed)][_0x547c7b(0x470)]===this[_0x547c7b(0x259)]){const _0x1d2e13=_0x39a597[_0x547c7b(0x2ed)];this['_updateLocalCursor'](_0x1d2e13[_0x547c7b(0x3c9)],_0x1d2e13[_0x547c7b(0x49f)][0x0]);}})));}[_0x4ff2ee(0x1f1)](_0x5d4ae3){const _0x41e759=_0x4ff2ee;var _0x30764f,_0x5a781c;const {memberID:_0x43c9e6,selection:_0x13aefd}=_0x5d4ae3[_0x41e759(0x36e)],{sheetName:_0x2c33f0,range:_0x439356}=_0x55872e[_0x41e759(0x24b)](_0x13aefd),_0x4972b8={'name':(_0x5a781c=(_0x30764f=this[_0x41e759(0x2ec)][_0x41e759(0x418)](this[_0x41e759(0x259)],_0x43c9e6))==null?void 0x0:_0x30764f[_0x41e759(0x3e7)])!=null?_0x5a781c:_0x41e759(0x335),'range':this[_0x41e759(0x48f)](_0x2c33f0,_0x439356),'sheetID':_0x2c33f0,'color':this[_0x41e759(0x1e6)][_0x41e759(0x2a0)](_0x43c9e6),'selection':_0x13aefd},_0xb0dee2=this['cursorInfo'];_0xb0dee2['set'](_0x43c9e6,_0x4972b8),this[_0x41e759(0x38c)][_0x41e759(0x474)](_0xb0dee2);}[_0x4ff2ee(0x36d)](_0x189357){const _0x450139=_0x4ff2ee,{memberID:_0x2c1460}=_0x189357[_0x450139(0x36e)],_0x4d896d=this['cursorInfo'];_0x4d896d['delete'](_0x2c1460),this[_0x450139(0x38c)][_0x450139(0x474)](_0x4d896d);}['_getMergeRange'](_0x41302e,_0x3d01ec){const _0x2b3182=_0x4ff2ee;var _0x3d8a26,_0x226d48;const _0x46ea59=(_0x226d48=(_0x3d8a26=this[_0x2b3182(0x40a)][_0x2b3182(0x1f7)](this[_0x2b3182(0x259)]))==null?void 0x0:_0x3d8a26[_0x2b3182(0x492)](_0x41302e))==null?void 0x0:_0x226d48[_0x2b3182(0x493)]();return(_0x46ea59==null?void 0x0:_0x46ea59['find'](_0x1645c9=>_0x4dc9d4[_0x2b3182(0x3d9)][_0x2b3182(0x3f3)](_0x1645c9,_0x3d01ec)))||_0x3d01ec;}['_onRefRangeChange'](){const _0x300729=_0x4ff2ee,_0x2c926f=new _0x4dc9d4[(_0x300729(0x23b))](),_0x5f1f01=_0x4fdda8(),_0x1babdc=()=>{const _0x259c18=_0x300729;_0x2c926f[_0x259c18(0x462)]();const _0x3800f1=(_0x2c5612,_0x15f2fd,_0x99f65c,_0x59785e)=>{const _0x458c87=_0x259c18;let _0xd2442b=[];switch(_0x2c5612['id']){case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x433)]:{_0xd2442b=_0x14e350[_0x458c87(0x3f9)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x258)]:{_0xd2442b=_0x14e350[_0x458c87(0x208)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x45a)]:{_0xd2442b=_0x14e350[_0x458c87(0x2e3)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)]['InsertRangeMoveDownCommandId']:{_0xd2442b=_0x14e350[_0x458c87(0x2fb)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x351)]:{_0xd2442b=_0x14e350[_0x458c87(0x2c6)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x41c)]:{_0xd2442b=_0x14e350[_0x458c87(0x34d)](_0x2c5612,_0x59785e);break;}case _0x14e350['EffectRefRangId']['MoveRangeCommandId']:{_0xd2442b=_0x14e350[_0x458c87(0x1fb)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x281)]:{_0xd2442b=_0x14e350[_0x458c87(0x3c1)](_0x2c5612,_0x59785e);break;}case _0x14e350[_0x458c87(0x1de)][_0x458c87(0x3cb)]:{_0xd2442b=_0x14e350['handleIRemoveRow'](_0x2c5612,_0x59785e);break;}}const _0x401175=_0x14e350[_0x458c87(0x3fd)](_0xd2442b,_0x59785e),_0xe3da36=this[_0x458c87(0x2f9)][_0x458c87(0x35f)](_0x15f2fd);if(_0xe3da36&&_0x401175){const _0x7323b2={..._0xe3da36,'range':_0x401175};this[_0x458c87(0x2f9)][_0x458c87(0x48a)](_0x15f2fd,_0x7323b2),_0x5f1f01(()=>{const _0x248dba=_0x458c87,_0x4f34ab=this[_0x248dba(0x33c)][_0x248dba(0x1fa)](_0x401175,_0x43b20f=>(_0x4f34ab[_0x248dba(0x462)](),_0x3800f1(_0x43b20f,_0x15f2fd,_0x99f65c,_0x401175)));_0x2c926f[_0x248dba(0x3c8)](_0x4f34ab);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x259c18(0x426)]((_0x3dea71,_0x42f5b7)=>{const _0x5314fb=_0x259c18,{range:_0x175d16,sheetID:_0xfa3c2}=_0x3dea71,_0x260eea=this[_0x5314fb(0x33c)][_0x5314fb(0x1fa)](_0x175d16,_0x1d07a0=>(_0x260eea[_0x5314fb(0x462)](),_0x3800f1(_0x1d07a0,_0x42f5b7,_0xfa3c2,_0x175d16)));_0x2c926f[_0x5314fb(0x3c8)](_0x260eea);});};this[_0x300729(0x466)](_0x4dc9d4['toDisposable'](this[_0x300729(0x38c)]['subscribe'](()=>{_0x1babdc();})));}[_0x4ff2ee(0x1f6)](){const _0x3c785e=_0x4ff2ee;var _0x10cd5b,_0xcb1ad4;if(this['_online']=!0x0,((_0x10cd5b=this[_0x3c785e(0x40a)]['getFocusedUnit']())==null?void 0x0:_0x10cd5b['getUnitId']())!==this[_0x3c785e(0x259)])return;const _0x1e6c28=(_0xcb1ad4=this['_injector'][_0x3c785e(0x35f)](_0x14e350[_0x3c785e(0x49e)])['getCurrentSelections']())==null?void 0x0:_0xcb1ad4[0x0],_0x4a6ba2=this[_0x3c785e(0x40a)][_0x3c785e(0x2d4)](_0x4dc9d4['UniverInstanceType'][_0x3c785e(0x380)])['getActiveSheet']();_0x1e6c28&&_0x4a6ba2&&this[_0x3c785e(0x27f)](_0x4a6ba2['getSheetId'](),_0x1e6c28);}[_0x4ff2ee(0x422)](){this['_online']=!0x1;}};_0x564c45=_0x5211eb([_0x203dcb(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4['Injector'])),_0x203dcb(0x3,_0x4dc9d4['Inject'](_0x278cb7)),_0x203dcb(0x4,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x2e0918['MemberService'])),_0x203dcb(0x5,_0x4dc9d4['IUniverInstanceService']),_0x203dcb(0x6,_0x4dc9d4['ICommandService']),_0x203dcb(0x7,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x14e350[_0x4ff2ee(0x1d3)]))],_0x564c45);var _0x4ac731=Object[_0x4ff2ee(0x304)],_0x409101=(_0x1f8c10,_0x5a3434,_0x38ed6a,_0x31e1d2)=>{for(var _0x4bc05e=_0x31e1d2>0x1?void 0x0:_0x31e1d2?_0x4ac731(_0x5a3434,_0x38ed6a):_0x5a3434,_0x5b0cd2=_0x1f8c10['length']-0x1,_0x1943dc;_0x5b0cd2>=0x0;_0x5b0cd2--)(_0x1943dc=_0x1f8c10[_0x5b0cd2])&&(_0x4bc05e=_0x1943dc(_0x4bc05e)||_0x4bc05e);return _0x4bc05e;},_0x1bd191=(_0x2f5646,_0x39bd4e)=>(_0x17b21e,_0xc89677)=>_0x39bd4e(_0x17b21e,_0xc89677,_0x2f5646);let _0x34079f=class extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(_0x49a7af,_0x9a9566,_0x1f6aa9){const _0x4c3ca5=_0x4ff2ee;super(),_0x3f28ac(this,'_entities',new Map()),_0x3f28ac(this,_0x4c3ca5(0x20d),new _0x488623[(_0x4c3ca5(0x1e0))]()),(this[_0x4c3ca5(0x40a)]=_0x49a7af,this[_0x4c3ca5(0x406)]=_0x9a9566,this[_0x4c3ca5(0x2bc)]=_0x1f6aa9,this[_0x4c3ca5(0x475)]());}['dispose'](){const _0x5f0ab9=_0x4ff2ee;super['dispose'](),this[_0x5f0ab9(0x20d)][_0x5f0ab9(0x3aa)](),this[_0x5f0ab9(0x39b)][_0x5f0ab9(0x426)](_0xb03f09=>_0xb03f09[_0x5f0ab9(0x462)]());}['getCollabCursors$'](_0xc084d1){const _0x4fca4c=_0x4ff2ee;return this['_entities'][_0x4fca4c(0x477)](_0xc084d1)?this['_entities'][_0x4fca4c(0x35f)](_0xc084d1)[_0x4fca4c(0x381)]:this[_0x4fca4c(0x20d)][_0x4fca4c(0x2b9)](_0x488623['filter'](_0x3cf414=>_0x3cf414[_0x4fca4c(0x259)]===_0xc084d1),_0x488623[_0x4fca4c(0x457)](_0x1128a5=>_0x1128a5[_0x4fca4c(0x381)]));}[_0x4ff2ee(0x475)](){const _0x170c73=_0x4ff2ee;this[_0x170c73(0x40a)][_0x170c73(0x382)](_0x4dc9d4[_0x170c73(0x35a)][_0x170c73(0x380)])['pipe'](_0x488623['takeUntil'](this[_0x170c73(0x1d7)]))[_0x170c73(0x292)](async _0x2e3130=>{const _0x5f1f70=_0x170c73,_0x4b01b9=_0x2e3130[_0x5f1f70(0x249)](),_0x346a7d=await this[_0x5f1f70(0x22f)](_0x4b01b9);this[_0x5f1f70(0x20d)][_0x5f1f70(0x474)](_0x346a7d),this[_0x5f1f70(0x39b)][_0x5f1f70(0x48a)](_0x4b01b9,_0x346a7d);}),this[_0x170c73(0x40a)][_0x170c73(0x382)](_0x4dc9d4[_0x170c73(0x35a)][_0x170c73(0x340)])[_0x170c73(0x2b9)](_0x488623['takeUntil'](this['dispose$']))['pipe'](_0x488623[_0x170c73(0x354)](_0xfa59c=>!_0xfa59c[_0x170c73(0x249)]()[_0x170c73(0x3f7)]('__')))['subscribe'](async _0x3fcdac=>{const _0x52cfd6=_0x170c73,_0x2362df=_0x3fcdac[_0x52cfd6(0x249)](),_0x48afd7=await this['_startDocCollabCursor'](_0x2362df);this[_0x52cfd6(0x20d)]['next'](_0x48afd7),this[_0x52cfd6(0x39b)]['set'](_0x2362df,_0x48afd7);}),_0x488623['merge'](this[_0x170c73(0x40a)][_0x170c73(0x45e)](_0x4dc9d4[_0x170c73(0x35a)][_0x170c73(0x340)]),this[_0x170c73(0x40a)][_0x170c73(0x45e)](_0x4dc9d4['UniverInstanceType']['UNIVER_SHEET']))[_0x170c73(0x2b9)](_0x488623[_0x170c73(0x1d2)](this['dispose$']))[_0x170c73(0x292)](_0x16328f=>{const _0x2500bf=_0x170c73,_0x34815b=_0x16328f[_0x2500bf(0x249)](),_0x1918a6=this[_0x2500bf(0x39b)][_0x2500bf(0x35f)](_0x34815b);_0x1918a6&&(_0x1918a6['dispose'](),this[_0x2500bf(0x39b)][_0x2500bf(0x3dd)](_0x34815b));});}async[_0x4ff2ee(0x22f)](_0x36c024){const _0xe03cb2=_0x4ff2ee,_0x270194=await this[_0xe03cb2(0x2bc)][_0xe03cb2(0x389)](_0x36c024),_0x4d967d=this[_0xe03cb2(0x406)][_0xe03cb2(0x346)](_0x564c45,_0x36c024,_0x270194);return _0x4d967d[_0xe03cb2(0x411)](),_0x4d967d;}async['_startDocCollabCursor'](_0x27c6a8){const _0x3b1eb0=_0x4ff2ee,_0x2fee29=await this['_collabSessionService'][_0x3b1eb0(0x389)](_0x27c6a8),_0x1d6eb6=this[_0x3b1eb0(0x406)][_0x3b1eb0(0x346)](_0x2eb2d8,_0x27c6a8,_0x2fee29);return _0x1d6eb6[_0x3b1eb0(0x411)](),_0x1d6eb6;}};_0x34079f=_0x409101([_0x1bd191(0x0,_0x4dc9d4[_0x4ff2ee(0x490)]),_0x1bd191(0x1,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x419)])),_0x1bd191(0x2,_0x4dc9d4['Inject'](_0x2e0918[_0x4ff2ee(0x453)]))],_0x34079f);const _0x3575ff=0x14,_0x1f7a07=0xc8,_0x40e03e=0x4,_0x40a4a1=0x5;function _0x159102(_0x30df7e,_0x2b2304){const _0x441082=_0x4ff2ee;let {radius:_0x43bdca,width:_0x50ebae,height:_0x142dbb}=_0x2b2304;_0x43bdca=_0x43bdca!=null?_0x43bdca:0x0,_0x50ebae=_0x50ebae!=null?_0x50ebae:0x1e,_0x142dbb=_0x142dbb!=null?_0x142dbb:0x1e;let _0x35e4e8=0x0,_0x4cca90=0x0,_0x4a5f2e=0x0;_0x35e4e8=_0x4cca90=_0x4a5f2e=Math[_0x441082(0x284)](_0x43bdca,_0x50ebae/0x2,_0x142dbb/0x2),_0x30df7e['beginPath'](),_0x30df7e[_0x441082(0x311)](_0x35e4e8,0x0),_0x30df7e[_0x441082(0x283)](_0x50ebae-_0x4cca90,0x0),_0x30df7e[_0x441082(0x47d)](_0x50ebae-_0x4cca90,_0x4cca90,_0x4cca90,Math['PI']*0x3/0x2,0x0,!0x1),_0x30df7e[_0x441082(0x283)](_0x50ebae,_0x142dbb-_0x4a5f2e),_0x30df7e[_0x441082(0x47d)](_0x50ebae-_0x4a5f2e,_0x142dbb-_0x4a5f2e,_0x4a5f2e,0x0,Math['PI']/0x2,!0x1),_0x30df7e[_0x441082(0x283)](0x0,_0x142dbb),_0x30df7e[_0x441082(0x283)](0x0,_0x35e4e8),_0x30df7e[_0x441082(0x47d)](_0x35e4e8,_0x35e4e8,_0x35e4e8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x30df7e[_0x441082(0x251)](),_0x2b2304[_0x441082(0x25e)]&&(_0x30df7e['save'](),_0x30df7e['fillStyle']=_0x2b2304['fill'],_0x2b2304[_0x441082(0x34e)]==='evenodd'?_0x30df7e[_0x441082(0x25e)](_0x441082(0x3d6)):_0x30df7e[_0x441082(0x25e)](),_0x30df7e[_0x441082(0x49a)]());}class _0x25376a extends _0x37167b[_0x4ff2ee(0x2c5)]{constructor(_0x543054,_0x4668e1){const _0x1e2685=_0x4ff2ee;super(_0x543054,_0x4668e1),_0x3f28ac(this,'color'),_0x3f28ac(this,'text'),(this[_0x1e2685(0x363)]=_0x4668e1==null?void 0x0:_0x4668e1[_0x1e2685(0x363)],this['text']=_0x4668e1==null?void 0x0:_0x4668e1[_0x1e2685(0x315)]);}static[_0x4ff2ee(0x26f)](_0x55c676,_0x50e1c0){const _0x2a871f=_0x4ff2ee,{text:_0x5af886,color:_0x2388f2}=_0x50e1c0;_0x55c676[_0x2a871f(0x257)](),_0x55c676[_0x2a871f(0x2cd)]=_0x2a871f(0x326);const _0xbacde7=_0x55c676[_0x2a871f(0x450)](_0x5af886)[_0x2a871f(0x476)],_0x47c725=Math['min'](_0xbacde7+0x2*_0x40e03e,_0x1f7a07);_0x159102(_0x55c676,{'height':_0x3575ff,'radius':0x4,'width':_0x47c725,'fill':_0x2388f2}),_0x55c676[_0x2a871f(0x33e)]=_0x2a871f(0x383);const _0x2155bd=_0x40e03e,_0x60c9d9=_0x3575ff-_0x40a4a1,_0x4b568d=_0x1f7a07-0x2*_0x40e03e;if(_0xbacde7>_0x4b568d){let _0x1bd530='',_0x460350=0x0;for(const _0x4b9da1 of _0x5af886){const _0x4c9a72=_0x55c676[_0x2a871f(0x450)](_0x4b9da1)[_0x2a871f(0x476)];if(_0x460350+_0x4c9a72<=_0x4b568d-_0x55c676['measureText'](_0x2a871f(0x431))[_0x2a871f(0x476)])_0x1bd530+=_0x4b9da1,_0x460350+=_0x4c9a72;else{_0x1bd530+=_0x2a871f(0x431);break;}}_0x55c676['fillText'](_0x1bd530,_0x2155bd,_0x60c9d9);}else _0x55c676[_0x2a871f(0x42b)](_0x5af886,_0x2155bd,_0x60c9d9);_0x55c676['restore']();}[_0x4ff2ee(0x253)](_0x5c8be9){const _0x1d68a4=_0x4ff2ee;_0x25376a[_0x1d68a4(0x26f)](_0x5c8be9,this);}}const _0x3991df=_0x4ff2ee(0x3ad),_0x169cc4=_0x4ff2ee(0x3a6),_0x1d7b67=_0x4ff2ee(0x3ce),_0x74fa0e=0x6,_0x3ce0db=1.5,_0x2de97=0x4,_0x10bd86=1.5,_0x23920e=_0x4ff2ee(0x36a);class _0x4afd20{constructor(_0x5b56e0,_0xb6549b,_0x519fb3,_0x3608c8){const _0x25d001=_0x4ff2ee;_0x3f28ac(this,_0x25d001(0x44f),[]),_0x3f28ac(this,_0x25d001(0x46c),null),_0x3f28ac(this,'_textBubble',null),_0x3f28ac(this,'_anchorDot',null),_0x3f28ac(this,_0x25d001(0x3ef),null),_0x3f28ac(this,_0x25d001(0x2f2),null),(this[_0x25d001(0x26e)]=_0x5b56e0,this[_0x25d001(0x3a4)]=_0xb6549b,this['_docSkeleton']=_0x519fb3,this['_document']=_0x3608c8,this[_0x25d001(0x1f2)]());}set[_0x4ff2ee(0x37f)](_0x2a7b8d){const _0x5c0178=_0x4ff2ee;_0x2a7b8d?(this[_0x5c0178(0x206)]&&this[_0x5c0178(0x206)][_0x5c0178(0x3e9)](),this['_textBubble']&&this['_textBubble'][_0x5c0178(0x344)]()):(this[_0x5c0178(0x206)]&&this['_anchorDot'][_0x5c0178(0x344)](),this[_0x5c0178(0x339)]&&this[_0x5c0178(0x339)]['hide']());}[_0x4ff2ee(0x462)](){const _0x596692=_0x4ff2ee;for(const _0x4134ec of this[_0x596692(0x44f)])_0x4134ec[_0x596692(0x462)]();this[_0x596692(0x339)]&&this['_textBubble']['dispose'](),this[_0x596692(0x206)]&&this[_0x596692(0x206)][_0x596692(0x462)](),this['_anchor']&&this['_anchor'][_0x596692(0x462)](),this[_0x596692(0x2f2)]&&this[_0x596692(0x2f2)]();}[_0x4ff2ee(0x1f2)](){const _0x4f69b6=_0x4ff2ee;var _0x5482a7;const {_docSkeleton:_0x1998d8,_document:_0x3a4be5}=this,{color:_0x3b2424,name:_0x4b2e4b,ranges:_0x2451d3}=this[_0x4f69b6(0x26e)],_0x225ca8=_0x3a4be5[_0x4f69b6(0x3ee)](),{docsLeft:_0x51de80,docsTop:_0x3efb68}=_0x225ca8,_0x35b6b9=new _0x504cab[(_0x4f69b6(0x48d))](_0x225ca8,_0x1998d8);for(const {startOffset:_0x30f38e,endOffset:_0x5748a2,rangeType:_0xa4d25a,segmentId:_0x44c2f3,segmentPage:_0xd4d6d5,collapsed:_0x20f56c,isActive:_0x12367c}of _0x2451d3){const _0x42fc32=_0x1998d8[_0x4f69b6(0x341)](_0x30f38e,!0x0,_0x44c2f3,_0xd4d6d5);let _0x5df371=_0x1998d8[_0x4f69b6(0x341)](_0x5748a2,!0x0,_0x44c2f3,_0xd4d6d5);if(_0x5df371==null&&(_0x5df371=_0x1998d8[_0x4f69b6(0x341)](_0x5748a2-0x1,!0x1,_0x44c2f3,_0xd4d6d5)),_0x12367c){const {contentBoxPointGroup:_0x51619d}=_0x35b6b9[_0x4f69b6(0x460)](_0x5df371,_0x5df371);if(_0x51619d[_0x4f69b6(0x274)]===0x0)continue;this['_drawAnchor'](_0x3b2424,_0x51619d,_0x51de80,_0x3efb68,_0x4b2e4b),this[_0x4f69b6(0x2f2)]=this['_handleHover']();}if(_0x42fc32&&_0x5df371){if(_0xa4d25a===_0x4dc9d4[_0x4f69b6(0x30a)][_0x4f69b6(0x263)]){const _0x56e04d=new _0x504cab['NodePositionConvertToRectRange'](_0x225ca8,_0x1998d8),{pointGroup:_0x452c4a}=(_0x5482a7=_0x56e04d['getRangePointData'](_0x42fc32,_0x5df371))!=null?_0x5482a7:{};if(_0x452c4a==null||_0x452c4a[_0x4f69b6(0x274)]===0x0)continue;this[_0x4f69b6(0x235)](_0x3b2424,_0x452c4a,_0x51de80,_0x3efb68);}else{if(!_0x20f56c){const {borderBoxPointGroup:_0x255bc9}=_0x35b6b9[_0x4f69b6(0x460)](_0x42fc32,_0x5df371);if(_0x255bc9[_0x4f69b6(0x274)]===0x0)continue;this[_0x4f69b6(0x430)](_0x3b2424,_0x255bc9,_0x51de80,_0x3efb68);}}}}}['_drawAnchor'](_0x2b13dc,_0x4deb26,_0x59dcff,_0x981f33,_0xa85a9e){const _0x1f5b23=_0x4ff2ee,_0x31916b=this[_0x1f5b23(0x2a7)](_0x4deb26),{left:_0x6df70b,top:_0x2daec9,height:_0x1f23a0}=_0x31916b,_0x5808af=this[_0x1f5b23(0x33f)](),_0x4d9bda=_0x10bd86/_0x5808af,_0x1878cb=new _0x37167b[(_0x1f5b23(0x215))](_0x3991df+_0x4dc9d4[_0x1f5b23(0x2c9)](_0x74fa0e),{'left':_0x6df70b+_0x59dcff-_0x4d9bda,'top':_0x2daec9+_0x981f33,'height':_0x1f23a0,'width':_0x3ce0db,'fill':_0x2b13dc||_0x37167b[_0x1f5b23(0x46b)](_0x4dc9d4[_0x1f5b23(0x39c)][_0x1f5b23(0x413)],0x0),'strokeWidth':_0x4d9bda,'stroke':_0x23920e,'evented':!0x0});this['_anchor']=_0x1878cb,this['_scene'][_0x1f5b23(0x378)](_0x1878cb,_0x504cab[_0x1f5b23(0x2ba)]);const _0x5f2376=new _0x37167b[(_0x1f5b23(0x215))](_0x3991df+_0x4dc9d4['generateRandomId'](_0x74fa0e),{'left':_0x6df70b+_0x59dcff-_0x4d9bda,'top':_0x2daec9+_0x981f33-_0x2de97/0x2,'height':_0x2de97,'width':_0x2de97,'fill':_0x2b13dc||_0x37167b[_0x1f5b23(0x46b)](_0x4dc9d4[_0x1f5b23(0x39c)][_0x1f5b23(0x413)],0x0),'strokeWidth':0x0,'stroke':_0x2b13dc||_0x37167b['getColor'](_0x4dc9d4[_0x1f5b23(0x39c)][_0x1f5b23(0x413)],0x0),'evented':!0x1});this[_0x1f5b23(0x206)]=_0x5f2376,this[_0x1f5b23(0x3a4)]['addObject'](_0x5f2376,_0x504cab[_0x1f5b23(0x2ba)]);const _0x1984fe=new _0x25376a(_0x3991df+_0x4dc9d4[_0x1f5b23(0x2c9)](_0x74fa0e),{'left':_0x6df70b+_0x59dcff-_0x4d9bda,'top':_0x2daec9+_0x981f33-_0x3575ff,'text':_0xa85a9e,'color':_0x2b13dc});this['_textBubble']=_0x1984fe,this[_0x1f5b23(0x3a4)]['addObject'](_0x1984fe,_0x504cab[_0x1f5b23(0x2ba)]),this['_hover']=!0x1;}[_0x4ff2ee(0x3d2)](){const _0x30e0c9=_0x4ff2ee,_0x183a31=this['_anchor'][_0x30e0c9(0x3c5)]['subscribeEvent'](()=>{const _0x3578b6=_0x30e0c9;this[_0x3578b6(0x37f)]=!0x0;}),_0x576274=this[_0x30e0c9(0x46c)][_0x30e0c9(0x372)]['subscribeEvent'](()=>{const _0x1eae2e=_0x30e0c9;this['_hideTimer']&&clearTimeout(this[_0x1eae2e(0x3ef)]),this[_0x1eae2e(0x3ef)]=setTimeout(()=>{const _0x5bc7b8=_0x1eae2e;this[_0x5bc7b8(0x37f)]=!0x1;},0x7d0);});return()=>{const _0x4236ba=_0x30e0c9;_0x183a31['unsubscribe'](),_0x576274[_0x4236ba(0x3b0)]();};}['_drawTextRange'](_0x2b66c1,_0x3a2260,_0x1f46d4,_0x588d24){const _0x1c853a=_0x4ff2ee,_0x439f66=new _0x4dc9d4[(_0x1c853a(0x265))](_0x2b66c1)[_0x1c853a(0x480)](0.2)[_0x1c853a(0x34b)](),_0x2941ca=new _0x37167b[(_0x1c853a(0x288))](_0x169cc4+_0x4dc9d4[_0x1c853a(0x2c9)](_0x74fa0e),{'pointsGroup':_0x3a2260,'fill':_0x439f66||_0x37167b['getColor'](_0x4dc9d4['COLORS'][_0x1c853a(0x413)],0.2),'left':_0x1f46d4,'top':_0x588d24,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c853a(0x44f)][_0x1c853a(0x3d5)](_0x2941ca),this[_0x1c853a(0x3a4)][_0x1c853a(0x378)](_0x2941ca,_0x504cab[_0x1c853a(0x2ba)]);}[_0x4ff2ee(0x235)](_0x2e9b8c,_0x144d3c,_0x46b4b4,_0x43d22e){const _0x71145b=_0x4ff2ee,_0x43c7ff=new _0x4dc9d4[(_0x71145b(0x265))](_0x2e9b8c)['setAlpha'](0.2)[_0x71145b(0x34b)](),_0x45b6ed=new _0x37167b[(_0x71145b(0x288))](_0x1d7b67+_0x4dc9d4[_0x71145b(0x2c9)](_0x74fa0e),{'pointsGroup':_0x144d3c,'fill':_0x43c7ff||_0x37167b[_0x71145b(0x46b)](_0x4dc9d4[_0x71145b(0x39c)]['black'],0.2),'left':_0x46b4b4,'top':_0x43d22e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x71145b(0x44f)][_0x71145b(0x3d5)](_0x45b6ed),this[_0x71145b(0x3a4)][_0x71145b(0x378)](_0x45b6ed,_0x504cab[_0x71145b(0x2ba)]);}[_0x4ff2ee(0x2a7)](_0x5985c4){const _0xef152b=_0x5985c4[0x0],_0x20ea35=_0xef152b[0x0],_0x3c7aed=_0xef152b[0x2],{x:_0x394531,y:_0x165273}=_0x20ea35,{x:_0x15ee4d,y:_0x2cde2a}=_0x3c7aed;return{'left':_0x394531,'top':_0x165273,'width':_0x15ee4d-_0x394531,'height':_0x2cde2a-_0x165273};}[_0x4ff2ee(0x33f)](){const _0x5f1667=_0x4ff2ee,{scaleX:_0x36d22c,scaleY:_0x20d01d}=this['_scene']['getAncestorScale']();return Math[_0x5f1667(0x2ac)](_0x36d22c,_0x20d01d);}}var _0x42419e=Object[_0x4ff2ee(0x304)],_0x4e49f8=(_0x321319,_0x4f1601,_0x1d07ec,_0x4d6dcb)=>{const _0x4d1c40=_0x4ff2ee;for(var _0x4094b2=_0x4d6dcb>0x1?void 0x0:_0x4d6dcb?_0x42419e(_0x4f1601,_0x1d07ec):_0x4f1601,_0x35b3b6=_0x321319[_0x4d1c40(0x274)]-0x1,_0x4ab23b;_0x35b3b6>=0x0;_0x35b3b6--)(_0x4ab23b=_0x321319[_0x35b3b6])&&(_0x4094b2=_0x4ab23b(_0x4094b2)||_0x4094b2);return _0x4094b2;},_0x3bd2d3=(_0x444de1,_0x3b794e)=>(_0x1a1ffd,_0xd47e9e)=>_0x3b794e(_0x1a1ffd,_0xd47e9e,_0x444de1);let _0x4db7f9=class extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(_0x397ee6,_0x6fcea,_0x4afb46,_0x5e4488,_0x261200){const _0x1a8c0a=_0x4ff2ee;super(),_0x3f28ac(this,'_cursorShapes',[]),_0x3f28ac(this,_0x1a8c0a(0x233),[]),(this[_0x1a8c0a(0x3c4)]=_0x397ee6,this[_0x1a8c0a(0x256)]=_0x6fcea,this[_0x1a8c0a(0x3f2)]=_0x4afb46,this[_0x1a8c0a(0x35d)]=_0x5e4488,this[_0x1a8c0a(0x428)]=_0x261200,this[_0x1a8c0a(0x475)]());}[_0x4ff2ee(0x475)](){const _0x290e4c=_0x4ff2ee,_0x143007=this[_0x290e4c(0x3c4)][_0x290e4c(0x470)],_0x83e060=this[_0x290e4c(0x256)];this[_0x290e4c(0x466)](_0x488623[_0x290e4c(0x1df)]([this[_0x290e4c(0x3f2)][_0x290e4c(0x3ed)](_0x143007),this[_0x290e4c(0x428)][_0x290e4c(0x331)]])[_0x290e4c(0x2b9)](_0x2eb3af[_0x290e4c(0x3ab)](([_0x5567fb,_0x299eb9])=>({'skeleton':_0x83e060[_0x290e4c(0x444)](),'cursors':[..._0x5567fb[_0x290e4c(0x321)]()][_0x290e4c(0x45b)](_0x24608a=>({..._0x24608a,'color':this['_themeService'][_0x290e4c(0x2cf)](_0x24608a[_0x290e4c(0x363)])}))})))['subscribe'](_0x2bb0c9=>{const _0x39077d=_0x290e4c;if(this[_0x39077d(0x47c)](),_0x2bb0c9){const {skeleton:_0x11ec34,cursors:_0x5c6c90}=_0x2bb0c9;this['_updateCollabCursors'](_0x11ec34,_0x5c6c90);}})),this[_0x290e4c(0x3fb)](),this[_0x290e4c(0x408)]();}[_0x4ff2ee(0x26c)](_0xfe8c96,_0x36d960){const _0x5385b5=_0x4ff2ee,{scene:_0x4f5dbb,mainComponent:_0x19be9e}=this[_0x5385b5(0x3c4)],_0x14cba1=_0x36d960[_0x5385b5(0x3ab)](_0x336886=>new _0x4afd20(_0x336886,_0x4f5dbb,_0xfe8c96,_0x19be9e));this[_0x5385b5(0x267)]=_0x14cba1,this[_0x5385b5(0x233)]=_0x36d960;}['_refreshCollabCursors'](){const _0x235f1c=_0x4ff2ee;this[_0x235f1c(0x47c)]();const {scene:_0x35a974,mainComponent:_0x460725}=this['_context'],_0x35fb85=this[_0x235f1c(0x256)]['getSkeleton'](),_0x3ad9f4=this[_0x235f1c(0x233)][_0x235f1c(0x3ab)](_0x21c90d=>new _0x4afd20(_0x21c90d,_0x35a974,_0x35fb85,_0x460725));this['_cursorShapes']=_0x3ad9f4;}[_0x4ff2ee(0x47c)](){const _0x46b3a9=_0x4ff2ee;this['_cursorShapes'][_0x46b3a9(0x426)](_0x95febd=>_0x95febd[_0x46b3a9(0x462)]()),this[_0x46b3a9(0x267)]=[];}['_initCommandExecutedListener'](){const _0x3d1043=_0x4ff2ee,_0x2540e8=[_0x504cab[_0x3d1043(0x324)]['id']];this[_0x3d1043(0x466)](this[_0x3d1043(0x35d)]['onCommandExecuted'](_0x3198d9=>{const _0x1bd53b=_0x3d1043;_0x2540e8[_0x1bd53b(0x22d)](_0x3198d9['id'])&&_0x3198d9['params'][_0x1bd53b(0x470)]===this['_context'][_0x1bd53b(0x470)]&&this[_0x1bd53b(0x415)]();}));}['_initResize'](){const _0x185a55=_0x4ff2ee;this[_0x185a55(0x466)](_0x4dc9d4[_0x185a55(0x393)](this['_context'][_0x185a55(0x3f0)][_0x185a55(0x34c)])['pipe'](_0x2eb3af[_0x185a55(0x354)](_0x1c93d0=>_0x1c93d0[_0x185a55(0x308)]===_0x37167b[_0x185a55(0x1dd)][_0x185a55(0x3ec)]),_0x2eb3af[_0x185a55(0x397)](0x10))['subscribe'](()=>{const _0x4a3729=_0x185a55;this[_0x4a3729(0x415)]();}));}};_0x4db7f9=_0x4e49f8([_0x3bd2d3(0x1,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x2ffbcd[_0x4ff2ee(0x3fe)])),_0x3bd2d3(0x2,_0x4dc9d4['Inject'](_0x34079f)),_0x3bd2d3(0x3,_0x4dc9d4[_0x4ff2ee(0x396)]),_0x3bd2d3(0x4,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x37b)]))],_0x4db7f9);const _0x3e3d8c=0x1,_0xb98e7a=1.5;class _0x3ffa84 extends _0x37167b[_0x4ff2ee(0x2c5)]{constructor(_0x49e09a,_0x15d080){const _0x2fe76b=_0x4ff2ee;super(_0x49e09a,_0x15d080),_0x3f28ac(this,_0x2fe76b(0x296)),_0x3f28ac(this,_0x2fe76b(0x223),!0x1),_0x3f28ac(this,_0x2fe76b(0x48b)),_0x3f28ac(this,_0x2fe76b(0x2d7),''),_0x3f28ac(this,_0x2fe76b(0x3c0),_0x2fe76b(0x1dc)),_0x3f28ac(this,_0x2fe76b(0x306)),(_0x15d080&&this[_0x2fe76b(0x286)](_0x15d080),this['onPointerEnter$'][_0x2fe76b(0x410)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x2fe76b(0x372)][_0x2fe76b(0x410)](()=>this[_0x2fe76b(0x286)]({'hovered':!0x1})));}[_0x4ff2ee(0x286)](_0x18d5c3){const _0x40a3c8=_0x4ff2ee;var _0x224c1d,_0x3667de,_0x94a9e7,_0x5af439,_0x44f5ff,_0x4244f6;this['_color']=(_0x224c1d=_0x18d5c3['color'])!=null?_0x224c1d:this['_color'],this[_0x40a3c8(0x223)]=(_0x3667de=_0x18d5c3[_0x40a3c8(0x3a8)])!=null?_0x3667de:this['_hovered'],this[_0x40a3c8(0x48b)]=(_0x94a9e7=_0x18d5c3['range'])!=null?_0x94a9e7:this['_range'],this[_0x40a3c8(0x2d7)]=(_0x5af439=_0x18d5c3[_0x40a3c8(0x3e7)])!=null?_0x5af439:this[_0x40a3c8(0x2d7)],this[_0x40a3c8(0x3c0)]=(_0x44f5ff=_0x18d5c3['labelPosition'])!=null?_0x44f5ff:this['_labelPosition'],this[_0x40a3c8(0x306)]=(_0x4244f6=_0x18d5c3['backgroundColor'])!=null?_0x4244f6:this[_0x40a3c8(0x306)],this[_0x40a3c8(0x32f)]({'width':_0x18d5c3[_0x40a3c8(0x476)],'height':_0x18d5c3['height']});}[_0x4ff2ee(0x41d)](_0x19f28a){const _0x366f94=_0x4ff2ee,{row:_0x384bd9,column:_0x41c638}=_0x19f28a;if(_0x384bd9>=this[_0x366f94(0x48b)][_0x366f94(0x28b)]&&_0x384bd9<=this[_0x366f94(0x48b)][_0x366f94(0x289)]&&_0x41c638>=this['_range'][_0x366f94(0x3b2)]&&_0x41c638<=this[_0x366f94(0x48b)][_0x366f94(0x43b)]){this[_0x366f94(0x286)]({'hovered':!0x0});return;}this[_0x366f94(0x286)]({'hovered':!0x1});}[_0x4ff2ee(0x3d1)](_0x463f2a){return!0x1;}[_0x4ff2ee(0x253)](_0x19ab47){const _0x55b6b2=_0x4ff2ee;_0x37167b[_0x55b6b2(0x215)][_0x55b6b2(0x26f)](_0x19ab47,{'width':this[_0x55b6b2(0x476)],'height':this[_0x55b6b2(0x301)],'strokeWidth':_0xb98e7a,'stroke':this[_0x55b6b2(0x296)],'evented':!0x1,'fill':this[_0x55b6b2(0x306)]}),this[_0x55b6b2(0x223)]&&(_0x19ab47[_0x55b6b2(0x257)](),_0x19ab47[_0x55b6b2(0x3c3)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x55b6b2(0x250)?0x0:-_0x3575ff),_0x25376a[_0x55b6b2(0x26f)](_0x19ab47,{'text':this[_0x55b6b2(0x2d7)],'color':this[_0x55b6b2(0x296)]}),_0x19ab47[_0x55b6b2(0x49a)]());}}var _0x394f10=Object['getOwnPropertyDescriptor'],_0x46a1cb=(_0x1a5917,_0x513f27,_0xcf5dbe,_0x4b1e4e)=>{const _0x31010a=_0x4ff2ee;for(var _0x273d5c=_0x4b1e4e>0x1?void 0x0:_0x4b1e4e?_0x394f10(_0x513f27,_0xcf5dbe):_0x513f27,_0x5b2385=_0x1a5917[_0x31010a(0x274)]-0x1,_0x10dcf3;_0x5b2385>=0x0;_0x5b2385--)(_0x10dcf3=_0x1a5917[_0x5b2385])&&(_0x273d5c=_0x10dcf3(_0x273d5c)||_0x273d5c);return _0x273d5c;},_0x465bb5=(_0x1c85e2,_0x465f33)=>(_0x716dad,_0x38506c)=>_0x465f33(_0x716dad,_0x38506c,_0x1c85e2);const _0x35ca8e=0x1389;let _0x5b2dfc=class extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(_0x9296cd,_0x27c1ef,_0x402747,_0x27d535){const _0x3ed41c=_0x4ff2ee;super(),_0x3f28ac(this,_0x3ed41c(0x233),new Set()),_0x3f28ac(this,_0x3ed41c(0x436),null),(this['_context']=_0x9296cd,this[_0x3ed41c(0x229)]=_0x27c1ef,this[_0x3ed41c(0x3f2)]=_0x402747,this[_0x3ed41c(0x428)]=_0x27d535,this[_0x3ed41c(0x475)]());}[_0x4ff2ee(0x475)](){const _0x20357f=_0x4ff2ee;this[_0x20357f(0x229)][_0x20357f(0x3a0)][_0x20357f(0x2b9)](_0x2eb3af['takeUntil'](this[_0x20357f(0x1d7)]),_0x2eb3af[_0x20357f(0x457)](_0x2a1b2f=>{const _0x26d4be=_0x20357f;if(_0x2a1b2f){const _0x27141f=_0x2a1b2f[_0x26d4be(0x2fd)];return _0x488623[_0x26d4be(0x1df)](this['_collabCursorController']['getCollabCursors$'](this[_0x26d4be(0x3c4)]['unitId']),this['_themeService'][_0x26d4be(0x331)])[_0x26d4be(0x2b9)](_0x2eb3af[_0x26d4be(0x3ab)](([_0x2c501e,_0x4bb5ed])=>{const _0x4d8000=_0x26d4be,_0x3845f3=new Map();return _0x2c501e[_0x4d8000(0x426)]((_0x5ba738,_0x29d708)=>{const _0x1c9bd4=_0x4d8000;if(_0x5ba738[_0x1c9bd4(0x205)]===_0x27141f){const _0x2318ce={..._0x5ba738};_0x2318ce[_0x1c9bd4(0x363)]=this[_0x1c9bd4(0x428)][_0x1c9bd4(0x2cf)](_0x5ba738[_0x1c9bd4(0x363)]),_0x3845f3[_0x1c9bd4(0x48a)](_0x29d708,_0x2318ce);}}),{'skeleton':_0x2a1b2f,'cursors':_0x3845f3};}));}return _0x488623['of']({'skeleton':null,'cursors':new Map()});}))[_0x20357f(0x292)](({skeleton:_0xb4a3e,cursors:_0x71a4e9})=>{const _0x57bcea=_0x20357f;this[_0x57bcea(0x47c)](),_0xb4a3e&&this[_0x57bcea(0x26c)](_0xb4a3e,_0x71a4e9);}),this[_0x20357f(0x229)][_0x20357f(0x3a0)][_0x20357f(0x292)](_0x202915=>{const _0xf9cb39=_0x20357f;if(_0x202915==null)return;const {skeleton:_0xb0a08d}=_0x202915,{scene:_0x2f5d0d}=this['_context'];_0x2f5d0d[_0xf9cb39(0x20f)][_0xf9cb39(0x410)](_0x4dc9d4[_0xf9cb39(0x1f4)](_0x1a7996=>{const _0x857207=_0xf9cb39;var _0x95d61c,_0x337570;const {offsetX:_0x27c2ba,offsetY:_0x454196}=_0x1a7996,{x:_0x404678,y:_0x3b0d24}=_0x2f5d0d[_0x857207(0x37d)](_0x37167b['Vector2'][_0x857207(0x1e7)]([_0x27c2ba,_0x454196])),{scaleX:_0x9190c7,scaleY:_0x17bacc}=_0x2f5d0d['getAncestorScale'](),_0x24abc7=_0x2f5d0d[_0x857207(0x3cf)](_0x37167b['SHEET_VIEWPORT_KEY'][_0x857207(0x2d5)]),_0x4c2b8c=_0x2f5d0d[_0x857207(0x1ec)](_0x37167b[_0x857207(0x384)][_0x857207(0x1e7)]([_0x404678,_0x3b0d24]),_0x24abc7),_0x4757d0=_0xb0a08d[_0x857207(0x230)](_0x27c2ba,_0x454196,_0x9190c7,_0x17bacc,_0x4c2b8c);((_0x95d61c=this[_0x857207(0x436)])==null?void 0x0:_0x95d61c['column'])===_0x4757d0[_0x857207(0x266)]&&((_0x337570=this[_0x857207(0x436)])==null?void 0x0:_0x337570[_0x857207(0x26a)])===_0x4757d0[_0x857207(0x26a)]||this['_cursors'][_0x857207(0x426)](_0x57fcd6=>{const _0x8a76ea=_0x857207;_0x57fcd6[_0x8a76ea(0x41d)](_0x4757d0);});},0x64));});}[_0x4ff2ee(0x26c)](_0x5f0b7b,_0x489b60){const _0x1dc067=_0x4ff2ee;var _0x157d18;const _0x5d6f51=(_0x157d18=this[_0x1dc067(0x229)][_0x1dc067(0x2f6)]())==null?void 0x0:_0x157d18[_0x1dc067(0x21c)];if(!_0x5d6f51)return;const _0x1c49d8=this[_0x1dc067(0x401)]();if(!_0x1c49d8)return;this[_0x1dc067(0x233)][_0x1dc067(0x426)](_0x1fff1b=>{const _0x36f3ab=_0x1dc067;_0x1fff1b[_0x36f3ab(0x395)]();});const {scene:_0x1a792d}=_0x1c49d8,_0x3871a=_0x2d2cfc(Array[_0x1dc067(0x2c1)](_0x489b60[_0x1dc067(0x321)]()))[_0x1dc067(0x3ab)](_0x4d2a69=>{const _0x50e03c=_0x1dc067,{color:_0x502f18,range:_0x3ebeee,name:_0x5896db,selection:_0x5de265,sheetID:_0x398393}=_0x4d2a69,{startColumn:_0x2fc623,startRow:_0x23857e,endColumn:_0x36c1a9,endRow:_0x21a451}=_0x3ebeee,_0x5e723a=_0x4e7875[_0x50e03c(0x3da)](_0x23857e,_0x2fc623,_0x1a792d,_0x5d6f51),_0x4f4493=_0x4e7875[_0x50e03c(0x3da)](_0x21a451,_0x36c1a9,_0x1a792d,_0x5d6f51),{columnHeaderHeightAndMarginTop:_0x2ead66}=_0x5d6f51,{startX:_0x2a0dcb,startY:_0x1229ae}=_0x5e723a,{endX:_0x353a08,endY:_0x28dd16}=_0x4f4493,_0x189b62=_0x353a08-_0x2a0dcb,_0x22c3c8=_0x28dd16-_0x1229ae,_0x403ada={'labelPosition':_0x1229ae-_0x2ead66>=_0x3575ff?'top':_0x50e03c(0x250),'sheetID':_0x398393,'range':_0x3ebeee,'color':_0x502f18,'name':_0x5896db,'selection':_0x5de265,'left':_0x2a0dcb,'top':_0x1229ae,'width':_0x189b62,'height':_0x22c3c8,'evented':!0x1,'zIndex':_0x35ca8e};return new _0x3ffa84(_0x5896db,_0x403ada);});_0x1a792d[_0x1dc067(0x20b)](_0x3871a,_0x3e3d8c),this[_0x1dc067(0x233)]=new Set(_0x3871a);}['_removeCollabCursors'](){const _0x20d4bd=_0x4ff2ee;var _0x5e2e38;(_0x5e2e38=this[_0x20d4bd(0x233)])==null||_0x5e2e38['forEach'](_0x46f277=>_0x46f277['dispose']());}[_0x4ff2ee(0x401)](){const _0x1aa221=_0x4ff2ee;return _0x4e7875[_0x1aa221(0x379)](this[_0x1aa221(0x3c4)]['unit'],this[_0x1aa221(0x3c4)]);}};_0x5b2dfc=_0x46a1cb([_0x465bb5(0x1,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4e7875[_0x4ff2ee(0x2e1)])),_0x465bb5(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x34079f)),_0x465bb5(0x3,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4['ThemeService']))],_0x5b2dfc);function _0x2d2cfc(_0x1fc213){const _0x163554=_0x4ff2ee,_0x1b78e5=new Map();return _0x1fc213[_0x163554(0x426)](_0x1db813=>{const _0x5755a0=_0x163554;if(_0x1b78e5[_0x5755a0(0x477)](_0x1db813[_0x5755a0(0x386)])){const _0x18e0ec=_0x1b78e5[_0x5755a0(0x35f)](_0x1db813[_0x5755a0(0x386)]);_0x18e0ec['name']+=',\x20'+_0x1db813['name'];}else _0x1b78e5['set'](_0x1db813[_0x5755a0(0x386)],_0x1db813);}),Array[_0x163554(0x2c1)](_0x1b78e5[_0x163554(0x321)]());}var _0x54a205=Object[_0x4ff2ee(0x304)],_0x4a5e0c=(_0x50f470,_0x31389a,_0x581bdf,_0x1f7c15)=>{const _0x4397fc=_0x4ff2ee;for(var _0x44262e=_0x1f7c15>0x1?void 0x0:_0x1f7c15?_0x54a205(_0x31389a,_0x581bdf):_0x31389a,_0x11b683=_0x50f470[_0x4397fc(0x274)]-0x1,_0x14be4b;_0x11b683>=0x0;_0x11b683--)(_0x14be4b=_0x50f470[_0x11b683])&&(_0x44262e=_0x14be4b(_0x44262e)||_0x44262e);return _0x44262e;},_0x111ad1=(_0x836416,_0x3b40a8)=>(_0x628239,_0x287f2e)=>_0x3b40a8(_0x628239,_0x287f2e,_0x836416);let _0x113c29=class extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(_0x218b47,_0x33f647,_0x24dfcf,_0x591ef0,_0x596c54,_0xa75b6e){const _0x388780=_0x4ff2ee;super(),this[_0x388780(0x319)]=_0x218b47,this['_localCacheService']=_0x33f647,this['_collaborationUIEventService']=_0x24dfcf,this[_0x388780(0x2c4)]=_0x591ef0,this[_0x388780(0x279)]=_0x596c54,this[_0x388780(0x213)]=_0xa75b6e,this[_0x388780(0x38d)](),this[_0x388780(0x41e)]();}[_0x4ff2ee(0x38d)](){const _0x3342ef=_0x4ff2ee;this[_0x3342ef(0x466)](this[_0x3342ef(0x319)][_0x3342ef(0x2c3)](()=>{const _0x4ae2c2=_0x3342ef;if(this[_0x4ae2c2(0x46a)][_0x4ae2c2(0x41b)]['size'])return this['_localeService']['t'](_0x4ae2c2(0x1d0));}));}[_0x4ff2ee(0x41e)](){const _0x546008=_0x4ff2ee;this[_0x546008(0x466)](this[_0x546008(0x495)][_0x546008(0x25a)][_0x546008(0x292)](_0x33f32f=>{const _0x2d68b8=_0x546008;_0x33f32f['id']===_0x2e0918[_0x2d68b8(0x439)][_0x2d68b8(0x1e5)]&&this[_0x2d68b8(0x2c4)]['show']({'type':_0x32cbec[_0x2d68b8(0x298)][_0x2d68b8(0x27d)],'content':this['_localeService']['t'](_0x2d68b8(0x387))}),_0x33f32f['id']===_0x2e0918[_0x2d68b8(0x439)][_0x2d68b8(0x1e8)]&&this[_0x2d68b8(0x2c4)][_0x2d68b8(0x344)]({'type':_0x32cbec['MessageType'][_0x2d68b8(0x27d)],'content':this['_localeService']['t'](_0x2d68b8(0x35c))}),_0x33f32f['id']===_0x2e0918[_0x2d68b8(0x439)][_0x2d68b8(0x373)]&&this[_0x2d68b8(0x279)][_0x2d68b8(0x344)]({'title':this[_0x2d68b8(0x213)]['t'](_0x2d68b8(0x220)),'content':this['_localeService']['t'](_0x2d68b8(0x494)),'type':'error','duration':0x0}),_0x33f32f['id']===_0x2e0918['CollaborationUIEventId']['CONFLICT']&&this[_0x2d68b8(0x2c4)]['show']({'type':_0x32cbec['MessageType'][_0x2d68b8(0x3ac)],'content':this['_localeService']['t'](_0x2d68b8(0x35c))+'('+_0x33f32f['data']+')'}),_0x33f32f['id']===_0x2e0918[_0x2d68b8(0x439)]['JOIN_ROOM_FAILED']&&this[_0x2d68b8(0x2c4)][_0x2d68b8(0x344)]({'type':_0x32cbec['MessageType'][_0x2d68b8(0x27d)],'content':this['_localeService']['t'](_0x33f32f[_0x2d68b8(0x36e)]||'')}),_0x33f32f['id']===_0x2e0918[_0x2d68b8(0x439)]['SOCKET_FAILED_RETRY']&&this[_0x2d68b8(0x2c4)][_0x2d68b8(0x344)]({'type':_0x32cbec[_0x2d68b8(0x298)][_0x2d68b8(0x27d)],'content':this[_0x2d68b8(0x213)]['t'](_0x2d68b8(0x2e2))}),_0x33f32f['id']===_0x2e0918[_0x2d68b8(0x439)][_0x2d68b8(0x456)]&&this[_0x2d68b8(0x2c4)][_0x2d68b8(0x344)]({'type':_0x32cbec['MessageType'][_0x2d68b8(0x3ac)],'content':this[_0x2d68b8(0x213)]['t']('session.connection-failed')}),_0x33f32f['id']===_0x2e0918['CollaborationUIEventId'][_0x2d68b8(0x448)]&&this[_0x2d68b8(0x2c4)]['show']({'type':_0x32cbec[_0x2d68b8(0x298)][_0x2d68b8(0x3ac)],'content':this[_0x2d68b8(0x213)]['t'](_0x2d68b8(0x1e4))});}));}};_0x113c29=_0x4a5e0c([_0x111ad1(0x0,_0x2d992f[_0x4ff2ee(0x46e)]),_0x111ad1(0x1,_0x2e0918['ILocalCacheService']),_0x111ad1(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x2e0918[_0x4ff2ee(0x473)])),_0x111ad1(0x3,_0x2d992f[_0x4ff2ee(0x1e9)]),_0x111ad1(0x4,_0x2d992f[_0x4ff2ee(0x214)]),_0x111ad1(0x5,_0x4dc9d4['Inject'](_0x4dc9d4[_0x4ff2ee(0x23f)]))],_0x113c29);const _0x17194e=_0x4ff2ee(0x2b7),_0x2b26f6={};var _0x3bba05=Object[_0x4ff2ee(0x304)],_0x2a607c=(_0x446fc9,_0x187706,_0x247b8b,_0x1edc75)=>{const _0x1556aa=_0x4ff2ee;for(var _0x297f04=_0x1edc75>0x1?void 0x0:_0x1edc75?_0x3bba05(_0x187706,_0x247b8b):_0x187706,_0x3040f4=_0x446fc9[_0x1556aa(0x274)]-0x1,_0x5106f1;_0x3040f4>=0x0;_0x3040f4--)(_0x5106f1=_0x446fc9[_0x3040f4])&&(_0x297f04=_0x5106f1(_0x297f04)||_0x297f04);return _0x297f04;},_0x6d824=(_0x32f44a,_0x2ebe6c)=>(_0x5d9006,_0x2f8074)=>_0x2ebe6c(_0x5d9006,_0x2f8074,_0x32f44a);let _0x4afb2b=class{constructor(_0x54fbca,_0x516528){const _0x1c072b=_0x4ff2ee;this[_0x1c072b(0x3cc)]=_0x54fbca,this[_0x1c072b(0x355)]=_0x516528;}['transformIMECache'](_0x72eec1){const _0x845d7d=_0x4ff2ee;this['_transformUndoRedoStack'](_0x72eec1),this[_0x845d7d(0x1f9)](_0x72eec1);}[_0x4ff2ee(0x3e3)](_0x46e117){const _0x1fc5fd=_0x4ff2ee,{unitID:_0x265558}=_0x46e117,_0x3e84e2=this['_renderManagerService'][_0x1fc5fd(0x359)](_0x265558)[_0x1fc5fd(0x41f)](_0x504cab[_0x1fc5fd(0x21d)]),{redoCache:_0x47f3ca}=_0x3e84e2[_0x1fc5fd(0x356)]();if(_0x47f3ca[_0x1fc5fd(0x274)]===0x0)return _0x46e117;let _0x46e73c=_0x4dc9d4['Tools'][_0x1fc5fd(0x26d)](_0x46e117[_0x1fc5fd(0x2e0)][0x0]);for(let _0x2274a7=0x0;_0x2274a7<_0x47f3ca[_0x1fc5fd(0x274)];_0x2274a7++){const _0x50bdab={'id':_0x1fc5fd(0x36c),'params':{..._0x47f3ca[_0x2274a7]}},_0x4bf826=this[_0x1fc5fd(0x3cc)][_0x1fc5fd(0x300)](_0x46e73c,_0x50bdab,!0x1);if(_0x40f85d[_0x1fc5fd(0x24a)](_0x4bf826))throw _0x4bf826[_0x1fc5fd(0x405)];_0x46e73c=_0x4bf826['m1Prime'];}return{..._0x4dc9d4['Tools'][_0x1fc5fd(0x26d)](_0x46e117),'mutations':[_0x46e73c]};}[_0x4ff2ee(0x3a3)](_0x4a7983){const _0x206acf=_0x4ff2ee,{unitID:_0x4083cc}=_0x4a7983,_0x21b032=this[_0x206acf(0x355)][_0x206acf(0x359)](_0x4083cc)[_0x206acf(0x41f)](_0x504cab[_0x206acf(0x21d)]),{undoCache:_0x4369a3,redoCache:_0x419433}=_0x21b032[_0x206acf(0x356)]();if(_0x4369a3['length']===0x0||_0x419433[_0x206acf(0x274)]===0x0)return;const _0xd40cad=[],_0x44f1fc=[];let _0x5a0371=_0x4dc9d4['Tools'][_0x206acf(0x26d)](_0x4a7983[_0x206acf(0x2e0)][0x0]),_0x2ed7e8=_0x4dc9d4[_0x206acf(0x465)][_0x206acf(0x26d)](_0x4a7983['mutations'][0x0]);for(let _0x536a96=_0x4369a3['length']-0x1;_0x536a96>=0x0;_0x536a96--){const _0x5ebe44={'id':_0x206acf(0x36c),'params':{..._0x4369a3[_0x536a96]}},_0x27073d={'id':'doc.mutation.rich-text-editing','params':{..._0x419433[_0x536a96]}},_0x5953de=this['_transformService'][_0x206acf(0x300)](_0x5a0371,_0x5ebe44,!0x1),_0x556a1c=this[_0x206acf(0x3cc)]['transformMutation'](_0x2ed7e8,_0x27073d,!0x1);if(_0x40f85d[_0x206acf(0x24a)](_0x5953de))throw _0x5953de['error'];if(_0x40f85d[_0x206acf(0x24a)](_0x556a1c))throw _0x556a1c[_0x206acf(0x405)];_0xd40cad['unshift'](_0x5953de[_0x206acf(0x211)][_0x206acf(0x2ed)]),_0x44f1fc[_0x206acf(0x36f)](_0x556a1c[_0x206acf(0x211)]['params']),_0x5a0371=_0x5953de[_0x206acf(0x3c6)],_0x2ed7e8=_0x556a1c[_0x206acf(0x3c6)];}_0x21b032[_0x206acf(0x42a)]({'undoCache':_0xd40cad,'redoCache':_0x44f1fc});}[_0x4ff2ee(0x1f9)](_0x1ab3a1){const _0x372a18=_0x4ff2ee,{unitID:_0x26fa82}=_0x1ab3a1,_0x3afd88=this[_0x372a18(0x355)][_0x372a18(0x359)](_0x26fa82)[_0x372a18(0x41f)](_0x504cab[_0x372a18(0x21d)]),_0x5080f3=_0x3afd88[_0x372a18(0x328)]();if(_0x5080f3==null)return;const _0x3cdf76=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ab3a1['unitID'],'actions':null,'textRanges':[_0x5080f3]}}],_0x233503=this['_transformService']['transformMutationsWithChangeset'](_0x1ab3a1,_0x3cdf76);if(!_0x40f85d[_0x372a18(0x24c)](_0x233503))throw _0x233503[_0x372a18(0x405)];const _0x25bcea=_0x233503[_0x372a18(0x211)][0x0]['params'][_0x372a18(0x3ff)];Array[_0x372a18(0x23d)](_0x25bcea)&&_0x25bcea[_0x372a18(0x274)]&&_0x3afd88[_0x372a18(0x2bf)](_0x25bcea[0x0]);}};_0x4afb2b=_0x2a607c([_0x6d824(0x0,_0x40f85d[_0x4ff2ee(0x1ed)]),_0x6d824(0x1,_0x37167b[_0x4ff2ee(0x312)])],_0x4afb2b);var _0x3402d5=Object[_0x4ff2ee(0x304)],_0x49296d=(_0x111dfb,_0x1db1b1,_0x419c9e,_0x467a84)=>{const _0x4462f3=_0x4ff2ee;for(var _0x4c85db=_0x467a84>0x1?void 0x0:_0x467a84?_0x3402d5(_0x1db1b1,_0x419c9e):_0x1db1b1,_0x5bd57d=_0x111dfb[_0x4462f3(0x274)]-0x1,_0x2c7f0c;_0x5bd57d>=0x0;_0x5bd57d--)(_0x2c7f0c=_0x111dfb[_0x5bd57d])&&(_0x4c85db=_0x2c7f0c(_0x4c85db)||_0x4c85db);return _0x4c85db;},_0x56660a=(_0x1387c0,_0x712a7a)=>(_0x3ca361,_0x268f95)=>_0x712a7a(_0x3ca361,_0x268f95,_0x1387c0);let _0x36f2dc=class{constructor(_0x418df7,_0x23e361,_0x15fc29){const _0x40b2a6=_0x4ff2ee;this[_0x40b2a6(0x406)]=_0x418df7,this[_0x40b2a6(0x3cc)]=_0x23e361,this['_docStateChangeManagerService']=_0x15fc29;}[_0x4ff2ee(0x3ea)](_0x303083){const _0x25ec07=_0x4ff2ee;this[_0x25ec07(0x1d8)](_0x303083);}[_0x4ff2ee(0x3e3)](_0x39a3dd){const _0x588697=_0x4ff2ee,{unitID:_0x2d2be7}=_0x39a3dd,{collaboration:_0x3f6845}=this[_0x588697(0x244)]['getStateCache'](_0x2d2be7);if(_0x3f6845[_0x588697(0x274)]===0x0)return _0x39a3dd;let _0x35ec96=_0x4dc9d4['Tools'][_0x588697(0x26d)](_0x39a3dd['mutations'][0x0]);for(let _0x52c7e9=0x0;_0x52c7e9<_0x3f6845['length'];_0x52c7e9++){const _0x3cbf0f={'id':_0x588697(0x36c),'params':{'unitId':_0x3f6845[_0x52c7e9][_0x588697(0x470)],..._0x3f6845[_0x52c7e9]['redoState']}},_0x67f3fe=this[_0x588697(0x3cc)]['transformMutation'](_0x35ec96,_0x3cbf0f,!0x1);if(_0x40f85d[_0x588697(0x24a)](_0x67f3fe))throw _0x67f3fe[_0x588697(0x405)];_0x35ec96=_0x67f3fe[_0x588697(0x3c6)];}return{..._0x4dc9d4['Tools']['deepClone'](_0x39a3dd),'mutations':[_0x35ec96]};}['_transformHistoryAndStateStack'](_0x3e68e5){const _0x4588c7=_0x4ff2ee,{unitID:_0x303a71}=_0x3e68e5,{history:_0x1ce9fc,collaboration:_0x138404}=this['_docStateChangeManagerService'][_0x4588c7(0x1db)](_0x303a71);if(_0x1ce9fc[_0x4588c7(0x274)]===0x0&&_0x138404[_0x4588c7(0x274)]===0x0)return;const _0x1d5e0e=[],_0x4005f9=[];let _0x2f5b9e=_0x4dc9d4[_0x4588c7(0x465)][_0x4588c7(0x26d)](_0x3e68e5[_0x4588c7(0x2e0)][0x0]),_0x389ad3=_0x4dc9d4['Tools']['deepClone'](_0x3e68e5['mutations'][0x0]);for(let _0x3d72ea=_0x1ce9fc[_0x4588c7(0x274)]-0x1;_0x3d72ea>=0x0;_0x3d72ea--){const _0x512de8={'id':_0x4588c7(0x36c),'params':{'unitId':_0x1ce9fc[_0x3d72ea][_0x4588c7(0x470)],..._0x1ce9fc[_0x3d72ea][_0x4588c7(0x3bd)]}},_0x13543b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1ce9fc[_0x3d72ea]['unitId'],..._0x1ce9fc[_0x3d72ea][_0x4588c7(0x271)]}},_0x132d5e=this[_0x4588c7(0x3cc)][_0x4588c7(0x300)](_0x2f5b9e,_0x512de8,!0x1),_0x279057=this[_0x4588c7(0x3cc)]['transformMutation'](_0x389ad3,_0x13543b,!0x1);if(_0x40f85d[_0x4588c7(0x24a)](_0x132d5e))throw _0x132d5e[_0x4588c7(0x405)];if(_0x40f85d['isTransformMutationFailure'](_0x279057))throw _0x279057['error'];_0x1d5e0e[_0x4588c7(0x36f)]({..._0x1ce9fc[_0x3d72ea],'undoState':_0x132d5e[_0x4588c7(0x211)][_0x4588c7(0x2ed)],'redoState':_0x279057['m2Prime'][_0x4588c7(0x2ed)]}),_0x2f5b9e=_0x132d5e[_0x4588c7(0x3c6)],_0x389ad3=_0x279057['m1Prime'];}_0x2f5b9e=_0x4dc9d4[_0x4588c7(0x465)][_0x4588c7(0x26d)](_0x3e68e5[_0x4588c7(0x2e0)][0x0]),_0x389ad3=_0x4dc9d4[_0x4588c7(0x465)]['deepClone'](_0x3e68e5[_0x4588c7(0x2e0)][0x0]);for(let _0x40a7bd=_0x138404[_0x4588c7(0x274)]-0x1;_0x40a7bd>=0x0;_0x40a7bd--){const _0x2d4fee={'id':_0x4588c7(0x36c),'params':{'unitId':_0x138404[_0x40a7bd][_0x4588c7(0x470)],..._0x138404[_0x40a7bd][_0x4588c7(0x3bd)]}},_0x35e8c2={'id':_0x4588c7(0x36c),'params':{'unitId':_0x138404[_0x40a7bd]['unitId'],..._0x138404[_0x40a7bd][_0x4588c7(0x271)]}},_0x48bd12=this[_0x4588c7(0x3cc)][_0x4588c7(0x300)](_0x2f5b9e,_0x2d4fee,!0x1),_0x5ed62e=this[_0x4588c7(0x3cc)][_0x4588c7(0x300)](_0x389ad3,_0x35e8c2,!0x1);if(_0x40f85d[_0x4588c7(0x24a)](_0x48bd12))throw _0x48bd12[_0x4588c7(0x405)];if(_0x40f85d['isTransformMutationFailure'](_0x5ed62e))throw _0x5ed62e[_0x4588c7(0x405)];_0x4005f9[_0x4588c7(0x36f)]({..._0x138404[_0x40a7bd],'undoState':_0x48bd12[_0x4588c7(0x211)][_0x4588c7(0x2ed)],'redoState':_0x5ed62e['m2Prime'][_0x4588c7(0x2ed)]}),_0x2f5b9e=_0x48bd12[_0x4588c7(0x3c6)],_0x389ad3=_0x5ed62e[_0x4588c7(0x3c6)];}this['_docStateChangeManagerService'][_0x4588c7(0x350)](_0x303a71,{'history':_0x1d5e0e,'collaboration':_0x4005f9});}};_0x36f2dc=_0x49296d([_0x56660a(0x0,_0x4dc9d4['Inject'](_0x4dc9d4[_0x4ff2ee(0x419)])),_0x56660a(0x1,_0x40f85d['ITransformService']),_0x56660a(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x504cab['DocStateChangeManagerService']))],_0x36f2dc);var _0xf8af4b=Object[_0x4ff2ee(0x304)],_0x3c92d4=(_0x197b09,_0x2f2fa9,_0x4cfaf8,_0x15ed17)=>{const _0x109ff3=_0x4ff2ee;for(var _0x3b7b66=_0x15ed17>0x1?void 0x0:_0x15ed17?_0xf8af4b(_0x2f2fa9,_0x4cfaf8):_0x2f2fa9,_0x1564a7=_0x197b09[_0x109ff3(0x274)]-0x1,_0x1504ed;_0x1564a7>=0x0;_0x1564a7--)(_0x1504ed=_0x197b09[_0x1564a7])&&(_0x3b7b66=_0x1504ed(_0x3b7b66)||_0x3b7b66);return _0x3b7b66;},_0x5090a7=(_0x12495e,_0x13403a)=>(_0x237746,_0x19fe95)=>_0x13403a(_0x237746,_0x19fe95,_0x12495e);let _0x25a528=class{constructor(_0x3b2c72,_0x2ce37e){const _0x80d1b5=_0x4ff2ee;this[_0x80d1b5(0x406)]=_0x3b2c72,this['_transformService']=_0x2ce37e;}['transformSelections'](_0x39938b){const _0x1992d3=_0x4ff2ee;var _0xc8132d;const _0x3bc1c9=this[_0x1992d3(0x406)][_0x1992d3(0x35f)](_0x2ffbcd[_0x1992d3(0x337)]),_0x19d427=(_0xc8132d=_0x3bc1c9[_0x1992d3(0x1e1)]())!=null?_0xc8132d:[];if(_0x19d427[_0x1992d3(0x274)]===0x0)return;const _0x1d8ca1=_0x39938b['unitID'],_0xee6e2c=[{'id':_0x1992d3(0x36c),'params':{'unitId':_0x1d8ca1,'actions':null,'textRanges':_0x19d427}}],_0x4c9de6=this['_transformService'][_0x1992d3(0x45c)](_0x39938b,_0xee6e2c);if(!_0x40f85d[_0x1992d3(0x24c)](_0x4c9de6))throw _0x4c9de6[_0x1992d3(0x405)];const _0x33fd3f=_0x4c9de6[_0x1992d3(0x211)][0x0][_0x1992d3(0x2ed)][_0x1992d3(0x3ff)];Array['isArray'](_0x33fd3f)&&_0x33fd3f['length']&&_0x3bc1c9[_0x1992d3(0x2a2)](_0x33fd3f,{'unitId':_0x1d8ca1,'subUnitId':_0x1d8ca1},!0x1);}};_0x25a528=_0x3c92d4([_0x5090a7(0x0,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4['Injector'])),_0x5090a7(0x1,_0x40f85d['ITransformService'])],_0x25a528);var _0x56af9d=Object[_0x4ff2ee(0x304)],_0x26c240=(_0x561997,_0x3988ec,_0x9221ea,_0x7be08c)=>{const _0x26d1bf=_0x4ff2ee;for(var _0x58b35a=_0x7be08c>0x1?void 0x0:_0x7be08c?_0x56af9d(_0x3988ec,_0x9221ea):_0x3988ec,_0x2b7b82=_0x561997[_0x26d1bf(0x274)]-0x1,_0x402990;_0x2b7b82>=0x0;_0x2b7b82--)(_0x402990=_0x561997[_0x2b7b82])&&(_0x58b35a=_0x402990(_0x58b35a)||_0x58b35a);return _0x58b35a;},_0x572cf1=(_0x55a649,_0x2ae25b)=>(_0x2a2a3b,_0x2f1d13)=>_0x2ae25b(_0x2a2a3b,_0x2f1d13,_0x55a649);let _0x33302a=class extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(_0x16cd11,_0x1bf89e,_0x886e03,_0xdb07aa,_0x550da8,_0x3757a1,_0x4e01a7,_0x37100d){const _0x2ec8e6=_0x4ff2ee;super(),_0x3f28ac(this,_0x2ec8e6(0x2fe),new _0x488623[(_0x2ec8e6(0x438))](_0x2e0918[_0x2ec8e6(0x2f1)][_0x2ec8e6(0x3de)])),(this[_0x2ec8e6(0x244)]=_0x16cd11,this['_collaborationController']=_0x1bf89e,this[_0x2ec8e6(0x3bf)]=_0x886e03,this[_0x2ec8e6(0x246)]=_0xdb07aa,this[_0x2ec8e6(0x22b)]=_0x550da8,this[_0x2ec8e6(0x374)]=_0x3757a1,this[_0x2ec8e6(0x2c4)]=_0x4e01a7,this[_0x2ec8e6(0x213)]=_0x37100d,this['_initEntityListener']());}['_initEntityListener'](){const _0xf8deda=_0x4ff2ee;this[_0xf8deda(0x466)](this[_0xf8deda(0x278)][_0xf8deda(0x2a6)]['subscribe'](_0x303494=>{const _0x58452f=_0xf8deda,_0x38cce8=this['_docStateChangeManagerService'][_0x58452f(0x282)][_0x58452f(0x292)](_0x5c3576=>{const _0x76dabe=_0x58452f;if(_0x5c3576==null)return;const {unitId:_0x2e8475,redoState:_0x540aa6,commandId:_0x811b86}=_0x5c3576;if(_0x2e8475!==_0x303494['unitID'])return;const _0x4dd8a6={'id':_0x811b86,'type':_0x4dc9d4[_0x76dabe(0x42f)][_0x76dabe(0x29f)],'params':{'unitId':_0x2e8475,'actions':_0x540aa6[_0x76dabe(0x325)],'textRanges':null}};_0x303494[_0x76dabe(0x3f1)](_0x4dd8a6);});if(_0x303494[_0x58452f(0x466)](_0x38cce8),_0x303494 instanceof _0x2e0918[_0x58452f(0x38a)]){const _0x5ca5bf={'onTransformIME':_0x3473ac=>this[_0x58452f(0x3bf)]['transformIMECache'](_0x3473ac),'onTransformState':_0x3e2ef0=>this[_0x58452f(0x246)][_0x58452f(0x3ea)](_0x3e2ef0),'onTransformSelections':_0x4c3ef7=>this[_0x58452f(0x22b)][_0x58452f(0x42c)](_0x4c3ef7),'onSyncEditingCollabCursor':_0x22e65b=>this[_0x58452f(0x374)][_0x58452f(0x3ca)](_0x22e65b),'onTransformRemoteChangesetByIMECache':_0x262c21=>this[_0x58452f(0x3bf)][_0x58452f(0x3e3)](_0x262c21),'onTransformRemoteChangesetByStateCache':_0x1bc954=>this[_0x58452f(0x246)][_0x58452f(0x3e3)](_0x1bc954)};_0x303494[_0x58452f(0x2bb)](_0x5ca5bf);}}));}};_0x33302a=_0x26c240([_0x572cf1(0x0,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x504cab[_0x4ff2ee(0x30e)])),_0x572cf1(0x1,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x2e0918[_0x4ff2ee(0x2a1)])),_0x572cf1(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4afb2b)),_0x572cf1(0x3,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x36f2dc)),_0x572cf1(0x4,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x25a528)),_0x572cf1(0x5,_0x4dc9d4['Inject'](_0x46655e)),_0x572cf1(0x6,_0x2d992f[_0x4ff2ee(0x1e9)]),_0x572cf1(0x7,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x23f)]))],_0x33302a);var _0xe4b39a=(_0x3e199e=>(_0x3e199e[_0x3e199e[_0x4ff2ee(0x2f5)]=0x0]=_0x4ff2ee(0x2f5),_0x3e199e[_0x3e199e['OK']=0x1]='OK',_0x3e199e[_0x3e199e[_0x4ff2ee(0x1ff)]=0x2]=_0x4ff2ee(0x1ff),_0x3e199e[_0x3e199e[_0x4ff2ee(0x373)]=0x3]='PERMISSION_DENIED',_0x3e199e[_0x3e199e['NOT_FOUND']=0x4]=_0x4ff2ee(0x445),_0x3e199e[_0x3e199e[_0x4ff2ee(0x273)]=0x5]=_0x4ff2ee(0x273),_0x3e199e[_0x3e199e[_0x4ff2ee(0x2df)]=0x6]='ALREADY_EXISTS',_0x3e199e[_0x3e199e[_0x4ff2ee(0x38b)]=0x7]=_0x4ff2ee(0x38b),_0x3e199e[_0x3e199e[_0x4ff2ee(0x243)]=0x8]=_0x4ff2ee(0x243),_0x3e199e[_0x3e199e[_0x4ff2ee(0x391)]=0x9]='COMPLETION_FINISHED',_0x3e199e[_0x3e199e['LOGIN_FAILED']=0xa]=_0x4ff2ee(0x2e6),_0x3e199e[_0x3e199e['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x4ff2ee(0x375),_0x3e199e[_0x3e199e[_0x4ff2ee(0x429)]=0xc]=_0x4ff2ee(0x429),_0x3e199e[_0x3e199e[_0x4ff2ee(0x360)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x3e199e[_0x3e199e['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3e199e[_0x3e199e['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x4ff2ee(0x46d),_0x3e199e[_0x3e199e[_0x4ff2ee(0x1f5)]=0x10]=_0x4ff2ee(0x1f5),_0x3e199e[_0x3e199e[_0x4ff2ee(0x42d)]=0x64]=_0x4ff2ee(0x42d),_0x3e199e[_0x3e199e[_0x4ff2ee(0x212)]=0x65]=_0x4ff2ee(0x212),_0x3e199e[_0x3e199e[_0x4ff2ee(0x31f)]=0xc9]='USER_NOT_FOUND',_0x3e199e[_0x3e199e[_0x4ff2ee(0x49b)]=0xca]=_0x4ff2ee(0x49b),_0x3e199e[_0x3e199e[_0x4ff2ee(0x285)]=0x1389]=_0x4ff2ee(0x285),_0x3e199e[_0x3e199e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x3e199e[_0x3e199e[_0x4ff2ee(0x2ca)]=0x1772]=_0x4ff2ee(0x2ca),_0x3e199e[_0x3e199e[_0x4ff2ee(0x443)]=0x1773]=_0x4ff2ee(0x443),_0x3e199e[_0x3e199e['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x3e199e[_0x3e199e[_0x4ff2ee(0x277)]=0x1b5a]=_0x4ff2ee(0x277),_0x3e199e[_0x3e199e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x4ff2ee(0x2f0),_0x3e199e[_0x3e199e[_0x4ff2ee(0x31a)]=0x1b5c]=_0x4ff2ee(0x31a),_0x3e199e[_0x3e199e[_0x4ff2ee(0x486)]=0x1b5d]=_0x4ff2ee(0x486),_0x3e199e[_0x3e199e['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4ff2ee(0x3f8),_0x3e199e[_0x3e199e[_0x4ff2ee(0x25d)]=0x2329]=_0x4ff2ee(0x25d),_0x3e199e[_0x3e199e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4ff2ee(0x458),_0x3e199e[_0x3e199e[_0x4ff2ee(0x2a5)]=0x232b]=_0x4ff2ee(0x2a5),_0x3e199e[_0x3e199e[_0x4ff2ee(0x412)]=0x232c]=_0x4ff2ee(0x412),_0x3e199e[_0x3e199e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x4ff2ee(0x28e),_0x3e199e[_0x3e199e['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4ff2ee(0x392),_0x3e199e[_0x3e199e[_0x4ff2ee(0x3bc)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3e199e[_0x3e199e[_0x4ff2ee(0x1d1)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3e199e[_0x3e199e[_0x4ff2ee(0x2c0)]=0x2714]=_0x4ff2ee(0x2c0),_0x3e199e[_0x3e199e[_0x4ff2ee(0x1f3)]=0x271a]=_0x4ff2ee(0x1f3),_0x3e199e[_0x3e199e['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4ff2ee(0x245),_0x3e199e[_0x3e199e[_0x4ff2ee(0x22e)]=0x271c]=_0x4ff2ee(0x22e),_0x3e199e[_0x3e199e[_0x4ff2ee(0x329)]=0x271d]=_0x4ff2ee(0x329),_0x3e199e[_0x3e199e[_0x4ff2ee(0x21f)]=0x271e]=_0x4ff2ee(0x21f),_0x3e199e[_0x3e199e[_0x4ff2ee(0x481)]=0x271f]=_0x4ff2ee(0x481),_0x3e199e[_0x3e199e[_0x4ff2ee(0x2e8)]=0x2720]=_0x4ff2ee(0x2e8),_0x3e199e[_0x3e199e[_0x4ff2ee(0x295)]=0x2af9]=_0x4ff2ee(0x295),_0x3e199e[_0x3e199e[_0x4ff2ee(0x2b5)]=0x2ee1]=_0x4ff2ee(0x2b5),_0x3e199e[_0x3e199e[_0x4ff2ee(0x416)]=0x2ee2]=_0x4ff2ee(0x416),_0x3e199e[_0x3e199e['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4ff2ee(0x3a9),_0x3e199e[_0x3e199e[_0x4ff2ee(0x336)]=0x2ee4]=_0x4ff2ee(0x336),_0x3e199e[_0x3e199e['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4ff2ee(0x1da),_0x3e199e[_0x3e199e[_0x4ff2ee(0x32c)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3e199e[_0x3e199e[_0x4ff2ee(0x3be)]=0x32ca]=_0x4ff2ee(0x3be),_0x3e199e[_0x3e199e[_0x4ff2ee(0x275)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3e199e[_0x3e199e[_0x4ff2ee(0x294)]=0x36b1]=_0x4ff2ee(0x294),_0x3e199e[_0x3e199e[_0x4ff2ee(0x343)]=0x36b2]=_0x4ff2ee(0x343),_0x3e199e[_0x3e199e[_0x4ff2ee(0x48e)]=0x36b3]=_0x4ff2ee(0x48e),_0x3e199e[_0x3e199e[_0x4ff2ee(0x2d9)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x3e199e[_0x3e199e[_0x4ff2ee(0x39e)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x3e199e[_0x3e199e[_0x4ff2ee(0x468)]=0x3716]=_0x4ff2ee(0x468),_0x3e199e[_0x3e199e['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x4ff2ee(0x47e),_0x3e199e[_0x3e199e[_0x4ff2ee(0x313)]=0x37dd]=_0x4ff2ee(0x313),_0x3e199e[_0x3e199e['REDEMPTION_INVALID_CODE']=0x3a99]=_0x4ff2ee(0x1f0),_0x3e199e[_0x3e199e[_0x4ff2ee(0x31b)]=0x3a9a]=_0x4ff2ee(0x31b),_0x3e199e[_0x3e199e[_0x4ff2ee(0x367)]=0x3a9b]=_0x4ff2ee(0x367),_0x3e199e[_0x3e199e[_0x4ff2ee(0x435)]=0x3a9c]=_0x4ff2ee(0x435),_0x3e199e[_0x3e199e[_0x4ff2ee(0x42e)]=0x3a9d]=_0x4ff2ee(0x42e),_0x3e199e[_0x3e199e['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x3e199e[_0x3e199e['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x3e199e[_0x3e199e['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x3e199e[_0x3e199e[_0x4ff2ee(0x47a)]=-0x1]='UNRECOGNIZED',_0x3e199e))(_0xe4b39a||{});function _0x5454a4(_0x15cc54){const _0x543504=_0x4ff2ee;var _0x5f5bb8,_0xe2a376;const _0x104c12=(_0x5f5bb8=_0x15cc54['stageInfo'])==null?void 0x0:_0x5f5bb8['stage'],_0x37a74e=((_0xe2a376=_0x15cc54[_0x543504(0x425)])==null?void 0x0:_0xe2a376['totalFormulasToCalculate'])||0x0;return _0x104c12===_0x55872e['FormulaExecuteStageType'][_0x543504(0x2dc)]&&_0x37a74e>0x0;}function _0x178346(_0x22a64b){const _0x5f3b80=_0x4ff2ee;return _0x22a64b[_0x5f3b80(0x437)]===_0x55872e[_0x5f3b80(0x241)][_0x5f3b80(0x43d)];}var _0x46f5c2=Object[_0x4ff2ee(0x304)],_0x3ec7da=(_0x17cfb5,_0x241a46,_0x3f7146,_0x7e7ef4)=>{const _0x30fe48=_0x4ff2ee;for(var _0x1a62af=_0x7e7ef4>0x1?void 0x0:_0x7e7ef4?_0x46f5c2(_0x241a46,_0x3f7146):_0x241a46,_0x1d2cda=_0x17cfb5[_0x30fe48(0x274)]-0x1,_0x4891ae;_0x1d2cda>=0x0;_0x1d2cda--)(_0x4891ae=_0x17cfb5[_0x1d2cda])&&(_0x1a62af=_0x4891ae(_0x1a62af)||_0x1a62af);return _0x1a62af;},_0x55f2f6=(_0x15b5c5,_0x577739)=>(_0x42b66f,_0x35057f)=>_0x577739(_0x42b66f,_0x35057f,_0x15b5c5);const _0x43660c=_0x4ff2ee(0x1d5),_0x557343=_0x4ff2ee(0x247),_0x21771a=_0x4ff2ee(0x29a);let _0x2cabd2=class extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(_0x1e392e,_0x101c29,_0x28ba29,_0x1e5eff,_0x16e681,_0xa8e909,_0x227a2e){const _0x421457=_0x4ff2ee;super(),_0x3f28ac(this,'_pollingInterval',null),_0x3f28ac(this,_0x421457(0x318),0x0),_0x3f28ac(this,_0x421457(0x33b),0x0),_0x3f28ac(this,_0x421457(0x225),[]),_0x3f28ac(this,_0x421457(0x3d3),0x0),(this[_0x421457(0x2c4)]=_0x1e392e,this[_0x421457(0x35d)]=_0x101c29,this[_0x421457(0x24e)]=_0x28ba29,this['_httpService']=_0x1e5eff,this[_0x421457(0x40a)]=_0x16e681,this[_0x421457(0x403)]=_0xa8e909,this[_0x421457(0x213)]=_0x227a2e,this[_0x421457(0x27b)]());}[_0x4ff2ee(0x27b)](){const _0x109fb=_0x4ff2ee;this[_0x109fb(0x466)](this[_0x109fb(0x35d)]['beforeCommandExecuted']((_0x1d5ad7,_0x25a7c4)=>{const _0x4fd634=_0x109fb;var _0x1108ce;if(_0x1d5ad7['id']!==_0x55872e[_0x4fd634(0x242)]['id'])return;const _0x15a0bd=_0x1d5ad7[_0x4fd634(0x2ed)];if(!this[_0x4fd634(0x441)]((_0x1108ce=_0x15a0bd[_0x4fd634(0x3c7)])!=null?_0x1108ce:[]))return;if(!this[_0x4fd634(0x23e)]())throw this[_0x4fd634(0x23c)](_0x1d5ad7,_0x25a7c4),this[_0x4fd634(0x440)](),new _0x4dc9d4['CanceledError']();})),this[_0x109fb(0x466)](this['_commandService'][_0x109fb(0x472)]((_0x22a4db,_0x449ca1)=>{const _0x5ec365=_0x109fb;if(_0x22a4db['id']!==_0x55872e['SetFormulaCalculationNotificationMutation']['id'])return;const _0x144461=_0x22a4db[_0x5ec365(0x2ed)];if(_0x5454a4(_0x144461)){const _0x46eb45=_0x4dc9d4['generateRandomId']();this[_0x5ec365(0x225)][_0x5ec365(0x3d5)](_0x46eb45),this[_0x5ec365(0x1d9)](_0x46eb45);}else{if(_0x178346(_0x144461)&&this[_0x5ec365(0x225)]['length']>0x0){const _0x40e3f8=this[_0x5ec365(0x225)][_0x5ec365(0x24f)]();this[_0x5ec365(0x424)](_0x40e3f8);}}}));}['dispose'](){const _0x24c82b=_0x4ff2ee;super[_0x24c82b(0x462)](),this['_clearPolling'](),this[_0x24c82b(0x225)]=[],this[_0x24c82b(0x33b)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x24c82b(0x3d3)]=0x0;}async[_0x4ff2ee(0x23c)](_0x3f16cb,_0x3e6596){const _0x1ef581=_0x4ff2ee;for(let _0x3406ce=0x0;_0x3406ce<0x1e;_0x3406ce++)try{if(await this['_getFormulaLimitStatus'](),this[_0x1ef581(0x23e)]()){this[_0x1ef581(0x3af)](_0x3f16cb,_0x3e6596),this[_0x1ef581(0x2c4)][_0x1ef581(0x344)]({'content':this[_0x1ef581(0x213)]['t']('formula.calculation.started'),'type':_0x32cbec[_0x1ef581(0x298)]['Success']});return;}await new Promise(_0xd4dcc1=>{const _0x24a06b=_0x1ef581;this[_0x24a06b(0x3db)]=window['setTimeout'](_0xd4dcc1,0x3e8);});}catch(_0xcdd71a){this[_0x1ef581(0x403)][_0x1ef581(0x405)](_0xcdd71a);}this[_0x1ef581(0x2c4)]['show']({'content':this[_0x1ef581(0x213)]['t'](_0x1ef581(0x1fc)),'type':_0x32cbec[_0x1ef581(0x298)][_0x1ef581(0x3ac)]});}[_0x4ff2ee(0x3af)](_0x16f8a8,_0x3102ec){const _0x13a700=_0x4ff2ee;try{this[_0x13a700(0x35d)][_0x13a700(0x2da)](_0x16f8a8['id'],_0x16f8a8['params'],_0x3102ec);}catch(_0x483269){this[_0x13a700(0x403)][_0x13a700(0x405)](_0x483269);}}[_0x4ff2ee(0x240)](_0x48ee67,_0x1be96e){const _0x31c26b=_0x4ff2ee;_0x1be96e<this['_lastResponseTimestamp']||(this[_0x31c26b(0x3d3)]=_0x1be96e,this[_0x31c26b(0x318)]=Number[_0x31c26b(0x488)](_0x48ee67['maxFormulaLimit']),this[_0x31c26b(0x33b)]=Number['parseInt'](_0x48ee67[_0x31c26b(0x459)]));}async[_0x4ff2ee(0x1d9)](_0x430558){const _0xd1a5ef=_0x4ff2ee;var _0x128757,_0x810d79;const _0x2f768a=Date[_0xd1a5ef(0x3b7)]();try{const _0x51c706=((_0x128757=this[_0xd1a5ef(0x24e)][_0xd1a5ef(0x1fd)](_0x2e0918[_0xd1a5ef(0x3a2)]))==null?void 0x0:_0x128757[_0xd1a5ef(0x2ce)])||_0x557343,_0x5c0dd9=(await this[_0xd1a5ef(0x40b)]['post'](_0x51c706,{'body':JSON[_0xd1a5ef(0x2c8)]({'taskId':_0x430558})}))[_0xd1a5ef(0x35b)];if(((_0x810d79=_0x5c0dd9['error'])==null?void 0x0:_0x810d79['code'])!==_0xe4b39a['OK'])return;this[_0xd1a5ef(0x240)](_0x5c0dd9['limitInfo'],_0x2f768a);}catch(_0x11b396){this[_0xd1a5ef(0x403)][_0xd1a5ef(0x405)](_0x11b396);}}async['_getFormulaLimitStatus'](_0x8a30d2){const _0x4a91d7=_0x4ff2ee;var _0x58c6a6,_0x153bef;const _0x38fcd1=Date[_0x4a91d7(0x3b7)]();try{const _0x404789=((_0x58c6a6=this[_0x4a91d7(0x24e)][_0x4a91d7(0x1fd)](_0x2e0918['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x58c6a6[_0x4a91d7(0x207)])||_0x43660c,_0x201803=_0x8a30d2?_0x404789+_0x4a91d7(0x3d8)+encodeURIComponent(_0x8a30d2):_0x404789,_0x1affea=(await this[_0x4a91d7(0x40b)][_0x4a91d7(0x35f)](_0x201803))[_0x4a91d7(0x35b)];if(((_0x153bef=_0x1affea['error'])==null?void 0x0:_0x153bef[_0x4a91d7(0x388)])!==_0xe4b39a['OK'])return;this['_setFormulaLimitStatus'](_0x1affea[_0x4a91d7(0x2e5)],_0x38fcd1);}catch(_0x38eae7){this['_logService']['error'](_0x38eae7);}}async[_0x4ff2ee(0x424)](_0x22d79c){const _0x4dedd1=_0x4ff2ee;var _0x36982d,_0xcce3c7;const _0x3b8230=Date[_0x4dedd1(0x3b7)]();try{const _0x5a4f30=((_0x36982d=this['_configService'][_0x4dedd1(0x1fd)](_0x2e0918[_0x4dedd1(0x3a2)]))==null?void 0x0:_0x36982d[_0x4dedd1(0x2a9)])||_0x21771a,_0x360585=(await this[_0x4dedd1(0x40b)]['post'](_0x5a4f30,{'body':JSON[_0x4dedd1(0x2c8)]({'taskId':_0x22d79c})}))[_0x4dedd1(0x35b)];if(((_0xcce3c7=_0x360585[_0x4dedd1(0x405)])==null?void 0x0:_0xcce3c7[_0x4dedd1(0x388)])!==_0xe4b39a['OK'])return;this[_0x4dedd1(0x240)](_0x360585[_0x4dedd1(0x2e5)],_0x3b8230);}catch(_0x5c358c){this[_0x4dedd1(0x403)][_0x4dedd1(0x405)](_0x5c358c);}}[_0x4ff2ee(0x23e)](){const _0x2f0370=_0x4ff2ee;return this[_0x2f0370(0x318)]===0x0?!0x0:this[_0x2f0370(0x318)]-this[_0x2f0370(0x33b)]>0x0;}[_0x4ff2ee(0x40d)](){const _0xd27d40=_0x4ff2ee;this[_0xd27d40(0x3db)]&&(clearTimeout(this['_pollingInterval']),this[_0xd27d40(0x3db)]=null);}[_0x4ff2ee(0x440)](){const _0x54bd59=_0x4ff2ee;this[_0x54bd59(0x2c4)][_0x54bd59(0x344)]({'content':this[_0x54bd59(0x213)]['t']('formula.calculation.waiting'),'type':_0x32cbec[_0x54bd59(0x298)][_0x54bd59(0x338)]});}[_0x4ff2ee(0x441)](_0x416d52){const _0x550abd=_0x4ff2ee;for(const _0x74e285 of _0x416d52){const {unitId:_0x181952,sheetId:_0x2229d9,range:_0x4db34a}=_0x74e285,_0x5b19f7=this[_0x550abd(0x40a)][_0x550abd(0x30b)](_0x181952);if(!_0x5b19f7)continue;const _0x3fa1c9=_0x5b19f7[_0x550abd(0x492)](_0x2229d9);if(!_0x3fa1c9)continue;const _0x25514b=_0x3fa1c9[_0x550abd(0x463)]();for(let _0x191017=_0x4db34a[_0x550abd(0x28b)];_0x191017<=_0x4db34a[_0x550abd(0x289)];_0x191017++)for(let _0x20a3cb=_0x4db34a[_0x550abd(0x3b2)];_0x20a3cb<=_0x4db34a[_0x550abd(0x43b)];_0x20a3cb++){const _0x56cb90=_0x25514b[_0x550abd(0x221)](_0x191017,_0x20a3cb);if(_0x56cb90&&(_0x4dc9d4[_0x550abd(0x449)](_0x56cb90['f'])||_0x4dc9d4[_0x550abd(0x262)](_0x56cb90['si'])))return!0x0;}}return!0x1;}};_0x2cabd2=_0x3ec7da([_0x55f2f6(0x0,_0x4dc9d4['Inject'](_0x2d992f[_0x4ff2ee(0x1e9)])),_0x55f2f6(0x1,_0x4dc9d4[_0x4ff2ee(0x396)]),_0x55f2f6(0x2,_0x4dc9d4[_0x4ff2ee(0x3f4)]),_0x55f2f6(0x3,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4efdde['HTTPService'])),_0x55f2f6(0x4,_0x4dc9d4[_0x4ff2ee(0x490)]),_0x55f2f6(0x5,_0x4dc9d4[_0x4ff2ee(0x47b)]),_0x55f2f6(0x6,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x23f)]))],_0x2cabd2);var _0x4c5ca7=Object['getOwnPropertyDescriptor'],_0x3e4c14=(_0x20019d,_0x2ef44d,_0x6af204,_0x129e7d)=>{const _0x5477f5=_0x4ff2ee;for(var _0x2cbf03=_0x129e7d>0x1?void 0x0:_0x129e7d?_0x4c5ca7(_0x2ef44d,_0x6af204):_0x2ef44d,_0x7f615f=_0x20019d[_0x5477f5(0x274)]-0x1,_0x25c099;_0x7f615f>=0x0;_0x7f615f--)(_0x25c099=_0x20019d[_0x7f615f])&&(_0x2cbf03=_0x25c099(_0x2cbf03)||_0x2cbf03);return _0x2cbf03;},_0x14322a=(_0x34ceba,_0x3538e0)=>(_0x4879ec,_0x26eb5b)=>_0x3538e0(_0x4879ec,_0x26eb5b,_0x34ceba);let _0x47fffb=class extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(_0x23609f,_0x1ea0bd,_0xce414){const _0x105aae=_0x4ff2ee;super(),_0x3f28ac(this,'_cachedData',new Map()),_0x3f28ac(this,_0x105aae(0x2f3),new Map()),_0x3f28ac(this,_0x105aae(0x2d1),!0x1),(this[_0x105aae(0x24e)]=_0x23609f,this[_0x105aae(0x454)]=_0x1ea0bd,this[_0x105aae(0x29b)]=_0xce414);}[_0x4ff2ee(0x226)](){const _0x3c9294=_0x4ff2ee;this[_0x3c9294(0x2d1)]=!0x0;}['enableLocalCache'](){const _0x31138f=_0x4ff2ee;this[_0x31138f(0x2d1)]=!0x1;}get[_0x4ff2ee(0x41b)](){const _0x175f0b=_0x4ff2ee;return this[_0x175f0b(0x2f3)];}['dispose'](){const _0x2c165d=_0x4ff2ee;this[_0x2c165d(0x2d2)]()['then'](()=>super[_0x2c165d(0x462)]());}async[_0x4ff2ee(0x29e)](_0x4c2026){const _0x27679c=_0x4ff2ee;return this['_disabled']?null:this[_0x27679c(0x454)][_0x27679c(0x31d)](_0x2e0918['getLocalCacheKey'](_0x4c2026));}async[_0x4ff2ee(0x29d)](_0xb8af2a,_0x5a32f6){return!!this['_localStorageService']['setItem'](_0xb8af2a,_0x5a32f6);}[_0x4ff2ee(0x22c)](_0x24f753,_0x272d95,_0x4380d3,_0x3aec0f){const _0x493a63=_0x4ff2ee,_0x251c20=this[_0x493a63(0x29b)][_0x493a63(0x2e7)](_0x24f753);this[_0x493a63(0x2a8)][_0x493a63(0x48a)](_0x24f753,{'unitID':_0x24f753,'type':_0x272d95,'awaitingChangeset':_0x4380d3,'mutations':_0x3aec0f,'rev':_0x251c20}),this['_saveTaskMap']['has'](_0x24f753)||this[_0x493a63(0x261)](_0x24f753);}[_0x4ff2ee(0x261)](_0x1d3064){const _0x252e6c=_0x4ff2ee,_0x5438e1=this[_0x252e6c(0x3b4)]();_0x5438e1===0x0?this[_0x252e6c(0x2f7)](_0x1d3064):this[_0x252e6c(0x2f3)][_0x252e6c(0x48a)](_0x1d3064,setTimeout(()=>this[_0x252e6c(0x2f7)](_0x1d3064),_0x5438e1));}[_0x4ff2ee(0x3b4)](){const _0x200855=_0x4ff2ee;var _0xd66fc3;return(_0xd66fc3=this[_0x200855(0x24e)][_0x200855(0x1fd)](_0x2e0918[_0x200855(0x370)]))!=null?_0xd66fc3:_0x2e0918[_0x200855(0x268)];}[_0x4ff2ee(0x2f7)](_0x313321){const _0x34e306=_0x4ff2ee,_0x2cb7d1=this['_saveTaskMap'][_0x34e306(0x35f)](_0x313321);return _0x2cb7d1!==void 0x0&&window['clearTimeout'](_0x2cb7d1),this[_0x34e306(0x454)]['setItem'](_0x2e0918[_0x34e306(0x3e4)](_0x313321),this[_0x34e306(0x2a8)][_0x34e306(0x35f)](_0x313321))['then'](()=>this['_saveTaskMap'][_0x34e306(0x3dd)](_0x313321));}async[_0x4ff2ee(0x2d2)](){const _0x1c3aaf=_0x4ff2ee,_0x42ba11=[];this[_0x1c3aaf(0x2f3)]['forEach']((_0x3062af,_0x5b7987)=>{const _0x175dae=_0x1c3aaf;window[_0x175dae(0x2b8)](_0x3062af),_0x42ba11['push'](this[_0x175dae(0x2f7)](_0x5b7987)[_0x175dae(0x3b6)](()=>{const _0x40b1fa=_0x175dae;this[_0x40b1fa(0x2f3)][_0x40b1fa(0x3dd)](_0x5b7987);}));}),await Promise[_0x1c3aaf(0x33a)](_0x42ba11);}};_0x47fffb=_0x3e4c14([_0x14322a(0x0,_0x4dc9d4[_0x4ff2ee(0x3f4)]),_0x14322a(0x1,_0x4dc9d4[_0x4ff2ee(0x368)]),_0x14322a(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x40f85d['RevisionService']))],_0x47fffb);class _0x28d7fd extends _0x4dc9d4[_0x4ff2ee(0x1cb)]{constructor(){const _0x3e185c=_0x4ff2ee;super(),_0x3f28ac(this,_0x3e185c(0x461)),this[_0x3e185c(0x461)]=_0x488623[_0x3e185c(0x349)](window,_0x3e185c(0x43e))[_0x3e185c(0x2b9)](_0x488623['takeUntil'](this['dispose$']),_0x488623[_0x3e185c(0x2ea)](0x1),_0x488623[_0x3e185c(0x432)](void 0x0));}['setParam'](_0x5eb1df,_0x51f5aa,_0x5133f2=!0x1){const _0x34a35d=_0x4ff2ee,_0x10da91=new URL(window[_0x34a35d(0x467)][_0x34a35d(0x209)]);_0x10da91[_0x34a35d(0x2d0)]['set'](_0x5eb1df,_0x51f5aa),_0x5133f2?window[_0x34a35d(0x287)][_0x34a35d(0x1e2)]('','',_0x10da91[_0x34a35d(0x471)]()):window['history']['pushState']('','',_0x10da91['toString']());}[_0x4ff2ee(0x40e)](_0x2b416b,_0x438c04=!0x1){const _0x4eebf3=_0x4ff2ee,_0x25e291=new URL(window[_0x4eebf3(0x467)][_0x4eebf3(0x209)]);_0x25e291['searchParams']['delete'](_0x2b416b),_0x438c04?window[_0x4eebf3(0x287)][_0x4eebf3(0x1e2)]('','',_0x25e291[_0x4eebf3(0x471)]()):window['history'][_0x4eebf3(0x31e)]('','',_0x25e291[_0x4eebf3(0x471)]());}[_0x4ff2ee(0x2cb)](_0x83ecfe){const _0x5605f3=_0x4ff2ee;var _0x43cb60;return(_0x43cb60=new URL(window[_0x5605f3(0x467)]['href'])[_0x5605f3(0x2d0)][_0x5605f3(0x35f)](_0x83ecfe))!=null?_0x43cb60:void 0x0;}}var _0x4ab46a=Object[_0x4ff2ee(0x342)],_0x4dcc2d=Object[_0x4ff2ee(0x304)],_0x1fe1a2=(_0x37b954,_0x2d2274,_0x5be0c8)=>_0x2d2274 in _0x37b954?_0x4ab46a(_0x37b954,_0x2d2274,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5be0c8}):_0x37b954[_0x2d2274]=_0x5be0c8,_0x2fff31=(_0x457476,_0x3378c1,_0x4a1898,_0x365206)=>{const _0x1f4ad4=_0x4ff2ee;for(var _0x4b5ca6=_0x365206>0x1?void 0x0:_0x365206?_0x4dcc2d(_0x3378c1,_0x4a1898):_0x3378c1,_0x374baf=_0x457476[_0x1f4ad4(0x274)]-0x1,_0x103b67;_0x374baf>=0x0;_0x374baf--)(_0x103b67=_0x457476[_0x374baf])&&(_0x4b5ca6=_0x103b67(_0x4b5ca6)||_0x4b5ca6);return _0x4b5ca6;},_0x36c6f6=(_0x2955ef,_0x136e45)=>(_0x1a1394,_0x24af0b)=>_0x136e45(_0x1a1394,_0x24af0b,_0x2955ef),_0x42f150=(_0x3e1ea5,_0x208186,_0xf54489)=>_0x1fe1a2(_0x3e1ea5,_0x208186+'',_0xf54489);const _0x3047fe=_0x4ff2ee(0x3ae);_0x5077fe[_0x4ff2ee(0x38f)]=class extends _0x4dc9d4[_0x4ff2ee(0x320)]{constructor(_0x5c5f9f=_0x2b26f6,_0x166f8d,_0x591b0a,_0x1a1c28){const _0x4ff22f=_0x4ff2ee;super(),this[_0x4ff22f(0x417)]=_0x5c5f9f,this[_0x4ff22f(0x355)]=_0x166f8d,this[_0x4ff22f(0x406)]=_0x591b0a,this[_0x4ff22f(0x24e)]=_0x1a1c28;const {..._0x7edbcf}=_0x4dc9d4['merge']({},_0x2b26f6,this['_config']);this[_0x4ff22f(0x24e)][_0x4ff22f(0x2e4)](_0x17194e,_0x7edbcf);}[_0x4ff2ee(0x1ea)](){const _0x3b32f=_0x4ff2ee;this[_0x3b32f(0x2de)](),this[_0x3b32f(0x434)]();}[_0x4ff2ee(0x484)](){const _0x1051d0=_0x4ff2ee;this[_0x1051d0(0x31c)]();}[_0x4ff2ee(0x2de)](){const _0x1f66e3=_0x4ff2ee;var _0x3af02a;const _0x314546=[[_0x278cb7],[_0x2cabd2],[_0x25a528],[_0x4afb2b],[_0x36f2dc],[_0x46655e],[_0x4d3f49,{'useClass':_0x28d7fd}],[_0x4efdde[_0x1f66e3(0x302)],{'useClass':_0x4efdde['WebSocketService']}],[_0x2e0918['ILocalCacheService'],{'useClass':_0x47fffb}],[_0x5077fe['DesktopCollaborationStatusDisplayController']],[_0x33302a],[_0x113c29],[_0x34079f],[_0x397ffc],[_0x5077fe[_0x1f66e3(0x3df)]]];_0x4dc9d4[_0x1f66e3(0x314)](this[_0x1f66e3(0x406)],_0x4dc9d4[_0x1f66e3(0x2db)](_0x314546,(_0x3af02a=this[_0x1f66e3(0x417)])==null?void 0x0:_0x3af02a[_0x1f66e3(0x402)]));}[_0x4ff2ee(0x31c)](){const _0x3cefd1=_0x4ff2ee;this[_0x3cefd1(0x466)](this[_0x3cefd1(0x355)][_0x3cefd1(0x32b)](_0x4dc9d4[_0x3cefd1(0x35a)][_0x3cefd1(0x340)],[_0x4db7f9])),this[_0x3cefd1(0x466)](this[_0x3cefd1(0x355)]['registerRenderModule'](_0x4dc9d4['UniverInstanceType'][_0x3cefd1(0x380)],[_0x5b2dfc]));}[_0x4ff2ee(0x434)](){const _0x28b328=_0x4ff2ee;_0x4dc9d4[_0x28b328(0x43f)](this[_0x28b328(0x406)],[[_0x34079f],[_0x5077fe[_0x28b328(0x44b)]],[_0x33302a],[_0x113c29],[_0x5077fe[_0x28b328(0x3df)]],[_0x2cabd2]]);}},_0x42f150(_0x5077fe['UniverCollaborationClientUIPlugin'],_0x4ff2ee(0x264),_0x3047fe),_0x5077fe[_0x4ff2ee(0x38f)]=_0x2fff31([_0x4dc9d4['DependentOn'](_0x2e0918[_0x4ff2ee(0x3eb)]),_0x36c6f6(0x1,_0x37167b[_0x4ff2ee(0x312)]),_0x36c6f6(0x2,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4dc9d4[_0x4ff2ee(0x419)])),_0x36c6f6(0x3,_0x4dc9d4['IConfigService'])],_0x5077fe['UniverCollaborationClientUIPlugin']);var _0x30afc9=Object[_0x4ff2ee(0x304)],_0x423fad=(_0x1e1b86,_0x4f3466,_0x59ed1f,_0x44bcb8)=>{const _0x5b0193=_0x4ff2ee;for(var _0x7143f5=_0x44bcb8>0x1?void 0x0:_0x44bcb8?_0x30afc9(_0x4f3466,_0x59ed1f):_0x4f3466,_0xad3385=_0x1e1b86[_0x5b0193(0x274)]-0x1,_0x497822;_0xad3385>=0x0;_0xad3385--)(_0x497822=_0x1e1b86[_0xad3385])&&(_0x7143f5=_0x497822(_0x7143f5)||_0x7143f5);return _0x7143f5;},_0x407467=(_0x12d0fd,_0x3cfd91)=>(_0x47631c,_0x1cb818)=>_0x3cfd91(_0x47631c,_0x1cb818,_0x12d0fd);_0x5077fe[_0x4ff2ee(0x332)]=class extends _0x2e0918[_0x4ff2ee(0x385)]{constructor(_0x5971f1,_0x247b43,_0x8e12d0,_0x1eff57,_0x3a4c05){super(_0x5971f1,_0x247b43,_0x8e12d0,_0x1eff57,_0x3a4c05);}async[_0x4ff2ee(0x2fc)](_0x141640){const _0x55629f=_0x4ff2ee,_0x3690ed=await this[_0x55629f(0x234)](),_0x552137=this[_0x55629f(0x231)](_0x141640,_0x3690ed);return this[_0x55629f(0x483)](_0x552137);}[_0x4ff2ee(0x231)](_0x5a660d,_0x3a77bb){const _0x48aa43=_0x4ff2ee,_0x2d6097=typeof window>'u'?new URL(_0x5a660d):new URL(_0x5a660d,window['location'][_0x48aa43(0x3e5)]);_0x2d6097[_0x48aa43(0x2d0)][_0x48aa43(0x48a)]('sessionTicket',_0x3a77bb);const _0x4d2474=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x4d2474['get'](_0x48aa43(0x2be))&&_0x2d6097['searchParams'][_0x48aa43(0x48a)]('runId',_0x4d2474[_0x48aa43(0x35f)](_0x48aa43(0x2be))),_0x2d6097[_0x48aa43(0x471)]();}async[_0x4ff2ee(0x234)](){const _0x292f78=_0x4ff2ee;var _0x542d1b,_0x302def,_0x3db1b1;const _0x4009ce=this[_0x292f78(0x24e)][_0x292f78(0x1fd)](_0x2e0918['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x27a962=(_0x542d1b=_0x4009ce==null?void 0x0:_0x4009ce['wsSessionTicketUrl'])!=null?_0x542d1b:_0x2e0918['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3db1b1=(_0x302def=(await this[_0x292f78(0x40b)][_0x292f78(0x35f)](_0x27a962,{'headers':{'Content-Type':'application/json'}}))[_0x292f78(0x35b)])==null?void 0x0:_0x302def[_0x292f78(0x2ae)])!=null?_0x3db1b1:'';}},_0x5077fe[_0x4ff2ee(0x332)]=_0x423fad([_0x407467(0x0,_0x4dc9d4['Inject'](_0x4dc9d4[_0x4ff2ee(0x419)])),_0x407467(0x1,_0x4dc9d4['Inject'](_0x4efdde[_0x4ff2ee(0x3e2)])),_0x407467(0x2,_0x4dc9d4[_0x4ff2ee(0x3f4)]),_0x407467(0x3,_0x4dc9d4[_0x4ff2ee(0x47b)]),_0x407467(0x4,_0x40f85d[_0x4ff2ee(0x3c2)])],_0x5077fe[_0x4ff2ee(0x332)]);var _0x36c769=Object[_0x4ff2ee(0x304)],_0x4cc44a=(_0x45339f,_0x239f4b,_0x3d060f,_0x2536e3)=>{const _0x1de8da=_0x4ff2ee;for(var _0x3b350d=_0x2536e3>0x1?void 0x0:_0x2536e3?_0x36c769(_0x239f4b,_0x3d060f):_0x239f4b,_0x3a9274=_0x45339f[_0x1de8da(0x274)]-0x1,_0xb4ae12;_0x3a9274>=0x0;_0x3a9274--)(_0xb4ae12=_0x45339f[_0x3a9274])&&(_0x3b350d=_0xb4ae12(_0x3b350d)||_0x3b350d);return _0x3b350d;},_0x28e3bd=(_0x1ae264,_0x5a6cae)=>(_0x12560b,_0x3c3bcf)=>_0x5a6cae(_0x12560b,_0x3c3bcf,_0x1ae264);_0x5077fe['RemoteUniscriptService']=class extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(_0x1b5679,_0x1bed99,_0x3a2a4a){const _0x26f900=_0x4ff2ee;super(),this[_0x26f900(0x20c)]=_0x1b5679,this['_httpService']=_0x1bed99,this[_0x26f900(0x24e)]=_0x3a2a4a;}async['runOnServer'](_0x39c5a9,_0x4338db,_0x5e7b46,..._0x4cd979){const _0x21acc8=_0x4ff2ee;var _0x3536eb,_0x280794,_0x4677de,_0x534cb0;const _0x2b1da0=this['_instanceService'][_0x21acc8(0x29c)]();if(!_0x2b1da0)throw new Error(_0x21acc8(0x3dc));const _0x4fb185=((_0x3536eb=this[_0x21acc8(0x24e)][_0x21acc8(0x1fd)](_0x2e0918['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3536eb:_0x2e0918[_0x21acc8(0x3d4)])+'/'+_0x39c5a9+_0x21acc8(0x43c)+_0x4338db,_0x5b19fc=new URL(window[_0x21acc8(0x467)][_0x21acc8(0x209)]),_0x3b2100={'scriptId':_0x39c5a9,'runId':(_0x280794=_0x5b19fc[_0x21acc8(0x2d0)][_0x21acc8(0x35f)](_0x21acc8(0x2be)))!=null?_0x280794:'','function':_0x4338db,'unitId':_0x2b1da0[_0x21acc8(0x249)](),'argsOfFunction':JSON['stringify'](_0x4cd979),'invokeId':(_0x4677de=_0x5e7b46[_0x21acc8(0x47f)])!=null?_0x4677de:'','executionId':(_0x534cb0=_0x5e7b46[_0x21acc8(0x451)])!=null?_0x534cb0:''};try{const _0x24ecef=await this['_httpService'][_0x21acc8(0x1ef)](_0x4fb185,{'body':_0x3b2100});return _0x24ecef[_0x21acc8(0x35b)][_0x21acc8(0x405)]&&_0x24ecef['body'][_0x21acc8(0x405)][_0x21acc8(0x388)]!==_0xe4b39a['OK']?_0x21acc8(0x376):_0x24ecef[_0x21acc8(0x35b)]['result'];}catch{return _0x21acc8(0x376);}}},_0x5077fe[_0x4ff2ee(0x498)]=_0x4cc44a([_0x28e3bd(0x0,_0x4dc9d4[_0x4ff2ee(0x490)]),_0x28e3bd(0x1,_0x4dc9d4[_0x4ff2ee(0x20a)](_0x4efdde[_0x4ff2ee(0x3e2)])),_0x28e3bd(0x2,_0x4dc9d4[_0x4ff2ee(0x3f4)])],_0x5077fe[_0x4ff2ee(0x498)]);const _0xa20996=0x7530,_0x443319=_0x4ff2ee(0x44a);class _0x93b57e extends _0x4dc9d4[_0x4ff2ee(0x2ab)]{constructor(){const _0x4a3c07=_0x4ff2ee;super(),_0x3f28ac(this,'_id',_0x4dc9d4[_0x4a3c07(0x2c9)]()),_0x3f28ac(this,_0x4a3c07(0x2b2),new Set()),_0x3f28ac(this,'_unitOnClients',new Map()),_0x3f28ac(this,_0x4a3c07(0x1e3),null),_0x3f28ac(this,_0x4a3c07(0x3b3),new Map()),_0x3f28ac(this,_0x4a3c07(0x409),new Map()),this[_0x4a3c07(0x475)]();}[_0x4ff2ee(0x462)](){const _0x2f1672=_0x4ff2ee;super[_0x2f1672(0x462)](),this['_clearOtherTimers']['forEach']((_0x25f94d,_0x3c1080)=>this[_0x2f1672(0x23a)](_0x3c1080)),this[_0x2f1672(0x1e3)]&&window[_0x2f1672(0x269)](this[_0x2f1672(0x1e3)]);}[_0x4ff2ee(0x496)](_0x96d6d6){const _0x8c035=_0x4ff2ee;return this[_0x8c035(0x1eb)](_0x96d6d6)['pipe'](_0x488623[_0x8c035(0x2dd)]());}[_0x4ff2ee(0x364)](_0x2aa9f2){const _0x573014=_0x4ff2ee;this[_0x573014(0x2b2)][_0x573014(0x200)]===0x0&&this['_scheduleHeartbeat'](),this[_0x573014(0x2b2)][_0x573014(0x3c8)](_0x2aa9f2),this[_0x573014(0x39d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2aa9f2],'isForwarded':!0x1});}[_0x4ff2ee(0x2ef)](_0x3bd9da){const _0x5437d2=_0x4ff2ee;this[_0x5437d2(0x2b2)][_0x5437d2(0x3dd)](_0x3bd9da),this['_selfUnitIDs']['size']===0x0&&this[_0x5437d2(0x1e3)]&&window[_0x5437d2(0x269)](this[_0x5437d2(0x1e3)]);}['_init'](){const _0x55cba8=_0x4ff2ee;this['disposeWithMe'](_0x4dc9d4[_0x55cba8(0x2eb)](_0x488623[_0x55cba8(0x349)](window,_0x55cba8(0x248))[_0x55cba8(0x292)](_0x46431f=>{const _0x4f0677=_0x55cba8;if(_0x46431f[_0x4f0677(0x36b)]!==_0x443319||!_0x46431f[_0x4f0677(0x307)])return;const _0x162fee=JSON[_0x4f0677(0x3a7)](_0x46431f[_0x4f0677(0x307)]);this[_0x4f0677(0x21a)](_0x162fee);}))),window[_0x55cba8(0x362)]('unload',()=>this[_0x55cba8(0x39d)]({'type':0x1,'memberID':this[_0x55cba8(0x293)],'unitIDs':Array[_0x55cba8(0x2c1)](this[_0x55cba8(0x2b2)])}));}[_0x4ff2ee(0x21a)](_0x3ef343){const _0x38568c=_0x4ff2ee;switch(_0x3ef343[_0x38568c(0x308)]){case 0x0:this[_0x38568c(0x404)](_0x3ef343);break;case 0x1:this[_0x38568c(0x28c)](_0x3ef343);break;case 0x2:this[_0x38568c(0x2b0)](_0x3ef343);break;}}[_0x4ff2ee(0x404)](_0x5c231c){const _0xa1ff34=_0x4ff2ee,{unitIDs:_0x2554c6,memberID:_0x5ef7e3,isForwarded:_0x5352b1}=_0x5c231c;_0x2554c6[_0xa1ff34(0x426)](_0x364929=>{const _0x135091=_0xa1ff34;if(!_0x5352b1&&this['_unitOnClients'][_0x135091(0x477)](_0x364929)&&this[_0x135091(0x1eb)](_0x364929)[_0x135091(0x474)](_0x2e0918[_0x135091(0x297)][_0x135091(0x357)]),!this[_0x135091(0x238)][_0x135091(0x477)](_0x364929)||!this[_0x135091(0x238)]['get'](_0x364929)[_0x135091(0x477)](_0x5ef7e3)){const _0x402dec=this[_0x135091(0x238)]['get'](_0x364929)||new Set();_0x402dec['add'](_0x5ef7e3),this[_0x135091(0x238)]['set'](_0x364929,_0x402dec),this[_0x135091(0x1d6)](_0x5ef7e3);}}),_0x5352b1||this[_0xa1ff34(0x39d)]({'type':0x0,'memberID':this[_0xa1ff34(0x293)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4ff2ee(0x1d6)](_0x27c29e){const _0x1c7046=_0x4ff2ee;this[_0x1c7046(0x23a)](_0x27c29e);const _0x2c6dae=window[_0x1c7046(0x305)](()=>{const _0x562cef=_0x1c7046;this[_0x562cef(0x238)][_0x562cef(0x426)](_0x2cdd36=>{const _0xf082ce=_0x562cef;_0x2cdd36[_0xf082ce(0x3dd)](_0x27c29e);});},_0xa20996*0x2);this[_0x1c7046(0x3b3)][_0x1c7046(0x48a)](_0x27c29e,_0x2c6dae);}[_0x4ff2ee(0x23a)](_0x3e3aa0){const _0x14b0d8=_0x4ff2ee;if(this['_clearOtherTimers'][_0x14b0d8(0x477)](_0x3e3aa0)){const _0x3bcb1e=this[_0x14b0d8(0x3b3)]['get'](_0x3e3aa0);_0x3bcb1e&&window['clearTimeout'](_0x3bcb1e),this[_0x14b0d8(0x3b3)][_0x14b0d8(0x48a)](_0x3e3aa0,null);}}[_0x4ff2ee(0x28c)](_0x363f9d){const _0x4dc114=_0x4ff2ee,{memberID:_0x542dcb,unitIDs:_0x36520b}=_0x363f9d;_0x36520b[_0x4dc114(0x426)](_0x4b58a3=>{const _0x56d5d9=_0x4dc114;var _0x450156;const _0x7e252d=this[_0x56d5d9(0x238)][_0x56d5d9(0x35f)](_0x4b58a3);_0x7e252d&&(_0x7e252d['delete'](_0x542dcb),(_0x450156=this[_0x56d5d9(0x1eb)](_0x4b58a3))==null||_0x450156[_0x56d5d9(0x474)](_0x7e252d['size']===0x0?_0x2e0918[_0x56d5d9(0x297)][_0x56d5d9(0x224)]:_0x2e0918[_0x56d5d9(0x297)][_0x56d5d9(0x357)]));}),this[_0x4dc114(0x23a)](_0x542dcb);}[_0x4ff2ee(0x2b0)](_0x23c5a6){const _0x50e833=_0x4ff2ee;this[_0x50e833(0x1d6)](_0x23c5a6['memberID']);}['_send'](_0x3f6fab){const _0x27bb4e=_0x4ff2ee;localStorage[_0x27bb4e(0x45f)](_0x443319,JSON[_0x27bb4e(0x2c8)](_0x3f6fab));}[_0x4ff2ee(0x32a)](){const _0x12fd68=_0x4ff2ee;this[_0x12fd68(0x1e3)]=window[_0x12fd68(0x2c2)](()=>{const _0x3b6071=_0x12fd68;this[_0x3b6071(0x39d)]({'type':0x2,'memberID':this[_0x3b6071(0x293)]});},_0xa20996);}[_0x4ff2ee(0x1eb)](_0x7c0743){const _0x7c5c59=_0x4ff2ee;return this[_0x7c5c59(0x409)][_0x7c5c59(0x477)](_0x7c0743)||this['_unitStatus'][_0x7c5c59(0x48a)](_0x7c0743,new _0x488623['BehaviorSubject'](_0x2e0918[_0x7c5c59(0x297)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x7c5c59(0x409)]['get'](_0x7c0743);}}_0x5077fe['IURLService']=_0x4d3f49,_0x5077fe['SheetCollabCursorShape']=_0x3ffa84,_0x5077fe[_0x4ff2ee(0x2c7)]=_0x93b57e,_0x5077fe['WebURLService']=_0x28d7fd,Object['defineProperty'](_0x5077fe,Symbol['toStringTag'],{'value':_0x4ff2ee(0x1c8)});}));function _0x416b(){const _0x3eb07f=['clipPath','imageSourceType','fromEvent','tag','toRgbString','onTransformChange$','handleInsertRow','fillRule','isActive','setStateCache','InsertRangeMoveRightCommandId','UniverCore','0\x200\x2017\x2016','filter','_renderManagerService','getUndoRedoMutationParamsCache','OTHER_CLIENTS_EDITING','_setupSubUnitSync','getRenderById','UniverInstanceType','body','collaboration.closeRoom','_commandService','children','get','EMAIL_VERIFY_CODE_MISMATCH','React','addEventListener','color','editingUnit','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','SessionStatus','REDEMPTION_CODE_FULLY_REDEEMED','ILocalStorageService','_imageIoService','rgba(255,\x20255,\x20255,\x200.01)','key','doc.mutation.rich-text-editing','_onCursorDelete','data','unshift','LOCAL_CACHE_INTERVAL_KEY','react','onPointerLeave$','PERMISSION_DENIED','_docSyncEditingCollabCursorService','MOBILE_VERIFY_CODE_MISMATCH','Failed','eventID','addObject','getSheetObject','off-line-icon_clip0_910_343','ThemeService','getSheetId','getRelativeToViewportCoord','asObservable','_hover','UNIVER_SHEET','cursorInfo$','getTypeOfUnitAdded$','#FFF','Vector2','CollaborationSocketService','selection','collaboration.single-unit.warning','code','requireSession','DocCollaborationEntity','INVALID_ARGUMENT','_cursorInfo$','_setupBeforeClosingHandler','SetWorksheetActivateCommand','UniverCollaborationClientUIPlugin','univer-flex\x20univer-items-center','COMPLETION_FINISHED','YUUMI_UNABLE_LOAD_URL','fromEventSubject','1em','makeDirty','ICommandService','throttleTime','SetTextSelectionsOperation','BuiltInUIPart','collabCursorState$','_entities','COLORS','_send','ENTITLE_CHAT_LIMIT_EXCEED','currentColor','currentSkeleton$','symbol','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_transformUndoRedoStack','_scene','OffLineIcon','collab-text-range-','parse','hovered','INVITE_CODE_REQUIRED','complete','map','Error','collab-text-anchor-','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_applyCommand','unsubscribe','UniverNetwork','startColumn','_clearOtherTimers','_getSaveTimeout','svg','then','now','Workbook','collabStatus.fetchMiss','replace','@univerjs-pro/collaboration','YUUMI_URL_COL_OUT_OF_RANGE','undoState','MOBILE_HAS_BEEN_BOUND','_docTransformIMECacheService','_labelPosition','handleIRemoveCol','ISnapshotServerService','transform','_context','onPointerEnter$','m1Prime','dirtyRanges','add','subUnitId','syncEditingCollabCursor','RemoveRowCommandId','_transformService','IUIPartsService','collab-rect-range-','getViewport','useDependency','triggerDblclick','_handleHover','_lastResponseTimestamp','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','push','evenodd','getMemberID','?taskId=','Rectangle','getCoordByCell','_pollingInterval','[RemoteUniscriptService]:\x20no\x20focused\x20unit','delete','NOT_COLLAB','CollaborationDataLoaderController','CONFLICT','entries','HTTPService','transformRemoteChangeset','getLocalCacheKey','origin','OnLineIcon','name','ranges','hide','transformStateCache','UniverCollaborationClientPlugin','resize','getCollabCursors$','getOffsetConfig','_hideTimer','engine','onLocalMutation','_collabCursorController','contains','IConfigService','TEXT','createIdentifier','startsWith','CONNECTOR_DATA_TOO_LARGE','handleDeleteRangeMoveLeft','random','_initResize','collabStatus.conflict','runRefRangeMutations','DocSkeletonManagerService','textRanges','rxjs','_getSheetObject','override','_logService','_handleJoinEvent','error','_injector','current','_initCommandExecutedListener','_unitStatus','_univerInstanceService','_httpService','jsx','_clearPolling','removeParam','defs','subscribeEvent','init','LICENSE_EXPORT_SIZE_EXCEEDED','black','status$','_refreshCollabCursors','INVALID_INVITE_CODE','_config','getMember','Injector','path','saveTaskMap','InsertRowCommandId','onMouseMove','_initEvent','with','yellow.400','forwardRef','_toggleOffline','@univerjs/network','_releaseCalculationLimit','stageInfo','forEach','debug','_themeService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setUndoRedoMutationParamsCache','fillText','transformSelections','CURRENT_STATUS_CANNOT_OPERATE','REDEMPTION_USER_NOT_ELIGIBLE','CommandType','_drawTextRange','...','mapTo','DeleteRangeMoveLeftCommandId','_initDependencies','REDEMPTION_CODE_NOT_STARTED','_lastPointer','functionsExecutedState','BehaviorSubject','CollaborationUIEventId','_urlService','endColumn','/run/','SUCCESS','popstate','touchDependencies','_showGuardMessage','_hasFormulaInDirtyRanges','3356eupBkh','ENSURE_SNAPSHOT_EXECUTION','getSkeleton','NOT_FOUND','attrs','MemberService','SUBMIT_CHANGESET_TIMEOUT','isFormulaString','ACTIVE_UNIT_EVENT_CHANNEL','DesktopCollaborationStatusDisplayController','_assignedColors','url(#on-line-icon_clip0_910_349)','27843350dGWBaY','_shapes','measureText','executionId','@univerjs/engine-render','CollaborationSessionService','_localStorageService','_collabCursorState$','SOCKET_FAILED','switchMap','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','currentUsage','InsertColCommandId','flatMap','transformMutationsWithChangeset','@univerjs/core','getTypeOfUnitDisposed$','setItem','getRangePointData','urlChange$','dispose','getCellMatrix','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','Tools','disposeWithMe','location','ENTITLE_REPORT_LIMIT_EXCEED','@univerjs/engine-formula','_localCacheService','getColor','_anchor','AUTHORIZE_CODE_ILLEGAL','IBeforeCloseService','defIds','unitId','toString','onCommandExecuted','CollaborationUIEventService','next','_init','width','has','getActiveSheet','source','UNRECOGNIZED','ILogService','_removeCollabCursors','arc','ENTITLE_INSUFFICIENT_QUOTA','invokeId','setAlpha','YUUMI_AI_RUN_FAILED','_updateURLWithCurrentState','_doCreateSocket','onRendered','subunit','APPLY_DUPLICATED','2483785KTjwkc','parseInt','UniverUi','set','_range','div','NodePositionConvertToCursor','ENTITLE_DUP_SUBSCRIPTION','_getMergeRange','IUniverInstanceService','jsxs','getSheetBySheetId','getMergeData','permission.content','_collaborationUIEventService','getUnitStatus$','_online','RemoteUniscriptService','react/jsx-runtime','restore','USER_IS_ANONYMOUS','useObservable','OFFLINE','SheetsSelectionsService','selections','Module','@univerjs/sheets-ui','8kYtMIa','RxDisposable','UniverDesign','loadUnit','colorChannel1','debounceTime','collaboration-client.offline-data-not-saved','YUUMI_RATE_OVER_LIMIT','takeUntil','RefRangeService','http://www.w3.org/2000/svg','/universer-api/license/formula/limit/status','_scheduleClearOtherTimer','dispose$','_transformHistoryAndStateStack','_startCalculationLimit','INVITE_CODE_ALREADY_BOUND','getStateCache','top','TRANSFORM_CHANGE_OBSERVABLE_TYPE','EffectRefRangId','combineLatest','Subject','getDocRanges','replaceState','_heartbeatTimer','session.collaboration-timeout','OTHER_CLIENT_EDITING','_colorAssignService','FromArray','CLOSE_ROOM','IMessageService','onStarting','_ensureSubject','getVpScrollXYInfoByPosToVp','ITransformService','green.600','post','REDEMPTION_INVALID_CODE','_onCursorUpdate','_render','YUUMI_NO_CUBOID_FOR_QUESTION','debounce','LOGIN_TOKEN_PROCESSING_FAILED','_toggleOnline','getUniverSheetInstance','substring','_transformPreviousActiveRange','registerRefRange','handleMoveRange','formula.calculation.unable','getConfig','UniverProCollaborationClientUi','INTERNAL_ERROR','size','IRemoteInstanceService','_colorIndex','_onRefRangeChange','Tooltip','sheetID','_anchorDot','getformulaLimitStatusUrl','handleDeleteRangeMoveUp','href','Inject','addObjects','_instanceService','_entityInit$','@univerjs/drawing','onPointerMove$','9bXzQsO','m2Prime','ERROR_AGAIN','_localeService','INotificationService','Rect','rxjs/operators','@univerjs/rpc','univerjs-icon\x20univerjs-icon-','UniverProCollaborationClient','_handleEvent','serializeRangeWithSheet','skeleton','DocIMEInputManagerService','trim','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','permission.title','getValue','UniverProCollaboration','_hovered','NO_OTHER_CLIENTS_EDITING','_taskIds','disableLocalCache','split','roomMembers','_sheetSkeletonManagerService','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','_docTransformSelectionsService','updateOfflineData','includes','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_startSheetCollabCursor','getCellPositionByOffset','_createSocketURL','clsx','_cursors','_getSessionTicket','_drawRectRange','getUnhiddenWorksheets','sessionStatus$','_unitOnClients','@univerjs/design','_removeClearOtherTimer','DisposableCollection','_checkAndWaitForCalculationPermission','isArray','_checkCalculationAvailable','LocaleService','_setFormulaLimitStatus','FormulaExecutedStateType','SetFormulaCalculationStartMutation','TOO_MANY_REQUESTS','_docStateChangeManagerService','YUUMI_ASYNCIO_CANCELLED','_docTransformStateCacheService','/universer-api/license/formula/limit/start','storage','getUnitId','isTransformMutationFailure','deserializeRangeWithSheet','isTransformMutationsWithChangesetSuccess','_session','_configService','shift','bottom','closePath','none','_draw','on-line-icon_clip0_910_349','ONLINE','_docSkeletonManagerService','save','DeleteRangeMoveUpCommandId','unitID','event$','CollaborationEvent','UniverIcon','LICENSE_MAX_UNITS_EXCEEDED','fill','0\x200\x2016\x2016','whenReady','_scheduleSaving','isFormulaId','RECT','pluginName','ColorKit','column','_cursorShapes','LOCAL_CACHE_INTERVAL','clearInterval','row','2219060UoEEZg','_updateCollabCursors','deepClone','_cursor','drawWith','UniverEngineFormula','redoState','collab-client.tooltip.reconnect','UNAUTHENTICATED','length','EMAIL_HAS_BEEN_BOUND','collabStatus.synced','APPLY_NON_SEQUENTIAL_REVISION','_collaborationController','_notificationService','off-line-icon','_initCommandInterceptor','@univerjs/docs-ui','Warning','_initStatusComponent','_updateLocalCursor','_syncEditingCollabCursorService','RemoveColCommandId','docStateChange$','lineTo','min','CHANGESET_REVISION_CONFILICT','setShapeProps','history','RegularPolygon','endRow','use','startRow','_handleLeaveEvent','USERS_LEAVE','LICENSE_DISTRO_REJECTED','@univerjs/sheets','string','mask','subscribe','_id','ENTITLE_CAN_NOT_BUY_LOWER_OTP','PY_RUNTIME_SCRIPT_ERROR','_color','UnitStatus','MessageType','uni.network.url-service','/universer-api/license/formula/limit/done','_revisionService','getFocusedUnit','saveOfflineData','loadOfflineData','MUTATION','assignAColorForMemberID','CollaborationController','replaceDocRanges','url(#$1','xlink:href','LICENSE_IMPORT_SIZE_EXCEEDED','entityInit$','_getAnchorBounding','_cachedData','releaseFormulaLimitUrl','194339oaeBEI','Disposable','max','exports','ticket','DataLoaderService','_handleHeartbeatEvent','1375842ErLPSv','_selfUnitIDs','_updateSubUnitFromURLParams','@univerjs/ui','INVITE_CODE_HAS_BEEN_UES','object','collaboration-client-ui.config','clearTimeout','pipe','TEXT_RANGE_LAYER_INDEX','addHandlerCallback','_collabSessionService','activeSheet$','runId','setActiveRange','YUUMI_SUBSCRIPTION_NOT_FOUND','from','setInterval','registerBeforeClose','_messageService','Shape','handleInsertRangeMoveRight','WebBrowserSingleActiveUnitService','stringify','generateRandomId','SNAPSHOT_HAS_BEEN_REMOVED','getParam','purple.300','font','startFormulaLimitUrl','getColorFromTheme','searchParams','_disabled','exhaustSavingTask','range','getCurrentUnitForType','VIEW_MAIN','[CollaborationDataLoaderController]','_name','@univerjs/docs','PAYMENT_CHANNEL_NOT_SUPPORT','executeCommand','mergeOverrideWithDependencies','START_CALCULATION','distinctUntilChanged','_registerDependencies','ALREADY_EXISTS','mutations','SheetSkeletonManagerService','session.will-retry','handleInsertCol','setConfig','limitInfo','LOGIN_FAILED','getCurrentRevOfUnit','YUUMI_CONNECTOR_URL_NOT_FOUND','createElement','shareReplay','toDisposable','_memberService','params','UniverRpc','disposeUnit','APPLY_REVISION_CONFILICT','CollaborationStatus','_eventUnsubscribe','_saveTaskMap','amd','UNDEFINED','getCurrent','_saveCache','reconnect','cursorInfo','send','handleInsertRangeMoveDown','createSocket','sheetId','_status$','_dataLoaderService','transformMutation','height','ISocketService','displayName','getOwnPropertyDescriptor','setTimeout','_backgroundColor','newValue','type','idSuffix','DOC_RANGE_TYPE','getUnit','Optional','addClipboardHook','DocStateChangeManagerService','9289777RkkAvK','collabStatus.notCollab','moveTo','IRenderManagerService','ENTITLE_NEED_BILLING_ADDRESS','registerDependencies','text','_roomMembers$','setParam','_maxFormulaLimit','_beforeCloseService','APPLY_PERMISSION_DENIED','REDEMPTION_CODE_INACTIVE','_registerRenderDependencies','getItem','pushState','USER_NOT_FOUND','Plugin','values','UniverDocs','_docClipboardService','SetDocZoomRatioOperation','actions','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','2808gAhSeg','getActiveRange','YUUMI_ALL_TABLES_IS_INVALID','_scheduleHeartbeat','registerRenderModule','WECHAT_HAS_BEEN_BOUND','assign','isEditing','transformByState','round','currentTheme$','BrowserCollaborationSocketService','white','roomMembers$','Unknown\x20user','USER_NOT_INVITED_CODE','DocSelectionManagerService','Loading','_textBubble','all','_currentUsage','_refRangeService','IDocClipboardService','fillStyle','_getScale','UNIVER_DOC','findNodePositionByCharIndex','defineProperty','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','show','UPDATE_CURSOR','createInstance'];_0x416b=function(){return _0x3eb07f;};return _0x416b();}
|