@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504281607 → 0.7.0-beta.0

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4484(){const _0x32f221=['width','BehaviorSubject','addObjects','startsWith','RemoteUniscriptService','onMouseMove','DisposableCollection','HEADER_MENU','enableLocalCache','DocSkeletonManagerService','cursorInfo$','debounce','_injector','useObservable','NOT_FOUND','ONLINE','UniverNetwork','cursorInfo','subunit','_unitOnClients','_colorIndex','handleIRemoveRow','getUnitStatus$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','length','clearTimeout','ICommandService','has','Inject','getMember','_status$','location','pipe','0\x200\x2017\x2016','RefRangeService','add','UniverUi','handleMoveRange','onCommandExecuted','handleDeleteRangeMoveUp','_getMergeRange','toRgbString','roomMembers$','row','SheetSkeletonManagerService','/run/','UNDEFINED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_range','UNIVER_SHEET','_context','getUnhiddenWorksheets','fillRule','_memberService','loadOfflineData','114nXYXIs','collabStatus.synced','font','lineTo','dispose$','executionId','getRenderById','MUTATION','MoveRangeCommandId','DocCollaborationEntity','_beforeCloseService','COLORS','set','@univerjs/network','SYNCED','onStarting','url(#$1','_unitStatus','DataLoaderService','setInterval','ranges','idSuffix','deserializeRangeWithSheet','getParam','wsSessionTicketUrl','getColor','IURLService','setUndoRedoMutationParamsCache','92468KEIVEq','source','_roomMembers$','fromEvent','_uiPartsService','transformMutationsWithChangeset','getRelativeToViewportCoord','_docSkeletonManagerService','_handleJoinEvent','VIEW_MAIN','imageSourceType','toDisposable','_logService','SetWorksheetActivateCommand','_cachedData','hasOwnProperty','_document','collab-text-anchor-','transformIMECache','getConfig','setTimeout','black','executeCommand','subscribeEvent','all','subUnitId','_render','OTHER_CLIENTS_EDITING','YUUMI_ASYNCIO_CANCELLED','onPointerLeave$','_clearOtherTimers','currentTheme$','getVpScrollXYInfoByPosToVp','redoState','prototype','_hovered','evenodd','push','color','_scheduleHeartbeat','_handleEvent','xlink:href','from','_scheduleClearOtherTimer','getItem','_entities','IUniverInstanceService','none','_scheduleSaving','17322elKeHX','Module','saveImage','UNRECOGNIZED','stringify','handleInsertRangeMoveRight','addObject','univer-flex\x20univer-mr-2\x20univer-text-[20px]','UniverCollaborationClientUIPlugin','isTransformMutationsWithChangesetSuccess','disposeWithMe','_onRefRangeChange','_urlService','Disposable','INVITE_CODE_HAS_BEEN_UES','getOffsetConfig','doc.mutation.rich-text-editing','origin','requireSession','touchDependencies','Rect','actions','map','APPLY_NON_SEQUENTIAL_REVISION','_disabled','collabStatus.offline','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_SUBSCRIPTION_NOT_FOUND','body','generateRandomId','Workbook','UnitStatus','NO_OTHER_CLIENTS_EDITING','ITransformService','_selfUnitIDs','_colorAssignService','useDependency','currentColor','UPDATE_CURSOR','engine','debug','search','_init','react','CollaborationUIEventService','amd','_initResize','m2Prime','object','ENSURE_SNAPSHOT_EXECUTION','reconnect','triggerDblclick','_docSkeleton','textRanges','_labelPosition','getSheetId','_httpService','post','_updateURLWithCurrentState','SetDocZoomRatioOperation','displayName','_anchorDot','getCollabEntity$','USERS_LEAVE','transformSelections','_eventUnsubscribe','MessageType','endColumn','height','backgroundColor','asObservable','rxjs/operators','values','useCallback','_transformService','transformMutation','registerComponent','toStringTag','then','_hideTimer','SNAPSHOT_INVALID_SNAPSHOT','CommandType','fillText','_transformUndoRedoStack','CONFLICT','_removeCollabCursors','OFFLINE','range','some','_doCreateSocket','addEventListener','TOO_MANY_REQUESTS','_docTransformSelectionsService','ILocalCacheService','size','_getAnchorBounding','forwardRef','operators','YUUMI_UNABLE_LOAD_URL','_revisionService','entries','OffLineSingle','setStateCache','InsertRangeMoveDownCommandId','rxjs','history','_localStorageService','_draw','_cursorShapes','getSheetObject','parse','_syncEditingCollabCursorService','hovered','SUBMIT_CHANGESET_TIMEOUT','_docSyncEditingCollabCursorService','8Dljvut','event$','createInstance','sheetID','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Rectangle','_shapes','MOBILE_HAS_BEEN_BOUND','LocaleService','CHANGESET_REVISION_CONFILICT','string','href','getValue','isActive','DOC_RANGE_TYPE','on-line-single_clip0_910_349','PENDING','path','23874004FLNCvL','@univerjs-pro/collaboration-client','entityInit$','isTransformMutationFailure','sessionTicket','MemberService','IMessageService','_collaborationUIEventService','handleInsertRangeMoveDown','pluginName','focused$','_hover','5322250haYfOJ','_docTransformIMECacheService','collaboration.single-unit.warning','@univerjs/sheets','indexOf','Tools','WebURLService','unload','UNAUTHENTICATED','INVALID_ARGUMENT','addHandlerCallback','_themeService','LICENSE_MAX_UNITS_EXCEEDED','labelPosition','PERMISSION_DENIED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','purple300','with','collab-rect-range-','replace','getOwnPropertySymbols','ISocketService','1em','YUUMI_NO_CUBOID_FOR_QUESTION','_collaborationController','INVALID_INVITE_CODE','WECHAT_HAS_BEEN_BOUND','selection','@univerjs/sheets-ui','getRangePointData','getMergeData','YUUMI_RATE_OVER_LIMIT','IConfigService','onLocalMutation','_backgroundColor','_configService','handleInsertCol','_collabCursorState$','Injector','exhaustSavingTask','APPLY_PERMISSION_DENIED','name','INotificationService','updateOfflineData','_updateSubUnitFromURLParams','IBeforeCloseService','restore','split','_initEntityListener','IDocClipboardService','switchMap','function','UniverProCollaborationClientUi','_drawTextRange','_dataLoaderService','serializeRangeWithSheet','useRef','collabStatus.fetchMiss','tag','delete','result','UniverDesign','getMemberID','getCurrentSelections','_online','getActiveRange','setAlpha','getUnitId','@univerjs/drawing','_refreshCollabCursors','params','SNAPSHOT_HAS_BEEN_REMOVED','UniverEngineFormula','debounceTime','@univerjs/ui','_setupBeforeClosingHandler','#fff','DeleteRangeMoveUpCommandId','uni.network.url-service','409908BHUGHA','_messageService','_initStatusComponent','setActiveRange','url(#off-line-single_clip0_910_343)','Vector2','getCoordByCell','contains','_sheetSkeletonManagerService','merge','_saveTaskMap','DesktopCollaborationStatusDisplayController','371421WHMAyb','getCellPositionByOffset','IImageIoService','CollaborationSessionService','Unknown\x20user','SessionStatus','INVITE_CODE_ALREADY_BOUND','createSocket','jsx','hide','find','symbol','_updateLocalCursor','_getScale','_transformPreviousActiveRange','currentSkeleton$','FromArray','_renderManagerService','PY_RUNTIME_SCRIPT_ERROR','filter','_univerInstanceService','getCurrentUnitForType','BrowserCollaborationSocketService','_docTransformStateCacheService','LOGIN_FAILED','_session','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','application/json','_handleHover','assign','next','call','closePath','TEXT','_name','CollaborationSocketService','init','collabCursorState$','setParam','deepClone','@univerjs/engine-formula','unitID','@univerjs/rpc','collabStatus.notCollab','_startSheetCollabCursor','_ensureSubject','startRow','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','m1Prime','defIds','Subject','addClipboardHook','UniverSheetsUi','_createSocketURL','SOCKET_FAILED','current','beginPath','collabStatus.conflict','disposeUnit','mergeOverrideWithDependencies','CollaborationStatusDisplay','makeDirty','93HIjQiU','@univerjs/engine-render','_saveCache','RegularPolygon','ALREADY_EXISTS','LICENSE_DISTRO_REJECTED','UniverDrawing','_initDependencies','findNodePositionByCharIndex','measureText','_registerRenderDependencies','_config','[CollaborationDataLoaderController]','_onCursorUpdate','text','RichTextEditingMutation','_updateCollabCursors','CLOSE_ROOM','OnLineSingle','SheetCollabCursorShape','throttleTime','CollaborationUIEventId','0\x200\x2016\x2016','_cursors','getLocalCacheKey','RECT','jiqing500','DocIMEInputManagerService','isArray','_drawRectRange','replaceState','@univerjs/design','_commandService','transformByState','_entityInit$','concat','get','133aUJhUq','code','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','ILogService','TEXT_RANGE_LAYER_INDEX','Warning','clipPath','IUIPartsService','_initStatusListener','_lastPointer','apply','Shape','bottom','override','_notificationService','Optional','_collabCursorController','SOCKET_FAILED_RETRY','use','@univerjs/docs','CollaborationStatus','getCollabCursors$','UNIVER_DOC','Plugin','react/jsx-runtime','onPointerEnter$','EMAIL_HAS_BEEN_BOUND','arc','APPLY_REJECT','ThemeService','attrs','_docStateChangeManagerService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','off-line-single_clip0_910_343','@univerjs/docs-ui','NodePositionConvertToRectRange','getFocusedUnit','_collabSessionService','unsubscribe','getOwnPropertyDescriptor','getUniverSheetInstance','getUndoRedoMutationParamsCache','getStateCache','subscribe','moveTo','_id','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','verdancy600','trim','children','APPLY_DUPLICATED','svg','@univerjs-pro/collaboration','CollaborationEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','memberID','show','_localeService','getAncestorScale','APPLY_REVISION_CONFILICT','collaboration.closeRoom','_removeClearOtherTimer','_instanceService','_startDocCollabCursor','complete','fill','setShapeProps','InsertRangeMoveRightCommandId','defs','univer-text-green-500','_heartbeatTimer','React','onPointerMove$','_initCommandExecutedListener','DeleteRangeMoveLeftCommandId','round','_toggleOnline','EffectRefRangId','exports','div','fillStyle','column','SHEET_VIEWPORT_KEY','red300','_textBubble','_onCursorDelete','LOCAL_CACHE_INTERVAL','extend','_docClipboardService','eventID','dispose','syncEditingCollabCursor','_scene','_send','mutations','searchParams','takeUntil','getViewport','CollaborationController','key','transformStateCache','mask','_initEvent','5223985AbcQFx','Failed','getTypeOfUnitAdded$','whenReady','drawWith','_localCacheService','runId','_handleHeartbeatEvent','unitId','undoState','...','_cursorInfo$','M0\x200H16V16H0z','registerRefRange','UniverInstanceType','editingUnit','startColumn','clsx','_cursor','createElement','getSheetBySheetId','_imageIoService','invokeId','#FFF','save','SheetsSelectionsService','getSkeleton','_anchor','SetSelectionsOperation','getCurrent','registerRenderModule','_assignedColors','toString','newValue','data','off-line-single','error','DocSelectionManagerService','sheetId','type','permission.content','defineProperty','HTTPService','_getSessionTicket','registerDependencies','UniverProCollaborationClient','CollaborationDataLoaderController','assignAColorForMemberID','getDocRanges','unshift','ColorKit','send','DocStateChangeManagerService','RxDisposable','collabStatus.syncing','_toggleOffline','INTERNAL_ERROR','jsxs','Error','removeParam','UniverIcon','ticket','_refRangeService','className','UniverSheets','setItem','getTypeOfUnitDisposed$','NOT_COLLAB','OTHER_CLIENT_EDITING','LICENSE_IMPORT_SIZE_EXCEEDED','UniverCollaborationClientPlugin','transformRemoteChangeset','combineLatest','onRendered','_drawAnchor','clearInterval','forEach','COMPLETION_FINISHED','popstate','_color','min'];_0x4484=function(){return _0x32f221;};return _0x4484();}function _0x2cf8(_0x55d905,_0x347698){const _0x448437=_0x4484();return _0x2cf8=function(_0x2cf82b,_0xfe26ab){_0x2cf82b=_0x2cf82b-0xba;let _0x50a46e=_0x448437[_0x2cf82b];return _0x50a46e;},_0x2cf8(_0x55d905,_0x347698);}(function(_0x1e7a56,_0x56daeb){const _0x2d4b06=_0x2cf8,_0x229b7=_0x1e7a56();while(!![]){try{const _0x343b55=-parseInt(_0x2d4b06(0x30a))/0x1*(-parseInt(_0x2d4b06(0xcb))/0x2)+-parseInt(_0x2d4b06(0x1f6))/0x3*(parseInt(_0x2d4b06(0x326))/0x4)+-parseInt(_0x2d4b06(0x282))/0x5+-parseInt(_0x2d4b06(0x1ab))/0x6*(parseInt(_0x2d4b06(0x21b))/0x7)+parseInt(_0x2d4b06(0x13e))/0x8*(parseInt(_0x2d4b06(0x1b7))/0x9)+parseInt(_0x2d4b06(0x15c))/0xa+parseInt(_0x2d4b06(0x150))/0xb;if(_0x343b55===_0x56daeb)break;else _0x229b7['push'](_0x229b7['shift']());}catch(_0x1211d2){_0x229b7['push'](_0x229b7['shift']());}}}(_0x4484,0xa4002),function(_0x2647f6,_0x3e2265){const _0x33ef6d=_0x2cf8;typeof exports==_0x33ef6d(0xfb)&&typeof module<'u'?_0x3e2265(exports,require(_0x33ef6d(0x151)),require('@univerjs/core'),require(_0x33ef6d(0x1f7)),require(_0x33ef6d(0x317)),require(_0x33ef6d(0x23d)),require(_0x33ef6d(0x1a0)),require(_0x33ef6d(0x133)),require(_0x33ef6d(0x22e)),require(_0x33ef6d(0x24f)),require('@univerjs/engine-formula'),require(_0x33ef6d(0x15f)),require(_0x33ef6d(0x112)),require(_0x33ef6d(0x178)),require(_0x33ef6d(0x233)),require(_0x33ef6d(0x1a6)),require(_0x33ef6d(0x215)),require(_0x33ef6d(0xf6)),require(_0x33ef6d(0x1e2))):typeof define==_0x33ef6d(0x18f)&&define[_0x33ef6d(0xf8)]?define([_0x33ef6d(0x269),_0x33ef6d(0x151),'@univerjs/core','@univerjs/engine-render',_0x33ef6d(0x317),'@univerjs/docs-ui',_0x33ef6d(0x1a0),_0x33ef6d(0x133),_0x33ef6d(0x22e),_0x33ef6d(0x24f),_0x33ef6d(0x1e0),_0x33ef6d(0x15f),_0x33ef6d(0x112),_0x33ef6d(0x178),_0x33ef6d(0x233),'@univerjs/ui',_0x33ef6d(0x215),'react',_0x33ef6d(0x1e2)],_0x3e2265):(_0x2647f6=typeof globalThis<'u'?globalThis:_0x2647f6||self,_0x3e2265(_0x2647f6[_0x33ef6d(0x190)]={},_0x2647f6[_0x33ef6d(0x2af)],_0x2647f6['UniverCore'],_0x2647f6['UniverEngineRender'],_0x2647f6[_0x33ef6d(0x2e3)],_0x2647f6['UniverDocsUi'],_0x2647f6[_0x33ef6d(0x1fc)],_0x2647f6['rxjs'],_0x2647f6['UniverDocs'],_0x2647f6['UniverProCollaboration'],_0x2647f6[_0x33ef6d(0x1a4)],_0x2647f6[_0x33ef6d(0x2c2)],_0x2647f6['rxjs'][_0x33ef6d(0x12c)],_0x2647f6[_0x33ef6d(0x1ec)],_0x2647f6[_0x33ef6d(0x262)],_0x2647f6[_0x33ef6d(0x2f7)],_0x2647f6[_0x33ef6d(0x199)],_0x2647f6['React'],_0x2647f6['UniverRpc']));}(this,function(_0x1db428,_0x175918,_0x404026,_0x112353,_0x2ffc80,_0x2bec5e,_0x43a187,_0x4a3af0,_0x121a01,_0x503ae1,_0xe7f79b,_0x431058,_0x59a115,_0x954753,_0x59c8dc,_0x4ebc0a,_0x62b316,_0x3ac11,_0x554860){'use strict';const _0x195f34=_0x2cf8;var _0x5adb5c=Object['defineProperty'],_0x5cedca=(_0x577243,_0xc04592,_0x5c4c29)=>_0xc04592 in _0x577243?_0x5adb5c(_0x577243,_0xc04592,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c4c29}):_0x577243[_0xc04592]=_0x5c4c29,_0x2f983b=(_0x343b27,_0x1867d6,_0x29288d)=>_0x5cedca(_0x343b27,typeof _0x1867d6!=_0x195f34(0x1c2)?_0x1867d6+'':_0x1867d6,_0x29288d),_0x4d3eb7=Object[_0x195f34(0x242)],_0x7698c9=(_0x375869,_0x385fc0,_0x45cfb7,_0x3e1a7e)=>{const _0x1615ea=_0x195f34;for(var _0x33bc9e=_0x3e1a7e>0x1?void 0x0:_0x3e1a7e?_0x4d3eb7(_0x385fc0,_0x45cfb7):_0x385fc0,_0x1edbca=_0x375869[_0x1615ea(0x2eb)]-0x1,_0xe2a86e;_0x1edbca>=0x0;_0x1edbca--)(_0xe2a86e=_0x375869[_0x1edbca])&&(_0x33bc9e=_0xe2a86e(_0x33bc9e)||_0x33bc9e);return _0x33bc9e;},_0x3539e=(_0x357731,_0x10a6d2)=>(_0x437dcd,_0x108c49)=>_0x10a6d2(_0x437dcd,_0x108c49,_0x357731);let _0x562bc4=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x53288f,_0x5b5b08){const _0x177e34=_0x195f34;super(),this[_0x177e34(0x273)]=_0x53288f,this['_imageIoService']=_0x5b5b08,this[_0x177e34(0xf5)]();}['_init'](){const _0x404bd6=_0x195f34,_0x27b4ad=this;this[_0x404bd6(0xd5)](this['_docClipboardService'][_0x404bd6(0x1eb)]({'onBeforePasteImage':async _0x4c728e=>{const _0xc607cd=_0x404bd6,_0x3999a9=await _0x27b4ad[_0xc607cd(0x297)][_0xc607cd(0xcd)](_0x4c728e);return _0x3999a9?{'source':_0x3999a9[_0xc607cd(0x327)],'imageSourceType':_0x3999a9[_0xc607cd(0x330)]}:null;}}));}};_0x562bc4=_0x7698c9([_0x3539e(0x0,_0x2bec5e[_0x195f34(0x18d)]),_0x3539e(0x1,_0x43a187[_0x195f34(0x1b9)])],_0x562bc4);const _0x2083b0=[_0x195f34(0x16c),_0x195f34(0x210),_0x195f34(0x24a),_0x195f34(0x26e),'blue400','gold400'];class _0x2d40ec extends _0x404026[_0x195f34(0xd8)]{constructor(){const _0x31ef7e=_0x195f34;super(...arguments),_0x2f983b(this,_0x31ef7e(0x2a1),new Map()),_0x2f983b(this,'_colorIndex',0x0);}[_0x195f34(0x2b1)](_0x48b2e9){const _0xc18875=_0x195f34;if(this[_0xc18875(0x2a1)][_0xc18875(0x2ee)](_0x48b2e9))return this[_0xc18875(0x2a1)][_0xc18875(0x21a)](_0x48b2e9);const _0x51c355=_0x2083b0[this[_0xc18875(0x2e7)]];return this[_0xc18875(0x2e7)]=(this[_0xc18875(0x2e7)]+0x1)%_0x2083b0[_0xc18875(0x2eb)],this[_0xc18875(0x2a1)][_0xc18875(0x316)](_0x48b2e9,_0x51c355),_0x51c355;}}function _0x2b5484(_0x47f212){const _0x438b64=_0x195f34;let _0x71e054='';for(const _0x1225df of _0x47f212){const {startOffset:_0x30e5a8,endOffset:_0x3e41c7,isActive:_0x1bec83,rangeType:_0x491754,segmentId:_0x173b84,segmentPage:_0x23eb6e}=_0x1225df;_0x71e054[_0x438b64(0x2eb)]&&(_0x71e054+=','),_0x71e054+=_0x30e5a8+':'+_0x3e41c7+':'+(_0x1bec83?'1':'0')+':'+_0x491754+':'+_0x173b84+':'+_0x23eb6e;}return _0x71e054;}function _0x36d8db(_0x291901){const _0x2983f7=_0x195f34,_0x47ed66=_0x291901[_0x2983f7(0x18b)](','),_0x2cdb3b=[];for(const _0x17e760 of _0x47ed66){const [_0x194374,_0x4a9a1c,_0x3774e6,_0x1cbc2e,_0x451865,_0x3fa5e0]=_0x17e760[_0x2983f7(0x18b)](':');_0x2cdb3b['push']({'startOffset':Number(_0x194374),'endOffset':Number(_0x4a9a1c),'collapsed':_0x194374===_0x4a9a1c,'isActive':_0x3774e6==='1','rangeType':_0x1cbc2e===_0x404026[_0x2983f7(0x14c)]['TEXT']?_0x404026[_0x2983f7(0x14c)][_0x2983f7(0x1d9)]:_0x404026[_0x2983f7(0x14c)][_0x2983f7(0x20f)],'segmentId':typeof _0x451865==_0x2983f7(0x148)?String(_0x451865):'','segmentPage':Number(_0x3fa5e0!=null?_0x3fa5e0:-0x1)});}return _0x2cdb3b[_0x2983f7(0x123)](_0x29a408=>_0x29a408[_0x2983f7(0x14b)])||(_0x2cdb3b[0x0]['isActive']=!0x0),_0x2cdb3b;}class _0x320f00 extends _0x404026['RxDisposable']{constructor(){const _0x2fca44=_0x195f34;super(...arguments),_0x2f983b(this,'_collabCursorState$',new _0x4a3af0[(_0x2fca44(0x2d4))](null)),_0x2f983b(this,_0x2fca44(0x1dd),this[_0x2fca44(0x181)]['asObservable']());}['syncEditingCollabCursor'](_0x187843){const _0x59d576=_0x195f34,{unitID:_0x3332a6,memberID:_0x27dab4,textRanges:_0x409869}=_0x187843,_0x1fe034=_0x2b5484(_0x409869);if(_0x1fe034==='')return;const _0x28f1c1={'unitID':_0x3332a6,'memberID':_0x27dab4,'selection':_0x1fe034};this[_0x59d576(0x181)]['next'](_0x28f1c1);}}var _0x12e041=Object[_0x195f34(0x242)],_0x57b9f7=(_0x4b574a,_0x3cffb4,_0x3257a0,_0x1de101)=>{const _0x132374=_0x195f34;for(var _0x165889=_0x1de101>0x1?void 0x0:_0x1de101?_0x12e041(_0x3cffb4,_0x3257a0):_0x3cffb4,_0x48a387=_0x4b574a[_0x132374(0x2eb)]-0x1,_0x44d1e0;_0x48a387>=0x0;_0x48a387--)(_0x44d1e0=_0x4b574a[_0x48a387])&&(_0x165889=_0x44d1e0(_0x165889)||_0x165889);return _0x165889;},_0xa0054=(_0xfbebeb,_0x2fa641)=>(_0x8b5759,_0x1bc9fb)=>_0x2fa641(_0x8b5759,_0x1bc9fb,_0xfbebeb);const _0x3c5b34=0x12c,_0x1514c8=0x64;let _0x366001=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x3692b3,_0x586b71,_0x28ee91,_0xea0bf4,_0x5d3f2f,_0x44e62c,_0x2c27ac,_0x33fb11,_0x52a0f8){const _0x59cd5c=_0x195f34;super(),_0x2f983b(this,_0x59cd5c(0x19c),!0x1),_0x2f983b(this,'_init',!0x1),_0x2f983b(this,_0x59cd5c(0x28d),new _0x4a3af0[(_0x59cd5c(0x2d4))](new Map())),_0x2f983b(this,_0x59cd5c(0x2dd),this[_0x59cd5c(0x28d)][_0x59cd5c(0x111)]()),_0x2f983b(this,_0x59cd5c(0x328),new _0x4a3af0['BehaviorSubject']([])),_0x2f983b(this,'roomMembers$',this['_roomMembers$'][_0x59cd5c(0x2f3)](_0x4a3af0['debounceTime'](_0x3c5b34))),_0x2f983b(this,_0x59cd5c(0x1c3),_0x404026[_0x59cd5c(0x2de)](_0x350a2f=>{const _0x2e3b80=_0x59cd5c,_0xd14c6f={'eventID':_0x503ae1['CollaborationEvent'][_0x2e3b80(0xf1)],'data':{'unitID':this[_0x2e3b80(0x1e1)],'memberID':this[_0x2e3b80(0x1d0)][_0x2e3b80(0x19a)](),'selection':_0x2b5484(_0x350a2f)}};this['_session'][_0x2e3b80(0x2b5)](_0xd14c6f,this[_0x2e3b80(0x1e1)]);},_0x1514c8)),(this[_0x59cd5c(0x1e1)]=_0x3692b3,this['_session']=_0x586b71,this[_0x59cd5c(0x2df)]=_0x28ee91,this[_0x59cd5c(0xee)]=_0xea0bf4,this['_memberService']=_0x5d3f2f,this[_0x59cd5c(0x13a)]=_0x44e62c,this[_0x59cd5c(0x115)]=_0x2c27ac,this['_univerInstanceService']=_0x33fb11,this['_commandService']=_0x52a0f8);}get[_0x195f34(0x2e4)](){const _0x3c145b=_0x195f34;return this[_0x3c145b(0x28d)][_0x3c145b(0x14a)]();}get['roomMembers'](){const _0x3addc8=_0x195f34;return this[_0x3addc8(0x328)]['getValue']();}[_0x195f34(0x275)](){const _0x1ce6ac=_0x195f34;super[_0x1ce6ac(0x275)](),this[_0x1ce6ac(0x28d)][_0x1ce6ac(0x1d6)](new Map()),this[_0x1ce6ac(0x28d)][_0x1ce6ac(0x25b)](),this[_0x1ce6ac(0x328)][_0x1ce6ac(0x1d6)]([]),this[_0x1ce6ac(0x328)][_0x1ce6ac(0x25b)]();}[_0x195f34(0x1dc)](){const _0x704740=_0x195f34;this[_0x704740(0xf5)]||(this[_0x704740(0xf5)]=!0x0,this[_0x704740(0x1d0)]['sessionStatus$']['pipe'](_0x4a3af0[_0x704740(0x27b)](this[_0x704740(0x30e)]))['subscribe'](_0x1d121d=>{const _0x1b8961=_0x704740;_0x1d121d===_0x175918[_0x1b8961(0x1bc)][_0x1b8961(0x2e2)]?this[_0x1b8961(0x267)]():this[_0x1b8961(0x2b9)]();}),this[_0x704740(0x1d0)][_0x704740(0x13f)][_0x704740(0x2f3)](_0x4a3af0['takeUntil'](this['dispose$']))['subscribe'](_0x4bede6=>{const _0x37bac4=_0x704740,_0x41e232=_0x4bede6[_0x37bac4(0x274)];_0x41e232===_0x503ae1[_0x37bac4(0x250)]['UPDATE_CURSOR']&&this[_0x37bac4(0x203)](_0x4bede6),_0x41e232===_0x503ae1[_0x37bac4(0x250)][_0x37bac4(0x10a)]&&this[_0x37bac4(0x270)](_0x4bede6);}),this['disposeWithMe'](this[_0x704740(0x216)][_0x704740(0x2f9)](_0x1d9afa=>{const _0x2f4181=_0x704740,_0x43b45b=_0x1d9afa['params'];_0x43b45b!=null&&this[_0x2f4181(0x19c)]&&_0x1d9afa['id']===_0x121a01['SetTextSelectionsOperation']['id']&&_0x43b45b[_0x2f4181(0x28a)]===this[_0x2f4181(0x1e1)]&&_0x43b45b['isEditing']===!0x1&&_0x43b45b[_0x2f4181(0x31e)][_0x2f4181(0x2eb)]>0x0&&this[_0x2f4181(0x1c3)](_0x43b45b[_0x2f4181(0x31e)]);})),this[_0x704740(0x13a)][_0x704740(0x1dd)][_0x704740(0x2f3)](_0x4a3af0[_0x704740(0x27b)](this['dispose$']))[_0x704740(0x246)](_0x56ee3c=>{const _0x5ae7a0=_0x704740;if((_0x56ee3c==null?void 0x0:_0x56ee3c[_0x5ae7a0(0x1e1)])!==this[_0x5ae7a0(0x1e1)])return;const _0x2bf8e3={'eventID':_0x503ae1[_0x5ae7a0(0x250)][_0x5ae7a0(0xf1)],'data':_0x56ee3c};this[_0x5ae7a0(0x203)](_0x2bf8e3);}),this[_0x704740(0xd5)](this['_commandService']['onCommandExecuted'](_0x3018cc=>{const _0x184aec=_0x704740;if(_0x3018cc[_0x184aec(0x1a2)]==null)return;const _0x537331=_0x3018cc[_0x184aec(0x1a2)];if(_0x3018cc['id']!==_0x121a01[_0x184aec(0x205)]['id']||_0x537331[_0x184aec(0x28a)]!==this['unitID'])return;const _0x2cd022={'id':_0x184aec(0xdb),'params':_0x537331},_0x578926=this['cursorInfo'];for(const [_0x3a42b7,_0xb2182a]of _0x578926){const _0x2c88ab={'id':_0x184aec(0xdb),'params':{'unitId':this[_0x184aec(0x1e1)],'actions':null,'textRanges':_0xb2182a['ranges']}},_0x227cbd=this[_0x184aec(0x115)][_0x184aec(0x116)](_0x2cd022,_0x2c88ab,!0x1);if(_0x503ae1['isTransformMutationFailure'](_0x227cbd))throw _0x227cbd[_0x184aec(0x2a6)];_0x578926[_0x184aec(0x316)](_0x3a42b7,{..._0xb2182a,'ranges':_0x227cbd[_0x184aec(0xfa)][_0x184aec(0x1a2)][_0x184aec(0x100)]});}queueMicrotask(()=>{const _0x49f1ca=_0x184aec;this['_cursorInfo$'][_0x49f1ca(0x1d6)](_0x578926);});})));}[_0x195f34(0x203)](_0x56dc0c){const _0x58676e=_0x195f34;var _0x3440c5,_0x39fca3;const {memberID:_0x39fc36,selection:_0xe1352a}=_0x56dc0c[_0x58676e(0x2a4)],_0x3b3b9c=_0x36d8db(_0xe1352a),_0x56d645=(_0x39fca3=(_0x3440c5=this[_0x58676e(0x308)][_0x58676e(0x2f0)](this[_0x58676e(0x1e1)],_0x39fc36))==null?void 0x0:_0x3440c5[_0x58676e(0x185)])!=null?_0x39fca3:_0x58676e(0x1bb),_0x1c2aca={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x39fc36),'name':_0x56d645,'ranges':_0x3b3b9c},_0xe86839=this[_0x58676e(0x2e4)];_0xe86839[_0x58676e(0x316)](_0x39fc36,_0x1c2aca),this['_cursorInfo$'][_0x58676e(0x1d6)](_0xe86839);}[_0x195f34(0x270)](_0xdc3c5e){const _0xfa313d=_0x195f34,{memberID:_0x302736}=_0xdc3c5e[_0xfa313d(0x2a4)],_0x5c56a9=this[_0xfa313d(0x2e4)];_0x5c56a9['delete'](_0x302736),this['_cursorInfo$']['next'](_0x5c56a9);}['_toggleOnline'](){const _0x9b8acf=_0x195f34;var _0x4f53f4;if(this[_0x9b8acf(0x19c)]=!0x0,((_0x4f53f4=this[_0x9b8acf(0x1cb)]['getFocusedUnit']())==null?void 0x0:_0x4f53f4['getUnitId']())!==this[_0x9b8acf(0x1e1)])return;const _0xbfa07d=this['_injector'][_0x9b8acf(0x21a)](_0x121a01[_0x9b8acf(0x2a7)])[_0x9b8acf(0x2b2)]();Array['isArray'](_0xbfa07d)&&_0xbfa07d[_0x9b8acf(0x2eb)]>0x0&&this['_updateLocalCursor'](_0xbfa07d);}[_0x195f34(0x2b9)](){const _0x585cdb=_0x195f34;this[_0x585cdb(0x19c)]=!0x1;}};_0x366001=_0x57b9f7([_0xa0054(0x2,_0x404026[_0x195f34(0x2ef)](_0x404026['Injector'])),_0xa0054(0x3,_0x404026[_0x195f34(0x2ef)](_0x2d40ec)),_0xa0054(0x4,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x155)])),_0xa0054(0x5,_0x404026[_0x195f34(0x2ef)](_0x320f00)),_0xa0054(0x6,_0x503ae1[_0x195f34(0xec)]),_0xa0054(0x7,_0x404026[_0x195f34(0xc8)]),_0xa0054(0x8,_0x404026[_0x195f34(0x2ed)])],_0x366001);var _0x1bdcf5=Object[_0x195f34(0x242)],_0x500d45=(_0x14bc6,_0x36d9f3,_0x5bb0ce,_0x210ef7)=>{const _0x10f6e6=_0x195f34;for(var _0x5f2012=_0x210ef7>0x1?void 0x0:_0x210ef7?_0x1bdcf5(_0x36d9f3,_0x5bb0ce):_0x36d9f3,_0x25f759=_0x14bc6[_0x10f6e6(0x2eb)]-0x1,_0x509f97;_0x25f759>=0x0;_0x25f759--)(_0x509f97=_0x14bc6[_0x25f759])&&(_0x5f2012=_0x509f97(_0x5f2012)||_0x5f2012);return _0x5f2012;},_0x592a58=(_0x552a8e,_0x1c7543)=>(_0x5607b9,_0x1ad010)=>_0x1c7543(_0x5607b9,_0x1ad010,_0x552a8e);const _0x214ced=0x12c,_0x28c7a9=0x64,_0x49d51f=()=>{let _0x4e82fb=[],_0x254f2e=!0x1;return _0x1aaf13=>{_0x4e82fb['push'](_0x1aaf13),_0x254f2e||(_0x254f2e=!0x0,setTimeout(()=>{const _0x32a1ac=_0x2cf8;_0x4e82fb[_0x32a1ac(0x2ce)](_0x2bff11=>_0x2bff11()),_0x4e82fb=[],_0x254f2e=!0x1;}));};};let _0x523efd=class extends _0x404026['RxDisposable']{constructor(_0x4fb58d,_0x59d38f,_0x2be742,_0x1e61bd,_0x1ffac0,_0x560567,_0x366694,_0x36e9ac){const _0x5c6901=_0x195f34;super(),_0x2f983b(this,'_online',!0x1),_0x2f983b(this,'_init',!0x1),_0x2f983b(this,_0x5c6901(0x28d),new _0x4a3af0[(_0x5c6901(0x2d4))](new Map())),_0x2f983b(this,_0x5c6901(0x2dd),this[_0x5c6901(0x28d)][_0x5c6901(0x111)]()),_0x2f983b(this,'_roomMembers$',new _0x4a3af0[(_0x5c6901(0x2d4))]([])),_0x2f983b(this,_0x5c6901(0x2fd),this[_0x5c6901(0x328)][_0x5c6901(0x2f3)](_0x4a3af0[_0x5c6901(0x1a5)](_0x214ced))),_0x2f983b(this,_0x5c6901(0x1c3),_0x404026[_0x5c6901(0x2de)]((_0x56a200,_0x23df53)=>{const _0x32566a=_0x5c6901,_0x6d1c67={'eventID':_0x503ae1[_0x32566a(0x250)][_0x32566a(0xf1)],'data':{'unitID':this[_0x32566a(0x1e1)],'memberID':this[_0x32566a(0x1d0)][_0x32566a(0x19a)](),'selection':_0xe7f79b[_0x32566a(0x193)](_0x56a200,_0x23df53[_0x32566a(0x122)])}};this[_0x32566a(0x1d0)][_0x32566a(0x2b5)](_0x6d1c67,this[_0x32566a(0x1e1)]);},_0x28c7a9)),(this['unitID']=_0x4fb58d,this['_session']=_0x59d38f,this['_injector']=_0x2be742,this[_0x5c6901(0xee)]=_0x1e61bd,this['_memberService']=_0x1ffac0,this[_0x5c6901(0x1cb)]=_0x560567,this[_0x5c6901(0x216)]=_0x366694,this[_0x5c6901(0x2c0)]=_0x36e9ac);}get['cursorInfo'](){const _0x433370=_0x195f34;return this[_0x433370(0x28d)][_0x433370(0x14a)]();}get['roomMembers'](){const _0x82948d=_0x195f34;return this['_roomMembers$'][_0x82948d(0x14a)]();}['dispose'](){const _0x4fda44=_0x195f34;super[_0x4fda44(0x275)](),this[_0x4fda44(0x28d)][_0x4fda44(0x1d6)](new Map()),this[_0x4fda44(0x28d)][_0x4fda44(0x25b)](),this[_0x4fda44(0x328)][_0x4fda44(0x1d6)]([]),this['_roomMembers$']['complete']();}[_0x195f34(0x1dc)](){const _0x4d4581=_0x195f34;this[_0x4d4581(0xf5)]||(this[_0x4d4581(0xf5)]=!0x0,this[_0x4d4581(0x1d0)]['sessionStatus$'][_0x4d4581(0x2f3)](_0x4a3af0[_0x4d4581(0x27b)](this['dispose$']))[_0x4d4581(0x246)](_0x46112a=>{const _0x4dbcc4=_0x4d4581;_0x46112a===_0x175918[_0x4dbcc4(0x1bc)][_0x4dbcc4(0x2e2)]?this[_0x4dbcc4(0x267)]():this[_0x4dbcc4(0x2b9)]();}),this['_session']['event$'][_0x4d4581(0x2f3)](_0x4a3af0[_0x4d4581(0x27b)](this[_0x4d4581(0x30e)]))[_0x4d4581(0x246)](_0x4f2ebe=>{const _0x4da34c=_0x4d4581,_0x4a134a=_0x4f2ebe['eventID'];_0x4a134a===_0x503ae1['CollaborationEvent'][_0x4da34c(0xf1)]&&this[_0x4da34c(0x203)](_0x4f2ebe),_0x4a134a===_0x503ae1[_0x4da34c(0x250)][_0x4da34c(0x10a)]&&this[_0x4da34c(0x270)](_0x4f2ebe);}),this[_0x4d4581(0xd6)](),this[_0x4d4581(0xd5)](this[_0x4d4581(0x216)][_0x4d4581(0x2f9)](_0x2f7ded=>{const _0xa4a2af=_0x4d4581;if(this[_0xa4a2af(0x19c)]&&_0x2f7ded['id']===_0x431058[_0xa4a2af(0x29e)]['id']&&_0x2f7ded['params'][_0xa4a2af(0x28a)]===this[_0xa4a2af(0x1e1)]){const _0x224499=_0x2f7ded[_0xa4a2af(0x1a2)];this['_updateLocalCursor'](_0x224499[_0xa4a2af(0x33f)],_0x224499['selections'][0x0]);}})));}['_onCursorUpdate'](_0x1f977d){const _0x7beafe=_0x195f34;var _0x5548b5,_0x2a473c;const {memberID:_0x5347e1,selection:_0x86440e}=_0x1f977d['data'],{sheetName:_0x250dc6,range:_0x252035}=_0xe7f79b[_0x7beafe(0x320)](_0x86440e),_0x573775={'name':(_0x2a473c=(_0x5548b5=this['_memberService']['getMember'](this['unitID'],_0x5347e1))==null?void 0x0:_0x5548b5[_0x7beafe(0x185)])!=null?_0x2a473c:'Unknown\x20user','range':this[_0x7beafe(0x2fb)](_0x250dc6,_0x252035),'sheetID':_0x250dc6,'color':this[_0x7beafe(0xee)][_0x7beafe(0x2b1)](_0x5347e1),'selection':_0x86440e},_0x267aee=this[_0x7beafe(0x2e4)];_0x267aee[_0x7beafe(0x316)](_0x5347e1,_0x573775),this[_0x7beafe(0x28d)][_0x7beafe(0x1d6)](_0x267aee);}['_onCursorDelete'](_0x39757b){const _0x412f3e=_0x195f34,{memberID:_0x1c0440}=_0x39757b['data'],_0x37bac6=this[_0x412f3e(0x2e4)];_0x37bac6[_0x412f3e(0x197)](_0x1c0440),this[_0x412f3e(0x28d)][_0x412f3e(0x1d6)](_0x37bac6);}[_0x195f34(0x2fb)](_0x5f5984,_0x300c6d){const _0x509385=_0x195f34;var _0x51af8e,_0x32cead;const _0x40ffb0=(_0x32cead=(_0x51af8e=this['_univerInstanceService'][_0x509385(0x243)](this[_0x509385(0x1e1)]))==null?void 0x0:_0x51af8e[_0x509385(0x296)](_0x5f5984))==null?void 0x0:_0x32cead[_0x509385(0x17a)]();return(_0x40ffb0==null?void 0x0:_0x40ffb0[_0x509385(0x1c1)](_0x5491a0=>_0x404026[_0x509385(0x143)][_0x509385(0x1b2)](_0x5491a0,_0x300c6d)))||_0x300c6d;}['_onRefRangeChange'](){const _0x4b387a=_0x195f34,_0x53c166=new _0x404026[(_0x4b387a(0x2d9))](),_0x2acb7e=_0x49d51f(),_0x470d0d=()=>{const _0x10c11c=_0x4b387a;_0x53c166[_0x10c11c(0x275)]();const _0x134efd=(_0x1e117a,_0x27f301,_0x558906,_0x2cdb50)=>{const _0x54a928=_0x10c11c;let _0x14c3b8=[];switch(_0x1e117a['id']){case _0x431058[_0x54a928(0x268)][_0x54a928(0x265)]:{_0x14c3b8=_0x431058['handleDeleteRangeMoveLeft'](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)][_0x54a928(0x1a9)]:{_0x14c3b8=_0x431058[_0x54a928(0x2fa)](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)]['InsertColCommandId']:{_0x14c3b8=_0x431058[_0x54a928(0x180)](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)][_0x54a928(0x132)]:{_0x14c3b8=_0x431058[_0x54a928(0x158)](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)][_0x54a928(0x25e)]:{_0x14c3b8=_0x431058[_0x54a928(0xd0)](_0x1e117a,_0x2cdb50);break;}case _0x431058['EffectRefRangId']['InsertRowCommandId']:{_0x14c3b8=_0x431058['handleInsertRow'](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)][_0x54a928(0x312)]:{_0x14c3b8=_0x431058[_0x54a928(0x2f8)](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)]['RemoveColCommandId']:{_0x14c3b8=_0x431058['handleIRemoveCol'](_0x1e117a,_0x2cdb50);break;}case _0x431058[_0x54a928(0x268)]['RemoveRowCommandId']:{_0x14c3b8=_0x431058[_0x54a928(0x2e8)](_0x1e117a,_0x2cdb50);break;}}const _0xa5a427=_0x431058['runRefRangeMutations'](_0x14c3b8,_0x2cdb50),_0x47daf5=this[_0x54a928(0x2e4)][_0x54a928(0x21a)](_0x27f301);if(_0x47daf5&&_0xa5a427){const _0x2bd6fb={..._0x47daf5,'range':_0xa5a427};this[_0x54a928(0x2e4)]['set'](_0x27f301,_0x2bd6fb),_0x2acb7e(()=>{const _0x3ab31d=_0x54a928,_0x34bf48=this[_0x3ab31d(0x2c0)][_0x3ab31d(0x28f)](_0xa5a427,_0x46aedc=>(_0x34bf48[_0x3ab31d(0x275)](),_0x134efd(_0x46aedc,_0x27f301,_0x558906,_0xa5a427)));_0x53c166[_0x3ab31d(0x2f6)](_0x34bf48);});}return{'redos':[],'undos':[]};};this[_0x10c11c(0x2e4)]['forEach']((_0x318370,_0x58c604)=>{const _0x3acbec=_0x10c11c,{range:_0x4f7731,sheetID:_0x34d25e}=_0x318370,_0x375b8f=this[_0x3acbec(0x2c0)][_0x3acbec(0x28f)](_0x4f7731,_0x5b1da4=>(_0x375b8f[_0x3acbec(0x275)](),_0x134efd(_0x5b1da4,_0x58c604,_0x34d25e,_0x4f7731)));_0x53c166[_0x3acbec(0x2f6)](_0x375b8f);});};this[_0x4b387a(0xd5)](_0x404026['toDisposable'](this[_0x4b387a(0x28d)][_0x4b387a(0x246)](()=>{_0x470d0d();})));}[_0x195f34(0x267)](){const _0x535091=_0x195f34;var _0x35dfc1,_0x3919c;if(this[_0x535091(0x19c)]=!0x0,((_0x35dfc1=this['_univerInstanceService'][_0x535091(0x23f)]())==null?void 0x0:_0x35dfc1[_0x535091(0x19f)]())!==this['unitID'])return;const _0x3dd9b9=(_0x3919c=this[_0x535091(0x2df)][_0x535091(0x21a)](_0x431058[_0x535091(0x29b)])[_0x535091(0x19b)]())==null?void 0x0:_0x3919c[0x0],_0x5b01fc=this[_0x535091(0x1cb)][_0x535091(0x1cc)](_0x404026[_0x535091(0x290)][_0x535091(0x304)])['getActiveSheet']();_0x3dd9b9&&_0x5b01fc&&this[_0x535091(0x1c3)](_0x5b01fc[_0x535091(0x102)](),_0x3dd9b9);}['_toggleOffline'](){const _0x159f63=_0x195f34;this[_0x159f63(0x19c)]=!0x1;}};_0x523efd=_0x500d45([_0x592a58(0x2,_0x404026[_0x195f34(0x2ef)](_0x404026['Injector'])),_0x592a58(0x3,_0x404026['Inject'](_0x2d40ec)),_0x592a58(0x4,_0x404026['Inject'](_0x175918[_0x195f34(0x155)])),_0x592a58(0x5,_0x404026[_0x195f34(0xc8)]),_0x592a58(0x6,_0x404026[_0x195f34(0x2ed)]),_0x592a58(0x7,_0x404026['Inject'](_0x431058[_0x195f34(0x2f5)]))],_0x523efd);var _0x499650=Object['getOwnPropertyDescriptor'],_0x70fa28=(_0x1fa0b2,_0x23bb29,_0xa76936,_0x3a5b18)=>{const _0x3520a7=_0x195f34;for(var _0x799083=_0x3a5b18>0x1?void 0x0:_0x3a5b18?_0x499650(_0x23bb29,_0xa76936):_0x23bb29,_0x369155=_0x1fa0b2[_0x3520a7(0x2eb)]-0x1,_0x5c167b;_0x369155>=0x0;_0x369155--)(_0x5c167b=_0x1fa0b2[_0x369155])&&(_0x799083=_0x5c167b(_0x799083)||_0x799083);return _0x799083;},_0x1a7139=(_0x46b429,_0x210ea6)=>(_0x56af88,_0x2d3069)=>_0x210ea6(_0x56af88,_0x2d3069,_0x46b429);let _0x38d523=class extends _0x404026['RxDisposable']{constructor(_0x1b1648,_0x3995d0,_0x520cba){const _0x51d437=_0x195f34;super(),_0x2f983b(this,_0x51d437(0xc7),new Map()),_0x2f983b(this,_0x51d437(0x218),new _0x4a3af0[(_0x51d437(0x1ea))]()),(this['_univerInstanceService']=_0x1b1648,this['_injector']=_0x3995d0,this['_collabSessionService']=_0x520cba,this[_0x51d437(0xf5)]());}['dispose'](){const _0x3c2b55=_0x195f34;super['dispose'](),this[_0x3c2b55(0x218)][_0x3c2b55(0x25b)](),this[_0x3c2b55(0xc7)]['forEach'](_0x16979d=>_0x16979d['dispose']());}['getCollabCursors$'](_0xa6d8b3){const _0x58e482=_0x195f34;return this[_0x58e482(0xc7)][_0x58e482(0x2ee)](_0xa6d8b3)?this['_entities'][_0x58e482(0x21a)](_0xa6d8b3)['cursorInfo$']:this[_0x58e482(0x218)][_0x58e482(0x2f3)](_0x4a3af0[_0x58e482(0x1ca)](_0x115bdd=>_0x115bdd[_0x58e482(0x1e1)]===_0xa6d8b3),_0x4a3af0[_0x58e482(0x18e)](_0x10a090=>_0x10a090[_0x58e482(0x2dd)]));}[_0x195f34(0xf5)](){const _0x4ab66d=_0x195f34;this[_0x4ab66d(0x1cb)]['getTypeOfUnitAdded$'](_0x404026[_0x4ab66d(0x290)][_0x4ab66d(0x304)])['pipe'](_0x4a3af0[_0x4ab66d(0x27b)](this[_0x4ab66d(0x30e)]))[_0x4ab66d(0x246)](async _0x564b76=>{const _0x2a4df7=_0x4ab66d,_0x139bab=_0x564b76[_0x2a4df7(0x19f)](),_0x41b4a3=await this[_0x2a4df7(0x1e4)](_0x139bab);this[_0x2a4df7(0x218)][_0x2a4df7(0x1d6)](_0x41b4a3),this['_entities'][_0x2a4df7(0x316)](_0x139bab,_0x41b4a3);}),this[_0x4ab66d(0x1cb)][_0x4ab66d(0x284)](_0x404026['UniverInstanceType'][_0x4ab66d(0x231)])[_0x4ab66d(0x2f3)](_0x4a3af0[_0x4ab66d(0x27b)](this[_0x4ab66d(0x30e)]))[_0x4ab66d(0x2f3)](_0x4a3af0[_0x4ab66d(0x1ca)](_0x23e940=>!_0x23e940[_0x4ab66d(0x19f)]()[_0x4ab66d(0x2d6)]('__')))[_0x4ab66d(0x246)](async _0x982596=>{const _0x28c983=_0x4ab66d,_0x484e54=_0x982596[_0x28c983(0x19f)](),_0x33f1fc=await this[_0x28c983(0x25a)](_0x484e54);this[_0x28c983(0x218)][_0x28c983(0x1d6)](_0x33f1fc),this[_0x28c983(0xc7)][_0x28c983(0x316)](_0x484e54,_0x33f1fc);}),_0x4a3af0[_0x4ab66d(0x1b4)](this[_0x4ab66d(0x1cb)][_0x4ab66d(0x2c4)](_0x404026[_0x4ab66d(0x290)][_0x4ab66d(0x231)]),this[_0x4ab66d(0x1cb)][_0x4ab66d(0x2c4)](_0x404026[_0x4ab66d(0x290)][_0x4ab66d(0x304)]))[_0x4ab66d(0x2f3)](_0x4a3af0[_0x4ab66d(0x27b)](this[_0x4ab66d(0x30e)]))['subscribe'](_0x51ddb0=>{const _0x9b7cdf=_0x4ab66d,_0x1d76c4=_0x51ddb0['getUnitId'](),_0x4bc84c=this['_entities'][_0x9b7cdf(0x21a)](_0x1d76c4);_0x4bc84c&&(_0x4bc84c[_0x9b7cdf(0x275)](),this[_0x9b7cdf(0xc7)][_0x9b7cdf(0x197)](_0x1d76c4));});}async['_startSheetCollabCursor'](_0x4c1528){const _0x2a13dd=_0x195f34,_0x3fd7af=await this[_0x2a13dd(0x240)][_0x2a13dd(0xdd)](_0x4c1528),_0x28f86a=this[_0x2a13dd(0x2df)][_0x2a13dd(0x140)](_0x523efd,_0x4c1528,_0x3fd7af);return _0x28f86a[_0x2a13dd(0x1dc)](),_0x28f86a;}async['_startDocCollabCursor'](_0x5defe9){const _0x598d14=_0x195f34,_0x46f080=await this['_collabSessionService'][_0x598d14(0xdd)](_0x5defe9),_0x3c1edc=this[_0x598d14(0x2df)]['createInstance'](_0x366001,_0x5defe9,_0x46f080);return _0x3c1edc['init'](),_0x3c1edc;}};_0x38d523=_0x70fa28([_0x1a7139(0x0,_0x404026[_0x195f34(0xc8)]),_0x1a7139(0x1,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x1a7139(0x2,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x1ba)]))],_0x38d523);const _0x1e54db=0x14,_0x2067ed=0xc8,_0x4fbfa1=0x4,_0x37cbef=0x5;function _0x1a3e3e(_0xc326de,_0x418eac){const _0xee2bd1=_0x195f34;let {radius:_0x222e5b,width:_0x114cbe,height:_0x44b1ef}=_0x418eac;_0x222e5b=_0x222e5b!=null?_0x222e5b:0x0,_0x114cbe=_0x114cbe!=null?_0x114cbe:0x1e,_0x44b1ef=_0x44b1ef!=null?_0x44b1ef:0x1e;let _0x475381=0x0,_0x40ea8c=0x0,_0x223928=0x0;_0x475381=_0x40ea8c=_0x223928=Math[_0xee2bd1(0x2d2)](_0x222e5b,_0x114cbe/0x2,_0x44b1ef/0x2),_0xc326de[_0xee2bd1(0x1f0)](),_0xc326de[_0xee2bd1(0x247)](_0x475381,0x0),_0xc326de[_0xee2bd1(0x30d)](_0x114cbe-_0x40ea8c,0x0),_0xc326de[_0xee2bd1(0x236)](_0x114cbe-_0x40ea8c,_0x40ea8c,_0x40ea8c,Math['PI']*0x3/0x2,0x0,!0x1),_0xc326de[_0xee2bd1(0x30d)](_0x114cbe,_0x44b1ef-_0x223928),_0xc326de[_0xee2bd1(0x236)](_0x114cbe-_0x223928,_0x44b1ef-_0x223928,_0x223928,0x0,Math['PI']/0x2,!0x1),_0xc326de[_0xee2bd1(0x30d)](0x0,_0x44b1ef),_0xc326de[_0xee2bd1(0x30d)](0x0,_0x475381),_0xc326de[_0xee2bd1(0x236)](_0x475381,_0x475381,_0x475381,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xc326de[_0xee2bd1(0x1d8)](),_0x418eac[_0xee2bd1(0x25c)]&&(_0xc326de[_0xee2bd1(0x29a)](),_0xc326de[_0xee2bd1(0x26b)]=_0x418eac[_0xee2bd1(0x25c)],_0x418eac[_0xee2bd1(0x307)]===_0xee2bd1(0xbe)?_0xc326de[_0xee2bd1(0x25c)]('evenodd'):_0xc326de[_0xee2bd1(0x25c)](),_0xc326de[_0xee2bd1(0x18a)]());}class _0x30b135 extends _0x112353[_0x195f34(0x226)]{constructor(_0x3247df,_0x37a5eb){const _0x5d0f87=_0x195f34;super(_0x3247df,_0x37a5eb),_0x2f983b(this,'color'),_0x2f983b(this,_0x5d0f87(0x204)),(this[_0x5d0f87(0xc0)]=_0x37a5eb==null?void 0x0:_0x37a5eb[_0x5d0f87(0xc0)],this[_0x5d0f87(0x204)]=_0x37a5eb==null?void 0x0:_0x37a5eb['text']);}static[_0x195f34(0x286)](_0x12db14,_0x563249){const _0x2040ca=_0x195f34,{text:_0x2f38c9,color:_0x38836a}=_0x563249;_0x12db14[_0x2040ca(0x29a)](),_0x12db14[_0x2040ca(0x30c)]=_0x2040ca(0x302);const _0x4ba751=_0x12db14[_0x2040ca(0x1ff)](_0x2f38c9)[_0x2040ca(0x2d3)],_0x9207df=Math['min'](_0x4ba751+0x2*_0x4fbfa1,_0x2067ed);_0x1a3e3e(_0x12db14,{'height':_0x1e54db,'radius':0x4,'width':_0x9207df,'fill':_0x38836a}),_0x12db14['fillStyle']=_0x2040ca(0x299);const _0x258693=_0x4fbfa1,_0xec5d10=_0x1e54db-_0x37cbef,_0x1ecd55=_0x2067ed-0x2*_0x4fbfa1;if(_0x4ba751>_0x1ecd55){let _0x4a4794='',_0x27f7e1=0x0;for(const _0x5bc3a5 of _0x2f38c9){const _0x48c3ad=_0x12db14['measureText'](_0x5bc3a5)[_0x2040ca(0x2d3)];if(_0x27f7e1+_0x48c3ad<=_0x1ecd55-_0x12db14[_0x2040ca(0x1ff)](_0x2040ca(0x28c))[_0x2040ca(0x2d3)])_0x4a4794+=_0x5bc3a5,_0x27f7e1+=_0x48c3ad;else{_0x4a4794+=_0x2040ca(0x28c);break;}}_0x12db14[_0x2040ca(0x11d)](_0x4a4794,_0x258693,_0xec5d10);}else _0x12db14['fillText'](_0x2f38c9,_0x258693,_0xec5d10);_0x12db14['restore']();}['_draw'](_0x2c7158){const _0x38514d=_0x195f34;_0x30b135[_0x38514d(0x286)](_0x2c7158,this);}}const _0x1754a8=_0x195f34(0x337),_0x184dc6='collab-text-range-',_0xeb5606=_0x195f34(0x16e),_0x530ee4=0x6,_0x173172=1.5,_0x35aa66=0x4,_0x4fdf29=1.5,_0x42e95c='rgba(255,\x20255,\x20255,\x200.01)';class _0x5c484e{constructor(_0x588293,_0x12ea96,_0xbc3ce0,_0x3c9b58){const _0x1ad889=_0x195f34;_0x2f983b(this,_0x1ad889(0x144),[]),_0x2f983b(this,_0x1ad889(0x29d),null),_0x2f983b(this,_0x1ad889(0x26f),null),_0x2f983b(this,_0x1ad889(0x108),null),_0x2f983b(this,_0x1ad889(0x11a),null),_0x2f983b(this,'_eventUnsubscribe',null),(this[_0x1ad889(0x294)]=_0x588293,this[_0x1ad889(0x277)]=_0x12ea96,this[_0x1ad889(0xff)]=_0xbc3ce0,this[_0x1ad889(0x336)]=_0x3c9b58,this[_0x1ad889(0x340)]());}set[_0x195f34(0x15b)](_0x56950c){const _0x8ce5b9=_0x195f34;_0x56950c?(this[_0x8ce5b9(0x108)]&&this[_0x8ce5b9(0x108)][_0x8ce5b9(0x1c0)](),this[_0x8ce5b9(0x26f)]&&this[_0x8ce5b9(0x26f)][_0x8ce5b9(0x253)]()):(this['_anchorDot']&&this[_0x8ce5b9(0x108)][_0x8ce5b9(0x253)](),this[_0x8ce5b9(0x26f)]&&this[_0x8ce5b9(0x26f)]['hide']());}[_0x195f34(0x275)](){const _0xadf099=_0x195f34;for(const _0x45b820 of this[_0xadf099(0x144)])_0x45b820[_0xadf099(0x275)]();this['_textBubble']&&this[_0xadf099(0x26f)][_0xadf099(0x275)](),this[_0xadf099(0x108)]&&this[_0xadf099(0x108)][_0xadf099(0x275)](),this['_anchor']&&this[_0xadf099(0x29d)][_0xadf099(0x275)](),this[_0xadf099(0x10c)]&&this[_0xadf099(0x10c)]();}[_0x195f34(0x340)](){const _0x12ab1e=_0x195f34;var _0x3862f5;const {_docSkeleton:_0x2bb60a,_document:_0x45cbd3}=this,{color:_0xed35f8,name:_0x4ff468,ranges:_0x15c753}=this['_cursor'],_0x8ad896=_0x45cbd3[_0x12ab1e(0xda)](),{docsLeft:_0x4394fc,docsTop:_0x540087}=_0x8ad896,_0x3810bc=new _0x2bec5e['NodePositionConvertToCursor'](_0x8ad896,_0x2bb60a);for(const {startOffset:_0x194c5f,endOffset:_0x2b8b0c,rangeType:_0x8f2be0,segmentId:_0x586308,segmentPage:_0x2ba62f,collapsed:_0x42260e,isActive:_0x593f43}of _0x15c753){const _0x1585ed=_0x2bb60a[_0x12ab1e(0x1fe)](_0x194c5f,!0x0,_0x586308,_0x2ba62f);let _0x36cf79=_0x2bb60a[_0x12ab1e(0x1fe)](_0x2b8b0c,!0x0,_0x586308,_0x2ba62f);if(_0x36cf79==null&&(_0x36cf79=_0x2bb60a['findNodePositionByCharIndex'](_0x2b8b0c-0x1,!0x1,_0x586308,_0x2ba62f)),_0x593f43){const {contentBoxPointGroup:_0x158662}=_0x3810bc[_0x12ab1e(0x179)](_0x36cf79,_0x36cf79);if(_0x158662[_0x12ab1e(0x2eb)]===0x0)continue;this[_0x12ab1e(0x2cc)](_0xed35f8,_0x158662,_0x4394fc,_0x540087,_0x4ff468),this['_eventUnsubscribe']=this[_0x12ab1e(0x1d4)]();}if(_0x1585ed&&_0x36cf79){if(_0x8f2be0===_0x404026['DOC_RANGE_TYPE'][_0x12ab1e(0x20f)]){const _0x50b8ef=new _0x2bec5e[(_0x12ab1e(0x23e))](_0x8ad896,_0x2bb60a),{pointGroup:_0x462ef5}=(_0x3862f5=_0x50b8ef[_0x12ab1e(0x179)](_0x1585ed,_0x36cf79))!=null?_0x3862f5:{};if(_0x462ef5==null||_0x462ef5['length']===0x0)continue;this[_0x12ab1e(0x213)](_0xed35f8,_0x462ef5,_0x4394fc,_0x540087);}else{if(!_0x42260e){const {borderBoxPointGroup:_0x302fc8}=_0x3810bc[_0x12ab1e(0x179)](_0x1585ed,_0x36cf79);if(_0x302fc8[_0x12ab1e(0x2eb)]===0x0)continue;this[_0x12ab1e(0x191)](_0xed35f8,_0x302fc8,_0x4394fc,_0x540087);}}}}}[_0x195f34(0x2cc)](_0x1809db,_0x1fe759,_0x1c7f51,_0x53f158,_0x223cc2){const _0x590896=_0x195f34,_0x3f8bb9=this[_0x590896(0x12a)](_0x1fe759),{left:_0x1fd7d6,top:_0x1ab06a,height:_0x4ba885}=_0x3f8bb9,_0x2f44a4=this[_0x590896(0x1c4)](),_0x51a3b2=_0x4fdf29/_0x2f44a4,_0x5a16ff=new _0x112353['Rect'](_0x1754a8+_0x404026[_0x590896(0x161)][_0x590896(0xe8)](_0x530ee4),{'left':_0x1fd7d6+_0x1c7f51-_0x51a3b2,'top':_0x1ab06a+_0x53f158,'height':_0x4ba885,'width':_0x173172,'fill':_0x1809db||_0x112353['getColor'](_0x404026[_0x590896(0x315)][_0x590896(0x33b)],0x0),'strokeWidth':_0x51a3b2,'stroke':_0x42e95c,'evented':!0x0});this[_0x590896(0x29d)]=_0x5a16ff,this[_0x590896(0x277)][_0x590896(0xd1)](_0x5a16ff,_0x2bec5e[_0x590896(0x21f)]);const _0x3610d1=new _0x112353[(_0x590896(0xdf))](_0x1754a8+_0x404026[_0x590896(0x161)]['generateRandomId'](_0x530ee4),{'left':_0x1fd7d6+_0x1c7f51-_0x51a3b2,'top':_0x1ab06a+_0x53f158-_0x35aa66/0x2,'height':_0x35aa66,'width':_0x35aa66,'fill':_0x1809db||_0x112353[_0x590896(0x323)](_0x404026[_0x590896(0x315)][_0x590896(0x33b)],0x0),'strokeWidth':0x0,'stroke':_0x1809db||_0x112353[_0x590896(0x323)](_0x404026[_0x590896(0x315)][_0x590896(0x33b)],0x0),'evented':!0x1});this[_0x590896(0x108)]=_0x3610d1,this[_0x590896(0x277)][_0x590896(0xd1)](_0x3610d1,_0x2bec5e['TEXT_RANGE_LAYER_INDEX']);const _0x3995b5=new _0x30b135(_0x1754a8+_0x404026['Tools'][_0x590896(0xe8)](_0x530ee4),{'left':_0x1fd7d6+_0x1c7f51-_0x51a3b2,'top':_0x1ab06a+_0x53f158-_0x1e54db,'text':_0x223cc2,'color':_0x1809db});this['_textBubble']=_0x3995b5,this[_0x590896(0x277)][_0x590896(0xd1)](_0x3995b5,_0x2bec5e[_0x590896(0x21f)]),this['_hover']=!0x1;}[_0x195f34(0x1d4)](){const _0x1fe39b=_0x195f34,_0x541e74=this[_0x1fe39b(0x29d)][_0x1fe39b(0x234)][_0x1fe39b(0x33d)](()=>{const _0x49b394=_0x1fe39b;this[_0x49b394(0x15b)]=!0x0;}),_0x3a9454=this[_0x1fe39b(0x29d)][_0x1fe39b(0x343)][_0x1fe39b(0x33d)](()=>{const _0x4ef988=_0x1fe39b;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x4ef988(0x11a)]=setTimeout(()=>{const _0x427e31=_0x4ef988;this[_0x427e31(0x15b)]=!0x1;},0x7d0);});return()=>{const _0xf8238=_0x1fe39b;_0x541e74[_0xf8238(0x241)](),_0x3a9454['unsubscribe']();};}['_drawTextRange'](_0x1cae7d,_0x1bcc6a,_0x3fea06,_0x3fd7f2){const _0x4337ce=_0x195f34,_0x9a743d=new _0x404026[(_0x4337ce(0x2b4))](_0x1cae7d)[_0x4337ce(0x19e)](0.2)[_0x4337ce(0x2fc)](),_0x1d2ec6=new _0x112353[(_0x4337ce(0x1f9))](_0x184dc6+_0x404026[_0x4337ce(0x161)][_0x4337ce(0xe8)](_0x530ee4),{'pointsGroup':_0x1bcc6a,'fill':_0x9a743d||_0x112353[_0x4337ce(0x323)](_0x404026[_0x4337ce(0x315)][_0x4337ce(0x33b)],0.2),'left':_0x3fea06,'top':_0x3fd7f2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x1d2ec6),this[_0x4337ce(0x277)][_0x4337ce(0xd1)](_0x1d2ec6,_0x2bec5e[_0x4337ce(0x21f)]);}[_0x195f34(0x213)](_0xedae96,_0x29e649,_0x5e774d,_0x237431){const _0x81dd9a=_0x195f34,_0x15c8e1=new _0x404026[(_0x81dd9a(0x2b4))](_0xedae96)[_0x81dd9a(0x19e)](0.2)[_0x81dd9a(0x2fc)](),_0x2d71af=new _0x112353[(_0x81dd9a(0x1f9))](_0xeb5606+_0x404026[_0x81dd9a(0x161)]['generateRandomId'](_0x530ee4),{'pointsGroup':_0x29e649,'fill':_0x15c8e1||_0x112353[_0x81dd9a(0x323)](_0x404026[_0x81dd9a(0x315)][_0x81dd9a(0x33b)],0.2),'left':_0x5e774d,'top':_0x237431,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x81dd9a(0xbf)](_0x2d71af),this['_scene']['addObject'](_0x2d71af,_0x2bec5e[_0x81dd9a(0x21f)]);}['_getAnchorBounding'](_0x234f8b){const _0x27078b=_0x234f8b[0x0],_0x43ce3b=_0x27078b[0x0],_0x59daeb=_0x27078b[0x2],{x:_0x556393,y:_0x4fb881}=_0x43ce3b,{x:_0x19d469,y:_0x5d91d7}=_0x59daeb;return{'left':_0x556393,'top':_0x4fb881,'width':_0x19d469-_0x556393,'height':_0x5d91d7-_0x4fb881};}[_0x195f34(0x1c4)](){const _0x577e39=_0x195f34,{scaleX:_0x4a781c,scaleY:_0x51be2a}=this[_0x577e39(0x277)][_0x577e39(0x255)]();return Math['max'](_0x4a781c,_0x51be2a);}}var _0x318d39=Object[_0x195f34(0x242)],_0x1b6eb=(_0x3e941c,_0x16a075,_0x31a495,_0x36efe4)=>{const _0x164701=_0x195f34;for(var _0x1064b1=_0x36efe4>0x1?void 0x0:_0x36efe4?_0x318d39(_0x16a075,_0x31a495):_0x16a075,_0x43b419=_0x3e941c[_0x164701(0x2eb)]-0x1,_0x3c5999;_0x43b419>=0x0;_0x43b419--)(_0x3c5999=_0x3e941c[_0x43b419])&&(_0x1064b1=_0x3c5999(_0x1064b1)||_0x1064b1);return _0x1064b1;},_0x32e4ff=(_0x2bcde0,_0x253885)=>(_0x2269f9,_0x70eda8)=>_0x253885(_0x2269f9,_0x70eda8,_0x2bcde0);let _0xedb427=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x5a0ee8,_0x4915a6,_0x39ddf5,_0x439ca7,_0x3a8a05){const _0x53f3af=_0x195f34;super(),_0x2f983b(this,_0x53f3af(0x137),[]),_0x2f983b(this,_0x53f3af(0x20d),[]),(this['_context']=_0x5a0ee8,this[_0x53f3af(0x32d)]=_0x4915a6,this['_collabCursorController']=_0x39ddf5,this['_commandService']=_0x439ca7,this['_themeService']=_0x3a8a05,this[_0x53f3af(0xf5)]());}[_0x195f34(0xf5)](){const _0xedb892=_0x195f34,_0x16f6cb=this[_0xedb892(0x305)][_0xedb892(0x28a)],_0x2d890f=this[_0xedb892(0x32d)];this[_0xedb892(0xd5)](_0x4a3af0[_0xedb892(0x2ca)]([this['_collabCursorController'][_0xedb892(0x230)](_0x16f6cb),this['_themeService'][_0xedb892(0x345)]])[_0xedb892(0x2f3)](_0x59a115[_0xedb892(0xe1)](([_0x1b684e,_0xa64fbb])=>({'skeleton':_0x2d890f[_0xedb892(0x29c)](),'cursors':[..._0x1b684e[_0xedb892(0x113)]()]['flatMap'](_0x52ac1d=>({..._0x52ac1d,'color':_0xa64fbb[_0x52ac1d[_0xedb892(0xc0)]]}))})))[_0xedb892(0x246)](_0x22ec94=>{const _0x6d274a=_0xedb892;if(this[_0x6d274a(0x120)](),_0x22ec94){const {skeleton:_0x3ef1a3,cursors:_0x2a2a67}=_0x22ec94;this[_0x6d274a(0x206)](_0x3ef1a3,_0x2a2a67);}})),this[_0xedb892(0xf9)](),this[_0xedb892(0x264)]();}[_0x195f34(0x206)](_0x352b1a,_0x5dd731){const _0x27096b=_0x195f34,{scene:_0x30a871,mainComponent:_0x32b663}=this['_context'],_0x4ef4b1=_0x5dd731[_0x27096b(0xe1)](_0x1b0006=>new _0x5c484e(_0x1b0006,_0x30a871,_0x352b1a,_0x32b663));this[_0x27096b(0x137)]=_0x4ef4b1,this[_0x27096b(0x20d)]=_0x5dd731;}[_0x195f34(0x1a1)](){const _0x13978d=_0x195f34;this[_0x13978d(0x120)]();const {scene:_0x3f5055,mainComponent:_0x5aa993}=this[_0x13978d(0x305)],_0x118601=this['_docSkeletonManagerService'][_0x13978d(0x29c)](),_0x466a8a=this[_0x13978d(0x20d)][_0x13978d(0xe1)](_0x37d975=>new _0x5c484e(_0x37d975,_0x3f5055,_0x118601,_0x5aa993));this[_0x13978d(0x137)]=_0x466a8a;}[_0x195f34(0x120)](){const _0x4a5729=_0x195f34;this[_0x4a5729(0x137)]['forEach'](_0x5c340f=>_0x5c340f[_0x4a5729(0x275)]()),this[_0x4a5729(0x137)]=[];}['_initCommandExecutedListener'](){const _0x1eb141=_0x195f34,_0x3fe6d7=[_0x2bec5e[_0x1eb141(0x106)]['id']];this['disposeWithMe'](this[_0x1eb141(0x216)]['onCommandExecuted'](_0x18b6b0=>{const _0x18551a=_0x1eb141;_0x3fe6d7['includes'](_0x18b6b0['id'])&&_0x18b6b0[_0x18551a(0x1a2)][_0x18551a(0x28a)]===this['_context'][_0x18551a(0x28a)]&&this['_refreshCollabCursors']();}));}[_0x195f34(0xf9)](){const _0x13f955=_0x195f34;this[_0x13f955(0xd5)](_0x404026['fromEventSubject'](this[_0x13f955(0x305)][_0x13f955(0xf2)]['onTransformChange$'])['pipe'](_0x59a115['filter'](_0x1e2682=>_0x1e2682['type']===_0x112353[_0x13f955(0x142)]['resize']),_0x59a115[_0x13f955(0x20a)](0x10))[_0x13f955(0x246)](()=>{const _0x48bbbf=_0x13f955;this[_0x48bbbf(0x1a1)]();}));}};_0xedb427=_0x1b6eb([_0x32e4ff(0x1,_0x404026['Inject'](_0x121a01[_0x195f34(0x2dc)])),_0x32e4ff(0x2,_0x404026['Inject'](_0x38d523)),_0x32e4ff(0x3,_0x404026[_0x195f34(0x2ed)]),_0x32e4ff(0x4,_0x404026['Inject'](_0x404026['ThemeService']))],_0xedb427);const _0x2fde45=0x1,_0x4d34dc=1.5;class _0x3796fc extends _0x112353[_0x195f34(0x226)]{constructor(_0x3a224f,_0x19d42b){const _0x27f1d3=_0x195f34;super(_0x3a224f,_0x19d42b),_0x2f983b(this,_0x27f1d3(0x2d1)),_0x2f983b(this,_0x27f1d3(0xbd),!0x1),_0x2f983b(this,_0x27f1d3(0x303)),_0x2f983b(this,_0x27f1d3(0x1da),''),_0x2f983b(this,_0x27f1d3(0x101),'top'),_0x2f983b(this,_0x27f1d3(0x17e)),(_0x19d42b&&this['setShapeProps'](_0x19d42b),this[_0x27f1d3(0x234)][_0x27f1d3(0x33d)](()=>this[_0x27f1d3(0x25d)]({'hovered':!0x0})),this[_0x27f1d3(0x343)]['subscribeEvent'](()=>this[_0x27f1d3(0x25d)]({'hovered':!0x1})));}['setShapeProps'](_0x42b1b1){const _0x346f0f=_0x195f34;var _0x1b23e5,_0x11dae5,_0x31f622,_0x42a253,_0x1ab572,_0x19a8fc;this[_0x346f0f(0x2d1)]=(_0x1b23e5=_0x42b1b1[_0x346f0f(0xc0)])!=null?_0x1b23e5:this['_color'],this[_0x346f0f(0xbd)]=(_0x11dae5=_0x42b1b1[_0x346f0f(0x13b)])!=null?_0x11dae5:this[_0x346f0f(0xbd)],this['_range']=(_0x31f622=_0x42b1b1[_0x346f0f(0x122)])!=null?_0x31f622:this['_range'],this[_0x346f0f(0x1da)]=(_0x42a253=_0x42b1b1['name'])!=null?_0x42a253:this[_0x346f0f(0x1da)],this['_labelPosition']=(_0x1ab572=_0x42b1b1[_0x346f0f(0x169)])!=null?_0x1ab572:this[_0x346f0f(0x101)],this[_0x346f0f(0x17e)]=(_0x19a8fc=_0x42b1b1[_0x346f0f(0x110)])!=null?_0x19a8fc:this[_0x346f0f(0x17e)],this[_0x346f0f(0x217)]({'width':_0x42b1b1[_0x346f0f(0x2d3)],'height':_0x42b1b1[_0x346f0f(0x10f)]});}[_0x195f34(0x2d8)](_0x351e58){const _0x4d2fd1=_0x195f34,{row:_0x3d453c,column:_0x1133c5}=_0x351e58;if(_0x3d453c>=this[_0x4d2fd1(0x303)][_0x4d2fd1(0x1e6)]&&_0x3d453c<=this[_0x4d2fd1(0x303)]['endRow']&&_0x1133c5>=this[_0x4d2fd1(0x303)][_0x4d2fd1(0x292)]&&_0x1133c5<=this[_0x4d2fd1(0x303)][_0x4d2fd1(0x10e)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4d2fd1(0x25d)]({'hovered':!0x1});}[_0x195f34(0xfe)](_0x2e87aa){return!0x1;}[_0x195f34(0x136)](_0x4cd8e0){const _0x16c0e5=_0x195f34;_0x112353[_0x16c0e5(0xdf)]['drawWith'](_0x4cd8e0,{'width':this['width'],'height':this[_0x16c0e5(0x10f)],'strokeWidth':_0x4d34dc,'stroke':this[_0x16c0e5(0x2d1)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x16c0e5(0xbd)]&&(_0x4cd8e0[_0x16c0e5(0x29a)](),_0x4cd8e0['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x16c0e5(0x101)]===_0x16c0e5(0x227)?0x0:-0x14),_0x30b135[_0x16c0e5(0x286)](_0x4cd8e0,{'text':this[_0x16c0e5(0x1da)],'color':this['_color']}),_0x4cd8e0[_0x16c0e5(0x18a)]());}}var _0x5d511e=Object[_0x195f34(0x242)],_0x576b01=(_0x21e18d,_0x4d48c9,_0x1282b9,_0xdb67ff)=>{for(var _0x8f4e9d=_0xdb67ff>0x1?void 0x0:_0xdb67ff?_0x5d511e(_0x4d48c9,_0x1282b9):_0x4d48c9,_0x14c987=_0x21e18d['length']-0x1,_0x13e72a;_0x14c987>=0x0;_0x14c987--)(_0x13e72a=_0x21e18d[_0x14c987])&&(_0x8f4e9d=_0x13e72a(_0x8f4e9d)||_0x8f4e9d);return _0x8f4e9d;},_0x2dd67e=(_0x37b617,_0x5a488e)=>(_0x246874,_0x6b0e3a)=>_0x5a488e(_0x246874,_0x6b0e3a,_0x37b617);const _0x57c28a=0x1389;let _0x933b32=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x152ad2,_0x287968,_0x1208a8,_0x12d68a){const _0x43a0b5=_0x195f34;super(),_0x2f983b(this,'_cursors',new Set()),_0x2f983b(this,_0x43a0b5(0x224),null),(this['_context']=_0x152ad2,this[_0x43a0b5(0x1b3)]=_0x287968,this['_collabCursorController']=_0x1208a8,this[_0x43a0b5(0x167)]=_0x12d68a,this[_0x43a0b5(0xf5)]());}[_0x195f34(0xf5)](){const _0xd6ee31=_0x195f34;this[_0xd6ee31(0x1b3)][_0xd6ee31(0x1c6)][_0xd6ee31(0x2f3)](_0x59a115['takeUntil'](this[_0xd6ee31(0x30e)]),_0x59a115['switchMap'](_0x501edd=>{const _0x276328=_0xd6ee31;if(_0x501edd){const _0x2570b0=_0x501edd[_0x276328(0x2a8)];return _0x4a3af0[_0x276328(0x2ca)](this[_0x276328(0x22b)][_0x276328(0x230)](this[_0x276328(0x305)]['unitId']),this[_0x276328(0x167)][_0x276328(0x345)])['pipe'](_0x59a115['map'](([_0x2905c6,_0x5d748d])=>{const _0x1b95b3=new Map();return _0x2905c6['forEach']((_0x3309c6,_0x43bde8)=>{const _0x52b9f4=_0x2cf8;if(_0x3309c6[_0x52b9f4(0x141)]===_0x2570b0){const _0x63bb8f={..._0x3309c6};_0x63bb8f[_0x52b9f4(0xc0)]=_0x5d748d[_0x3309c6[_0x52b9f4(0xc0)]],_0x1b95b3[_0x52b9f4(0x316)](_0x43bde8,_0x63bb8f);}}),{'skeleton':_0x501edd,'cursors':_0x1b95b3};}));}return _0x4a3af0['of']({'skeleton':null,'cursors':new Map()});}))[_0xd6ee31(0x246)](({skeleton:_0x6998dd,cursors:_0x3d5d70})=>{this['_removeCollabCursors'](),_0x6998dd&&this['_updateCollabCursors'](_0x6998dd,_0x3d5d70);}),this[_0xd6ee31(0x1b3)]['currentSkeleton$'][_0xd6ee31(0x246)](_0x2d13ce=>{const _0x3f42cd=_0xd6ee31;if(_0x2d13ce==null)return;const {skeleton:_0x5289a5}=_0x2d13ce,{scene:_0x59e860}=this[_0x3f42cd(0x305)];_0x59e860[_0x3f42cd(0x263)][_0x3f42cd(0x33d)](_0x404026[_0x3f42cd(0x2de)](_0x20a62d=>{const _0x501b13=_0x3f42cd;var _0x536ea0,_0x59a045;const {offsetX:_0xe19196,offsetY:_0x260284}=_0x20a62d,{x:_0x4e5176,y:_0x368fd3}=_0x59e860[_0x501b13(0x32c)](_0x112353['Vector2'][_0x501b13(0x1c7)]([_0xe19196,_0x260284])),{scaleX:_0x56f294,scaleY:_0x1a4669}=_0x59e860[_0x501b13(0x255)](),_0x2042db=_0x59e860[_0x501b13(0x27c)](_0x112353[_0x501b13(0x26d)][_0x501b13(0x32f)]),_0x543100=_0x59e860[_0x501b13(0xba)](_0x112353[_0x501b13(0x1b0)][_0x501b13(0x1c7)]([_0x4e5176,_0x368fd3]),_0x2042db),_0x210f83=_0x5289a5[_0x501b13(0x1b8)](_0xe19196,_0x260284,_0x56f294,_0x1a4669,_0x543100);((_0x536ea0=this[_0x501b13(0x224)])==null?void 0x0:_0x536ea0[_0x501b13(0x26c)])===_0x210f83['column']&&((_0x59a045=this[_0x501b13(0x224)])==null?void 0x0:_0x59a045[_0x501b13(0x2fe)])===_0x210f83[_0x501b13(0x2fe)]||this[_0x501b13(0x20d)][_0x501b13(0x2ce)](_0x447fc5=>{const _0x2da9a5=_0x501b13;_0x447fc5[_0x2da9a5(0x2d8)](_0x210f83);});},0x64));});}[_0x195f34(0x206)](_0x208bcb,_0x2dc580){const _0x23a0f8=_0x195f34;var _0x3ebadf;const _0x3319bb=(_0x3ebadf=this[_0x23a0f8(0x1b3)][_0x23a0f8(0x29f)]())==null?void 0x0:_0x3ebadf['skeleton'];if(!_0x3319bb)return;const _0x31b7f8=this['_getSheetObject']();if(!_0x31b7f8)return;this['_cursors']['forEach'](_0x1109d5=>{const _0x17120b=_0x23a0f8;_0x1109d5[_0x17120b(0x1f5)]();});const {scene:_0x36182f}=_0x31b7f8,_0x47da43=_0x42d0a1(Array[_0x23a0f8(0xc4)](_0x2dc580[_0x23a0f8(0x113)]()))['map'](_0x595d28=>{const _0xcade8a=_0x23a0f8,{color:_0x4b13bd,range:_0x4d8665,name:_0x407f92,selection:_0x43aa27,sheetID:_0x4ff332}=_0x595d28,{startColumn:_0x14ed34,startRow:_0x133408,endColumn:_0x1befde,endRow:_0x1c35ca}=_0x4d8665,_0x3fb8cd=_0x954753[_0xcade8a(0x1b1)](_0x133408,_0x14ed34,_0x36182f,_0x3319bb),_0x55f4a6=_0x954753[_0xcade8a(0x1b1)](_0x1c35ca,_0x1befde,_0x36182f,_0x3319bb),{columnHeaderHeightAndMarginTop:_0x2d6169}=_0x3319bb,{startX:_0x3f62b2,startY:_0x4f967f}=_0x3fb8cd,{endX:_0x3ffae2,endY:_0x57e047}=_0x55f4a6,_0x1ed0fe=_0x3ffae2-_0x3f62b2,_0x8400f4=_0x57e047-_0x4f967f,_0x334e37={'labelPosition':_0x4f967f-_0x2d6169>=_0x1e54db?'top':'bottom','sheetID':_0x4ff332,'range':_0x4d8665,'color':_0x4b13bd,'name':_0x407f92,'selection':_0x43aa27,'left':_0x3f62b2,'top':_0x4f967f,'width':_0x1ed0fe,'height':_0x8400f4,'evented':!0x1,'zIndex':_0x57c28a};return new _0x3796fc(_0x407f92,_0x334e37);});_0x36182f[_0x23a0f8(0x2d5)](_0x47da43,_0x2fde45),this['_cursors']=new Set(_0x47da43);}['_removeCollabCursors'](){const _0x2baf0c=_0x195f34;var _0xb3cfd3;(_0xb3cfd3=this[_0x2baf0c(0x20d)])==null||_0xb3cfd3[_0x2baf0c(0x2ce)](_0x2cc661=>_0x2cc661[_0x2baf0c(0x275)]());}['_getSheetObject'](){const _0x572aad=_0x195f34;return _0x954753[_0x572aad(0x138)](this[_0x572aad(0x305)]['unit'],this['_context']);}};_0x933b32=_0x576b01([_0x2dd67e(0x1,_0x404026[_0x195f34(0x2ef)](_0x954753[_0x195f34(0x2ff)])),_0x2dd67e(0x2,_0x404026[_0x195f34(0x2ef)](_0x38d523)),_0x2dd67e(0x3,_0x404026['Inject'](_0x404026[_0x195f34(0x238)]))],_0x933b32);function _0x42d0a1(_0x49eb65){const _0x440c7a=_0x195f34,_0x2dd866=new Map();return _0x49eb65['forEach'](_0x52e502=>{const _0x494c1a=_0x2cf8;if(_0x2dd866[_0x494c1a(0x2ee)](_0x52e502[_0x494c1a(0x177)])){const _0x3f1bdc=_0x2dd866[_0x494c1a(0x21a)](_0x52e502[_0x494c1a(0x177)]);_0x3f1bdc[_0x494c1a(0x185)]+=',\x20'+_0x52e502[_0x494c1a(0x185)];}else _0x2dd866[_0x494c1a(0x316)](_0x52e502['selection'],_0x52e502);}),Array['from'](_0x2dd866[_0x440c7a(0x113)]());}var _0x3e01c6=function(){const _0x528236=_0x195f34;return _0x3e01c6=Object[_0x528236(0x1d5)]||function(_0x17b77f){const _0x386bf9=_0x528236;for(var _0x2e875d,_0x29992a=0x1,_0x5d0b44=arguments['length'];_0x29992a<_0x5d0b44;_0x29992a++){_0x2e875d=arguments[_0x29992a];for(var _0x2e07a0 in _0x2e875d)Object[_0x386bf9(0xbc)][_0x386bf9(0x335)][_0x386bf9(0x1d7)](_0x2e875d,_0x2e07a0)&&(_0x17b77f[_0x2e07a0]=_0x2e875d[_0x2e07a0]);}return _0x17b77f;},_0x3e01c6[_0x528236(0x225)](this,arguments);},_0x4f253f=function(_0x1bfc31,_0x270efe){const _0x43029d=_0x195f34;var _0x297beb={};for(var _0x3c773e in _0x1bfc31)Object[_0x43029d(0xbc)][_0x43029d(0x335)][_0x43029d(0x1d7)](_0x1bfc31,_0x3c773e)&&_0x270efe[_0x43029d(0x160)](_0x3c773e)<0x0&&(_0x297beb[_0x3c773e]=_0x1bfc31[_0x3c773e]);if(_0x1bfc31!=null&&typeof Object[_0x43029d(0x170)]==_0x43029d(0x18f)){for(var _0x292550=0x0,_0x3c773e=Object['getOwnPropertySymbols'](_0x1bfc31);_0x292550<_0x3c773e[_0x43029d(0x2eb)];_0x292550++)_0x270efe['indexOf'](_0x3c773e[_0x292550])<0x0&&Object[_0x43029d(0xbc)]['propertyIsEnumerable']['call'](_0x1bfc31,_0x3c773e[_0x292550])&&(_0x297beb[_0x3c773e[_0x292550]]=_0x1bfc31[_0x3c773e[_0x292550]]);}return _0x297beb;},_0x32663e=_0x3ac11['forwardRef'](function(_0x5bc7d4,_0x4e62a7){const _0x5053ca=_0x195f34;var _0x3c5e04=_0x5bc7d4['icon'],_0x14840d=_0x5bc7d4['id'],_0x450d20=_0x5bc7d4[_0x5053ca(0x2c1)],_0x591443=_0x5bc7d4[_0x5053ca(0x272)],_0x529eaf=_0x4f253f(_0x5bc7d4,['icon','id',_0x5053ca(0x2c1),_0x5053ca(0x272)]),_0x4a9f47='univerjs-icon\x20univerjs-icon-'[_0x5053ca(0x219)](_0x14840d,'\x20')[_0x5053ca(0x219)](_0x450d20||'')[_0x5053ca(0x24b)](),_0x18a13e=_0x3ac11[_0x5053ca(0x194)]('_'[_0x5053ca(0x219)](_0x1be95a()));return _0x36abaf(_0x3c5e04,''['concat'](_0x14840d),{'defIds':_0x3c5e04['defIds'],'idSuffix':_0x18a13e[_0x5053ca(0x1ef)]},_0x3e01c6({'ref':_0x4e62a7,'className':_0x4a9f47},_0x529eaf),_0x591443);});function _0x36abaf(_0x5d8dc0,_0x268e71,_0x328b86,_0x40948a,_0x5bd9f8){const _0x1db7ab=_0x195f34;return _0x3ac11[_0x1db7ab(0x295)](_0x5d8dc0[_0x1db7ab(0x196)],_0x3e01c6(_0x3e01c6({'key':_0x268e71},_0x5dd30f(_0x5d8dc0,_0x328b86,_0x5bd9f8)),_0x40948a),(_0x197273(_0x5d8dc0,_0x328b86)[_0x1db7ab(0x24c)]||[])['map'](function(_0x355f4d,_0x35879c){const _0x46e621=_0x1db7ab;return _0x36abaf(_0x355f4d,''[_0x46e621(0x219)](_0x268e71,'-')[_0x46e621(0x219)](_0x5d8dc0[_0x46e621(0x196)],'-')[_0x46e621(0x219)](_0x35879c),_0x328b86,void 0x0,_0x5bd9f8);}));}function _0x5dd30f(_0x10922a,_0x309c48,_0x1dc490){const _0x58f5f6=_0x195f34;var _0x2146ba=_0x3e01c6({},_0x10922a[_0x58f5f6(0x239)]);_0x1dc490!=null&&_0x1dc490['colorChannel1']&&_0x2146ba[_0x58f5f6(0x25c)]==='colorChannel1'&&(_0x2146ba[_0x58f5f6(0x25c)]=_0x1dc490['colorChannel1']),_0x10922a['tag']===_0x58f5f6(0x280)&&_0x2146ba['id']&&(_0x2146ba['id']=_0x2146ba['id']+_0x309c48['idSuffix']),Object[_0x58f5f6(0x12f)](_0x2146ba)[_0x58f5f6(0x2ce)](function(_0x5b2f16){const _0xe92e7e=_0x58f5f6;var _0x4057f6=_0x5b2f16[0x0],_0x277a1e=_0x5b2f16[0x1];_0x4057f6===_0xe92e7e(0x280)&&typeof _0x277a1e==_0xe92e7e(0x148)&&(_0x2146ba[_0x4057f6]=_0x277a1e[_0xe92e7e(0x16f)](/url\(#(.*)\)/,_0xe92e7e(0x31a)[_0xe92e7e(0x219)](_0x309c48['idSuffix'],')')));});var _0x1aec5c=_0x309c48['defIds'];return!_0x1aec5c||_0x1aec5c[_0x58f5f6(0x2eb)]===0x0||(_0x10922a[_0x58f5f6(0x196)]===_0x58f5f6(0x22d)&&_0x2146ba[_0x58f5f6(0xc3)]&&(_0x2146ba[_0x58f5f6(0xc3)]=_0x2146ba[_0x58f5f6(0xc3)]+_0x309c48[_0x58f5f6(0x31f)]),Object[_0x58f5f6(0x12f)](_0x2146ba)[_0x58f5f6(0x2ce)](function(_0x584a71){const _0x2be8ab=_0x58f5f6;var _0x2441ee=_0x584a71[0x0],_0x4c1db8=_0x584a71[0x1];typeof _0x4c1db8==_0x2be8ab(0x148)&&(_0x2146ba[_0x2441ee]=_0x4c1db8[_0x2be8ab(0x16f)](/url\(#(.*)\)/,_0x2be8ab(0x31a)[_0x2be8ab(0x219)](_0x309c48['idSuffix'],')')));})),_0x2146ba;}function _0x197273(_0x46168e,_0x3a4edf){const _0x541a74=_0x195f34;var _0x443a9c,_0x118636=_0x3a4edf[_0x541a74(0x1e9)];return!_0x118636||_0x118636['length']===0x0?_0x46168e:_0x46168e[_0x541a74(0x196)]===_0x541a74(0x25f)&&(!((_0x443a9c=_0x46168e[_0x541a74(0x24c)])===null||_0x443a9c===void 0x0)&&_0x443a9c[_0x541a74(0x2eb)])?_0x3e01c6(_0x3e01c6({},_0x46168e),{'children':_0x46168e[_0x541a74(0x24c)]['map'](function(_0x4af67f){const _0x2454ae=_0x541a74;return typeof _0x4af67f[_0x2454ae(0x239)]['id']==_0x2454ae(0x148)&&_0x118636&&_0x118636[_0x2454ae(0x160)](_0x4af67f[_0x2454ae(0x239)]['id'])>-0x1?_0x3e01c6(_0x3e01c6({},_0x4af67f),{'attrs':_0x3e01c6(_0x3e01c6({},_0x4af67f['attrs']),{'id':_0x4af67f['attrs']['id']+_0x3a4edf[_0x2454ae(0x31f)]})}):_0x4af67f;})}):_0x46168e;}function _0x1be95a(){const _0x1dce32=_0x195f34;return Math['random']()[_0x1dce32(0x2a2)](0x24)['substring'](0x2,0x8);}_0x32663e['displayName']=_0x195f34(0x2be);var _0xd2d90f={'tag':_0x195f34(0x24e),'attrs':{'fill':_0x195f34(0xc9),'viewBox':_0x195f34(0x20c),'width':_0x195f34(0x172),'height':_0x195f34(0x172)},'children':[{'tag':'g','attrs':{'clipPath':_0x195f34(0x1af)},'children':[{'tag':_0x195f34(0x14f),'attrs':{'stroke':_0x195f34(0xf0),'d':_0x195f34(0x21d),'strokeLinecap':_0x195f34(0x266),'strokeLinejoin':_0x195f34(0x266),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x195f34(0x221),'attrs':{'id':_0x195f34(0x23c)},'children':[{'tag':_0x195f34(0x14f),'attrs':{'fill':_0x195f34(0x1a8),'d':_0x195f34(0x28e)}}]}]}],'defIds':[_0x195f34(0x23c)]},_0x4d3929=_0x3ac11[_0x195f34(0x12b)](function(_0x270441,_0x4d9138){const _0x406aa7=_0x195f34;return _0x3ac11['createElement'](_0x32663e,Object[_0x406aa7(0x1d5)]({},_0x270441,{'id':_0x406aa7(0x2a5),'ref':_0x4d9138,'icon':_0xd2d90f}));});_0x4d3929[_0x195f34(0x107)]=_0x195f34(0x130);var _0x2adcd3={'tag':_0x195f34(0x24e),'attrs':{'fill':_0x195f34(0xc9),'viewBox':_0x195f34(0x2f4),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x195f34(0x14f),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x195f34(0x266),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x195f34(0x25f),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x195f34(0x14f),'attrs':{'fill':_0x195f34(0x1a8),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x195f34(0x14d)]},_0x50e2ac=_0x3ac11[_0x195f34(0x12b)](function(_0x1d07ca,_0x44f9e2){const _0x4b69d2=_0x195f34;return _0x3ac11['createElement'](_0x32663e,Object[_0x4b69d2(0x1d5)]({},_0x1d07ca,{'id':'on-line-single','ref':_0x44f9e2,'icon':_0x2adcd3}));});_0x50e2ac['displayName']=_0x195f34(0x208);function _0xfd15ef(_0x578d92){const _0x24870f=_0x195f34;switch(_0x578d92){case _0x175918[_0x24870f(0x22f)][_0x24870f(0x121)]:return _0x24870f(0xe4);case _0x175918[_0x24870f(0x22f)][_0x24870f(0x11f)]:return _0x24870f(0x1f1);case _0x175918['CollaborationStatus']['FETCH_MISS']:return _0x24870f(0x195);case _0x175918[_0x24870f(0x22f)][_0x24870f(0x2c5)]:return _0x24870f(0x1e3);case _0x175918[_0x24870f(0x22f)]['AWAITING']:case _0x175918[_0x24870f(0x22f)]['AWAITING_WITH_PENDING']:return _0x24870f(0x2b8);case _0x175918[_0x24870f(0x22f)][_0x24870f(0x318)]:case _0x175918[_0x24870f(0x22f)][_0x24870f(0x14e)]:return _0x24870f(0x30b);}}function _0x5c1945(_0xc4c9ad){const _0x11c756=_0x195f34,{status$:_0x2d57f2}=_0xc4c9ad,_0x58a0f0=_0x4ebc0a[_0x11c756(0x2e0)](_0x2d57f2,_0x175918[_0x11c756(0x22f)][_0x11c756(0x2c5)]),_0x46a249=_0x4ebc0a[_0x11c756(0xef)](_0x404026[_0x11c756(0x146)]),_0x155631=_0x4ebc0a[_0x11c756(0xef)](_0x175918[_0x11c756(0x1ba)]),_0x53446a=_0x58a0f0!==_0x175918[_0x11c756(0x22f)][_0x11c756(0x121)],_0x454db0=_0x46a249['t'](_0xfd15ef(_0x58a0f0)),_0x222363=_0x53446a?_0x59c8dc[_0x11c756(0x1bf)](_0x50e2ac,{}):_0x59c8dc['jsx'](_0x4d3929,{}),_0x303f69=_0x3ac11[_0x11c756(0x114)](()=>{const _0x58f7a4=_0x11c756;_0x53446a||_0x155631[_0x58f7a4(0xfd)]();},[_0x53446a,_0x155631]);function _0x100685(){const _0x376a9f=_0x11c756;return _0x59c8dc[_0x376a9f(0x2bb)](_0x376a9f(0x26a),{'className':'univer-flex\x20univer-items-center','onClick':_0x303f69,'children':[_0x59c8dc[_0x376a9f(0x1bf)](_0x376a9f(0x26a),{'className':_0x62b316[_0x376a9f(0x293)](_0x376a9f(0xd2),_0x53446a?_0x376a9f(0x260):'univer-text-red-500'),'children':_0x222363}),_0x59c8dc[_0x376a9f(0x1bf)](_0x376a9f(0x26a),{'className':_0x376a9f(0x1d2),'children':_0x454db0})]});}return _0x53446a?_0x100685():_0x59c8dc[_0x11c756(0x1bf)](_0x62b316['Tooltip'],{'title':_0x46a249['t']('collab-client.tooltip.reconnect'),'children':_0x100685()});}var _0x5ea0f1=Object['getOwnPropertyDescriptor'],_0x16ea35=(_0x31fd78,_0x2dc403,_0x4c73f8,_0x497a82)=>{const _0x409252=_0x195f34;for(var _0x2b0052=_0x497a82>0x1?void 0x0:_0x497a82?_0x5ea0f1(_0x2dc403,_0x4c73f8):_0x2dc403,_0x4ef6f2=_0x31fd78[_0x409252(0x2eb)]-0x1,_0x1fb001;_0x4ef6f2>=0x0;_0x4ef6f2--)(_0x1fb001=_0x31fd78[_0x4ef6f2])&&(_0x2b0052=_0x1fb001(_0x2b0052)||_0x2b0052);return _0x2b0052;},_0x5ab59f=(_0x30924b,_0x12c432)=>(_0x1d7ff9,_0x51c062)=>_0x12c432(_0x1d7ff9,_0x51c062,_0x30924b);_0x1db428['DesktopCollaborationStatusDisplayController']=class extends _0x404026[_0x195f34(0xd8)]{constructor(_0x5d99ff,_0x27c85c,_0x5173af,_0x5c2cec){const _0x1f3a2d=_0x195f34;super(),_0x2f983b(this,_0x1f3a2d(0x2f1),new _0x4a3af0['BehaviorSubject'](_0x175918[_0x1f3a2d(0x22f)][_0x1f3a2d(0x2c5)])),(this[_0x1f3a2d(0x1cb)]=_0x5d99ff,this[_0x1f3a2d(0x2df)]=_0x27c85c,this['_collaborationController']=_0x5173af,this[_0x1f3a2d(0x32a)]=_0x5c2cec,this['_initStatusComponent'](),this[_0x1f3a2d(0x223)]());}[_0x195f34(0x223)](){const _0x24b8ea=_0x195f34;this['disposeWithMe'](this[_0x24b8ea(0x1cb)][_0x24b8ea(0x15a)]['pipe'](_0x4a3af0[_0x24b8ea(0x18e)](()=>{const _0x42ce8d=_0x24b8ea,_0x2d6941=this[_0x42ce8d(0x1cb)]['getFocusedUnit']();return _0x2d6941?this[_0x42ce8d(0x174)][_0x42ce8d(0x109)](_0x2d6941[_0x42ce8d(0x19f)]()):_0x4a3af0['of'](null);}),_0x4a3af0[_0x24b8ea(0x18e)](_0x4c1b6a=>_0x4c1b6a?_0x4c1b6a['status$']:_0x4a3af0['of'](_0x175918[_0x24b8ea(0x22f)][_0x24b8ea(0x2c5)])))['subscribe'](_0x422788=>{const _0x3521f2=_0x24b8ea;this[_0x3521f2(0x2f1)]['next'](_0x422788);}));}[_0x195f34(0x1ad)](){const _0x574236=_0x195f34;this[_0x574236(0xd5)](this[_0x574236(0x32a)][_0x574236(0x117)](_0x4ebc0a['BuiltInUIPart'][_0x574236(0x2da)],()=>_0x4ebc0a['connectInjector'](_0x4c92e4({'status$':this[_0x574236(0x2f1)][_0x574236(0x111)]()}),this['_injector'])));}},_0x1db428[_0x195f34(0x1b6)]=_0x16ea35([_0x5ab59f(0x0,_0x404026['IUniverInstanceService']),_0x5ab59f(0x1,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x5ab59f(0x2,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x27d)])),_0x5ab59f(0x3,_0x4ebc0a[_0x195f34(0x222)])],_0x1db428['DesktopCollaborationStatusDisplayController']);function _0x4c92e4(_0x4209d6){const {status$:_0x35e131}=_0x4209d6;return function(){const _0x398299=_0x2cf8;return _0x59c8dc[_0x398299(0x1bf)](_0x5c1945,{'status$':_0x35e131});};}var _0x140c2f=Object[_0x195f34(0x242)],_0x3c056f=(_0x15fb9a,_0x142fe5,_0x350841,_0x5b9107)=>{const _0xab75e5=_0x195f34;for(var _0x1e8054=_0x5b9107>0x1?void 0x0:_0x5b9107?_0x140c2f(_0x142fe5,_0x350841):_0x142fe5,_0x1a5899=_0x15fb9a[_0xab75e5(0x2eb)]-0x1,_0x18a93d;_0x1a5899>=0x0;_0x1a5899--)(_0x18a93d=_0x15fb9a[_0x1a5899])&&(_0x1e8054=_0x18a93d(_0x1e8054)||_0x1e8054);return _0x1e8054;},_0x220097=(_0x176643,_0x1ad3f0)=>(_0x24dd99,_0x45cb7e)=>_0x1ad3f0(_0x24dd99,_0x45cb7e,_0x176643);let _0x214987=class extends _0x404026['Disposable']{constructor(_0x17d552,_0x3d78fc,_0x14af99,_0x265323,_0x5050c8,_0x48eaee){const _0x439da6=_0x195f34;super(),this[_0x439da6(0x314)]=_0x17d552,this[_0x439da6(0x287)]=_0x3d78fc,this['_collaborationUIEventService']=_0x14af99,this['_messageService']=_0x265323,this[_0x439da6(0x229)]=_0x5050c8,this['_localeService']=_0x48eaee,this[_0x439da6(0x1a7)](),this[_0x439da6(0x281)]();}[_0x195f34(0x1a7)](){const _0x52e590=_0x195f34;this[_0x52e590(0xd5)](this[_0x52e590(0x314)]['registerBeforeClose'](()=>{const _0xd2fb0e=_0x52e590;if(this[_0xd2fb0e(0x287)]['saveTaskMap'][_0xd2fb0e(0x129)])return this[_0xd2fb0e(0x254)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x43f8be=_0x195f34;this[_0x43f8be(0xd5)](this[_0x43f8be(0x157)][_0x43f8be(0x13f)][_0x43f8be(0x246)](_0x39b105=>{const _0x39ffdb=_0x43f8be;_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x2c6)]&&this[_0x39ffdb(0x1ac)][_0x39ffdb(0x253)]({'type':_0x62b316[_0x39ffdb(0x10d)][_0x39ffdb(0x220)],'content':this['_localeService']['t'](_0x39ffdb(0x15e))}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x207)]&&this['_messageService'][_0x39ffdb(0x253)]({'type':_0x62b316[_0x39ffdb(0x10d)][_0x39ffdb(0x220)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)]['PERMISSION_DENIED']&&this[_0x39ffdb(0x229)][_0x39ffdb(0x253)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x39ffdb(0x254)]['t'](_0x39ffdb(0x2aa)),'type':_0x39ffdb(0x2a6),'duration':0x0}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x11f)]&&this[_0x39ffdb(0x1ac)][_0x39ffdb(0x253)]({'type':_0x62b316['MessageType'][_0x39ffdb(0x2bc)],'content':this['_localeService']['t'](_0x39ffdb(0x257))+'('+_0x39b105[_0x39ffdb(0x2a4)]+')'}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)]['JOIN_ROOM_FAILED']&&this[_0x39ffdb(0x1ac)][_0x39ffdb(0x253)]({'type':_0x62b316['MessageType'][_0x39ffdb(0x220)],'content':this['_localeService']['t'](_0x39b105[_0x39ffdb(0x2a4)]||'')}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x22c)]&&this[_0x39ffdb(0x1ac)]['show']({'type':_0x62b316[_0x39ffdb(0x10d)]['Warning'],'content':this[_0x39ffdb(0x254)]['t']('session.will-retry')}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x1ee)]&&this[_0x39ffdb(0x1ac)]['show']({'type':_0x62b316[_0x39ffdb(0x10d)][_0x39ffdb(0x2bc)],'content':this[_0x39ffdb(0x254)]['t']('session.connection-failed')}),_0x39b105['id']===_0x175918[_0x39ffdb(0x20b)][_0x39ffdb(0x13c)]&&this[_0x39ffdb(0x1ac)][_0x39ffdb(0x253)]({'type':_0x62b316[_0x39ffdb(0x10d)][_0x39ffdb(0x2bc)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x214987=_0x3c056f([_0x220097(0x0,_0x4ebc0a[_0x195f34(0x189)]),_0x220097(0x1,_0x175918[_0x195f34(0x128)]),_0x220097(0x2,_0x404026['Inject'](_0x175918[_0x195f34(0xf7)])),_0x220097(0x3,_0x4ebc0a[_0x195f34(0x156)]),_0x220097(0x4,_0x4ebc0a[_0x195f34(0x186)]),_0x220097(0x5,_0x404026[_0x195f34(0x2ef)](_0x404026['LocaleService']))],_0x214987);const _0xc59c41='collaboration-client-ui.config',_0x5849fd={},_0x2332d6=_0x404026['createIdentifier'](_0x195f34(0x1aa));var _0x19dc26=Object[_0x195f34(0x242)],_0x663384=(_0x63aa1e,_0x3950d0,_0x25ec18,_0x315c11)=>{const _0x1c7028=_0x195f34;for(var _0x473cb2=_0x315c11>0x1?void 0x0:_0x315c11?_0x19dc26(_0x3950d0,_0x25ec18):_0x3950d0,_0x288955=_0x63aa1e[_0x1c7028(0x2eb)]-0x1,_0x4e411a;_0x288955>=0x0;_0x288955--)(_0x4e411a=_0x63aa1e[_0x288955])&&(_0x473cb2=_0x4e411a(_0x473cb2)||_0x473cb2);return _0x473cb2;},_0xd8b454=(_0x591f9e,_0x1cf081)=>(_0x3ebdbf,_0x591d77)=>_0x1cf081(_0x3ebdbf,_0x591d77,_0x591f9e);_0x1db428[_0x195f34(0x2b0)]=class extends _0x404026[_0x195f34(0x2b7)]{constructor(_0x42d609,_0x511b06,_0x206780,_0x427015,_0x2ec56b){const _0x472122=_0x195f34;super(),this[_0x472122(0xd7)]=_0x42d609,this[_0x472122(0x332)]=_0x511b06,this[_0x472122(0x216)]=_0x206780,this[_0x472122(0x192)]=_0x427015,_0x2ec56b?_0x2ec56b==null||_0x2ec56b[_0x472122(0x285)]()[_0x472122(0x119)](()=>this[_0x472122(0xf5)]()):(this['_logService'][_0x472122(0xf3)](_0x472122(0x202),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x472122(0xf5)]());}async[_0x195f34(0xf5)](){const _0x95d174=_0x195f34,_0x45d744=this['_urlService'][_0x95d174(0x321)]('unit'),_0x2e6da9=this[_0x95d174(0xd7)][_0x95d174(0x321)](_0x95d174(0x2a9)),_0x4dd8f8=this[_0x95d174(0xd7)][_0x95d174(0x321)](_0x95d174(0x2e5));if(!_0x45d744||!_0x2e6da9){this['_logService'][_0x95d174(0xf3)](_0x95d174(0x202),_0x95d174(0x1e7));return;}const _0x373ea6=await this[_0x95d174(0x192)]['loadUnit'](_0x45d744,Number(_0x2e6da9),_0x4dd8f8);_0x373ea6&&_0x373ea6 instanceof _0x404026[_0x95d174(0xe9)]&&this['_setupSubUnitSync'](_0x373ea6);}async['_setupSubUnitSync'](_0x5365b9){const _0xc8172f=_0x195f34;await this[_0xc8172f(0x188)](_0x5365b9),_0x5365b9['activeSheet$'][_0xc8172f(0x2f3)](_0x4a3af0['takeUntil'](this[_0xc8172f(0x30e)]))[_0xc8172f(0x246)](_0x7ae4b0=>{_0x7ae4b0&&this['_updateURLWithCurrentState'](_0x7ae4b0);}),this[_0xc8172f(0xd7)]['urlChange$'][_0xc8172f(0x2f3)](_0x4a3af0[_0xc8172f(0x27b)](this[_0xc8172f(0x30e)]))[_0xc8172f(0x246)](()=>this[_0xc8172f(0x188)](_0x5365b9));}[_0x195f34(0x105)](_0x3983f6,_0x15fd74=!0x1){const _0x3f960d=_0x195f34,_0x16d308=this[_0x3f960d(0xd7)][_0x3f960d(0x321)]('subunit');_0x3983f6[_0x3f960d(0x102)]()!==_0x16d308&&this[_0x3f960d(0xd7)][_0x3f960d(0x1de)]('subunit',_0x3983f6[_0x3f960d(0x102)](),_0x15fd74);}async[_0x195f34(0x188)](_0x1382f7){const _0x2e08f6=_0x195f34;var _0x338fa0;const _0x4a2f4e=this[_0x2e08f6(0xd7)][_0x2e08f6(0x321)]('subunit');if(!_0x4a2f4e||!_0x1382f7[_0x2e08f6(0x296)](_0x4a2f4e)){const _0x1d8180=_0x1382f7[_0x2e08f6(0x306)]()[0x0],_0x2f2356=_0x1382f7[_0x2e08f6(0x296)](_0x1d8180);if(!_0x2f2356)return;this[_0x2e08f6(0x105)](_0x2f2356,!0x0),await this[_0x2e08f6(0x216)][_0x2e08f6(0x33c)](_0x431058[_0x2e08f6(0x333)]['id'],{'unitId':_0x1382f7['getUnitId'](),'subUnitId':_0x1d8180});return;}((_0x338fa0=_0x1382f7['getActiveSheet']())==null?void 0x0:_0x338fa0[_0x2e08f6(0x102)]())!==_0x4a2f4e&&await this[_0x2e08f6(0x216)][_0x2e08f6(0x33c)](_0x431058[_0x2e08f6(0x333)]['id'],{'unitId':_0x1382f7[_0x2e08f6(0x19f)](),'subUnitId':_0x4a2f4e});}},_0x1db428[_0x195f34(0x2b0)]=_0x663384([_0xd8b454(0x0,_0x2332d6),_0xd8b454(0x1,_0x404026[_0x195f34(0x21e)]),_0xd8b454(0x2,_0x404026[_0x195f34(0x2ed)]),_0xd8b454(0x3,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x31c)])),_0xd8b454(0x4,_0x404026[_0x195f34(0x22a)](_0x554860['IRemoteInstanceService']))],_0x1db428['CollaborationDataLoaderController']);var _0x165128=Object[_0x195f34(0x242)],_0x2a6dab=(_0xafcfe2,_0x127b7e,_0x19c66b,_0x3a9825)=>{const _0x2229c1=_0x195f34;for(var _0x436c1a=_0x3a9825>0x1?void 0x0:_0x3a9825?_0x165128(_0x127b7e,_0x19c66b):_0x127b7e,_0x52b22d=_0xafcfe2[_0x2229c1(0x2eb)]-0x1,_0x3bf1e2;_0x52b22d>=0x0;_0x52b22d--)(_0x3bf1e2=_0xafcfe2[_0x52b22d])&&(_0x436c1a=_0x3bf1e2(_0x436c1a)||_0x436c1a);return _0x436c1a;},_0x30ea1b=(_0x38fe24,_0x13c47f)=>(_0x16ce49,_0x4aadfb)=>_0x13c47f(_0x16ce49,_0x4aadfb,_0x38fe24);let _0x30d443=class{constructor(_0x4dde13,_0x49cfb9,_0x48cfb2){const _0x2b632a=_0x195f34;this[_0x2b632a(0x2df)]=_0x4dde13,this['_transformService']=_0x49cfb9,this[_0x2b632a(0x1c8)]=_0x48cfb2;}[_0x195f34(0x338)](_0x39273f){const _0x4d6bc4=_0x195f34;this['_transformUndoRedoStack'](_0x39273f),this[_0x4d6bc4(0x1c5)](_0x39273f);}[_0x195f34(0x2c9)](_0x184ab3){const _0x19e3fc=_0x195f34,{unitID:_0x2384f3}=_0x184ab3,_0x312c86=this[_0x19e3fc(0x1c8)][_0x19e3fc(0x310)](_0x2384f3)[_0x19e3fc(0x16d)](_0x2bec5e[_0x19e3fc(0x211)]),{redoCache:_0x1190b4}=_0x312c86[_0x19e3fc(0x244)]();if(_0x1190b4[_0x19e3fc(0x2eb)]===0x0)return _0x184ab3;let _0x4ac18e=_0x404026['Tools']['deepClone'](_0x184ab3[_0x19e3fc(0x279)][0x0]);for(let _0x3df29c=0x0;_0x3df29c<_0x1190b4[_0x19e3fc(0x2eb)];_0x3df29c++){const _0x3dbdc2={'id':_0x19e3fc(0xdb),'params':{..._0x1190b4[_0x3df29c]}},_0x48cb2f=this['_transformService']['transformMutation'](_0x4ac18e,_0x3dbdc2,!0x1);if(_0x503ae1['isTransformMutationFailure'](_0x48cb2f))throw _0x48cb2f['error'];_0x4ac18e=_0x48cb2f['m1Prime'];}return{..._0x404026[_0x19e3fc(0x161)][_0x19e3fc(0x1df)](_0x184ab3),'mutations':[_0x4ac18e]};}[_0x195f34(0x11e)](_0x4b6e70){const _0x224fda=_0x195f34,{unitID:_0x129293}=_0x4b6e70,_0x162ae5=this[_0x224fda(0x1c8)][_0x224fda(0x310)](_0x129293)[_0x224fda(0x16d)](_0x2bec5e[_0x224fda(0x211)]),{undoCache:_0x39ff04,redoCache:_0x5a00f3}=_0x162ae5['getUndoRedoMutationParamsCache']();if(_0x39ff04['length']===0x0||_0x5a00f3[_0x224fda(0x2eb)]===0x0)return;const _0x4e6ab7=[],_0x2e12e9=[];let _0xb9074a=_0x404026[_0x224fda(0x161)][_0x224fda(0x1df)](_0x4b6e70[_0x224fda(0x279)][0x0]),_0x5572b9=_0x404026['Tools'][_0x224fda(0x1df)](_0x4b6e70[_0x224fda(0x279)][0x0]);for(let _0x593303=_0x39ff04[_0x224fda(0x2eb)]-0x1;_0x593303>=0x0;_0x593303--){const _0x304af8={'id':_0x224fda(0xdb),'params':{..._0x39ff04[_0x593303]}},_0x1a1064={'id':'doc.mutation.rich-text-editing','params':{..._0x5a00f3[_0x593303]}},_0x2316ce=this['_transformService'][_0x224fda(0x116)](_0xb9074a,_0x304af8,!0x1),_0x41f5a7=this['_transformService'][_0x224fda(0x116)](_0x5572b9,_0x1a1064,!0x1);if(_0x503ae1['isTransformMutationFailure'](_0x2316ce))throw _0x2316ce[_0x224fda(0x2a6)];if(_0x503ae1['isTransformMutationFailure'](_0x41f5a7))throw _0x41f5a7[_0x224fda(0x2a6)];_0x4e6ab7[_0x224fda(0x2b3)](_0x2316ce['m2Prime'][_0x224fda(0x1a2)]),_0x2e12e9[_0x224fda(0x2b3)](_0x41f5a7[_0x224fda(0xfa)][_0x224fda(0x1a2)]),_0xb9074a=_0x2316ce[_0x224fda(0x1e8)],_0x5572b9=_0x41f5a7['m1Prime'];}_0x162ae5[_0x224fda(0x325)]({'undoCache':_0x4e6ab7,'redoCache':_0x2e12e9});}[_0x195f34(0x1c5)](_0x3aed40){const _0x537a0e=_0x195f34,{unitID:_0x4185a1}=_0x3aed40,_0x1543e0=this[_0x537a0e(0x1c8)][_0x537a0e(0x310)](_0x4185a1)[_0x537a0e(0x16d)](_0x2bec5e['DocIMEInputManagerService']),_0x3824cf=_0x1543e0[_0x537a0e(0x19d)]();if(_0x3824cf==null)return;const _0x33ad4c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3aed40['unitID'],'actions':null,'textRanges':[_0x3824cf]}}],_0x3e8010=this['_transformService']['transformMutationsWithChangeset'](_0x3aed40,_0x33ad4c);if(!_0x503ae1['isTransformMutationsWithChangesetSuccess'](_0x3e8010))throw _0x3e8010['error'];const _0x4de12c=_0x3e8010[_0x537a0e(0xfa)][0x0]['params'][_0x537a0e(0x100)];Array[_0x537a0e(0x212)](_0x4de12c)&&_0x4de12c[_0x537a0e(0x2eb)]&&_0x1543e0[_0x537a0e(0x1ae)](_0x4de12c[0x0]);}};_0x30d443=_0x2a6dab([_0x30ea1b(0x0,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x30ea1b(0x1,_0x503ae1[_0x195f34(0xec)]),_0x30ea1b(0x2,_0x112353['IRenderManagerService'])],_0x30d443);var _0x158b4a=Object[_0x195f34(0x242)],_0x3c5015=(_0x3f80ca,_0x37316f,_0x863305,_0x48c180)=>{const _0x471379=_0x195f34;for(var _0x449414=_0x48c180>0x1?void 0x0:_0x48c180?_0x158b4a(_0x37316f,_0x863305):_0x37316f,_0x50876e=_0x3f80ca[_0x471379(0x2eb)]-0x1,_0x54ca17;_0x50876e>=0x0;_0x50876e--)(_0x54ca17=_0x3f80ca[_0x50876e])&&(_0x449414=_0x54ca17(_0x449414)||_0x449414);return _0x449414;},_0x1cfc60=(_0x4e819b,_0x1e3986)=>(_0x2c0020,_0x12f3a7)=>_0x1e3986(_0x2c0020,_0x12f3a7,_0x4e819b);let _0x255dbb=class{constructor(_0xdec696,_0x1e5f05,_0x2c26ab){const _0x339faa=_0x195f34;this[_0x339faa(0x2df)]=_0xdec696,this[_0x339faa(0x115)]=_0x1e5f05,this['_docStateChangeManagerService']=_0x2c26ab;}['transformStateCache'](_0x50fdce){this['_transformHistoryAndStateStack'](_0x50fdce);}[_0x195f34(0x2c9)](_0x578257){const _0x360297=_0x195f34,{unitID:_0x39eda5}=_0x578257,{collaboration:_0x18122b}=this[_0x360297(0x23a)][_0x360297(0x245)](_0x39eda5);if(_0x18122b['length']===0x0)return _0x578257;let _0x2fcf10=_0x404026['Tools'][_0x360297(0x1df)](_0x578257['mutations'][0x0]);for(let _0x3a2b7b=0x0;_0x3a2b7b<_0x18122b[_0x360297(0x2eb)];_0x3a2b7b++){const _0x37993f={'id':_0x360297(0xdb),'params':{'unitId':_0x18122b[_0x3a2b7b][_0x360297(0x28a)],..._0x18122b[_0x3a2b7b][_0x360297(0xbb)]}},_0x5e09a7=this[_0x360297(0x115)][_0x360297(0x116)](_0x2fcf10,_0x37993f,!0x1);if(_0x503ae1[_0x360297(0x153)](_0x5e09a7))throw _0x5e09a7[_0x360297(0x2a6)];_0x2fcf10=_0x5e09a7[_0x360297(0x1e8)];}return{..._0x404026[_0x360297(0x161)][_0x360297(0x1df)](_0x578257),'mutations':[_0x2fcf10]};}['_transformHistoryAndStateStack'](_0x18dae3){const _0x24d19d=_0x195f34,{unitID:_0x313576}=_0x18dae3,{history:_0x235e42,collaboration:_0x7b7730}=this[_0x24d19d(0x23a)][_0x24d19d(0x245)](_0x313576);if(_0x235e42[_0x24d19d(0x2eb)]===0x0&&_0x7b7730[_0x24d19d(0x2eb)]===0x0)return;const _0x3d5562=[],_0x1af350=[];let _0x1a02bb=_0x404026[_0x24d19d(0x161)]['deepClone'](_0x18dae3[_0x24d19d(0x279)][0x0]),_0x286d37=_0x404026[_0x24d19d(0x161)][_0x24d19d(0x1df)](_0x18dae3[_0x24d19d(0x279)][0x0]);for(let _0x372007=_0x235e42['length']-0x1;_0x372007>=0x0;_0x372007--){const _0x364637={'id':_0x24d19d(0xdb),'params':{'unitId':_0x235e42[_0x372007][_0x24d19d(0x28a)],..._0x235e42[_0x372007]['undoState']}},_0x3f1f53={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x235e42[_0x372007][_0x24d19d(0x28a)],..._0x235e42[_0x372007][_0x24d19d(0xbb)]}},_0xc7da42=this[_0x24d19d(0x115)]['transformMutation'](_0x1a02bb,_0x364637,!0x1),_0x474a0c=this[_0x24d19d(0x115)]['transformMutation'](_0x286d37,_0x3f1f53,!0x1);if(_0x503ae1[_0x24d19d(0x153)](_0xc7da42))throw _0xc7da42[_0x24d19d(0x2a6)];if(_0x503ae1[_0x24d19d(0x153)](_0x474a0c))throw _0x474a0c[_0x24d19d(0x2a6)];_0x3d5562['unshift']({..._0x235e42[_0x372007],'undoState':_0xc7da42['m2Prime'][_0x24d19d(0x1a2)],'redoState':_0x474a0c[_0x24d19d(0xfa)][_0x24d19d(0x1a2)]}),_0x1a02bb=_0xc7da42[_0x24d19d(0x1e8)],_0x286d37=_0x474a0c[_0x24d19d(0x1e8)];}_0x1a02bb=_0x404026[_0x24d19d(0x161)][_0x24d19d(0x1df)](_0x18dae3['mutations'][0x0]),_0x286d37=_0x404026['Tools'][_0x24d19d(0x1df)](_0x18dae3[_0x24d19d(0x279)][0x0]);for(let _0x29b1df=_0x7b7730[_0x24d19d(0x2eb)]-0x1;_0x29b1df>=0x0;_0x29b1df--){const _0x43c5d2={'id':_0x24d19d(0xdb),'params':{'unitId':_0x7b7730[_0x29b1df][_0x24d19d(0x28a)],..._0x7b7730[_0x29b1df][_0x24d19d(0x28b)]}},_0x332c6b={'id':_0x24d19d(0xdb),'params':{'unitId':_0x7b7730[_0x29b1df][_0x24d19d(0x28a)],..._0x7b7730[_0x29b1df][_0x24d19d(0xbb)]}},_0x11e478=this[_0x24d19d(0x115)][_0x24d19d(0x116)](_0x1a02bb,_0x43c5d2,!0x1),_0x4a28c0=this['_transformService'][_0x24d19d(0x116)](_0x286d37,_0x332c6b,!0x1);if(_0x503ae1[_0x24d19d(0x153)](_0x11e478))throw _0x11e478['error'];if(_0x503ae1[_0x24d19d(0x153)](_0x4a28c0))throw _0x4a28c0[_0x24d19d(0x2a6)];_0x1af350[_0x24d19d(0x2b3)]({..._0x7b7730[_0x29b1df],'undoState':_0x11e478['m2Prime']['params'],'redoState':_0x4a28c0[_0x24d19d(0xfa)][_0x24d19d(0x1a2)]}),_0x1a02bb=_0x11e478[_0x24d19d(0x1e8)],_0x286d37=_0x4a28c0[_0x24d19d(0x1e8)];}this['_docStateChangeManagerService'][_0x24d19d(0x131)](_0x313576,{'history':_0x3d5562,'collaboration':_0x1af350});}};_0x255dbb=_0x3c5015([_0x1cfc60(0x0,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x1cfc60(0x1,_0x503ae1[_0x195f34(0xec)]),_0x1cfc60(0x2,_0x404026[_0x195f34(0x2ef)](_0x2bec5e['DocStateChangeManagerService']))],_0x255dbb);var _0x85deda=Object['getOwnPropertyDescriptor'],_0x4d087d=(_0x2ea8c9,_0x5079ec,_0x52ed23,_0x558696)=>{const _0x2994ad=_0x195f34;for(var _0x2cabf1=_0x558696>0x1?void 0x0:_0x558696?_0x85deda(_0x5079ec,_0x52ed23):_0x5079ec,_0x3186a2=_0x2ea8c9[_0x2994ad(0x2eb)]-0x1,_0x476fe5;_0x3186a2>=0x0;_0x3186a2--)(_0x476fe5=_0x2ea8c9[_0x3186a2])&&(_0x2cabf1=_0x476fe5(_0x2cabf1)||_0x2cabf1);return _0x2cabf1;},_0xde3d6f=(_0x4f362c,_0x13dbcc)=>(_0x4b55c3,_0x4f0449)=>_0x13dbcc(_0x4b55c3,_0x4f0449,_0x4f362c);let _0x517f69=class{constructor(_0x4db7c7,_0x2305e2){const _0x668bb7=_0x195f34;this[_0x668bb7(0x2df)]=_0x4db7c7,this[_0x668bb7(0x115)]=_0x2305e2;}[_0x195f34(0x10b)](_0x36dd66){const _0x481025=_0x195f34;var _0x5cec89;const _0x15c38f=this[_0x481025(0x2df)][_0x481025(0x21a)](_0x121a01[_0x481025(0x2a7)]),_0x46efa8=(_0x5cec89=_0x15c38f['getDocRanges']())!=null?_0x5cec89:[];if(_0x46efa8[_0x481025(0x2eb)]===0x0)return;const _0x4d43fc=_0x36dd66[_0x481025(0x1e1)],_0x1cdaa3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d43fc,'actions':null,'textRanges':_0x46efa8}}],_0x40f15b=this['_transformService'][_0x481025(0x32b)](_0x36dd66,_0x1cdaa3);if(!_0x503ae1[_0x481025(0xd4)](_0x40f15b))throw _0x40f15b['error'];const _0x1e70b1=_0x40f15b[_0x481025(0xfa)][0x0][_0x481025(0x1a2)][_0x481025(0x100)];Array[_0x481025(0x212)](_0x1e70b1)&&_0x1e70b1['length']&&_0x15c38f['replaceDocRanges'](_0x1e70b1,{'unitId':_0x4d43fc,'subUnitId':_0x4d43fc},!0x1);}};_0x517f69=_0x4d087d([_0xde3d6f(0x0,_0x404026[_0x195f34(0x2ef)](_0x404026['Injector'])),_0xde3d6f(0x1,_0x503ae1[_0x195f34(0xec)])],_0x517f69);var _0x2e797f=Object[_0x195f34(0x242)],_0x282e0d=(_0x1b7e79,_0x27fa75,_0x576709,_0x161326)=>{for(var _0x29c3d4=_0x161326>0x1?void 0x0:_0x161326?_0x2e797f(_0x27fa75,_0x576709):_0x27fa75,_0x4eda12=_0x1b7e79['length']-0x1,_0x1c3f50;_0x4eda12>=0x0;_0x4eda12--)(_0x1c3f50=_0x1b7e79[_0x4eda12])&&(_0x29c3d4=_0x1c3f50(_0x29c3d4)||_0x29c3d4);return _0x29c3d4;},_0x47ac35=(_0x5a269f,_0xce9545)=>(_0x3ba685,_0x3128d6)=>_0xce9545(_0x3ba685,_0x3128d6,_0x5a269f);let _0x2e89f1=class extends _0x404026[_0x195f34(0xd8)]{constructor(_0x975e8b,_0x2a8ae3,_0x548c20,_0x2f01b1,_0x3a2e9f,_0x5b3bd7,_0x5ba729,_0x5a6b68){const _0xa04029=_0x195f34;super(),_0x2f983b(this,_0xa04029(0x2f1),new _0x4a3af0[(_0xa04029(0x2d4))](_0x175918[_0xa04029(0x22f)][_0xa04029(0x2c5)])),(this[_0xa04029(0x23a)]=_0x975e8b,this[_0xa04029(0x174)]=_0x2a8ae3,this[_0xa04029(0x15d)]=_0x548c20,this[_0xa04029(0x1ce)]=_0x2f01b1,this[_0xa04029(0x127)]=_0x3a2e9f,this[_0xa04029(0x13d)]=_0x5b3bd7,this[_0xa04029(0x1ac)]=_0x5ba729,this['_localeService']=_0x5a6b68,this[_0xa04029(0x18c)]());}[_0x195f34(0x18c)](){const _0x55a4ed=_0x195f34;this[_0x55a4ed(0xd5)](this[_0x55a4ed(0x174)][_0x55a4ed(0x152)]['subscribe'](_0x3698ba=>{const _0x515006=_0x55a4ed,_0x1ea4b8=this[_0x515006(0x23a)]['docStateChange$'][_0x515006(0x246)](_0x4cb400=>{const _0x514cad=_0x515006;if(_0x4cb400==null)return;const {unitId:_0x4921a7,redoState:_0x3507a3,commandId:_0x4fa70a}=_0x4cb400;if(_0x4921a7!==_0x3698ba[_0x514cad(0x1e1)])return;const _0x3d51b3={'id':_0x4fa70a,'type':_0x404026[_0x514cad(0x11c)][_0x514cad(0x311)],'params':{'unitId':_0x4921a7,'actions':_0x3507a3[_0x514cad(0xe0)],'textRanges':null}};_0x3698ba[_0x514cad(0x17d)](_0x3d51b3);});if(_0x3698ba[_0x515006(0xd5)](_0x1ea4b8),_0x3698ba instanceof _0x175918[_0x515006(0x313)]){const _0x39e4f2={'onTransformIME':_0x9dc758=>this['_docTransformIMECacheService'][_0x515006(0x338)](_0x9dc758),'onTransformState':_0x4a82e0=>this[_0x515006(0x1ce)][_0x515006(0x27f)](_0x4a82e0),'onTransformSelections':_0x4ccaed=>this[_0x515006(0x127)]['transformSelections'](_0x4ccaed),'onSyncEditingCollabCursor':_0x3b5606=>this[_0x515006(0x13d)][_0x515006(0x276)](_0x3b5606),'onTransformRemoteChangesetByIMECache':_0x3e2a5f=>this[_0x515006(0x15d)][_0x515006(0x2c9)](_0x3e2a5f),'onTransformRemoteChangesetByStateCache':_0x1d7972=>this['_docTransformStateCacheService'][_0x515006(0x2c9)](_0x1d7972)};_0x3698ba[_0x515006(0x166)](_0x39e4f2);}}));}};_0x2e89f1=_0x282e0d([_0x47ac35(0x0,_0x404026['Inject'](_0x2bec5e[_0x195f34(0x2b6)])),_0x47ac35(0x1,_0x404026[_0x195f34(0x2ef)](_0x175918[_0x195f34(0x27d)])),_0x47ac35(0x2,_0x404026[_0x195f34(0x2ef)](_0x30d443)),_0x47ac35(0x3,_0x404026[_0x195f34(0x2ef)](_0x255dbb)),_0x47ac35(0x4,_0x404026[_0x195f34(0x2ef)](_0x517f69)),_0x47ac35(0x5,_0x404026['Inject'](_0x320f00)),_0x47ac35(0x6,_0x4ebc0a[_0x195f34(0x156)]),_0x47ac35(0x7,_0x404026['Inject'](_0x404026[_0x195f34(0x146)]))],_0x2e89f1);var _0x49697f=Object[_0x195f34(0x242)],_0x3bba02=(_0x849a6d,_0x1d5e8b,_0x2f12ad,_0x4b9641)=>{const _0x5b1f0b=_0x195f34;for(var _0x19b45a=_0x4b9641>0x1?void 0x0:_0x4b9641?_0x49697f(_0x1d5e8b,_0x2f12ad):_0x1d5e8b,_0x526289=_0x849a6d[_0x5b1f0b(0x2eb)]-0x1,_0x4a4c81;_0x526289>=0x0;_0x526289--)(_0x4a4c81=_0x849a6d[_0x526289])&&(_0x19b45a=_0x4a4c81(_0x19b45a)||_0x19b45a);return _0x19b45a;},_0x38f3d2=(_0x13ba26,_0x325572)=>(_0x303655,_0xc605d5)=>_0x325572(_0x303655,_0xc605d5,_0x13ba26);let _0x3e2297=class extends _0x404026[_0x195f34(0xd8)]{constructor(_0x1b0f48,_0x27ae4d,_0x59718c){const _0x2916dd=_0x195f34;super(),_0x2f983b(this,_0x2916dd(0x334),new Map()),_0x2f983b(this,_0x2916dd(0x1b5),new Map()),_0x2f983b(this,'_disabled',!0x1),(this[_0x2916dd(0x17f)]=_0x1b0f48,this[_0x2916dd(0x135)]=_0x27ae4d,this[_0x2916dd(0x12e)]=_0x59718c);}['disableLocalCache'](){const _0x5808cd=_0x195f34;this[_0x5808cd(0xe3)]=!0x0;}[_0x195f34(0x2db)](){const _0x36c9d6=_0x195f34;this[_0x36c9d6(0xe3)]=!0x1;}get['saveTaskMap'](){const _0x6f1b9e=_0x195f34;return this[_0x6f1b9e(0x1b5)];}['dispose'](){const _0x1479ce=_0x195f34;this[_0x1479ce(0x183)]()[_0x1479ce(0x119)](()=>super[_0x1479ce(0x275)]());}async[_0x195f34(0x309)](_0xafbecf){const _0x1b04bf=_0x195f34;return this['_disabled']?null:this[_0x1b04bf(0x135)][_0x1b04bf(0xc6)](_0x175918[_0x1b04bf(0x20e)](_0xafbecf));}async['saveOfflineData'](_0x69d9d5,_0x21d9dc){const _0xbf52a0=_0x195f34;return!!this[_0xbf52a0(0x135)][_0xbf52a0(0x2c3)](_0x69d9d5,_0x21d9dc);}[_0x195f34(0x187)](_0x861624,_0x1a9f4d,_0x4e40ac,_0x49362){const _0x32bb25=_0x195f34,_0x399d5b=this[_0x32bb25(0x12e)]['getCurrentRevOfUnit'](_0x861624);this[_0x32bb25(0x334)][_0x32bb25(0x316)](_0x861624,{'unitID':_0x861624,'type':_0x1a9f4d,'awaitingChangeset':_0x4e40ac,'mutations':_0x49362,'rev':_0x399d5b}),this[_0x32bb25(0x1b5)][_0x32bb25(0x2ee)](_0x861624)||this[_0x32bb25(0xca)](_0x861624);}[_0x195f34(0xca)](_0x2173af){const _0x164d4a=_0x195f34,_0x523a5e=this['_getSaveTimeout']();_0x523a5e===0x0?this[_0x164d4a(0x1f8)](_0x2173af):this['_saveTaskMap'][_0x164d4a(0x316)](_0x2173af,setTimeout(()=>this[_0x164d4a(0x1f8)](_0x2173af),_0x523a5e));}['_getSaveTimeout'](){const _0xe57316=_0x195f34;var _0x944142;return(_0x944142=this['_configService'][_0xe57316(0x339)](_0x175918['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x944142:_0x175918[_0xe57316(0x271)];}[_0x195f34(0x1f8)](_0x395874){const _0xbcb32e=_0x195f34,_0x177812=this[_0xbcb32e(0x1b5)][_0xbcb32e(0x21a)](_0x395874);return _0x177812!==void 0x0&&window['clearTimeout'](_0x177812),this['_localStorageService']['setItem'](_0x175918[_0xbcb32e(0x20e)](_0x395874),this[_0xbcb32e(0x334)][_0xbcb32e(0x21a)](_0x395874))['then'](()=>this[_0xbcb32e(0x1b5)]['delete'](_0x395874));}async['exhaustSavingTask'](){const _0x563998=_0x195f34,_0xe2c311=[];this[_0x563998(0x1b5)][_0x563998(0x2ce)]((_0x477add,_0xc87b52)=>{const _0x556359=_0x563998;window['clearTimeout'](_0x477add),_0xe2c311[_0x556359(0xbf)](this[_0x556359(0x1f8)](_0xc87b52)[_0x556359(0x119)](()=>{const _0x5c8743=_0x556359;this['_saveTaskMap'][_0x5c8743(0x197)](_0xc87b52);}));}),await Promise[_0x563998(0x33e)](_0xe2c311);}};_0x3e2297=_0x3bba02([_0x38f3d2(0x0,_0x404026[_0x195f34(0x17c)]),_0x38f3d2(0x1,_0x404026['ILocalStorageService']),_0x38f3d2(0x2,_0x404026[_0x195f34(0x2ef)](_0x503ae1['RevisionService']))],_0x3e2297);class _0x536e16 extends _0x404026['RxDisposable']{constructor(){const _0x425fe7=_0x195f34;super(),_0x2f983b(this,'urlChange$'),this['urlChange$']=_0x4a3af0['fromEvent'](window,_0x425fe7(0x2d0))[_0x425fe7(0x2f3)](_0x4a3af0[_0x425fe7(0x27b)](this['dispose$']),_0x4a3af0['shareReplay'](0x1),_0x4a3af0['mapTo'](void 0x0));}[_0x195f34(0x1de)](_0xf2d9ab,_0x2acc9a,_0x14b279=!0x1){const _0x1cd58a=_0x195f34,_0x517248=new URL(window[_0x1cd58a(0x2f2)]['href']);_0x517248['searchParams'][_0x1cd58a(0x316)](_0xf2d9ab,_0x2acc9a),_0x14b279?window[_0x1cd58a(0x134)][_0x1cd58a(0x214)]('','',_0x517248[_0x1cd58a(0x2a2)]()):window[_0x1cd58a(0x134)]['pushState']('','',_0x517248[_0x1cd58a(0x2a2)]());}[_0x195f34(0x2bd)](_0x4910fc,_0x314d16=!0x1){const _0x117539=_0x195f34,_0xc41c20=new URL(window[_0x117539(0x2f2)][_0x117539(0x149)]);_0xc41c20['searchParams'][_0x117539(0x197)](_0x4910fc),_0x314d16?window[_0x117539(0x134)][_0x117539(0x214)]('','',_0xc41c20[_0x117539(0x2a2)]()):window['history']['pushState']('','',_0xc41c20[_0x117539(0x2a2)]());}[_0x195f34(0x321)](_0x593232){const _0x11c9a2=_0x195f34;var _0x57622a;return(_0x57622a=new URL(window[_0x11c9a2(0x2f2)][_0x11c9a2(0x149)])[_0x11c9a2(0x27a)][_0x11c9a2(0x21a)](_0x593232))!=null?_0x57622a:void 0x0;}}var _0x1c46a5=Object[_0x195f34(0x2ab)],_0x3ac2e8=Object[_0x195f34(0x242)],_0x32310c=(_0x5f492e,_0xe64eae,_0x2c0665)=>_0xe64eae in _0x5f492e?_0x1c46a5(_0x5f492e,_0xe64eae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c0665}):_0x5f492e[_0xe64eae]=_0x2c0665,_0x37b5d8=(_0x4cdfc2,_0x2218ae,_0x449237,_0x30881f)=>{const _0x5e908e=_0x195f34;for(var _0x39d011=_0x30881f>0x1?void 0x0:_0x30881f?_0x3ac2e8(_0x2218ae,_0x449237):_0x2218ae,_0x37e445=_0x4cdfc2[_0x5e908e(0x2eb)]-0x1,_0x58f394;_0x37e445>=0x0;_0x37e445--)(_0x58f394=_0x4cdfc2[_0x37e445])&&(_0x39d011=_0x58f394(_0x39d011)||_0x39d011);return _0x39d011;},_0x331665=(_0x3fc2a3,_0x13a20c)=>(_0x4586c8,_0x5ee981)=>_0x13a20c(_0x4586c8,_0x5ee981,_0x3fc2a3),_0x53ee28=(_0x2fd383,_0x3aec92,_0x51f1ef)=>_0x32310c(_0x2fd383,_0x3aec92+'',_0x51f1ef);const _0x26aa95=_0x195f34(0x1d1);_0x1db428[_0x195f34(0xd3)]=class extends _0x404026[_0x195f34(0x232)]{constructor(_0x5c9a15=_0x5849fd,_0x12ff22,_0x3c5507,_0xe76ccd){const _0x49a10d=_0x195f34;super(),this[_0x49a10d(0x201)]=_0x5c9a15,this['_renderManagerService']=_0x12ff22,this[_0x49a10d(0x2df)]=_0x3c5507,this['_configService']=_0xe76ccd;const {..._0x4fc708}=_0x404026[_0x49a10d(0x1b4)]({},_0x5849fd,this[_0x49a10d(0x201)]);this[_0x49a10d(0x17f)]['setConfig'](_0xc59c41,_0x4fc708);}[_0x195f34(0x319)](){const _0x3e1f84=_0x195f34;this['_registerDependencies'](),this[_0x3e1f84(0x1fd)]();}[_0x195f34(0x2cb)](){const _0x518152=_0x195f34;this[_0x518152(0x200)]();}['_registerDependencies'](){const _0x594be2=_0x195f34;var _0x565f58;const _0x4041ff=[[_0x2d40ec],[_0x517f69],[_0x30d443],[_0x255dbb],[_0x320f00],[_0x2332d6,{'useClass':_0x536e16}],[_0x2ffc80[_0x594be2(0x171)],{'useClass':_0x2ffc80['WebSocketService']}],[_0x175918[_0x594be2(0x128)],{'useClass':_0x3e2297}],[_0x1db428[_0x594be2(0x1b6)]],[_0x2e89f1],[_0x214987],[_0x38d523],[_0x562bc4],[_0x1db428[_0x594be2(0x2b0)]]];_0x404026[_0x594be2(0x2ae)](this[_0x594be2(0x2df)],_0x404026[_0x594be2(0x1f3)](_0x4041ff,(_0x565f58=this[_0x594be2(0x201)])==null?void 0x0:_0x565f58[_0x594be2(0x228)]));}['_registerRenderDependencies'](){const _0x232cb8=_0x195f34;this['disposeWithMe'](this[_0x232cb8(0x1c8)][_0x232cb8(0x2a0)](_0x404026[_0x232cb8(0x290)]['UNIVER_DOC'],[_0xedb427])),this['disposeWithMe'](this['_renderManagerService'][_0x232cb8(0x2a0)](_0x404026[_0x232cb8(0x290)]['UNIVER_SHEET'],[_0x933b32]));}[_0x195f34(0x1fd)](){const _0x3c8464=_0x195f34;_0x404026[_0x3c8464(0xde)](this[_0x3c8464(0x2df)],[[_0x38d523],[_0x1db428['DesktopCollaborationStatusDisplayController']],[_0x2e89f1],[_0x214987],[_0x1db428[_0x3c8464(0x2b0)]]]);}},_0x53ee28(_0x1db428[_0x195f34(0xd3)],_0x195f34(0x159),_0x26aa95),_0x1db428[_0x195f34(0xd3)]=_0x37b5d8([_0x404026['DependentOn'](_0x175918[_0x195f34(0x2c8)]),_0x331665(0x1,_0x112353['IRenderManagerService']),_0x331665(0x2,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x331665(0x3,_0x404026[_0x195f34(0x17c)])],_0x1db428['UniverCollaborationClientUIPlugin']);var _0x20298f=Object[_0x195f34(0x242)],_0x3c3e48=(_0x4eb1f7,_0x446e26,_0x2da2c4,_0x27df15)=>{const _0x18094b=_0x195f34;for(var _0x51b72b=_0x27df15>0x1?void 0x0:_0x27df15?_0x20298f(_0x446e26,_0x2da2c4):_0x446e26,_0x581fc9=_0x4eb1f7[_0x18094b(0x2eb)]-0x1,_0x2763fa;_0x581fc9>=0x0;_0x581fc9--)(_0x2763fa=_0x4eb1f7[_0x581fc9])&&(_0x51b72b=_0x2763fa(_0x51b72b)||_0x51b72b);return _0x51b72b;},_0x19e7a6=(_0x385dba,_0x190f67)=>(_0x3c798b,_0x3b431a)=>_0x190f67(_0x3c798b,_0x3b431a,_0x385dba);_0x1db428['BrowserCollaborationSocketService']=class extends _0x175918[_0x195f34(0x1db)]{constructor(_0x32e2a3,_0x2935dc,_0x47f999,_0x2bfeba,_0x14c692){super(_0x32e2a3,_0x2935dc,_0x47f999,_0x2bfeba,_0x14c692);}async[_0x195f34(0x1be)](_0x50ce3d){const _0x791144=_0x195f34,_0x4f3180=await this[_0x791144(0x2ad)](),_0x46fdc9=this[_0x791144(0x1ed)](_0x50ce3d,_0x4f3180);return this[_0x791144(0x124)](_0x46fdc9);}[_0x195f34(0x1ed)](_0x2eafc9,_0x1c09a5){const _0x297a94=_0x195f34,_0x15e49c=typeof window>'u'?new URL(_0x2eafc9):new URL(_0x2eafc9,window[_0x297a94(0x2f2)][_0x297a94(0xdc)]);_0x15e49c['searchParams'][_0x297a94(0x316)](_0x297a94(0x154),_0x1c09a5);const _0x10a1f9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x297a94(0x2f2)][_0x297a94(0xf4)]);return _0x10a1f9[_0x297a94(0x21a)](_0x297a94(0x288))&&_0x15e49c[_0x297a94(0x27a)][_0x297a94(0x316)](_0x297a94(0x288),_0x10a1f9[_0x297a94(0x21a)](_0x297a94(0x288))),_0x15e49c[_0x297a94(0x2a2)]();}async[_0x195f34(0x2ad)](){const _0x4e1016=_0x195f34;var _0xd32d6d,_0x35f1e6,_0x361a9b;const _0x437160=this[_0x4e1016(0x17f)][_0x4e1016(0x339)](_0x175918[_0x4e1016(0x16b)]),_0x94d4d7=(_0xd32d6d=_0x437160==null?void 0x0:_0x437160[_0x4e1016(0x322)])!=null?_0xd32d6d:_0x175918['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x361a9b=(_0x35f1e6=(await this['_httpService'][_0x4e1016(0x21a)](_0x94d4d7,{'headers':{'Content-Type':_0x4e1016(0x1d3)}}))['body'])==null?void 0x0:_0x35f1e6[_0x4e1016(0x2bf)])!=null?_0x361a9b:'';}},_0x1db428['BrowserCollaborationSocketService']=_0x3c3e48([_0x19e7a6(0x0,_0x404026[_0x195f34(0x2ef)](_0x404026[_0x195f34(0x182)])),_0x19e7a6(0x1,_0x404026['Inject'](_0x2ffc80['HTTPService'])),_0x19e7a6(0x2,_0x404026[_0x195f34(0x17c)]),_0x19e7a6(0x3,_0x404026[_0x195f34(0x21e)]),_0x19e7a6(0x4,_0x503ae1['ISnapshotServerService'])],_0x1db428[_0x195f34(0x1cd)]);const _0x15a497=0x7530,_0x73d210='ACTIVE_UNIT_EVENT_CHANNEL';class _0x2192a2 extends _0x404026['Disposable']{constructor(){const _0x36d3e9=_0x195f34;super(),_0x2f983b(this,_0x36d3e9(0x248),_0x404026['generateRandomId']()),_0x2f983b(this,_0x36d3e9(0xed),new Set()),_0x2f983b(this,_0x36d3e9(0x2e6),new Map()),_0x2f983b(this,_0x36d3e9(0x261),null),_0x2f983b(this,'_clearOtherTimers',new Map()),_0x2f983b(this,_0x36d3e9(0x31b),new Map()),this['_init']();}[_0x195f34(0x275)](){const _0x252934=_0x195f34;super[_0x252934(0x275)](),this[_0x252934(0x344)][_0x252934(0x2ce)]((_0x3be573,_0xb8778e)=>this[_0x252934(0x258)](_0xb8778e)),this[_0x252934(0x261)]&&window[_0x252934(0x2cd)](this[_0x252934(0x261)]);}[_0x195f34(0x2e9)](_0x1bbe05){const _0x472ac3=_0x195f34;return this[_0x472ac3(0x1e5)](_0x1bbe05)[_0x472ac3(0x2f3)](_0x4a3af0['distinctUntilChanged']());}[_0x195f34(0x291)](_0x5de3cd){const _0xfa38ff=_0x195f34;this[_0xfa38ff(0xed)][_0xfa38ff(0x129)]===0x0&&this[_0xfa38ff(0xc1)](),this['_selfUnitIDs'][_0xfa38ff(0x2f6)](_0x5de3cd),this['_send']({'type':0x0,'memberID':this[_0xfa38ff(0x248)],'unitIDs':[_0x5de3cd],'isForwarded':!0x1});}[_0x195f34(0x1f2)](_0x325719){const _0x11ca12=_0x195f34;this[_0x11ca12(0xed)][_0x11ca12(0x197)](_0x325719),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x11ca12(0x2cd)](this[_0x11ca12(0x261)]);}[_0x195f34(0xf5)](){const _0x3b397c=_0x195f34;this[_0x3b397c(0xd5)](_0x404026[_0x3b397c(0x331)](_0x4a3af0[_0x3b397c(0x329)](window,'storage')[_0x3b397c(0x246)](_0x373c7c=>{const _0x1d65a9=_0x3b397c;if(_0x373c7c[_0x1d65a9(0x27e)]!==_0x73d210||!_0x373c7c[_0x1d65a9(0x2a3)])return;const _0x39157f=JSON[_0x1d65a9(0x139)](_0x373c7c[_0x1d65a9(0x2a3)]);this['_handleEvent'](_0x39157f);}))),window[_0x3b397c(0x125)](_0x3b397c(0x163),()=>this[_0x3b397c(0x278)]({'type':0x1,'memberID':this[_0x3b397c(0x248)],'unitIDs':Array[_0x3b397c(0xc4)](this[_0x3b397c(0xed)])}));}[_0x195f34(0xc2)](_0x41084e){const _0x196218=_0x195f34;switch(_0x41084e[_0x196218(0x2a9)]){case 0x0:this[_0x196218(0x32e)](_0x41084e);break;case 0x1:this['_handleLeaveEvent'](_0x41084e);break;case 0x2:this['_handleHeartbeatEvent'](_0x41084e);break;}}['_handleJoinEvent'](_0x4e6e2c){const _0x1f1021=_0x195f34,{unitIDs:_0x53035b,memberID:_0x41b0ab,isForwarded:_0xf91e5a}=_0x4e6e2c;_0x53035b['forEach'](_0x29da6c=>{const _0x13ad33=_0x2cf8;if(!_0xf91e5a&&this[_0x13ad33(0x2e6)]['has'](_0x29da6c)&&this[_0x13ad33(0x1e5)](_0x29da6c)['next'](_0x175918['UnitStatus'][_0x13ad33(0x341)]),!this[_0x13ad33(0x2e6)]['has'](_0x29da6c)||!this['_unitOnClients']['get'](_0x29da6c)['has'](_0x41b0ab)){const _0x3a3959=this['_unitOnClients'][_0x13ad33(0x21a)](_0x29da6c)||new Set();_0x3a3959['add'](_0x41b0ab),this['_unitOnClients'][_0x13ad33(0x316)](_0x29da6c,_0x3a3959),this[_0x13ad33(0xc5)](_0x41b0ab);}}),_0xf91e5a||this[_0x1f1021(0x278)]({'type':0x0,'memberID':this[_0x1f1021(0x248)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x195f34(0xc5)](_0x463dd6){const _0x4190a8=_0x195f34;this['_removeClearOtherTimer'](_0x463dd6);const _0x6c5386=window[_0x4190a8(0x33a)](()=>{const _0x1db7a3=_0x4190a8;this[_0x1db7a3(0x2e6)][_0x1db7a3(0x2ce)](_0x3b9f9f=>{const _0x455733=_0x1db7a3;_0x3b9f9f[_0x455733(0x197)](_0x463dd6);});},_0x15a497*0x2);this[_0x4190a8(0x344)][_0x4190a8(0x316)](_0x463dd6,_0x6c5386);}[_0x195f34(0x258)](_0x455ab3){const _0x2fcf14=_0x195f34;if(this[_0x2fcf14(0x344)][_0x2fcf14(0x2ee)](_0x455ab3)){const _0x5d3e86=this[_0x2fcf14(0x344)][_0x2fcf14(0x21a)](_0x455ab3);_0x5d3e86&&window[_0x2fcf14(0x2ec)](_0x5d3e86),this[_0x2fcf14(0x344)][_0x2fcf14(0x316)](_0x455ab3,null);}}['_handleLeaveEvent'](_0x20f050){const _0x48cbbd=_0x195f34,{memberID:_0x2ea20f,unitIDs:_0x27ff18}=_0x20f050;_0x27ff18['forEach'](_0x52d102=>{const _0x2eec79=_0x2cf8;var _0x4af005;const _0x1db6a6=this['_unitOnClients'][_0x2eec79(0x21a)](_0x52d102);_0x1db6a6&&(_0x1db6a6['delete'](_0x2ea20f),(_0x4af005=this[_0x2eec79(0x1e5)](_0x52d102))==null||_0x4af005['next'](_0x1db6a6[_0x2eec79(0x129)]===0x0?_0x175918['UnitStatus'][_0x2eec79(0xeb)]:_0x175918[_0x2eec79(0xea)]['OTHER_CLIENTS_EDITING']));}),this[_0x48cbbd(0x258)](_0x2ea20f);}[_0x195f34(0x289)](_0xafef7d){const _0x5079e1=_0x195f34;this[_0x5079e1(0xc5)](_0xafef7d[_0x5079e1(0x252)]);}[_0x195f34(0x278)](_0x3b9ece){const _0x279928=_0x195f34;localStorage[_0x279928(0x2c3)](_0x73d210,JSON[_0x279928(0xcf)](_0x3b9ece));}['_scheduleHeartbeat'](){const _0x4cc0a3=_0x195f34;this['_heartbeatTimer']=window[_0x4cc0a3(0x31d)](()=>{const _0x283364=_0x4cc0a3;this[_0x283364(0x278)]({'type':0x2,'memberID':this[_0x283364(0x248)]});},_0x15a497);}['_ensureSubject'](_0x4ecd86){const _0x63fe12=_0x195f34;return this['_unitStatus'][_0x63fe12(0x2ee)](_0x4ecd86)||this[_0x63fe12(0x31b)][_0x63fe12(0x316)](_0x4ecd86,new _0x4a3af0[(_0x63fe12(0x2d4))](_0x175918[_0x63fe12(0xea)][_0x63fe12(0xeb)])),this['_unitStatus'][_0x63fe12(0x21a)](_0x4ecd86);}}var _0x3c28c0=(_0x17e3b5=>(_0x17e3b5[_0x17e3b5[_0x195f34(0x301)]=0x0]=_0x195f34(0x301),_0x17e3b5[_0x17e3b5['OK']=0x1]='OK',_0x17e3b5[_0x17e3b5[_0x195f34(0x2ba)]=0x2]=_0x195f34(0x2ba),_0x17e3b5[_0x17e3b5[_0x195f34(0x16a)]=0x3]=_0x195f34(0x16a),_0x17e3b5[_0x17e3b5[_0x195f34(0x2e1)]=0x4]=_0x195f34(0x2e1),_0x17e3b5[_0x17e3b5[_0x195f34(0x164)]=0x5]='UNAUTHENTICATED',_0x17e3b5[_0x17e3b5[_0x195f34(0x1fa)]=0x6]=_0x195f34(0x1fa),_0x17e3b5[_0x17e3b5[_0x195f34(0x165)]=0x7]=_0x195f34(0x165),_0x17e3b5[_0x17e3b5[_0x195f34(0x126)]=0x8]=_0x195f34(0x126),_0x17e3b5[_0x17e3b5[_0x195f34(0x2cf)]=0x9]=_0x195f34(0x2cf),_0x17e3b5[_0x17e3b5[_0x195f34(0x1cf)]=0xa]=_0x195f34(0x1cf),_0x17e3b5[_0x17e3b5[_0x195f34(0x147)]=0x1389]=_0x195f34(0x147),_0x17e3b5[_0x17e3b5[_0x195f34(0x11b)]=0x1771]=_0x195f34(0x11b),_0x17e3b5[_0x17e3b5[_0x195f34(0x1a3)]=0x1772]=_0x195f34(0x1a3),_0x17e3b5[_0x17e3b5['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x195f34(0xfc),_0x17e3b5[_0x17e3b5['APPLY_REJECT']=0x1b59]=_0x195f34(0x237),_0x17e3b5[_0x17e3b5[_0x195f34(0xe2)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x17e3b5[_0x17e3b5[_0x195f34(0x256)]=0x1b5b]=_0x195f34(0x256),_0x17e3b5[_0x17e3b5[_0x195f34(0x184)]=0x1b5c]=_0x195f34(0x184),_0x17e3b5[_0x17e3b5[_0x195f34(0x24d)]=0x1b5d]=_0x195f34(0x24d),_0x17e3b5[_0x17e3b5['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x17e3b5[_0x17e3b5[_0x195f34(0x168)]=0x2329]=_0x195f34(0x168),_0x17e3b5[_0x17e3b5['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x195f34(0x249),_0x17e3b5[_0x17e3b5[_0x195f34(0x2c7)]=0x232b]=_0x195f34(0x2c7),_0x17e3b5[_0x17e3b5['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x17e3b5[_0x17e3b5[_0x195f34(0x1fb)]=0x232d]=_0x195f34(0x1fb),_0x17e3b5[_0x17e3b5[_0x195f34(0x12d)]=0x2711]=_0x195f34(0x12d),_0x17e3b5[_0x17e3b5[_0x195f34(0xe5)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x17e3b5[_0x17e3b5[_0x195f34(0x17b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x17e3b5[_0x17e3b5[_0x195f34(0xe6)]=0x2714]=_0x195f34(0xe6),_0x17e3b5[_0x17e3b5[_0x195f34(0x173)]=0x271a]=_0x195f34(0x173),_0x17e3b5[_0x17e3b5[_0x195f34(0x342)]=0x271b]=_0x195f34(0x342),_0x17e3b5[_0x17e3b5[_0x195f34(0x1c9)]=0x2af9]=_0x195f34(0x1c9),_0x17e3b5[_0x17e3b5[_0x195f34(0xd9)]=0x2ee1]=_0x195f34(0xd9),_0x17e3b5[_0x17e3b5[_0x195f34(0x175)]=0x2ee2]=_0x195f34(0x175),_0x17e3b5[_0x17e3b5['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x17e3b5[_0x17e3b5['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x17e3b5[_0x17e3b5[_0x195f34(0x1bd)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x17e3b5[_0x17e3b5['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x195f34(0x176),_0x17e3b5[_0x17e3b5['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x195f34(0x145),_0x17e3b5[_0x17e3b5[_0x195f34(0x235)]=0x32cb]=_0x195f34(0x235),_0x17e3b5[_0x17e3b5[_0x195f34(0xce)]=-0x1]='UNRECOGNIZED',_0x17e3b5))(_0x3c28c0||{}),_0x1c72ca=Object[_0x195f34(0x242)],_0xe3483f=(_0x2fff05,_0xba9196,_0x4debed,_0x542289)=>{const _0x1600f7=_0x195f34;for(var _0x207e8b=_0x542289>0x1?void 0x0:_0x542289?_0x1c72ca(_0xba9196,_0x4debed):_0xba9196,_0x583800=_0x2fff05[_0x1600f7(0x2eb)]-0x1,_0x30d62b;_0x583800>=0x0;_0x583800--)(_0x30d62b=_0x2fff05[_0x583800])&&(_0x207e8b=_0x30d62b(_0x207e8b)||_0x207e8b);return _0x207e8b;},_0x2c6bb0=(_0x26e858,_0x1336f6)=>(_0x36af81,_0x25239d)=>_0x1336f6(_0x36af81,_0x25239d,_0x26e858);_0x1db428[_0x195f34(0x2d7)]=class extends _0x404026[_0x195f34(0xd8)]{constructor(_0x59e010,_0x5f23e2,_0x5052f1){const _0x6fece9=_0x195f34;super(),this[_0x6fece9(0x259)]=_0x59e010,this[_0x6fece9(0x103)]=_0x5f23e2,this[_0x6fece9(0x17f)]=_0x5052f1;}async['runOnServer'](_0x24fd1c,_0x244748,_0x5de324,..._0x3a120a){const _0x4f76f6=_0x195f34;var _0x3fd8a8,_0x461eaf,_0x27ac12,_0x54e3dd;const _0x4d91a7=this[_0x4f76f6(0x259)][_0x4f76f6(0x23f)]();if(!_0x4d91a7)throw new Error(_0x4f76f6(0x23b));const _0x583737=((_0x3fd8a8=this[_0x4f76f6(0x17f)][_0x4f76f6(0x339)](_0x175918[_0x4f76f6(0x251)]))!=null?_0x3fd8a8:_0x175918[_0x4f76f6(0x2ea)])+'/'+_0x24fd1c+_0x4f76f6(0x300)+_0x244748,_0x156b67=new URL(window[_0x4f76f6(0x2f2)][_0x4f76f6(0x149)]),_0x5c8110={'scriptId':_0x24fd1c,'runId':(_0x461eaf=_0x156b67['searchParams'][_0x4f76f6(0x21a)]('runId'))!=null?_0x461eaf:'','function':_0x244748,'unitId':_0x4d91a7[_0x4f76f6(0x19f)](),'argsOfFunction':JSON[_0x4f76f6(0xcf)](_0x3a120a),'invokeId':(_0x27ac12=_0x5de324[_0x4f76f6(0x298)])!=null?_0x27ac12:'','executionId':(_0x54e3dd=_0x5de324[_0x4f76f6(0x30f)])!=null?_0x54e3dd:''};try{const _0x36388b=await this[_0x4f76f6(0x103)][_0x4f76f6(0x104)](_0x583737,{'body':_0x5c8110});return _0x36388b[_0x4f76f6(0xe7)][_0x4f76f6(0x2a6)]&&_0x36388b['body'][_0x4f76f6(0x2a6)][_0x4f76f6(0x21c)]!==_0x3c28c0['OK']?_0x4f76f6(0x283):_0x36388b[_0x4f76f6(0xe7)][_0x4f76f6(0x198)];}catch{return _0x4f76f6(0x283);}}},_0x1db428[_0x195f34(0x2d7)]=_0xe3483f([_0x2c6bb0(0x0,_0x404026[_0x195f34(0xc8)]),_0x2c6bb0(0x1,_0x404026[_0x195f34(0x2ef)](_0x2ffc80[_0x195f34(0x2ac)])),_0x2c6bb0(0x2,_0x404026['IConfigService'])],_0x1db428[_0x195f34(0x2d7)]),_0x1db428[_0x195f34(0x1f4)]=_0x5c1945,_0x1db428[_0x195f34(0x324)]=_0x2332d6,_0x1db428[_0x195f34(0x209)]=_0x3796fc,_0x1db428['WebBrowserSingleActiveUnitService']=_0x2192a2,_0x1db428[_0x195f34(0x162)]=_0x536e16,Object[_0x195f34(0x2ab)](_0x1db428,Symbol[_0x195f34(0x118)],{'value':_0x195f34(0xcc)});}));
1
+ function _0x5841(_0x39553d,_0x44caa){const _0x441605=_0x4416();return _0x5841=function(_0x58416e,_0x81968f){_0x58416e=_0x58416e-0x10e;let _0x299eb2=_0x441605[_0x58416e];return _0x299eb2;},_0x5841(_0x39553d,_0x44caa);}function _0x4416(){const _0x1367bc=['_ensureSubject','_beforeCloseService','EffectRefRangId','UniverEngineFormula','@univerjs/engine-formula','defs','collaboration-client.offline-data-not-saved','_sheetSkeletonManagerService','CollaborationEvent','_hideTimer','InsertRangeMoveRightCommandId','getDocRanges','UniverUi','addClipboardHook','origin','docStateChange$','M0\x200H16V16H0z','IRemoteInstanceService','_getMergeRange','dispose','UniverProCollaboration','distinctUntilChanged','_localStorageService','_anchorDot','getFocusedUnit','UNAUTHENTICATED','LICENSE_DISTRO_REJECTED','_httpService','YUUMI_URL_COL_OUT_OF_RANGE','loadUnit','_unitOnClients','onRendered','next','rxjs','subscribe','238UvIGQS','getCollabEntity$','_roomMembers$','_getScale','enableLocalCache','WebSocketService','setConfig','history','getRelativeToViewportCoord','ITransformService','APPLY_REVISION_CONFILICT','UniverNetwork','NodePositionConvertToCursor','_transformPreviousActiveRange','roomMembers$','getRenderById','TEXT_RANGE_LAYER_INDEX','error','url(#$1','debug','_cursor','type','_context','serializeRangeWithSheet','APPLY_DUPLICATED','permission.content','arc','TOO_MANY_REQUESTS','off-line-single','HTTPService','_initEvent','round','unitId','UniverProCollaborationClientUi','parse','OFFLINE','_status$','useDependency','APPLY_NON_SEQUENTIAL_REVISION','registerComponent','Disposable','@univerjs/engine-render','handleDeleteRangeMoveLeft','selections','_docStateChangeManagerService','has','IRenderManagerService','getCurrentSelections','_notificationService','_drawTextRange','focused$','status$','requireSession','collabStatus.conflict','getValue','getVpScrollXYInfoByPosToVp','search','_collaborationUIEventService','51291GSrtsc','startsWith','SOCKET_FAILED_RETRY','_entityInit$','APPLY_PERMISSION_DENIED','_saveTaskMap','UniverInstanceType','_doCreateSocket','registerRenderModule','_hover','_initDependencies','getMemberID','_entities','replaceDocRanges','...','getSheetObject','icon','exhaustSavingTask','LocaleService','/run/','HEADER_MENU','@univerjs-pro/collaboration','hovered','UNRECOGNIZED','_collabCursorController','LOCAL_CACHE_INTERVAL','fill','add','YUUMI_RATE_OVER_LIMIT','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','switchMap','transformMutation','application/json','_onCursorDelete','_getSheetObject','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','complete','_getSessionTicket','prototype','JOIN_ROOM_FAILED','current','66VifSaW','cursorInfo$','_messageService','hasOwnProperty','OffLineSingle','getTypeOfUnitDisposed$','RemoveRowCommandId','amd','m1Prime','IUniverInstanceService','entityInit$','transformMutationsWithChangeset','_assignedColors','clearTimeout','runRefRangeMutations','LICENSE_MAX_UNITS_EXCEEDED','IBeforeCloseService','0\x200\x2017\x2016','_handleHeartbeatEvent','defineProperty','collabStatus.offline','_revisionService','url(#on-line-single_clip0_910_349)','disposeWithMe','getSkeleton','gold400','_updateSubUnitFromURLParams','map','RevisionService','concat','then','_onCursorUpdate','getUndoRedoMutationParamsCache','createSocket','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_document','_session','UniverSheets','lineTo','_univerInstanceService','params','getColor','ONLINE','split','newValue','collab-rect-range-','WebBrowserSingleActiveUnitService','searchParams','saveOfflineData','min','OTHER_CLIENTS_EDITING','180282hNxclJ','_dataLoaderService','_docClipboardService','handleDeleteRangeMoveUp','_handleLeaveEvent','@univerjs/sheets-ui','getSheetId','UniverEngineRender','getConfig','Rectangle','_localCacheService','column','YUUMI_ASYNCIO_CANCELLED','SUBMIT_CHANGESET_TIMEOUT','@univerjs/design','IUIPartsService','_selfUnitIDs','PY_RUNTIME_SCRIPT_ERROR','path','_shapes','ColorKit','getSheetBySheetId','CollaborationSocketService','isActive','RxDisposable','findNodePositionByCharIndex','IDocClipboardService','INotificationService','Warning','@univerjs/network','name','roomMembers','_eventUnsubscribe','_online','RefRangeService','length','getActiveSheet','12855bOEdFn','find','sheetId','2209630VcOYXk','react','addObject','none','WECHAT_HAS_BEEN_BOUND','_handleHover','UNIVER_SHEET','assignAColorForMemberID','_onRefRangeChange','NOT_FOUND','saveTaskMap','USERS_LEAVE','setActiveRange','SNAPSHOT_INVALID_SNAPSHOT','symbol','30010UiRJhb','transformIMECache','_drawAnchor','max','forwardRef','wsSessionTicketUrl','Injector','shareReplay','trim','_syncEditingCollabCursorService','_memberService','getAncestorScale','LOGIN_FAILED','setParam','collaboration-client-ui.config','DocStateChangeManagerService','blue400','body','doc.mutation.rich-text-editing','disposeUnit','addEventListener','purple300','labelPosition','RegularPolygon','_unitStatus','NO_OTHER_CLIENTS_EDITING','debounce','_transformHistoryAndStateStack','setTimeout','_config','_setupBeforeClosingHandler','extend','loadOfflineData','_updateCollabCursors','ICommandService','colorChannel1','UniverCore','values','unshift','_colorIndex','_injector','black','AWAITING','_docSyncEditingCollabCursorService','getMergeData','getOwnPropertyDescriptor','height','_scheduleClearOtherTimer','_renderManagerService','Tools','_createSocketURL','transform','isTransformMutationFailure','syncEditingCollabCursor','triggerDblclick','pipe','size','getLocalCacheKey','debounceTime','_updateLocalCursor','#fff','IMessageService','isTransformMutationsWithChangesetSuccess','override','getRangePointData','range','random','text','clearInterval','_startDocCollabCursor','mutations','_removeClearOtherTimer','_scheduleSaving','_id','_name','@univerjs/drawing','sheetID','BehaviorSubject','_docTransformSelectionsService','post','assign','CHANGESET_REVISION_CONFILICT','children','rxjs/operators','session.will-retry','bottom','createIdentifier','UniverDrawing','@univerjs/core','Inject','uni.network.url-service','propertyIsEnumerable','Optional','ThemeService','subscribeEvent','CollaborationController','_draw','SetWorksheetActivateCommand','_registerDependencies','OTHER_CLIENT_EDITING','connectInjector','_collabSessionService','_cachedData','currentSkeleton$','UniverSheetsUi','ISnapshotServerService','handleInsertRow','location','fillStyle','registerRefRange','SYNCED','React','_refreshCollabCursors','session.collaboration-timeout','subUnitId','takeUntil','RemoteUniscriptService','ACTIVE_UNIT_EVENT_CHANNEL','_initCommandExecutedListener','DesktopCollaborationStatusDisplayController','ALREADY_EXISTS','moveTo','off-line-single_clip0_910_343','handleInsertRangeMoveDown','forEach','ILocalStorageService','_range','CollaborationStatus','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','permission.title','substring','createInstance','_themeService','USER_NOT_INVITED_CODE','CollaborationUIEventId','createElement','from','UniverRpc','combineLatest','Vector2','div','getTypeOfUnitAdded$','_collaborationController','_updateURLWithCurrentState','operators','DependentOn','UnitStatus','_configService','removeParam','_anchor','key','top','deserializeRangeWithSheet','VIEW_MAIN','SHEET_VIEWPORT_KEY','DataLoaderService','SNAPSHOT_HAS_BEEN_REMOVED','width','_collabCursorState$','collabStatus.syncing','_imageIoService','actions','onPointerLeave$','ticket','collab-text-anchor-','setShapeProps','_refRangeService','mask','urlChange$','color','_colorAssignService','MessageType','univer-text-green-500','collabCursorState$','tag','ISocketService','@univerjs/ui','UNDEFINED','useObservable','sessionTicket','data','Error','YUUMI_SUBSCRIPTION_NOT_FOUND','resize','collab-text-range-','@univerjs/docs','NOT_COLLAB','m2Prime','_disabled','_handleJoinEvent','MOBILE_HAS_BEEN_BOUND','univer-flex\x20univer-items-center','set','replaceState','executeCommand','startColumn','updateOfflineData','unit','collaboration.closeRoom','mergeOverrideWithDependencies','_cursorInfo$','currentTheme$','_init','univer-text-red-500','MoveRangeCommandId','_color','SessionStatus','unsubscribe','7690518fHOHrH','use','BrowserCollaborationSocketService','ENSURE_SNAPSHOT_EXECUTION','send','_docSkeletonManagerService','cursorInfo','CollaborationUIEventService','textRanges','DocCollaborationEntity','_transformService','dispose$','_drawRectRange','measureText','getCoordByCell','init','evenodd','_cursorShapes','session.connection-failed','getItem','_initResize','subunit','deepClone','code','className','INVITE_CODE_ALREADY_BOUND','MemberService','defIds','attrs','Subject','verdancy600','_scheduleHeartbeat','getUnitStatus$','setItem','_toggleOnline','EMAIL_HAS_BEEN_BOUND','transformSelections','getUnitId','row','includes','indexOf','1em','transformStateCache','toRgbString','disableLocalCache','SetSelectionsOperation','ILogService','IURLService','UniverDesign','_heartbeatTimer','asObservable','pluginName','Plugin','LICENSE_EXPORT_SIZE_EXCEEDED','COMPLETION_FINISHED','whenReady','unload','DOC_RANGE_TYPE','PENDING','APPLY_REJECT','_instanceService','handleIRemoveCol','getStateCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Rect','_hovered','getUniverSheetInstance','getViewport','_textBubble','sessionStatus$','BuiltInUIPart','_commandService','UniverCollaborationClientUIPlugin','@univerjs/sheets','_setupSubUnitSync','_docTransformStateCacheService','onPointerMove$','jsx','unitID','isArray','getOwnPropertySymbols','setUndoRedoMutationParamsCache','_startSheetCollabCursor','generateRandomId','onMouseMove','show','fromEvent','_docTransformIMECacheService','closePath','currentColor','setAlpha','RECT','save','UPDATE_CURSOR','redoState','setStateCache','_localeService','toStringTag','selection','with','CollaborationDataLoaderController','handleMoveRange','FromArray','merge','UniverCollaborationClientPlugin','_lastPointer','xlink:href','_initStatusListener','Workbook','UniverProCollaborationClient','collabStatus.synced','all','_urlService','Shape','_removeCollabCursors','getMember','getCellPositionByOffset','toDisposable','result','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_backgroundColor','_labelPosition','call','string','INVITE_CODE_REQUIRED','getParam','856tdkTRR','runId','replace','MUTATION','_getAnchorBounding','SheetsSelectionsService','entries','_getSaveTimeout','transformRemoteChangeset','eventID','YUUMI_NO_CUBOID_FOR_QUESTION','event$','svg','RichTextEditingMutation','on-line-single_clip0_910_349','memberID','stringify','exports','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','SetDocZoomRatioOperation','@univerjs/docs-ui','DocSelectionManagerService','_handleEvent','function','get','_toggleOffline','collab-client.tooltip.reconnect','ILocalCacheService','delete','CollaborationSessionService','some','drawWith','PERMISSION_DENIED','_saveCache','_cursors','[CollaborationDataLoaderController]','14201210WoLOjU','engine','_scene','undoState','_transformUndoRedoStack','@univerjs-pro/collaboration-client','_send','IConfigService','DisposableCollection','CLOSE_ROOM','SetTextSelectionsOperation','COLORS','DocIMEInputManagerService','_render','idSuffix','collabStatus.notCollab','_docSkeleton','DEFAULT_WS_SESSION_TICKET_URL','getUnhiddenWorksheets','href','_initStatusComponent','InsertRowCommandId','storage','toString','font','displayName','onPointerEnter$','getOffsetConfig','CONFLICT','activeSheet$','on-line-single','addObjects','_clearOtherTimers','fillText','Unknown\x20user','YUUMI_UNABLE_LOAD_URL','push','hide','pushState','onStarting','react/jsx-runtime','1300xRfdtY','_uiPartsService','addHandlerCallback','FETCH_MISS','isEditing','INTERNAL_ERROR','handleInsertCol','UNIVER_DOC','DeleteRangeMoveUpCommandId','getCollabCursors$','CONNECTOR_DATA_TOO_LARGE','InsertColCommandId','_logService','url(#off-line-single_clip0_910_343)','onCommandExecuted','reconnect'];_0x4416=function(){return _0x1367bc;};return _0x4416();}(function(_0x8134f3,_0x12598f){const _0x2e9d68=_0x5841,_0x5ca0be=_0x8134f3();while(!![]){try{const _0x3c0bbb=-parseInt(_0x2e9d68(0x358))/0x1*(-parseInt(_0x2e9d68(0x2ee))/0x2)+-parseInt(_0x2e9d68(0x346))/0x3*(-parseInt(_0x2e9d68(0x258))/0x4)+-parseInt(_0x2e9d68(0x349))/0x5+parseInt(_0x2e9d68(0x321))/0x6*(-parseInt(_0x2e9d68(0x28b))/0x7)+parseInt(_0x2e9d68(0x20b))/0x8*(parseInt(_0x2e9d68(0x2c5))/0x9)+-parseInt(_0x2e9d68(0x22f))/0xa+parseInt(_0x2e9d68(0x18d))/0xb;if(_0x3c0bbb===_0x12598f)break;else _0x5ca0be['push'](_0x5ca0be['shift']());}catch(_0x1cf91c){_0x5ca0be['push'](_0x5ca0be['shift']());}}}(_0x4416,0xc5531),function(_0x2a49c1,_0x331a20){const _0x74e936=_0x5841;typeof exports=='object'&&typeof module<'u'?_0x331a20(exports,require(_0x74e936(0x234)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x74e936(0x33e)),require(_0x74e936(0x21f)),require(_0x74e936(0x3a3)),require(_0x74e936(0x289)),require(_0x74e936(0x176)),require(_0x74e936(0x2da)),require(_0x74e936(0x26c)),require(_0x74e936(0x1d6)),require('rxjs/operators'),require(_0x74e936(0x326)),require(_0x74e936(0x257)),require(_0x74e936(0x16d)),require(_0x74e936(0x32f)),require(_0x74e936(0x34a)),require('@univerjs/rpc')):typeof define==_0x74e936(0x222)&&define[_0x74e936(0x2f5)]?define([_0x74e936(0x21c),_0x74e936(0x234),_0x74e936(0x115),_0x74e936(0x2b4),_0x74e936(0x33e),'@univerjs/docs-ui','@univerjs/drawing',_0x74e936(0x289),'@univerjs/docs',_0x74e936(0x2da),_0x74e936(0x26c),_0x74e936(0x1d6),_0x74e936(0x110),'@univerjs/sheets-ui','react/jsx-runtime',_0x74e936(0x16d),_0x74e936(0x32f),'react','@univerjs/rpc'],_0x331a20):(_0x2a49c1=typeof globalThis<'u'?globalThis:_0x2a49c1||self,_0x331a20(_0x2a49c1[_0x74e936(0x2ac)]={},_0x2a49c1[_0x74e936(0x1fa)],_0x2a49c1[_0x74e936(0x37c)],_0x2a49c1[_0x74e936(0x328)],_0x2a49c1[_0x74e936(0x296)],_0x2a49c1['UniverDocsUi'],_0x2a49c1[_0x74e936(0x114)],_0x2a49c1[_0x74e936(0x289)],_0x2a49c1['UniverDocs'],_0x2a49c1[_0x74e936(0x27c)],_0x2a49c1[_0x74e936(0x26b)],_0x2a49c1[_0x74e936(0x313)],_0x2a49c1[_0x74e936(0x289)][_0x74e936(0x14d)],_0x2a49c1[_0x74e936(0x125)],_0x2a49c1[_0x74e936(0x12c)],_0x2a49c1[_0x74e936(0x274)],_0x2a49c1[_0x74e936(0x1bd)],_0x2a49c1[_0x74e936(0x12c)],_0x2a49c1[_0x74e936(0x146)]));}(this,function(_0x4c3250,_0x2c72d0,_0x5bf9c6,_0x5d1039,_0x28d1f0,_0x1a8f2e,_0x32ed5f,_0x496cb2,_0x50e692,_0x4e6003,_0x44be57,_0x4fd62b,_0x19b4ce,_0x45d045,_0x5540cf,_0x106fc7,_0x165dd1,_0xab82b5,_0x1d3fe6){'use strict';const _0x19a859=_0x5841;var _0x1cbfe9=Object[_0x19a859(0x301)],_0x22e32e=(_0x11e0d3,_0x3c9bd8,_0x1eab2b)=>_0x3c9bd8 in _0x11e0d3?_0x1cbfe9(_0x11e0d3,_0x3c9bd8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1eab2b}):_0x11e0d3[_0x3c9bd8]=_0x1eab2b,_0x521fa5=(_0xf7ad17,_0x422f42,_0x1cca67)=>_0x22e32e(_0xf7ad17,typeof _0x422f42!=_0x19a859(0x357)?_0x422f42+'':_0x422f42,_0x1cca67),_0x5e463f=Object[_0x19a859(0x385)],_0x36cb6a=(_0x3ccca4,_0x5e3f5f,_0x2adf32,_0x309caf)=>{const _0x158809=_0x19a859;for(var _0x1e29c6=_0x309caf>0x1?void 0x0:_0x309caf?_0x5e463f(_0x5e3f5f,_0x2adf32):_0x5e3f5f,_0x4efffc=_0x3ccca4[_0x158809(0x344)]-0x1,_0x52f7e8;_0x4efffc>=0x0;_0x4efffc--)(_0x52f7e8=_0x3ccca4[_0x4efffc])&&(_0x1e29c6=_0x52f7e8(_0x1e29c6)||_0x1e29c6);return _0x1e29c6;},_0x39b60c=(_0x1711ca,_0x4f685e)=>(_0x30e9b6,_0x58de0a)=>_0x4f685e(_0x30e9b6,_0x58de0a,_0x1711ca);let _0x41ef61=class extends _0x5bf9c6['RxDisposable']{constructor(_0x19e246,_0x352f4a){const _0x1c8750=_0x19a859;super(),this[_0x1c8750(0x323)]=_0x19e246,this[_0x1c8750(0x15d)]=_0x352f4a,this[_0x1c8750(0x187)]();}[_0x19a859(0x187)](){const _0x2cccf1=_0x19a859,_0x3bfa1c=this;this[_0x2cccf1(0x305)](this[_0x2cccf1(0x323)][_0x2cccf1(0x275)]({'onBeforePasteImage':async _0x1cd2b6=>{const _0x58ab85=_0x2cccf1,_0x1cab38=await _0x3bfa1c[_0x58ab85(0x15d)]['saveImage'](_0x1cd2b6);return _0x1cab38?{'source':_0x1cab38['source'],'imageSourceType':_0x1cab38['imageSourceType']}:null;}}));}};_0x41ef61=_0x36cb6a([_0x39b60c(0x0,_0x1a8f2e[_0x19a859(0x33b)]),_0x39b60c(0x1,_0x32ed5f['IImageIoService'])],_0x41ef61);const _0x3b1f63=[_0x19a859(0x36d),'jiqing500',_0x19a859(0x1ab),'red300',_0x19a859(0x368),_0x19a859(0x307)];class _0x30d5cc extends _0x5bf9c6['Disposable']{constructor(){const _0x5cbd57=_0x19a859;super(...arguments),_0x521fa5(this,_0x5cbd57(0x2fa),new Map()),_0x521fa5(this,'_colorIndex',0x0);}[_0x19a859(0x350)](_0x17b72b){const _0xdcb8b8=_0x19a859;if(this['_assignedColors'][_0xdcb8b8(0x2b8)](_0x17b72b))return this[_0xdcb8b8(0x2fa)]['get'](_0x17b72b);const _0x33eb80=_0x3b1f63[this['_colorIndex']];return this[_0xdcb8b8(0x37f)]=(this[_0xdcb8b8(0x37f)]+0x1)%_0x3b1f63['length'],this[_0xdcb8b8(0x2fa)][_0xdcb8b8(0x17d)](_0x17b72b,_0x33eb80),_0x33eb80;}}function _0x23dcc3(_0x215137){let _0x2dfb2b='';for(const _0x3abd55 of _0x215137){const {startOffset:_0xb8259e,endOffset:_0x55d6c2,isActive:_0x193841,rangeType:_0x3f8139,segmentId:_0x5588d9,segmentPage:_0x4553c3}=_0x3abd55;_0x2dfb2b['length']&&(_0x2dfb2b+=','),_0x2dfb2b+=_0xb8259e+':'+_0x55d6c2+':'+(_0x193841?'1':'0')+':'+_0x3f8139+':'+_0x5588d9+':'+_0x4553c3;}return _0x2dfb2b;}function _0xe496a5(_0x1de54d){const _0x2d80a3=_0x19a859,_0x4bd327=_0x1de54d[_0x2d80a3(0x319)](','),_0x2d9676=[];for(const _0x2a178e of _0x4bd327){const [_0x11982e,_0x3adb6c,_0xadad32,_0x3147ab,_0x2f6d28,_0x9e751e]=_0x2a178e['split'](':');_0x2d9676['push']({'startOffset':Number(_0x11982e),'endOffset':Number(_0x3adb6c),'collapsed':_0x11982e===_0x3adb6c,'isActive':_0xadad32==='1','rangeType':_0x3147ab===_0x5bf9c6[_0x2d80a3(0x1c6)]['TEXT']?_0x5bf9c6['DOC_RANGE_TYPE']['TEXT']:_0x5bf9c6[_0x2d80a3(0x1c6)][_0x2d80a3(0x1e8)],'segmentId':typeof _0x2f6d28==_0x2d80a3(0x208)?String(_0x2f6d28):'','segmentPage':Number(_0x9e751e!=null?_0x9e751e:-0x1)});}return _0x2d9676[_0x2d80a3(0x229)](_0x311d81=>_0x311d81[_0x2d80a3(0x338)])||(_0x2d9676[0x0][_0x2d80a3(0x338)]=!0x0),_0x2d9676;}class _0x299122 extends _0x5bf9c6[_0x19a859(0x339)]{constructor(){const _0x3f2a10=_0x19a859;super(...arguments),_0x521fa5(this,_0x3f2a10(0x15b),new _0x496cb2['BehaviorSubject'](null)),_0x521fa5(this,_0x3f2a10(0x16a),this[_0x3f2a10(0x15b)]['asObservable']());}['syncEditingCollabCursor'](_0x5ac2de){const _0x496e8e=_0x19a859,{unitID:_0x1bd9b0,memberID:_0x3726f9,textRanges:_0x4280d0}=_0x5ac2de,_0x36309d=_0x23dcc3(_0x4280d0);if(_0x36309d==='')return;const _0x381b00={'unitID':_0x1bd9b0,'memberID':_0x3726f9,'selection':_0x36309d};this[_0x496e8e(0x15b)][_0x496e8e(0x288)](_0x381b00);}}var _0x3938c2=Object[_0x19a859(0x385)],_0x849b3d=(_0x1afe1d,_0x76b9cd,_0x492c1f,_0x2b1701)=>{const _0x2af25b=_0x19a859;for(var _0x2b7afc=_0x2b1701>0x1?void 0x0:_0x2b1701?_0x3938c2(_0x76b9cd,_0x492c1f):_0x76b9cd,_0x4ec48c=_0x1afe1d[_0x2af25b(0x344)]-0x1,_0x1d9941;_0x4ec48c>=0x0;_0x4ec48c--)(_0x1d9941=_0x1afe1d[_0x4ec48c])&&(_0x2b7afc=_0x1d9941(_0x2b7afc)||_0x2b7afc);return _0x2b7afc;},_0x2a899b=(_0x238f93,_0x34e166)=>(_0x3f8c9a,_0x3525cc)=>_0x34e166(_0x3f8c9a,_0x3525cc,_0x238f93);const _0x4d5d64=0x12c,_0x303001=0x64;let _0x5964e0=class extends _0x5bf9c6[_0x19a859(0x339)]{constructor(_0x154aa6,_0x42af39,_0x3e8b09,_0x1d1159,_0xf2fb4c,_0x5d0b8d,_0x3f75ad,_0x185cbe,_0x473101){const _0x201cb9=_0x19a859;super(),_0x521fa5(this,_0x201cb9(0x342),!0x1),_0x521fa5(this,_0x201cb9(0x187),!0x1),_0x521fa5(this,'_cursorInfo$',new _0x496cb2[(_0x201cb9(0x3a5))](new Map())),_0x521fa5(this,'cursorInfo$',this[_0x201cb9(0x185)][_0x201cb9(0x1bf)]()),_0x521fa5(this,_0x201cb9(0x28d),new _0x496cb2[(_0x201cb9(0x3a5))]([])),_0x521fa5(this,_0x201cb9(0x299),this[_0x201cb9(0x28d)][_0x201cb9(0x38f)](_0x496cb2[_0x201cb9(0x392)](_0x4d5d64))),_0x521fa5(this,_0x201cb9(0x393),_0x5bf9c6['debounce'](_0x303954=>{const _0x2ac2=_0x201cb9,_0x54efd5={'eventID':_0x4e6003[_0x2ac2(0x270)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x2ac2(0x312)][_0x2ac2(0x2d0)](),'selection':_0x23dcc3(_0x303954)}};this['_session']['send'](_0x54efd5,this['unitID']);},_0x303001)),(this[_0x201cb9(0x1db)]=_0x154aa6,this[_0x201cb9(0x312)]=_0x42af39,this[_0x201cb9(0x380)]=_0x3e8b09,this[_0x201cb9(0x167)]=_0x1d1159,this['_memberService']=_0xf2fb4c,this[_0x201cb9(0x361)]=_0x5d0b8d,this['_transformService']=_0x3f75ad,this[_0x201cb9(0x315)]=_0x185cbe,this['_commandService']=_0x473101);}get['cursorInfo'](){const _0x271864=_0x19a859;return this[_0x271864(0x185)][_0x271864(0x2c1)]();}get[_0x19a859(0x340)](){return this['_roomMembers$']['getValue']();}[_0x19a859(0x27b)](){const _0x4a48ad=_0x19a859;super['dispose'](),this['_cursorInfo$'][_0x4a48ad(0x288)](new Map()),this[_0x4a48ad(0x185)][_0x4a48ad(0x2e9)](),this[_0x4a48ad(0x28d)][_0x4a48ad(0x288)]([]),this['_roomMembers$'][_0x4a48ad(0x2e9)]();}[_0x19a859(0x19c)](){const _0x5ae5ef=_0x19a859;this[_0x5ae5ef(0x187)]||(this[_0x5ae5ef(0x187)]=!0x0,this[_0x5ae5ef(0x312)][_0x5ae5ef(0x1d2)][_0x5ae5ef(0x38f)](_0x496cb2['takeUntil'](this['dispose$']))[_0x5ae5ef(0x28a)](_0x586ecd=>{const _0x3733b9=_0x5ae5ef;_0x586ecd===_0x2c72d0[_0x3733b9(0x18b)][_0x3733b9(0x318)]?this[_0x3733b9(0x1af)]():this['_toggleOffline']();}),this['_session'][_0x5ae5ef(0x216)][_0x5ae5ef(0x38f)](_0x496cb2[_0x5ae5ef(0x130)](this[_0x5ae5ef(0x198)]))[_0x5ae5ef(0x28a)](_0x131d9d=>{const _0x48529f=_0x5ae5ef,_0x3c92f5=_0x131d9d[_0x48529f(0x214)];_0x3c92f5===_0x4e6003[_0x48529f(0x270)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x131d9d),_0x3c92f5===_0x4e6003[_0x48529f(0x270)][_0x48529f(0x354)]&&this[_0x48529f(0x2e6)](_0x131d9d);}),this[_0x5ae5ef(0x305)](this[_0x5ae5ef(0x1d4)][_0x5ae5ef(0x266)](_0x121ad0=>{const _0x51bb92=_0x5ae5ef,_0x1af7ca=_0x121ad0[_0x51bb92(0x316)];_0x1af7ca!=null&&this['_online']&&_0x121ad0['id']===_0x50e692[_0x51bb92(0x239)]['id']&&_0x1af7ca[_0x51bb92(0x2ab)]===this[_0x51bb92(0x1db)]&&_0x1af7ca[_0x51bb92(0x25c)]===!0x1&&_0x1af7ca['ranges'][_0x51bb92(0x344)]>0x0&&this[_0x51bb92(0x393)](_0x1af7ca['ranges']);})),this[_0x5ae5ef(0x361)][_0x5ae5ef(0x16a)][_0x5ae5ef(0x38f)](_0x496cb2[_0x5ae5ef(0x130)](this[_0x5ae5ef(0x198)]))[_0x5ae5ef(0x28a)](_0x45ba50=>{const _0x50a8a7=_0x5ae5ef;if((_0x45ba50==null?void 0x0:_0x45ba50[_0x50a8a7(0x1db)])!==this[_0x50a8a7(0x1db)])return;const _0x2324a8={'eventID':_0x4e6003[_0x50a8a7(0x270)]['UPDATE_CURSOR'],'data':_0x45ba50};this[_0x50a8a7(0x30d)](_0x2324a8);}),this[_0x5ae5ef(0x305)](this[_0x5ae5ef(0x1d4)][_0x5ae5ef(0x266)](_0x4fb321=>{const _0x3fa9de=_0x5ae5ef;if(_0x4fb321[_0x3fa9de(0x316)]==null)return;const _0x2191d3=_0x4fb321[_0x3fa9de(0x316)];if(_0x4fb321['id']!==_0x50e692[_0x3fa9de(0x218)]['id']||_0x2191d3[_0x3fa9de(0x2ab)]!==this[_0x3fa9de(0x1db)])return;const _0x10a874={'id':_0x3fa9de(0x36a),'params':_0x2191d3},_0xaed740=this[_0x3fa9de(0x193)];for(const [_0x3dd706,_0x30d2d4]of _0xaed740){const _0x384d02={'id':_0x3fa9de(0x36a),'params':{'unitId':this[_0x3fa9de(0x1db)],'actions':null,'textRanges':_0x30d2d4['ranges']}},_0x3b47a0=this[_0x3fa9de(0x197)]['transformMutation'](_0x10a874,_0x384d02,!0x1);if(_0x4e6003[_0x3fa9de(0x38c)](_0x3b47a0))throw _0x3b47a0['error'];_0xaed740[_0x3fa9de(0x17d)](_0x3dd706,{..._0x30d2d4,'ranges':_0x3b47a0[_0x3fa9de(0x178)][_0x3fa9de(0x316)][_0x3fa9de(0x195)]});}queueMicrotask(()=>{const _0x2cb3b5=_0x3fa9de;this[_0x2cb3b5(0x185)][_0x2cb3b5(0x288)](_0xaed740);});})));}[_0x19a859(0x30d)](_0x24bde9){const _0xe0c9d0=_0x19a859;var _0xbd7078,_0x24e7c9;const {memberID:_0x334155,selection:_0x8c4b7}=_0x24bde9['data'],_0x3516b2=_0xe496a5(_0x8c4b7),_0x5021eb=(_0x24e7c9=(_0xbd7078=this[_0xe0c9d0(0x362)]['getMember'](this['unitID'],_0x334155))==null?void 0x0:_0xbd7078[_0xe0c9d0(0x33f)])!=null?_0x24e7c9:_0xe0c9d0(0x251),_0x19f57c={'color':this[_0xe0c9d0(0x167)][_0xe0c9d0(0x350)](_0x334155),'name':_0x5021eb,'ranges':_0x3516b2},_0x4d5af5=this[_0xe0c9d0(0x193)];_0x4d5af5[_0xe0c9d0(0x17d)](_0x334155,_0x19f57c),this[_0xe0c9d0(0x185)][_0xe0c9d0(0x288)](_0x4d5af5);}[_0x19a859(0x2e6)](_0x4e7e2b){const _0x48f2cc=_0x19a859,{memberID:_0x26db54}=_0x4e7e2b[_0x48f2cc(0x171)],_0x565d0d=this['cursorInfo'];_0x565d0d[_0x48f2cc(0x227)](_0x26db54),this[_0x48f2cc(0x185)]['next'](_0x565d0d);}['_toggleOnline'](){const _0x405a79=_0x19a859;var _0x3bfbb6;if(this['_online']=!0x0,((_0x3bfbb6=this[_0x405a79(0x315)][_0x405a79(0x280)]())==null?void 0x0:_0x3bfbb6['getUnitId']())!==this['unitID'])return;const _0x42aef5=this[_0x405a79(0x380)][_0x405a79(0x223)](_0x50e692['DocSelectionManagerService'])[_0x405a79(0x273)]();Array[_0x405a79(0x1dc)](_0x42aef5)&&_0x42aef5['length']>0x0&&this['_updateLocalCursor'](_0x42aef5);}[_0x19a859(0x224)](){const _0x2acc7e=_0x19a859;this[_0x2acc7e(0x342)]=!0x1;}};_0x5964e0=_0x849b3d([_0x2a899b(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x2a899b(0x3,_0x5bf9c6[_0x19a859(0x116)](_0x30d5cc)),_0x2a899b(0x4,_0x5bf9c6[_0x19a859(0x116)](_0x2c72d0[_0x19a859(0x1a7)])),_0x2a899b(0x5,_0x5bf9c6[_0x19a859(0x116)](_0x299122)),_0x2a899b(0x6,_0x4e6003['ITransformService']),_0x2a899b(0x7,_0x5bf9c6[_0x19a859(0x2f7)]),_0x2a899b(0x8,_0x5bf9c6[_0x19a859(0x37a)])],_0x5964e0);var _0x24604c=Object[_0x19a859(0x385)],_0x11def2=(_0x2e454a,_0x4f5bc7,_0xbbe697,_0x522941)=>{for(var _0x2d2fd7=_0x522941>0x1?void 0x0:_0x522941?_0x24604c(_0x4f5bc7,_0xbbe697):_0x4f5bc7,_0x43b25c=_0x2e454a['length']-0x1,_0x23d25f;_0x43b25c>=0x0;_0x43b25c--)(_0x23d25f=_0x2e454a[_0x43b25c])&&(_0x2d2fd7=_0x23d25f(_0x2d2fd7)||_0x2d2fd7);return _0x2d2fd7;},_0x205450=(_0x4401a1,_0x430eec)=>(_0x19f891,_0x1e6a93)=>_0x430eec(_0x19f891,_0x1e6a93,_0x4401a1);const _0x51b22d=0x12c,_0x599b02=0x64,_0x533af3=()=>{let _0x193331=[],_0x5813a4=!0x1;return _0x2f929f=>{_0x193331['push'](_0x2f929f),_0x5813a4||(_0x5813a4=!0x0,setTimeout(()=>{_0x193331['forEach'](_0x4b475c=>_0x4b475c()),_0x193331=[],_0x5813a4=!0x1;}));};};let _0x23df67=class extends _0x5bf9c6[_0x19a859(0x339)]{constructor(_0x537362,_0x1574dd,_0x193057,_0x32e698,_0x2a8b59,_0x39bcfe,_0x429fa8,_0x4828bb){const _0x5c4125=_0x19a859;super(),_0x521fa5(this,_0x5c4125(0x342),!0x1),_0x521fa5(this,_0x5c4125(0x187),!0x1),_0x521fa5(this,'_cursorInfo$',new _0x496cb2[(_0x5c4125(0x3a5))](new Map())),_0x521fa5(this,'cursorInfo$',this[_0x5c4125(0x185)][_0x5c4125(0x1bf)]()),_0x521fa5(this,_0x5c4125(0x28d),new _0x496cb2[(_0x5c4125(0x3a5))]([])),_0x521fa5(this,_0x5c4125(0x299),this[_0x5c4125(0x28d)]['pipe'](_0x496cb2[_0x5c4125(0x392)](_0x51b22d))),_0x521fa5(this,'_updateLocalCursor',_0x5bf9c6[_0x5c4125(0x372)]((_0x51b194,_0x5c5f7b)=>{const _0x2de5da=_0x5c4125,_0x2da884={'eventID':_0x4e6003[_0x2de5da(0x270)][_0x2de5da(0x1ea)],'data':{'unitID':this[_0x2de5da(0x1db)],'memberID':this[_0x2de5da(0x312)]['getMemberID'](),'selection':_0x44be57[_0x2de5da(0x2a2)](_0x51b194,_0x5c5f7b['range'])}};this['_session'][_0x2de5da(0x191)](_0x2da884,this[_0x2de5da(0x1db)]);},_0x599b02)),(this['unitID']=_0x537362,this[_0x5c4125(0x312)]=_0x1574dd,this[_0x5c4125(0x380)]=_0x193057,this[_0x5c4125(0x167)]=_0x32e698,this['_memberService']=_0x2a8b59,this[_0x5c4125(0x315)]=_0x39bcfe,this[_0x5c4125(0x1d4)]=_0x429fa8,this[_0x5c4125(0x163)]=_0x4828bb);}get[_0x19a859(0x193)](){const _0x3cd3e9=_0x19a859;return this[_0x3cd3e9(0x185)][_0x3cd3e9(0x2c1)]();}get['roomMembers'](){const _0xc93928=_0x19a859;return this[_0xc93928(0x28d)][_0xc93928(0x2c1)]();}[_0x19a859(0x27b)](){const _0x3f4da9=_0x19a859;super[_0x3f4da9(0x27b)](),this[_0x3f4da9(0x185)][_0x3f4da9(0x288)](new Map()),this[_0x3f4da9(0x185)][_0x3f4da9(0x2e9)](),this[_0x3f4da9(0x28d)][_0x3f4da9(0x288)]([]),this[_0x3f4da9(0x28d)][_0x3f4da9(0x2e9)]();}[_0x19a859(0x19c)](){const _0x59200d=_0x19a859;this[_0x59200d(0x187)]||(this[_0x59200d(0x187)]=!0x0,this[_0x59200d(0x312)]['sessionStatus$'][_0x59200d(0x38f)](_0x496cb2[_0x59200d(0x130)](this[_0x59200d(0x198)]))['subscribe'](_0x5af3d4=>{const _0x4361ae=_0x59200d;_0x5af3d4===_0x2c72d0[_0x4361ae(0x18b)]['ONLINE']?this[_0x4361ae(0x1af)]():this[_0x4361ae(0x224)]();}),this[_0x59200d(0x312)]['event$']['pipe'](_0x496cb2[_0x59200d(0x130)](this[_0x59200d(0x198)]))[_0x59200d(0x28a)](_0x4db848=>{const _0x20fb85=_0x59200d,_0x1f6c75=_0x4db848[_0x20fb85(0x214)];_0x1f6c75===_0x4e6003[_0x20fb85(0x270)][_0x20fb85(0x1ea)]&&this[_0x20fb85(0x30d)](_0x4db848),_0x1f6c75===_0x4e6003[_0x20fb85(0x270)][_0x20fb85(0x354)]&&this[_0x20fb85(0x2e6)](_0x4db848);}),this[_0x59200d(0x351)](),this[_0x59200d(0x305)](this[_0x59200d(0x1d4)][_0x59200d(0x266)](_0x19f456=>{const _0xd53508=_0x59200d;if(this[_0xd53508(0x342)]&&_0x19f456['id']===_0x4fd62b[_0xd53508(0x1ba)]['id']&&_0x19f456['params'][_0xd53508(0x2ab)]===this['unitID']){const _0x48ab9f=_0x19f456[_0xd53508(0x316)];this[_0xd53508(0x393)](_0x48ab9f[_0xd53508(0x12f)],_0x48ab9f[_0xd53508(0x2b6)][0x0]);}})));}[_0x19a859(0x30d)](_0x5a153e){const _0x2944fd=_0x19a859;var _0x5187d8,_0xc4a36;const {memberID:_0x2210f7,selection:_0x4a6b47}=_0x5a153e[_0x2944fd(0x171)],{sheetName:_0x586b8d,range:_0x4b3dc4}=_0x44be57[_0x2944fd(0x155)](_0x4a6b47),_0x4b1fd0={'name':(_0xc4a36=(_0x5187d8=this['_memberService'][_0x2944fd(0x200)](this[_0x2944fd(0x1db)],_0x2210f7))==null?void 0x0:_0x5187d8[_0x2944fd(0x33f)])!=null?_0xc4a36:_0x2944fd(0x251),'range':this[_0x2944fd(0x27a)](_0x586b8d,_0x4b3dc4),'sheetID':_0x586b8d,'color':this[_0x2944fd(0x167)][_0x2944fd(0x350)](_0x2210f7),'selection':_0x4a6b47},_0x196620=this[_0x2944fd(0x193)];_0x196620[_0x2944fd(0x17d)](_0x2210f7,_0x4b1fd0),this[_0x2944fd(0x185)][_0x2944fd(0x288)](_0x196620);}['_onCursorDelete'](_0x4e5435){const _0x5823b8=_0x19a859,{memberID:_0x55d3d5}=_0x4e5435[_0x5823b8(0x171)],_0x46d4ae=this[_0x5823b8(0x193)];_0x46d4ae[_0x5823b8(0x227)](_0x55d3d5),this['_cursorInfo$'][_0x5823b8(0x288)](_0x46d4ae);}[_0x19a859(0x27a)](_0x9b2206,_0x3ff7c7){const _0x4d7aea=_0x19a859;var _0x3e0047,_0x23f714;const _0x531aad=(_0x23f714=(_0x3e0047=this[_0x4d7aea(0x315)][_0x4d7aea(0x1cf)](this[_0x4d7aea(0x1db)]))==null?void 0x0:_0x3e0047['getSheetBySheetId'](_0x9b2206))==null?void 0x0:_0x23f714[_0x4d7aea(0x384)]();return(_0x531aad==null?void 0x0:_0x531aad[_0x4d7aea(0x347)](_0x8aa37f=>_0x5bf9c6[_0x4d7aea(0x32a)]['contains'](_0x8aa37f,_0x3ff7c7)))||_0x3ff7c7;}[_0x19a859(0x351)](){const _0x7370f0=_0x19a859,_0x598635=new _0x5bf9c6[(_0x7370f0(0x237))](),_0x449f23=_0x533af3(),_0x431b10=()=>{const _0x6f86f9=_0x7370f0;_0x598635[_0x6f86f9(0x27b)]();const _0x494859=(_0xce6ecc,_0x3804bc,_0x511acb,_0xb4eda4)=>{const _0x395991=_0x6f86f9;let _0x3de434=[];switch(_0xce6ecc['id']){case _0x4fd62b[_0x395991(0x26a)]['DeleteRangeMoveLeftCommandId']:{_0x3de434=_0x4fd62b[_0x395991(0x2b5)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b['EffectRefRangId'][_0x395991(0x260)]:{_0x3de434=_0x4fd62b[_0x395991(0x324)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b[_0x395991(0x26a)][_0x395991(0x263)]:{_0x3de434=_0x4fd62b[_0x395991(0x25e)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b[_0x395991(0x26a)]['InsertRangeMoveDownCommandId']:{_0x3de434=_0x4fd62b[_0x395991(0x138)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b['EffectRefRangId'][_0x395991(0x272)]:{_0x3de434=_0x4fd62b['handleInsertRangeMoveRight'](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b['EffectRefRangId'][_0x395991(0x244)]:{_0x3de434=_0x4fd62b[_0x395991(0x127)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b[_0x395991(0x26a)][_0x395991(0x189)]:{_0x3de434=_0x4fd62b[_0x395991(0x1f2)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b['EffectRefRangId']['RemoveColCommandId']:{_0x3de434=_0x4fd62b[_0x395991(0x1ca)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b['EffectRefRangId'][_0x395991(0x2f4)]:{_0x3de434=_0x4fd62b['handleIRemoveRow'](_0xce6ecc,_0xb4eda4);break;}}const _0x159ce4=_0x4fd62b[_0x395991(0x2fc)](_0x3de434,_0xb4eda4),_0x5e6ff2=this['cursorInfo']['get'](_0x3804bc);if(_0x5e6ff2&&_0x159ce4){const _0x25a10d={..._0x5e6ff2,'range':_0x159ce4};this['cursorInfo'][_0x395991(0x17d)](_0x3804bc,_0x25a10d),_0x449f23(()=>{const _0x3bf221=_0x395991,_0x41fe93=this[_0x3bf221(0x163)][_0x3bf221(0x12a)](_0x159ce4,_0x3ae31a=>(_0x41fe93['dispose'](),_0x494859(_0x3ae31a,_0x3804bc,_0x511acb,_0x159ce4)));_0x598635[_0x3bf221(0x2e0)](_0x41fe93);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x6f86f9(0x139)]((_0x99bc8b,_0x137ab6)=>{const _0xb6e164=_0x6f86f9,{range:_0x218167,sheetID:_0x2e82ba}=_0x99bc8b,_0x5a9198=this['_refRangeService'][_0xb6e164(0x12a)](_0x218167,_0x34d702=>(_0x5a9198['dispose'](),_0x494859(_0x34d702,_0x137ab6,_0x2e82ba,_0x218167)));_0x598635[_0xb6e164(0x2e0)](_0x5a9198);});};this[_0x7370f0(0x305)](_0x5bf9c6[_0x7370f0(0x202)](this[_0x7370f0(0x185)]['subscribe'](()=>{_0x431b10();})));}[_0x19a859(0x1af)](){const _0x2da4fb=_0x19a859;var _0x41907f,_0x1adcfb;if(this[_0x2da4fb(0x342)]=!0x0,((_0x41907f=this['_univerInstanceService'][_0x2da4fb(0x280)]())==null?void 0x0:_0x41907f[_0x2da4fb(0x1b2)]())!==this[_0x2da4fb(0x1db)])return;const _0x1a41c9=(_0x1adcfb=this[_0x2da4fb(0x380)][_0x2da4fb(0x223)](_0x4fd62b[_0x2da4fb(0x210)])[_0x2da4fb(0x2ba)]())==null?void 0x0:_0x1adcfb[0x0],_0x32983a=this[_0x2da4fb(0x315)]['getCurrentUnitForType'](_0x5bf9c6['UniverInstanceType'][_0x2da4fb(0x34f)])[_0x2da4fb(0x345)]();_0x1a41c9&&_0x32983a&&this[_0x2da4fb(0x393)](_0x32983a[_0x2da4fb(0x327)](),_0x1a41c9);}['_toggleOffline'](){this['_online']=!0x1;}};_0x23df67=_0x11def2([_0x205450(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x205450(0x3,_0x5bf9c6['Inject'](_0x30d5cc)),_0x205450(0x4,_0x5bf9c6['Inject'](_0x2c72d0[_0x19a859(0x1a7)])),_0x205450(0x5,_0x5bf9c6[_0x19a859(0x2f7)]),_0x205450(0x6,_0x5bf9c6[_0x19a859(0x37a)]),_0x205450(0x7,_0x5bf9c6['Inject'](_0x4fd62b[_0x19a859(0x343)]))],_0x23df67);var _0x480e65=Object['getOwnPropertyDescriptor'],_0x458e4a=(_0x193a6f,_0x5198fa,_0x185d7a,_0x58c54e)=>{const _0x37f96c=_0x19a859;for(var _0x4267fe=_0x58c54e>0x1?void 0x0:_0x58c54e?_0x480e65(_0x5198fa,_0x185d7a):_0x5198fa,_0x323af7=_0x193a6f[_0x37f96c(0x344)]-0x1,_0x28f97f;_0x323af7>=0x0;_0x323af7--)(_0x28f97f=_0x193a6f[_0x323af7])&&(_0x4267fe=_0x28f97f(_0x4267fe)||_0x4267fe);return _0x4267fe;},_0x1388d5=(_0x201f34,_0x3e5dea)=>(_0x5bfba3,_0x4ef656)=>_0x3e5dea(_0x5bfba3,_0x4ef656,_0x201f34);let _0x3097e7=class extends _0x5bf9c6[_0x19a859(0x339)]{constructor(_0x53c2de,_0x133e1a,_0x2749dd){const _0x2f4808=_0x19a859;super(),_0x521fa5(this,'_entities',new Map()),_0x521fa5(this,'_entityInit$',new _0x496cb2[(_0x2f4808(0x1aa))]()),(this['_univerInstanceService']=_0x53c2de,this[_0x2f4808(0x380)]=_0x133e1a,this['_collabSessionService']=_0x2749dd,this[_0x2f4808(0x187)]());}[_0x19a859(0x27b)](){const _0x23cbcc=_0x19a859;super[_0x23cbcc(0x27b)](),this['_entityInit$']['complete'](),this[_0x23cbcc(0x2d1)][_0x23cbcc(0x139)](_0x52065e=>_0x52065e[_0x23cbcc(0x27b)]());}[_0x19a859(0x261)](_0x113506){const _0x32db63=_0x19a859;return this[_0x32db63(0x2d1)][_0x32db63(0x2b8)](_0x113506)?this[_0x32db63(0x2d1)]['get'](_0x113506)[_0x32db63(0x2ef)]:this[_0x32db63(0x2c8)][_0x32db63(0x38f)](_0x496cb2['filter'](_0x569bbe=>_0x569bbe[_0x32db63(0x1db)]===_0x113506),_0x496cb2[_0x32db63(0x2e3)](_0x2f2b75=>_0x2f2b75[_0x32db63(0x2ef)]));}[_0x19a859(0x187)](){const _0x1b930a=_0x19a859;this['_univerInstanceService'][_0x1b930a(0x14a)](_0x5bf9c6[_0x1b930a(0x2cb)][_0x1b930a(0x34f)])[_0x1b930a(0x38f)](_0x496cb2['takeUntil'](this[_0x1b930a(0x198)]))[_0x1b930a(0x28a)](async _0x3aa261=>{const _0x123bd2=_0x1b930a,_0x35afe8=_0x3aa261[_0x123bd2(0x1b2)](),_0x4e718f=await this['_startSheetCollabCursor'](_0x35afe8);this[_0x123bd2(0x2c8)]['next'](_0x4e718f),this[_0x123bd2(0x2d1)][_0x123bd2(0x17d)](_0x35afe8,_0x4e718f);}),this[_0x1b930a(0x315)][_0x1b930a(0x14a)](_0x5bf9c6[_0x1b930a(0x2cb)][_0x1b930a(0x25f)])['pipe'](_0x496cb2['takeUntil'](this[_0x1b930a(0x198)]))[_0x1b930a(0x38f)](_0x496cb2['filter'](_0x4ae148=>!_0x4ae148[_0x1b930a(0x1b2)]()[_0x1b930a(0x2c6)]('__')))[_0x1b930a(0x28a)](async _0x5ff80=>{const _0x1594ac=_0x1b930a,_0x54c66b=_0x5ff80['getUnitId'](),_0x43be6e=await this[_0x1594ac(0x39d)](_0x54c66b);this[_0x1594ac(0x2c8)][_0x1594ac(0x288)](_0x43be6e),this[_0x1594ac(0x2d1)]['set'](_0x54c66b,_0x43be6e);}),_0x496cb2[_0x1b930a(0x1f4)](this[_0x1b930a(0x315)][_0x1b930a(0x2f3)](_0x5bf9c6[_0x1b930a(0x2cb)][_0x1b930a(0x25f)]),this[_0x1b930a(0x315)][_0x1b930a(0x2f3)](_0x5bf9c6[_0x1b930a(0x2cb)][_0x1b930a(0x34f)]))['pipe'](_0x496cb2[_0x1b930a(0x130)](this[_0x1b930a(0x198)]))[_0x1b930a(0x28a)](_0xbd45db=>{const _0x1518dd=_0x1b930a,_0x233d41=_0xbd45db[_0x1518dd(0x1b2)](),_0x5339ae=this[_0x1518dd(0x2d1)][_0x1518dd(0x223)](_0x233d41);_0x5339ae&&(_0x5339ae['dispose'](),this[_0x1518dd(0x2d1)][_0x1518dd(0x227)](_0x233d41));});}async[_0x19a859(0x1df)](_0x20ab0c){const _0x58119c=_0x19a859,_0x5c85e1=await this['_collabSessionService'][_0x58119c(0x2bf)](_0x20ab0c),_0x1ed500=this['_injector'][_0x58119c(0x140)](_0x23df67,_0x20ab0c,_0x5c85e1);return _0x1ed500[_0x58119c(0x19c)](),_0x1ed500;}async[_0x19a859(0x39d)](_0x1664d8){const _0x366fb5=_0x19a859,_0x472f10=await this[_0x366fb5(0x122)][_0x366fb5(0x2bf)](_0x1664d8),_0x2b31ed=this['_injector'][_0x366fb5(0x140)](_0x5964e0,_0x1664d8,_0x472f10);return _0x2b31ed['init'](),_0x2b31ed;}};_0x3097e7=_0x458e4a([_0x1388d5(0x0,_0x5bf9c6[_0x19a859(0x2f7)]),_0x1388d5(0x1,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x1388d5(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x2c72d0[_0x19a859(0x228)]))],_0x3097e7);const _0x41ef4a=0x14,_0x4ea8bc=0xc8,_0x3efecc=0x4,_0x54ed1d=0x5;function _0x2377a1(_0x1385a6,_0x1fe553){const _0x29f10d=_0x19a859;let {radius:_0x570111,width:_0x297ed6,height:_0x428799}=_0x1fe553;_0x570111=_0x570111!=null?_0x570111:0x0,_0x297ed6=_0x297ed6!=null?_0x297ed6:0x1e,_0x428799=_0x428799!=null?_0x428799:0x1e;let _0x174b93=0x0,_0x5bac9d=0x0,_0x473893=0x0;_0x174b93=_0x5bac9d=_0x473893=Math[_0x29f10d(0x31f)](_0x570111,_0x297ed6/0x2,_0x428799/0x2),_0x1385a6['beginPath'](),_0x1385a6[_0x29f10d(0x136)](_0x174b93,0x0),_0x1385a6[_0x29f10d(0x314)](_0x297ed6-_0x5bac9d,0x0),_0x1385a6[_0x29f10d(0x2a5)](_0x297ed6-_0x5bac9d,_0x5bac9d,_0x5bac9d,Math['PI']*0x3/0x2,0x0,!0x1),_0x1385a6[_0x29f10d(0x314)](_0x297ed6,_0x428799-_0x473893),_0x1385a6['arc'](_0x297ed6-_0x473893,_0x428799-_0x473893,_0x473893,0x0,Math['PI']/0x2,!0x1),_0x1385a6[_0x29f10d(0x314)](0x0,_0x428799),_0x1385a6['lineTo'](0x0,_0x174b93),_0x1385a6[_0x29f10d(0x2a5)](_0x174b93,_0x174b93,_0x174b93,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1385a6[_0x29f10d(0x1e5)](),_0x1fe553[_0x29f10d(0x2df)]&&(_0x1385a6[_0x29f10d(0x1e9)](),_0x1385a6[_0x29f10d(0x129)]=_0x1fe553['fill'],_0x1fe553['fillRule']===_0x29f10d(0x19d)?_0x1385a6[_0x29f10d(0x2df)](_0x29f10d(0x19d)):_0x1385a6[_0x29f10d(0x2df)](),_0x1385a6['restore']());}class _0x1c1073 extends _0x5d1039[_0x19a859(0x1fe)]{constructor(_0x4d6775,_0x5cc842){const _0x1f79ac=_0x19a859;super(_0x4d6775,_0x5cc842),_0x521fa5(this,_0x1f79ac(0x166)),_0x521fa5(this,'text'),(this[_0x1f79ac(0x166)]=_0x5cc842==null?void 0x0:_0x5cc842[_0x1f79ac(0x166)],this[_0x1f79ac(0x39b)]=_0x5cc842==null?void 0x0:_0x5cc842[_0x1f79ac(0x39b)]);}static[_0x19a859(0x22a)](_0x31e298,_0x13d3af){const _0x9682b7=_0x19a859,{text:_0x18cb03,color:_0x4963d2}=_0x13d3af;_0x31e298['save'](),_0x31e298[_0x9682b7(0x247)]=_0x9682b7(0x21d);const _0x31bccf=_0x31e298['measureText'](_0x18cb03)[_0x9682b7(0x15a)],_0x49e92a=Math[_0x9682b7(0x31f)](_0x31bccf+0x2*_0x3efecc,_0x4ea8bc);_0x2377a1(_0x31e298,{'height':_0x41ef4a,'radius':0x4,'width':_0x49e92a,'fill':_0x4963d2}),_0x31e298['fillStyle']='#FFF';const _0x5170ed=_0x3efecc,_0x28ac4f=_0x41ef4a-_0x54ed1d,_0x41761c=_0x4ea8bc-0x2*_0x3efecc;if(_0x31bccf>_0x41761c){let _0x34488e='',_0x265153=0x0;for(const _0x7e6e90 of _0x18cb03){const _0x52fa99=_0x31e298[_0x9682b7(0x19a)](_0x7e6e90)[_0x9682b7(0x15a)];if(_0x265153+_0x52fa99<=_0x41761c-_0x31e298['measureText']('...')[_0x9682b7(0x15a)])_0x34488e+=_0x7e6e90,_0x265153+=_0x52fa99;else{_0x34488e+=_0x9682b7(0x2d3);break;}}_0x31e298[_0x9682b7(0x250)](_0x34488e,_0x5170ed,_0x28ac4f);}else _0x31e298['fillText'](_0x18cb03,_0x5170ed,_0x28ac4f);_0x31e298['restore']();}['_draw'](_0x4fbff5){_0x1c1073['drawWith'](_0x4fbff5,this);}}const _0x1b5ccb=_0x19a859(0x161),_0x59c981=_0x19a859(0x175),_0x3dbb14=_0x19a859(0x31b),_0x17ae26=0x6,_0x36f5cf=1.5,_0xcb5651=0x4,_0x576fab=1.5,_0x187490='rgba(255,\x20255,\x20255,\x200.01)';class _0x4b4332{constructor(_0x3d12b7,_0x5a4e46,_0x112810,_0xb38a2a){const _0x5b21d4=_0x19a859;_0x521fa5(this,'_shapes',[]),_0x521fa5(this,_0x5b21d4(0x152),null),_0x521fa5(this,_0x5b21d4(0x1d1),null),_0x521fa5(this,_0x5b21d4(0x27f),null),_0x521fa5(this,_0x5b21d4(0x271),null),_0x521fa5(this,_0x5b21d4(0x341),null),(this[_0x5b21d4(0x29f)]=_0x3d12b7,this[_0x5b21d4(0x231)]=_0x5a4e46,this[_0x5b21d4(0x23f)]=_0x112810,this[_0x5b21d4(0x311)]=_0xb38a2a,this['_render']());}set[_0x19a859(0x2ce)](_0x2e07a0){const _0x19ec8f=_0x19a859;_0x2e07a0?(this['_anchorDot']&&this[_0x19ec8f(0x27f)][_0x19ec8f(0x254)](),this[_0x19ec8f(0x1d1)]&&this[_0x19ec8f(0x1d1)][_0x19ec8f(0x1e2)]()):(this['_anchorDot']&&this[_0x19ec8f(0x27f)]['show'](),this[_0x19ec8f(0x1d1)]&&this[_0x19ec8f(0x1d1)][_0x19ec8f(0x254)]());}[_0x19a859(0x27b)](){const _0x9a2341=_0x19a859;for(const _0x21bff0 of this[_0x9a2341(0x334)])_0x21bff0[_0x9a2341(0x27b)]();this[_0x9a2341(0x1d1)]&&this[_0x9a2341(0x1d1)][_0x9a2341(0x27b)](),this[_0x9a2341(0x27f)]&&this[_0x9a2341(0x27f)][_0x9a2341(0x27b)](),this[_0x9a2341(0x152)]&&this[_0x9a2341(0x152)][_0x9a2341(0x27b)](),this[_0x9a2341(0x341)]&&this[_0x9a2341(0x341)]();}[_0x19a859(0x23c)](){const _0x102296=_0x19a859;var _0x7aebcd;const {_docSkeleton:_0x29cce8,_document:_0x2e5ced}=this,{color:_0xc01857,name:_0x37573a,ranges:_0x5e2909}=this[_0x102296(0x29f)],_0x5c8d82=_0x2e5ced[_0x102296(0x24a)](),{docsLeft:_0x3c4b67,docsTop:_0x3063db}=_0x5c8d82,_0x3ad78b=new _0x1a8f2e[(_0x102296(0x297))](_0x5c8d82,_0x29cce8);for(const {startOffset:_0x1bb189,endOffset:_0x2dd0fb,rangeType:_0x1e51f4,segmentId:_0x5db2e9,segmentPage:_0x2973c0,collapsed:_0x43160f,isActive:_0x562d03}of _0x5e2909){const _0x2b4410=_0x29cce8[_0x102296(0x33a)](_0x1bb189,!0x0,_0x5db2e9,_0x2973c0);let _0xcec2d1=_0x29cce8[_0x102296(0x33a)](_0x2dd0fb,!0x0,_0x5db2e9,_0x2973c0);if(_0xcec2d1==null&&(_0xcec2d1=_0x29cce8[_0x102296(0x33a)](_0x2dd0fb-0x1,!0x1,_0x5db2e9,_0x2973c0)),_0x562d03){const {contentBoxPointGroup:_0xc9538f}=_0x3ad78b[_0x102296(0x398)](_0xcec2d1,_0xcec2d1);if(_0xc9538f[_0x102296(0x344)]===0x0)continue;this[_0x102296(0x35a)](_0xc01857,_0xc9538f,_0x3c4b67,_0x3063db,_0x37573a),this[_0x102296(0x341)]=this[_0x102296(0x34e)]();}if(_0x2b4410&&_0xcec2d1){if(_0x1e51f4===_0x5bf9c6[_0x102296(0x1c6)][_0x102296(0x1e8)]){const _0x4ab870=new _0x1a8f2e['NodePositionConvertToRectRange'](_0x5c8d82,_0x29cce8),{pointGroup:_0x5a52ab}=(_0x7aebcd=_0x4ab870['getRangePointData'](_0x2b4410,_0xcec2d1))!=null?_0x7aebcd:{};if(_0x5a52ab==null||_0x5a52ab['length']===0x0)continue;this['_drawRectRange'](_0xc01857,_0x5a52ab,_0x3c4b67,_0x3063db);}else{if(!_0x43160f){const {borderBoxPointGroup:_0x38722a}=_0x3ad78b[_0x102296(0x398)](_0x2b4410,_0xcec2d1);if(_0x38722a[_0x102296(0x344)]===0x0)continue;this[_0x102296(0x2bc)](_0xc01857,_0x38722a,_0x3c4b67,_0x3063db);}}}}}[_0x19a859(0x35a)](_0x4dcc25,_0x4f54f7,_0x198dbb,_0x482827,_0xf2af98){const _0x5110bd=_0x19a859,_0x571d0b=this[_0x5110bd(0x20f)](_0x4f54f7),{left:_0x5eebe0,top:_0x15331e,height:_0x42be80}=_0x571d0b,_0x52ac4e=this[_0x5110bd(0x28e)](),_0x4b225f=_0x576fab/_0x52ac4e,_0x53d035=new _0x5d1039['Rect'](_0x1b5ccb+_0x5bf9c6[_0x5110bd(0x389)]['generateRandomId'](_0x17ae26),{'left':_0x5eebe0+_0x198dbb-_0x4b225f,'top':_0x15331e+_0x482827,'height':_0x42be80,'width':_0x36f5cf,'fill':_0x4dcc25||_0x5d1039[_0x5110bd(0x317)](_0x5bf9c6[_0x5110bd(0x23a)][_0x5110bd(0x381)],0x0),'strokeWidth':_0x4b225f,'stroke':_0x187490,'evented':!0x0});this['_anchor']=_0x53d035,this['_scene'][_0x5110bd(0x34b)](_0x53d035,_0x1a8f2e[_0x5110bd(0x29b)]);const _0x1055d1=new _0x5d1039['Rect'](_0x1b5ccb+_0x5bf9c6[_0x5110bd(0x389)][_0x5110bd(0x1e0)](_0x17ae26),{'left':_0x5eebe0+_0x198dbb-_0x4b225f,'top':_0x15331e+_0x482827-_0xcb5651/0x2,'height':_0xcb5651,'width':_0xcb5651,'fill':_0x4dcc25||_0x5d1039[_0x5110bd(0x317)](_0x5bf9c6[_0x5110bd(0x23a)][_0x5110bd(0x381)],0x0),'strokeWidth':0x0,'stroke':_0x4dcc25||_0x5d1039[_0x5110bd(0x317)](_0x5bf9c6['COLORS'][_0x5110bd(0x381)],0x0),'evented':!0x1});this['_anchorDot']=_0x1055d1,this[_0x5110bd(0x231)]['addObject'](_0x1055d1,_0x1a8f2e[_0x5110bd(0x29b)]);const _0x3a4c0d=new _0x1c1073(_0x1b5ccb+_0x5bf9c6[_0x5110bd(0x389)][_0x5110bd(0x1e0)](_0x17ae26),{'left':_0x5eebe0+_0x198dbb-_0x4b225f,'top':_0x15331e+_0x482827-_0x41ef4a,'text':_0xf2af98,'color':_0x4dcc25});this[_0x5110bd(0x1d1)]=_0x3a4c0d,this[_0x5110bd(0x231)]['addObject'](_0x3a4c0d,_0x1a8f2e[_0x5110bd(0x29b)]),this['_hover']=!0x1;}[_0x19a859(0x34e)](){const _0x2de212=_0x19a859,_0x360292=this[_0x2de212(0x152)][_0x2de212(0x249)][_0x2de212(0x11b)](()=>{const _0x156aec=_0x2de212;this[_0x156aec(0x2ce)]=!0x0;}),_0x1c0c1a=this[_0x2de212(0x152)][_0x2de212(0x15f)]['subscribeEvent'](()=>{const _0x3a485c=_0x2de212;this[_0x3a485c(0x271)]&&clearTimeout(this[_0x3a485c(0x271)]),this[_0x3a485c(0x271)]=setTimeout(()=>{const _0x53a1ea=_0x3a485c;this[_0x53a1ea(0x2ce)]=!0x1;},0x7d0);});return()=>{const _0x47ab3c=_0x2de212;_0x360292[_0x47ab3c(0x18c)](),_0x1c0c1a['unsubscribe']();};}[_0x19a859(0x2bc)](_0x269199,_0x5af60c,_0x4b85f5,_0x2ef3d0){const _0x399641=_0x19a859,_0x52157b=new _0x5bf9c6[(_0x399641(0x335))](_0x269199)[_0x399641(0x1e7)](0.2)[_0x399641(0x1b8)](),_0xbeb517=new _0x5d1039[(_0x399641(0x36f))](_0x59c981+_0x5bf9c6[_0x399641(0x389)][_0x399641(0x1e0)](_0x17ae26),{'pointsGroup':_0x5af60c,'fill':_0x52157b||_0x5d1039[_0x399641(0x317)](_0x5bf9c6[_0x399641(0x23a)][_0x399641(0x381)],0.2),'left':_0x4b85f5,'top':_0x2ef3d0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x399641(0x334)][_0x399641(0x253)](_0xbeb517),this['_scene'][_0x399641(0x34b)](_0xbeb517,_0x1a8f2e[_0x399641(0x29b)]);}[_0x19a859(0x199)](_0x188a20,_0x52bbc1,_0x46a733,_0x3ac81a){const _0x3cec97=_0x19a859,_0xaff5b6=new _0x5bf9c6[(_0x3cec97(0x335))](_0x188a20)[_0x3cec97(0x1e7)](0.2)['toRgbString'](),_0x3ac5a3=new _0x5d1039[(_0x3cec97(0x36f))](_0x3dbb14+_0x5bf9c6[_0x3cec97(0x389)][_0x3cec97(0x1e0)](_0x17ae26),{'pointsGroup':_0x52bbc1,'fill':_0xaff5b6||_0x5d1039[_0x3cec97(0x317)](_0x5bf9c6[_0x3cec97(0x23a)][_0x3cec97(0x381)],0.2),'left':_0x46a733,'top':_0x3ac81a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3cec97(0x334)][_0x3cec97(0x253)](_0x3ac5a3),this[_0x3cec97(0x231)][_0x3cec97(0x34b)](_0x3ac5a3,_0x1a8f2e[_0x3cec97(0x29b)]);}[_0x19a859(0x20f)](_0x4d8d37){const _0x430fea=_0x4d8d37[0x0],_0x294cc6=_0x430fea[0x0],_0x57e516=_0x430fea[0x2],{x:_0x15bc0b,y:_0x1f8799}=_0x294cc6,{x:_0xff73f5,y:_0x149d04}=_0x57e516;return{'left':_0x15bc0b,'top':_0x1f8799,'width':_0xff73f5-_0x15bc0b,'height':_0x149d04-_0x1f8799};}[_0x19a859(0x28e)](){const _0x724456=_0x19a859,{scaleX:_0x40270c,scaleY:_0x499923}=this['_scene']['getAncestorScale']();return Math[_0x724456(0x35b)](_0x40270c,_0x499923);}}var _0x1dd39f=Object[_0x19a859(0x385)],_0x5bc22d=(_0x36e31c,_0x276ecc,_0xc9240,_0x280731)=>{const _0xe797b6=_0x19a859;for(var _0x4a382a=_0x280731>0x1?void 0x0:_0x280731?_0x1dd39f(_0x276ecc,_0xc9240):_0x276ecc,_0x52aff5=_0x36e31c[_0xe797b6(0x344)]-0x1,_0x100204;_0x52aff5>=0x0;_0x52aff5--)(_0x100204=_0x36e31c[_0x52aff5])&&(_0x4a382a=_0x100204(_0x4a382a)||_0x4a382a);return _0x4a382a;},_0x3f4a1e=(_0x42daa8,_0x4c0a64)=>(_0x1026b5,_0x16200f)=>_0x4c0a64(_0x1026b5,_0x16200f,_0x42daa8);let _0x488d8f=class extends _0x5bf9c6[_0x19a859(0x339)]{constructor(_0x235329,_0x20feab,_0x4b6ca0,_0x3fbb6c,_0x239f91){const _0x3c6340=_0x19a859;super(),_0x521fa5(this,_0x3c6340(0x19e),[]),_0x521fa5(this,_0x3c6340(0x22d),[]),(this[_0x3c6340(0x2a1)]=_0x235329,this[_0x3c6340(0x192)]=_0x20feab,this[_0x3c6340(0x2dd)]=_0x4b6ca0,this['_commandService']=_0x3fbb6c,this[_0x3c6340(0x141)]=_0x239f91,this[_0x3c6340(0x187)]());}[_0x19a859(0x187)](){const _0x1138a1=_0x19a859,_0x55b569=this[_0x1138a1(0x2a1)][_0x1138a1(0x2ab)],_0x5b6d4f=this[_0x1138a1(0x192)];this[_0x1138a1(0x305)](_0x496cb2[_0x1138a1(0x147)]([this[_0x1138a1(0x2dd)][_0x1138a1(0x261)](_0x55b569),this[_0x1138a1(0x141)]['currentTheme$']])['pipe'](_0x19b4ce[_0x1138a1(0x309)](([_0x3f24ab,_0x48ae37])=>({'skeleton':_0x5b6d4f[_0x1138a1(0x306)](),'cursors':[..._0x3f24ab[_0x1138a1(0x37d)]()]['flatMap'](_0xefb72d=>({..._0xefb72d,'color':_0x48ae37[_0xefb72d[_0x1138a1(0x166)]]}))})))['subscribe'](_0x5a5666=>{const _0x234b92=_0x1138a1;if(this['_removeCollabCursors'](),_0x5a5666){const {skeleton:_0x31111e,cursors:_0x170bf8}=_0x5a5666;this[_0x234b92(0x379)](_0x31111e,_0x170bf8);}})),this['_initResize'](),this[_0x1138a1(0x133)]();}['_updateCollabCursors'](_0x5d078f,_0x502495){const _0x479d97=_0x19a859,{scene:_0x55b530,mainComponent:_0x237dda}=this[_0x479d97(0x2a1)],_0x57c35c=_0x502495[_0x479d97(0x309)](_0x10d853=>new _0x4b4332(_0x10d853,_0x55b530,_0x5d078f,_0x237dda));this[_0x479d97(0x19e)]=_0x57c35c,this[_0x479d97(0x22d)]=_0x502495;}[_0x19a859(0x12d)](){const _0x2521f6=_0x19a859;this[_0x2521f6(0x1ff)]();const {scene:_0x42ee76,mainComponent:_0x23a228}=this[_0x2521f6(0x2a1)],_0x4a5b7d=this['_docSkeletonManagerService'][_0x2521f6(0x306)](),_0x5cb123=this[_0x2521f6(0x22d)][_0x2521f6(0x309)](_0x2b3808=>new _0x4b4332(_0x2b3808,_0x42ee76,_0x4a5b7d,_0x23a228));this[_0x2521f6(0x19e)]=_0x5cb123;}[_0x19a859(0x1ff)](){const _0x2f4fd0=_0x19a859;this[_0x2f4fd0(0x19e)][_0x2f4fd0(0x139)](_0x5194a7=>_0x5194a7['dispose']()),this[_0x2f4fd0(0x19e)]=[];}[_0x19a859(0x133)](){const _0x53b0cd=_0x19a859,_0x29a0de=[_0x1a8f2e[_0x53b0cd(0x21e)]['id']];this[_0x53b0cd(0x305)](this[_0x53b0cd(0x1d4)]['onCommandExecuted'](_0x401538=>{const _0x5ea3b6=_0x53b0cd;_0x29a0de[_0x5ea3b6(0x1b4)](_0x401538['id'])&&_0x401538[_0x5ea3b6(0x316)][_0x5ea3b6(0x2ab)]===this[_0x5ea3b6(0x2a1)][_0x5ea3b6(0x2ab)]&&this[_0x5ea3b6(0x12d)]();}));}[_0x19a859(0x1a1)](){const _0x45451a=_0x19a859;this[_0x45451a(0x305)](_0x5bf9c6['fromEventSubject'](this[_0x45451a(0x2a1)][_0x45451a(0x230)]['onTransformChange$'])[_0x45451a(0x38f)](_0x19b4ce['filter'](_0xe89bda=>_0xe89bda[_0x45451a(0x2a0)]===_0x5d1039['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x45451a(0x174)]),_0x19b4ce['throttleTime'](0x10))[_0x45451a(0x28a)](()=>{const _0x489b04=_0x45451a;this[_0x489b04(0x12d)]();}));}};_0x488d8f=_0x5bc22d([_0x3f4a1e(0x1,_0x5bf9c6[_0x19a859(0x116)](_0x50e692['DocSkeletonManagerService'])),_0x3f4a1e(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x3097e7)),_0x3f4a1e(0x3,_0x5bf9c6[_0x19a859(0x37a)]),_0x3f4a1e(0x4,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x11a)]))],_0x488d8f);const _0x3ff862=0x1,_0x17eb92=1.5;class _0x30557c extends _0x5d1039['Shape']{constructor(_0x54f77a,_0x521290){const _0x3281e9=_0x19a859;super(_0x54f77a,_0x521290),_0x521fa5(this,_0x3281e9(0x18a)),_0x521fa5(this,_0x3281e9(0x1ce),!0x1),_0x521fa5(this,'_range'),_0x521fa5(this,_0x3281e9(0x3a2),''),_0x521fa5(this,_0x3281e9(0x206),_0x3281e9(0x154)),_0x521fa5(this,_0x3281e9(0x205)),(_0x521290&&this[_0x3281e9(0x162)](_0x521290),this[_0x3281e9(0x249)]['subscribeEvent'](()=>this[_0x3281e9(0x162)]({'hovered':!0x0})),this[_0x3281e9(0x15f)]['subscribeEvent'](()=>this[_0x3281e9(0x162)]({'hovered':!0x1})));}[_0x19a859(0x162)](_0x67d751){const _0xf03078=_0x19a859;var _0x12bb96,_0x399b0d,_0x52bf94,_0xafee21,_0x2bbf05,_0x1f2738;this['_color']=(_0x12bb96=_0x67d751[_0xf03078(0x166)])!=null?_0x12bb96:this[_0xf03078(0x18a)],this[_0xf03078(0x1ce)]=(_0x399b0d=_0x67d751[_0xf03078(0x2db)])!=null?_0x399b0d:this[_0xf03078(0x1ce)],this['_range']=(_0x52bf94=_0x67d751[_0xf03078(0x399)])!=null?_0x52bf94:this[_0xf03078(0x13b)],this['_name']=(_0xafee21=_0x67d751[_0xf03078(0x33f)])!=null?_0xafee21:this[_0xf03078(0x3a2)],this[_0xf03078(0x206)]=(_0x2bbf05=_0x67d751[_0xf03078(0x36e)])!=null?_0x2bbf05:this[_0xf03078(0x206)],this[_0xf03078(0x205)]=(_0x1f2738=_0x67d751['backgroundColor'])!=null?_0x1f2738:this[_0xf03078(0x205)],this['transformByState']({'width':_0x67d751['width'],'height':_0x67d751[_0xf03078(0x386)]});}[_0x19a859(0x1e1)](_0x2aa017){const _0x4d44be=_0x19a859,{row:_0x5351f4,column:_0x3518d2}=_0x2aa017;if(_0x5351f4>=this[_0x4d44be(0x13b)]['startRow']&&_0x5351f4<=this[_0x4d44be(0x13b)]['endRow']&&_0x3518d2>=this[_0x4d44be(0x13b)][_0x4d44be(0x180)]&&_0x3518d2<=this[_0x4d44be(0x13b)]['endColumn']){this[_0x4d44be(0x162)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x19a859(0x38e)](_0x4f1b25){return!0x1;}[_0x19a859(0x11d)](_0x31d526){const _0x551df2=_0x19a859;_0x5d1039[_0x551df2(0x1cd)]['drawWith'](_0x31d526,{'width':this[_0x551df2(0x15a)],'height':this[_0x551df2(0x386)],'strokeWidth':_0x17eb92,'stroke':this[_0x551df2(0x18a)],'evented':!0x1,'fill':this[_0x551df2(0x205)]}),this[_0x551df2(0x1ce)]&&(_0x31d526['save'](),_0x31d526[_0x551df2(0x38b)](0x1,0x0,0x0,0x1,this['width'],this[_0x551df2(0x206)]===_0x551df2(0x112)?0x0:-0x14),_0x1c1073[_0x551df2(0x22a)](_0x31d526,{'text':this['_name'],'color':this[_0x551df2(0x18a)]}),_0x31d526['restore']());}}var _0x1e2088=Object[_0x19a859(0x385)],_0x15f004=(_0x46896a,_0xe63b3,_0x2b24da,_0x1516f8)=>{const _0xae0be=_0x19a859;for(var _0x59a8a1=_0x1516f8>0x1?void 0x0:_0x1516f8?_0x1e2088(_0xe63b3,_0x2b24da):_0xe63b3,_0xb0c84a=_0x46896a[_0xae0be(0x344)]-0x1,_0x129945;_0xb0c84a>=0x0;_0xb0c84a--)(_0x129945=_0x46896a[_0xb0c84a])&&(_0x59a8a1=_0x129945(_0x59a8a1)||_0x59a8a1);return _0x59a8a1;},_0x51b434=(_0x5b4db6,_0x584512)=>(_0x38b1a4,_0x30bd57)=>_0x584512(_0x38b1a4,_0x30bd57,_0x5b4db6);const _0x57a422=0x1389;let _0x9b9b90=class extends _0x5bf9c6['RxDisposable']{constructor(_0x5e0c2c,_0x527584,_0x294695,_0x3822bc){const _0x407c21=_0x19a859;super(),_0x521fa5(this,'_cursors',new Set()),_0x521fa5(this,_0x407c21(0x1f6),null),(this[_0x407c21(0x2a1)]=_0x5e0c2c,this[_0x407c21(0x26f)]=_0x527584,this[_0x407c21(0x2dd)]=_0x294695,this['_themeService']=_0x3822bc,this[_0x407c21(0x187)]());}['_init'](){const _0x18e834=_0x19a859;this[_0x18e834(0x26f)]['currentSkeleton$']['pipe'](_0x19b4ce[_0x18e834(0x130)](this[_0x18e834(0x198)]),_0x19b4ce[_0x18e834(0x2e3)](_0x204fcb=>{const _0x4fe1e7=_0x18e834;if(_0x204fcb){const _0x4359b2=_0x204fcb[_0x4fe1e7(0x348)];return _0x496cb2['combineLatest'](this[_0x4fe1e7(0x2dd)]['getCollabCursors$'](this['_context']['unitId']),this['_themeService'][_0x4fe1e7(0x186)])[_0x4fe1e7(0x38f)](_0x19b4ce['map'](([_0x429706,_0x534439])=>{const _0x14074b=_0x4fe1e7,_0x5ae039=new Map();return _0x429706[_0x14074b(0x139)]((_0x211e6e,_0x56b1ca)=>{const _0x5b2fea=_0x14074b;if(_0x211e6e[_0x5b2fea(0x3a4)]===_0x4359b2){const _0xa7ddf7={..._0x211e6e};_0xa7ddf7[_0x5b2fea(0x166)]=_0x534439[_0x211e6e['color']],_0x5ae039['set'](_0x56b1ca,_0xa7ddf7);}}),{'skeleton':_0x204fcb,'cursors':_0x5ae039};}));}return _0x496cb2['of']({'skeleton':null,'cursors':new Map()});}))[_0x18e834(0x28a)](({skeleton:_0x2310fb,cursors:_0x1055da})=>{const _0x4c8ca5=_0x18e834;this[_0x4c8ca5(0x1ff)](),_0x2310fb&&this['_updateCollabCursors'](_0x2310fb,_0x1055da);}),this[_0x18e834(0x26f)][_0x18e834(0x124)][_0x18e834(0x28a)](_0x67d540=>{const _0x35a4fa=_0x18e834;if(_0x67d540==null)return;const {skeleton:_0x480467}=_0x67d540,{scene:_0x2ad4ff}=this[_0x35a4fa(0x2a1)];_0x2ad4ff[_0x35a4fa(0x1d9)]['subscribeEvent'](_0x5bf9c6[_0x35a4fa(0x372)](_0x2ecf95=>{const _0x32df59=_0x35a4fa;var _0x1bfcc9,_0x284779;const {offsetX:_0x5cb8e4,offsetY:_0x1048a3}=_0x2ecf95,{x:_0x595489,y:_0x2f3347}=_0x2ad4ff[_0x32df59(0x293)](_0x5d1039[_0x32df59(0x148)]['FromArray']([_0x5cb8e4,_0x1048a3])),{scaleX:_0x4fd9e1,scaleY:_0xbd2a4c}=_0x2ad4ff[_0x32df59(0x363)](),_0x475017=_0x2ad4ff[_0x32df59(0x1d0)](_0x5d1039[_0x32df59(0x157)][_0x32df59(0x156)]),_0x8cbe17=_0x2ad4ff[_0x32df59(0x2c2)](_0x5d1039['Vector2'][_0x32df59(0x1f3)]([_0x595489,_0x2f3347]),_0x475017),_0x1c37a5=_0x480467[_0x32df59(0x201)](_0x5cb8e4,_0x1048a3,_0x4fd9e1,_0xbd2a4c,_0x8cbe17);((_0x1bfcc9=this[_0x32df59(0x1f6)])==null?void 0x0:_0x1bfcc9[_0x32df59(0x32c)])===_0x1c37a5['column']&&((_0x284779=this[_0x32df59(0x1f6)])==null?void 0x0:_0x284779[_0x32df59(0x1b3)])===_0x1c37a5[_0x32df59(0x1b3)]||this['_cursors'][_0x32df59(0x139)](_0x37787c=>{const _0x58fe6d=_0x32df59;_0x37787c[_0x58fe6d(0x1e1)](_0x1c37a5);});},0x64));});}['_updateCollabCursors'](_0x438d59,_0x5e8179){const _0x19fc0d=_0x19a859;var _0x720153;const _0x47b945=(_0x720153=this[_0x19fc0d(0x26f)]['getCurrent']())==null?void 0x0:_0x720153['skeleton'];if(!_0x47b945)return;const _0x488377=this[_0x19fc0d(0x2e7)]();if(!_0x488377)return;this[_0x19fc0d(0x22d)][_0x19fc0d(0x139)](_0x45ca3a=>{_0x45ca3a['makeDirty']();});const {scene:_0x38c8ef}=_0x488377,_0x259019=_0x30398d(Array[_0x19fc0d(0x145)](_0x5e8179[_0x19fc0d(0x37d)]()))['map'](_0xe7cd88=>{const _0x43ac01=_0x19fc0d,{color:_0x3d5576,range:_0xd21e,name:_0x3cfcd4,selection:_0x50fe38,sheetID:_0x5278dd}=_0xe7cd88,{startColumn:_0x2e54e2,startRow:_0x29bb3e,endColumn:_0x3afebf,endRow:_0x56a228}=_0xd21e,_0x243382=_0x45d045[_0x43ac01(0x19b)](_0x29bb3e,_0x2e54e2,_0x38c8ef,_0x47b945),_0x504ea=_0x45d045[_0x43ac01(0x19b)](_0x56a228,_0x3afebf,_0x38c8ef,_0x47b945),{columnHeaderHeightAndMarginTop:_0x152e1d}=_0x47b945,{startX:_0x298651,startY:_0x3c2314}=_0x243382,{endX:_0x1fb767,endY:_0x84c8be}=_0x504ea,_0x27e360=_0x1fb767-_0x298651,_0x194d52=_0x84c8be-_0x3c2314,_0x14138a={'labelPosition':_0x3c2314-_0x152e1d>=_0x41ef4a?_0x43ac01(0x154):_0x43ac01(0x112),'sheetID':_0x5278dd,'range':_0xd21e,'color':_0x3d5576,'name':_0x3cfcd4,'selection':_0x50fe38,'left':_0x298651,'top':_0x3c2314,'width':_0x27e360,'height':_0x194d52,'evented':!0x1,'zIndex':_0x57a422};return new _0x30557c(_0x3cfcd4,_0x14138a);});_0x38c8ef[_0x19fc0d(0x24e)](_0x259019,_0x3ff862),this[_0x19fc0d(0x22d)]=new Set(_0x259019);}[_0x19a859(0x1ff)](){const _0x500120=_0x19a859;var _0x249989;(_0x249989=this['_cursors'])==null||_0x249989[_0x500120(0x139)](_0x327ab1=>_0x327ab1[_0x500120(0x27b)]());}[_0x19a859(0x2e7)](){const _0x4f0bcd=_0x19a859;return _0x45d045[_0x4f0bcd(0x2d4)](this[_0x4f0bcd(0x2a1)][_0x4f0bcd(0x182)],this[_0x4f0bcd(0x2a1)]);}};_0x9b9b90=_0x15f004([_0x51b434(0x1,_0x5bf9c6[_0x19a859(0x116)](_0x45d045['SheetSkeletonManagerService'])),_0x51b434(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x3097e7)),_0x51b434(0x3,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x11a)]))],_0x9b9b90);function _0x30398d(_0x58c07b){const _0x343449=_0x19a859,_0x5b6003=new Map();return _0x58c07b[_0x343449(0x139)](_0xff101=>{const _0x13d37f=_0x343449;if(_0x5b6003[_0x13d37f(0x2b8)](_0xff101[_0x13d37f(0x1ef)])){const _0x1e120c=_0x5b6003[_0x13d37f(0x223)](_0xff101[_0x13d37f(0x1ef)]);_0x1e120c[_0x13d37f(0x33f)]+=',\x20'+_0xff101[_0x13d37f(0x33f)];}else _0x5b6003['set'](_0xff101['selection'],_0xff101);}),Array[_0x343449(0x145)](_0x5b6003['values']());}var _0xe4b539=function(){const _0x42dc55=_0x19a859;return _0xe4b539=Object[_0x42dc55(0x3a8)]||function(_0x577194){const _0x299730=_0x42dc55;for(var _0x47a954,_0x17a44d=0x1,_0xa0f122=arguments[_0x299730(0x344)];_0x17a44d<_0xa0f122;_0x17a44d++){_0x47a954=arguments[_0x17a44d];for(var _0x223351 in _0x47a954)Object[_0x299730(0x2eb)][_0x299730(0x2f1)]['call'](_0x47a954,_0x223351)&&(_0x577194[_0x223351]=_0x47a954[_0x223351]);}return _0x577194;},_0xe4b539['apply'](this,arguments);},_0x373af3=function(_0x473425,_0x3db273){const _0x42981b=_0x19a859;var _0x2dde9d={};for(var _0x3dd852 in _0x473425)Object[_0x42981b(0x2eb)][_0x42981b(0x2f1)][_0x42981b(0x207)](_0x473425,_0x3dd852)&&_0x3db273[_0x42981b(0x1b5)](_0x3dd852)<0x0&&(_0x2dde9d[_0x3dd852]=_0x473425[_0x3dd852]);if(_0x473425!=null&&typeof Object[_0x42981b(0x1dd)]=='function'){for(var _0x250ad6=0x0,_0x3dd852=Object[_0x42981b(0x1dd)](_0x473425);_0x250ad6<_0x3dd852['length'];_0x250ad6++)_0x3db273['indexOf'](_0x3dd852[_0x250ad6])<0x0&&Object[_0x42981b(0x2eb)][_0x42981b(0x118)]['call'](_0x473425,_0x3dd852[_0x250ad6])&&(_0x2dde9d[_0x3dd852[_0x250ad6]]=_0x473425[_0x3dd852[_0x250ad6]]);}return _0x2dde9d;},_0x4a3bf8=_0xab82b5[_0x19a859(0x35c)](function(_0x4af63d,_0x109e2f){const _0x5a4bc1=_0x19a859;var _0x1bcaea=_0x4af63d['icon'],_0x1d49d8=_0x4af63d['id'],_0x381001=_0x4af63d[_0x5a4bc1(0x1a5)],_0x21bc10=_0x4af63d[_0x5a4bc1(0x377)],_0x52b9bd=_0x373af3(_0x4af63d,[_0x5a4bc1(0x2d5),'id',_0x5a4bc1(0x1a5),'extend']),_0x488aaa='univerjs-icon\x20univerjs-icon-'[_0x5a4bc1(0x30b)](_0x1d49d8,'\x20')[_0x5a4bc1(0x30b)](_0x381001||'')[_0x5a4bc1(0x360)](),_0x49bb9d=_0xab82b5['useRef']('_'['concat'](_0x1f6ecc()));return _0x169858(_0x1bcaea,''['concat'](_0x1d49d8),{'defIds':_0x1bcaea['defIds'],'idSuffix':_0x49bb9d[_0x5a4bc1(0x2ed)]},_0xe4b539({'ref':_0x109e2f,'className':_0x488aaa},_0x52b9bd),_0x21bc10);});function _0x169858(_0x8f0dcc,_0x3de37d,_0x5139cf,_0x56cebf,_0x58a6cd){const _0x59b1b4=_0x19a859;return _0xab82b5[_0x59b1b4(0x144)](_0x8f0dcc['tag'],_0xe4b539(_0xe4b539({'key':_0x3de37d},_0x49bbd1(_0x8f0dcc,_0x5139cf,_0x58a6cd)),_0x56cebf),(_0x51a1b8(_0x8f0dcc,_0x5139cf)[_0x59b1b4(0x10f)]||[])['map'](function(_0x4c06d1,_0x3f330e){const _0x58e24d=_0x59b1b4;return _0x169858(_0x4c06d1,''[_0x58e24d(0x30b)](_0x3de37d,'-')['concat'](_0x8f0dcc[_0x58e24d(0x16b)],'-')[_0x58e24d(0x30b)](_0x3f330e),_0x5139cf,void 0x0,_0x58a6cd);}));}function _0x49bbd1(_0x280671,_0x30426e,_0x3fff50){const _0x26ffa0=_0x19a859;var _0x4cba22=_0xe4b539({},_0x280671['attrs']);_0x3fff50!=null&&_0x3fff50[_0x26ffa0(0x37b)]&&_0x4cba22[_0x26ffa0(0x2df)]===_0x26ffa0(0x37b)&&(_0x4cba22[_0x26ffa0(0x2df)]=_0x3fff50['colorChannel1']),_0x280671[_0x26ffa0(0x16b)]===_0x26ffa0(0x164)&&_0x4cba22['id']&&(_0x4cba22['id']=_0x4cba22['id']+_0x30426e[_0x26ffa0(0x23d)]),Object[_0x26ffa0(0x211)](_0x4cba22)['forEach'](function(_0x505922){const _0x1aa687=_0x26ffa0;var _0x1c520e=_0x505922[0x0],_0xf23ca9=_0x505922[0x1];_0x1c520e===_0x1aa687(0x164)&&typeof _0xf23ca9==_0x1aa687(0x208)&&(_0x4cba22[_0x1c520e]=_0xf23ca9[_0x1aa687(0x20d)](/url\(#(.*)\)/,'url(#$1'[_0x1aa687(0x30b)](_0x30426e['idSuffix'],')')));});var _0x4fb094=_0x30426e[_0x26ffa0(0x1a8)];return!_0x4fb094||_0x4fb094[_0x26ffa0(0x344)]===0x0||(_0x280671[_0x26ffa0(0x16b)]===_0x26ffa0(0x18e)&&_0x4cba22[_0x26ffa0(0x1f7)]&&(_0x4cba22[_0x26ffa0(0x1f7)]=_0x4cba22[_0x26ffa0(0x1f7)]+_0x30426e['idSuffix']),Object[_0x26ffa0(0x211)](_0x4cba22)[_0x26ffa0(0x139)](function(_0x2aeb92){const _0x164c38=_0x26ffa0;var _0x1c9538=_0x2aeb92[0x0],_0x56b980=_0x2aeb92[0x1];typeof _0x56b980=='string'&&(_0x4cba22[_0x1c9538]=_0x56b980['replace'](/url\(#(.*)\)/,_0x164c38(0x29d)[_0x164c38(0x30b)](_0x30426e[_0x164c38(0x23d)],')')));})),_0x4cba22;}function _0x51a1b8(_0x54ea60,_0x10d371){const _0x2c7bf6=_0x19a859;var _0x33358b,_0x3092bf=_0x10d371['defIds'];return!_0x3092bf||_0x3092bf[_0x2c7bf6(0x344)]===0x0?_0x54ea60:_0x54ea60[_0x2c7bf6(0x16b)]==='defs'&&(!((_0x33358b=_0x54ea60[_0x2c7bf6(0x10f)])===null||_0x33358b===void 0x0)&&_0x33358b[_0x2c7bf6(0x344)])?_0xe4b539(_0xe4b539({},_0x54ea60),{'children':_0x54ea60[_0x2c7bf6(0x10f)][_0x2c7bf6(0x309)](function(_0x44062b){const _0x29ca36=_0x2c7bf6;return typeof _0x44062b['attrs']['id']==_0x29ca36(0x208)&&_0x3092bf&&_0x3092bf[_0x29ca36(0x1b5)](_0x44062b[_0x29ca36(0x1a9)]['id'])>-0x1?_0xe4b539(_0xe4b539({},_0x44062b),{'attrs':_0xe4b539(_0xe4b539({},_0x44062b[_0x29ca36(0x1a9)]),{'id':_0x44062b[_0x29ca36(0x1a9)]['id']+_0x10d371[_0x29ca36(0x23d)]})}):_0x44062b;})}):_0x54ea60;}function _0x1f6ecc(){const _0x93bf88=_0x19a859;return Math[_0x93bf88(0x39a)]()[_0x93bf88(0x246)](0x24)[_0x93bf88(0x13f)](0x2,0x8);}_0x4a3bf8[_0x19a859(0x248)]='UniverIcon';var _0x461e80={'tag':_0x19a859(0x217),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x19a859(0x1b6),'height':_0x19a859(0x1b6)},'children':[{'tag':'g','attrs':{'clipPath':_0x19a859(0x265)},'children':[{'tag':_0x19a859(0x333),'attrs':{'stroke':_0x19a859(0x1e6),'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':_0x19a859(0x2aa),'strokeLinejoin':_0x19a859(0x2aa),'strokeWidth':1.2}}]},{'tag':_0x19a859(0x26d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x19a859(0x137)},'children':[{'tag':_0x19a859(0x333),'attrs':{'fill':_0x19a859(0x394),'d':_0x19a859(0x278)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x1f3904=_0xab82b5[_0x19a859(0x35c)](function(_0x4bc6c2,_0x37cc09){const _0x797ff1=_0x19a859;return _0xab82b5[_0x797ff1(0x144)](_0x4a3bf8,Object['assign']({},_0x4bc6c2,{'id':_0x797ff1(0x2a7),'ref':_0x37cc09,'icon':_0x461e80}));});_0x1f3904[_0x19a859(0x248)]=_0x19a859(0x2f2);var _0x47458f={'tag':_0x19a859(0x217),'attrs':{'fill':_0x19a859(0x34c),'viewBox':_0x19a859(0x2ff),'width':_0x19a859(0x1b6),'height':_0x19a859(0x1b6)},'children':[{'tag':'g','attrs':{'clipPath':_0x19a859(0x304)},'children':[{'tag':_0x19a859(0x333),'attrs':{'stroke':'currentColor','d':_0x19a859(0x2e2),'strokeLinecap':_0x19a859(0x2aa),'strokeLinejoin':_0x19a859(0x2aa),'strokeWidth':1.2}}]},{'tag':_0x19a859(0x26d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x19a859(0x278),'transform':'translate(.97)'}}]}]}],'defIds':[_0x19a859(0x219)]},_0xa5b3a3=_0xab82b5[_0x19a859(0x35c)](function(_0x1c1b65,_0x368fe6){const _0x1f2a5f=_0x19a859;return _0xab82b5['createElement'](_0x4a3bf8,Object[_0x1f2a5f(0x3a8)]({},_0x1c1b65,{'id':_0x1f2a5f(0x24d),'ref':_0x368fe6,'icon':_0x47458f}));});_0xa5b3a3[_0x19a859(0x248)]='OnLineSingle';function _0x3c4821(_0x176dbc){const _0x14b484=_0x19a859;switch(_0x176dbc){case _0x2c72d0[_0x14b484(0x13c)][_0x14b484(0x2ae)]:return _0x14b484(0x302);case _0x2c72d0[_0x14b484(0x13c)][_0x14b484(0x24b)]:return _0x14b484(0x2c0);case _0x2c72d0[_0x14b484(0x13c)][_0x14b484(0x25b)]:return'collabStatus.fetchMiss';case _0x2c72d0[_0x14b484(0x13c)]['NOT_COLLAB']:return _0x14b484(0x23e);case _0x2c72d0[_0x14b484(0x13c)][_0x14b484(0x382)]:case _0x2c72d0['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x14b484(0x15c);case _0x2c72d0[_0x14b484(0x13c)][_0x14b484(0x12b)]:case _0x2c72d0['CollaborationStatus'][_0x14b484(0x1c7)]:return _0x14b484(0x1fb);}}function _0x4957f6(_0x1be164){const _0x5c21a0=_0x19a859,{status$:_0xb366c0}=_0x1be164,_0x399ab7=_0x106fc7[_0x5c21a0(0x16f)](_0xb366c0,_0x2c72d0['CollaborationStatus'][_0x5c21a0(0x177)]),_0x2dab5c=_0x106fc7[_0x5c21a0(0x2b0)](_0x5bf9c6[_0x5c21a0(0x2d7)]),_0x12b00b=_0x106fc7['useDependency'](_0x2c72d0['CollaborationSessionService']),_0x1d9b91=_0x399ab7!==_0x2c72d0[_0x5c21a0(0x13c)][_0x5c21a0(0x2ae)],_0x554584=_0x2dab5c['t'](_0x3c4821(_0x399ab7)),_0x2b24c4=_0x1d9b91?_0x5540cf[_0x5c21a0(0x1da)](_0xa5b3a3,{}):_0x5540cf[_0x5c21a0(0x1da)](_0x1f3904,{}),_0x53714a=_0xab82b5['useCallback'](()=>{const _0x107711=_0x5c21a0;_0x1d9b91||_0x12b00b[_0x107711(0x267)]();},[_0x1d9b91,_0x12b00b]);function _0xcc1376(){const _0x5008ee=_0x5c21a0;return _0x5540cf['jsxs']('div',{'className':_0x5008ee(0x17c),'onClick':_0x53714a,'children':[_0x5540cf[_0x5008ee(0x1da)](_0x5008ee(0x149),{'className':_0x165dd1['clsx']('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x1d9b91?_0x5008ee(0x169):_0x5008ee(0x188)),'children':_0x2b24c4}),_0x5540cf['jsx'](_0x5008ee(0x149),{'className':_0x5008ee(0x2e8),'children':_0x554584})]});}return _0x1d9b91?_0xcc1376():_0x5540cf['jsx'](_0x165dd1['Tooltip'],{'title':_0x2dab5c['t'](_0x5c21a0(0x225)),'children':_0xcc1376()});}var _0x3495c3=Object[_0x19a859(0x385)],_0xaaf97b=(_0x121beb,_0x35926d,_0x43f60b,_0xba6cfe)=>{const _0x58bf15=_0x19a859;for(var _0x5eb6c1=_0xba6cfe>0x1?void 0x0:_0xba6cfe?_0x3495c3(_0x35926d,_0x43f60b):_0x35926d,_0x580bd7=_0x121beb[_0x58bf15(0x344)]-0x1,_0x20046a;_0x580bd7>=0x0;_0x580bd7--)(_0x20046a=_0x121beb[_0x580bd7])&&(_0x5eb6c1=_0x20046a(_0x5eb6c1)||_0x5eb6c1);return _0x5eb6c1;},_0x1270d0=(_0x2721cb,_0x25aefc)=>(_0x10ac6e,_0x27eafc)=>_0x25aefc(_0x10ac6e,_0x27eafc,_0x2721cb);_0x4c3250[_0x19a859(0x134)]=class extends _0x5bf9c6['Disposable']{constructor(_0x1f0946,_0x3430e0,_0x3a396a,_0xe4e9ac){const _0x43dca7=_0x19a859;super(),_0x521fa5(this,_0x43dca7(0x2af),new _0x496cb2[(_0x43dca7(0x3a5))](_0x2c72d0['CollaborationStatus'][_0x43dca7(0x177)])),(this[_0x43dca7(0x315)]=_0x1f0946,this['_injector']=_0x3430e0,this[_0x43dca7(0x14b)]=_0x3a396a,this[_0x43dca7(0x259)]=_0xe4e9ac,this[_0x43dca7(0x243)](),this[_0x43dca7(0x1f8)]());}[_0x19a859(0x1f8)](){const _0x13b49d=_0x19a859;this[_0x13b49d(0x305)](this['_univerInstanceService'][_0x13b49d(0x2bd)][_0x13b49d(0x38f)](_0x496cb2[_0x13b49d(0x2e3)](()=>{const _0x3d3fc5=_0x13b49d,_0x36dc81=this[_0x3d3fc5(0x315)][_0x3d3fc5(0x280)]();return _0x36dc81?this[_0x3d3fc5(0x14b)][_0x3d3fc5(0x28c)](_0x36dc81[_0x3d3fc5(0x1b2)]()):_0x496cb2['of'](null);}),_0x496cb2[_0x13b49d(0x2e3)](_0x7d27b8=>_0x7d27b8?_0x7d27b8[_0x13b49d(0x2be)]:_0x496cb2['of'](_0x2c72d0['CollaborationStatus']['NOT_COLLAB'])))[_0x13b49d(0x28a)](_0x7f5647=>{const _0x55e9bb=_0x13b49d;this[_0x55e9bb(0x2af)][_0x55e9bb(0x288)](_0x7f5647);}));}[_0x19a859(0x243)](){const _0x2ce3e8=_0x19a859;this[_0x2ce3e8(0x305)](this[_0x2ce3e8(0x259)][_0x2ce3e8(0x2b2)](_0x106fc7[_0x2ce3e8(0x1d3)][_0x2ce3e8(0x2d9)],()=>_0x106fc7[_0x2ce3e8(0x121)](_0x515436({'status$':this[_0x2ce3e8(0x2af)][_0x2ce3e8(0x1bf)]()}),this[_0x2ce3e8(0x380)])));}},_0x4c3250[_0x19a859(0x134)]=_0xaaf97b([_0x1270d0(0x0,_0x5bf9c6['IUniverInstanceService']),_0x1270d0(0x1,_0x5bf9c6['Inject'](_0x5bf9c6['Injector'])),_0x1270d0(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x2c72d0['CollaborationController'])),_0x1270d0(0x3,_0x106fc7[_0x19a859(0x330)])],_0x4c3250[_0x19a859(0x134)]);function _0x515436(_0x1e9eaf){const {status$:_0x4a0e34}=_0x1e9eaf;return function(){const _0x33c7b6=_0x5841;return _0x5540cf[_0x33c7b6(0x1da)](_0x4957f6,{'status$':_0x4a0e34});};}var _0x1ae155=Object[_0x19a859(0x385)],_0x1b5fc0=(_0x4eb8b1,_0x23357a,_0x112222,_0x61df19)=>{const _0x5ba927=_0x19a859;for(var _0x20dcce=_0x61df19>0x1?void 0x0:_0x61df19?_0x1ae155(_0x23357a,_0x112222):_0x23357a,_0x266b9b=_0x4eb8b1[_0x5ba927(0x344)]-0x1,_0x36bce2;_0x266b9b>=0x0;_0x266b9b--)(_0x36bce2=_0x4eb8b1[_0x266b9b])&&(_0x20dcce=_0x36bce2(_0x20dcce)||_0x20dcce);return _0x20dcce;},_0x15f855=(_0x107f41,_0x58732e)=>(_0x5300ad,_0x3e003f)=>_0x58732e(_0x5300ad,_0x3e003f,_0x107f41);let _0x461047=class extends _0x5bf9c6[_0x19a859(0x2b3)]{constructor(_0x505011,_0x165ccb,_0x4f7890,_0x5edf98,_0x33f901,_0x30aa13){const _0x42d47b=_0x19a859;super(),this[_0x42d47b(0x269)]=_0x505011,this['_localCacheService']=_0x165ccb,this[_0x42d47b(0x2c4)]=_0x4f7890,this[_0x42d47b(0x2f0)]=_0x5edf98,this['_notificationService']=_0x33f901,this[_0x42d47b(0x1ed)]=_0x30aa13,this[_0x42d47b(0x376)](),this[_0x42d47b(0x2a9)]();}[_0x19a859(0x376)](){const _0x427b75=_0x19a859;this[_0x427b75(0x305)](this[_0x427b75(0x269)]['registerBeforeClose'](()=>{const _0x518f4a=_0x427b75;if(this[_0x518f4a(0x32b)][_0x518f4a(0x353)][_0x518f4a(0x390)])return this[_0x518f4a(0x1ed)]['t'](_0x518f4a(0x26e));}));}['_initEvent'](){const _0x2f0b5f=_0x19a859;this[_0x2f0b5f(0x305)](this[_0x2f0b5f(0x2c4)][_0x2f0b5f(0x216)]['subscribe'](_0xc336c6=>{const _0x3613e5=_0x2f0b5f;_0xc336c6['id']===_0x2c72d0['CollaborationUIEventId'][_0x3613e5(0x120)]&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1['MessageType'][_0x3613e5(0x33d)],'content':this[_0x3613e5(0x1ed)]['t']('collaboration.single-unit.warning')}),_0xc336c6['id']===_0x2c72d0[_0x3613e5(0x143)][_0x3613e5(0x238)]&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1[_0x3613e5(0x168)][_0x3613e5(0x33d)],'content':this['_localeService']['t'](_0x3613e5(0x183))}),_0xc336c6['id']===_0x2c72d0['CollaborationUIEventId'][_0x3613e5(0x22b)]&&this[_0x3613e5(0x2bb)][_0x3613e5(0x1e2)]({'title':this[_0x3613e5(0x1ed)]['t'](_0x3613e5(0x13e)),'content':this['_localeService']['t'](_0x3613e5(0x2a4)),'type':_0x3613e5(0x29c),'duration':0x0}),_0xc336c6['id']===_0x2c72d0[_0x3613e5(0x143)][_0x3613e5(0x24b)]&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1[_0x3613e5(0x168)][_0x3613e5(0x172)],'content':this[_0x3613e5(0x1ed)]['t'](_0x3613e5(0x183))+'('+_0xc336c6[_0x3613e5(0x171)]+')'}),_0xc336c6['id']===_0x2c72d0[_0x3613e5(0x143)][_0x3613e5(0x2ec)]&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1[_0x3613e5(0x168)]['Warning'],'content':this['_localeService']['t'](_0xc336c6[_0x3613e5(0x171)]||'')}),_0xc336c6['id']===_0x2c72d0[_0x3613e5(0x143)][_0x3613e5(0x2c7)]&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1[_0x3613e5(0x168)]['Warning'],'content':this[_0x3613e5(0x1ed)]['t'](_0x3613e5(0x111))}),_0xc336c6['id']===_0x2c72d0['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1['MessageType']['Error'],'content':this[_0x3613e5(0x1ed)]['t'](_0x3613e5(0x19f))}),_0xc336c6['id']===_0x2c72d0[_0x3613e5(0x143)][_0x3613e5(0x32e)]&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1[_0x3613e5(0x168)][_0x3613e5(0x172)],'content':this[_0x3613e5(0x1ed)]['t'](_0x3613e5(0x12e))});}));}};_0x461047=_0x1b5fc0([_0x15f855(0x0,_0x106fc7[_0x19a859(0x2fe)]),_0x15f855(0x1,_0x2c72d0[_0x19a859(0x226)]),_0x15f855(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x2c72d0[_0x19a859(0x194)])),_0x15f855(0x3,_0x106fc7[_0x19a859(0x395)]),_0x15f855(0x4,_0x106fc7[_0x19a859(0x33c)]),_0x15f855(0x5,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6['LocaleService']))],_0x461047);const _0x598514=_0x19a859(0x366),_0x15e6bd={},_0x1b2902=_0x5bf9c6[_0x19a859(0x113)](_0x19a859(0x117));var _0x5cae06=Object[_0x19a859(0x385)],_0x5bd6bb=(_0x3bf09b,_0x254a3a,_0x4cb8e8,_0x23e538)=>{for(var _0x4fb7fd=_0x23e538>0x1?void 0x0:_0x23e538?_0x5cae06(_0x254a3a,_0x4cb8e8):_0x254a3a,_0x26638d=_0x3bf09b['length']-0x1,_0x2ac5c3;_0x26638d>=0x0;_0x26638d--)(_0x2ac5c3=_0x3bf09b[_0x26638d])&&(_0x4fb7fd=_0x2ac5c3(_0x4fb7fd)||_0x4fb7fd);return _0x4fb7fd;},_0xc3ca45=(_0xde19a1,_0x22044f)=>(_0xf4880f,_0x23ef12)=>_0x22044f(_0xf4880f,_0x23ef12,_0xde19a1);_0x4c3250[_0x19a859(0x1f1)]=class extends _0x5bf9c6[_0x19a859(0x339)]{constructor(_0x1f21a4,_0x42939d,_0x2fc0c8,_0x3df0f6,_0x598381){const _0x365084=_0x19a859;super(),this[_0x365084(0x1fd)]=_0x1f21a4,this[_0x365084(0x264)]=_0x42939d,this[_0x365084(0x1d4)]=_0x2fc0c8,this[_0x365084(0x322)]=_0x3df0f6,_0x598381?_0x598381==null||_0x598381[_0x365084(0x1c4)]()[_0x365084(0x30c)](()=>this['_init']()):(this[_0x365084(0x264)][_0x365084(0x29e)](_0x365084(0x22e),_0x365084(0x204)),this['_init']());}async['_init'](){const _0x59b3e4=_0x19a859,_0x3daf28=this[_0x59b3e4(0x1fd)][_0x59b3e4(0x20a)]('unit'),_0x3201c7=this[_0x59b3e4(0x1fd)][_0x59b3e4(0x20a)]('type'),_0x19d7b6=this[_0x59b3e4(0x1fd)][_0x59b3e4(0x20a)](_0x59b3e4(0x1a2));if(!_0x3daf28||!_0x3201c7){this[_0x59b3e4(0x264)][_0x59b3e4(0x29e)](_0x59b3e4(0x22e),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x274304=await this[_0x59b3e4(0x322)][_0x59b3e4(0x285)](_0x3daf28,Number(_0x3201c7),_0x19d7b6);_0x274304&&_0x274304 instanceof _0x5bf9c6[_0x59b3e4(0x1f9)]&&this[_0x59b3e4(0x1d7)](_0x274304);}async[_0x19a859(0x1d7)](_0x14bfc2){const _0x5c0fa3=_0x19a859;await this[_0x5c0fa3(0x308)](_0x14bfc2),_0x14bfc2[_0x5c0fa3(0x24c)][_0x5c0fa3(0x38f)](_0x496cb2[_0x5c0fa3(0x130)](this['dispose$']))[_0x5c0fa3(0x28a)](_0x2623bb=>{const _0x40f409=_0x5c0fa3;_0x2623bb&&this[_0x40f409(0x14c)](_0x2623bb);}),this[_0x5c0fa3(0x1fd)][_0x5c0fa3(0x165)][_0x5c0fa3(0x38f)](_0x496cb2[_0x5c0fa3(0x130)](this['dispose$']))[_0x5c0fa3(0x28a)](()=>this[_0x5c0fa3(0x308)](_0x14bfc2));}[_0x19a859(0x14c)](_0x38f450,_0x5328fd=!0x1){const _0x478354=_0x19a859,_0x439e82=this['_urlService'][_0x478354(0x20a)](_0x478354(0x1a2));_0x38f450[_0x478354(0x327)]()!==_0x439e82&&this[_0x478354(0x1fd)][_0x478354(0x365)](_0x478354(0x1a2),_0x38f450[_0x478354(0x327)](),_0x5328fd);}async['_updateSubUnitFromURLParams'](_0x113747){const _0x499e70=_0x19a859;var _0x24b0e1;const _0x283bf6=this[_0x499e70(0x1fd)]['getParam'](_0x499e70(0x1a2));if(!_0x283bf6||!_0x113747[_0x499e70(0x336)](_0x283bf6)){const _0x7ebc36=_0x113747[_0x499e70(0x241)]()[0x0],_0x4a30f1=_0x113747[_0x499e70(0x336)](_0x7ebc36);if(!_0x4a30f1)return;this[_0x499e70(0x14c)](_0x4a30f1,!0x0),await this[_0x499e70(0x1d4)][_0x499e70(0x17f)](_0x4fd62b[_0x499e70(0x11e)]['id'],{'unitId':_0x113747[_0x499e70(0x1b2)](),'subUnitId':_0x7ebc36});return;}((_0x24b0e1=_0x113747[_0x499e70(0x345)]())==null?void 0x0:_0x24b0e1['getSheetId']())!==_0x283bf6&&await this['_commandService'][_0x499e70(0x17f)](_0x4fd62b[_0x499e70(0x11e)]['id'],{'unitId':_0x113747[_0x499e70(0x1b2)](),'subUnitId':_0x283bf6});}},_0x4c3250[_0x19a859(0x1f1)]=_0x5bd6bb([_0xc3ca45(0x0,_0x1b2902),_0xc3ca45(0x1,_0x5bf9c6[_0x19a859(0x1bb)]),_0xc3ca45(0x2,_0x5bf9c6['ICommandService']),_0xc3ca45(0x3,_0x5bf9c6[_0x19a859(0x116)](_0x2c72d0[_0x19a859(0x158)])),_0xc3ca45(0x4,_0x5bf9c6[_0x19a859(0x119)](_0x1d3fe6[_0x19a859(0x279)]))],_0x4c3250[_0x19a859(0x1f1)]);var _0x4f03ce=Object[_0x19a859(0x385)],_0x3c5bad=(_0x3e8acb,_0x1fd94f,_0x1f097c,_0x183721)=>{const _0x1581be=_0x19a859;for(var _0x4825c1=_0x183721>0x1?void 0x0:_0x183721?_0x4f03ce(_0x1fd94f,_0x1f097c):_0x1fd94f,_0x262c8f=_0x3e8acb[_0x1581be(0x344)]-0x1,_0x579ee7;_0x262c8f>=0x0;_0x262c8f--)(_0x579ee7=_0x3e8acb[_0x262c8f])&&(_0x4825c1=_0x579ee7(_0x4825c1)||_0x4825c1);return _0x4825c1;},_0x398879=(_0x337b55,_0x1cfe36)=>(_0x35a824,_0x23992a)=>_0x1cfe36(_0x35a824,_0x23992a,_0x337b55);let _0x28b55a=class{constructor(_0x52da4e,_0x2b766b,_0x344f66){const _0x416dbe=_0x19a859;this[_0x416dbe(0x380)]=_0x52da4e,this[_0x416dbe(0x197)]=_0x2b766b,this[_0x416dbe(0x388)]=_0x344f66;}[_0x19a859(0x359)](_0x241939){const _0x48b1a7=_0x19a859;this[_0x48b1a7(0x233)](_0x241939),this[_0x48b1a7(0x298)](_0x241939);}['transformRemoteChangeset'](_0x9f5c27){const _0x454d44=_0x19a859,{unitID:_0x5820fc}=_0x9f5c27,_0x5b26cd=this['_renderManagerService'][_0x454d44(0x29a)](_0x5820fc)[_0x454d44(0x1f0)](_0x1a8f2e[_0x454d44(0x23b)]),{redoCache:_0x5bf581}=_0x5b26cd[_0x454d44(0x30e)]();if(_0x5bf581['length']===0x0)return _0x9f5c27;let _0x44c828=_0x5bf9c6[_0x454d44(0x389)][_0x454d44(0x1a3)](_0x9f5c27[_0x454d44(0x39e)][0x0]);for(let _0xd96f27=0x0;_0xd96f27<_0x5bf581[_0x454d44(0x344)];_0xd96f27++){const _0x3520ce={'id':_0x454d44(0x36a),'params':{..._0x5bf581[_0xd96f27]}},_0x4aa113=this[_0x454d44(0x197)][_0x454d44(0x2e4)](_0x44c828,_0x3520ce,!0x1);if(_0x4e6003[_0x454d44(0x38c)](_0x4aa113))throw _0x4aa113[_0x454d44(0x29c)];_0x44c828=_0x4aa113[_0x454d44(0x2f6)];}return{..._0x5bf9c6[_0x454d44(0x389)][_0x454d44(0x1a3)](_0x9f5c27),'mutations':[_0x44c828]};}[_0x19a859(0x233)](_0x2a4e90){const _0x4ca2c3=_0x19a859,{unitID:_0x3e42bc}=_0x2a4e90,_0x77eb4=this[_0x4ca2c3(0x388)][_0x4ca2c3(0x29a)](_0x3e42bc)['with'](_0x1a8f2e['DocIMEInputManagerService']),{undoCache:_0x5196e5,redoCache:_0x6363d}=_0x77eb4[_0x4ca2c3(0x30e)]();if(_0x5196e5[_0x4ca2c3(0x344)]===0x0||_0x6363d['length']===0x0)return;const _0x837529=[],_0x24f453=[];let _0x444a61=_0x5bf9c6[_0x4ca2c3(0x389)][_0x4ca2c3(0x1a3)](_0x2a4e90[_0x4ca2c3(0x39e)][0x0]),_0x1b57ae=_0x5bf9c6[_0x4ca2c3(0x389)][_0x4ca2c3(0x1a3)](_0x2a4e90[_0x4ca2c3(0x39e)][0x0]);for(let _0x36ed7f=_0x5196e5[_0x4ca2c3(0x344)]-0x1;_0x36ed7f>=0x0;_0x36ed7f--){const _0x38b298={'id':_0x4ca2c3(0x36a),'params':{..._0x5196e5[_0x36ed7f]}},_0x4407e5={'id':_0x4ca2c3(0x36a),'params':{..._0x6363d[_0x36ed7f]}},_0x4a03f8=this[_0x4ca2c3(0x197)][_0x4ca2c3(0x2e4)](_0x444a61,_0x38b298,!0x1),_0x3e2250=this[_0x4ca2c3(0x197)][_0x4ca2c3(0x2e4)](_0x1b57ae,_0x4407e5,!0x1);if(_0x4e6003['isTransformMutationFailure'](_0x4a03f8))throw _0x4a03f8[_0x4ca2c3(0x29c)];if(_0x4e6003['isTransformMutationFailure'](_0x3e2250))throw _0x3e2250[_0x4ca2c3(0x29c)];_0x837529[_0x4ca2c3(0x37e)](_0x4a03f8[_0x4ca2c3(0x178)][_0x4ca2c3(0x316)]),_0x24f453[_0x4ca2c3(0x37e)](_0x3e2250[_0x4ca2c3(0x178)][_0x4ca2c3(0x316)]),_0x444a61=_0x4a03f8[_0x4ca2c3(0x2f6)],_0x1b57ae=_0x3e2250[_0x4ca2c3(0x2f6)];}_0x77eb4[_0x4ca2c3(0x1de)]({'undoCache':_0x837529,'redoCache':_0x24f453});}[_0x19a859(0x298)](_0x343fd2){const _0x336654=_0x19a859,{unitID:_0x155b92}=_0x343fd2,_0x2ecbf5=this[_0x336654(0x388)]['getRenderById'](_0x155b92)['with'](_0x1a8f2e[_0x336654(0x23b)]),_0x15fada=_0x2ecbf5['getActiveRange']();if(_0x15fada==null)return;const _0x573327=[{'id':_0x336654(0x36a),'params':{'unitId':_0x343fd2[_0x336654(0x1db)],'actions':null,'textRanges':[_0x15fada]}}],_0x419960=this[_0x336654(0x197)][_0x336654(0x2f9)](_0x343fd2,_0x573327);if(!_0x4e6003['isTransformMutationsWithChangesetSuccess'](_0x419960))throw _0x419960['error'];const _0x41fa74=_0x419960[_0x336654(0x178)][0x0][_0x336654(0x316)]['textRanges'];Array[_0x336654(0x1dc)](_0x41fa74)&&_0x41fa74[_0x336654(0x344)]&&_0x2ecbf5[_0x336654(0x355)](_0x41fa74[0x0]);}};_0x28b55a=_0x3c5bad([_0x398879(0x0,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x398879(0x1,_0x4e6003['ITransformService']),_0x398879(0x2,_0x5d1039[_0x19a859(0x2b9)])],_0x28b55a);var _0x313a08=Object[_0x19a859(0x385)],_0x168cdf=(_0x506ac1,_0x224072,_0xaa2eec,_0x1ab155)=>{const _0x316746=_0x19a859;for(var _0x51e3f6=_0x1ab155>0x1?void 0x0:_0x1ab155?_0x313a08(_0x224072,_0xaa2eec):_0x224072,_0x183092=_0x506ac1[_0x316746(0x344)]-0x1,_0x3a8a4b;_0x183092>=0x0;_0x183092--)(_0x3a8a4b=_0x506ac1[_0x183092])&&(_0x51e3f6=_0x3a8a4b(_0x51e3f6)||_0x51e3f6);return _0x51e3f6;},_0x2ea903=(_0x125679,_0x5a4609)=>(_0x3a84ba,_0x2e2d23)=>_0x5a4609(_0x3a84ba,_0x2e2d23,_0x125679);let _0x4794ff=class{constructor(_0x145d08,_0x32651a,_0x216403){const _0x4d3954=_0x19a859;this[_0x4d3954(0x380)]=_0x145d08,this[_0x4d3954(0x197)]=_0x32651a,this[_0x4d3954(0x2b7)]=_0x216403;}[_0x19a859(0x1b7)](_0x3b75f4){const _0x11e2c9=_0x19a859;this[_0x11e2c9(0x373)](_0x3b75f4);}[_0x19a859(0x213)](_0x5baea4){const _0xb81e16=_0x19a859,{unitID:_0x53125f}=_0x5baea4,{collaboration:_0xf5b215}=this[_0xb81e16(0x2b7)][_0xb81e16(0x1cb)](_0x53125f);if(_0xf5b215[_0xb81e16(0x344)]===0x0)return _0x5baea4;let _0x16a770=_0x5bf9c6[_0xb81e16(0x389)]['deepClone'](_0x5baea4[_0xb81e16(0x39e)][0x0]);for(let _0x2936d2=0x0;_0x2936d2<_0xf5b215[_0xb81e16(0x344)];_0x2936d2++){const _0x49ac58={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf5b215[_0x2936d2][_0xb81e16(0x2ab)],..._0xf5b215[_0x2936d2][_0xb81e16(0x1eb)]}},_0x43b26d=this[_0xb81e16(0x197)]['transformMutation'](_0x16a770,_0x49ac58,!0x1);if(_0x4e6003['isTransformMutationFailure'](_0x43b26d))throw _0x43b26d[_0xb81e16(0x29c)];_0x16a770=_0x43b26d[_0xb81e16(0x2f6)];}return{..._0x5bf9c6[_0xb81e16(0x389)]['deepClone'](_0x5baea4),'mutations':[_0x16a770]};}['_transformHistoryAndStateStack'](_0xc54e30){const _0x519d6b=_0x19a859,{unitID:_0x4faf15}=_0xc54e30,{history:_0x256a3c,collaboration:_0x32afa1}=this[_0x519d6b(0x2b7)][_0x519d6b(0x1cb)](_0x4faf15);if(_0x256a3c['length']===0x0&&_0x32afa1[_0x519d6b(0x344)]===0x0)return;const _0x488595=[],_0x5daf0a=[];let _0x3bce19=_0x5bf9c6['Tools'][_0x519d6b(0x1a3)](_0xc54e30[_0x519d6b(0x39e)][0x0]),_0x421334=_0x5bf9c6['Tools'][_0x519d6b(0x1a3)](_0xc54e30[_0x519d6b(0x39e)][0x0]);for(let _0x1d0114=_0x256a3c[_0x519d6b(0x344)]-0x1;_0x1d0114>=0x0;_0x1d0114--){const _0x57202d={'id':_0x519d6b(0x36a),'params':{'unitId':_0x256a3c[_0x1d0114][_0x519d6b(0x2ab)],..._0x256a3c[_0x1d0114][_0x519d6b(0x232)]}},_0x302969={'id':_0x519d6b(0x36a),'params':{'unitId':_0x256a3c[_0x1d0114][_0x519d6b(0x2ab)],..._0x256a3c[_0x1d0114]['redoState']}},_0x4c0002=this[_0x519d6b(0x197)]['transformMutation'](_0x3bce19,_0x57202d,!0x1),_0x6d5951=this[_0x519d6b(0x197)][_0x519d6b(0x2e4)](_0x421334,_0x302969,!0x1);if(_0x4e6003['isTransformMutationFailure'](_0x4c0002))throw _0x4c0002['error'];if(_0x4e6003[_0x519d6b(0x38c)](_0x6d5951))throw _0x6d5951['error'];_0x488595['unshift']({..._0x256a3c[_0x1d0114],'undoState':_0x4c0002['m2Prime']['params'],'redoState':_0x6d5951[_0x519d6b(0x178)]['params']}),_0x3bce19=_0x4c0002[_0x519d6b(0x2f6)],_0x421334=_0x6d5951[_0x519d6b(0x2f6)];}_0x3bce19=_0x5bf9c6[_0x519d6b(0x389)][_0x519d6b(0x1a3)](_0xc54e30[_0x519d6b(0x39e)][0x0]),_0x421334=_0x5bf9c6[_0x519d6b(0x389)][_0x519d6b(0x1a3)](_0xc54e30[_0x519d6b(0x39e)][0x0]);for(let _0x255210=_0x32afa1[_0x519d6b(0x344)]-0x1;_0x255210>=0x0;_0x255210--){const _0x3f39bf={'id':_0x519d6b(0x36a),'params':{'unitId':_0x32afa1[_0x255210][_0x519d6b(0x2ab)],..._0x32afa1[_0x255210][_0x519d6b(0x232)]}},_0x142d2a={'id':_0x519d6b(0x36a),'params':{'unitId':_0x32afa1[_0x255210][_0x519d6b(0x2ab)],..._0x32afa1[_0x255210]['redoState']}},_0x328bca=this['_transformService'][_0x519d6b(0x2e4)](_0x3bce19,_0x3f39bf,!0x1),_0x1440a9=this[_0x519d6b(0x197)][_0x519d6b(0x2e4)](_0x421334,_0x142d2a,!0x1);if(_0x4e6003[_0x519d6b(0x38c)](_0x328bca))throw _0x328bca[_0x519d6b(0x29c)];if(_0x4e6003['isTransformMutationFailure'](_0x1440a9))throw _0x1440a9[_0x519d6b(0x29c)];_0x5daf0a['unshift']({..._0x32afa1[_0x255210],'undoState':_0x328bca[_0x519d6b(0x178)][_0x519d6b(0x316)],'redoState':_0x1440a9[_0x519d6b(0x178)][_0x519d6b(0x316)]}),_0x3bce19=_0x328bca[_0x519d6b(0x2f6)],_0x421334=_0x1440a9[_0x519d6b(0x2f6)];}this['_docStateChangeManagerService'][_0x519d6b(0x1ec)](_0x4faf15,{'history':_0x488595,'collaboration':_0x5daf0a});}};_0x4794ff=_0x168cdf([_0x2ea903(0x0,_0x5bf9c6['Inject'](_0x5bf9c6[_0x19a859(0x35e)])),_0x2ea903(0x1,_0x4e6003['ITransformService']),_0x2ea903(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x1a8f2e[_0x19a859(0x367)]))],_0x4794ff);var _0x1b9a9f=Object[_0x19a859(0x385)],_0x148658=(_0x2ab418,_0x3b00e8,_0x49769b,_0x44e6fc)=>{const _0x351583=_0x19a859;for(var _0x32e16a=_0x44e6fc>0x1?void 0x0:_0x44e6fc?_0x1b9a9f(_0x3b00e8,_0x49769b):_0x3b00e8,_0x47bc58=_0x2ab418[_0x351583(0x344)]-0x1,_0x218e1b;_0x47bc58>=0x0;_0x47bc58--)(_0x218e1b=_0x2ab418[_0x47bc58])&&(_0x32e16a=_0x218e1b(_0x32e16a)||_0x32e16a);return _0x32e16a;},_0x15bfdc=(_0x6e0264,_0x47512d)=>(_0x29dd5c,_0x1e0dbe)=>_0x47512d(_0x29dd5c,_0x1e0dbe,_0x6e0264);let _0x4c0a13=class{constructor(_0x336f1b,_0xc1a4ef){const _0x474bc7=_0x19a859;this[_0x474bc7(0x380)]=_0x336f1b,this[_0x474bc7(0x197)]=_0xc1a4ef;}[_0x19a859(0x1b1)](_0x2a7f27){const _0xb7c0b8=_0x19a859;var _0x35bef4;const _0x4b22d0=this['_injector'][_0xb7c0b8(0x223)](_0x50e692[_0xb7c0b8(0x220)]),_0x41ba40=(_0x35bef4=_0x4b22d0[_0xb7c0b8(0x273)]())!=null?_0x35bef4:[];if(_0x41ba40[_0xb7c0b8(0x344)]===0x0)return;const _0x2979aa=_0x2a7f27[_0xb7c0b8(0x1db)],_0x4d862c=[{'id':_0xb7c0b8(0x36a),'params':{'unitId':_0x2979aa,'actions':null,'textRanges':_0x41ba40}}],_0x76d930=this['_transformService']['transformMutationsWithChangeset'](_0x2a7f27,_0x4d862c);if(!_0x4e6003[_0xb7c0b8(0x396)](_0x76d930))throw _0x76d930['error'];const _0x5bf435=_0x76d930[_0xb7c0b8(0x178)][0x0][_0xb7c0b8(0x316)][_0xb7c0b8(0x195)];Array['isArray'](_0x5bf435)&&_0x5bf435[_0xb7c0b8(0x344)]&&_0x4b22d0[_0xb7c0b8(0x2d2)](_0x5bf435,{'unitId':_0x2979aa,'subUnitId':_0x2979aa},!0x1);}};_0x4c0a13=_0x148658([_0x15bfdc(0x0,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x15bfdc(0x1,_0x4e6003[_0x19a859(0x294)])],_0x4c0a13);var _0x323b9b=Object[_0x19a859(0x385)],_0xe1a31e=(_0x7c7e97,_0x574088,_0x14d5ec,_0x132502)=>{for(var _0x83211a=_0x132502>0x1?void 0x0:_0x132502?_0x323b9b(_0x574088,_0x14d5ec):_0x574088,_0x5101b5=_0x7c7e97['length']-0x1,_0x4269bf;_0x5101b5>=0x0;_0x5101b5--)(_0x4269bf=_0x7c7e97[_0x5101b5])&&(_0x83211a=_0x4269bf(_0x83211a)||_0x83211a);return _0x83211a;},_0x5d4b28=(_0x57e09a,_0x2d3d3e)=>(_0x5011ed,_0x23fd39)=>_0x2d3d3e(_0x5011ed,_0x23fd39,_0x57e09a);let _0x48fe55=class extends _0x5bf9c6[_0x19a859(0x2b3)]{constructor(_0x5f0bb2,_0x47d2bc,_0x2f441c,_0x5bb05a,_0x197db5,_0x43a69b,_0x26aa4f,_0x2e055c){const _0x541fd5=_0x19a859;super(),_0x521fa5(this,_0x541fd5(0x2af),new _0x496cb2[(_0x541fd5(0x3a5))](_0x2c72d0['CollaborationStatus']['NOT_COLLAB'])),(this[_0x541fd5(0x2b7)]=_0x5f0bb2,this[_0x541fd5(0x14b)]=_0x47d2bc,this[_0x541fd5(0x1e4)]=_0x2f441c,this[_0x541fd5(0x1d8)]=_0x5bb05a,this[_0x541fd5(0x3a6)]=_0x197db5,this[_0x541fd5(0x383)]=_0x43a69b,this['_messageService']=_0x26aa4f,this[_0x541fd5(0x1ed)]=_0x2e055c,this['_initEntityListener']());}['_initEntityListener'](){const _0x1ab517=_0x19a859;this[_0x1ab517(0x305)](this[_0x1ab517(0x14b)][_0x1ab517(0x2f8)][_0x1ab517(0x28a)](_0x233552=>{const _0x3ee915=_0x1ab517,_0x20f033=this[_0x3ee915(0x2b7)][_0x3ee915(0x277)][_0x3ee915(0x28a)](_0x1220ed=>{const _0x1f2f44=_0x3ee915;if(_0x1220ed==null)return;const {unitId:_0x10512d,redoState:_0x43d159,commandId:_0x1c20fb}=_0x1220ed;if(_0x10512d!==_0x233552[_0x1f2f44(0x1db)])return;const _0x20b7b8={'id':_0x1c20fb,'type':_0x5bf9c6['CommandType'][_0x1f2f44(0x20e)],'params':{'unitId':_0x10512d,'actions':_0x43d159[_0x1f2f44(0x15e)],'textRanges':null}};_0x233552['onLocalMutation'](_0x20b7b8);});if(_0x233552['disposeWithMe'](_0x20f033),_0x233552 instanceof _0x2c72d0[_0x3ee915(0x196)]){const _0x15bddc={'onTransformIME':_0x62b844=>this['_docTransformIMECacheService'][_0x3ee915(0x359)](_0x62b844),'onTransformState':_0x3adde2=>this['_docTransformStateCacheService'][_0x3ee915(0x1b7)](_0x3adde2),'onTransformSelections':_0xf268c1=>this[_0x3ee915(0x3a6)][_0x3ee915(0x1b1)](_0xf268c1),'onSyncEditingCollabCursor':_0x3ee221=>this[_0x3ee915(0x383)][_0x3ee915(0x38d)](_0x3ee221),'onTransformRemoteChangesetByIMECache':_0x3628c1=>this[_0x3ee915(0x1e4)]['transformRemoteChangeset'](_0x3628c1),'onTransformRemoteChangesetByStateCache':_0x16d507=>this[_0x3ee915(0x1d8)][_0x3ee915(0x213)](_0x16d507)};_0x233552[_0x3ee915(0x25a)](_0x15bddc);}}));}};_0x48fe55=_0xe1a31e([_0x5d4b28(0x0,_0x5bf9c6[_0x19a859(0x116)](_0x1a8f2e[_0x19a859(0x367)])),_0x5d4b28(0x1,_0x5bf9c6['Inject'](_0x2c72d0[_0x19a859(0x11c)])),_0x5d4b28(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x28b55a)),_0x5d4b28(0x3,_0x5bf9c6['Inject'](_0x4794ff)),_0x5d4b28(0x4,_0x5bf9c6[_0x19a859(0x116)](_0x4c0a13)),_0x5d4b28(0x5,_0x5bf9c6[_0x19a859(0x116)](_0x299122)),_0x5d4b28(0x6,_0x106fc7[_0x19a859(0x395)]),_0x5d4b28(0x7,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x2d7)]))],_0x48fe55);var _0x4aed49=Object['getOwnPropertyDescriptor'],_0x1641bd=(_0x56a8a5,_0x182133,_0x4397e9,_0x1519ab)=>{const _0x1f0920=_0x19a859;for(var _0x171f54=_0x1519ab>0x1?void 0x0:_0x1519ab?_0x4aed49(_0x182133,_0x4397e9):_0x182133,_0x4085b0=_0x56a8a5[_0x1f0920(0x344)]-0x1,_0xa643be;_0x4085b0>=0x0;_0x4085b0--)(_0xa643be=_0x56a8a5[_0x4085b0])&&(_0x171f54=_0xa643be(_0x171f54)||_0x171f54);return _0x171f54;},_0xde872e=(_0x2bbcf4,_0x1e7253)=>(_0x36f6d7,_0x5a0ef0)=>_0x1e7253(_0x36f6d7,_0x5a0ef0,_0x2bbcf4);let _0x25e0c4=class extends _0x5bf9c6[_0x19a859(0x2b3)]{constructor(_0xb6e86,_0x4a00c6,_0x4fdb72){const _0x5d12ab=_0x19a859;super(),_0x521fa5(this,_0x5d12ab(0x123),new Map()),_0x521fa5(this,'_saveTaskMap',new Map()),_0x521fa5(this,_0x5d12ab(0x179),!0x1),(this[_0x5d12ab(0x150)]=_0xb6e86,this['_localStorageService']=_0x4a00c6,this[_0x5d12ab(0x303)]=_0x4fdb72);}[_0x19a859(0x1b9)](){const _0x43d3c1=_0x19a859;this[_0x43d3c1(0x179)]=!0x0;}[_0x19a859(0x28f)](){const _0x5e41a9=_0x19a859;this[_0x5e41a9(0x179)]=!0x1;}get['saveTaskMap'](){const _0x247166=_0x19a859;return this[_0x247166(0x2ca)];}['dispose'](){const _0x35b22b=_0x19a859;this[_0x35b22b(0x2d6)]()[_0x35b22b(0x30c)](()=>super['dispose']());}async[_0x19a859(0x378)](_0x11b9bb){const _0x495d1b=_0x19a859;return this[_0x495d1b(0x179)]?null:this[_0x495d1b(0x27e)][_0x495d1b(0x1a0)](_0x2c72d0[_0x495d1b(0x391)](_0x11b9bb));}async[_0x19a859(0x31e)](_0x1ce63f,_0x123cb7){const _0xe1f478=_0x19a859;return!!this[_0xe1f478(0x27e)][_0xe1f478(0x1ae)](_0x1ce63f,_0x123cb7);}[_0x19a859(0x181)](_0x224734,_0x4463c8,_0x32509f,_0x4383fd){const _0x5bbbaf=_0x19a859,_0x1ef40b=this[_0x5bbbaf(0x303)]['getCurrentRevOfUnit'](_0x224734);this[_0x5bbbaf(0x123)][_0x5bbbaf(0x17d)](_0x224734,{'unitID':_0x224734,'type':_0x4463c8,'awaitingChangeset':_0x32509f,'mutations':_0x4383fd,'rev':_0x1ef40b}),this[_0x5bbbaf(0x2ca)]['has'](_0x224734)||this[_0x5bbbaf(0x3a0)](_0x224734);}[_0x19a859(0x3a0)](_0x1e59c2){const _0x18a4d5=_0x19a859,_0x302373=this[_0x18a4d5(0x212)]();_0x302373===0x0?this['_saveCache'](_0x1e59c2):this['_saveTaskMap'][_0x18a4d5(0x17d)](_0x1e59c2,setTimeout(()=>this[_0x18a4d5(0x22c)](_0x1e59c2),_0x302373));}['_getSaveTimeout'](){const _0x1a951a=_0x19a859;var _0x13642a;return(_0x13642a=this[_0x1a951a(0x150)][_0x1a951a(0x329)](_0x2c72d0['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x13642a:_0x2c72d0[_0x1a951a(0x2de)];}['_saveCache'](_0x1d7586){const _0x548649=_0x19a859,_0x1c59e9=this[_0x548649(0x2ca)][_0x548649(0x223)](_0x1d7586);return _0x1c59e9!==void 0x0&&window[_0x548649(0x2fb)](_0x1c59e9),this[_0x548649(0x27e)][_0x548649(0x1ae)](_0x2c72d0['getLocalCacheKey'](_0x1d7586),this[_0x548649(0x123)][_0x548649(0x223)](_0x1d7586))['then'](()=>this[_0x548649(0x2ca)]['delete'](_0x1d7586));}async[_0x19a859(0x2d6)](){const _0x47bca4=_0x19a859,_0x43c951=[];this[_0x47bca4(0x2ca)][_0x47bca4(0x139)]((_0x54c8a8,_0x43e7c5)=>{const _0x4ba8d0=_0x47bca4;window['clearTimeout'](_0x54c8a8),_0x43c951[_0x4ba8d0(0x253)](this['_saveCache'](_0x43e7c5)[_0x4ba8d0(0x30c)](()=>{const _0x173fda=_0x4ba8d0;this[_0x173fda(0x2ca)]['delete'](_0x43e7c5);}));}),await Promise[_0x47bca4(0x1fc)](_0x43c951);}};_0x25e0c4=_0x1641bd([_0xde872e(0x0,_0x5bf9c6[_0x19a859(0x236)]),_0xde872e(0x1,_0x5bf9c6[_0x19a859(0x13a)]),_0xde872e(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x4e6003[_0x19a859(0x30a)]))],_0x25e0c4);class _0x2d34a4 extends _0x5bf9c6[_0x19a859(0x339)]{constructor(){const _0x17c675=_0x19a859;super(),_0x521fa5(this,_0x17c675(0x165)),this[_0x17c675(0x165)]=_0x496cb2[_0x17c675(0x1e3)](window,'popstate')['pipe'](_0x496cb2['takeUntil'](this['dispose$']),_0x496cb2[_0x17c675(0x35f)](0x1),_0x496cb2['mapTo'](void 0x0));}['setParam'](_0x220a78,_0x5d7098,_0x4cdb2a=!0x1){const _0x2dc95f=_0x19a859,_0x4858b3=new URL(window[_0x2dc95f(0x128)][_0x2dc95f(0x242)]);_0x4858b3[_0x2dc95f(0x31d)][_0x2dc95f(0x17d)](_0x220a78,_0x5d7098),_0x4cdb2a?window['history'][_0x2dc95f(0x17e)]('','',_0x4858b3[_0x2dc95f(0x246)]()):window['history'][_0x2dc95f(0x255)]('','',_0x4858b3[_0x2dc95f(0x246)]());}[_0x19a859(0x151)](_0x3ede4a,_0x4b7416=!0x1){const _0x24506d=_0x19a859,_0x10d6c8=new URL(window[_0x24506d(0x128)][_0x24506d(0x242)]);_0x10d6c8[_0x24506d(0x31d)][_0x24506d(0x227)](_0x3ede4a),_0x4b7416?window[_0x24506d(0x292)][_0x24506d(0x17e)]('','',_0x10d6c8[_0x24506d(0x246)]()):window[_0x24506d(0x292)][_0x24506d(0x255)]('','',_0x10d6c8[_0x24506d(0x246)]());}[_0x19a859(0x20a)](_0x5e1abf){const _0x589ef9=_0x19a859;var _0x416e8d;return(_0x416e8d=new URL(window[_0x589ef9(0x128)][_0x589ef9(0x242)])['searchParams'][_0x589ef9(0x223)](_0x5e1abf))!=null?_0x416e8d:void 0x0;}}var _0x38d471=Object[_0x19a859(0x301)],_0x55e279=Object[_0x19a859(0x385)],_0x20489b=(_0x39c423,_0x3e05ea,_0x23b123)=>_0x3e05ea in _0x39c423?_0x38d471(_0x39c423,_0x3e05ea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23b123}):_0x39c423[_0x3e05ea]=_0x23b123,_0x3b8278=(_0x5be6c6,_0x2e3a03,_0x3aa7c6,_0x3d8fd7)=>{const _0x8bdeba=_0x19a859;for(var _0x2599da=_0x3d8fd7>0x1?void 0x0:_0x3d8fd7?_0x55e279(_0x2e3a03,_0x3aa7c6):_0x2e3a03,_0x1c1591=_0x5be6c6[_0x8bdeba(0x344)]-0x1,_0x4dec44;_0x1c1591>=0x0;_0x1c1591--)(_0x4dec44=_0x5be6c6[_0x1c1591])&&(_0x2599da=_0x4dec44(_0x2599da)||_0x2599da);return _0x2599da;},_0x5bca95=(_0x380308,_0x148c9e)=>(_0x40b562,_0x570dce)=>_0x148c9e(_0x40b562,_0x570dce,_0x380308),_0xd877f6=(_0x51ed10,_0x5ec9f8,_0x20b0de)=>_0x20489b(_0x51ed10,_0x5ec9f8+'',_0x20b0de);const _0x536ec4='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4c3250[_0x19a859(0x1d5)]=class extends _0x5bf9c6[_0x19a859(0x1c1)]{constructor(_0x42850e=_0x15e6bd,_0x18edff,_0x29fa8c,_0xa5fe81){const _0x4a2ce0=_0x19a859;super(),this[_0x4a2ce0(0x375)]=_0x42850e,this['_renderManagerService']=_0x18edff,this['_injector']=_0x29fa8c,this['_configService']=_0xa5fe81;const {..._0x4f7214}=_0x5bf9c6[_0x4a2ce0(0x1f4)]({},_0x15e6bd,this['_config']);this[_0x4a2ce0(0x150)][_0x4a2ce0(0x291)](_0x598514,_0x4f7214);}[_0x19a859(0x256)](){const _0x278a7c=_0x19a859;this[_0x278a7c(0x11f)](),this[_0x278a7c(0x2cf)]();}[_0x19a859(0x287)](){this['_registerRenderDependencies']();}[_0x19a859(0x11f)](){const _0x2606cf=_0x19a859;var _0x4ac783;const _0x1e19b2=[[_0x30d5cc],[_0x4c0a13],[_0x28b55a],[_0x4794ff],[_0x299122],[_0x1b2902,{'useClass':_0x2d34a4}],[_0x28d1f0[_0x2606cf(0x16c)],{'useClass':_0x28d1f0[_0x2606cf(0x290)]}],[_0x2c72d0['ILocalCacheService'],{'useClass':_0x25e0c4}],[_0x4c3250[_0x2606cf(0x134)]],[_0x48fe55],[_0x461047],[_0x3097e7],[_0x41ef61],[_0x4c3250[_0x2606cf(0x1f1)]]];_0x5bf9c6['registerDependencies'](this[_0x2606cf(0x380)],_0x5bf9c6[_0x2606cf(0x184)](_0x1e19b2,(_0x4ac783=this['_config'])==null?void 0x0:_0x4ac783[_0x2606cf(0x397)]));}['_registerRenderDependencies'](){const _0x2c5416=_0x19a859;this[_0x2c5416(0x305)](this[_0x2c5416(0x388)]['registerRenderModule'](_0x5bf9c6[_0x2c5416(0x2cb)][_0x2c5416(0x25f)],[_0x488d8f])),this[_0x2c5416(0x305)](this[_0x2c5416(0x388)][_0x2c5416(0x2cd)](_0x5bf9c6[_0x2c5416(0x2cb)]['UNIVER_SHEET'],[_0x9b9b90]));}[_0x19a859(0x2cf)](){const _0x58ec57=_0x19a859;_0x5bf9c6['touchDependencies'](this[_0x58ec57(0x380)],[[_0x3097e7],[_0x4c3250[_0x58ec57(0x134)]],[_0x48fe55],[_0x461047],[_0x4c3250[_0x58ec57(0x1f1)]]]);}},_0xd877f6(_0x4c3250[_0x19a859(0x1d5)],_0x19a859(0x1c0),_0x536ec4),_0x4c3250[_0x19a859(0x1d5)]=_0x3b8278([_0x5bf9c6[_0x19a859(0x14e)](_0x2c72d0[_0x19a859(0x1f5)]),_0x5bca95(0x1,_0x5d1039[_0x19a859(0x2b9)]),_0x5bca95(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x5bca95(0x3,_0x5bf9c6[_0x19a859(0x236)])],_0x4c3250[_0x19a859(0x1d5)]);var _0x10dc38=Object[_0x19a859(0x385)],_0x5d1f84=(_0x15b804,_0x276d95,_0x17debd,_0x1e255d)=>{for(var _0x406a47=_0x1e255d>0x1?void 0x0:_0x1e255d?_0x10dc38(_0x276d95,_0x17debd):_0x276d95,_0x437907=_0x15b804['length']-0x1,_0x404c9c;_0x437907>=0x0;_0x437907--)(_0x404c9c=_0x15b804[_0x437907])&&(_0x406a47=_0x404c9c(_0x406a47)||_0x406a47);return _0x406a47;},_0x3f7ca0=(_0x472ae2,_0x2b0d19)=>(_0x46310d,_0x43a3e0)=>_0x2b0d19(_0x46310d,_0x43a3e0,_0x472ae2);_0x4c3250[_0x19a859(0x18f)]=class extends _0x2c72d0[_0x19a859(0x337)]{constructor(_0xa06f35,_0x40346b,_0x1a99fe,_0x306d89,_0x55739c){super(_0xa06f35,_0x40346b,_0x1a99fe,_0x306d89,_0x55739c);}async[_0x19a859(0x30f)](_0x2c70f9){const _0x441338=_0x19a859,_0x5b6b0b=await this[_0x441338(0x2ea)](),_0x4560cf=this[_0x441338(0x38a)](_0x2c70f9,_0x5b6b0b);return this[_0x441338(0x2cc)](_0x4560cf);}['_createSocketURL'](_0x17c4a9,_0x430708){const _0x1b7fe9=_0x19a859,_0x328e32=typeof window>'u'?new URL(_0x17c4a9):new URL(_0x17c4a9,window['location'][_0x1b7fe9(0x276)]);_0x328e32[_0x1b7fe9(0x31d)][_0x1b7fe9(0x17d)](_0x1b7fe9(0x170),_0x430708);const _0x1c6d7d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1b7fe9(0x128)][_0x1b7fe9(0x2c3)]);return _0x1c6d7d['get'](_0x1b7fe9(0x20c))&&_0x328e32['searchParams'][_0x1b7fe9(0x17d)](_0x1b7fe9(0x20c),_0x1c6d7d[_0x1b7fe9(0x223)]('runId')),_0x328e32[_0x1b7fe9(0x246)]();}async[_0x19a859(0x2ea)](){const _0x56fcc5=_0x19a859;var _0x2ec385,_0x35f6ca,_0x261588;const _0x2e0401=this['_configService'][_0x56fcc5(0x329)](_0x2c72d0[_0x56fcc5(0x310)]),_0x3fc08c=(_0x2ec385=_0x2e0401==null?void 0x0:_0x2e0401[_0x56fcc5(0x35d)])!=null?_0x2ec385:_0x2c72d0[_0x56fcc5(0x240)];return(_0x261588=(_0x35f6ca=(await this[_0x56fcc5(0x283)][_0x56fcc5(0x223)](_0x3fc08c,{'headers':{'Content-Type':_0x56fcc5(0x2e5)}}))[_0x56fcc5(0x369)])==null?void 0x0:_0x35f6ca[_0x56fcc5(0x160)])!=null?_0x261588:'';}},_0x4c3250[_0x19a859(0x18f)]=_0x5d1f84([_0x3f7ca0(0x0,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x3f7ca0(0x1,_0x5bf9c6[_0x19a859(0x116)](_0x28d1f0[_0x19a859(0x2a8)])),_0x3f7ca0(0x2,_0x5bf9c6[_0x19a859(0x236)]),_0x3f7ca0(0x3,_0x5bf9c6[_0x19a859(0x1bb)]),_0x3f7ca0(0x4,_0x4e6003[_0x19a859(0x126)])],_0x4c3250[_0x19a859(0x18f)]);const _0x1a01ef=0x7530,_0x3b6a89=_0x19a859(0x132);class _0x34154d extends _0x5bf9c6[_0x19a859(0x2b3)]{constructor(){const _0x570c32=_0x19a859;super(),_0x521fa5(this,'_id',_0x5bf9c6[_0x570c32(0x1e0)]()),_0x521fa5(this,'_selfUnitIDs',new Set()),_0x521fa5(this,_0x570c32(0x286),new Map()),_0x521fa5(this,'_heartbeatTimer',null),_0x521fa5(this,'_clearOtherTimers',new Map()),_0x521fa5(this,_0x570c32(0x370),new Map()),this[_0x570c32(0x187)]();}[_0x19a859(0x27b)](){const _0x1a5805=_0x19a859;super[_0x1a5805(0x27b)](),this['_clearOtherTimers'][_0x1a5805(0x139)]((_0x54987c,_0x353955)=>this[_0x1a5805(0x39f)](_0x353955)),this[_0x1a5805(0x1be)]&&window[_0x1a5805(0x39c)](this['_heartbeatTimer']);}[_0x19a859(0x1ad)](_0x212c04){const _0x47f20f=_0x19a859;return this['_ensureSubject'](_0x212c04)[_0x47f20f(0x38f)](_0x496cb2[_0x47f20f(0x27d)]());}['editingUnit'](_0xd29f59){const _0x4339e2=_0x19a859;this[_0x4339e2(0x331)][_0x4339e2(0x390)]===0x0&&this[_0x4339e2(0x1ac)](),this[_0x4339e2(0x331)]['add'](_0xd29f59),this['_send']({'type':0x0,'memberID':this[_0x4339e2(0x3a1)],'unitIDs':[_0xd29f59],'isForwarded':!0x1});}[_0x19a859(0x36b)](_0x2302c9){const _0x4db6f8=_0x19a859;this['_selfUnitIDs'][_0x4db6f8(0x227)](_0x2302c9),this['_selfUnitIDs'][_0x4db6f8(0x390)]===0x0&&this[_0x4db6f8(0x1be)]&&window[_0x4db6f8(0x39c)](this[_0x4db6f8(0x1be)]);}[_0x19a859(0x187)](){const _0x19a3e3=_0x19a859;this[_0x19a3e3(0x305)](_0x5bf9c6['toDisposable'](_0x496cb2[_0x19a3e3(0x1e3)](window,_0x19a3e3(0x245))[_0x19a3e3(0x28a)](_0x51c660=>{const _0x1453a8=_0x19a3e3;if(_0x51c660[_0x1453a8(0x153)]!==_0x3b6a89||!_0x51c660[_0x1453a8(0x31a)])return;const _0x51221a=JSON[_0x1453a8(0x2ad)](_0x51c660[_0x1453a8(0x31a)]);this[_0x1453a8(0x221)](_0x51221a);}))),window[_0x19a3e3(0x36c)](_0x19a3e3(0x1c5),()=>this[_0x19a3e3(0x235)]({'type':0x1,'memberID':this[_0x19a3e3(0x3a1)],'unitIDs':Array['from'](this[_0x19a3e3(0x331)])}));}[_0x19a859(0x221)](_0x2c49e1){const _0x33822e=_0x19a859;switch(_0x2c49e1[_0x33822e(0x2a0)]){case 0x0:this[_0x33822e(0x17a)](_0x2c49e1);break;case 0x1:this[_0x33822e(0x325)](_0x2c49e1);break;case 0x2:this[_0x33822e(0x300)](_0x2c49e1);break;}}[_0x19a859(0x17a)](_0x40ce47){const _0x332ff4=_0x19a859,{unitIDs:_0x9f2945,memberID:_0x762de4,isForwarded:_0x16a1f1}=_0x40ce47;_0x9f2945[_0x332ff4(0x139)](_0x616234=>{const _0x1626f3=_0x332ff4;if(!_0x16a1f1&&this['_unitOnClients']['has'](_0x616234)&&this[_0x1626f3(0x268)](_0x616234)['next'](_0x2c72d0[_0x1626f3(0x14f)][_0x1626f3(0x320)]),!this[_0x1626f3(0x286)][_0x1626f3(0x2b8)](_0x616234)||!this[_0x1626f3(0x286)][_0x1626f3(0x223)](_0x616234)[_0x1626f3(0x2b8)](_0x762de4)){const _0x356ca5=this[_0x1626f3(0x286)][_0x1626f3(0x223)](_0x616234)||new Set();_0x356ca5['add'](_0x762de4),this['_unitOnClients'][_0x1626f3(0x17d)](_0x616234,_0x356ca5),this[_0x1626f3(0x387)](_0x762de4);}}),_0x16a1f1||this[_0x332ff4(0x235)]({'type':0x0,'memberID':this[_0x332ff4(0x3a1)],'unitIDs':[...this[_0x332ff4(0x331)]],'isForwarded':!0x0});}[_0x19a859(0x387)](_0x4d884c){const _0x4c33c=_0x19a859;this['_removeClearOtherTimer'](_0x4d884c);const _0x26ed1f=window[_0x4c33c(0x374)](()=>{const _0x153fc4=_0x4c33c;this[_0x153fc4(0x286)][_0x153fc4(0x139)](_0x353b8f=>{const _0x47e9c1=_0x153fc4;_0x353b8f[_0x47e9c1(0x227)](_0x4d884c);});},_0x1a01ef*0x2);this[_0x4c33c(0x24f)][_0x4c33c(0x17d)](_0x4d884c,_0x26ed1f);}['_removeClearOtherTimer'](_0xac5cfe){const _0x570fc1=_0x19a859;if(this[_0x570fc1(0x24f)][_0x570fc1(0x2b8)](_0xac5cfe)){const _0x5c120c=this[_0x570fc1(0x24f)][_0x570fc1(0x223)](_0xac5cfe);_0x5c120c&&window[_0x570fc1(0x2fb)](_0x5c120c),this[_0x570fc1(0x24f)][_0x570fc1(0x17d)](_0xac5cfe,null);}}[_0x19a859(0x325)](_0x126b5c){const _0x251dba=_0x19a859,{memberID:_0x7c419d,unitIDs:_0x251b83}=_0x126b5c;_0x251b83[_0x251dba(0x139)](_0x197357=>{const _0x41a874=_0x251dba;var _0x3ed355;const _0x537d93=this['_unitOnClients'][_0x41a874(0x223)](_0x197357);_0x537d93&&(_0x537d93[_0x41a874(0x227)](_0x7c419d),(_0x3ed355=this[_0x41a874(0x268)](_0x197357))==null||_0x3ed355['next'](_0x537d93[_0x41a874(0x390)]===0x0?_0x2c72d0[_0x41a874(0x14f)]['NO_OTHER_CLIENTS_EDITING']:_0x2c72d0[_0x41a874(0x14f)][_0x41a874(0x320)]));}),this[_0x251dba(0x39f)](_0x7c419d);}[_0x19a859(0x300)](_0xfdde90){const _0x16d9d4=_0x19a859;this[_0x16d9d4(0x387)](_0xfdde90[_0x16d9d4(0x21a)]);}[_0x19a859(0x235)](_0x3ea8da){const _0x317b27=_0x19a859;localStorage[_0x317b27(0x1ae)](_0x3b6a89,JSON['stringify'](_0x3ea8da));}[_0x19a859(0x1ac)](){const _0x58e42b=_0x19a859;this[_0x58e42b(0x1be)]=window['setInterval'](()=>{const _0x4b0b58=_0x58e42b;this[_0x4b0b58(0x235)]({'type':0x2,'memberID':this[_0x4b0b58(0x3a1)]});},_0x1a01ef);}[_0x19a859(0x268)](_0x5244ff){const _0x4c18b4=_0x19a859;return this[_0x4c18b4(0x370)]['has'](_0x5244ff)||this[_0x4c18b4(0x370)][_0x4c18b4(0x17d)](_0x5244ff,new _0x496cb2[(_0x4c18b4(0x3a5))](_0x2c72d0['UnitStatus'][_0x4c18b4(0x371)])),this[_0x4c18b4(0x370)][_0x4c18b4(0x223)](_0x5244ff);}}var _0x16942c=(_0x11e3a7=>(_0x11e3a7[_0x11e3a7['UNDEFINED']=0x0]=_0x19a859(0x16e),_0x11e3a7[_0x11e3a7['OK']=0x1]='OK',_0x11e3a7[_0x11e3a7[_0x19a859(0x25d)]=0x2]='INTERNAL_ERROR',_0x11e3a7[_0x11e3a7[_0x19a859(0x22b)]=0x3]=_0x19a859(0x22b),_0x11e3a7[_0x11e3a7[_0x19a859(0x352)]=0x4]='NOT_FOUND',_0x11e3a7[_0x11e3a7['UNAUTHENTICATED']=0x5]=_0x19a859(0x281),_0x11e3a7[_0x11e3a7['ALREADY_EXISTS']=0x6]=_0x19a859(0x135),_0x11e3a7[_0x11e3a7['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x11e3a7[_0x11e3a7[_0x19a859(0x2a6)]=0x8]='TOO_MANY_REQUESTS',_0x11e3a7[_0x11e3a7[_0x19a859(0x1c3)]=0x9]='COMPLETION_FINISHED',_0x11e3a7[_0x11e3a7[_0x19a859(0x364)]=0xa]='LOGIN_FAILED',_0x11e3a7[_0x11e3a7[_0x19a859(0x10e)]=0x1389]=_0x19a859(0x10e),_0x11e3a7[_0x11e3a7[_0x19a859(0x356)]=0x1771]=_0x19a859(0x356),_0x11e3a7[_0x11e3a7[_0x19a859(0x159)]=0x1772]=_0x19a859(0x159),_0x11e3a7[_0x11e3a7['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x19a859(0x190),_0x11e3a7[_0x11e3a7[_0x19a859(0x1c8)]=0x1b59]=_0x19a859(0x1c8),_0x11e3a7[_0x11e3a7[_0x19a859(0x2b1)]=0x1b5a]=_0x19a859(0x2b1),_0x11e3a7[_0x11e3a7[_0x19a859(0x295)]=0x1b5b]=_0x19a859(0x295),_0x11e3a7[_0x11e3a7[_0x19a859(0x2c9)]=0x1b5c]=_0x19a859(0x2c9),_0x11e3a7[_0x11e3a7[_0x19a859(0x2a3)]=0x1b5d]=_0x19a859(0x2a3),_0x11e3a7[_0x11e3a7[_0x19a859(0x262)]=0x1f41]=_0x19a859(0x262),_0x11e3a7[_0x11e3a7[_0x19a859(0x2fd)]=0x2329]=_0x19a859(0x2fd),_0x11e3a7[_0x11e3a7['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x19a859(0x13d),_0x11e3a7[_0x11e3a7['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x11e3a7[_0x11e3a7['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x19a859(0x1c2),_0x11e3a7[_0x11e3a7[_0x19a859(0x282)]=0x232d]=_0x19a859(0x282),_0x11e3a7[_0x11e3a7[_0x19a859(0x252)]=0x2711]=_0x19a859(0x252),_0x11e3a7[_0x11e3a7[_0x19a859(0x284)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x11e3a7[_0x11e3a7['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x19a859(0x2e1),_0x11e3a7[_0x11e3a7[_0x19a859(0x173)]=0x2714]=_0x19a859(0x173),_0x11e3a7[_0x11e3a7[_0x19a859(0x215)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x11e3a7[_0x11e3a7[_0x19a859(0x32d)]=0x271b]=_0x19a859(0x32d),_0x11e3a7[_0x11e3a7[_0x19a859(0x332)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x11e3a7[_0x11e3a7['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x11e3a7[_0x11e3a7['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x11e3a7[_0x11e3a7[_0x19a859(0x209)]=0x2ee3]=_0x19a859(0x209),_0x11e3a7[_0x11e3a7[_0x19a859(0x142)]=0x2ee4]=_0x19a859(0x142),_0x11e3a7[_0x11e3a7[_0x19a859(0x1a6)]=0x2ee5]=_0x19a859(0x1a6),_0x11e3a7[_0x11e3a7[_0x19a859(0x34d)]=0x32c9]=_0x19a859(0x34d),_0x11e3a7[_0x11e3a7[_0x19a859(0x17b)]=0x32ca]=_0x19a859(0x17b),_0x11e3a7[_0x11e3a7[_0x19a859(0x1b0)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x11e3a7[_0x11e3a7[_0x19a859(0x2dc)]=-0x1]=_0x19a859(0x2dc),_0x11e3a7))(_0x16942c||{}),_0x49044d=Object[_0x19a859(0x385)],_0x23af9d=(_0x2e231f,_0x38c2fd,_0x48590f,_0x24380d)=>{const _0x18bc74=_0x19a859;for(var _0x204e82=_0x24380d>0x1?void 0x0:_0x24380d?_0x49044d(_0x38c2fd,_0x48590f):_0x38c2fd,_0x290771=_0x2e231f[_0x18bc74(0x344)]-0x1,_0x1ecaec;_0x290771>=0x0;_0x290771--)(_0x1ecaec=_0x2e231f[_0x290771])&&(_0x204e82=_0x1ecaec(_0x204e82)||_0x204e82);return _0x204e82;},_0x2ac5b0=(_0x44cc1d,_0x139546)=>(_0x586b09,_0xa2fb5d)=>_0x139546(_0x586b09,_0xa2fb5d,_0x44cc1d);_0x4c3250[_0x19a859(0x131)]=class extends _0x5bf9c6[_0x19a859(0x2b3)]{constructor(_0x290b01,_0x1f9fcb,_0x484865){const _0x4f654f=_0x19a859;super(),this[_0x4f654f(0x1c9)]=_0x290b01,this[_0x4f654f(0x283)]=_0x1f9fcb,this[_0x4f654f(0x150)]=_0x484865;}async['runOnServer'](_0x541fbf,_0x512535,_0x5f0a0e,..._0x1d99d8){const _0x5a4956=_0x19a859;var _0x328fa6,_0xb20131,_0x2c5775,_0x26ba26;const _0x49bc2c=this[_0x5a4956(0x1c9)][_0x5a4956(0x280)]();if(!_0x49bc2c)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5d43c1=((_0x328fa6=this[_0x5a4956(0x150)]['getConfig'](_0x2c72d0[_0x5a4956(0x1cc)]))!=null?_0x328fa6:_0x2c72d0['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x541fbf+_0x5a4956(0x2d8)+_0x512535,_0x22d31f=new URL(window[_0x5a4956(0x128)]['href']),_0x1ed427={'scriptId':_0x541fbf,'runId':(_0xb20131=_0x22d31f['searchParams']['get'](_0x5a4956(0x20c)))!=null?_0xb20131:'','function':_0x512535,'unitId':_0x49bc2c[_0x5a4956(0x1b2)](),'argsOfFunction':JSON[_0x5a4956(0x21b)](_0x1d99d8),'invokeId':(_0x2c5775=_0x5f0a0e['invokeId'])!=null?_0x2c5775:'','executionId':(_0x26ba26=_0x5f0a0e['executionId'])!=null?_0x26ba26:''};try{const _0x216956=await this[_0x5a4956(0x283)][_0x5a4956(0x3a7)](_0x5d43c1,{'body':_0x1ed427});return _0x216956[_0x5a4956(0x369)][_0x5a4956(0x29c)]&&_0x216956[_0x5a4956(0x369)][_0x5a4956(0x29c)][_0x5a4956(0x1a4)]!==_0x16942c['OK']?'Failed':_0x216956[_0x5a4956(0x369)][_0x5a4956(0x203)];}catch{return'Failed';}}},_0x4c3250[_0x19a859(0x131)]=_0x23af9d([_0x2ac5b0(0x0,_0x5bf9c6[_0x19a859(0x2f7)]),_0x2ac5b0(0x1,_0x5bf9c6[_0x19a859(0x116)](_0x28d1f0[_0x19a859(0x2a8)])),_0x2ac5b0(0x2,_0x5bf9c6[_0x19a859(0x236)])],_0x4c3250[_0x19a859(0x131)]),_0x4c3250['CollaborationStatusDisplay']=_0x4957f6,_0x4c3250[_0x19a859(0x1bc)]=_0x1b2902,_0x4c3250['SheetCollabCursorShape']=_0x30557c,_0x4c3250[_0x19a859(0x31c)]=_0x34154d,_0x4c3250['WebURLService']=_0x2d34a4,Object[_0x19a859(0x301)](_0x4c3250,Symbol[_0x19a859(0x1ee)],{'value':'Module'});}));