@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505181606 → 0.7.0-nightly.202505191607
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/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/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/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/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x222d(_0xcd4c06,_0x5efa0b){const _0x32d0fd=_0x32d0();return _0x222d=function(_0x222d7b,_0x25a689){_0x222d7b=_0x222d7b-0x114;let _0x49c271=_0x32d0fd[_0x222d7b];return _0x49c271;},_0x222d(_0xcd4c06,_0x5efa0b);}function _0x32d0(){const _0x51a3e4=['attrs','sheetID','getLocalCacheKey','0\x200\x2016\x2016','18VeUjvk','resize','_uiPartsService','debounceTime','APPLY_NON_SEQUENTIAL_REVISION','min','INVITE_CODE_REQUIRED','getDocRanges','includes','_scheduleHeartbeat','connectInjector','UniverEngineRender','range','disposeWithMe','Shape','useDependency','_color','_anchor','registerRefRange','setActiveRange','_lastPointer','HTTPService','MUTATION','apply','runOnServer','getUnhiddenWorksheets','transformStateCache','startsWith','ALREADY_EXISTS','operators','_send','JOIN_ROOM_FAILED','UniverCollaborationClientPlugin','black','DocIMEInputManagerService','registerRenderModule','restore','_eventUnsubscribe','getMergeData','transformMutation','_startSheetCollabCursor','getCollabCursors$','createInstance','2224602hFiDuz','jsx','_updateSubUnitFromURLParams','handleInsertCol','evenodd','map','CollaborationEvent','row','getUnitId','IMessageService','_handleJoinEvent','next','useObservable','OTHER_CLIENTS_EDITING','asObservable','getRelativeToViewportCoord','jiqing.500','saveOfflineData','session.connection-failed','init','INVITE_CODE_HAS_BEEN_UES','handleIRemoveCol','setUndoRedoMutationParamsCache','_saveCache','getUniverSheetInstance','UniverSheetsUi','saveTaskMap','_anchorDot','180138XnGURl','getFocusedUnit','xlink:href','_saveTaskMap','ColorKit','_collabCursorState$','measureText','backgroundColor','_status$','addObjects','getCellPositionByOffset','Inject','extend','BrowserCollaborationSocketService','RxDisposable','_getMergeRange','trim','_cursorShapes','_injector','BehaviorSubject','imageSourceType','SetWorksheetActivateCommand','values','getSheetObject','onPointerMove$','SetDocZoomRatioOperation','contains','MemberService','_id','_unitOnClients','whenReady','handleDeleteRangeMoveLeft','skeleton','_docTransformStateCacheService','setParam','location','_docClipboardService','clearInterval','NOT_COLLAB','getColorFromTheme','jsxs','Module','unsubscribe','stringify','debug','TEXT','clipPath','fromEvent','substring','@univerjs/sheets','APPLY_REJECT','_name','_selfUnitIDs','LICENSE_IMPORT_SIZE_EXCEEDED','_setupBeforeClosingHandler','createSocket','InsertRangeMoveRightCommandId','_render','[CollaborationDataLoaderController]','Failed','SNAPSHOT_INVALID_SNAPSHOT','combineLatest','merge','ITransformService','9BKtRmr','_updateURLWithCurrentState','handleInsertRow','font','IRemoteInstanceService','CONNECTOR_DATA_TOO_LARGE','shareReplay','isActive','YUUMI_URL_COL_OUT_OF_RANGE','makeDirty','Subject','send','react','getSheetId','_labelPosition','3008410SkGtsu','_initResize','InsertRowCommandId','_getScale','registerBeforeClose','hovered','complete','collabStatus.fetchMiss','mapTo','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','getViewport','RefRangeService','getParam','SOCKET_FAILED_RETRY','color','LOGIN_FAILED','replaceState','searchParams','UniverDocs','isTransformMutationsWithChangesetSuccess','use','sessionTicket','collabStatus.notCollab','ACTIVE_UNIT_EVENT_CHANNEL','0\x200\x2017\x2016','_session','_unitStatus','requireSession','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_ensureSubject','InsertRangeMoveDownCommandId','_online','roomMembers','UniverDocsUi','RECT','_updateLocalCursor','@univerjs/design','YUUMI_ALL_TABLES_IS_INVALID','handleMoveRange','IDocClipboardService','getOffsetConfig','collab-text-anchor-','get','entries','_shapes','UPDATE_CURSOR','doc.mutation.rich-text-editing','LICENSE_DISTRO_REJECTED','tag','pushState','_transformHistoryAndStateStack','displayName','_notificationService','name','SYNCED','IURLService','HEADER_MENU','collaboration.closeRoom','then','FromArray','_createSocketURL','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','@univerjs/sheets-ui','collabStatus.conflict','INVALID_INVITE_CODE','_context','UniverUi','4791809RBjXZA','object','from','36031hRzOMz','_toggleOffline','transformSelections','green.600','react/jsx-runtime','_textBubble','takeUntil','_sheetSkeletonManagerService','getUndoRedoMutationParamsCache','@univerjs/engine-formula','addObject','getTypeOfUnitAdded$','_heartbeatTimer','syncEditingCollabCursor','232GNiJBr','LOCAL_CACHE_INTERVAL','eventID','BuiltInUIPart','CollaborationController','UNIVER_DOC','_httpService','removeParam','MOBILE_HAS_BEEN_BOUND','memberID','debounce','FETCH_MISS','runRefRangeMutations','currentColor','assign','_removeClearOtherTimer','getOwnPropertyDescriptor','UNRECOGNIZED','throttleTime','children','OffLineSingle','YUUMI_RATE_OVER_LIMIT','_handleHeartbeatEvent','_docTransformSelectionsService','CollaborationUIEventId','generateRandomId','delete','getAncestorScale','permission.content','WebURLService','IUniverInstanceService','ILocalCacheService','defIds','session.collaboration-timeout','_transformPreviousActiveRange','_localStorageService','executeCommand','_cursors','getActiveRange','subUnitId','YUUMI_SUBSCRIPTION_NOT_FOUND','exports','rgba(255,\x20255,\x20255,\x200.01)','hasOwnProperty','top','CLOSE_ROOM','beginPath','INVALID_ARGUMENT','textRanges','@univerjs/rpc','actions','_initCommandExecutedListener','getRenderById','YUUMI_ASYNCIO_CANCELLED','YUUMI_NO_CUBOID_FOR_QUESTION','_initDependencies','invokeId','592970OoRclH','_colorIndex','activeSheet$','red.300','UniverProCollaborationClientUi','_clearOtherTimers','concat','_renderManagerService','getStateCache','getItem','collab-rect-range-','rxjs/operators','CollaborationStatusDisplay','Unknown\x20user','#FFF','_collabCursorController','getOwnPropertySymbols','max','_onCursorUpdate','event$','UNIVER_SHEET','Disposable','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','endColumn','SheetsSelectionsService','forEach','DocSkeletonManagerService','ONLINE','RichTextEditingMutation','_getSheetObject','_dataLoaderService','find','IConfigService','pipe','CHANGESET_REVISION_CONFILICT','MoveRangeCommandId','Plugin','filter','SetSelectionsOperation','_scheduleClearOtherTimer','SHEET_VIEWPORT_KEY','sheetId','triggerDblclick','_commandService','popstate','result','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','all','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UniverDesign','has','height','642364CBytUf','updateOfflineData','setConfig','Injector','getCoordByCell','_handleEvent','flatMap','_cachedData','size','DocStateChangeManagerService','_scene','UniverEngineFormula','_initEntityListener','CollaborationSocketService','_cursor','_hover','isEditing','_collabSessionService','onRendered','cursorInfo','_transformUndoRedoStack','_entities','_transformService','url(#on-line-single_clip0_910_349)','getMember','SetTextSelectionsOperation','LICENSE_MAX_UNITS_EXCEEDED','getVpScrollXYInfoByPosToVp','off-line-single_clip0_910_343','_drawTextRange','loadOfflineData','selection','INotificationService','getCurrent','M0\x200H16V16H0z','getColor','NodePositionConvertToRectRange','newValue','UniverInstanceType','_localeService','indexOf','runId','ThemeService','_colorAssignService','IUIPartsService','bottom','url(#$1','serializeRangeWithSheet','defs','ticket','unitID','@univerjs/drawing','div','selections','rxjs','save','_messageService','push','TEXT_RANGE_LAYER_INDEX','@univerjs/docs-ui','SOCKET_FAILED','useRef','_cursorInfo$','origin','APPLY_DUPLICATED','subscribe','forwardRef','Rectangle','_collaborationUIEventService','call','handleInsertRangeMoveDown','IRenderManagerService','_config','clearTimeout','source','_disabled','UniverNetwork','@univerjs/engine-render','ranges','EMAIL_HAS_BEEN_BOUND','USERS_LEAVE','#fff','path','UniverProCollaborationClient','wsSessionTicketUrl','width','code','set','DesktopCollaborationStatusDisplayController','_getSessionTicket','_registerRenderDependencies','Workbook','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','isTransformMutationFailure','transformMutationsWithChangeset','WebBrowserSingleActiveUnitService','setTimeout','symbol','setShapeProps','onMouseMove','none','switchMap','RevisionService','_docStateChangeManagerService','CollaborationStatus','findNodePositionByCharIndex','registerDependencies','getSheetBySheetId','EffectRefRangId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DeleteRangeMoveLeftCommandId','dispose$','_refRangeService','@univerjs/ui','ILogService','APPLY_REVISION_CONFILICT','application/json','CONFLICT','_docSyncEditingCollabCursorService','RemoveColCommandId','body','_document','setAlpha','setInterval','saveImage','NO_OTHER_CLIENTS_EDITING','add','_scheduleSaving','toRgbString','_registerDependencies','_themeService','MessageType','currentSkeleton$','PERMISSION_DENIED','_drawRectRange','_roomMembers$','Tools','unshift','@univerjs-pro/collaboration-client','entityInit$','PENDING','_hideTimer','@univerjs/core','exhaustSavingTask','parse','_configService','unit','_startDocCollabCursor','CollaborationDataLoaderController','roomMembers$','type','1em','_backgroundColor','_docSkeletonManagerService','function','_urlService','_toggleOnline','transformIMECache','string','_revisionService','_onCursorDelete','show','_imageIoService','_initEvent','getTypeOfUnitDisposed$','_localCacheService','DOC_RANGE_TYPE','_handleHover','SessionStatus','collab-text-range-','labelPosition','Vector2','undoState','ISocketService','_range','getSkeleton','lineTo','_memberService','_instanceService','_getSaveTimeout','colorChannel1','onPointerLeave$','moveTo','transformRemoteChangeset','getConfig','round','cursorInfo$','setItem','with','_init','toDisposable','DEFAULT_WS_SESSION_TICKET_URL','fillRule','COMPLETION_FINISHED','onCommandExecuted','onLocalMutation','_drawAnchor','endRow','m2Prime','arc','_collaborationController','Rect','_docTransformIMECacheService','45DQsNDf','getCollabEntity$','handleIRemoveRow','column','toString','COLORS','unitId','amd','split','drawWith','RegularPolygon','defineProperty','DataLoaderService','_updateCollabCursors','TOO_MANY_REQUESTS','params','svg','sessionStatus$','_beforeCloseService','OTHER_CLIENT_EDITING','SheetSkeletonManagerService','getCurrentSelections','handleInsertRangeMoveRight','React','getUnitStatus$','deserializeRangeWithSheet','AWAITING_WITH_PENDING','UNDEFINED','editingUnit','unload','_entityInit$','mask','urlChange$','_hovered','data','RemoteUniscriptService','UniverCore','collabCursorState$','UniverProCollaboration','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collaboration-client-ui.config','subscribeEvent','registerComponent','WECHAT_HAS_BEEN_BOUND','LocaleService','mergeOverrideWithDependencies','Warning','_refreshCollabCursors','clsx','UniverCollaborationClientUIPlugin','DisposableCollection','some','getRangePointData','idSuffix','UnitStatus','history','...','WebSocketService','on-line-single','fillText','assignAColorForMemberID','_handleLeaveEvent','_syncEditingCollabCursorService','icon','getMemberID','fill','dispose','YUUMI_AI_RUN_FAILED','className','DocCollaborationEntity','prototype','ICommandService','hide','uni.network.url-service','Error','currentTheme$','current','UniverDrawing','DocSelectionManagerService','_setupSubUnitSync','PY_RUNTIME_SCRIPT_ERROR','USER_NOT_INVITED_CODE','length','transform','href','redoState','UNAUTHENTICATED','OFFLINE','m1Prime','_draw','subunit','_assignedColors','@univerjs/network','collaboration-client.offline-data-not-saved','touchDependencies','session.will-retry','collabStatus.syncing','_univerInstanceService','INVITE_CODE_ALREADY_BOUND','collaboration.single-unit.warning','APPLY_PERMISSION_DENIED','univerjs-icon\x20univerjs-icon-','createIdentifier','IBeforeCloseService','deepClone','collab-client.tooltip.reconnect','mutations','storage','CollaborationSessionService','purple.300','addClipboardHook','LICENSE_EXPORT_SIZE_EXCEEDED','random','error','replace','text','createElement','SNAPSHOT_HAS_BEEN_REMOVED','onPointerEnter$','YUUMI_UNABLE_LOAD_URL','enableLocalCache','INTERNAL_ERROR','_removeCollabCursors','isArray','getValue','_initStatusComponent','@univerjs/docs','SheetCollabCursorShape'];_0x32d0=function(){return _0x51a3e4;};return _0x32d0();}(function(_0x3325b4,_0x5a5ae2){const _0x2df7ee=_0x222d,_0x536d40=_0x3325b4();while(!![]){try{const _0x37f0c4=-parseInt(_0x2df7ee(0x2e1))/0x1*(parseInt(_0x2df7ee(0x205))/0x2)+parseInt(_0x2df7ee(0x28c))/0x3*(-parseInt(_0x2df7ee(0x35c))/0x4)+-parseInt(_0x2df7ee(0x29b))/0x5+parseInt(_0x2df7ee(0x230))/0x6+-parseInt(_0x2df7ee(0x24c))/0x7*(-parseInt(_0x2df7ee(0x2ef))/0x8)+parseInt(_0x2df7ee(0x181))/0x9*(parseInt(_0x2df7ee(0x328))/0xa)+parseInt(_0x2df7ee(0x2de))/0xb;if(_0x37f0c4===_0x5a5ae2)break;else _0x536d40['push'](_0x536d40['shift']());}catch(_0x9d8598){_0x536d40['push'](_0x536d40['shift']());}}}(_0x32d0,0x6bc4f),function(_0x31f457,_0x348fa5){const _0x5efd31=_0x222d;typeof exports==_0x5efd31(0x2df)&&typeof module<'u'?_0x348fa5(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require(_0x5efd31(0x3a9)),require(_0x5efd31(0x1dd)),require('@univerjs/docs-ui'),require(_0x5efd31(0x38f)),require(_0x5efd31(0x392)),require(_0x5efd31(0x1ff)),require('@univerjs-pro/collaboration'),require(_0x5efd31(0x2ea)),require(_0x5efd31(0x27d)),require(_0x5efd31(0x333)),require(_0x5efd31(0x2d9)),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x5efd31(0x2bf)),require(_0x5efd31(0x298)),require(_0x5efd31(0x320))):typeof define=='function'&&define[_0x5efd31(0x188)]?define([_0x5efd31(0x318),_0x5efd31(0x140),_0x5efd31(0x144),'@univerjs/engine-render',_0x5efd31(0x1dd),_0x5efd31(0x397),'@univerjs/drawing',_0x5efd31(0x392),_0x5efd31(0x1ff),'@univerjs-pro/collaboration','@univerjs/engine-formula',_0x5efd31(0x27d),_0x5efd31(0x333),'@univerjs/sheets-ui',_0x5efd31(0x2e5),_0x5efd31(0x127),_0x5efd31(0x2bf),'react','@univerjs/rpc'],_0x348fa5):(_0x31f457=typeof globalThis<'u'?globalThis:_0x31f457||self,_0x348fa5(_0x31f457[_0x5efd31(0x32c)]={},_0x31f457[_0x5efd31(0x3af)],_0x31f457[_0x5efd31(0x1a5)],_0x31f457[_0x5efd31(0x210)],_0x31f457[_0x5efd31(0x3a8)],_0x31f457[_0x5efd31(0x2bc)],_0x31f457[_0x5efd31(0x1ce)],_0x31f457['rxjs'],_0x31f457[_0x5efd31(0x2ad)],_0x31f457[_0x5efd31(0x1a7)],_0x31f457[_0x5efd31(0x367)],_0x31f457['UniverSheets'],_0x31f457[_0x5efd31(0x392)][_0x5efd31(0x222)],_0x31f457[_0x5efd31(0x249)],_0x31f457[_0x5efd31(0x198)],_0x31f457[_0x5efd31(0x2dd)],_0x31f457[_0x5efd31(0x359)],_0x31f457[_0x5efd31(0x198)],_0x31f457['UniverRpc']));}(this,function(_0x58baf5,_0x2023db,_0x58b3ad,_0x839618,_0x22d557,_0x2e0d09,_0x4a52f9,_0x6dabd3,_0x54ca13,_0x44c456,_0xd290cd,_0x3a3c4e,_0x2f5382,_0x31b2f1,_0x5116ef,_0x1a2ea0,_0x43985a,_0xf0b2ac,_0x47f72b){'use strict';const _0x4db1c3=_0x222d;var _0x3e77b4=Object['defineProperty'],_0x308c07=(_0x2fc093,_0x424520,_0x55c710)=>_0x424520 in _0x2fc093?_0x3e77b4(_0x2fc093,_0x424520,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55c710}):_0x2fc093[_0x424520]=_0x55c710,_0x1fc77e=(_0x1ef3cb,_0x43ef71,_0xf6bbcf)=>_0x308c07(_0x1ef3cb,typeof _0x43ef71!=_0x4db1c3(0x117)?_0x43ef71+'':_0x43ef71,_0xf6bbcf),_0x14a1cc=Object['getOwnPropertyDescriptor'],_0x166f6f=(_0x567d0b,_0x3f3df0,_0x52983f,_0x4314d3)=>{const _0x112798=_0x4db1c3;for(var _0x3da7e1=_0x4314d3>0x1?void 0x0:_0x4314d3?_0x14a1cc(_0x3f3df0,_0x52983f):_0x3f3df0,_0x270562=_0x567d0b[_0x112798(0x1d3)]-0x1,_0x1f7b48;_0x270562>=0x0;_0x270562--)(_0x1f7b48=_0x567d0b[_0x270562])&&(_0x3da7e1=_0x1f7b48(_0x3da7e1)||_0x3da7e1);return _0x3da7e1;},_0x4c6900=(_0x194bf3,_0x4a8520)=>(_0x493e73,_0x469a55)=>_0x4a8520(_0x493e73,_0x469a55,_0x194bf3);let _0x10030f=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x1d60c3,_0x12bce1){const _0xdbdcd4=_0x4db1c3;super(),this[_0xdbdcd4(0x270)]=_0x1d60c3,this[_0xdbdcd4(0x158)]=_0x12bce1,this['_init']();}[_0x4db1c3(0x173)](){const _0x2e5186=_0x4db1c3,_0x41294e=this;this[_0x2e5186(0x212)](this['_docClipboardService'][_0x2e5186(0x1ef)]({'onBeforePasteImage':async _0x136745=>{const _0x5d5c65=_0x2e5186,_0x5bf58e=await _0x41294e['_imageIoService'][_0x5d5c65(0x132)](_0x136745);return _0x5bf58e?{'source':_0x5bf58e[_0x5d5c65(0x3a6)],'imageSourceType':_0x5bf58e[_0x5d5c65(0x260)]}:null;}}));}};_0x10030f=_0x166f6f([_0x4c6900(0x0,_0x2e0d09[_0x4db1c3(0x2c2)]),_0x4c6900(0x1,_0x4a52f9['IImageIoService'])],_0x10030f);const _0x1ba055=[_0x4db1c3(0x1ee),_0x4db1c3(0x240),_0x4db1c3(0x2e4),_0x4db1c3(0x32b),'blue.400','yellow.400'];class _0x3b2cd0 extends _0x58b3ad['Disposable']{constructor(){const _0x376bd6=_0x4db1c3;super(...arguments),_0x1fc77e(this,_0x376bd6(0x1dc),new Map()),_0x1fc77e(this,_0x376bd6(0x329),0x0);}[_0x4db1c3(0x1bd)](_0x41a309){const _0x2ec50f=_0x4db1c3;if(this[_0x2ec50f(0x1dc)][_0x2ec50f(0x35a)](_0x41a309))return this[_0x2ec50f(0x1dc)]['get'](_0x41a309);const _0x563b34=_0x1ba055[this[_0x2ec50f(0x329)]];return this[_0x2ec50f(0x329)]=(this[_0x2ec50f(0x329)]+0x1)%_0x1ba055[_0x2ec50f(0x1d3)],this[_0x2ec50f(0x1dc)][_0x2ec50f(0x3b3)](_0x41a309,_0x563b34),_0x563b34;}}function _0x435a91(_0x5c8d75){const _0x2981ff=_0x4db1c3;let _0x1992c6='';for(const _0x230f8a of _0x5c8d75){const {startOffset:_0x5bcd11,endOffset:_0x502419,isActive:_0x21a183,rangeType:_0x548813,segmentId:_0x8bfc46,segmentPage:_0x182975}=_0x230f8a;_0x1992c6[_0x2981ff(0x1d3)]&&(_0x1992c6+=','),_0x1992c6+=_0x5bcd11+':'+_0x502419+':'+(_0x21a183?'1':'0')+':'+_0x548813+':'+_0x8bfc46+':'+_0x182975;}return _0x1992c6;}function _0x1aabfe(_0x4e9807){const _0x5693b2=_0x4db1c3,_0x44f90e=_0x4e9807['split'](','),_0x5c3737=[];for(const _0x1f4c90 of _0x44f90e){const [_0x5ef6b2,_0x7f1fc6,_0x4aaf0a,_0x2a6563,_0x506771,_0x5014a6]=_0x1f4c90[_0x5693b2(0x189)](':');_0x5c3737[_0x5693b2(0x395)]({'startOffset':Number(_0x5ef6b2),'endOffset':Number(_0x7f1fc6),'collapsed':_0x5ef6b2===_0x7f1fc6,'isActive':_0x4aaf0a==='1','rangeType':_0x2a6563===_0x58b3ad[_0x5693b2(0x15c)][_0x5693b2(0x279)]?_0x58b3ad[_0x5693b2(0x15c)][_0x5693b2(0x279)]:_0x58b3ad[_0x5693b2(0x15c)]['RECT'],'segmentId':typeof _0x506771==_0x5693b2(0x154)?String(_0x506771):'','segmentPage':Number(_0x5014a6!=null?_0x5014a6:-0x1)});}return _0x5c3737[_0x5693b2(0x1b4)](_0x5639af=>_0x5639af[_0x5693b2(0x293)])||(_0x5c3737[0x0]['isActive']=!0x0),_0x5c3737;}class _0x5ba099 extends _0x58b3ad['RxDisposable']{constructor(){const _0x21d71e=_0x4db1c3;super(...arguments),_0x1fc77e(this,_0x21d71e(0x251),new _0x6dabd3['BehaviorSubject'](null)),_0x1fc77e(this,'collabCursorState$',this[_0x21d71e(0x251)][_0x21d71e(0x23e)]());}[_0x4db1c3(0x2ee)](_0x322fc4){const _0x5446f4=_0x4db1c3,{unitID:_0x47aef7,memberID:_0x5e0a07,textRanges:_0x37d0a8}=_0x322fc4,_0x192c1b=_0x435a91(_0x37d0a8);if(_0x192c1b==='')return;const _0x21af74={'unitID':_0x47aef7,'memberID':_0x5e0a07,'selection':_0x192c1b};this[_0x5446f4(0x251)]['next'](_0x21af74);}}var _0x206811=Object[_0x4db1c3(0x2ff)],_0xf5046d=(_0xd20b27,_0x13c5fe,_0x32cb2c,_0x3f2810)=>{const _0x577455=_0x4db1c3;for(var _0x3fc68b=_0x3f2810>0x1?void 0x0:_0x3f2810?_0x206811(_0x13c5fe,_0x32cb2c):_0x13c5fe,_0x3ba6ad=_0xd20b27[_0x577455(0x1d3)]-0x1,_0x41cc77;_0x3ba6ad>=0x0;_0x3ba6ad--)(_0x41cc77=_0xd20b27[_0x3ba6ad])&&(_0x3fc68b=_0x41cc77(_0x3fc68b)||_0x3fc68b);return _0x3fc68b;},_0x3ba9d7=(_0x96f591,_0x296097)=>(_0x4adf40,_0x5a38ec)=>_0x296097(_0x4adf40,_0x5a38ec,_0x96f591);const _0x309e61=0x12c,_0x1b79d5=0x64;let _0x508d12=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x4686a1,_0x305f16,_0x2f85fa,_0x41a371,_0x1d31a9,_0xa00281,_0x4a5efa,_0x41f1c4,_0x2e3fea){const _0x5e36f8=_0x4db1c3;super(),_0x1fc77e(this,_0x5e36f8(0x2ba),!0x1),_0x1fc77e(this,_0x5e36f8(0x173),!0x1),_0x1fc77e(this,_0x5e36f8(0x39a),new _0x6dabd3['BehaviorSubject'](new Map())),_0x1fc77e(this,_0x5e36f8(0x170),this['_cursorInfo$'][_0x5e36f8(0x23e)]()),_0x1fc77e(this,_0x5e36f8(0x13d),new _0x6dabd3[(_0x5e36f8(0x25f))]([])),_0x1fc77e(this,'roomMembers$',this[_0x5e36f8(0x13d)][_0x5e36f8(0x349)](_0x6dabd3['debounceTime'](_0x309e61))),_0x1fc77e(this,_0x5e36f8(0x2be),_0x58b3ad[_0x5e36f8(0x2f9)](_0x244ccf=>{const _0xdfdf0=_0x5e36f8,_0x36deb8={'eventID':_0x44c456['CollaborationEvent'][_0xdfdf0(0x2c8)],'data':{'unitID':this[_0xdfdf0(0x38e)],'memberID':this[_0xdfdf0(0x2b4)][_0xdfdf0(0x1c1)](),'selection':_0x435a91(_0x244ccf)}};this[_0xdfdf0(0x2b4)][_0xdfdf0(0x297)](_0x36deb8,this[_0xdfdf0(0x38e)]);},_0x1b79d5)),(this[_0x5e36f8(0x38e)]=_0x4686a1,this[_0x5e36f8(0x2b4)]=_0x305f16,this[_0x5e36f8(0x25e)]=_0x2f85fa,this[_0x5e36f8(0x387)]=_0x41a371,this[_0x5e36f8(0x167)]=_0x1d31a9,this[_0x5e36f8(0x1bf)]=_0xa00281,this[_0x5e36f8(0x372)]=_0x4a5efa,this['_univerInstanceService']=_0x41f1c4,this[_0x5e36f8(0x353)]=_0x2e3fea);}get['cursorInfo'](){const _0x1dc740=_0x4db1c3;return this[_0x1dc740(0x39a)]['getValue']();}get[_0x4db1c3(0x2bb)](){const _0x5c6e6d=_0x4db1c3;return this[_0x5c6e6d(0x13d)][_0x5c6e6d(0x1fd)]();}[_0x4db1c3(0x1c3)](){const _0x45bda3=_0x4db1c3;super[_0x45bda3(0x1c3)](),this[_0x45bda3(0x39a)][_0x45bda3(0x23b)](new Map()),this[_0x45bda3(0x39a)]['complete'](),this['_roomMembers$']['next']([]),this[_0x45bda3(0x13d)][_0x45bda3(0x2a1)]();}[_0x4db1c3(0x243)](){const _0x3e7c6d=_0x4db1c3;this[_0x3e7c6d(0x173)]||(this['_init']=!0x0,this[_0x3e7c6d(0x2b4)]['sessionStatus$'][_0x3e7c6d(0x349)](_0x6dabd3['takeUntil'](this[_0x3e7c6d(0x125)]))[_0x3e7c6d(0x39d)](_0x405997=>{const _0x447646=_0x3e7c6d;_0x405997===_0x2023db[_0x447646(0x15e)][_0x447646(0x343)]?this[_0x447646(0x152)]():this[_0x447646(0x2e2)]();}),this[_0x3e7c6d(0x2b4)][_0x3e7c6d(0x33b)]['pipe'](_0x6dabd3[_0x3e7c6d(0x2e7)](this['dispose$']))[_0x3e7c6d(0x39d)](_0x212b14=>{const _0x37b758=_0x3e7c6d,_0xb9f9ee=_0x212b14[_0x37b758(0x2f1)];_0xb9f9ee===_0x44c456[_0x37b758(0x236)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x212b14),_0xb9f9ee===_0x44c456[_0x37b758(0x236)][_0x37b758(0x3ac)]&&this[_0x37b758(0x156)](_0x212b14);}),this['disposeWithMe'](this[_0x3e7c6d(0x353)]['onCommandExecuted'](_0x1bd34c=>{const _0x310fbc=_0x3e7c6d,_0x15a108=_0x1bd34c[_0x310fbc(0x190)];_0x15a108!=null&&this['_online']&&_0x1bd34c['id']===_0x54ca13[_0x310fbc(0x375)]['id']&&_0x15a108[_0x310fbc(0x187)]===this['unitID']&&_0x15a108[_0x310fbc(0x36c)]===!0x1&&_0x15a108['ranges']['length']>0x0&&this[_0x310fbc(0x2be)](_0x15a108[_0x310fbc(0x3aa)]);})),this['_syncEditingCollabCursorService'][_0x3e7c6d(0x1a6)][_0x3e7c6d(0x349)](_0x6dabd3[_0x3e7c6d(0x2e7)](this[_0x3e7c6d(0x125)]))[_0x3e7c6d(0x39d)](_0x2ed579=>{const _0x3aaaa4=_0x3e7c6d;if((_0x2ed579==null?void 0x0:_0x2ed579[_0x3aaaa4(0x38e)])!==this[_0x3aaaa4(0x38e)])return;const _0x44649f={'eventID':_0x44c456[_0x3aaaa4(0x236)][_0x3aaaa4(0x2c8)],'data':_0x2ed579};this['_onCursorUpdate'](_0x44649f);}),this[_0x3e7c6d(0x212)](this['_commandService'][_0x3e7c6d(0x178)](_0x1b7407=>{const _0x28fd67=_0x3e7c6d;if(_0x1b7407[_0x28fd67(0x190)]==null)return;const _0x4ca499=_0x1b7407[_0x28fd67(0x190)];if(_0x1b7407['id']!==_0x54ca13[_0x28fd67(0x344)]['id']||_0x4ca499[_0x28fd67(0x187)]!==this[_0x28fd67(0x38e)])return;const _0x308203={'id':_0x28fd67(0x2c9),'params':_0x4ca499},_0x4415bc=this[_0x28fd67(0x36f)];for(const [_0x1b0d9d,_0x1c3b88]of _0x4415bc){const _0x2d5b81={'id':_0x28fd67(0x2c9),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1c3b88[_0x28fd67(0x3aa)]}},_0x26b08f=this['_transformService'][_0x28fd67(0x22c)](_0x308203,_0x2d5b81,!0x1);if(_0x44c456[_0x28fd67(0x3b9)](_0x26b08f))throw _0x26b08f['error'];_0x4415bc[_0x28fd67(0x3b3)](_0x1b0d9d,{..._0x1c3b88,'ranges':_0x26b08f[_0x28fd67(0x17c)][_0x28fd67(0x190)][_0x28fd67(0x31f)]});}queueMicrotask(()=>{const _0x2b3b50=_0x28fd67;this[_0x2b3b50(0x39a)]['next'](_0x4415bc);});})));}[_0x4db1c3(0x33a)](_0x32efc){const _0x34d7ff=_0x4db1c3;var _0x3e72f5,_0x24a94a;const {memberID:_0x2ecbcb,selection:_0x270cda}=_0x32efc[_0x34d7ff(0x1a3)],_0x1d6010=_0x1aabfe(_0x270cda),_0x371abc=(_0x24a94a=(_0x3e72f5=this[_0x34d7ff(0x167)][_0x34d7ff(0x374)](this[_0x34d7ff(0x38e)],_0x2ecbcb))==null?void 0x0:_0x3e72f5[_0x34d7ff(0x2d0)])!=null?_0x24a94a:_0x34d7ff(0x335),_0x2740c4={'color':this[_0x34d7ff(0x387)][_0x34d7ff(0x1bd)](_0x2ecbcb),'name':_0x371abc,'ranges':_0x1d6010},_0x2826a4=this[_0x34d7ff(0x36f)];_0x2826a4['set'](_0x2ecbcb,_0x2740c4),this[_0x34d7ff(0x39a)][_0x34d7ff(0x23b)](_0x2826a4);}[_0x4db1c3(0x156)](_0x1ba011){const _0x536cb4=_0x4db1c3,{memberID:_0x879d55}=_0x1ba011[_0x536cb4(0x1a3)],_0x4c4945=this[_0x536cb4(0x36f)];_0x4c4945[_0x536cb4(0x309)](_0x879d55),this['_cursorInfo$'][_0x536cb4(0x23b)](_0x4c4945);}['_toggleOnline'](){const _0xb1d557=_0x4db1c3;var _0x290104;if(this[_0xb1d557(0x2ba)]=!0x0,((_0x290104=this[_0xb1d557(0x1e2)][_0xb1d557(0x24d)]())==null?void 0x0:_0x290104['getUnitId']())!==this['unitID'])return;const _0x31654b=this[_0xb1d557(0x25e)]['get'](_0x54ca13[_0xb1d557(0x1cf)])[_0xb1d557(0x20c)]();Array[_0xb1d557(0x1fc)](_0x31654b)&&_0x31654b[_0xb1d557(0x1d3)]>0x0&&this[_0xb1d557(0x2be)](_0x31654b);}[_0x4db1c3(0x2e2)](){const _0x1da1a2=_0x4db1c3;this[_0x1da1a2(0x2ba)]=!0x1;}};_0x508d12=_0xf5046d([_0x3ba9d7(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x3ba9d7(0x3,_0x58b3ad[_0x4db1c3(0x257)](_0x3b2cd0)),_0x3ba9d7(0x4,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db[_0x4db1c3(0x267)])),_0x3ba9d7(0x5,_0x58b3ad['Inject'](_0x5ba099)),_0x3ba9d7(0x6,_0x44c456[_0x4db1c3(0x28b)]),_0x3ba9d7(0x7,_0x58b3ad[_0x4db1c3(0x30d)]),_0x3ba9d7(0x8,_0x58b3ad['ICommandService'])],_0x508d12);var _0x426de4=Object[_0x4db1c3(0x2ff)],_0xa544e4=(_0x5f3355,_0x36e6d9,_0x5806c4,_0x9e752f)=>{const _0x430d18=_0x4db1c3;for(var _0x3da4e4=_0x9e752f>0x1?void 0x0:_0x9e752f?_0x426de4(_0x36e6d9,_0x5806c4):_0x36e6d9,_0x5c5e4e=_0x5f3355[_0x430d18(0x1d3)]-0x1,_0x4ba025;_0x5c5e4e>=0x0;_0x5c5e4e--)(_0x4ba025=_0x5f3355[_0x5c5e4e])&&(_0x3da4e4=_0x4ba025(_0x3da4e4)||_0x3da4e4);return _0x3da4e4;},_0x4ac81b=(_0x552d71,_0x1ef232)=>(_0x5f233a,_0x38c1f5)=>_0x1ef232(_0x5f233a,_0x38c1f5,_0x552d71);const _0x479bd1=0x12c,_0x44726d=0x64,_0x48c7b0=()=>{let _0x5e663f=[],_0xbda748=!0x1;return _0x3fbc49=>{const _0x2f869d=_0x222d;_0x5e663f[_0x2f869d(0x395)](_0x3fbc49),_0xbda748||(_0xbda748=!0x0,setTimeout(()=>{const _0x3b66d3=_0x2f869d;_0x5e663f[_0x3b66d3(0x341)](_0x2421a6=>_0x2421a6()),_0x5e663f=[],_0xbda748=!0x1;}));};};let _0x44f3d5=class extends _0x58b3ad['RxDisposable']{constructor(_0x290703,_0x30570e,_0x1fb515,_0x11bef3,_0x170887,_0x11b788,_0x3e3181,_0x39fd63){const _0x55f3f6=_0x4db1c3;super(),_0x1fc77e(this,_0x55f3f6(0x2ba),!0x1),_0x1fc77e(this,_0x55f3f6(0x173),!0x1),_0x1fc77e(this,_0x55f3f6(0x39a),new _0x6dabd3['BehaviorSubject'](new Map())),_0x1fc77e(this,_0x55f3f6(0x170),this[_0x55f3f6(0x39a)][_0x55f3f6(0x23e)]()),_0x1fc77e(this,_0x55f3f6(0x13d),new _0x6dabd3[(_0x55f3f6(0x25f))]([])),_0x1fc77e(this,_0x55f3f6(0x14b),this[_0x55f3f6(0x13d)][_0x55f3f6(0x349)](_0x6dabd3[_0x55f3f6(0x208)](_0x479bd1))),_0x1fc77e(this,_0x55f3f6(0x2be),_0x58b3ad[_0x55f3f6(0x2f9)]((_0x16b229,_0x4c6813)=>{const _0x27a964=_0x55f3f6,_0x50c2b8={'eventID':_0x44c456[_0x27a964(0x236)][_0x27a964(0x2c8)],'data':{'unitID':this[_0x27a964(0x38e)],'memberID':this[_0x27a964(0x2b4)][_0x27a964(0x1c1)](),'selection':_0xd290cd[_0x27a964(0x38b)](_0x16b229,_0x4c6813['range'])}};this[_0x27a964(0x2b4)][_0x27a964(0x297)](_0x50c2b8,this[_0x27a964(0x38e)]);},_0x44726d)),(this[_0x55f3f6(0x38e)]=_0x290703,this[_0x55f3f6(0x2b4)]=_0x30570e,this[_0x55f3f6(0x25e)]=_0x1fb515,this['_colorAssignService']=_0x11bef3,this[_0x55f3f6(0x167)]=_0x170887,this[_0x55f3f6(0x1e2)]=_0x11b788,this[_0x55f3f6(0x353)]=_0x3e3181,this[_0x55f3f6(0x126)]=_0x39fd63);}get[_0x4db1c3(0x36f)](){const _0x1a42e5=_0x4db1c3;return this['_cursorInfo$'][_0x1a42e5(0x1fd)]();}get[_0x4db1c3(0x2bb)](){const _0x4f9b21=_0x4db1c3;return this[_0x4f9b21(0x13d)][_0x4f9b21(0x1fd)]();}[_0x4db1c3(0x1c3)](){const _0x16c3e1=_0x4db1c3;super['dispose'](),this['_cursorInfo$'][_0x16c3e1(0x23b)](new Map()),this['_cursorInfo$'][_0x16c3e1(0x2a1)](),this[_0x16c3e1(0x13d)][_0x16c3e1(0x23b)]([]),this['_roomMembers$'][_0x16c3e1(0x2a1)]();}[_0x4db1c3(0x243)](){const _0x5ea525=_0x4db1c3;this['_init']||(this[_0x5ea525(0x173)]=!0x0,this[_0x5ea525(0x2b4)][_0x5ea525(0x192)]['pipe'](_0x6dabd3[_0x5ea525(0x2e7)](this[_0x5ea525(0x125)]))[_0x5ea525(0x39d)](_0x2d110b=>{const _0x319cdf=_0x5ea525;_0x2d110b===_0x2023db[_0x319cdf(0x15e)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x5ea525(0x2b4)][_0x5ea525(0x33b)]['pipe'](_0x6dabd3['takeUntil'](this[_0x5ea525(0x125)]))[_0x5ea525(0x39d)](_0x40f3b9=>{const _0x129f8c=_0x5ea525,_0x5b2956=_0x40f3b9[_0x129f8c(0x2f1)];_0x5b2956===_0x44c456[_0x129f8c(0x236)][_0x129f8c(0x2c8)]&&this['_onCursorUpdate'](_0x40f3b9),_0x5b2956===_0x44c456[_0x129f8c(0x236)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x40f3b9);}),this['_onRefRangeChange'](),this[_0x5ea525(0x212)](this[_0x5ea525(0x353)][_0x5ea525(0x178)](_0x12e88a=>{const _0x4006be=_0x5ea525;if(this[_0x4006be(0x2ba)]&&_0x12e88a['id']===_0x3a3c4e[_0x4006be(0x34e)]['id']&&_0x12e88a[_0x4006be(0x190)][_0x4006be(0x187)]===this[_0x4006be(0x38e)]){const _0x2e3349=_0x12e88a['params'];this[_0x4006be(0x2be)](_0x2e3349[_0x4006be(0x316)],_0x2e3349[_0x4006be(0x391)][0x0]);}})));}[_0x4db1c3(0x33a)](_0xec1cd2){const _0x29f31a=_0x4db1c3;var _0x178d7f,_0x2cfd04;const {memberID:_0x1ecf5c,selection:_0x1391b6}=_0xec1cd2[_0x29f31a(0x1a3)],{sheetName:_0xb49106,range:_0x153585}=_0xd290cd[_0x29f31a(0x19a)](_0x1391b6),_0x2750d2={'name':(_0x2cfd04=(_0x178d7f=this[_0x29f31a(0x167)][_0x29f31a(0x374)](this['unitID'],_0x1ecf5c))==null?void 0x0:_0x178d7f[_0x29f31a(0x2d0)])!=null?_0x2cfd04:_0x29f31a(0x335),'range':this['_getMergeRange'](_0xb49106,_0x153585),'sheetID':_0xb49106,'color':this['_colorAssignService'][_0x29f31a(0x1bd)](_0x1ecf5c),'selection':_0x1391b6},_0x2a8ebd=this[_0x29f31a(0x36f)];_0x2a8ebd[_0x29f31a(0x3b3)](_0x1ecf5c,_0x2750d2),this[_0x29f31a(0x39a)][_0x29f31a(0x23b)](_0x2a8ebd);}[_0x4db1c3(0x156)](_0x352023){const _0x254f7a=_0x4db1c3,{memberID:_0x6736ba}=_0x352023[_0x254f7a(0x1a3)],_0x43602e=this[_0x254f7a(0x36f)];_0x43602e[_0x254f7a(0x309)](_0x6736ba),this[_0x254f7a(0x39a)]['next'](_0x43602e);}[_0x4db1c3(0x25b)](_0x4a0053,_0x410324){const _0x5f4a1b=_0x4db1c3;var _0x867519,_0x1b967a;const _0x38c287=(_0x1b967a=(_0x867519=this[_0x5f4a1b(0x1e2)][_0x5f4a1b(0x248)](this[_0x5f4a1b(0x38e)]))==null?void 0x0:_0x867519[_0x5f4a1b(0x121)](_0x4a0053))==null?void 0x0:_0x1b967a[_0x5f4a1b(0x22b)]();return(_0x38c287==null?void 0x0:_0x38c287[_0x5f4a1b(0x347)](_0x30c3c2=>_0x58b3ad[_0x5f4a1b(0x39f)][_0x5f4a1b(0x266)](_0x30c3c2,_0x410324)))||_0x410324;}['_onRefRangeChange'](){const _0x12038=_0x4db1c3,_0x6dbbc8=new _0x58b3ad[(_0x12038(0x1b3))](),_0x3c823c=_0x48c7b0(),_0x4456c3=()=>{const _0x2b8324=_0x12038;_0x6dbbc8[_0x2b8324(0x1c3)]();const _0x5ee55e=(_0x43dab8,_0x3ade5e,_0x36db8f,_0x3da41a)=>{const _0x595c95=_0x2b8324;let _0x1fd9b1=[];switch(_0x43dab8['id']){case _0x3a3c4e['EffectRefRangId'][_0x595c95(0x124)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x26b)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x1fd9b1=_0x3a3c4e['handleDeleteRangeMoveUp'](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e[_0x595c95(0x122)]['InsertColCommandId']:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x233)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e[_0x595c95(0x122)][_0x595c95(0x2b9)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x3a2)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId'][_0x595c95(0x284)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x197)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e[_0x595c95(0x122)][_0x595c95(0x29d)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x28e)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId'][_0x595c95(0x34b)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x2c1)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId'][_0x595c95(0x12d)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x245)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId']['RemoveRowCommandId']:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x183)](_0x43dab8,_0x3da41a);break;}}const _0x82137f=_0x3a3c4e[_0x595c95(0x2fb)](_0x1fd9b1,_0x3da41a),_0x3b7a53=this['cursorInfo'][_0x595c95(0x2c5)](_0x3ade5e);if(_0x3b7a53&&_0x82137f){const _0x3a05b1={..._0x3b7a53,'range':_0x82137f};this[_0x595c95(0x36f)][_0x595c95(0x3b3)](_0x3ade5e,_0x3a05b1),_0x3c823c(()=>{const _0x4b8f1b=_0x595c95,_0x33efc4=this[_0x4b8f1b(0x126)][_0x4b8f1b(0x217)](_0x82137f,_0x37d3e7=>(_0x33efc4[_0x4b8f1b(0x1c3)](),_0x5ee55e(_0x37d3e7,_0x3ade5e,_0x36db8f,_0x82137f)));_0x6dbbc8[_0x4b8f1b(0x134)](_0x33efc4);});}return{'redos':[],'undos':[]};};this[_0x2b8324(0x36f)]['forEach']((_0x2d1177,_0x35efec)=>{const _0x487ac2=_0x2b8324,{range:_0x416771,sheetID:_0x158fbf}=_0x2d1177,_0x67bc44=this[_0x487ac2(0x126)][_0x487ac2(0x217)](_0x416771,_0x527a80=>(_0x67bc44['dispose'](),_0x5ee55e(_0x527a80,_0x35efec,_0x158fbf,_0x416771)));_0x6dbbc8[_0x487ac2(0x134)](_0x67bc44);});};this[_0x12038(0x212)](_0x58b3ad['toDisposable'](this[_0x12038(0x39a)][_0x12038(0x39d)](()=>{_0x4456c3();})));}[_0x4db1c3(0x152)](){const _0x192477=_0x4db1c3;var _0x27084b,_0x1df15c;if(this[_0x192477(0x2ba)]=!0x0,((_0x27084b=this[_0x192477(0x1e2)][_0x192477(0x24d)]())==null?void 0x0:_0x27084b[_0x192477(0x238)]())!==this[_0x192477(0x38e)])return;const _0x105ab9=(_0x1df15c=this['_injector'][_0x192477(0x2c5)](_0x3a3c4e[_0x192477(0x340)])[_0x192477(0x196)]())==null?void 0x0:_0x1df15c[0x0],_0x545f2a=this[_0x192477(0x1e2)]['getCurrentUnitForType'](_0x58b3ad[_0x192477(0x382)]['UNIVER_SHEET'])['getActiveSheet']();_0x105ab9&&_0x545f2a&&this[_0x192477(0x2be)](_0x545f2a['getSheetId'](),_0x105ab9);}[_0x4db1c3(0x2e2)](){const _0x1530eb=_0x4db1c3;this[_0x1530eb(0x2ba)]=!0x1;}};_0x44f3d5=_0xa544e4([_0x4ac81b(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x4ac81b(0x3,_0x58b3ad[_0x4db1c3(0x257)](_0x3b2cd0)),_0x4ac81b(0x4,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db['MemberService'])),_0x4ac81b(0x5,_0x58b3ad[_0x4db1c3(0x30d)]),_0x4ac81b(0x6,_0x58b3ad[_0x4db1c3(0x1c8)]),_0x4ac81b(0x7,_0x58b3ad[_0x4db1c3(0x257)](_0x3a3c4e[_0x4db1c3(0x2a6)]))],_0x44f3d5);var _0x8b2e26=Object['getOwnPropertyDescriptor'],_0x34333e=(_0xa385f0,_0x5ac42a,_0x498cac,_0x1fb288)=>{const _0x48ced2=_0x4db1c3;for(var _0x5560e0=_0x1fb288>0x1?void 0x0:_0x1fb288?_0x8b2e26(_0x5ac42a,_0x498cac):_0x5ac42a,_0x35a83e=_0xa385f0[_0x48ced2(0x1d3)]-0x1,_0x430d0a;_0x35a83e>=0x0;_0x35a83e--)(_0x430d0a=_0xa385f0[_0x35a83e])&&(_0x5560e0=_0x430d0a(_0x5560e0)||_0x5560e0);return _0x5560e0;},_0x4f45a1=(_0x4296c7,_0x2b9118)=>(_0x499f7f,_0x19c878)=>_0x2b9118(_0x499f7f,_0x19c878,_0x4296c7);let _0x37f18b=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x2b7a0d,_0x185ff2,_0x480fe5){const _0x533e20=_0x4db1c3;super(),_0x1fc77e(this,_0x533e20(0x371),new Map()),_0x1fc77e(this,_0x533e20(0x19f),new _0x6dabd3[(_0x533e20(0x296))]()),(this['_univerInstanceService']=_0x2b7a0d,this['_injector']=_0x185ff2,this[_0x533e20(0x36d)]=_0x480fe5,this[_0x533e20(0x173)]());}[_0x4db1c3(0x1c3)](){const _0x1a93aa=_0x4db1c3;super[_0x1a93aa(0x1c3)](),this[_0x1a93aa(0x19f)][_0x1a93aa(0x2a1)](),this['_entities']['forEach'](_0xbb5f60=>_0xbb5f60[_0x1a93aa(0x1c3)]());}[_0x4db1c3(0x22e)](_0x29b7bf){const _0xc30a64=_0x4db1c3;return this[_0xc30a64(0x371)][_0xc30a64(0x35a)](_0x29b7bf)?this['_entities'][_0xc30a64(0x2c5)](_0x29b7bf)['cursorInfo$']:this['_entityInit$'][_0xc30a64(0x349)](_0x6dabd3['filter'](_0x333b2e=>_0x333b2e[_0xc30a64(0x38e)]===_0x29b7bf),_0x6dabd3[_0xc30a64(0x11b)](_0x30e106=>_0x30e106[_0xc30a64(0x170)]));}[_0x4db1c3(0x173)](){const _0x438884=_0x4db1c3;this['_univerInstanceService'][_0x438884(0x2ec)](_0x58b3ad[_0x438884(0x382)][_0x438884(0x33c)])[_0x438884(0x349)](_0x6dabd3[_0x438884(0x2e7)](this[_0x438884(0x125)]))[_0x438884(0x39d)](async _0x442dac=>{const _0xac5415=_0x438884,_0x450d72=_0x442dac[_0xac5415(0x238)](),_0x215640=await this[_0xac5415(0x22d)](_0x450d72);this[_0xac5415(0x19f)][_0xac5415(0x23b)](_0x215640),this['_entities'][_0xac5415(0x3b3)](_0x450d72,_0x215640);}),this['_univerInstanceService'][_0x438884(0x2ec)](_0x58b3ad['UniverInstanceType'][_0x438884(0x2f4)])[_0x438884(0x349)](_0x6dabd3[_0x438884(0x2e7)](this['dispose$']))[_0x438884(0x349)](_0x6dabd3[_0x438884(0x34d)](_0x1a9558=>!_0x1a9558[_0x438884(0x238)]()[_0x438884(0x220)]('__')))[_0x438884(0x39d)](async _0x18ead8=>{const _0x3d786a=_0x438884,_0x872a38=_0x18ead8[_0x3d786a(0x238)](),_0x44787a=await this[_0x3d786a(0x149)](_0x872a38);this['_entityInit$'][_0x3d786a(0x23b)](_0x44787a),this[_0x3d786a(0x371)]['set'](_0x872a38,_0x44787a);}),_0x6dabd3[_0x438884(0x28a)](this['_univerInstanceService'][_0x438884(0x15a)](_0x58b3ad[_0x438884(0x382)]['UNIVER_DOC']),this[_0x438884(0x1e2)]['getTypeOfUnitDisposed$'](_0x58b3ad[_0x438884(0x382)][_0x438884(0x33c)]))[_0x438884(0x349)](_0x6dabd3['takeUntil'](this[_0x438884(0x125)]))[_0x438884(0x39d)](_0x3246a3=>{const _0x40cde7=_0x438884,_0x5f32e4=_0x3246a3[_0x40cde7(0x238)](),_0x22e1b6=this[_0x40cde7(0x371)][_0x40cde7(0x2c5)](_0x5f32e4);_0x22e1b6&&(_0x22e1b6[_0x40cde7(0x1c3)](),this[_0x40cde7(0x371)][_0x40cde7(0x309)](_0x5f32e4));});}async[_0x4db1c3(0x22d)](_0x3ee89f){const _0x32c482=_0x4db1c3,_0x3d10c9=await this['_collabSessionService'][_0x32c482(0x2b6)](_0x3ee89f),_0x2a8f84=this['_injector'][_0x32c482(0x22f)](_0x44f3d5,_0x3ee89f,_0x3d10c9);return _0x2a8f84[_0x32c482(0x243)](),_0x2a8f84;}async['_startDocCollabCursor'](_0x50c2ef){const _0x40333d=_0x4db1c3,_0x34919d=await this[_0x40333d(0x36d)][_0x40333d(0x2b6)](_0x50c2ef),_0x3d042a=this[_0x40333d(0x25e)][_0x40333d(0x22f)](_0x508d12,_0x50c2ef,_0x34919d);return _0x3d042a[_0x40333d(0x243)](),_0x3d042a;}};_0x37f18b=_0x34333e([_0x4f45a1(0x0,_0x58b3ad['IUniverInstanceService']),_0x4f45a1(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad['Injector'])),_0x4f45a1(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db[_0x4db1c3(0x1ed)]))],_0x37f18b);const _0x2f36af=0x14,_0x19becf=0xc8,_0x1ed6cd=0x4,_0x2f49d5=0x5;function _0x187791(_0x6cef6b,_0x4b045b){const _0xbb2086=_0x4db1c3;let {radius:_0x1e7292,width:_0x342015,height:_0x5575a6}=_0x4b045b;_0x1e7292=_0x1e7292!=null?_0x1e7292:0x0,_0x342015=_0x342015!=null?_0x342015:0x1e,_0x5575a6=_0x5575a6!=null?_0x5575a6:0x1e;let _0x5331f7=0x0,_0x1c81d0=0x0,_0x7ee8cd=0x0;_0x5331f7=_0x1c81d0=_0x7ee8cd=Math[_0xbb2086(0x20a)](_0x1e7292,_0x342015/0x2,_0x5575a6/0x2),_0x6cef6b[_0xbb2086(0x31d)](),_0x6cef6b[_0xbb2086(0x16c)](_0x5331f7,0x0),_0x6cef6b[_0xbb2086(0x166)](_0x342015-_0x1c81d0,0x0),_0x6cef6b[_0xbb2086(0x17d)](_0x342015-_0x1c81d0,_0x1c81d0,_0x1c81d0,Math['PI']*0x3/0x2,0x0,!0x1),_0x6cef6b[_0xbb2086(0x166)](_0x342015,_0x5575a6-_0x7ee8cd),_0x6cef6b[_0xbb2086(0x17d)](_0x342015-_0x7ee8cd,_0x5575a6-_0x7ee8cd,_0x7ee8cd,0x0,Math['PI']/0x2,!0x1),_0x6cef6b['lineTo'](0x0,_0x5575a6),_0x6cef6b[_0xbb2086(0x166)](0x0,_0x5331f7),_0x6cef6b['arc'](_0x5331f7,_0x5331f7,_0x5331f7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6cef6b['closePath'](),_0x4b045b['fill']&&(_0x6cef6b[_0xbb2086(0x393)](),_0x6cef6b['fillStyle']=_0x4b045b[_0xbb2086(0x1c2)],_0x4b045b[_0xbb2086(0x176)]===_0xbb2086(0x234)?_0x6cef6b[_0xbb2086(0x1c2)](_0xbb2086(0x234)):_0x6cef6b[_0xbb2086(0x1c2)](),_0x6cef6b[_0xbb2086(0x229)]());}class _0x2a5523 extends _0x839618[_0x4db1c3(0x213)]{constructor(_0x1620d5,_0x2b5ada){const _0x21bee5=_0x4db1c3;super(_0x1620d5,_0x2b5ada),_0x1fc77e(this,_0x21bee5(0x2a9)),_0x1fc77e(this,_0x21bee5(0x1f4)),(this[_0x21bee5(0x2a9)]=_0x2b5ada==null?void 0x0:_0x2b5ada['color'],this[_0x21bee5(0x1f4)]=_0x2b5ada==null?void 0x0:_0x2b5ada['text']);}static['drawWith'](_0x509e7b,_0x5c8cae){const _0x175ca1=_0x4db1c3,{text:_0x1bb341,color:_0x1437ae}=_0x5c8cae;_0x509e7b[_0x175ca1(0x393)](),_0x509e7b[_0x175ca1(0x28f)]=_0x175ca1(0x123);const _0x4f399e=_0x509e7b['measureText'](_0x1bb341)[_0x175ca1(0x3b1)],_0x191626=Math[_0x175ca1(0x20a)](_0x4f399e+0x2*_0x1ed6cd,_0x19becf);_0x187791(_0x509e7b,{'height':_0x2f36af,'radius':0x4,'width':_0x191626,'fill':_0x1437ae}),_0x509e7b['fillStyle']=_0x175ca1(0x336);const _0x919b5a=_0x1ed6cd,_0x332144=_0x2f36af-_0x2f49d5,_0x13d30c=_0x19becf-0x2*_0x1ed6cd;if(_0x4f399e>_0x13d30c){let _0x4b45b7='',_0x12cfc2=0x0;for(const _0x2fed36 of _0x1bb341){const _0x4b15e0=_0x509e7b['measureText'](_0x2fed36)['width'];if(_0x12cfc2+_0x4b15e0<=_0x13d30c-_0x509e7b[_0x175ca1(0x252)](_0x175ca1(0x1b9))[_0x175ca1(0x3b1)])_0x4b45b7+=_0x2fed36,_0x12cfc2+=_0x4b15e0;else{_0x4b45b7+=_0x175ca1(0x1b9);break;}}_0x509e7b[_0x175ca1(0x1bc)](_0x4b45b7,_0x919b5a,_0x332144);}else _0x509e7b[_0x175ca1(0x1bc)](_0x1bb341,_0x919b5a,_0x332144);_0x509e7b[_0x175ca1(0x229)]();}[_0x4db1c3(0x1da)](_0x38af74){const _0x5878a1=_0x4db1c3;_0x2a5523[_0x5878a1(0x18a)](_0x38af74,this);}}const _0x249ec0=_0x4db1c3(0x2c4),_0x5a52b2=_0x4db1c3(0x15f),_0x372e1f=_0x4db1c3(0x332),_0x261a32=0x6,_0x3f96e7=1.5,_0x5cd01c=0x4,_0x5d5301=1.5,_0x39e7d7=_0x4db1c3(0x319);class _0x4152ac{constructor(_0x117bed,_0x3a89d0,_0x291a96,_0x580cfd){const _0x14c29a=_0x4db1c3;_0x1fc77e(this,_0x14c29a(0x2c7),[]),_0x1fc77e(this,_0x14c29a(0x216),null),_0x1fc77e(this,_0x14c29a(0x2e6),null),_0x1fc77e(this,_0x14c29a(0x24b),null),_0x1fc77e(this,'_hideTimer',null),_0x1fc77e(this,'_eventUnsubscribe',null),(this[_0x14c29a(0x36a)]=_0x117bed,this['_scene']=_0x3a89d0,this['_docSkeleton']=_0x291a96,this[_0x14c29a(0x12f)]=_0x580cfd,this[_0x14c29a(0x285)]());}set[_0x4db1c3(0x36b)](_0x16af38){const _0xd7e8c3=_0x4db1c3;_0x16af38?(this['_anchorDot']&&this[_0xd7e8c3(0x24b)][_0xd7e8c3(0x1c9)](),this[_0xd7e8c3(0x2e6)]&&this['_textBubble'][_0xd7e8c3(0x157)]()):(this[_0xd7e8c3(0x24b)]&&this[_0xd7e8c3(0x24b)][_0xd7e8c3(0x157)](),this[_0xd7e8c3(0x2e6)]&&this[_0xd7e8c3(0x2e6)][_0xd7e8c3(0x1c9)]());}[_0x4db1c3(0x1c3)](){const _0xac5c2=_0x4db1c3;for(const _0x1760cd of this[_0xac5c2(0x2c7)])_0x1760cd[_0xac5c2(0x1c3)]();this[_0xac5c2(0x2e6)]&&this[_0xac5c2(0x2e6)][_0xac5c2(0x1c3)](),this[_0xac5c2(0x24b)]&&this[_0xac5c2(0x24b)][_0xac5c2(0x1c3)](),this[_0xac5c2(0x216)]&&this[_0xac5c2(0x216)][_0xac5c2(0x1c3)](),this[_0xac5c2(0x22a)]&&this[_0xac5c2(0x22a)]();}[_0x4db1c3(0x285)](){const _0x4e31be=_0x4db1c3;var _0x482e7b;const {_docSkeleton:_0x59d28b,_document:_0x518573}=this,{color:_0x1f9175,name:_0x448a5c,ranges:_0x4caaf7}=this[_0x4e31be(0x36a)],_0x4ac338=_0x518573[_0x4e31be(0x2c3)](),{docsLeft:_0x3a6012,docsTop:_0x1dfe55}=_0x4ac338,_0x3554d6=new _0x2e0d09['NodePositionConvertToCursor'](_0x4ac338,_0x59d28b);for(const {startOffset:_0x48b4c8,endOffset:_0x4bc699,rangeType:_0x29e29f,segmentId:_0x41ee06,segmentPage:_0x2acd7e,collapsed:_0x49a811,isActive:_0x47018d}of _0x4caaf7){const _0x4e1e7b=_0x59d28b[_0x4e31be(0x11f)](_0x48b4c8,!0x0,_0x41ee06,_0x2acd7e);let _0x17b21d=_0x59d28b[_0x4e31be(0x11f)](_0x4bc699,!0x0,_0x41ee06,_0x2acd7e);if(_0x17b21d==null&&(_0x17b21d=_0x59d28b['findNodePositionByCharIndex'](_0x4bc699-0x1,!0x1,_0x41ee06,_0x2acd7e)),_0x47018d){const {contentBoxPointGroup:_0x666816}=_0x3554d6[_0x4e31be(0x1b5)](_0x17b21d,_0x17b21d);if(_0x666816[_0x4e31be(0x1d3)]===0x0)continue;this[_0x4e31be(0x17a)](_0x1f9175,_0x666816,_0x3a6012,_0x1dfe55,_0x448a5c),this[_0x4e31be(0x22a)]=this[_0x4e31be(0x15d)]();}if(_0x4e1e7b&&_0x17b21d){if(_0x29e29f===_0x58b3ad['DOC_RANGE_TYPE'][_0x4e31be(0x2bd)]){const _0x3439c5=new _0x2e0d09[(_0x4e31be(0x380))](_0x4ac338,_0x59d28b),{pointGroup:_0x16e30c}=(_0x482e7b=_0x3439c5['getRangePointData'](_0x4e1e7b,_0x17b21d))!=null?_0x482e7b:{};if(_0x16e30c==null||_0x16e30c[_0x4e31be(0x1d3)]===0x0)continue;this[_0x4e31be(0x13c)](_0x1f9175,_0x16e30c,_0x3a6012,_0x1dfe55);}else{if(!_0x49a811){const {borderBoxPointGroup:_0xa56b0a}=_0x3554d6['getRangePointData'](_0x4e1e7b,_0x17b21d);if(_0xa56b0a['length']===0x0)continue;this[_0x4e31be(0x379)](_0x1f9175,_0xa56b0a,_0x3a6012,_0x1dfe55);}}}}}[_0x4db1c3(0x17a)](_0x4fe8bb,_0x2b9163,_0x1e8831,_0x6527d8,_0x32ec6a){const _0x52d01d=_0x4db1c3,_0x20027f=this['_getAnchorBounding'](_0x2b9163),{left:_0x40aef8,top:_0x218665,height:_0x188b70}=_0x20027f,_0x3a20cb=this['_getScale'](),_0x34b02d=_0x5d5301/_0x3a20cb,_0x48a195=new _0x839618[(_0x52d01d(0x17f))](_0x249ec0+_0x58b3ad['Tools'][_0x52d01d(0x308)](_0x261a32),{'left':_0x40aef8+_0x1e8831-_0x34b02d,'top':_0x218665+_0x6527d8,'height':_0x188b70,'width':_0x3f96e7,'fill':_0x4fe8bb||_0x839618['getColor'](_0x58b3ad['COLORS'][_0x52d01d(0x226)],0x0),'strokeWidth':_0x34b02d,'stroke':_0x39e7d7,'evented':!0x0});this[_0x52d01d(0x216)]=_0x48a195,this[_0x52d01d(0x366)][_0x52d01d(0x2eb)](_0x48a195,_0x2e0d09[_0x52d01d(0x396)]);const _0x2bd705=new _0x839618['Rect'](_0x249ec0+_0x58b3ad[_0x52d01d(0x13e)]['generateRandomId'](_0x261a32),{'left':_0x40aef8+_0x1e8831-_0x34b02d,'top':_0x218665+_0x6527d8-_0x5cd01c/0x2,'height':_0x5cd01c,'width':_0x5cd01c,'fill':_0x4fe8bb||_0x839618[_0x52d01d(0x37f)](_0x58b3ad[_0x52d01d(0x186)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4fe8bb||_0x839618[_0x52d01d(0x37f)](_0x58b3ad[_0x52d01d(0x186)][_0x52d01d(0x226)],0x0),'evented':!0x1});this['_anchorDot']=_0x2bd705,this[_0x52d01d(0x366)][_0x52d01d(0x2eb)](_0x2bd705,_0x2e0d09[_0x52d01d(0x396)]);const _0x5d7a48=new _0x2a5523(_0x249ec0+_0x58b3ad[_0x52d01d(0x13e)]['generateRandomId'](_0x261a32),{'left':_0x40aef8+_0x1e8831-_0x34b02d,'top':_0x218665+_0x6527d8-_0x2f36af,'text':_0x32ec6a,'color':_0x4fe8bb});this[_0x52d01d(0x2e6)]=_0x5d7a48,this[_0x52d01d(0x366)]['addObject'](_0x5d7a48,_0x2e0d09[_0x52d01d(0x396)]),this[_0x52d01d(0x36b)]=!0x1;}[_0x4db1c3(0x15d)](){const _0x439065=_0x4db1c3,_0x2af8bf=this[_0x439065(0x216)][_0x439065(0x1f7)][_0x439065(0x1aa)](()=>{const _0x32b22c=_0x439065;this[_0x32b22c(0x36b)]=!0x0;}),_0x5de349=this[_0x439065(0x216)][_0x439065(0x16b)]['subscribeEvent'](()=>{const _0x2382bc=_0x439065;this[_0x2382bc(0x143)]&&clearTimeout(this[_0x2382bc(0x143)]),this[_0x2382bc(0x143)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4411fa=_0x439065;_0x2af8bf[_0x4411fa(0x276)](),_0x5de349[_0x4411fa(0x276)]();};}[_0x4db1c3(0x379)](_0x302120,_0x32557f,_0xd707a6,_0x4c0348){const _0x5eb569=_0x4db1c3,_0x4512c8=new _0x58b3ad['ColorKit'](_0x302120)['setAlpha'](0.2)['toRgbString'](),_0x4bf65d=new _0x839618[(_0x5eb569(0x18b))](_0x5a52b2+_0x58b3ad['Tools'][_0x5eb569(0x308)](_0x261a32),{'pointsGroup':_0x32557f,'fill':_0x4512c8||_0x839618[_0x5eb569(0x37f)](_0x58b3ad[_0x5eb569(0x186)]['black'],0.2),'left':_0xd707a6,'top':_0x4c0348,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5eb569(0x2c7)][_0x5eb569(0x395)](_0x4bf65d),this[_0x5eb569(0x366)][_0x5eb569(0x2eb)](_0x4bf65d,_0x2e0d09[_0x5eb569(0x396)]);}[_0x4db1c3(0x13c)](_0x5dbe90,_0x2cedf9,_0x2c4cbf,_0x32c06f){const _0x7d418b=_0x4db1c3,_0x265bae=new _0x58b3ad[(_0x7d418b(0x250))](_0x5dbe90)[_0x7d418b(0x130)](0.2)[_0x7d418b(0x136)](),_0x381cc1=new _0x839618[(_0x7d418b(0x18b))](_0x372e1f+_0x58b3ad[_0x7d418b(0x13e)][_0x7d418b(0x308)](_0x261a32),{'pointsGroup':_0x2cedf9,'fill':_0x265bae||_0x839618[_0x7d418b(0x37f)](_0x58b3ad[_0x7d418b(0x186)][_0x7d418b(0x226)],0.2),'left':_0x2c4cbf,'top':_0x32c06f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x7d418b(0x395)](_0x381cc1),this[_0x7d418b(0x366)][_0x7d418b(0x2eb)](_0x381cc1,_0x2e0d09[_0x7d418b(0x396)]);}['_getAnchorBounding'](_0x510ad8){const _0x3b4f20=_0x510ad8[0x0],_0x598413=_0x3b4f20[0x0],_0x2de92b=_0x3b4f20[0x2],{x:_0x4eb997,y:_0x3d666d}=_0x598413,{x:_0x200c6a,y:_0x34c082}=_0x2de92b;return{'left':_0x4eb997,'top':_0x3d666d,'width':_0x200c6a-_0x4eb997,'height':_0x34c082-_0x3d666d};}[_0x4db1c3(0x29e)](){const _0x40ccec=_0x4db1c3,{scaleX:_0x302efd,scaleY:_0x1b32ff}=this[_0x40ccec(0x366)][_0x40ccec(0x30a)]();return Math[_0x40ccec(0x339)](_0x302efd,_0x1b32ff);}}var _0xbcd82d=Object[_0x4db1c3(0x2ff)],_0x38742f=(_0x2c9540,_0x5d77a5,_0x10b728,_0x54f90f)=>{const _0xbcaf39=_0x4db1c3;for(var _0x3bd6b2=_0x54f90f>0x1?void 0x0:_0x54f90f?_0xbcd82d(_0x5d77a5,_0x10b728):_0x5d77a5,_0x148231=_0x2c9540[_0xbcaf39(0x1d3)]-0x1,_0x199d85;_0x148231>=0x0;_0x148231--)(_0x199d85=_0x2c9540[_0x148231])&&(_0x3bd6b2=_0x199d85(_0x3bd6b2)||_0x3bd6b2);return _0x3bd6b2;},_0x16c793=(_0x36038f,_0x5a9277)=>(_0x446b9e,_0x4df1a5)=>_0x5a9277(_0x446b9e,_0x4df1a5,_0x36038f);let _0x250bc8=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x4439f4,_0x41413c,_0xef7cfe,_0x533129,_0x5cfd12){const _0x1f4e92=_0x4db1c3;super(),_0x1fc77e(this,'_cursorShapes',[]),_0x1fc77e(this,_0x1f4e92(0x314),[]),(this[_0x1f4e92(0x2dc)]=_0x4439f4,this['_docSkeletonManagerService']=_0x41413c,this[_0x1f4e92(0x337)]=_0xef7cfe,this['_commandService']=_0x533129,this[_0x1f4e92(0x138)]=_0x5cfd12,this['_init']());}[_0x4db1c3(0x173)](){const _0x473cda=_0x4db1c3,_0x5a2724=this['_context']['unitId'],_0x483227=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x6dabd3[_0x473cda(0x289)]([this[_0x473cda(0x337)][_0x473cda(0x22e)](_0x5a2724),this[_0x473cda(0x138)]['currentTheme$']])[_0x473cda(0x349)](_0x2f5382[_0x473cda(0x235)](([_0x16b2c6,_0x190aaa])=>({'skeleton':_0x483227[_0x473cda(0x165)](),'cursors':[..._0x16b2c6[_0x473cda(0x262)]()][_0x473cda(0x362)](_0x13ed92=>({..._0x13ed92,'color':this[_0x473cda(0x138)][_0x473cda(0x273)](_0x13ed92[_0x473cda(0x2a9)])}))})))[_0x473cda(0x39d)](_0x38846d=>{const _0x51285f=_0x473cda;if(this[_0x51285f(0x1fb)](),_0x38846d){const {skeleton:_0x1199f9,cursors:_0x11417b}=_0x38846d;this[_0x51285f(0x18e)](_0x1199f9,_0x11417b);}})),this[_0x473cda(0x29c)](),this[_0x473cda(0x322)]();}[_0x4db1c3(0x18e)](_0x95a5a6,_0x58d5ce){const _0x429ad3=_0x4db1c3,{scene:_0x574e55,mainComponent:_0x256ea7}=this[_0x429ad3(0x2dc)],_0x24bd98=_0x58d5ce['map'](_0x35deaa=>new _0x4152ac(_0x35deaa,_0x574e55,_0x95a5a6,_0x256ea7));this[_0x429ad3(0x25d)]=_0x24bd98,this['_cursors']=_0x58d5ce;}[_0x4db1c3(0x1b0)](){const _0x133bea=_0x4db1c3;this[_0x133bea(0x1fb)]();const {scene:_0x26d5f1,mainComponent:_0x19c518}=this[_0x133bea(0x2dc)],_0x3b0a09=this[_0x133bea(0x14f)]['getSkeleton'](),_0x2edb4e=this['_cursors'][_0x133bea(0x235)](_0x5e0502=>new _0x4152ac(_0x5e0502,_0x26d5f1,_0x3b0a09,_0x19c518));this[_0x133bea(0x25d)]=_0x2edb4e;}[_0x4db1c3(0x1fb)](){const _0x2c274c=_0x4db1c3;this[_0x2c274c(0x25d)]['forEach'](_0xf36e0c=>_0xf36e0c[_0x2c274c(0x1c3)]()),this[_0x2c274c(0x25d)]=[];}[_0x4db1c3(0x322)](){const _0x3f5a7a=_0x4db1c3,_0x4fe0ee=[_0x2e0d09[_0x3f5a7a(0x265)]['id']];this[_0x3f5a7a(0x212)](this['_commandService'][_0x3f5a7a(0x178)](_0x5e7f86=>{const _0x58ab8a=_0x3f5a7a;_0x4fe0ee[_0x58ab8a(0x20d)](_0x5e7f86['id'])&&_0x5e7f86[_0x58ab8a(0x190)][_0x58ab8a(0x187)]===this['_context']['unitId']&&this[_0x58ab8a(0x1b0)]();}));}[_0x4db1c3(0x29c)](){const _0x7a1675=_0x4db1c3;this[_0x7a1675(0x212)](_0x58b3ad['fromEventSubject'](this[_0x7a1675(0x2dc)]['engine']['onTransformChange$'])[_0x7a1675(0x349)](_0x2f5382[_0x7a1675(0x34d)](_0xf62fd0=>_0xf62fd0['type']===_0x839618['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x7a1675(0x206)]),_0x2f5382[_0x7a1675(0x301)](0x10))[_0x7a1675(0x39d)](()=>{this['_refreshCollabCursors']();}));}};_0x250bc8=_0x38742f([_0x16c793(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x54ca13[_0x4db1c3(0x342)])),_0x16c793(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x37f18b)),_0x16c793(0x3,_0x58b3ad['ICommandService']),_0x16c793(0x4,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad['ThemeService']))],_0x250bc8);const _0x1d7c54=0x1,_0x28749=1.5;class _0x2f939e extends _0x839618[_0x4db1c3(0x213)]{constructor(_0x2f72c5,_0x517b4f){const _0x5aca94=_0x4db1c3;super(_0x2f72c5,_0x517b4f),_0x1fc77e(this,_0x5aca94(0x215)),_0x1fc77e(this,_0x5aca94(0x1a2),!0x1),_0x1fc77e(this,_0x5aca94(0x164)),_0x1fc77e(this,'_name',''),_0x1fc77e(this,'_labelPosition',_0x5aca94(0x31b)),_0x1fc77e(this,_0x5aca94(0x14e)),(_0x517b4f&&this[_0x5aca94(0x118)](_0x517b4f),this[_0x5aca94(0x1f7)][_0x5aca94(0x1aa)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x5aca94(0x1aa)](()=>this[_0x5aca94(0x118)]({'hovered':!0x1})));}[_0x4db1c3(0x118)](_0x5cf2f0){const _0x3ac12c=_0x4db1c3;var _0x477c92,_0x51cef6,_0xa58906,_0x2217b6,_0x5d2668,_0x1fa979;this[_0x3ac12c(0x215)]=(_0x477c92=_0x5cf2f0['color'])!=null?_0x477c92:this[_0x3ac12c(0x215)],this['_hovered']=(_0x51cef6=_0x5cf2f0[_0x3ac12c(0x2a0)])!=null?_0x51cef6:this[_0x3ac12c(0x1a2)],this['_range']=(_0xa58906=_0x5cf2f0[_0x3ac12c(0x211)])!=null?_0xa58906:this[_0x3ac12c(0x164)],this[_0x3ac12c(0x27f)]=(_0x2217b6=_0x5cf2f0['name'])!=null?_0x2217b6:this[_0x3ac12c(0x27f)],this[_0x3ac12c(0x29a)]=(_0x5d2668=_0x5cf2f0[_0x3ac12c(0x160)])!=null?_0x5d2668:this['_labelPosition'],this[_0x3ac12c(0x14e)]=(_0x1fa979=_0x5cf2f0[_0x3ac12c(0x253)])!=null?_0x1fa979:this[_0x3ac12c(0x14e)],this['transformByState']({'width':_0x5cf2f0[_0x3ac12c(0x3b1)],'height':_0x5cf2f0[_0x3ac12c(0x35b)]});}[_0x4db1c3(0x119)](_0x5ed783){const _0x1fcbd3=_0x4db1c3,{row:_0x15fa9f,column:_0x2aba08}=_0x5ed783;if(_0x15fa9f>=this[_0x1fcbd3(0x164)]['startRow']&&_0x15fa9f<=this[_0x1fcbd3(0x164)][_0x1fcbd3(0x17b)]&&_0x2aba08>=this[_0x1fcbd3(0x164)]['startColumn']&&_0x2aba08<=this[_0x1fcbd3(0x164)][_0x1fcbd3(0x33f)]){this[_0x1fcbd3(0x118)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4db1c3(0x352)](_0x3f1419){return!0x1;}[_0x4db1c3(0x1da)](_0x353dec){const _0x3d5cfa=_0x4db1c3;_0x839618['Rect'][_0x3d5cfa(0x18a)](_0x353dec,{'width':this[_0x3d5cfa(0x3b1)],'height':this[_0x3d5cfa(0x35b)],'strokeWidth':_0x28749,'stroke':this[_0x3d5cfa(0x215)],'evented':!0x1,'fill':this[_0x3d5cfa(0x14e)]}),this[_0x3d5cfa(0x1a2)]&&(_0x353dec['save'](),_0x353dec[_0x3d5cfa(0x1d4)](0x1,0x0,0x0,0x1,this[_0x3d5cfa(0x3b1)],this[_0x3d5cfa(0x29a)]===_0x3d5cfa(0x389)?0x0:-0x14),_0x2a5523[_0x3d5cfa(0x18a)](_0x353dec,{'text':this['_name'],'color':this[_0x3d5cfa(0x215)]}),_0x353dec[_0x3d5cfa(0x229)]());}}var _0x5d7326=Object[_0x4db1c3(0x2ff)],_0x116e40=(_0xef63e8,_0x5d2215,_0xcfe57f,_0x5aac97)=>{for(var _0x38df71=_0x5aac97>0x1?void 0x0:_0x5aac97?_0x5d7326(_0x5d2215,_0xcfe57f):_0x5d2215,_0x455072=_0xef63e8['length']-0x1,_0x490781;_0x455072>=0x0;_0x455072--)(_0x490781=_0xef63e8[_0x455072])&&(_0x38df71=_0x490781(_0x38df71)||_0x38df71);return _0x38df71;},_0xe44dfe=(_0x2d8f1c,_0x29d9a2)=>(_0x483ec7,_0x306f39)=>_0x29d9a2(_0x483ec7,_0x306f39,_0x2d8f1c);const _0x5d9545=0x1389;let _0x82a8ef=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x4478b3,_0x40700a,_0x26a34f,_0x1d5816){const _0x3ad447=_0x4db1c3;super(),_0x1fc77e(this,_0x3ad447(0x314),new Set()),_0x1fc77e(this,_0x3ad447(0x219),null),(this[_0x3ad447(0x2dc)]=_0x4478b3,this[_0x3ad447(0x2e8)]=_0x40700a,this[_0x3ad447(0x337)]=_0x26a34f,this[_0x3ad447(0x138)]=_0x1d5816,this[_0x3ad447(0x173)]());}[_0x4db1c3(0x173)](){const _0x5a92d8=_0x4db1c3;this[_0x5a92d8(0x2e8)][_0x5a92d8(0x13a)]['pipe'](_0x2f5382[_0x5a92d8(0x2e7)](this[_0x5a92d8(0x125)]),_0x2f5382[_0x5a92d8(0x11b)](_0x5c872d=>{const _0x46aabd=_0x5a92d8;if(_0x5c872d){const _0x557a65=_0x5c872d[_0x46aabd(0x351)];return _0x6dabd3[_0x46aabd(0x289)](this[_0x46aabd(0x337)]['getCollabCursors$'](this[_0x46aabd(0x2dc)][_0x46aabd(0x187)]),this[_0x46aabd(0x138)][_0x46aabd(0x1cc)])[_0x46aabd(0x349)](_0x2f5382[_0x46aabd(0x235)](([_0xa7cb24,_0x1a6176])=>{const _0x526de8=_0x46aabd,_0x107a16=new Map();return _0xa7cb24[_0x526de8(0x341)]((_0x39351a,_0x4b10f7)=>{const _0xbe115d=_0x526de8;if(_0x39351a[_0xbe115d(0x202)]===_0x557a65){const _0x21a4ab={..._0x39351a};_0x21a4ab[_0xbe115d(0x2a9)]=this['_themeService'][_0xbe115d(0x273)](_0x39351a[_0xbe115d(0x2a9)]),_0x107a16[_0xbe115d(0x3b3)](_0x4b10f7,_0x21a4ab);}}),{'skeleton':_0x5c872d,'cursors':_0x107a16};}));}return _0x6dabd3['of']({'skeleton':null,'cursors':new Map()});}))[_0x5a92d8(0x39d)](({skeleton:_0x2f6cb0,cursors:_0x3e98dd})=>{const _0x30db6d=_0x5a92d8;this[_0x30db6d(0x1fb)](),_0x2f6cb0&&this['_updateCollabCursors'](_0x2f6cb0,_0x3e98dd);}),this[_0x5a92d8(0x2e8)][_0x5a92d8(0x13a)][_0x5a92d8(0x39d)](_0x2c598d=>{const _0x188438=_0x5a92d8;if(_0x2c598d==null)return;const {skeleton:_0x13c69f}=_0x2c598d,{scene:_0x3bafc9}=this[_0x188438(0x2dc)];_0x3bafc9[_0x188438(0x264)][_0x188438(0x1aa)](_0x58b3ad[_0x188438(0x2f9)](_0x2b426=>{const _0x2fd296=_0x188438;var _0xfffe4,_0x1bf70b;const {offsetX:_0x3fda8a,offsetY:_0x50d15f}=_0x2b426,{x:_0xab8267,y:_0x4343fe}=_0x3bafc9[_0x2fd296(0x23f)](_0x839618[_0x2fd296(0x161)][_0x2fd296(0x2d6)]([_0x3fda8a,_0x50d15f])),{scaleX:_0x1a71a9,scaleY:_0x4ba497}=_0x3bafc9[_0x2fd296(0x30a)](),_0x32f281=_0x3bafc9[_0x2fd296(0x2a5)](_0x839618[_0x2fd296(0x350)]['VIEW_MAIN']),_0x2b23af=_0x3bafc9[_0x2fd296(0x377)](_0x839618[_0x2fd296(0x161)][_0x2fd296(0x2d6)]([_0xab8267,_0x4343fe]),_0x32f281),_0x4a15f0=_0x13c69f[_0x2fd296(0x256)](_0x3fda8a,_0x50d15f,_0x1a71a9,_0x4ba497,_0x2b23af);((_0xfffe4=this[_0x2fd296(0x219)])==null?void 0x0:_0xfffe4['column'])===_0x4a15f0[_0x2fd296(0x184)]&&((_0x1bf70b=this[_0x2fd296(0x219)])==null?void 0x0:_0x1bf70b[_0x2fd296(0x237)])===_0x4a15f0[_0x2fd296(0x237)]||this[_0x2fd296(0x314)][_0x2fd296(0x341)](_0x400bab=>{_0x400bab['onMouseMove'](_0x4a15f0);});},0x64));});}[_0x4db1c3(0x18e)](_0x2580fc,_0xf34c){const _0x327ab2=_0x4db1c3;var _0x5f1a2e;const _0x2bb110=(_0x5f1a2e=this['_sheetSkeletonManagerService'][_0x327ab2(0x37d)]())==null?void 0x0:_0x5f1a2e[_0x327ab2(0x26c)];if(!_0x2bb110)return;const _0x5274ef=this[_0x327ab2(0x345)]();if(!_0x5274ef)return;this[_0x327ab2(0x314)][_0x327ab2(0x341)](_0x473522=>{const _0x8f7f07=_0x327ab2;_0x473522[_0x8f7f07(0x295)]();});const {scene:_0x51f99e}=_0x5274ef,_0x54b95e=_0x57f00b(Array[_0x327ab2(0x2e0)](_0xf34c[_0x327ab2(0x262)]()))['map'](_0x27d8ac=>{const _0x189bfc=_0x327ab2,{color:_0x7d9c46,range:_0x1d60ec,name:_0x1158f9,selection:_0xef910e,sheetID:_0x5b6325}=_0x27d8ac,{startColumn:_0x218c74,startRow:_0x1d8f53,endColumn:_0x4c75c9,endRow:_0x3157c6}=_0x1d60ec,_0x55a9c6=_0x31b2f1[_0x189bfc(0x360)](_0x1d8f53,_0x218c74,_0x51f99e,_0x2bb110),_0xd572e9=_0x31b2f1[_0x189bfc(0x360)](_0x3157c6,_0x4c75c9,_0x51f99e,_0x2bb110),{columnHeaderHeightAndMarginTop:_0x38c20f}=_0x2bb110,{startX:_0x4cbc3b,startY:_0x25fb85}=_0x55a9c6,{endX:_0x2a94c9,endY:_0x3f3aa3}=_0xd572e9,_0x3e2314=_0x2a94c9-_0x4cbc3b,_0x31d820=_0x3f3aa3-_0x25fb85,_0x15fd62={'labelPosition':_0x25fb85-_0x38c20f>=_0x2f36af?'top':'bottom','sheetID':_0x5b6325,'range':_0x1d60ec,'color':_0x7d9c46,'name':_0x1158f9,'selection':_0xef910e,'left':_0x4cbc3b,'top':_0x25fb85,'width':_0x3e2314,'height':_0x31d820,'evented':!0x1,'zIndex':_0x5d9545};return new _0x2f939e(_0x1158f9,_0x15fd62);});_0x51f99e[_0x327ab2(0x255)](_0x54b95e,_0x1d7c54),this[_0x327ab2(0x314)]=new Set(_0x54b95e);}[_0x4db1c3(0x1fb)](){const _0x12881a=_0x4db1c3;var _0x4a8923;(_0x4a8923=this[_0x12881a(0x314)])==null||_0x4a8923[_0x12881a(0x341)](_0x58ac13=>_0x58ac13[_0x12881a(0x1c3)]());}['_getSheetObject'](){const _0x162a60=_0x4db1c3;return _0x31b2f1[_0x162a60(0x263)](this[_0x162a60(0x2dc)][_0x162a60(0x148)],this[_0x162a60(0x2dc)]);}};_0x82a8ef=_0x116e40([_0xe44dfe(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x31b2f1[_0x4db1c3(0x195)])),_0xe44dfe(0x2,_0x58b3ad['Inject'](_0x37f18b)),_0xe44dfe(0x3,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x386)]))],_0x82a8ef);function _0x57f00b(_0x1b5178){const _0x481c38=_0x4db1c3,_0x3e8ce6=new Map();return _0x1b5178[_0x481c38(0x341)](_0x5b6090=>{const _0x168cd7=_0x481c38;if(_0x3e8ce6['has'](_0x5b6090['selection'])){const _0x48a1f1=_0x3e8ce6[_0x168cd7(0x2c5)](_0x5b6090[_0x168cd7(0x37b)]);_0x48a1f1['name']+=',\x20'+_0x5b6090[_0x168cd7(0x2d0)];}else _0x3e8ce6['set'](_0x5b6090['selection'],_0x5b6090);}),Array[_0x481c38(0x2e0)](_0x3e8ce6['values']());}var _0x2b2a5d=function(){const _0x25fe08=_0x4db1c3;return _0x2b2a5d=Object[_0x25fe08(0x2fd)]||function(_0x3ffad3){const _0xe6c7a9=_0x25fe08;for(var _0x15fc4b,_0x2f7bf7=0x1,_0x2d56ea=arguments['length'];_0x2f7bf7<_0x2d56ea;_0x2f7bf7++){_0x15fc4b=arguments[_0x2f7bf7];for(var _0x38db0f in _0x15fc4b)Object[_0xe6c7a9(0x1c7)][_0xe6c7a9(0x31a)]['call'](_0x15fc4b,_0x38db0f)&&(_0x3ffad3[_0x38db0f]=_0x15fc4b[_0x38db0f]);}return _0x3ffad3;},_0x2b2a5d[_0x25fe08(0x21c)](this,arguments);},_0x1b5d1b=function(_0x4f929b,_0x12d89f){const _0x85eafe=_0x4db1c3;var _0x253cee={};for(var _0x19c213 in _0x4f929b)Object[_0x85eafe(0x1c7)][_0x85eafe(0x31a)][_0x85eafe(0x3a1)](_0x4f929b,_0x19c213)&&_0x12d89f[_0x85eafe(0x384)](_0x19c213)<0x0&&(_0x253cee[_0x19c213]=_0x4f929b[_0x19c213]);if(_0x4f929b!=null&&typeof Object[_0x85eafe(0x338)]==_0x85eafe(0x150)){for(var _0xb41569=0x0,_0x19c213=Object[_0x85eafe(0x338)](_0x4f929b);_0xb41569<_0x19c213['length'];_0xb41569++)_0x12d89f[_0x85eafe(0x384)](_0x19c213[_0xb41569])<0x0&&Object[_0x85eafe(0x1c7)]['propertyIsEnumerable'][_0x85eafe(0x3a1)](_0x4f929b,_0x19c213[_0xb41569])&&(_0x253cee[_0x19c213[_0xb41569]]=_0x4f929b[_0x19c213[_0xb41569]]);}return _0x253cee;},_0x3286b0=_0xf0b2ac[_0x4db1c3(0x39e)](function(_0x2fb58a,_0x1acca2){const _0x22eeab=_0x4db1c3;var _0x809656=_0x2fb58a[_0x22eeab(0x1c0)],_0x4e9e9e=_0x2fb58a['id'],_0xa61375=_0x2fb58a['className'],_0x40362c=_0x2fb58a[_0x22eeab(0x258)],_0x57b167=_0x1b5d1b(_0x2fb58a,['icon','id',_0x22eeab(0x1c5),_0x22eeab(0x258)]),_0x11542f=_0x22eeab(0x1e6)[_0x22eeab(0x32e)](_0x4e9e9e,'\x20')[_0x22eeab(0x32e)](_0xa61375||'')[_0x22eeab(0x25c)](),_0x5f1e06=_0xf0b2ac[_0x22eeab(0x399)]('_'['concat'](_0xd956d5()));return _0x534f5a(_0x809656,''[_0x22eeab(0x32e)](_0x4e9e9e),{'defIds':_0x809656[_0x22eeab(0x30f)],'idSuffix':_0x5f1e06[_0x22eeab(0x1cd)]},_0x2b2a5d({'ref':_0x1acca2,'className':_0x11542f},_0x57b167),_0x40362c);});function _0x534f5a(_0x542889,_0x3f8322,_0x6116a3,_0x227c7d,_0x462f97){const _0x38e583=_0x4db1c3;return _0xf0b2ac[_0x38e583(0x1f5)](_0x542889[_0x38e583(0x2cb)],_0x2b2a5d(_0x2b2a5d({'key':_0x3f8322},_0xea4ead(_0x542889,_0x6116a3,_0x462f97)),_0x227c7d),(_0x4b963f(_0x542889,_0x6116a3)[_0x38e583(0x302)]||[])[_0x38e583(0x235)](function(_0x379be6,_0x4fda6e){const _0x226990=_0x38e583;return _0x534f5a(_0x379be6,''['concat'](_0x3f8322,'-')[_0x226990(0x32e)](_0x542889['tag'],'-')[_0x226990(0x32e)](_0x4fda6e),_0x6116a3,void 0x0,_0x462f97);}));}function _0xea4ead(_0x4b812e,_0x51ba38,_0x434c5b){const _0x315d16=_0x4db1c3;var _0x4d1395=_0x2b2a5d({},_0x4b812e[_0x315d16(0x201)]);_0x434c5b!=null&&_0x434c5b['colorChannel1']&&_0x4d1395['fill']==='colorChannel1'&&(_0x4d1395[_0x315d16(0x1c2)]=_0x434c5b[_0x315d16(0x16a)]),_0x4b812e[_0x315d16(0x2cb)]===_0x315d16(0x1a0)&&_0x4d1395['id']&&(_0x4d1395['id']=_0x4d1395['id']+_0x51ba38['idSuffix']),Object[_0x315d16(0x2c6)](_0x4d1395)[_0x315d16(0x341)](function(_0xc63eaa){const _0x4b2007=_0x315d16;var _0x5c4c0b=_0xc63eaa[0x0],_0x120f86=_0xc63eaa[0x1];_0x5c4c0b===_0x4b2007(0x1a0)&&typeof _0x120f86==_0x4b2007(0x154)&&(_0x4d1395[_0x5c4c0b]=_0x120f86[_0x4b2007(0x1f3)](/url\(#(.*)\)/,_0x4b2007(0x38a)[_0x4b2007(0x32e)](_0x51ba38[_0x4b2007(0x1b6)],')')));});var _0x15fb1d=_0x51ba38[_0x315d16(0x30f)];return!_0x15fb1d||_0x15fb1d[_0x315d16(0x1d3)]===0x0||(_0x4b812e[_0x315d16(0x2cb)]===_0x315d16(0x2af)&&_0x4d1395[_0x315d16(0x24e)]&&(_0x4d1395[_0x315d16(0x24e)]=_0x4d1395[_0x315d16(0x24e)]+_0x51ba38['idSuffix']),Object[_0x315d16(0x2c6)](_0x4d1395)[_0x315d16(0x341)](function(_0x416f09){const _0x3b1210=_0x315d16;var _0x65e93f=_0x416f09[0x0],_0xb0735=_0x416f09[0x1];typeof _0xb0735=='string'&&(_0x4d1395[_0x65e93f]=_0xb0735['replace'](/url\(#(.*)\)/,'url(#$1'[_0x3b1210(0x32e)](_0x51ba38[_0x3b1210(0x1b6)],')')));})),_0x4d1395;}function _0x4b963f(_0x520ed4,_0x447e1a){const _0x1975e1=_0x4db1c3;var _0x49e33d,_0x303782=_0x447e1a[_0x1975e1(0x30f)];return!_0x303782||_0x303782['length']===0x0?_0x520ed4:_0x520ed4[_0x1975e1(0x2cb)]===_0x1975e1(0x38c)&&(!((_0x49e33d=_0x520ed4['children'])===null||_0x49e33d===void 0x0)&&_0x49e33d[_0x1975e1(0x1d3)])?_0x2b2a5d(_0x2b2a5d({},_0x520ed4),{'children':_0x520ed4[_0x1975e1(0x302)]['map'](function(_0x13a2d){const _0x241f25=_0x1975e1;return typeof _0x13a2d[_0x241f25(0x201)]['id']==_0x241f25(0x154)&&_0x303782&&_0x303782['indexOf'](_0x13a2d[_0x241f25(0x201)]['id'])>-0x1?_0x2b2a5d(_0x2b2a5d({},_0x13a2d),{'attrs':_0x2b2a5d(_0x2b2a5d({},_0x13a2d[_0x241f25(0x201)]),{'id':_0x13a2d[_0x241f25(0x201)]['id']+_0x447e1a[_0x241f25(0x1b6)]})}):_0x13a2d;})}):_0x520ed4;}function _0xd956d5(){const _0x250e14=_0x4db1c3;return Math[_0x250e14(0x1f1)]()[_0x250e14(0x185)](0x24)[_0x250e14(0x27c)](0x2,0x8);}_0x3286b0['displayName']='UniverIcon';var _0xe7c75b={'tag':_0x4db1c3(0x191),'attrs':{'fill':_0x4db1c3(0x11a),'viewBox':_0x4db1c3(0x204),'width':_0x4db1c3(0x14d),'height':_0x4db1c3(0x14d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4db1c3(0x3ae),'attrs':{'stroke':_0x4db1c3(0x2fc),'d':_0x4db1c3(0x2d8),'strokeLinecap':_0x4db1c3(0x16f),'strokeLinejoin':_0x4db1c3(0x16f),'strokeWidth':1.2}}]},{'tag':_0x4db1c3(0x38c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4db1c3(0x378)},'children':[{'tag':_0x4db1c3(0x3ae),'attrs':{'fill':_0x4db1c3(0x3ad),'d':_0x4db1c3(0x37e)}}]}]}],'defIds':[_0x4db1c3(0x378)]},_0x2ac8dc=_0xf0b2ac[_0x4db1c3(0x39e)](function(_0x15c757,_0x1afad5){const _0x17b4f9=_0x4db1c3;return _0xf0b2ac[_0x17b4f9(0x1f5)](_0x3286b0,Object[_0x17b4f9(0x2fd)]({},_0x15c757,{'id':'off-line-single','ref':_0x1afad5,'icon':_0xe7c75b}));});_0x2ac8dc['displayName']=_0x4db1c3(0x303);var _0x436151={'tag':_0x4db1c3(0x191),'attrs':{'fill':'none','viewBox':_0x4db1c3(0x2b3),'width':_0x4db1c3(0x14d),'height':_0x4db1c3(0x14d)},'children':[{'tag':'g','attrs':{'clipPath':_0x4db1c3(0x373)},'children':[{'tag':_0x4db1c3(0x3ae),'attrs':{'stroke':_0x4db1c3(0x2fc),'d':_0x4db1c3(0x2a4),'strokeLinecap':'round','strokeLinejoin':_0x4db1c3(0x16f),'strokeWidth':1.2}}]},{'tag':_0x4db1c3(0x38c),'attrs':{},'children':[{'tag':_0x4db1c3(0x27a),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4db1c3(0x3ae),'attrs':{'fill':_0x4db1c3(0x3ad),'d':_0x4db1c3(0x37e),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x2cd5c9=_0xf0b2ac[_0x4db1c3(0x39e)](function(_0x2abcac,_0x22194d){const _0x503062=_0x4db1c3;return _0xf0b2ac['createElement'](_0x3286b0,Object['assign']({},_0x2abcac,{'id':_0x503062(0x1bb),'ref':_0x22194d,'icon':_0x436151}));});_0x2cd5c9[_0x4db1c3(0x2ce)]='OnLineSingle';function _0x39c85a(_0x10bc22){const _0x215768=_0x4db1c3;switch(_0x10bc22){case _0x2023db[_0x215768(0x11e)][_0x215768(0x1d8)]:return'collabStatus.offline';case _0x2023db[_0x215768(0x11e)]['CONFLICT']:return _0x215768(0x2da);case _0x2023db[_0x215768(0x11e)][_0x215768(0x2fa)]:return _0x215768(0x2a2);case _0x2023db[_0x215768(0x11e)][_0x215768(0x272)]:return _0x215768(0x2b1);case _0x2023db[_0x215768(0x11e)]['AWAITING']:case _0x2023db[_0x215768(0x11e)][_0x215768(0x19b)]:return _0x215768(0x1e1);case _0x2023db[_0x215768(0x11e)][_0x215768(0x2d1)]:case _0x2023db[_0x215768(0x11e)][_0x215768(0x142)]:return'collabStatus.synced';}}function _0x478902(_0x27e7d2){const _0x34d488=_0x4db1c3,{status$:_0x21c9c1}=_0x27e7d2,_0x28e3f3=_0x1a2ea0[_0x34d488(0x23c)](_0x21c9c1,_0x2023db[_0x34d488(0x11e)][_0x34d488(0x272)]),_0x143bed=_0x1a2ea0[_0x34d488(0x214)](_0x58b3ad[_0x34d488(0x1ad)]),_0x2eb1a5=_0x1a2ea0['useDependency'](_0x2023db['CollaborationSessionService']),_0x6b9419=_0x28e3f3!==_0x2023db[_0x34d488(0x11e)][_0x34d488(0x1d8)],_0x587d55=_0x143bed['t'](_0x39c85a(_0x28e3f3)),_0x3c6caf=_0x6b9419?_0x5116ef[_0x34d488(0x231)](_0x2cd5c9,{}):_0x5116ef[_0x34d488(0x231)](_0x2ac8dc,{}),_0x2d464f=_0xf0b2ac['useCallback'](()=>{_0x6b9419||_0x2eb1a5['reconnect']();},[_0x6b9419,_0x2eb1a5]);function _0x15ff7a(){const _0x41d075=_0x34d488;return _0x5116ef[_0x41d075(0x274)](_0x41d075(0x390),{'className':'univer-flex\x20univer-items-center','onClick':_0x2d464f,'children':[_0x5116ef[_0x41d075(0x231)](_0x41d075(0x390),{'className':_0x43985a[_0x41d075(0x1b1)]('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x6b9419,'univer-text-red-500':!_0x6b9419}),'children':_0x3c6caf}),_0x5116ef['jsx']('div',{'className':_0x41d075(0x33e),'children':_0x587d55})]});}return _0x6b9419?_0x15ff7a():_0x5116ef['jsx'](_0x43985a['Tooltip'],{'title':_0x143bed['t'](_0x34d488(0x1ea)),'children':_0x15ff7a()});}var _0x793154=Object['getOwnPropertyDescriptor'],_0xb08a6f=(_0x35d285,_0x303173,_0x42c584,_0x5d8271)=>{const _0x310f75=_0x4db1c3;for(var _0xd6bade=_0x5d8271>0x1?void 0x0:_0x5d8271?_0x793154(_0x303173,_0x42c584):_0x303173,_0x5543e6=_0x35d285[_0x310f75(0x1d3)]-0x1,_0x3500ff;_0x5543e6>=0x0;_0x5543e6--)(_0x3500ff=_0x35d285[_0x5543e6])&&(_0xd6bade=_0x3500ff(_0xd6bade)||_0xd6bade);return _0xd6bade;},_0x51536f=(_0x150c01,_0x47064a)=>(_0x254ea0,_0x224e22)=>_0x47064a(_0x254ea0,_0x224e22,_0x150c01);_0x58baf5[_0x4db1c3(0x3b4)]=class extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(_0x4ecab4,_0x21d377,_0x6da284,_0x177b44){const _0xdbced5=_0x4db1c3;super(),_0x1fc77e(this,_0xdbced5(0x254),new _0x6dabd3[(_0xdbced5(0x25f))](_0x2023db[_0xdbced5(0x11e)][_0xdbced5(0x272)])),(this[_0xdbced5(0x1e2)]=_0x4ecab4,this[_0xdbced5(0x25e)]=_0x21d377,this[_0xdbced5(0x17e)]=_0x6da284,this[_0xdbced5(0x207)]=_0x177b44,this[_0xdbced5(0x1fe)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x376917=_0x4db1c3;this['disposeWithMe'](this[_0x376917(0x1e2)]['focused$'][_0x376917(0x349)](_0x6dabd3[_0x376917(0x11b)](()=>{const _0x56fe7f=_0x376917,_0x5990eb=this[_0x56fe7f(0x1e2)]['getFocusedUnit']();return _0x5990eb?this[_0x56fe7f(0x17e)][_0x56fe7f(0x182)](_0x5990eb[_0x56fe7f(0x238)]()):_0x6dabd3['of'](null);}),_0x6dabd3['switchMap'](_0x528aa9=>_0x528aa9?_0x528aa9['status$']:_0x6dabd3['of'](_0x2023db[_0x376917(0x11e)][_0x376917(0x272)])))[_0x376917(0x39d)](_0x3d4a01=>{const _0x3d5e34=_0x376917;this[_0x3d5e34(0x254)]['next'](_0x3d4a01);}));}[_0x4db1c3(0x1fe)](){const _0x465862=_0x4db1c3;this[_0x465862(0x212)](this['_uiPartsService'][_0x465862(0x1ab)](_0x1a2ea0[_0x465862(0x2f2)][_0x465862(0x2d3)],()=>_0x1a2ea0[_0x465862(0x20f)](_0x2d8bb2({'status$':this[_0x465862(0x254)][_0x465862(0x23e)]()}),this[_0x465862(0x25e)])));}},_0x58baf5[_0x4db1c3(0x3b4)]=_0xb08a6f([_0x51536f(0x0,_0x58b3ad[_0x4db1c3(0x30d)]),_0x51536f(0x1,_0x58b3ad['Inject'](_0x58b3ad['Injector'])),_0x51536f(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db[_0x4db1c3(0x2f3)])),_0x51536f(0x3,_0x1a2ea0[_0x4db1c3(0x388)])],_0x58baf5['DesktopCollaborationStatusDisplayController']);function _0x2d8bb2(_0x46d570){const {status$:_0x29fbae}=_0x46d570;return function(){const _0x56bf8c=_0x222d;return _0x5116ef[_0x56bf8c(0x231)](_0x478902,{'status$':_0x29fbae});};}var _0x13a89f=Object['getOwnPropertyDescriptor'],_0x37a252=(_0x30fef7,_0x4ebf86,_0x4c2899,_0x4b2dc2)=>{const _0x1da6de=_0x4db1c3;for(var _0x469aad=_0x4b2dc2>0x1?void 0x0:_0x4b2dc2?_0x13a89f(_0x4ebf86,_0x4c2899):_0x4ebf86,_0x4f3475=_0x30fef7[_0x1da6de(0x1d3)]-0x1,_0x483804;_0x4f3475>=0x0;_0x4f3475--)(_0x483804=_0x30fef7[_0x4f3475])&&(_0x469aad=_0x483804(_0x469aad)||_0x469aad);return _0x469aad;},_0xcb97ef=(_0x4143d9,_0x11f326)=>(_0x5492cb,_0x19c9d2)=>_0x11f326(_0x5492cb,_0x19c9d2,_0x4143d9);let _0xf7f3cb=class extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(_0x4424b4,_0x475c97,_0x59f24e,_0xd842ea,_0x5f50ee,_0x18e3b3){const _0x48a808=_0x4db1c3;super(),this[_0x48a808(0x193)]=_0x4424b4,this['_localCacheService']=_0x475c97,this[_0x48a808(0x3a0)]=_0x59f24e,this['_messageService']=_0xd842ea,this[_0x48a808(0x2cf)]=_0x5f50ee,this[_0x48a808(0x383)]=_0x18e3b3,this[_0x48a808(0x282)](),this[_0x48a808(0x159)]();}[_0x4db1c3(0x282)](){const _0x4faba0=_0x4db1c3;this[_0x4faba0(0x212)](this['_beforeCloseService'][_0x4faba0(0x29f)](()=>{const _0x133645=_0x4faba0;if(this[_0x133645(0x15b)][_0x133645(0x24a)][_0x133645(0x364)])return this[_0x133645(0x383)]['t'](_0x133645(0x1de));}));}[_0x4db1c3(0x159)](){const _0x141ded=_0x4db1c3;this['disposeWithMe'](this[_0x141ded(0x3a0)]['event$'][_0x141ded(0x39d)](_0x4cdd9f=>{const _0x4f1f85=_0x141ded;_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x194)]&&this['_messageService'][_0x4f1f85(0x157)]({'type':_0x43985a[_0x4f1f85(0x139)][_0x4f1f85(0x1af)],'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x1e4))}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x31c)]&&this[_0x4f1f85(0x394)][_0x4f1f85(0x157)]({'type':_0x43985a[_0x4f1f85(0x139)]['Warning'],'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x2d4))}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x13b)]&&this[_0x4f1f85(0x2cf)][_0x4f1f85(0x157)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x30b)),'type':_0x4f1f85(0x1f2),'duration':0x0}),_0x4cdd9f['id']===_0x2023db['CollaborationUIEventId'][_0x4f1f85(0x12b)]&&this['_messageService'][_0x4f1f85(0x157)]({'type':_0x43985a['MessageType'][_0x4f1f85(0x1cb)],'content':this['_localeService']['t'](_0x4f1f85(0x2d4))+'('+_0x4cdd9f[_0x4f1f85(0x1a3)]+')'}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x224)]&&this[_0x4f1f85(0x394)][_0x4f1f85(0x157)]({'type':_0x43985a['MessageType'][_0x4f1f85(0x1af)],'content':this[_0x4f1f85(0x383)]['t'](_0x4cdd9f[_0x4f1f85(0x1a3)]||'')}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x2a8)]&&this[_0x4f1f85(0x394)][_0x4f1f85(0x157)]({'type':_0x43985a[_0x4f1f85(0x139)][_0x4f1f85(0x1af)],'content':this['_localeService']['t'](_0x4f1f85(0x1e0))}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x398)]&&this[_0x4f1f85(0x394)][_0x4f1f85(0x157)]({'type':_0x43985a[_0x4f1f85(0x139)][_0x4f1f85(0x1cb)],'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x242))}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x4f1f85(0x157)]({'type':_0x43985a['MessageType'][_0x4f1f85(0x1cb)],'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x310))});}));}};_0xf7f3cb=_0x37a252([_0xcb97ef(0x0,_0x1a2ea0[_0x4db1c3(0x1e8)]),_0xcb97ef(0x1,_0x2023db[_0x4db1c3(0x30e)]),_0xcb97ef(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db['CollaborationUIEventService'])),_0xcb97ef(0x3,_0x1a2ea0[_0x4db1c3(0x239)]),_0xcb97ef(0x4,_0x1a2ea0[_0x4db1c3(0x37c)]),_0xcb97ef(0x5,_0x58b3ad['Inject'](_0x58b3ad[_0x4db1c3(0x1ad)]))],_0xf7f3cb);const _0x121401=_0x4db1c3(0x1a9),_0x5ce969={},_0x5b0fb3=_0x58b3ad[_0x4db1c3(0x1e7)](_0x4db1c3(0x1ca));var _0x4c9615=Object['getOwnPropertyDescriptor'],_0x2be001=(_0x411c5c,_0x177efe,_0x22537f,_0x55351f)=>{const _0x60ce65=_0x4db1c3;for(var _0x204f63=_0x55351f>0x1?void 0x0:_0x55351f?_0x4c9615(_0x177efe,_0x22537f):_0x177efe,_0x30c453=_0x411c5c[_0x60ce65(0x1d3)]-0x1,_0x919e44;_0x30c453>=0x0;_0x30c453--)(_0x919e44=_0x411c5c[_0x30c453])&&(_0x204f63=_0x919e44(_0x204f63)||_0x204f63);return _0x204f63;},_0xa8e7dd=(_0x3ce3e1,_0x5156de)=>(_0x55518d,_0x59be0c)=>_0x5156de(_0x55518d,_0x59be0c,_0x3ce3e1);_0x58baf5[_0x4db1c3(0x14a)]=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x108524,_0x2f6ccc,_0x1686d1,_0x2f3276,_0x12f6b5){const _0x2cd08c=_0x4db1c3;super(),this[_0x2cd08c(0x151)]=_0x108524,this['_logService']=_0x2f6ccc,this[_0x2cd08c(0x353)]=_0x1686d1,this['_dataLoaderService']=_0x2f3276,_0x12f6b5?_0x12f6b5==null||_0x12f6b5[_0x2cd08c(0x26a)]()['then'](()=>this[_0x2cd08c(0x173)]()):(this['_logService'][_0x2cd08c(0x278)](_0x2cd08c(0x286),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2cd08c(0x173)]());}async[_0x4db1c3(0x173)](){const _0x53f9b8=_0x4db1c3,_0x3bd363=this[_0x53f9b8(0x151)][_0x53f9b8(0x2a7)](_0x53f9b8(0x148)),_0x33d769=this[_0x53f9b8(0x151)]['getParam'](_0x53f9b8(0x14c)),_0x2939d8=this['_urlService']['getParam'](_0x53f9b8(0x1db));if(!_0x3bd363||!_0x33d769){this['_logService'][_0x53f9b8(0x278)](_0x53f9b8(0x286),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x49e71a=await this[_0x53f9b8(0x346)]['loadUnit'](_0x3bd363,Number(_0x33d769),_0x2939d8);_0x49e71a&&_0x49e71a instanceof _0x58b3ad[_0x53f9b8(0x3b7)]&&this[_0x53f9b8(0x1d0)](_0x49e71a);}async[_0x4db1c3(0x1d0)](_0x43d75a){const _0x1a6a67=_0x4db1c3;await this[_0x1a6a67(0x232)](_0x43d75a),_0x43d75a[_0x1a6a67(0x32a)]['pipe'](_0x6dabd3[_0x1a6a67(0x2e7)](this[_0x1a6a67(0x125)]))[_0x1a6a67(0x39d)](_0x111de8=>{const _0x1cde03=_0x1a6a67;_0x111de8&&this[_0x1cde03(0x28d)](_0x111de8);}),this[_0x1a6a67(0x151)]['urlChange$'][_0x1a6a67(0x349)](_0x6dabd3[_0x1a6a67(0x2e7)](this['dispose$']))[_0x1a6a67(0x39d)](()=>this['_updateSubUnitFromURLParams'](_0x43d75a));}[_0x4db1c3(0x28d)](_0x2d558e,_0x453409=!0x1){const _0x50cd25=_0x4db1c3,_0x39fbcd=this[_0x50cd25(0x151)][_0x50cd25(0x2a7)]('subunit');_0x2d558e[_0x50cd25(0x299)]()!==_0x39fbcd&&this[_0x50cd25(0x151)][_0x50cd25(0x26e)](_0x50cd25(0x1db),_0x2d558e[_0x50cd25(0x299)](),_0x453409);}async[_0x4db1c3(0x232)](_0x231093){const _0x33a494=_0x4db1c3;var _0x3e11e8;const _0x9b12b3=this[_0x33a494(0x151)][_0x33a494(0x2a7)](_0x33a494(0x1db));if(!_0x9b12b3||!_0x231093[_0x33a494(0x121)](_0x9b12b3)){const _0x2ed9c5=_0x231093[_0x33a494(0x21e)]()[0x0],_0x51a941=_0x231093[_0x33a494(0x121)](_0x2ed9c5);if(!_0x51a941)return;this[_0x33a494(0x28d)](_0x51a941,!0x0),await this[_0x33a494(0x353)][_0x33a494(0x313)](_0x3a3c4e[_0x33a494(0x261)]['id'],{'unitId':_0x231093[_0x33a494(0x238)](),'subUnitId':_0x2ed9c5});return;}((_0x3e11e8=_0x231093['getActiveSheet']())==null?void 0x0:_0x3e11e8[_0x33a494(0x299)]())!==_0x9b12b3&&await this[_0x33a494(0x353)]['executeCommand'](_0x3a3c4e[_0x33a494(0x261)]['id'],{'unitId':_0x231093['getUnitId'](),'subUnitId':_0x9b12b3});}},_0x58baf5['CollaborationDataLoaderController']=_0x2be001([_0xa8e7dd(0x0,_0x5b0fb3),_0xa8e7dd(0x1,_0x58b3ad[_0x4db1c3(0x128)]),_0xa8e7dd(0x2,_0x58b3ad[_0x4db1c3(0x1c8)]),_0xa8e7dd(0x3,_0x58b3ad['Inject'](_0x2023db[_0x4db1c3(0x18d)])),_0xa8e7dd(0x4,_0x58b3ad['Optional'](_0x47f72b[_0x4db1c3(0x290)]))],_0x58baf5[_0x4db1c3(0x14a)]);var _0x2c8170=Object[_0x4db1c3(0x2ff)],_0x56c37d=(_0x18a7d8,_0x11216d,_0x21adf9,_0x59cf71)=>{const _0x29cc00=_0x4db1c3;for(var _0x24ede6=_0x59cf71>0x1?void 0x0:_0x59cf71?_0x2c8170(_0x11216d,_0x21adf9):_0x11216d,_0x1e805b=_0x18a7d8[_0x29cc00(0x1d3)]-0x1,_0x3e1e16;_0x1e805b>=0x0;_0x1e805b--)(_0x3e1e16=_0x18a7d8[_0x1e805b])&&(_0x24ede6=_0x3e1e16(_0x24ede6)||_0x24ede6);return _0x24ede6;},_0x110b40=(_0x38bbb5,_0x70306a)=>(_0x28c180,_0x48378f)=>_0x70306a(_0x28c180,_0x48378f,_0x38bbb5);let _0x1bcd8a=class{constructor(_0x338313,_0x275988,_0x4681cf){const _0x4776b4=_0x4db1c3;this[_0x4776b4(0x25e)]=_0x338313,this[_0x4776b4(0x372)]=_0x275988,this['_renderManagerService']=_0x4681cf;}[_0x4db1c3(0x153)](_0x1cd518){const _0x787146=_0x4db1c3;this['_transformUndoRedoStack'](_0x1cd518),this[_0x787146(0x311)](_0x1cd518);}[_0x4db1c3(0x16d)](_0x55484e){const _0x1c7aa0=_0x4db1c3,{unitID:_0x2106c7}=_0x55484e,_0x405176=this['_renderManagerService']['getRenderById'](_0x2106c7)[_0x1c7aa0(0x172)](_0x2e0d09[_0x1c7aa0(0x227)]),{redoCache:_0x400320}=_0x405176[_0x1c7aa0(0x2e9)]();if(_0x400320[_0x1c7aa0(0x1d3)]===0x0)return _0x55484e;let _0x293089=_0x58b3ad[_0x1c7aa0(0x13e)]['deepClone'](_0x55484e['mutations'][0x0]);for(let _0x7c915f=0x0;_0x7c915f<_0x400320[_0x1c7aa0(0x1d3)];_0x7c915f++){const _0x2cab7c={'id':_0x1c7aa0(0x2c9),'params':{..._0x400320[_0x7c915f]}},_0x10f6e9=this['_transformService'][_0x1c7aa0(0x22c)](_0x293089,_0x2cab7c,!0x1);if(_0x44c456[_0x1c7aa0(0x3b9)](_0x10f6e9))throw _0x10f6e9[_0x1c7aa0(0x1f2)];_0x293089=_0x10f6e9[_0x1c7aa0(0x1d9)];}return{..._0x58b3ad[_0x1c7aa0(0x13e)]['deepClone'](_0x55484e),'mutations':[_0x293089]};}[_0x4db1c3(0x370)](_0x37bbfe){const _0x400fa7=_0x4db1c3,{unitID:_0x3084ef}=_0x37bbfe,_0x1ea9ec=this[_0x400fa7(0x32f)][_0x400fa7(0x323)](_0x3084ef)[_0x400fa7(0x172)](_0x2e0d09[_0x400fa7(0x227)]),{undoCache:_0x22b07b,redoCache:_0x43df68}=_0x1ea9ec[_0x400fa7(0x2e9)]();if(_0x22b07b['length']===0x0||_0x43df68[_0x400fa7(0x1d3)]===0x0)return;const _0x37728a=[],_0x21ebf6=[];let _0x16eab8=_0x58b3ad[_0x400fa7(0x13e)][_0x400fa7(0x1e9)](_0x37bbfe[_0x400fa7(0x1eb)][0x0]),_0x22327f=_0x58b3ad[_0x400fa7(0x13e)][_0x400fa7(0x1e9)](_0x37bbfe[_0x400fa7(0x1eb)][0x0]);for(let _0x45d2e2=_0x22b07b['length']-0x1;_0x45d2e2>=0x0;_0x45d2e2--){const _0x278e1a={'id':_0x400fa7(0x2c9),'params':{..._0x22b07b[_0x45d2e2]}},_0x4ebdb9={'id':_0x400fa7(0x2c9),'params':{..._0x43df68[_0x45d2e2]}},_0x3712a3=this['_transformService']['transformMutation'](_0x16eab8,_0x278e1a,!0x1),_0x4c322c=this[_0x400fa7(0x372)][_0x400fa7(0x22c)](_0x22327f,_0x4ebdb9,!0x1);if(_0x44c456[_0x400fa7(0x3b9)](_0x3712a3))throw _0x3712a3[_0x400fa7(0x1f2)];if(_0x44c456[_0x400fa7(0x3b9)](_0x4c322c))throw _0x4c322c['error'];_0x37728a[_0x400fa7(0x13f)](_0x3712a3[_0x400fa7(0x17c)][_0x400fa7(0x190)]),_0x21ebf6[_0x400fa7(0x13f)](_0x4c322c[_0x400fa7(0x17c)]['params']),_0x16eab8=_0x3712a3[_0x400fa7(0x1d9)],_0x22327f=_0x4c322c['m1Prime'];}_0x1ea9ec[_0x400fa7(0x246)]({'undoCache':_0x37728a,'redoCache':_0x21ebf6});}[_0x4db1c3(0x311)](_0x4a0078){const _0x591741=_0x4db1c3,{unitID:_0x57904e}=_0x4a0078,_0x1ccc2b=this[_0x591741(0x32f)][_0x591741(0x323)](_0x57904e)[_0x591741(0x172)](_0x2e0d09['DocIMEInputManagerService']),_0x3c376f=_0x1ccc2b[_0x591741(0x315)]();if(_0x3c376f==null)return;const _0x559f06=[{'id':_0x591741(0x2c9),'params':{'unitId':_0x4a0078['unitID'],'actions':null,'textRanges':[_0x3c376f]}}],_0xbcfef5=this[_0x591741(0x372)][_0x591741(0x114)](_0x4a0078,_0x559f06);if(!_0x44c456[_0x591741(0x2ae)](_0xbcfef5))throw _0xbcfef5[_0x591741(0x1f2)];const _0x410ae0=_0xbcfef5[_0x591741(0x17c)][0x0]['params'][_0x591741(0x31f)];Array['isArray'](_0x410ae0)&&_0x410ae0[_0x591741(0x1d3)]&&_0x1ccc2b[_0x591741(0x218)](_0x410ae0[0x0]);}};_0x1bcd8a=_0x56c37d([_0x110b40(0x0,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x110b40(0x1,_0x44c456[_0x4db1c3(0x28b)]),_0x110b40(0x2,_0x839618[_0x4db1c3(0x3a3)])],_0x1bcd8a);var _0x3bdbf3=Object[_0x4db1c3(0x2ff)],_0x49a90f=(_0x2c5e50,_0x35a730,_0x28cf57,_0x1b37c3)=>{const _0x784969=_0x4db1c3;for(var _0x20d384=_0x1b37c3>0x1?void 0x0:_0x1b37c3?_0x3bdbf3(_0x35a730,_0x28cf57):_0x35a730,_0x231b36=_0x2c5e50[_0x784969(0x1d3)]-0x1,_0x421ceb;_0x231b36>=0x0;_0x231b36--)(_0x421ceb=_0x2c5e50[_0x231b36])&&(_0x20d384=_0x421ceb(_0x20d384)||_0x20d384);return _0x20d384;},_0x4ff1fa=(_0x5b7132,_0x53acb1)=>(_0x382dd7,_0x3074e4)=>_0x53acb1(_0x382dd7,_0x3074e4,_0x5b7132);let _0x25f93b=class{constructor(_0x3f3058,_0x482557,_0x378f7b){this['_injector']=_0x3f3058,this['_transformService']=_0x482557,this['_docStateChangeManagerService']=_0x378f7b;}[_0x4db1c3(0x21f)](_0xf5488c){const _0x2c5f90=_0x4db1c3;this[_0x2c5f90(0x2cd)](_0xf5488c);}[_0x4db1c3(0x16d)](_0x331b19){const _0x30ea84=_0x4db1c3,{unitID:_0x49ad87}=_0x331b19,{collaboration:_0x21a7c3}=this['_docStateChangeManagerService'][_0x30ea84(0x330)](_0x49ad87);if(_0x21a7c3[_0x30ea84(0x1d3)]===0x0)return _0x331b19;let _0x373ec7=_0x58b3ad[_0x30ea84(0x13e)][_0x30ea84(0x1e9)](_0x331b19[_0x30ea84(0x1eb)][0x0]);for(let _0x5864be=0x0;_0x5864be<_0x21a7c3[_0x30ea84(0x1d3)];_0x5864be++){const _0x4aa5cb={'id':_0x30ea84(0x2c9),'params':{'unitId':_0x21a7c3[_0x5864be][_0x30ea84(0x187)],..._0x21a7c3[_0x5864be][_0x30ea84(0x1d6)]}},_0x598051=this[_0x30ea84(0x372)][_0x30ea84(0x22c)](_0x373ec7,_0x4aa5cb,!0x1);if(_0x44c456[_0x30ea84(0x3b9)](_0x598051))throw _0x598051[_0x30ea84(0x1f2)];_0x373ec7=_0x598051['m1Prime'];}return{..._0x58b3ad['Tools']['deepClone'](_0x331b19),'mutations':[_0x373ec7]};}[_0x4db1c3(0x2cd)](_0x5bb51d){const _0x3e49c4=_0x4db1c3,{unitID:_0x2cb8e7}=_0x5bb51d,{history:_0x53f617,collaboration:_0x3d7ab7}=this[_0x3e49c4(0x11d)]['getStateCache'](_0x2cb8e7);if(_0x53f617[_0x3e49c4(0x1d3)]===0x0&&_0x3d7ab7['length']===0x0)return;const _0x5c3329=[],_0x9bed07=[];let _0x1afb20=_0x58b3ad['Tools'][_0x3e49c4(0x1e9)](_0x5bb51d[_0x3e49c4(0x1eb)][0x0]),_0x4ffb9b=_0x58b3ad[_0x3e49c4(0x13e)]['deepClone'](_0x5bb51d[_0x3e49c4(0x1eb)][0x0]);for(let _0x23c657=_0x53f617[_0x3e49c4(0x1d3)]-0x1;_0x23c657>=0x0;_0x23c657--){const _0x18fc02={'id':_0x3e49c4(0x2c9),'params':{'unitId':_0x53f617[_0x23c657]['unitId'],..._0x53f617[_0x23c657][_0x3e49c4(0x162)]}},_0x239240={'id':_0x3e49c4(0x2c9),'params':{'unitId':_0x53f617[_0x23c657][_0x3e49c4(0x187)],..._0x53f617[_0x23c657][_0x3e49c4(0x1d6)]}},_0x53e69b=this['_transformService'][_0x3e49c4(0x22c)](_0x1afb20,_0x18fc02,!0x1),_0x3fcf50=this[_0x3e49c4(0x372)][_0x3e49c4(0x22c)](_0x4ffb9b,_0x239240,!0x1);if(_0x44c456['isTransformMutationFailure'](_0x53e69b))throw _0x53e69b[_0x3e49c4(0x1f2)];if(_0x44c456[_0x3e49c4(0x3b9)](_0x3fcf50))throw _0x3fcf50['error'];_0x5c3329['unshift']({..._0x53f617[_0x23c657],'undoState':_0x53e69b['m2Prime'][_0x3e49c4(0x190)],'redoState':_0x3fcf50[_0x3e49c4(0x17c)]['params']}),_0x1afb20=_0x53e69b[_0x3e49c4(0x1d9)],_0x4ffb9b=_0x3fcf50[_0x3e49c4(0x1d9)];}_0x1afb20=_0x58b3ad[_0x3e49c4(0x13e)][_0x3e49c4(0x1e9)](_0x5bb51d[_0x3e49c4(0x1eb)][0x0]),_0x4ffb9b=_0x58b3ad[_0x3e49c4(0x13e)][_0x3e49c4(0x1e9)](_0x5bb51d[_0x3e49c4(0x1eb)][0x0]);for(let _0x5795c1=_0x3d7ab7[_0x3e49c4(0x1d3)]-0x1;_0x5795c1>=0x0;_0x5795c1--){const _0x4d0265={'id':_0x3e49c4(0x2c9),'params':{'unitId':_0x3d7ab7[_0x5795c1][_0x3e49c4(0x187)],..._0x3d7ab7[_0x5795c1][_0x3e49c4(0x162)]}},_0x35852f={'id':_0x3e49c4(0x2c9),'params':{'unitId':_0x3d7ab7[_0x5795c1][_0x3e49c4(0x187)],..._0x3d7ab7[_0x5795c1][_0x3e49c4(0x1d6)]}},_0x1058a9=this['_transformService'][_0x3e49c4(0x22c)](_0x1afb20,_0x4d0265,!0x1),_0x2c9c49=this[_0x3e49c4(0x372)]['transformMutation'](_0x4ffb9b,_0x35852f,!0x1);if(_0x44c456['isTransformMutationFailure'](_0x1058a9))throw _0x1058a9[_0x3e49c4(0x1f2)];if(_0x44c456[_0x3e49c4(0x3b9)](_0x2c9c49))throw _0x2c9c49['error'];_0x9bed07['unshift']({..._0x3d7ab7[_0x5795c1],'undoState':_0x1058a9['m2Prime'][_0x3e49c4(0x190)],'redoState':_0x2c9c49['m2Prime']['params']}),_0x1afb20=_0x1058a9[_0x3e49c4(0x1d9)],_0x4ffb9b=_0x2c9c49[_0x3e49c4(0x1d9)];}this[_0x3e49c4(0x11d)]['setStateCache'](_0x2cb8e7,{'history':_0x5c3329,'collaboration':_0x9bed07});}};_0x25f93b=_0x49a90f([_0x4ff1fa(0x0,_0x58b3ad['Inject'](_0x58b3ad[_0x4db1c3(0x35f)])),_0x4ff1fa(0x1,_0x44c456['ITransformService']),_0x4ff1fa(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x2e0d09[_0x4db1c3(0x365)]))],_0x25f93b);var _0x1d900c=Object['getOwnPropertyDescriptor'],_0x140f59=(_0x11ba02,_0x29fb68,_0x2780c9,_0x2554c6)=>{const _0x40f100=_0x4db1c3;for(var _0x4abe35=_0x2554c6>0x1?void 0x0:_0x2554c6?_0x1d900c(_0x29fb68,_0x2780c9):_0x29fb68,_0xb4d78c=_0x11ba02[_0x40f100(0x1d3)]-0x1,_0x4e2627;_0xb4d78c>=0x0;_0xb4d78c--)(_0x4e2627=_0x11ba02[_0xb4d78c])&&(_0x4abe35=_0x4e2627(_0x4abe35)||_0x4abe35);return _0x4abe35;},_0x58703e=(_0x3969f3,_0x3cb846)=>(_0x44c5f9,_0xb2f465)=>_0x3cb846(_0x44c5f9,_0xb2f465,_0x3969f3);let _0xfa4a5c=class{constructor(_0x1ca8ce,_0x391bdb){const _0x2c8ca3=_0x4db1c3;this[_0x2c8ca3(0x25e)]=_0x1ca8ce,this[_0x2c8ca3(0x372)]=_0x391bdb;}[_0x4db1c3(0x2e3)](_0x3769ff){const _0x4881c6=_0x4db1c3;var _0x1b5f51;const _0x1b2135=this['_injector']['get'](_0x54ca13[_0x4881c6(0x1cf)]),_0xef81d2=(_0x1b5f51=_0x1b2135['getDocRanges']())!=null?_0x1b5f51:[];if(_0xef81d2[_0x4881c6(0x1d3)]===0x0)return;const _0x21a8ea=_0x3769ff[_0x4881c6(0x38e)],_0x3bc13f=[{'id':_0x4881c6(0x2c9),'params':{'unitId':_0x21a8ea,'actions':null,'textRanges':_0xef81d2}}],_0x3caeac=this[_0x4881c6(0x372)][_0x4881c6(0x114)](_0x3769ff,_0x3bc13f);if(!_0x44c456[_0x4881c6(0x2ae)](_0x3caeac))throw _0x3caeac['error'];const _0x4d901f=_0x3caeac[_0x4881c6(0x17c)][0x0][_0x4881c6(0x190)][_0x4881c6(0x31f)];Array[_0x4881c6(0x1fc)](_0x4d901f)&&_0x4d901f['length']&&_0x1b2135['replaceDocRanges'](_0x4d901f,{'unitId':_0x21a8ea,'subUnitId':_0x21a8ea},!0x1);}};_0xfa4a5c=_0x140f59([_0x58703e(0x0,_0x58b3ad['Inject'](_0x58b3ad['Injector'])),_0x58703e(0x1,_0x44c456['ITransformService'])],_0xfa4a5c);var _0x545744=Object[_0x4db1c3(0x2ff)],_0x405458=(_0x2aca30,_0x366182,_0xcedbf3,_0x3212af)=>{const _0x3f1464=_0x4db1c3;for(var _0x45e9f5=_0x3212af>0x1?void 0x0:_0x3212af?_0x545744(_0x366182,_0xcedbf3):_0x366182,_0x34f869=_0x2aca30[_0x3f1464(0x1d3)]-0x1,_0x52b2d2;_0x34f869>=0x0;_0x34f869--)(_0x52b2d2=_0x2aca30[_0x34f869])&&(_0x45e9f5=_0x52b2d2(_0x45e9f5)||_0x45e9f5);return _0x45e9f5;},_0x1415b1=(_0x2d7931,_0x2dde6e)=>(_0x21124d,_0x1b4a8a)=>_0x2dde6e(_0x21124d,_0x1b4a8a,_0x2d7931);let _0x5a7032=class extends _0x58b3ad['Disposable']{constructor(_0xdfdc59,_0x272439,_0x4ee4da,_0xd9b6b9,_0x4388c7,_0x1216ec,_0x241984,_0x401f40){const _0x22b08a=_0x4db1c3;super(),_0x1fc77e(this,_0x22b08a(0x254),new _0x6dabd3[(_0x22b08a(0x25f))](_0x2023db['CollaborationStatus']['NOT_COLLAB'])),(this[_0x22b08a(0x11d)]=_0xdfdc59,this['_collaborationController']=_0x272439,this[_0x22b08a(0x180)]=_0x4ee4da,this[_0x22b08a(0x26d)]=_0xd9b6b9,this[_0x22b08a(0x306)]=_0x4388c7,this[_0x22b08a(0x12c)]=_0x1216ec,this[_0x22b08a(0x394)]=_0x241984,this['_localeService']=_0x401f40,this[_0x22b08a(0x368)]());}[_0x4db1c3(0x368)](){const _0x573acf=_0x4db1c3;this[_0x573acf(0x212)](this['_collaborationController'][_0x573acf(0x141)][_0x573acf(0x39d)](_0x106b73=>{const _0x3f2c26=_0x573acf,_0x1371d6=this[_0x3f2c26(0x11d)]['docStateChange$'][_0x3f2c26(0x39d)](_0xe15a22=>{const _0x404bdb=_0x3f2c26;if(_0xe15a22==null)return;const {unitId:_0x39e43c,redoState:_0x25b3fc,commandId:_0x51e238}=_0xe15a22;if(_0x39e43c!==_0x106b73['unitID'])return;const _0x182417={'id':_0x51e238,'type':_0x58b3ad['CommandType'][_0x404bdb(0x21b)],'params':{'unitId':_0x39e43c,'actions':_0x25b3fc[_0x404bdb(0x321)],'textRanges':null}};_0x106b73[_0x404bdb(0x179)](_0x182417);});if(_0x106b73['disposeWithMe'](_0x1371d6),_0x106b73 instanceof _0x2023db[_0x3f2c26(0x1c6)]){const _0x3d56a2={'onTransformIME':_0x123a9d=>this[_0x3f2c26(0x180)][_0x3f2c26(0x153)](_0x123a9d),'onTransformState':_0x45c646=>this[_0x3f2c26(0x26d)][_0x3f2c26(0x21f)](_0x45c646),'onTransformSelections':_0x51890b=>this[_0x3f2c26(0x306)][_0x3f2c26(0x2e3)](_0x51890b),'onSyncEditingCollabCursor':_0x28bc14=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x28bc14),'onTransformRemoteChangesetByIMECache':_0x455ea0=>this[_0x3f2c26(0x180)][_0x3f2c26(0x16d)](_0x455ea0),'onTransformRemoteChangesetByStateCache':_0x575074=>this[_0x3f2c26(0x26d)]['transformRemoteChangeset'](_0x575074)};_0x106b73['addHandlerCallback'](_0x3d56a2);}}));}};_0x5a7032=_0x405458([_0x1415b1(0x0,_0x58b3ad[_0x4db1c3(0x257)](_0x2e0d09['DocStateChangeManagerService'])),_0x1415b1(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db[_0x4db1c3(0x2f3)])),_0x1415b1(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x1bcd8a)),_0x1415b1(0x3,_0x58b3ad[_0x4db1c3(0x257)](_0x25f93b)),_0x1415b1(0x4,_0x58b3ad[_0x4db1c3(0x257)](_0xfa4a5c)),_0x1415b1(0x5,_0x58b3ad[_0x4db1c3(0x257)](_0x5ba099)),_0x1415b1(0x6,_0x1a2ea0[_0x4db1c3(0x239)]),_0x1415b1(0x7,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x1ad)]))],_0x5a7032);var _0x4ca036=Object[_0x4db1c3(0x2ff)],_0xc66d06=(_0x32afce,_0xe04f0b,_0x25e4d4,_0x402ead)=>{const _0x1b97cb=_0x4db1c3;for(var _0xb6a961=_0x402ead>0x1?void 0x0:_0x402ead?_0x4ca036(_0xe04f0b,_0x25e4d4):_0xe04f0b,_0x40ea70=_0x32afce[_0x1b97cb(0x1d3)]-0x1,_0x33f75e;_0x40ea70>=0x0;_0x40ea70--)(_0x33f75e=_0x32afce[_0x40ea70])&&(_0xb6a961=_0x33f75e(_0xb6a961)||_0xb6a961);return _0xb6a961;},_0x1390ba=(_0x25ac3b,_0x3b391a)=>(_0x5caa35,_0x5e1979)=>_0x3b391a(_0x5caa35,_0x5e1979,_0x25ac3b);let _0x1e2bc7=class extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(_0x290cad,_0x4d5960,_0x3e0175){const _0x45f761=_0x4db1c3;super(),_0x1fc77e(this,'_cachedData',new Map()),_0x1fc77e(this,_0x45f761(0x24f),new Map()),_0x1fc77e(this,'_disabled',!0x1),(this['_configService']=_0x290cad,this[_0x45f761(0x312)]=_0x4d5960,this[_0x45f761(0x155)]=_0x3e0175);}['disableLocalCache'](){const _0x501287=_0x4db1c3;this[_0x501287(0x3a7)]=!0x0;}[_0x4db1c3(0x1f9)](){const _0x394a9a=_0x4db1c3;this[_0x394a9a(0x3a7)]=!0x1;}get[_0x4db1c3(0x24a)](){const _0x4ee889=_0x4db1c3;return this[_0x4ee889(0x24f)];}[_0x4db1c3(0x1c3)](){const _0x353fb2=_0x4db1c3;this[_0x353fb2(0x145)]()['then'](()=>super[_0x353fb2(0x1c3)]());}async[_0x4db1c3(0x37a)](_0x5d3464){const _0x9bb75d=_0x4db1c3;return this[_0x9bb75d(0x3a7)]?null:this[_0x9bb75d(0x312)][_0x9bb75d(0x331)](_0x2023db[_0x9bb75d(0x203)](_0x5d3464));}async[_0x4db1c3(0x241)](_0x1c7abd,_0x31abdc){const _0x553b81=_0x4db1c3;return!!this[_0x553b81(0x312)][_0x553b81(0x171)](_0x1c7abd,_0x31abdc);}[_0x4db1c3(0x35d)](_0x1df0b1,_0x262871,_0x5e6afc,_0x285574){const _0xe61e61=_0x4db1c3,_0x4b297a=this['_revisionService']['getCurrentRevOfUnit'](_0x1df0b1);this[_0xe61e61(0x363)][_0xe61e61(0x3b3)](_0x1df0b1,{'unitID':_0x1df0b1,'type':_0x262871,'awaitingChangeset':_0x5e6afc,'mutations':_0x285574,'rev':_0x4b297a}),this[_0xe61e61(0x24f)][_0xe61e61(0x35a)](_0x1df0b1)||this[_0xe61e61(0x135)](_0x1df0b1);}[_0x4db1c3(0x135)](_0x148e35){const _0xd12841=_0x4db1c3,_0x8606e5=this[_0xd12841(0x169)]();_0x8606e5===0x0?this[_0xd12841(0x247)](_0x148e35):this[_0xd12841(0x24f)][_0xd12841(0x3b3)](_0x148e35,setTimeout(()=>this[_0xd12841(0x247)](_0x148e35),_0x8606e5));}['_getSaveTimeout'](){const _0x3a5c23=_0x4db1c3;var _0xbb194c;return(_0xbb194c=this[_0x3a5c23(0x147)]['getConfig'](_0x2023db['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0xbb194c:_0x2023db[_0x3a5c23(0x2f0)];}['_saveCache'](_0x39e911){const _0x1c8d30=_0x4db1c3,_0x504a93=this[_0x1c8d30(0x24f)][_0x1c8d30(0x2c5)](_0x39e911);return _0x504a93!==void 0x0&&window[_0x1c8d30(0x3a5)](_0x504a93),this[_0x1c8d30(0x312)][_0x1c8d30(0x171)](_0x2023db['getLocalCacheKey'](_0x39e911),this[_0x1c8d30(0x363)][_0x1c8d30(0x2c5)](_0x39e911))[_0x1c8d30(0x2d5)](()=>this[_0x1c8d30(0x24f)][_0x1c8d30(0x309)](_0x39e911));}async[_0x4db1c3(0x145)](){const _0x574ce7=_0x4db1c3,_0x824e8b=[];this[_0x574ce7(0x24f)][_0x574ce7(0x341)]((_0x5b5688,_0x432d59)=>{const _0x185d86=_0x574ce7;window[_0x185d86(0x3a5)](_0x5b5688),_0x824e8b[_0x185d86(0x395)](this['_saveCache'](_0x432d59)[_0x185d86(0x2d5)](()=>{const _0x7d5abc=_0x185d86;this[_0x7d5abc(0x24f)][_0x7d5abc(0x309)](_0x432d59);}));}),await Promise[_0x574ce7(0x357)](_0x824e8b);}};_0x1e2bc7=_0xc66d06([_0x1390ba(0x0,_0x58b3ad['IConfigService']),_0x1390ba(0x1,_0x58b3ad['ILocalStorageService']),_0x1390ba(0x2,_0x58b3ad['Inject'](_0x44c456[_0x4db1c3(0x11c)]))],_0x1e2bc7);class _0x253271 extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(){const _0x528f47=_0x4db1c3;super(),_0x1fc77e(this,_0x528f47(0x1a1)),this[_0x528f47(0x1a1)]=_0x6dabd3[_0x528f47(0x27b)](window,_0x528f47(0x354))[_0x528f47(0x349)](_0x6dabd3[_0x528f47(0x2e7)](this[_0x528f47(0x125)]),_0x6dabd3[_0x528f47(0x292)](0x1),_0x6dabd3[_0x528f47(0x2a3)](void 0x0));}[_0x4db1c3(0x26e)](_0x49f110,_0x3f7357,_0x297029=!0x1){const _0x264713=_0x4db1c3,_0x446bfa=new URL(window[_0x264713(0x26f)]['href']);_0x446bfa['searchParams'][_0x264713(0x3b3)](_0x49f110,_0x3f7357),_0x297029?window['history'][_0x264713(0x2ab)]('','',_0x446bfa[_0x264713(0x185)]()):window['history'][_0x264713(0x2cc)]('','',_0x446bfa[_0x264713(0x185)]());}[_0x4db1c3(0x2f6)](_0x5410fe,_0x3ee81f=!0x1){const _0x15ef3c=_0x4db1c3,_0x4a9fef=new URL(window[_0x15ef3c(0x26f)][_0x15ef3c(0x1d5)]);_0x4a9fef['searchParams'][_0x15ef3c(0x309)](_0x5410fe),_0x3ee81f?window[_0x15ef3c(0x1b8)]['replaceState']('','',_0x4a9fef['toString']()):window[_0x15ef3c(0x1b8)][_0x15ef3c(0x2cc)]('','',_0x4a9fef[_0x15ef3c(0x185)]());}[_0x4db1c3(0x2a7)](_0x44b334){const _0x3d7d89=_0x4db1c3;var _0x211876;return(_0x211876=new URL(window['location'][_0x3d7d89(0x1d5)])[_0x3d7d89(0x2ac)][_0x3d7d89(0x2c5)](_0x44b334))!=null?_0x211876:void 0x0;}}var _0x23fbaf=Object[_0x4db1c3(0x18c)],_0xacffd6=Object[_0x4db1c3(0x2ff)],_0x3eb885=(_0xb3ce3,_0x24fd2f,_0x10ce97)=>_0x24fd2f in _0xb3ce3?_0x23fbaf(_0xb3ce3,_0x24fd2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10ce97}):_0xb3ce3[_0x24fd2f]=_0x10ce97,_0x321123=(_0x216465,_0x1272f4,_0x571938,_0x144bf5)=>{const _0x31d5c4=_0x4db1c3;for(var _0x8a9c54=_0x144bf5>0x1?void 0x0:_0x144bf5?_0xacffd6(_0x1272f4,_0x571938):_0x1272f4,_0x4b3656=_0x216465[_0x31d5c4(0x1d3)]-0x1,_0x43af5d;_0x4b3656>=0x0;_0x4b3656--)(_0x43af5d=_0x216465[_0x4b3656])&&(_0x8a9c54=_0x43af5d(_0x8a9c54)||_0x8a9c54);return _0x8a9c54;},_0x55b6ad=(_0x1106b5,_0x1cefca)=>(_0x41fb29,_0x52d8ea)=>_0x1cefca(_0x41fb29,_0x52d8ea,_0x1106b5),_0xf8aeec=(_0x2ab365,_0x30dca6,_0x49438d)=>_0x3eb885(_0x2ab365,_0x30dca6+'',_0x49438d);const _0x4e8c98='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x58baf5[_0x4db1c3(0x1b2)]=class extends _0x58b3ad[_0x4db1c3(0x34c)]{constructor(_0x3bedc1=_0x5ce969,_0x5cad64,_0x38802f,_0x4f6b5f){const _0x3d115c=_0x4db1c3;super(),this[_0x3d115c(0x3a4)]=_0x3bedc1,this[_0x3d115c(0x32f)]=_0x5cad64,this[_0x3d115c(0x25e)]=_0x38802f,this[_0x3d115c(0x147)]=_0x4f6b5f;const {..._0x587ac0}=_0x58b3ad[_0x3d115c(0x28a)]({},_0x5ce969,this[_0x3d115c(0x3a4)]);this[_0x3d115c(0x147)][_0x3d115c(0x35e)](_0x121401,_0x587ac0);}['onStarting'](){const _0x4efb3b=_0x4db1c3;this[_0x4efb3b(0x137)](),this[_0x4efb3b(0x326)]();}[_0x4db1c3(0x36e)](){const _0xcd3aec=_0x4db1c3;this[_0xcd3aec(0x3b6)]();}[_0x4db1c3(0x137)](){const _0x3b7efa=_0x4db1c3;var _0x51ccc0;const _0x348c19=[[_0x3b2cd0],[_0xfa4a5c],[_0x1bcd8a],[_0x25f93b],[_0x5ba099],[_0x5b0fb3,{'useClass':_0x253271}],[_0x22d557[_0x3b7efa(0x163)],{'useClass':_0x22d557[_0x3b7efa(0x1ba)]}],[_0x2023db['ILocalCacheService'],{'useClass':_0x1e2bc7}],[_0x58baf5['DesktopCollaborationStatusDisplayController']],[_0x5a7032],[_0xf7f3cb],[_0x37f18b],[_0x10030f],[_0x58baf5['CollaborationDataLoaderController']]];_0x58b3ad[_0x3b7efa(0x120)](this['_injector'],_0x58b3ad[_0x3b7efa(0x1ae)](_0x348c19,(_0x51ccc0=this[_0x3b7efa(0x3a4)])==null?void 0x0:_0x51ccc0['override']));}[_0x4db1c3(0x3b6)](){const _0xdf7baf=_0x4db1c3;this[_0xdf7baf(0x212)](this[_0xdf7baf(0x32f)][_0xdf7baf(0x228)](_0x58b3ad[_0xdf7baf(0x382)]['UNIVER_DOC'],[_0x250bc8])),this[_0xdf7baf(0x212)](this[_0xdf7baf(0x32f)][_0xdf7baf(0x228)](_0x58b3ad[_0xdf7baf(0x382)][_0xdf7baf(0x33c)],[_0x82a8ef]));}[_0x4db1c3(0x326)](){const _0x2a3cdb=_0x4db1c3;_0x58b3ad[_0x2a3cdb(0x1df)](this[_0x2a3cdb(0x25e)],[[_0x37f18b],[_0x58baf5[_0x2a3cdb(0x3b4)]],[_0x5a7032],[_0xf7f3cb],[_0x58baf5[_0x2a3cdb(0x14a)]]]);}},_0xf8aeec(_0x58baf5[_0x4db1c3(0x1b2)],'pluginName',_0x4e8c98),_0x58baf5[_0x4db1c3(0x1b2)]=_0x321123([_0x58b3ad['DependentOn'](_0x2023db[_0x4db1c3(0x225)]),_0x55b6ad(0x1,_0x839618[_0x4db1c3(0x3a3)]),_0x55b6ad(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x55b6ad(0x3,_0x58b3ad['IConfigService'])],_0x58baf5[_0x4db1c3(0x1b2)]);var _0x28ec92=Object['getOwnPropertyDescriptor'],_0xca9509=(_0x2abcd9,_0x37980e,_0x35521c,_0x4b3ed7)=>{const _0x219842=_0x4db1c3;for(var _0x3baebd=_0x4b3ed7>0x1?void 0x0:_0x4b3ed7?_0x28ec92(_0x37980e,_0x35521c):_0x37980e,_0x31aad7=_0x2abcd9[_0x219842(0x1d3)]-0x1,_0x23fe89;_0x31aad7>=0x0;_0x31aad7--)(_0x23fe89=_0x2abcd9[_0x31aad7])&&(_0x3baebd=_0x23fe89(_0x3baebd)||_0x3baebd);return _0x3baebd;},_0x40a579=(_0x4df6fa,_0x532efd)=>(_0x1a5acc,_0x20b18a)=>_0x532efd(_0x1a5acc,_0x20b18a,_0x4df6fa);_0x58baf5[_0x4db1c3(0x259)]=class extends _0x2023db[_0x4db1c3(0x369)]{constructor(_0x2c48fa,_0x4d57c9,_0x34899e,_0x317705,_0x222ecd){super(_0x2c48fa,_0x4d57c9,_0x34899e,_0x317705,_0x222ecd);}async[_0x4db1c3(0x283)](_0x355bef){const _0x40ef92=_0x4db1c3,_0x2ddaf7=await this[_0x40ef92(0x3b5)](),_0x2263ea=this['_createSocketURL'](_0x355bef,_0x2ddaf7);return this['_doCreateSocket'](_0x2263ea);}[_0x4db1c3(0x2d7)](_0x5ad2cd,_0x18f14a){const _0x217376=_0x4db1c3,_0x21e464=typeof window>'u'?new URL(_0x5ad2cd):new URL(_0x5ad2cd,window[_0x217376(0x26f)][_0x217376(0x39b)]);_0x21e464[_0x217376(0x2ac)][_0x217376(0x3b3)](_0x217376(0x2b0),_0x18f14a);const _0x3ac599=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x3ac599[_0x217376(0x2c5)](_0x217376(0x385))&&_0x21e464[_0x217376(0x2ac)][_0x217376(0x3b3)]('runId',_0x3ac599[_0x217376(0x2c5)](_0x217376(0x385))),_0x21e464[_0x217376(0x185)]();}async[_0x4db1c3(0x3b5)](){const _0x384d13=_0x4db1c3;var _0xf82a5c,_0x38e292,_0x166d96;const _0xc22714=this[_0x384d13(0x147)][_0x384d13(0x16e)](_0x2023db[_0x384d13(0x3b8)]),_0x535e7e=(_0xf82a5c=_0xc22714==null?void 0x0:_0xc22714[_0x384d13(0x3b0)])!=null?_0xf82a5c:_0x2023db[_0x384d13(0x175)];return(_0x166d96=(_0x38e292=(await this[_0x384d13(0x2f5)]['get'](_0x535e7e,{'headers':{'Content-Type':_0x384d13(0x12a)}}))[_0x384d13(0x12e)])==null?void 0x0:_0x38e292[_0x384d13(0x38d)])!=null?_0x166d96:'';}},_0x58baf5[_0x4db1c3(0x259)]=_0xca9509([_0x40a579(0x0,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x40a579(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x22d557[_0x4db1c3(0x21a)])),_0x40a579(0x2,_0x58b3ad[_0x4db1c3(0x348)]),_0x40a579(0x3,_0x58b3ad[_0x4db1c3(0x128)]),_0x40a579(0x4,_0x44c456['ISnapshotServerService'])],_0x58baf5[_0x4db1c3(0x259)]);const _0x518857=0x7530,_0x1fdee7=_0x4db1c3(0x2b2);class _0x395c4c extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(){const _0x24f3b8=_0x4db1c3;super(),_0x1fc77e(this,_0x24f3b8(0x268),_0x58b3ad[_0x24f3b8(0x308)]()),_0x1fc77e(this,'_selfUnitIDs',new Set()),_0x1fc77e(this,_0x24f3b8(0x269),new Map()),_0x1fc77e(this,_0x24f3b8(0x2ed),null),_0x1fc77e(this,_0x24f3b8(0x32d),new Map()),_0x1fc77e(this,'_unitStatus',new Map()),this[_0x24f3b8(0x173)]();}[_0x4db1c3(0x1c3)](){const _0x244041=_0x4db1c3;super['dispose'](),this[_0x244041(0x32d)][_0x244041(0x341)]((_0x4fdd74,_0x2cb42c)=>this[_0x244041(0x2fe)](_0x2cb42c)),this['_heartbeatTimer']&&window[_0x244041(0x271)](this[_0x244041(0x2ed)]);}[_0x4db1c3(0x199)](_0xc3b67d){const _0x413b23=_0x4db1c3;return this[_0x413b23(0x2b8)](_0xc3b67d)[_0x413b23(0x349)](_0x6dabd3['distinctUntilChanged']());}[_0x4db1c3(0x19d)](_0x2722aa){const _0x5777a2=_0x4db1c3;this[_0x5777a2(0x280)][_0x5777a2(0x364)]===0x0&&this[_0x5777a2(0x20e)](),this[_0x5777a2(0x280)][_0x5777a2(0x134)](_0x2722aa),this[_0x5777a2(0x223)]({'type':0x0,'memberID':this[_0x5777a2(0x268)],'unitIDs':[_0x2722aa],'isForwarded':!0x1});}['disposeUnit'](_0x550106){const _0x1b4d98=_0x4db1c3;this[_0x1b4d98(0x280)][_0x1b4d98(0x309)](_0x550106),this[_0x1b4d98(0x280)][_0x1b4d98(0x364)]===0x0&&this['_heartbeatTimer']&&window[_0x1b4d98(0x271)](this[_0x1b4d98(0x2ed)]);}[_0x4db1c3(0x173)](){const _0x1c32b4=_0x4db1c3;this['disposeWithMe'](_0x58b3ad[_0x1c32b4(0x174)](_0x6dabd3['fromEvent'](window,_0x1c32b4(0x1ec))[_0x1c32b4(0x39d)](_0x1042a8=>{const _0x116482=_0x1c32b4;if(_0x1042a8['key']!==_0x1fdee7||!_0x1042a8[_0x116482(0x381)])return;const _0x22babb=JSON[_0x116482(0x146)](_0x1042a8[_0x116482(0x381)]);this[_0x116482(0x361)](_0x22babb);}))),window['addEventListener'](_0x1c32b4(0x19e),()=>this['_send']({'type':0x1,'memberID':this[_0x1c32b4(0x268)],'unitIDs':Array[_0x1c32b4(0x2e0)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x2c5e7e){const _0x8297b8=_0x4db1c3;switch(_0x2c5e7e['type']){case 0x0:this['_handleJoinEvent'](_0x2c5e7e);break;case 0x1:this[_0x8297b8(0x1be)](_0x2c5e7e);break;case 0x2:this[_0x8297b8(0x305)](_0x2c5e7e);break;}}[_0x4db1c3(0x23a)](_0x31e332){const _0x7dc35c=_0x4db1c3,{unitIDs:_0x661f66,memberID:_0x3276e5,isForwarded:_0x21f8c6}=_0x31e332;_0x661f66[_0x7dc35c(0x341)](_0x1b1f6c=>{const _0x582836=_0x7dc35c;if(!_0x21f8c6&&this[_0x582836(0x269)][_0x582836(0x35a)](_0x1b1f6c)&&this[_0x582836(0x2b8)](_0x1b1f6c)[_0x582836(0x23b)](_0x2023db[_0x582836(0x1b7)][_0x582836(0x23d)]),!this[_0x582836(0x269)][_0x582836(0x35a)](_0x1b1f6c)||!this[_0x582836(0x269)]['get'](_0x1b1f6c)[_0x582836(0x35a)](_0x3276e5)){const _0x4691e6=this['_unitOnClients'][_0x582836(0x2c5)](_0x1b1f6c)||new Set();_0x4691e6['add'](_0x3276e5),this[_0x582836(0x269)]['set'](_0x1b1f6c,_0x4691e6),this[_0x582836(0x34f)](_0x3276e5);}}),_0x21f8c6||this[_0x7dc35c(0x223)]({'type':0x0,'memberID':this[_0x7dc35c(0x268)],'unitIDs':[...this[_0x7dc35c(0x280)]],'isForwarded':!0x0});}[_0x4db1c3(0x34f)](_0x5093fe){const _0x32b68f=_0x4db1c3;this[_0x32b68f(0x2fe)](_0x5093fe);const _0x2f8887=window[_0x32b68f(0x116)](()=>{const _0x5041d5=_0x32b68f;this['_unitOnClients'][_0x5041d5(0x341)](_0x23030c=>{const _0x28bbd9=_0x5041d5;_0x23030c[_0x28bbd9(0x309)](_0x5093fe);});},_0x518857*0x2);this[_0x32b68f(0x32d)][_0x32b68f(0x3b3)](_0x5093fe,_0x2f8887);}[_0x4db1c3(0x2fe)](_0x21e13c){const _0x201959=_0x4db1c3;if(this[_0x201959(0x32d)][_0x201959(0x35a)](_0x21e13c)){const _0x136cd9=this[_0x201959(0x32d)][_0x201959(0x2c5)](_0x21e13c);_0x136cd9&&window[_0x201959(0x3a5)](_0x136cd9),this[_0x201959(0x32d)][_0x201959(0x3b3)](_0x21e13c,null);}}[_0x4db1c3(0x1be)](_0x3ed2b6){const _0x253628=_0x4db1c3,{memberID:_0x5a5aa8,unitIDs:_0x55e65d}=_0x3ed2b6;_0x55e65d[_0x253628(0x341)](_0x1be258=>{const _0x3b97cf=_0x253628;var _0x8ae45c;const _0x232daa=this[_0x3b97cf(0x269)][_0x3b97cf(0x2c5)](_0x1be258);_0x232daa&&(_0x232daa[_0x3b97cf(0x309)](_0x5a5aa8),(_0x8ae45c=this[_0x3b97cf(0x2b8)](_0x1be258))==null||_0x8ae45c['next'](_0x232daa[_0x3b97cf(0x364)]===0x0?_0x2023db['UnitStatus'][_0x3b97cf(0x133)]:_0x2023db[_0x3b97cf(0x1b7)][_0x3b97cf(0x23d)]));}),this[_0x253628(0x2fe)](_0x5a5aa8);}[_0x4db1c3(0x305)](_0x49055a){const _0x2ea774=_0x4db1c3;this['_scheduleClearOtherTimer'](_0x49055a[_0x2ea774(0x2f8)]);}['_send'](_0x5a6a44){const _0xd3b650=_0x4db1c3;localStorage[_0xd3b650(0x171)](_0x1fdee7,JSON['stringify'](_0x5a6a44));}[_0x4db1c3(0x20e)](){const _0x5840ca=_0x4db1c3;this[_0x5840ca(0x2ed)]=window[_0x5840ca(0x131)](()=>{const _0x4027ab=_0x5840ca;this[_0x4027ab(0x223)]({'type':0x2,'memberID':this[_0x4027ab(0x268)]});},_0x518857);}['_ensureSubject'](_0x476a54){const _0xa35928=_0x4db1c3;return this[_0xa35928(0x2b5)][_0xa35928(0x35a)](_0x476a54)||this[_0xa35928(0x2b5)][_0xa35928(0x3b3)](_0x476a54,new _0x6dabd3['BehaviorSubject'](_0x2023db[_0xa35928(0x1b7)][_0xa35928(0x133)])),this[_0xa35928(0x2b5)]['get'](_0x476a54);}}var _0x45bb59=(_0x33e952=>(_0x33e952[_0x33e952[_0x4db1c3(0x19c)]=0x0]=_0x4db1c3(0x19c),_0x33e952[_0x33e952['OK']=0x1]='OK',_0x33e952[_0x33e952[_0x4db1c3(0x1fa)]=0x2]=_0x4db1c3(0x1fa),_0x33e952[_0x33e952[_0x4db1c3(0x13b)]=0x3]=_0x4db1c3(0x13b),_0x33e952[_0x33e952['NOT_FOUND']=0x4]='NOT_FOUND',_0x33e952[_0x33e952[_0x4db1c3(0x1d7)]=0x5]='UNAUTHENTICATED',_0x33e952[_0x33e952[_0x4db1c3(0x221)]=0x6]='ALREADY_EXISTS',_0x33e952[_0x33e952[_0x4db1c3(0x31e)]=0x7]=_0x4db1c3(0x31e),_0x33e952[_0x33e952[_0x4db1c3(0x18f)]=0x8]=_0x4db1c3(0x18f),_0x33e952[_0x33e952['COMPLETION_FINISHED']=0x9]=_0x4db1c3(0x177),_0x33e952[_0x33e952['LOGIN_FAILED']=0xa]=_0x4db1c3(0x2aa),_0x33e952[_0x33e952[_0x4db1c3(0x34a)]=0x1389]=_0x4db1c3(0x34a),_0x33e952[_0x33e952[_0x4db1c3(0x288)]=0x1771]=_0x4db1c3(0x288),_0x33e952[_0x33e952['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4db1c3(0x1f6),_0x33e952[_0x33e952['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x33e952[_0x33e952['APPLY_REJECT']=0x1b59]=_0x4db1c3(0x27e),_0x33e952[_0x33e952[_0x4db1c3(0x209)]=0x1b5a]=_0x4db1c3(0x209),_0x33e952[_0x33e952[_0x4db1c3(0x129)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x33e952[_0x33e952[_0x4db1c3(0x1e5)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x33e952[_0x33e952[_0x4db1c3(0x39c)]=0x1b5d]=_0x4db1c3(0x39c),_0x33e952[_0x33e952[_0x4db1c3(0x291)]=0x1f41]=_0x4db1c3(0x291),_0x33e952[_0x33e952[_0x4db1c3(0x376)]=0x2329]=_0x4db1c3(0x376),_0x33e952[_0x33e952['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x33e952[_0x33e952['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4db1c3(0x281),_0x33e952[_0x33e952['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4db1c3(0x1f0),_0x33e952[_0x33e952[_0x4db1c3(0x2ca)]=0x232d]=_0x4db1c3(0x2ca),_0x33e952[_0x33e952['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4db1c3(0x1f8),_0x33e952[_0x33e952[_0x4db1c3(0x294)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x33e952[_0x33e952[_0x4db1c3(0x304)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x33e952[_0x33e952[_0x4db1c3(0x317)]=0x2714]=_0x4db1c3(0x317),_0x33e952[_0x33e952[_0x4db1c3(0x325)]=0x271a]=_0x4db1c3(0x325),_0x33e952[_0x33e952['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4db1c3(0x324),_0x33e952[_0x33e952[_0x4db1c3(0x1a8)]=0x271c]=_0x4db1c3(0x1a8),_0x33e952[_0x33e952[_0x4db1c3(0x2c0)]=0x271d]=_0x4db1c3(0x2c0),_0x33e952[_0x33e952[_0x4db1c3(0x356)]=0x271e]=_0x4db1c3(0x356),_0x33e952[_0x33e952[_0x4db1c3(0x1c4)]=0x271f]=_0x4db1c3(0x1c4),_0x33e952[_0x33e952[_0x4db1c3(0x1d1)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x33e952[_0x33e952['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4db1c3(0x244),_0x33e952[_0x33e952['INVALID_INVITE_CODE']=0x2ee2]=_0x4db1c3(0x2db),_0x33e952[_0x33e952[_0x4db1c3(0x20b)]=0x2ee3]=_0x4db1c3(0x20b),_0x33e952[_0x33e952['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4db1c3(0x1d2),_0x33e952[_0x33e952[_0x4db1c3(0x1e3)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x33e952[_0x33e952[_0x4db1c3(0x1ac)]=0x32c9]=_0x4db1c3(0x1ac),_0x33e952[_0x33e952[_0x4db1c3(0x2f7)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x33e952[_0x33e952['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4db1c3(0x3ab),_0x33e952[_0x33e952[_0x4db1c3(0x300)]=-0x1]=_0x4db1c3(0x300),_0x33e952))(_0x45bb59||{}),_0x56bcc8=Object['getOwnPropertyDescriptor'],_0xafe619=(_0x423681,_0x257aef,_0x390de4,_0x127fa9)=>{for(var _0x35d9bb=_0x127fa9>0x1?void 0x0:_0x127fa9?_0x56bcc8(_0x257aef,_0x390de4):_0x257aef,_0x444f6d=_0x423681['length']-0x1,_0x3d844c;_0x444f6d>=0x0;_0x444f6d--)(_0x3d844c=_0x423681[_0x444f6d])&&(_0x35d9bb=_0x3d844c(_0x35d9bb)||_0x35d9bb);return _0x35d9bb;},_0x44a1cf=(_0x5a70c5,_0x3c37c3)=>(_0x2ad1cf,_0x111362)=>_0x3c37c3(_0x2ad1cf,_0x111362,_0x5a70c5);_0x58baf5['RemoteUniscriptService']=class extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(_0x31efdf,_0x431347,_0x579ee8){const _0x4a1947=_0x4db1c3;super(),this[_0x4a1947(0x168)]=_0x31efdf,this['_httpService']=_0x431347,this[_0x4a1947(0x147)]=_0x579ee8;}async[_0x4db1c3(0x21d)](_0x1f7fbd,_0x23a517,_0xf39e70,..._0x5940a0){const _0x52116d=_0x4db1c3;var _0x4009e3,_0xdc5772,_0x17b7f4,_0x5af63c;const _0x2f5c42=this[_0x52116d(0x168)][_0x52116d(0x24d)]();if(!_0x2f5c42)throw new Error(_0x52116d(0x358));const _0x4bc0df=((_0x4009e3=this[_0x52116d(0x147)][_0x52116d(0x16e)](_0x2023db[_0x52116d(0x2b7)]))!=null?_0x4009e3:_0x2023db['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1f7fbd+'/run/'+_0x23a517,_0x1ba3b9=new URL(window[_0x52116d(0x26f)][_0x52116d(0x1d5)]),_0x42f873={'scriptId':_0x1f7fbd,'runId':(_0xdc5772=_0x1ba3b9[_0x52116d(0x2ac)][_0x52116d(0x2c5)]('runId'))!=null?_0xdc5772:'','function':_0x23a517,'unitId':_0x2f5c42[_0x52116d(0x238)](),'argsOfFunction':JSON[_0x52116d(0x277)](_0x5940a0),'invokeId':(_0x17b7f4=_0xf39e70[_0x52116d(0x327)])!=null?_0x17b7f4:'','executionId':(_0x5af63c=_0xf39e70['executionId'])!=null?_0x5af63c:''};try{const _0x294695=await this[_0x52116d(0x2f5)]['post'](_0x4bc0df,{'body':_0x42f873});return _0x294695[_0x52116d(0x12e)][_0x52116d(0x1f2)]&&_0x294695[_0x52116d(0x12e)][_0x52116d(0x1f2)][_0x52116d(0x3b2)]!==_0x45bb59['OK']?_0x52116d(0x287):_0x294695[_0x52116d(0x12e)][_0x52116d(0x355)];}catch{return _0x52116d(0x287);}}},_0x58baf5[_0x4db1c3(0x1a4)]=_0xafe619([_0x44a1cf(0x0,_0x58b3ad[_0x4db1c3(0x30d)]),_0x44a1cf(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x22d557[_0x4db1c3(0x21a)])),_0x44a1cf(0x2,_0x58b3ad[_0x4db1c3(0x348)])],_0x58baf5['RemoteUniscriptService']),_0x58baf5[_0x4db1c3(0x334)]=_0x478902,_0x58baf5[_0x4db1c3(0x2d2)]=_0x5b0fb3,_0x58baf5[_0x4db1c3(0x200)]=_0x2f939e,_0x58baf5[_0x4db1c3(0x115)]=_0x395c4c,_0x58baf5[_0x4db1c3(0x30c)]=_0x253271,Object[_0x4db1c3(0x18c)](_0x58baf5,Symbol['toStringTag'],{'value':_0x4db1c3(0x275)});}));
|
|
1
|
+
function _0x1ddf(){const _0x331929=['YUUMI_TABLE_NOT_FOUND_IN_UNIT','searchParams','UnitStatus','ILocalStorageService','LICENSE_IMPORT_SIZE_EXCEEDED','_handleHover','post','_localStorageService','CHANGESET_REVISION_CONFILICT','_sheetSkeletonManagerService','disposeWithMe','_registerRenderDependencies','_updateLocalCursor','UniverSheets','_transformUndoRedoStack','black','registerRenderModule','SessionStatus','data','uni.network.url-service','_config','UniverProCollaborationClient','substring','unitID','ALREADY_EXISTS','SNAPSHOT_INVALID_SNAPSHOT','JOIN_ROOM_FAILED','...','RevisionService','Vector2','none','@univerjs/design','collabStatus.synced','top','contains','MOBILE_HAS_BEEN_BOUND','CollaborationEvent','UniverProCollaboration','beginPath','_handleJoinEvent','_session','replaceState','@univerjs/ui','width','EMAIL_HAS_BEEN_BOUND','font','handleIRemoveCol','debounceTime','CollaborationDataLoaderController','handleInsertRangeMoveRight','Rect','getValue','INVITE_CODE_ALREADY_BOUND','switchMap','requireSession','updateOfflineData','collabStatus.notCollab','Error','collaboration.closeRoom','propertyIsEnumerable','fromEvent','operators','univer-flex\x20univer-mr-2\x20univer-text-xl','getCurrentRevOfUnit','textRanges','_hovered','all','_cursor','getRangePointData','engine','bottom','then','_scene','@univerjs/docs-ui','CollaborationSocketService','YUUMI_AI_RUN_FAILED','colorChannel1','_docSkeletonManagerService','mergeOverrideWithDependencies','_send','UniverCollaborationClientPlugin','drawWith','_updateSubUnitFromURLParams','_drawTextRange','resize','exhaustSavingTask','_ensureSubject','syncEditingCollabCursor','IDocClipboardService','_hideTimer','DocCollaborationEntity','connectInjector','OTHER_CLIENTS_EDITING','_initStatusListener','show','getVpScrollXYInfoByPosToVp','WebSocketService','Disposable','isArray','_init','_toggleOffline','getLocalCacheKey','setUndoRedoMutationParamsCache','_docTransformStateCacheService','OnLineSingle','off-line-single','Injector','loadOfflineData','_instanceService','BrowserCollaborationSocketService','_dataLoaderService','code','getColorFromTheme','_heartbeatTimer','executeCommand','@univerjs/core','getColor','yellow.400','_status$','serializeRangeWithSheet','_themeService','Warning','YUUMI_ASYNCIO_CANCELLED','_httpService','saveOfflineData','RegularPolygon','session.collaboration-timeout','ONLINE','_colorIndex','doc.mutation.rich-text-editing','_assignedColors','Tools','getDocRanges','_entityInit$','getParam','327190wabSok','INVALID_ARGUMENT','send','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_saveCache','_docTransformSelectionsService','length','_textBubble','_drawAnchor','SNAPSHOT_HAS_BEEN_REMOVED','DisposableCollection','saveImage','addObject','_initDependencies','YUUMI_URL_COL_OUT_OF_RANGE','href','UniverCore','translate(.97)','indexOf','restore','_saveTaskMap','_scheduleHeartbeat','IRemoteInstanceService','set','_cachedData','collabStatus.conflict','onRendered','@univerjs/sheets-ui','_selfUnitIDs','event$','3417uEMXlG','INVITE_CODE_HAS_BEEN_UES','function','override','replaceDocRanges','triggerDblclick','NodePositionConvertToCursor','map','find','defineProperty','BuiltInUIPart','status$','className','handleInsertRow','Plugin','_onRefRangeChange','_transformHistoryAndStateStack','fill','APPLY_DUPLICATED','params','SetWorksheetActivateCommand','getConfig','undoState','invokeId','USERS_LEAVE','extend','_onCursorUpdate','_anchorDot','assignAColorForMemberID','docStateChange$','_uiPartsService','idSuffix','DeleteRangeMoveUpCommandId','labelPosition','UNRECOGNIZED','263898aYofCD','merge','TRANSFORM_CHANGE_OBSERVABLE_TYPE','setConfig','_initEntityListener','getCellPositionByOffset','_transformService','UniverEngineFormula','_unitStatus','_cursorShapes','url(#on-line-single_clip0_910_349)','min','setInterval','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','@univerjs/engine-formula','_cursors','_toggleOnline','session.will-retry','assign','NOT_COLLAB','IUIPartsService','_handleLeaveEvent','jsx','InsertRangeMoveDownCommandId','asObservable','debounce','_context','WECHAT_HAS_BEEN_BOUND','deserializeRangeWithSheet','collab-client.tooltip.reconnect','/run/','getRelativeToViewportCoord','toString','hovered','_docStateChangeManagerService','getItem','origin','ISnapshotServerService','isActive','_createSocketURL','getSheetId','saveTaskMap','_collabSessionService','ticket','_entities','permission.content','mutations','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_memberService','fromEventSubject','clearTimeout','OffLineSingle','_roomMembers$','defs','on-line-single_clip0_910_349','getMemberID','loadUnit','ISocketService','displayName','INTERNAL_ERROR','_scheduleClearOtherTimer','DOC_RANGE_TYPE','_docClipboardService','RECT','Optional','getCurrentSelections','EffectRefRangId','svg','YUUMI_NO_CUBOID_FOR_QUESTION','setActiveRange','Rectangle','ENSURE_SNAPSHOT_EXECUTION','@univerjs-pro/collaboration-client','Shape','_injector','setParam','_shapes','_commandService','replace','getOwnPropertyDescriptor','react/jsx-runtime','MessageType','592413oxdinV','DocIMEInputManagerService','history','createElement','endColumn','getCoordByCell','_cursorInfo$','collaboration-client.offline-data-not-saved','_updateCollabCursors','getAncestorScale','from','ILocalCacheService','touchDependencies','result','off-line-single_clip0_910_343','IUniverInstanceService','setTimeout','get','MUTATION','children','135rIHfwG','apply','_handleHeartbeatEvent','runId','_refRangeService','UniverDocs','registerRefRange','addClipboardHook','getCurrent','UniverIcon','_localCacheService','string','redoState','endRow','_removeCollabCursors','LICENSE_EXPORT_SIZE_EXCEEDED','8376822jGDQxu','evenodd','shareReplay','session.connection-failed','unsubscribe','combineLatest','_collabCursorController','tag','hasOwnProperty','INotificationService','ITransformService','subscribeEvent','_collabCursorState$','setItem','selections','_refreshCollabCursors','INVITE_CODE_REQUIRED','wsSessionTicketUrl','CollaborationStatusDisplay','LOCAL_CACHE_INTERVAL','fillRule','CollaborationController','useCallback','Unknown\x20user','getSheetObject','SetSelectionsOperation','createInstance','OTHER_CLIENT_EDITING','IBeforeCloseService','currentColor','YUUMI_ALL_TABLES_IS_INVALID','OFFLINE','color','_labelPosition','setAlpha','newValue','closePath','_render','1688OdlsEd','transformRemoteChangeset','concat','currentTheme$','NOT_FOUND','UNAUTHENTICATED','MoveRangeCommandId','LICENSE_DISTRO_REJECTED','toDisposable','transformIMECache','subunit','CONFLICT','IMessageService','getSheetBySheetId','LOGIN_FAILED','TOO_MANY_REQUESTS','VIEW_MAIN','ICommandService','_syncEditingCollabCursorService','YUUMI_RATE_OVER_LIMIT','roomMembers$','@univerjs/docs','onTransformChange$','LOCAL_CACHE_INTERVAL_KEY','transformMutation','UniverProCollaborationClientUi','_drawRectRange','getFocusedUnit','_setupSubUnitSync','UniverInstanceType','moveTo','rgba(255,\x20255,\x20255,\x200.01)','_initCommandExecutedListener','SYNCED','InsertRangeMoveRightCommandId','WebURLService','_anchor','init','removeParam','_urlService','useDependency','CONNECTOR_DATA_TOO_LARGE','unshift','_id','UniverDesign','location','body','with','collabStatus.offline','1441hInQJa','_doCreateSocket','getTypeOfUnitAdded$','getCollabCursors$','subscribe','react','m2Prime','198330udAYcW','isTransformMutationsWithChangesetSuccess','next','Module','name','_draw','199624RlAvZE','_renderManagerService','green.600','sessionTicket','isEditing','subUnitId','forwardRef','UPDATE_CURSOR','size','fillText','APPLY_REJECT','call','fillStyle','unitId','prototype','getSkeleton','NO_OTHER_CLIENTS_EDITING','_getAnchorBounding','round','runRefRangeMutations','RxDisposable','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','M0\x200H16V16H0z','transformMutationsWithChangeset','_colorAssignService','_collaborationUIEventService','_color','getRenderById','onPointerLeave$','permission.title','SHEET_VIEWPORT_KEY','onLocalMutation','_registerDependencies','column','symbol','@univerjs-pro/collaboration','attrs','IURLService','runOnServer','_univerInstanceService','HTTPService','handleMoveRange','random','_initEvent','backgroundColor','executionId','_imageIoService','PERMISSION_DENIED','USER_NOT_INVITED_CODE','_backgroundColor','IConfigService','entityInit$','selection','_collaborationController','_docTransformIMECacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_eventUnsubscribe','getOwnPropertySymbols','UNIVER_DOC','takeUntil','CollaborationStatus','#fff','DesktopCollaborationStatusDisplayController','Inject','_startDocCollabCursor','_configService','m1Prime','object','setStateCache','getStateCache','pushState','_unitOnClients','filter','getOffsetConfig','collab-text-anchor-','mapTo','push','jiqing.500','React','range','useRef','height','makeDirty','_getScale','LICENSE_MAX_UNITS_EXCEEDED','INVALID_INVITE_CODE','ThemeService','lineTo','_notificationService','univerjs-icon\x20univerjs-icon-','clipPath','TEXT_RANGE_LAYER_INDEX','_updateURLWithCurrentState','_startSheetCollabCursor','onMouseMove','forEach','values','_docSyncEditingCollabCursorService','YUUMI_SUBSCRIPTION_NOT_FOUND','isTransformMutationFailure','getMember','UniverEngineRender','LocaleService','onStarting','stringify','registerDependencies','getTypeOfUnitDisposed$','_scheduleSaving','onPointerMove$','eventID','DocStateChangeManagerService','COLORS','handleIRemoveRow','#FFF','_removeClearOtherTimer','AWAITING_WITH_PENDING','enableLocalCache','key','getViewport','toRgbString','COMPLETION_FINISHED','clearInterval','unit','getUndoRedoMutationParamsCache','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','current','APPLY_REVISION_CONFILICT','_lastPointer','ranges','onCommandExecuted','_getSheetObject','on-line-single','entries','deepClone','handleDeleteRangeMoveUp','findNodePositionByCharIndex','DeleteRangeMoveLeftCommandId','_docSkeleton','handleDeleteRangeMoveLeft','@univerjs/network','_online','[CollaborationDataLoaderController]','FETCH_MISS','urlChange$','getUnitId','UNDEFINED','path','InsertRowCommandId','reconnect','univer-flex\x20univer-items-center','complete','CommandType','_handleEvent','_getMergeRange','transformStateCache','transformSelections','source','hide','_clearOtherTimers','setShapeProps','APPLY_PERMISSION_DENIED','DEFAULT_WS_SESSION_TICKET_URL','transformByState','@univerjs/drawing','error','defIds','[RemoteUniscriptService]:\x20no\x20focused\x20unit','imageSourceType','UniverDrawing','ColorKit','BehaviorSubject','collabCursorState$','generateRandomId','UniverDocsUi','split','roomMembers','SOCKET_FAILED','type','_initResize','has','url(#$1','YUUMI_UNABLE_LOAD_URL','disableLocalCache','handleInsertCol','RefRangeService','addHandlerCallback','_hover','debug','DocSelectionManagerService','Failed','210ncJqZK','_range','rxjs/operators','1em','cursorInfo$','startsWith','cursorInfo','_localeService','dispose','pipe','CollaborationUIEventId','_onCursorDelete','NodePositionConvertToRectRange','dispose$','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','ILogService','SheetsSelectionsService','RemoveRowCommandId','row','icon','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','IRenderManagerService','HEADER_MENU','storage','arc','FromArray','sessionStatus$','_initStatusComponent','_messageService','add','RemoveColCommandId','@univerjs/engine-render','_disabled','DependentOn','SUBMIT_CHANGESET_TIMEOUT','save','whenReady','_transformPreviousActiveRange','UNIVER_SHEET','delete','SOCKET_FAILED_RETRY','UniverCollaborationClientUIPlugin','exports','UniverRpc','mask','measureText','CLOSE_ROOM','_logService','getUnhiddenWorksheets','RemoteUniscriptService','getActiveSheet','_name','DataLoaderService','collab-rect-range-','_setupBeforeClosingHandler','xlink:href','div','SheetCollabCursorShape','collaboration-client-ui.config','rxjs','MemberService','getCurrentUnitForType','transform'];_0x1ddf=function(){return _0x331929;};return _0x1ddf();}function _0x1d5a(_0xac3873,_0x2034d6){const _0x1ddfe0=_0x1ddf();return _0x1d5a=function(_0x1d5ad1,_0x5a4e8d){_0x1d5ad1=_0x1d5ad1-0x169;let _0x5b289b=_0x1ddfe0[_0x1d5ad1];return _0x5b289b;},_0x1d5a(_0xac3873,_0x2034d6);}(function(_0x3a07b9,_0x44013a){const _0x11cf48=_0x1d5a,_0xa4c7cc=_0x3a07b9();while(!![]){try{const _0x5a4904=-parseInt(_0x11cf48(0x1f1))/0x1+-parseInt(_0x11cf48(0x19f))/0x2+parseInt(_0x11cf48(0x17c))/0x3*(-parseInt(_0x11cf48(0x23b))/0x4)+parseInt(_0x11cf48(0x205))/0x5*(-parseInt(_0x11cf48(0x273))/0x6)+-parseInt(_0x11cf48(0x337))/0x7*(parseInt(_0x11cf48(0x279))/0x8)+-parseInt(_0x11cf48(0x215))/0x9+parseInt(_0x11cf48(0x3fd))/0xa*(parseInt(_0x11cf48(0x26c))/0xb);if(_0x5a4904===_0x44013a)break;else _0xa4c7cc['push'](_0xa4c7cc['shift']());}catch(_0x39e20f){_0xa4c7cc['push'](_0xa4c7cc['shift']());}}}(_0x1ddf,0x7c598),function(_0x3ffd0f,_0x1afc8a){const _0x215d85=_0x1d5a;typeof exports==_0x215d85(0x2bc)&&typeof module<'u'?_0x1afc8a(exports,require(_0x215d85(0x1e7)),require(_0x215d85(0x3e9)),require(_0x215d85(0x356)),require('@univerjs/network'),require('@univerjs/docs-ui'),require(_0x215d85(0x31c)),require(_0x215d85(0x372)),require(_0x215d85(0x250)),require(_0x215d85(0x29c)),require(_0x215d85(0x1ad)),require('@univerjs/sheets'),require(_0x215d85(0x339)),require(_0x215d85(0x179)),require(_0x215d85(0x1ef)),require(_0x215d85(0x3a0)),require('@univerjs/design'),require(_0x215d85(0x271)),require('@univerjs/rpc')):typeof define==_0x215d85(0x17e)&&define['amd']?define([_0x215d85(0x361),'@univerjs-pro/collaboration-client',_0x215d85(0x3e9),_0x215d85(0x356),_0x215d85(0x304),_0x215d85(0x3bf),_0x215d85(0x31c),_0x215d85(0x372),_0x215d85(0x250),_0x215d85(0x29c),'@univerjs/engine-formula','@univerjs/sheets',_0x215d85(0x339),_0x215d85(0x179),_0x215d85(0x1ef),_0x215d85(0x3a0),_0x215d85(0x395),_0x215d85(0x271),'@univerjs/rpc'],_0x1afc8a):(_0x3ffd0f=typeof globalThis<'u'?globalThis:_0x3ffd0f||self,_0x1afc8a(_0x3ffd0f[_0x215d85(0x254)]={},_0x3ffd0f[_0x215d85(0x38b)],_0x3ffd0f[_0x215d85(0x16e)],_0x3ffd0f[_0x215d85(0x2de)],_0x3ffd0f['UniverNetwork'],_0x3ffd0f[_0x215d85(0x326)],_0x3ffd0f[_0x215d85(0x321)],_0x3ffd0f['rxjs'],_0x3ffd0f[_0x215d85(0x20a)],_0x3ffd0f[_0x215d85(0x39b)],_0x3ffd0f[_0x215d85(0x1a6)],_0x3ffd0f[_0x215d85(0x383)],_0x3ffd0f[_0x215d85(0x372)][_0x215d85(0x3b3)],_0x3ffd0f['UniverSheetsUi'],_0x3ffd0f[_0x215d85(0x2c7)],_0x3ffd0f['UniverUi'],_0x3ffd0f[_0x215d85(0x267)],_0x3ffd0f[_0x215d85(0x2c7)],_0x3ffd0f[_0x215d85(0x362)]));}(this,function(_0x4a6788,_0xcdca2f,_0x3eca60,_0x4bf546,_0xb9bcc5,_0x2836fd,_0x14d453,_0x53026d,_0x29518c,_0x3a2116,_0xefe2f7,_0x1cd602,_0x249ee4,_0x20cc9a,_0x265223,_0x3879ce,_0x6a8d20,_0x42f475,_0x4f36bd){'use strict';const _0x394340=_0x1d5a;var _0x165c1d=Object[_0x394340(0x185)],_0x36da47=(_0x4ef9a2,_0x4b7970,_0x2577a6)=>_0x4b7970 in _0x4ef9a2?_0x165c1d(_0x4ef9a2,_0x4b7970,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2577a6}):_0x4ef9a2[_0x4b7970]=_0x2577a6,_0x304002=(_0xfab0f8,_0x1af8d0,_0x2e99d5)=>_0x36da47(_0xfab0f8,typeof _0x1af8d0!=_0x394340(0x29b)?_0x1af8d0+'':_0x1af8d0,_0x2e99d5),_0x1fd3c3=Object[_0x394340(0x1ee)],_0x267b61=(_0x16cb94,_0xa78c4,_0x12a521,_0x19d11b)=>{const _0x13db39=_0x394340;for(var _0x392901=_0x19d11b>0x1?void 0x0:_0x19d11b?_0x1fd3c3(_0xa78c4,_0x12a521):_0xa78c4,_0x268971=_0x16cb94[_0x13db39(0x403)]-0x1,_0x47fe93;_0x268971>=0x0;_0x268971--)(_0x47fe93=_0x16cb94[_0x268971])&&(_0x392901=_0x47fe93(_0x392901)||_0x392901);return _0x392901;},_0x50402b=(_0x2d12f0,_0x1dfdd7)=>(_0x18a6c0,_0x45a2f3)=>_0x1dfdd7(_0x18a6c0,_0x45a2f3,_0x2d12f0);let _0x238644=class extends _0x3eca60[_0x394340(0x28d)]{constructor(_0x14d7d8,_0x2a4656){const _0x1abea5=_0x394340;super(),this[_0x1abea5(0x1dd)]=_0x14d7d8,this[_0x1abea5(0x2a7)]=_0x2a4656,this[_0x1abea5(0x3d9)]();}[_0x394340(0x3d9)](){const _0x36a7c5=_0x394340,_0x133a21=this;this[_0x36a7c5(0x380)](this[_0x36a7c5(0x1dd)][_0x36a7c5(0x20c)]({'onBeforePasteImage':async _0x88c676=>{const _0x26de9f=_0x36a7c5,_0x398914=await _0x133a21[_0x26de9f(0x2a7)][_0x26de9f(0x169)](_0x88c676);return _0x398914?{'source':_0x398914[_0x26de9f(0x315)],'imageSourceType':_0x398914[_0x26de9f(0x320)]}:null;}}));}};_0x238644=_0x267b61([_0x50402b(0x0,_0x2836fd[_0x394340(0x3ce)]),_0x50402b(0x1,_0x14d453['IImageIoService'])],_0x238644);const _0x5dc0a1=['purple.300',_0x394340(0x2c6),_0x394340(0x27b),'red.300','blue.400',_0x394340(0x3eb)];class _0x769350 extends _0x3eca60[_0x394340(0x3d7)]{constructor(){const _0x5ef94e=_0x394340;super(...arguments),_0x304002(this,_0x5ef94e(0x3f8),new Map()),_0x304002(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x56e120){const _0x44a935=_0x394340;if(this[_0x44a935(0x3f8)][_0x44a935(0x32c)](_0x56e120))return this['_assignedColors'][_0x44a935(0x202)](_0x56e120);const _0xad7093=_0x5dc0a1[this[_0x44a935(0x3f6)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x5dc0a1[_0x44a935(0x403)],this[_0x44a935(0x3f8)]['set'](_0x56e120,_0xad7093),_0xad7093;}}function _0x3956c6(_0x377877){let _0x37d2a0='';for(const _0x476085 of _0x377877){const {startOffset:_0x4e8b68,endOffset:_0x838f71,isActive:_0x1857a6,rangeType:_0x2cd6a6,segmentId:_0x162a8f,segmentPage:_0x23da54}=_0x476085;_0x37d2a0['length']&&(_0x37d2a0+=','),_0x37d2a0+=_0x4e8b68+':'+_0x838f71+':'+(_0x1857a6?'1':'0')+':'+_0x2cd6a6+':'+_0x162a8f+':'+_0x23da54;}return _0x37d2a0;}function _0x54552a(_0x9df0a4){const _0xfd9823=_0x394340,_0x340e23=_0x9df0a4['split'](','),_0xbfaeed=[];for(const _0x4d5d2e of _0x340e23){const [_0x3cd0b0,_0x5a7425,_0x2cd8a3,_0x35dc8b,_0x3fc1bd,_0x2073b8]=_0x4d5d2e[_0xfd9823(0x327)](':');_0xbfaeed[_0xfd9823(0x2c5)]({'startOffset':Number(_0x3cd0b0),'endOffset':Number(_0x5a7425),'collapsed':_0x3cd0b0===_0x5a7425,'isActive':_0x2cd8a3==='1','rangeType':_0x35dc8b===_0x3eca60['DOC_RANGE_TYPE']['TEXT']?_0x3eca60['DOC_RANGE_TYPE']['TEXT']:_0x3eca60[_0xfd9823(0x1dc)][_0xfd9823(0x1de)],'segmentId':typeof _0x3fc1bd==_0xfd9823(0x210)?String(_0x3fc1bd):'','segmentPage':Number(_0x2073b8!=null?_0x2073b8:-0x1)});}return _0xbfaeed['some'](_0x4f2a5e=>_0x4f2a5e[_0xfd9823(0x1c5)])||(_0xbfaeed[0x0][_0xfd9823(0x1c5)]=!0x0),_0xbfaeed;}class _0x61e25f extends _0x3eca60['RxDisposable']{constructor(){const _0x38d1cc=_0x394340;super(...arguments),_0x304002(this,'_collabCursorState$',new _0x53026d[(_0x38d1cc(0x323))](null)),_0x304002(this,_0x38d1cc(0x324),this['_collabCursorState$']['asObservable']());}[_0x394340(0x3cd)](_0x29a078){const _0x359b92=_0x394340,{unitID:_0x434b30,memberID:_0x90422a,textRanges:_0x47d2f8}=_0x29a078,_0xdc74b0=_0x3956c6(_0x47d2f8);if(_0xdc74b0==='')return;const _0x364794={'unitID':_0x434b30,'memberID':_0x90422a,'selection':_0xdc74b0};this[_0x359b92(0x221)][_0x359b92(0x275)](_0x364794);}}var _0x35abd1=Object[_0x394340(0x1ee)],_0x58f03e=(_0x453120,_0x27c3f6,_0x1ede31,_0x4021eb)=>{const _0x3f8f72=_0x394340;for(var _0x10d2c6=_0x4021eb>0x1?void 0x0:_0x4021eb?_0x35abd1(_0x27c3f6,_0x1ede31):_0x27c3f6,_0x292a04=_0x453120[_0x3f8f72(0x403)]-0x1,_0x4ea6bf;_0x292a04>=0x0;_0x292a04--)(_0x4ea6bf=_0x453120[_0x292a04])&&(_0x10d2c6=_0x4ea6bf(_0x10d2c6)||_0x10d2c6);return _0x10d2c6;},_0x4b58d8=(_0x213a15,_0x29c75a)=>(_0x56c7ba,_0x15e330)=>_0x29c75a(_0x56c7ba,_0x15e330,_0x213a15);const _0x4bc4a7=0x12c,_0x32e518=0x64;let _0x2fe0d1=class extends _0x3eca60[_0x394340(0x28d)]{constructor(_0x2d9551,_0x3f821b,_0x1e8e95,_0x423170,_0x591615,_0x47097c,_0x490504,_0x29578f,_0x3b0ff5){const _0x24c685=_0x394340;super(),_0x304002(this,_0x24c685(0x305),!0x1),_0x304002(this,_0x24c685(0x3d9),!0x1),_0x304002(this,_0x24c685(0x1f7),new _0x53026d[(_0x24c685(0x323))](new Map())),_0x304002(this,'cursorInfo$',this[_0x24c685(0x1f7)][_0x24c685(0x1b7)]()),_0x304002(this,_0x24c685(0x1d3),new _0x53026d[(_0x24c685(0x323))]([])),_0x304002(this,_0x24c685(0x24f),this[_0x24c685(0x1d3)][_0x24c685(0x340)](_0x53026d[_0x24c685(0x3a5)](_0x4bc4a7))),_0x304002(this,_0x24c685(0x382),_0x3eca60[_0x24c685(0x1b8)](_0xebd31b=>{const _0x3a4b82=_0x24c685,_0x105023={'eventID':_0x3a2116[_0x3a4b82(0x39a)][_0x3a4b82(0x280)],'data':{'unitID':this['unitID'],'memberID':this[_0x3a4b82(0x39e)][_0x3a4b82(0x1d6)](),'selection':_0x3956c6(_0xebd31b)}};this[_0x3a4b82(0x39e)][_0x3a4b82(0x3ff)](_0x105023,this[_0x3a4b82(0x38d)]);},_0x32e518)),(this['unitID']=_0x2d9551,this[_0x24c685(0x39e)]=_0x3f821b,this[_0x24c685(0x1e9)]=_0x1e8e95,this[_0x24c685(0x291)]=_0x423170,this['_memberService']=_0x591615,this[_0x24c685(0x24d)]=_0x47097c,this[_0x24c685(0x1a5)]=_0x490504,this[_0x24c685(0x2a0)]=_0x29578f,this[_0x24c685(0x1ec)]=_0x3b0ff5);}get[_0x394340(0x33d)](){const _0x4c53b3=_0x394340;return this[_0x4c53b3(0x1f7)][_0x4c53b3(0x3a9)]();}get['roomMembers'](){const _0xc4d2d4=_0x394340;return this[_0xc4d2d4(0x1d3)]['getValue']();}[_0x394340(0x33f)](){const _0x27c99c=_0x394340;super[_0x27c99c(0x33f)](),this['_cursorInfo$'][_0x27c99c(0x275)](new Map()),this['_cursorInfo$'][_0x27c99c(0x30f)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x27c99c(0x30f)]();}[_0x394340(0x260)](){const _0x46bba1=_0x394340;this['_init']||(this[_0x46bba1(0x3d9)]=!0x0,this['_session']['sessionStatus$'][_0x46bba1(0x340)](_0x53026d[_0x46bba1(0x2b4)](this[_0x46bba1(0x344)]))[_0x46bba1(0x270)](_0x55849f=>{const _0x213083=_0x46bba1;_0x55849f===_0xcdca2f['SessionStatus'][_0x213083(0x3f5)]?this[_0x213083(0x1af)]():this['_toggleOffline']();}),this[_0x46bba1(0x39e)]['event$']['pipe'](_0x53026d[_0x46bba1(0x2b4)](this[_0x46bba1(0x344)]))[_0x46bba1(0x270)](_0x3872e5=>{const _0xd61c23=_0x46bba1,_0x25d6d7=_0x3872e5[_0xd61c23(0x2e6)];_0x25d6d7===_0x3a2116['CollaborationEvent'][_0xd61c23(0x280)]&&this[_0xd61c23(0x196)](_0x3872e5),_0x25d6d7===_0x3a2116[_0xd61c23(0x39a)][_0xd61c23(0x194)]&&this['_onCursorDelete'](_0x3872e5);}),this[_0x46bba1(0x380)](this[_0x46bba1(0x1ec)][_0x46bba1(0x2fa)](_0x19a209=>{const _0x29faa0=_0x46bba1,_0x51a798=_0x19a209[_0x29faa0(0x18f)];_0x51a798!=null&&this[_0x29faa0(0x305)]&&_0x19a209['id']===_0x29518c['SetTextSelectionsOperation']['id']&&_0x51a798[_0x29faa0(0x286)]===this[_0x29faa0(0x38d)]&&_0x51a798[_0x29faa0(0x27d)]===!0x1&&_0x51a798[_0x29faa0(0x2f9)][_0x29faa0(0x403)]>0x0&&this[_0x29faa0(0x382)](_0x51a798['ranges']);})),this[_0x46bba1(0x24d)][_0x46bba1(0x324)][_0x46bba1(0x340)](_0x53026d[_0x46bba1(0x2b4)](this['dispose$']))[_0x46bba1(0x270)](_0x129b4c=>{const _0x2d35dd=_0x46bba1;if((_0x129b4c==null?void 0x0:_0x129b4c[_0x2d35dd(0x38d)])!==this['unitID'])return;const _0x4373c5={'eventID':_0x3a2116[_0x2d35dd(0x39a)][_0x2d35dd(0x280)],'data':_0x129b4c};this['_onCursorUpdate'](_0x4373c5);}),this['disposeWithMe'](this[_0x46bba1(0x1ec)][_0x46bba1(0x2fa)](_0x4f38ba=>{const _0x2cb3f1=_0x46bba1;if(_0x4f38ba[_0x2cb3f1(0x18f)]==null)return;const _0x4abb00=_0x4f38ba[_0x2cb3f1(0x18f)];if(_0x4f38ba['id']!==_0x29518c['RichTextEditingMutation']['id']||_0x4abb00[_0x2cb3f1(0x286)]!==this[_0x2cb3f1(0x38d)])return;const _0x121574={'id':_0x2cb3f1(0x3f7),'params':_0x4abb00},_0x441711=this[_0x2cb3f1(0x33d)];for(const [_0x991496,_0x242a39]of _0x441711){const _0x1b8729={'id':_0x2cb3f1(0x3f7),'params':{'unitId':this[_0x2cb3f1(0x38d)],'actions':null,'textRanges':_0x242a39[_0x2cb3f1(0x2f9)]}},_0x110e7d=this[_0x2cb3f1(0x1a5)]['transformMutation'](_0x121574,_0x1b8729,!0x1);if(_0x3a2116['isTransformMutationFailure'](_0x110e7d))throw _0x110e7d[_0x2cb3f1(0x31d)];_0x441711[_0x2cb3f1(0x175)](_0x991496,{..._0x242a39,'ranges':_0x110e7d[_0x2cb3f1(0x272)][_0x2cb3f1(0x18f)][_0x2cb3f1(0x3b6)]});}queueMicrotask(()=>{const _0x3d6cdd=_0x2cb3f1;this['_cursorInfo$'][_0x3d6cdd(0x275)](_0x441711);});})));}['_onCursorUpdate'](_0x5d8a02){const _0x767d2b=_0x394340;var _0x5dbac7,_0x32345a;const {memberID:_0x2dc887,selection:_0x3efad8}=_0x5d8a02['data'],_0x581175=_0x54552a(_0x3efad8),_0x9e42fb=(_0x32345a=(_0x5dbac7=this['_memberService']['getMember'](this['unitID'],_0x2dc887))==null?void 0x0:_0x5dbac7[_0x767d2b(0x277)])!=null?_0x32345a:_0x767d2b(0x22c),_0x4c75d4={'color':this[_0x767d2b(0x291)][_0x767d2b(0x198)](_0x2dc887),'name':_0x9e42fb,'ranges':_0x581175},_0x2974b=this['cursorInfo'];_0x2974b[_0x767d2b(0x175)](_0x2dc887,_0x4c75d4),this[_0x767d2b(0x1f7)][_0x767d2b(0x275)](_0x2974b);}[_0x394340(0x342)](_0x1b1371){const _0x5cc4e8=_0x394340,{memberID:_0x3cc65e}=_0x1b1371[_0x5cc4e8(0x388)],_0x33a6fc=this[_0x5cc4e8(0x33d)];_0x33a6fc[_0x5cc4e8(0x35e)](_0x3cc65e),this[_0x5cc4e8(0x1f7)]['next'](_0x33a6fc);}[_0x394340(0x1af)](){const _0x5938ff=_0x394340;var _0x4099aa;if(this[_0x5938ff(0x305)]=!0x0,((_0x4099aa=this[_0x5938ff(0x2a0)]['getFocusedUnit']())==null?void 0x0:_0x4099aa[_0x5938ff(0x309)]())!==this[_0x5938ff(0x38d)])return;const _0xeff910=this['_injector'][_0x5938ff(0x202)](_0x29518c[_0x5938ff(0x335)])[_0x5938ff(0x3fa)]();Array[_0x5938ff(0x3d8)](_0xeff910)&&_0xeff910[_0x5938ff(0x403)]>0x0&&this['_updateLocalCursor'](_0xeff910);}[_0x394340(0x3da)](){const _0x2c0d34=_0x394340;this[_0x2c0d34(0x305)]=!0x1;}};_0x2fe0d1=_0x58f03e([_0x4b58d8(0x2,_0x3eca60[_0x394340(0x2b8)](_0x3eca60['Injector'])),_0x4b58d8(0x3,_0x3eca60[_0x394340(0x2b8)](_0x769350)),_0x4b58d8(0x4,_0x3eca60[_0x394340(0x2b8)](_0xcdca2f['MemberService'])),_0x4b58d8(0x5,_0x3eca60['Inject'](_0x61e25f)),_0x4b58d8(0x6,_0x3a2116[_0x394340(0x21f)]),_0x4b58d8(0x7,_0x3eca60[_0x394340(0x200)]),_0x4b58d8(0x8,_0x3eca60[_0x394340(0x24c)])],_0x2fe0d1);var _0x136e0e=Object[_0x394340(0x1ee)],_0x7c73fd=(_0x231add,_0x3864c6,_0x319cec,_0x52041f)=>{const _0x43adad=_0x394340;for(var _0x410dcd=_0x52041f>0x1?void 0x0:_0x52041f?_0x136e0e(_0x3864c6,_0x319cec):_0x3864c6,_0x49e83a=_0x231add[_0x43adad(0x403)]-0x1,_0x3d1928;_0x49e83a>=0x0;_0x49e83a--)(_0x3d1928=_0x231add[_0x49e83a])&&(_0x410dcd=_0x3d1928(_0x410dcd)||_0x410dcd);return _0x410dcd;},_0x59106d=(_0x4383db,_0x4a347c)=>(_0x1b4e32,_0xacca9)=>_0x4a347c(_0x1b4e32,_0xacca9,_0x4383db);const _0x1cd1f7=0x12c,_0x2215db=0x64,_0x4335a1=()=>{let _0x576cd2=[],_0xa8c0e2=!0x1;return _0xda1e60=>{const _0x1e5dc=_0x1d5a;_0x576cd2[_0x1e5dc(0x2c5)](_0xda1e60),_0xa8c0e2||(_0xa8c0e2=!0x0,setTimeout(()=>{_0x576cd2['forEach'](_0x520cb3=>_0x520cb3()),_0x576cd2=[],_0xa8c0e2=!0x1;}));};};let _0x26ebbd=class extends _0x3eca60[_0x394340(0x28d)]{constructor(_0x1bdbf1,_0x2e9b65,_0xf0cc5b,_0x462a28,_0x117703,_0x23d980,_0x2b0ba8,_0x2ac673){const _0x30111b=_0x394340;super(),_0x304002(this,_0x30111b(0x305),!0x1),_0x304002(this,'_init',!0x1),_0x304002(this,_0x30111b(0x1f7),new _0x53026d[(_0x30111b(0x323))](new Map())),_0x304002(this,_0x30111b(0x33b),this[_0x30111b(0x1f7)][_0x30111b(0x1b7)]()),_0x304002(this,_0x30111b(0x1d3),new _0x53026d['BehaviorSubject']([])),_0x304002(this,_0x30111b(0x24f),this[_0x30111b(0x1d3)][_0x30111b(0x340)](_0x53026d[_0x30111b(0x3a5)](_0x1cd1f7))),_0x304002(this,_0x30111b(0x382),_0x3eca60[_0x30111b(0x1b8)]((_0x6f0a02,_0x246658)=>{const _0x48dadc=_0x30111b,_0x39782a={'eventID':_0x3a2116[_0x48dadc(0x39a)][_0x48dadc(0x280)],'data':{'unitID':this[_0x48dadc(0x38d)],'memberID':this['_session'][_0x48dadc(0x1d6)](),'selection':_0xefe2f7[_0x48dadc(0x3ed)](_0x6f0a02,_0x246658[_0x48dadc(0x2c8)])}};this[_0x48dadc(0x39e)][_0x48dadc(0x3ff)](_0x39782a,this[_0x48dadc(0x38d)]);},_0x2215db)),(this['unitID']=_0x1bdbf1,this[_0x30111b(0x39e)]=_0x2e9b65,this[_0x30111b(0x1e9)]=_0xf0cc5b,this[_0x30111b(0x291)]=_0x462a28,this[_0x30111b(0x1cf)]=_0x117703,this[_0x30111b(0x2a0)]=_0x23d980,this[_0x30111b(0x1ec)]=_0x2b0ba8,this['_refRangeService']=_0x2ac673);}get[_0x394340(0x33d)](){const _0x59d47d=_0x394340;return this[_0x59d47d(0x1f7)][_0x59d47d(0x3a9)]();}get[_0x394340(0x328)](){const _0x2bc3a6=_0x394340;return this['_roomMembers$'][_0x2bc3a6(0x3a9)]();}[_0x394340(0x33f)](){const _0x2cf5e5=_0x394340;super['dispose'](),this[_0x2cf5e5(0x1f7)][_0x2cf5e5(0x275)](new Map()),this['_cursorInfo$'][_0x2cf5e5(0x30f)](),this['_roomMembers$'][_0x2cf5e5(0x275)]([]),this['_roomMembers$'][_0x2cf5e5(0x30f)]();}[_0x394340(0x260)](){const _0x5c8a0a=_0x394340;this[_0x5c8a0a(0x3d9)]||(this[_0x5c8a0a(0x3d9)]=!0x0,this[_0x5c8a0a(0x39e)][_0x5c8a0a(0x351)][_0x5c8a0a(0x340)](_0x53026d[_0x5c8a0a(0x2b4)](this[_0x5c8a0a(0x344)]))[_0x5c8a0a(0x270)](_0x48a65a=>{const _0x4ceecb=_0x5c8a0a;_0x48a65a===_0xcdca2f[_0x4ceecb(0x387)][_0x4ceecb(0x3f5)]?this[_0x4ceecb(0x1af)]():this[_0x4ceecb(0x3da)]();}),this[_0x5c8a0a(0x39e)]['event$'][_0x5c8a0a(0x340)](_0x53026d[_0x5c8a0a(0x2b4)](this[_0x5c8a0a(0x344)]))[_0x5c8a0a(0x270)](_0x1e38db=>{const _0x3c65e0=_0x5c8a0a,_0x336b89=_0x1e38db['eventID'];_0x336b89===_0x3a2116[_0x3c65e0(0x39a)][_0x3c65e0(0x280)]&&this[_0x3c65e0(0x196)](_0x1e38db),_0x336b89===_0x3a2116[_0x3c65e0(0x39a)][_0x3c65e0(0x194)]&&this[_0x3c65e0(0x342)](_0x1e38db);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x5c8a0a(0x1ec)][_0x5c8a0a(0x2fa)](_0x57434a=>{const _0x4b218a=_0x5c8a0a;if(this[_0x4b218a(0x305)]&&_0x57434a['id']===_0x1cd602[_0x4b218a(0x22e)]['id']&&_0x57434a[_0x4b218a(0x18f)][_0x4b218a(0x286)]===this[_0x4b218a(0x38d)]){const _0x35cf1a=_0x57434a[_0x4b218a(0x18f)];this[_0x4b218a(0x382)](_0x35cf1a[_0x4b218a(0x27e)],_0x35cf1a[_0x4b218a(0x223)][0x0]);}})));}[_0x394340(0x196)](_0xdc3166){const _0x274a65=_0x394340;var _0x4f4f71,_0x44ea7f;const {memberID:_0x4c2736,selection:_0x501b73}=_0xdc3166[_0x274a65(0x388)],{sheetName:_0x191642,range:_0x553a73}=_0xefe2f7[_0x274a65(0x1bb)](_0x501b73),_0xf79691={'name':(_0x44ea7f=(_0x4f4f71=this[_0x274a65(0x1cf)][_0x274a65(0x2dd)](this[_0x274a65(0x38d)],_0x4c2736))==null?void 0x0:_0x4f4f71['name'])!=null?_0x44ea7f:_0x274a65(0x22c),'range':this[_0x274a65(0x312)](_0x191642,_0x553a73),'sheetID':_0x191642,'color':this[_0x274a65(0x291)]['assignAColorForMemberID'](_0x4c2736),'selection':_0x501b73},_0x374b81=this['cursorInfo'];_0x374b81['set'](_0x4c2736,_0xf79691),this[_0x274a65(0x1f7)][_0x274a65(0x275)](_0x374b81);}[_0x394340(0x342)](_0x1e3a32){const _0x2e7f59=_0x394340,{memberID:_0x36910f}=_0x1e3a32[_0x2e7f59(0x388)],_0x29e149=this['cursorInfo'];_0x29e149['delete'](_0x36910f),this['_cursorInfo$'][_0x2e7f59(0x275)](_0x29e149);}[_0x394340(0x312)](_0x5a6158,_0x4134d1){const _0x5b63c9=_0x394340;var _0x9fdd53,_0x327c72;const _0x524208=(_0x327c72=(_0x9fdd53=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x9fdd53[_0x5b63c9(0x248)](_0x5a6158))==null?void 0x0:_0x327c72['getMergeData']();return(_0x524208==null?void 0x0:_0x524208[_0x5b63c9(0x184)](_0x1e261d=>_0x3eca60[_0x5b63c9(0x1e5)][_0x5b63c9(0x398)](_0x1e261d,_0x4134d1)))||_0x4134d1;}[_0x394340(0x18b)](){const _0x26bd3d=_0x394340,_0x4affb2=new _0x3eca60[(_0x26bd3d(0x407))](),_0x2655ef=_0x4335a1(),_0x13cba1=()=>{const _0x4a383c=_0x26bd3d;_0x4affb2[_0x4a383c(0x33f)]();const _0x4459fd=(_0x1a7010,_0x45bf26,_0x189aa1,_0x40b90)=>{const _0x23b24e=_0x4a383c;let _0x319ed4=[];switch(_0x1a7010['id']){case _0x1cd602[_0x23b24e(0x1e1)][_0x23b24e(0x301)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x303)](_0x1a7010,_0x40b90);break;}case _0x1cd602[_0x23b24e(0x1e1)][_0x23b24e(0x19c)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x2ff)](_0x1a7010,_0x40b90);break;}case _0x1cd602[_0x23b24e(0x1e1)]['InsertColCommandId']:{_0x319ed4=_0x1cd602[_0x23b24e(0x330)](_0x1a7010,_0x40b90);break;}case _0x1cd602['EffectRefRangId'][_0x23b24e(0x1b6)]:{_0x319ed4=_0x1cd602['handleInsertRangeMoveDown'](_0x1a7010,_0x40b90);break;}case _0x1cd602['EffectRefRangId'][_0x23b24e(0x25d)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x3a7)](_0x1a7010,_0x40b90);break;}case _0x1cd602[_0x23b24e(0x1e1)][_0x23b24e(0x30c)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x189)](_0x1a7010,_0x40b90);break;}case _0x1cd602[_0x23b24e(0x1e1)][_0x23b24e(0x241)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x2a2)](_0x1a7010,_0x40b90);break;}case _0x1cd602[_0x23b24e(0x1e1)][_0x23b24e(0x355)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x3a4)](_0x1a7010,_0x40b90);break;}case _0x1cd602[_0x23b24e(0x1e1)][_0x23b24e(0x348)]:{_0x319ed4=_0x1cd602[_0x23b24e(0x2e9)](_0x1a7010,_0x40b90);break;}}const _0x61c743=_0x1cd602[_0x23b24e(0x28c)](_0x319ed4,_0x40b90),_0x2f1650=this['cursorInfo'][_0x23b24e(0x202)](_0x45bf26);if(_0x2f1650&&_0x61c743){const _0x4df157={..._0x2f1650,'range':_0x61c743};this['cursorInfo']['set'](_0x45bf26,_0x4df157),_0x2655ef(()=>{const _0x210624=_0x23b24e,_0x4cfc31=this[_0x210624(0x209)]['registerRefRange'](_0x61c743,_0xea2076=>(_0x4cfc31[_0x210624(0x33f)](),_0x4459fd(_0xea2076,_0x45bf26,_0x189aa1,_0x61c743)));_0x4affb2[_0x210624(0x354)](_0x4cfc31);});}return{'redos':[],'undos':[]};};this[_0x4a383c(0x33d)][_0x4a383c(0x2d8)]((_0xffde24,_0x5d8471)=>{const _0x3b1213=_0x4a383c,{range:_0x29204f,sheetID:_0x47ff07}=_0xffde24,_0xd3a907=this['_refRangeService'][_0x3b1213(0x20b)](_0x29204f,_0x17f389=>(_0xd3a907['dispose'](),_0x4459fd(_0x17f389,_0x5d8471,_0x47ff07,_0x29204f)));_0x4affb2[_0x3b1213(0x354)](_0xd3a907);});};this[_0x26bd3d(0x380)](_0x3eca60[_0x26bd3d(0x243)](this['_cursorInfo$'][_0x26bd3d(0x270)](()=>{_0x13cba1();})));}[_0x394340(0x1af)](){const _0x30972c=_0x394340;var _0x8d2a15,_0x4616f0;if(this[_0x30972c(0x305)]=!0x0,((_0x8d2a15=this[_0x30972c(0x2a0)][_0x30972c(0x256)]())==null?void 0x0:_0x8d2a15[_0x30972c(0x309)]())!==this['unitID'])return;const _0x45d276=(_0x4616f0=this[_0x30972c(0x1e9)][_0x30972c(0x202)](_0x1cd602[_0x30972c(0x347)])[_0x30972c(0x1e0)]())==null?void 0x0:_0x4616f0[0x0],_0x5fad0e=this[_0x30972c(0x2a0)][_0x30972c(0x374)](_0x3eca60['UniverInstanceType'][_0x30972c(0x35d)])[_0x30972c(0x369)]();_0x45d276&&_0x5fad0e&&this[_0x30972c(0x382)](_0x5fad0e[_0x30972c(0x1c7)](),_0x45d276);}[_0x394340(0x3da)](){const _0x41c16c=_0x394340;this[_0x41c16c(0x305)]=!0x1;}};_0x26ebbd=_0x7c73fd([_0x59106d(0x2,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0x59106d(0x3,_0x3eca60[_0x394340(0x2b8)](_0x769350)),_0x59106d(0x4,_0x3eca60[_0x394340(0x2b8)](_0xcdca2f[_0x394340(0x373)])),_0x59106d(0x5,_0x3eca60[_0x394340(0x200)]),_0x59106d(0x6,_0x3eca60[_0x394340(0x24c)]),_0x59106d(0x7,_0x3eca60['Inject'](_0x1cd602[_0x394340(0x331)]))],_0x26ebbd);var _0x1cad01=Object['getOwnPropertyDescriptor'],_0x112bf5=(_0x319c48,_0x1bd054,_0x14206a,_0x287ae6)=>{const _0x44919c=_0x394340;for(var _0x2d3de5=_0x287ae6>0x1?void 0x0:_0x287ae6?_0x1cad01(_0x1bd054,_0x14206a):_0x1bd054,_0x52573b=_0x319c48[_0x44919c(0x403)]-0x1,_0x1a7c16;_0x52573b>=0x0;_0x52573b--)(_0x1a7c16=_0x319c48[_0x52573b])&&(_0x2d3de5=_0x1a7c16(_0x2d3de5)||_0x2d3de5);return _0x2d3de5;},_0x277fa8=(_0x493486,_0x347869)=>(_0x4b7b9b,_0x18794d)=>_0x347869(_0x4b7b9b,_0x18794d,_0x493486);let _0x50fe84=class extends _0x3eca60[_0x394340(0x28d)]{constructor(_0x19a53c,_0x192721,_0x504bf1){const _0x521d51=_0x394340;super(),_0x304002(this,'_entities',new Map()),_0x304002(this,_0x521d51(0x3fb),new _0x53026d['Subject']()),(this[_0x521d51(0x2a0)]=_0x19a53c,this['_injector']=_0x192721,this[_0x521d51(0x1c9)]=_0x504bf1,this[_0x521d51(0x3d9)]());}['dispose'](){const _0x59b67b=_0x394340;super['dispose'](),this[_0x59b67b(0x3fb)][_0x59b67b(0x30f)](),this[_0x59b67b(0x1cb)][_0x59b67b(0x2d8)](_0x304921=>_0x304921[_0x59b67b(0x33f)]());}[_0x394340(0x26f)](_0x4af65f){const _0xd41383=_0x394340;return this[_0xd41383(0x1cb)][_0xd41383(0x32c)](_0x4af65f)?this[_0xd41383(0x1cb)][_0xd41383(0x202)](_0x4af65f)[_0xd41383(0x33b)]:this['_entityInit$'][_0xd41383(0x340)](_0x53026d[_0xd41383(0x2c1)](_0x21d273=>_0x21d273[_0xd41383(0x38d)]===_0x4af65f),_0x53026d[_0xd41383(0x3ab)](_0x48378b=>_0x48378b[_0xd41383(0x33b)]));}[_0x394340(0x3d9)](){const _0x339fbb=_0x394340;this[_0x339fbb(0x2a0)][_0x339fbb(0x26e)](_0x3eca60[_0x339fbb(0x258)][_0x339fbb(0x35d)])[_0x339fbb(0x340)](_0x53026d[_0x339fbb(0x2b4)](this[_0x339fbb(0x344)]))[_0x339fbb(0x270)](async _0x39759f=>{const _0x538204=_0x339fbb,_0x2001fa=_0x39759f['getUnitId'](),_0xeba2a9=await this[_0x538204(0x2d6)](_0x2001fa);this[_0x538204(0x3fb)][_0x538204(0x275)](_0xeba2a9),this[_0x538204(0x1cb)]['set'](_0x2001fa,_0xeba2a9);}),this[_0x339fbb(0x2a0)][_0x339fbb(0x26e)](_0x3eca60[_0x339fbb(0x258)]['UNIVER_DOC'])[_0x339fbb(0x340)](_0x53026d['takeUntil'](this[_0x339fbb(0x344)]))[_0x339fbb(0x340)](_0x53026d['filter'](_0x2e2795=>!_0x2e2795['getUnitId']()[_0x339fbb(0x33c)]('__')))[_0x339fbb(0x270)](async _0x1115e2=>{const _0x147d86=_0x339fbb,_0x47b259=_0x1115e2[_0x147d86(0x309)](),_0x11a73e=await this[_0x147d86(0x2b9)](_0x47b259);this[_0x147d86(0x3fb)][_0x147d86(0x275)](_0x11a73e),this[_0x147d86(0x1cb)]['set'](_0x47b259,_0x11a73e);}),_0x53026d[_0x339fbb(0x1a0)](this[_0x339fbb(0x2a0)]['getTypeOfUnitDisposed$'](_0x3eca60[_0x339fbb(0x258)][_0x339fbb(0x2b3)]),this['_univerInstanceService'][_0x339fbb(0x2e3)](_0x3eca60[_0x339fbb(0x258)][_0x339fbb(0x35d)]))['pipe'](_0x53026d['takeUntil'](this[_0x339fbb(0x344)]))['subscribe'](_0x456d7a=>{const _0x409920=_0x339fbb,_0x101704=_0x456d7a['getUnitId'](),_0x10b118=this[_0x409920(0x1cb)]['get'](_0x101704);_0x10b118&&(_0x10b118[_0x409920(0x33f)](),this['_entities'][_0x409920(0x35e)](_0x101704));});}async[_0x394340(0x2d6)](_0x3245ae){const _0x2d6b3e=_0x394340,_0x50d3e5=await this[_0x2d6b3e(0x1c9)][_0x2d6b3e(0x3ac)](_0x3245ae),_0x5cf176=this[_0x2d6b3e(0x1e9)][_0x2d6b3e(0x22f)](_0x26ebbd,_0x3245ae,_0x50d3e5);return _0x5cf176[_0x2d6b3e(0x260)](),_0x5cf176;}async['_startDocCollabCursor'](_0x1c329f){const _0x13c6e5=_0x394340,_0x4ec45d=await this[_0x13c6e5(0x1c9)][_0x13c6e5(0x3ac)](_0x1c329f),_0x4e0502=this[_0x13c6e5(0x1e9)]['createInstance'](_0x2fe0d1,_0x1c329f,_0x4ec45d);return _0x4e0502[_0x13c6e5(0x260)](),_0x4e0502;}};_0x50fe84=_0x112bf5([_0x277fa8(0x0,_0x3eca60['IUniverInstanceService']),_0x277fa8(0x1,_0x3eca60[_0x394340(0x2b8)](_0x3eca60['Injector'])),_0x277fa8(0x2,_0x3eca60[_0x394340(0x2b8)](_0xcdca2f['CollaborationSessionService']))],_0x50fe84);const _0x3c2f03=0x14,_0x5e8c47=0xc8,_0xd78775=0x4,_0x471b14=0x5;function _0x30a8e4(_0x505c5d,_0x475c1b){const _0xffe1bb=_0x394340;let {radius:_0x861cec,width:_0x56337d,height:_0x44f7c0}=_0x475c1b;_0x861cec=_0x861cec!=null?_0x861cec:0x0,_0x56337d=_0x56337d!=null?_0x56337d:0x1e,_0x44f7c0=_0x44f7c0!=null?_0x44f7c0:0x1e;let _0xe4791=0x0,_0x8e19d=0x0,_0x5caed4=0x0;_0xe4791=_0x8e19d=_0x5caed4=Math[_0xffe1bb(0x1aa)](_0x861cec,_0x56337d/0x2,_0x44f7c0/0x2),_0x505c5d[_0xffe1bb(0x39c)](),_0x505c5d[_0xffe1bb(0x259)](_0xe4791,0x0),_0x505c5d[_0xffe1bb(0x2d0)](_0x56337d-_0x8e19d,0x0),_0x505c5d[_0xffe1bb(0x34f)](_0x56337d-_0x8e19d,_0x8e19d,_0x8e19d,Math['PI']*0x3/0x2,0x0,!0x1),_0x505c5d[_0xffe1bb(0x2d0)](_0x56337d,_0x44f7c0-_0x5caed4),_0x505c5d[_0xffe1bb(0x34f)](_0x56337d-_0x5caed4,_0x44f7c0-_0x5caed4,_0x5caed4,0x0,Math['PI']/0x2,!0x1),_0x505c5d[_0xffe1bb(0x2d0)](0x0,_0x44f7c0),_0x505c5d['lineTo'](0x0,_0xe4791),_0x505c5d[_0xffe1bb(0x34f)](_0xe4791,_0xe4791,_0xe4791,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x505c5d[_0xffe1bb(0x239)](),_0x475c1b[_0xffe1bb(0x18d)]&&(_0x505c5d[_0xffe1bb(0x35a)](),_0x505c5d[_0xffe1bb(0x285)]=_0x475c1b['fill'],_0x475c1b[_0xffe1bb(0x229)]===_0xffe1bb(0x216)?_0x505c5d[_0xffe1bb(0x18d)]('evenodd'):_0x505c5d[_0xffe1bb(0x18d)](),_0x505c5d[_0xffe1bb(0x171)]());}class _0x2e44f4 extends _0x4bf546['Shape']{constructor(_0x2d1a0f,_0x317e07){const _0x2fb4d2=_0x394340;super(_0x2d1a0f,_0x317e07),_0x304002(this,'color'),_0x304002(this,'text'),(this[_0x2fb4d2(0x235)]=_0x317e07==null?void 0x0:_0x317e07[_0x2fb4d2(0x235)],this['text']=_0x317e07==null?void 0x0:_0x317e07['text']);}static['drawWith'](_0x3661f9,_0x10bc2c){const _0x54e602=_0x394340,{text:_0x138b48,color:_0x330ae9}=_0x10bc2c;_0x3661f9[_0x54e602(0x35a)](),_0x3661f9[_0x54e602(0x3a3)]=_0x54e602(0x34b);const _0x2a6098=_0x3661f9[_0x54e602(0x364)](_0x138b48)[_0x54e602(0x3a1)],_0x16516a=Math['min'](_0x2a6098+0x2*_0xd78775,_0x5e8c47);_0x30a8e4(_0x3661f9,{'height':_0x3c2f03,'radius':0x4,'width':_0x16516a,'fill':_0x330ae9}),_0x3661f9[_0x54e602(0x285)]=_0x54e602(0x2ea);const _0x1b2787=_0xd78775,_0x56c34d=_0x3c2f03-_0x471b14,_0x5b01b0=_0x5e8c47-0x2*_0xd78775;if(_0x2a6098>_0x5b01b0){let _0x4838f2='',_0x124940=0x0;for(const _0x15fb2b of _0x138b48){const _0x136aa0=_0x3661f9[_0x54e602(0x364)](_0x15fb2b)['width'];if(_0x124940+_0x136aa0<=_0x5b01b0-_0x3661f9[_0x54e602(0x364)]('...')[_0x54e602(0x3a1)])_0x4838f2+=_0x15fb2b,_0x124940+=_0x136aa0;else{_0x4838f2+=_0x54e602(0x391);break;}}_0x3661f9[_0x54e602(0x282)](_0x4838f2,_0x1b2787,_0x56c34d);}else _0x3661f9[_0x54e602(0x282)](_0x138b48,_0x1b2787,_0x56c34d);_0x3661f9[_0x54e602(0x171)]();}['_draw'](_0x10ba4a){const _0x431ded=_0x394340;_0x2e44f4[_0x431ded(0x3c7)](_0x10ba4a,this);}}const _0x1543c0=_0x394340(0x2c3),_0x2e43a3='collab-text-range-',_0x4ad25c=_0x394340(0x36c),_0x116780=0x6,_0x35b032=1.5,_0x36a043=0x4,_0x30bcb2=1.5,_0x193bf1=_0x394340(0x25a);class _0x48424c{constructor(_0x2ab3e2,_0x38cf90,_0x2d66a3,_0x536ae9){const _0x56b1af=_0x394340;_0x304002(this,_0x56b1af(0x1eb),[]),_0x304002(this,_0x56b1af(0x25f),null),_0x304002(this,'_textBubble',null),_0x304002(this,_0x56b1af(0x197),null),_0x304002(this,_0x56b1af(0x3cf),null),_0x304002(this,_0x56b1af(0x2b1),null),(this[_0x56b1af(0x3b9)]=_0x2ab3e2,this[_0x56b1af(0x3be)]=_0x38cf90,this[_0x56b1af(0x302)]=_0x2d66a3,this['_document']=_0x536ae9,this['_render']());}set[_0x394340(0x333)](_0x223b5f){const _0x441a43=_0x394340;_0x223b5f?(this[_0x441a43(0x197)]&&this['_anchorDot']['hide'](),this['_textBubble']&&this[_0x441a43(0x404)]['show']()):(this[_0x441a43(0x197)]&&this[_0x441a43(0x197)][_0x441a43(0x3d4)](),this[_0x441a43(0x404)]&&this[_0x441a43(0x404)][_0x441a43(0x316)]());}[_0x394340(0x33f)](){const _0x51967e=_0x394340;for(const _0x2b77d6 of this['_shapes'])_0x2b77d6[_0x51967e(0x33f)]();this['_textBubble']&&this[_0x51967e(0x404)]['dispose'](),this[_0x51967e(0x197)]&&this[_0x51967e(0x197)]['dispose'](),this[_0x51967e(0x25f)]&&this[_0x51967e(0x25f)][_0x51967e(0x33f)](),this[_0x51967e(0x2b1)]&&this[_0x51967e(0x2b1)]();}[_0x394340(0x23a)](){const _0x4f5612=_0x394340;var _0x2480c1;const {_docSkeleton:_0x518c80,_document:_0x15da94}=this,{color:_0xca1396,name:_0x4f3bf5,ranges:_0x454b0e}=this['_cursor'],_0x4c1b50=_0x15da94[_0x4f5612(0x2c2)](),{docsLeft:_0xe70560,docsTop:_0x36f963}=_0x4c1b50,_0x12f4a6=new _0x2836fd[(_0x4f5612(0x182))](_0x4c1b50,_0x518c80);for(const {startOffset:_0x5c5a77,endOffset:_0x31cced,rangeType:_0xc194e9,segmentId:_0x15b03a,segmentPage:_0x33a865,collapsed:_0x2755f9,isActive:_0xbed101}of _0x454b0e){const _0x1c8675=_0x518c80[_0x4f5612(0x300)](_0x5c5a77,!0x0,_0x15b03a,_0x33a865);let _0x2b1627=_0x518c80[_0x4f5612(0x300)](_0x31cced,!0x0,_0x15b03a,_0x33a865);if(_0x2b1627==null&&(_0x2b1627=_0x518c80['findNodePositionByCharIndex'](_0x31cced-0x1,!0x1,_0x15b03a,_0x33a865)),_0xbed101){const {contentBoxPointGroup:_0x335052}=_0x12f4a6[_0x4f5612(0x3ba)](_0x2b1627,_0x2b1627);if(_0x335052['length']===0x0)continue;this['_drawAnchor'](_0xca1396,_0x335052,_0xe70560,_0x36f963,_0x4f3bf5),this[_0x4f5612(0x2b1)]=this['_handleHover']();}if(_0x1c8675&&_0x2b1627){if(_0xc194e9===_0x3eca60['DOC_RANGE_TYPE']['RECT']){const _0x23edd9=new _0x2836fd[(_0x4f5612(0x343))](_0x4c1b50,_0x518c80),{pointGroup:_0x164aca}=(_0x2480c1=_0x23edd9[_0x4f5612(0x3ba)](_0x1c8675,_0x2b1627))!=null?_0x2480c1:{};if(_0x164aca==null||_0x164aca[_0x4f5612(0x403)]===0x0)continue;this[_0x4f5612(0x255)](_0xca1396,_0x164aca,_0xe70560,_0x36f963);}else{if(!_0x2755f9){const {borderBoxPointGroup:_0x3e1db4}=_0x12f4a6['getRangePointData'](_0x1c8675,_0x2b1627);if(_0x3e1db4[_0x4f5612(0x403)]===0x0)continue;this[_0x4f5612(0x3c9)](_0xca1396,_0x3e1db4,_0xe70560,_0x36f963);}}}}}[_0x394340(0x405)](_0x2d602e,_0x3bf98c,_0x2da2ab,_0x51ee51,_0x558f1a){const _0x1bfba0=_0x394340,_0x12eda6=this['_getAnchorBounding'](_0x3bf98c),{left:_0x16ebab,top:_0x401e39,height:_0x17336a}=_0x12eda6,_0x4d0521=this[_0x1bfba0(0x2cc)](),_0x15af8e=_0x30bcb2/_0x4d0521,_0x4a6889=new _0x4bf546['Rect'](_0x1543c0+_0x3eca60[_0x1bfba0(0x3f9)]['generateRandomId'](_0x116780),{'left':_0x16ebab+_0x2da2ab-_0x15af8e,'top':_0x401e39+_0x51ee51,'height':_0x17336a,'width':_0x35b032,'fill':_0x2d602e||_0x4bf546['getColor'](_0x3eca60[_0x1bfba0(0x2e8)]['black'],0x0),'strokeWidth':_0x15af8e,'stroke':_0x193bf1,'evented':!0x0});this['_anchor']=_0x4a6889,this[_0x1bfba0(0x3be)][_0x1bfba0(0x16a)](_0x4a6889,_0x2836fd['TEXT_RANGE_LAYER_INDEX']);const _0x5b5d60=new _0x4bf546[(_0x1bfba0(0x3a8))](_0x1543c0+_0x3eca60[_0x1bfba0(0x3f9)]['generateRandomId'](_0x116780),{'left':_0x16ebab+_0x2da2ab-_0x15af8e,'top':_0x401e39+_0x51ee51-_0x36a043/0x2,'height':_0x36a043,'width':_0x36a043,'fill':_0x2d602e||_0x4bf546['getColor'](_0x3eca60['COLORS'][_0x1bfba0(0x385)],0x0),'strokeWidth':0x0,'stroke':_0x2d602e||_0x4bf546['getColor'](_0x3eca60['COLORS'][_0x1bfba0(0x385)],0x0),'evented':!0x1});this[_0x1bfba0(0x197)]=_0x5b5d60,this[_0x1bfba0(0x3be)]['addObject'](_0x5b5d60,_0x2836fd[_0x1bfba0(0x2d4)]);const _0x1a5758=new _0x2e44f4(_0x1543c0+_0x3eca60['Tools'][_0x1bfba0(0x325)](_0x116780),{'left':_0x16ebab+_0x2da2ab-_0x15af8e,'top':_0x401e39+_0x51ee51-_0x3c2f03,'text':_0x558f1a,'color':_0x2d602e});this['_textBubble']=_0x1a5758,this[_0x1bfba0(0x3be)][_0x1bfba0(0x16a)](_0x1a5758,_0x2836fd[_0x1bfba0(0x2d4)]),this[_0x1bfba0(0x333)]=!0x1;}[_0x394340(0x37b)](){const _0x1d66fd=_0x394340,_0x5403b8=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{const _0x1af077=_0x1d5a;this[_0x1af077(0x333)]=!0x0;}),_0x347591=this[_0x1d66fd(0x25f)]['onPointerLeave$'][_0x1d66fd(0x220)](()=>{const _0x3d1feb=_0x1d66fd;this[_0x3d1feb(0x3cf)]&&clearTimeout(this[_0x3d1feb(0x3cf)]),this[_0x3d1feb(0x3cf)]=setTimeout(()=>{const _0x5f488d=_0x3d1feb;this[_0x5f488d(0x333)]=!0x1;},0x7d0);});return()=>{const _0x259d4d=_0x1d66fd;_0x5403b8['unsubscribe'](),_0x347591[_0x259d4d(0x219)]();};}[_0x394340(0x3c9)](_0x256dbd,_0x504900,_0x3377c2,_0x5978d2){const _0xf9fa3b=_0x394340,_0x6c551b=new _0x3eca60['ColorKit'](_0x256dbd)[_0xf9fa3b(0x237)](0.2)[_0xf9fa3b(0x2f0)](),_0x43a6ea=new _0x4bf546[(_0xf9fa3b(0x3f3))](_0x2e43a3+_0x3eca60[_0xf9fa3b(0x3f9)]['generateRandomId'](_0x116780),{'pointsGroup':_0x504900,'fill':_0x6c551b||_0x4bf546['getColor'](_0x3eca60['COLORS'][_0xf9fa3b(0x385)],0.2),'left':_0x3377c2,'top':_0x5978d2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xf9fa3b(0x1eb)][_0xf9fa3b(0x2c5)](_0x43a6ea),this[_0xf9fa3b(0x3be)]['addObject'](_0x43a6ea,_0x2836fd[_0xf9fa3b(0x2d4)]);}['_drawRectRange'](_0x125658,_0x55bbe7,_0x46a6a7,_0x3f694c){const _0x785e50=_0x394340,_0x1f84ff=new _0x3eca60[(_0x785e50(0x322))](_0x125658)[_0x785e50(0x237)](0.2)['toRgbString'](),_0x3f6e50=new _0x4bf546[(_0x785e50(0x3f3))](_0x4ad25c+_0x3eca60[_0x785e50(0x3f9)][_0x785e50(0x325)](_0x116780),{'pointsGroup':_0x55bbe7,'fill':_0x1f84ff||_0x4bf546[_0x785e50(0x3ea)](_0x3eca60[_0x785e50(0x2e8)][_0x785e50(0x385)],0.2),'left':_0x46a6a7,'top':_0x3f694c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x785e50(0x1eb)][_0x785e50(0x2c5)](_0x3f6e50),this[_0x785e50(0x3be)]['addObject'](_0x3f6e50,_0x2836fd[_0x785e50(0x2d4)]);}[_0x394340(0x28a)](_0x42b580){const _0x2283c4=_0x42b580[0x0],_0x4e7114=_0x2283c4[0x0],_0x5badc1=_0x2283c4[0x2],{x:_0xb39076,y:_0x84a081}=_0x4e7114,{x:_0x99a75b,y:_0x5761ed}=_0x5badc1;return{'left':_0xb39076,'top':_0x84a081,'width':_0x99a75b-_0xb39076,'height':_0x5761ed-_0x84a081};}[_0x394340(0x2cc)](){const _0x4fec2c=_0x394340,{scaleX:_0x352848,scaleY:_0x44b78a}=this[_0x4fec2c(0x3be)][_0x4fec2c(0x1fa)]();return Math['max'](_0x352848,_0x44b78a);}}var _0x1ded7c=Object[_0x394340(0x1ee)],_0x42679c=(_0x2e5986,_0x3e5770,_0x2ad594,_0x13b151)=>{const _0x3dffa9=_0x394340;for(var _0x31a79a=_0x13b151>0x1?void 0x0:_0x13b151?_0x1ded7c(_0x3e5770,_0x2ad594):_0x3e5770,_0x5eda60=_0x2e5986[_0x3dffa9(0x403)]-0x1,_0x375061;_0x5eda60>=0x0;_0x5eda60--)(_0x375061=_0x2e5986[_0x5eda60])&&(_0x31a79a=_0x375061(_0x31a79a)||_0x31a79a);return _0x31a79a;},_0x121439=(_0x704b0e,_0x57a97d)=>(_0x2f3fa4,_0x3455a0)=>_0x57a97d(_0x2f3fa4,_0x3455a0,_0x704b0e);let _0x462670=class extends _0x3eca60[_0x394340(0x28d)]{constructor(_0x2f3ed5,_0x1fbb9c,_0x5a30ab,_0x5a6a53,_0x57ccb5){const _0x4c3c28=_0x394340;super(),_0x304002(this,_0x4c3c28(0x1a8),[]),_0x304002(this,_0x4c3c28(0x1ae),[]),(this[_0x4c3c28(0x1b9)]=_0x2f3ed5,this[_0x4c3c28(0x3c3)]=_0x1fbb9c,this[_0x4c3c28(0x21b)]=_0x5a30ab,this[_0x4c3c28(0x1ec)]=_0x5a6a53,this[_0x4c3c28(0x3ee)]=_0x57ccb5,this[_0x4c3c28(0x3d9)]());}[_0x394340(0x3d9)](){const _0x499246=_0x394340,_0x28705f=this[_0x499246(0x1b9)][_0x499246(0x286)],_0x484d9f=this[_0x499246(0x3c3)];this[_0x499246(0x380)](_0x53026d['combineLatest']([this[_0x499246(0x21b)][_0x499246(0x26f)](_0x28705f),this[_0x499246(0x3ee)][_0x499246(0x23e)]])[_0x499246(0x340)](_0x249ee4[_0x499246(0x183)](([_0x2a4957,_0x528052])=>({'skeleton':_0x484d9f[_0x499246(0x288)](),'cursors':[..._0x2a4957[_0x499246(0x2d9)]()]['flatMap'](_0x389765=>({..._0x389765,'color':this['_themeService'][_0x499246(0x3e6)](_0x389765[_0x499246(0x235)])}))})))['subscribe'](_0x3fb813=>{const _0x1ff463=_0x499246;if(this[_0x1ff463(0x213)](),_0x3fb813){const {skeleton:_0x4b8211,cursors:_0x2dd581}=_0x3fb813;this[_0x1ff463(0x1f9)](_0x4b8211,_0x2dd581);}})),this[_0x499246(0x32b)](),this[_0x499246(0x25b)]();}[_0x394340(0x1f9)](_0x4c459c,_0xa55ef2){const _0x30d2a4=_0x394340,{scene:_0x1b2a4c,mainComponent:_0x363fbb}=this[_0x30d2a4(0x1b9)],_0x28e990=_0xa55ef2['map'](_0x2a44d9=>new _0x48424c(_0x2a44d9,_0x1b2a4c,_0x4c459c,_0x363fbb));this[_0x30d2a4(0x1a8)]=_0x28e990,this['_cursors']=_0xa55ef2;}[_0x394340(0x224)](){const _0x44f376=_0x394340;this[_0x44f376(0x213)]();const {scene:_0x30eb72,mainComponent:_0x304923}=this[_0x44f376(0x1b9)],_0x990abf=this[_0x44f376(0x3c3)][_0x44f376(0x288)](),_0x3af83d=this[_0x44f376(0x1ae)]['map'](_0x39a902=>new _0x48424c(_0x39a902,_0x30eb72,_0x990abf,_0x304923));this['_cursorShapes']=_0x3af83d;}[_0x394340(0x213)](){const _0x2142f2=_0x394340;this[_0x2142f2(0x1a8)][_0x2142f2(0x2d8)](_0x48d28e=>_0x48d28e[_0x2142f2(0x33f)]()),this[_0x2142f2(0x1a8)]=[];}[_0x394340(0x25b)](){const _0x56a668=_0x394340,_0x1b728d=[_0x2836fd['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x56a668(0x1ec)][_0x56a668(0x2fa)](_0x1b377b=>{const _0x5bf3e0=_0x56a668;_0x1b728d['includes'](_0x1b377b['id'])&&_0x1b377b[_0x5bf3e0(0x18f)][_0x5bf3e0(0x286)]===this[_0x5bf3e0(0x1b9)][_0x5bf3e0(0x286)]&&this[_0x5bf3e0(0x224)]();}));}['_initResize'](){const _0x496418=_0x394340;this[_0x496418(0x380)](_0x3eca60[_0x496418(0x1d0)](this[_0x496418(0x1b9)][_0x496418(0x3bb)][_0x496418(0x251)])[_0x496418(0x340)](_0x249ee4['filter'](_0x4599a3=>_0x4599a3['type']===_0x4bf546[_0x496418(0x1a1)][_0x496418(0x3ca)]),_0x249ee4['throttleTime'](0x10))['subscribe'](()=>{const _0x5f1181=_0x496418;this[_0x5f1181(0x224)]();}));}};_0x462670=_0x42679c([_0x121439(0x1,_0x3eca60['Inject'](_0x29518c['DocSkeletonManagerService'])),_0x121439(0x2,_0x3eca60[_0x394340(0x2b8)](_0x50fe84)),_0x121439(0x3,_0x3eca60[_0x394340(0x24c)]),_0x121439(0x4,_0x3eca60[_0x394340(0x2b8)](_0x3eca60['ThemeService']))],_0x462670);const _0x33dd56=0x1,_0x312255=1.5;class _0x446520 extends _0x4bf546[_0x394340(0x1e8)]{constructor(_0x2c98d0,_0x5cf0c8){const _0x4ec973=_0x394340;super(_0x2c98d0,_0x5cf0c8),_0x304002(this,_0x4ec973(0x293)),_0x304002(this,_0x4ec973(0x3b7),!0x1),_0x304002(this,_0x4ec973(0x338)),_0x304002(this,'_name',''),_0x304002(this,_0x4ec973(0x236),_0x4ec973(0x397)),_0x304002(this,_0x4ec973(0x2aa)),(_0x5cf0c8&&this[_0x4ec973(0x318)](_0x5cf0c8),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4ec973(0x295)][_0x4ec973(0x220)](()=>this[_0x4ec973(0x318)]({'hovered':!0x1})));}[_0x394340(0x318)](_0x22d829){const _0x1c94ef=_0x394340;var _0x3f6806,_0x3e4998,_0x3555bb,_0x394c1b,_0x1e5500,_0x43c0a7;this[_0x1c94ef(0x293)]=(_0x3f6806=_0x22d829['color'])!=null?_0x3f6806:this[_0x1c94ef(0x293)],this[_0x1c94ef(0x3b7)]=(_0x3e4998=_0x22d829[_0x1c94ef(0x1c0)])!=null?_0x3e4998:this[_0x1c94ef(0x3b7)],this[_0x1c94ef(0x338)]=(_0x3555bb=_0x22d829[_0x1c94ef(0x2c8)])!=null?_0x3555bb:this[_0x1c94ef(0x338)],this[_0x1c94ef(0x36a)]=(_0x394c1b=_0x22d829['name'])!=null?_0x394c1b:this[_0x1c94ef(0x36a)],this[_0x1c94ef(0x236)]=(_0x1e5500=_0x22d829[_0x1c94ef(0x19d)])!=null?_0x1e5500:this[_0x1c94ef(0x236)],this['_backgroundColor']=(_0x43c0a7=_0x22d829[_0x1c94ef(0x2a5)])!=null?_0x43c0a7:this['_backgroundColor'],this[_0x1c94ef(0x31b)]({'width':_0x22d829[_0x1c94ef(0x3a1)],'height':_0x22d829[_0x1c94ef(0x2ca)]});}[_0x394340(0x2d7)](_0x3e26ee){const _0x1a96d7=_0x394340,{row:_0x5bff28,column:_0x2cc2f3}=_0x3e26ee;if(_0x5bff28>=this[_0x1a96d7(0x338)]['startRow']&&_0x5bff28<=this['_range'][_0x1a96d7(0x212)]&&_0x2cc2f3>=this[_0x1a96d7(0x338)]['startColumn']&&_0x2cc2f3<=this[_0x1a96d7(0x338)][_0x1a96d7(0x1f5)]){this[_0x1a96d7(0x318)]({'hovered':!0x0});return;}this[_0x1a96d7(0x318)]({'hovered':!0x1});}[_0x394340(0x181)](_0x2d42af){return!0x1;}[_0x394340(0x278)](_0x343f4c){const _0x490cae=_0x394340;_0x4bf546[_0x490cae(0x3a8)][_0x490cae(0x3c7)](_0x343f4c,{'width':this[_0x490cae(0x3a1)],'height':this[_0x490cae(0x2ca)],'strokeWidth':_0x312255,'stroke':this[_0x490cae(0x293)],'evented':!0x1,'fill':this[_0x490cae(0x2aa)]}),this[_0x490cae(0x3b7)]&&(_0x343f4c[_0x490cae(0x35a)](),_0x343f4c[_0x490cae(0x375)](0x1,0x0,0x0,0x1,this[_0x490cae(0x3a1)],this[_0x490cae(0x236)]===_0x490cae(0x3bc)?0x0:-0x14),_0x2e44f4[_0x490cae(0x3c7)](_0x343f4c,{'text':this[_0x490cae(0x36a)],'color':this[_0x490cae(0x293)]}),_0x343f4c[_0x490cae(0x171)]());}}var _0x4e770a=Object[_0x394340(0x1ee)],_0x5ca1d0=(_0x6e0225,_0x48cea7,_0x57298d,_0x1174e7)=>{for(var _0x1bc47d=_0x1174e7>0x1?void 0x0:_0x1174e7?_0x4e770a(_0x48cea7,_0x57298d):_0x48cea7,_0x406f93=_0x6e0225['length']-0x1,_0x17f5a8;_0x406f93>=0x0;_0x406f93--)(_0x17f5a8=_0x6e0225[_0x406f93])&&(_0x1bc47d=_0x17f5a8(_0x1bc47d)||_0x1bc47d);return _0x1bc47d;},_0x12fe40=(_0x5d6393,_0x18bb89)=>(_0x443986,_0xde6bb)=>_0x18bb89(_0x443986,_0xde6bb,_0x5d6393);const _0x1514e7=0x1389;let _0x2af5a9=class extends _0x3eca60[_0x394340(0x28d)]{constructor(_0x9a5ebb,_0xe624ae,_0x3e4dbc,_0x507043){const _0x16eede=_0x394340;super(),_0x304002(this,_0x16eede(0x1ae),new Set()),_0x304002(this,_0x16eede(0x2f8),null),(this[_0x16eede(0x1b9)]=_0x9a5ebb,this[_0x16eede(0x37f)]=_0xe624ae,this[_0x16eede(0x21b)]=_0x3e4dbc,this[_0x16eede(0x3ee)]=_0x507043,this[_0x16eede(0x3d9)]());}[_0x394340(0x3d9)](){const _0x4e4598=_0x394340;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4e4598(0x340)](_0x249ee4[_0x4e4598(0x2b4)](this[_0x4e4598(0x344)]),_0x249ee4[_0x4e4598(0x3ab)](_0x1c8a8c=>{const _0x424662=_0x4e4598;if(_0x1c8a8c){const _0x41d5cb=_0x1c8a8c['sheetId'];return _0x53026d[_0x424662(0x21a)](this[_0x424662(0x21b)]['getCollabCursors$'](this[_0x424662(0x1b9)][_0x424662(0x286)]),this[_0x424662(0x3ee)][_0x424662(0x23e)])[_0x424662(0x340)](_0x249ee4[_0x424662(0x183)](([_0x410b95,_0x34bb52])=>{const _0x4aa277=_0x424662,_0x32759d=new Map();return _0x410b95[_0x4aa277(0x2d8)]((_0x233024,_0x2d4780)=>{const _0xb62127=_0x4aa277;if(_0x233024['sheetID']===_0x41d5cb){const _0x26375c={..._0x233024};_0x26375c[_0xb62127(0x235)]=this[_0xb62127(0x3ee)]['getColorFromTheme'](_0x233024[_0xb62127(0x235)]),_0x32759d[_0xb62127(0x175)](_0x2d4780,_0x26375c);}}),{'skeleton':_0x1c8a8c,'cursors':_0x32759d};}));}return _0x53026d['of']({'skeleton':null,'cursors':new Map()});}))[_0x4e4598(0x270)](({skeleton:_0x5760d4,cursors:_0x3485e8})=>{const _0x477541=_0x4e4598;this[_0x477541(0x213)](),_0x5760d4&&this['_updateCollabCursors'](_0x5760d4,_0x3485e8);}),this[_0x4e4598(0x37f)]['currentSkeleton$'][_0x4e4598(0x270)](_0x5413a2=>{const _0x5cc969=_0x4e4598;if(_0x5413a2==null)return;const {skeleton:_0x5ee21f}=_0x5413a2,{scene:_0x400620}=this[_0x5cc969(0x1b9)];_0x400620[_0x5cc969(0x2e5)]['subscribeEvent'](_0x3eca60[_0x5cc969(0x1b8)](_0xb48e31=>{const _0x10359a=_0x5cc969;var _0x21351b,_0x1a491f;const {offsetX:_0x107271,offsetY:_0xc327f8}=_0xb48e31,{x:_0x431f6f,y:_0x470692}=_0x400620[_0x10359a(0x1be)](_0x4bf546[_0x10359a(0x393)][_0x10359a(0x350)]([_0x107271,_0xc327f8])),{scaleX:_0x50757a,scaleY:_0xd5f6b4}=_0x400620['getAncestorScale'](),_0x46d3e8=_0x400620[_0x10359a(0x2ef)](_0x4bf546[_0x10359a(0x297)][_0x10359a(0x24b)]),_0x21b888=_0x400620[_0x10359a(0x3d5)](_0x4bf546[_0x10359a(0x393)][_0x10359a(0x350)]([_0x431f6f,_0x470692]),_0x46d3e8),_0x5470fd=_0x5ee21f[_0x10359a(0x1a4)](_0x107271,_0xc327f8,_0x50757a,_0xd5f6b4,_0x21b888);((_0x21351b=this[_0x10359a(0x2f8)])==null?void 0x0:_0x21351b[_0x10359a(0x29a)])===_0x5470fd[_0x10359a(0x29a)]&&((_0x1a491f=this[_0x10359a(0x2f8)])==null?void 0x0:_0x1a491f[_0x10359a(0x349)])===_0x5470fd[_0x10359a(0x349)]||this[_0x10359a(0x1ae)][_0x10359a(0x2d8)](_0x179926=>{const _0x1ac1ef=_0x10359a;_0x179926[_0x1ac1ef(0x2d7)](_0x5470fd);});},0x64));});}[_0x394340(0x1f9)](_0x36cb9c,_0x29af63){const _0x22682e=_0x394340;var _0x309c46;const _0x7cfaa0=(_0x309c46=this['_sheetSkeletonManagerService'][_0x22682e(0x20d)]())==null?void 0x0:_0x309c46['skeleton'];if(!_0x7cfaa0)return;const _0x6ff54b=this[_0x22682e(0x2fb)]();if(!_0x6ff54b)return;this['_cursors'][_0x22682e(0x2d8)](_0x17d074=>{const _0x346e1e=_0x22682e;_0x17d074[_0x346e1e(0x2cb)]();});const {scene:_0x417c0c}=_0x6ff54b,_0x5c41f8=_0x59bfb0(Array['from'](_0x29af63[_0x22682e(0x2d9)]()))[_0x22682e(0x183)](_0x20680d=>{const _0x5df798=_0x22682e,{color:_0x299aec,range:_0x20749f,name:_0x559272,selection:_0x37235a,sheetID:_0x436682}=_0x20680d,{startColumn:_0x447a0f,startRow:_0x203bb8,endColumn:_0x4d8f09,endRow:_0x176baf}=_0x20749f,_0x5cb91d=_0x20cc9a['getCoordByCell'](_0x203bb8,_0x447a0f,_0x417c0c,_0x7cfaa0),_0x539878=_0x20cc9a[_0x5df798(0x1f6)](_0x176baf,_0x4d8f09,_0x417c0c,_0x7cfaa0),{columnHeaderHeightAndMarginTop:_0x4b9a36}=_0x7cfaa0,{startX:_0xf528a1,startY:_0x1bd45c}=_0x5cb91d,{endX:_0x47d3df,endY:_0x591893}=_0x539878,_0x459929=_0x47d3df-_0xf528a1,_0x567407=_0x591893-_0x1bd45c,_0x3f93a2={'labelPosition':_0x1bd45c-_0x4b9a36>=_0x3c2f03?'top':_0x5df798(0x3bc),'sheetID':_0x436682,'range':_0x20749f,'color':_0x299aec,'name':_0x559272,'selection':_0x37235a,'left':_0xf528a1,'top':_0x1bd45c,'width':_0x459929,'height':_0x567407,'evented':!0x1,'zIndex':_0x1514e7};return new _0x446520(_0x559272,_0x3f93a2);});_0x417c0c['addObjects'](_0x5c41f8,_0x33dd56),this[_0x22682e(0x1ae)]=new Set(_0x5c41f8);}['_removeCollabCursors'](){const _0x5d6622=_0x394340;var _0x4c69b4;(_0x4c69b4=this[_0x5d6622(0x1ae)])==null||_0x4c69b4[_0x5d6622(0x2d8)](_0x29ee2e=>_0x29ee2e[_0x5d6622(0x33f)]());}[_0x394340(0x2fb)](){const _0x14bbb5=_0x394340;return _0x20cc9a[_0x14bbb5(0x22d)](this[_0x14bbb5(0x1b9)][_0x14bbb5(0x2f3)],this[_0x14bbb5(0x1b9)]);}};_0x2af5a9=_0x5ca1d0([_0x12fe40(0x1,_0x3eca60[_0x394340(0x2b8)](_0x20cc9a['SheetSkeletonManagerService'])),_0x12fe40(0x2,_0x3eca60[_0x394340(0x2b8)](_0x50fe84)),_0x12fe40(0x3,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x2cf)]))],_0x2af5a9);function _0x59bfb0(_0x30f064){const _0x58599a=_0x394340,_0x127f6f=new Map();return _0x30f064['forEach'](_0x3bd1de=>{const _0xbd9a2f=_0x1d5a;if(_0x127f6f[_0xbd9a2f(0x32c)](_0x3bd1de[_0xbd9a2f(0x2ad)])){const _0x1d3a3c=_0x127f6f[_0xbd9a2f(0x202)](_0x3bd1de[_0xbd9a2f(0x2ad)]);_0x1d3a3c[_0xbd9a2f(0x277)]+=',\x20'+_0x3bd1de['name'];}else _0x127f6f['set'](_0x3bd1de[_0xbd9a2f(0x2ad)],_0x3bd1de);}),Array[_0x58599a(0x1fb)](_0x127f6f[_0x58599a(0x2d9)]());}var _0x2fd73c=function(){const _0x16f4fe=_0x394340;return _0x2fd73c=Object[_0x16f4fe(0x1b1)]||function(_0x454dc3){const _0xfa516d=_0x16f4fe;for(var _0x238fec,_0x5c6003=0x1,_0x5dcbe2=arguments[_0xfa516d(0x403)];_0x5c6003<_0x5dcbe2;_0x5c6003++){_0x238fec=arguments[_0x5c6003];for(var _0xd88c51 in _0x238fec)Object[_0xfa516d(0x287)][_0xfa516d(0x21d)][_0xfa516d(0x284)](_0x238fec,_0xd88c51)&&(_0x454dc3[_0xd88c51]=_0x238fec[_0xd88c51]);}return _0x454dc3;},_0x2fd73c[_0x16f4fe(0x206)](this,arguments);},_0x2e4951=function(_0x136295,_0x3f5c2e){const _0x404ca0=_0x394340;var _0x52d30c={};for(var _0x41c085 in _0x136295)Object[_0x404ca0(0x287)][_0x404ca0(0x21d)][_0x404ca0(0x284)](_0x136295,_0x41c085)&&_0x3f5c2e[_0x404ca0(0x170)](_0x41c085)<0x0&&(_0x52d30c[_0x41c085]=_0x136295[_0x41c085]);if(_0x136295!=null&&typeof Object['getOwnPropertySymbols']==_0x404ca0(0x17e)){for(var _0x173ecf=0x0,_0x41c085=Object[_0x404ca0(0x2b2)](_0x136295);_0x173ecf<_0x41c085['length'];_0x173ecf++)_0x3f5c2e[_0x404ca0(0x170)](_0x41c085[_0x173ecf])<0x0&&Object['prototype'][_0x404ca0(0x3b1)]['call'](_0x136295,_0x41c085[_0x173ecf])&&(_0x52d30c[_0x41c085[_0x173ecf]]=_0x136295[_0x41c085[_0x173ecf]]);}return _0x52d30c;},_0x33e532=_0x42f475[_0x394340(0x27f)](function(_0x3abff0,_0x2fed1f){const _0x166e6b=_0x394340;var _0x5ec171=_0x3abff0[_0x166e6b(0x34a)],_0x536f12=_0x3abff0['id'],_0x2450d2=_0x3abff0[_0x166e6b(0x188)],_0x141f59=_0x3abff0[_0x166e6b(0x195)],_0x52495b=_0x2e4951(_0x3abff0,[_0x166e6b(0x34a),'id','className',_0x166e6b(0x195)]),_0x5ce291=_0x166e6b(0x2d2)[_0x166e6b(0x23d)](_0x536f12,'\x20')[_0x166e6b(0x23d)](_0x2450d2||'')['trim'](),_0x5931dc=_0x42f475[_0x166e6b(0x2c9)]('_'[_0x166e6b(0x23d)](_0x1ce169()));return _0x22b06b(_0x5ec171,''[_0x166e6b(0x23d)](_0x536f12),{'defIds':_0x5ec171[_0x166e6b(0x31e)],'idSuffix':_0x5931dc[_0x166e6b(0x2f6)]},_0x2fd73c({'ref':_0x2fed1f,'className':_0x5ce291},_0x52495b),_0x141f59);});function _0x22b06b(_0x500fb7,_0x1a699f,_0x434987,_0x40f508,_0x54e20b){const _0x1a0c04=_0x394340;return _0x42f475[_0x1a0c04(0x1f4)](_0x500fb7[_0x1a0c04(0x21c)],_0x2fd73c(_0x2fd73c({'key':_0x1a699f},_0x162d30(_0x500fb7,_0x434987,_0x54e20b)),_0x40f508),(_0x453084(_0x500fb7,_0x434987)[_0x1a0c04(0x204)]||[])[_0x1a0c04(0x183)](function(_0x1c4b4f,_0xaa5fd0){const _0xc26ef2=_0x1a0c04;return _0x22b06b(_0x1c4b4f,''['concat'](_0x1a699f,'-')[_0xc26ef2(0x23d)](_0x500fb7[_0xc26ef2(0x21c)],'-')[_0xc26ef2(0x23d)](_0xaa5fd0),_0x434987,void 0x0,_0x54e20b);}));}function _0x162d30(_0x352b45,_0x4dd48b,_0x42fa07){const _0x33b40c=_0x394340;var _0x3d7703=_0x2fd73c({},_0x352b45[_0x33b40c(0x29d)]);_0x42fa07!=null&&_0x42fa07['colorChannel1']&&_0x3d7703['fill']===_0x33b40c(0x3c2)&&(_0x3d7703[_0x33b40c(0x18d)]=_0x42fa07[_0x33b40c(0x3c2)]),_0x352b45[_0x33b40c(0x21c)]===_0x33b40c(0x363)&&_0x3d7703['id']&&(_0x3d7703['id']=_0x3d7703['id']+_0x4dd48b[_0x33b40c(0x19b)]),Object[_0x33b40c(0x2fd)](_0x3d7703)[_0x33b40c(0x2d8)](function(_0xd10154){const _0x5d5b5d=_0x33b40c;var _0x4145be=_0xd10154[0x0],_0x2fb628=_0xd10154[0x1];_0x4145be==='mask'&&typeof _0x2fb628==_0x5d5b5d(0x210)&&(_0x3d7703[_0x4145be]=_0x2fb628[_0x5d5b5d(0x1ed)](/url\(#(.*)\)/,_0x5d5b5d(0x32d)[_0x5d5b5d(0x23d)](_0x4dd48b[_0x5d5b5d(0x19b)],')')));});var _0x5acb5a=_0x4dd48b['defIds'];return!_0x5acb5a||_0x5acb5a['length']===0x0||(_0x352b45['tag']==='use'&&_0x3d7703[_0x33b40c(0x36e)]&&(_0x3d7703[_0x33b40c(0x36e)]=_0x3d7703[_0x33b40c(0x36e)]+_0x4dd48b[_0x33b40c(0x19b)]),Object[_0x33b40c(0x2fd)](_0x3d7703)[_0x33b40c(0x2d8)](function(_0x1f557f){const _0x31ee09=_0x33b40c;var _0x1817be=_0x1f557f[0x0],_0xda0b1b=_0x1f557f[0x1];typeof _0xda0b1b==_0x31ee09(0x210)&&(_0x3d7703[_0x1817be]=_0xda0b1b[_0x31ee09(0x1ed)](/url\(#(.*)\)/,'url(#$1'[_0x31ee09(0x23d)](_0x4dd48b['idSuffix'],')')));})),_0x3d7703;}function _0x453084(_0x584b4e,_0x23ad64){const _0xc45fb4=_0x394340;var _0x3e38b4,_0x4efc8d=_0x23ad64['defIds'];return!_0x4efc8d||_0x4efc8d['length']===0x0?_0x584b4e:_0x584b4e[_0xc45fb4(0x21c)]===_0xc45fb4(0x1d4)&&(!((_0x3e38b4=_0x584b4e[_0xc45fb4(0x204)])===null||_0x3e38b4===void 0x0)&&_0x3e38b4[_0xc45fb4(0x403)])?_0x2fd73c(_0x2fd73c({},_0x584b4e),{'children':_0x584b4e['children'][_0xc45fb4(0x183)](function(_0x5353ae){const _0x36ee3d=_0xc45fb4;return typeof _0x5353ae[_0x36ee3d(0x29d)]['id']==_0x36ee3d(0x210)&&_0x4efc8d&&_0x4efc8d[_0x36ee3d(0x170)](_0x5353ae[_0x36ee3d(0x29d)]['id'])>-0x1?_0x2fd73c(_0x2fd73c({},_0x5353ae),{'attrs':_0x2fd73c(_0x2fd73c({},_0x5353ae[_0x36ee3d(0x29d)]),{'id':_0x5353ae[_0x36ee3d(0x29d)]['id']+_0x23ad64[_0x36ee3d(0x19b)]})}):_0x5353ae;})}):_0x584b4e;}function _0x1ce169(){const _0x29cd72=_0x394340;return Math[_0x29cd72(0x2a3)]()[_0x29cd72(0x1bf)](0x24)[_0x29cd72(0x38c)](0x2,0x8);}_0x33e532[_0x394340(0x1d9)]=_0x394340(0x20e);var _0x452c0d={'tag':_0x394340(0x1e2),'attrs':{'fill':_0x394340(0x394),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x394340(0x33a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x394340(0x30b),'attrs':{'stroke':_0x394340(0x232),'d':_0x394340(0x1ac),'strokeLinecap':_0x394340(0x28b),'strokeLinejoin':_0x394340(0x28b),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x394340(0x2d3),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x394340(0x30b),'attrs':{'fill':_0x394340(0x2b6),'d':_0x394340(0x28f)}}]}]}],'defIds':[_0x394340(0x1ff)]},_0x4f1229=_0x42f475[_0x394340(0x27f)](function(_0x31aa3e,_0x59d63c){const _0x4f511f=_0x394340;return _0x42f475[_0x4f511f(0x1f4)](_0x33e532,Object['assign']({},_0x31aa3e,{'id':_0x4f511f(0x3df),'ref':_0x59d63c,'icon':_0x452c0d}));});_0x4f1229['displayName']=_0x394340(0x1d2);var _0x5db54e={'tag':_0x394340(0x1e2),'attrs':{'fill':_0x394340(0x394),'viewBox':'0\x200\x2017\x2016','width':_0x394340(0x33a),'height':_0x394340(0x33a)},'children':[{'tag':'g','attrs':{'clipPath':_0x394340(0x1a9)},'children':[{'tag':_0x394340(0x30b),'attrs':{'stroke':_0x394340(0x232),'d':_0x394340(0x345),'strokeLinecap':_0x394340(0x28b),'strokeLinejoin':_0x394340(0x28b),'strokeWidth':1.2}}]},{'tag':_0x394340(0x1d4),'attrs':{},'children':[{'tag':_0x394340(0x2d3),'attrs':{'id':_0x394340(0x1d5)},'children':[{'tag':_0x394340(0x30b),'attrs':{'fill':_0x394340(0x2b6),'d':_0x394340(0x28f),'transform':_0x394340(0x16f)}}]}]}],'defIds':[_0x394340(0x1d5)]},_0xef1d0a=_0x42f475['forwardRef'](function(_0x3573c6,_0x193a83){const _0x5724f5=_0x394340;return _0x42f475[_0x5724f5(0x1f4)](_0x33e532,Object[_0x5724f5(0x1b1)]({},_0x3573c6,{'id':_0x5724f5(0x2fc),'ref':_0x193a83,'icon':_0x5db54e}));});_0xef1d0a[_0x394340(0x1d9)]=_0x394340(0x3de);function _0x3af2d(_0x574fcd){const _0x45cd10=_0x394340;switch(_0x574fcd){case _0xcdca2f[_0x45cd10(0x2b5)]['OFFLINE']:return _0x45cd10(0x26b);case _0xcdca2f[_0x45cd10(0x2b5)][_0x45cd10(0x246)]:return _0x45cd10(0x177);case _0xcdca2f['CollaborationStatus'][_0x45cd10(0x307)]:return'collabStatus.fetchMiss';case _0xcdca2f['CollaborationStatus'][_0x45cd10(0x1b2)]:return _0x45cd10(0x3ae);case _0xcdca2f['CollaborationStatus']['AWAITING']:case _0xcdca2f[_0x45cd10(0x2b5)][_0x45cd10(0x2ec)]:return'collabStatus.syncing';case _0xcdca2f[_0x45cd10(0x2b5)][_0x45cd10(0x25c)]:case _0xcdca2f[_0x45cd10(0x2b5)]['PENDING']:return _0x45cd10(0x396);}}function _0x497efe(_0x121a70){const _0x2b4cff=_0x394340,{status$:_0x2aa079}=_0x121a70,_0x22cfbe=_0x3879ce['useObservable'](_0x2aa079,_0xcdca2f[_0x2b4cff(0x2b5)][_0x2b4cff(0x1b2)]),_0x360ad2=_0x3879ce['useDependency'](_0x3eca60[_0x2b4cff(0x2df)]),_0x5d4642=_0x3879ce[_0x2b4cff(0x263)](_0xcdca2f['CollaborationSessionService']),_0x405292=_0x22cfbe!==_0xcdca2f[_0x2b4cff(0x2b5)][_0x2b4cff(0x234)],_0x53aabf=_0x360ad2['t'](_0x3af2d(_0x22cfbe)),_0x761b6b=_0x405292?_0x265223[_0x2b4cff(0x1b5)](_0xef1d0a,{}):_0x265223[_0x2b4cff(0x1b5)](_0x4f1229,{}),_0x341de9=_0x42f475[_0x2b4cff(0x22b)](()=>{const _0x350427=_0x2b4cff;_0x405292||_0x5d4642[_0x350427(0x30d)]();},[_0x405292,_0x5d4642]);function _0x4d6221(){const _0x292352=_0x2b4cff;return _0x265223['jsxs'](_0x292352(0x36f),{'className':_0x292352(0x30e),'onClick':_0x341de9,'children':[_0x265223['jsx']('div',{'className':_0x6a8d20['clsx'](_0x292352(0x3b4),{'univer-text-green-500':_0x405292,'univer-text-red-500':!_0x405292}),'children':_0x761b6b}),_0x265223[_0x292352(0x1b5)](_0x292352(0x36f),{'className':_0x292352(0x2f5),'children':_0x53aabf})]});}return _0x405292?_0x4d6221():_0x265223[_0x2b4cff(0x1b5)](_0x6a8d20['Tooltip'],{'title':_0x360ad2['t'](_0x2b4cff(0x1bc)),'children':_0x4d6221()});}var _0x3acb54=Object[_0x394340(0x1ee)],_0x3c9255=(_0x53d220,_0xf7388c,_0x3b9654,_0x112077)=>{const _0x4c3873=_0x394340;for(var _0x14be92=_0x112077>0x1?void 0x0:_0x112077?_0x3acb54(_0xf7388c,_0x3b9654):_0xf7388c,_0xfa3a5=_0x53d220[_0x4c3873(0x403)]-0x1,_0x3d1404;_0xfa3a5>=0x0;_0xfa3a5--)(_0x3d1404=_0x53d220[_0xfa3a5])&&(_0x14be92=_0x3d1404(_0x14be92)||_0x14be92);return _0x14be92;},_0x2d9b97=(_0x42af52,_0x1514ae)=>(_0x4dded9,_0x120a34)=>_0x1514ae(_0x4dded9,_0x120a34,_0x42af52);_0x4a6788[_0x394340(0x2b7)]=class extends _0x3eca60[_0x394340(0x3d7)]{constructor(_0x5972e2,_0x1e54e7,_0x2ce028,_0x2d3412){const _0x2345ba=_0x394340;super(),_0x304002(this,_0x2345ba(0x3ec),new _0x53026d[(_0x2345ba(0x323))](_0xcdca2f[_0x2345ba(0x2b5)][_0x2345ba(0x1b2)])),(this[_0x2345ba(0x2a0)]=_0x5972e2,this['_injector']=_0x1e54e7,this[_0x2345ba(0x2ae)]=_0x2ce028,this[_0x2345ba(0x19a)]=_0x2d3412,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x394340(0x3d3)](){const _0x917f6=_0x394340;this[_0x917f6(0x380)](this[_0x917f6(0x2a0)]['focused$'][_0x917f6(0x340)](_0x53026d['switchMap'](()=>{const _0x20ff39=_0x917f6,_0x316e04=this[_0x20ff39(0x2a0)][_0x20ff39(0x256)]();return _0x316e04?this[_0x20ff39(0x2ae)]['getCollabEntity$'](_0x316e04['getUnitId']()):_0x53026d['of'](null);}),_0x53026d['switchMap'](_0x983355=>_0x983355?_0x983355[_0x917f6(0x187)]:_0x53026d['of'](_0xcdca2f['CollaborationStatus'][_0x917f6(0x1b2)])))['subscribe'](_0x21a02e=>{const _0x195608=_0x917f6;this[_0x195608(0x3ec)][_0x195608(0x275)](_0x21a02e);}));}[_0x394340(0x352)](){const _0xfb6869=_0x394340;this[_0xfb6869(0x380)](this[_0xfb6869(0x19a)]['registerComponent'](_0x3879ce[_0xfb6869(0x186)][_0xfb6869(0x34d)],()=>_0x3879ce[_0xfb6869(0x3d1)](_0x5b4114({'status$':this['_status$'][_0xfb6869(0x1b7)]()}),this[_0xfb6869(0x1e9)])));}},_0x4a6788[_0x394340(0x2b7)]=_0x3c9255([_0x2d9b97(0x0,_0x3eca60[_0x394340(0x200)]),_0x2d9b97(0x1,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0x2d9b97(0x2,_0x3eca60[_0x394340(0x2b8)](_0xcdca2f[_0x394340(0x22a)])),_0x2d9b97(0x3,_0x3879ce[_0x394340(0x1b3)])],_0x4a6788[_0x394340(0x2b7)]);function _0x5b4114(_0x5d4659){const {status$:_0x4d8256}=_0x5d4659;return function(){const _0x53ebc3=_0x1d5a;return _0x265223[_0x53ebc3(0x1b5)](_0x497efe,{'status$':_0x4d8256});};}var _0x498f34=Object['getOwnPropertyDescriptor'],_0x23e08b=(_0x4975a3,_0x36569d,_0x1541a5,_0x3f699c)=>{const _0x4469aa=_0x394340;for(var _0x5b46e5=_0x3f699c>0x1?void 0x0:_0x3f699c?_0x498f34(_0x36569d,_0x1541a5):_0x36569d,_0x28ca98=_0x4975a3[_0x4469aa(0x403)]-0x1,_0x984e13;_0x28ca98>=0x0;_0x28ca98--)(_0x984e13=_0x4975a3[_0x28ca98])&&(_0x5b46e5=_0x984e13(_0x5b46e5)||_0x5b46e5);return _0x5b46e5;},_0x5acf23=(_0x2e20e3,_0x35c5c8)=>(_0x48ca5b,_0x3267f5)=>_0x35c5c8(_0x48ca5b,_0x3267f5,_0x2e20e3);let _0x5a5087=class extends _0x3eca60[_0x394340(0x3d7)]{constructor(_0x540418,_0x53b05a,_0x3bd6f0,_0x6bac9,_0x5f0a4d,_0x1dc612){const _0x355776=_0x394340;super(),this['_beforeCloseService']=_0x540418,this[_0x355776(0x20f)]=_0x53b05a,this[_0x355776(0x292)]=_0x3bd6f0,this[_0x355776(0x353)]=_0x6bac9,this[_0x355776(0x2d1)]=_0x5f0a4d,this[_0x355776(0x33e)]=_0x1dc612,this[_0x355776(0x36d)](),this[_0x355776(0x2a4)]();}['_setupBeforeClosingHandler'](){const _0xbebd00=_0x394340;this[_0xbebd00(0x380)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x559473=_0xbebd00;if(this[_0x559473(0x20f)][_0x559473(0x1c8)]['size'])return this[_0x559473(0x33e)]['t'](_0x559473(0x1f8));}));}[_0x394340(0x2a4)](){const _0x483dcf=_0x394340;this[_0x483dcf(0x380)](this['_collaborationUIEventService'][_0x483dcf(0x17b)][_0x483dcf(0x270)](_0x1fb19c=>{const _0x2bc3e7=_0x483dcf;_0x1fb19c['id']===_0xcdca2f['CollaborationUIEventId'][_0x2bc3e7(0x230)]&&this[_0x2bc3e7(0x353)]['show']({'type':_0x6a8d20[_0x2bc3e7(0x1f0)][_0x2bc3e7(0x3ef)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x1fb19c['id']===_0xcdca2f[_0x2bc3e7(0x341)][_0x2bc3e7(0x365)]&&this['_messageService']['show']({'type':_0x6a8d20[_0x2bc3e7(0x1f0)][_0x2bc3e7(0x3ef)],'content':this[_0x2bc3e7(0x33e)]['t'](_0x2bc3e7(0x3b0))}),_0x1fb19c['id']===_0xcdca2f[_0x2bc3e7(0x341)][_0x2bc3e7(0x2a8)]&&this[_0x2bc3e7(0x2d1)][_0x2bc3e7(0x3d4)]({'title':this[_0x2bc3e7(0x33e)]['t'](_0x2bc3e7(0x296)),'content':this[_0x2bc3e7(0x33e)]['t'](_0x2bc3e7(0x1cc)),'type':'error','duration':0x0}),_0x1fb19c['id']===_0xcdca2f[_0x2bc3e7(0x341)]['CONFLICT']&&this[_0x2bc3e7(0x353)][_0x2bc3e7(0x3d4)]({'type':_0x6a8d20[_0x2bc3e7(0x1f0)]['Error'],'content':this[_0x2bc3e7(0x33e)]['t'](_0x2bc3e7(0x3b0))+'('+_0x1fb19c[_0x2bc3e7(0x388)]+')'}),_0x1fb19c['id']===_0xcdca2f[_0x2bc3e7(0x341)][_0x2bc3e7(0x390)]&&this[_0x2bc3e7(0x353)][_0x2bc3e7(0x3d4)]({'type':_0x6a8d20['MessageType'][_0x2bc3e7(0x3ef)],'content':this[_0x2bc3e7(0x33e)]['t'](_0x1fb19c['data']||'')}),_0x1fb19c['id']===_0xcdca2f['CollaborationUIEventId'][_0x2bc3e7(0x35f)]&&this[_0x2bc3e7(0x353)][_0x2bc3e7(0x3d4)]({'type':_0x6a8d20[_0x2bc3e7(0x1f0)][_0x2bc3e7(0x3ef)],'content':this[_0x2bc3e7(0x33e)]['t'](_0x2bc3e7(0x1b0))}),_0x1fb19c['id']===_0xcdca2f[_0x2bc3e7(0x341)][_0x2bc3e7(0x329)]&&this[_0x2bc3e7(0x353)][_0x2bc3e7(0x3d4)]({'type':_0x6a8d20[_0x2bc3e7(0x1f0)][_0x2bc3e7(0x3af)],'content':this[_0x2bc3e7(0x33e)]['t'](_0x2bc3e7(0x218))}),_0x1fb19c['id']===_0xcdca2f[_0x2bc3e7(0x341)][_0x2bc3e7(0x359)]&&this['_messageService'][_0x2bc3e7(0x3d4)]({'type':_0x6a8d20[_0x2bc3e7(0x1f0)]['Error'],'content':this['_localeService']['t'](_0x2bc3e7(0x3f4))});}));}};_0x5a5087=_0x23e08b([_0x5acf23(0x0,_0x3879ce[_0x394340(0x231)]),_0x5acf23(0x1,_0xcdca2f[_0x394340(0x1fc)]),_0x5acf23(0x2,_0x3eca60['Inject'](_0xcdca2f['CollaborationUIEventService'])),_0x5acf23(0x3,_0x3879ce['IMessageService']),_0x5acf23(0x4,_0x3879ce[_0x394340(0x21e)]),_0x5acf23(0x5,_0x3eca60[_0x394340(0x2b8)](_0x3eca60['LocaleService']))],_0x5a5087);const _0x21e8d6=_0x394340(0x371),_0x362a05={},_0xf95d88=_0x3eca60['createIdentifier'](_0x394340(0x389));var _0x5e9824=Object[_0x394340(0x1ee)],_0x188117=(_0x47a99b,_0x167bff,_0xc8516f,_0x4e5c3c)=>{const _0x2b13fc=_0x394340;for(var _0x1dd536=_0x4e5c3c>0x1?void 0x0:_0x4e5c3c?_0x5e9824(_0x167bff,_0xc8516f):_0x167bff,_0x4ea9e6=_0x47a99b[_0x2b13fc(0x403)]-0x1,_0x5675d6;_0x4ea9e6>=0x0;_0x4ea9e6--)(_0x5675d6=_0x47a99b[_0x4ea9e6])&&(_0x1dd536=_0x5675d6(_0x1dd536)||_0x1dd536);return _0x1dd536;},_0x927837=(_0x249214,_0x290439)=>(_0x5b58ad,_0x379e2d)=>_0x290439(_0x5b58ad,_0x379e2d,_0x249214);_0x4a6788[_0x394340(0x3a6)]=class extends _0x3eca60['RxDisposable']{constructor(_0x460f4d,_0x3f977b,_0x3b08b3,_0x322b74,_0x404603){const _0x165b04=_0x394340;super(),this['_urlService']=_0x460f4d,this[_0x165b04(0x366)]=_0x3f977b,this['_commandService']=_0x3b08b3,this[_0x165b04(0x3e4)]=_0x322b74,_0x404603?_0x404603==null||_0x404603[_0x165b04(0x35b)]()[_0x165b04(0x3bd)](()=>this[_0x165b04(0x3d9)]()):(this[_0x165b04(0x366)][_0x165b04(0x334)](_0x165b04(0x306),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async['_init'](){const _0x3cb5c4=_0x394340,_0x39efae=this['_urlService']['getParam']('unit'),_0x3b0024=this[_0x3cb5c4(0x262)][_0x3cb5c4(0x3fc)](_0x3cb5c4(0x32a)),_0x111514=this[_0x3cb5c4(0x262)][_0x3cb5c4(0x3fc)]('subunit');if(!_0x39efae||!_0x3b0024){this[_0x3cb5c4(0x366)]['debug'](_0x3cb5c4(0x306),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0xaea648=await this[_0x3cb5c4(0x3e4)][_0x3cb5c4(0x1d7)](_0x39efae,Number(_0x3b0024),_0x111514);_0xaea648&&_0xaea648 instanceof _0x3eca60['Workbook']&&this[_0x3cb5c4(0x257)](_0xaea648);}async[_0x394340(0x257)](_0x407685){const _0x953ada=_0x394340;await this['_updateSubUnitFromURLParams'](_0x407685),_0x407685['activeSheet$'][_0x953ada(0x340)](_0x53026d[_0x953ada(0x2b4)](this[_0x953ada(0x344)]))[_0x953ada(0x270)](_0x2c6d7f=>{const _0x242c56=_0x953ada;_0x2c6d7f&&this[_0x242c56(0x2d5)](_0x2c6d7f);}),this['_urlService'][_0x953ada(0x308)][_0x953ada(0x340)](_0x53026d[_0x953ada(0x2b4)](this[_0x953ada(0x344)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x407685));}[_0x394340(0x2d5)](_0x4efdc8,_0xab0852=!0x1){const _0x2c4414=_0x394340,_0x155768=this[_0x2c4414(0x262)][_0x2c4414(0x3fc)](_0x2c4414(0x245));_0x4efdc8[_0x2c4414(0x1c7)]()!==_0x155768&&this['_urlService']['setParam'](_0x2c4414(0x245),_0x4efdc8[_0x2c4414(0x1c7)](),_0xab0852);}async[_0x394340(0x3c8)](_0x4687df){const _0x159378=_0x394340;var _0x2c1df4;const _0x3a9dad=this[_0x159378(0x262)][_0x159378(0x3fc)]('subunit');if(!_0x3a9dad||!_0x4687df[_0x159378(0x248)](_0x3a9dad)){const _0x74a6a8=_0x4687df[_0x159378(0x367)]()[0x0],_0x279655=_0x4687df[_0x159378(0x248)](_0x74a6a8);if(!_0x279655)return;this[_0x159378(0x2d5)](_0x279655,!0x0),await this[_0x159378(0x1ec)][_0x159378(0x3e8)](_0x1cd602[_0x159378(0x190)]['id'],{'unitId':_0x4687df[_0x159378(0x309)](),'subUnitId':_0x74a6a8});return;}((_0x2c1df4=_0x4687df['getActiveSheet']())==null?void 0x0:_0x2c1df4['getSheetId']())!==_0x3a9dad&&await this[_0x159378(0x1ec)][_0x159378(0x3e8)](_0x1cd602['SetWorksheetActivateCommand']['id'],{'unitId':_0x4687df[_0x159378(0x309)](),'subUnitId':_0x3a9dad});}},_0x4a6788[_0x394340(0x3a6)]=_0x188117([_0x927837(0x0,_0xf95d88),_0x927837(0x1,_0x3eca60[_0x394340(0x346)]),_0x927837(0x2,_0x3eca60['ICommandService']),_0x927837(0x3,_0x3eca60[_0x394340(0x2b8)](_0xcdca2f[_0x394340(0x36b)])),_0x927837(0x4,_0x3eca60[_0x394340(0x1df)](_0x4f36bd[_0x394340(0x174)]))],_0x4a6788[_0x394340(0x3a6)]);var _0x1f82e9=Object[_0x394340(0x1ee)],_0x5148cd=(_0x3c3785,_0x553b31,_0x52d0fb,_0xe4cb4c)=>{const _0x466c24=_0x394340;for(var _0x2d1585=_0xe4cb4c>0x1?void 0x0:_0xe4cb4c?_0x1f82e9(_0x553b31,_0x52d0fb):_0x553b31,_0x354a26=_0x3c3785[_0x466c24(0x403)]-0x1,_0x2ee013;_0x354a26>=0x0;_0x354a26--)(_0x2ee013=_0x3c3785[_0x354a26])&&(_0x2d1585=_0x2ee013(_0x2d1585)||_0x2d1585);return _0x2d1585;},_0xdeab42=(_0x5aef27,_0x38d6b0)=>(_0x51fb2e,_0xa9555f)=>_0x38d6b0(_0x51fb2e,_0xa9555f,_0x5aef27);let _0x55f584=class{constructor(_0x3fe3eb,_0x130962,_0x507a21){const _0x341746=_0x394340;this[_0x341746(0x1e9)]=_0x3fe3eb,this['_transformService']=_0x130962,this[_0x341746(0x27a)]=_0x507a21;}[_0x394340(0x244)](_0x1eb1f7){const _0x5d082b=_0x394340;this[_0x5d082b(0x384)](_0x1eb1f7),this[_0x5d082b(0x35c)](_0x1eb1f7);}[_0x394340(0x23c)](_0x4d01e6){const _0x558582=_0x394340,{unitID:_0x3141dc}=_0x4d01e6,_0x455463=this[_0x558582(0x27a)]['getRenderById'](_0x3141dc)[_0x558582(0x26a)](_0x2836fd[_0x558582(0x1f2)]),{redoCache:_0x48d640}=_0x455463[_0x558582(0x2f4)]();if(_0x48d640[_0x558582(0x403)]===0x0)return _0x4d01e6;let _0x3fdaab=_0x3eca60[_0x558582(0x3f9)][_0x558582(0x2fe)](_0x4d01e6[_0x558582(0x1cd)][0x0]);for(let _0x4c9c2b=0x0;_0x4c9c2b<_0x48d640[_0x558582(0x403)];_0x4c9c2b++){const _0x233611={'id':'doc.mutation.rich-text-editing','params':{..._0x48d640[_0x4c9c2b]}},_0x316b73=this[_0x558582(0x1a5)]['transformMutation'](_0x3fdaab,_0x233611,!0x1);if(_0x3a2116[_0x558582(0x2dc)](_0x316b73))throw _0x316b73[_0x558582(0x31d)];_0x3fdaab=_0x316b73['m1Prime'];}return{..._0x3eca60['Tools'][_0x558582(0x2fe)](_0x4d01e6),'mutations':[_0x3fdaab]};}[_0x394340(0x384)](_0x2aef02){const _0x449def=_0x394340,{unitID:_0xb92f0a}=_0x2aef02,_0x58a17b=this[_0x449def(0x27a)][_0x449def(0x294)](_0xb92f0a)[_0x449def(0x26a)](_0x2836fd[_0x449def(0x1f2)]),{undoCache:_0x1513a1,redoCache:_0x301943}=_0x58a17b[_0x449def(0x2f4)]();if(_0x1513a1[_0x449def(0x403)]===0x0||_0x301943[_0x449def(0x403)]===0x0)return;const _0x3b7582=[],_0x480af4=[];let _0xa47e6c=_0x3eca60[_0x449def(0x3f9)][_0x449def(0x2fe)](_0x2aef02[_0x449def(0x1cd)][0x0]),_0x1102a3=_0x3eca60[_0x449def(0x3f9)][_0x449def(0x2fe)](_0x2aef02['mutations'][0x0]);for(let _0x209b4a=_0x1513a1['length']-0x1;_0x209b4a>=0x0;_0x209b4a--){const _0x23bdd3={'id':_0x449def(0x3f7),'params':{..._0x1513a1[_0x209b4a]}},_0x124905={'id':_0x449def(0x3f7),'params':{..._0x301943[_0x209b4a]}},_0x174e3f=this[_0x449def(0x1a5)][_0x449def(0x253)](_0xa47e6c,_0x23bdd3,!0x1),_0x890237=this['_transformService'][_0x449def(0x253)](_0x1102a3,_0x124905,!0x1);if(_0x3a2116['isTransformMutationFailure'](_0x174e3f))throw _0x174e3f[_0x449def(0x31d)];if(_0x3a2116[_0x449def(0x2dc)](_0x890237))throw _0x890237[_0x449def(0x31d)];_0x3b7582['unshift'](_0x174e3f['m2Prime'][_0x449def(0x18f)]),_0x480af4[_0x449def(0x265)](_0x890237[_0x449def(0x272)]['params']),_0xa47e6c=_0x174e3f[_0x449def(0x2bb)],_0x1102a3=_0x890237[_0x449def(0x2bb)];}_0x58a17b[_0x449def(0x3dc)]({'undoCache':_0x3b7582,'redoCache':_0x480af4});}['_transformPreviousActiveRange'](_0x3599be){const _0x1b01c6=_0x394340,{unitID:_0x37de50}=_0x3599be,_0x1a1e57=this['_renderManagerService'][_0x1b01c6(0x294)](_0x37de50)[_0x1b01c6(0x26a)](_0x2836fd[_0x1b01c6(0x1f2)]),_0x26c254=_0x1a1e57['getActiveRange']();if(_0x26c254==null)return;const _0xeb027e=[{'id':_0x1b01c6(0x3f7),'params':{'unitId':_0x3599be[_0x1b01c6(0x38d)],'actions':null,'textRanges':[_0x26c254]}}],_0xbfa05e=this[_0x1b01c6(0x1a5)][_0x1b01c6(0x290)](_0x3599be,_0xeb027e);if(!_0x3a2116['isTransformMutationsWithChangesetSuccess'](_0xbfa05e))throw _0xbfa05e[_0x1b01c6(0x31d)];const _0x188286=_0xbfa05e[_0x1b01c6(0x272)][0x0][_0x1b01c6(0x18f)]['textRanges'];Array[_0x1b01c6(0x3d8)](_0x188286)&&_0x188286[_0x1b01c6(0x403)]&&_0x1a1e57[_0x1b01c6(0x1e4)](_0x188286[0x0]);}};_0x55f584=_0x5148cd([_0xdeab42(0x0,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0xdeab42(0x1,_0x3a2116[_0x394340(0x21f)]),_0xdeab42(0x2,_0x4bf546[_0x394340(0x34c)])],_0x55f584);var _0xb6beb8=Object[_0x394340(0x1ee)],_0x2c5299=(_0x182392,_0x452e86,_0x13e45c,_0x29262e)=>{const _0x3f684f=_0x394340;for(var _0x551ba3=_0x29262e>0x1?void 0x0:_0x29262e?_0xb6beb8(_0x452e86,_0x13e45c):_0x452e86,_0x23b017=_0x182392[_0x3f684f(0x403)]-0x1,_0x27df97;_0x23b017>=0x0;_0x23b017--)(_0x27df97=_0x182392[_0x23b017])&&(_0x551ba3=_0x27df97(_0x551ba3)||_0x551ba3);return _0x551ba3;},_0x89418a=(_0xa54912,_0x5dbfa1)=>(_0x1b5837,_0x523478)=>_0x5dbfa1(_0x1b5837,_0x523478,_0xa54912);let _0x1fda78=class{constructor(_0x5f015d,_0xaa3fa3,_0x44671b){const _0x4e66e8=_0x394340;this['_injector']=_0x5f015d,this['_transformService']=_0xaa3fa3,this[_0x4e66e8(0x1c1)]=_0x44671b;}[_0x394340(0x313)](_0x3e990e){const _0x57128e=_0x394340;this[_0x57128e(0x18c)](_0x3e990e);}[_0x394340(0x23c)](_0x3247df){const _0x2d72f9=_0x394340,{unitID:_0x1097e3}=_0x3247df,{collaboration:_0x5500cf}=this['_docStateChangeManagerService']['getStateCache'](_0x1097e3);if(_0x5500cf[_0x2d72f9(0x403)]===0x0)return _0x3247df;let _0xf14c22=_0x3eca60['Tools'][_0x2d72f9(0x2fe)](_0x3247df['mutations'][0x0]);for(let _0x606aeb=0x0;_0x606aeb<_0x5500cf[_0x2d72f9(0x403)];_0x606aeb++){const _0x4cb52a={'id':_0x2d72f9(0x3f7),'params':{'unitId':_0x5500cf[_0x606aeb][_0x2d72f9(0x286)],..._0x5500cf[_0x606aeb][_0x2d72f9(0x211)]}},_0x339a92=this[_0x2d72f9(0x1a5)][_0x2d72f9(0x253)](_0xf14c22,_0x4cb52a,!0x1);if(_0x3a2116[_0x2d72f9(0x2dc)](_0x339a92))throw _0x339a92[_0x2d72f9(0x31d)];_0xf14c22=_0x339a92['m1Prime'];}return{..._0x3eca60[_0x2d72f9(0x3f9)][_0x2d72f9(0x2fe)](_0x3247df),'mutations':[_0xf14c22]};}[_0x394340(0x18c)](_0x15227e){const _0x738f5a=_0x394340,{unitID:_0x21e4aa}=_0x15227e,{history:_0x10feca,collaboration:_0x27f329}=this['_docStateChangeManagerService'][_0x738f5a(0x2be)](_0x21e4aa);if(_0x10feca[_0x738f5a(0x403)]===0x0&&_0x27f329['length']===0x0)return;const _0x21f806=[],_0x36bd40=[];let _0x441cb9=_0x3eca60[_0x738f5a(0x3f9)][_0x738f5a(0x2fe)](_0x15227e[_0x738f5a(0x1cd)][0x0]),_0x3f74be=_0x3eca60[_0x738f5a(0x3f9)][_0x738f5a(0x2fe)](_0x15227e[_0x738f5a(0x1cd)][0x0]);for(let _0x29d952=_0x10feca[_0x738f5a(0x403)]-0x1;_0x29d952>=0x0;_0x29d952--){const _0x3e85ca={'id':_0x738f5a(0x3f7),'params':{'unitId':_0x10feca[_0x29d952][_0x738f5a(0x286)],..._0x10feca[_0x29d952][_0x738f5a(0x192)]}},_0xac17f2={'id':_0x738f5a(0x3f7),'params':{'unitId':_0x10feca[_0x29d952]['unitId'],..._0x10feca[_0x29d952][_0x738f5a(0x211)]}},_0x4b1a36=this['_transformService'][_0x738f5a(0x253)](_0x441cb9,_0x3e85ca,!0x1),_0x557c2b=this['_transformService'][_0x738f5a(0x253)](_0x3f74be,_0xac17f2,!0x1);if(_0x3a2116[_0x738f5a(0x2dc)](_0x4b1a36))throw _0x4b1a36[_0x738f5a(0x31d)];if(_0x3a2116[_0x738f5a(0x2dc)](_0x557c2b))throw _0x557c2b['error'];_0x21f806[_0x738f5a(0x265)]({..._0x10feca[_0x29d952],'undoState':_0x4b1a36[_0x738f5a(0x272)][_0x738f5a(0x18f)],'redoState':_0x557c2b[_0x738f5a(0x272)][_0x738f5a(0x18f)]}),_0x441cb9=_0x4b1a36[_0x738f5a(0x2bb)],_0x3f74be=_0x557c2b['m1Prime'];}_0x441cb9=_0x3eca60[_0x738f5a(0x3f9)][_0x738f5a(0x2fe)](_0x15227e['mutations'][0x0]),_0x3f74be=_0x3eca60['Tools'][_0x738f5a(0x2fe)](_0x15227e[_0x738f5a(0x1cd)][0x0]);for(let _0x3701dd=_0x27f329['length']-0x1;_0x3701dd>=0x0;_0x3701dd--){const _0x21eb38={'id':_0x738f5a(0x3f7),'params':{'unitId':_0x27f329[_0x3701dd]['unitId'],..._0x27f329[_0x3701dd][_0x738f5a(0x192)]}},_0x2dafe6={'id':_0x738f5a(0x3f7),'params':{'unitId':_0x27f329[_0x3701dd]['unitId'],..._0x27f329[_0x3701dd][_0x738f5a(0x211)]}},_0x2e5395=this[_0x738f5a(0x1a5)]['transformMutation'](_0x441cb9,_0x21eb38,!0x1),_0x376f47=this[_0x738f5a(0x1a5)][_0x738f5a(0x253)](_0x3f74be,_0x2dafe6,!0x1);if(_0x3a2116[_0x738f5a(0x2dc)](_0x2e5395))throw _0x2e5395['error'];if(_0x3a2116[_0x738f5a(0x2dc)](_0x376f47))throw _0x376f47['error'];_0x36bd40['unshift']({..._0x27f329[_0x3701dd],'undoState':_0x2e5395[_0x738f5a(0x272)][_0x738f5a(0x18f)],'redoState':_0x376f47[_0x738f5a(0x272)]['params']}),_0x441cb9=_0x2e5395['m1Prime'],_0x3f74be=_0x376f47[_0x738f5a(0x2bb)];}this[_0x738f5a(0x1c1)][_0x738f5a(0x2bd)](_0x21e4aa,{'history':_0x21f806,'collaboration':_0x36bd40});}};_0x1fda78=_0x2c5299([_0x89418a(0x0,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0x89418a(0x1,_0x3a2116[_0x394340(0x21f)]),_0x89418a(0x2,_0x3eca60['Inject'](_0x2836fd['DocStateChangeManagerService']))],_0x1fda78);var _0x26e0b=Object[_0x394340(0x1ee)],_0x252341=(_0x20f17d,_0x57d327,_0x81a548,_0x2cef31)=>{const _0x53fdaf=_0x394340;for(var _0x1f542e=_0x2cef31>0x1?void 0x0:_0x2cef31?_0x26e0b(_0x57d327,_0x81a548):_0x57d327,_0x574c50=_0x20f17d[_0x53fdaf(0x403)]-0x1,_0x212e01;_0x574c50>=0x0;_0x574c50--)(_0x212e01=_0x20f17d[_0x574c50])&&(_0x1f542e=_0x212e01(_0x1f542e)||_0x1f542e);return _0x1f542e;},_0x201d85=(_0x17f265,_0x42ca3d)=>(_0xc49b75,_0x276035)=>_0x42ca3d(_0xc49b75,_0x276035,_0x17f265);let _0x593fd=class{constructor(_0x4d94fb,_0x565c47){const _0x1e068c=_0x394340;this[_0x1e068c(0x1e9)]=_0x4d94fb,this[_0x1e068c(0x1a5)]=_0x565c47;}['transformSelections'](_0x32d7cb){const _0x2ccb00=_0x394340;var _0x33c3ad;const _0x5827c8=this[_0x2ccb00(0x1e9)][_0x2ccb00(0x202)](_0x29518c[_0x2ccb00(0x335)]),_0x4c8ec6=(_0x33c3ad=_0x5827c8['getDocRanges']())!=null?_0x33c3ad:[];if(_0x4c8ec6[_0x2ccb00(0x403)]===0x0)return;const _0x5d2d09=_0x32d7cb[_0x2ccb00(0x38d)],_0x259501=[{'id':_0x2ccb00(0x3f7),'params':{'unitId':_0x5d2d09,'actions':null,'textRanges':_0x4c8ec6}}],_0x147c9e=this[_0x2ccb00(0x1a5)]['transformMutationsWithChangeset'](_0x32d7cb,_0x259501);if(!_0x3a2116[_0x2ccb00(0x274)](_0x147c9e))throw _0x147c9e[_0x2ccb00(0x31d)];const _0x6067d4=_0x147c9e[_0x2ccb00(0x272)][0x0][_0x2ccb00(0x18f)]['textRanges'];Array['isArray'](_0x6067d4)&&_0x6067d4['length']&&_0x5827c8[_0x2ccb00(0x180)](_0x6067d4,{'unitId':_0x5d2d09,'subUnitId':_0x5d2d09},!0x1);}};_0x593fd=_0x252341([_0x201d85(0x0,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0x201d85(0x1,_0x3a2116['ITransformService'])],_0x593fd);var _0x54853e=Object[_0x394340(0x1ee)],_0x22a058=(_0x472dbd,_0x4e87e7,_0xeb0368,_0x13a37c)=>{const _0x53d48f=_0x394340;for(var _0x332eea=_0x13a37c>0x1?void 0x0:_0x13a37c?_0x54853e(_0x4e87e7,_0xeb0368):_0x4e87e7,_0x3b96e9=_0x472dbd[_0x53d48f(0x403)]-0x1,_0x4ee4d4;_0x3b96e9>=0x0;_0x3b96e9--)(_0x4ee4d4=_0x472dbd[_0x3b96e9])&&(_0x332eea=_0x4ee4d4(_0x332eea)||_0x332eea);return _0x332eea;},_0x5e752a=(_0x3f5a49,_0x496a60)=>(_0x5dc32f,_0x52fdf2)=>_0x496a60(_0x5dc32f,_0x52fdf2,_0x3f5a49);let _0x297ec5=class extends _0x3eca60[_0x394340(0x3d7)]{constructor(_0x491c8b,_0x5275bb,_0x5d1695,_0x147372,_0x145816,_0x1dd22a,_0x1563ba,_0x4044f7){const _0x425836=_0x394340;super(),_0x304002(this,_0x425836(0x3ec),new _0x53026d[(_0x425836(0x323))](_0xcdca2f[_0x425836(0x2b5)][_0x425836(0x1b2)])),(this['_docStateChangeManagerService']=_0x491c8b,this[_0x425836(0x2ae)]=_0x5275bb,this[_0x425836(0x2af)]=_0x5d1695,this[_0x425836(0x3dd)]=_0x147372,this[_0x425836(0x402)]=_0x145816,this[_0x425836(0x2da)]=_0x1dd22a,this[_0x425836(0x353)]=_0x1563ba,this[_0x425836(0x33e)]=_0x4044f7,this[_0x425836(0x1a3)]());}[_0x394340(0x1a3)](){const _0x2dee05=_0x394340;this['disposeWithMe'](this[_0x2dee05(0x2ae)][_0x2dee05(0x2ac)]['subscribe'](_0x8e4426=>{const _0x44596a=_0x2dee05,_0x1be41e=this[_0x44596a(0x1c1)][_0x44596a(0x199)]['subscribe'](_0x35e530=>{const _0x4cd53f=_0x44596a;if(_0x35e530==null)return;const {unitId:_0x8b21c9,redoState:_0x55172b,commandId:_0x3206ed}=_0x35e530;if(_0x8b21c9!==_0x8e4426['unitID'])return;const _0x4a4cc6={'id':_0x3206ed,'type':_0x3eca60[_0x4cd53f(0x310)][_0x4cd53f(0x203)],'params':{'unitId':_0x8b21c9,'actions':_0x55172b['actions'],'textRanges':null}};_0x8e4426[_0x4cd53f(0x298)](_0x4a4cc6);});if(_0x8e4426[_0x44596a(0x380)](_0x1be41e),_0x8e4426 instanceof _0xcdca2f[_0x44596a(0x3d0)]){const _0x28b6e1={'onTransformIME':_0x584211=>this['_docTransformIMECacheService'][_0x44596a(0x244)](_0x584211),'onTransformState':_0x16f0c4=>this['_docTransformStateCacheService']['transformStateCache'](_0x16f0c4),'onTransformSelections':_0x484f83=>this[_0x44596a(0x402)][_0x44596a(0x314)](_0x484f83),'onSyncEditingCollabCursor':_0x4506ca=>this[_0x44596a(0x2da)]['syncEditingCollabCursor'](_0x4506ca),'onTransformRemoteChangesetByIMECache':_0x3948fe=>this[_0x44596a(0x2af)][_0x44596a(0x23c)](_0x3948fe),'onTransformRemoteChangesetByStateCache':_0x2ba1f6=>this[_0x44596a(0x3dd)][_0x44596a(0x23c)](_0x2ba1f6)};_0x8e4426[_0x44596a(0x332)](_0x28b6e1);}}));}};_0x297ec5=_0x22a058([_0x5e752a(0x0,_0x3eca60[_0x394340(0x2b8)](_0x2836fd[_0x394340(0x2e7)])),_0x5e752a(0x1,_0x3eca60[_0x394340(0x2b8)](_0xcdca2f[_0x394340(0x22a)])),_0x5e752a(0x2,_0x3eca60[_0x394340(0x2b8)](_0x55f584)),_0x5e752a(0x3,_0x3eca60[_0x394340(0x2b8)](_0x1fda78)),_0x5e752a(0x4,_0x3eca60[_0x394340(0x2b8)](_0x593fd)),_0x5e752a(0x5,_0x3eca60[_0x394340(0x2b8)](_0x61e25f)),_0x5e752a(0x6,_0x3879ce[_0x394340(0x247)]),_0x5e752a(0x7,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x2df)]))],_0x297ec5);var _0x3f49e9=Object[_0x394340(0x1ee)],_0xe0a0dd=(_0x3c99d8,_0x3dc2df,_0x414147,_0x201069)=>{const _0x4198cf=_0x394340;for(var _0xb6e46f=_0x201069>0x1?void 0x0:_0x201069?_0x3f49e9(_0x3dc2df,_0x414147):_0x3dc2df,_0x28da21=_0x3c99d8[_0x4198cf(0x403)]-0x1,_0x266016;_0x28da21>=0x0;_0x28da21--)(_0x266016=_0x3c99d8[_0x28da21])&&(_0xb6e46f=_0x266016(_0xb6e46f)||_0xb6e46f);return _0xb6e46f;},_0x47707c=(_0x2d096d,_0x3c5722)=>(_0x911992,_0x144c58)=>_0x3c5722(_0x911992,_0x144c58,_0x2d096d);let _0x3a92e3=class extends _0x3eca60[_0x394340(0x3d7)]{constructor(_0x2fe826,_0x15e9e3,_0x456f49){const _0x1e809d=_0x394340;super(),_0x304002(this,_0x1e809d(0x176),new Map()),_0x304002(this,_0x1e809d(0x172),new Map()),_0x304002(this,_0x1e809d(0x357),!0x1),(this[_0x1e809d(0x2ba)]=_0x2fe826,this['_localStorageService']=_0x15e9e3,this['_revisionService']=_0x456f49);}[_0x394340(0x32f)](){const _0xf4faaa=_0x394340;this[_0xf4faaa(0x357)]=!0x0;}[_0x394340(0x2ed)](){const _0x1e7d2e=_0x394340;this[_0x1e7d2e(0x357)]=!0x1;}get['saveTaskMap'](){const _0x19713f=_0x394340;return this[_0x19713f(0x172)];}['dispose'](){const _0x22e4fa=_0x394340;this['exhaustSavingTask']()[_0x22e4fa(0x3bd)](()=>super['dispose']());}async[_0x394340(0x3e1)](_0x500afa){const _0x32223c=_0x394340;return this['_disabled']?null:this[_0x32223c(0x37d)][_0x32223c(0x1c2)](_0xcdca2f[_0x32223c(0x3db)](_0x500afa));}async[_0x394340(0x3f2)](_0x5731c7,_0x4bb54e){const _0x396c07=_0x394340;return!!this[_0x396c07(0x37d)][_0x396c07(0x222)](_0x5731c7,_0x4bb54e);}[_0x394340(0x3ad)](_0x284304,_0x4e6f86,_0x175cec,_0x4e71f4){const _0x2074e2=_0x394340,_0x1bd239=this['_revisionService'][_0x2074e2(0x3b5)](_0x284304);this[_0x2074e2(0x176)]['set'](_0x284304,{'unitID':_0x284304,'type':_0x4e6f86,'awaitingChangeset':_0x175cec,'mutations':_0x4e71f4,'rev':_0x1bd239}),this['_saveTaskMap'][_0x2074e2(0x32c)](_0x284304)||this[_0x2074e2(0x2e4)](_0x284304);}['_scheduleSaving'](_0x276de9){const _0x5afe52=_0x394340,_0x578149=this['_getSaveTimeout']();_0x578149===0x0?this[_0x5afe52(0x401)](_0x276de9):this[_0x5afe52(0x172)][_0x5afe52(0x175)](_0x276de9,setTimeout(()=>this['_saveCache'](_0x276de9),_0x578149));}['_getSaveTimeout'](){const _0x2a534f=_0x394340;var _0x22dc18;return(_0x22dc18=this[_0x2a534f(0x2ba)][_0x2a534f(0x191)](_0xcdca2f[_0x2a534f(0x252)]))!=null?_0x22dc18:_0xcdca2f[_0x2a534f(0x228)];}[_0x394340(0x401)](_0x3f3c70){const _0x518056=_0x394340,_0x103444=this[_0x518056(0x172)][_0x518056(0x202)](_0x3f3c70);return _0x103444!==void 0x0&&window['clearTimeout'](_0x103444),this[_0x518056(0x37d)][_0x518056(0x222)](_0xcdca2f[_0x518056(0x3db)](_0x3f3c70),this[_0x518056(0x176)][_0x518056(0x202)](_0x3f3c70))['then'](()=>this[_0x518056(0x172)][_0x518056(0x35e)](_0x3f3c70));}async[_0x394340(0x3cb)](){const _0x557813=_0x394340,_0x393dbb=[];this[_0x557813(0x172)][_0x557813(0x2d8)]((_0x5f235e,_0x4e7452)=>{const _0x1999c5=_0x557813;window[_0x1999c5(0x1d1)](_0x5f235e),_0x393dbb[_0x1999c5(0x2c5)](this[_0x1999c5(0x401)](_0x4e7452)[_0x1999c5(0x3bd)](()=>{const _0x2ad93f=_0x1999c5;this[_0x2ad93f(0x172)][_0x2ad93f(0x35e)](_0x4e7452);}));}),await Promise[_0x557813(0x3b8)](_0x393dbb);}};_0x3a92e3=_0xe0a0dd([_0x47707c(0x0,_0x3eca60[_0x394340(0x2ab)]),_0x47707c(0x1,_0x3eca60[_0x394340(0x379)]),_0x47707c(0x2,_0x3eca60[_0x394340(0x2b8)](_0x3a2116[_0x394340(0x392)]))],_0x3a92e3);class _0x374a1 extends _0x3eca60[_0x394340(0x28d)]{constructor(){const _0xcb2936=_0x394340;super(),_0x304002(this,_0xcb2936(0x308)),this[_0xcb2936(0x308)]=_0x53026d[_0xcb2936(0x3b2)](window,'popstate')[_0xcb2936(0x340)](_0x53026d[_0xcb2936(0x2b4)](this[_0xcb2936(0x344)]),_0x53026d[_0xcb2936(0x217)](0x1),_0x53026d[_0xcb2936(0x2c4)](void 0x0));}[_0x394340(0x1ea)](_0x896d36,_0x4f681f,_0x40931a=!0x1){const _0x1d9e42=_0x394340,_0x1466a2=new URL(window[_0x1d9e42(0x268)][_0x1d9e42(0x16d)]);_0x1466a2[_0x1d9e42(0x377)]['set'](_0x896d36,_0x4f681f),_0x40931a?window[_0x1d9e42(0x1f3)][_0x1d9e42(0x39f)]('','',_0x1466a2[_0x1d9e42(0x1bf)]()):window[_0x1d9e42(0x1f3)][_0x1d9e42(0x2bf)]('','',_0x1466a2[_0x1d9e42(0x1bf)]());}[_0x394340(0x261)](_0x2cd08d,_0x5794a0=!0x1){const _0x222162=_0x394340,_0x3e0dc1=new URL(window[_0x222162(0x268)][_0x222162(0x16d)]);_0x3e0dc1[_0x222162(0x377)][_0x222162(0x35e)](_0x2cd08d),_0x5794a0?window[_0x222162(0x1f3)][_0x222162(0x39f)]('','',_0x3e0dc1[_0x222162(0x1bf)]()):window[_0x222162(0x1f3)][_0x222162(0x2bf)]('','',_0x3e0dc1['toString']());}[_0x394340(0x3fc)](_0x489970){const _0x5aa586=_0x394340;var _0x8ad555;return(_0x8ad555=new URL(window[_0x5aa586(0x268)][_0x5aa586(0x16d)])[_0x5aa586(0x377)]['get'](_0x489970))!=null?_0x8ad555:void 0x0;}}var _0x5271aa=Object[_0x394340(0x185)],_0x4f8e97=Object['getOwnPropertyDescriptor'],_0x595581=(_0x35e4bc,_0x5723c2,_0xd4a052)=>_0x5723c2 in _0x35e4bc?_0x5271aa(_0x35e4bc,_0x5723c2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd4a052}):_0x35e4bc[_0x5723c2]=_0xd4a052,_0x47b5d1=(_0x128d0c,_0x542b7d,_0x345f10,_0x22abbb)=>{const _0x1c2305=_0x394340;for(var _0x1a2d66=_0x22abbb>0x1?void 0x0:_0x22abbb?_0x4f8e97(_0x542b7d,_0x345f10):_0x542b7d,_0x66135a=_0x128d0c[_0x1c2305(0x403)]-0x1,_0xfd9c1c;_0x66135a>=0x0;_0x66135a--)(_0xfd9c1c=_0x128d0c[_0x66135a])&&(_0x1a2d66=_0xfd9c1c(_0x1a2d66)||_0x1a2d66);return _0x1a2d66;},_0x1b27d4=(_0x197b5e,_0x37045e)=>(_0x2b022f,_0x2fd9b9)=>_0x37045e(_0x2b022f,_0x2fd9b9,_0x197b5e),_0x4e41f5=(_0x4a2315,_0x160fc4,_0x3cf567)=>_0x595581(_0x4a2315,_0x160fc4+'',_0x3cf567);const _0xf9d35a=_0x394340(0x400);_0x4a6788['UniverCollaborationClientUIPlugin']=class extends _0x3eca60[_0x394340(0x18a)]{constructor(_0xabdcd7=_0x362a05,_0x280da8,_0x3df074,_0x18245c){const _0x14cc6c=_0x394340;super(),this[_0x14cc6c(0x38a)]=_0xabdcd7,this['_renderManagerService']=_0x280da8,this[_0x14cc6c(0x1e9)]=_0x3df074,this[_0x14cc6c(0x2ba)]=_0x18245c;const {..._0x4e38ac}=_0x3eca60['merge']({},_0x362a05,this[_0x14cc6c(0x38a)]);this[_0x14cc6c(0x2ba)][_0x14cc6c(0x1a2)](_0x21e8d6,_0x4e38ac);}[_0x394340(0x2e0)](){const _0x23f27a=_0x394340;this[_0x23f27a(0x299)](),this[_0x23f27a(0x16b)]();}[_0x394340(0x178)](){const _0x376e50=_0x394340;this[_0x376e50(0x381)]();}[_0x394340(0x299)](){const _0x2e6b07=_0x394340;var _0x416a0e;const _0x55f5f9=[[_0x769350],[_0x593fd],[_0x55f584],[_0x1fda78],[_0x61e25f],[_0xf95d88,{'useClass':_0x374a1}],[_0xb9bcc5[_0x2e6b07(0x1d8)],{'useClass':_0xb9bcc5[_0x2e6b07(0x3d6)]}],[_0xcdca2f[_0x2e6b07(0x1fc)],{'useClass':_0x3a92e3}],[_0x4a6788[_0x2e6b07(0x2b7)]],[_0x297ec5],[_0x5a5087],[_0x50fe84],[_0x238644],[_0x4a6788[_0x2e6b07(0x3a6)]]];_0x3eca60[_0x2e6b07(0x2e2)](this['_injector'],_0x3eca60[_0x2e6b07(0x3c4)](_0x55f5f9,(_0x416a0e=this[_0x2e6b07(0x38a)])==null?void 0x0:_0x416a0e[_0x2e6b07(0x17f)]));}['_registerRenderDependencies'](){const _0x25a277=_0x394340;this[_0x25a277(0x380)](this[_0x25a277(0x27a)][_0x25a277(0x386)](_0x3eca60['UniverInstanceType'][_0x25a277(0x2b3)],[_0x462670])),this[_0x25a277(0x380)](this['_renderManagerService'][_0x25a277(0x386)](_0x3eca60[_0x25a277(0x258)][_0x25a277(0x35d)],[_0x2af5a9]));}['_initDependencies'](){const _0x9c2f29=_0x394340;_0x3eca60[_0x9c2f29(0x1fd)](this['_injector'],[[_0x50fe84],[_0x4a6788[_0x9c2f29(0x2b7)]],[_0x297ec5],[_0x5a5087],[_0x4a6788['CollaborationDataLoaderController']]]);}},_0x4e41f5(_0x4a6788[_0x394340(0x360)],'pluginName',_0xf9d35a),_0x4a6788[_0x394340(0x360)]=_0x47b5d1([_0x3eca60[_0x394340(0x358)](_0xcdca2f[_0x394340(0x3c6)]),_0x1b27d4(0x1,_0x4bf546[_0x394340(0x34c)]),_0x1b27d4(0x2,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0x1b27d4(0x3,_0x3eca60[_0x394340(0x2ab)])],_0x4a6788['UniverCollaborationClientUIPlugin']);var _0x77b1d=Object[_0x394340(0x1ee)],_0x1b72b8=(_0x18666c,_0x745054,_0x15e495,_0x183315)=>{const _0x26dde8=_0x394340;for(var _0x15e05e=_0x183315>0x1?void 0x0:_0x183315?_0x77b1d(_0x745054,_0x15e495):_0x745054,_0x3c9a43=_0x18666c[_0x26dde8(0x403)]-0x1,_0x39b2fc;_0x3c9a43>=0x0;_0x3c9a43--)(_0x39b2fc=_0x18666c[_0x3c9a43])&&(_0x15e05e=_0x39b2fc(_0x15e05e)||_0x15e05e);return _0x15e05e;},_0x3a18d1=(_0x13cb2f,_0x32ab9f)=>(_0x5a3102,_0x44f846)=>_0x32ab9f(_0x5a3102,_0x44f846,_0x13cb2f);_0x4a6788[_0x394340(0x3e3)]=class extends _0xcdca2f[_0x394340(0x3c0)]{constructor(_0x1444bd,_0x50bc92,_0x12b9eb,_0x2cce5e,_0x2569f0){super(_0x1444bd,_0x50bc92,_0x12b9eb,_0x2cce5e,_0x2569f0);}async['createSocket'](_0x22c430){const _0x3c2fd7=_0x394340,_0x14e5ac=await this['_getSessionTicket'](),_0x11907d=this[_0x3c2fd7(0x1c6)](_0x22c430,_0x14e5ac);return this[_0x3c2fd7(0x26d)](_0x11907d);}[_0x394340(0x1c6)](_0x56c6e6,_0x3ef466){const _0x466298=_0x394340,_0x4e1608=typeof window>'u'?new URL(_0x56c6e6):new URL(_0x56c6e6,window[_0x466298(0x268)][_0x466298(0x1c3)]);_0x4e1608[_0x466298(0x377)][_0x466298(0x175)](_0x466298(0x27c),_0x3ef466);const _0x407484=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x466298(0x268)]['search']);return _0x407484[_0x466298(0x202)](_0x466298(0x208))&&_0x4e1608[_0x466298(0x377)][_0x466298(0x175)](_0x466298(0x208),_0x407484[_0x466298(0x202)](_0x466298(0x208))),_0x4e1608[_0x466298(0x1bf)]();}async['_getSessionTicket'](){const _0x28302d=_0x394340;var _0x3a2725,_0xf788a7,_0xf00b73;const _0x196a8e=this['_configService']['getConfig'](_0xcdca2f[_0x28302d(0x1ce)]),_0x7eaa69=(_0x3a2725=_0x196a8e==null?void 0x0:_0x196a8e[_0x28302d(0x226)])!=null?_0x3a2725:_0xcdca2f[_0x28302d(0x31a)];return(_0xf00b73=(_0xf788a7=(await this['_httpService'][_0x28302d(0x202)](_0x7eaa69,{'headers':{'Content-Type':'application/json'}}))[_0x28302d(0x269)])==null?void 0x0:_0xf788a7[_0x28302d(0x1ca)])!=null?_0xf00b73:'';}},_0x4a6788[_0x394340(0x3e3)]=_0x1b72b8([_0x3a18d1(0x0,_0x3eca60[_0x394340(0x2b8)](_0x3eca60[_0x394340(0x3e0)])),_0x3a18d1(0x1,_0x3eca60['Inject'](_0xb9bcc5['HTTPService'])),_0x3a18d1(0x2,_0x3eca60['IConfigService']),_0x3a18d1(0x3,_0x3eca60[_0x394340(0x346)]),_0x3a18d1(0x4,_0x3a2116[_0x394340(0x1c4)])],_0x4a6788['BrowserCollaborationSocketService']);const _0x57ee49=0x7530,_0xfc21bd='ACTIVE_UNIT_EVENT_CHANNEL';class _0x22c970 extends _0x3eca60['Disposable']{constructor(){const _0x225339=_0x394340;super(),_0x304002(this,_0x225339(0x266),_0x3eca60['generateRandomId']()),_0x304002(this,_0x225339(0x17a),new Set()),_0x304002(this,_0x225339(0x2c0),new Map()),_0x304002(this,_0x225339(0x3e7),null),_0x304002(this,_0x225339(0x317),new Map()),_0x304002(this,_0x225339(0x1a7),new Map()),this['_init']();}[_0x394340(0x33f)](){const _0x2d471e=_0x394340;super[_0x2d471e(0x33f)](),this[_0x2d471e(0x317)][_0x2d471e(0x2d8)]((_0x5e41c0,_0x52f600)=>this['_removeClearOtherTimer'](_0x52f600)),this[_0x2d471e(0x3e7)]&&window[_0x2d471e(0x2f2)](this[_0x2d471e(0x3e7)]);}['getUnitStatus$'](_0xfe074){const _0x5ca888=_0x394340;return this[_0x5ca888(0x3cc)](_0xfe074)[_0x5ca888(0x340)](_0x53026d['distinctUntilChanged']());}['editingUnit'](_0x504385){const _0x56cf25=_0x394340;this[_0x56cf25(0x17a)][_0x56cf25(0x281)]===0x0&&this['_scheduleHeartbeat'](),this[_0x56cf25(0x17a)]['add'](_0x504385),this[_0x56cf25(0x3c5)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x504385],'isForwarded':!0x1});}['disposeUnit'](_0x5b51d3){const _0x55acf1=_0x394340;this[_0x55acf1(0x17a)][_0x55acf1(0x35e)](_0x5b51d3),this['_selfUnitIDs'][_0x55acf1(0x281)]===0x0&&this[_0x55acf1(0x3e7)]&&window['clearInterval'](this[_0x55acf1(0x3e7)]);}[_0x394340(0x3d9)](){const _0x237860=_0x394340;this[_0x237860(0x380)](_0x3eca60[_0x237860(0x243)](_0x53026d['fromEvent'](window,_0x237860(0x34e))[_0x237860(0x270)](_0x1ff46e=>{const _0x462403=_0x237860;if(_0x1ff46e[_0x462403(0x2ee)]!==_0xfc21bd||!_0x1ff46e['newValue'])return;const _0x3406ff=JSON['parse'](_0x1ff46e[_0x462403(0x238)]);this[_0x462403(0x311)](_0x3406ff);}))),window['addEventListener']('unload',()=>this[_0x237860(0x3c5)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x237860(0x1fb)](this[_0x237860(0x17a)])}));}[_0x394340(0x311)](_0x550cac){const _0x48c86e=_0x394340;switch(_0x550cac[_0x48c86e(0x32a)]){case 0x0:this[_0x48c86e(0x39d)](_0x550cac);break;case 0x1:this['_handleLeaveEvent'](_0x550cac);break;case 0x2:this['_handleHeartbeatEvent'](_0x550cac);break;}}[_0x394340(0x39d)](_0x163f5b){const _0x55c222=_0x394340,{unitIDs:_0x32d196,memberID:_0x67905e,isForwarded:_0x2c951c}=_0x163f5b;_0x32d196['forEach'](_0x9bcfc9=>{const _0x1b5f99=_0x1d5a;if(!_0x2c951c&&this[_0x1b5f99(0x2c0)]['has'](_0x9bcfc9)&&this['_ensureSubject'](_0x9bcfc9)[_0x1b5f99(0x275)](_0xcdca2f[_0x1b5f99(0x378)][_0x1b5f99(0x3d2)]),!this[_0x1b5f99(0x2c0)]['has'](_0x9bcfc9)||!this[_0x1b5f99(0x2c0)][_0x1b5f99(0x202)](_0x9bcfc9)['has'](_0x67905e)){const _0x335795=this[_0x1b5f99(0x2c0)]['get'](_0x9bcfc9)||new Set();_0x335795[_0x1b5f99(0x354)](_0x67905e),this[_0x1b5f99(0x2c0)][_0x1b5f99(0x175)](_0x9bcfc9,_0x335795),this[_0x1b5f99(0x1db)](_0x67905e);}}),_0x2c951c||this[_0x55c222(0x3c5)]({'type':0x0,'memberID':this[_0x55c222(0x266)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x394340(0x1db)](_0x2a0dfc){const _0x2e8474=_0x394340;this[_0x2e8474(0x2eb)](_0x2a0dfc);const _0x5a6f2a=window[_0x2e8474(0x201)](()=>{const _0x1dcb67=_0x2e8474;this['_unitOnClients'][_0x1dcb67(0x2d8)](_0x187cfe=>{const _0x1f40ee=_0x1dcb67;_0x187cfe[_0x1f40ee(0x35e)](_0x2a0dfc);});},_0x57ee49*0x2);this[_0x2e8474(0x317)][_0x2e8474(0x175)](_0x2a0dfc,_0x5a6f2a);}[_0x394340(0x2eb)](_0x36ed43){const _0x44e9f5=_0x394340;if(this[_0x44e9f5(0x317)][_0x44e9f5(0x32c)](_0x36ed43)){const _0x114b28=this[_0x44e9f5(0x317)][_0x44e9f5(0x202)](_0x36ed43);_0x114b28&&window[_0x44e9f5(0x1d1)](_0x114b28),this[_0x44e9f5(0x317)]['set'](_0x36ed43,null);}}[_0x394340(0x1b4)](_0x252e8b){const _0x1a7144=_0x394340,{memberID:_0x166d3b,unitIDs:_0x2f6016}=_0x252e8b;_0x2f6016[_0x1a7144(0x2d8)](_0x23536c=>{const _0x188fb=_0x1a7144;var _0x16394d;const _0x2cef92=this[_0x188fb(0x2c0)][_0x188fb(0x202)](_0x23536c);_0x2cef92&&(_0x2cef92[_0x188fb(0x35e)](_0x166d3b),(_0x16394d=this['_ensureSubject'](_0x23536c))==null||_0x16394d[_0x188fb(0x275)](_0x2cef92[_0x188fb(0x281)]===0x0?_0xcdca2f[_0x188fb(0x378)][_0x188fb(0x289)]:_0xcdca2f[_0x188fb(0x378)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x166d3b);}[_0x394340(0x207)](_0x524931){const _0x849e48=_0x394340;this[_0x849e48(0x1db)](_0x524931['memberID']);}[_0x394340(0x3c5)](_0x5a4fa2){const _0x2f7ef8=_0x394340;localStorage[_0x2f7ef8(0x222)](_0xfc21bd,JSON[_0x2f7ef8(0x2e1)](_0x5a4fa2));}[_0x394340(0x173)](){const _0x42eca1=_0x394340;this['_heartbeatTimer']=window[_0x42eca1(0x1ab)](()=>{const _0x3b86d2=_0x42eca1;this[_0x3b86d2(0x3c5)]({'type':0x2,'memberID':this['_id']});},_0x57ee49);}[_0x394340(0x3cc)](_0x1e076f){const _0x5538bc=_0x394340;return this[_0x5538bc(0x1a7)][_0x5538bc(0x32c)](_0x1e076f)||this[_0x5538bc(0x1a7)][_0x5538bc(0x175)](_0x1e076f,new _0x53026d['BehaviorSubject'](_0xcdca2f[_0x5538bc(0x378)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x5538bc(0x1a7)]['get'](_0x1e076f);}}var _0x517646=(_0x5b5061=>(_0x5b5061[_0x5b5061[_0x394340(0x30a)]=0x0]=_0x394340(0x30a),_0x5b5061[_0x5b5061['OK']=0x1]='OK',_0x5b5061[_0x5b5061['INTERNAL_ERROR']=0x2]=_0x394340(0x1da),_0x5b5061[_0x5b5061[_0x394340(0x2a8)]=0x3]=_0x394340(0x2a8),_0x5b5061[_0x5b5061[_0x394340(0x23f)]=0x4]=_0x394340(0x23f),_0x5b5061[_0x5b5061['UNAUTHENTICATED']=0x5]=_0x394340(0x240),_0x5b5061[_0x5b5061['ALREADY_EXISTS']=0x6]=_0x394340(0x38e),_0x5b5061[_0x5b5061[_0x394340(0x3fe)]=0x7]=_0x394340(0x3fe),_0x5b5061[_0x5b5061[_0x394340(0x24a)]=0x8]=_0x394340(0x24a),_0x5b5061[_0x5b5061[_0x394340(0x2f1)]=0x9]='COMPLETION_FINISHED',_0x5b5061[_0x5b5061[_0x394340(0x249)]=0xa]=_0x394340(0x249),_0x5b5061[_0x5b5061[_0x394340(0x37e)]=0x1389]=_0x394340(0x37e),_0x5b5061[_0x5b5061[_0x394340(0x38f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5b5061[_0x5b5061[_0x394340(0x406)]=0x1772]=_0x394340(0x406),_0x5b5061[_0x5b5061[_0x394340(0x1e6)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5b5061[_0x5b5061['APPLY_REJECT']=0x1b59]=_0x394340(0x283),_0x5b5061[_0x5b5061['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5b5061[_0x5b5061[_0x394340(0x2f7)]=0x1b5b]=_0x394340(0x2f7),_0x5b5061[_0x5b5061[_0x394340(0x319)]=0x1b5c]=_0x394340(0x319),_0x5b5061[_0x5b5061['APPLY_DUPLICATED']=0x1b5d]=_0x394340(0x18e),_0x5b5061[_0x5b5061[_0x394340(0x264)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5b5061[_0x5b5061[_0x394340(0x2cd)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5b5061[_0x5b5061[_0x394340(0x2b0)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5b5061[_0x5b5061['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x394340(0x37a),_0x5b5061[_0x5b5061[_0x394340(0x214)]=0x232c]=_0x394340(0x214),_0x5b5061[_0x5b5061[_0x394340(0x242)]=0x232d]=_0x394340(0x242),_0x5b5061[_0x5b5061[_0x394340(0x32e)]=0x2711]=_0x394340(0x32e),_0x5b5061[_0x5b5061[_0x394340(0x16c)]=0x2712]=_0x394340(0x16c),_0x5b5061[_0x5b5061[_0x394340(0x24e)]=0x2713]=_0x394340(0x24e),_0x5b5061[_0x5b5061['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x394340(0x2db),_0x5b5061[_0x5b5061['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x394340(0x1e3),_0x5b5061[_0x5b5061[_0x394340(0x3f0)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5b5061[_0x5b5061[_0x394340(0x376)]=0x271c]=_0x394340(0x376),_0x5b5061[_0x5b5061[_0x394340(0x233)]=0x271d]=_0x394340(0x233),_0x5b5061[_0x5b5061['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5b5061[_0x5b5061['YUUMI_AI_RUN_FAILED']=0x271f]=_0x394340(0x3c1),_0x5b5061[_0x5b5061['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5b5061[_0x5b5061[_0x394340(0x17d)]=0x2ee1]=_0x394340(0x17d),_0x5b5061[_0x5b5061[_0x394340(0x2ce)]=0x2ee2]='INVALID_INVITE_CODE',_0x5b5061[_0x5b5061[_0x394340(0x225)]=0x2ee3]=_0x394340(0x225),_0x5b5061[_0x5b5061[_0x394340(0x2a9)]=0x2ee4]=_0x394340(0x2a9),_0x5b5061[_0x5b5061['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x394340(0x3aa),_0x5b5061[_0x5b5061[_0x394340(0x1ba)]=0x32c9]=_0x394340(0x1ba),_0x5b5061[_0x5b5061[_0x394340(0x399)]=0x32ca]=_0x394340(0x399),_0x5b5061[_0x5b5061[_0x394340(0x3a2)]=0x32cb]=_0x394340(0x3a2),_0x5b5061[_0x5b5061[_0x394340(0x19e)]=-0x1]=_0x394340(0x19e),_0x5b5061))(_0x517646||{}),_0x1f4de3=Object['getOwnPropertyDescriptor'],_0x37727c=(_0xc80150,_0x56ffc0,_0x3539cb,_0x3b10d9)=>{const _0x4a26b0=_0x394340;for(var _0x2dffd9=_0x3b10d9>0x1?void 0x0:_0x3b10d9?_0x1f4de3(_0x56ffc0,_0x3539cb):_0x56ffc0,_0x4fa823=_0xc80150[_0x4a26b0(0x403)]-0x1,_0x12f8fd;_0x4fa823>=0x0;_0x4fa823--)(_0x12f8fd=_0xc80150[_0x4fa823])&&(_0x2dffd9=_0x12f8fd(_0x2dffd9)||_0x2dffd9);return _0x2dffd9;},_0x121e23=(_0x234e2d,_0x556e96)=>(_0x2d2646,_0x1871a8)=>_0x556e96(_0x2d2646,_0x1871a8,_0x234e2d);_0x4a6788[_0x394340(0x368)]=class extends _0x3eca60[_0x394340(0x3d7)]{constructor(_0xb4aa20,_0x9b064d,_0x2d978f){const _0x200a2c=_0x394340;super(),this[_0x200a2c(0x3e2)]=_0xb4aa20,this[_0x200a2c(0x3f1)]=_0x9b064d,this[_0x200a2c(0x2ba)]=_0x2d978f;}async[_0x394340(0x29f)](_0x28f522,_0x984c4a,_0xdf03aa,..._0x191e46){const _0x1604dd=_0x394340;var _0x1e55a9,_0x484c57,_0x409b73,_0x26a778;const _0x5052a6=this['_instanceService'][_0x1604dd(0x256)]();if(!_0x5052a6)throw new Error(_0x1604dd(0x31f));const _0x386769=((_0x1e55a9=this['_configService'][_0x1604dd(0x191)](_0xcdca2f[_0x1604dd(0x28e)]))!=null?_0x1e55a9:_0xcdca2f['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x28f522+_0x1604dd(0x1bd)+_0x984c4a,_0x43deb0=new URL(window[_0x1604dd(0x268)][_0x1604dd(0x16d)]),_0x40fbb8={'scriptId':_0x28f522,'runId':(_0x484c57=_0x43deb0['searchParams'][_0x1604dd(0x202)](_0x1604dd(0x208)))!=null?_0x484c57:'','function':_0x984c4a,'unitId':_0x5052a6[_0x1604dd(0x309)](),'argsOfFunction':JSON[_0x1604dd(0x2e1)](_0x191e46),'invokeId':(_0x409b73=_0xdf03aa[_0x1604dd(0x193)])!=null?_0x409b73:'','executionId':(_0x26a778=_0xdf03aa[_0x1604dd(0x2a6)])!=null?_0x26a778:''};try{const _0x2bd754=await this['_httpService'][_0x1604dd(0x37c)](_0x386769,{'body':_0x40fbb8});return _0x2bd754[_0x1604dd(0x269)][_0x1604dd(0x31d)]&&_0x2bd754['body'][_0x1604dd(0x31d)][_0x1604dd(0x3e5)]!==_0x517646['OK']?_0x1604dd(0x336):_0x2bd754[_0x1604dd(0x269)][_0x1604dd(0x1fe)];}catch{return _0x1604dd(0x336);}}},_0x4a6788[_0x394340(0x368)]=_0x37727c([_0x121e23(0x0,_0x3eca60[_0x394340(0x200)]),_0x121e23(0x1,_0x3eca60[_0x394340(0x2b8)](_0xb9bcc5[_0x394340(0x2a1)])),_0x121e23(0x2,_0x3eca60['IConfigService'])],_0x4a6788[_0x394340(0x368)]),_0x4a6788[_0x394340(0x227)]=_0x497efe,_0x4a6788[_0x394340(0x29e)]=_0xf95d88,_0x4a6788[_0x394340(0x370)]=_0x446520,_0x4a6788['WebBrowserSingleActiveUnitService']=_0x22c970,_0x4a6788[_0x394340(0x25e)]=_0x374a1,Object['defineProperty'](_0x4a6788,Symbol['toStringTag'],{'value':_0x394340(0x276)});}));
|