@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505231607 → 0.7.0-nightly.202505251606
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 +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x156e(_0xa8619b,_0x15e4f0){const _0xf56a06=_0xf56a();return _0x156e=function(_0x156ebd,_0x4066e7){_0x156ebd=_0x156ebd-0x113;let _0x3b98e8=_0xf56a06[_0x156ebd];return _0x3b98e8;},_0x156e(_0xa8619b,_0x15e4f0);}function _0xf56a(){const _0x46cdb3=['displayName','_saveTaskMap','NOT_COLLAB','UnitStatus','stringify','bottom','@univerjs/sheets','roomMembers$','RichTextEditingMutation','forEach','react','jsxs','symbol','colorChannel1','LocaleService','rxjs/operators','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sessionTicket','handleMoveRange','onLocalMutation','OTHER_CLIENT_EDITING','_cachedData','@univerjs/rpc','_toggleOffline','_docSkeletonManagerService','disableLocalCache','undoState','getCoordByCell','measureText','touchDependencies','IRenderManagerService','YUUMI_AI_RUN_FAILED','collabStatus.offline','handleIRemoveRow','_handleHover','UniverNetwork','CONFLICT','@univerjs/core','BehaviorSubject','UNDEFINED','labelPosition','CollaborationUIEventService','type','IMessageService','_dataLoaderService','setActiveRange','reconnect','getItem','@univerjs-pro/collaboration-client','disposeWithMe','text','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_instanceService','INTERNAL_ERROR','name','ThemeService','ILocalCacheService','UniverCollaborationClientPlugin','clearTimeout','_shapes','_refreshCollabCursors','APPLY_REVISION_CONFILICT','unitID','APPLY_NON_SEQUENTIAL_REVISION','CLOSE_ROOM','_draw','_uiPartsService','from','_renderManagerService','selections','_doCreateSocket','RemoteUniscriptService','_getSaveTimeout','UniverUi','SheetCollabCursorShape','getActiveRange','_revisionService','Unknown\x20user','assign','_refRangeService','_status$','takeUntil','IImageIoService','getSheetObject','extend','getTypeOfUnitDisposed$','get','subscribe','deserializeRangeWithSheet','INVITE_CODE_ALREADY_BOUND','fillStyle','CollaborationController','getMergeData','PERMISSION_DENIED','lineTo','_unitOnClients','YUUMI_UNABLE_LOAD_URL','setShapeProps','override','_config','save','svg','_anchorDot','dispose','_collabSessionService','runId','MUTATION','collabCursorState$','_labelPosition','engine','RefRangeService','_configService','useDependency','SheetSkeletonManagerService','cursorInfo$','_createSocketURL','getRangePointData','WECHAT_HAS_BEEN_BOUND','popstate','_initStatusComponent','trim','selection','flatMap','_getScale','on-line-single','collab-text-range-','BuiltInUIPart','_onCursorDelete','sheetId','useRef','UniverProCollaboration','transformIMECache','registerRefRange','key','UNIVER_DOC','mergeOverrideWithDependencies','CollaborationSessionService','WebSocketService','blue.400','createIdentifier','indexOf','location','registerDependencies','show','set','handleInsertRangeMoveDown','getMember','YUUMI_URL_COL_OUT_OF_RANGE','values','assignAColorForMemberID','imageSourceType','getOwnPropertySymbols','connectInjector','collabStatus.conflict','_range','random','setUndoRedoMutationParamsCache','onCommandExecuted','_imageIoService','Optional','shareReplay','TEXT','replace','has','ENSURE_SNAPSHOT_EXECUTION','_onRefRangeChange','RegularPolygon','_name','jsx','includes','_context','_onCursorUpdate','operators','substring','string','then','params','clsx','_eventUnsubscribe','addObject','debounceTime','EffectRefRangId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabStatus.syncing','_colorAssignService','_heartbeatTimer','CollaborationDataLoaderController','@univerjs/docs-ui','BrowserCollaborationSocketService','textRanges','_handleHeartbeatEvent','history','rxjs','SetWorksheetActivateCommand','_docTransformIMECacheService','syncEditingCollabCursor','_setupSubUnitSync','handleDeleteRangeMoveLeft','onPointerEnter$','activeSheet$','clearInterval','handleDeleteRangeMoveUp','getUndoRedoMutationParamsCache','_scheduleClearOtherTimer','React','getColorFromTheme','DOC_RANGE_TYPE','fromEvent','getOwnPropertyDescriptor','saveTaskMap','_initCommandExecutedListener','currentSkeleton$','fill','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','getUnitId','enableLocalCache','getStateCache','toDisposable','APPLY_REJECT','onMouseMove','_docStateChangeManagerService','DisposableCollection','m2Prime','2292tYTizs','color','green.600','fillRule','_updateLocalCursor','height','yellow.400','_session','collaboration-client.offline-data-not-saved','throttleTime','cursorInfo','_updateSubUnitFromURLParams','toRgbString','subUnitId','1519938nkzISS','@univerjs/docs','RemoveColCommandId','_entities','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','range','round','_cursors','forwardRef','_httpService','LICENSE_DISTRO_REJECTED','@univerjs/drawing','ALREADY_EXISTS','_initEntityListener','addClipboardHook','getColor','_unitStatus','complete','UniverSheets','INVALID_INVITE_CODE','getUniverSheetInstance','4858016BWWTUX','_drawAnchor','APPLY_DUPLICATED','@univerjs-pro/collaboration','with','ticket','mask','amd','getVpScrollXYInfoByPosToVp','_syncEditingCollabCursorService','unsubscribe','_removeCollabCursors','init','getTypeOfUnitAdded$','UNIVER_SHEET','isArray','CollaborationUIEventId','onStarting','tag','LOGIN_FAILED','_setupBeforeClosingHandler','saveOfflineData','_handleJoinEvent','_getSheetObject','ONLINE','debug','_registerDependencies','contains','startsWith','doc.mutation.rich-text-editing','getCollabCursors$','isTransformMutationFailure','fillText','_colorIndex','asObservable','_docClipboardService','CONNECTOR_DATA_TOO_LARGE','map','YUUMI_ALL_TABLES_IS_INVALID','_scheduleSaving','Vector2','result','runOnServer','getOffsetConfig','event$','Injector','_startDocCollabCursor','_assignedColors','_transformUndoRedoStack','_hover','_urlService','href','_transformService','_initStatusListener','concat','COLORS','onPointerLeave$','on-line-single_clip0_910_349','fromEventSubject','_online','transformSelections','DeleteRangeMoveLeftCommandId','1em','debounce','defIds','createElement','0\x200\x2016\x2016','_textBubble','resize','wsSessionTicketUrl','Inject','@univerjs/network','SOCKET_FAILED_RETRY','add','_selfUnitIDs','jiqing.500','setParam','_registerRenderDependencies','AWAITING','transformMutation','some','find','function','data','drawWith','_cursor','executeCommand','_scheduleHeartbeat','FETCH_MISS','OFFLINE','width','_cursorShapes','univer-flex\x20univer-items-center','HTTPService','WebURLService','getUnhiddenWorksheets','ILogService','_sheetSkeletonManagerService','9ZShWxt','INVITE_CODE_REQUIRED','react/jsx-runtime','1433262nPDJvc','_getSessionTicket','row','max','executionId','RxDisposable','@univerjs/design','actions','attrs','mapTo','_getAnchorBounding','merge','application/json','APPLY_PERMISSION_DENIED','_initDependencies','_transformPreviousActiveRange','SYNCED','top','setAlpha','toString','pushState','FromArray','entityInit$','exhaustSavingTask','min','purple.300','_ensureSubject','length','_roomMembers$','_localCacheService','DeleteRangeMoveUpCommandId','disposeUnit','transformStateCache','COMPLETION_FINISHED','transformRemoteChangeset','unit','div','SetSelectionsOperation','permission.content','Tools','url(#$1','7wyXHep','INotificationService','searchParams','_backgroundColor','UniverInstanceType','collab-client.tooltip.reconnect','arc','0\x200\x2017\x2016','UniverDocsUi','@univerjs/engine-render','_scene','none','combineLatest','uni.network.url-service','[CollaborationDataLoaderController]','Error','_init','icon','collabStatus.synced','className','setConfig','InsertRangeMoveDownCommandId','IConfigService','_commandService','SheetsSelectionsService','ITransformService','...','SessionStatus','INVITE_CODE_HAS_BEEN_UES','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverEngineFormula','InsertRowCommandId','unshift','UNRECOGNIZED','generateRandomId','LICENSE_EXPORT_SIZE_EXCEEDED','ICommandService','_themeService','rgba(255,\x20255,\x20255,\x200.01)','SNAPSHOT_INVALID_SNAPSHOT','size','switchMap','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IDocClipboardService','error','SetDocZoomRatioOperation','getSkeleton','post','_lastPointer','_cursorInfo$','MOBILE_HAS_BEEN_BOUND','createSocket','_clearOtherTimers','TRANSFORM_CHANGE_OBSERVABLE_TYPE','VIEW_MAIN','redoState','#fff','UniverEngineRender','_messageService','SetTextSelectionsOperation','_handleEvent','push','replaceDocRanges','PY_RUNTIME_SCRIPT_ERROR','onTransformChange$','removeParam','_color','_hovered','getParam','getMemberID','_startSheetCollabCursor','defs','whenReady','UniverCore','storage','defineProperty','univer-flex\x20univer-mr-2\x20univer-text-xl','OnLineSingle','red.300','_initEvent','isTransformMutationsWithChangesetSuccess','11lPawoS','DocStateChangeManagerService','delete','UniverIcon','getConfig','UniverDesign','pipe','ACTIVE_UNIT_EVENT_CHANNEL','entries','isActive','pluginName','filter','CollaborationEvent','send','mutations','DEFAULT_WS_SESSION_TICKET_URL','_collabCursorState$','closePath','UNAUTHENTICATED','registerComponent','handleIRemoveCol','addObjects','_entityInit$','InsertRangeMoveRightCommandId','@univerjs/sheets-ui','ILocalStorageService','_collabCursorController','_localeService','collaboration.closeRoom','_transformHistoryAndStateStack','clipPath','NO_OTHER_CLIENTS_EDITING','body','_hideTimer','OTHER_CLIENTS_EDITING','_getMergeRange','idSuffix','black','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getCurrentRevOfUnit','getCurrent','getFocusedUnit','EMAIL_HAS_BEEN_BOUND','912608sdSLZj','CHANGESET_REVISION_CONFILICT','Rect','_collaborationController','getCellPositionByOffset','2980qmcXSv','evenodd','currentTheme$','registerBeforeClose','NodePositionConvertToRectRange','UniverCollaborationClientUIPlugin','_saveCache','M0\x200H16V16H0z','LOCAL_CACHE_INTERVAL','USER_NOT_INVITED_CODE','getCollabEntity$','#FFF','SHEET_VIEWPORT_KEY','_updateURLWithCurrentState','parse','WebBrowserSingleActiveUnitService','_id','split','getCurrentSelections','Warning','_docSyncEditingCollabCursorService','DataLoaderService','url(#on-line-single_clip0_910_349)','restore','YUUMI_NO_CUBOID_FOR_QUESTION','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','findNodePositionByCharIndex','UniverRpc','USERS_LEAVE','Shape','registerRenderModule','Rectangle','_initResize','YUUMI_RATE_OVER_LIMIT','handleInsertCol','CollaborationStatus','_injector','onPointerMove$','DocIMEInputManagerService','use','getRelativeToViewportCoord','SOCKET_FAILED','_memberService','useObservable','addEventListener','hasOwnProperty','createInstance','_logService','101372mIbuzM','getLocalCacheKey','subscribeEvent','_toggleOnline','UPDATE_CURSOR','_beforeCloseService','children','getActiveSheet','DesktopCollaborationStatusDisplayController','UniverDrawing','newValue','_collaborationUIEventService','LICENSE_MAX_UNITS_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','requireSession','eventID','subunit','saveImage','UniverSheetsUi','_docSkeleton','Plugin','xlink:href','_anchor','ColorKit','MessageType','source','endColumn','Disposable','updateOfflineData','TOO_MANY_REQUESTS','invokeId','ISnapshotServerService','_drawRectRange','getAncestorScale','RevisionService','_updateCollabCursors','replaceState','_removeClearOtherTimer','makeDirty','handleInsertRow','propertyIsEnumerable','dispose$','deepClone','unitId','Failed','path','_docTransformStateCacheService','_document','UniverDocs','sessionStatus$','_drawTextRange','call','IUniverInstanceService','Subject','prototype','loadUnit','hide','_localStorageService','_univerInstanceService','6394050ZeaRzA','NOT_FOUND','_disabled','YUUMI_ASYNCIO_CANCELLED','next','ranges','setItem','getRenderById','getViewport','TEXT_RANGE_LAYER_INDEX','isEditing','handleInsertRangeMoveRight','roomMembers','_render','session.will-retry','@univerjs/ui','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','IRemoteInstanceService','_send','editingUnit','runRefRangeMutations','getDocRanges','SNAPSHOT_HAS_BEEN_REMOVED','getSheetBySheetId','getSheetId','_handleLeaveEvent','YUUMI_SUBSCRIPTION_NOT_FOUND','m1Prime','HEADER_MENU','collabStatus.notCollab','/run/','_notificationService','DocCollaborationEntity','serializeRangeWithSheet'];_0xf56a=function(){return _0x46cdb3;};return _0xf56a();}(function(_0x26f113,_0x1d2095){const _0x2205ca=_0x156e,_0x136887=_0x26f113();while(!![]){try{const _0x24ad3f=-parseInt(_0x2205ca(0x2b7))/0x1+parseInt(_0x2205ca(0x282))/0x2+parseInt(_0x2205ca(0x163))/0x3+-parseInt(_0x2205ca(0x155))/0x4*(parseInt(_0x2205ca(0x287))/0x5)+-parseInt(_0x2205ca(0x1dd))/0x6*(parseInt(_0x2205ca(0x206))/0x7)+-parseInt(_0x2205ca(0x178))/0x8*(parseInt(_0x2205ca(0x1da))/0x9)+-parseInt(_0x2205ca(0x2f2))/0xa*(-parseInt(_0x2205ca(0x257))/0xb);if(_0x24ad3f===_0x1d2095)break;else _0x136887['push'](_0x136887['shift']());}catch(_0x55f4d2){_0x136887['push'](_0x136887['shift']());}}}(_0xf56a,0x4c802),function(_0x2556dc,_0x1ca055){const _0x6c52c3=_0x156e;typeof exports=='object'&&typeof module<'u'?_0x1ca055(exports,require(_0x6c52c3(0x344)),require('@univerjs/core'),require(_0x6c52c3(0x20f)),require(_0x6c52c3(0x1bf)),require('@univerjs/docs-ui'),require(_0x6c52c3(0x16e)),require(_0x6c52c3(0x136)),require(_0x6c52c3(0x164)),require(_0x6c52c3(0x17b)),require('@univerjs/engine-formula'),require(_0x6c52c3(0x31a)),require(_0x6c52c3(0x323)),require(_0x6c52c3(0x26f)),require(_0x6c52c3(0x1dc)),require(_0x6c52c3(0x301)),require(_0x6c52c3(0x1e3)),require('react'),require(_0x6c52c3(0x32a))):typeof define==_0x6c52c3(0x1ca)&&define[_0x6c52c3(0x17f)]?define(['exports',_0x6c52c3(0x344),_0x6c52c3(0x339),_0x6c52c3(0x20f),'@univerjs/network',_0x6c52c3(0x131),_0x6c52c3(0x16e),_0x6c52c3(0x136),'@univerjs/docs',_0x6c52c3(0x17b),'@univerjs/engine-formula',_0x6c52c3(0x31a),_0x6c52c3(0x323),'@univerjs/sheets-ui',_0x6c52c3(0x1dc),'@univerjs/ui',_0x6c52c3(0x1e3),_0x6c52c3(0x31e),_0x6c52c3(0x32a)],_0x1ca055):(_0x2556dc=typeof globalThis<'u'?globalThis:_0x2556dc||self,_0x1ca055(_0x2556dc['UniverProCollaborationClientUi']={},_0x2556dc['UniverProCollaborationClient'],_0x2556dc[_0x6c52c3(0x24f)],_0x2556dc[_0x6c52c3(0x23f)],_0x2556dc[_0x6c52c3(0x337)],_0x2556dc[_0x6c52c3(0x20e)],_0x2556dc[_0x6c52c3(0x2c0)],_0x2556dc[_0x6c52c3(0x136)],_0x2556dc[_0x6c52c3(0x2e7)],_0x2556dc[_0x6c52c3(0x396)],_0x2556dc[_0x6c52c3(0x224)],_0x2556dc[_0x6c52c3(0x175)],_0x2556dc[_0x6c52c3(0x136)][_0x6c52c3(0x122)],_0x2556dc[_0x6c52c3(0x2c9)],_0x2556dc[_0x6c52c3(0x142)],_0x2556dc[_0x6c52c3(0x35d)],_0x2556dc[_0x6c52c3(0x25c)],_0x2556dc['React'],_0x2556dc[_0x6c52c3(0x2a2)]));}(this,function(_0x1ebb4a,_0x2eddce,_0x268d3b,_0xb8fc77,_0x45e235,_0x58ed4c,_0x4afe1c,_0x399a7e,_0x688e2,_0x2ac5d3,_0xcce0ed,_0x26ad5a,_0x30c278,_0x41fdc4,_0xdd3140,_0x29ec39,_0x5333e1,_0x4964a2,_0x7ad451){'use strict';const _0x2c8ec4=_0x156e;var _0x2b6d14=Object['defineProperty'],_0x3a0385=(_0x15c311,_0x59fed0,_0x351a80)=>_0x59fed0 in _0x15c311?_0x2b6d14(_0x15c311,_0x59fed0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x351a80}):_0x15c311[_0x59fed0]=_0x351a80,_0x42374b=(_0x2e86d4,_0x4d874b,_0x42b01a)=>_0x3a0385(_0x2e86d4,typeof _0x4d874b!=_0x2c8ec4(0x320)?_0x4d874b+'':_0x4d874b,_0x42b01a),_0x34e34c=Object['getOwnPropertyDescriptor'],_0x14ab39=(_0x492fef,_0x3b4ca7,_0x53a3bb,_0x3e7b3b)=>{const _0x4a8a9d=_0x2c8ec4;for(var _0x275cdb=_0x3e7b3b>0x1?void 0x0:_0x3e7b3b?_0x34e34c(_0x3b4ca7,_0x53a3bb):_0x3b4ca7,_0x153262=_0x492fef[_0x4a8a9d(0x1f8)]-0x1,_0x4b1f6d;_0x153262>=0x0;_0x153262--)(_0x4b1f6d=_0x492fef[_0x153262])&&(_0x275cdb=_0x4b1f6d(_0x275cdb)||_0x275cdb);return _0x275cdb;},_0x457963=(_0x3743f2,_0x4e3ea2)=>(_0x160dea,_0x34ae89)=>_0x4e3ea2(_0x160dea,_0x34ae89,_0x3743f2);let _0x2c02c5=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x4d4394,_0x53e0aa){const _0x386c21=_0x2c8ec4;super(),this[_0x386c21(0x19b)]=_0x4d4394,this[_0x386c21(0x114)]=_0x53e0aa,this[_0x386c21(0x216)]();}[_0x2c8ec4(0x216)](){const _0x50c37c=_0x2c8ec4,_0x15f63b=this;this[_0x50c37c(0x345)](this[_0x50c37c(0x19b)][_0x50c37c(0x171)]({'onBeforePasteImage':async _0x23f6bd=>{const _0x196927=_0x50c37c,_0x590f30=await _0x15f63b[_0x196927(0x114)][_0x196927(0x2c8)](_0x23f6bd);return _0x590f30?{'source':_0x590f30[_0x196927(0x2d0)],'imageSourceType':_0x590f30[_0x196927(0x3aa)]}:null;}}));}};_0x2c02c5=_0x14ab39([_0x457963(0x0,_0x58ed4c[_0x2c8ec4(0x231)]),_0x457963(0x1,_0x4afe1c[_0x2c8ec4(0x366)])],_0x2c02c5);const _0x2a8919=[_0x2c8ec4(0x1f6),_0x2c8ec4(0x1c3),_0x2c8ec4(0x157),_0x2c8ec4(0x254),_0x2c8ec4(0x39e),_0x2c8ec4(0x15b)];class _0x1ad7cd extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(){const _0xb69db9=_0x2c8ec4;super(...arguments),_0x42374b(this,_0xb69db9(0x1a7),new Map()),_0x42374b(this,'_colorIndex',0x0);}[_0x2c8ec4(0x3a9)](_0x4edf1d){const _0x1aa704=_0x2c8ec4;if(this[_0x1aa704(0x1a7)]['has'](_0x4edf1d))return this[_0x1aa704(0x1a7)]['get'](_0x4edf1d);const _0x3860ff=_0x2a8919[this[_0x1aa704(0x199)]];return this[_0x1aa704(0x199)]=(this['_colorIndex']+0x1)%_0x2a8919['length'],this['_assignedColors'][_0x1aa704(0x3a4)](_0x4edf1d,_0x3860ff),_0x3860ff;}}function _0x25e978(_0x22bf21){const _0x3a299c=_0x2c8ec4;let _0x1817ad='';for(const _0xfe2ab7 of _0x22bf21){const {startOffset:_0x153a2a,endOffset:_0x486dda,isActive:_0x1f66b7,rangeType:_0x35eb05,segmentId:_0x4797ec,segmentPage:_0x45a51b}=_0xfe2ab7;_0x1817ad[_0x3a299c(0x1f8)]&&(_0x1817ad+=','),_0x1817ad+=_0x153a2a+':'+_0x486dda+':'+(_0x1f66b7?'1':'0')+':'+_0x35eb05+':'+_0x4797ec+':'+_0x45a51b;}return _0x1817ad;}function _0x10f436(_0x430054){const _0x405c47=_0x2c8ec4,_0x29688e=_0x430054[_0x405c47(0x298)](','),_0x298d90=[];for(const _0x535b38 of _0x29688e){const [_0x364acc,_0x1941ce,_0x264c2a,_0x49bba4,_0x2540e7,_0x1ac26a]=_0x535b38['split'](':');_0x298d90['push']({'startOffset':Number(_0x364acc),'endOffset':Number(_0x1941ce),'collapsed':_0x364acc===_0x1941ce,'isActive':_0x264c2a==='1','rangeType':_0x49bba4===_0x268d3b[_0x405c47(0x144)][_0x405c47(0x117)]?_0x268d3b[_0x405c47(0x144)][_0x405c47(0x117)]:_0x268d3b['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x2540e7==_0x405c47(0x124)?String(_0x2540e7):'','segmentPage':Number(_0x1ac26a!=null?_0x1ac26a:-0x1)});}return _0x298d90[_0x405c47(0x1c8)](_0x50213c=>_0x50213c[_0x405c47(0x260)])||(_0x298d90[0x0][_0x405c47(0x260)]=!0x0),_0x298d90;}class _0x2fcdcb extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(){const _0xb1c8d7=_0x2c8ec4;super(...arguments),_0x42374b(this,_0xb1c8d7(0x267),new _0x399a7e[(_0xb1c8d7(0x33a))](null)),_0x42374b(this,'collabCursorState$',this[_0xb1c8d7(0x267)][_0xb1c8d7(0x19a)]());}[_0x2c8ec4(0x139)](_0x315b82){const _0x4d8084=_0x2c8ec4,{unitID:_0x358c8d,memberID:_0xb9f861,textRanges:_0x2c139d}=_0x315b82,_0x4b2cb0=_0x25e978(_0x2c139d);if(_0x4b2cb0==='')return;const _0x47901e={'unitID':_0x358c8d,'memberID':_0xb9f861,'selection':_0x4b2cb0};this[_0x4d8084(0x267)][_0x4d8084(0x2f6)](_0x47901e);}}var _0x53671f=Object['getOwnPropertyDescriptor'],_0x4d24dd=(_0x2948d1,_0x3081d7,_0x5466fe,_0x3bc45c)=>{const _0x352eb8=_0x2c8ec4;for(var _0x4f1f29=_0x3bc45c>0x1?void 0x0:_0x3bc45c?_0x53671f(_0x3081d7,_0x5466fe):_0x3081d7,_0x814f7f=_0x2948d1[_0x352eb8(0x1f8)]-0x1,_0x4af9f0;_0x814f7f>=0x0;_0x814f7f--)(_0x4af9f0=_0x2948d1[_0x814f7f])&&(_0x4f1f29=_0x4af9f0(_0x4f1f29)||_0x4f1f29);return _0x4f1f29;},_0x5adf12=(_0x56e68b,_0x4f438b)=>(_0x496524,_0x56684d)=>_0x4f438b(_0x496524,_0x56684d,_0x56e68b);const _0x31df47=0x12c,_0xd3d400=0x64;let _0x158431=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x179ece,_0xf9b3a2,_0x26266f,_0xa26bc6,_0x10bdb2,_0x5dbc04,_0x1f0698,_0x4a95d6,_0x54923e){const _0x152103=_0x2c8ec4;super(),_0x42374b(this,_0x152103(0x1b3),!0x1),_0x42374b(this,_0x152103(0x216),!0x1),_0x42374b(this,_0x152103(0x237),new _0x399a7e['BehaviorSubject'](new Map())),_0x42374b(this,_0x152103(0x386),this['_cursorInfo$'][_0x152103(0x19a)]()),_0x42374b(this,_0x152103(0x1f9),new _0x399a7e[(_0x152103(0x33a))]([])),_0x42374b(this,'roomMembers$',this[_0x152103(0x1f9)][_0x152103(0x25d)](_0x399a7e[_0x152103(0x12a)](_0x31df47))),_0x42374b(this,_0x152103(0x159),_0x268d3b[_0x152103(0x1b7)](_0x6c0173=>{const _0x439150=_0x152103,_0x3b9a84={'eventID':_0x2ac5d3['CollaborationEvent'][_0x439150(0x2bb)],'data':{'unitID':this['unitID'],'memberID':this[_0x439150(0x15c)][_0x439150(0x24b)](),'selection':_0x25e978(_0x6c0173)}};this[_0x439150(0x15c)]['send'](_0x3b9a84,this[_0x439150(0x352)]);},_0xd3d400)),(this[_0x152103(0x352)]=_0x179ece,this['_session']=_0xf9b3a2,this[_0x152103(0x2ab)]=_0x26266f,this[_0x152103(0x12e)]=_0xa26bc6,this[_0x152103(0x2b1)]=_0x10bdb2,this[_0x152103(0x181)]=_0x5dbc04,this['_transformService']=_0x1f0698,this[_0x152103(0x2f1)]=_0x4a95d6,this[_0x152103(0x21d)]=_0x54923e);}get[_0x2c8ec4(0x15f)](){const _0x55313f=_0x2c8ec4;return this[_0x55313f(0x237)]['getValue']();}get['roomMembers'](){const _0x3a5a1c=_0x2c8ec4;return this[_0x3a5a1c(0x1f9)]['getValue']();}['dispose'](){const _0x5ac99a=_0x2c8ec4;super[_0x5ac99a(0x37b)](),this[_0x5ac99a(0x237)]['next'](new Map()),this[_0x5ac99a(0x237)][_0x5ac99a(0x174)](),this[_0x5ac99a(0x1f9)][_0x5ac99a(0x2f6)]([]),this['_roomMembers$'][_0x5ac99a(0x174)]();}[_0x2c8ec4(0x184)](){const _0x29d244=_0x2c8ec4;this[_0x29d244(0x216)]||(this['_init']=!0x0,this[_0x29d244(0x15c)][_0x29d244(0x2e8)][_0x29d244(0x25d)](_0x399a7e['takeUntil'](this[_0x29d244(0x2e0)]))['subscribe'](_0x5401dd=>{const _0x5f43e8=_0x29d244;_0x5401dd===_0x2eddce[_0x5f43e8(0x221)][_0x5f43e8(0x190)]?this['_toggleOnline']():this[_0x5f43e8(0x32b)]();}),this[_0x29d244(0x15c)][_0x29d244(0x1a4)]['pipe'](_0x399a7e[_0x29d244(0x365)](this[_0x29d244(0x2e0)]))['subscribe'](_0x536fde=>{const _0xfcba63=_0x29d244,_0x29db52=_0x536fde['eventID'];_0x29db52===_0x2ac5d3[_0xfcba63(0x263)][_0xfcba63(0x2bb)]&&this[_0xfcba63(0x121)](_0x536fde),_0x29db52===_0x2ac5d3[_0xfcba63(0x263)][_0xfcba63(0x2a3)]&&this[_0xfcba63(0x393)](_0x536fde);}),this[_0x29d244(0x345)](this['_commandService'][_0x29d244(0x113)](_0x1a63db=>{const _0x24a92c=_0x29d244,_0x492451=_0x1a63db[_0x24a92c(0x126)];_0x492451!=null&&this[_0x24a92c(0x1b3)]&&_0x1a63db['id']===_0x688e2[_0x24a92c(0x241)]['id']&&_0x492451['unitId']===this[_0x24a92c(0x352)]&&_0x492451[_0x24a92c(0x2fc)]===!0x1&&_0x492451[_0x24a92c(0x2f7)][_0x24a92c(0x1f8)]>0x0&&this[_0x24a92c(0x159)](_0x492451[_0x24a92c(0x2f7)]);})),this[_0x29d244(0x181)][_0x29d244(0x37f)][_0x29d244(0x25d)](_0x399a7e['takeUntil'](this['dispose$']))[_0x29d244(0x36b)](_0x49db66=>{const _0x50a7d6=_0x29d244;if((_0x49db66==null?void 0x0:_0x49db66[_0x50a7d6(0x352)])!==this[_0x50a7d6(0x352)])return;const _0x56215b={'eventID':_0x2ac5d3[_0x50a7d6(0x263)][_0x50a7d6(0x2bb)],'data':_0x49db66};this['_onCursorUpdate'](_0x56215b);}),this[_0x29d244(0x345)](this['_commandService'][_0x29d244(0x113)](_0x4c3e5e=>{const _0x4f1779=_0x29d244;if(_0x4c3e5e['params']==null)return;const _0x9af82d=_0x4c3e5e[_0x4f1779(0x126)];if(_0x4c3e5e['id']!==_0x688e2[_0x4f1779(0x31c)]['id']||_0x9af82d['unitId']!==this['unitID'])return;const _0x29c00c={'id':'doc.mutation.rich-text-editing','params':_0x9af82d},_0x5557e2=this['cursorInfo'];for(const [_0x1356d4,_0x5ab389]of _0x5557e2){const _0x4b0ca5={'id':_0x4f1779(0x195),'params':{'unitId':this[_0x4f1779(0x352)],'actions':null,'textRanges':_0x5ab389['ranges']}},_0x1a7086=this[_0x4f1779(0x1ac)][_0x4f1779(0x1c7)](_0x29c00c,_0x4b0ca5,!0x1);if(_0x2ac5d3[_0x4f1779(0x197)](_0x1a7086))throw _0x1a7086[_0x4f1779(0x232)];_0x5557e2['set'](_0x1356d4,{..._0x5ab389,'ranges':_0x1a7086[_0x4f1779(0x154)][_0x4f1779(0x126)][_0x4f1779(0x133)]});}queueMicrotask(()=>{const _0x351f8b=_0x4f1779;this[_0x351f8b(0x237)][_0x351f8b(0x2f6)](_0x5557e2);});})));}['_onCursorUpdate'](_0x527e8a){const _0x523855=_0x2c8ec4;var _0x2bd094,_0x784caf;const {memberID:_0x1e274b,selection:_0x356465}=_0x527e8a[_0x523855(0x1cb)],_0x578318=_0x10f436(_0x356465),_0x5e0aec=(_0x784caf=(_0x2bd094=this['_memberService'][_0x523855(0x3a6)](this[_0x523855(0x352)],_0x1e274b))==null?void 0x0:_0x2bd094[_0x523855(0x34a)])!=null?_0x784caf:_0x523855(0x361),_0x213cd2={'color':this[_0x523855(0x12e)][_0x523855(0x3a9)](_0x1e274b),'name':_0x5e0aec,'ranges':_0x578318},_0x37589b=this[_0x523855(0x15f)];_0x37589b[_0x523855(0x3a4)](_0x1e274b,_0x213cd2),this['_cursorInfo$']['next'](_0x37589b);}[_0x2c8ec4(0x393)](_0x5a3c6a){const _0x18c91f=_0x2c8ec4,{memberID:_0x533d6e}=_0x5a3c6a[_0x18c91f(0x1cb)],_0x39e37d=this['cursorInfo'];_0x39e37d[_0x18c91f(0x259)](_0x533d6e),this[_0x18c91f(0x237)][_0x18c91f(0x2f6)](_0x39e37d);}[_0x2c8ec4(0x2ba)](){const _0x5e6703=_0x2c8ec4;var _0x1636ba;if(this['_online']=!0x0,((_0x1636ba=this[_0x5e6703(0x2f1)]['getFocusedUnit']())==null?void 0x0:_0x1636ba[_0x5e6703(0x14c)]())!==this['unitID'])return;const _0x57ed60=this[_0x5e6703(0x2ab)][_0x5e6703(0x36a)](_0x688e2['DocSelectionManagerService'])[_0x5e6703(0x307)]();Array[_0x5e6703(0x187)](_0x57ed60)&&_0x57ed60[_0x5e6703(0x1f8)]>0x0&&this[_0x5e6703(0x159)](_0x57ed60);}['_toggleOffline'](){const _0x4b3745=_0x2c8ec4;this[_0x4b3745(0x1b3)]=!0x1;}};_0x158431=_0x4d24dd([_0x5adf12(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x5adf12(0x3,_0x268d3b['Inject'](_0x1ad7cd)),_0x5adf12(0x4,_0x268d3b['Inject'](_0x2eddce['MemberService'])),_0x5adf12(0x5,_0x268d3b[_0x2c8ec4(0x1be)](_0x2fcdcb)),_0x5adf12(0x6,_0x2ac5d3[_0x2c8ec4(0x21f)]),_0x5adf12(0x7,_0x268d3b[_0x2c8ec4(0x2eb)]),_0x5adf12(0x8,_0x268d3b['ICommandService'])],_0x158431);var _0x7ccdf3=Object[_0x2c8ec4(0x146)],_0x3f9485=(_0x320cb7,_0x116aff,_0x30ce51,_0x10a70f)=>{for(var _0x436d25=_0x10a70f>0x1?void 0x0:_0x10a70f?_0x7ccdf3(_0x116aff,_0x30ce51):_0x116aff,_0x1d32bf=_0x320cb7['length']-0x1,_0x5616e8;_0x1d32bf>=0x0;_0x1d32bf--)(_0x5616e8=_0x320cb7[_0x1d32bf])&&(_0x436d25=_0x5616e8(_0x436d25)||_0x436d25);return _0x436d25;},_0x369b84=(_0x208d7c,_0x2ffb2e)=>(_0x4b5d8e,_0x59d1be)=>_0x2ffb2e(_0x4b5d8e,_0x59d1be,_0x208d7c);const _0x27d924=0x12c,_0x238c6e=0x64,_0x238801=()=>{let _0x10413c=[],_0x619f64=!0x1;return _0x36c1f4=>{const _0x206828=_0x156e;_0x10413c[_0x206828(0x243)](_0x36c1f4),_0x619f64||(_0x619f64=!0x0,setTimeout(()=>{const _0x46b680=_0x206828;_0x10413c[_0x46b680(0x31d)](_0x1bb4b7=>_0x1bb4b7()),_0x10413c=[],_0x619f64=!0x1;}));};};let _0x59e814=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x3a83fa,_0x1d8f5d,_0x3ec19d,_0x358284,_0x4e3ee5,_0x52e2a0,_0x453482,_0x435587){const _0x40836a=_0x2c8ec4;super(),_0x42374b(this,'_online',!0x1),_0x42374b(this,_0x40836a(0x216),!0x1),_0x42374b(this,_0x40836a(0x237),new _0x399a7e[(_0x40836a(0x33a))](new Map())),_0x42374b(this,'cursorInfo$',this[_0x40836a(0x237)]['asObservable']()),_0x42374b(this,_0x40836a(0x1f9),new _0x399a7e[(_0x40836a(0x33a))]([])),_0x42374b(this,_0x40836a(0x31b),this[_0x40836a(0x1f9)][_0x40836a(0x25d)](_0x399a7e['debounceTime'](_0x27d924))),_0x42374b(this,_0x40836a(0x159),_0x268d3b['debounce']((_0x2b9663,_0x35aa01)=>{const _0x16673e=_0x40836a,_0x5aa7d1={'eventID':_0x2ac5d3[_0x16673e(0x263)][_0x16673e(0x2bb)],'data':{'unitID':this[_0x16673e(0x352)],'memberID':this['_session'][_0x16673e(0x24b)](),'selection':_0xcce0ed[_0x16673e(0x313)](_0x2b9663,_0x35aa01[_0x16673e(0x168)])}};this[_0x16673e(0x15c)][_0x16673e(0x264)](_0x5aa7d1,this[_0x16673e(0x352)]);},_0x238c6e)),(this['unitID']=_0x3a83fa,this['_session']=_0x1d8f5d,this[_0x40836a(0x2ab)]=_0x3ec19d,this['_colorAssignService']=_0x358284,this[_0x40836a(0x2b1)]=_0x4e3ee5,this[_0x40836a(0x2f1)]=_0x52e2a0,this[_0x40836a(0x21d)]=_0x453482,this[_0x40836a(0x363)]=_0x435587);}get[_0x2c8ec4(0x15f)](){return this['_cursorInfo$']['getValue']();}get[_0x2c8ec4(0x2fe)](){const _0x273179=_0x2c8ec4;return this[_0x273179(0x1f9)]['getValue']();}[_0x2c8ec4(0x37b)](){const _0x5ee131=_0x2c8ec4;super['dispose'](),this['_cursorInfo$'][_0x5ee131(0x2f6)](new Map()),this['_cursorInfo$'][_0x5ee131(0x174)](),this[_0x5ee131(0x1f9)][_0x5ee131(0x2f6)]([]),this['_roomMembers$']['complete']();}[_0x2c8ec4(0x184)](){const _0x21a0c6=_0x2c8ec4;this[_0x21a0c6(0x216)]||(this['_init']=!0x0,this[_0x21a0c6(0x15c)][_0x21a0c6(0x2e8)]['pipe'](_0x399a7e[_0x21a0c6(0x365)](this[_0x21a0c6(0x2e0)]))['subscribe'](_0x3528db=>{const _0x2c562d=_0x21a0c6;_0x3528db===_0x2eddce[_0x2c562d(0x221)][_0x2c562d(0x190)]?this[_0x2c562d(0x2ba)]():this[_0x2c562d(0x32b)]();}),this['_session'][_0x21a0c6(0x1a4)][_0x21a0c6(0x25d)](_0x399a7e[_0x21a0c6(0x365)](this[_0x21a0c6(0x2e0)]))['subscribe'](_0x15d2c9=>{const _0x396b3f=_0x21a0c6,_0x15ae5d=_0x15d2c9[_0x396b3f(0x2c6)];_0x15ae5d===_0x2ac5d3[_0x396b3f(0x263)][_0x396b3f(0x2bb)]&&this['_onCursorUpdate'](_0x15d2c9),_0x15ae5d===_0x2ac5d3['CollaborationEvent'][_0x396b3f(0x2a3)]&&this[_0x396b3f(0x393)](_0x15d2c9);}),this[_0x21a0c6(0x11b)](),this[_0x21a0c6(0x345)](this[_0x21a0c6(0x21d)][_0x21a0c6(0x113)](_0x3b05bf=>{const _0xff934=_0x21a0c6;if(this['_online']&&_0x3b05bf['id']===_0x26ad5a[_0xff934(0x202)]['id']&&_0x3b05bf[_0xff934(0x126)][_0xff934(0x2e2)]===this[_0xff934(0x352)]){const _0x35b00c=_0x3b05bf[_0xff934(0x126)];this['_updateLocalCursor'](_0x35b00c[_0xff934(0x162)],_0x35b00c[_0xff934(0x359)][0x0]);}})));}[_0x2c8ec4(0x121)](_0x3564de){const _0x3a4090=_0x2c8ec4;var _0xcff3cb,_0x5b8a12;const {memberID:_0x2a82e2,selection:_0x4c1682}=_0x3564de[_0x3a4090(0x1cb)],{sheetName:_0x543085,range:_0x511f14}=_0xcce0ed[_0x3a4090(0x36c)](_0x4c1682),_0x45ce5c={'name':(_0x5b8a12=(_0xcff3cb=this['_memberService'][_0x3a4090(0x3a6)](this[_0x3a4090(0x352)],_0x2a82e2))==null?void 0x0:_0xcff3cb[_0x3a4090(0x34a)])!=null?_0x5b8a12:'Unknown\x20user','range':this[_0x3a4090(0x27a)](_0x543085,_0x511f14),'sheetID':_0x543085,'color':this[_0x3a4090(0x12e)]['assignAColorForMemberID'](_0x2a82e2),'selection':_0x4c1682},_0x3ce4d4=this[_0x3a4090(0x15f)];_0x3ce4d4[_0x3a4090(0x3a4)](_0x2a82e2,_0x45ce5c),this[_0x3a4090(0x237)]['next'](_0x3ce4d4);}['_onCursorDelete'](_0x4c4329){const _0x3e031e=_0x2c8ec4,{memberID:_0x7337e3}=_0x4c4329[_0x3e031e(0x1cb)],_0x4e93fe=this[_0x3e031e(0x15f)];_0x4e93fe[_0x3e031e(0x259)](_0x7337e3),this['_cursorInfo$'][_0x3e031e(0x2f6)](_0x4e93fe);}[_0x2c8ec4(0x27a)](_0xd49a21,_0x58a08a){const _0x5bc1db=_0x2c8ec4;var _0x51f647,_0x5ed106;const _0x5d9ef2=(_0x5ed106=(_0x51f647=this['_univerInstanceService'][_0x5bc1db(0x177)](this[_0x5bc1db(0x352)]))==null?void 0x0:_0x51f647['getSheetBySheetId'](_0xd49a21))==null?void 0x0:_0x5ed106[_0x5bc1db(0x370)]();return(_0x5d9ef2==null?void 0x0:_0x5d9ef2[_0x5bc1db(0x1c9)](_0x36a2f7=>_0x268d3b[_0x5bc1db(0x2a6)][_0x5bc1db(0x193)](_0x36a2f7,_0x58a08a)))||_0x58a08a;}[_0x2c8ec4(0x11b)](){const _0x240061=_0x2c8ec4,_0xaefd1=new _0x268d3b[(_0x240061(0x153))](),_0x323217=_0x238801(),_0x59112d=()=>{const _0x15c0e8=_0x240061;_0xaefd1[_0x15c0e8(0x37b)]();const _0x4a0a0a=(_0x28adf9,_0x50e06f,_0x2827f4,_0x3c9a2a)=>{const _0x41013e=_0x15c0e8;let _0x1cf602=[];switch(_0x28adf9['id']){case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x1b5)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x13b)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x1fb)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x13f)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)]['InsertColCommandId']:{_0x1cf602=_0x26ad5a[_0x41013e(0x2a9)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x21b)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x3a5)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x26e)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x2fd)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x225)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x2de)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)]['MoveRangeCommandId']:{_0x1cf602=_0x26ad5a[_0x41013e(0x326)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)][_0x41013e(0x165)]:{_0x1cf602=_0x26ad5a[_0x41013e(0x26b)](_0x28adf9,_0x3c9a2a);break;}case _0x26ad5a[_0x41013e(0x12b)]['RemoveRowCommandId']:{_0x1cf602=_0x26ad5a[_0x41013e(0x335)](_0x28adf9,_0x3c9a2a);break;}}const _0x1828f0=_0x26ad5a[_0x41013e(0x306)](_0x1cf602,_0x3c9a2a),_0x4f96ad=this[_0x41013e(0x15f)][_0x41013e(0x36a)](_0x50e06f);if(_0x4f96ad&&_0x1828f0){const _0x4bf21d={..._0x4f96ad,'range':_0x1828f0};this[_0x41013e(0x15f)][_0x41013e(0x3a4)](_0x50e06f,_0x4bf21d),_0x323217(()=>{const _0x257315=_0x41013e,_0x467667=this[_0x257315(0x363)][_0x257315(0x398)](_0x1828f0,_0x5c5bc5=>(_0x467667[_0x257315(0x37b)](),_0x4a0a0a(_0x5c5bc5,_0x50e06f,_0x2827f4,_0x1828f0)));_0xaefd1[_0x257315(0x1c1)](_0x467667);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x15c0e8(0x31d)]((_0x5a7b4b,_0x44b233)=>{const _0x3c59a7=_0x15c0e8,{range:_0x5cf995,sheetID:_0x2620ce}=_0x5a7b4b,_0x17814c=this[_0x3c59a7(0x363)][_0x3c59a7(0x398)](_0x5cf995,_0xbeb460=>(_0x17814c[_0x3c59a7(0x37b)](),_0x4a0a0a(_0xbeb460,_0x44b233,_0x2620ce,_0x5cf995)));_0xaefd1[_0x3c59a7(0x1c1)](_0x17814c);});};this[_0x240061(0x345)](_0x268d3b['toDisposable'](this[_0x240061(0x237)]['subscribe'](()=>{_0x59112d();})));}['_toggleOnline'](){const _0x27a291=_0x2c8ec4;var _0x5deac8,_0x594a47;if(this[_0x27a291(0x1b3)]=!0x0,((_0x5deac8=this['_univerInstanceService'][_0x27a291(0x280)]())==null?void 0x0:_0x5deac8['getUnitId']())!==this[_0x27a291(0x352)])return;const _0x50fce4=(_0x594a47=this[_0x27a291(0x2ab)][_0x27a291(0x36a)](_0x26ad5a[_0x27a291(0x21e)])[_0x27a291(0x299)]())==null?void 0x0:_0x594a47[0x0],_0x29338e=this[_0x27a291(0x2f1)]['getCurrentUnitForType'](_0x268d3b[_0x27a291(0x20a)][_0x27a291(0x186)])['getActiveSheet']();_0x50fce4&&_0x29338e&&this[_0x27a291(0x159)](_0x29338e['getSheetId'](),_0x50fce4);}[_0x2c8ec4(0x32b)](){const _0x4ee95e=_0x2c8ec4;this[_0x4ee95e(0x1b3)]=!0x1;}};_0x59e814=_0x3f9485([_0x369b84(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x369b84(0x3,_0x268d3b[_0x2c8ec4(0x1be)](_0x1ad7cd)),_0x369b84(0x4,_0x268d3b['Inject'](_0x2eddce['MemberService'])),_0x369b84(0x5,_0x268d3b['IUniverInstanceService']),_0x369b84(0x6,_0x268d3b['ICommandService']),_0x369b84(0x7,_0x268d3b[_0x2c8ec4(0x1be)](_0x26ad5a[_0x2c8ec4(0x382)]))],_0x59e814);var _0x488512=Object['getOwnPropertyDescriptor'],_0x4187d9=(_0x39578b,_0x36e0b7,_0x802cd8,_0x1570e4)=>{const _0x5f4088=_0x2c8ec4;for(var _0x3c1588=_0x1570e4>0x1?void 0x0:_0x1570e4?_0x488512(_0x36e0b7,_0x802cd8):_0x36e0b7,_0x2c214a=_0x39578b[_0x5f4088(0x1f8)]-0x1,_0x531612;_0x2c214a>=0x0;_0x2c214a--)(_0x531612=_0x39578b[_0x2c214a])&&(_0x3c1588=_0x531612(_0x3c1588)||_0x3c1588);return _0x3c1588;},_0x5a63b6=(_0x5e0167,_0x2d5a1c)=>(_0x580ea7,_0x12744d)=>_0x2d5a1c(_0x580ea7,_0x12744d,_0x5e0167);let _0x2e97d2=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x455819,_0x35bf92,_0xf2bcd4){const _0x3518fb=_0x2c8ec4;super(),_0x42374b(this,_0x3518fb(0x166),new Map()),_0x42374b(this,'_entityInit$',new _0x399a7e[(_0x3518fb(0x2ec))]()),(this['_univerInstanceService']=_0x455819,this['_injector']=_0x35bf92,this[_0x3518fb(0x37c)]=_0xf2bcd4,this['_init']());}[_0x2c8ec4(0x37b)](){const _0x43f18b=_0x2c8ec4;super[_0x43f18b(0x37b)](),this[_0x43f18b(0x26d)]['complete'](),this[_0x43f18b(0x166)][_0x43f18b(0x31d)](_0x5c7e18=>_0x5c7e18[_0x43f18b(0x37b)]());}['getCollabCursors$'](_0x51901d){const _0x1baf95=_0x2c8ec4;return this['_entities'][_0x1baf95(0x119)](_0x51901d)?this[_0x1baf95(0x166)]['get'](_0x51901d)[_0x1baf95(0x386)]:this[_0x1baf95(0x26d)][_0x1baf95(0x25d)](_0x399a7e['filter'](_0x3065ae=>_0x3065ae['unitID']===_0x51901d),_0x399a7e[_0x1baf95(0x22f)](_0x556d59=>_0x556d59[_0x1baf95(0x386)]));}['_init'](){const _0x11d26a=_0x2c8ec4;this[_0x11d26a(0x2f1)][_0x11d26a(0x185)](_0x268d3b[_0x11d26a(0x20a)][_0x11d26a(0x186)])[_0x11d26a(0x25d)](_0x399a7e['takeUntil'](this[_0x11d26a(0x2e0)]))[_0x11d26a(0x36b)](async _0x18b98b=>{const _0x2c8642=_0x11d26a,_0x596dd3=_0x18b98b[_0x2c8642(0x14c)](),_0x454c07=await this[_0x2c8642(0x24c)](_0x596dd3);this[_0x2c8642(0x26d)]['next'](_0x454c07),this[_0x2c8642(0x166)]['set'](_0x596dd3,_0x454c07);}),this[_0x11d26a(0x2f1)][_0x11d26a(0x185)](_0x268d3b[_0x11d26a(0x20a)][_0x11d26a(0x39a)])['pipe'](_0x399a7e[_0x11d26a(0x365)](this[_0x11d26a(0x2e0)]))[_0x11d26a(0x25d)](_0x399a7e[_0x11d26a(0x262)](_0x44549f=>!_0x44549f[_0x11d26a(0x14c)]()[_0x11d26a(0x194)]('__')))[_0x11d26a(0x36b)](async _0x203bb1=>{const _0x16b10d=_0x11d26a,_0xe75b42=_0x203bb1[_0x16b10d(0x14c)](),_0x4a9019=await this[_0x16b10d(0x1a6)](_0xe75b42);this[_0x16b10d(0x26d)][_0x16b10d(0x2f6)](_0x4a9019),this[_0x16b10d(0x166)][_0x16b10d(0x3a4)](_0xe75b42,_0x4a9019);}),_0x399a7e[_0x11d26a(0x1e8)](this[_0x11d26a(0x2f1)][_0x11d26a(0x369)](_0x268d3b[_0x11d26a(0x20a)][_0x11d26a(0x39a)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x268d3b[_0x11d26a(0x20a)][_0x11d26a(0x186)]))['pipe'](_0x399a7e[_0x11d26a(0x365)](this[_0x11d26a(0x2e0)]))[_0x11d26a(0x36b)](_0x1cb8cd=>{const _0x19ee51=_0x11d26a,_0x412f25=_0x1cb8cd[_0x19ee51(0x14c)](),_0x3ac136=this[_0x19ee51(0x166)][_0x19ee51(0x36a)](_0x412f25);_0x3ac136&&(_0x3ac136[_0x19ee51(0x37b)](),this['_entities'][_0x19ee51(0x259)](_0x412f25));});}async[_0x2c8ec4(0x24c)](_0x3727f4){const _0x51aa59=_0x2c8ec4,_0xfb9182=await this[_0x51aa59(0x37c)][_0x51aa59(0x2c5)](_0x3727f4),_0x3cd519=this[_0x51aa59(0x2ab)][_0x51aa59(0x2b5)](_0x59e814,_0x3727f4,_0xfb9182);return _0x3cd519['init'](),_0x3cd519;}async[_0x2c8ec4(0x1a6)](_0x503952){const _0x1d10c8=_0x2c8ec4,_0x3211ee=await this[_0x1d10c8(0x37c)][_0x1d10c8(0x2c5)](_0x503952),_0x127558=this[_0x1d10c8(0x2ab)][_0x1d10c8(0x2b5)](_0x158431,_0x503952,_0x3211ee);return _0x127558[_0x1d10c8(0x184)](),_0x127558;}};_0x2e97d2=_0x4187d9([_0x5a63b6(0x0,_0x268d3b[_0x2c8ec4(0x2eb)]),_0x5a63b6(0x1,_0x268d3b['Inject'](_0x268d3b['Injector'])),_0x5a63b6(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x39c)]))],_0x2e97d2);const _0x684608=0x14,_0x22656b=0xc8,_0x13916d=0x4,_0x4e2066=0x5;function _0x2796ea(_0x59a5aa,_0x4d29f6){const _0x5e7522=_0x2c8ec4;let {radius:_0x136caa,width:_0x59e704,height:_0x569860}=_0x4d29f6;_0x136caa=_0x136caa!=null?_0x136caa:0x0,_0x59e704=_0x59e704!=null?_0x59e704:0x1e,_0x569860=_0x569860!=null?_0x569860:0x1e;let _0x4af900=0x0,_0xa80e07=0x0,_0x4109bb=0x0;_0x4af900=_0xa80e07=_0x4109bb=Math['min'](_0x136caa,_0x59e704/0x2,_0x569860/0x2),_0x59a5aa['beginPath'](),_0x59a5aa['moveTo'](_0x4af900,0x0),_0x59a5aa[_0x5e7522(0x372)](_0x59e704-_0xa80e07,0x0),_0x59a5aa[_0x5e7522(0x20c)](_0x59e704-_0xa80e07,_0xa80e07,_0xa80e07,Math['PI']*0x3/0x2,0x0,!0x1),_0x59a5aa['lineTo'](_0x59e704,_0x569860-_0x4109bb),_0x59a5aa[_0x5e7522(0x20c)](_0x59e704-_0x4109bb,_0x569860-_0x4109bb,_0x4109bb,0x0,Math['PI']/0x2,!0x1),_0x59a5aa[_0x5e7522(0x372)](0x0,_0x569860),_0x59a5aa[_0x5e7522(0x372)](0x0,_0x4af900),_0x59a5aa[_0x5e7522(0x20c)](_0x4af900,_0x4af900,_0x4af900,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x59a5aa[_0x5e7522(0x268)](),_0x4d29f6['fill']&&(_0x59a5aa['save'](),_0x59a5aa[_0x5e7522(0x36e)]=_0x4d29f6[_0x5e7522(0x14a)],_0x4d29f6[_0x5e7522(0x158)]===_0x5e7522(0x288)?_0x59a5aa['fill']('evenodd'):_0x59a5aa[_0x5e7522(0x14a)](),_0x59a5aa[_0x5e7522(0x29e)]());}class _0x1ad70a extends _0xb8fc77['Shape']{constructor(_0x59f3b2,_0x39477e){const _0xed2cc6=_0x2c8ec4;super(_0x59f3b2,_0x39477e),_0x42374b(this,'color'),_0x42374b(this,'text'),(this['color']=_0x39477e==null?void 0x0:_0x39477e[_0xed2cc6(0x156)],this[_0xed2cc6(0x346)]=_0x39477e==null?void 0x0:_0x39477e[_0xed2cc6(0x346)]);}static[_0x2c8ec4(0x1cc)](_0x1f4f31,_0x30d81f){const _0x210af7=_0x2c8ec4,{text:_0x423b37,color:_0x545b2a}=_0x30d81f;_0x1f4f31[_0x210af7(0x378)](),_0x1f4f31['font']=_0x210af7(0x324);const _0x1a9b42=_0x1f4f31[_0x210af7(0x330)](_0x423b37)['width'],_0x384b7a=Math[_0x210af7(0x1f5)](_0x1a9b42+0x2*_0x13916d,_0x22656b);_0x2796ea(_0x1f4f31,{'height':_0x684608,'radius':0x4,'width':_0x384b7a,'fill':_0x545b2a}),_0x1f4f31[_0x210af7(0x36e)]=_0x210af7(0x292);const _0x328fbd=_0x13916d,_0x5b21ef=_0x684608-_0x4e2066,_0x59f46b=_0x22656b-0x2*_0x13916d;if(_0x1a9b42>_0x59f46b){let _0xe5dd7d='',_0xa7853e=0x0;for(const _0x5276df of _0x423b37){const _0x539cf8=_0x1f4f31[_0x210af7(0x330)](_0x5276df)[_0x210af7(0x1d2)];if(_0xa7853e+_0x539cf8<=_0x59f46b-_0x1f4f31['measureText'](_0x210af7(0x220))[_0x210af7(0x1d2)])_0xe5dd7d+=_0x5276df,_0xa7853e+=_0x539cf8;else{_0xe5dd7d+=_0x210af7(0x220);break;}}_0x1f4f31[_0x210af7(0x198)](_0xe5dd7d,_0x328fbd,_0x5b21ef);}else _0x1f4f31[_0x210af7(0x198)](_0x423b37,_0x328fbd,_0x5b21ef);_0x1f4f31['restore']();}[_0x2c8ec4(0x355)](_0x1fb5e9){const _0x263de1=_0x2c8ec4;_0x1ad70a[_0x263de1(0x1cc)](_0x1fb5e9,this);}}const _0x217d8b='collab-text-anchor-',_0x304560=_0x2c8ec4(0x391),_0x51a22e='collab-rect-range-',_0x210f90=0x6,_0x269ec5=1.5,_0x1e45ae=0x4,_0x20a25d=1.5,_0x549bcf=_0x2c8ec4(0x22c);class _0x2ec862{constructor(_0x3fcec4,_0x2f4522,_0x351c42,_0x3becdc){const _0xf9149f=_0x2c8ec4;_0x42374b(this,_0xf9149f(0x34f),[]),_0x42374b(this,_0xf9149f(0x2cd),null),_0x42374b(this,'_textBubble',null),_0x42374b(this,_0xf9149f(0x37a),null),_0x42374b(this,_0xf9149f(0x278),null),_0x42374b(this,_0xf9149f(0x128),null),(this[_0xf9149f(0x1cd)]=_0x3fcec4,this['_scene']=_0x2f4522,this[_0xf9149f(0x2ca)]=_0x351c42,this[_0xf9149f(0x2e6)]=_0x3becdc,this['_render']());}set[_0x2c8ec4(0x1a9)](_0x31062d){const _0x1cdb52=_0x2c8ec4;_0x31062d?(this[_0x1cdb52(0x37a)]&&this[_0x1cdb52(0x37a)]['hide'](),this[_0x1cdb52(0x1bb)]&&this[_0x1cdb52(0x1bb)][_0x1cdb52(0x3a3)]()):(this[_0x1cdb52(0x37a)]&&this['_anchorDot'][_0x1cdb52(0x3a3)](),this['_textBubble']&&this[_0x1cdb52(0x1bb)][_0x1cdb52(0x2ef)]());}['dispose'](){const _0x30b023=_0x2c8ec4;for(const _0x15f1ae of this['_shapes'])_0x15f1ae[_0x30b023(0x37b)]();this[_0x30b023(0x1bb)]&&this[_0x30b023(0x1bb)][_0x30b023(0x37b)](),this[_0x30b023(0x37a)]&&this[_0x30b023(0x37a)][_0x30b023(0x37b)](),this[_0x30b023(0x2cd)]&&this[_0x30b023(0x2cd)][_0x30b023(0x37b)](),this[_0x30b023(0x128)]&&this[_0x30b023(0x128)]();}[_0x2c8ec4(0x2ff)](){const _0x9fb647=_0x2c8ec4;var _0x1b942a;const {_docSkeleton:_0x573773,_document:_0x5a21d3}=this,{color:_0x2dc69c,name:_0x544a63,ranges:_0x4c850f}=this[_0x9fb647(0x1cd)],_0x39da69=_0x5a21d3[_0x9fb647(0x1a3)](),{docsLeft:_0x5c53f1,docsTop:_0x3f5857}=_0x39da69,_0x4beab5=new _0x58ed4c['NodePositionConvertToCursor'](_0x39da69,_0x573773);for(const {startOffset:_0xecc065,endOffset:_0x4fd2dd,rangeType:_0x29ef62,segmentId:_0x4fb84b,segmentPage:_0x7b8879,collapsed:_0x3034b5,isActive:_0x3e534d}of _0x4c850f){const _0x1c2abd=_0x573773[_0x9fb647(0x2a1)](_0xecc065,!0x0,_0x4fb84b,_0x7b8879);let _0x421bba=_0x573773['findNodePositionByCharIndex'](_0x4fd2dd,!0x0,_0x4fb84b,_0x7b8879);if(_0x421bba==null&&(_0x421bba=_0x573773[_0x9fb647(0x2a1)](_0x4fd2dd-0x1,!0x1,_0x4fb84b,_0x7b8879)),_0x3e534d){const {contentBoxPointGroup:_0x29d9c2}=_0x4beab5[_0x9fb647(0x388)](_0x421bba,_0x421bba);if(_0x29d9c2[_0x9fb647(0x1f8)]===0x0)continue;this[_0x9fb647(0x179)](_0x2dc69c,_0x29d9c2,_0x5c53f1,_0x3f5857,_0x544a63),this[_0x9fb647(0x128)]=this['_handleHover']();}if(_0x1c2abd&&_0x421bba){if(_0x29ef62===_0x268d3b[_0x9fb647(0x144)]['RECT']){const _0x15e6f7=new _0x58ed4c[(_0x9fb647(0x28b))](_0x39da69,_0x573773),{pointGroup:_0x38f377}=(_0x1b942a=_0x15e6f7['getRangePointData'](_0x1c2abd,_0x421bba))!=null?_0x1b942a:{};if(_0x38f377==null||_0x38f377[_0x9fb647(0x1f8)]===0x0)continue;this[_0x9fb647(0x2d7)](_0x2dc69c,_0x38f377,_0x5c53f1,_0x3f5857);}else{if(!_0x3034b5){const {borderBoxPointGroup:_0x200703}=_0x4beab5[_0x9fb647(0x388)](_0x1c2abd,_0x421bba);if(_0x200703[_0x9fb647(0x1f8)]===0x0)continue;this['_drawTextRange'](_0x2dc69c,_0x200703,_0x5c53f1,_0x3f5857);}}}}}[_0x2c8ec4(0x179)](_0x55f168,_0x452944,_0x53f67a,_0x3b0d77,_0x3135f9){const _0x51d752=_0x2c8ec4,_0x95bba3=this[_0x51d752(0x1e7)](_0x452944),{left:_0x35c768,top:_0x31897b,height:_0x578283}=_0x95bba3,_0x419ef1=this[_0x51d752(0x38f)](),_0x2fae8d=_0x20a25d/_0x419ef1,_0x2e391b=new _0xb8fc77[(_0x51d752(0x284))](_0x217d8b+_0x268d3b[_0x51d752(0x204)][_0x51d752(0x228)](_0x210f90),{'left':_0x35c768+_0x53f67a-_0x2fae8d,'top':_0x31897b+_0x3b0d77,'height':_0x578283,'width':_0x269ec5,'fill':_0x55f168||_0xb8fc77[_0x51d752(0x172)](_0x268d3b[_0x51d752(0x1af)]['black'],0x0),'strokeWidth':_0x2fae8d,'stroke':_0x549bcf,'evented':!0x0});this['_anchor']=_0x2e391b,this['_scene']['addObject'](_0x2e391b,_0x58ed4c[_0x51d752(0x2fb)]);const _0x4f0f02=new _0xb8fc77['Rect'](_0x217d8b+_0x268d3b[_0x51d752(0x204)]['generateRandomId'](_0x210f90),{'left':_0x35c768+_0x53f67a-_0x2fae8d,'top':_0x31897b+_0x3b0d77-_0x1e45ae/0x2,'height':_0x1e45ae,'width':_0x1e45ae,'fill':_0x55f168||_0xb8fc77['getColor'](_0x268d3b[_0x51d752(0x1af)][_0x51d752(0x27c)],0x0),'strokeWidth':0x0,'stroke':_0x55f168||_0xb8fc77[_0x51d752(0x172)](_0x268d3b[_0x51d752(0x1af)][_0x51d752(0x27c)],0x0),'evented':!0x1});this['_anchorDot']=_0x4f0f02,this['_scene']['addObject'](_0x4f0f02,_0x58ed4c[_0x51d752(0x2fb)]);const _0x1940a2=new _0x1ad70a(_0x217d8b+_0x268d3b['Tools'][_0x51d752(0x228)](_0x210f90),{'left':_0x35c768+_0x53f67a-_0x2fae8d,'top':_0x31897b+_0x3b0d77-_0x684608,'text':_0x3135f9,'color':_0x55f168});this[_0x51d752(0x1bb)]=_0x1940a2,this[_0x51d752(0x210)][_0x51d752(0x129)](_0x1940a2,_0x58ed4c[_0x51d752(0x2fb)]),this[_0x51d752(0x1a9)]=!0x1;}[_0x2c8ec4(0x336)](){const _0x3532cd=_0x2c8ec4,_0x2c9fae=this[_0x3532cd(0x2cd)][_0x3532cd(0x13c)]['subscribeEvent'](()=>{const _0x65f47=_0x3532cd;this[_0x65f47(0x1a9)]=!0x0;}),_0x1448b0=this['_anchor'][_0x3532cd(0x1b0)][_0x3532cd(0x2b9)](()=>{const _0x9c3283=_0x3532cd;this[_0x9c3283(0x278)]&&clearTimeout(this[_0x9c3283(0x278)]),this[_0x9c3283(0x278)]=setTimeout(()=>{const _0x544eb2=_0x9c3283;this[_0x544eb2(0x1a9)]=!0x1;},0x7d0);});return()=>{const _0x3fac44=_0x3532cd;_0x2c9fae[_0x3fac44(0x182)](),_0x1448b0['unsubscribe']();};}[_0x2c8ec4(0x2e9)](_0x2d860b,_0x484bcd,_0xd0f7f0,_0x17dbc5){const _0x3696d7=_0x2c8ec4,_0x4b7ade=new _0x268d3b[(_0x3696d7(0x2ce))](_0x2d860b)['setAlpha'](0.2)[_0x3696d7(0x161)](),_0xe7bc5b=new _0xb8fc77[(_0x3696d7(0x11c))](_0x304560+_0x268d3b[_0x3696d7(0x204)]['generateRandomId'](_0x210f90),{'pointsGroup':_0x484bcd,'fill':_0x4b7ade||_0xb8fc77[_0x3696d7(0x172)](_0x268d3b[_0x3696d7(0x1af)][_0x3696d7(0x27c)],0.2),'left':_0xd0f7f0,'top':_0x17dbc5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3696d7(0x34f)]['push'](_0xe7bc5b),this[_0x3696d7(0x210)]['addObject'](_0xe7bc5b,_0x58ed4c[_0x3696d7(0x2fb)]);}[_0x2c8ec4(0x2d7)](_0x128c24,_0x2cbac4,_0x46a555,_0x48678e){const _0xcfd70c=_0x2c8ec4,_0x8309ef=new _0x268d3b['ColorKit'](_0x128c24)[_0xcfd70c(0x1ef)](0.2)['toRgbString'](),_0x3693b7=new _0xb8fc77[(_0xcfd70c(0x11c))](_0x51a22e+_0x268d3b['Tools'][_0xcfd70c(0x228)](_0x210f90),{'pointsGroup':_0x2cbac4,'fill':_0x8309ef||_0xb8fc77['getColor'](_0x268d3b[_0xcfd70c(0x1af)]['black'],0.2),'left':_0x46a555,'top':_0x48678e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xcfd70c(0x34f)][_0xcfd70c(0x243)](_0x3693b7),this[_0xcfd70c(0x210)][_0xcfd70c(0x129)](_0x3693b7,_0x58ed4c[_0xcfd70c(0x2fb)]);}[_0x2c8ec4(0x1e7)](_0x147057){const _0x2899c6=_0x147057[0x0],_0x20f81c=_0x2899c6[0x0],_0x229c84=_0x2899c6[0x2],{x:_0x27ceb3,y:_0x375777}=_0x20f81c,{x:_0x3aa847,y:_0x292d99}=_0x229c84;return{'left':_0x27ceb3,'top':_0x375777,'width':_0x3aa847-_0x27ceb3,'height':_0x292d99-_0x375777};}[_0x2c8ec4(0x38f)](){const _0x367742=_0x2c8ec4,{scaleX:_0x2f7444,scaleY:_0x528a32}=this[_0x367742(0x210)][_0x367742(0x2d8)]();return Math[_0x367742(0x1e0)](_0x2f7444,_0x528a32);}}var _0x48cb84=Object['getOwnPropertyDescriptor'],_0x1d6364=(_0x3168b1,_0x45cf50,_0x2d43e5,_0x4e074b)=>{const _0x4b0264=_0x2c8ec4;for(var _0x444c6e=_0x4e074b>0x1?void 0x0:_0x4e074b?_0x48cb84(_0x45cf50,_0x2d43e5):_0x45cf50,_0xd38eba=_0x3168b1[_0x4b0264(0x1f8)]-0x1,_0x10462b;_0xd38eba>=0x0;_0xd38eba--)(_0x10462b=_0x3168b1[_0xd38eba])&&(_0x444c6e=_0x10462b(_0x444c6e)||_0x444c6e);return _0x444c6e;},_0x2d3a71=(_0x262830,_0x1e8baa)=>(_0x4d959e,_0x1c17f7)=>_0x1e8baa(_0x4d959e,_0x1c17f7,_0x262830);let _0x269418=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x120141,_0x5343ec,_0x104896,_0x106d58,_0xdf8175){const _0x215729=_0x2c8ec4;super(),_0x42374b(this,_0x215729(0x1d3),[]),_0x42374b(this,_0x215729(0x16a),[]),(this['_context']=_0x120141,this[_0x215729(0x32c)]=_0x5343ec,this[_0x215729(0x271)]=_0x104896,this[_0x215729(0x21d)]=_0x106d58,this[_0x215729(0x22b)]=_0xdf8175,this['_init']());}['_init'](){const _0x3c6a87=_0x2c8ec4,_0x157d2b=this['_context']['unitId'],_0x17bd9a=this[_0x3c6a87(0x32c)];this[_0x3c6a87(0x345)](_0x399a7e['combineLatest']([this[_0x3c6a87(0x271)][_0x3c6a87(0x196)](_0x157d2b),this[_0x3c6a87(0x22b)][_0x3c6a87(0x289)]])[_0x3c6a87(0x25d)](_0x30c278['map'](([_0xd39a41,_0x4d1aa8])=>({'skeleton':_0x17bd9a[_0x3c6a87(0x234)](),'cursors':[..._0xd39a41[_0x3c6a87(0x3a8)]()][_0x3c6a87(0x38e)](_0x48cc4d=>({..._0x48cc4d,'color':this['_themeService'][_0x3c6a87(0x143)](_0x48cc4d[_0x3c6a87(0x156)])}))})))[_0x3c6a87(0x36b)](_0x17ca04=>{const _0xa0043c=_0x3c6a87;if(this[_0xa0043c(0x183)](),_0x17ca04){const {skeleton:_0x48af9d,cursors:_0x3c2fda}=_0x17ca04;this[_0xa0043c(0x2da)](_0x48af9d,_0x3c2fda);}})),this[_0x3c6a87(0x2a7)](),this[_0x3c6a87(0x148)]();}[_0x2c8ec4(0x2da)](_0x14c205,_0x2dacf7){const _0x3a2bdb=_0x2c8ec4,{scene:_0x47e88b,mainComponent:_0x19e558}=this[_0x3a2bdb(0x120)],_0x1ed638=_0x2dacf7['map'](_0x88369f=>new _0x2ec862(_0x88369f,_0x47e88b,_0x14c205,_0x19e558));this[_0x3a2bdb(0x1d3)]=_0x1ed638,this[_0x3a2bdb(0x16a)]=_0x2dacf7;}[_0x2c8ec4(0x350)](){const _0x29a19e=_0x2c8ec4;this[_0x29a19e(0x183)]();const {scene:_0xb2d703,mainComponent:_0x4f507a}=this[_0x29a19e(0x120)],_0x22acf6=this['_docSkeletonManagerService'][_0x29a19e(0x234)](),_0x2f072b=this[_0x29a19e(0x16a)]['map'](_0x40d8ed=>new _0x2ec862(_0x40d8ed,_0xb2d703,_0x22acf6,_0x4f507a));this[_0x29a19e(0x1d3)]=_0x2f072b;}['_removeCollabCursors'](){const _0x36735e=_0x2c8ec4;this[_0x36735e(0x1d3)][_0x36735e(0x31d)](_0x371b4b=>_0x371b4b[_0x36735e(0x37b)]()),this[_0x36735e(0x1d3)]=[];}[_0x2c8ec4(0x148)](){const _0x1ebac4=_0x2c8ec4,_0x4ed7df=[_0x58ed4c[_0x1ebac4(0x233)]['id']];this[_0x1ebac4(0x345)](this[_0x1ebac4(0x21d)]['onCommandExecuted'](_0x4ce7b7=>{const _0x30c3b8=_0x1ebac4;_0x4ed7df[_0x30c3b8(0x11f)](_0x4ce7b7['id'])&&_0x4ce7b7[_0x30c3b8(0x126)][_0x30c3b8(0x2e2)]===this[_0x30c3b8(0x120)][_0x30c3b8(0x2e2)]&&this[_0x30c3b8(0x350)]();}));}[_0x2c8ec4(0x2a7)](){const _0x3be7e2=_0x2c8ec4;this['disposeWithMe'](_0x268d3b[_0x3be7e2(0x1b2)](this['_context'][_0x3be7e2(0x381)][_0x3be7e2(0x246)])['pipe'](_0x30c278['filter'](_0x752521=>_0x752521['type']===_0xb8fc77[_0x3be7e2(0x23b)][_0x3be7e2(0x1bc)]),_0x30c278[_0x3be7e2(0x15e)](0x10))['subscribe'](()=>{const _0x2c5e11=_0x3be7e2;this[_0x2c5e11(0x350)]();}));}};_0x269418=_0x1d6364([_0x2d3a71(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x688e2['DocSkeletonManagerService'])),_0x2d3a71(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2e97d2)),_0x2d3a71(0x3,_0x268d3b[_0x2c8ec4(0x22a)]),_0x2d3a71(0x4,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b['ThemeService']))],_0x269418);const _0x3448fd=0x1,_0x1b9267=1.5;class _0x9f5a04 extends _0xb8fc77[_0x2c8ec4(0x2a4)]{constructor(_0xfd2998,_0x582b59){const _0x14410b=_0x2c8ec4;super(_0xfd2998,_0x582b59),_0x42374b(this,_0x14410b(0x248)),_0x42374b(this,_0x14410b(0x249),!0x1),_0x42374b(this,'_range'),_0x42374b(this,_0x14410b(0x11d),''),_0x42374b(this,_0x14410b(0x380),_0x14410b(0x1ee)),_0x42374b(this,'_backgroundColor'),(_0x582b59&&this[_0x14410b(0x375)](_0x582b59),this['onPointerEnter$'][_0x14410b(0x2b9)](()=>this[_0x14410b(0x375)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x14410b(0x375)]({'hovered':!0x1})));}[_0x2c8ec4(0x375)](_0x72dde8){const _0x304bf5=_0x2c8ec4;var _0x279f3a,_0x39e1b8,_0x389c1a,_0x428d05,_0x57a395,_0x4410d8;this[_0x304bf5(0x248)]=(_0x279f3a=_0x72dde8[_0x304bf5(0x156)])!=null?_0x279f3a:this[_0x304bf5(0x248)],this['_hovered']=(_0x39e1b8=_0x72dde8['hovered'])!=null?_0x39e1b8:this[_0x304bf5(0x249)],this[_0x304bf5(0x3ae)]=(_0x389c1a=_0x72dde8[_0x304bf5(0x168)])!=null?_0x389c1a:this[_0x304bf5(0x3ae)],this[_0x304bf5(0x11d)]=(_0x428d05=_0x72dde8[_0x304bf5(0x34a)])!=null?_0x428d05:this[_0x304bf5(0x11d)],this[_0x304bf5(0x380)]=(_0x57a395=_0x72dde8[_0x304bf5(0x33c)])!=null?_0x57a395:this['_labelPosition'],this['_backgroundColor']=(_0x4410d8=_0x72dde8['backgroundColor'])!=null?_0x4410d8:this[_0x304bf5(0x209)],this['transformByState']({'width':_0x72dde8[_0x304bf5(0x1d2)],'height':_0x72dde8[_0x304bf5(0x15a)]});}['onMouseMove'](_0xe8c0e8){const _0x782211=_0x2c8ec4,{row:_0x496ac5,column:_0x4f9b65}=_0xe8c0e8;if(_0x496ac5>=this['_range']['startRow']&&_0x496ac5<=this[_0x782211(0x3ae)]['endRow']&&_0x4f9b65>=this[_0x782211(0x3ae)]['startColumn']&&_0x4f9b65<=this[_0x782211(0x3ae)][_0x782211(0x2d1)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x782211(0x375)]({'hovered':!0x1});}['triggerDblclick'](_0x597e57){return!0x1;}[_0x2c8ec4(0x355)](_0x1169b1){const _0x37fbfe=_0x2c8ec4;_0xb8fc77[_0x37fbfe(0x284)]['drawWith'](_0x1169b1,{'width':this[_0x37fbfe(0x1d2)],'height':this[_0x37fbfe(0x15a)],'strokeWidth':_0x1b9267,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x37fbfe(0x209)]}),this[_0x37fbfe(0x249)]&&(_0x1169b1[_0x37fbfe(0x378)](),_0x1169b1['transform'](0x1,0x0,0x0,0x1,this[_0x37fbfe(0x1d2)],this[_0x37fbfe(0x380)]===_0x37fbfe(0x319)?0x0:-0x14),_0x1ad70a[_0x37fbfe(0x1cc)](_0x1169b1,{'text':this[_0x37fbfe(0x11d)],'color':this[_0x37fbfe(0x248)]}),_0x1169b1[_0x37fbfe(0x29e)]());}}var _0x37c1c8=Object[_0x2c8ec4(0x146)],_0x4a41db=(_0x5a0e88,_0x15125a,_0x201055,_0x1631df)=>{const _0x2ded60=_0x2c8ec4;for(var _0x1dbc9a=_0x1631df>0x1?void 0x0:_0x1631df?_0x37c1c8(_0x15125a,_0x201055):_0x15125a,_0x40275b=_0x5a0e88[_0x2ded60(0x1f8)]-0x1,_0x480d51;_0x40275b>=0x0;_0x40275b--)(_0x480d51=_0x5a0e88[_0x40275b])&&(_0x1dbc9a=_0x480d51(_0x1dbc9a)||_0x1dbc9a);return _0x1dbc9a;},_0x25b606=(_0x48329a,_0xb5a4f4)=>(_0x569ed3,_0xc26c7a)=>_0xb5a4f4(_0x569ed3,_0xc26c7a,_0x48329a);const _0x4ee533=0x1389;let _0x4f4f9f=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x2fd1ff,_0x455103,_0x5022b2,_0x583f21){const _0x1a4221=_0x2c8ec4;super(),_0x42374b(this,_0x1a4221(0x16a),new Set()),_0x42374b(this,_0x1a4221(0x236),null),(this[_0x1a4221(0x120)]=_0x2fd1ff,this[_0x1a4221(0x1d9)]=_0x455103,this[_0x1a4221(0x271)]=_0x5022b2,this[_0x1a4221(0x22b)]=_0x583f21,this[_0x1a4221(0x216)]());}[_0x2c8ec4(0x216)](){const _0x95a31f=_0x2c8ec4;this[_0x95a31f(0x1d9)][_0x95a31f(0x149)][_0x95a31f(0x25d)](_0x30c278[_0x95a31f(0x365)](this[_0x95a31f(0x2e0)]),_0x30c278[_0x95a31f(0x22f)](_0x5a8e22=>{const _0x2b681f=_0x95a31f;if(_0x5a8e22){const _0x57167d=_0x5a8e22[_0x2b681f(0x394)];return _0x399a7e[_0x2b681f(0x212)](this[_0x2b681f(0x271)][_0x2b681f(0x196)](this['_context'][_0x2b681f(0x2e2)]),this[_0x2b681f(0x22b)][_0x2b681f(0x289)])[_0x2b681f(0x25d)](_0x30c278[_0x2b681f(0x19d)](([_0xa22f58,_0x102761])=>{const _0x556928=_0x2b681f,_0x23d809=new Map();return _0xa22f58[_0x556928(0x31d)]((_0x5a1fce,_0x39589f)=>{const _0x3bbd9f=_0x556928;if(_0x5a1fce['sheetID']===_0x57167d){const _0xe446e7={..._0x5a1fce};_0xe446e7[_0x3bbd9f(0x156)]=this['_themeService'][_0x3bbd9f(0x143)](_0x5a1fce['color']),_0x23d809[_0x3bbd9f(0x3a4)](_0x39589f,_0xe446e7);}}),{'skeleton':_0x5a8e22,'cursors':_0x23d809};}));}return _0x399a7e['of']({'skeleton':null,'cursors':new Map()});}))[_0x95a31f(0x36b)](({skeleton:_0x4fd81c,cursors:_0x3eed40})=>{const _0xc21b84=_0x95a31f;this[_0xc21b84(0x183)](),_0x4fd81c&&this[_0xc21b84(0x2da)](_0x4fd81c,_0x3eed40);}),this[_0x95a31f(0x1d9)][_0x95a31f(0x149)][_0x95a31f(0x36b)](_0x39ab8d=>{const _0x81e5a=_0x95a31f;if(_0x39ab8d==null)return;const {skeleton:_0x548d0a}=_0x39ab8d,{scene:_0x1d36a3}=this[_0x81e5a(0x120)];_0x1d36a3[_0x81e5a(0x2ac)][_0x81e5a(0x2b9)](_0x268d3b[_0x81e5a(0x1b7)](_0x4d3ac0=>{const _0x544dff=_0x81e5a;var _0x3b9fb6,_0x55a17c;const {offsetX:_0x247f96,offsetY:_0x2095da}=_0x4d3ac0,{x:_0x48f967,y:_0x30533f}=_0x1d36a3[_0x544dff(0x2af)](_0xb8fc77[_0x544dff(0x1a0)][_0x544dff(0x1f2)]([_0x247f96,_0x2095da])),{scaleX:_0x5d25f1,scaleY:_0x1e8336}=_0x1d36a3[_0x544dff(0x2d8)](),_0xd63e6=_0x1d36a3[_0x544dff(0x2fa)](_0xb8fc77[_0x544dff(0x293)][_0x544dff(0x23c)]),_0xfbc473=_0x1d36a3[_0x544dff(0x180)](_0xb8fc77['Vector2'][_0x544dff(0x1f2)]([_0x48f967,_0x30533f]),_0xd63e6),_0x320c8d=_0x548d0a[_0x544dff(0x286)](_0x247f96,_0x2095da,_0x5d25f1,_0x1e8336,_0xfbc473);((_0x3b9fb6=this[_0x544dff(0x236)])==null?void 0x0:_0x3b9fb6['column'])===_0x320c8d['column']&&((_0x55a17c=this[_0x544dff(0x236)])==null?void 0x0:_0x55a17c[_0x544dff(0x1df)])===_0x320c8d['row']||this[_0x544dff(0x16a)][_0x544dff(0x31d)](_0x938b50=>{const _0x4f3b2c=_0x544dff;_0x938b50[_0x4f3b2c(0x151)](_0x320c8d);});},0x64));});}[_0x2c8ec4(0x2da)](_0x256420,_0x5970f6){const _0x19f2bb=_0x2c8ec4;var _0x7e4af3;const _0x52f7db=(_0x7e4af3=this[_0x19f2bb(0x1d9)][_0x19f2bb(0x27f)]())==null?void 0x0:_0x7e4af3['skeleton'];if(!_0x52f7db)return;const _0x271aa8=this[_0x19f2bb(0x18f)]();if(!_0x271aa8)return;this[_0x19f2bb(0x16a)]['forEach'](_0x3f9583=>{const _0x4e6879=_0x19f2bb;_0x3f9583[_0x4e6879(0x2dd)]();});const {scene:_0x2cf4d6}=_0x271aa8,_0x2c1828=_0x3e08e0(Array[_0x19f2bb(0x357)](_0x5970f6[_0x19f2bb(0x3a8)]()))[_0x19f2bb(0x19d)](_0x4db418=>{const _0x283027=_0x19f2bb,{color:_0x125b8d,range:_0x583c18,name:_0x26dad6,selection:_0x181757,sheetID:_0x57b783}=_0x4db418,{startColumn:_0x4e5e96,startRow:_0x354a7b,endColumn:_0x42f2ee,endRow:_0x3da986}=_0x583c18,_0x4c1312=_0x41fdc4['getCoordByCell'](_0x354a7b,_0x4e5e96,_0x2cf4d6,_0x52f7db),_0x4740ba=_0x41fdc4[_0x283027(0x32f)](_0x3da986,_0x42f2ee,_0x2cf4d6,_0x52f7db),{columnHeaderHeightAndMarginTop:_0x18c1ea}=_0x52f7db,{startX:_0x46390b,startY:_0x562c21}=_0x4c1312,{endX:_0x4136c7,endY:_0x5cb457}=_0x4740ba,_0x279144=_0x4136c7-_0x46390b,_0x53498d=_0x5cb457-_0x562c21,_0x4349ba={'labelPosition':_0x562c21-_0x18c1ea>=_0x684608?_0x283027(0x1ee):_0x283027(0x319),'sheetID':_0x57b783,'range':_0x583c18,'color':_0x125b8d,'name':_0x26dad6,'selection':_0x181757,'left':_0x46390b,'top':_0x562c21,'width':_0x279144,'height':_0x53498d,'evented':!0x1,'zIndex':_0x4ee533};return new _0x9f5a04(_0x26dad6,_0x4349ba);});_0x2cf4d6[_0x19f2bb(0x26c)](_0x2c1828,_0x3448fd),this[_0x19f2bb(0x16a)]=new Set(_0x2c1828);}[_0x2c8ec4(0x183)](){const _0x472913=_0x2c8ec4;var _0x512c0e;(_0x512c0e=this[_0x472913(0x16a)])==null||_0x512c0e[_0x472913(0x31d)](_0x19d490=>_0x19d490[_0x472913(0x37b)]());}[_0x2c8ec4(0x18f)](){const _0xf9543=_0x2c8ec4;return _0x41fdc4[_0xf9543(0x367)](this[_0xf9543(0x120)][_0xf9543(0x200)],this[_0xf9543(0x120)]);}};_0x4f4f9f=_0x4a41db([_0x25b606(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x41fdc4[_0x2c8ec4(0x385)])),_0x25b606(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2e97d2)),_0x25b606(0x3,_0x268d3b['Inject'](_0x268d3b[_0x2c8ec4(0x34b)]))],_0x4f4f9f);function _0x3e08e0(_0x4c48bc){const _0x527fb5=_0x2c8ec4,_0xc3bbb0=new Map();return _0x4c48bc[_0x527fb5(0x31d)](_0x4f9ef4=>{const _0x1963be=_0x527fb5;if(_0xc3bbb0['has'](_0x4f9ef4['selection'])){const _0x4d3d2e=_0xc3bbb0['get'](_0x4f9ef4[_0x1963be(0x38d)]);_0x4d3d2e[_0x1963be(0x34a)]+=',\x20'+_0x4f9ef4[_0x1963be(0x34a)];}else _0xc3bbb0[_0x1963be(0x3a4)](_0x4f9ef4[_0x1963be(0x38d)],_0x4f9ef4);}),Array['from'](_0xc3bbb0[_0x527fb5(0x3a8)]());}var _0x4a5033=function(){const _0x24e97b=_0x2c8ec4;return _0x4a5033=Object[_0x24e97b(0x362)]||function(_0x36c114){const _0x3a1b17=_0x24e97b;for(var _0x331e3b,_0x2f03bf=0x1,_0x4fed76=arguments[_0x3a1b17(0x1f8)];_0x2f03bf<_0x4fed76;_0x2f03bf++){_0x331e3b=arguments[_0x2f03bf];for(var _0x55e80a in _0x331e3b)Object[_0x3a1b17(0x2ed)][_0x3a1b17(0x2b4)][_0x3a1b17(0x2ea)](_0x331e3b,_0x55e80a)&&(_0x36c114[_0x55e80a]=_0x331e3b[_0x55e80a]);}return _0x36c114;},_0x4a5033['apply'](this,arguments);},_0x4f7116=function(_0x3eb99b,_0x2af8a8){const _0x26274d=_0x2c8ec4;var _0x175ba1={};for(var _0x5c16e1 in _0x3eb99b)Object[_0x26274d(0x2ed)][_0x26274d(0x2b4)][_0x26274d(0x2ea)](_0x3eb99b,_0x5c16e1)&&_0x2af8a8['indexOf'](_0x5c16e1)<0x0&&(_0x175ba1[_0x5c16e1]=_0x3eb99b[_0x5c16e1]);if(_0x3eb99b!=null&&typeof Object[_0x26274d(0x3ab)]==_0x26274d(0x1ca)){for(var _0x1af89b=0x0,_0x5c16e1=Object['getOwnPropertySymbols'](_0x3eb99b);_0x1af89b<_0x5c16e1['length'];_0x1af89b++)_0x2af8a8[_0x26274d(0x3a0)](_0x5c16e1[_0x1af89b])<0x0&&Object[_0x26274d(0x2ed)][_0x26274d(0x2df)]['call'](_0x3eb99b,_0x5c16e1[_0x1af89b])&&(_0x175ba1[_0x5c16e1[_0x1af89b]]=_0x3eb99b[_0x5c16e1[_0x1af89b]]);}return _0x175ba1;},_0x44563d=_0x4964a2[_0x2c8ec4(0x16b)](function(_0x48515d,_0x548c15){const _0xf75da=_0x2c8ec4;var _0xef9209=_0x48515d[_0xf75da(0x217)],_0xff2f1c=_0x48515d['id'],_0x2f1306=_0x48515d[_0xf75da(0x219)],_0x248acf=_0x48515d[_0xf75da(0x368)],_0x3afd02=_0x4f7116(_0x48515d,[_0xf75da(0x217),'id','className',_0xf75da(0x368)]),_0x87dca9='univerjs-icon\x20univerjs-icon-'[_0xf75da(0x1ae)](_0xff2f1c,'\x20')['concat'](_0x2f1306||'')[_0xf75da(0x38c)](),_0xa440b9=_0x4964a2[_0xf75da(0x395)]('_'[_0xf75da(0x1ae)](_0x2924a8()));return _0x134d6d(_0xef9209,''['concat'](_0xff2f1c),{'defIds':_0xef9209[_0xf75da(0x1b8)],'idSuffix':_0xa440b9['current']},_0x4a5033({'ref':_0x548c15,'className':_0x87dca9},_0x3afd02),_0x248acf);});function _0x134d6d(_0x55033d,_0x312688,_0x12ee53,_0x3c005f,_0xefca3d){const _0x4a40b7=_0x2c8ec4;return _0x4964a2[_0x4a40b7(0x1b9)](_0x55033d[_0x4a40b7(0x18a)],_0x4a5033(_0x4a5033({'key':_0x312688},_0x2236d9(_0x55033d,_0x12ee53,_0xefca3d)),_0x3c005f),(_0x8cba41(_0x55033d,_0x12ee53)['children']||[])[_0x4a40b7(0x19d)](function(_0x172072,_0x44eb35){const _0x39b14a=_0x4a40b7;return _0x134d6d(_0x172072,''[_0x39b14a(0x1ae)](_0x312688,'-')[_0x39b14a(0x1ae)](_0x55033d[_0x39b14a(0x18a)],'-')['concat'](_0x44eb35),_0x12ee53,void 0x0,_0xefca3d);}));}function _0x2236d9(_0x22d367,_0x31196c,_0x35d5ab){const _0x1be58a=_0x2c8ec4;var _0x1c8114=_0x4a5033({},_0x22d367[_0x1be58a(0x1e5)]);_0x35d5ab!=null&&_0x35d5ab[_0x1be58a(0x321)]&&_0x1c8114['fill']===_0x1be58a(0x321)&&(_0x1c8114[_0x1be58a(0x14a)]=_0x35d5ab['colorChannel1']),_0x22d367['tag']===_0x1be58a(0x17e)&&_0x1c8114['id']&&(_0x1c8114['id']=_0x1c8114['id']+_0x31196c[_0x1be58a(0x27b)]),Object[_0x1be58a(0x25f)](_0x1c8114)['forEach'](function(_0x3b8341){const _0x1f8d88=_0x1be58a;var _0x25a99d=_0x3b8341[0x0],_0x5c6526=_0x3b8341[0x1];_0x25a99d===_0x1f8d88(0x17e)&&typeof _0x5c6526==_0x1f8d88(0x124)&&(_0x1c8114[_0x25a99d]=_0x5c6526['replace'](/url\(#(.*)\)/,_0x1f8d88(0x205)[_0x1f8d88(0x1ae)](_0x31196c['idSuffix'],')')));});var _0x1ad4b2=_0x31196c[_0x1be58a(0x1b8)];return!_0x1ad4b2||_0x1ad4b2[_0x1be58a(0x1f8)]===0x0||(_0x22d367[_0x1be58a(0x18a)]===_0x1be58a(0x2ae)&&_0x1c8114[_0x1be58a(0x2cc)]&&(_0x1c8114[_0x1be58a(0x2cc)]=_0x1c8114[_0x1be58a(0x2cc)]+_0x31196c[_0x1be58a(0x27b)]),Object['entries'](_0x1c8114)[_0x1be58a(0x31d)](function(_0x33836e){const _0x173118=_0x1be58a;var _0x15ce43=_0x33836e[0x0],_0x202863=_0x33836e[0x1];typeof _0x202863==_0x173118(0x124)&&(_0x1c8114[_0x15ce43]=_0x202863[_0x173118(0x118)](/url\(#(.*)\)/,_0x173118(0x205)[_0x173118(0x1ae)](_0x31196c[_0x173118(0x27b)],')')));})),_0x1c8114;}function _0x8cba41(_0x3aa41e,_0x35811f){const _0x57d58e=_0x2c8ec4;var _0xc632bb,_0x5d3c5f=_0x35811f[_0x57d58e(0x1b8)];return!_0x5d3c5f||_0x5d3c5f[_0x57d58e(0x1f8)]===0x0?_0x3aa41e:_0x3aa41e['tag']==='defs'&&(!((_0xc632bb=_0x3aa41e[_0x57d58e(0x2bd)])===null||_0xc632bb===void 0x0)&&_0xc632bb[_0x57d58e(0x1f8)])?_0x4a5033(_0x4a5033({},_0x3aa41e),{'children':_0x3aa41e[_0x57d58e(0x2bd)][_0x57d58e(0x19d)](function(_0x42595c){const _0x388c19=_0x57d58e;return typeof _0x42595c[_0x388c19(0x1e5)]['id']==_0x388c19(0x124)&&_0x5d3c5f&&_0x5d3c5f[_0x388c19(0x3a0)](_0x42595c[_0x388c19(0x1e5)]['id'])>-0x1?_0x4a5033(_0x4a5033({},_0x42595c),{'attrs':_0x4a5033(_0x4a5033({},_0x42595c[_0x388c19(0x1e5)]),{'id':_0x42595c[_0x388c19(0x1e5)]['id']+_0x35811f[_0x388c19(0x27b)]})}):_0x42595c;})}):_0x3aa41e;}function _0x2924a8(){const _0x3705ec=_0x2c8ec4;return Math[_0x3705ec(0x3af)]()[_0x3705ec(0x1f0)](0x24)[_0x3705ec(0x123)](0x2,0x8);}_0x44563d[_0x2c8ec4(0x314)]=_0x2c8ec4(0x25a);var _0x23b86d={'tag':'svg','attrs':{'fill':'none','viewBox':_0x2c8ec4(0x1ba),'width':_0x2c8ec4(0x1b6),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x2c8ec4(0x2e4),'attrs':{'stroke':'currentColor','d':_0x2c8ec4(0x302),'strokeLinecap':'round','strokeLinejoin':_0x2c8ec4(0x169),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2c8ec4(0x275),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x2c8ec4(0x2e4),'attrs':{'fill':_0x2c8ec4(0x23e),'d':_0x2c8ec4(0x28e)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x582ba3=_0x4964a2[_0x2c8ec4(0x16b)](function(_0x5b773d,_0x4574d6){const _0x459308=_0x2c8ec4;return _0x4964a2[_0x459308(0x1b9)](_0x44563d,Object[_0x459308(0x362)]({},_0x5b773d,{'id':'off-line-single','ref':_0x4574d6,'icon':_0x23b86d}));});_0x582ba3[_0x2c8ec4(0x314)]='OffLineSingle';var _0x109f87={'tag':_0x2c8ec4(0x379),'attrs':{'fill':_0x2c8ec4(0x211),'viewBox':_0x2c8ec4(0x20d),'width':_0x2c8ec4(0x1b6),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2c8ec4(0x29d)},'children':[{'tag':_0x2c8ec4(0x2e4),'attrs':{'stroke':'currentColor','d':_0x2c8ec4(0x14b),'strokeLinecap':'round','strokeLinejoin':_0x2c8ec4(0x169),'strokeWidth':1.2}}]},{'tag':_0x2c8ec4(0x24d),'attrs':{},'children':[{'tag':_0x2c8ec4(0x275),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2c8ec4(0x2e4),'attrs':{'fill':_0x2c8ec4(0x23e),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x2c8ec4(0x1b1)]},_0x53dcc2=_0x4964a2[_0x2c8ec4(0x16b)](function(_0x2adb89,_0x3fc55f){const _0x2f9184=_0x2c8ec4;return _0x4964a2['createElement'](_0x44563d,Object['assign']({},_0x2adb89,{'id':_0x2f9184(0x390),'ref':_0x3fc55f,'icon':_0x109f87}));});_0x53dcc2[_0x2c8ec4(0x314)]=_0x2c8ec4(0x253);function _0x4ba6bf(_0x3522f8){const _0x156f03=_0x2c8ec4;switch(_0x3522f8){case _0x2eddce['CollaborationStatus'][_0x156f03(0x1d1)]:return _0x156f03(0x334);case _0x2eddce[_0x156f03(0x2aa)][_0x156f03(0x338)]:return _0x156f03(0x3ad);case _0x2eddce[_0x156f03(0x2aa)][_0x156f03(0x1d0)]:return'collabStatus.fetchMiss';case _0x2eddce[_0x156f03(0x2aa)]['NOT_COLLAB']:return _0x156f03(0x30f);case _0x2eddce[_0x156f03(0x2aa)][_0x156f03(0x1c6)]:case _0x2eddce[_0x156f03(0x2aa)]['AWAITING_WITH_PENDING']:return _0x156f03(0x12d);case _0x2eddce[_0x156f03(0x2aa)][_0x156f03(0x1ed)]:case _0x2eddce[_0x156f03(0x2aa)]['PENDING']:return _0x156f03(0x218);}}function _0x3891f9(_0x1bd2d7){const _0x1badf1=_0x2c8ec4,{status$:_0x1a208d}=_0x1bd2d7,_0x248ae5=_0x29ec39[_0x1badf1(0x2b2)](_0x1a208d,_0x2eddce[_0x1badf1(0x2aa)][_0x1badf1(0x316)]),_0x105616=_0x29ec39[_0x1badf1(0x384)](_0x268d3b[_0x1badf1(0x322)]),_0x426a52=_0x29ec39[_0x1badf1(0x384)](_0x2eddce[_0x1badf1(0x39c)]),_0x1f9e3d=_0x248ae5!==_0x2eddce['CollaborationStatus']['OFFLINE'],_0x2a46c8=_0x105616['t'](_0x4ba6bf(_0x248ae5)),_0x14480e=_0x1f9e3d?_0xdd3140['jsx'](_0x53dcc2,{}):_0xdd3140[_0x1badf1(0x11e)](_0x582ba3,{}),_0x143dde=_0x4964a2['useCallback'](()=>{const _0x22355b=_0x1badf1;_0x1f9e3d||_0x426a52[_0x22355b(0x342)]();},[_0x1f9e3d,_0x426a52]);function _0x4a808(){const _0x2b2932=_0x1badf1;return _0xdd3140[_0x2b2932(0x31f)](_0x2b2932(0x201),{'className':_0x2b2932(0x1d4),'onClick':_0x143dde,'children':[_0xdd3140['jsx'](_0x2b2932(0x201),{'className':_0x5333e1[_0x2b2932(0x127)](_0x2b2932(0x252),{'univer-text-green-500':_0x1f9e3d,'univer-text-red-500':!_0x1f9e3d}),'children':_0x14480e}),_0xdd3140[_0x2b2932(0x11e)](_0x2b2932(0x201),{'className':_0x2b2932(0x347),'children':_0x2a46c8})]});}return _0x1f9e3d?_0x4a808():_0xdd3140[_0x1badf1(0x11e)](_0x5333e1['Tooltip'],{'title':_0x105616['t'](_0x1badf1(0x20b)),'children':_0x4a808()});}var _0x37cd65=Object[_0x2c8ec4(0x146)],_0x4d569e=(_0x2779dd,_0x2989bd,_0x57edb1,_0x3165fc)=>{const _0xac1926=_0x2c8ec4;for(var _0x47ab06=_0x3165fc>0x1?void 0x0:_0x3165fc?_0x37cd65(_0x2989bd,_0x57edb1):_0x2989bd,_0x40d2b6=_0x2779dd[_0xac1926(0x1f8)]-0x1,_0x2d53e9;_0x40d2b6>=0x0;_0x40d2b6--)(_0x2d53e9=_0x2779dd[_0x40d2b6])&&(_0x47ab06=_0x2d53e9(_0x47ab06)||_0x47ab06);return _0x47ab06;},_0x99ec82=(_0x5bf246,_0x2d3962)=>(_0x31e702,_0x1f2aac)=>_0x2d3962(_0x31e702,_0x1f2aac,_0x5bf246);_0x1ebb4a[_0x2c8ec4(0x2bf)]=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x2e883a,_0x5d53a9,_0x463946,_0x2b0faf){const _0x2d5c05=_0x2c8ec4;super(),_0x42374b(this,'_status$',new _0x399a7e[(_0x2d5c05(0x33a))](_0x2eddce[_0x2d5c05(0x2aa)][_0x2d5c05(0x316)])),(this[_0x2d5c05(0x2f1)]=_0x2e883a,this[_0x2d5c05(0x2ab)]=_0x5d53a9,this[_0x2d5c05(0x285)]=_0x463946,this[_0x2d5c05(0x356)]=_0x2b0faf,this[_0x2d5c05(0x38b)](),this[_0x2d5c05(0x1ad)]());}[_0x2c8ec4(0x1ad)](){const _0x2a5a8b=_0x2c8ec4;this[_0x2a5a8b(0x345)](this[_0x2a5a8b(0x2f1)]['focused$'][_0x2a5a8b(0x25d)](_0x399a7e[_0x2a5a8b(0x22f)](()=>{const _0xa4f110=_0x2a5a8b,_0x2503f4=this['_univerInstanceService'][_0xa4f110(0x280)]();return _0x2503f4?this[_0xa4f110(0x285)][_0xa4f110(0x291)](_0x2503f4['getUnitId']()):_0x399a7e['of'](null);}),_0x399a7e[_0x2a5a8b(0x22f)](_0x2b5d14=>_0x2b5d14?_0x2b5d14['status$']:_0x399a7e['of'](_0x2eddce['CollaborationStatus'][_0x2a5a8b(0x316)])))['subscribe'](_0x1a5a18=>{const _0x2b5e7f=_0x2a5a8b;this[_0x2b5e7f(0x364)][_0x2b5e7f(0x2f6)](_0x1a5a18);}));}[_0x2c8ec4(0x38b)](){const _0x36af6a=_0x2c8ec4;this[_0x36af6a(0x345)](this[_0x36af6a(0x356)][_0x36af6a(0x26a)](_0x29ec39[_0x36af6a(0x392)][_0x36af6a(0x30e)],()=>_0x29ec39[_0x36af6a(0x3ac)](_0x286477({'status$':this[_0x36af6a(0x364)][_0x36af6a(0x19a)]()}),this['_injector'])));}},_0x1ebb4a[_0x2c8ec4(0x2bf)]=_0x4d569e([_0x99ec82(0x0,_0x268d3b[_0x2c8ec4(0x2eb)]),_0x99ec82(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x99ec82(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x36f)])),_0x99ec82(0x3,_0x29ec39['IUIPartsService'])],_0x1ebb4a['DesktopCollaborationStatusDisplayController']);function _0x286477(_0x208670){const {status$:_0x2c9706}=_0x208670;return function(){return _0xdd3140['jsx'](_0x3891f9,{'status$':_0x2c9706});};}var _0x45bc39=Object[_0x2c8ec4(0x146)],_0x5f067b=(_0x7c6b86,_0x401673,_0x112ccd,_0x2ec35a)=>{const _0x1107a5=_0x2c8ec4;for(var _0x48c3dd=_0x2ec35a>0x1?void 0x0:_0x2ec35a?_0x45bc39(_0x401673,_0x112ccd):_0x401673,_0x549732=_0x7c6b86[_0x1107a5(0x1f8)]-0x1,_0x347ede;_0x549732>=0x0;_0x549732--)(_0x347ede=_0x7c6b86[_0x549732])&&(_0x48c3dd=_0x347ede(_0x48c3dd)||_0x48c3dd);return _0x48c3dd;},_0x136504=(_0x5dce78,_0x5442ea)=>(_0x361d03,_0x12b5e3)=>_0x5442ea(_0x361d03,_0x12b5e3,_0x5dce78);let _0x17971b=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x3701d0,_0x4d81db,_0x4b88b1,_0x5369cf,_0x21a1da,_0x5a9370){const _0x17fb80=_0x2c8ec4;super(),this[_0x17fb80(0x2bc)]=_0x3701d0,this['_localCacheService']=_0x4d81db,this[_0x17fb80(0x2c2)]=_0x4b88b1,this['_messageService']=_0x5369cf,this[_0x17fb80(0x311)]=_0x21a1da,this['_localeService']=_0x5a9370,this[_0x17fb80(0x18c)](),this[_0x17fb80(0x255)]();}[_0x2c8ec4(0x18c)](){const _0x19fde0=_0x2c8ec4;this['disposeWithMe'](this[_0x19fde0(0x2bc)][_0x19fde0(0x28a)](()=>{const _0x236211=_0x19fde0;if(this[_0x236211(0x1fa)]['saveTaskMap'][_0x236211(0x22e)])return this[_0x236211(0x272)]['t'](_0x236211(0x15d));}));}[_0x2c8ec4(0x255)](){const _0x39f17e=_0x2c8ec4;this[_0x39f17e(0x345)](this[_0x39f17e(0x2c2)][_0x39f17e(0x1a4)][_0x39f17e(0x36b)](_0x20d74e=>{const _0x1f4e5e=_0x39f17e;_0x20d74e['id']===_0x2eddce['CollaborationUIEventId'][_0x1f4e5e(0x328)]&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x29a)],'content':this[_0x1f4e5e(0x272)]['t']('collaboration.single-unit.warning')}),_0x20d74e['id']===_0x2eddce['CollaborationUIEventId'][_0x1f4e5e(0x354)]&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x29a)],'content':this[_0x1f4e5e(0x272)]['t'](_0x1f4e5e(0x273))}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)][_0x1f4e5e(0x371)]&&this[_0x1f4e5e(0x311)][_0x1f4e5e(0x3a3)]({'title':this[_0x1f4e5e(0x272)]['t']('permission.title'),'content':this[_0x1f4e5e(0x272)]['t'](_0x1f4e5e(0x203)),'type':_0x1f4e5e(0x232),'duration':0x0}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)][_0x1f4e5e(0x338)]&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x215)],'content':this['_localeService']['t'](_0x1f4e5e(0x273))+'('+_0x20d74e[_0x1f4e5e(0x1cb)]+')'}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)]['JOIN_ROOM_FAILED']&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x29a)],'content':this[_0x1f4e5e(0x272)]['t'](_0x20d74e[_0x1f4e5e(0x1cb)]||'')}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)][_0x1f4e5e(0x1c0)]&&this[_0x1f4e5e(0x240)][_0x1f4e5e(0x3a3)]({'type':_0x5333e1[_0x1f4e5e(0x2cf)][_0x1f4e5e(0x29a)],'content':this[_0x1f4e5e(0x272)]['t'](_0x1f4e5e(0x300))}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)][_0x1f4e5e(0x2b0)]&&this[_0x1f4e5e(0x240)]['show']({'type':_0x5333e1['MessageType'][_0x1f4e5e(0x215)],'content':this['_localeService']['t']('session.connection-failed')}),_0x20d74e['id']===_0x2eddce[_0x1f4e5e(0x188)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x1f4e5e(0x3a3)]({'type':_0x5333e1['MessageType'][_0x1f4e5e(0x215)],'content':this[_0x1f4e5e(0x272)]['t']('session.collaboration-timeout')});}));}};_0x17971b=_0x5f067b([_0x136504(0x0,_0x29ec39['IBeforeCloseService']),_0x136504(0x1,_0x2eddce[_0x2c8ec4(0x34c)]),_0x136504(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x33d)])),_0x136504(0x3,_0x29ec39[_0x2c8ec4(0x33f)]),_0x136504(0x4,_0x29ec39[_0x2c8ec4(0x207)]),_0x136504(0x5,_0x268d3b['Inject'](_0x268d3b[_0x2c8ec4(0x322)]))],_0x17971b);const _0x483d07='collaboration-client-ui.config',_0x32b909={},_0x60b938=_0x268d3b[_0x2c8ec4(0x39f)](_0x2c8ec4(0x213));var _0x55f25f=Object[_0x2c8ec4(0x146)],_0xad6530=(_0x28900b,_0xd9a873,_0x2091c5,_0x5b9c0f)=>{for(var _0x50b287=_0x5b9c0f>0x1?void 0x0:_0x5b9c0f?_0x55f25f(_0xd9a873,_0x2091c5):_0xd9a873,_0xa24fb4=_0x28900b['length']-0x1,_0x233460;_0xa24fb4>=0x0;_0xa24fb4--)(_0x233460=_0x28900b[_0xa24fb4])&&(_0x50b287=_0x233460(_0x50b287)||_0x50b287);return _0x50b287;},_0x4ddf7d=(_0x1b1f12,_0x3fa41e)=>(_0x108971,_0xe3d86f)=>_0x3fa41e(_0x108971,_0xe3d86f,_0x1b1f12);_0x1ebb4a['CollaborationDataLoaderController']=class extends _0x268d3b[_0x2c8ec4(0x1e2)]{constructor(_0x2c9a29,_0x38c6fc,_0x49fcf8,_0x5b08cc,_0x15fc0e){const _0x56122d=_0x2c8ec4;super(),this[_0x56122d(0x1aa)]=_0x2c9a29,this[_0x56122d(0x2b6)]=_0x38c6fc,this[_0x56122d(0x21d)]=_0x49fcf8,this[_0x56122d(0x340)]=_0x5b08cc,_0x15fc0e?_0x15fc0e==null||_0x15fc0e[_0x56122d(0x24e)]()[_0x56122d(0x125)](()=>this[_0x56122d(0x216)]()):(this[_0x56122d(0x2b6)][_0x56122d(0x191)](_0x56122d(0x214),_0x56122d(0x230)),this[_0x56122d(0x216)]());}async['_init'](){const _0x4056e0=_0x2c8ec4,_0x1a63b1=this[_0x4056e0(0x1aa)][_0x4056e0(0x24a)]('unit'),_0x32d1d8=this[_0x4056e0(0x1aa)][_0x4056e0(0x24a)](_0x4056e0(0x33e)),_0x1d0cdf=this[_0x4056e0(0x1aa)]['getParam'](_0x4056e0(0x2c7));if(!_0x1a63b1||!_0x32d1d8){this[_0x4056e0(0x2b6)][_0x4056e0(0x191)](_0x4056e0(0x214),_0x4056e0(0x12c));return;}const _0x2c2b92=await this['_dataLoaderService'][_0x4056e0(0x2ee)](_0x1a63b1,Number(_0x32d1d8),_0x1d0cdf);_0x2c2b92&&_0x2c2b92 instanceof _0x268d3b['Workbook']&&this[_0x4056e0(0x13a)](_0x2c2b92);}async[_0x2c8ec4(0x13a)](_0x1b9c93){const _0x2157c4=_0x2c8ec4;await this[_0x2157c4(0x160)](_0x1b9c93),_0x1b9c93[_0x2157c4(0x13d)][_0x2157c4(0x25d)](_0x399a7e[_0x2157c4(0x365)](this[_0x2157c4(0x2e0)]))['subscribe'](_0x593d63=>{_0x593d63&&this['_updateURLWithCurrentState'](_0x593d63);}),this[_0x2157c4(0x1aa)]['urlChange$'][_0x2157c4(0x25d)](_0x399a7e[_0x2157c4(0x365)](this['dispose$']))[_0x2157c4(0x36b)](()=>this['_updateSubUnitFromURLParams'](_0x1b9c93));}['_updateURLWithCurrentState'](_0x263c9d,_0x18345f=!0x1){const _0xd876f9=_0x2c8ec4,_0x4d19bc=this['_urlService'][_0xd876f9(0x24a)](_0xd876f9(0x2c7));_0x263c9d[_0xd876f9(0x30a)]()!==_0x4d19bc&&this['_urlService']['setParam'](_0xd876f9(0x2c7),_0x263c9d[_0xd876f9(0x30a)](),_0x18345f);}async[_0x2c8ec4(0x160)](_0x564ec2){const _0x215fdb=_0x2c8ec4;var _0x41ee25;const _0x23b286=this[_0x215fdb(0x1aa)][_0x215fdb(0x24a)](_0x215fdb(0x2c7));if(!_0x23b286||!_0x564ec2[_0x215fdb(0x309)](_0x23b286)){const _0x1c324a=_0x564ec2[_0x215fdb(0x1d7)]()[0x0],_0x5a0bdf=_0x564ec2[_0x215fdb(0x309)](_0x1c324a);if(!_0x5a0bdf)return;this[_0x215fdb(0x294)](_0x5a0bdf,!0x0),await this[_0x215fdb(0x21d)][_0x215fdb(0x1ce)](_0x26ad5a[_0x215fdb(0x137)]['id'],{'unitId':_0x564ec2[_0x215fdb(0x14c)](),'subUnitId':_0x1c324a});return;}((_0x41ee25=_0x564ec2[_0x215fdb(0x2be)]())==null?void 0x0:_0x41ee25[_0x215fdb(0x30a)]())!==_0x23b286&&await this[_0x215fdb(0x21d)]['executeCommand'](_0x26ad5a['SetWorksheetActivateCommand']['id'],{'unitId':_0x564ec2['getUnitId'](),'subUnitId':_0x23b286});}},_0x1ebb4a[_0x2c8ec4(0x130)]=_0xad6530([_0x4ddf7d(0x0,_0x60b938),_0x4ddf7d(0x1,_0x268d3b[_0x2c8ec4(0x1d8)]),_0x4ddf7d(0x2,_0x268d3b['ICommandService']),_0x4ddf7d(0x3,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x29c)])),_0x4ddf7d(0x4,_0x268d3b[_0x2c8ec4(0x115)](_0x7ad451[_0x2c8ec4(0x303)]))],_0x1ebb4a['CollaborationDataLoaderController']);var _0x489cd2=Object[_0x2c8ec4(0x146)],_0x1a7118=(_0x399f2d,_0x3d179e,_0x59db9b,_0x502384)=>{const _0x58e4d0=_0x2c8ec4;for(var _0x3395d9=_0x502384>0x1?void 0x0:_0x502384?_0x489cd2(_0x3d179e,_0x59db9b):_0x3d179e,_0x474e7c=_0x399f2d[_0x58e4d0(0x1f8)]-0x1,_0x1891d5;_0x474e7c>=0x0;_0x474e7c--)(_0x1891d5=_0x399f2d[_0x474e7c])&&(_0x3395d9=_0x1891d5(_0x3395d9)||_0x3395d9);return _0x3395d9;},_0x307880=(_0x1d8ce1,_0x4d0c74)=>(_0x537fe3,_0x303e76)=>_0x4d0c74(_0x537fe3,_0x303e76,_0x1d8ce1);let _0x2726a6=class{constructor(_0x162989,_0x582060,_0x37e491){const _0x46f9ae=_0x2c8ec4;this['_injector']=_0x162989,this[_0x46f9ae(0x1ac)]=_0x582060,this['_renderManagerService']=_0x37e491;}[_0x2c8ec4(0x397)](_0x390529){this['_transformUndoRedoStack'](_0x390529),this['_transformPreviousActiveRange'](_0x390529);}[_0x2c8ec4(0x1ff)](_0x5875c0){const _0x2b48b6=_0x2c8ec4,{unitID:_0x5cd389}=_0x5875c0,_0x149413=this['_renderManagerService'][_0x2b48b6(0x2f9)](_0x5cd389)[_0x2b48b6(0x17c)](_0x58ed4c[_0x2b48b6(0x2ad)]),{redoCache:_0x488639}=_0x149413[_0x2b48b6(0x140)]();if(_0x488639[_0x2b48b6(0x1f8)]===0x0)return _0x5875c0;let _0x1c1f6f=_0x268d3b['Tools']['deepClone'](_0x5875c0['mutations'][0x0]);for(let _0x181b50=0x0;_0x181b50<_0x488639[_0x2b48b6(0x1f8)];_0x181b50++){const _0x5285fc={'id':'doc.mutation.rich-text-editing','params':{..._0x488639[_0x181b50]}},_0x38cadd=this[_0x2b48b6(0x1ac)]['transformMutation'](_0x1c1f6f,_0x5285fc,!0x1);if(_0x2ac5d3[_0x2b48b6(0x197)](_0x38cadd))throw _0x38cadd[_0x2b48b6(0x232)];_0x1c1f6f=_0x38cadd[_0x2b48b6(0x30d)];}return{..._0x268d3b[_0x2b48b6(0x204)][_0x2b48b6(0x2e1)](_0x5875c0),'mutations':[_0x1c1f6f]};}[_0x2c8ec4(0x1a8)](_0xe588ba){const _0x34efd9=_0x2c8ec4,{unitID:_0x54d4df}=_0xe588ba,_0x4ff7cb=this[_0x34efd9(0x358)][_0x34efd9(0x2f9)](_0x54d4df)['with'](_0x58ed4c[_0x34efd9(0x2ad)]),{undoCache:_0x1017ae,redoCache:_0x33b18a}=_0x4ff7cb['getUndoRedoMutationParamsCache']();if(_0x1017ae[_0x34efd9(0x1f8)]===0x0||_0x33b18a[_0x34efd9(0x1f8)]===0x0)return;const _0x540669=[],_0x45e730=[];let _0x4b376a=_0x268d3b[_0x34efd9(0x204)][_0x34efd9(0x2e1)](_0xe588ba[_0x34efd9(0x265)][0x0]),_0x41efb4=_0x268d3b[_0x34efd9(0x204)][_0x34efd9(0x2e1)](_0xe588ba['mutations'][0x0]);for(let _0x1331da=_0x1017ae['length']-0x1;_0x1331da>=0x0;_0x1331da--){const _0x137155={'id':_0x34efd9(0x195),'params':{..._0x1017ae[_0x1331da]}},_0x44e05b={'id':_0x34efd9(0x195),'params':{..._0x33b18a[_0x1331da]}},_0x11fd1e=this[_0x34efd9(0x1ac)][_0x34efd9(0x1c7)](_0x4b376a,_0x137155,!0x1),_0x26a38c=this[_0x34efd9(0x1ac)]['transformMutation'](_0x41efb4,_0x44e05b,!0x1);if(_0x2ac5d3[_0x34efd9(0x197)](_0x11fd1e))throw _0x11fd1e[_0x34efd9(0x232)];if(_0x2ac5d3[_0x34efd9(0x197)](_0x26a38c))throw _0x26a38c[_0x34efd9(0x232)];_0x540669[_0x34efd9(0x226)](_0x11fd1e[_0x34efd9(0x154)][_0x34efd9(0x126)]),_0x45e730['unshift'](_0x26a38c['m2Prime'][_0x34efd9(0x126)]),_0x4b376a=_0x11fd1e[_0x34efd9(0x30d)],_0x41efb4=_0x26a38c[_0x34efd9(0x30d)];}_0x4ff7cb[_0x34efd9(0x3b0)]({'undoCache':_0x540669,'redoCache':_0x45e730});}[_0x2c8ec4(0x1ec)](_0xcf0d8e){const _0x20d5fa=_0x2c8ec4,{unitID:_0x130979}=_0xcf0d8e,_0x530b60=this[_0x20d5fa(0x358)][_0x20d5fa(0x2f9)](_0x130979)[_0x20d5fa(0x17c)](_0x58ed4c[_0x20d5fa(0x2ad)]),_0x11303f=_0x530b60[_0x20d5fa(0x35f)]();if(_0x11303f==null)return;const _0x1c1766=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xcf0d8e[_0x20d5fa(0x352)],'actions':null,'textRanges':[_0x11303f]}}],_0x17f03a=this[_0x20d5fa(0x1ac)]['transformMutationsWithChangeset'](_0xcf0d8e,_0x1c1766);if(!_0x2ac5d3[_0x20d5fa(0x256)](_0x17f03a))throw _0x17f03a[_0x20d5fa(0x232)];const _0x55564f=_0x17f03a[_0x20d5fa(0x154)][0x0][_0x20d5fa(0x126)][_0x20d5fa(0x133)];Array['isArray'](_0x55564f)&&_0x55564f['length']&&_0x530b60[_0x20d5fa(0x341)](_0x55564f[0x0]);}};_0x2726a6=_0x1a7118([_0x307880(0x0,_0x268d3b['Inject'](_0x268d3b['Injector'])),_0x307880(0x1,_0x2ac5d3['ITransformService']),_0x307880(0x2,_0xb8fc77[_0x2c8ec4(0x332)])],_0x2726a6);var _0xf83d99=Object[_0x2c8ec4(0x146)],_0x1f7636=(_0x499a3f,_0x48c77a,_0x37ef73,_0x2d741b)=>{const _0x310117=_0x2c8ec4;for(var _0x1809e3=_0x2d741b>0x1?void 0x0:_0x2d741b?_0xf83d99(_0x48c77a,_0x37ef73):_0x48c77a,_0x84d4b2=_0x499a3f[_0x310117(0x1f8)]-0x1,_0xa4e2fc;_0x84d4b2>=0x0;_0x84d4b2--)(_0xa4e2fc=_0x499a3f[_0x84d4b2])&&(_0x1809e3=_0xa4e2fc(_0x1809e3)||_0x1809e3);return _0x1809e3;},_0x226c7f=(_0x17acf0,_0x31c0e7)=>(_0x1db17a,_0x53e5a2)=>_0x31c0e7(_0x1db17a,_0x53e5a2,_0x17acf0);let _0x20b9d9=class{constructor(_0x40b6cd,_0x837dd8,_0xe64f02){const _0x40f346=_0x2c8ec4;this[_0x40f346(0x2ab)]=_0x40b6cd,this[_0x40f346(0x1ac)]=_0x837dd8,this[_0x40f346(0x152)]=_0xe64f02;}[_0x2c8ec4(0x1fd)](_0x59e9f2){this['_transformHistoryAndStateStack'](_0x59e9f2);}[_0x2c8ec4(0x1ff)](_0x2af7d2){const _0x1cf62a=_0x2c8ec4,{unitID:_0x2ad9b2}=_0x2af7d2,{collaboration:_0x10032c}=this[_0x1cf62a(0x152)][_0x1cf62a(0x14e)](_0x2ad9b2);if(_0x10032c['length']===0x0)return _0x2af7d2;let _0x3b1b89=_0x268d3b[_0x1cf62a(0x204)][_0x1cf62a(0x2e1)](_0x2af7d2[_0x1cf62a(0x265)][0x0]);for(let _0x1d6a47=0x0;_0x1d6a47<_0x10032c[_0x1cf62a(0x1f8)];_0x1d6a47++){const _0x50e1f8={'id':_0x1cf62a(0x195),'params':{'unitId':_0x10032c[_0x1d6a47]['unitId'],..._0x10032c[_0x1d6a47][_0x1cf62a(0x23d)]}},_0x3444ef=this['_transformService'][_0x1cf62a(0x1c7)](_0x3b1b89,_0x50e1f8,!0x1);if(_0x2ac5d3['isTransformMutationFailure'](_0x3444ef))throw _0x3444ef[_0x1cf62a(0x232)];_0x3b1b89=_0x3444ef[_0x1cf62a(0x30d)];}return{..._0x268d3b[_0x1cf62a(0x204)][_0x1cf62a(0x2e1)](_0x2af7d2),'mutations':[_0x3b1b89]};}[_0x2c8ec4(0x274)](_0x24df1e){const _0x5d1089=_0x2c8ec4,{unitID:_0x27bfaf}=_0x24df1e,{history:_0xad71e7,collaboration:_0x69d0fa}=this[_0x5d1089(0x152)]['getStateCache'](_0x27bfaf);if(_0xad71e7['length']===0x0&&_0x69d0fa['length']===0x0)return;const _0x3d034b=[],_0x513eb6=[];let _0x13c1a5=_0x268d3b[_0x5d1089(0x204)][_0x5d1089(0x2e1)](_0x24df1e[_0x5d1089(0x265)][0x0]),_0xe0dfe9=_0x268d3b[_0x5d1089(0x204)][_0x5d1089(0x2e1)](_0x24df1e[_0x5d1089(0x265)][0x0]);for(let _0x3d8dde=_0xad71e7[_0x5d1089(0x1f8)]-0x1;_0x3d8dde>=0x0;_0x3d8dde--){const _0x141aad={'id':_0x5d1089(0x195),'params':{'unitId':_0xad71e7[_0x3d8dde][_0x5d1089(0x2e2)],..._0xad71e7[_0x3d8dde]['undoState']}},_0x16d9a2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xad71e7[_0x3d8dde][_0x5d1089(0x2e2)],..._0xad71e7[_0x3d8dde]['redoState']}},_0x190f8a=this['_transformService'][_0x5d1089(0x1c7)](_0x13c1a5,_0x141aad,!0x1),_0xb52e2f=this[_0x5d1089(0x1ac)][_0x5d1089(0x1c7)](_0xe0dfe9,_0x16d9a2,!0x1);if(_0x2ac5d3[_0x5d1089(0x197)](_0x190f8a))throw _0x190f8a[_0x5d1089(0x232)];if(_0x2ac5d3['isTransformMutationFailure'](_0xb52e2f))throw _0xb52e2f[_0x5d1089(0x232)];_0x3d034b['unshift']({..._0xad71e7[_0x3d8dde],'undoState':_0x190f8a[_0x5d1089(0x154)]['params'],'redoState':_0xb52e2f[_0x5d1089(0x154)][_0x5d1089(0x126)]}),_0x13c1a5=_0x190f8a['m1Prime'],_0xe0dfe9=_0xb52e2f[_0x5d1089(0x30d)];}_0x13c1a5=_0x268d3b[_0x5d1089(0x204)][_0x5d1089(0x2e1)](_0x24df1e[_0x5d1089(0x265)][0x0]),_0xe0dfe9=_0x268d3b[_0x5d1089(0x204)]['deepClone'](_0x24df1e[_0x5d1089(0x265)][0x0]);for(let _0x25c550=_0x69d0fa[_0x5d1089(0x1f8)]-0x1;_0x25c550>=0x0;_0x25c550--){const _0x3dd6d4={'id':_0x5d1089(0x195),'params':{'unitId':_0x69d0fa[_0x25c550][_0x5d1089(0x2e2)],..._0x69d0fa[_0x25c550][_0x5d1089(0x32e)]}},_0x34e183={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x69d0fa[_0x25c550]['unitId'],..._0x69d0fa[_0x25c550]['redoState']}},_0x17906a=this[_0x5d1089(0x1ac)]['transformMutation'](_0x13c1a5,_0x3dd6d4,!0x1),_0x4f1cb8=this[_0x5d1089(0x1ac)]['transformMutation'](_0xe0dfe9,_0x34e183,!0x1);if(_0x2ac5d3[_0x5d1089(0x197)](_0x17906a))throw _0x17906a[_0x5d1089(0x232)];if(_0x2ac5d3['isTransformMutationFailure'](_0x4f1cb8))throw _0x4f1cb8['error'];_0x513eb6['unshift']({..._0x69d0fa[_0x25c550],'undoState':_0x17906a[_0x5d1089(0x154)]['params'],'redoState':_0x4f1cb8[_0x5d1089(0x154)][_0x5d1089(0x126)]}),_0x13c1a5=_0x17906a[_0x5d1089(0x30d)],_0xe0dfe9=_0x4f1cb8[_0x5d1089(0x30d)];}this[_0x5d1089(0x152)]['setStateCache'](_0x27bfaf,{'history':_0x3d034b,'collaboration':_0x513eb6});}};_0x20b9d9=_0x1f7636([_0x226c7f(0x0,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x226c7f(0x1,_0x2ac5d3['ITransformService']),_0x226c7f(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x58ed4c['DocStateChangeManagerService']))],_0x20b9d9);var _0xba16ee=Object[_0x2c8ec4(0x146)],_0x4e7ae7=(_0x59317b,_0xfb3ece,_0x153f29,_0x13895a)=>{const _0x1af7b5=_0x2c8ec4;for(var _0x12e303=_0x13895a>0x1?void 0x0:_0x13895a?_0xba16ee(_0xfb3ece,_0x153f29):_0xfb3ece,_0x59f783=_0x59317b[_0x1af7b5(0x1f8)]-0x1,_0x490789;_0x59f783>=0x0;_0x59f783--)(_0x490789=_0x59317b[_0x59f783])&&(_0x12e303=_0x490789(_0x12e303)||_0x12e303);return _0x12e303;},_0x10bb84=(_0x4a8a4b,_0x495636)=>(_0x573c64,_0xe296ad)=>_0x495636(_0x573c64,_0xe296ad,_0x4a8a4b);let _0x43e811=class{constructor(_0x24dbdc,_0x3a752d){const _0x3d112e=_0x2c8ec4;this[_0x3d112e(0x2ab)]=_0x24dbdc,this['_transformService']=_0x3a752d;}[_0x2c8ec4(0x1b4)](_0x24dae5){const _0x277e30=_0x2c8ec4;var _0x5df4dc;const _0x2bf9b7=this[_0x277e30(0x2ab)][_0x277e30(0x36a)](_0x688e2['DocSelectionManagerService']),_0x24a79b=(_0x5df4dc=_0x2bf9b7[_0x277e30(0x307)]())!=null?_0x5df4dc:[];if(_0x24a79b['length']===0x0)return;const _0x2d0ef0=_0x24dae5[_0x277e30(0x352)],_0x45c24b=[{'id':_0x277e30(0x195),'params':{'unitId':_0x2d0ef0,'actions':null,'textRanges':_0x24a79b}}],_0x227697=this[_0x277e30(0x1ac)]['transformMutationsWithChangeset'](_0x24dae5,_0x45c24b);if(!_0x2ac5d3[_0x277e30(0x256)](_0x227697))throw _0x227697['error'];const _0x320c99=_0x227697[_0x277e30(0x154)][0x0][_0x277e30(0x126)][_0x277e30(0x133)];Array[_0x277e30(0x187)](_0x320c99)&&_0x320c99[_0x277e30(0x1f8)]&&_0x2bf9b7[_0x277e30(0x244)](_0x320c99,{'unitId':_0x2d0ef0,'subUnitId':_0x2d0ef0},!0x1);}};_0x43e811=_0x4e7ae7([_0x10bb84(0x0,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x10bb84(0x1,_0x2ac5d3['ITransformService'])],_0x43e811);var _0x516cfb=Object[_0x2c8ec4(0x146)],_0x364353=(_0x1812de,_0xbcfd15,_0x4e614d,_0x83e0d7)=>{const _0x95c083=_0x2c8ec4;for(var _0x533e12=_0x83e0d7>0x1?void 0x0:_0x83e0d7?_0x516cfb(_0xbcfd15,_0x4e614d):_0xbcfd15,_0x404d14=_0x1812de[_0x95c083(0x1f8)]-0x1,_0x3300b2;_0x404d14>=0x0;_0x404d14--)(_0x3300b2=_0x1812de[_0x404d14])&&(_0x533e12=_0x3300b2(_0x533e12)||_0x533e12);return _0x533e12;},_0x2f69b8=(_0x3ee704,_0x81c2da)=>(_0x5dc6dd,_0x437f5b)=>_0x81c2da(_0x5dc6dd,_0x437f5b,_0x3ee704);let _0x225927=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x387be2,_0x3485b0,_0x1f4920,_0x475a42,_0x4072e8,_0x12b396,_0x291925,_0x5de8cc){const _0x523b5b=_0x2c8ec4;super(),_0x42374b(this,_0x523b5b(0x364),new _0x399a7e[(_0x523b5b(0x33a))](_0x2eddce[_0x523b5b(0x2aa)][_0x523b5b(0x316)])),(this[_0x523b5b(0x152)]=_0x387be2,this['_collaborationController']=_0x3485b0,this[_0x523b5b(0x138)]=_0x1f4920,this[_0x523b5b(0x2e5)]=_0x475a42,this['_docTransformSelectionsService']=_0x4072e8,this[_0x523b5b(0x29b)]=_0x12b396,this['_messageService']=_0x291925,this[_0x523b5b(0x272)]=_0x5de8cc,this[_0x523b5b(0x170)]());}[_0x2c8ec4(0x170)](){const _0x50d685=_0x2c8ec4;this[_0x50d685(0x345)](this[_0x50d685(0x285)][_0x50d685(0x1f3)]['subscribe'](_0x328082=>{const _0x5293bb=_0x50d685,_0x528170=this[_0x5293bb(0x152)]['docStateChange$'][_0x5293bb(0x36b)](_0x269882=>{const _0x36fc9c=_0x5293bb;if(_0x269882==null)return;const {unitId:_0x10ab63,redoState:_0x4a3fec,commandId:_0x1411e7}=_0x269882;if(_0x10ab63!==_0x328082[_0x36fc9c(0x352)])return;const _0x12ea17={'id':_0x1411e7,'type':_0x268d3b['CommandType'][_0x36fc9c(0x37e)],'params':{'unitId':_0x10ab63,'actions':_0x4a3fec[_0x36fc9c(0x1e4)],'textRanges':null}};_0x328082[_0x36fc9c(0x327)](_0x12ea17);});if(_0x328082[_0x5293bb(0x345)](_0x528170),_0x328082 instanceof _0x2eddce[_0x5293bb(0x312)]){const _0x2be573={'onTransformIME':_0x2ea269=>this[_0x5293bb(0x138)][_0x5293bb(0x397)](_0x2ea269),'onTransformState':_0x4ec2f1=>this['_docTransformStateCacheService']['transformStateCache'](_0x4ec2f1),'onTransformSelections':_0x5c88b5=>this['_docTransformSelectionsService']['transformSelections'](_0x5c88b5),'onSyncEditingCollabCursor':_0x3bb27d=>this['_docSyncEditingCollabCursorService'][_0x5293bb(0x139)](_0x3bb27d),'onTransformRemoteChangesetByIMECache':_0x3ddb8e=>this[_0x5293bb(0x138)][_0x5293bb(0x1ff)](_0x3ddb8e),'onTransformRemoteChangesetByStateCache':_0x3cccd8=>this[_0x5293bb(0x2e5)][_0x5293bb(0x1ff)](_0x3cccd8)};_0x328082['addHandlerCallback'](_0x2be573);}}));}};_0x225927=_0x364353([_0x2f69b8(0x0,_0x268d3b[_0x2c8ec4(0x1be)](_0x58ed4c[_0x2c8ec4(0x258)])),_0x2f69b8(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x2eddce[_0x2c8ec4(0x36f)])),_0x2f69b8(0x2,_0x268d3b['Inject'](_0x2726a6)),_0x2f69b8(0x3,_0x268d3b[_0x2c8ec4(0x1be)](_0x20b9d9)),_0x2f69b8(0x4,_0x268d3b['Inject'](_0x43e811)),_0x2f69b8(0x5,_0x268d3b[_0x2c8ec4(0x1be)](_0x2fcdcb)),_0x2f69b8(0x6,_0x29ec39[_0x2c8ec4(0x33f)]),_0x2f69b8(0x7,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x322)]))],_0x225927);var _0x41ca7c=Object[_0x2c8ec4(0x146)],_0x3decd4=(_0x4c48e2,_0xa263ac,_0x5ccebc,_0x1576eb)=>{const _0x22b4c4=_0x2c8ec4;for(var _0xd522e5=_0x1576eb>0x1?void 0x0:_0x1576eb?_0x41ca7c(_0xa263ac,_0x5ccebc):_0xa263ac,_0x411cd0=_0x4c48e2[_0x22b4c4(0x1f8)]-0x1,_0x222faf;_0x411cd0>=0x0;_0x411cd0--)(_0x222faf=_0x4c48e2[_0x411cd0])&&(_0xd522e5=_0x222faf(_0xd522e5)||_0xd522e5);return _0xd522e5;},_0x4542c6=(_0x1c2603,_0x3d43a4)=>(_0xfb4e3f,_0x1e7193)=>_0x3d43a4(_0xfb4e3f,_0x1e7193,_0x1c2603);let _0x583834=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x59999e,_0x542593,_0x5563c1){const _0x45de33=_0x2c8ec4;super(),_0x42374b(this,_0x45de33(0x329),new Map()),_0x42374b(this,_0x45de33(0x315),new Map()),_0x42374b(this,_0x45de33(0x2f4),!0x1),(this[_0x45de33(0x383)]=_0x59999e,this['_localStorageService']=_0x542593,this['_revisionService']=_0x5563c1);}[_0x2c8ec4(0x32d)](){const _0x5944cb=_0x2c8ec4;this[_0x5944cb(0x2f4)]=!0x0;}[_0x2c8ec4(0x14d)](){this['_disabled']=!0x1;}get[_0x2c8ec4(0x147)](){const _0xda628d=_0x2c8ec4;return this[_0xda628d(0x315)];}[_0x2c8ec4(0x37b)](){const _0xd2a091=_0x2c8ec4;this['exhaustSavingTask']()[_0xd2a091(0x125)](()=>super[_0xd2a091(0x37b)]());}async['loadOfflineData'](_0x1ca4c3){const _0x290c62=_0x2c8ec4;return this['_disabled']?null:this[_0x290c62(0x2f0)][_0x290c62(0x343)](_0x2eddce[_0x290c62(0x2b8)](_0x1ca4c3));}async[_0x2c8ec4(0x18d)](_0x38ea7d,_0x3730af){const _0x409bdd=_0x2c8ec4;return!!this[_0x409bdd(0x2f0)]['setItem'](_0x38ea7d,_0x3730af);}[_0x2c8ec4(0x2d3)](_0x1e7899,_0x4a142d,_0x22e670,_0x1dca24){const _0x1f9aba=_0x2c8ec4,_0x3da78b=this[_0x1f9aba(0x360)][_0x1f9aba(0x27e)](_0x1e7899);this[_0x1f9aba(0x329)]['set'](_0x1e7899,{'unitID':_0x1e7899,'type':_0x4a142d,'awaitingChangeset':_0x22e670,'mutations':_0x1dca24,'rev':_0x3da78b}),this['_saveTaskMap']['has'](_0x1e7899)||this[_0x1f9aba(0x19f)](_0x1e7899);}[_0x2c8ec4(0x19f)](_0x5070dc){const _0x40c38f=_0x2c8ec4,_0x467d01=this[_0x40c38f(0x35c)]();_0x467d01===0x0?this[_0x40c38f(0x28d)](_0x5070dc):this['_saveTaskMap'][_0x40c38f(0x3a4)](_0x5070dc,setTimeout(()=>this[_0x40c38f(0x28d)](_0x5070dc),_0x467d01));}[_0x2c8ec4(0x35c)](){const _0x39440c=_0x2c8ec4;var _0x938445;return(_0x938445=this[_0x39440c(0x383)][_0x39440c(0x25b)](_0x2eddce['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x938445:_0x2eddce[_0x39440c(0x28f)];}[_0x2c8ec4(0x28d)](_0x5e249c){const _0x4bef3f=_0x2c8ec4,_0x4fcca3=this[_0x4bef3f(0x315)][_0x4bef3f(0x36a)](_0x5e249c);return _0x4fcca3!==void 0x0&&window[_0x4bef3f(0x34e)](_0x4fcca3),this[_0x4bef3f(0x2f0)][_0x4bef3f(0x2f8)](_0x2eddce[_0x4bef3f(0x2b8)](_0x5e249c),this['_cachedData'][_0x4bef3f(0x36a)](_0x5e249c))[_0x4bef3f(0x125)](()=>this[_0x4bef3f(0x315)][_0x4bef3f(0x259)](_0x5e249c));}async[_0x2c8ec4(0x1f4)](){const _0x34c3bc=_0x2c8ec4,_0x2f7256=[];this[_0x34c3bc(0x315)][_0x34c3bc(0x31d)]((_0x53fa13,_0x36cfc8)=>{const _0xbbb208=_0x34c3bc;window['clearTimeout'](_0x53fa13),_0x2f7256[_0xbbb208(0x243)](this['_saveCache'](_0x36cfc8)[_0xbbb208(0x125)](()=>{const _0x49c4ed=_0xbbb208;this['_saveTaskMap'][_0x49c4ed(0x259)](_0x36cfc8);}));}),await Promise['all'](_0x2f7256);}};_0x583834=_0x3decd4([_0x4542c6(0x0,_0x268d3b['IConfigService']),_0x4542c6(0x1,_0x268d3b[_0x2c8ec4(0x270)]),_0x4542c6(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x2ac5d3[_0x2c8ec4(0x2d9)]))],_0x583834);class _0x199640 extends _0x268d3b['RxDisposable']{constructor(){const _0x2f4c81=_0x2c8ec4;super(),_0x42374b(this,'urlChange$'),this['urlChange$']=_0x399a7e[_0x2f4c81(0x145)](window,_0x2f4c81(0x38a))['pipe'](_0x399a7e['takeUntil'](this['dispose$']),_0x399a7e[_0x2f4c81(0x116)](0x1),_0x399a7e[_0x2f4c81(0x1e6)](void 0x0));}[_0x2c8ec4(0x1c4)](_0x2d0c67,_0x3ee2bc,_0xdfc96b=!0x1){const _0x5135dd=_0x2c8ec4,_0x3a6230=new URL(window[_0x5135dd(0x3a1)]['href']);_0x3a6230[_0x5135dd(0x208)][_0x5135dd(0x3a4)](_0x2d0c67,_0x3ee2bc),_0xdfc96b?window['history'][_0x5135dd(0x2db)]('','',_0x3a6230[_0x5135dd(0x1f0)]()):window[_0x5135dd(0x135)][_0x5135dd(0x1f1)]('','',_0x3a6230[_0x5135dd(0x1f0)]());}[_0x2c8ec4(0x247)](_0x28c776,_0x5632c5=!0x1){const _0x152668=_0x2c8ec4,_0x5ca4c7=new URL(window['location'][_0x152668(0x1ab)]);_0x5ca4c7[_0x152668(0x208)][_0x152668(0x259)](_0x28c776),_0x5632c5?window[_0x152668(0x135)][_0x152668(0x2db)]('','',_0x5ca4c7[_0x152668(0x1f0)]()):window[_0x152668(0x135)][_0x152668(0x1f1)]('','',_0x5ca4c7['toString']());}[_0x2c8ec4(0x24a)](_0x717a2b){const _0x2111b0=_0x2c8ec4;var _0xfde2d5;return(_0xfde2d5=new URL(window[_0x2111b0(0x3a1)]['href'])[_0x2111b0(0x208)][_0x2111b0(0x36a)](_0x717a2b))!=null?_0xfde2d5:void 0x0;}}var _0x467306=Object[_0x2c8ec4(0x251)],_0x123660=Object[_0x2c8ec4(0x146)],_0x3c0abb=(_0x1184ef,_0x41435f,_0x314b3b)=>_0x41435f in _0x1184ef?_0x467306(_0x1184ef,_0x41435f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x314b3b}):_0x1184ef[_0x41435f]=_0x314b3b,_0x372ab9=(_0x2b2ad2,_0x5e582a,_0xc3eceb,_0x46b105)=>{for(var _0x1ab7a1=_0x46b105>0x1?void 0x0:_0x46b105?_0x123660(_0x5e582a,_0xc3eceb):_0x5e582a,_0x22f25f=_0x2b2ad2['length']-0x1,_0x48ebf8;_0x22f25f>=0x0;_0x22f25f--)(_0x48ebf8=_0x2b2ad2[_0x22f25f])&&(_0x1ab7a1=_0x48ebf8(_0x1ab7a1)||_0x1ab7a1);return _0x1ab7a1;},_0x5a2584=(_0x5c3caa,_0xa1600b)=>(_0x13591f,_0x578915)=>_0xa1600b(_0x13591f,_0x578915,_0x5c3caa),_0x7d2748=(_0x11b422,_0x561711,_0x24fa0f)=>_0x3c0abb(_0x11b422,_0x561711+'',_0x24fa0f);const _0xd5dd7e=_0x2c8ec4(0x27d);_0x1ebb4a[_0x2c8ec4(0x28c)]=class extends _0x268d3b[_0x2c8ec4(0x2cb)]{constructor(_0x4fbe62=_0x32b909,_0x2b050a,_0xf55428,_0x2a43a8){const _0x1e066e=_0x2c8ec4;super(),this[_0x1e066e(0x377)]=_0x4fbe62,this[_0x1e066e(0x358)]=_0x2b050a,this['_injector']=_0xf55428,this['_configService']=_0x2a43a8;const {..._0x50dd6c}=_0x268d3b[_0x1e066e(0x1e8)]({},_0x32b909,this[_0x1e066e(0x377)]);this[_0x1e066e(0x383)][_0x1e066e(0x21a)](_0x483d07,_0x50dd6c);}[_0x2c8ec4(0x189)](){const _0x3e9457=_0x2c8ec4;this[_0x3e9457(0x192)](),this[_0x3e9457(0x1eb)]();}['onRendered'](){const _0x4e9bce=_0x2c8ec4;this[_0x4e9bce(0x1c5)]();}[_0x2c8ec4(0x192)](){const _0x5f5db4=_0x2c8ec4;var _0x15ebfc;const _0x48f23c=[[_0x1ad7cd],[_0x43e811],[_0x2726a6],[_0x20b9d9],[_0x2fcdcb],[_0x60b938,{'useClass':_0x199640}],[_0x45e235['ISocketService'],{'useClass':_0x45e235[_0x5f5db4(0x39d)]}],[_0x2eddce[_0x5f5db4(0x34c)],{'useClass':_0x583834}],[_0x1ebb4a[_0x5f5db4(0x2bf)]],[_0x225927],[_0x17971b],[_0x2e97d2],[_0x2c02c5],[_0x1ebb4a[_0x5f5db4(0x130)]]];_0x268d3b[_0x5f5db4(0x3a2)](this[_0x5f5db4(0x2ab)],_0x268d3b[_0x5f5db4(0x39b)](_0x48f23c,(_0x15ebfc=this[_0x5f5db4(0x377)])==null?void 0x0:_0x15ebfc[_0x5f5db4(0x376)]));}[_0x2c8ec4(0x1c5)](){const _0x411d2b=_0x2c8ec4;this[_0x411d2b(0x345)](this[_0x411d2b(0x358)][_0x411d2b(0x2a5)](_0x268d3b[_0x411d2b(0x20a)][_0x411d2b(0x39a)],[_0x269418])),this[_0x411d2b(0x345)](this[_0x411d2b(0x358)][_0x411d2b(0x2a5)](_0x268d3b[_0x411d2b(0x20a)][_0x411d2b(0x186)],[_0x4f4f9f]));}[_0x2c8ec4(0x1eb)](){const _0x481ff2=_0x2c8ec4;_0x268d3b[_0x481ff2(0x331)](this[_0x481ff2(0x2ab)],[[_0x2e97d2],[_0x1ebb4a[_0x481ff2(0x2bf)]],[_0x225927],[_0x17971b],[_0x1ebb4a['CollaborationDataLoaderController']]]);}},_0x7d2748(_0x1ebb4a[_0x2c8ec4(0x28c)],_0x2c8ec4(0x261),_0xd5dd7e),_0x1ebb4a[_0x2c8ec4(0x28c)]=_0x372ab9([_0x268d3b['DependentOn'](_0x2eddce[_0x2c8ec4(0x34d)]),_0x5a2584(0x1,_0xb8fc77['IRenderManagerService']),_0x5a2584(0x2,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b[_0x2c8ec4(0x1a5)])),_0x5a2584(0x3,_0x268d3b['IConfigService'])],_0x1ebb4a[_0x2c8ec4(0x28c)]);var _0x3df637=Object[_0x2c8ec4(0x146)],_0x4bebc9=(_0x10790e,_0x3a88e6,_0x2cf5b5,_0x586c17)=>{const _0x50a7a0=_0x2c8ec4;for(var _0x25f49a=_0x586c17>0x1?void 0x0:_0x586c17?_0x3df637(_0x3a88e6,_0x2cf5b5):_0x3a88e6,_0x3f2b95=_0x10790e[_0x50a7a0(0x1f8)]-0x1,_0x1ce881;_0x3f2b95>=0x0;_0x3f2b95--)(_0x1ce881=_0x10790e[_0x3f2b95])&&(_0x25f49a=_0x1ce881(_0x25f49a)||_0x25f49a);return _0x25f49a;},_0x1c3e15=(_0x2f8d8e,_0x481b4d)=>(_0x3f128b,_0x40a44d)=>_0x481b4d(_0x3f128b,_0x40a44d,_0x2f8d8e);_0x1ebb4a[_0x2c8ec4(0x132)]=class extends _0x2eddce['CollaborationSocketService']{constructor(_0x558811,_0x5b303f,_0x1cca09,_0x12f6b9,_0x37ae7a){super(_0x558811,_0x5b303f,_0x1cca09,_0x12f6b9,_0x37ae7a);}async[_0x2c8ec4(0x239)](_0x1302e7){const _0x29370a=_0x2c8ec4,_0x45ca64=await this[_0x29370a(0x1de)](),_0x1fe409=this[_0x29370a(0x387)](_0x1302e7,_0x45ca64);return this[_0x29370a(0x35a)](_0x1fe409);}[_0x2c8ec4(0x387)](_0x4a37d2,_0x43495f){const _0x25aaf3=_0x2c8ec4,_0x58dc82=typeof window>'u'?new URL(_0x4a37d2):new URL(_0x4a37d2,window[_0x25aaf3(0x3a1)]['origin']);_0x58dc82[_0x25aaf3(0x208)][_0x25aaf3(0x3a4)](_0x25aaf3(0x325),_0x43495f);const _0x39308d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x39308d['get']('runId')&&_0x58dc82[_0x25aaf3(0x208)]['set']('runId',_0x39308d['get'](_0x25aaf3(0x37d))),_0x58dc82[_0x25aaf3(0x1f0)]();}async[_0x2c8ec4(0x1de)](){const _0x482be1=_0x2c8ec4;var _0xe8edf6,_0x2384a2,_0x644f2f;const _0x40374b=this[_0x482be1(0x383)][_0x482be1(0x25b)](_0x2eddce['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x5786ad=(_0xe8edf6=_0x40374b==null?void 0x0:_0x40374b[_0x482be1(0x1bd)])!=null?_0xe8edf6:_0x2eddce[_0x482be1(0x266)];return(_0x644f2f=(_0x2384a2=(await this[_0x482be1(0x16c)]['get'](_0x5786ad,{'headers':{'Content-Type':_0x482be1(0x1e9)}}))['body'])==null?void 0x0:_0x2384a2[_0x482be1(0x17d)])!=null?_0x644f2f:'';}},_0x1ebb4a['BrowserCollaborationSocketService']=_0x4bebc9([_0x1c3e15(0x0,_0x268d3b[_0x2c8ec4(0x1be)](_0x268d3b['Injector'])),_0x1c3e15(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x45e235[_0x2c8ec4(0x1d5)])),_0x1c3e15(0x2,_0x268d3b[_0x2c8ec4(0x21c)]),_0x1c3e15(0x3,_0x268d3b[_0x2c8ec4(0x1d8)]),_0x1c3e15(0x4,_0x2ac5d3[_0x2c8ec4(0x2d6)])],_0x1ebb4a[_0x2c8ec4(0x132)]);const _0x5a6533=0x7530,_0x261cb7=_0x2c8ec4(0x25e);class _0x3110fc extends _0x268d3b['Disposable']{constructor(){const _0x37ce70=_0x2c8ec4;super(),_0x42374b(this,_0x37ce70(0x297),_0x268d3b['generateRandomId']()),_0x42374b(this,_0x37ce70(0x1c2),new Set()),_0x42374b(this,_0x37ce70(0x373),new Map()),_0x42374b(this,_0x37ce70(0x12f),null),_0x42374b(this,_0x37ce70(0x23a),new Map()),_0x42374b(this,'_unitStatus',new Map()),this[_0x37ce70(0x216)]();}[_0x2c8ec4(0x37b)](){const _0x1e5e33=_0x2c8ec4;super['dispose'](),this[_0x1e5e33(0x23a)][_0x1e5e33(0x31d)]((_0x10cad9,_0xb21b93)=>this[_0x1e5e33(0x2dc)](_0xb21b93)),this['_heartbeatTimer']&&window[_0x1e5e33(0x13e)](this[_0x1e5e33(0x12f)]);}['getUnitStatus$'](_0x505a09){const _0x49a430=_0x2c8ec4;return this[_0x49a430(0x1f7)](_0x505a09)[_0x49a430(0x25d)](_0x399a7e['distinctUntilChanged']());}[_0x2c8ec4(0x305)](_0x2926b3){const _0x353872=_0x2c8ec4;this[_0x353872(0x1c2)][_0x353872(0x22e)]===0x0&&this[_0x353872(0x1cf)](),this[_0x353872(0x1c2)][_0x353872(0x1c1)](_0x2926b3),this[_0x353872(0x304)]({'type':0x0,'memberID':this[_0x353872(0x297)],'unitIDs':[_0x2926b3],'isForwarded':!0x1});}[_0x2c8ec4(0x1fc)](_0x58f94b){const _0x2f285d=_0x2c8ec4;this[_0x2f285d(0x1c2)][_0x2f285d(0x259)](_0x58f94b),this['_selfUnitIDs'][_0x2f285d(0x22e)]===0x0&&this[_0x2f285d(0x12f)]&&window[_0x2f285d(0x13e)](this[_0x2f285d(0x12f)]);}['_init'](){const _0x18bf18=_0x2c8ec4;this[_0x18bf18(0x345)](_0x268d3b[_0x18bf18(0x14f)](_0x399a7e[_0x18bf18(0x145)](window,_0x18bf18(0x250))['subscribe'](_0x27fbe4=>{const _0x36b6c2=_0x18bf18;if(_0x27fbe4[_0x36b6c2(0x399)]!==_0x261cb7||!_0x27fbe4[_0x36b6c2(0x2c1)])return;const _0x34fb79=JSON[_0x36b6c2(0x295)](_0x27fbe4[_0x36b6c2(0x2c1)]);this[_0x36b6c2(0x242)](_0x34fb79);}))),window[_0x18bf18(0x2b3)]('unload',()=>this[_0x18bf18(0x304)]({'type':0x1,'memberID':this[_0x18bf18(0x297)],'unitIDs':Array[_0x18bf18(0x357)](this[_0x18bf18(0x1c2)])}));}[_0x2c8ec4(0x242)](_0x297447){const _0x55e206=_0x2c8ec4;switch(_0x297447[_0x55e206(0x33e)]){case 0x0:this[_0x55e206(0x18e)](_0x297447);break;case 0x1:this[_0x55e206(0x30b)](_0x297447);break;case 0x2:this[_0x55e206(0x134)](_0x297447);break;}}['_handleJoinEvent'](_0x21fcf3){const _0x227f14=_0x2c8ec4,{unitIDs:_0x52c934,memberID:_0xa7a629,isForwarded:_0x1c95cd}=_0x21fcf3;_0x52c934[_0x227f14(0x31d)](_0x2ae67d=>{const _0x38e07a=_0x227f14;if(!_0x1c95cd&&this[_0x38e07a(0x373)]['has'](_0x2ae67d)&&this[_0x38e07a(0x1f7)](_0x2ae67d)[_0x38e07a(0x2f6)](_0x2eddce[_0x38e07a(0x317)][_0x38e07a(0x279)]),!this[_0x38e07a(0x373)][_0x38e07a(0x119)](_0x2ae67d)||!this[_0x38e07a(0x373)][_0x38e07a(0x36a)](_0x2ae67d)['has'](_0xa7a629)){const _0x11543e=this[_0x38e07a(0x373)][_0x38e07a(0x36a)](_0x2ae67d)||new Set();_0x11543e[_0x38e07a(0x1c1)](_0xa7a629),this['_unitOnClients'][_0x38e07a(0x3a4)](_0x2ae67d,_0x11543e),this[_0x38e07a(0x141)](_0xa7a629);}}),_0x1c95cd||this[_0x227f14(0x304)]({'type':0x0,'memberID':this[_0x227f14(0x297)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2c8ec4(0x141)](_0xd1a261){const _0x57d1e3=_0x2c8ec4;this[_0x57d1e3(0x2dc)](_0xd1a261);const _0x221e28=window['setTimeout'](()=>{const _0x187e04=_0x57d1e3;this[_0x187e04(0x373)][_0x187e04(0x31d)](_0x5d1878=>{const _0x5cc96e=_0x187e04;_0x5d1878[_0x5cc96e(0x259)](_0xd1a261);});},_0x5a6533*0x2);this['_clearOtherTimers'][_0x57d1e3(0x3a4)](_0xd1a261,_0x221e28);}[_0x2c8ec4(0x2dc)](_0x1ff07d){const _0x41b059=_0x2c8ec4;if(this[_0x41b059(0x23a)][_0x41b059(0x119)](_0x1ff07d)){const _0x1b2f5f=this[_0x41b059(0x23a)][_0x41b059(0x36a)](_0x1ff07d);_0x1b2f5f&&window[_0x41b059(0x34e)](_0x1b2f5f),this[_0x41b059(0x23a)][_0x41b059(0x3a4)](_0x1ff07d,null);}}['_handleLeaveEvent'](_0x5d0b13){const _0x2c3ca3=_0x2c8ec4,{memberID:_0x24f40b,unitIDs:_0x45ddaa}=_0x5d0b13;_0x45ddaa[_0x2c3ca3(0x31d)](_0x2378bd=>{const _0x1957fd=_0x2c3ca3;var _0x532c91;const _0x3e950f=this[_0x1957fd(0x373)][_0x1957fd(0x36a)](_0x2378bd);_0x3e950f&&(_0x3e950f['delete'](_0x24f40b),(_0x532c91=this[_0x1957fd(0x1f7)](_0x2378bd))==null||_0x532c91[_0x1957fd(0x2f6)](_0x3e950f['size']===0x0?_0x2eddce['UnitStatus'][_0x1957fd(0x276)]:_0x2eddce[_0x1957fd(0x317)][_0x1957fd(0x279)]));}),this['_removeClearOtherTimer'](_0x24f40b);}['_handleHeartbeatEvent'](_0x292dab){const _0x4e39bf=_0x2c8ec4;this[_0x4e39bf(0x141)](_0x292dab['memberID']);}[_0x2c8ec4(0x304)](_0x45fff7){const _0x44929b=_0x2c8ec4;localStorage[_0x44929b(0x2f8)](_0x261cb7,JSON[_0x44929b(0x318)](_0x45fff7));}[_0x2c8ec4(0x1cf)](){const _0x56503d=_0x2c8ec4;this[_0x56503d(0x12f)]=window['setInterval'](()=>{const _0xe2d463=_0x56503d;this[_0xe2d463(0x304)]({'type':0x2,'memberID':this['_id']});},_0x5a6533);}['_ensureSubject'](_0x145f85){const _0x198a57=_0x2c8ec4;return this['_unitStatus']['has'](_0x145f85)||this[_0x198a57(0x173)][_0x198a57(0x3a4)](_0x145f85,new _0x399a7e[(_0x198a57(0x33a))](_0x2eddce[_0x198a57(0x317)][_0x198a57(0x276)])),this[_0x198a57(0x173)]['get'](_0x145f85);}}var _0x48d715=(_0x40aaca=>(_0x40aaca[_0x40aaca[_0x2c8ec4(0x33b)]=0x0]='UNDEFINED',_0x40aaca[_0x40aaca['OK']=0x1]='OK',_0x40aaca[_0x40aaca['INTERNAL_ERROR']=0x2]=_0x2c8ec4(0x349),_0x40aaca[_0x40aaca[_0x2c8ec4(0x371)]=0x3]='PERMISSION_DENIED',_0x40aaca[_0x40aaca['NOT_FOUND']=0x4]=_0x2c8ec4(0x2f3),_0x40aaca[_0x40aaca[_0x2c8ec4(0x269)]=0x5]=_0x2c8ec4(0x269),_0x40aaca[_0x40aaca[_0x2c8ec4(0x16f)]=0x6]=_0x2c8ec4(0x16f),_0x40aaca[_0x40aaca['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x40aaca[_0x40aaca[_0x2c8ec4(0x2d4)]=0x8]=_0x2c8ec4(0x2d4),_0x40aaca[_0x40aaca[_0x2c8ec4(0x1fe)]=0x9]=_0x2c8ec4(0x1fe),_0x40aaca[_0x40aaca[_0x2c8ec4(0x18b)]=0xa]=_0x2c8ec4(0x18b),_0x40aaca[_0x40aaca[_0x2c8ec4(0x283)]=0x1389]=_0x2c8ec4(0x283),_0x40aaca[_0x40aaca[_0x2c8ec4(0x22d)]=0x1771]=_0x2c8ec4(0x22d),_0x40aaca[_0x40aaca[_0x2c8ec4(0x308)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x40aaca[_0x40aaca[_0x2c8ec4(0x11a)]=0x1773]=_0x2c8ec4(0x11a),_0x40aaca[_0x40aaca[_0x2c8ec4(0x150)]=0x1b59]='APPLY_REJECT',_0x40aaca[_0x40aaca[_0x2c8ec4(0x353)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x40aaca[_0x40aaca[_0x2c8ec4(0x351)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x40aaca[_0x40aaca['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2c8ec4(0x1ea),_0x40aaca[_0x40aaca[_0x2c8ec4(0x17a)]=0x1b5d]=_0x2c8ec4(0x17a),_0x40aaca[_0x40aaca[_0x2c8ec4(0x19c)]=0x1f41]=_0x2c8ec4(0x19c),_0x40aaca[_0x40aaca[_0x2c8ec4(0x2c3)]=0x2329]=_0x2c8ec4(0x2c3),_0x40aaca[_0x40aaca[_0x2c8ec4(0x167)]=0x232a]=_0x2c8ec4(0x167),_0x40aaca[_0x40aaca[_0x2c8ec4(0x2c4)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x40aaca[_0x40aaca[_0x2c8ec4(0x229)]=0x232c]=_0x2c8ec4(0x229),_0x40aaca[_0x40aaca[_0x2c8ec4(0x16d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x40aaca[_0x40aaca['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2c8ec4(0x374),_0x40aaca[_0x40aaca[_0x2c8ec4(0x3a7)]=0x2712]=_0x2c8ec4(0x3a7),_0x40aaca[_0x40aaca[_0x2c8ec4(0x2a8)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x40aaca[_0x40aaca[_0x2c8ec4(0x30c)]=0x2714]=_0x2c8ec4(0x30c),_0x40aaca[_0x40aaca[_0x2c8ec4(0x29f)]=0x271a]=_0x2c8ec4(0x29f),_0x40aaca[_0x40aaca['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2c8ec4(0x2f5),_0x40aaca[_0x40aaca['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x40aaca[_0x40aaca[_0x2c8ec4(0x19e)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x40aaca[_0x40aaca[_0x2c8ec4(0x223)]=0x271e]=_0x2c8ec4(0x223),_0x40aaca[_0x40aaca[_0x2c8ec4(0x333)]=0x271f]=_0x2c8ec4(0x333),_0x40aaca[_0x40aaca['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2c8ec4(0x245),_0x40aaca[_0x40aaca['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2c8ec4(0x222),_0x40aaca[_0x40aaca[_0x2c8ec4(0x176)]=0x2ee2]=_0x2c8ec4(0x176),_0x40aaca[_0x40aaca[_0x2c8ec4(0x1db)]=0x2ee3]=_0x2c8ec4(0x1db),_0x40aaca[_0x40aaca[_0x2c8ec4(0x290)]=0x2ee4]=_0x2c8ec4(0x290),_0x40aaca[_0x40aaca[_0x2c8ec4(0x36d)]=0x2ee5]=_0x2c8ec4(0x36d),_0x40aaca[_0x40aaca[_0x2c8ec4(0x389)]=0x32c9]=_0x2c8ec4(0x389),_0x40aaca[_0x40aaca[_0x2c8ec4(0x238)]=0x32ca]=_0x2c8ec4(0x238),_0x40aaca[_0x40aaca['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2c8ec4(0x281),_0x40aaca[_0x40aaca['UNRECOGNIZED']=-0x1]=_0x2c8ec4(0x227),_0x40aaca))(_0x48d715||{}),_0xf576fa=Object[_0x2c8ec4(0x146)],_0x362fb1=(_0x35b0ae,_0x5be0e2,_0x1decce,_0x1ac1bc)=>{for(var _0x47a83b=_0x1ac1bc>0x1?void 0x0:_0x1ac1bc?_0xf576fa(_0x5be0e2,_0x1decce):_0x5be0e2,_0x26c820=_0x35b0ae['length']-0x1,_0x4cf7dc;_0x26c820>=0x0;_0x26c820--)(_0x4cf7dc=_0x35b0ae[_0x26c820])&&(_0x47a83b=_0x4cf7dc(_0x47a83b)||_0x47a83b);return _0x47a83b;},_0x5f1620=(_0x500ba7,_0x5a1f95)=>(_0xdf61bf,_0x385de5)=>_0x5a1f95(_0xdf61bf,_0x385de5,_0x500ba7);_0x1ebb4a[_0x2c8ec4(0x35b)]=class extends _0x268d3b[_0x2c8ec4(0x2d2)]{constructor(_0x55bc5e,_0x35cbc,_0x2c755d){const _0x662593=_0x2c8ec4;super(),this[_0x662593(0x348)]=_0x55bc5e,this['_httpService']=_0x35cbc,this['_configService']=_0x2c755d;}async[_0x2c8ec4(0x1a2)](_0x15879a,_0x247172,_0x189831,..._0x3749bf){const _0x3648f8=_0x2c8ec4;var _0x7993b,_0x1aadbb,_0x5dd7ab,_0x3cf84d;const _0x244562=this[_0x3648f8(0x348)][_0x3648f8(0x280)]();if(!_0x244562)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5860f1=((_0x7993b=this[_0x3648f8(0x383)][_0x3648f8(0x25b)](_0x2eddce['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x7993b:_0x2eddce[_0x3648f8(0x2a0)])+'/'+_0x15879a+_0x3648f8(0x310)+_0x247172,_0x4e4f58=new URL(window[_0x3648f8(0x3a1)]['href']),_0x5d9eef={'scriptId':_0x15879a,'runId':(_0x1aadbb=_0x4e4f58[_0x3648f8(0x208)]['get']('runId'))!=null?_0x1aadbb:'','function':_0x247172,'unitId':_0x244562['getUnitId'](),'argsOfFunction':JSON[_0x3648f8(0x318)](_0x3749bf),'invokeId':(_0x5dd7ab=_0x189831[_0x3648f8(0x2d5)])!=null?_0x5dd7ab:'','executionId':(_0x3cf84d=_0x189831[_0x3648f8(0x1e1)])!=null?_0x3cf84d:''};try{const _0x55ed4f=await this[_0x3648f8(0x16c)][_0x3648f8(0x235)](_0x5860f1,{'body':_0x5d9eef});return _0x55ed4f[_0x3648f8(0x277)][_0x3648f8(0x232)]&&_0x55ed4f[_0x3648f8(0x277)][_0x3648f8(0x232)]['code']!==_0x48d715['OK']?_0x3648f8(0x2e3):_0x55ed4f[_0x3648f8(0x277)][_0x3648f8(0x1a1)];}catch{return _0x3648f8(0x2e3);}}},_0x1ebb4a['RemoteUniscriptService']=_0x362fb1([_0x5f1620(0x0,_0x268d3b[_0x2c8ec4(0x2eb)]),_0x5f1620(0x1,_0x268d3b[_0x2c8ec4(0x1be)](_0x45e235[_0x2c8ec4(0x1d5)])),_0x5f1620(0x2,_0x268d3b['IConfigService'])],_0x1ebb4a[_0x2c8ec4(0x35b)]),_0x1ebb4a['CollaborationStatusDisplay']=_0x3891f9,_0x1ebb4a['IURLService']=_0x60b938,_0x1ebb4a[_0x2c8ec4(0x35e)]=_0x9f5a04,_0x1ebb4a[_0x2c8ec4(0x296)]=_0x3110fc,_0x1ebb4a[_0x2c8ec4(0x1d6)]=_0x199640,Object[_0x2c8ec4(0x251)](_0x1ebb4a,Symbol['toStringTag'],{'value':'Module'});}));
|
|
1
|
+
function _0x5017(_0x11e360,_0x5f3f01){const _0x5d266e=_0x5d26();return _0x5017=function(_0x501779,_0x5c0e7b){_0x501779=_0x501779-0x145;let _0x1b3775=_0x5d266e[_0x501779];return _0x1b3775;},_0x5017(_0x11e360,_0x5f3f01);}(function(_0x5bad25,_0x30cc8f){const _0x33f384=_0x5017,_0x24b08f=_0x5bad25();while(!![]){try{const _0x7dcb5d=-parseInt(_0x33f384(0x221))/0x1+-parseInt(_0x33f384(0x3d4))/0x2+parseInt(_0x33f384(0x23c))/0x3+parseInt(_0x33f384(0x1a7))/0x4+-parseInt(_0x33f384(0x367))/0x5+-parseInt(_0x33f384(0x337))/0x6*(parseInt(_0x33f384(0x311))/0x7)+-parseInt(_0x33f384(0x374))/0x8*(-parseInt(_0x33f384(0x18c))/0x9);if(_0x7dcb5d===_0x30cc8f)break;else _0x24b08f['push'](_0x24b08f['shift']());}catch(_0x4e209d){_0x24b08f['push'](_0x24b08f['shift']());}}}(_0x5d26,0xc1570),function(_0x3e859b,_0x53a8f0){const _0x24c175=_0x5017;typeof exports==_0x24c175(0x2d6)&&typeof module<'u'?_0x53a8f0(exports,require('@univerjs-pro/collaboration-client'),require(_0x24c175(0x2ad)),require(_0x24c175(0x1de)),require(_0x24c175(0x19d)),require(_0x24c175(0x3cf)),require('@univerjs/drawing'),require('rxjs'),require(_0x24c175(0x26d)),require(_0x24c175(0x1fe)),require('@univerjs/engine-formula'),require(_0x24c175(0x1f9)),require(_0x24c175(0x3b1)),require(_0x24c175(0x2b8)),require(_0x24c175(0x175)),require(_0x24c175(0x268)),require('@univerjs/design'),require('react'),require(_0x24c175(0x16f))):typeof define==_0x24c175(0x309)&&define[_0x24c175(0x261)]?define([_0x24c175(0x1b0),_0x24c175(0x391),'@univerjs/core',_0x24c175(0x1de),_0x24c175(0x19d),_0x24c175(0x3cf),_0x24c175(0x3b0),_0x24c175(0x1e9),'@univerjs/docs',_0x24c175(0x1fe),_0x24c175(0x1bf),'@univerjs/sheets','rxjs/operators',_0x24c175(0x2b8),_0x24c175(0x175),'@univerjs/ui',_0x24c175(0x151),_0x24c175(0x27b),_0x24c175(0x16f)],_0x53a8f0):(_0x3e859b=typeof globalThis<'u'?globalThis:_0x3e859b||self,_0x53a8f0(_0x3e859b['UniverProCollaborationClientUi']={},_0x3e859b[_0x24c175(0x276)],_0x3e859b[_0x24c175(0x1b9)],_0x3e859b[_0x24c175(0x1dd)],_0x3e859b['UniverNetwork'],_0x3e859b[_0x24c175(0x2af)],_0x3e859b['UniverDrawing'],_0x3e859b['rxjs'],_0x3e859b[_0x24c175(0x14c)],_0x3e859b[_0x24c175(0x28c)],_0x3e859b[_0x24c175(0x1a9)],_0x3e859b[_0x24c175(0x19e)],_0x3e859b[_0x24c175(0x1e9)][_0x24c175(0x1a6)],_0x3e859b['UniverSheetsUi'],_0x3e859b[_0x24c175(0x318)],_0x3e859b[_0x24c175(0x32d)],_0x3e859b[_0x24c175(0x38d)],_0x3e859b['React'],_0x3e859b[_0x24c175(0x2c8)]));}(this,function(_0x1b6f51,_0x1a26fa,_0x231ef0,_0x3edfd3,_0x1da057,_0x8a3f16,_0xba059e,_0x2c2b06,_0x44fd1c,_0x3e87ff,_0x11ba27,_0xb506f2,_0x252f2d,_0x32ca80,_0x4e937f,_0xcd773d,_0x5d3613,_0x198ece,_0x4811d9){'use strict';const _0x50ca90=_0x5017;var _0x16d39e=Object[_0x50ca90(0x157)],_0x5d255=(_0x3ff908,_0x156e5b,_0x137207)=>_0x156e5b in _0x3ff908?_0x16d39e(_0x3ff908,_0x156e5b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x137207}):_0x3ff908[_0x156e5b]=_0x137207,_0x39bb06=(_0x408fc8,_0x4bf221,_0x480c8a)=>_0x5d255(_0x408fc8,typeof _0x4bf221!=_0x50ca90(0x30a)?_0x4bf221+'':_0x4bf221,_0x480c8a),_0x4bd43d=Object['getOwnPropertyDescriptor'],_0x3dc80b=(_0x1c4c12,_0x3f9958,_0x136291,_0x16cd5b)=>{const _0x3b5a23=_0x50ca90;for(var _0x2e3d43=_0x16cd5b>0x1?void 0x0:_0x16cd5b?_0x4bd43d(_0x3f9958,_0x136291):_0x3f9958,_0x231352=_0x1c4c12[_0x3b5a23(0x1f3)]-0x1,_0x56de67;_0x231352>=0x0;_0x231352--)(_0x56de67=_0x1c4c12[_0x231352])&&(_0x2e3d43=_0x56de67(_0x2e3d43)||_0x2e3d43);return _0x2e3d43;},_0x85ddc1=(_0x3fcf60,_0x521002)=>(_0x30111f,_0x52e95d)=>_0x521002(_0x30111f,_0x52e95d,_0x3fcf60);let _0x166e99=class extends _0x231ef0['RxDisposable']{constructor(_0x2c072a,_0x224103){const _0x44e7b8=_0x50ca90;super(),this['_docClipboardService']=_0x2c072a,this['_imageIoService']=_0x224103,this[_0x44e7b8(0x1c5)]();}[_0x50ca90(0x1c5)](){const _0x5176b1=_0x50ca90,_0x18f276=this;this[_0x5176b1(0x1ce)](this[_0x5176b1(0x153)][_0x5176b1(0x370)]({'onBeforePasteImage':async _0x5a7298=>{const _0xe9a14e=_0x5176b1,_0x57a770=await _0x18f276[_0xe9a14e(0x1b8)]['saveImage'](_0x5a7298);return _0x57a770?{'source':_0x57a770[_0xe9a14e(0x2e4)],'imageSourceType':_0x57a770['imageSourceType']}:null;}}));}};_0x166e99=_0x3dc80b([_0x85ddc1(0x0,_0x8a3f16[_0x50ca90(0x286)]),_0x85ddc1(0x1,_0xba059e[_0x50ca90(0x29e)])],_0x166e99);const _0x1eb1b6=[_0x50ca90(0x33a),'jiqing.500',_0x50ca90(0x37f),_0x50ca90(0x15a),_0x50ca90(0x193),_0x50ca90(0x24e)];class _0x1f3483 extends _0x231ef0[_0x50ca90(0x259)]{constructor(){const _0x588d9a=_0x50ca90;super(...arguments),_0x39bb06(this,_0x588d9a(0x2ce),new Map()),_0x39bb06(this,'_colorIndex',0x0);}[_0x50ca90(0x330)](_0xc86b84){const _0x25c365=_0x50ca90;if(this[_0x25c365(0x2ce)][_0x25c365(0x271)](_0xc86b84))return this['_assignedColors']['get'](_0xc86b84);const _0x36eb7f=_0x1eb1b6[this[_0x25c365(0x1cf)]];return this['_colorIndex']=(this[_0x25c365(0x1cf)]+0x1)%_0x1eb1b6[_0x25c365(0x1f3)],this['_assignedColors'][_0x25c365(0x284)](_0xc86b84,_0x36eb7f),_0x36eb7f;}}function _0x2878da(_0x580cba){const _0x288604=_0x50ca90;let _0x4975f4='';for(const _0x1c5d9c of _0x580cba){const {startOffset:_0x3dbffc,endOffset:_0x22e373,isActive:_0x830372,rangeType:_0x23fb5a,segmentId:_0x5f3beb,segmentPage:_0x5051d0}=_0x1c5d9c;_0x4975f4[_0x288604(0x1f3)]&&(_0x4975f4+=','),_0x4975f4+=_0x3dbffc+':'+_0x22e373+':'+(_0x830372?'1':'0')+':'+_0x23fb5a+':'+_0x5f3beb+':'+_0x5051d0;}return _0x4975f4;}function _0x39fadd(_0x532eec){const _0x9d90ea=_0x50ca90,_0x43eaba=_0x532eec[_0x9d90ea(0x2b3)](','),_0x4abbbc=[];for(const _0x5a2e68 of _0x43eaba){const [_0x4beb40,_0x527af4,_0x387fbe,_0x43de4c,_0xc3d63,_0x37e743]=_0x5a2e68['split'](':');_0x4abbbc[_0x9d90ea(0x31f)]({'startOffset':Number(_0x4beb40),'endOffset':Number(_0x527af4),'collapsed':_0x4beb40===_0x527af4,'isActive':_0x387fbe==='1','rangeType':_0x43de4c===_0x231ef0['DOC_RANGE_TYPE'][_0x9d90ea(0x3b9)]?_0x231ef0[_0x9d90ea(0x3ac)][_0x9d90ea(0x3b9)]:_0x231ef0[_0x9d90ea(0x3ac)][_0x9d90ea(0x18e)],'segmentId':typeof _0xc3d63==_0x9d90ea(0x3a8)?String(_0xc3d63):'','segmentPage':Number(_0x37e743!=null?_0x37e743:-0x1)});}return _0x4abbbc[_0x9d90ea(0x3a9)](_0x27cb15=>_0x27cb15['isActive'])||(_0x4abbbc[0x0][_0x9d90ea(0x241)]=!0x0),_0x4abbbc;}class _0x4a55a4 extends _0x231ef0[_0x50ca90(0x2ff)]{constructor(){const _0x12c2c4=_0x50ca90;super(...arguments),_0x39bb06(this,_0x12c2c4(0x251),new _0x2c2b06[(_0x12c2c4(0x2e2))](null)),_0x39bb06(this,_0x12c2c4(0x22d),this[_0x12c2c4(0x251)][_0x12c2c4(0x2bf)]());}[_0x50ca90(0x1fa)](_0x25cd24){const _0x5aa207=_0x50ca90,{unitID:_0x57eddc,memberID:_0x5480f2,textRanges:_0xd71127}=_0x25cd24,_0x4f15a7=_0x2878da(_0xd71127);if(_0x4f15a7==='')return;const _0x1540af={'unitID':_0x57eddc,'memberID':_0x5480f2,'selection':_0x4f15a7};this['_collabCursorState$'][_0x5aa207(0x272)](_0x1540af);}}var _0x38692f=Object[_0x50ca90(0x20d)],_0x12501a=(_0x8d937f,_0x5354cf,_0x17e0f8,_0x1bd877)=>{const _0x20fbf1=_0x50ca90;for(var _0x53f446=_0x1bd877>0x1?void 0x0:_0x1bd877?_0x38692f(_0x5354cf,_0x17e0f8):_0x5354cf,_0x204824=_0x8d937f[_0x20fbf1(0x1f3)]-0x1,_0x2b156f;_0x204824>=0x0;_0x204824--)(_0x2b156f=_0x8d937f[_0x204824])&&(_0x53f446=_0x2b156f(_0x53f446)||_0x53f446);return _0x53f446;},_0xbe53f7=(_0xd4bcd3,_0x2800c6)=>(_0x5e0e14,_0x42e479)=>_0x2800c6(_0x5e0e14,_0x42e479,_0xd4bcd3);const _0x1b4057=0x12c,_0x56c889=0x64;let _0x24341e=class extends _0x231ef0[_0x50ca90(0x2ff)]{constructor(_0x101644,_0x35c2bb,_0x3c7f51,_0x39405b,_0x47a95f,_0xa309f2,_0x240e6d,_0x5b595a,_0x426a9c){const _0x2f49cb=_0x50ca90;super(),_0x39bb06(this,_0x2f49cb(0x2a0),!0x1),_0x39bb06(this,_0x2f49cb(0x1c5),!0x1),_0x39bb06(this,'_cursorInfo$',new _0x2c2b06[(_0x2f49cb(0x2e2))](new Map())),_0x39bb06(this,_0x2f49cb(0x3c4),this[_0x2f49cb(0x33f)][_0x2f49cb(0x2bf)]()),_0x39bb06(this,'_roomMembers$',new _0x2c2b06[(_0x2f49cb(0x2e2))]([])),_0x39bb06(this,'roomMembers$',this[_0x2f49cb(0x282)][_0x2f49cb(0x34e)](_0x2c2b06['debounceTime'](_0x1b4057))),_0x39bb06(this,_0x2f49cb(0x161),_0x231ef0[_0x2f49cb(0x222)](_0x3efffe=>{const _0x5196c8=_0x2f49cb,_0x18c144={'eventID':_0x3e87ff['CollaborationEvent'][_0x5196c8(0x39a)],'data':{'unitID':this[_0x5196c8(0x1ef)],'memberID':this['_session'][_0x5196c8(0x209)](),'selection':_0x2878da(_0x3efffe)}};this[_0x5196c8(0x3c8)][_0x5196c8(0x1c8)](_0x18c144,this[_0x5196c8(0x1ef)]);},_0x56c889)),(this['unitID']=_0x101644,this[_0x2f49cb(0x3c8)]=_0x35c2bb,this[_0x2f49cb(0x1d3)]=_0x3c7f51,this['_colorAssignService']=_0x39405b,this['_memberService']=_0x47a95f,this[_0x2f49cb(0x364)]=_0xa309f2,this['_transformService']=_0x240e6d,this[_0x2f49cb(0x361)]=_0x5b595a,this[_0x2f49cb(0x3da)]=_0x426a9c);}get[_0x50ca90(0x30b)](){const _0xb1cd33=_0x50ca90;return this[_0xb1cd33(0x33f)]['getValue']();}get[_0x50ca90(0x28f)](){const _0x495ee2=_0x50ca90;return this[_0x495ee2(0x282)][_0x495ee2(0x349)]();}['dispose'](){const _0x1e1e93=_0x50ca90;super[_0x1e1e93(0x202)](),this['_cursorInfo$']['next'](new Map()),this[_0x1e1e93(0x33f)][_0x1e1e93(0x25e)](),this[_0x1e1e93(0x282)][_0x1e1e93(0x272)]([]),this[_0x1e1e93(0x282)][_0x1e1e93(0x25e)]();}[_0x50ca90(0x2fa)](){const _0xdf6d34=_0x50ca90;this[_0xdf6d34(0x1c5)]||(this[_0xdf6d34(0x1c5)]=!0x0,this[_0xdf6d34(0x3c8)][_0xdf6d34(0x338)][_0xdf6d34(0x34e)](_0x2c2b06[_0xdf6d34(0x376)](this[_0xdf6d34(0x324)]))[_0xdf6d34(0x2fc)](_0xd96ffe=>{const _0x44de64=_0xdf6d34;_0xd96ffe===_0x1a26fa[_0x44de64(0x290)][_0x44de64(0x2ba)]?this['_toggleOnline']():this[_0x44de64(0x3c3)]();}),this[_0xdf6d34(0x3c8)]['event$'][_0xdf6d34(0x34e)](_0x2c2b06[_0xdf6d34(0x376)](this[_0xdf6d34(0x324)]))['subscribe'](_0x261eae=>{const _0x5e6f54=_0xdf6d34,_0x26afd2=_0x261eae['eventID'];_0x26afd2===_0x3e87ff[_0x5e6f54(0x2d0)][_0x5e6f54(0x39a)]&&this[_0x5e6f54(0x1d8)](_0x261eae),_0x26afd2===_0x3e87ff[_0x5e6f54(0x2d0)][_0x5e6f54(0x227)]&&this[_0x5e6f54(0x299)](_0x261eae);}),this[_0xdf6d34(0x1ce)](this[_0xdf6d34(0x3da)][_0xdf6d34(0x2dd)](_0xd84b4b=>{const _0x1e9d3d=_0xdf6d34,_0x381c28=_0xd84b4b['params'];_0x381c28!=null&&this[_0x1e9d3d(0x2a0)]&&_0xd84b4b['id']===_0x44fd1c[_0x1e9d3d(0x1d6)]['id']&&_0x381c28['unitId']===this[_0x1e9d3d(0x1ef)]&&_0x381c28[_0x1e9d3d(0x297)]===!0x1&&_0x381c28[_0x1e9d3d(0x164)]['length']>0x0&&this[_0x1e9d3d(0x161)](_0x381c28[_0x1e9d3d(0x164)]);})),this['_syncEditingCollabCursorService'][_0xdf6d34(0x22d)][_0xdf6d34(0x34e)](_0x2c2b06[_0xdf6d34(0x376)](this[_0xdf6d34(0x324)]))[_0xdf6d34(0x2fc)](_0x3514e7=>{const _0x4425a7=_0xdf6d34;if((_0x3514e7==null?void 0x0:_0x3514e7[_0x4425a7(0x1ef)])!==this[_0x4425a7(0x1ef)])return;const _0x12779e={'eventID':_0x3e87ff[_0x4425a7(0x2d0)][_0x4425a7(0x39a)],'data':_0x3514e7};this[_0x4425a7(0x1d8)](_0x12779e);}),this[_0xdf6d34(0x1ce)](this[_0xdf6d34(0x3da)][_0xdf6d34(0x2dd)](_0x30a466=>{const _0x7169e3=_0xdf6d34;if(_0x30a466['params']==null)return;const _0x2dec96=_0x30a466[_0x7169e3(0x19a)];if(_0x30a466['id']!==_0x44fd1c['RichTextEditingMutation']['id']||_0x2dec96['unitId']!==this[_0x7169e3(0x1ef)])return;const _0x38fd6c={'id':'doc.mutation.rich-text-editing','params':_0x2dec96},_0x599ffd=this[_0x7169e3(0x30b)];for(const [_0x4ba135,_0x1ce8a6]of _0x599ffd){const _0x17cb08={'id':_0x7169e3(0x1d1),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1ce8a6[_0x7169e3(0x164)]}},_0x361f94=this[_0x7169e3(0x1dc)][_0x7169e3(0x15d)](_0x38fd6c,_0x17cb08,!0x1);if(_0x3e87ff[_0x7169e3(0x38b)](_0x361f94))throw _0x361f94['error'];_0x599ffd[_0x7169e3(0x284)](_0x4ba135,{..._0x1ce8a6,'ranges':_0x361f94[_0x7169e3(0x36e)]['params'][_0x7169e3(0x1a3)]});}queueMicrotask(()=>{const _0x9118f1=_0x7169e3;this['_cursorInfo$'][_0x9118f1(0x272)](_0x599ffd);});})));}[_0x50ca90(0x1d8)](_0x142374){const _0x28c14e=_0x50ca90;var _0x36d33c,_0x138e50;const {memberID:_0x359187,selection:_0x348250}=_0x142374[_0x28c14e(0x1be)],_0x3e773e=_0x39fadd(_0x348250),_0x59fba5=(_0x138e50=(_0x36d33c=this[_0x28c14e(0x398)][_0x28c14e(0x208)](this[_0x28c14e(0x1ef)],_0x359187))==null?void 0x0:_0x36d33c[_0x28c14e(0x1b1)])!=null?_0x138e50:'Unknown\x20user',_0x5b424b={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x359187),'name':_0x59fba5,'ranges':_0x3e773e},_0x2c5dd8=this[_0x28c14e(0x30b)];_0x2c5dd8['set'](_0x359187,_0x5b424b),this[_0x28c14e(0x33f)][_0x28c14e(0x272)](_0x2c5dd8);}[_0x50ca90(0x299)](_0x2c86b1){const _0x2ff48a=_0x50ca90,{memberID:_0x3a972f}=_0x2c86b1['data'],_0x4e2ba6=this[_0x2ff48a(0x30b)];_0x4e2ba6[_0x2ff48a(0x23f)](_0x3a972f),this['_cursorInfo$']['next'](_0x4e2ba6);}[_0x50ca90(0x23b)](){const _0x3744f2=_0x50ca90;var _0x1e4242;if(this[_0x3744f2(0x2a0)]=!0x0,((_0x1e4242=this[_0x3744f2(0x361)]['getFocusedUnit']())==null?void 0x0:_0x1e4242[_0x3744f2(0x1a2)]())!==this[_0x3744f2(0x1ef)])return;const _0x1d0606=this['_injector'][_0x3744f2(0x1cd)](_0x44fd1c[_0x3744f2(0x2dc)])[_0x3744f2(0x254)]();Array[_0x3744f2(0x3ad)](_0x1d0606)&&_0x1d0606[_0x3744f2(0x1f3)]>0x0&&this[_0x3744f2(0x161)](_0x1d0606);}['_toggleOffline'](){const _0x27700b=_0x50ca90;this[_0x27700b(0x2a0)]=!0x1;}};_0x24341e=_0x12501a([_0xbe53f7(0x2,_0x231ef0[_0x50ca90(0x3dc)](_0x231ef0[_0x50ca90(0x2cf)])),_0xbe53f7(0x3,_0x231ef0[_0x50ca90(0x3dc)](_0x1f3483)),_0xbe53f7(0x4,_0x231ef0[_0x50ca90(0x3dc)](_0x1a26fa[_0x50ca90(0x373)])),_0xbe53f7(0x5,_0x231ef0[_0x50ca90(0x3dc)](_0x4a55a4)),_0xbe53f7(0x6,_0x3e87ff[_0x50ca90(0x2e5)]),_0xbe53f7(0x7,_0x231ef0[_0x50ca90(0x1da)]),_0xbe53f7(0x8,_0x231ef0[_0x50ca90(0x16c)])],_0x24341e);var _0x19889f=Object['getOwnPropertyDescriptor'],_0x53189d=(_0x574075,_0x384439,_0x1e4905,_0x46abf0)=>{const _0x36bfa9=_0x50ca90;for(var _0x49cd66=_0x46abf0>0x1?void 0x0:_0x46abf0?_0x19889f(_0x384439,_0x1e4905):_0x384439,_0x561e03=_0x574075[_0x36bfa9(0x1f3)]-0x1,_0x30ca87;_0x561e03>=0x0;_0x561e03--)(_0x30ca87=_0x574075[_0x561e03])&&(_0x49cd66=_0x30ca87(_0x49cd66)||_0x49cd66);return _0x49cd66;},_0x2f16ce=(_0x108449,_0x266ba3)=>(_0x80a0e3,_0x2edb43)=>_0x266ba3(_0x80a0e3,_0x2edb43,_0x108449);const _0x34163f=0x12c,_0x57ac26=0x64,_0x46c744=()=>{let _0x4dc2c5=[],_0x49e1d9=!0x1;return _0xe40f35=>{const _0x10f4ad=_0x5017;_0x4dc2c5[_0x10f4ad(0x31f)](_0xe40f35),_0x49e1d9||(_0x49e1d9=!0x0,setTimeout(()=>{const _0x5de31a=_0x10f4ad;_0x4dc2c5[_0x5de31a(0x3d1)](_0x56ca96=>_0x56ca96()),_0x4dc2c5=[],_0x49e1d9=!0x1;}));};};let _0x5ed697=class extends _0x231ef0['RxDisposable']{constructor(_0x121f84,_0x502cbc,_0x59e48f,_0x3f923b,_0x48b06f,_0x1f9eea,_0xe894e6,_0x5d9357){const _0x466f56=_0x50ca90;super(),_0x39bb06(this,_0x466f56(0x2a0),!0x1),_0x39bb06(this,_0x466f56(0x1c5),!0x1),_0x39bb06(this,_0x466f56(0x33f),new _0x2c2b06['BehaviorSubject'](new Map())),_0x39bb06(this,_0x466f56(0x3c4),this[_0x466f56(0x33f)][_0x466f56(0x2bf)]()),_0x39bb06(this,_0x466f56(0x282),new _0x2c2b06[(_0x466f56(0x2e2))]([])),_0x39bb06(this,'roomMembers$',this[_0x466f56(0x282)][_0x466f56(0x34e)](_0x2c2b06[_0x466f56(0x397)](_0x34163f))),_0x39bb06(this,'_updateLocalCursor',_0x231ef0[_0x466f56(0x222)]((_0xc2218b,_0x369bd3)=>{const _0x370130=_0x466f56,_0x48ec74={'eventID':_0x3e87ff[_0x370130(0x2d0)][_0x370130(0x39a)],'data':{'unitID':this['unitID'],'memberID':this[_0x370130(0x3c8)][_0x370130(0x209)](),'selection':_0x11ba27[_0x370130(0x38f)](_0xc2218b,_0x369bd3['range'])}};this[_0x370130(0x3c8)][_0x370130(0x1c8)](_0x48ec74,this[_0x370130(0x1ef)]);},_0x57ac26)),(this[_0x466f56(0x1ef)]=_0x121f84,this[_0x466f56(0x3c8)]=_0x502cbc,this[_0x466f56(0x1d3)]=_0x59e48f,this[_0x466f56(0x239)]=_0x3f923b,this[_0x466f56(0x398)]=_0x48b06f,this[_0x466f56(0x361)]=_0x1f9eea,this[_0x466f56(0x3da)]=_0xe894e6,this[_0x466f56(0x1ae)]=_0x5d9357);}get[_0x50ca90(0x30b)](){const _0x11dbd5=_0x50ca90;return this[_0x11dbd5(0x33f)][_0x11dbd5(0x349)]();}get[_0x50ca90(0x28f)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x4dc0cc=_0x50ca90;super[_0x4dc0cc(0x202)](),this[_0x4dc0cc(0x33f)][_0x4dc0cc(0x272)](new Map()),this[_0x4dc0cc(0x33f)][_0x4dc0cc(0x25e)](),this[_0x4dc0cc(0x282)][_0x4dc0cc(0x272)]([]),this[_0x4dc0cc(0x282)][_0x4dc0cc(0x25e)]();}['init'](){const _0x1378dd=_0x50ca90;this['_init']||(this[_0x1378dd(0x1c5)]=!0x0,this[_0x1378dd(0x3c8)][_0x1378dd(0x338)][_0x1378dd(0x34e)](_0x2c2b06['takeUntil'](this[_0x1378dd(0x324)]))['subscribe'](_0x574803=>{const _0x36b6a0=_0x1378dd;_0x574803===_0x1a26fa[_0x36b6a0(0x290)][_0x36b6a0(0x2ba)]?this[_0x36b6a0(0x23b)]():this[_0x36b6a0(0x3c3)]();}),this['_session'][_0x1378dd(0x1e0)][_0x1378dd(0x34e)](_0x2c2b06[_0x1378dd(0x376)](this[_0x1378dd(0x324)]))[_0x1378dd(0x2fc)](_0x26838a=>{const _0x798ce0=_0x1378dd,_0x39d0d3=_0x26838a[_0x798ce0(0x240)];_0x39d0d3===_0x3e87ff[_0x798ce0(0x2d0)][_0x798ce0(0x39a)]&&this[_0x798ce0(0x1d8)](_0x26838a),_0x39d0d3===_0x3e87ff['CollaborationEvent'][_0x798ce0(0x227)]&&this[_0x798ce0(0x299)](_0x26838a);}),this[_0x1378dd(0x26c)](),this['disposeWithMe'](this[_0x1378dd(0x3da)][_0x1378dd(0x2dd)](_0x434744=>{const _0x352809=_0x1378dd;if(this[_0x352809(0x2a0)]&&_0x434744['id']===_0xb506f2[_0x352809(0x1af)]['id']&&_0x434744['params'][_0x352809(0x17c)]===this[_0x352809(0x1ef)]){const _0x42062e=_0x434744['params'];this[_0x352809(0x161)](_0x42062e['subUnitId'],_0x42062e['selections'][0x0]);}})));}[_0x50ca90(0x1d8)](_0x335a30){const _0x5be773=_0x50ca90;var _0x29e3ea,_0x11b2d3;const {memberID:_0x5b117b,selection:_0x1fe6f7}=_0x335a30[_0x5be773(0x1be)],{sheetName:_0x540d27,range:_0x46f651}=_0x11ba27[_0x5be773(0x3a2)](_0x1fe6f7),_0x519e4e={'name':(_0x11b2d3=(_0x29e3ea=this[_0x5be773(0x398)]['getMember'](this[_0x5be773(0x1ef)],_0x5b117b))==null?void 0x0:_0x29e3ea[_0x5be773(0x1b1)])!=null?_0x11b2d3:'Unknown\x20user','range':this[_0x5be773(0x3c7)](_0x540d27,_0x46f651),'sheetID':_0x540d27,'color':this[_0x5be773(0x239)][_0x5be773(0x330)](_0x5b117b),'selection':_0x1fe6f7},_0xd51b39=this[_0x5be773(0x30b)];_0xd51b39['set'](_0x5b117b,_0x519e4e),this[_0x5be773(0x33f)][_0x5be773(0x272)](_0xd51b39);}['_onCursorDelete'](_0x16eabf){const _0x531f3a=_0x50ca90,{memberID:_0x50a4ef}=_0x16eabf[_0x531f3a(0x1be)],_0xf26f01=this[_0x531f3a(0x30b)];_0xf26f01[_0x531f3a(0x23f)](_0x50a4ef),this[_0x531f3a(0x33f)][_0x531f3a(0x272)](_0xf26f01);}['_getMergeRange'](_0xfe2cf1,_0x52aae9){const _0x1cd277=_0x50ca90;var _0x29473c,_0x23a1f2;const _0x262c7a=(_0x23a1f2=(_0x29473c=this[_0x1cd277(0x361)]['getUniverSheetInstance'](this[_0x1cd277(0x1ef)]))==null?void 0x0:_0x29473c['getSheetBySheetId'](_0xfe2cf1))==null?void 0x0:_0x23a1f2[_0x1cd277(0x1cb)]();return(_0x262c7a==null?void 0x0:_0x262c7a[_0x1cd277(0x1c0)](_0x3bd494=>_0x231ef0[_0x1cd277(0x2a4)][_0x1cd277(0x20c)](_0x3bd494,_0x52aae9)))||_0x52aae9;}[_0x50ca90(0x26c)](){const _0xb4c22b=_0x50ca90,_0x2fa48e=new _0x231ef0[(_0xb4c22b(0x1c2))](),_0x254a13=_0x46c744(),_0x4e389d=()=>{const _0x1706fb=_0xb4c22b;_0x2fa48e[_0x1706fb(0x202)]();const _0x50b1f4=(_0x208401,_0x3b4788,_0x4f2092,_0x25393d)=>{const _0x5cbf1b=_0x1706fb;let _0x5e15f6=[];switch(_0x208401['id']){case _0xb506f2[_0x5cbf1b(0x206)][_0x5cbf1b(0x333)]:{_0x5e15f6=_0xb506f2['handleDeleteRangeMoveLeft'](_0x208401,_0x25393d);break;}case _0xb506f2[_0x5cbf1b(0x206)]['DeleteRangeMoveUpCommandId']:{_0x5e15f6=_0xb506f2[_0x5cbf1b(0x38a)](_0x208401,_0x25393d);break;}case _0xb506f2['EffectRefRangId']['InsertColCommandId']:{_0x5e15f6=_0xb506f2[_0x5cbf1b(0x181)](_0x208401,_0x25393d);break;}case _0xb506f2[_0x5cbf1b(0x206)][_0x5cbf1b(0x22c)]:{_0x5e15f6=_0xb506f2[_0x5cbf1b(0x25c)](_0x208401,_0x25393d);break;}case _0xb506f2[_0x5cbf1b(0x206)][_0x5cbf1b(0x25b)]:{_0x5e15f6=_0xb506f2['handleInsertRangeMoveRight'](_0x208401,_0x25393d);break;}case _0xb506f2[_0x5cbf1b(0x206)]['InsertRowCommandId']:{_0x5e15f6=_0xb506f2[_0x5cbf1b(0x359)](_0x208401,_0x25393d);break;}case _0xb506f2[_0x5cbf1b(0x206)]['MoveRangeCommandId']:{_0x5e15f6=_0xb506f2[_0x5cbf1b(0x300)](_0x208401,_0x25393d);break;}case _0xb506f2[_0x5cbf1b(0x206)][_0x5cbf1b(0x3bc)]:{_0x5e15f6=_0xb506f2[_0x5cbf1b(0x377)](_0x208401,_0x25393d);break;}case _0xb506f2[_0x5cbf1b(0x206)][_0x5cbf1b(0x2c5)]:{_0x5e15f6=_0xb506f2[_0x5cbf1b(0x3c5)](_0x208401,_0x25393d);break;}}const _0x47a4bf=_0xb506f2[_0x5cbf1b(0x36f)](_0x5e15f6,_0x25393d),_0x2a9b7a=this['cursorInfo'][_0x5cbf1b(0x1cd)](_0x3b4788);if(_0x2a9b7a&&_0x47a4bf){const _0x5e3b83={..._0x2a9b7a,'range':_0x47a4bf};this['cursorInfo'][_0x5cbf1b(0x284)](_0x3b4788,_0x5e3b83),_0x254a13(()=>{const _0xbc44ab=_0x5cbf1b,_0x54fca8=this[_0xbc44ab(0x1ae)][_0xbc44ab(0x30f)](_0x47a4bf,_0x2d9ee8=>(_0x54fca8[_0xbc44ab(0x202)](),_0x50b1f4(_0x2d9ee8,_0x3b4788,_0x4f2092,_0x47a4bf)));_0x2fa48e['add'](_0x54fca8);});}return{'redos':[],'undos':[]};};this[_0x1706fb(0x30b)]['forEach']((_0x19b17b,_0x5f4328)=>{const _0x310e3e=_0x1706fb,{range:_0x378386,sheetID:_0x452ae4}=_0x19b17b,_0xde884e=this[_0x310e3e(0x1ae)][_0x310e3e(0x30f)](_0x378386,_0x55b663=>(_0xde884e[_0x310e3e(0x202)](),_0x50b1f4(_0x55b663,_0x5f4328,_0x452ae4,_0x378386)));_0x2fa48e[_0x310e3e(0x2ed)](_0xde884e);});};this[_0xb4c22b(0x1ce)](_0x231ef0['toDisposable'](this[_0xb4c22b(0x33f)][_0xb4c22b(0x2fc)](()=>{_0x4e389d();})));}[_0x50ca90(0x23b)](){const _0x272ac9=_0x50ca90;var _0x1807c9,_0x569be7;if(this['_online']=!0x0,((_0x1807c9=this[_0x272ac9(0x361)][_0x272ac9(0x35a)]())==null?void 0x0:_0x1807c9[_0x272ac9(0x1a2)]())!==this[_0x272ac9(0x1ef)])return;const _0x36f1c7=(_0x569be7=this[_0x272ac9(0x1d3)][_0x272ac9(0x1cd)](_0xb506f2[_0x272ac9(0x22a)])[_0x272ac9(0x344)]())==null?void 0x0:_0x569be7[0x0],_0x1ff647=this['_univerInstanceService'][_0x272ac9(0x3af)](_0x231ef0[_0x272ac9(0x303)]['UNIVER_SHEET'])[_0x272ac9(0x1c7)]();_0x36f1c7&&_0x1ff647&&this[_0x272ac9(0x161)](_0x1ff647['getSheetId'](),_0x36f1c7);}[_0x50ca90(0x3c3)](){const _0x2454a7=_0x50ca90;this[_0x2454a7(0x2a0)]=!0x1;}};_0x5ed697=_0x53189d([_0x2f16ce(0x2,_0x231ef0[_0x50ca90(0x3dc)](_0x231ef0['Injector'])),_0x2f16ce(0x3,_0x231ef0[_0x50ca90(0x3dc)](_0x1f3483)),_0x2f16ce(0x4,_0x231ef0[_0x50ca90(0x3dc)](_0x1a26fa['MemberService'])),_0x2f16ce(0x5,_0x231ef0[_0x50ca90(0x1da)]),_0x2f16ce(0x6,_0x231ef0[_0x50ca90(0x16c)]),_0x2f16ce(0x7,_0x231ef0[_0x50ca90(0x3dc)](_0xb506f2[_0x50ca90(0x3e0)]))],_0x5ed697);var _0x59d198=Object[_0x50ca90(0x20d)],_0x34f1ff=(_0x451c43,_0x255ed3,_0x4a5e9c,_0xad42ff)=>{for(var _0x4efcce=_0xad42ff>0x1?void 0x0:_0xad42ff?_0x59d198(_0x255ed3,_0x4a5e9c):_0x255ed3,_0x2518a9=_0x451c43['length']-0x1,_0x44c73e;_0x2518a9>=0x0;_0x2518a9--)(_0x44c73e=_0x451c43[_0x2518a9])&&(_0x4efcce=_0x44c73e(_0x4efcce)||_0x4efcce);return _0x4efcce;},_0x50dcaa=(_0x2e32c8,_0x3521d9)=>(_0x503ad6,_0x3884b7)=>_0x3521d9(_0x503ad6,_0x3884b7,_0x2e32c8);let _0x5d2a0e=class extends _0x231ef0[_0x50ca90(0x2ff)]{constructor(_0x26e9ed,_0x2f2d84,_0x1bd622){const _0x4c0235=_0x50ca90;super(),_0x39bb06(this,'_entities',new Map()),_0x39bb06(this,_0x4c0235(0x2e8),new _0x2c2b06[(_0x4c0235(0x258))]()),(this[_0x4c0235(0x361)]=_0x26e9ed,this[_0x4c0235(0x1d3)]=_0x2f2d84,this[_0x4c0235(0x242)]=_0x1bd622,this[_0x4c0235(0x1c5)]());}[_0x50ca90(0x202)](){const _0x5a33f8=_0x50ca90;super[_0x5a33f8(0x202)](),this[_0x5a33f8(0x2e8)]['complete'](),this[_0x5a33f8(0x165)][_0x5a33f8(0x3d1)](_0x57c1a3=>_0x57c1a3[_0x5a33f8(0x202)]());}[_0x50ca90(0x280)](_0x19cec1){const _0x5b1ff8=_0x50ca90;return this[_0x5b1ff8(0x165)]['has'](_0x19cec1)?this[_0x5b1ff8(0x165)][_0x5b1ff8(0x1cd)](_0x19cec1)['cursorInfo$']:this['_entityInit$'][_0x5b1ff8(0x34e)](_0x2c2b06['filter'](_0x2d87cb=>_0x2d87cb[_0x5b1ff8(0x1ef)]===_0x19cec1),_0x2c2b06['switchMap'](_0x7e8f21=>_0x7e8f21[_0x5b1ff8(0x3c4)]));}[_0x50ca90(0x1c5)](){const _0x2cd28d=_0x50ca90;this[_0x2cd28d(0x361)][_0x2cd28d(0x2d1)](_0x231ef0[_0x2cd28d(0x303)]['UNIVER_SHEET'])[_0x2cd28d(0x34e)](_0x2c2b06['takeUntil'](this[_0x2cd28d(0x324)]))[_0x2cd28d(0x2fc)](async _0x6b59af=>{const _0x3b2d00=_0x2cd28d,_0x25dc80=_0x6b59af[_0x3b2d00(0x1a2)](),_0x444ff=await this[_0x3b2d00(0x39f)](_0x25dc80);this['_entityInit$']['next'](_0x444ff),this['_entities']['set'](_0x25dc80,_0x444ff);}),this['_univerInstanceService'][_0x2cd28d(0x2d1)](_0x231ef0['UniverInstanceType'][_0x2cd28d(0x17b)])[_0x2cd28d(0x34e)](_0x2c2b06[_0x2cd28d(0x376)](this[_0x2cd28d(0x324)]))['pipe'](_0x2c2b06[_0x2cd28d(0x2c6)](_0x3aef9e=>!_0x3aef9e[_0x2cd28d(0x1a2)]()[_0x2cd28d(0x172)]('__')))[_0x2cd28d(0x2fc)](async _0x4a49ba=>{const _0x7120eb=_0x2cd28d,_0x36d3a3=_0x4a49ba[_0x7120eb(0x1a2)](),_0x2e4cc2=await this[_0x7120eb(0x1c6)](_0x36d3a3);this['_entityInit$'][_0x7120eb(0x272)](_0x2e4cc2),this['_entities'][_0x7120eb(0x284)](_0x36d3a3,_0x2e4cc2);}),_0x2c2b06[_0x2cd28d(0x36a)](this['_univerInstanceService'][_0x2cd28d(0x2c9)](_0x231ef0[_0x2cd28d(0x303)][_0x2cd28d(0x17b)]),this[_0x2cd28d(0x361)]['getTypeOfUnitDisposed$'](_0x231ef0['UniverInstanceType'][_0x2cd28d(0x2cd)]))['pipe'](_0x2c2b06['takeUntil'](this[_0x2cd28d(0x324)]))['subscribe'](_0x1ac7b9=>{const _0x404b32=_0x2cd28d,_0x57ee27=_0x1ac7b9[_0x404b32(0x1a2)](),_0x3dd5a1=this[_0x404b32(0x165)][_0x404b32(0x1cd)](_0x57ee27);_0x3dd5a1&&(_0x3dd5a1['dispose'](),this['_entities'][_0x404b32(0x23f)](_0x57ee27));});}async[_0x50ca90(0x39f)](_0x4e90f0){const _0x5493cf=_0x50ca90,_0x1f25a5=await this[_0x5493cf(0x242)][_0x5493cf(0x1ad)](_0x4e90f0),_0x507ec4=this['_injector'][_0x5493cf(0x210)](_0x5ed697,_0x4e90f0,_0x1f25a5);return _0x507ec4[_0x5493cf(0x2fa)](),_0x507ec4;}async['_startDocCollabCursor'](_0x31e7d8){const _0x1c38dd=_0x50ca90,_0x393e39=await this[_0x1c38dd(0x242)][_0x1c38dd(0x1ad)](_0x31e7d8),_0x197755=this[_0x1c38dd(0x1d3)][_0x1c38dd(0x210)](_0x24341e,_0x31e7d8,_0x393e39);return _0x197755[_0x1c38dd(0x2fa)](),_0x197755;}};_0x5d2a0e=_0x34f1ff([_0x50dcaa(0x0,_0x231ef0[_0x50ca90(0x1da)]),_0x50dcaa(0x1,_0x231ef0['Inject'](_0x231ef0[_0x50ca90(0x2cf)])),_0x50dcaa(0x2,_0x231ef0[_0x50ca90(0x3dc)](_0x1a26fa[_0x50ca90(0x362)]))],_0x5d2a0e);const _0x5cfded=0x14,_0x377424=0xc8,_0x5d55d2=0x4,_0x28f269=0x5;function _0x2fd87d(_0x5864fa,_0x14d339){const _0x16faa3=_0x50ca90;let {radius:_0x200ad5,width:_0x2e464b,height:_0x3efd29}=_0x14d339;_0x200ad5=_0x200ad5!=null?_0x200ad5:0x0,_0x2e464b=_0x2e464b!=null?_0x2e464b:0x1e,_0x3efd29=_0x3efd29!=null?_0x3efd29:0x1e;let _0x8ed4c4=0x0,_0x3e32e6=0x0,_0xaa4c79=0x0;_0x8ed4c4=_0x3e32e6=_0xaa4c79=Math['min'](_0x200ad5,_0x2e464b/0x2,_0x3efd29/0x2),_0x5864fa[_0x16faa3(0x382)](),_0x5864fa[_0x16faa3(0x38c)](_0x8ed4c4,0x0),_0x5864fa[_0x16faa3(0x2a6)](_0x2e464b-_0x3e32e6,0x0),_0x5864fa[_0x16faa3(0x278)](_0x2e464b-_0x3e32e6,_0x3e32e6,_0x3e32e6,Math['PI']*0x3/0x2,0x0,!0x1),_0x5864fa[_0x16faa3(0x2a6)](_0x2e464b,_0x3efd29-_0xaa4c79),_0x5864fa[_0x16faa3(0x278)](_0x2e464b-_0xaa4c79,_0x3efd29-_0xaa4c79,_0xaa4c79,0x0,Math['PI']/0x2,!0x1),_0x5864fa[_0x16faa3(0x2a6)](0x0,_0x3efd29),_0x5864fa[_0x16faa3(0x2a6)](0x0,_0x8ed4c4),_0x5864fa[_0x16faa3(0x278)](_0x8ed4c4,_0x8ed4c4,_0x8ed4c4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5864fa[_0x16faa3(0x307)](),_0x14d339[_0x16faa3(0x252)]&&(_0x5864fa[_0x16faa3(0x199)](),_0x5864fa[_0x16faa3(0x248)]=_0x14d339[_0x16faa3(0x252)],_0x14d339[_0x16faa3(0x3cc)]===_0x16faa3(0x214)?_0x5864fa[_0x16faa3(0x252)]('evenodd'):_0x5864fa['fill'](),_0x5864fa['restore']());}class _0xe6ff52 extends _0x3edfd3['Shape']{constructor(_0x5353f4,_0x333b64){const _0x28a3f6=_0x50ca90;super(_0x5353f4,_0x333b64),_0x39bb06(this,_0x28a3f6(0x173)),_0x39bb06(this,_0x28a3f6(0x39d)),(this['color']=_0x333b64==null?void 0x0:_0x333b64['color'],this[_0x28a3f6(0x39d)]=_0x333b64==null?void 0x0:_0x333b64[_0x28a3f6(0x39d)]);}static['drawWith'](_0x5d6001,_0x8fc4e1){const _0xb457f7=_0x50ca90,{text:_0x1adfa6,color:_0x1d1d4e}=_0x8fc4e1;_0x5d6001['save'](),_0x5d6001[_0xb457f7(0x250)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x45bacf=_0x5d6001[_0xb457f7(0x32b)](_0x1adfa6)['width'],_0x435a73=Math['min'](_0x45bacf+0x2*_0x5d55d2,_0x377424);_0x2fd87d(_0x5d6001,{'height':_0x5cfded,'radius':0x4,'width':_0x435a73,'fill':_0x1d1d4e}),_0x5d6001[_0xb457f7(0x248)]=_0xb457f7(0x216);const _0x1a35b5=_0x5d55d2,_0x1d18f3=_0x5cfded-_0x28f269,_0xb653cd=_0x377424-0x2*_0x5d55d2;if(_0x45bacf>_0xb653cd){let _0x1e11fb='',_0x11c9a7=0x0;for(const _0x49b4ec of _0x1adfa6){const _0x2727d9=_0x5d6001[_0xb457f7(0x32b)](_0x49b4ec)[_0xb457f7(0x380)];if(_0x11c9a7+_0x2727d9<=_0xb653cd-_0x5d6001[_0xb457f7(0x32b)](_0xb457f7(0x2d4))[_0xb457f7(0x380)])_0x1e11fb+=_0x49b4ec,_0x11c9a7+=_0x2727d9;else{_0x1e11fb+='...';break;}}_0x5d6001[_0xb457f7(0x166)](_0x1e11fb,_0x1a35b5,_0x1d18f3);}else _0x5d6001['fillText'](_0x1adfa6,_0x1a35b5,_0x1d18f3);_0x5d6001['restore']();}[_0x50ca90(0x3e5)](_0x46f390){const _0x2f33c7=_0x50ca90;_0xe6ff52[_0x2f33c7(0x35f)](_0x46f390,this);}}const _0x5eb5c3=_0x50ca90(0x260),_0x336061=_0x50ca90(0x215),_0x3bbfe7=_0x50ca90(0x196),_0x3e62da=0x6,_0x594a0d=1.5,_0x55514a=0x4,_0x2aab28=1.5,_0x16e929='rgba(255,\x20255,\x20255,\x200.01)';class _0x318650{constructor(_0x5b8a04,_0x15611e,_0x115dc4,_0x415c1c){const _0x58dabc=_0x50ca90;_0x39bb06(this,_0x58dabc(0x393),[]),_0x39bb06(this,_0x58dabc(0x306),null),_0x39bb06(this,_0x58dabc(0x287),null),_0x39bb06(this,_0x58dabc(0x313),null),_0x39bb06(this,'_hideTimer',null),_0x39bb06(this,_0x58dabc(0x1ed),null),(this[_0x58dabc(0x2da)]=_0x5b8a04,this[_0x58dabc(0x363)]=_0x15611e,this[_0x58dabc(0x329)]=_0x115dc4,this[_0x58dabc(0x1bd)]=_0x415c1c,this[_0x58dabc(0x2c3)]());}set['_hover'](_0x47b81a){const _0x239654=_0x50ca90;_0x47b81a?(this[_0x239654(0x313)]&&this['_anchorDot'][_0x239654(0x1ff)](),this[_0x239654(0x287)]&&this['_textBubble']['show']()):(this[_0x239654(0x313)]&&this[_0x239654(0x313)][_0x239654(0x3e1)](),this[_0x239654(0x287)]&&this[_0x239654(0x287)]['hide']());}[_0x50ca90(0x202)](){const _0x30e795=_0x50ca90;for(const _0x3fe877 of this[_0x30e795(0x393)])_0x3fe877['dispose']();this['_textBubble']&&this[_0x30e795(0x287)][_0x30e795(0x202)](),this[_0x30e795(0x313)]&&this[_0x30e795(0x313)]['dispose'](),this[_0x30e795(0x306)]&&this['_anchor'][_0x30e795(0x202)](),this[_0x30e795(0x1ed)]&&this[_0x30e795(0x1ed)]();}[_0x50ca90(0x2c3)](){const _0x322ccd=_0x50ca90;var _0x539d38;const {_docSkeleton:_0x285c78,_document:_0x43681a}=this,{color:_0x468573,name:_0x37c928,ranges:_0x113c62}=this[_0x322ccd(0x2da)],_0x60e8da=_0x43681a[_0x322ccd(0x346)](),{docsLeft:_0x1190b9,docsTop:_0xf35c39}=_0x60e8da,_0x2c08a1=new _0x8a3f16['NodePositionConvertToCursor'](_0x60e8da,_0x285c78);for(const {startOffset:_0x2ebb88,endOffset:_0x5ab3c0,rangeType:_0x336fac,segmentId:_0x47f5a2,segmentPage:_0x4084c2,collapsed:_0x2b187c,isActive:_0x5083eb}of _0x113c62){const _0xa87e37=_0x285c78[_0x322ccd(0x323)](_0x2ebb88,!0x0,_0x47f5a2,_0x4084c2);let _0x2691f7=_0x285c78[_0x322ccd(0x323)](_0x5ab3c0,!0x0,_0x47f5a2,_0x4084c2);if(_0x2691f7==null&&(_0x2691f7=_0x285c78[_0x322ccd(0x323)](_0x5ab3c0-0x1,!0x1,_0x47f5a2,_0x4084c2)),_0x5083eb){const {contentBoxPointGroup:_0x2863cd}=_0x2c08a1['getRangePointData'](_0x2691f7,_0x2691f7);if(_0x2863cd[_0x322ccd(0x1f3)]===0x0)continue;this[_0x322ccd(0x23e)](_0x468573,_0x2863cd,_0x1190b9,_0xf35c39,_0x37c928),this[_0x322ccd(0x1ed)]=this[_0x322ccd(0x223)]();}if(_0xa87e37&&_0x2691f7){if(_0x336fac===_0x231ef0[_0x322ccd(0x3ac)]['RECT']){const _0x11e940=new _0x8a3f16[(_0x322ccd(0x2a9))](_0x60e8da,_0x285c78),{pointGroup:_0xc07cb5}=(_0x539d38=_0x11e940['getRangePointData'](_0xa87e37,_0x2691f7))!=null?_0x539d38:{};if(_0xc07cb5==null||_0xc07cb5[_0x322ccd(0x1f3)]===0x0)continue;this[_0x322ccd(0x37a)](_0x468573,_0xc07cb5,_0x1190b9,_0xf35c39);}else{if(!_0x2b187c){const {borderBoxPointGroup:_0x469a7f}=_0x2c08a1['getRangePointData'](_0xa87e37,_0x2691f7);if(_0x469a7f['length']===0x0)continue;this['_drawTextRange'](_0x468573,_0x469a7f,_0x1190b9,_0xf35c39);}}}}}[_0x50ca90(0x23e)](_0x14672a,_0x332213,_0x3b4557,_0x4d0ceb,_0x4fd593){const _0x455bf2=_0x50ca90,_0x15fb1f=this['_getAnchorBounding'](_0x332213),{left:_0x27284a,top:_0x1dbcb2,height:_0x875149}=_0x15fb1f,_0x1fde2d=this[_0x455bf2(0x270)](),_0x13018e=_0x2aab28/_0x1fde2d,_0x2f3c48=new _0x3edfd3[(_0x455bf2(0x392))](_0x5eb5c3+_0x231ef0[_0x455bf2(0x27f)][_0x455bf2(0x2a7)](_0x3e62da),{'left':_0x27284a+_0x3b4557-_0x13018e,'top':_0x1dbcb2+_0x4d0ceb,'height':_0x875149,'width':_0x594a0d,'fill':_0x14672a||_0x3edfd3[_0x455bf2(0x3be)](_0x231ef0[_0x455bf2(0x2b5)][_0x455bf2(0x31b)],0x0),'strokeWidth':_0x13018e,'stroke':_0x16e929,'evented':!0x0});this[_0x455bf2(0x306)]=_0x2f3c48,this['_scene'][_0x455bf2(0x2df)](_0x2f3c48,_0x8a3f16[_0x455bf2(0x334)]);const _0x2369df=new _0x3edfd3[(_0x455bf2(0x392))](_0x5eb5c3+_0x231ef0[_0x455bf2(0x27f)][_0x455bf2(0x2a7)](_0x3e62da),{'left':_0x27284a+_0x3b4557-_0x13018e,'top':_0x1dbcb2+_0x4d0ceb-_0x55514a/0x2,'height':_0x55514a,'width':_0x55514a,'fill':_0x14672a||_0x3edfd3['getColor'](_0x231ef0['COLORS'][_0x455bf2(0x31b)],0x0),'strokeWidth':0x0,'stroke':_0x14672a||_0x3edfd3[_0x455bf2(0x3be)](_0x231ef0['COLORS'][_0x455bf2(0x31b)],0x0),'evented':!0x1});this[_0x455bf2(0x313)]=_0x2369df,this['_scene'][_0x455bf2(0x2df)](_0x2369df,_0x8a3f16[_0x455bf2(0x334)]);const _0x5cee51=new _0xe6ff52(_0x5eb5c3+_0x231ef0[_0x455bf2(0x27f)]['generateRandomId'](_0x3e62da),{'left':_0x27284a+_0x3b4557-_0x13018e,'top':_0x1dbcb2+_0x4d0ceb-_0x5cfded,'text':_0x4fd593,'color':_0x14672a});this['_textBubble']=_0x5cee51,this['_scene']['addObject'](_0x5cee51,_0x8a3f16[_0x455bf2(0x334)]),this[_0x455bf2(0x3df)]=!0x1;}[_0x50ca90(0x223)](){const _0x11147a=_0x50ca90,_0x2703e8=this[_0x11147a(0x306)][_0x11147a(0x182)][_0x11147a(0x187)](()=>{const _0x17e3f9=_0x11147a;this[_0x17e3f9(0x3df)]=!0x0;}),_0x5e450c=this[_0x11147a(0x306)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x1b9d23=_0x11147a;this[_0x1b9d23(0x354)]&&clearTimeout(this[_0x1b9d23(0x354)]),this[_0x1b9d23(0x354)]=setTimeout(()=>{const _0x185101=_0x1b9d23;this[_0x185101(0x3df)]=!0x1;},0x7d0);});return()=>{const _0x4216ba=_0x11147a;_0x2703e8[_0x4216ba(0x212)](),_0x5e450c[_0x4216ba(0x212)]();};}['_drawTextRange'](_0x4028c4,_0x21f173,_0xcf5cec,_0x467763){const _0x4769a8=_0x50ca90,_0x1ccc62=new _0x231ef0['ColorKit'](_0x4028c4)[_0x4769a8(0x1e6)](0.2)[_0x4769a8(0x1b4)](),_0x9389cd=new _0x3edfd3['RegularPolygon'](_0x336061+_0x231ef0[_0x4769a8(0x27f)][_0x4769a8(0x2a7)](_0x3e62da),{'pointsGroup':_0x21f173,'fill':_0x1ccc62||_0x3edfd3['getColor'](_0x231ef0[_0x4769a8(0x2b5)][_0x4769a8(0x31b)],0.2),'left':_0xcf5cec,'top':_0x467763,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4769a8(0x393)][_0x4769a8(0x31f)](_0x9389cd),this[_0x4769a8(0x363)][_0x4769a8(0x2df)](_0x9389cd,_0x8a3f16[_0x4769a8(0x334)]);}['_drawRectRange'](_0x219f5d,_0x3f91af,_0x229570,_0x201962){const _0x5a5ccd=_0x50ca90,_0xb8d0b1=new _0x231ef0[(_0x5a5ccd(0x34c))](_0x219f5d)[_0x5a5ccd(0x1e6)](0.2)['toRgbString'](),_0x143471=new _0x3edfd3['RegularPolygon'](_0x3bbfe7+_0x231ef0['Tools'][_0x5a5ccd(0x2a7)](_0x3e62da),{'pointsGroup':_0x3f91af,'fill':_0xb8d0b1||_0x3edfd3[_0x5a5ccd(0x3be)](_0x231ef0['COLORS'][_0x5a5ccd(0x31b)],0.2),'left':_0x229570,'top':_0x201962,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5a5ccd(0x393)]['push'](_0x143471),this[_0x5a5ccd(0x363)][_0x5a5ccd(0x2df)](_0x143471,_0x8a3f16[_0x5a5ccd(0x334)]);}[_0x50ca90(0x372)](_0x4d85f5){const _0x2ac0ed=_0x4d85f5[0x0],_0xf871dd=_0x2ac0ed[0x0],_0x1d1d08=_0x2ac0ed[0x2],{x:_0x2e58e6,y:_0x387558}=_0xf871dd,{x:_0xf4b5bb,y:_0x10d100}=_0x1d1d08;return{'left':_0x2e58e6,'top':_0x387558,'width':_0xf4b5bb-_0x2e58e6,'height':_0x10d100-_0x387558};}[_0x50ca90(0x270)](){const _0x3c89cc=_0x50ca90,{scaleX:_0xa2f6dd,scaleY:_0x1f65eb}=this[_0x3c89cc(0x363)][_0x3c89cc(0x39e)]();return Math[_0x3c89cc(0x26f)](_0xa2f6dd,_0x1f65eb);}}var _0x396add=Object[_0x50ca90(0x20d)],_0x10f54=(_0x48ddf2,_0x97368a,_0x1df6bd,_0xbecc31)=>{const _0x569115=_0x50ca90;for(var _0x47f321=_0xbecc31>0x1?void 0x0:_0xbecc31?_0x396add(_0x97368a,_0x1df6bd):_0x97368a,_0x546d8f=_0x48ddf2[_0x569115(0x1f3)]-0x1,_0x446d35;_0x546d8f>=0x0;_0x546d8f--)(_0x446d35=_0x48ddf2[_0x546d8f])&&(_0x47f321=_0x446d35(_0x47f321)||_0x47f321);return _0x47f321;},_0x3997cb=(_0x49840a,_0x2957db)=>(_0x49478f,_0x314d35)=>_0x2957db(_0x49478f,_0x314d35,_0x49840a);let _0x4d74a0=class extends _0x231ef0[_0x50ca90(0x2ff)]{constructor(_0x1e970c,_0x2cb913,_0x54a899,_0x29ac77,_0x816dab){const _0x5abcb6=_0x50ca90;super(),_0x39bb06(this,_0x5abcb6(0x1a0),[]),_0x39bb06(this,_0x5abcb6(0x203),[]),(this['_context']=_0x1e970c,this[_0x5abcb6(0x159)]=_0x2cb913,this[_0x5abcb6(0x2b1)]=_0x54a899,this[_0x5abcb6(0x3da)]=_0x29ac77,this['_themeService']=_0x816dab,this[_0x5abcb6(0x1c5)]());}[_0x50ca90(0x1c5)](){const _0x48a780=_0x50ca90,_0x4c0d0c=this[_0x48a780(0x1f5)]['unitId'],_0x5cf230=this[_0x48a780(0x159)];this['disposeWithMe'](_0x2c2b06[_0x48a780(0x24d)]([this[_0x48a780(0x2b1)][_0x48a780(0x280)](_0x4c0d0c),this[_0x48a780(0x1c9)][_0x48a780(0x15f)]])[_0x48a780(0x34e)](_0x252f2d['map'](([_0x2ab3a1,_0x4361b3])=>({'skeleton':_0x5cf230[_0x48a780(0x156)](),'cursors':[..._0x2ab3a1[_0x48a780(0x16b)]()][_0x48a780(0x1f6)](_0x4d3a06=>({..._0x4d3a06,'color':this[_0x48a780(0x1c9)][_0x48a780(0x358)](_0x4d3a06[_0x48a780(0x173)])}))})))['subscribe'](_0x151bf0=>{const _0x44b80b=_0x48a780;if(this[_0x44b80b(0x2e3)](),_0x151bf0){const {skeleton:_0x3ac423,cursors:_0x1d6f4b}=_0x151bf0;this[_0x44b80b(0x3d2)](_0x3ac423,_0x1d6f4b);}})),this['_initResize'](),this[_0x48a780(0x1b3)]();}[_0x50ca90(0x3d2)](_0x39d67a,_0x2c4e6b){const _0x593a85=_0x50ca90,{scene:_0x3005b5,mainComponent:_0x19e22d}=this[_0x593a85(0x1f5)],_0x278064=_0x2c4e6b[_0x593a85(0x3c6)](_0x57dbe8=>new _0x318650(_0x57dbe8,_0x3005b5,_0x39d67a,_0x19e22d));this[_0x593a85(0x1a0)]=_0x278064,this['_cursors']=_0x2c4e6b;}[_0x50ca90(0x236)](){const _0x46398f=_0x50ca90;this[_0x46398f(0x2e3)]();const {scene:_0x1c29ac,mainComponent:_0x32888c}=this[_0x46398f(0x1f5)],_0x2f6c0a=this[_0x46398f(0x159)]['getSkeleton'](),_0x56c3ef=this[_0x46398f(0x203)][_0x46398f(0x3c6)](_0x5f2f04=>new _0x318650(_0x5f2f04,_0x1c29ac,_0x2f6c0a,_0x32888c));this['_cursorShapes']=_0x56c3ef;}[_0x50ca90(0x2e3)](){const _0x42fec1=_0x50ca90;this[_0x42fec1(0x1a0)][_0x42fec1(0x3d1)](_0x2e16f3=>_0x2e16f3[_0x42fec1(0x202)]()),this[_0x42fec1(0x1a0)]=[];}[_0x50ca90(0x1b3)](){const _0x32e6ae=_0x50ca90,_0x2a57eb=[_0x8a3f16[_0x32e6ae(0x3de)]['id']];this[_0x32e6ae(0x1ce)](this['_commandService'][_0x32e6ae(0x2dd)](_0x16f709=>{const _0xe9bc80=_0x32e6ae;_0x2a57eb[_0xe9bc80(0x3d5)](_0x16f709['id'])&&_0x16f709[_0xe9bc80(0x19a)]['unitId']===this[_0xe9bc80(0x1f5)][_0xe9bc80(0x17c)]&&this[_0xe9bc80(0x236)]();}));}[_0x50ca90(0x220)](){const _0x4bb184=_0x50ca90;this['disposeWithMe'](_0x231ef0['fromEventSubject'](this['_context'][_0x4bb184(0x1c3)][_0x4bb184(0x21e)])[_0x4bb184(0x34e)](_0x252f2d[_0x4bb184(0x2c6)](_0x41f713=>_0x41f713[_0x4bb184(0x163)]===_0x3edfd3[_0x4bb184(0x2bb)][_0x4bb184(0x37d)]),_0x252f2d[_0x4bb184(0x20e)](0x10))[_0x4bb184(0x2fc)](()=>{const _0x4d6241=_0x4bb184;this[_0x4d6241(0x236)]();}));}};_0x4d74a0=_0x10f54([_0x3997cb(0x1,_0x231ef0[_0x50ca90(0x3dc)](_0x44fd1c[_0x50ca90(0x145)])),_0x3997cb(0x2,_0x231ef0[_0x50ca90(0x3dc)](_0x5d2a0e)),_0x3997cb(0x3,_0x231ef0[_0x50ca90(0x16c)]),_0x3997cb(0x4,_0x231ef0['Inject'](_0x231ef0['ThemeService']))],_0x4d74a0);const _0x492ff9=0x1,_0x42f93a=1.5;class _0x1b811f extends _0x3edfd3['Shape']{constructor(_0x406616,_0x32e97a){const _0x1aa605=_0x50ca90;super(_0x406616,_0x32e97a),_0x39bb06(this,_0x1aa605(0x1bc)),_0x39bb06(this,_0x1aa605(0x308),!0x1),_0x39bb06(this,_0x1aa605(0x243)),_0x39bb06(this,_0x1aa605(0x149),''),_0x39bb06(this,_0x1aa605(0x229),_0x1aa605(0x200)),_0x39bb06(this,_0x1aa605(0x353)),(_0x32e97a&&this[_0x1aa605(0x368)](_0x32e97a),this[_0x1aa605(0x182)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x1aa605(0x187)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x190668){const _0x84c969=_0x50ca90;var _0x218651,_0x3793a6,_0x53fc3c,_0x265f86,_0x52d0a4,_0x479b7d;this[_0x84c969(0x1bc)]=(_0x218651=_0x190668[_0x84c969(0x173)])!=null?_0x218651:this[_0x84c969(0x1bc)],this[_0x84c969(0x308)]=(_0x3793a6=_0x190668[_0x84c969(0x24c)])!=null?_0x3793a6:this['_hovered'],this['_range']=(_0x53fc3c=_0x190668[_0x84c969(0x155)])!=null?_0x53fc3c:this[_0x84c969(0x243)],this[_0x84c969(0x149)]=(_0x265f86=_0x190668[_0x84c969(0x1b1)])!=null?_0x265f86:this[_0x84c969(0x149)],this[_0x84c969(0x229)]=(_0x52d0a4=_0x190668[_0x84c969(0x288)])!=null?_0x52d0a4:this['_labelPosition'],this[_0x84c969(0x353)]=(_0x479b7d=_0x190668[_0x84c969(0x16a)])!=null?_0x479b7d:this[_0x84c969(0x353)],this[_0x84c969(0x279)]({'width':_0x190668[_0x84c969(0x380)],'height':_0x190668[_0x84c969(0x304)]});}[_0x50ca90(0x1d9)](_0x1a8f21){const _0x56afb2=_0x50ca90,{row:_0x5c1e39,column:_0x4ec094}=_0x1a8f21;if(_0x5c1e39>=this[_0x56afb2(0x243)][_0x56afb2(0x2ab)]&&_0x5c1e39<=this[_0x56afb2(0x243)][_0x56afb2(0x350)]&&_0x4ec094>=this[_0x56afb2(0x243)][_0x56afb2(0x3d0)]&&_0x4ec094<=this[_0x56afb2(0x243)][_0x56afb2(0x20b)]){this[_0x56afb2(0x368)]({'hovered':!0x0});return;}this[_0x56afb2(0x368)]({'hovered':!0x1});}['triggerDblclick'](_0x27fbf3){return!0x1;}[_0x50ca90(0x3e5)](_0x3158d7){const _0x3751ab=_0x50ca90;_0x3edfd3[_0x3751ab(0x392)][_0x3751ab(0x35f)](_0x3158d7,{'width':this[_0x3751ab(0x380)],'height':this[_0x3751ab(0x304)],'strokeWidth':_0x42f93a,'stroke':this[_0x3751ab(0x1bc)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x3158d7[_0x3751ab(0x199)](),_0x3158d7[_0x3751ab(0x339)](0x1,0x0,0x0,0x1,this['width'],this[_0x3751ab(0x229)]===_0x3751ab(0x1e2)?0x0:-0x14),_0xe6ff52[_0x3751ab(0x35f)](_0x3158d7,{'text':this[_0x3751ab(0x149)],'color':this[_0x3751ab(0x1bc)]}),_0x3158d7[_0x3751ab(0x29b)]());}}var _0x146dc2=Object[_0x50ca90(0x20d)],_0x285cf5=(_0x86f273,_0x176daa,_0x3b0d69,_0x4c129d)=>{for(var _0xa5ce40=_0x4c129d>0x1?void 0x0:_0x4c129d?_0x146dc2(_0x176daa,_0x3b0d69):_0x176daa,_0x133653=_0x86f273['length']-0x1,_0x539bb8;_0x133653>=0x0;_0x133653--)(_0x539bb8=_0x86f273[_0x133653])&&(_0xa5ce40=_0x539bb8(_0xa5ce40)||_0xa5ce40);return _0xa5ce40;},_0x43684a=(_0x2de1,_0x3ac3c7)=>(_0x4f9578,_0x38a1c5)=>_0x3ac3c7(_0x4f9578,_0x38a1c5,_0x2de1);const _0x4a3b7a=0x1389;let _0x488cd5=class extends _0x231ef0['RxDisposable']{constructor(_0x1b4698,_0x37b334,_0x344ae7,_0x4ba6da){const _0x50ecea=_0x50ca90;super(),_0x39bb06(this,_0x50ecea(0x203),new Set()),_0x39bb06(this,_0x50ecea(0x2ec),null),(this['_context']=_0x1b4698,this['_sheetSkeletonManagerService']=_0x37b334,this['_collabCursorController']=_0x344ae7,this['_themeService']=_0x4ba6da,this[_0x50ecea(0x1c5)]());}['_init'](){const _0x2350bc=_0x50ca90;this[_0x2350bc(0x2eb)]['currentSkeleton$'][_0x2350bc(0x34e)](_0x252f2d[_0x2350bc(0x376)](this['dispose$']),_0x252f2d[_0x2350bc(0x2cc)](_0x463c08=>{const _0x41df5f=_0x2350bc;if(_0x463c08){const _0x278645=_0x463c08[_0x41df5f(0x34b)];return _0x2c2b06[_0x41df5f(0x24d)](this[_0x41df5f(0x2b1)]['getCollabCursors$'](this[_0x41df5f(0x1f5)][_0x41df5f(0x17c)]),this[_0x41df5f(0x1c9)][_0x41df5f(0x15f)])['pipe'](_0x252f2d['map'](([_0x112fed,_0x4bead6])=>{const _0x4fec09=_0x41df5f,_0x329786=new Map();return _0x112fed[_0x4fec09(0x3d1)]((_0x2467cf,_0x3300c6)=>{const _0x11c377=_0x4fec09;if(_0x2467cf['sheetID']===_0x278645){const _0x29a6a2={..._0x2467cf};_0x29a6a2[_0x11c377(0x173)]=this[_0x11c377(0x1c9)][_0x11c377(0x358)](_0x2467cf['color']),_0x329786[_0x11c377(0x284)](_0x3300c6,_0x29a6a2);}}),{'skeleton':_0x463c08,'cursors':_0x329786};}));}return _0x2c2b06['of']({'skeleton':null,'cursors':new Map()});}))[_0x2350bc(0x2fc)](({skeleton:_0x432473,cursors:_0x5488f7})=>{const _0x26498d=_0x2350bc;this[_0x26498d(0x2e3)](),_0x432473&&this[_0x26498d(0x3d2)](_0x432473,_0x5488f7);}),this[_0x2350bc(0x2eb)][_0x2350bc(0x347)]['subscribe'](_0x427a76=>{const _0x1521a6=_0x2350bc;if(_0x427a76==null)return;const {skeleton:_0x2d79bc}=_0x427a76,{scene:_0x373ca6}=this['_context'];_0x373ca6['onPointerMove$'][_0x1521a6(0x187)](_0x231ef0['debounce'](_0x3323f1=>{const _0x36c1b5=_0x1521a6;var _0x153444,_0x56313e;const {offsetX:_0xd1c75,offsetY:_0x233193}=_0x3323f1,{x:_0x56820a,y:_0x1df797}=_0x373ca6[_0x36c1b5(0x18f)](_0x3edfd3[_0x36c1b5(0x18b)][_0x36c1b5(0x23d)]([_0xd1c75,_0x233193])),{scaleX:_0x44c94f,scaleY:_0x39d298}=_0x373ca6['getAncestorScale'](),_0x3e1013=_0x373ca6[_0x36c1b5(0x3bb)](_0x3edfd3['SHEET_VIEWPORT_KEY'][_0x36c1b5(0x179)]),_0x4b0124=_0x373ca6[_0x36c1b5(0x348)](_0x3edfd3[_0x36c1b5(0x18b)][_0x36c1b5(0x23d)]([_0x56820a,_0x1df797]),_0x3e1013),_0x21bdb1=_0x2d79bc[_0x36c1b5(0x22e)](_0xd1c75,_0x233193,_0x44c94f,_0x39d298,_0x4b0124);((_0x153444=this[_0x36c1b5(0x2ec)])==null?void 0x0:_0x153444[_0x36c1b5(0x28b)])===_0x21bdb1[_0x36c1b5(0x28b)]&&((_0x56313e=this['_lastPointer'])==null?void 0x0:_0x56313e[_0x36c1b5(0x169)])===_0x21bdb1[_0x36c1b5(0x169)]||this['_cursors']['forEach'](_0x16fcb6=>{const _0x5cce2d=_0x36c1b5;_0x16fcb6[_0x5cce2d(0x1d9)](_0x21bdb1);});},0x64));});}['_updateCollabCursors'](_0x37c48b,_0x356323){const _0x127dd2=_0x50ca90;var _0x5b4bb9;const _0x531383=(_0x5b4bb9=this[_0x127dd2(0x2eb)][_0x127dd2(0x171)]())==null?void 0x0:_0x5b4bb9['skeleton'];if(!_0x531383)return;const _0x3e73fe=this[_0x127dd2(0x34d)]();if(!_0x3e73fe)return;this[_0x127dd2(0x203)][_0x127dd2(0x3d1)](_0x51f8fd=>{const _0xac4c5a=_0x127dd2;_0x51f8fd[_0xac4c5a(0x219)]();});const {scene:_0x169889}=_0x3e73fe,_0x455ffe=_0x218823(Array[_0x127dd2(0x3b8)](_0x356323[_0x127dd2(0x16b)]()))[_0x127dd2(0x3c6)](_0x7a2651=>{const _0x356e85=_0x127dd2,{color:_0x27ddc7,range:_0x4794ed,name:_0x58a530,selection:_0x3340d5,sheetID:_0x113057}=_0x7a2651,{startColumn:_0x2bacb0,startRow:_0x48a03d,endColumn:_0x21ebed,endRow:_0x551d78}=_0x4794ed,_0x559b21=_0x32ca80['getCoordByCell'](_0x48a03d,_0x2bacb0,_0x169889,_0x531383),_0x3b1f2b=_0x32ca80['getCoordByCell'](_0x551d78,_0x21ebed,_0x169889,_0x531383),{columnHeaderHeightAndMarginTop:_0x10fc89}=_0x531383,{startX:_0x2d30b7,startY:_0x21c5ee}=_0x559b21,{endX:_0x59000e,endY:_0x3b184a}=_0x3b1f2b,_0x4df8a1=_0x59000e-_0x2d30b7,_0x2b582e=_0x3b184a-_0x21c5ee,_0x1863ae={'labelPosition':_0x21c5ee-_0x10fc89>=_0x5cfded?_0x356e85(0x200):_0x356e85(0x1e2),'sheetID':_0x113057,'range':_0x4794ed,'color':_0x27ddc7,'name':_0x58a530,'selection':_0x3340d5,'left':_0x2d30b7,'top':_0x21c5ee,'width':_0x4df8a1,'height':_0x2b582e,'evented':!0x1,'zIndex':_0x4a3b7a};return new _0x1b811f(_0x58a530,_0x1863ae);});_0x169889[_0x127dd2(0x265)](_0x455ffe,_0x492ff9),this[_0x127dd2(0x203)]=new Set(_0x455ffe);}[_0x50ca90(0x2e3)](){const _0xb4e1d=_0x50ca90;var _0xaaf90f;(_0xaaf90f=this[_0xb4e1d(0x203)])==null||_0xaaf90f[_0xb4e1d(0x3d1)](_0x47b046=>_0x47b046[_0xb4e1d(0x202)]());}['_getSheetObject'](){const _0x586434=_0x50ca90;return _0x32ca80['getSheetObject'](this[_0x586434(0x1f5)]['unit'],this['_context']);}};_0x488cd5=_0x285cf5([_0x43684a(0x1,_0x231ef0[_0x50ca90(0x3dc)](_0x32ca80['SheetSkeletonManagerService'])),_0x43684a(0x2,_0x231ef0[_0x50ca90(0x3dc)](_0x5d2a0e)),_0x43684a(0x3,_0x231ef0[_0x50ca90(0x3dc)](_0x231ef0['ThemeService']))],_0x488cd5);function _0x218823(_0x3d2327){const _0x4899cb=_0x50ca90,_0x165a56=new Map();return _0x3d2327[_0x4899cb(0x3d1)](_0x4ef29e=>{const _0x23621e=_0x4899cb;if(_0x165a56['has'](_0x4ef29e['selection'])){const _0x7e4d60=_0x165a56[_0x23621e(0x1cd)](_0x4ef29e['selection']);_0x7e4d60[_0x23621e(0x1b1)]+=',\x20'+_0x4ef29e[_0x23621e(0x1b1)];}else _0x165a56['set'](_0x4ef29e['selection'],_0x4ef29e);}),Array[_0x4899cb(0x3b8)](_0x165a56[_0x4899cb(0x16b)]());}var _0x21d4e6=function(){const _0x4e0ab0=_0x50ca90;return _0x21d4e6=Object[_0x4e0ab0(0x32c)]||function(_0x35982b){const _0x128e46=_0x4e0ab0;for(var _0x52af50,_0x16ad22=0x1,_0x2d121e=arguments['length'];_0x16ad22<_0x2d121e;_0x16ad22++){_0x52af50=arguments[_0x16ad22];for(var _0x230174 in _0x52af50)Object[_0x128e46(0x152)]['hasOwnProperty'][_0x128e46(0x32a)](_0x52af50,_0x230174)&&(_0x35982b[_0x230174]=_0x52af50[_0x230174]);}return _0x35982b;},_0x21d4e6[_0x4e0ab0(0x35c)](this,arguments);},_0x58717f=function(_0x1f77bc,_0x3b491e){const _0x166048=_0x50ca90;var _0x16ea3c={};for(var _0x2f4a3a in _0x1f77bc)Object['prototype'][_0x166048(0x2a8)][_0x166048(0x32a)](_0x1f77bc,_0x2f4a3a)&&_0x3b491e[_0x166048(0x328)](_0x2f4a3a)<0x0&&(_0x16ea3c[_0x2f4a3a]=_0x1f77bc[_0x2f4a3a]);if(_0x1f77bc!=null&&typeof Object['getOwnPropertySymbols']==_0x166048(0x309)){for(var _0x545a02=0x0,_0x2f4a3a=Object[_0x166048(0x180)](_0x1f77bc);_0x545a02<_0x2f4a3a['length'];_0x545a02++)_0x3b491e['indexOf'](_0x2f4a3a[_0x545a02])<0x0&&Object[_0x166048(0x152)][_0x166048(0x302)][_0x166048(0x32a)](_0x1f77bc,_0x2f4a3a[_0x545a02])&&(_0x16ea3c[_0x2f4a3a[_0x545a02]]=_0x1f77bc[_0x2f4a3a[_0x545a02]]);}return _0x16ea3c;},_0x39bae6=_0x198ece[_0x50ca90(0x2d9)](function(_0x19c35c,_0x375768){const _0x5acd69=_0x50ca90;var _0x22e8fb=_0x19c35c[_0x5acd69(0x2f9)],_0x2c4cf5=_0x19c35c['id'],_0x901492=_0x19c35c['className'],_0x1ddf1c=_0x19c35c[_0x5acd69(0x213)],_0x50de2a=_0x58717f(_0x19c35c,[_0x5acd69(0x2f9),'id','className',_0x5acd69(0x213)]),_0x43df38=_0x5acd69(0x2f6)['concat'](_0x2c4cf5,'\x20')[_0x5acd69(0x1c4)](_0x901492||'')[_0x5acd69(0x3e2)](),_0x2060b0=_0x198ece[_0x5acd69(0x1ac)]('_'[_0x5acd69(0x1c4)](_0x4a698c()));return _0x37c678(_0x22e8fb,''[_0x5acd69(0x1c4)](_0x2c4cf5),{'defIds':_0x22e8fb[_0x5acd69(0x2ef)],'idSuffix':_0x2060b0['current']},_0x21d4e6({'ref':_0x375768,'className':_0x43df38},_0x50de2a),_0x1ddf1c);});function _0x37c678(_0x8f2d0d,_0x449510,_0x3241e2,_0x5e3b0e,_0x530abf){const _0x1aaed2=_0x50ca90;return _0x198ece['createElement'](_0x8f2d0d[_0x1aaed2(0x17d)],_0x21d4e6(_0x21d4e6({'key':_0x449510},_0x360230(_0x8f2d0d,_0x3241e2,_0x530abf)),_0x5e3b0e),(_0x54deb8(_0x8f2d0d,_0x3241e2)[_0x1aaed2(0x2d2)]||[])[_0x1aaed2(0x3c6)](function(_0x915241,_0x17484b){const _0x178bae=_0x1aaed2;return _0x37c678(_0x915241,''[_0x178bae(0x1c4)](_0x449510,'-')['concat'](_0x8f2d0d[_0x178bae(0x17d)],'-')['concat'](_0x17484b),_0x3241e2,void 0x0,_0x530abf);}));}function _0x360230(_0x4b9348,_0x50c341,_0x3b4ec5){const _0xeca622=_0x50ca90;var _0x44a7c9=_0x21d4e6({},_0x4b9348[_0xeca622(0x15e)]);_0x3b4ec5!=null&&_0x3b4ec5[_0xeca622(0x2ac)]&&_0x44a7c9[_0xeca622(0x252)]===_0xeca622(0x2ac)&&(_0x44a7c9[_0xeca622(0x252)]=_0x3b4ec5[_0xeca622(0x2ac)]),_0x4b9348[_0xeca622(0x17d)]===_0xeca622(0x315)&&_0x44a7c9['id']&&(_0x44a7c9['id']=_0x44a7c9['id']+_0x50c341[_0xeca622(0x319)]),Object['entries'](_0x44a7c9)[_0xeca622(0x3d1)](function(_0x2741a3){const _0x2cf24d=_0xeca622;var _0x15b130=_0x2741a3[0x0],_0x5e8b90=_0x2741a3[0x1];_0x15b130==='mask'&&typeof _0x5e8b90==_0x2cf24d(0x3a8)&&(_0x44a7c9[_0x15b130]=_0x5e8b90[_0x2cf24d(0x2fb)](/url\(#(.*)\)/,_0x2cf24d(0x381)['concat'](_0x50c341[_0x2cf24d(0x319)],')')));});var _0x370b7f=_0x50c341[_0xeca622(0x2ef)];return!_0x370b7f||_0x370b7f['length']===0x0||(_0x4b9348['tag']===_0xeca622(0x28d)&&_0x44a7c9[_0xeca622(0x331)]&&(_0x44a7c9['xlink:href']=_0x44a7c9[_0xeca622(0x331)]+_0x50c341[_0xeca622(0x319)]),Object[_0xeca622(0x30e)](_0x44a7c9)[_0xeca622(0x3d1)](function(_0x1e21ef){const _0x5e22b5=_0xeca622;var _0x41aaa0=_0x1e21ef[0x0],_0x4ebd73=_0x1e21ef[0x1];typeof _0x4ebd73==_0x5e22b5(0x3a8)&&(_0x44a7c9[_0x41aaa0]=_0x4ebd73[_0x5e22b5(0x2fb)](/url\(#(.*)\)/,'url(#$1'[_0x5e22b5(0x1c4)](_0x50c341[_0x5e22b5(0x319)],')')));})),_0x44a7c9;}function _0x54deb8(_0x3b2210,_0x4a92c7){const _0x50f8da=_0x50ca90;var _0x1e9bf,_0x243a85=_0x4a92c7[_0x50f8da(0x2ef)];return!_0x243a85||_0x243a85[_0x50f8da(0x1f3)]===0x0?_0x3b2210:_0x3b2210[_0x50f8da(0x17d)]===_0x50f8da(0x26e)&&(!((_0x1e9bf=_0x3b2210[_0x50f8da(0x2d2)])===null||_0x1e9bf===void 0x0)&&_0x1e9bf[_0x50f8da(0x1f3)])?_0x21d4e6(_0x21d4e6({},_0x3b2210),{'children':_0x3b2210[_0x50f8da(0x2d2)]['map'](function(_0x1ba028){const _0x1a5c08=_0x50f8da;return typeof _0x1ba028[_0x1a5c08(0x15e)]['id']=='string'&&_0x243a85&&_0x243a85['indexOf'](_0x1ba028[_0x1a5c08(0x15e)]['id'])>-0x1?_0x21d4e6(_0x21d4e6({},_0x1ba028),{'attrs':_0x21d4e6(_0x21d4e6({},_0x1ba028[_0x1a5c08(0x15e)]),{'id':_0x1ba028['attrs']['id']+_0x4a92c7[_0x1a5c08(0x319)]})}):_0x1ba028;})}):_0x3b2210;}function _0x4a698c(){const _0x27157e=_0x50ca90;return Math['random']()[_0x27157e(0x2c7)](0x24)[_0x27157e(0x2c0)](0x2,0x8);}_0x39bae6[_0x50ca90(0x365)]=_0x50ca90(0x14e);var _0x277dff={'tag':_0x50ca90(0x2ee),'attrs':{'fill':_0x50ca90(0x3ab),'viewBox':_0x50ca90(0x321),'width':'1em','height':_0x50ca90(0x322)},'children':[{'tag':'g','attrs':{'clipPath':_0x50ca90(0x325)},'children':[{'tag':_0x50ca90(0x3e3),'attrs':{'stroke':_0x50ca90(0x36b),'d':_0x50ca90(0x255),'strokeLinecap':_0x50ca90(0x22f),'strokeLinejoin':_0x50ca90(0x22f),'strokeWidth':1.2}}]},{'tag':_0x50ca90(0x26e),'attrs':{},'children':[{'tag':_0x50ca90(0x3ba),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x50ca90(0x3e3),'attrs':{'fill':_0x50ca90(0x170),'d':_0x50ca90(0x1e7)}}]}]}],'defIds':[_0x50ca90(0x197)]},_0x581d58=_0x198ece[_0x50ca90(0x2d9)](function(_0x8075fe,_0x330dc9){const _0x596c16=_0x50ca90;return _0x198ece[_0x596c16(0x34a)](_0x39bae6,Object[_0x596c16(0x32c)]({},_0x8075fe,{'id':_0x596c16(0x389),'ref':_0x330dc9,'icon':_0x277dff}));});_0x581d58[_0x50ca90(0x365)]='OffLineSingle';var _0x26b216={'tag':_0x50ca90(0x2ee),'attrs':{'fill':_0x50ca90(0x3ab),'viewBox':_0x50ca90(0x1f0),'width':_0x50ca90(0x322),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x50ca90(0x3b6)},'children':[{'tag':'path','attrs':{'stroke':_0x50ca90(0x36b),'d':_0x50ca90(0x2de),'strokeLinecap':_0x50ca90(0x22f),'strokeLinejoin':_0x50ca90(0x22f),'strokeWidth':1.2}}]},{'tag':_0x50ca90(0x26e),'attrs':{},'children':[{'tag':_0x50ca90(0x3ba),'attrs':{'id':_0x50ca90(0x1a4)},'children':[{'tag':'path','attrs':{'fill':_0x50ca90(0x170),'d':_0x50ca90(0x1e7),'transform':_0x50ca90(0x320)}}]}]}],'defIds':[_0x50ca90(0x1a4)]},_0x3e7a79=_0x198ece['forwardRef'](function(_0x495164,_0x303bb5){const _0x4602ff=_0x50ca90;return _0x198ece[_0x4602ff(0x34a)](_0x39bae6,Object[_0x4602ff(0x32c)]({},_0x495164,{'id':_0x4602ff(0x305),'ref':_0x303bb5,'icon':_0x26b216}));});_0x3e7a79['displayName']=_0x50ca90(0x24b);function _0x5a7703(_0x506b8c){const _0x25656e=_0x50ca90;switch(_0x506b8c){case _0x1a26fa['CollaborationStatus'][_0x25656e(0x230)]:return'collabStatus.offline';case _0x1a26fa[_0x25656e(0x174)]['CONFLICT']:return'collabStatus.conflict';case _0x1a26fa[_0x25656e(0x174)]['FETCH_MISS']:return _0x25656e(0x1d4);case _0x1a26fa[_0x25656e(0x174)][_0x25656e(0x1d0)]:return _0x25656e(0x3cd);case _0x1a26fa[_0x25656e(0x174)][_0x25656e(0x291)]:case _0x1a26fa['CollaborationStatus'][_0x25656e(0x2e1)]:return _0x25656e(0x29c);case _0x1a26fa['CollaborationStatus']['SYNCED']:case _0x1a26fa['CollaborationStatus'][_0x25656e(0x332)]:return _0x25656e(0x20a);}}function _0x26e2ce(_0x5e7c09){const _0x5d28fe=_0x50ca90,{status$:_0x4549df}=_0x5e7c09,_0x25bfe4=_0xcd773d[_0x5d28fe(0x28a)](_0x4549df,_0x1a26fa[_0x5d28fe(0x174)][_0x5d28fe(0x1d0)]),_0xacd4fd=_0xcd773d[_0x5d28fe(0x1fb)](_0x231ef0[_0x5d28fe(0x1f2)]),_0x23b639=_0xcd773d[_0x5d28fe(0x1fb)](_0x1a26fa[_0x5d28fe(0x362)]),_0x1f6a4b=_0x25bfe4!==_0x1a26fa[_0x5d28fe(0x174)][_0x5d28fe(0x230)],_0x5299a=_0xacd4fd['t'](_0x5a7703(_0x25bfe4)),_0x3a95f6=_0x1f6a4b?_0x4e937f[_0x5d28fe(0x33c)](_0x3e7a79,{}):_0x4e937f[_0x5d28fe(0x33c)](_0x581d58,{}),_0x44fbd0=_0x198ece[_0x5d28fe(0x33b)](()=>{const _0x18776a=_0x5d28fe;_0x1f6a4b||_0x23b639[_0x18776a(0x343)]();},[_0x1f6a4b,_0x23b639]);function _0x4c646a(){const _0x4b3867=_0x5d28fe;return _0x4e937f[_0x4b3867(0x39c)]('div',{'className':_0x4b3867(0x2a3),'onClick':_0x44fbd0,'children':[_0x4e937f[_0x4b3867(0x33c)](_0x4b3867(0x394),{'className':_0x5d3613[_0x4b3867(0x146)](_0x4b3867(0x17f),{'univer-text-green-500':_0x1f6a4b,'univer-text-red-500':!_0x1f6a4b}),'children':_0x3a95f6}),_0x4e937f['jsx'](_0x4b3867(0x394),{'className':_0x4b3867(0x36c),'children':_0x5299a})]});}return _0x1f6a4b?_0x4c646a():_0x4e937f[_0x5d28fe(0x33c)](_0x5d3613[_0x5d28fe(0x3bd)],{'title':_0xacd4fd['t'](_0x5d28fe(0x2fe)),'children':_0x4c646a()});}var _0x1a9f8b=Object[_0x50ca90(0x20d)],_0x44d7fa=(_0x2d6be7,_0x2a6154,_0x245ccf,_0x46a8ea)=>{const _0x5b0ac4=_0x50ca90;for(var _0x213519=_0x46a8ea>0x1?void 0x0:_0x46a8ea?_0x1a9f8b(_0x2a6154,_0x245ccf):_0x2a6154,_0x1bb07c=_0x2d6be7[_0x5b0ac4(0x1f3)]-0x1,_0x191801;_0x1bb07c>=0x0;_0x1bb07c--)(_0x191801=_0x2d6be7[_0x1bb07c])&&(_0x213519=_0x191801(_0x213519)||_0x213519);return _0x213519;},_0x3180e3=(_0x24f6a8,_0x4da47b)=>(_0x1b3c3f,_0x1b3e60)=>_0x4da47b(_0x1b3c3f,_0x1b3e60,_0x24f6a8);_0x1b6f51[_0x50ca90(0x177)]=class extends _0x231ef0[_0x50ca90(0x259)]{constructor(_0x5324d3,_0x43da41,_0x3030a3,_0x2b36fd){const _0x2b885e=_0x50ca90;super(),_0x39bb06(this,_0x2b885e(0x18a),new _0x2c2b06[(_0x2b885e(0x2e2))](_0x1a26fa['CollaborationStatus'][_0x2b885e(0x1d0)])),(this[_0x2b885e(0x361)]=_0x5324d3,this[_0x2b885e(0x1d3)]=_0x43da41,this[_0x2b885e(0x3ca)]=_0x3030a3,this['_uiPartsService']=_0x2b36fd,this[_0x2b885e(0x399)](),this[_0x2b885e(0x29d)]());}[_0x50ca90(0x29d)](){const _0x51d4de=_0x50ca90;this[_0x51d4de(0x1ce)](this[_0x51d4de(0x361)][_0x51d4de(0x184)][_0x51d4de(0x34e)](_0x2c2b06[_0x51d4de(0x2cc)](()=>{const _0x5999ab=_0x51d4de,_0x4452d9=this['_univerInstanceService']['getFocusedUnit']();return _0x4452d9?this[_0x5999ab(0x3ca)][_0x5999ab(0x1a5)](_0x4452d9[_0x5999ab(0x1a2)]()):_0x2c2b06['of'](null);}),_0x2c2b06[_0x51d4de(0x2cc)](_0x4a5bdd=>_0x4a5bdd?_0x4a5bdd['status$']:_0x2c2b06['of'](_0x1a26fa[_0x51d4de(0x174)]['NOT_COLLAB'])))[_0x51d4de(0x2fc)](_0x2074b8=>{const _0x55bbd2=_0x51d4de;this[_0x55bbd2(0x18a)]['next'](_0x2074b8);}));}['_initStatusComponent'](){const _0x5f0466=_0x50ca90;this['disposeWithMe'](this[_0x5f0466(0x369)][_0x5f0466(0x188)](_0xcd773d[_0x5f0466(0x245)]['HEADER_MENU'],()=>_0xcd773d[_0x5f0466(0x2db)](_0x16be7a({'status$':this['_status$'][_0x5f0466(0x2bf)]()}),this[_0x5f0466(0x1d3)])));}},_0x1b6f51[_0x50ca90(0x177)]=_0x44d7fa([_0x3180e3(0x0,_0x231ef0[_0x50ca90(0x1da)]),_0x3180e3(0x1,_0x231ef0['Inject'](_0x231ef0[_0x50ca90(0x2cf)])),_0x3180e3(0x2,_0x231ef0[_0x50ca90(0x3dc)](_0x1a26fa['CollaborationController'])),_0x3180e3(0x3,_0xcd773d[_0x50ca90(0x3d9)])],_0x1b6f51[_0x50ca90(0x177)]);function _0x16be7a(_0x158d53){const {status$:_0x16e887}=_0x158d53;return function(){const _0x4098de=_0x5017;return _0x4e937f[_0x4098de(0x33c)](_0x26e2ce,{'status$':_0x16e887});};}var _0x169e77=Object[_0x50ca90(0x20d)],_0x5e3351=(_0x290f5a,_0x1398de,_0x387e34,_0x1edd86)=>{for(var _0x501348=_0x1edd86>0x1?void 0x0:_0x1edd86?_0x169e77(_0x1398de,_0x387e34):_0x1398de,_0x4c04f2=_0x290f5a['length']-0x1,_0x1c5cac;_0x4c04f2>=0x0;_0x4c04f2--)(_0x1c5cac=_0x290f5a[_0x4c04f2])&&(_0x501348=_0x1c5cac(_0x501348)||_0x501348);return _0x501348;},_0x83f92f=(_0x4c0c1f,_0x3ec4b7)=>(_0x355367,_0x2b0972)=>_0x3ec4b7(_0x355367,_0x2b0972,_0x4c0c1f);let _0x47c5d0=class extends _0x231ef0[_0x50ca90(0x259)]{constructor(_0x4a4d2f,_0x3eea5d,_0x458646,_0x136568,_0x30a743,_0x43d6a8){const _0x4ddf75=_0x50ca90;super(),this[_0x4ddf75(0x190)]=_0x4a4d2f,this[_0x4ddf75(0x316)]=_0x3eea5d,this[_0x4ddf75(0x3db)]=_0x458646,this[_0x4ddf75(0x233)]=_0x136568,this['_notificationService']=_0x30a743,this['_localeService']=_0x43d6a8,this[_0x4ddf75(0x275)](),this[_0x4ddf75(0x3a1)]();}[_0x50ca90(0x275)](){const _0x3d2c02=_0x50ca90;this['disposeWithMe'](this[_0x3d2c02(0x190)]['registerBeforeClose'](()=>{const _0x330c6d=_0x3d2c02;if(this[_0x330c6d(0x316)][_0x330c6d(0x218)]['size'])return this[_0x330c6d(0x383)]['t'](_0x330c6d(0x267));}));}['_initEvent'](){const _0x3f55d5=_0x50ca90;this['disposeWithMe'](this[_0x3f55d5(0x3db)][_0x3f55d5(0x1e0)]['subscribe'](_0x49d1d2=>{const _0x37216f=_0x3f55d5;_0x49d1d2['id']===_0x1a26fa['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x37216f(0x233)]['show']({'type':_0x5d3613[_0x37216f(0x3a5)][_0x37216f(0x37c)],'content':this[_0x37216f(0x383)]['t']('collaboration.single-unit.warning')}),_0x49d1d2['id']===_0x1a26fa[_0x37216f(0x2b7)]['CLOSE_ROOM']&&this[_0x37216f(0x233)]['show']({'type':_0x5d3613[_0x37216f(0x3a5)][_0x37216f(0x37c)],'content':this[_0x37216f(0x383)]['t'](_0x37216f(0x341))}),_0x49d1d2['id']===_0x1a26fa[_0x37216f(0x2b7)][_0x37216f(0x237)]&&this['_notificationService']['show']({'title':this[_0x37216f(0x383)]['t']('permission.title'),'content':this['_localeService']['t'](_0x37216f(0x3d6)),'type':_0x37216f(0x3a7),'duration':0x0}),_0x49d1d2['id']===_0x1a26fa[_0x37216f(0x2b7)][_0x37216f(0x2f4)]&&this[_0x37216f(0x233)][_0x37216f(0x3e1)]({'type':_0x5d3613['MessageType'][_0x37216f(0x39b)],'content':this[_0x37216f(0x383)]['t'](_0x37216f(0x341))+'('+_0x49d1d2[_0x37216f(0x1be)]+')'}),_0x49d1d2['id']===_0x1a26fa['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x37216f(0x233)][_0x37216f(0x3e1)]({'type':_0x5d3613['MessageType'][_0x37216f(0x37c)],'content':this[_0x37216f(0x383)]['t'](_0x49d1d2[_0x37216f(0x1be)]||'')}),_0x49d1d2['id']===_0x1a26fa['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x37216f(0x233)]['show']({'type':_0x5d3613[_0x37216f(0x3a5)]['Warning'],'content':this[_0x37216f(0x383)]['t'](_0x37216f(0x1eb))}),_0x49d1d2['id']===_0x1a26fa['CollaborationUIEventId'][_0x37216f(0x1f4)]&&this[_0x37216f(0x233)]['show']({'type':_0x5d3613[_0x37216f(0x3a5)][_0x37216f(0x39b)],'content':this[_0x37216f(0x383)]['t'](_0x37216f(0x385))}),_0x49d1d2['id']===_0x1a26fa[_0x37216f(0x2b7)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x37216f(0x233)]['show']({'type':_0x5d3613[_0x37216f(0x3a5)]['Error'],'content':this[_0x37216f(0x383)]['t'](_0x37216f(0x3dd))});}));}};_0x47c5d0=_0x5e3351([_0x83f92f(0x0,_0xcd773d[_0x50ca90(0x3b4)]),_0x83f92f(0x1,_0x1a26fa['ILocalCacheService']),_0x83f92f(0x2,_0x231ef0['Inject'](_0x1a26fa[_0x50ca90(0x2c2)])),_0x83f92f(0x3,_0xcd773d[_0x50ca90(0x1a8)]),_0x83f92f(0x4,_0xcd773d['INotificationService']),_0x83f92f(0x5,_0x231ef0['Inject'](_0x231ef0[_0x50ca90(0x1f2)]))],_0x47c5d0);const _0x5685eb=_0x50ca90(0x30d),_0x553549={},_0x140af5=_0x231ef0[_0x50ca90(0x312)]('uni.network.url-service');var _0x4ceed8=Object[_0x50ca90(0x20d)],_0x20ab6d=(_0x4a889b,_0x27bce6,_0x286e69,_0x32998a)=>{const _0x5ee525=_0x50ca90;for(var _0x3d2990=_0x32998a>0x1?void 0x0:_0x32998a?_0x4ceed8(_0x27bce6,_0x286e69):_0x27bce6,_0x3820d3=_0x4a889b[_0x5ee525(0x1f3)]-0x1,_0x3bce81;_0x3820d3>=0x0;_0x3820d3--)(_0x3bce81=_0x4a889b[_0x3820d3])&&(_0x3d2990=_0x3bce81(_0x3d2990)||_0x3d2990);return _0x3d2990;},_0x9fe2ed=(_0x570abc,_0x25b221)=>(_0x46555c,_0x5e6cde)=>_0x25b221(_0x46555c,_0x5e6cde,_0x570abc);_0x1b6f51['CollaborationDataLoaderController']=class extends _0x231ef0[_0x50ca90(0x2ff)]{constructor(_0x1a4b52,_0x5e2ac1,_0x3ab7dd,_0x36a0cd,_0x5d9909){const _0xb261b4=_0x50ca90;super(),this[_0xb261b4(0x296)]=_0x1a4b52,this['_logService']=_0x5e2ac1,this[_0xb261b4(0x3da)]=_0x3ab7dd,this['_dataLoaderService']=_0x36a0cd,_0x5d9909?_0x5d9909==null||_0x5d9909[_0xb261b4(0x185)]()[_0xb261b4(0x1db)](()=>this[_0xb261b4(0x1c5)]()):(this[_0xb261b4(0x375)][_0xb261b4(0x2d7)](_0xb261b4(0x3a0),_0xb261b4(0x195)),this['_init']());}async[_0x50ca90(0x1c5)](){const _0x121e97=_0x50ca90,_0x5e2c88=this[_0x121e97(0x296)][_0x121e97(0x1fc)]('unit'),_0xafdf25=this[_0x121e97(0x296)][_0x121e97(0x1fc)](_0x121e97(0x163)),_0x49318f=this[_0x121e97(0x296)][_0x121e97(0x1fc)](_0x121e97(0x30c));if(!_0x5e2c88||!_0xafdf25){this['_logService'][_0x121e97(0x2d7)](_0x121e97(0x3a0),_0x121e97(0x327));return;}const _0x346f1f=await this['_dataLoaderService']['loadUnit'](_0x5e2c88,Number(_0xafdf25),_0x49318f);_0x346f1f&&_0x346f1f instanceof _0x231ef0[_0x121e97(0x2f2)]&&this['_setupSubUnitSync'](_0x346f1f);}async[_0x50ca90(0x1e8)](_0x28ca91){const _0x131773=_0x50ca90;await this['_updateSubUnitFromURLParams'](_0x28ca91),_0x28ca91[_0x131773(0x1e5)][_0x131773(0x34e)](_0x2c2b06['takeUntil'](this['dispose$']))[_0x131773(0x2fc)](_0x3e03d8=>{_0x3e03d8&&this['_updateURLWithCurrentState'](_0x3e03d8);}),this[_0x131773(0x296)][_0x131773(0x228)][_0x131773(0x34e)](_0x2c2b06[_0x131773(0x376)](this[_0x131773(0x324)]))[_0x131773(0x2fc)](()=>this[_0x131773(0x371)](_0x28ca91));}[_0x50ca90(0x225)](_0x54e3a7,_0x50530f=!0x1){const _0x163eb7=_0x50ca90,_0x137ffd=this[_0x163eb7(0x296)][_0x163eb7(0x1fc)](_0x163eb7(0x30c));_0x54e3a7[_0x163eb7(0x3c2)]()!==_0x137ffd&&this[_0x163eb7(0x296)][_0x163eb7(0x31c)](_0x163eb7(0x30c),_0x54e3a7['getSheetId'](),_0x50530f);}async[_0x50ca90(0x371)](_0x1b7305){const _0x5d3e47=_0x50ca90;var _0x152841;const _0x44ad91=this[_0x5d3e47(0x296)][_0x5d3e47(0x1fc)](_0x5d3e47(0x30c));if(!_0x44ad91||!_0x1b7305['getSheetBySheetId'](_0x44ad91)){const _0x477775=_0x1b7305['getUnhiddenWorksheets']()[0x0],_0x1960bb=_0x1b7305['getSheetBySheetId'](_0x477775);if(!_0x1960bb)return;this[_0x5d3e47(0x225)](_0x1960bb,!0x0),await this[_0x5d3e47(0x3da)]['executeCommand'](_0xb506f2[_0x5d3e47(0x3b5)]['id'],{'unitId':_0x1b7305[_0x5d3e47(0x1a2)](),'subUnitId':_0x477775});return;}((_0x152841=_0x1b7305[_0x5d3e47(0x1c7)]())==null?void 0x0:_0x152841[_0x5d3e47(0x3c2)]())!==_0x44ad91&&await this[_0x5d3e47(0x3da)]['executeCommand'](_0xb506f2[_0x5d3e47(0x3b5)]['id'],{'unitId':_0x1b7305[_0x5d3e47(0x1a2)](),'subUnitId':_0x44ad91});}},_0x1b6f51[_0x50ca90(0x27c)]=_0x20ab6d([_0x9fe2ed(0x0,_0x140af5),_0x9fe2ed(0x1,_0x231ef0['ILogService']),_0x9fe2ed(0x2,_0x231ef0[_0x50ca90(0x16c)]),_0x9fe2ed(0x3,_0x231ef0['Inject'](_0x1a26fa['DataLoaderService'])),_0x9fe2ed(0x4,_0x231ef0['Optional'](_0x4811d9[_0x50ca90(0x246)]))],_0x1b6f51['CollaborationDataLoaderController']);var _0x22eb12=Object[_0x50ca90(0x20d)],_0x499b92=(_0x368ef4,_0x8abb41,_0x1dc063,_0x506691)=>{const _0x13d702=_0x50ca90;for(var _0x344d3d=_0x506691>0x1?void 0x0:_0x506691?_0x22eb12(_0x8abb41,_0x1dc063):_0x8abb41,_0x30dfb6=_0x368ef4[_0x13d702(0x1f3)]-0x1,_0x51c502;_0x30dfb6>=0x0;_0x30dfb6--)(_0x51c502=_0x368ef4[_0x30dfb6])&&(_0x344d3d=_0x51c502(_0x344d3d)||_0x344d3d);return _0x344d3d;},_0x580c4c=(_0x1d398d,_0x46186b)=>(_0x1bef61,_0x389fec)=>_0x46186b(_0x1bef61,_0x389fec,_0x1d398d);let _0x172992=class{constructor(_0x3f910f,_0x5b27d8,_0x4b3a1e){const _0x186702=_0x50ca90;this['_injector']=_0x3f910f,this[_0x186702(0x1dc)]=_0x5b27d8,this['_renderManagerService']=_0x4b3a1e;}[_0x50ca90(0x2bd)](_0x1ac494){const _0x266fe4=_0x50ca90;this[_0x266fe4(0x24a)](_0x1ac494),this[_0x266fe4(0x345)](_0x1ac494);}[_0x50ca90(0x2f8)](_0x17ecef){const _0x3e1557=_0x50ca90,{unitID:_0x4c6834}=_0x17ecef,_0x5f5c44=this[_0x3e1557(0x2e0)][_0x3e1557(0x32e)](_0x4c6834)['with'](_0x8a3f16['DocIMEInputManagerService']),{redoCache:_0x2a5b9f}=_0x5f5c44['getUndoRedoMutationParamsCache']();if(_0x2a5b9f[_0x3e1557(0x1f3)]===0x0)return _0x17ecef;let _0x4dddcb=_0x231ef0['Tools'][_0x3e1557(0x395)](_0x17ecef[_0x3e1557(0x160)][0x0]);for(let _0x36e606=0x0;_0x36e606<_0x2a5b9f[_0x3e1557(0x1f3)];_0x36e606++){const _0x5525d1={'id':_0x3e1557(0x1d1),'params':{..._0x2a5b9f[_0x36e606]}},_0x425026=this[_0x3e1557(0x1dc)]['transformMutation'](_0x4dddcb,_0x5525d1,!0x1);if(_0x3e87ff[_0x3e1557(0x38b)](_0x425026))throw _0x425026[_0x3e1557(0x3a7)];_0x4dddcb=_0x425026['m1Prime'];}return{..._0x231ef0[_0x3e1557(0x27f)][_0x3e1557(0x395)](_0x17ecef),'mutations':[_0x4dddcb]};}['_transformUndoRedoStack'](_0x1c944c){const _0x3c2227=_0x50ca90,{unitID:_0xcd6006}=_0x1c944c,_0x54c4de=this['_renderManagerService'][_0x3c2227(0x32e)](_0xcd6006)[_0x3c2227(0x264)](_0x8a3f16[_0x3c2227(0x192)]),{undoCache:_0x452bdf,redoCache:_0x8c110b}=_0x54c4de[_0x3c2227(0x167)]();if(_0x452bdf[_0x3c2227(0x1f3)]===0x0||_0x8c110b[_0x3c2227(0x1f3)]===0x0)return;const _0x3786c4=[],_0x1a7964=[];let _0x1eb5bc=_0x231ef0[_0x3c2227(0x27f)][_0x3c2227(0x395)](_0x1c944c[_0x3c2227(0x160)][0x0]),_0x5db767=_0x231ef0[_0x3c2227(0x27f)]['deepClone'](_0x1c944c[_0x3c2227(0x160)][0x0]);for(let _0x4459cf=_0x452bdf[_0x3c2227(0x1f3)]-0x1;_0x4459cf>=0x0;_0x4459cf--){const _0x5f5ad2={'id':_0x3c2227(0x1d1),'params':{..._0x452bdf[_0x4459cf]}},_0x3b766e={'id':_0x3c2227(0x1d1),'params':{..._0x8c110b[_0x4459cf]}},_0x321b37=this[_0x3c2227(0x1dc)]['transformMutation'](_0x1eb5bc,_0x5f5ad2,!0x1),_0xfae4c9=this['_transformService'][_0x3c2227(0x15d)](_0x5db767,_0x3b766e,!0x1);if(_0x3e87ff[_0x3c2227(0x38b)](_0x321b37))throw _0x321b37[_0x3c2227(0x3a7)];if(_0x3e87ff[_0x3c2227(0x38b)](_0xfae4c9))throw _0xfae4c9[_0x3c2227(0x3a7)];_0x3786c4[_0x3c2227(0x33d)](_0x321b37[_0x3c2227(0x36e)][_0x3c2227(0x19a)]),_0x1a7964[_0x3c2227(0x33d)](_0xfae4c9['m2Prime'][_0x3c2227(0x19a)]),_0x1eb5bc=_0x321b37[_0x3c2227(0x2f0)],_0x5db767=_0xfae4c9[_0x3c2227(0x2f0)];}_0x54c4de['setUndoRedoMutationParamsCache']({'undoCache':_0x3786c4,'redoCache':_0x1a7964});}[_0x50ca90(0x345)](_0x429ee6){const _0x13ad39=_0x50ca90,{unitID:_0x5a1397}=_0x429ee6,_0x711a65=this[_0x13ad39(0x2e0)][_0x13ad39(0x32e)](_0x5a1397)[_0x13ad39(0x264)](_0x8a3f16['DocIMEInputManagerService']),_0x23bb77=_0x711a65[_0x13ad39(0x1ca)]();if(_0x23bb77==null)return;const _0x20a50d=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x429ee6[_0x13ad39(0x1ef)],'actions':null,'textRanges':[_0x23bb77]}}],_0x14186f=this[_0x13ad39(0x1dc)][_0x13ad39(0x2f5)](_0x429ee6,_0x20a50d);if(!_0x3e87ff[_0x13ad39(0x3b2)](_0x14186f))throw _0x14186f[_0x13ad39(0x3a7)];const _0x627daa=_0x14186f[_0x13ad39(0x36e)][0x0]['params']['textRanges'];Array[_0x13ad39(0x3ad)](_0x627daa)&&_0x627daa[_0x13ad39(0x1f3)]&&_0x711a65['setActiveRange'](_0x627daa[0x0]);}};_0x172992=_0x499b92([_0x580c4c(0x0,_0x231ef0[_0x50ca90(0x3dc)](_0x231ef0['Injector'])),_0x580c4c(0x1,_0x3e87ff['ITransformService']),_0x580c4c(0x2,_0x3edfd3[_0x50ca90(0x2e9)])],_0x172992);var _0xf67515=Object['getOwnPropertyDescriptor'],_0x29a0bb=(_0x2d6563,_0x1afe2f,_0xce68a3,_0x26b2ee)=>{const _0x582980=_0x50ca90;for(var _0xc8cfa2=_0x26b2ee>0x1?void 0x0:_0x26b2ee?_0xf67515(_0x1afe2f,_0xce68a3):_0x1afe2f,_0x989445=_0x2d6563[_0x582980(0x1f3)]-0x1,_0x195d72;_0x989445>=0x0;_0x989445--)(_0x195d72=_0x2d6563[_0x989445])&&(_0xc8cfa2=_0x195d72(_0xc8cfa2)||_0xc8cfa2);return _0xc8cfa2;},_0x19f617=(_0x3ce903,_0x1aadde)=>(_0x54387a,_0x5c4d42)=>_0x1aadde(_0x54387a,_0x5c4d42,_0x3ce903);let _0x394b6f=class{constructor(_0x1db172,_0x1c4986,_0x340527){const _0x1d21d1=_0x50ca90;this[_0x1d21d1(0x1d3)]=_0x1db172,this[_0x1d21d1(0x1dc)]=_0x1c4986,this['_docStateChangeManagerService']=_0x340527;}['transformStateCache'](_0x1303d8){const _0x17368f=_0x50ca90;this[_0x17368f(0x35d)](_0x1303d8);}[_0x50ca90(0x2f8)](_0x4bb260){const _0x101cce=_0x50ca90,{unitID:_0x370f96}=_0x4bb260,{collaboration:_0x4b10a3}=this['_docStateChangeManagerService']['getStateCache'](_0x370f96);if(_0x4b10a3[_0x101cce(0x1f3)]===0x0)return _0x4bb260;let _0x252e40=_0x231ef0[_0x101cce(0x27f)][_0x101cce(0x395)](_0x4bb260[_0x101cce(0x160)][0x0]);for(let _0x4cb1d7=0x0;_0x4cb1d7<_0x4b10a3[_0x101cce(0x1f3)];_0x4cb1d7++){const _0xa8a4da={'id':_0x101cce(0x1d1),'params':{'unitId':_0x4b10a3[_0x4cb1d7][_0x101cce(0x17c)],..._0x4b10a3[_0x4cb1d7][_0x101cce(0x1bb)]}},_0x3980ca=this[_0x101cce(0x1dc)][_0x101cce(0x15d)](_0x252e40,_0xa8a4da,!0x1);if(_0x3e87ff[_0x101cce(0x38b)](_0x3980ca))throw _0x3980ca[_0x101cce(0x3a7)];_0x252e40=_0x3980ca[_0x101cce(0x2f0)];}return{..._0x231ef0[_0x101cce(0x27f)]['deepClone'](_0x4bb260),'mutations':[_0x252e40]};}[_0x50ca90(0x35d)](_0x5b68ab){const _0x105048=_0x50ca90,{unitID:_0x1c6b72}=_0x5b68ab,{history:_0xe0417d,collaboration:_0x4927c8}=this[_0x105048(0x186)][_0x105048(0x292)](_0x1c6b72);if(_0xe0417d[_0x105048(0x1f3)]===0x0&&_0x4927c8['length']===0x0)return;const _0x6a995d=[],_0x2ae0cc=[];let _0x10ec86=_0x231ef0[_0x105048(0x27f)]['deepClone'](_0x5b68ab[_0x105048(0x160)][0x0]),_0x34d523=_0x231ef0[_0x105048(0x27f)][_0x105048(0x395)](_0x5b68ab['mutations'][0x0]);for(let _0x2208fa=_0xe0417d[_0x105048(0x1f3)]-0x1;_0x2208fa>=0x0;_0x2208fa--){const _0x20d813={'id':_0x105048(0x1d1),'params':{'unitId':_0xe0417d[_0x2208fa][_0x105048(0x17c)],..._0xe0417d[_0x2208fa]['undoState']}},_0x3232a9={'id':_0x105048(0x1d1),'params':{'unitId':_0xe0417d[_0x2208fa]['unitId'],..._0xe0417d[_0x2208fa]['redoState']}},_0x1b7f70=this[_0x105048(0x1dc)][_0x105048(0x15d)](_0x10ec86,_0x20d813,!0x1),_0x50ead8=this[_0x105048(0x1dc)][_0x105048(0x15d)](_0x34d523,_0x3232a9,!0x1);if(_0x3e87ff[_0x105048(0x38b)](_0x1b7f70))throw _0x1b7f70['error'];if(_0x3e87ff['isTransformMutationFailure'](_0x50ead8))throw _0x50ead8['error'];_0x6a995d['unshift']({..._0xe0417d[_0x2208fa],'undoState':_0x1b7f70['m2Prime'][_0x105048(0x19a)],'redoState':_0x50ead8[_0x105048(0x36e)][_0x105048(0x19a)]}),_0x10ec86=_0x1b7f70[_0x105048(0x2f0)],_0x34d523=_0x50ead8[_0x105048(0x2f0)];}_0x10ec86=_0x231ef0[_0x105048(0x27f)]['deepClone'](_0x5b68ab[_0x105048(0x160)][0x0]),_0x34d523=_0x231ef0[_0x105048(0x27f)][_0x105048(0x395)](_0x5b68ab[_0x105048(0x160)][0x0]);for(let _0x3847f4=_0x4927c8['length']-0x1;_0x3847f4>=0x0;_0x3847f4--){const _0x4a3e6c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4927c8[_0x3847f4][_0x105048(0x17c)],..._0x4927c8[_0x3847f4][_0x105048(0x201)]}},_0x335bbb={'id':_0x105048(0x1d1),'params':{'unitId':_0x4927c8[_0x3847f4][_0x105048(0x17c)],..._0x4927c8[_0x3847f4][_0x105048(0x1bb)]}},_0x311556=this[_0x105048(0x1dc)]['transformMutation'](_0x10ec86,_0x4a3e6c,!0x1),_0x4163a7=this['_transformService'][_0x105048(0x15d)](_0x34d523,_0x335bbb,!0x1);if(_0x3e87ff[_0x105048(0x38b)](_0x311556))throw _0x311556[_0x105048(0x3a7)];if(_0x3e87ff['isTransformMutationFailure'](_0x4163a7))throw _0x4163a7[_0x105048(0x3a7)];_0x2ae0cc[_0x105048(0x33d)]({..._0x4927c8[_0x3847f4],'undoState':_0x311556[_0x105048(0x36e)][_0x105048(0x19a)],'redoState':_0x4163a7[_0x105048(0x36e)][_0x105048(0x19a)]}),_0x10ec86=_0x311556[_0x105048(0x2f0)],_0x34d523=_0x4163a7[_0x105048(0x2f0)];}this[_0x105048(0x186)][_0x105048(0x1b6)](_0x1c6b72,{'history':_0x6a995d,'collaboration':_0x2ae0cc});}};_0x394b6f=_0x29a0bb([_0x19f617(0x0,_0x231ef0[_0x50ca90(0x3dc)](_0x231ef0[_0x50ca90(0x2cf)])),_0x19f617(0x1,_0x3e87ff[_0x50ca90(0x2e5)]),_0x19f617(0x2,_0x231ef0['Inject'](_0x8a3f16[_0x50ca90(0x21b)]))],_0x394b6f);var _0x120671=Object[_0x50ca90(0x20d)],_0x36901d=(_0x360ef9,_0x7d84b0,_0x53ea4c,_0x11b85a)=>{const _0x2dcd47=_0x50ca90;for(var _0x59e017=_0x11b85a>0x1?void 0x0:_0x11b85a?_0x120671(_0x7d84b0,_0x53ea4c):_0x7d84b0,_0x774108=_0x360ef9[_0x2dcd47(0x1f3)]-0x1,_0x79813;_0x774108>=0x0;_0x774108--)(_0x79813=_0x360ef9[_0x774108])&&(_0x59e017=_0x79813(_0x59e017)||_0x59e017);return _0x59e017;},_0xd0c53=(_0x242731,_0x36e157)=>(_0x11abe2,_0x43a048)=>_0x36e157(_0x11abe2,_0x43a048,_0x242731);let _0x5cf31f=class{constructor(_0x3bc5fe,_0x3cc63d){this['_injector']=_0x3bc5fe,this['_transformService']=_0x3cc63d;}[_0x50ca90(0x2ea)](_0x3e9dc0){const _0x26cc29=_0x50ca90;var _0xa1a39e;const _0x298ef5=this[_0x26cc29(0x1d3)][_0x26cc29(0x1cd)](_0x44fd1c[_0x26cc29(0x2dc)]),_0x2c1b46=(_0xa1a39e=_0x298ef5[_0x26cc29(0x254)]())!=null?_0xa1a39e:[];if(_0x2c1b46[_0x26cc29(0x1f3)]===0x0)return;const _0x5bf824=_0x3e9dc0[_0x26cc29(0x1ef)],_0x59b1d8=[{'id':_0x26cc29(0x1d1),'params':{'unitId':_0x5bf824,'actions':null,'textRanges':_0x2c1b46}}],_0x5b9c20=this[_0x26cc29(0x1dc)][_0x26cc29(0x2f5)](_0x3e9dc0,_0x59b1d8);if(!_0x3e87ff[_0x26cc29(0x3b2)](_0x5b9c20))throw _0x5b9c20['error'];const _0x446d7a=_0x5b9c20[_0x26cc29(0x36e)][0x0][_0x26cc29(0x19a)][_0x26cc29(0x1a3)];Array[_0x26cc29(0x3ad)](_0x446d7a)&&_0x446d7a['length']&&_0x298ef5['replaceDocRanges'](_0x446d7a,{'unitId':_0x5bf824,'subUnitId':_0x5bf824},!0x1);}};_0x5cf31f=_0x36901d([_0xd0c53(0x0,_0x231ef0[_0x50ca90(0x3dc)](_0x231ef0[_0x50ca90(0x2cf)])),_0xd0c53(0x1,_0x3e87ff[_0x50ca90(0x2e5)])],_0x5cf31f);var _0x5df1a4=Object['getOwnPropertyDescriptor'],_0x30ec4d=(_0x35cbdb,_0x27776d,_0x27649d,_0x1e0d9f)=>{const _0x1c6005=_0x50ca90;for(var _0x166fa0=_0x1e0d9f>0x1?void 0x0:_0x1e0d9f?_0x5df1a4(_0x27776d,_0x27649d):_0x27776d,_0x45a4ad=_0x35cbdb[_0x1c6005(0x1f3)]-0x1,_0x5a7a68;_0x45a4ad>=0x0;_0x45a4ad--)(_0x5a7a68=_0x35cbdb[_0x45a4ad])&&(_0x166fa0=_0x5a7a68(_0x166fa0)||_0x166fa0);return _0x166fa0;},_0x4aab6a=(_0x4e566c,_0x528868)=>(_0x4cbc07,_0xd7dbe)=>_0x528868(_0x4cbc07,_0xd7dbe,_0x4e566c);let _0x42fcc5=class extends _0x231ef0[_0x50ca90(0x259)]{constructor(_0x512198,_0x6d731f,_0x516823,_0x2d7815,_0x17774b,_0x4fe064,_0x3881e0,_0x216d88){const _0x649d71=_0x50ca90;super(),_0x39bb06(this,_0x649d71(0x18a),new _0x2c2b06[(_0x649d71(0x2e2))](_0x1a26fa[_0x649d71(0x174)][_0x649d71(0x1d0)])),(this[_0x649d71(0x186)]=_0x512198,this[_0x649d71(0x3ca)]=_0x6d731f,this[_0x649d71(0x14b)]=_0x516823,this['_docTransformStateCacheService']=_0x2d7815,this['_docTransformSelectionsService']=_0x17774b,this[_0x649d71(0x38e)]=_0x4fe064,this['_messageService']=_0x3881e0,this['_localeService']=_0x216d88,this['_initEntityListener']());}['_initEntityListener'](){const _0x1a7601=_0x50ca90;this[_0x1a7601(0x1ce)](this[_0x1a7601(0x3ca)][_0x1a7601(0x231)][_0x1a7601(0x2fc)](_0x2bd783=>{const _0x48c7b3=_0x1a7601,_0x5200d5=this[_0x48c7b3(0x186)][_0x48c7b3(0x204)][_0x48c7b3(0x2fc)](_0x616f08=>{const _0xd2fe1d=_0x48c7b3;if(_0x616f08==null)return;const {unitId:_0x2da663,redoState:_0x4cb371,commandId:_0x1a6c6f}=_0x616f08;if(_0x2da663!==_0x2bd783[_0xd2fe1d(0x1ef)])return;const _0x32a4b0={'id':_0x1a6c6f,'type':_0x231ef0['CommandType'][_0xd2fe1d(0x342)],'params':{'unitId':_0x2da663,'actions':_0x4cb371['actions'],'textRanges':null}};_0x2bd783[_0xd2fe1d(0x2b6)](_0x32a4b0);});if(_0x2bd783[_0x48c7b3(0x1ce)](_0x5200d5),_0x2bd783 instanceof _0x1a26fa[_0x48c7b3(0x2e7)]){const _0xc930fa={'onTransformIME':_0x4900d0=>this[_0x48c7b3(0x14b)][_0x48c7b3(0x2bd)](_0x4900d0),'onTransformState':_0xa27e4=>this['_docTransformStateCacheService'][_0x48c7b3(0x274)](_0xa27e4),'onTransformSelections':_0x4f1220=>this[_0x48c7b3(0x253)][_0x48c7b3(0x2ea)](_0x4f1220),'onSyncEditingCollabCursor':_0x5effc4=>this['_docSyncEditingCollabCursorService'][_0x48c7b3(0x1fa)](_0x5effc4),'onTransformRemoteChangesetByIMECache':_0x4df4d1=>this['_docTransformIMECacheService'][_0x48c7b3(0x2f8)](_0x4df4d1),'onTransformRemoteChangesetByStateCache':_0x20e23c=>this[_0x48c7b3(0x176)]['transformRemoteChangeset'](_0x20e23c)};_0x2bd783[_0x48c7b3(0x2cb)](_0xc930fa);}}));}};_0x42fcc5=_0x30ec4d([_0x4aab6a(0x0,_0x231ef0[_0x50ca90(0x3dc)](_0x8a3f16[_0x50ca90(0x21b)])),_0x4aab6a(0x1,_0x231ef0['Inject'](_0x1a26fa[_0x50ca90(0x154)])),_0x4aab6a(0x2,_0x231ef0[_0x50ca90(0x3dc)](_0x172992)),_0x4aab6a(0x3,_0x231ef0[_0x50ca90(0x3dc)](_0x394b6f)),_0x4aab6a(0x4,_0x231ef0[_0x50ca90(0x3dc)](_0x5cf31f)),_0x4aab6a(0x5,_0x231ef0['Inject'](_0x4a55a4)),_0x4aab6a(0x6,_0xcd773d[_0x50ca90(0x1a8)]),_0x4aab6a(0x7,_0x231ef0[_0x50ca90(0x3dc)](_0x231ef0['LocaleService']))],_0x42fcc5);var _0x2ec056=Object[_0x50ca90(0x20d)],_0x3f5fa4=(_0x1699bd,_0x91104a,_0x4c132b,_0x34d352)=>{for(var _0x1477b5=_0x34d352>0x1?void 0x0:_0x34d352?_0x2ec056(_0x91104a,_0x4c132b):_0x91104a,_0x1ef926=_0x1699bd['length']-0x1,_0x5ad56d;_0x1ef926>=0x0;_0x1ef926--)(_0x5ad56d=_0x1699bd[_0x1ef926])&&(_0x1477b5=_0x5ad56d(_0x1477b5)||_0x1477b5);return _0x1477b5;},_0x1c0061=(_0x43346a,_0x2aaa29)=>(_0x56a610,_0x4aa106)=>_0x2aaa29(_0x56a610,_0x4aa106,_0x43346a);let _0x12869c=class extends _0x231ef0[_0x50ca90(0x259)]{constructor(_0x39a7f2,_0x379bba,_0x2317fb){const _0xf3cef5=_0x50ca90;super(),_0x39bb06(this,'_cachedData',new Map()),_0x39bb06(this,'_saveTaskMap',new Map()),_0x39bb06(this,_0xf3cef5(0x1d7),!0x1),(this[_0xf3cef5(0x3c1)]=_0x39a7f2,this[_0xf3cef5(0x317)]=_0x379bba,this[_0xf3cef5(0x1aa)]=_0x2317fb);}[_0x50ca90(0x27a)](){const _0xf87226=_0x50ca90;this[_0xf87226(0x1d7)]=!0x0;}['enableLocalCache'](){const _0x57ccac=_0x50ca90;this[_0x57ccac(0x1d7)]=!0x1;}get[_0x50ca90(0x218)](){return this['_saveTaskMap'];}['dispose'](){const _0x5a96b4=_0x50ca90;this[_0x5a96b4(0x35b)]()[_0x5a96b4(0x1db)](()=>super[_0x5a96b4(0x202)]());}async[_0x50ca90(0x1df)](_0x538f38){const _0x1cae0a=_0x50ca90;return this[_0x1cae0a(0x1d7)]?null:this[_0x1cae0a(0x317)][_0x1cae0a(0x298)](_0x1a26fa['getLocalCacheKey'](_0x538f38));}async[_0x50ca90(0x285)](_0x5eb729,_0x3add4e){const _0x201d5f=_0x50ca90;return!!this['_localStorageService'][_0x201d5f(0x3cb)](_0x5eb729,_0x3add4e);}[_0x50ca90(0x1e3)](_0x486bd2,_0x419de2,_0x147626,_0x299076){const _0x104222=_0x50ca90,_0x25837f=this[_0x104222(0x1aa)][_0x104222(0x2f7)](_0x486bd2);this[_0x104222(0x379)][_0x104222(0x284)](_0x486bd2,{'unitID':_0x486bd2,'type':_0x419de2,'awaitingChangeset':_0x147626,'mutations':_0x299076,'rev':_0x25837f}),this[_0x104222(0x162)][_0x104222(0x271)](_0x486bd2)||this[_0x104222(0x25a)](_0x486bd2);}[_0x50ca90(0x25a)](_0x249071){const _0x492be3=_0x50ca90,_0x3693f7=this[_0x492be3(0x2e6)]();_0x3693f7===0x0?this['_saveCache'](_0x249071):this[_0x492be3(0x162)][_0x492be3(0x284)](_0x249071,setTimeout(()=>this[_0x492be3(0x20f)](_0x249071),_0x3693f7));}[_0x50ca90(0x2e6)](){const _0x3f89f1=_0x50ca90;var _0x503cb4;return(_0x503cb4=this['_configService']['getConfig'](_0x1a26fa[_0x3f89f1(0x3bf)]))!=null?_0x503cb4:_0x1a26fa[_0x3f89f1(0x388)];}[_0x50ca90(0x20f)](_0x2da69e){const _0x4f9cef=_0x50ca90,_0x268f96=this[_0x4f9cef(0x162)][_0x4f9cef(0x1cd)](_0x2da69e);return _0x268f96!==void 0x0&&window[_0x4f9cef(0x356)](_0x268f96),this['_localStorageService'][_0x4f9cef(0x3cb)](_0x1a26fa[_0x4f9cef(0x3d8)](_0x2da69e),this[_0x4f9cef(0x379)][_0x4f9cef(0x1cd)](_0x2da69e))[_0x4f9cef(0x1db)](()=>this[_0x4f9cef(0x162)][_0x4f9cef(0x23f)](_0x2da69e));}async['exhaustSavingTask'](){const _0x1a063e=_0x50ca90,_0x3c194c=[];this['_saveTaskMap'][_0x1a063e(0x3d1)]((_0x1df1f6,_0x51d213)=>{const _0x3c92ee=_0x1a063e;window[_0x3c92ee(0x356)](_0x1df1f6),_0x3c194c[_0x3c92ee(0x31f)](this[_0x3c92ee(0x20f)](_0x51d213)[_0x3c92ee(0x1db)](()=>{const _0x298574=_0x3c92ee;this[_0x298574(0x162)][_0x298574(0x23f)](_0x51d213);}));}),await Promise[_0x1a063e(0x217)](_0x3c194c);}};_0x12869c=_0x3f5fa4([_0x1c0061(0x0,_0x231ef0['IConfigService']),_0x1c0061(0x1,_0x231ef0[_0x50ca90(0x26b)]),_0x1c0061(0x2,_0x231ef0[_0x50ca90(0x3dc)](_0x3e87ff['RevisionService']))],_0x12869c);class _0x1de864 extends _0x231ef0[_0x50ca90(0x2ff)]{constructor(){const _0x11ab44=_0x50ca90;super(),_0x39bb06(this,_0x11ab44(0x228)),this[_0x11ab44(0x228)]=_0x2c2b06[_0x11ab44(0x2c1)](window,_0x11ab44(0x396))[_0x11ab44(0x34e)](_0x2c2b06[_0x11ab44(0x376)](this[_0x11ab44(0x324)]),_0x2c2b06[_0x11ab44(0x263)](0x1),_0x2c2b06[_0x11ab44(0x35e)](void 0x0));}['setParam'](_0x259c7a,_0x31a442,_0x50f0f9=!0x1){const _0x90d29e=_0x50ca90,_0x510e41=new URL(window[_0x90d29e(0x2a1)][_0x90d29e(0x310)]);_0x510e41[_0x90d29e(0x266)][_0x90d29e(0x284)](_0x259c7a,_0x31a442),_0x50f0f9?window['history']['replaceState']('','',_0x510e41[_0x90d29e(0x2c7)]()):window[_0x90d29e(0x24f)][_0x90d29e(0x1e4)]('','',_0x510e41['toString']());}[_0x50ca90(0x31a)](_0x44a13f,_0x4e0847=!0x1){const _0x3b8760=_0x50ca90,_0xae7c5=new URL(window['location'][_0x3b8760(0x310)]);_0xae7c5['searchParams']['delete'](_0x44a13f),_0x4e0847?window['history'][_0x3b8760(0x283)]('','',_0xae7c5[_0x3b8760(0x2c7)]()):window[_0x3b8760(0x24f)][_0x3b8760(0x1e4)]('','',_0xae7c5[_0x3b8760(0x2c7)]());}[_0x50ca90(0x1fc)](_0x383d16){const _0x12784b=_0x50ca90;var _0x2ba40d;return(_0x2ba40d=new URL(window[_0x12784b(0x2a1)][_0x12784b(0x310)])[_0x12784b(0x266)][_0x12784b(0x1cd)](_0x383d16))!=null?_0x2ba40d:void 0x0;}}var _0xa9c6d=Object[_0x50ca90(0x157)],_0x31f044=Object['getOwnPropertyDescriptor'],_0xc2b01e=(_0x166c36,_0x1ebb2e,_0x5e5367)=>_0x1ebb2e in _0x166c36?_0xa9c6d(_0x166c36,_0x1ebb2e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e5367}):_0x166c36[_0x1ebb2e]=_0x5e5367,_0xa4468b=(_0x4bf795,_0x154e52,_0x4d779b,_0x47bf29)=>{const _0x4bc3b5=_0x50ca90;for(var _0x2dce87=_0x47bf29>0x1?void 0x0:_0x47bf29?_0x31f044(_0x154e52,_0x4d779b):_0x154e52,_0x2f067c=_0x4bf795[_0x4bc3b5(0x1f3)]-0x1,_0x433e14;_0x2f067c>=0x0;_0x2f067c--)(_0x433e14=_0x4bf795[_0x2f067c])&&(_0x2dce87=_0x433e14(_0x2dce87)||_0x2dce87);return _0x2dce87;},_0x39f84a=(_0x12b536,_0x4b467c)=>(_0x4fe7d9,_0x1912c4)=>_0x4b467c(_0x4fe7d9,_0x1912c4,_0x12b536),_0x3847ce=(_0x4da3c2,_0x5df788,_0x3836c3)=>_0xc2b01e(_0x4da3c2,_0x5df788+'',_0x3836c3);const _0x16e8bd=_0x50ca90(0x2d3);_0x1b6f51[_0x50ca90(0x2a5)]=class extends _0x231ef0[_0x50ca90(0x235)]{constructor(_0x231c80=_0x553549,_0x443dcf,_0x3c669d,_0x4d0052){const _0x20adbb=_0x50ca90;super(),this['_config']=_0x231c80,this[_0x20adbb(0x2e0)]=_0x443dcf,this[_0x20adbb(0x1d3)]=_0x3c669d,this[_0x20adbb(0x3c1)]=_0x4d0052;const {..._0x129bce}=_0x231ef0[_0x20adbb(0x36a)]({},_0x553549,this['_config']);this[_0x20adbb(0x3c1)][_0x20adbb(0x1f7)](_0x5685eb,_0x129bce);}[_0x50ca90(0x198)](){const _0x51b73c=_0x50ca90;this[_0x51b73c(0x1ba)](),this[_0x51b73c(0x378)]();}[_0x50ca90(0x2b4)](){const _0x5ddb46=_0x50ca90;this[_0x5ddb46(0x14f)]();}[_0x50ca90(0x1ba)](){const _0xbf8a8f=_0x50ca90;var _0xd9af5a;const _0x17c3c4=[[_0x1f3483],[_0x5cf31f],[_0x172992],[_0x394b6f],[_0x4a55a4],[_0x140af5,{'useClass':_0x1de864}],[_0x1da057[_0xbf8a8f(0x335)],{'useClass':_0x1da057[_0xbf8a8f(0x293)]}],[_0x1a26fa[_0xbf8a8f(0x351)],{'useClass':_0x12869c}],[_0x1b6f51[_0xbf8a8f(0x177)]],[_0x42fcc5],[_0x47c5d0],[_0x5d2a0e],[_0x166e99],[_0x1b6f51[_0xbf8a8f(0x27c)]]];_0x231ef0[_0xbf8a8f(0x1b5)](this[_0xbf8a8f(0x1d3)],_0x231ef0[_0xbf8a8f(0x386)](_0x17c3c4,(_0xd9af5a=this[_0xbf8a8f(0x207)])==null?void 0x0:_0xd9af5a[_0xbf8a8f(0x2fd)]));}[_0x50ca90(0x14f)](){const _0x12f4d6=_0x50ca90;this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x231ef0[_0x12f4d6(0x303)][_0x12f4d6(0x17b)],[_0x4d74a0])),this[_0x12f4d6(0x1ce)](this[_0x12f4d6(0x2e0)][_0x12f4d6(0x21a)](_0x231ef0[_0x12f4d6(0x303)][_0x12f4d6(0x2cd)],[_0x488cd5]));}['_initDependencies'](){const _0x136d2f=_0x50ca90;_0x231ef0[_0x136d2f(0x21f)](this[_0x136d2f(0x1d3)],[[_0x5d2a0e],[_0x1b6f51[_0x136d2f(0x177)]],[_0x42fcc5],[_0x47c5d0],[_0x1b6f51[_0x136d2f(0x27c)]]]);}},_0x3847ce(_0x1b6f51[_0x50ca90(0x2a5)],_0x50ca90(0x31e),_0x16e8bd),_0x1b6f51[_0x50ca90(0x2a5)]=_0xa4468b([_0x231ef0[_0x50ca90(0x14a)](_0x1a26fa[_0x50ca90(0x37b)]),_0x39f84a(0x1,_0x3edfd3[_0x50ca90(0x2e9)]),_0x39f84a(0x2,_0x231ef0[_0x50ca90(0x3dc)](_0x231ef0[_0x50ca90(0x2cf)])),_0x39f84a(0x3,_0x231ef0[_0x50ca90(0x2be)])],_0x1b6f51[_0x50ca90(0x2a5)]);var _0x1aab7b=Object[_0x50ca90(0x20d)],_0x2f7efb=(_0x59de12,_0x478785,_0x16cea8,_0x3f5a13)=>{const _0x460f96=_0x50ca90;for(var _0x15007d=_0x3f5a13>0x1?void 0x0:_0x3f5a13?_0x1aab7b(_0x478785,_0x16cea8):_0x478785,_0x4c518d=_0x59de12[_0x460f96(0x1f3)]-0x1,_0x56ff77;_0x4c518d>=0x0;_0x4c518d--)(_0x56ff77=_0x59de12[_0x4c518d])&&(_0x15007d=_0x56ff77(_0x15007d)||_0x15007d);return _0x15007d;},_0x33102a=(_0x2c2cfb,_0x55caf1)=>(_0x28d507,_0x23152a)=>_0x55caf1(_0x28d507,_0x23152a,_0x2c2cfb);_0x1b6f51[_0x50ca90(0x1f8)]=class extends _0x1a26fa[_0x50ca90(0x36d)]{constructor(_0x39d377,_0x3515ca,_0x1a5752,_0x324dde,_0x10129f){super(_0x39d377,_0x3515ca,_0x1a5752,_0x324dde,_0x10129f);}async[_0x50ca90(0x277)](_0x1338a7){const _0x10e0a7=_0x50ca90,_0x40b707=await this[_0x10e0a7(0x14d)](),_0x3e9bd4=this[_0x10e0a7(0x1c1)](_0x1338a7,_0x40b707);return this[_0x10e0a7(0x29f)](_0x3e9bd4);}[_0x50ca90(0x1c1)](_0x447c21,_0x534b41){const _0x428447=_0x50ca90,_0x179612=typeof window>'u'?new URL(_0x447c21):new URL(_0x447c21,window[_0x428447(0x2a1)][_0x428447(0x147)]);_0x179612[_0x428447(0x266)][_0x428447(0x284)](_0x428447(0x244),_0x534b41);const _0x12ca91=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x428447(0x224)]);return _0x12ca91[_0x428447(0x1cd)](_0x428447(0x247))&&_0x179612[_0x428447(0x266)][_0x428447(0x284)](_0x428447(0x247),_0x12ca91[_0x428447(0x1cd)](_0x428447(0x247))),_0x179612[_0x428447(0x2c7)]();}async['_getSessionTicket'](){const _0x110227=_0x50ca90;var _0x449c5c,_0x20db71,_0x243326;const _0x496aa1=this[_0x110227(0x3c1)][_0x110227(0x3aa)](_0x1a26fa[_0x110227(0x15b)]),_0x36b2bb=(_0x449c5c=_0x496aa1==null?void 0x0:_0x496aa1[_0x110227(0x19f)])!=null?_0x449c5c:_0x1a26fa[_0x110227(0x366)];return(_0x243326=(_0x20db71=(await this[_0x110227(0x3b7)]['get'](_0x36b2bb,{'headers':{'Content-Type':_0x110227(0x355)}}))[_0x110227(0x1ec)])==null?void 0x0:_0x20db71[_0x110227(0x3a6)])!=null?_0x243326:'';}},_0x1b6f51[_0x50ca90(0x1f8)]=_0x2f7efb([_0x33102a(0x0,_0x231ef0[_0x50ca90(0x3dc)](_0x231ef0[_0x50ca90(0x2cf)])),_0x33102a(0x1,_0x231ef0[_0x50ca90(0x3dc)](_0x1da057['HTTPService'])),_0x33102a(0x2,_0x231ef0[_0x50ca90(0x2be)]),_0x33102a(0x3,_0x231ef0[_0x50ca90(0x2c4)]),_0x33102a(0x4,_0x3e87ff['ISnapshotServerService'])],_0x1b6f51['BrowserCollaborationSocketService']);const _0x27cd7e=0x7530,_0x583830=_0x50ca90(0x2d5);class _0x5317ce extends _0x231ef0['Disposable']{constructor(){const _0x1a8f92=_0x50ca90;super(),_0x39bb06(this,'_id',_0x231ef0[_0x1a8f92(0x2a7)]()),_0x39bb06(this,'_selfUnitIDs',new Set()),_0x39bb06(this,_0x1a8f92(0x3ae),new Map()),_0x39bb06(this,'_heartbeatTimer',null),_0x39bb06(this,'_clearOtherTimers',new Map()),_0x39bb06(this,_0x1a8f92(0x17e),new Map()),this['_init']();}[_0x50ca90(0x202)](){const _0x15a0ad=_0x50ca90;super['dispose'](),this['_clearOtherTimers'][_0x15a0ad(0x3d1)]((_0x1931e1,_0x2b0e95)=>this['_removeClearOtherTimer'](_0x2b0e95)),this[_0x15a0ad(0x3b3)]&&window[_0x15a0ad(0x238)](this['_heartbeatTimer']);}[_0x50ca90(0x21d)](_0x4cf310){const _0x4b7ded=_0x50ca90;return this['_ensureSubject'](_0x4cf310)[_0x4b7ded(0x34e)](_0x2c2b06[_0x4b7ded(0x19c)]());}[_0x50ca90(0x2f3)](_0x46c4db){const _0x2b6e2e=_0x50ca90;this['_selfUnitIDs'][_0x2b6e2e(0x211)]===0x0&&this['_scheduleHeartbeat'](),this[_0x2b6e2e(0x1fd)][_0x2b6e2e(0x2ed)](_0x46c4db),this[_0x2b6e2e(0x314)]({'type':0x0,'memberID':this[_0x2b6e2e(0x360)],'unitIDs':[_0x46c4db],'isForwarded':!0x1});}[_0x50ca90(0x1ea)](_0x54c016){const _0x3cf960=_0x50ca90;this[_0x3cf960(0x1fd)][_0x3cf960(0x23f)](_0x54c016),this[_0x3cf960(0x1fd)][_0x3cf960(0x211)]===0x0&&this['_heartbeatTimer']&&window[_0x3cf960(0x238)](this[_0x3cf960(0x3b3)]);}[_0x50ca90(0x1c5)](){const _0x24a259=_0x50ca90;this[_0x24a259(0x1ce)](_0x231ef0[_0x24a259(0x29a)](_0x2c2b06[_0x24a259(0x2c1)](window,_0x24a259(0x3ce))[_0x24a259(0x2fc)](_0x5824fa=>{const _0x1018ae=_0x24a259;if(_0x5824fa[_0x1018ae(0x390)]!==_0x583830||!_0x5824fa['newValue'])return;const _0x4d8f73=JSON[_0x1018ae(0x249)](_0x5824fa[_0x1018ae(0x289)]);this[_0x1018ae(0x27e)](_0x4d8f73);}))),window[_0x24a259(0x16e)](_0x24a259(0x17a),()=>this[_0x24a259(0x314)]({'type':0x1,'memberID':this[_0x24a259(0x360)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x2d3245){const _0x1ebcf2=_0x50ca90;switch(_0x2d3245[_0x1ebcf2(0x163)]){case 0x0:this[_0x1ebcf2(0x1f1)](_0x2d3245);break;case 0x1:this[_0x1ebcf2(0x384)](_0x2d3245);break;case 0x2:this[_0x1ebcf2(0x1b7)](_0x2d3245);break;}}[_0x50ca90(0x1f1)](_0x1757a0){const _0x5e3b1b=_0x50ca90,{unitIDs:_0xcf01c5,memberID:_0x1824c6,isForwarded:_0x10aac6}=_0x1757a0;_0xcf01c5[_0x5e3b1b(0x3d1)](_0xfc007e=>{const _0x5be792=_0x5e3b1b;if(!_0x10aac6&&this[_0x5be792(0x3ae)][_0x5be792(0x271)](_0xfc007e)&&this[_0x5be792(0x257)](_0xfc007e)[_0x5be792(0x272)](_0x1a26fa['UnitStatus'][_0x5be792(0x3a3)]),!this[_0x5be792(0x3ae)][_0x5be792(0x271)](_0xfc007e)||!this[_0x5be792(0x3ae)][_0x5be792(0x1cd)](_0xfc007e)['has'](_0x1824c6)){const _0x45299e=this[_0x5be792(0x3ae)][_0x5be792(0x1cd)](_0xfc007e)||new Set();_0x45299e['add'](_0x1824c6),this[_0x5be792(0x3ae)][_0x5be792(0x284)](_0xfc007e,_0x45299e),this[_0x5be792(0x28e)](_0x1824c6);}}),_0x10aac6||this['_send']({'type':0x0,'memberID':this[_0x5e3b1b(0x360)],'unitIDs':[...this[_0x5e3b1b(0x1fd)]],'isForwarded':!0x0});}[_0x50ca90(0x28e)](_0x4ee862){const _0x4a35b4=_0x50ca90;this[_0x4a35b4(0x262)](_0x4ee862);const _0x58e2df=window[_0x4a35b4(0x256)](()=>{const _0x37eaf4=_0x4a35b4;this['_unitOnClients'][_0x37eaf4(0x3d1)](_0x2d8174=>{const _0x4af18b=_0x37eaf4;_0x2d8174[_0x4af18b(0x23f)](_0x4ee862);});},_0x27cd7e*0x2);this[_0x4a35b4(0x273)][_0x4a35b4(0x284)](_0x4ee862,_0x58e2df);}[_0x50ca90(0x262)](_0x369cd8){const _0x31b610=_0x50ca90;if(this[_0x31b610(0x273)][_0x31b610(0x271)](_0x369cd8)){const _0x58b46b=this[_0x31b610(0x273)][_0x31b610(0x1cd)](_0x369cd8);_0x58b46b&&window[_0x31b610(0x356)](_0x58b46b),this[_0x31b610(0x273)][_0x31b610(0x284)](_0x369cd8,null);}}[_0x50ca90(0x384)](_0x22cda4){const _0x112344=_0x50ca90,{memberID:_0x4fd48d,unitIDs:_0x1a045c}=_0x22cda4;_0x1a045c[_0x112344(0x3d1)](_0x4a7764=>{const _0x4615c1=_0x112344;var _0x4f69c9;const _0x2937b6=this[_0x4615c1(0x3ae)][_0x4615c1(0x1cd)](_0x4a7764);_0x2937b6&&(_0x2937b6[_0x4615c1(0x23f)](_0x4fd48d),(_0x4f69c9=this[_0x4615c1(0x257)](_0x4a7764))==null||_0x4f69c9['next'](_0x2937b6[_0x4615c1(0x211)]===0x0?_0x1a26fa[_0x4615c1(0x148)][_0x4615c1(0x15c)]:_0x1a26fa[_0x4615c1(0x148)][_0x4615c1(0x3a3)]));}),this[_0x112344(0x262)](_0x4fd48d);}[_0x50ca90(0x1b7)](_0x2f2367){const _0x4de9f3=_0x50ca90;this[_0x4de9f3(0x28e)](_0x2f2367[_0x4de9f3(0x2b2)]);}['_send'](_0x5e9f4e){const _0x30d4af=_0x50ca90;localStorage[_0x30d4af(0x3cb)](_0x583830,JSON['stringify'](_0x5e9f4e));}[_0x50ca90(0x191)](){const _0x27bcae=_0x50ca90;this[_0x27bcae(0x3b3)]=window[_0x27bcae(0x25f)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x27cd7e);}[_0x50ca90(0x257)](_0x168579){const _0x348c1c=_0x50ca90;return this[_0x348c1c(0x17e)]['has'](_0x168579)||this['_unitStatus']['set'](_0x168579,new _0x2c2b06[(_0x348c1c(0x2e2))](_0x1a26fa[_0x348c1c(0x148)][_0x348c1c(0x15c)])),this[_0x348c1c(0x17e)]['get'](_0x168579);}}var _0x41b67b=(_0x22fc91=>(_0x22fc91[_0x22fc91[_0x50ca90(0x150)]=0x0]=_0x50ca90(0x150),_0x22fc91[_0x22fc91['OK']=0x1]='OK',_0x22fc91[_0x22fc91['INTERNAL_ERROR']=0x2]=_0x50ca90(0x3d7),_0x22fc91[_0x22fc91[_0x50ca90(0x237)]=0x3]=_0x50ca90(0x237),_0x22fc91[_0x22fc91[_0x50ca90(0x1e1)]=0x4]=_0x50ca90(0x1e1),_0x22fc91[_0x22fc91['UNAUTHENTICATED']=0x5]=_0x50ca90(0x226),_0x22fc91[_0x22fc91[_0x50ca90(0x352)]=0x6]=_0x50ca90(0x352),_0x22fc91[_0x22fc91[_0x50ca90(0x21c)]=0x7]=_0x50ca90(0x21c),_0x22fc91[_0x22fc91[_0x50ca90(0x2d8)]=0x8]=_0x50ca90(0x2d8),_0x22fc91[_0x22fc91[_0x50ca90(0x232)]=0x9]='COMPLETION_FINISHED',_0x22fc91[_0x22fc91[_0x50ca90(0x158)]=0xa]=_0x50ca90(0x158),_0x22fc91[_0x22fc91[_0x50ca90(0x168)]=0x1389]=_0x50ca90(0x168),_0x22fc91[_0x22fc91[_0x50ca90(0x3d3)]=0x1771]=_0x50ca90(0x3d3),_0x22fc91[_0x22fc91[_0x50ca90(0x294)]=0x1772]=_0x50ca90(0x294),_0x22fc91[_0x22fc91[_0x50ca90(0x1b2)]=0x1773]=_0x50ca90(0x1b2),_0x22fc91[_0x22fc91[_0x50ca90(0x25d)]=0x1b59]=_0x50ca90(0x25d),_0x22fc91[_0x22fc91['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x50ca90(0x2b9),_0x22fc91[_0x22fc91[_0x50ca90(0x189)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x22fc91[_0x22fc91['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x50ca90(0x16d),_0x22fc91[_0x22fc91['APPLY_DUPLICATED']=0x1b5d]=_0x50ca90(0x357),_0x22fc91[_0x22fc91[_0x50ca90(0x301)]=0x1f41]=_0x50ca90(0x301),_0x22fc91[_0x22fc91[_0x50ca90(0x178)]=0x2329]=_0x50ca90(0x178),_0x22fc91[_0x22fc91['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x50ca90(0x205),_0x22fc91[_0x22fc91[_0x50ca90(0x2ca)]=0x232b]=_0x50ca90(0x2ca),_0x22fc91[_0x22fc91[_0x50ca90(0x1cc)]=0x232c]=_0x50ca90(0x1cc),_0x22fc91[_0x22fc91[_0x50ca90(0x194)]=0x232d]=_0x50ca90(0x194),_0x22fc91[_0x22fc91[_0x50ca90(0x326)]=0x2711]=_0x50ca90(0x326),_0x22fc91[_0x22fc91[_0x50ca90(0x23a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x22fc91[_0x22fc91[_0x50ca90(0x1ab)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x22fc91[_0x22fc91['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x50ca90(0x2aa),_0x22fc91[_0x22fc91['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x50ca90(0x19b),_0x22fc91[_0x22fc91[_0x50ca90(0x269)]=0x271b]=_0x50ca90(0x269),_0x22fc91[_0x22fc91[_0x50ca90(0x34f)]=0x271c]=_0x50ca90(0x34f),_0x22fc91[_0x22fc91['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x50ca90(0x336),_0x22fc91[_0x22fc91[_0x50ca90(0x340)]=0x271e]=_0x50ca90(0x340),_0x22fc91[_0x22fc91[_0x50ca90(0x234)]=0x271f]=_0x50ca90(0x234),_0x22fc91[_0x22fc91[_0x50ca90(0x1d2)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x22fc91[_0x22fc91[_0x50ca90(0x22b)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x22fc91[_0x22fc91[_0x50ca90(0x2b0)]=0x2ee2]=_0x50ca90(0x2b0),_0x22fc91[_0x22fc91[_0x50ca90(0x2f1)]=0x2ee3]=_0x50ca90(0x2f1),_0x22fc91[_0x22fc91[_0x50ca90(0x281)]=0x2ee4]=_0x50ca90(0x281),_0x22fc91[_0x22fc91[_0x50ca90(0x26a)]=0x2ee5]=_0x50ca90(0x26a),_0x22fc91[_0x22fc91[_0x50ca90(0x37e)]=0x32c9]=_0x50ca90(0x37e),_0x22fc91[_0x22fc91[_0x50ca90(0x1ee)]=0x32ca]=_0x50ca90(0x1ee),_0x22fc91[_0x22fc91['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x50ca90(0x33e),_0x22fc91[_0x22fc91['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x22fc91))(_0x41b67b||{}),_0x129b05=Object[_0x50ca90(0x20d)],_0x3cd77b=(_0x4f1695,_0x2a4c69,_0x3f4e4f,_0x3884db)=>{const _0x59d5bb=_0x50ca90;for(var _0x1a4ea6=_0x3884db>0x1?void 0x0:_0x3884db?_0x129b05(_0x2a4c69,_0x3f4e4f):_0x2a4c69,_0x33061c=_0x4f1695[_0x59d5bb(0x1f3)]-0x1,_0x1a6615;_0x33061c>=0x0;_0x33061c--)(_0x1a6615=_0x4f1695[_0x33061c])&&(_0x1a4ea6=_0x1a6615(_0x1a4ea6)||_0x1a4ea6);return _0x1a4ea6;},_0x495678=(_0x32c785,_0x533af3)=>(_0x3fd099,_0x2a02d2)=>_0x533af3(_0x3fd099,_0x2a02d2,_0x32c785);_0x1b6f51[_0x50ca90(0x3a4)]=class extends _0x231ef0[_0x50ca90(0x259)]{constructor(_0x411c12,_0x52f76c,_0x2f2a55){const _0x96d419=_0x50ca90;super(),this[_0x96d419(0x27d)]=_0x411c12,this[_0x96d419(0x3b7)]=_0x52f76c,this[_0x96d419(0x3c1)]=_0x2f2a55;}async[_0x50ca90(0x32f)](_0x32aac8,_0x21eba2,_0x1179fa,..._0xff0017){const _0x2c254a=_0x50ca90;var _0x541064,_0x3de6ab,_0x1ce6ce,_0x147a39;const _0x38ce58=this[_0x2c254a(0x27d)][_0x2c254a(0x35a)]();if(!_0x38ce58)throw new Error(_0x2c254a(0x2ae));const _0x1a6fc9=((_0x541064=this['_configService']['getConfig'](_0x1a26fa[_0x2c254a(0x3c9)]))!=null?_0x541064:_0x1a26fa[_0x2c254a(0x295)])+'/'+_0x32aac8+'/run/'+_0x21eba2,_0x2580fb=new URL(window[_0x2c254a(0x2a1)][_0x2c254a(0x310)]),_0x17e138={'scriptId':_0x32aac8,'runId':(_0x3de6ab=_0x2580fb[_0x2c254a(0x266)][_0x2c254a(0x1cd)](_0x2c254a(0x247)))!=null?_0x3de6ab:'','function':_0x21eba2,'unitId':_0x38ce58[_0x2c254a(0x1a2)](),'argsOfFunction':JSON[_0x2c254a(0x31d)](_0xff0017),'invokeId':(_0x1ce6ce=_0x1179fa[_0x2c254a(0x183)])!=null?_0x1ce6ce:'','executionId':(_0x147a39=_0x1179fa['executionId'])!=null?_0x147a39:''};try{const _0x4155ca=await this[_0x2c254a(0x3b7)]['post'](_0x1a6fc9,{'body':_0x17e138});return _0x4155ca[_0x2c254a(0x1ec)][_0x2c254a(0x3a7)]&&_0x4155ca[_0x2c254a(0x1ec)][_0x2c254a(0x3a7)][_0x2c254a(0x2bc)]!==_0x41b67b['OK']?_0x2c254a(0x2a2):_0x4155ca[_0x2c254a(0x1ec)][_0x2c254a(0x3e4)];}catch{return _0x2c254a(0x2a2);}}},_0x1b6f51[_0x50ca90(0x3a4)]=_0x3cd77b([_0x495678(0x0,_0x231ef0['IUniverInstanceService']),_0x495678(0x1,_0x231ef0[_0x50ca90(0x3dc)](_0x1da057[_0x50ca90(0x387)])),_0x495678(0x2,_0x231ef0['IConfigService'])],_0x1b6f51['RemoteUniscriptService']),_0x1b6f51['CollaborationStatusDisplay']=_0x26e2ce,_0x1b6f51[_0x50ca90(0x3c0)]=_0x140af5,_0x1b6f51['SheetCollabCursorShape']=_0x1b811f,_0x1b6f51[_0x50ca90(0x1d5)]=_0x5317ce,_0x1b6f51[_0x50ca90(0x1a1)]=_0x1de864,Object[_0x50ca90(0x157)](_0x1b6f51,Symbol['toStringTag'],{'value':_0x50ca90(0x18d)});}));function _0x5d26(){const _0x1451f5=['docStateChange$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','EffectRefRangId','_config','getMember','getMemberID','collabStatus.synced','endColumn','contains','getOwnPropertyDescriptor','throttleTime','_saveCache','createInstance','size','unsubscribe','extend','evenodd','collab-text-range-','#FFF','all','saveTaskMap','makeDirty','registerRenderModule','DocStateChangeManagerService','INVALID_ARGUMENT','getUnitStatus$','onTransformChange$','touchDependencies','_initResize','163471NaxCut','debounce','_handleHover','search','_updateURLWithCurrentState','UNAUTHENTICATED','USERS_LEAVE','urlChange$','_labelPosition','SheetsSelectionsService','INVITE_CODE_HAS_BEEN_UES','InsertRangeMoveDownCommandId','collabCursorState$','getCellPositionByOffset','round','OFFLINE','entityInit$','COMPLETION_FINISHED','_messageService','YUUMI_AI_RUN_FAILED','Plugin','_refreshCollabCursors','PERMISSION_DENIED','clearInterval','_colorAssignService','YUUMI_URL_COL_OUT_OF_RANGE','_toggleOnline','2487621HVTVqe','FromArray','_drawAnchor','delete','eventID','isActive','_collabSessionService','_range','sessionTicket','BuiltInUIPart','IRemoteInstanceService','runId','fillStyle','parse','_transformUndoRedoStack','OnLineSingle','hovered','combineLatest','yellow.400','history','font','_collabCursorState$','fill','_docTransformSelectionsService','getDocRanges','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','setTimeout','_ensureSubject','Subject','Disposable','_scheduleSaving','InsertRangeMoveRightCommandId','handleInsertRangeMoveDown','APPLY_REJECT','complete','setInterval','collab-text-anchor-','amd','_removeClearOtherTimer','shareReplay','with','addObjects','searchParams','collaboration-client.offline-data-not-saved','@univerjs/ui','YUUMI_ASYNCIO_CANCELLED','INVITE_CODE_ALREADY_BOUND','ILocalStorageService','_onRefRangeChange','@univerjs/docs','defs','max','_getScale','has','next','_clearOtherTimers','transformStateCache','_setupBeforeClosingHandler','UniverProCollaborationClient','createSocket','arc','transformByState','disableLocalCache','react','CollaborationDataLoaderController','_instanceService','_handleEvent','Tools','getCollabCursors$','USER_NOT_INVITED_CODE','_roomMembers$','replaceState','set','saveOfflineData','IDocClipboardService','_textBubble','labelPosition','newValue','useObservable','column','UniverProCollaboration','use','_scheduleClearOtherTimer','roomMembers','SessionStatus','AWAITING','getStateCache','WebSocketService','SNAPSHOT_HAS_BEEN_REMOVED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_urlService','isEditing','getItem','_onCursorDelete','toDisposable','restore','collabStatus.syncing','_initStatusListener','IImageIoService','_doCreateSocket','_online','location','Failed','univer-flex\x20univer-items-center','Rectangle','UniverCollaborationClientUIPlugin','lineTo','generateRandomId','hasOwnProperty','NodePositionConvertToRectRange','YUUMI_SUBSCRIPTION_NOT_FOUND','startRow','colorChannel1','@univerjs/core','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UniverDocsUi','INVALID_INVITE_CODE','_collabCursorController','memberID','split','onRendered','COLORS','onLocalMutation','CollaborationUIEventId','@univerjs/sheets-ui','APPLY_NON_SEQUENTIAL_REVISION','ONLINE','TRANSFORM_CHANGE_OBSERVABLE_TYPE','code','transformIMECache','IConfigService','asObservable','substring','fromEvent','CollaborationUIEventService','_render','ILogService','RemoveRowCommandId','filter','toString','UniverRpc','getTypeOfUnitDisposed$','LICENSE_IMPORT_SIZE_EXCEEDED','addHandlerCallback','switchMap','UNIVER_SHEET','_assignedColors','Injector','CollaborationEvent','getTypeOfUnitAdded$','children','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','...','ACTIVE_UNIT_EVENT_CHANNEL','object','debug','TOO_MANY_REQUESTS','forwardRef','_cursor','connectInjector','DocSelectionManagerService','onCommandExecuted','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','addObject','_renderManagerService','AWAITING_WITH_PENDING','BehaviorSubject','_removeCollabCursors','source','ITransformService','_getSaveTimeout','DocCollaborationEntity','_entityInit$','IRenderManagerService','transformSelections','_sheetSkeletonManagerService','_lastPointer','add','svg','defIds','m1Prime','INVITE_CODE_REQUIRED','Workbook','editingUnit','CONFLICT','transformMutationsWithChangeset','univerjs-icon\x20univerjs-icon-','getCurrentRevOfUnit','transformRemoteChangeset','icon','init','replace','subscribe','override','collab-client.tooltip.reconnect','RxDisposable','handleMoveRange','CONNECTOR_DATA_TOO_LARGE','propertyIsEnumerable','UniverInstanceType','height','on-line-single','_anchor','closePath','_hovered','function','symbol','cursorInfo','subunit','collaboration-client-ui.config','entries','registerRefRange','href','980hypRVn','createIdentifier','_anchorDot','_send','mask','_localCacheService','_localStorageService','React','idSuffix','removeParam','black','setParam','stringify','pluginName','push','translate(.97)','0\x200\x2016\x2016','1em','findNodePositionByCharIndex','dispose$','url(#off-line-single_clip0_910_343)','YUUMI_UNABLE_LOAD_URL','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','indexOf','_docSkeleton','call','measureText','assign','UniverUi','getRenderById','runOnServer','assignAColorForMemberID','xlink:href','PENDING','DeleteRangeMoveLeftCommandId','TEXT_RANGE_LAYER_INDEX','ISocketService','YUUMI_ALL_TABLES_IS_INVALID','25320DNfpAo','sessionStatus$','transform','purple.300','useCallback','jsx','unshift','EMAIL_HAS_BEEN_BOUND','_cursorInfo$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collaboration.closeRoom','MUTATION','reconnect','getCurrentSelections','_transformPreviousActiveRange','getOffsetConfig','currentSkeleton$','getVpScrollXYInfoByPosToVp','getValue','createElement','sheetId','ColorKit','_getSheetObject','pipe','YUUMI_TABLE_NOT_FOUND_IN_UNIT','endRow','ILocalCacheService','ALREADY_EXISTS','_backgroundColor','_hideTimer','application/json','clearTimeout','APPLY_DUPLICATED','getColorFromTheme','handleInsertRow','getFocusedUnit','exhaustSavingTask','apply','_transformHistoryAndStateStack','mapTo','drawWith','_id','_univerInstanceService','CollaborationSessionService','_scene','_syncEditingCollabCursorService','displayName','DEFAULT_WS_SESSION_TICKET_URL','5659070rtfwkz','setShapeProps','_uiPartsService','merge','currentColor','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CollaborationSocketService','m2Prime','runRefRangeMutations','addClipboardHook','_updateSubUnitFromURLParams','_getAnchorBounding','MemberService','14697912aJPkJj','_logService','takeUntil','handleIRemoveCol','_initDependencies','_cachedData','_drawRectRange','UniverCollaborationClientPlugin','Warning','resize','WECHAT_HAS_BEEN_BOUND','green.600','width','url(#$1','beginPath','_localeService','_handleLeaveEvent','session.connection-failed','mergeOverrideWithDependencies','HTTPService','LOCAL_CACHE_INTERVAL','off-line-single','handleDeleteRangeMoveUp','isTransformMutationFailure','moveTo','UniverDesign','_docSyncEditingCollabCursorService','serializeRangeWithSheet','key','@univerjs-pro/collaboration-client','Rect','_shapes','div','deepClone','popstate','debounceTime','_memberService','_initStatusComponent','UPDATE_CURSOR','Error','jsxs','text','getAncestorScale','_startSheetCollabCursor','[CollaborationDataLoaderController]','_initEvent','deserializeRangeWithSheet','OTHER_CLIENTS_EDITING','RemoteUniscriptService','MessageType','ticket','error','string','some','getConfig','none','DOC_RANGE_TYPE','isArray','_unitOnClients','getCurrentUnitForType','@univerjs/drawing','rxjs/operators','isTransformMutationsWithChangesetSuccess','_heartbeatTimer','IBeforeCloseService','SetWorksheetActivateCommand','url(#on-line-single_clip0_910_349)','_httpService','from','TEXT','clipPath','getViewport','RemoveColCommandId','Tooltip','getColor','LOCAL_CACHE_INTERVAL_KEY','IURLService','_configService','getSheetId','_toggleOffline','cursorInfo$','handleIRemoveRow','map','_getMergeRange','_session','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_collaborationController','setItem','fillRule','collabStatus.notCollab','storage','@univerjs/docs-ui','startColumn','forEach','_updateCollabCursors','SNAPSHOT_INVALID_SNAPSHOT','850714zfVzAB','includes','permission.content','INTERNAL_ERROR','getLocalCacheKey','IUIPartsService','_commandService','_collaborationUIEventService','Inject','session.collaboration-timeout','SetDocZoomRatioOperation','_hover','RefRangeService','show','trim','path','result','_draw','DocSkeletonManagerService','clsx','origin','UnitStatus','_name','DependentOn','_docTransformIMECacheService','UniverDocs','_getSessionTicket','UniverIcon','_registerRenderDependencies','UNDEFINED','@univerjs/design','prototype','_docClipboardService','CollaborationController','range','getSkeleton','defineProperty','LOGIN_FAILED','_docSkeletonManagerService','red.300','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','NO_OTHER_CLIENTS_EDITING','transformMutation','attrs','currentTheme$','mutations','_updateLocalCursor','_saveTaskMap','type','ranges','_entities','fillText','getUndoRedoMutationParamsCache','CHANGESET_REVISION_CONFILICT','row','backgroundColor','values','ICommandService','APPLY_PERMISSION_DENIED','addEventListener','@univerjs/rpc','#fff','getCurrent','startsWith','color','CollaborationStatus','react/jsx-runtime','_docTransformStateCacheService','DesktopCollaborationStatusDisplayController','LICENSE_MAX_UNITS_EXCEEDED','VIEW_MAIN','unload','UNIVER_DOC','unitId','tag','_unitStatus','univer-flex\x20univer-mr-2\x20univer-text-xl','getOwnPropertySymbols','handleInsertCol','onPointerEnter$','invokeId','focused$','whenReady','_docStateChangeManagerService','subscribeEvent','registerComponent','APPLY_REVISION_CONFILICT','_status$','Vector2','9YMMbEM','Module','RECT','getRelativeToViewportCoord','_beforeCloseService','_scheduleHeartbeat','DocIMEInputManagerService','blue.400','LICENSE_DISTRO_REJECTED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','collab-rect-range-','off-line-single_clip0_910_343','onStarting','save','params','YUUMI_NO_CUBOID_FOR_QUESTION','distinctUntilChanged','@univerjs/network','UniverSheets','wsSessionTicketUrl','_cursorShapes','WebURLService','getUnitId','textRanges','on-line-single_clip0_910_349','getCollabEntity$','operators','1747664XltBkq','IMessageService','UniverEngineFormula','_revisionService','YUUMI_RATE_OVER_LIMIT','useRef','requireSession','_refRangeService','SetSelectionsOperation','exports','name','ENSURE_SNAPSHOT_EXECUTION','_initCommandExecutedListener','toRgbString','registerDependencies','setStateCache','_handleHeartbeatEvent','_imageIoService','UniverCore','_registerDependencies','redoState','_color','_document','data','@univerjs/engine-formula','find','_createSocketURL','DisposableCollection','engine','concat','_init','_startDocCollabCursor','getActiveSheet','send','_themeService','getActiveRange','getMergeData','LICENSE_EXPORT_SIZE_EXCEEDED','get','disposeWithMe','_colorIndex','NOT_COLLAB','doc.mutation.rich-text-editing','PY_RUNTIME_SCRIPT_ERROR','_injector','collabStatus.fetchMiss','WebBrowserSingleActiveUnitService','SetTextSelectionsOperation','_disabled','_onCursorUpdate','onMouseMove','IUniverInstanceService','then','_transformService','UniverEngineRender','@univerjs/engine-render','loadOfflineData','event$','NOT_FOUND','bottom','updateOfflineData','pushState','activeSheet$','setAlpha','M0\x200H16V16H0z','_setupSubUnitSync','rxjs','disposeUnit','session.will-retry','body','_eventUnsubscribe','MOBILE_HAS_BEEN_BOUND','unitID','0\x200\x2017\x2016','_handleJoinEvent','LocaleService','length','SOCKET_FAILED','_context','flatMap','setConfig','BrowserCollaborationSocketService','@univerjs/sheets','syncEditingCollabCursor','useDependency','getParam','_selfUnitIDs','@univerjs-pro/collaboration','hide','top','undoState','dispose','_cursors'];_0x5d26=function(){return _0x1451f5;};return _0x5d26();}
|