@univerjs-pro/collaboration-client-ui 0.9.0 → 0.9.1-nightly.202507051607
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/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3f04(){const _0x29109e=['LOCAL_CACHE_INTERVAL','_handleLeaveEvent','moveTo','collabStatus.fetchMiss','_scheduleSaving','engine','PERMISSION_DENIED','rxjs','session.will-retry','concat','YUUMI_UNABLE_LOAD_URL','max','SOCKET_FAILED','getConfig','jsx','UNIVER_SHEET','ENSURE_SNAPSHOT_EXECUTION','_docSkeleton','univer-mr-2\x20univer-flex\x20univer-text-xl','getUnitId','roomMembers','svg','wsSessionTicketUrl','UniverCollaborationClientPlugin','purple.300','_cursorInfo$','React','950690ozKpDZ','_updateSubUnitFromURLParams','defIds','7900oqPcQO','bottom','@univerjs/rpc','_memberService','onLocalMutation','height','_clearOtherTimers','getCurrentRevOfUnit','addClipboardHook','_collabCursorController','transformSelections','SheetsSelectionsService','401208EnJRSi','SheetSkeletonManagerService','SetWorksheetActivateCommand','_sheetSkeletonManagerService','debounceTime','_hovered','isArray','_setupSubUnitSync','addObjects','clipPath','_handleHeartbeatEvent','backgroundColor','set','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','NodePositionConvertToRectRange','endColumn','NOT_FOUND','function','_updateCollabCursors','_docTransformStateCacheService','closePath','_draw','LICENSE_EXPORT_SIZE_EXCEEDED','_initCommandExecutedListener','stringify','current','_anchor','@univerjs/docs-ui','MessageType','@univerjs/design','DesktopCollaborationStatusDisplayController','save','univer-flex\x20univer-items-center','_startDocCollabCursor','INVITE_CODE_REQUIRED','subUnitId','asObservable','_refRangeService','3PUsPYt','getUnitStatus$','_cachedData','getColor','transformMutationsWithChangeset','unitID','fillRule','indexOf','TOO_MANY_REQUESTS','_onCursorDelete','setUndoRedoMutationParamsCache','top','jsxs','INVALID_INVITE_CODE','font','_logService','_createSocketURL','UniverRpc','activeSheet$','CollaborationStatusDisplay','SessionStatus','_docSkeletonManagerService','getSkeleton','_id','DocSelectionManagerService','Failed','ILocalStorageService','onCommandExecuted','attrs','_beforeCloseService','_lastPointer','mutations','ColorKit','colorChannel1','Subject','UniverDocs','status$','onMouseMove','_removeCollabCursors','docStateChange$','CollaborationSessionService','SetSelectionsOperation','PENDING','_renderManagerService','UniverProCollaboration','BehaviorSubject','urlChange$','getCollabEntity$','red.300','sessionTicket','PY_RUNTIME_SCRIPT_ERROR','_refreshCollabCursors','InsertRangeMoveDownCommandId','selection','replaceDocRanges','arc','_cursorShapes','YUUMI_SUBSCRIPTION_NOT_FOUND','VIEW_MAIN','UniverNetwork','YUUMI_TABLE_NOT_FOUND_IN_UNIT','measureText','collab-text-range-','_saveCache','subscribeEvent','transformIMECache','_updateURLWithCurrentState','getDocRanges','EffectRefRangId','_initEntityListener','unshift','SUBMIT_CHANGESET_TIMEOUT','trim','EMAIL_VERIFY_CODE_MISMATCH','undoState','unload','_roomMembers$','FETCH_MISS','icon','dispose','IRemoteInstanceService','10456jEWQTB','getViewport','get','_config','COMPLETION_FINISHED','_removeClearOtherTimer','IRenderManagerService','switchMap','ILogService','getCollabCursors$','_textBubble','useCallback','string','handleIRemoveRow','flatMap','debounce','width','unsubscribe','_httpService','getLocalCacheKey','sheetID','skeleton','DeleteRangeMoveLeftCommandId','hide','FromArray','tag','CollaborationDataLoaderController','cursorInfo','takeUntil','@univerjs-pro/collaboration-client','_color','_messageService','_name','getRenderById','getFocusedUnit','saveImage','LOGIN_FAILED','Workbook','HEADER_MENU','ONLINE','Vector2','serializeRangeWithSheet','useDependency','_configService','Injector','63KDRRSH','toString','rxjs/operators','subunit','collaboration.closeRoom','newValue','displayName','_backgroundColor','53880DOApnA','addHandlerCallback','registerRenderModule','values','_render','executionId','0\x200\x2017\x2016','_urlService','getStateCache','doc.mutation.rich-text-editing','_collaborationController','MUTATION','_handleJoinEvent','DataLoaderService','MemberService','getTypeOfUnitAdded$','add','6LMauuR','min','_docStateChangeManagerService','_initEvent','_injector','fromEvent','filter','getRelativeToViewportCoord','UniverCollaborationClientUIPlugin','_context','IURLService','createInstance','collabStatus.syncing','RemoteUniscriptService','_collaborationUIEventService','getCurrent','setConfig','pipe','some','translate(.97)','_transformService','_ensureSubject','forEach','APPLY_REVISION_CONFILICT','contains','APPLY_NON_SEQUENTIAL_REVISION','className','RevisionService','_getMergeRange','runOnServer','split','search','getTypeOfUnitDisposed$','COLORS','_toggleOnline','@univerjs/drawing','addObject','Tools','handleInsertRangeMoveRight','onPointerEnter$','reconnect','UniverEngineRender','sheetId','imageSourceType','toDisposable','_getAnchorBounding','_docClipboardService','clearInterval','EMAIL_HAS_BEEN_BOUND','ICommandService','cursorInfo$','UNDEFINED','_localCacheService','setParam','searchParams','startRow','text','getSheetId','currentColor','_entities','UNRECOGNIZED','currentSkeleton$','getValue','includes','_session','origin','1em','toStringTag','IDocClipboardService','@univerjs/core','source','drawWith','ILocalCacheService','UniverUi','getVpScrollXYInfoByPosToVp','getParam','IConfigService','LOCAL_CACHE_INTERVAL_KEY','setTimeout','exhaustSavingTask','_handleEvent','InsertRangeMoveRightCommandId','_colorIndex','AWAITING_WITH_PENDING','_getSaveTimeout','onPointerLeave$','_transformPreviousActiveRange','column','_instanceService','application/json','getActiveSheet','entries','_unitOnClients','textRanges','_dataLoaderService','CONFLICT','distinctUntilChanged','RichTextEditingMutation','object','_localeService','getItem','_eventUnsubscribe','RegularPolygon','Inject','_saveTaskMap','history','_range','body','idSuffix','946sSgSbu','_initStatusComponent','_initStatusListener','syncEditingCollabCursor','YUUMI_AI_RUN_FAILED','onRendered','USERS_LEAVE','registerRefRange','CONNECTOR_DATA_TOO_LARGE','endRow','replaceState','collabStatus.notCollab','enableLocalCache','from','@univerjs/sheets','name','startsWith','beginPath','APPLY_PERMISSION_DENIED','124510lDFimw','resize','INVITE_CODE_ALREADY_BOUND','_imageIoService','SheetCollabCursorShape','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','range','_entityInit$','redoState','UNAUTHENTICATED','M0\x200H16V16H0z','_onRefRangeChange','children','DependentOn','_online','_revisionService','IUniverInstanceService','_unitStatus','_docTransformIMECacheService','@univerjs/docs','hasOwnProperty','DOC_RANGE_TYPE','ThemeService','has','focused$','with','black','_univerInstanceService','CollaborationSocketService','WebSocketService','OffLineIcon','CollaborationStatus','LocaleService','_uiPartsService','setInterval','onStarting','LICENSE_MAX_UNITS_EXCEEDED','exports','ITransformService','CollaborationUIEventId','getOwnPropertyDescriptor','UniverCore','subscribe','permission.content','_collabCursorState$','init','Error','UniverSheets','useRef','substring','INVALID_ARGUMENT','actions','error','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','combineLatest','[CollaborationDataLoaderController]','_themeService','setShapeProps','unit','RxDisposable','_transformHistoryAndStateStack','NodePositionConvertToCursor','runRefRangeMutations','CollaborationController','LICENSE_IMPORT_SIZE_EXCEEDED','isActive','_document','url(#$1','on-line-icon','getUnhiddenWorksheets','getSheetBySheetId','YUUMI_RATE_OVER_LIMIT','USER_NOT_INVITED_CODE','InsertColCommandId','ALREADY_EXISTS','then','@univerjs/engine-formula','transformStateCache','_shapes','uni.network.url-service','apply','_init','amd','APPLY_REJECT','_colorAssignService','_commandService','createSocket','Shape','send','INotificationService','propertyIsEnumerable','data','SOCKET_FAILED_RETRY','fromEventSubject','whenReady','deserializeRangeWithSheet','fillText','OTHER_CLIENT_EDITING','session.collaboration-timeout','ISnapshotServerService','_syncEditingCollabCursorService','MOBILE_HAS_BEEN_BOUND','findNodePositionByCharIndex','transformRemoteChangeset','getMember','CHANGESET_REVISION_CONFILICT','setStateCache','_scheduleClearOtherTimer','_scene','_collabSessionService','_docSyncEditingCollabCursorService','CollaborationEvent','_drawAnchor','_notificationService','Unknown\x20user','getCurrentSelections','post','_initResize','SNAPSHOT_HAS_BEEN_REMOVED','AWAITING','addEventListener','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','path','...','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','disposeWithMe','row','next','collab-rect-range-','_cursor','executeCommand','_anchorDot','_startSheetCollabCursor','handleIRemoveCol','saveTaskMap','defs','_status$','collaboration-client-ui.config','_docTransformSelectionsService','none','RECT','transformMutation','InsertRowCommandId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','complete','RefRangeService','ACTIVE_UNIT_EVENT_CHANNEL','_cursors','getCoordByCell','triggerDblclick','getCurrentUnitForType','SetDocZoomRatioOperation','defineProperty','loadUnit','YUUMI_CONNECTOR_URL_NOT_FOUND','key','mergeOverrideWithDependencies','MOBILE_VERIFY_CODE_MISMATCH','params','updateOfflineData','call','getUndoRedoMutationParamsCache','event$','UniverSheetsUi','onPointerMove$','@univerjs/ui','sessionStatus$','href','m1Prime','deepClone','isTransformMutationsWithChangesetSuccess','collab-text-anchor-','clearTimeout','makeDirty','IImageIoService','http://www.w3.org/2000/svg','loadOfflineData','INTERNAL_ERROR','#FFF','_toggleOffline','DocIMEInputManagerService','color','runId','assign','on-line-icon_clip0_910_349','Disposable','_assignedColors','LICENSE_DISTRO_REJECTED','parse','BrowserCollaborationSocketService','useObservable','forwardRef','APPLY_DUPLICATED','_scheduleHeartbeat','pushState','TEXT','operators','collaboration.single-unit.warning','_hideTimer','NOT_COLLAB','ranges','getOwnPropertySymbols','_drawTextRange','_disabled','WECHAT_HAS_BEEN_BOUND','lineTo','type','prototype','DocCollaborationEntity','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','HTTPService','rgba(255,\x20255,\x20255,\x200.01)','_updateLocalCursor','fillStyle','fill','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getScale','restore','map','Tooltip','getOffsetConfig','result','@univerjs-pro/collaboration','_transformUndoRedoStack','_drawRectRange','react','getActiveRange','OFFLINE','collabCursorState$','Rect','DocSkeletonManagerService','NO_OTHER_CLIENTS_EDITING','pluginName','location','Warning','_setupBeforeClosingHandler','m2Prime','generateRandomId','_heartbeatTimer','RemoveRowCommandId','UniverEngineFormula','currentTheme$','IMessageService','TEXT_RANGE_LAYER_INDEX','replace','handleDeleteRangeMoveUp','IUIPartsService','_getSheetObject','extend','DisposableCollection','RemoveColCommandId','YUUMI_ALL_TABLES_IS_INVALID','disposeUnit','collaboration-client.offline-data-not-saved','_handleHover','YUUMI_URL_COL_OUT_OF_RANGE','UniverInstanceType','collabStatus.offline','UniverProCollaborationClientUi','_selfUnitIDs','1422uPnEoQ','delete','transform','assignAColorForMemberID','Module','unitId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CLOSE_ROOM','setItem','YUUMI_ASYNCIO_CANCELLED','find','show','_registerRenderDependencies','UPDATE_CURSOR','white','evenodd','UnitStatus','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','length','getUniverSheetInstance','off-line-icon','size','SNAPSHOT_INVALID_SNAPSHOT','dispose$','_onCursorUpdate','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_hover','handleInsertRow','round','_labelPosition','getColorFromTheme','onTransformChange$','getSheetObject','getRangePointData','UNIVER_DOC','createElement','CommandType','725628UvLYkg','_localStorageService','debug','mask','off-line-icon_clip0_910_343','selections','0\x200\x2016\x2016','isTransformMutationFailure','url(#off-line-icon_clip0_910_343)','push','_send','merge','xlink:href','INVITE_CODE_HAS_BEEN_UES'];_0x3f04=function(){return _0x29109e;};return _0x3f04();}function _0x3c84(_0x544c68,_0x15fd52){const _0x3f04b6=_0x3f04();return _0x3c84=function(_0x3c849b,_0x2dcf1c){_0x3c849b=_0x3c849b-0x128;let _0x3d5a22=_0x3f04b6[_0x3c849b];return _0x3d5a22;},_0x3c84(_0x544c68,_0x15fd52);}(function(_0x5c7557,_0x6c8f88){const _0x43c1af=_0x3c84,_0x5a77d6=_0x5c7557();while(!![]){try{const _0x305f58=-parseInt(_0x43c1af(0x2e0))/0x1*(parseInt(_0x43c1af(0x158))/0x2)+-parseInt(_0x43c1af(0x282))/0x3+parseInt(_0x43c1af(0x2ba))/0x4+parseInt(_0x43c1af(0x2ab))/0x5*(parseInt(_0x43c1af(0x377))/0x6)+-parseInt(_0x43c1af(0x35e))/0x7*(-parseInt(_0x43c1af(0x331))/0x8)+parseInt(_0x43c1af(0x25d))/0x9*(-parseInt(_0x43c1af(0x2ae))/0xa)+parseInt(_0x43c1af(0x145))/0xb*(parseInt(_0x43c1af(0x366))/0xc);if(_0x305f58===_0x6c8f88)break;else _0x5a77d6['push'](_0x5a77d6['shift']());}catch(_0x3bb538){_0x5a77d6['push'](_0x5a77d6['shift']());}}}(_0x3f04,0x20ee2),function(_0x5a4944,_0x5877ac){const _0x1c4c70=_0x3c84;typeof exports==_0x1c4c70(0x13a)&&typeof module<'u'?_0x5877ac(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x1c4c70(0x2cb)&&define[_0x1c4c70(0x1ab)]?define([_0x1c4c70(0x17d),_0x1c4c70(0x34e),_0x1c4c70(0x3bc),'@univerjs/engine-render','@univerjs/network',_0x1c4c70(0x2d5),_0x1c4c70(0x39a),'rxjs',_0x1c4c70(0x237),_0x1c4c70(0x16b),_0x1c4c70(0x1a5),_0x1c4c70(0x153),_0x1c4c70(0x360),'@univerjs/sheets-ui','react/jsx-runtime',_0x1c4c70(0x1fe),_0x1c4c70(0x2d7),_0x1c4c70(0x23a),_0x1c4c70(0x2b0)],_0x5877ac):(_0x5a4944=typeof globalThis<'u'?globalThis:_0x5a4944||self,_0x5877ac(_0x5a4944[_0x1c4c70(0x25b)]={},_0x5a4944['UniverProCollaborationClient'],_0x5a4944[_0x1c4c70(0x181)],_0x5a4944[_0x1c4c70(0x3a0)],_0x5a4944[_0x1c4c70(0x31b)],_0x5a4944['UniverDocsUi'],_0x5a4944['UniverDrawing'],_0x5a4944[_0x1c4c70(0x297)],_0x5a4944[_0x1c4c70(0x30c)],_0x5a4944[_0x1c4c70(0x303)],_0x5a4944[_0x1c4c70(0x249)],_0x5a4944[_0x1c4c70(0x187)],_0x5a4944[_0x1c4c70(0x297)][_0x1c4c70(0x21d)],_0x5a4944[_0x1c4c70(0x1fc)],_0x5a4944[_0x1c4c70(0x2aa)],_0x5a4944[_0x1c4c70(0x3c0)],_0x5a4944['UniverDesign'],_0x5a4944[_0x1c4c70(0x2aa)],_0x5a4944[_0x1c4c70(0x2f1)]));}(this,function(_0x1a1600,_0x158f6a,_0x5381a1,_0x425989,_0x232e6b,_0x12cdf9,_0x2b197e,_0x3bfc2e,_0x13a7ce,_0x396d1c,_0x5e0fe2,_0x35314c,_0x412ed1,_0x478542,_0x36f141,_0x30a129,_0xeba7cf,_0x585a14,_0x156ba4){'use strict';const _0x18936a=_0x3c84;var _0x46ea05=Object[_0x18936a(0x1f1)],_0x2da2bc=(_0x20eb7e,_0x12ddf2,_0x5875a3)=>_0x12ddf2 in _0x20eb7e?_0x46ea05(_0x20eb7e,_0x12ddf2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5875a3}):_0x20eb7e[_0x12ddf2]=_0x5875a3,_0x5178b9=(_0x56f2b8,_0x581467,_0x2ee185)=>_0x2da2bc(_0x56f2b8,typeof _0x581467!='symbol'?_0x581467+'':_0x581467,_0x2ee185),_0xec1125=Object[_0x18936a(0x180)],_0x50d252=(_0x4171de,_0xbf8f7f,_0x415e41,_0x376040)=>{const _0x3e4ff7=_0x18936a;for(var _0x41a69b=_0x376040>0x1?void 0x0:_0x376040?_0xec1125(_0xbf8f7f,_0x415e41):_0xbf8f7f,_0x3d6dd8=_0x4171de[_0x3e4ff7(0x26f)]-0x1,_0x49231f;_0x3d6dd8>=0x0;_0x3d6dd8--)(_0x49231f=_0x4171de[_0x3d6dd8])&&(_0x41a69b=_0x49231f(_0x41a69b)||_0x41a69b);return _0x41a69b;},_0x2f51ea=(_0x1895d9,_0x4527ff)=>(_0x3688ed,_0x47eb44)=>_0x4527ff(_0x3688ed,_0x47eb44,_0x1895d9);let _0x5f3072=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x227460,_0x45aa84){const _0x50b373=_0x18936a;super(),this['_docClipboardService']=_0x227460,this[_0x50b373(0x15b)]=_0x45aa84,this[_0x50b373(0x1aa)]();}[_0x18936a(0x1aa)](){const _0x4d2c9f=_0x18936a,_0x47f945=this;this[_0x4d2c9f(0x1d6)](this[_0x4d2c9f(0x3a5)][_0x4d2c9f(0x2b6)]({'onBeforePasteImage':async _0x4b62b1=>{const _0x2b35f7=_0x4d2c9f,_0x5942e2=await _0x47f945[_0x2b35f7(0x15b)][_0x2b35f7(0x354)](_0x4b62b1);return _0x5942e2?{'source':_0x5942e2[_0x2b35f7(0x3bd)],'imageSourceType':_0x5942e2[_0x2b35f7(0x3a2)]}:null;}}));}};_0x5f3072=_0x50d252([_0x2f51ea(0x0,_0x12cdf9[_0x18936a(0x3bb)]),_0x2f51ea(0x1,_0x2b197e[_0x18936a(0x207)])],_0x5f3072);const _0x233edb=[_0x18936a(0x2a8),'jiqing.500','green.600',_0x18936a(0x310),'blue.400','yellow.400'];class _0x703bf0 extends _0x5381a1[_0x18936a(0x212)]{constructor(){const _0x40b908=_0x18936a;super(...arguments),_0x5178b9(this,_0x40b908(0x213),new Map()),_0x5178b9(this,_0x40b908(0x12a),0x0);}[_0x18936a(0x260)](_0x3b0aa2){const _0xb8d111=_0x18936a;if(this[_0xb8d111(0x213)][_0xb8d111(0x16f)](_0x3b0aa2))return this[_0xb8d111(0x213)][_0xb8d111(0x333)](_0x3b0aa2);const _0x3a1fde=_0x233edb[this[_0xb8d111(0x12a)]];return this[_0xb8d111(0x12a)]=(this[_0xb8d111(0x12a)]+0x1)%_0x233edb[_0xb8d111(0x26f)],this['_assignedColors']['set'](_0x3b0aa2,_0x3a1fde),_0x3a1fde;}}function _0x3e2e44(_0xf5a940){const _0x4f4e45=_0x18936a;let _0x174223='';for(const _0x3b5d68 of _0xf5a940){const {startOffset:_0x5f53eb,endOffset:_0x3ae88b,isActive:_0x1d952d,rangeType:_0x1e256c,segmentId:_0x36f754,segmentPage:_0x54c7eb}=_0x3b5d68;_0x174223[_0x4f4e45(0x26f)]&&(_0x174223+=','),_0x174223+=_0x5f53eb+':'+_0x3ae88b+':'+(_0x1d952d?'1':'0')+':'+_0x1e256c+':'+_0x36f754+':'+_0x54c7eb;}return _0x174223;}function _0x57fbf8(_0x19b23b){const _0xfff602=_0x18936a,_0x5054e7=_0x19b23b[_0xfff602(0x395)](','),_0x5bdbe2=[];for(const _0x52b75d of _0x5054e7){const [_0x1fa969,_0x17aab0,_0x370646,_0x2449d5,_0x51cdc1,_0x2cc6fe]=_0x52b75d['split'](':');_0x5bdbe2[_0xfff602(0x28b)]({'startOffset':Number(_0x1fa969),'endOffset':Number(_0x17aab0),'collapsed':_0x1fa969===_0x17aab0,'isActive':_0x370646==='1','rangeType':_0x2449d5===_0x5381a1[_0xfff602(0x16d)][_0xfff602(0x21c)]?_0x5381a1[_0xfff602(0x16d)][_0xfff602(0x21c)]:_0x5381a1['DOC_RANGE_TYPE'][_0xfff602(0x1e5)],'segmentId':typeof _0x51cdc1=='string'?String(_0x51cdc1):'','segmentPage':Number(_0x2cc6fe!=null?_0x2cc6fe:-0x1)});}return _0x5bdbe2[_0xfff602(0x389)](_0x1c14a7=>_0x1c14a7[_0xfff602(0x19a)])||(_0x5bdbe2[0x0]['isActive']=!0x0),_0x5bdbe2;}class _0x136b53 extends _0x5381a1[_0x18936a(0x194)]{constructor(){const _0x1913d4=_0x18936a;super(...arguments),_0x5178b9(this,_0x1913d4(0x184),new _0x3bfc2e[(_0x1913d4(0x30d))](null)),_0x5178b9(this,_0x1913d4(0x23d),this[_0x1913d4(0x184)][_0x1913d4(0x2de)]());}[_0x18936a(0x148)](_0x24d335){const _0x32598f=_0x18936a,{unitID:_0x163abd,memberID:_0x14f3a0,textRanges:_0x25696b}=_0x24d335,_0x39197c=_0x3e2e44(_0x25696b);if(_0x39197c==='')return;const _0x57a55b={'unitID':_0x163abd,'memberID':_0x14f3a0,'selection':_0x39197c};this['_collabCursorState$'][_0x32598f(0x1d8)](_0x57a55b);}}var _0x59a3ad=Object['getOwnPropertyDescriptor'],_0x4e27e6=(_0x4b3c78,_0x56dffb,_0x9720ab,_0x36e548)=>{for(var _0x5b0731=_0x36e548>0x1?void 0x0:_0x36e548?_0x59a3ad(_0x56dffb,_0x9720ab):_0x56dffb,_0x2bd0d3=_0x4b3c78['length']-0x1,_0x44cfe7;_0x2bd0d3>=0x0;_0x2bd0d3--)(_0x44cfe7=_0x4b3c78[_0x2bd0d3])&&(_0x5b0731=_0x44cfe7(_0x5b0731)||_0x5b0731);return _0x5b0731;},_0x172ef5=(_0x1bc2d3,_0xf38faf)=>(_0x4f5eba,_0x13d427)=>_0xf38faf(_0x4f5eba,_0x13d427,_0x1bc2d3);const _0x3928b1=0x12c,_0x486c4e=0x64;let _0x2fa602=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x4b31a8,_0x6b81d4,_0x364387,_0xb9c138,_0x2bcadf,_0x3a116e,_0x37d394,_0xb9604,_0x3a1e48){const _0x594853=_0x18936a;super(),_0x5178b9(this,_0x594853(0x166),!0x1),_0x5178b9(this,_0x594853(0x1aa),!0x1),_0x5178b9(this,_0x594853(0x2a9),new _0x3bfc2e[(_0x594853(0x30d))](new Map())),_0x5178b9(this,_0x594853(0x3a9),this[_0x594853(0x2a9)][_0x594853(0x2de)]()),_0x5178b9(this,'_roomMembers$',new _0x3bfc2e[(_0x594853(0x30d))]([])),_0x5178b9(this,'roomMembers$',this[_0x594853(0x32c)][_0x594853(0x388)](_0x3bfc2e[_0x594853(0x2be)](_0x3928b1))),_0x5178b9(this,_0x594853(0x22d),_0x5381a1[_0x594853(0x340)](_0x1f18bf=>{const _0x4d47fd=_0x594853,_0x14f0c2={'eventID':_0x13a7ce['CollaborationEvent'][_0x4d47fd(0x26a)],'data':{'unitID':this[_0x4d47fd(0x2e5)],'memberID':this[_0x4d47fd(0x3b7)]['getMemberID'](),'selection':_0x3e2e44(_0x1f18bf)}};this['_session'][_0x4d47fd(0x1b1)](_0x14f0c2,this[_0x4d47fd(0x2e5)]);},_0x486c4e)),(this['unitID']=_0x4b31a8,this[_0x594853(0x3b7)]=_0x6b81d4,this[_0x594853(0x37b)]=_0x364387,this[_0x594853(0x1ad)]=_0xb9c138,this[_0x594853(0x2b1)]=_0x2bcadf,this[_0x594853(0x1bd)]=_0x3a116e,this[_0x594853(0x38b)]=_0x37d394,this[_0x594853(0x173)]=_0xb9604,this['_commandService']=_0x3a1e48);}get[_0x18936a(0x34c)](){const _0x473c42=_0x18936a;return this[_0x473c42(0x2a9)]['getValue']();}get['roomMembers'](){const _0x6dc639=_0x18936a;return this[_0x6dc639(0x32c)]['getValue']();}[_0x18936a(0x32f)](){const _0x174e66=_0x18936a;super[_0x174e66(0x32f)](),this[_0x174e66(0x2a9)]['next'](new Map()),this[_0x174e66(0x2a9)][_0x174e66(0x1e9)](),this[_0x174e66(0x32c)][_0x174e66(0x1d8)]([]),this['_roomMembers$']['complete']();}[_0x18936a(0x185)](){const _0x5f2526=_0x18936a;this[_0x5f2526(0x1aa)]||(this['_init']=!0x0,this[_0x5f2526(0x3b7)]['sessionStatus$']['pipe'](_0x3bfc2e['takeUntil'](this['dispose$']))[_0x5f2526(0x182)](_0x3d4f59=>{const _0x428baf=_0x5f2526;_0x3d4f59===_0x158f6a['SessionStatus'][_0x428baf(0x358)]?this[_0x428baf(0x399)]():this[_0x428baf(0x20c)]();}),this[_0x5f2526(0x3b7)]['event$'][_0x5f2526(0x388)](_0x3bfc2e[_0x5f2526(0x34d)](this[_0x5f2526(0x274)]))[_0x5f2526(0x182)](_0x49f214=>{const _0x34b86b=_0x5f2526,_0x454ed2=_0x49f214['eventID'];_0x454ed2===_0x13a7ce[_0x34b86b(0x1c8)][_0x34b86b(0x26a)]&&this[_0x34b86b(0x275)](_0x49f214),_0x454ed2===_0x13a7ce['CollaborationEvent'][_0x34b86b(0x14b)]&&this[_0x34b86b(0x2e9)](_0x49f214);}),this[_0x5f2526(0x1d6)](this[_0x5f2526(0x1ae)][_0x5f2526(0x2fb)](_0x4c255b=>{const _0x1fd0d2=_0x5f2526,_0x1ac6ad=_0x4c255b[_0x1fd0d2(0x1f7)];_0x1ac6ad!=null&&this['_online']&&_0x4c255b['id']===_0x396d1c['SetTextSelectionsOperation']['id']&&_0x1ac6ad[_0x1fd0d2(0x262)]===this[_0x1fd0d2(0x2e5)]&&_0x1ac6ad['isEditing']===!0x1&&_0x1ac6ad['ranges'][_0x1fd0d2(0x26f)]>0x0&&this[_0x1fd0d2(0x22d)](_0x1ac6ad[_0x1fd0d2(0x221)]);})),this['_syncEditingCollabCursorService'][_0x5f2526(0x23d)]['pipe'](_0x3bfc2e[_0x5f2526(0x34d)](this[_0x5f2526(0x274)]))[_0x5f2526(0x182)](_0x396716=>{const _0x5492f8=_0x5f2526;if((_0x396716==null?void 0x0:_0x396716[_0x5492f8(0x2e5)])!==this['unitID'])return;const _0x679a4d={'eventID':_0x13a7ce['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x396716};this[_0x5492f8(0x275)](_0x679a4d);}),this[_0x5f2526(0x1d6)](this[_0x5f2526(0x1ae)]['onCommandExecuted'](_0x58378c=>{const _0x4e4c38=_0x5f2526;if(_0x58378c[_0x4e4c38(0x1f7)]==null)return;const _0x4a0ba3=_0x58378c[_0x4e4c38(0x1f7)];if(_0x58378c['id']!==_0x396d1c[_0x4e4c38(0x139)]['id']||_0x4a0ba3[_0x4e4c38(0x262)]!==this[_0x4e4c38(0x2e5)])return;const _0x2f6bc1={'id':_0x4e4c38(0x36f),'params':_0x4a0ba3},_0x8cce38=this[_0x4e4c38(0x34c)];for(const [_0x1a7e3b,_0x4838bb]of _0x8cce38){const _0x3d6c24={'id':_0x4e4c38(0x36f),'params':{'unitId':this[_0x4e4c38(0x2e5)],'actions':null,'textRanges':_0x4838bb[_0x4e4c38(0x221)]}},_0x302951=this[_0x4e4c38(0x38b)][_0x4e4c38(0x1e6)](_0x2f6bc1,_0x3d6c24,!0x1);if(_0x13a7ce['isTransformMutationFailure'](_0x302951))throw _0x302951[_0x4e4c38(0x18c)];_0x8cce38[_0x4e4c38(0x2c6)](_0x1a7e3b,{..._0x4838bb,'ranges':_0x302951['m2Prime'][_0x4e4c38(0x1f7)][_0x4e4c38(0x135)]});}queueMicrotask(()=>{const _0x16ebcb=_0x4e4c38;this[_0x16ebcb(0x2a9)][_0x16ebcb(0x1d8)](_0x8cce38);});})));}['_onCursorUpdate'](_0x45aa8a){const _0x534945=_0x18936a;var _0x197fa9,_0x4d994d;const {memberID:_0x48125e,selection:_0x4e01d8}=_0x45aa8a[_0x534945(0x1b4)],_0x220289=_0x57fbf8(_0x4e01d8),_0x178bdb=(_0x4d994d=(_0x197fa9=this[_0x534945(0x2b1)][_0x534945(0x1c1)](this['unitID'],_0x48125e))==null?void 0x0:_0x197fa9[_0x534945(0x154)])!=null?_0x4d994d:'Unknown\x20user',_0xce247c={'color':this[_0x534945(0x1ad)]['assignAColorForMemberID'](_0x48125e),'name':_0x178bdb,'ranges':_0x220289},_0x8abefb=this[_0x534945(0x34c)];_0x8abefb['set'](_0x48125e,_0xce247c),this['_cursorInfo$'][_0x534945(0x1d8)](_0x8abefb);}['_onCursorDelete'](_0x1b87c8){const _0x1ed3aa=_0x18936a,{memberID:_0x36886e}=_0x1b87c8[_0x1ed3aa(0x1b4)],_0x46fffc=this[_0x1ed3aa(0x34c)];_0x46fffc[_0x1ed3aa(0x25e)](_0x36886e),this['_cursorInfo$'][_0x1ed3aa(0x1d8)](_0x46fffc);}[_0x18936a(0x399)](){const _0x1e8842=_0x18936a;var _0x4fa0f8;if(this[_0x1e8842(0x166)]=!0x0,((_0x4fa0f8=this['_univerInstanceService'][_0x1e8842(0x353)]())==null?void 0x0:_0x4fa0f8['getUnitId']())!==this[_0x1e8842(0x2e5)])return;const _0x5b543b=this['_injector'][_0x1e8842(0x333)](_0x396d1c[_0x1e8842(0x2f8)])['getDocRanges']();Array[_0x1e8842(0x2c0)](_0x5b543b)&&_0x5b543b[_0x1e8842(0x26f)]>0x0&&this['_updateLocalCursor'](_0x5b543b);}[_0x18936a(0x20c)](){this['_online']=!0x1;}};_0x2fa602=_0x4e27e6([_0x172ef5(0x2,_0x5381a1['Inject'](_0x5381a1['Injector'])),_0x172ef5(0x3,_0x5381a1[_0x18936a(0x13f)](_0x703bf0)),_0x172ef5(0x4,_0x5381a1[_0x18936a(0x13f)](_0x158f6a[_0x18936a(0x374)])),_0x172ef5(0x5,_0x5381a1[_0x18936a(0x13f)](_0x136b53)),_0x172ef5(0x6,_0x13a7ce['ITransformService']),_0x172ef5(0x7,_0x5381a1['IUniverInstanceService']),_0x172ef5(0x8,_0x5381a1['ICommandService'])],_0x2fa602);var _0x13afc4=Object[_0x18936a(0x180)],_0x109bda=(_0x5946f5,_0x426325,_0x4d9986,_0x222d6b)=>{const _0x22d012=_0x18936a;for(var _0x2d09da=_0x222d6b>0x1?void 0x0:_0x222d6b?_0x13afc4(_0x426325,_0x4d9986):_0x426325,_0x15ca6c=_0x5946f5[_0x22d012(0x26f)]-0x1,_0x4ee1f4;_0x15ca6c>=0x0;_0x15ca6c--)(_0x4ee1f4=_0x5946f5[_0x15ca6c])&&(_0x2d09da=_0x4ee1f4(_0x2d09da)||_0x2d09da);return _0x2d09da;},_0x291a8a=(_0x1fce52,_0x2669cd)=>(_0x4840af,_0x338274)=>_0x2669cd(_0x4840af,_0x338274,_0x1fce52);const _0x4880b4=0x12c,_0x418529=0x64,_0x2bfde9=()=>{let _0x4bf04f=[],_0x3a0cc6=!0x1;return _0x34485d=>{_0x4bf04f['push'](_0x34485d),_0x3a0cc6||(_0x3a0cc6=!0x0,setTimeout(()=>{const _0x1f39fc=_0x3c84;_0x4bf04f[_0x1f39fc(0x38d)](_0x5e1cc1=>_0x5e1cc1()),_0x4bf04f=[],_0x3a0cc6=!0x1;}));};};let _0x41148b=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x578bdd,_0x57e100,_0xd04af4,_0x3a24da,_0xff0287,_0x44f082,_0x3245c9,_0x4e3b55){const _0x5c41f6=_0x18936a;super(),_0x5178b9(this,_0x5c41f6(0x166),!0x1),_0x5178b9(this,_0x5c41f6(0x1aa),!0x1),_0x5178b9(this,_0x5c41f6(0x2a9),new _0x3bfc2e['BehaviorSubject'](new Map())),_0x5178b9(this,_0x5c41f6(0x3a9),this['_cursorInfo$'][_0x5c41f6(0x2de)]()),_0x5178b9(this,_0x5c41f6(0x32c),new _0x3bfc2e['BehaviorSubject']([])),_0x5178b9(this,'roomMembers$',this['_roomMembers$'][_0x5c41f6(0x388)](_0x3bfc2e[_0x5c41f6(0x2be)](_0x4880b4))),_0x5178b9(this,_0x5c41f6(0x22d),_0x5381a1[_0x5c41f6(0x340)]((_0x57551e,_0xb98e97)=>{const _0x33747b=_0x5c41f6,_0x539141={'eventID':_0x13a7ce[_0x33747b(0x1c8)][_0x33747b(0x26a)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x5e0fe2[_0x33747b(0x35a)](_0x57551e,_0xb98e97[_0x33747b(0x15e)])}};this[_0x33747b(0x3b7)][_0x33747b(0x1b1)](_0x539141,this[_0x33747b(0x2e5)]);},_0x418529)),(this[_0x5c41f6(0x2e5)]=_0x578bdd,this[_0x5c41f6(0x3b7)]=_0x57e100,this[_0x5c41f6(0x37b)]=_0xd04af4,this['_colorAssignService']=_0x3a24da,this[_0x5c41f6(0x2b1)]=_0xff0287,this[_0x5c41f6(0x173)]=_0x44f082,this[_0x5c41f6(0x1ae)]=_0x3245c9,this[_0x5c41f6(0x2df)]=_0x4e3b55);}get['cursorInfo'](){const _0xb62a6c=_0x18936a;return this[_0xb62a6c(0x2a9)]['getValue']();}get[_0x18936a(0x2a4)](){const _0x2ab4d3=_0x18936a;return this[_0x2ab4d3(0x32c)][_0x2ab4d3(0x3b5)]();}[_0x18936a(0x32f)](){const _0x388c60=_0x18936a;super[_0x388c60(0x32f)](),this[_0x388c60(0x2a9)][_0x388c60(0x1d8)](new Map()),this[_0x388c60(0x2a9)][_0x388c60(0x1e9)](),this['_roomMembers$'][_0x388c60(0x1d8)]([]),this[_0x388c60(0x32c)]['complete']();}[_0x18936a(0x185)](){const _0x757c=_0x18936a;this[_0x757c(0x1aa)]||(this[_0x757c(0x1aa)]=!0x0,this['_session'][_0x757c(0x1ff)][_0x757c(0x388)](_0x3bfc2e[_0x757c(0x34d)](this[_0x757c(0x274)]))[_0x757c(0x182)](_0x2d2907=>{const _0x1989eb=_0x757c;_0x2d2907===_0x158f6a[_0x1989eb(0x2f4)][_0x1989eb(0x358)]?this['_toggleOnline']():this[_0x1989eb(0x20c)]();}),this['_session'][_0x757c(0x1fb)][_0x757c(0x388)](_0x3bfc2e[_0x757c(0x34d)](this[_0x757c(0x274)]))['subscribe'](_0x2bf899=>{const _0x3b7a8a=_0x757c,_0x35b2c4=_0x2bf899['eventID'];_0x35b2c4===_0x13a7ce[_0x3b7a8a(0x1c8)][_0x3b7a8a(0x26a)]&&this[_0x3b7a8a(0x275)](_0x2bf899),_0x35b2c4===_0x13a7ce[_0x3b7a8a(0x1c8)][_0x3b7a8a(0x14b)]&&this[_0x3b7a8a(0x2e9)](_0x2bf899);}),this[_0x757c(0x163)](),this['disposeWithMe'](this['_commandService'][_0x757c(0x2fb)](_0x5187b6=>{const _0x57deae=_0x757c;if(this[_0x57deae(0x166)]&&_0x5187b6['id']===_0x35314c[_0x57deae(0x309)]['id']&&_0x5187b6[_0x57deae(0x1f7)][_0x57deae(0x262)]===this[_0x57deae(0x2e5)]){const _0x37fb63=_0x5187b6[_0x57deae(0x1f7)];this[_0x57deae(0x22d)](_0x37fb63[_0x57deae(0x2dd)],_0x37fb63[_0x57deae(0x287)][0x0]);}})));}['_onCursorUpdate'](_0x24f96c){const _0x473342=_0x18936a;var _0x596b2e,_0x182ab2;const {memberID:_0x573cbf,selection:_0xe41788}=_0x24f96c[_0x473342(0x1b4)],{sheetName:_0x40a5b2,range:_0x449e02}=_0x5e0fe2[_0x473342(0x1b8)](_0xe41788),_0x3f84d5={'name':(_0x182ab2=(_0x596b2e=this[_0x473342(0x2b1)][_0x473342(0x1c1)](this['unitID'],_0x573cbf))==null?void 0x0:_0x596b2e['name'])!=null?_0x182ab2:_0x473342(0x1cb),'range':this[_0x473342(0x393)](_0x40a5b2,_0x449e02),'sheetID':_0x40a5b2,'color':this[_0x473342(0x1ad)][_0x473342(0x260)](_0x573cbf),'selection':_0xe41788},_0xe2a924=this['cursorInfo'];_0xe2a924['set'](_0x573cbf,_0x3f84d5),this[_0x473342(0x2a9)]['next'](_0xe2a924);}['_onCursorDelete'](_0x4e71e8){const _0x2cac73=_0x18936a,{memberID:_0x111ab5}=_0x4e71e8[_0x2cac73(0x1b4)],_0x45ce9f=this[_0x2cac73(0x34c)];_0x45ce9f[_0x2cac73(0x25e)](_0x111ab5),this[_0x2cac73(0x2a9)]['next'](_0x45ce9f);}[_0x18936a(0x393)](_0x18c7b8,_0x3fb0a1){const _0x415806=_0x18936a;var _0x4e1aa6,_0x67c799;const _0x1c54b0=(_0x67c799=(_0x4e1aa6=this['_univerInstanceService'][_0x415806(0x270)](this[_0x415806(0x2e5)]))==null?void 0x0:_0x4e1aa6[_0x415806(0x19f)](_0x18c7b8))==null?void 0x0:_0x67c799['getMergeData']();return(_0x1c54b0==null?void 0x0:_0x1c54b0[_0x415806(0x267)](_0x150738=>_0x5381a1['Rectangle'][_0x415806(0x38f)](_0x150738,_0x3fb0a1)))||_0x3fb0a1;}[_0x18936a(0x163)](){const _0x2e3104=_0x18936a,_0x5777c4=new _0x5381a1[(_0x2e3104(0x252))](),_0x264b59=_0x2bfde9(),_0x2ba65d=()=>{_0x5777c4['dispose']();const _0x151bb4=(_0x4b3ce8,_0x5c1701,_0x567212,_0x542b1a)=>{const _0x423ee4=_0x3c84;let _0xe7f0f2=[];switch(_0x4b3ce8['id']){case _0x35314c[_0x423ee4(0x324)][_0x423ee4(0x347)]:{_0xe7f0f2=_0x35314c['handleDeleteRangeMoveLeft'](_0x4b3ce8,_0x542b1a);break;}case _0x35314c['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0xe7f0f2=_0x35314c[_0x423ee4(0x24e)](_0x4b3ce8,_0x542b1a);break;}case _0x35314c['EffectRefRangId'][_0x423ee4(0x1a2)]:{_0xe7f0f2=_0x35314c['handleInsertCol'](_0x4b3ce8,_0x542b1a);break;}case _0x35314c[_0x423ee4(0x324)][_0x423ee4(0x314)]:{_0xe7f0f2=_0x35314c['handleInsertRangeMoveDown'](_0x4b3ce8,_0x542b1a);break;}case _0x35314c[_0x423ee4(0x324)][_0x423ee4(0x129)]:{_0xe7f0f2=_0x35314c[_0x423ee4(0x39d)](_0x4b3ce8,_0x542b1a);break;}case _0x35314c['EffectRefRangId'][_0x423ee4(0x1e7)]:{_0xe7f0f2=_0x35314c[_0x423ee4(0x278)](_0x4b3ce8,_0x542b1a);break;}case _0x35314c[_0x423ee4(0x324)]['MoveRangeCommandId']:{_0xe7f0f2=_0x35314c['handleMoveRange'](_0x4b3ce8,_0x542b1a);break;}case _0x35314c[_0x423ee4(0x324)][_0x423ee4(0x253)]:{_0xe7f0f2=_0x35314c[_0x423ee4(0x1de)](_0x4b3ce8,_0x542b1a);break;}case _0x35314c[_0x423ee4(0x324)][_0x423ee4(0x248)]:{_0xe7f0f2=_0x35314c[_0x423ee4(0x33e)](_0x4b3ce8,_0x542b1a);break;}}const _0x1e0196=_0x35314c[_0x423ee4(0x197)](_0xe7f0f2,_0x542b1a),_0x214567=this[_0x423ee4(0x34c)]['get'](_0x5c1701);if(_0x214567&&_0x1e0196){const _0x41b8c7={..._0x214567,'range':_0x1e0196};this[_0x423ee4(0x34c)][_0x423ee4(0x2c6)](_0x5c1701,_0x41b8c7),_0x264b59(()=>{const _0x5f3e70=_0x423ee4,_0x114cdb=this[_0x5f3e70(0x2df)][_0x5f3e70(0x14c)](_0x1e0196,_0xc49bef=>(_0x114cdb[_0x5f3e70(0x32f)](),_0x151bb4(_0xc49bef,_0x5c1701,_0x567212,_0x1e0196)));_0x5777c4[_0x5f3e70(0x376)](_0x114cdb);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x2368c5,_0x83ac1)=>{const _0x230699=_0x3c84,{range:_0x59519e,sheetID:_0x9929b}=_0x2368c5,_0x53df0e=this[_0x230699(0x2df)]['registerRefRange'](_0x59519e,_0x438659=>(_0x53df0e[_0x230699(0x32f)](),_0x151bb4(_0x438659,_0x83ac1,_0x9929b,_0x59519e)));_0x5777c4['add'](_0x53df0e);});};this[_0x2e3104(0x1d6)](_0x5381a1[_0x2e3104(0x3a3)](this[_0x2e3104(0x2a9)][_0x2e3104(0x182)](()=>{_0x2ba65d();})));}[_0x18936a(0x399)](){const _0x11f591=_0x18936a;var _0x7302f0,_0x163c9c;if(this[_0x11f591(0x166)]=!0x0,((_0x7302f0=this[_0x11f591(0x173)][_0x11f591(0x353)]())==null?void 0x0:_0x7302f0[_0x11f591(0x2a3)]())!==this[_0x11f591(0x2e5)])return;const _0x3bde3a=(_0x163c9c=this[_0x11f591(0x37b)]['get'](_0x35314c[_0x11f591(0x2b9)])[_0x11f591(0x1cc)]())==null?void 0x0:_0x163c9c[0x0],_0x56a0c2=this[_0x11f591(0x173)][_0x11f591(0x1ef)](_0x5381a1['UniverInstanceType'][_0x11f591(0x29f)])[_0x11f591(0x132)]();_0x3bde3a&&_0x56a0c2&&this['_updateLocalCursor'](_0x56a0c2['getSheetId'](),_0x3bde3a);}['_toggleOffline'](){const _0x1dab74=_0x18936a;this[_0x1dab74(0x166)]=!0x1;}};_0x41148b=_0x109bda([_0x291a8a(0x2,_0x5381a1['Inject'](_0x5381a1[_0x18936a(0x35d)])),_0x291a8a(0x3,_0x5381a1[_0x18936a(0x13f)](_0x703bf0)),_0x291a8a(0x4,_0x5381a1['Inject'](_0x158f6a[_0x18936a(0x374)])),_0x291a8a(0x5,_0x5381a1['IUniverInstanceService']),_0x291a8a(0x6,_0x5381a1[_0x18936a(0x3a8)]),_0x291a8a(0x7,_0x5381a1[_0x18936a(0x13f)](_0x35314c[_0x18936a(0x1ea)]))],_0x41148b);var _0x11c4d1=Object['getOwnPropertyDescriptor'],_0x393438=(_0x5e89f5,_0x2fddc9,_0x5bfd08,_0x2bcf85)=>{const _0x270ade=_0x18936a;for(var _0xe1edca=_0x2bcf85>0x1?void 0x0:_0x2bcf85?_0x11c4d1(_0x2fddc9,_0x5bfd08):_0x2fddc9,_0x5c9cfe=_0x5e89f5[_0x270ade(0x26f)]-0x1,_0x1d1b58;_0x5c9cfe>=0x0;_0x5c9cfe--)(_0x1d1b58=_0x5e89f5[_0x5c9cfe])&&(_0xe1edca=_0x1d1b58(_0xe1edca)||_0xe1edca);return _0xe1edca;},_0x28f1f7=(_0x479609,_0x1764d7)=>(_0x2af212,_0x203bea)=>_0x1764d7(_0x2af212,_0x203bea,_0x479609);let _0xf8b381=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x32fc1a,_0x2a11ed,_0x44ea55){const _0x24e7fa=_0x18936a;super(),_0x5178b9(this,_0x24e7fa(0x3b2),new Map()),_0x5178b9(this,'_entityInit$',new _0x3bfc2e[(_0x24e7fa(0x302))]()),(this[_0x24e7fa(0x173)]=_0x32fc1a,this[_0x24e7fa(0x37b)]=_0x2a11ed,this[_0x24e7fa(0x1c6)]=_0x44ea55,this[_0x24e7fa(0x1aa)]());}['dispose'](){const _0x1c1386=_0x18936a;super[_0x1c1386(0x32f)](),this[_0x1c1386(0x15f)]['complete'](),this[_0x1c1386(0x3b2)][_0x1c1386(0x38d)](_0x49aa3e=>_0x49aa3e[_0x1c1386(0x32f)]());}[_0x18936a(0x33a)](_0x1e754d){const _0x459a7b=_0x18936a;return this['_entities']['has'](_0x1e754d)?this['_entities'][_0x459a7b(0x333)](_0x1e754d)[_0x459a7b(0x3a9)]:this['_entityInit$'][_0x459a7b(0x388)](_0x3bfc2e[_0x459a7b(0x37d)](_0x19df8b=>_0x19df8b[_0x459a7b(0x2e5)]===_0x1e754d),_0x3bfc2e['switchMap'](_0x1c3a1d=>_0x1c3a1d[_0x459a7b(0x3a9)]));}[_0x18936a(0x1aa)](){const _0x3d4459=_0x18936a;this[_0x3d4459(0x173)][_0x3d4459(0x375)](_0x5381a1[_0x3d4459(0x259)]['UNIVER_SHEET'])[_0x3d4459(0x388)](_0x3bfc2e[_0x3d4459(0x34d)](this[_0x3d4459(0x274)]))['subscribe'](async _0x2a3114=>{const _0x3c2906=_0x3d4459,_0x11365e=_0x2a3114[_0x3c2906(0x2a3)](),_0x2e6673=await this['_startSheetCollabCursor'](_0x11365e);this[_0x3c2906(0x15f)][_0x3c2906(0x1d8)](_0x2e6673),this[_0x3c2906(0x3b2)][_0x3c2906(0x2c6)](_0x11365e,_0x2e6673);}),this[_0x3d4459(0x173)]['getTypeOfUnitAdded$'](_0x5381a1[_0x3d4459(0x259)][_0x3d4459(0x27f)])['pipe'](_0x3bfc2e[_0x3d4459(0x34d)](this['dispose$']))[_0x3d4459(0x388)](_0x3bfc2e[_0x3d4459(0x37d)](_0x2674aa=>!_0x2674aa[_0x3d4459(0x2a3)]()[_0x3d4459(0x155)]('__')))[_0x3d4459(0x182)](async _0x2d5998=>{const _0x593f15=_0x3d4459,_0x5f3d7b=_0x2d5998[_0x593f15(0x2a3)](),_0x4cd961=await this[_0x593f15(0x2db)](_0x5f3d7b);this['_entityInit$']['next'](_0x4cd961),this[_0x593f15(0x3b2)][_0x593f15(0x2c6)](_0x5f3d7b,_0x4cd961);}),_0x3bfc2e['merge'](this[_0x3d4459(0x173)][_0x3d4459(0x397)](_0x5381a1[_0x3d4459(0x259)][_0x3d4459(0x27f)]),this[_0x3d4459(0x173)][_0x3d4459(0x397)](_0x5381a1[_0x3d4459(0x259)][_0x3d4459(0x29f)]))[_0x3d4459(0x388)](_0x3bfc2e[_0x3d4459(0x34d)](this[_0x3d4459(0x274)]))['subscribe'](_0x17aaa6=>{const _0x3a0640=_0x3d4459,_0x5f500f=_0x17aaa6[_0x3a0640(0x2a3)](),_0x50ce20=this[_0x3a0640(0x3b2)]['get'](_0x5f500f);_0x50ce20&&(_0x50ce20[_0x3a0640(0x32f)](),this[_0x3a0640(0x3b2)][_0x3a0640(0x25e)](_0x5f500f));});}async[_0x18936a(0x1dd)](_0x39e9ec){const _0x2ac91c=_0x18936a,_0xfc3984=await this[_0x2ac91c(0x1c6)]['requireSession'](_0x39e9ec),_0x4dc555=this[_0x2ac91c(0x37b)]['createInstance'](_0x41148b,_0x39e9ec,_0xfc3984);return _0x4dc555['init'](),_0x4dc555;}async['_startDocCollabCursor'](_0x31a109){const _0x2f8968=_0x18936a,_0x536e88=await this[_0x2f8968(0x1c6)]['requireSession'](_0x31a109),_0x27dbaa=this[_0x2f8968(0x37b)][_0x2f8968(0x382)](_0x2fa602,_0x31a109,_0x536e88);return _0x27dbaa[_0x2f8968(0x185)](),_0x27dbaa;}};_0xf8b381=_0x393438([_0x28f1f7(0x0,_0x5381a1[_0x18936a(0x168)]),_0x28f1f7(0x1,_0x5381a1[_0x18936a(0x13f)](_0x5381a1[_0x18936a(0x35d)])),_0x28f1f7(0x2,_0x5381a1['Inject'](_0x158f6a[_0x18936a(0x308)]))],_0xf8b381);const _0x52cc07=0x14,_0x5b9c45=0xc8,_0x163a1a=0x4,_0x3152de=0x5;function _0x209711(_0x30eaf6,_0x51191b){const _0x6c7981=_0x18936a;let {radius:_0x54b2cd,width:_0x134f8e,height:_0x102b06}=_0x51191b;_0x54b2cd=_0x54b2cd!=null?_0x54b2cd:0x0,_0x134f8e=_0x134f8e!=null?_0x134f8e:0x1e,_0x102b06=_0x102b06!=null?_0x102b06:0x1e;let _0x248618=0x0,_0x2e6b8d=0x0,_0x2ef8fe=0x0;_0x248618=_0x2e6b8d=_0x2ef8fe=Math['min'](_0x54b2cd,_0x134f8e/0x2,_0x102b06/0x2),_0x30eaf6[_0x6c7981(0x156)](),_0x30eaf6[_0x6c7981(0x292)](_0x248618,0x0),_0x30eaf6['lineTo'](_0x134f8e-_0x2e6b8d,0x0),_0x30eaf6['arc'](_0x134f8e-_0x2e6b8d,_0x2e6b8d,_0x2e6b8d,Math['PI']*0x3/0x2,0x0,!0x1),_0x30eaf6[_0x6c7981(0x226)](_0x134f8e,_0x102b06-_0x2ef8fe),_0x30eaf6[_0x6c7981(0x317)](_0x134f8e-_0x2ef8fe,_0x102b06-_0x2ef8fe,_0x2ef8fe,0x0,Math['PI']/0x2,!0x1),_0x30eaf6['lineTo'](0x0,_0x102b06),_0x30eaf6[_0x6c7981(0x226)](0x0,_0x248618),_0x30eaf6[_0x6c7981(0x317)](_0x248618,_0x248618,_0x248618,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x30eaf6[_0x6c7981(0x2ce)](),_0x51191b[_0x6c7981(0x22f)]&&(_0x30eaf6[_0x6c7981(0x2d9)](),_0x30eaf6['fillStyle']=_0x51191b[_0x6c7981(0x22f)],_0x51191b[_0x6c7981(0x2e6)]===_0x6c7981(0x26c)?_0x30eaf6['fill']('evenodd'):_0x30eaf6[_0x6c7981(0x22f)](),_0x30eaf6[_0x6c7981(0x232)]());}class _0x3a0e43 extends _0x425989[_0x18936a(0x1b0)]{constructor(_0x3bd3a5,_0x25874c){const _0x137d21=_0x18936a;super(_0x3bd3a5,_0x25874c),_0x5178b9(this,_0x137d21(0x20e)),_0x5178b9(this,'text'),(this[_0x137d21(0x20e)]=_0x25874c==null?void 0x0:_0x25874c[_0x137d21(0x20e)],this['text']=_0x25874c==null?void 0x0:_0x25874c[_0x137d21(0x3af)]);}static[_0x18936a(0x3be)](_0x1df766,_0x21d588){const _0x3e5ec8=_0x18936a,{text:_0x119a5b,color:_0x15e95e}=_0x21d588;_0x1df766[_0x3e5ec8(0x2d9)](),_0x1df766[_0x3e5ec8(0x2ee)]=_0x3e5ec8(0x22a);const _0x3a7aa2=_0x1df766['measureText'](_0x119a5b)['width'],_0x2399a3=Math[_0x3e5ec8(0x378)](_0x3a7aa2+0x2*_0x163a1a,_0x5b9c45);_0x209711(_0x1df766,{'height':_0x52cc07,'radius':0x4,'width':_0x2399a3,'fill':_0x15e95e}),_0x1df766[_0x3e5ec8(0x22e)]=_0x3e5ec8(0x20b);const _0x1907aa=_0x163a1a,_0x27f670=_0x52cc07-_0x3152de,_0x4f51ae=_0x5b9c45-0x2*_0x163a1a;if(_0x3a7aa2>_0x4f51ae){let _0x8aa1fc='',_0x10ee51=0x0;for(const _0x33637e of _0x119a5b){const _0x518dbb=_0x1df766[_0x3e5ec8(0x31d)](_0x33637e)['width'];if(_0x10ee51+_0x518dbb<=_0x4f51ae-_0x1df766[_0x3e5ec8(0x31d)]('...')[_0x3e5ec8(0x341)])_0x8aa1fc+=_0x33637e,_0x10ee51+=_0x518dbb;else{_0x8aa1fc+=_0x3e5ec8(0x1d4);break;}}_0x1df766[_0x3e5ec8(0x1b9)](_0x8aa1fc,_0x1907aa,_0x27f670);}else _0x1df766[_0x3e5ec8(0x1b9)](_0x119a5b,_0x1907aa,_0x27f670);_0x1df766['restore']();}['_draw'](_0x157769){const _0x54acf4=_0x18936a;_0x3a0e43[_0x54acf4(0x3be)](_0x157769,this);}}const _0x3a34dd=_0x18936a(0x204),_0x297a7a=_0x18936a(0x31e),_0x2b0816=_0x18936a(0x1d9),_0x374349=0x6,_0x50d0f9=1.5,_0x544af3=0x4,_0x27f634=1.5,_0x3bce60=_0x18936a(0x22c);class _0x10eaef{constructor(_0x277b0e,_0xf8a24a,_0x3b3343,_0x40e747){const _0x2343b5=_0x18936a;_0x5178b9(this,'_shapes',[]),_0x5178b9(this,_0x2343b5(0x2d4),null),_0x5178b9(this,_0x2343b5(0x33b),null),_0x5178b9(this,'_anchorDot',null),_0x5178b9(this,_0x2343b5(0x21f),null),_0x5178b9(this,_0x2343b5(0x13d),null),(this[_0x2343b5(0x1da)]=_0x277b0e,this[_0x2343b5(0x1c5)]=_0xf8a24a,this[_0x2343b5(0x2a1)]=_0x3b3343,this[_0x2343b5(0x19b)]=_0x40e747,this[_0x2343b5(0x36a)]());}set[_0x18936a(0x277)](_0x4942b0){const _0x1c5550=_0x18936a;_0x4942b0?(this[_0x1c5550(0x1dc)]&&this[_0x1c5550(0x1dc)][_0x1c5550(0x348)](),this[_0x1c5550(0x33b)]&&this[_0x1c5550(0x33b)][_0x1c5550(0x268)]()):(this[_0x1c5550(0x1dc)]&&this['_anchorDot']['show'](),this['_textBubble']&&this[_0x1c5550(0x33b)][_0x1c5550(0x348)]());}['dispose'](){const _0xa89de0=_0x18936a;for(const _0x47f92f of this[_0xa89de0(0x1a7)])_0x47f92f[_0xa89de0(0x32f)]();this[_0xa89de0(0x33b)]&&this[_0xa89de0(0x33b)]['dispose'](),this[_0xa89de0(0x1dc)]&&this[_0xa89de0(0x1dc)][_0xa89de0(0x32f)](),this[_0xa89de0(0x2d4)]&&this[_0xa89de0(0x2d4)][_0xa89de0(0x32f)](),this[_0xa89de0(0x13d)]&&this[_0xa89de0(0x13d)]();}[_0x18936a(0x36a)](){const _0x5068dd=_0x18936a;var _0xd2d208;const {_docSkeleton:_0x5a5941,_document:_0x1ab581}=this,{color:_0x4357b3,name:_0x16dfa1,ranges:_0x859fe7}=this[_0x5068dd(0x1da)],_0x21f073=_0x1ab581[_0x5068dd(0x235)](),{docsLeft:_0x56ebd8,docsTop:_0x4c20e7}=_0x21f073,_0x4c64b9=new _0x12cdf9[(_0x5068dd(0x196))](_0x21f073,_0x5a5941);for(const {startOffset:_0x221f55,endOffset:_0x371dc7,rangeType:_0x23651c,segmentId:_0x2aa5e9,segmentPage:_0x1a87bf,collapsed:_0x5e2bf2,isActive:_0x2b2967}of _0x859fe7){const _0x41e386=_0x5a5941[_0x5068dd(0x1bf)](_0x221f55,!0x0,_0x2aa5e9,_0x1a87bf);let _0x45b5f4=_0x5a5941[_0x5068dd(0x1bf)](_0x371dc7,!0x0,_0x2aa5e9,_0x1a87bf);if(_0x45b5f4==null&&(_0x45b5f4=_0x5a5941[_0x5068dd(0x1bf)](_0x371dc7-0x1,!0x1,_0x2aa5e9,_0x1a87bf)),_0x2b2967){const {contentBoxPointGroup:_0x2aa77c}=_0x4c64b9[_0x5068dd(0x27e)](_0x45b5f4,_0x45b5f4);if(_0x2aa77c['length']===0x0)continue;this['_drawAnchor'](_0x4357b3,_0x2aa77c,_0x56ebd8,_0x4c20e7,_0x16dfa1),this[_0x5068dd(0x13d)]=this[_0x5068dd(0x257)]();}if(_0x41e386&&_0x45b5f4){if(_0x23651c===_0x5381a1['DOC_RANGE_TYPE'][_0x5068dd(0x1e5)]){const _0x5d0132=new _0x12cdf9[(_0x5068dd(0x2c8))](_0x21f073,_0x5a5941),{pointGroup:_0x2dae12}=(_0xd2d208=_0x5d0132['getRangePointData'](_0x41e386,_0x45b5f4))!=null?_0xd2d208:{};if(_0x2dae12==null||_0x2dae12[_0x5068dd(0x26f)]===0x0)continue;this[_0x5068dd(0x239)](_0x4357b3,_0x2dae12,_0x56ebd8,_0x4c20e7);}else{if(!_0x5e2bf2){const {borderBoxPointGroup:_0x259a26}=_0x4c64b9['getRangePointData'](_0x41e386,_0x45b5f4);if(_0x259a26[_0x5068dd(0x26f)]===0x0)continue;this[_0x5068dd(0x223)](_0x4357b3,_0x259a26,_0x56ebd8,_0x4c20e7);}}}}}[_0x18936a(0x1c9)](_0x2e48ea,_0x3b340e,_0x2b2355,_0x28eafb,_0x51a2c8){const _0x2a1780=_0x18936a,_0x42b5a9=this['_getAnchorBounding'](_0x3b340e),{left:_0x1174b4,top:_0x96ebf1,height:_0x4e3254}=_0x42b5a9,_0x38df7b=this[_0x2a1780(0x231)](),_0x494cd8=_0x27f634/_0x38df7b,_0x8414ac=new _0x425989[(_0x2a1780(0x23e))](_0x3a34dd+_0x5381a1[_0x2a1780(0x39c)][_0x2a1780(0x246)](_0x374349),{'left':_0x1174b4+_0x2b2355-_0x494cd8,'top':_0x96ebf1+_0x28eafb,'height':_0x4e3254,'width':_0x50d0f9,'fill':_0x2e48ea||_0x425989[_0x2a1780(0x2e3)](_0x5381a1[_0x2a1780(0x398)][_0x2a1780(0x172)],0x0),'strokeWidth':_0x494cd8,'stroke':_0x3bce60,'evented':!0x0});this[_0x2a1780(0x2d4)]=_0x8414ac,this[_0x2a1780(0x1c5)]['addObject'](_0x8414ac,_0x12cdf9[_0x2a1780(0x24c)]);const _0x1f5c5a=new _0x425989['Rect'](_0x3a34dd+_0x5381a1['Tools'][_0x2a1780(0x246)](_0x374349),{'left':_0x1174b4+_0x2b2355-_0x494cd8,'top':_0x96ebf1+_0x28eafb-_0x544af3/0x2,'height':_0x544af3,'width':_0x544af3,'fill':_0x2e48ea||_0x425989[_0x2a1780(0x2e3)](_0x5381a1[_0x2a1780(0x398)][_0x2a1780(0x172)],0x0),'strokeWidth':0x0,'stroke':_0x2e48ea||_0x425989[_0x2a1780(0x2e3)](_0x5381a1[_0x2a1780(0x398)][_0x2a1780(0x172)],0x0),'evented':!0x1});this[_0x2a1780(0x1dc)]=_0x1f5c5a,this[_0x2a1780(0x1c5)][_0x2a1780(0x39b)](_0x1f5c5a,_0x12cdf9[_0x2a1780(0x24c)]);const _0x1a3ce6=new _0x3a0e43(_0x3a34dd+_0x5381a1['Tools'][_0x2a1780(0x246)](_0x374349),{'left':_0x1174b4+_0x2b2355-_0x494cd8,'top':_0x96ebf1+_0x28eafb-_0x52cc07,'text':_0x51a2c8,'color':_0x2e48ea});this[_0x2a1780(0x33b)]=_0x1a3ce6,this[_0x2a1780(0x1c5)][_0x2a1780(0x39b)](_0x1a3ce6,_0x12cdf9[_0x2a1780(0x24c)]),this[_0x2a1780(0x277)]=!0x1;}['_handleHover'](){const _0x3cbf44=_0x18936a,_0x16bc6d=this[_0x3cbf44(0x2d4)][_0x3cbf44(0x39e)]['subscribeEvent'](()=>{const _0x2fb0db=_0x3cbf44;this[_0x2fb0db(0x277)]=!0x0;}),_0x4cdb8b=this[_0x3cbf44(0x2d4)][_0x3cbf44(0x12d)]['subscribeEvent'](()=>{const _0x2f138e=_0x3cbf44;this[_0x2f138e(0x21f)]&&clearTimeout(this[_0x2f138e(0x21f)]),this[_0x2f138e(0x21f)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x49a8a3=_0x3cbf44;_0x16bc6d[_0x49a8a3(0x342)](),_0x4cdb8b[_0x49a8a3(0x342)]();};}[_0x18936a(0x223)](_0x243ffe,_0x50cc9f,_0x37cc92,_0x4a495f){const _0x5de17e=_0x18936a,_0x14c979=new _0x5381a1[(_0x5de17e(0x300))](_0x243ffe)['setAlpha'](0.2)['toRgbString'](),_0x2f092e=new _0x425989[(_0x5de17e(0x13e))](_0x297a7a+_0x5381a1[_0x5de17e(0x39c)]['generateRandomId'](_0x374349),{'pointsGroup':_0x50cc9f,'fill':_0x14c979||_0x425989[_0x5de17e(0x2e3)](_0x5381a1[_0x5de17e(0x398)][_0x5de17e(0x172)],0.2),'left':_0x37cc92,'top':_0x4a495f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5de17e(0x1a7)][_0x5de17e(0x28b)](_0x2f092e),this[_0x5de17e(0x1c5)][_0x5de17e(0x39b)](_0x2f092e,_0x12cdf9[_0x5de17e(0x24c)]);}['_drawRectRange'](_0x410f02,_0x33d8c5,_0x58d8c7,_0x241be6){const _0x30782a=_0x18936a,_0xfa7ca9=new _0x5381a1[(_0x30782a(0x300))](_0x410f02)['setAlpha'](0.2)['toRgbString'](),_0x14d5fc=new _0x425989[(_0x30782a(0x13e))](_0x2b0816+_0x5381a1[_0x30782a(0x39c)][_0x30782a(0x246)](_0x374349),{'pointsGroup':_0x33d8c5,'fill':_0xfa7ca9||_0x425989[_0x30782a(0x2e3)](_0x5381a1[_0x30782a(0x398)][_0x30782a(0x172)],0.2),'left':_0x58d8c7,'top':_0x241be6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x14d5fc),this[_0x30782a(0x1c5)][_0x30782a(0x39b)](_0x14d5fc,_0x12cdf9[_0x30782a(0x24c)]);}[_0x18936a(0x3a4)](_0x595938){const _0x2a3235=_0x595938[0x0],_0x1f1bc3=_0x2a3235[0x0],_0x79aaac=_0x2a3235[0x2],{x:_0x5dd1dd,y:_0x1baeb1}=_0x1f1bc3,{x:_0x9ff4e8,y:_0x55bc65}=_0x79aaac;return{'left':_0x5dd1dd,'top':_0x1baeb1,'width':_0x9ff4e8-_0x5dd1dd,'height':_0x55bc65-_0x1baeb1};}[_0x18936a(0x231)](){const _0x1e3bec=_0x18936a,{scaleX:_0x1ccfe9,scaleY:_0x3bb39f}=this[_0x1e3bec(0x1c5)]['getAncestorScale']();return Math[_0x1e3bec(0x29b)](_0x1ccfe9,_0x3bb39f);}}var _0x195c4b=Object[_0x18936a(0x180)],_0x283205=(_0x11bad3,_0x18b7f5,_0x57baee,_0x1dae7a)=>{const _0x4224ce=_0x18936a;for(var _0x2930b3=_0x1dae7a>0x1?void 0x0:_0x1dae7a?_0x195c4b(_0x18b7f5,_0x57baee):_0x18b7f5,_0x58dd30=_0x11bad3[_0x4224ce(0x26f)]-0x1,_0x1e63e7;_0x58dd30>=0x0;_0x58dd30--)(_0x1e63e7=_0x11bad3[_0x58dd30])&&(_0x2930b3=_0x1e63e7(_0x2930b3)||_0x2930b3);return _0x2930b3;},_0x1b5e96=(_0x27c200,_0xabfad)=>(_0x44aec8,_0x50e48c)=>_0xabfad(_0x44aec8,_0x50e48c,_0x27c200);let _0x31fa14=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x3e5aa8,_0x1fa55c,_0x5b9aa1,_0x4dabcd,_0x331f4b){const _0x2fce67=_0x18936a;super(),_0x5178b9(this,_0x2fce67(0x318),[]),_0x5178b9(this,_0x2fce67(0x1ec),[]),(this['_context']=_0x3e5aa8,this[_0x2fce67(0x2f5)]=_0x1fa55c,this[_0x2fce67(0x2b7)]=_0x5b9aa1,this[_0x2fce67(0x1ae)]=_0x4dabcd,this['_themeService']=_0x331f4b,this[_0x2fce67(0x1aa)]());}[_0x18936a(0x1aa)](){const _0x3a0ec4=_0x18936a,_0x5c61ec=this['_context'][_0x3a0ec4(0x262)],_0x34a99d=this[_0x3a0ec4(0x2f5)];this['disposeWithMe'](_0x3bfc2e[_0x3a0ec4(0x18f)]([this[_0x3a0ec4(0x2b7)][_0x3a0ec4(0x33a)](_0x5c61ec),this[_0x3a0ec4(0x191)][_0x3a0ec4(0x24a)]])['pipe'](_0x412ed1[_0x3a0ec4(0x233)](([_0x27ccd0,_0x4983f3])=>({'skeleton':_0x34a99d[_0x3a0ec4(0x2f6)](),'cursors':[..._0x27ccd0['values']()][_0x3a0ec4(0x33f)](_0x92deaf=>({..._0x92deaf,'color':this['_themeService'][_0x3a0ec4(0x27b)](_0x92deaf[_0x3a0ec4(0x20e)])}))})))['subscribe'](_0x10b676=>{const _0x1a0ea1=_0x3a0ec4;if(this[_0x1a0ea1(0x306)](),_0x10b676){const {skeleton:_0xb30335,cursors:_0x12a5c0}=_0x10b676;this[_0x1a0ea1(0x2cc)](_0xb30335,_0x12a5c0);}})),this['_initResize'](),this[_0x3a0ec4(0x2d1)]();}['_updateCollabCursors'](_0x274d1d,_0x22b98f){const _0x46f604=_0x18936a,{scene:_0x255ed9,mainComponent:_0x578148}=this[_0x46f604(0x380)],_0x23551c=_0x22b98f[_0x46f604(0x233)](_0x1d7ff6=>new _0x10eaef(_0x1d7ff6,_0x255ed9,_0x274d1d,_0x578148));this[_0x46f604(0x318)]=_0x23551c,this[_0x46f604(0x1ec)]=_0x22b98f;}['_refreshCollabCursors'](){const _0x59285a=_0x18936a;this[_0x59285a(0x306)]();const {scene:_0xb3250a,mainComponent:_0x784a48}=this['_context'],_0x4c35a9=this[_0x59285a(0x2f5)][_0x59285a(0x2f6)](),_0x584092=this[_0x59285a(0x1ec)]['map'](_0x299499=>new _0x10eaef(_0x299499,_0xb3250a,_0x4c35a9,_0x784a48));this['_cursorShapes']=_0x584092;}[_0x18936a(0x306)](){const _0x27458c=_0x18936a;this['_cursorShapes']['forEach'](_0xd0ef56=>_0xd0ef56['dispose']()),this[_0x27458c(0x318)]=[];}[_0x18936a(0x2d1)](){const _0x2933c4=_0x18936a,_0x52b07d=[_0x12cdf9[_0x2933c4(0x1f0)]['id']];this[_0x2933c4(0x1d6)](this[_0x2933c4(0x1ae)][_0x2933c4(0x2fb)](_0x4b53e7=>{const _0x4d2ac3=_0x2933c4;_0x52b07d[_0x4d2ac3(0x3b6)](_0x4b53e7['id'])&&_0x4b53e7[_0x4d2ac3(0x1f7)]['unitId']===this[_0x4d2ac3(0x380)]['unitId']&&this[_0x4d2ac3(0x313)]();}));}[_0x18936a(0x1ce)](){const _0x418626=_0x18936a;this[_0x418626(0x1d6)](_0x5381a1[_0x418626(0x1b6)](this[_0x418626(0x380)][_0x418626(0x295)][_0x418626(0x27c)])[_0x418626(0x388)](_0x412ed1['filter'](_0x449e0a=>_0x449e0a[_0x418626(0x227)]===_0x425989[_0x418626(0x230)][_0x418626(0x159)]),_0x412ed1['throttleTime'](0x10))['subscribe'](()=>{const _0x404668=_0x418626;this[_0x404668(0x313)]();}));}};_0x31fa14=_0x283205([_0x1b5e96(0x1,_0x5381a1[_0x18936a(0x13f)](_0x396d1c[_0x18936a(0x23f)])),_0x1b5e96(0x2,_0x5381a1[_0x18936a(0x13f)](_0xf8b381)),_0x1b5e96(0x3,_0x5381a1[_0x18936a(0x3a8)]),_0x1b5e96(0x4,_0x5381a1[_0x18936a(0x13f)](_0x5381a1[_0x18936a(0x16e)]))],_0x31fa14);const _0x23f988=0x1,_0x307a6a=1.5;class _0x5378fb extends _0x425989[_0x18936a(0x1b0)]{constructor(_0x4bc415,_0x2e22b8){const _0x3141c9=_0x18936a;super(_0x4bc415,_0x2e22b8),_0x5178b9(this,_0x3141c9(0x34f)),_0x5178b9(this,_0x3141c9(0x2bf),!0x1),_0x5178b9(this,'_range'),_0x5178b9(this,_0x3141c9(0x351),''),_0x5178b9(this,_0x3141c9(0x27a),'top'),_0x5178b9(this,_0x3141c9(0x365)),(_0x2e22b8&&this[_0x3141c9(0x192)](_0x2e22b8),this[_0x3141c9(0x39e)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3141c9(0x12d)][_0x3141c9(0x320)](()=>this[_0x3141c9(0x192)]({'hovered':!0x1})));}[_0x18936a(0x192)](_0x39b79d){const _0xb68c42=_0x18936a;var _0x3aa25e,_0x58ff1d,_0x5b97cb,_0x539e5e,_0xaf8f5b,_0x13a2aa;this['_color']=(_0x3aa25e=_0x39b79d[_0xb68c42(0x20e)])!=null?_0x3aa25e:this[_0xb68c42(0x34f)],this[_0xb68c42(0x2bf)]=(_0x58ff1d=_0x39b79d['hovered'])!=null?_0x58ff1d:this[_0xb68c42(0x2bf)],this[_0xb68c42(0x142)]=(_0x5b97cb=_0x39b79d[_0xb68c42(0x15e)])!=null?_0x5b97cb:this[_0xb68c42(0x142)],this[_0xb68c42(0x351)]=(_0x539e5e=_0x39b79d[_0xb68c42(0x154)])!=null?_0x539e5e:this['_name'],this[_0xb68c42(0x27a)]=(_0xaf8f5b=_0x39b79d['labelPosition'])!=null?_0xaf8f5b:this['_labelPosition'],this[_0xb68c42(0x365)]=(_0x13a2aa=_0x39b79d[_0xb68c42(0x2c5)])!=null?_0x13a2aa:this[_0xb68c42(0x365)],this['transformByState']({'width':_0x39b79d[_0xb68c42(0x341)],'height':_0x39b79d['height']});}[_0x18936a(0x305)](_0x29f8b1){const _0x5b58c5=_0x18936a,{row:_0x216d81,column:_0x13a185}=_0x29f8b1;if(_0x216d81>=this[_0x5b58c5(0x142)][_0x5b58c5(0x3ae)]&&_0x216d81<=this[_0x5b58c5(0x142)][_0x5b58c5(0x14e)]&&_0x13a185>=this[_0x5b58c5(0x142)]['startColumn']&&_0x13a185<=this[_0x5b58c5(0x142)][_0x5b58c5(0x2c9)]){this[_0x5b58c5(0x192)]({'hovered':!0x0});return;}this[_0x5b58c5(0x192)]({'hovered':!0x1});}[_0x18936a(0x1ee)](_0x3de17e){return!0x1;}[_0x18936a(0x2cf)](_0x1f39bc){const _0x582139=_0x18936a;_0x425989['Rect'][_0x582139(0x3be)](_0x1f39bc,{'width':this[_0x582139(0x341)],'height':this[_0x582139(0x2b3)],'strokeWidth':_0x307a6a,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x582139(0x2bf)]&&(_0x1f39bc[_0x582139(0x2d9)](),_0x1f39bc[_0x582139(0x25f)](0x1,0x0,0x0,0x1,this['width'],this[_0x582139(0x27a)]===_0x582139(0x2af)?0x0:-0x14),_0x3a0e43[_0x582139(0x3be)](_0x1f39bc,{'text':this[_0x582139(0x351)],'color':this['_color']}),_0x1f39bc[_0x582139(0x232)]());}}var _0x45f076=Object['getOwnPropertyDescriptor'],_0x239105=(_0x4bb6c0,_0x51471e,_0x52364b,_0x46b833)=>{const _0x11accb=_0x18936a;for(var _0x401f71=_0x46b833>0x1?void 0x0:_0x46b833?_0x45f076(_0x51471e,_0x52364b):_0x51471e,_0x4cc8c6=_0x4bb6c0[_0x11accb(0x26f)]-0x1,_0x4b5bd4;_0x4cc8c6>=0x0;_0x4cc8c6--)(_0x4b5bd4=_0x4bb6c0[_0x4cc8c6])&&(_0x401f71=_0x4b5bd4(_0x401f71)||_0x401f71);return _0x401f71;},_0x2391e0=(_0x19d90f,_0x4f4e9a)=>(_0x3f1ccd,_0x18de33)=>_0x4f4e9a(_0x3f1ccd,_0x18de33,_0x19d90f);const _0x2dee77=0x1389;let _0x4f49ad=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x5996da,_0x3a9403,_0x494a5f,_0x172511){const _0x11aa72=_0x18936a;super(),_0x5178b9(this,_0x11aa72(0x1ec),new Set()),_0x5178b9(this,'_lastPointer',null),(this[_0x11aa72(0x380)]=_0x5996da,this['_sheetSkeletonManagerService']=_0x3a9403,this[_0x11aa72(0x2b7)]=_0x494a5f,this[_0x11aa72(0x191)]=_0x172511,this['_init']());}[_0x18936a(0x1aa)](){const _0x488c0c=_0x18936a;this[_0x488c0c(0x2bd)][_0x488c0c(0x3b4)][_0x488c0c(0x388)](_0x412ed1['takeUntil'](this['dispose$']),_0x412ed1[_0x488c0c(0x338)](_0x4824a3=>{const _0x5e902f=_0x488c0c;if(_0x4824a3){const _0x1dc40f=_0x4824a3[_0x5e902f(0x3a1)];return _0x3bfc2e[_0x5e902f(0x18f)](this[_0x5e902f(0x2b7)]['getCollabCursors$'](this[_0x5e902f(0x380)][_0x5e902f(0x262)]),this[_0x5e902f(0x191)]['currentTheme$'])[_0x5e902f(0x388)](_0x412ed1[_0x5e902f(0x233)](([_0x4f2800,_0x5db2ff])=>{const _0x3c6cff=_0x5e902f,_0x5de2a7=new Map();return _0x4f2800[_0x3c6cff(0x38d)]((_0x1f2a66,_0x14d239)=>{const _0x56d776=_0x3c6cff;if(_0x1f2a66[_0x56d776(0x345)]===_0x1dc40f){const _0x472f4a={..._0x1f2a66};_0x472f4a[_0x56d776(0x20e)]=this[_0x56d776(0x191)]['getColorFromTheme'](_0x1f2a66['color']),_0x5de2a7['set'](_0x14d239,_0x472f4a);}}),{'skeleton':_0x4824a3,'cursors':_0x5de2a7};}));}return _0x3bfc2e['of']({'skeleton':null,'cursors':new Map()});}))[_0x488c0c(0x182)](({skeleton:_0x2f01d3,cursors:_0x599120})=>{const _0x543255=_0x488c0c;this[_0x543255(0x306)](),_0x2f01d3&&this[_0x543255(0x2cc)](_0x2f01d3,_0x599120);}),this[_0x488c0c(0x2bd)][_0x488c0c(0x3b4)]['subscribe'](_0x28dd0d=>{const _0x120035=_0x488c0c;if(_0x28dd0d==null)return;const {skeleton:_0x3cfee3}=_0x28dd0d,{scene:_0x4606ac}=this[_0x120035(0x380)];_0x4606ac[_0x120035(0x1fd)]['subscribeEvent'](_0x5381a1[_0x120035(0x340)](_0x4b5594=>{const _0x212d39=_0x120035;var _0x5abf1c,_0x3fed50;const {offsetX:_0x629636,offsetY:_0x188841}=_0x4b5594,{x:_0x47c945,y:_0x1d029e}=_0x4606ac[_0x212d39(0x37e)](_0x425989[_0x212d39(0x359)][_0x212d39(0x349)]([_0x629636,_0x188841])),{scaleX:_0x3dd8cb,scaleY:_0x3098a7}=_0x4606ac['getAncestorScale'](),_0x41de7d=_0x4606ac[_0x212d39(0x332)](_0x425989['SHEET_VIEWPORT_KEY'][_0x212d39(0x31a)]),_0x24f8e4=_0x4606ac[_0x212d39(0x3c1)](_0x425989[_0x212d39(0x359)][_0x212d39(0x349)]([_0x47c945,_0x1d029e]),_0x41de7d),_0x1dc98d=_0x3cfee3['getCellPositionByOffset'](_0x629636,_0x188841,_0x3dd8cb,_0x3098a7,_0x24f8e4);((_0x5abf1c=this['_lastPointer'])==null?void 0x0:_0x5abf1c[_0x212d39(0x12f)])===_0x1dc98d['column']&&((_0x3fed50=this[_0x212d39(0x2fe)])==null?void 0x0:_0x3fed50[_0x212d39(0x1d7)])===_0x1dc98d[_0x212d39(0x1d7)]||this[_0x212d39(0x1ec)][_0x212d39(0x38d)](_0x209a15=>{const _0x568acf=_0x212d39;_0x209a15[_0x568acf(0x305)](_0x1dc98d);});},0x64));});}[_0x18936a(0x2cc)](_0x1053ae,_0x42020f){const _0x3fffc1=_0x18936a;var _0x373ea8;const _0x5cf891=(_0x373ea8=this['_sheetSkeletonManagerService'][_0x3fffc1(0x386)]())==null?void 0x0:_0x373ea8[_0x3fffc1(0x346)];if(!_0x5cf891)return;const _0x143804=this[_0x3fffc1(0x250)]();if(!_0x143804)return;this[_0x3fffc1(0x1ec)][_0x3fffc1(0x38d)](_0x1b8452=>{const _0x38a052=_0x3fffc1;_0x1b8452[_0x38a052(0x206)]();});const {scene:_0x28b73c}=_0x143804,_0x5791d3=_0x4a7db8(Array[_0x3fffc1(0x152)](_0x42020f[_0x3fffc1(0x369)]()))[_0x3fffc1(0x233)](_0x46efde=>{const _0x108e5f=_0x3fffc1,{color:_0x5f2a40,range:_0x534820,name:_0x33284d,selection:_0x54e7c1,sheetID:_0x9f6e3b}=_0x46efde,{startColumn:_0x442e73,startRow:_0x14749b,endColumn:_0x526566,endRow:_0x14503e}=_0x534820,_0x305ce1=_0x478542[_0x108e5f(0x1ed)](_0x14749b,_0x442e73,_0x28b73c,_0x5cf891),_0x327ac7=_0x478542[_0x108e5f(0x1ed)](_0x14503e,_0x526566,_0x28b73c,_0x5cf891),{columnHeaderHeightAndMarginTop:_0xbb1348}=_0x5cf891,{startX:_0x3963d2,startY:_0x45cf8d}=_0x305ce1,{endX:_0x42080e,endY:_0x266c85}=_0x327ac7,_0x23c928=_0x42080e-_0x3963d2,_0x46beec=_0x266c85-_0x45cf8d,_0xa44f8a={'labelPosition':_0x45cf8d-_0xbb1348>=_0x52cc07?_0x108e5f(0x2eb):_0x108e5f(0x2af),'sheetID':_0x9f6e3b,'range':_0x534820,'color':_0x5f2a40,'name':_0x33284d,'selection':_0x54e7c1,'left':_0x3963d2,'top':_0x45cf8d,'width':_0x23c928,'height':_0x46beec,'evented':!0x1,'zIndex':_0x2dee77};return new _0x5378fb(_0x33284d,_0xa44f8a);});_0x28b73c[_0x3fffc1(0x2c2)](_0x5791d3,_0x23f988),this[_0x3fffc1(0x1ec)]=new Set(_0x5791d3);}['_removeCollabCursors'](){const _0x652acc=_0x18936a;var _0x54036d;(_0x54036d=this[_0x652acc(0x1ec)])==null||_0x54036d[_0x652acc(0x38d)](_0x339869=>_0x339869[_0x652acc(0x32f)]());}[_0x18936a(0x250)](){const _0x5c1f3d=_0x18936a;return _0x478542[_0x5c1f3d(0x27d)](this[_0x5c1f3d(0x380)][_0x5c1f3d(0x193)],this[_0x5c1f3d(0x380)]);}};_0x4f49ad=_0x239105([_0x2391e0(0x1,_0x5381a1[_0x18936a(0x13f)](_0x478542[_0x18936a(0x2bb)])),_0x2391e0(0x2,_0x5381a1[_0x18936a(0x13f)](_0xf8b381)),_0x2391e0(0x3,_0x5381a1['Inject'](_0x5381a1[_0x18936a(0x16e)]))],_0x4f49ad);function _0x4a7db8(_0x3b9893){const _0x27511b=_0x18936a,_0x406d8c=new Map();return _0x3b9893[_0x27511b(0x38d)](_0x4afe4f=>{const _0x466908=_0x27511b;if(_0x406d8c[_0x466908(0x16f)](_0x4afe4f[_0x466908(0x315)])){const _0x57f435=_0x406d8c['get'](_0x4afe4f[_0x466908(0x315)]);_0x57f435[_0x466908(0x154)]+=',\x20'+_0x4afe4f[_0x466908(0x154)];}else _0x406d8c[_0x466908(0x2c6)](_0x4afe4f[_0x466908(0x315)],_0x4afe4f);}),Array['from'](_0x406d8c[_0x27511b(0x369)]());}var _0x4618e2=function(){const _0x568d47=_0x18936a;return _0x4618e2=Object[_0x568d47(0x210)]||function(_0x5402f9){const _0x371f7e=_0x568d47;for(var _0x5b6b75,_0x348bc7=0x1,_0x10fc9c=arguments[_0x371f7e(0x26f)];_0x348bc7<_0x10fc9c;_0x348bc7++){_0x5b6b75=arguments[_0x348bc7];for(var _0x566f48 in _0x5b6b75)Object[_0x371f7e(0x228)]['hasOwnProperty'][_0x371f7e(0x1f9)](_0x5b6b75,_0x566f48)&&(_0x5402f9[_0x566f48]=_0x5b6b75[_0x566f48]);}return _0x5402f9;},_0x4618e2[_0x568d47(0x1a9)](this,arguments);},_0x3dafb2=function(_0x2ca094,_0x15ee13){const _0x218b5b=_0x18936a;var _0x2f8a58={};for(var _0x30eda2 in _0x2ca094)Object[_0x218b5b(0x228)][_0x218b5b(0x16c)]['call'](_0x2ca094,_0x30eda2)&&_0x15ee13[_0x218b5b(0x2e7)](_0x30eda2)<0x0&&(_0x2f8a58[_0x30eda2]=_0x2ca094[_0x30eda2]);if(_0x2ca094!=null&&typeof Object['getOwnPropertySymbols']==_0x218b5b(0x2cb)){for(var _0x2a7670=0x0,_0x30eda2=Object[_0x218b5b(0x222)](_0x2ca094);_0x2a7670<_0x30eda2[_0x218b5b(0x26f)];_0x2a7670++)_0x15ee13[_0x218b5b(0x2e7)](_0x30eda2[_0x2a7670])<0x0&&Object['prototype'][_0x218b5b(0x1b3)][_0x218b5b(0x1f9)](_0x2ca094,_0x30eda2[_0x2a7670])&&(_0x2f8a58[_0x30eda2[_0x2a7670]]=_0x2ca094[_0x30eda2[_0x2a7670]]);}return _0x2f8a58;},_0x31ba75=_0x585a14[_0x18936a(0x218)](function(_0x5ebf55,_0x24058a){const _0x1423be=_0x18936a;var _0x41c216=_0x5ebf55[_0x1423be(0x32e)],_0x5a7cfc=_0x5ebf55['id'],_0x40cc00=_0x5ebf55[_0x1423be(0x391)],_0x2db357=_0x5ebf55[_0x1423be(0x251)],_0x15cbb5=_0x3dafb2(_0x5ebf55,[_0x1423be(0x32e),'id',_0x1423be(0x391),'extend']),_0x3728bd='univerjs-icon\x20univerjs-icon-'[_0x1423be(0x299)](_0x5a7cfc,'\x20')[_0x1423be(0x299)](_0x40cc00||'')[_0x1423be(0x328)](),_0xd49ad8=_0x585a14[_0x1423be(0x188)]('_'[_0x1423be(0x299)](_0x37402c()));return _0x333324(_0x41c216,''['concat'](_0x5a7cfc),{'defIds':_0x41c216[_0x1423be(0x2ad)],'idSuffix':_0xd49ad8[_0x1423be(0x2d3)]},_0x4618e2({'ref':_0x24058a,'className':_0x3728bd},_0x15cbb5),_0x2db357);});function _0x333324(_0x316b1e,_0x41a974,_0x54569b,_0x41d5d4,_0x5654ec){const _0x510d82=_0x18936a;return _0x585a14[_0x510d82(0x280)](_0x316b1e[_0x510d82(0x34a)],_0x4618e2(_0x4618e2({'key':_0x41a974},_0x184b27(_0x316b1e,_0x54569b,_0x5654ec)),_0x41d5d4),(_0x152c6b(_0x316b1e,_0x54569b)['children']||[])[_0x510d82(0x233)](function(_0x5167e1,_0x4a401a){const _0x552757=_0x510d82;return _0x333324(_0x5167e1,''[_0x552757(0x299)](_0x41a974,'-')['concat'](_0x316b1e[_0x552757(0x34a)],'-')[_0x552757(0x299)](_0x4a401a),_0x54569b,void 0x0,_0x5654ec);}));}function _0x184b27(_0x4b1057,_0x4eb534,_0x214fe5){const _0x367fb4=_0x18936a;var _0x4bfe83=_0x4618e2({},_0x4b1057['attrs']);_0x214fe5!=null&&_0x214fe5[_0x367fb4(0x301)]&&_0x4bfe83[_0x367fb4(0x22f)]===_0x367fb4(0x301)&&(_0x4bfe83[_0x367fb4(0x22f)]=_0x214fe5[_0x367fb4(0x301)]),_0x4b1057[_0x367fb4(0x34a)]===_0x367fb4(0x285)&&_0x4bfe83['id']&&(_0x4bfe83['id']=_0x4bfe83['id']+_0x4eb534[_0x367fb4(0x144)]),Object[_0x367fb4(0x133)](_0x4bfe83)[_0x367fb4(0x38d)](function(_0x8cfc4b){const _0x1b5224=_0x367fb4;var _0x3e5658=_0x8cfc4b[0x0],_0xfccf26=_0x8cfc4b[0x1];_0x3e5658===_0x1b5224(0x285)&&typeof _0xfccf26=='string'&&(_0x4bfe83[_0x3e5658]=_0xfccf26[_0x1b5224(0x24d)](/url\(#(.*)\)/,_0x1b5224(0x19c)[_0x1b5224(0x299)](_0x4eb534[_0x1b5224(0x144)],')')));});var _0x1b8941=_0x4eb534[_0x367fb4(0x2ad)];return!_0x1b8941||_0x1b8941[_0x367fb4(0x26f)]===0x0||(_0x4b1057[_0x367fb4(0x34a)]==='use'&&_0x4bfe83[_0x367fb4(0x28e)]&&(_0x4bfe83[_0x367fb4(0x28e)]=_0x4bfe83[_0x367fb4(0x28e)]+_0x4eb534[_0x367fb4(0x144)]),Object[_0x367fb4(0x133)](_0x4bfe83)[_0x367fb4(0x38d)](function(_0x4c2708){const _0x2ccd4d=_0x367fb4;var _0x450d5e=_0x4c2708[0x0],_0x383ad2=_0x4c2708[0x1];typeof _0x383ad2=='string'&&(_0x4bfe83[_0x450d5e]=_0x383ad2['replace'](/url\(#(.*)\)/,_0x2ccd4d(0x19c)[_0x2ccd4d(0x299)](_0x4eb534['idSuffix'],')')));})),_0x4bfe83;}function _0x152c6b(_0x12e4ce,_0x2a7b4c){const _0x1ef170=_0x18936a;var _0x50cc58,_0x1b1b76=_0x2a7b4c[_0x1ef170(0x2ad)];return!_0x1b1b76||_0x1b1b76[_0x1ef170(0x26f)]===0x0?_0x12e4ce:_0x12e4ce[_0x1ef170(0x34a)]===_0x1ef170(0x1e0)&&(!((_0x50cc58=_0x12e4ce[_0x1ef170(0x164)])===null||_0x50cc58===void 0x0)&&_0x50cc58[_0x1ef170(0x26f)])?_0x4618e2(_0x4618e2({},_0x12e4ce),{'children':_0x12e4ce[_0x1ef170(0x164)][_0x1ef170(0x233)](function(_0x4edd3a){const _0xacaba3=_0x1ef170;return typeof _0x4edd3a[_0xacaba3(0x2fc)]['id']==_0xacaba3(0x33d)&&_0x1b1b76&&_0x1b1b76['includes'](_0x4edd3a[_0xacaba3(0x2fc)]['id'])?_0x4618e2(_0x4618e2({},_0x4edd3a),{'attrs':_0x4618e2(_0x4618e2({},_0x4edd3a['attrs']),{'id':_0x4edd3a['attrs']['id']+_0x2a7b4c[_0xacaba3(0x144)]})}):_0x4edd3a;})}):_0x12e4ce;}function _0x37402c(){const _0x1d717b=_0x18936a;return Math['random']()[_0x1d717b(0x35f)](0x24)[_0x1d717b(0x189)](0x2,0x8);}_0x31ba75['displayName']='UniverIcon';var _0x501129={'tag':_0x18936a(0x2a5),'attrs':{'xmlns':_0x18936a(0x208),'fill':_0x18936a(0x1e4),'viewBox':_0x18936a(0x288),'width':_0x18936a(0x3b9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x18936a(0x28a)},'children':[{'tag':_0x18936a(0x1d3),'attrs':{'stroke':_0x18936a(0x3b1),'d':_0x18936a(0x1d5),'strokeLinecap':_0x18936a(0x279),'strokeLinejoin':_0x18936a(0x279),'strokeWidth':1.2}}]},{'tag':_0x18936a(0x1e0),'attrs':{},'children':[{'tag':_0x18936a(0x2c3),'attrs':{'id':_0x18936a(0x286)},'children':[{'tag':_0x18936a(0x1d3),'attrs':{'fill':_0x18936a(0x26b),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x18936a(0x286)]},_0x3cc597=_0x585a14[_0x18936a(0x218)](function(_0x3379f5,_0x5ab96b){const _0x538ee4=_0x18936a;return _0x585a14[_0x538ee4(0x280)](_0x31ba75,Object[_0x538ee4(0x210)]({},_0x3379f5,{'id':_0x538ee4(0x271),'ref':_0x5ab96b,'icon':_0x501129}));});_0x3cc597[_0x18936a(0x364)]=_0x18936a(0x176);var _0x2c02b0={'tag':_0x18936a(0x2a5),'attrs':{'xmlns':_0x18936a(0x208),'fill':_0x18936a(0x1e4),'viewBox':_0x18936a(0x36c),'width':_0x18936a(0x3b9),'height':_0x18936a(0x3b9)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x18936a(0x1d3),'attrs':{'stroke':_0x18936a(0x3b1),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x18936a(0x279),'strokeLinejoin':_0x18936a(0x279),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x18936a(0x2c3),'attrs':{'id':_0x18936a(0x211)},'children':[{'tag':_0x18936a(0x1d3),'attrs':{'fill':'white','d':_0x18936a(0x162),'transform':_0x18936a(0x38a)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x167272=_0x585a14[_0x18936a(0x218)](function(_0x187f1d,_0x4e2995){const _0x30cd24=_0x18936a;return _0x585a14[_0x30cd24(0x280)](_0x31ba75,Object['assign']({},_0x187f1d,{'id':_0x30cd24(0x19d),'ref':_0x4e2995,'icon':_0x2c02b0}));});_0x167272[_0x18936a(0x364)]='OnLineIcon';function _0x5cf59a(_0x39eb0b){const _0x4501fb=_0x18936a;switch(_0x39eb0b){case _0x158f6a[_0x4501fb(0x177)][_0x4501fb(0x23c)]:return _0x4501fb(0x25a);case _0x158f6a['CollaborationStatus'][_0x4501fb(0x137)]:return'collabStatus.conflict';case _0x158f6a[_0x4501fb(0x177)][_0x4501fb(0x32d)]:return _0x4501fb(0x293);case _0x158f6a[_0x4501fb(0x177)][_0x4501fb(0x220)]:return _0x4501fb(0x150);case _0x158f6a['CollaborationStatus'][_0x4501fb(0x1d0)]:case _0x158f6a[_0x4501fb(0x177)][_0x4501fb(0x12b)]:return _0x4501fb(0x383);case _0x158f6a[_0x4501fb(0x177)]['SYNCED']:case _0x158f6a['CollaborationStatus'][_0x4501fb(0x30a)]:return'collabStatus.synced';}}function _0x4dbbdd(_0x727a50){const _0x17fa3a=_0x18936a,{status$:_0x12e462}=_0x727a50,_0x61490=_0x30a129[_0x17fa3a(0x217)](_0x12e462,_0x158f6a[_0x17fa3a(0x177)][_0x17fa3a(0x220)]),_0x24efad=_0x30a129[_0x17fa3a(0x35b)](_0x5381a1['LocaleService']),_0x3deb35=_0x30a129[_0x17fa3a(0x35b)](_0x158f6a['CollaborationSessionService']),_0x119d94=_0x61490!==_0x158f6a[_0x17fa3a(0x177)][_0x17fa3a(0x23c)],_0x2595bd=_0x24efad['t'](_0x5cf59a(_0x61490)),_0x4b429f=_0x119d94?_0x36f141[_0x17fa3a(0x29e)](_0x167272,{}):_0x36f141['jsx'](_0x3cc597,{}),_0x3bed25=_0x585a14[_0x17fa3a(0x33c)](()=>{const _0x291295=_0x17fa3a;_0x119d94||_0x3deb35[_0x291295(0x39f)]();},[_0x119d94,_0x3deb35]);function _0x239177(){const _0x4dbb39=_0x17fa3a;return _0x36f141[_0x4dbb39(0x2ec)]('div',{'className':_0x4dbb39(0x2da),'onClick':_0x3bed25,'children':[_0x36f141['jsx']('div',{'className':_0xeba7cf['clsx'](_0x4dbb39(0x2a2),{'univer-text-green-500':_0x119d94,'univer-text-red-500':!_0x119d94}),'children':_0x4b429f}),_0x36f141[_0x4dbb39(0x29e)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x2595bd})]});}return _0x119d94?_0x239177():_0x36f141['jsx'](_0xeba7cf[_0x17fa3a(0x234)],{'title':_0x24efad['t']('collab-client.tooltip.reconnect'),'children':_0x239177()});}var _0x25ded1=Object[_0x18936a(0x180)],_0x3d8db3=(_0x4ba3d9,_0x55f49b,_0x3453d8,_0x55fdff)=>{const _0x5251de=_0x18936a;for(var _0x34b1ac=_0x55fdff>0x1?void 0x0:_0x55fdff?_0x25ded1(_0x55f49b,_0x3453d8):_0x55f49b,_0x40328a=_0x4ba3d9[_0x5251de(0x26f)]-0x1,_0x370898;_0x40328a>=0x0;_0x40328a--)(_0x370898=_0x4ba3d9[_0x40328a])&&(_0x34b1ac=_0x370898(_0x34b1ac)||_0x34b1ac);return _0x34b1ac;},_0x366749=(_0x9c466f,_0x4e1407)=>(_0xc4cd56,_0x5809b0)=>_0x4e1407(_0xc4cd56,_0x5809b0,_0x9c466f);_0x1a1600[_0x18936a(0x2d8)]=class extends _0x5381a1['Disposable']{constructor(_0xf5125c,_0x4b5049,_0x481eb9,_0xa3c2aa){const _0x5284ad=_0x18936a;super(),_0x5178b9(this,_0x5284ad(0x1e1),new _0x3bfc2e[(_0x5284ad(0x30d))](_0x158f6a[_0x5284ad(0x177)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0xf5125c,this[_0x5284ad(0x37b)]=_0x4b5049,this[_0x5284ad(0x370)]=_0x481eb9,this[_0x5284ad(0x179)]=_0xa3c2aa,this[_0x5284ad(0x146)](),this[_0x5284ad(0x147)]());}[_0x18936a(0x147)](){const _0x1ea514=_0x18936a;this[_0x1ea514(0x1d6)](this['_univerInstanceService'][_0x1ea514(0x170)]['pipe'](_0x3bfc2e['switchMap'](()=>{const _0x4a6fa8=_0x1ea514,_0x3b8c10=this[_0x4a6fa8(0x173)][_0x4a6fa8(0x353)]();return _0x3b8c10?this[_0x4a6fa8(0x370)][_0x4a6fa8(0x30f)](_0x3b8c10[_0x4a6fa8(0x2a3)]()):_0x3bfc2e['of'](null);}),_0x3bfc2e['switchMap'](_0x24d046=>_0x24d046?_0x24d046[_0x1ea514(0x304)]:_0x3bfc2e['of'](_0x158f6a['CollaborationStatus'][_0x1ea514(0x220)])))['subscribe'](_0x5b027d=>{const _0x12b5cf=_0x1ea514;this[_0x12b5cf(0x1e1)][_0x12b5cf(0x1d8)](_0x5b027d);}));}[_0x18936a(0x146)](){const _0x5c8bb4=_0x18936a;this['disposeWithMe'](this[_0x5c8bb4(0x179)]['registerComponent'](_0x30a129['BuiltInUIPart'][_0x5c8bb4(0x357)],()=>_0x30a129['connectInjector'](_0x82f52c({'status$':this[_0x5c8bb4(0x1e1)]['asObservable']()}),this[_0x5c8bb4(0x37b)])));}},_0x1a1600['DesktopCollaborationStatusDisplayController']=_0x3d8db3([_0x366749(0x0,_0x5381a1[_0x18936a(0x168)]),_0x366749(0x1,_0x5381a1[_0x18936a(0x13f)](_0x5381a1[_0x18936a(0x35d)])),_0x366749(0x2,_0x5381a1[_0x18936a(0x13f)](_0x158f6a[_0x18936a(0x198)])),_0x366749(0x3,_0x30a129[_0x18936a(0x24f)])],_0x1a1600[_0x18936a(0x2d8)]);function _0x82f52c(_0x5ec6c4){const {status$:_0x451b8c}=_0x5ec6c4;return function(){const _0x1f8207=_0x3c84;return _0x36f141[_0x1f8207(0x29e)](_0x4dbbdd,{'status$':_0x451b8c});};}var _0x311467=Object[_0x18936a(0x180)],_0x203f0b=(_0x328115,_0x33af5e,_0xa97720,_0x5f304e)=>{for(var _0x394086=_0x5f304e>0x1?void 0x0:_0x5f304e?_0x311467(_0x33af5e,_0xa97720):_0x33af5e,_0x17de77=_0x328115['length']-0x1,_0x1f8272;_0x17de77>=0x0;_0x17de77--)(_0x1f8272=_0x328115[_0x17de77])&&(_0x394086=_0x1f8272(_0x394086)||_0x394086);return _0x394086;},_0x236fe0=(_0x37d9c9,_0x23de1c)=>(_0x3ec244,_0x2b6a66)=>_0x23de1c(_0x3ec244,_0x2b6a66,_0x37d9c9);let _0x126fed=class extends _0x5381a1['Disposable']{constructor(_0x114033,_0x53133b,_0x1de6b3,_0x2cb9c6,_0x5a4650,_0x292234){const _0x3a1ca4=_0x18936a;super(),this[_0x3a1ca4(0x2fd)]=_0x114033,this['_localCacheService']=_0x53133b,this['_collaborationUIEventService']=_0x1de6b3,this['_messageService']=_0x2cb9c6,this[_0x3a1ca4(0x1ca)]=_0x5a4650,this[_0x3a1ca4(0x13b)]=_0x292234,this[_0x3a1ca4(0x244)](),this[_0x3a1ca4(0x37a)]();}[_0x18936a(0x244)](){const _0x759183=_0x18936a;this[_0x759183(0x1d6)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x26899e=_0x759183;if(this[_0x26899e(0x3ab)][_0x26899e(0x1df)][_0x26899e(0x272)])return this[_0x26899e(0x13b)]['t'](_0x26899e(0x256));}));}['_initEvent'](){const _0x2e6d03=_0x18936a;this[_0x2e6d03(0x1d6)](this[_0x2e6d03(0x385)]['event$']['subscribe'](_0xaafa36=>{const _0x46c47e=_0x2e6d03;_0xaafa36['id']===_0x158f6a['CollaborationUIEventId'][_0x46c47e(0x1ba)]&&this[_0x46c47e(0x350)][_0x46c47e(0x268)]({'type':_0xeba7cf[_0x46c47e(0x2d6)][_0x46c47e(0x243)],'content':this[_0x46c47e(0x13b)]['t'](_0x46c47e(0x21e))}),_0xaafa36['id']===_0x158f6a[_0x46c47e(0x17f)][_0x46c47e(0x264)]&&this[_0x46c47e(0x350)][_0x46c47e(0x268)]({'type':_0xeba7cf[_0x46c47e(0x2d6)][_0x46c47e(0x243)],'content':this[_0x46c47e(0x13b)]['t'](_0x46c47e(0x362))}),_0xaafa36['id']===_0x158f6a[_0x46c47e(0x17f)][_0x46c47e(0x296)]&&this['_notificationService'][_0x46c47e(0x268)]({'title':this[_0x46c47e(0x13b)]['t']('permission.title'),'content':this['_localeService']['t'](_0x46c47e(0x183)),'type':_0x46c47e(0x18c),'duration':0x0}),_0xaafa36['id']===_0x158f6a[_0x46c47e(0x17f)][_0x46c47e(0x137)]&&this[_0x46c47e(0x350)]['show']({'type':_0xeba7cf[_0x46c47e(0x2d6)][_0x46c47e(0x186)],'content':this[_0x46c47e(0x13b)]['t'](_0x46c47e(0x362))+'('+_0xaafa36[_0x46c47e(0x1b4)]+')'}),_0xaafa36['id']===_0x158f6a['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x46c47e(0x350)]['show']({'type':_0xeba7cf[_0x46c47e(0x2d6)][_0x46c47e(0x243)],'content':this[_0x46c47e(0x13b)]['t'](_0xaafa36[_0x46c47e(0x1b4)]||'')}),_0xaafa36['id']===_0x158f6a['CollaborationUIEventId'][_0x46c47e(0x1b5)]&&this[_0x46c47e(0x350)][_0x46c47e(0x268)]({'type':_0xeba7cf[_0x46c47e(0x2d6)][_0x46c47e(0x243)],'content':this[_0x46c47e(0x13b)]['t'](_0x46c47e(0x298))}),_0xaafa36['id']===_0x158f6a[_0x46c47e(0x17f)][_0x46c47e(0x29c)]&&this['_messageService'][_0x46c47e(0x268)]({'type':_0xeba7cf[_0x46c47e(0x2d6)][_0x46c47e(0x186)],'content':this[_0x46c47e(0x13b)]['t']('session.connection-failed')}),_0xaafa36['id']===_0x158f6a['CollaborationUIEventId'][_0x46c47e(0x327)]&&this[_0x46c47e(0x350)][_0x46c47e(0x268)]({'type':_0xeba7cf['MessageType'][_0x46c47e(0x186)],'content':this[_0x46c47e(0x13b)]['t'](_0x46c47e(0x1bb))});}));}};_0x126fed=_0x203f0b([_0x236fe0(0x0,_0x30a129['IBeforeCloseService']),_0x236fe0(0x1,_0x158f6a[_0x18936a(0x3bf)]),_0x236fe0(0x2,_0x5381a1[_0x18936a(0x13f)](_0x158f6a['CollaborationUIEventService'])),_0x236fe0(0x3,_0x30a129[_0x18936a(0x24b)]),_0x236fe0(0x4,_0x30a129[_0x18936a(0x1b2)]),_0x236fe0(0x5,_0x5381a1[_0x18936a(0x13f)](_0x5381a1[_0x18936a(0x178)]))],_0x126fed);const _0xd18fdb=_0x18936a(0x1e2),_0x23f080={},_0x15134c=_0x5381a1['createIdentifier'](_0x18936a(0x1a8));var _0xb0f343=Object['getOwnPropertyDescriptor'],_0xe52b04=(_0x172a12,_0x4b3b13,_0x3ad8ee,_0x1a5986)=>{const _0x1e74d5=_0x18936a;for(var _0x2044ab=_0x1a5986>0x1?void 0x0:_0x1a5986?_0xb0f343(_0x4b3b13,_0x3ad8ee):_0x4b3b13,_0x393e85=_0x172a12[_0x1e74d5(0x26f)]-0x1,_0x24c487;_0x393e85>=0x0;_0x393e85--)(_0x24c487=_0x172a12[_0x393e85])&&(_0x2044ab=_0x24c487(_0x2044ab)||_0x2044ab);return _0x2044ab;},_0x57a4db=(_0x546dda,_0x5c5eb8)=>(_0x6ba1b3,_0xded6b4)=>_0x5c5eb8(_0x6ba1b3,_0xded6b4,_0x546dda);_0x1a1600['CollaborationDataLoaderController']=class extends _0x5381a1[_0x18936a(0x194)]{constructor(_0x2bfa27,_0x4e52d6,_0x47c584,_0x33e785,_0x4db170){const _0x341ee0=_0x18936a;super(),this['_urlService']=_0x2bfa27,this[_0x341ee0(0x2ef)]=_0x4e52d6,this[_0x341ee0(0x1ae)]=_0x47c584,this[_0x341ee0(0x136)]=_0x33e785,_0x4db170?_0x4db170==null||_0x4db170[_0x341ee0(0x1b7)]()[_0x341ee0(0x1a4)](()=>this[_0x341ee0(0x1aa)]()):(this['_logService'][_0x341ee0(0x284)](_0x341ee0(0x190),_0x341ee0(0x18e)),this[_0x341ee0(0x1aa)]());}async[_0x18936a(0x1aa)](){const _0x31080d=_0x18936a,_0x3feed5=this[_0x31080d(0x36d)][_0x31080d(0x3c2)](_0x31080d(0x193)),_0x592a6b=this['_urlService']['getParam'](_0x31080d(0x227)),_0x535dea=this[_0x31080d(0x36d)]['getParam']('subunit');if(!_0x3feed5||!_0x592a6b){this[_0x31080d(0x2ef)]['debug'](_0x31080d(0x190),_0x31080d(0x2c7));return;}const _0x8c10de=await this[_0x31080d(0x136)][_0x31080d(0x1f2)](_0x3feed5,Number(_0x592a6b),_0x535dea);_0x8c10de&&_0x8c10de instanceof _0x5381a1[_0x31080d(0x356)]&&this[_0x31080d(0x2c1)](_0x8c10de);}async['_setupSubUnitSync'](_0x4f45e1){const _0x138812=_0x18936a;await this[_0x138812(0x2ac)](_0x4f45e1),_0x4f45e1[_0x138812(0x2f2)][_0x138812(0x388)](_0x3bfc2e[_0x138812(0x34d)](this[_0x138812(0x274)]))[_0x138812(0x182)](_0x26d601=>{_0x26d601&&this['_updateURLWithCurrentState'](_0x26d601);}),this[_0x138812(0x36d)]['urlChange$'][_0x138812(0x388)](_0x3bfc2e[_0x138812(0x34d)](this[_0x138812(0x274)]))[_0x138812(0x182)](()=>this[_0x138812(0x2ac)](_0x4f45e1));}[_0x18936a(0x322)](_0x57ee25,_0x31b2e5=!0x1){const _0x57b03e=_0x18936a,_0x489ea=this['_urlService'][_0x57b03e(0x3c2)](_0x57b03e(0x361));_0x57ee25[_0x57b03e(0x3b0)]()!==_0x489ea&&this[_0x57b03e(0x36d)]['setParam'](_0x57b03e(0x361),_0x57ee25[_0x57b03e(0x3b0)](),_0x31b2e5);}async[_0x18936a(0x2ac)](_0x38d065){const _0x490d34=_0x18936a;var _0x1349a4;const _0x4f2a7b=this[_0x490d34(0x36d)][_0x490d34(0x3c2)](_0x490d34(0x361));if(!_0x4f2a7b||!_0x38d065[_0x490d34(0x19f)](_0x4f2a7b)){const _0x31fcd1=_0x38d065[_0x490d34(0x19e)]()[0x0],_0x772fc3=_0x38d065[_0x490d34(0x19f)](_0x31fcd1);if(!_0x772fc3)return;this['_updateURLWithCurrentState'](_0x772fc3,!0x0),await this[_0x490d34(0x1ae)]['executeCommand'](_0x35314c[_0x490d34(0x2bc)]['id'],{'unitId':_0x38d065[_0x490d34(0x2a3)](),'subUnitId':_0x31fcd1});return;}((_0x1349a4=_0x38d065['getActiveSheet']())==null?void 0x0:_0x1349a4[_0x490d34(0x3b0)]())!==_0x4f2a7b&&await this[_0x490d34(0x1ae)][_0x490d34(0x1db)](_0x35314c[_0x490d34(0x2bc)]['id'],{'unitId':_0x38d065[_0x490d34(0x2a3)](),'subUnitId':_0x4f2a7b});}},_0x1a1600[_0x18936a(0x34b)]=_0xe52b04([_0x57a4db(0x0,_0x15134c),_0x57a4db(0x1,_0x5381a1[_0x18936a(0x339)]),_0x57a4db(0x2,_0x5381a1['ICommandService']),_0x57a4db(0x3,_0x5381a1[_0x18936a(0x13f)](_0x158f6a[_0x18936a(0x373)])),_0x57a4db(0x4,_0x5381a1['Optional'](_0x156ba4[_0x18936a(0x330)]))],_0x1a1600[_0x18936a(0x34b)]);var _0x928b6e=Object['getOwnPropertyDescriptor'],_0x536801=(_0x5c9ced,_0x5351b1,_0x12ac7b,_0x4bde64)=>{const _0x8099d=_0x18936a;for(var _0x14e1d2=_0x4bde64>0x1?void 0x0:_0x4bde64?_0x928b6e(_0x5351b1,_0x12ac7b):_0x5351b1,_0x5b9559=_0x5c9ced[_0x8099d(0x26f)]-0x1,_0x50cb75;_0x5b9559>=0x0;_0x5b9559--)(_0x50cb75=_0x5c9ced[_0x5b9559])&&(_0x14e1d2=_0x50cb75(_0x14e1d2)||_0x14e1d2);return _0x14e1d2;},_0x4ab651=(_0x16e557,_0x550c01)=>(_0x10f374,_0x146ac1)=>_0x550c01(_0x10f374,_0x146ac1,_0x16e557);let _0x55d8f5=class{constructor(_0x1c0b34,_0x36d3d6,_0x3c1c21){const _0x11ba5b=_0x18936a;this['_injector']=_0x1c0b34,this[_0x11ba5b(0x38b)]=_0x36d3d6,this[_0x11ba5b(0x30b)]=_0x3c1c21;}['transformIMECache'](_0x4268d5){const _0x53d1ff=_0x18936a;this[_0x53d1ff(0x238)](_0x4268d5),this['_transformPreviousActiveRange'](_0x4268d5);}['transformRemoteChangeset'](_0x43d3d7){const _0x3f88b7=_0x18936a,{unitID:_0x108676}=_0x43d3d7,_0xc0ac0c=this[_0x3f88b7(0x30b)][_0x3f88b7(0x352)](_0x108676)['with'](_0x12cdf9[_0x3f88b7(0x20d)]),{redoCache:_0x57ec35}=_0xc0ac0c['getUndoRedoMutationParamsCache']();if(_0x57ec35[_0x3f88b7(0x26f)]===0x0)return _0x43d3d7;let _0x5d5384=_0x5381a1['Tools'][_0x3f88b7(0x202)](_0x43d3d7[_0x3f88b7(0x2ff)][0x0]);for(let _0x1a0f32=0x0;_0x1a0f32<_0x57ec35[_0x3f88b7(0x26f)];_0x1a0f32++){const _0x558fc4={'id':_0x3f88b7(0x36f),'params':{..._0x57ec35[_0x1a0f32]}},_0x11de4d=this[_0x3f88b7(0x38b)][_0x3f88b7(0x1e6)](_0x5d5384,_0x558fc4,!0x1);if(_0x13a7ce[_0x3f88b7(0x289)](_0x11de4d))throw _0x11de4d['error'];_0x5d5384=_0x11de4d[_0x3f88b7(0x201)];}return{..._0x5381a1[_0x3f88b7(0x39c)][_0x3f88b7(0x202)](_0x43d3d7),'mutations':[_0x5d5384]};}['_transformUndoRedoStack'](_0x128d08){const _0x3476a5=_0x18936a,{unitID:_0x361888}=_0x128d08,_0x4355ea=this[_0x3476a5(0x30b)][_0x3476a5(0x352)](_0x361888)['with'](_0x12cdf9[_0x3476a5(0x20d)]),{undoCache:_0x55e3b4,redoCache:_0x5bec26}=_0x4355ea[_0x3476a5(0x1fa)]();if(_0x55e3b4['length']===0x0||_0x5bec26[_0x3476a5(0x26f)]===0x0)return;const _0x4bbb09=[],_0x15d5eb=[];let _0x17cb5e=_0x5381a1[_0x3476a5(0x39c)][_0x3476a5(0x202)](_0x128d08['mutations'][0x0]),_0x5c24a8=_0x5381a1[_0x3476a5(0x39c)]['deepClone'](_0x128d08[_0x3476a5(0x2ff)][0x0]);for(let _0x35aa65=_0x55e3b4[_0x3476a5(0x26f)]-0x1;_0x35aa65>=0x0;_0x35aa65--){const _0x51494a={'id':_0x3476a5(0x36f),'params':{..._0x55e3b4[_0x35aa65]}},_0x29278c={'id':_0x3476a5(0x36f),'params':{..._0x5bec26[_0x35aa65]}},_0x4be218=this[_0x3476a5(0x38b)][_0x3476a5(0x1e6)](_0x17cb5e,_0x51494a,!0x1),_0x16b970=this[_0x3476a5(0x38b)]['transformMutation'](_0x5c24a8,_0x29278c,!0x1);if(_0x13a7ce[_0x3476a5(0x289)](_0x4be218))throw _0x4be218['error'];if(_0x13a7ce[_0x3476a5(0x289)](_0x16b970))throw _0x16b970[_0x3476a5(0x18c)];_0x4bbb09[_0x3476a5(0x326)](_0x4be218[_0x3476a5(0x245)][_0x3476a5(0x1f7)]),_0x15d5eb['unshift'](_0x16b970['m2Prime'][_0x3476a5(0x1f7)]),_0x17cb5e=_0x4be218['m1Prime'],_0x5c24a8=_0x16b970[_0x3476a5(0x201)];}_0x4355ea[_0x3476a5(0x2ea)]({'undoCache':_0x4bbb09,'redoCache':_0x15d5eb});}[_0x18936a(0x12e)](_0x491af8){const _0x32612a=_0x18936a,{unitID:_0x1e9d6c}=_0x491af8,_0x42a757=this['_renderManagerService'][_0x32612a(0x352)](_0x1e9d6c)[_0x32612a(0x171)](_0x12cdf9['DocIMEInputManagerService']),_0x1cd23f=_0x42a757[_0x32612a(0x23b)]();if(_0x1cd23f==null)return;const _0x751d1=[{'id':_0x32612a(0x36f),'params':{'unitId':_0x491af8['unitID'],'actions':null,'textRanges':[_0x1cd23f]}}],_0x2a32fd=this[_0x32612a(0x38b)][_0x32612a(0x2e4)](_0x491af8,_0x751d1);if(!_0x13a7ce[_0x32612a(0x203)](_0x2a32fd))throw _0x2a32fd[_0x32612a(0x18c)];const _0x2c98e7=_0x2a32fd[_0x32612a(0x245)][0x0][_0x32612a(0x1f7)][_0x32612a(0x135)];Array[_0x32612a(0x2c0)](_0x2c98e7)&&_0x2c98e7[_0x32612a(0x26f)]&&_0x42a757['setActiveRange'](_0x2c98e7[0x0]);}};_0x55d8f5=_0x536801([_0x4ab651(0x0,_0x5381a1[_0x18936a(0x13f)](_0x5381a1['Injector'])),_0x4ab651(0x1,_0x13a7ce[_0x18936a(0x17e)]),_0x4ab651(0x2,_0x425989[_0x18936a(0x337)])],_0x55d8f5);var _0x36aa55=Object['getOwnPropertyDescriptor'],_0x51a6bf=(_0xcf263c,_0x45d3b2,_0xd1405d,_0x48a97f)=>{const _0x289686=_0x18936a;for(var _0x4a778d=_0x48a97f>0x1?void 0x0:_0x48a97f?_0x36aa55(_0x45d3b2,_0xd1405d):_0x45d3b2,_0x2bf946=_0xcf263c[_0x289686(0x26f)]-0x1,_0x3f6fc4;_0x2bf946>=0x0;_0x2bf946--)(_0x3f6fc4=_0xcf263c[_0x2bf946])&&(_0x4a778d=_0x3f6fc4(_0x4a778d)||_0x4a778d);return _0x4a778d;},_0xae2114=(_0x21160f,_0x2ee8de)=>(_0x20bb20,_0x4f46ad)=>_0x2ee8de(_0x20bb20,_0x4f46ad,_0x21160f);let _0x4abe98=class{constructor(_0x51cf95,_0x13e8f7,_0x34a608){const _0x190780=_0x18936a;this['_injector']=_0x51cf95,this[_0x190780(0x38b)]=_0x13e8f7,this[_0x190780(0x379)]=_0x34a608;}[_0x18936a(0x1a6)](_0x1d7837){const _0x1480d9=_0x18936a;this[_0x1480d9(0x195)](_0x1d7837);}['transformRemoteChangeset'](_0x3ba6c3){const _0x507f62=_0x18936a,{unitID:_0x4da04d}=_0x3ba6c3,{collaboration:_0x492ffe}=this[_0x507f62(0x379)][_0x507f62(0x36e)](_0x4da04d);if(_0x492ffe['length']===0x0)return _0x3ba6c3;let _0x39db6d=_0x5381a1[_0x507f62(0x39c)][_0x507f62(0x202)](_0x3ba6c3[_0x507f62(0x2ff)][0x0]);for(let _0x40ff60=0x0;_0x40ff60<_0x492ffe[_0x507f62(0x26f)];_0x40ff60++){const _0x45ac4b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x492ffe[_0x40ff60][_0x507f62(0x262)],..._0x492ffe[_0x40ff60][_0x507f62(0x160)]}},_0x35194e=this[_0x507f62(0x38b)]['transformMutation'](_0x39db6d,_0x45ac4b,!0x1);if(_0x13a7ce['isTransformMutationFailure'](_0x35194e))throw _0x35194e[_0x507f62(0x18c)];_0x39db6d=_0x35194e['m1Prime'];}return{..._0x5381a1[_0x507f62(0x39c)][_0x507f62(0x202)](_0x3ba6c3),'mutations':[_0x39db6d]};}['_transformHistoryAndStateStack'](_0x4563fc){const _0x49c662=_0x18936a,{unitID:_0x1d5d02}=_0x4563fc,{history:_0x2acb00,collaboration:_0x161c5c}=this[_0x49c662(0x379)][_0x49c662(0x36e)](_0x1d5d02);if(_0x2acb00['length']===0x0&&_0x161c5c[_0x49c662(0x26f)]===0x0)return;const _0x5a3a49=[],_0x236579=[];let _0x11015b=_0x5381a1[_0x49c662(0x39c)][_0x49c662(0x202)](_0x4563fc[_0x49c662(0x2ff)][0x0]),_0x32dede=_0x5381a1[_0x49c662(0x39c)]['deepClone'](_0x4563fc['mutations'][0x0]);for(let _0x3afc7a=_0x2acb00['length']-0x1;_0x3afc7a>=0x0;_0x3afc7a--){const _0x22ccbe={'id':_0x49c662(0x36f),'params':{'unitId':_0x2acb00[_0x3afc7a][_0x49c662(0x262)],..._0x2acb00[_0x3afc7a][_0x49c662(0x32a)]}},_0x2c9f78={'id':_0x49c662(0x36f),'params':{'unitId':_0x2acb00[_0x3afc7a][_0x49c662(0x262)],..._0x2acb00[_0x3afc7a][_0x49c662(0x160)]}},_0x504ae0=this[_0x49c662(0x38b)][_0x49c662(0x1e6)](_0x11015b,_0x22ccbe,!0x1),_0x541050=this['_transformService']['transformMutation'](_0x32dede,_0x2c9f78,!0x1);if(_0x13a7ce[_0x49c662(0x289)](_0x504ae0))throw _0x504ae0['error'];if(_0x13a7ce['isTransformMutationFailure'](_0x541050))throw _0x541050[_0x49c662(0x18c)];_0x5a3a49[_0x49c662(0x326)]({..._0x2acb00[_0x3afc7a],'undoState':_0x504ae0['m2Prime'][_0x49c662(0x1f7)],'redoState':_0x541050['m2Prime'][_0x49c662(0x1f7)]}),_0x11015b=_0x504ae0[_0x49c662(0x201)],_0x32dede=_0x541050[_0x49c662(0x201)];}_0x11015b=_0x5381a1[_0x49c662(0x39c)][_0x49c662(0x202)](_0x4563fc[_0x49c662(0x2ff)][0x0]),_0x32dede=_0x5381a1['Tools'][_0x49c662(0x202)](_0x4563fc[_0x49c662(0x2ff)][0x0]);for(let _0xcb3b49=_0x161c5c[_0x49c662(0x26f)]-0x1;_0xcb3b49>=0x0;_0xcb3b49--){const _0x351ec6={'id':_0x49c662(0x36f),'params':{'unitId':_0x161c5c[_0xcb3b49][_0x49c662(0x262)],..._0x161c5c[_0xcb3b49]['undoState']}},_0x4e89be={'id':_0x49c662(0x36f),'params':{'unitId':_0x161c5c[_0xcb3b49][_0x49c662(0x262)],..._0x161c5c[_0xcb3b49][_0x49c662(0x160)]}},_0x21c203=this['_transformService']['transformMutation'](_0x11015b,_0x351ec6,!0x1),_0x124204=this[_0x49c662(0x38b)]['transformMutation'](_0x32dede,_0x4e89be,!0x1);if(_0x13a7ce[_0x49c662(0x289)](_0x21c203))throw _0x21c203[_0x49c662(0x18c)];if(_0x13a7ce['isTransformMutationFailure'](_0x124204))throw _0x124204['error'];_0x236579[_0x49c662(0x326)]({..._0x161c5c[_0xcb3b49],'undoState':_0x21c203['m2Prime'][_0x49c662(0x1f7)],'redoState':_0x124204[_0x49c662(0x245)][_0x49c662(0x1f7)]}),_0x11015b=_0x21c203[_0x49c662(0x201)],_0x32dede=_0x124204[_0x49c662(0x201)];}this[_0x49c662(0x379)][_0x49c662(0x1c3)](_0x1d5d02,{'history':_0x5a3a49,'collaboration':_0x236579});}};_0x4abe98=_0x51a6bf([_0xae2114(0x0,_0x5381a1[_0x18936a(0x13f)](_0x5381a1['Injector'])),_0xae2114(0x1,_0x13a7ce['ITransformService']),_0xae2114(0x2,_0x5381a1[_0x18936a(0x13f)](_0x12cdf9['DocStateChangeManagerService']))],_0x4abe98);var _0x53515=Object[_0x18936a(0x180)],_0x32efe6=(_0x25fd2b,_0x2ecfab,_0x2ca655,_0x1d7406)=>{const _0x145328=_0x18936a;for(var _0x197f61=_0x1d7406>0x1?void 0x0:_0x1d7406?_0x53515(_0x2ecfab,_0x2ca655):_0x2ecfab,_0x53d763=_0x25fd2b[_0x145328(0x26f)]-0x1,_0x48df24;_0x53d763>=0x0;_0x53d763--)(_0x48df24=_0x25fd2b[_0x53d763])&&(_0x197f61=_0x48df24(_0x197f61)||_0x197f61);return _0x197f61;},_0x17675c=(_0x323d9a,_0x1246be)=>(_0xc9c19,_0x34ffaa)=>_0x1246be(_0xc9c19,_0x34ffaa,_0x323d9a);let _0x550f52=class{constructor(_0x3b1dee,_0x1bc8f4){const _0x47af6c=_0x18936a;this[_0x47af6c(0x37b)]=_0x3b1dee,this[_0x47af6c(0x38b)]=_0x1bc8f4;}[_0x18936a(0x2b8)](_0x566969){const _0x344e0f=_0x18936a;var _0x1320ea;const _0x49fdd1=this['_injector'][_0x344e0f(0x333)](_0x396d1c[_0x344e0f(0x2f8)]),_0x607762=(_0x1320ea=_0x49fdd1[_0x344e0f(0x323)]())!=null?_0x1320ea:[];if(_0x607762[_0x344e0f(0x26f)]===0x0)return;const _0x573d40=_0x566969[_0x344e0f(0x2e5)],_0x7dc6d6=[{'id':_0x344e0f(0x36f),'params':{'unitId':_0x573d40,'actions':null,'textRanges':_0x607762}}],_0x547f60=this['_transformService'][_0x344e0f(0x2e4)](_0x566969,_0x7dc6d6);if(!_0x13a7ce[_0x344e0f(0x203)](_0x547f60))throw _0x547f60['error'];const _0x1a9bed=_0x547f60[_0x344e0f(0x245)][0x0][_0x344e0f(0x1f7)][_0x344e0f(0x135)];Array[_0x344e0f(0x2c0)](_0x1a9bed)&&_0x1a9bed['length']&&_0x49fdd1[_0x344e0f(0x316)](_0x1a9bed,{'unitId':_0x573d40,'subUnitId':_0x573d40},!0x1);}};_0x550f52=_0x32efe6([_0x17675c(0x0,_0x5381a1[_0x18936a(0x13f)](_0x5381a1[_0x18936a(0x35d)])),_0x17675c(0x1,_0x13a7ce[_0x18936a(0x17e)])],_0x550f52);var _0x56e6e3=Object[_0x18936a(0x180)],_0x528a30=(_0xdc5f4d,_0x15d059,_0x3e260a,_0x6607f9)=>{for(var _0x33e8bd=_0x6607f9>0x1?void 0x0:_0x6607f9?_0x56e6e3(_0x15d059,_0x3e260a):_0x15d059,_0x486710=_0xdc5f4d['length']-0x1,_0x46ca28;_0x486710>=0x0;_0x486710--)(_0x46ca28=_0xdc5f4d[_0x486710])&&(_0x33e8bd=_0x46ca28(_0x33e8bd)||_0x33e8bd);return _0x33e8bd;},_0x3d98f9=(_0x3a72f3,_0x3bd3c9)=>(_0x27d48e,_0x6e55fe)=>_0x3bd3c9(_0x27d48e,_0x6e55fe,_0x3a72f3);let _0xcfc56b=class extends _0x5381a1['Disposable']{constructor(_0x9f6925,_0x5f33f9,_0x2d0970,_0x2c72d1,_0x30dfd6,_0x27e562,_0x1306cf,_0x3f5451){const _0x396d10=_0x18936a;super(),_0x5178b9(this,'_status$',new _0x3bfc2e[(_0x396d10(0x30d))](_0x158f6a[_0x396d10(0x177)]['NOT_COLLAB'])),(this[_0x396d10(0x379)]=_0x9f6925,this[_0x396d10(0x370)]=_0x5f33f9,this['_docTransformIMECacheService']=_0x2d0970,this[_0x396d10(0x2cd)]=_0x2c72d1,this[_0x396d10(0x1e3)]=_0x30dfd6,this[_0x396d10(0x1c7)]=_0x27e562,this['_messageService']=_0x1306cf,this[_0x396d10(0x13b)]=_0x3f5451,this[_0x396d10(0x325)]());}[_0x18936a(0x325)](){const _0x529894=_0x18936a;this[_0x529894(0x1d6)](this[_0x529894(0x370)]['entityInit$'][_0x529894(0x182)](_0x39aa65=>{const _0x417c9b=_0x529894,_0x2e3f31=this[_0x417c9b(0x379)][_0x417c9b(0x307)][_0x417c9b(0x182)](_0x100741=>{const _0x4ac2d3=_0x417c9b;if(_0x100741==null)return;const {unitId:_0x5cf6b8,redoState:_0x555465,commandId:_0x5af453}=_0x100741;if(_0x5cf6b8!==_0x39aa65[_0x4ac2d3(0x2e5)])return;const _0x34e8a2={'id':_0x5af453,'type':_0x5381a1[_0x4ac2d3(0x281)][_0x4ac2d3(0x371)],'params':{'unitId':_0x5cf6b8,'actions':_0x555465[_0x4ac2d3(0x18b)],'textRanges':null}};_0x39aa65[_0x4ac2d3(0x2b2)](_0x34e8a2);});if(_0x39aa65[_0x417c9b(0x1d6)](_0x2e3f31),_0x39aa65 instanceof _0x158f6a[_0x417c9b(0x229)]){const _0x421c30={'onTransformIME':_0x4b6cbd=>this[_0x417c9b(0x16a)][_0x417c9b(0x321)](_0x4b6cbd),'onTransformState':_0x561fe1=>this[_0x417c9b(0x2cd)][_0x417c9b(0x1a6)](_0x561fe1),'onTransformSelections':_0x527edc=>this[_0x417c9b(0x1e3)][_0x417c9b(0x2b8)](_0x527edc),'onSyncEditingCollabCursor':_0x2f364d=>this[_0x417c9b(0x1c7)][_0x417c9b(0x148)](_0x2f364d),'onTransformRemoteChangesetByIMECache':_0x1def1b=>this[_0x417c9b(0x16a)][_0x417c9b(0x1c0)](_0x1def1b),'onTransformRemoteChangesetByStateCache':_0x4f0ab5=>this[_0x417c9b(0x2cd)]['transformRemoteChangeset'](_0x4f0ab5)};_0x39aa65[_0x417c9b(0x367)](_0x421c30);}}));}};_0xcfc56b=_0x528a30([_0x3d98f9(0x0,_0x5381a1['Inject'](_0x12cdf9['DocStateChangeManagerService'])),_0x3d98f9(0x1,_0x5381a1[_0x18936a(0x13f)](_0x158f6a['CollaborationController'])),_0x3d98f9(0x2,_0x5381a1[_0x18936a(0x13f)](_0x55d8f5)),_0x3d98f9(0x3,_0x5381a1['Inject'](_0x4abe98)),_0x3d98f9(0x4,_0x5381a1[_0x18936a(0x13f)](_0x550f52)),_0x3d98f9(0x5,_0x5381a1['Inject'](_0x136b53)),_0x3d98f9(0x6,_0x30a129[_0x18936a(0x24b)]),_0x3d98f9(0x7,_0x5381a1[_0x18936a(0x13f)](_0x5381a1[_0x18936a(0x178)]))],_0xcfc56b);var _0x1be2d0=Object['getOwnPropertyDescriptor'],_0x5ee087=(_0x22f007,_0x25eccd,_0x26adce,_0x6dad1)=>{const _0x4646f3=_0x18936a;for(var _0x17d338=_0x6dad1>0x1?void 0x0:_0x6dad1?_0x1be2d0(_0x25eccd,_0x26adce):_0x25eccd,_0x344034=_0x22f007[_0x4646f3(0x26f)]-0x1,_0x428275;_0x344034>=0x0;_0x344034--)(_0x428275=_0x22f007[_0x344034])&&(_0x17d338=_0x428275(_0x17d338)||_0x17d338);return _0x17d338;},_0x18f877=(_0x51090d,_0xe67102)=>(_0x1c1d98,_0x516f07)=>_0xe67102(_0x1c1d98,_0x516f07,_0x51090d);let _0xb7059a=class extends _0x5381a1[_0x18936a(0x212)]{constructor(_0x303675,_0x179efd,_0x715ad7){const _0xfd0d81=_0x18936a;super(),_0x5178b9(this,_0xfd0d81(0x2e2),new Map()),_0x5178b9(this,_0xfd0d81(0x140),new Map()),_0x5178b9(this,_0xfd0d81(0x224),!0x1),(this[_0xfd0d81(0x35c)]=_0x303675,this['_localStorageService']=_0x179efd,this[_0xfd0d81(0x167)]=_0x715ad7);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x18936a(0x151)](){const _0x3f1d01=_0x18936a;this[_0x3f1d01(0x224)]=!0x1;}get['saveTaskMap'](){const _0x5ea3a4=_0x18936a;return this[_0x5ea3a4(0x140)];}[_0x18936a(0x32f)](){const _0x178b4f=_0x18936a;this[_0x178b4f(0x3c6)]()['then'](()=>super[_0x178b4f(0x32f)]());}async[_0x18936a(0x209)](_0x50dd6b){const _0xd6121b=_0x18936a;return this[_0xd6121b(0x224)]?null:this[_0xd6121b(0x283)][_0xd6121b(0x13c)](_0x158f6a[_0xd6121b(0x344)](_0x50dd6b));}async['saveOfflineData'](_0x561b6d,_0x28761a){const _0x31a84a=_0x18936a;return!!this[_0x31a84a(0x283)][_0x31a84a(0x265)](_0x561b6d,_0x28761a);}[_0x18936a(0x1f8)](_0x962f22,_0x4eb259,_0x158830,_0x384ce7){const _0x2914dc=_0x18936a,_0x4c667d=this[_0x2914dc(0x167)][_0x2914dc(0x2b5)](_0x962f22);this[_0x2914dc(0x2e2)]['set'](_0x962f22,{'unitID':_0x962f22,'type':_0x4eb259,'awaitingChangeset':_0x158830,'mutations':_0x384ce7,'rev':_0x4c667d}),this[_0x2914dc(0x140)][_0x2914dc(0x16f)](_0x962f22)||this[_0x2914dc(0x294)](_0x962f22);}[_0x18936a(0x294)](_0x24f66c){const _0x579334=_0x18936a,_0x41cedb=this[_0x579334(0x12c)]();_0x41cedb===0x0?this[_0x579334(0x31f)](_0x24f66c):this[_0x579334(0x140)][_0x579334(0x2c6)](_0x24f66c,setTimeout(()=>this[_0x579334(0x31f)](_0x24f66c),_0x41cedb));}[_0x18936a(0x12c)](){const _0x2b1d64=_0x18936a;var _0x26c39e;return(_0x26c39e=this['_configService'][_0x2b1d64(0x29d)](_0x158f6a[_0x2b1d64(0x3c4)]))!=null?_0x26c39e:_0x158f6a[_0x2b1d64(0x290)];}[_0x18936a(0x31f)](_0x26285c){const _0x2ac3f7=_0x18936a,_0x5407d6=this[_0x2ac3f7(0x140)][_0x2ac3f7(0x333)](_0x26285c);return _0x5407d6!==void 0x0&&window[_0x2ac3f7(0x205)](_0x5407d6),this[_0x2ac3f7(0x283)]['setItem'](_0x158f6a[_0x2ac3f7(0x344)](_0x26285c),this[_0x2ac3f7(0x2e2)][_0x2ac3f7(0x333)](_0x26285c))[_0x2ac3f7(0x1a4)](()=>this[_0x2ac3f7(0x140)][_0x2ac3f7(0x25e)](_0x26285c));}async[_0x18936a(0x3c6)](){const _0x5c2e06=_0x18936a,_0x36d02a=[];this[_0x5c2e06(0x140)]['forEach']((_0x561f08,_0x46b9de)=>{const _0x2bf6e6=_0x5c2e06;window['clearTimeout'](_0x561f08),_0x36d02a[_0x2bf6e6(0x28b)](this[_0x2bf6e6(0x31f)](_0x46b9de)[_0x2bf6e6(0x1a4)](()=>{const _0x22cb04=_0x2bf6e6;this[_0x22cb04(0x140)]['delete'](_0x46b9de);}));}),await Promise['all'](_0x36d02a);}};_0xb7059a=_0x5ee087([_0x18f877(0x0,_0x5381a1[_0x18936a(0x3c3)]),_0x18f877(0x1,_0x5381a1[_0x18936a(0x2fa)]),_0x18f877(0x2,_0x5381a1['Inject'](_0x13a7ce[_0x18936a(0x392)]))],_0xb7059a);class _0x356c16 extends _0x5381a1['RxDisposable']{constructor(){const _0x574913=_0x18936a;super(),_0x5178b9(this,_0x574913(0x30e)),this[_0x574913(0x30e)]=_0x3bfc2e['fromEvent'](window,'popstate')[_0x574913(0x388)](_0x3bfc2e['takeUntil'](this[_0x574913(0x274)]),_0x3bfc2e['shareReplay'](0x1),_0x3bfc2e['mapTo'](void 0x0));}[_0x18936a(0x3ac)](_0xacf5dd,_0x2748c8,_0x4f5306=!0x1){const _0x103c70=_0x18936a,_0x187bf8=new URL(window[_0x103c70(0x242)]['href']);_0x187bf8[_0x103c70(0x3ad)][_0x103c70(0x2c6)](_0xacf5dd,_0x2748c8),_0x4f5306?window[_0x103c70(0x141)][_0x103c70(0x14f)]('','',_0x187bf8[_0x103c70(0x35f)]()):window[_0x103c70(0x141)][_0x103c70(0x21b)]('','',_0x187bf8['toString']());}['removeParam'](_0x2ab7bf,_0x5242af=!0x1){const _0x19191a=_0x18936a,_0xa484f9=new URL(window[_0x19191a(0x242)][_0x19191a(0x200)]);_0xa484f9[_0x19191a(0x3ad)][_0x19191a(0x25e)](_0x2ab7bf),_0x5242af?window[_0x19191a(0x141)][_0x19191a(0x14f)]('','',_0xa484f9[_0x19191a(0x35f)]()):window[_0x19191a(0x141)][_0x19191a(0x21b)]('','',_0xa484f9[_0x19191a(0x35f)]());}[_0x18936a(0x3c2)](_0x16e2ab){const _0x514e27=_0x18936a;var _0x43c279;return(_0x43c279=new URL(window[_0x514e27(0x242)][_0x514e27(0x200)])[_0x514e27(0x3ad)][_0x514e27(0x333)](_0x16e2ab))!=null?_0x43c279:void 0x0;}}var _0x5ae036=Object[_0x18936a(0x1f1)],_0x1aa569=Object[_0x18936a(0x180)],_0x3dee73=(_0x35d48f,_0x3be37b,_0xe3f70e)=>_0x3be37b in _0x35d48f?_0x5ae036(_0x35d48f,_0x3be37b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe3f70e}):_0x35d48f[_0x3be37b]=_0xe3f70e,_0x487880=(_0x204415,_0xc6972a,_0x5e5b9c,_0x144ee6)=>{const _0x59d351=_0x18936a;for(var _0x460449=_0x144ee6>0x1?void 0x0:_0x144ee6?_0x1aa569(_0xc6972a,_0x5e5b9c):_0xc6972a,_0x3dfe75=_0x204415[_0x59d351(0x26f)]-0x1,_0x22d286;_0x3dfe75>=0x0;_0x3dfe75--)(_0x22d286=_0x204415[_0x3dfe75])&&(_0x460449=_0x22d286(_0x460449)||_0x460449);return _0x460449;},_0x857e3e=(_0x49671,_0x400d85)=>(_0x25963a,_0x1137cc)=>_0x400d85(_0x25963a,_0x1137cc,_0x49671),_0x37a0d8=(_0xb23f9,_0x54eda5,_0x5337bb)=>_0x3dee73(_0xb23f9,_0x54eda5+'',_0x5337bb);const _0x39a0ea=_0x18936a(0x276);_0x1a1600['UniverCollaborationClientUIPlugin']=class extends _0x5381a1['Plugin']{constructor(_0x1a1cbd=_0x23f080,_0x3f92cb,_0x53168b,_0x13109d){const _0x5cdbff=_0x18936a;super(),this['_config']=_0x1a1cbd,this[_0x5cdbff(0x30b)]=_0x3f92cb,this[_0x5cdbff(0x37b)]=_0x53168b,this['_configService']=_0x13109d;const {..._0x3b0606}=_0x5381a1[_0x5cdbff(0x28d)]({},_0x23f080,this[_0x5cdbff(0x334)]);this[_0x5cdbff(0x35c)][_0x5cdbff(0x387)](_0xd18fdb,_0x3b0606);}[_0x18936a(0x17b)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x18936a(0x14a)](){const _0x43b0be=_0x18936a;this[_0x43b0be(0x269)]();}['_registerDependencies'](){const _0x50a43a=_0x18936a;var _0x2dff12;const _0x2379bf=[[_0x703bf0],[_0x550f52],[_0x55d8f5],[_0x4abe98],[_0x136b53],[_0x15134c,{'useClass':_0x356c16}],[_0x232e6b['ISocketService'],{'useClass':_0x232e6b[_0x50a43a(0x175)]}],[_0x158f6a[_0x50a43a(0x3bf)],{'useClass':_0xb7059a}],[_0x1a1600['DesktopCollaborationStatusDisplayController']],[_0xcfc56b],[_0x126fed],[_0xf8b381],[_0x5f3072],[_0x1a1600['CollaborationDataLoaderController']]];_0x5381a1['registerDependencies'](this['_injector'],_0x5381a1[_0x50a43a(0x1f5)](_0x2379bf,(_0x2dff12=this[_0x50a43a(0x334)])==null?void 0x0:_0x2dff12['override']));}[_0x18936a(0x269)](){const _0xca13ea=_0x18936a;this[_0xca13ea(0x1d6)](this[_0xca13ea(0x30b)][_0xca13ea(0x368)](_0x5381a1[_0xca13ea(0x259)][_0xca13ea(0x27f)],[_0x31fa14])),this[_0xca13ea(0x1d6)](this[_0xca13ea(0x30b)][_0xca13ea(0x368)](_0x5381a1[_0xca13ea(0x259)][_0xca13ea(0x29f)],[_0x4f49ad]));}['_initDependencies'](){const _0x2d175b=_0x18936a;_0x5381a1['touchDependencies'](this['_injector'],[[_0xf8b381],[_0x1a1600[_0x2d175b(0x2d8)]],[_0xcfc56b],[_0x126fed],[_0x1a1600[_0x2d175b(0x34b)]]]);}},_0x37a0d8(_0x1a1600[_0x18936a(0x37f)],_0x18936a(0x241),_0x39a0ea),_0x1a1600[_0x18936a(0x37f)]=_0x487880([_0x5381a1[_0x18936a(0x165)](_0x158f6a[_0x18936a(0x2a7)]),_0x857e3e(0x1,_0x425989['IRenderManagerService']),_0x857e3e(0x2,_0x5381a1[_0x18936a(0x13f)](_0x5381a1['Injector'])),_0x857e3e(0x3,_0x5381a1['IConfigService'])],_0x1a1600[_0x18936a(0x37f)]);var _0x332150=Object[_0x18936a(0x180)],_0x211120=(_0xa2cc8a,_0x2f0308,_0x20d38f,_0x1fb44b)=>{const _0x450f6b=_0x18936a;for(var _0x288c80=_0x1fb44b>0x1?void 0x0:_0x1fb44b?_0x332150(_0x2f0308,_0x20d38f):_0x2f0308,_0x43ca49=_0xa2cc8a[_0x450f6b(0x26f)]-0x1,_0xbd68b2;_0x43ca49>=0x0;_0x43ca49--)(_0xbd68b2=_0xa2cc8a[_0x43ca49])&&(_0x288c80=_0xbd68b2(_0x288c80)||_0x288c80);return _0x288c80;},_0x45809e=(_0x2bae04,_0x47d1eb)=>(_0x4100dd,_0x575e55)=>_0x47d1eb(_0x4100dd,_0x575e55,_0x2bae04);_0x1a1600[_0x18936a(0x216)]=class extends _0x158f6a[_0x18936a(0x174)]{constructor(_0x4f2f66,_0x3a66c3,_0x23ac3d,_0x571ab5,_0x577a4f){super(_0x4f2f66,_0x3a66c3,_0x23ac3d,_0x571ab5,_0x577a4f);}async[_0x18936a(0x1af)](_0x58f1f9){const _0xc36f89=_0x18936a,_0x146624=await this['_getSessionTicket'](),_0x346a86=this[_0xc36f89(0x2f0)](_0x58f1f9,_0x146624);return this['_doCreateSocket'](_0x346a86);}[_0x18936a(0x2f0)](_0x5c824a,_0x380726){const _0x4da25d=_0x18936a,_0x1c16ff=typeof window>'u'?new URL(_0x5c824a):new URL(_0x5c824a,window['location'][_0x4da25d(0x3b8)]);_0x1c16ff[_0x4da25d(0x3ad)][_0x4da25d(0x2c6)](_0x4da25d(0x311),_0x380726);const _0xd46c41=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4da25d(0x242)][_0x4da25d(0x396)]);return _0xd46c41[_0x4da25d(0x333)](_0x4da25d(0x20f))&&_0x1c16ff[_0x4da25d(0x3ad)][_0x4da25d(0x2c6)](_0x4da25d(0x20f),_0xd46c41[_0x4da25d(0x333)](_0x4da25d(0x20f))),_0x1c16ff[_0x4da25d(0x35f)]();}async['_getSessionTicket'](){const _0xf7967a=_0x18936a;var _0x33be2b,_0x1b4819,_0x260eaa;const _0x11c841=this[_0xf7967a(0x35c)][_0xf7967a(0x29d)](_0x158f6a[_0xf7967a(0x15d)]),_0x3bb35c=(_0x33be2b=_0x11c841==null?void 0x0:_0x11c841[_0xf7967a(0x2a6)])!=null?_0x33be2b:_0x158f6a['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x260eaa=(_0x1b4819=(await this['_httpService']['get'](_0x3bb35c,{'headers':{'Content-Type':_0xf7967a(0x131)}}))[_0xf7967a(0x143)])==null?void 0x0:_0x1b4819['ticket'])!=null?_0x260eaa:'';}},_0x1a1600[_0x18936a(0x216)]=_0x211120([_0x45809e(0x0,_0x5381a1[_0x18936a(0x13f)](_0x5381a1['Injector'])),_0x45809e(0x1,_0x5381a1[_0x18936a(0x13f)](_0x232e6b['HTTPService'])),_0x45809e(0x2,_0x5381a1[_0x18936a(0x3c3)]),_0x45809e(0x3,_0x5381a1[_0x18936a(0x339)]),_0x45809e(0x4,_0x13a7ce[_0x18936a(0x1bc)])],_0x1a1600[_0x18936a(0x216)]);const _0x3d84fb=0x7530,_0x27925a=_0x18936a(0x1eb);class _0x5bef66 extends _0x5381a1[_0x18936a(0x212)]{constructor(){const _0x43cde8=_0x18936a;super(),_0x5178b9(this,_0x43cde8(0x2f7),_0x5381a1['generateRandomId']()),_0x5178b9(this,'_selfUnitIDs',new Set()),_0x5178b9(this,'_unitOnClients',new Map()),_0x5178b9(this,'_heartbeatTimer',null),_0x5178b9(this,_0x43cde8(0x2b4),new Map()),_0x5178b9(this,_0x43cde8(0x169),new Map()),this[_0x43cde8(0x1aa)]();}[_0x18936a(0x32f)](){const _0x6b9fbb=_0x18936a;super[_0x6b9fbb(0x32f)](),this[_0x6b9fbb(0x2b4)][_0x6b9fbb(0x38d)]((_0x2ccaaa,_0x1d6cbe)=>this['_removeClearOtherTimer'](_0x1d6cbe)),this['_heartbeatTimer']&&window[_0x6b9fbb(0x3a6)](this[_0x6b9fbb(0x247)]);}[_0x18936a(0x2e1)](_0x57e825){const _0x3ac92f=_0x18936a;return this['_ensureSubject'](_0x57e825)[_0x3ac92f(0x388)](_0x3bfc2e[_0x3ac92f(0x138)]());}['editingUnit'](_0x18b11f){const _0x390a7d=_0x18936a;this[_0x390a7d(0x25c)][_0x390a7d(0x272)]===0x0&&this[_0x390a7d(0x21a)](),this[_0x390a7d(0x25c)][_0x390a7d(0x376)](_0x18b11f),this[_0x390a7d(0x28c)]({'type':0x0,'memberID':this[_0x390a7d(0x2f7)],'unitIDs':[_0x18b11f],'isForwarded':!0x1});}[_0x18936a(0x255)](_0x1e77a4){const _0x24913a=_0x18936a;this[_0x24913a(0x25c)][_0x24913a(0x25e)](_0x1e77a4),this[_0x24913a(0x25c)]['size']===0x0&&this[_0x24913a(0x247)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x18936a(0x1aa)](){const _0x185485=_0x18936a;this['disposeWithMe'](_0x5381a1['toDisposable'](_0x3bfc2e[_0x185485(0x37c)](window,'storage')['subscribe'](_0x1de820=>{const _0x191ee6=_0x185485;if(_0x1de820[_0x191ee6(0x1f4)]!==_0x27925a||!_0x1de820['newValue'])return;const _0x94ec71=JSON[_0x191ee6(0x215)](_0x1de820[_0x191ee6(0x363)]);this[_0x191ee6(0x128)](_0x94ec71);}))),window[_0x185485(0x1d1)](_0x185485(0x32b),()=>this['_send']({'type':0x1,'memberID':this[_0x185485(0x2f7)],'unitIDs':Array[_0x185485(0x152)](this['_selfUnitIDs'])}));}[_0x18936a(0x128)](_0xdb3f01){const _0x2be38b=_0x18936a;switch(_0xdb3f01[_0x2be38b(0x227)]){case 0x0:this['_handleJoinEvent'](_0xdb3f01);break;case 0x1:this[_0x2be38b(0x291)](_0xdb3f01);break;case 0x2:this[_0x2be38b(0x2c4)](_0xdb3f01);break;}}[_0x18936a(0x372)](_0x45800c){const _0x18403e=_0x18936a,{unitIDs:_0xc3677,memberID:_0x3fe6ba,isForwarded:_0x49498c}=_0x45800c;_0xc3677[_0x18403e(0x38d)](_0x50265e=>{const _0x1aa44a=_0x18403e;if(!_0x49498c&&this[_0x1aa44a(0x134)][_0x1aa44a(0x16f)](_0x50265e)&&this[_0x1aa44a(0x38c)](_0x50265e)['next'](_0x158f6a['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x1aa44a(0x134)]['has'](_0x50265e)||!this[_0x1aa44a(0x134)][_0x1aa44a(0x333)](_0x50265e)[_0x1aa44a(0x16f)](_0x3fe6ba)){const _0x2c85eb=this[_0x1aa44a(0x134)][_0x1aa44a(0x333)](_0x50265e)||new Set();_0x2c85eb[_0x1aa44a(0x376)](_0x3fe6ba),this[_0x1aa44a(0x134)][_0x1aa44a(0x2c6)](_0x50265e,_0x2c85eb),this[_0x1aa44a(0x1c4)](_0x3fe6ba);}}),_0x49498c||this[_0x18403e(0x28c)]({'type':0x0,'memberID':this[_0x18403e(0x2f7)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2bfde4){const _0x366e2c=_0x18936a;this[_0x366e2c(0x336)](_0x2bfde4);const _0x5088b8=window[_0x366e2c(0x3c5)](()=>{const _0x6e09de=_0x366e2c;this['_unitOnClients'][_0x6e09de(0x38d)](_0x304ebb=>{const _0xe081b8=_0x6e09de;_0x304ebb[_0xe081b8(0x25e)](_0x2bfde4);});},_0x3d84fb*0x2);this[_0x366e2c(0x2b4)][_0x366e2c(0x2c6)](_0x2bfde4,_0x5088b8);}[_0x18936a(0x336)](_0x498953){const _0x1be64f=_0x18936a;if(this[_0x1be64f(0x2b4)][_0x1be64f(0x16f)](_0x498953)){const _0x8445da=this[_0x1be64f(0x2b4)][_0x1be64f(0x333)](_0x498953);_0x8445da&&window[_0x1be64f(0x205)](_0x8445da),this[_0x1be64f(0x2b4)]['set'](_0x498953,null);}}[_0x18936a(0x291)](_0x355d87){const _0x5ae712=_0x18936a,{memberID:_0x4534a8,unitIDs:_0x348bc9}=_0x355d87;_0x348bc9[_0x5ae712(0x38d)](_0x31a1a3=>{const _0xf2a947=_0x5ae712;var _0x1d5357;const _0x4ffe7e=this[_0xf2a947(0x134)][_0xf2a947(0x333)](_0x31a1a3);_0x4ffe7e&&(_0x4ffe7e['delete'](_0x4534a8),(_0x1d5357=this[_0xf2a947(0x38c)](_0x31a1a3))==null||_0x1d5357[_0xf2a947(0x1d8)](_0x4ffe7e[_0xf2a947(0x272)]===0x0?_0x158f6a[_0xf2a947(0x26d)][_0xf2a947(0x240)]:_0x158f6a[_0xf2a947(0x26d)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x4534a8);}[_0x18936a(0x2c4)](_0x4f54cf){const _0xd2565f=_0x18936a;this[_0xd2565f(0x1c4)](_0x4f54cf['memberID']);}[_0x18936a(0x28c)](_0x3a4cc7){const _0x1148bc=_0x18936a;localStorage[_0x1148bc(0x265)](_0x27925a,JSON['stringify'](_0x3a4cc7));}[_0x18936a(0x21a)](){const _0x181600=_0x18936a;this['_heartbeatTimer']=window[_0x181600(0x17a)](()=>{const _0x318597=_0x181600;this[_0x318597(0x28c)]({'type':0x2,'memberID':this['_id']});},_0x3d84fb);}[_0x18936a(0x38c)](_0x525921){const _0x589100=_0x18936a;return this['_unitStatus'][_0x589100(0x16f)](_0x525921)||this[_0x589100(0x169)][_0x589100(0x2c6)](_0x525921,new _0x3bfc2e[(_0x589100(0x30d))](_0x158f6a[_0x589100(0x26d)][_0x589100(0x240)])),this[_0x589100(0x169)][_0x589100(0x333)](_0x525921);}}var _0x223b88=(_0x3bc291=>(_0x3bc291[_0x3bc291[_0x18936a(0x3aa)]=0x0]='UNDEFINED',_0x3bc291[_0x3bc291['OK']=0x1]='OK',_0x3bc291[_0x3bc291[_0x18936a(0x20a)]=0x2]=_0x18936a(0x20a),_0x3bc291[_0x3bc291[_0x18936a(0x296)]=0x3]=_0x18936a(0x296),_0x3bc291[_0x3bc291[_0x18936a(0x2ca)]=0x4]=_0x18936a(0x2ca),_0x3bc291[_0x3bc291[_0x18936a(0x161)]=0x5]='UNAUTHENTICATED',_0x3bc291[_0x3bc291[_0x18936a(0x1a3)]=0x6]=_0x18936a(0x1a3),_0x3bc291[_0x3bc291['INVALID_ARGUMENT']=0x7]=_0x18936a(0x18a),_0x3bc291[_0x3bc291[_0x18936a(0x2e8)]=0x8]=_0x18936a(0x2e8),_0x3bc291[_0x3bc291[_0x18936a(0x335)]=0x9]=_0x18936a(0x335),_0x3bc291[_0x3bc291[_0x18936a(0x355)]=0xa]='LOGIN_FAILED',_0x3bc291[_0x3bc291['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x18936a(0x1f6),_0x3bc291[_0x3bc291[_0x18936a(0x1e8)]=0xc]=_0x18936a(0x1e8),_0x3bc291[_0x3bc291[_0x18936a(0x329)]=0xd]=_0x18936a(0x329),_0x3bc291[_0x3bc291[_0x18936a(0x263)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3bc291[_0x3bc291[_0x18936a(0x1c2)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3bc291[_0x3bc291['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x18936a(0x273),_0x3bc291[_0x3bc291[_0x18936a(0x1cf)]=0x1772]=_0x18936a(0x1cf),_0x3bc291[_0x3bc291[_0x18936a(0x2a0)]=0x1773]=_0x18936a(0x2a0),_0x3bc291[_0x3bc291[_0x18936a(0x1ac)]=0x1b59]=_0x18936a(0x1ac),_0x3bc291[_0x3bc291[_0x18936a(0x390)]=0x1b5a]=_0x18936a(0x390),_0x3bc291[_0x3bc291[_0x18936a(0x38e)]=0x1b5b]=_0x18936a(0x38e),_0x3bc291[_0x3bc291[_0x18936a(0x157)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3bc291[_0x3bc291[_0x18936a(0x219)]=0x1b5d]=_0x18936a(0x219),_0x3bc291[_0x3bc291[_0x18936a(0x14d)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3bc291[_0x3bc291[_0x18936a(0x17c)]=0x2329]=_0x18936a(0x17c),_0x3bc291[_0x3bc291[_0x18936a(0x1d2)]=0x232a]=_0x18936a(0x1d2),_0x3bc291[_0x3bc291[_0x18936a(0x199)]=0x232b]=_0x18936a(0x199),_0x3bc291[_0x3bc291[_0x18936a(0x2d0)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3bc291[_0x3bc291[_0x18936a(0x214)]=0x232d]=_0x18936a(0x214),_0x3bc291[_0x3bc291[_0x18936a(0x29a)]=0x2711]=_0x18936a(0x29a),_0x3bc291[_0x3bc291[_0x18936a(0x258)]=0x2712]=_0x18936a(0x258),_0x3bc291[_0x3bc291[_0x18936a(0x1a0)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3bc291[_0x3bc291['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x18936a(0x319),_0x3bc291[_0x3bc291['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x3bc291[_0x3bc291[_0x18936a(0x266)]=0x271b]=_0x18936a(0x266),_0x3bc291[_0x3bc291[_0x18936a(0x31c)]=0x271c]=_0x18936a(0x31c),_0x3bc291[_0x3bc291[_0x18936a(0x254)]=0x271d]=_0x18936a(0x254),_0x3bc291[_0x3bc291[_0x18936a(0x18d)]=0x271e]=_0x18936a(0x18d),_0x3bc291[_0x3bc291['YUUMI_AI_RUN_FAILED']=0x271f]=_0x18936a(0x149),_0x3bc291[_0x3bc291[_0x18936a(0x1f3)]=0x2720]=_0x18936a(0x1f3),_0x3bc291[_0x3bc291['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x18936a(0x312),_0x3bc291[_0x3bc291['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x18936a(0x28f),_0x3bc291[_0x3bc291[_0x18936a(0x2ed)]=0x2ee2]=_0x18936a(0x2ed),_0x3bc291[_0x3bc291['INVITE_CODE_REQUIRED']=0x2ee3]=_0x18936a(0x2dc),_0x3bc291[_0x3bc291[_0x18936a(0x1a1)]=0x2ee4]=_0x18936a(0x1a1),_0x3bc291[_0x3bc291[_0x18936a(0x15a)]=0x2ee5]=_0x18936a(0x15a),_0x3bc291[_0x3bc291[_0x18936a(0x225)]=0x32c9]=_0x18936a(0x225),_0x3bc291[_0x3bc291[_0x18936a(0x1be)]=0x32ca]=_0x18936a(0x1be),_0x3bc291[_0x3bc291['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x18936a(0x3a7),_0x3bc291[_0x3bc291['UNRECOGNIZED']=-0x1]=_0x18936a(0x3b3),_0x3bc291))(_0x223b88||{}),_0x18c980=Object[_0x18936a(0x180)],_0x428342=(_0x241521,_0x4f9b32,_0x55da38,_0x1593ee)=>{const _0xc2ffa1=_0x18936a;for(var _0x227085=_0x1593ee>0x1?void 0x0:_0x1593ee?_0x18c980(_0x4f9b32,_0x55da38):_0x4f9b32,_0x1abd7e=_0x241521[_0xc2ffa1(0x26f)]-0x1,_0x5c06b8;_0x1abd7e>=0x0;_0x1abd7e--)(_0x5c06b8=_0x241521[_0x1abd7e])&&(_0x227085=_0x5c06b8(_0x227085)||_0x227085);return _0x227085;},_0x429ea3=(_0xfbe7fc,_0x35b067)=>(_0x5375ca,_0x56277b)=>_0x35b067(_0x5375ca,_0x56277b,_0xfbe7fc);_0x1a1600[_0x18936a(0x384)]=class extends _0x5381a1[_0x18936a(0x212)]{constructor(_0x17ea74,_0x34d002,_0x38d767){const _0x58040e=_0x18936a;super(),this[_0x58040e(0x130)]=_0x17ea74,this['_httpService']=_0x34d002,this['_configService']=_0x38d767;}async[_0x18936a(0x394)](_0x4a13d1,_0x5b5d6e,_0x7773be,..._0x3737cf){const _0x288ca6=_0x18936a;var _0x24f26b,_0xb37826,_0xcde77a,_0x3c7649;const _0x1d3656=this[_0x288ca6(0x130)][_0x288ca6(0x353)]();if(!_0x1d3656)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1c9841=((_0x24f26b=this[_0x288ca6(0x35c)][_0x288ca6(0x29d)](_0x158f6a[_0x288ca6(0x26e)]))!=null?_0x24f26b:_0x158f6a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4a13d1+'/run/'+_0x5b5d6e,_0x44bc76=new URL(window['location'][_0x288ca6(0x200)]),_0x33a9fb={'scriptId':_0x4a13d1,'runId':(_0xb37826=_0x44bc76[_0x288ca6(0x3ad)][_0x288ca6(0x333)](_0x288ca6(0x20f)))!=null?_0xb37826:'','function':_0x5b5d6e,'unitId':_0x1d3656[_0x288ca6(0x2a3)](),'argsOfFunction':JSON[_0x288ca6(0x2d2)](_0x3737cf),'invokeId':(_0xcde77a=_0x7773be['invokeId'])!=null?_0xcde77a:'','executionId':(_0x3c7649=_0x7773be[_0x288ca6(0x36b)])!=null?_0x3c7649:''};try{const _0x2f0255=await this[_0x288ca6(0x343)][_0x288ca6(0x1cd)](_0x1c9841,{'body':_0x33a9fb});return _0x2f0255['body'][_0x288ca6(0x18c)]&&_0x2f0255[_0x288ca6(0x143)]['error']['code']!==_0x223b88['OK']?'Failed':_0x2f0255['body'][_0x288ca6(0x236)];}catch{return _0x288ca6(0x2f9);}}},_0x1a1600['RemoteUniscriptService']=_0x428342([_0x429ea3(0x0,_0x5381a1[_0x18936a(0x168)]),_0x429ea3(0x1,_0x5381a1[_0x18936a(0x13f)](_0x232e6b[_0x18936a(0x22b)])),_0x429ea3(0x2,_0x5381a1[_0x18936a(0x3c3)])],_0x1a1600['RemoteUniscriptService']),_0x1a1600[_0x18936a(0x2f3)]=_0x4dbbdd,_0x1a1600[_0x18936a(0x381)]=_0x15134c,_0x1a1600[_0x18936a(0x15c)]=_0x5378fb,_0x1a1600['WebBrowserSingleActiveUnitService']=_0x5bef66,_0x1a1600['WebURLService']=_0x356c16,Object['defineProperty'](_0x1a1600,Symbol[_0x18936a(0x3ba)],{'value':_0x18936a(0x261)});}));
|
|
1
|
+
function _0x3871(){const _0x4d6238=['complete','HEADER_MENU','unshift','Disposable','collab-text-anchor-','_removeCollabCursors','MemberService','UniverInstanceType','ranges','syncEditingCollabCursor','toDisposable','YUUMI_ASYNCIO_CANCELLED','@univerjs/design','operators','collabStatus.offline','jiqing.500','width','clsx','transformStateCache','init','getUndoRedoMutationParamsCache','_startSheetCollabCursor','INVITE_CODE_REQUIRED','white','DocIMEInputManagerService','urlChange$','NOT_COLLAB','hovered','next','handleInsertRangeMoveRight','rgba(255,\x20255,\x20255,\x200.01)','LocaleService','MessageType','popstate','_uiPartsService','_collabCursorController','UniverDocsUi','getCurrentRevOfUnit','hasOwnProperty','_status$','isTransformMutationFailure','NodePositionConvertToCursor','selections','CONFLICT','serializeRangeWithSheet','translate(.97)','_localCacheService','setAlpha','getCollabCursors$','sessionStatus$','use','svg','_hovered','registerDependencies','#FFF','DocSelectionManagerService','mask','merge','application/json','runOnServer','UNIVER_DOC','FETCH_MISS','UPDATE_CURSOR','_docSkeletonManagerService','getMember','24WZikkR','searchParams','CommandType','has','useObservable','range','CollaborationEvent','USER_NOT_INVITED_CODE','createSocket','off-line-icon_clip0_910_343','handleDeleteRangeMoveUp','defineProperty','attrs','LOCAL_CACHE_INTERVAL_KEY','getLocalCacheKey','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','enableLocalCache','send','_docTransformStateCacheService','redoState','UNAUTHENTICATED','saveImage','hide','_refRangeService','DisposableCollection','_updateLocalCursor','_render','_toggleOnline','YUUMI_NO_CUBOID_FOR_QUESTION','delete','currentSkeleton$','_httpService','values','getVpScrollXYInfoByPosToVp','_memberService','_cursors','0\x200\x2016\x2016','@univerjs-pro/collaboration','flatMap','_getSaveTimeout','Plugin','UNDEFINED','whenReady','RefRangeService','override','_createSocketURL','InsertRowCommandId','displayName','amd','RemoteUniscriptService','getStateCache','_urlService','mutations','generateRandomId','entityInit$','_getMergeRange','getCellPositionByOffset','ticket','_anchorDot','_docClipboardService','icon','makeDirty','collabCursorState$','path','text','_docTransformSelectionsService','INVALID_ARGUMENT','_scheduleHeartbeat','current','trim','_beforeCloseService','getTypeOfUnitAdded$','[CollaborationDataLoaderController]','getActiveRange','ENSURE_SNAPSHOT_EXECUTION','MOBILE_VERIFY_CODE_MISMATCH','setShapeProps','idSuffix','href','getActiveSheet','undoState','on-line-icon_clip0_910_349','Tools','function','_drawRectRange','6304ychajj','_heartbeatTimer','getAncestorScale','100503IJjeEE','asObservable','_localeService','ISnapshotServerService','registerBeforeClose','throttleTime','getUnhiddenWorksheets','NOT_FOUND','getCollabEntity$','BuiltInUIPart','clearInterval','assignAColorForMemberID','OTHER_CLIENT_EDITING','ACTIVE_UNIT_EVENT_CHANNEL','_registerDependencies','NO_OTHER_CLIENTS_EDITING','ThemeService','DEFAULT_WS_SESSION_TICKET_URL','arc','_getSessionTicket','Rect','@univerjs/core','registerComponent','USERS_LEAVE','_handleHeartbeatEvent','_docStateChangeManagerService','INVITE_CODE_HAS_BEEN_UES','react','getSkeleton','RxDisposable','SNAPSHOT_HAS_BEEN_REMOVED','univer-mr-2\x20univer-flex\x20univer-text-xl','size','TEXT_RANGE_LAYER_INDEX','off-line-icon','Rectangle','_saveCache','ILocalStorageService','getUniverSheetInstance','CollaborationDataLoaderController','14068eKBTCW','getOffsetConfig','_init','random','@univerjs/docs-ui','symbol','_session','_initStatusComponent','moveTo','addHandlerCallback','_updateSubUnitFromURLParams','LICENSE_MAX_UNITS_EXCEEDED','_onCursorUpdate','_initEntityListener','_renderManagerService','@univerjs/network','forwardRef','@univerjs/docs','_draw','AWAITING','DataLoaderService','1em','getRenderById','_transformPreviousActiveRange','url(#off-line-icon_clip0_910_343)','DeleteRangeMoveUpCommandId','getCurrent','labelPosition','UniverProCollaborationClient','disposeWithMe','React','_docSkeleton','Failed','_initStatusListener','APPLY_NON_SEQUENTIAL_REVISION','EMAIL_VERIFY_CODE_MISMATCH','round','YUUMI_TABLE_NOT_FOUND_IN_UNIT','LOCAL_CACHE_INTERVAL','_notificationService','lineTo','DocSkeletonManagerService','ICommandService','TEXT','700920sqDFRl','collabStatus.conflict','deserializeRangeWithSheet','WECHAT_HAS_BEEN_BOUND','MUTATION','CollaborationStatus','_initCommandExecutedListener','split','ISocketService','registerRefRange','green.600','react/jsx-runtime','toString','getRangePointData','black','set','Subject','SetTextSelectionsOperation','CollaborationController','color','onMouseMove','UniverProCollaborationClientUi','row','stringify','reconnect','ITransformService','UniverCore','_id','engine','actions','_cursorInfo$','getCoordByCell','_textBubble','_handleEvent','location','_unitOnClients','get','getCurrentSelections','BrowserCollaborationSocketService','Warning','SOCKET_FAILED','defs','children','parse','_selfUnitIDs','UniverRpc','YUUMI_RATE_OVER_LIMIT','RevisionService','_scene','190449hhsqLQ','_assignedColors','_onCursorDelete','setParam','getViewport','_doCreateSocket','concat','_syncEditingCollabCursorService','_drawAnchor','subscribeEvent','collaboration.closeRoom','createElement','_shapes','PERMISSION_DENIED','_drawTextRange','isArray','OTHER_CLIENTS_EDITING','univer-flex\x20univer-items-center','colorChannel1','MOBILE_HAS_BEEN_BOUND','@univerjs/engine-render','takeUntil','DOC_RANGE_TYPE','_instanceService','top','yellow.400','_getAnchorBounding','activeSheet$','CollaborationUIEventId','IBeforeCloseService','UniverDocs','getSheetBySheetId','_setupBeforeClosingHandler','createIdentifier','COLORS','APPLY_REJECT','addObject','JOIN_ROOM_FAILED','UniverCollaborationClientUIPlugin','ILocalCacheService','_startDocCollabCursor','CollaborationStatusDisplay','clipPath','_univerInstanceService','saveTaskMap','runId','_onRefRangeChange','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','429051tSEZkE','loadOfflineData','error','INVALID_INVITE_CODE','OffLineIcon','_handleHover','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformUndoRedoStack','_eventUnsubscribe','_cursor','LICENSE_DISTRO_REJECTED','entries','uni.network.url-service','cursorInfo','ColorKit','@univerjs/drawing','collab-rect-range-','column','_handleJoinEvent','_transformService','unit','assign','getColorFromTheme','UniverSheets','_labelPosition','roomMembers$','roomMembers','height','LICENSE_EXPORT_SIZE_EXCEEDED','collabStatus.notCollab','OFFLINE','isTransformMutationsWithChangesetSuccess','_imageIoService','session.connection-failed','...','result','IURLService','startRow','_initEvent','fromEventSubject','session.will-retry','useDependency','textRanges','SheetSkeletonManagerService','UniverEngineFormula','M0\x200H16V16H0z','SNAPSHOT_INVALID_SNAPSHOT','filter','_cachedData','_initDependencies','jsx','_hover','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','setUndoRedoMutationParamsCache','add','295DNBIVc','unitId','UnitStatus','executionId','_collabCursorState$','SOCKET_FAILED_RETRY','_messageService','imageSourceType','556194NyJUgN','triggerDblclick','selection','exhaustSavingTask','body','setInterval','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onPointerLeave$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IMessageService','getTypeOfUnitDisposed$','UNIVER_SHEET','UniverDrawing','_injector','CHANGESET_REVISION_CONFILICT','58jPeZij','_send','_clearOtherTimers','LICENSE_IMPORT_SIZE_EXCEEDED','disposeUnit','COMPLETION_FINISHED','registerRenderModule','endRow','_themeService','addObjects','bottom','jsxs','SetDocZoomRatioOperation','switchMap','defIds','type','getOwnPropertySymbols','saveOfflineData','with','startColumn','_updateCollabCursors','/run/','string','Optional','InsertRangeMoveRightCommandId','YUUMI_UNABLE_LOAD_URL','SYNCED','_lastPointer','search','IUniverInstanceService','_roomMembers$','Workbook','prototype','getSheetId','_online','sessionTicket','transformSelections','subscribe','_dataLoaderService','IDocClipboardService','_commandService','name','Injector','blue.400','ILogService','DesktopCollaborationStatusDisplayController','_colorAssignService','IRenderManagerService','_cursorShapes','xlink:href','getOwnPropertyDescriptor','UNRECOGNIZED','handleInsertCol','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LOGIN_FAILED','rxjs','executeCommand','handleIRemoveRow','Shape','debounceTime','docStateChange$','_collaborationController','getCurrentUnitForType','save','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','length','CollaborationUIEventService','_updateURLWithCurrentState','INVITE_CODE_ALREADY_BOUND','getColor','CONNECTOR_DATA_TOO_LARGE','toStringTag','_setupSubUnitSync','@univerjs/engine-formula','IImageIoService','params','indexOf','APPLY_REVISION_CONFILICT','fromEvent','call','CLOSE_ROOM','_scheduleClearOtherTimer','_ensureSubject','history','collabStatus.synced','m1Prime','EffectRefRangId','DocStateChangeManagerService','YUUMI_CONNECTOR_URL_NOT_FOUND','map','doc.mutation.rich-text-editing','handleMoveRange','getMemberID','isActive','onStarting','@univerjs-pro/collaboration-client','contains','SetSelectionsOperation','rxjs/operators','from','disableLocalCache','_config','@univerjs/sheets','_scheduleSaving','MoveRangeCommandId','exports','debug','getParam','pipe','resize','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','className','_removeClearOtherTimer','_color','InsertColCommandId','_saveTaskMap','getConfig','transformRemoteChangeset','collab-text-range-','replaceState','_configService','collabStatus.syncing','isEditing','collab-client.tooltip.reconnect','font','transformMutationsWithChangeset','collaboration-client-ui.config','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','addEventListener','dispose$','_backgroundColor','setConfig','_anchor','max','unitID','tag','onTransformChange$','UniverNetwork','onLocalMutation','RemoveColCommandId','Inject','_localStorageService','univerjs-icon\x20univerjs-icon-','requireSession','push','SheetCollabCursorShape','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ONLINE','_initResize','PENDING','transformIMECache','object','addClipboardHook','_document','transformByState','PY_RUNTIME_SCRIPT_ERROR','div','_logService','deepClone','_revisionService','RemoveRowCommandId','_collaborationUIEventService','getValue','findNodePositionByCharIndex','DeleteRangeMoveLeftCommandId','onPointerEnter$','YUUMI_AI_RUN_FAILED','UniverProCollaboration','fillText','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','code','_registerRenderDependencies','setStateCache','_handleLeaveEvent','createInstance','m2Prime','red.300','url(#$1','backgroundColor','handleInsertRow','YUUMI_URL_COL_OUT_OF_RANGE','setItem','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UniverSheetsUi','toRgbString','replace','_toggleOffline','@univerjs/rpc','_entityInit$','Unknown\x20user','_disabled','event$','shareReplay','dispose','getFocusedUnit','onCommandExecuted','_range','IRemoteInstanceService','INotificationService','measureText','extend','getUnitId','_hideTimer','@univerjs/sheets-ui','_name','Error','_getScale','forEach','_transformHistoryAndStateStack','_context','FromArray','getRelativeToViewportCoord','debounce','mergeOverrideWithDependencies','getUnitStatus$','SheetsSelectionsService','INTERNAL_ERROR','SHEET_VIEWPORT_KEY','fillRule','SessionStatus','_collabSessionService','_unitStatus','YUUMI_ALL_TABLES_IS_INVALID','fillStyle','_colorIndex','APPLY_PERMISSION_DENIED','cursorInfo$','BehaviorSubject','ALREADY_EXISTS','handleDeleteRangeMoveLeft','drawWith','HTTPService','_docTransformIMECacheService','RegularPolygon','combineLatest','IConfigService','DocCollaborationEntity','TOO_MANY_REQUESTS','restore','permission.content','setTimeout','unsubscribe','_entities','apply','transformMutation','_refreshCollabCursors','min','APPLY_DUPLICATED','eventID','clearTimeout','origin','data','77QdEyMt','fill','newValue','http://www.w3.org/2000/svg','InsertRangeMoveDownCommandId','RichTextEditingMutation','_sheetSkeletonManagerService','setActiveRange','subunit','key','collaboration-client.offline-data-not-saved','CollaborationSessionService','memberID','_getSheetObject','permission.title','pluginName','evenodd','then','find','show','touchDependencies','pushState'];_0x3871=function(){return _0x4d6238;};return _0x3871();}function _0x6c71(_0x245ad6,_0x42a7eb){const _0x3871c9=_0x3871();return _0x6c71=function(_0x6c712a,_0x1491fd){_0x6c712a=_0x6c712a-0x1c1;let _0x8b5f80=_0x3871c9[_0x6c712a];return _0x8b5f80;},_0x6c71(_0x245ad6,_0x42a7eb);}(function(_0x5562ab,_0xa131ff){const _0x427442=_0x6c71,_0x4fc8ae=_0x5562ab();while(!![]){try{const _0x288d10=parseInt(_0x427442(0x361))/0x1*(-parseInt(_0x427442(0x467))/0x2)+-parseInt(_0x427442(0x364))/0x3+-parseInt(_0x427442(0x38c))/0x4*(-parseInt(_0x427442(0x450))/0x5)+-parseInt(_0x427442(0x458))/0x6+-parseInt(_0x427442(0x419))/0x7*(parseInt(_0x427442(0x30c))/0x8)+-parseInt(_0x427442(0x3e9))/0x9+-parseInt(_0x427442(0x3b8))/0xa*(-parseInt(_0x427442(0x2b5))/0xb);if(_0x288d10===_0xa131ff)break;else _0x4fc8ae['push'](_0x4fc8ae['shift']());}catch(_0x29c297){_0x4fc8ae['push'](_0x4fc8ae['shift']());}}}(_0x3871,0x2cf1b),function(_0x5a3b19,_0x46777e){const _0x347bc6=_0x6c71;typeof exports==_0x347bc6(0x250)&&typeof module<'u'?_0x46777e(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x347bc6(0x35f)&&define[_0x347bc6(0x33c)]?define([_0x347bc6(0x222),_0x347bc6(0x218),_0x347bc6(0x379),_0x347bc6(0x3fd),_0x347bc6(0x39b),_0x347bc6(0x390),_0x347bc6(0x428),_0x347bc6(0x1f0),_0x347bc6(0x331),_0x347bc6(0x39d),_0x347bc6(0x202),_0x347bc6(0x21f),_0x347bc6(0x21b),_0x347bc6(0x284),_0x347bc6(0x3c3),'@univerjs/ui',_0x347bc6(0x2d7),_0x347bc6(0x37f),_0x347bc6(0x274)],_0x46777e):(_0x5a3b19=typeof globalThis<'u'?globalThis:_0x5a3b19||self,_0x46777e(_0x5a3b19[_0x347bc6(0x3cd)]={},_0x5a3b19[_0x347bc6(0x3a8)],_0x5a3b19[_0x347bc6(0x3d2)],_0x5a3b19['UniverEngineRender'],_0x5a3b19[_0x347bc6(0x242)],_0x5a3b19[_0x347bc6(0x2ef)],_0x5a3b19[_0x347bc6(0x464)],_0x5a3b19[_0x347bc6(0x1f0)],_0x5a3b19[_0x347bc6(0x260)],_0x5a3b19[_0x347bc6(0x407)],_0x5a3b19[_0x347bc6(0x445)],_0x5a3b19[_0x347bc6(0x430)],_0x5a3b19['rxjs'][_0x347bc6(0x2d8)],_0x5a3b19[_0x347bc6(0x270)],_0x5a3b19[_0x347bc6(0x3aa)],_0x5a3b19['UniverUi'],_0x5a3b19['UniverDesign'],_0x5a3b19[_0x347bc6(0x3aa)],_0x5a3b19[_0x347bc6(0x3e5)]));}(this,function(_0x20de07,_0x42d1b5,_0x356f55,_0x6d1524,_0x40dcae,_0x5dd295,_0x1baeda,_0x2c71f6,_0x1499bf,_0x13e3d3,_0x5ed213,_0xa79b04,_0x40fd46,_0x1cc7b5,_0xb84d71,_0x25054a,_0x55c065,_0x20acc3,_0x37ae61){'use strict';const _0x33f13c=_0x6c71;var _0x2d76b7=Object[_0x33f13c(0x317)],_0x64d692=(_0x450172,_0x31bbef,_0x5503d2)=>_0x31bbef in _0x450172?_0x2d76b7(_0x450172,_0x31bbef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5503d2}):_0x450172[_0x31bbef]=_0x5503d2,_0x428fe9=(_0x53e154,_0x49e583,_0x27be7a)=>_0x64d692(_0x53e154,typeof _0x49e583!=_0x33f13c(0x391)?_0x49e583+'':_0x49e583,_0x27be7a),_0x28413b=Object['getOwnPropertyDescriptor'],_0x3083f7=(_0xad6c87,_0x14635a,_0x57ad05,_0x8c2869)=>{const _0xd33717=_0x33f13c;for(var _0x42a082=_0x8c2869>0x1?void 0x0:_0x8c2869?_0x28413b(_0x14635a,_0x57ad05):_0x14635a,_0x2cc535=_0xad6c87[_0xd33717(0x1fa)]-0x1,_0x366927;_0x2cc535>=0x0;_0x2cc535--)(_0x366927=_0xad6c87[_0x2cc535])&&(_0x42a082=_0x366927(_0x42a082)||_0x42a082);return _0x42a082;},_0x2b6611=(_0x3e5274,_0x395e2c)=>(_0x2fecfa,_0x280e6f)=>_0x395e2c(_0x2fecfa,_0x280e6f,_0x3e5274);let _0x3d0acb=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x2c72bf,_0x267db5){const _0x25d7d8=_0x33f13c;super(),this[_0x25d7d8(0x347)]=_0x2c72bf,this[_0x25d7d8(0x439)]=_0x267db5,this['_init']();}[_0x33f13c(0x38e)](){const _0x3aaaa3=_0x33f13c,_0x2cc04f=this;this['disposeWithMe'](this[_0x3aaaa3(0x347)][_0x3aaaa3(0x251)]({'onBeforePasteImage':async _0x1e07e4=>{const _0x298345=_0x3aaaa3,_0x1eb00c=await _0x2cc04f[_0x298345(0x439)][_0x298345(0x321)](_0x1e07e4);return _0x1eb00c?{'source':_0x1eb00c['source'],'imageSourceType':_0x1eb00c[_0x298345(0x457)]}:null;}}));}};_0x3d0acb=_0x3083f7([_0x2b6611(0x0,_0x5dd295[_0x33f13c(0x1e0)]),_0x2b6611(0x1,_0x1baeda[_0x33f13c(0x203)])],_0x3d0acb);const _0x46c503=['purple.300',_0x33f13c(0x2da),_0x33f13c(0x3c2),_0x33f13c(0x269),_0x33f13c(0x1e4),_0x33f13c(0x402)];class _0x833117 extends _0x356f55[_0x33f13c(0x2ce)]{constructor(){const _0x441a87=_0x33f13c;super(...arguments),_0x428fe9(this,'_assignedColors',new Map()),_0x428fe9(this,_0x441a87(0x299),0x0);}[_0x33f13c(0x36f)](_0x28f6ea){const _0x45032d=_0x33f13c;if(this[_0x45032d(0x3ea)]['has'](_0x28f6ea))return this[_0x45032d(0x3ea)]['get'](_0x28f6ea);const _0x1027b5=_0x46c503[this[_0x45032d(0x299)]];return this[_0x45032d(0x299)]=(this['_colorIndex']+0x1)%_0x46c503[_0x45032d(0x1fa)],this[_0x45032d(0x3ea)][_0x45032d(0x3c7)](_0x28f6ea,_0x1027b5),_0x1027b5;}}function _0x4d7cab(_0x475631){const _0x211413=_0x33f13c;let _0x47f792='';for(const _0x5c15c4 of _0x475631){const {startOffset:_0x3e0153,endOffset:_0x5aa9c6,isActive:_0x30d43c,rangeType:_0x32e8b2,segmentId:_0x2f98d1,segmentPage:_0x1ce268}=_0x5c15c4;_0x47f792[_0x211413(0x1fa)]&&(_0x47f792+=','),_0x47f792+=_0x3e0153+':'+_0x5aa9c6+':'+(_0x30d43c?'1':'0')+':'+_0x32e8b2+':'+_0x2f98d1+':'+_0x1ce268;}return _0x47f792;}function _0x14bb11(_0x5c3c07){const _0x3d24ca=_0x33f13c,_0x5897a0=_0x5c3c07[_0x3d24ca(0x3bf)](','),_0xa9c71b=[];for(const _0x26d935 of _0x5897a0){const [_0x40fe93,_0x14d2d3,_0x529f79,_0x3103ef,_0xcde03a,_0x4d0056]=_0x26d935[_0x3d24ca(0x3bf)](':');_0xa9c71b['push']({'startOffset':Number(_0x40fe93),'endOffset':Number(_0x14d2d3),'collapsed':_0x40fe93===_0x14d2d3,'isActive':_0x529f79==='1','rangeType':_0x3103ef===_0x356f55['DOC_RANGE_TYPE'][_0x3d24ca(0x3b7)]?_0x356f55[_0x3d24ca(0x3ff)][_0x3d24ca(0x3b7)]:_0x356f55[_0x3d24ca(0x3ff)]['RECT'],'segmentId':typeof _0xcde03a=='string'?String(_0xcde03a):'','segmentPage':Number(_0x4d0056!=null?_0x4d0056:-0x1)});}return _0xa9c71b['some'](_0x1ad884=>_0x1ad884[_0x3d24ca(0x216)])||(_0xa9c71b[0x0]['isActive']=!0x0),_0xa9c71b;}class _0x3e3de3 extends _0x356f55[_0x33f13c(0x381)]{constructor(){const _0x493fb6=_0x33f13c;super(...arguments),_0x428fe9(this,_0x493fb6(0x454),new _0x2c71f6[(_0x493fb6(0x29c))](null)),_0x428fe9(this,_0x493fb6(0x34a),this[_0x493fb6(0x454)][_0x493fb6(0x365)]());}[_0x33f13c(0x2d4)](_0x3bcdd7){const _0x298fe2=_0x33f13c,{unitID:_0x3b1255,memberID:_0x23d29e,textRanges:_0x1321af}=_0x3bcdd7,_0x32ccec=_0x4d7cab(_0x1321af);if(_0x32ccec==='')return;const _0x5c9a5d={'unitID':_0x3b1255,'memberID':_0x23d29e,'selection':_0x32ccec};this[_0x298fe2(0x454)][_0x298fe2(0x2e7)](_0x5c9a5d);}}var _0x11006c=Object[_0x33f13c(0x1eb)],_0xee3007=(_0x343381,_0x1aabad,_0x1c1c2b,_0x1e385d)=>{const _0x56c1e9=_0x33f13c;for(var _0x3485d1=_0x1e385d>0x1?void 0x0:_0x1e385d?_0x11006c(_0x1aabad,_0x1c1c2b):_0x1aabad,_0x678bd1=_0x343381[_0x56c1e9(0x1fa)]-0x1,_0x36c8f9;_0x678bd1>=0x0;_0x678bd1--)(_0x36c8f9=_0x343381[_0x678bd1])&&(_0x3485d1=_0x36c8f9(_0x3485d1)||_0x3485d1);return _0x3485d1;},_0x1adf90=(_0x14d5bb,_0x39d8cf)=>(_0x56a26b,_0x455b80)=>_0x39d8cf(_0x56a26b,_0x455b80,_0x14d5bb);const _0x36db1d=0x12c,_0x263640=0x64;let _0x54b38c=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x464481,_0x2d778e,_0x578fea,_0x472f71,_0x55106c,_0x5a76a4,_0x2599ac,_0x17f2e3,_0x3697a0){const _0x2577a8=_0x33f13c;super(),_0x428fe9(this,_0x2577a8(0x1db),!0x1),_0x428fe9(this,_0x2577a8(0x38e),!0x1),_0x428fe9(this,_0x2577a8(0x3d6),new _0x2c71f6[(_0x2577a8(0x29c))](new Map())),_0x428fe9(this,_0x2577a8(0x29b),this[_0x2577a8(0x3d6)][_0x2577a8(0x365)]()),_0x428fe9(this,_0x2577a8(0x1d7),new _0x2c71f6[(_0x2577a8(0x29c))]([])),_0x428fe9(this,_0x2577a8(0x432),this[_0x2577a8(0x1d7)][_0x2577a8(0x225)](_0x2c71f6[_0x2577a8(0x1f4)](_0x36db1d))),_0x428fe9(this,_0x2577a8(0x325),_0x356f55[_0x2577a8(0x28d)](_0x19698e=>{const _0x5bf4d8=_0x2577a8,_0x459d29={'eventID':_0x1499bf[_0x5bf4d8(0x312)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5bf4d8(0x23f)],'memberID':this[_0x5bf4d8(0x392)][_0x5bf4d8(0x215)](),'selection':_0x4d7cab(_0x19698e)}};this[_0x5bf4d8(0x392)][_0x5bf4d8(0x31d)](_0x459d29,this[_0x5bf4d8(0x23f)]);},_0x263640)),(this[_0x2577a8(0x23f)]=_0x464481,this[_0x2577a8(0x392)]=_0x2d778e,this[_0x2577a8(0x465)]=_0x578fea,this[_0x2577a8(0x1e7)]=_0x472f71,this[_0x2577a8(0x32e)]=_0x55106c,this[_0x2577a8(0x3f0)]=_0x5a76a4,this[_0x2577a8(0x42c)]=_0x2599ac,this[_0x2577a8(0x414)]=_0x17f2e3,this[_0x2577a8(0x1e1)]=_0x3697a0);}get[_0x33f13c(0x426)](){const _0x4193f0=_0x33f13c;return this[_0x4193f0(0x3d6)][_0x4193f0(0x25b)]();}get[_0x33f13c(0x433)](){const _0x265345=_0x33f13c;return this[_0x265345(0x1d7)][_0x265345(0x25b)]();}[_0x33f13c(0x27a)](){const _0xc2c152=_0x33f13c;super[_0xc2c152(0x27a)](),this[_0xc2c152(0x3d6)][_0xc2c152(0x2e7)](new Map()),this['_cursorInfo$']['complete'](),this[_0xc2c152(0x1d7)][_0xc2c152(0x2e7)]([]),this[_0xc2c152(0x1d7)][_0xc2c152(0x2cb)]();}['init'](){const _0x285767=_0x33f13c;this[_0x285767(0x38e)]||(this[_0x285767(0x38e)]=!0x0,this[_0x285767(0x392)][_0x285767(0x2fc)][_0x285767(0x225)](_0x2c71f6[_0x285767(0x3fe)](this[_0x285767(0x23a)]))['subscribe'](_0x4b6f23=>{const _0x4360e0=_0x285767;_0x4b6f23===_0x42d1b5[_0x4360e0(0x294)][_0x4360e0(0x24c)]?this['_toggleOnline']():this[_0x4360e0(0x273)]();}),this[_0x285767(0x392)][_0x285767(0x278)]['pipe'](_0x2c71f6['takeUntil'](this[_0x285767(0x23a)]))[_0x285767(0x1de)](_0x1b1614=>{const _0x3e5b3f=_0x285767,_0x156d24=_0x1b1614[_0x3e5b3f(0x2b1)];_0x156d24===_0x1499bf['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1b1614),_0x156d24===_0x1499bf['CollaborationEvent'][_0x3e5b3f(0x37b)]&&this[_0x3e5b3f(0x3eb)](_0x1b1614);}),this[_0x285767(0x3a9)](this[_0x285767(0x1e1)][_0x285767(0x27c)](_0x551687=>{const _0x51b459=_0x285767,_0x4f866a=_0x551687[_0x51b459(0x204)];_0x4f866a!=null&&this[_0x51b459(0x1db)]&&_0x551687['id']===_0x13e3d3[_0x51b459(0x3c9)]['id']&&_0x4f866a['unitId']===this['unitID']&&_0x4f866a[_0x51b459(0x233)]===!0x1&&_0x4f866a[_0x51b459(0x2d3)][_0x51b459(0x1fa)]>0x0&&this[_0x51b459(0x325)](_0x4f866a[_0x51b459(0x2d3)]);})),this[_0x285767(0x3f0)][_0x285767(0x34a)][_0x285767(0x225)](_0x2c71f6[_0x285767(0x3fe)](this[_0x285767(0x23a)]))[_0x285767(0x1de)](_0x4ebe80=>{const _0x35c3d1=_0x285767;if((_0x4ebe80==null?void 0x0:_0x4ebe80[_0x35c3d1(0x23f)])!==this['unitID'])return;const _0x174313={'eventID':_0x1499bf[_0x35c3d1(0x312)]['UPDATE_CURSOR'],'data':_0x4ebe80};this['_onCursorUpdate'](_0x174313);}),this[_0x285767(0x3a9)](this['_commandService']['onCommandExecuted'](_0xc55513=>{const _0x5c359d=_0x285767;if(_0xc55513['params']==null)return;const _0x532562=_0xc55513[_0x5c359d(0x204)];if(_0xc55513['id']!==_0x13e3d3[_0x5c359d(0x2ba)]['id']||_0x532562[_0x5c359d(0x451)]!==this[_0x5c359d(0x23f)])return;const _0x39f9d4={'id':_0x5c359d(0x213),'params':_0x532562},_0x209b4f=this[_0x5c359d(0x426)];for(const [_0x20dd29,_0x17dcc9]of _0x209b4f){const _0x4ac0a4={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x17dcc9[_0x5c359d(0x2d3)]}},_0x3ab244=this[_0x5c359d(0x42c)][_0x5c359d(0x2ad)](_0x39f9d4,_0x4ac0a4,!0x1);if(_0x1499bf[_0x5c359d(0x2f3)](_0x3ab244))throw _0x3ab244[_0x5c359d(0x41b)];_0x209b4f[_0x5c359d(0x3c7)](_0x20dd29,{..._0x17dcc9,'ranges':_0x3ab244[_0x5c359d(0x268)][_0x5c359d(0x204)][_0x5c359d(0x443)]});}queueMicrotask(()=>{const _0x2dd0cc=_0x5c359d;this[_0x2dd0cc(0x3d6)]['next'](_0x209b4f);});})));}[_0x33f13c(0x398)](_0x1fc156){const _0x39357b=_0x33f13c;var _0x4a449c,_0x219c26;const {memberID:_0x3b7240,selection:_0x24c23c}=_0x1fc156[_0x39357b(0x2b4)],_0x3321e9=_0x14bb11(_0x24c23c),_0x8bcc5a=(_0x219c26=(_0x4a449c=this[_0x39357b(0x32e)][_0x39357b(0x30b)](this[_0x39357b(0x23f)],_0x3b7240))==null?void 0x0:_0x4a449c[_0x39357b(0x1e2)])!=null?_0x219c26:_0x39357b(0x276),_0x3f6c13={'color':this[_0x39357b(0x1e7)][_0x39357b(0x36f)](_0x3b7240),'name':_0x8bcc5a,'ranges':_0x3321e9},_0x9419df=this[_0x39357b(0x426)];_0x9419df[_0x39357b(0x3c7)](_0x3b7240,_0x3f6c13),this[_0x39357b(0x3d6)]['next'](_0x9419df);}[_0x33f13c(0x3eb)](_0x11746e){const _0x3ce055=_0x33f13c,{memberID:_0x1c0eea}=_0x11746e[_0x3ce055(0x2b4)],_0x5f3ffd=this['cursorInfo'];_0x5f3ffd['delete'](_0x1c0eea),this[_0x3ce055(0x3d6)][_0x3ce055(0x2e7)](_0x5f3ffd);}[_0x33f13c(0x327)](){const _0x265f79=_0x33f13c;var _0xa11227;if(this[_0x265f79(0x1db)]=!0x0,((_0xa11227=this[_0x265f79(0x414)][_0x265f79(0x27b)]())==null?void 0x0:_0xa11227[_0x265f79(0x282)]())!==this[_0x265f79(0x23f)])return;const _0x1d9c4e=this['_injector'][_0x265f79(0x3dc)](_0x13e3d3[_0x265f79(0x302)])['getDocRanges']();Array[_0x265f79(0x3f8)](_0x1d9c4e)&&_0x1d9c4e[_0x265f79(0x1fa)]>0x0&&this[_0x265f79(0x325)](_0x1d9c4e);}[_0x33f13c(0x273)](){const _0x2e0790=_0x33f13c;this[_0x2e0790(0x1db)]=!0x1;}};_0x54b38c=_0xee3007([_0x1adf90(0x2,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x1adf90(0x3,_0x356f55[_0x33f13c(0x245)](_0x833117)),_0x1adf90(0x4,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x2d1)])),_0x1adf90(0x5,_0x356f55[_0x33f13c(0x245)](_0x3e3de3)),_0x1adf90(0x6,_0x1499bf[_0x33f13c(0x3d1)]),_0x1adf90(0x7,_0x356f55['IUniverInstanceService']),_0x1adf90(0x8,_0x356f55[_0x33f13c(0x3b6)])],_0x54b38c);var _0x17b850=Object[_0x33f13c(0x1eb)],_0x539331=(_0x4cf5f2,_0xe2b2db,_0x176fe8,_0x57a532)=>{const _0x597b6d=_0x33f13c;for(var _0x31ffab=_0x57a532>0x1?void 0x0:_0x57a532?_0x17b850(_0xe2b2db,_0x176fe8):_0xe2b2db,_0x52b12d=_0x4cf5f2[_0x597b6d(0x1fa)]-0x1,_0x187d23;_0x52b12d>=0x0;_0x52b12d--)(_0x187d23=_0x4cf5f2[_0x52b12d])&&(_0x31ffab=_0x187d23(_0x31ffab)||_0x31ffab);return _0x31ffab;},_0x45e79c=(_0x4cd2e9,_0x5181b7)=>(_0x1eb0d2,_0x29891f)=>_0x5181b7(_0x1eb0d2,_0x29891f,_0x4cd2e9);const _0x3c0c51=0x12c,_0x58175b=0x64,_0x8034fe=()=>{let _0x4e56e3=[],_0x294622=!0x1;return _0x547944=>{const _0x26664d=_0x6c71;_0x4e56e3[_0x26664d(0x249)](_0x547944),_0x294622||(_0x294622=!0x0,setTimeout(()=>{const _0x3664a6=_0x26664d;_0x4e56e3[_0x3664a6(0x288)](_0x2a1b3c=>_0x2a1b3c()),_0x4e56e3=[],_0x294622=!0x1;}));};};let _0x1ec120=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x4d2bcb,_0x217243,_0x266fae,_0x5c21fd,_0x40a63f,_0x160159,_0x2d148b,_0x5bc876){const _0x22841d=_0x33f13c;super(),_0x428fe9(this,_0x22841d(0x1db),!0x1),_0x428fe9(this,_0x22841d(0x38e),!0x1),_0x428fe9(this,_0x22841d(0x3d6),new _0x2c71f6[(_0x22841d(0x29c))](new Map())),_0x428fe9(this,_0x22841d(0x29b),this[_0x22841d(0x3d6)][_0x22841d(0x365)]()),_0x428fe9(this,'_roomMembers$',new _0x2c71f6[(_0x22841d(0x29c))]([])),_0x428fe9(this,_0x22841d(0x432),this[_0x22841d(0x1d7)][_0x22841d(0x225)](_0x2c71f6['debounceTime'](_0x3c0c51))),_0x428fe9(this,_0x22841d(0x325),_0x356f55[_0x22841d(0x28d)]((_0xb9cc47,_0x2ec584)=>{const _0x3603c1=_0x22841d,_0x2dcf7f={'eventID':_0x1499bf[_0x3603c1(0x312)][_0x3603c1(0x309)],'data':{'unitID':this[_0x3603c1(0x23f)],'memberID':this[_0x3603c1(0x392)][_0x3603c1(0x215)](),'selection':_0x5ed213[_0x3603c1(0x2f7)](_0xb9cc47,_0x2ec584[_0x3603c1(0x311)])}};this[_0x3603c1(0x392)][_0x3603c1(0x31d)](_0x2dcf7f,this[_0x3603c1(0x23f)]);},_0x58175b)),(this[_0x22841d(0x23f)]=_0x4d2bcb,this[_0x22841d(0x392)]=_0x217243,this[_0x22841d(0x465)]=_0x266fae,this[_0x22841d(0x1e7)]=_0x5c21fd,this['_memberService']=_0x40a63f,this[_0x22841d(0x414)]=_0x160159,this['_commandService']=_0x2d148b,this['_refRangeService']=_0x5bc876);}get[_0x33f13c(0x426)](){const _0x327ec4=_0x33f13c;return this[_0x327ec4(0x3d6)]['getValue']();}get[_0x33f13c(0x433)](){const _0x3b75ea=_0x33f13c;return this['_roomMembers$'][_0x3b75ea(0x25b)]();}[_0x33f13c(0x27a)](){const _0x292bed=_0x33f13c;super[_0x292bed(0x27a)](),this[_0x292bed(0x3d6)][_0x292bed(0x2e7)](new Map()),this[_0x292bed(0x3d6)][_0x292bed(0x2cb)](),this['_roomMembers$']['next']([]),this[_0x292bed(0x1d7)][_0x292bed(0x2cb)]();}['init'](){const _0x2f4206=_0x33f13c;this[_0x2f4206(0x38e)]||(this[_0x2f4206(0x38e)]=!0x0,this[_0x2f4206(0x392)][_0x2f4206(0x2fc)]['pipe'](_0x2c71f6[_0x2f4206(0x3fe)](this[_0x2f4206(0x23a)]))[_0x2f4206(0x1de)](_0x4a1041=>{const _0x196421=_0x2f4206;_0x4a1041===_0x42d1b5['SessionStatus'][_0x196421(0x24c)]?this['_toggleOnline']():this[_0x196421(0x273)]();}),this[_0x2f4206(0x392)][_0x2f4206(0x278)]['pipe'](_0x2c71f6[_0x2f4206(0x3fe)](this[_0x2f4206(0x23a)]))[_0x2f4206(0x1de)](_0x6fb6f3=>{const _0x5d870c=_0x2f4206,_0x6668f5=_0x6fb6f3[_0x5d870c(0x2b1)];_0x6668f5===_0x1499bf['CollaborationEvent'][_0x5d870c(0x309)]&&this['_onCursorUpdate'](_0x6fb6f3),_0x6668f5===_0x1499bf[_0x5d870c(0x312)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x6fb6f3);}),this[_0x2f4206(0x417)](),this['disposeWithMe'](this[_0x2f4206(0x1e1)]['onCommandExecuted'](_0x20d981=>{const _0x53ee50=_0x2f4206;if(this[_0x53ee50(0x1db)]&&_0x20d981['id']===_0xa79b04[_0x53ee50(0x21a)]['id']&&_0x20d981[_0x53ee50(0x204)][_0x53ee50(0x451)]===this['unitID']){const _0x4563c3=_0x20d981[_0x53ee50(0x204)];this[_0x53ee50(0x325)](_0x4563c3['subUnitId'],_0x4563c3[_0x53ee50(0x2f5)][0x0]);}})));}[_0x33f13c(0x398)](_0x5c8103){const _0x4eb041=_0x33f13c;var _0x3cd73a,_0x43185e;const {memberID:_0x34296a,selection:_0x287e93}=_0x5c8103[_0x4eb041(0x2b4)],{sheetName:_0x55227d,range:_0x3239cd}=_0x5ed213[_0x4eb041(0x3ba)](_0x287e93),_0x342b67={'name':(_0x43185e=(_0x3cd73a=this[_0x4eb041(0x32e)][_0x4eb041(0x30b)](this[_0x4eb041(0x23f)],_0x34296a))==null?void 0x0:_0x3cd73a[_0x4eb041(0x1e2)])!=null?_0x43185e:'Unknown\x20user','range':this['_getMergeRange'](_0x55227d,_0x3239cd),'sheetID':_0x55227d,'color':this[_0x4eb041(0x1e7)][_0x4eb041(0x36f)](_0x34296a),'selection':_0x287e93},_0x1fd89c=this[_0x4eb041(0x426)];_0x1fd89c[_0x4eb041(0x3c7)](_0x34296a,_0x342b67),this['_cursorInfo$']['next'](_0x1fd89c);}[_0x33f13c(0x3eb)](_0xa8db2){const _0x195442=_0x33f13c,{memberID:_0x4ac250}=_0xa8db2[_0x195442(0x2b4)],_0xd5f071=this[_0x195442(0x426)];_0xd5f071[_0x195442(0x329)](_0x4ac250),this[_0x195442(0x3d6)][_0x195442(0x2e7)](_0xd5f071);}[_0x33f13c(0x343)](_0x542185,_0x1bd45e){const _0x32d5c2=_0x33f13c;var _0x323c52,_0x4eadfc;const _0x245725=(_0x4eadfc=(_0x323c52=this[_0x32d5c2(0x414)][_0x32d5c2(0x38a)](this['unitID']))==null?void 0x0:_0x323c52['getSheetBySheetId'](_0x542185))==null?void 0x0:_0x4eadfc['getMergeData']();return(_0x245725==null?void 0x0:_0x245725[_0x32d5c2(0x2c7)](_0x3f67b1=>_0x356f55[_0x32d5c2(0x387)][_0x32d5c2(0x219)](_0x3f67b1,_0x1bd45e)))||_0x1bd45e;}[_0x33f13c(0x417)](){const _0x26f1e7=_0x33f13c,_0x5e866d=new _0x356f55[(_0x26f1e7(0x324))](),_0x3bf858=_0x8034fe(),_0xb1259b=()=>{const _0x21dd60=_0x26f1e7;_0x5e866d[_0x21dd60(0x27a)]();const _0x45efa1=(_0x3e6ca2,_0x532d31,_0x2ea737,_0x394583)=>{const _0xbc3db2=_0x21dd60;let _0x3e2413=[];switch(_0x3e6ca2['id']){case _0xa79b04['EffectRefRangId'][_0xbc3db2(0x25d)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x29e)](_0x3e6ca2,_0x394583);break;}case _0xa79b04['EffectRefRangId'][_0xbc3db2(0x3a5)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x316)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x22b)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x1ed)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x2b9)]:{_0x3e2413=_0xa79b04['handleInsertRangeMoveDown'](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x1d1)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x2e8)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x33a)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x26c)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x221)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x214)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x244)]:{_0x3e2413=_0xa79b04['handleIRemoveCol'](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x259)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x1f2)](_0x3e6ca2,_0x394583);break;}}const _0x30a15c=_0xa79b04['runRefRangeMutations'](_0x3e2413,_0x394583),_0x3494c8=this[_0xbc3db2(0x426)]['get'](_0x532d31);if(_0x3494c8&&_0x30a15c){const _0xdb071a={..._0x3494c8,'range':_0x30a15c};this[_0xbc3db2(0x426)][_0xbc3db2(0x3c7)](_0x532d31,_0xdb071a),_0x3bf858(()=>{const _0x3ba4be=_0xbc3db2,_0xcf97a5=this[_0x3ba4be(0x323)]['registerRefRange'](_0x30a15c,_0x59791f=>(_0xcf97a5[_0x3ba4be(0x27a)](),_0x45efa1(_0x59791f,_0x532d31,_0x2ea737,_0x30a15c)));_0x5e866d[_0x3ba4be(0x44f)](_0xcf97a5);});}return{'redos':[],'undos':[]};};this[_0x21dd60(0x426)][_0x21dd60(0x288)]((_0x1ff775,_0x5d1ce8)=>{const _0x3b1247=_0x21dd60,{range:_0x15c7b6,sheetID:_0x52dbe2}=_0x1ff775,_0x4c8316=this['_refRangeService'][_0x3b1247(0x3c1)](_0x15c7b6,_0x30810a=>(_0x4c8316[_0x3b1247(0x27a)](),_0x45efa1(_0x30810a,_0x5d1ce8,_0x52dbe2,_0x15c7b6)));_0x5e866d[_0x3b1247(0x44f)](_0x4c8316);});};this[_0x26f1e7(0x3a9)](_0x356f55[_0x26f1e7(0x2d5)](this[_0x26f1e7(0x3d6)]['subscribe'](()=>{_0xb1259b();})));}['_toggleOnline'](){const _0x37acc7=_0x33f13c;var _0x4d4d51,_0x408c69;if(this[_0x37acc7(0x1db)]=!0x0,((_0x4d4d51=this[_0x37acc7(0x414)][_0x37acc7(0x27b)]())==null?void 0x0:_0x4d4d51[_0x37acc7(0x282)]())!==this[_0x37acc7(0x23f)])return;const _0x1722b9=(_0x408c69=this[_0x37acc7(0x465)]['get'](_0xa79b04[_0x37acc7(0x290)])[_0x37acc7(0x3dd)]())==null?void 0x0:_0x408c69[0x0],_0x2330a2=this['_univerInstanceService'][_0x37acc7(0x1f7)](_0x356f55[_0x37acc7(0x2d2)]['UNIVER_SHEET'])[_0x37acc7(0x35b)]();_0x1722b9&&_0x2330a2&&this[_0x37acc7(0x325)](_0x2330a2[_0x37acc7(0x1da)](),_0x1722b9);}[_0x33f13c(0x273)](){const _0x41034a=_0x33f13c;this[_0x41034a(0x1db)]=!0x1;}};_0x1ec120=_0x539331([_0x45e79c(0x2,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x45e79c(0x3,_0x356f55[_0x33f13c(0x245)](_0x833117)),_0x45e79c(0x4,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x2d1)])),_0x45e79c(0x5,_0x356f55['IUniverInstanceService']),_0x45e79c(0x6,_0x356f55[_0x33f13c(0x3b6)]),_0x45e79c(0x7,_0x356f55['Inject'](_0xa79b04[_0x33f13c(0x337)]))],_0x1ec120);var _0x1ecfbe=Object['getOwnPropertyDescriptor'],_0x113051=(_0x30e974,_0x398e7a,_0x446820,_0x20430a)=>{const _0x2f9071=_0x33f13c;for(var _0x136342=_0x20430a>0x1?void 0x0:_0x20430a?_0x1ecfbe(_0x398e7a,_0x446820):_0x398e7a,_0x5788cf=_0x30e974[_0x2f9071(0x1fa)]-0x1,_0x257f61;_0x5788cf>=0x0;_0x5788cf--)(_0x257f61=_0x30e974[_0x5788cf])&&(_0x136342=_0x257f61(_0x136342)||_0x136342);return _0x136342;},_0x45a55c=(_0x499a19,_0x4e545f)=>(_0x336426,_0x139390)=>_0x4e545f(_0x336426,_0x139390,_0x499a19);let _0x10d9f8=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0xd8fdb5,_0xd44597,_0x1b316){const _0x5ec120=_0x33f13c;super(),_0x428fe9(this,_0x5ec120(0x2ab),new Map()),_0x428fe9(this,_0x5ec120(0x275),new _0x2c71f6[(_0x5ec120(0x3c8))]()),(this[_0x5ec120(0x414)]=_0xd8fdb5,this[_0x5ec120(0x465)]=_0xd44597,this[_0x5ec120(0x295)]=_0x1b316,this[_0x5ec120(0x38e)]());}[_0x33f13c(0x27a)](){const _0x50a229=_0x33f13c;super[_0x50a229(0x27a)](),this[_0x50a229(0x275)][_0x50a229(0x2cb)](),this['_entities'][_0x50a229(0x288)](_0x17f442=>_0x17f442[_0x50a229(0x27a)]());}[_0x33f13c(0x2fb)](_0x176b8d){const _0x3d3378=_0x33f13c;return this[_0x3d3378(0x2ab)]['has'](_0x176b8d)?this[_0x3d3378(0x2ab)][_0x3d3378(0x3dc)](_0x176b8d)['cursorInfo$']:this[_0x3d3378(0x275)][_0x3d3378(0x225)](_0x2c71f6[_0x3d3378(0x448)](_0x4efdad=>_0x4efdad[_0x3d3378(0x23f)]===_0x176b8d),_0x2c71f6[_0x3d3378(0x1c6)](_0x3e6d0e=>_0x3e6d0e['cursorInfo$']));}[_0x33f13c(0x38e)](){const _0x547e4d=_0x33f13c;this[_0x547e4d(0x414)][_0x547e4d(0x353)](_0x356f55[_0x547e4d(0x2d2)][_0x547e4d(0x463)])[_0x547e4d(0x225)](_0x2c71f6[_0x547e4d(0x3fe)](this[_0x547e4d(0x23a)]))[_0x547e4d(0x1de)](async _0x37c26f=>{const _0x196539=_0x547e4d,_0x97eb98=_0x37c26f[_0x196539(0x282)](),_0x337626=await this[_0x196539(0x2e0)](_0x97eb98);this['_entityInit$'][_0x196539(0x2e7)](_0x337626),this[_0x196539(0x2ab)]['set'](_0x97eb98,_0x337626);}),this[_0x547e4d(0x414)][_0x547e4d(0x353)](_0x356f55[_0x547e4d(0x2d2)][_0x547e4d(0x307)])[_0x547e4d(0x225)](_0x2c71f6['takeUntil'](this[_0x547e4d(0x23a)]))[_0x547e4d(0x225)](_0x2c71f6['filter'](_0x3d56c1=>!_0x3d56c1[_0x547e4d(0x282)]()['startsWith']('__')))['subscribe'](async _0x1ae397=>{const _0x424e79=_0x547e4d,_0x4996d6=_0x1ae397[_0x424e79(0x282)](),_0x30d752=await this[_0x424e79(0x411)](_0x4996d6);this[_0x424e79(0x275)][_0x424e79(0x2e7)](_0x30d752),this[_0x424e79(0x2ab)][_0x424e79(0x3c7)](_0x4996d6,_0x30d752);}),_0x2c71f6[_0x547e4d(0x304)](this[_0x547e4d(0x414)][_0x547e4d(0x462)](_0x356f55[_0x547e4d(0x2d2)][_0x547e4d(0x307)]),this[_0x547e4d(0x414)][_0x547e4d(0x462)](_0x356f55[_0x547e4d(0x2d2)][_0x547e4d(0x463)]))[_0x547e4d(0x225)](_0x2c71f6[_0x547e4d(0x3fe)](this[_0x547e4d(0x23a)]))[_0x547e4d(0x1de)](_0x389c9b=>{const _0x3c4f0f=_0x547e4d,_0x219b1f=_0x389c9b[_0x3c4f0f(0x282)](),_0xc1479b=this[_0x3c4f0f(0x2ab)][_0x3c4f0f(0x3dc)](_0x219b1f);_0xc1479b&&(_0xc1479b[_0x3c4f0f(0x27a)](),this[_0x3c4f0f(0x2ab)][_0x3c4f0f(0x329)](_0x219b1f));});}async['_startSheetCollabCursor'](_0x3deb76){const _0x3fc72e=_0x33f13c,_0x423807=await this['_collabSessionService'][_0x3fc72e(0x248)](_0x3deb76),_0xb5379d=this['_injector'][_0x3fc72e(0x267)](_0x1ec120,_0x3deb76,_0x423807);return _0xb5379d[_0x3fc72e(0x2de)](),_0xb5379d;}async[_0x33f13c(0x411)](_0x4f447c){const _0x11a366=_0x33f13c,_0x5702c4=await this[_0x11a366(0x295)][_0x11a366(0x248)](_0x4f447c),_0x2efd8b=this[_0x11a366(0x465)][_0x11a366(0x267)](_0x54b38c,_0x4f447c,_0x5702c4);return _0x2efd8b[_0x11a366(0x2de)](),_0x2efd8b;}};_0x10d9f8=_0x113051([_0x45a55c(0x0,_0x356f55[_0x33f13c(0x1d6)]),_0x45a55c(0x1,_0x356f55[_0x33f13c(0x245)](_0x356f55['Injector'])),_0x45a55c(0x2,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x2c0)]))],_0x10d9f8);const _0x25c26a=0x14,_0x227365=0xc8,_0x8473d6=0x4,_0x62cc33=0x5;function _0x1ac6d8(_0x115a75,_0x423f43){const _0x2fb37c=_0x33f13c;let {radius:_0x43c16f,width:_0x27a729,height:_0x2dee83}=_0x423f43;_0x43c16f=_0x43c16f!=null?_0x43c16f:0x0,_0x27a729=_0x27a729!=null?_0x27a729:0x1e,_0x2dee83=_0x2dee83!=null?_0x2dee83:0x1e;let _0x23ddf7=0x0,_0x3eee4a=0x0,_0x4dbc88=0x0;_0x23ddf7=_0x3eee4a=_0x4dbc88=Math['min'](_0x43c16f,_0x27a729/0x2,_0x2dee83/0x2),_0x115a75['beginPath'](),_0x115a75[_0x2fb37c(0x394)](_0x23ddf7,0x0),_0x115a75[_0x2fb37c(0x3b4)](_0x27a729-_0x3eee4a,0x0),_0x115a75['arc'](_0x27a729-_0x3eee4a,_0x3eee4a,_0x3eee4a,Math['PI']*0x3/0x2,0x0,!0x1),_0x115a75['lineTo'](_0x27a729,_0x2dee83-_0x4dbc88),_0x115a75[_0x2fb37c(0x376)](_0x27a729-_0x4dbc88,_0x2dee83-_0x4dbc88,_0x4dbc88,0x0,Math['PI']/0x2,!0x1),_0x115a75[_0x2fb37c(0x3b4)](0x0,_0x2dee83),_0x115a75['lineTo'](0x0,_0x23ddf7),_0x115a75[_0x2fb37c(0x376)](_0x23ddf7,_0x23ddf7,_0x23ddf7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x115a75['closePath'](),_0x423f43[_0x2fb37c(0x2b6)]&&(_0x115a75[_0x2fb37c(0x1f8)](),_0x115a75[_0x2fb37c(0x298)]=_0x423f43[_0x2fb37c(0x2b6)],_0x423f43[_0x2fb37c(0x293)]===_0x2fb37c(0x2c5)?_0x115a75[_0x2fb37c(0x2b6)]('evenodd'):_0x115a75[_0x2fb37c(0x2b6)](),_0x115a75[_0x2fb37c(0x2a7)]());}class _0x2d2158 extends _0x6d1524[_0x33f13c(0x1f3)]{constructor(_0x544983,_0x27a57a){const _0x44dbcf=_0x33f13c;super(_0x544983,_0x27a57a),_0x428fe9(this,_0x44dbcf(0x3cb)),_0x428fe9(this,_0x44dbcf(0x34c)),(this[_0x44dbcf(0x3cb)]=_0x27a57a==null?void 0x0:_0x27a57a[_0x44dbcf(0x3cb)],this[_0x44dbcf(0x34c)]=_0x27a57a==null?void 0x0:_0x27a57a[_0x44dbcf(0x34c)]);}static['drawWith'](_0x48c034,_0x36edd7){const _0xdb468c=_0x33f13c,{text:_0x176103,color:_0x47bbd2}=_0x36edd7;_0x48c034[_0xdb468c(0x1f8)](),_0x48c034[_0xdb468c(0x235)]=_0xdb468c(0x238);const _0x4254b8=_0x48c034[_0xdb468c(0x280)](_0x176103)[_0xdb468c(0x2db)],_0x4529b=Math[_0xdb468c(0x2af)](_0x4254b8+0x2*_0x8473d6,_0x227365);_0x1ac6d8(_0x48c034,{'height':_0x25c26a,'radius':0x4,'width':_0x4529b,'fill':_0x47bbd2}),_0x48c034[_0xdb468c(0x298)]=_0xdb468c(0x301);const _0x20bac0=_0x8473d6,_0x3269ec=_0x25c26a-_0x62cc33,_0x1aff0f=_0x227365-0x2*_0x8473d6;if(_0x4254b8>_0x1aff0f){let _0x237327='',_0x431bf8=0x0;for(const _0x38294e of _0x176103){const _0xc5a5d8=_0x48c034['measureText'](_0x38294e)[_0xdb468c(0x2db)];if(_0x431bf8+_0xc5a5d8<=_0x1aff0f-_0x48c034[_0xdb468c(0x280)](_0xdb468c(0x43b))[_0xdb468c(0x2db)])_0x237327+=_0x38294e,_0x431bf8+=_0xc5a5d8;else{_0x237327+=_0xdb468c(0x43b);break;}}_0x48c034[_0xdb468c(0x261)](_0x237327,_0x20bac0,_0x3269ec);}else _0x48c034[_0xdb468c(0x261)](_0x176103,_0x20bac0,_0x3269ec);_0x48c034['restore']();}[_0x33f13c(0x39e)](_0x1aad18){const _0x2c497b=_0x33f13c;_0x2d2158[_0x2c497b(0x29f)](_0x1aad18,this);}}const _0x59c122=_0x33f13c(0x2cf),_0x5ee3d7=_0x33f13c(0x22f),_0x577519=_0x33f13c(0x429),_0x30d657=0x6,_0x45a333=1.5,_0xb3fff6=0x4,_0xd83379=1.5,_0x439ca2=_0x33f13c(0x2e9);class _0x4abd47{constructor(_0x396fcb,_0x5d05d2,_0x18f999,_0xd07a3a){const _0x499aa5=_0x33f13c;_0x428fe9(this,_0x499aa5(0x3f5),[]),_0x428fe9(this,'_anchor',null),_0x428fe9(this,_0x499aa5(0x3d8),null),_0x428fe9(this,'_anchorDot',null),_0x428fe9(this,'_hideTimer',null),_0x428fe9(this,_0x499aa5(0x421),null),(this[_0x499aa5(0x422)]=_0x396fcb,this[_0x499aa5(0x3e8)]=_0x5d05d2,this[_0x499aa5(0x3ab)]=_0x18f999,this[_0x499aa5(0x252)]=_0xd07a3a,this[_0x499aa5(0x326)]());}set[_0x33f13c(0x44c)](_0x3a4488){const _0x50aa4a=_0x33f13c;_0x3a4488?(this['_anchorDot']&&this['_anchorDot'][_0x50aa4a(0x322)](),this[_0x50aa4a(0x3d8)]&&this[_0x50aa4a(0x3d8)][_0x50aa4a(0x2c8)]()):(this[_0x50aa4a(0x346)]&&this[_0x50aa4a(0x346)][_0x50aa4a(0x2c8)](),this[_0x50aa4a(0x3d8)]&&this[_0x50aa4a(0x3d8)][_0x50aa4a(0x322)]());}[_0x33f13c(0x27a)](){const _0xeeec67=_0x33f13c;for(const _0x72b7ae of this['_shapes'])_0x72b7ae['dispose']();this[_0xeeec67(0x3d8)]&&this['_textBubble']['dispose'](),this[_0xeeec67(0x346)]&&this[_0xeeec67(0x346)][_0xeeec67(0x27a)](),this[_0xeeec67(0x23d)]&&this[_0xeeec67(0x23d)][_0xeeec67(0x27a)](),this[_0xeeec67(0x421)]&&this[_0xeeec67(0x421)]();}[_0x33f13c(0x326)](){const _0x10b26e=_0x33f13c;var _0x16478d;const {_docSkeleton:_0x557fe1,_document:_0x228a36}=this,{color:_0x282d2d,name:_0x1f11e3,ranges:_0x4348ec}=this[_0x10b26e(0x422)],_0x11ad9d=_0x228a36[_0x10b26e(0x38d)](),{docsLeft:_0x2b5764,docsTop:_0x4f7947}=_0x11ad9d,_0x2da50d=new _0x5dd295[(_0x10b26e(0x2f4))](_0x11ad9d,_0x557fe1);for(const {startOffset:_0x102e35,endOffset:_0x142c9e,rangeType:_0x3b2d40,segmentId:_0x999269,segmentPage:_0x5d6b8c,collapsed:_0x1b6c99,isActive:_0x1a9b9c}of _0x4348ec){const _0x4fc060=_0x557fe1[_0x10b26e(0x25c)](_0x102e35,!0x0,_0x999269,_0x5d6b8c);let _0x1c4360=_0x557fe1[_0x10b26e(0x25c)](_0x142c9e,!0x0,_0x999269,_0x5d6b8c);if(_0x1c4360==null&&(_0x1c4360=_0x557fe1[_0x10b26e(0x25c)](_0x142c9e-0x1,!0x1,_0x999269,_0x5d6b8c)),_0x1a9b9c){const {contentBoxPointGroup:_0x19952f}=_0x2da50d[_0x10b26e(0x3c5)](_0x1c4360,_0x1c4360);if(_0x19952f[_0x10b26e(0x1fa)]===0x0)continue;this[_0x10b26e(0x3f1)](_0x282d2d,_0x19952f,_0x2b5764,_0x4f7947,_0x1f11e3),this['_eventUnsubscribe']=this[_0x10b26e(0x41e)]();}if(_0x4fc060&&_0x1c4360){if(_0x3b2d40===_0x356f55[_0x10b26e(0x3ff)]['RECT']){const _0x4a3a17=new _0x5dd295['NodePositionConvertToRectRange'](_0x11ad9d,_0x557fe1),{pointGroup:_0x5913c4}=(_0x16478d=_0x4a3a17['getRangePointData'](_0x4fc060,_0x1c4360))!=null?_0x16478d:{};if(_0x5913c4==null||_0x5913c4[_0x10b26e(0x1fa)]===0x0)continue;this['_drawRectRange'](_0x282d2d,_0x5913c4,_0x2b5764,_0x4f7947);}else{if(!_0x1b6c99){const {borderBoxPointGroup:_0x3ce155}=_0x2da50d[_0x10b26e(0x3c5)](_0x4fc060,_0x1c4360);if(_0x3ce155[_0x10b26e(0x1fa)]===0x0)continue;this[_0x10b26e(0x3f7)](_0x282d2d,_0x3ce155,_0x2b5764,_0x4f7947);}}}}}[_0x33f13c(0x3f1)](_0x3ee0a6,_0x45f23f,_0x5e1f02,_0x33ca18,_0xbe7ebc){const _0x4ea319=_0x33f13c,_0x115531=this[_0x4ea319(0x403)](_0x45f23f),{left:_0x1bdd9a,top:_0x148dee,height:_0x166676}=_0x115531,_0x4be716=this[_0x4ea319(0x287)](),_0x2aef61=_0xd83379/_0x4be716,_0x3dd96a=new _0x6d1524[(_0x4ea319(0x378))](_0x59c122+_0x356f55['Tools'][_0x4ea319(0x341)](_0x30d657),{'left':_0x1bdd9a+_0x5e1f02-_0x2aef61,'top':_0x148dee+_0x33ca18,'height':_0x166676,'width':_0x45a333,'fill':_0x3ee0a6||_0x6d1524[_0x4ea319(0x1fe)](_0x356f55[_0x4ea319(0x40b)][_0x4ea319(0x3c6)],0x0),'strokeWidth':_0x2aef61,'stroke':_0x439ca2,'evented':!0x0});this['_anchor']=_0x3dd96a,this['_scene']['addObject'](_0x3dd96a,_0x5dd295[_0x4ea319(0x385)]);const _0x37b66f=new _0x6d1524[(_0x4ea319(0x378))](_0x59c122+_0x356f55[_0x4ea319(0x35e)][_0x4ea319(0x341)](_0x30d657),{'left':_0x1bdd9a+_0x5e1f02-_0x2aef61,'top':_0x148dee+_0x33ca18-_0xb3fff6/0x2,'height':_0xb3fff6,'width':_0xb3fff6,'fill':_0x3ee0a6||_0x6d1524[_0x4ea319(0x1fe)](_0x356f55[_0x4ea319(0x40b)][_0x4ea319(0x3c6)],0x0),'strokeWidth':0x0,'stroke':_0x3ee0a6||_0x6d1524[_0x4ea319(0x1fe)](_0x356f55[_0x4ea319(0x40b)]['black'],0x0),'evented':!0x1});this[_0x4ea319(0x346)]=_0x37b66f,this[_0x4ea319(0x3e8)][_0x4ea319(0x40d)](_0x37b66f,_0x5dd295['TEXT_RANGE_LAYER_INDEX']);const _0x2fc8a1=new _0x2d2158(_0x59c122+_0x356f55[_0x4ea319(0x35e)]['generateRandomId'](_0x30d657),{'left':_0x1bdd9a+_0x5e1f02-_0x2aef61,'top':_0x148dee+_0x33ca18-_0x25c26a,'text':_0xbe7ebc,'color':_0x3ee0a6});this[_0x4ea319(0x3d8)]=_0x2fc8a1,this[_0x4ea319(0x3e8)][_0x4ea319(0x40d)](_0x2fc8a1,_0x5dd295[_0x4ea319(0x385)]),this[_0x4ea319(0x44c)]=!0x1;}[_0x33f13c(0x41e)](){const _0x12674b=_0x33f13c,_0x17df66=this['_anchor']['onPointerEnter$'][_0x12674b(0x3f2)](()=>{this['_hover']=!0x0;}),_0x127006=this[_0x12674b(0x23d)][_0x12674b(0x45f)]['subscribeEvent'](()=>{const _0x2c3662=_0x12674b;this[_0x2c3662(0x283)]&&clearTimeout(this['_hideTimer']),this[_0x2c3662(0x283)]=setTimeout(()=>{const _0x520d36=_0x2c3662;this[_0x520d36(0x44c)]=!0x1;},0x7d0);});return()=>{const _0x21fec1=_0x12674b;_0x17df66[_0x21fec1(0x2aa)](),_0x127006[_0x21fec1(0x2aa)]();};}['_drawTextRange'](_0x27e617,_0x2b52ed,_0x4e2024,_0x3b4a67){const _0x213fd5=_0x33f13c,_0x5579c3=new _0x356f55[(_0x213fd5(0x427))](_0x27e617)[_0x213fd5(0x2fa)](0.2)[_0x213fd5(0x271)](),_0x25cf53=new _0x6d1524[(_0x213fd5(0x2a2))](_0x5ee3d7+_0x356f55[_0x213fd5(0x35e)][_0x213fd5(0x341)](_0x30d657),{'pointsGroup':_0x2b52ed,'fill':_0x5579c3||_0x6d1524[_0x213fd5(0x1fe)](_0x356f55[_0x213fd5(0x40b)][_0x213fd5(0x3c6)],0.2),'left':_0x4e2024,'top':_0x3b4a67,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x213fd5(0x3f5)][_0x213fd5(0x249)](_0x25cf53),this[_0x213fd5(0x3e8)]['addObject'](_0x25cf53,_0x5dd295[_0x213fd5(0x385)]);}[_0x33f13c(0x360)](_0x336c26,_0x29df4c,_0x4040e7,_0x325d53){const _0x378ad8=_0x33f13c,_0x15fb2a=new _0x356f55['ColorKit'](_0x336c26)['setAlpha'](0.2)[_0x378ad8(0x271)](),_0x389a66=new _0x6d1524[(_0x378ad8(0x2a2))](_0x577519+_0x356f55[_0x378ad8(0x35e)][_0x378ad8(0x341)](_0x30d657),{'pointsGroup':_0x29df4c,'fill':_0x15fb2a||_0x6d1524[_0x378ad8(0x1fe)](_0x356f55['COLORS'][_0x378ad8(0x3c6)],0.2),'left':_0x4040e7,'top':_0x325d53,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x378ad8(0x3f5)][_0x378ad8(0x249)](_0x389a66),this[_0x378ad8(0x3e8)][_0x378ad8(0x40d)](_0x389a66,_0x5dd295['TEXT_RANGE_LAYER_INDEX']);}[_0x33f13c(0x403)](_0x42d913){const _0x296eb3=_0x42d913[0x0],_0xea26ca=_0x296eb3[0x0],_0x6fd2a6=_0x296eb3[0x2],{x:_0xa4bb7,y:_0x25fa17}=_0xea26ca,{x:_0x290f33,y:_0x9b8e90}=_0x6fd2a6;return{'left':_0xa4bb7,'top':_0x25fa17,'width':_0x290f33-_0xa4bb7,'height':_0x9b8e90-_0x25fa17};}[_0x33f13c(0x287)](){const _0x4c7e16=_0x33f13c,{scaleX:_0x2d6c63,scaleY:_0x1d99b3}=this[_0x4c7e16(0x3e8)][_0x4c7e16(0x363)]();return Math[_0x4c7e16(0x23e)](_0x2d6c63,_0x1d99b3);}}var _0x1782b6=Object[_0x33f13c(0x1eb)],_0x407b35=(_0x1e038e,_0x2b32bd,_0x2db7f1,_0x5e8a55)=>{const _0x38742f=_0x33f13c;for(var _0x2f9d43=_0x5e8a55>0x1?void 0x0:_0x5e8a55?_0x1782b6(_0x2b32bd,_0x2db7f1):_0x2b32bd,_0x2aec6c=_0x1e038e[_0x38742f(0x1fa)]-0x1,_0x53ab3a;_0x2aec6c>=0x0;_0x2aec6c--)(_0x53ab3a=_0x1e038e[_0x2aec6c])&&(_0x2f9d43=_0x53ab3a(_0x2f9d43)||_0x2f9d43);return _0x2f9d43;},_0x5a6e3f=(_0x297139,_0x1c2d95)=>(_0x217842,_0x37736d)=>_0x1c2d95(_0x217842,_0x37736d,_0x297139);let _0x3f9d4b=class extends _0x356f55['RxDisposable']{constructor(_0x1262f3,_0x4a460b,_0x57c545,_0x26dacb,_0xf1d78c){const _0x509507=_0x33f13c;super(),_0x428fe9(this,_0x509507(0x1e9),[]),_0x428fe9(this,_0x509507(0x32f),[]),(this[_0x509507(0x28a)]=_0x1262f3,this['_docSkeletonManagerService']=_0x4a460b,this['_collabCursorController']=_0x57c545,this['_commandService']=_0x26dacb,this[_0x509507(0x1c1)]=_0xf1d78c,this[_0x509507(0x38e)]());}[_0x33f13c(0x38e)](){const _0x45fb8e=_0x33f13c,_0x1c8326=this['_context'][_0x45fb8e(0x451)],_0x2f8991=this[_0x45fb8e(0x30a)];this[_0x45fb8e(0x3a9)](_0x2c71f6[_0x45fb8e(0x2a3)]([this[_0x45fb8e(0x2ee)][_0x45fb8e(0x2fb)](_0x1c8326),this[_0x45fb8e(0x1c1)]['currentTheme$']])[_0x45fb8e(0x225)](_0x40fd46[_0x45fb8e(0x212)](([_0x11fbb6,_0x2bbe1a])=>({'skeleton':_0x2f8991[_0x45fb8e(0x380)](),'cursors':[..._0x11fbb6[_0x45fb8e(0x32c)]()][_0x45fb8e(0x332)](_0x20d1a4=>({..._0x20d1a4,'color':this[_0x45fb8e(0x1c1)][_0x45fb8e(0x42f)](_0x20d1a4[_0x45fb8e(0x3cb)])}))})))[_0x45fb8e(0x1de)](_0x15eb39=>{const _0x1760bd=_0x45fb8e;if(this[_0x1760bd(0x2d0)](),_0x15eb39){const {skeleton:_0x40d25d,cursors:_0x2d380d}=_0x15eb39;this[_0x1760bd(0x1cd)](_0x40d25d,_0x2d380d);}})),this[_0x45fb8e(0x24d)](),this[_0x45fb8e(0x3be)]();}[_0x33f13c(0x1cd)](_0x211604,_0x3b36de){const _0x3a6649=_0x33f13c,{scene:_0x586199,mainComponent:_0x416de7}=this['_context'],_0xcd4aaf=_0x3b36de['map'](_0x3e7ec8=>new _0x4abd47(_0x3e7ec8,_0x586199,_0x211604,_0x416de7));this[_0x3a6649(0x1e9)]=_0xcd4aaf,this[_0x3a6649(0x32f)]=_0x3b36de;}[_0x33f13c(0x2ae)](){const _0x2e17ba=_0x33f13c;this[_0x2e17ba(0x2d0)]();const {scene:_0x1601c1,mainComponent:_0x570d6c}=this[_0x2e17ba(0x28a)],_0x40674f=this['_docSkeletonManagerService'][_0x2e17ba(0x380)](),_0x49b97e=this[_0x2e17ba(0x32f)][_0x2e17ba(0x212)](_0xe7bcb8=>new _0x4abd47(_0xe7bcb8,_0x1601c1,_0x40674f,_0x570d6c));this[_0x2e17ba(0x1e9)]=_0x49b97e;}['_removeCollabCursors'](){const _0x5b1755=_0x33f13c;this[_0x5b1755(0x1e9)]['forEach'](_0x2f5239=>_0x2f5239[_0x5b1755(0x27a)]()),this[_0x5b1755(0x1e9)]=[];}[_0x33f13c(0x3be)](){const _0x1794a1=_0x33f13c,_0x1c1ee4=[_0x5dd295[_0x1794a1(0x1c5)]['id']];this[_0x1794a1(0x3a9)](this[_0x1794a1(0x1e1)]['onCommandExecuted'](_0x4e5e77=>{const _0x5607d5=_0x1794a1;_0x1c1ee4['includes'](_0x4e5e77['id'])&&_0x4e5e77[_0x5607d5(0x204)][_0x5607d5(0x451)]===this[_0x5607d5(0x28a)]['unitId']&&this[_0x5607d5(0x2ae)]();}));}[_0x33f13c(0x24d)](){const _0x838b7e=_0x33f13c;this[_0x838b7e(0x3a9)](_0x356f55[_0x838b7e(0x440)](this[_0x838b7e(0x28a)][_0x838b7e(0x3d4)][_0x838b7e(0x241)])[_0x838b7e(0x225)](_0x40fd46[_0x838b7e(0x448)](_0xc6f5b8=>_0xc6f5b8[_0x838b7e(0x1c8)]===_0x6d1524['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x838b7e(0x226)]),_0x40fd46[_0x838b7e(0x369)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x3f9d4b=_0x407b35([_0x5a6e3f(0x1,_0x356f55[_0x33f13c(0x245)](_0x13e3d3[_0x33f13c(0x3b5)])),_0x5a6e3f(0x2,_0x356f55[_0x33f13c(0x245)](_0x10d9f8)),_0x5a6e3f(0x3,_0x356f55[_0x33f13c(0x3b6)]),_0x5a6e3f(0x4,_0x356f55[_0x33f13c(0x245)](_0x356f55['ThemeService']))],_0x3f9d4b);const _0x4070a8=0x1,_0x15f51b=1.5;class _0x5ef263 extends _0x6d1524[_0x33f13c(0x1f3)]{constructor(_0x1ee010,_0x696423){const _0x5caad6=_0x33f13c;super(_0x1ee010,_0x696423),_0x428fe9(this,'_color'),_0x428fe9(this,_0x5caad6(0x2ff),!0x1),_0x428fe9(this,_0x5caad6(0x27d)),_0x428fe9(this,_0x5caad6(0x285),''),_0x428fe9(this,_0x5caad6(0x431),_0x5caad6(0x401)),_0x428fe9(this,_0x5caad6(0x23b)),(_0x696423&&this[_0x5caad6(0x358)](_0x696423),this[_0x5caad6(0x25e)][_0x5caad6(0x3f2)](()=>this[_0x5caad6(0x358)]({'hovered':!0x0})),this[_0x5caad6(0x45f)]['subscribeEvent'](()=>this[_0x5caad6(0x358)]({'hovered':!0x1})));}[_0x33f13c(0x358)](_0x5713cc){const _0x183e9d=_0x33f13c;var _0x364efb,_0x54d9c8,_0x21d759,_0x4708d0,_0x168258,_0x7e08ba;this[_0x183e9d(0x22a)]=(_0x364efb=_0x5713cc[_0x183e9d(0x3cb)])!=null?_0x364efb:this[_0x183e9d(0x22a)],this[_0x183e9d(0x2ff)]=(_0x54d9c8=_0x5713cc[_0x183e9d(0x2e6)])!=null?_0x54d9c8:this[_0x183e9d(0x2ff)],this['_range']=(_0x21d759=_0x5713cc[_0x183e9d(0x311)])!=null?_0x21d759:this[_0x183e9d(0x27d)],this[_0x183e9d(0x285)]=(_0x4708d0=_0x5713cc['name'])!=null?_0x4708d0:this[_0x183e9d(0x285)],this[_0x183e9d(0x431)]=(_0x168258=_0x5713cc[_0x183e9d(0x3a7)])!=null?_0x168258:this[_0x183e9d(0x431)],this[_0x183e9d(0x23b)]=(_0x7e08ba=_0x5713cc[_0x183e9d(0x26b)])!=null?_0x7e08ba:this[_0x183e9d(0x23b)],this[_0x183e9d(0x253)]({'width':_0x5713cc[_0x183e9d(0x2db)],'height':_0x5713cc['height']});}[_0x33f13c(0x3cc)](_0x3df48f){const _0x26d74c=_0x33f13c,{row:_0x20df67,column:_0x1524d2}=_0x3df48f;if(_0x20df67>=this[_0x26d74c(0x27d)][_0x26d74c(0x43e)]&&_0x20df67<=this['_range'][_0x26d74c(0x46e)]&&_0x1524d2>=this['_range'][_0x26d74c(0x1cc)]&&_0x1524d2<=this[_0x26d74c(0x27d)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x26d74c(0x358)]({'hovered':!0x1});}[_0x33f13c(0x459)](_0x18bb04){return!0x1;}[_0x33f13c(0x39e)](_0x2754cd){const _0x3f1f78=_0x33f13c;_0x6d1524['Rect'][_0x3f1f78(0x29f)](_0x2754cd,{'width':this[_0x3f1f78(0x2db)],'height':this[_0x3f1f78(0x434)],'strokeWidth':_0x15f51b,'stroke':this[_0x3f1f78(0x22a)],'evented':!0x1,'fill':this[_0x3f1f78(0x23b)]}),this[_0x3f1f78(0x2ff)]&&(_0x2754cd[_0x3f1f78(0x1f8)](),_0x2754cd['transform'](0x1,0x0,0x0,0x1,this[_0x3f1f78(0x2db)],this[_0x3f1f78(0x431)]===_0x3f1f78(0x1c3)?0x0:-0x14),_0x2d2158[_0x3f1f78(0x29f)](_0x2754cd,{'text':this['_name'],'color':this[_0x3f1f78(0x22a)]}),_0x2754cd['restore']());}}var _0x33c546=Object[_0x33f13c(0x1eb)],_0x4f7852=(_0x9bca85,_0x52ed22,_0x56803a,_0x516457)=>{for(var _0x5c835c=_0x516457>0x1?void 0x0:_0x516457?_0x33c546(_0x52ed22,_0x56803a):_0x52ed22,_0x24cf0b=_0x9bca85['length']-0x1,_0x2c5ad3;_0x24cf0b>=0x0;_0x24cf0b--)(_0x2c5ad3=_0x9bca85[_0x24cf0b])&&(_0x5c835c=_0x2c5ad3(_0x5c835c)||_0x5c835c);return _0x5c835c;},_0x30e051=(_0x2a07d8,_0x539184)=>(_0xc721ed,_0x2634b8)=>_0x539184(_0xc721ed,_0x2634b8,_0x2a07d8);const _0x370f1d=0x1389;let _0x2d1d8c=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x3a061c,_0x42dbd7,_0x376bcb,_0x5e75bb){const _0x532c57=_0x33f13c;super(),_0x428fe9(this,_0x532c57(0x32f),new Set()),_0x428fe9(this,_0x532c57(0x1d4),null),(this[_0x532c57(0x28a)]=_0x3a061c,this[_0x532c57(0x2bb)]=_0x42dbd7,this['_collabCursorController']=_0x376bcb,this[_0x532c57(0x1c1)]=_0x5e75bb,this['_init']());}[_0x33f13c(0x38e)](){const _0xfed1a3=_0x33f13c;this[_0xfed1a3(0x2bb)][_0xfed1a3(0x32a)][_0xfed1a3(0x225)](_0x40fd46[_0xfed1a3(0x3fe)](this[_0xfed1a3(0x23a)]),_0x40fd46[_0xfed1a3(0x1c6)](_0x12a087=>{const _0x1f2252=_0xfed1a3;if(_0x12a087){const _0x5e9b82=_0x12a087['sheetId'];return _0x2c71f6[_0x1f2252(0x2a3)](this['_collabCursorController'][_0x1f2252(0x2fb)](this['_context'][_0x1f2252(0x451)]),this[_0x1f2252(0x1c1)]['currentTheme$'])[_0x1f2252(0x225)](_0x40fd46[_0x1f2252(0x212)](([_0x67dd38,_0x3b7537])=>{const _0x3fa2bb=new Map();return _0x67dd38['forEach']((_0x21938a,_0xf033ee)=>{const _0x3a58af=_0x6c71;if(_0x21938a['sheetID']===_0x5e9b82){const _0x1d842f={..._0x21938a};_0x1d842f[_0x3a58af(0x3cb)]=this[_0x3a58af(0x1c1)][_0x3a58af(0x42f)](_0x21938a[_0x3a58af(0x3cb)]),_0x3fa2bb[_0x3a58af(0x3c7)](_0xf033ee,_0x1d842f);}}),{'skeleton':_0x12a087,'cursors':_0x3fa2bb};}));}return _0x2c71f6['of']({'skeleton':null,'cursors':new Map()});}))[_0xfed1a3(0x1de)](({skeleton:_0x3671d4,cursors:_0x54f17f})=>{const _0x4ded0b=_0xfed1a3;this[_0x4ded0b(0x2d0)](),_0x3671d4&&this['_updateCollabCursors'](_0x3671d4,_0x54f17f);}),this['_sheetSkeletonManagerService'][_0xfed1a3(0x32a)]['subscribe'](_0x51b1b9=>{const _0x3a4e22=_0xfed1a3;if(_0x51b1b9==null)return;const {skeleton:_0xfae6b9}=_0x51b1b9,{scene:_0x260148}=this['_context'];_0x260148['onPointerMove$']['subscribeEvent'](_0x356f55[_0x3a4e22(0x28d)](_0x4987d3=>{const _0x219ce4=_0x3a4e22;var _0x2872b2,_0xf83719;const {offsetX:_0x11c136,offsetY:_0x49b8a5}=_0x4987d3,{x:_0x2aad7e,y:_0x40bb61}=_0x260148[_0x219ce4(0x28c)](_0x6d1524['Vector2'][_0x219ce4(0x28b)]([_0x11c136,_0x49b8a5])),{scaleX:_0x4879b5,scaleY:_0x168590}=_0x260148['getAncestorScale'](),_0x2c12ef=_0x260148[_0x219ce4(0x3ed)](_0x6d1524[_0x219ce4(0x292)]['VIEW_MAIN']),_0x4357a1=_0x260148[_0x219ce4(0x32d)](_0x6d1524['Vector2'][_0x219ce4(0x28b)]([_0x2aad7e,_0x40bb61]),_0x2c12ef),_0x4cd01e=_0xfae6b9[_0x219ce4(0x344)](_0x11c136,_0x49b8a5,_0x4879b5,_0x168590,_0x4357a1);((_0x2872b2=this[_0x219ce4(0x1d4)])==null?void 0x0:_0x2872b2[_0x219ce4(0x42a)])===_0x4cd01e[_0x219ce4(0x42a)]&&((_0xf83719=this[_0x219ce4(0x1d4)])==null?void 0x0:_0xf83719[_0x219ce4(0x3ce)])===_0x4cd01e[_0x219ce4(0x3ce)]||this[_0x219ce4(0x32f)][_0x219ce4(0x288)](_0x137d62=>{const _0x2d67fe=_0x219ce4;_0x137d62[_0x2d67fe(0x3cc)](_0x4cd01e);});},0x64));});}[_0x33f13c(0x1cd)](_0xc7641f,_0x19326a){const _0x40bc5e=_0x33f13c;var _0x11e501;const _0x284ac4=(_0x11e501=this[_0x40bc5e(0x2bb)][_0x40bc5e(0x3a6)]())==null?void 0x0:_0x11e501['skeleton'];if(!_0x284ac4)return;const _0x2e57d7=this[_0x40bc5e(0x2c2)]();if(!_0x2e57d7)return;this['_cursors'][_0x40bc5e(0x288)](_0x2321cd=>{const _0x5e117a=_0x40bc5e;_0x2321cd[_0x5e117a(0x349)]();});const {scene:_0x1fce82}=_0x2e57d7,_0xe8a5ea=_0x355ace(Array[_0x40bc5e(0x21c)](_0x19326a[_0x40bc5e(0x32c)]()))[_0x40bc5e(0x212)](_0x2dec42=>{const _0x7f5e5=_0x40bc5e,{color:_0x5b84d5,range:_0x4f26fc,name:_0x354fb5,selection:_0x24193a,sheetID:_0x5d5dac}=_0x2dec42,{startColumn:_0x5c4733,startRow:_0x3067a7,endColumn:_0x484821,endRow:_0x2e85da}=_0x4f26fc,_0x4a484d=_0x1cc7b5['getCoordByCell'](_0x3067a7,_0x5c4733,_0x1fce82,_0x284ac4),_0x137fbc=_0x1cc7b5[_0x7f5e5(0x3d7)](_0x2e85da,_0x484821,_0x1fce82,_0x284ac4),{columnHeaderHeightAndMarginTop:_0x51fc29}=_0x284ac4,{startX:_0x1ce45f,startY:_0x34125d}=_0x4a484d,{endX:_0x2d0f49,endY:_0x43ded2}=_0x137fbc,_0x2b0277=_0x2d0f49-_0x1ce45f,_0xe906a=_0x43ded2-_0x34125d,_0x365e4e={'labelPosition':_0x34125d-_0x51fc29>=_0x25c26a?_0x7f5e5(0x401):_0x7f5e5(0x1c3),'sheetID':_0x5d5dac,'range':_0x4f26fc,'color':_0x5b84d5,'name':_0x354fb5,'selection':_0x24193a,'left':_0x1ce45f,'top':_0x34125d,'width':_0x2b0277,'height':_0xe906a,'evented':!0x1,'zIndex':_0x370f1d};return new _0x5ef263(_0x354fb5,_0x365e4e);});_0x1fce82[_0x40bc5e(0x1c2)](_0xe8a5ea,_0x4070a8),this[_0x40bc5e(0x32f)]=new Set(_0xe8a5ea);}[_0x33f13c(0x2d0)](){const _0x20f7c6=_0x33f13c;var _0x1cdc93;(_0x1cdc93=this[_0x20f7c6(0x32f)])==null||_0x1cdc93[_0x20f7c6(0x288)](_0x5b1fe2=>_0x5b1fe2[_0x20f7c6(0x27a)]());}[_0x33f13c(0x2c2)](){const _0x14ae3a=_0x33f13c;return _0x1cc7b5['getSheetObject'](this['_context'][_0x14ae3a(0x42d)],this['_context']);}};_0x2d1d8c=_0x4f7852([_0x30e051(0x1,_0x356f55['Inject'](_0x1cc7b5[_0x33f13c(0x444)])),_0x30e051(0x2,_0x356f55[_0x33f13c(0x245)](_0x10d9f8)),_0x30e051(0x3,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x374)]))],_0x2d1d8c);function _0x355ace(_0x5d5835){const _0x33e443=_0x33f13c,_0x3ca188=new Map();return _0x5d5835['forEach'](_0x391d26=>{const _0x1574de=_0x6c71;if(_0x3ca188[_0x1574de(0x30f)](_0x391d26[_0x1574de(0x45a)])){const _0x36900d=_0x3ca188['get'](_0x391d26[_0x1574de(0x45a)]);_0x36900d[_0x1574de(0x1e2)]+=',\x20'+_0x391d26[_0x1574de(0x1e2)];}else _0x3ca188['set'](_0x391d26[_0x1574de(0x45a)],_0x391d26);}),Array[_0x33e443(0x21c)](_0x3ca188[_0x33e443(0x32c)]());}var _0x4ba76d=function(){const _0xfdca9=_0x33f13c;return _0x4ba76d=Object[_0xfdca9(0x42e)]||function(_0x60a260){const _0x3a152e=_0xfdca9;for(var _0x53ce89,_0x410223=0x1,_0x1071ab=arguments[_0x3a152e(0x1fa)];_0x410223<_0x1071ab;_0x410223++){_0x53ce89=arguments[_0x410223];for(var _0x47e3c9 in _0x53ce89)Object['prototype'][_0x3a152e(0x2f1)][_0x3a152e(0x208)](_0x53ce89,_0x47e3c9)&&(_0x60a260[_0x47e3c9]=_0x53ce89[_0x47e3c9]);}return _0x60a260;},_0x4ba76d[_0xfdca9(0x2ac)](this,arguments);},_0x2e5aa5=function(_0x17f186,_0x5bd0a2){const _0x1cb7f6=_0x33f13c;var _0x270658={};for(var _0x2bc474 in _0x17f186)Object[_0x1cb7f6(0x1d9)][_0x1cb7f6(0x2f1)][_0x1cb7f6(0x208)](_0x17f186,_0x2bc474)&&_0x5bd0a2['indexOf'](_0x2bc474)<0x0&&(_0x270658[_0x2bc474]=_0x17f186[_0x2bc474]);if(_0x17f186!=null&&typeof Object[_0x1cb7f6(0x1c9)]==_0x1cb7f6(0x35f)){for(var _0xe81465=0x0,_0x2bc474=Object[_0x1cb7f6(0x1c9)](_0x17f186);_0xe81465<_0x2bc474[_0x1cb7f6(0x1fa)];_0xe81465++)_0x5bd0a2[_0x1cb7f6(0x205)](_0x2bc474[_0xe81465])<0x0&&Object[_0x1cb7f6(0x1d9)]['propertyIsEnumerable'][_0x1cb7f6(0x208)](_0x17f186,_0x2bc474[_0xe81465])&&(_0x270658[_0x2bc474[_0xe81465]]=_0x17f186[_0x2bc474[_0xe81465]]);}return _0x270658;},_0x23b0d0=_0x20acc3['forwardRef'](function(_0xfa9789,_0x92fe85){const _0x3d0cfd=_0x33f13c;var _0x5f1d89=_0xfa9789[_0x3d0cfd(0x348)],_0x3aed84=_0xfa9789['id'],_0x5a6839=_0xfa9789[_0x3d0cfd(0x228)],_0x248e46=_0xfa9789['extend'],_0x2c1ba3=_0x2e5aa5(_0xfa9789,[_0x3d0cfd(0x348),'id',_0x3d0cfd(0x228),_0x3d0cfd(0x281)]),_0x13c7aa=_0x3d0cfd(0x247)['concat'](_0x3aed84,'\x20')['concat'](_0x5a6839||'')[_0x3d0cfd(0x351)](),_0xb15b68=_0x20acc3['useRef']('_'[_0x3d0cfd(0x3ef)](_0x191f23()));return _0xbbc8c1(_0x5f1d89,''[_0x3d0cfd(0x3ef)](_0x3aed84),{'defIds':_0x5f1d89[_0x3d0cfd(0x1c7)],'idSuffix':_0xb15b68[_0x3d0cfd(0x350)]},_0x4ba76d({'ref':_0x92fe85,'className':_0x13c7aa},_0x2c1ba3),_0x248e46);});function _0xbbc8c1(_0x4c3c83,_0x1aacc6,_0x3d5022,_0x13742d,_0x5ce385){const _0x50f5b9=_0x33f13c;return _0x20acc3['createElement'](_0x4c3c83[_0x50f5b9(0x240)],_0x4ba76d(_0x4ba76d({'key':_0x1aacc6},_0x456947(_0x4c3c83,_0x3d5022,_0x5ce385)),_0x13742d),(_0x381f12(_0x4c3c83,_0x3d5022)[_0x50f5b9(0x3e2)]||[])['map'](function(_0x11d834,_0x451fa0){const _0x3e5a55=_0x50f5b9;return _0xbbc8c1(_0x11d834,''[_0x3e5a55(0x3ef)](_0x1aacc6,'-')[_0x3e5a55(0x3ef)](_0x4c3c83[_0x3e5a55(0x240)],'-')[_0x3e5a55(0x3ef)](_0x451fa0),_0x3d5022,void 0x0,_0x5ce385);}));}function _0x456947(_0x309c08,_0x4548d2,_0x2db2a7){const _0x5ea06b=_0x33f13c;var _0x3a8236=_0x4ba76d({},_0x309c08[_0x5ea06b(0x318)]);_0x2db2a7!=null&&_0x2db2a7[_0x5ea06b(0x3fb)]&&_0x3a8236['fill']===_0x5ea06b(0x3fb)&&(_0x3a8236['fill']=_0x2db2a7[_0x5ea06b(0x3fb)]),_0x309c08['tag']===_0x5ea06b(0x303)&&_0x3a8236['id']&&(_0x3a8236['id']=_0x3a8236['id']+_0x4548d2[_0x5ea06b(0x359)]),Object[_0x5ea06b(0x424)](_0x3a8236)[_0x5ea06b(0x288)](function(_0x2e1487){const _0x24cbd8=_0x5ea06b;var _0x5f5cef=_0x2e1487[0x0],_0x3397e2=_0x2e1487[0x1];_0x5f5cef===_0x24cbd8(0x303)&&typeof _0x3397e2=='string'&&(_0x3a8236[_0x5f5cef]=_0x3397e2[_0x24cbd8(0x272)](/url\(#(.*)\)/,_0x24cbd8(0x26a)[_0x24cbd8(0x3ef)](_0x4548d2[_0x24cbd8(0x359)],')')));});var _0x867bb=_0x4548d2[_0x5ea06b(0x1c7)];return!_0x867bb||_0x867bb['length']===0x0||(_0x309c08['tag']===_0x5ea06b(0x2fd)&&_0x3a8236[_0x5ea06b(0x1ea)]&&(_0x3a8236['xlink:href']=_0x3a8236['xlink:href']+_0x4548d2[_0x5ea06b(0x359)]),Object['entries'](_0x3a8236)['forEach'](function(_0x24e1eb){const _0x1b2cb1=_0x5ea06b;var _0x36caf4=_0x24e1eb[0x0],_0x5d685f=_0x24e1eb[0x1];typeof _0x5d685f==_0x1b2cb1(0x1cf)&&(_0x3a8236[_0x36caf4]=_0x5d685f['replace'](/url\(#(.*)\)/,_0x1b2cb1(0x26a)[_0x1b2cb1(0x3ef)](_0x4548d2[_0x1b2cb1(0x359)],')')));})),_0x3a8236;}function _0x381f12(_0x388958,_0x1737f6){const _0x47a801=_0x33f13c;var _0x477b7c,_0x2930a4=_0x1737f6[_0x47a801(0x1c7)];return!_0x2930a4||_0x2930a4[_0x47a801(0x1fa)]===0x0?_0x388958:_0x388958[_0x47a801(0x240)]===_0x47a801(0x3e1)&&(!((_0x477b7c=_0x388958[_0x47a801(0x3e2)])===null||_0x477b7c===void 0x0)&&_0x477b7c[_0x47a801(0x1fa)])?_0x4ba76d(_0x4ba76d({},_0x388958),{'children':_0x388958[_0x47a801(0x3e2)]['map'](function(_0x17c86f){const _0x3b8588=_0x47a801;return typeof _0x17c86f[_0x3b8588(0x318)]['id']=='string'&&_0x2930a4&&_0x2930a4['includes'](_0x17c86f[_0x3b8588(0x318)]['id'])?_0x4ba76d(_0x4ba76d({},_0x17c86f),{'attrs':_0x4ba76d(_0x4ba76d({},_0x17c86f['attrs']),{'id':_0x17c86f[_0x3b8588(0x318)]['id']+_0x1737f6[_0x3b8588(0x359)]})}):_0x17c86f;})}):_0x388958;}function _0x191f23(){const _0x19664d=_0x33f13c;return Math[_0x19664d(0x38f)]()[_0x19664d(0x3c4)](0x24)['substring'](0x2,0x8);}_0x23b0d0[_0x33f13c(0x33b)]='UniverIcon';var _0x4dd3fc={'tag':'svg','attrs':{'xmlns':_0x33f13c(0x2b8),'fill':'none','viewBox':_0x33f13c(0x330),'width':_0x33f13c(0x3a1),'height':_0x33f13c(0x3a1)},'children':[{'tag':'g','attrs':{'clipPath':_0x33f13c(0x3a4)},'children':[{'tag':_0x33f13c(0x34b),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x33f13c(0x3b0),'strokeLinejoin':_0x33f13c(0x3b0),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x33f13c(0x413),'attrs':{'id':_0x33f13c(0x315)},'children':[{'tag':_0x33f13c(0x34b),'attrs':{'fill':_0x33f13c(0x2e2),'d':_0x33f13c(0x446)}}]}]}],'defIds':[_0x33f13c(0x315)]},_0x468824=_0x20acc3[_0x33f13c(0x39c)](function(_0x2fba1e,_0x515336){const _0x1fe07a=_0x33f13c;return _0x20acc3[_0x1fe07a(0x3f4)](_0x23b0d0,Object[_0x1fe07a(0x42e)]({},_0x2fba1e,{'id':_0x1fe07a(0x386),'ref':_0x515336,'icon':_0x4dd3fc}));});_0x468824[_0x33f13c(0x33b)]=_0x33f13c(0x41d);var _0x1fb83e={'tag':_0x33f13c(0x2fe),'attrs':{'xmlns':_0x33f13c(0x2b8),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x33f13c(0x3a1),'height':_0x33f13c(0x3a1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x33f13c(0x227),'strokeLinecap':_0x33f13c(0x3b0),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x33f13c(0x413),'attrs':{'id':_0x33f13c(0x35d)},'children':[{'tag':_0x33f13c(0x34b),'attrs':{'fill':_0x33f13c(0x2e2),'d':'M0\x200H16V16H0z','transform':_0x33f13c(0x2f8)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x1da27e=_0x20acc3[_0x33f13c(0x39c)](function(_0x2037a1,_0x54b5f5){const _0x4a690c=_0x33f13c;return _0x20acc3[_0x4a690c(0x3f4)](_0x23b0d0,Object[_0x4a690c(0x42e)]({},_0x2037a1,{'id':'on-line-icon','ref':_0x54b5f5,'icon':_0x1fb83e}));});_0x1da27e[_0x33f13c(0x33b)]='OnLineIcon';function _0xd3329d(_0x54c031){const _0x327568=_0x33f13c;switch(_0x54c031){case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x437)]:return _0x327568(0x2d9);case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x2f6)]:return _0x327568(0x3b9);case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x308)]:return'collabStatus.fetchMiss';case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x2e5)]:return _0x327568(0x436);case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x39f)]:case _0x42d1b5['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x327568(0x232);case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x1d3)]:case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x24e)]:return _0x327568(0x20d);}}function _0x2d6994(_0x5782b1){const _0x19af45=_0x33f13c,{status$:_0x567f09}=_0x5782b1,_0x5480fe=_0x25054a[_0x19af45(0x310)](_0x567f09,_0x42d1b5[_0x19af45(0x3bd)][_0x19af45(0x2e5)]),_0x477463=_0x25054a[_0x19af45(0x442)](_0x356f55[_0x19af45(0x2ea)]),_0x3c6c32=_0x25054a[_0x19af45(0x442)](_0x42d1b5[_0x19af45(0x2c0)]),_0x70c3c=_0x5480fe!==_0x42d1b5[_0x19af45(0x3bd)][_0x19af45(0x437)],_0x1615bd=_0x477463['t'](_0xd3329d(_0x5480fe)),_0x393cf7=_0x70c3c?_0xb84d71[_0x19af45(0x44b)](_0x1da27e,{}):_0xb84d71['jsx'](_0x468824,{}),_0x5461ad=_0x20acc3['useCallback'](()=>{const _0x6325c9=_0x19af45;_0x70c3c||_0x3c6c32[_0x6325c9(0x3d0)]();},[_0x70c3c,_0x3c6c32]);function _0x703b94(){const _0x5c081f=_0x19af45;return _0xb84d71[_0x5c081f(0x1c4)](_0x5c081f(0x255),{'className':_0x5c081f(0x3fa),'onClick':_0x5461ad,'children':[_0xb84d71['jsx'](_0x5c081f(0x255),{'className':_0x55c065[_0x5c081f(0x2dc)](_0x5c081f(0x383),{'univer-text-green-500':_0x70c3c,'univer-text-red-500':!_0x70c3c}),'children':_0x393cf7}),_0xb84d71[_0x5c081f(0x44b)](_0x5c081f(0x255),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1615bd})]});}return _0x70c3c?_0x703b94():_0xb84d71[_0x19af45(0x44b)](_0x55c065['Tooltip'],{'title':_0x477463['t'](_0x19af45(0x234)),'children':_0x703b94()});}var _0x17ea4d=Object['getOwnPropertyDescriptor'],_0x57c1da=(_0x14eea4,_0x50e9c8,_0x2bd0e2,_0x599604)=>{for(var _0x3313fa=_0x599604>0x1?void 0x0:_0x599604?_0x17ea4d(_0x50e9c8,_0x2bd0e2):_0x50e9c8,_0x2d1a1f=_0x14eea4['length']-0x1,_0x3bcf12;_0x2d1a1f>=0x0;_0x2d1a1f--)(_0x3bcf12=_0x14eea4[_0x2d1a1f])&&(_0x3313fa=_0x3bcf12(_0x3313fa)||_0x3313fa);return _0x3313fa;},_0x1d42e8=(_0x5985aa,_0x208e58)=>(_0x12ab0d,_0x27e1de)=>_0x208e58(_0x12ab0d,_0x27e1de,_0x5985aa);_0x20de07[_0x33f13c(0x1e6)]=class extends _0x356f55[_0x33f13c(0x2ce)]{constructor(_0x42809b,_0x2cb016,_0x492c67,_0x3ed0a4){const _0x55d6b5=_0x33f13c;super(),_0x428fe9(this,_0x55d6b5(0x2f2),new _0x2c71f6[(_0x55d6b5(0x29c))](_0x42d1b5['CollaborationStatus'][_0x55d6b5(0x2e5)])),(this[_0x55d6b5(0x414)]=_0x42809b,this[_0x55d6b5(0x465)]=_0x2cb016,this[_0x55d6b5(0x1f6)]=_0x492c67,this[_0x55d6b5(0x2ed)]=_0x3ed0a4,this['_initStatusComponent'](),this[_0x55d6b5(0x3ad)]());}[_0x33f13c(0x3ad)](){const _0x81aea=_0x33f13c;this[_0x81aea(0x3a9)](this[_0x81aea(0x414)]['focused$']['pipe'](_0x2c71f6['switchMap'](()=>{const _0x1f2fe0=_0x81aea,_0x2d3cfa=this['_univerInstanceService']['getFocusedUnit']();return _0x2d3cfa?this[_0x1f2fe0(0x1f6)][_0x1f2fe0(0x36c)](_0x2d3cfa['getUnitId']()):_0x2c71f6['of'](null);}),_0x2c71f6['switchMap'](_0xbce735=>_0xbce735?_0xbce735['status$']:_0x2c71f6['of'](_0x42d1b5[_0x81aea(0x3bd)][_0x81aea(0x2e5)])))[_0x81aea(0x1de)](_0x1b755d=>{const _0x5eb3a5=_0x81aea;this[_0x5eb3a5(0x2f2)][_0x5eb3a5(0x2e7)](_0x1b755d);}));}[_0x33f13c(0x393)](){const _0x922ce8=_0x33f13c;this[_0x922ce8(0x3a9)](this['_uiPartsService'][_0x922ce8(0x37a)](_0x25054a[_0x922ce8(0x36d)][_0x922ce8(0x2cc)],()=>_0x25054a['connectInjector'](_0x4873cd({'status$':this[_0x922ce8(0x2f2)][_0x922ce8(0x365)]()}),this[_0x922ce8(0x465)])));}},_0x20de07[_0x33f13c(0x1e6)]=_0x57c1da([_0x1d42e8(0x0,_0x356f55[_0x33f13c(0x1d6)]),_0x1d42e8(0x1,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x1d42e8(0x2,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x3ca)])),_0x1d42e8(0x3,_0x25054a['IUIPartsService'])],_0x20de07[_0x33f13c(0x1e6)]);function _0x4873cd(_0x4805d7){const {status$:_0x6c5a15}=_0x4805d7;return function(){return _0xb84d71['jsx'](_0x2d6994,{'status$':_0x6c5a15});};}var _0x1d60ac=Object['getOwnPropertyDescriptor'],_0x14a29a=(_0x21c13e,_0x2dad0b,_0x50dcfa,_0x4b68c8)=>{const _0x5f0915=_0x33f13c;for(var _0xfacf87=_0x4b68c8>0x1?void 0x0:_0x4b68c8?_0x1d60ac(_0x2dad0b,_0x50dcfa):_0x2dad0b,_0x327b37=_0x21c13e[_0x5f0915(0x1fa)]-0x1,_0x13169a;_0x327b37>=0x0;_0x327b37--)(_0x13169a=_0x21c13e[_0x327b37])&&(_0xfacf87=_0x13169a(_0xfacf87)||_0xfacf87);return _0xfacf87;},_0x4b786c=(_0x1586c2,_0x41f4d1)=>(_0x3b8bf4,_0x4daa0e)=>_0x41f4d1(_0x3b8bf4,_0x4daa0e,_0x1586c2);let _0x21d29c=class extends _0x356f55[_0x33f13c(0x2ce)]{constructor(_0x409cef,_0x1fa838,_0x3062a0,_0x57b665,_0x214514,_0xdf4db7){const _0x521cce=_0x33f13c;super(),this[_0x521cce(0x352)]=_0x409cef,this[_0x521cce(0x2f9)]=_0x1fa838,this[_0x521cce(0x25a)]=_0x3062a0,this[_0x521cce(0x456)]=_0x57b665,this[_0x521cce(0x3b3)]=_0x214514,this[_0x521cce(0x366)]=_0xdf4db7,this[_0x521cce(0x409)](),this[_0x521cce(0x43f)]();}[_0x33f13c(0x409)](){const _0x47ce47=_0x33f13c;this[_0x47ce47(0x3a9)](this[_0x47ce47(0x352)][_0x47ce47(0x368)](()=>{const _0x2e5668=_0x47ce47;if(this['_localCacheService'][_0x2e5668(0x415)][_0x2e5668(0x384)])return this[_0x2e5668(0x366)]['t'](_0x2e5668(0x2bf));}));}[_0x33f13c(0x43f)](){const _0x1d9558=_0x33f13c;this['disposeWithMe'](this[_0x1d9558(0x25a)][_0x1d9558(0x278)][_0x1d9558(0x1de)](_0x5effac=>{const _0x218ad6=_0x1d9558;_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x370)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065['MessageType']['Warning'],'content':this[_0x218ad6(0x366)]['t']('collaboration.single-unit.warning')}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x209)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065['MessageType'][_0x218ad6(0x3df)],'content':this[_0x218ad6(0x366)]['t'](_0x218ad6(0x3f3))}),_0x5effac['id']===_0x42d1b5['CollaborationUIEventId'][_0x218ad6(0x3f6)]&&this[_0x218ad6(0x3b3)][_0x218ad6(0x2c8)]({'title':this[_0x218ad6(0x366)]['t'](_0x218ad6(0x2c3)),'content':this['_localeService']['t'](_0x218ad6(0x2a8)),'type':'error','duration':0x0}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x2f6)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065[_0x218ad6(0x2eb)][_0x218ad6(0x286)],'content':this[_0x218ad6(0x366)]['t']('collaboration.closeRoom')+'('+_0x5effac[_0x218ad6(0x2b4)]+')'}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x40e)]&&this[_0x218ad6(0x456)]['show']({'type':_0x55c065['MessageType'][_0x218ad6(0x3df)],'content':this[_0x218ad6(0x366)]['t'](_0x5effac[_0x218ad6(0x2b4)]||'')}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x455)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065['MessageType']['Warning'],'content':this['_localeService']['t'](_0x218ad6(0x441))}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x3e0)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065[_0x218ad6(0x2eb)][_0x218ad6(0x286)],'content':this[_0x218ad6(0x366)]['t'](_0x218ad6(0x43a))}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x55c065[_0x218ad6(0x2eb)][_0x218ad6(0x286)],'content':this[_0x218ad6(0x366)]['t']('session.collaboration-timeout')});}));}};_0x21d29c=_0x14a29a([_0x4b786c(0x0,_0x25054a[_0x33f13c(0x406)]),_0x4b786c(0x1,_0x42d1b5[_0x33f13c(0x410)]),_0x4b786c(0x2,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x1fb)])),_0x4b786c(0x3,_0x25054a[_0x33f13c(0x461)]),_0x4b786c(0x4,_0x25054a[_0x33f13c(0x27f)]),_0x4b786c(0x5,_0x356f55[_0x33f13c(0x245)](_0x356f55['LocaleService']))],_0x21d29c);const _0x439091=_0x33f13c(0x237),_0x208481={},_0x334b7d=_0x356f55[_0x33f13c(0x40a)](_0x33f13c(0x425));var _0x412cc8=Object[_0x33f13c(0x1eb)],_0x1138a1=(_0x20bf81,_0x2ac7b2,_0x36c268,_0x47d180)=>{const _0x355696=_0x33f13c;for(var _0x17caa0=_0x47d180>0x1?void 0x0:_0x47d180?_0x412cc8(_0x2ac7b2,_0x36c268):_0x2ac7b2,_0xcc4a3f=_0x20bf81[_0x355696(0x1fa)]-0x1,_0x212ddc;_0xcc4a3f>=0x0;_0xcc4a3f--)(_0x212ddc=_0x20bf81[_0xcc4a3f])&&(_0x17caa0=_0x212ddc(_0x17caa0)||_0x17caa0);return _0x17caa0;},_0x2ed39a=(_0x3110db,_0x50631c)=>(_0x3c3618,_0x19bb6e)=>_0x50631c(_0x3c3618,_0x19bb6e,_0x3110db);_0x20de07['CollaborationDataLoaderController']=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x39bbba,_0x3cc087,_0x40c9ab,_0x1f506a,_0x48d4fc){const _0x3bd369=_0x33f13c;super(),this[_0x3bd369(0x33f)]=_0x39bbba,this[_0x3bd369(0x256)]=_0x3cc087,this[_0x3bd369(0x1e1)]=_0x40c9ab,this['_dataLoaderService']=_0x1f506a,_0x48d4fc?_0x48d4fc==null||_0x48d4fc[_0x3bd369(0x336)]()[_0x3bd369(0x2c6)](()=>this[_0x3bd369(0x38e)]()):(this[_0x3bd369(0x256)][_0x3bd369(0x223)]('[CollaborationDataLoaderController]',_0x3bd369(0x31b)),this[_0x3bd369(0x38e)]());}async[_0x33f13c(0x38e)](){const _0x312eae=_0x33f13c,_0x3af52f=this[_0x312eae(0x33f)][_0x312eae(0x224)](_0x312eae(0x42d)),_0x2698cc=this['_urlService'][_0x312eae(0x224)]('type'),_0x39dbeb=this[_0x312eae(0x33f)][_0x312eae(0x224)](_0x312eae(0x2bd));if(!_0x3af52f||!_0x2698cc){this['_logService']['debug'](_0x312eae(0x354),_0x312eae(0x460));return;}const _0x2b9220=await this[_0x312eae(0x1df)]['loadUnit'](_0x3af52f,Number(_0x2698cc),_0x39dbeb);_0x2b9220&&_0x2b9220 instanceof _0x356f55[_0x312eae(0x1d8)]&&this[_0x312eae(0x201)](_0x2b9220);}async[_0x33f13c(0x201)](_0x21bae7){const _0x266dbf=_0x33f13c;await this[_0x266dbf(0x396)](_0x21bae7),_0x21bae7[_0x266dbf(0x404)]['pipe'](_0x2c71f6[_0x266dbf(0x3fe)](this[_0x266dbf(0x23a)]))[_0x266dbf(0x1de)](_0x36882c=>{const _0x54a249=_0x266dbf;_0x36882c&&this[_0x54a249(0x1fc)](_0x36882c);}),this[_0x266dbf(0x33f)][_0x266dbf(0x2e4)][_0x266dbf(0x225)](_0x2c71f6['takeUntil'](this[_0x266dbf(0x23a)]))[_0x266dbf(0x1de)](()=>this[_0x266dbf(0x396)](_0x21bae7));}[_0x33f13c(0x1fc)](_0x4b43f8,_0x24c526=!0x1){const _0x37fa3e=_0x33f13c,_0x41509a=this[_0x37fa3e(0x33f)][_0x37fa3e(0x224)](_0x37fa3e(0x2bd));_0x4b43f8['getSheetId']()!==_0x41509a&&this[_0x37fa3e(0x33f)][_0x37fa3e(0x3ec)](_0x37fa3e(0x2bd),_0x4b43f8['getSheetId'](),_0x24c526);}async[_0x33f13c(0x396)](_0x12f3fe){const _0x3a5aac=_0x33f13c;var _0x3ddb94;const _0x22e8c4=this[_0x3a5aac(0x33f)][_0x3a5aac(0x224)](_0x3a5aac(0x2bd));if(!_0x22e8c4||!_0x12f3fe['getSheetBySheetId'](_0x22e8c4)){const _0x5cd61d=_0x12f3fe[_0x3a5aac(0x36a)]()[0x0],_0x30010c=_0x12f3fe[_0x3a5aac(0x408)](_0x5cd61d);if(!_0x30010c)return;this[_0x3a5aac(0x1fc)](_0x30010c,!0x0),await this[_0x3a5aac(0x1e1)][_0x3a5aac(0x1f1)](_0xa79b04['SetWorksheetActivateCommand']['id'],{'unitId':_0x12f3fe[_0x3a5aac(0x282)](),'subUnitId':_0x5cd61d});return;}((_0x3ddb94=_0x12f3fe[_0x3a5aac(0x35b)]())==null?void 0x0:_0x3ddb94[_0x3a5aac(0x1da)]())!==_0x22e8c4&&await this[_0x3a5aac(0x1e1)][_0x3a5aac(0x1f1)](_0xa79b04['SetWorksheetActivateCommand']['id'],{'unitId':_0x12f3fe[_0x3a5aac(0x282)](),'subUnitId':_0x22e8c4});}},_0x20de07[_0x33f13c(0x38b)]=_0x1138a1([_0x2ed39a(0x0,_0x334b7d),_0x2ed39a(0x1,_0x356f55[_0x33f13c(0x1e5)]),_0x2ed39a(0x2,_0x356f55[_0x33f13c(0x3b6)]),_0x2ed39a(0x3,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x3a0)])),_0x2ed39a(0x4,_0x356f55[_0x33f13c(0x1d0)](_0x37ae61[_0x33f13c(0x27e)]))],_0x20de07[_0x33f13c(0x38b)]);var _0x517620=Object[_0x33f13c(0x1eb)],_0x5b9f20=(_0x50a6cb,_0x175093,_0x517b54,_0x165085)=>{const _0x4da2e7=_0x33f13c;for(var _0x58d560=_0x165085>0x1?void 0x0:_0x165085?_0x517620(_0x175093,_0x517b54):_0x175093,_0x31d262=_0x50a6cb[_0x4da2e7(0x1fa)]-0x1,_0x13d1c3;_0x31d262>=0x0;_0x31d262--)(_0x13d1c3=_0x50a6cb[_0x31d262])&&(_0x58d560=_0x13d1c3(_0x58d560)||_0x58d560);return _0x58d560;},_0x2ee831=(_0x3927ef,_0x2e4195)=>(_0x584ff6,_0x5b4525)=>_0x2e4195(_0x584ff6,_0x5b4525,_0x3927ef);let _0x41d650=class{constructor(_0x5250fe,_0x12fd3d,_0x3689e9){const _0x542bdb=_0x33f13c;this[_0x542bdb(0x465)]=_0x5250fe,this[_0x542bdb(0x42c)]=_0x12fd3d,this[_0x542bdb(0x39a)]=_0x3689e9;}[_0x33f13c(0x24f)](_0x713319){const _0x503ffc=_0x33f13c;this[_0x503ffc(0x420)](_0x713319),this[_0x503ffc(0x3a3)](_0x713319);}[_0x33f13c(0x22e)](_0x136109){const _0x25fb91=_0x33f13c,{unitID:_0x50ae4d}=_0x136109,_0x42aa53=this[_0x25fb91(0x39a)][_0x25fb91(0x3a2)](_0x50ae4d)[_0x25fb91(0x1cb)](_0x5dd295[_0x25fb91(0x2e3)]),{redoCache:_0xd83ab7}=_0x42aa53[_0x25fb91(0x2df)]();if(_0xd83ab7[_0x25fb91(0x1fa)]===0x0)return _0x136109;let _0x1df904=_0x356f55[_0x25fb91(0x35e)][_0x25fb91(0x257)](_0x136109[_0x25fb91(0x340)][0x0]);for(let _0x23677=0x0;_0x23677<_0xd83ab7['length'];_0x23677++){const _0x10b5d2={'id':'doc.mutation.rich-text-editing','params':{..._0xd83ab7[_0x23677]}},_0x62bcbd=this['_transformService']['transformMutation'](_0x1df904,_0x10b5d2,!0x1);if(_0x1499bf[_0x25fb91(0x2f3)](_0x62bcbd))throw _0x62bcbd[_0x25fb91(0x41b)];_0x1df904=_0x62bcbd[_0x25fb91(0x20e)];}return{..._0x356f55[_0x25fb91(0x35e)]['deepClone'](_0x136109),'mutations':[_0x1df904]};}[_0x33f13c(0x420)](_0x5a77a5){const _0xe0d3d6=_0x33f13c,{unitID:_0x336e8d}=_0x5a77a5,_0x2579a0=this[_0xe0d3d6(0x39a)][_0xe0d3d6(0x3a2)](_0x336e8d)['with'](_0x5dd295[_0xe0d3d6(0x2e3)]),{undoCache:_0x735fde,redoCache:_0x3a3d21}=_0x2579a0['getUndoRedoMutationParamsCache']();if(_0x735fde['length']===0x0||_0x3a3d21[_0xe0d3d6(0x1fa)]===0x0)return;const _0x35aacc=[],_0x25e3c4=[];let _0x385ac5=_0x356f55[_0xe0d3d6(0x35e)][_0xe0d3d6(0x257)](_0x5a77a5[_0xe0d3d6(0x340)][0x0]),_0x4ff58=_0x356f55[_0xe0d3d6(0x35e)][_0xe0d3d6(0x257)](_0x5a77a5[_0xe0d3d6(0x340)][0x0]);for(let _0x11e6e1=_0x735fde[_0xe0d3d6(0x1fa)]-0x1;_0x11e6e1>=0x0;_0x11e6e1--){const _0x1a1209={'id':_0xe0d3d6(0x213),'params':{..._0x735fde[_0x11e6e1]}},_0x121fcf={'id':_0xe0d3d6(0x213),'params':{..._0x3a3d21[_0x11e6e1]}},_0x2c0f2f=this[_0xe0d3d6(0x42c)][_0xe0d3d6(0x2ad)](_0x385ac5,_0x1a1209,!0x1),_0x590d51=this[_0xe0d3d6(0x42c)][_0xe0d3d6(0x2ad)](_0x4ff58,_0x121fcf,!0x1);if(_0x1499bf[_0xe0d3d6(0x2f3)](_0x2c0f2f))throw _0x2c0f2f[_0xe0d3d6(0x41b)];if(_0x1499bf[_0xe0d3d6(0x2f3)](_0x590d51))throw _0x590d51[_0xe0d3d6(0x41b)];_0x35aacc[_0xe0d3d6(0x2cd)](_0x2c0f2f[_0xe0d3d6(0x268)]['params']),_0x25e3c4[_0xe0d3d6(0x2cd)](_0x590d51['m2Prime'][_0xe0d3d6(0x204)]),_0x385ac5=_0x2c0f2f[_0xe0d3d6(0x20e)],_0x4ff58=_0x590d51[_0xe0d3d6(0x20e)];}_0x2579a0[_0xe0d3d6(0x44e)]({'undoCache':_0x35aacc,'redoCache':_0x25e3c4});}[_0x33f13c(0x3a3)](_0x25a854){const _0x200c72=_0x33f13c,{unitID:_0x524580}=_0x25a854,_0x54675c=this[_0x200c72(0x39a)][_0x200c72(0x3a2)](_0x524580)[_0x200c72(0x1cb)](_0x5dd295[_0x200c72(0x2e3)]),_0x419dec=_0x54675c[_0x200c72(0x355)]();if(_0x419dec==null)return;const _0x4ea76b=[{'id':_0x200c72(0x213),'params':{'unitId':_0x25a854[_0x200c72(0x23f)],'actions':null,'textRanges':[_0x419dec]}}],_0x34faae=this[_0x200c72(0x42c)][_0x200c72(0x236)](_0x25a854,_0x4ea76b);if(!_0x1499bf[_0x200c72(0x438)](_0x34faae))throw _0x34faae['error'];const _0x590510=_0x34faae[_0x200c72(0x268)][0x0][_0x200c72(0x204)]['textRanges'];Array[_0x200c72(0x3f8)](_0x590510)&&_0x590510['length']&&_0x54675c[_0x200c72(0x2bc)](_0x590510[0x0]);}};_0x41d650=_0x5b9f20([_0x2ee831(0x0,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x2ee831(0x1,_0x1499bf[_0x33f13c(0x3d1)]),_0x2ee831(0x2,_0x6d1524[_0x33f13c(0x1e8)])],_0x41d650);var _0x40f4d2=Object[_0x33f13c(0x1eb)],_0x16b92f=(_0x16166e,_0x1e411e,_0xca70c9,_0x49312e)=>{const _0x193bbd=_0x33f13c;for(var _0x49ae50=_0x49312e>0x1?void 0x0:_0x49312e?_0x40f4d2(_0x1e411e,_0xca70c9):_0x1e411e,_0x596861=_0x16166e[_0x193bbd(0x1fa)]-0x1,_0x2aa848;_0x596861>=0x0;_0x596861--)(_0x2aa848=_0x16166e[_0x596861])&&(_0x49ae50=_0x2aa848(_0x49ae50)||_0x49ae50);return _0x49ae50;},_0xeabd3f=(_0x4dca3a,_0x8b9ae6)=>(_0x32bd73,_0x25986c)=>_0x8b9ae6(_0x32bd73,_0x25986c,_0x4dca3a);let _0x1de13b=class{constructor(_0x3e6fa2,_0x20fbb9,_0x2be813){const _0x492271=_0x33f13c;this[_0x492271(0x465)]=_0x3e6fa2,this[_0x492271(0x42c)]=_0x20fbb9,this[_0x492271(0x37d)]=_0x2be813;}[_0x33f13c(0x2dd)](_0x195276){const _0x569ae0=_0x33f13c;this[_0x569ae0(0x289)](_0x195276);}[_0x33f13c(0x22e)](_0x22354f){const _0x9feb3f=_0x33f13c,{unitID:_0x346dbb}=_0x22354f,{collaboration:_0x158ed6}=this[_0x9feb3f(0x37d)][_0x9feb3f(0x33e)](_0x346dbb);if(_0x158ed6[_0x9feb3f(0x1fa)]===0x0)return _0x22354f;let _0x1c1413=_0x356f55[_0x9feb3f(0x35e)][_0x9feb3f(0x257)](_0x22354f['mutations'][0x0]);for(let _0x214a3b=0x0;_0x214a3b<_0x158ed6[_0x9feb3f(0x1fa)];_0x214a3b++){const _0x250187={'id':_0x9feb3f(0x213),'params':{'unitId':_0x158ed6[_0x214a3b][_0x9feb3f(0x451)],..._0x158ed6[_0x214a3b]['redoState']}},_0x41f8c6=this[_0x9feb3f(0x42c)][_0x9feb3f(0x2ad)](_0x1c1413,_0x250187,!0x1);if(_0x1499bf['isTransformMutationFailure'](_0x41f8c6))throw _0x41f8c6['error'];_0x1c1413=_0x41f8c6[_0x9feb3f(0x20e)];}return{..._0x356f55[_0x9feb3f(0x35e)][_0x9feb3f(0x257)](_0x22354f),'mutations':[_0x1c1413]};}[_0x33f13c(0x289)](_0x22de0f){const _0xfd314c=_0x33f13c,{unitID:_0x3293f9}=_0x22de0f,{history:_0x21ed65,collaboration:_0x420927}=this[_0xfd314c(0x37d)][_0xfd314c(0x33e)](_0x3293f9);if(_0x21ed65[_0xfd314c(0x1fa)]===0x0&&_0x420927[_0xfd314c(0x1fa)]===0x0)return;const _0x37a7b1=[],_0x155838=[];let _0x4553ab=_0x356f55[_0xfd314c(0x35e)][_0xfd314c(0x257)](_0x22de0f[_0xfd314c(0x340)][0x0]),_0x19338d=_0x356f55['Tools']['deepClone'](_0x22de0f[_0xfd314c(0x340)][0x0]);for(let _0xa01da9=_0x21ed65['length']-0x1;_0xa01da9>=0x0;_0xa01da9--){const _0x4a1829={'id':_0xfd314c(0x213),'params':{'unitId':_0x21ed65[_0xa01da9][_0xfd314c(0x451)],..._0x21ed65[_0xa01da9][_0xfd314c(0x35c)]}},_0x1ad538={'id':_0xfd314c(0x213),'params':{'unitId':_0x21ed65[_0xa01da9][_0xfd314c(0x451)],..._0x21ed65[_0xa01da9][_0xfd314c(0x31f)]}},_0x2b65bc=this[_0xfd314c(0x42c)][_0xfd314c(0x2ad)](_0x4553ab,_0x4a1829,!0x1),_0x584e6a=this[_0xfd314c(0x42c)][_0xfd314c(0x2ad)](_0x19338d,_0x1ad538,!0x1);if(_0x1499bf['isTransformMutationFailure'](_0x2b65bc))throw _0x2b65bc['error'];if(_0x1499bf[_0xfd314c(0x2f3)](_0x584e6a))throw _0x584e6a[_0xfd314c(0x41b)];_0x37a7b1[_0xfd314c(0x2cd)]({..._0x21ed65[_0xa01da9],'undoState':_0x2b65bc[_0xfd314c(0x268)]['params'],'redoState':_0x584e6a[_0xfd314c(0x268)]['params']}),_0x4553ab=_0x2b65bc[_0xfd314c(0x20e)],_0x19338d=_0x584e6a[_0xfd314c(0x20e)];}_0x4553ab=_0x356f55[_0xfd314c(0x35e)]['deepClone'](_0x22de0f[_0xfd314c(0x340)][0x0]),_0x19338d=_0x356f55[_0xfd314c(0x35e)]['deepClone'](_0x22de0f[_0xfd314c(0x340)][0x0]);for(let _0x528d86=_0x420927[_0xfd314c(0x1fa)]-0x1;_0x528d86>=0x0;_0x528d86--){const _0x36de8f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x420927[_0x528d86][_0xfd314c(0x451)],..._0x420927[_0x528d86][_0xfd314c(0x35c)]}},_0x58a336={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x420927[_0x528d86][_0xfd314c(0x451)],..._0x420927[_0x528d86][_0xfd314c(0x31f)]}},_0x334d41=this[_0xfd314c(0x42c)][_0xfd314c(0x2ad)](_0x4553ab,_0x36de8f,!0x1),_0x2458cd=this['_transformService'][_0xfd314c(0x2ad)](_0x19338d,_0x58a336,!0x1);if(_0x1499bf[_0xfd314c(0x2f3)](_0x334d41))throw _0x334d41[_0xfd314c(0x41b)];if(_0x1499bf[_0xfd314c(0x2f3)](_0x2458cd))throw _0x2458cd[_0xfd314c(0x41b)];_0x155838[_0xfd314c(0x2cd)]({..._0x420927[_0x528d86],'undoState':_0x334d41['m2Prime'][_0xfd314c(0x204)],'redoState':_0x2458cd[_0xfd314c(0x268)][_0xfd314c(0x204)]}),_0x4553ab=_0x334d41[_0xfd314c(0x20e)],_0x19338d=_0x2458cd[_0xfd314c(0x20e)];}this[_0xfd314c(0x37d)][_0xfd314c(0x265)](_0x3293f9,{'history':_0x37a7b1,'collaboration':_0x155838});}};_0x1de13b=_0x16b92f([_0xeabd3f(0x0,_0x356f55['Inject'](_0x356f55[_0x33f13c(0x1e3)])),_0xeabd3f(0x1,_0x1499bf[_0x33f13c(0x3d1)]),_0xeabd3f(0x2,_0x356f55['Inject'](_0x5dd295[_0x33f13c(0x210)]))],_0x1de13b);var _0x551ebc=Object['getOwnPropertyDescriptor'],_0x52ece2=(_0x187785,_0x5d7a45,_0x548c7e,_0xebad6)=>{for(var _0x55e30d=_0xebad6>0x1?void 0x0:_0xebad6?_0x551ebc(_0x5d7a45,_0x548c7e):_0x5d7a45,_0x8c795c=_0x187785['length']-0x1,_0x8af539;_0x8c795c>=0x0;_0x8c795c--)(_0x8af539=_0x187785[_0x8c795c])&&(_0x55e30d=_0x8af539(_0x55e30d)||_0x55e30d);return _0x55e30d;},_0x247144=(_0xa81154,_0x5763ad)=>(_0x23bbb6,_0x203944)=>_0x5763ad(_0x23bbb6,_0x203944,_0xa81154);let _0x9f3e8f=class{constructor(_0x1feaae,_0x5b2c99){const _0x512a29=_0x33f13c;this['_injector']=_0x1feaae,this[_0x512a29(0x42c)]=_0x5b2c99;}[_0x33f13c(0x1dd)](_0x56eb84){const _0x14ce6b=_0x33f13c;var _0x5423da;const _0x57f701=this['_injector'][_0x14ce6b(0x3dc)](_0x13e3d3[_0x14ce6b(0x302)]),_0x28625a=(_0x5423da=_0x57f701['getDocRanges']())!=null?_0x5423da:[];if(_0x28625a['length']===0x0)return;const _0x2ddac5=_0x56eb84[_0x14ce6b(0x23f)],_0x15d73b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2ddac5,'actions':null,'textRanges':_0x28625a}}],_0x48abc4=this[_0x14ce6b(0x42c)][_0x14ce6b(0x236)](_0x56eb84,_0x15d73b);if(!_0x1499bf[_0x14ce6b(0x438)](_0x48abc4))throw _0x48abc4[_0x14ce6b(0x41b)];const _0x411432=_0x48abc4[_0x14ce6b(0x268)][0x0][_0x14ce6b(0x204)]['textRanges'];Array[_0x14ce6b(0x3f8)](_0x411432)&&_0x411432['length']&&_0x57f701['replaceDocRanges'](_0x411432,{'unitId':_0x2ddac5,'subUnitId':_0x2ddac5},!0x1);}};_0x9f3e8f=_0x52ece2([_0x247144(0x0,_0x356f55[_0x33f13c(0x245)](_0x356f55['Injector'])),_0x247144(0x1,_0x1499bf[_0x33f13c(0x3d1)])],_0x9f3e8f);var _0x31635b=Object['getOwnPropertyDescriptor'],_0x4e357c=(_0x34342a,_0x558890,_0x129021,_0x25c201)=>{const _0xf1e8a8=_0x33f13c;for(var _0x4904e6=_0x25c201>0x1?void 0x0:_0x25c201?_0x31635b(_0x558890,_0x129021):_0x558890,_0x1ca4fa=_0x34342a[_0xf1e8a8(0x1fa)]-0x1,_0x4712db;_0x1ca4fa>=0x0;_0x1ca4fa--)(_0x4712db=_0x34342a[_0x1ca4fa])&&(_0x4904e6=_0x4712db(_0x4904e6)||_0x4904e6);return _0x4904e6;},_0x364cff=(_0x39158c,_0x45d423)=>(_0x54dbb8,_0x514e87)=>_0x45d423(_0x54dbb8,_0x514e87,_0x39158c);let _0x4e1a2b=class extends _0x356f55['Disposable']{constructor(_0x368a64,_0x5a878a,_0x23f9d3,_0x39d124,_0x27d803,_0x133feb,_0x16d6e4,_0x2acd3b){const _0x395f42=_0x33f13c;super(),_0x428fe9(this,_0x395f42(0x2f2),new _0x2c71f6[(_0x395f42(0x29c))](_0x42d1b5[_0x395f42(0x3bd)][_0x395f42(0x2e5)])),(this[_0x395f42(0x37d)]=_0x368a64,this['_collaborationController']=_0x5a878a,this[_0x395f42(0x2a1)]=_0x23f9d3,this[_0x395f42(0x31e)]=_0x39d124,this['_docTransformSelectionsService']=_0x27d803,this['_docSyncEditingCollabCursorService']=_0x133feb,this['_messageService']=_0x16d6e4,this[_0x395f42(0x366)]=_0x2acd3b,this[_0x395f42(0x399)]());}[_0x33f13c(0x399)](){const _0x31102c=_0x33f13c;this['disposeWithMe'](this[_0x31102c(0x1f6)][_0x31102c(0x342)][_0x31102c(0x1de)](_0xa148b4=>{const _0x4953d0=_0x31102c,_0x496584=this[_0x4953d0(0x37d)][_0x4953d0(0x1f5)][_0x4953d0(0x1de)](_0x50e4be=>{const _0x2cd6c7=_0x4953d0;if(_0x50e4be==null)return;const {unitId:_0x124365,redoState:_0x5a3615,commandId:_0x5ae8b6}=_0x50e4be;if(_0x124365!==_0xa148b4[_0x2cd6c7(0x23f)])return;const _0x2c61cd={'id':_0x5ae8b6,'type':_0x356f55[_0x2cd6c7(0x30e)][_0x2cd6c7(0x3bc)],'params':{'unitId':_0x124365,'actions':_0x5a3615[_0x2cd6c7(0x3d5)],'textRanges':null}};_0xa148b4[_0x2cd6c7(0x243)](_0x2c61cd);});if(_0xa148b4[_0x4953d0(0x3a9)](_0x496584),_0xa148b4 instanceof _0x42d1b5[_0x4953d0(0x2a5)]){const _0x311c53={'onTransformIME':_0x12599e=>this[_0x4953d0(0x2a1)][_0x4953d0(0x24f)](_0x12599e),'onTransformState':_0x34112=>this['_docTransformStateCacheService'][_0x4953d0(0x2dd)](_0x34112),'onTransformSelections':_0x24d592=>this[_0x4953d0(0x34d)][_0x4953d0(0x1dd)](_0x24d592),'onSyncEditingCollabCursor':_0x35ccdd=>this['_docSyncEditingCollabCursorService'][_0x4953d0(0x2d4)](_0x35ccdd),'onTransformRemoteChangesetByIMECache':_0x1db123=>this[_0x4953d0(0x2a1)][_0x4953d0(0x22e)](_0x1db123),'onTransformRemoteChangesetByStateCache':_0x5eb93b=>this[_0x4953d0(0x31e)]['transformRemoteChangeset'](_0x5eb93b)};_0xa148b4[_0x4953d0(0x395)](_0x311c53);}}));}};_0x4e1a2b=_0x4e357c([_0x364cff(0x0,_0x356f55[_0x33f13c(0x245)](_0x5dd295[_0x33f13c(0x210)])),_0x364cff(0x1,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x3ca)])),_0x364cff(0x2,_0x356f55[_0x33f13c(0x245)](_0x41d650)),_0x364cff(0x3,_0x356f55['Inject'](_0x1de13b)),_0x364cff(0x4,_0x356f55['Inject'](_0x9f3e8f)),_0x364cff(0x5,_0x356f55['Inject'](_0x3e3de3)),_0x364cff(0x6,_0x25054a[_0x33f13c(0x461)]),_0x364cff(0x7,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x2ea)]))],_0x4e1a2b);var _0x29be91=Object[_0x33f13c(0x1eb)],_0x2e415d=(_0x453821,_0x186fd0,_0x1dd72a,_0x50e28c)=>{const _0x3f334c=_0x33f13c;for(var _0x2e8d32=_0x50e28c>0x1?void 0x0:_0x50e28c?_0x29be91(_0x186fd0,_0x1dd72a):_0x186fd0,_0x4d0d6f=_0x453821[_0x3f334c(0x1fa)]-0x1,_0x112afe;_0x4d0d6f>=0x0;_0x4d0d6f--)(_0x112afe=_0x453821[_0x4d0d6f])&&(_0x2e8d32=_0x112afe(_0x2e8d32)||_0x2e8d32);return _0x2e8d32;},_0x24bead=(_0x2fd0d4,_0x1ef6a2)=>(_0x51107e,_0x8dfe68)=>_0x1ef6a2(_0x51107e,_0x8dfe68,_0x2fd0d4);let _0xd7834b=class extends _0x356f55[_0x33f13c(0x2ce)]{constructor(_0x31f3af,_0x52ea7a,_0x4d83cd){const _0x16f69a=_0x33f13c;super(),_0x428fe9(this,'_cachedData',new Map()),_0x428fe9(this,_0x16f69a(0x22c),new Map()),_0x428fe9(this,_0x16f69a(0x277),!0x1),(this['_configService']=_0x31f3af,this[_0x16f69a(0x246)]=_0x52ea7a,this[_0x16f69a(0x258)]=_0x4d83cd);}[_0x33f13c(0x21d)](){const _0x263f92=_0x33f13c;this[_0x263f92(0x277)]=!0x0;}[_0x33f13c(0x31c)](){const _0x1ea6cd=_0x33f13c;this[_0x1ea6cd(0x277)]=!0x1;}get[_0x33f13c(0x415)](){const _0x17ae09=_0x33f13c;return this[_0x17ae09(0x22c)];}['dispose'](){const _0x173cad=_0x33f13c;this[_0x173cad(0x45b)]()[_0x173cad(0x2c6)](()=>super[_0x173cad(0x27a)]());}async[_0x33f13c(0x41a)](_0x5ef1f1){const _0x41fe5d=_0x33f13c;return this[_0x41fe5d(0x277)]?null:this[_0x41fe5d(0x246)]['getItem'](_0x42d1b5['getLocalCacheKey'](_0x5ef1f1));}async[_0x33f13c(0x1ca)](_0xdf741b,_0x579a93){const _0x1a0f05=_0x33f13c;return!!this[_0x1a0f05(0x246)]['setItem'](_0xdf741b,_0x579a93);}['updateOfflineData'](_0x14f47a,_0x2c9688,_0x399c8a,_0x40c915){const _0x1d1c78=_0x33f13c,_0x120eaf=this['_revisionService'][_0x1d1c78(0x2f0)](_0x14f47a);this[_0x1d1c78(0x449)]['set'](_0x14f47a,{'unitID':_0x14f47a,'type':_0x2c9688,'awaitingChangeset':_0x399c8a,'mutations':_0x40c915,'rev':_0x120eaf}),this[_0x1d1c78(0x22c)][_0x1d1c78(0x30f)](_0x14f47a)||this[_0x1d1c78(0x220)](_0x14f47a);}[_0x33f13c(0x220)](_0x216898){const _0x1cc08c=_0x33f13c,_0x1a5900=this['_getSaveTimeout']();_0x1a5900===0x0?this[_0x1cc08c(0x388)](_0x216898):this[_0x1cc08c(0x22c)][_0x1cc08c(0x3c7)](_0x216898,setTimeout(()=>this['_saveCache'](_0x216898),_0x1a5900));}[_0x33f13c(0x333)](){const _0x14b6e0=_0x33f13c;var _0x14e7ab;return(_0x14e7ab=this[_0x14b6e0(0x231)][_0x14b6e0(0x22d)](_0x42d1b5[_0x14b6e0(0x319)]))!=null?_0x14e7ab:_0x42d1b5[_0x14b6e0(0x3b2)];}[_0x33f13c(0x388)](_0x1b883f){const _0x58d2be=_0x33f13c,_0x3a109c=this[_0x58d2be(0x22c)][_0x58d2be(0x3dc)](_0x1b883f);return _0x3a109c!==void 0x0&&window[_0x58d2be(0x2b2)](_0x3a109c),this['_localStorageService'][_0x58d2be(0x26e)](_0x42d1b5[_0x58d2be(0x31a)](_0x1b883f),this[_0x58d2be(0x449)][_0x58d2be(0x3dc)](_0x1b883f))['then'](()=>this[_0x58d2be(0x22c)][_0x58d2be(0x329)](_0x1b883f));}async[_0x33f13c(0x45b)](){const _0x457dcc=[];this['_saveTaskMap']['forEach']((_0xc0f8a1,_0x590209)=>{const _0x547544=_0x6c71;window[_0x547544(0x2b2)](_0xc0f8a1),_0x457dcc[_0x547544(0x249)](this['_saveCache'](_0x590209)[_0x547544(0x2c6)](()=>{const _0x14e022=_0x547544;this[_0x14e022(0x22c)][_0x14e022(0x329)](_0x590209);}));}),await Promise['all'](_0x457dcc);}};_0xd7834b=_0x2e415d([_0x24bead(0x0,_0x356f55['IConfigService']),_0x24bead(0x1,_0x356f55[_0x33f13c(0x389)]),_0x24bead(0x2,_0x356f55[_0x33f13c(0x245)](_0x1499bf[_0x33f13c(0x3e7)]))],_0xd7834b);class _0x138b7a extends _0x356f55[_0x33f13c(0x381)]{constructor(){const _0x36ccbd=_0x33f13c;super(),_0x428fe9(this,_0x36ccbd(0x2e4)),this[_0x36ccbd(0x2e4)]=_0x2c71f6['fromEvent'](window,_0x36ccbd(0x2ec))['pipe'](_0x2c71f6[_0x36ccbd(0x3fe)](this['dispose$']),_0x2c71f6[_0x36ccbd(0x279)](0x1),_0x2c71f6['mapTo'](void 0x0));}[_0x33f13c(0x3ec)](_0xf05cd4,_0x350614,_0x11e5eb=!0x1){const _0x539434=_0x33f13c,_0x237b2d=new URL(window[_0x539434(0x3da)]['href']);_0x237b2d[_0x539434(0x30d)][_0x539434(0x3c7)](_0xf05cd4,_0x350614),_0x11e5eb?window[_0x539434(0x20c)][_0x539434(0x230)]('','',_0x237b2d[_0x539434(0x3c4)]()):window[_0x539434(0x20c)][_0x539434(0x2ca)]('','',_0x237b2d[_0x539434(0x3c4)]());}['removeParam'](_0x355bf2,_0x323d76=!0x1){const _0x6bd775=_0x33f13c,_0x20ce7c=new URL(window[_0x6bd775(0x3da)][_0x6bd775(0x35a)]);_0x20ce7c[_0x6bd775(0x30d)]['delete'](_0x355bf2),_0x323d76?window[_0x6bd775(0x20c)][_0x6bd775(0x230)]('','',_0x20ce7c['toString']()):window[_0x6bd775(0x20c)][_0x6bd775(0x2ca)]('','',_0x20ce7c[_0x6bd775(0x3c4)]());}['getParam'](_0x237f57){const _0x3e3e12=_0x33f13c;var _0x3dd3f5;return(_0x3dd3f5=new URL(window[_0x3e3e12(0x3da)][_0x3e3e12(0x35a)])[_0x3e3e12(0x30d)][_0x3e3e12(0x3dc)](_0x237f57))!=null?_0x3dd3f5:void 0x0;}}var _0xf316c1=Object[_0x33f13c(0x317)],_0x55d57f=Object[_0x33f13c(0x1eb)],_0x44d997=(_0x5360ce,_0x10f25b,_0x1cabbe)=>_0x10f25b in _0x5360ce?_0xf316c1(_0x5360ce,_0x10f25b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cabbe}):_0x5360ce[_0x10f25b]=_0x1cabbe,_0x2735a2=(_0x378a31,_0x6a4e62,_0x5beb29,_0x37a056)=>{const _0x3e7176=_0x33f13c;for(var _0x44fcde=_0x37a056>0x1?void 0x0:_0x37a056?_0x55d57f(_0x6a4e62,_0x5beb29):_0x6a4e62,_0x3401e4=_0x378a31[_0x3e7176(0x1fa)]-0x1,_0x1e8073;_0x3401e4>=0x0;_0x3401e4--)(_0x1e8073=_0x378a31[_0x3401e4])&&(_0x44fcde=_0x1e8073(_0x44fcde)||_0x44fcde);return _0x44fcde;},_0x258c51=(_0x35d23f,_0x1f9cf6)=>(_0xc40dcc,_0x14e9b2)=>_0x1f9cf6(_0xc40dcc,_0x14e9b2,_0x35d23f),_0x39b0b3=(_0x2f6149,_0x55bfe2,_0x4f93a9)=>_0x44d997(_0x2f6149,_0x55bfe2+'',_0x4f93a9);const _0x4f5f78=_0x33f13c(0x1f9);_0x20de07[_0x33f13c(0x40f)]=class extends _0x356f55[_0x33f13c(0x334)]{constructor(_0x16519a=_0x208481,_0x350f3d,_0x4a4902,_0x16fe76){const _0x35376a=_0x33f13c;super(),this[_0x35376a(0x21e)]=_0x16519a,this[_0x35376a(0x39a)]=_0x350f3d,this[_0x35376a(0x465)]=_0x4a4902,this[_0x35376a(0x231)]=_0x16fe76;const {..._0x51c841}=_0x356f55[_0x35376a(0x304)]({},_0x208481,this[_0x35376a(0x21e)]);this[_0x35376a(0x231)][_0x35376a(0x23c)](_0x439091,_0x51c841);}[_0x33f13c(0x217)](){const _0x4e6d8c=_0x33f13c;this[_0x4e6d8c(0x372)](),this[_0x4e6d8c(0x44a)]();}['onRendered'](){const _0x336148=_0x33f13c;this[_0x336148(0x264)]();}[_0x33f13c(0x372)](){const _0x1b616f=_0x33f13c;var _0x3ad7ac;const _0x476c1b=[[_0x833117],[_0x9f3e8f],[_0x41d650],[_0x1de13b],[_0x3e3de3],[_0x334b7d,{'useClass':_0x138b7a}],[_0x40dcae[_0x1b616f(0x3c0)],{'useClass':_0x40dcae['WebSocketService']}],[_0x42d1b5[_0x1b616f(0x410)],{'useClass':_0xd7834b}],[_0x20de07[_0x1b616f(0x1e6)]],[_0x4e1a2b],[_0x21d29c],[_0x10d9f8],[_0x3d0acb],[_0x20de07[_0x1b616f(0x38b)]]];_0x356f55[_0x1b616f(0x300)](this[_0x1b616f(0x465)],_0x356f55[_0x1b616f(0x28e)](_0x476c1b,(_0x3ad7ac=this[_0x1b616f(0x21e)])==null?void 0x0:_0x3ad7ac[_0x1b616f(0x338)]));}[_0x33f13c(0x264)](){const _0x5bd07d=_0x33f13c;this[_0x5bd07d(0x3a9)](this[_0x5bd07d(0x39a)]['registerRenderModule'](_0x356f55[_0x5bd07d(0x2d2)]['UNIVER_DOC'],[_0x3f9d4b])),this['disposeWithMe'](this[_0x5bd07d(0x39a)][_0x5bd07d(0x46d)](_0x356f55[_0x5bd07d(0x2d2)][_0x5bd07d(0x463)],[_0x2d1d8c]));}[_0x33f13c(0x44a)](){const _0x3b2e18=_0x33f13c;_0x356f55[_0x3b2e18(0x2c9)](this[_0x3b2e18(0x465)],[[_0x10d9f8],[_0x20de07[_0x3b2e18(0x1e6)]],[_0x4e1a2b],[_0x21d29c],[_0x20de07[_0x3b2e18(0x38b)]]]);}},_0x39b0b3(_0x20de07[_0x33f13c(0x40f)],_0x33f13c(0x2c4),_0x4f5f78),_0x20de07[_0x33f13c(0x40f)]=_0x2735a2([_0x356f55['DependentOn'](_0x42d1b5['UniverCollaborationClientPlugin']),_0x258c51(0x1,_0x6d1524['IRenderManagerService']),_0x258c51(0x2,_0x356f55['Inject'](_0x356f55[_0x33f13c(0x1e3)])),_0x258c51(0x3,_0x356f55[_0x33f13c(0x2a4)])],_0x20de07[_0x33f13c(0x40f)]);var _0x59636f=Object[_0x33f13c(0x1eb)],_0x408a83=(_0x5a6ffa,_0x3275a8,_0x398c43,_0x43854e)=>{const _0x55ec1a=_0x33f13c;for(var _0x4e12c8=_0x43854e>0x1?void 0x0:_0x43854e?_0x59636f(_0x3275a8,_0x398c43):_0x3275a8,_0x4ceff8=_0x5a6ffa[_0x55ec1a(0x1fa)]-0x1,_0x29cab7;_0x4ceff8>=0x0;_0x4ceff8--)(_0x29cab7=_0x5a6ffa[_0x4ceff8])&&(_0x4e12c8=_0x29cab7(_0x4e12c8)||_0x4e12c8);return _0x4e12c8;},_0x2cd95d=(_0x12eb15,_0x7d8615)=>(_0x5d4e58,_0x3bc82b)=>_0x7d8615(_0x5d4e58,_0x3bc82b,_0x12eb15);_0x20de07[_0x33f13c(0x3de)]=class extends _0x42d1b5['CollaborationSocketService']{constructor(_0x34726a,_0x588b24,_0x39ede6,_0x214ed8,_0x34942f){super(_0x34726a,_0x588b24,_0x39ede6,_0x214ed8,_0x34942f);}async[_0x33f13c(0x314)](_0x61fe2d){const _0x255d5b=_0x33f13c,_0x34d289=await this[_0x255d5b(0x377)](),_0x50a868=this['_createSocketURL'](_0x61fe2d,_0x34d289);return this[_0x255d5b(0x3ee)](_0x50a868);}[_0x33f13c(0x339)](_0x29070b,_0x35b533){const _0x37d381=_0x33f13c,_0x534358=typeof window>'u'?new URL(_0x29070b):new URL(_0x29070b,window[_0x37d381(0x3da)][_0x37d381(0x2b3)]);_0x534358[_0x37d381(0x30d)][_0x37d381(0x3c7)](_0x37d381(0x1dc),_0x35b533);const _0x273c07=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x37d381(0x3da)][_0x37d381(0x1d5)]);return _0x273c07['get'](_0x37d381(0x416))&&_0x534358[_0x37d381(0x30d)][_0x37d381(0x3c7)](_0x37d381(0x416),_0x273c07['get'](_0x37d381(0x416))),_0x534358[_0x37d381(0x3c4)]();}async[_0x33f13c(0x377)](){const _0x604ae2=_0x33f13c;var _0x193f5c,_0x310f0f,_0xab811;const _0x1a40f4=this[_0x604ae2(0x231)][_0x604ae2(0x22d)](_0x42d1b5[_0x604ae2(0x24b)]),_0x543707=(_0x193f5c=_0x1a40f4==null?void 0x0:_0x1a40f4['wsSessionTicketUrl'])!=null?_0x193f5c:_0x42d1b5[_0x604ae2(0x375)];return(_0xab811=(_0x310f0f=(await this[_0x604ae2(0x32b)][_0x604ae2(0x3dc)](_0x543707,{'headers':{'Content-Type':_0x604ae2(0x305)}}))[_0x604ae2(0x45c)])==null?void 0x0:_0x310f0f[_0x604ae2(0x345)])!=null?_0xab811:'';}},_0x20de07[_0x33f13c(0x3de)]=_0x408a83([_0x2cd95d(0x0,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x2cd95d(0x1,_0x356f55['Inject'](_0x40dcae['HTTPService'])),_0x2cd95d(0x2,_0x356f55['IConfigService']),_0x2cd95d(0x3,_0x356f55[_0x33f13c(0x1e5)]),_0x2cd95d(0x4,_0x1499bf[_0x33f13c(0x367)])],_0x20de07[_0x33f13c(0x3de)]);const _0x41470d=0x7530,_0xc197b3=_0x33f13c(0x371);class _0xb75610 extends _0x356f55[_0x33f13c(0x2ce)]{constructor(){const _0x3993de=_0x33f13c;super(),_0x428fe9(this,_0x3993de(0x3d3),_0x356f55[_0x3993de(0x341)]()),_0x428fe9(this,_0x3993de(0x3e4),new Set()),_0x428fe9(this,_0x3993de(0x3db),new Map()),_0x428fe9(this,_0x3993de(0x362),null),_0x428fe9(this,_0x3993de(0x469),new Map()),_0x428fe9(this,_0x3993de(0x296),new Map()),this[_0x3993de(0x38e)]();}[_0x33f13c(0x27a)](){const _0x1e0ea5=_0x33f13c;super[_0x1e0ea5(0x27a)](),this[_0x1e0ea5(0x469)][_0x1e0ea5(0x288)]((_0x364902,_0x4baf94)=>this[_0x1e0ea5(0x229)](_0x4baf94)),this['_heartbeatTimer']&&window[_0x1e0ea5(0x36e)](this[_0x1e0ea5(0x362)]);}[_0x33f13c(0x28f)](_0x590c67){const _0x40c233=_0x33f13c;return this[_0x40c233(0x20b)](_0x590c67)['pipe'](_0x2c71f6['distinctUntilChanged']());}['editingUnit'](_0x919f47){const _0x5d0007=_0x33f13c;this[_0x5d0007(0x3e4)]['size']===0x0&&this[_0x5d0007(0x34f)](),this['_selfUnitIDs']['add'](_0x919f47),this[_0x5d0007(0x468)]({'type':0x0,'memberID':this[_0x5d0007(0x3d3)],'unitIDs':[_0x919f47],'isForwarded':!0x1});}[_0x33f13c(0x46b)](_0x5642e3){const _0x4a9a9b=_0x33f13c;this['_selfUnitIDs'][_0x4a9a9b(0x329)](_0x5642e3),this[_0x4a9a9b(0x3e4)][_0x4a9a9b(0x384)]===0x0&&this['_heartbeatTimer']&&window[_0x4a9a9b(0x36e)](this[_0x4a9a9b(0x362)]);}[_0x33f13c(0x38e)](){const _0x37b0e9=_0x33f13c;this[_0x37b0e9(0x3a9)](_0x356f55['toDisposable'](_0x2c71f6[_0x37b0e9(0x207)](window,'storage')['subscribe'](_0x4dd289=>{const _0x38cdc4=_0x37b0e9;if(_0x4dd289[_0x38cdc4(0x2be)]!==_0xc197b3||!_0x4dd289[_0x38cdc4(0x2b7)])return;const _0x2e6702=JSON[_0x38cdc4(0x3e3)](_0x4dd289[_0x38cdc4(0x2b7)]);this[_0x38cdc4(0x3d9)](_0x2e6702);}))),window[_0x37b0e9(0x239)]('unload',()=>this[_0x37b0e9(0x468)]({'type':0x1,'memberID':this[_0x37b0e9(0x3d3)],'unitIDs':Array[_0x37b0e9(0x21c)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x46eef3){const _0x451738=_0x33f13c;switch(_0x46eef3[_0x451738(0x1c8)]){case 0x0:this[_0x451738(0x42b)](_0x46eef3);break;case 0x1:this[_0x451738(0x266)](_0x46eef3);break;case 0x2:this['_handleHeartbeatEvent'](_0x46eef3);break;}}['_handleJoinEvent'](_0x2b362b){const _0xdb2200=_0x33f13c,{unitIDs:_0x2e3df8,memberID:_0x1c3df3,isForwarded:_0x7f3b14}=_0x2b362b;_0x2e3df8[_0xdb2200(0x288)](_0x1032b1=>{const _0x5c8a31=_0xdb2200;if(!_0x7f3b14&&this[_0x5c8a31(0x3db)][_0x5c8a31(0x30f)](_0x1032b1)&&this[_0x5c8a31(0x20b)](_0x1032b1)[_0x5c8a31(0x2e7)](_0x42d1b5[_0x5c8a31(0x452)][_0x5c8a31(0x3f9)]),!this[_0x5c8a31(0x3db)][_0x5c8a31(0x30f)](_0x1032b1)||!this[_0x5c8a31(0x3db)]['get'](_0x1032b1)[_0x5c8a31(0x30f)](_0x1c3df3)){const _0x35fdf8=this[_0x5c8a31(0x3db)][_0x5c8a31(0x3dc)](_0x1032b1)||new Set();_0x35fdf8['add'](_0x1c3df3),this[_0x5c8a31(0x3db)][_0x5c8a31(0x3c7)](_0x1032b1,_0x35fdf8),this[_0x5c8a31(0x20a)](_0x1c3df3);}}),_0x7f3b14||this[_0xdb2200(0x468)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xdb2200(0x3e4)]],'isForwarded':!0x0});}[_0x33f13c(0x20a)](_0xc90f89){const _0x2734ec=_0x33f13c;this[_0x2734ec(0x229)](_0xc90f89);const _0x27e432=window[_0x2734ec(0x2a9)](()=>{const _0x1ce267=_0x2734ec;this[_0x1ce267(0x3db)]['forEach'](_0x356fe0=>{const _0x4221bc=_0x1ce267;_0x356fe0[_0x4221bc(0x329)](_0xc90f89);});},_0x41470d*0x2);this[_0x2734ec(0x469)]['set'](_0xc90f89,_0x27e432);}[_0x33f13c(0x229)](_0x2547d6){const _0x636f1b=_0x33f13c;if(this['_clearOtherTimers']['has'](_0x2547d6)){const _0x4af4c2=this[_0x636f1b(0x469)]['get'](_0x2547d6);_0x4af4c2&&window[_0x636f1b(0x2b2)](_0x4af4c2),this['_clearOtherTimers'][_0x636f1b(0x3c7)](_0x2547d6,null);}}[_0x33f13c(0x266)](_0x38746){const _0x5eb57d=_0x33f13c,{memberID:_0x2dd209,unitIDs:_0x926e54}=_0x38746;_0x926e54[_0x5eb57d(0x288)](_0x2a76b4=>{const _0x54b17e=_0x5eb57d;var _0x197f0a;const _0x34f5a3=this[_0x54b17e(0x3db)][_0x54b17e(0x3dc)](_0x2a76b4);_0x34f5a3&&(_0x34f5a3['delete'](_0x2dd209),(_0x197f0a=this[_0x54b17e(0x20b)](_0x2a76b4))==null||_0x197f0a[_0x54b17e(0x2e7)](_0x34f5a3[_0x54b17e(0x384)]===0x0?_0x42d1b5[_0x54b17e(0x452)][_0x54b17e(0x373)]:_0x42d1b5[_0x54b17e(0x452)][_0x54b17e(0x3f9)]));}),this[_0x5eb57d(0x229)](_0x2dd209);}[_0x33f13c(0x37c)](_0x3bcc0e){const _0x8d8350=_0x33f13c;this['_scheduleClearOtherTimer'](_0x3bcc0e[_0x8d8350(0x2c1)]);}[_0x33f13c(0x468)](_0x3d8ac2){const _0x1e540b=_0x33f13c;localStorage[_0x1e540b(0x26e)](_0xc197b3,JSON[_0x1e540b(0x3cf)](_0x3d8ac2));}[_0x33f13c(0x34f)](){const _0x36f66a=_0x33f13c;this[_0x36f66a(0x362)]=window[_0x36f66a(0x45d)](()=>{const _0x3966d4=_0x36f66a;this[_0x3966d4(0x468)]({'type':0x2,'memberID':this[_0x3966d4(0x3d3)]});},_0x41470d);}[_0x33f13c(0x20b)](_0x4112d5){const _0x148d2f=_0x33f13c;return this[_0x148d2f(0x296)]['has'](_0x4112d5)||this[_0x148d2f(0x296)][_0x148d2f(0x3c7)](_0x4112d5,new _0x2c71f6[(_0x148d2f(0x29c))](_0x42d1b5[_0x148d2f(0x452)][_0x148d2f(0x373)])),this['_unitStatus'][_0x148d2f(0x3dc)](_0x4112d5);}}var _0xac5781=(_0x4f41d1=>(_0x4f41d1[_0x4f41d1[_0x33f13c(0x335)]=0x0]=_0x33f13c(0x335),_0x4f41d1[_0x4f41d1['OK']=0x1]='OK',_0x4f41d1[_0x4f41d1[_0x33f13c(0x291)]=0x2]=_0x33f13c(0x291),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3f6)]=0x3]=_0x33f13c(0x3f6),_0x4f41d1[_0x4f41d1[_0x33f13c(0x36b)]=0x4]=_0x33f13c(0x36b),_0x4f41d1[_0x4f41d1['UNAUTHENTICATED']=0x5]=_0x33f13c(0x320),_0x4f41d1[_0x4f41d1[_0x33f13c(0x29d)]=0x6]=_0x33f13c(0x29d),_0x4f41d1[_0x4f41d1['INVALID_ARGUMENT']=0x7]=_0x33f13c(0x34e),_0x4f41d1[_0x4f41d1[_0x33f13c(0x2a6)]=0x8]=_0x33f13c(0x2a6),_0x4f41d1[_0x4f41d1[_0x33f13c(0x46c)]=0x9]=_0x33f13c(0x46c),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1ef)]=0xa]=_0x33f13c(0x1ef),_0x4f41d1[_0x4f41d1[_0x33f13c(0x357)]=0xb]=_0x33f13c(0x357),_0x4f41d1[_0x4f41d1[_0x33f13c(0x45e)]=0xc]=_0x33f13c(0x45e),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3af)]=0xd]=_0x33f13c(0x3af),_0x4f41d1[_0x4f41d1[_0x33f13c(0x26f)]=0xe]=_0x33f13c(0x26f),_0x4f41d1[_0x4f41d1[_0x33f13c(0x466)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4f41d1[_0x4f41d1[_0x33f13c(0x447)]=0x1771]=_0x33f13c(0x447),_0x4f41d1[_0x4f41d1[_0x33f13c(0x382)]=0x1772]=_0x33f13c(0x382),_0x4f41d1[_0x4f41d1[_0x33f13c(0x356)]=0x1773]=_0x33f13c(0x356),_0x4f41d1[_0x4f41d1[_0x33f13c(0x40c)]=0x1b59]=_0x33f13c(0x40c),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3ae)]=0x1b5a]=_0x33f13c(0x3ae),_0x4f41d1[_0x4f41d1[_0x33f13c(0x206)]=0x1b5b]=_0x33f13c(0x206),_0x4f41d1[_0x4f41d1[_0x33f13c(0x29a)]=0x1b5c]=_0x33f13c(0x29a),_0x4f41d1[_0x4f41d1['APPLY_DUPLICATED']=0x1b5d]=_0x33f13c(0x2b0),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1ff)]=0x1f41]=_0x33f13c(0x1ff),_0x4f41d1[_0x4f41d1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x33f13c(0x397),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1ee)]=0x232a]=_0x33f13c(0x1ee),_0x4f41d1[_0x4f41d1[_0x33f13c(0x46a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4f41d1[_0x4f41d1[_0x33f13c(0x435)]=0x232c]=_0x33f13c(0x435),_0x4f41d1[_0x4f41d1[_0x33f13c(0x423)]=0x232d]=_0x33f13c(0x423),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1d2)]=0x2711]=_0x33f13c(0x1d2),_0x4f41d1[_0x4f41d1[_0x33f13c(0x26d)]=0x2712]=_0x33f13c(0x26d),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3e6)]=0x2713]=_0x33f13c(0x3e6),_0x4f41d1[_0x4f41d1[_0x33f13c(0x41f)]=0x2714]=_0x33f13c(0x41f),_0x4f41d1[_0x4f41d1['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x33f13c(0x328),_0x4f41d1[_0x4f41d1['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x33f13c(0x2d6),_0x4f41d1[_0x4f41d1['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x33f13c(0x3b1),_0x4f41d1[_0x4f41d1[_0x33f13c(0x297)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4f41d1[_0x4f41d1[_0x33f13c(0x418)]=0x271e]=_0x33f13c(0x418),_0x4f41d1[_0x4f41d1[_0x33f13c(0x25f)]=0x271f]=_0x33f13c(0x25f),_0x4f41d1[_0x4f41d1[_0x33f13c(0x211)]=0x2720]=_0x33f13c(0x211),_0x4f41d1[_0x4f41d1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x33f13c(0x254),_0x4f41d1[_0x4f41d1[_0x33f13c(0x37e)]=0x2ee1]=_0x33f13c(0x37e),_0x4f41d1[_0x4f41d1[_0x33f13c(0x41c)]=0x2ee2]=_0x33f13c(0x41c),_0x4f41d1[_0x4f41d1[_0x33f13c(0x2e1)]=0x2ee3]=_0x33f13c(0x2e1),_0x4f41d1[_0x4f41d1['USER_NOT_INVITED_CODE']=0x2ee4]=_0x33f13c(0x313),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1fd)]=0x2ee5]=_0x33f13c(0x1fd),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3bb)]=0x32c9]=_0x33f13c(0x3bb),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3fc)]=0x32ca]=_0x33f13c(0x3fc),_0x4f41d1[_0x4f41d1['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4f41d1[_0x4f41d1[_0x33f13c(0x1ec)]=-0x1]=_0x33f13c(0x1ec),_0x4f41d1))(_0xac5781||{}),_0x34069d=Object['getOwnPropertyDescriptor'],_0x38e796=(_0x50369e,_0x10d44b,_0xb28dda,_0x1a822a)=>{const _0x54a64b=_0x33f13c;for(var _0x402f94=_0x1a822a>0x1?void 0x0:_0x1a822a?_0x34069d(_0x10d44b,_0xb28dda):_0x10d44b,_0x33110e=_0x50369e[_0x54a64b(0x1fa)]-0x1,_0x215fcc;_0x33110e>=0x0;_0x33110e--)(_0x215fcc=_0x50369e[_0x33110e])&&(_0x402f94=_0x215fcc(_0x402f94)||_0x402f94);return _0x402f94;},_0x2036fc=(_0x57e459,_0x178363)=>(_0xe7ac94,_0x359d98)=>_0x178363(_0xe7ac94,_0x359d98,_0x57e459);_0x20de07[_0x33f13c(0x33d)]=class extends _0x356f55[_0x33f13c(0x2ce)]{constructor(_0x441b3a,_0x1b756b,_0x59694e){const _0x4c773d=_0x33f13c;super(),this[_0x4c773d(0x400)]=_0x441b3a,this[_0x4c773d(0x32b)]=_0x1b756b,this[_0x4c773d(0x231)]=_0x59694e;}async[_0x33f13c(0x306)](_0xebb927,_0x6a5728,_0x23e9c5,..._0x5b96e2){const _0xa0df40=_0x33f13c;var _0x1f7e4a,_0x5db1d1,_0x4f6141,_0x598c83;const _0x43c604=this[_0xa0df40(0x400)][_0xa0df40(0x27b)]();if(!_0x43c604)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x787ea8=((_0x1f7e4a=this[_0xa0df40(0x231)][_0xa0df40(0x22d)](_0x42d1b5[_0xa0df40(0x44d)]))!=null?_0x1f7e4a:_0x42d1b5[_0xa0df40(0x262)])+'/'+_0xebb927+_0xa0df40(0x1ce)+_0x6a5728,_0x48a86a=new URL(window[_0xa0df40(0x3da)][_0xa0df40(0x35a)]),_0x317c50={'scriptId':_0xebb927,'runId':(_0x5db1d1=_0x48a86a[_0xa0df40(0x30d)][_0xa0df40(0x3dc)](_0xa0df40(0x416)))!=null?_0x5db1d1:'','function':_0x6a5728,'unitId':_0x43c604[_0xa0df40(0x282)](),'argsOfFunction':JSON['stringify'](_0x5b96e2),'invokeId':(_0x4f6141=_0x23e9c5['invokeId'])!=null?_0x4f6141:'','executionId':(_0x598c83=_0x23e9c5[_0xa0df40(0x453)])!=null?_0x598c83:''};try{const _0x14fd22=await this['_httpService']['post'](_0x787ea8,{'body':_0x317c50});return _0x14fd22[_0xa0df40(0x45c)]['error']&&_0x14fd22[_0xa0df40(0x45c)][_0xa0df40(0x41b)][_0xa0df40(0x263)]!==_0xac5781['OK']?'Failed':_0x14fd22[_0xa0df40(0x45c)][_0xa0df40(0x43c)];}catch{return _0xa0df40(0x3ac);}}},_0x20de07[_0x33f13c(0x33d)]=_0x38e796([_0x2036fc(0x0,_0x356f55[_0x33f13c(0x1d6)]),_0x2036fc(0x1,_0x356f55['Inject'](_0x40dcae[_0x33f13c(0x2a0)])),_0x2036fc(0x2,_0x356f55['IConfigService'])],_0x20de07[_0x33f13c(0x33d)]),_0x20de07[_0x33f13c(0x412)]=_0x2d6994,_0x20de07[_0x33f13c(0x43d)]=_0x334b7d,_0x20de07[_0x33f13c(0x24a)]=_0x5ef263,_0x20de07['WebBrowserSingleActiveUnitService']=_0xb75610,_0x20de07['WebURLService']=_0x138b7a,Object[_0x33f13c(0x317)](_0x20de07,Symbol[_0x33f13c(0x200)],{'value':'Module'});}));
|