@univerjs-pro/collaboration-client-ui 0.13.0-insiders.20251218-2062647 → 0.13.0-insiders.20251223-857805c
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/ja-JP.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/ja-JP.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/ja-JP.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/ja-JP.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 _0x1e97(_0x3f05b8,_0x598ef3){_0x3f05b8=_0x3f05b8-0xce;const _0x17969e=_0x1796();let _0x1e97df=_0x17969e[_0x3f05b8];return _0x1e97df;}function _0x1796(){const _0x4000cb=['getLocalCacheKey','CollaborationDataLoaderController','override','dispose$','xlink:href','_docTransformStateCacheService','engine','imageSourceType','USER_NOT_INVITED_CODE','_unitOnClients','getFocusedUnit','object','369766nIPzgf','@univerjs/design','CollaborationStatus','source','permission.title','_initDependencies','ticket','getUndoRedoMutationParamsCache','COMPLETION_FINISHED','url(#$1','invokeId','DataLoaderService','/universer-api/license/formula/limit/status','endRow','getCollabCursors$','search','dispose','SetTextSelectionsOperation','createElement','height','storage','resize','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','off-line-icon_clip0_910_343','roomMembers$','Tools','handleInsertRow','Unknown\x20user','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getUnitId','idSuffix','ONLINE','svg','assignAColorForMemberID','setAlpha','_toggleOnline','useCallback','size','FromArray','_httpService','measureText','REDEMPTION_CODE_HAS_BEEN_CREATED','_disabled','@univerjs/drawing','_roomMembers$','@univerjs/network','socket$','path','_initStatusListener','values','COLORS','_commandService','isArray','eventID','clipPath','shareReplay','fromEventSubject','[LogService\x20Error]:\x20','MOBILE_VERIFY_CODE_MISMATCH','editingUnit','DisposableCollection','_colorIndex','PERMISSION_DENIED','LOGIN_TOKEN_PROCESSING_FAILED','univerjs-icon\x20univerjs-icon-','@univerjs/sheets','SOCKET_FAILED_RETRY','focused$','_logService','_getMergeRange','_docTransformSelectionsService','ranges','_releaseCalculationLimit','_onCursorDelete','_handleHover','m2Prime','init','isFormulaId','FormulaExecuteStageType','_drawAnchor','_scheduleSaving','#FFF','DocStateChangeManagerService','stageInfo','_onCursorUpdate','VIEW_MAIN','undoState','post','USERS_LEAVE','deepClone','_taskIds','Optional','SUCCESS','MessageType','exhaustSavingTask','handleInsertRangeMoveRight','takeUntil','error','TEXT','NOT_FOUND','8011638ZkysBU','PY_RUNTIME_SCRIPT_ERROR','tag','_collabSessionService','_initUnhandledRejectionListener','AWAITING_WITH_PENDING','IRenderManagerService','removeEventListener','RemoveColCommandId','_clearOtherTimers','use','delete','_heartbeatTimer','endColumn','_cursorInfo$','_textBubble','REDEMPTION_INVALID_CODE','getCoordByCell','PENDING','_createSocketURL','_initCommandInterceptor','sessionStatus$','Loading','EffectRefRangId','INotificationService','getUnit','_clearPolling','REDEMPTION_USER_NOT_ELIGIBLE','_docSkeletonManagerService','children','YUUMI_ASYNCIO_CANCELLED','UniverDocsUi','ENTITLE_USE_COUPON_NOT_1ST_TRADE','@univerjs/engine-formula','_injector','APPLY_NON_SEQUENTIAL_REVISION','attrs','...','CONNECTOR_DATA_TOO_LARGE','isFormulaString','ENTITLE_CAN_NOT_BUY_LOWER_OTP','UniverRpc','WebURLService','mapTo','APPLY_REVISION_CONFILICT','session.connection-failed','row','M0\x200H16V16H0z','getTypeOfUnitAdded$','_dataLoaderService','SetSelectionsOperation','ILocalStorageService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','transformMutation','has','currentColor','SOCKET_FAILED','roomMembers','distinctUntilChanged','isTransformMutationFailure','InsertRowCommandId','_docClipboardService','DocSkeletonManagerService','_getSheetObject','onCommandExecuted','set','_render','_cursor','setTimeout','@univerjs-pro/collaboration','YUUMI_AI_RUN_FAILED','_labelPosition','_showGuardMessage','colno','text','ACTIVE_UNIT_EVENT_CHANNEL','_transformUndoRedoStack','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_removeClearOtherTimer','OFFLINE','setUndoRedoMutationParamsCache','string','sessionTicket','getColorFromTheme','UniverSheets','collabStatus.fetchMiss','_initResize','_univerInstanceService','RECT','transformMutationsWithChangeset','_renderManagerService','push','cursorInfo$','makeDirty','UniverEngineRender','formula.calculation.unable','_themeService','exports','textRanges','totalFormulasToCalculate','collabStatus.conflict','Rectangle','Error','InsertRangeMoveDownCommandId','REDEMPTION_CODE_INACTIVE','with','isEditing','_instanceService','_cursorShapes','pipe','_onRefRangeChange','_maxFormulaLimit','none','UNDEFINED','DependentOn','WebSocketService','location','CLOSE_ROOM','status$','_memberID','MUTATION','color','parseInt','onPointerLeave$','fill','_getAnchorBounding','CURRENT_STATUS_CANNOT_OPERATE','USER_NOT_FOUND','actions','popstate','_initStatusComponent','body','BuiltInUIPart','collabCursorState$','IImageIoService','[CollaborationDataLoaderController]','unitID','ILogService','filter','UniverCollaborationClientUIPlugin','throttleTime','CollaborationSocketService','operators','ThemeService','_setupSubUnitSync','getRelativeToViewportCoord','_selfUnitIDs','PAYMENT_CHANNEL_NOT_SUPPORT','column','collab-text-anchor-','getSheetId','CollaborationEvent','_handleEvent','whenReady','length','getOffsetConfig','INVITE_CODE_HAS_BEEN_UES','disposeWithMe','replaceState','getSheetObject','_scheduleHeartbeat','clearTimeout','LICENSE_MAX_UNITS_EXCEEDED','forwardRef','event$','SheetCollabCursorShape','_draw','REDEMPTION_CODE_FULLY_REDEEMED','INTERNAL_ERROR','limitInfo','_getSaveTimeout','/universer-api/license/formula/limit/done','getCurrentRevOfUnit','_eventUnsubscribe','_registerDependencies','collaboration-client-ui.config','SetDocZoomRatioOperation','UniverNetwork','collaboration.offline-data-not-saved','disableLocalCache','_pollingInterval','IURLService','Inject','range','arc','handleInsertRangeMoveDown','_id','history','_collabCursorState$','RevisionService','setInterval','UNAUTHENTICATED','getCurrentUnitForType','functionsExecutedState','now','merge','SheetSkeletonManagerService','@univerjs/core','stack','_registerRenderDependencies','entityInit$','CollaborationUIEventService','collaboration.closeRoom','ENTITLE_REPORT_LIMIT_EXCEED','SNAPSHOT_HAS_BEEN_REMOVED','_urlService','flatMap','on-line-icon_clip0_910_349','CollaborationController','MoveRangeCommandId','_hasFormulaInDirtyRanges','getformulaLimitStatusUrl','registerRefRange','_cachedData','_entities','saveImage','UNIVER_SHEET','getColor','session.collaboration-timeout','getVpScrollXYInfoByPosToVp','UniverInstanceType','_getFormulaLimitStatus','_collabCursorController','IConfigService','hovered','ILocalCacheService','_uploadLog','OffLineIcon','APPLY_DUPLICATED','RegularPolygon','loadUnit','BrowserCollaborationSocketService','univer-flex\x20univer-items-center','runOnServer','YUUMI_RATE_OVER_LIMIT','INVITE_CODE_REQUIRED','UniverIcon','subUnitId','top','OTHER_CLIENTS_EDITING','params','_refreshCollabCursors','save','loadOfflineData','removeParam','LOCAL_CACHE_INTERVAL','maxFormulaLimit','@univerjs/docs-ui','_localStorageService','colorChannel1','ISocketService','href','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverEngineFormula','CONFLICT','CollaborationUIEventId','addObject','getSkeleton','symbol','Rect','@univerjs/ui','_beforeCloseService','_updateSubUnitFromURLParams','_lastResponseTimestamp','/universer-api/license/formula/limit/start','DeleteRangeMoveLeftCommandId','SHEET_VIEWPORT_KEY','then','_initEvent','_hideTimer','registerComponent','Injector','ENTITLE_INSUFFICIENT_QUOTA','_hovered','add','Warning','ENTITLE_COUPON_EXPIRED','onStarting','UNIVER_DOC','mutations','NodePositionConvertToRectRange','_collaborationSessionService','send','executionId','_updateLocalCursor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_online','find','REDEMPTION_CODE_NOT_STARTED','Module','24269rWNrGi','unsubscribe','FETCH_MISS','/run/','url(#off-line-icon_clip0_910_343)','addHandlerCallback','EMAIL_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','handleMoveRange','getConfig','searchParams','onLocalMutation','CanceledError','startFormulaLimitUrl','_localeService','_setFormulaLimitStatus','getMergeData','next','TEXT_RANGE_LAYER_INDEX','DOC_RANGE_TYPE','debounceTime','_assignedColors','_initWindowErrorListener','SetFormulaCalculationStartMutation','SNAPSHOT_INVALID_SNAPSHOT','CHANGESET_REVISION_CONFILICT','_send','substring','map','cursorInfo','jsxs','_transformService','uni.network.url-service','mask','origin','type','name','RxDisposable','registerDependencies','_unitStatus','680076bXjpyt','INVITE_CODE_ALREADY_BOUND','getUniverSheetInstance','SessionStatus','unhandledrejection','data','collabStatus.synced','_color','RemoveRowCommandId','RefRangeService','getSheetBySheetId','Vector2','_memberService','shift','bottom','rgba(255,\x20255,\x20255,\x200.01)','YUUMI_NO_CUBOID_FOR_QUESTION','RemoteUniscriptService','off-line-icon','getRenderById','_sheetSkeletonManagerService','collabStatus.notCollab','USER_IS_ANONYMOUS','useRef','ENSURE_SNAPSHOT_EXECUTION','_refRangeService','url(#on-line-icon_clip0_910_349)','getRangePointData','syncEditingCollabCursor','TOO_MANY_REQUESTS','ColorKit','hide','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCollabEntity$','translate(.97)','_range','selection','2054799Mszpfw','/universer-api/frontend/logs','closePath','transformStateCache','fillText','debug','drawWith','restore','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','message','UniverDocs','Success','NOT_COLLAB','_context','_initCommandExecutedListener','onPointerMove$','DocCollaborationEntity','_scheduleClearOtherTimer','backgroundColor','complete','some','IUniverInstanceService','handleIRemoveRow','findNodePositionByCharIndex','pushState','_saveCache','HTTPService','DesktopCollaborationStatusDisplayController','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clearInterval','assign','rxjs','green.600','toStringTag','_revisionService','m1Prime','_uiPartsService','debounce','getDocRanges','UniverProCollaborationClientUi','UniverProCollaboration','_toggleOffline','displayName','UniverUi','RichTextEditingMutation','_setupBeforeClosingHandler','function','redoState','110YfRWZa','replaceDocRanges','MOBILE_HAS_BEEN_BOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ITransformService','MemberService','_handleLeaveEvent','red.300','transformByState','UniverProCollaborationClient','registerBeforeClose','application/json','startsWith','_checkAndWaitForCalculationPermission','jsx','UniverDrawing','LICENSE_IMPORT_SIZE_EXCEEDED','Disposable','sheetID','ENTITLE_DUP_SUBSCRIPTION','CommandType','_updateCollabCursors','transformSelections','toString','_initUserListener','subunit','_saveTaskMap','connectInjector','saveOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','subscribeEvent','wsSessionTicketUrl','AUTHORIZE_CODE_ILLEGAL','YUUMI_ALL_TABLES_IS_INVALID','getTypeOfUnitDisposed$','react','lineno','CollaborationSessionService','createInstance','FormulaExecutedStateType','onTransformChange$','setStateCache','getCellPositionByOffset','currentSkeleton$','defineProperty','@univerjs/docs','OTHER_CLIENT_EDITING','2120JwhQcW','getUnhiddenWorksheets','ENTITLE_COUPON_USED_UP','getActiveSheet','Workbook','sheetId','41632vaiHTh','_currentUsage','ERROR_AGAIN','[Window\x20Error]:\x20','0\x200\x2016\x2016','_initEntityListener','getAncestorScale','_docTransformIMECacheService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_cursors','getParam','@univerjs/rpc','InsertColCommandId','DocIMEInputManagerService','_docStateChangeManagerService','_removeCollabCursors','beforeCommandExecuted','show','replace','_configService','SetWorksheetActivateCommand','setParam','UnitStatus','_messageService','_docSkeleton','registerRenderModule','YUUMI_URL_COL_OUT_OF_RANGE','_backgroundColor','_transformPreviousActiveRange','_drawRectRange','blue.400','unit','saveTaskMap','unshift','stringify','_getSessionTicket','DocSelectionManagerService','selections','handleDeleteRangeMoveLeft','INVALID_INVITE_CODE','toRgbString','_name','onPointerEnter$','_checkCalculationAvailable','transformIMECache','_transformHistoryAndStateStack','subscribe','ISnapshotServerService','handleInsertCol','SYNCED','entries','_anchorDot','ENTITLE_INVALID_COUPON_CODE','setShapeProps','fromEvent','disposeUnit','APPLY_PERMISSION_DENIED','_status$','UNRECOGNIZED','getOwnPropertyDescriptor','beginPath','onMouseMove','dirtyRanges','_session','fillStyle','_init','ICommandService','_scene','Plugin','labelPosition','IDocClipboardService','addObjects','from','permission.content','requireSession','collabStatus.offline','_getScale','runId','div','UPDATE_CURSOR','EMAIL_VERIFY_CODE_MISMATCH','IRemoteInstanceService','getValue','_syncEditingCollabCursorService','unitId','width','getViewport','updateOfflineData','clsx','key','_docSyncEditingCollabCursorService','pluginName','join','_anchor','@univerjs/sheets-ui','getItem','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','evenodd','asObservable','_lastPointer','rxjs/operators','parse','code','formula.calculation.started','0\x200\x2017\x2016','useDependency','startColumn','_startCalculationLimit','_colorAssignService','getCurrentSelections','lineTo','doc.mutation.rich-text-editing','LICENSE_DISTRO_REJECTED','createIdentifier','addEventListener','black','IBeforeCloseService','SetFormulaCalculationNotificationMutation','_imageIoService','round','_handleJoinEvent','runRefRangeMutations','isTransformMutationsWithChangesetSuccess','_startDocCollabCursor','get','UniverSheetsUi','Shape','addClipboardHook','enableFrontendLog','Failed','_collaborationUIEventService','_startSheetCollabCursor','LocaleService','newValue','ALREADY_EXISTS','DATA_SOURCE_TOO_LARGE','currentTheme$','stage','_hover','useObservable','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_updateURLWithCurrentState','startRow','_localCacheService','_config','forEach','_document','currentUsage','_shapes','setItem','generateRandomId','trim','transformRemoteChangeset','purple.300','combineLatest','_handleHeartbeatEvent','white','split','YUUMI_SUBSCRIPTION_NOT_FOUND','serializeRangeWithSheet','_entityInit$','yellow.400','SheetsSelectionsService','defs','getCurrent','_ensureSubject','BehaviorSubject','amd','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collab-text-range-','memberID','_notificationService','1em','catch','skeleton','bind','LOCAL_CACHE_INTERVAL_KEY','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','result','executeCommand','_drawTextRange','IMessageService','http://www.w3.org/2000/svg','handleDeleteRangeMoveUp','font','getMemberID','_monkeyPatchLogService','switchMap','UniverDesign','APPLY_REJECT','1133592fbckmr','ENTITLE_NEED_BILLING_ADDRESS','_applyCommand'];_0x1796=function(){return _0x4000cb;};return _0x1796();}(function(_0x5082e3,_0x53d6b4){const _0x285812=_0x1e97,_0x32367b=_0x5082e3();while(!![]){try{const _0x5ba9bf=-parseInt(_0x285812(0x35e))/0x1+-parseInt(_0x285812(0x36d))/0x2+-parseInt(_0x285812(0x215))/0x3+-parseInt(_0x285812(0x29f))/0x4*(parseInt(_0x285812(0x26a))/0x5)+parseInt(_0x285812(0x3d1))/0x6+parseInt(_0x285812(0x1ed))/0x7*(parseInt(_0x285812(0x299))/0x8)+parseInt(_0x285812(0x23a))/0x9;if(_0x5ba9bf===_0x53d6b4)break;else _0x32367b['push'](_0x32367b['shift']());}catch(_0x15e089){_0x32367b['push'](_0x32367b['shift']());}}}(_0x1796,0xace64),function(_0x4ac64d,_0x3fa0f4){const _0x1ebeb7=_0x1e97;typeof exports==_0x1ebeb7(0x36c)&&typeof module<'u'?_0x3fa0f4(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==_0x1ebeb7(0x268)&&define[_0x1ebeb7(0x347)]?define([_0x1ebeb7(0x12c),'react/jsx-runtime','@univerjs-pro/collaboration-client',_0x1ebeb7(0x190),_0x1ebeb7(0x1cf),_0x1ebeb7(0x259),_0x1ebeb7(0x36e),_0x1ebeb7(0x28d),_0x1ebeb7(0x2ab),_0x1ebeb7(0x3ae),'@univerjs/engine-render',_0x1ebeb7(0x39a),_0x1ebeb7(0x1c2),_0x1ebeb7(0x398),_0x1ebeb7(0x110),_0x1ebeb7(0x297),_0x1ebeb7(0xec),_0x1ebeb7(0x304),_0x1ebeb7(0x2fe)],_0x3fa0f4):(_0x4ac64d=typeof globalThis<'u'?globalThis:_0x4ac64d||self,_0x3fa0f4(_0x4ac64d[_0x1ebeb7(0x261)]={},_0x4ac64d['React'],_0x4ac64d[_0x1ebeb7(0x273)],_0x4ac64d['UniverCore'],_0x4ac64d[_0x1ebeb7(0x265)],_0x4ac64d[_0x1ebeb7(0x259)],_0x4ac64d[_0x1ebeb7(0x35c)],_0x4ac64d['React'],_0x4ac64d[_0x1ebeb7(0xf4)],_0x4ac64d[_0x1ebeb7(0x11f)],_0x4ac64d[_0x1ebeb7(0x129)],_0x4ac64d[_0x1ebeb7(0x17c)],_0x4ac64d[_0x1ebeb7(0xea)],_0x4ac64d[_0x1ebeb7(0x279)],_0x4ac64d[_0x1ebeb7(0x262)],_0x4ac64d[_0x1ebeb7(0x244)],_0x4ac64d[_0x1ebeb7(0x1c8)],_0x4ac64d['rxjs'][_0x1ebeb7(0x159)],_0x4ac64d[_0x1ebeb7(0x31d)]));}(this,function(_0x42b8f3,_0x36c173,_0x115633,_0x5721e1,_0xa1d841,_0x3c46fe,_0x31d403,_0x2f3b23,_0x2abba2,_0x52d373,_0x585793,_0x45e398,_0x45f825,_0x36f61a,_0x195720,_0x9d8fba,_0x26196d,_0x3951af,_0x131e0d){'use strict';const _0x3db800=_0x1e97;var _0x1b06f4=Object['defineProperty'],_0x53c8bc=(_0x2dd5c6,_0x2c698d,_0x1ccce8)=>_0x2c698d in _0x2dd5c6?_0x1b06f4(_0x2dd5c6,_0x2c698d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ccce8}):_0x2dd5c6[_0x2c698d]=_0x1ccce8,_0x11fc09=(_0x1c238c,_0x1047d5,_0x3846b8)=>_0x53c8bc(_0x1c238c,typeof _0x1047d5!=_0x3db800(0x1cd)?_0x1047d5+'':_0x1047d5,_0x3846b8);function _0x53852e({ref:_0x5a622c,..._0x254239}){const _0x4864c5=_0x3db800,{icon:_0x4d3409,id:_0x4baf37,className:_0x4b08df,extend:_0x431025,..._0x4dea7a}=_0x254239,_0x2bd6ea=(_0x4864c5(0x3ad)+_0x4baf37+'\x20'+(_0x4b08df||''))[_0x4864c5(0x337)](),_0x177064=_0x2f3b23[_0x4864c5(0x22c)]('_'+_0x178212());return _0x5a6ff2(_0x4d3409,''+_0x4baf37,{'defIds':_0x4d3409['defIds'],'idSuffix':_0x177064['current']},{'ref':_0x5a622c,'className':_0x2bd6ea,..._0x4dea7a},_0x431025);}function _0x5a6ff2(_0x21ac2b,_0xde4061,_0xf9ad22,_0x3c1ef3,_0x352370){const _0x1e4ee5=_0x3db800;return _0x2f3b23[_0x1e4ee5(0x37f)](_0x21ac2b[_0x1e4ee5(0x3d3)],{'key':_0xde4061,..._0x55e06a(_0x21ac2b,_0xf9ad22,_0x352370),..._0x3c1ef3},(_0x3862dd(_0x21ac2b,_0xf9ad22)[_0x1e4ee5(0xe8)]||[])[_0x1e4ee5(0x209)]((_0x894fa1,_0x474f9d)=>_0x5a6ff2(_0x894fa1,_0xde4061+'-'+_0x21ac2b['tag']+'-'+_0x474f9d,_0xf9ad22,void 0x0,_0x352370)));}function _0x55e06a(_0x35594d,_0x4efa96,_0x22fc24){const _0x1af7fa=_0x3db800,_0x376c0b={..._0x35594d[_0x1af7fa(0xef)]};_0x22fc24!=null&&_0x22fc24['colorChannel1']&&_0x376c0b[_0x1af7fa(0x147)]===_0x1af7fa(0x1c4)&&(_0x376c0b[_0x1af7fa(0x147)]=_0x22fc24[_0x1af7fa(0x1c4)]),_0x35594d[_0x1af7fa(0x3d3)]==='mask'&&_0x376c0b['id']&&(_0x376c0b['id']=_0x376c0b['id']+_0x4efa96[_0x1af7fa(0x38b)]),Object[_0x1af7fa(0x2d2)](_0x376c0b)['forEach'](([_0x28cebb,_0x4fd706])=>{const _0x2a7cba=_0x1af7fa;_0x28cebb===_0x2a7cba(0x20e)&&typeof _0x4fd706==_0x2a7cba(0x11c)&&(_0x376c0b[_0x28cebb]=_0x4fd706[_0x2a7cba(0x2b2)](/url\(#(.*)\)/,_0x2a7cba(0x376)+_0x4efa96['idSuffix']+')'));});const {defIds:_0x77e525}=_0x4efa96;return!_0x77e525||_0x77e525['length']===0x0||(_0x35594d[_0x1af7fa(0x3d3)]===_0x1af7fa(0xd5)&&_0x376c0b[_0x1af7fa(0x365)]&&(_0x376c0b[_0x1af7fa(0x365)]=_0x376c0b[_0x1af7fa(0x365)]+_0x4efa96[_0x1af7fa(0x38b)]),Object[_0x1af7fa(0x2d2)](_0x376c0b)[_0x1af7fa(0x331)](([_0x4fd073,_0x2127de])=>{const _0x30546b=_0x1af7fa;typeof _0x2127de=='string'&&(_0x376c0b[_0x4fd073]=_0x2127de[_0x30546b(0x2b2)](/url\(#(.*)\)/,'url(#$1'+_0x4efa96['idSuffix']+')'));})),_0x376c0b;}function _0x3862dd(_0x10a768,_0x5cbc68){const _0x1ee966=_0x3db800;var _0x787224;const {defIds:_0x4fbecb}=_0x5cbc68;return!_0x4fbecb||_0x4fbecb[_0x1ee966(0x165)]===0x0?_0x10a768:_0x10a768['tag']===_0x1ee966(0x343)&&((_0x787224=_0x10a768['children'])!=null&&_0x787224['length'])?{..._0x10a768,'children':_0x10a768[_0x1ee966(0xe8)]['map'](_0xa2952e=>typeof _0xa2952e[_0x1ee966(0xef)]['id']==_0x1ee966(0x11c)&&_0x4fbecb&&_0x4fbecb['includes'](_0xa2952e[_0x1ee966(0xef)]['id'])?{..._0xa2952e,'attrs':{..._0xa2952e[_0x1ee966(0xef)],'id':_0xa2952e[_0x1ee966(0xef)]['id']+_0x5cbc68[_0x1ee966(0x38b)]}}:_0xa2952e)}:_0x10a768;}function _0x178212(){const _0x19ae3e=_0x3db800;return Math['random']()[_0x19ae3e(0x281)](0x24)[_0x19ae3e(0x208)](0x2,0x8);}_0x53852e[_0x3db800(0x264)]=_0x3db800(0x1b7);const _0x11986a={'tag':_0x3db800(0x38d),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3db800(0x2a3),'width':'1em','height':_0x3db800(0x34c)},'children':[{'tag':'g','attrs':{'clipPath':_0x3db800(0x1f1)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'stroke':_0x3db800(0x102),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x3db800(0x317),'strokeLinejoin':_0x3db800(0x317),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3db800(0x384)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3db800(0x384)]},_0x1855f4=_0x2f3b23[_0x3db800(0x16e)](function(_0x4ad28d,_0x1854cb){const _0x4e5cc6=_0x3db800;return _0x2f3b23['createElement'](_0x53852e,Object['assign']({},_0x4ad28d,{'id':_0x4e5cc6(0x227),'ref':_0x1854cb,'icon':_0x11986a}));});_0x1855f4[_0x3db800(0x264)]=_0x3db800(0x1ae);const _0x689c8a={'tag':_0x3db800(0x38d),'attrs':{'xmlns':_0x3db800(0x356),'fill':_0x3db800(0x13b),'viewBox':_0x3db800(0x308),'width':_0x3db800(0x34c),'height':_0x3db800(0x34c)},'children':[{'tag':'g','attrs':{'clipPath':_0x3db800(0x22f)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'stroke':_0x3db800(0x102),'d':_0x3db800(0x242),'strokeLinecap':_0x3db800(0x317),'strokeLinejoin':_0x3db800(0x317),'strokeWidth':1.2}}]},{'tag':_0x3db800(0x343),'attrs':{},'children':[{'tag':_0x3db800(0x3a3),'attrs':{'id':_0x3db800(0x19a)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'fill':_0x3db800(0x33c),'d':_0x3db800(0xfa),'transform':_0x3db800(0x237)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x544b9b=_0x2f3b23['forwardRef'](function(_0x514393,_0x562375){const _0x21003b=_0x3db800;return _0x2f3b23[_0x21003b(0x37f)](_0x53852e,Object[_0x21003b(0x258)]({},_0x514393,{'id':'on-line-icon','ref':_0x562375,'icon':_0x689c8a}));});_0x544b9b[_0x3db800(0x264)]='OnLineIcon';function _0x4a053d(_0x15b61d){const _0xde42a5=_0x3db800;switch(_0x15b61d){case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x11a)]:return _0xde42a5(0x2eb);case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x1c9)]:return _0xde42a5(0x12f);case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x1ef)]:return _0xde42a5(0x120);case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x246)]:return _0xde42a5(0x22a);case _0x115633[_0xde42a5(0x36f)]['AWAITING']:case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0xd0)]:return'collabStatus.syncing';case _0x115633['CollaborationStatus'][_0xde42a5(0x2d1)]:case _0x115633['CollaborationStatus'][_0xde42a5(0xdd)]:return _0xde42a5(0x21b);}}function _0x3aa57c(_0x24bc59){const _0x40bfa2=_0x3db800,{status$:_0x237a0a}=_0x24bc59,_0x42f0d8=_0xa1d841[_0x40bfa2(0x32b)](_0x237a0a,_0x115633[_0x40bfa2(0x36f)][_0x40bfa2(0x246)]),_0x390864=_0xa1d841['useDependency'](_0x5721e1[_0x40bfa2(0x324)]),_0x37bce8=_0xa1d841[_0x40bfa2(0x309)](_0x115633['CollaborationSessionService']),_0xa345d4=_0x42f0d8!==_0x115633[_0x40bfa2(0x36f)][_0x40bfa2(0x11a)],_0x3eaa8c=_0x390864['t'](_0x4a053d(_0x42f0d8)),_0x502f4e=_0xa345d4?_0x36c173['jsx'](_0x544b9b,{}):_0x36c173['jsx'](_0x1855f4,{}),_0xd37df7=_0x2f3b23[_0x40bfa2(0x391)](()=>{_0xa345d4||_0x37bce8['reconnect']();},[_0xa345d4,_0x37bce8]);function _0x48bb28(){const _0x528c3f=_0x40bfa2;return _0x36c173[_0x528c3f(0x20b)](_0x528c3f(0x2ee),{'className':_0x528c3f(0x1b3),'onClick':_0xd37df7,'children':[_0x36c173['jsx'](_0x528c3f(0x2ee),{'className':_0x31d403[_0x528c3f(0x2f8)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0xa345d4,'univer-text-red-500':!_0xa345d4}),'children':_0x502f4e}),_0x36c173['jsx'](_0x528c3f(0x2ee),{'className':_0x528c3f(0x383),'children':_0x3eaa8c})]});}return _0xa345d4?_0x48bb28():_0x36c173[_0x40bfa2(0x278)](_0x31d403['Tooltip'],{'title':_0x390864['t']('collab-client.tooltip.reconnect'),'children':_0x48bb28()});}var _0x196195=Object['getOwnPropertyDescriptor'],_0x23b43a=(_0x420d27,_0x386441,_0x4d794f,_0x358b3d)=>{for(var _0x17a068=_0x358b3d>0x1?void 0x0:_0x358b3d?_0x196195(_0x386441,_0x4d794f):_0x386441,_0xa3e734=_0x420d27['length']-0x1,_0x10b6e5;_0xa3e734>=0x0;_0xa3e734--)(_0x10b6e5=_0x420d27[_0xa3e734])&&(_0x17a068=_0x10b6e5(_0x17a068)||_0x17a068);return _0x17a068;},_0x388c8e=(_0x2e7108,_0x536862)=>(_0x5a4799,_0x20faf9)=>_0x536862(_0x5a4799,_0x20faf9,_0x2e7108);_0x42b8f3[_0x3db800(0x255)]=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x5b560a,_0x5985f2,_0x464340,_0x490cd7){const _0xeaa123=_0x3db800;super(),_0x11fc09(this,_0xeaa123(0x2d9),new _0x3c46fe[(_0xeaa123(0x346))](_0x115633[_0xeaa123(0x36f)][_0xeaa123(0x246)])),(this[_0xeaa123(0x122)]=_0x5b560a,this[_0xeaa123(0xed)]=_0x5985f2,this['_collaborationController']=_0x464340,this[_0xeaa123(0x25e)]=_0x490cd7,this[_0xeaa123(0x14d)](),this[_0xeaa123(0x39d)]());}[_0x3db800(0x39d)](){const _0x275499=_0x3db800;this[_0x275499(0x168)](this[_0x275499(0x122)][_0x275499(0x3b0)][_0x275499(0x138)](_0x3c46fe[_0x275499(0x35b)](()=>{const _0x40327c=_0x275499,_0x12fe20=this[_0x40327c(0x122)]['getFocusedUnit']();return _0x12fe20?this['_collaborationController'][_0x40327c(0x236)](_0x12fe20[_0x40327c(0x38a)]()):_0x3c46fe['of'](null);}),_0x3c46fe[_0x275499(0x35b)](_0x4a3133=>_0x4a3133?_0x4a3133[_0x275499(0x141)]:_0x3c46fe['of'](_0x115633[_0x275499(0x36f)][_0x275499(0x246)])))['subscribe'](_0x4bcd45=>{const _0x462406=_0x275499;this[_0x462406(0x2d9)][_0x462406(0x1fe)](_0x4bcd45);}));}[_0x3db800(0x14d)](){const _0x2cec2b=_0x3db800;this[_0x2cec2b(0x168)](this[_0x2cec2b(0x25e)][_0x2cec2b(0x1d9)](_0xa1d841[_0x2cec2b(0x14f)]['HEADER_MENU'],()=>_0xa1d841[_0x2cec2b(0x285)](_0x1f300e({'status$':this[_0x2cec2b(0x2d9)][_0x2cec2b(0x302)]()}),this[_0x2cec2b(0xed)])));}},_0x42b8f3[_0x3db800(0x255)]=_0x23b43a([_0x388c8e(0x0,_0x5721e1['IUniverInstanceService']),_0x388c8e(0x1,_0x5721e1[_0x3db800(0x181)](_0x5721e1['Injector'])),_0x388c8e(0x2,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x19b)])),_0x388c8e(0x3,_0xa1d841['IUIPartsService'])],_0x42b8f3[_0x3db800(0x255)]);function _0x1f300e(_0x29395a){const {status$:_0x1a84c0}=_0x29395a;return function(){const _0x3b40c7=_0x1e97;return _0x36c173[_0x3b40c7(0x278)](_0x3aa57c,{'status$':_0x1a84c0});};}const _0x4a64fb=_0x5721e1[_0x3db800(0x311)](_0x3db800(0x20d));var _0x216a13=Object[_0x3db800(0x2db)],_0x23d8c4=(_0x436ea3,_0x4e28f2,_0x3a6432,_0x2c680c)=>{for(var _0x3ae693=_0x2c680c>0x1?void 0x0:_0x2c680c?_0x216a13(_0x4e28f2,_0x3a6432):_0x4e28f2,_0x3067e4=_0x436ea3['length']-0x1,_0x1ce6d9;_0x3067e4>=0x0;_0x3067e4--)(_0x1ce6d9=_0x436ea3[_0x3067e4])&&(_0x3ae693=_0x1ce6d9(_0x3ae693)||_0x3ae693);return _0x3ae693;},_0x21170e=(_0x623d9,_0x17bbed)=>(_0x5b8b80,_0x353416)=>_0x17bbed(_0x5b8b80,_0x353416,_0x623d9);_0x42b8f3['CollaborationDataLoaderController']=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1577da,_0x2e8de7,_0x239609,_0x424cea,_0x516f02){const _0x5bc516=_0x3db800;super(),this['_urlService']=_0x1577da,this[_0x5bc516(0x3b1)]=_0x2e8de7,this[_0x5bc516(0x3a0)]=_0x239609,this['_dataLoaderService']=_0x424cea,_0x516f02?_0x516f02==null||_0x516f02[_0x5bc516(0x164)]()[_0x5bc516(0x1d6)](()=>this['_init']()):(this[_0x5bc516(0x3b1)][_0x5bc516(0x23f)](_0x5bc516(0x152),_0x5bc516(0x287)),this[_0x5bc516(0x2e1)]());}async['_init'](){const _0x229856=_0x3db800,_0x184361=this[_0x229856(0x198)][_0x229856(0x2aa)](_0x229856(0x2bf)),_0x326ebd=this['_urlService']['getParam'](_0x229856(0x210)),_0x25f61e=this[_0x229856(0x198)][_0x229856(0x2aa)](_0x229856(0x283));if(!_0x184361||!_0x326ebd){this[_0x229856(0x3b1)][_0x229856(0x23f)](_0x229856(0x152),_0x229856(0x32c));return;}const _0x192b0a=await this[_0x229856(0xfc)][_0x229856(0x1b1)](_0x184361,Number(_0x326ebd),_0x25f61e);_0x192b0a&&_0x192b0a instanceof _0x5721e1[_0x229856(0x29d)]&&this[_0x229856(0x15b)](_0x192b0a);}async[_0x3db800(0x15b)](_0x5c1dc4){const _0x1493c1=_0x3db800;await this['_updateSubUnitFromURLParams'](_0x5c1dc4),_0x5c1dc4['activeSheet$']['pipe'](_0x3c46fe[_0x1493c1(0x3cd)](this[_0x1493c1(0x364)]))['subscribe'](_0x1d7b59=>{const _0x2e0bd9=_0x1493c1;_0x1d7b59&&this[_0x2e0bd9(0x32d)](_0x1d7b59);}),this[_0x1493c1(0x198)]['urlChange$'][_0x1493c1(0x138)](_0x3c46fe[_0x1493c1(0x3cd)](this[_0x1493c1(0x364)]))[_0x1493c1(0x2ce)](()=>this[_0x1493c1(0x1d1)](_0x5c1dc4));}[_0x3db800(0x32d)](_0x229408,_0x374f92=!0x1){const _0x3ab46e=_0x3db800,_0x30208d=this[_0x3ab46e(0x198)][_0x3ab46e(0x2aa)](_0x3ab46e(0x283));_0x229408[_0x3ab46e(0x161)]()!==_0x30208d&&this[_0x3ab46e(0x198)][_0x3ab46e(0x2b5)](_0x3ab46e(0x283),_0x229408[_0x3ab46e(0x161)](),_0x374f92);}async[_0x3db800(0x1d1)](_0x3cd83f){const _0x13aa18=_0x3db800;var _0x14ad3a;const _0x20d5f7=this[_0x13aa18(0x198)]['getParam'](_0x13aa18(0x283));if(!_0x20d5f7||!_0x3cd83f[_0x13aa18(0x21f)](_0x20d5f7)){const _0xea92b5=_0x3cd83f[_0x13aa18(0x29a)]()[0x0],_0x5c057c=_0x3cd83f[_0x13aa18(0x21f)](_0xea92b5);if(!_0x5c057c)return;this[_0x13aa18(0x32d)](_0x5c057c,!0x0),await this[_0x13aa18(0x3a0)][_0x13aa18(0x353)](_0x52d373[_0x13aa18(0x2b4)]['id'],{'unitId':_0x3cd83f[_0x13aa18(0x38a)](),'subUnitId':_0xea92b5});return;}((_0x14ad3a=_0x3cd83f[_0x13aa18(0x29c)]())==null?void 0x0:_0x14ad3a['getSheetId']())!==_0x20d5f7&&await this[_0x13aa18(0x3a0)][_0x13aa18(0x353)](_0x52d373[_0x13aa18(0x2b4)]['id'],{'unitId':_0x3cd83f[_0x13aa18(0x38a)](),'subUnitId':_0x20d5f7});}},_0x42b8f3[_0x3db800(0x362)]=_0x23d8c4([_0x21170e(0x0,_0x4a64fb),_0x21170e(0x1,_0x5721e1[_0x3db800(0x154)]),_0x21170e(0x2,_0x5721e1[_0x3db800(0x2e2)]),_0x21170e(0x3,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x378)])),_0x21170e(0x4,_0x5721e1[_0x3db800(0x3c8)](_0x2abba2[_0x3db800(0x2f1)]))],_0x42b8f3[_0x3db800(0x362)]);var _0x2c3c88=Object[_0x3db800(0x2db)],_0xc78629=(_0xc796a8,_0x48da8a,_0x4345a4,_0x5ad260)=>{const _0x26483a=_0x3db800;for(var _0x1ad83d=_0x5ad260>0x1?void 0x0:_0x5ad260?_0x2c3c88(_0x48da8a,_0x4345a4):_0x48da8a,_0x2a63e2=_0xc796a8[_0x26483a(0x165)]-0x1,_0x26bf2b;_0x2a63e2>=0x0;_0x2a63e2--)(_0x26bf2b=_0xc796a8[_0x2a63e2])&&(_0x1ad83d=_0x26bf2b(_0x1ad83d)||_0x1ad83d);return _0x1ad83d;},_0x5ee442=(_0x5abc60,_0x28152d)=>(_0x28e680,_0x1568e2)=>_0x28152d(_0x28e680,_0x1568e2,_0x5abc60);let _0x3ae7cf=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x3b8bb9,_0x474b3a){const _0x17cf58=_0x3db800;super(),this['_docClipboardService']=_0x3b8bb9,this[_0x17cf58(0x316)]=_0x474b3a,this[_0x17cf58(0x2e1)]();}[_0x3db800(0x2e1)](){const _0x504bf4=_0x3db800,_0x401b0b=this;this[_0x504bf4(0x168)](this[_0x504bf4(0x108)][_0x504bf4(0x31f)]({'onBeforePasteImage':async _0x3c497e=>{const _0x3249dd=_0x504bf4,_0x529058=await _0x401b0b[_0x3249dd(0x316)][_0x3249dd(0x1a2)](_0x3c497e);return _0x529058?{'source':_0x529058[_0x3249dd(0x370)],'imageSourceType':_0x529058[_0x3249dd(0x368)]}:null;}}));}};_0x3ae7cf=_0xc78629([_0x5ee442(0x0,_0x45f825[_0x3db800(0x2e6)]),_0x5ee442(0x1,_0x36f61a[_0x3db800(0x151)])],_0x3ae7cf);const _0x50ff74=[_0x3db800(0x339),'jiqing.500',_0x3db800(0x25a),_0x3db800(0x271),_0x3db800(0x2be),_0x3db800(0x341)];class _0x2ab1f4 extends _0x5721e1['Disposable']{constructor(){const _0x231fbb=_0x3db800;super(...arguments),_0x11fc09(this,'_assignedColors',new Map()),_0x11fc09(this,_0x231fbb(0x3aa),0x0);}['assignAColorForMemberID'](_0x431b1a){const _0x168df5=_0x3db800;if(this[_0x168df5(0x202)][_0x168df5(0x101)](_0x431b1a))return this[_0x168df5(0x202)][_0x168df5(0x31c)](_0x431b1a);const _0x1aeba8=_0x50ff74[this[_0x168df5(0x3aa)]];return this[_0x168df5(0x3aa)]=(this[_0x168df5(0x3aa)]+0x1)%_0x50ff74[_0x168df5(0x165)],this[_0x168df5(0x202)][_0x168df5(0x10c)](_0x431b1a,_0x1aeba8),_0x1aeba8;}}function _0x20d37b(_0x300053){const _0x40095b=_0x3db800;let _0x367e2b='';for(const _0xd89894 of _0x300053){const {startOffset:_0x1ba17e,endOffset:_0x271dbf,isActive:_0x378116,rangeType:_0x391da7,segmentId:_0x595f5e,segmentPage:_0x3062bc}=_0xd89894;_0x367e2b[_0x40095b(0x165)]&&(_0x367e2b+=','),_0x367e2b+=_0x1ba17e+':'+_0x271dbf+':'+(_0x378116?'1':'0')+':'+_0x391da7+':'+_0x595f5e+':'+_0x3062bc;}return _0x367e2b;}function _0x347a9b(_0x15bd58){const _0xb6acd7=_0x3db800,_0x2bf27a=_0x15bd58[_0xb6acd7(0x33d)](','),_0x2bf429=[];for(const _0x6504cc of _0x2bf27a){const [_0x12e156,_0xb3f59,_0x11bd95,_0x24632c,_0x2b706a,_0x256dcd]=_0x6504cc[_0xb6acd7(0x33d)](':');_0x2bf429[_0xb6acd7(0x126)]({'startOffset':Number(_0x12e156),'endOffset':Number(_0xb3f59),'collapsed':_0x12e156===_0xb3f59,'isActive':_0x11bd95==='1','rangeType':_0x24632c===_0x5721e1[_0xb6acd7(0x200)][_0xb6acd7(0x3cf)]?_0x5721e1[_0xb6acd7(0x200)]['TEXT']:_0x5721e1[_0xb6acd7(0x200)][_0xb6acd7(0x123)],'segmentId':typeof _0x2b706a==_0xb6acd7(0x11c)?String(_0x2b706a):'','segmentPage':Number(_0x256dcd!=null?_0x256dcd:-0x1)});}return _0x2bf429[_0xb6acd7(0x24e)](_0x32e51c=>_0x32e51c['isActive'])||(_0x2bf429[0x0]['isActive']=!0x0),_0x2bf429;}class _0x41a578 extends _0x5721e1['RxDisposable']{constructor(){const _0x49227b=_0x3db800;super(...arguments),_0x11fc09(this,_0x49227b(0x187),new _0x3c46fe[(_0x49227b(0x346))](null)),_0x11fc09(this,_0x49227b(0x150),this[_0x49227b(0x187)]['asObservable']());}[_0x3db800(0x231)](_0x5e83e3){const _0x39fd30=_0x3db800,{unitID:_0xb66b53,memberID:_0x489582,textRanges:_0x4aa8d0}=_0x5e83e3,_0x47aeaf=_0x20d37b(_0x4aa8d0);if(_0x47aeaf==='')return;const _0x59bdc0={'unitID':_0xb66b53,'memberID':_0x489582,'selection':_0x47aeaf};this[_0x39fd30(0x187)][_0x39fd30(0x1fe)](_0x59bdc0);}}var _0x20d8c6=Object[_0x3db800(0x2db)],_0x4dd272=(_0x279e49,_0x5e9209,_0x3b89e6,_0x5900a5)=>{const _0x2653b0=_0x3db800;for(var _0x36d70e=_0x5900a5>0x1?void 0x0:_0x5900a5?_0x20d8c6(_0x5e9209,_0x3b89e6):_0x5e9209,_0x1de32e=_0x279e49[_0x2653b0(0x165)]-0x1,_0x53b543;_0x1de32e>=0x0;_0x1de32e--)(_0x53b543=_0x279e49[_0x1de32e])&&(_0x36d70e=_0x53b543(_0x36d70e)||_0x36d70e);return _0x36d70e;},_0x1da84f=(_0x1a8ded,_0x25f24f)=>(_0x29a0e8,_0x37c431)=>_0x25f24f(_0x29a0e8,_0x37c431,_0x1a8ded);const _0x2712e3=0x12c,_0x4d5815=0x64;let _0x17b314=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1dbc43,_0x520d0e,_0x19c591,_0x3dca9b,_0x40f48d,_0x440676,_0x3e4663,_0x1bf068,_0x53bbde){const _0x2a9e7f=_0x3db800;super(),_0x11fc09(this,'_online',!0x1),_0x11fc09(this,_0x2a9e7f(0x2e1),!0x1),_0x11fc09(this,_0x2a9e7f(0xd9),new _0x3c46fe['BehaviorSubject'](new Map())),_0x11fc09(this,_0x2a9e7f(0x127),this[_0x2a9e7f(0xd9)][_0x2a9e7f(0x302)]()),_0x11fc09(this,_0x2a9e7f(0x399),new _0x3c46fe[(_0x2a9e7f(0x346))]([])),_0x11fc09(this,_0x2a9e7f(0x385),this[_0x2a9e7f(0x399)][_0x2a9e7f(0x138)](_0x3c46fe['debounceTime'](_0x2712e3))),_0x11fc09(this,'_updateLocalCursor',_0x5721e1[_0x2a9e7f(0x25f)](_0x59a847=>{const _0x4f424c=_0x2a9e7f,_0x5a4566={'eventID':_0x195720[_0x4f424c(0x162)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4f424c(0x153)],'memberID':this[_0x4f424c(0x2df)][_0x4f424c(0x359)](),'selection':_0x20d37b(_0x59a847)}};this[_0x4f424c(0x2df)][_0x4f424c(0x1e5)](_0x5a4566,this[_0x4f424c(0x153)]);},_0x4d5815)),(this['unitID']=_0x1dbc43,this[_0x2a9e7f(0x2df)]=_0x520d0e,this['_injector']=_0x19c591,this[_0x2a9e7f(0x30c)]=_0x3dca9b,this['_memberService']=_0x40f48d,this[_0x2a9e7f(0x2f3)]=_0x440676,this[_0x2a9e7f(0x20c)]=_0x3e4663,this[_0x2a9e7f(0x122)]=_0x1bf068,this[_0x2a9e7f(0x3a0)]=_0x53bbde);}get['cursorInfo'](){const _0x5803ea=_0x3db800;return this[_0x5803ea(0xd9)]['getValue']();}get['roomMembers'](){const _0x370e00=_0x3db800;return this[_0x370e00(0x399)]['getValue']();}[_0x3db800(0x37d)](){const _0x25613b=_0x3db800;super[_0x25613b(0x37d)](),this[_0x25613b(0xd9)][_0x25613b(0x1fe)](new Map()),this['_cursorInfo$'][_0x25613b(0x24d)](),this[_0x25613b(0x399)][_0x25613b(0x1fe)]([]),this[_0x25613b(0x399)]['complete']();}['init'](){const _0x59c0c9=_0x3db800;this[_0x59c0c9(0x2e1)]||(this['_init']=!0x0,this[_0x59c0c9(0x2df)]['sessionStatus$'][_0x59c0c9(0x138)](_0x3c46fe[_0x59c0c9(0x3cd)](this['dispose$']))[_0x59c0c9(0x2ce)](_0x149b37=>{const _0x38a2cf=_0x59c0c9;_0x149b37===_0x115633[_0x38a2cf(0x218)][_0x38a2cf(0x38c)]?this[_0x38a2cf(0x390)]():this[_0x38a2cf(0x263)]();}),this[_0x59c0c9(0x2df)][_0x59c0c9(0x16f)][_0x59c0c9(0x138)](_0x3c46fe[_0x59c0c9(0x3cd)](this[_0x59c0c9(0x364)]))['subscribe'](_0x5a7766=>{const _0x5a32ad=_0x59c0c9,_0x5d6f46=_0x5a7766[_0x5a32ad(0x3a2)];_0x5d6f46===_0x195720[_0x5a32ad(0x162)][_0x5a32ad(0x2ef)]&&this[_0x5a32ad(0x3c1)](_0x5a7766),_0x5d6f46===_0x195720[_0x5a32ad(0x162)]['USERS_LEAVE']&&this[_0x5a32ad(0x3b6)](_0x5a7766);}),this['disposeWithMe'](this['_commandService'][_0x59c0c9(0x10b)](_0xd377e7=>{const _0x289969=_0x59c0c9,_0x574eff=_0xd377e7[_0x289969(0x1bb)];_0x574eff!=null&&this[_0x289969(0x1e9)]&&_0xd377e7['id']===_0x9d8fba[_0x289969(0x37e)]['id']&&_0x574eff[_0x289969(0x2f4)]===this[_0x289969(0x153)]&&_0x574eff[_0x289969(0x135)]===!0x1&&_0x574eff['ranges']['length']>0x0&&this[_0x289969(0x1e7)](_0x574eff[_0x289969(0x3b4)]);})),this[_0x59c0c9(0x2f3)][_0x59c0c9(0x150)][_0x59c0c9(0x138)](_0x3c46fe['takeUntil'](this[_0x59c0c9(0x364)]))['subscribe'](_0x3fa278=>{const _0x4d9805=_0x59c0c9;if((_0x3fa278==null?void 0x0:_0x3fa278[_0x4d9805(0x153)])!==this[_0x4d9805(0x153)])return;const _0x2899d5={'eventID':_0x195720[_0x4d9805(0x162)][_0x4d9805(0x2ef)],'data':_0x3fa278};this[_0x4d9805(0x3c1)](_0x2899d5);}),this[_0x59c0c9(0x168)](this['_commandService'][_0x59c0c9(0x10b)](_0x2a5c5b=>{const _0x275ad4=_0x59c0c9;if(_0x2a5c5b['params']==null)return;const _0x35d9c1=_0x2a5c5b[_0x275ad4(0x1bb)];if(_0x2a5c5b['id']!==_0x9d8fba[_0x275ad4(0x266)]['id']||_0x35d9c1[_0x275ad4(0x2f4)]!==this[_0x275ad4(0x153)])return;const _0x14ef4e={'id':_0x275ad4(0x30f),'params':_0x35d9c1},_0x4c13d1=this[_0x275ad4(0x20a)];for(const [_0x82c31f,_0xcd60a3]of _0x4c13d1){const _0x25ab41={'id':_0x275ad4(0x30f),'params':{'unitId':this[_0x275ad4(0x153)],'actions':null,'textRanges':_0xcd60a3[_0x275ad4(0x3b4)]}},_0x2a45a4=this[_0x275ad4(0x20c)]['transformMutation'](_0x14ef4e,_0x25ab41,!0x1);if(_0x195720['isTransformMutationFailure'](_0x2a45a4))throw _0x2a45a4['error'];_0x4c13d1['set'](_0x82c31f,{..._0xcd60a3,'ranges':_0x2a45a4[_0x275ad4(0x3b8)]['params'][_0x275ad4(0x12d)]});}queueMicrotask(()=>{const _0x312981=_0x275ad4;this[_0x312981(0xd9)][_0x312981(0x1fe)](_0x4c13d1);});})));}[_0x3db800(0x3c1)](_0x292520){const _0x1b300e=_0x3db800;var _0x1f92fa,_0x31eed0;const {memberID:_0x2b7e8f,selection:_0x42d366}=_0x292520[_0x1b300e(0x21a)],_0x943610=_0x347a9b(_0x42d366),_0x4bcfdb=(_0x31eed0=(_0x1f92fa=this[_0x1b300e(0x221)]['getMember'](this[_0x1b300e(0x153)],_0x2b7e8f))==null?void 0x0:_0x1f92fa[_0x1b300e(0x211)])!=null?_0x31eed0:_0x1b300e(0x388),_0x5db8d6={'color':this['_colorAssignService'][_0x1b300e(0x38e)](_0x2b7e8f),'name':_0x4bcfdb,'ranges':_0x943610},_0x3e4485=this[_0x1b300e(0x20a)];_0x3e4485[_0x1b300e(0x10c)](_0x2b7e8f,_0x5db8d6),this[_0x1b300e(0xd9)][_0x1b300e(0x1fe)](_0x3e4485);}[_0x3db800(0x3b6)](_0x1f7056){const _0x38347e=_0x3db800,{memberID:_0x4472cd}=_0x1f7056['data'],_0x4356f0=this['cursorInfo'];_0x4356f0[_0x38347e(0xd6)](_0x4472cd),this[_0x38347e(0xd9)][_0x38347e(0x1fe)](_0x4356f0);}[_0x3db800(0x390)](){const _0x64bec9=_0x3db800;var _0x10ece4;if(this[_0x64bec9(0x1e9)]=!0x0,((_0x10ece4=this['_univerInstanceService'][_0x64bec9(0x36b)]())==null?void 0x0:_0x10ece4['getUnitId']())!==this['unitID'])return;const _0x12000a=this[_0x64bec9(0xed)][_0x64bec9(0x31c)](_0x9d8fba['DocSelectionManagerService'])[_0x64bec9(0x260)]();Array[_0x64bec9(0x3a1)](_0x12000a)&&_0x12000a[_0x64bec9(0x165)]>0x0&&this[_0x64bec9(0x1e7)](_0x12000a);}['_toggleOffline'](){const _0x1bfce3=_0x3db800;this[_0x1bfce3(0x1e9)]=!0x1;}};_0x17b314=_0x4dd272([_0x1da84f(0x2,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x1da84f(0x3,_0x5721e1[_0x3db800(0x181)](_0x2ab1f4)),_0x1da84f(0x4,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x26f)])),_0x1da84f(0x5,_0x5721e1[_0x3db800(0x181)](_0x41a578)),_0x1da84f(0x6,_0x195720[_0x3db800(0x26e)]),_0x1da84f(0x7,_0x5721e1[_0x3db800(0x24f)]),_0x1da84f(0x8,_0x5721e1[_0x3db800(0x2e2)])],_0x17b314);var _0x1d6df8=Object[_0x3db800(0x2db)],_0x2c074e=(_0x58f69d,_0x4d0cc5,_0x453f0d,_0x2aa576)=>{const _0x35d1ff=_0x3db800;for(var _0xba4039=_0x2aa576>0x1?void 0x0:_0x2aa576?_0x1d6df8(_0x4d0cc5,_0x453f0d):_0x4d0cc5,_0x3b8060=_0x58f69d[_0x35d1ff(0x165)]-0x1,_0x5b3b84;_0x3b8060>=0x0;_0x3b8060--)(_0x5b3b84=_0x58f69d[_0x3b8060])&&(_0xba4039=_0x5b3b84(_0xba4039)||_0xba4039);return _0xba4039;},_0x5593a9=(_0x357e3a,_0x36081a)=>(_0x5ebfe9,_0x29297e)=>_0x36081a(_0x5ebfe9,_0x29297e,_0x357e3a);const _0x25eac8=0x12c,_0x11dea0=0x64,_0x1581da=()=>{let _0x483138=[],_0x29fe04=!0x1;return _0x328234=>{const _0x2070af=_0x1e97;_0x483138[_0x2070af(0x126)](_0x328234),_0x29fe04||(_0x29fe04=!0x0,setTimeout(()=>{const _0x58043d=_0x2070af;_0x483138[_0x58043d(0x331)](_0x106c6b=>_0x106c6b()),_0x483138=[],_0x29fe04=!0x1;}));};};let _0x1975a9=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1704c9,_0x16d174,_0x4334e7,_0x18fced,_0x1e7bef,_0x4f97c1,_0x39b515,_0xa5c83a){const _0x313839=_0x3db800;super(),_0x11fc09(this,_0x313839(0x1e9),!0x1),_0x11fc09(this,_0x313839(0x2e1),!0x1),_0x11fc09(this,_0x313839(0xd9),new _0x3c46fe['BehaviorSubject'](new Map())),_0x11fc09(this,_0x313839(0x127),this[_0x313839(0xd9)][_0x313839(0x302)]()),_0x11fc09(this,'_roomMembers$',new _0x3c46fe[(_0x313839(0x346))]([])),_0x11fc09(this,_0x313839(0x385),this['_roomMembers$'][_0x313839(0x138)](_0x3c46fe[_0x313839(0x201)](_0x25eac8))),_0x11fc09(this,_0x313839(0x1e7),_0x5721e1[_0x313839(0x25f)]((_0x42b357,_0x148293)=>{const _0x2e52a7=_0x313839,_0x4c3583={'eventID':_0x195720['CollaborationEvent'][_0x2e52a7(0x2ef)],'data':{'unitID':this[_0x2e52a7(0x153)],'memberID':this[_0x2e52a7(0x2df)][_0x2e52a7(0x359)](),'selection':_0x26196d[_0x2e52a7(0x33f)](_0x42b357,_0x148293[_0x2e52a7(0x182)])}};this[_0x2e52a7(0x2df)][_0x2e52a7(0x1e5)](_0x4c3583,this[_0x2e52a7(0x153)]);},_0x11dea0)),(this['unitID']=_0x1704c9,this[_0x313839(0x2df)]=_0x16d174,this[_0x313839(0xed)]=_0x4334e7,this[_0x313839(0x30c)]=_0x18fced,this[_0x313839(0x221)]=_0x1e7bef,this['_univerInstanceService']=_0x4f97c1,this[_0x313839(0x3a0)]=_0x39b515,this[_0x313839(0x22e)]=_0xa5c83a);}get['cursorInfo'](){const _0x565bbc=_0x3db800;return this[_0x565bbc(0xd9)]['getValue']();}get[_0x3db800(0x104)](){const _0x1cf5da=_0x3db800;return this['_roomMembers$'][_0x1cf5da(0x2f2)]();}[_0x3db800(0x37d)](){const _0x2d86e5=_0x3db800;super[_0x2d86e5(0x37d)](),this[_0x2d86e5(0xd9)][_0x2d86e5(0x1fe)](new Map()),this['_cursorInfo$'][_0x2d86e5(0x24d)](),this['_roomMembers$'][_0x2d86e5(0x1fe)]([]),this[_0x2d86e5(0x399)][_0x2d86e5(0x24d)]();}[_0x3db800(0x3b9)](){const _0x2a3755=_0x3db800;this['_init']||(this[_0x2a3755(0x2e1)]=!0x0,this[_0x2a3755(0x2df)][_0x2a3755(0xe0)][_0x2a3755(0x138)](_0x3c46fe[_0x2a3755(0x3cd)](this[_0x2a3755(0x364)]))['subscribe'](_0x43cbe8=>{const _0x2c33e1=_0x2a3755;_0x43cbe8===_0x115633[_0x2c33e1(0x218)][_0x2c33e1(0x38c)]?this[_0x2c33e1(0x390)]():this['_toggleOffline']();}),this[_0x2a3755(0x2df)]['event$'][_0x2a3755(0x138)](_0x3c46fe[_0x2a3755(0x3cd)](this[_0x2a3755(0x364)]))[_0x2a3755(0x2ce)](_0xd8d314=>{const _0x478eca=_0x2a3755,_0xb8408=_0xd8d314[_0x478eca(0x3a2)];_0xb8408===_0x195720[_0x478eca(0x162)][_0x478eca(0x2ef)]&&this[_0x478eca(0x3c1)](_0xd8d314),_0xb8408===_0x195720[_0x478eca(0x162)][_0x478eca(0x3c5)]&&this[_0x478eca(0x3b6)](_0xd8d314);}),this[_0x2a3755(0x139)](),this[_0x2a3755(0x168)](this[_0x2a3755(0x3a0)][_0x2a3755(0x10b)](_0x41a371=>{const _0x5d2cc8=_0x2a3755;if(this['_online']&&_0x41a371['id']===_0x52d373[_0x5d2cc8(0xfd)]['id']&&_0x41a371['params']['unitId']===this['unitID']){const _0x4742af=_0x41a371[_0x5d2cc8(0x1bb)];this[_0x5d2cc8(0x1e7)](_0x4742af[_0x5d2cc8(0x1b8)],_0x4742af[_0x5d2cc8(0x2c5)][0x0]);}})));}[_0x3db800(0x3c1)](_0x36ed03){const _0x48515d=_0x3db800;var _0x2480ef,_0x2c1fa9;const {memberID:_0x3d8f7b,selection:_0x42f84a}=_0x36ed03['data'],{sheetName:_0x5c399f,range:_0x21c26f}=_0x26196d['deserializeRangeWithSheet'](_0x42f84a),_0x31cd5a={'name':(_0x2c1fa9=(_0x2480ef=this[_0x48515d(0x221)]['getMember'](this['unitID'],_0x3d8f7b))==null?void 0x0:_0x2480ef[_0x48515d(0x211)])!=null?_0x2c1fa9:_0x48515d(0x388),'range':this[_0x48515d(0x3b2)](_0x5c399f,_0x21c26f),'sheetID':_0x5c399f,'color':this[_0x48515d(0x30c)][_0x48515d(0x38e)](_0x3d8f7b),'selection':_0x42f84a},_0x2bc08b=this[_0x48515d(0x20a)];_0x2bc08b['set'](_0x3d8f7b,_0x31cd5a),this[_0x48515d(0xd9)]['next'](_0x2bc08b);}['_onCursorDelete'](_0x5ea511){const _0x576158=_0x3db800,{memberID:_0x2ad3e6}=_0x5ea511[_0x576158(0x21a)],_0x2435fa=this[_0x576158(0x20a)];_0x2435fa[_0x576158(0xd6)](_0x2ad3e6),this[_0x576158(0xd9)]['next'](_0x2435fa);}['_getMergeRange'](_0x2cdeb4,_0x547add){const _0x3cb62c=_0x3db800;var _0x50c01a,_0x144c5f;const _0x3de154=(_0x144c5f=(_0x50c01a=this[_0x3cb62c(0x122)][_0x3cb62c(0x217)](this[_0x3cb62c(0x153)]))==null?void 0x0:_0x50c01a[_0x3cb62c(0x21f)](_0x2cdeb4))==null?void 0x0:_0x144c5f[_0x3cb62c(0x1fd)]();return(_0x3de154==null?void 0x0:_0x3de154[_0x3cb62c(0x1ea)](_0x5d2a83=>_0x5721e1[_0x3cb62c(0x130)]['contains'](_0x5d2a83,_0x547add)))||_0x547add;}['_onRefRangeChange'](){const _0xb632b4=_0x3db800,_0x5adf1d=new _0x5721e1[(_0xb632b4(0x3a9))](),_0xeb78db=_0x1581da(),_0x3566d4=()=>{const _0x5ecb96=_0xb632b4;_0x5adf1d['dispose']();const _0x47e6e5=(_0x3f20a3,_0x5c4742,_0x46847f,_0xa348cb)=>{const _0x3cb0ac=_0x1e97;let _0x454b18=[];switch(_0x3f20a3['id']){case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x1d4)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x2c6)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)]['DeleteRangeMoveUpCommandId']:{_0x454b18=_0x52d373[_0x3cb0ac(0x357)](_0x3f20a3,_0xa348cb);break;}case _0x52d373['EffectRefRangId'][_0x3cb0ac(0x2ac)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x2d0)](_0x3f20a3,_0xa348cb);break;}case _0x52d373['EffectRefRangId'][_0x3cb0ac(0x132)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x184)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)]['InsertRangeMoveRightCommandId']:{_0x454b18=_0x52d373[_0x3cb0ac(0x3cc)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x107)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x387)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x19c)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x1f5)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0xd3)]:{_0x454b18=_0x52d373['handleIRemoveCol'](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x21d)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x250)](_0x3f20a3,_0xa348cb);break;}}const _0x1a9628=_0x52d373[_0x3cb0ac(0x319)](_0x454b18,_0xa348cb),_0x3d6e4c=this[_0x3cb0ac(0x20a)][_0x3cb0ac(0x31c)](_0x5c4742);if(_0x3d6e4c&&_0x1a9628){const _0x4d2425={..._0x3d6e4c,'range':_0x1a9628};this[_0x3cb0ac(0x20a)][_0x3cb0ac(0x10c)](_0x5c4742,_0x4d2425),_0xeb78db(()=>{const _0x1c3e34=_0x3cb0ac,_0x327e97=this[_0x1c3e34(0x22e)]['registerRefRange'](_0x1a9628,_0x4f174b=>(_0x327e97[_0x1c3e34(0x37d)](),_0x47e6e5(_0x4f174b,_0x5c4742,_0x46847f,_0x1a9628)));_0x5adf1d[_0x1c3e34(0x1dd)](_0x327e97);});}return{'redos':[],'undos':[]};};this[_0x5ecb96(0x20a)]['forEach']((_0x2865a4,_0x2ce038)=>{const _0x327f29=_0x5ecb96,{range:_0x7eb60b,sheetID:_0x363ec8}=_0x2865a4,_0x3b78d0=this[_0x327f29(0x22e)][_0x327f29(0x19f)](_0x7eb60b,_0x15f1ca=>(_0x3b78d0[_0x327f29(0x37d)](),_0x47e6e5(_0x15f1ca,_0x2ce038,_0x363ec8,_0x7eb60b)));_0x5adf1d[_0x327f29(0x1dd)](_0x3b78d0);});};this[_0xb632b4(0x168)](_0x5721e1['toDisposable'](this['_cursorInfo$'][_0xb632b4(0x2ce)](()=>{_0x3566d4();})));}['_toggleOnline'](){const _0x312b54=_0x3db800;var _0x4bc1e7,_0x1a04ea;if(this[_0x312b54(0x1e9)]=!0x0,((_0x4bc1e7=this[_0x312b54(0x122)]['getFocusedUnit']())==null?void 0x0:_0x4bc1e7['getUnitId']())!==this['unitID'])return;const _0x210c05=(_0x1a04ea=this['_injector'][_0x312b54(0x31c)](_0x52d373[_0x312b54(0x342)])[_0x312b54(0x30d)]())==null?void 0x0:_0x1a04ea[0x0],_0x2cc825=this[_0x312b54(0x122)][_0x312b54(0x18b)](_0x5721e1[_0x312b54(0x1a7)][_0x312b54(0x1a3)])[_0x312b54(0x29c)]();_0x210c05&&_0x2cc825&&this[_0x312b54(0x1e7)](_0x2cc825[_0x312b54(0x161)](),_0x210c05);}[_0x3db800(0x263)](){const _0x1bbb0d=_0x3db800;this[_0x1bbb0d(0x1e9)]=!0x1;}};_0x1975a9=_0x2c074e([_0x5593a9(0x2,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x5593a9(0x3,_0x5721e1[_0x3db800(0x181)](_0x2ab1f4)),_0x5593a9(0x4,_0x5721e1['Inject'](_0x115633[_0x3db800(0x26f)])),_0x5593a9(0x5,_0x5721e1[_0x3db800(0x24f)]),_0x5593a9(0x6,_0x5721e1[_0x3db800(0x2e2)]),_0x5593a9(0x7,_0x5721e1[_0x3db800(0x181)](_0x52d373[_0x3db800(0x21e)]))],_0x1975a9);var _0x184d02=Object[_0x3db800(0x2db)],_0x344c9c=(_0x4d6c88,_0x3a76ca,_0x1e17d9,_0x565b7f)=>{for(var _0x22af3e=_0x565b7f>0x1?void 0x0:_0x565b7f?_0x184d02(_0x3a76ca,_0x1e17d9):_0x3a76ca,_0x16c446=_0x4d6c88['length']-0x1,_0x51cda2;_0x16c446>=0x0;_0x16c446--)(_0x51cda2=_0x4d6c88[_0x16c446])&&(_0x22af3e=_0x51cda2(_0x22af3e)||_0x22af3e);return _0x22af3e;},_0x2efdf3=(_0x1a54bb,_0x562bb7)=>(_0x4d7788,_0x14adf1)=>_0x562bb7(_0x4d7788,_0x14adf1,_0x1a54bb);let _0x192c77=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1cb8c9,_0x1acfa0,_0x2ab708){const _0x272f38=_0x3db800;super(),_0x11fc09(this,_0x272f38(0x1a1),new Map()),_0x11fc09(this,'_entityInit$',new _0x3c46fe['Subject']()),(this[_0x272f38(0x122)]=_0x1cb8c9,this[_0x272f38(0xed)]=_0x1acfa0,this[_0x272f38(0xce)]=_0x2ab708,this[_0x272f38(0x2e1)]());}[_0x3db800(0x37d)](){const _0x5c16a0=_0x3db800;super[_0x5c16a0(0x37d)](),this[_0x5c16a0(0x340)][_0x5c16a0(0x24d)](),this[_0x5c16a0(0x1a1)][_0x5c16a0(0x331)](_0x274cdd=>_0x274cdd['dispose']());}[_0x3db800(0x37b)](_0x2f74f1){const _0x4520f4=_0x3db800;return this['_entities'][_0x4520f4(0x101)](_0x2f74f1)?this['_entities'][_0x4520f4(0x31c)](_0x2f74f1)[_0x4520f4(0x127)]:this[_0x4520f4(0x340)][_0x4520f4(0x138)](_0x3c46fe[_0x4520f4(0x155)](_0x2204d1=>_0x2204d1[_0x4520f4(0x153)]===_0x2f74f1),_0x3c46fe[_0x4520f4(0x35b)](_0x12ba5e=>_0x12ba5e[_0x4520f4(0x127)]));}['_init'](){const _0x5da905=_0x3db800;this[_0x5da905(0x122)][_0x5da905(0xfb)](_0x5721e1[_0x5da905(0x1a7)][_0x5da905(0x1a3)])[_0x5da905(0x138)](_0x3c46fe[_0x5da905(0x3cd)](this[_0x5da905(0x364)]))[_0x5da905(0x2ce)](async _0xd4405e=>{const _0x1ce0d3=_0x5da905,_0x19fbe0=_0xd4405e[_0x1ce0d3(0x38a)](),_0x1a4535=await this[_0x1ce0d3(0x323)](_0x19fbe0);this['_entityInit$'][_0x1ce0d3(0x1fe)](_0x1a4535),this['_entities'][_0x1ce0d3(0x10c)](_0x19fbe0,_0x1a4535);}),this[_0x5da905(0x122)][_0x5da905(0xfb)](_0x5721e1[_0x5da905(0x1a7)]['UNIVER_DOC'])[_0x5da905(0x138)](_0x3c46fe['takeUntil'](this['dispose$']))['pipe'](_0x3c46fe[_0x5da905(0x155)](_0x5b6590=>!_0x5b6590[_0x5da905(0x38a)]()[_0x5da905(0x276)]('__')))[_0x5da905(0x2ce)](async _0x274cee=>{const _0x2fd37a=_0x5da905,_0x58cbc2=_0x274cee[_0x2fd37a(0x38a)](),_0x33f3ac=await this[_0x2fd37a(0x31b)](_0x58cbc2);this[_0x2fd37a(0x340)][_0x2fd37a(0x1fe)](_0x33f3ac),this['_entities'][_0x2fd37a(0x10c)](_0x58cbc2,_0x33f3ac);}),_0x3c46fe[_0x5da905(0x18e)](this[_0x5da905(0x122)]['getTypeOfUnitDisposed$'](_0x5721e1[_0x5da905(0x1a7)]['UNIVER_DOC']),this[_0x5da905(0x122)][_0x5da905(0x28c)](_0x5721e1[_0x5da905(0x1a7)]['UNIVER_SHEET']))['pipe'](_0x3c46fe['takeUntil'](this[_0x5da905(0x364)]))[_0x5da905(0x2ce)](_0x4e948f=>{const _0x4ad75f=_0x5da905,_0x54c0f0=_0x4e948f[_0x4ad75f(0x38a)](),_0x4f875d=this[_0x4ad75f(0x1a1)]['get'](_0x54c0f0);_0x4f875d&&(_0x4f875d['dispose'](),this[_0x4ad75f(0x1a1)]['delete'](_0x54c0f0));});}async[_0x3db800(0x323)](_0x225641){const _0x4e466d=_0x3db800,_0x5a8548=await this[_0x4e466d(0xce)][_0x4e466d(0x2ea)](_0x225641),_0x5821c4=this[_0x4e466d(0xed)]['createInstance'](_0x1975a9,_0x225641,_0x5a8548);return _0x5821c4[_0x4e466d(0x3b9)](),_0x5821c4;}async[_0x3db800(0x31b)](_0x348379){const _0x34e7cf=_0x3db800,_0x1325d2=await this[_0x34e7cf(0xce)][_0x34e7cf(0x2ea)](_0x348379),_0x2382f4=this[_0x34e7cf(0xed)][_0x34e7cf(0x290)](_0x17b314,_0x348379,_0x1325d2);return _0x2382f4[_0x34e7cf(0x3b9)](),_0x2382f4;}};_0x192c77=_0x344c9c([_0x2efdf3(0x0,_0x5721e1[_0x3db800(0x24f)]),_0x2efdf3(0x1,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x2efdf3(0x2,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x28f)]))],_0x192c77);const _0x13bbfe=0x14,_0x23b09f=0xc8,_0x1c8404=0x4,_0x2238da=0x5;function _0x23c7c3(_0x21d869,_0x3ef75c){const _0x46849a=_0x3db800;let {radius:_0x2a2c70,width:_0x3e190f,height:_0x25aa87}=_0x3ef75c;_0x2a2c70=_0x2a2c70!=null?_0x2a2c70:0x0,_0x3e190f=_0x3e190f!=null?_0x3e190f:0x1e,_0x25aa87=_0x25aa87!=null?_0x25aa87:0x1e;let _0x104fe8=0x0,_0x28d464=0x0,_0x3978e2=0x0;_0x104fe8=_0x28d464=_0x3978e2=Math['min'](_0x2a2c70,_0x3e190f/0x2,_0x25aa87/0x2),_0x21d869[_0x46849a(0x2dc)](),_0x21d869['moveTo'](_0x104fe8,0x0),_0x21d869['lineTo'](_0x3e190f-_0x28d464,0x0),_0x21d869['arc'](_0x3e190f-_0x28d464,_0x28d464,_0x28d464,Math['PI']*0x3/0x2,0x0,!0x1),_0x21d869[_0x46849a(0x30e)](_0x3e190f,_0x25aa87-_0x3978e2),_0x21d869[_0x46849a(0x183)](_0x3e190f-_0x3978e2,_0x25aa87-_0x3978e2,_0x3978e2,0x0,Math['PI']/0x2,!0x1),_0x21d869[_0x46849a(0x30e)](0x0,_0x25aa87),_0x21d869[_0x46849a(0x30e)](0x0,_0x104fe8),_0x21d869[_0x46849a(0x183)](_0x104fe8,_0x104fe8,_0x104fe8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x21d869[_0x46849a(0x23c)](),_0x3ef75c[_0x46849a(0x147)]&&(_0x21d869[_0x46849a(0x1bd)](),_0x21d869[_0x46849a(0x2e0)]=_0x3ef75c[_0x46849a(0x147)],_0x3ef75c['fillRule']===_0x46849a(0x301)?_0x21d869['fill'](_0x46849a(0x301)):_0x21d869['fill'](),_0x21d869[_0x46849a(0x241)]());}class _0x2ecb3f extends _0x585793[_0x3db800(0x31e)]{constructor(_0x2755a9,_0x5818fa){const _0x2598b7=_0x3db800;super(_0x2755a9,_0x5818fa),_0x11fc09(this,'color'),_0x11fc09(this,_0x2598b7(0x115)),(this['color']=_0x5818fa==null?void 0x0:_0x5818fa[_0x2598b7(0x144)],this[_0x2598b7(0x115)]=_0x5818fa==null?void 0x0:_0x5818fa['text']);}static[_0x3db800(0x240)](_0x4bf4f1,_0x16a2c2){const _0x409f64=_0x3db800,{text:_0x31b684,color:_0x1dc66b}=_0x16a2c2;_0x4bf4f1['save'](),_0x4bf4f1[_0x409f64(0x358)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x90ce90=_0x4bf4f1[_0x409f64(0x395)](_0x31b684)[_0x409f64(0x2f5)],_0x454d41=Math['min'](_0x90ce90+0x2*_0x1c8404,_0x23b09f);_0x23c7c3(_0x4bf4f1,{'height':_0x13bbfe,'radius':0x4,'width':_0x454d41,'fill':_0x1dc66b}),_0x4bf4f1[_0x409f64(0x2e0)]=_0x409f64(0x3be);const _0x163cf2=_0x1c8404,_0xb4aa32=_0x13bbfe-_0x2238da,_0x4c0ed1=_0x23b09f-0x2*_0x1c8404;if(_0x90ce90>_0x4c0ed1){let _0x148f10='',_0x563813=0x0;for(const _0x1dd8ec of _0x31b684){const _0x37ea9a=_0x4bf4f1['measureText'](_0x1dd8ec)[_0x409f64(0x2f5)];if(_0x563813+_0x37ea9a<=_0x4c0ed1-_0x4bf4f1[_0x409f64(0x395)](_0x409f64(0xf0))[_0x409f64(0x2f5)])_0x148f10+=_0x1dd8ec,_0x563813+=_0x37ea9a;else{_0x148f10+=_0x409f64(0xf0);break;}}_0x4bf4f1[_0x409f64(0x23e)](_0x148f10,_0x163cf2,_0xb4aa32);}else _0x4bf4f1[_0x409f64(0x23e)](_0x31b684,_0x163cf2,_0xb4aa32);_0x4bf4f1[_0x409f64(0x241)]();}[_0x3db800(0x171)](_0xd1c756){const _0x196a01=_0x3db800;_0x2ecb3f[_0x196a01(0x240)](_0xd1c756,this);}}const _0x56390a=_0x3db800(0x160),_0x2e46c4=_0x3db800(0x349),_0x2d0d28='collab-rect-range-',_0x5e81ff=0x6,_0x208e40=1.5,_0x3d2216=0x4,_0x3ab1fc=1.5,_0x4964d8=_0x3db800(0x224);class _0x4e8ee4{constructor(_0x4c4dca,_0x5b6e92,_0x20997a,_0x50f51c){const _0x4a970f=_0x3db800;_0x11fc09(this,_0x4a970f(0x334),[]),_0x11fc09(this,_0x4a970f(0x2fd),null),_0x11fc09(this,_0x4a970f(0xda),null),_0x11fc09(this,'_anchorDot',null),_0x11fc09(this,_0x4a970f(0x1d8),null),_0x11fc09(this,_0x4a970f(0x178),null),(this[_0x4a970f(0x10e)]=_0x4c4dca,this[_0x4a970f(0x2e3)]=_0x5b6e92,this[_0x4a970f(0x2b8)]=_0x20997a,this[_0x4a970f(0x332)]=_0x50f51c,this['_render']());}set[_0x3db800(0x32a)](_0x5d3fa3){const _0x5024e0=_0x3db800;_0x5d3fa3?(this[_0x5024e0(0x2d3)]&&this['_anchorDot'][_0x5024e0(0x234)](),this['_textBubble']&&this[_0x5024e0(0xda)]['show']()):(this[_0x5024e0(0x2d3)]&&this[_0x5024e0(0x2d3)][_0x5024e0(0x2b1)](),this[_0x5024e0(0xda)]&&this[_0x5024e0(0xda)]['hide']());}['dispose'](){const _0x3465ab=_0x3db800;for(const _0x447c78 of this[_0x3465ab(0x334)])_0x447c78['dispose']();this[_0x3465ab(0xda)]&&this[_0x3465ab(0xda)]['dispose'](),this['_anchorDot']&&this[_0x3465ab(0x2d3)][_0x3465ab(0x37d)](),this[_0x3465ab(0x2fd)]&&this[_0x3465ab(0x2fd)][_0x3465ab(0x37d)](),this[_0x3465ab(0x178)]&&this[_0x3465ab(0x178)]();}[_0x3db800(0x10d)](){const _0x34d012=_0x3db800;var _0x5b6cbb;const {_docSkeleton:_0xe60411,_document:_0x18710e}=this,{color:_0x2f44b1,name:_0x4561f4,ranges:_0x255ad1}=this[_0x34d012(0x10e)],_0x37472e=_0x18710e[_0x34d012(0x166)](),{docsLeft:_0x15611a,docsTop:_0x12f0fa}=_0x37472e,_0x5508c4=new _0x45f825['NodePositionConvertToCursor'](_0x37472e,_0xe60411);for(const {startOffset:_0x5a9c6e,endOffset:_0x481f76,rangeType:_0x4da681,segmentId:_0x1b4349,segmentPage:_0x5f2905,collapsed:_0x3b9bd9,isActive:_0x565fd4}of _0x255ad1){const _0x3be57d=_0xe60411[_0x34d012(0x251)](_0x5a9c6e,!0x0,_0x1b4349,_0x5f2905);let _0x1673c7=_0xe60411[_0x34d012(0x251)](_0x481f76,!0x0,_0x1b4349,_0x5f2905);if(_0x1673c7==null&&(_0x1673c7=_0xe60411['findNodePositionByCharIndex'](_0x481f76-0x1,!0x1,_0x1b4349,_0x5f2905)),_0x565fd4){const {contentBoxPointGroup:_0x58eca2}=_0x5508c4[_0x34d012(0x230)](_0x1673c7,_0x1673c7);if(_0x58eca2['length']===0x0)continue;this[_0x34d012(0x3bc)](_0x2f44b1,_0x58eca2,_0x15611a,_0x12f0fa,_0x4561f4),this[_0x34d012(0x178)]=this[_0x34d012(0x3b7)]();}if(_0x3be57d&&_0x1673c7){if(_0x4da681===_0x5721e1['DOC_RANGE_TYPE'][_0x34d012(0x123)]){const _0x3aec58=new _0x45f825[(_0x34d012(0x1e3))](_0x37472e,_0xe60411),{pointGroup:_0xc48a1a}=(_0x5b6cbb=_0x3aec58[_0x34d012(0x230)](_0x3be57d,_0x1673c7))!=null?_0x5b6cbb:{};if(_0xc48a1a==null||_0xc48a1a['length']===0x0)continue;this[_0x34d012(0x2bd)](_0x2f44b1,_0xc48a1a,_0x15611a,_0x12f0fa);}else{if(!_0x3b9bd9){const {borderBoxPointGroup:_0x5d2306}=_0x5508c4[_0x34d012(0x230)](_0x3be57d,_0x1673c7);if(_0x5d2306[_0x34d012(0x165)]===0x0)continue;this[_0x34d012(0x354)](_0x2f44b1,_0x5d2306,_0x15611a,_0x12f0fa);}}}}}[_0x3db800(0x3bc)](_0x46c0e0,_0x45cf13,_0x2aed44,_0x5bcfef,_0x175192){const _0x1200b0=_0x3db800,_0xfea043=this['_getAnchorBounding'](_0x45cf13),{left:_0x11cda9,top:_0x38d9b0,height:_0x1fc44a}=_0xfea043,_0x25f85a=this[_0x1200b0(0x2ec)](),_0x1bbe84=_0x3ab1fc/_0x25f85a,_0x36d459=new _0x585793[(_0x1200b0(0x1ce))](_0x56390a+_0x5721e1[_0x1200b0(0x336)](_0x5e81ff),{'left':_0x11cda9+_0x2aed44-_0x1bbe84,'top':_0x38d9b0+_0x5bcfef,'height':_0x1fc44a,'width':_0x208e40,'fill':_0x46c0e0||_0x585793[_0x1200b0(0x1a4)](_0x5721e1[_0x1200b0(0x39f)][_0x1200b0(0x313)],0x0),'strokeWidth':_0x1bbe84,'stroke':_0x4964d8,'evented':!0x0});this[_0x1200b0(0x2fd)]=_0x36d459,this[_0x1200b0(0x2e3)][_0x1200b0(0x1cb)](_0x36d459,_0x45f825[_0x1200b0(0x1ff)]);const _0x635cb2=new _0x585793[(_0x1200b0(0x1ce))](_0x56390a+_0x5721e1[_0x1200b0(0x336)](_0x5e81ff),{'left':_0x11cda9+_0x2aed44-_0x1bbe84,'top':_0x38d9b0+_0x5bcfef-_0x3d2216/0x2,'height':_0x3d2216,'width':_0x3d2216,'fill':_0x46c0e0||_0x585793[_0x1200b0(0x1a4)](_0x5721e1[_0x1200b0(0x39f)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x46c0e0||_0x585793['getColor'](_0x5721e1[_0x1200b0(0x39f)]['black'],0x0),'evented':!0x1});this[_0x1200b0(0x2d3)]=_0x635cb2,this['_scene'][_0x1200b0(0x1cb)](_0x635cb2,_0x45f825[_0x1200b0(0x1ff)]);const _0x3b5636=new _0x2ecb3f(_0x56390a+_0x5721e1['generateRandomId'](_0x5e81ff),{'left':_0x11cda9+_0x2aed44-_0x1bbe84,'top':_0x38d9b0+_0x5bcfef-_0x13bbfe,'text':_0x175192,'color':_0x46c0e0});this[_0x1200b0(0xda)]=_0x3b5636,this['_scene'][_0x1200b0(0x1cb)](_0x3b5636,_0x45f825[_0x1200b0(0x1ff)]),this['_hover']=!0x1;}['_handleHover'](){const _0xbeee69=_0x3db800,_0x166c05=this[_0xbeee69(0x2fd)][_0xbeee69(0x2ca)][_0xbeee69(0x288)](()=>{const _0x1506db=_0xbeee69;this[_0x1506db(0x32a)]=!0x0;}),_0x4d039f=this[_0xbeee69(0x2fd)][_0xbeee69(0x146)][_0xbeee69(0x288)](()=>{const _0x174f89=_0xbeee69;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x174f89(0x1d8)]=setTimeout(()=>{const _0x5e7c7c=_0x174f89;this[_0x5e7c7c(0x32a)]=!0x1;},0x7d0);});return()=>{const _0x3492b3=_0xbeee69;_0x166c05[_0x3492b3(0x1ee)](),_0x4d039f[_0x3492b3(0x1ee)]();};}[_0x3db800(0x354)](_0x3d2a6c,_0x36e702,_0xec3806,_0x4e6873){const _0x1fcce3=_0x3db800,_0x7bd8b3=new _0x5721e1[(_0x1fcce3(0x233))](_0x3d2a6c)[_0x1fcce3(0x38f)](0.2)[_0x1fcce3(0x2c8)](),_0x57cc10=new _0x585793[(_0x1fcce3(0x1b0))](_0x2e46c4+_0x5721e1[_0x1fcce3(0x336)](_0x5e81ff),{'pointsGroup':_0x36e702,'fill':_0x7bd8b3||_0x585793[_0x1fcce3(0x1a4)](_0x5721e1['COLORS']['black'],0.2),'left':_0xec3806,'top':_0x4e6873,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1fcce3(0x334)][_0x1fcce3(0x126)](_0x57cc10),this[_0x1fcce3(0x2e3)][_0x1fcce3(0x1cb)](_0x57cc10,_0x45f825[_0x1fcce3(0x1ff)]);}[_0x3db800(0x2bd)](_0x4e66ae,_0x1ef41e,_0x327e99,_0x1154b8){const _0x22a547=_0x3db800,_0x27bdba=new _0x5721e1[(_0x22a547(0x233))](_0x4e66ae)[_0x22a547(0x38f)](0.2)[_0x22a547(0x2c8)](),_0x4ad661=new _0x585793[(_0x22a547(0x1b0))](_0x2d0d28+_0x5721e1[_0x22a547(0x336)](_0x5e81ff),{'pointsGroup':_0x1ef41e,'fill':_0x27bdba||_0x585793[_0x22a547(0x1a4)](_0x5721e1[_0x22a547(0x39f)][_0x22a547(0x313)],0.2),'left':_0x327e99,'top':_0x1154b8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x22a547(0x334)]['push'](_0x4ad661),this[_0x22a547(0x2e3)][_0x22a547(0x1cb)](_0x4ad661,_0x45f825[_0x22a547(0x1ff)]);}[_0x3db800(0x148)](_0x51a384){const _0x103db7=_0x51a384[0x0],_0xbd9f5d=_0x103db7[0x0],_0x134770=_0x103db7[0x2],{x:_0x44a4a1,y:_0x44eaa8}=_0xbd9f5d,{x:_0x1572bf,y:_0x16a5e1}=_0x134770;return{'left':_0x44a4a1,'top':_0x44eaa8,'width':_0x1572bf-_0x44a4a1,'height':_0x16a5e1-_0x44eaa8};}[_0x3db800(0x2ec)](){const _0x597141=_0x3db800,{scaleX:_0x4300b5,scaleY:_0x4d5f97}=this['_scene'][_0x597141(0x2a5)]();return Math['max'](_0x4300b5,_0x4d5f97);}}var _0x50487b=Object[_0x3db800(0x2db)],_0x318f0b=(_0x49c5ad,_0x4c29b9,_0x4933be,_0x3c0b46)=>{const _0x5797d1=_0x3db800;for(var _0x27c55c=_0x3c0b46>0x1?void 0x0:_0x3c0b46?_0x50487b(_0x4c29b9,_0x4933be):_0x4c29b9,_0x3b3a9a=_0x49c5ad[_0x5797d1(0x165)]-0x1,_0x1c3733;_0x3b3a9a>=0x0;_0x3b3a9a--)(_0x1c3733=_0x49c5ad[_0x3b3a9a])&&(_0x27c55c=_0x1c3733(_0x27c55c)||_0x27c55c);return _0x27c55c;},_0x29441e=(_0x634ee5,_0x4b7aa7)=>(_0x4efbc9,_0x273293)=>_0x4b7aa7(_0x4efbc9,_0x273293,_0x634ee5);let _0x1be4c4=class extends _0x5721e1['RxDisposable']{constructor(_0x1ee370,_0x4fc7b3,_0x54bf45,_0x45e642,_0x56904d){const _0x20e06f=_0x3db800;super(),_0x11fc09(this,_0x20e06f(0x137),[]),_0x11fc09(this,_0x20e06f(0x2a9),[]),(this[_0x20e06f(0x247)]=_0x1ee370,this[_0x20e06f(0xe7)]=_0x4fc7b3,this[_0x20e06f(0x1a9)]=_0x54bf45,this[_0x20e06f(0x3a0)]=_0x45e642,this[_0x20e06f(0x12b)]=_0x56904d,this[_0x20e06f(0x2e1)]());}[_0x3db800(0x2e1)](){const _0x54cb7d=_0x3db800,_0x55d3b8=this[_0x54cb7d(0x247)][_0x54cb7d(0x2f4)],_0x55d4af=this[_0x54cb7d(0xe7)];this[_0x54cb7d(0x168)](_0x3c46fe['combineLatest']([this[_0x54cb7d(0x1a9)][_0x54cb7d(0x37b)](_0x55d3b8),this[_0x54cb7d(0x12b)][_0x54cb7d(0x328)]])[_0x54cb7d(0x138)](_0x3951af[_0x54cb7d(0x209)](([_0x5bc271,_0x3376e6])=>({'skeleton':_0x55d4af[_0x54cb7d(0x1cc)](),'cursors':[..._0x5bc271[_0x54cb7d(0x39e)]()][_0x54cb7d(0x199)](_0x33ad4d=>({..._0x33ad4d,'color':this[_0x54cb7d(0x12b)][_0x54cb7d(0x11e)](_0x33ad4d[_0x54cb7d(0x144)])}))})))[_0x54cb7d(0x2ce)](_0x45a66b=>{const _0x311237=_0x54cb7d;if(this[_0x311237(0x2af)](),_0x45a66b){const {skeleton:_0x33a19c,cursors:_0x10114f}=_0x45a66b;this[_0x311237(0x27f)](_0x33a19c,_0x10114f);}})),this[_0x54cb7d(0x121)](),this[_0x54cb7d(0x248)]();}[_0x3db800(0x27f)](_0x35a2b5,_0x1926ab){const _0x1a3402=_0x3db800,{scene:_0x407c03,mainComponent:_0x531260}=this[_0x1a3402(0x247)],_0x2e32a9=_0x1926ab[_0x1a3402(0x209)](_0x59c8da=>new _0x4e8ee4(_0x59c8da,_0x407c03,_0x35a2b5,_0x531260));this[_0x1a3402(0x137)]=_0x2e32a9,this[_0x1a3402(0x2a9)]=_0x1926ab;}[_0x3db800(0x1bc)](){const _0x528b78=_0x3db800;this[_0x528b78(0x2af)]();const {scene:_0x25dd6c,mainComponent:_0x28261f}=this[_0x528b78(0x247)],_0x48b8fb=this[_0x528b78(0xe7)][_0x528b78(0x1cc)](),_0x16e96a=this['_cursors'][_0x528b78(0x209)](_0x29c9bc=>new _0x4e8ee4(_0x29c9bc,_0x25dd6c,_0x48b8fb,_0x28261f));this[_0x528b78(0x137)]=_0x16e96a;}[_0x3db800(0x2af)](){const _0x51c834=_0x3db800;this[_0x51c834(0x137)][_0x51c834(0x331)](_0x16369d=>_0x16369d[_0x51c834(0x37d)]()),this[_0x51c834(0x137)]=[];}[_0x3db800(0x248)](){const _0x1e4a03=_0x3db800,_0x2b0d42=[_0x45f825[_0x1e4a03(0x17b)]['id']];this[_0x1e4a03(0x168)](this[_0x1e4a03(0x3a0)][_0x1e4a03(0x10b)](_0x3cd02f=>{const _0x37f90f=_0x1e4a03;_0x2b0d42['includes'](_0x3cd02f['id'])&&_0x3cd02f['params'][_0x37f90f(0x2f4)]===this[_0x37f90f(0x247)][_0x37f90f(0x2f4)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x5d631b=_0x3db800;this['disposeWithMe'](_0x5721e1[_0x5d631b(0x3a5)](this['_context'][_0x5d631b(0x367)][_0x5d631b(0x292)])[_0x5d631b(0x138)](_0x3951af[_0x5d631b(0x155)](_0x19a786=>_0x19a786[_0x5d631b(0x210)]===_0x585793[_0x5d631b(0x389)][_0x5d631b(0x382)]),_0x3951af[_0x5d631b(0x157)](0x10))[_0x5d631b(0x2ce)](()=>{const _0xd8dcbf=_0x5d631b;this[_0xd8dcbf(0x1bc)]();}));}};_0x1be4c4=_0x318f0b([_0x29441e(0x1,_0x5721e1[_0x3db800(0x181)](_0x9d8fba[_0x3db800(0x109)])),_0x29441e(0x2,_0x5721e1['Inject'](_0x192c77)),_0x29441e(0x3,_0x5721e1[_0x3db800(0x2e2)]),_0x29441e(0x4,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x15a)]))],_0x1be4c4);const _0x145431=0x1,_0x543250=1.5;class _0x3d98fb extends _0x585793[_0x3db800(0x31e)]{constructor(_0x572efa,_0x330ed5){const _0x2844f7=_0x3db800;super(_0x572efa,_0x330ed5),_0x11fc09(this,_0x2844f7(0x21c)),_0x11fc09(this,_0x2844f7(0x1dc),!0x1),_0x11fc09(this,_0x2844f7(0x238)),_0x11fc09(this,'_name',''),_0x11fc09(this,_0x2844f7(0x112),_0x2844f7(0x1b9)),_0x11fc09(this,_0x2844f7(0x2bb)),(_0x330ed5&&this['setShapeProps'](_0x330ed5),this[_0x2844f7(0x2ca)]['subscribeEvent'](()=>this[_0x2844f7(0x2d5)]({'hovered':!0x0})),this[_0x2844f7(0x146)][_0x2844f7(0x288)](()=>this[_0x2844f7(0x2d5)]({'hovered':!0x1})));}[_0x3db800(0x2d5)](_0x57cc4e){const _0x4093fd=_0x3db800;var _0x48cf40,_0x45a4df,_0x205dd0,_0x1ddd3d,_0x262d46,_0x271c4a;this[_0x4093fd(0x21c)]=(_0x48cf40=_0x57cc4e['color'])!=null?_0x48cf40:this['_color'],this['_hovered']=(_0x45a4df=_0x57cc4e[_0x4093fd(0x1ab)])!=null?_0x45a4df:this['_hovered'],this[_0x4093fd(0x238)]=(_0x205dd0=_0x57cc4e[_0x4093fd(0x182)])!=null?_0x205dd0:this[_0x4093fd(0x238)],this[_0x4093fd(0x2c9)]=(_0x1ddd3d=_0x57cc4e[_0x4093fd(0x211)])!=null?_0x1ddd3d:this[_0x4093fd(0x2c9)],this[_0x4093fd(0x112)]=(_0x262d46=_0x57cc4e[_0x4093fd(0x2e5)])!=null?_0x262d46:this[_0x4093fd(0x112)],this[_0x4093fd(0x2bb)]=(_0x271c4a=_0x57cc4e[_0x4093fd(0x24c)])!=null?_0x271c4a:this[_0x4093fd(0x2bb)],this[_0x4093fd(0x272)]({'width':_0x57cc4e[_0x4093fd(0x2f5)],'height':_0x57cc4e[_0x4093fd(0x380)]});}['onMouseMove'](_0x28b86a){const _0x385ff5=_0x3db800,{row:_0x32019e,column:_0x31b2af}=_0x28b86a;if(_0x32019e>=this[_0x385ff5(0x238)][_0x385ff5(0x32e)]&&_0x32019e<=this['_range']['endRow']&&_0x31b2af>=this[_0x385ff5(0x238)][_0x385ff5(0x30a)]&&_0x31b2af<=this['_range']['endColumn']){this[_0x385ff5(0x2d5)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x4efe4e){return!0x1;}[_0x3db800(0x171)](_0x1345f2){const _0x358da0=_0x3db800;_0x585793[_0x358da0(0x1ce)][_0x358da0(0x240)](_0x1345f2,{'width':this[_0x358da0(0x2f5)],'height':this['height'],'strokeWidth':_0x543250,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x358da0(0x2bb)]}),this['_hovered']&&(_0x1345f2['save'](),_0x1345f2['transform'](0x1,0x0,0x0,0x1,this[_0x358da0(0x2f5)],this[_0x358da0(0x112)]==='bottom'?0x0:-_0x13bbfe),_0x2ecb3f[_0x358da0(0x240)](_0x1345f2,{'text':this[_0x358da0(0x2c9)],'color':this[_0x358da0(0x21c)]}),_0x1345f2[_0x358da0(0x241)]());}}var _0x5693f2=Object['getOwnPropertyDescriptor'],_0x260d7b=(_0x4592a9,_0x3df972,_0x388ecd,_0x406caf)=>{const _0x471933=_0x3db800;for(var _0x2b7840=_0x406caf>0x1?void 0x0:_0x406caf?_0x5693f2(_0x3df972,_0x388ecd):_0x3df972,_0x53c7d2=_0x4592a9[_0x471933(0x165)]-0x1,_0x45b011;_0x53c7d2>=0x0;_0x53c7d2--)(_0x45b011=_0x4592a9[_0x53c7d2])&&(_0x2b7840=_0x45b011(_0x2b7840)||_0x2b7840);return _0x2b7840;},_0x48fe8b=(_0x33a411,_0x4f9888)=>(_0x4e74cf,_0x83782b)=>_0x4f9888(_0x4e74cf,_0x83782b,_0x33a411);const _0x8b30c2=0x1389;let _0x3eec6b=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x5d7eb6,_0x50e818,_0x2d738b,_0x2fb1bb){const _0x345803=_0x3db800;super(),_0x11fc09(this,'_cursors',new Set()),_0x11fc09(this,_0x345803(0x303),null),(this['_context']=_0x5d7eb6,this[_0x345803(0x229)]=_0x50e818,this[_0x345803(0x1a9)]=_0x2d738b,this[_0x345803(0x12b)]=_0x2fb1bb,this[_0x345803(0x2e1)]());}[_0x3db800(0x2e1)](){const _0x19f2d1=_0x3db800;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x19f2d1(0x138)](_0x3951af['takeUntil'](this['dispose$']),_0x3951af[_0x19f2d1(0x35b)](_0x350ea2=>{const _0x5136ac=_0x19f2d1;if(_0x350ea2){const _0x530ada=_0x350ea2[_0x5136ac(0x29e)];return _0x3c46fe[_0x5136ac(0x33a)](this['_collabCursorController'][_0x5136ac(0x37b)](this[_0x5136ac(0x247)][_0x5136ac(0x2f4)]),this[_0x5136ac(0x12b)][_0x5136ac(0x328)])['pipe'](_0x3951af['map'](([_0x59e06c,_0x44d223])=>{const _0x325d74=_0x5136ac,_0x45b4ae=new Map();return _0x59e06c[_0x325d74(0x331)]((_0x6e7b35,_0x52d75d)=>{const _0x59a09e=_0x325d74;if(_0x6e7b35[_0x59a09e(0x27c)]===_0x530ada){const _0x5d0cce={..._0x6e7b35};_0x5d0cce[_0x59a09e(0x144)]=this['_themeService'][_0x59a09e(0x11e)](_0x6e7b35[_0x59a09e(0x144)]),_0x45b4ae[_0x59a09e(0x10c)](_0x52d75d,_0x5d0cce);}}),{'skeleton':_0x350ea2,'cursors':_0x45b4ae};}));}return _0x3c46fe['of']({'skeleton':null,'cursors':new Map()});}))[_0x19f2d1(0x2ce)](({skeleton:_0x3fd764,cursors:_0x50883b})=>{const _0x4265a0=_0x19f2d1;this['_removeCollabCursors'](),_0x3fd764&&this[_0x4265a0(0x27f)](_0x3fd764,_0x50883b);}),this[_0x19f2d1(0x229)][_0x19f2d1(0x295)][_0x19f2d1(0x2ce)](_0x1db9ce=>{const _0x1103e3=_0x19f2d1;if(_0x1db9ce==null)return;const {skeleton:_0x14a2dc}=_0x1db9ce,{scene:_0x4de2d8}=this[_0x1103e3(0x247)];_0x4de2d8[_0x1103e3(0x249)][_0x1103e3(0x288)](_0x5721e1[_0x1103e3(0x25f)](_0x302b8d=>{const _0x5c5f7f=_0x1103e3;var _0x2ff501,_0x2a69ec;const {offsetX:_0x1cd6ca,offsetY:_0x397048}=_0x302b8d,{x:_0x27bfd7,y:_0xe43a29}=_0x4de2d8[_0x5c5f7f(0x15c)](_0x585793[_0x5c5f7f(0x220)][_0x5c5f7f(0x393)]([_0x1cd6ca,_0x397048])),{scaleX:_0x1ed462,scaleY:_0x5afb83}=_0x4de2d8['getAncestorScale'](),_0xe1e24d=_0x4de2d8[_0x5c5f7f(0x2f6)](_0x585793[_0x5c5f7f(0x1d5)][_0x5c5f7f(0x3c2)]),_0x25f4c6=_0x4de2d8[_0x5c5f7f(0x1a6)](_0x585793[_0x5c5f7f(0x220)][_0x5c5f7f(0x393)]([_0x27bfd7,_0xe43a29]),_0xe1e24d),_0x12328c=_0x14a2dc[_0x5c5f7f(0x294)](_0x1cd6ca,_0x397048,_0x1ed462,_0x5afb83,_0x25f4c6);((_0x2ff501=this['_lastPointer'])==null?void 0x0:_0x2ff501[_0x5c5f7f(0x15f)])===_0x12328c[_0x5c5f7f(0x15f)]&&((_0x2a69ec=this[_0x5c5f7f(0x303)])==null?void 0x0:_0x2a69ec['row'])===_0x12328c[_0x5c5f7f(0xf9)]||this['_cursors'][_0x5c5f7f(0x331)](_0x3eaf4b=>{const _0x588b94=_0x5c5f7f;_0x3eaf4b[_0x588b94(0x2dd)](_0x12328c);});},0x64));});}['_updateCollabCursors'](_0x375e99,_0x23d07a){const _0x62fdef=_0x3db800;var _0x511a08;const _0x4f1686=(_0x511a08=this['_sheetSkeletonManagerService'][_0x62fdef(0x344)]())==null?void 0x0:_0x511a08[_0x62fdef(0x34e)];if(!_0x4f1686)return;const _0x1c2e84=this[_0x62fdef(0x10a)]();if(!_0x1c2e84)return;this[_0x62fdef(0x2a9)][_0x62fdef(0x331)](_0x3dfb21=>{const _0x1074a4=_0x62fdef;_0x3dfb21[_0x1074a4(0x128)]();});const {scene:_0x439973}=_0x1c2e84,_0x4809d0=_0x1d1dfe(Array[_0x62fdef(0x2e8)](_0x23d07a[_0x62fdef(0x39e)]()))['map'](_0x49b377=>{const _0xcdf3d0=_0x62fdef,{color:_0x35a2fb,range:_0x424f11,name:_0x3d0001,selection:_0x28d3bb,sheetID:_0x3e9052}=_0x49b377,{startColumn:_0x1a0b7c,startRow:_0x5eda4a,endColumn:_0x34a4f2,endRow:_0xe983f2}=_0x424f11,_0x374d5f=_0x131e0d[_0xcdf3d0(0xdc)](_0x5eda4a,_0x1a0b7c,_0x439973,_0x4f1686),_0x45717a=_0x131e0d['getCoordByCell'](_0xe983f2,_0x34a4f2,_0x439973,_0x4f1686),{columnHeaderHeightAndMarginTop:_0x5b36de}=_0x4f1686,{startX:_0x318b6f,startY:_0x411df9}=_0x374d5f,{endX:_0x598fb4,endY:_0x10e42a}=_0x45717a,_0x56b36c=_0x598fb4-_0x318b6f,_0x429e40=_0x10e42a-_0x411df9,_0x3f0fbb={'labelPosition':_0x411df9-_0x5b36de>=_0x13bbfe?'top':_0xcdf3d0(0x223),'sheetID':_0x3e9052,'range':_0x424f11,'color':_0x35a2fb,'name':_0x3d0001,'selection':_0x28d3bb,'left':_0x318b6f,'top':_0x411df9,'width':_0x56b36c,'height':_0x429e40,'evented':!0x1,'zIndex':_0x8b30c2};return new _0x3d98fb(_0x3d0001,_0x3f0fbb);});_0x439973[_0x62fdef(0x2e7)](_0x4809d0,_0x145431),this[_0x62fdef(0x2a9)]=new Set(_0x4809d0);}[_0x3db800(0x2af)](){const _0x21ad7c=_0x3db800;var _0x24afdb;(_0x24afdb=this[_0x21ad7c(0x2a9)])==null||_0x24afdb[_0x21ad7c(0x331)](_0x2a1672=>_0x2a1672['dispose']());}['_getSheetObject'](){const _0x4f457d=_0x3db800;return _0x131e0d[_0x4f457d(0x16a)](this[_0x4f457d(0x247)]['unit'],this[_0x4f457d(0x247)]);}};_0x3eec6b=_0x260d7b([_0x48fe8b(0x1,_0x5721e1[_0x3db800(0x181)](_0x131e0d[_0x3db800(0x18f)])),_0x48fe8b(0x2,_0x5721e1[_0x3db800(0x181)](_0x192c77)),_0x48fe8b(0x3,_0x5721e1[_0x3db800(0x181)](_0x5721e1['ThemeService']))],_0x3eec6b);function _0x1d1dfe(_0xf5099e){const _0x3b2277=_0x3db800,_0x5a7d8e=new Map();return _0xf5099e[_0x3b2277(0x331)](_0x1b823c=>{const _0x1d8b92=_0x3b2277;if(_0x5a7d8e[_0x1d8b92(0x101)](_0x1b823c[_0x1d8b92(0x239)])){const _0x50ff82=_0x5a7d8e[_0x1d8b92(0x31c)](_0x1b823c[_0x1d8b92(0x239)]);_0x50ff82[_0x1d8b92(0x211)]+=',\x20'+_0x1b823c[_0x1d8b92(0x211)];}else _0x5a7d8e[_0x1d8b92(0x10c)](_0x1b823c[_0x1d8b92(0x239)],_0x1b823c);}),Array[_0x3b2277(0x2e8)](_0x5a7d8e[_0x3b2277(0x39e)]());}var _0x3e2b75=Object[_0x3db800(0x2db)],_0x391214=(_0xfaabad,_0x7fa4c4,_0x46e4b8,_0x3df677)=>{for(var _0x5852ed=_0x3df677>0x1?void 0x0:_0x3df677?_0x3e2b75(_0x7fa4c4,_0x46e4b8):_0x7fa4c4,_0x7bf749=_0xfaabad['length']-0x1,_0x5dbb44;_0x7bf749>=0x0;_0x7bf749--)(_0x5dbb44=_0xfaabad[_0x7bf749])&&(_0x5852ed=_0x5dbb44(_0x5852ed)||_0x5852ed);return _0x5852ed;},_0x51286c=(_0xe55239,_0xf578ca)=>(_0x162986,_0x231bac)=>_0xf578ca(_0x162986,_0x231bac,_0xe55239);let _0xa84181=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x4b31c9,_0x593446,_0x4edfdf,_0x56b9c4,_0x449c4f,_0xaf6ada){const _0x554840=_0x3db800;super(),this['_beforeCloseService']=_0x4b31c9,this[_0x554840(0x32f)]=_0x593446,this[_0x554840(0x322)]=_0x4edfdf,this[_0x554840(0x2b7)]=_0x56b9c4,this[_0x554840(0x34b)]=_0x449c4f,this['_localeService']=_0xaf6ada,this[_0x554840(0x267)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0xa1bc25=_0x3db800;this[_0xa1bc25(0x168)](this[_0xa1bc25(0x1d0)][_0xa1bc25(0x274)](()=>{const _0x1f6192=_0xa1bc25;if(this[_0x1f6192(0x32f)][_0x1f6192(0x2c0)][_0x1f6192(0x392)])return this[_0x1f6192(0x1fb)]['t'](_0x1f6192(0x17d));}));}[_0x3db800(0x1d7)](){const _0x1d7af3=_0x3db800;this[_0x1d7af3(0x168)](this['_collaborationUIEventService']['event$']['subscribe'](_0xd89c0d=>{const _0x49dc5b=_0x1d7af3;_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x298)]&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)][_0x49dc5b(0x1de)],'content':this[_0x49dc5b(0x1fb)]['t']('collaboration.single-unit.warning')}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x140)]&&this['_messageService'][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Warning'],'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x195))}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x3ab)]&&this[_0x49dc5b(0x34b)][_0x49dc5b(0x2b1)]({'title':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x371)),'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x2e9)),'type':_0x49dc5b(0x3ce),'duration':0x0}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x1c9)]&&this[_0x49dc5b(0x2b7)]['show']({'type':_0x31d403['MessageType']['Error'],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0xd89c0d['data']+')'}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)]['JOIN_ROOM_FAILED']&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403['MessageType']['Warning'],'content':this[_0x49dc5b(0x1fb)]['t'](_0xd89c0d[_0x49dc5b(0x21a)]||'')}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x3af)]&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Warning'],'content':this[_0x49dc5b(0x1fb)]['t']('session.will-retry')}),_0xd89c0d['id']===_0x115633['CollaborationUIEventId'][_0x49dc5b(0x103)]&&this['_messageService'][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Error'],'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0xf8))}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Error'],'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x1a5))});}));}};_0xa84181=_0x391214([_0x51286c(0x0,_0xa1d841[_0x3db800(0x314)]),_0x51286c(0x1,_0x115633[_0x3db800(0x1ac)]),_0x51286c(0x2,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x194)])),_0x51286c(0x3,_0xa1d841[_0x3db800(0x355)]),_0x51286c(0x4,_0xa1d841[_0x3db800(0xe3)]),_0x51286c(0x5,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x324)]))],_0xa84181);var _0x5296c7=Object[_0x3db800(0x2db)],_0x2dd4ea=(_0x21cad2,_0x38cf9a,_0x2695d2,_0x39f827)=>{const _0x414d9f=_0x3db800;for(var _0x91a5f4=_0x39f827>0x1?void 0x0:_0x39f827?_0x5296c7(_0x38cf9a,_0x2695d2):_0x38cf9a,_0x420ec9=_0x21cad2[_0x414d9f(0x165)]-0x1,_0x3832ce;_0x420ec9>=0x0;_0x420ec9--)(_0x3832ce=_0x21cad2[_0x420ec9])&&(_0x91a5f4=_0x3832ce(_0x91a5f4)||_0x91a5f4);return _0x91a5f4;},_0x44dad0=(_0x13416a,_0x524a1f)=>(_0x511494,_0x58d2bc)=>_0x524a1f(_0x511494,_0x58d2bc,_0x13416a);let _0x2c4f22=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x3856b9,_0x99831b,_0x4843ec,_0x3dc545){const _0x243f75=_0x3db800;super(),_0x11fc09(this,_0x243f75(0x142)),(this['_injector']=_0x3856b9,this[_0x243f75(0x394)]=_0x99831b,this['_logService']=_0x4843ec,this['_collaborationSessionService']=_0x3dc545,this[_0x243f75(0x2e1)]());}[_0x3db800(0x2e1)](){const _0x195704=_0x3db800;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this[_0x195704(0x282)]();}[_0x3db800(0x282)](){const _0x50bb24=_0x3db800;this[_0x50bb24(0x168)](this[_0x50bb24(0x1e4)][_0x50bb24(0x39b)][_0x50bb24(0x2ce)](_0x2837eb=>{const _0x5d2f6e=_0x50bb24;this[_0x5d2f6e(0x142)]=_0x2837eb==null?void 0x0:_0x2837eb[_0x5d2f6e(0x34a)];}));}[_0x3db800(0x203)](){const _0x555523=_0x3db800,_0x5e2838=_0x3d4c16=>{const _0x297e5b=_0x1e97;var _0x28fdc9;this[_0x297e5b(0x1ad)]('error',_0x297e5b(0x2a2)+_0x3d4c16['message']+'\x20at\x20'+_0x3d4c16['filename']+':'+_0x3d4c16[_0x297e5b(0x28e)]+':'+_0x3d4c16[_0x297e5b(0x114)]+'\x0a'+(((_0x28fdc9=_0x3d4c16[_0x297e5b(0x3ce)])==null?void 0x0:_0x28fdc9[_0x297e5b(0x191)])||''));};window[_0x555523(0x312)](_0x555523(0x3ce),_0x5e2838),this['disposeWithMe'](()=>{const _0x26f2ed=_0x555523;window[_0x26f2ed(0xd2)]('error',_0x5e2838);});}[_0x3db800(0xcf)](){const _0x44b4cc=_0x3db800,_0x2d5b32=_0x572cba=>{const _0x7d09ec=_0x1e97;this[_0x7d09ec(0x1ad)](_0x7d09ec(0x3ce),'[Unhandled\x20Rejection]:\x20'+_0x572cba['reason']);};window[_0x44b4cc(0x312)](_0x44b4cc(0x219),_0x2d5b32),this[_0x44b4cc(0x168)](()=>{const _0x33ee80=_0x44b4cc;window[_0x33ee80(0xd2)](_0x33ee80(0x219),_0x2d5b32);});}[_0x3db800(0x35a)](){const _0x500c4f=_0x3db800,_0x276fa3=this[_0x500c4f(0x3b1)][_0x500c4f(0x3ce)][_0x500c4f(0x34f)](this[_0x500c4f(0x3b1)]);this[_0x500c4f(0x3b1)][_0x500c4f(0x3ce)]=(..._0x1a22af)=>{const _0x2ef675=_0x500c4f,_0x314364=_0x1a22af[_0x2ef675(0x209)](_0x2db0b0=>_0x2db0b0 instanceof Error?_0x2db0b0[_0x2ef675(0x243)]+'\x0a'+_0x2db0b0[_0x2ef675(0x191)]:String(_0x2db0b0))[_0x2ef675(0x2fc)]('\x20');this[_0x2ef675(0x1ad)](_0x2ef675(0x3ce),_0x2ef675(0x3a6)+_0x314364),_0x276fa3(..._0x1a22af);},this[_0x500c4f(0x168)](()=>{const _0x15c8c0=_0x500c4f;this['_logService'][_0x15c8c0(0x3ce)]=_0x276fa3;});}['_uploadLog'](_0x163a38,_0x73b23f){const _0x10b33b=_0x3db800;try{const _0x2f65e4={'userId':this['_memberID'],'logLabel':_0x163a38,'content':_0x73b23f};this[_0x10b33b(0x394)][_0x10b33b(0x3c4)](_0x10b33b(0x23b),{'body':_0x2f65e4})[_0x10b33b(0x34d)](()=>{});}catch{}}};_0x2c4f22=_0x2dd4ea([_0x44dad0(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x44dad0(0x1,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x44dad0(0x2,_0x5721e1[_0x3db800(0x154)]),_0x44dad0(0x3,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x28f)]))],_0x2c4f22);const _0x214486=_0x3db800(0x17a),_0x3b0f99={};var _0xbe2fdc=Object['getOwnPropertyDescriptor'],_0x4c288a=(_0x1538c8,_0x464c42,_0x52001c,_0x1d317b)=>{const _0x37fe3b=_0x3db800;for(var _0x2f2629=_0x1d317b>0x1?void 0x0:_0x1d317b?_0xbe2fdc(_0x464c42,_0x52001c):_0x464c42,_0x29370a=_0x1538c8[_0x37fe3b(0x165)]-0x1,_0x3bb265;_0x29370a>=0x0;_0x29370a--)(_0x3bb265=_0x1538c8[_0x29370a])&&(_0x2f2629=_0x3bb265(_0x2f2629)||_0x2f2629);return _0x2f2629;},_0x5458da=(_0x72f013,_0x56ea74)=>(_0x3a96a7,_0x23a592)=>_0x56ea74(_0x3a96a7,_0x23a592,_0x72f013);let _0x28b209=class{constructor(_0x3b4159,_0x1cbf23){const _0xa26181=_0x3db800;this[_0xa26181(0x20c)]=_0x3b4159,this['_renderManagerService']=_0x1cbf23;}[_0x3db800(0x2cc)](_0x2cb103){const _0x4c9b79=_0x3db800;this[_0x4c9b79(0x117)](_0x2cb103),this[_0x4c9b79(0x2bc)](_0x2cb103);}[_0x3db800(0x338)](_0x1b5bf6){const _0x508b4e=_0x3db800,{unitID:_0x4ae41f}=_0x1b5bf6,_0x12c5d2=this[_0x508b4e(0x125)][_0x508b4e(0x228)](_0x4ae41f)[_0x508b4e(0x134)](_0x45f825[_0x508b4e(0x2ad)]),{redoCache:_0x2445eb}=_0x12c5d2[_0x508b4e(0x374)]();if(_0x2445eb[_0x508b4e(0x165)]===0x0)return _0x1b5bf6;let _0x592973=_0x5721e1[_0x508b4e(0x386)][_0x508b4e(0x3c6)](_0x1b5bf6[_0x508b4e(0x1e2)][0x0]);for(let _0x1a8573=0x0;_0x1a8573<_0x2445eb[_0x508b4e(0x165)];_0x1a8573++){const _0x206f39={'id':_0x508b4e(0x30f),'params':{..._0x2445eb[_0x1a8573]}},_0x2c8435=this[_0x508b4e(0x20c)][_0x508b4e(0x100)](_0x592973,_0x206f39,!0x1);if(_0x195720['isTransformMutationFailure'](_0x2c8435))throw _0x2c8435[_0x508b4e(0x3ce)];_0x592973=_0x2c8435[_0x508b4e(0x25d)];}return{..._0x5721e1['Tools'][_0x508b4e(0x3c6)](_0x1b5bf6),'mutations':[_0x592973]};}[_0x3db800(0x117)](_0xe0dbab){const _0x1d2dcb=_0x3db800,{unitID:_0x64e31e}=_0xe0dbab,_0x2fe021=this['_renderManagerService']['getRenderById'](_0x64e31e)[_0x1d2dcb(0x134)](_0x45f825[_0x1d2dcb(0x2ad)]),{undoCache:_0x39017d,redoCache:_0x4da363}=_0x2fe021['getUndoRedoMutationParamsCache']();if(_0x39017d[_0x1d2dcb(0x165)]===0x0||_0x4da363[_0x1d2dcb(0x165)]===0x0)return;const _0x1cba50=[],_0x26dcea=[];let _0x3b368a=_0x5721e1[_0x1d2dcb(0x386)][_0x1d2dcb(0x3c6)](_0xe0dbab[_0x1d2dcb(0x1e2)][0x0]),_0x2c68ae=_0x5721e1['Tools'][_0x1d2dcb(0x3c6)](_0xe0dbab[_0x1d2dcb(0x1e2)][0x0]);for(let _0xa6745a=_0x39017d['length']-0x1;_0xa6745a>=0x0;_0xa6745a--){const _0x297531={'id':_0x1d2dcb(0x30f),'params':{..._0x39017d[_0xa6745a]}},_0x2b8782={'id':_0x1d2dcb(0x30f),'params':{..._0x4da363[_0xa6745a]}},_0x539110=this[_0x1d2dcb(0x20c)][_0x1d2dcb(0x100)](_0x3b368a,_0x297531,!0x1),_0x376eb3=this[_0x1d2dcb(0x20c)][_0x1d2dcb(0x100)](_0x2c68ae,_0x2b8782,!0x1);if(_0x195720['isTransformMutationFailure'](_0x539110))throw _0x539110['error'];if(_0x195720['isTransformMutationFailure'](_0x376eb3))throw _0x376eb3[_0x1d2dcb(0x3ce)];_0x1cba50[_0x1d2dcb(0x2c1)](_0x539110[_0x1d2dcb(0x3b8)][_0x1d2dcb(0x1bb)]),_0x26dcea[_0x1d2dcb(0x2c1)](_0x376eb3[_0x1d2dcb(0x3b8)]['params']),_0x3b368a=_0x539110[_0x1d2dcb(0x25d)],_0x2c68ae=_0x376eb3[_0x1d2dcb(0x25d)];}_0x2fe021[_0x1d2dcb(0x11b)]({'undoCache':_0x1cba50,'redoCache':_0x26dcea});}[_0x3db800(0x2bc)](_0xf36918){const _0x2ccdd2=_0x3db800,{unitID:_0x39d191}=_0xf36918,_0x1f4f59=this[_0x2ccdd2(0x125)][_0x2ccdd2(0x228)](_0x39d191)[_0x2ccdd2(0x134)](_0x45f825[_0x2ccdd2(0x2ad)]),_0x263ec9=_0x1f4f59['getActiveRange']();if(_0x263ec9==null)return;const _0x52bc01=[{'id':_0x2ccdd2(0x30f),'params':{'unitId':_0xf36918[_0x2ccdd2(0x153)],'actions':null,'textRanges':[_0x263ec9]}}],_0x189f9f=this[_0x2ccdd2(0x20c)][_0x2ccdd2(0x124)](_0xf36918,_0x52bc01);if(!_0x195720['isTransformMutationsWithChangesetSuccess'](_0x189f9f))throw _0x189f9f[_0x2ccdd2(0x3ce)];const _0x1c2b99=_0x189f9f[_0x2ccdd2(0x3b8)][0x0][_0x2ccdd2(0x1bb)][_0x2ccdd2(0x12d)];Array[_0x2ccdd2(0x3a1)](_0x1c2b99)&&_0x1c2b99['length']&&_0x1f4f59['setActiveRange'](_0x1c2b99[0x0]);}};_0x28b209=_0x4c288a([_0x5458da(0x0,_0x195720[_0x3db800(0x26e)]),_0x5458da(0x1,_0x585793['IRenderManagerService'])],_0x28b209);var _0x2cada1=Object[_0x3db800(0x2db)],_0x1a8553=(_0x5f3450,_0x32566a,_0x7a4d72,_0x106f91)=>{const _0x5085a8=_0x3db800;for(var _0x4bee19=_0x106f91>0x1?void 0x0:_0x106f91?_0x2cada1(_0x32566a,_0x7a4d72):_0x32566a,_0x34d60=_0x5f3450[_0x5085a8(0x165)]-0x1,_0x4bdc0f;_0x34d60>=0x0;_0x34d60--)(_0x4bdc0f=_0x5f3450[_0x34d60])&&(_0x4bee19=_0x4bdc0f(_0x4bee19)||_0x4bee19);return _0x4bee19;},_0x101d0b=(_0x1ab420,_0x317bd7)=>(_0x5e9e04,_0xe7c443)=>_0x317bd7(_0x5e9e04,_0xe7c443,_0x1ab420);let _0x13e633=class{constructor(_0x4ae166,_0x30638f,_0x371282){const _0x4613aa=_0x3db800;this[_0x4613aa(0xed)]=_0x4ae166,this[_0x4613aa(0x20c)]=_0x30638f,this[_0x4613aa(0x2ae)]=_0x371282;}['transformStateCache'](_0x4a3b69){const _0x1dc81a=_0x3db800;this[_0x1dc81a(0x2cd)](_0x4a3b69);}[_0x3db800(0x338)](_0xd535e9){const _0x582f53=_0x3db800,{unitID:_0x3f5f9d}=_0xd535e9,{collaboration:_0xa6e3b8}=this['_docStateChangeManagerService']['getStateCache'](_0x3f5f9d);if(_0xa6e3b8[_0x582f53(0x165)]===0x0)return _0xd535e9;let _0xb2161c=_0x5721e1[_0x582f53(0x386)][_0x582f53(0x3c6)](_0xd535e9[_0x582f53(0x1e2)][0x0]);for(let _0x10ac1f=0x0;_0x10ac1f<_0xa6e3b8[_0x582f53(0x165)];_0x10ac1f++){const _0x1420aa={'id':_0x582f53(0x30f),'params':{'unitId':_0xa6e3b8[_0x10ac1f][_0x582f53(0x2f4)],..._0xa6e3b8[_0x10ac1f][_0x582f53(0x269)]}},_0x718cd3=this[_0x582f53(0x20c)]['transformMutation'](_0xb2161c,_0x1420aa,!0x1);if(_0x195720[_0x582f53(0x106)](_0x718cd3))throw _0x718cd3['error'];_0xb2161c=_0x718cd3[_0x582f53(0x25d)];}return{..._0x5721e1[_0x582f53(0x386)][_0x582f53(0x3c6)](_0xd535e9),'mutations':[_0xb2161c]};}['_transformHistoryAndStateStack'](_0x2a3054){const _0x5cab57=_0x3db800,{unitID:_0x4c67ea}=_0x2a3054,{history:_0x351aa5,collaboration:_0x4d1466}=this[_0x5cab57(0x2ae)]['getStateCache'](_0x4c67ea);if(_0x351aa5[_0x5cab57(0x165)]===0x0&&_0x4d1466['length']===0x0)return;const _0x185f5d=[],_0x17ec51=[];let _0x4bce24=_0x5721e1[_0x5cab57(0x386)][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]),_0x66ae64=_0x5721e1['Tools'][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]);for(let _0x370574=_0x351aa5[_0x5cab57(0x165)]-0x1;_0x370574>=0x0;_0x370574--){const _0x502acd={'id':_0x5cab57(0x30f),'params':{'unitId':_0x351aa5[_0x370574]['unitId'],..._0x351aa5[_0x370574]['undoState']}},_0x2d0bb5={'id':_0x5cab57(0x30f),'params':{'unitId':_0x351aa5[_0x370574][_0x5cab57(0x2f4)],..._0x351aa5[_0x370574][_0x5cab57(0x269)]}},_0x11b234=this[_0x5cab57(0x20c)][_0x5cab57(0x100)](_0x4bce24,_0x502acd,!0x1),_0x40b33c=this[_0x5cab57(0x20c)][_0x5cab57(0x100)](_0x66ae64,_0x2d0bb5,!0x1);if(_0x195720[_0x5cab57(0x106)](_0x11b234))throw _0x11b234['error'];if(_0x195720[_0x5cab57(0x106)](_0x40b33c))throw _0x40b33c[_0x5cab57(0x3ce)];_0x185f5d['unshift']({..._0x351aa5[_0x370574],'undoState':_0x11b234[_0x5cab57(0x3b8)][_0x5cab57(0x1bb)],'redoState':_0x40b33c[_0x5cab57(0x3b8)][_0x5cab57(0x1bb)]}),_0x4bce24=_0x11b234['m1Prime'],_0x66ae64=_0x40b33c['m1Prime'];}_0x4bce24=_0x5721e1[_0x5cab57(0x386)][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]),_0x66ae64=_0x5721e1[_0x5cab57(0x386)][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]);for(let _0x4c6218=_0x4d1466[_0x5cab57(0x165)]-0x1;_0x4c6218>=0x0;_0x4c6218--){const _0x4636f3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d1466[_0x4c6218][_0x5cab57(0x2f4)],..._0x4d1466[_0x4c6218][_0x5cab57(0x3c3)]}},_0x374a15={'id':_0x5cab57(0x30f),'params':{'unitId':_0x4d1466[_0x4c6218][_0x5cab57(0x2f4)],..._0x4d1466[_0x4c6218]['redoState']}},_0x54678e=this[_0x5cab57(0x20c)]['transformMutation'](_0x4bce24,_0x4636f3,!0x1),_0x63e0bd=this['_transformService'][_0x5cab57(0x100)](_0x66ae64,_0x374a15,!0x1);if(_0x195720[_0x5cab57(0x106)](_0x54678e))throw _0x54678e[_0x5cab57(0x3ce)];if(_0x195720[_0x5cab57(0x106)](_0x63e0bd))throw _0x63e0bd[_0x5cab57(0x3ce)];_0x17ec51['unshift']({..._0x4d1466[_0x4c6218],'undoState':_0x54678e['m2Prime'][_0x5cab57(0x1bb)],'redoState':_0x63e0bd[_0x5cab57(0x3b8)][_0x5cab57(0x1bb)]}),_0x4bce24=_0x54678e[_0x5cab57(0x25d)],_0x66ae64=_0x63e0bd[_0x5cab57(0x25d)];}this[_0x5cab57(0x2ae)][_0x5cab57(0x293)](_0x4c67ea,{'history':_0x185f5d,'collaboration':_0x17ec51});}};_0x13e633=_0x1a8553([_0x101d0b(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x101d0b(0x1,_0x195720[_0x3db800(0x26e)]),_0x101d0b(0x2,_0x5721e1[_0x3db800(0x181)](_0x45f825[_0x3db800(0x3bf)]))],_0x13e633);var _0x1275bc=Object[_0x3db800(0x2db)],_0x5219ca=(_0x3f206d,_0x5c2e7b,_0x519949,_0x27fece)=>{const _0x1f17b8=_0x3db800;for(var _0x523b03=_0x27fece>0x1?void 0x0:_0x27fece?_0x1275bc(_0x5c2e7b,_0x519949):_0x5c2e7b,_0x3552fb=_0x3f206d[_0x1f17b8(0x165)]-0x1,_0x419d8e;_0x3552fb>=0x0;_0x3552fb--)(_0x419d8e=_0x3f206d[_0x3552fb])&&(_0x523b03=_0x419d8e(_0x523b03)||_0x523b03);return _0x523b03;},_0x17b0e5=(_0x1d6a7f,_0x28c58c)=>(_0x374364,_0xd45bbe)=>_0x28c58c(_0x374364,_0xd45bbe,_0x1d6a7f);let _0x129f97=class{constructor(_0xcf8206,_0x1595b3){const _0x4bef07=_0x3db800;this[_0x4bef07(0xed)]=_0xcf8206,this['_transformService']=_0x1595b3;}[_0x3db800(0x280)](_0x301ed9){const _0x27313e=_0x3db800;var _0x10ea41;const _0x54f0bc=this[_0x27313e(0xed)]['get'](_0x9d8fba[_0x27313e(0x2c4)]),_0x4d0532=(_0x10ea41=_0x54f0bc[_0x27313e(0x260)]())!=null?_0x10ea41:[];if(_0x4d0532[_0x27313e(0x165)]===0x0)return;const _0x43327a=_0x301ed9[_0x27313e(0x153)],_0x43143b=[{'id':_0x27313e(0x30f),'params':{'unitId':_0x43327a,'actions':null,'textRanges':_0x4d0532}}],_0x173a74=this[_0x27313e(0x20c)][_0x27313e(0x124)](_0x301ed9,_0x43143b);if(!_0x195720[_0x27313e(0x31a)](_0x173a74))throw _0x173a74[_0x27313e(0x3ce)];const _0xd46133=_0x173a74[_0x27313e(0x3b8)][0x0][_0x27313e(0x1bb)][_0x27313e(0x12d)];Array[_0x27313e(0x3a1)](_0xd46133)&&_0xd46133[_0x27313e(0x165)]&&_0x54f0bc[_0x27313e(0x26b)](_0xd46133,{'unitId':_0x43327a,'subUnitId':_0x43327a},!0x1);}};_0x129f97=_0x5219ca([_0x17b0e5(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1['Injector'])),_0x17b0e5(0x1,_0x195720[_0x3db800(0x26e)])],_0x129f97);var _0xbcf06e=Object[_0x3db800(0x2db)],_0x1741b5=(_0x274d15,_0x896981,_0x3bdce3,_0x26ffa3)=>{for(var _0x3a14ef=_0x26ffa3>0x1?void 0x0:_0x26ffa3?_0xbcf06e(_0x896981,_0x3bdce3):_0x896981,_0x27d6a=_0x274d15['length']-0x1,_0x48c472;_0x27d6a>=0x0;_0x27d6a--)(_0x48c472=_0x274d15[_0x27d6a])&&(_0x3a14ef=_0x48c472(_0x3a14ef)||_0x3a14ef);return _0x3a14ef;},_0x2068e7=(_0xe33c87,_0x5755b6)=>(_0x33a03a,_0x40a0a4)=>_0x5755b6(_0x33a03a,_0x40a0a4,_0xe33c87);let _0xc6cb38=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x2c34be,_0x84ea2a,_0x1cab77,_0x4e3566,_0x28252c,_0x5da297,_0x4a4553,_0x31178c){const _0x218c40=_0x3db800;super(),_0x11fc09(this,'_status$',new _0x3c46fe[(_0x218c40(0x346))](_0x115633[_0x218c40(0x36f)][_0x218c40(0x246)])),(this[_0x218c40(0x2ae)]=_0x2c34be,this['_collaborationController']=_0x84ea2a,this[_0x218c40(0x2a6)]=_0x1cab77,this[_0x218c40(0x366)]=_0x4e3566,this[_0x218c40(0x3b3)]=_0x28252c,this['_docSyncEditingCollabCursorService']=_0x5da297,this[_0x218c40(0x2b7)]=_0x4a4553,this[_0x218c40(0x1fb)]=_0x31178c,this[_0x218c40(0x2a4)]());}[_0x3db800(0x2a4)](){const _0x4b8cbd=_0x3db800;this[_0x4b8cbd(0x168)](this['_collaborationController'][_0x4b8cbd(0x193)][_0x4b8cbd(0x2ce)](_0x1b60d2=>{const _0x1027d8=_0x4b8cbd,_0x123027=this[_0x1027d8(0x2ae)]['docStateChange$'][_0x1027d8(0x2ce)](_0x356699=>{const _0x21f510=_0x1027d8;if(_0x356699==null)return;const {unitId:_0x1a7aa5,redoState:_0x48c2c1,commandId:_0x43e2b4}=_0x356699;if(_0x1a7aa5!==_0x1b60d2['unitID'])return;const _0x198cec={'id':_0x43e2b4,'type':_0x5721e1[_0x21f510(0x27e)][_0x21f510(0x143)],'params':{'unitId':_0x1a7aa5,'actions':_0x48c2c1[_0x21f510(0x14b)],'textRanges':null}};_0x1b60d2[_0x21f510(0x1f8)](_0x198cec);});if(_0x1b60d2['disposeWithMe'](_0x123027),_0x1b60d2 instanceof _0x115633[_0x1027d8(0x24a)]){const _0x377d36={'onTransformIME':_0x4afe35=>this[_0x1027d8(0x2a6)][_0x1027d8(0x2cc)](_0x4afe35),'onTransformState':_0x483671=>this[_0x1027d8(0x366)][_0x1027d8(0x23d)](_0x483671),'onTransformSelections':_0x2bccc4=>this[_0x1027d8(0x3b3)][_0x1027d8(0x280)](_0x2bccc4),'onSyncEditingCollabCursor':_0x2dfcfa=>this[_0x1027d8(0x2fa)][_0x1027d8(0x231)](_0x2dfcfa),'onTransformRemoteChangesetByIMECache':_0x467f0a=>this['_docTransformIMECacheService'][_0x1027d8(0x338)](_0x467f0a),'onTransformRemoteChangesetByStateCache':_0x419913=>this['_docTransformStateCacheService'][_0x1027d8(0x338)](_0x419913)};_0x1b60d2[_0x1027d8(0x1f2)](_0x377d36);}}));}};_0xc6cb38=_0x1741b5([_0x2068e7(0x0,_0x5721e1['Inject'](_0x45f825[_0x3db800(0x3bf)])),_0x2068e7(0x1,_0x5721e1[_0x3db800(0x181)](_0x115633['CollaborationController'])),_0x2068e7(0x2,_0x5721e1[_0x3db800(0x181)](_0x28b209)),_0x2068e7(0x3,_0x5721e1[_0x3db800(0x181)](_0x13e633)),_0x2068e7(0x4,_0x5721e1['Inject'](_0x129f97)),_0x2068e7(0x5,_0x5721e1[_0x3db800(0x181)](_0x41a578)),_0x2068e7(0x6,_0xa1d841[_0x3db800(0x355)]),_0x2068e7(0x7,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x324)]))],_0xc6cb38);var _0xb66710=(_0x422ec8=>(_0x422ec8[_0x422ec8[_0x3db800(0x13c)]=0x0]=_0x3db800(0x13c),_0x422ec8[_0x422ec8['OK']=0x1]='OK',_0x422ec8[_0x422ec8[_0x3db800(0x173)]=0x2]=_0x3db800(0x173),_0x422ec8[_0x422ec8['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x422ec8[_0x422ec8[_0x3db800(0x3d0)]=0x4]=_0x3db800(0x3d0),_0x422ec8[_0x422ec8[_0x3db800(0x18a)]=0x5]='UNAUTHENTICATED',_0x422ec8[_0x422ec8[_0x3db800(0x326)]=0x6]=_0x3db800(0x326),_0x422ec8[_0x422ec8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x422ec8[_0x422ec8[_0x3db800(0x232)]=0x8]='TOO_MANY_REQUESTS',_0x422ec8[_0x422ec8['COMPLETION_FINISHED']=0x9]=_0x3db800(0x375),_0x422ec8[_0x422ec8['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x422ec8[_0x422ec8[_0x3db800(0x3a7)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x422ec8[_0x422ec8[_0x3db800(0x1e8)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x422ec8[_0x422ec8[_0x3db800(0x2f0)]=0xd]=_0x3db800(0x2f0),_0x422ec8[_0x422ec8[_0x3db800(0x235)]=0xe]=_0x3db800(0x235),_0x422ec8[_0x422ec8[_0x3db800(0x28a)]=0xf]=_0x3db800(0x28a),_0x422ec8[_0x422ec8[_0x3db800(0x3ac)]=0x10]=_0x3db800(0x3ac),_0x422ec8[_0x422ec8[_0x3db800(0x149)]=0x64]=_0x3db800(0x149),_0x422ec8[_0x422ec8[_0x3db800(0x2a1)]=0x65]=_0x3db800(0x2a1),_0x422ec8[_0x422ec8[_0x3db800(0x14a)]=0xc9]=_0x3db800(0x14a),_0x422ec8[_0x422ec8[_0x3db800(0x22b)]=0xca]=_0x3db800(0x22b),_0x422ec8[_0x422ec8[_0x3db800(0x206)]=0x1389]=_0x3db800(0x206),_0x422ec8[_0x422ec8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3db800(0x205),_0x422ec8[_0x422ec8[_0x3db800(0x197)]=0x1772]=_0x3db800(0x197),_0x422ec8[_0x422ec8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3db800(0x22d),_0x422ec8[_0x422ec8[_0x3db800(0x35d)]=0x1b59]='APPLY_REJECT',_0x422ec8[_0x422ec8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3db800(0xee),_0x422ec8[_0x422ec8[_0x3db800(0xf7)]=0x1b5b]=_0x3db800(0xf7),_0x422ec8[_0x422ec8[_0x3db800(0x2d8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x422ec8[_0x422ec8[_0x3db800(0x1af)]=0x1b5d]='APPLY_DUPLICATED',_0x422ec8[_0x422ec8['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3db800(0xf1),_0x422ec8[_0x422ec8[_0x3db800(0x16d)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x422ec8[_0x422ec8[_0x3db800(0x256)]=0x232a]=_0x3db800(0x256),_0x422ec8[_0x422ec8[_0x3db800(0x27a)]=0x232b]=_0x3db800(0x27a),_0x422ec8[_0x422ec8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x422ec8[_0x422ec8['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3db800(0x310),_0x422ec8[_0x422ec8['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x422ec8[_0x422ec8[_0x3db800(0x2ba)]=0x2712]=_0x3db800(0x2ba),_0x422ec8[_0x422ec8[_0x3db800(0x1b5)]=0x2713]=_0x3db800(0x1b5),_0x422ec8[_0x422ec8[_0x3db800(0x33e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x422ec8[_0x422ec8[_0x3db800(0x225)]=0x271a]=_0x3db800(0x225),_0x422ec8[_0x422ec8[_0x3db800(0xe9)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x422ec8[_0x422ec8[_0x3db800(0xff)]=0x271c]=_0x3db800(0xff),_0x422ec8[_0x422ec8[_0x3db800(0x28b)]=0x271d]=_0x3db800(0x28b),_0x422ec8[_0x422ec8['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3db800(0x26d),_0x422ec8[_0x422ec8[_0x3db800(0x111)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x422ec8[_0x422ec8['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3db800(0x1c7),_0x422ec8[_0x422ec8[_0x3db800(0x3d2)]=0x2af9]=_0x3db800(0x3d2),_0x422ec8[_0x422ec8[_0x3db800(0x167)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x422ec8[_0x422ec8['INVALID_INVITE_CODE']=0x2ee2]=_0x3db800(0x2c7),_0x422ec8[_0x422ec8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3db800(0x1b6),_0x422ec8[_0x422ec8[_0x3db800(0x369)]=0x2ee4]=_0x3db800(0x369),_0x422ec8[_0x422ec8[_0x3db800(0x216)]=0x2ee5]=_0x3db800(0x216),_0x422ec8[_0x422ec8['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x422ec8[_0x422ec8[_0x3db800(0x26c)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x422ec8[_0x422ec8['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3db800(0x1f3),_0x422ec8[_0x422ec8['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x3db800(0xf3),_0x422ec8[_0x422ec8[_0x3db800(0x300)]=0x36b2]=_0x3db800(0x300),_0x422ec8[_0x422ec8[_0x3db800(0x27d)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x422ec8[_0x422ec8[_0x3db800(0x15e)]=0x36b4]=_0x3db800(0x15e),_0x422ec8[_0x422ec8[_0x3db800(0x2d4)]=0x36b5]=_0x3db800(0x2d4),_0x422ec8[_0x422ec8[_0x3db800(0x1df)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x422ec8[_0x422ec8[_0x3db800(0x29b)]=0x36b7]=_0x3db800(0x29b),_0x422ec8[_0x422ec8['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x3db800(0xeb),_0x422ec8[_0x422ec8['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x422ec8[_0x422ec8[_0x3db800(0x196)]=0x3716]=_0x3db800(0x196),_0x422ec8[_0x422ec8['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x3db800(0x1db),_0x422ec8[_0x422ec8[_0x3db800(0x35f)]=0x37dd]=_0x3db800(0x35f),_0x422ec8[_0x422ec8[_0x3db800(0xdb)]=0x3a99]=_0x3db800(0xdb),_0x422ec8[_0x422ec8[_0x3db800(0x133)]=0x3a9a]=_0x3db800(0x133),_0x422ec8[_0x422ec8[_0x3db800(0x172)]=0x3a9b]=_0x3db800(0x172),_0x422ec8[_0x422ec8[_0x3db800(0x1eb)]=0x3a9c]=_0x3db800(0x1eb),_0x422ec8[_0x422ec8[_0x3db800(0xe6)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x422ec8[_0x422ec8[_0x3db800(0x2a8)]=0x3a9e]=_0x3db800(0x2a8),_0x422ec8[_0x422ec8[_0x3db800(0x396)]=0x3a9f]=_0x3db800(0x396),_0x422ec8[_0x422ec8[_0x3db800(0x327)]=0x3e81]=_0x3db800(0x327),_0x422ec8[_0x422ec8[_0x3db800(0x2da)]=-0x1]=_0x3db800(0x2da),_0x422ec8))(_0xb66710||{});function _0x34b9a7(_0x47efd1){const _0x580e78=_0x3db800;var _0x42d23e,_0x4ecbb0;const _0x27e846=(_0x42d23e=_0x47efd1[_0x580e78(0x3c0)])==null?void 0x0:_0x42d23e[_0x580e78(0x329)],_0x805d6f=((_0x4ecbb0=_0x47efd1[_0x580e78(0x3c0)])==null?void 0x0:_0x4ecbb0[_0x580e78(0x12e)])||0x0;return _0x27e846===_0x26196d[_0x580e78(0x3bb)]['START_CALCULATION']&&_0x805d6f>0x0;}function _0x6800d9(_0x22c524){const _0x55e0d9=_0x3db800;return _0x22c524[_0x55e0d9(0x18c)]===_0x26196d[_0x55e0d9(0x291)][_0x55e0d9(0x3c9)];}var _0x208271=Object['getOwnPropertyDescriptor'],_0x408852=(_0x1d1394,_0x575a87,_0x14ddb4,_0x56e504)=>{for(var _0x2c302f=_0x56e504>0x1?void 0x0:_0x56e504?_0x208271(_0x575a87,_0x14ddb4):_0x575a87,_0x12a2bc=_0x1d1394['length']-0x1,_0x4b29b3;_0x12a2bc>=0x0;_0x12a2bc--)(_0x4b29b3=_0x1d1394[_0x12a2bc])&&(_0x2c302f=_0x4b29b3(_0x2c302f)||_0x2c302f);return _0x2c302f;},_0x387b6a=(_0x21acf3,_0xcc1699)=>(_0x2569b3,_0x48955c)=>_0xcc1699(_0x2569b3,_0x48955c,_0x21acf3);const _0x3a939f=_0x3db800(0x379),_0x95a99a=_0x3db800(0x1d3),_0x268bfd=_0x3db800(0x176);let _0x474fa3=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x4d2d5e,_0x402dd2,_0x30e7c8,_0x4b9b3d,_0xe222a1,_0x2cbf29,_0x38e331){const _0x4d2fb4=_0x3db800;super(),_0x11fc09(this,_0x4d2fb4(0x17f),null),_0x11fc09(this,_0x4d2fb4(0x13a),0x0),_0x11fc09(this,'_currentUsage',0x0),_0x11fc09(this,_0x4d2fb4(0x3c7),[]),_0x11fc09(this,_0x4d2fb4(0x1d2),0x0),(this[_0x4d2fb4(0x2b7)]=_0x4d2d5e,this[_0x4d2fb4(0x3a0)]=_0x402dd2,this['_configService']=_0x30e7c8,this[_0x4d2fb4(0x394)]=_0x4b9b3d,this[_0x4d2fb4(0x122)]=_0xe222a1,this['_logService']=_0x2cbf29,this['_localeService']=_0x38e331,this[_0x4d2fb4(0xdf)]());}[_0x3db800(0xdf)](){const _0x49be53=_0x3db800;this[_0x49be53(0x168)](this[_0x49be53(0x3a0)][_0x49be53(0x2b0)]((_0x49a95d,_0x2254f4)=>{const _0x26e752=_0x49be53;var _0x829b9f;if(_0x49a95d['id']!==_0x26196d[_0x26e752(0x204)]['id'])return;const _0x334320=_0x49a95d[_0x26e752(0x1bb)];if(!this[_0x26e752(0x19d)]((_0x829b9f=_0x334320[_0x26e752(0x2de)])!=null?_0x829b9f:[]))return;if(!this[_0x26e752(0x2cb)]())throw this[_0x26e752(0x277)](_0x49a95d,_0x2254f4),this[_0x26e752(0x113)](),new _0x5721e1[(_0x26e752(0x1f9))]();})),this[_0x49be53(0x168)](this['_commandService'][_0x49be53(0x10b)]((_0xfe79d5,_0x2ed63d)=>{const _0x1b6aa4=_0x49be53;if(_0xfe79d5['id']!==_0x26196d[_0x1b6aa4(0x315)]['id'])return;const _0x37dab6=_0xfe79d5[_0x1b6aa4(0x1bb)];if(_0x34b9a7(_0x37dab6)){const _0x52154c=_0x5721e1[_0x1b6aa4(0x336)]();this[_0x1b6aa4(0x3c7)]['push'](_0x52154c),this[_0x1b6aa4(0x30b)](_0x52154c);}else{if(_0x6800d9(_0x37dab6)&&this[_0x1b6aa4(0x3c7)]['length']>0x0){const _0x49a46b=this[_0x1b6aa4(0x3c7)][_0x1b6aa4(0x222)]();this[_0x1b6aa4(0x3b5)](_0x49a46b);}}}));}['dispose'](){const _0x5d0ff4=_0x3db800;super['dispose'](),this[_0x5d0ff4(0xe5)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x5d0ff4(0x13a)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x3db800(0x277)](_0x54e661,_0x31251f){const _0x421474=_0x3db800;for(let _0x4dfff0=0x0;_0x4dfff0<0x1e;_0x4dfff0++)try{if(await this['_getFormulaLimitStatus'](),this[_0x421474(0x2cb)]()){this['_applyCommand'](_0x54e661,_0x31251f),this[_0x421474(0x2b7)][_0x421474(0x2b1)]({'content':this[_0x421474(0x1fb)]['t'](_0x421474(0x307)),'type':_0x31d403[_0x421474(0x3ca)][_0x421474(0x245)]});return;}await new Promise(_0x20e8d5=>{const _0x8cfb31=_0x421474;this[_0x8cfb31(0x17f)]=window[_0x8cfb31(0x10f)](_0x20e8d5,0x3e8);});}catch(_0x424d3f){this[_0x421474(0x3b1)][_0x421474(0x3ce)](_0x424d3f);}this[_0x421474(0x2b7)][_0x421474(0x2b1)]({'content':this['_localeService']['t'](_0x421474(0x12a)),'type':_0x31d403[_0x421474(0x3ca)][_0x421474(0x131)]});}[_0x3db800(0x360)](_0x310c92,_0x7bb10a){const _0x288f2b=_0x3db800;try{this[_0x288f2b(0x3a0)]['executeCommand'](_0x310c92['id'],_0x310c92[_0x288f2b(0x1bb)],_0x7bb10a);}catch(_0x54e018){this[_0x288f2b(0x3b1)][_0x288f2b(0x3ce)](_0x54e018);}}[_0x3db800(0x1fc)](_0x1e7132,_0x1399af){const _0x1c6ef4=_0x3db800;_0x1399af<this[_0x1c6ef4(0x1d2)]||(this['_lastResponseTimestamp']=_0x1399af,this['_maxFormulaLimit']=Number[_0x1c6ef4(0x145)](_0x1e7132[_0x1c6ef4(0x1c1)]),this[_0x1c6ef4(0x2a0)]=Number[_0x1c6ef4(0x145)](_0x1e7132[_0x1c6ef4(0x333)]));}async[_0x3db800(0x30b)](_0x56f928){const _0x1cd39b=_0x3db800;var _0x4452e1,_0x52c50a;const _0x161d2b=Date[_0x1cd39b(0x18d)]();try{const _0x31436d=((_0x4452e1=this[_0x1cd39b(0x2b3)][_0x1cd39b(0x1f6)](_0x115633[_0x1cd39b(0x351)]))==null?void 0x0:_0x4452e1[_0x1cd39b(0x1fa)])||_0x95a99a,_0x143e4d=(await this['_httpService']['post'](_0x31436d,{'body':JSON[_0x1cd39b(0x2c2)]({'taskId':_0x56f928})}))['body'];if(((_0x52c50a=_0x143e4d[_0x1cd39b(0x3ce)])==null?void 0x0:_0x52c50a[_0x1cd39b(0x306)])!==_0xb66710['OK'])return;this[_0x1cd39b(0x1fc)](_0x143e4d[_0x1cd39b(0x174)],_0x161d2b);}catch(_0x449258){this[_0x1cd39b(0x3b1)][_0x1cd39b(0x3ce)](_0x449258);}}async[_0x3db800(0x1a8)](_0x347348){const _0x967097=_0x3db800;var _0x1483a0,_0x57205d;const _0x1c619f=Date[_0x967097(0x18d)]();try{const _0x3db7a8=((_0x1483a0=this[_0x967097(0x2b3)]['getConfig'](_0x115633[_0x967097(0x351)]))==null?void 0x0:_0x1483a0[_0x967097(0x19e)])||_0x3a939f,_0x3e2a2a=_0x347348?_0x3db7a8+'?taskId='+encodeURIComponent(_0x347348):_0x3db7a8,_0xde02a5=(await this[_0x967097(0x394)][_0x967097(0x31c)](_0x3e2a2a))[_0x967097(0x14e)];if(((_0x57205d=_0xde02a5[_0x967097(0x3ce)])==null?void 0x0:_0x57205d[_0x967097(0x306)])!==_0xb66710['OK'])return;this[_0x967097(0x1fc)](_0xde02a5['limitInfo'],_0x1c619f);}catch(_0x20cd7d){this[_0x967097(0x3b1)][_0x967097(0x3ce)](_0x20cd7d);}}async[_0x3db800(0x3b5)](_0xfb1547){const _0x3498bc=_0x3db800;var _0x56e93e,_0x3dff1c;const _0x529102=Date[_0x3498bc(0x18d)]();try{const _0x5c700c=((_0x56e93e=this[_0x3498bc(0x2b3)][_0x3498bc(0x1f6)](_0x115633[_0x3498bc(0x351)]))==null?void 0x0:_0x56e93e['releaseFormulaLimitUrl'])||_0x268bfd,_0x29b517=(await this[_0x3498bc(0x394)]['post'](_0x5c700c,{'body':JSON[_0x3498bc(0x2c2)]({'taskId':_0xfb1547})}))[_0x3498bc(0x14e)];if(((_0x3dff1c=_0x29b517[_0x3498bc(0x3ce)])==null?void 0x0:_0x3dff1c['code'])!==_0xb66710['OK'])return;this[_0x3498bc(0x1fc)](_0x29b517['limitInfo'],_0x529102);}catch(_0x34368a){this[_0x3498bc(0x3b1)]['error'](_0x34368a);}}[_0x3db800(0x2cb)](){const _0x583711=_0x3db800;return this[_0x583711(0x13a)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}['_clearPolling'](){const _0xe5d54f=_0x3db800;this[_0xe5d54f(0x17f)]&&(clearTimeout(this['_pollingInterval']),this[_0xe5d54f(0x17f)]=null);}[_0x3db800(0x113)](){const _0x1e4dea=_0x3db800;this[_0x1e4dea(0x2b7)]['show']({'content':this[_0x1e4dea(0x1fb)]['t']('formula.calculation.waiting'),'type':_0x31d403[_0x1e4dea(0x3ca)][_0x1e4dea(0xe1)]});}[_0x3db800(0x19d)](_0x14cfeb){const _0x5c19b8=_0x3db800;for(const _0x359290 of _0x14cfeb){const {unitId:_0x105acf,sheetId:_0x5d098b,range:_0x506216}=_0x359290,_0x3072b1=this[_0x5c19b8(0x122)][_0x5c19b8(0xe4)](_0x105acf);if(!_0x3072b1)continue;const _0x72aa3c=_0x3072b1['getSheetBySheetId'](_0x5d098b);if(!_0x72aa3c)continue;const _0x5e3426=_0x72aa3c['getCellMatrix']();for(let _0x48cb31=_0x506216[_0x5c19b8(0x32e)];_0x48cb31<=_0x506216[_0x5c19b8(0x37a)];_0x48cb31++)for(let _0x318aa3=_0x506216[_0x5c19b8(0x30a)];_0x318aa3<=_0x506216[_0x5c19b8(0xd8)];_0x318aa3++){const _0x190b07=_0x5e3426[_0x5c19b8(0x2f2)](_0x48cb31,_0x318aa3);if(_0x190b07&&(_0x5721e1[_0x5c19b8(0xf2)](_0x190b07['f'])||_0x5721e1[_0x5c19b8(0x3ba)](_0x190b07['si'])))return!0x0;}}return!0x1;}};_0x474fa3=_0x408852([_0x387b6a(0x0,_0x5721e1[_0x3db800(0x181)](_0xa1d841[_0x3db800(0x355)])),_0x387b6a(0x1,_0x5721e1[_0x3db800(0x2e2)]),_0x387b6a(0x2,_0x5721e1['IConfigService']),_0x387b6a(0x3,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x387b6a(0x4,_0x5721e1[_0x3db800(0x24f)]),_0x387b6a(0x5,_0x5721e1[_0x3db800(0x154)]),_0x387b6a(0x6,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x324)]))],_0x474fa3);var _0x57f33c=Object[_0x3db800(0x2db)],_0x26c888=(_0x635945,_0x97aa1a,_0x17bf7a,_0x4fd7e1)=>{const _0x3f8654=_0x3db800;for(var _0x488590=_0x4fd7e1>0x1?void 0x0:_0x4fd7e1?_0x57f33c(_0x97aa1a,_0x17bf7a):_0x97aa1a,_0xba986a=_0x635945[_0x3f8654(0x165)]-0x1,_0x3bfc67;_0xba986a>=0x0;_0xba986a--)(_0x3bfc67=_0x635945[_0xba986a])&&(_0x488590=_0x3bfc67(_0x488590)||_0x488590);return _0x488590;},_0x3bad10=(_0x2f0dcf,_0x1d0373)=>(_0x443e7c,_0x23e7e4)=>_0x1d0373(_0x443e7c,_0x23e7e4,_0x2f0dcf);let _0x87e2af=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x211a7f,_0x1f113e,_0x2b3218){const _0x9e7c9e=_0x3db800;super(),_0x11fc09(this,'_cachedData',new Map()),_0x11fc09(this,_0x9e7c9e(0x284),new Map()),_0x11fc09(this,'_disabled',!0x1),(this['_configService']=_0x211a7f,this[_0x9e7c9e(0x1c3)]=_0x1f113e,this['_revisionService']=_0x2b3218);}[_0x3db800(0x17e)](){const _0x2446c6=_0x3db800;this[_0x2446c6(0x397)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x3db800(0x2c0)](){return this['_saveTaskMap'];}['dispose'](){const _0x3e8ee9=_0x3db800;this[_0x3e8ee9(0x3cb)]()[_0x3e8ee9(0x1d6)](()=>super[_0x3e8ee9(0x37d)]());}async[_0x3db800(0x1be)](_0x114387){const _0x30f9ed=_0x3db800;return this['_disabled']?null:this['_localStorageService'][_0x30f9ed(0x2ff)](_0x115633['getLocalCacheKey'](_0x114387));}async[_0x3db800(0x286)](_0x6b7b04,_0x4062fa){const _0x225fa4=_0x3db800;return!!this[_0x225fa4(0x1c3)][_0x225fa4(0x335)](_0x6b7b04,_0x4062fa);}[_0x3db800(0x2f7)](_0x3fcc15,_0x14022d,_0x11389f,_0x565761){const _0x518366=_0x3db800,_0x14efd5=this[_0x518366(0x25c)][_0x518366(0x177)](_0x3fcc15);this[_0x518366(0x1a0)][_0x518366(0x10c)](_0x3fcc15,{'unitID':_0x3fcc15,'type':_0x14022d,'awaitingChangeset':_0x11389f,'mutations':_0x565761,'rev':_0x14efd5}),this[_0x518366(0x284)][_0x518366(0x101)](_0x3fcc15)||this[_0x518366(0x3bd)](_0x3fcc15);}[_0x3db800(0x3bd)](_0xa701a){const _0x47d102=_0x3db800,_0x169dc9=this['_getSaveTimeout']();_0x169dc9===0x0?this[_0x47d102(0x253)](_0xa701a):this[_0x47d102(0x284)][_0x47d102(0x10c)](_0xa701a,setTimeout(()=>this['_saveCache'](_0xa701a),_0x169dc9));}[_0x3db800(0x175)](){const _0x5e5efe=_0x3db800;var _0x2fba4e;return(_0x2fba4e=this['_configService'][_0x5e5efe(0x1f6)](_0x115633[_0x5e5efe(0x350)]))!=null?_0x2fba4e:_0x115633[_0x5e5efe(0x1c0)];}[_0x3db800(0x253)](_0x3080a3){const _0x39496b=_0x3db800,_0x670ebe=this[_0x39496b(0x284)][_0x39496b(0x31c)](_0x3080a3);return _0x670ebe!==void 0x0&&window[_0x39496b(0x16c)](_0x670ebe),this[_0x39496b(0x1c3)]['setItem'](_0x115633[_0x39496b(0x361)](_0x3080a3),this[_0x39496b(0x1a0)]['get'](_0x3080a3))['then'](()=>this[_0x39496b(0x284)][_0x39496b(0xd6)](_0x3080a3));}async[_0x3db800(0x3cb)](){const _0x5bb2f7=_0x3db800,_0xd8ee99=[];this[_0x5bb2f7(0x284)]['forEach']((_0x5051a7,_0x29ca62)=>{const _0xa2ec32=_0x5bb2f7;window[_0xa2ec32(0x16c)](_0x5051a7),_0xd8ee99[_0xa2ec32(0x126)](this[_0xa2ec32(0x253)](_0x29ca62)[_0xa2ec32(0x1d6)](()=>{const _0x21870f=_0xa2ec32;this[_0x21870f(0x284)][_0x21870f(0xd6)](_0x29ca62);}));}),await Promise['all'](_0xd8ee99);}};_0x87e2af=_0x26c888([_0x3bad10(0x0,_0x5721e1[_0x3db800(0x1aa)]),_0x3bad10(0x1,_0x5721e1[_0x3db800(0xfe)]),_0x3bad10(0x2,_0x5721e1['Inject'](_0x195720[_0x3db800(0x188)]))],_0x87e2af);class _0x752a44 extends _0x5721e1['RxDisposable']{constructor(){const _0x26b41e=_0x3db800;super(),_0x11fc09(this,'urlChange$'),this['urlChange$']=_0x3c46fe[_0x26b41e(0x2d6)](window,_0x26b41e(0x14c))[_0x26b41e(0x138)](_0x3c46fe[_0x26b41e(0x3cd)](this['dispose$']),_0x3c46fe[_0x26b41e(0x3a4)](0x1),_0x3c46fe[_0x26b41e(0xf6)](void 0x0));}[_0x3db800(0x2b5)](_0x322df6,_0x41b940,_0x3552d3=!0x1){const _0x29c812=_0x3db800,_0x202c9e=new URL(window[_0x29c812(0x13f)][_0x29c812(0x1c6)]);_0x202c9e[_0x29c812(0x1f7)][_0x29c812(0x10c)](_0x322df6,_0x41b940),_0x3552d3?window[_0x29c812(0x186)][_0x29c812(0x169)]('','',_0x202c9e['toString']()):window[_0x29c812(0x186)][_0x29c812(0x252)]('','',_0x202c9e[_0x29c812(0x281)]());}[_0x3db800(0x1bf)](_0x4df193,_0x587108=!0x1){const _0xbfab82=_0x3db800,_0x4d7e2d=new URL(window[_0xbfab82(0x13f)][_0xbfab82(0x1c6)]);_0x4d7e2d['searchParams'][_0xbfab82(0xd6)](_0x4df193),_0x587108?window[_0xbfab82(0x186)][_0xbfab82(0x169)]('','',_0x4d7e2d['toString']()):window[_0xbfab82(0x186)][_0xbfab82(0x252)]('','',_0x4d7e2d['toString']());}[_0x3db800(0x2aa)](_0x148fda){const _0x117df1=_0x3db800;var _0x4eb045;return(_0x4eb045=new URL(window[_0x117df1(0x13f)][_0x117df1(0x1c6)])[_0x117df1(0x1f7)][_0x117df1(0x31c)](_0x148fda))!=null?_0x4eb045:void 0x0;}}var _0x21fc30=Object[_0x3db800(0x296)],_0x29440e=Object[_0x3db800(0x2db)],_0x4cebd7=(_0x4277fe,_0xc7399d,_0x4d7161)=>_0xc7399d in _0x4277fe?_0x21fc30(_0x4277fe,_0xc7399d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d7161}):_0x4277fe[_0xc7399d]=_0x4d7161,_0x3d7ba0=(_0x24fced,_0x57a530,_0x23f789,_0x2caaf0)=>{const _0x2ea1de=_0x3db800;for(var _0x5e2759=_0x2caaf0>0x1?void 0x0:_0x2caaf0?_0x29440e(_0x57a530,_0x23f789):_0x57a530,_0x4cf22a=_0x24fced[_0x2ea1de(0x165)]-0x1,_0x5ec81b;_0x4cf22a>=0x0;_0x4cf22a--)(_0x5ec81b=_0x24fced[_0x4cf22a])&&(_0x5e2759=_0x5ec81b(_0x5e2759)||_0x5e2759);return _0x5e2759;},_0x46567e=(_0x5c9d5e,_0x2bc009)=>(_0x3408d9,_0x49e675)=>_0x2bc009(_0x3408d9,_0x49e675,_0x5c9d5e),_0x5353ff=(_0x5d2567,_0x304cda,_0xe1863c)=>_0x4cebd7(_0x5d2567,_0x304cda+'',_0xe1863c);const _0x168152=_0x3db800(0x2a7);_0x42b8f3[_0x3db800(0x156)]=class extends _0x5721e1[_0x3db800(0x2e4)]{constructor(_0x39a2be=_0x3b0f99,_0x2ed978,_0xdff2bf,_0x31dd19){const _0x1424db=_0x3db800;super(),this[_0x1424db(0x330)]=_0x39a2be,this[_0x1424db(0x125)]=_0x2ed978,this[_0x1424db(0xed)]=_0xdff2bf,this['_configService']=_0x31dd19;const {..._0x4074de}=_0x5721e1[_0x1424db(0x18e)]({},_0x3b0f99,this[_0x1424db(0x330)]);this[_0x1424db(0x2b3)]['setConfig'](_0x214486,_0x4074de);}[_0x3db800(0x1e0)](){const _0x3f0d13=_0x3db800;this[_0x3f0d13(0x179)](),this[_0x3f0d13(0x372)]();}['onRendered'](){const _0x1f8bd3=_0x3db800;this[_0x1f8bd3(0x192)]();}[_0x3db800(0x179)](){const _0xadb298=_0x3db800;var _0x2545c6;const _0x5484eb=[[_0x2ab1f4],[_0x474fa3],[_0x129f97],[_0x28b209],[_0x13e633],[_0x41a578],[_0x4a64fb,{'useClass':_0x752a44}],[_0x45e398[_0xadb298(0x1c5)],{'useClass':_0x45e398[_0xadb298(0x13e)]}],[_0x115633[_0xadb298(0x1ac)],{'useClass':_0x87e2af}],[_0x42b8f3[_0xadb298(0x255)]],[_0xc6cb38],[_0xa84181],[_0x192c77],[_0x3ae7cf],[_0x42b8f3[_0xadb298(0x362)]]];this[_0xadb298(0x330)][_0xadb298(0x320)]&&_0x5484eb[_0xadb298(0x126)]([_0x2c4f22]),_0x5721e1[_0xadb298(0x213)](this[_0xadb298(0xed)],_0x5721e1['mergeOverrideWithDependencies'](_0x5484eb,(_0x2545c6=this[_0xadb298(0x330)])==null?void 0x0:_0x2545c6[_0xadb298(0x363)]));}[_0x3db800(0x192)](){const _0x5535a8=_0x3db800;this['disposeWithMe'](this[_0x5535a8(0x125)]['registerRenderModule'](_0x5721e1['UniverInstanceType'][_0x5535a8(0x1e1)],[_0x1be4c4])),this[_0x5535a8(0x168)](this['_renderManagerService'][_0x5535a8(0x2b9)](_0x5721e1[_0x5535a8(0x1a7)][_0x5535a8(0x1a3)],[_0x3eec6b]));}[_0x3db800(0x372)](){const _0x2f5bc5=_0x3db800;_0x5721e1['touchDependencies'](this['_injector'],[[_0x192c77],[_0x42b8f3[_0x2f5bc5(0x255)]],[_0xc6cb38],[_0xa84181],[_0x42b8f3[_0x2f5bc5(0x362)]],[_0x474fa3]]),this[_0x2f5bc5(0x330)]['enableFrontendLog']&&_0x5721e1['touchDependencies'](this['_injector'],[[_0x2c4f22]]);}},_0x5353ff(_0x42b8f3[_0x3db800(0x156)],_0x3db800(0x2fb),_0x168152),_0x42b8f3['UniverCollaborationClientUIPlugin']=_0x3d7ba0([_0x5721e1[_0x3db800(0x13d)](_0x115633['UniverCollaborationClientPlugin']),_0x46567e(0x1,_0x585793[_0x3db800(0xd1)]),_0x46567e(0x2,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x46567e(0x3,_0x5721e1[_0x3db800(0x1aa)])],_0x42b8f3[_0x3db800(0x156)]);var _0x4d4599=Object[_0x3db800(0x2db)],_0x4800b8=(_0x5043ce,_0x11bc3d,_0x24223a,_0x107ac1)=>{const _0x4bd6dc=_0x3db800;for(var _0x265a70=_0x107ac1>0x1?void 0x0:_0x107ac1?_0x4d4599(_0x11bc3d,_0x24223a):_0x11bc3d,_0x1e47fa=_0x5043ce[_0x4bd6dc(0x165)]-0x1,_0x33aafa;_0x1e47fa>=0x0;_0x1e47fa--)(_0x33aafa=_0x5043ce[_0x1e47fa])&&(_0x265a70=_0x33aafa(_0x265a70)||_0x265a70);return _0x265a70;},_0x1bda34=(_0xa7db08,_0x4001b9)=>(_0x3bdc88,_0x5186d4)=>_0x4001b9(_0x3bdc88,_0x5186d4,_0xa7db08);_0x42b8f3[_0x3db800(0x1b2)]=class extends _0x115633[_0x3db800(0x158)]{constructor(_0x46afd1,_0x30d545,_0x1eed2a,_0x420e32,_0x1c1d97){super(_0x46afd1,_0x30d545,_0x1eed2a,_0x420e32,_0x1c1d97);}async['createSocket'](_0x550457){const _0x56f029=_0x3db800,_0x4c3599=await this[_0x56f029(0x2c3)](),_0xa216a=this[_0x56f029(0xde)](_0x550457,_0x4c3599);return this['_doCreateSocket'](_0xa216a);}[_0x3db800(0xde)](_0x4fa260,_0x285c5a){const _0x981df0=_0x3db800,_0x2abf30=typeof window>'u'?new URL(_0x4fa260):new URL(_0x4fa260,window[_0x981df0(0x13f)][_0x981df0(0x20f)]);_0x2abf30[_0x981df0(0x1f7)][_0x981df0(0x10c)](_0x981df0(0x11d),_0x285c5a);const _0x1a7791=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x981df0(0x13f)][_0x981df0(0x37c)]);return _0x1a7791['get'](_0x981df0(0x2ed))&&_0x2abf30['searchParams'][_0x981df0(0x10c)](_0x981df0(0x2ed),_0x1a7791[_0x981df0(0x31c)]('runId')),_0x2abf30[_0x981df0(0x281)]();}async[_0x3db800(0x2c3)](){const _0xccf088=_0x3db800;var _0x4ff492,_0x50c6d8,_0x41e349;const _0x20f849=this[_0xccf088(0x2b3)][_0xccf088(0x1f6)](_0x115633[_0xccf088(0x351)]),_0x4f22ea=(_0x4ff492=_0x20f849==null?void 0x0:_0x20f849[_0xccf088(0x289)])!=null?_0x4ff492:_0x115633['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x41e349=(_0x50c6d8=(await this[_0xccf088(0x394)][_0xccf088(0x31c)](_0x4f22ea,{'headers':{'Content-Type':_0xccf088(0x275)}}))[_0xccf088(0x14e)])==null?void 0x0:_0x50c6d8[_0xccf088(0x373)])!=null?_0x41e349:'';}},_0x42b8f3[_0x3db800(0x1b2)]=_0x4800b8([_0x1bda34(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x1bda34(0x1,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x1bda34(0x2,_0x5721e1[_0x3db800(0x1aa)]),_0x1bda34(0x3,_0x5721e1['ILogService']),_0x1bda34(0x4,_0x195720[_0x3db800(0x2cf)])],_0x42b8f3['BrowserCollaborationSocketService']);var _0x1bc577=Object[_0x3db800(0x2db)],_0x27f349=(_0x3e8c03,_0x4f1788,_0x3e2be8,_0x5126c5)=>{const _0x241944=_0x3db800;for(var _0x52cdb8=_0x5126c5>0x1?void 0x0:_0x5126c5?_0x1bc577(_0x4f1788,_0x3e2be8):_0x4f1788,_0x19685c=_0x3e8c03[_0x241944(0x165)]-0x1,_0x29200b;_0x19685c>=0x0;_0x19685c--)(_0x29200b=_0x3e8c03[_0x19685c])&&(_0x52cdb8=_0x29200b(_0x52cdb8)||_0x52cdb8);return _0x52cdb8;},_0x2d77c4=(_0x3434d4,_0x1ac160)=>(_0x329f5f,_0x16b571)=>_0x1ac160(_0x329f5f,_0x16b571,_0x3434d4);_0x42b8f3[_0x3db800(0x226)]=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x5ea8be,_0x3fbf1a,_0x49c70e){const _0x75ec3d=_0x3db800;super(),this[_0x75ec3d(0x136)]=_0x5ea8be,this[_0x75ec3d(0x394)]=_0x3fbf1a,this[_0x75ec3d(0x2b3)]=_0x49c70e;}async[_0x3db800(0x1b4)](_0x5aed12,_0x149f0f,_0x5531c2,..._0x3faf1b){const _0x49f31f=_0x3db800;var _0x381560,_0x4e6c43,_0x1eaaf3,_0x35d0ff;const _0x4d2e75=this['_instanceService'][_0x49f31f(0x36b)]();if(!_0x4d2e75)throw new Error(_0x49f31f(0x348));const _0x4993d2=((_0x381560=this[_0x49f31f(0x2b3)]['getConfig'](_0x115633[_0x49f31f(0x118)]))!=null?_0x381560:_0x115633['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5aed12+_0x49f31f(0x1f0)+_0x149f0f,_0x298a63=new URL(window['location'][_0x49f31f(0x1c6)]),_0x15c116={'scriptId':_0x5aed12,'runId':(_0x4e6c43=_0x298a63[_0x49f31f(0x1f7)]['get'](_0x49f31f(0x2ed)))!=null?_0x4e6c43:'','function':_0x149f0f,'unitId':_0x4d2e75['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x3faf1b),'invokeId':(_0x1eaaf3=_0x5531c2[_0x49f31f(0x377)])!=null?_0x1eaaf3:'','executionId':(_0x35d0ff=_0x5531c2[_0x49f31f(0x1e6)])!=null?_0x35d0ff:''};try{const _0x5c459f=await this['_httpService'][_0x49f31f(0x3c4)](_0x4993d2,{'body':_0x15c116});return _0x5c459f['body'][_0x49f31f(0x3ce)]&&_0x5c459f['body'][_0x49f31f(0x3ce)][_0x49f31f(0x306)]!==_0xb66710['OK']?_0x49f31f(0x321):_0x5c459f[_0x49f31f(0x14e)][_0x49f31f(0x352)];}catch{return _0x49f31f(0x321);}}},_0x42b8f3[_0x3db800(0x226)]=_0x27f349([_0x2d77c4(0x0,_0x5721e1[_0x3db800(0x24f)]),_0x2d77c4(0x1,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x2d77c4(0x2,_0x5721e1['IConfigService'])],_0x42b8f3[_0x3db800(0x226)]);const _0x4ff4cd=0x7530,_0x3e9c9c=_0x3db800(0x116);class _0x5994ca extends _0x5721e1[_0x3db800(0x27b)]{constructor(){const _0x1f5e52=_0x3db800;super(),_0x11fc09(this,'_id',_0x5721e1[_0x1f5e52(0x336)]()),_0x11fc09(this,_0x1f5e52(0x15d),new Set()),_0x11fc09(this,_0x1f5e52(0x36a),new Map()),_0x11fc09(this,_0x1f5e52(0xd7),null),_0x11fc09(this,'_clearOtherTimers',new Map()),_0x11fc09(this,_0x1f5e52(0x214),new Map()),this[_0x1f5e52(0x2e1)]();}[_0x3db800(0x37d)](){const _0x203955=_0x3db800;super[_0x203955(0x37d)](),this[_0x203955(0xd4)]['forEach']((_0x3ea94b,_0x42d77c)=>this['_removeClearOtherTimer'](_0x42d77c)),this[_0x203955(0xd7)]&&window[_0x203955(0x257)](this[_0x203955(0xd7)]);}['getUnitStatus$'](_0x2cbd1a){const _0x108ea0=_0x3db800;return this['_ensureSubject'](_0x2cbd1a)[_0x108ea0(0x138)](_0x3c46fe[_0x108ea0(0x105)]());}[_0x3db800(0x3a8)](_0x3f3574){const _0x238c0c=_0x3db800;this[_0x238c0c(0x15d)][_0x238c0c(0x392)]===0x0&&this[_0x238c0c(0x16b)](),this[_0x238c0c(0x15d)][_0x238c0c(0x1dd)](_0x3f3574),this[_0x238c0c(0x207)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3f3574],'isForwarded':!0x1});}[_0x3db800(0x2d7)](_0x5ce691){const _0x3d47a8=_0x3db800;this[_0x3d47a8(0x15d)]['delete'](_0x5ce691),this[_0x3d47a8(0x15d)][_0x3d47a8(0x392)]===0x0&&this[_0x3d47a8(0xd7)]&&window[_0x3d47a8(0x257)](this[_0x3d47a8(0xd7)]);}[_0x3db800(0x2e1)](){const _0x56e54b=_0x3db800;this[_0x56e54b(0x168)](_0x5721e1['toDisposable'](_0x3c46fe[_0x56e54b(0x2d6)](window,_0x56e54b(0x381))[_0x56e54b(0x2ce)](_0x18e33f=>{const _0x2a134f=_0x56e54b;if(_0x18e33f[_0x2a134f(0x2f9)]!==_0x3e9c9c||!_0x18e33f[_0x2a134f(0x325)])return;const _0x3e08cc=JSON[_0x2a134f(0x305)](_0x18e33f[_0x2a134f(0x325)]);this[_0x2a134f(0x163)](_0x3e08cc);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x56e54b(0x185)],'unitIDs':Array[_0x56e54b(0x2e8)](this[_0x56e54b(0x15d)])}));}['_handleEvent'](_0x50cfa7){const _0x55469c=_0x3db800;switch(_0x50cfa7['type']){case 0x0:this[_0x55469c(0x318)](_0x50cfa7);break;case 0x1:this[_0x55469c(0x270)](_0x50cfa7);break;case 0x2:this[_0x55469c(0x33b)](_0x50cfa7);break;}}['_handleJoinEvent'](_0x11006c){const _0x3df2c1=_0x3db800,{unitIDs:_0x4c2d20,memberID:_0x470f15,isForwarded:_0x5b4891}=_0x11006c;_0x4c2d20[_0x3df2c1(0x331)](_0x4afb5d=>{const _0x5e2624=_0x3df2c1;if(!_0x5b4891&&this[_0x5e2624(0x36a)][_0x5e2624(0x101)](_0x4afb5d)&&this[_0x5e2624(0x345)](_0x4afb5d)['next'](_0x115633[_0x5e2624(0x2b6)][_0x5e2624(0x1ba)]),!this[_0x5e2624(0x36a)][_0x5e2624(0x101)](_0x4afb5d)||!this['_unitOnClients'][_0x5e2624(0x31c)](_0x4afb5d)[_0x5e2624(0x101)](_0x470f15)){const _0x1b71a8=this[_0x5e2624(0x36a)][_0x5e2624(0x31c)](_0x4afb5d)||new Set();_0x1b71a8[_0x5e2624(0x1dd)](_0x470f15),this[_0x5e2624(0x36a)]['set'](_0x4afb5d,_0x1b71a8),this[_0x5e2624(0x24b)](_0x470f15);}}),_0x5b4891||this['_send']({'type':0x0,'memberID':this[_0x3df2c1(0x185)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3db800(0x24b)](_0x68dae5){const _0x40d8ca=_0x3db800;this[_0x40d8ca(0x119)](_0x68dae5);const _0x3112c3=window[_0x40d8ca(0x10f)](()=>{const _0x1f180a=_0x40d8ca;this[_0x1f180a(0x36a)][_0x1f180a(0x331)](_0x1eb257=>{_0x1eb257['delete'](_0x68dae5);});},_0x4ff4cd*0x2);this[_0x40d8ca(0xd4)]['set'](_0x68dae5,_0x3112c3);}[_0x3db800(0x119)](_0x4f8459){const _0x4bf9e1=_0x3db800;if(this['_clearOtherTimers']['has'](_0x4f8459)){const _0x37595d=this['_clearOtherTimers'][_0x4bf9e1(0x31c)](_0x4f8459);_0x37595d&&window['clearTimeout'](_0x37595d),this[_0x4bf9e1(0xd4)][_0x4bf9e1(0x10c)](_0x4f8459,null);}}[_0x3db800(0x270)](_0x4a4d05){const _0xb09a31=_0x3db800,{memberID:_0x2dd141,unitIDs:_0x4aad77}=_0x4a4d05;_0x4aad77[_0xb09a31(0x331)](_0x290f57=>{const _0x6073ca=_0xb09a31;var _0x44be9a;const _0x53dfe9=this[_0x6073ca(0x36a)][_0x6073ca(0x31c)](_0x290f57);_0x53dfe9&&(_0x53dfe9[_0x6073ca(0xd6)](_0x2dd141),(_0x44be9a=this[_0x6073ca(0x345)](_0x290f57))==null||_0x44be9a[_0x6073ca(0x1fe)](_0x53dfe9[_0x6073ca(0x392)]===0x0?_0x115633[_0x6073ca(0x2b6)][_0x6073ca(0x1f4)]:_0x115633['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0xb09a31(0x119)](_0x2dd141);}[_0x3db800(0x33b)](_0x5c84c6){const _0x59ca80=_0x3db800;this[_0x59ca80(0x24b)](_0x5c84c6[_0x59ca80(0x34a)]);}[_0x3db800(0x207)](_0x1904b2){const _0x1a5b73=_0x3db800;localStorage[_0x1a5b73(0x335)](_0x3e9c9c,JSON[_0x1a5b73(0x2c2)](_0x1904b2));}[_0x3db800(0x16b)](){const _0xff547f=_0x3db800;this['_heartbeatTimer']=window[_0xff547f(0x189)](()=>{const _0x85ed16=_0xff547f;this[_0x85ed16(0x207)]({'type':0x2,'memberID':this['_id']});},_0x4ff4cd);}[_0x3db800(0x345)](_0x58a17a){const _0x4b469f=_0x3db800;return this[_0x4b469f(0x214)][_0x4b469f(0x101)](_0x58a17a)||this[_0x4b469f(0x214)][_0x4b469f(0x10c)](_0x58a17a,new _0x3c46fe[(_0x4b469f(0x346))](_0x115633[_0x4b469f(0x2b6)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x4b469f(0x214)][_0x4b469f(0x31c)](_0x58a17a);}}_0x42b8f3[_0x3db800(0x180)]=_0x4a64fb,_0x42b8f3[_0x3db800(0x170)]=_0x3d98fb,_0x42b8f3['WebBrowserSingleActiveUnitService']=_0x5994ca,_0x42b8f3[_0x3db800(0xf5)]=_0x752a44,Object[_0x3db800(0x296)](_0x42b8f3,Symbol[_0x3db800(0x25b)],{'value':_0x3db800(0x1ec)});}));
|
|
1
|
+
(function(_0x43be42,_0xc9d533){const _0x27b6bf=_0x21d5,_0x46a5c3=_0x43be42();while(!![]){try{const _0x168c60=-parseInt(_0x27b6bf(0x386))/0x1+-parseInt(_0x27b6bf(0x1f1))/0x2+-parseInt(_0x27b6bf(0x1bf))/0x3*(-parseInt(_0x27b6bf(0x354))/0x4)+-parseInt(_0x27b6bf(0x253))/0x5*(-parseInt(_0x27b6bf(0x31a))/0x6)+-parseInt(_0x27b6bf(0x1fc))/0x7*(parseInt(_0x27b6bf(0x437))/0x8)+parseInt(_0x27b6bf(0x293))/0x9*(parseInt(_0x27b6bf(0x299))/0xa)+-parseInt(_0x27b6bf(0x184))/0xb*(-parseInt(_0x27b6bf(0x2c5))/0xc);if(_0x168c60===_0xc9d533)break;else _0x46a5c3['push'](_0x46a5c3['shift']());}catch(_0x28a21d){_0x46a5c3['push'](_0x46a5c3['shift']());}}}(_0x5702,0x6f2f0),function(_0x283bf4,_0x239514){const _0x2f96cd=_0x21d5;typeof exports=='object'&&typeof module<'u'?_0x239514(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==_0x2f96cd(0x3a2)&&define[_0x2f96cd(0x388)]?define([_0x2f96cd(0x455),_0x2f96cd(0x46b),_0x2f96cd(0x28e),_0x2f96cd(0x39c),_0x2f96cd(0x383),'rxjs','@univerjs/design','react','@univerjs/rpc',_0x2f96cd(0x3af),_0x2f96cd(0x466),'@univerjs/network',_0x2f96cd(0x1b0),_0x2f96cd(0x332),_0x2f96cd(0x2d9),_0x2f96cd(0x2e6),_0x2f96cd(0x463),_0x2f96cd(0x3db),_0x2f96cd(0x358)],_0x239514):(_0x283bf4=typeof globalThis<'u'?globalThis:_0x283bf4||self,_0x239514(_0x283bf4[_0x2f96cd(0x21e)]={},_0x283bf4[_0x2f96cd(0x234)],_0x283bf4[_0x2f96cd(0x310)],_0x283bf4[_0x2f96cd(0x1ca)],_0x283bf4[_0x2f96cd(0x1f8)],_0x283bf4[_0x2f96cd(0x1dd)],_0x283bf4['UniverDesign'],_0x283bf4[_0x2f96cd(0x234)],_0x283bf4[_0x2f96cd(0x2ad)],_0x283bf4['UniverSheets'],_0x283bf4[_0x2f96cd(0x38f)],_0x283bf4[_0x2f96cd(0x18c)],_0x283bf4[_0x2f96cd(0x460)],_0x283bf4[_0x2f96cd(0x42a)],_0x283bf4[_0x2f96cd(0x237)],_0x283bf4[_0x2f96cd(0x1c3)],_0x283bf4[_0x2f96cd(0x297)],_0x283bf4[_0x2f96cd(0x1dd)]['operators'],_0x283bf4[_0x2f96cd(0x1cf)]));}(this,function(_0x2ad26e,_0x1f11ec,_0x3c2922,_0x46b8ad,_0x1188a4,_0x1e9e4e,_0x2472b7,_0x51862a,_0x434d31,_0x13171a,_0x432809,_0x3f1a6a,_0x25822b,_0x2780ca,_0x45ac64,_0x137448,_0x21c000,_0xb836bd,_0x33fa1b){'use strict';const _0xa8de06=_0x21d5;var _0x126d07=Object[_0xa8de06(0x45d)],_0x3859c3=(_0x5e2d2b,_0x2eb618,_0x38b1a3)=>_0x2eb618 in _0x5e2d2b?_0x126d07(_0x5e2d2b,_0x2eb618,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38b1a3}):_0x5e2d2b[_0x2eb618]=_0x38b1a3,_0xa13482=(_0x31ab54,_0x4e03f5,_0x23fb6d)=>_0x3859c3(_0x31ab54,typeof _0x4e03f5!=_0xa8de06(0x31b)?_0x4e03f5+'':_0x4e03f5,_0x23fb6d);function _0x5297ba({ref:_0x1e26be,..._0x4de3c7}){const _0x571088=_0xa8de06,{icon:_0x5b139e,id:_0x50e5a2,className:_0x5eb363,extend:_0x4ebcde,..._0x1ae696}=_0x4de3c7,_0x1f39f8=(_0x571088(0x20c)+_0x50e5a2+'\x20'+(_0x5eb363||''))[_0x571088(0x19d)](),_0x493d76=_0x51862a['useRef']('_'+_0x285e55());return _0x252ac4(_0x5b139e,''+_0x50e5a2,{'defIds':_0x5b139e[_0x571088(0x27b)],'idSuffix':_0x493d76[_0x571088(0x2a7)]},{'ref':_0x1e26be,'className':_0x1f39f8,..._0x1ae696},_0x4ebcde);}function _0x252ac4(_0x2af3d6,_0x17a2d1,_0x2bffcc,_0xbb5ba6,_0x39f251){const _0x48ae64=_0xa8de06;return _0x51862a[_0x48ae64(0x3a4)](_0x2af3d6[_0x48ae64(0x22b)],{'key':_0x17a2d1,..._0x436ed2(_0x2af3d6,_0x2bffcc,_0x39f251),..._0xbb5ba6},(_0x70904c(_0x2af3d6,_0x2bffcc)[_0x48ae64(0x3c1)]||[])[_0x48ae64(0x3c9)]((_0x589c0a,_0x464d59)=>_0x252ac4(_0x589c0a,_0x17a2d1+'-'+_0x2af3d6['tag']+'-'+_0x464d59,_0x2bffcc,void 0x0,_0x39f251)));}function _0x436ed2(_0x253e76,_0x1da5ff,_0x150a6e){const _0x555619=_0xa8de06,_0x22ce6b={..._0x253e76[_0x555619(0x450)]};_0x150a6e!=null&&_0x150a6e[_0x555619(0x2c8)]&&_0x22ce6b[_0x555619(0x419)]===_0x555619(0x2c8)&&(_0x22ce6b['fill']=_0x150a6e[_0x555619(0x2c8)]),_0x253e76['tag']===_0x555619(0x39e)&&_0x22ce6b['id']&&(_0x22ce6b['id']=_0x22ce6b['id']+_0x1da5ff[_0x555619(0x20e)]),Object[_0x555619(0x42d)](_0x22ce6b)[_0x555619(0x2bf)](([_0x26d2e2,_0x32fd87])=>{const _0x43cc18=_0x555619;_0x26d2e2==='mask'&&typeof _0x32fd87=='string'&&(_0x22ce6b[_0x26d2e2]=_0x32fd87[_0x43cc18(0x459)](/url\(#(.*)\)/,_0x43cc18(0x262)+_0x1da5ff['idSuffix']+')'));});const {defIds:_0x58bb9e}=_0x1da5ff;return!_0x58bb9e||_0x58bb9e[_0x555619(0x370)]===0x0||(_0x253e76[_0x555619(0x22b)]===_0x555619(0x337)&&_0x22ce6b['xlink:href']&&(_0x22ce6b[_0x555619(0x1e5)]=_0x22ce6b['xlink:href']+_0x1da5ff['idSuffix']),Object[_0x555619(0x42d)](_0x22ce6b)['forEach'](([_0x3090e2,_0x41cec4])=>{const _0x1dc2d0=_0x555619;typeof _0x41cec4=='string'&&(_0x22ce6b[_0x3090e2]=_0x41cec4[_0x1dc2d0(0x459)](/url\(#(.*)\)/,_0x1dc2d0(0x262)+_0x1da5ff[_0x1dc2d0(0x20e)]+')'));})),_0x22ce6b;}function _0x70904c(_0xa118d1,_0x304f92){const _0x3ca8b2=_0xa8de06;var _0x12f283;const {defIds:_0x17abd1}=_0x304f92;return!_0x17abd1||_0x17abd1['length']===0x0?_0xa118d1:_0xa118d1[_0x3ca8b2(0x22b)]===_0x3ca8b2(0x448)&&((_0x12f283=_0xa118d1[_0x3ca8b2(0x3c1)])!=null&&_0x12f283[_0x3ca8b2(0x370)])?{..._0xa118d1,'children':_0xa118d1[_0x3ca8b2(0x3c1)]['map'](_0x3e8930=>typeof _0x3e8930[_0x3ca8b2(0x450)]['id']=='string'&&_0x17abd1&&_0x17abd1['includes'](_0x3e8930[_0x3ca8b2(0x450)]['id'])?{..._0x3e8930,'attrs':{..._0x3e8930[_0x3ca8b2(0x450)],'id':_0x3e8930['attrs']['id']+_0x304f92['idSuffix']}}:_0x3e8930)}:_0xa118d1;}function _0x285e55(){const _0x447691=_0xa8de06;return Math['random']()[_0x447691(0x3c4)](0x24)[_0x447691(0x19f)](0x2,0x8);}_0x5297ba['displayName']=_0xa8de06(0x441);const _0x4f531e={'tag':'svg','attrs':{'xmlns':_0xa8de06(0x414),'fill':_0xa8de06(0x3aa),'viewBox':_0xa8de06(0x203),'width':_0xa8de06(0x25b),'height':_0xa8de06(0x25b)},'children':[{'tag':'g','attrs':{'clipPath':_0xa8de06(0x334)},'children':[{'tag':_0xa8de06(0x329),'attrs':{'stroke':'currentColor','d':_0xa8de06(0x3c8),'strokeLinecap':'round','strokeLinejoin':_0xa8de06(0x304),'strokeWidth':1.2}}]},{'tag':_0xa8de06(0x448),'attrs':{},'children':[{'tag':_0xa8de06(0x2be),'attrs':{'id':_0xa8de06(0x2ed)},'children':[{'tag':_0xa8de06(0x329),'attrs':{'fill':_0xa8de06(0x2a6),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xa8de06(0x2ed)]},_0x1dd792=_0x51862a[_0xa8de06(0x209)](function(_0x15c630,_0x3ba71d){const _0x2eeffd=_0xa8de06;return _0x51862a[_0x2eeffd(0x3a4)](_0x5297ba,Object['assign']({},_0x15c630,{'id':_0x2eeffd(0x27e),'ref':_0x3ba71d,'icon':_0x4f531e}));});_0x1dd792['displayName']='OffLineIcon';const _0x42c0c3={'tag':'svg','attrs':{'xmlns':_0xa8de06(0x414),'fill':_0xa8de06(0x3aa),'viewBox':_0xa8de06(0x399),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0xa8de06(0x331)},'children':[{'tag':_0xa8de06(0x329),'attrs':{'stroke':'currentColor','d':'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','strokeLinecap':'round','strokeLinejoin':_0xa8de06(0x304),'strokeWidth':1.2}}]},{'tag':_0xa8de06(0x448),'attrs':{},'children':[{'tag':_0xa8de06(0x2be),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0xa8de06(0x2a6),'d':'M0\x200H16V16H0z','transform':_0xa8de06(0x26d)}}]}]}],'defIds':[_0xa8de06(0x2e3)]},_0x3e074e=_0x51862a[_0xa8de06(0x209)](function(_0x82592f,_0x27d664){const _0x3df34f=_0xa8de06;return _0x51862a[_0x3df34f(0x3a4)](_0x5297ba,Object[_0x3df34f(0x206)]({},_0x82592f,{'id':'on-line-icon','ref':_0x27d664,'icon':_0x42c0c3}));});_0x3e074e[_0xa8de06(0x30e)]=_0xa8de06(0x3d7);function _0x29c26b(_0x1f3b2f){const _0x24b6d0=_0xa8de06;switch(_0x1f3b2f){case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x2e9)]:return _0x24b6d0(0x3f9);case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x24e)]:return'collabStatus.conflict';case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x1b7)]:return _0x24b6d0(0x280);case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x33d)]:return _0x24b6d0(0x2fc);case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x411)]:case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x182)]:return _0x24b6d0(0x238);case _0x3c2922[_0x24b6d0(0x356)][_0x24b6d0(0x3e5)]:case _0x3c2922['CollaborationStatus'][_0x24b6d0(0x342)]:return _0x24b6d0(0x26a);}}function _0x47498b(_0xc132bd){const _0x4d8df5=_0xa8de06,{status$:_0x4690c2}=_0xc132bd,_0x21970e=_0x1188a4[_0x4d8df5(0x296)](_0x4690c2,_0x3c2922['CollaborationStatus'][_0x4d8df5(0x33d)]),_0xc3ab30=_0x1188a4[_0x4d8df5(0x3f6)](_0x46b8ad['LocaleService']),_0x36bdfe=_0x1188a4[_0x4d8df5(0x3f6)](_0x3c2922[_0x4d8df5(0x2f1)]),_0x332c9f=_0x21970e!==_0x3c2922[_0x4d8df5(0x356)][_0x4d8df5(0x2e9)],_0x47ce53=_0xc3ab30['t'](_0x29c26b(_0x21970e)),_0x58e5f2=_0x332c9f?_0x1f11ec[_0x4d8df5(0x3b0)](_0x3e074e,{}):_0x1f11ec[_0x4d8df5(0x3b0)](_0x1dd792,{}),_0x2cd004=_0x51862a[_0x4d8df5(0x3fa)](()=>{const _0x338160=_0x4d8df5;_0x332c9f||_0x36bdfe[_0x338160(0x1c0)]();},[_0x332c9f,_0x36bdfe]);function _0x85a203(){const _0x415eff=_0x4d8df5;return _0x1f11ec[_0x415eff(0x333)](_0x415eff(0x436),{'className':'univer-flex\x20univer-items-center','onClick':_0x2cd004,'children':[_0x1f11ec[_0x415eff(0x3b0)](_0x415eff(0x436),{'className':_0x2472b7[_0x415eff(0x3fe)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x332c9f,'univer-text-red-500':!_0x332c9f}),'children':_0x58e5f2}),_0x1f11ec['jsx']('div',{'className':_0x415eff(0x239),'children':_0x47ce53})]});}return _0x332c9f?_0x85a203():_0x1f11ec[_0x4d8df5(0x3b0)](_0x2472b7[_0x4d8df5(0x1e7)],{'title':_0xc3ab30['t'](_0x4d8df5(0x286)),'children':_0x85a203()});}var _0x1c7643=Object[_0xa8de06(0x2fb)],_0x433735=(_0x4b6ff5,_0x1d9cdb,_0x3c3474,_0x4d68e0)=>{for(var _0x2809f7=_0x4d68e0>0x1?void 0x0:_0x4d68e0?_0x1c7643(_0x1d9cdb,_0x3c3474):_0x1d9cdb,_0x49e11a=_0x4b6ff5['length']-0x1,_0x110ca4;_0x49e11a>=0x0;_0x49e11a--)(_0x110ca4=_0x4b6ff5[_0x49e11a])&&(_0x2809f7=_0x110ca4(_0x2809f7)||_0x2809f7);return _0x2809f7;},_0xf83b65=(_0x4a61f9,_0x3c28a0)=>(_0x5353eb,_0x22d9c4)=>_0x3c28a0(_0x5353eb,_0x22d9c4,_0x4a61f9);_0x2ad26e[_0xa8de06(0x2c6)]=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0xec3f6,_0x502559,_0xd70218,_0x162c04){const _0x2977a6=_0xa8de06;super(),_0xa13482(this,_0x2977a6(0x314),new _0x1e9e4e[(_0x2977a6(0x23c))](_0x3c2922['CollaborationStatus'][_0x2977a6(0x33d)])),(this[_0x2977a6(0x274)]=_0xec3f6,this[_0x2977a6(0x1e3)]=_0x502559,this['_collaborationController']=_0xd70218,this['_uiPartsService']=_0x162c04,this[_0x2977a6(0x462)](),this[_0x2977a6(0x368)]());}[_0xa8de06(0x368)](){const _0x28a934=_0xa8de06;this[_0x28a934(0x418)](this[_0x28a934(0x274)][_0x28a934(0x2f9)][_0x28a934(0x2bb)](_0x1e9e4e['switchMap'](()=>{const _0x46c28b=_0x28a934,_0x3b49fa=this['_univerInstanceService'][_0x46c28b(0x21f)]();return _0x3b49fa?this[_0x46c28b(0x3f5)][_0x46c28b(0x3a8)](_0x3b49fa[_0x46c28b(0x3e8)]()):_0x1e9e4e['of'](null);}),_0x1e9e4e[_0x28a934(0x2c0)](_0x827ed0=>_0x827ed0?_0x827ed0[_0x28a934(0x23a)]:_0x1e9e4e['of'](_0x3c2922[_0x28a934(0x356)]['NOT_COLLAB'])))[_0x28a934(0x2ab)](_0x6e46ae=>{const _0x2fd27f=_0x28a934;this[_0x2fd27f(0x314)][_0x2fd27f(0x2dc)](_0x6e46ae);}));}[_0xa8de06(0x462)](){const _0x2d20b0=_0xa8de06;this[_0x2d20b0(0x418)](this[_0x2d20b0(0x258)][_0x2d20b0(0x452)](_0x1188a4['BuiltInUIPart'][_0x2d20b0(0x387)],()=>_0x1188a4[_0x2d20b0(0x43c)](_0x4e8cdf({'status$':this[_0x2d20b0(0x314)][_0x2d20b0(0x3a7)]()}),this[_0x2d20b0(0x1e3)])));}},_0x2ad26e[_0xa8de06(0x2c6)]=_0x433735([_0xf83b65(0x0,_0x46b8ad[_0xa8de06(0x21b)]),_0xf83b65(0x1,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x364)])),_0xf83b65(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922[_0xa8de06(0x454)])),_0xf83b65(0x3,_0x1188a4['IUIPartsService'])],_0x2ad26e['DesktopCollaborationStatusDisplayController']);function _0x4e8cdf(_0x2c3106){const {status$:_0x5a968a}=_0x2c3106;return function(){const _0x587955=_0x21d5;return _0x1f11ec[_0x587955(0x3b0)](_0x47498b,{'status$':_0x5a968a});};}const _0x165cd6=_0x46b8ad['createIdentifier']('uni.network.url-service');var _0xaf425a=Object['getOwnPropertyDescriptor'],_0x5ace99=(_0x381599,_0x22f968,_0x3bda04,_0x46c4ce)=>{const _0x3f674a=_0xa8de06;for(var _0x3a7ae4=_0x46c4ce>0x1?void 0x0:_0x46c4ce?_0xaf425a(_0x22f968,_0x3bda04):_0x22f968,_0xe77965=_0x381599[_0x3f674a(0x370)]-0x1,_0x403576;_0xe77965>=0x0;_0xe77965--)(_0x403576=_0x381599[_0xe77965])&&(_0x3a7ae4=_0x403576(_0x3a7ae4)||_0x3a7ae4);return _0x3a7ae4;},_0x5787ca=(_0x4ba5ac,_0x5d240b)=>(_0x454617,_0x45b732)=>_0x5d240b(_0x454617,_0x45b732,_0x4ba5ac);_0x2ad26e[_0xa8de06(0x23b)]=class extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(_0x199f03,_0x268466,_0x529d2e,_0x389ebf,_0x1698f4){const _0x36d6bf=_0xa8de06;super(),this['_urlService']=_0x199f03,this[_0x36d6bf(0x2ce)]=_0x268466,this['_commandService']=_0x529d2e,this[_0x36d6bf(0x1b2)]=_0x389ebf,_0x1698f4?_0x1698f4==null||_0x1698f4[_0x36d6bf(0x445)]()[_0x36d6bf(0x218)](()=>this[_0x36d6bf(0x435)]()):(this[_0x36d6bf(0x2ce)][_0x36d6bf(0x2cf)](_0x36d6bf(0x217),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x36d6bf(0x435)]());}async[_0xa8de06(0x435)](){const _0x270184=_0xa8de06,_0x447a0e=this[_0x270184(0x2c9)][_0x270184(0x201)]('unit'),_0x27a2cf=this[_0x270184(0x2c9)][_0x270184(0x201)](_0x270184(0x288)),_0x3ca46f=this[_0x270184(0x2c9)][_0x270184(0x201)](_0x270184(0x187));if(!_0x447a0e||!_0x27a2cf){this['_logService'][_0x270184(0x2cf)]('[CollaborationDataLoaderController]',_0x270184(0x26b));return;}const _0x49cb30=await this[_0x270184(0x1b2)]['loadUnit'](_0x447a0e,Number(_0x27a2cf),_0x3ca46f);_0x49cb30&&_0x49cb30 instanceof _0x46b8ad[_0x270184(0x40f)]&&this[_0x270184(0x248)](_0x49cb30);}async[_0xa8de06(0x248)](_0x5b6d6b){const _0x5664dd=_0xa8de06;await this['_updateSubUnitFromURLParams'](_0x5b6d6b),_0x5b6d6b[_0x5664dd(0x3ea)][_0x5664dd(0x2bb)](_0x1e9e4e['takeUntil'](this[_0x5664dd(0x37b)]))['subscribe'](_0x2ad2e3=>{const _0x38b0cf=_0x5664dd;_0x2ad2e3&&this[_0x38b0cf(0x295)](_0x2ad2e3);}),this[_0x5664dd(0x2c9)][_0x5664dd(0x205)][_0x5664dd(0x2bb)](_0x1e9e4e[_0x5664dd(0x1cb)](this[_0x5664dd(0x37b)]))[_0x5664dd(0x2ab)](()=>this[_0x5664dd(0x1af)](_0x5b6d6b));}[_0xa8de06(0x295)](_0x45ca98,_0x4e4b2d=!0x1){const _0x206145=_0xa8de06,_0x53ffa5=this[_0x206145(0x2c9)]['getParam'](_0x206145(0x187));_0x45ca98['getSheetId']()!==_0x53ffa5&&this[_0x206145(0x2c9)][_0x206145(0x36f)](_0x206145(0x187),_0x45ca98[_0x206145(0x32d)](),_0x4e4b2d);}async[_0xa8de06(0x1af)](_0x51ac1f){const _0x5e73ba=_0xa8de06;var _0x5459a7;const _0x569c19=this[_0x5e73ba(0x2c9)][_0x5e73ba(0x201)](_0x5e73ba(0x187));if(!_0x569c19||!_0x51ac1f[_0x5e73ba(0x351)](_0x569c19)){const _0xba3ec6=_0x51ac1f[_0x5e73ba(0x1a4)]()[0x0],_0x45d862=_0x51ac1f[_0x5e73ba(0x351)](_0xba3ec6);if(!_0x45d862)return;this[_0x5e73ba(0x295)](_0x45d862,!0x0),await this[_0x5e73ba(0x197)][_0x5e73ba(0x352)](_0x13171a[_0x5e73ba(0x39f)]['id'],{'unitId':_0x51ac1f[_0x5e73ba(0x3e8)](),'subUnitId':_0xba3ec6});return;}((_0x5459a7=_0x51ac1f[_0x5e73ba(0x39b)]())==null?void 0x0:_0x5459a7[_0x5e73ba(0x32d)]())!==_0x569c19&&await this[_0x5e73ba(0x197)][_0x5e73ba(0x352)](_0x13171a[_0x5e73ba(0x39f)]['id'],{'unitId':_0x51ac1f['getUnitId'](),'subUnitId':_0x569c19});}},_0x2ad26e[_0xa8de06(0x23b)]=_0x5ace99([_0x5787ca(0x0,_0x165cd6),_0x5787ca(0x1,_0x46b8ad['ILogService']),_0x5787ca(0x2,_0x46b8ad[_0xa8de06(0x21d)]),_0x5787ca(0x3,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922[_0xa8de06(0x186)])),_0x5787ca(0x4,_0x46b8ad[_0xa8de06(0x24c)](_0x434d31['IRemoteInstanceService']))],_0x2ad26e[_0xa8de06(0x23b)]);var _0x32c572=Object[_0xa8de06(0x2fb)],_0xd993ae=(_0x228202,_0x3e4404,_0x4ca046,_0x22e9c5)=>{for(var _0x377377=_0x22e9c5>0x1?void 0x0:_0x22e9c5?_0x32c572(_0x3e4404,_0x4ca046):_0x3e4404,_0x4f661b=_0x228202['length']-0x1,_0x532f4e;_0x4f661b>=0x0;_0x4f661b--)(_0x532f4e=_0x228202[_0x4f661b])&&(_0x377377=_0x532f4e(_0x377377)||_0x377377);return _0x377377;},_0xf837a1=(_0x16abe0,_0xa57ba3)=>(_0x436585,_0x12f6ae)=>_0xa57ba3(_0x436585,_0x12f6ae,_0x16abe0);let _0x3f2971=class extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(_0x39e668,_0x5bc0d2){const _0x58499b=_0xa8de06;super(),this['_docClipboardService']=_0x39e668,this[_0x58499b(0x3bc)]=_0x5bc0d2,this[_0x58499b(0x435)]();}['_init'](){const _0x1865ac=_0xa8de06,_0xf61522=this;this['disposeWithMe'](this[_0x1865ac(0x409)][_0x1865ac(0x27d)]({'onBeforePasteImage':async _0x3662dc=>{const _0x55d5c3=_0x1865ac,_0x1c34b3=await _0xf61522['_imageIoService'][_0x55d5c3(0x3e2)](_0x3662dc);return _0x1c34b3?{'source':_0x1c34b3[_0x55d5c3(0x397)],'imageSourceType':_0x1c34b3[_0x55d5c3(0x3be)]}:null;}}));}};_0x3f2971=_0xd993ae([_0xf837a1(0x0,_0x25822b[_0xa8de06(0x372)]),_0xf837a1(0x1,_0x2780ca[_0xa8de06(0x43e)])],_0x3f2971);const _0x154062=[_0xa8de06(0x19e),'jiqing.500','green.600','red.300',_0xa8de06(0x245),_0xa8de06(0x3c7)];class _0x7dd548 extends _0x46b8ad['Disposable']{constructor(){const _0x296627=_0xa8de06;super(...arguments),_0xa13482(this,_0x296627(0x41e),new Map()),_0xa13482(this,_0x296627(0x3ae),0x0);}[_0xa8de06(0x181)](_0xab8378){const _0x2d975f=_0xa8de06;if(this[_0x2d975f(0x41e)][_0x2d975f(0x3de)](_0xab8378))return this[_0x2d975f(0x41e)][_0x2d975f(0x3ca)](_0xab8378);const _0x4cab6c=_0x154062[this[_0x2d975f(0x3ae)]];return this[_0x2d975f(0x3ae)]=(this['_colorIndex']+0x1)%_0x154062['length'],this[_0x2d975f(0x41e)][_0x2d975f(0x1f9)](_0xab8378,_0x4cab6c),_0x4cab6c;}}function _0x29c04d(_0x1c96b9){const _0x183718=_0xa8de06;let _0x27f0c6='';for(const _0x36aea7 of _0x1c96b9){const {startOffset:_0x3fcafe,endOffset:_0x409fdf,isActive:_0x2b9dbc,rangeType:_0x596dd6,segmentId:_0x100971,segmentPage:_0x2dc24e}=_0x36aea7;_0x27f0c6[_0x183718(0x370)]&&(_0x27f0c6+=','),_0x27f0c6+=_0x3fcafe+':'+_0x409fdf+':'+(_0x2b9dbc?'1':'0')+':'+_0x596dd6+':'+_0x100971+':'+_0x2dc24e;}return _0x27f0c6;}function _0x14ab96(_0x133036){const _0x3c504a=_0xa8de06,_0x450ed0=_0x133036['split'](','),_0x1f8a64=[];for(const _0x41232c of _0x450ed0){const [_0x183772,_0x4a4dcf,_0x561a9a,_0x569a0f,_0x2f06f4,_0x2738be]=_0x41232c[_0x3c504a(0x451)](':');_0x1f8a64[_0x3c504a(0x392)]({'startOffset':Number(_0x183772),'endOffset':Number(_0x4a4dcf),'collapsed':_0x183772===_0x4a4dcf,'isActive':_0x561a9a==='1','rangeType':_0x569a0f===_0x46b8ad[_0x3c504a(0x1c1)][_0x3c504a(0x36e)]?_0x46b8ad[_0x3c504a(0x1c1)]['TEXT']:_0x46b8ad['DOC_RANGE_TYPE'][_0x3c504a(0x17d)],'segmentId':typeof _0x2f06f4==_0x3c504a(0x405)?String(_0x2f06f4):'','segmentPage':Number(_0x2738be!=null?_0x2738be:-0x1)});}return _0x1f8a64[_0x3c504a(0x32a)](_0x41ecef=>_0x41ecef[_0x3c504a(0x1cd)])||(_0x1f8a64[0x0]['isActive']=!0x0),_0x1f8a64;}class _0x3aaf60 extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(){const _0xac0a74=_0xa8de06;super(...arguments),_0xa13482(this,'_collabCursorState$',new _0x1e9e4e[(_0xac0a74(0x23c))](null)),_0xa13482(this,'collabCursorState$',this['_collabCursorState$'][_0xac0a74(0x3a7)]());}[_0xa8de06(0x227)](_0x48d6d7){const _0x2d0385=_0xa8de06,{unitID:_0x399a68,memberID:_0xdf62c5,textRanges:_0x2e6a46}=_0x48d6d7,_0x139764=_0x29c04d(_0x2e6a46);if(_0x139764==='')return;const _0x5abb0d={'unitID':_0x399a68,'memberID':_0xdf62c5,'selection':_0x139764};this[_0x2d0385(0x423)][_0x2d0385(0x2dc)](_0x5abb0d);}}var _0x11ed28=Object[_0xa8de06(0x2fb)],_0x377498=(_0x137201,_0x5a48ef,_0x33d690,_0x2304b6)=>{for(var _0x5f18ac=_0x2304b6>0x1?void 0x0:_0x2304b6?_0x11ed28(_0x5a48ef,_0x33d690):_0x5a48ef,_0x282515=_0x137201['length']-0x1,_0x36742c;_0x282515>=0x0;_0x282515--)(_0x36742c=_0x137201[_0x282515])&&(_0x5f18ac=_0x36742c(_0x5f18ac)||_0x5f18ac);return _0x5f18ac;},_0x47e373=(_0x17b91e,_0x49c03d)=>(_0x241a57,_0x41aa90)=>_0x49c03d(_0x241a57,_0x41aa90,_0x17b91e);const _0x3ea779=0x12c,_0x997ca8=0x64;let _0x337e0b=class extends _0x46b8ad['RxDisposable']{constructor(_0x365ff7,_0x3872eb,_0x5043f3,_0x3e19f6,_0x21a143,_0x268e03,_0xf12f7d,_0x8f3cca,_0x14db70){const _0x6d5f95=_0xa8de06;super(),_0xa13482(this,_0x6d5f95(0x1b3),!0x1),_0xa13482(this,'_init',!0x1),_0xa13482(this,_0x6d5f95(0x2d8),new _0x1e9e4e[(_0x6d5f95(0x23c))](new Map())),_0xa13482(this,'cursorInfo$',this[_0x6d5f95(0x2d8)]['asObservable']()),_0xa13482(this,_0x6d5f95(0x270),new _0x1e9e4e[(_0x6d5f95(0x23c))]([])),_0xa13482(this,_0x6d5f95(0x3fc),this[_0x6d5f95(0x270)][_0x6d5f95(0x2bb)](_0x1e9e4e[_0x6d5f95(0x3bd)](_0x3ea779))),_0xa13482(this,_0x6d5f95(0x2c3),_0x46b8ad[_0x6d5f95(0x244)](_0x435317=>{const _0x1f7c61=_0x6d5f95,_0x26e87e={'eventID':_0x45ac64['CollaborationEvent'][_0x1f7c61(0x26e)],'data':{'unitID':this[_0x1f7c61(0x3bf)],'memberID':this[_0x1f7c61(0x231)][_0x1f7c61(0x2d4)](),'selection':_0x29c04d(_0x435317)}};this[_0x1f7c61(0x231)][_0x1f7c61(0x43a)](_0x26e87e,this[_0x1f7c61(0x3bf)]);},_0x997ca8)),(this[_0x6d5f95(0x3bf)]=_0x365ff7,this[_0x6d5f95(0x231)]=_0x3872eb,this[_0x6d5f95(0x1e3)]=_0x5043f3,this['_colorAssignService']=_0x3e19f6,this[_0x6d5f95(0x34c)]=_0x21a143,this['_syncEditingCollabCursorService']=_0x268e03,this[_0x6d5f95(0x198)]=_0xf12f7d,this['_univerInstanceService']=_0x8f3cca,this['_commandService']=_0x14db70);}get[_0xa8de06(0x275)](){const _0x3ff4cb=_0xa8de06;return this[_0x3ff4cb(0x2d8)][_0x3ff4cb(0x3d6)]();}get[_0xa8de06(0x3fd)](){const _0x228182=_0xa8de06;return this[_0x228182(0x270)][_0x228182(0x3d6)]();}[_0xa8de06(0x208)](){const _0x4aa041=_0xa8de06;super[_0x4aa041(0x208)](),this['_cursorInfo$']['next'](new Map()),this[_0x4aa041(0x2d8)]['complete'](),this[_0x4aa041(0x270)][_0x4aa041(0x2dc)]([]),this[_0x4aa041(0x270)][_0x4aa041(0x3f2)]();}[_0xa8de06(0x38d)](){const _0x4a2175=_0xa8de06;this[_0x4a2175(0x435)]||(this[_0x4a2175(0x435)]=!0x0,this[_0x4a2175(0x231)][_0x4a2175(0x224)][_0x4a2175(0x2bb)](_0x1e9e4e[_0x4a2175(0x1cb)](this[_0x4a2175(0x37b)]))[_0x4a2175(0x2ab)](_0x4680b7=>{const _0x1d05c0=_0x4a2175;_0x4680b7===_0x3c2922['SessionStatus'][_0x1d05c0(0x32f)]?this['_toggleOnline']():this[_0x1d05c0(0x1f7)]();}),this[_0x4a2175(0x231)][_0x4a2175(0x2ae)]['pipe'](_0x1e9e4e[_0x4a2175(0x1cb)](this[_0x4a2175(0x37b)]))[_0x4a2175(0x2ab)](_0x1ae1be=>{const _0x1b3ee2=_0x4a2175,_0x251989=_0x1ae1be[_0x1b3ee2(0x34d)];_0x251989===_0x45ac64[_0x1b3ee2(0x303)][_0x1b3ee2(0x26e)]&&this[_0x1b3ee2(0x34a)](_0x1ae1be),_0x251989===_0x45ac64[_0x1b3ee2(0x303)][_0x1b3ee2(0x26c)]&&this[_0x1b3ee2(0x307)](_0x1ae1be);}),this['disposeWithMe'](this['_commandService'][_0x4a2175(0x340)](_0x2e5c25=>{const _0x4da2e8=_0x4a2175,_0x581564=_0x2e5c25[_0x4da2e8(0x267)];_0x581564!=null&&this[_0x4da2e8(0x1b3)]&&_0x2e5c25['id']===_0x137448[_0x4da2e8(0x242)]['id']&&_0x581564['unitId']===this['unitID']&&_0x581564[_0x4da2e8(0x346)]===!0x1&&_0x581564[_0x4da2e8(0x1f5)][_0x4da2e8(0x370)]>0x0&&this[_0x4da2e8(0x2c3)](_0x581564[_0x4da2e8(0x1f5)]);})),this[_0x4a2175(0x228)][_0x4a2175(0x385)]['pipe'](_0x1e9e4e[_0x4a2175(0x1cb)](this['dispose$']))['subscribe'](_0x2354ee=>{const _0x466e08=_0x4a2175;if((_0x2354ee==null?void 0x0:_0x2354ee[_0x466e08(0x3bf)])!==this['unitID'])return;const _0x4305d6={'eventID':_0x45ac64[_0x466e08(0x303)][_0x466e08(0x26e)],'data':_0x2354ee};this[_0x466e08(0x34a)](_0x4305d6);}),this[_0x4a2175(0x418)](this[_0x4a2175(0x197)][_0x4a2175(0x340)](_0x57b615=>{const _0x1a6b03=_0x4a2175;if(_0x57b615[_0x1a6b03(0x267)]==null)return;const _0x26872d=_0x57b615['params'];if(_0x57b615['id']!==_0x137448['RichTextEditingMutation']['id']||_0x26872d[_0x1a6b03(0x319)]!==this['unitID'])return;const _0x41999f={'id':_0x1a6b03(0x35e),'params':_0x26872d},_0x4cceca=this[_0x1a6b03(0x275)];for(const [_0x2c0f3e,_0xf0c4a3]of _0x4cceca){const _0x2863e0={'id':_0x1a6b03(0x35e),'params':{'unitId':this[_0x1a6b03(0x3bf)],'actions':null,'textRanges':_0xf0c4a3['ranges']}},_0x1a9b3e=this['_transformService'][_0x1a6b03(0x3e3)](_0x41999f,_0x2863e0,!0x1);if(_0x45ac64[_0x1a6b03(0x20a)](_0x1a9b3e))throw _0x1a9b3e['error'];_0x4cceca[_0x1a6b03(0x1f9)](_0x2c0f3e,{..._0xf0c4a3,'ranges':_0x1a9b3e[_0x1a6b03(0x421)][_0x1a6b03(0x267)]['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4cceca);});})));}['_onCursorUpdate'](_0x50f39b){const _0x2ffc23=_0xa8de06;var _0x30a0ab,_0x214e40;const {memberID:_0x2faf62,selection:_0x5454de}=_0x50f39b[_0x2ffc23(0x257)],_0x2d65be=_0x14ab96(_0x5454de),_0x32977b=(_0x214e40=(_0x30a0ab=this[_0x2ffc23(0x34c)][_0x2ffc23(0x22a)](this[_0x2ffc23(0x3bf)],_0x2faf62))==null?void 0x0:_0x30a0ab[_0x2ffc23(0x272)])!=null?_0x214e40:'Unknown\x20user',_0x3b2ad0={'color':this[_0x2ffc23(0x1d9)][_0x2ffc23(0x181)](_0x2faf62),'name':_0x32977b,'ranges':_0x2d65be},_0x210b78=this['cursorInfo'];_0x210b78[_0x2ffc23(0x1f9)](_0x2faf62,_0x3b2ad0),this[_0x2ffc23(0x2d8)][_0x2ffc23(0x2dc)](_0x210b78);}[_0xa8de06(0x307)](_0xc6443){const _0x36097c=_0xa8de06,{memberID:_0x2e99a1}=_0xc6443[_0x36097c(0x257)],_0xf4dc27=this[_0x36097c(0x275)];_0xf4dc27['delete'](_0x2e99a1),this[_0x36097c(0x2d8)][_0x36097c(0x2dc)](_0xf4dc27);}[_0xa8de06(0x415)](){const _0x32f55d=_0xa8de06;var _0x5981ba;if(this['_online']=!0x0,((_0x5981ba=this[_0x32f55d(0x274)][_0x32f55d(0x21f)]())==null?void 0x0:_0x5981ba['getUnitId']())!==this[_0x32f55d(0x3bf)])return;const _0xdedd2b=this[_0x32f55d(0x1e3)][_0x32f55d(0x3ca)](_0x137448[_0x32f55d(0x338)])[_0x32f55d(0x3cf)]();Array[_0x32f55d(0x30b)](_0xdedd2b)&&_0xdedd2b['length']>0x0&&this['_updateLocalCursor'](_0xdedd2b);}['_toggleOffline'](){const _0x420ca5=_0xa8de06;this[_0x420ca5(0x1b3)]=!0x1;}};_0x337e0b=_0x377498([_0x47e373(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x364)])),_0x47e373(0x3,_0x46b8ad[_0xa8de06(0x20b)](_0x7dd548)),_0x47e373(0x4,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922[_0xa8de06(0x18e)])),_0x47e373(0x5,_0x46b8ad[_0xa8de06(0x20b)](_0x3aaf60)),_0x47e373(0x6,_0x45ac64[_0xa8de06(0x40a)]),_0x47e373(0x7,_0x46b8ad[_0xa8de06(0x21b)]),_0x47e373(0x8,_0x46b8ad['ICommandService'])],_0x337e0b);var _0x3268e4=Object[_0xa8de06(0x2fb)],_0x118ce0=(_0x2aa8c2,_0x20d388,_0x3ec45f,_0x4807a)=>{for(var _0x3e6622=_0x4807a>0x1?void 0x0:_0x4807a?_0x3268e4(_0x20d388,_0x3ec45f):_0x20d388,_0xa5c902=_0x2aa8c2['length']-0x1,_0x267f71;_0xa5c902>=0x0;_0xa5c902--)(_0x267f71=_0x2aa8c2[_0xa5c902])&&(_0x3e6622=_0x267f71(_0x3e6622)||_0x3e6622);return _0x3e6622;},_0x5915ae=(_0x3872b4,_0x50232b)=>(_0x25bbec,_0x436faf)=>_0x50232b(_0x25bbec,_0x436faf,_0x3872b4);const _0x5ea361=0x12c,_0x3a59b4=0x64,_0xb1203a=()=>{let _0x287c6a=[],_0x3b7e4d=!0x1;return _0x463661=>{const _0x334ac1=_0x21d5;_0x287c6a[_0x334ac1(0x392)](_0x463661),_0x3b7e4d||(_0x3b7e4d=!0x0,setTimeout(()=>{_0x287c6a['forEach'](_0x20bbe5=>_0x20bbe5()),_0x287c6a=[],_0x3b7e4d=!0x1;}));};};let _0x5ca679=class extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(_0x49a342,_0x3d1b1d,_0x106bb5,_0x3c68cc,_0xf898eb,_0x1abee4,_0x2d5a4c,_0x1c3426){const _0x58a63d=_0xa8de06;super(),_0xa13482(this,_0x58a63d(0x1b3),!0x1),_0xa13482(this,_0x58a63d(0x435),!0x1),_0xa13482(this,_0x58a63d(0x2d8),new _0x1e9e4e[(_0x58a63d(0x23c))](new Map())),_0xa13482(this,'cursorInfo$',this[_0x58a63d(0x2d8)][_0x58a63d(0x3a7)]()),_0xa13482(this,_0x58a63d(0x270),new _0x1e9e4e[(_0x58a63d(0x23c))]([])),_0xa13482(this,'roomMembers$',this[_0x58a63d(0x270)][_0x58a63d(0x2bb)](_0x1e9e4e['debounceTime'](_0x5ea361))),_0xa13482(this,_0x58a63d(0x2c3),_0x46b8ad[_0x58a63d(0x244)]((_0x47f566,_0x59cdeb)=>{const _0x752ac6=_0x58a63d,_0x5e5e55={'eventID':_0x45ac64[_0x752ac6(0x303)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x752ac6(0x3bf)],'memberID':this['_session'][_0x752ac6(0x2d4)](),'selection':_0x21c000['serializeRangeWithSheet'](_0x47f566,_0x59cdeb[_0x752ac6(0x2f6)])}};this[_0x752ac6(0x231)]['send'](_0x5e5e55,this['unitID']);},_0x3a59b4)),(this[_0x58a63d(0x3bf)]=_0x49a342,this['_session']=_0x3d1b1d,this[_0x58a63d(0x1e3)]=_0x106bb5,this[_0x58a63d(0x1d9)]=_0x3c68cc,this['_memberService']=_0xf898eb,this[_0x58a63d(0x274)]=_0x1abee4,this['_commandService']=_0x2d5a4c,this['_refRangeService']=_0x1c3426);}get['cursorInfo'](){const _0x2ba5b5=_0xa8de06;return this[_0x2ba5b5(0x2d8)][_0x2ba5b5(0x3d6)]();}get[_0xa8de06(0x3fd)](){const _0x112251=_0xa8de06;return this[_0x112251(0x270)][_0x112251(0x3d6)]();}['dispose'](){const _0x11502b=_0xa8de06;super[_0x11502b(0x208)](),this[_0x11502b(0x2d8)][_0x11502b(0x2dc)](new Map()),this[_0x11502b(0x2d8)][_0x11502b(0x3f2)](),this[_0x11502b(0x270)][_0x11502b(0x2dc)]([]),this[_0x11502b(0x270)]['complete']();}['init'](){const _0x215d93=_0xa8de06;this[_0x215d93(0x435)]||(this[_0x215d93(0x435)]=!0x0,this['_session']['sessionStatus$'][_0x215d93(0x2bb)](_0x1e9e4e[_0x215d93(0x1cb)](this[_0x215d93(0x37b)]))['subscribe'](_0x21b7e7=>{const _0x145d31=_0x215d93;_0x21b7e7===_0x3c2922[_0x145d31(0x210)]['ONLINE']?this[_0x145d31(0x415)]():this[_0x145d31(0x1f7)]();}),this[_0x215d93(0x231)][_0x215d93(0x2ae)]['pipe'](_0x1e9e4e[_0x215d93(0x1cb)](this[_0x215d93(0x37b)]))[_0x215d93(0x2ab)](_0x10f4c2=>{const _0x205925=_0x215d93,_0x409776=_0x10f4c2['eventID'];_0x409776===_0x45ac64[_0x205925(0x303)][_0x205925(0x26e)]&&this[_0x205925(0x34a)](_0x10f4c2),_0x409776===_0x45ac64['CollaborationEvent'][_0x205925(0x26c)]&&this[_0x205925(0x307)](_0x10f4c2);}),this[_0x215d93(0x3f0)](),this['disposeWithMe'](this[_0x215d93(0x197)][_0x215d93(0x340)](_0x5aaee6=>{const _0x481ae4=_0x215d93;if(this['_online']&&_0x5aaee6['id']===_0x13171a['SetSelectionsOperation']['id']&&_0x5aaee6[_0x481ae4(0x267)][_0x481ae4(0x319)]===this[_0x481ae4(0x3bf)]){const _0x2f5cc3=_0x5aaee6[_0x481ae4(0x267)];this[_0x481ae4(0x2c3)](_0x2f5cc3['subUnitId'],_0x2f5cc3[_0x481ae4(0x24f)][0x0]);}})));}[_0xa8de06(0x34a)](_0xc9ef8c){const _0xba027b=_0xa8de06;var _0x53dba7,_0x4c9f3d;const {memberID:_0x15ceea,selection:_0x223b04}=_0xc9ef8c['data'],{sheetName:_0x3d24bf,range:_0x1130dd}=_0x21c000[_0xba027b(0x400)](_0x223b04),_0x55ca4d={'name':(_0x4c9f3d=(_0x53dba7=this[_0xba027b(0x34c)][_0xba027b(0x22a)](this[_0xba027b(0x3bf)],_0x15ceea))==null?void 0x0:_0x53dba7[_0xba027b(0x272)])!=null?_0x4c9f3d:_0xba027b(0x31c),'range':this[_0xba027b(0x327)](_0x3d24bf,_0x1130dd),'sheetID':_0x3d24bf,'color':this['_colorAssignService'][_0xba027b(0x181)](_0x15ceea),'selection':_0x223b04},_0x3295d5=this[_0xba027b(0x275)];_0x3295d5[_0xba027b(0x1f9)](_0x15ceea,_0x55ca4d),this[_0xba027b(0x2d8)][_0xba027b(0x2dc)](_0x3295d5);}[_0xa8de06(0x307)](_0x3a3cd7){const _0x433062=_0xa8de06,{memberID:_0x5efd1f}=_0x3a3cd7['data'],_0x489fb8=this[_0x433062(0x275)];_0x489fb8[_0x433062(0x31e)](_0x5efd1f),this[_0x433062(0x2d8)][_0x433062(0x2dc)](_0x489fb8);}[_0xa8de06(0x327)](_0x40c84b,_0x4fae78){const _0x1ab17a=_0xa8de06;var _0x4f719f,_0x4a7eaf;const _0x402748=(_0x4a7eaf=(_0x4f719f=this[_0x1ab17a(0x274)][_0x1ab17a(0x1ed)](this[_0x1ab17a(0x3bf)]))==null?void 0x0:_0x4f719f['getSheetBySheetId'](_0x40c84b))==null?void 0x0:_0x4a7eaf['getMergeData']();return(_0x402748==null?void 0x0:_0x402748['find'](_0x21d231=>_0x46b8ad['Rectangle'][_0x1ab17a(0x19b)](_0x21d231,_0x4fae78)))||_0x4fae78;}[_0xa8de06(0x3f0)](){const _0x4a2452=_0xa8de06,_0x3de0df=new _0x46b8ad[(_0x4a2452(0x35a))](),_0x23d4a2=_0xb1203a(),_0x172347=()=>{const _0x53e6df=_0x4a2452;_0x3de0df[_0x53e6df(0x208)]();const _0x5e63e6=(_0x5ec076,_0x4f6316,_0x478d9b,_0x125e25)=>{const _0x31d19d=_0x53e6df;let _0x40914b=[];switch(_0x5ec076['id']){case _0x13171a[_0x31d19d(0x41c)][_0x31d19d(0x25a)]:{_0x40914b=_0x13171a['handleDeleteRangeMoveLeft'](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)][_0x31d19d(0x2cc)]:{_0x40914b=_0x13171a[_0x31d19d(0x3c2)](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)]['InsertColCommandId']:{_0x40914b=_0x13171a['handleInsertCol'](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)][_0x31d19d(0x2d0)]:{_0x40914b=_0x13171a[_0x31d19d(0x312)](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)][_0x31d19d(0x27f)]:{_0x40914b=_0x13171a[_0x31d19d(0x1c9)](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)]['InsertRowCommandId']:{_0x40914b=_0x13171a[_0x31d19d(0x1ce)](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)][_0x31d19d(0x424)]:{_0x40914b=_0x13171a[_0x31d19d(0x3a1)](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)]['RemoveColCommandId']:{_0x40914b=_0x13171a[_0x31d19d(0x35b)](_0x5ec076,_0x125e25);break;}case _0x13171a[_0x31d19d(0x41c)]['RemoveRowCommandId']:{_0x40914b=_0x13171a[_0x31d19d(0x202)](_0x5ec076,_0x125e25);break;}}const _0x312cb0=_0x13171a['runRefRangeMutations'](_0x40914b,_0x125e25),_0x1b00a3=this[_0x31d19d(0x275)][_0x31d19d(0x3ca)](_0x4f6316);if(_0x1b00a3&&_0x312cb0){const _0x24fe7b={..._0x1b00a3,'range':_0x312cb0};this[_0x31d19d(0x275)][_0x31d19d(0x1f9)](_0x4f6316,_0x24fe7b),_0x23d4a2(()=>{const _0x437bf4=_0x31d19d,_0x35e630=this['_refRangeService'][_0x437bf4(0x336)](_0x312cb0,_0xf872b4=>(_0x35e630[_0x437bf4(0x208)](),_0x5e63e6(_0xf872b4,_0x4f6316,_0x478d9b,_0x312cb0)));_0x3de0df['add'](_0x35e630);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x53e6df(0x2bf)]((_0x42b7d7,_0x4fc752)=>{const _0x43a467=_0x53e6df,{range:_0x4b7100,sheetID:_0xe2b321}=_0x42b7d7,_0x4ae40c=this[_0x43a467(0x403)][_0x43a467(0x336)](_0x4b7100,_0x34a991=>(_0x4ae40c[_0x43a467(0x208)](),_0x5e63e6(_0x34a991,_0x4fc752,_0xe2b321,_0x4b7100)));_0x3de0df[_0x43a467(0x24b)](_0x4ae40c);});};this[_0x4a2452(0x418)](_0x46b8ad[_0x4a2452(0x3e9)](this[_0x4a2452(0x2d8)][_0x4a2452(0x2ab)](()=>{_0x172347();})));}[_0xa8de06(0x415)](){const _0x522fa4=_0xa8de06;var _0x142a15,_0x45a211;if(this[_0x522fa4(0x1b3)]=!0x0,((_0x142a15=this[_0x522fa4(0x274)][_0x522fa4(0x21f)]())==null?void 0x0:_0x142a15[_0x522fa4(0x3e8)]())!==this[_0x522fa4(0x3bf)])return;const _0x373a50=(_0x45a211=this[_0x522fa4(0x1e3)][_0x522fa4(0x3ca)](_0x13171a[_0x522fa4(0x17f)])[_0x522fa4(0x29a)]())==null?void 0x0:_0x45a211[0x0],_0x55576f=this[_0x522fa4(0x274)][_0x522fa4(0x395)](_0x46b8ad['UniverInstanceType'][_0x522fa4(0x27a)])[_0x522fa4(0x39b)]();_0x373a50&&_0x55576f&&this[_0x522fa4(0x2c3)](_0x55576f[_0x522fa4(0x32d)](),_0x373a50);}['_toggleOffline'](){const _0x492331=_0xa8de06;this[_0x492331(0x1b3)]=!0x1;}};_0x5ca679=_0x118ce0([_0x5915ae(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x364)])),_0x5915ae(0x3,_0x46b8ad[_0xa8de06(0x20b)](_0x7dd548)),_0x5915ae(0x4,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922[_0xa8de06(0x18e)])),_0x5915ae(0x5,_0x46b8ad[_0xa8de06(0x21b)]),_0x5915ae(0x6,_0x46b8ad[_0xa8de06(0x21d)]),_0x5915ae(0x7,_0x46b8ad['Inject'](_0x13171a['RefRangeService']))],_0x5ca679);var _0x15a083=Object['getOwnPropertyDescriptor'],_0xdbb88b=(_0x58010b,_0x43bb1e,_0x6aee9d,_0x3f2705)=>{const _0x459999=_0xa8de06;for(var _0xaba552=_0x3f2705>0x1?void 0x0:_0x3f2705?_0x15a083(_0x43bb1e,_0x6aee9d):_0x43bb1e,_0x3d8d62=_0x58010b[_0x459999(0x370)]-0x1,_0x16ef33;_0x3d8d62>=0x0;_0x3d8d62--)(_0x16ef33=_0x58010b[_0x3d8d62])&&(_0xaba552=_0x16ef33(_0xaba552)||_0xaba552);return _0xaba552;},_0x2ed48f=(_0xdf0610,_0x35313c)=>(_0x26a09f,_0x327ca0)=>_0x35313c(_0x26a09f,_0x327ca0,_0xdf0610);let _0x12c067=class extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(_0x14a0c3,_0x204179,_0x2df166){const _0x25a825=_0xa8de06;super(),_0xa13482(this,_0x25a825(0x291),new Map()),_0xa13482(this,_0x25a825(0x22f),new _0x1e9e4e[(_0x25a825(0x446))]()),(this[_0x25a825(0x274)]=_0x14a0c3,this[_0x25a825(0x1e3)]=_0x204179,this[_0x25a825(0x3ad)]=_0x2df166,this[_0x25a825(0x435)]());}[_0xa8de06(0x208)](){const _0x2e20bd=_0xa8de06;super[_0x2e20bd(0x208)](),this[_0x2e20bd(0x22f)]['complete'](),this['_entities'][_0x2e20bd(0x2bf)](_0x27ba7f=>_0x27ba7f[_0x2e20bd(0x208)]());}['getCollabCursors$'](_0x39a407){const _0x84692b=_0xa8de06;return this[_0x84692b(0x291)]['has'](_0x39a407)?this['_entities'][_0x84692b(0x3ca)](_0x39a407)['cursorInfo$']:this['_entityInit$'][_0x84692b(0x2bb)](_0x1e9e4e['filter'](_0x2bc5d6=>_0x2bc5d6[_0x84692b(0x3bf)]===_0x39a407),_0x1e9e4e[_0x84692b(0x2c0)](_0x1ac9bb=>_0x1ac9bb[_0x84692b(0x2d6)]));}[_0xa8de06(0x435)](){const _0x393a98=_0xa8de06;this[_0x393a98(0x274)][_0x393a98(0x40b)](_0x46b8ad['UniverInstanceType']['UNIVER_SHEET'])[_0x393a98(0x2bb)](_0x1e9e4e[_0x393a98(0x1cb)](this['dispose$']))[_0x393a98(0x2ab)](async _0x20caf4=>{const _0x20ae2c=_0x393a98,_0x3ffb56=_0x20caf4['getUnitId'](),_0x4508ab=await this[_0x20ae2c(0x17c)](_0x3ffb56);this[_0x20ae2c(0x22f)][_0x20ae2c(0x2dc)](_0x4508ab),this[_0x20ae2c(0x291)][_0x20ae2c(0x1f9)](_0x3ffb56,_0x4508ab);}),this[_0x393a98(0x274)][_0x393a98(0x40b)](_0x46b8ad[_0x393a98(0x193)][_0x393a98(0x40e)])[_0x393a98(0x2bb)](_0x1e9e4e[_0x393a98(0x1cb)](this['dispose$']))[_0x393a98(0x2bb)](_0x1e9e4e[_0x393a98(0x3e0)](_0x47e4f8=>!_0x47e4f8[_0x393a98(0x3e8)]()['startsWith']('__')))['subscribe'](async _0x160cce=>{const _0x4e9c8e=_0x393a98,_0x5cb704=_0x160cce[_0x4e9c8e(0x3e8)](),_0x6c94d3=await this[_0x4e9c8e(0x43d)](_0x5cb704);this[_0x4e9c8e(0x22f)][_0x4e9c8e(0x2dc)](_0x6c94d3),this[_0x4e9c8e(0x291)]['set'](_0x5cb704,_0x6c94d3);}),_0x1e9e4e[_0x393a98(0x428)](this[_0x393a98(0x274)]['getTypeOfUnitDisposed$'](_0x46b8ad[_0x393a98(0x193)]['UNIVER_DOC']),this[_0x393a98(0x274)]['getTypeOfUnitDisposed$'](_0x46b8ad[_0x393a98(0x193)][_0x393a98(0x27a)]))[_0x393a98(0x2bb)](_0x1e9e4e[_0x393a98(0x1cb)](this[_0x393a98(0x37b)]))[_0x393a98(0x2ab)](_0x7ef48b=>{const _0x3f73a3=_0x393a98,_0x3dd6b2=_0x7ef48b[_0x3f73a3(0x3e8)](),_0x4d449a=this[_0x3f73a3(0x291)][_0x3f73a3(0x3ca)](_0x3dd6b2);_0x4d449a&&(_0x4d449a[_0x3f73a3(0x208)](),this[_0x3f73a3(0x291)][_0x3f73a3(0x31e)](_0x3dd6b2));});}async[_0xa8de06(0x17c)](_0x55f78b){const _0xb172a9=_0xa8de06,_0x2855ef=await this[_0xb172a9(0x3ad)][_0xb172a9(0x301)](_0x55f78b),_0x147d0b=this[_0xb172a9(0x1e3)][_0xb172a9(0x1b5)](_0x5ca679,_0x55f78b,_0x2855ef);return _0x147d0b['init'](),_0x147d0b;}async[_0xa8de06(0x43d)](_0x3c4909){const _0x30aede=_0xa8de06,_0x328e9d=await this['_collabSessionService'][_0x30aede(0x301)](_0x3c4909),_0x17bd84=this[_0x30aede(0x1e3)]['createInstance'](_0x337e0b,_0x3c4909,_0x328e9d);return _0x17bd84[_0x30aede(0x38d)](),_0x17bd84;}};_0x12c067=_0xdbb88b([_0x2ed48f(0x0,_0x46b8ad[_0xa8de06(0x21b)]),_0x2ed48f(0x1,_0x46b8ad['Inject'](_0x46b8ad[_0xa8de06(0x364)])),_0x2ed48f(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922[_0xa8de06(0x2f1)]))],_0x12c067);const _0x45fd3f=0x14,_0x59b4c5=0xc8,_0x4ddb50=0x4,_0x49f70d=0x5;function _0x5ef410(_0x524749,_0x2dc56e){const _0x5ab598=_0xa8de06;let {radius:_0xee49ce,width:_0x17216f,height:_0x33008d}=_0x2dc56e;_0xee49ce=_0xee49ce!=null?_0xee49ce:0x0,_0x17216f=_0x17216f!=null?_0x17216f:0x1e,_0x33008d=_0x33008d!=null?_0x33008d:0x1e;let _0x5cc6eb=0x0,_0x3af5fd=0x0,_0x2fbdff=0x0;_0x5cc6eb=_0x3af5fd=_0x2fbdff=Math[_0x5ab598(0x1ef)](_0xee49ce,_0x17216f/0x2,_0x33008d/0x2),_0x524749[_0x5ab598(0x315)](),_0x524749[_0x5ab598(0x3d3)](_0x5cc6eb,0x0),_0x524749[_0x5ab598(0x1b6)](_0x17216f-_0x3af5fd,0x0),_0x524749[_0x5ab598(0x469)](_0x17216f-_0x3af5fd,_0x3af5fd,_0x3af5fd,Math['PI']*0x3/0x2,0x0,!0x1),_0x524749[_0x5ab598(0x1b6)](_0x17216f,_0x33008d-_0x2fbdff),_0x524749[_0x5ab598(0x469)](_0x17216f-_0x2fbdff,_0x33008d-_0x2fbdff,_0x2fbdff,0x0,Math['PI']/0x2,!0x1),_0x524749['lineTo'](0x0,_0x33008d),_0x524749['lineTo'](0x0,_0x5cc6eb),_0x524749[_0x5ab598(0x469)](_0x5cc6eb,_0x5cc6eb,_0x5cc6eb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x524749[_0x5ab598(0x458)](),_0x2dc56e[_0x5ab598(0x419)]&&(_0x524749[_0x5ab598(0x20d)](),_0x524749['fillStyle']=_0x2dc56e[_0x5ab598(0x419)],_0x2dc56e[_0x5ab598(0x1d7)]==='evenodd'?_0x524749[_0x5ab598(0x419)](_0x5ab598(0x3ef)):_0x524749[_0x5ab598(0x419)](),_0x524749[_0x5ab598(0x29d)]());}class _0x271a4b extends _0x432809[_0xa8de06(0x2a1)]{constructor(_0x4def48,_0x482c03){const _0x4da07=_0xa8de06;super(_0x4def48,_0x482c03),_0xa13482(this,_0x4da07(0x25d)),_0xa13482(this,_0x4da07(0x2a9)),(this[_0x4da07(0x25d)]=_0x482c03==null?void 0x0:_0x482c03[_0x4da07(0x25d)],this[_0x4da07(0x2a9)]=_0x482c03==null?void 0x0:_0x482c03['text']);}static['drawWith'](_0x5ca131,_0x7bca95){const _0x3bef3a=_0xa8de06,{text:_0x3759f0,color:_0xf9a5}=_0x7bca95;_0x5ca131[_0x3bef3a(0x20d)](),_0x5ca131[_0x3bef3a(0x200)]=_0x3bef3a(0x24a);const _0x59e3f5=_0x5ca131[_0x3bef3a(0x1a1)](_0x3759f0)[_0x3bef3a(0x3e1)],_0x2efaa7=Math['min'](_0x59e3f5+0x2*_0x4ddb50,_0x59b4c5);_0x5ef410(_0x5ca131,{'height':_0x45fd3f,'radius':0x4,'width':_0x2efaa7,'fill':_0xf9a5}),_0x5ca131[_0x3bef3a(0x1cc)]='#FFF';const _0x53f301=_0x4ddb50,_0x11aeb7=_0x45fd3f-_0x49f70d,_0x2e15af=_0x59b4c5-0x2*_0x4ddb50;if(_0x59e3f5>_0x2e15af){let _0xb038d0='',_0x45ada2=0x0;for(const _0x1f4bea of _0x3759f0){const _0xa47736=_0x5ca131[_0x3bef3a(0x1a1)](_0x1f4bea)[_0x3bef3a(0x3e1)];if(_0x45ada2+_0xa47736<=_0x2e15af-_0x5ca131[_0x3bef3a(0x1a1)](_0x3bef3a(0x2df))[_0x3bef3a(0x3e1)])_0xb038d0+=_0x1f4bea,_0x45ada2+=_0xa47736;else{_0xb038d0+=_0x3bef3a(0x2df);break;}}_0x5ca131['fillText'](_0xb038d0,_0x53f301,_0x11aeb7);}else _0x5ca131[_0x3bef3a(0x426)](_0x3759f0,_0x53f301,_0x11aeb7);_0x5ca131[_0x3bef3a(0x29d)]();}['_draw'](_0x1c980d){const _0x31a962=_0xa8de06;_0x271a4b[_0x31a962(0x2b0)](_0x1c980d,this);}}const _0x199faf=_0xa8de06(0x348),_0x51711b=_0xa8de06(0x3b6),_0x4180cd='collab-rect-range-',_0x54b3b5=0x6,_0x254df7=1.5,_0x53ac26=0x4,_0x24d902=1.5,_0x29ffed=_0xa8de06(0x29f);class _0x12931a{constructor(_0x24f525,_0x59359a,_0x5e267f,_0x5833d6){const _0x1c48ab=_0xa8de06;_0xa13482(this,_0x1c48ab(0x289),[]),_0xa13482(this,_0x1c48ab(0x3a0),null),_0xa13482(this,'_textBubble',null),_0xa13482(this,_0x1c48ab(0x1b1),null),_0xa13482(this,_0x1c48ab(0x1aa),null),_0xa13482(this,'_eventUnsubscribe',null),(this[_0x1c48ab(0x30d)]=_0x24f525,this[_0x1c48ab(0x30f)]=_0x59359a,this[_0x1c48ab(0x353)]=_0x5e267f,this['_document']=_0x5833d6,this[_0x1c48ab(0x21a)]());}set[_0xa8de06(0x456)](_0x5f452a){const _0x4d4eeb=_0xa8de06;_0x5f452a?(this[_0x4d4eeb(0x1b1)]&&this[_0x4d4eeb(0x1b1)][_0x4d4eeb(0x2b8)](),this[_0x4d4eeb(0x3dc)]&&this['_textBubble'][_0x4d4eeb(0x2e7)]()):(this['_anchorDot']&&this[_0x4d4eeb(0x1b1)][_0x4d4eeb(0x2e7)](),this[_0x4d4eeb(0x3dc)]&&this[_0x4d4eeb(0x3dc)]['hide']());}[_0xa8de06(0x208)](){const _0x3664f5=_0xa8de06;for(const _0x132328 of this[_0x3664f5(0x289)])_0x132328[_0x3664f5(0x208)]();this[_0x3664f5(0x3dc)]&&this['_textBubble']['dispose'](),this[_0x3664f5(0x1b1)]&&this['_anchorDot']['dispose'](),this[_0x3664f5(0x3a0)]&&this[_0x3664f5(0x3a0)][_0x3664f5(0x208)](),this[_0x3664f5(0x28f)]&&this[_0x3664f5(0x28f)]();}[_0xa8de06(0x21a)](){const _0x50f23e=_0xa8de06;var _0xe99d24;const {_docSkeleton:_0x38c22a,_document:_0x38b065}=this,{color:_0x5d30d0,name:_0x511e83,ranges:_0x4385f0}=this[_0x50f23e(0x30d)],_0x41da4c=_0x38b065[_0x50f23e(0x40c)](),{docsLeft:_0x3ae4ea,docsTop:_0x178229}=_0x41da4c,_0x33f3e8=new _0x25822b[(_0x50f23e(0x2ca))](_0x41da4c,_0x38c22a);for(const {startOffset:_0x76bb31,endOffset:_0x1f83b8,rangeType:_0xff74e2,segmentId:_0x142714,segmentPage:_0x4a9993,collapsed:_0x4acc4e,isActive:_0x18bea6}of _0x4385f0){const _0x4eff53=_0x38c22a[_0x50f23e(0x273)](_0x76bb31,!0x0,_0x142714,_0x4a9993);let _0x203fbe=_0x38c22a[_0x50f23e(0x273)](_0x1f83b8,!0x0,_0x142714,_0x4a9993);if(_0x203fbe==null&&(_0x203fbe=_0x38c22a[_0x50f23e(0x273)](_0x1f83b8-0x1,!0x1,_0x142714,_0x4a9993)),_0x18bea6){const {contentBoxPointGroup:_0x1fb9c0}=_0x33f3e8[_0x50f23e(0x180)](_0x203fbe,_0x203fbe);if(_0x1fb9c0[_0x50f23e(0x370)]===0x0)continue;this['_drawAnchor'](_0x5d30d0,_0x1fb9c0,_0x3ae4ea,_0x178229,_0x511e83),this[_0x50f23e(0x28f)]=this[_0x50f23e(0x199)]();}if(_0x4eff53&&_0x203fbe){if(_0xff74e2===_0x46b8ad[_0x50f23e(0x1c1)][_0x50f23e(0x17d)]){const _0x2aa443=new _0x25822b[(_0x50f23e(0x1f0))](_0x41da4c,_0x38c22a),{pointGroup:_0xbe769}=(_0xe99d24=_0x2aa443[_0x50f23e(0x180)](_0x4eff53,_0x203fbe))!=null?_0xe99d24:{};if(_0xbe769==null||_0xbe769['length']===0x0)continue;this[_0x50f23e(0x264)](_0x5d30d0,_0xbe769,_0x3ae4ea,_0x178229);}else{if(!_0x4acc4e){const {borderBoxPointGroup:_0x3aee9f}=_0x33f3e8['getRangePointData'](_0x4eff53,_0x203fbe);if(_0x3aee9f['length']===0x0)continue;this[_0x50f23e(0x3ba)](_0x5d30d0,_0x3aee9f,_0x3ae4ea,_0x178229);}}}}}[_0xa8de06(0x311)](_0x50f7c5,_0x2fd92a,_0x4bb80d,_0xc3d24b,_0x4a7fc6){const _0x420aff=_0xa8de06,_0xb76069=this[_0x420aff(0x2d3)](_0x2fd92a),{left:_0x244bf3,top:_0x5abaf8,height:_0x3c53ac}=_0xb76069,_0x5a4301=this[_0x420aff(0x416)](),_0x585b18=_0x24d902/_0x5a4301,_0x46f44c=new _0x432809[(_0x420aff(0x212))](_0x199faf+_0x46b8ad[_0x420aff(0x2cb)](_0x54b3b5),{'left':_0x244bf3+_0x4bb80d-_0x585b18,'top':_0x5abaf8+_0xc3d24b,'height':_0x3c53ac,'width':_0x254df7,'fill':_0x50f7c5||_0x432809[_0x420aff(0x1c7)](_0x46b8ad[_0x420aff(0x432)][_0x420aff(0x457)],0x0),'strokeWidth':_0x585b18,'stroke':_0x29ffed,'evented':!0x0});this[_0x420aff(0x3a0)]=_0x46f44c,this['_scene'][_0x420aff(0x240)](_0x46f44c,_0x25822b['TEXT_RANGE_LAYER_INDEX']);const _0x9a66de=new _0x432809[(_0x420aff(0x212))](_0x199faf+_0x46b8ad['generateRandomId'](_0x54b3b5),{'left':_0x244bf3+_0x4bb80d-_0x585b18,'top':_0x5abaf8+_0xc3d24b-_0x53ac26/0x2,'height':_0x53ac26,'width':_0x53ac26,'fill':_0x50f7c5||_0x432809[_0x420aff(0x1c7)](_0x46b8ad[_0x420aff(0x432)][_0x420aff(0x457)],0x0),'strokeWidth':0x0,'stroke':_0x50f7c5||_0x432809[_0x420aff(0x1c7)](_0x46b8ad[_0x420aff(0x432)][_0x420aff(0x457)],0x0),'evented':!0x1});this['_anchorDot']=_0x9a66de,this[_0x420aff(0x30f)][_0x420aff(0x240)](_0x9a66de,_0x25822b[_0x420aff(0x1ac)]);const _0x388c3a=new _0x271a4b(_0x199faf+_0x46b8ad[_0x420aff(0x2cb)](_0x54b3b5),{'left':_0x244bf3+_0x4bb80d-_0x585b18,'top':_0x5abaf8+_0xc3d24b-_0x45fd3f,'text':_0x4a7fc6,'color':_0x50f7c5});this[_0x420aff(0x3dc)]=_0x388c3a,this[_0x420aff(0x30f)][_0x420aff(0x240)](_0x388c3a,_0x25822b[_0x420aff(0x1ac)]),this['_hover']=!0x1;}[_0xa8de06(0x199)](){const _0x2dede8=_0xa8de06,_0x56e615=this['_anchor'][_0x2dede8(0x29e)][_0x2dede8(0x204)](()=>{const _0x12a9ec=_0x2dede8;this[_0x12a9ec(0x456)]=!0x0;}),_0x1b3e4f=this[_0x2dede8(0x3a0)][_0x2dede8(0x3df)][_0x2dede8(0x204)](()=>{const _0x5c84a4=_0x2dede8;this[_0x5c84a4(0x1aa)]&&clearTimeout(this['_hideTimer']),this[_0x5c84a4(0x1aa)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3bb0cb=_0x2dede8;_0x56e615[_0x3bb0cb(0x24d)](),_0x1b3e4f['unsubscribe']();};}[_0xa8de06(0x3ba)](_0x522846,_0x550cd7,_0x2c8a2c,_0xf3f3ee){const _0x3db24f=_0xa8de06,_0x4a8d31=new _0x46b8ad[(_0x3db24f(0x1e8))](_0x522846)[_0x3db24f(0x3b9)](0.2)[_0x3db24f(0x28a)](),_0x228e9f=new _0x432809['RegularPolygon'](_0x51711b+_0x46b8ad['generateRandomId'](_0x54b3b5),{'pointsGroup':_0x550cd7,'fill':_0x4a8d31||_0x432809[_0x3db24f(0x1c7)](_0x46b8ad[_0x3db24f(0x432)][_0x3db24f(0x457)],0.2),'left':_0x2c8a2c,'top':_0xf3f3ee,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3db24f(0x289)][_0x3db24f(0x392)](_0x228e9f),this[_0x3db24f(0x30f)][_0x3db24f(0x240)](_0x228e9f,_0x25822b['TEXT_RANGE_LAYER_INDEX']);}[_0xa8de06(0x264)](_0x22359e,_0x1ef89d,_0x180a13,_0x5f258e){const _0x271802=_0xa8de06,_0x1db6a6=new _0x46b8ad[(_0x271802(0x1e8))](_0x22359e)[_0x271802(0x3b9)](0.2)[_0x271802(0x28a)](),_0x1c3e0b=new _0x432809['RegularPolygon'](_0x4180cd+_0x46b8ad[_0x271802(0x2cb)](_0x54b3b5),{'pointsGroup':_0x1ef89d,'fill':_0x1db6a6||_0x432809[_0x271802(0x1c7)](_0x46b8ad[_0x271802(0x432)][_0x271802(0x457)],0.2),'left':_0x180a13,'top':_0x5f258e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x271802(0x289)][_0x271802(0x392)](_0x1c3e0b),this[_0x271802(0x30f)][_0x271802(0x240)](_0x1c3e0b,_0x25822b[_0x271802(0x1ac)]);}[_0xa8de06(0x2d3)](_0x45969c){const _0x2b231b=_0x45969c[0x0],_0x488772=_0x2b231b[0x0],_0x4b46aa=_0x2b231b[0x2],{x:_0x37af95,y:_0x59c4a0}=_0x488772,{x:_0x586b86,y:_0x2d5cd6}=_0x4b46aa;return{'left':_0x37af95,'top':_0x59c4a0,'width':_0x586b86-_0x37af95,'height':_0x2d5cd6-_0x59c4a0};}[_0xa8de06(0x416)](){const _0x59ca07=_0xa8de06,{scaleX:_0x4369e5,scaleY:_0x5044c3}=this[_0x59ca07(0x30f)][_0x59ca07(0x44c)]();return Math[_0x59ca07(0x20f)](_0x4369e5,_0x5044c3);}}var _0xd2ea27=Object[_0xa8de06(0x2fb)],_0x1aeda4=(_0x4a395b,_0x1c0f77,_0x1ac1c8,_0x417c6b)=>{const _0x1e6e00=_0xa8de06;for(var _0x387f1e=_0x417c6b>0x1?void 0x0:_0x417c6b?_0xd2ea27(_0x1c0f77,_0x1ac1c8):_0x1c0f77,_0x3e4fb5=_0x4a395b[_0x1e6e00(0x370)]-0x1,_0x4111d0;_0x3e4fb5>=0x0;_0x3e4fb5--)(_0x4111d0=_0x4a395b[_0x3e4fb5])&&(_0x387f1e=_0x4111d0(_0x387f1e)||_0x387f1e);return _0x387f1e;},_0x4a351c=(_0x535c23,_0x382c79)=>(_0x588850,_0x3ab7bb)=>_0x382c79(_0x588850,_0x3ab7bb,_0x535c23);let _0x442bb0=class extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(_0x8f4592,_0x2cd274,_0x26732e,_0x40e9ff,_0x4c67fe){const _0x389f89=_0xa8de06;super(),_0xa13482(this,_0x389f89(0x41f),[]),_0xa13482(this,_0x389f89(0x412),[]),(this[_0x389f89(0x363)]=_0x8f4592,this[_0x389f89(0x2db)]=_0x2cd274,this[_0x389f89(0x440)]=_0x26732e,this[_0x389f89(0x197)]=_0x40e9ff,this[_0x389f89(0x2b6)]=_0x4c67fe,this[_0x389f89(0x435)]());}[_0xa8de06(0x435)](){const _0x119a4f=_0xa8de06,_0x9892da=this['_context']['unitId'],_0x57b1d1=this['_docSkeletonManagerService'];this[_0x119a4f(0x418)](_0x1e9e4e[_0x119a4f(0x3c3)]([this[_0x119a4f(0x440)][_0x119a4f(0x2bd)](_0x9892da),this[_0x119a4f(0x2b6)][_0x119a4f(0x394)]])['pipe'](_0xb836bd[_0x119a4f(0x3c9)](([_0x33eae2,_0x4e36e3])=>({'skeleton':_0x57b1d1[_0x119a4f(0x442)](),'cursors':[..._0x33eae2[_0x119a4f(0x2ec)]()]['flatMap'](_0x512e90=>({..._0x512e90,'color':this['_themeService'][_0x119a4f(0x431)](_0x512e90[_0x119a4f(0x25d)])}))})))['subscribe'](_0x4a62ea=>{const _0x3cebb5=_0x119a4f;if(this['_removeCollabCursors'](),_0x4a62ea){const {skeleton:_0x451278,cursors:_0x24431b}=_0x4a62ea;this[_0x3cebb5(0x1de)](_0x451278,_0x24431b);}})),this[_0x119a4f(0x2b2)](),this[_0x119a4f(0x433)]();}[_0xa8de06(0x1de)](_0x1bcaf6,_0x1e2325){const _0x49b93c=_0xa8de06,{scene:_0x4b2a5b,mainComponent:_0x44ed0c}=this[_0x49b93c(0x363)],_0x394906=_0x1e2325[_0x49b93c(0x3c9)](_0x5821f6=>new _0x12931a(_0x5821f6,_0x4b2a5b,_0x1bcaf6,_0x44ed0c));this['_cursorShapes']=_0x394906,this['_cursors']=_0x1e2325;}[_0xa8de06(0x3b1)](){const _0xee72be=_0xa8de06;this['_removeCollabCursors']();const {scene:_0x1d3d4b,mainComponent:_0x3b9838}=this[_0xee72be(0x363)],_0x3562de=this[_0xee72be(0x2db)][_0xee72be(0x442)](),_0x9d2bc3=this[_0xee72be(0x412)][_0xee72be(0x3c9)](_0x5d6fc6=>new _0x12931a(_0x5d6fc6,_0x1d3d4b,_0x3562de,_0x3b9838));this[_0xee72be(0x41f)]=_0x9d2bc3;}[_0xa8de06(0x3d2)](){const _0x234b64=_0xa8de06;this[_0x234b64(0x41f)][_0x234b64(0x2bf)](_0x40058a=>_0x40058a[_0x234b64(0x208)]()),this[_0x234b64(0x41f)]=[];}[_0xa8de06(0x433)](){const _0x5bd126=_0xa8de06,_0x579367=[_0x25822b[_0x5bd126(0x276)]['id']];this[_0x5bd126(0x418)](this[_0x5bd126(0x197)][_0x5bd126(0x340)](_0x33892a=>{const _0x184805=_0x5bd126;_0x579367[_0x184805(0x361)](_0x33892a['id'])&&_0x33892a[_0x184805(0x267)]['unitId']===this[_0x184805(0x363)][_0x184805(0x319)]&&this['_refreshCollabCursors']();}));}[_0xa8de06(0x2b2)](){const _0x1c1c0a=_0xa8de06;this[_0x1c1c0a(0x418)](_0x46b8ad[_0x1c1c0a(0x316)](this[_0x1c1c0a(0x363)]['engine'][_0x1c1c0a(0x1e1)])[_0x1c1c0a(0x2bb)](_0xb836bd[_0x1c1c0a(0x3e0)](_0x4e7d3e=>_0x4e7d3e[_0x1c1c0a(0x288)]===_0x432809['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x1c1c0a(0x401)]),_0xb836bd[_0x1c1c0a(0x3b5)](0x10))['subscribe'](()=>{const _0x2fc11d=_0x1c1c0a;this[_0x2fc11d(0x3b1)]();}));}};_0x442bb0=_0x1aeda4([_0x4a351c(0x1,_0x46b8ad[_0xa8de06(0x20b)](_0x137448['DocSkeletonManagerService'])),_0x4a351c(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x12c067)),_0x4a351c(0x3,_0x46b8ad[_0xa8de06(0x21d)]),_0x4a351c(0x4,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad['ThemeService']))],_0x442bb0);const _0x9dcf46=0x1,_0x2e667a=1.5;class _0x160fa0 extends _0x432809[_0xa8de06(0x2a1)]{constructor(_0x279175,_0x1707db){const _0x5a7fcd=_0xa8de06;super(_0x279175,_0x1707db),_0xa13482(this,_0x5a7fcd(0x2e2)),_0xa13482(this,_0x5a7fcd(0x3cc),!0x1),_0xa13482(this,_0x5a7fcd(0x278)),_0xa13482(this,_0x5a7fcd(0x221),''),_0xa13482(this,_0x5a7fcd(0x3f3),_0x5a7fcd(0x2b1)),_0xa13482(this,_0x5a7fcd(0x1f2)),(_0x1707db&&this[_0x5a7fcd(0x2b7)](_0x1707db),this[_0x5a7fcd(0x29e)][_0x5a7fcd(0x204)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5a7fcd(0x3df)][_0x5a7fcd(0x204)](()=>this[_0x5a7fcd(0x2b7)]({'hovered':!0x1})));}[_0xa8de06(0x2b7)](_0x92d835){const _0x39c14e=_0xa8de06;var _0x6f1d69,_0x4bdb18,_0x57d2a0,_0xa71aff,_0x2cc8c5,_0x56b376;this[_0x39c14e(0x2e2)]=(_0x6f1d69=_0x92d835[_0x39c14e(0x25d)])!=null?_0x6f1d69:this[_0x39c14e(0x2e2)],this[_0x39c14e(0x3cc)]=(_0x4bdb18=_0x92d835[_0x39c14e(0x211)])!=null?_0x4bdb18:this[_0x39c14e(0x3cc)],this[_0x39c14e(0x278)]=(_0x57d2a0=_0x92d835[_0x39c14e(0x2f6)])!=null?_0x57d2a0:this[_0x39c14e(0x278)],this[_0x39c14e(0x221)]=(_0xa71aff=_0x92d835['name'])!=null?_0xa71aff:this[_0x39c14e(0x221)],this[_0x39c14e(0x3f3)]=(_0x2cc8c5=_0x92d835[_0x39c14e(0x2a2)])!=null?_0x2cc8c5:this['_labelPosition'],this[_0x39c14e(0x1f2)]=(_0x56b376=_0x92d835[_0x39c14e(0x3da)])!=null?_0x56b376:this[_0x39c14e(0x1f2)],this['transformByState']({'width':_0x92d835[_0x39c14e(0x3e1)],'height':_0x92d835[_0x39c14e(0x22c)]});}['onMouseMove'](_0x381bf9){const _0x10994a=_0xa8de06,{row:_0x4ebcba,column:_0x23e5f3}=_0x381bf9;if(_0x4ebcba>=this['_range']['startRow']&&_0x4ebcba<=this[_0x10994a(0x278)][_0x10994a(0x284)]&&_0x23e5f3>=this[_0x10994a(0x278)][_0x10994a(0x2d5)]&&_0x23e5f3<=this[_0x10994a(0x278)][_0x10994a(0x230)]){this[_0x10994a(0x2b7)]({'hovered':!0x0});return;}this[_0x10994a(0x2b7)]({'hovered':!0x1});}['triggerDblclick'](_0x2fa8cf){return!0x1;}[_0xa8de06(0x282)](_0x3e82ac){const _0x391bf5=_0xa8de06;_0x432809[_0x391bf5(0x212)][_0x391bf5(0x2b0)](_0x3e82ac,{'width':this[_0x391bf5(0x3e1)],'height':this[_0x391bf5(0x22c)],'strokeWidth':_0x2e667a,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x391bf5(0x1f2)]}),this[_0x391bf5(0x3cc)]&&(_0x3e82ac[_0x391bf5(0x20d)](),_0x3e82ac[_0x391bf5(0x19a)](0x1,0x0,0x0,0x1,this[_0x391bf5(0x3e1)],this[_0x391bf5(0x3f3)]==='bottom'?0x0:-_0x45fd3f),_0x271a4b[_0x391bf5(0x2b0)](_0x3e82ac,{'text':this['_name'],'color':this['_color']}),_0x3e82ac['restore']());}}var _0x2dd4d1=Object['getOwnPropertyDescriptor'],_0x39ca15=(_0x30b63e,_0x322fb6,_0xc1e405,_0x28e2c8)=>{const _0x1e56c9=_0xa8de06;for(var _0x326cca=_0x28e2c8>0x1?void 0x0:_0x28e2c8?_0x2dd4d1(_0x322fb6,_0xc1e405):_0x322fb6,_0x562570=_0x30b63e[_0x1e56c9(0x370)]-0x1,_0x2f7e5f;_0x562570>=0x0;_0x562570--)(_0x2f7e5f=_0x30b63e[_0x562570])&&(_0x326cca=_0x2f7e5f(_0x326cca)||_0x326cca);return _0x326cca;},_0x1f73f4=(_0x569b13,_0x25306a)=>(_0x66ce18,_0x3d5973)=>_0x25306a(_0x66ce18,_0x3d5973,_0x569b13);const _0x2ec12c=0x1389;let _0x2b7c36=class extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(_0x57c5c9,_0xb682c4,_0x12bf6d,_0x462027){const _0x520f9f=_0xa8de06;super(),_0xa13482(this,_0x520f9f(0x412),new Set()),_0xa13482(this,_0x520f9f(0x229),null),(this[_0x520f9f(0x363)]=_0x57c5c9,this['_sheetSkeletonManagerService']=_0xb682c4,this[_0x520f9f(0x440)]=_0x12bf6d,this[_0x520f9f(0x2b6)]=_0x462027,this[_0x520f9f(0x435)]());}[_0xa8de06(0x435)](){const _0x5e54f0=_0xa8de06;this[_0x5e54f0(0x365)][_0x5e54f0(0x44a)]['pipe'](_0xb836bd['takeUntil'](this[_0x5e54f0(0x37b)]),_0xb836bd[_0x5e54f0(0x2c0)](_0xd4deb0=>{const _0x2502d6=_0x5e54f0;if(_0xd4deb0){const _0x14386a=_0xd4deb0[_0x2502d6(0x335)];return _0x1e9e4e[_0x2502d6(0x3c3)](this[_0x2502d6(0x440)]['getCollabCursors$'](this[_0x2502d6(0x363)][_0x2502d6(0x319)]),this[_0x2502d6(0x2b6)][_0x2502d6(0x394)])[_0x2502d6(0x2bb)](_0xb836bd[_0x2502d6(0x3c9)](([_0x46b598,_0x4f9abf])=>{const _0x3af4bb=_0x2502d6,_0x2380ad=new Map();return _0x46b598[_0x3af4bb(0x2bf)]((_0xd2dcec,_0x249171)=>{const _0x557ab1=_0x3af4bb;if(_0xd2dcec[_0x557ab1(0x226)]===_0x14386a){const _0x4ed544={..._0xd2dcec};_0x4ed544[_0x557ab1(0x25d)]=this[_0x557ab1(0x2b6)]['getColorFromTheme'](_0xd2dcec['color']),_0x2380ad[_0x557ab1(0x1f9)](_0x249171,_0x4ed544);}}),{'skeleton':_0xd4deb0,'cursors':_0x2380ad};}));}return _0x1e9e4e['of']({'skeleton':null,'cursors':new Map()});}))[_0x5e54f0(0x2ab)](({skeleton:_0x53f5db,cursors:_0x1678e5})=>{const _0x15a56c=_0x5e54f0;this['_removeCollabCursors'](),_0x53f5db&&this[_0x15a56c(0x1de)](_0x53f5db,_0x1678e5);}),this[_0x5e54f0(0x365)][_0x5e54f0(0x44a)]['subscribe'](_0x3f7b59=>{const _0x1272af=_0x5e54f0;if(_0x3f7b59==null)return;const {skeleton:_0x1d59f7}=_0x3f7b59,{scene:_0x4d1f3c}=this[_0x1272af(0x363)];_0x4d1f3c[_0x1272af(0x216)][_0x1272af(0x204)](_0x46b8ad[_0x1272af(0x244)](_0x518bdf=>{const _0x25ec7d=_0x1272af;var _0xfe75a8,_0x341fe8;const {offsetX:_0x4d79a2,offsetY:_0x471665}=_0x518bdf,{x:_0x1116bc,y:_0x531a84}=_0x4d1f3c[_0x25ec7d(0x2f8)](_0x432809['Vector2'][_0x25ec7d(0x2d1)]([_0x4d79a2,_0x471665])),{scaleX:_0x2f7403,scaleY:_0xcd4795}=_0x4d1f3c[_0x25ec7d(0x44c)](),_0x2acb7e=_0x4d1f3c['getViewport'](_0x432809['SHEET_VIEWPORT_KEY'][_0x25ec7d(0x3ee)]),_0x36f90b=_0x4d1f3c['getVpScrollXYInfoByPosToVp'](_0x432809['Vector2'][_0x25ec7d(0x2d1)]([_0x1116bc,_0x531a84]),_0x2acb7e),_0x2fd3d0=_0x1d59f7['getCellPositionByOffset'](_0x4d79a2,_0x471665,_0x2f7403,_0xcd4795,_0x36f90b);((_0xfe75a8=this['_lastPointer'])==null?void 0x0:_0xfe75a8[_0x25ec7d(0x277)])===_0x2fd3d0['column']&&((_0x341fe8=this[_0x25ec7d(0x229)])==null?void 0x0:_0x341fe8[_0x25ec7d(0x306)])===_0x2fd3d0['row']||this[_0x25ec7d(0x412)][_0x25ec7d(0x2bf)](_0x3097b3=>{const _0x49c240=_0x25ec7d;_0x3097b3[_0x49c240(0x300)](_0x2fd3d0);});},0x64));});}[_0xa8de06(0x1de)](_0x2b2aad,_0x361011){const _0x269201=_0xa8de06;var _0x3eeb7f;const _0x29c5ca=(_0x3eeb7f=this[_0x269201(0x365)][_0x269201(0x465)]())==null?void 0x0:_0x3eeb7f[_0x269201(0x3dd)];if(!_0x29c5ca)return;const _0x47a9b3=this[_0x269201(0x355)]();if(!_0x47a9b3)return;this['_cursors'][_0x269201(0x2bf)](_0x1aac0b=>{const _0x1c676a=_0x269201;_0x1aac0b[_0x1c676a(0x32e)]();});const {scene:_0xfc796e}=_0x47a9b3,_0x178de2=_0x53a530(Array[_0x269201(0x38e)](_0x361011[_0x269201(0x2ec)]()))[_0x269201(0x3c9)](_0x33c1ba=>{const _0x312da5=_0x269201,{color:_0x157a09,range:_0x56b983,name:_0x2fb7f2,selection:_0x3d3ba3,sheetID:_0xa72319}=_0x33c1ba,{startColumn:_0x3024ef,startRow:_0x22254d,endColumn:_0x282e92,endRow:_0x3ed974}=_0x56b983,_0x52e180=_0x33fa1b[_0x312da5(0x30c)](_0x22254d,_0x3024ef,_0xfc796e,_0x29c5ca),_0xbc3977=_0x33fa1b['getCoordByCell'](_0x3ed974,_0x282e92,_0xfc796e,_0x29c5ca),{columnHeaderHeightAndMarginTop:_0x19fd97}=_0x29c5ca,{startX:_0x338457,startY:_0x142f05}=_0x52e180,{endX:_0xa1ff05,endY:_0x18b30a}=_0xbc3977,_0x23102d=_0xa1ff05-_0x338457,_0x3f03a5=_0x18b30a-_0x142f05,_0x483d2a={'labelPosition':_0x142f05-_0x19fd97>=_0x45fd3f?_0x312da5(0x2b1):_0x312da5(0x359),'sheetID':_0xa72319,'range':_0x56b983,'color':_0x157a09,'name':_0x2fb7f2,'selection':_0x3d3ba3,'left':_0x338457,'top':_0x142f05,'width':_0x23102d,'height':_0x3f03a5,'evented':!0x1,'zIndex':_0x2ec12c};return new _0x160fa0(_0x2fb7f2,_0x483d2a);});_0xfc796e[_0x269201(0x425)](_0x178de2,_0x9dcf46),this[_0x269201(0x412)]=new Set(_0x178de2);}['_removeCollabCursors'](){const _0x306eaf=_0xa8de06;var _0x5a5782;(_0x5a5782=this[_0x306eaf(0x412)])==null||_0x5a5782[_0x306eaf(0x2bf)](_0xf1ab7=>_0xf1ab7[_0x306eaf(0x208)]());}['_getSheetObject'](){const _0x1f54bd=_0xa8de06;return _0x33fa1b[_0x1f54bd(0x1e6)](this[_0x1f54bd(0x363)][_0x1f54bd(0x398)],this[_0x1f54bd(0x363)]);}};_0x2b7c36=_0x39ca15([_0x1f73f4(0x1,_0x46b8ad['Inject'](_0x33fa1b[_0xa8de06(0x36c)])),_0x1f73f4(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x12c067)),_0x1f73f4(0x3,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x188)]))],_0x2b7c36);function _0x53a530(_0xdf798e){const _0x1082f4=_0xa8de06,_0x26728f=new Map();return _0xdf798e[_0x1082f4(0x2bf)](_0x4419e8=>{const _0x36a9e6=_0x1082f4;if(_0x26728f['has'](_0x4419e8[_0x36a9e6(0x25e)])){const _0x20a853=_0x26728f[_0x36a9e6(0x3ca)](_0x4419e8[_0x36a9e6(0x25e)]);_0x20a853[_0x36a9e6(0x272)]+=',\x20'+_0x4419e8[_0x36a9e6(0x272)];}else _0x26728f[_0x36a9e6(0x1f9)](_0x4419e8[_0x36a9e6(0x25e)],_0x4419e8);}),Array[_0x1082f4(0x38e)](_0x26728f['values']());}var _0x55034c=Object[_0xa8de06(0x2fb)],_0x3d0e0b=(_0x4d5f41,_0x393721,_0x27b514,_0x356b7c)=>{const _0x236bd3=_0xa8de06;for(var _0x24153f=_0x356b7c>0x1?void 0x0:_0x356b7c?_0x55034c(_0x393721,_0x27b514):_0x393721,_0xe3ed85=_0x4d5f41[_0x236bd3(0x370)]-0x1,_0x6b5b4a;_0xe3ed85>=0x0;_0xe3ed85--)(_0x6b5b4a=_0x4d5f41[_0xe3ed85])&&(_0x24153f=_0x6b5b4a(_0x24153f)||_0x24153f);return _0x24153f;},_0x44630b=(_0x3a8f6b,_0x34a874)=>(_0x597595,_0xda7e7f)=>_0x34a874(_0x597595,_0xda7e7f,_0x3a8f6b);let _0x479b7f=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0x3555fc,_0x541bd2,_0x5f2ba9,_0x5509cd,_0x2bfd59,_0x1f8671){const _0x277d9b=_0xa8de06;super(),this[_0x277d9b(0x219)]=_0x3555fc,this['_localCacheService']=_0x541bd2,this[_0x277d9b(0x225)]=_0x5f2ba9,this[_0x277d9b(0x1c8)]=_0x5509cd,this[_0x277d9b(0x1a7)]=_0x2bfd59,this[_0x277d9b(0x1a8)]=_0x1f8671,this[_0x277d9b(0x29c)](),this[_0x277d9b(0x1a5)]();}[_0xa8de06(0x29c)](){const _0x59d261=_0xa8de06;this[_0x59d261(0x418)](this[_0x59d261(0x219)][_0x59d261(0x25f)](()=>{const _0x38ac00=_0x59d261;if(this['_localCacheService']['saveTaskMap'][_0x38ac00(0x396)])return this[_0x38ac00(0x1a8)]['t']('collaboration.offline-data-not-saved');}));}[_0xa8de06(0x1a5)](){const _0xd77993=_0xa8de06;this[_0xd77993(0x418)](this[_0xd77993(0x225)][_0xd77993(0x2ae)]['subscribe'](_0x269a17=>{const _0x5628f2=_0xd77993;_0x269a17['id']===_0x3c2922[_0x5628f2(0x38a)][_0x5628f2(0x376)]&&this[_0x5628f2(0x1c8)][_0x5628f2(0x2e7)]({'type':_0x2472b7[_0x5628f2(0x1e4)][_0x5628f2(0x32c)],'content':this[_0x5628f2(0x1a8)]['t'](_0x5628f2(0x321))}),_0x269a17['id']===_0x3c2922[_0x5628f2(0x38a)][_0x5628f2(0x362)]&&this[_0x5628f2(0x1c8)][_0x5628f2(0x2e7)]({'type':_0x2472b7[_0x5628f2(0x1e4)][_0x5628f2(0x32c)],'content':this[_0x5628f2(0x1a8)]['t'](_0x5628f2(0x339))}),_0x269a17['id']===_0x3c2922['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x5628f2(0x1a7)][_0x5628f2(0x2e7)]({'title':this[_0x5628f2(0x1a8)]['t'](_0x5628f2(0x2c7)),'content':this[_0x5628f2(0x1a8)]['t']('permission.content'),'type':_0x5628f2(0x2fe),'duration':0x0}),_0x269a17['id']===_0x3c2922[_0x5628f2(0x38a)][_0x5628f2(0x24e)]&&this['_messageService'][_0x5628f2(0x2e7)]({'type':_0x2472b7['MessageType'][_0x5628f2(0x349)],'content':this['_localeService']['t'](_0x5628f2(0x339))+'('+_0x269a17[_0x5628f2(0x257)]+')'}),_0x269a17['id']===_0x3c2922['CollaborationUIEventId'][_0x5628f2(0x232)]&&this['_messageService'][_0x5628f2(0x2e7)]({'type':_0x2472b7['MessageType'][_0x5628f2(0x32c)],'content':this[_0x5628f2(0x1a8)]['t'](_0x269a17[_0x5628f2(0x257)]||'')}),_0x269a17['id']===_0x3c2922['CollaborationUIEventId'][_0x5628f2(0x3cb)]&&this['_messageService'][_0x5628f2(0x2e7)]({'type':_0x2472b7[_0x5628f2(0x1e4)][_0x5628f2(0x32c)],'content':this['_localeService']['t'](_0x5628f2(0x2a4))}),_0x269a17['id']===_0x3c2922['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x5628f2(0x1c8)][_0x5628f2(0x2e7)]({'type':_0x2472b7[_0x5628f2(0x1e4)]['Error'],'content':this[_0x5628f2(0x1a8)]['t'](_0x5628f2(0x2a8))}),_0x269a17['id']===_0x3c2922[_0x5628f2(0x38a)][_0x5628f2(0x39d)]&&this['_messageService'][_0x5628f2(0x2e7)]({'type':_0x2472b7[_0x5628f2(0x1e4)][_0x5628f2(0x349)],'content':this[_0x5628f2(0x1a8)]['t'](_0x5628f2(0x461))});}));}};_0x479b7f=_0x3d0e0b([_0x44630b(0x0,_0x1188a4[_0xa8de06(0x3b2)]),_0x44630b(0x1,_0x3c2922['ILocalCacheService']),_0x44630b(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922[_0xa8de06(0x268)])),_0x44630b(0x3,_0x1188a4['IMessageService']),_0x44630b(0x4,_0x1188a4['INotificationService']),_0x44630b(0x5,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x1ba)]))],_0x479b7f);var _0x2d156b=Object[_0xa8de06(0x2fb)],_0x5eb1a3=(_0x4ada85,_0x2cf04c,_0x224df8,_0x4352bf)=>{const _0x5dd8f6=_0xa8de06;for(var _0x377bc5=_0x4352bf>0x1?void 0x0:_0x4352bf?_0x2d156b(_0x2cf04c,_0x224df8):_0x2cf04c,_0x316b3f=_0x4ada85[_0x5dd8f6(0x370)]-0x1,_0x9a276e;_0x316b3f>=0x0;_0x316b3f--)(_0x9a276e=_0x4ada85[_0x316b3f])&&(_0x377bc5=_0x9a276e(_0x377bc5)||_0x377bc5);return _0x377bc5;},_0x3af25d=(_0x154db2,_0x195a35)=>(_0x5218d5,_0x1d8509)=>_0x195a35(_0x5218d5,_0x1d8509,_0x154db2);let _0x3a6d5b=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0x47e68d,_0x40e3b1,_0x46f460,_0x1877b2){const _0x191384=_0xa8de06;super(),_0xa13482(this,'_memberID'),(this[_0x191384(0x1e3)]=_0x47e68d,this['_httpService']=_0x40e3b1,this[_0x191384(0x2ce)]=_0x46f460,this[_0x191384(0x377)]=_0x1877b2,this[_0x191384(0x435)]());}[_0xa8de06(0x435)](){const _0x4ed419=_0xa8de06;this[_0x4ed419(0x255)](),this['_initUnhandledRejectionListener'](),this[_0x4ed419(0x18a)](),this[_0x4ed419(0x344)]();}[_0xa8de06(0x344)](){const _0x45850d=_0xa8de06;this[_0x45850d(0x418)](this['_collaborationSessionService'][_0x45850d(0x3eb)][_0x45850d(0x2ab)](_0x4b0a37=>{const _0x4e2e09=_0x45850d;this[_0x4e2e09(0x357)]=_0x4b0a37==null?void 0x0:_0x4b0a37[_0x4e2e09(0x443)];}));}[_0xa8de06(0x255)](){const _0x364355=_0xa8de06,_0x53e10d=_0x5725b2=>{const _0x27301d=_0x21d5;var _0x29b70e;this['_uploadLog']('error',_0x27301d(0x2f2)+_0x5725b2[_0x27301d(0x32b)]+'\x20at\x20'+_0x5725b2['filename']+':'+_0x5725b2[_0x27301d(0x420)]+':'+_0x5725b2[_0x27301d(0x343)]+'\x0a'+(((_0x29b70e=_0x5725b2[_0x27301d(0x2fe)])==null?void 0x0:_0x29b70e[_0x27301d(0x246)])||''));};window[_0x364355(0x45c)](_0x364355(0x2fe),_0x53e10d),this[_0x364355(0x418)](()=>{const _0x1baa5c=_0x364355;window[_0x1baa5c(0x309)](_0x1baa5c(0x2fe),_0x53e10d);});}[_0xa8de06(0x3ce)](){const _0x27d75e=_0xa8de06,_0x149243=_0x46ac38=>{const _0x4d045d=_0x21d5;this[_0x4d045d(0x384)](_0x4d045d(0x2fe),'[Unhandled\x20Rejection]:\x20'+_0x46ac38[_0x4d045d(0x3a6)]);};window[_0x27d75e(0x45c)](_0x27d75e(0x23e),_0x149243),this[_0x27d75e(0x418)](()=>{const _0x4638c5=_0x27d75e;window[_0x4638c5(0x309)](_0x4638c5(0x23e),_0x149243);});}[_0xa8de06(0x18a)](){const _0x371f94=_0xa8de06,_0x2ac881=this['_logService']['error'][_0x371f94(0x194)](this[_0x371f94(0x2ce)]);this[_0x371f94(0x2ce)]['error']=(..._0x1eb5c3)=>{const _0x1f7e2b=_0x371f94,_0x298bf9=_0x1eb5c3[_0x1f7e2b(0x3c9)](_0x276bbd=>_0x276bbd instanceof Error?_0x276bbd[_0x1f7e2b(0x32b)]+'\x0a'+_0x276bbd['stack']:String(_0x276bbd))[_0x1f7e2b(0x23d)]('\x20');this[_0x1f7e2b(0x384)](_0x1f7e2b(0x2fe),_0x1f7e2b(0x3b4)+_0x298bf9),_0x2ac881(..._0x1eb5c3);},this[_0x371f94(0x418)](()=>{const _0x401c81=_0x371f94;this[_0x401c81(0x2ce)]['error']=_0x2ac881;});}[_0xa8de06(0x384)](_0x2dc026,_0x24b8a3){const _0x16e4ea=_0xa8de06;try{const _0x539076={'userId':this[_0x16e4ea(0x357)],'logLabel':_0x2dc026,'content':_0x24b8a3};this['_httpService']['post'](_0x16e4ea(0x1d2),{'body':_0x539076})[_0x16e4ea(0x2fd)](()=>{});}catch{}}};_0x3a6d5b=_0x5eb1a3([_0x3af25d(0x0,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x364)])),_0x3af25d(0x1,_0x46b8ad[_0xa8de06(0x20b)](_0x3f1a6a['HTTPService'])),_0x3af25d(0x2,_0x46b8ad[_0xa8de06(0x25c)]),_0x3af25d(0x3,_0x46b8ad['Inject'](_0x3c2922[_0xa8de06(0x2f1)]))],_0x3a6d5b);const _0x25687d=_0xa8de06(0x382),_0x2b2758={};var _0x11a285=Object['getOwnPropertyDescriptor'],_0x477a56=(_0x5223a5,_0x1d3a15,_0x1a2808,_0x3ad457)=>{const _0x4aaaf7=_0xa8de06;for(var _0x16316b=_0x3ad457>0x1?void 0x0:_0x3ad457?_0x11a285(_0x1d3a15,_0x1a2808):_0x1d3a15,_0xd6fa26=_0x5223a5[_0x4aaaf7(0x370)]-0x1,_0x29175f;_0xd6fa26>=0x0;_0xd6fa26--)(_0x29175f=_0x5223a5[_0xd6fa26])&&(_0x16316b=_0x29175f(_0x16316b)||_0x16316b);return _0x16316b;},_0x47fc56=(_0x1ae1b6,_0x45a545)=>(_0x28b595,_0xb8d0dc)=>_0x45a545(_0x28b595,_0xb8d0dc,_0x1ae1b6);let _0x4b8f3c=class{constructor(_0x5d8d67,_0x42e0c8){const _0x137fb4=_0xa8de06;this['_transformService']=_0x5d8d67,this[_0x137fb4(0x292)]=_0x42e0c8;}['transformIMECache'](_0x51d69f){const _0x433ec8=_0xa8de06;this[_0x433ec8(0x3d5)](_0x51d69f),this[_0x433ec8(0x39a)](_0x51d69f);}[_0xa8de06(0x3f7)](_0x1a4f0e){const _0x39e7f9=_0xa8de06,{unitID:_0x51081d}=_0x1a4f0e,_0x4bc93d=this[_0x39e7f9(0x292)][_0x39e7f9(0x35c)](_0x51081d)[_0x39e7f9(0x3d0)](_0x25822b[_0x39e7f9(0x2ef)]),{redoCache:_0x13e33c}=_0x4bc93d['getUndoRedoMutationParamsCache']();if(_0x13e33c[_0x39e7f9(0x370)]===0x0)return _0x1a4f0e;let _0x463ab6=_0x46b8ad['Tools'][_0x39e7f9(0x254)](_0x1a4f0e[_0x39e7f9(0x350)][0x0]);for(let _0x23f34c=0x0;_0x23f34c<_0x13e33c['length'];_0x23f34c++){const _0xa74532={'id':_0x39e7f9(0x35e),'params':{..._0x13e33c[_0x23f34c]}},_0x700e30=this[_0x39e7f9(0x198)]['transformMutation'](_0x463ab6,_0xa74532,!0x1);if(_0x45ac64['isTransformMutationFailure'](_0x700e30))throw _0x700e30[_0x39e7f9(0x2fe)];_0x463ab6=_0x700e30[_0x39e7f9(0x21c)];}return{..._0x46b8ad[_0x39e7f9(0x408)]['deepClone'](_0x1a4f0e),'mutations':[_0x463ab6]};}[_0xa8de06(0x3d5)](_0x34b65e){const _0x52c61e=_0xa8de06,{unitID:_0x31c7be}=_0x34b65e,_0x19e272=this[_0x52c61e(0x292)]['getRenderById'](_0x31c7be)[_0x52c61e(0x3d0)](_0x25822b[_0x52c61e(0x2ef)]),{undoCache:_0x2a2041,redoCache:_0x39d4bf}=_0x19e272[_0x52c61e(0x3e7)]();if(_0x2a2041[_0x52c61e(0x370)]===0x0||_0x39d4bf[_0x52c61e(0x370)]===0x0)return;const _0x372982=[],_0x279c39=[];let _0x5a84e8=_0x46b8ad[_0x52c61e(0x408)]['deepClone'](_0x34b65e[_0x52c61e(0x350)][0x0]),_0x5c0b01=_0x46b8ad[_0x52c61e(0x408)][_0x52c61e(0x254)](_0x34b65e[_0x52c61e(0x350)][0x0]);for(let _0xd88b83=_0x2a2041['length']-0x1;_0xd88b83>=0x0;_0xd88b83--){const _0x18138e={'id':_0x52c61e(0x35e),'params':{..._0x2a2041[_0xd88b83]}},_0x294681={'id':_0x52c61e(0x35e),'params':{..._0x39d4bf[_0xd88b83]}},_0x4df8b9=this[_0x52c61e(0x198)][_0x52c61e(0x3e3)](_0x5a84e8,_0x18138e,!0x1),_0x39c402=this[_0x52c61e(0x198)][_0x52c61e(0x3e3)](_0x5c0b01,_0x294681,!0x1);if(_0x45ac64[_0x52c61e(0x20a)](_0x4df8b9))throw _0x4df8b9[_0x52c61e(0x2fe)];if(_0x45ac64[_0x52c61e(0x20a)](_0x39c402))throw _0x39c402[_0x52c61e(0x2fe)];_0x372982[_0x52c61e(0x1c2)](_0x4df8b9[_0x52c61e(0x421)]['params']),_0x279c39[_0x52c61e(0x1c2)](_0x39c402['m2Prime']['params']),_0x5a84e8=_0x4df8b9[_0x52c61e(0x21c)],_0x5c0b01=_0x39c402['m1Prime'];}_0x19e272['setUndoRedoMutationParamsCache']({'undoCache':_0x372982,'redoCache':_0x279c39});}['_transformPreviousActiveRange'](_0xec87f6){const _0x2dcdeb=_0xa8de06,{unitID:_0xf45981}=_0xec87f6,_0x20c10e=this[_0x2dcdeb(0x292)]['getRenderById'](_0xf45981)[_0x2dcdeb(0x3d0)](_0x25822b[_0x2dcdeb(0x2ef)]),_0xf67dee=_0x20c10e[_0x2dcdeb(0x44f)]();if(_0xf67dee==null)return;const _0x4fc81f=[{'id':_0x2dcdeb(0x35e),'params':{'unitId':_0xec87f6['unitID'],'actions':null,'textRanges':[_0xf67dee]}}],_0x16906e=this[_0x2dcdeb(0x198)][_0x2dcdeb(0x369)](_0xec87f6,_0x4fc81f);if(!_0x45ac64['isTransformMutationsWithChangesetSuccess'](_0x16906e))throw _0x16906e[_0x2dcdeb(0x2fe)];const _0x4330e0=_0x16906e[_0x2dcdeb(0x421)][0x0]['params']['textRanges'];Array[_0x2dcdeb(0x30b)](_0x4330e0)&&_0x4330e0['length']&&_0x20c10e[_0x2dcdeb(0x464)](_0x4330e0[0x0]);}};_0x4b8f3c=_0x477a56([_0x47fc56(0x0,_0x45ac64[_0xa8de06(0x40a)]),_0x47fc56(0x1,_0x432809['IRenderManagerService'])],_0x4b8f3c);var _0x5ca954=Object[_0xa8de06(0x2fb)],_0xf3339b=(_0x32539f,_0xd54780,_0x5ca5d5,_0x2af5c2)=>{const _0x24d574=_0xa8de06;for(var _0xdeedc0=_0x2af5c2>0x1?void 0x0:_0x2af5c2?_0x5ca954(_0xd54780,_0x5ca5d5):_0xd54780,_0x194e56=_0x32539f[_0x24d574(0x370)]-0x1,_0x438a29;_0x194e56>=0x0;_0x194e56--)(_0x438a29=_0x32539f[_0x194e56])&&(_0xdeedc0=_0x438a29(_0xdeedc0)||_0xdeedc0);return _0xdeedc0;},_0x3903e3=(_0x1cb2b4,_0x101755)=>(_0x51240a,_0x20db10)=>_0x101755(_0x51240a,_0x20db10,_0x1cb2b4);let _0x5b5dae=class{constructor(_0x42e809,_0x1368fd,_0x47eee5){const _0x1a0ccd=_0xa8de06;this[_0x1a0ccd(0x1e3)]=_0x42e809,this[_0x1a0ccd(0x198)]=_0x1368fd,this[_0x1a0ccd(0x243)]=_0x47eee5;}[_0xa8de06(0x3b8)](_0x40a809){const _0x53c5ad=_0xa8de06;this[_0x53c5ad(0x42b)](_0x40a809);}['transformRemoteChangeset'](_0x257f7f){const _0x49be3d=_0xa8de06,{unitID:_0x202c45}=_0x257f7f,{collaboration:_0x36ceac}=this[_0x49be3d(0x243)]['getStateCache'](_0x202c45);if(_0x36ceac[_0x49be3d(0x370)]===0x0)return _0x257f7f;let _0x16a7cb=_0x46b8ad['Tools'][_0x49be3d(0x254)](_0x257f7f[_0x49be3d(0x350)][0x0]);for(let _0x166766=0x0;_0x166766<_0x36ceac[_0x49be3d(0x370)];_0x166766++){const _0x4e85eb={'id':_0x49be3d(0x35e),'params':{'unitId':_0x36ceac[_0x166766][_0x49be3d(0x319)],..._0x36ceac[_0x166766][_0x49be3d(0x404)]}},_0x579ddd=this[_0x49be3d(0x198)][_0x49be3d(0x3e3)](_0x16a7cb,_0x4e85eb,!0x1);if(_0x45ac64['isTransformMutationFailure'](_0x579ddd))throw _0x579ddd[_0x49be3d(0x2fe)];_0x16a7cb=_0x579ddd[_0x49be3d(0x21c)];}return{..._0x46b8ad[_0x49be3d(0x408)][_0x49be3d(0x254)](_0x257f7f),'mutations':[_0x16a7cb]};}[_0xa8de06(0x42b)](_0x35283b){const _0xd9a00e=_0xa8de06,{unitID:_0x1d9c77}=_0x35283b,{history:_0x26e2cf,collaboration:_0x1fd595}=this[_0xd9a00e(0x243)]['getStateCache'](_0x1d9c77);if(_0x26e2cf[_0xd9a00e(0x370)]===0x0&&_0x1fd595[_0xd9a00e(0x370)]===0x0)return;const _0x16d9cc=[],_0x1860d2=[];let _0x4e20f9=_0x46b8ad['Tools']['deepClone'](_0x35283b[_0xd9a00e(0x350)][0x0]),_0x5dd5a0=_0x46b8ad['Tools'][_0xd9a00e(0x254)](_0x35283b[_0xd9a00e(0x350)][0x0]);for(let _0x54ce59=_0x26e2cf[_0xd9a00e(0x370)]-0x1;_0x54ce59>=0x0;_0x54ce59--){const _0x4a0ec7={'id':_0xd9a00e(0x35e),'params':{'unitId':_0x26e2cf[_0x54ce59][_0xd9a00e(0x319)],..._0x26e2cf[_0x54ce59][_0xd9a00e(0x1a2)]}},_0x4a0743={'id':_0xd9a00e(0x35e),'params':{'unitId':_0x26e2cf[_0x54ce59][_0xd9a00e(0x319)],..._0x26e2cf[_0x54ce59][_0xd9a00e(0x404)]}},_0x25b144=this[_0xd9a00e(0x198)][_0xd9a00e(0x3e3)](_0x4e20f9,_0x4a0ec7,!0x1),_0x253248=this['_transformService']['transformMutation'](_0x5dd5a0,_0x4a0743,!0x1);if(_0x45ac64['isTransformMutationFailure'](_0x25b144))throw _0x25b144['error'];if(_0x45ac64['isTransformMutationFailure'](_0x253248))throw _0x253248[_0xd9a00e(0x2fe)];_0x16d9cc['unshift']({..._0x26e2cf[_0x54ce59],'undoState':_0x25b144['m2Prime'][_0xd9a00e(0x267)],'redoState':_0x253248[_0xd9a00e(0x421)][_0xd9a00e(0x267)]}),_0x4e20f9=_0x25b144[_0xd9a00e(0x21c)],_0x5dd5a0=_0x253248[_0xd9a00e(0x21c)];}_0x4e20f9=_0x46b8ad[_0xd9a00e(0x408)][_0xd9a00e(0x254)](_0x35283b[_0xd9a00e(0x350)][0x0]),_0x5dd5a0=_0x46b8ad[_0xd9a00e(0x408)]['deepClone'](_0x35283b[_0xd9a00e(0x350)][0x0]);for(let _0xb3a63f=_0x1fd595['length']-0x1;_0xb3a63f>=0x0;_0xb3a63f--){const _0x314c74={'id':_0xd9a00e(0x35e),'params':{'unitId':_0x1fd595[_0xb3a63f][_0xd9a00e(0x319)],..._0x1fd595[_0xb3a63f]['undoState']}},_0x1a07ff={'id':_0xd9a00e(0x35e),'params':{'unitId':_0x1fd595[_0xb3a63f][_0xd9a00e(0x319)],..._0x1fd595[_0xb3a63f]['redoState']}},_0x2f8ba2=this['_transformService'][_0xd9a00e(0x3e3)](_0x4e20f9,_0x314c74,!0x1),_0x2dbd69=this['_transformService'][_0xd9a00e(0x3e3)](_0x5dd5a0,_0x1a07ff,!0x1);if(_0x45ac64['isTransformMutationFailure'](_0x2f8ba2))throw _0x2f8ba2[_0xd9a00e(0x2fe)];if(_0x45ac64[_0xd9a00e(0x20a)](_0x2dbd69))throw _0x2dbd69[_0xd9a00e(0x2fe)];_0x1860d2[_0xd9a00e(0x1c2)]({..._0x1fd595[_0xb3a63f],'undoState':_0x2f8ba2[_0xd9a00e(0x421)][_0xd9a00e(0x267)],'redoState':_0x2dbd69[_0xd9a00e(0x421)][_0xd9a00e(0x267)]}),_0x4e20f9=_0x2f8ba2[_0xd9a00e(0x21c)],_0x5dd5a0=_0x2dbd69[_0xd9a00e(0x21c)];}this[_0xd9a00e(0x243)][_0xd9a00e(0x42c)](_0x1d9c77,{'history':_0x16d9cc,'collaboration':_0x1860d2});}};_0x5b5dae=_0xf3339b([_0x3903e3(0x0,_0x46b8ad[_0xa8de06(0x20b)](_0x46b8ad[_0xa8de06(0x364)])),_0x3903e3(0x1,_0x45ac64['ITransformService']),_0x3903e3(0x2,_0x46b8ad[_0xa8de06(0x20b)](_0x25822b[_0xa8de06(0x265)]))],_0x5b5dae);var _0x320526=Object[_0xa8de06(0x2fb)],_0x383493=(_0x3a70d9,_0x156986,_0x514d0a,_0x23cbde)=>{const _0x5aa6ef=_0xa8de06;for(var _0x5938f1=_0x23cbde>0x1?void 0x0:_0x23cbde?_0x320526(_0x156986,_0x514d0a):_0x156986,_0x18546d=_0x3a70d9[_0x5aa6ef(0x370)]-0x1,_0x34472b;_0x18546d>=0x0;_0x18546d--)(_0x34472b=_0x3a70d9[_0x18546d])&&(_0x5938f1=_0x34472b(_0x5938f1)||_0x5938f1);return _0x5938f1;},_0x10b767=(_0x5c5172,_0x1785b1)=>(_0x269d21,_0x5bb74d)=>_0x1785b1(_0x269d21,_0x5bb74d,_0x5c5172);let _0x11d904=class{constructor(_0x21acc2,_0x5e2b96){const _0x4658df=_0xa8de06;this[_0x4658df(0x1e3)]=_0x21acc2,this[_0x4658df(0x198)]=_0x5e2b96;}[_0xa8de06(0x1f6)](_0x9be670){const _0x25cb4e=_0xa8de06;var _0x2a65ef;const _0x476430=this['_injector'][_0x25cb4e(0x3ca)](_0x137448[_0x25cb4e(0x338)]),_0x45981=(_0x2a65ef=_0x476430[_0x25cb4e(0x3cf)]())!=null?_0x2a65ef:[];if(_0x45981[_0x25cb4e(0x370)]===0x0)return;const _0x2444f1=_0x9be670[_0x25cb4e(0x3bf)],_0x5959b7=[{'id':_0x25cb4e(0x35e),'params':{'unitId':_0x2444f1,'actions':null,'textRanges':_0x45981}}],_0xa0ff3e=this[_0x25cb4e(0x198)][_0x25cb4e(0x369)](_0x9be670,_0x5959b7);if(!_0x45ac64[_0x25cb4e(0x183)](_0xa0ff3e))throw _0xa0ff3e[_0x25cb4e(0x2fe)];const _0x2e5007=_0xa0ff3e[_0x25cb4e(0x421)][0x0][_0x25cb4e(0x267)][_0x25cb4e(0x2b9)];Array[_0x25cb4e(0x30b)](_0x2e5007)&&_0x2e5007[_0x25cb4e(0x370)]&&_0x476430[_0x25cb4e(0x290)](_0x2e5007,{'unitId':_0x2444f1,'subUnitId':_0x2444f1},!0x1);}};_0x11d904=_0x383493([_0x10b767(0x0,_0x46b8ad['Inject'](_0x46b8ad[_0xa8de06(0x364)])),_0x10b767(0x1,_0x45ac64['ITransformService'])],_0x11d904);var _0x552f16=Object['getOwnPropertyDescriptor'],_0xf151e=(_0x5c28af,_0x1d740e,_0x284915,_0x585881)=>{for(var _0x2b4bcf=_0x585881>0x1?void 0x0:_0x585881?_0x552f16(_0x1d740e,_0x284915):_0x1d740e,_0x137c43=_0x5c28af['length']-0x1,_0x5c926c;_0x137c43>=0x0;_0x137c43--)(_0x5c926c=_0x5c28af[_0x137c43])&&(_0x2b4bcf=_0x5c926c(_0x2b4bcf)||_0x2b4bcf);return _0x2b4bcf;},_0x33dd7e=(_0x53c9d8,_0x2932df)=>(_0x2a5c9f,_0x48d554)=>_0x2932df(_0x2a5c9f,_0x48d554,_0x53c9d8);let _0xa12047=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0x271e27,_0x8b0615,_0x8cfc7e,_0x5e0984,_0x1f1681,_0x4a831d,_0x10aaa4,_0x227744){const _0x868e76=_0xa8de06;super(),_0xa13482(this,_0x868e76(0x314),new _0x1e9e4e[(_0x868e76(0x23c))](_0x3c2922['CollaborationStatus'][_0x868e76(0x33d)])),(this[_0x868e76(0x243)]=_0x271e27,this[_0x868e76(0x3f5)]=_0x8b0615,this[_0x868e76(0x3d8)]=_0x8cfc7e,this['_docTransformStateCacheService']=_0x5e0984,this['_docTransformSelectionsService']=_0x1f1681,this[_0x868e76(0x1a9)]=_0x4a831d,this['_messageService']=_0x10aaa4,this[_0x868e76(0x1a8)]=_0x227744,this[_0x868e76(0x380)]());}['_initEntityListener'](){const _0x29e7b3=_0xa8de06;this[_0x29e7b3(0x418)](this['_collaborationController']['entityInit$'][_0x29e7b3(0x2ab)](_0xeefe2=>{const _0x40f032=_0x29e7b3,_0x12c33b=this[_0x40f032(0x243)]['docStateChange$'][_0x40f032(0x2ab)](_0x4c3360=>{const _0x34c656=_0x40f032;if(_0x4c3360==null)return;const {unitId:_0x7d7943,redoState:_0x5490da,commandId:_0x4ee979}=_0x4c3360;if(_0x7d7943!==_0xeefe2[_0x34c656(0x3bf)])return;const _0x231327={'id':_0x4ee979,'type':_0x46b8ad[_0x34c656(0x375)][_0x34c656(0x222)],'params':{'unitId':_0x7d7943,'actions':_0x5490da[_0x34c656(0x213)],'textRanges':null}};_0xeefe2['onLocalMutation'](_0x231327);});if(_0xeefe2[_0x40f032(0x418)](_0x12c33b),_0xeefe2 instanceof _0x3c2922[_0x40f032(0x1b8)]){const _0xfdfbb={'onTransformIME':_0x23340e=>this['_docTransformIMECacheService']['transformIMECache'](_0x23340e),'onTransformState':_0x767a00=>this[_0x40f032(0x1f3)][_0x40f032(0x3b8)](_0x767a00),'onTransformSelections':_0x30d06a=>this[_0x40f032(0x1ad)][_0x40f032(0x1f6)](_0x30d06a),'onSyncEditingCollabCursor':_0x7962c9=>this[_0x40f032(0x1a9)][_0x40f032(0x227)](_0x7962c9),'onTransformRemoteChangesetByIMECache':_0x3aff9a=>this[_0x40f032(0x3d8)][_0x40f032(0x3f7)](_0x3aff9a),'onTransformRemoteChangesetByStateCache':_0x138b2a=>this[_0x40f032(0x1f3)][_0x40f032(0x3f7)](_0x138b2a)};_0xeefe2[_0x40f032(0x3d9)](_0xfdfbb);}}));}};_0xa12047=_0xf151e([_0x33dd7e(0x0,_0x46b8ad[_0xa8de06(0x20b)](_0x25822b[_0xa8de06(0x265)])),_0x33dd7e(0x1,_0x46b8ad[_0xa8de06(0x20b)](_0x3c2922['CollaborationController'])),_0x33dd7e(0x2,_0x46b8ad['Inject'](_0x4b8f3c)),_0x33dd7e(0x3,_0x46b8ad[_0xa8de06(0x20b)](_0x5b5dae)),_0x33dd7e(0x4,_0x46b8ad['Inject'](_0x11d904)),_0x33dd7e(0x5,_0x46b8ad[_0xa8de06(0x20b)](_0x3aaf60)),_0x33dd7e(0x6,_0x1188a4[_0xa8de06(0x2f7)]),_0x33dd7e(0x7,_0x46b8ad['Inject'](_0x46b8ad[_0xa8de06(0x1ba)]))],_0xa12047);var _0x620c9e=(_0x341ff8=>(_0x341ff8[_0x341ff8[_0xa8de06(0x317)]=0x0]='UNDEFINED',_0x341ff8[_0x341ff8['OK']=0x1]='OK',_0x341ff8[_0x341ff8['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x341ff8[_0x341ff8[_0xa8de06(0x449)]=0x3]=_0xa8de06(0x449),_0x341ff8[_0x341ff8['NOT_FOUND']=0x4]=_0xa8de06(0x37a),_0x341ff8[_0x341ff8[_0xa8de06(0x34f)]=0x5]=_0xa8de06(0x34f),_0x341ff8[_0x341ff8[_0xa8de06(0x241)]=0x6]=_0xa8de06(0x241),_0x341ff8[_0x341ff8['INVALID_ARGUMENT']=0x7]=_0xa8de06(0x220),_0x341ff8[_0x341ff8[_0xa8de06(0x45e)]=0x8]=_0xa8de06(0x45e),_0x341ff8[_0x341ff8[_0xa8de06(0x1ab)]=0x9]='COMPLETION_FINISHED',_0x341ff8[_0x341ff8['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x341ff8[_0x341ff8[_0xa8de06(0x33e)]=0xb]=_0xa8de06(0x33e),_0x341ff8[_0x341ff8[_0xa8de06(0x3ff)]=0xc]=_0xa8de06(0x3ff),_0x341ff8[_0x341ff8[_0xa8de06(0x1fa)]=0xd]=_0xa8de06(0x1fa),_0x341ff8[_0x341ff8['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xa8de06(0x37c),_0x341ff8[_0x341ff8[_0xa8de06(0x42f)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x341ff8[_0x341ff8[_0xa8de06(0x45b)]=0x10]=_0xa8de06(0x45b),_0x341ff8[_0x341ff8[_0xa8de06(0x223)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x341ff8[_0x341ff8[_0xa8de06(0x371)]=0x65]=_0xa8de06(0x371),_0x341ff8[_0x341ff8['USER_NOT_FOUND']=0xc9]=_0xa8de06(0x3b3),_0x341ff8[_0x341ff8[_0xa8de06(0x45a)]=0xca]=_0xa8de06(0x45a),_0x341ff8[_0x341ff8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xa8de06(0x285),_0x341ff8[_0x341ff8[_0xa8de06(0x44d)]=0x1771]=_0xa8de06(0x44d),_0x341ff8[_0x341ff8[_0xa8de06(0x3a9)]=0x1772]=_0xa8de06(0x3a9),_0x341ff8[_0x341ff8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x341ff8[_0x341ff8[_0xa8de06(0x29b)]=0x1b59]=_0xa8de06(0x29b),_0x341ff8[_0x341ff8[_0xa8de06(0x41d)]=0x1b5a]=_0xa8de06(0x41d),_0x341ff8[_0x341ff8['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xa8de06(0x393),_0x341ff8[_0x341ff8[_0xa8de06(0x35d)]=0x1b5c]=_0xa8de06(0x35d),_0x341ff8[_0x341ff8[_0xa8de06(0x189)]=0x1b5d]=_0xa8de06(0x189),_0x341ff8[_0x341ff8[_0xa8de06(0x1bd)]=0x1f41]=_0xa8de06(0x1bd),_0x341ff8[_0x341ff8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x341ff8[_0x341ff8['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xa8de06(0x298),_0x341ff8[_0x341ff8[_0xa8de06(0x28b)]=0x232b]=_0xa8de06(0x28b),_0x341ff8[_0x341ff8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xa8de06(0x2af),_0x341ff8[_0x341ff8[_0xa8de06(0x3cd)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x341ff8[_0x341ff8['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0xa8de06(0x467),_0x341ff8[_0x341ff8[_0xa8de06(0x22d)]=0x2712]=_0xa8de06(0x22d),_0x341ff8[_0x341ff8[_0xa8de06(0x1bb)]=0x2713]=_0xa8de06(0x1bb),_0x341ff8[_0x341ff8[_0xa8de06(0x35f)]=0x2714]=_0xa8de06(0x35f),_0x341ff8[_0x341ff8[_0xa8de06(0x3f1)]=0x271a]=_0xa8de06(0x3f1),_0x341ff8[_0x341ff8[_0xa8de06(0x266)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x341ff8[_0x341ff8[_0xa8de06(0x259)]=0x271c]=_0xa8de06(0x259),_0x341ff8[_0x341ff8['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x341ff8[_0x341ff8['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0xa8de06(0x23f),_0x341ff8[_0x341ff8[_0xa8de06(0x45f)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x341ff8[_0x341ff8['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0xa8de06(0x2b4),_0x341ff8[_0x341ff8[_0xa8de06(0x41a)]=0x2af9]=_0xa8de06(0x41a),_0x341ff8[_0x341ff8[_0xa8de06(0x444)]=0x2ee1]=_0xa8de06(0x444),_0x341ff8[_0x341ff8['INVALID_INVITE_CODE']=0x2ee2]=_0xa8de06(0x263),_0x341ff8[_0x341ff8['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x341ff8[_0x341ff8[_0xa8de06(0x1df)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x341ff8[_0x341ff8[_0xa8de06(0x250)]=0x2ee5]=_0xa8de06(0x250),_0x341ff8[_0x341ff8[_0xa8de06(0x1b4)]=0x32c9]=_0xa8de06(0x1b4),_0x341ff8[_0x341ff8['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x341ff8[_0x341ff8[_0xa8de06(0x1eb)]=0x32cb]=_0xa8de06(0x1eb),_0x341ff8[_0x341ff8[_0xa8de06(0x2a0)]=0x36b1]=_0xa8de06(0x2a0),_0x341ff8[_0x341ff8[_0xa8de06(0x30a)]=0x36b2]=_0xa8de06(0x30a),_0x341ff8[_0x341ff8['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x341ff8[_0x341ff8[_0xa8de06(0x3f4)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x341ff8[_0x341ff8[_0xa8de06(0x402)]=0x36b5]=_0xa8de06(0x402),_0x341ff8[_0x341ff8[_0xa8de06(0x33c)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x341ff8[_0x341ff8['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x341ff8[_0x341ff8['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0xa8de06(0x36a),_0x341ff8[_0x341ff8[_0xa8de06(0x313)]=0x3715]=_0xa8de06(0x313),_0x341ff8[_0x341ff8[_0xa8de06(0x37f)]=0x3716]=_0xa8de06(0x37f),_0x341ff8[_0x341ff8['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x341ff8[_0x341ff8[_0xa8de06(0x192)]=0x37dd]=_0xa8de06(0x192),_0x341ff8[_0x341ff8[_0xa8de06(0x191)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x341ff8[_0x341ff8[_0xa8de06(0x413)]=0x3a9a]=_0xa8de06(0x413),_0x341ff8[_0x341ff8['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0xa8de06(0x2c1),_0x341ff8[_0x341ff8[_0xa8de06(0x287)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x341ff8[_0x341ff8[_0xa8de06(0x2f3)]=0x3a9d]=_0xa8de06(0x2f3),_0x341ff8[_0x341ff8[_0xa8de06(0x271)]=0x3a9e]=_0xa8de06(0x271),_0x341ff8[_0x341ff8[_0xa8de06(0x422)]=0x3a9f]=_0xa8de06(0x422),_0x341ff8[_0x341ff8['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0xa8de06(0x410),_0x341ff8[_0x341ff8[_0xa8de06(0x2ff)]=-0x1]='UNRECOGNIZED',_0x341ff8))(_0x620c9e||{});function _0x4f10b6(_0x4b35d2){const _0xb1130b=_0xa8de06;var _0xb253c9,_0x5428e9;const _0x57c6ff=(_0xb253c9=_0x4b35d2[_0xb1130b(0x1d1)])==null?void 0x0:_0xb253c9['stage'],_0x1d5621=((_0x5428e9=_0x4b35d2['stageInfo'])==null?void 0x0:_0x5428e9[_0xb1130b(0x1c4)])||0x0;return _0x57c6ff===_0x21c000[_0xb1130b(0x294)][_0xb1130b(0x283)]&&_0x1d5621>0x0;}function _0x38cee2(_0x36a532){const _0x3bfe74=_0xa8de06;return _0x36a532[_0x3bfe74(0x33f)]===_0x21c000['FormulaExecutedStateType'][_0x3bfe74(0x2bc)];}var _0x3d1f55=Object[_0xa8de06(0x2fb)],_0x2f048d=(_0xa76ca,_0x1d68ae,_0x4a8e21,_0x5192cf)=>{const _0x1e3f96=_0xa8de06;for(var _0x9ac923=_0x5192cf>0x1?void 0x0:_0x5192cf?_0x3d1f55(_0x1d68ae,_0x4a8e21):_0x1d68ae,_0x13e178=_0xa76ca[_0x1e3f96(0x370)]-0x1,_0x5dfbd3;_0x13e178>=0x0;_0x13e178--)(_0x5dfbd3=_0xa76ca[_0x13e178])&&(_0x9ac923=_0x5dfbd3(_0x9ac923)||_0x9ac923);return _0x9ac923;},_0x471873=(_0x44799c,_0x347a58)=>(_0x472531,_0x43e9cb)=>_0x347a58(_0x472531,_0x43e9cb,_0x44799c);const _0x2ae007=_0xa8de06(0x2a5),_0x3d052d=_0xa8de06(0x1d8),_0x5b2fb1=_0xa8de06(0x3fb);let _0x33fb0c=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0x17ad8d,_0x2992b7,_0xf3883b,_0xa0d9ba,_0x3f4e17,_0x2d2aca,_0x1092ac){const _0x38dac1=_0xa8de06;super(),_0xa13482(this,_0x38dac1(0x1a0),null),_0xa13482(this,_0x38dac1(0x40d),0x0),_0xa13482(this,_0x38dac1(0x3c0),0x0),_0xa13482(this,'_taskIds',[]),_0xa13482(this,_0x38dac1(0x1a3),0x0),(this['_messageService']=_0x17ad8d,this[_0x38dac1(0x197)]=_0x2992b7,this['_configService']=_0xf3883b,this[_0x38dac1(0x2da)]=_0xa0d9ba,this['_univerInstanceService']=_0x3f4e17,this['_logService']=_0x2d2aca,this['_localeService']=_0x1092ac,this[_0x38dac1(0x305)]());}[_0xa8de06(0x305)](){const _0x36c3f6=_0xa8de06;this[_0x36c3f6(0x418)](this[_0x36c3f6(0x197)][_0x36c3f6(0x2de)]((_0x57848f,_0x19aedf)=>{const _0x41756c=_0x36c3f6;var _0x1b91b3;if(_0x57848f['id']!==_0x21c000[_0x41756c(0x27c)]['id'])return;const _0x289672=_0x57848f[_0x41756c(0x267)];if(!this[_0x41756c(0x2e0)]((_0x1b91b3=_0x289672[_0x41756c(0x3f8)])!=null?_0x1b91b3:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x41756c(0x3e4)](_0x57848f,_0x19aedf),this[_0x41756c(0x417)](),new _0x46b8ad['CanceledError']();})),this[_0x36c3f6(0x418)](this['_commandService']['onCommandExecuted']((_0x15f8ad,_0x20e067)=>{const _0x17d3bb=_0x36c3f6;if(_0x15f8ad['id']!==_0x21c000[_0x17d3bb(0x2eb)]['id'])return;const _0x4d0775=_0x15f8ad[_0x17d3bb(0x267)];if(_0x4f10b6(_0x4d0775)){const _0x36311a=_0x46b8ad[_0x17d3bb(0x2cb)]();this[_0x17d3bb(0x28c)][_0x17d3bb(0x392)](_0x36311a),this[_0x17d3bb(0x2fa)](_0x36311a);}else{if(_0x38cee2(_0x4d0775)&&this[_0x17d3bb(0x28c)][_0x17d3bb(0x370)]>0x0){const _0x4eccd5=this[_0x17d3bb(0x28c)][_0x17d3bb(0x1d6)]();this[_0x17d3bb(0x281)](_0x4eccd5);}}}));}[_0xa8de06(0x208)](){const _0x35fd31=_0xa8de06;super['dispose'](),this['_clearPolling'](),this['_taskIds']=[],this[_0x35fd31(0x3c0)]=0x0,this[_0x35fd31(0x40d)]=0x0,this[_0x35fd31(0x1a3)]=0x0;}async[_0xa8de06(0x3e4)](_0x2a6032,_0x36508b){const _0x3bbcaa=_0xa8de06;for(let _0x278b55=0x0;_0x278b55<0x1e;_0x278b55++)try{if(await this[_0x3bbcaa(0x233)](),this[_0x3bbcaa(0x279)]()){this[_0x3bbcaa(0x43f)](_0x2a6032,_0x36508b),this['_messageService'][_0x3bbcaa(0x2e7)]({'content':this[_0x3bbcaa(0x1a8)]['t'](_0x3bbcaa(0x3bb)),'type':_0x2472b7[_0x3bbcaa(0x1e4)][_0x3bbcaa(0x33b)]});return;}await new Promise(_0x36dede=>{const _0x549d89=_0x3bbcaa;this[_0x549d89(0x1a0)]=window[_0x549d89(0x468)](_0x36dede,0x3e8);});}catch(_0x3d08a8){this[_0x3bbcaa(0x2ce)]['error'](_0x3d08a8);}this['_messageService'][_0x3bbcaa(0x2e7)]({'content':this[_0x3bbcaa(0x1a8)]['t'](_0x3bbcaa(0x36d)),'type':_0x2472b7[_0x3bbcaa(0x1e4)][_0x3bbcaa(0x349)]});}[_0xa8de06(0x43f)](_0x1decad,_0x49b62e){const _0x5d54e1=_0xa8de06;try{this['_commandService']['executeCommand'](_0x1decad['id'],_0x1decad[_0x5d54e1(0x267)],_0x49b62e);}catch(_0x532fd5){this[_0x5d54e1(0x2ce)][_0x5d54e1(0x2fe)](_0x532fd5);}}['_setFormulaLimitStatus'](_0x49210c,_0x639829){const _0x16212e=_0xa8de06;_0x639829<this[_0x16212e(0x1a3)]||(this[_0x16212e(0x1a3)]=_0x639829,this[_0x16212e(0x40d)]=Number['parseInt'](_0x49210c[_0x16212e(0x3c5)]),this[_0x16212e(0x3c0)]=Number['parseInt'](_0x49210c[_0x16212e(0x1b9)]));}async[_0xa8de06(0x2fa)](_0x2277c1){const _0x458c58=_0xa8de06;var _0x3c825b,_0x343bdc;const _0x2f10b9=Date[_0x458c58(0x391)]();try{const _0x5c767e=((_0x3c825b=this[_0x458c58(0x2c2)][_0x458c58(0x235)](_0x3c2922['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x3c825b[_0x458c58(0x214)])||_0x3d052d,_0x5eb4f1=(await this[_0x458c58(0x2da)][_0x458c58(0x2a3)](_0x5c767e,{'body':JSON[_0x458c58(0x2e1)]({'taskId':_0x2277c1})}))[_0x458c58(0x1a6)];if(((_0x343bdc=_0x5eb4f1[_0x458c58(0x2fe)])==null?void 0x0:_0x343bdc[_0x458c58(0x1da)])!==_0x620c9e['OK'])return;this[_0x458c58(0x389)](_0x5eb4f1[_0x458c58(0x44e)],_0x2f10b9);}catch(_0xf461cf){this['_logService'][_0x458c58(0x2fe)](_0xf461cf);}}async[_0xa8de06(0x233)](_0x42e5c7){const _0x492eb9=_0xa8de06;var _0x26ea29,_0x33a3b0;const _0x3f0e10=Date['now']();try{const _0x42f3cb=((_0x26ea29=this[_0x492eb9(0x2c2)]['getConfig'](_0x3c2922[_0x492eb9(0x1fe)]))==null?void 0x0:_0x26ea29['getformulaLimitStatusUrl'])||_0x2ae007,_0x4ad502=_0x42e5c7?_0x42f3cb+_0x492eb9(0x18d)+encodeURIComponent(_0x42e5c7):_0x42f3cb,_0x212715=(await this[_0x492eb9(0x2da)][_0x492eb9(0x3ca)](_0x4ad502))['body'];if(((_0x33a3b0=_0x212715[_0x492eb9(0x2fe)])==null?void 0x0:_0x33a3b0[_0x492eb9(0x1da)])!==_0x620c9e['OK'])return;this[_0x492eb9(0x389)](_0x212715[_0x492eb9(0x44e)],_0x3f0e10);}catch(_0x3930a9){this[_0x492eb9(0x2ce)][_0x492eb9(0x2fe)](_0x3930a9);}}async[_0xa8de06(0x281)](_0xfd6d7a){const _0x2e2482=_0xa8de06;var _0x2e91b7,_0x141131;const _0x5ee29f=Date['now']();try{const _0x1bf1c3=((_0x2e91b7=this['_configService'][_0x2e2482(0x235)](_0x3c2922[_0x2e2482(0x1fe)]))==null?void 0x0:_0x2e91b7[_0x2e2482(0x2d7)])||_0x5b2fb1,_0x43b18f=(await this[_0x2e2482(0x2da)]['post'](_0x1bf1c3,{'body':JSON['stringify']({'taskId':_0xfd6d7a})}))[_0x2e2482(0x1a6)];if(((_0x141131=_0x43b18f[_0x2e2482(0x2fe)])==null?void 0x0:_0x141131[_0x2e2482(0x1da)])!==_0x620c9e['OK'])return;this['_setFormulaLimitStatus'](_0x43b18f[_0x2e2482(0x44e)],_0x5ee29f);}catch(_0x43e6ac){this[_0x2e2482(0x2ce)]['error'](_0x43e6ac);}}[_0xa8de06(0x279)](){const _0x3d4aa6=_0xa8de06;return this[_0x3d4aa6(0x40d)]===0x0?!0x0:this[_0x3d4aa6(0x40d)]-this[_0x3d4aa6(0x3c0)]>0x0;}[_0xa8de06(0x3d4)](){const _0xfde5f7=_0xa8de06;this['_pollingInterval']&&(clearTimeout(this[_0xfde5f7(0x1a0)]),this[_0xfde5f7(0x1a0)]=null);}[_0xa8de06(0x417)](){const _0x51fdd1=_0xa8de06;this[_0x51fdd1(0x1c8)]['show']({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x2472b7['MessageType'][_0x51fdd1(0x341)]});}[_0xa8de06(0x2e0)](_0x4cf712){const _0x1f5249=_0xa8de06;for(const _0x45c55f of _0x4cf712){const {unitId:_0x5d6c69,sheetId:_0x4044c1,range:_0x15f2c8}=_0x45c55f,_0x3438fe=this[_0x1f5249(0x274)][_0x1f5249(0x2c4)](_0x5d6c69);if(!_0x3438fe)continue;const _0x2b2e61=_0x3438fe['getSheetBySheetId'](_0x4044c1);if(!_0x2b2e61)continue;const _0x520fb2=_0x2b2e61[_0x1f5249(0x407)]();for(let _0x1aecee=_0x15f2c8[_0x1f5249(0x46a)];_0x1aecee<=_0x15f2c8[_0x1f5249(0x284)];_0x1aecee++)for(let _0x25851b=_0x15f2c8['startColumn'];_0x25851b<=_0x15f2c8[_0x1f5249(0x230)];_0x25851b++){const _0x3da324=_0x520fb2[_0x1f5249(0x3d6)](_0x1aecee,_0x25851b);if(_0x3da324&&(_0x46b8ad[_0x1f5249(0x2cd)](_0x3da324['f'])||_0x46b8ad[_0x1f5249(0x323)](_0x3da324['si'])))return!0x0;}}return!0x1;}};_0x33fb0c=_0x2f048d([_0x471873(0x0,_0x46b8ad[_0xa8de06(0x20b)](_0x1188a4[_0xa8de06(0x2f7)])),_0x471873(0x1,_0x46b8ad['ICommandService']),_0x471873(0x2,_0x46b8ad[_0xa8de06(0x2b5)]),_0x471873(0x3,_0x46b8ad[_0xa8de06(0x20b)](_0x3f1a6a[_0xa8de06(0x1e0)])),_0x471873(0x4,_0x46b8ad['IUniverInstanceService']),_0x471873(0x5,_0x46b8ad[_0xa8de06(0x25c)]),_0x471873(0x6,_0x46b8ad['Inject'](_0x46b8ad[_0xa8de06(0x1ba)]))],_0x33fb0c);var _0x5753f1=Object[_0xa8de06(0x2fb)],_0x552b5f=(_0x140067,_0x4b9d40,_0x54778b,_0x17afa5)=>{const _0x27561d=_0xa8de06;for(var _0x7564a=_0x17afa5>0x1?void 0x0:_0x17afa5?_0x5753f1(_0x4b9d40,_0x54778b):_0x4b9d40,_0x4465dd=_0x140067[_0x27561d(0x370)]-0x1,_0x3b8594;_0x4465dd>=0x0;_0x4465dd--)(_0x3b8594=_0x140067[_0x4465dd])&&(_0x7564a=_0x3b8594(_0x7564a)||_0x7564a);return _0x7564a;},_0xf5796d=(_0x37f1af,_0x562359)=>(_0x5b762d,_0x557665)=>_0x562359(_0x5b762d,_0x557665,_0x37f1af);let _0x221448=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0x581299,_0x30ae62,_0x17b4f6){const _0x2be6be=_0xa8de06;super(),_0xa13482(this,_0x2be6be(0x1c5),new Map()),_0xa13482(this,_0x2be6be(0x2dd),new Map()),_0xa13482(this,'_disabled',!0x1),(this['_configService']=_0x581299,this['_localStorageService']=_0x30ae62,this[_0x2be6be(0x1dc)]=_0x17b4f6);}[_0xa8de06(0x247)](){this['_disabled']=!0x0;}[_0xa8de06(0x360)](){const _0x4f0485=_0xa8de06;this[_0x4f0485(0x1d3)]=!0x1;}get[_0xa8de06(0x34e)](){const _0x3a1534=_0xa8de06;return this[_0x3a1534(0x2dd)];}['dispose'](){const _0x12bf00=_0xa8de06;this[_0x12bf00(0x215)]()['then'](()=>super[_0x12bf00(0x208)]());}async[_0xa8de06(0x429)](_0x2dade2){const _0xcdc709=_0xa8de06;return this[_0xcdc709(0x1d3)]?null:this[_0xcdc709(0x2f5)][_0xcdc709(0x324)](_0x3c2922[_0xcdc709(0x17e)](_0x2dade2));}async[_0xa8de06(0x430)](_0x2a9f84,_0x4bc2f4){const _0x4b0c0a=_0xa8de06;return!!this['_localStorageService'][_0x4b0c0a(0x1f4)](_0x2a9f84,_0x4bc2f4);}[_0xa8de06(0x345)](_0x4c6da3,_0x3e4cb4,_0x4f39e6,_0x50c9f6){const _0x2a4398=_0xa8de06,_0x6a8d71=this['_revisionService'][_0x2a4398(0x3e6)](_0x4c6da3);this[_0x2a4398(0x1c5)]['set'](_0x4c6da3,{'unitID':_0x4c6da3,'type':_0x3e4cb4,'awaitingChangeset':_0x4f39e6,'mutations':_0x50c9f6,'rev':_0x6a8d71}),this[_0x2a4398(0x2dd)][_0x2a4398(0x3de)](_0x4c6da3)||this['_scheduleSaving'](_0x4c6da3);}[_0xa8de06(0x330)](_0x80a047){const _0x2a3338=_0xa8de06,_0x37e45c=this[_0x2a3338(0x3d1)]();_0x37e45c===0x0?this[_0x2a3338(0x438)](_0x80a047):this[_0x2a3338(0x2dd)][_0x2a3338(0x1f9)](_0x80a047,setTimeout(()=>this[_0x2a3338(0x438)](_0x80a047),_0x37e45c));}['_getSaveTimeout'](){const _0x29d64e=_0xa8de06;var _0x39641f;return(_0x39641f=this[_0x29d64e(0x2c2)][_0x29d64e(0x235)](_0x3c2922[_0x29d64e(0x434)]))!=null?_0x39641f:_0x3c2922[_0x29d64e(0x1fd)];}[_0xa8de06(0x438)](_0x5cd7e0){const _0x560afd=_0xa8de06,_0x3b5c71=this[_0x560afd(0x2dd)][_0x560afd(0x3ca)](_0x5cd7e0);return _0x3b5c71!==void 0x0&&window[_0x560afd(0x26f)](_0x3b5c71),this[_0x560afd(0x2f5)][_0x560afd(0x1f4)](_0x3c2922[_0x560afd(0x17e)](_0x5cd7e0),this[_0x560afd(0x1c5)][_0x560afd(0x3ca)](_0x5cd7e0))[_0x560afd(0x218)](()=>this[_0x560afd(0x2dd)]['delete'](_0x5cd7e0));}async[_0xa8de06(0x215)](){const _0x4bbed0=_0xa8de06,_0x16ac3e=[];this['_saveTaskMap']['forEach']((_0x44fc3d,_0x259f5b)=>{const _0x5bed8e=_0x21d5;window[_0x5bed8e(0x26f)](_0x44fc3d),_0x16ac3e[_0x5bed8e(0x392)](this[_0x5bed8e(0x438)](_0x259f5b)[_0x5bed8e(0x218)](()=>{const _0x5006b2=_0x5bed8e;this['_saveTaskMap'][_0x5006b2(0x31e)](_0x259f5b);}));}),await Promise[_0x4bbed0(0x31d)](_0x16ac3e);}};_0x221448=_0x552b5f([_0xf5796d(0x0,_0x46b8ad['IConfigService']),_0xf5796d(0x1,_0x46b8ad[_0xa8de06(0x1bc)]),_0xf5796d(0x2,_0x46b8ad['Inject'](_0x45ac64[_0xa8de06(0x18b)]))],_0x221448);class _0x3e26c7 extends _0x46b8ad[_0xa8de06(0x1db)]{constructor(){const _0x2ce3ee=_0xa8de06;super(),_0xa13482(this,_0x2ce3ee(0x205)),this[_0x2ce3ee(0x205)]=_0x1e9e4e[_0x2ce3ee(0x1ae)](window,_0x2ce3ee(0x19c))[_0x2ce3ee(0x2bb)](_0x1e9e4e['takeUntil'](this[_0x2ce3ee(0x37b)]),_0x1e9e4e[_0x2ce3ee(0x3ed)](0x1),_0x1e9e4e[_0x2ce3ee(0x439)](void 0x0));}[_0xa8de06(0x36f)](_0x365c35,_0x56d01f,_0x789d3e=!0x1){const _0xdfb8ba=_0xa8de06,_0x4d4a80=new URL(window[_0xdfb8ba(0x381)][_0xdfb8ba(0x38c)]);_0x4d4a80[_0xdfb8ba(0x447)][_0xdfb8ba(0x1f9)](_0x365c35,_0x56d01f),_0x789d3e?window[_0xdfb8ba(0x406)]['replaceState']('','',_0x4d4a80[_0xdfb8ba(0x3c4)]()):window[_0xdfb8ba(0x406)][_0xdfb8ba(0x2e4)]('','',_0x4d4a80['toString']());}['removeParam'](_0x11bf9d,_0x2d21b0=!0x1){const _0x2f2eda=_0xa8de06,_0x47ad27=new URL(window[_0x2f2eda(0x381)][_0x2f2eda(0x38c)]);_0x47ad27[_0x2f2eda(0x447)][_0x2f2eda(0x31e)](_0x11bf9d),_0x2d21b0?window[_0x2f2eda(0x406)][_0x2f2eda(0x2ea)]('','',_0x47ad27[_0x2f2eda(0x3c4)]()):window[_0x2f2eda(0x406)][_0x2f2eda(0x2e4)]('','',_0x47ad27['toString']());}[_0xa8de06(0x201)](_0xb183e2){const _0x3b7f18=_0xa8de06;var _0x32f3e5;return(_0x32f3e5=new URL(window['location'][_0x3b7f18(0x38c)])['searchParams'][_0x3b7f18(0x3ca)](_0xb183e2))!=null?_0x32f3e5:void 0x0;}}var _0x4d7ff5=Object[_0xa8de06(0x45d)],_0x369ac7=Object[_0xa8de06(0x2fb)],_0x336c45=(_0x152f29,_0x43c00f,_0x340744)=>_0x43c00f in _0x152f29?_0x4d7ff5(_0x152f29,_0x43c00f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x340744}):_0x152f29[_0x43c00f]=_0x340744,_0x5813f5=(_0x2a40a2,_0x3577f4,_0x1532a3,_0x5e8c97)=>{const _0x27278c=_0xa8de06;for(var _0x229b16=_0x5e8c97>0x1?void 0x0:_0x5e8c97?_0x369ac7(_0x3577f4,_0x1532a3):_0x3577f4,_0xa82f32=_0x2a40a2[_0x27278c(0x370)]-0x1,_0x438683;_0xa82f32>=0x0;_0xa82f32--)(_0x438683=_0x2a40a2[_0xa82f32])&&(_0x229b16=_0x438683(_0x229b16)||_0x229b16);return _0x229b16;},_0x5c406f=(_0x4650a8,_0xf83ce6)=>(_0x477842,_0x13b76c)=>_0xf83ce6(_0x477842,_0x13b76c,_0x4650a8),_0x4d95d3=(_0x43a607,_0x201781,_0x509f90)=>_0x336c45(_0x43a607,_0x201781+'',_0x509f90);const _0x23703b=_0xa8de06(0x1d5);_0x2ad26e[_0xa8de06(0x1d0)]=class extends _0x46b8ad[_0xa8de06(0x2ba)]{constructor(_0x8a5dc7=_0x2b2758,_0x339a30,_0x35be3a,_0x2f2400){const _0x491ec7=_0xa8de06;super(),this['_config']=_0x8a5dc7,this[_0x491ec7(0x292)]=_0x339a30,this['_injector']=_0x35be3a,this[_0x491ec7(0x2c2)]=_0x2f2400;const {..._0x2658bc}=_0x46b8ad[_0x491ec7(0x428)]({},_0x2b2758,this['_config']);this[_0x491ec7(0x2c2)][_0x491ec7(0x3ac)](_0x25687d,_0x2658bc);}[_0xa8de06(0x256)](){const _0x29e295=_0xa8de06;this[_0x29e295(0x326)](),this[_0x29e295(0x308)]();}['onRendered'](){this['_registerRenderDependencies']();}[_0xa8de06(0x326)](){const _0x44c25a=_0xa8de06;var _0x40b983;const _0x3c631e=[[_0x7dd548],[_0x33fb0c],[_0x11d904],[_0x4b8f3c],[_0x5b5dae],[_0x3aaf60],[_0x165cd6,{'useClass':_0x3e26c7}],[_0x3f1a6a[_0x44c25a(0x37e)],{'useClass':_0x3f1a6a['WebSocketService']}],[_0x3c2922[_0x44c25a(0x251)],{'useClass':_0x221448}],[_0x2ad26e[_0x44c25a(0x2c6)]],[_0xa12047],[_0x479b7f],[_0x12c067],[_0x3f2971],[_0x2ad26e[_0x44c25a(0x23b)]]];this[_0x44c25a(0x378)]['enableFrontendLog']&&_0x3c631e['push']([_0x3a6d5b]),_0x46b8ad['registerDependencies'](this['_injector'],_0x46b8ad[_0x44c25a(0x1c6)](_0x3c631e,(_0x40b983=this[_0x44c25a(0x378)])==null?void 0x0:_0x40b983[_0x44c25a(0x22e)]));}[_0xa8de06(0x322)](){const _0x50370d=_0xa8de06;this[_0x50370d(0x418)](this['_renderManagerService']['registerRenderModule'](_0x46b8ad['UniverInstanceType'][_0x50370d(0x40e)],[_0x442bb0])),this[_0x50370d(0x418)](this['_renderManagerService'][_0x50370d(0x374)](_0x46b8ad[_0x50370d(0x193)]['UNIVER_SHEET'],[_0x2b7c36]));}[_0xa8de06(0x308)](){const _0x2374d6=_0xa8de06;_0x46b8ad[_0x2374d6(0x3ec)](this[_0x2374d6(0x1e3)],[[_0x12c067],[_0x2ad26e[_0x2374d6(0x2c6)]],[_0xa12047],[_0x479b7f],[_0x2ad26e[_0x2374d6(0x23b)]],[_0x33fb0c]]),this['_config']['enableFrontendLog']&&_0x46b8ad[_0x2374d6(0x3ec)](this[_0x2374d6(0x1e3)],[[_0x3a6d5b]]);}},_0x4d95d3(_0x2ad26e['UniverCollaborationClientUIPlugin'],_0xa8de06(0x3a3),_0x23703b),_0x2ad26e[_0xa8de06(0x1d0)]=_0x5813f5([_0x46b8ad[_0xa8de06(0x453)](_0x3c2922[_0xa8de06(0x1ec)]),_0x5c406f(0x1,_0x432809['IRenderManagerService']),_0x5c406f(0x2,_0x46b8ad['Inject'](_0x46b8ad[_0xa8de06(0x364)])),_0x5c406f(0x3,_0x46b8ad[_0xa8de06(0x2b5)])],_0x2ad26e[_0xa8de06(0x1d0)]);var _0xb81b95=Object[_0xa8de06(0x2fb)],_0xd1137a=(_0x1439f2,_0x1b70a4,_0x5a3bc1,_0x2e9946)=>{const _0x1fa168=_0xa8de06;for(var _0x29705c=_0x2e9946>0x1?void 0x0:_0x2e9946?_0xb81b95(_0x1b70a4,_0x5a3bc1):_0x1b70a4,_0x18eacc=_0x1439f2[_0x1fa168(0x370)]-0x1,_0x1c3f91;_0x18eacc>=0x0;_0x18eacc--)(_0x1c3f91=_0x1439f2[_0x18eacc])&&(_0x29705c=_0x1c3f91(_0x29705c)||_0x29705c);return _0x29705c;},_0x3abe04=(_0x32cad8,_0x51e208)=>(_0x6c2b09,_0xa1a41d)=>_0x51e208(_0x6c2b09,_0xa1a41d,_0x32cad8);_0x2ad26e[_0xa8de06(0x18f)]=class extends _0x3c2922['CollaborationSocketService']{constructor(_0x2b7f5c,_0x455a0a,_0x468b8,_0x1d6459,_0x2ea32e){super(_0x2b7f5c,_0x455a0a,_0x468b8,_0x1d6459,_0x2ea32e);}async[_0xa8de06(0x38b)](_0x1425ed){const _0x187c98=_0xa8de06,_0x44fc52=await this['_getSessionTicket'](),_0x51944d=this['_createSocketURL'](_0x1425ed,_0x44fc52);return this[_0x187c98(0x28d)](_0x51944d);}[_0xa8de06(0x42e)](_0x56949f,_0x678140){const _0x307484=_0xa8de06,_0x2a3406=typeof window>'u'?new URL(_0x56949f):new URL(_0x56949f,window[_0x307484(0x381)][_0x307484(0x260)]);_0x2a3406['searchParams'][_0x307484(0x1f9)](_0x307484(0x2f0),_0x678140);const _0x2e01ab=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x307484(0x381)][_0x307484(0x2ee)]);return _0x2e01ab[_0x307484(0x3ca)](_0x307484(0x3c6))&&_0x2a3406[_0x307484(0x447)][_0x307484(0x1f9)]('runId',_0x2e01ab[_0x307484(0x3ca)]('runId')),_0x2a3406[_0x307484(0x3c4)]();}async[_0xa8de06(0x195)](){const _0x345016=_0xa8de06;var _0x487a50,_0x478c6c,_0x1ee372;const _0x4e720b=this['_configService'][_0x345016(0x235)](_0x3c2922[_0x345016(0x1fe)]),_0x5f46de=(_0x487a50=_0x4e720b==null?void 0x0:_0x4e720b[_0x345016(0x347)])!=null?_0x487a50:_0x3c2922[_0x345016(0x36b)];return(_0x1ee372=(_0x478c6c=(await this[_0x345016(0x2da)][_0x345016(0x3ca)](_0x5f46de,{'headers':{'Content-Type':_0x345016(0x249)}}))[_0x345016(0x1a6)])==null?void 0x0:_0x478c6c['ticket'])!=null?_0x1ee372:'';}},_0x2ad26e['BrowserCollaborationSocketService']=_0xd1137a([_0x3abe04(0x0,_0x46b8ad['Inject'](_0x46b8ad[_0xa8de06(0x364)])),_0x3abe04(0x1,_0x46b8ad[_0xa8de06(0x20b)](_0x3f1a6a[_0xa8de06(0x1e0)])),_0x3abe04(0x2,_0x46b8ad['IConfigService']),_0x3abe04(0x3,_0x46b8ad[_0xa8de06(0x25c)]),_0x3abe04(0x4,_0x45ac64[_0xa8de06(0x1d4)])],_0x2ad26e['BrowserCollaborationSocketService']);var _0x291c57=Object['getOwnPropertyDescriptor'],_0x2c726b=(_0x5d225b,_0x5d3f0c,_0x42ce62,_0x32d2ee)=>{const _0xa5bfd3=_0xa8de06;for(var _0x4ed42e=_0x32d2ee>0x1?void 0x0:_0x32d2ee?_0x291c57(_0x5d3f0c,_0x42ce62):_0x5d3f0c,_0x350003=_0x5d225b[_0xa5bfd3(0x370)]-0x1,_0x3f2b0f;_0x350003>=0x0;_0x350003--)(_0x3f2b0f=_0x5d225b[_0x350003])&&(_0x4ed42e=_0x3f2b0f(_0x4ed42e)||_0x4ed42e);return _0x4ed42e;},_0x140030=(_0x2efa04,_0x3e419e)=>(_0x35104b,_0xba5797)=>_0x3e419e(_0x35104b,_0xba5797,_0x2efa04);_0x2ad26e[_0xa8de06(0x43b)]=class extends _0x46b8ad[_0xa8de06(0x390)]{constructor(_0x449657,_0x2ebdb9,_0x27c5f8){const _0x1976f8=_0xa8de06;super(),this[_0x1976f8(0x31f)]=_0x449657,this[_0x1976f8(0x2da)]=_0x2ebdb9,this['_configService']=_0x27c5f8;}async[_0xa8de06(0x320)](_0x131d3d,_0x36f80,_0x1230b1,..._0x3943f9){const _0x4647fa=_0xa8de06;var _0x20651e,_0x45c991,_0x29881f,_0x3e44ed;const _0x41024e=this[_0x4647fa(0x31f)]['getFocusedUnit']();if(!_0x41024e)throw new Error(_0x4647fa(0x34b));const _0x1b4677=((_0x20651e=this[_0x4647fa(0x2c2)][_0x4647fa(0x235)](_0x3c2922[_0x4647fa(0x1ea)]))!=null?_0x20651e:_0x3c2922[_0x4647fa(0x2e8)])+'/'+_0x131d3d+_0x4647fa(0x1ee)+_0x36f80,_0x2496b2=new URL(window[_0x4647fa(0x381)][_0x4647fa(0x38c)]),_0x4ad106={'scriptId':_0x131d3d,'runId':(_0x45c991=_0x2496b2[_0x4647fa(0x447)][_0x4647fa(0x3ca)](_0x4647fa(0x3c6)))!=null?_0x45c991:'','function':_0x36f80,'unitId':_0x41024e[_0x4647fa(0x3e8)](),'argsOfFunction':JSON[_0x4647fa(0x2e1)](_0x3943f9),'invokeId':(_0x29881f=_0x1230b1[_0x4647fa(0x325)])!=null?_0x29881f:'','executionId':(_0x3e44ed=_0x1230b1['executionId'])!=null?_0x3e44ed:''};try{const _0x31e741=await this[_0x4647fa(0x2da)]['post'](_0x1b4677,{'body':_0x4ad106});return _0x31e741[_0x4647fa(0x1a6)]['error']&&_0x31e741[_0x4647fa(0x1a6)][_0x4647fa(0x2fe)][_0x4647fa(0x1da)]!==_0x620c9e['OK']?'Failed':_0x31e741[_0x4647fa(0x1a6)][_0x4647fa(0x252)];}catch{return _0x4647fa(0x302);}}},_0x2ad26e[_0xa8de06(0x43b)]=_0x2c726b([_0x140030(0x0,_0x46b8ad[_0xa8de06(0x21b)]),_0x140030(0x1,_0x46b8ad[_0xa8de06(0x20b)](_0x3f1a6a[_0xa8de06(0x1e0)])),_0x140030(0x2,_0x46b8ad[_0xa8de06(0x2b5)])],_0x2ad26e['RemoteUniscriptService']);const _0x1e7119=0x7530,_0x259fea=_0xa8de06(0x1e9);class _0x2f0f3d extends _0x46b8ad['Disposable']{constructor(){const _0x2bedd4=_0xa8de06;super(),_0xa13482(this,_0x2bedd4(0x366),_0x46b8ad['generateRandomId']()),_0xa13482(this,_0x2bedd4(0x196),new Set()),_0xa13482(this,_0x2bedd4(0x44b),new Map()),_0xa13482(this,_0x2bedd4(0x1fb),null),_0xa13482(this,_0x2bedd4(0x207),new Map()),_0xa13482(this,'_unitStatus',new Map()),this[_0x2bedd4(0x435)]();}[_0xa8de06(0x208)](){const _0x58e7e2=_0xa8de06;super['dispose'](),this[_0x58e7e2(0x207)][_0x58e7e2(0x2bf)]((_0x4f67a1,_0x568e87)=>this[_0x58e7e2(0x328)](_0x568e87)),this['_heartbeatTimer']&&window[_0x58e7e2(0x2aa)](this[_0x58e7e2(0x1fb)]);}[_0xa8de06(0x373)](_0x5e3770){const _0x4f5905=_0xa8de06;return this[_0x4f5905(0x33a)](_0x5e3770)[_0x4f5905(0x2bb)](_0x1e9e4e[_0x4f5905(0x2d2)]());}[_0xa8de06(0x269)](_0x3dd34f){const _0x4e62fe=_0xa8de06;this[_0x4e62fe(0x196)][_0x4e62fe(0x396)]===0x0&&this['_scheduleHeartbeat'](),this[_0x4e62fe(0x196)][_0x4e62fe(0x24b)](_0x3dd34f),this[_0x4e62fe(0x190)]({'type':0x0,'memberID':this[_0x4e62fe(0x366)],'unitIDs':[_0x3dd34f],'isForwarded':!0x1});}['disposeUnit'](_0x2ec67d){const _0x43f0a0=_0xa8de06;this[_0x43f0a0(0x196)][_0x43f0a0(0x31e)](_0x2ec67d),this[_0x43f0a0(0x196)][_0x43f0a0(0x396)]===0x0&&this[_0x43f0a0(0x1fb)]&&window[_0x43f0a0(0x2aa)](this[_0x43f0a0(0x1fb)]);}[_0xa8de06(0x435)](){const _0x30397b=_0xa8de06;this[_0x30397b(0x418)](_0x46b8ad[_0x30397b(0x3e9)](_0x1e9e4e[_0x30397b(0x1ae)](window,_0x30397b(0x3a5))[_0x30397b(0x2ab)](_0x5f36f4=>{const _0x1e2801=_0x30397b;if(_0x5f36f4[_0x1e2801(0x2e5)]!==_0x259fea||!_0x5f36f4[_0x1e2801(0x318)])return;const _0x1748a0=JSON['parse'](_0x5f36f4[_0x1e2801(0x318)]);this[_0x1e2801(0x1e2)](_0x1748a0);}))),window[_0x30397b(0x45c)](_0x30397b(0x41b),()=>this[_0x30397b(0x190)]({'type':0x1,'memberID':this[_0x30397b(0x366)],'unitIDs':Array[_0x30397b(0x38e)](this['_selfUnitIDs'])}));}[_0xa8de06(0x1e2)](_0x52ec18){const _0x5043a7=_0xa8de06;switch(_0x52ec18[_0x5043a7(0x288)]){case 0x0:this['_handleJoinEvent'](_0x52ec18);break;case 0x1:this[_0x5043a7(0x2ac)](_0x52ec18);break;case 0x2:this[_0x5043a7(0x367)](_0x52ec18);break;}}['_handleJoinEvent'](_0xee6507){const _0x530888=_0xa8de06,{unitIDs:_0x52110b,memberID:_0x30b438,isForwarded:_0x31b2d6}=_0xee6507;_0x52110b[_0x530888(0x2bf)](_0x2876f0=>{const _0x234527=_0x530888;if(!_0x31b2d6&&this['_unitOnClients'][_0x234527(0x3de)](_0x2876f0)&&this[_0x234527(0x33a)](_0x2876f0)[_0x234527(0x2dc)](_0x3c2922[_0x234527(0x3b7)][_0x234527(0x2b3)]),!this['_unitOnClients'][_0x234527(0x3de)](_0x2876f0)||!this[_0x234527(0x44b)][_0x234527(0x3ca)](_0x2876f0)[_0x234527(0x3de)](_0x30b438)){const _0x48efa8=this['_unitOnClients']['get'](_0x2876f0)||new Set();_0x48efa8[_0x234527(0x24b)](_0x30b438),this[_0x234527(0x44b)][_0x234527(0x1f9)](_0x2876f0,_0x48efa8),this[_0x234527(0x1ff)](_0x30b438);}}),_0x31b2d6||this['_send']({'type':0x0,'memberID':this[_0x530888(0x366)],'unitIDs':[...this[_0x530888(0x196)]],'isForwarded':!0x0});}[_0xa8de06(0x1ff)](_0x26c98b){const _0x576534=_0xa8de06;this[_0x576534(0x328)](_0x26c98b);const _0x2f114f=window[_0x576534(0x468)](()=>{const _0x1b5762=_0x576534;this[_0x1b5762(0x44b)]['forEach'](_0x85724c=>{_0x85724c['delete'](_0x26c98b);});},_0x1e7119*0x2);this['_clearOtherTimers'][_0x576534(0x1f9)](_0x26c98b,_0x2f114f);}[_0xa8de06(0x328)](_0x34820c){const _0x8a91bf=_0xa8de06;if(this['_clearOtherTimers'][_0x8a91bf(0x3de)](_0x34820c)){const _0x57646f=this[_0x8a91bf(0x207)][_0x8a91bf(0x3ca)](_0x34820c);_0x57646f&&window[_0x8a91bf(0x26f)](_0x57646f),this['_clearOtherTimers'][_0x8a91bf(0x1f9)](_0x34820c,null);}}[_0xa8de06(0x2ac)](_0x43cb9a){const _0x3fcba7=_0xa8de06,{memberID:_0x463986,unitIDs:_0x1af1df}=_0x43cb9a;_0x1af1df['forEach'](_0x589969=>{const _0x2ea987=_0x21d5;var _0x30285b;const _0x15f95d=this[_0x2ea987(0x44b)]['get'](_0x589969);_0x15f95d&&(_0x15f95d[_0x2ea987(0x31e)](_0x463986),(_0x30285b=this[_0x2ea987(0x33a)](_0x589969))==null||_0x30285b[_0x2ea987(0x2dc)](_0x15f95d[_0x2ea987(0x396)]===0x0?_0x3c2922[_0x2ea987(0x3b7)][_0x2ea987(0x379)]:_0x3c2922[_0x2ea987(0x3b7)]['OTHER_CLIENTS_EDITING']));}),this[_0x3fcba7(0x328)](_0x463986);}[_0xa8de06(0x367)](_0x45fe9e){const _0x525548=_0xa8de06;this[_0x525548(0x1ff)](_0x45fe9e[_0x525548(0x443)]);}[_0xa8de06(0x190)](_0x59a436){const _0x2043a1=_0xa8de06;localStorage[_0x2043a1(0x1f4)](_0x259fea,JSON[_0x2043a1(0x2e1)](_0x59a436));}[_0xa8de06(0x1be)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x5c7b56=_0x21d5;this['_send']({'type':0x2,'memberID':this[_0x5c7b56(0x366)]});},_0x1e7119);}[_0xa8de06(0x33a)](_0x45a459){const _0x38cae6=_0xa8de06;return this['_unitStatus'][_0x38cae6(0x3de)](_0x45a459)||this[_0x38cae6(0x3ab)][_0x38cae6(0x1f9)](_0x45a459,new _0x1e9e4e['BehaviorSubject'](_0x3c2922[_0x38cae6(0x3b7)][_0x38cae6(0x379)])),this[_0x38cae6(0x3ab)]['get'](_0x45a459);}}_0x2ad26e[_0xa8de06(0x236)]=_0x165cd6,_0x2ad26e[_0xa8de06(0x2f4)]=_0x160fa0,_0x2ad26e[_0xa8de06(0x37d)]=_0x2f0f3d,_0x2ad26e[_0xa8de06(0x427)]=_0x3e26c7,Object['defineProperty'](_0x2ad26e,Symbol[_0xa8de06(0x261)],{'value':_0xa8de06(0x185)});}));function _0x21d5(_0x15fa34,_0xae8786){_0x15fa34=_0x15fa34-0x17c;const _0x570285=_0x5702();let _0x21d545=_0x570285[_0x15fa34];return _0x21d545;}function _0x5702(){const _0x5a8df1=['setShapeProps','hide','textRanges','Plugin','pipe','SUCCESS','getCollabCursors$','clipPath','forEach','switchMap','REDEMPTION_CODE_FULLY_REDEEMED','_configService','_updateLocalCursor','getUnit','12mAApYY','DesktopCollaborationStatusDisplayController','permission.title','colorChannel1','_urlService','NodePositionConvertToCursor','generateRandomId','DeleteRangeMoveUpCommandId','isFormulaString','_logService','debug','InsertRangeMoveDownCommandId','FromArray','distinctUntilChanged','_getAnchorBounding','getMemberID','startColumn','cursorInfo$','releaseFormulaLimitUrl','_cursorInfo$','@univerjs-pro/collaboration','_httpService','_docSkeletonManagerService','next','_saveTaskMap','beforeCommandExecuted','...','_hasFormulaInDirtyRanges','stringify','_color','on-line-icon_clip0_910_349','pushState','key','@univerjs/docs','show','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','OFFLINE','replaceState','SetFormulaCalculationNotificationMutation','values','off-line-icon_clip0_910_343','search','DocIMEInputManagerService','sessionTicket','CollaborationSessionService','[Window\x20Error]:\x20','REDEMPTION_USER_NOT_ELIGIBLE','SheetCollabCursorShape','_localStorageService','range','IMessageService','getRelativeToViewportCoord','focused$','_startCalculationLimit','getOwnPropertyDescriptor','collabStatus.notCollab','catch','error','UNRECOGNIZED','onMouseMove','requireSession','Failed','CollaborationEvent','round','_initCommandInterceptor','row','_onCursorDelete','_initDependencies','removeEventListener','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','isArray','getCoordByCell','_cursor','displayName','_scene','UniverProCollaborationClient','_drawAnchor','handleInsertRangeMoveDown','ENTITLE_CHAT_LIMIT_EXCEED','_status$','beginPath','fromEventSubject','UNDEFINED','newValue','unitId','6UlpjfS','symbol','Unknown\x20user','all','delete','_instanceService','runOnServer','collaboration.single-unit.warning','_registerRenderDependencies','isFormulaId','getItem','invokeId','_registerDependencies','_getMergeRange','_removeClearOtherTimer','path','some','message','Warning','getSheetId','makeDirty','ONLINE','_scheduleSaving','url(#on-line-icon_clip0_910_349)','@univerjs/drawing','jsxs','url(#off-line-icon_clip0_910_343)','sheetId','registerRefRange','use','DocSelectionManagerService','collaboration.closeRoom','_ensureSubject','Success','ENTITLE_COUPON_EXPIRED','NOT_COLLAB','MOBILE_VERIFY_CODE_MISMATCH','functionsExecutedState','onCommandExecuted','Loading','PENDING','colno','_initUserListener','updateOfflineData','isEditing','wsSessionTicketUrl','collab-text-anchor-','Error','_onCursorUpdate','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_memberService','eventID','saveTaskMap','UNAUTHENTICATED','mutations','getSheetBySheetId','executeCommand','_docSkeleton','929520WvCeHJ','_getSheetObject','CollaborationStatus','_memberID','@univerjs/sheets-ui','bottom','DisposableCollection','handleIRemoveCol','getRenderById','APPLY_PERMISSION_DENIED','doc.mutation.rich-text-editing','YUUMI_SUBSCRIPTION_NOT_FOUND','enableLocalCache','includes','CLOSE_ROOM','_context','Injector','_sheetSkeletonManagerService','_id','_handleHeartbeatEvent','_initStatusListener','transformMutationsWithChangeset','ENTITLE_USE_COUPON_NOT_1ST_TRADE','DEFAULT_WS_SESSION_TICKET_URL','SheetSkeletonManagerService','formula.calculation.unable','TEXT','setParam','length','ERROR_AGAIN','IDocClipboardService','getUnitStatus$','registerRenderModule','CommandType','OTHER_CLIENT_EDITING','_collaborationSessionService','_config','NO_OTHER_CLIENTS_EDITING','NOT_FOUND','dispose$','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','WebBrowserSingleActiveUnitService','ISocketService','ENTITLE_REPORT_LIMIT_EXCEED','_initEntityListener','location','collaboration-client-ui.config','@univerjs/ui','_uploadLog','collabCursorState$','118646iqHQzp','HEADER_MENU','amd','_setFormulaLimitStatus','CollaborationUIEventId','createSocket','href','init','from','UniverEngineRender','Disposable','now','push','APPLY_REVISION_CONFILICT','currentTheme$','getCurrentUnitForType','size','source','unit','0\x200\x2017\x2016','_transformPreviousActiveRange','getActiveSheet','@univerjs/core','SUBMIT_CHANGESET_TIMEOUT','mask','SetWorksheetActivateCommand','_anchor','handleMoveRange','function','pluginName','createElement','storage','reason','asObservable','getCollabEntity$','SNAPSHOT_HAS_BEEN_REMOVED','none','_unitStatus','setConfig','_collabSessionService','_colorIndex','@univerjs/sheets','jsx','_refreshCollabCursors','IBeforeCloseService','USER_NOT_FOUND','[LogService\x20Error]:\x20','throttleTime','collab-text-range-','UnitStatus','transformStateCache','setAlpha','_drawTextRange','formula.calculation.started','_imageIoService','debounceTime','imageSourceType','unitID','_currentUsage','children','handleDeleteRangeMoveUp','combineLatest','toString','maxFormulaLimit','runId','yellow.400','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','map','get','SOCKET_FAILED_RETRY','_hovered','LICENSE_DISTRO_REJECTED','_initUnhandledRejectionListener','getDocRanges','with','_getSaveTimeout','_removeCollabCursors','moveTo','_clearPolling','_transformUndoRedoStack','getValue','OnLineIcon','_docTransformIMECacheService','addHandlerCallback','backgroundColor','rxjs/operators','_textBubble','skeleton','has','onPointerLeave$','filter','width','saveImage','transformMutation','_checkAndWaitForCalculationPermission','SYNCED','getCurrentRevOfUnit','getUndoRedoMutationParamsCache','getUnitId','toDisposable','activeSheet$','socket$','touchDependencies','shareReplay','VIEW_MAIN','evenodd','_onRefRangeChange','YUUMI_NO_CUBOID_FOR_QUESTION','complete','_labelPosition','PAYMENT_CHANNEL_NOT_SUPPORT','_collaborationController','useDependency','transformRemoteChangeset','dirtyRanges','collabStatus.offline','useCallback','/universer-api/license/formula/limit/done','roomMembers$','roomMembers','clsx','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','deserializeRangeWithSheet','resize','ENTITLE_INVALID_COUPON_CODE','_refRangeService','redoState','string','history','getCellMatrix','Tools','_docClipboardService','ITransformService','getTypeOfUnitAdded$','getOffsetConfig','_maxFormulaLimit','UNIVER_DOC','Workbook','DATA_SOURCE_TOO_LARGE','AWAITING','_cursors','REDEMPTION_CODE_INACTIVE','http://www.w3.org/2000/svg','_toggleOnline','_getScale','_showGuardMessage','disposeWithMe','fill','PY_RUNTIME_SCRIPT_ERROR','unload','EffectRefRangId','APPLY_NON_SEQUENTIAL_REVISION','_assignedColors','_cursorShapes','lineno','m2Prime','REDEMPTION_CODE_HAS_BEEN_CREATED','_collabCursorState$','MoveRangeCommandId','addObjects','fillText','WebURLService','merge','loadOfflineData','UniverDrawing','_transformHistoryAndStateStack','setStateCache','entries','_createSocketURL','AUTHORIZE_CODE_ILLEGAL','saveOfflineData','getColorFromTheme','COLORS','_initCommandExecutedListener','LOCAL_CACHE_INTERVAL_KEY','_init','div','496kXyHMg','_saveCache','mapTo','send','RemoteUniscriptService','connectInjector','_startDocCollabCursor','IImageIoService','_applyCommand','_collabCursorController','UniverIcon','getSkeleton','memberID','INVITE_CODE_HAS_BEEN_UES','whenReady','Subject','searchParams','defs','PERMISSION_DENIED','currentSkeleton$','_unitOnClients','getAncestorScale','SNAPSHOT_INVALID_SNAPSHOT','limitInfo','getActiveRange','attrs','split','registerComponent','DependentOn','CollaborationController','exports','_hover','black','closePath','replace','USER_IS_ANONYMOUS','LOGIN_TOKEN_PROCESSING_FAILED','addEventListener','defineProperty','TOO_MANY_REQUESTS','YUUMI_AI_RUN_FAILED','UniverDocsUi','session.collaboration-timeout','_initStatusComponent','@univerjs/engine-formula','setActiveRange','getCurrent','@univerjs/engine-render','YUUMI_UNABLE_LOAD_URL','setTimeout','arc','startRow','react/jsx-runtime','_startSheetCollabCursor','RECT','getLocalCacheKey','SheetsSelectionsService','getRangePointData','assignAColorForMemberID','AWAITING_WITH_PENDING','isTransformMutationsWithChangesetSuccess','6857389vpafGD','Module','DataLoaderService','subunit','ThemeService','APPLY_DUPLICATED','_monkeyPatchLogService','RevisionService','UniverNetwork','?taskId=','MemberService','BrowserCollaborationSocketService','_send','REDEMPTION_INVALID_CODE','ENTITLE_NEED_BILLING_ADDRESS','UniverInstanceType','bind','_getSessionTicket','_selfUnitIDs','_commandService','_transformService','_handleHover','transform','contains','popstate','trim','purple.300','substring','_pollingInterval','measureText','undoState','_lastResponseTimestamp','getUnhiddenWorksheets','_initEvent','body','_notificationService','_localeService','_docSyncEditingCollabCursorService','_hideTimer','COMPLETION_FINISHED','TEXT_RANGE_LAYER_INDEX','_docTransformSelectionsService','fromEvent','_updateSubUnitFromURLParams','@univerjs/docs-ui','_anchorDot','_dataLoaderService','_online','WECHAT_HAS_BEEN_BOUND','createInstance','lineTo','FETCH_MISS','DocCollaborationEntity','currentUsage','LocaleService','YUUMI_RATE_OVER_LIMIT','ILocalStorageService','CONNECTOR_DATA_TOO_LARGE','_scheduleHeartbeat','3vUXLXv','reconnect','DOC_RANGE_TYPE','unshift','UniverDocs','totalFormulasToCalculate','_cachedData','mergeOverrideWithDependencies','getColor','_messageService','handleInsertRangeMoveRight','UniverCore','takeUntil','fillStyle','isActive','handleInsertRow','UniverSheetsUi','UniverCollaborationClientUIPlugin','stageInfo','/universer-api/frontend/logs','_disabled','ISnapshotServerService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','shift','fillRule','/universer-api/license/formula/limit/start','_colorAssignService','code','RxDisposable','_revisionService','rxjs','_updateCollabCursors','USER_NOT_INVITED_CODE','HTTPService','onTransformChange$','_handleEvent','_injector','MessageType','xlink:href','getSheetObject','Tooltip','ColorKit','ACTIVE_UNIT_EVENT_CHANNEL','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','EMAIL_HAS_BEEN_BOUND','UniverCollaborationClientPlugin','getUniverSheetInstance','/run/','min','NodePositionConvertToRectRange','1491170BhpkIQ','_backgroundColor','_docTransformStateCacheService','setItem','ranges','transformSelections','_toggleOffline','UniverUi','set','EMAIL_VERIFY_CODE_MISMATCH','_heartbeatTimer','17668VNPoNq','LOCAL_CACHE_INTERVAL','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_scheduleClearOtherTimer','font','getParam','handleIRemoveRow','0\x200\x2016\x2016','subscribeEvent','urlChange$','assign','_clearOtherTimers','dispose','forwardRef','isTransformMutationFailure','Inject','univerjs-icon\x20univerjs-icon-','save','idSuffix','max','SessionStatus','hovered','Rect','actions','startFormulaLimitUrl','exhaustSavingTask','onPointerMove$','[CollaborationDataLoaderController]','then','_beforeCloseService','_render','IUniverInstanceService','m1Prime','ICommandService','UniverProCollaborationClientUi','getFocusedUnit','INVALID_ARGUMENT','_name','MUTATION','CURRENT_STATUS_CANNOT_OPERATE','sessionStatus$','_collaborationUIEventService','sheetID','syncEditingCollabCursor','_syncEditingCollabCursorService','_lastPointer','getMember','tag','height','YUUMI_URL_COL_OUT_OF_RANGE','override','_entityInit$','endColumn','_session','JOIN_ROOM_FAILED','_getFormulaLimitStatus','React','getConfig','IURLService','UniverProCollaboration','collabStatus.syncing','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','status$','CollaborationDataLoaderController','BehaviorSubject','join','unhandledrejection','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addObject','ALREADY_EXISTS','SetTextSelectionsOperation','_docStateChangeManagerService','debounce','blue.400','stack','disableLocalCache','_setupSubUnitSync','application/json','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','add','Optional','unsubscribe','CONFLICT','selections','INVITE_CODE_ALREADY_BOUND','ILocalCacheService','result','1508640NnwZDO','deepClone','_initWindowErrorListener','onStarting','data','_uiPartsService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','DeleteRangeMoveLeftCommandId','1em','ILogService','color','selection','registerBeforeClose','origin','toStringTag','url(#$1','INVALID_INVITE_CODE','_drawRectRange','DocStateChangeManagerService','YUUMI_ASYNCIO_CANCELLED','params','CollaborationUIEventService','editingUnit','collabStatus.synced','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','USERS_LEAVE','translate(.97)','UPDATE_CURSOR','clearTimeout','_roomMembers$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','name','findNodePositionByCharIndex','_univerInstanceService','cursorInfo','SetDocZoomRatioOperation','column','_range','_checkCalculationAvailable','UNIVER_SHEET','defIds','SetFormulaCalculationStartMutation','addClipboardHook','off-line-icon','InsertRangeMoveRightCommandId','collabStatus.fetchMiss','_releaseCalculationLimit','_draw','START_CALCULATION','endRow','CHANGESET_REVISION_CONFILICT','collab-client.tooltip.reconnect','REDEMPTION_CODE_NOT_STARTED','type','_shapes','toRgbString','LICENSE_IMPORT_SIZE_EXCEEDED','_taskIds','_doCreateSocket','@univerjs-pro/collaboration-client','_eventUnsubscribe','replaceDocRanges','_entities','_renderManagerService','286758FHhyrt','FormulaExecuteStageType','_updateURLWithCurrentState','useObservable','UniverEngineFormula','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','100kZHbgQ','getCurrentSelections','APPLY_REJECT','_setupBeforeClosingHandler','restore','onPointerEnter$','rgba(255,\x20255,\x20255,\x200.01)','ENTITLE_CAN_NOT_BUY_LOWER_OTP','Shape','labelPosition','post','session.will-retry','/universer-api/license/formula/limit/status','white','current','session.connection-failed','text','clearInterval','subscribe','_handleLeaveEvent','UniverRpc','event$','LICENSE_EXPORT_SIZE_EXCEEDED','drawWith','top','_initResize','OTHER_CLIENTS_EDITING','YUUMI_CONNECTOR_URL_NOT_FOUND','IConfigService','_themeService'];_0x5702=function(){return _0x5a8df1;};return _0x5702();}
|