@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505041606 → 0.7.0-nightly.202505051607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5179(_0x28220f,_0xbd7858){const _0x484407=_0x4844();return _0x5179=function(_0x517955,_0x270168){_0x517955=_0x517955-0x1b4;let _0x36169f=_0x484407[_0x517955];return _0x36169f;},_0x5179(_0x28220f,_0xbd7858);}function _0x4844(){const _0x33b64d=['setUndoRedoMutationParamsCache','result','DependentOn','includes','contains','getViewport','UniverRpc','setConfig','debug','hovered','collabStatus.offline','UNDEFINED','ILocalStorageService','YUUMI_UNABLE_LOAD_URL','permission.content','SessionStatus','PENDING','doc.mutation.rich-text-editing','_cachedData','USERS_LEAVE','Error','getMember','executeCommand','subscribe','concat','split','univer-flex\x20univer-mr-2\x20univer-text-[20px]','cursorInfo','_initCommandExecutedListener','_roomMembers$','_disabled','IConfigService','_univerInstanceService','toRgbString','Warning','has','eventID','operators','RECT','getColor','CLOSE_ROOM','save','446265UgWDYn','setShapeProps','fromEvent','whenReady','syncEditingCollabCursor','_entities','fillStyle','post','isTransformMutationsWithChangesetSuccess','PY_RUNTIME_SCRIPT_ERROR','InsertRangeMoveDownCommandId','JOIN_ROOM_FAILED','ICommandService','history','div','init','UniverInstanceType','UniverCore','_dataLoaderService','drawWith','getUndoRedoMutationParamsCache','_commandService','editingUnit','switchMap','getParam','UniverDesign','m1Prime','SNAPSHOT_HAS_BEEN_REMOVED','createSocket','createInstance','RemoteUniscriptService','NodePositionConvertToCursor','RegularPolygon','getRelativeToViewportCoord','_initResize','data','_docSkeleton','collabStatus.synced','_updateCollabCursors','APPLY_REJECT','_id','_cursorShapes','disableLocalCache','indexOf','M0\x200H16V16H0z','length','mutations','_initEvent','transformSelections','ONLINE','getSkeleton','toDisposable','3280032CXNlbD','colorChannel1','InsertRowCommandId','setParam','textRanges','35562tHmqch','INVITE_CODE_HAS_BEEN_UES','APPLY_NON_SEQUENTIAL_REVISION','jsx','with','_anchor','_collabSessionService','_render','url(#off-line-single_clip0_910_343)','_entityInit$','href','toString','tag','_handleEvent','getOwnPropertySymbols','forEach','isTransformMutationFailure','column','univer-text-green-500','_messageService','@univerjs/docs','distinctUntilChanged','EffectRefRangId','UnitStatus','_syncEditingCollabCursorService','DocIMEInputManagerService','INVALID_ARGUMENT','session.connection-failed','on-line-single_clip0_910_349','_localCacheService','_saveCache','getTypeOfUnitAdded$','focused$','LocaleService','getCurrentSelections','get','moveTo','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','getVpScrollXYInfoByPosToVp','clearInterval','registerRenderModule','CommandType','then','CollaborationSessionService','WebSocketService','onCommandExecuted','_scheduleClearOtherTimer','onMouseMove','_textBubble','clsx','_hover','saveTaskMap','UNAUTHENTICATED','size','@univerjs/docs-ui','unsubscribe','dispose$','OFFLINE','_notificationService','complete','_docTransformSelectionsService','DEFAULT_WS_SESSION_TICKET_URL','_collabCursorController','_scheduleHeartbeat','_handleLeaveEvent','_docClipboardService','LICENSE_DISTRO_REJECTED','set','_localeService','CHANGESET_REVISION_CONFILICT','CollaborationStatus','pushState','CollaborationEvent','UniverProCollaborationClientUi','...','row','React','parse','_removeClearOtherTimer','UNIVER_SHEET','generateRandomId','getAncestorScale','TEXT_RANGE_LAYER_INDEX','UniverUi','addObject','_status$','EMAIL_HAS_BEEN_BOUND','INVALID_INVITE_CODE','LOCAL_CACHE_INTERVAL','_hovered','removeParam','_online','event$','PERMISSION_DENIED','push','values','symbol','_ensureSubject','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_session','forwardRef','univer-text-red-500','_setupBeforeClosingHandler','_doCreateSocket','add','InsertRangeMoveRightCommandId','find','BrowserCollaborationSocketService','_getSheetObject','UniverProCollaboration','_unitOnClients','_themeService','_docSyncEditingCollabCursorService','measureText','subunit','ranges','fillRule','getFocusedUnit','asObservable','Module','_uiPartsService','_updateURLWithCurrentState','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','origin','HEADER_MENU','getStateCache','red300','storage','451mnMwMo','_docTransformIMECacheService','off-line-single_clip0_910_343','CollaborationStatusDisplay','session.will-retry','beginPath','merge','icon','Inject','_colorAssignService','_heartbeatTimer','OffLineSingle','CONFLICT','name','deepClone','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','rxjs','onLocalMutation','loadOfflineData','_getScale','_collaborationUIEventService','IUniverInstanceService','_updateLocalCursor','ITransformService','hide','TEXT','UniverCollaborationClientPlugin','_colorIndex','[RemoteUniscriptService]:\x20no\x20focused\x20unit','react/jsx-runtime','getRangePointData','getCollabCursors$','LOGIN_FAILED','getMemberID','findNodePositionByCharIndex','UniverSheetsUi','key','FromArray','transformByState','_shapes','_transformPreviousActiveRange','endColumn','combineLatest','executionId','debounce','_cursor','RemoveColCommandId','_anchorDot','height','_transformHistoryAndStateStack','_color','RefRangeService','mergeOverrideWithDependencies','_toggleOnline','setActiveRange','Vector2','IRemoteInstanceService','getUnitId','_renderManagerService','@univerjs/design','currentSkeleton$','UniverEngineFormula','getUnhiddenWorksheets','_localStorageService','AWAITING','getSheetId','@univerjs-pro/collaboration','UniverNetwork','UPDATE_CURSOR','getUnitStatus$','_initStatusComponent','throttleTime','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','bottom','IImageIoService','@univerjs/sheets-ui','popstate','sessionStatus$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_refRangeService','_document','min','redoState','WebURLService','_startDocCollabCursor','width','_docStateChangeManagerService','sheetId','startRow','getActiveRange','handleIRemoveCol','urlChange$','DocCollaborationEntity','error','onPointerMove$','OTHER_CLIENTS_EDITING','#FFF','cursorInfo$','disposeUnit','MOBILE_HAS_BEEN_BOUND','currentTheme$','Disposable','FETCH_MISS','SetSelectionsOperation','YUUMI_URL_COL_OUT_OF_RANGE','0\x200\x2017\x2016','Unknown\x20user','INVITE_CODE_REQUIRED','152fUiIDI','source','YUUMI_AI_RUN_FAILED','8787604PSNBPB','RichTextEditingMutation','registerRefRange','selections','ALREADY_EXISTS','collaboration.closeRoom','search','_handleHover','_getAnchorBounding','MessageType','getValue','_onRefRangeChange','ColorKit','2075997XHsSqr','extend','BehaviorSubject','_cursorInfo$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IMessageService','searchParams','SetTextSelectionsOperation','displayName','transformRemoteChangeset','call','collaboration-client-ui.config','SheetsSelectionsService','SheetSkeletonManagerService','DocSelectionManagerService','roomMembers','skeleton','reconnect','Tools','_urlService','0\x200\x2016\x2016','_getMergeRange','collabStatus.conflict','INTERNAL_ERROR','_context','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','trim','handleDeleteRangeMoveLeft','collabStatus.fetchMiss','unitID','HTTPService','_docSkeletonManagerService','hasOwnProperty','_registerDependencies','prototype','_backgroundColor','_clearOtherTimers','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','range','_sheetSkeletonManagerService','filter','string','_scheduleSaving','setItem','DesktopCollaborationStatusDisplayController','path','map','code','ENSURE_SNAPSHOT_EXECUTION','black','ILogService','RxDisposable','gold400','transformMutationsWithChangeset','_httpService','_name','type','Shape','xlink:href','INVITE_CODE_ALREADY_BOUND','MemberService','_getSaveTimeout','onPointerLeave$','[CollaborationDataLoaderController]','@univerjs-pro/collaboration-client','#fff','touchDependencies','some','Failed','subscribeEvent','DocStateChangeManagerService','color','RemoveRowCommandId','@univerjs/ui','flatMap','takeUntil','onTransformChange$','_hideTimer','203570YJKzNk','defIds','labelPosition','@univerjs/sheets','Injector','216175TTmRus','replace','_setupSubUnitSync','LOCAL_CACHE_INTERVAL_KEY','AWAITING_WITH_PENDING','CollaborationUIEventService','useDependency','_assignedColors','purple300','getLocalCacheKey','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DeleteRangeMoveUpCommandId','fillText','VIEW_MAIN','unshift','text','_docTransformStateCacheService','_eventUnsubscribe','replaceState','isArray','collaboration.single-unit.warning','application/json','_refreshCollabCursors','SYNCED','closePath','useRef','getCollabEntity$','UniverCollaborationClientUIPlugin','startsWith','defs','COLORS','@univerjs/network','body','on-line-single','BuiltInUIPart','@univerjs/drawing','ILocalCacheService','@univerjs/engine-render','handleInsertRangeMoveRight','collabCursorState$','fill','transformMutation','_transformService','IURLService','YUUMI_NO_CUBOID_FOR_QUESTION','debounceTime','transformIMECache','_imageIoService','top','UNRECOGNIZED','delete','APPLY_DUPLICATED','_getSessionTicket','_initDependencies','disposeWithMe','evenodd','getDocRanges','makeDirty','_memberService','collabStatus.notCollab','transformStateCache','_toggleOffline','roomMembers$','override','LICENSE_EXPORT_SIZE_EXCEEDED','svg','updateOfflineData','_createSocketURL','UniverDrawing','next','clipPath','lineTo','assignAColorForMemberID','DOC_RANGE_TYPE','_collabCursorState$','send','_lastPointer','loadUnit','_logService','connectInjector','location','_range','CONNECTOR_DATA_TOO_LARGE','_revisionService','getRenderById','params','IRenderManagerService','getOwnPropertyDescriptor','UniverDocsUi','isActive','children','amd','runOnServer','USER_NOT_INVITED_CODE','_unitStatus','_send','_drawAnchor','_updateSubUnitFromURLParams','mask','arc','ThemeService','collab-text-anchor-','OTHER_CLIENT_EDITING','shareReplay','UniverProCollaborationClient','collabStatus.syncing','SheetCollabCursorShape','_cursors','WECHAT_HAS_BEEN_BOUND','addEventListener','SetWorksheetActivateCommand','sessionTicket','_config','collab-text-range-','uni.network.url-service','assign','addObjects','_instanceService','APPLY_PERMISSION_DENIED','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','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_ASYNCIO_CANCELLED','SHEET_VIEWPORT_KEY','_injector','createElement','_handleHeartbeatEvent','NO_OTHER_CLIENTS_EDITING','show','_drawRectRange','registerComponent','DeleteRangeMoveLeftCommandId','runId','_drawTextRange','_labelPosition','handleIRemoveRow','entries','_onCursorUpdate','requireSession','setStateCache','current','m2Prime','Rect','Optional','onRendered','_collaborationController','isEditing','APPLY_REVISION_CONFILICT','YUUMI_ALL_TABLES_IS_INVALID','invokeId','_draw','docStateChange$','_init','round','getUniverSheetInstance','_startSheetCollabCursor','NOT_COLLAB','defineProperty','none','_initEntityListener','CollaborationUIEventId','saveOfflineData','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Tooltip','idSuffix','_registerRenderDependencies','28ZrzRnY','collaboration-client.offline-data-not-saved','setAlpha','_transformUndoRedoStack','getTypeOfUnitDisposed$','pipe','attrs','_saveTaskMap','1em','YUUMI_RATE_OVER_LIMIT','CollaborationDataLoaderController','@univerjs/core','setInterval','_removeCollabCursors','DataLoaderService','unitId','INotificationService','restore','11XfSfqK','LICENSE_MAX_UNITS_EXCEEDED','getSheetBySheetId','IBeforeCloseService','_onCursorDelete','onStarting','getMergeData','onPointerEnter$','_scene','UNIVER_DOC','runRefRangeMutations','getActiveSheet','_selfUnitIDs','_initStatusListener','handleInsertRow','sheetID','triggerDblclick','Workbook','function','clearTimeout','selection','from','dispose','NOT_FOUND','getConfig','unit','currentColor','font','rxjs/operators','handleInsertRangeMoveDown','actions','SOCKET_FAILED_RETRY','@univerjs/rpc','collab-rect-range-','SNAPSHOT_INVALID_SNAPSHOT','_configService','useCallback'];_0x4844=function(){return _0x33b64d;};return _0x4844();}(function(_0x93380c,_0x4ee090){const _0x5656a=_0x5179,_0xffddbf=_0x93380c();while(!![]){try{const _0x44c611=-parseInt(_0x5656a(0x293))/0x1*(-parseInt(_0x5656a(0x31b))/0x2)+-parseInt(_0x5656a(0x417))/0x3+-parseInt(_0x5656a(0x281))/0x4*(parseInt(_0x5656a(0x1dc))/0x5)+parseInt(_0x5656a(0x316))/0x6+parseInt(_0x5656a(0x40a))/0x7+-parseInt(_0x5656a(0x407))/0x8*(parseInt(_0x5656a(0x2e2))/0x9)+parseInt(_0x5656a(0x1d7))/0xa*(parseInt(_0x5656a(0x39b))/0xb);if(_0x44c611===_0x4ee090)break;else _0xffddbf['push'](_0xffddbf['shift']());}catch(_0x44179b){_0xffddbf['push'](_0xffddbf['shift']());}}}(_0x4844,0xdaa19),function(_0x5134b4,_0x2c7aa5){const _0x13b910=_0x5179;typeof exports=='object'&&typeof module<'u'?_0x2c7aa5(exports,require(_0x13b910(0x1c9)),require('@univerjs/core'),require(_0x13b910(0x201)),require(_0x13b910(0x1fb)),require(_0x13b910(0x351)),require(_0x13b910(0x1ff)),require('rxjs'),require('@univerjs/docs'),require(_0x13b910(0x3dd)),require('@univerjs/engine-formula'),require(_0x13b910(0x1da)),require('rxjs/operators'),require('@univerjs/sheets-ui'),require(_0x13b910(0x3b8)),require(_0x13b910(0x1d2)),require(_0x13b910(0x3d6)),require('react'),require(_0x13b910(0x2b3))):typeof define==_0x13b910(0x2a5)&&define[_0x13b910(0x237)]?define(['exports',_0x13b910(0x1c9),_0x13b910(0x28c),_0x13b910(0x201),_0x13b910(0x1fb),_0x13b910(0x351),_0x13b910(0x1ff),_0x13b910(0x3ab),_0x13b910(0x32f),_0x13b910(0x3dd),'@univerjs/engine-formula',_0x13b910(0x1da),_0x13b910(0x2af),_0x13b910(0x3e6),'react/jsx-runtime','@univerjs/ui','@univerjs/design','react',_0x13b910(0x2b3)],_0x2c7aa5):(_0x5134b4=typeof globalThis<'u'?globalThis:_0x5134b4||self,_0x2c7aa5(_0x5134b4[_0x13b910(0x364)]={},_0x5134b4[_0x13b910(0x244)],_0x5134b4[_0x13b910(0x2f3)],_0x5134b4['UniverEngineRender'],_0x5134b4[_0x13b910(0x3de)],_0x5134b4[_0x13b910(0x234)],_0x5134b4[_0x13b910(0x220)],_0x5134b4[_0x13b910(0x3ab)],_0x5134b4['UniverDocs'],_0x5134b4[_0x13b910(0x388)],_0x5134b4[_0x13b910(0x3d8)],_0x5134b4['UniverSheets'],_0x5134b4[_0x13b910(0x3ab)][_0x13b910(0x2dd)],_0x5134b4[_0x13b910(0x3be)],_0x5134b4[_0x13b910(0x367)],_0x5134b4[_0x13b910(0x36e)],_0x5134b4[_0x13b910(0x2fb)],_0x5134b4[_0x13b910(0x367)],_0x5134b4[_0x13b910(0x2be)]));}(this,function(_0x46927c,_0x17756c,_0x50a9bf,_0x31c6c6,_0x5f50a3,_0x5af227,_0x4c8022,_0x13bbb4,_0x41648c,_0x1f9909,_0x3fcf62,_0x58f3cc,_0x4c07d1,_0x532dcc,_0x5df655,_0x1424a2,_0x20d413,_0x662f97,_0x5cc52c){'use strict';const _0x183e64=_0x5179;var _0x4c04be=Object['defineProperty'],_0x7ea398=(_0x311a21,_0x17700b,_0x38b8de)=>_0x17700b in _0x311a21?_0x4c04be(_0x311a21,_0x17700b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38b8de}):_0x311a21[_0x17700b]=_0x38b8de,_0x285378=(_0x5ea963,_0x2d651d,_0x425535)=>_0x7ea398(_0x5ea963,typeof _0x2d651d!=_0x183e64(0x37b)?_0x2d651d+'':_0x2d651d,_0x425535),_0x428711=Object['getOwnPropertyDescriptor'],_0x1478ac=(_0x141a92,_0x1f2edc,_0x24c62e,_0x57d0ba)=>{const _0x27eb7f=_0x183e64;for(var _0x1b8f2d=_0x57d0ba>0x1?void 0x0:_0x57d0ba?_0x428711(_0x1f2edc,_0x24c62e):_0x1f2edc,_0x3d8001=_0x141a92[_0x27eb7f(0x30f)]-0x1,_0x538672;_0x3d8001>=0x0;_0x3d8001--)(_0x538672=_0x141a92[_0x3d8001])&&(_0x1b8f2d=_0x538672(_0x1b8f2d)||_0x1b8f2d);return _0x1b8f2d;},_0x29b782=(_0x584754,_0x15f459)=>(_0x3b3045,_0x4c95d0)=>_0x15f459(_0x3b3045,_0x4c95d0,_0x584754);let _0x283ca8=class extends _0x50a9bf['RxDisposable']{constructor(_0xcd13d6,_0x2fe800){const _0x560e51=_0x183e64;super(),this[_0x560e51(0x35c)]=_0xcd13d6,this[_0x560e51(0x20b)]=_0x2fe800,this[_0x560e51(0x273)]();}[_0x183e64(0x273)](){const _0x5b9132=_0x183e64,_0x2aac24=this;this[_0x5b9132(0x212)](this[_0x5b9132(0x35c)]['addClipboardHook']({'onBeforePasteImage':async _0x586e92=>{const _0x5351ea=_0x5b9132,_0x1df85d=await _0x2aac24['_imageIoService']['saveImage'](_0x586e92);return _0x1df85d?{'source':_0x1df85d[_0x5351ea(0x408)],'imageSourceType':_0x1df85d['imageSourceType']}:null;}}));}};_0x283ca8=_0x1478ac([_0x29b782(0x0,_0x5af227['IDocClipboardService']),_0x29b782(0x1,_0x4c8022[_0x183e64(0x3e5)])],_0x283ca8);const _0x242fdb=[_0x183e64(0x1e4),'jiqing500','verdancy600',_0x183e64(0x399),'blue400',_0x183e64(0x1bd)];class _0x5ead00 extends _0x50a9bf['Disposable']{constructor(){const _0x5612d0=_0x183e64;super(...arguments),_0x285378(this,_0x5612d0(0x1e3),new Map()),_0x285378(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x25c899){const _0x2b120d=_0x183e64;if(this[_0x2b120d(0x1e3)][_0x2b120d(0x2db)](_0x25c899))return this[_0x2b120d(0x1e3)][_0x2b120d(0x33e)](_0x25c899);const _0x3dd1fc=_0x242fdb[this[_0x2b120d(0x3b6)]];return this[_0x2b120d(0x3b6)]=(this[_0x2b120d(0x3b6)]+0x1)%_0x242fdb[_0x2b120d(0x30f)],this[_0x2b120d(0x1e3)][_0x2b120d(0x35e)](_0x25c899,_0x3dd1fc),_0x3dd1fc;}}function _0x5bf5f5(_0x5c38c1){const _0x149fc1=_0x183e64;let _0xfe75b5='';for(const _0x3e46b5 of _0x5c38c1){const {startOffset:_0x12765b,endOffset:_0x59d001,isActive:_0x158980,rangeType:_0x5d91ce,segmentId:_0x46e173,segmentPage:_0x12089e}=_0x3e46b5;_0xfe75b5[_0x149fc1(0x30f)]&&(_0xfe75b5+=','),_0xfe75b5+=_0x12765b+':'+_0x59d001+':'+(_0x158980?'1':'0')+':'+_0x5d91ce+':'+_0x46e173+':'+_0x12089e;}return _0xfe75b5;}function _0x8a0d5d(_0x5df581){const _0x4dbcf5=_0x183e64,_0x56f544=_0x5df581['split'](','),_0x55d8a4=[];for(const _0xc8c4a6 of _0x56f544){const [_0x5c3ba5,_0x127ca8,_0x529262,_0x4f20a2,_0x53f72f,_0x379e48]=_0xc8c4a6[_0x4dbcf5(0x2d1)](':');_0x55d8a4[_0x4dbcf5(0x379)]({'startOffset':Number(_0x5c3ba5),'endOffset':Number(_0x127ca8),'collapsed':_0x5c3ba5===_0x127ca8,'isActive':_0x529262==='1','rangeType':_0x4f20a2===_0x50a9bf[_0x4dbcf5(0x225)][_0x4dbcf5(0x3b4)]?_0x50a9bf[_0x4dbcf5(0x225)][_0x4dbcf5(0x3b4)]:_0x50a9bf['DOC_RANGE_TYPE'][_0x4dbcf5(0x2de)],'segmentId':typeof _0x53f72f==_0x4dbcf5(0x440)?String(_0x53f72f):'','segmentPage':Number(_0x379e48!=null?_0x379e48:-0x1)});}return _0x55d8a4[_0x4dbcf5(0x1cc)](_0x4c2ee1=>_0x4c2ee1['isActive'])||(_0x55d8a4[0x0][_0x4dbcf5(0x235)]=!0x0),_0x55d8a4;}class _0x2381af extends _0x50a9bf[_0x183e64(0x1bc)]{constructor(){const _0x3261b1=_0x183e64;super(...arguments),_0x285378(this,_0x3261b1(0x226),new _0x13bbb4['BehaviorSubject'](null)),_0x285378(this,_0x3261b1(0x203),this[_0x3261b1(0x226)][_0x3261b1(0x391)]());}[_0x183e64(0x2e6)](_0x297171){const _0x40414b=_0x183e64,{unitID:_0x33b89e,memberID:_0x2f09a5,textRanges:_0x29722e}=_0x297171,_0x4bfdb6=_0x5bf5f5(_0x29722e);if(_0x4bfdb6==='')return;const _0x41eb87={'unitID':_0x33b89e,'memberID':_0x2f09a5,'selection':_0x4bfdb6};this[_0x40414b(0x226)][_0x40414b(0x221)](_0x41eb87);}}var _0x46b15d=Object[_0x183e64(0x233)],_0x56018f=(_0x3164e5,_0x359afb,_0x4c9495,_0x1390b3)=>{for(var _0x313a3a=_0x1390b3>0x1?void 0x0:_0x1390b3?_0x46b15d(_0x359afb,_0x4c9495):_0x359afb,_0x5650a0=_0x3164e5['length']-0x1,_0x395ce4;_0x5650a0>=0x0;_0x5650a0--)(_0x395ce4=_0x3164e5[_0x5650a0])&&(_0x313a3a=_0x395ce4(_0x313a3a)||_0x313a3a);return _0x313a3a;},_0x1049c0=(_0xb0587,_0x1dc132)=>(_0x175ddf,_0x155c92)=>_0x1dc132(_0x175ddf,_0x155c92,_0xb0587);const _0x51d51d=0x12c,_0x541124=0x64;let _0x50060e=class extends _0x50a9bf['RxDisposable']{constructor(_0x37c7a2,_0x2bf67e,_0x4a6328,_0x21e92e,_0x137dd8,_0x20cb03,_0x1be414,_0x57ecd8,_0x1b86b5){const _0x5964fb=_0x183e64;super(),_0x285378(this,'_online',!0x1),_0x285378(this,_0x5964fb(0x273),!0x1),_0x285378(this,_0x5964fb(0x41a),new _0x13bbb4['BehaviorSubject'](new Map())),_0x285378(this,_0x5964fb(0x3fc),this[_0x5964fb(0x41a)][_0x5964fb(0x391)]()),_0x285378(this,_0x5964fb(0x2d5),new _0x13bbb4['BehaviorSubject']([])),_0x285378(this,_0x5964fb(0x21a),this[_0x5964fb(0x2d5)][_0x5964fb(0x286)](_0x13bbb4[_0x5964fb(0x209)](_0x51d51d))),_0x285378(this,_0x5964fb(0x3b1),_0x50a9bf['debounce'](_0x3457f5=>{const _0x35704b=_0x5964fb,_0x570644={'eventID':_0x1f9909['CollaborationEvent'][_0x35704b(0x3df)],'data':{'unitID':this[_0x35704b(0x434)],'memberID':this[_0x35704b(0x37e)][_0x35704b(0x3bc)](),'selection':_0x5bf5f5(_0x3457f5)}};this[_0x35704b(0x37e)][_0x35704b(0x227)](_0x570644,this[_0x35704b(0x434)]);},_0x541124)),(this[_0x5964fb(0x434)]=_0x37c7a2,this[_0x5964fb(0x37e)]=_0x2bf67e,this['_injector']=_0x4a6328,this[_0x5964fb(0x3a4)]=_0x21e92e,this[_0x5964fb(0x216)]=_0x137dd8,this[_0x5964fb(0x333)]=_0x20cb03,this[_0x5964fb(0x206)]=_0x1be414,this[_0x5964fb(0x2d8)]=_0x57ecd8,this[_0x5964fb(0x2f7)]=_0x1b86b5);}get[_0x183e64(0x2d3)](){const _0x2403cb=_0x183e64;return this[_0x2403cb(0x41a)][_0x2403cb(0x414)]();}get[_0x183e64(0x426)](){const _0x2ad42c=_0x183e64;return this[_0x2ad42c(0x2d5)][_0x2ad42c(0x414)]();}['dispose'](){const _0x2dd13c=_0x183e64;super[_0x2dd13c(0x2a9)](),this['_cursorInfo$'][_0x2dd13c(0x221)](new Map()),this[_0x2dd13c(0x41a)]['complete'](),this[_0x2dd13c(0x2d5)]['next']([]),this[_0x2dd13c(0x2d5)]['complete']();}['init'](){const _0xd2b73f=_0x183e64;this[_0xd2b73f(0x273)]||(this[_0xd2b73f(0x273)]=!0x0,this[_0xd2b73f(0x37e)][_0xd2b73f(0x3e8)][_0xd2b73f(0x286)](_0x13bbb4[_0xd2b73f(0x1d4)](this[_0xd2b73f(0x353)]))[_0xd2b73f(0x2cf)](_0x4c3951=>{const _0x51c4b3=_0xd2b73f;_0x4c3951===_0x17756c['SessionStatus']['ONLINE']?this[_0x51c4b3(0x3d0)]():this[_0x51c4b3(0x219)]();}),this[_0xd2b73f(0x37e)][_0xd2b73f(0x377)]['pipe'](_0x13bbb4['takeUntil'](this[_0xd2b73f(0x353)]))[_0xd2b73f(0x2cf)](_0x21dfe6=>{const _0x54ea7d=_0xd2b73f,_0x32900f=_0x21dfe6[_0x54ea7d(0x2dc)];_0x32900f===_0x1f9909['CollaborationEvent'][_0x54ea7d(0x3df)]&&this[_0x54ea7d(0x264)](_0x21dfe6),_0x32900f===_0x1f9909[_0x54ea7d(0x363)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x21dfe6);}),this['disposeWithMe'](this[_0xd2b73f(0x2f7)][_0xd2b73f(0x348)](_0x2fd52d=>{const _0x20b7d9=_0xd2b73f,_0x44fba7=_0x2fd52d['params'];_0x44fba7!=null&&this[_0x20b7d9(0x376)]&&_0x2fd52d['id']===_0x41648c[_0x20b7d9(0x41e)]['id']&&_0x44fba7[_0x20b7d9(0x290)]===this[_0x20b7d9(0x434)]&&_0x44fba7[_0x20b7d9(0x26d)]===!0x1&&_0x44fba7['ranges'][_0x20b7d9(0x30f)]>0x0&&this[_0x20b7d9(0x3b1)](_0x44fba7[_0x20b7d9(0x38e)]);})),this[_0xd2b73f(0x333)][_0xd2b73f(0x203)][_0xd2b73f(0x286)](_0x13bbb4['takeUntil'](this['dispose$']))[_0xd2b73f(0x2cf)](_0x140066=>{const _0x1dbf1c=_0xd2b73f;if((_0x140066==null?void 0x0:_0x140066['unitID'])!==this[_0x1dbf1c(0x434)])return;const _0x2d92b5={'eventID':_0x1f9909['CollaborationEvent'][_0x1dbf1c(0x3df)],'data':_0x140066};this['_onCursorUpdate'](_0x2d92b5);}),this[_0xd2b73f(0x212)](this[_0xd2b73f(0x2f7)][_0xd2b73f(0x348)](_0x5de0c0=>{const _0x4978ae=_0xd2b73f;if(_0x5de0c0[_0x4978ae(0x231)]==null)return;const _0x54b0f7=_0x5de0c0[_0x4978ae(0x231)];if(_0x5de0c0['id']!==_0x41648c[_0x4978ae(0x40b)]['id']||_0x54b0f7[_0x4978ae(0x290)]!==this['unitID'])return;const _0x169252={'id':_0x4978ae(0x2c9),'params':_0x54b0f7},_0x374ded=this['cursorInfo'];for(const [_0x560443,_0x4dea0d]of _0x374ded){const _0x570fe3={'id':_0x4978ae(0x2c9),'params':{'unitId':this[_0x4978ae(0x434)],'actions':null,'textRanges':_0x4dea0d['ranges']}},_0x5a7a26=this[_0x4978ae(0x206)][_0x4978ae(0x205)](_0x169252,_0x570fe3,!0x1);if(_0x1f9909[_0x4978ae(0x32b)](_0x5a7a26))throw _0x5a7a26[_0x4978ae(0x3f8)];_0x374ded[_0x4978ae(0x35e)](_0x560443,{..._0x4dea0d,'ranges':_0x5a7a26['m2Prime'][_0x4978ae(0x231)][_0x4978ae(0x31a)]});}queueMicrotask(()=>{const _0x16d0f1=_0x4978ae;this[_0x16d0f1(0x41a)][_0x16d0f1(0x221)](_0x374ded);});})));}[_0x183e64(0x264)](_0x3becdc){const _0x6015d5=_0x183e64;var _0x4ecc6b,_0x3ee763;const {memberID:_0xffbd92,selection:_0x1fed08}=_0x3becdc[_0x6015d5(0x305)],_0x41bbe8=_0x8a0d5d(_0x1fed08),_0x34ff5b=(_0x3ee763=(_0x4ecc6b=this[_0x6015d5(0x216)]['getMember'](this[_0x6015d5(0x434)],_0xffbd92))==null?void 0x0:_0x4ecc6b[_0x6015d5(0x3a8)])!=null?_0x3ee763:_0x6015d5(0x405),_0x5f35a6={'color':this[_0x6015d5(0x3a4)][_0x6015d5(0x224)](_0xffbd92),'name':_0x34ff5b,'ranges':_0x41bbe8},_0xc59834=this[_0x6015d5(0x2d3)];_0xc59834[_0x6015d5(0x35e)](_0xffbd92,_0x5f35a6),this['_cursorInfo$'][_0x6015d5(0x221)](_0xc59834);}[_0x183e64(0x297)](_0x243d95){const _0x51043f=_0x183e64,{memberID:_0x27485d}=_0x243d95[_0x51043f(0x305)],_0x3ab614=this[_0x51043f(0x2d3)];_0x3ab614[_0x51043f(0x20e)](_0x27485d),this['_cursorInfo$']['next'](_0x3ab614);}[_0x183e64(0x3d0)](){const _0x19f889=_0x183e64;var _0x3236ce;if(this[_0x19f889(0x376)]=!0x0,((_0x3236ce=this[_0x19f889(0x2d8)][_0x19f889(0x390)]())==null?void 0x0:_0x3236ce[_0x19f889(0x3d4)]())!==this[_0x19f889(0x434)])return;const _0x3137e4=this[_0x19f889(0x257)][_0x19f889(0x33e)](_0x41648c['DocSelectionManagerService'])[_0x19f889(0x214)]();Array[_0x19f889(0x1ef)](_0x3137e4)&&_0x3137e4[_0x19f889(0x30f)]>0x0&&this[_0x19f889(0x3b1)](_0x3137e4);}[_0x183e64(0x219)](){const _0x3db1fd=_0x183e64;this[_0x3db1fd(0x376)]=!0x1;}};_0x50060e=_0x56018f([_0x1049c0(0x2,_0x50a9bf['Inject'](_0x50a9bf[_0x183e64(0x1db)])),_0x1049c0(0x3,_0x50a9bf[_0x183e64(0x3a3)](_0x5ead00)),_0x1049c0(0x4,_0x50a9bf[_0x183e64(0x3a3)](_0x17756c[_0x183e64(0x1c5)])),_0x1049c0(0x5,_0x50a9bf['Inject'](_0x2381af)),_0x1049c0(0x6,_0x1f9909[_0x183e64(0x3b2)]),_0x1049c0(0x7,_0x50a9bf['IUniverInstanceService']),_0x1049c0(0x8,_0x50a9bf['ICommandService'])],_0x50060e);var _0x37f1f1=Object[_0x183e64(0x233)],_0x593ee2=(_0x3d889d,_0x5dda53,_0x1ab55c,_0x50d4b7)=>{const _0x1b1c89=_0x183e64;for(var _0x7d7a84=_0x50d4b7>0x1?void 0x0:_0x50d4b7?_0x37f1f1(_0x5dda53,_0x1ab55c):_0x5dda53,_0x182eb3=_0x3d889d[_0x1b1c89(0x30f)]-0x1,_0xc1f658;_0x182eb3>=0x0;_0x182eb3--)(_0xc1f658=_0x3d889d[_0x182eb3])&&(_0x7d7a84=_0xc1f658(_0x7d7a84)||_0x7d7a84);return _0x7d7a84;},_0x473b2f=(_0x17b181,_0x4a3932)=>(_0x406260,_0x4e5749)=>_0x4a3932(_0x406260,_0x4e5749,_0x17b181);const _0x15a933=0x12c,_0x124c5d=0x64,_0xc90a35=()=>{let _0x2d863f=[],_0x4b55e2=!0x1;return _0xf54ce6=>{const _0x5b78f4=_0x5179;_0x2d863f[_0x5b78f4(0x379)](_0xf54ce6),_0x4b55e2||(_0x4b55e2=!0x0,setTimeout(()=>{const _0x26e017=_0x5b78f4;_0x2d863f[_0x26e017(0x32a)](_0x30d2b9=>_0x30d2b9()),_0x2d863f=[],_0x4b55e2=!0x1;}));};};let _0x504e61=class extends _0x50a9bf['RxDisposable']{constructor(_0x5eb323,_0x23d528,_0x34df09,_0x585a5c,_0x16fe88,_0x569dca,_0x594025,_0x4f6a58){const _0x492861=_0x183e64;super(),_0x285378(this,_0x492861(0x376),!0x1),_0x285378(this,_0x492861(0x273),!0x1),_0x285378(this,_0x492861(0x41a),new _0x13bbb4[(_0x492861(0x419))](new Map())),_0x285378(this,_0x492861(0x3fc),this[_0x492861(0x41a)][_0x492861(0x391)]()),_0x285378(this,'_roomMembers$',new _0x13bbb4['BehaviorSubject']([])),_0x285378(this,_0x492861(0x21a),this['_roomMembers$'][_0x492861(0x286)](_0x13bbb4[_0x492861(0x209)](_0x15a933))),_0x285378(this,_0x492861(0x3b1),_0x50a9bf[_0x492861(0x3c7)]((_0x5c22ef,_0xe85448)=>{const _0x362847=_0x492861,_0x14f3c5={'eventID':_0x1f9909[_0x362847(0x363)][_0x362847(0x3df)],'data':{'unitID':this[_0x362847(0x434)],'memberID':this[_0x362847(0x37e)]['getMemberID'](),'selection':_0x3fcf62['serializeRangeWithSheet'](_0x5c22ef,_0xe85448[_0x362847(0x43d)])}};this[_0x362847(0x37e)][_0x362847(0x227)](_0x14f3c5,this[_0x362847(0x434)]);},_0x124c5d)),(this['unitID']=_0x5eb323,this['_session']=_0x23d528,this[_0x492861(0x257)]=_0x34df09,this[_0x492861(0x3a4)]=_0x585a5c,this[_0x492861(0x216)]=_0x16fe88,this[_0x492861(0x2d8)]=_0x569dca,this[_0x492861(0x2f7)]=_0x594025,this[_0x492861(0x3ea)]=_0x4f6a58);}get[_0x183e64(0x2d3)](){const _0x45205c=_0x183e64;return this[_0x45205c(0x41a)][_0x45205c(0x414)]();}get[_0x183e64(0x426)](){const _0x3b4bbf=_0x183e64;return this[_0x3b4bbf(0x2d5)][_0x3b4bbf(0x414)]();}[_0x183e64(0x2a9)](){const _0x155afd=_0x183e64;super[_0x155afd(0x2a9)](),this[_0x155afd(0x41a)][_0x155afd(0x221)](new Map()),this[_0x155afd(0x41a)][_0x155afd(0x356)](),this['_roomMembers$'][_0x155afd(0x221)]([]),this[_0x155afd(0x2d5)]['complete']();}[_0x183e64(0x2f1)](){const _0x5bad27=_0x183e64;this['_init']||(this['_init']=!0x0,this[_0x5bad27(0x37e)][_0x5bad27(0x3e8)][_0x5bad27(0x286)](_0x13bbb4[_0x5bad27(0x1d4)](this['dispose$']))['subscribe'](_0x28098f=>{const _0x5ab617=_0x5bad27;_0x28098f===_0x17756c[_0x5ab617(0x2c7)][_0x5ab617(0x313)]?this['_toggleOnline']():this[_0x5ab617(0x219)]();}),this[_0x5bad27(0x37e)][_0x5bad27(0x377)]['pipe'](_0x13bbb4[_0x5bad27(0x1d4)](this['dispose$']))['subscribe'](_0x2425db=>{const _0x2d6431=_0x5bad27,_0x94e171=_0x2425db[_0x2d6431(0x2dc)];_0x94e171===_0x1f9909['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2d6431(0x264)](_0x2425db),_0x94e171===_0x1f9909['CollaborationEvent'][_0x2d6431(0x2cb)]&&this[_0x2d6431(0x297)](_0x2425db);}),this[_0x5bad27(0x415)](),this[_0x5bad27(0x212)](this[_0x5bad27(0x2f7)][_0x5bad27(0x348)](_0x5d7b69=>{const _0x2173ec=_0x5bad27;if(this[_0x2173ec(0x376)]&&_0x5d7b69['id']===_0x58f3cc[_0x2173ec(0x402)]['id']&&_0x5d7b69[_0x2173ec(0x231)][_0x2173ec(0x290)]===this[_0x2173ec(0x434)]){const _0x1527ed=_0x5d7b69[_0x2173ec(0x231)];this[_0x2173ec(0x3b1)](_0x1527ed['subUnitId'],_0x1527ed[_0x2173ec(0x40d)][0x0]);}})));}[_0x183e64(0x264)](_0x5e3b7d){const _0x3605ce=_0x183e64;var _0x16d21f,_0x64e6a5;const {memberID:_0x4569fe,selection:_0x3fa669}=_0x5e3b7d['data'],{sheetName:_0x3afa60,range:_0x2ca3da}=_0x3fcf62['deserializeRangeWithSheet'](_0x3fa669),_0x5a5a3a={'name':(_0x64e6a5=(_0x16d21f=this['_memberService'][_0x3605ce(0x2cd)](this[_0x3605ce(0x434)],_0x4569fe))==null?void 0x0:_0x16d21f['name'])!=null?_0x64e6a5:'Unknown\x20user','range':this[_0x3605ce(0x42c)](_0x3afa60,_0x2ca3da),'sheetID':_0x3afa60,'color':this[_0x3605ce(0x3a4)][_0x3605ce(0x224)](_0x4569fe),'selection':_0x3fa669},_0xeb0343=this[_0x3605ce(0x2d3)];_0xeb0343[_0x3605ce(0x35e)](_0x4569fe,_0x5a5a3a),this['_cursorInfo$'][_0x3605ce(0x221)](_0xeb0343);}[_0x183e64(0x297)](_0xa5db9f){const _0x50e5f4=_0x183e64,{memberID:_0x38aea7}=_0xa5db9f[_0x50e5f4(0x305)],_0x3a8995=this[_0x50e5f4(0x2d3)];_0x3a8995['delete'](_0x38aea7),this['_cursorInfo$']['next'](_0x3a8995);}[_0x183e64(0x42c)](_0x5933e2,_0x554299){const _0x34e81f=_0x183e64;var _0x41e4e3,_0x20cdc5;const _0x1b144a=(_0x20cdc5=(_0x41e4e3=this[_0x34e81f(0x2d8)][_0x34e81f(0x275)](this[_0x34e81f(0x434)]))==null?void 0x0:_0x41e4e3[_0x34e81f(0x295)](_0x5933e2))==null?void 0x0:_0x20cdc5[_0x34e81f(0x299)]();return(_0x1b144a==null?void 0x0:_0x1b144a[_0x34e81f(0x385)](_0x290d67=>_0x50a9bf['Rectangle'][_0x34e81f(0x2bc)](_0x290d67,_0x554299)))||_0x554299;}[_0x183e64(0x415)](){const _0x23a9be=_0x183e64,_0x2c2eaa=new _0x50a9bf['DisposableCollection'](),_0x52a438=_0xc90a35(),_0x706b21=()=>{const _0x541c8f=_0x5179;_0x2c2eaa[_0x541c8f(0x2a9)]();const _0x28561a=(_0x1ee907,_0x2202d7,_0x3fddf9,_0x57b0df)=>{const _0x2b15c8=_0x541c8f;let _0x81be4c=[];switch(_0x1ee907['id']){case _0x58f3cc[_0x2b15c8(0x331)][_0x2b15c8(0x25e)]:{_0x81be4c=_0x58f3cc[_0x2b15c8(0x432)](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)][_0x2b15c8(0x1e7)]:{_0x81be4c=_0x58f3cc['handleDeleteRangeMoveUp'](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)]['InsertColCommandId']:{_0x81be4c=_0x58f3cc['handleInsertCol'](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)][_0x2b15c8(0x2ec)]:{_0x81be4c=_0x58f3cc[_0x2b15c8(0x2b0)](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)][_0x2b15c8(0x384)]:{_0x81be4c=_0x58f3cc[_0x2b15c8(0x202)](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)][_0x2b15c8(0x318)]:{_0x81be4c=_0x58f3cc[_0x2b15c8(0x2a1)](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)]['MoveRangeCommandId']:{_0x81be4c=_0x58f3cc['handleMoveRange'](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)][_0x2b15c8(0x3c9)]:{_0x81be4c=_0x58f3cc[_0x2b15c8(0x3f5)](_0x1ee907,_0x57b0df);break;}case _0x58f3cc['EffectRefRangId'][_0x2b15c8(0x1d1)]:{_0x81be4c=_0x58f3cc[_0x2b15c8(0x262)](_0x1ee907,_0x57b0df);break;}}const _0x165fb8=_0x58f3cc[_0x2b15c8(0x29d)](_0x81be4c,_0x57b0df),_0x196a3b=this['cursorInfo'][_0x2b15c8(0x33e)](_0x2202d7);if(_0x196a3b&&_0x165fb8){const _0x354735={..._0x196a3b,'range':_0x165fb8};this[_0x2b15c8(0x2d3)][_0x2b15c8(0x35e)](_0x2202d7,_0x354735),_0x52a438(()=>{const _0x30bf5a=_0x2b15c8,_0x20d1ab=this[_0x30bf5a(0x3ea)][_0x30bf5a(0x40c)](_0x165fb8,_0x48c1e0=>(_0x20d1ab[_0x30bf5a(0x2a9)](),_0x28561a(_0x48c1e0,_0x2202d7,_0x3fddf9,_0x165fb8)));_0x2c2eaa[_0x30bf5a(0x383)](_0x20d1ab);});}return{'redos':[],'undos':[]};};this[_0x541c8f(0x2d3)][_0x541c8f(0x32a)]((_0x225581,_0x3726b2)=>{const _0x4d5fdd=_0x541c8f,{range:_0x16319e,sheetID:_0x5b4f06}=_0x225581,_0x1e13f5=this[_0x4d5fdd(0x3ea)][_0x4d5fdd(0x40c)](_0x16319e,_0x498bfe=>(_0x1e13f5[_0x4d5fdd(0x2a9)](),_0x28561a(_0x498bfe,_0x3726b2,_0x5b4f06,_0x16319e)));_0x2c2eaa[_0x4d5fdd(0x383)](_0x1e13f5);});};this['disposeWithMe'](_0x50a9bf[_0x23a9be(0x315)](this[_0x23a9be(0x41a)][_0x23a9be(0x2cf)](()=>{_0x706b21();})));}['_toggleOnline'](){const _0x462a7f=_0x183e64;var _0x31b913,_0x5db061;if(this[_0x462a7f(0x376)]=!0x0,((_0x31b913=this[_0x462a7f(0x2d8)][_0x462a7f(0x390)]())==null?void 0x0:_0x31b913[_0x462a7f(0x3d4)]())!==this[_0x462a7f(0x434)])return;const _0x2c652c=(_0x5db061=this[_0x462a7f(0x257)][_0x462a7f(0x33e)](_0x58f3cc[_0x462a7f(0x423)])[_0x462a7f(0x33d)]())==null?void 0x0:_0x5db061[0x0],_0x2f81b3=this[_0x462a7f(0x2d8)]['getCurrentUnitForType'](_0x50a9bf[_0x462a7f(0x2f2)][_0x462a7f(0x36a)])['getActiveSheet']();_0x2c652c&&_0x2f81b3&&this[_0x462a7f(0x3b1)](_0x2f81b3['getSheetId'](),_0x2c652c);}[_0x183e64(0x219)](){const _0x3d6285=_0x183e64;this[_0x3d6285(0x376)]=!0x1;}};_0x504e61=_0x593ee2([_0x473b2f(0x2,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x1db)])),_0x473b2f(0x3,_0x50a9bf['Inject'](_0x5ead00)),_0x473b2f(0x4,_0x50a9bf[_0x183e64(0x3a3)](_0x17756c[_0x183e64(0x1c5)])),_0x473b2f(0x5,_0x50a9bf['IUniverInstanceService']),_0x473b2f(0x6,_0x50a9bf[_0x183e64(0x2ee)]),_0x473b2f(0x7,_0x50a9bf[_0x183e64(0x3a3)](_0x58f3cc[_0x183e64(0x3ce)]))],_0x504e61);var _0xb58dfc=Object[_0x183e64(0x233)],_0x24af20=(_0x33483f,_0x298da2,_0x37b38d,_0x43861b)=>{const _0x23fc6e=_0x183e64;for(var _0x1972b4=_0x43861b>0x1?void 0x0:_0x43861b?_0xb58dfc(_0x298da2,_0x37b38d):_0x298da2,_0x3764e1=_0x33483f[_0x23fc6e(0x30f)]-0x1,_0x2f238e;_0x3764e1>=0x0;_0x3764e1--)(_0x2f238e=_0x33483f[_0x3764e1])&&(_0x1972b4=_0x2f238e(_0x1972b4)||_0x1972b4);return _0x1972b4;},_0x148b23=(_0x67c681,_0x2e5794)=>(_0x181b4b,_0x434446)=>_0x2e5794(_0x181b4b,_0x434446,_0x67c681);let _0x1cd7b4=class extends _0x50a9bf['RxDisposable']{constructor(_0xabfdd9,_0x54e746,_0x5a977a){const _0x4bfed4=_0x183e64;super(),_0x285378(this,_0x4bfed4(0x2e7),new Map()),_0x285378(this,'_entityInit$',new _0x13bbb4['Subject']()),(this[_0x4bfed4(0x2d8)]=_0xabfdd9,this[_0x4bfed4(0x257)]=_0x54e746,this[_0x4bfed4(0x321)]=_0x5a977a,this[_0x4bfed4(0x273)]());}[_0x183e64(0x2a9)](){const _0xb3e7e3=_0x183e64;super[_0xb3e7e3(0x2a9)](),this[_0xb3e7e3(0x324)][_0xb3e7e3(0x356)](),this[_0xb3e7e3(0x2e7)][_0xb3e7e3(0x32a)](_0x15dbbe=>_0x15dbbe['dispose']());}[_0x183e64(0x3ba)](_0x94cc08){const _0x13d70f=_0x183e64;return this[_0x13d70f(0x2e7)][_0x13d70f(0x2db)](_0x94cc08)?this[_0x13d70f(0x2e7)]['get'](_0x94cc08)[_0x13d70f(0x3fc)]:this[_0x13d70f(0x324)][_0x13d70f(0x286)](_0x13bbb4[_0x13d70f(0x43f)](_0x4f84d7=>_0x4f84d7[_0x13d70f(0x434)]===_0x94cc08),_0x13bbb4[_0x13d70f(0x2f9)](_0x424f7e=>_0x424f7e['cursorInfo$']));}[_0x183e64(0x273)](){const _0x335cbb=_0x183e64;this[_0x335cbb(0x2d8)][_0x335cbb(0x33a)](_0x50a9bf[_0x335cbb(0x2f2)][_0x335cbb(0x36a)])[_0x335cbb(0x286)](_0x13bbb4[_0x335cbb(0x1d4)](this[_0x335cbb(0x353)]))['subscribe'](async _0x265ae4=>{const _0x1ad362=_0x335cbb,_0x27a897=_0x265ae4[_0x1ad362(0x3d4)](),_0x2a9bbf=await this[_0x1ad362(0x276)](_0x27a897);this[_0x1ad362(0x324)][_0x1ad362(0x221)](_0x2a9bbf),this[_0x1ad362(0x2e7)][_0x1ad362(0x35e)](_0x27a897,_0x2a9bbf);}),this[_0x335cbb(0x2d8)][_0x335cbb(0x33a)](_0x50a9bf[_0x335cbb(0x2f2)][_0x335cbb(0x29c)])[_0x335cbb(0x286)](_0x13bbb4[_0x335cbb(0x1d4)](this[_0x335cbb(0x353)]))[_0x335cbb(0x286)](_0x13bbb4['filter'](_0x258145=>!_0x258145[_0x335cbb(0x3d4)]()[_0x335cbb(0x1f8)]('__')))[_0x335cbb(0x2cf)](async _0x593da5=>{const _0xe39c3a=_0x335cbb,_0x26cb4b=_0x593da5['getUnitId'](),_0x336747=await this[_0xe39c3a(0x3ef)](_0x26cb4b);this[_0xe39c3a(0x324)][_0xe39c3a(0x221)](_0x336747),this[_0xe39c3a(0x2e7)][_0xe39c3a(0x35e)](_0x26cb4b,_0x336747);}),_0x13bbb4[_0x335cbb(0x3a1)](this[_0x335cbb(0x2d8)][_0x335cbb(0x285)](_0x50a9bf[_0x335cbb(0x2f2)]['UNIVER_DOC']),this[_0x335cbb(0x2d8)][_0x335cbb(0x285)](_0x50a9bf[_0x335cbb(0x2f2)]['UNIVER_SHEET']))[_0x335cbb(0x286)](_0x13bbb4[_0x335cbb(0x1d4)](this[_0x335cbb(0x353)]))[_0x335cbb(0x2cf)](_0x3f93dc=>{const _0x4566b2=_0x335cbb,_0x4f6ba5=_0x3f93dc[_0x4566b2(0x3d4)](),_0x1b42d7=this['_entities']['get'](_0x4f6ba5);_0x1b42d7&&(_0x1b42d7[_0x4566b2(0x2a9)](),this['_entities'][_0x4566b2(0x20e)](_0x4f6ba5));});}async['_startSheetCollabCursor'](_0x1d60e3){const _0x25ac28=_0x183e64,_0x5bd8ae=await this['_collabSessionService'][_0x25ac28(0x265)](_0x1d60e3),_0x4791ba=this['_injector'][_0x25ac28(0x2ff)](_0x504e61,_0x1d60e3,_0x5bd8ae);return _0x4791ba['init'](),_0x4791ba;}async[_0x183e64(0x3ef)](_0x541d18){const _0x1c7866=_0x183e64,_0x1b164e=await this[_0x1c7866(0x321)][_0x1c7866(0x265)](_0x541d18),_0x2892ac=this[_0x1c7866(0x257)][_0x1c7866(0x2ff)](_0x50060e,_0x541d18,_0x1b164e);return _0x2892ac[_0x1c7866(0x2f1)](),_0x2892ac;}};_0x1cd7b4=_0x24af20([_0x148b23(0x0,_0x50a9bf[_0x183e64(0x3b0)]),_0x148b23(0x1,_0x50a9bf['Inject'](_0x50a9bf[_0x183e64(0x1db)])),_0x148b23(0x2,_0x50a9bf[_0x183e64(0x3a3)](_0x17756c[_0x183e64(0x346)]))],_0x1cd7b4);const _0x3f07b2=0x14,_0x4b9412=0xc8,_0x33a872=0x4,_0x426cdf=0x5;function _0x410320(_0x29941b,_0x1741c9){const _0x2d90fb=_0x183e64;let {radius:_0x37bb65,width:_0x325e11,height:_0x53f4cb}=_0x1741c9;_0x37bb65=_0x37bb65!=null?_0x37bb65:0x0,_0x325e11=_0x325e11!=null?_0x325e11:0x1e,_0x53f4cb=_0x53f4cb!=null?_0x53f4cb:0x1e;let _0x403e87=0x0,_0x402f04=0x0,_0xa53597=0x0;_0x403e87=_0x402f04=_0xa53597=Math[_0x2d90fb(0x3ec)](_0x37bb65,_0x325e11/0x2,_0x53f4cb/0x2),_0x29941b[_0x2d90fb(0x3a0)](),_0x29941b[_0x2d90fb(0x33f)](_0x403e87,0x0),_0x29941b[_0x2d90fb(0x223)](_0x325e11-_0x402f04,0x0),_0x29941b[_0x2d90fb(0x23f)](_0x325e11-_0x402f04,_0x402f04,_0x402f04,Math['PI']*0x3/0x2,0x0,!0x1),_0x29941b[_0x2d90fb(0x223)](_0x325e11,_0x53f4cb-_0xa53597),_0x29941b[_0x2d90fb(0x23f)](_0x325e11-_0xa53597,_0x53f4cb-_0xa53597,_0xa53597,0x0,Math['PI']/0x2,!0x1),_0x29941b[_0x2d90fb(0x223)](0x0,_0x53f4cb),_0x29941b[_0x2d90fb(0x223)](0x0,_0x403e87),_0x29941b[_0x2d90fb(0x23f)](_0x403e87,_0x403e87,_0x403e87,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x29941b[_0x2d90fb(0x1f4)](),_0x1741c9[_0x2d90fb(0x204)]&&(_0x29941b[_0x2d90fb(0x2e1)](),_0x29941b['fillStyle']=_0x1741c9[_0x2d90fb(0x204)],_0x1741c9[_0x2d90fb(0x38f)]===_0x2d90fb(0x213)?_0x29941b[_0x2d90fb(0x204)](_0x2d90fb(0x213)):_0x29941b[_0x2d90fb(0x204)](),_0x29941b['restore']());}class _0x17781a extends _0x31c6c6[_0x183e64(0x1c2)]{constructor(_0x4f105c,_0x352a42){const _0x3bc04f=_0x183e64;super(_0x4f105c,_0x352a42),_0x285378(this,'color'),_0x285378(this,_0x3bc04f(0x1eb)),(this['color']=_0x352a42==null?void 0x0:_0x352a42[_0x3bc04f(0x1d0)],this[_0x3bc04f(0x1eb)]=_0x352a42==null?void 0x0:_0x352a42['text']);}static[_0x183e64(0x2f5)](_0x444ad3,_0x3de5d4){const _0x2c4aa7=_0x183e64,{text:_0x57af9c,color:_0x50dddc}=_0x3de5d4;_0x444ad3[_0x2c4aa7(0x2e1)](),_0x444ad3[_0x2c4aa7(0x2ae)]=_0x2c4aa7(0x430);const _0x48e320=_0x444ad3[_0x2c4aa7(0x38c)](_0x57af9c)[_0x2c4aa7(0x3f0)],_0xb6c307=Math[_0x2c4aa7(0x3ec)](_0x48e320+0x2*_0x33a872,_0x4b9412);_0x410320(_0x444ad3,{'height':_0x3f07b2,'radius':0x4,'width':_0xb6c307,'fill':_0x50dddc}),_0x444ad3[_0x2c4aa7(0x2e8)]=_0x2c4aa7(0x3fb);const _0x3bbc9a=_0x33a872,_0x3d787a=_0x3f07b2-_0x426cdf,_0xd8789a=_0x4b9412-0x2*_0x33a872;if(_0x48e320>_0xd8789a){let _0xeacb97='',_0x168cc4=0x0;for(const _0x2f8528 of _0x57af9c){const _0x941558=_0x444ad3[_0x2c4aa7(0x38c)](_0x2f8528)[_0x2c4aa7(0x3f0)];if(_0x168cc4+_0x941558<=_0xd8789a-_0x444ad3[_0x2c4aa7(0x38c)]('...')[_0x2c4aa7(0x3f0)])_0xeacb97+=_0x2f8528,_0x168cc4+=_0x941558;else{_0xeacb97+=_0x2c4aa7(0x365);break;}}_0x444ad3[_0x2c4aa7(0x1e8)](_0xeacb97,_0x3bbc9a,_0x3d787a);}else _0x444ad3['fillText'](_0x57af9c,_0x3bbc9a,_0x3d787a);_0x444ad3[_0x2c4aa7(0x292)]();}[_0x183e64(0x271)](_0x2008d2){_0x17781a['drawWith'](_0x2008d2,this);}}const _0x573c3b=_0x183e64(0x241),_0x372e84=_0x183e64(0x24d),_0x13288d=_0x183e64(0x2b4),_0x170444=0x6,_0xa12155=1.5,_0x46a09f=0x4,_0x290306=1.5,_0x20154e='rgba(255,\x20255,\x20255,\x200.01)';class _0x38fd78{constructor(_0x193e0d,_0x509286,_0x3280e8,_0x3033a8){const _0x56f523=_0x183e64;_0x285378(this,_0x56f523(0x3c2),[]),_0x285378(this,'_anchor',null),_0x285378(this,_0x56f523(0x34b),null),_0x285378(this,_0x56f523(0x3ca),null),_0x285378(this,_0x56f523(0x1d6),null),_0x285378(this,_0x56f523(0x1ed),null),(this[_0x56f523(0x3c8)]=_0x193e0d,this[_0x56f523(0x29b)]=_0x509286,this[_0x56f523(0x306)]=_0x3280e8,this[_0x56f523(0x3eb)]=_0x3033a8,this[_0x56f523(0x322)]());}set[_0x183e64(0x34d)](_0x546880){const _0x49dc51=_0x183e64;_0x546880?(this[_0x49dc51(0x3ca)]&&this[_0x49dc51(0x3ca)]['hide'](),this[_0x49dc51(0x34b)]&&this[_0x49dc51(0x34b)]['show']()):(this['_anchorDot']&&this[_0x49dc51(0x3ca)][_0x49dc51(0x25b)](),this[_0x49dc51(0x34b)]&&this['_textBubble'][_0x49dc51(0x3b3)]());}[_0x183e64(0x2a9)](){const _0x172547=_0x183e64;for(const _0x524e78 of this[_0x172547(0x3c2)])_0x524e78[_0x172547(0x2a9)]();this['_textBubble']&&this[_0x172547(0x34b)]['dispose'](),this[_0x172547(0x3ca)]&&this['_anchorDot'][_0x172547(0x2a9)](),this['_anchor']&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x172547(0x1ed)]();}[_0x183e64(0x322)](){const _0x1f7ea5=_0x183e64;var _0x35409e;const {_docSkeleton:_0x103729,_document:_0x1c48e6}=this,{color:_0x2d55ed,name:_0x1712fe,ranges:_0x3a538f}=this[_0x1f7ea5(0x3c8)],_0x5c4ad7=_0x1c48e6['getOffsetConfig'](),{docsLeft:_0x1fe3ca,docsTop:_0x5cd39b}=_0x5c4ad7,_0x3ed3b9=new _0x5af227[(_0x1f7ea5(0x301))](_0x5c4ad7,_0x103729);for(const {startOffset:_0x3bcc62,endOffset:_0x51ad1e,rangeType:_0x236efc,segmentId:_0x187919,segmentPage:_0x13ac4b,collapsed:_0x1ba35d,isActive:_0x22c72b}of _0x3a538f){const _0x37aaa4=_0x103729['findNodePositionByCharIndex'](_0x3bcc62,!0x0,_0x187919,_0x13ac4b);let _0x49c42d=_0x103729[_0x1f7ea5(0x3bd)](_0x51ad1e,!0x0,_0x187919,_0x13ac4b);if(_0x49c42d==null&&(_0x49c42d=_0x103729['findNodePositionByCharIndex'](_0x51ad1e-0x1,!0x1,_0x187919,_0x13ac4b)),_0x22c72b){const {contentBoxPointGroup:_0x9cb5e8}=_0x3ed3b9[_0x1f7ea5(0x3b9)](_0x49c42d,_0x49c42d);if(_0x9cb5e8['length']===0x0)continue;this[_0x1f7ea5(0x23c)](_0x2d55ed,_0x9cb5e8,_0x1fe3ca,_0x5cd39b,_0x1712fe),this[_0x1f7ea5(0x1ed)]=this[_0x1f7ea5(0x411)]();}if(_0x37aaa4&&_0x49c42d){if(_0x236efc===_0x50a9bf[_0x1f7ea5(0x225)][_0x1f7ea5(0x2de)]){const _0x3300d7=new _0x5af227['NodePositionConvertToRectRange'](_0x5c4ad7,_0x103729),{pointGroup:_0x77bbb3}=(_0x35409e=_0x3300d7[_0x1f7ea5(0x3b9)](_0x37aaa4,_0x49c42d))!=null?_0x35409e:{};if(_0x77bbb3==null||_0x77bbb3['length']===0x0)continue;this['_drawRectRange'](_0x2d55ed,_0x77bbb3,_0x1fe3ca,_0x5cd39b);}else{if(!_0x1ba35d){const {borderBoxPointGroup:_0x428ce0}=_0x3ed3b9['getRangePointData'](_0x37aaa4,_0x49c42d);if(_0x428ce0[_0x1f7ea5(0x30f)]===0x0)continue;this[_0x1f7ea5(0x260)](_0x2d55ed,_0x428ce0,_0x1fe3ca,_0x5cd39b);}}}}}['_drawAnchor'](_0x252c16,_0xb76351,_0x2043a2,_0xfb9afd,_0x1b5075){const _0x5e2a76=_0x183e64,_0xc1e9e9=this[_0x5e2a76(0x412)](_0xb76351),{left:_0x1fc5b6,top:_0x5a5860,height:_0x4dd649}=_0xc1e9e9,_0x2c827e=this[_0x5e2a76(0x3ae)](),_0xe59ce3=_0x290306/_0x2c827e,_0x174f72=new _0x31c6c6[(_0x5e2a76(0x269))](_0x573c3b+_0x50a9bf['Tools']['generateRandomId'](_0x170444),{'left':_0x1fc5b6+_0x2043a2-_0xe59ce3,'top':_0x5a5860+_0xfb9afd,'height':_0x4dd649,'width':_0xa12155,'fill':_0x252c16||_0x31c6c6[_0x5e2a76(0x2df)](_0x50a9bf[_0x5e2a76(0x1fa)][_0x5e2a76(0x1ba)],0x0),'strokeWidth':_0xe59ce3,'stroke':_0x20154e,'evented':!0x0});this[_0x5e2a76(0x320)]=_0x174f72,this[_0x5e2a76(0x29b)]['addObject'](_0x174f72,_0x5af227[_0x5e2a76(0x36d)]);const _0x353b5f=new _0x31c6c6[(_0x5e2a76(0x269))](_0x573c3b+_0x50a9bf[_0x5e2a76(0x429)]['generateRandomId'](_0x170444),{'left':_0x1fc5b6+_0x2043a2-_0xe59ce3,'top':_0x5a5860+_0xfb9afd-_0x46a09f/0x2,'height':_0x46a09f,'width':_0x46a09f,'fill':_0x252c16||_0x31c6c6[_0x5e2a76(0x2df)](_0x50a9bf[_0x5e2a76(0x1fa)][_0x5e2a76(0x1ba)],0x0),'strokeWidth':0x0,'stroke':_0x252c16||_0x31c6c6[_0x5e2a76(0x2df)](_0x50a9bf[_0x5e2a76(0x1fa)][_0x5e2a76(0x1ba)],0x0),'evented':!0x1});this[_0x5e2a76(0x3ca)]=_0x353b5f,this[_0x5e2a76(0x29b)][_0x5e2a76(0x36f)](_0x353b5f,_0x5af227[_0x5e2a76(0x36d)]);const _0x40a3dd=new _0x17781a(_0x573c3b+_0x50a9bf[_0x5e2a76(0x429)][_0x5e2a76(0x36b)](_0x170444),{'left':_0x1fc5b6+_0x2043a2-_0xe59ce3,'top':_0x5a5860+_0xfb9afd-_0x3f07b2,'text':_0x1b5075,'color':_0x252c16});this[_0x5e2a76(0x34b)]=_0x40a3dd,this[_0x5e2a76(0x29b)]['addObject'](_0x40a3dd,_0x5af227[_0x5e2a76(0x36d)]),this[_0x5e2a76(0x34d)]=!0x1;}[_0x183e64(0x411)](){const _0x4b57ac=_0x183e64,_0x3f2f99=this['_anchor'][_0x4b57ac(0x29a)]['subscribeEvent'](()=>{const _0x409188=_0x4b57ac;this[_0x409188(0x34d)]=!0x0;}),_0x3ae55b=this[_0x4b57ac(0x320)][_0x4b57ac(0x1c7)]['subscribeEvent'](()=>{const _0x3340e5=_0x4b57ac;this[_0x3340e5(0x1d6)]&&clearTimeout(this[_0x3340e5(0x1d6)]),this[_0x3340e5(0x1d6)]=setTimeout(()=>{const _0xaa2c95=_0x3340e5;this[_0xaa2c95(0x34d)]=!0x1;},0x7d0);});return()=>{const _0x2a8e5a=_0x4b57ac;_0x3f2f99[_0x2a8e5a(0x352)](),_0x3ae55b[_0x2a8e5a(0x352)]();};}[_0x183e64(0x260)](_0x543dff,_0x4bcf11,_0x3d1922,_0x5bf408){const _0x253f4d=_0x183e64,_0x246bdd=new _0x50a9bf['ColorKit'](_0x543dff)[_0x253f4d(0x283)](0.2)[_0x253f4d(0x2d9)](),_0x45b7cc=new _0x31c6c6[(_0x253f4d(0x302))](_0x372e84+_0x50a9bf[_0x253f4d(0x429)][_0x253f4d(0x36b)](_0x170444),{'pointsGroup':_0x4bcf11,'fill':_0x246bdd||_0x31c6c6[_0x253f4d(0x2df)](_0x50a9bf[_0x253f4d(0x1fa)]['black'],0.2),'left':_0x3d1922,'top':_0x5bf408,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x253f4d(0x3c2)][_0x253f4d(0x379)](_0x45b7cc),this[_0x253f4d(0x29b)][_0x253f4d(0x36f)](_0x45b7cc,_0x5af227['TEXT_RANGE_LAYER_INDEX']);}[_0x183e64(0x25c)](_0x31d5fe,_0x215656,_0x3530ad,_0x5ee8e7){const _0x557eb4=_0x183e64,_0x5c466e=new _0x50a9bf[(_0x557eb4(0x416))](_0x31d5fe)['setAlpha'](0.2)[_0x557eb4(0x2d9)](),_0xd6887e=new _0x31c6c6[(_0x557eb4(0x302))](_0x13288d+_0x50a9bf[_0x557eb4(0x429)]['generateRandomId'](_0x170444),{'pointsGroup':_0x215656,'fill':_0x5c466e||_0x31c6c6[_0x557eb4(0x2df)](_0x50a9bf[_0x557eb4(0x1fa)]['black'],0.2),'left':_0x3530ad,'top':_0x5ee8e7,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0xd6887e),this[_0x557eb4(0x29b)][_0x557eb4(0x36f)](_0xd6887e,_0x5af227[_0x557eb4(0x36d)]);}[_0x183e64(0x412)](_0x3f875e){const _0x454240=_0x3f875e[0x0],_0x39dfe1=_0x454240[0x0],_0x5dd388=_0x454240[0x2],{x:_0x33d13f,y:_0x2a5b46}=_0x39dfe1,{x:_0x2daa52,y:_0x100f72}=_0x5dd388;return{'left':_0x33d13f,'top':_0x2a5b46,'width':_0x2daa52-_0x33d13f,'height':_0x100f72-_0x2a5b46};}[_0x183e64(0x3ae)](){const {scaleX:_0x5b2ebc,scaleY:_0x38d7b2}=this['_scene']['getAncestorScale']();return Math['max'](_0x5b2ebc,_0x38d7b2);}}var _0x332b1d=Object[_0x183e64(0x233)],_0x4875df=(_0x294693,_0x5e2bab,_0x58e8e8,_0x23e03e)=>{const _0x12bfa6=_0x183e64;for(var _0x5da32a=_0x23e03e>0x1?void 0x0:_0x23e03e?_0x332b1d(_0x5e2bab,_0x58e8e8):_0x5e2bab,_0x53c717=_0x294693[_0x12bfa6(0x30f)]-0x1,_0x51c930;_0x53c717>=0x0;_0x53c717--)(_0x51c930=_0x294693[_0x53c717])&&(_0x5da32a=_0x51c930(_0x5da32a)||_0x5da32a);return _0x5da32a;},_0x32beda=(_0x1b3759,_0x23cfd7)=>(_0xfd962d,_0x45033f)=>_0x23cfd7(_0xfd962d,_0x45033f,_0x1b3759);let _0x445be5=class extends _0x50a9bf[_0x183e64(0x1bc)]{constructor(_0x2af8d1,_0x2684a0,_0x847398,_0x19ed97,_0x233233){const _0xe11e0f=_0x183e64;super(),_0x285378(this,'_cursorShapes',[]),_0x285378(this,_0xe11e0f(0x247),[]),(this[_0xe11e0f(0x42f)]=_0x2af8d1,this[_0xe11e0f(0x436)]=_0x2684a0,this[_0xe11e0f(0x359)]=_0x847398,this['_commandService']=_0x19ed97,this[_0xe11e0f(0x38a)]=_0x233233,this[_0xe11e0f(0x273)]());}[_0x183e64(0x273)](){const _0x17e73e=_0x183e64,_0x541eed=this[_0x17e73e(0x42f)][_0x17e73e(0x290)],_0x2796c6=this[_0x17e73e(0x436)];this[_0x17e73e(0x212)](_0x13bbb4['combineLatest']([this['_collabCursorController'][_0x17e73e(0x3ba)](_0x541eed),this[_0x17e73e(0x38a)]['currentTheme$']])['pipe'](_0x4c07d1['map'](([_0x408bfd,_0x1b1467])=>({'skeleton':_0x2796c6[_0x17e73e(0x314)](),'cursors':[..._0x408bfd[_0x17e73e(0x37a)]()][_0x17e73e(0x1d3)](_0x5d9e57=>({..._0x5d9e57,'color':_0x1b1467[_0x5d9e57[_0x17e73e(0x1d0)]]}))})))[_0x17e73e(0x2cf)](_0x1af996=>{const _0x1acc4b=_0x17e73e;if(this[_0x1acc4b(0x28e)](),_0x1af996){const {skeleton:_0x38d8ef,cursors:_0xa8fc67}=_0x1af996;this[_0x1acc4b(0x308)](_0x38d8ef,_0xa8fc67);}})),this[_0x17e73e(0x304)](),this[_0x17e73e(0x2d4)]();}[_0x183e64(0x308)](_0x39d62c,_0x5b01a2){const _0x1f99b3=_0x183e64,{scene:_0x34b0d5,mainComponent:_0x45b8f}=this[_0x1f99b3(0x42f)],_0xf150c2=_0x5b01a2[_0x1f99b3(0x1b7)](_0x27c61e=>new _0x38fd78(_0x27c61e,_0x34b0d5,_0x39d62c,_0x45b8f));this[_0x1f99b3(0x30b)]=_0xf150c2,this[_0x1f99b3(0x247)]=_0x5b01a2;}[_0x183e64(0x1f2)](){const _0x5d381c=_0x183e64;this[_0x5d381c(0x28e)]();const {scene:_0x4c4450,mainComponent:_0x50a1ea}=this['_context'],_0x1e92b8=this[_0x5d381c(0x436)]['getSkeleton'](),_0x5970fb=this[_0x5d381c(0x247)][_0x5d381c(0x1b7)](_0x3286ba=>new _0x38fd78(_0x3286ba,_0x4c4450,_0x1e92b8,_0x50a1ea));this[_0x5d381c(0x30b)]=_0x5970fb;}['_removeCollabCursors'](){const _0x55ea04=_0x183e64;this[_0x55ea04(0x30b)]['forEach'](_0x5ca0b1=>_0x5ca0b1[_0x55ea04(0x2a9)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x309e3d=_0x183e64,_0x537ad3=[_0x5af227['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x309e3d(0x2f7)]['onCommandExecuted'](_0x27cee6=>{const _0x1c3eac=_0x309e3d;_0x537ad3[_0x1c3eac(0x2bb)](_0x27cee6['id'])&&_0x27cee6[_0x1c3eac(0x231)]['unitId']===this[_0x1c3eac(0x42f)][_0x1c3eac(0x290)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x50a309=_0x183e64;this['disposeWithMe'](_0x50a9bf['fromEventSubject'](this[_0x50a309(0x42f)]['engine'][_0x50a309(0x1d5)])[_0x50a309(0x286)](_0x4c07d1[_0x50a309(0x43f)](_0xbf17e=>_0xbf17e[_0x50a309(0x1c1)]===_0x31c6c6['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x4c07d1[_0x50a309(0x3e2)](0x10))[_0x50a309(0x2cf)](()=>{const _0x396bb6=_0x50a309;this[_0x396bb6(0x1f2)]();}));}};_0x445be5=_0x4875df([_0x32beda(0x1,_0x50a9bf['Inject'](_0x41648c['DocSkeletonManagerService'])),_0x32beda(0x2,_0x50a9bf['Inject'](_0x1cd7b4)),_0x32beda(0x3,_0x50a9bf[_0x183e64(0x2ee)]),_0x32beda(0x4,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x240)]))],_0x445be5);const _0x1097f9=0x1,_0xc73524=1.5;class _0x48c5c3 extends _0x31c6c6[_0x183e64(0x1c2)]{constructor(_0x5711b3,_0x47cf3c){const _0x3f497c=_0x183e64;super(_0x5711b3,_0x47cf3c),_0x285378(this,'_color'),_0x285378(this,'_hovered',!0x1),_0x285378(this,_0x3f497c(0x22d)),_0x285378(this,_0x3f497c(0x1c0),''),_0x285378(this,_0x3f497c(0x261),_0x3f497c(0x20c)),_0x285378(this,_0x3f497c(0x43a)),(_0x47cf3c&&this[_0x3f497c(0x2e3)](_0x47cf3c),this[_0x3f497c(0x29a)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x3f497c(0x1ce)](()=>this[_0x3f497c(0x2e3)]({'hovered':!0x1})));}[_0x183e64(0x2e3)](_0x465278){const _0x5af299=_0x183e64;var _0x18a7b1,_0x1d593e,_0x41c64e,_0x17ee42,_0xdb7b17,_0x13d25d;this[_0x5af299(0x3cd)]=(_0x18a7b1=_0x465278[_0x5af299(0x1d0)])!=null?_0x18a7b1:this['_color'],this[_0x5af299(0x374)]=(_0x1d593e=_0x465278[_0x5af299(0x2c1)])!=null?_0x1d593e:this[_0x5af299(0x374)],this[_0x5af299(0x22d)]=(_0x41c64e=_0x465278['range'])!=null?_0x41c64e:this[_0x5af299(0x22d)],this[_0x5af299(0x1c0)]=(_0x17ee42=_0x465278[_0x5af299(0x3a8)])!=null?_0x17ee42:this[_0x5af299(0x1c0)],this[_0x5af299(0x261)]=(_0xdb7b17=_0x465278[_0x5af299(0x1d9)])!=null?_0xdb7b17:this[_0x5af299(0x261)],this['_backgroundColor']=(_0x13d25d=_0x465278['backgroundColor'])!=null?_0x13d25d:this[_0x5af299(0x43a)],this[_0x5af299(0x3c1)]({'width':_0x465278[_0x5af299(0x3f0)],'height':_0x465278[_0x5af299(0x3cb)]});}[_0x183e64(0x34a)](_0x2892c8){const _0x327363=_0x183e64,{row:_0x4c6509,column:_0x261fca}=_0x2892c8;if(_0x4c6509>=this[_0x327363(0x22d)][_0x327363(0x3f3)]&&_0x4c6509<=this[_0x327363(0x22d)]['endRow']&&_0x261fca>=this[_0x327363(0x22d)]['startColumn']&&_0x261fca<=this[_0x327363(0x22d)][_0x327363(0x3c4)]){this[_0x327363(0x2e3)]({'hovered':!0x0});return;}this[_0x327363(0x2e3)]({'hovered':!0x1});}[_0x183e64(0x2a3)](_0x5eee5a){return!0x1;}[_0x183e64(0x271)](_0x29c36f){const _0x516faa=_0x183e64;_0x31c6c6[_0x516faa(0x269)][_0x516faa(0x2f5)](_0x29c36f,{'width':this[_0x516faa(0x3f0)],'height':this[_0x516faa(0x3cb)],'strokeWidth':_0xc73524,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x516faa(0x43a)]}),this['_hovered']&&(_0x29c36f['save'](),_0x29c36f['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x516faa(0x261)]===_0x516faa(0x3e4)?0x0:-0x14),_0x17781a[_0x516faa(0x2f5)](_0x29c36f,{'text':this['_name'],'color':this[_0x516faa(0x3cd)]}),_0x29c36f[_0x516faa(0x292)]());}}var _0x301855=Object['getOwnPropertyDescriptor'],_0x2d2cfc=(_0x435fb1,_0x3f577a,_0x22a8eb,_0xb61877)=>{const _0x579484=_0x183e64;for(var _0x803546=_0xb61877>0x1?void 0x0:_0xb61877?_0x301855(_0x3f577a,_0x22a8eb):_0x3f577a,_0x5a324a=_0x435fb1[_0x579484(0x30f)]-0x1,_0x387c38;_0x5a324a>=0x0;_0x5a324a--)(_0x387c38=_0x435fb1[_0x5a324a])&&(_0x803546=_0x387c38(_0x803546)||_0x803546);return _0x803546;},_0x348749=(_0x52f5a1,_0x36ff7b)=>(_0xa7036f,_0x5895eb)=>_0x36ff7b(_0xa7036f,_0x5895eb,_0x52f5a1);const _0x402e17=0x1389;let _0x3b4b11=class extends _0x50a9bf['RxDisposable']{constructor(_0x5c8392,_0xea3676,_0x3ab0d9,_0x40eae5){const _0x1d0ca8=_0x183e64;super(),_0x285378(this,_0x1d0ca8(0x247),new Set()),_0x285378(this,_0x1d0ca8(0x228),null),(this[_0x1d0ca8(0x42f)]=_0x5c8392,this['_sheetSkeletonManagerService']=_0xea3676,this[_0x1d0ca8(0x359)]=_0x3ab0d9,this[_0x1d0ca8(0x38a)]=_0x40eae5,this[_0x1d0ca8(0x273)]());}[_0x183e64(0x273)](){const _0x7eda84=_0x183e64;this[_0x7eda84(0x43e)]['currentSkeleton$'][_0x7eda84(0x286)](_0x4c07d1[_0x7eda84(0x1d4)](this[_0x7eda84(0x353)]),_0x4c07d1[_0x7eda84(0x2f9)](_0x4986f7=>{const _0x4ae9cf=_0x7eda84;if(_0x4986f7){const _0x228b22=_0x4986f7[_0x4ae9cf(0x3f2)];return _0x13bbb4[_0x4ae9cf(0x3c5)](this[_0x4ae9cf(0x359)][_0x4ae9cf(0x3ba)](this[_0x4ae9cf(0x42f)][_0x4ae9cf(0x290)]),this[_0x4ae9cf(0x38a)][_0x4ae9cf(0x3ff)])['pipe'](_0x4c07d1[_0x4ae9cf(0x1b7)](([_0x5dc945,_0x451a0e])=>{const _0x385d96=_0x4ae9cf,_0x4f7380=new Map();return _0x5dc945[_0x385d96(0x32a)]((_0x5a8322,_0x486d2c)=>{const _0x195ccf=_0x385d96;if(_0x5a8322[_0x195ccf(0x2a2)]===_0x228b22){const _0x5c1afa={..._0x5a8322};_0x5c1afa[_0x195ccf(0x1d0)]=_0x451a0e[_0x5a8322[_0x195ccf(0x1d0)]],_0x4f7380[_0x195ccf(0x35e)](_0x486d2c,_0x5c1afa);}}),{'skeleton':_0x4986f7,'cursors':_0x4f7380};}));}return _0x13bbb4['of']({'skeleton':null,'cursors':new Map()});}))[_0x7eda84(0x2cf)](({skeleton:_0x301002,cursors:_0x1b003e})=>{const _0xbbcbce=_0x7eda84;this[_0xbbcbce(0x28e)](),_0x301002&&this[_0xbbcbce(0x308)](_0x301002,_0x1b003e);}),this['_sheetSkeletonManagerService'][_0x7eda84(0x3d7)][_0x7eda84(0x2cf)](_0x38f36d=>{const _0x3ec3ae=_0x7eda84;if(_0x38f36d==null)return;const {skeleton:_0x17b0c9}=_0x38f36d,{scene:_0x447a2c}=this[_0x3ec3ae(0x42f)];_0x447a2c[_0x3ec3ae(0x3f9)][_0x3ec3ae(0x1ce)](_0x50a9bf[_0x3ec3ae(0x3c7)](_0x52f75b=>{const _0x488c65=_0x3ec3ae;var _0x315847,_0x27cf24;const {offsetX:_0x444181,offsetY:_0x45cbdc}=_0x52f75b,{x:_0x1b7fb1,y:_0x409e47}=_0x447a2c[_0x488c65(0x303)](_0x31c6c6[_0x488c65(0x3d2)][_0x488c65(0x3c0)]([_0x444181,_0x45cbdc])),{scaleX:_0x44df1a,scaleY:_0x101f72}=_0x447a2c[_0x488c65(0x36c)](),_0x25ceb3=_0x447a2c[_0x488c65(0x2bd)](_0x31c6c6[_0x488c65(0x256)][_0x488c65(0x1e9)]),_0x33a35d=_0x447a2c[_0x488c65(0x341)](_0x31c6c6[_0x488c65(0x3d2)][_0x488c65(0x3c0)]([_0x1b7fb1,_0x409e47]),_0x25ceb3),_0x40a229=_0x17b0c9['getCellPositionByOffset'](_0x444181,_0x45cbdc,_0x44df1a,_0x101f72,_0x33a35d);((_0x315847=this[_0x488c65(0x228)])==null?void 0x0:_0x315847[_0x488c65(0x32c)])===_0x40a229[_0x488c65(0x32c)]&&((_0x27cf24=this[_0x488c65(0x228)])==null?void 0x0:_0x27cf24[_0x488c65(0x366)])===_0x40a229[_0x488c65(0x366)]||this['_cursors'][_0x488c65(0x32a)](_0x2b240e=>{const _0xa78eab=_0x488c65;_0x2b240e[_0xa78eab(0x34a)](_0x40a229);});},0x64));});}[_0x183e64(0x308)](_0x23d274,_0x3bbc8a){const _0x4fd406=_0x183e64;var _0x108211;const _0x2fd547=(_0x108211=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x108211[_0x4fd406(0x427)];if(!_0x2fd547)return;const _0x4df7b4=this[_0x4fd406(0x387)]();if(!_0x4df7b4)return;this['_cursors'][_0x4fd406(0x32a)](_0x2447f9=>{const _0x4ca3c5=_0x4fd406;_0x2447f9[_0x4ca3c5(0x215)]();});const {scene:_0xe1087b}=_0x4df7b4,_0x1b44ef=_0x75fa02(Array['from'](_0x3bbc8a[_0x4fd406(0x37a)]()))['map'](_0x3b9e8a=>{const _0x127f5b=_0x4fd406,{color:_0x39fdbc,range:_0x12fcdc,name:_0x2463d6,selection:_0x9a19a7,sheetID:_0x3e7191}=_0x3b9e8a,{startColumn:_0x586146,startRow:_0x25c143,endColumn:_0x22143b,endRow:_0x582569}=_0x12fcdc,_0x5d5738=_0x532dcc['getCoordByCell'](_0x25c143,_0x586146,_0xe1087b,_0x2fd547),_0x9e73b2=_0x532dcc['getCoordByCell'](_0x582569,_0x22143b,_0xe1087b,_0x2fd547),{columnHeaderHeightAndMarginTop:_0x25abf4}=_0x2fd547,{startX:_0x533bde,startY:_0x1c2657}=_0x5d5738,{endX:_0x439520,endY:_0x2bb0a9}=_0x9e73b2,_0x425f63=_0x439520-_0x533bde,_0x563223=_0x2bb0a9-_0x1c2657,_0x358b44={'labelPosition':_0x1c2657-_0x25abf4>=_0x3f07b2?_0x127f5b(0x20c):_0x127f5b(0x3e4),'sheetID':_0x3e7191,'range':_0x12fcdc,'color':_0x39fdbc,'name':_0x2463d6,'selection':_0x9a19a7,'left':_0x533bde,'top':_0x1c2657,'width':_0x425f63,'height':_0x563223,'evented':!0x1,'zIndex':_0x402e17};return new _0x48c5c3(_0x2463d6,_0x358b44);});_0xe1087b[_0x4fd406(0x250)](_0x1b44ef,_0x1097f9),this[_0x4fd406(0x247)]=new Set(_0x1b44ef);}[_0x183e64(0x28e)](){const _0x2ed7d0=_0x183e64;var _0x31d32b;(_0x31d32b=this[_0x2ed7d0(0x247)])==null||_0x31d32b[_0x2ed7d0(0x32a)](_0x443894=>_0x443894[_0x2ed7d0(0x2a9)]());}[_0x183e64(0x387)](){const _0x55c92f=_0x183e64;return _0x532dcc['getSheetObject'](this[_0x55c92f(0x42f)][_0x55c92f(0x2ac)],this['_context']);}};_0x3b4b11=_0x2d2cfc([_0x348749(0x1,_0x50a9bf[_0x183e64(0x3a3)](_0x532dcc[_0x183e64(0x424)])),_0x348749(0x2,_0x50a9bf[_0x183e64(0x3a3)](_0x1cd7b4)),_0x348749(0x3,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x240)]))],_0x3b4b11);function _0x75fa02(_0x3d7ea0){const _0x273b18=_0x183e64,_0x349270=new Map();return _0x3d7ea0[_0x273b18(0x32a)](_0x2a5c8d=>{const _0x14b1aa=_0x273b18;if(_0x349270['has'](_0x2a5c8d[_0x14b1aa(0x2a7)])){const _0x485422=_0x349270[_0x14b1aa(0x33e)](_0x2a5c8d['selection']);_0x485422[_0x14b1aa(0x3a8)]+=',\x20'+_0x2a5c8d[_0x14b1aa(0x3a8)];}else _0x349270['set'](_0x2a5c8d['selection'],_0x2a5c8d);}),Array[_0x273b18(0x2a8)](_0x349270[_0x273b18(0x37a)]());}var _0x4dbe20=function(){const _0x3d26a5=_0x183e64;return _0x4dbe20=Object[_0x3d26a5(0x24f)]||function(_0x27ab8d){const _0x18a3aa=_0x3d26a5;for(var _0x3f4108,_0x3ba797=0x1,_0x27d0f8=arguments[_0x18a3aa(0x30f)];_0x3ba797<_0x27d0f8;_0x3ba797++){_0x3f4108=arguments[_0x3ba797];for(var _0x3fddde in _0x3f4108)Object[_0x18a3aa(0x439)]['hasOwnProperty'][_0x18a3aa(0x421)](_0x3f4108,_0x3fddde)&&(_0x27ab8d[_0x3fddde]=_0x3f4108[_0x3fddde]);}return _0x27ab8d;},_0x4dbe20['apply'](this,arguments);},_0x1ff001=function(_0x4fc6cf,_0x42ad8d){const _0x28c8eb=_0x183e64;var _0xa47da3={};for(var _0x3ba250 in _0x4fc6cf)Object[_0x28c8eb(0x439)][_0x28c8eb(0x437)]['call'](_0x4fc6cf,_0x3ba250)&&_0x42ad8d[_0x28c8eb(0x30d)](_0x3ba250)<0x0&&(_0xa47da3[_0x3ba250]=_0x4fc6cf[_0x3ba250]);if(_0x4fc6cf!=null&&typeof Object[_0x28c8eb(0x329)]=='function'){for(var _0x2ca99c=0x0,_0x3ba250=Object[_0x28c8eb(0x329)](_0x4fc6cf);_0x2ca99c<_0x3ba250['length'];_0x2ca99c++)_0x42ad8d['indexOf'](_0x3ba250[_0x2ca99c])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x4fc6cf,_0x3ba250[_0x2ca99c])&&(_0xa47da3[_0x3ba250[_0x2ca99c]]=_0x4fc6cf[_0x3ba250[_0x2ca99c]]);}return _0xa47da3;},_0x545147=_0x662f97[_0x183e64(0x37f)](function(_0x42237d,_0x10333e){const _0x574cc1=_0x183e64;var _0x5839f1=_0x42237d['icon'],_0x2f8809=_0x42237d['id'],_0x1c0f3b=_0x42237d['className'],_0x19c63a=_0x42237d[_0x574cc1(0x418)],_0x205138=_0x1ff001(_0x42237d,[_0x574cc1(0x3a2),'id','className',_0x574cc1(0x418)]),_0x4b63a5='univerjs-icon\x20univerjs-icon-'['concat'](_0x2f8809,'\x20')[_0x574cc1(0x2d0)](_0x1c0f3b||'')[_0x574cc1(0x431)](),_0x5c2c79=_0x662f97[_0x574cc1(0x1f5)]('_'['concat'](_0xafe94f()));return _0x5923ea(_0x5839f1,''[_0x574cc1(0x2d0)](_0x2f8809),{'defIds':_0x5839f1[_0x574cc1(0x1d8)],'idSuffix':_0x5c2c79[_0x574cc1(0x267)]},_0x4dbe20({'ref':_0x10333e,'className':_0x4b63a5},_0x205138),_0x19c63a);});function _0x5923ea(_0xc1db93,_0x47c7b5,_0x2e7973,_0x526e87,_0x3e202d){const _0x1b5125=_0x183e64;return _0x662f97[_0x1b5125(0x258)](_0xc1db93[_0x1b5125(0x327)],_0x4dbe20(_0x4dbe20({'key':_0x47c7b5},_0x4fd8ca(_0xc1db93,_0x2e7973,_0x3e202d)),_0x526e87),(_0xa305c8(_0xc1db93,_0x2e7973)['children']||[])[_0x1b5125(0x1b7)](function(_0x135410,_0x106e5f){const _0x3631cc=_0x1b5125;return _0x5923ea(_0x135410,''[_0x3631cc(0x2d0)](_0x47c7b5,'-')['concat'](_0xc1db93[_0x3631cc(0x327)],'-')[_0x3631cc(0x2d0)](_0x106e5f),_0x2e7973,void 0x0,_0x3e202d);}));}function _0x4fd8ca(_0x4f3dc9,_0x9f72be,_0x3b18ed){const _0x77798e=_0x183e64;var _0x213645=_0x4dbe20({},_0x4f3dc9[_0x77798e(0x287)]);_0x3b18ed!=null&&_0x3b18ed['colorChannel1']&&_0x213645[_0x77798e(0x204)]===_0x77798e(0x317)&&(_0x213645[_0x77798e(0x204)]=_0x3b18ed['colorChannel1']),_0x4f3dc9[_0x77798e(0x327)]===_0x77798e(0x23e)&&_0x213645['id']&&(_0x213645['id']=_0x213645['id']+_0x9f72be['idSuffix']),Object[_0x77798e(0x263)](_0x213645)[_0x77798e(0x32a)](function(_0x51a098){const _0x4670cf=_0x77798e;var _0x461fa6=_0x51a098[0x0],_0x37dcf6=_0x51a098[0x1];_0x461fa6===_0x4670cf(0x23e)&&typeof _0x37dcf6==_0x4670cf(0x440)&&(_0x213645[_0x461fa6]=_0x37dcf6['replace'](/url\(#(.*)\)/,'url(#$1'[_0x4670cf(0x2d0)](_0x9f72be[_0x4670cf(0x27f)],')')));});var _0x29b256=_0x9f72be[_0x77798e(0x1d8)];return!_0x29b256||_0x29b256[_0x77798e(0x30f)]===0x0||(_0x4f3dc9[_0x77798e(0x327)]==='use'&&_0x213645[_0x77798e(0x1c3)]&&(_0x213645[_0x77798e(0x1c3)]=_0x213645[_0x77798e(0x1c3)]+_0x9f72be['idSuffix']),Object[_0x77798e(0x263)](_0x213645)['forEach'](function(_0xe80afb){const _0x8f960d=_0x77798e;var _0x184eff=_0xe80afb[0x0],_0x47dd71=_0xe80afb[0x1];typeof _0x47dd71=='string'&&(_0x213645[_0x184eff]=_0x47dd71[_0x8f960d(0x1dd)](/url\(#(.*)\)/,'url(#$1'[_0x8f960d(0x2d0)](_0x9f72be[_0x8f960d(0x27f)],')')));})),_0x213645;}function _0xa305c8(_0xa6243d,_0x2140e2){const _0x534c3e=_0x183e64;var _0xefd8b6,_0x32fc6b=_0x2140e2[_0x534c3e(0x1d8)];return!_0x32fc6b||_0x32fc6b['length']===0x0?_0xa6243d:_0xa6243d[_0x534c3e(0x327)]===_0x534c3e(0x1f9)&&(!((_0xefd8b6=_0xa6243d[_0x534c3e(0x236)])===null||_0xefd8b6===void 0x0)&&_0xefd8b6[_0x534c3e(0x30f)])?_0x4dbe20(_0x4dbe20({},_0xa6243d),{'children':_0xa6243d['children']['map'](function(_0x28ba3f){const _0x44f403=_0x534c3e;return typeof _0x28ba3f['attrs']['id']==_0x44f403(0x440)&&_0x32fc6b&&_0x32fc6b[_0x44f403(0x30d)](_0x28ba3f['attrs']['id'])>-0x1?_0x4dbe20(_0x4dbe20({},_0x28ba3f),{'attrs':_0x4dbe20(_0x4dbe20({},_0x28ba3f[_0x44f403(0x287)]),{'id':_0x28ba3f[_0x44f403(0x287)]['id']+_0x2140e2[_0x44f403(0x27f)]})}):_0x28ba3f;})}):_0xa6243d;}function _0xafe94f(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x545147[_0x183e64(0x41f)]='UniverIcon';var _0x28a654={'tag':'svg','attrs':{'fill':'none','viewBox':_0x183e64(0x42b),'width':_0x183e64(0x289),'height':_0x183e64(0x289)},'children':[{'tag':'g','attrs':{'clipPath':_0x183e64(0x323)},'children':[{'tag':_0x183e64(0x1b6),'attrs':{'stroke':_0x183e64(0x2ad),'d':_0x183e64(0x253),'strokeLinecap':_0x183e64(0x274),'strokeLinejoin':_0x183e64(0x274),'strokeWidth':1.2}}]},{'tag':_0x183e64(0x1f9),'attrs':{},'children':[{'tag':_0x183e64(0x222),'attrs':{'id':_0x183e64(0x39d)},'children':[{'tag':'path','attrs':{'fill':_0x183e64(0x1ca),'d':_0x183e64(0x30e)}}]}]}],'defIds':[_0x183e64(0x39d)]},_0x15cb34=_0x662f97[_0x183e64(0x37f)](function(_0x486ef9,_0xdc43a0){const _0x2b429c=_0x183e64;return _0x662f97[_0x2b429c(0x258)](_0x545147,Object[_0x2b429c(0x24f)]({},_0x486ef9,{'id':'off-line-single','ref':_0xdc43a0,'icon':_0x28a654}));});_0x15cb34[_0x183e64(0x41f)]=_0x183e64(0x3a6);var _0x231409={'tag':_0x183e64(0x21d),'attrs':{'fill':_0x183e64(0x279),'viewBox':_0x183e64(0x404),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x183e64(0x1b6),'attrs':{'stroke':_0x183e64(0x2ad),'d':_0x183e64(0x43c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x183e64(0x1f9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x183e64(0x337)},'children':[{'tag':_0x183e64(0x1b6),'attrs':{'fill':'#fff','d':_0x183e64(0x30e),'transform':'translate(.97)'}}]}]}],'defIds':[_0x183e64(0x337)]},_0x28e5d2=_0x662f97[_0x183e64(0x37f)](function(_0xac3faf,_0x4afa2b){const _0xae608a=_0x183e64;return _0x662f97[_0xae608a(0x258)](_0x545147,Object[_0xae608a(0x24f)]({},_0xac3faf,{'id':_0xae608a(0x1fd),'ref':_0x4afa2b,'icon':_0x231409}));});_0x28e5d2['displayName']='OnLineSingle';function _0x36eb3f(_0x3a2b92){const _0x15830d=_0x183e64;switch(_0x3a2b92){case _0x17756c['CollaborationStatus'][_0x15830d(0x354)]:return _0x15830d(0x2c2);case _0x17756c['CollaborationStatus']['CONFLICT']:return _0x15830d(0x42d);case _0x17756c['CollaborationStatus'][_0x15830d(0x401)]:return _0x15830d(0x433);case _0x17756c[_0x15830d(0x361)][_0x15830d(0x277)]:return _0x15830d(0x217);case _0x17756c[_0x15830d(0x361)][_0x15830d(0x3db)]:case _0x17756c[_0x15830d(0x361)][_0x15830d(0x1e0)]:return _0x15830d(0x245);case _0x17756c[_0x15830d(0x361)][_0x15830d(0x1f3)]:case _0x17756c[_0x15830d(0x361)][_0x15830d(0x2c8)]:return _0x15830d(0x307);}}function _0x14ac81(_0x1944ad){const _0x1c08bd=_0x183e64,{status$:_0x27271c}=_0x1944ad,_0x234637=_0x1424a2['useObservable'](_0x27271c,_0x17756c[_0x1c08bd(0x361)][_0x1c08bd(0x277)]),_0x1d09f1=_0x1424a2[_0x1c08bd(0x1e2)](_0x50a9bf[_0x1c08bd(0x33c)]),_0x193af5=_0x1424a2[_0x1c08bd(0x1e2)](_0x17756c['CollaborationSessionService']),_0x2e887d=_0x234637!==_0x17756c['CollaborationStatus'][_0x1c08bd(0x354)],_0x422f03=_0x1d09f1['t'](_0x36eb3f(_0x234637)),_0x1c6c47=_0x2e887d?_0x5df655[_0x1c08bd(0x31e)](_0x28e5d2,{}):_0x5df655[_0x1c08bd(0x31e)](_0x15cb34,{}),_0x382051=_0x662f97[_0x1c08bd(0x2b7)](()=>{const _0x3cf2b7=_0x1c08bd;_0x2e887d||_0x193af5[_0x3cf2b7(0x428)]();},[_0x2e887d,_0x193af5]);function _0x23633d(){const _0x285af2=_0x1c08bd;return _0x5df655['jsxs'](_0x285af2(0x2f0),{'className':'univer-flex\x20univer-items-center','onClick':_0x382051,'children':[_0x5df655[_0x285af2(0x31e)](_0x285af2(0x2f0),{'className':_0x20d413[_0x285af2(0x34c)](_0x285af2(0x2d2),_0x2e887d?_0x285af2(0x32d):_0x285af2(0x380)),'children':_0x1c6c47}),_0x5df655[_0x285af2(0x31e)](_0x285af2(0x2f0),{'className':_0x285af2(0x340),'children':_0x422f03})]});}return _0x2e887d?_0x23633d():_0x5df655[_0x1c08bd(0x31e)](_0x20d413[_0x1c08bd(0x27e)],{'title':_0x1d09f1['t']('collab-client.tooltip.reconnect'),'children':_0x23633d()});}var _0x36b76c=Object['getOwnPropertyDescriptor'],_0x457037=(_0x1cbe40,_0x39ed1c,_0x5dd955,_0x46e156)=>{for(var _0x1beee7=_0x46e156>0x1?void 0x0:_0x46e156?_0x36b76c(_0x39ed1c,_0x5dd955):_0x39ed1c,_0x7ca46f=_0x1cbe40['length']-0x1,_0x25f440;_0x7ca46f>=0x0;_0x7ca46f--)(_0x25f440=_0x1cbe40[_0x7ca46f])&&(_0x1beee7=_0x25f440(_0x1beee7)||_0x1beee7);return _0x1beee7;},_0x238c38=(_0x47c96b,_0x16a373)=>(_0x3a7eca,_0x5c4d67)=>_0x16a373(_0x3a7eca,_0x5c4d67,_0x47c96b);_0x46927c[_0x183e64(0x1b5)]=class extends _0x50a9bf[_0x183e64(0x400)]{constructor(_0x5a8285,_0x33e648,_0x280245,_0x2318f2){const _0x2bbf5e=_0x183e64;super(),_0x285378(this,_0x2bbf5e(0x370),new _0x13bbb4[(_0x2bbf5e(0x419))](_0x17756c[_0x2bbf5e(0x361)][_0x2bbf5e(0x277)])),(this['_univerInstanceService']=_0x5a8285,this[_0x2bbf5e(0x257)]=_0x33e648,this['_collaborationController']=_0x280245,this['_uiPartsService']=_0x2318f2,this[_0x2bbf5e(0x3e1)](),this[_0x2bbf5e(0x2a0)]());}[_0x183e64(0x2a0)](){const _0x11e495=_0x183e64;this[_0x11e495(0x212)](this['_univerInstanceService'][_0x11e495(0x33b)][_0x11e495(0x286)](_0x13bbb4[_0x11e495(0x2f9)](()=>{const _0x5c1927=_0x11e495,_0x3c86a1=this[_0x5c1927(0x2d8)][_0x5c1927(0x390)]();return _0x3c86a1?this[_0x5c1927(0x26c)][_0x5c1927(0x1f6)](_0x3c86a1[_0x5c1927(0x3d4)]()):_0x13bbb4['of'](null);}),_0x13bbb4[_0x11e495(0x2f9)](_0x5cb84e=>_0x5cb84e?_0x5cb84e['status$']:_0x13bbb4['of'](_0x17756c[_0x11e495(0x361)][_0x11e495(0x277)])))['subscribe'](_0x45dfaf=>{const _0x1147c0=_0x11e495;this['_status$'][_0x1147c0(0x221)](_0x45dfaf);}));}[_0x183e64(0x3e1)](){const _0x3c29b0=_0x183e64;this[_0x3c29b0(0x212)](this[_0x3c29b0(0x393)][_0x3c29b0(0x25d)](_0x1424a2[_0x3c29b0(0x1fe)][_0x3c29b0(0x397)],()=>_0x1424a2[_0x3c29b0(0x22b)](_0x5ca8b6({'status$':this[_0x3c29b0(0x370)][_0x3c29b0(0x391)]()}),this['_injector'])));}},_0x46927c[_0x183e64(0x1b5)]=_0x457037([_0x238c38(0x0,_0x50a9bf[_0x183e64(0x3b0)]),_0x238c38(0x1,_0x50a9bf['Inject'](_0x50a9bf[_0x183e64(0x1db)])),_0x238c38(0x2,_0x50a9bf['Inject'](_0x17756c['CollaborationController'])),_0x238c38(0x3,_0x1424a2['IUIPartsService'])],_0x46927c['DesktopCollaborationStatusDisplayController']);function _0x5ca8b6(_0x35dcb0){const {status$:_0x20ba37}=_0x35dcb0;return function(){const _0x3bf408=_0x5179;return _0x5df655[_0x3bf408(0x31e)](_0x14ac81,{'status$':_0x20ba37});};}var _0x5aeb12=Object[_0x183e64(0x233)],_0x8f6dd7=(_0x1d2da9,_0x3a5866,_0xf76682,_0x283d74)=>{for(var _0x25d832=_0x283d74>0x1?void 0x0:_0x283d74?_0x5aeb12(_0x3a5866,_0xf76682):_0x3a5866,_0x7d0f51=_0x1d2da9['length']-0x1,_0x237689;_0x7d0f51>=0x0;_0x7d0f51--)(_0x237689=_0x1d2da9[_0x7d0f51])&&(_0x25d832=_0x237689(_0x25d832)||_0x25d832);return _0x25d832;},_0x210e2e=(_0xfbd16b,_0x102a8e)=>(_0x5293cd,_0x1f6620)=>_0x102a8e(_0x5293cd,_0x1f6620,_0xfbd16b);let _0x210a39=class extends _0x50a9bf[_0x183e64(0x400)]{constructor(_0x54b87d,_0x5c1850,_0x3dd778,_0x33a317,_0x404f5d,_0x3381b4){const _0x1f8d7c=_0x183e64;super(),this['_beforeCloseService']=_0x54b87d,this[_0x1f8d7c(0x338)]=_0x5c1850,this[_0x1f8d7c(0x3af)]=_0x3dd778,this['_messageService']=_0x33a317,this[_0x1f8d7c(0x355)]=_0x404f5d,this['_localeService']=_0x3381b4,this[_0x1f8d7c(0x381)](),this[_0x1f8d7c(0x311)]();}[_0x183e64(0x381)](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1b6dc9=_0x5179;if(this[_0x1b6dc9(0x338)][_0x1b6dc9(0x34e)][_0x1b6dc9(0x350)])return this[_0x1b6dc9(0x35f)]['t'](_0x1b6dc9(0x282));}));}[_0x183e64(0x311)](){const _0x1dfe1c=_0x183e64;this[_0x1dfe1c(0x212)](this['_collaborationUIEventService'][_0x1dfe1c(0x377)][_0x1dfe1c(0x2cf)](_0x3833a8=>{const _0x2be0ce=_0x1dfe1c;_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)][_0x2be0ce(0x242)]&&this[_0x2be0ce(0x32e)][_0x2be0ce(0x25b)]({'type':_0x20d413['MessageType'][_0x2be0ce(0x2da)],'content':this[_0x2be0ce(0x35f)]['t'](_0x2be0ce(0x1f0))}),_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)][_0x2be0ce(0x2e0)]&&this[_0x2be0ce(0x32e)][_0x2be0ce(0x25b)]({'type':_0x20d413[_0x2be0ce(0x413)][_0x2be0ce(0x2da)],'content':this[_0x2be0ce(0x35f)]['t'](_0x2be0ce(0x40f))}),_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)][_0x2be0ce(0x378)]&&this[_0x2be0ce(0x355)][_0x2be0ce(0x25b)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x2be0ce(0x35f)]['t'](_0x2be0ce(0x2c6)),'type':_0x2be0ce(0x3f8),'duration':0x0}),_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)][_0x2be0ce(0x3a7)]&&this[_0x2be0ce(0x32e)][_0x2be0ce(0x25b)]({'type':_0x20d413[_0x2be0ce(0x413)][_0x2be0ce(0x2cc)],'content':this[_0x2be0ce(0x35f)]['t'](_0x2be0ce(0x40f))+'('+_0x3833a8['data']+')'}),_0x3833a8['id']===_0x17756c['CollaborationUIEventId'][_0x2be0ce(0x2ed)]&&this['_messageService']['show']({'type':_0x20d413[_0x2be0ce(0x413)][_0x2be0ce(0x2da)],'content':this[_0x2be0ce(0x35f)]['t'](_0x3833a8[_0x2be0ce(0x305)]||'')}),_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)][_0x2be0ce(0x2b2)]&&this['_messageService'][_0x2be0ce(0x25b)]({'type':_0x20d413[_0x2be0ce(0x413)][_0x2be0ce(0x2da)],'content':this[_0x2be0ce(0x35f)]['t'](_0x2be0ce(0x39f))}),_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)]['SOCKET_FAILED']&&this[_0x2be0ce(0x32e)]['show']({'type':_0x20d413[_0x2be0ce(0x413)]['Error'],'content':this[_0x2be0ce(0x35f)]['t'](_0x2be0ce(0x336))}),_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2be0ce(0x32e)][_0x2be0ce(0x25b)]({'type':_0x20d413['MessageType'][_0x2be0ce(0x2cc)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x210a39=_0x8f6dd7([_0x210e2e(0x0,_0x1424a2[_0x183e64(0x296)]),_0x210e2e(0x1,_0x17756c[_0x183e64(0x200)]),_0x210e2e(0x2,_0x50a9bf[_0x183e64(0x3a3)](_0x17756c[_0x183e64(0x1e1)])),_0x210e2e(0x3,_0x1424a2[_0x183e64(0x41c)]),_0x210e2e(0x4,_0x1424a2[_0x183e64(0x291)]),_0x210e2e(0x5,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x33c)]))],_0x210a39);const _0x155136=_0x183e64(0x422),_0x5cc2d5={},_0x345468=_0x50a9bf['createIdentifier'](_0x183e64(0x24e));var _0x488108=Object[_0x183e64(0x233)],_0x59d4fe=(_0x227c31,_0x363182,_0x5094db,_0x4f9af0)=>{for(var _0x53b91d=_0x4f9af0>0x1?void 0x0:_0x4f9af0?_0x488108(_0x363182,_0x5094db):_0x363182,_0x4f60d2=_0x227c31['length']-0x1,_0x2878d6;_0x4f60d2>=0x0;_0x4f60d2--)(_0x2878d6=_0x227c31[_0x4f60d2])&&(_0x53b91d=_0x2878d6(_0x53b91d)||_0x53b91d);return _0x53b91d;},_0x365f40=(_0x99ae36,_0x213100)=>(_0x54c93a,_0x29c28d)=>_0x213100(_0x54c93a,_0x29c28d,_0x99ae36);_0x46927c[_0x183e64(0x28b)]=class extends _0x50a9bf[_0x183e64(0x1bc)]{constructor(_0x530b95,_0x5653c3,_0x99153c,_0x1a162a,_0x481bea){const _0x81584=_0x183e64;super(),this[_0x81584(0x42a)]=_0x530b95,this[_0x81584(0x22a)]=_0x5653c3,this['_commandService']=_0x99153c,this[_0x81584(0x2f4)]=_0x1a162a,_0x481bea?_0x481bea==null||_0x481bea[_0x81584(0x2e5)]()['then'](()=>this[_0x81584(0x273)]()):(this['_logService'][_0x81584(0x2c0)](_0x81584(0x1c8),_0x81584(0x37d)),this[_0x81584(0x273)]());}async['_init'](){const _0x18507e=_0x183e64,_0x44050a=this[_0x18507e(0x42a)][_0x18507e(0x2fa)](_0x18507e(0x2ac)),_0x39c7bc=this['_urlService'][_0x18507e(0x2fa)](_0x18507e(0x1c1)),_0x59e7c2=this['_urlService'][_0x18507e(0x2fa)](_0x18507e(0x38d));if(!_0x44050a||!_0x39c7bc){this[_0x18507e(0x22a)][_0x18507e(0x2c0)](_0x18507e(0x1c8),_0x18507e(0x3aa));return;}const _0x3a9593=await this[_0x18507e(0x2f4)][_0x18507e(0x229)](_0x44050a,Number(_0x39c7bc),_0x59e7c2);_0x3a9593&&_0x3a9593 instanceof _0x50a9bf[_0x18507e(0x2a4)]&&this[_0x18507e(0x1de)](_0x3a9593);}async['_setupSubUnitSync'](_0x52ff09){const _0x3c0d28=_0x183e64;await this['_updateSubUnitFromURLParams'](_0x52ff09),_0x52ff09['activeSheet$']['pipe'](_0x13bbb4[_0x3c0d28(0x1d4)](this[_0x3c0d28(0x353)]))[_0x3c0d28(0x2cf)](_0x4cae1b=>{const _0x583df9=_0x3c0d28;_0x4cae1b&&this[_0x583df9(0x394)](_0x4cae1b);}),this[_0x3c0d28(0x42a)][_0x3c0d28(0x3f6)][_0x3c0d28(0x286)](_0x13bbb4[_0x3c0d28(0x1d4)](this[_0x3c0d28(0x353)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x52ff09));}[_0x183e64(0x394)](_0x55c26a,_0x5e65d7=!0x1){const _0x585945=_0x183e64,_0x47c06a=this[_0x585945(0x42a)][_0x585945(0x2fa)](_0x585945(0x38d));_0x55c26a[_0x585945(0x3dc)]()!==_0x47c06a&&this['_urlService']['setParam'](_0x585945(0x38d),_0x55c26a[_0x585945(0x3dc)](),_0x5e65d7);}async[_0x183e64(0x23d)](_0x58b17e){const _0x260a6e=_0x183e64;var _0x1564d7;const _0x506438=this[_0x260a6e(0x42a)][_0x260a6e(0x2fa)]('subunit');if(!_0x506438||!_0x58b17e[_0x260a6e(0x295)](_0x506438)){const _0x27a8c1=_0x58b17e[_0x260a6e(0x3d9)]()[0x0],_0x5bb43a=_0x58b17e[_0x260a6e(0x295)](_0x27a8c1);if(!_0x5bb43a)return;this['_updateURLWithCurrentState'](_0x5bb43a,!0x0),await this[_0x260a6e(0x2f7)]['executeCommand'](_0x58f3cc[_0x260a6e(0x24a)]['id'],{'unitId':_0x58b17e[_0x260a6e(0x3d4)](),'subUnitId':_0x27a8c1});return;}((_0x1564d7=_0x58b17e[_0x260a6e(0x29e)]())==null?void 0x0:_0x1564d7[_0x260a6e(0x3dc)]())!==_0x506438&&await this[_0x260a6e(0x2f7)][_0x260a6e(0x2ce)](_0x58f3cc[_0x260a6e(0x24a)]['id'],{'unitId':_0x58b17e[_0x260a6e(0x3d4)](),'subUnitId':_0x506438});}},_0x46927c['CollaborationDataLoaderController']=_0x59d4fe([_0x365f40(0x0,_0x345468),_0x365f40(0x1,_0x50a9bf[_0x183e64(0x1bb)]),_0x365f40(0x2,_0x50a9bf['ICommandService']),_0x365f40(0x3,_0x50a9bf[_0x183e64(0x3a3)](_0x17756c[_0x183e64(0x28f)])),_0x365f40(0x4,_0x50a9bf[_0x183e64(0x26a)](_0x5cc52c[_0x183e64(0x3d3)]))],_0x46927c[_0x183e64(0x28b)]);var _0x2c393a=Object[_0x183e64(0x233)],_0x232883=(_0x83028a,_0x46d9e9,_0x512ad1,_0x16f3a3)=>{const _0x2ae2a9=_0x183e64;for(var _0x480fa7=_0x16f3a3>0x1?void 0x0:_0x16f3a3?_0x2c393a(_0x46d9e9,_0x512ad1):_0x46d9e9,_0x59bea6=_0x83028a[_0x2ae2a9(0x30f)]-0x1,_0x409b5f;_0x59bea6>=0x0;_0x59bea6--)(_0x409b5f=_0x83028a[_0x59bea6])&&(_0x480fa7=_0x409b5f(_0x480fa7)||_0x480fa7);return _0x480fa7;},_0x513441=(_0x6edcba,_0xa5c961)=>(_0x145204,_0x3443a4)=>_0xa5c961(_0x145204,_0x3443a4,_0x6edcba);let _0x21a9d9=class{constructor(_0x592e8b,_0x31a760,_0xf0f24a){const _0x1e8059=_0x183e64;this[_0x1e8059(0x257)]=_0x592e8b,this['_transformService']=_0x31a760,this[_0x1e8059(0x3d5)]=_0xf0f24a;}[_0x183e64(0x20a)](_0xd65012){const _0xc9491a=_0x183e64;this[_0xc9491a(0x284)](_0xd65012),this[_0xc9491a(0x3c3)](_0xd65012);}[_0x183e64(0x420)](_0xfa91b4){const _0x29f1ab=_0x183e64,{unitID:_0x211bb1}=_0xfa91b4,_0x53984b=this[_0x29f1ab(0x3d5)]['getRenderById'](_0x211bb1)[_0x29f1ab(0x31f)](_0x5af227[_0x29f1ab(0x334)]),{redoCache:_0x5d798d}=_0x53984b[_0x29f1ab(0x2f6)]();if(_0x5d798d[_0x29f1ab(0x30f)]===0x0)return _0xfa91b4;let _0x5021d6=_0x50a9bf[_0x29f1ab(0x429)]['deepClone'](_0xfa91b4[_0x29f1ab(0x310)][0x0]);for(let _0x21d960=0x0;_0x21d960<_0x5d798d['length'];_0x21d960++){const _0x521433={'id':_0x29f1ab(0x2c9),'params':{..._0x5d798d[_0x21d960]}},_0x27d5e4=this['_transformService']['transformMutation'](_0x5021d6,_0x521433,!0x1);if(_0x1f9909[_0x29f1ab(0x32b)](_0x27d5e4))throw _0x27d5e4[_0x29f1ab(0x3f8)];_0x5021d6=_0x27d5e4[_0x29f1ab(0x2fc)];}return{..._0x50a9bf[_0x29f1ab(0x429)][_0x29f1ab(0x3a9)](_0xfa91b4),'mutations':[_0x5021d6]};}[_0x183e64(0x284)](_0x431387){const _0x17227c=_0x183e64,{unitID:_0x86c96f}=_0x431387,_0x27ca0d=this['_renderManagerService'][_0x17227c(0x230)](_0x86c96f)['with'](_0x5af227[_0x17227c(0x334)]),{undoCache:_0x2ddb0f,redoCache:_0x2007f4}=_0x27ca0d[_0x17227c(0x2f6)]();if(_0x2ddb0f[_0x17227c(0x30f)]===0x0||_0x2007f4['length']===0x0)return;const _0x981701=[],_0x12d093=[];let _0x4c1988=_0x50a9bf[_0x17227c(0x429)]['deepClone'](_0x431387['mutations'][0x0]),_0x28424f=_0x50a9bf[_0x17227c(0x429)][_0x17227c(0x3a9)](_0x431387[_0x17227c(0x310)][0x0]);for(let _0x14a323=_0x2ddb0f[_0x17227c(0x30f)]-0x1;_0x14a323>=0x0;_0x14a323--){const _0x2a9df2={'id':_0x17227c(0x2c9),'params':{..._0x2ddb0f[_0x14a323]}},_0x5bc83c={'id':'doc.mutation.rich-text-editing','params':{..._0x2007f4[_0x14a323]}},_0x548a68=this['_transformService'][_0x17227c(0x205)](_0x4c1988,_0x2a9df2,!0x1),_0x58cb62=this[_0x17227c(0x206)][_0x17227c(0x205)](_0x28424f,_0x5bc83c,!0x1);if(_0x1f9909[_0x17227c(0x32b)](_0x548a68))throw _0x548a68[_0x17227c(0x3f8)];if(_0x1f9909[_0x17227c(0x32b)](_0x58cb62))throw _0x58cb62[_0x17227c(0x3f8)];_0x981701[_0x17227c(0x1ea)](_0x548a68[_0x17227c(0x268)][_0x17227c(0x231)]),_0x12d093['unshift'](_0x58cb62['m2Prime'][_0x17227c(0x231)]),_0x4c1988=_0x548a68['m1Prime'],_0x28424f=_0x58cb62[_0x17227c(0x2fc)];}_0x27ca0d[_0x17227c(0x2b8)]({'undoCache':_0x981701,'redoCache':_0x12d093});}['_transformPreviousActiveRange'](_0x3edc98){const _0x1772fa=_0x183e64,{unitID:_0x44973f}=_0x3edc98,_0x229839=this[_0x1772fa(0x3d5)][_0x1772fa(0x230)](_0x44973f)[_0x1772fa(0x31f)](_0x5af227[_0x1772fa(0x334)]),_0x3c6896=_0x229839[_0x1772fa(0x3f4)]();if(_0x3c6896==null)return;const _0x2e2bce=[{'id':_0x1772fa(0x2c9),'params':{'unitId':_0x3edc98[_0x1772fa(0x434)],'actions':null,'textRanges':[_0x3c6896]}}],_0x60b056=this[_0x1772fa(0x206)][_0x1772fa(0x1be)](_0x3edc98,_0x2e2bce);if(!_0x1f9909[_0x1772fa(0x2ea)](_0x60b056))throw _0x60b056[_0x1772fa(0x3f8)];const _0x485a37=_0x60b056[_0x1772fa(0x268)][0x0]['params'][_0x1772fa(0x31a)];Array['isArray'](_0x485a37)&&_0x485a37[_0x1772fa(0x30f)]&&_0x229839[_0x1772fa(0x3d1)](_0x485a37[0x0]);}};_0x21a9d9=_0x232883([_0x513441(0x0,_0x50a9bf['Inject'](_0x50a9bf[_0x183e64(0x1db)])),_0x513441(0x1,_0x1f9909[_0x183e64(0x3b2)]),_0x513441(0x2,_0x31c6c6[_0x183e64(0x232)])],_0x21a9d9);var _0x577291=Object[_0x183e64(0x233)],_0x293dca=(_0xd5a74c,_0x3c1177,_0x3084ec,_0x332e2c)=>{for(var _0x112173=_0x332e2c>0x1?void 0x0:_0x332e2c?_0x577291(_0x3c1177,_0x3084ec):_0x3c1177,_0x3ff0dd=_0xd5a74c['length']-0x1,_0x39dd95;_0x3ff0dd>=0x0;_0x3ff0dd--)(_0x39dd95=_0xd5a74c[_0x3ff0dd])&&(_0x112173=_0x39dd95(_0x112173)||_0x112173);return _0x112173;},_0x45ce26=(_0x453737,_0x3636e6)=>(_0x35860c,_0x4acc3f)=>_0x3636e6(_0x35860c,_0x4acc3f,_0x453737);let _0x31cda2=class{constructor(_0x4e6d5c,_0x3905a4,_0x2aa7d8){const _0x37cb2d=_0x183e64;this['_injector']=_0x4e6d5c,this[_0x37cb2d(0x206)]=_0x3905a4,this['_docStateChangeManagerService']=_0x2aa7d8;}[_0x183e64(0x218)](_0x4693f3){const _0x109d7d=_0x183e64;this[_0x109d7d(0x3cc)](_0x4693f3);}[_0x183e64(0x420)](_0x2d7b28){const _0x45efc4=_0x183e64,{unitID:_0x1b71d8}=_0x2d7b28,{collaboration:_0x42ee1a}=this[_0x45efc4(0x3f1)][_0x45efc4(0x398)](_0x1b71d8);if(_0x42ee1a['length']===0x0)return _0x2d7b28;let _0x1707e3=_0x50a9bf[_0x45efc4(0x429)][_0x45efc4(0x3a9)](_0x2d7b28[_0x45efc4(0x310)][0x0]);for(let _0x38e68e=0x0;_0x38e68e<_0x42ee1a[_0x45efc4(0x30f)];_0x38e68e++){const _0x23bcde={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x42ee1a[_0x38e68e]['unitId'],..._0x42ee1a[_0x38e68e][_0x45efc4(0x3ed)]}},_0x46cae7=this[_0x45efc4(0x206)][_0x45efc4(0x205)](_0x1707e3,_0x23bcde,!0x1);if(_0x1f9909[_0x45efc4(0x32b)](_0x46cae7))throw _0x46cae7['error'];_0x1707e3=_0x46cae7['m1Prime'];}return{..._0x50a9bf[_0x45efc4(0x429)][_0x45efc4(0x3a9)](_0x2d7b28),'mutations':[_0x1707e3]};}[_0x183e64(0x3cc)](_0x1715ac){const _0x4817ef=_0x183e64,{unitID:_0x19a672}=_0x1715ac,{history:_0x10c715,collaboration:_0x5330ee}=this[_0x4817ef(0x3f1)][_0x4817ef(0x398)](_0x19a672);if(_0x10c715[_0x4817ef(0x30f)]===0x0&&_0x5330ee['length']===0x0)return;const _0x2fddcd=[],_0x36c36d=[];let _0xba418c=_0x50a9bf[_0x4817ef(0x429)][_0x4817ef(0x3a9)](_0x1715ac[_0x4817ef(0x310)][0x0]),_0x47551c=_0x50a9bf[_0x4817ef(0x429)][_0x4817ef(0x3a9)](_0x1715ac[_0x4817ef(0x310)][0x0]);for(let _0x11de5f=_0x10c715[_0x4817ef(0x30f)]-0x1;_0x11de5f>=0x0;_0x11de5f--){const _0x4309bf={'id':_0x4817ef(0x2c9),'params':{'unitId':_0x10c715[_0x11de5f][_0x4817ef(0x290)],..._0x10c715[_0x11de5f]['undoState']}},_0x4b5653={'id':_0x4817ef(0x2c9),'params':{'unitId':_0x10c715[_0x11de5f][_0x4817ef(0x290)],..._0x10c715[_0x11de5f][_0x4817ef(0x3ed)]}},_0x32fd2e=this[_0x4817ef(0x206)][_0x4817ef(0x205)](_0xba418c,_0x4309bf,!0x1),_0x9b0926=this['_transformService'][_0x4817ef(0x205)](_0x47551c,_0x4b5653,!0x1);if(_0x1f9909[_0x4817ef(0x32b)](_0x32fd2e))throw _0x32fd2e['error'];if(_0x1f9909[_0x4817ef(0x32b)](_0x9b0926))throw _0x9b0926[_0x4817ef(0x3f8)];_0x2fddcd[_0x4817ef(0x1ea)]({..._0x10c715[_0x11de5f],'undoState':_0x32fd2e[_0x4817ef(0x268)][_0x4817ef(0x231)],'redoState':_0x9b0926[_0x4817ef(0x268)]['params']}),_0xba418c=_0x32fd2e[_0x4817ef(0x2fc)],_0x47551c=_0x9b0926[_0x4817ef(0x2fc)];}_0xba418c=_0x50a9bf[_0x4817ef(0x429)][_0x4817ef(0x3a9)](_0x1715ac[_0x4817ef(0x310)][0x0]),_0x47551c=_0x50a9bf[_0x4817ef(0x429)]['deepClone'](_0x1715ac[_0x4817ef(0x310)][0x0]);for(let _0xb24ca8=_0x5330ee[_0x4817ef(0x30f)]-0x1;_0xb24ca8>=0x0;_0xb24ca8--){const _0x31441d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5330ee[_0xb24ca8][_0x4817ef(0x290)],..._0x5330ee[_0xb24ca8]['undoState']}},_0x518ff4={'id':_0x4817ef(0x2c9),'params':{'unitId':_0x5330ee[_0xb24ca8][_0x4817ef(0x290)],..._0x5330ee[_0xb24ca8][_0x4817ef(0x3ed)]}},_0x21c9c1=this[_0x4817ef(0x206)][_0x4817ef(0x205)](_0xba418c,_0x31441d,!0x1),_0x410b4f=this[_0x4817ef(0x206)]['transformMutation'](_0x47551c,_0x518ff4,!0x1);if(_0x1f9909[_0x4817ef(0x32b)](_0x21c9c1))throw _0x21c9c1[_0x4817ef(0x3f8)];if(_0x1f9909[_0x4817ef(0x32b)](_0x410b4f))throw _0x410b4f[_0x4817ef(0x3f8)];_0x36c36d[_0x4817ef(0x1ea)]({..._0x5330ee[_0xb24ca8],'undoState':_0x21c9c1[_0x4817ef(0x268)]['params'],'redoState':_0x410b4f[_0x4817ef(0x268)][_0x4817ef(0x231)]}),_0xba418c=_0x21c9c1[_0x4817ef(0x2fc)],_0x47551c=_0x410b4f['m1Prime'];}this['_docStateChangeManagerService'][_0x4817ef(0x266)](_0x19a672,{'history':_0x2fddcd,'collaboration':_0x36c36d});}};_0x31cda2=_0x293dca([_0x45ce26(0x0,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x1db)])),_0x45ce26(0x1,_0x1f9909[_0x183e64(0x3b2)]),_0x45ce26(0x2,_0x50a9bf[_0x183e64(0x3a3)](_0x5af227[_0x183e64(0x1cf)]))],_0x31cda2);var _0x148f12=Object[_0x183e64(0x233)],_0x167b87=(_0xcc357f,_0x275232,_0x1264b8,_0x270b63)=>{const _0x2d282e=_0x183e64;for(var _0x51d51a=_0x270b63>0x1?void 0x0:_0x270b63?_0x148f12(_0x275232,_0x1264b8):_0x275232,_0xd14a8b=_0xcc357f[_0x2d282e(0x30f)]-0x1,_0x4b2997;_0xd14a8b>=0x0;_0xd14a8b--)(_0x4b2997=_0xcc357f[_0xd14a8b])&&(_0x51d51a=_0x4b2997(_0x51d51a)||_0x51d51a);return _0x51d51a;},_0xc033d9=(_0x487a18,_0x4a03d8)=>(_0x2e3648,_0x5aaba1)=>_0x4a03d8(_0x2e3648,_0x5aaba1,_0x487a18);let _0x25fdc2=class{constructor(_0x4f5417,_0x2a934e){const _0x58849b=_0x183e64;this[_0x58849b(0x257)]=_0x4f5417,this[_0x58849b(0x206)]=_0x2a934e;}[_0x183e64(0x312)](_0x40df06){const _0x3c808a=_0x183e64;var _0x3313f6;const _0x432b68=this[_0x3c808a(0x257)][_0x3c808a(0x33e)](_0x41648c[_0x3c808a(0x425)]),_0x368b5e=(_0x3313f6=_0x432b68[_0x3c808a(0x214)]())!=null?_0x3313f6:[];if(_0x368b5e[_0x3c808a(0x30f)]===0x0)return;const _0xfd0dcf=_0x40df06[_0x3c808a(0x434)],_0xd4ea05=[{'id':_0x3c808a(0x2c9),'params':{'unitId':_0xfd0dcf,'actions':null,'textRanges':_0x368b5e}}],_0xfaeb8b=this[_0x3c808a(0x206)][_0x3c808a(0x1be)](_0x40df06,_0xd4ea05);if(!_0x1f9909[_0x3c808a(0x2ea)](_0xfaeb8b))throw _0xfaeb8b[_0x3c808a(0x3f8)];const _0x52837d=_0xfaeb8b['m2Prime'][0x0][_0x3c808a(0x231)]['textRanges'];Array[_0x3c808a(0x1ef)](_0x52837d)&&_0x52837d[_0x3c808a(0x30f)]&&_0x432b68['replaceDocRanges'](_0x52837d,{'unitId':_0xfd0dcf,'subUnitId':_0xfd0dcf},!0x1);}};_0x25fdc2=_0x167b87([_0xc033d9(0x0,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x1db)])),_0xc033d9(0x1,_0x1f9909[_0x183e64(0x3b2)])],_0x25fdc2);var _0x13a997=Object['getOwnPropertyDescriptor'],_0x3eda09=(_0x474616,_0x31b8f0,_0x465ccd,_0x1dffc8)=>{const _0x235b09=_0x183e64;for(var _0x3e6ec3=_0x1dffc8>0x1?void 0x0:_0x1dffc8?_0x13a997(_0x31b8f0,_0x465ccd):_0x31b8f0,_0x1e1574=_0x474616[_0x235b09(0x30f)]-0x1,_0x5669aa;_0x1e1574>=0x0;_0x1e1574--)(_0x5669aa=_0x474616[_0x1e1574])&&(_0x3e6ec3=_0x5669aa(_0x3e6ec3)||_0x3e6ec3);return _0x3e6ec3;},_0x12bab7=(_0x5efa55,_0x5d27a6)=>(_0x381813,_0x117c8f)=>_0x5d27a6(_0x381813,_0x117c8f,_0x5efa55);let _0x3308a2=class extends _0x50a9bf['Disposable']{constructor(_0x5a9a22,_0x3f88ad,_0x506522,_0x24538d,_0xf8ab0d,_0x151265,_0x401659,_0x576886){const _0x522405=_0x183e64;super(),_0x285378(this,'_status$',new _0x13bbb4['BehaviorSubject'](_0x17756c[_0x522405(0x361)][_0x522405(0x277)])),(this[_0x522405(0x3f1)]=_0x5a9a22,this['_collaborationController']=_0x3f88ad,this[_0x522405(0x39c)]=_0x506522,this['_docTransformStateCacheService']=_0x24538d,this['_docTransformSelectionsService']=_0xf8ab0d,this[_0x522405(0x38b)]=_0x151265,this[_0x522405(0x32e)]=_0x401659,this[_0x522405(0x35f)]=_0x576886,this[_0x522405(0x27a)]());}[_0x183e64(0x27a)](){const _0x137ea8=_0x183e64;this[_0x137ea8(0x212)](this['_collaborationController']['entityInit$'][_0x137ea8(0x2cf)](_0x54b3=>{const _0x3596e2=_0x137ea8,_0x234d52=this['_docStateChangeManagerService'][_0x3596e2(0x272)][_0x3596e2(0x2cf)](_0x415e8c=>{const _0x8c790c=_0x3596e2;if(_0x415e8c==null)return;const {unitId:_0x220e4c,redoState:_0x450a67,commandId:_0x4338d7}=_0x415e8c;if(_0x220e4c!==_0x54b3[_0x8c790c(0x434)])return;const _0x5b25d5={'id':_0x4338d7,'type':_0x50a9bf[_0x8c790c(0x344)]['MUTATION'],'params':{'unitId':_0x220e4c,'actions':_0x450a67[_0x8c790c(0x2b1)],'textRanges':null}};_0x54b3[_0x8c790c(0x3ac)](_0x5b25d5);});if(_0x54b3['disposeWithMe'](_0x234d52),_0x54b3 instanceof _0x17756c[_0x3596e2(0x3f7)]){const _0x513682={'onTransformIME':_0xbdd0a5=>this[_0x3596e2(0x39c)][_0x3596e2(0x20a)](_0xbdd0a5),'onTransformState':_0x4c1c63=>this[_0x3596e2(0x1ec)]['transformStateCache'](_0x4c1c63),'onTransformSelections':_0x1fc31c=>this[_0x3596e2(0x357)][_0x3596e2(0x312)](_0x1fc31c),'onSyncEditingCollabCursor':_0x3d6877=>this[_0x3596e2(0x38b)][_0x3596e2(0x2e6)](_0x3d6877),'onTransformRemoteChangesetByIMECache':_0x3596e3=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3596e3),'onTransformRemoteChangesetByStateCache':_0x1ae3a3=>this[_0x3596e2(0x1ec)][_0x3596e2(0x420)](_0x1ae3a3)};_0x54b3['addHandlerCallback'](_0x513682);}}));}};_0x3308a2=_0x3eda09([_0x12bab7(0x0,_0x50a9bf['Inject'](_0x5af227[_0x183e64(0x1cf)])),_0x12bab7(0x1,_0x50a9bf[_0x183e64(0x3a3)](_0x17756c['CollaborationController'])),_0x12bab7(0x2,_0x50a9bf['Inject'](_0x21a9d9)),_0x12bab7(0x3,_0x50a9bf[_0x183e64(0x3a3)](_0x31cda2)),_0x12bab7(0x4,_0x50a9bf[_0x183e64(0x3a3)](_0x25fdc2)),_0x12bab7(0x5,_0x50a9bf[_0x183e64(0x3a3)](_0x2381af)),_0x12bab7(0x6,_0x1424a2[_0x183e64(0x41c)]),_0x12bab7(0x7,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf['LocaleService']))],_0x3308a2);var _0x5d2089=Object[_0x183e64(0x233)],_0xb20c23=(_0x394593,_0x255dbf,_0x3d95f3,_0x5bb214)=>{const _0x5b206a=_0x183e64;for(var _0x478218=_0x5bb214>0x1?void 0x0:_0x5bb214?_0x5d2089(_0x255dbf,_0x3d95f3):_0x255dbf,_0x48d15e=_0x394593[_0x5b206a(0x30f)]-0x1,_0x1278fd;_0x48d15e>=0x0;_0x48d15e--)(_0x1278fd=_0x394593[_0x48d15e])&&(_0x478218=_0x1278fd(_0x478218)||_0x478218);return _0x478218;},_0x500e20=(_0x2eaac3,_0x25cb46)=>(_0x42eeac,_0x4e6752)=>_0x25cb46(_0x42eeac,_0x4e6752,_0x2eaac3);let _0x855410=class extends _0x50a9bf['Disposable']{constructor(_0x3dfe8b,_0x1df6da,_0x1d277b){const _0x413099=_0x183e64;super(),_0x285378(this,_0x413099(0x2ca),new Map()),_0x285378(this,_0x413099(0x288),new Map()),_0x285378(this,'_disabled',!0x1),(this[_0x413099(0x2b6)]=_0x3dfe8b,this[_0x413099(0x3da)]=_0x1df6da,this[_0x413099(0x22f)]=_0x1d277b);}[_0x183e64(0x30c)](){const _0x4df319=_0x183e64;this[_0x4df319(0x2d6)]=!0x0;}['enableLocalCache'](){const _0xc1de45=_0x183e64;this[_0xc1de45(0x2d6)]=!0x1;}get[_0x183e64(0x34e)](){const _0x147ec2=_0x183e64;return this[_0x147ec2(0x288)];}[_0x183e64(0x2a9)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x183e64(0x3ad)](_0x517417){const _0x5a25c4=_0x183e64;return this['_disabled']?null:this[_0x5a25c4(0x3da)]['getItem'](_0x17756c[_0x5a25c4(0x1e5)](_0x517417));}async[_0x183e64(0x27c)](_0x519161,_0x427f76){const _0x34cfe2=_0x183e64;return!!this[_0x34cfe2(0x3da)]['setItem'](_0x519161,_0x427f76);}[_0x183e64(0x21e)](_0x55dec0,_0x1333a2,_0x2ff0cf,_0xa6058e){const _0x457e81=_0x183e64,_0xe6795c=this['_revisionService']['getCurrentRevOfUnit'](_0x55dec0);this[_0x457e81(0x2ca)]['set'](_0x55dec0,{'unitID':_0x55dec0,'type':_0x1333a2,'awaitingChangeset':_0x2ff0cf,'mutations':_0xa6058e,'rev':_0xe6795c}),this['_saveTaskMap']['has'](_0x55dec0)||this['_scheduleSaving'](_0x55dec0);}[_0x183e64(0x441)](_0x137df2){const _0x5d382e=_0x183e64,_0x3b32aa=this[_0x5d382e(0x1c6)]();_0x3b32aa===0x0?this[_0x5d382e(0x339)](_0x137df2):this[_0x5d382e(0x288)]['set'](_0x137df2,setTimeout(()=>this['_saveCache'](_0x137df2),_0x3b32aa));}[_0x183e64(0x1c6)](){const _0x27c7c9=_0x183e64;var _0x1c32ad;return(_0x1c32ad=this[_0x27c7c9(0x2b6)][_0x27c7c9(0x2ab)](_0x17756c[_0x27c7c9(0x1df)]))!=null?_0x1c32ad:_0x17756c[_0x27c7c9(0x373)];}[_0x183e64(0x339)](_0x4b222e){const _0x3cb1b4=_0x183e64,_0x5c23f4=this['_saveTaskMap'][_0x3cb1b4(0x33e)](_0x4b222e);return _0x5c23f4!==void 0x0&&window[_0x3cb1b4(0x2a6)](_0x5c23f4),this[_0x3cb1b4(0x3da)][_0x3cb1b4(0x1b4)](_0x17756c['getLocalCacheKey'](_0x4b222e),this[_0x3cb1b4(0x2ca)]['get'](_0x4b222e))[_0x3cb1b4(0x345)](()=>this[_0x3cb1b4(0x288)][_0x3cb1b4(0x20e)](_0x4b222e));}async['exhaustSavingTask'](){const _0x4ef9af=[];this['_saveTaskMap']['forEach']((_0x2cec88,_0x7bce10)=>{const _0x598aa2=_0x5179;window['clearTimeout'](_0x2cec88),_0x4ef9af[_0x598aa2(0x379)](this[_0x598aa2(0x339)](_0x7bce10)[_0x598aa2(0x345)](()=>{const _0x572894=_0x598aa2;this[_0x572894(0x288)][_0x572894(0x20e)](_0x7bce10);}));}),await Promise['all'](_0x4ef9af);}};_0x855410=_0xb20c23([_0x500e20(0x0,_0x50a9bf[_0x183e64(0x2d7)]),_0x500e20(0x1,_0x50a9bf[_0x183e64(0x2c4)]),_0x500e20(0x2,_0x50a9bf['Inject'](_0x1f9909['RevisionService']))],_0x855410);class _0x510b3d extends _0x50a9bf[_0x183e64(0x1bc)]{constructor(){const _0x429f09=_0x183e64;super(),_0x285378(this,_0x429f09(0x3f6)),this['urlChange$']=_0x13bbb4[_0x429f09(0x2e4)](window,_0x429f09(0x3e7))[_0x429f09(0x286)](_0x13bbb4[_0x429f09(0x1d4)](this['dispose$']),_0x13bbb4[_0x429f09(0x243)](0x1),_0x13bbb4['mapTo'](void 0x0));}[_0x183e64(0x319)](_0x5f25de,_0x4020ed,_0x38f84f=!0x1){const _0x5a23d9=_0x183e64,_0x172af6=new URL(window[_0x5a23d9(0x22c)][_0x5a23d9(0x325)]);_0x172af6[_0x5a23d9(0x41d)][_0x5a23d9(0x35e)](_0x5f25de,_0x4020ed),_0x38f84f?window[_0x5a23d9(0x2ef)][_0x5a23d9(0x1ee)]('','',_0x172af6[_0x5a23d9(0x326)]()):window['history'][_0x5a23d9(0x362)]('','',_0x172af6[_0x5a23d9(0x326)]());}[_0x183e64(0x375)](_0x683aef,_0x4672a0=!0x1){const _0x3a0496=_0x183e64,_0x1fe521=new URL(window[_0x3a0496(0x22c)]['href']);_0x1fe521[_0x3a0496(0x41d)]['delete'](_0x683aef),_0x4672a0?window['history'][_0x3a0496(0x1ee)]('','',_0x1fe521[_0x3a0496(0x326)]()):window[_0x3a0496(0x2ef)]['pushState']('','',_0x1fe521['toString']());}['getParam'](_0x914f4c){const _0x379df3=_0x183e64;var _0x49c478;return(_0x49c478=new URL(window[_0x379df3(0x22c)]['href'])['searchParams']['get'](_0x914f4c))!=null?_0x49c478:void 0x0;}}var _0x2b64a0=Object[_0x183e64(0x278)],_0x2f5ed4=Object[_0x183e64(0x233)],_0x462693=(_0x337d9b,_0x13d667,_0x13d24f)=>_0x13d667 in _0x337d9b?_0x2b64a0(_0x337d9b,_0x13d667,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13d24f}):_0x337d9b[_0x13d667]=_0x13d24f,_0x446fe1=(_0x3a25bb,_0x147b0c,_0x19d24b,_0x4bcbd2)=>{const _0x56a3b8=_0x183e64;for(var _0x4b9df5=_0x4bcbd2>0x1?void 0x0:_0x4bcbd2?_0x2f5ed4(_0x147b0c,_0x19d24b):_0x147b0c,_0x5bec5c=_0x3a25bb[_0x56a3b8(0x30f)]-0x1,_0x1dfe44;_0x5bec5c>=0x0;_0x5bec5c--)(_0x1dfe44=_0x3a25bb[_0x5bec5c])&&(_0x4b9df5=_0x1dfe44(_0x4b9df5)||_0x4b9df5);return _0x4b9df5;},_0x1e08d5=(_0x4c7fcd,_0x4f8e67)=>(_0x576826,_0xc66a87)=>_0x4f8e67(_0x576826,_0xc66a87,_0x4c7fcd),_0x1f7f08=(_0xc2b6d,_0x560948,_0x597b57)=>_0x462693(_0xc2b6d,_0x560948+'',_0x597b57);const _0x4a1693=_0x183e64(0x3e3);_0x46927c[_0x183e64(0x1f7)]=class extends _0x50a9bf['Plugin']{constructor(_0x30266d=_0x5cc2d5,_0x3941c3,_0x424eb2,_0x1b7899){const _0x3628c9=_0x183e64;super(),this[_0x3628c9(0x24c)]=_0x30266d,this[_0x3628c9(0x3d5)]=_0x3941c3,this[_0x3628c9(0x257)]=_0x424eb2,this[_0x3628c9(0x2b6)]=_0x1b7899;const {..._0x2244a5}=_0x50a9bf[_0x3628c9(0x3a1)]({},_0x5cc2d5,this['_config']);this[_0x3628c9(0x2b6)][_0x3628c9(0x2bf)](_0x155136,_0x2244a5);}[_0x183e64(0x298)](){const _0x100325=_0x183e64;this['_registerDependencies'](),this[_0x100325(0x211)]();}[_0x183e64(0x26b)](){const _0x5892a2=_0x183e64;this[_0x5892a2(0x280)]();}[_0x183e64(0x438)](){const _0x4a1d2c=_0x183e64;var _0x19adf1;const _0x343888=[[_0x5ead00],[_0x25fdc2],[_0x21a9d9],[_0x31cda2],[_0x2381af],[_0x345468,{'useClass':_0x510b3d}],[_0x5f50a3['ISocketService'],{'useClass':_0x5f50a3[_0x4a1d2c(0x347)]}],[_0x17756c[_0x4a1d2c(0x200)],{'useClass':_0x855410}],[_0x46927c['DesktopCollaborationStatusDisplayController']],[_0x3308a2],[_0x210a39],[_0x1cd7b4],[_0x283ca8],[_0x46927c[_0x4a1d2c(0x28b)]]];_0x50a9bf['registerDependencies'](this[_0x4a1d2c(0x257)],_0x50a9bf[_0x4a1d2c(0x3cf)](_0x343888,(_0x19adf1=this[_0x4a1d2c(0x24c)])==null?void 0x0:_0x19adf1[_0x4a1d2c(0x21b)]));}[_0x183e64(0x280)](){const _0x5cb356=_0x183e64;this[_0x5cb356(0x212)](this[_0x5cb356(0x3d5)][_0x5cb356(0x343)](_0x50a9bf[_0x5cb356(0x2f2)][_0x5cb356(0x29c)],[_0x445be5])),this[_0x5cb356(0x212)](this[_0x5cb356(0x3d5)][_0x5cb356(0x343)](_0x50a9bf[_0x5cb356(0x2f2)][_0x5cb356(0x36a)],[_0x3b4b11]));}['_initDependencies'](){const _0x1bac06=_0x183e64;_0x50a9bf[_0x1bac06(0x1cb)](this[_0x1bac06(0x257)],[[_0x1cd7b4],[_0x46927c[_0x1bac06(0x1b5)]],[_0x3308a2],[_0x210a39],[_0x46927c['CollaborationDataLoaderController']]]);}},_0x1f7f08(_0x46927c['UniverCollaborationClientUIPlugin'],'pluginName',_0x4a1693),_0x46927c[_0x183e64(0x1f7)]=_0x446fe1([_0x50a9bf[_0x183e64(0x2ba)](_0x17756c[_0x183e64(0x3b5)]),_0x1e08d5(0x1,_0x31c6c6['IRenderManagerService']),_0x1e08d5(0x2,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x1db)])),_0x1e08d5(0x3,_0x50a9bf[_0x183e64(0x2d7)])],_0x46927c[_0x183e64(0x1f7)]);var _0x345b28=Object[_0x183e64(0x233)],_0x1cabc5=(_0x28be31,_0x2f300d,_0x3199f8,_0x53cdc3)=>{const _0x36bcda=_0x183e64;for(var _0x5d0148=_0x53cdc3>0x1?void 0x0:_0x53cdc3?_0x345b28(_0x2f300d,_0x3199f8):_0x2f300d,_0x42dcd6=_0x28be31[_0x36bcda(0x30f)]-0x1,_0x4b25cc;_0x42dcd6>=0x0;_0x42dcd6--)(_0x4b25cc=_0x28be31[_0x42dcd6])&&(_0x5d0148=_0x4b25cc(_0x5d0148)||_0x5d0148);return _0x5d0148;},_0x17b2ec=(_0x579cc1,_0x2ce19c)=>(_0x32dc0b,_0x54d798)=>_0x2ce19c(_0x32dc0b,_0x54d798,_0x579cc1);_0x46927c[_0x183e64(0x386)]=class extends _0x17756c['CollaborationSocketService']{constructor(_0x28d6d1,_0x4e9147,_0xdeacaa,_0x1323d6,_0x39e458){super(_0x28d6d1,_0x4e9147,_0xdeacaa,_0x1323d6,_0x39e458);}async[_0x183e64(0x2fe)](_0x5d5319){const _0x519375=_0x183e64,_0x198e89=await this[_0x519375(0x210)](),_0x3a75e7=this[_0x519375(0x21f)](_0x5d5319,_0x198e89);return this[_0x519375(0x382)](_0x3a75e7);}[_0x183e64(0x21f)](_0x4995b7,_0x280008){const _0x589ff4=_0x183e64,_0x1cf66b=typeof window>'u'?new URL(_0x4995b7):new URL(_0x4995b7,window[_0x589ff4(0x22c)][_0x589ff4(0x396)]);_0x1cf66b['searchParams'][_0x589ff4(0x35e)](_0x589ff4(0x24b),_0x280008);const _0x221d53=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x589ff4(0x22c)][_0x589ff4(0x410)]);return _0x221d53[_0x589ff4(0x33e)](_0x589ff4(0x25f))&&_0x1cf66b['searchParams'][_0x589ff4(0x35e)](_0x589ff4(0x25f),_0x221d53[_0x589ff4(0x33e)](_0x589ff4(0x25f))),_0x1cf66b['toString']();}async[_0x183e64(0x210)](){const _0x410212=_0x183e64;var _0x5d976d,_0x238fb7,_0x52936b;const _0x28a8ad=this[_0x410212(0x2b6)][_0x410212(0x2ab)](_0x17756c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x49cfd2=(_0x5d976d=_0x28a8ad==null?void 0x0:_0x28a8ad['wsSessionTicketUrl'])!=null?_0x5d976d:_0x17756c[_0x410212(0x358)];return(_0x52936b=(_0x238fb7=(await this[_0x410212(0x1bf)][_0x410212(0x33e)](_0x49cfd2,{'headers':{'Content-Type':_0x410212(0x1f1)}}))[_0x410212(0x1fc)])==null?void 0x0:_0x238fb7['ticket'])!=null?_0x52936b:'';}},_0x46927c['BrowserCollaborationSocketService']=_0x1cabc5([_0x17b2ec(0x0,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf['Injector'])),_0x17b2ec(0x1,_0x50a9bf[_0x183e64(0x3a3)](_0x5f50a3['HTTPService'])),_0x17b2ec(0x2,_0x50a9bf[_0x183e64(0x2d7)]),_0x17b2ec(0x3,_0x50a9bf[_0x183e64(0x1bb)]),_0x17b2ec(0x4,_0x1f9909['ISnapshotServerService'])],_0x46927c[_0x183e64(0x386)]);const _0x142ca7=0x7530,_0x1468b1='ACTIVE_UNIT_EVENT_CHANNEL';class _0x3d67be extends _0x50a9bf[_0x183e64(0x400)]{constructor(){const _0x3aa5f8=_0x183e64;super(),_0x285378(this,'_id',_0x50a9bf[_0x3aa5f8(0x36b)]()),_0x285378(this,_0x3aa5f8(0x29f),new Set()),_0x285378(this,_0x3aa5f8(0x389),new Map()),_0x285378(this,'_heartbeatTimer',null),_0x285378(this,_0x3aa5f8(0x43b),new Map()),_0x285378(this,_0x3aa5f8(0x23a),new Map()),this[_0x3aa5f8(0x273)]();}['dispose'](){const _0x3ef80b=_0x183e64;super[_0x3ef80b(0x2a9)](),this[_0x3ef80b(0x43b)][_0x3ef80b(0x32a)]((_0x8793f1,_0x4d9397)=>this[_0x3ef80b(0x369)](_0x4d9397)),this[_0x3ef80b(0x3a5)]&&window[_0x3ef80b(0x342)](this[_0x3ef80b(0x3a5)]);}[_0x183e64(0x3e0)](_0x454a06){const _0x53fd9c=_0x183e64;return this[_0x53fd9c(0x37c)](_0x454a06)[_0x53fd9c(0x286)](_0x13bbb4[_0x53fd9c(0x330)]());}[_0x183e64(0x2f8)](_0x525064){const _0x5514ab=_0x183e64;this[_0x5514ab(0x29f)][_0x5514ab(0x350)]===0x0&&this[_0x5514ab(0x35a)](),this[_0x5514ab(0x29f)][_0x5514ab(0x383)](_0x525064),this[_0x5514ab(0x23b)]({'type':0x0,'memberID':this[_0x5514ab(0x30a)],'unitIDs':[_0x525064],'isForwarded':!0x1});}[_0x183e64(0x3fd)](_0x4d5c8f){const _0x12bf86=_0x183e64;this[_0x12bf86(0x29f)][_0x12bf86(0x20e)](_0x4d5c8f),this[_0x12bf86(0x29f)][_0x12bf86(0x350)]===0x0&&this[_0x12bf86(0x3a5)]&&window[_0x12bf86(0x342)](this[_0x12bf86(0x3a5)]);}[_0x183e64(0x273)](){const _0x1defe7=_0x183e64;this[_0x1defe7(0x212)](_0x50a9bf['toDisposable'](_0x13bbb4[_0x1defe7(0x2e4)](window,_0x1defe7(0x39a))[_0x1defe7(0x2cf)](_0x2ccb6f=>{const _0x525ce1=_0x1defe7;if(_0x2ccb6f[_0x525ce1(0x3bf)]!==_0x1468b1||!_0x2ccb6f['newValue'])return;const _0x472f08=JSON[_0x525ce1(0x368)](_0x2ccb6f['newValue']);this['_handleEvent'](_0x472f08);}))),window[_0x1defe7(0x249)]('unload',()=>this[_0x1defe7(0x23b)]({'type':0x1,'memberID':this[_0x1defe7(0x30a)],'unitIDs':Array[_0x1defe7(0x2a8)](this[_0x1defe7(0x29f)])}));}[_0x183e64(0x328)](_0x48bd20){const _0x24e3e7=_0x183e64;switch(_0x48bd20['type']){case 0x0:this['_handleJoinEvent'](_0x48bd20);break;case 0x1:this['_handleLeaveEvent'](_0x48bd20);break;case 0x2:this[_0x24e3e7(0x259)](_0x48bd20);break;}}['_handleJoinEvent'](_0x176894){const _0x17bc66=_0x183e64,{unitIDs:_0x20d5b0,memberID:_0x2bd138,isForwarded:_0x30b248}=_0x176894;_0x20d5b0['forEach'](_0x9d89c=>{const _0x35382d=_0x5179;if(!_0x30b248&&this[_0x35382d(0x389)][_0x35382d(0x2db)](_0x9d89c)&&this['_ensureSubject'](_0x9d89c)[_0x35382d(0x221)](_0x17756c[_0x35382d(0x332)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x35382d(0x2db)](_0x9d89c)||!this[_0x35382d(0x389)][_0x35382d(0x33e)](_0x9d89c)[_0x35382d(0x2db)](_0x2bd138)){const _0x38b86d=this[_0x35382d(0x389)][_0x35382d(0x33e)](_0x9d89c)||new Set();_0x38b86d[_0x35382d(0x383)](_0x2bd138),this['_unitOnClients'][_0x35382d(0x35e)](_0x9d89c,_0x38b86d),this[_0x35382d(0x349)](_0x2bd138);}}),_0x30b248||this[_0x17bc66(0x23b)]({'type':0x0,'memberID':this[_0x17bc66(0x30a)],'unitIDs':[...this[_0x17bc66(0x29f)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2c18fb){const _0x19d163=_0x183e64;this[_0x19d163(0x369)](_0x2c18fb);const _0x52de90=window['setTimeout'](()=>{const _0x551244=_0x19d163;this[_0x551244(0x389)][_0x551244(0x32a)](_0x31241a=>{_0x31241a['delete'](_0x2c18fb);});},_0x142ca7*0x2);this[_0x19d163(0x43b)][_0x19d163(0x35e)](_0x2c18fb,_0x52de90);}['_removeClearOtherTimer'](_0x21468a){const _0x38a5ce=_0x183e64;if(this['_clearOtherTimers']['has'](_0x21468a)){const _0x330d37=this['_clearOtherTimers'][_0x38a5ce(0x33e)](_0x21468a);_0x330d37&&window[_0x38a5ce(0x2a6)](_0x330d37),this[_0x38a5ce(0x43b)][_0x38a5ce(0x35e)](_0x21468a,null);}}[_0x183e64(0x35b)](_0x2b9e99){const _0x33bba5=_0x183e64,{memberID:_0x4629ba,unitIDs:_0x99c253}=_0x2b9e99;_0x99c253[_0x33bba5(0x32a)](_0x409734=>{const _0x92e49a=_0x33bba5;var _0x50f26a;const _0x2fccd7=this[_0x92e49a(0x389)]['get'](_0x409734);_0x2fccd7&&(_0x2fccd7[_0x92e49a(0x20e)](_0x4629ba),(_0x50f26a=this[_0x92e49a(0x37c)](_0x409734))==null||_0x50f26a[_0x92e49a(0x221)](_0x2fccd7['size']===0x0?_0x17756c['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x17756c[_0x92e49a(0x332)][_0x92e49a(0x3fa)]));}),this['_removeClearOtherTimer'](_0x4629ba);}['_handleHeartbeatEvent'](_0x3707ce){const _0x54e373=_0x183e64;this[_0x54e373(0x349)](_0x3707ce['memberID']);}[_0x183e64(0x23b)](_0x4c134a){const _0x54b86b=_0x183e64;localStorage[_0x54b86b(0x1b4)](_0x1468b1,JSON['stringify'](_0x4c134a));}['_scheduleHeartbeat'](){const _0x11de29=_0x183e64;this[_0x11de29(0x3a5)]=window[_0x11de29(0x28d)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x142ca7);}['_ensureSubject'](_0x237b09){const _0x216e5d=_0x183e64;return this[_0x216e5d(0x23a)][_0x216e5d(0x2db)](_0x237b09)||this[_0x216e5d(0x23a)][_0x216e5d(0x35e)](_0x237b09,new _0x13bbb4[(_0x216e5d(0x419))](_0x17756c[_0x216e5d(0x332)][_0x216e5d(0x25a)])),this[_0x216e5d(0x23a)]['get'](_0x237b09);}}var _0xb683e5=(_0x371810=>(_0x371810[_0x371810[_0x183e64(0x2c3)]=0x0]=_0x183e64(0x2c3),_0x371810[_0x371810['OK']=0x1]='OK',_0x371810[_0x371810['INTERNAL_ERROR']=0x2]=_0x183e64(0x42e),_0x371810[_0x371810[_0x183e64(0x378)]=0x3]='PERMISSION_DENIED',_0x371810[_0x371810[_0x183e64(0x2aa)]=0x4]=_0x183e64(0x2aa),_0x371810[_0x371810['UNAUTHENTICATED']=0x5]=_0x183e64(0x34f),_0x371810[_0x371810[_0x183e64(0x40e)]=0x6]=_0x183e64(0x40e),_0x371810[_0x371810['INVALID_ARGUMENT']=0x7]=_0x183e64(0x335),_0x371810[_0x371810['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x371810[_0x371810['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x371810[_0x371810[_0x183e64(0x3bb)]=0xa]=_0x183e64(0x3bb),_0x371810[_0x371810[_0x183e64(0x360)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x371810[_0x371810[_0x183e64(0x2b5)]=0x1771]=_0x183e64(0x2b5),_0x371810[_0x371810[_0x183e64(0x2fd)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x371810[_0x371810[_0x183e64(0x1b9)]=0x1773]=_0x183e64(0x1b9),_0x371810[_0x371810[_0x183e64(0x309)]=0x1b59]='APPLY_REJECT',_0x371810[_0x371810[_0x183e64(0x31d)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x371810[_0x371810[_0x183e64(0x26e)]=0x1b5b]=_0x183e64(0x26e),_0x371810[_0x371810['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x183e64(0x252),_0x371810[_0x371810[_0x183e64(0x20f)]=0x1b5d]=_0x183e64(0x20f),_0x371810[_0x371810[_0x183e64(0x22e)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x371810[_0x371810[_0x183e64(0x294)]=0x2329]=_0x183e64(0x294),_0x371810[_0x371810[_0x183e64(0x41b)]=0x232a]=_0x183e64(0x41b),_0x371810[_0x371810['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x371810[_0x371810[_0x183e64(0x21c)]=0x232c]=_0x183e64(0x21c),_0x371810[_0x371810[_0x183e64(0x35d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x371810[_0x371810['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x183e64(0x2c5),_0x371810[_0x371810['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x183e64(0x403),_0x371810[_0x371810['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x183e64(0x28a),_0x371810[_0x371810[_0x183e64(0x254)]=0x2714]=_0x183e64(0x254),_0x371810[_0x371810[_0x183e64(0x208)]=0x271a]=_0x183e64(0x208),_0x371810[_0x371810['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x183e64(0x255),_0x371810[_0x371810['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x183e64(0x27d),_0x371810[_0x371810[_0x183e64(0x26f)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x371810[_0x371810['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x183e64(0x3e9),_0x371810[_0x371810[_0x183e64(0x409)]=0x271f]=_0x183e64(0x409),_0x371810[_0x371810[_0x183e64(0x2eb)]=0x2af9]=_0x183e64(0x2eb),_0x371810[_0x371810[_0x183e64(0x31c)]=0x2ee1]=_0x183e64(0x31c),_0x371810[_0x371810[_0x183e64(0x372)]=0x2ee2]=_0x183e64(0x372),_0x371810[_0x371810['INVITE_CODE_REQUIRED']=0x2ee3]=_0x183e64(0x406),_0x371810[_0x371810[_0x183e64(0x239)]=0x2ee4]=_0x183e64(0x239),_0x371810[_0x371810[_0x183e64(0x1c4)]=0x2ee5]=_0x183e64(0x1c4),_0x371810[_0x371810['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x183e64(0x248),_0x371810[_0x371810[_0x183e64(0x3fe)]=0x32ca]=_0x183e64(0x3fe),_0x371810[_0x371810[_0x183e64(0x371)]=0x32cb]=_0x183e64(0x371),_0x371810[_0x371810[_0x183e64(0x20d)]=-0x1]='UNRECOGNIZED',_0x371810))(_0xb683e5||{}),_0x47180c=Object[_0x183e64(0x233)],_0x3e747b=(_0x1add52,_0x21d189,_0x174b32,_0xfd8f9a)=>{const _0x40da43=_0x183e64;for(var _0x3f0587=_0xfd8f9a>0x1?void 0x0:_0xfd8f9a?_0x47180c(_0x21d189,_0x174b32):_0x21d189,_0x53b064=_0x1add52[_0x40da43(0x30f)]-0x1,_0x1ea430;_0x53b064>=0x0;_0x53b064--)(_0x1ea430=_0x1add52[_0x53b064])&&(_0x3f0587=_0x1ea430(_0x3f0587)||_0x3f0587);return _0x3f0587;},_0x3e1420=(_0xa3369c,_0x40a69f)=>(_0x2f43b6,_0x40868c)=>_0x40a69f(_0x2f43b6,_0x40868c,_0xa3369c);_0x46927c[_0x183e64(0x300)]=class extends _0x50a9bf[_0x183e64(0x400)]{constructor(_0x4c8d41,_0x1aaafb,_0x4e4a01){const _0x45e544=_0x183e64;super(),this[_0x45e544(0x251)]=_0x4c8d41,this[_0x45e544(0x1bf)]=_0x1aaafb,this[_0x45e544(0x2b6)]=_0x4e4a01;}async[_0x183e64(0x238)](_0x4a24ec,_0x10ed60,_0x5dd534,..._0x5d778b){const _0x4e3162=_0x183e64;var _0x525a4b,_0x4e8d95,_0x2631e1,_0x50428a;const _0x130638=this[_0x4e3162(0x251)][_0x4e3162(0x390)]();if(!_0x130638)throw new Error(_0x4e3162(0x3b7));const _0xd47c96=((_0x525a4b=this[_0x4e3162(0x2b6)][_0x4e3162(0x2ab)](_0x17756c[_0x4e3162(0x1e6)]))!=null?_0x525a4b:_0x17756c[_0x4e3162(0x395)])+'/'+_0x4a24ec+'/run/'+_0x10ed60,_0x3c63e4=new URL(window['location'][_0x4e3162(0x325)]),_0x4c57d6={'scriptId':_0x4a24ec,'runId':(_0x4e8d95=_0x3c63e4[_0x4e3162(0x41d)][_0x4e3162(0x33e)]('runId'))!=null?_0x4e8d95:'','function':_0x10ed60,'unitId':_0x130638[_0x4e3162(0x3d4)](),'argsOfFunction':JSON['stringify'](_0x5d778b),'invokeId':(_0x2631e1=_0x5dd534[_0x4e3162(0x270)])!=null?_0x2631e1:'','executionId':(_0x50428a=_0x5dd534[_0x4e3162(0x3c6)])!=null?_0x50428a:''};try{const _0x4cc713=await this['_httpService'][_0x4e3162(0x2e9)](_0xd47c96,{'body':_0x4c57d6});return _0x4cc713[_0x4e3162(0x1fc)]['error']&&_0x4cc713[_0x4e3162(0x1fc)][_0x4e3162(0x3f8)][_0x4e3162(0x1b8)]!==_0xb683e5['OK']?_0x4e3162(0x1cd):_0x4cc713[_0x4e3162(0x1fc)][_0x4e3162(0x2b9)];}catch{return _0x4e3162(0x1cd);}}},_0x46927c[_0x183e64(0x300)]=_0x3e747b([_0x3e1420(0x0,_0x50a9bf[_0x183e64(0x3b0)]),_0x3e1420(0x1,_0x50a9bf[_0x183e64(0x3a3)](_0x5f50a3[_0x183e64(0x435)])),_0x3e1420(0x2,_0x50a9bf['IConfigService'])],_0x46927c[_0x183e64(0x300)]),_0x46927c[_0x183e64(0x39e)]=_0x14ac81,_0x46927c[_0x183e64(0x207)]=_0x345468,_0x46927c[_0x183e64(0x246)]=_0x48c5c3,_0x46927c['WebBrowserSingleActiveUnitService']=_0x3d67be,_0x46927c[_0x183e64(0x3ee)]=_0x510b3d,Object[_0x183e64(0x278)](_0x46927c,Symbol['toStringTag'],{'value':_0x183e64(0x392)});}));
|
|
1
|
+
function _0x1924(_0x40b293,_0x37779a){const _0x5b14e3=_0x5b14();return _0x1924=function(_0x192453,_0x17fc4b){_0x192453=_0x192453-0x1a9;let _0x5cce4d=_0x5b14e3[_0x192453];return _0x5cce4d;},_0x1924(_0x40b293,_0x37779a);}function _0x5b14(){const _0x2661f8=['SHEET_VIEWPORT_KEY','isTransformMutationsWithChangesetSuccess','isTransformMutationFailure','_saveTaskMap','getCollabCursors$','rxjs','icon','_labelPosition','_transformUndoRedoStack','IRenderManagerService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','touchDependencies','_messageService','svg','fromEventSubject','fillStyle','_initEvent','onCommandExecuted','DocSelectionManagerService','getActiveRange','endColumn','_removeCollabCursors','NOT_COLLAB','EMAIL_HAS_BEEN_BOUND','row','loadUnit','reconnect','INVITE_CODE_REQUIRED','TEXT','_getAnchorBounding','transform','delete','APPLY_REJECT','setItem','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IUniverInstanceService','getActiveSheet','mapTo','UnitStatus','red300','2cJfUYw','transformIMECache','UniverInstanceType','sheetID','OffLineSingle','requireSession','getParam','find','subunit','_clearOtherTimers','YUUMI_RATE_OVER_LIMIT','round','IConfigService','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','transformMutationsWithChangeset','_cursorShapes','_roomMembers$','isActive','_scheduleHeartbeat','_textBubble','_setupSubUnitSync','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','drawWith','YUUMI_UNABLE_LOAD_URL','_initStatusListener','PERMISSION_DENIED','SYNCED','getCurrentSelections','@univerjs/engine-formula','@univerjs/docs','AWAITING_WITH_PENDING','Unknown\x20user','WebURLService','hovered','Workbook','registerComponent','entries','0\x200\x2016\x2016','_transformHistoryAndStateStack','_updateURLWithCurrentState','_selfUnitIDs','IBeforeCloseService','Warning','_onRefRangeChange','map','InsertRangeMoveRightCommandId','subscribeEvent','NodePositionConvertToCursor','collab-text-range-','UNDEFINED','FromArray','collabStatus.synced','then','asObservable','OTHER_CLIENT_EDITING','_name','_localeService','950137bazCLp','PY_RUNTIME_SCRIPT_ERROR','HEADER_MENU','getSheetId','COLORS','getValue','rxjs/operators','_status$','_getMergeRange','runId','EffectRefRangId','getUnitId','_init','_render','SNAPSHOT_INVALID_SNAPSHOT','1em','addClipboardHook','SetWorksheetActivateCommand','_getSaveTimeout','save','UniverSheetsUi','type','CollaborationEvent','_initDependencies','_memberService','ONLINE','4770hTrJrC','div','backgroundColor','_transformService','permission.title','subUnitId','getFocusedUnit','mergeOverrideWithDependencies','UniverRpc','none','call','deserializeRangeWithSheet','searchParams','@univerjs/sheets-ui','syncEditingCollabCursor','dispose$','hasOwnProperty','function','ILocalCacheService','getOwnPropertyDescriptor','setAlpha','addHandlerCallback','useObservable','_entities','SessionStatus','getCurrent','setShapeProps','setParam','UniverProCollaborationClient','_config','values','transformRemoteChangeset','getCoordByCell','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','@univerjs/core','stringify','ITransformService','apply','colorChannel1','path','subscribe','collaboration.single-unit.warning','_localStorageService','UniverEngineRender','unitId','getTypeOfUnitDisposed$','univer-flex\x20univer-items-center','assign','getRangePointData','complete','univer-text-red-500','MessageType','_scene','isEditing','_session','M0\x200H16V16H0z','_handleHover','USER_NOT_INVITED_CODE','on-line-single','collabStatus.offline','closePath','undoState','_online','_handleJoinEvent','@univerjs/engine-render','selections','isArray','_collaborationController','YUUMI_ASYNCIO_CANCELLED','_shapes','cursorInfo','gold400','collab-rect-range-','_unitOnClients','INTERNAL_ERROR','error','defineProperty','startRow','collabStatus.syncing','INVALID_INVITE_CODE','_drawRectRange','fill','handleInsertCol','assignAColorForMemberID','sheetId','push','currentColor','newValue','setTimeout','RegularPolygon','propertyIsEnumerable','debug','_anchor','_draw','IURLService','_hover','CollaborationUIEventId','takeUntil','add','_commandService','toString','pushState','min','_sheetSkeletonManagerService','IDocClipboardService','_notificationService','getUnitStatus$','_context','_setupBeforeClosingHandler','USERS_LEAVE','_collabCursorState$','session.connection-failed','Tools','jsx','url(#off-line-single_clip0_910_343)','YUUMI_URL_COL_OUT_OF_RANGE','attrs','startsWith','rgba(255,\x20255,\x20255,\x200.01)','Tooltip','_document','LOCAL_CACHE_INTERVAL_KEY','mutations','_disabled','override','DependentOn','ColorKit','_docTransformIMECacheService','uni.network.url-service','pluginName','_urlService','split','SheetCollabCursorShape','operators','INVITE_CODE_ALREADY_BOUND','enableLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','_range','addObject','BrowserCollaborationSocketService','merge','UNRECOGNIZED','getCellPositionByOffset','handleIRemoveCol','random','_transformPreviousActiveRange','CollaborationStatus','string','SUBMIT_CHANGESET_TIMEOUT','_getSessionTicket','_syncEditingCollabCursorService','engine','setActiveRange','LICENSE_DISTRO_REJECTED','@univerjs/rpc','RefRangeService','UniverProCollaboration','SetDocZoomRatioOperation','DeleteRangeMoveUpCommandId','...','connectInjector','object','CONFLICT','unsubscribe','univerjs-icon\x20univerjs-icon-','_handleEvent','useCallback','saveTaskMap','getMemberID','HTTPService','symbol','getOffsetConfig','focused$','LocaleService','_registerRenderDependencies','collaboration.closeRoom','hide','DataLoaderService','registerBeforeClose','max','currentSkeleton$','moveTo','TEXT_RANGE_LAYER_INDEX','off-line-single_clip0_910_343','handleInsertRangeMoveDown','CHANGESET_REVISION_CONFILICT','contains','createElement','InsertColCommandId','JOIN_ROOM_FAILED','APPLY_NON_SEQUENTIAL_REVISION','_themeService','@univerjs/network','_startDocCollabCursor','storage','getMergeData','univer-flex\x20univer-mr-2\x20univer-text-[20px]','updateOfflineData','doc.mutation.rich-text-editing','url(#$1','idSuffix','lineTo','_scheduleClearOtherTimer','className','ICommandService','jiqing500','react','Rectangle','saveImage','DesktopCollaborationStatusDisplayController','RemoveColCommandId','_lastPointer','runRefRangeMutations','registerDependencies','APPLY_REVISION_CONFILICT','@univerjs-pro/collaboration','_hideTimer','disposeWithMe','handleDeleteRangeMoveUp','handleMoveRange','pipe','ISocketService','LICENSE_MAX_UNITS_EXCEEDED','labelPosition','transformMutation','collaboration-client.offline-data-not-saved','2463516XaPAsf','_entityInit$','OTHER_CLIENTS_EDITING','_updateSubUnitFromURLParams','makeDirty','_toggleOffline','roomMembers$','verdancy600','_heartbeatTimer','clearInterval','YUUMI_AI_RUN_FAILED','UniverDocs','forwardRef','getStateCache','from','SheetSkeletonManagerService','_httpService','_collabCursorController','getItem','onMouseMove','executeCommand','next','UniverNetwork','_uiPartsService','width','saveOfflineData','AWAITING','indexOf','history','unit','Inject','getDocRanges','_saveCache','UPDATE_CURSOR','LOGIN_FAILED','_id','prototype','7195592heoNSm','IImageIoService','replace','DisposableCollection','_createSocketURL','collabStatus.conflict','_send','Rect','redoState','getConfig','_logService','location','_colorIndex','getSheetBySheetId','5701178LnOikC','BehaviorSubject','#FFF','clipPath','loadOfflineData','onPointerLeave$','4255wnvlwd','fillText','status$','tag','UniverCollaborationClientPlugin','permission.content','on-line-single_clip0_910_349','FETCH_MISS','Injector','_registerDependencies','invokeId','_unitStatus','getCurrentRevOfUnit','_drawAnchor','handleInsertRangeMoveRight','skeleton','MOBILE_HAS_BEEN_BOUND','name','collabStatus.fetchMiss','docStateChange$','memberID','onPointerMove$','TOO_MANY_REQUESTS','_backgroundColor','off-line-single','_hovered','range','actions','switchMap','urlChange$','_configService','ISnapshotServerService','Shape','createSocket','init','/run/','DOC_RANGE_TYPE','getCollabEntity$','editingUnit','sessionStatus$','font','ThemeService','_scheduleSaving','_ensureSubject','top','_initStatusComponent','_docTransformStateCacheService','OFFLINE','_handleLeaveEvent','event$','SNAPSHOT_HAS_BEEN_REMOVED','@univerjs/drawing','show','length','createInstance','_toggleOnline','INotificationService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_assignedColors','useDependency','selection','YUUMI_NO_CUBOID_FOR_QUESTION','UNIVER_DOC','ranges','getOwnPropertySymbols','_removeClearOtherTimer','amd','_updateCollabCursors','getAncestorScale','m2Prime','Disposable','11060199JOcNaR','includes','registerRenderModule','getCurrentUnitForType','Error','m1Prime','_collabSessionService','mask','_localCacheService','UniverCollaborationClientUIPlugin','Optional','dispose','purple300','ILogService','unshift','endRow','CollaborationStatusDisplay','PENDING','evenodd','MemberService','_dataLoaderService','YUUMI_ALL_TABLES_IS_INVALID','replaceState','transformSelections','imageSourceType','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','UniverUi','shareReplay','extend','_onCursorDelete','_initCommandExecutedListener','UniverDocsUi','_instanceService','setConfig','CollaborationUIEventService','_collaborationUIEventService','LICENSE_IMPORT_SIZE_EXCEEDED','NodePositionConvertToRectRange','INVITE_CODE_HAS_BEEN_UES','measureText','getMember','UniverSheets','color','ENSURE_SNAPSHOT_EXECUTION','defIds','currentTheme$','height','removeParam','black','react/jsx-runtime','deepClone','href','getLocalCacheKey','useRef','defs','UniverCore','@univerjs/docs-ui','debounceTime','handleDeleteRangeMoveLeft','CollaborationController','getSkeleton','_cursor','_cursors','debounce','UniverDrawing','size','INVALID_ARGUMENT','RxDisposable','_beforeCloseService','LICENSE_EXPORT_SIZE_EXCEEDED','Vector2','_docSkeletonManagerService','WECHAT_HAS_BEEN_BOUND','_initResize','column','unitID','source','ACTIVE_UNIT_EVENT_CHANNEL','flatMap','fillRule','runOnServer','_docSyncEditingCollabCursorService','RemoveRowCommandId','UNIVER_SHEET','_renderManagerService','RECT','_drawTextRange','ticket','_getScale','body','fromEvent','toDisposable','@univerjs/ui','handleIRemoveRow','translate(.97)','with','cursorInfo$','APPLY_DUPLICATED','126452UeKkUb','beginPath','LOCAL_CACHE_INTERVAL','jsxs','[CollaborationDataLoaderController]','_injector','OnLineSingle','handleInsertRow','onPointerEnter$','SheetsSelectionsService','result','code','_initEntityListener','displayName','get','has','serializeRangeWithSheet','CollaborationDataLoaderController','replaceDocRanges','NOT_FOUND','_eventUnsubscribe','bottom','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','set','restore','UNAUTHENTICATED','NO_OTHER_CLIENTS_EDITING','_docClipboardService','_cursorInfo$','UniverProCollaborationClientUi','text','key','collabCursorState$','COMPLETION_FINISHED','_onCursorUpdate','_startSheetCollabCursor','substring','onStarting','_color','_imageIoService','RemoteUniscriptService','getRenderById','filter','DocIMEInputManagerService','trim','xlink:href','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','concat','getColor','onTransformChange$','Failed','transformStateCache','data','forEach','_anchorDot','toRgbString','clearTimeout','IMessageService','_univerInstanceService','0\x200\x2017\x2016','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getVpScrollXYInfoByPosToVp','APPLY_PERMISSION_DENIED','@univerjs-pro/collaboration-client','current','getTypeOfUnitAdded$','_cachedData','DocStateChangeManagerService','_colorAssignService','params','findNodePositionByCharIndex','setInterval','DocCollaborationEntity','CONNECTOR_DATA_TOO_LARGE','roomMembers','CommandType','textRanges','_doCreateSocket','_handleHeartbeatEvent','children','generateRandomId','getUndoRedoMutationParamsCache','React','search','arc','@univerjs/design','_refRangeService','entityInit$','combineLatest','activeSheet$','_docStateChangeManagerService','_updateLocalCursor'];_0x5b14=function(){return _0x2661f8;};return _0x5b14();}(function(_0x38aeeb,_0x4e402a){const _0x5a3b44=_0x1924,_0x258f7b=_0x38aeeb();while(!![]){try{const _0x42643a=-parseInt(_0x5a3b44(0x394))/0x1*(parseInt(_0x5a3b44(0x35b))/0x2)+-parseInt(_0x5a3b44(0x1f4))/0x3+parseInt(_0x5a3b44(0x2d7))/0x4+-parseInt(_0x5a3b44(0x22d))/0x5*(parseInt(_0x5a3b44(0x3ae))/0x6)+parseInt(_0x5a3b44(0x227))/0x7+parseInt(_0x5a3b44(0x219))/0x8+parseInt(_0x5a3b44(0x275))/0x9;if(_0x42643a===_0x4e402a)break;else _0x258f7b['push'](_0x258f7b['shift']());}catch(_0x586c84){_0x258f7b['push'](_0x258f7b['shift']());}}}(_0x5b14,0x808ed),function(_0x5e19c1,_0x5c5582){const _0x35b0d2=_0x1924;typeof exports==_0x35b0d2(0x1b3)&&typeof module<'u'?_0x5c5582(exports,require(_0x35b0d2(0x316)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x35b0d2(0x1d2)),require(_0x35b0d2(0x2ad)),require(_0x35b0d2(0x260)),require(_0x35b0d2(0x338)),require(_0x35b0d2(0x378)),require(_0x35b0d2(0x1e9)),require(_0x35b0d2(0x377)),require('@univerjs/sheets'),require(_0x35b0d2(0x39a)),require(_0x35b0d2(0x3bb)),require(_0x35b0d2(0x2a6)),require(_0x35b0d2(0x2d1)),require(_0x35b0d2(0x32c)),require(_0x35b0d2(0x1e0)),require(_0x35b0d2(0x1ac))):typeof define==_0x35b0d2(0x3bf)&&define[_0x35b0d2(0x270)]?define(['exports',_0x35b0d2(0x316),_0x35b0d2(0x3d0),_0x35b0d2(0x3ee),_0x35b0d2(0x1d2),'@univerjs/docs-ui',_0x35b0d2(0x260),_0x35b0d2(0x338),'@univerjs/docs',_0x35b0d2(0x1e9),_0x35b0d2(0x377),'@univerjs/sheets',_0x35b0d2(0x39a),_0x35b0d2(0x3bb),_0x35b0d2(0x2a6),_0x35b0d2(0x2d1),_0x35b0d2(0x32c),_0x35b0d2(0x1e0),_0x35b0d2(0x1ac)],_0x5c5582):(_0x5e19c1=typeof globalThis<'u'?globalThis:_0x5e19c1||self,_0x5c5582(_0x5e19c1[_0x35b0d2(0x2f4)]={},_0x5e19c1[_0x35b0d2(0x3ca)],_0x5e19c1[_0x35b0d2(0x2ac)],_0x5e19c1[_0x35b0d2(0x3d9)],_0x5e19c1[_0x35b0d2(0x20a)],_0x5e19c1[_0x35b0d2(0x294)],_0x5e19c1[_0x35b0d2(0x2b5)],_0x5e19c1[_0x35b0d2(0x338)],_0x5e19c1[_0x35b0d2(0x1ff)],_0x5e19c1[_0x35b0d2(0x1ae)],_0x5e19c1['UniverEngineFormula'],_0x5e19c1[_0x35b0d2(0x29e)],_0x5e19c1[_0x35b0d2(0x338)][_0x35b0d2(0x433)],_0x5e19c1[_0x35b0d2(0x3a8)],_0x5e19c1[_0x35b0d2(0x329)],_0x5e19c1[_0x35b0d2(0x28f)],_0x5e19c1['UniverDesign'],_0x5e19c1['React'],_0x5e19c1[_0x35b0d2(0x3b6)]));}(this,function(_0x10d773,_0x120448,_0x5710d6,_0x5c441d,_0x554c4c,_0x36f7ce,_0x58cffa,_0x3ce9b4,_0x139315,_0x8dc84,_0x5967f5,_0x1d0cff,_0x59def4,_0x2d636c,_0x3ae0da,_0x3af2f3,_0x56069d,_0x2913b7,_0x205d8a){'use strict';const _0x5a5110=_0x1924;var _0x538b08=Object['defineProperty'],_0x47c2cb=(_0x16c66b,_0x3415b1,_0x2b8a27)=>_0x3415b1 in _0x16c66b?_0x538b08(_0x16c66b,_0x3415b1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b8a27}):_0x16c66b[_0x3415b1]=_0x2b8a27,_0xa4d578=(_0x294930,_0x1483ba,_0x9c2e87)=>_0x47c2cb(_0x294930,typeof _0x1483ba!=_0x5a5110(0x1bc)?_0x1483ba+'':_0x1483ba,_0x9c2e87),_0x482805=Object[_0x5a5110(0x3c1)],_0x2c68fd=(_0x452988,_0x2842bb,_0xb78301,_0x16dd97)=>{const _0x18c0d8=_0x5a5110;for(var _0xeccb20=_0x16dd97>0x1?void 0x0:_0x16dd97?_0x482805(_0x2842bb,_0xb78301):_0x2842bb,_0x3a919f=_0x452988[_0x18c0d8(0x262)]-0x1,_0x4eee2b;_0x3a919f>=0x0;_0x3a919f--)(_0x4eee2b=_0x452988[_0x3a919f])&&(_0xeccb20=_0x4eee2b(_0xeccb20)||_0xeccb20);return _0xeccb20;},_0x53af91=(_0x2493bb,_0x5c1d23)=>(_0x2d841b,_0x44cfc1)=>_0x5c1d23(_0x2d841b,_0x44cfc1,_0x2493bb);let _0x2c015a=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x20c089,_0x5f1a43){const _0x457c64=_0x5a5110;super(),this[_0x457c64(0x2f2)]=_0x20c089,this[_0x457c64(0x2fe)]=_0x5f1a43,this[_0x457c64(0x3a0)]();}[_0x5a5110(0x3a0)](){const _0x29d621=_0x5a5110,_0x131168=this;this[_0x29d621(0x1eb)](this['_docClipboardService'][_0x29d621(0x3a4)]({'onBeforePasteImage':async _0x37ea6b=>{const _0x2ef105=_0x29d621,_0x15bad9=await _0x131168['_imageIoService'][_0x2ef105(0x1e2)](_0x37ea6b);return _0x15bad9?{'source':_0x15bad9[_0x2ef105(0x2c1)],'imageSourceType':_0x15bad9[_0x2ef105(0x28d)]}:null;}}));}};_0x2c015a=_0x2c68fd([_0x53af91(0x0,_0x36f7ce[_0x5a5110(0x416)]),_0x53af91(0x1,_0x58cffa[_0x5a5110(0x21a)])],_0x2c015a);const _0x4ed6a6=[_0x5a5110(0x281),_0x5a5110(0x1df),_0x5a5110(0x1fb),_0x5a5110(0x35a),'blue400',_0x5a5110(0x3f5)];class _0x3bc8af extends _0x5710d6[_0x5a5110(0x274)]{constructor(){const _0x3940ae=_0x5a5110;super(...arguments),_0xa4d578(this,_0x3940ae(0x268),new Map()),_0xa4d578(this,'_colorIndex',0x0);}[_0x5a5110(0x401)](_0x51df54){const _0x5c0d3c=_0x5a5110;if(this[_0x5c0d3c(0x268)]['has'](_0x51df54))return this['_assignedColors']['get'](_0x51df54);const _0x3d5615=_0x4ed6a6[this[_0x5c0d3c(0x225)]];return this[_0x5c0d3c(0x225)]=(this[_0x5c0d3c(0x225)]+0x1)%_0x4ed6a6['length'],this['_assignedColors'][_0x5c0d3c(0x2ee)](_0x51df54,_0x3d5615),_0x3d5615;}}function _0x4a0a44(_0x4a7546){const _0x33cae0=_0x5a5110;let _0x2b8462='';for(const _0x11914c of _0x4a7546){const {startOffset:_0x3afeb3,endOffset:_0x48bd2a,isActive:_0x185efe,rangeType:_0x2c5d64,segmentId:_0x17e5b4,segmentPage:_0x4a09f5}=_0x11914c;_0x2b8462[_0x33cae0(0x262)]&&(_0x2b8462+=','),_0x2b8462+=_0x3afeb3+':'+_0x48bd2a+':'+(_0x185efe?'1':'0')+':'+_0x2c5d64+':'+_0x17e5b4+':'+_0x4a09f5;}return _0x2b8462;}function _0x76a49a(_0x5632bc){const _0x44982e=_0x5a5110,_0x252070=_0x5632bc['split'](','),_0x5f0438=[];for(const _0x5006df of _0x252070){const [_0x46cb71,_0x2f1e0e,_0x357f4e,_0x5aa3d6,_0x542fc3,_0x1a88c5]=_0x5006df[_0x44982e(0x431)](':');_0x5f0438[_0x44982e(0x403)]({'startOffset':Number(_0x46cb71),'endOffset':Number(_0x2f1e0e),'collapsed':_0x46cb71===_0x2f1e0e,'isActive':_0x357f4e==='1','rangeType':_0x5aa3d6===_0x5710d6[_0x44982e(0x251)][_0x44982e(0x34f)]?_0x5710d6[_0x44982e(0x251)][_0x44982e(0x34f)]:_0x5710d6[_0x44982e(0x251)][_0x44982e(0x2ca)],'segmentId':typeof _0x542fc3==_0x44982e(0x441)?String(_0x542fc3):'','segmentPage':Number(_0x1a88c5!=null?_0x1a88c5:-0x1)});}return _0x5f0438['some'](_0x26ec15=>_0x26ec15[_0x44982e(0x36c)])||(_0x5f0438[0x0][_0x44982e(0x36c)]=!0x0),_0x5f0438;}class _0x4c28fd extends _0x5710d6['RxDisposable']{constructor(){const _0x1b2da8=_0x5a5110;super(...arguments),_0xa4d578(this,'_collabCursorState$',new _0x3ce9b4['BehaviorSubject'](null)),_0xa4d578(this,_0x1b2da8(0x2f7),this[_0x1b2da8(0x41c)][_0x1b2da8(0x390)]());}[_0x5a5110(0x3bc)](_0xf6c979){const _0x52d8e7=_0x5a5110,{unitID:_0x3af3a2,memberID:_0x20cafb,textRanges:_0x1c45e3}=_0xf6c979,_0x44d516=_0x4a0a44(_0x1c45e3);if(_0x44d516==='')return;const _0x57b58d={'unitID':_0x3af3a2,'memberID':_0x20cafb,'selection':_0x44d516};this[_0x52d8e7(0x41c)][_0x52d8e7(0x209)](_0x57b58d);}}var _0x2d03a0=Object[_0x5a5110(0x3c1)],_0x3e7e83=(_0x336fa1,_0x2b0305,_0x2ec346,_0x579d3b)=>{const _0x141925=_0x5a5110;for(var _0x68e516=_0x579d3b>0x1?void 0x0:_0x579d3b?_0x2d03a0(_0x2b0305,_0x2ec346):_0x2b0305,_0x479fb6=_0x336fa1[_0x141925(0x262)]-0x1,_0x344abb;_0x479fb6>=0x0;_0x479fb6--)(_0x344abb=_0x336fa1[_0x479fb6])&&(_0x68e516=_0x344abb(_0x68e516)||_0x68e516);return _0x68e516;},_0x26a5dc=(_0x3bee1f,_0x896b5f)=>(_0x1cb007,_0x439d04)=>_0x896b5f(_0x1cb007,_0x439d04,_0x3bee1f);const _0x125ce7=0x12c,_0x3bccf9=0x64;let _0x2db35c=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x3ab450,_0x3b8a23,_0xc4923e,_0x3561e2,_0x4d896b,_0x36eca1,_0x2b8a03,_0x49f95b,_0x604f07){const _0x9e12d4=_0x5a5110;super(),_0xa4d578(this,'_online',!0x1),_0xa4d578(this,_0x9e12d4(0x3a0),!0x1),_0xa4d578(this,'_cursorInfo$',new _0x3ce9b4['BehaviorSubject'](new Map())),_0xa4d578(this,'cursorInfo$',this['_cursorInfo$'][_0x9e12d4(0x390)]()),_0xa4d578(this,_0x9e12d4(0x36b),new _0x3ce9b4[(_0x9e12d4(0x228))]([])),_0xa4d578(this,_0x9e12d4(0x1fa),this[_0x9e12d4(0x36b)]['pipe'](_0x3ce9b4[_0x9e12d4(0x2ae)](_0x125ce7))),_0xa4d578(this,_0x9e12d4(0x332),_0x5710d6[_0x9e12d4(0x2b4)](_0x578de2=>{const _0x3d905e=_0x9e12d4,_0x39d8ab={'eventID':_0x8dc84[_0x3d905e(0x3aa)][_0x3d905e(0x215)],'data':{'unitID':this['unitID'],'memberID':this[_0x3d905e(0x3e4)][_0x3d905e(0x1ba)](),'selection':_0x4a0a44(_0x578de2)}};this[_0x3d905e(0x3e4)]['send'](_0x39d8ab,this[_0x3d905e(0x2c0)]);},_0x3bccf9)),(this[_0x9e12d4(0x2c0)]=_0x3ab450,this[_0x9e12d4(0x3e4)]=_0x3b8a23,this['_injector']=_0xc4923e,this[_0x9e12d4(0x31b)]=_0x3561e2,this[_0x9e12d4(0x3ac)]=_0x4d896b,this['_syncEditingCollabCursorService']=_0x36eca1,this[_0x9e12d4(0x3b1)]=_0x2b8a03,this[_0x9e12d4(0x311)]=_0x49f95b,this[_0x9e12d4(0x411)]=_0x604f07);}get[_0x5a5110(0x3f4)](){const _0x560703=_0x5a5110;return this[_0x560703(0x2f3)][_0x560703(0x399)]();}get[_0x5a5110(0x321)](){const _0x49154e=_0x5a5110;return this[_0x49154e(0x36b)]['getValue']();}['dispose'](){const _0x2673d0=_0x5a5110;super['dispose'](),this[_0x2673d0(0x2f3)][_0x2673d0(0x209)](new Map()),this[_0x2673d0(0x2f3)]['complete'](),this[_0x2673d0(0x36b)][_0x2673d0(0x209)]([]),this['_roomMembers$'][_0x2673d0(0x3df)]();}[_0x5a5110(0x24f)](){const _0x1517ee=_0x5a5110;this[_0x1517ee(0x3a0)]||(this[_0x1517ee(0x3a0)]=!0x0,this[_0x1517ee(0x3e4)][_0x1517ee(0x254)][_0x1517ee(0x1ee)](_0x3ce9b4[_0x1517ee(0x40f)](this[_0x1517ee(0x3bd)]))[_0x1517ee(0x3d6)](_0x19ca62=>{const _0x24462b=_0x1517ee;_0x19ca62===_0x120448[_0x24462b(0x3c6)][_0x24462b(0x3ad)]?this[_0x24462b(0x264)]():this[_0x24462b(0x1f9)]();}),this[_0x1517ee(0x3e4)][_0x1517ee(0x25e)][_0x1517ee(0x1ee)](_0x3ce9b4['takeUntil'](this[_0x1517ee(0x3bd)]))[_0x1517ee(0x3d6)](_0x849bc3=>{const _0x24dcf9=_0x1517ee,_0x51f27f=_0x849bc3['eventID'];_0x51f27f===_0x8dc84[_0x24dcf9(0x3aa)][_0x24dcf9(0x215)]&&this[_0x24dcf9(0x2f9)](_0x849bc3),_0x51f27f===_0x8dc84[_0x24dcf9(0x3aa)][_0x24dcf9(0x41b)]&&this['_onCursorDelete'](_0x849bc3);}),this[_0x1517ee(0x1eb)](this[_0x1517ee(0x411)]['onCommandExecuted'](_0x531d23=>{const _0x3184d5=_0x1517ee,_0x5144da=_0x531d23[_0x3184d5(0x31c)];_0x5144da!=null&&this[_0x3184d5(0x3ec)]&&_0x531d23['id']===_0x139315['SetTextSelectionsOperation']['id']&&_0x5144da[_0x3184d5(0x3da)]===this[_0x3184d5(0x2c0)]&&_0x5144da[_0x3184d5(0x3e3)]===!0x1&&_0x5144da[_0x3184d5(0x26d)][_0x3184d5(0x262)]>0x0&&this[_0x3184d5(0x332)](_0x5144da[_0x3184d5(0x26d)]);})),this[_0x1517ee(0x444)][_0x1517ee(0x2f7)]['pipe'](_0x3ce9b4[_0x1517ee(0x40f)](this['dispose$']))[_0x1517ee(0x3d6)](_0x23f8ff=>{const _0x2dccd7=_0x1517ee;if((_0x23f8ff==null?void 0x0:_0x23f8ff[_0x2dccd7(0x2c0)])!==this[_0x2dccd7(0x2c0)])return;const _0x2d3cea={'eventID':_0x8dc84[_0x2dccd7(0x3aa)]['UPDATE_CURSOR'],'data':_0x23f8ff};this[_0x2dccd7(0x2f9)](_0x2d3cea);}),this[_0x1517ee(0x1eb)](this[_0x1517ee(0x411)][_0x1517ee(0x344)](_0x48438e=>{const _0x185af7=_0x1517ee;if(_0x48438e['params']==null)return;const _0x210e6d=_0x48438e[_0x185af7(0x31c)];if(_0x48438e['id']!==_0x139315['RichTextEditingMutation']['id']||_0x210e6d[_0x185af7(0x3da)]!==this[_0x185af7(0x2c0)])return;const _0x3ad286={'id':_0x185af7(0x1d8),'params':_0x210e6d},_0x47b1f3=this[_0x185af7(0x3f4)];for(const [_0x511f17,_0x316503]of _0x47b1f3){const _0x5286c2={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x316503[_0x185af7(0x26d)]}},_0x45eb48=this[_0x185af7(0x3b1)][_0x185af7(0x1f2)](_0x3ad286,_0x5286c2,!0x1);if(_0x8dc84['isTransformMutationFailure'](_0x45eb48))throw _0x45eb48[_0x185af7(0x3f9)];_0x47b1f3['set'](_0x511f17,{..._0x316503,'ranges':_0x45eb48['m2Prime']['params'][_0x185af7(0x323)]});}queueMicrotask(()=>{const _0x2e3e62=_0x185af7;this[_0x2e3e62(0x2f3)][_0x2e3e62(0x209)](_0x47b1f3);});})));}[_0x5a5110(0x2f9)](_0x176a7e){const _0x362854=_0x5a5110;var _0xce8126,_0x564154;const {memberID:_0x524353,selection:_0x4418f7}=_0x176a7e[_0x362854(0x30b)],_0x525b4f=_0x76a49a(_0x4418f7),_0x46e2f9=(_0x564154=(_0xce8126=this[_0x362854(0x3ac)][_0x362854(0x29d)](this[_0x362854(0x2c0)],_0x524353))==null?void 0x0:_0xce8126[_0x362854(0x23e)])!=null?_0x564154:'Unknown\x20user',_0x358baf={'color':this[_0x362854(0x31b)][_0x362854(0x401)](_0x524353),'name':_0x46e2f9,'ranges':_0x525b4f},_0x57524c=this[_0x362854(0x3f4)];_0x57524c[_0x362854(0x2ee)](_0x524353,_0x358baf),this['_cursorInfo$'][_0x362854(0x209)](_0x57524c);}[_0x5a5110(0x292)](_0x9cdfc1){const _0x206220=_0x5a5110,{memberID:_0x135675}=_0x9cdfc1[_0x206220(0x30b)],_0x431cb5=this[_0x206220(0x3f4)];_0x431cb5['delete'](_0x135675),this[_0x206220(0x2f3)][_0x206220(0x209)](_0x431cb5);}['_toggleOnline'](){const _0x2c3aa1=_0x5a5110;var _0x374aa0;if(this[_0x2c3aa1(0x3ec)]=!0x0,((_0x374aa0=this[_0x2c3aa1(0x311)][_0x2c3aa1(0x3b4)]())==null?void 0x0:_0x374aa0[_0x2c3aa1(0x39f)]())!==this[_0x2c3aa1(0x2c0)])return;const _0x279941=this[_0x2c3aa1(0x2dc)]['get'](_0x139315[_0x2c3aa1(0x345)])[_0x2c3aa1(0x213)]();Array[_0x2c3aa1(0x3f0)](_0x279941)&&_0x279941['length']>0x0&&this[_0x2c3aa1(0x332)](_0x279941);}[_0x5a5110(0x1f9)](){const _0x192366=_0x5a5110;this[_0x192366(0x3ec)]=!0x1;}};_0x2db35c=_0x3e7e83([_0x26a5dc(0x2,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x235)])),_0x26a5dc(0x3,_0x5710d6[_0x5a5110(0x212)](_0x3bc8af)),_0x26a5dc(0x4,_0x5710d6[_0x5a5110(0x212)](_0x120448[_0x5a5110(0x288)])),_0x26a5dc(0x5,_0x5710d6[_0x5a5110(0x212)](_0x4c28fd)),_0x26a5dc(0x6,_0x8dc84[_0x5a5110(0x3d2)]),_0x26a5dc(0x7,_0x5710d6[_0x5a5110(0x356)]),_0x26a5dc(0x8,_0x5710d6['ICommandService'])],_0x2db35c);var _0x47cdb0=Object[_0x5a5110(0x3c1)],_0x8220c3=(_0x3fa6d4,_0x20856e,_0x5aee63,_0x9f4889)=>{const _0x49cb7d=_0x5a5110;for(var _0x16b373=_0x9f4889>0x1?void 0x0:_0x9f4889?_0x47cdb0(_0x20856e,_0x5aee63):_0x20856e,_0x1f1a77=_0x3fa6d4[_0x49cb7d(0x262)]-0x1,_0x2b0285;_0x1f1a77>=0x0;_0x1f1a77--)(_0x2b0285=_0x3fa6d4[_0x1f1a77])&&(_0x16b373=_0x2b0285(_0x16b373)||_0x16b373);return _0x16b373;},_0x511d77=(_0x15ff09,_0x18dee2)=>(_0x497901,_0x2d1e43)=>_0x18dee2(_0x497901,_0x2d1e43,_0x15ff09);const _0x4c5755=0x12c,_0x53aed6=0x64,_0x115591=()=>{let _0x368a40=[],_0x3a6ae0=!0x1;return _0x450c1a=>{const _0x67ad38=_0x1924;_0x368a40[_0x67ad38(0x403)](_0x450c1a),_0x3a6ae0||(_0x3a6ae0=!0x0,setTimeout(()=>{const _0x2d5ae5=_0x67ad38;_0x368a40[_0x2d5ae5(0x30c)](_0x79c926=>_0x79c926()),_0x368a40=[],_0x3a6ae0=!0x1;}));};};let _0x51ec17=class extends _0x5710d6['RxDisposable']{constructor(_0x4f4f41,_0x3dcf8c,_0xa50577,_0x45a68c,_0x3927ec,_0x213782,_0x1c259f,_0x4b7edd){const _0x2d752b=_0x5a5110;super(),_0xa4d578(this,'_online',!0x1),_0xa4d578(this,'_init',!0x1),_0xa4d578(this,'_cursorInfo$',new _0x3ce9b4['BehaviorSubject'](new Map())),_0xa4d578(this,'cursorInfo$',this['_cursorInfo$'][_0x2d752b(0x390)]()),_0xa4d578(this,_0x2d752b(0x36b),new _0x3ce9b4['BehaviorSubject']([])),_0xa4d578(this,_0x2d752b(0x1fa),this[_0x2d752b(0x36b)][_0x2d752b(0x1ee)](_0x3ce9b4[_0x2d752b(0x2ae)](_0x4c5755))),_0xa4d578(this,_0x2d752b(0x332),_0x5710d6['debounce']((_0x2e54b6,_0x235ef4)=>{const _0x4397fa=_0x2d752b,_0x401e2c={'eventID':_0x8dc84[_0x4397fa(0x3aa)][_0x4397fa(0x215)],'data':{'unitID':this['unitID'],'memberID':this[_0x4397fa(0x3e4)]['getMemberID'](),'selection':_0x5967f5[_0x4397fa(0x2e7)](_0x2e54b6,_0x235ef4[_0x4397fa(0x247)])}};this['_session']['send'](_0x401e2c,this[_0x4397fa(0x2c0)]);},_0x53aed6)),(this[_0x2d752b(0x2c0)]=_0x4f4f41,this['_session']=_0x3dcf8c,this['_injector']=_0xa50577,this[_0x2d752b(0x31b)]=_0x45a68c,this[_0x2d752b(0x3ac)]=_0x3927ec,this[_0x2d752b(0x311)]=_0x213782,this[_0x2d752b(0x411)]=_0x1c259f,this[_0x2d752b(0x32d)]=_0x4b7edd);}get[_0x5a5110(0x3f4)](){const _0x453449=_0x5a5110;return this[_0x453449(0x2f3)][_0x453449(0x399)]();}get[_0x5a5110(0x321)](){const _0x3c138b=_0x5a5110;return this[_0x3c138b(0x36b)]['getValue']();}[_0x5a5110(0x280)](){const _0x5bbb25=_0x5a5110;super[_0x5bbb25(0x280)](),this[_0x5bbb25(0x2f3)]['next'](new Map()),this[_0x5bbb25(0x2f3)][_0x5bbb25(0x3df)](),this['_roomMembers$'][_0x5bbb25(0x209)]([]),this[_0x5bbb25(0x36b)][_0x5bbb25(0x3df)]();}[_0x5a5110(0x24f)](){const _0x49becb=_0x5a5110;this[_0x49becb(0x3a0)]||(this['_init']=!0x0,this[_0x49becb(0x3e4)][_0x49becb(0x254)][_0x49becb(0x1ee)](_0x3ce9b4[_0x49becb(0x40f)](this['dispose$']))[_0x49becb(0x3d6)](_0x5b947b=>{const _0x5cde2b=_0x49becb;_0x5b947b===_0x120448[_0x5cde2b(0x3c6)]['ONLINE']?this[_0x5cde2b(0x264)]():this[_0x5cde2b(0x1f9)]();}),this[_0x49becb(0x3e4)]['event$']['pipe'](_0x3ce9b4['takeUntil'](this['dispose$']))['subscribe'](_0x50a030=>{const _0x399c66=_0x49becb,_0x51e1a2=_0x50a030['eventID'];_0x51e1a2===_0x8dc84[_0x399c66(0x3aa)][_0x399c66(0x215)]&&this[_0x399c66(0x2f9)](_0x50a030),_0x51e1a2===_0x8dc84['CollaborationEvent']['USERS_LEAVE']&&this[_0x399c66(0x292)](_0x50a030);}),this[_0x49becb(0x386)](),this[_0x49becb(0x1eb)](this[_0x49becb(0x411)]['onCommandExecuted'](_0x4a21da=>{const _0x179efb=_0x49becb;if(this[_0x179efb(0x3ec)]&&_0x4a21da['id']===_0x1d0cff['SetSelectionsOperation']['id']&&_0x4a21da[_0x179efb(0x31c)][_0x179efb(0x3da)]===this['unitID']){const _0x4f725e=_0x4a21da[_0x179efb(0x31c)];this[_0x179efb(0x332)](_0x4f725e[_0x179efb(0x3b3)],_0x4f725e[_0x179efb(0x3ef)][0x0]);}})));}[_0x5a5110(0x2f9)](_0x5c24a1){const _0x45d82e=_0x5a5110;var _0x4bc5f3,_0x33cee4;const {memberID:_0x253482,selection:_0x632b89}=_0x5c24a1['data'],{sheetName:_0x585423,range:_0x606041}=_0x5967f5[_0x45d82e(0x3b9)](_0x632b89),_0x477561={'name':(_0x33cee4=(_0x4bc5f3=this[_0x45d82e(0x3ac)]['getMember'](this[_0x45d82e(0x2c0)],_0x253482))==null?void 0x0:_0x4bc5f3[_0x45d82e(0x23e)])!=null?_0x33cee4:_0x45d82e(0x37a),'range':this[_0x45d82e(0x39c)](_0x585423,_0x606041),'sheetID':_0x585423,'color':this[_0x45d82e(0x31b)][_0x45d82e(0x401)](_0x253482),'selection':_0x632b89},_0x517bd6=this[_0x45d82e(0x3f4)];_0x517bd6[_0x45d82e(0x2ee)](_0x253482,_0x477561),this[_0x45d82e(0x2f3)][_0x45d82e(0x209)](_0x517bd6);}[_0x5a5110(0x292)](_0x5d7925){const _0x5c61cb=_0x5a5110,{memberID:_0x222bf8}=_0x5d7925['data'],_0x32fe4f=this['cursorInfo'];_0x32fe4f[_0x5c61cb(0x352)](_0x222bf8),this['_cursorInfo$'][_0x5c61cb(0x209)](_0x32fe4f);}['_getMergeRange'](_0x1ca529,_0x3369fb){const _0x48aa0f=_0x5a5110;var _0x2b1df5,_0x4f8d84;const _0x47de05=(_0x4f8d84=(_0x2b1df5=this[_0x48aa0f(0x311)]['getUniverSheetInstance'](this[_0x48aa0f(0x2c0)]))==null?void 0x0:_0x2b1df5[_0x48aa0f(0x226)](_0x1ca529))==null?void 0x0:_0x4f8d84[_0x48aa0f(0x1d5)]();return(_0x47de05==null?void 0x0:_0x47de05[_0x48aa0f(0x362)](_0x5cc4a0=>_0x5710d6[_0x48aa0f(0x1e1)][_0x48aa0f(0x1cc)](_0x5cc4a0,_0x3369fb)))||_0x3369fb;}[_0x5a5110(0x386)](){const _0x47ad17=_0x5a5110,_0x179065=new _0x5710d6[(_0x47ad17(0x21c))](),_0x39f767=_0x115591(),_0x20d979=()=>{const _0x8ccea0=_0x47ad17;_0x179065[_0x8ccea0(0x280)]();const _0x1111ed=(_0x3033e9,_0x368fb2,_0x15a10e,_0x4bcc85)=>{const _0x10ac22=_0x8ccea0;let _0x4ab8ed=[];switch(_0x3033e9['id']){case _0x1d0cff[_0x10ac22(0x39e)]['DeleteRangeMoveLeftCommandId']:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x2af)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)][_0x10ac22(0x1b0)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x1ec)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)][_0x10ac22(0x1ce)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x400)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)]['InsertRangeMoveDownCommandId']:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x1ca)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)][_0x10ac22(0x388)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x23b)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)]['InsertRowCommandId']:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x2de)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff['EffectRefRangId']['MoveRangeCommandId']:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x1ed)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff[_0x10ac22(0x39e)][_0x10ac22(0x1e4)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x43d)](_0x3033e9,_0x4bcc85);break;}case _0x1d0cff['EffectRefRangId'][_0x10ac22(0x2c7)]:{_0x4ab8ed=_0x1d0cff[_0x10ac22(0x2d2)](_0x3033e9,_0x4bcc85);break;}}const _0x27f41c=_0x1d0cff[_0x10ac22(0x1e6)](_0x4ab8ed,_0x4bcc85),_0x17e2d9=this['cursorInfo'][_0x10ac22(0x2e5)](_0x368fb2);if(_0x17e2d9&&_0x27f41c){const _0x572521={..._0x17e2d9,'range':_0x27f41c};this[_0x10ac22(0x3f4)][_0x10ac22(0x2ee)](_0x368fb2,_0x572521),_0x39f767(()=>{const _0x3055da=_0x10ac22,_0x272157=this[_0x3055da(0x32d)]['registerRefRange'](_0x27f41c,_0x26135b=>(_0x272157[_0x3055da(0x280)](),_0x1111ed(_0x26135b,_0x368fb2,_0x15a10e,_0x27f41c)));_0x179065[_0x3055da(0x410)](_0x272157);});}return{'redos':[],'undos':[]};};this[_0x8ccea0(0x3f4)][_0x8ccea0(0x30c)]((_0x290075,_0x1bc210)=>{const _0x217b33=_0x8ccea0,{range:_0x5089a3,sheetID:_0x4437d1}=_0x290075,_0x2b831a=this[_0x217b33(0x32d)]['registerRefRange'](_0x5089a3,_0x57c99f=>(_0x2b831a[_0x217b33(0x280)](),_0x1111ed(_0x57c99f,_0x1bc210,_0x4437d1,_0x5089a3)));_0x179065['add'](_0x2b831a);});};this[_0x47ad17(0x1eb)](_0x5710d6[_0x47ad17(0x2d0)](this['_cursorInfo$'][_0x47ad17(0x3d6)](()=>{_0x20d979();})));}['_toggleOnline'](){const _0x4eabd1=_0x5a5110;var _0x1638ca,_0x2383f8;if(this[_0x4eabd1(0x3ec)]=!0x0,((_0x1638ca=this[_0x4eabd1(0x311)][_0x4eabd1(0x3b4)]())==null?void 0x0:_0x1638ca['getUnitId']())!==this['unitID'])return;const _0xd06345=(_0x2383f8=this[_0x4eabd1(0x2dc)][_0x4eabd1(0x2e5)](_0x1d0cff[_0x4eabd1(0x2e0)])[_0x4eabd1(0x376)]())==null?void 0x0:_0x2383f8[0x0],_0x1c8107=this[_0x4eabd1(0x311)][_0x4eabd1(0x278)](_0x5710d6['UniverInstanceType']['UNIVER_SHEET'])[_0x4eabd1(0x357)]();_0xd06345&&_0x1c8107&&this[_0x4eabd1(0x332)](_0x1c8107[_0x4eabd1(0x397)](),_0xd06345);}[_0x5a5110(0x1f9)](){const _0x5ca115=_0x5a5110;this[_0x5ca115(0x3ec)]=!0x1;}};_0x51ec17=_0x8220c3([_0x511d77(0x2,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x235)])),_0x511d77(0x3,_0x5710d6[_0x5a5110(0x212)](_0x3bc8af)),_0x511d77(0x4,_0x5710d6['Inject'](_0x120448[_0x5a5110(0x288)])),_0x511d77(0x5,_0x5710d6['IUniverInstanceService']),_0x511d77(0x6,_0x5710d6[_0x5a5110(0x1de)]),_0x511d77(0x7,_0x5710d6[_0x5a5110(0x212)](_0x1d0cff[_0x5a5110(0x1ad)]))],_0x51ec17);var _0x2fb3fb=Object[_0x5a5110(0x3c1)],_0x593181=(_0x5857c7,_0xe1a406,_0x3175ef,_0x43680b)=>{const _0x109bf0=_0x5a5110;for(var _0x2f50c2=_0x43680b>0x1?void 0x0:_0x43680b?_0x2fb3fb(_0xe1a406,_0x3175ef):_0xe1a406,_0x39a7ae=_0x5857c7[_0x109bf0(0x262)]-0x1,_0xe226cb;_0x39a7ae>=0x0;_0x39a7ae--)(_0xe226cb=_0x5857c7[_0x39a7ae])&&(_0x2f50c2=_0xe226cb(_0x2f50c2)||_0x2f50c2);return _0x2f50c2;},_0x4413db=(_0x2f3f27,_0x1e0788)=>(_0x5d325b,_0x178b36)=>_0x1e0788(_0x5d325b,_0x178b36,_0x2f3f27);let _0x377ca6=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x344f55,_0x58ea49,_0x4f9693){const _0x3febef=_0x5a5110;super(),_0xa4d578(this,_0x3febef(0x3c5),new Map()),_0xa4d578(this,_0x3febef(0x1f5),new _0x3ce9b4['Subject']()),(this[_0x3febef(0x311)]=_0x344f55,this['_injector']=_0x58ea49,this[_0x3febef(0x27b)]=_0x4f9693,this[_0x3febef(0x3a0)]());}[_0x5a5110(0x280)](){const _0x2b2552=_0x5a5110;super[_0x2b2552(0x280)](),this['_entityInit$'][_0x2b2552(0x3df)](),this[_0x2b2552(0x3c5)]['forEach'](_0x3ac665=>_0x3ac665[_0x2b2552(0x280)]());}[_0x5a5110(0x337)](_0x439ad9){const _0x1f953c=_0x5a5110;return this[_0x1f953c(0x3c5)]['has'](_0x439ad9)?this[_0x1f953c(0x3c5)][_0x1f953c(0x2e5)](_0x439ad9)[_0x1f953c(0x2d5)]:this[_0x1f953c(0x1f5)]['pipe'](_0x3ce9b4[_0x1f953c(0x301)](_0x461c6a=>_0x461c6a[_0x1f953c(0x2c0)]===_0x439ad9),_0x3ce9b4[_0x1f953c(0x249)](_0x4fe6e9=>_0x4fe6e9[_0x1f953c(0x2d5)]));}[_0x5a5110(0x3a0)](){const _0x3fce71=_0x5a5110;this[_0x3fce71(0x311)][_0x3fce71(0x318)](_0x5710d6[_0x3fce71(0x35d)]['UNIVER_SHEET'])[_0x3fce71(0x1ee)](_0x3ce9b4[_0x3fce71(0x40f)](this[_0x3fce71(0x3bd)]))[_0x3fce71(0x3d6)](async _0x390d03=>{const _0x1c65f6=_0x3fce71,_0x144f40=_0x390d03[_0x1c65f6(0x39f)](),_0x238b6e=await this[_0x1c65f6(0x2fa)](_0x144f40);this[_0x1c65f6(0x1f5)]['next'](_0x238b6e),this[_0x1c65f6(0x3c5)][_0x1c65f6(0x2ee)](_0x144f40,_0x238b6e);}),this[_0x3fce71(0x311)][_0x3fce71(0x318)](_0x5710d6[_0x3fce71(0x35d)][_0x3fce71(0x26c)])[_0x3fce71(0x1ee)](_0x3ce9b4[_0x3fce71(0x40f)](this[_0x3fce71(0x3bd)]))[_0x3fce71(0x1ee)](_0x3ce9b4[_0x3fce71(0x301)](_0xb2f8ca=>!_0xb2f8ca[_0x3fce71(0x39f)]()[_0x3fce71(0x423)]('__')))[_0x3fce71(0x3d6)](async _0x5d191d=>{const _0x787e09=_0x3fce71,_0x38f722=_0x5d191d[_0x787e09(0x39f)](),_0x587158=await this[_0x787e09(0x1d3)](_0x38f722);this[_0x787e09(0x1f5)][_0x787e09(0x209)](_0x587158),this[_0x787e09(0x3c5)][_0x787e09(0x2ee)](_0x38f722,_0x587158);}),_0x3ce9b4['merge'](this[_0x3fce71(0x311)]['getTypeOfUnitDisposed$'](_0x5710d6[_0x3fce71(0x35d)]['UNIVER_DOC']),this['_univerInstanceService'][_0x3fce71(0x3db)](_0x5710d6[_0x3fce71(0x35d)][_0x3fce71(0x2c8)]))[_0x3fce71(0x1ee)](_0x3ce9b4[_0x3fce71(0x40f)](this['dispose$']))[_0x3fce71(0x3d6)](_0x9b7c65=>{const _0x4f4914=_0x3fce71,_0x449aea=_0x9b7c65['getUnitId'](),_0x5e609b=this[_0x4f4914(0x3c5)][_0x4f4914(0x2e5)](_0x449aea);_0x5e609b&&(_0x5e609b[_0x4f4914(0x280)](),this['_entities'][_0x4f4914(0x352)](_0x449aea));});}async[_0x5a5110(0x2fa)](_0x31170f){const _0x2538ed=_0x5a5110,_0x3d4293=await this['_collabSessionService'][_0x2538ed(0x360)](_0x31170f),_0x3594d8=this[_0x2538ed(0x2dc)][_0x2538ed(0x263)](_0x51ec17,_0x31170f,_0x3d4293);return _0x3594d8[_0x2538ed(0x24f)](),_0x3594d8;}async['_startDocCollabCursor'](_0x3ee401){const _0x20106d=_0x5a5110,_0x1ddec1=await this['_collabSessionService'][_0x20106d(0x360)](_0x3ee401),_0x18bc69=this[_0x20106d(0x2dc)][_0x20106d(0x263)](_0x2db35c,_0x3ee401,_0x1ddec1);return _0x18bc69[_0x20106d(0x24f)](),_0x18bc69;}};_0x377ca6=_0x593181([_0x4413db(0x0,_0x5710d6['IUniverInstanceService']),_0x4413db(0x1,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x235)])),_0x4413db(0x2,_0x5710d6[_0x5a5110(0x212)](_0x120448['CollaborationSessionService']))],_0x377ca6);const _0x2d1066=0x14,_0x9670b5=0xc8,_0x403639=0x4,_0x1fa15d=0x5;function _0x58b698(_0x20fe5e,_0x386c87){const _0x8816a5=_0x5a5110;let {radius:_0x525301,width:_0x5e818e,height:_0x270ffb}=_0x386c87;_0x525301=_0x525301!=null?_0x525301:0x0,_0x5e818e=_0x5e818e!=null?_0x5e818e:0x1e,_0x270ffb=_0x270ffb!=null?_0x270ffb:0x1e;let _0x3042dd=0x0,_0x17831f=0x0,_0x360d78=0x0;_0x3042dd=_0x17831f=_0x360d78=Math[_0x8816a5(0x414)](_0x525301,_0x5e818e/0x2,_0x270ffb/0x2),_0x20fe5e[_0x8816a5(0x2d8)](),_0x20fe5e[_0x8816a5(0x1c7)](_0x3042dd,0x0),_0x20fe5e['lineTo'](_0x5e818e-_0x17831f,0x0),_0x20fe5e[_0x8816a5(0x32b)](_0x5e818e-_0x17831f,_0x17831f,_0x17831f,Math['PI']*0x3/0x2,0x0,!0x1),_0x20fe5e[_0x8816a5(0x1db)](_0x5e818e,_0x270ffb-_0x360d78),_0x20fe5e[_0x8816a5(0x32b)](_0x5e818e-_0x360d78,_0x270ffb-_0x360d78,_0x360d78,0x0,Math['PI']/0x2,!0x1),_0x20fe5e['lineTo'](0x0,_0x270ffb),_0x20fe5e['lineTo'](0x0,_0x3042dd),_0x20fe5e[_0x8816a5(0x32b)](_0x3042dd,_0x3042dd,_0x3042dd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x20fe5e[_0x8816a5(0x3ea)](),_0x386c87[_0x8816a5(0x3ff)]&&(_0x20fe5e[_0x8816a5(0x3a7)](),_0x20fe5e['fillStyle']=_0x386c87[_0x8816a5(0x3ff)],_0x386c87[_0x8816a5(0x2c4)]===_0x8816a5(0x287)?_0x20fe5e['fill'](_0x8816a5(0x287)):_0x20fe5e[_0x8816a5(0x3ff)](),_0x20fe5e[_0x8816a5(0x2ef)]());}class _0x4aa1a9 extends _0x5c441d[_0x5a5110(0x24d)]{constructor(_0x36e60b,_0x39ab9a){const _0x4c6e8a=_0x5a5110;super(_0x36e60b,_0x39ab9a),_0xa4d578(this,_0x4c6e8a(0x29f)),_0xa4d578(this,_0x4c6e8a(0x2f5)),(this['color']=_0x39ab9a==null?void 0x0:_0x39ab9a[_0x4c6e8a(0x29f)],this['text']=_0x39ab9a==null?void 0x0:_0x39ab9a[_0x4c6e8a(0x2f5)]);}static[_0x5a5110(0x371)](_0x5a8163,_0x556945){const _0x1ac5af=_0x5a5110,{text:_0x423790,color:_0x149699}=_0x556945;_0x5a8163['save'](),_0x5a8163[_0x1ac5af(0x255)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xde9f5a=_0x5a8163[_0x1ac5af(0x29c)](_0x423790)[_0x1ac5af(0x20c)],_0x4405e2=Math['min'](_0xde9f5a+0x2*_0x403639,_0x9670b5);_0x58b698(_0x5a8163,{'height':_0x2d1066,'radius':0x4,'width':_0x4405e2,'fill':_0x149699}),_0x5a8163[_0x1ac5af(0x342)]=_0x1ac5af(0x229);const _0x581e61=_0x403639,_0x56bc39=_0x2d1066-_0x1fa15d,_0x2c62e4=_0x9670b5-0x2*_0x403639;if(_0xde9f5a>_0x2c62e4){let _0x321f1b='',_0x1401ca=0x0;for(const _0x8df4f6 of _0x423790){const _0x10f59a=_0x5a8163[_0x1ac5af(0x29c)](_0x8df4f6)[_0x1ac5af(0x20c)];if(_0x1401ca+_0x10f59a<=_0x2c62e4-_0x5a8163[_0x1ac5af(0x29c)](_0x1ac5af(0x1b1))[_0x1ac5af(0x20c)])_0x321f1b+=_0x8df4f6,_0x1401ca+=_0x10f59a;else{_0x321f1b+=_0x1ac5af(0x1b1);break;}}_0x5a8163[_0x1ac5af(0x22e)](_0x321f1b,_0x581e61,_0x56bc39);}else _0x5a8163[_0x1ac5af(0x22e)](_0x423790,_0x581e61,_0x56bc39);_0x5a8163[_0x1ac5af(0x2ef)]();}[_0x5a5110(0x40b)](_0x198902){const _0x35c36d=_0x5a5110;_0x4aa1a9[_0x35c36d(0x371)](_0x198902,this);}}const _0x576f79='collab-text-anchor-',_0x289245=_0x5a5110(0x38b),_0x4740ed=_0x5a5110(0x3f6),_0x22d678=0x6,_0x4a6d64=1.5,_0x26adae=0x4,_0x1e4d03=1.5,_0x38e2aa=_0x5a5110(0x424);class _0x2fa8dc{constructor(_0x172a8c,_0x127af9,_0x3473b6,_0x3dd812){const _0x20b26f=_0x5a5110;_0xa4d578(this,_0x20b26f(0x3f3),[]),_0xa4d578(this,_0x20b26f(0x40a),null),_0xa4d578(this,_0x20b26f(0x36e),null),_0xa4d578(this,_0x20b26f(0x30d),null),_0xa4d578(this,_0x20b26f(0x1ea),null),_0xa4d578(this,_0x20b26f(0x2eb),null),(this[_0x20b26f(0x2b2)]=_0x172a8c,this[_0x20b26f(0x3e2)]=_0x127af9,this['_docSkeleton']=_0x3473b6,this[_0x20b26f(0x426)]=_0x3dd812,this[_0x20b26f(0x3a1)]());}set[_0x5a5110(0x40d)](_0x47ca96){const _0x3b530c=_0x5a5110;_0x47ca96?(this[_0x3b530c(0x30d)]&&this[_0x3b530c(0x30d)][_0x3b530c(0x1c2)](),this[_0x3b530c(0x36e)]&&this['_textBubble'][_0x3b530c(0x261)]()):(this[_0x3b530c(0x30d)]&&this[_0x3b530c(0x30d)][_0x3b530c(0x261)](),this[_0x3b530c(0x36e)]&&this[_0x3b530c(0x36e)][_0x3b530c(0x1c2)]());}[_0x5a5110(0x280)](){const _0x232dc6=_0x5a5110;for(const _0x105a55 of this[_0x232dc6(0x3f3)])_0x105a55[_0x232dc6(0x280)]();this[_0x232dc6(0x36e)]&&this[_0x232dc6(0x36e)][_0x232dc6(0x280)](),this['_anchorDot']&&this[_0x232dc6(0x30d)]['dispose'](),this['_anchor']&&this[_0x232dc6(0x40a)][_0x232dc6(0x280)](),this[_0x232dc6(0x2eb)]&&this['_eventUnsubscribe']();}[_0x5a5110(0x3a1)](){const _0x5c42ba=_0x5a5110;var _0x1596e8;const {_docSkeleton:_0x1c36ee,_document:_0x47ffa2}=this,{color:_0x214800,name:_0xf57222,ranges:_0x51ee4b}=this[_0x5c42ba(0x2b2)],_0x182969=_0x47ffa2[_0x5c42ba(0x1bd)](),{docsLeft:_0x5150e8,docsTop:_0x552621}=_0x182969,_0x4e8560=new _0x36f7ce[(_0x5c42ba(0x38a))](_0x182969,_0x1c36ee);for(const {startOffset:_0x3569de,endOffset:_0x4ef6b4,rangeType:_0x476940,segmentId:_0x260646,segmentPage:_0xb03d05,collapsed:_0x201af3,isActive:_0x342244}of _0x51ee4b){const _0x34ad71=_0x1c36ee[_0x5c42ba(0x31d)](_0x3569de,!0x0,_0x260646,_0xb03d05);let _0x5423e4=_0x1c36ee[_0x5c42ba(0x31d)](_0x4ef6b4,!0x0,_0x260646,_0xb03d05);if(_0x5423e4==null&&(_0x5423e4=_0x1c36ee[_0x5c42ba(0x31d)](_0x4ef6b4-0x1,!0x1,_0x260646,_0xb03d05)),_0x342244){const {contentBoxPointGroup:_0x12dcbd}=_0x4e8560[_0x5c42ba(0x3de)](_0x5423e4,_0x5423e4);if(_0x12dcbd[_0x5c42ba(0x262)]===0x0)continue;this[_0x5c42ba(0x23a)](_0x214800,_0x12dcbd,_0x5150e8,_0x552621,_0xf57222),this[_0x5c42ba(0x2eb)]=this[_0x5c42ba(0x3e6)]();}if(_0x34ad71&&_0x5423e4){if(_0x476940===_0x5710d6[_0x5c42ba(0x251)][_0x5c42ba(0x2ca)]){const _0x9c50ac=new _0x36f7ce[(_0x5c42ba(0x29a))](_0x182969,_0x1c36ee),{pointGroup:_0x21f232}=(_0x1596e8=_0x9c50ac['getRangePointData'](_0x34ad71,_0x5423e4))!=null?_0x1596e8:{};if(_0x21f232==null||_0x21f232['length']===0x0)continue;this[_0x5c42ba(0x3fe)](_0x214800,_0x21f232,_0x5150e8,_0x552621);}else{if(!_0x201af3){const {borderBoxPointGroup:_0xa1a23e}=_0x4e8560[_0x5c42ba(0x3de)](_0x34ad71,_0x5423e4);if(_0xa1a23e[_0x5c42ba(0x262)]===0x0)continue;this[_0x5c42ba(0x2cb)](_0x214800,_0xa1a23e,_0x5150e8,_0x552621);}}}}}[_0x5a5110(0x23a)](_0x46c383,_0x4e4fb3,_0x5cec31,_0x22287d,_0x151b8e){const _0x514821=_0x5a5110,_0x2c4a7b=this[_0x514821(0x350)](_0x4e4fb3),{left:_0x28797f,top:_0x56ea7c,height:_0x481dbc}=_0x2c4a7b,_0x2c5696=this[_0x514821(0x2cd)](),_0x15db94=_0x1e4d03/_0x2c5696,_0x5aca51=new _0x5c441d['Rect'](_0x576f79+_0x5710d6[_0x514821(0x41e)][_0x514821(0x327)](_0x22d678),{'left':_0x28797f+_0x5cec31-_0x15db94,'top':_0x56ea7c+_0x22287d,'height':_0x481dbc,'width':_0x4a6d64,'fill':_0x46c383||_0x5c441d[_0x514821(0x307)](_0x5710d6[_0x514821(0x398)]['black'],0x0),'strokeWidth':_0x15db94,'stroke':_0x38e2aa,'evented':!0x0});this[_0x514821(0x40a)]=_0x5aca51,this[_0x514821(0x3e2)]['addObject'](_0x5aca51,_0x36f7ce[_0x514821(0x1c8)]);const _0x3c5f10=new _0x5c441d['Rect'](_0x576f79+_0x5710d6[_0x514821(0x41e)][_0x514821(0x327)](_0x22d678),{'left':_0x28797f+_0x5cec31-_0x15db94,'top':_0x56ea7c+_0x22287d-_0x26adae/0x2,'height':_0x26adae,'width':_0x26adae,'fill':_0x46c383||_0x5c441d[_0x514821(0x307)](_0x5710d6[_0x514821(0x398)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x46c383||_0x5c441d['getColor'](_0x5710d6[_0x514821(0x398)][_0x514821(0x2a5)],0x0),'evented':!0x1});this[_0x514821(0x30d)]=_0x3c5f10,this['_scene'][_0x514821(0x438)](_0x3c5f10,_0x36f7ce[_0x514821(0x1c8)]);const _0x1195e8=new _0x4aa1a9(_0x576f79+_0x5710d6[_0x514821(0x41e)][_0x514821(0x327)](_0x22d678),{'left':_0x28797f+_0x5cec31-_0x15db94,'top':_0x56ea7c+_0x22287d-_0x2d1066,'text':_0x151b8e,'color':_0x46c383});this['_textBubble']=_0x1195e8,this[_0x514821(0x3e2)][_0x514821(0x438)](_0x1195e8,_0x36f7ce['TEXT_RANGE_LAYER_INDEX']),this[_0x514821(0x40d)]=!0x1;}[_0x5a5110(0x3e6)](){const _0x938dd3=_0x5a5110,_0x52161e=this[_0x938dd3(0x40a)][_0x938dd3(0x2df)][_0x938dd3(0x389)](()=>{const _0x411291=_0x938dd3;this[_0x411291(0x40d)]=!0x0;}),_0x5112e9=this[_0x938dd3(0x40a)][_0x938dd3(0x22c)][_0x938dd3(0x389)](()=>{const _0x1434fa=_0x938dd3;this[_0x1434fa(0x1ea)]&&clearTimeout(this[_0x1434fa(0x1ea)]),this[_0x1434fa(0x1ea)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1c9d67=_0x938dd3;_0x52161e['unsubscribe'](),_0x5112e9[_0x1c9d67(0x1b5)]();};}[_0x5a5110(0x2cb)](_0x3a707f,_0x25d48e,_0x2d552c,_0xce0b9f){const _0x54830b=_0x5a5110,_0x1e6e37=new _0x5710d6['ColorKit'](_0x3a707f)[_0x54830b(0x3c2)](0.2)[_0x54830b(0x30e)](),_0x29866a=new _0x5c441d['RegularPolygon'](_0x289245+_0x5710d6[_0x54830b(0x41e)]['generateRandomId'](_0x22d678),{'pointsGroup':_0x25d48e,'fill':_0x1e6e37||_0x5c441d[_0x54830b(0x307)](_0x5710d6[_0x54830b(0x398)][_0x54830b(0x2a5)],0.2),'left':_0x2d552c,'top':_0xce0b9f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x54830b(0x403)](_0x29866a),this[_0x54830b(0x3e2)][_0x54830b(0x438)](_0x29866a,_0x36f7ce[_0x54830b(0x1c8)]);}[_0x5a5110(0x3fe)](_0x51a35d,_0x32f5b8,_0x475db2,_0x4daa2b){const _0x107007=_0x5a5110,_0x2fb15e=new _0x5710d6[(_0x107007(0x42c))](_0x51a35d)[_0x107007(0x3c2)](0.2)[_0x107007(0x30e)](),_0x482a85=new _0x5c441d[(_0x107007(0x407))](_0x4740ed+_0x5710d6[_0x107007(0x41e)]['generateRandomId'](_0x22d678),{'pointsGroup':_0x32f5b8,'fill':_0x2fb15e||_0x5c441d[_0x107007(0x307)](_0x5710d6[_0x107007(0x398)][_0x107007(0x2a5)],0.2),'left':_0x475db2,'top':_0x4daa2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x107007(0x3f3)][_0x107007(0x403)](_0x482a85),this[_0x107007(0x3e2)][_0x107007(0x438)](_0x482a85,_0x36f7ce['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x41b23b){const _0x1c60d3=_0x41b23b[0x0],_0x5b6b05=_0x1c60d3[0x0],_0x11d89=_0x1c60d3[0x2],{x:_0x2143b7,y:_0x1f3e99}=_0x5b6b05,{x:_0x4eba06,y:_0x359fcd}=_0x11d89;return{'left':_0x2143b7,'top':_0x1f3e99,'width':_0x4eba06-_0x2143b7,'height':_0x359fcd-_0x1f3e99};}[_0x5a5110(0x2cd)](){const _0x350d46=_0x5a5110,{scaleX:_0x395c54,scaleY:_0x3d4171}=this[_0x350d46(0x3e2)][_0x350d46(0x272)]();return Math[_0x350d46(0x1c5)](_0x395c54,_0x3d4171);}}var _0x194e89=Object[_0x5a5110(0x3c1)],_0x4f6b14=(_0x4d56b9,_0x187f86,_0x1c8693,_0x176f93)=>{const _0x3a8b74=_0x5a5110;for(var _0x21d3d8=_0x176f93>0x1?void 0x0:_0x176f93?_0x194e89(_0x187f86,_0x1c8693):_0x187f86,_0xa5edd5=_0x4d56b9[_0x3a8b74(0x262)]-0x1,_0x3b72d6;_0xa5edd5>=0x0;_0xa5edd5--)(_0x3b72d6=_0x4d56b9[_0xa5edd5])&&(_0x21d3d8=_0x3b72d6(_0x21d3d8)||_0x21d3d8);return _0x21d3d8;},_0x359baf=(_0x3ba9f4,_0x4eace8)=>(_0xd1ae75,_0x5769c2)=>_0x4eace8(_0xd1ae75,_0x5769c2,_0x3ba9f4);let _0x56ec54=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x476531,_0x35de46,_0x3454c1,_0x45de48,_0x5eb835){const _0x148fae=_0x5a5110;super(),_0xa4d578(this,'_cursorShapes',[]),_0xa4d578(this,_0x148fae(0x2b3),[]),(this[_0x148fae(0x419)]=_0x476531,this[_0x148fae(0x2bc)]=_0x35de46,this[_0x148fae(0x205)]=_0x3454c1,this[_0x148fae(0x411)]=_0x45de48,this['_themeService']=_0x5eb835,this[_0x148fae(0x3a0)]());}[_0x5a5110(0x3a0)](){const _0x35b735=_0x5a5110,_0x301c7c=this[_0x35b735(0x419)]['unitId'],_0x32a859=this[_0x35b735(0x2bc)];this['disposeWithMe'](_0x3ce9b4[_0x35b735(0x32f)]([this['_collabCursorController'][_0x35b735(0x337)](_0x301c7c),this['_themeService'][_0x35b735(0x2a2)]])[_0x35b735(0x1ee)](_0x59def4[_0x35b735(0x387)](([_0x3427d9,_0x516330])=>({'skeleton':_0x32a859[_0x35b735(0x2b1)](),'cursors':[..._0x3427d9[_0x35b735(0x3cc)]()][_0x35b735(0x2c3)](_0x42d1a3=>({..._0x42d1a3,'color':_0x516330[_0x42d1a3[_0x35b735(0x29f)]]}))})))['subscribe'](_0x446b39=>{const _0x533dcf=_0x35b735;if(this[_0x533dcf(0x348)](),_0x446b39){const {skeleton:_0x548a08,cursors:_0x4d18d2}=_0x446b39;this['_updateCollabCursors'](_0x548a08,_0x4d18d2);}})),this[_0x35b735(0x2be)](),this[_0x35b735(0x293)]();}[_0x5a5110(0x271)](_0x45fd11,_0x4aae37){const _0x29cf9e=_0x5a5110,{scene:_0x54c261,mainComponent:_0x27afb2}=this[_0x29cf9e(0x419)],_0x30401c=_0x4aae37[_0x29cf9e(0x387)](_0x11eb82=>new _0x2fa8dc(_0x11eb82,_0x54c261,_0x45fd11,_0x27afb2));this['_cursorShapes']=_0x30401c,this[_0x29cf9e(0x2b3)]=_0x4aae37;}['_refreshCollabCursors'](){const _0x5d9fe9=_0x5a5110;this[_0x5d9fe9(0x348)]();const {scene:_0x5234dc,mainComponent:_0x1cf9e0}=this[_0x5d9fe9(0x419)],_0x5955a3=this[_0x5d9fe9(0x2bc)][_0x5d9fe9(0x2b1)](),_0x801c73=this['_cursors'][_0x5d9fe9(0x387)](_0x1d8725=>new _0x2fa8dc(_0x1d8725,_0x5234dc,_0x5955a3,_0x1cf9e0));this['_cursorShapes']=_0x801c73;}['_removeCollabCursors'](){const _0x27c524=_0x5a5110;this[_0x27c524(0x36a)][_0x27c524(0x30c)](_0x88086b=>_0x88086b[_0x27c524(0x280)]()),this['_cursorShapes']=[];}[_0x5a5110(0x293)](){const _0x191501=_0x5a5110,_0x26eb19=[_0x36f7ce[_0x191501(0x1af)]['id']];this[_0x191501(0x1eb)](this[_0x191501(0x411)][_0x191501(0x344)](_0x5a262e=>{const _0x3f2ff8=_0x191501;_0x26eb19[_0x3f2ff8(0x276)](_0x5a262e['id'])&&_0x5a262e[_0x3f2ff8(0x31c)]['unitId']===this['_context'][_0x3f2ff8(0x3da)]&&this['_refreshCollabCursors']();}));}[_0x5a5110(0x2be)](){const _0x5b7b93=_0x5a5110;this[_0x5b7b93(0x1eb)](_0x5710d6[_0x5b7b93(0x341)](this[_0x5b7b93(0x419)][_0x5b7b93(0x1a9)][_0x5b7b93(0x308)])[_0x5b7b93(0x1ee)](_0x59def4[_0x5b7b93(0x301)](_0x53dd63=>_0x53dd63['type']===_0x5c441d[_0x5b7b93(0x267)]['resize']),_0x59def4['throttleTime'](0x10))[_0x5b7b93(0x3d6)](()=>{this['_refreshCollabCursors']();}));}};_0x56ec54=_0x4f6b14([_0x359baf(0x1,_0x5710d6['Inject'](_0x139315['DocSkeletonManagerService'])),_0x359baf(0x2,_0x5710d6[_0x5a5110(0x212)](_0x377ca6)),_0x359baf(0x3,_0x5710d6[_0x5a5110(0x1de)]),_0x359baf(0x4,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x256)]))],_0x56ec54);const _0x410006=0x1,_0x35ab2f=1.5;class _0x20d652 extends _0x5c441d['Shape']{constructor(_0x104a0c,_0x2bba3a){const _0x3a592d=_0x5a5110;super(_0x104a0c,_0x2bba3a),_0xa4d578(this,'_color'),_0xa4d578(this,_0x3a592d(0x246),!0x1),_0xa4d578(this,_0x3a592d(0x437)),_0xa4d578(this,'_name',''),_0xa4d578(this,_0x3a592d(0x33a),_0x3a592d(0x259)),_0xa4d578(this,_0x3a592d(0x244)),(_0x2bba3a&&this[_0x3a592d(0x3c8)](_0x2bba3a),this[_0x3a592d(0x2df)][_0x3a592d(0x389)](()=>this[_0x3a592d(0x3c8)]({'hovered':!0x0})),this[_0x3a592d(0x22c)][_0x3a592d(0x389)](()=>this[_0x3a592d(0x3c8)]({'hovered':!0x1})));}[_0x5a5110(0x3c8)](_0x46c130){const _0x5ec590=_0x5a5110;var _0x1fbeb8,_0x3d5b9e,_0x197d09,_0x43a7a3,_0x4a751f,_0x289431;this[_0x5ec590(0x2fd)]=(_0x1fbeb8=_0x46c130[_0x5ec590(0x29f)])!=null?_0x1fbeb8:this[_0x5ec590(0x2fd)],this[_0x5ec590(0x246)]=(_0x3d5b9e=_0x46c130[_0x5ec590(0x37c)])!=null?_0x3d5b9e:this[_0x5ec590(0x246)],this[_0x5ec590(0x437)]=(_0x197d09=_0x46c130[_0x5ec590(0x247)])!=null?_0x197d09:this[_0x5ec590(0x437)],this['_name']=(_0x43a7a3=_0x46c130[_0x5ec590(0x23e)])!=null?_0x43a7a3:this[_0x5ec590(0x392)],this['_labelPosition']=(_0x4a751f=_0x46c130[_0x5ec590(0x1f1)])!=null?_0x4a751f:this[_0x5ec590(0x33a)],this[_0x5ec590(0x244)]=(_0x289431=_0x46c130[_0x5ec590(0x3b0)])!=null?_0x289431:this[_0x5ec590(0x244)],this['transformByState']({'width':_0x46c130[_0x5ec590(0x20c)],'height':_0x46c130[_0x5ec590(0x2a3)]});}[_0x5a5110(0x207)](_0x26f4e0){const _0x2c31b8=_0x5a5110,{row:_0x1b79e9,column:_0x4b61ca}=_0x26f4e0;if(_0x1b79e9>=this[_0x2c31b8(0x437)][_0x2c31b8(0x3fb)]&&_0x1b79e9<=this['_range'][_0x2c31b8(0x284)]&&_0x4b61ca>=this[_0x2c31b8(0x437)]['startColumn']&&_0x4b61ca<=this['_range'][_0x2c31b8(0x347)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2c31b8(0x3c8)]({'hovered':!0x1});}['triggerDblclick'](_0x1050e8){return!0x1;}[_0x5a5110(0x40b)](_0x559eac){const _0x56f5fa=_0x5a5110;_0x5c441d[_0x56f5fa(0x220)][_0x56f5fa(0x371)](_0x559eac,{'width':this[_0x56f5fa(0x20c)],'height':this['height'],'strokeWidth':_0x35ab2f,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x56f5fa(0x246)]&&(_0x559eac[_0x56f5fa(0x3a7)](),_0x559eac[_0x56f5fa(0x351)](0x1,0x0,0x0,0x1,this[_0x56f5fa(0x20c)],this[_0x56f5fa(0x33a)]===_0x56f5fa(0x2ec)?0x0:-0x14),_0x4aa1a9[_0x56f5fa(0x371)](_0x559eac,{'text':this['_name'],'color':this['_color']}),_0x559eac[_0x56f5fa(0x2ef)]());}}var _0x1c5d34=Object[_0x5a5110(0x3c1)],_0x1fa107=(_0x52522a,_0x55610f,_0x179168,_0x327caf)=>{const _0x13bdd6=_0x5a5110;for(var _0x1f5eff=_0x327caf>0x1?void 0x0:_0x327caf?_0x1c5d34(_0x55610f,_0x179168):_0x55610f,_0x19793b=_0x52522a[_0x13bdd6(0x262)]-0x1,_0x160324;_0x19793b>=0x0;_0x19793b--)(_0x160324=_0x52522a[_0x19793b])&&(_0x1f5eff=_0x160324(_0x1f5eff)||_0x1f5eff);return _0x1f5eff;},_0xf22cdf=(_0x590799,_0x4ce3df)=>(_0x1d500b,_0x31ca74)=>_0x4ce3df(_0x1d500b,_0x31ca74,_0x590799);const _0x59b891=0x1389;let _0x158bcb=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0xb07821,_0x157c5e,_0x17210e,_0x2e99f5){const _0x14519a=_0x5a5110;super(),_0xa4d578(this,_0x14519a(0x2b3),new Set()),_0xa4d578(this,_0x14519a(0x1e5),null),(this['_context']=_0xb07821,this[_0x14519a(0x415)]=_0x157c5e,this['_collabCursorController']=_0x17210e,this[_0x14519a(0x1d1)]=_0x2e99f5,this[_0x14519a(0x3a0)]());}[_0x5a5110(0x3a0)](){const _0xed09f2=_0x5a5110;this[_0xed09f2(0x415)][_0xed09f2(0x1c6)]['pipe'](_0x59def4[_0xed09f2(0x40f)](this[_0xed09f2(0x3bd)]),_0x59def4['switchMap'](_0x1cea2b=>{const _0x1a18a7=_0xed09f2;if(_0x1cea2b){const _0x5eb4e5=_0x1cea2b[_0x1a18a7(0x402)];return _0x3ce9b4['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this[_0x1a18a7(0x419)][_0x1a18a7(0x3da)]),this['_themeService'][_0x1a18a7(0x2a2)])[_0x1a18a7(0x1ee)](_0x59def4[_0x1a18a7(0x387)](([_0x30e421,_0x30923d])=>{const _0x1ae6df=_0x1a18a7,_0x36c903=new Map();return _0x30e421[_0x1ae6df(0x30c)]((_0x473f38,_0x465587)=>{const _0x454d53=_0x1ae6df;if(_0x473f38[_0x454d53(0x35e)]===_0x5eb4e5){const _0x1d12b0={..._0x473f38};_0x1d12b0[_0x454d53(0x29f)]=_0x30923d[_0x473f38[_0x454d53(0x29f)]],_0x36c903[_0x454d53(0x2ee)](_0x465587,_0x1d12b0);}}),{'skeleton':_0x1cea2b,'cursors':_0x36c903};}));}return _0x3ce9b4['of']({'skeleton':null,'cursors':new Map()});}))[_0xed09f2(0x3d6)](({skeleton:_0x4c2fd2,cursors:_0x1e6d9e})=>{const _0x285c03=_0xed09f2;this[_0x285c03(0x348)](),_0x4c2fd2&&this[_0x285c03(0x271)](_0x4c2fd2,_0x1e6d9e);}),this['_sheetSkeletonManagerService'][_0xed09f2(0x1c6)][_0xed09f2(0x3d6)](_0x98b0f7=>{const _0x405f22=_0xed09f2;if(_0x98b0f7==null)return;const {skeleton:_0x98c9cf}=_0x98b0f7,{scene:_0x2f4087}=this[_0x405f22(0x419)];_0x2f4087[_0x405f22(0x242)][_0x405f22(0x389)](_0x5710d6[_0x405f22(0x2b4)](_0x4c13dc=>{const _0x50e25b=_0x405f22;var _0x2aa60b,_0xcac969;const {offsetX:_0x5d1fee,offsetY:_0x2ec7f1}=_0x4c13dc,{x:_0x3c95be,y:_0x379099}=_0x2f4087['getRelativeToViewportCoord'](_0x5c441d['Vector2']['FromArray']([_0x5d1fee,_0x2ec7f1])),{scaleX:_0x386ad2,scaleY:_0xe8434e}=_0x2f4087[_0x50e25b(0x272)](),_0x58cb47=_0x2f4087['getViewport'](_0x5c441d[_0x50e25b(0x333)]['VIEW_MAIN']),_0x3c161f=_0x2f4087[_0x50e25b(0x314)](_0x5c441d[_0x50e25b(0x2bb)][_0x50e25b(0x38d)]([_0x3c95be,_0x379099]),_0x58cb47),_0x625b9=_0x98c9cf[_0x50e25b(0x43c)](_0x5d1fee,_0x2ec7f1,_0x386ad2,_0xe8434e,_0x3c161f);((_0x2aa60b=this['_lastPointer'])==null?void 0x0:_0x2aa60b[_0x50e25b(0x2bf)])===_0x625b9[_0x50e25b(0x2bf)]&&((_0xcac969=this[_0x50e25b(0x1e5)])==null?void 0x0:_0xcac969['row'])===_0x625b9[_0x50e25b(0x34b)]||this[_0x50e25b(0x2b3)]['forEach'](_0x4c78ce=>{const _0x1ea14c=_0x50e25b;_0x4c78ce[_0x1ea14c(0x207)](_0x625b9);});},0x64));});}[_0x5a5110(0x271)](_0x1fa1f4,_0x1c25a0){const _0x4e3609=_0x5a5110;var _0xaeb5bb;const _0x24a77e=(_0xaeb5bb=this[_0x4e3609(0x415)][_0x4e3609(0x3c7)]())==null?void 0x0:_0xaeb5bb[_0x4e3609(0x23c)];if(!_0x24a77e)return;const _0x14ba90=this['_getSheetObject']();if(!_0x14ba90)return;this[_0x4e3609(0x2b3)][_0x4e3609(0x30c)](_0x116235=>{const _0xbfc18b=_0x4e3609;_0x116235[_0xbfc18b(0x1f8)]();});const {scene:_0x5692e1}=_0x14ba90,_0x2eca6a=_0x2f9a73(Array['from'](_0x1c25a0['values']()))['map'](_0x1d7489=>{const _0x38298b=_0x4e3609,{color:_0x147634,range:_0x52bd25,name:_0x4f46d4,selection:_0x191f5f,sheetID:_0x353b7b}=_0x1d7489,{startColumn:_0x360966,startRow:_0x23ea57,endColumn:_0x255e0b,endRow:_0x491061}=_0x52bd25,_0x838733=_0x2d636c['getCoordByCell'](_0x23ea57,_0x360966,_0x5692e1,_0x24a77e),_0x75e840=_0x2d636c[_0x38298b(0x3ce)](_0x491061,_0x255e0b,_0x5692e1,_0x24a77e),{columnHeaderHeightAndMarginTop:_0x12d33d}=_0x24a77e,{startX:_0x448926,startY:_0x47909f}=_0x838733,{endX:_0x37d4a0,endY:_0x32ec19}=_0x75e840,_0x1d65ff=_0x37d4a0-_0x448926,_0x4c2f7a=_0x32ec19-_0x47909f,_0x45be03={'labelPosition':_0x47909f-_0x12d33d>=_0x2d1066?'top':'bottom','sheetID':_0x353b7b,'range':_0x52bd25,'color':_0x147634,'name':_0x4f46d4,'selection':_0x191f5f,'left':_0x448926,'top':_0x47909f,'width':_0x1d65ff,'height':_0x4c2f7a,'evented':!0x1,'zIndex':_0x59b891};return new _0x20d652(_0x4f46d4,_0x45be03);});_0x5692e1['addObjects'](_0x2eca6a,_0x410006),this[_0x4e3609(0x2b3)]=new Set(_0x2eca6a);}[_0x5a5110(0x348)](){const _0x8990eb=_0x5a5110;var _0x9f25b5;(_0x9f25b5=this[_0x8990eb(0x2b3)])==null||_0x9f25b5['forEach'](_0x4022f9=>_0x4022f9['dispose']());}['_getSheetObject'](){const _0x1327a9=_0x5a5110;return _0x2d636c['getSheetObject'](this['_context'][_0x1327a9(0x211)],this['_context']);}};_0x158bcb=_0x1fa107([_0xf22cdf(0x1,_0x5710d6[_0x5a5110(0x212)](_0x2d636c[_0x5a5110(0x203)])),_0xf22cdf(0x2,_0x5710d6[_0x5a5110(0x212)](_0x377ca6)),_0xf22cdf(0x3,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x256)]))],_0x158bcb);function _0x2f9a73(_0x5e3ddf){const _0x519929=_0x5a5110,_0x65ddf6=new Map();return _0x5e3ddf[_0x519929(0x30c)](_0x22e25d=>{const _0x2b82d1=_0x519929;if(_0x65ddf6[_0x2b82d1(0x2e6)](_0x22e25d[_0x2b82d1(0x26a)])){const _0x2df2a1=_0x65ddf6['get'](_0x22e25d[_0x2b82d1(0x26a)]);_0x2df2a1[_0x2b82d1(0x23e)]+=',\x20'+_0x22e25d[_0x2b82d1(0x23e)];}else _0x65ddf6[_0x2b82d1(0x2ee)](_0x22e25d[_0x2b82d1(0x26a)],_0x22e25d);}),Array[_0x519929(0x202)](_0x65ddf6[_0x519929(0x3cc)]());}var _0x3fb029=function(){const _0x33371d=_0x5a5110;return _0x3fb029=Object[_0x33371d(0x3dd)]||function(_0x47a54e){const _0x2f9f6b=_0x33371d;for(var _0x2010dd,_0x4d9198=0x1,_0x5acdd5=arguments[_0x2f9f6b(0x262)];_0x4d9198<_0x5acdd5;_0x4d9198++){_0x2010dd=arguments[_0x4d9198];for(var _0x370a36 in _0x2010dd)Object['prototype'][_0x2f9f6b(0x3be)][_0x2f9f6b(0x3b8)](_0x2010dd,_0x370a36)&&(_0x47a54e[_0x370a36]=_0x2010dd[_0x370a36]);}return _0x47a54e;},_0x3fb029[_0x33371d(0x3d3)](this,arguments);},_0x2b222f=function(_0x367551,_0x14e437){const _0x5c9c96=_0x5a5110;var _0x311616={};for(var _0x39f2f3 in _0x367551)Object['prototype'][_0x5c9c96(0x3be)][_0x5c9c96(0x3b8)](_0x367551,_0x39f2f3)&&_0x14e437[_0x5c9c96(0x20f)](_0x39f2f3)<0x0&&(_0x311616[_0x39f2f3]=_0x367551[_0x39f2f3]);if(_0x367551!=null&&typeof Object['getOwnPropertySymbols']==_0x5c9c96(0x3bf)){for(var _0x560bed=0x0,_0x39f2f3=Object[_0x5c9c96(0x26e)](_0x367551);_0x560bed<_0x39f2f3['length'];_0x560bed++)_0x14e437[_0x5c9c96(0x20f)](_0x39f2f3[_0x560bed])<0x0&&Object[_0x5c9c96(0x218)][_0x5c9c96(0x408)]['call'](_0x367551,_0x39f2f3[_0x560bed])&&(_0x311616[_0x39f2f3[_0x560bed]]=_0x367551[_0x39f2f3[_0x560bed]]);}return _0x311616;},_0x577efc=_0x2913b7[_0x5a5110(0x200)](function(_0x3fe78f,_0x2bd921){const _0x7d6ab5=_0x5a5110;var _0x250e75=_0x3fe78f[_0x7d6ab5(0x339)],_0xe180d5=_0x3fe78f['id'],_0x533410=_0x3fe78f[_0x7d6ab5(0x1dd)],_0x541feb=_0x3fe78f['extend'],_0x364805=_0x2b222f(_0x3fe78f,[_0x7d6ab5(0x339),'id',_0x7d6ab5(0x1dd),_0x7d6ab5(0x291)]),_0x314b90=_0x7d6ab5(0x1b6)[_0x7d6ab5(0x306)](_0xe180d5,'\x20')[_0x7d6ab5(0x306)](_0x533410||'')[_0x7d6ab5(0x303)](),_0xc45a02=_0x2913b7[_0x7d6ab5(0x2aa)]('_'[_0x7d6ab5(0x306)](_0x5d1da5()));return _0x568cfd(_0x250e75,''['concat'](_0xe180d5),{'defIds':_0x250e75['defIds'],'idSuffix':_0xc45a02[_0x7d6ab5(0x317)]},_0x3fb029({'ref':_0x2bd921,'className':_0x314b90},_0x364805),_0x541feb);});function _0x568cfd(_0x3fbf8c,_0x236f17,_0x3d7e6d,_0x146ce9,_0x1c6b87){const _0x38cd4e=_0x5a5110;return _0x2913b7[_0x38cd4e(0x1cd)](_0x3fbf8c[_0x38cd4e(0x230)],_0x3fb029(_0x3fb029({'key':_0x236f17},_0x247b7d(_0x3fbf8c,_0x3d7e6d,_0x1c6b87)),_0x146ce9),(_0x12001c(_0x3fbf8c,_0x3d7e6d)[_0x38cd4e(0x326)]||[])['map'](function(_0x1a7d5c,_0x1474b4){const _0x5a4d9e=_0x38cd4e;return _0x568cfd(_0x1a7d5c,''['concat'](_0x236f17,'-')[_0x5a4d9e(0x306)](_0x3fbf8c[_0x5a4d9e(0x230)],'-')['concat'](_0x1474b4),_0x3d7e6d,void 0x0,_0x1c6b87);}));}function _0x247b7d(_0x23f923,_0x2e16e0,_0x327802){const _0x272899=_0x5a5110;var _0x3befe9=_0x3fb029({},_0x23f923[_0x272899(0x422)]);_0x327802!=null&&_0x327802[_0x272899(0x3d4)]&&_0x3befe9['fill']===_0x272899(0x3d4)&&(_0x3befe9[_0x272899(0x3ff)]=_0x327802[_0x272899(0x3d4)]),_0x23f923['tag']===_0x272899(0x27c)&&_0x3befe9['id']&&(_0x3befe9['id']=_0x3befe9['id']+_0x2e16e0[_0x272899(0x1da)]),Object[_0x272899(0x37f)](_0x3befe9)['forEach'](function(_0x7b79c0){const _0x2c1dd9=_0x272899;var _0x5f1848=_0x7b79c0[0x0],_0x32a7d4=_0x7b79c0[0x1];_0x5f1848==='mask'&&typeof _0x32a7d4=='string'&&(_0x3befe9[_0x5f1848]=_0x32a7d4[_0x2c1dd9(0x21b)](/url\(#(.*)\)/,_0x2c1dd9(0x1d9)[_0x2c1dd9(0x306)](_0x2e16e0[_0x2c1dd9(0x1da)],')')));});var _0x5d195d=_0x2e16e0[_0x272899(0x2a1)];return!_0x5d195d||_0x5d195d[_0x272899(0x262)]===0x0||(_0x23f923[_0x272899(0x230)]==='use'&&_0x3befe9[_0x272899(0x304)]&&(_0x3befe9['xlink:href']=_0x3befe9[_0x272899(0x304)]+_0x2e16e0[_0x272899(0x1da)]),Object[_0x272899(0x37f)](_0x3befe9)[_0x272899(0x30c)](function(_0x379f31){const _0x405c5b=_0x272899;var _0x155218=_0x379f31[0x0],_0x50d859=_0x379f31[0x1];typeof _0x50d859==_0x405c5b(0x441)&&(_0x3befe9[_0x155218]=_0x50d859[_0x405c5b(0x21b)](/url\(#(.*)\)/,_0x405c5b(0x1d9)['concat'](_0x2e16e0['idSuffix'],')')));})),_0x3befe9;}function _0x12001c(_0xbe7a23,_0x1b6b52){const _0x1c8f5d=_0x5a5110;var _0x83841d,_0x1ffbb3=_0x1b6b52[_0x1c8f5d(0x2a1)];return!_0x1ffbb3||_0x1ffbb3['length']===0x0?_0xbe7a23:_0xbe7a23[_0x1c8f5d(0x230)]==='defs'&&(!((_0x83841d=_0xbe7a23[_0x1c8f5d(0x326)])===null||_0x83841d===void 0x0)&&_0x83841d[_0x1c8f5d(0x262)])?_0x3fb029(_0x3fb029({},_0xbe7a23),{'children':_0xbe7a23[_0x1c8f5d(0x326)][_0x1c8f5d(0x387)](function(_0x43aa50){const _0x4fb27b=_0x1c8f5d;return typeof _0x43aa50['attrs']['id']=='string'&&_0x1ffbb3&&_0x1ffbb3['indexOf'](_0x43aa50['attrs']['id'])>-0x1?_0x3fb029(_0x3fb029({},_0x43aa50),{'attrs':_0x3fb029(_0x3fb029({},_0x43aa50['attrs']),{'id':_0x43aa50[_0x4fb27b(0x422)]['id']+_0x1b6b52[_0x4fb27b(0x1da)]})}):_0x43aa50;})}):_0xbe7a23;}function _0x5d1da5(){const _0xd1cfed=_0x5a5110;return Math[_0xd1cfed(0x43e)]()['toString'](0x24)[_0xd1cfed(0x2fb)](0x2,0x8);}_0x577efc[_0x5a5110(0x2e4)]='UniverIcon';var _0x36764b={'tag':_0x5a5110(0x340),'attrs':{'fill':'none','viewBox':_0x5a5110(0x380),'width':_0x5a5110(0x3a3),'height':_0x5a5110(0x3a3)},'children':[{'tag':'g','attrs':{'clipPath':_0x5a5110(0x420)},'children':[{'tag':_0x5a5110(0x3d5),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x5a5110(0x366),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5a5110(0x1c9)},'children':[{'tag':_0x5a5110(0x3d5),'attrs':{'fill':'#fff','d':_0x5a5110(0x3e5)}}]}]}],'defIds':[_0x5a5110(0x1c9)]},_0x3d3451=_0x2913b7[_0x5a5110(0x200)](function(_0x50acbf,_0x18434e){const _0x2306dc=_0x5a5110;return _0x2913b7['createElement'](_0x577efc,Object[_0x2306dc(0x3dd)]({},_0x50acbf,{'id':_0x2306dc(0x245),'ref':_0x18434e,'icon':_0x36764b}));});_0x3d3451['displayName']=_0x5a5110(0x35f);var _0x40fc1c={'tag':_0x5a5110(0x340),'attrs':{'fill':_0x5a5110(0x3b7),'viewBox':_0x5a5110(0x312),'width':_0x5a5110(0x3a3),'height':_0x5a5110(0x3a3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x5a5110(0x404),'d':_0x5a5110(0x2ed),'strokeLinecap':'round','strokeLinejoin':_0x5a5110(0x366),'strokeWidth':1.2}}]},{'tag':_0x5a5110(0x2ab),'attrs':{},'children':[{'tag':_0x5a5110(0x22a),'attrs':{'id':_0x5a5110(0x233)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x5a5110(0x3e5),'transform':_0x5a5110(0x2d3)}}]}]}],'defIds':[_0x5a5110(0x233)]},_0x38dd67=_0x2913b7[_0x5a5110(0x200)](function(_0x4562ba,_0x1936c3){const _0xde78c9=_0x5a5110;return _0x2913b7[_0xde78c9(0x1cd)](_0x577efc,Object['assign']({},_0x4562ba,{'id':_0xde78c9(0x3e8),'ref':_0x1936c3,'icon':_0x40fc1c}));});_0x38dd67[_0x5a5110(0x2e4)]=_0x5a5110(0x2dd);function _0xeeca94(_0x3b1944){const _0x44f707=_0x5a5110;switch(_0x3b1944){case _0x120448['CollaborationStatus'][_0x44f707(0x25c)]:return _0x44f707(0x3e9);case _0x120448[_0x44f707(0x440)][_0x44f707(0x1b4)]:return _0x44f707(0x21e);case _0x120448[_0x44f707(0x440)][_0x44f707(0x234)]:return _0x44f707(0x23f);case _0x120448[_0x44f707(0x440)][_0x44f707(0x349)]:return'collabStatus.notCollab';case _0x120448['CollaborationStatus'][_0x44f707(0x20e)]:case _0x120448['CollaborationStatus'][_0x44f707(0x379)]:return _0x44f707(0x3fc);case _0x120448['CollaborationStatus'][_0x44f707(0x375)]:case _0x120448['CollaborationStatus'][_0x44f707(0x286)]:return _0x44f707(0x38e);}}function _0x251989(_0x1dc541){const _0x518b1c=_0x5a5110,{status$:_0x5673f5}=_0x1dc541,_0x198e4b=_0x3af2f3[_0x518b1c(0x3c4)](_0x5673f5,_0x120448[_0x518b1c(0x440)][_0x518b1c(0x349)]),_0x10a86e=_0x3af2f3[_0x518b1c(0x269)](_0x5710d6[_0x518b1c(0x1bf)]),_0x2a0bf9=_0x3af2f3['useDependency'](_0x120448['CollaborationSessionService']),_0x1ea0e0=_0x198e4b!==_0x120448[_0x518b1c(0x440)][_0x518b1c(0x25c)],_0x291dee=_0x10a86e['t'](_0xeeca94(_0x198e4b)),_0x46ece5=_0x1ea0e0?_0x3ae0da[_0x518b1c(0x41f)](_0x38dd67,{}):_0x3ae0da[_0x518b1c(0x41f)](_0x3d3451,{}),_0x5d39c8=_0x2913b7[_0x518b1c(0x1b8)](()=>{const _0x2a44f2=_0x518b1c;_0x1ea0e0||_0x2a0bf9[_0x2a44f2(0x34d)]();},[_0x1ea0e0,_0x2a0bf9]);function _0x57d3bd(){const _0x1f7141=_0x518b1c;return _0x3ae0da[_0x1f7141(0x2da)](_0x1f7141(0x3af),{'className':_0x1f7141(0x3dc),'onClick':_0x5d39c8,'children':[_0x3ae0da[_0x1f7141(0x41f)](_0x1f7141(0x3af),{'className':_0x56069d['clsx'](_0x1f7141(0x1d6),_0x1ea0e0?'univer-text-green-500':_0x1f7141(0x3e0)),'children':_0x46ece5}),_0x3ae0da[_0x1f7141(0x41f)](_0x1f7141(0x3af),{'className':_0x1f7141(0x368),'children':_0x291dee})]});}return _0x1ea0e0?_0x57d3bd():_0x3ae0da[_0x518b1c(0x41f)](_0x56069d[_0x518b1c(0x425)],{'title':_0x10a86e['t']('collab-client.tooltip.reconnect'),'children':_0x57d3bd()});}var _0x10e15c=Object['getOwnPropertyDescriptor'],_0x461402=(_0x1b9e19,_0x3fdd06,_0x8c1cd0,_0x24b73c)=>{const _0xb77ee6=_0x5a5110;for(var _0x3b57bf=_0x24b73c>0x1?void 0x0:_0x24b73c?_0x10e15c(_0x3fdd06,_0x8c1cd0):_0x3fdd06,_0xb1377f=_0x1b9e19[_0xb77ee6(0x262)]-0x1,_0x4987c4;_0xb1377f>=0x0;_0xb1377f--)(_0x4987c4=_0x1b9e19[_0xb1377f])&&(_0x3b57bf=_0x4987c4(_0x3b57bf)||_0x3b57bf);return _0x3b57bf;},_0x510a95=(_0x1eeb9b,_0x56da11)=>(_0x54da6d,_0x4ac459)=>_0x56da11(_0x54da6d,_0x4ac459,_0x1eeb9b);_0x10d773[_0x5a5110(0x1e3)]=class extends _0x5710d6[_0x5a5110(0x274)]{constructor(_0x45a7b6,_0x53ad58,_0x4cda6d,_0x115490){const _0x102ea3=_0x5a5110;super(),_0xa4d578(this,_0x102ea3(0x39b),new _0x3ce9b4[(_0x102ea3(0x228))](_0x120448[_0x102ea3(0x440)][_0x102ea3(0x349)])),(this[_0x102ea3(0x311)]=_0x45a7b6,this['_injector']=_0x53ad58,this[_0x102ea3(0x3f1)]=_0x4cda6d,this[_0x102ea3(0x20b)]=_0x115490,this[_0x102ea3(0x25a)](),this[_0x102ea3(0x373)]());}[_0x5a5110(0x373)](){const _0x3edf6e=_0x5a5110;this[_0x3edf6e(0x1eb)](this[_0x3edf6e(0x311)][_0x3edf6e(0x1be)][_0x3edf6e(0x1ee)](_0x3ce9b4[_0x3edf6e(0x249)](()=>{const _0x319b57=_0x3edf6e,_0x3cb02a=this[_0x319b57(0x311)][_0x319b57(0x3b4)]();return _0x3cb02a?this['_collaborationController'][_0x319b57(0x252)](_0x3cb02a[_0x319b57(0x39f)]()):_0x3ce9b4['of'](null);}),_0x3ce9b4['switchMap'](_0x3052ce=>_0x3052ce?_0x3052ce[_0x3edf6e(0x22f)]:_0x3ce9b4['of'](_0x120448[_0x3edf6e(0x440)][_0x3edf6e(0x349)])))[_0x3edf6e(0x3d6)](_0x5ba7d0=>{const _0x10d320=_0x3edf6e;this[_0x10d320(0x39b)][_0x10d320(0x209)](_0x5ba7d0);}));}[_0x5a5110(0x25a)](){const _0xa016ce=_0x5a5110;this[_0xa016ce(0x1eb)](this[_0xa016ce(0x20b)][_0xa016ce(0x37e)](_0x3af2f3['BuiltInUIPart'][_0xa016ce(0x396)],()=>_0x3af2f3[_0xa016ce(0x1b2)](_0x47ddf7({'status$':this[_0xa016ce(0x39b)][_0xa016ce(0x390)]()}),this[_0xa016ce(0x2dc)])));}},_0x10d773[_0x5a5110(0x1e3)]=_0x461402([_0x510a95(0x0,_0x5710d6[_0x5a5110(0x356)]),_0x510a95(0x1,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x235)])),_0x510a95(0x2,_0x5710d6[_0x5a5110(0x212)](_0x120448[_0x5a5110(0x2b0)])),_0x510a95(0x3,_0x3af2f3['IUIPartsService'])],_0x10d773[_0x5a5110(0x1e3)]);function _0x47ddf7(_0x2cf799){const {status$:_0xc8855b}=_0x2cf799;return function(){const _0x42e294=_0x1924;return _0x3ae0da[_0x42e294(0x41f)](_0x251989,{'status$':_0xc8855b});};}var _0x548f85=Object[_0x5a5110(0x3c1)],_0x740a72=(_0x93af31,_0x29e7c0,_0xd631c7,_0x173530)=>{const _0x2d0eed=_0x5a5110;for(var _0x2f5386=_0x173530>0x1?void 0x0:_0x173530?_0x548f85(_0x29e7c0,_0xd631c7):_0x29e7c0,_0x793121=_0x93af31[_0x2d0eed(0x262)]-0x1,_0x5a08ba;_0x793121>=0x0;_0x793121--)(_0x5a08ba=_0x93af31[_0x793121])&&(_0x2f5386=_0x5a08ba(_0x2f5386)||_0x2f5386);return _0x2f5386;},_0xa81458=(_0x17b9de,_0xe0a6)=>(_0x227ab4,_0x2ce94e)=>_0xe0a6(_0x227ab4,_0x2ce94e,_0x17b9de);let _0x1a8f5b=class extends _0x5710d6['Disposable']{constructor(_0x339799,_0x5a1de6,_0x2ccf47,_0x282e78,_0x40f256,_0x465e75){const _0x26897b=_0x5a5110;super(),this[_0x26897b(0x2b9)]=_0x339799,this[_0x26897b(0x27d)]=_0x5a1de6,this[_0x26897b(0x298)]=_0x2ccf47,this['_messageService']=_0x282e78,this[_0x26897b(0x417)]=_0x40f256,this[_0x26897b(0x393)]=_0x465e75,this[_0x26897b(0x41a)](),this[_0x26897b(0x343)]();}[_0x5a5110(0x41a)](){const _0x57152d=_0x5a5110;this[_0x57152d(0x1eb)](this[_0x57152d(0x2b9)][_0x57152d(0x1c4)](()=>{const _0x48a29f=_0x57152d;if(this[_0x48a29f(0x27d)][_0x48a29f(0x1b9)]['size'])return this['_localeService']['t'](_0x48a29f(0x1f3));}));}[_0x5a5110(0x343)](){const _0x12f3f8=_0x5a5110;this[_0x12f3f8(0x1eb)](this[_0x12f3f8(0x298)]['event$'][_0x12f3f8(0x3d6)](_0x5193f9=>{const _0x2a9a27=_0x12f3f8;_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x391)]&&this['_messageService'][_0x2a9a27(0x261)]({'type':_0x56069d[_0x2a9a27(0x3e1)][_0x2a9a27(0x385)],'content':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x3d7))}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)]['CLOSE_ROOM']&&this['_messageService'][_0x2a9a27(0x261)]({'type':_0x56069d[_0x2a9a27(0x3e1)][_0x2a9a27(0x385)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x374)]&&this[_0x2a9a27(0x417)]['show']({'title':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x3b2)),'content':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x232)),'type':_0x2a9a27(0x3f9),'duration':0x0}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x1b4)]&&this[_0x2a9a27(0x33f)][_0x2a9a27(0x261)]({'type':_0x56069d[_0x2a9a27(0x3e1)][_0x2a9a27(0x279)],'content':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x1c1))+'('+_0x5193f9[_0x2a9a27(0x30b)]+')'}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x1cf)]&&this[_0x2a9a27(0x33f)]['show']({'type':_0x56069d[_0x2a9a27(0x3e1)][_0x2a9a27(0x385)],'content':this['_localeService']['t'](_0x5193f9[_0x2a9a27(0x30b)]||'')}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x2a9a27(0x261)]({'type':_0x56069d['MessageType'][_0x2a9a27(0x385)],'content':this[_0x2a9a27(0x393)]['t']('session.will-retry')}),_0x5193f9['id']===_0x120448['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x2a9a27(0x33f)][_0x2a9a27(0x261)]({'type':_0x56069d[_0x2a9a27(0x3e1)]['Error'],'content':this[_0x2a9a27(0x393)]['t'](_0x2a9a27(0x41d))}),_0x5193f9['id']===_0x120448[_0x2a9a27(0x40e)][_0x2a9a27(0x442)]&&this[_0x2a9a27(0x33f)][_0x2a9a27(0x261)]({'type':_0x56069d['MessageType'][_0x2a9a27(0x279)],'content':this[_0x2a9a27(0x393)]['t']('session.collaboration-timeout')});}));}};_0x1a8f5b=_0x740a72([_0xa81458(0x0,_0x3af2f3[_0x5a5110(0x384)]),_0xa81458(0x1,_0x120448[_0x5a5110(0x3c0)]),_0xa81458(0x2,_0x5710d6[_0x5a5110(0x212)](_0x120448[_0x5a5110(0x297)])),_0xa81458(0x3,_0x3af2f3[_0x5a5110(0x310)]),_0xa81458(0x4,_0x3af2f3[_0x5a5110(0x265)]),_0xa81458(0x5,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x1bf)]))],_0x1a8f5b);const _0x5c5d7c='collaboration-client-ui.config',_0x592971={},_0x1a9a4c=_0x5710d6['createIdentifier'](_0x5a5110(0x42e));var _0x392c8a=Object[_0x5a5110(0x3c1)],_0x4285a6=(_0x15d66f,_0x31cfb4,_0x5e7529,_0x116c22)=>{for(var _0x48ffd4=_0x116c22>0x1?void 0x0:_0x116c22?_0x392c8a(_0x31cfb4,_0x5e7529):_0x31cfb4,_0x402f4c=_0x15d66f['length']-0x1,_0x218449;_0x402f4c>=0x0;_0x402f4c--)(_0x218449=_0x15d66f[_0x402f4c])&&(_0x48ffd4=_0x218449(_0x48ffd4)||_0x48ffd4);return _0x48ffd4;},_0x54ef78=(_0x51f7fb,_0x1f5e0d)=>(_0x5e3ac7,_0x382a6a)=>_0x1f5e0d(_0x5e3ac7,_0x382a6a,_0x51f7fb);_0x10d773[_0x5a5110(0x2e8)]=class extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(_0x568d4f,_0x5e687f,_0x32ecf9,_0x58fe7b,_0x2048b5){const _0x5d5e54=_0x5a5110;super(),this[_0x5d5e54(0x430)]=_0x568d4f,this[_0x5d5e54(0x223)]=_0x5e687f,this[_0x5d5e54(0x411)]=_0x32ecf9,this['_dataLoaderService']=_0x58fe7b,_0x2048b5?_0x2048b5==null||_0x2048b5['whenReady']()[_0x5d5e54(0x38f)](()=>this['_init']()):(this[_0x5d5e54(0x223)][_0x5d5e54(0x409)]('[CollaborationDataLoaderController]',_0x5d5e54(0x355)),this[_0x5d5e54(0x3a0)]());}async[_0x5a5110(0x3a0)](){const _0x5664fe=_0x5a5110,_0x4a0391=this['_urlService']['getParam'](_0x5664fe(0x211)),_0x462e4e=this[_0x5664fe(0x430)]['getParam']('type'),_0x27bf8b=this[_0x5664fe(0x430)][_0x5664fe(0x361)]('subunit');if(!_0x4a0391||!_0x462e4e){this[_0x5664fe(0x223)]['debug'](_0x5664fe(0x2db),_0x5664fe(0x33d));return;}const _0x5aa617=await this[_0x5664fe(0x289)][_0x5664fe(0x34c)](_0x4a0391,Number(_0x462e4e),_0x27bf8b);_0x5aa617&&_0x5aa617 instanceof _0x5710d6[_0x5664fe(0x37d)]&&this[_0x5664fe(0x36f)](_0x5aa617);}async['_setupSubUnitSync'](_0x56663c){const _0xf98d6c=_0x5a5110;await this[_0xf98d6c(0x1f7)](_0x56663c),_0x56663c[_0xf98d6c(0x330)][_0xf98d6c(0x1ee)](_0x3ce9b4['takeUntil'](this['dispose$']))['subscribe'](_0x24eb43=>{const _0x12c76d=_0xf98d6c;_0x24eb43&&this[_0x12c76d(0x382)](_0x24eb43);}),this['_urlService'][_0xf98d6c(0x24a)][_0xf98d6c(0x1ee)](_0x3ce9b4[_0xf98d6c(0x40f)](this[_0xf98d6c(0x3bd)]))['subscribe'](()=>this[_0xf98d6c(0x1f7)](_0x56663c));}[_0x5a5110(0x382)](_0x46f3ad,_0x11cc1f=!0x1){const _0x5d45a4=_0x5a5110,_0x4c5a82=this[_0x5d45a4(0x430)][_0x5d45a4(0x361)](_0x5d45a4(0x363));_0x46f3ad[_0x5d45a4(0x397)]()!==_0x4c5a82&&this[_0x5d45a4(0x430)][_0x5d45a4(0x3c9)](_0x5d45a4(0x363),_0x46f3ad[_0x5d45a4(0x397)](),_0x11cc1f);}async['_updateSubUnitFromURLParams'](_0x4bc518){const _0x4a7ff2=_0x5a5110;var _0x5ce241;const _0x4e87ca=this[_0x4a7ff2(0x430)][_0x4a7ff2(0x361)]('subunit');if(!_0x4e87ca||!_0x4bc518['getSheetBySheetId'](_0x4e87ca)){const _0x13fa1a=_0x4bc518['getUnhiddenWorksheets']()[0x0],_0x3b65a8=_0x4bc518[_0x4a7ff2(0x226)](_0x13fa1a);if(!_0x3b65a8)return;this[_0x4a7ff2(0x382)](_0x3b65a8,!0x0),await this['_commandService'][_0x4a7ff2(0x208)](_0x1d0cff[_0x4a7ff2(0x3a5)]['id'],{'unitId':_0x4bc518[_0x4a7ff2(0x39f)](),'subUnitId':_0x13fa1a});return;}((_0x5ce241=_0x4bc518[_0x4a7ff2(0x357)]())==null?void 0x0:_0x5ce241[_0x4a7ff2(0x397)]())!==_0x4e87ca&&await this['_commandService'][_0x4a7ff2(0x208)](_0x1d0cff[_0x4a7ff2(0x3a5)]['id'],{'unitId':_0x4bc518['getUnitId'](),'subUnitId':_0x4e87ca});}},_0x10d773[_0x5a5110(0x2e8)]=_0x4285a6([_0x54ef78(0x0,_0x1a9a4c),_0x54ef78(0x1,_0x5710d6[_0x5a5110(0x282)]),_0x54ef78(0x2,_0x5710d6[_0x5a5110(0x1de)]),_0x54ef78(0x3,_0x5710d6['Inject'](_0x120448[_0x5a5110(0x1c3)])),_0x54ef78(0x4,_0x5710d6[_0x5a5110(0x27f)](_0x205d8a['IRemoteInstanceService']))],_0x10d773[_0x5a5110(0x2e8)]);var _0x12fc2f=Object[_0x5a5110(0x3c1)],_0x3a59a9=(_0x5b5a8c,_0x39d01c,_0x165c1d,_0x4690ab)=>{const _0x2b4932=_0x5a5110;for(var _0xe8fc9f=_0x4690ab>0x1?void 0x0:_0x4690ab?_0x12fc2f(_0x39d01c,_0x165c1d):_0x39d01c,_0x23f227=_0x5b5a8c[_0x2b4932(0x262)]-0x1,_0x585c28;_0x23f227>=0x0;_0x23f227--)(_0x585c28=_0x5b5a8c[_0x23f227])&&(_0xe8fc9f=_0x585c28(_0xe8fc9f)||_0xe8fc9f);return _0xe8fc9f;},_0x59cb7b=(_0x59e415,_0x4f117f)=>(_0x13ec1f,_0x52d2a6)=>_0x4f117f(_0x13ec1f,_0x52d2a6,_0x59e415);let _0xe1a345=class{constructor(_0x32e6b0,_0xf0339,_0x531c74){const _0xe2f8bd=_0x5a5110;this[_0xe2f8bd(0x2dc)]=_0x32e6b0,this[_0xe2f8bd(0x3b1)]=_0xf0339,this[_0xe2f8bd(0x2c9)]=_0x531c74;}[_0x5a5110(0x35c)](_0x2f2ce0){const _0x1d05c7=_0x5a5110;this[_0x1d05c7(0x33b)](_0x2f2ce0),this[_0x1d05c7(0x43f)](_0x2f2ce0);}[_0x5a5110(0x3cd)](_0x42cdb6){const _0x22ba78=_0x5a5110,{unitID:_0x25f907}=_0x42cdb6,_0x59a5c2=this[_0x22ba78(0x2c9)][_0x22ba78(0x300)](_0x25f907)['with'](_0x36f7ce[_0x22ba78(0x302)]),{redoCache:_0x15c32d}=_0x59a5c2['getUndoRedoMutationParamsCache']();if(_0x15c32d[_0x22ba78(0x262)]===0x0)return _0x42cdb6;let _0x81d44a=_0x5710d6[_0x22ba78(0x41e)][_0x22ba78(0x2a7)](_0x42cdb6[_0x22ba78(0x428)][0x0]);for(let _0x566a23=0x0;_0x566a23<_0x15c32d[_0x22ba78(0x262)];_0x566a23++){const _0x3bfc2e={'id':_0x22ba78(0x1d8),'params':{..._0x15c32d[_0x566a23]}},_0x519187=this[_0x22ba78(0x3b1)][_0x22ba78(0x1f2)](_0x81d44a,_0x3bfc2e,!0x1);if(_0x8dc84[_0x22ba78(0x335)](_0x519187))throw _0x519187[_0x22ba78(0x3f9)];_0x81d44a=_0x519187[_0x22ba78(0x27a)];}return{..._0x5710d6[_0x22ba78(0x41e)]['deepClone'](_0x42cdb6),'mutations':[_0x81d44a]};}[_0x5a5110(0x33b)](_0x4bfd19){const _0x398bda=_0x5a5110,{unitID:_0x9d03e1}=_0x4bfd19,_0x2fff4a=this[_0x398bda(0x2c9)]['getRenderById'](_0x9d03e1)[_0x398bda(0x2d4)](_0x36f7ce[_0x398bda(0x302)]),{undoCache:_0x23e932,redoCache:_0x2e8426}=_0x2fff4a[_0x398bda(0x328)]();if(_0x23e932[_0x398bda(0x262)]===0x0||_0x2e8426['length']===0x0)return;const _0x599868=[],_0x4c3e2d=[];let _0x2b4c34=_0x5710d6[_0x398bda(0x41e)][_0x398bda(0x2a7)](_0x4bfd19[_0x398bda(0x428)][0x0]),_0x2825a1=_0x5710d6[_0x398bda(0x41e)][_0x398bda(0x2a7)](_0x4bfd19[_0x398bda(0x428)][0x0]);for(let _0x338b11=_0x23e932[_0x398bda(0x262)]-0x1;_0x338b11>=0x0;_0x338b11--){const _0x1baea3={'id':'doc.mutation.rich-text-editing','params':{..._0x23e932[_0x338b11]}},_0x291bd3={'id':'doc.mutation.rich-text-editing','params':{..._0x2e8426[_0x338b11]}},_0x1f3a9e=this['_transformService'][_0x398bda(0x1f2)](_0x2b4c34,_0x1baea3,!0x1),_0x2e1303=this[_0x398bda(0x3b1)][_0x398bda(0x1f2)](_0x2825a1,_0x291bd3,!0x1);if(_0x8dc84[_0x398bda(0x335)](_0x1f3a9e))throw _0x1f3a9e[_0x398bda(0x3f9)];if(_0x8dc84[_0x398bda(0x335)](_0x2e1303))throw _0x2e1303[_0x398bda(0x3f9)];_0x599868['unshift'](_0x1f3a9e['m2Prime']['params']),_0x4c3e2d[_0x398bda(0x283)](_0x2e1303[_0x398bda(0x273)]['params']),_0x2b4c34=_0x1f3a9e[_0x398bda(0x27a)],_0x2825a1=_0x2e1303[_0x398bda(0x27a)];}_0x2fff4a['setUndoRedoMutationParamsCache']({'undoCache':_0x599868,'redoCache':_0x4c3e2d});}[_0x5a5110(0x43f)](_0x2eef1e){const _0x4e07fb=_0x5a5110,{unitID:_0x171a7e}=_0x2eef1e,_0x399c31=this[_0x4e07fb(0x2c9)][_0x4e07fb(0x300)](_0x171a7e)[_0x4e07fb(0x2d4)](_0x36f7ce[_0x4e07fb(0x302)]),_0x4db6e7=_0x399c31[_0x4e07fb(0x346)]();if(_0x4db6e7==null)return;const _0x5756c7=[{'id':_0x4e07fb(0x1d8),'params':{'unitId':_0x2eef1e[_0x4e07fb(0x2c0)],'actions':null,'textRanges':[_0x4db6e7]}}],_0x431444=this[_0x4e07fb(0x3b1)][_0x4e07fb(0x369)](_0x2eef1e,_0x5756c7);if(!_0x8dc84[_0x4e07fb(0x334)](_0x431444))throw _0x431444['error'];const _0x36b536=_0x431444[_0x4e07fb(0x273)][0x0][_0x4e07fb(0x31c)]['textRanges'];Array['isArray'](_0x36b536)&&_0x36b536[_0x4e07fb(0x262)]&&_0x399c31[_0x4e07fb(0x1aa)](_0x36b536[0x0]);}};_0xe1a345=_0x3a59a9([_0x59cb7b(0x0,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x235)])),_0x59cb7b(0x1,_0x8dc84[_0x5a5110(0x3d2)]),_0x59cb7b(0x2,_0x5c441d[_0x5a5110(0x33c)])],_0xe1a345);var _0x1a39c8=Object[_0x5a5110(0x3c1)],_0x2655f1=(_0x10db26,_0x3e17fa,_0xfc1c63,_0x37ac09)=>{const _0x2a9b88=_0x5a5110;for(var _0x4a8b33=_0x37ac09>0x1?void 0x0:_0x37ac09?_0x1a39c8(_0x3e17fa,_0xfc1c63):_0x3e17fa,_0x1de413=_0x10db26[_0x2a9b88(0x262)]-0x1,_0x25348c;_0x1de413>=0x0;_0x1de413--)(_0x25348c=_0x10db26[_0x1de413])&&(_0x4a8b33=_0x25348c(_0x4a8b33)||_0x4a8b33);return _0x4a8b33;},_0x42d276=(_0x187a88,_0x23e56e)=>(_0x131ab9,_0xcfc0b3)=>_0x23e56e(_0x131ab9,_0xcfc0b3,_0x187a88);let _0x37a8f0=class{constructor(_0x26d037,_0x12d42e,_0x15dae4){const _0x212982=_0x5a5110;this[_0x212982(0x2dc)]=_0x26d037,this['_transformService']=_0x12d42e,this[_0x212982(0x331)]=_0x15dae4;}[_0x5a5110(0x30a)](_0x489ade){const _0x5a7583=_0x5a5110;this[_0x5a7583(0x381)](_0x489ade);}['transformRemoteChangeset'](_0x54ed20){const _0x5d3e0e=_0x5a5110,{unitID:_0x2558fb}=_0x54ed20,{collaboration:_0xe9b0af}=this[_0x5d3e0e(0x331)][_0x5d3e0e(0x201)](_0x2558fb);if(_0xe9b0af[_0x5d3e0e(0x262)]===0x0)return _0x54ed20;let _0x5a7675=_0x5710d6['Tools']['deepClone'](_0x54ed20[_0x5d3e0e(0x428)][0x0]);for(let _0x454e4d=0x0;_0x454e4d<_0xe9b0af[_0x5d3e0e(0x262)];_0x454e4d++){const _0x41d3df={'id':_0x5d3e0e(0x1d8),'params':{'unitId':_0xe9b0af[_0x454e4d]['unitId'],..._0xe9b0af[_0x454e4d][_0x5d3e0e(0x221)]}},_0x524849=this[_0x5d3e0e(0x3b1)][_0x5d3e0e(0x1f2)](_0x5a7675,_0x41d3df,!0x1);if(_0x8dc84['isTransformMutationFailure'](_0x524849))throw _0x524849[_0x5d3e0e(0x3f9)];_0x5a7675=_0x524849[_0x5d3e0e(0x27a)];}return{..._0x5710d6[_0x5d3e0e(0x41e)][_0x5d3e0e(0x2a7)](_0x54ed20),'mutations':[_0x5a7675]};}[_0x5a5110(0x381)](_0x172b1d){const _0x27948c=_0x5a5110,{unitID:_0x53703b}=_0x172b1d,{history:_0x105617,collaboration:_0x5b1a4c}=this[_0x27948c(0x331)][_0x27948c(0x201)](_0x53703b);if(_0x105617[_0x27948c(0x262)]===0x0&&_0x5b1a4c[_0x27948c(0x262)]===0x0)return;const _0xef23e7=[],_0x2c5276=[];let _0x6845a8=_0x5710d6[_0x27948c(0x41e)]['deepClone'](_0x172b1d[_0x27948c(0x428)][0x0]),_0x360df3=_0x5710d6[_0x27948c(0x41e)]['deepClone'](_0x172b1d[_0x27948c(0x428)][0x0]);for(let _0x399df4=_0x105617[_0x27948c(0x262)]-0x1;_0x399df4>=0x0;_0x399df4--){const _0x230339={'id':_0x27948c(0x1d8),'params':{'unitId':_0x105617[_0x399df4][_0x27948c(0x3da)],..._0x105617[_0x399df4][_0x27948c(0x3eb)]}},_0x3ac399={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x105617[_0x399df4][_0x27948c(0x3da)],..._0x105617[_0x399df4][_0x27948c(0x221)]}},_0x242ffb=this['_transformService']['transformMutation'](_0x6845a8,_0x230339,!0x1),_0x171bb5=this[_0x27948c(0x3b1)][_0x27948c(0x1f2)](_0x360df3,_0x3ac399,!0x1);if(_0x8dc84[_0x27948c(0x335)](_0x242ffb))throw _0x242ffb[_0x27948c(0x3f9)];if(_0x8dc84['isTransformMutationFailure'](_0x171bb5))throw _0x171bb5[_0x27948c(0x3f9)];_0xef23e7[_0x27948c(0x283)]({..._0x105617[_0x399df4],'undoState':_0x242ffb[_0x27948c(0x273)][_0x27948c(0x31c)],'redoState':_0x171bb5[_0x27948c(0x273)][_0x27948c(0x31c)]}),_0x6845a8=_0x242ffb[_0x27948c(0x27a)],_0x360df3=_0x171bb5[_0x27948c(0x27a)];}_0x6845a8=_0x5710d6[_0x27948c(0x41e)][_0x27948c(0x2a7)](_0x172b1d[_0x27948c(0x428)][0x0]),_0x360df3=_0x5710d6[_0x27948c(0x41e)][_0x27948c(0x2a7)](_0x172b1d[_0x27948c(0x428)][0x0]);for(let _0xc31c18=_0x5b1a4c['length']-0x1;_0xc31c18>=0x0;_0xc31c18--){const _0x1b0937={'id':_0x27948c(0x1d8),'params':{'unitId':_0x5b1a4c[_0xc31c18][_0x27948c(0x3da)],..._0x5b1a4c[_0xc31c18][_0x27948c(0x3eb)]}},_0xefc371={'id':_0x27948c(0x1d8),'params':{'unitId':_0x5b1a4c[_0xc31c18][_0x27948c(0x3da)],..._0x5b1a4c[_0xc31c18]['redoState']}},_0x1da4af=this[_0x27948c(0x3b1)][_0x27948c(0x1f2)](_0x6845a8,_0x1b0937,!0x1),_0x5611ec=this['_transformService']['transformMutation'](_0x360df3,_0xefc371,!0x1);if(_0x8dc84[_0x27948c(0x335)](_0x1da4af))throw _0x1da4af[_0x27948c(0x3f9)];if(_0x8dc84[_0x27948c(0x335)](_0x5611ec))throw _0x5611ec['error'];_0x2c5276[_0x27948c(0x283)]({..._0x5b1a4c[_0xc31c18],'undoState':_0x1da4af[_0x27948c(0x273)]['params'],'redoState':_0x5611ec['m2Prime'][_0x27948c(0x31c)]}),_0x6845a8=_0x1da4af[_0x27948c(0x27a)],_0x360df3=_0x5611ec[_0x27948c(0x27a)];}this[_0x27948c(0x331)]['setStateCache'](_0x53703b,{'history':_0xef23e7,'collaboration':_0x2c5276});}};_0x37a8f0=_0x2655f1([_0x42d276(0x0,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x235)])),_0x42d276(0x1,_0x8dc84[_0x5a5110(0x3d2)]),_0x42d276(0x2,_0x5710d6[_0x5a5110(0x212)](_0x36f7ce[_0x5a5110(0x31a)]))],_0x37a8f0);var _0x5a959c=Object['getOwnPropertyDescriptor'],_0x2f76cf=(_0x56beb6,_0x1def24,_0x208964,_0xc77e1f)=>{for(var _0x4d484a=_0xc77e1f>0x1?void 0x0:_0xc77e1f?_0x5a959c(_0x1def24,_0x208964):_0x1def24,_0x16a0ad=_0x56beb6['length']-0x1,_0x8b0776;_0x16a0ad>=0x0;_0x16a0ad--)(_0x8b0776=_0x56beb6[_0x16a0ad])&&(_0x4d484a=_0x8b0776(_0x4d484a)||_0x4d484a);return _0x4d484a;},_0x383b4f=(_0x295489,_0x22c825)=>(_0x429edd,_0x29593f)=>_0x22c825(_0x429edd,_0x29593f,_0x295489);let _0x16ec8a=class{constructor(_0x17170f,_0x1121d9){const _0x3706c0=_0x5a5110;this[_0x3706c0(0x2dc)]=_0x17170f,this[_0x3706c0(0x3b1)]=_0x1121d9;}['transformSelections'](_0x312736){const _0x5735ab=_0x5a5110;var _0x41ceb4;const _0x3086ba=this[_0x5735ab(0x2dc)]['get'](_0x139315[_0x5735ab(0x345)]),_0x3bcbdf=(_0x41ceb4=_0x3086ba['getDocRanges']())!=null?_0x41ceb4:[];if(_0x3bcbdf['length']===0x0)return;const _0x48046a=_0x312736[_0x5735ab(0x2c0)],_0x3b6baf=[{'id':_0x5735ab(0x1d8),'params':{'unitId':_0x48046a,'actions':null,'textRanges':_0x3bcbdf}}],_0x572466=this[_0x5735ab(0x3b1)]['transformMutationsWithChangeset'](_0x312736,_0x3b6baf);if(!_0x8dc84['isTransformMutationsWithChangesetSuccess'](_0x572466))throw _0x572466[_0x5735ab(0x3f9)];const _0x2221e3=_0x572466[_0x5735ab(0x273)][0x0]['params'][_0x5735ab(0x323)];Array[_0x5735ab(0x3f0)](_0x2221e3)&&_0x2221e3[_0x5735ab(0x262)]&&_0x3086ba[_0x5735ab(0x2e9)](_0x2221e3,{'unitId':_0x48046a,'subUnitId':_0x48046a},!0x1);}};_0x16ec8a=_0x2f76cf([_0x383b4f(0x0,_0x5710d6[_0x5a5110(0x212)](_0x5710d6[_0x5a5110(0x235)])),_0x383b4f(0x1,_0x8dc84['ITransformService'])],_0x16ec8a);var _0x3b15e3=Object['getOwnPropertyDescriptor'],_0x21d42e=(_0x21f28c,_0x5e754f,_0x187f1c,_0xfa47c2)=>{const _0x36cfdf=_0x5a5110;for(var _0x4215a1=_0xfa47c2>0x1?void 0x0:_0xfa47c2?_0x3b15e3(_0x5e754f,_0x187f1c):_0x5e754f,_0x3ce428=_0x21f28c[_0x36cfdf(0x262)]-0x1,_0x2c6103;_0x3ce428>=0x0;_0x3ce428--)(_0x2c6103=_0x21f28c[_0x3ce428])&&(_0x4215a1=_0x2c6103(_0x4215a1)||_0x4215a1);return _0x4215a1;},_0xa95271=(_0x1b3f14,_0xb6d995)=>(_0x15d7e8,_0x54249f)=>_0xb6d995(_0x15d7e8,_0x54249f,_0x1b3f14);let _0x52e285=class extends _0x5710d6[_0x5a5110(0x274)]{constructor(_0x345cad,_0x358bca,_0x4fa631,_0x4af75e,_0x5998d6,_0x73a2ed,_0x5ba0d3,_0xb8bc3e){const _0x10c841=_0x5a5110;super(),_0xa4d578(this,_0x10c841(0x39b),new _0x3ce9b4[(_0x10c841(0x228))](_0x120448[_0x10c841(0x440)][_0x10c841(0x349)])),(this[_0x10c841(0x331)]=_0x345cad,this[_0x10c841(0x3f1)]=_0x358bca,this[_0x10c841(0x42d)]=_0x4fa631,this['_docTransformStateCacheService']=_0x4af75e,this['_docTransformSelectionsService']=_0x5998d6,this[_0x10c841(0x2c6)]=_0x73a2ed,this[_0x10c841(0x33f)]=_0x5ba0d3,this[_0x10c841(0x393)]=_0xb8bc3e,this[_0x10c841(0x2e3)]());}['_initEntityListener'](){const _0x4498b3=_0x5a5110;this[_0x4498b3(0x1eb)](this[_0x4498b3(0x3f1)][_0x4498b3(0x32e)][_0x4498b3(0x3d6)](_0x57dfab=>{const _0x3064de=_0x4498b3,_0x1f1ae8=this[_0x3064de(0x331)][_0x3064de(0x240)][_0x3064de(0x3d6)](_0x4c1ac0=>{const _0x113a00=_0x3064de;if(_0x4c1ac0==null)return;const {unitId:_0xf85029,redoState:_0x38ff31,commandId:_0x2e39bf}=_0x4c1ac0;if(_0xf85029!==_0x57dfab['unitID'])return;const _0x55b3bb={'id':_0x2e39bf,'type':_0x5710d6[_0x113a00(0x322)]['MUTATION'],'params':{'unitId':_0xf85029,'actions':_0x38ff31[_0x113a00(0x248)],'textRanges':null}};_0x57dfab['onLocalMutation'](_0x55b3bb);});if(_0x57dfab['disposeWithMe'](_0x1f1ae8),_0x57dfab instanceof _0x120448[_0x3064de(0x31f)]){const _0x571dd0={'onTransformIME':_0x99046d=>this[_0x3064de(0x42d)][_0x3064de(0x35c)](_0x99046d),'onTransformState':_0x8437b=>this[_0x3064de(0x25b)][_0x3064de(0x30a)](_0x8437b),'onTransformSelections':_0xe89bc0=>this['_docTransformSelectionsService'][_0x3064de(0x28c)](_0xe89bc0),'onSyncEditingCollabCursor':_0x1425b4=>this[_0x3064de(0x2c6)][_0x3064de(0x3bc)](_0x1425b4),'onTransformRemoteChangesetByIMECache':_0x22ce80=>this['_docTransformIMECacheService'][_0x3064de(0x3cd)](_0x22ce80),'onTransformRemoteChangesetByStateCache':_0x759083=>this[_0x3064de(0x25b)][_0x3064de(0x3cd)](_0x759083)};_0x57dfab[_0x3064de(0x3c3)](_0x571dd0);}}));}};_0x52e285=_0x21d42e([_0xa95271(0x0,_0x5710d6[_0x5a5110(0x212)](_0x36f7ce[_0x5a5110(0x31a)])),_0xa95271(0x1,_0x5710d6['Inject'](_0x120448[_0x5a5110(0x2b0)])),_0xa95271(0x2,_0x5710d6['Inject'](_0xe1a345)),_0xa95271(0x3,_0x5710d6[_0x5a5110(0x212)](_0x37a8f0)),_0xa95271(0x4,_0x5710d6['Inject'](_0x16ec8a)),_0xa95271(0x5,_0x5710d6[_0x5a5110(0x212)](_0x4c28fd)),_0xa95271(0x6,_0x3af2f3[_0x5a5110(0x310)]),_0xa95271(0x7,_0x5710d6['Inject'](_0x5710d6[_0x5a5110(0x1bf)]))],_0x52e285);var _0xa448bf=Object['getOwnPropertyDescriptor'],_0xde163f=(_0x53df82,_0x202eca,_0x4568bc,_0x7d7811)=>{for(var _0x22fc86=_0x7d7811>0x1?void 0x0:_0x7d7811?_0xa448bf(_0x202eca,_0x4568bc):_0x202eca,_0x35441e=_0x53df82['length']-0x1,_0x3e55a4;_0x35441e>=0x0;_0x35441e--)(_0x3e55a4=_0x53df82[_0x35441e])&&(_0x22fc86=_0x3e55a4(_0x22fc86)||_0x22fc86);return _0x22fc86;},_0x464e53=(_0x352246,_0x1eef01)=>(_0x3366b3,_0x44b8c2)=>_0x1eef01(_0x3366b3,_0x44b8c2,_0x352246);let _0x17c0b5=class extends _0x5710d6['Disposable']{constructor(_0x2cec8f,_0x358094,_0x544b06){const _0x5348e1=_0x5a5110;super(),_0xa4d578(this,'_cachedData',new Map()),_0xa4d578(this,_0x5348e1(0x336),new Map()),_0xa4d578(this,'_disabled',!0x1),(this[_0x5348e1(0x24b)]=_0x2cec8f,this[_0x5348e1(0x3d8)]=_0x358094,this['_revisionService']=_0x544b06);}['disableLocalCache'](){const _0x3a8bf6=_0x5a5110;this[_0x3a8bf6(0x429)]=!0x0;}[_0x5a5110(0x435)](){const _0x1adffc=_0x5a5110;this[_0x1adffc(0x429)]=!0x1;}get[_0x5a5110(0x1b9)](){const _0x90d91d=_0x5a5110;return this[_0x90d91d(0x336)];}[_0x5a5110(0x280)](){const _0x479679=_0x5a5110;this['exhaustSavingTask']()[_0x479679(0x38f)](()=>super[_0x479679(0x280)]());}async[_0x5a5110(0x22b)](_0x565b08){const _0x25fdaf=_0x5a5110;return this[_0x25fdaf(0x429)]?null:this[_0x25fdaf(0x3d8)][_0x25fdaf(0x206)](_0x120448[_0x25fdaf(0x2a9)](_0x565b08));}async[_0x5a5110(0x20d)](_0x264878,_0x3b6811){const _0x498ed7=_0x5a5110;return!!this['_localStorageService'][_0x498ed7(0x354)](_0x264878,_0x3b6811);}[_0x5a5110(0x1d7)](_0x56d9d1,_0x1f42bc,_0x5ac58d,_0xe58215){const _0xa9f59e=_0x5a5110,_0x483095=this['_revisionService'][_0xa9f59e(0x239)](_0x56d9d1);this['_cachedData']['set'](_0x56d9d1,{'unitID':_0x56d9d1,'type':_0x1f42bc,'awaitingChangeset':_0x5ac58d,'mutations':_0xe58215,'rev':_0x483095}),this[_0xa9f59e(0x336)][_0xa9f59e(0x2e6)](_0x56d9d1)||this['_scheduleSaving'](_0x56d9d1);}[_0x5a5110(0x257)](_0x4c8618){const _0x52c827=_0x5a5110,_0x4cfe35=this[_0x52c827(0x3a6)]();_0x4cfe35===0x0?this[_0x52c827(0x214)](_0x4c8618):this[_0x52c827(0x336)][_0x52c827(0x2ee)](_0x4c8618,setTimeout(()=>this[_0x52c827(0x214)](_0x4c8618),_0x4cfe35));}['_getSaveTimeout'](){const _0x39b0d1=_0x5a5110;var _0xfc5f9a;return(_0xfc5f9a=this[_0x39b0d1(0x24b)][_0x39b0d1(0x222)](_0x120448[_0x39b0d1(0x427)]))!=null?_0xfc5f9a:_0x120448[_0x39b0d1(0x2d9)];}[_0x5a5110(0x214)](_0x2f4aff){const _0x33d888=_0x5a5110,_0x218e55=this[_0x33d888(0x336)][_0x33d888(0x2e5)](_0x2f4aff);return _0x218e55!==void 0x0&&window['clearTimeout'](_0x218e55),this[_0x33d888(0x3d8)]['setItem'](_0x120448[_0x33d888(0x2a9)](_0x2f4aff),this[_0x33d888(0x319)][_0x33d888(0x2e5)](_0x2f4aff))[_0x33d888(0x38f)](()=>this[_0x33d888(0x336)][_0x33d888(0x352)](_0x2f4aff));}async['exhaustSavingTask'](){const _0x62adbb=_0x5a5110,_0x21244b=[];this[_0x62adbb(0x336)][_0x62adbb(0x30c)]((_0x5b71d5,_0x627bf4)=>{const _0x3574fe=_0x62adbb;window['clearTimeout'](_0x5b71d5),_0x21244b[_0x3574fe(0x403)](this[_0x3574fe(0x214)](_0x627bf4)['then'](()=>{const _0x5b7307=_0x3574fe;this[_0x5b7307(0x336)][_0x5b7307(0x352)](_0x627bf4);}));}),await Promise['all'](_0x21244b);}};_0x17c0b5=_0xde163f([_0x464e53(0x0,_0x5710d6[_0x5a5110(0x367)]),_0x464e53(0x1,_0x5710d6['ILocalStorageService']),_0x464e53(0x2,_0x5710d6[_0x5a5110(0x212)](_0x8dc84['RevisionService']))],_0x17c0b5);class _0x1845f6 extends _0x5710d6[_0x5a5110(0x2b8)]{constructor(){const _0x3a8c90=_0x5a5110;super(),_0xa4d578(this,_0x3a8c90(0x24a)),this[_0x3a8c90(0x24a)]=_0x3ce9b4[_0x3a8c90(0x2cf)](window,'popstate')['pipe'](_0x3ce9b4[_0x3a8c90(0x40f)](this[_0x3a8c90(0x3bd)]),_0x3ce9b4[_0x3a8c90(0x290)](0x1),_0x3ce9b4[_0x3a8c90(0x358)](void 0x0));}['setParam'](_0xff265c,_0x3ce8e4,_0x73fcdc=!0x1){const _0x41b485=_0x5a5110,_0x12d900=new URL(window[_0x41b485(0x224)]['href']);_0x12d900[_0x41b485(0x3ba)][_0x41b485(0x2ee)](_0xff265c,_0x3ce8e4),_0x73fcdc?window[_0x41b485(0x210)][_0x41b485(0x28b)]('','',_0x12d900[_0x41b485(0x412)]()):window['history'][_0x41b485(0x413)]('','',_0x12d900['toString']());}[_0x5a5110(0x2a4)](_0x1eb4ec,_0x4fe3a6=!0x1){const _0x5ae6a6=_0x5a5110,_0x55abf4=new URL(window[_0x5ae6a6(0x224)][_0x5ae6a6(0x2a8)]);_0x55abf4[_0x5ae6a6(0x3ba)][_0x5ae6a6(0x352)](_0x1eb4ec),_0x4fe3a6?window[_0x5ae6a6(0x210)]['replaceState']('','',_0x55abf4['toString']()):window[_0x5ae6a6(0x210)][_0x5ae6a6(0x413)]('','',_0x55abf4[_0x5ae6a6(0x412)]());}['getParam'](_0x2a65f0){const _0x2a332d=_0x5a5110;var _0x185051;return(_0x185051=new URL(window[_0x2a332d(0x224)][_0x2a332d(0x2a8)])[_0x2a332d(0x3ba)][_0x2a332d(0x2e5)](_0x2a65f0))!=null?_0x185051:void 0x0;}}var _0x38d9a5=Object[_0x5a5110(0x3fa)],_0x1e50da=Object['getOwnPropertyDescriptor'],_0x255417=(_0x507080,_0x18449b,_0x23c6e6)=>_0x18449b in _0x507080?_0x38d9a5(_0x507080,_0x18449b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23c6e6}):_0x507080[_0x18449b]=_0x23c6e6,_0x58dd8f=(_0x6940b2,_0x1daebc,_0x1c4885,_0x24d573)=>{for(var _0x4fa32d=_0x24d573>0x1?void 0x0:_0x24d573?_0x1e50da(_0x1daebc,_0x1c4885):_0x1daebc,_0x44261b=_0x6940b2['length']-0x1,_0x4a0329;_0x44261b>=0x0;_0x44261b--)(_0x4a0329=_0x6940b2[_0x44261b])&&(_0x4fa32d=_0x4a0329(_0x4fa32d)||_0x4fa32d);return _0x4fa32d;},_0x5bae46=(_0x4261b0,_0x317bc4)=>(_0xf11f02,_0x44cf44)=>_0x317bc4(_0xf11f02,_0x44cf44,_0x4261b0),_0x544458=(_0x1a5201,_0x341657,_0x56c23e)=>_0x255417(_0x1a5201,_0x341657+'',_0x56c23e);const _0x1115d3=_0x5a5110(0x266);_0x10d773['UniverCollaborationClientUIPlugin']=class extends _0x5710d6['Plugin']{constructor(_0x177cbf=_0x592971,_0x1d5c9e,_0x32d4e6,_0xb75dd6){const _0xe18c39=_0x5a5110;super(),this[_0xe18c39(0x3cb)]=_0x177cbf,this[_0xe18c39(0x2c9)]=_0x1d5c9e,this['_injector']=_0x32d4e6,this[_0xe18c39(0x24b)]=_0xb75dd6;const {..._0x93ffc4}=_0x5710d6[_0xe18c39(0x43a)]({},_0x592971,this['_config']);this[_0xe18c39(0x24b)][_0xe18c39(0x296)](_0x5c5d7c,_0x93ffc4);}[_0x5a5110(0x2fc)](){const _0x171ce4=_0x5a5110;this[_0x171ce4(0x236)](),this[_0x171ce4(0x3ab)]();}['onRendered'](){const _0x291372=_0x5a5110;this[_0x291372(0x1c0)]();}[_0x5a5110(0x236)](){const _0x3e4b54=_0x5a5110;var _0x4fba29;const _0x5759b6=[[_0x3bc8af],[_0x16ec8a],[_0xe1a345],[_0x37a8f0],[_0x4c28fd],[_0x1a9a4c,{'useClass':_0x1845f6}],[_0x554c4c[_0x3e4b54(0x1ef)],{'useClass':_0x554c4c['WebSocketService']}],[_0x120448['ILocalCacheService'],{'useClass':_0x17c0b5}],[_0x10d773[_0x3e4b54(0x1e3)]],[_0x52e285],[_0x1a8f5b],[_0x377ca6],[_0x2c015a],[_0x10d773['CollaborationDataLoaderController']]];_0x5710d6[_0x3e4b54(0x1e7)](this[_0x3e4b54(0x2dc)],_0x5710d6[_0x3e4b54(0x3b5)](_0x5759b6,(_0x4fba29=this[_0x3e4b54(0x3cb)])==null?void 0x0:_0x4fba29[_0x3e4b54(0x42a)]));}[_0x5a5110(0x1c0)](){const _0x382b1c=_0x5a5110;this[_0x382b1c(0x1eb)](this[_0x382b1c(0x2c9)][_0x382b1c(0x277)](_0x5710d6[_0x382b1c(0x35d)][_0x382b1c(0x26c)],[_0x56ec54])),this['disposeWithMe'](this[_0x382b1c(0x2c9)]['registerRenderModule'](_0x5710d6[_0x382b1c(0x35d)]['UNIVER_SHEET'],[_0x158bcb]));}[_0x5a5110(0x3ab)](){const _0x3b80f6=_0x5a5110;_0x5710d6[_0x3b80f6(0x33e)](this[_0x3b80f6(0x2dc)],[[_0x377ca6],[_0x10d773[_0x3b80f6(0x1e3)]],[_0x52e285],[_0x1a8f5b],[_0x10d773[_0x3b80f6(0x2e8)]]]);}},_0x544458(_0x10d773['UniverCollaborationClientUIPlugin'],_0x5a5110(0x42f),_0x1115d3),_0x10d773[_0x5a5110(0x27e)]=_0x58dd8f([_0x5710d6[_0x5a5110(0x42b)](_0x120448[_0x5a5110(0x231)]),_0x5bae46(0x1,_0x5c441d[_0x5a5110(0x33c)]),_0x5bae46(0x2,_0x5710d6[_0x5a5110(0x212)](_0x5710d6['Injector'])),_0x5bae46(0x3,_0x5710d6[_0x5a5110(0x367)])],_0x10d773['UniverCollaborationClientUIPlugin']);var _0x3a37b8=Object[_0x5a5110(0x3c1)],_0x5620a6=(_0x40c8a6,_0x57dc95,_0x46150c,_0x465ed6)=>{const _0x3860e0=_0x5a5110;for(var _0x5c0226=_0x465ed6>0x1?void 0x0:_0x465ed6?_0x3a37b8(_0x57dc95,_0x46150c):_0x57dc95,_0x1ed7c3=_0x40c8a6[_0x3860e0(0x262)]-0x1,_0x3dd112;_0x1ed7c3>=0x0;_0x1ed7c3--)(_0x3dd112=_0x40c8a6[_0x1ed7c3])&&(_0x5c0226=_0x3dd112(_0x5c0226)||_0x5c0226);return _0x5c0226;},_0x33b5bc=(_0x272466,_0x10bb16)=>(_0x417824,_0x40fa33)=>_0x10bb16(_0x417824,_0x40fa33,_0x272466);_0x10d773[_0x5a5110(0x439)]=class extends _0x120448['CollaborationSocketService']{constructor(_0x472bb7,_0x1fe8e4,_0x44ddb6,_0x4900c6,_0x3cf835){super(_0x472bb7,_0x1fe8e4,_0x44ddb6,_0x4900c6,_0x3cf835);}async[_0x5a5110(0x24e)](_0x37e3a9){const _0x148ab7=_0x5a5110,_0x17663a=await this['_getSessionTicket'](),_0x1d1861=this[_0x148ab7(0x21d)](_0x37e3a9,_0x17663a);return this[_0x148ab7(0x324)](_0x1d1861);}[_0x5a5110(0x21d)](_0x518e5c,_0x30af53){const _0x5d3581=_0x5a5110,_0xd4a456=typeof window>'u'?new URL(_0x518e5c):new URL(_0x518e5c,window[_0x5d3581(0x224)]['origin']);_0xd4a456[_0x5d3581(0x3ba)][_0x5d3581(0x2ee)]('sessionTicket',_0x30af53);const _0x160d36=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5d3581(0x224)][_0x5d3581(0x32a)]);return _0x160d36[_0x5d3581(0x2e5)](_0x5d3581(0x39d))&&_0xd4a456['searchParams']['set']('runId',_0x160d36['get'](_0x5d3581(0x39d))),_0xd4a456[_0x5d3581(0x412)]();}async[_0x5a5110(0x443)](){const _0x17e4b4=_0x5a5110;var _0x5365c8,_0x375650,_0x20edcf;const _0x1b2d34=this[_0x17e4b4(0x24b)][_0x17e4b4(0x222)](_0x120448[_0x17e4b4(0x28e)]),_0x4493fd=(_0x5365c8=_0x1b2d34==null?void 0x0:_0x1b2d34['wsSessionTicketUrl'])!=null?_0x5365c8:_0x120448['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x20edcf=(_0x375650=(await this[_0x17e4b4(0x204)][_0x17e4b4(0x2e5)](_0x4493fd,{'headers':{'Content-Type':'application/json'}}))[_0x17e4b4(0x2ce)])==null?void 0x0:_0x375650[_0x17e4b4(0x2cc)])!=null?_0x20edcf:'';}},_0x10d773[_0x5a5110(0x439)]=_0x5620a6([_0x33b5bc(0x0,_0x5710d6[_0x5a5110(0x212)](_0x5710d6['Injector'])),_0x33b5bc(0x1,_0x5710d6[_0x5a5110(0x212)](_0x554c4c[_0x5a5110(0x1bb)])),_0x33b5bc(0x2,_0x5710d6[_0x5a5110(0x367)]),_0x33b5bc(0x3,_0x5710d6['ILogService']),_0x33b5bc(0x4,_0x8dc84[_0x5a5110(0x24c)])],_0x10d773['BrowserCollaborationSocketService']);const _0x5869be=0x7530,_0x1f7ac6=_0x5a5110(0x2c2);class _0x1c44b3 extends _0x5710d6[_0x5a5110(0x274)]{constructor(){const _0x131c54=_0x5a5110;super(),_0xa4d578(this,_0x131c54(0x217),_0x5710d6['generateRandomId']()),_0xa4d578(this,_0x131c54(0x383),new Set()),_0xa4d578(this,_0x131c54(0x3f7),new Map()),_0xa4d578(this,'_heartbeatTimer',null),_0xa4d578(this,_0x131c54(0x364),new Map()),_0xa4d578(this,_0x131c54(0x238),new Map()),this[_0x131c54(0x3a0)]();}[_0x5a5110(0x280)](){const _0xc378df=_0x5a5110;super[_0xc378df(0x280)](),this['_clearOtherTimers'][_0xc378df(0x30c)]((_0x40386c,_0x130de4)=>this[_0xc378df(0x26f)](_0x130de4)),this[_0xc378df(0x1fc)]&&window[_0xc378df(0x1fd)](this['_heartbeatTimer']);}[_0x5a5110(0x418)](_0x4bee78){const _0xabed5d=_0x5a5110;return this[_0xabed5d(0x258)](_0x4bee78)[_0xabed5d(0x1ee)](_0x3ce9b4['distinctUntilChanged']());}[_0x5a5110(0x253)](_0x5bd89a){const _0x53e06e=_0x5a5110;this[_0x53e06e(0x383)][_0x53e06e(0x2b6)]===0x0&&this[_0x53e06e(0x36d)](),this['_selfUnitIDs'][_0x53e06e(0x410)](_0x5bd89a),this[_0x53e06e(0x21f)]({'type':0x0,'memberID':this[_0x53e06e(0x217)],'unitIDs':[_0x5bd89a],'isForwarded':!0x1});}['disposeUnit'](_0x490b51){const _0x23aaac=_0x5a5110;this[_0x23aaac(0x383)]['delete'](_0x490b51),this[_0x23aaac(0x383)][_0x23aaac(0x2b6)]===0x0&&this[_0x23aaac(0x1fc)]&&window[_0x23aaac(0x1fd)](this[_0x23aaac(0x1fc)]);}[_0x5a5110(0x3a0)](){const _0x505931=_0x5a5110;this[_0x505931(0x1eb)](_0x5710d6[_0x505931(0x2d0)](_0x3ce9b4['fromEvent'](window,_0x505931(0x1d4))[_0x505931(0x3d6)](_0x54b7be=>{const _0x57759d=_0x505931;if(_0x54b7be[_0x57759d(0x2f6)]!==_0x1f7ac6||!_0x54b7be[_0x57759d(0x405)])return;const _0x5411eb=JSON['parse'](_0x54b7be[_0x57759d(0x405)]);this[_0x57759d(0x1b7)](_0x5411eb);}))),window['addEventListener']('unload',()=>this[_0x505931(0x21f)]({'type':0x1,'memberID':this[_0x505931(0x217)],'unitIDs':Array[_0x505931(0x202)](this[_0x505931(0x383)])}));}[_0x5a5110(0x1b7)](_0x225749){const _0x576309=_0x5a5110;switch(_0x225749[_0x576309(0x3a9)]){case 0x0:this[_0x576309(0x3ed)](_0x225749);break;case 0x1:this[_0x576309(0x25d)](_0x225749);break;case 0x2:this[_0x576309(0x325)](_0x225749);break;}}['_handleJoinEvent'](_0x1cdc7f){const _0x10108b=_0x5a5110,{unitIDs:_0xc1e2d1,memberID:_0x10b0b3,isForwarded:_0xa7b81f}=_0x1cdc7f;_0xc1e2d1[_0x10108b(0x30c)](_0x3f8f11=>{const _0x4cfd8b=_0x10108b;if(!_0xa7b81f&&this[_0x4cfd8b(0x3f7)]['has'](_0x3f8f11)&&this[_0x4cfd8b(0x258)](_0x3f8f11)[_0x4cfd8b(0x209)](_0x120448[_0x4cfd8b(0x359)][_0x4cfd8b(0x1f6)]),!this['_unitOnClients'][_0x4cfd8b(0x2e6)](_0x3f8f11)||!this[_0x4cfd8b(0x3f7)][_0x4cfd8b(0x2e5)](_0x3f8f11)[_0x4cfd8b(0x2e6)](_0x10b0b3)){const _0x7a382a=this[_0x4cfd8b(0x3f7)][_0x4cfd8b(0x2e5)](_0x3f8f11)||new Set();_0x7a382a[_0x4cfd8b(0x410)](_0x10b0b3),this[_0x4cfd8b(0x3f7)][_0x4cfd8b(0x2ee)](_0x3f8f11,_0x7a382a),this[_0x4cfd8b(0x1dc)](_0x10b0b3);}}),_0xa7b81f||this[_0x10108b(0x21f)]({'type':0x0,'memberID':this[_0x10108b(0x217)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5a5110(0x1dc)](_0x56ebe6){const _0x152ecd=_0x5a5110;this['_removeClearOtherTimer'](_0x56ebe6);const _0x14cb53=window[_0x152ecd(0x406)](()=>{const _0x487e6b=_0x152ecd;this[_0x487e6b(0x3f7)][_0x487e6b(0x30c)](_0xa081ae=>{const _0x904a36=_0x487e6b;_0xa081ae[_0x904a36(0x352)](_0x56ebe6);});},_0x5869be*0x2);this[_0x152ecd(0x364)][_0x152ecd(0x2ee)](_0x56ebe6,_0x14cb53);}[_0x5a5110(0x26f)](_0x19a58f){const _0x2d5d9d=_0x5a5110;if(this[_0x2d5d9d(0x364)][_0x2d5d9d(0x2e6)](_0x19a58f)){const _0x220e18=this[_0x2d5d9d(0x364)][_0x2d5d9d(0x2e5)](_0x19a58f);_0x220e18&&window[_0x2d5d9d(0x30f)](_0x220e18),this[_0x2d5d9d(0x364)][_0x2d5d9d(0x2ee)](_0x19a58f,null);}}['_handleLeaveEvent'](_0x5f41fb){const _0x3be1d8=_0x5a5110,{memberID:_0x5db333,unitIDs:_0x2d6eb7}=_0x5f41fb;_0x2d6eb7[_0x3be1d8(0x30c)](_0x3e29c6=>{const _0x3d619f=_0x3be1d8;var _0x5acb64;const _0x15b6b9=this[_0x3d619f(0x3f7)][_0x3d619f(0x2e5)](_0x3e29c6);_0x15b6b9&&(_0x15b6b9[_0x3d619f(0x352)](_0x5db333),(_0x5acb64=this[_0x3d619f(0x258)](_0x3e29c6))==null||_0x5acb64[_0x3d619f(0x209)](_0x15b6b9[_0x3d619f(0x2b6)]===0x0?_0x120448['UnitStatus'][_0x3d619f(0x2f1)]:_0x120448[_0x3d619f(0x359)][_0x3d619f(0x1f6)]));}),this[_0x3be1d8(0x26f)](_0x5db333);}[_0x5a5110(0x325)](_0x1383e4){const _0x4f5fff=_0x5a5110;this[_0x4f5fff(0x1dc)](_0x1383e4[_0x4f5fff(0x241)]);}['_send'](_0x1dab18){const _0x1906b4=_0x5a5110;localStorage['setItem'](_0x1f7ac6,JSON[_0x1906b4(0x3d1)](_0x1dab18));}[_0x5a5110(0x36d)](){const _0x4e7bf5=_0x5a5110;this[_0x4e7bf5(0x1fc)]=window[_0x4e7bf5(0x31e)](()=>{const _0x4dd30a=_0x4e7bf5;this[_0x4dd30a(0x21f)]({'type':0x2,'memberID':this[_0x4dd30a(0x217)]});},_0x5869be);}[_0x5a5110(0x258)](_0x3776bb){const _0x52fe24=_0x5a5110;return this[_0x52fe24(0x238)]['has'](_0x3776bb)||this[_0x52fe24(0x238)][_0x52fe24(0x2ee)](_0x3776bb,new _0x3ce9b4[(_0x52fe24(0x228))](_0x120448[_0x52fe24(0x359)][_0x52fe24(0x2f1)])),this[_0x52fe24(0x238)][_0x52fe24(0x2e5)](_0x3776bb);}}var _0x6bd707=(_0x3788ae=>(_0x3788ae[_0x3788ae[_0x5a5110(0x38c)]=0x0]='UNDEFINED',_0x3788ae[_0x3788ae['OK']=0x1]='OK',_0x3788ae[_0x3788ae[_0x5a5110(0x3f8)]=0x2]=_0x5a5110(0x3f8),_0x3788ae[_0x3788ae[_0x5a5110(0x374)]=0x3]='PERMISSION_DENIED',_0x3788ae[_0x3788ae[_0x5a5110(0x2ea)]=0x4]=_0x5a5110(0x2ea),_0x3788ae[_0x3788ae[_0x5a5110(0x2f0)]=0x5]=_0x5a5110(0x2f0),_0x3788ae[_0x3788ae['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x3788ae[_0x3788ae[_0x5a5110(0x2b7)]=0x7]=_0x5a5110(0x2b7),_0x3788ae[_0x3788ae[_0x5a5110(0x243)]=0x8]='TOO_MANY_REQUESTS',_0x3788ae[_0x3788ae[_0x5a5110(0x2f8)]=0x9]=_0x5a5110(0x2f8),_0x3788ae[_0x3788ae[_0x5a5110(0x216)]=0xa]=_0x5a5110(0x216),_0x3788ae[_0x3788ae[_0x5a5110(0x1cb)]=0x1389]=_0x5a5110(0x1cb),_0x3788ae[_0x3788ae['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5a5110(0x3a2),_0x3788ae[_0x3788ae[_0x5a5110(0x25f)]=0x1772]=_0x5a5110(0x25f),_0x3788ae[_0x3788ae['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5a5110(0x2a0),_0x3788ae[_0x3788ae['APPLY_REJECT']=0x1b59]=_0x5a5110(0x353),_0x3788ae[_0x3788ae[_0x5a5110(0x1d0)]=0x1b5a]=_0x5a5110(0x1d0),_0x3788ae[_0x3788ae[_0x5a5110(0x1e8)]=0x1b5b]=_0x5a5110(0x1e8),_0x3788ae[_0x3788ae[_0x5a5110(0x315)]=0x1b5c]=_0x5a5110(0x315),_0x3788ae[_0x3788ae[_0x5a5110(0x2d6)]=0x1b5d]=_0x5a5110(0x2d6),_0x3788ae[_0x3788ae[_0x5a5110(0x320)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x3788ae[_0x3788ae[_0x5a5110(0x1f0)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x3788ae[_0x3788ae[_0x5a5110(0x305)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3788ae[_0x3788ae['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x5a5110(0x299),_0x3788ae[_0x3788ae[_0x5a5110(0x2ba)]=0x232c]=_0x5a5110(0x2ba),_0x3788ae[_0x3788ae[_0x5a5110(0x1ab)]=0x232d]=_0x5a5110(0x1ab),_0x3788ae[_0x3788ae[_0x5a5110(0x372)]=0x2711]=_0x5a5110(0x372),_0x3788ae[_0x3788ae[_0x5a5110(0x421)]=0x2712]=_0x5a5110(0x421),_0x3788ae[_0x3788ae[_0x5a5110(0x365)]=0x2713]=_0x5a5110(0x365),_0x3788ae[_0x3788ae[_0x5a5110(0x436)]=0x2714]=_0x5a5110(0x436),_0x3788ae[_0x3788ae[_0x5a5110(0x26b)]=0x271a]=_0x5a5110(0x26b),_0x3788ae[_0x3788ae[_0x5a5110(0x3f2)]=0x271b]=_0x5a5110(0x3f2),_0x3788ae[_0x3788ae[_0x5a5110(0x313)]=0x271c]=_0x5a5110(0x313),_0x3788ae[_0x3788ae[_0x5a5110(0x28a)]=0x271d]=_0x5a5110(0x28a),_0x3788ae[_0x3788ae[_0x5a5110(0x3cf)]=0x271e]=_0x5a5110(0x3cf),_0x3788ae[_0x3788ae[_0x5a5110(0x1fe)]=0x271f]=_0x5a5110(0x1fe),_0x3788ae[_0x3788ae[_0x5a5110(0x395)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3788ae[_0x3788ae[_0x5a5110(0x29b)]=0x2ee1]=_0x5a5110(0x29b),_0x3788ae[_0x3788ae[_0x5a5110(0x3fd)]=0x2ee2]=_0x5a5110(0x3fd),_0x3788ae[_0x3788ae[_0x5a5110(0x34e)]=0x2ee3]=_0x5a5110(0x34e),_0x3788ae[_0x3788ae['USER_NOT_INVITED_CODE']=0x2ee4]=_0x5a5110(0x3e7),_0x3788ae[_0x3788ae[_0x5a5110(0x434)]=0x2ee5]=_0x5a5110(0x434),_0x3788ae[_0x3788ae[_0x5a5110(0x2bd)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3788ae[_0x3788ae[_0x5a5110(0x23d)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3788ae[_0x3788ae[_0x5a5110(0x34a)]=0x32cb]=_0x5a5110(0x34a),_0x3788ae[_0x3788ae[_0x5a5110(0x43b)]=-0x1]='UNRECOGNIZED',_0x3788ae))(_0x6bd707||{}),_0x1a2b34=Object[_0x5a5110(0x3c1)],_0x4cf7d8=(_0x4f29b8,_0x9edb88,_0x28ccae,_0x584b2b)=>{const _0x18234f=_0x5a5110;for(var _0x1cff6e=_0x584b2b>0x1?void 0x0:_0x584b2b?_0x1a2b34(_0x9edb88,_0x28ccae):_0x9edb88,_0x4a7908=_0x4f29b8[_0x18234f(0x262)]-0x1,_0x5bf08f;_0x4a7908>=0x0;_0x4a7908--)(_0x5bf08f=_0x4f29b8[_0x4a7908])&&(_0x1cff6e=_0x5bf08f(_0x1cff6e)||_0x1cff6e);return _0x1cff6e;},_0x51d434=(_0x5c9c61,_0x39b397)=>(_0x143a2f,_0x529485)=>_0x39b397(_0x143a2f,_0x529485,_0x5c9c61);_0x10d773[_0x5a5110(0x2ff)]=class extends _0x5710d6[_0x5a5110(0x274)]{constructor(_0x31deea,_0x3b8679,_0x2de06f){const _0xae8dc6=_0x5a5110;super(),this['_instanceService']=_0x31deea,this[_0xae8dc6(0x204)]=_0x3b8679,this[_0xae8dc6(0x24b)]=_0x2de06f;}async[_0x5a5110(0x2c5)](_0x3e2bed,_0x3057ca,_0x5e08ad,..._0x48fb5b){const _0x401cff=_0x5a5110;var _0x6ea234,_0x2a43b0,_0x499d05,_0x1df628;const _0x44a354=this[_0x401cff(0x295)]['getFocusedUnit']();if(!_0x44a354)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x105fa4=((_0x6ea234=this[_0x401cff(0x24b)][_0x401cff(0x222)](_0x120448['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x6ea234:_0x120448[_0x401cff(0x370)])+'/'+_0x3e2bed+_0x401cff(0x250)+_0x3057ca,_0x7ee9d6=new URL(window[_0x401cff(0x224)][_0x401cff(0x2a8)]),_0xb2f8de={'scriptId':_0x3e2bed,'runId':(_0x2a43b0=_0x7ee9d6['searchParams'][_0x401cff(0x2e5)]('runId'))!=null?_0x2a43b0:'','function':_0x3057ca,'unitId':_0x44a354[_0x401cff(0x39f)](),'argsOfFunction':JSON[_0x401cff(0x3d1)](_0x48fb5b),'invokeId':(_0x499d05=_0x5e08ad[_0x401cff(0x237)])!=null?_0x499d05:'','executionId':(_0x1df628=_0x5e08ad['executionId'])!=null?_0x1df628:''};try{const _0x245c01=await this[_0x401cff(0x204)]['post'](_0x105fa4,{'body':_0xb2f8de});return _0x245c01[_0x401cff(0x2ce)][_0x401cff(0x3f9)]&&_0x245c01[_0x401cff(0x2ce)][_0x401cff(0x3f9)][_0x401cff(0x2e2)]!==_0x6bd707['OK']?_0x401cff(0x309):_0x245c01['body'][_0x401cff(0x2e1)];}catch{return'Failed';}}},_0x10d773[_0x5a5110(0x2ff)]=_0x4cf7d8([_0x51d434(0x0,_0x5710d6[_0x5a5110(0x356)]),_0x51d434(0x1,_0x5710d6[_0x5a5110(0x212)](_0x554c4c[_0x5a5110(0x1bb)])),_0x51d434(0x2,_0x5710d6[_0x5a5110(0x367)])],_0x10d773['RemoteUniscriptService']),_0x10d773[_0x5a5110(0x285)]=_0x251989,_0x10d773[_0x5a5110(0x40c)]=_0x1a9a4c,_0x10d773[_0x5a5110(0x432)]=_0x20d652,_0x10d773['WebBrowserSingleActiveUnitService']=_0x1c44b3,_0x10d773[_0x5a5110(0x37b)]=_0x1845f6,Object[_0x5a5110(0x3fa)](_0x10d773,Symbol['toStringTag'],{'value':'Module'});}));
|