@univerjs-pro/collaboration-client-ui 0.15.0-insiders.20260108-7b9120d → 0.15.0-insiders.20260110-48b77c8
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 _0x25bc(_0x1d6e94,_0x2c1185){_0x1d6e94=_0x1d6e94-0x1dc;const _0x5683ab=_0x5683();let _0x25bc54=_0x5683ab[_0x1d6e94];return _0x25bc54;}function _0x5683(){const _0x3e612c=['source','_roomMembers$','transformSelections','bottom','flatMap','_getFormulaLimitStatus','length','YUUMI_NO_CUBOID_FOR_QUESTION','INVALID_ARGUMENT','fillStyle','_updateCollabCursors','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','throttleTime','_backgroundColor','ranges','TEXT_RANGE_LAYER_INDEX','IBeforeCloseService','TEXT','Unknown\x20user','_handleEvent','_beforeCloseService','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','post','all','dispose$','DocSelectionManagerService','add','dispose','setUndoRedoMutationParamsCache','transform','setAlpha','endColumn','collaboration-client-ui.config','ENTITLE_CHAT_LIMIT_EXCEED','_labelPosition','getLocalCacheKey','BuiltInUIPart','random','imageSourceType','off-line-icon_clip0_910_343','clipPath','createElement','replaceState','Plugin','Shape','complete','unitId','transformByState','1em','_anchor','getRenderById','addObject','SheetSkeletonManagerService','[Window\x20Error]:\x20','_setupSubUnitSync','_online','MOBILE_HAS_BEEN_BOUND','_disabled','_onRefRangeChange','takeUntil','generateRandomId','_docStateChangeManagerService','endRow','handleDeleteRangeMoveUp','_localStorageService','DocStateChangeManagerService','isEditing','ILogService','collab-rect-range-','symbol','url(#on-line-icon_clip0_910_349)','LOCAL_CACHE_INTERVAL_KEY','catch','REDEMPTION_CODE_NOT_STARTED','_drawTextRange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SUBMIT_CHANGESET_TIMEOUT','YUUMI_RATE_OVER_LIMIT','roomMembers$','off-line-icon','_cursor','HTTPService','APPLY_PERMISSION_DENIED','_removeClearOtherTimer','IMessageService','Subject','CHANGESET_REVISION_CONFILICT','BehaviorSubject','fillRule','purple.300','UniverProCollaborationClient','_themeService','unit','href','subscribeEvent','contains','_initUnhandledRejectionListener','DataLoaderService','getCollabCursors$','includes','hovered','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','cursorInfo','getDocRanges','transformStateCache','_updateLocalCursor','_setupBeforeClosingHandler','IImageIoService','_docTransformIMECacheService','SHEET_VIEWPORT_KEY','PENDING','_localeService','evenodd','UniverProCollaboration','SessionStatus','_collabCursorController','_handleJoinEvent','IUniverInstanceService','activeSheet$','RefRangeService','Rect','beforeCommandExecuted','attrs','WebURLService','http://www.w3.org/2000/svg','currentTheme$','NO_OTHER_CLIENTS_EDITING','reason','fromEvent','createSocket','SetWorksheetActivateCommand','APPLY_REJECT','_context','send','isTransformMutationsWithChangesetSuccess','INVITE_CODE_ALREADY_BOUND','useDependency','_eventUnsubscribe','HEADER_MENU','_handleLeaveEvent','urlChange$','LICENSE_DISTRO_REJECTED','_collabSessionService','selections','collab-client.tooltip.reconnect','permission.title','_collaborationController','UnitStatus','findNodePositionByCharIndex','COMPLETION_FINISHED','DisposableCollection','transformIMECache','UPDATE_CURSOR','replaceDocRanges','@univerjs/engine-formula','BrowserCollaborationSocketService','[Unhandled\x20Rejection]:\x20','_document','ILocalStorageService','RemoveColCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','Optional','UNIVER_SHEET','mutations','Module','InsertRangeMoveDownCommandId','wsSessionTicketUrl','origin','from','m2Prime','current','jsxs','ENTITLE_INVALID_COUPON_CODE','session.will-retry','[CollaborationDataLoaderController]','@univerjs/docs','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Injector','switchMap','NodePositionConvertToRectRange','LICENSE_EXPORT_SIZE_EXCEEDED','status$','onCommandExecuted','save','CollaborationStatus','LOGIN_TOKEN_PROCESSING_FAILED','path','FromArray','set','handleMoveRange','IRenderManagerService','CollaborationDataLoaderController','runOnServer','session.collaboration-timeout','debounceTime','INVITE_CODE_HAS_BEEN_UES','@univerjs/core','text','lineTo','univerjs-icon\x20univerjs-icon-','restore','_createSocketURL','children','executionId','_startDocCollabCursor','next','subscribe','NOT_COLLAB','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','on-line-icon','enableFrontendLog','_refreshCollabCursors','arc','_removeCollabCursors','_sheetSkeletonManagerService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','ITransformService','object','_transformPreviousActiveRange','collabCursorState$','RECT','handleIRemoveRow','DesktopCollaborationStatusDisplayController','[LogService\x20Error]:\x20','_assignedColors','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Rectangle','_revisionService','APPLY_NON_SEQUENTIAL_REVISION','subunit','join','ENTITLE_COUPON_USED_UP','jsx','SetTextSelectionsOperation','onPointerMove$','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','SetDocZoomRatioOperation','_renderManagerService','collab-text-anchor-','...','Workbook','getUniverSheetInstance','_draw','_taskIds','ISnapshotServerService','_initEntityListener','collab-text-range-','APPLY_DUPLICATED','3643110FRtooQ','touchDependencies','getConfig','_render','SheetCollabCursorShape','key','drawWith','init','getOwnPropertyDescriptor','_refRangeService','OTHER_CLIENTS_EDITING','YUUMI_UNABLE_LOAD_URL','_shapes','_registerDependencies','saveTaskMap','/universer-api/frontend/logs','setShapeProps','UNIVER_DOC','now','session.connection-failed','_hasFormulaInDirtyRanges','OnLineIcon','getCollabEntity$','ICommandService','REDEMPTION_USER_NOT_ELIGIBLE','UniverDrawing','collaboration.single-unit.warning','getSkeleton','_docClipboardService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','formula.calculation.started','exhaustSavingTask','WebSocketService','asObservable','EffectRefRangId','DEFAULT_WS_SESSION_TICKET_URL','removeParam','setConfig','ONLINE','getFocusedUnit','range','_heartbeatTimer','RevisionService','PERMISSION_DENIED','_init','_entities','event$','clearInterval','SNAPSHOT_INVALID_SNAPSHOT','round','getSheetId','functionsExecutedState','Inject','TOO_MANY_REQUESTS','_cursorInfo$','runId','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','INVITE_CODE_REQUIRED','engine','getSheetBySheetId','white','tag','entityInit$','eventID','exports','_ensureSubject','_syncEditingCollabCursorService','_entityInit$','_collaborationUIEventService','_session','_cachedData','_status$','_hideTimer','height','makeDirty','pluginName','closePath','executeCommand','red.300','DATA_SOURCE_TOO_LARGE','totalFormulasToCalculate','1680575UubygZ','_getMergeRange','_docSyncEditingCollabCursorService','_monkeyPatchLogService','INotificationService','React','getSheetObject','doc.mutation.rich-text-editing','onStarting','_updateURLWithCurrentState','_range','SetFormulaCalculationStartMutation','idSuffix','ILocalCacheService','OffLineIcon','_checkAndWaitForCalculationPermission','error','/universer-api/license/formula/limit/status','ACTIVE_UNIT_EVENT_CHANNEL','univer-mr-2\x20univer-flex\x20univer-text-xl','_pollingInterval','CollaborationSessionService','_toggleOnline','registerComponent','handleInsertCol','getRangePointData','MOBILE_VERIFY_CODE_MISMATCH','DOC_RANGE_TYPE','COLORS','InsertColCommandId','@univerjs-pro/collaboration','isTransformMutationFailure','enableLocalCache','MessageType','UniverNetwork','\x20at\x20','limitInfo','getAncestorScale','getMemberID','rxjs','message','@univerjs/engine-render','type','INVALID_INVITE_CODE','toStringTag','then','FormulaExecutedStateType','3274968zbNxjD','EMAIL_VERIFY_CODE_MISMATCH','lineno','Disposable','font','getValue','saveImage','_scheduleSaving','/universer-api/license/formula/limit/done','collaboration.offline-data-not-saved','_uploadLog','_currentUsage','undoState','setParam','_scheduleHeartbeat','_textBubble','skeleton','CLOSE_ROOM','IURLService','_hovered','getStateCache','startFormulaLimitUrl','memberID','UNRECOGNIZED','SetSelectionsOperation','toDisposable','socket$','_cursorShapes','ENTITLE_DUP_SUBSCRIPTION','unitID','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','filename','_saveCache','ALREADY_EXISTS','unshift','color','CollaborationSocketService','top','MoveRangeCommandId','m1Prime','FETCH_MISS','RxDisposable','_handleHover','addObjects','rxjs/operators','defs','CollaborationUIEventId','assignAColorForMemberID','string','_initStatusComponent','_applyCommand','transformMutationsWithChangeset','green.600','ENTITLE_INSUFFICIENT_QUOTA','_docSkeletonManagerService','getformulaLimitStatusUrl','_getSessionTicket','InsertRangeMoveRightCommandId','_updateSubUnitFromURLParams','row','CURRENT_STATUS_CANNOT_OPERATE','has','amd','isFormulaString','deepClone','SUCCESS','registerRefRange','_collaborationSessionService','NOT_FOUND','@univerjs/docs-ui','filter','SOCKET_FAILED','_lastResponseTimestamp','_drawRectRange','trim','Warning','useCallback','DocIMEInputManagerService','_setFormulaLimitStatus','with','OTHER_CLIENT_EDITING','rgba(255,\x20255,\x20255,\x200.01)','requireSession','RichTextEditingMutation','_scheduleClearOtherTimer','LICENSE_IMPORT_SIZE_EXCEEDED','sessionStatus$','_send','some','/run/','_maxFormulaLimit','CollaborationEvent','code','searchParams','on-line-icon_clip0_910_349','getUnitId','SetFormulaCalculationNotificationMutation','_dataLoaderService','_name','ENTITLE_REPORT_LIMIT_EXCEED','_unitOnClients','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_initWindowErrorListener','isFormulaId','_memberService','_selfUnitIDs','FormulaExecuteStageType','_colorIndex','#FFF','serializeRangeWithSheet','_handleHeartbeatEvent','_startSheetCollabCursor','MemberService','react/jsx-runtime','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','@univerjs-pro/collaboration-client','registerDependencies','column','application/json','show','USER_NOT_FOUND','unsubscribe','YUUMI_ASYNCIO_CANCELLED','_onCursorDelete','4HXpXSS','_collabCursorState$','redoState','UniverCore','getItem','mask','_unitStatus','function','getCurrentUnitForType','stack','useObservable','url(#$1','_config','IConfigService','ISocketService','whenReady','_initEvent','UniverCollaborationClientPlugin','WECHAT_HAS_BEEN_BOUND','getColor','textRanges','_transformService','hide','defIds','stageInfo','handleInsertRangeMoveRight','transformRemoteChangeset','setStateCache','_clearPolling','USERS_LEAVE','UniverDesign','handleIRemoveCol','setInterval','url(#off-line-icon_clip0_910_343)','div','addEventListener','defineProperty','_lastPointer','PY_RUNTIME_SCRIPT_ERROR','clearTimeout','CanceledError','sheetId','replace','_initCommandInterceptor','IDocClipboardService','DocCollaborationEntity','disposeWithMe','12272112vJYZZl','fill','APPLY_REVISION_CONFILICT','collabStatus.conflict','push','getRelativeToViewportCoord','_onCursorUpdate','startRow','selection','_scene','YUUMI_URL_COL_OUT_OF_RANGE','createInstance','_saveTaskMap','invokeId','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ticket','substring','split','debounce','delete','actions','2878053SWZwAj','ColorKit','NodePositionConvertToCursor','CommandType','backgroundColor','UNDEFINED','handleInsertRangeMoveDown','SheetsSelectionsService','YUUMI_AI_RUN_FAILED','toRgbString','svg','_color','LICENSE_MAX_UNITS_EXCEEDED','_httpService','UniverInstanceType','Tools','ThemeService','min','colno','LocaleService','4940685hFvAEr','_memberID','entries','startsWith','UniverUi','toString','getActiveRange','fillText','RemoveRowCommandId','ENTITLE_CAN_NOT_BUY_LOWER_OTP','getCurrentSelections','MUTATION','values','storage','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_commandService','_startCalculationLimit','_initUserListener','translate(.97)','Error','YUUMI_SUBSCRIPTION_NOT_FOUND','IUIPartsService','black','_univerInstanceService','params','dirtyRanges','getCellMatrix','_instanceService','_hover','getOffsetConfig','onPointerEnter$','getMember','LOGIN_FAILED','_checkCalculationAvailable','stringify','colorChannel1','226735LUMHAA','_initStatusListener','focused$','operators','@univerjs/sheets-ui','78KPlxRg','REDEMPTION_CODE_FULLY_REDEEMED','get','size','REDEMPTION_CODE_HAS_BEEN_CREATED','UniverSheets','map','width','TRANSFORM_CHANGE_OBSERVABLE_TYPE','assign','CollaborationController','@univerjs/network','data','CONFLICT','getTypeOfUnitDisposed$','cursorInfo$','xlink:href','InsertRowCommandId','_transformHistoryAndStateStack','transformMutation','OFFLINE','PAYMENT_CHANNEL_NOT_SUPPORT','syncEditingCollabCursor','YUUMI_ALL_TABLES_IS_INVALID','onRendered','runRefRangeMutations','_configService','currentUsage','RegularPolygon','roomMembers','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_anchorDot','SOCKET_FAILED_RETRY','AUTHORIZE_CODE_ILLEGAL','_cursors','getCoordByCell','ENTITLE_COUPON_EXPIRED','_transformUndoRedoStack','LOCAL_CACHE_INTERVAL','_getSaveTimeout','mapTo','_doCreateSocket','REDEMPTION_CODE_INACTIVE','RemoteUniscriptService','body','pushState','search','displayName','_messageService','unhandledrejection','UNAUTHENTICATED','START_CALCULATION','history','_docTransformSelectionsService','blue.400','EMAIL_HAS_BEEN_BOUND','isArray','M0\x200H16V16H0z','registerBeforeClose','measureText','_initResize','_id','Tooltip','_notificationService','_imageIoService','univer-flex\x20univer-items-center','getParam','0\x200\x2017\x2016','setItem','INTERNAL_ERROR','editingUnit','7WXkNeZ','_urlService','merge','setActiveRange','currentColor','getActiveSheet','ENSURE_SNAPSHOT_EXECUTION','UniverDocs','_logService','Failed','popstate','removeEventListener','UniverCollaborationClientUIPlugin','_docTransformStateCacheService','_initDependencies','onPointerLeave$','AWAITING_WITH_PENDING','_drawAnchor','deserializeRangeWithSheet','@univerjs/rpc','pipe','debug','setTimeout','collaboration.closeRoom','yellow.400','_colorAssignService','name','mergeOverrideWithDependencies','Success','UniverProCollaborationClientUi','_clearOtherTimers','CONNECTOR_DATA_TOO_LARGE','clsx','_localCacheService','disableLocalCache','newValue','location','_getScale','CollaborationUIEventService','uni.network.url-service','ENTITLE_NEED_BILLING_ADDRESS','resize','_injector','forEach','collabStatus.fetchMiss','result'];_0x5683=function(){return _0x3e612c;};return _0x5683();}(function(_0x20bb3c,_0x26735a){const _0x134a84=_0x25bc,_0x570f8d=_0x20bb3c();while(!![]){try{const _0x48e708=parseInt(_0x134a84(0x1ff))/0x1+-parseInt(_0x134a84(0x22e))/0x2+parseInt(_0x134a84(0x2ee))/0x3*(-parseInt(_0x134a84(0x2aa))/0x4)+parseInt(_0x134a84(0x326))/0x5*(-parseInt(_0x134a84(0x32b))/0x6)+-parseInt(_0x134a84(0x372))/0x7*(-parseInt(_0x134a84(0x2d9))/0x8)+parseInt(_0x134a84(0x302))/0x9+parseInt(_0x134a84(0x498))/0xa;if(_0x48e708===_0x26735a)break;else _0x570f8d['push'](_0x570f8d['shift']());}catch(_0xf61e87){_0x570f8d['push'](_0x570f8d['shift']());}}}(_0x5683,0xe5dcf),function(_0x46aca2,_0x2c29c7){const _0x222eb8=_0x25bc;typeof exports==_0x222eb8(0x479)&&typeof module<'u'?_0x2c29c7(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==_0x222eb8(0x2b1)&&define[_0x222eb8(0x26c)]?define([_0x222eb8(0x1ee),_0x222eb8(0x29f),_0x222eb8(0x2a1),_0x222eb8(0x464),'@univerjs/ui',_0x222eb8(0x226),'@univerjs/design','react',_0x222eb8(0x385),'@univerjs/sheets',_0x222eb8(0x228),_0x222eb8(0x336),_0x222eb8(0x273),'@univerjs/drawing',_0x222eb8(0x21d),_0x222eb8(0x44f),_0x222eb8(0x43a),_0x222eb8(0x25a),_0x222eb8(0x32a)],_0x2c29c7):(_0x46aca2=typeof globalThis<'u'?globalThis:_0x46aca2||self,_0x2c29c7(_0x46aca2[_0x222eb8(0x38f)]={},_0x46aca2['React'],_0x46aca2[_0x222eb8(0x3fa)],_0x46aca2[_0x222eb8(0x2ad)],_0x46aca2[_0x222eb8(0x306)],_0x46aca2[_0x222eb8(0x226)],_0x46aca2[_0x222eb8(0x2c8)],_0x46aca2[_0x222eb8(0x204)],_0x46aca2['UniverRpc'],_0x46aca2[_0x222eb8(0x330)],_0x46aca2['UniverEngineRender'],_0x46aca2[_0x222eb8(0x221)],_0x46aca2['UniverDocsUi'],_0x46aca2[_0x222eb8(0x4b1)],_0x46aca2[_0x222eb8(0x411)],_0x46aca2[_0x222eb8(0x379)],_0x46aca2['UniverEngineFormula'],_0x46aca2[_0x222eb8(0x226)][_0x222eb8(0x329)],_0x46aca2['UniverSheetsUi']));}(this,function(_0x54bc6b,_0xc35d61,_0x5599fc,_0x2841d1,_0x151eb1,_0x4c6c40,_0x42fa8d,_0x5ee1b7,_0x3c93ce,_0x1c04c7,_0x16a746,_0x1e8385,_0x1fc54e,_0x24bc58,_0x32c33c,_0x231ed4,_0x2dab60,_0xac2d00,_0xa34f54){'use strict';const _0x374b20=_0x25bc;var _0x588554=Object[_0x374b20(0x2ce)],_0x34bb58=(_0x46bd16,_0x1e13cb,_0x228f7b)=>_0x1e13cb in _0x46bd16?_0x588554(_0x46bd16,_0x1e13cb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x228f7b}):_0x46bd16[_0x1e13cb]=_0x228f7b,_0x7caa35=(_0x2a5548,_0x248d9d,_0x1ec9fc)=>_0x34bb58(_0x2a5548,typeof _0x248d9d!=_0x374b20(0x3e5)?_0x248d9d+'':_0x248d9d,_0x1ec9fc);function _0x1792c8({ref:_0x5a41c0,..._0x229de0}){const _0x2ade1e=_0x374b20,{icon:_0x163599,id:_0x406ff8,className:_0x43dabb,extend:_0x24a373,..._0x53f757}=_0x229de0,_0x1d36dc=(_0x2ade1e(0x467)+_0x406ff8+'\x20'+(_0x43dabb||''))[_0x2ade1e(0x278)](),_0x3967a9=_0x5ee1b7['useRef']('_'+_0x298a33());return _0x498fce(_0x163599,''+_0x406ff8,{'defIds':_0x163599[_0x2ade1e(0x2c1)],'idSuffix':_0x3967a9[_0x2ade1e(0x44a)]},{'ref':_0x5a41c0,'className':_0x1d36dc,..._0x53f757},_0x24a373);}function _0x498fce(_0x319d1b,_0x7f2096,_0x3fea92,_0x48f8eb,_0x1ee465){const _0x12e9fd=_0x374b20;return _0x5ee1b7[_0x12e9fd(0x3c9)](_0x319d1b[_0x12e9fd(0x1eb)],{'key':_0x7f2096,..._0x16096b(_0x319d1b,_0x3fea92,_0x1ee465),..._0x48f8eb},(_0xf34623(_0x319d1b,_0x3fea92)['children']||[])[_0x12e9fd(0x331)]((_0x2f1801,_0x37538d)=>_0x498fce(_0x2f1801,_0x7f2096+'-'+_0x319d1b[_0x12e9fd(0x1eb)]+'-'+_0x37538d,_0x3fea92,void 0x0,_0x1ee465)));}function _0x16096b(_0x36314d,_0x4bff8b,_0x1f8e00){const _0x40ca9f=_0x374b20,_0x195ddc={..._0x36314d[_0x40ca9f(0x41a)]};_0x1f8e00!=null&&_0x1f8e00[_0x40ca9f(0x325)]&&_0x195ddc[_0x40ca9f(0x2da)]===_0x40ca9f(0x325)&&(_0x195ddc['fill']=_0x1f8e00[_0x40ca9f(0x325)]),_0x36314d[_0x40ca9f(0x1eb)]===_0x40ca9f(0x2af)&&_0x195ddc['id']&&(_0x195ddc['id']=_0x195ddc['id']+_0x4bff8b['idSuffix']),Object['entries'](_0x195ddc)[_0x40ca9f(0x39d)](([_0x31c7ff,_0x76c625])=>{const _0x133cd3=_0x40ca9f;_0x31c7ff===_0x133cd3(0x2af)&&typeof _0x76c625==_0x133cd3(0x25e)&&(_0x195ddc[_0x31c7ff]=_0x76c625['replace'](/url\(#(.*)\)/,_0x133cd3(0x2b5)+_0x4bff8b[_0x133cd3(0x20b)]+')'));});const {defIds:_0x102791}=_0x4bff8b;return!_0x102791||_0x102791['length']===0x0||(_0x36314d[_0x40ca9f(0x1eb)]==='use'&&_0x195ddc['xlink:href']&&(_0x195ddc[_0x40ca9f(0x33b)]=_0x195ddc[_0x40ca9f(0x33b)]+_0x4bff8b['idSuffix']),Object[_0x40ca9f(0x304)](_0x195ddc)['forEach'](([_0x2657ea,_0x5e70bc])=>{const _0x43762f=_0x40ca9f;typeof _0x5e70bc==_0x43762f(0x25e)&&(_0x195ddc[_0x2657ea]=_0x5e70bc[_0x43762f(0x2d4)](/url\(#(.*)\)/,_0x43762f(0x2b5)+_0x4bff8b[_0x43762f(0x20b)]+')'));})),_0x195ddc;}function _0xf34623(_0x413cda,_0x13f3e2){const _0x5cd661=_0x374b20;var _0x2182a4;const {defIds:_0x18afa4}=_0x13f3e2;return!_0x18afa4||_0x18afa4[_0x5cd661(0x3a6)]===0x0?_0x413cda:_0x413cda[_0x5cd661(0x1eb)]==='defs'&&((_0x2182a4=_0x413cda[_0x5cd661(0x46a)])!=null&&_0x2182a4['length'])?{..._0x413cda,'children':_0x413cda[_0x5cd661(0x46a)]['map'](_0xad3953=>typeof _0xad3953[_0x5cd661(0x41a)]['id']==_0x5cd661(0x25e)&&_0x18afa4&&_0x18afa4[_0x5cd661(0x403)](_0xad3953['attrs']['id'])?{..._0xad3953,'attrs':{..._0xad3953[_0x5cd661(0x41a)],'id':_0xad3953[_0x5cd661(0x41a)]['id']+_0x13f3e2['idSuffix']}}:_0xad3953)}:_0x413cda;}function _0x298a33(){const _0x362e47=_0x374b20;return Math[_0x362e47(0x3c5)]()[_0x362e47(0x307)](0x24)[_0x362e47(0x2e9)](0x2,0x8);}_0x1792c8[_0x374b20(0x35a)]='UniverIcon';const _0x421125={'tag':_0x374b20(0x2f8),'attrs':{'xmlns':_0x374b20(0x41c),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x374b20(0x3d0),'height':_0x374b20(0x3d0)},'children':[{'tag':'g','attrs':{'clipPath':_0x374b20(0x2cb)},'children':[{'tag':_0x374b20(0x45a),'attrs':{'stroke':_0x374b20(0x376),'d':_0x374b20(0x3b5),'strokeLinecap':_0x374b20(0x1df),'strokeLinejoin':_0x374b20(0x1df),'strokeWidth':1.2}}]},{'tag':_0x374b20(0x25b),'attrs':{},'children':[{'tag':_0x374b20(0x3c8),'attrs':{'id':_0x374b20(0x3c7)},'children':[{'tag':_0x374b20(0x45a),'attrs':{'fill':_0x374b20(0x1ea),'d':_0x374b20(0x364)}}]}]}],'defIds':[_0x374b20(0x3c7)]},_0x356e81=_0x5ee1b7['forwardRef'](function(_0x463b6d,_0x3e0bdb){const _0x539f4c=_0x374b20;return _0x5ee1b7[_0x539f4c(0x3c9)](_0x1792c8,Object[_0x539f4c(0x334)]({},_0x463b6d,{'id':_0x539f4c(0x3ef),'ref':_0x3e0bdb,'icon':_0x421125}));});_0x356e81[_0x374b20(0x35a)]=_0x374b20(0x20d);const _0xc299df={'tag':_0x374b20(0x2f8),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x374b20(0x36e),'width':'1em','height':_0x374b20(0x3d0)},'children':[{'tag':'g','attrs':{'clipPath':_0x374b20(0x3e6)},'children':[{'tag':'path','attrs':{'stroke':_0x374b20(0x376),'d':_0x374b20(0x48b),'strokeLinecap':_0x374b20(0x1df),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x374b20(0x3c8),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x374b20(0x1ea),'d':_0x374b20(0x364),'transform':_0x374b20(0x314)}}]}]}],'defIds':[_0x374b20(0x28c)]},_0x5444ed=_0x5ee1b7['forwardRef'](function(_0x194eaf,_0x5b0800){const _0x222c6c=_0x374b20;return _0x5ee1b7[_0x222c6c(0x3c9)](_0x1792c8,Object[_0x222c6c(0x334)]({},_0x194eaf,{'id':_0x222c6c(0x471),'ref':_0x5b0800,'icon':_0xc299df}));});_0x5444ed[_0x374b20(0x35a)]=_0x374b20(0x4ad);function _0x1cbdd6(_0x225648){const _0x318a50=_0x374b20;switch(_0x225648){case _0x5599fc[_0x318a50(0x458)]['OFFLINE']:return'collabStatus.offline';case _0x5599fc['CollaborationStatus'][_0x318a50(0x338)]:return _0x318a50(0x2dc);case _0x5599fc[_0x318a50(0x458)][_0x318a50(0x256)]:return _0x318a50(0x39e);case _0x5599fc['CollaborationStatus'][_0x318a50(0x46f)]:return'collabStatus.notCollab';case _0x5599fc[_0x318a50(0x458)]['AWAITING']:case _0x5599fc['CollaborationStatus'][_0x318a50(0x382)]:return'collabStatus.syncing';case _0x5599fc[_0x318a50(0x458)]['SYNCED']:case _0x5599fc['CollaborationStatus'][_0x318a50(0x40e)]:return'collabStatus.synced';}}function _0x5bbb59(_0x120b0a){const _0x540ed2=_0x374b20,{status$:_0x26d744}=_0x120b0a,_0x5e3a99=_0x151eb1[_0x540ed2(0x2b4)](_0x26d744,_0x5599fc[_0x540ed2(0x458)][_0x540ed2(0x46f)]),_0x36cafe=_0x151eb1[_0x540ed2(0x428)](_0x2841d1[_0x540ed2(0x301)]),_0x564615=_0x151eb1['useDependency'](_0x5599fc[_0x540ed2(0x214)]),_0x3928c1=_0x5e3a99!==_0x5599fc[_0x540ed2(0x458)][_0x540ed2(0x33f)],_0x178a45=_0x36cafe['t'](_0x1cbdd6(_0x5e3a99)),_0x83293=_0x3928c1?_0xc35d61[_0x540ed2(0x488)](_0x5444ed,{}):_0xc35d61[_0x540ed2(0x488)](_0x356e81,{}),_0x10a930=_0x5ee1b7[_0x540ed2(0x27a)](()=>{_0x3928c1||_0x564615['reconnect']();},[_0x3928c1,_0x564615]);function _0x25472a(){const _0x52baf3=_0x540ed2;return _0xc35d61[_0x52baf3(0x44b)]('div',{'className':_0x52baf3(0x36c),'onClick':_0x10a930,'children':[_0xc35d61[_0x52baf3(0x488)](_0x52baf3(0x2cc),{'className':_0x42fa8d[_0x52baf3(0x392)](_0x52baf3(0x212),{'univer-text-green-500':_0x3928c1,'univer-text-red-500':!_0x3928c1}),'children':_0x83293}),_0xc35d61[_0x52baf3(0x488)]('div',{'className':_0x52baf3(0x1e6),'children':_0x178a45})]});}return _0x3928c1?_0x25472a():_0xc35d61[_0x540ed2(0x488)](_0x42fa8d[_0x540ed2(0x369)],{'title':_0x36cafe['t'](_0x540ed2(0x430)),'children':_0x25472a()});}var _0x1cda8f=Object[_0x374b20(0x4a0)],_0x3a4154=(_0x188096,_0x4fc615,_0x5398fa,_0x1c3c42)=>{const _0x38898e=_0x374b20;for(var _0x38d723=_0x1c3c42>0x1?void 0x0:_0x1c3c42?_0x1cda8f(_0x4fc615,_0x5398fa):_0x4fc615,_0x432f9e=_0x188096[_0x38898e(0x3a6)]-0x1,_0x10bc7f;_0x432f9e>=0x0;_0x432f9e--)(_0x10bc7f=_0x188096[_0x432f9e])&&(_0x38d723=_0x10bc7f(_0x38d723)||_0x38d723);return _0x38d723;},_0x1b836c=(_0x4737b1,_0x5ee1f2)=>(_0x5be3a8,_0x52e6c5)=>_0x5ee1f2(_0x5be3a8,_0x52e6c5,_0x4737b1);_0x54bc6b['DesktopCollaborationStatusDisplayController']=class extends _0x2841d1[_0x374b20(0x231)]{constructor(_0x292e1b,_0x47328a,_0x3a44b3,_0x450863){const _0x512550=_0x374b20;super(),_0x7caa35(this,'_status$',new _0x4c6c40[(_0x512550(0x3f7))](_0x5599fc[_0x512550(0x458)][_0x512550(0x46f)])),(this['_univerInstanceService']=_0x292e1b,this[_0x512550(0x39c)]=_0x47328a,this['_collaborationController']=_0x3a44b3,this['_uiPartsService']=_0x450863,this[_0x512550(0x25f)](),this[_0x512550(0x327)]());}['_initStatusListener'](){const _0x2535fe=_0x374b20;this[_0x2535fe(0x2d8)](this[_0x2535fe(0x319)][_0x2535fe(0x328)][_0x2535fe(0x386)](_0x4c6c40[_0x2535fe(0x452)](()=>{const _0x3e01a1=_0x2535fe,_0x125a3f=this[_0x3e01a1(0x319)][_0x3e01a1(0x4bf)]();return _0x125a3f?this[_0x3e01a1(0x432)][_0x3e01a1(0x4ae)](_0x125a3f[_0x3e01a1(0x28d)]()):_0x4c6c40['of'](null);}),_0x4c6c40[_0x2535fe(0x452)](_0x399127=>_0x399127?_0x399127[_0x2535fe(0x455)]:_0x4c6c40['of'](_0x5599fc[_0x2535fe(0x458)][_0x2535fe(0x46f)])))['subscribe'](_0x2f33fe=>{const _0x27d16a=_0x2535fe;this[_0x27d16a(0x1f5)][_0x27d16a(0x46d)](_0x2f33fe);}));}[_0x374b20(0x25f)](){const _0x665712=_0x374b20;this[_0x665712(0x2d8)](this['_uiPartsService'][_0x665712(0x216)](_0x151eb1[_0x665712(0x3c4)][_0x665712(0x42a)],()=>_0x151eb1['connectInjector'](_0x514fae({'status$':this[_0x665712(0x1f5)][_0x665712(0x4b9)]()}),this['_injector'])));}},_0x54bc6b[_0x374b20(0x47e)]=_0x3a4154([_0x1b836c(0x0,_0x2841d1[_0x374b20(0x415)]),_0x1b836c(0x1,_0x2841d1[_0x374b20(0x1e2)](_0x2841d1[_0x374b20(0x451)])),_0x1b836c(0x2,_0x2841d1[_0x374b20(0x1e2)](_0x5599fc[_0x374b20(0x335)])),_0x1b836c(0x3,_0x151eb1[_0x374b20(0x317)])],_0x54bc6b[_0x374b20(0x47e)]);function _0x514fae(_0x85995d){const {status$:_0x2f1389}=_0x85995d;return function(){const _0x4d3460=_0x25bc;return _0xc35d61[_0x4d3460(0x488)](_0x5bbb59,{'status$':_0x2f1389});};}const _0x8fb55b=_0x2841d1['createIdentifier'](_0x374b20(0x399));var _0x43f3b4=Object[_0x374b20(0x4a0)],_0x253df3=(_0x1ab6bf,_0x6175af,_0xca70e,_0x30c23e)=>{for(var _0x4b2dc4=_0x30c23e>0x1?void 0x0:_0x30c23e?_0x43f3b4(_0x6175af,_0xca70e):_0x6175af,_0x596e74=_0x1ab6bf['length']-0x1,_0x4689c8;_0x596e74>=0x0;_0x596e74--)(_0x4689c8=_0x1ab6bf[_0x596e74])&&(_0x4b2dc4=_0x4689c8(_0x4b2dc4)||_0x4b2dc4);return _0x4b2dc4;},_0x3f2f2d=(_0x5efa2b,_0x568410)=>(_0x28edbb,_0x58f846)=>_0x568410(_0x28edbb,_0x58f846,_0x5efa2b);_0x54bc6b[_0x374b20(0x45f)]=class extends _0x2841d1[_0x374b20(0x257)]{constructor(_0x123938,_0x53994a,_0x2b4208,_0x5dd87b,_0xe42f2f){const _0x268f72=_0x374b20;super(),this[_0x268f72(0x373)]=_0x123938,this['_logService']=_0x53994a,this[_0x268f72(0x311)]=_0x2b4208,this[_0x268f72(0x28f)]=_0x5dd87b,_0xe42f2f?_0xe42f2f==null||_0xe42f2f[_0x268f72(0x2b9)]()[_0x268f72(0x22c)](()=>this[_0x268f72(0x4c4)]()):(this[_0x268f72(0x37a)]['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x268f72(0x4c4)]());}async[_0x374b20(0x4c4)](){const _0x117577=_0x374b20,_0x585afc=this[_0x117577(0x373)]['getParam'](_0x117577(0x3fc)),_0x1ed90a=this[_0x117577(0x373)][_0x117577(0x36d)](_0x117577(0x229)),_0x488292=this[_0x117577(0x373)][_0x117577(0x36d)](_0x117577(0x485));if(!_0x585afc||!_0x1ed90a){this[_0x117577(0x37a)][_0x117577(0x387)](_0x117577(0x44e),_0x117577(0x3eb));return;}const _0x38507d=await this['_dataLoaderService']['loadUnit'](_0x585afc,Number(_0x1ed90a),_0x488292);_0x38507d&&_0x38507d instanceof _0x2841d1[_0x117577(0x490)]&&this[_0x117577(0x3d6)](_0x38507d);}async[_0x374b20(0x3d6)](_0x1c67ca){const _0x3196da=_0x374b20;await this['_updateSubUnitFromURLParams'](_0x1c67ca),_0x1c67ca[_0x3196da(0x416)]['pipe'](_0x4c6c40['takeUntil'](this[_0x3196da(0x3b8)]))['subscribe'](_0x3c48ee=>{const _0x254549=_0x3196da;_0x3c48ee&&this[_0x254549(0x208)](_0x3c48ee);}),this['_urlService'][_0x3196da(0x42c)][_0x3196da(0x386)](_0x4c6c40[_0x3196da(0x3db)](this[_0x3196da(0x3b8)]))[_0x3196da(0x46e)](()=>this['_updateSubUnitFromURLParams'](_0x1c67ca));}[_0x374b20(0x208)](_0x3df8a3,_0x459087=!0x1){const _0x3eb151=_0x374b20,_0x292b94=this[_0x3eb151(0x373)][_0x3eb151(0x36d)](_0x3eb151(0x485));_0x3df8a3['getSheetId']()!==_0x292b94&&this[_0x3eb151(0x373)][_0x3eb151(0x23b)](_0x3eb151(0x485),_0x3df8a3['getSheetId'](),_0x459087);}async[_0x374b20(0x268)](_0x38c721){const _0x8bb22=_0x374b20;var _0x456e7f;const _0x58d710=this['_urlService'][_0x8bb22(0x36d)](_0x8bb22(0x485));if(!_0x58d710||!_0x38c721['getSheetBySheetId'](_0x58d710)){const _0x3f9f09=_0x38c721['getUnhiddenWorksheets']()[0x0],_0x2b285d=_0x38c721[_0x8bb22(0x1e9)](_0x3f9f09);if(!_0x2b285d)return;this[_0x8bb22(0x208)](_0x2b285d,!0x0),await this[_0x8bb22(0x311)][_0x8bb22(0x1fb)](_0x1c04c7[_0x8bb22(0x422)]['id'],{'unitId':_0x38c721['getUnitId'](),'subUnitId':_0x3f9f09});return;}((_0x456e7f=_0x38c721[_0x8bb22(0x377)]())==null?void 0x0:_0x456e7f[_0x8bb22(0x1e0)]())!==_0x58d710&&await this['_commandService'][_0x8bb22(0x1fb)](_0x1c04c7[_0x8bb22(0x422)]['id'],{'unitId':_0x38c721[_0x8bb22(0x28d)](),'subUnitId':_0x58d710});}},_0x54bc6b['CollaborationDataLoaderController']=_0x253df3([_0x3f2f2d(0x0,_0x8fb55b),_0x3f2f2d(0x1,_0x2841d1['ILogService']),_0x3f2f2d(0x2,_0x2841d1['ICommandService']),_0x3f2f2d(0x3,_0x2841d1[_0x374b20(0x1e2)](_0x5599fc[_0x374b20(0x401)])),_0x3f2f2d(0x4,_0x2841d1[_0x374b20(0x441)](_0x3c93ce['IRemoteInstanceService']))],_0x54bc6b[_0x374b20(0x45f)]);var _0x13967e=Object[_0x374b20(0x4a0)],_0x5b718=(_0x2be1f4,_0x5a8179,_0x2838ea,_0x2ce832)=>{for(var _0x579e07=_0x2ce832>0x1?void 0x0:_0x2ce832?_0x13967e(_0x5a8179,_0x2838ea):_0x5a8179,_0x390fd6=_0x2be1f4['length']-0x1,_0x16e993;_0x390fd6>=0x0;_0x390fd6--)(_0x16e993=_0x2be1f4[_0x390fd6])&&(_0x579e07=_0x16e993(_0x579e07)||_0x579e07);return _0x579e07;},_0x5b6fe3=(_0x2eecf7,_0x31454f)=>(_0x23b77d,_0x307820)=>_0x31454f(_0x23b77d,_0x307820,_0x2eecf7);let _0x2c3098=class extends _0x2841d1['RxDisposable']{constructor(_0x2c6732,_0x5f11b2){const _0x3dc669=_0x374b20;super(),this[_0x3dc669(0x4b4)]=_0x2c6732,this[_0x3dc669(0x36b)]=_0x5f11b2,this[_0x3dc669(0x4c4)]();}[_0x374b20(0x4c4)](){const _0x5154fa=_0x374b20,_0x41ac41=this;this['disposeWithMe'](this[_0x5154fa(0x4b4)]['addClipboardHook']({'onBeforePasteImage':async _0x4ad7a5=>{const _0x99775b=_0x5154fa,_0x573f08=await _0x41ac41[_0x99775b(0x36b)][_0x99775b(0x234)](_0x4ad7a5);return _0x573f08?{'source':_0x573f08[_0x99775b(0x3a0)],'imageSourceType':_0x573f08[_0x99775b(0x3c6)]}:null;}}));}};_0x2c3098=_0x5b718([_0x5b6fe3(0x0,_0x1fc54e[_0x374b20(0x2d6)]),_0x5b6fe3(0x1,_0x24bc58[_0x374b20(0x40b)])],_0x2c3098);const _0x560dce=[_0x374b20(0x3f9),'jiqing.500',_0x374b20(0x262),_0x374b20(0x1fc),_0x374b20(0x361),_0x374b20(0x38a)];class _0xd067d extends _0x2841d1['Disposable']{constructor(){const _0x5329ca=_0x374b20;super(...arguments),_0x7caa35(this,'_assignedColors',new Map()),_0x7caa35(this,_0x5329ca(0x299),0x0);}[_0x374b20(0x25d)](_0x4edb8a){const _0xee24d=_0x374b20;if(this[_0xee24d(0x480)][_0xee24d(0x26b)](_0x4edb8a))return this[_0xee24d(0x480)][_0xee24d(0x32d)](_0x4edb8a);const _0x33c183=_0x560dce[this[_0xee24d(0x299)]];return this[_0xee24d(0x299)]=(this[_0xee24d(0x299)]+0x1)%_0x560dce[_0xee24d(0x3a6)],this[_0xee24d(0x480)][_0xee24d(0x45c)](_0x4edb8a,_0x33c183),_0x33c183;}}function _0x290407(_0x3ec891){const _0x335500=_0x374b20;let _0xf17c3='';for(const _0x2a0424 of _0x3ec891){const {startOffset:_0xf03399,endOffset:_0x2ea35c,isActive:_0x4c82aa,rangeType:_0x127397,segmentId:_0x4d7595,segmentPage:_0xf34483}=_0x2a0424;_0xf17c3[_0x335500(0x3a6)]&&(_0xf17c3+=','),_0xf17c3+=_0xf03399+':'+_0x2ea35c+':'+(_0x4c82aa?'1':'0')+':'+_0x127397+':'+_0x4d7595+':'+_0xf34483;}return _0xf17c3;}function _0x3cf8f1(_0x31875f){const _0x88a506=_0x374b20,_0x4cfd84=_0x31875f['split'](','),_0x4f1449=[];for(const _0x3a172d of _0x4cfd84){const [_0x2ba052,_0x28bfe1,_0x30fb83,_0x501462,_0x3089a9,_0x18b48a]=_0x3a172d[_0x88a506(0x2ea)](':');_0x4f1449[_0x88a506(0x2dd)]({'startOffset':Number(_0x2ba052),'endOffset':Number(_0x28bfe1),'collapsed':_0x2ba052===_0x28bfe1,'isActive':_0x30fb83==='1','rangeType':_0x501462===_0x2841d1[_0x88a506(0x21a)][_0x88a506(0x3b1)]?_0x2841d1[_0x88a506(0x21a)][_0x88a506(0x3b1)]:_0x2841d1[_0x88a506(0x21a)][_0x88a506(0x47c)],'segmentId':typeof _0x3089a9==_0x88a506(0x25e)?String(_0x3089a9):'','segmentPage':Number(_0x18b48a!=null?_0x18b48a:-0x1)});}return _0x4f1449[_0x88a506(0x286)](_0x491227=>_0x491227['isActive'])||(_0x4f1449[0x0]['isActive']=!0x0),_0x4f1449;}class _0x323b2a extends _0x2841d1[_0x374b20(0x257)]{constructor(){const _0x3b6627=_0x374b20;super(...arguments),_0x7caa35(this,_0x3b6627(0x2ab),new _0x4c6c40['BehaviorSubject'](null)),_0x7caa35(this,_0x3b6627(0x47b),this['_collabCursorState$'][_0x3b6627(0x4b9)]());}['syncEditingCollabCursor'](_0x1642f1){const _0x3f5937=_0x374b20,{unitID:_0x46cabe,memberID:_0x40c3aa,textRanges:_0xb3d25a}=_0x1642f1,_0x45d707=_0x290407(_0xb3d25a);if(_0x45d707==='')return;const _0x275b43={'unitID':_0x46cabe,'memberID':_0x40c3aa,'selection':_0x45d707};this[_0x3f5937(0x2ab)][_0x3f5937(0x46d)](_0x275b43);}}var _0x6d44f6=Object['getOwnPropertyDescriptor'],_0x20702a=(_0x1103a1,_0x33c1a0,_0x512937,_0x2aa590)=>{const _0x45df71=_0x374b20;for(var _0x2b0a63=_0x2aa590>0x1?void 0x0:_0x2aa590?_0x6d44f6(_0x33c1a0,_0x512937):_0x33c1a0,_0x4e5ae3=_0x1103a1[_0x45df71(0x3a6)]-0x1,_0xf25f05;_0x4e5ae3>=0x0;_0x4e5ae3--)(_0xf25f05=_0x1103a1[_0x4e5ae3])&&(_0x2b0a63=_0xf25f05(_0x2b0a63)||_0x2b0a63);return _0x2b0a63;},_0x3d5e99=(_0x1953c7,_0x3c787e)=>(_0x313150,_0x3b3668)=>_0x3c787e(_0x313150,_0x3b3668,_0x1953c7);const _0x493867=0x12c,_0x373ed9=0x64;let _0x941267=class extends _0x2841d1[_0x374b20(0x257)]{constructor(_0x3cd596,_0x282fff,_0x393457,_0x49c910,_0x30a7ef,_0xe32839,_0x31c18e,_0x1b277b,_0x2b2219){const _0x25de8f=_0x374b20;super(),_0x7caa35(this,_0x25de8f(0x3d7),!0x1),_0x7caa35(this,_0x25de8f(0x4c4),!0x1),_0x7caa35(this,'_cursorInfo$',new _0x4c6c40[(_0x25de8f(0x3f7))](new Map())),_0x7caa35(this,_0x25de8f(0x33a),this['_cursorInfo$']['asObservable']()),_0x7caa35(this,_0x25de8f(0x3a1),new _0x4c6c40[(_0x25de8f(0x3f7))]([])),_0x7caa35(this,_0x25de8f(0x3ee),this[_0x25de8f(0x3a1)][_0x25de8f(0x386)](_0x4c6c40[_0x25de8f(0x462)](_0x493867))),_0x7caa35(this,'_updateLocalCursor',_0x2841d1[_0x25de8f(0x2eb)](_0x438c00=>{const _0x1df2db=_0x25de8f,_0x29a58e={'eventID':_0x32c33c['CollaborationEvent'][_0x1df2db(0x438)],'data':{'unitID':this[_0x1df2db(0x24b)],'memberID':this[_0x1df2db(0x1f3)][_0x1df2db(0x225)](),'selection':_0x290407(_0x438c00)}};this[_0x1df2db(0x1f3)]['send'](_0x29a58e,this[_0x1df2db(0x24b)]);},_0x373ed9)),(this[_0x25de8f(0x24b)]=_0x3cd596,this[_0x25de8f(0x1f3)]=_0x282fff,this['_injector']=_0x393457,this[_0x25de8f(0x38b)]=_0x49c910,this[_0x25de8f(0x296)]=_0x30a7ef,this[_0x25de8f(0x1f0)]=_0xe32839,this['_transformService']=_0x31c18e,this['_univerInstanceService']=_0x1b277b,this[_0x25de8f(0x311)]=_0x2b2219);}get[_0x374b20(0x406)](){const _0x405385=_0x374b20;return this[_0x405385(0x1e4)][_0x405385(0x233)]();}get[_0x374b20(0x348)](){const _0x136f6c=_0x374b20;return this[_0x136f6c(0x3a1)]['getValue']();}[_0x374b20(0x3bb)](){const _0x2a24cf=_0x374b20;super['dispose'](),this[_0x2a24cf(0x1e4)]['next'](new Map()),this['_cursorInfo$'][_0x2a24cf(0x3cd)](),this['_roomMembers$'][_0x2a24cf(0x46d)]([]),this['_roomMembers$'][_0x2a24cf(0x3cd)]();}[_0x374b20(0x49f)](){const _0x3c3541=_0x374b20;this[_0x3c3541(0x4c4)]||(this['_init']=!0x0,this[_0x3c3541(0x1f3)][_0x3c3541(0x284)][_0x3c3541(0x386)](_0x4c6c40[_0x3c3541(0x3db)](this[_0x3c3541(0x3b8)]))[_0x3c3541(0x46e)](_0x271a78=>{const _0x4b04ae=_0x3c3541;_0x271a78===_0x5599fc['SessionStatus'][_0x4b04ae(0x4be)]?this[_0x4b04ae(0x215)]():this['_toggleOffline']();}),this[_0x3c3541(0x1f3)][_0x3c3541(0x1dc)]['pipe'](_0x4c6c40[_0x3c3541(0x3db)](this['dispose$']))[_0x3c3541(0x46e)](_0x140fdd=>{const _0xa1ae4e=_0x3c3541,_0x2f624a=_0x140fdd['eventID'];_0x2f624a===_0x32c33c[_0xa1ae4e(0x289)]['UPDATE_CURSOR']&&this[_0xa1ae4e(0x2df)](_0x140fdd),_0x2f624a===_0x32c33c[_0xa1ae4e(0x289)][_0xa1ae4e(0x2c7)]&&this[_0xa1ae4e(0x2a9)](_0x140fdd);}),this['disposeWithMe'](this[_0x3c3541(0x311)]['onCommandExecuted'](_0x1792b3=>{const _0x2fb722=_0x3c3541,_0x2db4af=_0x1792b3['params'];_0x2db4af!=null&&this['_online']&&_0x1792b3['id']===_0x231ed4[_0x2fb722(0x489)]['id']&&_0x2db4af['unitId']===this['unitID']&&_0x2db4af[_0x2fb722(0x3e2)]===!0x1&&_0x2db4af['ranges'][_0x2fb722(0x3a6)]>0x0&&this[_0x2fb722(0x409)](_0x2db4af['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$']['pipe'](_0x4c6c40['takeUntil'](this[_0x3c3541(0x3b8)]))[_0x3c3541(0x46e)](_0x2baa27=>{const _0x30564c=_0x3c3541;if((_0x2baa27==null?void 0x0:_0x2baa27[_0x30564c(0x24b)])!==this['unitID'])return;const _0x3cd7a0={'eventID':_0x32c33c[_0x30564c(0x289)][_0x30564c(0x438)],'data':_0x2baa27};this[_0x30564c(0x2df)](_0x3cd7a0);}),this['disposeWithMe'](this['_commandService'][_0x3c3541(0x456)](_0x358e5a=>{const _0x311549=_0x3c3541;if(_0x358e5a[_0x311549(0x31a)]==null)return;const _0x2ab4d9=_0x358e5a[_0x311549(0x31a)];if(_0x358e5a['id']!==_0x231ed4[_0x311549(0x281)]['id']||_0x2ab4d9['unitId']!==this[_0x311549(0x24b)])return;const _0x3ced9e={'id':_0x311549(0x206),'params':_0x2ab4d9},_0x3a8bb7=this[_0x311549(0x406)];for(const [_0x2eaa37,_0x83dbc8]of _0x3a8bb7){const _0x335021={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x83dbc8[_0x311549(0x3ae)]}},_0x488784=this[_0x311549(0x2bf)]['transformMutation'](_0x3ced9e,_0x335021,!0x1);if(_0x32c33c['isTransformMutationFailure'](_0x488784))throw _0x488784[_0x311549(0x20f)];_0x3a8bb7[_0x311549(0x45c)](_0x2eaa37,{..._0x83dbc8,'ranges':_0x488784[_0x311549(0x449)][_0x311549(0x31a)][_0x311549(0x2be)]});}queueMicrotask(()=>{const _0x39ff00=_0x311549;this[_0x39ff00(0x1e4)]['next'](_0x3a8bb7);});})));}[_0x374b20(0x2df)](_0x5ca2b6){const _0x1fdb91=_0x374b20;var _0x34cabe,_0x4efee9;const {memberID:_0x18b671,selection:_0x53a68e}=_0x5ca2b6[_0x1fdb91(0x337)],_0x2c3907=_0x3cf8f1(_0x53a68e),_0x341217=(_0x4efee9=(_0x34cabe=this['_memberService'][_0x1fdb91(0x321)](this[_0x1fdb91(0x24b)],_0x18b671))==null?void 0x0:_0x34cabe[_0x1fdb91(0x38c)])!=null?_0x4efee9:_0x1fdb91(0x3b2),_0x454f71={'color':this[_0x1fdb91(0x38b)][_0x1fdb91(0x25d)](_0x18b671),'name':_0x341217,'ranges':_0x2c3907},_0x499734=this[_0x1fdb91(0x406)];_0x499734[_0x1fdb91(0x45c)](_0x18b671,_0x454f71),this['_cursorInfo$'][_0x1fdb91(0x46d)](_0x499734);}[_0x374b20(0x2a9)](_0xc7ebe0){const _0xd8c66b=_0x374b20,{memberID:_0x2250ba}=_0xc7ebe0['data'],_0x176d5f=this['cursorInfo'];_0x176d5f[_0xd8c66b(0x2ec)](_0x2250ba),this[_0xd8c66b(0x1e4)][_0xd8c66b(0x46d)](_0x176d5f);}[_0x374b20(0x215)](){const _0x4a33ec=_0x374b20;var _0x1c0e92;if(this[_0x4a33ec(0x3d7)]=!0x0,((_0x1c0e92=this[_0x4a33ec(0x319)][_0x4a33ec(0x4bf)]())==null?void 0x0:_0x1c0e92[_0x4a33ec(0x28d)]())!==this['unitID'])return;const _0x5f1385=this['_injector']['get'](_0x231ed4[_0x4a33ec(0x3b9)])[_0x4a33ec(0x407)]();Array[_0x4a33ec(0x363)](_0x5f1385)&&_0x5f1385['length']>0x0&&this[_0x4a33ec(0x409)](_0x5f1385);}['_toggleOffline'](){this['_online']=!0x1;}};_0x941267=_0x20702a([_0x3d5e99(0x2,_0x2841d1[_0x374b20(0x1e2)](_0x2841d1['Injector'])),_0x3d5e99(0x3,_0x2841d1[_0x374b20(0x1e2)](_0xd067d)),_0x3d5e99(0x4,_0x2841d1[_0x374b20(0x1e2)](_0x5599fc[_0x374b20(0x29e)])),_0x3d5e99(0x5,_0x2841d1['Inject'](_0x323b2a)),_0x3d5e99(0x6,_0x32c33c[_0x374b20(0x478)]),_0x3d5e99(0x7,_0x2841d1[_0x374b20(0x415)]),_0x3d5e99(0x8,_0x2841d1[_0x374b20(0x4af)])],_0x941267);var _0x578b4c=Object[_0x374b20(0x4a0)],_0x5c0d30=(_0x5c6433,_0xed819c,_0x23fe6d,_0x59a1ab)=>{const _0x74fad7=_0x374b20;for(var _0x4c329d=_0x59a1ab>0x1?void 0x0:_0x59a1ab?_0x578b4c(_0xed819c,_0x23fe6d):_0xed819c,_0x3cc34e=_0x5c6433[_0x74fad7(0x3a6)]-0x1,_0x5cf985;_0x3cc34e>=0x0;_0x3cc34e--)(_0x5cf985=_0x5c6433[_0x3cc34e])&&(_0x4c329d=_0x5cf985(_0x4c329d)||_0x4c329d);return _0x4c329d;},_0x15dd72=(_0x499034,_0x469614)=>(_0x4a1d0b,_0x2a3290)=>_0x469614(_0x4a1d0b,_0x2a3290,_0x499034);const _0x5b8bfc=0x12c,_0x806f1=0x64,_0x1af668=()=>{let _0x49b52a=[],_0x415e4c=!0x1;return _0x176146=>{const _0x23db47=_0x25bc;_0x49b52a[_0x23db47(0x2dd)](_0x176146),_0x415e4c||(_0x415e4c=!0x0,setTimeout(()=>{const _0x4fe3cd=_0x23db47;_0x49b52a[_0x4fe3cd(0x39d)](_0x4ef0bc=>_0x4ef0bc()),_0x49b52a=[],_0x415e4c=!0x1;}));};};let _0x4016ee=class extends _0x2841d1[_0x374b20(0x257)]{constructor(_0x2bab5a,_0x5e88a7,_0x1f009b,_0x20f83d,_0x53b9c3,_0x55cec2,_0xd4cb03,_0x57941f){const _0xb4ff31=_0x374b20;super(),_0x7caa35(this,'_online',!0x1),_0x7caa35(this,'_init',!0x1),_0x7caa35(this,_0xb4ff31(0x1e4),new _0x4c6c40[(_0xb4ff31(0x3f7))](new Map())),_0x7caa35(this,'cursorInfo$',this[_0xb4ff31(0x1e4)][_0xb4ff31(0x4b9)]()),_0x7caa35(this,_0xb4ff31(0x3a1),new _0x4c6c40[(_0xb4ff31(0x3f7))]([])),_0x7caa35(this,_0xb4ff31(0x3ee),this[_0xb4ff31(0x3a1)][_0xb4ff31(0x386)](_0x4c6c40['debounceTime'](_0x5b8bfc))),_0x7caa35(this,'_updateLocalCursor',_0x2841d1[_0xb4ff31(0x2eb)]((_0x1ebf9e,_0x21f5e2)=>{const _0x1eae08=_0xb4ff31,_0x50bcd6={'eventID':_0x32c33c[_0x1eae08(0x289)][_0x1eae08(0x438)],'data':{'unitID':this['unitID'],'memberID':this[_0x1eae08(0x1f3)][_0x1eae08(0x225)](),'selection':_0x2dab60[_0x1eae08(0x29b)](_0x1ebf9e,_0x21f5e2[_0x1eae08(0x4c0)])}};this[_0x1eae08(0x1f3)][_0x1eae08(0x425)](_0x50bcd6,this[_0x1eae08(0x24b)]);},_0x806f1)),(this['unitID']=_0x2bab5a,this[_0xb4ff31(0x1f3)]=_0x5e88a7,this['_injector']=_0x1f009b,this[_0xb4ff31(0x38b)]=_0x20f83d,this[_0xb4ff31(0x296)]=_0x53b9c3,this['_univerInstanceService']=_0x55cec2,this[_0xb4ff31(0x311)]=_0xd4cb03,this[_0xb4ff31(0x4a1)]=_0x57941f);}get[_0x374b20(0x406)](){const _0x1937e8=_0x374b20;return this['_cursorInfo$'][_0x1937e8(0x233)]();}get[_0x374b20(0x348)](){const _0x4a134a=_0x374b20;return this[_0x4a134a(0x3a1)][_0x4a134a(0x233)]();}[_0x374b20(0x3bb)](){const _0x4e22a5=_0x374b20;super[_0x4e22a5(0x3bb)](),this[_0x4e22a5(0x1e4)][_0x4e22a5(0x46d)](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x4e22a5(0x46d)]([]),this['_roomMembers$'][_0x4e22a5(0x3cd)]();}[_0x374b20(0x49f)](){const _0x1b8983=_0x374b20;this[_0x1b8983(0x4c4)]||(this['_init']=!0x0,this[_0x1b8983(0x1f3)]['sessionStatus$'][_0x1b8983(0x386)](_0x4c6c40[_0x1b8983(0x3db)](this[_0x1b8983(0x3b8)]))[_0x1b8983(0x46e)](_0x3f4450=>{const _0x1c47d3=_0x1b8983;_0x3f4450===_0x5599fc[_0x1c47d3(0x412)]['ONLINE']?this[_0x1c47d3(0x215)]():this['_toggleOffline']();}),this[_0x1b8983(0x1f3)][_0x1b8983(0x1dc)]['pipe'](_0x4c6c40[_0x1b8983(0x3db)](this[_0x1b8983(0x3b8)]))[_0x1b8983(0x46e)](_0x119386=>{const _0x57f7dd=_0x1b8983,_0x289f13=_0x119386[_0x57f7dd(0x1ed)];_0x289f13===_0x32c33c[_0x57f7dd(0x289)]['UPDATE_CURSOR']&&this[_0x57f7dd(0x2df)](_0x119386),_0x289f13===_0x32c33c[_0x57f7dd(0x289)][_0x57f7dd(0x2c7)]&&this[_0x57f7dd(0x2a9)](_0x119386);}),this[_0x1b8983(0x3da)](),this['disposeWithMe'](this['_commandService'][_0x1b8983(0x456)](_0x501b09=>{const _0x2a726c=_0x1b8983;if(this[_0x2a726c(0x3d7)]&&_0x501b09['id']===_0x1c04c7[_0x2a726c(0x246)]['id']&&_0x501b09['params'][_0x2a726c(0x3ce)]===this[_0x2a726c(0x24b)]){const _0xa77cd6=_0x501b09[_0x2a726c(0x31a)];this['_updateLocalCursor'](_0xa77cd6['subUnitId'],_0xa77cd6[_0x2a726c(0x42f)][0x0]);}})));}['_onCursorUpdate'](_0x426520){const _0x1b41db=_0x374b20;var _0x1c2022,_0x1ef115;const {memberID:_0x16ca7c,selection:_0x5d4198}=_0x426520['data'],{sheetName:_0xb9c7b,range:_0x5335f5}=_0x2dab60[_0x1b41db(0x384)](_0x5d4198),_0x65fd6c={'name':(_0x1ef115=(_0x1c2022=this[_0x1b41db(0x296)][_0x1b41db(0x321)](this['unitID'],_0x16ca7c))==null?void 0x0:_0x1c2022['name'])!=null?_0x1ef115:_0x1b41db(0x3b2),'range':this[_0x1b41db(0x200)](_0xb9c7b,_0x5335f5),'sheetID':_0xb9c7b,'color':this[_0x1b41db(0x38b)]['assignAColorForMemberID'](_0x16ca7c),'selection':_0x5d4198},_0x4de538=this['cursorInfo'];_0x4de538[_0x1b41db(0x45c)](_0x16ca7c,_0x65fd6c),this[_0x1b41db(0x1e4)][_0x1b41db(0x46d)](_0x4de538);}['_onCursorDelete'](_0x44bb9b){const _0x581442=_0x374b20,{memberID:_0x5f4528}=_0x44bb9b[_0x581442(0x337)],_0x2a5235=this[_0x581442(0x406)];_0x2a5235[_0x581442(0x2ec)](_0x5f4528),this['_cursorInfo$']['next'](_0x2a5235);}[_0x374b20(0x200)](_0x616484,_0x2d9b19){const _0x3fee68=_0x374b20;var _0x6a3750,_0x4613cb;const _0x2675bf=(_0x4613cb=(_0x6a3750=this[_0x3fee68(0x319)][_0x3fee68(0x491)](this['unitID']))==null?void 0x0:_0x6a3750['getSheetBySheetId'](_0x616484))==null?void 0x0:_0x4613cb['getMergeData']();return(_0x2675bf==null?void 0x0:_0x2675bf['find'](_0x1bfca2=>_0x2841d1[_0x3fee68(0x482)][_0x3fee68(0x3ff)](_0x1bfca2,_0x2d9b19)))||_0x2d9b19;}[_0x374b20(0x3da)](){const _0x4f5bfc=_0x374b20,_0x391cd4=new _0x2841d1[(_0x4f5bfc(0x436))](),_0x3563f4=_0x1af668(),_0x5aa20d=()=>{const _0x155651=_0x4f5bfc;_0x391cd4['dispose']();const _0x50a844=(_0x664d0,_0xb9643c,_0x16a688,_0x161ef9)=>{const _0xddef43=_0x25bc;let _0x2b9ebd=[];switch(_0x664d0['id']){case _0x1c04c7[_0xddef43(0x4ba)]['DeleteRangeMoveLeftCommandId']:{_0x2b9ebd=_0x1c04c7['handleDeleteRangeMoveLeft'](_0x664d0,_0x161ef9);break;}case _0x1c04c7['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x2b9ebd=_0x1c04c7[_0xddef43(0x3df)](_0x664d0,_0x161ef9);break;}case _0x1c04c7[_0xddef43(0x4ba)][_0xddef43(0x21c)]:{_0x2b9ebd=_0x1c04c7[_0xddef43(0x217)](_0x664d0,_0x161ef9);break;}case _0x1c04c7[_0xddef43(0x4ba)][_0xddef43(0x445)]:{_0x2b9ebd=_0x1c04c7[_0xddef43(0x2f4)](_0x664d0,_0x161ef9);break;}case _0x1c04c7[_0xddef43(0x4ba)][_0xddef43(0x267)]:{_0x2b9ebd=_0x1c04c7[_0xddef43(0x2c3)](_0x664d0,_0x161ef9);break;}case _0x1c04c7[_0xddef43(0x4ba)][_0xddef43(0x33c)]:{_0x2b9ebd=_0x1c04c7['handleInsertRow'](_0x664d0,_0x161ef9);break;}case _0x1c04c7[_0xddef43(0x4ba)][_0xddef43(0x254)]:{_0x2b9ebd=_0x1c04c7[_0xddef43(0x45d)](_0x664d0,_0x161ef9);break;}case _0x1c04c7[_0xddef43(0x4ba)][_0xddef43(0x43f)]:{_0x2b9ebd=_0x1c04c7[_0xddef43(0x2c9)](_0x664d0,_0x161ef9);break;}case _0x1c04c7[_0xddef43(0x4ba)][_0xddef43(0x30a)]:{_0x2b9ebd=_0x1c04c7[_0xddef43(0x47d)](_0x664d0,_0x161ef9);break;}}const _0x2e15bf=_0x1c04c7[_0xddef43(0x344)](_0x2b9ebd,_0x161ef9),_0x46db7e=this[_0xddef43(0x406)]['get'](_0xb9643c);if(_0x46db7e&&_0x2e15bf){const _0x3ce43d={..._0x46db7e,'range':_0x2e15bf};this[_0xddef43(0x406)][_0xddef43(0x45c)](_0xb9643c,_0x3ce43d),_0x3563f4(()=>{const _0x908df5=_0xddef43,_0x4bc220=this['_refRangeService'][_0x908df5(0x270)](_0x2e15bf,_0x9408ac=>(_0x4bc220[_0x908df5(0x3bb)](),_0x50a844(_0x9408ac,_0xb9643c,_0x16a688,_0x2e15bf)));_0x391cd4[_0x908df5(0x3ba)](_0x4bc220);});}return{'redos':[],'undos':[]};};this[_0x155651(0x406)][_0x155651(0x39d)]((_0x50b9d4,_0x2e8137)=>{const _0x5ecfba=_0x155651,{range:_0x5cce63,sheetID:_0x4f1017}=_0x50b9d4,_0x566276=this[_0x5ecfba(0x4a1)]['registerRefRange'](_0x5cce63,_0x2d7823=>(_0x566276[_0x5ecfba(0x3bb)](),_0x50a844(_0x2d7823,_0x2e8137,_0x4f1017,_0x5cce63)));_0x391cd4[_0x5ecfba(0x3ba)](_0x566276);});};this[_0x4f5bfc(0x2d8)](_0x2841d1[_0x4f5bfc(0x247)](this[_0x4f5bfc(0x1e4)][_0x4f5bfc(0x46e)](()=>{_0x5aa20d();})));}[_0x374b20(0x215)](){const _0x5192d6=_0x374b20;var _0x3c2caa,_0x5224e6;if(this[_0x5192d6(0x3d7)]=!0x0,((_0x3c2caa=this[_0x5192d6(0x319)][_0x5192d6(0x4bf)]())==null?void 0x0:_0x3c2caa[_0x5192d6(0x28d)]())!==this[_0x5192d6(0x24b)])return;const _0x724ffc=(_0x5224e6=this[_0x5192d6(0x39c)][_0x5192d6(0x32d)](_0x1c04c7[_0x5192d6(0x2f5)])[_0x5192d6(0x30c)]())==null?void 0x0:_0x5224e6[0x0],_0x4ae54c=this[_0x5192d6(0x319)][_0x5192d6(0x2b2)](_0x2841d1[_0x5192d6(0x2fc)]['UNIVER_SHEET'])[_0x5192d6(0x377)]();_0x724ffc&&_0x4ae54c&&this[_0x5192d6(0x409)](_0x4ae54c[_0x5192d6(0x1e0)](),_0x724ffc);}['_toggleOffline'](){const _0x4c9ce9=_0x374b20;this[_0x4c9ce9(0x3d7)]=!0x1;}};_0x4016ee=_0x5c0d30([_0x15dd72(0x2,_0x2841d1['Inject'](_0x2841d1['Injector'])),_0x15dd72(0x3,_0x2841d1['Inject'](_0xd067d)),_0x15dd72(0x4,_0x2841d1[_0x374b20(0x1e2)](_0x5599fc[_0x374b20(0x29e)])),_0x15dd72(0x5,_0x2841d1[_0x374b20(0x415)]),_0x15dd72(0x6,_0x2841d1[_0x374b20(0x4af)]),_0x15dd72(0x7,_0x2841d1[_0x374b20(0x1e2)](_0x1c04c7[_0x374b20(0x417)]))],_0x4016ee);var _0x3020f5=Object[_0x374b20(0x4a0)],_0x24c887=(_0x19f880,_0x1fb53d,_0x340818,_0x422d1f)=>{for(var _0x55a225=_0x422d1f>0x1?void 0x0:_0x422d1f?_0x3020f5(_0x1fb53d,_0x340818):_0x1fb53d,_0x425bdf=_0x19f880['length']-0x1,_0x502b51;_0x425bdf>=0x0;_0x425bdf--)(_0x502b51=_0x19f880[_0x425bdf])&&(_0x55a225=_0x502b51(_0x55a225)||_0x55a225);return _0x55a225;},_0x4c2066=(_0x597769,_0x252935)=>(_0x270a86,_0xaf2743)=>_0x252935(_0x270a86,_0xaf2743,_0x597769);let _0x301a4=class extends _0x2841d1[_0x374b20(0x257)]{constructor(_0x28c73a,_0x1df359,_0x53e80c){const _0x24dab2=_0x374b20;super(),_0x7caa35(this,_0x24dab2(0x4c5),new Map()),_0x7caa35(this,_0x24dab2(0x1f1),new _0x4c6c40[(_0x24dab2(0x3f5))]()),(this[_0x24dab2(0x319)]=_0x28c73a,this['_injector']=_0x1df359,this['_collabSessionService']=_0x53e80c,this['_init']());}[_0x374b20(0x3bb)](){const _0x32a5f2=_0x374b20;super[_0x32a5f2(0x3bb)](),this[_0x32a5f2(0x1f1)][_0x32a5f2(0x3cd)](),this['_entities'][_0x32a5f2(0x39d)](_0x134ca9=>_0x134ca9[_0x32a5f2(0x3bb)]());}[_0x374b20(0x402)](_0x2045e3){const _0x13548f=_0x374b20;return this[_0x13548f(0x4c5)]['has'](_0x2045e3)?this[_0x13548f(0x4c5)][_0x13548f(0x32d)](_0x2045e3)['cursorInfo$']:this[_0x13548f(0x1f1)]['pipe'](_0x4c6c40['filter'](_0x479897=>_0x479897['unitID']===_0x2045e3),_0x4c6c40['switchMap'](_0x5dcdc8=>_0x5dcdc8['cursorInfo$']));}[_0x374b20(0x4c4)](){const _0x2e7d16=_0x374b20;this[_0x2e7d16(0x319)]['getTypeOfUnitAdded$'](_0x2841d1[_0x2e7d16(0x2fc)]['UNIVER_SHEET'])['pipe'](_0x4c6c40['takeUntil'](this[_0x2e7d16(0x3b8)]))[_0x2e7d16(0x46e)](async _0xf9a7d9=>{const _0x4a25f3=_0x2e7d16,_0x2f0b51=_0xf9a7d9[_0x4a25f3(0x28d)](),_0x53d4e4=await this[_0x4a25f3(0x29d)](_0x2f0b51);this[_0x4a25f3(0x1f1)][_0x4a25f3(0x46d)](_0x53d4e4),this['_entities'][_0x4a25f3(0x45c)](_0x2f0b51,_0x53d4e4);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2841d1[_0x2e7d16(0x2fc)]['UNIVER_DOC'])[_0x2e7d16(0x386)](_0x4c6c40['takeUntil'](this['dispose$']))['pipe'](_0x4c6c40[_0x2e7d16(0x274)](_0x5a240d=>!_0x5a240d['getUnitId']()[_0x2e7d16(0x305)]('__')))[_0x2e7d16(0x46e)](async _0x4461b1=>{const _0x540bc0=_0x2e7d16,_0x3d6486=_0x4461b1[_0x540bc0(0x28d)](),_0x358d84=await this[_0x540bc0(0x46c)](_0x3d6486);this[_0x540bc0(0x1f1)]['next'](_0x358d84),this['_entities']['set'](_0x3d6486,_0x358d84);}),_0x4c6c40['merge'](this[_0x2e7d16(0x319)]['getTypeOfUnitDisposed$'](_0x2841d1[_0x2e7d16(0x2fc)]['UNIVER_DOC']),this[_0x2e7d16(0x319)][_0x2e7d16(0x339)](_0x2841d1[_0x2e7d16(0x2fc)]['UNIVER_SHEET']))['pipe'](_0x4c6c40[_0x2e7d16(0x3db)](this[_0x2e7d16(0x3b8)]))[_0x2e7d16(0x46e)](_0x168c03=>{const _0x5491eb=_0x2e7d16,_0x3a46dd=_0x168c03[_0x5491eb(0x28d)](),_0x4f6921=this[_0x5491eb(0x4c5)]['get'](_0x3a46dd);_0x4f6921&&(_0x4f6921[_0x5491eb(0x3bb)](),this[_0x5491eb(0x4c5)][_0x5491eb(0x2ec)](_0x3a46dd));});}async[_0x374b20(0x29d)](_0x4d06f8){const _0x5ed689=_0x374b20,_0x48d178=await this['_collabSessionService'][_0x5ed689(0x280)](_0x4d06f8),_0x5a1f03=this[_0x5ed689(0x39c)][_0x5ed689(0x2e4)](_0x4016ee,_0x4d06f8,_0x48d178);return _0x5a1f03[_0x5ed689(0x49f)](),_0x5a1f03;}async[_0x374b20(0x46c)](_0x522658){const _0x38c873=_0x374b20,_0x40c2a7=await this[_0x38c873(0x42e)][_0x38c873(0x280)](_0x522658),_0x2b6be5=this[_0x38c873(0x39c)]['createInstance'](_0x941267,_0x522658,_0x40c2a7);return _0x2b6be5['init'](),_0x2b6be5;}};_0x301a4=_0x24c887([_0x4c2066(0x0,_0x2841d1[_0x374b20(0x415)]),_0x4c2066(0x1,_0x2841d1[_0x374b20(0x1e2)](_0x2841d1[_0x374b20(0x451)])),_0x4c2066(0x2,_0x2841d1[_0x374b20(0x1e2)](_0x5599fc[_0x374b20(0x214)]))],_0x301a4);const _0x4d4fdc=0x14,_0x51f0c7=0xc8,_0x459d2c=0x4,_0x31ae9d=0x5;function _0x11b8b2(_0x1b6d82,_0x33ce83){const _0x5db994=_0x374b20;let {radius:_0x897efc,width:_0x48b918,height:_0x2a0070}=_0x33ce83;_0x897efc=_0x897efc!=null?_0x897efc:0x0,_0x48b918=_0x48b918!=null?_0x48b918:0x1e,_0x2a0070=_0x2a0070!=null?_0x2a0070:0x1e;let _0x29e6cf=0x0,_0x37b2a1=0x0,_0x2ebeda=0x0;_0x29e6cf=_0x37b2a1=_0x2ebeda=Math[_0x5db994(0x2ff)](_0x897efc,_0x48b918/0x2,_0x2a0070/0x2),_0x1b6d82['beginPath'](),_0x1b6d82['moveTo'](_0x29e6cf,0x0),_0x1b6d82[_0x5db994(0x466)](_0x48b918-_0x37b2a1,0x0),_0x1b6d82[_0x5db994(0x474)](_0x48b918-_0x37b2a1,_0x37b2a1,_0x37b2a1,Math['PI']*0x3/0x2,0x0,!0x1),_0x1b6d82[_0x5db994(0x466)](_0x48b918,_0x2a0070-_0x2ebeda),_0x1b6d82[_0x5db994(0x474)](_0x48b918-_0x2ebeda,_0x2a0070-_0x2ebeda,_0x2ebeda,0x0,Math['PI']/0x2,!0x1),_0x1b6d82[_0x5db994(0x466)](0x0,_0x2a0070),_0x1b6d82['lineTo'](0x0,_0x29e6cf),_0x1b6d82['arc'](_0x29e6cf,_0x29e6cf,_0x29e6cf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1b6d82[_0x5db994(0x1fa)](),_0x33ce83[_0x5db994(0x2da)]&&(_0x1b6d82['save'](),_0x1b6d82[_0x5db994(0x3a9)]=_0x33ce83[_0x5db994(0x2da)],_0x33ce83[_0x5db994(0x3f8)]==='evenodd'?_0x1b6d82[_0x5db994(0x2da)](_0x5db994(0x410)):_0x1b6d82[_0x5db994(0x2da)](),_0x1b6d82[_0x5db994(0x468)]());}class _0x3347b4 extends _0x16a746[_0x374b20(0x3cc)]{constructor(_0x3428bf,_0x23fc38){const _0xa0ec65=_0x374b20;super(_0x3428bf,_0x23fc38),_0x7caa35(this,_0xa0ec65(0x251)),_0x7caa35(this,_0xa0ec65(0x465)),(this[_0xa0ec65(0x251)]=_0x23fc38==null?void 0x0:_0x23fc38['color'],this[_0xa0ec65(0x465)]=_0x23fc38==null?void 0x0:_0x23fc38[_0xa0ec65(0x465)]);}static[_0x374b20(0x49e)](_0x188cfd,_0x1d2f0d){const _0x697df0=_0x374b20,{text:_0x1147ca,color:_0x2d36a0}=_0x1d2f0d;_0x188cfd[_0x697df0(0x457)](),_0x188cfd[_0x697df0(0x232)]=_0x697df0(0x310);const _0x244786=_0x188cfd[_0x697df0(0x366)](_0x1147ca)[_0x697df0(0x332)],_0x2caeaf=Math[_0x697df0(0x2ff)](_0x244786+0x2*_0x459d2c,_0x51f0c7);_0x11b8b2(_0x188cfd,{'height':_0x4d4fdc,'radius':0x4,'width':_0x2caeaf,'fill':_0x2d36a0}),_0x188cfd[_0x697df0(0x3a9)]=_0x697df0(0x29a);const _0x4c2228=_0x459d2c,_0x5f3e21=_0x4d4fdc-_0x31ae9d,_0x348965=_0x51f0c7-0x2*_0x459d2c;if(_0x244786>_0x348965){let _0x44d884='',_0x1a7ea0=0x0;for(const _0x5a1124 of _0x1147ca){const _0x40a187=_0x188cfd['measureText'](_0x5a1124)[_0x697df0(0x332)];if(_0x1a7ea0+_0x40a187<=_0x348965-_0x188cfd[_0x697df0(0x366)](_0x697df0(0x48f))['width'])_0x44d884+=_0x5a1124,_0x1a7ea0+=_0x40a187;else{_0x44d884+='...';break;}}_0x188cfd[_0x697df0(0x309)](_0x44d884,_0x4c2228,_0x5f3e21);}else _0x188cfd[_0x697df0(0x309)](_0x1147ca,_0x4c2228,_0x5f3e21);_0x188cfd['restore']();}[_0x374b20(0x492)](_0x51a79b){const _0x1c286c=_0x374b20;_0x3347b4[_0x1c286c(0x49e)](_0x51a79b,this);}}const _0x590e03=_0x374b20(0x48e),_0x5c33eb=_0x374b20(0x496),_0x2f2a35=_0x374b20(0x3e4),_0x323ad9=0x6,_0x1519f3=1.5,_0x25db58=0x4,_0x17f124=1.5,_0x15aaf5=_0x374b20(0x27f);class _0x1e5b57{constructor(_0x561e8d,_0x5f5483,_0x3b986d,_0x413c58){const _0xa23e0b=_0x374b20;_0x7caa35(this,_0xa23e0b(0x4a4),[]),_0x7caa35(this,'_anchor',null),_0x7caa35(this,_0xa23e0b(0x23d),null),_0x7caa35(this,_0xa23e0b(0x34a),null),_0x7caa35(this,_0xa23e0b(0x1f6),null),_0x7caa35(this,_0xa23e0b(0x429),null),(this[_0xa23e0b(0x3f0)]=_0x561e8d,this[_0xa23e0b(0x2e2)]=_0x5f5483,this['_docSkeleton']=_0x3b986d,this[_0xa23e0b(0x43d)]=_0x413c58,this[_0xa23e0b(0x49b)]());}set[_0x374b20(0x31e)](_0x269b7c){const _0x3322d9=_0x374b20;_0x269b7c?(this[_0x3322d9(0x34a)]&&this[_0x3322d9(0x34a)][_0x3322d9(0x2c0)](),this[_0x3322d9(0x23d)]&&this[_0x3322d9(0x23d)][_0x3322d9(0x2a5)]()):(this[_0x3322d9(0x34a)]&&this[_0x3322d9(0x34a)][_0x3322d9(0x2a5)](),this[_0x3322d9(0x23d)]&&this[_0x3322d9(0x23d)][_0x3322d9(0x2c0)]());}[_0x374b20(0x3bb)](){const _0x554ea=_0x374b20;for(const _0x25e841 of this[_0x554ea(0x4a4)])_0x25e841[_0x554ea(0x3bb)]();this['_textBubble']&&this['_textBubble'][_0x554ea(0x3bb)](),this['_anchorDot']&&this[_0x554ea(0x34a)][_0x554ea(0x3bb)](),this['_anchor']&&this[_0x554ea(0x3d1)]['dispose'](),this[_0x554ea(0x429)]&&this[_0x554ea(0x429)]();}[_0x374b20(0x49b)](){const _0x200ddc=_0x374b20;var _0x32079f;const {_docSkeleton:_0x5ddc64,_document:_0xdfe4bc}=this,{color:_0x2624c4,name:_0x3b5cae,ranges:_0x26cec0}=this[_0x200ddc(0x3f0)],_0x2abe16=_0xdfe4bc[_0x200ddc(0x31f)](),{docsLeft:_0x37796b,docsTop:_0x40da15}=_0x2abe16,_0x34f930=new _0x1fc54e[(_0x200ddc(0x2f0))](_0x2abe16,_0x5ddc64);for(const {startOffset:_0x347c38,endOffset:_0x58e7ba,rangeType:_0xa4193d,segmentId:_0x322cbd,segmentPage:_0x32d72b,collapsed:_0x489588,isActive:_0x46cccc}of _0x26cec0){const _0x4bea15=_0x5ddc64[_0x200ddc(0x434)](_0x347c38,!0x0,_0x322cbd,_0x32d72b);let _0x528902=_0x5ddc64[_0x200ddc(0x434)](_0x58e7ba,!0x0,_0x322cbd,_0x32d72b);if(_0x528902==null&&(_0x528902=_0x5ddc64[_0x200ddc(0x434)](_0x58e7ba-0x1,!0x1,_0x322cbd,_0x32d72b)),_0x46cccc){const {contentBoxPointGroup:_0x174646}=_0x34f930[_0x200ddc(0x218)](_0x528902,_0x528902);if(_0x174646['length']===0x0)continue;this[_0x200ddc(0x383)](_0x2624c4,_0x174646,_0x37796b,_0x40da15,_0x3b5cae),this[_0x200ddc(0x429)]=this['_handleHover']();}if(_0x4bea15&&_0x528902){if(_0xa4193d===_0x2841d1[_0x200ddc(0x21a)]['RECT']){const _0x39aee4=new _0x1fc54e[(_0x200ddc(0x453))](_0x2abe16,_0x5ddc64),{pointGroup:_0x56ee16}=(_0x32079f=_0x39aee4[_0x200ddc(0x218)](_0x4bea15,_0x528902))!=null?_0x32079f:{};if(_0x56ee16==null||_0x56ee16[_0x200ddc(0x3a6)]===0x0)continue;this[_0x200ddc(0x277)](_0x2624c4,_0x56ee16,_0x37796b,_0x40da15);}else{if(!_0x489588){const {borderBoxPointGroup:_0x3d8500}=_0x34f930[_0x200ddc(0x218)](_0x4bea15,_0x528902);if(_0x3d8500['length']===0x0)continue;this[_0x200ddc(0x3ea)](_0x2624c4,_0x3d8500,_0x37796b,_0x40da15);}}}}}[_0x374b20(0x383)](_0x4c1c48,_0x24a8e4,_0x40c185,_0x536a7c,_0x307f18){const _0x34f566=_0x374b20,_0x3a6302=this['_getAnchorBounding'](_0x24a8e4),{left:_0x20acbd,top:_0x9ed12e,height:_0x44a213}=_0x3a6302,_0x464140=this[_0x34f566(0x397)](),_0x530063=_0x17f124/_0x464140,_0x15f61c=new _0x16a746[(_0x34f566(0x418))](_0x590e03+_0x2841d1[_0x34f566(0x3dc)](_0x323ad9),{'left':_0x20acbd+_0x40c185-_0x530063,'top':_0x9ed12e+_0x536a7c,'height':_0x44a213,'width':_0x1519f3,'fill':_0x4c1c48||_0x16a746[_0x34f566(0x2bd)](_0x2841d1[_0x34f566(0x21b)]['black'],0x0),'strokeWidth':_0x530063,'stroke':_0x15aaf5,'evented':!0x0});this[_0x34f566(0x3d1)]=_0x15f61c,this['_scene'][_0x34f566(0x3d3)](_0x15f61c,_0x1fc54e[_0x34f566(0x3af)]);const _0x569b22=new _0x16a746[(_0x34f566(0x418))](_0x590e03+_0x2841d1['generateRandomId'](_0x323ad9),{'left':_0x20acbd+_0x40c185-_0x530063,'top':_0x9ed12e+_0x536a7c-_0x25db58/0x2,'height':_0x25db58,'width':_0x25db58,'fill':_0x4c1c48||_0x16a746[_0x34f566(0x2bd)](_0x2841d1[_0x34f566(0x21b)][_0x34f566(0x318)],0x0),'strokeWidth':0x0,'stroke':_0x4c1c48||_0x16a746['getColor'](_0x2841d1['COLORS'][_0x34f566(0x318)],0x0),'evented':!0x1});this[_0x34f566(0x34a)]=_0x569b22,this[_0x34f566(0x2e2)][_0x34f566(0x3d3)](_0x569b22,_0x1fc54e[_0x34f566(0x3af)]);const _0x489f6d=new _0x3347b4(_0x590e03+_0x2841d1[_0x34f566(0x3dc)](_0x323ad9),{'left':_0x20acbd+_0x40c185-_0x530063,'top':_0x9ed12e+_0x536a7c-_0x4d4fdc,'text':_0x307f18,'color':_0x4c1c48});this['_textBubble']=_0x489f6d,this[_0x34f566(0x2e2)][_0x34f566(0x3d3)](_0x489f6d,_0x1fc54e['TEXT_RANGE_LAYER_INDEX']),this[_0x34f566(0x31e)]=!0x1;}[_0x374b20(0x258)](){const _0x1126d4=_0x374b20,_0x14bf18=this[_0x1126d4(0x3d1)][_0x1126d4(0x320)][_0x1126d4(0x3fe)](()=>{const _0x20542f=_0x1126d4;this[_0x20542f(0x31e)]=!0x0;}),_0x2fc075=this['_anchor']['onPointerLeave$'][_0x1126d4(0x3fe)](()=>{const _0x5d0bfd=_0x1126d4;this[_0x5d0bfd(0x1f6)]&&clearTimeout(this[_0x5d0bfd(0x1f6)]),this[_0x5d0bfd(0x1f6)]=setTimeout(()=>{const _0x2d8c77=_0x5d0bfd;this[_0x2d8c77(0x31e)]=!0x1;},0x7d0);});return()=>{const _0x452cad=_0x1126d4;_0x14bf18[_0x452cad(0x2a7)](),_0x2fc075[_0x452cad(0x2a7)]();};}[_0x374b20(0x3ea)](_0x1db0fb,_0x3346c1,_0x2ee4b6,_0x4fd463){const _0xf88170=_0x374b20,_0x55dc6a=new _0x2841d1[(_0xf88170(0x2ef))](_0x1db0fb)['setAlpha'](0.2)[_0xf88170(0x2f7)](),_0x4f8074=new _0x16a746[(_0xf88170(0x347))](_0x5c33eb+_0x2841d1[_0xf88170(0x3dc)](_0x323ad9),{'pointsGroup':_0x3346c1,'fill':_0x55dc6a||_0x16a746[_0xf88170(0x2bd)](_0x2841d1['COLORS'][_0xf88170(0x318)],0.2),'left':_0x2ee4b6,'top':_0x4fd463,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xf88170(0x4a4)][_0xf88170(0x2dd)](_0x4f8074),this[_0xf88170(0x2e2)][_0xf88170(0x3d3)](_0x4f8074,_0x1fc54e[_0xf88170(0x3af)]);}['_drawRectRange'](_0x49fc29,_0x44c0d0,_0x25b2a8,_0x3351f3){const _0x3b3d00=_0x374b20,_0x1befdf=new _0x2841d1[(_0x3b3d00(0x2ef))](_0x49fc29)[_0x3b3d00(0x3be)](0.2)[_0x3b3d00(0x2f7)](),_0x11c3c4=new _0x16a746['RegularPolygon'](_0x2f2a35+_0x2841d1[_0x3b3d00(0x3dc)](_0x323ad9),{'pointsGroup':_0x44c0d0,'fill':_0x1befdf||_0x16a746['getColor'](_0x2841d1[_0x3b3d00(0x21b)][_0x3b3d00(0x318)],0.2),'left':_0x25b2a8,'top':_0x3351f3,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3b3d00(0x2dd)](_0x11c3c4),this[_0x3b3d00(0x2e2)]['addObject'](_0x11c3c4,_0x1fc54e[_0x3b3d00(0x3af)]);}['_getAnchorBounding'](_0x461ff2){const _0x1b44a1=_0x461ff2[0x0],_0x395fa4=_0x1b44a1[0x0],_0x2df772=_0x1b44a1[0x2],{x:_0x46182a,y:_0x3fb689}=_0x395fa4,{x:_0xbd2d6b,y:_0x398857}=_0x2df772;return{'left':_0x46182a,'top':_0x3fb689,'width':_0xbd2d6b-_0x46182a,'height':_0x398857-_0x3fb689};}[_0x374b20(0x397)](){const _0x7432c5=_0x374b20,{scaleX:_0x20afe4,scaleY:_0x3c4d33}=this['_scene'][_0x7432c5(0x224)]();return Math['max'](_0x20afe4,_0x3c4d33);}}var _0x10b4a0=Object[_0x374b20(0x4a0)],_0x5ad83f=(_0xcbbdc,_0x574494,_0x40651a,_0x2a90da)=>{const _0x311457=_0x374b20;for(var _0x5c6eae=_0x2a90da>0x1?void 0x0:_0x2a90da?_0x10b4a0(_0x574494,_0x40651a):_0x574494,_0x4c5709=_0xcbbdc[_0x311457(0x3a6)]-0x1,_0x5612ef;_0x4c5709>=0x0;_0x4c5709--)(_0x5612ef=_0xcbbdc[_0x4c5709])&&(_0x5c6eae=_0x5612ef(_0x5c6eae)||_0x5c6eae);return _0x5c6eae;},_0x100c70=(_0x3f87b3,_0x911dfe)=>(_0x100582,_0x470fbd)=>_0x911dfe(_0x100582,_0x470fbd,_0x3f87b3);let _0x530d9d=class extends _0x2841d1['RxDisposable']{constructor(_0x43e4e9,_0x20bedd,_0x3a32f7,_0x9732d4,_0x3f026e){const _0x5a582d=_0x374b20;super(),_0x7caa35(this,'_cursorShapes',[]),_0x7caa35(this,'_cursors',[]),(this[_0x5a582d(0x424)]=_0x43e4e9,this[_0x5a582d(0x264)]=_0x20bedd,this[_0x5a582d(0x413)]=_0x3a32f7,this['_commandService']=_0x9732d4,this[_0x5a582d(0x3fb)]=_0x3f026e,this[_0x5a582d(0x4c4)]());}[_0x374b20(0x4c4)](){const _0x37fbb6=_0x374b20,_0x1e7d61=this[_0x37fbb6(0x424)]['unitId'],_0x5058a8=this[_0x37fbb6(0x264)];this[_0x37fbb6(0x2d8)](_0x4c6c40['combineLatest']([this[_0x37fbb6(0x413)]['getCollabCursors$'](_0x1e7d61),this['_themeService'][_0x37fbb6(0x41d)]])[_0x37fbb6(0x386)](_0xac2d00[_0x37fbb6(0x331)](([_0x101a0b,_0xf6de34])=>({'skeleton':_0x5058a8[_0x37fbb6(0x4b3)](),'cursors':[..._0x101a0b[_0x37fbb6(0x30e)]()][_0x37fbb6(0x3a4)](_0x2c7fca=>({..._0x2c7fca,'color':this[_0x37fbb6(0x3fb)]['getColorFromTheme'](_0x2c7fca[_0x37fbb6(0x251)])}))})))[_0x37fbb6(0x46e)](_0x2516c6=>{const _0x59cb39=_0x37fbb6;if(this[_0x59cb39(0x475)](),_0x2516c6){const {skeleton:_0x13d62e,cursors:_0xe15c80}=_0x2516c6;this[_0x59cb39(0x3aa)](_0x13d62e,_0xe15c80);}})),this[_0x37fbb6(0x367)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x4506b8,_0x32cb0e){const _0x144cfd=_0x374b20,{scene:_0x50e14e,mainComponent:_0x2b1ef3}=this[_0x144cfd(0x424)],_0x251802=_0x32cb0e[_0x144cfd(0x331)](_0x5077dc=>new _0x1e5b57(_0x5077dc,_0x50e14e,_0x4506b8,_0x2b1ef3));this['_cursorShapes']=_0x251802,this[_0x144cfd(0x34d)]=_0x32cb0e;}[_0x374b20(0x473)](){const _0x5ec4fc=_0x374b20;this[_0x5ec4fc(0x475)]();const {scene:_0x451bc6,mainComponent:_0x2af47d}=this[_0x5ec4fc(0x424)],_0x461bb8=this[_0x5ec4fc(0x264)][_0x5ec4fc(0x4b3)](),_0x18a7be=this[_0x5ec4fc(0x34d)]['map'](_0x16fe4f=>new _0x1e5b57(_0x16fe4f,_0x451bc6,_0x461bb8,_0x2af47d));this[_0x5ec4fc(0x249)]=_0x18a7be;}['_removeCollabCursors'](){const _0x12780d=_0x374b20;this['_cursorShapes'][_0x12780d(0x39d)](_0x35b37b=>_0x35b37b[_0x12780d(0x3bb)]()),this[_0x12780d(0x249)]=[];}['_initCommandExecutedListener'](){const _0x2b545a=_0x374b20,_0x556cb5=[_0x1fc54e[_0x2b545a(0x48c)]['id']];this[_0x2b545a(0x2d8)](this['_commandService'][_0x2b545a(0x456)](_0x4c4426=>{const _0x8eb074=_0x2b545a;_0x556cb5[_0x8eb074(0x403)](_0x4c4426['id'])&&_0x4c4426[_0x8eb074(0x31a)][_0x8eb074(0x3ce)]===this['_context'][_0x8eb074(0x3ce)]&&this['_refreshCollabCursors']();}));}[_0x374b20(0x367)](){const _0x267a9b=_0x374b20;this[_0x267a9b(0x2d8)](_0x2841d1['fromEventSubject'](this['_context'][_0x267a9b(0x1e8)]['onTransformChange$'])[_0x267a9b(0x386)](_0xac2d00['filter'](_0x587afb=>_0x587afb['type']===_0x16a746[_0x267a9b(0x333)][_0x267a9b(0x39b)]),_0xac2d00[_0x267a9b(0x3ac)](0x10))[_0x267a9b(0x46e)](()=>{const _0x5c1d70=_0x267a9b;this[_0x5c1d70(0x473)]();}));}};_0x530d9d=_0x5ad83f([_0x100c70(0x1,_0x2841d1['Inject'](_0x231ed4['DocSkeletonManagerService'])),_0x100c70(0x2,_0x2841d1[_0x374b20(0x1e2)](_0x301a4)),_0x100c70(0x3,_0x2841d1['ICommandService']),_0x100c70(0x4,_0x2841d1[_0x374b20(0x1e2)](_0x2841d1[_0x374b20(0x2fe)]))],_0x530d9d);const _0x191703=0x1,_0x32c4d0=1.5;class _0x3318c1 extends _0x16a746['Shape']{constructor(_0x154a9e,_0x225d36){const _0xb64839=_0x374b20;super(_0x154a9e,_0x225d36),_0x7caa35(this,_0xb64839(0x2f9)),_0x7caa35(this,'_hovered',!0x1),_0x7caa35(this,_0xb64839(0x209)),_0x7caa35(this,_0xb64839(0x290),''),_0x7caa35(this,_0xb64839(0x3c2),_0xb64839(0x253)),_0x7caa35(this,_0xb64839(0x3ad)),(_0x225d36&&this[_0xb64839(0x4a8)](_0x225d36),this[_0xb64839(0x320)][_0xb64839(0x3fe)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0xb64839(0x381)][_0xb64839(0x3fe)](()=>this[_0xb64839(0x4a8)]({'hovered':!0x1})));}[_0x374b20(0x4a8)](_0x2a86cd){const _0x3f4757=_0x374b20;var _0x2b1dfd,_0x30596c,_0x50d3c4,_0x321289,_0x5f1c1c,_0x34356d;this['_color']=(_0x2b1dfd=_0x2a86cd[_0x3f4757(0x251)])!=null?_0x2b1dfd:this[_0x3f4757(0x2f9)],this[_0x3f4757(0x241)]=(_0x30596c=_0x2a86cd[_0x3f4757(0x404)])!=null?_0x30596c:this['_hovered'],this[_0x3f4757(0x209)]=(_0x50d3c4=_0x2a86cd[_0x3f4757(0x4c0)])!=null?_0x50d3c4:this['_range'],this[_0x3f4757(0x290)]=(_0x321289=_0x2a86cd[_0x3f4757(0x38c)])!=null?_0x321289:this[_0x3f4757(0x290)],this[_0x3f4757(0x3c2)]=(_0x5f1c1c=_0x2a86cd['labelPosition'])!=null?_0x5f1c1c:this['_labelPosition'],this[_0x3f4757(0x3ad)]=(_0x34356d=_0x2a86cd[_0x3f4757(0x2f2)])!=null?_0x34356d:this['_backgroundColor'],this[_0x3f4757(0x3cf)]({'width':_0x2a86cd['width'],'height':_0x2a86cd['height']});}['onMouseMove'](_0x356d8b){const _0x588247=_0x374b20,{row:_0xee3ab6,column:_0x157e53}=_0x356d8b;if(_0xee3ab6>=this[_0x588247(0x209)][_0x588247(0x2e0)]&&_0xee3ab6<=this[_0x588247(0x209)]['endRow']&&_0x157e53>=this[_0x588247(0x209)]['startColumn']&&_0x157e53<=this['_range'][_0x588247(0x3bf)]){this[_0x588247(0x4a8)]({'hovered':!0x0});return;}this[_0x588247(0x4a8)]({'hovered':!0x1});}['triggerDblclick'](_0x13072e){return!0x1;}[_0x374b20(0x492)](_0x1a00b2){const _0x23c5b2=_0x374b20;_0x16a746[_0x23c5b2(0x418)][_0x23c5b2(0x49e)](_0x1a00b2,{'width':this['width'],'height':this[_0x23c5b2(0x1f7)],'strokeWidth':_0x32c4d0,'stroke':this[_0x23c5b2(0x2f9)],'evented':!0x1,'fill':this[_0x23c5b2(0x3ad)]}),this[_0x23c5b2(0x241)]&&(_0x1a00b2[_0x23c5b2(0x457)](),_0x1a00b2[_0x23c5b2(0x3bd)](0x1,0x0,0x0,0x1,this[_0x23c5b2(0x332)],this[_0x23c5b2(0x3c2)]===_0x23c5b2(0x3a3)?0x0:-_0x4d4fdc),_0x3347b4[_0x23c5b2(0x49e)](_0x1a00b2,{'text':this[_0x23c5b2(0x290)],'color':this[_0x23c5b2(0x2f9)]}),_0x1a00b2[_0x23c5b2(0x468)]());}}var _0x4aba40=Object[_0x374b20(0x4a0)],_0x440cae=(_0x213d90,_0x29082d,_0x18fbea,_0x4cdbef)=>{for(var _0x5c82e6=_0x4cdbef>0x1?void 0x0:_0x4cdbef?_0x4aba40(_0x29082d,_0x18fbea):_0x29082d,_0x39a08b=_0x213d90['length']-0x1,_0x182c14;_0x39a08b>=0x0;_0x39a08b--)(_0x182c14=_0x213d90[_0x39a08b])&&(_0x5c82e6=_0x182c14(_0x5c82e6)||_0x5c82e6);return _0x5c82e6;},_0x5cc745=(_0x392298,_0xce87d9)=>(_0x14655e,_0x261dca)=>_0xce87d9(_0x14655e,_0x261dca,_0x392298);const _0x280ff7=0x1389;let _0x1fcb8e=class extends _0x2841d1[_0x374b20(0x257)]{constructor(_0x476b37,_0xfc58e8,_0x50eb66,_0x279d54){const _0x47624b=_0x374b20;super(),_0x7caa35(this,'_cursors',new Set()),_0x7caa35(this,_0x47624b(0x2cf),null),(this[_0x47624b(0x424)]=_0x476b37,this[_0x47624b(0x476)]=_0xfc58e8,this[_0x47624b(0x413)]=_0x50eb66,this[_0x47624b(0x3fb)]=_0x279d54,this[_0x47624b(0x4c4)]());}[_0x374b20(0x4c4)](){const _0x36643f=_0x374b20;this[_0x36643f(0x476)]['currentSkeleton$'][_0x36643f(0x386)](_0xac2d00[_0x36643f(0x3db)](this['dispose$']),_0xac2d00[_0x36643f(0x452)](_0x1f0069=>{const _0x3ead80=_0x36643f;if(_0x1f0069){const _0x1459f6=_0x1f0069[_0x3ead80(0x2d3)];return _0x4c6c40['combineLatest'](this[_0x3ead80(0x413)][_0x3ead80(0x402)](this[_0x3ead80(0x424)][_0x3ead80(0x3ce)]),this[_0x3ead80(0x3fb)][_0x3ead80(0x41d)])[_0x3ead80(0x386)](_0xac2d00[_0x3ead80(0x331)](([_0x5b9d6b,_0x1ee7a1])=>{const _0x3b621d=_0x3ead80,_0x4ce230=new Map();return _0x5b9d6b[_0x3b621d(0x39d)]((_0x56321a,_0x10a76f)=>{const _0x25a77c=_0x3b621d;if(_0x56321a['sheetID']===_0x1459f6){const _0x39392f={..._0x56321a};_0x39392f[_0x25a77c(0x251)]=this[_0x25a77c(0x3fb)]['getColorFromTheme'](_0x56321a[_0x25a77c(0x251)]),_0x4ce230[_0x25a77c(0x45c)](_0x10a76f,_0x39392f);}}),{'skeleton':_0x1f0069,'cursors':_0x4ce230};}));}return _0x4c6c40['of']({'skeleton':null,'cursors':new Map()});}))[_0x36643f(0x46e)](({skeleton:_0xffd0f6,cursors:_0x5d78da})=>{const _0x46dfd6=_0x36643f;this[_0x46dfd6(0x475)](),_0xffd0f6&&this[_0x46dfd6(0x3aa)](_0xffd0f6,_0x5d78da);}),this[_0x36643f(0x476)]['currentSkeleton$'][_0x36643f(0x46e)](_0xb5e51=>{const _0x279b9d=_0x36643f;if(_0xb5e51==null)return;const {skeleton:_0x3655ad}=_0xb5e51,{scene:_0x16176a}=this['_context'];_0x16176a[_0x279b9d(0x48a)][_0x279b9d(0x3fe)](_0x2841d1['debounce'](_0x144cad=>{const _0x2f1012=_0x279b9d;var _0x140321,_0x40929a;const {offsetX:_0x25365,offsetY:_0xcc2885}=_0x144cad,{x:_0x2db578,y:_0x6a2161}=_0x16176a[_0x2f1012(0x2de)](_0x16a746['Vector2']['FromArray']([_0x25365,_0xcc2885])),{scaleX:_0x25402a,scaleY:_0x2e0f4e}=_0x16176a['getAncestorScale'](),_0x19f62a=_0x16176a['getViewport'](_0x16a746[_0x2f1012(0x40d)]['VIEW_MAIN']),_0x45f9cb=_0x16176a['getVpScrollXYInfoByPosToVp'](_0x16a746['Vector2'][_0x2f1012(0x45b)]([_0x2db578,_0x6a2161]),_0x19f62a),_0xd1aa88=_0x3655ad['getCellPositionByOffset'](_0x25365,_0xcc2885,_0x25402a,_0x2e0f4e,_0x45f9cb);((_0x140321=this['_lastPointer'])==null?void 0x0:_0x140321[_0x2f1012(0x2a3)])===_0xd1aa88['column']&&((_0x40929a=this[_0x2f1012(0x2cf)])==null?void 0x0:_0x40929a[_0x2f1012(0x269)])===_0xd1aa88[_0x2f1012(0x269)]||this['_cursors'][_0x2f1012(0x39d)](_0x5110f2=>{_0x5110f2['onMouseMove'](_0xd1aa88);});},0x64));});}[_0x374b20(0x3aa)](_0x1af801,_0x38d2e8){const _0x352129=_0x374b20;var _0x1cadb4;const _0x1bbe68=(_0x1cadb4=this[_0x352129(0x476)]['getCurrent']())==null?void 0x0:_0x1cadb4[_0x352129(0x23e)];if(!_0x1bbe68)return;const _0x42e0b5=this['_getSheetObject']();if(!_0x42e0b5)return;this['_cursors'][_0x352129(0x39d)](_0x5b9721=>{const _0x15b7ad=_0x352129;_0x5b9721[_0x15b7ad(0x1f8)]();});const {scene:_0x469194}=_0x42e0b5,_0xfecda4=_0x4fb359(Array[_0x352129(0x448)](_0x38d2e8['values']()))[_0x352129(0x331)](_0x5673bd=>{const _0x36df94=_0x352129,{color:_0x1feedf,range:_0x4cabc8,name:_0x532f14,selection:_0x393290,sheetID:_0x159c5e}=_0x5673bd,{startColumn:_0x10b1ef,startRow:_0x14b5c2,endColumn:_0x10f28f,endRow:_0x494163}=_0x4cabc8,_0x35d280=_0xa34f54[_0x36df94(0x34e)](_0x14b5c2,_0x10b1ef,_0x469194,_0x1bbe68),_0x5a6502=_0xa34f54[_0x36df94(0x34e)](_0x494163,_0x10f28f,_0x469194,_0x1bbe68),{columnHeaderHeightAndMarginTop:_0x116510}=_0x1bbe68,{startX:_0x59ee6c,startY:_0x503b1a}=_0x35d280,{endX:_0x191314,endY:_0x408cf6}=_0x5a6502,_0x3378da=_0x191314-_0x59ee6c,_0x1bfbe7=_0x408cf6-_0x503b1a,_0x51e5de={'labelPosition':_0x503b1a-_0x116510>=_0x4d4fdc?_0x36df94(0x253):_0x36df94(0x3a3),'sheetID':_0x159c5e,'range':_0x4cabc8,'color':_0x1feedf,'name':_0x532f14,'selection':_0x393290,'left':_0x59ee6c,'top':_0x503b1a,'width':_0x3378da,'height':_0x1bfbe7,'evented':!0x1,'zIndex':_0x280ff7};return new _0x3318c1(_0x532f14,_0x51e5de);});_0x469194[_0x352129(0x259)](_0xfecda4,_0x191703),this['_cursors']=new Set(_0xfecda4);}['_removeCollabCursors'](){const _0x47650b=_0x374b20;var _0x4e60cb;(_0x4e60cb=this[_0x47650b(0x34d)])==null||_0x4e60cb[_0x47650b(0x39d)](_0x44cdc3=>_0x44cdc3[_0x47650b(0x3bb)]());}['_getSheetObject'](){const _0x34f70a=_0x374b20;return _0xa34f54[_0x34f70a(0x205)](this[_0x34f70a(0x424)][_0x34f70a(0x3fc)],this[_0x34f70a(0x424)]);}};_0x1fcb8e=_0x440cae([_0x5cc745(0x1,_0x2841d1[_0x374b20(0x1e2)](_0xa34f54[_0x374b20(0x3d4)])),_0x5cc745(0x2,_0x2841d1[_0x374b20(0x1e2)](_0x301a4)),_0x5cc745(0x3,_0x2841d1[_0x374b20(0x1e2)](_0x2841d1['ThemeService']))],_0x1fcb8e);function _0x4fb359(_0x3b67c5){const _0x46db05=_0x374b20,_0x4e0526=new Map();return _0x3b67c5[_0x46db05(0x39d)](_0x253fa9=>{const _0x125eab=_0x46db05;if(_0x4e0526[_0x125eab(0x26b)](_0x253fa9['selection'])){const _0x2815f0=_0x4e0526[_0x125eab(0x32d)](_0x253fa9[_0x125eab(0x2e1)]);_0x2815f0[_0x125eab(0x38c)]+=',\x20'+_0x253fa9[_0x125eab(0x38c)];}else _0x4e0526[_0x125eab(0x45c)](_0x253fa9[_0x125eab(0x2e1)],_0x253fa9);}),Array['from'](_0x4e0526[_0x46db05(0x30e)]());}var _0x4736ee=Object[_0x374b20(0x4a0)],_0x4b2192=(_0x5cb6f0,_0x835235,_0x21d6eb,_0x225950)=>{const _0x3ffdc4=_0x374b20;for(var _0x59fb00=_0x225950>0x1?void 0x0:_0x225950?_0x4736ee(_0x835235,_0x21d6eb):_0x835235,_0x498a52=_0x5cb6f0[_0x3ffdc4(0x3a6)]-0x1,_0x2b7c65;_0x498a52>=0x0;_0x498a52--)(_0x2b7c65=_0x5cb6f0[_0x498a52])&&(_0x59fb00=_0x2b7c65(_0x59fb00)||_0x59fb00);return _0x59fb00;},_0x2cc312=(_0x22b521,_0x1d8797)=>(_0x3ae961,_0x1c5887)=>_0x1d8797(_0x3ae961,_0x1c5887,_0x22b521);let _0x336870=class extends _0x2841d1['Disposable']{constructor(_0x2b3557,_0x325109,_0x2f2745,_0x16fa55,_0x1dca23,_0x599a1c){const _0x41f6cc=_0x374b20;super(),this[_0x41f6cc(0x3b4)]=_0x2b3557,this['_localCacheService']=_0x325109,this[_0x41f6cc(0x1f2)]=_0x2f2745,this['_messageService']=_0x16fa55,this[_0x41f6cc(0x36a)]=_0x1dca23,this[_0x41f6cc(0x40f)]=_0x599a1c,this[_0x41f6cc(0x40a)](),this[_0x41f6cc(0x2ba)]();}['_setupBeforeClosingHandler'](){const _0x103391=_0x374b20;this[_0x103391(0x2d8)](this[_0x103391(0x3b4)][_0x103391(0x365)](()=>{const _0x4b4c8a=_0x103391;if(this[_0x4b4c8a(0x393)]['saveTaskMap'][_0x4b4c8a(0x32e)])return this[_0x4b4c8a(0x40f)]['t'](_0x4b4c8a(0x237));}));}[_0x374b20(0x2ba)](){const _0x48bca4=_0x374b20;this[_0x48bca4(0x2d8)](this[_0x48bca4(0x1f2)][_0x48bca4(0x1dc)][_0x48bca4(0x46e)](_0x3aa8c9=>{const _0x2384d4=_0x48bca4;_0x3aa8c9['id']===_0x5599fc['CollaborationUIEventId'][_0x2384d4(0x27e)]&&this[_0x2384d4(0x35b)][_0x2384d4(0x2a5)]({'type':_0x42fa8d[_0x2384d4(0x220)][_0x2384d4(0x279)],'content':this['_localeService']['t'](_0x2384d4(0x4b2))}),_0x3aa8c9['id']===_0x5599fc['CollaborationUIEventId'][_0x2384d4(0x23f)]&&this[_0x2384d4(0x35b)][_0x2384d4(0x2a5)]({'type':_0x42fa8d[_0x2384d4(0x220)][_0x2384d4(0x279)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x3aa8c9['id']===_0x5599fc['CollaborationUIEventId'][_0x2384d4(0x4c3)]&&this['_notificationService']['show']({'title':this['_localeService']['t'](_0x2384d4(0x431)),'content':this['_localeService']['t']('permission.content'),'type':'error','duration':0x0}),_0x3aa8c9['id']===_0x5599fc[_0x2384d4(0x25c)][_0x2384d4(0x338)]&&this[_0x2384d4(0x35b)][_0x2384d4(0x2a5)]({'type':_0x42fa8d[_0x2384d4(0x220)][_0x2384d4(0x315)],'content':this[_0x2384d4(0x40f)]['t'](_0x2384d4(0x389))+'('+_0x3aa8c9['data']+')'}),_0x3aa8c9['id']===_0x5599fc['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x2384d4(0x35b)][_0x2384d4(0x2a5)]({'type':_0x42fa8d[_0x2384d4(0x220)][_0x2384d4(0x279)],'content':this[_0x2384d4(0x40f)]['t'](_0x3aa8c9['data']||'')}),_0x3aa8c9['id']===_0x5599fc[_0x2384d4(0x25c)][_0x2384d4(0x34b)]&&this[_0x2384d4(0x35b)]['show']({'type':_0x42fa8d['MessageType'][_0x2384d4(0x279)],'content':this['_localeService']['t'](_0x2384d4(0x44d))}),_0x3aa8c9['id']===_0x5599fc[_0x2384d4(0x25c)][_0x2384d4(0x275)]&&this[_0x2384d4(0x35b)][_0x2384d4(0x2a5)]({'type':_0x42fa8d[_0x2384d4(0x220)][_0x2384d4(0x315)],'content':this[_0x2384d4(0x40f)]['t'](_0x2384d4(0x4ab))}),_0x3aa8c9['id']===_0x5599fc['CollaborationUIEventId'][_0x2384d4(0x3ec)]&&this[_0x2384d4(0x35b)][_0x2384d4(0x2a5)]({'type':_0x42fa8d[_0x2384d4(0x220)]['Error'],'content':this[_0x2384d4(0x40f)]['t'](_0x2384d4(0x461))});}));}};_0x336870=_0x4b2192([_0x2cc312(0x0,_0x151eb1[_0x374b20(0x3b0)]),_0x2cc312(0x1,_0x5599fc[_0x374b20(0x20c)]),_0x2cc312(0x2,_0x2841d1['Inject'](_0x5599fc[_0x374b20(0x398)])),_0x2cc312(0x3,_0x151eb1['IMessageService']),_0x2cc312(0x4,_0x151eb1[_0x374b20(0x203)]),_0x2cc312(0x5,_0x2841d1['Inject'](_0x2841d1['LocaleService']))],_0x336870);var _0x163766=Object['getOwnPropertyDescriptor'],_0x502742=(_0x342d3d,_0x13ab2e,_0xc93a59,_0x548100)=>{for(var _0xc901e6=_0x548100>0x1?void 0x0:_0x548100?_0x163766(_0x13ab2e,_0xc93a59):_0x13ab2e,_0x5c81aa=_0x342d3d['length']-0x1,_0x3d9d5f;_0x5c81aa>=0x0;_0x5c81aa--)(_0x3d9d5f=_0x342d3d[_0x5c81aa])&&(_0xc901e6=_0x3d9d5f(_0xc901e6)||_0xc901e6);return _0xc901e6;},_0x159fea=(_0x31d900,_0x327653)=>(_0x360b24,_0x6c21c4)=>_0x327653(_0x360b24,_0x6c21c4,_0x31d900);let _0x486fba=class extends _0x2841d1[_0x374b20(0x231)]{constructor(_0x3fa64b,_0x206778,_0x1dd452,_0xc5d778){const _0x542de5=_0x374b20;super(),_0x7caa35(this,'_memberID'),(this['_injector']=_0x3fa64b,this['_httpService']=_0x206778,this['_logService']=_0x1dd452,this[_0x542de5(0x271)]=_0xc5d778,this['_init']());}[_0x374b20(0x4c4)](){const _0x51775a=_0x374b20;this[_0x51775a(0x294)](),this[_0x51775a(0x400)](),this[_0x51775a(0x202)](),this['_initUserListener']();}[_0x374b20(0x313)](){const _0x2c8bc8=_0x374b20;this[_0x2c8bc8(0x2d8)](this['_collaborationSessionService'][_0x2c8bc8(0x248)][_0x2c8bc8(0x46e)](_0x1bd0a6=>{const _0xb91943=_0x2c8bc8;this[_0xb91943(0x303)]=_0x1bd0a6==null?void 0x0:_0x1bd0a6[_0xb91943(0x244)];}));}[_0x374b20(0x294)](){const _0x53fb6=_0x374b20,_0x1e8b3f=_0x49d915=>{const _0x4e31f6=_0x25bc;var _0xcf6f3b;this[_0x4e31f6(0x238)]('error',_0x4e31f6(0x3d5)+_0x49d915[_0x4e31f6(0x227)]+_0x4e31f6(0x222)+_0x49d915[_0x4e31f6(0x24d)]+':'+_0x49d915[_0x4e31f6(0x230)]+':'+_0x49d915[_0x4e31f6(0x300)]+'\x0a'+(((_0xcf6f3b=_0x49d915[_0x4e31f6(0x20f)])==null?void 0x0:_0xcf6f3b[_0x4e31f6(0x2b3)])||''));};window[_0x53fb6(0x2cd)](_0x53fb6(0x20f),_0x1e8b3f),this[_0x53fb6(0x2d8)](()=>{const _0x15ff78=_0x53fb6;window[_0x15ff78(0x37d)](_0x15ff78(0x20f),_0x1e8b3f);});}['_initUnhandledRejectionListener'](){const _0x396961=_0x374b20,_0xe6254=_0x19ca1c=>{const _0x350878=_0x25bc;this['_uploadLog'](_0x350878(0x20f),_0x350878(0x43c)+_0x19ca1c[_0x350878(0x41f)]);};window['addEventListener'](_0x396961(0x35c),_0xe6254),this['disposeWithMe'](()=>{window['removeEventListener']('unhandledrejection',_0xe6254);});}[_0x374b20(0x202)](){const _0x5ccc7d=_0x374b20,_0x2ddc43=this[_0x5ccc7d(0x37a)]['error']['bind'](this[_0x5ccc7d(0x37a)]);this['_logService'][_0x5ccc7d(0x20f)]=(..._0x5abb51)=>{const _0x4eb8ab=_0x5ccc7d,_0x4347b2=_0x5abb51[_0x4eb8ab(0x331)](_0xfe80b4=>_0xfe80b4 instanceof Error?_0xfe80b4[_0x4eb8ab(0x227)]+'\x0a'+_0xfe80b4['stack']:String(_0xfe80b4))[_0x4eb8ab(0x486)]('\x20');this[_0x4eb8ab(0x238)](_0x4eb8ab(0x20f),_0x4eb8ab(0x47f)+_0x4347b2),_0x2ddc43(..._0x5abb51);},this[_0x5ccc7d(0x2d8)](()=>{this['_logService']['error']=_0x2ddc43;});}[_0x374b20(0x238)](_0x22fc90,_0x56ca4b){const _0x4bb327=_0x374b20;try{const _0x5e59fc={'userId':this[_0x4bb327(0x303)],'logLabel':_0x22fc90,'content':_0x56ca4b};this[_0x4bb327(0x2fb)]['post'](_0x4bb327(0x4a7),{'body':_0x5e59fc})[_0x4bb327(0x3e8)](()=>{});}catch{}}};_0x486fba=_0x502742([_0x159fea(0x0,_0x2841d1[_0x374b20(0x1e2)](_0x2841d1['Injector'])),_0x159fea(0x1,_0x2841d1[_0x374b20(0x1e2)](_0x1e8385[_0x374b20(0x3f1)])),_0x159fea(0x2,_0x2841d1[_0x374b20(0x3e3)]),_0x159fea(0x3,_0x2841d1[_0x374b20(0x1e2)](_0x5599fc[_0x374b20(0x214)]))],_0x486fba);const _0x88136b=_0x374b20(0x3c0),_0x2e7114={};var _0x560839=Object[_0x374b20(0x4a0)],_0x3e096c=(_0x22d78a,_0x1fa0b3,_0x5ae663,_0x11fa39)=>{const _0xa46901=_0x374b20;for(var _0xb8ae75=_0x11fa39>0x1?void 0x0:_0x11fa39?_0x560839(_0x1fa0b3,_0x5ae663):_0x1fa0b3,_0xe72f20=_0x22d78a[_0xa46901(0x3a6)]-0x1,_0x42d2c4;_0xe72f20>=0x0;_0xe72f20--)(_0x42d2c4=_0x22d78a[_0xe72f20])&&(_0xb8ae75=_0x42d2c4(_0xb8ae75)||_0xb8ae75);return _0xb8ae75;},_0x4ec185=(_0x40c6b5,_0x86f99e)=>(_0x10c0de,_0xcd21b5)=>_0x86f99e(_0x10c0de,_0xcd21b5,_0x40c6b5);let _0x387730=class{constructor(_0x3d2720,_0x5409f8){const _0x6881b8=_0x374b20;this[_0x6881b8(0x2bf)]=_0x3d2720,this['_renderManagerService']=_0x5409f8;}[_0x374b20(0x437)](_0x1d3c9f){const _0x3e0442=_0x374b20;this[_0x3e0442(0x350)](_0x1d3c9f),this[_0x3e0442(0x47a)](_0x1d3c9f);}[_0x374b20(0x2c4)](_0x46bdca){const _0x341160=_0x374b20,{unitID:_0x855e98}=_0x46bdca,_0x3eb108=this[_0x341160(0x48d)][_0x341160(0x3d2)](_0x855e98)['with'](_0x1fc54e[_0x341160(0x27b)]),{redoCache:_0x356312}=_0x3eb108['getUndoRedoMutationParamsCache']();if(_0x356312[_0x341160(0x3a6)]===0x0)return _0x46bdca;let _0x5e5c75=_0x2841d1[_0x341160(0x2fd)]['deepClone'](_0x46bdca[_0x341160(0x443)][0x0]);for(let _0x2e6e2e=0x0;_0x2e6e2e<_0x356312['length'];_0x2e6e2e++){const _0x25016e={'id':_0x341160(0x206),'params':{..._0x356312[_0x2e6e2e]}},_0x52f815=this[_0x341160(0x2bf)][_0x341160(0x33e)](_0x5e5c75,_0x25016e,!0x1);if(_0x32c33c[_0x341160(0x21e)](_0x52f815))throw _0x52f815[_0x341160(0x20f)];_0x5e5c75=_0x52f815[_0x341160(0x255)];}return{..._0x2841d1[_0x341160(0x2fd)][_0x341160(0x26e)](_0x46bdca),'mutations':[_0x5e5c75]};}[_0x374b20(0x350)](_0x165d49){const _0xe5258e=_0x374b20,{unitID:_0x2086b4}=_0x165d49,_0x3a8853=this[_0xe5258e(0x48d)][_0xe5258e(0x3d2)](_0x2086b4)[_0xe5258e(0x27d)](_0x1fc54e[_0xe5258e(0x27b)]),{undoCache:_0xa9f18b,redoCache:_0x5af6e9}=_0x3a8853['getUndoRedoMutationParamsCache']();if(_0xa9f18b[_0xe5258e(0x3a6)]===0x0||_0x5af6e9[_0xe5258e(0x3a6)]===0x0)return;const _0x3629e2=[],_0x244872=[];let _0x434f23=_0x2841d1[_0xe5258e(0x2fd)][_0xe5258e(0x26e)](_0x165d49[_0xe5258e(0x443)][0x0]),_0x1bc6af=_0x2841d1[_0xe5258e(0x2fd)][_0xe5258e(0x26e)](_0x165d49[_0xe5258e(0x443)][0x0]);for(let _0x306cea=_0xa9f18b[_0xe5258e(0x3a6)]-0x1;_0x306cea>=0x0;_0x306cea--){const _0xa0967a={'id':_0xe5258e(0x206),'params':{..._0xa9f18b[_0x306cea]}},_0x9fccfe={'id':_0xe5258e(0x206),'params':{..._0x5af6e9[_0x306cea]}},_0x576d44=this[_0xe5258e(0x2bf)][_0xe5258e(0x33e)](_0x434f23,_0xa0967a,!0x1),_0x460d83=this[_0xe5258e(0x2bf)]['transformMutation'](_0x1bc6af,_0x9fccfe,!0x1);if(_0x32c33c[_0xe5258e(0x21e)](_0x576d44))throw _0x576d44[_0xe5258e(0x20f)];if(_0x32c33c['isTransformMutationFailure'](_0x460d83))throw _0x460d83[_0xe5258e(0x20f)];_0x3629e2[_0xe5258e(0x250)](_0x576d44[_0xe5258e(0x449)][_0xe5258e(0x31a)]),_0x244872[_0xe5258e(0x250)](_0x460d83['m2Prime'][_0xe5258e(0x31a)]),_0x434f23=_0x576d44[_0xe5258e(0x255)],_0x1bc6af=_0x460d83[_0xe5258e(0x255)];}_0x3a8853[_0xe5258e(0x3bc)]({'undoCache':_0x3629e2,'redoCache':_0x244872});}[_0x374b20(0x47a)](_0xe352da){const _0x23ced9=_0x374b20,{unitID:_0x13eb00}=_0xe352da,_0x29197a=this['_renderManagerService'][_0x23ced9(0x3d2)](_0x13eb00)[_0x23ced9(0x27d)](_0x1fc54e[_0x23ced9(0x27b)]),_0x1b6184=_0x29197a[_0x23ced9(0x308)]();if(_0x1b6184==null)return;const _0x134362=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe352da['unitID'],'actions':null,'textRanges':[_0x1b6184]}}],_0xce25f7=this[_0x23ced9(0x2bf)][_0x23ced9(0x261)](_0xe352da,_0x134362);if(!_0x32c33c[_0x23ced9(0x426)](_0xce25f7))throw _0xce25f7[_0x23ced9(0x20f)];const _0x36e8c6=_0xce25f7[_0x23ced9(0x449)][0x0][_0x23ced9(0x31a)][_0x23ced9(0x2be)];Array[_0x23ced9(0x363)](_0x36e8c6)&&_0x36e8c6[_0x23ced9(0x3a6)]&&_0x29197a[_0x23ced9(0x375)](_0x36e8c6[0x0]);}};_0x387730=_0x3e096c([_0x4ec185(0x0,_0x32c33c[_0x374b20(0x478)]),_0x4ec185(0x1,_0x16a746['IRenderManagerService'])],_0x387730);var _0x28042a=Object[_0x374b20(0x4a0)],_0x17ace5=(_0x40436c,_0x492ec0,_0xb90238,_0x111653)=>{const _0x26b477=_0x374b20;for(var _0x5684fb=_0x111653>0x1?void 0x0:_0x111653?_0x28042a(_0x492ec0,_0xb90238):_0x492ec0,_0x4b2ea1=_0x40436c[_0x26b477(0x3a6)]-0x1,_0x20a27b;_0x4b2ea1>=0x0;_0x4b2ea1--)(_0x20a27b=_0x40436c[_0x4b2ea1])&&(_0x5684fb=_0x20a27b(_0x5684fb)||_0x5684fb);return _0x5684fb;},_0x323a2a=(_0x97aebf,_0x458919)=>(_0x591864,_0x5893b2)=>_0x458919(_0x591864,_0x5893b2,_0x97aebf);let _0x5aada7=class{constructor(_0x2f451f,_0x489b01,_0x149472){const _0x439218=_0x374b20;this[_0x439218(0x39c)]=_0x2f451f,this[_0x439218(0x2bf)]=_0x489b01,this[_0x439218(0x3dd)]=_0x149472;}[_0x374b20(0x408)](_0x2f0808){const _0x187fbf=_0x374b20;this[_0x187fbf(0x33d)](_0x2f0808);}['transformRemoteChangeset'](_0x283943){const _0x4278b=_0x374b20,{unitID:_0x523384}=_0x283943,{collaboration:_0x5c4c11}=this[_0x4278b(0x3dd)][_0x4278b(0x242)](_0x523384);if(_0x5c4c11[_0x4278b(0x3a6)]===0x0)return _0x283943;let _0x1aca56=_0x2841d1[_0x4278b(0x2fd)][_0x4278b(0x26e)](_0x283943['mutations'][0x0]);for(let _0x56eab6=0x0;_0x56eab6<_0x5c4c11[_0x4278b(0x3a6)];_0x56eab6++){const _0x329473={'id':_0x4278b(0x206),'params':{'unitId':_0x5c4c11[_0x56eab6][_0x4278b(0x3ce)],..._0x5c4c11[_0x56eab6][_0x4278b(0x2ac)]}},_0x3cd3f5=this[_0x4278b(0x2bf)][_0x4278b(0x33e)](_0x1aca56,_0x329473,!0x1);if(_0x32c33c['isTransformMutationFailure'](_0x3cd3f5))throw _0x3cd3f5[_0x4278b(0x20f)];_0x1aca56=_0x3cd3f5[_0x4278b(0x255)];}return{..._0x2841d1[_0x4278b(0x2fd)]['deepClone'](_0x283943),'mutations':[_0x1aca56]};}[_0x374b20(0x33d)](_0x43b5ce){const _0x5de109=_0x374b20,{unitID:_0x1276be}=_0x43b5ce,{history:_0x5424ce,collaboration:_0x434c78}=this[_0x5de109(0x3dd)][_0x5de109(0x242)](_0x1276be);if(_0x5424ce[_0x5de109(0x3a6)]===0x0&&_0x434c78[_0x5de109(0x3a6)]===0x0)return;const _0x2b87be=[],_0x13536e=[];let _0x43e8ff=_0x2841d1[_0x5de109(0x2fd)]['deepClone'](_0x43b5ce[_0x5de109(0x443)][0x0]),_0x20c88a=_0x2841d1['Tools'][_0x5de109(0x26e)](_0x43b5ce[_0x5de109(0x443)][0x0]);for(let _0x582bc8=_0x5424ce[_0x5de109(0x3a6)]-0x1;_0x582bc8>=0x0;_0x582bc8--){const _0x4d890b={'id':_0x5de109(0x206),'params':{'unitId':_0x5424ce[_0x582bc8][_0x5de109(0x3ce)],..._0x5424ce[_0x582bc8][_0x5de109(0x23a)]}},_0x155c19={'id':_0x5de109(0x206),'params':{'unitId':_0x5424ce[_0x582bc8][_0x5de109(0x3ce)],..._0x5424ce[_0x582bc8][_0x5de109(0x2ac)]}},_0x141df4=this[_0x5de109(0x2bf)][_0x5de109(0x33e)](_0x43e8ff,_0x4d890b,!0x1),_0x38fb7b=this['_transformService']['transformMutation'](_0x20c88a,_0x155c19,!0x1);if(_0x32c33c[_0x5de109(0x21e)](_0x141df4))throw _0x141df4[_0x5de109(0x20f)];if(_0x32c33c[_0x5de109(0x21e)](_0x38fb7b))throw _0x38fb7b[_0x5de109(0x20f)];_0x2b87be['unshift']({..._0x5424ce[_0x582bc8],'undoState':_0x141df4[_0x5de109(0x449)]['params'],'redoState':_0x38fb7b[_0x5de109(0x449)][_0x5de109(0x31a)]}),_0x43e8ff=_0x141df4['m1Prime'],_0x20c88a=_0x38fb7b[_0x5de109(0x255)];}_0x43e8ff=_0x2841d1[_0x5de109(0x2fd)]['deepClone'](_0x43b5ce[_0x5de109(0x443)][0x0]),_0x20c88a=_0x2841d1[_0x5de109(0x2fd)]['deepClone'](_0x43b5ce[_0x5de109(0x443)][0x0]);for(let _0x307ffd=_0x434c78[_0x5de109(0x3a6)]-0x1;_0x307ffd>=0x0;_0x307ffd--){const _0x312b63={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x434c78[_0x307ffd][_0x5de109(0x3ce)],..._0x434c78[_0x307ffd][_0x5de109(0x23a)]}},_0x789117={'id':_0x5de109(0x206),'params':{'unitId':_0x434c78[_0x307ffd][_0x5de109(0x3ce)],..._0x434c78[_0x307ffd][_0x5de109(0x2ac)]}},_0x39f5b7=this['_transformService'][_0x5de109(0x33e)](_0x43e8ff,_0x312b63,!0x1),_0x4fe136=this['_transformService'][_0x5de109(0x33e)](_0x20c88a,_0x789117,!0x1);if(_0x32c33c['isTransformMutationFailure'](_0x39f5b7))throw _0x39f5b7[_0x5de109(0x20f)];if(_0x32c33c[_0x5de109(0x21e)](_0x4fe136))throw _0x4fe136[_0x5de109(0x20f)];_0x13536e[_0x5de109(0x250)]({..._0x434c78[_0x307ffd],'undoState':_0x39f5b7[_0x5de109(0x449)][_0x5de109(0x31a)],'redoState':_0x4fe136['m2Prime'][_0x5de109(0x31a)]}),_0x43e8ff=_0x39f5b7[_0x5de109(0x255)],_0x20c88a=_0x4fe136[_0x5de109(0x255)];}this[_0x5de109(0x3dd)][_0x5de109(0x2c5)](_0x1276be,{'history':_0x2b87be,'collaboration':_0x13536e});}};_0x5aada7=_0x17ace5([_0x323a2a(0x0,_0x2841d1[_0x374b20(0x1e2)](_0x2841d1[_0x374b20(0x451)])),_0x323a2a(0x1,_0x32c33c['ITransformService']),_0x323a2a(0x2,_0x2841d1[_0x374b20(0x1e2)](_0x1fc54e[_0x374b20(0x3e1)]))],_0x5aada7);var _0x519fa8=Object['getOwnPropertyDescriptor'],_0x5af926=(_0x4cd386,_0x225a8d,_0x11a87e,_0x4ddf8a)=>{const _0x2af5d4=_0x374b20;for(var _0x4d8b13=_0x4ddf8a>0x1?void 0x0:_0x4ddf8a?_0x519fa8(_0x225a8d,_0x11a87e):_0x225a8d,_0x5509ad=_0x4cd386[_0x2af5d4(0x3a6)]-0x1,_0x1837fa;_0x5509ad>=0x0;_0x5509ad--)(_0x1837fa=_0x4cd386[_0x5509ad])&&(_0x4d8b13=_0x1837fa(_0x4d8b13)||_0x4d8b13);return _0x4d8b13;},_0x1a5e09=(_0x62a435,_0xb8bee2)=>(_0x961932,_0x16f9e4)=>_0xb8bee2(_0x961932,_0x16f9e4,_0x62a435);let _0x5ee939=class{constructor(_0x3ff503,_0x46cf67){const _0x517a2c=_0x374b20;this[_0x517a2c(0x39c)]=_0x3ff503,this[_0x517a2c(0x2bf)]=_0x46cf67;}['transformSelections'](_0x33a734){const _0x32ab79=_0x374b20;var _0x585079;const _0x254590=this[_0x32ab79(0x39c)][_0x32ab79(0x32d)](_0x231ed4[_0x32ab79(0x3b9)]),_0x3f3609=(_0x585079=_0x254590[_0x32ab79(0x407)]())!=null?_0x585079:[];if(_0x3f3609[_0x32ab79(0x3a6)]===0x0)return;const _0x2e3848=_0x33a734[_0x32ab79(0x24b)],_0x5ecb3e=[{'id':_0x32ab79(0x206),'params':{'unitId':_0x2e3848,'actions':null,'textRanges':_0x3f3609}}],_0x5f769c=this[_0x32ab79(0x2bf)]['transformMutationsWithChangeset'](_0x33a734,_0x5ecb3e);if(!_0x32c33c['isTransformMutationsWithChangesetSuccess'](_0x5f769c))throw _0x5f769c['error'];const _0x3dea05=_0x5f769c[_0x32ab79(0x449)][0x0][_0x32ab79(0x31a)][_0x32ab79(0x2be)];Array[_0x32ab79(0x363)](_0x3dea05)&&_0x3dea05[_0x32ab79(0x3a6)]&&_0x254590[_0x32ab79(0x439)](_0x3dea05,{'unitId':_0x2e3848,'subUnitId':_0x2e3848},!0x1);}};_0x5ee939=_0x5af926([_0x1a5e09(0x0,_0x2841d1[_0x374b20(0x1e2)](_0x2841d1[_0x374b20(0x451)])),_0x1a5e09(0x1,_0x32c33c[_0x374b20(0x478)])],_0x5ee939);var _0x3c23f0=Object[_0x374b20(0x4a0)],_0x562f30=(_0x23f407,_0xdef3a6,_0x3a3c05,_0x1ccc41)=>{for(var _0x1123a1=_0x1ccc41>0x1?void 0x0:_0x1ccc41?_0x3c23f0(_0xdef3a6,_0x3a3c05):_0xdef3a6,_0x488f04=_0x23f407['length']-0x1,_0x1b1f84;_0x488f04>=0x0;_0x488f04--)(_0x1b1f84=_0x23f407[_0x488f04])&&(_0x1123a1=_0x1b1f84(_0x1123a1)||_0x1123a1);return _0x1123a1;},_0x3cfaae=(_0x2bd8f9,_0x74aeaa)=>(_0x587b0c,_0x478c32)=>_0x74aeaa(_0x587b0c,_0x478c32,_0x2bd8f9);let _0xa9aad3=class extends _0x2841d1[_0x374b20(0x231)]{constructor(_0x372887,_0x5c4172,_0x160647,_0x46a07b,_0x42f0ef,_0x5a02d1,_0x3f3a31,_0x5e7b07){const _0x118315=_0x374b20;super(),_0x7caa35(this,_0x118315(0x1f5),new _0x4c6c40['BehaviorSubject'](_0x5599fc[_0x118315(0x458)][_0x118315(0x46f)])),(this[_0x118315(0x3dd)]=_0x372887,this['_collaborationController']=_0x5c4172,this['_docTransformIMECacheService']=_0x160647,this[_0x118315(0x37f)]=_0x46a07b,this[_0x118315(0x360)]=_0x42f0ef,this[_0x118315(0x201)]=_0x5a02d1,this[_0x118315(0x35b)]=_0x3f3a31,this[_0x118315(0x40f)]=_0x5e7b07,this[_0x118315(0x495)]());}['_initEntityListener'](){const _0x43a486=_0x374b20;this[_0x43a486(0x2d8)](this[_0x43a486(0x432)][_0x43a486(0x1ec)]['subscribe'](_0x11c276=>{const _0x1f88d4=_0x43a486,_0x1f6550=this[_0x1f88d4(0x3dd)]['docStateChange$'][_0x1f88d4(0x46e)](_0x4e6cee=>{const _0x39db58=_0x1f88d4;if(_0x4e6cee==null)return;const {unitId:_0xe2cb66,redoState:_0x5d90d8,commandId:_0x2ea78d}=_0x4e6cee;if(_0xe2cb66!==_0x11c276[_0x39db58(0x24b)])return;const _0x4d3e0f={'id':_0x2ea78d,'type':_0x2841d1[_0x39db58(0x2f1)][_0x39db58(0x30d)],'params':{'unitId':_0xe2cb66,'actions':_0x5d90d8[_0x39db58(0x2ed)],'textRanges':null}};_0x11c276['onLocalMutation'](_0x4d3e0f);});if(_0x11c276[_0x1f88d4(0x2d8)](_0x1f6550),_0x11c276 instanceof _0x5599fc[_0x1f88d4(0x2d7)]){const _0x5d6f71={'onTransformIME':_0x4ba6e1=>this[_0x1f88d4(0x40c)][_0x1f88d4(0x437)](_0x4ba6e1),'onTransformState':_0x1f0de7=>this['_docTransformStateCacheService'][_0x1f88d4(0x408)](_0x1f0de7),'onTransformSelections':_0x123813=>this[_0x1f88d4(0x360)][_0x1f88d4(0x3a2)](_0x123813),'onSyncEditingCollabCursor':_0x4dce3b=>this[_0x1f88d4(0x201)][_0x1f88d4(0x341)](_0x4dce3b),'onTransformRemoteChangesetByIMECache':_0x3fd556=>this['_docTransformIMECacheService'][_0x1f88d4(0x2c4)](_0x3fd556),'onTransformRemoteChangesetByStateCache':_0x3d6d5b=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x3d6d5b)};_0x11c276['addHandlerCallback'](_0x5d6f71);}}));}};_0xa9aad3=_0x562f30([_0x3cfaae(0x0,_0x2841d1[_0x374b20(0x1e2)](_0x1fc54e[_0x374b20(0x3e1)])),_0x3cfaae(0x1,_0x2841d1[_0x374b20(0x1e2)](_0x5599fc[_0x374b20(0x335)])),_0x3cfaae(0x2,_0x2841d1[_0x374b20(0x1e2)](_0x387730)),_0x3cfaae(0x3,_0x2841d1[_0x374b20(0x1e2)](_0x5aada7)),_0x3cfaae(0x4,_0x2841d1[_0x374b20(0x1e2)](_0x5ee939)),_0x3cfaae(0x5,_0x2841d1[_0x374b20(0x1e2)](_0x323b2a)),_0x3cfaae(0x6,_0x151eb1[_0x374b20(0x3f4)]),_0x3cfaae(0x7,_0x2841d1[_0x374b20(0x1e2)](_0x2841d1['LocaleService']))],_0xa9aad3);var _0x3da935=(_0x525706=>(_0x525706[_0x525706[_0x374b20(0x2f3)]=0x0]=_0x374b20(0x2f3),_0x525706[_0x525706['OK']=0x1]='OK',_0x525706[_0x525706[_0x374b20(0x370)]=0x2]=_0x374b20(0x370),_0x525706[_0x525706[_0x374b20(0x4c3)]=0x3]=_0x374b20(0x4c3),_0x525706[_0x525706[_0x374b20(0x272)]=0x4]='NOT_FOUND',_0x525706[_0x525706[_0x374b20(0x35d)]=0x5]=_0x374b20(0x35d),_0x525706[_0x525706[_0x374b20(0x24f)]=0x6]=_0x374b20(0x24f),_0x525706[_0x525706[_0x374b20(0x3a8)]=0x7]=_0x374b20(0x3a8),_0x525706[_0x525706[_0x374b20(0x1e3)]=0x8]='TOO_MANY_REQUESTS',_0x525706[_0x525706[_0x374b20(0x435)]=0x9]=_0x374b20(0x435),_0x525706[_0x525706[_0x374b20(0x322)]=0xa]=_0x374b20(0x322),_0x525706[_0x525706[_0x374b20(0x219)]=0xb]=_0x374b20(0x219),_0x525706[_0x525706['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x374b20(0x450),_0x525706[_0x525706[_0x374b20(0x22f)]=0xd]=_0x374b20(0x22f),_0x525706[_0x525706['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x374b20(0x470),_0x525706[_0x525706[_0x374b20(0x34c)]=0xf]=_0x374b20(0x34c),_0x525706[_0x525706[_0x374b20(0x459)]=0x10]=_0x374b20(0x459),_0x525706[_0x525706[_0x374b20(0x26a)]=0x64]=_0x374b20(0x26a),_0x525706[_0x525706['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x525706[_0x525706[_0x374b20(0x2a6)]=0xc9]=_0x374b20(0x2a6),_0x525706[_0x525706['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x525706[_0x525706[_0x374b20(0x3f6)]=0x1389]=_0x374b20(0x3f6),_0x525706[_0x525706['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x374b20(0x1de),_0x525706[_0x525706['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x525706[_0x525706[_0x374b20(0x378)]=0x1773]=_0x374b20(0x378),_0x525706[_0x525706['APPLY_REJECT']=0x1b59]=_0x374b20(0x423),_0x525706[_0x525706[_0x374b20(0x484)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x525706[_0x525706[_0x374b20(0x2db)]=0x1b5b]=_0x374b20(0x2db),_0x525706[_0x525706[_0x374b20(0x3f2)]=0x1b5c]=_0x374b20(0x3f2),_0x525706[_0x525706[_0x374b20(0x497)]=0x1b5d]='APPLY_DUPLICATED',_0x525706[_0x525706[_0x374b20(0x391)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x525706[_0x525706[_0x374b20(0x2fa)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x525706[_0x525706[_0x374b20(0x293)]=0x232a]=_0x374b20(0x293),_0x525706[_0x525706[_0x374b20(0x283)]=0x232b]=_0x374b20(0x283),_0x525706[_0x525706[_0x374b20(0x454)]=0x232c]=_0x374b20(0x454),_0x525706[_0x525706[_0x374b20(0x42d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x525706[_0x525706['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x374b20(0x4a3),_0x525706[_0x525706[_0x374b20(0x2e3)]=0x2712]=_0x374b20(0x2e3),_0x525706[_0x525706[_0x374b20(0x3ed)]=0x2713]=_0x374b20(0x3ed),_0x525706[_0x525706[_0x374b20(0x316)]=0x2714]=_0x374b20(0x316),_0x525706[_0x525706['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x374b20(0x3a7),_0x525706[_0x525706[_0x374b20(0x2a8)]=0x271b]=_0x374b20(0x2a8),_0x525706[_0x525706[_0x374b20(0x349)]=0x271c]=_0x374b20(0x349),_0x525706[_0x525706[_0x374b20(0x342)]=0x271d]=_0x374b20(0x342),_0x525706[_0x525706['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x374b20(0x405),_0x525706[_0x525706[_0x374b20(0x2f6)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x525706[_0x525706[_0x374b20(0x440)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x525706[_0x525706[_0x374b20(0x2d0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x525706[_0x525706[_0x374b20(0x463)]=0x2ee1]=_0x374b20(0x463),_0x525706[_0x525706[_0x374b20(0x22a)]=0x2ee2]=_0x374b20(0x22a),_0x525706[_0x525706[_0x374b20(0x1e7)]=0x2ee3]=_0x374b20(0x1e7),_0x525706[_0x525706['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x525706[_0x525706[_0x374b20(0x427)]=0x2ee5]=_0x374b20(0x427),_0x525706[_0x525706[_0x374b20(0x2bc)]=0x32c9]=_0x374b20(0x2bc),_0x525706[_0x525706[_0x374b20(0x3d8)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x525706[_0x525706[_0x374b20(0x362)]=0x32cb]=_0x374b20(0x362),_0x525706[_0x525706['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x374b20(0x30b),_0x525706[_0x525706[_0x374b20(0x24c)]=0x36b2]=_0x374b20(0x24c),_0x525706[_0x525706[_0x374b20(0x24a)]=0x36b3]=_0x374b20(0x24a),_0x525706[_0x525706[_0x374b20(0x340)]=0x36b4]=_0x374b20(0x340),_0x525706[_0x525706['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x374b20(0x44c),_0x525706[_0x525706[_0x374b20(0x34f)]=0x36b6]=_0x374b20(0x34f),_0x525706[_0x525706['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x374b20(0x487),_0x525706[_0x525706[_0x374b20(0x477)]=0x36b8]=_0x374b20(0x477),_0x525706[_0x525706[_0x374b20(0x3c1)]=0x3715]=_0x374b20(0x3c1),_0x525706[_0x525706[_0x374b20(0x291)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x525706[_0x525706['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x374b20(0x263),_0x525706[_0x525706[_0x374b20(0x39a)]=0x37dd]=_0x374b20(0x39a),_0x525706[_0x525706['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x525706[_0x525706[_0x374b20(0x355)]=0x3a9a]=_0x374b20(0x355),_0x525706[_0x525706[_0x374b20(0x32c)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x525706[_0x525706[_0x374b20(0x3e9)]=0x3a9c]=_0x374b20(0x3e9),_0x525706[_0x525706[_0x374b20(0x4b0)]=0x3a9d]=_0x374b20(0x4b0),_0x525706[_0x525706[_0x374b20(0x2e7)]=0x3a9e]=_0x374b20(0x2e7),_0x525706[_0x525706[_0x374b20(0x32f)]=0x3a9f]=_0x374b20(0x32f),_0x525706[_0x525706[_0x374b20(0x1fd)]=0x3e81]=_0x374b20(0x1fd),_0x525706[_0x525706[_0x374b20(0x245)]=-0x1]=_0x374b20(0x245),_0x525706))(_0x3da935||{});function _0x50b8aa(_0x4bcd0f){const _0x245136=_0x374b20;var _0x3cc65e,_0x419265;const _0x5e1b5d=(_0x3cc65e=_0x4bcd0f[_0x245136(0x2c2)])==null?void 0x0:_0x3cc65e['stage'],_0x8b6a7d=((_0x419265=_0x4bcd0f[_0x245136(0x2c2)])==null?void 0x0:_0x419265[_0x245136(0x1fe)])||0x0;return _0x5e1b5d===_0x2dab60[_0x245136(0x298)][_0x245136(0x35e)]&&_0x8b6a7d>0x0;}function _0x5c0772(_0x51348c){const _0xb33db6=_0x374b20;return _0x51348c[_0xb33db6(0x1e1)]===_0x2dab60[_0xb33db6(0x22d)][_0xb33db6(0x26f)];}var _0x2839c0=Object[_0x374b20(0x4a0)],_0x3c2f79=(_0x2b40fd,_0x5f208e,_0x4575d5,_0x4ef60b)=>{const _0x2f27eb=_0x374b20;for(var _0x4f4cca=_0x4ef60b>0x1?void 0x0:_0x4ef60b?_0x2839c0(_0x5f208e,_0x4575d5):_0x5f208e,_0xd37955=_0x2b40fd[_0x2f27eb(0x3a6)]-0x1,_0x2ce25d;_0xd37955>=0x0;_0xd37955--)(_0x2ce25d=_0x2b40fd[_0xd37955])&&(_0x4f4cca=_0x2ce25d(_0x4f4cca)||_0x4f4cca);return _0x4f4cca;},_0x2d0611=(_0x39d153,_0x1b0a05)=>(_0x3b7189,_0x48dbdd)=>_0x1b0a05(_0x3b7189,_0x48dbdd,_0x39d153);const _0x5e348b=_0x374b20(0x210),_0x8adc1='/universer-api/license/formula/limit/start',_0x556eed=_0x374b20(0x236);let _0x3dbdfa=class extends _0x2841d1[_0x374b20(0x231)]{constructor(_0x9acaa5,_0x4a9ef1,_0x4b450b,_0x4aafdf,_0x56704e,_0x511f95,_0x5733ea){const _0x4a4b58=_0x374b20;super(),_0x7caa35(this,_0x4a4b58(0x213),null),_0x7caa35(this,_0x4a4b58(0x288),0x0),_0x7caa35(this,_0x4a4b58(0x239),0x0),_0x7caa35(this,_0x4a4b58(0x493),[]),_0x7caa35(this,'_lastResponseTimestamp',0x0),(this['_messageService']=_0x9acaa5,this[_0x4a4b58(0x311)]=_0x4a9ef1,this[_0x4a4b58(0x345)]=_0x4b450b,this['_httpService']=_0x4aafdf,this['_univerInstanceService']=_0x56704e,this[_0x4a4b58(0x37a)]=_0x511f95,this['_localeService']=_0x5733ea,this[_0x4a4b58(0x2d5)]());}[_0x374b20(0x2d5)](){const _0x5c74eb=_0x374b20;this['disposeWithMe'](this[_0x5c74eb(0x311)][_0x5c74eb(0x419)]((_0x14d355,_0x310557)=>{const _0x31832f=_0x5c74eb;var _0x4e52f4;if(_0x14d355['id']!==_0x2dab60[_0x31832f(0x20a)]['id'])return;const _0x3eb52a=_0x14d355[_0x31832f(0x31a)];if(!this[_0x31832f(0x4ac)]((_0x4e52f4=_0x3eb52a[_0x31832f(0x31b)])!=null?_0x4e52f4:[]))return;if(!this[_0x31832f(0x323)]())throw this['_checkAndWaitForCalculationPermission'](_0x14d355,_0x310557),this['_showGuardMessage'](),new _0x2841d1[(_0x31832f(0x2d2))]();})),this[_0x5c74eb(0x2d8)](this[_0x5c74eb(0x311)][_0x5c74eb(0x456)]((_0x3bfb4c,_0x509090)=>{const _0x54e46c=_0x5c74eb;if(_0x3bfb4c['id']!==_0x2dab60[_0x54e46c(0x28e)]['id'])return;const _0xa74ccf=_0x3bfb4c['params'];if(_0x50b8aa(_0xa74ccf)){const _0x4339e1=_0x2841d1[_0x54e46c(0x3dc)]();this[_0x54e46c(0x493)][_0x54e46c(0x2dd)](_0x4339e1),this[_0x54e46c(0x312)](_0x4339e1);}else{if(_0x5c0772(_0xa74ccf)&&this[_0x54e46c(0x493)][_0x54e46c(0x3a6)]>0x0){const _0x42ccd5=this[_0x54e46c(0x493)]['shift']();this['_releaseCalculationLimit'](_0x42ccd5);}}}));}[_0x374b20(0x3bb)](){const _0x4b3445=_0x374b20;super['dispose'](),this[_0x4b3445(0x2c6)](),this['_taskIds']=[],this[_0x4b3445(0x239)]=0x0,this[_0x4b3445(0x288)]=0x0,this[_0x4b3445(0x276)]=0x0;}async[_0x374b20(0x20e)](_0x339f0a,_0x1595aa){const _0x240574=_0x374b20;for(let _0x4a80af=0x0;_0x4a80af<0x1e;_0x4a80af++)try{if(await this[_0x240574(0x3a5)](),this[_0x240574(0x323)]()){this['_applyCommand'](_0x339f0a,_0x1595aa),this[_0x240574(0x35b)][_0x240574(0x2a5)]({'content':this['_localeService']['t'](_0x240574(0x4b6)),'type':_0x42fa8d[_0x240574(0x220)][_0x240574(0x38e)]});return;}await new Promise(_0x3d20d2=>{const _0x46aadc=_0x240574;this[_0x46aadc(0x213)]=window[_0x46aadc(0x388)](_0x3d20d2,0x3e8);});}catch(_0x1d253c){this[_0x240574(0x37a)][_0x240574(0x20f)](_0x1d253c);}this[_0x240574(0x35b)]['show']({'content':this[_0x240574(0x40f)]['t']('formula.calculation.unable'),'type':_0x42fa8d[_0x240574(0x220)]['Error']});}[_0x374b20(0x260)](_0x480e49,_0x37b697){const _0x9dbe81=_0x374b20;try{this['_commandService'][_0x9dbe81(0x1fb)](_0x480e49['id'],_0x480e49[_0x9dbe81(0x31a)],_0x37b697);}catch(_0x112a41){this['_logService'][_0x9dbe81(0x20f)](_0x112a41);}}[_0x374b20(0x27c)](_0x25e322,_0xf582f1){const _0x16b645=_0x374b20;_0xf582f1<this[_0x16b645(0x276)]||(this[_0x16b645(0x276)]=_0xf582f1,this[_0x16b645(0x288)]=Number['parseInt'](_0x25e322['maxFormulaLimit']),this[_0x16b645(0x239)]=Number['parseInt'](_0x25e322[_0x16b645(0x346)]));}async['_startCalculationLimit'](_0x2ca9d5){const _0x14e717=_0x374b20;var _0x37e983,_0xd07919;const _0x523a6f=Date[_0x14e717(0x4aa)]();try{const _0x2745a7=((_0x37e983=this[_0x14e717(0x345)][_0x14e717(0x49a)](_0x5599fc['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x37e983[_0x14e717(0x243)])||_0x8adc1,_0xf423c3=(await this[_0x14e717(0x2fb)][_0x14e717(0x3b6)](_0x2745a7,{'body':JSON[_0x14e717(0x324)]({'taskId':_0x2ca9d5})}))[_0x14e717(0x357)];if(((_0xd07919=_0xf423c3[_0x14e717(0x20f)])==null?void 0x0:_0xd07919['code'])!==_0x3da935['OK'])return;this[_0x14e717(0x27c)](_0xf423c3[_0x14e717(0x223)],_0x523a6f);}catch(_0x5b9ead){this[_0x14e717(0x37a)]['error'](_0x5b9ead);}}async[_0x374b20(0x3a5)](_0x4e4634){const _0x2f1c52=_0x374b20;var _0x5bec3e,_0x59c428;const _0x5653b1=Date[_0x2f1c52(0x4aa)]();try{const _0x1bed65=((_0x5bec3e=this[_0x2f1c52(0x345)][_0x2f1c52(0x49a)](_0x5599fc[_0x2f1c52(0x481)]))==null?void 0x0:_0x5bec3e[_0x2f1c52(0x265)])||_0x5e348b,_0x124a11=_0x4e4634?_0x1bed65+'?taskId='+encodeURIComponent(_0x4e4634):_0x1bed65,_0x4c6740=(await this[_0x2f1c52(0x2fb)][_0x2f1c52(0x32d)](_0x124a11))['body'];if(((_0x59c428=_0x4c6740[_0x2f1c52(0x20f)])==null?void 0x0:_0x59c428[_0x2f1c52(0x28a)])!==_0x3da935['OK'])return;this[_0x2f1c52(0x27c)](_0x4c6740[_0x2f1c52(0x223)],_0x5653b1);}catch(_0x3470ab){this['_logService']['error'](_0x3470ab);}}async['_releaseCalculationLimit'](_0x1bf634){const _0x567b8f=_0x374b20;var _0x45ca55,_0x1d009b;const _0x44ab33=Date[_0x567b8f(0x4aa)]();try{const _0x5bdb8b=((_0x45ca55=this[_0x567b8f(0x345)][_0x567b8f(0x49a)](_0x5599fc[_0x567b8f(0x481)]))==null?void 0x0:_0x45ca55['releaseFormulaLimitUrl'])||_0x556eed,_0x4f94cf=(await this[_0x567b8f(0x2fb)][_0x567b8f(0x3b6)](_0x5bdb8b,{'body':JSON['stringify']({'taskId':_0x1bf634})}))['body'];if(((_0x1d009b=_0x4f94cf[_0x567b8f(0x20f)])==null?void 0x0:_0x1d009b['code'])!==_0x3da935['OK'])return;this['_setFormulaLimitStatus'](_0x4f94cf[_0x567b8f(0x223)],_0x44ab33);}catch(_0x2300a7){this[_0x567b8f(0x37a)][_0x567b8f(0x20f)](_0x2300a7);}}['_checkCalculationAvailable'](){const _0xc406fc=_0x374b20;return this['_maxFormulaLimit']===0x0?!0x0:this[_0xc406fc(0x288)]-this['_currentUsage']>0x0;}[_0x374b20(0x2c6)](){this['_pollingInterval']&&(clearTimeout(this['_pollingInterval']),this['_pollingInterval']=null);}['_showGuardMessage'](){const _0x26a46e=_0x374b20;this[_0x26a46e(0x35b)][_0x26a46e(0x2a5)]({'content':this[_0x26a46e(0x40f)]['t']('formula.calculation.waiting'),'type':_0x42fa8d[_0x26a46e(0x220)]['Loading']});}['_hasFormulaInDirtyRanges'](_0x253b94){const _0x2f8989=_0x374b20;for(const _0x50cadb of _0x253b94){const {unitId:_0x51c4e3,sheetId:_0xa9cf58,range:_0x2ab59f}=_0x50cadb,_0x394537=this[_0x2f8989(0x319)]['getUnit'](_0x51c4e3);if(!_0x394537)continue;const _0x53eb92=_0x394537['getSheetBySheetId'](_0xa9cf58);if(!_0x53eb92)continue;const _0x2cf23c=_0x53eb92[_0x2f8989(0x31c)]();for(let _0x29ac44=_0x2ab59f[_0x2f8989(0x2e0)];_0x29ac44<=_0x2ab59f[_0x2f8989(0x3de)];_0x29ac44++)for(let _0x520df7=_0x2ab59f['startColumn'];_0x520df7<=_0x2ab59f['endColumn'];_0x520df7++){const _0x518cbd=_0x2cf23c[_0x2f8989(0x233)](_0x29ac44,_0x520df7);if(_0x518cbd&&(_0x2841d1[_0x2f8989(0x26d)](_0x518cbd['f'])||_0x2841d1[_0x2f8989(0x295)](_0x518cbd['si'])))return!0x0;}}return!0x1;}};_0x3dbdfa=_0x3c2f79([_0x2d0611(0x0,_0x2841d1[_0x374b20(0x1e2)](_0x151eb1['IMessageService'])),_0x2d0611(0x1,_0x2841d1[_0x374b20(0x4af)]),_0x2d0611(0x2,_0x2841d1[_0x374b20(0x2b7)]),_0x2d0611(0x3,_0x2841d1['Inject'](_0x1e8385[_0x374b20(0x3f1)])),_0x2d0611(0x4,_0x2841d1[_0x374b20(0x415)]),_0x2d0611(0x5,_0x2841d1['ILogService']),_0x2d0611(0x6,_0x2841d1[_0x374b20(0x1e2)](_0x2841d1[_0x374b20(0x301)]))],_0x3dbdfa);var _0x2cd484=Object[_0x374b20(0x4a0)],_0x50fad7=(_0x2f27d1,_0x32bed2,_0x37bd8e,_0x347bfd)=>{const _0x22d143=_0x374b20;for(var _0x5cddc2=_0x347bfd>0x1?void 0x0:_0x347bfd?_0x2cd484(_0x32bed2,_0x37bd8e):_0x32bed2,_0x3b034c=_0x2f27d1[_0x22d143(0x3a6)]-0x1,_0x27d6ff;_0x3b034c>=0x0;_0x3b034c--)(_0x27d6ff=_0x2f27d1[_0x3b034c])&&(_0x5cddc2=_0x27d6ff(_0x5cddc2)||_0x5cddc2);return _0x5cddc2;},_0x47d9fa=(_0x381757,_0x1bb229)=>(_0x1bbc7e,_0x169cc1)=>_0x1bb229(_0x1bbc7e,_0x169cc1,_0x381757);let _0x23da00=class extends _0x2841d1[_0x374b20(0x231)]{constructor(_0x4eca90,_0x2d2f3d,_0x41281f){const _0x102584=_0x374b20;super(),_0x7caa35(this,_0x102584(0x1f4),new Map()),_0x7caa35(this,'_saveTaskMap',new Map()),_0x7caa35(this,_0x102584(0x3d9),!0x1),(this['_configService']=_0x4eca90,this[_0x102584(0x3e0)]=_0x2d2f3d,this['_revisionService']=_0x41281f);}[_0x374b20(0x394)](){const _0x3effb5=_0x374b20;this[_0x3effb5(0x3d9)]=!0x0;}[_0x374b20(0x21f)](){const _0x1fae57=_0x374b20;this[_0x1fae57(0x3d9)]=!0x1;}get[_0x374b20(0x4a6)](){const _0x40a605=_0x374b20;return this[_0x40a605(0x2e5)];}[_0x374b20(0x3bb)](){const _0x46f496=_0x374b20;this[_0x46f496(0x4b7)]()['then'](()=>super[_0x46f496(0x3bb)]());}async['loadOfflineData'](_0x404931){const _0x43f86e=_0x374b20;return this[_0x43f86e(0x3d9)]?null:this['_localStorageService'][_0x43f86e(0x2ae)](_0x5599fc['getLocalCacheKey'](_0x404931));}async['saveOfflineData'](_0x4b30ee,_0x54bb7d){const _0x1c9273=_0x374b20;return!!this[_0x1c9273(0x3e0)][_0x1c9273(0x36f)](_0x4b30ee,_0x54bb7d);}['updateOfflineData'](_0x1d55df,_0xd0f0bd,_0x1b8da8,_0x50c718){const _0x71fb76=_0x374b20,_0x209e9d=this[_0x71fb76(0x483)]['getCurrentRevOfUnit'](_0x1d55df);this[_0x71fb76(0x1f4)][_0x71fb76(0x45c)](_0x1d55df,{'unitID':_0x1d55df,'type':_0xd0f0bd,'awaitingChangeset':_0x1b8da8,'mutations':_0x50c718,'rev':_0x209e9d}),this[_0x71fb76(0x2e5)][_0x71fb76(0x26b)](_0x1d55df)||this[_0x71fb76(0x235)](_0x1d55df);}[_0x374b20(0x235)](_0x51c56c){const _0x58ec0c=_0x374b20,_0xe69f48=this[_0x58ec0c(0x352)]();_0xe69f48===0x0?this[_0x58ec0c(0x24e)](_0x51c56c):this[_0x58ec0c(0x2e5)]['set'](_0x51c56c,setTimeout(()=>this[_0x58ec0c(0x24e)](_0x51c56c),_0xe69f48));}[_0x374b20(0x352)](){const _0x5a9d60=_0x374b20;var _0x58ae87;return(_0x58ae87=this[_0x5a9d60(0x345)]['getConfig'](_0x5599fc[_0x5a9d60(0x3e7)]))!=null?_0x58ae87:_0x5599fc[_0x5a9d60(0x351)];}[_0x374b20(0x24e)](_0x43da75){const _0x49a499=_0x374b20,_0x99d8c1=this[_0x49a499(0x2e5)][_0x49a499(0x32d)](_0x43da75);return _0x99d8c1!==void 0x0&&window[_0x49a499(0x2d1)](_0x99d8c1),this[_0x49a499(0x3e0)][_0x49a499(0x36f)](_0x5599fc[_0x49a499(0x3c3)](_0x43da75),this[_0x49a499(0x1f4)][_0x49a499(0x32d)](_0x43da75))['then'](()=>this['_saveTaskMap'][_0x49a499(0x2ec)](_0x43da75));}async['exhaustSavingTask'](){const _0x263ff6=_0x374b20,_0x3b4a17=[];this[_0x263ff6(0x2e5)][_0x263ff6(0x39d)]((_0x2b95d9,_0x3081f1)=>{const _0x2c5dd3=_0x263ff6;window[_0x2c5dd3(0x2d1)](_0x2b95d9),_0x3b4a17[_0x2c5dd3(0x2dd)](this[_0x2c5dd3(0x24e)](_0x3081f1)[_0x2c5dd3(0x22c)](()=>{const _0x49a7a8=_0x2c5dd3;this[_0x49a7a8(0x2e5)][_0x49a7a8(0x2ec)](_0x3081f1);}));}),await Promise[_0x263ff6(0x3b7)](_0x3b4a17);}};_0x23da00=_0x50fad7([_0x47d9fa(0x0,_0x2841d1[_0x374b20(0x2b7)]),_0x47d9fa(0x1,_0x2841d1[_0x374b20(0x43e)]),_0x47d9fa(0x2,_0x2841d1[_0x374b20(0x1e2)](_0x32c33c[_0x374b20(0x4c2)]))],_0x23da00);class _0x4ae58c extends _0x2841d1['RxDisposable']{constructor(){const _0x5e8282=_0x374b20;super(),_0x7caa35(this,_0x5e8282(0x42c)),this[_0x5e8282(0x42c)]=_0x4c6c40[_0x5e8282(0x420)](window,_0x5e8282(0x37c))[_0x5e8282(0x386)](_0x4c6c40[_0x5e8282(0x3db)](this[_0x5e8282(0x3b8)]),_0x4c6c40['shareReplay'](0x1),_0x4c6c40[_0x5e8282(0x353)](void 0x0));}[_0x374b20(0x23b)](_0x342bee,_0x545e33,_0x113cd0=!0x1){const _0x3b6256=_0x374b20,_0x3bba99=new URL(window['location'][_0x3b6256(0x3fd)]);_0x3bba99[_0x3b6256(0x28b)]['set'](_0x342bee,_0x545e33),_0x113cd0?window[_0x3b6256(0x35f)][_0x3b6256(0x3ca)]('','',_0x3bba99[_0x3b6256(0x307)]()):window[_0x3b6256(0x35f)][_0x3b6256(0x358)]('','',_0x3bba99['toString']());}[_0x374b20(0x4bc)](_0x28b3b6,_0x55812c=!0x1){const _0x3f7b74=_0x374b20,_0x1c96ca=new URL(window[_0x3f7b74(0x396)][_0x3f7b74(0x3fd)]);_0x1c96ca['searchParams'][_0x3f7b74(0x2ec)](_0x28b3b6),_0x55812c?window['history'][_0x3f7b74(0x3ca)]('','',_0x1c96ca[_0x3f7b74(0x307)]()):window[_0x3f7b74(0x35f)][_0x3f7b74(0x358)]('','',_0x1c96ca[_0x3f7b74(0x307)]());}[_0x374b20(0x36d)](_0x5e8ed1){const _0x29304d=_0x374b20;var _0x211ca4;return(_0x211ca4=new URL(window['location'][_0x29304d(0x3fd)])[_0x29304d(0x28b)][_0x29304d(0x32d)](_0x5e8ed1))!=null?_0x211ca4:void 0x0;}}var _0x237cfb=Object[_0x374b20(0x2ce)],_0x336bef=Object['getOwnPropertyDescriptor'],_0x510b23=(_0x257c57,_0x5ce64a,_0x2fb44c)=>_0x5ce64a in _0x257c57?_0x237cfb(_0x257c57,_0x5ce64a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2fb44c}):_0x257c57[_0x5ce64a]=_0x2fb44c,_0x7452f2=(_0x1337ac,_0x2930c0,_0x5f1031,_0x478475)=>{const _0x4c326e=_0x374b20;for(var _0x5472ce=_0x478475>0x1?void 0x0:_0x478475?_0x336bef(_0x2930c0,_0x5f1031):_0x2930c0,_0x23fc0=_0x1337ac[_0x4c326e(0x3a6)]-0x1,_0x3af95d;_0x23fc0>=0x0;_0x23fc0--)(_0x3af95d=_0x1337ac[_0x23fc0])&&(_0x5472ce=_0x3af95d(_0x5472ce)||_0x5472ce);return _0x5472ce;},_0x4a18c9=(_0x118fab,_0x555807)=>(_0x5f3c69,_0x126362)=>_0x555807(_0x5f3c69,_0x126362,_0x118fab),_0x340207=(_0x2c6b56,_0x346cb6,_0x5c6b3b)=>_0x510b23(_0x2c6b56,_0x346cb6+'',_0x5c6b3b);const _0x4fb694=_0x374b20(0x3ab);_0x54bc6b['UniverCollaborationClientUIPlugin']=class extends _0x2841d1[_0x374b20(0x3cb)]{constructor(_0x38fa62=_0x2e7114,_0x7689f7,_0x5f1d60,_0x22cb84){const _0x3da22b=_0x374b20;super(),this[_0x3da22b(0x2b6)]=_0x38fa62,this[_0x3da22b(0x48d)]=_0x7689f7,this['_injector']=_0x5f1d60,this[_0x3da22b(0x345)]=_0x22cb84;const {..._0x436e76}=_0x2841d1[_0x3da22b(0x374)]({},_0x2e7114,this[_0x3da22b(0x2b6)]);this[_0x3da22b(0x345)][_0x3da22b(0x4bd)](_0x88136b,_0x436e76);}[_0x374b20(0x207)](){const _0x3ff4de=_0x374b20;this[_0x3ff4de(0x4a5)](),this[_0x3ff4de(0x380)]();}[_0x374b20(0x343)](){this['_registerRenderDependencies']();}[_0x374b20(0x4a5)](){const _0x570025=_0x374b20;var _0x5ba99b;const _0x670489=[[_0xd067d],[_0x3dbdfa],[_0x5ee939],[_0x387730],[_0x5aada7],[_0x323b2a],[_0x8fb55b,{'useClass':_0x4ae58c}],[_0x1e8385[_0x570025(0x2b8)],{'useClass':_0x1e8385[_0x570025(0x4b8)]}],[_0x5599fc[_0x570025(0x20c)],{'useClass':_0x23da00}],[_0x54bc6b[_0x570025(0x47e)]],[_0xa9aad3],[_0x336870],[_0x301a4],[_0x2c3098],[_0x54bc6b[_0x570025(0x45f)]]];this['_config']['enableFrontendLog']&&_0x670489['push']([_0x486fba]),_0x2841d1[_0x570025(0x2a2)](this['_injector'],_0x2841d1[_0x570025(0x38d)](_0x670489,(_0x5ba99b=this['_config'])==null?void 0x0:_0x5ba99b['override']));}['_registerRenderDependencies'](){const _0x51fff4=_0x374b20;this[_0x51fff4(0x2d8)](this['_renderManagerService']['registerRenderModule'](_0x2841d1[_0x51fff4(0x2fc)][_0x51fff4(0x4a9)],[_0x530d9d])),this[_0x51fff4(0x2d8)](this[_0x51fff4(0x48d)]['registerRenderModule'](_0x2841d1[_0x51fff4(0x2fc)][_0x51fff4(0x442)],[_0x1fcb8e]));}[_0x374b20(0x380)](){const _0x1a9587=_0x374b20;_0x2841d1['touchDependencies'](this['_injector'],[[_0x301a4],[_0x54bc6b[_0x1a9587(0x47e)]],[_0xa9aad3],[_0x336870],[_0x54bc6b['CollaborationDataLoaderController']],[_0x3dbdfa]]),this['_config'][_0x1a9587(0x472)]&&_0x2841d1[_0x1a9587(0x499)](this['_injector'],[[_0x486fba]]);}},_0x340207(_0x54bc6b[_0x374b20(0x37e)],_0x374b20(0x1f9),_0x4fb694),_0x54bc6b['UniverCollaborationClientUIPlugin']=_0x7452f2([_0x2841d1['DependentOn'](_0x5599fc[_0x374b20(0x2bb)]),_0x4a18c9(0x1,_0x16a746[_0x374b20(0x45e)]),_0x4a18c9(0x2,_0x2841d1[_0x374b20(0x1e2)](_0x2841d1[_0x374b20(0x451)])),_0x4a18c9(0x3,_0x2841d1[_0x374b20(0x2b7)])],_0x54bc6b['UniverCollaborationClientUIPlugin']);var _0x16fd1b=Object[_0x374b20(0x4a0)],_0x58207e=(_0xa8372e,_0x30f4eb,_0x41710f,_0x374681)=>{const _0x119dd0=_0x374b20;for(var _0x4b652c=_0x374681>0x1?void 0x0:_0x374681?_0x16fd1b(_0x30f4eb,_0x41710f):_0x30f4eb,_0x23e792=_0xa8372e[_0x119dd0(0x3a6)]-0x1,_0x5f0206;_0x23e792>=0x0;_0x23e792--)(_0x5f0206=_0xa8372e[_0x23e792])&&(_0x4b652c=_0x5f0206(_0x4b652c)||_0x4b652c);return _0x4b652c;},_0x3d0ce6=(_0x6d7bd1,_0x13cdc7)=>(_0x179021,_0xbe4f87)=>_0x13cdc7(_0x179021,_0xbe4f87,_0x6d7bd1);_0x54bc6b[_0x374b20(0x43b)]=class extends _0x5599fc[_0x374b20(0x252)]{constructor(_0x1cfca4,_0x1d1d2d,_0x3fb425,_0x3c196b,_0x41140c){super(_0x1cfca4,_0x1d1d2d,_0x3fb425,_0x3c196b,_0x41140c);}async[_0x374b20(0x421)](_0x2a770d){const _0x1c0fb4=_0x374b20,_0x7f8f47=await this['_getSessionTicket'](),_0x571776=this[_0x1c0fb4(0x469)](_0x2a770d,_0x7f8f47);return this[_0x1c0fb4(0x354)](_0x571776);}[_0x374b20(0x469)](_0x576ca0,_0x26f623){const _0xbd3d7d=_0x374b20,_0x269e87=typeof window>'u'?new URL(_0x576ca0):new URL(_0x576ca0,window['location'][_0xbd3d7d(0x447)]);_0x269e87['searchParams'][_0xbd3d7d(0x45c)]('sessionTicket',_0x26f623);const _0x5ea556=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xbd3d7d(0x396)][_0xbd3d7d(0x359)]);return _0x5ea556[_0xbd3d7d(0x32d)](_0xbd3d7d(0x1e5))&&_0x269e87[_0xbd3d7d(0x28b)][_0xbd3d7d(0x45c)](_0xbd3d7d(0x1e5),_0x5ea556[_0xbd3d7d(0x32d)](_0xbd3d7d(0x1e5))),_0x269e87['toString']();}async[_0x374b20(0x266)](){const _0x4b8bfe=_0x374b20;var _0xc2731e,_0x138a40,_0xb7fd6a;const _0x1795a9=this[_0x4b8bfe(0x345)][_0x4b8bfe(0x49a)](_0x5599fc['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x586c89=(_0xc2731e=_0x1795a9==null?void 0x0:_0x1795a9[_0x4b8bfe(0x446)])!=null?_0xc2731e:_0x5599fc[_0x4b8bfe(0x4bb)];return(_0xb7fd6a=(_0x138a40=(await this['_httpService'][_0x4b8bfe(0x32d)](_0x586c89,{'headers':{'Content-Type':_0x4b8bfe(0x2a4)}}))[_0x4b8bfe(0x357)])==null?void 0x0:_0x138a40[_0x4b8bfe(0x2e8)])!=null?_0xb7fd6a:'';}},_0x54bc6b[_0x374b20(0x43b)]=_0x58207e([_0x3d0ce6(0x0,_0x2841d1[_0x374b20(0x1e2)](_0x2841d1[_0x374b20(0x451)])),_0x3d0ce6(0x1,_0x2841d1[_0x374b20(0x1e2)](_0x1e8385[_0x374b20(0x3f1)])),_0x3d0ce6(0x2,_0x2841d1[_0x374b20(0x2b7)]),_0x3d0ce6(0x3,_0x2841d1[_0x374b20(0x3e3)]),_0x3d0ce6(0x4,_0x32c33c[_0x374b20(0x494)])],_0x54bc6b[_0x374b20(0x43b)]);var _0x354a95=Object[_0x374b20(0x4a0)],_0x3cf22b=(_0x4ca6f4,_0x5b1aec,_0x3f074f,_0x5a045b)=>{const _0x22e149=_0x374b20;for(var _0x442be=_0x5a045b>0x1?void 0x0:_0x5a045b?_0x354a95(_0x5b1aec,_0x3f074f):_0x5b1aec,_0x26543d=_0x4ca6f4[_0x22e149(0x3a6)]-0x1,_0x3bf2ee;_0x26543d>=0x0;_0x26543d--)(_0x3bf2ee=_0x4ca6f4[_0x26543d])&&(_0x442be=_0x3bf2ee(_0x442be)||_0x442be);return _0x442be;},_0xafdeb6=(_0x4658c0,_0x21f1a2)=>(_0x52b502,_0x29969c)=>_0x21f1a2(_0x52b502,_0x29969c,_0x4658c0);_0x54bc6b['RemoteUniscriptService']=class extends _0x2841d1[_0x374b20(0x231)]{constructor(_0x5e85fe,_0x556885,_0x1fb696){const _0x1f81e5=_0x374b20;super(),this[_0x1f81e5(0x31d)]=_0x5e85fe,this[_0x1f81e5(0x2fb)]=_0x556885,this['_configService']=_0x1fb696;}async[_0x374b20(0x460)](_0x16081f,_0x2924fc,_0x2bc179,..._0x53f27a){const _0x51816b=_0x374b20;var _0x486de2,_0x5392f8,_0x45463b,_0x4910f9;const _0x480bf5=this[_0x51816b(0x31d)][_0x51816b(0x4bf)]();if(!_0x480bf5)throw new Error(_0x51816b(0x4b5));const _0x59a2d6=((_0x486de2=this[_0x51816b(0x345)][_0x51816b(0x49a)](_0x5599fc['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x486de2:_0x5599fc[_0x51816b(0x2a0)])+'/'+_0x16081f+_0x51816b(0x287)+_0x2924fc,_0x57f926=new URL(window[_0x51816b(0x396)][_0x51816b(0x3fd)]),_0x259277={'scriptId':_0x16081f,'runId':(_0x5392f8=_0x57f926[_0x51816b(0x28b)][_0x51816b(0x32d)]('runId'))!=null?_0x5392f8:'','function':_0x2924fc,'unitId':_0x480bf5[_0x51816b(0x28d)](),'argsOfFunction':JSON[_0x51816b(0x324)](_0x53f27a),'invokeId':(_0x45463b=_0x2bc179[_0x51816b(0x2e6)])!=null?_0x45463b:'','executionId':(_0x4910f9=_0x2bc179[_0x51816b(0x46b)])!=null?_0x4910f9:''};try{const _0x34c22f=await this[_0x51816b(0x2fb)]['post'](_0x59a2d6,{'body':_0x259277});return _0x34c22f[_0x51816b(0x357)][_0x51816b(0x20f)]&&_0x34c22f[_0x51816b(0x357)][_0x51816b(0x20f)][_0x51816b(0x28a)]!==_0x3da935['OK']?_0x51816b(0x37b):_0x34c22f[_0x51816b(0x357)][_0x51816b(0x39f)];}catch{return _0x51816b(0x37b);}}},_0x54bc6b['RemoteUniscriptService']=_0x3cf22b([_0xafdeb6(0x0,_0x2841d1[_0x374b20(0x415)]),_0xafdeb6(0x1,_0x2841d1[_0x374b20(0x1e2)](_0x1e8385['HTTPService'])),_0xafdeb6(0x2,_0x2841d1[_0x374b20(0x2b7)])],_0x54bc6b[_0x374b20(0x356)]);const _0xf99b0=0x7530,_0x10ba00=_0x374b20(0x211);class _0x5b2cc8 extends _0x2841d1[_0x374b20(0x231)]{constructor(){const _0x114ce6=_0x374b20;super(),_0x7caa35(this,_0x114ce6(0x368),_0x2841d1[_0x114ce6(0x3dc)]()),_0x7caa35(this,_0x114ce6(0x297),new Set()),_0x7caa35(this,_0x114ce6(0x292),new Map()),_0x7caa35(this,_0x114ce6(0x4c1),null),_0x7caa35(this,_0x114ce6(0x390),new Map()),_0x7caa35(this,_0x114ce6(0x2b0),new Map()),this['_init']();}[_0x374b20(0x3bb)](){const _0x35b075=_0x374b20;super[_0x35b075(0x3bb)](),this[_0x35b075(0x390)]['forEach']((_0x481206,_0x579157)=>this['_removeClearOtherTimer'](_0x579157)),this[_0x35b075(0x4c1)]&&window[_0x35b075(0x1dd)](this[_0x35b075(0x4c1)]);}['getUnitStatus$'](_0x28d696){const _0x22a663=_0x374b20;return this[_0x22a663(0x1ef)](_0x28d696)['pipe'](_0x4c6c40['distinctUntilChanged']());}[_0x374b20(0x371)](_0x539de7){const _0x40f7f6=_0x374b20;this[_0x40f7f6(0x297)]['size']===0x0&&this[_0x40f7f6(0x23c)](),this['_selfUnitIDs'][_0x40f7f6(0x3ba)](_0x539de7),this['_send']({'type':0x0,'memberID':this[_0x40f7f6(0x368)],'unitIDs':[_0x539de7],'isForwarded':!0x1});}['disposeUnit'](_0x2a45f2){const _0x4bf2b9=_0x374b20;this[_0x4bf2b9(0x297)][_0x4bf2b9(0x2ec)](_0x2a45f2),this[_0x4bf2b9(0x297)][_0x4bf2b9(0x32e)]===0x0&&this[_0x4bf2b9(0x4c1)]&&window[_0x4bf2b9(0x1dd)](this['_heartbeatTimer']);}[_0x374b20(0x4c4)](){const _0x4dfd9f=_0x374b20;this[_0x4dfd9f(0x2d8)](_0x2841d1['toDisposable'](_0x4c6c40[_0x4dfd9f(0x420)](window,_0x4dfd9f(0x30f))[_0x4dfd9f(0x46e)](_0x427786=>{const _0x2a611c=_0x4dfd9f;if(_0x427786[_0x2a611c(0x49d)]!==_0x10ba00||!_0x427786[_0x2a611c(0x395)])return;const _0x32c746=JSON['parse'](_0x427786[_0x2a611c(0x395)]);this['_handleEvent'](_0x32c746);}))),window[_0x4dfd9f(0x2cd)]('unload',()=>this[_0x4dfd9f(0x285)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x374b20(0x3b3)](_0x50d8c6){const _0x303710=_0x374b20;switch(_0x50d8c6['type']){case 0x0:this[_0x303710(0x414)](_0x50d8c6);break;case 0x1:this['_handleLeaveEvent'](_0x50d8c6);break;case 0x2:this['_handleHeartbeatEvent'](_0x50d8c6);break;}}[_0x374b20(0x414)](_0x522e33){const _0x44a5eb=_0x374b20,{unitIDs:_0x37a611,memberID:_0x3e6710,isForwarded:_0x496baf}=_0x522e33;_0x37a611['forEach'](_0x16846b=>{const _0xc59915=_0x25bc;if(!_0x496baf&&this['_unitOnClients'][_0xc59915(0x26b)](_0x16846b)&&this[_0xc59915(0x1ef)](_0x16846b)['next'](_0x5599fc[_0xc59915(0x433)][_0xc59915(0x4a2)]),!this[_0xc59915(0x292)]['has'](_0x16846b)||!this['_unitOnClients'][_0xc59915(0x32d)](_0x16846b)[_0xc59915(0x26b)](_0x3e6710)){const _0x56433c=this[_0xc59915(0x292)][_0xc59915(0x32d)](_0x16846b)||new Set();_0x56433c[_0xc59915(0x3ba)](_0x3e6710),this['_unitOnClients'][_0xc59915(0x45c)](_0x16846b,_0x56433c),this['_scheduleClearOtherTimer'](_0x3e6710);}}),_0x496baf||this[_0x44a5eb(0x285)]({'type':0x0,'memberID':this[_0x44a5eb(0x368)],'unitIDs':[...this[_0x44a5eb(0x297)]],'isForwarded':!0x0});}[_0x374b20(0x282)](_0x39eb40){const _0x396aed=_0x374b20;this[_0x396aed(0x3f3)](_0x39eb40);const _0x352fb3=window['setTimeout'](()=>{const _0x53d702=_0x396aed;this[_0x53d702(0x292)]['forEach'](_0x132510=>{const _0x5ac429=_0x53d702;_0x132510[_0x5ac429(0x2ec)](_0x39eb40);});},_0xf99b0*0x2);this[_0x396aed(0x390)]['set'](_0x39eb40,_0x352fb3);}[_0x374b20(0x3f3)](_0x404716){const _0x1f0711=_0x374b20;if(this['_clearOtherTimers'][_0x1f0711(0x26b)](_0x404716)){const _0x26dabb=this['_clearOtherTimers'][_0x1f0711(0x32d)](_0x404716);_0x26dabb&&window[_0x1f0711(0x2d1)](_0x26dabb),this[_0x1f0711(0x390)][_0x1f0711(0x45c)](_0x404716,null);}}[_0x374b20(0x42b)](_0x4145be){const _0x1cc05e=_0x374b20,{memberID:_0x12235f,unitIDs:_0x495f16}=_0x4145be;_0x495f16[_0x1cc05e(0x39d)](_0x201f4e=>{const _0x1cad6e=_0x1cc05e;var _0x25f202;const _0xa39915=this[_0x1cad6e(0x292)][_0x1cad6e(0x32d)](_0x201f4e);_0xa39915&&(_0xa39915['delete'](_0x12235f),(_0x25f202=this[_0x1cad6e(0x1ef)](_0x201f4e))==null||_0x25f202[_0x1cad6e(0x46d)](_0xa39915[_0x1cad6e(0x32e)]===0x0?_0x5599fc[_0x1cad6e(0x433)]['NO_OTHER_CLIENTS_EDITING']:_0x5599fc[_0x1cad6e(0x433)][_0x1cad6e(0x4a2)]));}),this[_0x1cc05e(0x3f3)](_0x12235f);}[_0x374b20(0x29c)](_0x2a59ae){const _0xeff106=_0x374b20;this['_scheduleClearOtherTimer'](_0x2a59ae[_0xeff106(0x244)]);}[_0x374b20(0x285)](_0x40816e){const _0x987ec=_0x374b20;localStorage[_0x987ec(0x36f)](_0x10ba00,JSON[_0x987ec(0x324)](_0x40816e));}[_0x374b20(0x23c)](){const _0x2f610a=_0x374b20;this['_heartbeatTimer']=window[_0x2f610a(0x2ca)](()=>{const _0x27c8b1=_0x2f610a;this['_send']({'type':0x2,'memberID':this[_0x27c8b1(0x368)]});},_0xf99b0);}['_ensureSubject'](_0x4ac712){const _0x715785=_0x374b20;return this['_unitStatus'][_0x715785(0x26b)](_0x4ac712)||this[_0x715785(0x2b0)][_0x715785(0x45c)](_0x4ac712,new _0x4c6c40[(_0x715785(0x3f7))](_0x5599fc['UnitStatus'][_0x715785(0x41e)])),this[_0x715785(0x2b0)][_0x715785(0x32d)](_0x4ac712);}}_0x54bc6b[_0x374b20(0x240)]=_0x8fb55b,_0x54bc6b[_0x374b20(0x49c)]=_0x3318c1,_0x54bc6b['WebBrowserSingleActiveUnitService']=_0x5b2cc8,_0x54bc6b[_0x374b20(0x41b)]=_0x4ae58c,Object[_0x374b20(0x2ce)](_0x54bc6b,Symbol[_0x374b20(0x22b)],{'value':_0x374b20(0x444)});}));
|
|
1
|
+
function _0x21aa(_0x20067f,_0x2a64ef){_0x20067f=_0x20067f-0x1a5;const _0x458ffe=_0x458f();let _0x21aae9=_0x458ffe[_0x20067f];return _0x21aae9;}function _0x458f(){const _0x445dcb=['collab-rect-range-','_initUnhandledRejectionListener','Loading','_themeService','Injector','getStateCache','ENTITLE_USE_COUPON_NOT_1ST_TRADE','removeEventListener','@univerjs/ui','transformStateCache','_hover','row','focused$','switchMap','getValue','RefRangeService','jsx','DisposableCollection','restore','...','UniverDrawing','_memberService','getCurrent','session.connection-failed','UniverEngineRender','REDEMPTION_CODE_INACTIVE','univer-flex\x20univer-items-center','INVITE_CODE_ALREADY_BOUND','registerDependencies','transformMutation','MoveRangeCommandId','UniverSheetsUi','clipPath','parseInt','type','_onRefRangeChange','@univerjs/network','_startSheetCollabCursor','m1Prime','setAlpha','unitID','MemberService','_renderManagerService','17840nhqPGw','_docClipboardService','RECT','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_sheetSkeletonManagerService','ITransformService','OFFLINE','FormulaExecuteStageType','8vYnuvL','selection','path','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/rpc','with','toRgbString','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','isArray','ALREADY_EXISTS','join','onMouseMove','SessionStatus','INVALID_INVITE_CODE','session.will-retry','contains','entityInit$','unitId','1em','APPLY_DUPLICATED','BehaviorSubject','error','_scene','InsertRowCommandId','YUUMI_ALL_TABLES_IS_INVALID','getAncestorScale','Failed','triggerDblclick','1968486MiRtyy','_updateLocalCursor','_monkeyPatchLogService','COLORS','getUnit','SYNCED','_entities','collabStatus.syncing','setStateCache','createElement','_collabCursorController','/universer-api/license/formula/limit/status','_entityInit$','min','_toggleOnline','YUUMI_RATE_OVER_LIMIT','BrowserCollaborationSocketService','all','filter','limitInfo','stage','shareReplay','addObjects','WebURLService','Module','getTypeOfUnitAdded$','MOBILE_HAS_BEEN_BOUND','PERMISSION_DENIED','_uploadLog','VIEW_MAIN','UniverSheets','getActiveSheet','toString','getCellMatrix','_drawRectRange','0\x200\x2017\x2016','_cursorShapes','toStringTag','DOC_RANGE_TYPE','CONFLICT','ICommandService','InsertRangeMoveRightCommandId','getCollabCursors$','startsWith','disposeUnit','releaseFormulaLimitUrl','getOwnPropertyDescriptor','REDEMPTION_USER_NOT_ELIGIBLE','colorChannel1','_unitOnClients','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','1534542ksvFRN','ENTITLE_COUPON_EXPIRED','SheetSkeletonManagerService','red.300','map','[Window\x20Error]:\x20','_hasFormulaInDirtyRanges','Subject','href','name','isTransformMutationFailure','unit','_session','\x20at\x20','_scheduleClearOtherTimer','LICENSE_IMPORT_SIZE_EXCEEDED','collab-client.tooltip.reconnect','_imageIoService','_configService','CollaborationController','useDependency','runOnServer','Unknown\x20user','UniverUi','displayName','_setupBeforeClosingHandler','getRenderById','_toggleOffline','tag','useCallback','font','memberID','WebSocketService','4644PKvfmh','getCellPositionByOffset','setInterval','SetFormulaCalculationStartMutation','ThemeService','_currentUsage','_univerInstanceService','_collabSessionService','_clearPolling','exports','searchParams','history','DeleteRangeMoveUpCommandId','loadOfflineData','_getScale','deepClone','ISocketService','on-line-icon_clip0_910_349','MOBILE_VERIFY_CODE_MISMATCH','hide','UniverInstanceType','addEventListener','univerjs-icon\x20univerjs-icon-','SheetsSelectionsService','_dataLoaderService','_setupSubUnitSync','collabStatus.fetchMiss','SetDocZoomRatioOperation','url(#on-line-icon_clip0_910_349)','dispose$','TEXT_RANGE_LAYER_INDEX','REDEMPTION_INVALID_CODE','@univerjs-pro/collaboration-client','YUUMI_AI_RUN_FAILED','handleInsertRangeMoveRight','handleInsertCol','xlink:href','_backgroundColor','RxDisposable','CollaborationStatus','_initEvent','setItem','eventID','YUUMI_UNABLE_LOAD_URL','USER_IS_ANONYMOUS','bind','_getAnchorBounding','currentUsage','#FFF','getUnhiddenWorksheets','height','_pollingInterval','current','runId','_logService','onPointerLeave$','params','_docTransformStateCacheService','AUTHORIZE_CODE_ILLEGAL','executeCommand','origin','debug','IBeforeCloseService','urlChange$','/run/','SUBMIT_CHANGESET_TIMEOUT','getRangePointData','INVALID_ARGUMENT','getCurrentRevOfUnit','_getSaveTimeout','@univerjs/engine-formula','jsxs','ENTITLE_INVALID_COUPON_CODE','getCoordByCell','onPointerMove$','_eventUnsubscribe','add','override','MUTATION','onRendered','_docSkeletonManagerService','_initResize','hovered','UnitStatus','show','assign','has','collaboration.single-unit.warning','reconnect','white','_id','LOGIN_FAILED','_initCommandInterceptor','Rectangle','transformRemoteChangeset','rxjs/operators','getVpScrollXYInfoByPosToVp','replaceState','random','loadUnit','NodePositionConvertToRectRange','requireSession','lineTo','transform','@univerjs/design','_roomMembers$','_status$','_notificationService','setTimeout','_cursor','getUnitId','_docStateChangeManagerService','_injector','useObservable','ENTITLE_CAN_NOT_BUY_LOWER_OTP','setUndoRedoMutationParamsCache','IImageIoService','_onCursorDelete','_transformUndoRedoStack','undoState','column','EMAIL_HAS_BEEN_BOUND','IConfigService','currentSkeleton$','_collabCursorState$','getColorFromTheme','_showGuardMessage','RevisionService','_getMergeRange','getConfig','_init','INTERNAL_ERROR','getItem','763271DKhjbW','getSheetBySheetId','handleDeleteRangeMoveUp','_clearOtherTimers','[Unhandled\x20Rejection]:\x20','dispose','getformulaLimitStatusUrl','_draw','_beforeCloseService','_cachedData','currentColor','generateRandomId','YUUMI_NO_CUBOID_FOR_QUESTION','CollaborationUIEventService','_drawTextRange','_lastResponseTimestamp','getUniverSheetInstance','yellow.400','max','bottom','USERS_LEAVE','endRow','Error','unshift','ranges','SNAPSHOT_HAS_BEEN_REMOVED','DesktopCollaborationStatusDisplayController','getRelativeToViewportCoord','COMPLETION_FINISHED','getActiveRange','AWAITING','ENTITLE_REPORT_LIMIT_EXCEED','CLOSE_ROOM','NOT_COLLAB','UniverRpc','_document','ILogService','_revisionService','_hovered','getOffsetConfig','registerComponent','forwardRef','_docSkeleton','ISnapshotServerService','init','DeleteRangeMoveLeftCommandId','UPDATE_CURSOR','_updateURLWithCurrentState','_selfUnitIDs','sessionTicket','set','whenReady','_collaborationController','sheetID','RemoteUniscriptService','onPointerEnter$','fill','connectInjector','_scheduleSaving','Plugin','_maxFormulaLimit','SetTextSelectionsOperation','filename','mask','_disabled','_messageService','addObject','react/jsx-runtime','_unitStatus','blue.400','_httpService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','saveTaskMap','doc.mutation.rich-text-editing','_localeService','@univerjs/drawing','SheetCollabCursorShape','isFormulaString','fillRule','_initStatusListener','UNAUTHENTICATED','defineProperty','IRemoteInstanceService','status$','activeSheet$','_assignedColors','UNDEFINED','_initUserListener','addClipboardHook','getMember','getViewport','clsx','3027455CCDHRZ','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CollaborationDataLoaderController','functionsExecutedState','EffectRefRangId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_transformPreviousActiveRange','message','getDocRanges','url(#off-line-icon_clip0_910_343)','NOT_FOUND','disposeWithMe','ColorKit','APPLY_PERMISSION_DENIED','IMessageService','transformIMECache','color','range','SetSelectionsOperation','createInstance','_saveTaskMap','DocSelectionManagerService','source','drawWith','idSuffix','EMAIL_VERIFY_CODE_MISMATCH','startColumn','_getSheetObject','UniverCollaborationClientPlugin','APPLY_REJECT','collabStatus.offline','getParam','CHANGESET_REVISION_CONFILICT','roomMembers$','getTypeOfUnitDisposed$','LOGIN_TOKEN_PROCESSING_FAILED','_initEntityListener','unload','isEditing','_lastPointer','createIdentifier','roomMembers','_anchor','ENSURE_SNAPSHOT_EXECUTION','result','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','reason','_cursors','_docTransformIMECacheService','[LogService\x20Error]:\x20','getColor','parse','distinctUntilChanged','mergeOverrideWithDependencies','debounce','IRenderManagerService','object','_registerRenderDependencies','complete','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','entries','values','subscribeEvent','_context','_handleLeaveEvent','merge','_anchorDot','_ensureSubject','_localCacheService','Warning','_transformService','from','AWAITING_WITH_PENDING','WECHAT_HAS_BEEN_BOUND','rxjs','_colorAssignService','SHEET_VIEWPORT_KEY','_render','UniverEngineFormula','SetFormulaCalculationNotificationMutation','saveOfflineData','YUUMI_SUBSCRIPTION_NOT_FOUND','setParam','_initStatusComponent','includes','rgba(255,\x20255,\x20255,\x200.01)','clearTimeout','M0\x200H16V16H0z','Tooltip','YUUMI_URL_COL_OUT_OF_RANGE','onCommandExecuted','stack','NO_OTHER_CLIENTS_EDITING','takeUntil','registerRenderModule','_updateSubUnitFromURLParams','PY_RUNTIME_SCRIPT_ERROR','formula.calculation.started','getMergeData','permission.title','round','5676391Oxcgso','selections','ENTITLE_DUP_SUBSCRIPTION','removeParam','svg','_color','_instanceService','/universer-api/license/formula/limit/start','_cursorInfo$','JOIN_ROOM_FAILED','moveTo','Optional','4374jPeFLw','sheetId','ENTITLE_CHAT_LIMIT_EXCEED','ENTITLE_INSUFFICIENT_QUOTA','_shapes','_setFormulaLimitStatus','REDEMPTION_CODE_NOT_STARTED','@univerjs/docs-ui','SNAPSHOT_INVALID_SNAPSHOT','m2Prime','IURLService','pushState','storage','now','string','cursorInfo$','CollaborationSessionService','YUUMI_CONNECTOR_URL_NOT_FOUND','_getSessionTicket','evenodd','push','FETCH_MISS','body','isActive','_applyCommand','_handleJoinEvent','LICENSE_DISTRO_REJECTED','forEach','FormulaExecutedStateType','NodePositionConvertToCursor','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','arc','createSocket','INotificationService','docStateChange$','mutations','LICENSE_EXPORT_SIZE_EXCEEDED','beforeCommandExecuted','DataLoaderService','HTTPService','onLocalMutation','save','_checkCalculationAvailable','_startDocCollabCursor','find','syncEditingCollabCursor','getCurrentUnitForType','pluginName','toDisposable','CollaborationSocketService','text','cursorInfo','pipe','Vector2','collaboration-client-ui.config','UNIVER_SHEET','deserializeRangeWithSheet','_updateCollabCursors','_collaborationSessionService','unhandledrejection','delete','0\x200\x2016\x2016','getSheetId','_createSocketURL','UniverDocs','useRef','PENDING','getUndoRedoMutationParamsCache','substring','UniverIcon','endColumn','getMemberID','univer-mr-2\x20univer-flex\x20univer-text-xl','_refreshCollabCursors','DocSkeletonManagerService','UniverCollaborationClientUIPlugin','newValue','_syncEditingCollabCursorService','location','getLocalCacheKey','YUUMI_ASYNCIO_CANCELLED','post','_hideTimer','session.collaboration-timeout','width','labelPosition','USER_NOT_INVITED_CODE','runRefRangeMutations','registerRefRange','lineno','_online','Workbook','_handleHover','off-line-icon','flatMap','redoState','Inject','_initWindowErrorListener','handleDeleteRangeMoveLeft','/universer-api/frontend/logs','symbol','then','DocStateChangeManagerService','RemoveColCommandId','CURRENT_STATUS_CANNOT_OPERATE','_handleHeartbeatEvent','@univerjs/core','sessionStatus$','getFocusedUnit','_urlService','INVITE_CODE_HAS_BEEN_UES','debounceTime','get','permission.content','replace','Rect','8gTqTkk','UniverProCollaboration','serializeRangeWithSheet','collabCursorState$','operators','_removeCollabCursors','touchDependencies','replaceDocRanges','_initCommandExecutedListener','url(#$1','size','split','data','findNodePositionByCharIndex','getUnitStatus$','textRanges','ONLINE','[CollaborationDataLoaderController]','[RemoteUniscriptService]:\x20no\x20focused\x20unit','search','setActiveRange','LOCAL_CACHE_INTERVAL_KEY','_taskIds','IUniverInstanceService','OnLineIcon','currentTheme$','green.600','_refRangeService','_onCursorUpdate','React','imageSourceType','_labelPosition','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','stageInfo','ENTITLE_COUPON_USED_UP','_removeClearOtherTimer','translate(.97)','_transformHistoryAndStateStack','transformSelections','asObservable','_docSyncEditingCollabCursorService','Tools','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','throttleTime','updateOfflineData','UNRECOGNIZED','setShapeProps','mapTo','trim','colno','subunit','REDEMPTION_CODE_FULLY_REDEEMED','UNIVER_DOC','DependentOn','_range','ENTITLE_NEED_BILLING_ADDRESS','resize','INVITE_CODE_REQUIRED','next','LOCAL_CACHE_INTERVAL','fillText','subscribe','RichTextEditingMutation','APPLY_NON_SEQUENTIAL_REVISION','_localStorageService','START_CALCULATION','stringify','_heartbeatTimer','black','_commandService','_drawAnchor','clearInterval','enableFrontendLog','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DocIMEInputManagerService','attrs','code','assignAColorForMemberID','totalFormulasToCalculate','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ERROR_AGAIN','measureText','_checkAndWaitForCalculationPermission','div','off-line-icon_clip0_910_343','APPLY_REVISION_CONFILICT','backgroundColor','ILocalCacheService','fillStyle','ILocalStorageService','children','setConfig','BuiltInUIPart','handleInsertRow','startFormulaLimitUrl','amd','startRow','_collaborationUIEventService','_startCalculationLimit','isTransformMutationsWithChangesetSuccess','send','event$','TEXT','CONNECTOR_DATA_TOO_LARGE','_scheduleHeartbeat','TOO_MANY_REQUESTS','_registerDependencies','MessageType','LICENSE_MAX_UNITS_EXCEEDED','OffLineIcon','_saveCache','SetWorksheetActivateCommand','maxFormulaLimit','wsSessionTicketUrl','_memberID','DATA_SOURCE_TOO_LARGE','REDEMPTION_CODE_HAS_BEEN_CREATED','exhaustSavingTask','dirtyRanges','http://www.w3.org/2000/svg','_name','application/json','none','collabStatus.notCollab','LocaleService','CollaborationUIEventId','FromArray','_colorIndex','_config','_docTransformSelectionsService','PAYMENT_CHANNEL_NOT_SUPPORT','socket$','fromEvent','UniverDocsUi','defs','_send','makeDirty','Disposable','CollaborationEvent','length','_textBubble','key','getCurrentSelections'];_0x458f=function(){return _0x445dcb;};return _0x458f();}(function(_0x410000,_0x342ead){const _0x2fff9d=_0x21aa,_0x8cb5ae=_0x410000();while(!![]){try{const _0x17639b=parseInt(_0x2fff9d(0x3ea))/0x1+-parseInt(_0x2fff9d(0x365))/0x2+parseInt(_0x2fff9d(0x311))/0x3+-parseInt(_0x2fff9d(0x2f5))/0x4*(-parseInt(_0x2fff9d(0x446))/0x5)+-parseInt(_0x2fff9d(0x344))/0x6+parseInt(_0x2fff9d(0x1b3))/0x7*(-parseInt(_0x2fff9d(0x233))/0x8)+-parseInt(_0x2fff9d(0x1bf))/0x9*(parseInt(_0x2fff9d(0x2ed))/0xa);if(_0x17639b===_0x342ead)break;else _0x8cb5ae['push'](_0x8cb5ae['shift']());}catch(_0xe79eeb){_0x8cb5ae['push'](_0x8cb5ae['shift']());}}}(_0x458f,0xa987f),function(_0x1cf26b,_0x2000a4){const _0x1f4e81=_0x21aa;typeof exports==_0x1f4e81(0x47e)&&typeof module<'u'?_0x2000a4(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x1f4e81(0x292)]?define([_0x1f4e81(0x36e),_0x1f4e81(0x42d),_0x1f4e81(0x385),_0x1f4e81(0x229),_0x1f4e81(0x2ca),_0x1f4e81(0x490),_0x1f4e81(0x3cd),'react',_0x1f4e81(0x2f9),'@univerjs/sheets','@univerjs/engine-render',_0x1f4e81(0x2e6),_0x1f4e81(0x1c6),_0x1f4e81(0x435),'@univerjs-pro/collaboration','@univerjs/docs',_0x1f4e81(0x3ab),_0x1f4e81(0x3c4),'@univerjs/sheets-ui'],_0x2000a4):(_0x1cf26b=typeof globalThis<'u'?globalThis:_0x1cf26b||self,_0x2000a4(_0x1cf26b['UniverProCollaborationClientUi']={},_0x1cf26b[_0x1f4e81(0x250)],_0x1cf26b['UniverProCollaborationClient'],_0x1cf26b['UniverCore'],_0x1cf26b[_0x1f4e81(0x35b)],_0x1cf26b[_0x1f4e81(0x490)],_0x1cf26b['UniverDesign'],_0x1cf26b[_0x1f4e81(0x250)],_0x1cf26b[_0x1f4e81(0x40c)],_0x1cf26b[_0x1f4e81(0x32f)],_0x1cf26b[_0x1f4e81(0x2da)],_0x1cf26b['UniverNetwork'],_0x1cf26b[_0x1f4e81(0x2b8)],_0x1cf26b[_0x1f4e81(0x2d6)],_0x1cf26b[_0x1f4e81(0x234)],_0x1cf26b[_0x1f4e81(0x1ff)],_0x1cf26b[_0x1f4e81(0x494)],_0x1cf26b[_0x1f4e81(0x490)][_0x1f4e81(0x237)],_0x1cf26b[_0x1f4e81(0x2e1)]));}(this,function(_0x46719c,_0x422050,_0x47c5ed,_0x3071e3,_0x2fdbef,_0x4dfa7e,_0xe2dc8e,_0x10864a,_0x278656,_0x4ccc17,_0x449944,_0x46431e,_0x39debf,_0x556ad4,_0x23de57,_0x4f248,_0x283787,_0x2f0e2e,_0x5317b2){'use strict';const _0xa0f417=_0x21aa;var _0x147196=Object[_0xa0f417(0x43b)],_0x4f4652=(_0x465bce,_0x3ed608,_0x442cc2)=>_0x3ed608 in _0x465bce?_0x147196(_0x465bce,_0x3ed608,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x442cc2}):_0x465bce[_0x3ed608]=_0x442cc2,_0x4f1800=(_0x439440,_0x3df9be,_0x44c00a)=>_0x4f4652(_0x439440,typeof _0x3df9be!=_0xa0f417(0x223)?_0x3df9be+'':_0x3df9be,_0x44c00a);function _0x17ccd6({ref:_0x261609,..._0x52c36b}){const _0x55114b=_0xa0f417,{icon:_0x4c309a,id:_0x2e410d,className:_0x3853a1,extend:_0x1fe5c9,..._0xf87cd5}=_0x52c36b,_0xcd0384=(_0x55114b(0x37b)+_0x2e410d+'\x20'+(_0x3853a1||''))[_0x55114b(0x263)](),_0x36cce1=_0x10864a[_0x55114b(0x200)]('_'+_0x50bde2());return _0x3fb242(_0x4c309a,''+_0x2e410d,{'defIds':_0x4c309a['defIds'],'idSuffix':_0x36cce1[_0x55114b(0x399)]},{'ref':_0x261609,'className':_0xcd0384,..._0xf87cd5},_0x1fe5c9);}function _0x3fb242(_0x35af83,_0x51e02d,_0x4b31c7,_0x534cb8,_0x43a433){const _0x470fb0=_0xa0f417;return _0x10864a[_0x470fb0(0x31a)](_0x35af83[_0x470fb0(0x360)],{'key':_0x51e02d,..._0x51c042(_0x35af83,_0x4b31c7,_0x43a433),..._0x534cb8},(_0x17158e(_0x35af83,_0x4b31c7)[_0x470fb0(0x28d)]||[])[_0x470fb0(0x348)]((_0x31e878,_0x371aab)=>_0x3fb242(_0x31e878,_0x51e02d+'-'+_0x35af83[_0x470fb0(0x360)]+'-'+_0x371aab,_0x4b31c7,void 0x0,_0x43a433)));}function _0x51c042(_0x526ed6,_0xe4b872,_0x7dd50c){const _0x42614c=_0xa0f417,_0x244bed={..._0x526ed6[_0x42614c(0x27e)]};_0x7dd50c!=null&&_0x7dd50c['colorChannel1']&&_0x244bed[_0x42614c(0x422)]===_0x42614c(0x341)&&(_0x244bed[_0x42614c(0x422)]=_0x7dd50c[_0x42614c(0x341)]),_0x526ed6[_0x42614c(0x360)]==='mask'&&_0x244bed['id']&&(_0x244bed['id']=_0x244bed['id']+_0xe4b872[_0x42614c(0x45e)]),Object[_0x42614c(0x482)](_0x244bed)[_0x42614c(0x1da)](([_0x578dfe,_0xda67ce])=>{const _0x4df980=_0x42614c;_0x578dfe===_0x4df980(0x429)&&typeof _0xda67ce==_0x4df980(0x1cd)&&(_0x244bed[_0x578dfe]=_0xda67ce[_0x4df980(0x231)](/url\(#(.*)\)/,_0x4df980(0x23c)+_0xe4b872[_0x4df980(0x45e)]+')'));});const {defIds:_0x4a5eff}=_0xe4b872;return!_0x4a5eff||_0x4a5eff[_0x42614c(0x2be)]===0x0||(_0x526ed6[_0x42614c(0x360)]==='use'&&_0x244bed[_0x42614c(0x389)]&&(_0x244bed['xlink:href']=_0x244bed['xlink:href']+_0xe4b872[_0x42614c(0x45e)]),Object[_0x42614c(0x482)](_0x244bed)[_0x42614c(0x1da)](([_0x1c4ad8,_0x1dcaa0])=>{const _0x1acca9=_0x42614c;typeof _0x1dcaa0==_0x1acca9(0x1cd)&&(_0x244bed[_0x1c4ad8]=_0x1dcaa0['replace'](/url\(#(.*)\)/,_0x1acca9(0x23c)+_0xe4b872['idSuffix']+')'));})),_0x244bed;}function _0x17158e(_0x45847d,_0x43813c){const _0x4d3a2d=_0xa0f417;var _0xbc1e1e;const {defIds:_0x574fa0}=_0x43813c;return!_0x574fa0||_0x574fa0[_0x4d3a2d(0x2be)]===0x0?_0x45847d:_0x45847d[_0x4d3a2d(0x360)]===_0x4d3a2d(0x2b9)&&((_0xbc1e1e=_0x45847d['children'])!=null&&_0xbc1e1e[_0x4d3a2d(0x2be)])?{..._0x45847d,'children':_0x45847d[_0x4d3a2d(0x28d)]['map'](_0x76f720=>typeof _0x76f720[_0x4d3a2d(0x27e)]['id']=='string'&&_0x574fa0&&_0x574fa0[_0x4d3a2d(0x49a)](_0x76f720[_0x4d3a2d(0x27e)]['id'])?{..._0x76f720,'attrs':{..._0x76f720['attrs'],'id':_0x76f720[_0x4d3a2d(0x27e)]['id']+_0x43813c[_0x4d3a2d(0x45e)]}}:_0x76f720)}:_0x45847d;}function _0x50bde2(){const _0x42e4f2=_0xa0f417;return Math[_0x42e4f2(0x3c7)]()[_0x42e4f2(0x331)](0x24)[_0x42e4f2(0x203)](0x2,0x8);}_0x17ccd6[_0xa0f417(0x35c)]=_0xa0f417(0x204);const _0x34c671={'tag':_0xa0f417(0x1b7),'attrs':{'xmlns':_0xa0f417(0x2aa),'fill':_0xa0f417(0x2ad),'viewBox':_0xa0f417(0x1fc),'width':_0xa0f417(0x307),'height':_0xa0f417(0x307)},'children':[{'tag':'g','attrs':{'clipPath':_0xa0f417(0x44f)},'children':[{'tag':'path','attrs':{'stroke':_0xa0f417(0x3f4),'d':_0xa0f417(0x481),'strokeLinecap':_0xa0f417(0x1b2),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xa0f417(0x2b9),'attrs':{},'children':[{'tag':_0xa0f417(0x2e2),'attrs':{'id':_0xa0f417(0x287)},'children':[{'tag':_0xa0f417(0x2f7),'attrs':{'fill':'white','d':_0xa0f417(0x1a5)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x520004=_0x10864a[_0xa0f417(0x413)](function(_0x3a4c39,_0x56632c){const _0x28c215=_0xa0f417;return _0x10864a[_0x28c215(0x31a)](_0x17ccd6,Object[_0x28c215(0x3ba)]({},_0x3a4c39,{'id':_0x28c215(0x21c),'ref':_0x56632c,'icon':_0x34c671}));});_0x520004[_0xa0f417(0x35c)]=_0xa0f417(0x2a0);const _0x5beb3f={'tag':_0xa0f417(0x1b7),'attrs':{'xmlns':_0xa0f417(0x2aa),'fill':'none','viewBox':_0xa0f417(0x334),'width':_0xa0f417(0x307),'height':_0xa0f417(0x307)},'children':[{'tag':'g','attrs':{'clipPath':_0xa0f417(0x381)},'children':[{'tag':_0xa0f417(0x2f7),'attrs':{'stroke':_0xa0f417(0x3f4),'d':_0xa0f417(0x2fc),'strokeLinecap':_0xa0f417(0x1b2),'strokeLinejoin':_0xa0f417(0x1b2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xa0f417(0x2e2),'attrs':{'id':_0xa0f417(0x376)},'children':[{'tag':'path','attrs':{'fill':_0xa0f417(0x3be),'d':_0xa0f417(0x1a5),'transform':_0xa0f417(0x257)}}]}]}],'defIds':[_0xa0f417(0x376)]},_0x18a624=_0x10864a[_0xa0f417(0x413)](function(_0x5ba5ae,_0x55e1c5){const _0x283aa8=_0xa0f417;return _0x10864a[_0x283aa8(0x31a)](_0x17ccd6,Object[_0x283aa8(0x3ba)]({},_0x5ba5ae,{'id':'on-line-icon','ref':_0x55e1c5,'icon':_0x5beb3f}));});_0x18a624[_0xa0f417(0x35c)]=_0xa0f417(0x24b);function _0x58242f(_0x32db8f){const _0x232d80=_0xa0f417;switch(_0x32db8f){case _0x47c5ed[_0x232d80(0x38c)][_0x232d80(0x2f3)]:return _0x232d80(0x464);case _0x47c5ed[_0x232d80(0x38c)][_0x232d80(0x338)]:return'collabStatus.conflict';case _0x47c5ed[_0x232d80(0x38c)][_0x232d80(0x1d4)]:return _0x232d80(0x37f);case _0x47c5ed[_0x232d80(0x38c)]['NOT_COLLAB']:return _0x232d80(0x2ae);case _0x47c5ed['CollaborationStatus'][_0x232d80(0x408)]:case _0x47c5ed[_0x232d80(0x38c)][_0x232d80(0x48e)]:return _0x232d80(0x318);case _0x47c5ed['CollaborationStatus'][_0x232d80(0x316)]:case _0x47c5ed['CollaborationStatus'][_0x232d80(0x201)]:return'collabStatus.synced';}}function _0x51d573(_0x57d8f6){const _0x4afe51=_0xa0f417,{status$:_0x4c76d3}=_0x57d8f6,_0x239d16=_0x2fdbef[_0x4afe51(0x3d6)](_0x4c76d3,_0x47c5ed[_0x4afe51(0x38c)][_0x4afe51(0x40b)]),_0x444e3c=_0x2fdbef[_0x4afe51(0x358)](_0x3071e3[_0x4afe51(0x2af)]),_0x299f81=_0x2fdbef[_0x4afe51(0x358)](_0x47c5ed[_0x4afe51(0x1cf)]),_0x1bbfa6=_0x239d16!==_0x47c5ed['CollaborationStatus'][_0x4afe51(0x2f3)],_0xed9e1d=_0x444e3c['t'](_0x58242f(_0x239d16)),_0x2e5e37=_0x1bbfa6?_0x422050[_0x4afe51(0x2d2)](_0x18a624,{}):_0x422050['jsx'](_0x520004,{}),_0x55d7fb=_0x10864a[_0x4afe51(0x361)](()=>{const _0x283185=_0x4afe51;_0x1bbfa6||_0x299f81[_0x283185(0x3bd)]();},[_0x1bbfa6,_0x299f81]);function _0x59a643(){const _0x5256f6=_0x4afe51;return _0x422050[_0x5256f6(0x3ac)](_0x5256f6(0x286),{'className':_0x5256f6(0x2dc),'onClick':_0x55d7fb,'children':[_0x422050[_0x5256f6(0x2d2)](_0x5256f6(0x286),{'className':_0xe2dc8e[_0x5256f6(0x445)](_0x5256f6(0x207),{'univer-text-green-500':_0x1bbfa6,'univer-text-red-500':!_0x1bbfa6}),'children':_0x2e5e37}),_0x422050[_0x5256f6(0x2d2)](_0x5256f6(0x286),{'className':_0x5256f6(0x473),'children':_0xed9e1d})]});}return _0x1bbfa6?_0x59a643():_0x422050[_0x4afe51(0x2d2)](_0xe2dc8e[_0x4afe51(0x1a6)],{'title':_0x444e3c['t'](_0x4afe51(0x354)),'children':_0x59a643()});}var _0x1ff785=Object[_0xa0f417(0x33f)],_0x36ed1e=(_0x4037eb,_0x63af46,_0x61e3ae,_0xfcf26d)=>{const _0x57e5d6=_0xa0f417;for(var _0x1448fd=_0xfcf26d>0x1?void 0x0:_0xfcf26d?_0x1ff785(_0x63af46,_0x61e3ae):_0x63af46,_0x104b3b=_0x4037eb[_0x57e5d6(0x2be)]-0x1,_0x1be3b5;_0x104b3b>=0x0;_0x104b3b--)(_0x1be3b5=_0x4037eb[_0x104b3b])&&(_0x1448fd=_0x1be3b5(_0x1448fd)||_0x1448fd);return _0x1448fd;},_0x36a8d7=(_0x2510ff,_0x2574a7)=>(_0x2e26b7,_0x3dd1b5)=>_0x2574a7(_0x2e26b7,_0x3dd1b5,_0x2510ff);_0x46719c[_0xa0f417(0x404)]=class extends _0x3071e3[_0xa0f417(0x2bc)]{constructor(_0x29da39,_0xa495a2,_0x16f79b,_0x1110eb){const _0x1e4699=_0xa0f417;super(),_0x4f1800(this,'_status$',new _0x4dfa7e[(_0x1e4699(0x309))](_0x47c5ed[_0x1e4699(0x38c)][_0x1e4699(0x40b)])),(this[_0x1e4699(0x36b)]=_0x29da39,this[_0x1e4699(0x3d5)]=_0xa495a2,this['_collaborationController']=_0x16f79b,this['_uiPartsService']=_0x1110eb,this[_0x1e4699(0x499)](),this[_0x1e4699(0x439)]());}[_0xa0f417(0x439)](){const _0x4442ea=_0xa0f417;this[_0x4442ea(0x451)](this[_0x4442ea(0x36b)][_0x4442ea(0x2ce)]['pipe'](_0x4dfa7e['switchMap'](()=>{const _0x57f014=_0x4442ea,_0x2559df=this[_0x57f014(0x36b)][_0x57f014(0x22b)]();return _0x2559df?this[_0x57f014(0x41e)]['getCollabEntity$'](_0x2559df['getUnitId']()):_0x4dfa7e['of'](null);}),_0x4dfa7e[_0x4442ea(0x2cf)](_0x588cd5=>_0x588cd5?_0x588cd5[_0x4442ea(0x43d)]:_0x4dfa7e['of'](_0x47c5ed[_0x4442ea(0x38c)][_0x4442ea(0x40b)])))[_0x4442ea(0x270)](_0x1260ba=>{const _0x3f7c01=_0x4442ea;this[_0x3f7c01(0x3cf)]['next'](_0x1260ba);}));}[_0xa0f417(0x499)](){const _0x5acd04=_0xa0f417;this[_0x5acd04(0x451)](this['_uiPartsService'][_0x5acd04(0x412)](_0x2fdbef[_0x5acd04(0x28f)]['HEADER_MENU'],()=>_0x2fdbef[_0x5acd04(0x423)](_0x18fad7({'status$':this[_0x5acd04(0x3cf)][_0x5acd04(0x25a)]()}),this[_0x5acd04(0x3d5)])));}},_0x46719c['DesktopCollaborationStatusDisplayController']=_0x36ed1e([_0x36a8d7(0x0,_0x3071e3[_0xa0f417(0x24a)]),_0x36a8d7(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0x36a8d7(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed[_0xa0f417(0x357)])),_0x36a8d7(0x3,_0x2fdbef['IUIPartsService'])],_0x46719c[_0xa0f417(0x404)]);function _0x18fad7(_0x4a8eba){const {status$:_0x3f90f3}=_0x4a8eba;return function(){const _0x348d46=_0x21aa;return _0x422050[_0x348d46(0x2d2)](_0x51d573,{'status$':_0x3f90f3});};}const _0xd9e09a=_0x3071e3[_0xa0f417(0x46e)]('uni.network.url-service');var _0x4720b3=Object[_0xa0f417(0x33f)],_0x250041=(_0xbf4de1,_0x233568,_0x1d0c03,_0x3f09f5)=>{for(var _0x23e646=_0x3f09f5>0x1?void 0x0:_0x3f09f5?_0x4720b3(_0x233568,_0x1d0c03):_0x233568,_0x59ae38=_0xbf4de1['length']-0x1,_0x1615ab;_0x59ae38>=0x0;_0x59ae38--)(_0x1615ab=_0xbf4de1[_0x59ae38])&&(_0x23e646=_0x1615ab(_0x23e646)||_0x23e646);return _0x23e646;},_0x3eb786=(_0x5706da,_0x4683c7)=>(_0x20138d,_0x3729d7)=>_0x4683c7(_0x20138d,_0x3729d7,_0x5706da);_0x46719c[_0xa0f417(0x448)]=class extends _0x3071e3[_0xa0f417(0x38b)]{constructor(_0x5a6cee,_0x108f66,_0x4227d,_0x5de189,_0xfc7a2e){const _0x4c6a16=_0xa0f417;super(),this[_0x4c6a16(0x22c)]=_0x5a6cee,this[_0x4c6a16(0x39b)]=_0x108f66,this['_commandService']=_0x4227d,this[_0x4c6a16(0x37d)]=_0x5de189,_0xfc7a2e?_0xfc7a2e==null||_0xfc7a2e[_0x4c6a16(0x41d)]()[_0x4c6a16(0x224)](()=>this[_0x4c6a16(0x3e7)]()):(this[_0x4c6a16(0x39b)][_0x4c6a16(0x3a2)](_0x4c6a16(0x244),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x4c6a16(0x3e7)]());}async[_0xa0f417(0x3e7)](){const _0xa69a52=_0xa0f417,_0x2c09ad=this['_urlService'][_0xa69a52(0x465)](_0xa69a52(0x34f)),_0x5e038b=this[_0xa69a52(0x22c)][_0xa69a52(0x465)]('type'),_0x11ef8e=this['_urlService']['getParam'](_0xa69a52(0x265));if(!_0x2c09ad||!_0x5e038b){this['_logService']['debug']('[CollaborationDataLoaderController]',_0xa69a52(0x447));return;}const _0x555ffa=await this['_dataLoaderService'][_0xa69a52(0x3c8)](_0x2c09ad,Number(_0x5e038b),_0x11ef8e);_0x555ffa&&_0x555ffa instanceof _0x3071e3[_0xa69a52(0x21a)]&&this[_0xa69a52(0x37e)](_0x555ffa);}async[_0xa0f417(0x37e)](_0x1c2193){const _0x58eeaf=_0xa0f417;await this[_0x58eeaf(0x1ad)](_0x1c2193),_0x1c2193[_0x58eeaf(0x43e)]['pipe'](_0x4dfa7e[_0x58eeaf(0x1ab)](this[_0x58eeaf(0x382)]))[_0x58eeaf(0x270)](_0x3b544b=>{const _0x37a48a=_0x58eeaf;_0x3b544b&&this[_0x37a48a(0x419)](_0x3b544b);}),this['_urlService']['urlChange$']['pipe'](_0x4dfa7e[_0x58eeaf(0x1ab)](this[_0x58eeaf(0x382)]))[_0x58eeaf(0x270)](()=>this[_0x58eeaf(0x1ad)](_0x1c2193));}[_0xa0f417(0x419)](_0x58927d,_0x1f7b6d=!0x1){const _0x42852c=_0xa0f417,_0x95889f=this[_0x42852c(0x22c)][_0x42852c(0x465)](_0x42852c(0x265));_0x58927d[_0x42852c(0x1fd)]()!==_0x95889f&&this[_0x42852c(0x22c)][_0x42852c(0x498)](_0x42852c(0x265),_0x58927d[_0x42852c(0x1fd)](),_0x1f7b6d);}async[_0xa0f417(0x1ad)](_0x5459eb){const _0x5557c2=_0xa0f417;var _0x5467d8;const _0x88c9d1=this[_0x5557c2(0x22c)]['getParam'](_0x5557c2(0x265));if(!_0x88c9d1||!_0x5459eb['getSheetBySheetId'](_0x88c9d1)){const _0x3c9dea=_0x5459eb[_0x5557c2(0x396)]()[0x0],_0x271e54=_0x5459eb[_0x5557c2(0x3eb)](_0x3c9dea);if(!_0x271e54)return;this[_0x5557c2(0x419)](_0x271e54,!0x0),await this['_commandService'][_0x5557c2(0x3a0)](_0x4ccc17[_0x5557c2(0x2a2)]['id'],{'unitId':_0x5459eb[_0x5557c2(0x3d3)](),'subUnitId':_0x3c9dea});return;}((_0x5467d8=_0x5459eb['getActiveSheet']())==null?void 0x0:_0x5467d8[_0x5557c2(0x1fd)]())!==_0x88c9d1&&await this[_0x5557c2(0x278)][_0x5557c2(0x3a0)](_0x4ccc17['SetWorksheetActivateCommand']['id'],{'unitId':_0x5459eb[_0x5557c2(0x3d3)](),'subUnitId':_0x88c9d1});}},_0x46719c[_0xa0f417(0x448)]=_0x250041([_0x3eb786(0x0,_0xd9e09a),_0x3eb786(0x1,_0x3071e3[_0xa0f417(0x40e)]),_0x3eb786(0x2,_0x3071e3[_0xa0f417(0x339)]),_0x3eb786(0x3,_0x3071e3['Inject'](_0x47c5ed[_0xa0f417(0x1e5)])),_0x3eb786(0x4,_0x3071e3[_0xa0f417(0x1be)](_0x278656[_0xa0f417(0x43c)]))],_0x46719c['CollaborationDataLoaderController']);var _0x5c1289=Object[_0xa0f417(0x33f)],_0x1665db=(_0x180d3a,_0x13900b,_0x58edf4,_0x442b5c)=>{const _0xeb24e8=_0xa0f417;for(var _0x4a0060=_0x442b5c>0x1?void 0x0:_0x442b5c?_0x5c1289(_0x13900b,_0x58edf4):_0x13900b,_0x434923=_0x180d3a[_0xeb24e8(0x2be)]-0x1,_0x2f4603;_0x434923>=0x0;_0x434923--)(_0x2f4603=_0x180d3a[_0x434923])&&(_0x4a0060=_0x2f4603(_0x4a0060)||_0x4a0060);return _0x4a0060;},_0x1476c0=(_0x1a6fff,_0x299aac)=>(_0x368780,_0x37f147)=>_0x299aac(_0x368780,_0x37f147,_0x1a6fff);let _0xbbb1dc=class extends _0x3071e3[_0xa0f417(0x38b)]{constructor(_0x46d04c,_0x345c36){const _0x357c77=_0xa0f417;super(),this[_0x357c77(0x2ee)]=_0x46d04c,this[_0x357c77(0x355)]=_0x345c36,this[_0x357c77(0x3e7)]();}['_init'](){const _0x194b39=_0xa0f417,_0x16cef4=this;this['disposeWithMe'](this[_0x194b39(0x2ee)][_0x194b39(0x442)]({'onBeforePasteImage':async _0x5a7578=>{const _0x2fe411=_0x194b39,_0x28cdc0=await _0x16cef4[_0x2fe411(0x355)]['saveImage'](_0x5a7578);return _0x28cdc0?{'source':_0x28cdc0[_0x2fe411(0x45c)],'imageSourceType':_0x28cdc0[_0x2fe411(0x251)]}:null;}}));}};_0xbbb1dc=_0x1665db([_0x1476c0(0x0,_0x39debf['IDocClipboardService']),_0x1476c0(0x1,_0x556ad4[_0xa0f417(0x3d9)])],_0xbbb1dc);const _0x3cced3=['purple.300','jiqing.500',_0xa0f417(0x24d),_0xa0f417(0x347),_0xa0f417(0x42f),_0xa0f417(0x3fb)];class _0x379fb3 extends _0x3071e3[_0xa0f417(0x2bc)]{constructor(){const _0x27a9f7=_0xa0f417;super(...arguments),_0x4f1800(this,_0x27a9f7(0x43f),new Map()),_0x4f1800(this,_0x27a9f7(0x2b2),0x0);}[_0xa0f417(0x280)](_0x140e8e){const _0xc9bf27=_0xa0f417;if(this[_0xc9bf27(0x43f)]['has'](_0x140e8e))return this[_0xc9bf27(0x43f)][_0xc9bf27(0x22f)](_0x140e8e);const _0x1eba7e=_0x3cced3[this[_0xc9bf27(0x2b2)]];return this[_0xc9bf27(0x2b2)]=(this[_0xc9bf27(0x2b2)]+0x1)%_0x3cced3[_0xc9bf27(0x2be)],this['_assignedColors']['set'](_0x140e8e,_0x1eba7e),_0x1eba7e;}}function _0x65bee2(_0x5d61a4){const _0x542b46=_0xa0f417;let _0x4aa10d='';for(const _0x101080 of _0x5d61a4){const {startOffset:_0x5aab6a,endOffset:_0x3c2db1,isActive:_0x2f1e3a,rangeType:_0x184ff3,segmentId:_0x5c4987,segmentPage:_0x48415f}=_0x101080;_0x4aa10d[_0x542b46(0x2be)]&&(_0x4aa10d+=','),_0x4aa10d+=_0x5aab6a+':'+_0x3c2db1+':'+(_0x2f1e3a?'1':'0')+':'+_0x184ff3+':'+_0x5c4987+':'+_0x48415f;}return _0x4aa10d;}function _0xdf34f7(_0x212293){const _0x1e296e=_0xa0f417,_0x18064d=_0x212293[_0x1e296e(0x23e)](','),_0x5a9463=[];for(const _0xe3f952 of _0x18064d){const [_0x34c315,_0x2c495d,_0x7b83ba,_0x255fc8,_0x564336,_0x576f90]=_0xe3f952[_0x1e296e(0x23e)](':');_0x5a9463[_0x1e296e(0x1d3)]({'startOffset':Number(_0x34c315),'endOffset':Number(_0x2c495d),'collapsed':_0x34c315===_0x2c495d,'isActive':_0x7b83ba==='1','rangeType':_0x255fc8===_0x3071e3['DOC_RANGE_TYPE'][_0x1e296e(0x299)]?_0x3071e3['DOC_RANGE_TYPE'][_0x1e296e(0x299)]:_0x3071e3['DOC_RANGE_TYPE'][_0x1e296e(0x2ef)],'segmentId':typeof _0x564336==_0x1e296e(0x1cd)?String(_0x564336):'','segmentPage':Number(_0x576f90!=null?_0x576f90:-0x1)});}return _0x5a9463['some'](_0x2ecbe2=>_0x2ecbe2[_0x1e296e(0x1d6)])||(_0x5a9463[0x0][_0x1e296e(0x1d6)]=!0x0),_0x5a9463;}class _0x5c3119 extends _0x3071e3[_0xa0f417(0x38b)]{constructor(){const _0x335b2c=_0xa0f417;super(...arguments),_0x4f1800(this,_0x335b2c(0x3e1),new _0x4dfa7e[(_0x335b2c(0x309))](null)),_0x4f1800(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}[_0xa0f417(0x1ec)](_0x55e2d1){const _0x458a1f=_0xa0f417,{unitID:_0x248298,memberID:_0x4b9447,textRanges:_0x40e1c6}=_0x55e2d1,_0x4d5384=_0x65bee2(_0x40e1c6);if(_0x4d5384==='')return;const _0x12e661={'unitID':_0x248298,'memberID':_0x4b9447,'selection':_0x4d5384};this['_collabCursorState$'][_0x458a1f(0x26d)](_0x12e661);}}var _0x411195=Object[_0xa0f417(0x33f)],_0x36c265=(_0x1baf56,_0x3c7f99,_0x283a8f,_0x23085c)=>{const _0x13197a=_0xa0f417;for(var _0xfb8cad=_0x23085c>0x1?void 0x0:_0x23085c?_0x411195(_0x3c7f99,_0x283a8f):_0x3c7f99,_0x50355b=_0x1baf56[_0x13197a(0x2be)]-0x1,_0x207ce6;_0x50355b>=0x0;_0x50355b--)(_0x207ce6=_0x1baf56[_0x50355b])&&(_0xfb8cad=_0x207ce6(_0xfb8cad)||_0xfb8cad);return _0xfb8cad;},_0x58dbb3=(_0x30c1b3,_0x3688a5)=>(_0x4b7b90,_0x4386e3)=>_0x3688a5(_0x4b7b90,_0x4386e3,_0x30c1b3);const _0x1c3b47=0x12c,_0x57ce1d=0x64;let _0x5aa614=class extends _0x3071e3['RxDisposable']{constructor(_0x1e6f86,_0x3c4e34,_0x39d1a8,_0x3eed31,_0x1fcad4,_0x5de246,_0xef6d08,_0x493d68,_0x111af1){const _0x32b6b7=_0xa0f417;super(),_0x4f1800(this,_0x32b6b7(0x219),!0x1),_0x4f1800(this,'_init',!0x1),_0x4f1800(this,_0x32b6b7(0x1bb),new _0x4dfa7e[(_0x32b6b7(0x309))](new Map())),_0x4f1800(this,_0x32b6b7(0x1ce),this[_0x32b6b7(0x1bb)][_0x32b6b7(0x25a)]()),_0x4f1800(this,_0x32b6b7(0x3ce),new _0x4dfa7e[(_0x32b6b7(0x309))]([])),_0x4f1800(this,_0x32b6b7(0x467),this['_roomMembers$'][_0x32b6b7(0x1f3)](_0x4dfa7e[_0x32b6b7(0x22e)](_0x1c3b47))),_0x4f1800(this,_0x32b6b7(0x312),_0x3071e3[_0x32b6b7(0x47c)](_0x548f2f=>{const _0x5b603a=_0x32b6b7,_0x5d3c27={'eventID':_0x23de57[_0x5b603a(0x2bd)][_0x5b603a(0x418)],'data':{'unitID':this[_0x5b603a(0x2ea)],'memberID':this['_session'][_0x5b603a(0x206)](),'selection':_0x65bee2(_0x548f2f)}};this[_0x5b603a(0x350)][_0x5b603a(0x297)](_0x5d3c27,this[_0x5b603a(0x2ea)]);},_0x57ce1d)),(this[_0x32b6b7(0x2ea)]=_0x1e6f86,this['_session']=_0x3c4e34,this[_0x32b6b7(0x3d5)]=_0x39d1a8,this[_0x32b6b7(0x491)]=_0x3eed31,this['_memberService']=_0x1fcad4,this[_0x32b6b7(0x20c)]=_0x5de246,this[_0x32b6b7(0x48c)]=_0xef6d08,this[_0x32b6b7(0x36b)]=_0x493d68,this[_0x32b6b7(0x278)]=_0x111af1);}get[_0xa0f417(0x1f2)](){const _0x258d83=_0xa0f417;return this[_0x258d83(0x1bb)][_0x258d83(0x2d0)]();}get['roomMembers'](){const _0x320317=_0xa0f417;return this[_0x320317(0x3ce)][_0x320317(0x2d0)]();}[_0xa0f417(0x3ef)](){const _0x4830fc=_0xa0f417;super[_0x4830fc(0x3ef)](),this[_0x4830fc(0x1bb)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x4830fc(0x3ce)][_0x4830fc(0x26d)]([]),this[_0x4830fc(0x3ce)][_0x4830fc(0x480)]();}[_0xa0f417(0x416)](){const _0x3af86e=_0xa0f417;this['_init']||(this[_0x3af86e(0x3e7)]=!0x0,this['_session'][_0x3af86e(0x22a)][_0x3af86e(0x1f3)](_0x4dfa7e[_0x3af86e(0x1ab)](this[_0x3af86e(0x382)]))[_0x3af86e(0x270)](_0x5be3f8=>{const _0x38d5de=_0x3af86e;_0x5be3f8===_0x47c5ed[_0x38d5de(0x301)][_0x38d5de(0x243)]?this[_0x38d5de(0x31f)]():this['_toggleOffline']();}),this['_session'][_0x3af86e(0x298)]['pipe'](_0x4dfa7e['takeUntil'](this[_0x3af86e(0x382)]))[_0x3af86e(0x270)](_0x2f7ecb=>{const _0x46cbbf=_0x3af86e,_0x3800b4=_0x2f7ecb[_0x46cbbf(0x38f)];_0x3800b4===_0x23de57[_0x46cbbf(0x2bd)][_0x46cbbf(0x418)]&&this[_0x46cbbf(0x24f)](_0x2f7ecb),_0x3800b4===_0x23de57[_0x46cbbf(0x2bd)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x2f7ecb);}),this['disposeWithMe'](this[_0x3af86e(0x278)][_0x3af86e(0x1a8)](_0x1f71a5=>{const _0x494f5f=_0x3af86e,_0x30ab1b=_0x1f71a5[_0x494f5f(0x39d)];_0x30ab1b!=null&&this['_online']&&_0x1f71a5['id']===_0x4f248[_0x494f5f(0x427)]['id']&&_0x30ab1b[_0x494f5f(0x306)]===this[_0x494f5f(0x2ea)]&&_0x30ab1b[_0x494f5f(0x46c)]===!0x1&&_0x30ab1b['ranges'][_0x494f5f(0x2be)]>0x0&&this[_0x494f5f(0x312)](_0x30ab1b[_0x494f5f(0x402)]);})),this[_0x3af86e(0x20c)][_0x3af86e(0x236)][_0x3af86e(0x1f3)](_0x4dfa7e[_0x3af86e(0x1ab)](this[_0x3af86e(0x382)]))[_0x3af86e(0x270)](_0x3e9e0e=>{const _0x551afe=_0x3af86e;if((_0x3e9e0e==null?void 0x0:_0x3e9e0e[_0x551afe(0x2ea)])!==this[_0x551afe(0x2ea)])return;const _0x2cd3a9={'eventID':_0x23de57[_0x551afe(0x2bd)][_0x551afe(0x418)],'data':_0x3e9e0e};this[_0x551afe(0x24f)](_0x2cd3a9);}),this[_0x3af86e(0x451)](this['_commandService'][_0x3af86e(0x1a8)](_0x5e6709=>{const _0x33e7e7=_0x3af86e;if(_0x5e6709['params']==null)return;const _0x1afd64=_0x5e6709[_0x33e7e7(0x39d)];if(_0x5e6709['id']!==_0x4f248[_0x33e7e7(0x271)]['id']||_0x1afd64[_0x33e7e7(0x306)]!==this[_0x33e7e7(0x2ea)])return;const _0x8999e6={'id':_0x33e7e7(0x433),'params':_0x1afd64},_0x249a25=this['cursorInfo'];for(const [_0x1742a0,_0x50eaf9]of _0x249a25){const _0x4e7e4f={'id':_0x33e7e7(0x433),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x50eaf9['ranges']}},_0x3f0600=this['_transformService'][_0x33e7e7(0x2df)](_0x8999e6,_0x4e7e4f,!0x1);if(_0x23de57[_0x33e7e7(0x34e)](_0x3f0600))throw _0x3f0600[_0x33e7e7(0x30a)];_0x249a25[_0x33e7e7(0x41c)](_0x1742a0,{..._0x50eaf9,'ranges':_0x3f0600[_0x33e7e7(0x1c8)][_0x33e7e7(0x39d)][_0x33e7e7(0x242)]});}queueMicrotask(()=>{const _0x4314a8=_0x33e7e7;this['_cursorInfo$'][_0x4314a8(0x26d)](_0x249a25);});})));}[_0xa0f417(0x24f)](_0x511c77){const _0x21d633=_0xa0f417;var _0x49300f,_0x281615;const {memberID:_0x10e5c4,selection:_0x1ab9b8}=_0x511c77[_0x21d633(0x23f)],_0x5734b5=_0xdf34f7(_0x1ab9b8),_0x2be659=(_0x281615=(_0x49300f=this[_0x21d633(0x2d7)][_0x21d633(0x443)](this[_0x21d633(0x2ea)],_0x10e5c4))==null?void 0x0:_0x49300f[_0x21d633(0x34d)])!=null?_0x281615:_0x21d633(0x35a),_0x4afd2a={'color':this['_colorAssignService'][_0x21d633(0x280)](_0x10e5c4),'name':_0x2be659,'ranges':_0x5734b5},_0x470e17=this['cursorInfo'];_0x470e17[_0x21d633(0x41c)](_0x10e5c4,_0x4afd2a),this['_cursorInfo$'][_0x21d633(0x26d)](_0x470e17);}[_0xa0f417(0x3da)](_0x473f48){const _0x267b10=_0xa0f417,{memberID:_0x34f460}=_0x473f48[_0x267b10(0x23f)],_0x31879f=this['cursorInfo'];_0x31879f['delete'](_0x34f460),this['_cursorInfo$'][_0x267b10(0x26d)](_0x31879f);}['_toggleOnline'](){const _0x5a88e2=_0xa0f417;var _0xb5795d;if(this[_0x5a88e2(0x219)]=!0x0,((_0xb5795d=this['_univerInstanceService'][_0x5a88e2(0x22b)]())==null?void 0x0:_0xb5795d[_0x5a88e2(0x3d3)]())!==this[_0x5a88e2(0x2ea)])return;const _0x5d6449=this[_0x5a88e2(0x3d5)][_0x5a88e2(0x22f)](_0x4f248[_0x5a88e2(0x45b)])[_0x5a88e2(0x44e)]();Array[_0x5a88e2(0x2fd)](_0x5d6449)&&_0x5d6449['length']>0x0&&this['_updateLocalCursor'](_0x5d6449);}[_0xa0f417(0x35f)](){this['_online']=!0x1;}};_0x5aa614=_0x36c265([_0x58dbb3(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0x58dbb3(0x3,_0x3071e3[_0xa0f417(0x21f)](_0x379fb3)),_0x58dbb3(0x4,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed['MemberService'])),_0x58dbb3(0x5,_0x3071e3[_0xa0f417(0x21f)](_0x5c3119)),_0x58dbb3(0x6,_0x23de57['ITransformService']),_0x58dbb3(0x7,_0x3071e3['IUniverInstanceService']),_0x58dbb3(0x8,_0x3071e3[_0xa0f417(0x339)])],_0x5aa614);var _0x1565b7=Object[_0xa0f417(0x33f)],_0x465319=(_0x1fbd5b,_0x3155f5,_0x4f5e37,_0x47e12e)=>{for(var _0x1879ae=_0x47e12e>0x1?void 0x0:_0x47e12e?_0x1565b7(_0x3155f5,_0x4f5e37):_0x3155f5,_0xd6e0ab=_0x1fbd5b['length']-0x1,_0x44a8a0;_0xd6e0ab>=0x0;_0xd6e0ab--)(_0x44a8a0=_0x1fbd5b[_0xd6e0ab])&&(_0x1879ae=_0x44a8a0(_0x1879ae)||_0x1879ae);return _0x1879ae;},_0x3e94f5=(_0x1c72bc,_0x5714a2)=>(_0x468de2,_0x4700af)=>_0x5714a2(_0x468de2,_0x4700af,_0x1c72bc);const _0x5ac8c5=0x12c,_0x52f482=0x64,_0xebcf07=()=>{let _0x22d9e3=[],_0x4c467f=!0x1;return _0x3cff3c=>{const _0x247544=_0x21aa;_0x22d9e3[_0x247544(0x1d3)](_0x3cff3c),_0x4c467f||(_0x4c467f=!0x0,setTimeout(()=>{_0x22d9e3['forEach'](_0x4a1afd=>_0x4a1afd()),_0x22d9e3=[],_0x4c467f=!0x1;}));};};let _0x326425=class extends _0x3071e3[_0xa0f417(0x38b)]{constructor(_0x232549,_0x46827a,_0x25aa7e,_0x10ac6a,_0x8f7c6a,_0x54caca,_0x2c6851,_0x270ae4){const _0x5bf4be=_0xa0f417;super(),_0x4f1800(this,_0x5bf4be(0x219),!0x1),_0x4f1800(this,_0x5bf4be(0x3e7),!0x1),_0x4f1800(this,'_cursorInfo$',new _0x4dfa7e[(_0x5bf4be(0x309))](new Map())),_0x4f1800(this,'cursorInfo$',this['_cursorInfo$'][_0x5bf4be(0x25a)]()),_0x4f1800(this,'_roomMembers$',new _0x4dfa7e[(_0x5bf4be(0x309))]([])),_0x4f1800(this,'roomMembers$',this[_0x5bf4be(0x3ce)][_0x5bf4be(0x1f3)](_0x4dfa7e[_0x5bf4be(0x22e)](_0x5ac8c5))),_0x4f1800(this,_0x5bf4be(0x312),_0x3071e3[_0x5bf4be(0x47c)]((_0x4fedff,_0xca4a6a)=>{const _0xab1c24=_0x5bf4be,_0x5f0931={'eventID':_0x23de57[_0xab1c24(0x2bd)][_0xab1c24(0x418)],'data':{'unitID':this['unitID'],'memberID':this[_0xab1c24(0x350)][_0xab1c24(0x206)](),'selection':_0x283787[_0xab1c24(0x235)](_0x4fedff,_0xca4a6a[_0xab1c24(0x457)])}};this[_0xab1c24(0x350)][_0xab1c24(0x297)](_0x5f0931,this['unitID']);},_0x52f482)),(this['unitID']=_0x232549,this['_session']=_0x46827a,this[_0x5bf4be(0x3d5)]=_0x25aa7e,this[_0x5bf4be(0x491)]=_0x10ac6a,this[_0x5bf4be(0x2d7)]=_0x8f7c6a,this[_0x5bf4be(0x36b)]=_0x54caca,this[_0x5bf4be(0x278)]=_0x2c6851,this['_refRangeService']=_0x270ae4);}get[_0xa0f417(0x1f2)](){const _0x51ad94=_0xa0f417;return this[_0x51ad94(0x1bb)][_0x51ad94(0x2d0)]();}get[_0xa0f417(0x46f)](){const _0x1fbe1=_0xa0f417;return this['_roomMembers$'][_0x1fbe1(0x2d0)]();}[_0xa0f417(0x3ef)](){const _0x2988d1=_0xa0f417;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x2988d1(0x1bb)][_0x2988d1(0x480)](),this[_0x2988d1(0x3ce)]['next']([]),this[_0x2988d1(0x3ce)][_0x2988d1(0x480)]();}[_0xa0f417(0x416)](){const _0x30a0f3=_0xa0f417;this[_0x30a0f3(0x3e7)]||(this[_0x30a0f3(0x3e7)]=!0x0,this[_0x30a0f3(0x350)][_0x30a0f3(0x22a)]['pipe'](_0x4dfa7e[_0x30a0f3(0x1ab)](this[_0x30a0f3(0x382)]))[_0x30a0f3(0x270)](_0x4051a3=>{const _0xc6208=_0x30a0f3;_0x4051a3===_0x47c5ed[_0xc6208(0x301)][_0xc6208(0x243)]?this[_0xc6208(0x31f)]():this['_toggleOffline']();}),this[_0x30a0f3(0x350)][_0x30a0f3(0x298)]['pipe'](_0x4dfa7e[_0x30a0f3(0x1ab)](this[_0x30a0f3(0x382)]))[_0x30a0f3(0x270)](_0x3ed102=>{const _0x24b05c=_0x30a0f3,_0x57d7bf=_0x3ed102['eventID'];_0x57d7bf===_0x23de57[_0x24b05c(0x2bd)][_0x24b05c(0x418)]&&this['_onCursorUpdate'](_0x3ed102),_0x57d7bf===_0x23de57[_0x24b05c(0x2bd)][_0x24b05c(0x3fe)]&&this[_0x24b05c(0x3da)](_0x3ed102);}),this[_0x30a0f3(0x2e5)](),this[_0x30a0f3(0x451)](this[_0x30a0f3(0x278)][_0x30a0f3(0x1a8)](_0x5f3265=>{const _0x20a991=_0x30a0f3;if(this[_0x20a991(0x219)]&&_0x5f3265['id']===_0x4ccc17[_0x20a991(0x458)]['id']&&_0x5f3265[_0x20a991(0x39d)][_0x20a991(0x306)]===this['unitID']){const _0x18f88e=_0x5f3265[_0x20a991(0x39d)];this[_0x20a991(0x312)](_0x18f88e['subUnitId'],_0x18f88e[_0x20a991(0x1b4)][0x0]);}})));}['_onCursorUpdate'](_0xcfcee1){const _0x1c1876=_0xa0f417;var _0xb15de6,_0x5583bd;const {memberID:_0x41f5f1,selection:_0x1b3a86}=_0xcfcee1[_0x1c1876(0x23f)],{sheetName:_0x2048d4,range:_0x130e13}=_0x283787[_0x1c1876(0x1f7)](_0x1b3a86),_0x33f3e5={'name':(_0x5583bd=(_0xb15de6=this[_0x1c1876(0x2d7)][_0x1c1876(0x443)](this[_0x1c1876(0x2ea)],_0x41f5f1))==null?void 0x0:_0xb15de6[_0x1c1876(0x34d)])!=null?_0x5583bd:'Unknown\x20user','range':this[_0x1c1876(0x3e5)](_0x2048d4,_0x130e13),'sheetID':_0x2048d4,'color':this[_0x1c1876(0x491)][_0x1c1876(0x280)](_0x41f5f1),'selection':_0x1b3a86},_0x172bdc=this['cursorInfo'];_0x172bdc[_0x1c1876(0x41c)](_0x41f5f1,_0x33f3e5),this['_cursorInfo$'][_0x1c1876(0x26d)](_0x172bdc);}[_0xa0f417(0x3da)](_0x4a1340){const _0x49643b=_0xa0f417,{memberID:_0x2240e5}=_0x4a1340['data'],_0x11f005=this[_0x49643b(0x1f2)];_0x11f005[_0x49643b(0x1fb)](_0x2240e5),this[_0x49643b(0x1bb)][_0x49643b(0x26d)](_0x11f005);}[_0xa0f417(0x3e5)](_0x3047ca,_0x30b8d5){const _0x32b608=_0xa0f417;var _0x2bd717,_0x2d17ce;const _0x2cf30c=(_0x2d17ce=(_0x2bd717=this[_0x32b608(0x36b)][_0x32b608(0x3fa)](this[_0x32b608(0x2ea)]))==null?void 0x0:_0x2bd717[_0x32b608(0x3eb)](_0x3047ca))==null?void 0x0:_0x2d17ce[_0x32b608(0x1b0)]();return(_0x2cf30c==null?void 0x0:_0x2cf30c[_0x32b608(0x1eb)](_0x3515e0=>_0x3071e3[_0x32b608(0x3c2)][_0x32b608(0x304)](_0x3515e0,_0x30b8d5)))||_0x30b8d5;}[_0xa0f417(0x2e5)](){const _0x5e1e4c=_0xa0f417,_0x3d867a=new _0x3071e3[(_0x5e1e4c(0x2d3))](),_0x346a35=_0xebcf07(),_0x18c39b=()=>{const _0x392748=_0x5e1e4c;_0x3d867a[_0x392748(0x3ef)]();const _0x393ae4=(_0x44dffb,_0xbc680,_0x461fd2,_0x309185)=>{const _0x2edee4=_0x392748;let _0x28dbc0=[];switch(_0x44dffb['id']){case _0x4ccc17[_0x2edee4(0x44a)][_0x2edee4(0x417)]:{_0x28dbc0=_0x4ccc17[_0x2edee4(0x221)](_0x44dffb,_0x309185);break;}case _0x4ccc17[_0x2edee4(0x44a)][_0x2edee4(0x371)]:{_0x28dbc0=_0x4ccc17[_0x2edee4(0x3ec)](_0x44dffb,_0x309185);break;}case _0x4ccc17[_0x2edee4(0x44a)]['InsertColCommandId']:{_0x28dbc0=_0x4ccc17[_0x2edee4(0x388)](_0x44dffb,_0x309185);break;}case _0x4ccc17['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x28dbc0=_0x4ccc17['handleInsertRangeMoveDown'](_0x44dffb,_0x309185);break;}case _0x4ccc17['EffectRefRangId'][_0x2edee4(0x33a)]:{_0x28dbc0=_0x4ccc17[_0x2edee4(0x387)](_0x44dffb,_0x309185);break;}case _0x4ccc17[_0x2edee4(0x44a)][_0x2edee4(0x30c)]:{_0x28dbc0=_0x4ccc17[_0x2edee4(0x290)](_0x44dffb,_0x309185);break;}case _0x4ccc17[_0x2edee4(0x44a)][_0x2edee4(0x2e0)]:{_0x28dbc0=_0x4ccc17['handleMoveRange'](_0x44dffb,_0x309185);break;}case _0x4ccc17['EffectRefRangId'][_0x2edee4(0x226)]:{_0x28dbc0=_0x4ccc17['handleIRemoveCol'](_0x44dffb,_0x309185);break;}case _0x4ccc17[_0x2edee4(0x44a)]['RemoveRowCommandId']:{_0x28dbc0=_0x4ccc17['handleIRemoveRow'](_0x44dffb,_0x309185);break;}}const _0x3145e6=_0x4ccc17[_0x2edee4(0x216)](_0x28dbc0,_0x309185),_0x3ab7a0=this[_0x2edee4(0x1f2)][_0x2edee4(0x22f)](_0xbc680);if(_0x3ab7a0&&_0x3145e6){const _0x21da7c={..._0x3ab7a0,'range':_0x3145e6};this['cursorInfo']['set'](_0xbc680,_0x21da7c),_0x346a35(()=>{const _0x4b08d2=_0x2edee4,_0x28a368=this[_0x4b08d2(0x24e)][_0x4b08d2(0x217)](_0x3145e6,_0x58eae7=>(_0x28a368[_0x4b08d2(0x3ef)](),_0x393ae4(_0x58eae7,_0xbc680,_0x461fd2,_0x3145e6)));_0x3d867a[_0x4b08d2(0x3b1)](_0x28a368);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x392748(0x1da)]((_0x53c805,_0x7ac032)=>{const _0x497d7e=_0x392748,{range:_0x54bc62,sheetID:_0x50009d}=_0x53c805,_0x8cc032=this[_0x497d7e(0x24e)][_0x497d7e(0x217)](_0x54bc62,_0xbb496=>(_0x8cc032[_0x497d7e(0x3ef)](),_0x393ae4(_0xbb496,_0x7ac032,_0x50009d,_0x54bc62)));_0x3d867a[_0x497d7e(0x3b1)](_0x8cc032);});};this['disposeWithMe'](_0x3071e3[_0x5e1e4c(0x1ef)](this[_0x5e1e4c(0x1bb)][_0x5e1e4c(0x270)](()=>{_0x18c39b();})));}[_0xa0f417(0x31f)](){const _0x2c23ec=_0xa0f417;var _0x5057e6,_0x50d7ac;if(this[_0x2c23ec(0x219)]=!0x0,((_0x5057e6=this[_0x2c23ec(0x36b)][_0x2c23ec(0x22b)]())==null?void 0x0:_0x5057e6['getUnitId']())!==this['unitID'])return;const _0x4a70a5=(_0x50d7ac=this['_injector'][_0x2c23ec(0x22f)](_0x4ccc17[_0x2c23ec(0x37c)])[_0x2c23ec(0x2c1)]())==null?void 0x0:_0x50d7ac[0x0],_0x4be000=this[_0x2c23ec(0x36b)][_0x2c23ec(0x1ed)](_0x3071e3['UniverInstanceType'][_0x2c23ec(0x1f6)])[_0x2c23ec(0x330)]();_0x4a70a5&&_0x4be000&&this[_0x2c23ec(0x312)](_0x4be000[_0x2c23ec(0x1fd)](),_0x4a70a5);}[_0xa0f417(0x35f)](){const _0x4a5afd=_0xa0f417;this[_0x4a5afd(0x219)]=!0x1;}};_0x326425=_0x465319([_0x3e94f5(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0x3e94f5(0x3,_0x3071e3[_0xa0f417(0x21f)](_0x379fb3)),_0x3e94f5(0x4,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed[_0xa0f417(0x2eb)])),_0x3e94f5(0x5,_0x3071e3[_0xa0f417(0x24a)]),_0x3e94f5(0x6,_0x3071e3[_0xa0f417(0x339)]),_0x3e94f5(0x7,_0x3071e3['Inject'](_0x4ccc17[_0xa0f417(0x2d1)]))],_0x326425);var _0x273a72=Object[_0xa0f417(0x33f)],_0x30e985=(_0x386689,_0x25cb1a,_0x165525,_0x293cb9)=>{for(var _0x49118c=_0x293cb9>0x1?void 0x0:_0x293cb9?_0x273a72(_0x25cb1a,_0x165525):_0x25cb1a,_0x34f9a4=_0x386689['length']-0x1,_0x40c59e;_0x34f9a4>=0x0;_0x34f9a4--)(_0x40c59e=_0x386689[_0x34f9a4])&&(_0x49118c=_0x40c59e(_0x49118c)||_0x49118c);return _0x49118c;},_0x34b4be=(_0x30109b,_0x47c876)=>(_0x57c51f,_0x227e20)=>_0x47c876(_0x57c51f,_0x227e20,_0x30109b);let _0xa13c2f=class extends _0x3071e3[_0xa0f417(0x38b)]{constructor(_0x2a227d,_0xef8558,_0x54a9ec){const _0x23a8bd=_0xa0f417;super(),_0x4f1800(this,_0x23a8bd(0x317),new Map()),_0x4f1800(this,'_entityInit$',new _0x4dfa7e[(_0x23a8bd(0x34b))]()),(this[_0x23a8bd(0x36b)]=_0x2a227d,this[_0x23a8bd(0x3d5)]=_0xef8558,this['_collabSessionService']=_0x54a9ec,this[_0x23a8bd(0x3e7)]());}['dispose'](){const _0x2f472a=_0xa0f417;super[_0x2f472a(0x3ef)](),this[_0x2f472a(0x31d)][_0x2f472a(0x480)](),this[_0x2f472a(0x317)][_0x2f472a(0x1da)](_0xcf3559=>_0xcf3559['dispose']());}[_0xa0f417(0x33b)](_0x481387){const _0x22ccea=_0xa0f417;return this[_0x22ccea(0x317)]['has'](_0x481387)?this[_0x22ccea(0x317)][_0x22ccea(0x22f)](_0x481387)[_0x22ccea(0x1ce)]:this[_0x22ccea(0x31d)]['pipe'](_0x4dfa7e[_0x22ccea(0x323)](_0x4b2980=>_0x4b2980[_0x22ccea(0x2ea)]===_0x481387),_0x4dfa7e[_0x22ccea(0x2cf)](_0x537077=>_0x537077['cursorInfo$']));}['_init'](){const _0x5cc888=_0xa0f417;this[_0x5cc888(0x36b)][_0x5cc888(0x32a)](_0x3071e3[_0x5cc888(0x379)]['UNIVER_SHEET'])[_0x5cc888(0x1f3)](_0x4dfa7e[_0x5cc888(0x1ab)](this[_0x5cc888(0x382)]))[_0x5cc888(0x270)](async _0x5536f6=>{const _0x2b9fce=_0x5cc888,_0x234efc=_0x5536f6[_0x2b9fce(0x3d3)](),_0x12b170=await this[_0x2b9fce(0x2e7)](_0x234efc);this[_0x2b9fce(0x31d)]['next'](_0x12b170),this[_0x2b9fce(0x317)]['set'](_0x234efc,_0x12b170);}),this[_0x5cc888(0x36b)][_0x5cc888(0x32a)](_0x3071e3['UniverInstanceType'][_0x5cc888(0x267)])[_0x5cc888(0x1f3)](_0x4dfa7e[_0x5cc888(0x1ab)](this[_0x5cc888(0x382)]))['pipe'](_0x4dfa7e[_0x5cc888(0x323)](_0x3647fa=>!_0x3647fa[_0x5cc888(0x3d3)]()[_0x5cc888(0x33c)]('__')))['subscribe'](async _0x20da98=>{const _0x5250db=_0x5cc888,_0x48eb05=_0x20da98[_0x5250db(0x3d3)](),_0x5ba1ba=await this[_0x5250db(0x1ea)](_0x48eb05);this[_0x5250db(0x31d)][_0x5250db(0x26d)](_0x5ba1ba),this[_0x5250db(0x317)][_0x5250db(0x41c)](_0x48eb05,_0x5ba1ba);}),_0x4dfa7e['merge'](this['_univerInstanceService'][_0x5cc888(0x468)](_0x3071e3[_0x5cc888(0x379)][_0x5cc888(0x267)]),this[_0x5cc888(0x36b)][_0x5cc888(0x468)](_0x3071e3['UniverInstanceType'][_0x5cc888(0x1f6)]))[_0x5cc888(0x1f3)](_0x4dfa7e[_0x5cc888(0x1ab)](this[_0x5cc888(0x382)]))[_0x5cc888(0x270)](_0x3aa9fc=>{const _0x437f4b=_0x5cc888,_0x529a5b=_0x3aa9fc[_0x437f4b(0x3d3)](),_0x1d5b2e=this['_entities'][_0x437f4b(0x22f)](_0x529a5b);_0x1d5b2e&&(_0x1d5b2e[_0x437f4b(0x3ef)](),this[_0x437f4b(0x317)][_0x437f4b(0x1fb)](_0x529a5b));});}async[_0xa0f417(0x2e7)](_0x4b6694){const _0x3cfa9a=_0xa0f417,_0x1c4844=await this[_0x3cfa9a(0x36c)][_0x3cfa9a(0x3ca)](_0x4b6694),_0x5a4fc2=this[_0x3cfa9a(0x3d5)][_0x3cfa9a(0x459)](_0x326425,_0x4b6694,_0x1c4844);return _0x5a4fc2['init'](),_0x5a4fc2;}async[_0xa0f417(0x1ea)](_0x48a6fe){const _0x20489c=_0xa0f417,_0x24fddb=await this['_collabSessionService'][_0x20489c(0x3ca)](_0x48a6fe),_0x417807=this['_injector']['createInstance'](_0x5aa614,_0x48a6fe,_0x24fddb);return _0x417807[_0x20489c(0x416)](),_0x417807;}};_0xa13c2f=_0x30e985([_0x34b4be(0x0,_0x3071e3[_0xa0f417(0x24a)]),_0x34b4be(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3['Injector'])),_0x34b4be(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed['CollaborationSessionService']))],_0xa13c2f);const _0x57f47f=0x14,_0x3e96e5=0xc8,_0x2943fa=0x4,_0x1f1219=0x5;function _0x119991(_0x4927fd,_0x27de24){const _0x534cfc=_0xa0f417;let {radius:_0x2802f4,width:_0x669326,height:_0x15be06}=_0x27de24;_0x2802f4=_0x2802f4!=null?_0x2802f4:0x0,_0x669326=_0x669326!=null?_0x669326:0x1e,_0x15be06=_0x15be06!=null?_0x15be06:0x1e;let _0x374ccb=0x0,_0x2889c3=0x0,_0x32c8ea=0x0;_0x374ccb=_0x2889c3=_0x32c8ea=Math['min'](_0x2802f4,_0x669326/0x2,_0x15be06/0x2),_0x4927fd['beginPath'](),_0x4927fd[_0x534cfc(0x1bd)](_0x374ccb,0x0),_0x4927fd['lineTo'](_0x669326-_0x2889c3,0x0),_0x4927fd[_0x534cfc(0x1de)](_0x669326-_0x2889c3,_0x2889c3,_0x2889c3,Math['PI']*0x3/0x2,0x0,!0x1),_0x4927fd[_0x534cfc(0x3cb)](_0x669326,_0x15be06-_0x32c8ea),_0x4927fd[_0x534cfc(0x1de)](_0x669326-_0x32c8ea,_0x15be06-_0x32c8ea,_0x32c8ea,0x0,Math['PI']/0x2,!0x1),_0x4927fd['lineTo'](0x0,_0x15be06),_0x4927fd[_0x534cfc(0x3cb)](0x0,_0x374ccb),_0x4927fd[_0x534cfc(0x1de)](_0x374ccb,_0x374ccb,_0x374ccb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4927fd['closePath'](),_0x27de24[_0x534cfc(0x422)]&&(_0x4927fd[_0x534cfc(0x1e8)](),_0x4927fd[_0x534cfc(0x28b)]=_0x27de24['fill'],_0x27de24[_0x534cfc(0x438)]===_0x534cfc(0x1d2)?_0x4927fd['fill']('evenodd'):_0x4927fd['fill'](),_0x4927fd[_0x534cfc(0x2d4)]());}class _0x47b047 extends _0x449944['Shape']{constructor(_0x55874a,_0x404806){const _0x2fed6e=_0xa0f417;super(_0x55874a,_0x404806),_0x4f1800(this,_0x2fed6e(0x456)),_0x4f1800(this,_0x2fed6e(0x1f1)),(this[_0x2fed6e(0x456)]=_0x404806==null?void 0x0:_0x404806[_0x2fed6e(0x456)],this[_0x2fed6e(0x1f1)]=_0x404806==null?void 0x0:_0x404806[_0x2fed6e(0x1f1)]);}static[_0xa0f417(0x45d)](_0x4de3ae,_0x1a21ef){const _0x1534aa=_0xa0f417,{text:_0x5cabfe,color:_0x45fe8d}=_0x1a21ef;_0x4de3ae[_0x1534aa(0x1e8)](),_0x4de3ae[_0x1534aa(0x362)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x7a8b8c=_0x4de3ae[_0x1534aa(0x284)](_0x5cabfe)[_0x1534aa(0x213)],_0x49e9f4=Math[_0x1534aa(0x31e)](_0x7a8b8c+0x2*_0x2943fa,_0x3e96e5);_0x119991(_0x4de3ae,{'height':_0x57f47f,'radius':0x4,'width':_0x49e9f4,'fill':_0x45fe8d}),_0x4de3ae[_0x1534aa(0x28b)]=_0x1534aa(0x395);const _0x35bb24=_0x2943fa,_0x3abe29=_0x57f47f-_0x1f1219,_0x177dd8=_0x3e96e5-0x2*_0x2943fa;if(_0x7a8b8c>_0x177dd8){let _0x1a5812='',_0x2c7243=0x0;for(const _0x5d8eca of _0x5cabfe){const _0x39568b=_0x4de3ae[_0x1534aa(0x284)](_0x5d8eca)[_0x1534aa(0x213)];if(_0x2c7243+_0x39568b<=_0x177dd8-_0x4de3ae[_0x1534aa(0x284)](_0x1534aa(0x2d5))['width'])_0x1a5812+=_0x5d8eca,_0x2c7243+=_0x39568b;else{_0x1a5812+='...';break;}}_0x4de3ae[_0x1534aa(0x26f)](_0x1a5812,_0x35bb24,_0x3abe29);}else _0x4de3ae[_0x1534aa(0x26f)](_0x5cabfe,_0x35bb24,_0x3abe29);_0x4de3ae['restore']();}[_0xa0f417(0x3f1)](_0x5d5942){_0x47b047['drawWith'](_0x5d5942,this);}}const _0x331a61='collab-text-anchor-',_0x2ee432='collab-text-range-',_0x45db05=_0xa0f417(0x2c2),_0x20aa83=0x6,_0x5e1cb4=1.5,_0x44ee46=0x4,_0x29d70b=1.5,_0x562dbb=_0xa0f417(0x49b);class _0x358a2d{constructor(_0x55714b,_0x5e4a4c,_0x2e75d1,_0x241954){const _0x4e0efa=_0xa0f417;_0x4f1800(this,_0x4e0efa(0x1c3),[]),_0x4f1800(this,_0x4e0efa(0x470),null),_0x4f1800(this,_0x4e0efa(0x2bf),null),_0x4f1800(this,_0x4e0efa(0x488),null),_0x4f1800(this,_0x4e0efa(0x211),null),_0x4f1800(this,_0x4e0efa(0x3b0),null),(this[_0x4e0efa(0x3d2)]=_0x55714b,this[_0x4e0efa(0x30b)]=_0x5e4a4c,this[_0x4e0efa(0x414)]=_0x2e75d1,this[_0x4e0efa(0x40d)]=_0x241954,this['_render']());}set['_hover'](_0x415bdd){const _0x54fa3e=_0xa0f417;_0x415bdd?(this[_0x54fa3e(0x488)]&&this[_0x54fa3e(0x488)][_0x54fa3e(0x378)](),this[_0x54fa3e(0x2bf)]&&this['_textBubble']['show']()):(this[_0x54fa3e(0x488)]&&this['_anchorDot']['show'](),this[_0x54fa3e(0x2bf)]&&this[_0x54fa3e(0x2bf)]['hide']());}['dispose'](){const _0x30d1a8=_0xa0f417;for(const _0x764cd3 of this[_0x30d1a8(0x1c3)])_0x764cd3['dispose']();this[_0x30d1a8(0x2bf)]&&this[_0x30d1a8(0x2bf)][_0x30d1a8(0x3ef)](),this[_0x30d1a8(0x488)]&&this['_anchorDot'][_0x30d1a8(0x3ef)](),this[_0x30d1a8(0x470)]&&this[_0x30d1a8(0x470)]['dispose'](),this[_0x30d1a8(0x3b0)]&&this[_0x30d1a8(0x3b0)]();}[_0xa0f417(0x493)](){const _0x306f20=_0xa0f417;var _0x329695;const {_docSkeleton:_0xeafe59,_document:_0x1457a5}=this,{color:_0x150737,name:_0x258dca,ranges:_0x51d70d}=this[_0x306f20(0x3d2)],_0x555095=_0x1457a5[_0x306f20(0x411)](),{docsLeft:_0x13a2bb,docsTop:_0x27a2e5}=_0x555095,_0x130aba=new _0x39debf[(_0x306f20(0x1dc))](_0x555095,_0xeafe59);for(const {startOffset:_0x380f5c,endOffset:_0x3f3b5a,rangeType:_0xe45ed4,segmentId:_0x464d98,segmentPage:_0x487c15,collapsed:_0x4426bd,isActive:_0x4d13be}of _0x51d70d){const _0x3c05f0=_0xeafe59['findNodePositionByCharIndex'](_0x380f5c,!0x0,_0x464d98,_0x487c15);let _0x4a50f6=_0xeafe59[_0x306f20(0x240)](_0x3f3b5a,!0x0,_0x464d98,_0x487c15);if(_0x4a50f6==null&&(_0x4a50f6=_0xeafe59[_0x306f20(0x240)](_0x3f3b5a-0x1,!0x1,_0x464d98,_0x487c15)),_0x4d13be){const {contentBoxPointGroup:_0x37242b}=_0x130aba[_0x306f20(0x3a7)](_0x4a50f6,_0x4a50f6);if(_0x37242b[_0x306f20(0x2be)]===0x0)continue;this[_0x306f20(0x279)](_0x150737,_0x37242b,_0x13a2bb,_0x27a2e5,_0x258dca),this[_0x306f20(0x3b0)]=this[_0x306f20(0x21b)]();}if(_0x3c05f0&&_0x4a50f6){if(_0xe45ed4===_0x3071e3[_0x306f20(0x337)][_0x306f20(0x2ef)]){const _0x4108e0=new _0x39debf[(_0x306f20(0x3c9))](_0x555095,_0xeafe59),{pointGroup:_0x393b7f}=(_0x329695=_0x4108e0[_0x306f20(0x3a7)](_0x3c05f0,_0x4a50f6))!=null?_0x329695:{};if(_0x393b7f==null||_0x393b7f[_0x306f20(0x2be)]===0x0)continue;this[_0x306f20(0x333)](_0x150737,_0x393b7f,_0x13a2bb,_0x27a2e5);}else{if(!_0x4426bd){const {borderBoxPointGroup:_0x589313}=_0x130aba[_0x306f20(0x3a7)](_0x3c05f0,_0x4a50f6);if(_0x589313['length']===0x0)continue;this[_0x306f20(0x3f8)](_0x150737,_0x589313,_0x13a2bb,_0x27a2e5);}}}}}['_drawAnchor'](_0x3e6c30,_0x433eea,_0x33cd1f,_0x4ec105,_0x5e7ede){const _0x4141af=_0xa0f417,_0x4f8c58=this[_0x4141af(0x393)](_0x433eea),{left:_0x3d6c7f,top:_0x27f46a,height:_0x5bbd0c}=_0x4f8c58,_0x35cb98=this[_0x4141af(0x373)](),_0x30cba2=_0x29d70b/_0x35cb98,_0x10a32c=new _0x449944['Rect'](_0x331a61+_0x3071e3['generateRandomId'](_0x20aa83),{'left':_0x3d6c7f+_0x33cd1f-_0x30cba2,'top':_0x27f46a+_0x4ec105,'height':_0x5bbd0c,'width':_0x5e1cb4,'fill':_0x3e6c30||_0x449944['getColor'](_0x3071e3[_0x4141af(0x314)][_0x4141af(0x277)],0x0),'strokeWidth':_0x30cba2,'stroke':_0x562dbb,'evented':!0x0});this[_0x4141af(0x470)]=_0x10a32c,this[_0x4141af(0x30b)][_0x4141af(0x42c)](_0x10a32c,_0x39debf['TEXT_RANGE_LAYER_INDEX']);const _0x452f4e=new _0x449944[(_0x4141af(0x232))](_0x331a61+_0x3071e3[_0x4141af(0x3f5)](_0x20aa83),{'left':_0x3d6c7f+_0x33cd1f-_0x30cba2,'top':_0x27f46a+_0x4ec105-_0x44ee46/0x2,'height':_0x44ee46,'width':_0x44ee46,'fill':_0x3e6c30||_0x449944[_0x4141af(0x478)](_0x3071e3[_0x4141af(0x314)][_0x4141af(0x277)],0x0),'strokeWidth':0x0,'stroke':_0x3e6c30||_0x449944[_0x4141af(0x478)](_0x3071e3[_0x4141af(0x314)][_0x4141af(0x277)],0x0),'evented':!0x1});this[_0x4141af(0x488)]=_0x452f4e,this[_0x4141af(0x30b)][_0x4141af(0x42c)](_0x452f4e,_0x39debf[_0x4141af(0x383)]);const _0x1a922b=new _0x47b047(_0x331a61+_0x3071e3['generateRandomId'](_0x20aa83),{'left':_0x3d6c7f+_0x33cd1f-_0x30cba2,'top':_0x27f46a+_0x4ec105-_0x57f47f,'text':_0x5e7ede,'color':_0x3e6c30});this[_0x4141af(0x2bf)]=_0x1a922b,this[_0x4141af(0x30b)][_0x4141af(0x42c)](_0x1a922b,_0x39debf[_0x4141af(0x383)]),this[_0x4141af(0x2cc)]=!0x1;}[_0xa0f417(0x21b)](){const _0x2325a8=_0xa0f417,_0x4e0bdf=this[_0x2325a8(0x470)][_0x2325a8(0x421)]['subscribeEvent'](()=>{const _0x2a22a9=_0x2325a8;this[_0x2a22a9(0x2cc)]=!0x0;}),_0x425772=this[_0x2325a8(0x470)][_0x2325a8(0x39c)][_0x2325a8(0x484)](()=>{const _0x2b7cf3=_0x2325a8;this[_0x2b7cf3(0x211)]&&clearTimeout(this[_0x2b7cf3(0x211)]),this[_0x2b7cf3(0x211)]=setTimeout(()=>{const _0x47bfdb=_0x2b7cf3;this[_0x47bfdb(0x2cc)]=!0x1;},0x7d0);});return()=>{_0x4e0bdf['unsubscribe'](),_0x425772['unsubscribe']();};}[_0xa0f417(0x3f8)](_0x501a1c,_0x2bb82d,_0x12fa48,_0xac508c){const _0x339b3e=_0xa0f417,_0x425f11=new _0x3071e3[(_0x339b3e(0x452))](_0x501a1c)[_0x339b3e(0x2e9)](0.2)[_0x339b3e(0x2fb)](),_0x543a28=new _0x449944['RegularPolygon'](_0x2ee432+_0x3071e3[_0x339b3e(0x3f5)](_0x20aa83),{'pointsGroup':_0x2bb82d,'fill':_0x425f11||_0x449944['getColor'](_0x3071e3[_0x339b3e(0x314)]['black'],0.2),'left':_0x12fa48,'top':_0xac508c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x339b3e(0x1c3)][_0x339b3e(0x1d3)](_0x543a28),this[_0x339b3e(0x30b)][_0x339b3e(0x42c)](_0x543a28,_0x39debf['TEXT_RANGE_LAYER_INDEX']);}[_0xa0f417(0x333)](_0x7d9f23,_0x6075ed,_0x3f7d74,_0x52603b){const _0x27b5f0=_0xa0f417,_0x2d0e7c=new _0x3071e3['ColorKit'](_0x7d9f23)[_0x27b5f0(0x2e9)](0.2)[_0x27b5f0(0x2fb)](),_0x116344=new _0x449944['RegularPolygon'](_0x45db05+_0x3071e3[_0x27b5f0(0x3f5)](_0x20aa83),{'pointsGroup':_0x6075ed,'fill':_0x2d0e7c||_0x449944[_0x27b5f0(0x478)](_0x3071e3[_0x27b5f0(0x314)][_0x27b5f0(0x277)],0.2),'left':_0x3f7d74,'top':_0x52603b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x27b5f0(0x1c3)][_0x27b5f0(0x1d3)](_0x116344),this[_0x27b5f0(0x30b)][_0x27b5f0(0x42c)](_0x116344,_0x39debf[_0x27b5f0(0x383)]);}[_0xa0f417(0x393)](_0x4ee8d6){const _0x421cc0=_0x4ee8d6[0x0],_0x231c77=_0x421cc0[0x0],_0x1883f0=_0x421cc0[0x2],{x:_0x5878ed,y:_0x2b8e41}=_0x231c77,{x:_0x555096,y:_0x572ec6}=_0x1883f0;return{'left':_0x5878ed,'top':_0x2b8e41,'width':_0x555096-_0x5878ed,'height':_0x572ec6-_0x2b8e41};}[_0xa0f417(0x373)](){const _0x1f387b=_0xa0f417,{scaleX:_0xa2a5b4,scaleY:_0x4a09b3}=this[_0x1f387b(0x30b)][_0x1f387b(0x30e)]();return Math[_0x1f387b(0x3fc)](_0xa2a5b4,_0x4a09b3);}}var _0x59b663=Object[_0xa0f417(0x33f)],_0x229b7a=(_0x27da56,_0x459238,_0x65fcbd,_0x4d5ba3)=>{const _0x1dda67=_0xa0f417;for(var _0x7fd4a5=_0x4d5ba3>0x1?void 0x0:_0x4d5ba3?_0x59b663(_0x459238,_0x65fcbd):_0x459238,_0x4b52d1=_0x27da56[_0x1dda67(0x2be)]-0x1,_0x38137a;_0x4b52d1>=0x0;_0x4b52d1--)(_0x38137a=_0x27da56[_0x4b52d1])&&(_0x7fd4a5=_0x38137a(_0x7fd4a5)||_0x7fd4a5);return _0x7fd4a5;},_0x19afe5=(_0x6a45cb,_0x4a7f50)=>(_0x53e107,_0x41ebd8)=>_0x4a7f50(_0x53e107,_0x41ebd8,_0x6a45cb);let _0x45817c=class extends _0x3071e3[_0xa0f417(0x38b)]{constructor(_0x404423,_0x37f26d,_0x5ae5e5,_0x17a56a,_0x419ba3){const _0x5b5310=_0xa0f417;super(),_0x4f1800(this,_0x5b5310(0x335),[]),_0x4f1800(this,_0x5b5310(0x475),[]),(this[_0x5b5310(0x485)]=_0x404423,this[_0x5b5310(0x3b5)]=_0x37f26d,this['_collabCursorController']=_0x5ae5e5,this[_0x5b5310(0x278)]=_0x17a56a,this['_themeService']=_0x419ba3,this['_init']());}['_init'](){const _0x56e002=_0xa0f417,_0x2bd104=this[_0x56e002(0x485)]['unitId'],_0x163c47=this['_docSkeletonManagerService'];this[_0x56e002(0x451)](_0x4dfa7e['combineLatest']([this[_0x56e002(0x31b)]['getCollabCursors$'](_0x2bd104),this[_0x56e002(0x2c5)][_0x56e002(0x24c)]])[_0x56e002(0x1f3)](_0x2f0e2e[_0x56e002(0x348)](([_0x37e716,_0x16714b])=>({'skeleton':_0x163c47['getSkeleton'](),'cursors':[..._0x37e716['values']()][_0x56e002(0x21d)](_0x4ac48d=>({..._0x4ac48d,'color':this[_0x56e002(0x2c5)][_0x56e002(0x3e2)](_0x4ac48d['color'])}))})))['subscribe'](_0x2c50e2=>{const _0x326fdd=_0x56e002;if(this[_0x326fdd(0x238)](),_0x2c50e2){const {skeleton:_0x46a051,cursors:_0x54cd15}=_0x2c50e2;this['_updateCollabCursors'](_0x46a051,_0x54cd15);}})),this[_0x56e002(0x3b6)](),this[_0x56e002(0x23b)]();}[_0xa0f417(0x1f8)](_0x4174a7,_0x388d5a){const _0x35c403=_0xa0f417,{scene:_0x343430,mainComponent:_0x292934}=this[_0x35c403(0x485)],_0x4af194=_0x388d5a[_0x35c403(0x348)](_0x2ea05d=>new _0x358a2d(_0x2ea05d,_0x343430,_0x4174a7,_0x292934));this[_0x35c403(0x335)]=_0x4af194,this['_cursors']=_0x388d5a;}['_refreshCollabCursors'](){const _0x511432=_0xa0f417;this[_0x511432(0x238)]();const {scene:_0x4b6ad0,mainComponent:_0x377642}=this[_0x511432(0x485)],_0x3ab0d2=this['_docSkeletonManagerService']['getSkeleton'](),_0x125369=this[_0x511432(0x475)][_0x511432(0x348)](_0x3e5d8=>new _0x358a2d(_0x3e5d8,_0x4b6ad0,_0x3ab0d2,_0x377642));this[_0x511432(0x335)]=_0x125369;}[_0xa0f417(0x238)](){const _0x8226d8=_0xa0f417;this['_cursorShapes'][_0x8226d8(0x1da)](_0x3f1efb=>_0x3f1efb[_0x8226d8(0x3ef)]()),this['_cursorShapes']=[];}[_0xa0f417(0x23b)](){const _0x2229c8=_0xa0f417,_0x9fcea5=[_0x39debf[_0x2229c8(0x380)]['id']];this[_0x2229c8(0x451)](this[_0x2229c8(0x278)][_0x2229c8(0x1a8)](_0x534ca4=>{const _0x5a66b9=_0x2229c8;_0x9fcea5[_0x5a66b9(0x49a)](_0x534ca4['id'])&&_0x534ca4[_0x5a66b9(0x39d)][_0x5a66b9(0x306)]===this[_0x5a66b9(0x485)][_0x5a66b9(0x306)]&&this[_0x5a66b9(0x208)]();}));}[_0xa0f417(0x3b6)](){const _0x4189a0=_0xa0f417;this[_0x4189a0(0x451)](_0x3071e3['fromEventSubject'](this['_context']['engine']['onTransformChange$'])[_0x4189a0(0x1f3)](_0x2f0e2e[_0x4189a0(0x323)](_0x51ad73=>_0x51ad73['type']===_0x449944['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4189a0(0x26b)]),_0x2f0e2e[_0x4189a0(0x25e)](0x10))['subscribe'](()=>{const _0x18dc9c=_0x4189a0;this[_0x18dc9c(0x208)]();}));}};_0x45817c=_0x229b7a([_0x19afe5(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x4f248[_0xa0f417(0x209)])),_0x19afe5(0x2,_0x3071e3['Inject'](_0xa13c2f)),_0x19afe5(0x3,_0x3071e3[_0xa0f417(0x339)]),_0x19afe5(0x4,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3['ThemeService']))],_0x45817c);const _0x38addb=0x1,_0x3f76dd=1.5;class _0x1391f5 extends _0x449944['Shape']{constructor(_0x4d2467,_0x12f405){const _0x32a6db=_0xa0f417;super(_0x4d2467,_0x12f405),_0x4f1800(this,'_color'),_0x4f1800(this,_0x32a6db(0x410),!0x1),_0x4f1800(this,_0x32a6db(0x269)),_0x4f1800(this,_0x32a6db(0x2ab),''),_0x4f1800(this,_0x32a6db(0x252),'top'),_0x4f1800(this,_0x32a6db(0x38a)),(_0x12f405&&this[_0x32a6db(0x261)](_0x12f405),this['onPointerEnter$'][_0x32a6db(0x484)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x32a6db(0x39c)][_0x32a6db(0x484)](()=>this[_0x32a6db(0x261)]({'hovered':!0x1})));}[_0xa0f417(0x261)](_0x5dfb76){const _0x1ba9cf=_0xa0f417;var _0x28af11,_0x2803bf,_0x2bf7d4,_0x7a0c53,_0x1daad1,_0x2c4dca;this[_0x1ba9cf(0x1b8)]=(_0x28af11=_0x5dfb76[_0x1ba9cf(0x456)])!=null?_0x28af11:this[_0x1ba9cf(0x1b8)],this[_0x1ba9cf(0x410)]=(_0x2803bf=_0x5dfb76[_0x1ba9cf(0x3b7)])!=null?_0x2803bf:this['_hovered'],this[_0x1ba9cf(0x269)]=(_0x2bf7d4=_0x5dfb76[_0x1ba9cf(0x457)])!=null?_0x2bf7d4:this[_0x1ba9cf(0x269)],this[_0x1ba9cf(0x2ab)]=(_0x7a0c53=_0x5dfb76[_0x1ba9cf(0x34d)])!=null?_0x7a0c53:this[_0x1ba9cf(0x2ab)],this[_0x1ba9cf(0x252)]=(_0x1daad1=_0x5dfb76[_0x1ba9cf(0x214)])!=null?_0x1daad1:this[_0x1ba9cf(0x252)],this[_0x1ba9cf(0x38a)]=(_0x2c4dca=_0x5dfb76[_0x1ba9cf(0x289)])!=null?_0x2c4dca:this[_0x1ba9cf(0x38a)],this['transformByState']({'width':_0x5dfb76[_0x1ba9cf(0x213)],'height':_0x5dfb76[_0x1ba9cf(0x397)]});}['onMouseMove'](_0x3dc6cb){const _0x48815c=_0xa0f417,{row:_0x16dfe3,column:_0x134ae6}=_0x3dc6cb;if(_0x16dfe3>=this[_0x48815c(0x269)][_0x48815c(0x293)]&&_0x16dfe3<=this['_range'][_0x48815c(0x3ff)]&&_0x134ae6>=this[_0x48815c(0x269)]['startColumn']&&_0x134ae6<=this[_0x48815c(0x269)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x48815c(0x261)]({'hovered':!0x1});}[_0xa0f417(0x310)](_0x34dab5){return!0x1;}[_0xa0f417(0x3f1)](_0xb44d6f){const _0x538dc8=_0xa0f417;_0x449944[_0x538dc8(0x232)]['drawWith'](_0xb44d6f,{'width':this['width'],'height':this[_0x538dc8(0x397)],'strokeWidth':_0x3f76dd,'stroke':this[_0x538dc8(0x1b8)],'evented':!0x1,'fill':this[_0x538dc8(0x38a)]}),this[_0x538dc8(0x410)]&&(_0xb44d6f[_0x538dc8(0x1e8)](),_0xb44d6f[_0x538dc8(0x3cc)](0x1,0x0,0x0,0x1,this[_0x538dc8(0x213)],this['_labelPosition']==='bottom'?0x0:-_0x57f47f),_0x47b047['drawWith'](_0xb44d6f,{'text':this['_name'],'color':this[_0x538dc8(0x1b8)]}),_0xb44d6f[_0x538dc8(0x2d4)]());}}var _0x48dc9c=Object[_0xa0f417(0x33f)],_0x1276de=(_0x56a4dd,_0x5deaeb,_0x23dc86,_0x360eec)=>{const _0x9cf188=_0xa0f417;for(var _0x3387ae=_0x360eec>0x1?void 0x0:_0x360eec?_0x48dc9c(_0x5deaeb,_0x23dc86):_0x5deaeb,_0x81b0a7=_0x56a4dd[_0x9cf188(0x2be)]-0x1,_0x5e6940;_0x81b0a7>=0x0;_0x81b0a7--)(_0x5e6940=_0x56a4dd[_0x81b0a7])&&(_0x3387ae=_0x5e6940(_0x3387ae)||_0x3387ae);return _0x3387ae;},_0x90608e=(_0x546f32,_0x19fd0b)=>(_0x3eb861,_0x3c06c0)=>_0x19fd0b(_0x3eb861,_0x3c06c0,_0x546f32);const _0x32949c=0x1389;let _0x7c81f2=class extends _0x3071e3[_0xa0f417(0x38b)]{constructor(_0x4a95f6,_0x3a93b0,_0x175697,_0x1b51cd){const _0x13733a=_0xa0f417;super(),_0x4f1800(this,_0x13733a(0x475),new Set()),_0x4f1800(this,_0x13733a(0x46d),null),(this['_context']=_0x4a95f6,this[_0x13733a(0x2f1)]=_0x3a93b0,this[_0x13733a(0x31b)]=_0x175697,this[_0x13733a(0x2c5)]=_0x1b51cd,this['_init']());}[_0xa0f417(0x3e7)](){const _0x555746=_0xa0f417;this[_0x555746(0x2f1)][_0x555746(0x3e0)][_0x555746(0x1f3)](_0x2f0e2e['takeUntil'](this[_0x555746(0x382)]),_0x2f0e2e[_0x555746(0x2cf)](_0x184fd4=>{const _0x15e62b=_0x555746;if(_0x184fd4){const _0xc3e95f=_0x184fd4[_0x15e62b(0x1c0)];return _0x4dfa7e['combineLatest'](this['_collabCursorController'][_0x15e62b(0x33b)](this[_0x15e62b(0x485)][_0x15e62b(0x306)]),this[_0x15e62b(0x2c5)][_0x15e62b(0x24c)])[_0x15e62b(0x1f3)](_0x2f0e2e['map'](([_0x2fc9e7,_0x25835b])=>{const _0x4cb16a=new Map();return _0x2fc9e7['forEach']((_0x35665f,_0x3924e9)=>{const _0x1c6993=_0x21aa;if(_0x35665f[_0x1c6993(0x41f)]===_0xc3e95f){const _0x15b48b={..._0x35665f};_0x15b48b[_0x1c6993(0x456)]=this[_0x1c6993(0x2c5)]['getColorFromTheme'](_0x35665f[_0x1c6993(0x456)]),_0x4cb16a[_0x1c6993(0x41c)](_0x3924e9,_0x15b48b);}}),{'skeleton':_0x184fd4,'cursors':_0x4cb16a};}));}return _0x4dfa7e['of']({'skeleton':null,'cursors':new Map()});}))[_0x555746(0x270)](({skeleton:_0x46dc64,cursors:_0x580d9d})=>{const _0xecc5ee=_0x555746;this['_removeCollabCursors'](),_0x46dc64&&this[_0xecc5ee(0x1f8)](_0x46dc64,_0x580d9d);}),this[_0x555746(0x2f1)][_0x555746(0x3e0)]['subscribe'](_0x15e147=>{const _0x357a03=_0x555746;if(_0x15e147==null)return;const {skeleton:_0x5e5a53}=_0x15e147,{scene:_0x1c31a5}=this[_0x357a03(0x485)];_0x1c31a5[_0x357a03(0x3af)][_0x357a03(0x484)](_0x3071e3['debounce'](_0x3c8def=>{const _0x31dcc3=_0x357a03;var _0x50cd4f,_0x41bf02;const {offsetX:_0x262f4c,offsetY:_0x97a459}=_0x3c8def,{x:_0xdfb1db,y:_0x51e607}=_0x1c31a5[_0x31dcc3(0x405)](_0x449944[_0x31dcc3(0x1f4)][_0x31dcc3(0x2b1)]([_0x262f4c,_0x97a459])),{scaleX:_0x3561a1,scaleY:_0x594c00}=_0x1c31a5[_0x31dcc3(0x30e)](),_0x5e00e9=_0x1c31a5[_0x31dcc3(0x444)](_0x449944[_0x31dcc3(0x492)][_0x31dcc3(0x32e)]),_0x584110=_0x1c31a5[_0x31dcc3(0x3c5)](_0x449944[_0x31dcc3(0x1f4)][_0x31dcc3(0x2b1)]([_0xdfb1db,_0x51e607]),_0x5e00e9),_0x3efe83=_0x5e5a53[_0x31dcc3(0x366)](_0x262f4c,_0x97a459,_0x3561a1,_0x594c00,_0x584110);((_0x50cd4f=this[_0x31dcc3(0x46d)])==null?void 0x0:_0x50cd4f[_0x31dcc3(0x3dd)])===_0x3efe83[_0x31dcc3(0x3dd)]&&((_0x41bf02=this[_0x31dcc3(0x46d)])==null?void 0x0:_0x41bf02[_0x31dcc3(0x2cd)])===_0x3efe83[_0x31dcc3(0x2cd)]||this[_0x31dcc3(0x475)][_0x31dcc3(0x1da)](_0x27a029=>{const _0x5c2b29=_0x31dcc3;_0x27a029[_0x5c2b29(0x300)](_0x3efe83);});},0x64));});}['_updateCollabCursors'](_0x40b473,_0x12174f){const _0x3cc71c=_0xa0f417;var _0x28ef54;const _0x1769b0=(_0x28ef54=this[_0x3cc71c(0x2f1)][_0x3cc71c(0x2d8)]())==null?void 0x0:_0x28ef54['skeleton'];if(!_0x1769b0)return;const _0x41d763=this[_0x3cc71c(0x461)]();if(!_0x41d763)return;this[_0x3cc71c(0x475)][_0x3cc71c(0x1da)](_0x5bbf7b=>{const _0x92c289=_0x3cc71c;_0x5bbf7b[_0x92c289(0x2bb)]();});const {scene:_0x43cf03}=_0x41d763,_0x5e2403=_0xcd53(Array[_0x3cc71c(0x48d)](_0x12174f[_0x3cc71c(0x483)]()))[_0x3cc71c(0x348)](_0x246411=>{const _0x172483=_0x3cc71c,{color:_0x445ac7,range:_0x4baad8,name:_0x342ea6,selection:_0x2fcb38,sheetID:_0x10999e}=_0x246411,{startColumn:_0x25a7da,startRow:_0x259aa0,endColumn:_0x576c6c,endRow:_0x45f695}=_0x4baad8,_0x59e6fd=_0x5317b2[_0x172483(0x3ae)](_0x259aa0,_0x25a7da,_0x43cf03,_0x1769b0),_0x302cb8=_0x5317b2[_0x172483(0x3ae)](_0x45f695,_0x576c6c,_0x43cf03,_0x1769b0),{columnHeaderHeightAndMarginTop:_0x4851a3}=_0x1769b0,{startX:_0x5aa52b,startY:_0x1d98b8}=_0x59e6fd,{endX:_0x35c412,endY:_0x2fdb68}=_0x302cb8,_0x517f6e=_0x35c412-_0x5aa52b,_0xaa1f07=_0x2fdb68-_0x1d98b8,_0x2e1752={'labelPosition':_0x1d98b8-_0x4851a3>=_0x57f47f?'top':_0x172483(0x3fd),'sheetID':_0x10999e,'range':_0x4baad8,'color':_0x445ac7,'name':_0x342ea6,'selection':_0x2fcb38,'left':_0x5aa52b,'top':_0x1d98b8,'width':_0x517f6e,'height':_0xaa1f07,'evented':!0x1,'zIndex':_0x32949c};return new _0x1391f5(_0x342ea6,_0x2e1752);});_0x43cf03[_0x3cc71c(0x327)](_0x5e2403,_0x38addb),this['_cursors']=new Set(_0x5e2403);}[_0xa0f417(0x238)](){const _0x3879f7=_0xa0f417;var _0x2990b;(_0x2990b=this[_0x3879f7(0x475)])==null||_0x2990b[_0x3879f7(0x1da)](_0x3e0577=>_0x3e0577[_0x3879f7(0x3ef)]());}[_0xa0f417(0x461)](){const _0xaf8d60=_0xa0f417;return _0x5317b2['getSheetObject'](this[_0xaf8d60(0x485)][_0xaf8d60(0x34f)],this[_0xaf8d60(0x485)]);}};_0x7c81f2=_0x1276de([_0x90608e(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x5317b2[_0xa0f417(0x346)])),_0x90608e(0x2,_0x3071e3['Inject'](_0xa13c2f)),_0x90608e(0x3,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x369)]))],_0x7c81f2);function _0xcd53(_0x3532cb){const _0x18a718=_0xa0f417,_0x7ab9b=new Map();return _0x3532cb[_0x18a718(0x1da)](_0x238dc0=>{const _0x47b832=_0x18a718;if(_0x7ab9b[_0x47b832(0x3bb)](_0x238dc0['selection'])){const _0x47c197=_0x7ab9b[_0x47b832(0x22f)](_0x238dc0[_0x47b832(0x2f6)]);_0x47c197[_0x47b832(0x34d)]+=',\x20'+_0x238dc0['name'];}else _0x7ab9b['set'](_0x238dc0[_0x47b832(0x2f6)],_0x238dc0);}),Array[_0x18a718(0x48d)](_0x7ab9b[_0x18a718(0x483)]());}var _0x350f8c=Object['getOwnPropertyDescriptor'],_0x28a743=(_0x196507,_0x243fb8,_0x457308,_0x1c1429)=>{const _0x313314=_0xa0f417;for(var _0x5790d3=_0x1c1429>0x1?void 0x0:_0x1c1429?_0x350f8c(_0x243fb8,_0x457308):_0x243fb8,_0xd77c98=_0x196507[_0x313314(0x2be)]-0x1,_0xff0ad6;_0xd77c98>=0x0;_0xd77c98--)(_0xff0ad6=_0x196507[_0xd77c98])&&(_0x5790d3=_0xff0ad6(_0x5790d3)||_0x5790d3);return _0x5790d3;},_0x4884dc=(_0x13a30b,_0x284e47)=>(_0x316593,_0x22ebb1)=>_0x284e47(_0x316593,_0x22ebb1,_0x13a30b);let _0x30c33c=class extends _0x3071e3[_0xa0f417(0x2bc)]{constructor(_0x4289af,_0xbf486,_0x2a5cda,_0x5dfce1,_0x201e7e,_0x2daedb){const _0x548a12=_0xa0f417;super(),this[_0x548a12(0x3f2)]=_0x4289af,this[_0x548a12(0x48a)]=_0xbf486,this['_collaborationUIEventService']=_0x2a5cda,this[_0x548a12(0x42b)]=_0x5dfce1,this[_0x548a12(0x3d0)]=_0x201e7e,this[_0x548a12(0x434)]=_0x2daedb,this[_0x548a12(0x35d)](),this[_0x548a12(0x38d)]();}['_setupBeforeClosingHandler'](){const _0x4af70f=_0xa0f417;this[_0x4af70f(0x451)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x31680e=_0x4af70f;if(this[_0x31680e(0x48a)]['saveTaskMap']['size'])return this[_0x31680e(0x434)]['t']('collaboration.offline-data-not-saved');}));}[_0xa0f417(0x38d)](){const _0x29c3d9=_0xa0f417;this['disposeWithMe'](this[_0x29c3d9(0x294)][_0x29c3d9(0x298)][_0x29c3d9(0x270)](_0xc44a12=>{const _0x15b889=_0x29c3d9;_0xc44a12['id']===_0x47c5ed['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x15b889(0x42b)][_0x15b889(0x3b9)]({'type':_0xe2dc8e[_0x15b889(0x29e)][_0x15b889(0x48b)],'content':this[_0x15b889(0x434)]['t'](_0x15b889(0x3bc))}),_0xc44a12['id']===_0x47c5ed[_0x15b889(0x2b0)][_0x15b889(0x40a)]&&this[_0x15b889(0x42b)][_0x15b889(0x3b9)]({'type':_0xe2dc8e[_0x15b889(0x29e)][_0x15b889(0x48b)],'content':this[_0x15b889(0x434)]['t']('collaboration.closeRoom')}),_0xc44a12['id']===_0x47c5ed[_0x15b889(0x2b0)][_0x15b889(0x32c)]&&this[_0x15b889(0x3d0)]['show']({'title':this[_0x15b889(0x434)]['t'](_0x15b889(0x1b1)),'content':this['_localeService']['t'](_0x15b889(0x230)),'type':_0x15b889(0x30a),'duration':0x0}),_0xc44a12['id']===_0x47c5ed[_0x15b889(0x2b0)][_0x15b889(0x338)]&&this[_0x15b889(0x42b)]['show']({'type':_0xe2dc8e[_0x15b889(0x29e)][_0x15b889(0x400)],'content':this[_0x15b889(0x434)]['t']('collaboration.closeRoom')+'('+_0xc44a12['data']+')'}),_0xc44a12['id']===_0x47c5ed['CollaborationUIEventId'][_0x15b889(0x1bc)]&&this[_0x15b889(0x42b)][_0x15b889(0x3b9)]({'type':_0xe2dc8e[_0x15b889(0x29e)][_0x15b889(0x48b)],'content':this[_0x15b889(0x434)]['t'](_0xc44a12[_0x15b889(0x23f)]||'')}),_0xc44a12['id']===_0x47c5ed['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x15b889(0x42b)][_0x15b889(0x3b9)]({'type':_0xe2dc8e[_0x15b889(0x29e)][_0x15b889(0x48b)],'content':this[_0x15b889(0x434)]['t'](_0x15b889(0x303))}),_0xc44a12['id']===_0x47c5ed['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x15b889(0x42b)][_0x15b889(0x3b9)]({'type':_0xe2dc8e['MessageType']['Error'],'content':this[_0x15b889(0x434)]['t'](_0x15b889(0x2d9))}),_0xc44a12['id']===_0x47c5ed[_0x15b889(0x2b0)][_0x15b889(0x3a6)]&&this[_0x15b889(0x42b)][_0x15b889(0x3b9)]({'type':_0xe2dc8e[_0x15b889(0x29e)][_0x15b889(0x400)],'content':this['_localeService']['t'](_0x15b889(0x212))});}));}};_0x30c33c=_0x28a743([_0x4884dc(0x0,_0x2fdbef[_0xa0f417(0x3a3)]),_0x4884dc(0x1,_0x47c5ed[_0xa0f417(0x28a)]),_0x4884dc(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed[_0xa0f417(0x3f7)])),_0x4884dc(0x3,_0x2fdbef[_0xa0f417(0x454)]),_0x4884dc(0x4,_0x2fdbef[_0xa0f417(0x1e0)]),_0x4884dc(0x5,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2af)]))],_0x30c33c);var _0x3e4591=Object['getOwnPropertyDescriptor'],_0x3f6344=(_0x430ffe,_0x428ff3,_0x9fbe85,_0x49da09)=>{const _0x1de9c8=_0xa0f417;for(var _0xf9f1d=_0x49da09>0x1?void 0x0:_0x49da09?_0x3e4591(_0x428ff3,_0x9fbe85):_0x428ff3,_0x5cc1c7=_0x430ffe[_0x1de9c8(0x2be)]-0x1,_0x1028a9;_0x5cc1c7>=0x0;_0x5cc1c7--)(_0x1028a9=_0x430ffe[_0x5cc1c7])&&(_0xf9f1d=_0x1028a9(_0xf9f1d)||_0xf9f1d);return _0xf9f1d;},_0x12472c=(_0x2f3f56,_0x472770)=>(_0x187758,_0x596972)=>_0x472770(_0x187758,_0x596972,_0x2f3f56);let _0x3b8dfa=class extends _0x3071e3[_0xa0f417(0x2bc)]{constructor(_0x5a4411,_0x9f3989,_0x441884,_0x272706){const _0x13369c=_0xa0f417;super(),_0x4f1800(this,_0x13369c(0x2a5)),(this[_0x13369c(0x3d5)]=_0x5a4411,this[_0x13369c(0x430)]=_0x9f3989,this[_0x13369c(0x39b)]=_0x441884,this['_collaborationSessionService']=_0x272706,this[_0x13369c(0x3e7)]());}[_0xa0f417(0x3e7)](){const _0xc636e0=_0xa0f417;this[_0xc636e0(0x220)](),this[_0xc636e0(0x2c3)](),this['_monkeyPatchLogService'](),this[_0xc636e0(0x441)]();}['_initUserListener'](){const _0xde7a7c=_0xa0f417;this[_0xde7a7c(0x451)](this[_0xde7a7c(0x1f9)][_0xde7a7c(0x2b6)]['subscribe'](_0x1d3699=>{const _0xd52c12=_0xde7a7c;this[_0xd52c12(0x2a5)]=_0x1d3699==null?void 0x0:_0x1d3699[_0xd52c12(0x363)];}));}[_0xa0f417(0x220)](){const _0x22828a=_0xa0f417,_0xa90b8c=_0x460252=>{const _0x43a532=_0x21aa;var _0x2db143;this[_0x43a532(0x32d)](_0x43a532(0x30a),_0x43a532(0x349)+_0x460252[_0x43a532(0x44d)]+_0x43a532(0x351)+_0x460252[_0x43a532(0x428)]+':'+_0x460252[_0x43a532(0x218)]+':'+_0x460252[_0x43a532(0x264)]+'\x0a'+(((_0x2db143=_0x460252[_0x43a532(0x30a)])==null?void 0x0:_0x2db143[_0x43a532(0x1a9)])||''));};window['addEventListener']('error',_0xa90b8c),this[_0x22828a(0x451)](()=>{const _0x40df7a=_0x22828a;window[_0x40df7a(0x2c9)]('error',_0xa90b8c);});}[_0xa0f417(0x2c3)](){const _0x3c13aa=_0xa0f417,_0x3296f2=_0x5935e2=>{const _0x423274=_0x21aa;this[_0x423274(0x32d)](_0x423274(0x30a),_0x423274(0x3ee)+_0x5935e2[_0x423274(0x474)]);};window['addEventListener'](_0x3c13aa(0x1fa),_0x3296f2),this[_0x3c13aa(0x451)](()=>{const _0x54e9e4=_0x3c13aa;window[_0x54e9e4(0x2c9)](_0x54e9e4(0x1fa),_0x3296f2);});}[_0xa0f417(0x313)](){const _0x161a66=_0xa0f417,_0x52bdc9=this[_0x161a66(0x39b)]['error'][_0x161a66(0x392)](this[_0x161a66(0x39b)]);this[_0x161a66(0x39b)][_0x161a66(0x30a)]=(..._0x4faf13)=>{const _0x3d2d13=_0x161a66,_0x526e79=_0x4faf13[_0x3d2d13(0x348)](_0x5b55b7=>_0x5b55b7 instanceof Error?_0x5b55b7[_0x3d2d13(0x44d)]+'\x0a'+_0x5b55b7['stack']:String(_0x5b55b7))[_0x3d2d13(0x2ff)]('\x20');this[_0x3d2d13(0x32d)](_0x3d2d13(0x30a),_0x3d2d13(0x477)+_0x526e79),_0x52bdc9(..._0x4faf13);},this[_0x161a66(0x451)](()=>{const _0x19c91d=_0x161a66;this[_0x19c91d(0x39b)][_0x19c91d(0x30a)]=_0x52bdc9;});}[_0xa0f417(0x32d)](_0x5bb8d5,_0x4ba512){const _0xe66989=_0xa0f417;try{const _0x59c10a={'userId':this[_0xe66989(0x2a5)],'logLabel':_0x5bb8d5,'content':_0x4ba512};this[_0xe66989(0x430)][_0xe66989(0x210)](_0xe66989(0x222),{'body':_0x59c10a})['catch'](()=>{});}catch{}}};_0x3b8dfa=_0x3f6344([_0x12472c(0x0,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0x12472c(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x46431e[_0xa0f417(0x1e6)])),_0x12472c(0x2,_0x3071e3[_0xa0f417(0x40e)]),_0x12472c(0x3,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed[_0xa0f417(0x1cf)]))],_0x3b8dfa);const _0x8e8b27=_0xa0f417(0x1f5),_0x47b56b={};var _0x4aa744=Object[_0xa0f417(0x33f)],_0x435582=(_0x4ce21d,_0x353e83,_0x7fe4ef,_0x2a88f3)=>{const _0x6ef7f4=_0xa0f417;for(var _0x3afcf3=_0x2a88f3>0x1?void 0x0:_0x2a88f3?_0x4aa744(_0x353e83,_0x7fe4ef):_0x353e83,_0x42488a=_0x4ce21d[_0x6ef7f4(0x2be)]-0x1,_0x1dba38;_0x42488a>=0x0;_0x42488a--)(_0x1dba38=_0x4ce21d[_0x42488a])&&(_0x3afcf3=_0x1dba38(_0x3afcf3)||_0x3afcf3);return _0x3afcf3;},_0x396d6d=(_0x1e905a,_0x53509e)=>(_0x11db3b,_0x292a30)=>_0x53509e(_0x11db3b,_0x292a30,_0x1e905a);let _0x4c5e65=class{constructor(_0x302e63,_0xf17661){const _0x56761c=_0xa0f417;this[_0x56761c(0x48c)]=_0x302e63,this[_0x56761c(0x2ec)]=_0xf17661;}[_0xa0f417(0x455)](_0x4ac734){const _0x1ff9d7=_0xa0f417;this[_0x1ff9d7(0x3db)](_0x4ac734),this[_0x1ff9d7(0x44c)](_0x4ac734);}[_0xa0f417(0x3c3)](_0x2c92f2){const _0x44a3f4=_0xa0f417,{unitID:_0x492e88}=_0x2c92f2,_0x5f16d4=this[_0x44a3f4(0x2ec)][_0x44a3f4(0x35e)](_0x492e88)[_0x44a3f4(0x2fa)](_0x39debf['DocIMEInputManagerService']),{redoCache:_0x1afa20}=_0x5f16d4[_0x44a3f4(0x202)]();if(_0x1afa20[_0x44a3f4(0x2be)]===0x0)return _0x2c92f2;let _0xc0f910=_0x3071e3[_0x44a3f4(0x25c)][_0x44a3f4(0x374)](_0x2c92f2['mutations'][0x0]);for(let _0x1caf1a=0x0;_0x1caf1a<_0x1afa20[_0x44a3f4(0x2be)];_0x1caf1a++){const _0x8bd8e4={'id':_0x44a3f4(0x433),'params':{..._0x1afa20[_0x1caf1a]}},_0x148c63=this['_transformService'][_0x44a3f4(0x2df)](_0xc0f910,_0x8bd8e4,!0x1);if(_0x23de57[_0x44a3f4(0x34e)](_0x148c63))throw _0x148c63['error'];_0xc0f910=_0x148c63['m1Prime'];}return{..._0x3071e3[_0x44a3f4(0x25c)][_0x44a3f4(0x374)](_0x2c92f2),'mutations':[_0xc0f910]};}[_0xa0f417(0x3db)](_0xf67d63){const _0x143e73=_0xa0f417,{unitID:_0x431ddb}=_0xf67d63,_0x162305=this['_renderManagerService']['getRenderById'](_0x431ddb)['with'](_0x39debf[_0x143e73(0x27d)]),{undoCache:_0x1c36bf,redoCache:_0x1e7e4e}=_0x162305['getUndoRedoMutationParamsCache']();if(_0x1c36bf[_0x143e73(0x2be)]===0x0||_0x1e7e4e['length']===0x0)return;const _0x677177=[],_0x1e2b13=[];let _0x1d8ac8=_0x3071e3['Tools'][_0x143e73(0x374)](_0xf67d63[_0x143e73(0x1e2)][0x0]),_0x12bd1d=_0x3071e3[_0x143e73(0x25c)][_0x143e73(0x374)](_0xf67d63['mutations'][0x0]);for(let _0xe79d94=_0x1c36bf[_0x143e73(0x2be)]-0x1;_0xe79d94>=0x0;_0xe79d94--){const _0x3ac96c={'id':_0x143e73(0x433),'params':{..._0x1c36bf[_0xe79d94]}},_0x16e713={'id':_0x143e73(0x433),'params':{..._0x1e7e4e[_0xe79d94]}},_0x333a84=this[_0x143e73(0x48c)][_0x143e73(0x2df)](_0x1d8ac8,_0x3ac96c,!0x1),_0x7bd05=this[_0x143e73(0x48c)][_0x143e73(0x2df)](_0x12bd1d,_0x16e713,!0x1);if(_0x23de57[_0x143e73(0x34e)](_0x333a84))throw _0x333a84[_0x143e73(0x30a)];if(_0x23de57[_0x143e73(0x34e)](_0x7bd05))throw _0x7bd05[_0x143e73(0x30a)];_0x677177[_0x143e73(0x401)](_0x333a84[_0x143e73(0x1c8)][_0x143e73(0x39d)]),_0x1e2b13['unshift'](_0x7bd05['m2Prime'][_0x143e73(0x39d)]),_0x1d8ac8=_0x333a84['m1Prime'],_0x12bd1d=_0x7bd05[_0x143e73(0x2e8)];}_0x162305[_0x143e73(0x3d8)]({'undoCache':_0x677177,'redoCache':_0x1e2b13});}['_transformPreviousActiveRange'](_0xb0feb0){const _0x5cd2fc=_0xa0f417,{unitID:_0x3e9f47}=_0xb0feb0,_0x51996a=this[_0x5cd2fc(0x2ec)][_0x5cd2fc(0x35e)](_0x3e9f47)[_0x5cd2fc(0x2fa)](_0x39debf[_0x5cd2fc(0x27d)]),_0x270731=_0x51996a[_0x5cd2fc(0x407)]();if(_0x270731==null)return;const _0x9e3892=[{'id':_0x5cd2fc(0x433),'params':{'unitId':_0xb0feb0['unitID'],'actions':null,'textRanges':[_0x270731]}}],_0x302ace=this[_0x5cd2fc(0x48c)]['transformMutationsWithChangeset'](_0xb0feb0,_0x9e3892);if(!_0x23de57['isTransformMutationsWithChangesetSuccess'](_0x302ace))throw _0x302ace[_0x5cd2fc(0x30a)];const _0x341d57=_0x302ace[_0x5cd2fc(0x1c8)][0x0][_0x5cd2fc(0x39d)]['textRanges'];Array['isArray'](_0x341d57)&&_0x341d57[_0x5cd2fc(0x2be)]&&_0x51996a[_0x5cd2fc(0x247)](_0x341d57[0x0]);}};_0x4c5e65=_0x435582([_0x396d6d(0x0,_0x23de57[_0xa0f417(0x2f2)]),_0x396d6d(0x1,_0x449944['IRenderManagerService'])],_0x4c5e65);var _0x5b9e9a=Object['getOwnPropertyDescriptor'],_0x214413=(_0x1f9d30,_0x40b9e9,_0x5b4328,_0x4c45ea)=>{const _0x6b2d8a=_0xa0f417;for(var _0x3bfaba=_0x4c45ea>0x1?void 0x0:_0x4c45ea?_0x5b9e9a(_0x40b9e9,_0x5b4328):_0x40b9e9,_0x59f18d=_0x1f9d30[_0x6b2d8a(0x2be)]-0x1,_0x43aa4f;_0x59f18d>=0x0;_0x59f18d--)(_0x43aa4f=_0x1f9d30[_0x59f18d])&&(_0x3bfaba=_0x43aa4f(_0x3bfaba)||_0x3bfaba);return _0x3bfaba;},_0x4a1d9f=(_0x178553,_0x5024e5)=>(_0x13e06c,_0x335bbd)=>_0x5024e5(_0x13e06c,_0x335bbd,_0x178553);let _0x3b13f7=class{constructor(_0x1d3e2b,_0x268be1,_0x52d66f){const _0x18a940=_0xa0f417;this[_0x18a940(0x3d5)]=_0x1d3e2b,this[_0x18a940(0x48c)]=_0x268be1,this[_0x18a940(0x3d4)]=_0x52d66f;}[_0xa0f417(0x2cb)](_0x3be91e){const _0x647742=_0xa0f417;this[_0x647742(0x258)](_0x3be91e);}['transformRemoteChangeset'](_0x46dbc8){const _0x4cab28=_0xa0f417,{unitID:_0x4a1aaa}=_0x46dbc8,{collaboration:_0x33708a}=this['_docStateChangeManagerService'][_0x4cab28(0x2c7)](_0x4a1aaa);if(_0x33708a[_0x4cab28(0x2be)]===0x0)return _0x46dbc8;let _0x14b273=_0x3071e3[_0x4cab28(0x25c)][_0x4cab28(0x374)](_0x46dbc8[_0x4cab28(0x1e2)][0x0]);for(let _0x7fb318=0x0;_0x7fb318<_0x33708a[_0x4cab28(0x2be)];_0x7fb318++){const _0x1622fb={'id':_0x4cab28(0x433),'params':{'unitId':_0x33708a[_0x7fb318]['unitId'],..._0x33708a[_0x7fb318][_0x4cab28(0x21e)]}},_0x448356=this[_0x4cab28(0x48c)][_0x4cab28(0x2df)](_0x14b273,_0x1622fb,!0x1);if(_0x23de57['isTransformMutationFailure'](_0x448356))throw _0x448356[_0x4cab28(0x30a)];_0x14b273=_0x448356[_0x4cab28(0x2e8)];}return{..._0x3071e3[_0x4cab28(0x25c)][_0x4cab28(0x374)](_0x46dbc8),'mutations':[_0x14b273]};}[_0xa0f417(0x258)](_0x1a1d52){const _0x34d934=_0xa0f417,{unitID:_0x33e314}=_0x1a1d52,{history:_0x49f218,collaboration:_0x7469f8}=this[_0x34d934(0x3d4)][_0x34d934(0x2c7)](_0x33e314);if(_0x49f218[_0x34d934(0x2be)]===0x0&&_0x7469f8['length']===0x0)return;const _0x5c4571=[],_0x4d946b=[];let _0x199818=_0x3071e3[_0x34d934(0x25c)][_0x34d934(0x374)](_0x1a1d52[_0x34d934(0x1e2)][0x0]),_0x37b635=_0x3071e3[_0x34d934(0x25c)][_0x34d934(0x374)](_0x1a1d52['mutations'][0x0]);for(let _0x391889=_0x49f218['length']-0x1;_0x391889>=0x0;_0x391889--){const _0x57f93c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x49f218[_0x391889][_0x34d934(0x306)],..._0x49f218[_0x391889]['undoState']}},_0x26b3db={'id':_0x34d934(0x433),'params':{'unitId':_0x49f218[_0x391889][_0x34d934(0x306)],..._0x49f218[_0x391889][_0x34d934(0x21e)]}},_0x567398=this[_0x34d934(0x48c)][_0x34d934(0x2df)](_0x199818,_0x57f93c,!0x1),_0x1f4797=this[_0x34d934(0x48c)][_0x34d934(0x2df)](_0x37b635,_0x26b3db,!0x1);if(_0x23de57[_0x34d934(0x34e)](_0x567398))throw _0x567398['error'];if(_0x23de57[_0x34d934(0x34e)](_0x1f4797))throw _0x1f4797[_0x34d934(0x30a)];_0x5c4571['unshift']({..._0x49f218[_0x391889],'undoState':_0x567398[_0x34d934(0x1c8)]['params'],'redoState':_0x1f4797[_0x34d934(0x1c8)][_0x34d934(0x39d)]}),_0x199818=_0x567398[_0x34d934(0x2e8)],_0x37b635=_0x1f4797[_0x34d934(0x2e8)];}_0x199818=_0x3071e3[_0x34d934(0x25c)][_0x34d934(0x374)](_0x1a1d52[_0x34d934(0x1e2)][0x0]),_0x37b635=_0x3071e3[_0x34d934(0x25c)][_0x34d934(0x374)](_0x1a1d52[_0x34d934(0x1e2)][0x0]);for(let _0x5e9cbf=_0x7469f8[_0x34d934(0x2be)]-0x1;_0x5e9cbf>=0x0;_0x5e9cbf--){const _0x47cfbc={'id':_0x34d934(0x433),'params':{'unitId':_0x7469f8[_0x5e9cbf][_0x34d934(0x306)],..._0x7469f8[_0x5e9cbf][_0x34d934(0x3dc)]}},_0x39ecec={'id':_0x34d934(0x433),'params':{'unitId':_0x7469f8[_0x5e9cbf][_0x34d934(0x306)],..._0x7469f8[_0x5e9cbf]['redoState']}},_0x2c315a=this[_0x34d934(0x48c)][_0x34d934(0x2df)](_0x199818,_0x47cfbc,!0x1),_0x24a4ed=this[_0x34d934(0x48c)][_0x34d934(0x2df)](_0x37b635,_0x39ecec,!0x1);if(_0x23de57['isTransformMutationFailure'](_0x2c315a))throw _0x2c315a['error'];if(_0x23de57[_0x34d934(0x34e)](_0x24a4ed))throw _0x24a4ed[_0x34d934(0x30a)];_0x4d946b[_0x34d934(0x401)]({..._0x7469f8[_0x5e9cbf],'undoState':_0x2c315a['m2Prime']['params'],'redoState':_0x24a4ed[_0x34d934(0x1c8)][_0x34d934(0x39d)]}),_0x199818=_0x2c315a['m1Prime'],_0x37b635=_0x24a4ed[_0x34d934(0x2e8)];}this[_0x34d934(0x3d4)][_0x34d934(0x319)](_0x33e314,{'history':_0x5c4571,'collaboration':_0x4d946b});}};_0x3b13f7=_0x214413([_0x4a1d9f(0x0,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3['Injector'])),_0x4a1d9f(0x1,_0x23de57[_0xa0f417(0x2f2)]),_0x4a1d9f(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x39debf[_0xa0f417(0x225)]))],_0x3b13f7);var _0x1f2c23=Object['getOwnPropertyDescriptor'],_0x2d3ace=(_0x105617,_0x477c60,_0x3b9a0a,_0x151f57)=>{const _0x1810d0=_0xa0f417;for(var _0x321bfc=_0x151f57>0x1?void 0x0:_0x151f57?_0x1f2c23(_0x477c60,_0x3b9a0a):_0x477c60,_0x5f0b7d=_0x105617[_0x1810d0(0x2be)]-0x1,_0x1fd41b;_0x5f0b7d>=0x0;_0x5f0b7d--)(_0x1fd41b=_0x105617[_0x5f0b7d])&&(_0x321bfc=_0x1fd41b(_0x321bfc)||_0x321bfc);return _0x321bfc;},_0x29e135=(_0x4fb416,_0x4ac856)=>(_0x370199,_0x48468a)=>_0x4ac856(_0x370199,_0x48468a,_0x4fb416);let _0x5d9273=class{constructor(_0x398909,_0x1b381e){this['_injector']=_0x398909,this['_transformService']=_0x1b381e;}['transformSelections'](_0x3e1b56){const _0x5dc799=_0xa0f417;var _0x281565;const _0x166dc3=this[_0x5dc799(0x3d5)][_0x5dc799(0x22f)](_0x4f248['DocSelectionManagerService']),_0x344462=(_0x281565=_0x166dc3[_0x5dc799(0x44e)]())!=null?_0x281565:[];if(_0x344462[_0x5dc799(0x2be)]===0x0)return;const _0x572958=_0x3e1b56[_0x5dc799(0x2ea)],_0x3aa9d9=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x572958,'actions':null,'textRanges':_0x344462}}],_0x392661=this[_0x5dc799(0x48c)]['transformMutationsWithChangeset'](_0x3e1b56,_0x3aa9d9);if(!_0x23de57[_0x5dc799(0x296)](_0x392661))throw _0x392661['error'];const _0x485125=_0x392661[_0x5dc799(0x1c8)][0x0]['params']['textRanges'];Array[_0x5dc799(0x2fd)](_0x485125)&&_0x485125[_0x5dc799(0x2be)]&&_0x166dc3[_0x5dc799(0x23a)](_0x485125,{'unitId':_0x572958,'subUnitId':_0x572958},!0x1);}};_0x5d9273=_0x2d3ace([_0x29e135(0x0,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0x29e135(0x1,_0x23de57['ITransformService'])],_0x5d9273);var _0x32d45d=Object[_0xa0f417(0x33f)],_0x21bd9d=(_0x1672a8,_0xa06776,_0x30f64d,_0x366921)=>{const _0x215cda=_0xa0f417;for(var _0x582778=_0x366921>0x1?void 0x0:_0x366921?_0x32d45d(_0xa06776,_0x30f64d):_0xa06776,_0x478a9e=_0x1672a8[_0x215cda(0x2be)]-0x1,_0x3ad7e4;_0x478a9e>=0x0;_0x478a9e--)(_0x3ad7e4=_0x1672a8[_0x478a9e])&&(_0x582778=_0x3ad7e4(_0x582778)||_0x582778);return _0x582778;},_0x5cef66=(_0xacd89e,_0x2fb310)=>(_0x399ffb,_0x2e2c95)=>_0x2fb310(_0x399ffb,_0x2e2c95,_0xacd89e);let _0x3237b3=class extends _0x3071e3['Disposable']{constructor(_0x3dd6b3,_0x58863d,_0x4cee14,_0x106596,_0x159f15,_0x4926e6,_0x3647c8,_0x3ea9f6){const _0x5526c2=_0xa0f417;super(),_0x4f1800(this,'_status$',new _0x4dfa7e[(_0x5526c2(0x309))](_0x47c5ed[_0x5526c2(0x38c)][_0x5526c2(0x40b)])),(this[_0x5526c2(0x3d4)]=_0x3dd6b3,this[_0x5526c2(0x41e)]=_0x58863d,this[_0x5526c2(0x476)]=_0x4cee14,this[_0x5526c2(0x39e)]=_0x106596,this[_0x5526c2(0x2b4)]=_0x159f15,this[_0x5526c2(0x25b)]=_0x4926e6,this['_messageService']=_0x3647c8,this['_localeService']=_0x3ea9f6,this['_initEntityListener']());}[_0xa0f417(0x46a)](){const _0x4882bc=_0xa0f417;this['disposeWithMe'](this[_0x4882bc(0x41e)][_0x4882bc(0x305)][_0x4882bc(0x270)](_0x161730=>{const _0xa2397=_0x4882bc,_0x2ad29e=this[_0xa2397(0x3d4)][_0xa2397(0x1e1)][_0xa2397(0x270)](_0x4415d1=>{const _0x432261=_0xa2397;if(_0x4415d1==null)return;const {unitId:_0x3105fc,redoState:_0x564f43,commandId:_0x1fdf23}=_0x4415d1;if(_0x3105fc!==_0x161730['unitID'])return;const _0x553459={'id':_0x1fdf23,'type':_0x3071e3['CommandType'][_0x432261(0x3b3)],'params':{'unitId':_0x3105fc,'actions':_0x564f43['actions'],'textRanges':null}};_0x161730[_0x432261(0x1e7)](_0x553459);});if(_0x161730[_0xa2397(0x451)](_0x2ad29e),_0x161730 instanceof _0x47c5ed['DocCollaborationEntity']){const _0x1be624={'onTransformIME':_0xd86fcd=>this['_docTransformIMECacheService'][_0xa2397(0x455)](_0xd86fcd),'onTransformState':_0xb306e6=>this[_0xa2397(0x39e)]['transformStateCache'](_0xb306e6),'onTransformSelections':_0x1ec57d=>this['_docTransformSelectionsService'][_0xa2397(0x259)](_0x1ec57d),'onSyncEditingCollabCursor':_0x5d1c9a=>this[_0xa2397(0x25b)]['syncEditingCollabCursor'](_0x5d1c9a),'onTransformRemoteChangesetByIMECache':_0x13dd47=>this[_0xa2397(0x476)][_0xa2397(0x3c3)](_0x13dd47),'onTransformRemoteChangesetByStateCache':_0x301c84=>this[_0xa2397(0x39e)][_0xa2397(0x3c3)](_0x301c84)};_0x161730['addHandlerCallback'](_0x1be624);}}));}};_0x3237b3=_0x21bd9d([_0x5cef66(0x0,_0x3071e3[_0xa0f417(0x21f)](_0x39debf[_0xa0f417(0x225)])),_0x5cef66(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x47c5ed[_0xa0f417(0x357)])),_0x5cef66(0x2,_0x3071e3['Inject'](_0x4c5e65)),_0x5cef66(0x3,_0x3071e3[_0xa0f417(0x21f)](_0x3b13f7)),_0x5cef66(0x4,_0x3071e3[_0xa0f417(0x21f)](_0x5d9273)),_0x5cef66(0x5,_0x3071e3[_0xa0f417(0x21f)](_0x5c3119)),_0x5cef66(0x6,_0x2fdbef[_0xa0f417(0x454)]),_0x5cef66(0x7,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2af)]))],_0x3237b3);var _0x2db43a=(_0x291601=>(_0x291601[_0x291601[_0xa0f417(0x440)]=0x0]=_0xa0f417(0x440),_0x291601[_0x291601['OK']=0x1]='OK',_0x291601[_0x291601[_0xa0f417(0x3e8)]=0x2]=_0xa0f417(0x3e8),_0x291601[_0x291601['PERMISSION_DENIED']=0x3]=_0xa0f417(0x32c),_0x291601[_0x291601[_0xa0f417(0x450)]=0x4]='NOT_FOUND',_0x291601[_0x291601[_0xa0f417(0x43a)]=0x5]=_0xa0f417(0x43a),_0x291601[_0x291601[_0xa0f417(0x2fe)]=0x6]='ALREADY_EXISTS',_0x291601[_0x291601[_0xa0f417(0x3a8)]=0x7]='INVALID_ARGUMENT',_0x291601[_0x291601[_0xa0f417(0x29c)]=0x8]=_0xa0f417(0x29c),_0x291601[_0x291601[_0xa0f417(0x406)]=0x9]=_0xa0f417(0x406),_0x291601[_0x291601[_0xa0f417(0x3c0)]=0xa]=_0xa0f417(0x3c0),_0x291601[_0x291601[_0xa0f417(0x377)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x291601[_0x291601[_0xa0f417(0x343)]=0xc]=_0xa0f417(0x343),_0x291601[_0x291601[_0xa0f417(0x45f)]=0xd]=_0xa0f417(0x45f),_0x291601[_0x291601[_0xa0f417(0x253)]=0xe]=_0xa0f417(0x253),_0x291601[_0x291601['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0xa0f417(0x39f),_0x291601[_0x291601[_0xa0f417(0x469)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x291601[_0x291601[_0xa0f417(0x227)]=0x64]=_0xa0f417(0x227),_0x291601[_0x291601[_0xa0f417(0x283)]=0x65]=_0xa0f417(0x283),_0x291601[_0x291601['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x291601[_0x291601[_0xa0f417(0x391)]=0xca]='USER_IS_ANONYMOUS',_0x291601[_0x291601['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xa0f417(0x466),_0x291601[_0x291601[_0xa0f417(0x1c7)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x291601[_0x291601[_0xa0f417(0x403)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x291601[_0x291601[_0xa0f417(0x471)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x291601[_0x291601[_0xa0f417(0x463)]=0x1b59]=_0xa0f417(0x463),_0x291601[_0x291601[_0xa0f417(0x272)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x291601[_0x291601[_0xa0f417(0x288)]=0x1b5b]=_0xa0f417(0x288),_0x291601[_0x291601[_0xa0f417(0x453)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x291601[_0x291601[_0xa0f417(0x308)]=0x1b5d]=_0xa0f417(0x308),_0x291601[_0x291601[_0xa0f417(0x29a)]=0x1f41]=_0xa0f417(0x29a),_0x291601[_0x291601[_0xa0f417(0x29f)]=0x2329]=_0xa0f417(0x29f),_0x291601[_0x291601[_0xa0f417(0x282)]=0x232a]=_0xa0f417(0x282),_0x291601[_0x291601[_0xa0f417(0x353)]=0x232b]=_0xa0f417(0x353),_0x291601[_0x291601[_0xa0f417(0x1e3)]=0x232c]=_0xa0f417(0x1e3),_0x291601[_0x291601[_0xa0f417(0x1d9)]=0x232d]=_0xa0f417(0x1d9),_0x291601[_0x291601[_0xa0f417(0x390)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x291601[_0x291601[_0xa0f417(0x1a7)]=0x2712]=_0xa0f417(0x1a7),_0x291601[_0x291601[_0xa0f417(0x320)]=0x2713]=_0xa0f417(0x320),_0x291601[_0x291601['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xa0f417(0x497),_0x291601[_0x291601[_0xa0f417(0x3f6)]=0x271a]=_0xa0f417(0x3f6),_0x291601[_0x291601[_0xa0f417(0x20f)]=0x271b]=_0xa0f417(0x20f),_0x291601[_0x291601[_0xa0f417(0x44b)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x291601[_0x291601[_0xa0f417(0x30d)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x291601[_0x291601['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x291601[_0x291601[_0xa0f417(0x386)]=0x271f]=_0xa0f417(0x386),_0x291601[_0x291601['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0xa0f417(0x1d0),_0x291601[_0x291601[_0xa0f417(0x1ae)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x291601[_0x291601['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0xa0f417(0x22d),_0x291601[_0x291601[_0xa0f417(0x302)]=0x2ee2]='INVALID_INVITE_CODE',_0x291601[_0x291601[_0xa0f417(0x26c)]=0x2ee3]=_0xa0f417(0x26c),_0x291601[_0x291601['USER_NOT_INVITED_CODE']=0x2ee4]=_0xa0f417(0x215),_0x291601[_0x291601[_0xa0f417(0x2dd)]=0x2ee5]=_0xa0f417(0x2dd),_0x291601[_0x291601[_0xa0f417(0x48f)]=0x32c9]=_0xa0f417(0x48f),_0x291601[_0x291601['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xa0f417(0x32b),_0x291601[_0x291601['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xa0f417(0x3de),_0x291601[_0x291601[_0xa0f417(0x3d7)]=0x36b1]=_0xa0f417(0x3d7),_0x291601[_0x291601[_0xa0f417(0x1dd)]=0x36b2]=_0xa0f417(0x1dd),_0x291601[_0x291601[_0xa0f417(0x1b5)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x291601[_0x291601[_0xa0f417(0x2b5)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x291601[_0x291601['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0xa0f417(0x3ad),_0x291601[_0x291601['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0xa0f417(0x345),_0x291601[_0x291601[_0xa0f417(0x255)]=0x36b7]=_0xa0f417(0x255),_0x291601[_0x291601[_0xa0f417(0x2c8)]=0x36b8]=_0xa0f417(0x2c8),_0x291601[_0x291601[_0xa0f417(0x1c1)]=0x3715]=_0xa0f417(0x1c1),_0x291601[_0x291601[_0xa0f417(0x409)]=0x3716]=_0xa0f417(0x409),_0x291601[_0x291601['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0xa0f417(0x1c2),_0x291601[_0x291601[_0xa0f417(0x26a)]=0x37dd]=_0xa0f417(0x26a),_0x291601[_0x291601[_0xa0f417(0x384)]=0x3a99]=_0xa0f417(0x384),_0x291601[_0x291601['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0xa0f417(0x2db),_0x291601[_0x291601[_0xa0f417(0x266)]=0x3a9b]=_0xa0f417(0x266),_0x291601[_0x291601[_0xa0f417(0x1c5)]=0x3a9c]=_0xa0f417(0x1c5),_0x291601[_0x291601['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0xa0f417(0x340),_0x291601[_0x291601['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0xa0f417(0x2f0),_0x291601[_0x291601[_0xa0f417(0x2a7)]=0x3a9f]=_0xa0f417(0x2a7),_0x291601[_0x291601[_0xa0f417(0x2a6)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x291601[_0x291601['UNRECOGNIZED']=-0x1]=_0xa0f417(0x260),_0x291601))(_0x2db43a||{});function _0x3080dd(_0x4a5937){const _0x3cb0ae=_0xa0f417;var _0xeec5f3,_0xb82e24;const _0x9f14e0=(_0xeec5f3=_0x4a5937['stageInfo'])==null?void 0x0:_0xeec5f3[_0x3cb0ae(0x325)],_0x2608d5=((_0xb82e24=_0x4a5937[_0x3cb0ae(0x254)])==null?void 0x0:_0xb82e24[_0x3cb0ae(0x281)])||0x0;return _0x9f14e0===_0x283787[_0x3cb0ae(0x2f4)][_0x3cb0ae(0x274)]&&_0x2608d5>0x0;}function _0x2e61a4(_0x40204f){const _0x1bbcf1=_0xa0f417;return _0x40204f[_0x1bbcf1(0x449)]===_0x283787[_0x1bbcf1(0x1db)]['SUCCESS'];}var _0xc0651c=Object[_0xa0f417(0x33f)],_0x422a96=(_0x19ccad,_0x514192,_0x4c7bcf,_0x5e1b97)=>{const _0x47757a=_0xa0f417;for(var _0x229aa3=_0x5e1b97>0x1?void 0x0:_0x5e1b97?_0xc0651c(_0x514192,_0x4c7bcf):_0x514192,_0x29aa0b=_0x19ccad[_0x47757a(0x2be)]-0x1,_0x3fbab3;_0x29aa0b>=0x0;_0x29aa0b--)(_0x3fbab3=_0x19ccad[_0x29aa0b])&&(_0x229aa3=_0x3fbab3(_0x229aa3)||_0x229aa3);return _0x229aa3;},_0x3c7533=(_0x73c9e9,_0x52df9d)=>(_0x9319f8,_0x254295)=>_0x52df9d(_0x9319f8,_0x254295,_0x73c9e9);const _0x4e3e61=_0xa0f417(0x31c),_0x47d18b=_0xa0f417(0x1ba),_0x2a8bb6='/universer-api/license/formula/limit/done';let _0x508c93=class extends _0x3071e3['Disposable']{constructor(_0x2705da,_0x4fe568,_0x15aa44,_0x16f908,_0x5c944c,_0x589f3e,_0x13fbcc){const _0x4d8bba=_0xa0f417;super(),_0x4f1800(this,_0x4d8bba(0x398),null),_0x4f1800(this,_0x4d8bba(0x426),0x0),_0x4f1800(this,'_currentUsage',0x0),_0x4f1800(this,'_taskIds',[]),_0x4f1800(this,_0x4d8bba(0x3f9),0x0),(this[_0x4d8bba(0x42b)]=_0x2705da,this['_commandService']=_0x4fe568,this[_0x4d8bba(0x356)]=_0x15aa44,this[_0x4d8bba(0x430)]=_0x16f908,this[_0x4d8bba(0x36b)]=_0x5c944c,this['_logService']=_0x589f3e,this[_0x4d8bba(0x434)]=_0x13fbcc,this[_0x4d8bba(0x3c1)]());}[_0xa0f417(0x3c1)](){const _0x5c8408=_0xa0f417;this[_0x5c8408(0x451)](this[_0x5c8408(0x278)][_0x5c8408(0x1e4)]((_0x4e6862,_0x50226e)=>{const _0x48a01a=_0x5c8408;var _0x25f736;if(_0x4e6862['id']!==_0x283787[_0x48a01a(0x368)]['id'])return;const _0x30ca01=_0x4e6862[_0x48a01a(0x39d)];if(!this['_hasFormulaInDirtyRanges']((_0x25f736=_0x30ca01[_0x48a01a(0x2a9)])!=null?_0x25f736:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x48a01a(0x285)](_0x4e6862,_0x50226e),this[_0x48a01a(0x3e3)](),new _0x3071e3['CanceledError']();})),this[_0x5c8408(0x451)](this[_0x5c8408(0x278)]['onCommandExecuted']((_0x4833f8,_0x56b848)=>{const _0x1adb7c=_0x5c8408;if(_0x4833f8['id']!==_0x283787[_0x1adb7c(0x495)]['id'])return;const _0x2c98b3=_0x4833f8[_0x1adb7c(0x39d)];if(_0x3080dd(_0x2c98b3)){const _0x535611=_0x3071e3[_0x1adb7c(0x3f5)]();this[_0x1adb7c(0x249)][_0x1adb7c(0x1d3)](_0x535611),this['_startCalculationLimit'](_0x535611);}else{if(_0x2e61a4(_0x2c98b3)&&this['_taskIds'][_0x1adb7c(0x2be)]>0x0){const _0xfea069=this[_0x1adb7c(0x249)]['shift']();this['_releaseCalculationLimit'](_0xfea069);}}}));}[_0xa0f417(0x3ef)](){const _0x5d16ce=_0xa0f417;super['dispose'](),this[_0x5d16ce(0x36d)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x5d16ce(0x426)]=0x0,this[_0x5d16ce(0x3f9)]=0x0;}async[_0xa0f417(0x285)](_0xc892c2,_0x377219){const _0x31ea4a=_0xa0f417;for(let _0x142e0c=0x0;_0x142e0c<0x1e;_0x142e0c++)try{if(await this['_getFormulaLimitStatus'](),this[_0x31ea4a(0x1e9)]()){this['_applyCommand'](_0xc892c2,_0x377219),this[_0x31ea4a(0x42b)]['show']({'content':this[_0x31ea4a(0x434)]['t'](_0x31ea4a(0x1af)),'type':_0xe2dc8e['MessageType']['Success']});return;}await new Promise(_0x1bc9c6=>{const _0xf094d5=_0x31ea4a;this[_0xf094d5(0x398)]=window['setTimeout'](_0x1bc9c6,0x3e8);});}catch(_0x5732c6){this[_0x31ea4a(0x39b)][_0x31ea4a(0x30a)](_0x5732c6);}this[_0x31ea4a(0x42b)][_0x31ea4a(0x3b9)]({'content':this[_0x31ea4a(0x434)]['t']('formula.calculation.unable'),'type':_0xe2dc8e[_0x31ea4a(0x29e)][_0x31ea4a(0x400)]});}[_0xa0f417(0x1d7)](_0x2f6fe1,_0x83dd10){const _0x303f85=_0xa0f417;try{this[_0x303f85(0x278)][_0x303f85(0x3a0)](_0x2f6fe1['id'],_0x2f6fe1[_0x303f85(0x39d)],_0x83dd10);}catch(_0x2f4ddf){this[_0x303f85(0x39b)][_0x303f85(0x30a)](_0x2f4ddf);}}[_0xa0f417(0x1c4)](_0x4f9224,_0x38c9e5){const _0x1dd270=_0xa0f417;_0x38c9e5<this[_0x1dd270(0x3f9)]||(this[_0x1dd270(0x3f9)]=_0x38c9e5,this[_0x1dd270(0x426)]=Number[_0x1dd270(0x2e3)](_0x4f9224[_0x1dd270(0x2a3)]),this[_0x1dd270(0x36a)]=Number['parseInt'](_0x4f9224[_0x1dd270(0x394)]));}async[_0xa0f417(0x295)](_0x5343bc){const _0x369b9b=_0xa0f417;var _0x336f1f,_0x33110b;const _0x355e6e=Date[_0x369b9b(0x1cc)]();try{const _0x1cdec8=((_0x336f1f=this[_0x369b9b(0x356)][_0x369b9b(0x3e6)](_0x47c5ed[_0x369b9b(0x431)]))==null?void 0x0:_0x336f1f[_0x369b9b(0x291)])||_0x47d18b,_0x3c9c0e=(await this[_0x369b9b(0x430)]['post'](_0x1cdec8,{'body':JSON[_0x369b9b(0x275)]({'taskId':_0x5343bc})}))[_0x369b9b(0x1d5)];if(((_0x33110b=_0x3c9c0e[_0x369b9b(0x30a)])==null?void 0x0:_0x33110b[_0x369b9b(0x27f)])!==_0x2db43a['OK'])return;this[_0x369b9b(0x1c4)](_0x3c9c0e['limitInfo'],_0x355e6e);}catch(_0x130947){this[_0x369b9b(0x39b)][_0x369b9b(0x30a)](_0x130947);}}async['_getFormulaLimitStatus'](_0x49490b){const _0x4997b7=_0xa0f417;var _0x463241,_0x31e271;const _0x5c6177=Date[_0x4997b7(0x1cc)]();try{const _0x47d156=((_0x463241=this[_0x4997b7(0x356)][_0x4997b7(0x3e6)](_0x47c5ed[_0x4997b7(0x431)]))==null?void 0x0:_0x463241[_0x4997b7(0x3f0)])||_0x4e3e61,_0x1f4323=_0x49490b?_0x47d156+'?taskId='+encodeURIComponent(_0x49490b):_0x47d156,_0x38613b=(await this[_0x4997b7(0x430)][_0x4997b7(0x22f)](_0x1f4323))['body'];if(((_0x31e271=_0x38613b[_0x4997b7(0x30a)])==null?void 0x0:_0x31e271[_0x4997b7(0x27f)])!==_0x2db43a['OK'])return;this[_0x4997b7(0x1c4)](_0x38613b[_0x4997b7(0x324)],_0x5c6177);}catch(_0xdd0428){this['_logService']['error'](_0xdd0428);}}async['_releaseCalculationLimit'](_0x1cdb02){const _0x515eec=_0xa0f417;var _0x20f4f3,_0x2519bd;const _0x300d08=Date['now']();try{const _0x473818=((_0x20f4f3=this[_0x515eec(0x356)][_0x515eec(0x3e6)](_0x47c5ed[_0x515eec(0x431)]))==null?void 0x0:_0x20f4f3[_0x515eec(0x33e)])||_0x2a8bb6,_0x4d7535=(await this['_httpService'][_0x515eec(0x210)](_0x473818,{'body':JSON['stringify']({'taskId':_0x1cdb02})}))[_0x515eec(0x1d5)];if(((_0x2519bd=_0x4d7535['error'])==null?void 0x0:_0x2519bd[_0x515eec(0x27f)])!==_0x2db43a['OK'])return;this[_0x515eec(0x1c4)](_0x4d7535[_0x515eec(0x324)],_0x300d08);}catch(_0x524e25){this['_logService'][_0x515eec(0x30a)](_0x524e25);}}['_checkCalculationAvailable'](){const _0x2a4f06=_0xa0f417;return this[_0x2a4f06(0x426)]===0x0?!0x0:this[_0x2a4f06(0x426)]-this[_0x2a4f06(0x36a)]>0x0;}[_0xa0f417(0x36d)](){const _0x43454d=_0xa0f417;this[_0x43454d(0x398)]&&(clearTimeout(this[_0x43454d(0x398)]),this[_0x43454d(0x398)]=null);}[_0xa0f417(0x3e3)](){const _0x32a00d=_0xa0f417;this['_messageService'][_0x32a00d(0x3b9)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0xe2dc8e[_0x32a00d(0x29e)][_0x32a00d(0x2c4)]});}[_0xa0f417(0x34a)](_0x400921){const _0x161a42=_0xa0f417;for(const _0x2f077b of _0x400921){const {unitId:_0x5e02d7,sheetId:_0x5abfd6,range:_0x3a01f9}=_0x2f077b,_0x2bd4d0=this['_univerInstanceService'][_0x161a42(0x315)](_0x5e02d7);if(!_0x2bd4d0)continue;const _0x50cb60=_0x2bd4d0[_0x161a42(0x3eb)](_0x5abfd6);if(!_0x50cb60)continue;const _0x310280=_0x50cb60[_0x161a42(0x332)]();for(let _0x257ac0=_0x3a01f9['startRow'];_0x257ac0<=_0x3a01f9['endRow'];_0x257ac0++)for(let _0x130673=_0x3a01f9[_0x161a42(0x460)];_0x130673<=_0x3a01f9[_0x161a42(0x205)];_0x130673++){const _0x23f084=_0x310280[_0x161a42(0x2d0)](_0x257ac0,_0x130673);if(_0x23f084&&(_0x3071e3[_0x161a42(0x437)](_0x23f084['f'])||_0x3071e3['isFormulaId'](_0x23f084['si'])))return!0x0;}}return!0x1;}};_0x508c93=_0x422a96([_0x3c7533(0x0,_0x3071e3[_0xa0f417(0x21f)](_0x2fdbef[_0xa0f417(0x454)])),_0x3c7533(0x1,_0x3071e3['ICommandService']),_0x3c7533(0x2,_0x3071e3[_0xa0f417(0x3df)]),_0x3c7533(0x3,_0x3071e3[_0xa0f417(0x21f)](_0x46431e[_0xa0f417(0x1e6)])),_0x3c7533(0x4,_0x3071e3[_0xa0f417(0x24a)]),_0x3c7533(0x5,_0x3071e3[_0xa0f417(0x40e)]),_0x3c7533(0x6,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2af)]))],_0x508c93);var _0x920bd5=Object[_0xa0f417(0x33f)],_0x1234e0=(_0x5e58d0,_0x3ea33c,_0x228cb0,_0x14fcc9)=>{for(var _0x25a91b=_0x14fcc9>0x1?void 0x0:_0x14fcc9?_0x920bd5(_0x3ea33c,_0x228cb0):_0x3ea33c,_0x2299cc=_0x5e58d0['length']-0x1,_0x1ecd32;_0x2299cc>=0x0;_0x2299cc--)(_0x1ecd32=_0x5e58d0[_0x2299cc])&&(_0x25a91b=_0x1ecd32(_0x25a91b)||_0x25a91b);return _0x25a91b;},_0x48debd=(_0x4d256a,_0x263d28)=>(_0x3d4181,_0x2fc2f9)=>_0x263d28(_0x3d4181,_0x2fc2f9,_0x4d256a);let _0x3cf4ca=class extends _0x3071e3['Disposable']{constructor(_0x4054b3,_0x3efa71,_0x295135){const _0xec5ae7=_0xa0f417;super(),_0x4f1800(this,_0xec5ae7(0x3f3),new Map()),_0x4f1800(this,_0xec5ae7(0x45a),new Map()),_0x4f1800(this,_0xec5ae7(0x42a),!0x1),(this[_0xec5ae7(0x356)]=_0x4054b3,this['_localStorageService']=_0x3efa71,this[_0xec5ae7(0x40f)]=_0x295135);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0xa0f417(0x432)](){const _0x1cfa9e=_0xa0f417;return this[_0x1cfa9e(0x45a)];}['dispose'](){const _0x40bfb7=_0xa0f417;this['exhaustSavingTask']()[_0x40bfb7(0x224)](()=>super['dispose']());}async[_0xa0f417(0x372)](_0xf620ba){const _0x5a6e07=_0xa0f417;return this[_0x5a6e07(0x42a)]?null:this['_localStorageService'][_0x5a6e07(0x3e9)](_0x47c5ed[_0x5a6e07(0x20e)](_0xf620ba));}async[_0xa0f417(0x496)](_0x53232c,_0x54b32f){const _0xa0f862=_0xa0f417;return!!this[_0xa0f862(0x273)][_0xa0f862(0x38e)](_0x53232c,_0x54b32f);}[_0xa0f417(0x25f)](_0x199eee,_0x3b75ff,_0x4ba2eb,_0x487a79){const _0x214130=_0xa0f417,_0x2bc915=this[_0x214130(0x40f)][_0x214130(0x3a9)](_0x199eee);this[_0x214130(0x3f3)]['set'](_0x199eee,{'unitID':_0x199eee,'type':_0x3b75ff,'awaitingChangeset':_0x4ba2eb,'mutations':_0x487a79,'rev':_0x2bc915}),this[_0x214130(0x45a)][_0x214130(0x3bb)](_0x199eee)||this[_0x214130(0x424)](_0x199eee);}['_scheduleSaving'](_0x462cec){const _0x406ddf=_0xa0f417,_0x33fe77=this[_0x406ddf(0x3aa)]();_0x33fe77===0x0?this[_0x406ddf(0x2a1)](_0x462cec):this['_saveTaskMap'][_0x406ddf(0x41c)](_0x462cec,setTimeout(()=>this[_0x406ddf(0x2a1)](_0x462cec),_0x33fe77));}[_0xa0f417(0x3aa)](){const _0x575c58=_0xa0f417;var _0xcfaf03;return(_0xcfaf03=this[_0x575c58(0x356)][_0x575c58(0x3e6)](_0x47c5ed[_0x575c58(0x248)]))!=null?_0xcfaf03:_0x47c5ed[_0x575c58(0x26e)];}[_0xa0f417(0x2a1)](_0x52132a){const _0x1564c0=_0xa0f417,_0x12d113=this[_0x1564c0(0x45a)][_0x1564c0(0x22f)](_0x52132a);return _0x12d113!==void 0x0&&window['clearTimeout'](_0x12d113),this[_0x1564c0(0x273)][_0x1564c0(0x38e)](_0x47c5ed[_0x1564c0(0x20e)](_0x52132a),this['_cachedData'][_0x1564c0(0x22f)](_0x52132a))['then'](()=>this['_saveTaskMap'][_0x1564c0(0x1fb)](_0x52132a));}async[_0xa0f417(0x2a8)](){const _0x2487b8=_0xa0f417,_0x334991=[];this['_saveTaskMap'][_0x2487b8(0x1da)]((_0x8d50fd,_0x5a6c97)=>{const _0x3a9e20=_0x2487b8;window[_0x3a9e20(0x49c)](_0x8d50fd),_0x334991['push'](this[_0x3a9e20(0x2a1)](_0x5a6c97)['then'](()=>{const _0x323ba9=_0x3a9e20;this[_0x323ba9(0x45a)][_0x323ba9(0x1fb)](_0x5a6c97);}));}),await Promise[_0x2487b8(0x322)](_0x334991);}};_0x3cf4ca=_0x1234e0([_0x48debd(0x0,_0x3071e3[_0xa0f417(0x3df)]),_0x48debd(0x1,_0x3071e3[_0xa0f417(0x28c)]),_0x48debd(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x23de57[_0xa0f417(0x3e4)]))],_0x3cf4ca);class _0x1ffd2a extends _0x3071e3[_0xa0f417(0x38b)]{constructor(){const _0x2f021a=_0xa0f417;super(),_0x4f1800(this,'urlChange$'),this[_0x2f021a(0x3a4)]=_0x4dfa7e[_0x2f021a(0x2b7)](window,'popstate')['pipe'](_0x4dfa7e[_0x2f021a(0x1ab)](this[_0x2f021a(0x382)]),_0x4dfa7e[_0x2f021a(0x326)](0x1),_0x4dfa7e[_0x2f021a(0x262)](void 0x0));}[_0xa0f417(0x498)](_0x1be85e,_0x498501,_0x546282=!0x1){const _0x5b424e=_0xa0f417,_0x53687e=new URL(window[_0x5b424e(0x20d)][_0x5b424e(0x34c)]);_0x53687e[_0x5b424e(0x36f)]['set'](_0x1be85e,_0x498501),_0x546282?window[_0x5b424e(0x370)][_0x5b424e(0x3c6)]('','',_0x53687e[_0x5b424e(0x331)]()):window[_0x5b424e(0x370)][_0x5b424e(0x1ca)]('','',_0x53687e[_0x5b424e(0x331)]());}[_0xa0f417(0x1b6)](_0xa6e316,_0x780833=!0x1){const _0x156391=_0xa0f417,_0x24e37d=new URL(window[_0x156391(0x20d)][_0x156391(0x34c)]);_0x24e37d[_0x156391(0x36f)]['delete'](_0xa6e316),_0x780833?window[_0x156391(0x370)][_0x156391(0x3c6)]('','',_0x24e37d['toString']()):window[_0x156391(0x370)]['pushState']('','',_0x24e37d[_0x156391(0x331)]());}[_0xa0f417(0x465)](_0x4cbd41){const _0x151bd6=_0xa0f417;var _0x18e741;return(_0x18e741=new URL(window[_0x151bd6(0x20d)][_0x151bd6(0x34c)])[_0x151bd6(0x36f)][_0x151bd6(0x22f)](_0x4cbd41))!=null?_0x18e741:void 0x0;}}var _0x3d2df7=Object[_0xa0f417(0x43b)],_0x2daf84=Object[_0xa0f417(0x33f)],_0x41d3a7=(_0x4f6307,_0x960fa5,_0x543091)=>_0x960fa5 in _0x4f6307?_0x3d2df7(_0x4f6307,_0x960fa5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x543091}):_0x4f6307[_0x960fa5]=_0x543091,_0x1827b7=(_0x46ad6d,_0xd6103e,_0x1d2035,_0x144ce7)=>{const _0x830f0=_0xa0f417;for(var _0xc1e7d7=_0x144ce7>0x1?void 0x0:_0x144ce7?_0x2daf84(_0xd6103e,_0x1d2035):_0xd6103e,_0xb99f26=_0x46ad6d[_0x830f0(0x2be)]-0x1,_0x1e1a59;_0xb99f26>=0x0;_0xb99f26--)(_0x1e1a59=_0x46ad6d[_0xb99f26])&&(_0xc1e7d7=_0x1e1a59(_0xc1e7d7)||_0xc1e7d7);return _0xc1e7d7;},_0xfacbbf=(_0x4df433,_0x9bb98a)=>(_0x15ba1b,_0x340a1d)=>_0x9bb98a(_0x15ba1b,_0x340a1d,_0x4df433),_0x5b0412=(_0x13542b,_0x230e7a,_0x3e3f26)=>_0x41d3a7(_0x13542b,_0x230e7a+'',_0x3e3f26);const _0x36a50a='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x46719c[_0xa0f417(0x20a)]=class extends _0x3071e3[_0xa0f417(0x425)]{constructor(_0x355848=_0x47b56b,_0x1a8480,_0x3725b9,_0x26cc10){const _0x133589=_0xa0f417;super(),this[_0x133589(0x2b3)]=_0x355848,this[_0x133589(0x2ec)]=_0x1a8480,this[_0x133589(0x3d5)]=_0x3725b9,this[_0x133589(0x356)]=_0x26cc10;const {..._0x2a019a}=_0x3071e3[_0x133589(0x487)]({},_0x47b56b,this[_0x133589(0x2b3)]);this[_0x133589(0x356)][_0x133589(0x28e)](_0x8e8b27,_0x2a019a);}['onStarting'](){const _0x2a8ac0=_0xa0f417;this[_0x2a8ac0(0x29d)](),this['_initDependencies']();}[_0xa0f417(0x3b4)](){const _0x508076=_0xa0f417;this[_0x508076(0x47f)]();}[_0xa0f417(0x29d)](){const _0x11bab8=_0xa0f417;var _0x5aaf6c;const _0x5dde95=[[_0x379fb3],[_0x508c93],[_0x5d9273],[_0x4c5e65],[_0x3b13f7],[_0x5c3119],[_0xd9e09a,{'useClass':_0x1ffd2a}],[_0x46431e[_0x11bab8(0x375)],{'useClass':_0x46431e[_0x11bab8(0x364)]}],[_0x47c5ed[_0x11bab8(0x28a)],{'useClass':_0x3cf4ca}],[_0x46719c['DesktopCollaborationStatusDisplayController']],[_0x3237b3],[_0x30c33c],[_0xa13c2f],[_0xbbb1dc],[_0x46719c[_0x11bab8(0x448)]]];this[_0x11bab8(0x2b3)][_0x11bab8(0x27b)]&&_0x5dde95[_0x11bab8(0x1d3)]([_0x3b8dfa]),_0x3071e3[_0x11bab8(0x2de)](this[_0x11bab8(0x3d5)],_0x3071e3[_0x11bab8(0x47b)](_0x5dde95,(_0x5aaf6c=this[_0x11bab8(0x2b3)])==null?void 0x0:_0x5aaf6c[_0x11bab8(0x3b2)]));}[_0xa0f417(0x47f)](){const _0x385b42=_0xa0f417;this[_0x385b42(0x451)](this[_0x385b42(0x2ec)][_0x385b42(0x1ac)](_0x3071e3[_0x385b42(0x379)][_0x385b42(0x267)],[_0x45817c])),this[_0x385b42(0x451)](this[_0x385b42(0x2ec)][_0x385b42(0x1ac)](_0x3071e3['UniverInstanceType']['UNIVER_SHEET'],[_0x7c81f2]));}['_initDependencies'](){const _0x4477d1=_0xa0f417;_0x3071e3[_0x4477d1(0x239)](this[_0x4477d1(0x3d5)],[[_0xa13c2f],[_0x46719c[_0x4477d1(0x404)]],[_0x3237b3],[_0x30c33c],[_0x46719c[_0x4477d1(0x448)]],[_0x508c93]]),this[_0x4477d1(0x2b3)][_0x4477d1(0x27b)]&&_0x3071e3[_0x4477d1(0x239)](this[_0x4477d1(0x3d5)],[[_0x3b8dfa]]);}},_0x5b0412(_0x46719c[_0xa0f417(0x20a)],_0xa0f417(0x1ee),_0x36a50a),_0x46719c[_0xa0f417(0x20a)]=_0x1827b7([_0x3071e3[_0xa0f417(0x268)](_0x47c5ed[_0xa0f417(0x462)]),_0xfacbbf(0x1,_0x449944[_0xa0f417(0x47d)]),_0xfacbbf(0x2,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0xfacbbf(0x3,_0x3071e3['IConfigService'])],_0x46719c['UniverCollaborationClientUIPlugin']);var _0x31f76d=Object[_0xa0f417(0x33f)],_0x5022d8=(_0x4de455,_0x9cbd21,_0x36b5c0,_0x4cc573)=>{for(var _0x4328ba=_0x4cc573>0x1?void 0x0:_0x4cc573?_0x31f76d(_0x9cbd21,_0x36b5c0):_0x9cbd21,_0x48b0f1=_0x4de455['length']-0x1,_0x18365a;_0x48b0f1>=0x0;_0x48b0f1--)(_0x18365a=_0x4de455[_0x48b0f1])&&(_0x4328ba=_0x18365a(_0x4328ba)||_0x4328ba);return _0x4328ba;},_0x38251e=(_0x32a9ab,_0x23a247)=>(_0x3a058e,_0x18e676)=>_0x23a247(_0x3a058e,_0x18e676,_0x32a9ab);_0x46719c[_0xa0f417(0x321)]=class extends _0x47c5ed[_0xa0f417(0x1f0)]{constructor(_0x3ffa99,_0x24f13c,_0x418053,_0x5cbeff,_0x4a71e3){super(_0x3ffa99,_0x24f13c,_0x418053,_0x5cbeff,_0x4a71e3);}async[_0xa0f417(0x1df)](_0x5b6a8c){const _0x268d40=_0xa0f417,_0x4fbc00=await this['_getSessionTicket'](),_0x35a3dd=this[_0x268d40(0x1fe)](_0x5b6a8c,_0x4fbc00);return this['_doCreateSocket'](_0x35a3dd);}['_createSocketURL'](_0x2f3968,_0x4f2bfe){const _0x3f975d=_0xa0f417,_0x39b236=typeof window>'u'?new URL(_0x2f3968):new URL(_0x2f3968,window[_0x3f975d(0x20d)][_0x3f975d(0x3a1)]);_0x39b236[_0x3f975d(0x36f)]['set'](_0x3f975d(0x41b),_0x4f2bfe);const _0x40d3ed=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3f975d(0x20d)][_0x3f975d(0x246)]);return _0x40d3ed[_0x3f975d(0x22f)](_0x3f975d(0x39a))&&_0x39b236['searchParams'][_0x3f975d(0x41c)]('runId',_0x40d3ed['get'](_0x3f975d(0x39a))),_0x39b236[_0x3f975d(0x331)]();}async[_0xa0f417(0x1d1)](){const _0x38b9ad=_0xa0f417;var _0x45bcce,_0xade0b5,_0x492470;const _0x32cae3=this[_0x38b9ad(0x356)][_0x38b9ad(0x3e6)](_0x47c5ed[_0x38b9ad(0x431)]),_0x22c4e8=(_0x45bcce=_0x32cae3==null?void 0x0:_0x32cae3[_0x38b9ad(0x2a4)])!=null?_0x45bcce:_0x47c5ed['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x492470=(_0xade0b5=(await this[_0x38b9ad(0x430)][_0x38b9ad(0x22f)](_0x22c4e8,{'headers':{'Content-Type':_0x38b9ad(0x2ac)}}))[_0x38b9ad(0x1d5)])==null?void 0x0:_0xade0b5['ticket'])!=null?_0x492470:'';}},_0x46719c[_0xa0f417(0x321)]=_0x5022d8([_0x38251e(0x0,_0x3071e3[_0xa0f417(0x21f)](_0x3071e3[_0xa0f417(0x2c6)])),_0x38251e(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x46431e[_0xa0f417(0x1e6)])),_0x38251e(0x2,_0x3071e3['IConfigService']),_0x38251e(0x3,_0x3071e3['ILogService']),_0x38251e(0x4,_0x23de57[_0xa0f417(0x415)])],_0x46719c[_0xa0f417(0x321)]);var _0x4202ee=Object[_0xa0f417(0x33f)],_0x5079db=(_0x32d382,_0x145ad6,_0x1f835f,_0xbf3f4)=>{const _0x4f337b=_0xa0f417;for(var _0x9f0ea=_0xbf3f4>0x1?void 0x0:_0xbf3f4?_0x4202ee(_0x145ad6,_0x1f835f):_0x145ad6,_0x1abb63=_0x32d382[_0x4f337b(0x2be)]-0x1,_0x140509;_0x1abb63>=0x0;_0x1abb63--)(_0x140509=_0x32d382[_0x1abb63])&&(_0x9f0ea=_0x140509(_0x9f0ea)||_0x9f0ea);return _0x9f0ea;},_0x37623c=(_0x5dc73e,_0x433ca5)=>(_0x1c17f4,_0x1f29ef)=>_0x433ca5(_0x1c17f4,_0x1f29ef,_0x5dc73e);_0x46719c['RemoteUniscriptService']=class extends _0x3071e3[_0xa0f417(0x2bc)]{constructor(_0x343856,_0x501f94,_0x8380a3){const _0x2f8a76=_0xa0f417;super(),this[_0x2f8a76(0x1b9)]=_0x343856,this[_0x2f8a76(0x430)]=_0x501f94,this[_0x2f8a76(0x356)]=_0x8380a3;}async[_0xa0f417(0x359)](_0x204177,_0x336ce7,_0x55a721,..._0x343197){const _0x355f42=_0xa0f417;var _0x21a4be,_0x4c5cda,_0x4e6044,_0x369984;const _0x1f81f8=this['_instanceService']['getFocusedUnit']();if(!_0x1f81f8)throw new Error(_0x355f42(0x245));const _0x4d2eab=((_0x21a4be=this[_0x355f42(0x356)][_0x355f42(0x3e6)](_0x47c5ed[_0x355f42(0x27c)]))!=null?_0x21a4be:_0x47c5ed[_0x355f42(0x25d)])+'/'+_0x204177+_0x355f42(0x3a5)+_0x336ce7,_0x25c98c=new URL(window['location'][_0x355f42(0x34c)]),_0x4d06aa={'scriptId':_0x204177,'runId':(_0x4c5cda=_0x25c98c['searchParams'][_0x355f42(0x22f)](_0x355f42(0x39a)))!=null?_0x4c5cda:'','function':_0x336ce7,'unitId':_0x1f81f8['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x343197),'invokeId':(_0x4e6044=_0x55a721['invokeId'])!=null?_0x4e6044:'','executionId':(_0x369984=_0x55a721['executionId'])!=null?_0x369984:''};try{const _0x2ed111=await this[_0x355f42(0x430)]['post'](_0x4d2eab,{'body':_0x4d06aa});return _0x2ed111[_0x355f42(0x1d5)][_0x355f42(0x30a)]&&_0x2ed111[_0x355f42(0x1d5)][_0x355f42(0x30a)][_0x355f42(0x27f)]!==_0x2db43a['OK']?_0x355f42(0x30f):_0x2ed111[_0x355f42(0x1d5)][_0x355f42(0x472)];}catch{return _0x355f42(0x30f);}}},_0x46719c[_0xa0f417(0x420)]=_0x5079db([_0x37623c(0x0,_0x3071e3['IUniverInstanceService']),_0x37623c(0x1,_0x3071e3[_0xa0f417(0x21f)](_0x46431e[_0xa0f417(0x1e6)])),_0x37623c(0x2,_0x3071e3[_0xa0f417(0x3df)])],_0x46719c[_0xa0f417(0x420)]);const _0x462e7b=0x7530,_0x223cce=_0xa0f417(0x2f8);class _0x364e78 extends _0x3071e3[_0xa0f417(0x2bc)]{constructor(){const _0x85224b=_0xa0f417;super(),_0x4f1800(this,_0x85224b(0x3bf),_0x3071e3[_0x85224b(0x3f5)]()),_0x4f1800(this,_0x85224b(0x41a),new Set()),_0x4f1800(this,_0x85224b(0x342),new Map()),_0x4f1800(this,_0x85224b(0x276),null),_0x4f1800(this,_0x85224b(0x3ed),new Map()),_0x4f1800(this,_0x85224b(0x42e),new Map()),this['_init']();}['dispose'](){const _0x77c0d8=_0xa0f417;super['dispose'](),this[_0x77c0d8(0x3ed)]['forEach']((_0x3f8a4c,_0x15bfd7)=>this[_0x77c0d8(0x256)](_0x15bfd7)),this[_0x77c0d8(0x276)]&&window[_0x77c0d8(0x27a)](this[_0x77c0d8(0x276)]);}[_0xa0f417(0x241)](_0x5949f5){const _0x1a3f9f=_0xa0f417;return this[_0x1a3f9f(0x489)](_0x5949f5)[_0x1a3f9f(0x1f3)](_0x4dfa7e[_0x1a3f9f(0x47a)]());}['editingUnit'](_0x3978ca){const _0x517a58=_0xa0f417;this[_0x517a58(0x41a)][_0x517a58(0x23d)]===0x0&&this[_0x517a58(0x29b)](),this[_0x517a58(0x41a)]['add'](_0x3978ca),this[_0x517a58(0x2ba)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3978ca],'isForwarded':!0x1});}[_0xa0f417(0x33d)](_0x3f6d09){const _0x1fc874=_0xa0f417;this['_selfUnitIDs'][_0x1fc874(0x1fb)](_0x3f6d09),this[_0x1fc874(0x41a)][_0x1fc874(0x23d)]===0x0&&this['_heartbeatTimer']&&window[_0x1fc874(0x27a)](this[_0x1fc874(0x276)]);}[_0xa0f417(0x3e7)](){const _0x1838e9=_0xa0f417;this['disposeWithMe'](_0x3071e3[_0x1838e9(0x1ef)](_0x4dfa7e['fromEvent'](window,_0x1838e9(0x1cb))[_0x1838e9(0x270)](_0x32c315=>{const _0xcf03e=_0x1838e9;if(_0x32c315[_0xcf03e(0x2c0)]!==_0x223cce||!_0x32c315[_0xcf03e(0x20b)])return;const _0x174804=JSON[_0xcf03e(0x479)](_0x32c315[_0xcf03e(0x20b)]);this['_handleEvent'](_0x174804);}))),window[_0x1838e9(0x37a)](_0x1838e9(0x46b),()=>this[_0x1838e9(0x2ba)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1838e9(0x48d)](this[_0x1838e9(0x41a)])}));}['_handleEvent'](_0x52f319){const _0x4759e1=_0xa0f417;switch(_0x52f319[_0x4759e1(0x2e4)]){case 0x0:this[_0x4759e1(0x1d8)](_0x52f319);break;case 0x1:this[_0x4759e1(0x486)](_0x52f319);break;case 0x2:this[_0x4759e1(0x228)](_0x52f319);break;}}[_0xa0f417(0x1d8)](_0x57b9bf){const _0x5ae917=_0xa0f417,{unitIDs:_0x431a9f,memberID:_0x1de738,isForwarded:_0x3c4063}=_0x57b9bf;_0x431a9f[_0x5ae917(0x1da)](_0x187c08=>{const _0x2ea41f=_0x5ae917;if(!_0x3c4063&&this[_0x2ea41f(0x342)][_0x2ea41f(0x3bb)](_0x187c08)&&this[_0x2ea41f(0x489)](_0x187c08)[_0x2ea41f(0x26d)](_0x47c5ed[_0x2ea41f(0x3b8)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x2ea41f(0x3bb)](_0x187c08)||!this['_unitOnClients'][_0x2ea41f(0x22f)](_0x187c08)[_0x2ea41f(0x3bb)](_0x1de738)){const _0x4f2d1c=this[_0x2ea41f(0x342)][_0x2ea41f(0x22f)](_0x187c08)||new Set();_0x4f2d1c['add'](_0x1de738),this[_0x2ea41f(0x342)][_0x2ea41f(0x41c)](_0x187c08,_0x4f2d1c),this[_0x2ea41f(0x352)](_0x1de738);}}),_0x3c4063||this[_0x5ae917(0x2ba)]({'type':0x0,'memberID':this[_0x5ae917(0x3bf)],'unitIDs':[...this[_0x5ae917(0x41a)]],'isForwarded':!0x0});}[_0xa0f417(0x352)](_0x55177b){const _0x194f97=_0xa0f417;this[_0x194f97(0x256)](_0x55177b);const _0x50db7c=window[_0x194f97(0x3d1)](()=>{const _0x4c758a=_0x194f97;this[_0x4c758a(0x342)][_0x4c758a(0x1da)](_0x5cd890=>{const _0x431d0c=_0x4c758a;_0x5cd890[_0x431d0c(0x1fb)](_0x55177b);});},_0x462e7b*0x2);this[_0x194f97(0x3ed)]['set'](_0x55177b,_0x50db7c);}[_0xa0f417(0x256)](_0x533225){const _0x140338=_0xa0f417;if(this[_0x140338(0x3ed)][_0x140338(0x3bb)](_0x533225)){const _0x18737d=this[_0x140338(0x3ed)][_0x140338(0x22f)](_0x533225);_0x18737d&&window[_0x140338(0x49c)](_0x18737d),this[_0x140338(0x3ed)]['set'](_0x533225,null);}}['_handleLeaveEvent'](_0x5ac7eb){const _0x110b65=_0xa0f417,{memberID:_0x4b232c,unitIDs:_0x393e91}=_0x5ac7eb;_0x393e91[_0x110b65(0x1da)](_0x470930=>{const _0x1f8329=_0x110b65;var _0x39f9c8;const _0x4aeccf=this[_0x1f8329(0x342)][_0x1f8329(0x22f)](_0x470930);_0x4aeccf&&(_0x4aeccf['delete'](_0x4b232c),(_0x39f9c8=this[_0x1f8329(0x489)](_0x470930))==null||_0x39f9c8[_0x1f8329(0x26d)](_0x4aeccf['size']===0x0?_0x47c5ed['UnitStatus'][_0x1f8329(0x1aa)]:_0x47c5ed[_0x1f8329(0x3b8)]['OTHER_CLIENTS_EDITING']));}),this[_0x110b65(0x256)](_0x4b232c);}[_0xa0f417(0x228)](_0x1af4aa){const _0x30e7d5=_0xa0f417;this[_0x30e7d5(0x352)](_0x1af4aa[_0x30e7d5(0x363)]);}[_0xa0f417(0x2ba)](_0x1ee3c4){const _0x2d44b8=_0xa0f417;localStorage[_0x2d44b8(0x38e)](_0x223cce,JSON[_0x2d44b8(0x275)](_0x1ee3c4));}[_0xa0f417(0x29b)](){const _0x4b95bb=_0xa0f417;this[_0x4b95bb(0x276)]=window[_0x4b95bb(0x367)](()=>{const _0x4a0d67=_0x4b95bb;this[_0x4a0d67(0x2ba)]({'type':0x2,'memberID':this[_0x4a0d67(0x3bf)]});},_0x462e7b);}[_0xa0f417(0x489)](_0x422f53){const _0x28d92b=_0xa0f417;return this[_0x28d92b(0x42e)][_0x28d92b(0x3bb)](_0x422f53)||this[_0x28d92b(0x42e)][_0x28d92b(0x41c)](_0x422f53,new _0x4dfa7e[(_0x28d92b(0x309))](_0x47c5ed[_0x28d92b(0x3b8)][_0x28d92b(0x1aa)])),this[_0x28d92b(0x42e)]['get'](_0x422f53);}}_0x46719c[_0xa0f417(0x1c9)]=_0xd9e09a,_0x46719c[_0xa0f417(0x436)]=_0x1391f5,_0x46719c['WebBrowserSingleActiveUnitService']=_0x364e78,_0x46719c[_0xa0f417(0x328)]=_0x1ffd2a,Object[_0xa0f417(0x43b)](_0x46719c,Symbol[_0xa0f417(0x336)],{'value':_0xa0f417(0x329)});}));
|