@univerjs-pro/collaboration-client-ui 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/services/remote-uniscript/remote-uniscript.service.d.ts +11 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +20 -19
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4334(){const _0x3c4e32=['RegularPolygon','AWAITING_WITH_PENDING','ONLINE','onTransformChange$','clearInterval','evenodd','contains','1524364MvBqLk','hovered','SheetsSelectionsService','HTTPService','eventID','_startDocCollabCursor','_labelPosition','DocCollaborationEntity','DocSkeletonManagerService','debounceTime','Inject','Tools','clipPath','DocStateChangeManagerService','_commandService','forwardRef','getAncestorScale','getSkeleton','fill','getUnhiddenWorksheets','_logService','unit','OFFLINE','combineLatest','...','_collabCursorState$','whenReady','SetWorksheetActivateCommand','throttleTime','_saveTaskMap','saveOfflineData','getOwnPropertySymbols','moveTo','tag','getConfig','storage','_drawAnchor','href','IConfigService','IUIPartsService','_transformService','enableLocalCache','useDependency','Warning','transformSelections','_docSyncEditingCollabCursorService','location','backgroundColor','Error','@univerjs-pro/collaboration-client','VIEW_MAIN','OTHER_CLIENTS_EDITING','_docTransformStateCacheService','toString','onlineStatusIcon','size','Rect','idSuffix','setItem','UNIVER_SHEET','getCurrentSelections','_initEntityListener','body','IMessageService','Plugin','_notificationService','Disposable','1711212PDuWwj','status$','APPLY_PERMISSION_DENIED','_saveCache','getUnitId','_imageIoService','next','replaceDocRanges','UNIVER_DOC','_beforeCloseService','onPointerMove$','CollaborationController','collabStatus.notCollab','UniverProCollaborationClient','_injector','onPointerEnter$','useCallback','2111796OfmyfH','push','_backgroundColor','all','@univerjs/design','_dataLoaderService','handleIRemoveRow','_cursorShapes','add','SetDocZoomRatioOperation','addObject','getUndoRedoMutationParamsCache','params','_assignedColors','_refreshCollabCursors','SheetSkeletonManagerService','transformStateCache','event$','show','_hideTimer','defineProperty','unitId','handleMoveRange','unsubscribe','_cachedData','getSheetId','drawWith','APPLY_REVISION_CONFILICT','defIds','_session','url(#off-line-single_clip0_910_343)','#fff','RemoveColCommandId','@univerjs/engine-render','univerjs-icon\x20univerjs-icon-','syncEditingCollabCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','transformMutationsWithChangeset','RevisionService','merge','@univerjs/docs','ReactCurrentOwner','MessageType','getSheetObject','verdancy600','getParam','_name','for','mapTo','length','_docStateChangeManagerService','session.will-retry','_toggleOffline','CollaborationEvent','UniverEngineRender','UniverIcon','@univerjs/docs-ui','[RemoteUniscriptService]:\x20no\x20focused\x20unit','save','INTERNAL_ERROR','div','_docTransformIMECacheService','_entities','addObjects','on-line-single_clip0_910_349','onStarting','Workbook','_initCommandExecutedListener','DocSelectionManagerService','setActiveRange','CONFLICT','YUUMI_UNABLE_LOAD_URL','undoState','replaceState','subscribeEvent','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getActiveSheet','LICENSE_IMPORT_SIZE_EXCEEDED','setConfig','some','error','_scheduleSaving','textRanges','_send','round','fillText','SessionStatus','lineTo','_collabCursorController','_docSkeleton','toStringTag','DesktopCollaborationStatusDisplayController','_registerDependencies','collabStatus.syncing','isActive','getCollabCursors$','values','onMouseMove','CLOSE_ROOM','getOwnPropertyDescriptor','_ensureSubject','_updateSubUnitFromURLParams','_localCacheService','forEach','selection','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','PENDING','range','replace','offline','prototype','_getSheetObject','_getAnchorBounding','flatMap','SHEET_VIEWPORT_KEY','registerDependencies','collab-client.tooltip.reconnect','_getMergeRange','_updateCollabCursors','JOIN_ROOM_FAILED','@univerjs-pro/collaboration','USERS_LEAVE','#FFF','currentSkeleton$','SNAPSHOT_INVALID_SNAPSHOT','min','UNRECOGNIZED','_memberService','addEventListener','collab-text-range-','fillRule','debounce','history','_drawTextRange','saveTaskMap','pipe','dispose','assign','MemberService','@univerjs/sheets-ui','1em','unitID','path','react.fragment','_cursor','disposeUnit','from','onPointerLeave$','ref','NodePositionConvertToCursor','gold400','row','jsx','fromEvent','collab-rect-range-','_range','rgba(255,\x20255,\x20255,\x200.01)','ENSURE_SNAPSHOT_EXECUTION','delete','_setupBeforeClosingHandler','loadUnit','_shapes','data','APPLY_NON_SEQUENTIAL_REVISION','getRenderById','redoState','toDisposable','collaboration.single-unit.warning','measureText','UniverEngineFormula','max','50qUTlqp','_heartbeatTimer','Optional','_docClipboardService','get','INVALID_ARGUMENT','symbol','_handleEvent','getTypeOfUnitAdded$','_messageService','ColorKit','text','roomMembers$','YUUMI_URL_COL_OUT_OF_RANGE','_online','startColumn','getFocusedUnit','useRef','addHandlerCallback','_transformUndoRedoStack','online','_httpService','with','UniverRpc','setInterval','createInstance','amd','UnitStatus','_initStatusComponent','WebURLService','getViewport','ILocalStorageService','UNAUTHENTICATED','arc','string','RefRangeService','engine','_anchorDot','_drawRectRange','translate(.97)','BuiltInUIPart','getRelativeToViewportCoord','deepClone','onLocalMutation','3fXOKcn','UniverProCollaborationClientUi','_setupSubUnitSync','_initEvent','CollaborationDataLoaderController','registerRefRange','_handleHover','_toggleOnline','CollaborationUIEventService','_collabSessionService','ILocalCacheService','handleInsertCol','_instanceService','CONNECTOR_DATA_TOO_LARGE','entityInit$','actions','clearTimeout','_hovered','collaboration-client-ui.config','FETCH_MISS','transform','univer-offline','jsxs','_colorAssignService','getCurrent','_sheetSkeletonManagerService','@univerjs/drawing','_urlService','unload','red300','currentTheme$','getCurrentUnitForType','SOCKET_FAILED','getItem','getMemberID','children','NO_OTHER_CLIENTS_EDITING','trim','0\x200\x2017\x2016','_renderManagerService','subUnitId','univer-online-status-title','YUUMI_RATE_OVER_LIMIT','off-line-single_clip0_910_343','_entityInit$','onlineStatus','session.connection-failed','transformRemoteChangeset','RECT','InsertRangeMoveDownCommandId','OffLineSingle','LocaleService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getCoordByCell','UPDATE_CURSOR','_scheduleClearOtherTimer','_univerInstanceService','_localStorageService','pushState','createElement','dispose$','endRow','SYNCED','attrs','_localeService','UniverNetwork','_updateLocalCursor','operators','newValue','_colorIndex','_disabled','SheetCollabCursorShape','YUUMI_SUBSCRIPTION_NOT_FOUND','IURLService','column','labelPosition','switchMap','restore','defaultProps','M0\x200H16V16H0z','DocIMEInputManagerService','COMPLETION_FINISHED','map','requireSession','_onCursorDelete','defs','urlChange$','svg','MUTATION','122056YbpcRA','@univerjs/engine-formula','_scene','subscribe','memberID','NOT_COLLAB','IDocClipboardService','Shape','[CollaborationDataLoaderController]','asObservable','@univerjs/core','CommandType','UniverSheets','IRemoteInstanceService','generateRandomId','_transformPreviousActiveRange','current','_initDependencies','ITransformService','key','getCurrentRevOfUnit','setParam','Fragment','LICENSE_DISTRO_REJECTED','hasOwnProperty','entries','ranges','DeleteRangeMoveUpCommandId','WebSocketService','handleInsertRow','ALREADY_EXISTS','rxjs','exhaustSavingTask','_clearOtherTimers','OnLineSingle','endColumn','EffectRefRangId','_selfUnitIDs','saveImage','doc.mutation.rich-text-editing','filter','_startSheetCollabCursor','_removeClearOtherTimer','_handleJoinEvent','0\x200\x2016\x2016','3804325pgbLGU','displayName','_scheduleHeartbeat','_collaborationController','colorChannel1','collabStatus.synced','override','_config','type','SetTextSelectionsOperation','imageSourceType','runOnServer','InsertRowCommandId','use','TEXT_RANGE_LAYER_INDEX','_transformHistoryAndStateStack','getCellPositionByOffset','set','function','DOC_RANGE_TYPE','popstate','ILogService','debug','_document','_unitOnClients','getMember','getRangePointData','getCollabEntity$','IImageIoService','_removeCollabCursors','_syncEditingCollabCursorService','findNodePositionByCharIndex','LICENSE_EXPORT_SIZE_EXCEEDED','getValue','black','SNAPSHOT_HAS_BEEN_REMOVED','_registerRenderDependencies','CollaborationSessionService','_uiPartsService','477xqgwPd','focused$','apply','extend','_init','_revisionService','RemoteUniscriptService','handleDeleteRangeMoveLeft','RichTextEditingMutation','UniverUi','_lastPointer','getTypeOfUnitDisposed$','getStateCache','transformIMECache','AWAITING','complete','subunit','setShapeProps','CollaborationStatus','executeCommand','UniverInstanceType','cursorInfo$','@univerjs/rpc','_unitStatus','shareReplay','Unknown\x20user','registerComponent','currentColor','touchDependencies','UniverDocs','@univerjs/sheets','getDocRanges','mutations','name','object','transformMutation','off-line-single','ICommandService','_docSkeletonManagerService','jiqing500','onRendered','isTransformMutationFailure','collabStatus.offline','then','CollaborationUIEventId','disposeWithMe','send','UniverDocsUi','isArray','sheetID','BehaviorSubject','runRefRangeMutations','has','call','width','color','IRenderManagerService','isEditing','assignAColorForMemberID','@univerjs/network','substring','_render','TOO_MANY_REQUESTS','_getSaveTimeout','DependentOn','height','_anchor','m2Prime','sessionStatus$','cursorInfo','split','none','UniverDrawing','mergeOverrideWithDependencies','purple300','_textBubble','unshift','1917300xLcJeu','WebBrowserSingleActiveUnitService','session.collaboration-timeout','APPLY_REJECT','fromEventSubject','_cursorInfo$','includes','getVpScrollXYInfoByPosToVp','m1Prime','init','react','indexOf','onCommandExecuted','RxDisposable','className','getMergeData','_refRangeService','_cursors','top','520778lXHwnj','_hover','Rectangle','_updateURLWithCurrentState','getSheetBySheetId','_themeService','concat','distinctUntilChanged','hide','APPLY_DUPLICATED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','takeUntil','ACTIVE_UNIT_EVENT_CHANNEL','registerRenderModule','permission.title','_context','15AcaENV','getColor','MoveRangeCommandId','getActiveRange','_handleLeaveEvent','setAlpha','_roomMembers$','handleDeleteRangeMoveUp','_status$','RemoveRowCommandId','collaboration.closeRoom','@univerjs/ui','find','UniverCore','SOCKET_FAILED_RETRY','_docTransformSelectionsService','_onCursorUpdate','isTransformMutationsWithChangesetSuccess','ISocketService','HEADER_MENU','serializeRangeWithSheet','Vector2','_id','collab-text-anchor-','_eventUnsubscribe','removeParam','COLORS','univer-online-status-icon','makeDirty','UniverCollaborationClientUIPlugin','Tooltip','collabStatus.fetchMiss','NodePositionConvertToRectRange','IUniverInstanceService','setTimeout','deserializeRangeWithSheet','OTHER_CLIENT_EDITING','_draw','xlink:href','exports','_configService','_color','InsertColCommandId','NOT_FOUND','bottom','LICENSE_MAX_UNITS_EXCEEDED','UNDEFINED','Injector','PERMISSION_DENIED','beginPath','sheetId','_getScale','addClipboardHook','searchParams','url(#$1','resize'];_0x4334=function(){return _0x3c4e32;};return _0x4334();}function _0x5c4b(_0x57160d,_0x5b95d6){const _0x433417=_0x4334();return _0x5c4b=function(_0x5c4be9,_0x1b668d){_0x5c4be9=_0x5c4be9-0x188;let _0x5bb173=_0x433417[_0x5c4be9];return _0x5bb173;},_0x5c4b(_0x57160d,_0x5b95d6);}(function(_0x1cddd2,_0x448823){const _0x6819c2=_0x5c4b,_0x36c6ac=_0x1cddd2();while(!![]){try{const _0x10dcbf=-parseInt(_0x6819c2(0x3e4))/0x1+parseInt(_0x6819c2(0x352))/0x2*(-parseInt(_0x6819c2(0x245))/0x3)+-parseInt(_0x6819c2(0x3a1))/0x4+-parseInt(_0x6819c2(0x362))/0x5*(-parseInt(_0x6819c2(0x3f5))/0x6)+parseInt(_0x6819c2(0x2cb))/0x7+-parseInt(_0x6819c2(0x29e))/0x8*(-parseInt(_0x6819c2(0x2f2))/0x9)+parseInt(_0x6819c2(0x219))/0xa*(parseInt(_0x6819c2(0x33f))/0xb);if(_0x10dcbf===_0x448823)break;else _0x36c6ac['push'](_0x36c6ac['shift']());}catch(_0x11f614){_0x36c6ac['push'](_0x36c6ac['shift']());}}}(_0x4334,0xe2452),function(_0x53abc6,_0xacdab1){const _0x3de133=_0x5c4b;typeof exports=='object'&&typeof module<'u'?_0xacdab1(exports,require(_0x3de133(0x3d2)),require('@univerjs/core'),require(_0x3de133(0x18f)),require('@univerjs/network'),require(_0x3de133(0x1a6)),require(_0x3de133(0x25f)),require(_0x3de133(0x2bd)),require(_0x3de133(0x196)),require(_0x3de133(0x1e6)),require(_0x3de133(0x29f)),require('@univerjs/sheets'),require('rxjs/operators'),require(_0x3de133(0x1f9)),require(_0x3de133(0x349)),require(_0x3de133(0x36d)),require(_0x3de133(0x3f9)),require('@univerjs/rpc')):typeof define==_0x3de133(0x2dd)&&define[_0x3de133(0x233)]?define([_0x3de133(0x389),_0x3de133(0x3d2),_0x3de133(0x2a8),_0x3de133(0x18f),_0x3de133(0x32d),'@univerjs/docs-ui',_0x3de133(0x25f),'rxjs','@univerjs/docs',_0x3de133(0x1e6),_0x3de133(0x29f),_0x3de133(0x310),'rxjs/operators','@univerjs/sheets-ui',_0x3de133(0x349),_0x3de133(0x36d),_0x3de133(0x3f9),_0x3de133(0x308)],_0xacdab1):(_0x53abc6=typeof globalThis<'u'?globalThis:_0x53abc6||self,_0xacdab1(_0x53abc6[_0x3de133(0x246)]={},_0x53abc6[_0x3de133(0x3f1)],_0x53abc6[_0x3de133(0x36f)],_0x53abc6[_0x3de133(0x1a4)],_0x53abc6[_0x3de133(0x286)],_0x53abc6[_0x3de133(0x321)],_0x53abc6[_0x3de133(0x33a)],_0x53abc6[_0x3de133(0x2bd)],_0x53abc6[_0x3de133(0x30f)],_0x53abc6['UniverProCollaboration'],_0x53abc6[_0x3de133(0x217)],_0x53abc6[_0x3de133(0x2aa)],_0x53abc6['rxjs'][_0x3de133(0x288)],_0x53abc6['UniverSheetsUi'],_0x53abc6['React'],_0x53abc6[_0x3de133(0x2fb)],_0x53abc6['UniverDesign'],_0x53abc6[_0x3de133(0x230)]));}(this,function(_0x4768c7,_0xfc7012,_0x524529,_0x6d82fc,_0x57276e,_0x37ba48,_0x3fce5f,_0x354597,_0x2745da,_0x1fddb7,_0xc34667,_0x2d3cc7,_0x346dc5,_0x253ca9,_0x50d71e,_0x5b9b9e,_0x4a3f7f,_0x2d25a6){'use strict';const _0x5fe29=_0x5c4b;var _0x50e2cf=Object[_0x5fe29(0x409)],_0x35a835=(_0x54791e,_0x467d59,_0x5eea2c)=>_0x467d59 in _0x54791e?_0x50e2cf(_0x54791e,_0x467d59,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5eea2c}):_0x54791e[_0x467d59]=_0x5eea2c,_0x16f0e1=(_0x3a5f76,_0x15ad25,_0x45000a)=>_0x35a835(_0x3a5f76,typeof _0x15ad25!=_0x5fe29(0x21f)?_0x15ad25+'':_0x15ad25,_0x45000a),_0x1b23c2=Object[_0x5fe29(0x409)],_0x3c7c47=Object['getOwnPropertyDescriptor'],_0x2e87b3=(_0x3efbd9,_0x194d49,_0x41dbe2,_0x3d06ab)=>{const _0x17f2b4=_0x5fe29;for(var _0x10157f=_0x3d06ab>0x1?void 0x0:_0x3d06ab?_0x3c7c47(_0x194d49,_0x41dbe2):_0x194d49,_0x1c7aaa=_0x3efbd9[_0x17f2b4(0x19f)]-0x1,_0x42d0db;_0x1c7aaa>=0x0;_0x1c7aaa--)(_0x42d0db=_0x3efbd9[_0x1c7aaa])&&(_0x10157f=(_0x3d06ab?_0x42d0db(_0x194d49,_0x41dbe2,_0x10157f):_0x42d0db(_0x10157f))||_0x10157f);return _0x3d06ab&&_0x10157f&&_0x1b23c2(_0x194d49,_0x41dbe2,_0x10157f),_0x10157f;},_0x12ab8a=(_0x217508,_0x4d515f)=>(_0x5a86b2,_0x452391)=>_0x4d515f(_0x5a86b2,_0x452391,_0x217508);let _0x42793d=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x1ea791,_0x12510c){const _0x345ffd=_0x5fe29;super(),this[_0x345ffd(0x21c)]=_0x1ea791,this['_imageIoService']=_0x12510c,this['_init']();}[_0x5fe29(0x2f6)](){const _0x31f412=_0x5fe29,_0x902985=this;this[_0x31f412(0x31f)](this['_docClipboardService'][_0x31f412(0x396)]({'onBeforePasteImage':async _0x365664=>{const _0x5aa8bc=_0x31f412,_0x1ac08b=await _0x902985[_0x5aa8bc(0x3e9)][_0x5aa8bc(0x2c4)](_0x365664);return _0x1ac08b?{'source':_0x1ac08b['source'],'imageSourceType':_0x1ac08b[_0x5aa8bc(0x2d5)]}:null;}}));}};_0x42793d=_0x2e87b3([_0x12ab8a(0x0,_0x37ba48[_0x5fe29(0x2a4)]),_0x12ab8a(0x1,_0x3fce5f[_0x5fe29(0x2e7)])],_0x42793d);const _0x4ccd61=[_0x5fe29(0x33c),_0x5fe29(0x319),_0x5fe29(0x19a),_0x5fe29(0x262),'blue400',_0x5fe29(0x204)];class _0x24fe6e extends _0x524529[_0x5fe29(0x3e3)]{constructor(){const _0x110166=_0x5fe29;super(...arguments),_0x16f0e1(this,_0x110166(0x402),new Map()),_0x16f0e1(this,_0x110166(0x28a),0x0);}[_0x5fe29(0x32c)](_0x27c85b){const _0xdca5c3=_0x5fe29;if(this['_assignedColors'][_0xdca5c3(0x326)](_0x27c85b))return this[_0xdca5c3(0x402)][_0xdca5c3(0x21d)](_0x27c85b);const _0x3a06be=_0x4ccd61[this[_0xdca5c3(0x28a)]];return this['_colorIndex']=(this[_0xdca5c3(0x28a)]+0x1)%_0x4ccd61[_0xdca5c3(0x19f)],this['_assignedColors'][_0xdca5c3(0x2dc)](_0x27c85b,_0x3a06be),_0x3a06be;}}function _0x95c817(_0x215851){const _0x25c1a8=_0x5fe29;let _0x5cc939='';for(const _0x4ac147 of _0x215851){const {startOffset:_0x2f755b,endOffset:_0x7af3f0,isActive:_0x6e606a,rangeType:_0x108dd4,segmentId:_0x52ddfb,segmentPage:_0x17dff6}=_0x4ac147;_0x5cc939[_0x25c1a8(0x19f)]&&(_0x5cc939+=','),_0x5cc939+=_0x2f755b+':'+_0x7af3f0+':'+(_0x6e606a?'1':'0')+':'+_0x108dd4+':'+_0x52ddfb+':'+_0x17dff6;}return _0x5cc939;}function _0x566b41(_0x12c9ab){const _0x58d04e=_0x5fe29,_0xd7ab0b=_0x12c9ab[_0x58d04e(0x338)](','),_0x4bedb9=[];for(const _0x6abbca of _0xd7ab0b){const [_0x1dab42,_0x90ce96,_0x1f4b38,_0x1b2b76,_0x465bf9,_0x597421]=_0x6abbca['split'](':');_0x4bedb9[_0x58d04e(0x3f6)]({'startOffset':Number(_0x1dab42),'endOffset':Number(_0x90ce96),'collapsed':_0x1dab42===_0x90ce96,'isActive':_0x1f4b38==='1','rangeType':_0x1b2b76===_0x524529[_0x58d04e(0x2de)]['TEXT']?_0x524529[_0x58d04e(0x2de)]['TEXT']:_0x524529[_0x58d04e(0x2de)][_0x58d04e(0x275)],'segmentId':typeof _0x465bf9==_0x58d04e(0x23b)?String(_0x465bf9):'','segmentPage':Number(_0x597421!=null?_0x597421:-0x1)});}return _0x4bedb9[_0x58d04e(0x1bd)](_0x46741c=>_0x46741c['isActive'])||(_0x4bedb9[0x0][_0x58d04e(0x1cc)]=!0x0),_0x4bedb9;}class _0x5ce534 extends _0x524529[_0x5fe29(0x34c)]{constructor(){const _0x472888=_0x5fe29;super(...arguments),_0x16f0e1(this,_0x472888(0x3ba),new _0x354597[(_0x472888(0x324))](null)),_0x16f0e1(this,'collabCursorState$',this['_collabCursorState$'][_0x472888(0x2a7)]());}[_0x5fe29(0x191)](_0x5293e){const _0x5c5cbf=_0x5fe29,{unitID:_0x471a1a,memberID:_0x773f8b,textRanges:_0x445d65}=_0x5293e,_0x3c64fa=_0x95c817(_0x445d65);if(_0x3c64fa==='')return;const _0x47ff03={'unitID':_0x471a1a,'memberID':_0x773f8b,'selection':_0x3c64fa};this[_0x5c5cbf(0x3ba)]['next'](_0x47ff03);}}var _0x541505=Object['defineProperty'],_0x4ed13b=Object['getOwnPropertyDescriptor'],_0x5c112a=(_0x5af1e7,_0x347b70,_0x310a7f,_0x3bd2ce)=>{for(var _0x34af5b=_0x3bd2ce>0x1?void 0x0:_0x3bd2ce?_0x4ed13b(_0x347b70,_0x310a7f):_0x347b70,_0x2772cf=_0x5af1e7['length']-0x1,_0x582f76;_0x2772cf>=0x0;_0x2772cf--)(_0x582f76=_0x5af1e7[_0x2772cf])&&(_0x34af5b=(_0x3bd2ce?_0x582f76(_0x347b70,_0x310a7f,_0x34af5b):_0x582f76(_0x34af5b))||_0x34af5b);return _0x3bd2ce&&_0x34af5b&&_0x541505(_0x347b70,_0x310a7f,_0x34af5b),_0x34af5b;},_0x364533=(_0x1a58f5,_0x444dba)=>(_0x39f4a3,_0x2cc196)=>_0x444dba(_0x39f4a3,_0x2cc196,_0x1a58f5);const _0x1c449a=0x12c,_0x24825a=0x64;let _0x28e03f=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x1f5d00,_0x2ec660,_0x303522,_0x4745f4,_0x2bf0a7,_0x50207d,_0x57e1cd,_0x38a2e2,_0x315099){const _0x139a61=_0x5fe29;super(),_0x16f0e1(this,'_online',!0x1),_0x16f0e1(this,_0x139a61(0x2f6),!0x1),_0x16f0e1(this,_0x139a61(0x344),new _0x354597[(_0x139a61(0x324))](new Map())),_0x16f0e1(this,_0x139a61(0x307),this[_0x139a61(0x344)][_0x139a61(0x2a7)]()),_0x16f0e1(this,_0x139a61(0x368),new _0x354597['BehaviorSubject']([])),_0x16f0e1(this,_0x139a61(0x225),this['_roomMembers$']['pipe'](_0x354597['debounceTime'](_0x1c449a))),_0x16f0e1(this,_0x139a61(0x287),_0x524529['debounce'](_0xdb8a7=>{const _0x563396=_0x139a61,_0x6fe9a={'eventID':_0x1fddb7[_0x563396(0x1a3)][_0x563396(0x27b)],'data':{'unitID':this[_0x563396(0x1fb)],'memberID':this['_session']['getMemberID'](),'selection':_0x95c817(_0xdb8a7)}};this['_session']['send'](_0x6fe9a,this[_0x563396(0x1fb)]);},_0x24825a)),(this[_0x139a61(0x1fb)]=_0x1f5d00,this[_0x139a61(0x18b)]=_0x2ec660,this[_0x139a61(0x3f2)]=_0x303522,this[_0x139a61(0x25c)]=_0x4745f4,this['_memberService']=_0x2bf0a7,this['_syncEditingCollabCursorService']=_0x50207d,this[_0x139a61(0x3c9)]=_0x57e1cd,this[_0x139a61(0x27d)]=_0x38a2e2,this[_0x139a61(0x3af)]=_0x315099);}get[_0x5fe29(0x337)](){const _0x4538e0=_0x5fe29;return this[_0x4538e0(0x344)][_0x4538e0(0x2ec)]();}get['roomMembers'](){const _0x30f727=_0x5fe29;return this[_0x30f727(0x368)][_0x30f727(0x2ec)]();}[_0x5fe29(0x1f6)](){const _0x5a18c9=_0x5fe29;super['dispose'](),this[_0x5a18c9(0x344)]['next'](new Map()),this[_0x5a18c9(0x344)][_0x5a18c9(0x301)](),this[_0x5a18c9(0x368)]['next']([]),this['_roomMembers$'][_0x5a18c9(0x301)]();}['init'](){const _0x1b1e16=_0x5fe29;this[_0x1b1e16(0x2f6)]||(this[_0x1b1e16(0x2f6)]=!0x0,this['_session'][_0x1b1e16(0x336)][_0x1b1e16(0x1f5)](_0x354597[_0x1b1e16(0x35d)](this[_0x1b1e16(0x281)]))[_0x1b1e16(0x2a1)](_0x1237e5=>{const _0x3435ea=_0x1b1e16;_0x1237e5===_0xfc7012[_0x3435ea(0x1c4)]['ONLINE']?this[_0x3435ea(0x24c)]():this[_0x3435ea(0x1a2)]();}),this[_0x1b1e16(0x18b)]['event$']['pipe'](_0x354597[_0x1b1e16(0x35d)](this[_0x1b1e16(0x281)]))[_0x1b1e16(0x2a1)](_0x5d61ae=>{const _0x2467d7=_0x1b1e16,_0x1582e6=_0x5d61ae[_0x2467d7(0x3a5)];_0x1582e6===_0x1fddb7['CollaborationEvent'][_0x2467d7(0x27b)]&&this['_onCursorUpdate'](_0x5d61ae),_0x1582e6===_0x1fddb7['CollaborationEvent'][_0x2467d7(0x1e7)]&&this[_0x2467d7(0x299)](_0x5d61ae);}),this[_0x1b1e16(0x31f)](this[_0x1b1e16(0x3af)]['onCommandExecuted'](_0x15f98a=>{const _0x45fd1b=_0x1b1e16,_0x5f34d1=_0x15f98a[_0x45fd1b(0x401)];_0x5f34d1!=null&&this['_online']&&_0x15f98a['id']===_0x2745da[_0x45fd1b(0x2d4)]['id']&&_0x5f34d1[_0x45fd1b(0x40a)]===this[_0x45fd1b(0x1fb)]&&_0x5f34d1[_0x45fd1b(0x32b)]===!0x1&&_0x5f34d1[_0x45fd1b(0x2b8)][_0x45fd1b(0x19f)]>0x0&&this[_0x45fd1b(0x287)](_0x5f34d1['ranges']);})),this[_0x1b1e16(0x2e9)]['collabCursorState$'][_0x1b1e16(0x1f5)](_0x354597['takeUntil'](this['dispose$']))['subscribe'](_0x520ea5=>{const _0x5a320f=_0x1b1e16;if((_0x520ea5==null?void 0x0:_0x520ea5[_0x5a320f(0x1fb)])!==this[_0x5a320f(0x1fb)])return;const _0x130b31={'eventID':_0x1fddb7[_0x5a320f(0x1a3)][_0x5a320f(0x27b)],'data':_0x520ea5};this[_0x5a320f(0x372)](_0x130b31);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x2cc37f=>{const _0x443d21=_0x1b1e16;if(_0x2cc37f[_0x443d21(0x401)]==null)return;const _0x344779=_0x2cc37f['params'];if(_0x2cc37f['id']!==_0x2745da[_0x443d21(0x2fa)]['id']||_0x344779[_0x443d21(0x40a)]!==this[_0x443d21(0x1fb)])return;const _0x2cf2d0={'id':'doc.mutation.rich-text-editing','params':_0x344779},_0x582976=this['cursorInfo'];for(const [_0xb327be,_0x2a1190]of _0x582976){const _0x5d4be8={'id':_0x443d21(0x2c5),'params':{'unitId':this[_0x443d21(0x1fb)],'actions':null,'textRanges':_0x2a1190['ranges']}},_0x9da90c=this[_0x443d21(0x3c9)][_0x443d21(0x315)](_0x2cf2d0,_0x5d4be8,!0x1);if(_0x1fddb7[_0x443d21(0x31b)](_0x9da90c))throw _0x9da90c[_0x443d21(0x1be)];_0x582976[_0x443d21(0x2dc)](_0xb327be,{..._0x2a1190,'ranges':_0x9da90c[_0x443d21(0x335)][_0x443d21(0x401)][_0x443d21(0x1c0)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x582976);});})));}['_onCursorUpdate'](_0x237a17){const _0x13d441=_0x5fe29;var _0x30b333,_0x297497;const {memberID:_0xf7dfdb,selection:_0x32dbc2}=_0x237a17['data'],_0xc443f4=_0x566b41(_0x32dbc2),_0x46995d=(_0x297497=(_0x30b333=this[_0x13d441(0x1ed)][_0x13d441(0x2e4)](this[_0x13d441(0x1fb)],_0xf7dfdb))==null?void 0x0:_0x30b333[_0x13d441(0x313)])!=null?_0x297497:_0x13d441(0x30b),_0x5c11d6={'color':this[_0x13d441(0x25c)][_0x13d441(0x32c)](_0xf7dfdb),'name':_0x46995d,'ranges':_0xc443f4},_0x2dd101=this[_0x13d441(0x337)];_0x2dd101[_0x13d441(0x2dc)](_0xf7dfdb,_0x5c11d6),this['_cursorInfo$'][_0x13d441(0x3ea)](_0x2dd101);}[_0x5fe29(0x299)](_0x469b18){const _0x2afb2f=_0x5fe29,{memberID:_0xd4f8a1}=_0x469b18[_0x2afb2f(0x210)],_0x15655b=this[_0x2afb2f(0x337)];_0x15655b[_0x2afb2f(0x20c)](_0xd4f8a1),this[_0x2afb2f(0x344)][_0x2afb2f(0x3ea)](_0x15655b);}[_0x5fe29(0x24c)](){const _0x19fb5b=_0x5fe29;var _0x38dbcc;if(this[_0x19fb5b(0x227)]=!0x0,((_0x38dbcc=this[_0x19fb5b(0x27d)][_0x19fb5b(0x229)]())==null?void 0x0:_0x38dbcc[_0x19fb5b(0x3e8)]())!==this[_0x19fb5b(0x1fb)])return;const _0x5efb21=this[_0x19fb5b(0x3f2)][_0x19fb5b(0x21d)](_0x2745da['DocSelectionManagerService'])[_0x19fb5b(0x311)]();Array[_0x19fb5b(0x322)](_0x5efb21)&&_0x5efb21[_0x19fb5b(0x19f)]>0x0&&this[_0x19fb5b(0x287)](_0x5efb21);}[_0x5fe29(0x1a2)](){this['_online']=!0x1;}};_0x28e03f=_0x5c112a([_0x364533(0x2,_0x524529[_0x5fe29(0x3ab)](_0x524529['Injector'])),_0x364533(0x3,_0x524529[_0x5fe29(0x3ab)](_0x24fe6e)),_0x364533(0x4,_0x524529[_0x5fe29(0x3ab)](_0xfc7012[_0x5fe29(0x1f8)])),_0x364533(0x5,_0x524529['Inject'](_0x5ce534)),_0x364533(0x6,_0x1fddb7[_0x5fe29(0x2b0)]),_0x364533(0x7,_0x524529['IUniverInstanceService']),_0x364533(0x8,_0x524529[_0x5fe29(0x317)])],_0x28e03f);var _0x462df2=Object[_0x5fe29(0x409)],_0x4b8650=Object['getOwnPropertyDescriptor'],_0x29046d=(_0x2952ee,_0x5bdfd6,_0x3e34ff,_0x24722d)=>{for(var _0x4602f1=_0x24722d>0x1?void 0x0:_0x24722d?_0x4b8650(_0x5bdfd6,_0x3e34ff):_0x5bdfd6,_0x5f2ede=_0x2952ee['length']-0x1,_0x3fbfd8;_0x5f2ede>=0x0;_0x5f2ede--)(_0x3fbfd8=_0x2952ee[_0x5f2ede])&&(_0x4602f1=(_0x24722d?_0x3fbfd8(_0x5bdfd6,_0x3e34ff,_0x4602f1):_0x3fbfd8(_0x4602f1))||_0x4602f1);return _0x24722d&&_0x4602f1&&_0x462df2(_0x5bdfd6,_0x3e34ff,_0x4602f1),_0x4602f1;},_0x5e2847=(_0x3fa2bf,_0x334814)=>(_0x5675c1,_0x306e4b)=>_0x334814(_0x5675c1,_0x306e4b,_0x3fa2bf);const _0x73cbc2=0x12c,_0x3516b3=0x64,_0x285b53=()=>{let _0x26e291=[],_0x1c3882=!0x1;return _0xfe85c1=>{const _0x408078=_0x5c4b;_0x26e291[_0x408078(0x3f6)](_0xfe85c1),_0x1c3882||(_0x1c3882=!0x0,setTimeout(()=>{const _0x417179=_0x408078;_0x26e291[_0x417179(0x1d5)](_0x5a5a7f=>_0x5a5a7f()),_0x26e291=[],_0x1c3882=!0x1;}));};};let _0xcec945=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x1a1a26,_0x480d17,_0x3fdff5,_0x158415,_0x3693a0,_0x2fcbce,_0x59b5e0,_0x569c60){const _0x1d06ff=_0x5fe29;super(),_0x16f0e1(this,_0x1d06ff(0x227),!0x1),_0x16f0e1(this,_0x1d06ff(0x2f6),!0x1),_0x16f0e1(this,_0x1d06ff(0x344),new _0x354597[(_0x1d06ff(0x324))](new Map())),_0x16f0e1(this,'cursorInfo$',this[_0x1d06ff(0x344)]['asObservable']()),_0x16f0e1(this,_0x1d06ff(0x368),new _0x354597['BehaviorSubject']([])),_0x16f0e1(this,'roomMembers$',this['_roomMembers$'][_0x1d06ff(0x1f5)](_0x354597[_0x1d06ff(0x3aa)](_0x73cbc2))),_0x16f0e1(this,_0x1d06ff(0x287),_0x524529[_0x1d06ff(0x1f1)]((_0x141f4e,_0x31b5f8)=>{const _0x57233a=_0x1d06ff,_0x4f2af6={'eventID':_0x1fddb7[_0x57233a(0x1a3)][_0x57233a(0x27b)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x57233a(0x267)](),'selection':_0xc34667[_0x57233a(0x376)](_0x141f4e,_0x31b5f8[_0x57233a(0x1d9)])}};this['_session'][_0x57233a(0x320)](_0x4f2af6,this[_0x57233a(0x1fb)]);},_0x3516b3)),(this[_0x1d06ff(0x1fb)]=_0x1a1a26,this[_0x1d06ff(0x18b)]=_0x480d17,this[_0x1d06ff(0x3f2)]=_0x3fdff5,this[_0x1d06ff(0x25c)]=_0x158415,this[_0x1d06ff(0x1ed)]=_0x3693a0,this['_univerInstanceService']=_0x2fcbce,this[_0x1d06ff(0x3af)]=_0x59b5e0,this[_0x1d06ff(0x34f)]=_0x569c60);}get[_0x5fe29(0x337)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x5cf33d=_0x5fe29;return this['_roomMembers$'][_0x5cf33d(0x2ec)]();}[_0x5fe29(0x1f6)](){const _0x3f3eb5=_0x5fe29;super[_0x3f3eb5(0x1f6)](),this[_0x3f3eb5(0x344)][_0x3f3eb5(0x3ea)](new Map()),this[_0x3f3eb5(0x344)][_0x3f3eb5(0x301)](),this['_roomMembers$'][_0x3f3eb5(0x3ea)]([]),this[_0x3f3eb5(0x368)][_0x3f3eb5(0x301)]();}[_0x5fe29(0x348)](){const _0x12e020=_0x5fe29;this[_0x12e020(0x2f6)]||(this[_0x12e020(0x2f6)]=!0x0,this[_0x12e020(0x18b)][_0x12e020(0x336)][_0x12e020(0x1f5)](_0x354597[_0x12e020(0x35d)](this[_0x12e020(0x281)]))[_0x12e020(0x2a1)](_0x489873=>{const _0x4ec78f=_0x12e020;_0x489873===_0xfc7012[_0x4ec78f(0x1c4)][_0x4ec78f(0x39c)]?this['_toggleOnline']():this[_0x4ec78f(0x1a2)]();}),this[_0x12e020(0x18b)][_0x12e020(0x406)][_0x12e020(0x1f5)](_0x354597[_0x12e020(0x35d)](this[_0x12e020(0x281)]))[_0x12e020(0x2a1)](_0x90924=>{const _0x19c0f8=_0x12e020,_0x276db2=_0x90924[_0x19c0f8(0x3a5)];_0x276db2===_0x1fddb7[_0x19c0f8(0x1a3)][_0x19c0f8(0x27b)]&&this['_onCursorUpdate'](_0x90924),_0x276db2===_0x1fddb7[_0x19c0f8(0x1a3)][_0x19c0f8(0x1e7)]&&this[_0x19c0f8(0x299)](_0x90924);}),this['_onRefRangeChange'](),this[_0x12e020(0x31f)](this[_0x12e020(0x3af)][_0x12e020(0x34b)](_0x18443e=>{const _0x1fb836=_0x12e020;if(this['_online']&&_0x18443e['id']===_0x2d3cc7['SetSelectionsOperation']['id']&&_0x18443e[_0x1fb836(0x401)][_0x1fb836(0x40a)]===this[_0x1fb836(0x1fb)]){const _0x3f6667=_0x18443e[_0x1fb836(0x401)];this[_0x1fb836(0x287)](_0x3f6667[_0x1fb836(0x26d)],_0x3f6667['selections'][0x0]);}})));}[_0x5fe29(0x372)](_0x2e6942){const _0x356f8a=_0x5fe29;var _0x565154,_0x24cb82;const {memberID:_0x408487,selection:_0x365744}=_0x2e6942[_0x356f8a(0x210)],{sheetName:_0x5f3281,range:_0x36771b}=_0xc34667[_0x356f8a(0x385)](_0x365744),_0x46c21f={'name':(_0x24cb82=(_0x565154=this[_0x356f8a(0x1ed)][_0x356f8a(0x2e4)](this[_0x356f8a(0x1fb)],_0x408487))==null?void 0x0:_0x565154[_0x356f8a(0x313)])!=null?_0x24cb82:'Unknown\x20user','range':this[_0x356f8a(0x1e3)](_0x5f3281,_0x36771b),'sheetID':_0x5f3281,'color':this[_0x356f8a(0x25c)][_0x356f8a(0x32c)](_0x408487),'selection':_0x365744},_0x593b69=this[_0x356f8a(0x337)];_0x593b69['set'](_0x408487,_0x46c21f),this[_0x356f8a(0x344)][_0x356f8a(0x3ea)](_0x593b69);}['_onCursorDelete'](_0x3793f5){const _0x68cbf7=_0x5fe29,{memberID:_0x21b7ee}=_0x3793f5[_0x68cbf7(0x210)],_0x11085b=this['cursorInfo'];_0x11085b[_0x68cbf7(0x20c)](_0x21b7ee),this[_0x68cbf7(0x344)][_0x68cbf7(0x3ea)](_0x11085b);}['_getMergeRange'](_0x2091cf,_0x2fe9c5){const _0x1ea14b=_0x5fe29;var _0x17d31b,_0x15445c;const _0x5a67be=(_0x15445c=(_0x17d31b=this[_0x1ea14b(0x27d)]['getUniverSheetInstance'](this[_0x1ea14b(0x1fb)]))==null?void 0x0:_0x17d31b[_0x1ea14b(0x356)](_0x2091cf))==null?void 0x0:_0x15445c[_0x1ea14b(0x34e)]();return(_0x5a67be==null?void 0x0:_0x5a67be[_0x1ea14b(0x36e)](_0x1b75d5=>_0x524529[_0x1ea14b(0x354)][_0x1ea14b(0x3a0)](_0x1b75d5,_0x2fe9c5)))||_0x2fe9c5;}['_onRefRangeChange'](){const _0x3904d4=_0x5fe29,_0x328dec=new _0x524529['DisposableCollection'](),_0x5cf71e=_0x285b53(),_0x3fe64b=()=>{const _0x3ee2d0=_0x5c4b;_0x328dec[_0x3ee2d0(0x1f6)]();const _0x403b55=(_0x16d0db,_0x1d6623,_0x1c6d96,_0x5b1c00)=>{const _0x782e9=_0x3ee2d0;let _0x47365f=[];switch(_0x16d0db['id']){case _0x2d3cc7[_0x782e9(0x2c2)]['DeleteRangeMoveLeftCommandId']:{_0x47365f=_0x2d3cc7[_0x782e9(0x2f9)](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)][_0x782e9(0x2b9)]:{_0x47365f=_0x2d3cc7[_0x782e9(0x369)](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)][_0x782e9(0x38c)]:{_0x47365f=_0x2d3cc7[_0x782e9(0x250)](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7['EffectRefRangId'][_0x782e9(0x276)]:{_0x47365f=_0x2d3cc7['handleInsertRangeMoveDown'](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)]['InsertRangeMoveRightCommandId']:{_0x47365f=_0x2d3cc7['handleInsertRangeMoveRight'](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)][_0x782e9(0x2d7)]:{_0x47365f=_0x2d3cc7[_0x782e9(0x2bb)](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)][_0x782e9(0x364)]:{_0x47365f=_0x2d3cc7[_0x782e9(0x40b)](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)][_0x782e9(0x18e)]:{_0x47365f=_0x2d3cc7['handleIRemoveCol'](_0x16d0db,_0x5b1c00);break;}case _0x2d3cc7[_0x782e9(0x2c2)][_0x782e9(0x36b)]:{_0x47365f=_0x2d3cc7[_0x782e9(0x3fb)](_0x16d0db,_0x5b1c00);break;}}const _0x3f19fd=_0x2d3cc7[_0x782e9(0x325)](_0x47365f,_0x5b1c00),_0x5ef1e3=this['cursorInfo'][_0x782e9(0x21d)](_0x1d6623);if(_0x5ef1e3&&_0x3f19fd){const _0x199f4e={..._0x5ef1e3,'range':_0x3f19fd};this[_0x782e9(0x337)][_0x782e9(0x2dc)](_0x1d6623,_0x199f4e),_0x5cf71e(()=>{const _0x2e209d=_0x782e9,_0x44eb9f=this[_0x2e209d(0x34f)][_0x2e209d(0x24a)](_0x3f19fd,_0x169f98=>(_0x44eb9f['dispose'](),_0x403b55(_0x169f98,_0x1d6623,_0x1c6d96,_0x3f19fd)));_0x328dec[_0x2e209d(0x3fd)](_0x44eb9f);});}return{'redos':[],'undos':[]};};this[_0x3ee2d0(0x337)][_0x3ee2d0(0x1d5)]((_0x11d55c,_0x13eaab)=>{const _0x1d3d5a=_0x3ee2d0,{range:_0x54e65b,sheetID:_0x425607}=_0x11d55c,_0x35a6e9=this[_0x1d3d5a(0x34f)][_0x1d3d5a(0x24a)](_0x54e65b,_0x19ad7a=>(_0x35a6e9['dispose'](),_0x403b55(_0x19ad7a,_0x13eaab,_0x425607,_0x54e65b)));_0x328dec[_0x1d3d5a(0x3fd)](_0x35a6e9);});};this[_0x3904d4(0x31f)](_0x524529[_0x3904d4(0x214)](this[_0x3904d4(0x344)]['subscribe'](()=>{_0x3fe64b();})));}['_toggleOnline'](){const _0x3b2d4d=_0x5fe29;var _0x241c75,_0x51b5dc;if(this[_0x3b2d4d(0x227)]=!0x0,((_0x241c75=this['_univerInstanceService'][_0x3b2d4d(0x229)]())==null?void 0x0:_0x241c75['getUnitId']())!==this['unitID'])return;const _0x50464b=(_0x51b5dc=this[_0x3b2d4d(0x3f2)][_0x3b2d4d(0x21d)](_0x2d3cc7[_0x3b2d4d(0x3a3)])[_0x3b2d4d(0x3dd)]())==null?void 0x0:_0x51b5dc[0x0],_0x4d5bfc=this[_0x3b2d4d(0x27d)][_0x3b2d4d(0x264)](_0x524529[_0x3b2d4d(0x306)][_0x3b2d4d(0x3dc)])['getActiveSheet']();_0x50464b&&_0x4d5bfc&&this[_0x3b2d4d(0x287)](_0x4d5bfc['getSheetId'](),_0x50464b);}[_0x5fe29(0x1a2)](){const _0x13e80f=_0x5fe29;this[_0x13e80f(0x227)]=!0x1;}};_0xcec945=_0x29046d([_0x5e2847(0x2,_0x524529[_0x5fe29(0x3ab)](_0x524529[_0x5fe29(0x391)])),_0x5e2847(0x3,_0x524529[_0x5fe29(0x3ab)](_0x24fe6e)),_0x5e2847(0x4,_0x524529[_0x5fe29(0x3ab)](_0xfc7012[_0x5fe29(0x1f8)])),_0x5e2847(0x5,_0x524529['IUniverInstanceService']),_0x5e2847(0x6,_0x524529[_0x5fe29(0x317)]),_0x5e2847(0x7,_0x524529[_0x5fe29(0x3ab)](_0x2d3cc7[_0x5fe29(0x23c)]))],_0xcec945);var _0x50196f=Object[_0x5fe29(0x409)],_0x24015a=Object['getOwnPropertyDescriptor'],_0x47dcd5=(_0x38fadb,_0x4d6768,_0x54c5a1,_0x4d41c5)=>{const _0x2aff8b=_0x5fe29;for(var _0xeeea=_0x4d41c5>0x1?void 0x0:_0x4d41c5?_0x24015a(_0x4d6768,_0x54c5a1):_0x4d6768,_0x2b032e=_0x38fadb[_0x2aff8b(0x19f)]-0x1,_0x385027;_0x2b032e>=0x0;_0x2b032e--)(_0x385027=_0x38fadb[_0x2b032e])&&(_0xeeea=(_0x4d41c5?_0x385027(_0x4d6768,_0x54c5a1,_0xeeea):_0x385027(_0xeeea))||_0xeeea);return _0x4d41c5&&_0xeeea&&_0x50196f(_0x4d6768,_0x54c5a1,_0xeeea),_0xeeea;},_0x5745c4=(_0x2e43db,_0x1b5c27)=>(_0xa65d1c,_0x3f6175)=>_0x1b5c27(_0xa65d1c,_0x3f6175,_0x2e43db);let _0x38d12a=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x271665,_0x4bbcd2,_0x5f4927){const _0x541a81=_0x5fe29;super(),_0x16f0e1(this,_0x541a81(0x1ac),new Map()),_0x16f0e1(this,'_entityInit$',new _0x354597['Subject']()),(this[_0x541a81(0x27d)]=_0x271665,this[_0x541a81(0x3f2)]=_0x4bbcd2,this[_0x541a81(0x24e)]=_0x5f4927,this[_0x541a81(0x2f6)]());}[_0x5fe29(0x1f6)](){const _0x56a499=_0x5fe29;super[_0x56a499(0x1f6)](),this[_0x56a499(0x271)][_0x56a499(0x301)](),this['_entities']['forEach'](_0x401a30=>_0x401a30[_0x56a499(0x1f6)]());}['getCollabCursors$'](_0x53d0aa){const _0xd3804f=_0x5fe29;return this[_0xd3804f(0x1ac)]['has'](_0x53d0aa)?this[_0xd3804f(0x1ac)][_0xd3804f(0x21d)](_0x53d0aa)['cursorInfo$']:this['_entityInit$'][_0xd3804f(0x1f5)](_0x354597[_0xd3804f(0x2c6)](_0x322842=>_0x322842[_0xd3804f(0x1fb)]===_0x53d0aa),_0x354597[_0xd3804f(0x291)](_0xb35f24=>_0xb35f24[_0xd3804f(0x307)]));}['_init'](){const _0x1787e3=_0x5fe29;this[_0x1787e3(0x27d)]['getTypeOfUnitAdded$'](_0x524529[_0x1787e3(0x306)][_0x1787e3(0x3dc)])[_0x1787e3(0x1f5)](_0x354597[_0x1787e3(0x35d)](this[_0x1787e3(0x281)]))['subscribe'](async _0x1fb12d=>{const _0x3eda0c=_0x1787e3,_0x3b59cb=_0x1fb12d['getUnitId'](),_0x5960e3=await this[_0x3eda0c(0x2c7)](_0x3b59cb);this[_0x3eda0c(0x271)][_0x3eda0c(0x3ea)](_0x5960e3),this['_entities'][_0x3eda0c(0x2dc)](_0x3b59cb,_0x5960e3);}),this[_0x1787e3(0x27d)][_0x1787e3(0x221)](_0x524529[_0x1787e3(0x306)][_0x1787e3(0x3ec)])[_0x1787e3(0x1f5)](_0x354597[_0x1787e3(0x35d)](this[_0x1787e3(0x281)]))[_0x1787e3(0x1f5)](_0x354597[_0x1787e3(0x2c6)](_0x11b903=>!_0x11b903[_0x1787e3(0x3e8)]()['startsWith']('__')))[_0x1787e3(0x2a1)](async _0x4fc2b9=>{const _0x5f17df=_0x1787e3,_0x33094d=_0x4fc2b9[_0x5f17df(0x3e8)](),_0x58837e=await this[_0x5f17df(0x3a6)](_0x33094d);this[_0x5f17df(0x271)]['next'](_0x58837e),this[_0x5f17df(0x1ac)][_0x5f17df(0x2dc)](_0x33094d,_0x58837e);}),_0x354597['merge'](this[_0x1787e3(0x27d)][_0x1787e3(0x2fd)](_0x524529['UniverInstanceType'][_0x1787e3(0x3ec)]),this['_univerInstanceService'][_0x1787e3(0x2fd)](_0x524529['UniverInstanceType'][_0x1787e3(0x3dc)]))[_0x1787e3(0x1f5)](_0x354597[_0x1787e3(0x35d)](this[_0x1787e3(0x281)]))['subscribe'](_0x1e86ef=>{const _0x6983db=_0x1787e3,_0x39a1a0=_0x1e86ef[_0x6983db(0x3e8)](),_0x53ff94=this['_entities'][_0x6983db(0x21d)](_0x39a1a0);_0x53ff94&&(_0x53ff94['dispose'](),this[_0x6983db(0x1ac)]['delete'](_0x39a1a0));});}async[_0x5fe29(0x2c7)](_0x14c0ce){const _0x36c8f7=_0x5fe29,_0x3434f9=await this[_0x36c8f7(0x24e)][_0x36c8f7(0x298)](_0x14c0ce),_0x2432f9=this['_injector'][_0x36c8f7(0x232)](_0xcec945,_0x14c0ce,_0x3434f9);return _0x2432f9[_0x36c8f7(0x348)](),_0x2432f9;}async['_startDocCollabCursor'](_0x4c3ea8){const _0x131b05=_0x5fe29,_0x149ef3=await this[_0x131b05(0x24e)][_0x131b05(0x298)](_0x4c3ea8),_0x5cbe1e=this[_0x131b05(0x3f2)][_0x131b05(0x232)](_0x28e03f,_0x4c3ea8,_0x149ef3);return _0x5cbe1e['init'](),_0x5cbe1e;}};_0x38d12a=_0x47dcd5([_0x5745c4(0x0,_0x524529['IUniverInstanceService']),_0x5745c4(0x1,_0x524529[_0x5fe29(0x3ab)](_0x524529[_0x5fe29(0x391)])),_0x5745c4(0x2,_0x524529[_0x5fe29(0x3ab)](_0xfc7012[_0x5fe29(0x2f0)]))],_0x38d12a);const _0x49f367=0x14,_0x4d7de2=0xc8,_0xa66b96=0x4,_0x341d21=0x5;function _0x457f71(_0xdb50a9,_0x1fd6f6){const _0x13d06e=_0x5fe29;let {radius:_0x37cbaf,width:_0x3ca575,height:_0x39fef9}=_0x1fd6f6;_0x37cbaf=_0x37cbaf!=null?_0x37cbaf:0x0,_0x3ca575=_0x3ca575!=null?_0x3ca575:0x1e,_0x39fef9=_0x39fef9!=null?_0x39fef9:0x1e;let _0x3352a1=0x0,_0x11abfa=0x0,_0x71a8c1=0x0;_0x3352a1=_0x11abfa=_0x71a8c1=Math[_0x13d06e(0x1eb)](_0x37cbaf,_0x3ca575/0x2,_0x39fef9/0x2),_0xdb50a9[_0x13d06e(0x393)](),_0xdb50a9[_0x13d06e(0x3c1)](_0x3352a1,0x0),_0xdb50a9[_0x13d06e(0x1c5)](_0x3ca575-_0x11abfa,0x0),_0xdb50a9[_0x13d06e(0x23a)](_0x3ca575-_0x11abfa,_0x11abfa,_0x11abfa,Math['PI']*0x3/0x2,0x0,!0x1),_0xdb50a9[_0x13d06e(0x1c5)](_0x3ca575,_0x39fef9-_0x71a8c1),_0xdb50a9[_0x13d06e(0x23a)](_0x3ca575-_0x71a8c1,_0x39fef9-_0x71a8c1,_0x71a8c1,0x0,Math['PI']/0x2,!0x1),_0xdb50a9[_0x13d06e(0x1c5)](0x0,_0x39fef9),_0xdb50a9[_0x13d06e(0x1c5)](0x0,_0x3352a1),_0xdb50a9[_0x13d06e(0x23a)](_0x3352a1,_0x3352a1,_0x3352a1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xdb50a9['closePath'](),_0x1fd6f6['fill']&&(_0xdb50a9[_0x13d06e(0x1a8)](),_0xdb50a9['fillStyle']=_0x1fd6f6['fill'],_0x1fd6f6[_0x13d06e(0x1f0)]==='evenodd'?_0xdb50a9[_0x13d06e(0x3b3)](_0x13d06e(0x39f)):_0xdb50a9['fill'](),_0xdb50a9[_0x13d06e(0x292)]());}class _0x3d7130 extends _0x6d82fc[_0x5fe29(0x2a5)]{constructor(_0x4d9659,_0x1fc045){const _0x2ec236=_0x5fe29;super(_0x4d9659,_0x1fc045),_0x16f0e1(this,_0x2ec236(0x329)),_0x16f0e1(this,_0x2ec236(0x224)),(this[_0x2ec236(0x329)]=_0x1fc045==null?void 0x0:_0x1fc045[_0x2ec236(0x329)],this[_0x2ec236(0x224)]=_0x1fc045==null?void 0x0:_0x1fc045[_0x2ec236(0x224)]);}static[_0x5fe29(0x188)](_0x4c0c12,_0x346195){const _0x4e56b2=_0x5fe29,{text:_0x2d99dd,color:_0x4df409}=_0x346195;_0x4c0c12[_0x4e56b2(0x1a8)](),_0x4c0c12['font']=_0x4e56b2(0x1b9);const _0x3b8137=_0x4c0c12[_0x4e56b2(0x216)](_0x2d99dd)[_0x4e56b2(0x328)],_0x3eff79=Math['min'](_0x3b8137+0x2*_0xa66b96,_0x4d7de2);_0x457f71(_0x4c0c12,{'height':_0x49f367,'radius':0x4,'width':_0x3eff79,'fill':_0x4df409,'evented':!0x1}),_0x4c0c12['fillStyle']=_0x4e56b2(0x1e8);const _0x500809=_0xa66b96,_0xbe31f7=_0x49f367-_0x341d21,_0x3813cd=_0x4d7de2-0x2*_0xa66b96;if(_0x3b8137>_0x3813cd){let _0x42a079='',_0x3a5589=0x0;for(const _0x1a3b12 of _0x2d99dd){const _0x41e80d=_0x4c0c12[_0x4e56b2(0x216)](_0x1a3b12)[_0x4e56b2(0x328)];if(_0x3a5589+_0x41e80d<=_0x3813cd-_0x4c0c12[_0x4e56b2(0x216)](_0x4e56b2(0x3b9))[_0x4e56b2(0x328)])_0x42a079+=_0x1a3b12,_0x3a5589+=_0x41e80d;else{_0x42a079+=_0x4e56b2(0x3b9);break;}}_0x4c0c12[_0x4e56b2(0x1c3)](_0x42a079,_0x500809,_0xbe31f7);}else _0x4c0c12['fillText'](_0x2d99dd,_0x500809,_0xbe31f7);_0x4c0c12[_0x4e56b2(0x292)]();}[_0x5fe29(0x387)](_0x5a17ed){const _0x5ea380=_0x5fe29;_0x3d7130[_0x5ea380(0x188)](_0x5a17ed,this);}}const _0x1a81b9=_0x5fe29(0x379),_0x57c2d9=_0x5fe29(0x1ef),_0x24ed46=_0x5fe29(0x208),_0x2403d7=0x6,_0x352cde=1.5,_0x40d69b=0x4,_0x8774f7=1.5,_0x2e25a2=_0x5fe29(0x20a);class _0x25f4b5{constructor(_0x329bc0,_0x104b8b,_0x2de10d,_0x326b90){const _0x4234d1=_0x5fe29;_0x16f0e1(this,'_shapes',[]),_0x16f0e1(this,_0x4234d1(0x334),null),_0x16f0e1(this,'_textBubble',null),_0x16f0e1(this,'_anchorDot',null),_0x16f0e1(this,_0x4234d1(0x408),null),_0x16f0e1(this,_0x4234d1(0x37a),null),(this[_0x4234d1(0x1fe)]=_0x329bc0,this[_0x4234d1(0x2a0)]=_0x104b8b,this[_0x4234d1(0x1c7)]=_0x2de10d,this[_0x4234d1(0x2e2)]=_0x326b90,this[_0x4234d1(0x32f)]());}set[_0x5fe29(0x353)](_0xde1c08){const _0x1388f2=_0x5fe29;_0xde1c08?(this[_0x1388f2(0x23e)]&&this[_0x1388f2(0x23e)]['hide'](),this[_0x1388f2(0x33d)]&&this[_0x1388f2(0x33d)][_0x1388f2(0x407)]()):(this[_0x1388f2(0x23e)]&&this['_anchorDot'][_0x1388f2(0x407)](),this[_0x1388f2(0x33d)]&&this[_0x1388f2(0x33d)][_0x1388f2(0x35a)]());}[_0x5fe29(0x1f6)](){const _0x490ed9=_0x5fe29;for(const _0x344bad of this[_0x490ed9(0x20f)])_0x344bad[_0x490ed9(0x1f6)]();this[_0x490ed9(0x33d)]&&this[_0x490ed9(0x33d)][_0x490ed9(0x1f6)](),this[_0x490ed9(0x23e)]&&this[_0x490ed9(0x23e)]['dispose'](),this['_anchor']&&this[_0x490ed9(0x334)][_0x490ed9(0x1f6)](),this[_0x490ed9(0x37a)]&&this[_0x490ed9(0x37a)]();}[_0x5fe29(0x32f)](){const _0x192ecc=_0x5fe29;var _0x265985;const {_docSkeleton:_0x4e70a2,_document:_0x55226c}=this,{color:_0x382984,name:_0x3f31ff,ranges:_0x233687}=this[_0x192ecc(0x1fe)],_0x499325=_0x55226c['getOffsetConfig'](),{docsLeft:_0x13137b,docsTop:_0x21b296}=_0x499325,_0x60669b=new _0x37ba48[(_0x192ecc(0x203))](_0x499325,_0x4e70a2);for(const {startOffset:_0x36dff3,endOffset:_0x1aebc4,rangeType:_0x5a1988,segmentId:_0x5a3c3f,segmentPage:_0x409a2d,collapsed:_0x3deb91,isActive:_0x1ca441}of _0x233687){const _0x3c99ac=_0x4e70a2[_0x192ecc(0x2ea)](_0x36dff3,!0x0,_0x5a3c3f,_0x409a2d);let _0x4911d9=_0x4e70a2[_0x192ecc(0x2ea)](_0x1aebc4,!0x0,_0x5a3c3f,_0x409a2d);if(_0x4911d9==null&&(_0x4911d9=_0x4e70a2[_0x192ecc(0x2ea)](_0x1aebc4-0x1,!0x1,_0x5a3c3f,_0x409a2d)),_0x1ca441){const {contentBoxPointGroup:_0x40cfa9}=_0x60669b[_0x192ecc(0x2e5)](_0x4911d9,_0x4911d9);if(_0x40cfa9[_0x192ecc(0x19f)]===0x0)continue;this['_drawAnchor'](_0x382984,_0x40cfa9,_0x13137b,_0x21b296,_0x3f31ff),this[_0x192ecc(0x37a)]=this[_0x192ecc(0x24b)]();}if(_0x3c99ac&&_0x4911d9){if(_0x5a1988===_0x524529[_0x192ecc(0x2de)]['RECT']){const _0x3d592d=new _0x37ba48[(_0x192ecc(0x382))](_0x499325,_0x4e70a2),{pointGroup:_0x17135d}=(_0x265985=_0x3d592d[_0x192ecc(0x2e5)](_0x3c99ac,_0x4911d9))!=null?_0x265985:{};if(_0x17135d==null||_0x17135d[_0x192ecc(0x19f)]===0x0)continue;this['_drawRectRange'](_0x382984,_0x17135d,_0x13137b,_0x21b296);}else{if(!_0x3deb91){const {borderBoxPointGroup:_0x379c81}=_0x60669b[_0x192ecc(0x2e5)](_0x3c99ac,_0x4911d9);if(_0x379c81[_0x192ecc(0x19f)]===0x0)continue;this[_0x192ecc(0x1f3)](_0x382984,_0x379c81,_0x13137b,_0x21b296);}}}}}[_0x5fe29(0x3c5)](_0x15cc39,_0x341b13,_0x583601,_0x2f2710,_0x53e8ec){const _0x888e7f=_0x5fe29,_0x42e7af=this[_0x888e7f(0x1de)](_0x341b13),{left:_0x4e6aa7,top:_0x352027,height:_0x42dde8}=_0x42e7af,_0x2b306a=this[_0x888e7f(0x395)](),_0x4d89ef=_0x8774f7/_0x2b306a,_0x4b92b6=new _0x6d82fc[(_0x888e7f(0x3d9))](_0x1a81b9+_0x524529[_0x888e7f(0x3ac)][_0x888e7f(0x2ac)](_0x2403d7),{'left':_0x4e6aa7+_0x583601-_0x4d89ef,'top':_0x352027+_0x2f2710,'height':_0x42dde8,'width':_0x352cde,'fill':_0x15cc39||_0x6d82fc[_0x888e7f(0x363)](_0x524529[_0x888e7f(0x37c)][_0x888e7f(0x2ed)],0x0),'strokeWidth':_0x4d89ef,'stroke':_0x2e25a2,'evented':!0x0});this['_anchor']=_0x4b92b6,this[_0x888e7f(0x2a0)][_0x888e7f(0x3ff)](_0x4b92b6,_0x37ba48[_0x888e7f(0x2d9)]);const _0xfc27e3=new _0x6d82fc[(_0x888e7f(0x3d9))](_0x1a81b9+_0x524529[_0x888e7f(0x3ac)][_0x888e7f(0x2ac)](_0x2403d7),{'left':_0x4e6aa7+_0x583601-_0x4d89ef,'top':_0x352027+_0x2f2710-_0x40d69b/0x2,'height':_0x40d69b,'width':_0x40d69b,'fill':_0x15cc39||_0x6d82fc[_0x888e7f(0x363)](_0x524529['COLORS'][_0x888e7f(0x2ed)],0x0),'strokeWidth':0x0,'stroke':_0x15cc39||_0x6d82fc[_0x888e7f(0x363)](_0x524529['COLORS'][_0x888e7f(0x2ed)],0x0),'evented':!0x1});this[_0x888e7f(0x23e)]=_0xfc27e3,this[_0x888e7f(0x2a0)][_0x888e7f(0x3ff)](_0xfc27e3,_0x37ba48[_0x888e7f(0x2d9)]);const _0x44b02b=new _0x3d7130(_0x1a81b9+_0x524529[_0x888e7f(0x3ac)][_0x888e7f(0x2ac)](_0x2403d7),{'left':_0x4e6aa7+_0x583601-_0x4d89ef,'top':_0x352027+_0x2f2710-_0x49f367,'text':_0x53e8ec,'color':_0x15cc39});this[_0x888e7f(0x33d)]=_0x44b02b,this[_0x888e7f(0x2a0)][_0x888e7f(0x3ff)](_0x44b02b,_0x37ba48[_0x888e7f(0x2d9)]),this['_hover']=!0x1;}[_0x5fe29(0x24b)](){const _0x4ed29b=_0x5fe29,_0x29f2df=this[_0x4ed29b(0x334)][_0x4ed29b(0x3f3)][_0x4ed29b(0x1b8)](()=>{const _0x229486=_0x4ed29b;this[_0x229486(0x353)]=!0x0;}),_0xf93cb4=this[_0x4ed29b(0x334)]['onPointerLeave$'][_0x4ed29b(0x1b8)](()=>{const _0x130e6d=_0x4ed29b;this[_0x130e6d(0x408)]&&clearTimeout(this[_0x130e6d(0x408)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x2ff714=_0x4ed29b;_0x29f2df[_0x2ff714(0x40c)](),_0xf93cb4[_0x2ff714(0x40c)]();};}[_0x5fe29(0x1f3)](_0x4158dc,_0x502095,_0x265ba6,_0x221b37){const _0x3c9fa4=_0x5fe29,_0xbcb0c3=new _0x524529['ColorKit'](_0x4158dc)[_0x3c9fa4(0x367)](0.2)['toRgbString'](),_0x20fb49=new _0x6d82fc[(_0x3c9fa4(0x39a))](_0x57c2d9+_0x524529['Tools'][_0x3c9fa4(0x2ac)](_0x2403d7),{'pointsGroup':_0x502095,'fill':_0xbcb0c3||_0x6d82fc[_0x3c9fa4(0x363)](_0x524529['COLORS'][_0x3c9fa4(0x2ed)],0.2),'left':_0x265ba6,'top':_0x221b37,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3c9fa4(0x20f)]['push'](_0x20fb49),this[_0x3c9fa4(0x2a0)][_0x3c9fa4(0x3ff)](_0x20fb49,_0x37ba48[_0x3c9fa4(0x2d9)]);}[_0x5fe29(0x23f)](_0x212294,_0x475dcc,_0x289b10,_0xb2b37b){const _0x263b3b=_0x5fe29,_0x1ead10=new _0x524529[(_0x263b3b(0x223))](_0x212294)['setAlpha'](0.2)['toRgbString'](),_0x30dc00=new _0x6d82fc['RegularPolygon'](_0x24ed46+_0x524529[_0x263b3b(0x3ac)][_0x263b3b(0x2ac)](_0x2403d7),{'pointsGroup':_0x475dcc,'fill':_0x1ead10||_0x6d82fc[_0x263b3b(0x363)](_0x524529['COLORS'][_0x263b3b(0x2ed)],0.2),'left':_0x289b10,'top':_0xb2b37b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x263b3b(0x20f)]['push'](_0x30dc00),this['_scene'][_0x263b3b(0x3ff)](_0x30dc00,_0x37ba48['TEXT_RANGE_LAYER_INDEX']);}[_0x5fe29(0x1de)](_0x2c507c){const _0x1dee64=_0x2c507c[0x0],_0x302475=_0x1dee64[0x0],_0x31fc25=_0x1dee64[0x2],{x:_0x4f7909,y:_0x42aa45}=_0x302475,{x:_0x178517,y:_0x588104}=_0x31fc25;return{'left':_0x4f7909,'top':_0x42aa45,'width':_0x178517-_0x4f7909,'height':_0x588104-_0x42aa45};}[_0x5fe29(0x395)](){const _0x1dde1e=_0x5fe29,{scaleX:_0x1525fd,scaleY:_0x154057}=this[_0x1dde1e(0x2a0)][_0x1dde1e(0x3b1)]();return Math[_0x1dde1e(0x218)](_0x1525fd,_0x154057);}}var _0x85a59e=Object[_0x5fe29(0x409)],_0xb781a=Object[_0x5fe29(0x1d1)],_0x1595e0=(_0x5a59cd,_0x1a306f,_0x407be7,_0xd87a1f)=>{for(var _0x2df5b0=_0xd87a1f>0x1?void 0x0:_0xd87a1f?_0xb781a(_0x1a306f,_0x407be7):_0x1a306f,_0x2347fc=_0x5a59cd['length']-0x1,_0x4855f7;_0x2347fc>=0x0;_0x2347fc--)(_0x4855f7=_0x5a59cd[_0x2347fc])&&(_0x2df5b0=(_0xd87a1f?_0x4855f7(_0x1a306f,_0x407be7,_0x2df5b0):_0x4855f7(_0x2df5b0))||_0x2df5b0);return _0xd87a1f&&_0x2df5b0&&_0x85a59e(_0x1a306f,_0x407be7,_0x2df5b0),_0x2df5b0;},_0x1fac74=(_0x9c8123,_0x3a6298)=>(_0xe39dd5,_0x4b80e4)=>_0x3a6298(_0xe39dd5,_0x4b80e4,_0x9c8123);let _0x5423f8=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x37a418,_0x111b34,_0x5c1b7d,_0x3bb0ad,_0x132217){const _0x34955f=_0x5fe29;super(),_0x16f0e1(this,_0x34955f(0x3fc),[]),_0x16f0e1(this,_0x34955f(0x350),[]),(this[_0x34955f(0x361)]=_0x37a418,this['_docSkeletonManagerService']=_0x111b34,this[_0x34955f(0x1c6)]=_0x5c1b7d,this['_commandService']=_0x3bb0ad,this[_0x34955f(0x357)]=_0x132217,this[_0x34955f(0x2f6)]());}[_0x5fe29(0x2f6)](){const _0x5ce61d=_0x5fe29,_0x46827b=this[_0x5ce61d(0x361)][_0x5ce61d(0x40a)],_0x365c17=this[_0x5ce61d(0x318)];this[_0x5ce61d(0x31f)](_0x354597['combineLatest']([this[_0x5ce61d(0x1c6)][_0x5ce61d(0x1cd)](_0x46827b),this[_0x5ce61d(0x357)][_0x5ce61d(0x263)]])[_0x5ce61d(0x1f5)](_0x346dc5[_0x5ce61d(0x297)](([_0x385d38,_0x27e42f])=>({'skeleton':_0x365c17[_0x5ce61d(0x3b2)](),'cursors':[..._0x385d38['values']()][_0x5ce61d(0x1df)](_0x4284d9=>({..._0x4284d9,'color':_0x27e42f[_0x4284d9[_0x5ce61d(0x329)]]}))})))['subscribe'](_0x4ec736=>{const _0x3b3139=_0x5ce61d;if(this['_removeCollabCursors'](),_0x4ec736){const {skeleton:_0x2dd5ea,cursors:_0x24e7b0}=_0x4ec736;this[_0x3b3139(0x1e4)](_0x2dd5ea,_0x24e7b0);}})),this['_initResize'](),this[_0x5ce61d(0x1b1)]();}[_0x5fe29(0x1e4)](_0x2b4b10,_0x1e2964){const _0x23de0f=_0x5fe29,{scene:_0x85af2e,mainComponent:_0x1b17b4}=this[_0x23de0f(0x361)],_0x38de6c=_0x1e2964[_0x23de0f(0x297)](_0x225d30=>new _0x25f4b5(_0x225d30,_0x85af2e,_0x2b4b10,_0x1b17b4));this['_cursorShapes']=_0x38de6c,this[_0x23de0f(0x350)]=_0x1e2964;}[_0x5fe29(0x403)](){const _0x2bf92d=_0x5fe29;this[_0x2bf92d(0x2e8)]();const {scene:_0x1d6037,mainComponent:_0x4da5be}=this['_context'],_0x55e003=this[_0x2bf92d(0x318)][_0x2bf92d(0x3b2)](),_0x350d9a=this[_0x2bf92d(0x350)][_0x2bf92d(0x297)](_0x1451bc=>new _0x25f4b5(_0x1451bc,_0x1d6037,_0x55e003,_0x4da5be));this['_cursorShapes']=_0x350d9a;}[_0x5fe29(0x2e8)](){const _0x322017=_0x5fe29;this[_0x322017(0x3fc)][_0x322017(0x1d5)](_0x35f9de=>_0x35f9de[_0x322017(0x1f6)]()),this['_cursorShapes']=[];}[_0x5fe29(0x1b1)](){const _0xafc5c7=_0x5fe29,_0x56663d=[_0x37ba48[_0xafc5c7(0x3fe)]['id']];this[_0xafc5c7(0x31f)](this['_commandService'][_0xafc5c7(0x34b)](_0x4c668d=>{const _0xc69b5e=_0xafc5c7;_0x56663d[_0xc69b5e(0x345)](_0x4c668d['id'])&&_0x4c668d['params'][_0xc69b5e(0x40a)]===this[_0xc69b5e(0x361)]['unitId']&&this[_0xc69b5e(0x403)]();}));}['_initResize'](){const _0x3fa24e=_0x5fe29;this[_0x3fa24e(0x31f)](_0x524529[_0x3fa24e(0x343)](this[_0x3fa24e(0x361)][_0x3fa24e(0x23d)][_0x3fa24e(0x39d)])[_0x3fa24e(0x1f5)](_0x346dc5['filter'](_0xf28be3=>_0xf28be3[_0x3fa24e(0x2d3)]===_0x6d82fc['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3fa24e(0x399)]),_0x346dc5[_0x3fa24e(0x3bd)](0x10))['subscribe'](()=>{const _0x223481=_0x3fa24e;this[_0x223481(0x403)]();}));}};_0x5423f8=_0x1595e0([_0x1fac74(0x1,_0x524529[_0x5fe29(0x3ab)](_0x2745da[_0x5fe29(0x3a9)])),_0x1fac74(0x2,_0x524529[_0x5fe29(0x3ab)](_0x38d12a)),_0x1fac74(0x3,_0x524529[_0x5fe29(0x317)]),_0x1fac74(0x4,_0x524529[_0x5fe29(0x3ab)](_0x524529['ThemeService']))],_0x5423f8);const _0x2f7a88=0x1,_0x47902f=1.5;class _0x5c6578 extends _0x6d82fc[_0x5fe29(0x2a5)]{constructor(_0x23d470,_0x54e77b){const _0x5c65ef=_0x5fe29;super(_0x23d470,_0x54e77b),_0x16f0e1(this,_0x5c65ef(0x38b)),_0x16f0e1(this,'_hovered',!0x1),_0x16f0e1(this,_0x5c65ef(0x209)),_0x16f0e1(this,_0x5c65ef(0x19c),''),_0x16f0e1(this,_0x5c65ef(0x3a7),_0x5c65ef(0x351)),_0x16f0e1(this,_0x5c65ef(0x3f7)),(_0x54e77b&&this[_0x5c65ef(0x303)](_0x54e77b),this[_0x5c65ef(0x3f3)][_0x5c65ef(0x1b8)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x5c65ef(0x201)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5fe29(0x303)](_0x31012b){const _0x1769f4=_0x5fe29;var _0x2a3f2a,_0x1b8d0b,_0x38ffe1,_0x3bdfdf,_0x51a06a,_0xbbfef4;this[_0x1769f4(0x38b)]=(_0x2a3f2a=_0x31012b[_0x1769f4(0x329)])!=null?_0x2a3f2a:this[_0x1769f4(0x38b)],this[_0x1769f4(0x256)]=(_0x1b8d0b=_0x31012b[_0x1769f4(0x3a2)])!=null?_0x1b8d0b:this['_hovered'],this[_0x1769f4(0x209)]=(_0x38ffe1=_0x31012b[_0x1769f4(0x1d9)])!=null?_0x38ffe1:this[_0x1769f4(0x209)],this[_0x1769f4(0x19c)]=(_0x3bdfdf=_0x31012b[_0x1769f4(0x313)])!=null?_0x3bdfdf:this[_0x1769f4(0x19c)],this['_labelPosition']=(_0x51a06a=_0x31012b[_0x1769f4(0x290)])!=null?_0x51a06a:this[_0x1769f4(0x3a7)],this[_0x1769f4(0x3f7)]=(_0xbbfef4=_0x31012b[_0x1769f4(0x3d0)])!=null?_0xbbfef4:this[_0x1769f4(0x3f7)],this['transformByState']({'width':_0x31012b[_0x1769f4(0x328)],'height':_0x31012b[_0x1769f4(0x333)]});}[_0x5fe29(0x1cf)](_0x1069b9){const _0x5a1c79=_0x5fe29,{row:_0x1a1e2a,column:_0x4e957f}=_0x1069b9;if(_0x1a1e2a>=this[_0x5a1c79(0x209)]['startRow']&&_0x1a1e2a<=this[_0x5a1c79(0x209)][_0x5a1c79(0x282)]&&_0x4e957f>=this['_range'][_0x5a1c79(0x228)]&&_0x4e957f<=this['_range'][_0x5a1c79(0x2c1)]){this[_0x5a1c79(0x303)]({'hovered':!0x0});return;}this[_0x5a1c79(0x303)]({'hovered':!0x1});}['triggerDblclick'](_0x34ea81){return!0x1;}['_draw'](_0x39d440){const _0x5e74ae=_0x5fe29;_0x6d82fc[_0x5e74ae(0x3d9)]['drawWith'](_0x39d440,{'width':this['width'],'height':this[_0x5e74ae(0x333)],'strokeWidth':_0x47902f,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5e74ae(0x256)]&&(_0x39d440[_0x5e74ae(0x1a8)](),_0x39d440[_0x5e74ae(0x259)](0x1,0x0,0x0,0x1,this[_0x5e74ae(0x328)],this['_labelPosition']===_0x5e74ae(0x38e)?0x0:-_0x49f367),_0x3d7130['drawWith'](_0x39d440,{'text':this[_0x5e74ae(0x19c)],'color':this['_color']}),_0x39d440['restore']());}}var _0x5e5c4b=Object[_0x5fe29(0x409)],_0x53e2a8=Object[_0x5fe29(0x1d1)],_0x4a7d4b=(_0x529b7f,_0x57fb4c,_0x5d3141,_0x160ead)=>{const _0x2cafdb=_0x5fe29;for(var _0x1cc8d5=_0x160ead>0x1?void 0x0:_0x160ead?_0x53e2a8(_0x57fb4c,_0x5d3141):_0x57fb4c,_0x43f8ba=_0x529b7f[_0x2cafdb(0x19f)]-0x1,_0x31b42b;_0x43f8ba>=0x0;_0x43f8ba--)(_0x31b42b=_0x529b7f[_0x43f8ba])&&(_0x1cc8d5=(_0x160ead?_0x31b42b(_0x57fb4c,_0x5d3141,_0x1cc8d5):_0x31b42b(_0x1cc8d5))||_0x1cc8d5);return _0x160ead&&_0x1cc8d5&&_0x5e5c4b(_0x57fb4c,_0x5d3141,_0x1cc8d5),_0x1cc8d5;},_0x51d0db=(_0x29e1f0,_0x22cfba)=>(_0x32be08,_0x1f116d)=>_0x22cfba(_0x32be08,_0x1f116d,_0x29e1f0);const _0x44c1f8=0x1389;let _0xab1819=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x148232,_0x42262c,_0x42bd01,_0x3101fe){const _0x1cea2a=_0x5fe29;super(),_0x16f0e1(this,_0x1cea2a(0x350),new Set()),_0x16f0e1(this,_0x1cea2a(0x2fc),null),(this[_0x1cea2a(0x361)]=_0x148232,this[_0x1cea2a(0x25e)]=_0x42262c,this[_0x1cea2a(0x1c6)]=_0x42bd01,this['_themeService']=_0x3101fe,this[_0x1cea2a(0x2f6)]());}[_0x5fe29(0x2f6)](){const _0x22e1f8=_0x5fe29;this['_sheetSkeletonManagerService'][_0x22e1f8(0x1e9)][_0x22e1f8(0x1f5)](_0x346dc5[_0x22e1f8(0x35d)](this['dispose$']),_0x346dc5[_0x22e1f8(0x291)](_0x1af036=>{const _0x17c456=_0x22e1f8;if(_0x1af036){const _0x456c4c=_0x1af036[_0x17c456(0x394)];return _0x354597[_0x17c456(0x3b8)](this['_collabCursorController'][_0x17c456(0x1cd)](this[_0x17c456(0x361)][_0x17c456(0x40a)]),this['_themeService']['currentTheme$'])[_0x17c456(0x1f5)](_0x346dc5[_0x17c456(0x297)](([_0x20cd22,_0x4a0348])=>{const _0x3de871=_0x17c456,_0x1dab1f=new Map();return _0x20cd22[_0x3de871(0x1d5)]((_0x57262c,_0x136b6d)=>{const _0x137894=_0x3de871;if(_0x57262c[_0x137894(0x323)]===_0x456c4c){const _0x2fa310={..._0x57262c};_0x2fa310[_0x137894(0x329)]=_0x4a0348[_0x57262c[_0x137894(0x329)]],_0x1dab1f[_0x137894(0x2dc)](_0x136b6d,_0x2fa310);}}),{'skeleton':_0x1af036,'cursors':_0x1dab1f};}));}return _0x354597['of']({'skeleton':null,'cursors':new Map()});}))[_0x22e1f8(0x2a1)](({skeleton:_0x2eadb8,cursors:_0x1bd370})=>{const _0x46754e=_0x22e1f8;this[_0x46754e(0x2e8)](),_0x2eadb8&&this[_0x46754e(0x1e4)](_0x2eadb8,_0x1bd370);}),this[_0x22e1f8(0x25e)][_0x22e1f8(0x1e9)][_0x22e1f8(0x2a1)](_0x2e33fc=>{const _0x4b3caa=_0x22e1f8;if(_0x2e33fc==null)return;const {skeleton:_0x134bab}=_0x2e33fc,{scene:_0x6e3d2c}=this[_0x4b3caa(0x361)];_0x6e3d2c[_0x4b3caa(0x3ee)][_0x4b3caa(0x1b8)](_0x524529['debounce'](_0x308eb0=>{const _0x1fe202=_0x4b3caa;var _0x409a80,_0x3967c6;const {offsetX:_0x56914b,offsetY:_0x37aafc}=_0x308eb0,{x:_0x2a82be,y:_0x33146d}=_0x6e3d2c[_0x1fe202(0x242)](_0x6d82fc[_0x1fe202(0x377)]['FromArray']([_0x56914b,_0x37aafc])),{scaleX:_0x41849c,scaleY:_0x3493dc}=_0x6e3d2c[_0x1fe202(0x3b1)](),_0x146d41=_0x6e3d2c[_0x1fe202(0x237)](_0x6d82fc[_0x1fe202(0x1e0)][_0x1fe202(0x3d3)]),_0xa41278=_0x6e3d2c[_0x1fe202(0x346)](_0x6d82fc[_0x1fe202(0x377)]['FromArray']([_0x2a82be,_0x33146d]),_0x146d41),_0x2edfeb=_0x134bab[_0x1fe202(0x2db)](_0x56914b,_0x37aafc,_0x41849c,_0x3493dc,_0xa41278);((_0x409a80=this[_0x1fe202(0x2fc)])==null?void 0x0:_0x409a80[_0x1fe202(0x28f)])===_0x2edfeb[_0x1fe202(0x28f)]&&((_0x3967c6=this[_0x1fe202(0x2fc)])==null?void 0x0:_0x3967c6[_0x1fe202(0x205)])===_0x2edfeb[_0x1fe202(0x205)]||this['_cursors'][_0x1fe202(0x1d5)](_0x49dec5=>{const _0x53eb8b=_0x1fe202;_0x49dec5[_0x53eb8b(0x1cf)](_0x2edfeb);});},0x64));});}[_0x5fe29(0x1e4)](_0x4b6e21,_0x46013f){const _0xb7d3a1=_0x5fe29;var _0x390fae;const _0x3d97b3=(_0x390fae=this[_0xb7d3a1(0x25e)][_0xb7d3a1(0x25d)]())==null?void 0x0:_0x390fae['skeleton'];if(!_0x3d97b3)return;const _0x4e7060=this[_0xb7d3a1(0x1dd)]();if(!_0x4e7060)return;this[_0xb7d3a1(0x350)]['forEach'](_0x2f9563=>{const _0x4bc3f1=_0xb7d3a1;_0x2f9563[_0x4bc3f1(0x37e)]();});const {scene:_0x1bc60e}=_0x4e7060,_0x10d188=_0x5523de(Array[_0xb7d3a1(0x200)](_0x46013f[_0xb7d3a1(0x1ce)]()))['map'](_0x4ef47b=>{const _0x2f143a=_0xb7d3a1,{color:_0x299b6c,range:_0x47a3dd,name:_0x362d0b,selection:_0x3d6c7f,sheetID:_0x3c77f2}=_0x4ef47b,{startColumn:_0x470d8a,startRow:_0x4583bf,endColumn:_0x944c68,endRow:_0x2ab1f8}=_0x47a3dd,_0x94db26=_0x253ca9[_0x2f143a(0x27a)](_0x4583bf,_0x470d8a,_0x1bc60e,_0x3d97b3),_0x4c386d=_0x253ca9[_0x2f143a(0x27a)](_0x2ab1f8,_0x944c68,_0x1bc60e,_0x3d97b3),{columnHeaderHeightAndMarginTop:_0x3acf7f}=_0x3d97b3,{startX:_0x143933,startY:_0x93204c}=_0x94db26,{endX:_0x3af5d5,endY:_0x21605c}=_0x4c386d,_0x6bab51=_0x3af5d5-_0x143933,_0x52d68d=_0x21605c-_0x93204c,_0x4a6852={'labelPosition':_0x93204c-_0x3acf7f>=_0x49f367?_0x2f143a(0x351):_0x2f143a(0x38e),'sheetID':_0x3c77f2,'range':_0x47a3dd,'color':_0x299b6c,'name':_0x362d0b,'selection':_0x3d6c7f,'left':_0x143933,'top':_0x93204c,'width':_0x6bab51,'height':_0x52d68d,'evented':!0x1,'zIndex':_0x44c1f8};return new _0x5c6578(_0x362d0b,_0x4a6852);});_0x1bc60e[_0xb7d3a1(0x1ad)](_0x10d188,_0x2f7a88),this[_0xb7d3a1(0x350)]=new Set(_0x10d188);}[_0x5fe29(0x2e8)](){const _0x30064b=_0x5fe29;var _0x3f1fc7;(_0x3f1fc7=this[_0x30064b(0x350)])==null||_0x3f1fc7[_0x30064b(0x1d5)](_0x5c95b4=>_0x5c95b4[_0x30064b(0x1f6)]());}[_0x5fe29(0x1dd)](){const _0x4472ac=_0x5fe29;return _0x253ca9[_0x4472ac(0x199)](this[_0x4472ac(0x361)][_0x4472ac(0x3b6)],this[_0x4472ac(0x361)]);}};_0xab1819=_0x4a7d4b([_0x51d0db(0x1,_0x524529[_0x5fe29(0x3ab)](_0x253ca9[_0x5fe29(0x404)])),_0x51d0db(0x2,_0x524529[_0x5fe29(0x3ab)](_0x38d12a)),_0x51d0db(0x3,_0x524529[_0x5fe29(0x3ab)](_0x524529['ThemeService']))],_0xab1819);function _0x5523de(_0x312f57){const _0x134679=_0x5fe29,_0x479cc4=new Map();return _0x312f57[_0x134679(0x1d5)](_0x221a6b=>{const _0x142118=_0x134679;if(_0x479cc4[_0x142118(0x326)](_0x221a6b[_0x142118(0x1d6)])){const _0xe51825=_0x479cc4[_0x142118(0x21d)](_0x221a6b[_0x142118(0x1d6)]);_0xe51825['name']+=',\x20'+_0x221a6b[_0x142118(0x313)];}else _0x479cc4[_0x142118(0x2dc)](_0x221a6b['selection'],_0x221a6b);}),Array[_0x134679(0x200)](_0x479cc4[_0x134679(0x1ce)]());}var _0x3089dc={'exports':{}},_0x361c4a={},_0x11487e;function _0x4873c4(){const _0x565fc0=_0x5fe29;if(_0x11487e)return _0x361c4a;_0x11487e=0x1;var _0xa3bdee=_0x50d71e,_0x297314=Symbol['for']('react.element'),_0x536a40=Symbol[_0x565fc0(0x19d)](_0x565fc0(0x1fd)),_0x3ea3cd=Object[_0x565fc0(0x1dc)]['hasOwnProperty'],_0x5c97f3=_0xa3bdee['__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED'][_0x565fc0(0x197)],_0x3e78e5={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x5799c2(_0x1a3df8,_0x5c444f,_0x2f1616){const _0x5c9893=_0x565fc0;var _0x2087d4,_0x477878={},_0x9ae55a=null,_0x592f9b=null;_0x2f1616!==void 0x0&&(_0x9ae55a=''+_0x2f1616),_0x5c444f[_0x5c9893(0x2b1)]!==void 0x0&&(_0x9ae55a=''+_0x5c444f[_0x5c9893(0x2b1)]),_0x5c444f[_0x5c9893(0x202)]!==void 0x0&&(_0x592f9b=_0x5c444f[_0x5c9893(0x202)]);for(_0x2087d4 in _0x5c444f)_0x3ea3cd['call'](_0x5c444f,_0x2087d4)&&!_0x3e78e5[_0x5c9893(0x2b6)](_0x2087d4)&&(_0x477878[_0x2087d4]=_0x5c444f[_0x2087d4]);if(_0x1a3df8&&_0x1a3df8[_0x5c9893(0x293)]){for(_0x2087d4 in(_0x5c444f=_0x1a3df8[_0x5c9893(0x293)],_0x5c444f))_0x477878[_0x2087d4]===void 0x0&&(_0x477878[_0x2087d4]=_0x5c444f[_0x2087d4]);}return{'$$typeof':_0x297314,'type':_0x1a3df8,'key':_0x9ae55a,'ref':_0x592f9b,'props':_0x477878,'_owner':_0x5c97f3[_0x5c9893(0x2ae)]};}return _0x361c4a[_0x565fc0(0x2b4)]=_0x536a40,_0x361c4a[_0x565fc0(0x206)]=_0x5799c2,_0x361c4a[_0x565fc0(0x25b)]=_0x5799c2,_0x361c4a;}var _0x557491;function _0x9d63f7(){const _0x2d2be9=_0x5fe29;return _0x557491||(_0x557491=0x1,_0x3089dc[_0x2d2be9(0x389)]=_0x4873c4()),_0x3089dc[_0x2d2be9(0x389)];}var _0x4a003c=_0x9d63f7(),_0x2d5742=function(){const _0x2bf437=_0x5fe29;return _0x2d5742=Object[_0x2bf437(0x1f7)]||function(_0x569712){const _0xa78370=_0x2bf437;for(var _0x3eb238,_0x53ace9=0x1,_0x4a4f4b=arguments[_0xa78370(0x19f)];_0x53ace9<_0x4a4f4b;_0x53ace9++){_0x3eb238=arguments[_0x53ace9];for(var _0xe601cc in _0x3eb238)Object[_0xa78370(0x1dc)][_0xa78370(0x2b6)]['call'](_0x3eb238,_0xe601cc)&&(_0x569712[_0xe601cc]=_0x3eb238[_0xe601cc]);}return _0x569712;},_0x2d5742[_0x2bf437(0x2f4)](this,arguments);},_0x260e6b=function(_0x508beb,_0x45053f){const _0x3ae6c6=_0x5fe29;var _0x540530={};for(var _0x7af846 in _0x508beb)Object[_0x3ae6c6(0x1dc)][_0x3ae6c6(0x2b6)][_0x3ae6c6(0x327)](_0x508beb,_0x7af846)&&_0x45053f[_0x3ae6c6(0x34a)](_0x7af846)<0x0&&(_0x540530[_0x7af846]=_0x508beb[_0x7af846]);if(_0x508beb!=null&&typeof Object[_0x3ae6c6(0x3c0)]==_0x3ae6c6(0x2dd)){for(var _0x30b8a1=0x0,_0x7af846=Object[_0x3ae6c6(0x3c0)](_0x508beb);_0x30b8a1<_0x7af846[_0x3ae6c6(0x19f)];_0x30b8a1++)_0x45053f[_0x3ae6c6(0x34a)](_0x7af846[_0x30b8a1])<0x0&&Object[_0x3ae6c6(0x1dc)]['propertyIsEnumerable']['call'](_0x508beb,_0x7af846[_0x30b8a1])&&(_0x540530[_0x7af846[_0x30b8a1]]=_0x508beb[_0x7af846[_0x30b8a1]]);}return _0x540530;},_0x20f4fb=_0x50d71e[_0x5fe29(0x3b0)](function(_0x19b1d2,_0xbdb0a6){const _0x31ab18=_0x5fe29;var _0x334848=_0x19b1d2['icon'],_0x170c1e=_0x19b1d2['id'],_0x3a2e98=_0x19b1d2[_0x31ab18(0x34d)],_0x4845f2=_0x19b1d2[_0x31ab18(0x2f5)],_0x4e676c=_0x260e6b(_0x19b1d2,['icon','id',_0x31ab18(0x34d),_0x31ab18(0x2f5)]),_0x105d71=_0x31ab18(0x190)[_0x31ab18(0x358)](_0x170c1e,'\x20')[_0x31ab18(0x358)](_0x3a2e98||'')[_0x31ab18(0x26a)](),_0x511d85=_0x50d71e[_0x31ab18(0x22a)]('_'['concat'](_0xe553e4()));return _0x4ee48d(_0x334848,''['concat'](_0x170c1e),{'defIds':_0x334848['defIds'],'idSuffix':_0x511d85[_0x31ab18(0x2ae)]},_0x2d5742({'ref':_0xbdb0a6,'className':_0x105d71},_0x4e676c),_0x4845f2);});function _0x4ee48d(_0x4669f1,_0x3971d7,_0x4d93af,_0x526c05,_0x3b82e6){const _0x19aaea=_0x5fe29;return _0x50d71e[_0x19aaea(0x280)](_0x4669f1[_0x19aaea(0x3c2)],_0x2d5742(_0x2d5742({'key':_0x3971d7},_0x456dcd(_0x4669f1,_0x4d93af,_0x3b82e6)),_0x526c05),(_0x52256d(_0x4669f1,_0x4d93af)[_0x19aaea(0x268)]||[])['map'](function(_0x2a9263,_0x3ea9c7){const _0x23e5e4=_0x19aaea;return _0x4ee48d(_0x2a9263,''['concat'](_0x3971d7,'-')['concat'](_0x4669f1['tag'],'-')[_0x23e5e4(0x358)](_0x3ea9c7),_0x4d93af,void 0x0,_0x3b82e6);}));}function _0x456dcd(_0x3f8875,_0x5aeaea,_0x4bdcbe){const _0x1374dc=_0x5fe29;var _0x52c2a1=_0x2d5742({},_0x3f8875[_0x1374dc(0x284)]);_0x4bdcbe!=null&&_0x4bdcbe[_0x1374dc(0x2cf)]&&_0x52c2a1[_0x1374dc(0x3b3)]==='colorChannel1'&&(_0x52c2a1[_0x1374dc(0x3b3)]=_0x4bdcbe[_0x1374dc(0x2cf)]);var _0x4af346=_0x5aeaea[_0x1374dc(0x18a)];return!_0x4af346||_0x4af346[_0x1374dc(0x19f)]===0x0||(_0x3f8875[_0x1374dc(0x3c2)]===_0x1374dc(0x2d8)&&_0x52c2a1['xlink:href']&&(_0x52c2a1[_0x1374dc(0x388)]=_0x52c2a1[_0x1374dc(0x388)]+_0x5aeaea['idSuffix']),Object[_0x1374dc(0x2b7)](_0x52c2a1)[_0x1374dc(0x1d5)](function(_0x16ea39){const _0x3befa3=_0x1374dc;var _0x5a6227=_0x16ea39[0x0],_0x306780=_0x16ea39[0x1];typeof _0x306780=='string'&&(_0x52c2a1[_0x5a6227]=_0x306780[_0x3befa3(0x1da)](/url\(#(.*)\)/,_0x3befa3(0x398)[_0x3befa3(0x358)](_0x5aeaea['idSuffix'],')')));})),_0x52c2a1;}function _0x52256d(_0x2b130a,_0x5a7972){const _0x1843d0=_0x5fe29;var _0x552d7b,_0xc5a296=_0x5a7972['defIds'];return!_0xc5a296||_0xc5a296[_0x1843d0(0x19f)]===0x0?_0x2b130a:_0x2b130a[_0x1843d0(0x3c2)]==='defs'&&(!((_0x552d7b=_0x2b130a[_0x1843d0(0x268)])===null||_0x552d7b===void 0x0)&&_0x552d7b[_0x1843d0(0x19f)])?_0x2d5742(_0x2d5742({},_0x2b130a),{'children':_0x2b130a[_0x1843d0(0x268)][_0x1843d0(0x297)](function(_0x57c980){const _0x4468fb=_0x1843d0;return typeof _0x57c980[_0x4468fb(0x284)]['id']==_0x4468fb(0x23b)&&_0xc5a296&&_0xc5a296[_0x4468fb(0x34a)](_0x57c980[_0x4468fb(0x284)]['id'])>-0x1?_0x2d5742(_0x2d5742({},_0x57c980),{'attrs':_0x2d5742(_0x2d5742({},_0x57c980[_0x4468fb(0x284)]),{'id':_0x57c980[_0x4468fb(0x284)]['id']+_0x5a7972[_0x4468fb(0x3da)]})}):_0x57c980;})}):_0x2b130a;}function _0xe553e4(){const _0x1e15f6=_0x5fe29;return Math['random']()[_0x1e15f6(0x3d6)](0x24)[_0x1e15f6(0x32e)](0x2,0x8);}_0x20f4fb['displayName']=_0x5fe29(0x1a5);var _0x12ff6f={'tag':_0x5fe29(0x29c),'attrs':{'fill':_0x5fe29(0x339),'viewBox':_0x5fe29(0x2ca),'width':'1em','height':_0x5fe29(0x1fa)},'children':[{'tag':'g','attrs':{'clipPath':_0x5fe29(0x18c)},'children':[{'tag':_0x5fe29(0x1fc),'attrs':{'stroke':_0x5fe29(0x30d),'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':_0x5fe29(0x1c2),'strokeLinejoin':_0x5fe29(0x1c2),'strokeWidth':1.2}}]},{'tag':_0x5fe29(0x29a),'attrs':{},'children':[{'tag':_0x5fe29(0x3ad),'attrs':{'id':_0x5fe29(0x270)},'children':[{'tag':_0x5fe29(0x1fc),'attrs':{'fill':_0x5fe29(0x18d),'d':_0x5fe29(0x294)}}]}]}],'defIds':[_0x5fe29(0x270)]},_0x3bd41f=_0x50d71e[_0x5fe29(0x3b0)](function(_0x6d6abd,_0x3df1ea){const _0xe12159=_0x5fe29;return _0x50d71e[_0xe12159(0x280)](_0x20f4fb,Object[_0xe12159(0x1f7)]({},_0x6d6abd,{'id':_0xe12159(0x316),'ref':_0x3df1ea,'icon':_0x12ff6f}));});_0x3bd41f[_0x5fe29(0x2cc)]=_0x5fe29(0x277);var _0x4c1c6e={'tag':'svg','attrs':{'fill':_0x5fe29(0x339),'viewBox':_0x5fe29(0x26b),'width':'1em','height':_0x5fe29(0x1fa)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x5fe29(0x1fc),'attrs':{'stroke':_0x5fe29(0x30d),'d':_0x5fe29(0x1d7),'strokeLinecap':'round','strokeLinejoin':_0x5fe29(0x1c2),'strokeWidth':1.2}}]},{'tag':_0x5fe29(0x29a),'attrs':{},'children':[{'tag':_0x5fe29(0x3ad),'attrs':{'id':_0x5fe29(0x1ae)},'children':[{'tag':_0x5fe29(0x1fc),'attrs':{'fill':_0x5fe29(0x18d),'d':_0x5fe29(0x294),'transform':_0x5fe29(0x240)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x1c8583=_0x50d71e[_0x5fe29(0x3b0)](function(_0x3331fd,_0x443582){const _0x4acbca=_0x5fe29;return _0x50d71e[_0x4acbca(0x280)](_0x20f4fb,Object[_0x4acbca(0x1f7)]({},_0x3331fd,{'id':'on-line-single','ref':_0x443582,'icon':_0x4c1c6e}));});_0x1c8583[_0x5fe29(0x2cc)]=_0x5fe29(0x2c0);function _0x10c924(_0x38c5bf){const _0x43b484=_0x5fe29;var _0x2f4126,_0xeea5a3,_0xd93b01='';if(typeof _0x38c5bf=='string'||typeof _0x38c5bf=='number')_0xd93b01+=_0x38c5bf;else{if(typeof _0x38c5bf==_0x43b484(0x314)){if(Array[_0x43b484(0x322)](_0x38c5bf)){var _0x426274=_0x38c5bf[_0x43b484(0x19f)];for(_0x2f4126=0x0;_0x2f4126<_0x426274;_0x2f4126++)_0x38c5bf[_0x2f4126]&&(_0xeea5a3=_0x10c924(_0x38c5bf[_0x2f4126]))&&(_0xd93b01&&(_0xd93b01+='\x20'),_0xd93b01+=_0xeea5a3);}else{for(_0xeea5a3 in _0x38c5bf)_0x38c5bf[_0xeea5a3]&&(_0xd93b01&&(_0xd93b01+='\x20'),_0xd93b01+=_0xeea5a3);}}}return _0xd93b01;}function _0xfcc6f0(){const _0x32d31d=_0x5fe29;for(var _0x50b680,_0x495b41,_0x43dabb=0x0,_0x20d526='',_0x246da4=arguments[_0x32d31d(0x19f)];_0x43dabb<_0x246da4;_0x43dabb++)(_0x50b680=arguments[_0x43dabb])&&(_0x495b41=_0x10c924(_0x50b680))&&(_0x20d526&&(_0x20d526+='\x20'),_0x20d526+=_0x495b41);return _0x20d526;}const _0x44e372={'onlineStatusIcon':_0x5fe29(0x37d),'onlineStatusTitle':_0x5fe29(0x26e),'onlineStatus':'univer-online-status','online':'univer-online','offline':_0x5fe29(0x25a)};function _0x2882f0(_0x344ff4){const _0x2c23d5=_0x5fe29;switch(_0x344ff4){case _0xfc7012[_0x2c23d5(0x304)][_0x2c23d5(0x3b7)]:return _0x2c23d5(0x31c);case _0xfc7012['CollaborationStatus']['CONFLICT']:return'collabStatus.conflict';case _0xfc7012[_0x2c23d5(0x304)][_0x2c23d5(0x258)]:return _0x2c23d5(0x381);case _0xfc7012[_0x2c23d5(0x304)][_0x2c23d5(0x2a3)]:return _0x2c23d5(0x3f0);case _0xfc7012[_0x2c23d5(0x304)][_0x2c23d5(0x300)]:case _0xfc7012['CollaborationStatus'][_0x2c23d5(0x39b)]:return _0x2c23d5(0x1cb);case _0xfc7012[_0x2c23d5(0x304)][_0x2c23d5(0x283)]:case _0xfc7012[_0x2c23d5(0x304)][_0x2c23d5(0x1d8)]:return _0x2c23d5(0x2d0);}}function _0x138f48(_0x169331){const _0x265488=_0x5fe29,{status$:_0x108a47}=_0x169331,_0x3c2aed=_0x5b9b9e['useObservable'](_0x108a47,_0xfc7012[_0x265488(0x304)][_0x265488(0x2a3)]),_0x24b7eb=_0x524529[_0x265488(0x3cb)](_0x524529[_0x265488(0x278)]),_0x248b37=_0x524529[_0x265488(0x3cb)](_0xfc7012[_0x265488(0x2f0)]),_0x2abd99=_0x3c2aed!==_0xfc7012[_0x265488(0x304)][_0x265488(0x3b7)],_0x4946df=_0x24b7eb['t'](_0x2882f0(_0x3c2aed)),_0x566d2c=_0xfcc6f0(_0x44e372[_0x265488(0x272)],{[_0x44e372[_0x265488(0x22d)]]:_0x2abd99,[_0x44e372[_0x265488(0x1db)]]:!_0x2abd99}),_0x3c6608=_0x2abd99?_0x4a003c['jsx'](_0x1c8583,{}):_0x4a003c[_0x265488(0x206)](_0x3bd41f,{}),_0x5bf880=_0x50d71e[_0x265488(0x3f4)](()=>{_0x2abd99||_0x248b37['reconnect']();},[_0x2abd99,_0x248b37]);function _0x382c7e(){const _0x3915f0=_0x265488;return _0x4a003c[_0x3915f0(0x25b)](_0x3915f0(0x1aa),{'className':_0xfcc6f0(_0x566d2c,'univer-flex\x20univer-items-center'),'onClick':_0x5bf880,'children':[_0x4a003c[_0x3915f0(0x206)]('div',{'className':_0x44e372[_0x3915f0(0x3d7)],'children':_0x3c6608}),_0x4a003c[_0x3915f0(0x206)](_0x3915f0(0x1aa),{'className':_0x44e372['onlineStatusTitle'],'children':_0x4946df})]});}return _0x2abd99?_0x382c7e():_0x4a003c[_0x265488(0x206)](_0x4a3f7f[_0x265488(0x380)],{'title':_0x24b7eb['t'](_0x265488(0x1e2)),'children':_0x382c7e()});}var _0x1dd897=Object['defineProperty'],_0x4b9c61=Object['getOwnPropertyDescriptor'],_0x44be02=(_0x3820ee,_0x158929,_0x3d93bc,_0x15402d)=>{const _0x4cdff9=_0x5fe29;for(var _0x37eb33=_0x15402d>0x1?void 0x0:_0x15402d?_0x4b9c61(_0x158929,_0x3d93bc):_0x158929,_0x5ef866=_0x3820ee[_0x4cdff9(0x19f)]-0x1,_0x566cf1;_0x5ef866>=0x0;_0x5ef866--)(_0x566cf1=_0x3820ee[_0x5ef866])&&(_0x37eb33=(_0x15402d?_0x566cf1(_0x158929,_0x3d93bc,_0x37eb33):_0x566cf1(_0x37eb33))||_0x37eb33);return _0x15402d&&_0x37eb33&&_0x1dd897(_0x158929,_0x3d93bc,_0x37eb33),_0x37eb33;},_0x552f94=(_0x25eca8,_0x554a55)=>(_0x5a2ac0,_0x4b037f)=>_0x554a55(_0x5a2ac0,_0x4b037f,_0x25eca8);_0x4768c7[_0x5fe29(0x1c9)]=class extends _0x524529['Disposable']{constructor(_0x39c6c5,_0x123f4a,_0x3f5721,_0x418670){const _0xec3808=_0x5fe29;super(),_0x16f0e1(this,_0xec3808(0x36a),new _0x354597[(_0xec3808(0x324))](_0xfc7012[_0xec3808(0x304)][_0xec3808(0x2a3)])),(this[_0xec3808(0x27d)]=_0x39c6c5,this['_injector']=_0x123f4a,this[_0xec3808(0x2ce)]=_0x3f5721,this[_0xec3808(0x2f1)]=_0x418670,this[_0xec3808(0x235)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x429438=_0x5fe29;this['disposeWithMe'](this[_0x429438(0x27d)][_0x429438(0x2f3)][_0x429438(0x1f5)](_0x354597[_0x429438(0x291)](()=>{const _0x3b0bbe=_0x429438,_0x473ae9=this[_0x3b0bbe(0x27d)][_0x3b0bbe(0x229)]();return _0x473ae9?this[_0x3b0bbe(0x2ce)][_0x3b0bbe(0x2e6)](_0x473ae9[_0x3b0bbe(0x3e8)]()):_0x354597['of'](null);}),_0x354597['switchMap'](_0x457bae=>_0x457bae?_0x457bae[_0x429438(0x3e5)]:_0x354597['of'](_0xfc7012[_0x429438(0x304)][_0x429438(0x2a3)])))[_0x429438(0x2a1)](_0x85e91b=>{const _0x12dd88=_0x429438;this[_0x12dd88(0x36a)][_0x12dd88(0x3ea)](_0x85e91b);}));}[_0x5fe29(0x235)](){const _0x370703=_0x5fe29;this[_0x370703(0x31f)](this[_0x370703(0x2f1)][_0x370703(0x30c)](_0x5b9b9e[_0x370703(0x241)][_0x370703(0x375)],()=>_0x524529['connectInjector'](_0x13e542({'status$':this[_0x370703(0x36a)][_0x370703(0x2a7)]()}),this[_0x370703(0x3f2)])));}},_0x4768c7[_0x5fe29(0x1c9)]=_0x44be02([_0x552f94(0x0,_0x524529[_0x5fe29(0x383)]),_0x552f94(0x1,_0x524529['Inject'](_0x524529[_0x5fe29(0x391)])),_0x552f94(0x2,_0x524529[_0x5fe29(0x3ab)](_0xfc7012[_0x5fe29(0x3ef)])),_0x552f94(0x3,_0x5b9b9e[_0x5fe29(0x3c8)])],_0x4768c7[_0x5fe29(0x1c9)]);function _0x13e542(_0x45b64b){const {status$:_0x4e2bec}=_0x45b64b;return function(){const _0x44f5df=_0x5c4b;return _0x4a003c[_0x44f5df(0x206)](_0x138f48,{'status$':_0x4e2bec});};}var _0x176b67=Object[_0x5fe29(0x409)],_0x40cf38=Object[_0x5fe29(0x1d1)],_0x584759=(_0xf3097b,_0x33d86e,_0xca782d,_0x54084b)=>{const _0x4cf396=_0x5fe29;for(var _0x2268be=_0x54084b>0x1?void 0x0:_0x54084b?_0x40cf38(_0x33d86e,_0xca782d):_0x33d86e,_0x313b83=_0xf3097b[_0x4cf396(0x19f)]-0x1,_0x1c53b0;_0x313b83>=0x0;_0x313b83--)(_0x1c53b0=_0xf3097b[_0x313b83])&&(_0x2268be=(_0x54084b?_0x1c53b0(_0x33d86e,_0xca782d,_0x2268be):_0x1c53b0(_0x2268be))||_0x2268be);return _0x54084b&&_0x2268be&&_0x176b67(_0x33d86e,_0xca782d,_0x2268be),_0x2268be;},_0x1e168e=(_0x17058a,_0x2a3831)=>(_0x3639ec,_0x34c71c)=>_0x2a3831(_0x3639ec,_0x34c71c,_0x17058a);let _0x49cf5b=class extends _0x524529[_0x5fe29(0x3e3)]{constructor(_0x205a31,_0x357b6e,_0x5bafcf,_0x2afc39,_0x3f7ed3,_0x585c8b){const _0x3fb57e=_0x5fe29;super(),this[_0x3fb57e(0x3ed)]=_0x205a31,this[_0x3fb57e(0x1d4)]=_0x357b6e,this['_collaborationUIEventService']=_0x5bafcf,this[_0x3fb57e(0x222)]=_0x2afc39,this[_0x3fb57e(0x3e2)]=_0x3f7ed3,this['_localeService']=_0x585c8b,this[_0x3fb57e(0x20d)](),this[_0x3fb57e(0x248)]();}['_setupBeforeClosingHandler'](){const _0x2970ef=_0x5fe29;this['disposeWithMe'](this[_0x2970ef(0x3ed)]['registerBeforeClose'](()=>{const _0x1ca152=_0x2970ef;if(this[_0x1ca152(0x1d4)][_0x1ca152(0x1f4)][_0x1ca152(0x3d8)])return this[_0x1ca152(0x285)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x5fe29(0x248)](){const _0x1cf8a6=_0x5fe29;this[_0x1cf8a6(0x31f)](this['_collaborationUIEventService']['event$']['subscribe'](_0x4d6d18=>{const _0x5764aa=_0x1cf8a6;_0x4d6d18['id']===_0xfc7012[_0x5764aa(0x31e)][_0x5764aa(0x386)]&&this['_messageService'][_0x5764aa(0x407)]({'type':_0x4a3f7f[_0x5764aa(0x198)][_0x5764aa(0x3cc)],'content':this[_0x5764aa(0x285)]['t'](_0x5764aa(0x215))}),_0x4d6d18['id']===_0xfc7012['CollaborationUIEventId'][_0x5764aa(0x1d0)]&&this['_messageService']['show']({'type':_0x4a3f7f[_0x5764aa(0x198)][_0x5764aa(0x3cc)],'content':this['_localeService']['t'](_0x5764aa(0x36c))}),_0x4d6d18['id']===_0xfc7012['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x5764aa(0x3e2)][_0x5764aa(0x407)]({'title':this[_0x5764aa(0x285)]['t'](_0x5764aa(0x360)),'content':this[_0x5764aa(0x285)]['t']('permission.content'),'type':_0x5764aa(0x1be),'duration':0x0}),_0x4d6d18['id']===_0xfc7012['CollaborationUIEventId'][_0x5764aa(0x1b4)]&&this[_0x5764aa(0x222)][_0x5764aa(0x407)]({'type':_0x4a3f7f['MessageType']['Error'],'content':this['_localeService']['t'](_0x5764aa(0x36c))+'('+_0x4d6d18[_0x5764aa(0x210)]+')'}),_0x4d6d18['id']===_0xfc7012[_0x5764aa(0x31e)][_0x5764aa(0x1e5)]&&this[_0x5764aa(0x222)][_0x5764aa(0x407)]({'type':_0x4a3f7f[_0x5764aa(0x198)]['Warning'],'content':this[_0x5764aa(0x285)]['t'](_0x4d6d18['data']||'')}),_0x4d6d18['id']===_0xfc7012[_0x5764aa(0x31e)][_0x5764aa(0x370)]&&this['_messageService']['show']({'type':_0x4a3f7f[_0x5764aa(0x198)]['Warning'],'content':this[_0x5764aa(0x285)]['t'](_0x5764aa(0x1a1))}),_0x4d6d18['id']===_0xfc7012['CollaborationUIEventId'][_0x5764aa(0x265)]&&this[_0x5764aa(0x222)]['show']({'type':_0x4a3f7f[_0x5764aa(0x198)][_0x5764aa(0x3d1)],'content':this[_0x5764aa(0x285)]['t'](_0x5764aa(0x273))}),_0x4d6d18['id']===_0xfc7012[_0x5764aa(0x31e)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x5764aa(0x222)][_0x5764aa(0x407)]({'type':_0x4a3f7f[_0x5764aa(0x198)][_0x5764aa(0x3d1)],'content':this[_0x5764aa(0x285)]['t'](_0x5764aa(0x341))});}));}};_0x49cf5b=_0x584759([_0x1e168e(0x0,_0x5b9b9e['IBeforeCloseService']),_0x1e168e(0x1,_0xfc7012['ILocalCacheService']),_0x1e168e(0x2,_0x524529['Inject'](_0xfc7012[_0x5fe29(0x24d)])),_0x1e168e(0x3,_0x5b9b9e[_0x5fe29(0x3e0)]),_0x1e168e(0x4,_0x5b9b9e['INotificationService']),_0x1e168e(0x5,_0x524529['Inject'](_0x524529[_0x5fe29(0x278)]))],_0x49cf5b);const _0x4820a8=_0x5fe29(0x257),_0x2462c3={},_0x3a23fa=_0x524529['createIdentifier']('uni.network.url-service');var _0x4967e5=Object[_0x5fe29(0x409)],_0x169d9e=Object[_0x5fe29(0x1d1)],_0xdfd09d=(_0x447f34,_0x87b0f0,_0x41b1f8,_0x193b7d)=>{const _0x24d785=_0x5fe29;for(var _0x1488b1=_0x193b7d>0x1?void 0x0:_0x193b7d?_0x169d9e(_0x87b0f0,_0x41b1f8):_0x87b0f0,_0x391fd5=_0x447f34[_0x24d785(0x19f)]-0x1,_0x15d9cc;_0x391fd5>=0x0;_0x391fd5--)(_0x15d9cc=_0x447f34[_0x391fd5])&&(_0x1488b1=(_0x193b7d?_0x15d9cc(_0x87b0f0,_0x41b1f8,_0x1488b1):_0x15d9cc(_0x1488b1))||_0x1488b1);return _0x193b7d&&_0x1488b1&&_0x4967e5(_0x87b0f0,_0x41b1f8,_0x1488b1),_0x1488b1;},_0x1dc3aa=(_0x20e520,_0x5675f3)=>(_0x18fb38,_0xcaa75)=>_0x5675f3(_0x18fb38,_0xcaa75,_0x20e520);_0x4768c7[_0x5fe29(0x249)]=class extends _0x524529[_0x5fe29(0x34c)]{constructor(_0x3756ff,_0x56e94e,_0x1e0b15,_0xdf7072,_0x3fc6db){const _0x532a55=_0x5fe29;super(),this[_0x532a55(0x260)]=_0x3756ff,this[_0x532a55(0x3b5)]=_0x56e94e,this[_0x532a55(0x3af)]=_0x1e0b15,this[_0x532a55(0x3fa)]=_0xdf7072,_0x3fc6db?_0x3fc6db==null||_0x3fc6db[_0x532a55(0x3bb)]()['then'](()=>this[_0x532a55(0x2f6)]()):(this[_0x532a55(0x3b5)][_0x532a55(0x2e1)](_0x532a55(0x2a6),_0x532a55(0x192)),this[_0x532a55(0x2f6)]());}async[_0x5fe29(0x2f6)](){const _0x179198=_0x5fe29,_0x12a0a0=this[_0x179198(0x260)][_0x179198(0x19b)]('unit'),_0x339d4b=this[_0x179198(0x260)]['getParam'](_0x179198(0x2d3)),_0x48b878=this[_0x179198(0x260)][_0x179198(0x19b)]('subunit');if(!_0x12a0a0||!_0x339d4b){this[_0x179198(0x3b5)][_0x179198(0x2e1)](_0x179198(0x2a6),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2ed65d=await this[_0x179198(0x3fa)][_0x179198(0x20e)](_0x12a0a0,Number(_0x339d4b),_0x48b878);_0x2ed65d&&_0x2ed65d instanceof _0x524529[_0x179198(0x1b0)]&&this['_setupSubUnitSync'](_0x2ed65d);}async[_0x5fe29(0x247)](_0x4f12fa){const _0x49749d=_0x5fe29;await this[_0x49749d(0x1d3)](_0x4f12fa),_0x4f12fa['activeSheet$'][_0x49749d(0x1f5)](_0x354597[_0x49749d(0x35d)](this[_0x49749d(0x281)]))[_0x49749d(0x2a1)](_0x1e1d2a=>{const _0x52b594=_0x49749d;_0x1e1d2a&&this[_0x52b594(0x355)](_0x1e1d2a);}),this[_0x49749d(0x260)][_0x49749d(0x29b)][_0x49749d(0x1f5)](_0x354597[_0x49749d(0x35d)](this[_0x49749d(0x281)]))[_0x49749d(0x2a1)](()=>this[_0x49749d(0x1d3)](_0x4f12fa));}['_updateURLWithCurrentState'](_0xbde402,_0x55dbe7=!0x1){const _0x522166=_0x5fe29,_0x2d196b=this['_urlService'][_0x522166(0x19b)](_0x522166(0x302));_0xbde402['getSheetId']()!==_0x2d196b&&this[_0x522166(0x260)][_0x522166(0x2b3)](_0x522166(0x302),_0xbde402[_0x522166(0x40e)](),_0x55dbe7);}async['_updateSubUnitFromURLParams'](_0x268683){const _0x1e0e64=_0x5fe29;var _0x5160db;const _0x571e9b=this[_0x1e0e64(0x260)]['getParam']('subunit');if(!_0x571e9b||!_0x268683['getSheetBySheetId'](_0x571e9b)){const _0x498697=_0x268683[_0x1e0e64(0x3b4)]()[0x0],_0x3e919e=_0x268683[_0x1e0e64(0x356)](_0x498697);if(!_0x3e919e)return;this[_0x1e0e64(0x355)](_0x3e919e,!0x0),await this[_0x1e0e64(0x3af)][_0x1e0e64(0x305)](_0x2d3cc7[_0x1e0e64(0x3bc)]['id'],{'unitId':_0x268683[_0x1e0e64(0x3e8)](),'subUnitId':_0x498697});return;}((_0x5160db=_0x268683[_0x1e0e64(0x1ba)]())==null?void 0x0:_0x5160db[_0x1e0e64(0x40e)]())!==_0x571e9b&&await this['_commandService'][_0x1e0e64(0x305)](_0x2d3cc7[_0x1e0e64(0x3bc)]['id'],{'unitId':_0x268683[_0x1e0e64(0x3e8)](),'subUnitId':_0x571e9b});}},_0x4768c7[_0x5fe29(0x249)]=_0xdfd09d([_0x1dc3aa(0x0,_0x3a23fa),_0x1dc3aa(0x1,_0x524529[_0x5fe29(0x2e0)]),_0x1dc3aa(0x2,_0x524529['ICommandService']),_0x1dc3aa(0x3,_0x524529['Inject'](_0xfc7012['DataLoaderService'])),_0x1dc3aa(0x4,_0x524529[_0x5fe29(0x21b)](_0x2d25a6[_0x5fe29(0x2ab)]))],_0x4768c7[_0x5fe29(0x249)]);var _0x2382f9=Object['defineProperty'],_0x24251b=Object[_0x5fe29(0x1d1)],_0x22fdc6=(_0x5b4447,_0x14befe,_0x25d0a4,_0x2a485a)=>{const _0x57a5b8=_0x5fe29;for(var _0x30214c=_0x2a485a>0x1?void 0x0:_0x2a485a?_0x24251b(_0x14befe,_0x25d0a4):_0x14befe,_0x3a5eec=_0x5b4447[_0x57a5b8(0x19f)]-0x1,_0x304bbe;_0x3a5eec>=0x0;_0x3a5eec--)(_0x304bbe=_0x5b4447[_0x3a5eec])&&(_0x30214c=(_0x2a485a?_0x304bbe(_0x14befe,_0x25d0a4,_0x30214c):_0x304bbe(_0x30214c))||_0x30214c);return _0x2a485a&&_0x30214c&&_0x2382f9(_0x14befe,_0x25d0a4,_0x30214c),_0x30214c;},_0x463fc6=(_0x181b7c,_0x5c5a31)=>(_0xa78ffe,_0x41bb6e)=>_0x5c5a31(_0xa78ffe,_0x41bb6e,_0x181b7c);let _0x41f747=class{constructor(_0x50a840,_0x1f0c4b,_0x28a853){const _0x43cee8=_0x5fe29;this[_0x43cee8(0x3f2)]=_0x50a840,this[_0x43cee8(0x3c9)]=_0x1f0c4b,this['_renderManagerService']=_0x28a853;}[_0x5fe29(0x2ff)](_0xfb6e05){const _0x34aee=_0x5fe29;this[_0x34aee(0x22c)](_0xfb6e05),this[_0x34aee(0x2ad)](_0xfb6e05);}[_0x5fe29(0x274)](_0x509f22){const _0x1b201c=_0x5fe29,{unitID:_0xebb1b4}=_0x509f22,_0x2d8809=this['_renderManagerService']['getRenderById'](_0xebb1b4)['with'](_0x37ba48[_0x1b201c(0x295)]),{redoCache:_0x23cb4c}=_0x2d8809['getUndoRedoMutationParamsCache']();if(_0x23cb4c[_0x1b201c(0x19f)]===0x0)return _0x509f22;let _0x181bfb=_0x524529[_0x1b201c(0x3ac)][_0x1b201c(0x243)](_0x509f22[_0x1b201c(0x312)][0x0]);for(let _0xedf756=0x0;_0xedf756<_0x23cb4c['length'];_0xedf756++){const _0x4b052b={'id':_0x1b201c(0x2c5),'params':{..._0x23cb4c[_0xedf756]}},_0x545292=this['_transformService'][_0x1b201c(0x315)](_0x181bfb,_0x4b052b,!0x1);if(_0x1fddb7[_0x1b201c(0x31b)](_0x545292))throw _0x545292[_0x1b201c(0x1be)];_0x181bfb=_0x545292[_0x1b201c(0x347)];}return{..._0x524529['Tools'][_0x1b201c(0x243)](_0x509f22),'mutations':[_0x181bfb]};}[_0x5fe29(0x22c)](_0x1d395e){const _0x56ae67=_0x5fe29,{unitID:_0x324285}=_0x1d395e,_0x3481f2=this['_renderManagerService'][_0x56ae67(0x212)](_0x324285)['with'](_0x37ba48['DocIMEInputManagerService']),{undoCache:_0x987aae,redoCache:_0x595fb5}=_0x3481f2[_0x56ae67(0x400)]();if(_0x987aae['length']===0x0||_0x595fb5[_0x56ae67(0x19f)]===0x0)return;const _0x3523a0=[],_0x32841b=[];let _0xb16da9=_0x524529[_0x56ae67(0x3ac)][_0x56ae67(0x243)](_0x1d395e['mutations'][0x0]),_0xdf3694=_0x524529[_0x56ae67(0x3ac)][_0x56ae67(0x243)](_0x1d395e[_0x56ae67(0x312)][0x0]);for(let _0x2849b6=_0x987aae[_0x56ae67(0x19f)]-0x1;_0x2849b6>=0x0;_0x2849b6--){const _0xd0d0a9={'id':_0x56ae67(0x2c5),'params':{..._0x987aae[_0x2849b6]}},_0xde0162={'id':_0x56ae67(0x2c5),'params':{..._0x595fb5[_0x2849b6]}},_0x19a0cc=this['_transformService']['transformMutation'](_0xb16da9,_0xd0d0a9,!0x1),_0x30667a=this['_transformService'][_0x56ae67(0x315)](_0xdf3694,_0xde0162,!0x1);if(_0x1fddb7[_0x56ae67(0x31b)](_0x19a0cc))throw _0x19a0cc[_0x56ae67(0x1be)];if(_0x1fddb7[_0x56ae67(0x31b)](_0x30667a))throw _0x30667a[_0x56ae67(0x1be)];_0x3523a0['unshift'](_0x19a0cc[_0x56ae67(0x335)][_0x56ae67(0x401)]),_0x32841b[_0x56ae67(0x33e)](_0x30667a[_0x56ae67(0x335)]['params']),_0xb16da9=_0x19a0cc[_0x56ae67(0x347)],_0xdf3694=_0x30667a['m1Prime'];}_0x3481f2['setUndoRedoMutationParamsCache']({'undoCache':_0x3523a0,'redoCache':_0x32841b});}[_0x5fe29(0x2ad)](_0x5194e1){const _0x346c86=_0x5fe29,{unitID:_0x2bd4b9}=_0x5194e1,_0x40a99a=this[_0x346c86(0x26c)]['getRenderById'](_0x2bd4b9)[_0x346c86(0x22f)](_0x37ba48[_0x346c86(0x295)]),_0x499840=_0x40a99a[_0x346c86(0x365)]();if(_0x499840==null)return;const _0x150c4a=[{'id':_0x346c86(0x2c5),'params':{'unitId':_0x5194e1[_0x346c86(0x1fb)],'actions':null,'textRanges':[_0x499840]}}],_0x4892c9=this['_transformService'][_0x346c86(0x193)](_0x5194e1,_0x150c4a);if(!_0x1fddb7[_0x346c86(0x373)](_0x4892c9))throw _0x4892c9['error'];const _0x125d72=_0x4892c9[_0x346c86(0x335)][0x0]['params'][_0x346c86(0x1c0)];Array['isArray'](_0x125d72)&&_0x125d72[_0x346c86(0x19f)]&&_0x40a99a[_0x346c86(0x1b3)](_0x125d72[0x0]);}};_0x41f747=_0x22fdc6([_0x463fc6(0x0,_0x524529[_0x5fe29(0x3ab)](_0x524529['Injector'])),_0x463fc6(0x1,_0x1fddb7[_0x5fe29(0x2b0)]),_0x463fc6(0x2,_0x6d82fc['IRenderManagerService'])],_0x41f747);var _0x352c0c=Object[_0x5fe29(0x409)],_0x1f07a3=Object['getOwnPropertyDescriptor'],_0x104e3c=(_0x35ee6d,_0x1f88bc,_0x565328,_0x36be6d)=>{const _0x29dba5=_0x5fe29;for(var _0x17b0cb=_0x36be6d>0x1?void 0x0:_0x36be6d?_0x1f07a3(_0x1f88bc,_0x565328):_0x1f88bc,_0x386993=_0x35ee6d[_0x29dba5(0x19f)]-0x1,_0x248ed4;_0x386993>=0x0;_0x386993--)(_0x248ed4=_0x35ee6d[_0x386993])&&(_0x17b0cb=(_0x36be6d?_0x248ed4(_0x1f88bc,_0x565328,_0x17b0cb):_0x248ed4(_0x17b0cb))||_0x17b0cb);return _0x36be6d&&_0x17b0cb&&_0x352c0c(_0x1f88bc,_0x565328,_0x17b0cb),_0x17b0cb;},_0x4b530c=(_0x424f1a,_0x537f3e)=>(_0x38acb9,_0x11e5cd)=>_0x537f3e(_0x38acb9,_0x11e5cd,_0x424f1a);let _0x4fb268=class{constructor(_0x581f35,_0x581cbd,_0x44573b){const _0x5d65ab=_0x5fe29;this[_0x5d65ab(0x3f2)]=_0x581f35,this[_0x5d65ab(0x3c9)]=_0x581cbd,this[_0x5d65ab(0x1a0)]=_0x44573b;}['transformStateCache'](_0x116c21){const _0x49416c=_0x5fe29;this[_0x49416c(0x2da)](_0x116c21);}[_0x5fe29(0x274)](_0x59294b){const _0x34b35d=_0x5fe29,{unitID:_0x3b5114}=_0x59294b,{collaboration:_0x43678b}=this[_0x34b35d(0x1a0)][_0x34b35d(0x2fe)](_0x3b5114);if(_0x43678b[_0x34b35d(0x19f)]===0x0)return _0x59294b;let _0x5ee1f4=_0x524529[_0x34b35d(0x3ac)][_0x34b35d(0x243)](_0x59294b[_0x34b35d(0x312)][0x0]);for(let _0x32bcdc=0x0;_0x32bcdc<_0x43678b[_0x34b35d(0x19f)];_0x32bcdc++){const _0x43d865={'id':_0x34b35d(0x2c5),'params':{'unitId':_0x43678b[_0x32bcdc][_0x34b35d(0x40a)],..._0x43678b[_0x32bcdc][_0x34b35d(0x213)]}},_0x5066fa=this[_0x34b35d(0x3c9)][_0x34b35d(0x315)](_0x5ee1f4,_0x43d865,!0x1);if(_0x1fddb7['isTransformMutationFailure'](_0x5066fa))throw _0x5066fa[_0x34b35d(0x1be)];_0x5ee1f4=_0x5066fa[_0x34b35d(0x347)];}return{..._0x524529[_0x34b35d(0x3ac)][_0x34b35d(0x243)](_0x59294b),'mutations':[_0x5ee1f4]};}[_0x5fe29(0x2da)](_0x201884){const _0x5a0b70=_0x5fe29,{unitID:_0x1d3f78}=_0x201884,{history:_0x3d2b6b,collaboration:_0x14d596}=this[_0x5a0b70(0x1a0)]['getStateCache'](_0x1d3f78);if(_0x3d2b6b['length']===0x0&&_0x14d596[_0x5a0b70(0x19f)]===0x0)return;const _0x19ce8d=[],_0x1670a0=[];let _0x1cf31c=_0x524529[_0x5a0b70(0x3ac)][_0x5a0b70(0x243)](_0x201884[_0x5a0b70(0x312)][0x0]),_0x9d5d12=_0x524529[_0x5a0b70(0x3ac)][_0x5a0b70(0x243)](_0x201884[_0x5a0b70(0x312)][0x0]);for(let _0x39a684=_0x3d2b6b[_0x5a0b70(0x19f)]-0x1;_0x39a684>=0x0;_0x39a684--){const _0x5062a8={'id':_0x5a0b70(0x2c5),'params':{'unitId':_0x3d2b6b[_0x39a684][_0x5a0b70(0x40a)],..._0x3d2b6b[_0x39a684][_0x5a0b70(0x1b6)]}},_0x3205e0={'id':_0x5a0b70(0x2c5),'params':{'unitId':_0x3d2b6b[_0x39a684][_0x5a0b70(0x40a)],..._0x3d2b6b[_0x39a684][_0x5a0b70(0x213)]}},_0x201bfa=this[_0x5a0b70(0x3c9)][_0x5a0b70(0x315)](_0x1cf31c,_0x5062a8,!0x1),_0xeee787=this['_transformService']['transformMutation'](_0x9d5d12,_0x3205e0,!0x1);if(_0x1fddb7['isTransformMutationFailure'](_0x201bfa))throw _0x201bfa['error'];if(_0x1fddb7[_0x5a0b70(0x31b)](_0xeee787))throw _0xeee787[_0x5a0b70(0x1be)];_0x19ce8d[_0x5a0b70(0x33e)]({..._0x3d2b6b[_0x39a684],'undoState':_0x201bfa[_0x5a0b70(0x335)][_0x5a0b70(0x401)],'redoState':_0xeee787[_0x5a0b70(0x335)][_0x5a0b70(0x401)]}),_0x1cf31c=_0x201bfa[_0x5a0b70(0x347)],_0x9d5d12=_0xeee787[_0x5a0b70(0x347)];}_0x1cf31c=_0x524529['Tools'][_0x5a0b70(0x243)](_0x201884[_0x5a0b70(0x312)][0x0]),_0x9d5d12=_0x524529[_0x5a0b70(0x3ac)][_0x5a0b70(0x243)](_0x201884['mutations'][0x0]);for(let _0x13392c=_0x14d596['length']-0x1;_0x13392c>=0x0;_0x13392c--){const _0x5a79d2={'id':_0x5a0b70(0x2c5),'params':{'unitId':_0x14d596[_0x13392c][_0x5a0b70(0x40a)],..._0x14d596[_0x13392c][_0x5a0b70(0x1b6)]}},_0x2612b9={'id':_0x5a0b70(0x2c5),'params':{'unitId':_0x14d596[_0x13392c][_0x5a0b70(0x40a)],..._0x14d596[_0x13392c][_0x5a0b70(0x213)]}},_0x1700ff=this['_transformService'][_0x5a0b70(0x315)](_0x1cf31c,_0x5a79d2,!0x1),_0x3b176c=this[_0x5a0b70(0x3c9)][_0x5a0b70(0x315)](_0x9d5d12,_0x2612b9,!0x1);if(_0x1fddb7['isTransformMutationFailure'](_0x1700ff))throw _0x1700ff[_0x5a0b70(0x1be)];if(_0x1fddb7[_0x5a0b70(0x31b)](_0x3b176c))throw _0x3b176c[_0x5a0b70(0x1be)];_0x1670a0[_0x5a0b70(0x33e)]({..._0x14d596[_0x13392c],'undoState':_0x1700ff[_0x5a0b70(0x335)][_0x5a0b70(0x401)],'redoState':_0x3b176c[_0x5a0b70(0x335)][_0x5a0b70(0x401)]}),_0x1cf31c=_0x1700ff['m1Prime'],_0x9d5d12=_0x3b176c['m1Prime'];}this[_0x5a0b70(0x1a0)]['setStateCache'](_0x1d3f78,{'history':_0x19ce8d,'collaboration':_0x1670a0});}};_0x4fb268=_0x104e3c([_0x4b530c(0x0,_0x524529['Inject'](_0x524529[_0x5fe29(0x391)])),_0x4b530c(0x1,_0x1fddb7[_0x5fe29(0x2b0)]),_0x4b530c(0x2,_0x524529[_0x5fe29(0x3ab)](_0x37ba48['DocStateChangeManagerService']))],_0x4fb268);var _0x5b9eed=Object[_0x5fe29(0x409)],_0xe87bff=Object[_0x5fe29(0x1d1)],_0x55d34d=(_0x447f00,_0x510eac,_0x37c054,_0xae21e4)=>{const _0x5ae412=_0x5fe29;for(var _0x312161=_0xae21e4>0x1?void 0x0:_0xae21e4?_0xe87bff(_0x510eac,_0x37c054):_0x510eac,_0x26edc7=_0x447f00[_0x5ae412(0x19f)]-0x1,_0x4f2fb7;_0x26edc7>=0x0;_0x26edc7--)(_0x4f2fb7=_0x447f00[_0x26edc7])&&(_0x312161=(_0xae21e4?_0x4f2fb7(_0x510eac,_0x37c054,_0x312161):_0x4f2fb7(_0x312161))||_0x312161);return _0xae21e4&&_0x312161&&_0x5b9eed(_0x510eac,_0x37c054,_0x312161),_0x312161;},_0x51de7b=(_0x2d5afd,_0x233037)=>(_0xd0a8e9,_0x4f9f0d)=>_0x233037(_0xd0a8e9,_0x4f9f0d,_0x2d5afd);let _0x2ff2a=class{constructor(_0x1c176e,_0x3999fd){const _0x550e63=_0x5fe29;this[_0x550e63(0x3f2)]=_0x1c176e,this[_0x550e63(0x3c9)]=_0x3999fd;}['transformSelections'](_0x2ef694){const _0x3d476b=_0x5fe29;var _0x46965e;const _0x2e84b3=this[_0x3d476b(0x3f2)][_0x3d476b(0x21d)](_0x2745da[_0x3d476b(0x1b2)]),_0x4f9a03=(_0x46965e=_0x2e84b3['getDocRanges']())!=null?_0x46965e:[];if(_0x4f9a03[_0x3d476b(0x19f)]===0x0)return;const _0xcd318a=_0x2ef694[_0x3d476b(0x1fb)],_0x1a78c4=[{'id':_0x3d476b(0x2c5),'params':{'unitId':_0xcd318a,'actions':null,'textRanges':_0x4f9a03}}],_0x57dfa8=this[_0x3d476b(0x3c9)]['transformMutationsWithChangeset'](_0x2ef694,_0x1a78c4);if(!_0x1fddb7[_0x3d476b(0x373)](_0x57dfa8))throw _0x57dfa8['error'];const _0x578aa8=_0x57dfa8[_0x3d476b(0x335)][0x0][_0x3d476b(0x401)]['textRanges'];Array['isArray'](_0x578aa8)&&_0x578aa8[_0x3d476b(0x19f)]&&_0x2e84b3[_0x3d476b(0x3eb)](_0x578aa8,{'unitId':_0xcd318a,'subUnitId':_0xcd318a},!0x1);}};_0x2ff2a=_0x55d34d([_0x51de7b(0x0,_0x524529[_0x5fe29(0x3ab)](_0x524529[_0x5fe29(0x391)])),_0x51de7b(0x1,_0x1fddb7[_0x5fe29(0x2b0)])],_0x2ff2a);var _0xc4ba91=Object['defineProperty'],_0x1b43a3=Object['getOwnPropertyDescriptor'],_0x324ee7=(_0x34fef9,_0xe674c3,_0x48fcbf,_0x1b4ad8)=>{const _0x2530b4=_0x5fe29;for(var _0x59aa8c=_0x1b4ad8>0x1?void 0x0:_0x1b4ad8?_0x1b43a3(_0xe674c3,_0x48fcbf):_0xe674c3,_0x5ab26b=_0x34fef9[_0x2530b4(0x19f)]-0x1,_0x27dd75;_0x5ab26b>=0x0;_0x5ab26b--)(_0x27dd75=_0x34fef9[_0x5ab26b])&&(_0x59aa8c=(_0x1b4ad8?_0x27dd75(_0xe674c3,_0x48fcbf,_0x59aa8c):_0x27dd75(_0x59aa8c))||_0x59aa8c);return _0x1b4ad8&&_0x59aa8c&&_0xc4ba91(_0xe674c3,_0x48fcbf,_0x59aa8c),_0x59aa8c;},_0x1b8089=(_0x5bf8ed,_0x263023)=>(_0x22c63d,_0x6b0709)=>_0x263023(_0x22c63d,_0x6b0709,_0x5bf8ed);let _0x17fa2e=class extends _0x524529[_0x5fe29(0x3e3)]{constructor(_0x17a0ba,_0x37c650,_0x5c2880,_0x10ac95,_0x5a71fa,_0x3ba8df,_0x49b85a,_0x3d6a13){const _0x9b5201=_0x5fe29;super(),_0x16f0e1(this,_0x9b5201(0x36a),new _0x354597[(_0x9b5201(0x324))](_0xfc7012[_0x9b5201(0x304)][_0x9b5201(0x2a3)])),(this['_docStateChangeManagerService']=_0x17a0ba,this['_collaborationController']=_0x37c650,this[_0x9b5201(0x1ab)]=_0x5c2880,this[_0x9b5201(0x3d5)]=_0x10ac95,this[_0x9b5201(0x371)]=_0x5a71fa,this[_0x9b5201(0x3ce)]=_0x3ba8df,this[_0x9b5201(0x222)]=_0x49b85a,this[_0x9b5201(0x285)]=_0x3d6a13,this[_0x9b5201(0x3de)]());}[_0x5fe29(0x3de)](){const _0x515edc=_0x5fe29;this[_0x515edc(0x31f)](this[_0x515edc(0x2ce)][_0x515edc(0x253)][_0x515edc(0x2a1)](_0x2a5d22=>{const _0x5a2cb0=_0x515edc,_0x20155e=this[_0x5a2cb0(0x1a0)]['docStateChange$']['subscribe'](_0x4a31a4=>{const _0x3c2275=_0x5a2cb0;if(_0x4a31a4==null)return;const {unitId:_0x2b9ff4,redoState:_0x222587,commandId:_0x1fc0f6}=_0x4a31a4;if(_0x2b9ff4!==_0x2a5d22[_0x3c2275(0x1fb)])return;const _0x5d1f4d={'id':_0x1fc0f6,'type':_0x524529[_0x3c2275(0x2a9)][_0x3c2275(0x29d)],'params':{'unitId':_0x2b9ff4,'actions':_0x222587[_0x3c2275(0x254)],'textRanges':null}};_0x2a5d22[_0x3c2275(0x244)](_0x5d1f4d);});if(_0x2a5d22[_0x5a2cb0(0x31f)](_0x20155e),_0x2a5d22 instanceof _0xfc7012[_0x5a2cb0(0x3a8)]){const _0x48f572={'onTransformIME':_0x2ce69d=>this[_0x5a2cb0(0x1ab)][_0x5a2cb0(0x2ff)](_0x2ce69d),'onTransformState':_0xf15f2=>this['_docTransformStateCacheService'][_0x5a2cb0(0x405)](_0xf15f2),'onTransformSelections':_0x11055c=>this[_0x5a2cb0(0x371)][_0x5a2cb0(0x3cd)](_0x11055c),'onSyncEditingCollabCursor':_0x506122=>this['_docSyncEditingCollabCursorService'][_0x5a2cb0(0x191)](_0x506122),'onTransformRemoteChangesetByIMECache':_0x4fe233=>this[_0x5a2cb0(0x1ab)][_0x5a2cb0(0x274)](_0x4fe233),'onTransformRemoteChangesetByStateCache':_0xce1cb7=>this[_0x5a2cb0(0x3d5)]['transformRemoteChangeset'](_0xce1cb7)};_0x2a5d22[_0x5a2cb0(0x22b)](_0x48f572);}}));}};_0x17fa2e=_0x324ee7([_0x1b8089(0x0,_0x524529[_0x5fe29(0x3ab)](_0x37ba48[_0x5fe29(0x3ae)])),_0x1b8089(0x1,_0x524529[_0x5fe29(0x3ab)](_0xfc7012['CollaborationController'])),_0x1b8089(0x2,_0x524529[_0x5fe29(0x3ab)](_0x41f747)),_0x1b8089(0x3,_0x524529[_0x5fe29(0x3ab)](_0x4fb268)),_0x1b8089(0x4,_0x524529[_0x5fe29(0x3ab)](_0x2ff2a)),_0x1b8089(0x5,_0x524529['Inject'](_0x5ce534)),_0x1b8089(0x6,_0x5b9b9e['IMessageService']),_0x1b8089(0x7,_0x524529[_0x5fe29(0x3ab)](_0x524529[_0x5fe29(0x278)]))],_0x17fa2e);var _0x4cae74=Object['defineProperty'],_0x39338f=Object[_0x5fe29(0x1d1)],_0x2442d9=(_0x2dccec,_0x395ad4,_0x3d4bdf,_0x593200)=>{const _0x267c1f=_0x5fe29;for(var _0x117412=_0x593200>0x1?void 0x0:_0x593200?_0x39338f(_0x395ad4,_0x3d4bdf):_0x395ad4,_0x382033=_0x2dccec[_0x267c1f(0x19f)]-0x1,_0x1d680e;_0x382033>=0x0;_0x382033--)(_0x1d680e=_0x2dccec[_0x382033])&&(_0x117412=(_0x593200?_0x1d680e(_0x395ad4,_0x3d4bdf,_0x117412):_0x1d680e(_0x117412))||_0x117412);return _0x593200&&_0x117412&&_0x4cae74(_0x395ad4,_0x3d4bdf,_0x117412),_0x117412;},_0x3be783=(_0x13a4d2,_0x53a536)=>(_0x43d424,_0x1fe456)=>_0x53a536(_0x43d424,_0x1fe456,_0x13a4d2);let _0x43e0b9=class extends _0x524529['Disposable']{constructor(_0x249e0d,_0x441688,_0x295707){const _0x91583d=_0x5fe29;super(),_0x16f0e1(this,'_cachedData',new Map()),_0x16f0e1(this,'_saveTaskMap',new Map()),_0x16f0e1(this,_0x91583d(0x28b),!0x1),(this[_0x91583d(0x38a)]=_0x249e0d,this[_0x91583d(0x27e)]=_0x441688,this[_0x91583d(0x2f7)]=_0x295707);}['disableLocalCache'](){const _0x4f0c3e=_0x5fe29;this[_0x4f0c3e(0x28b)]=!0x0;}[_0x5fe29(0x3ca)](){this['_disabled']=!0x1;}get[_0x5fe29(0x1f4)](){return this['_saveTaskMap'];}[_0x5fe29(0x1f6)](){const _0x1f04e2=_0x5fe29;this[_0x1f04e2(0x2be)]()[_0x1f04e2(0x31d)](()=>super['dispose']());}async['loadOfflineData'](_0x1b763e){const _0x217543=_0x5fe29;return this[_0x217543(0x28b)]?null:this[_0x217543(0x27e)][_0x217543(0x266)](_0xfc7012['getLocalCacheKey'](_0x1b763e));}async[_0x5fe29(0x3bf)](_0x330ade,_0x148d6a){const _0x55a6bf=_0x5fe29;return!!this[_0x55a6bf(0x27e)]['setItem'](_0x330ade,_0x148d6a);}['updateOfflineData'](_0x582d54,_0x581442,_0x519dba,_0xf64f6d){const _0x323233=_0x5fe29,_0x198989=this[_0x323233(0x2f7)][_0x323233(0x2b2)](_0x582d54);this[_0x323233(0x40d)][_0x323233(0x2dc)](_0x582d54,{'unitID':_0x582d54,'type':_0x581442,'awaitingChangeset':_0x519dba,'mutations':_0xf64f6d,'rev':_0x198989}),this[_0x323233(0x3be)][_0x323233(0x326)](_0x582d54)||this['_scheduleSaving'](_0x582d54);}[_0x5fe29(0x1bf)](_0x4ce8a2){const _0x30c699=_0x5fe29,_0x58ab59=this[_0x30c699(0x331)]();_0x58ab59===0x0?this[_0x30c699(0x3e7)](_0x4ce8a2):this[_0x30c699(0x3be)][_0x30c699(0x2dc)](_0x4ce8a2,setTimeout(()=>this[_0x30c699(0x3e7)](_0x4ce8a2),_0x58ab59));}[_0x5fe29(0x331)](){const _0x27f97c=_0x5fe29;var _0x530dc1;return(_0x530dc1=this[_0x27f97c(0x38a)][_0x27f97c(0x3c3)](_0xfc7012['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x530dc1:_0xfc7012['LOCAL_CACHE_INTERVAL'];}[_0x5fe29(0x3e7)](_0x28cba7){const _0x425cc6=_0x5fe29,_0x3fc643=this[_0x425cc6(0x3be)]['get'](_0x28cba7);return _0x3fc643!==void 0x0&&window[_0x425cc6(0x255)](_0x3fc643),this[_0x425cc6(0x27e)][_0x425cc6(0x3db)](_0xfc7012['getLocalCacheKey'](_0x28cba7),this[_0x425cc6(0x40d)][_0x425cc6(0x21d)](_0x28cba7))[_0x425cc6(0x31d)](()=>this['_saveTaskMap'][_0x425cc6(0x20c)](_0x28cba7));}async[_0x5fe29(0x2be)](){const _0x5c3a75=_0x5fe29,_0xb96d96=[];this['_saveTaskMap'][_0x5c3a75(0x1d5)]((_0x29ecdc,_0xc759d0)=>{const _0xb8e25b=_0x5c3a75;window[_0xb8e25b(0x255)](_0x29ecdc),_0xb96d96['push'](this[_0xb8e25b(0x3e7)](_0xc759d0)[_0xb8e25b(0x31d)](()=>{const _0x17e085=_0xb8e25b;this[_0x17e085(0x3be)][_0x17e085(0x20c)](_0xc759d0);}));}),await Promise[_0x5c3a75(0x3f8)](_0xb96d96);}};_0x43e0b9=_0x2442d9([_0x3be783(0x0,_0x524529[_0x5fe29(0x3c7)]),_0x3be783(0x1,_0x524529[_0x5fe29(0x238)]),_0x3be783(0x2,_0x524529[_0x5fe29(0x3ab)](_0x1fddb7[_0x5fe29(0x194)]))],_0x43e0b9);class _0x31b07f extends _0x524529[_0x5fe29(0x34c)]{constructor(){const _0x28b1c0=_0x5fe29;super(),_0x16f0e1(this,'urlChange$'),this[_0x28b1c0(0x29b)]=_0x354597[_0x28b1c0(0x207)](window,_0x28b1c0(0x2df))['pipe'](_0x354597['takeUntil'](this['dispose$']),_0x354597[_0x28b1c0(0x30a)](0x1),_0x354597[_0x28b1c0(0x19e)](void 0x0));}[_0x5fe29(0x2b3)](_0x45ba19,_0x5a4796,_0x4a90e4=!0x1){const _0x221e99=_0x5fe29,_0x4f7809=new URL(window['location'][_0x221e99(0x3c6)]);_0x4f7809[_0x221e99(0x397)][_0x221e99(0x2dc)](_0x45ba19,_0x5a4796),_0x4a90e4?window[_0x221e99(0x1f2)][_0x221e99(0x1b7)]('','',_0x4f7809['toString']()):window[_0x221e99(0x1f2)][_0x221e99(0x27f)]('','',_0x4f7809['toString']());}[_0x5fe29(0x37b)](_0x31c45c,_0x33edaa=!0x1){const _0x4ebba4=_0x5fe29,_0x3e48cc=new URL(window['location'][_0x4ebba4(0x3c6)]);_0x3e48cc['searchParams'][_0x4ebba4(0x20c)](_0x31c45c),_0x33edaa?window[_0x4ebba4(0x1f2)][_0x4ebba4(0x1b7)]('','',_0x3e48cc[_0x4ebba4(0x3d6)]()):window[_0x4ebba4(0x1f2)]['pushState']('','',_0x3e48cc[_0x4ebba4(0x3d6)]());}[_0x5fe29(0x19b)](_0x4fa88c){const _0x19e767=_0x5fe29;var _0x1d5808;return(_0x1d5808=new URL(window[_0x19e767(0x3cf)][_0x19e767(0x3c6)])[_0x19e767(0x397)]['get'](_0x4fa88c))!=null?_0x1d5808:void 0x0;}}var _0x9cc642=Object[_0x5fe29(0x409)],_0x20fe6a=Object['getOwnPropertyDescriptor'],_0x12bca1=(_0x34ff1d,_0x4a1197,_0x47b777)=>_0x4a1197 in _0x34ff1d?_0x9cc642(_0x34ff1d,_0x4a1197,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x47b777}):_0x34ff1d[_0x4a1197]=_0x47b777,_0x4ab36f=(_0x439b1a,_0x1fbc65,_0x50e7c8,_0x3318ba)=>{for(var _0x1cd10e=_0x3318ba>0x1?void 0x0:_0x3318ba?_0x20fe6a(_0x1fbc65,_0x50e7c8):_0x1fbc65,_0x599f51=_0x439b1a['length']-0x1,_0x5525f1;_0x599f51>=0x0;_0x599f51--)(_0x5525f1=_0x439b1a[_0x599f51])&&(_0x1cd10e=(_0x3318ba?_0x5525f1(_0x1fbc65,_0x50e7c8,_0x1cd10e):_0x5525f1(_0x1cd10e))||_0x1cd10e);return _0x3318ba&&_0x1cd10e&&_0x9cc642(_0x1fbc65,_0x50e7c8,_0x1cd10e),_0x1cd10e;},_0x2e4575=(_0x47a1da,_0x204e1c)=>(_0x3028df,_0x1e3d9a)=>_0x204e1c(_0x3028df,_0x1e3d9a,_0x47a1da),_0xa01bf7=(_0x4d5cf5,_0x1d47e7,_0x1f0a0a)=>_0x12bca1(_0x4d5cf5,_0x1d47e7+'',_0x1f0a0a);const _0x5c0376='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4768c7[_0x5fe29(0x37f)]=class extends _0x524529[_0x5fe29(0x3e1)]{constructor(_0x44219e=_0x2462c3,_0x415f67,_0x388dc5,_0x11c2a6){const _0x4ec34c=_0x5fe29;super(),this[_0x4ec34c(0x2d2)]=_0x44219e,this[_0x4ec34c(0x26c)]=_0x415f67,this[_0x4ec34c(0x3f2)]=_0x388dc5,this[_0x4ec34c(0x38a)]=_0x11c2a6;const {..._0x5b5a6f}=_0x524529[_0x4ec34c(0x195)]({},_0x2462c3,this['_config']);this[_0x4ec34c(0x38a)][_0x4ec34c(0x1bc)](_0x4820a8,_0x5b5a6f);}[_0x5fe29(0x1af)](){const _0x282534=_0x5fe29;this[_0x282534(0x1ca)](),this['_initDependencies']();}[_0x5fe29(0x31a)](){const _0x2a14f2=_0x5fe29;this[_0x2a14f2(0x2ef)]();}[_0x5fe29(0x1ca)](){const _0xca3127=_0x5fe29;var _0x5352e4;const _0x369009=[[_0x24fe6e],[_0x2ff2a],[_0x41f747],[_0x4fb268],[_0x5ce534],[_0x3a23fa,{'useClass':_0x31b07f}],[_0x57276e[_0xca3127(0x374)],{'useClass':_0x57276e[_0xca3127(0x2ba)]}],[_0xfc7012[_0xca3127(0x24f)],{'useClass':_0x43e0b9}],[_0x4768c7[_0xca3127(0x1c9)]],[_0x17fa2e],[_0x49cf5b],[_0x38d12a],[_0x42793d],[_0x4768c7['CollaborationDataLoaderController']]];_0x524529[_0xca3127(0x1e1)](this[_0xca3127(0x3f2)],_0x524529[_0xca3127(0x33b)](_0x369009,(_0x5352e4=this['_config'])==null?void 0x0:_0x5352e4[_0xca3127(0x2d1)]));}[_0x5fe29(0x2ef)](){const _0x4cad00=_0x5fe29;this['disposeWithMe'](this[_0x4cad00(0x26c)][_0x4cad00(0x35f)](_0x524529[_0x4cad00(0x306)][_0x4cad00(0x3ec)],[_0x5423f8])),this[_0x4cad00(0x31f)](this[_0x4cad00(0x26c)]['registerRenderModule'](_0x524529[_0x4cad00(0x306)][_0x4cad00(0x3dc)],[_0xab1819]));}[_0x5fe29(0x2af)](){const _0x2b3e95=_0x5fe29;_0x524529[_0x2b3e95(0x30e)](this['_injector'],[[_0x38d12a],[_0x4768c7[_0x2b3e95(0x1c9)]],[_0x17fa2e],[_0x49cf5b],[_0x4768c7[_0x2b3e95(0x249)]]]);}},_0xa01bf7(_0x4768c7[_0x5fe29(0x37f)],'pluginName',_0x5c0376),_0x4768c7[_0x5fe29(0x37f)]=_0x4ab36f([_0x524529[_0x5fe29(0x332)](_0xfc7012['UniverCollaborationClientPlugin']),_0x2e4575(0x1,_0x6d82fc[_0x5fe29(0x32a)]),_0x2e4575(0x2,_0x524529['Inject'](_0x524529[_0x5fe29(0x391)])),_0x2e4575(0x3,_0x524529['IConfigService'])],_0x4768c7[_0x5fe29(0x37f)]);const _0x34495d=0x7530,_0xc9c37=_0x5fe29(0x35e);class _0x3186b7 extends _0x524529[_0x5fe29(0x3e3)]{constructor(){const _0xf069c5=_0x5fe29;super(),_0x16f0e1(this,_0xf069c5(0x378),_0x524529[_0xf069c5(0x3ac)][_0xf069c5(0x2ac)]()),_0x16f0e1(this,_0xf069c5(0x2c3),new Set()),_0x16f0e1(this,_0xf069c5(0x2e3),new Map()),_0x16f0e1(this,_0xf069c5(0x21a),null),_0x16f0e1(this,'_clearOtherTimers',new Map()),_0x16f0e1(this,'_unitStatus',new Map()),this[_0xf069c5(0x2f6)]();}[_0x5fe29(0x1f6)](){const _0x5768fe=_0x5fe29;super[_0x5768fe(0x1f6)](),this[_0x5768fe(0x2bf)]['forEach']((_0x22b658,_0x90e61f)=>this['_removeClearOtherTimer'](_0x90e61f)),this['_heartbeatTimer']&&window[_0x5768fe(0x39e)](this[_0x5768fe(0x21a)]);}['getUnitStatus$'](_0x17807e){const _0x415d5c=_0x5fe29;return this[_0x415d5c(0x1d2)](_0x17807e)[_0x415d5c(0x1f5)](_0x354597[_0x415d5c(0x359)]());}['editingUnit'](_0x48528e){const _0x5c863f=_0x5fe29;this['_selfUnitIDs']['size']===0x0&&this[_0x5c863f(0x2cd)](),this['_selfUnitIDs'][_0x5c863f(0x3fd)](_0x48528e),this[_0x5c863f(0x1c1)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x48528e],'isForwarded':!0x1});}[_0x5fe29(0x1ff)](_0x54a1aa){const _0x2ea6db=_0x5fe29;this[_0x2ea6db(0x2c3)][_0x2ea6db(0x20c)](_0x54a1aa),this[_0x2ea6db(0x2c3)][_0x2ea6db(0x3d8)]===0x0&&this[_0x2ea6db(0x21a)]&&window[_0x2ea6db(0x39e)](this['_heartbeatTimer']);}[_0x5fe29(0x2f6)](){const _0x122b91=_0x5fe29;this[_0x122b91(0x31f)](_0x524529[_0x122b91(0x214)](_0x354597['fromEvent'](window,_0x122b91(0x3c4))[_0x122b91(0x2a1)](_0x24a148=>{const _0x30f80d=_0x122b91;if(_0x24a148[_0x30f80d(0x2b1)]!==_0xc9c37||!_0x24a148['newValue'])return;const _0x2708ae=JSON['parse'](_0x24a148[_0x30f80d(0x289)]);this['_handleEvent'](_0x2708ae);}))),window[_0x122b91(0x1ee)](_0x122b91(0x261),()=>this['_send']({'type':0x1,'memberID':this[_0x122b91(0x378)],'unitIDs':Array[_0x122b91(0x200)](this[_0x122b91(0x2c3)])}));}[_0x5fe29(0x220)](_0x9fd8c8){const _0x74a674=_0x5fe29;switch(_0x9fd8c8['type']){case 0x0:this['_handleJoinEvent'](_0x9fd8c8);break;case 0x1:this[_0x74a674(0x366)](_0x9fd8c8);break;case 0x2:this['_handleHeartbeatEvent'](_0x9fd8c8);break;}}[_0x5fe29(0x2c9)](_0x14378f){const _0x4b5ecf=_0x5fe29,{unitIDs:_0x10fc41,memberID:_0x5c080c,isForwarded:_0x3a27b8}=_0x14378f;_0x10fc41[_0x4b5ecf(0x1d5)](_0x1407fc=>{const _0x492d1c=_0x4b5ecf;if(!_0x3a27b8&&this[_0x492d1c(0x2e3)]['has'](_0x1407fc)&&this[_0x492d1c(0x1d2)](_0x1407fc)['next'](_0xfc7012['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x492d1c(0x2e3)]['has'](_0x1407fc)||!this['_unitOnClients'][_0x492d1c(0x21d)](_0x1407fc)['has'](_0x5c080c)){const _0x172bc0=this[_0x492d1c(0x2e3)][_0x492d1c(0x21d)](_0x1407fc)||new Set();_0x172bc0['add'](_0x5c080c),this[_0x492d1c(0x2e3)]['set'](_0x1407fc,_0x172bc0),this[_0x492d1c(0x27c)](_0x5c080c);}}),_0x3a27b8||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x4b5ecf(0x2c3)]],'isForwarded':!0x0});}[_0x5fe29(0x27c)](_0x4d7114){const _0x5d2036=_0x5fe29;this[_0x5d2036(0x2c8)](_0x4d7114);const _0x444813=window[_0x5d2036(0x384)](()=>{const _0x11945d=_0x5d2036;this[_0x11945d(0x2e3)][_0x11945d(0x1d5)](_0x33da3c=>{const _0x277878=_0x11945d;_0x33da3c[_0x277878(0x20c)](_0x4d7114);});},_0x34495d*0x2);this['_clearOtherTimers'][_0x5d2036(0x2dc)](_0x4d7114,_0x444813);}[_0x5fe29(0x2c8)](_0x41b915){const _0x5beb7d=_0x5fe29;if(this[_0x5beb7d(0x2bf)][_0x5beb7d(0x326)](_0x41b915)){const _0x58e4ef=this[_0x5beb7d(0x2bf)][_0x5beb7d(0x21d)](_0x41b915);_0x58e4ef&&window['clearTimeout'](_0x58e4ef),this['_clearOtherTimers'][_0x5beb7d(0x2dc)](_0x41b915,null);}}[_0x5fe29(0x366)](_0x372f7){const _0x1c4a1c=_0x5fe29,{memberID:_0xf5fad5,unitIDs:_0x47599d}=_0x372f7;_0x47599d[_0x1c4a1c(0x1d5)](_0x5b4b9d=>{const _0x57d646=_0x1c4a1c;var _0x4942ae;const _0xff4d02=this[_0x57d646(0x2e3)][_0x57d646(0x21d)](_0x5b4b9d);_0xff4d02&&(_0xff4d02[_0x57d646(0x20c)](_0xf5fad5),(_0x4942ae=this[_0x57d646(0x1d2)](_0x5b4b9d))==null||_0x4942ae[_0x57d646(0x3ea)](_0xff4d02[_0x57d646(0x3d8)]===0x0?_0xfc7012[_0x57d646(0x234)][_0x57d646(0x269)]:_0xfc7012[_0x57d646(0x234)][_0x57d646(0x3d4)]));}),this[_0x1c4a1c(0x2c8)](_0xf5fad5);}['_handleHeartbeatEvent'](_0x315c0e){const _0x30da38=_0x5fe29;this[_0x30da38(0x27c)](_0x315c0e[_0x30da38(0x2a2)]);}['_send'](_0xa3e03b){localStorage['setItem'](_0xc9c37,JSON['stringify'](_0xa3e03b));}[_0x5fe29(0x2cd)](){const _0x1ba66d=_0x5fe29;this['_heartbeatTimer']=window[_0x1ba66d(0x231)](()=>{const _0x14a967=_0x1ba66d;this[_0x14a967(0x1c1)]({'type':0x2,'memberID':this['_id']});},_0x34495d);}[_0x5fe29(0x1d2)](_0x46cae8){const _0x4337a8=_0x5fe29;return this[_0x4337a8(0x309)][_0x4337a8(0x326)](_0x46cae8)||this[_0x4337a8(0x309)]['set'](_0x46cae8,new _0x354597['BehaviorSubject'](_0xfc7012[_0x4337a8(0x234)][_0x4337a8(0x269)])),this['_unitStatus'][_0x4337a8(0x21d)](_0x46cae8);}}var _0x24e728=(_0x34bc84=>(_0x34bc84[_0x34bc84[_0x5fe29(0x390)]=0x0]=_0x5fe29(0x390),_0x34bc84[_0x34bc84['OK']=0x1]='OK',_0x34bc84[_0x34bc84[_0x5fe29(0x1a9)]=0x2]=_0x5fe29(0x1a9),_0x34bc84[_0x34bc84['PERMISSION_DENIED']=0x3]=_0x5fe29(0x392),_0x34bc84[_0x34bc84[_0x5fe29(0x38d)]=0x4]=_0x5fe29(0x38d),_0x34bc84[_0x34bc84[_0x5fe29(0x239)]=0x5]='UNAUTHENTICATED',_0x34bc84[_0x34bc84[_0x5fe29(0x2bc)]=0x6]=_0x5fe29(0x2bc),_0x34bc84[_0x34bc84[_0x5fe29(0x21e)]=0x7]=_0x5fe29(0x21e),_0x34bc84[_0x34bc84[_0x5fe29(0x330)]=0x8]=_0x5fe29(0x330),_0x34bc84[_0x34bc84[_0x5fe29(0x296)]=0x9]=_0x5fe29(0x296),_0x34bc84[_0x34bc84['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x34bc84[_0x34bc84[_0x5fe29(0x1ea)]=0x1771]=_0x5fe29(0x1ea),_0x34bc84[_0x34bc84[_0x5fe29(0x2ee)]=0x1772]=_0x5fe29(0x2ee),_0x34bc84[_0x34bc84[_0x5fe29(0x20b)]=0x1773]=_0x5fe29(0x20b),_0x34bc84[_0x34bc84[_0x5fe29(0x342)]=0x1b59]=_0x5fe29(0x342),_0x34bc84[_0x34bc84[_0x5fe29(0x211)]=0x1b5a]=_0x5fe29(0x211),_0x34bc84[_0x34bc84['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5fe29(0x189),_0x34bc84[_0x34bc84['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5fe29(0x3e6),_0x34bc84[_0x34bc84['APPLY_DUPLICATED']=0x1b5d]=_0x5fe29(0x35b),_0x34bc84[_0x34bc84[_0x5fe29(0x252)]=0x1f41]=_0x5fe29(0x252),_0x34bc84[_0x34bc84[_0x5fe29(0x38f)]=0x2329]=_0x5fe29(0x38f),_0x34bc84[_0x34bc84['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x34bc84[_0x34bc84[_0x5fe29(0x1bb)]=0x232b]=_0x5fe29(0x1bb),_0x34bc84[_0x34bc84[_0x5fe29(0x2eb)]=0x232c]=_0x5fe29(0x2eb),_0x34bc84[_0x34bc84[_0x5fe29(0x2b5)]=0x232d]=_0x5fe29(0x2b5),_0x34bc84[_0x34bc84[_0x5fe29(0x1b5)]=0x2711]=_0x5fe29(0x1b5),_0x34bc84[_0x34bc84[_0x5fe29(0x226)]=0x2712]=_0x5fe29(0x226),_0x34bc84[_0x34bc84[_0x5fe29(0x26f)]=0x2713]=_0x5fe29(0x26f),_0x34bc84[_0x34bc84[_0x5fe29(0x28d)]=0x2714]=_0x5fe29(0x28d),_0x34bc84[_0x34bc84[_0x5fe29(0x1ec)]=-0x1]='UNRECOGNIZED',_0x34bc84))(_0x24e728||{}),_0x548eab=Object['defineProperty'],_0x3a213f=Object[_0x5fe29(0x1d1)],_0xfc784d=(_0x209276,_0x56ed13,_0x29b2cc,_0xf6704a)=>{for(var _0x46a504=_0xf6704a>0x1?void 0x0:_0xf6704a?_0x3a213f(_0x56ed13,_0x29b2cc):_0x56ed13,_0xe84cec=_0x209276['length']-0x1,_0x522ee3;_0xe84cec>=0x0;_0xe84cec--)(_0x522ee3=_0x209276[_0xe84cec])&&(_0x46a504=(_0xf6704a?_0x522ee3(_0x56ed13,_0x29b2cc,_0x46a504):_0x522ee3(_0x46a504))||_0x46a504);return _0xf6704a&&_0x46a504&&_0x548eab(_0x56ed13,_0x29b2cc,_0x46a504),_0x46a504;},_0x5dd411=(_0x9a537b,_0x4739f7)=>(_0x1cce57,_0x45e251)=>_0x4739f7(_0x1cce57,_0x45e251,_0x9a537b);_0x4768c7[_0x5fe29(0x2f8)]=class extends _0x524529[_0x5fe29(0x3e3)]{constructor(_0x14f18b,_0x38d2fb,_0x3a6441){const _0x40ee11=_0x5fe29;super(),this[_0x40ee11(0x251)]=_0x14f18b,this[_0x40ee11(0x22e)]=_0x38d2fb,this['_configService']=_0x3a6441;}async[_0x5fe29(0x2d6)](_0x2f35d0,_0x54bbc3,..._0x2621df){const _0x38f980=_0x5fe29;var _0x5aae2a,_0x28d3e8;const _0x3c2c5f=this[_0x38f980(0x251)][_0x38f980(0x229)]();if(!_0x3c2c5f)throw new Error(_0x38f980(0x1a7));const _0x1d3744=((_0x5aae2a=this[_0x38f980(0x38a)][_0x38f980(0x3c3)](_0xfc7012[_0x38f980(0x279)]))!=null?_0x5aae2a:_0xfc7012[_0x38f980(0x35c)])+'/'+_0x2f35d0+'/run/'+_0x54bbc3,_0x4fc221=new URL(window['location']['href']),_0x4c348f={'scriptId':_0x2f35d0,'runId':(_0x28d3e8=_0x4fc221[_0x38f980(0x397)][_0x38f980(0x21d)]('runId'))!=null?_0x28d3e8:'','function':_0x54bbc3,'unitId':_0x3c2c5f[_0x38f980(0x3e8)](),'argsOfFunction':JSON['stringify'](_0x2621df)};try{const _0x19a9ab=await this[_0x38f980(0x22e)]['post'](_0x1d3744,{'body':_0x4c348f});return!(_0x19a9ab['body'][_0x38f980(0x1be)]&&_0x19a9ab[_0x38f980(0x3df)][_0x38f980(0x1be)]['code']!==_0x24e728['OK']);}catch{return!0x1;}}},_0x4768c7['RemoteUniscriptService']=_0xfc784d([_0x5dd411(0x0,_0x524529[_0x5fe29(0x383)]),_0x5dd411(0x1,_0x524529[_0x5fe29(0x3ab)](_0x57276e[_0x5fe29(0x3a4)])),_0x5dd411(0x2,_0x524529[_0x5fe29(0x3c7)])],_0x4768c7[_0x5fe29(0x2f8)]),_0x4768c7['CollaborationStatusDisplay']=_0x138f48,_0x4768c7[_0x5fe29(0x28e)]=_0x3a23fa,_0x4768c7[_0x5fe29(0x28c)]=_0x5c6578,_0x4768c7[_0x5fe29(0x340)]=_0x3186b7,_0x4768c7[_0x5fe29(0x236)]=_0x31b07f,Object[_0x5fe29(0x409)](_0x4768c7,Symbol[_0x5fe29(0x1c8)],{'value':'Module'});}));
|
|
1
|
+
function _0x501a(_0x42f2da,_0x58f283){const _0x1a7e64=_0x1a7e();return _0x501a=function(_0x501aaa,_0x965c8a){_0x501aaa=_0x501aaa-0xb9;let _0x2ff4af=_0x1a7e64[_0x501aaa];return _0x2ff4af;},_0x501a(_0x42f2da,_0x58f283);}(function(_0xe8e3b7,_0x1e18cd){const _0x6d3b5f=_0x501a,_0x2bfd5f=_0xe8e3b7();while(!![]){try{const _0x1b2883=parseInt(_0x6d3b5f(0x2f3))/0x1*(-parseInt(_0x6d3b5f(0x2a3))/0x2)+parseInt(_0x6d3b5f(0x2f5))/0x3*(parseInt(_0x6d3b5f(0x1ed))/0x4)+parseInt(_0x6d3b5f(0x1e3))/0x5+-parseInt(_0x6d3b5f(0xfa))/0x6+-parseInt(_0x6d3b5f(0x17c))/0x7*(-parseInt(_0x6d3b5f(0x32c))/0x8)+parseInt(_0x6d3b5f(0x19a))/0x9*(parseInt(_0x6d3b5f(0xcc))/0xa)+-parseInt(_0x6d3b5f(0x1c4))/0xb*(parseInt(_0x6d3b5f(0x21a))/0xc);if(_0x1b2883===_0x1e18cd)break;else _0x2bfd5f['push'](_0x2bfd5f['shift']());}catch(_0x77a84){_0x2bfd5f['push'](_0x2bfd5f['shift']());}}}(_0x1a7e,0xae0a6),function(_0x594437,_0x52726e){const _0x3f9cef=_0x501a;typeof exports==_0x3f9cef(0x1dc)&&typeof module<'u'?_0x52726e(exports,require(_0x3f9cef(0x103)),require(_0x3f9cef(0x15c)),require(_0x3f9cef(0x12e)),require(_0x3f9cef(0x191)),require(_0x3f9cef(0xc2)),require(_0x3f9cef(0x214)),require(_0x3f9cef(0x12d)),require(_0x3f9cef(0x1e8)),require(_0x3f9cef(0x223)),require(_0x3f9cef(0x143)),require('@univerjs/sheets'),require(_0x3f9cef(0x2f4)),require(_0x3f9cef(0x167)),require('react'),require('@univerjs/ui'),require(_0x3f9cef(0x189)),require(_0x3f9cef(0x2b2))):typeof define==_0x3f9cef(0x315)&&define[_0x3f9cef(0x226)]?define([_0x3f9cef(0x176),_0x3f9cef(0x103),_0x3f9cef(0x15c),_0x3f9cef(0x12e),_0x3f9cef(0x191),_0x3f9cef(0xc2),'@univerjs/drawing',_0x3f9cef(0x12d),_0x3f9cef(0x1e8),'@univerjs-pro/collaboration',_0x3f9cef(0x143),_0x3f9cef(0x31f),_0x3f9cef(0x2f4),_0x3f9cef(0x167),'react',_0x3f9cef(0x193),'@univerjs/design','@univerjs/rpc'],_0x52726e):(_0x594437=typeof globalThis<'u'?globalThis:_0x594437||self,_0x52726e(_0x594437[_0x3f9cef(0x224)]={},_0x594437[_0x3f9cef(0x32d)],_0x594437[_0x3f9cef(0x30b)],_0x594437['UniverEngineRender'],_0x594437[_0x3f9cef(0x27c)],_0x594437['UniverDocsUi'],_0x594437[_0x3f9cef(0x1b4)],_0x594437['rxjs'],_0x594437[_0x3f9cef(0x325)],_0x594437[_0x3f9cef(0x2b6)],_0x594437['UniverEngineFormula'],_0x594437[_0x3f9cef(0x2aa)],_0x594437[_0x3f9cef(0x12d)][_0x3f9cef(0x269)],_0x594437['UniverSheetsUi'],_0x594437['React'],_0x594437[_0x3f9cef(0x2c3)],_0x594437[_0x3f9cef(0x1e6)],_0x594437[_0x3f9cef(0x1cd)]));}(this,function(_0x372a14,_0x32458c,_0x55c825,_0xdf5b31,_0x49b59a,_0x2496cd,_0x2d903f,_0x57ef05,_0x1e27ae,_0x3462a3,_0x31d6cf,_0x86b6f2,_0x3fbf8d,_0xa7e086,_0x5658f7,_0xec421f,_0x52a9d7,_0x4669ff){'use strict';const _0x4ebdb4=_0x501a;var _0x30280c=Object['defineProperty'],_0x28c37c=(_0x3bff16,_0x48706c,_0xd4f133)=>_0x48706c in _0x3bff16?_0x30280c(_0x3bff16,_0x48706c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd4f133}):_0x3bff16[_0x48706c]=_0xd4f133,_0x5bcff3=(_0x5747d3,_0x5912dc,_0x1380ee)=>_0x28c37c(_0x5747d3,typeof _0x5912dc!=_0x4ebdb4(0x1d5)?_0x5912dc+'':_0x5912dc,_0x1380ee),_0x5dd2e4=Object['defineProperty'],_0x5abe65=Object[_0x4ebdb4(0x2fb)],_0x1a5718=(_0x13d0a0,_0x51007c,_0x10a0ca,_0x49917d)=>{for(var _0x595a13=_0x49917d>0x1?void 0x0:_0x49917d?_0x5abe65(_0x51007c,_0x10a0ca):_0x51007c,_0x5187dd=_0x13d0a0['length']-0x1,_0x53062e;_0x5187dd>=0x0;_0x5187dd--)(_0x53062e=_0x13d0a0[_0x5187dd])&&(_0x595a13=(_0x49917d?_0x53062e(_0x51007c,_0x10a0ca,_0x595a13):_0x53062e(_0x595a13))||_0x595a13);return _0x49917d&&_0x595a13&&_0x5dd2e4(_0x51007c,_0x10a0ca,_0x595a13),_0x595a13;},_0x1391d7=(_0x25f178,_0x3a2bb2)=>(_0x2aa00c,_0x26d318)=>_0x3a2bb2(_0x2aa00c,_0x26d318,_0x25f178);let _0x3703b2=class extends _0x55c825[_0x4ebdb4(0x19f)]{constructor(_0xe3fbc9,_0x35b3ed){const _0xce2e54=_0x4ebdb4;super(),this[_0xce2e54(0x265)]=_0xe3fbc9,this['_imageIoService']=_0x35b3ed,this['_init']();}[_0x4ebdb4(0x18f)](){const _0x3365bc=_0x4ebdb4,_0x3411c2=this;this['disposeWithMe'](this['_docClipboardService'][_0x3365bc(0x129)]({'onBeforePasteImage':async _0x5c81da=>{const _0x5d329c=_0x3365bc,_0x3fbc73=await _0x3411c2['_imageIoService'][_0x5d329c(0x1d7)](_0x5c81da);return _0x3fbc73?{'source':_0x3fbc73['source'],'imageSourceType':_0x3fbc73[_0x5d329c(0x152)]}:null;}}));}};_0x3703b2=_0x1a5718([_0x1391d7(0x0,_0x2496cd[_0x4ebdb4(0x11d)]),_0x1391d7(0x1,_0x2d903f['IImageIoService'])],_0x3703b2);const _0x23c992=[_0x4ebdb4(0xdb),_0x4ebdb4(0x2b7),'verdancy600',_0x4ebdb4(0xb9),_0x4ebdb4(0x1a9),_0x4ebdb4(0xe7)];class _0x3f65ff extends _0x55c825['Disposable']{constructor(){const _0x5bf82e=_0x4ebdb4;super(...arguments),_0x5bcff3(this,_0x5bf82e(0x279),new Map()),_0x5bcff3(this,_0x5bf82e(0x252),0x0);}['assignAColorForMemberID'](_0x34c0d8){const _0x3d235b=_0x4ebdb4;if(this[_0x3d235b(0x279)]['has'](_0x34c0d8))return this[_0x3d235b(0x279)][_0x3d235b(0x27e)](_0x34c0d8);const _0x56b579=_0x23c992[this[_0x3d235b(0x252)]];return this[_0x3d235b(0x252)]=(this[_0x3d235b(0x252)]+0x1)%_0x23c992[_0x3d235b(0x1c2)],this['_assignedColors'][_0x3d235b(0xfd)](_0x34c0d8,_0x56b579),_0x56b579;}}function _0x52e594(_0x46668a){let _0x199fbb='';for(const _0x5baa0d of _0x46668a){const {startOffset:_0x2e01dc,endOffset:_0xf12cf2,isActive:_0x36a91c,rangeType:_0x48ec71,segmentId:_0x3623d3,segmentPage:_0x1dbe07}=_0x5baa0d;_0x199fbb['length']&&(_0x199fbb+=','),_0x199fbb+=_0x2e01dc+':'+_0xf12cf2+':'+(_0x36a91c?'1':'0')+':'+_0x48ec71+':'+_0x3623d3+':'+_0x1dbe07;}return _0x199fbb;}function _0xc527a7(_0x27985c){const _0x38d01b=_0x4ebdb4,_0x2a0e47=_0x27985c[_0x38d01b(0x1d1)](','),_0x323bf=[];for(const _0x7036cc of _0x2a0e47){const [_0xdaa459,_0x4a6a91,_0x31622b,_0x4558be,_0x14d97a,_0x248d76]=_0x7036cc['split'](':');_0x323bf['push']({'startOffset':Number(_0xdaa459),'endOffset':Number(_0x4a6a91),'collapsed':_0xdaa459===_0x4a6a91,'isActive':_0x31622b==='1','rangeType':_0x4558be===_0x55c825[_0x38d01b(0xe1)][_0x38d01b(0x218)]?_0x55c825[_0x38d01b(0xe1)]['TEXT']:_0x55c825[_0x38d01b(0xe1)][_0x38d01b(0x29a)],'segmentId':typeof _0x14d97a=='string'?String(_0x14d97a):'','segmentPage':Number(_0x248d76!=null?_0x248d76:-0x1)});}return _0x323bf[_0x38d01b(0x286)](_0x369904=>_0x369904[_0x38d01b(0x209)])||(_0x323bf[0x0][_0x38d01b(0x209)]=!0x0),_0x323bf;}class _0x74332c extends _0x55c825[_0x4ebdb4(0x19f)]{constructor(){const _0x2bc46a=_0x4ebdb4;super(...arguments),_0x5bcff3(this,'_collabCursorState$',new _0x57ef05[(_0x2bc46a(0x2d5))](null)),_0x5bcff3(this,_0x2bc46a(0x1ad),this[_0x2bc46a(0x2da)][_0x2bc46a(0x17a)]());}[_0x4ebdb4(0xef)](_0x2b9f48){const _0x2c831e=_0x4ebdb4,{unitID:_0x4297d0,memberID:_0x28c4b4,textRanges:_0x16dacb}=_0x2b9f48,_0x55102a=_0x52e594(_0x16dacb);if(_0x55102a==='')return;const _0x4a9a70={'unitID':_0x4297d0,'memberID':_0x28c4b4,'selection':_0x55102a};this['_collabCursorState$'][_0x2c831e(0x291)](_0x4a9a70);}}var _0x5a5c42=Object[_0x4ebdb4(0xda)],_0x1c1660=Object[_0x4ebdb4(0x2fb)],_0x38e36e=(_0x11d999,_0x261207,_0x2158b2,_0x19b2e6)=>{for(var _0x266945=_0x19b2e6>0x1?void 0x0:_0x19b2e6?_0x1c1660(_0x261207,_0x2158b2):_0x261207,_0x2b6438=_0x11d999['length']-0x1,_0x27b36c;_0x2b6438>=0x0;_0x2b6438--)(_0x27b36c=_0x11d999[_0x2b6438])&&(_0x266945=(_0x19b2e6?_0x27b36c(_0x261207,_0x2158b2,_0x266945):_0x27b36c(_0x266945))||_0x266945);return _0x19b2e6&&_0x266945&&_0x5a5c42(_0x261207,_0x2158b2,_0x266945),_0x266945;},_0x25c8c0=(_0x4dcf7a,_0x4efa8a)=>(_0x2e0e47,_0x51015c)=>_0x4efa8a(_0x2e0e47,_0x51015c,_0x4dcf7a);const _0x28c4ee=0x12c,_0x255522=0x64;let _0xd9baa8=class extends _0x55c825[_0x4ebdb4(0x19f)]{constructor(_0x278fd8,_0x35c625,_0x4ce15e,_0xbf8e61,_0x4857c1,_0x3dbb2e,_0x21b03d,_0x39ca2f,_0x3d4fe6){const _0x5cdff9=_0x4ebdb4;super(),_0x5bcff3(this,_0x5cdff9(0x13b),!0x1),_0x5bcff3(this,_0x5cdff9(0x18f),!0x1),_0x5bcff3(this,_0x5cdff9(0x154),new _0x57ef05['BehaviorSubject'](new Map())),_0x5bcff3(this,_0x5cdff9(0x1df),this['_cursorInfo$'][_0x5cdff9(0x17a)]()),_0x5bcff3(this,_0x5cdff9(0x250),new _0x57ef05[(_0x5cdff9(0x2d5))]([])),_0x5bcff3(this,_0x5cdff9(0x100),this[_0x5cdff9(0x250)][_0x5cdff9(0x297)](_0x57ef05[_0x5cdff9(0x310)](_0x28c4ee))),_0x5bcff3(this,_0x5cdff9(0x2be),_0x55c825[_0x5cdff9(0x2eb)](_0x408f17=>{const _0x4feb8f=_0x5cdff9,_0x1f08d4={'eventID':_0x3462a3[_0x4feb8f(0x15f)][_0x4feb8f(0x2e6)],'data':{'unitID':this['unitID'],'memberID':this[_0x4feb8f(0x180)][_0x4feb8f(0x2ca)](),'selection':_0x52e594(_0x408f17)}};this[_0x4feb8f(0x180)]['send'](_0x1f08d4,this[_0x4feb8f(0x25d)]);},_0x255522)),(this['unitID']=_0x278fd8,this[_0x5cdff9(0x180)]=_0x35c625,this['_injector']=_0x4ce15e,this[_0x5cdff9(0x19c)]=_0xbf8e61,this['_memberService']=_0x4857c1,this[_0x5cdff9(0x2dd)]=_0x3dbb2e,this[_0x5cdff9(0x11c)]=_0x21b03d,this[_0x5cdff9(0x161)]=_0x39ca2f,this[_0x5cdff9(0x1b0)]=_0x3d4fe6);}get[_0x4ebdb4(0x183)](){const _0x558844=_0x4ebdb4;return this[_0x558844(0x154)][_0x558844(0x173)]();}get[_0x4ebdb4(0x2fd)](){const _0x42a338=_0x4ebdb4;return this[_0x42a338(0x250)][_0x42a338(0x173)]();}['dispose'](){const _0x4f8c42=_0x4ebdb4;super[_0x4f8c42(0x1de)](),this['_cursorInfo$'][_0x4f8c42(0x291)](new Map()),this[_0x4f8c42(0x154)][_0x4f8c42(0x2b3)](),this[_0x4f8c42(0x250)][_0x4f8c42(0x291)]([]),this[_0x4f8c42(0x250)][_0x4f8c42(0x2b3)]();}[_0x4ebdb4(0x1c8)](){const _0x20c97d=_0x4ebdb4;this[_0x20c97d(0x18f)]||(this[_0x20c97d(0x18f)]=!0x0,this['_session']['sessionStatus$'][_0x20c97d(0x297)](_0x57ef05[_0x20c97d(0x116)](this[_0x20c97d(0x1a2)]))[_0x20c97d(0x2f6)](_0x568f15=>{const _0x155244=_0x20c97d;_0x568f15===_0x32458c[_0x155244(0x2b1)]['ONLINE']?this[_0x155244(0x13c)]():this[_0x155244(0x281)]();}),this[_0x20c97d(0x180)][_0x20c97d(0x2c0)]['pipe'](_0x57ef05[_0x20c97d(0x116)](this[_0x20c97d(0x1a2)]))[_0x20c97d(0x2f6)](_0x21243b=>{const _0x26dfa0=_0x20c97d,_0x17dae5=_0x21243b['eventID'];_0x17dae5===_0x3462a3[_0x26dfa0(0x15f)][_0x26dfa0(0x2e6)]&&this[_0x26dfa0(0xf6)](_0x21243b),_0x17dae5===_0x3462a3['CollaborationEvent'][_0x26dfa0(0x21b)]&&this['_onCursorDelete'](_0x21243b);}),this[_0x20c97d(0x16d)](this['_commandService'][_0x20c97d(0x238)](_0x34e506=>{const _0x2149cf=_0x20c97d,_0x8dde29=_0x34e506[_0x2149cf(0x1d9)];_0x8dde29!=null&&this[_0x2149cf(0x13b)]&&_0x34e506['id']===_0x1e27ae[_0x2149cf(0x31d)]['id']&&_0x8dde29['unitId']===this[_0x2149cf(0x25d)]&&_0x8dde29['isEditing']===!0x1&&_0x8dde29['ranges']['length']>0x0&&this[_0x2149cf(0x2be)](_0x8dde29['ranges']);})),this[_0x20c97d(0x2dd)][_0x20c97d(0x1ad)][_0x20c97d(0x297)](_0x57ef05[_0x20c97d(0x116)](this[_0x20c97d(0x1a2)]))['subscribe'](_0x252910=>{const _0xd1e677=_0x20c97d;if((_0x252910==null?void 0x0:_0x252910['unitID'])!==this[_0xd1e677(0x25d)])return;const _0x2caef8={'eventID':_0x3462a3[_0xd1e677(0x15f)][_0xd1e677(0x2e6)],'data':_0x252910};this[_0xd1e677(0xf6)](_0x2caef8);}),this[_0x20c97d(0x16d)](this[_0x20c97d(0x1b0)][_0x20c97d(0x238)](_0xe783c8=>{const _0x4a8a14=_0x20c97d;if(_0xe783c8[_0x4a8a14(0x1d9)]==null)return;const _0x2062dd=_0xe783c8[_0x4a8a14(0x1d9)];if(_0xe783c8['id']!==_0x1e27ae[_0x4a8a14(0x112)]['id']||_0x2062dd[_0x4a8a14(0x22d)]!==this['unitID'])return;const _0xc5c2fe={'id':_0x4a8a14(0xbc),'params':_0x2062dd},_0x14b4ff=this[_0x4a8a14(0x183)];for(const [_0x1abeac,_0x2e0840]of _0x14b4ff){const _0x1108a8={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2e0840['ranges']}},_0x2fd3f4=this[_0x4a8a14(0x11c)][_0x4a8a14(0x20b)](_0xc5c2fe,_0x1108a8,!0x1);if(_0x3462a3[_0x4a8a14(0x19e)](_0x2fd3f4))throw _0x2fd3f4[_0x4a8a14(0x290)];_0x14b4ff[_0x4a8a14(0xfd)](_0x1abeac,{..._0x2e0840,'ranges':_0x2fd3f4[_0x4a8a14(0x119)][_0x4a8a14(0x1d9)][_0x4a8a14(0x263)]});}queueMicrotask(()=>{const _0x42b14c=_0x4a8a14;this[_0x42b14c(0x154)][_0x42b14c(0x291)](_0x14b4ff);});})));}[_0x4ebdb4(0xf6)](_0x531ce9){const _0x145a9e=_0x4ebdb4;var _0x1f1550,_0x240160;const {memberID:_0x7f772f,selection:_0xf26e66}=_0x531ce9[_0x145a9e(0x267)],_0x5de4da=_0xc527a7(_0xf26e66),_0x391033=(_0x240160=(_0x1f1550=this[_0x145a9e(0x16a)]['getMember'](this[_0x145a9e(0x25d)],_0x7f772f))==null?void 0x0:_0x1f1550[_0x145a9e(0x335)])!=null?_0x240160:_0x145a9e(0x115),_0x3d6240={'color':this[_0x145a9e(0x19c)]['assignAColorForMemberID'](_0x7f772f),'name':_0x391033,'ranges':_0x5de4da},_0x1f7d7d=this[_0x145a9e(0x183)];_0x1f7d7d['set'](_0x7f772f,_0x3d6240),this[_0x145a9e(0x154)][_0x145a9e(0x291)](_0x1f7d7d);}[_0x4ebdb4(0x184)](_0x4496f7){const _0xda4266=_0x4ebdb4,{memberID:_0x3479bb}=_0x4496f7['data'],_0x1c52b0=this['cursorInfo'];_0x1c52b0[_0xda4266(0x164)](_0x3479bb),this[_0xda4266(0x154)]['next'](_0x1c52b0);}[_0x4ebdb4(0x13c)](){const _0x467776=_0x4ebdb4;var _0x4d7478;if(this[_0x467776(0x13b)]=!0x0,((_0x4d7478=this[_0x467776(0x161)][_0x467776(0x15d)]())==null?void 0x0:_0x4d7478[_0x467776(0x2f7)]())!==this[_0x467776(0x25d)])return;const _0x321ea8=this[_0x467776(0x339)]['get'](_0x1e27ae[_0x467776(0x2e5)])[_0x467776(0x2ea)]();Array[_0x467776(0x25a)](_0x321ea8)&&_0x321ea8[_0x467776(0x1c2)]>0x0&&this[_0x467776(0x2be)](_0x321ea8);}[_0x4ebdb4(0x281)](){const _0x5e81b6=_0x4ebdb4;this[_0x5e81b6(0x13b)]=!0x1;}};_0xd9baa8=_0x38e36e([_0x25c8c0(0x2,_0x55c825[_0x4ebdb4(0x106)](_0x55c825[_0x4ebdb4(0x1d2)])),_0x25c8c0(0x3,_0x55c825[_0x4ebdb4(0x106)](_0x3f65ff)),_0x25c8c0(0x4,_0x55c825[_0x4ebdb4(0x106)](_0x32458c[_0x4ebdb4(0x17f)])),_0x25c8c0(0x5,_0x55c825[_0x4ebdb4(0x106)](_0x74332c)),_0x25c8c0(0x6,_0x3462a3[_0x4ebdb4(0x254)]),_0x25c8c0(0x7,_0x55c825[_0x4ebdb4(0x24d)]),_0x25c8c0(0x8,_0x55c825[_0x4ebdb4(0x1c6)])],_0xd9baa8);var _0x309436=Object[_0x4ebdb4(0xda)],_0x1ed1cc=Object[_0x4ebdb4(0x2fb)],_0xc39cfd=(_0xbb6b3f,_0xb0dab9,_0x186677,_0x4413a3)=>{for(var _0x1bf69c=_0x4413a3>0x1?void 0x0:_0x4413a3?_0x1ed1cc(_0xb0dab9,_0x186677):_0xb0dab9,_0x590446=_0xbb6b3f['length']-0x1,_0x15e78e;_0x590446>=0x0;_0x590446--)(_0x15e78e=_0xbb6b3f[_0x590446])&&(_0x1bf69c=(_0x4413a3?_0x15e78e(_0xb0dab9,_0x186677,_0x1bf69c):_0x15e78e(_0x1bf69c))||_0x1bf69c);return _0x4413a3&&_0x1bf69c&&_0x309436(_0xb0dab9,_0x186677,_0x1bf69c),_0x1bf69c;},_0x914c8e=(_0xf970f6,_0x4836c2)=>(_0x1bf69b,_0x2dca84)=>_0x4836c2(_0x1bf69b,_0x2dca84,_0xf970f6);const _0x954117=0x12c,_0x46c54d=0x64,_0x3d7618=()=>{let _0x1362f6=[],_0x35f50d=!0x1;return _0x4a37b2=>{_0x1362f6['push'](_0x4a37b2),_0x35f50d||(_0x35f50d=!0x0,setTimeout(()=>{const _0x389150=_0x501a;_0x1362f6[_0x389150(0x123)](_0x40565c=>_0x40565c()),_0x1362f6=[],_0x35f50d=!0x1;}));};};let _0x37701e=class extends _0x55c825[_0x4ebdb4(0x19f)]{constructor(_0x546d7f,_0x56cacd,_0x43523d,_0x1a5df5,_0x1ad166,_0x3993bf,_0x2dc44d,_0x751cc4){const _0x16cdba=_0x4ebdb4;super(),_0x5bcff3(this,_0x16cdba(0x13b),!0x1),_0x5bcff3(this,_0x16cdba(0x18f),!0x1),_0x5bcff3(this,_0x16cdba(0x154),new _0x57ef05[(_0x16cdba(0x2d5))](new Map())),_0x5bcff3(this,_0x16cdba(0x1df),this['_cursorInfo$']['asObservable']()),_0x5bcff3(this,_0x16cdba(0x250),new _0x57ef05[(_0x16cdba(0x2d5))]([])),_0x5bcff3(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x57ef05['debounceTime'](_0x954117))),_0x5bcff3(this,'_updateLocalCursor',_0x55c825['debounce']((_0x19279b,_0x64de5d)=>{const _0x499eb3=_0x16cdba,_0x40dfec={'eventID':_0x3462a3[_0x499eb3(0x15f)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x499eb3(0x25d)],'memberID':this[_0x499eb3(0x180)][_0x499eb3(0x2ca)](),'selection':_0x31d6cf[_0x499eb3(0x1a1)](_0x19279b,_0x64de5d[_0x499eb3(0x2a0)])}};this[_0x499eb3(0x180)][_0x499eb3(0x210)](_0x40dfec,this[_0x499eb3(0x25d)]);},_0x46c54d)),(this[_0x16cdba(0x25d)]=_0x546d7f,this[_0x16cdba(0x180)]=_0x56cacd,this[_0x16cdba(0x339)]=_0x43523d,this[_0x16cdba(0x19c)]=_0x1a5df5,this['_memberService']=_0x1ad166,this['_univerInstanceService']=_0x3993bf,this[_0x16cdba(0x1b0)]=_0x2dc44d,this[_0x16cdba(0x198)]=_0x751cc4);}get[_0x4ebdb4(0x183)](){return this['_cursorInfo$']['getValue']();}get[_0x4ebdb4(0x2fd)](){const _0x151f44=_0x4ebdb4;return this[_0x151f44(0x250)][_0x151f44(0x173)]();}['dispose'](){const _0x5439bc=_0x4ebdb4;super[_0x5439bc(0x1de)](),this[_0x5439bc(0x154)][_0x5439bc(0x291)](new Map()),this[_0x5439bc(0x154)][_0x5439bc(0x2b3)](),this[_0x5439bc(0x250)][_0x5439bc(0x291)]([]),this[_0x5439bc(0x250)][_0x5439bc(0x2b3)]();}[_0x4ebdb4(0x1c8)](){const _0x34962c=_0x4ebdb4;this[_0x34962c(0x18f)]||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x34962c(0x297)](_0x57ef05[_0x34962c(0x116)](this[_0x34962c(0x1a2)]))[_0x34962c(0x2f6)](_0x16832c=>{const _0x545c7b=_0x34962c;_0x16832c===_0x32458c[_0x545c7b(0x2b1)]['ONLINE']?this[_0x545c7b(0x13c)]():this[_0x545c7b(0x281)]();}),this[_0x34962c(0x180)][_0x34962c(0x2c0)]['pipe'](_0x57ef05['takeUntil'](this[_0x34962c(0x1a2)]))[_0x34962c(0x2f6)](_0x488c7c=>{const _0x5bddae=_0x34962c,_0x2aead5=_0x488c7c['eventID'];_0x2aead5===_0x3462a3[_0x5bddae(0x15f)][_0x5bddae(0x2e6)]&&this[_0x5bddae(0xf6)](_0x488c7c),_0x2aead5===_0x3462a3[_0x5bddae(0x15f)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x488c7c);}),this[_0x34962c(0x1f3)](),this['disposeWithMe'](this[_0x34962c(0x1b0)][_0x34962c(0x238)](_0xde53ab=>{const _0xd81d2f=_0x34962c;if(this[_0xd81d2f(0x13b)]&&_0xde53ab['id']===_0x86b6f2[_0xd81d2f(0x2bc)]['id']&&_0xde53ab['params'][_0xd81d2f(0x22d)]===this[_0xd81d2f(0x25d)]){const _0x3e79a5=_0xde53ab[_0xd81d2f(0x1d9)];this[_0xd81d2f(0x2be)](_0x3e79a5[_0xd81d2f(0xdf)],_0x3e79a5[_0xd81d2f(0xc0)][0x0]);}})));}[_0x4ebdb4(0xf6)](_0x511050){const _0x468eef=_0x4ebdb4;var _0x2d4eca,_0x1bcd1c;const {memberID:_0x4090d7,selection:_0x189376}=_0x511050[_0x468eef(0x267)],{sheetName:_0x9c6f73,range:_0x11442d}=_0x31d6cf['deserializeRangeWithSheet'](_0x189376),_0x6937ce={'name':(_0x1bcd1c=(_0x2d4eca=this[_0x468eef(0x16a)][_0x468eef(0x1a0)](this[_0x468eef(0x25d)],_0x4090d7))==null?void 0x0:_0x2d4eca[_0x468eef(0x335)])!=null?_0x1bcd1c:_0x468eef(0x115),'range':this[_0x468eef(0x192)](_0x9c6f73,_0x11442d),'sheetID':_0x9c6f73,'color':this['_colorAssignService'][_0x468eef(0x273)](_0x4090d7),'selection':_0x189376},_0x38df48=this[_0x468eef(0x183)];_0x38df48['set'](_0x4090d7,_0x6937ce),this[_0x468eef(0x154)][_0x468eef(0x291)](_0x38df48);}[_0x4ebdb4(0x184)](_0x557223){const _0x342495=_0x4ebdb4,{memberID:_0x1c40a9}=_0x557223['data'],_0x45047d=this[_0x342495(0x183)];_0x45047d['delete'](_0x1c40a9),this['_cursorInfo$'][_0x342495(0x291)](_0x45047d);}['_getMergeRange'](_0xbde669,_0x16165c){const _0x2c4448=_0x4ebdb4;var _0x41b3b7,_0xb8124c;const _0x7cc621=(_0xb8124c=(_0x41b3b7=this[_0x2c4448(0x161)]['getUniverSheetInstance'](this[_0x2c4448(0x25d)]))==null?void 0x0:_0x41b3b7[_0x2c4448(0x1e2)](_0xbde669))==null?void 0x0:_0xb8124c[_0x2c4448(0x314)]();return(_0x7cc621==null?void 0x0:_0x7cc621['find'](_0x16225b=>_0x55c825[_0x2c4448(0x188)]['contains'](_0x16225b,_0x16165c)))||_0x16165c;}[_0x4ebdb4(0x1f3)](){const _0x55a775=_0x4ebdb4,_0x16c933=new _0x55c825[(_0x55a775(0x24c))](),_0x549751=_0x3d7618(),_0x2f4068=()=>{const _0x4b68e6=_0x55a775;_0x16c933[_0x4b68e6(0x1de)]();const _0x147161=(_0xbd5205,_0x4efe1c,_0x5b84d4,_0x4b7470)=>{const _0x2c9c5b=_0x4b68e6;let _0x470c72=[];switch(_0xbd5205['id']){case _0x86b6f2['EffectRefRangId'][_0x2c9c5b(0xc3)]:{_0x470c72=_0x86b6f2['handleDeleteRangeMoveLeft'](_0xbd5205,_0x4b7470);break;}case _0x86b6f2['EffectRefRangId'][_0x2c9c5b(0x14f)]:{_0x470c72=_0x86b6f2[_0x2c9c5b(0xd1)](_0xbd5205,_0x4b7470);break;}case _0x86b6f2[_0x2c9c5b(0x2e3)][_0x2c9c5b(0x11e)]:{_0x470c72=_0x86b6f2[_0x2c9c5b(0xf0)](_0xbd5205,_0x4b7470);break;}case _0x86b6f2['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x470c72=_0x86b6f2[_0x2c9c5b(0x117)](_0xbd5205,_0x4b7470);break;}case _0x86b6f2[_0x2c9c5b(0x2e3)]['InsertRangeMoveRightCommandId']:{_0x470c72=_0x86b6f2['handleInsertRangeMoveRight'](_0xbd5205,_0x4b7470);break;}case _0x86b6f2[_0x2c9c5b(0x2e3)][_0x2c9c5b(0x18d)]:{_0x470c72=_0x86b6f2[_0x2c9c5b(0x2d2)](_0xbd5205,_0x4b7470);break;}case _0x86b6f2[_0x2c9c5b(0x2e3)][_0x2c9c5b(0x17b)]:{_0x470c72=_0x86b6f2[_0x2c9c5b(0xca)](_0xbd5205,_0x4b7470);break;}case _0x86b6f2[_0x2c9c5b(0x2e3)][_0x2c9c5b(0x206)]:{_0x470c72=_0x86b6f2[_0x2c9c5b(0x32b)](_0xbd5205,_0x4b7470);break;}case _0x86b6f2[_0x2c9c5b(0x2e3)][_0x2c9c5b(0x178)]:{_0x470c72=_0x86b6f2[_0x2c9c5b(0x293)](_0xbd5205,_0x4b7470);break;}}const _0x4b76ee=_0x86b6f2[_0x2c9c5b(0xd9)](_0x470c72,_0x4b7470),_0x387bde=this[_0x2c9c5b(0x183)][_0x2c9c5b(0x27e)](_0x4efe1c);if(_0x387bde&&_0x4b76ee){const _0x381aca={..._0x387bde,'range':_0x4b76ee};this['cursorInfo'][_0x2c9c5b(0xfd)](_0x4efe1c,_0x381aca),_0x549751(()=>{const _0x411886=_0x2c9c5b,_0x59a372=this[_0x411886(0x198)]['registerRefRange'](_0x4b76ee,_0x5296ae=>(_0x59a372[_0x411886(0x1de)](),_0x147161(_0x5296ae,_0x4efe1c,_0x5b84d4,_0x4b76ee)));_0x16c933[_0x411886(0xea)](_0x59a372);});}return{'redos':[],'undos':[]};};this[_0x4b68e6(0x183)][_0x4b68e6(0x123)]((_0x45c9cb,_0xbf3d6f)=>{const _0x29f7a6=_0x4b68e6,{range:_0xaaca6,sheetID:_0x3bfb25}=_0x45c9cb,_0x28999c=this[_0x29f7a6(0x198)]['registerRefRange'](_0xaaca6,_0x510fe3=>(_0x28999c[_0x29f7a6(0x1de)](),_0x147161(_0x510fe3,_0xbf3d6f,_0x3bfb25,_0xaaca6)));_0x16c933[_0x29f7a6(0xea)](_0x28999c);});};this[_0x55a775(0x16d)](_0x55c825[_0x55a775(0xe5)](this[_0x55a775(0x154)]['subscribe'](()=>{_0x2f4068();})));}['_toggleOnline'](){const _0x24140c=_0x4ebdb4;var _0x4e7503,_0x19c80d;if(this['_online']=!0x0,((_0x4e7503=this[_0x24140c(0x161)]['getFocusedUnit']())==null?void 0x0:_0x4e7503[_0x24140c(0x2f7)]())!==this[_0x24140c(0x25d)])return;const _0x1b09d8=(_0x19c80d=this['_injector']['get'](_0x86b6f2[_0x24140c(0x2c6)])[_0x24140c(0xed)]())==null?void 0x0:_0x19c80d[0x0],_0x361265=this[_0x24140c(0x161)][_0x24140c(0xd7)](_0x55c825[_0x24140c(0x271)][_0x24140c(0x10e)])[_0x24140c(0x236)]();_0x1b09d8&&_0x361265&&this['_updateLocalCursor'](_0x361265[_0x24140c(0x25c)](),_0x1b09d8);}[_0x4ebdb4(0x281)](){const _0x1eb3dc=_0x4ebdb4;this[_0x1eb3dc(0x13b)]=!0x1;}};_0x37701e=_0xc39cfd([_0x914c8e(0x2,_0x55c825[_0x4ebdb4(0x106)](_0x55c825['Injector'])),_0x914c8e(0x3,_0x55c825[_0x4ebdb4(0x106)](_0x3f65ff)),_0x914c8e(0x4,_0x55c825[_0x4ebdb4(0x106)](_0x32458c['MemberService'])),_0x914c8e(0x5,_0x55c825[_0x4ebdb4(0x24d)]),_0x914c8e(0x6,_0x55c825[_0x4ebdb4(0x1c6)]),_0x914c8e(0x7,_0x55c825[_0x4ebdb4(0x106)](_0x86b6f2['RefRangeService']))],_0x37701e);var _0x30a278=Object[_0x4ebdb4(0xda)],_0xba4843=Object[_0x4ebdb4(0x2fb)],_0x3a21bb=(_0x5470e2,_0x571c85,_0xb97777,_0x4c1cf9)=>{for(var _0x58b77d=_0x4c1cf9>0x1?void 0x0:_0x4c1cf9?_0xba4843(_0x571c85,_0xb97777):_0x571c85,_0x402350=_0x5470e2['length']-0x1,_0xef3a17;_0x402350>=0x0;_0x402350--)(_0xef3a17=_0x5470e2[_0x402350])&&(_0x58b77d=(_0x4c1cf9?_0xef3a17(_0x571c85,_0xb97777,_0x58b77d):_0xef3a17(_0x58b77d))||_0x58b77d);return _0x4c1cf9&&_0x58b77d&&_0x30a278(_0x571c85,_0xb97777,_0x58b77d),_0x58b77d;},_0xddaf74=(_0x586654,_0x4a24a5)=>(_0xd2e9c8,_0x5ace8b)=>_0x4a24a5(_0xd2e9c8,_0x5ace8b,_0x586654);let _0x35faf3=class extends _0x55c825[_0x4ebdb4(0x19f)]{constructor(_0x5c2fd3,_0x52972e,_0x456381){const _0x26a3b9=_0x4ebdb4;super(),_0x5bcff3(this,_0x26a3b9(0x1f0),new Map()),_0x5bcff3(this,_0x26a3b9(0x256),new _0x57ef05['Subject']()),(this['_univerInstanceService']=_0x5c2fd3,this[_0x26a3b9(0x339)]=_0x52972e,this[_0x26a3b9(0x29e)]=_0x456381,this['_init']());}[_0x4ebdb4(0x1de)](){const _0x22dfc7=_0x4ebdb4;super[_0x22dfc7(0x1de)](),this[_0x22dfc7(0x256)][_0x22dfc7(0x2b3)](),this[_0x22dfc7(0x1f0)]['forEach'](_0x2b0e6f=>_0x2b0e6f[_0x22dfc7(0x1de)]());}[_0x4ebdb4(0x2d6)](_0x22a0f1){const _0x30a137=_0x4ebdb4;return this[_0x30a137(0x1f0)][_0x30a137(0x262)](_0x22a0f1)?this['_entities'][_0x30a137(0x27e)](_0x22a0f1)['cursorInfo$']:this[_0x30a137(0x256)][_0x30a137(0x297)](_0x57ef05[_0x30a137(0x253)](_0x40cae0=>_0x40cae0[_0x30a137(0x25d)]===_0x22a0f1),_0x57ef05['switchMap'](_0x24ab6b=>_0x24ab6b[_0x30a137(0x1df)]));}[_0x4ebdb4(0x18f)](){const _0x150bbe=_0x4ebdb4;this[_0x150bbe(0x161)]['getTypeOfUnitAdded$'](_0x55c825[_0x150bbe(0x271)][_0x150bbe(0x10e)])[_0x150bbe(0x297)](_0x57ef05['takeUntil'](this[_0x150bbe(0x1a2)]))[_0x150bbe(0x2f6)](async _0x5b7d35=>{const _0x1302d6=_0x150bbe,_0x200743=_0x5b7d35[_0x1302d6(0x2f7)](),_0x47c2da=await this[_0x1302d6(0x149)](_0x200743);this['_entityInit$'][_0x1302d6(0x291)](_0x47c2da),this['_entities'][_0x1302d6(0xfd)](_0x200743,_0x47c2da);}),this[_0x150bbe(0x161)][_0x150bbe(0x1e0)](_0x55c825[_0x150bbe(0x271)][_0x150bbe(0x182)])[_0x150bbe(0x297)](_0x57ef05[_0x150bbe(0x116)](this[_0x150bbe(0x1a2)]))[_0x150bbe(0x297)](_0x57ef05[_0x150bbe(0x253)](_0x4d4d22=>!_0x4d4d22['getUnitId']()[_0x150bbe(0x10a)]('__')))[_0x150bbe(0x2f6)](async _0x1d5a2d=>{const _0x336f38=_0x150bbe,_0x42b2a1=_0x1d5a2d[_0x336f38(0x2f7)](),_0x2979ae=await this['_startDocCollabCursor'](_0x42b2a1);this[_0x336f38(0x256)]['next'](_0x2979ae),this['_entities'][_0x336f38(0xfd)](_0x42b2a1,_0x2979ae);}),_0x57ef05[_0x150bbe(0x316)](this[_0x150bbe(0x161)][_0x150bbe(0xf9)](_0x55c825[_0x150bbe(0x271)][_0x150bbe(0x182)]),this[_0x150bbe(0x161)][_0x150bbe(0xf9)](_0x55c825[_0x150bbe(0x271)]['UNIVER_SHEET']))[_0x150bbe(0x297)](_0x57ef05[_0x150bbe(0x116)](this[_0x150bbe(0x1a2)]))[_0x150bbe(0x2f6)](_0x1768a4=>{const _0x311c74=_0x150bbe,_0x2633ba=_0x1768a4['getUnitId'](),_0x3832cf=this[_0x311c74(0x1f0)][_0x311c74(0x27e)](_0x2633ba);_0x3832cf&&(_0x3832cf[_0x311c74(0x1de)](),this[_0x311c74(0x1f0)]['delete'](_0x2633ba));});}async[_0x4ebdb4(0x149)](_0x400872){const _0x27636d=_0x4ebdb4,_0xbcbba2=await this['_collabSessionService']['requireSession'](_0x400872),_0x3304cd=this[_0x27636d(0x339)][_0x27636d(0x128)](_0x37701e,_0x400872,_0xbcbba2);return _0x3304cd[_0x27636d(0x1c8)](),_0x3304cd;}async[_0x4ebdb4(0xd2)](_0x4db84a){const _0x8597c4=_0x4ebdb4,_0x5458c4=await this[_0x8597c4(0x29e)][_0x8597c4(0x2e1)](_0x4db84a),_0x45b3bf=this[_0x8597c4(0x339)][_0x8597c4(0x128)](_0xd9baa8,_0x4db84a,_0x5458c4);return _0x45b3bf['init'](),_0x45b3bf;}};_0x35faf3=_0x3a21bb([_0xddaf74(0x0,_0x55c825[_0x4ebdb4(0x24d)]),_0xddaf74(0x1,_0x55c825['Inject'](_0x55c825[_0x4ebdb4(0x1d2)])),_0xddaf74(0x2,_0x55c825['Inject'](_0x32458c[_0x4ebdb4(0x295)]))],_0x35faf3);const _0x5bb494=0x14,_0x53d1a4=0xc8,_0x3f33b5=0x4,_0x80f0a6=0x5;function _0x4ba0e2(_0x2f272e,_0x35116d){const _0x1dc33e=_0x4ebdb4;let {radius:_0x8000d8,width:_0x108b31,height:_0x1bf91d}=_0x35116d;_0x8000d8=_0x8000d8!=null?_0x8000d8:0x0,_0x108b31=_0x108b31!=null?_0x108b31:0x1e,_0x1bf91d=_0x1bf91d!=null?_0x1bf91d:0x1e;let _0x26085f=0x0,_0x560e32=0x0,_0x5e8ed6=0x0;_0x26085f=_0x560e32=_0x5e8ed6=Math[_0x1dc33e(0x18b)](_0x8000d8,_0x108b31/0x2,_0x1bf91d/0x2),_0x2f272e[_0x1dc33e(0x20f)](),_0x2f272e[_0x1dc33e(0x2ed)](_0x26085f,0x0),_0x2f272e[_0x1dc33e(0x2c2)](_0x108b31-_0x560e32,0x0),_0x2f272e[_0x1dc33e(0x134)](_0x108b31-_0x560e32,_0x560e32,_0x560e32,Math['PI']*0x3/0x2,0x0,!0x1),_0x2f272e['lineTo'](_0x108b31,_0x1bf91d-_0x5e8ed6),_0x2f272e['arc'](_0x108b31-_0x5e8ed6,_0x1bf91d-_0x5e8ed6,_0x5e8ed6,0x0,Math['PI']/0x2,!0x1),_0x2f272e[_0x1dc33e(0x2c2)](0x0,_0x1bf91d),_0x2f272e[_0x1dc33e(0x2c2)](0x0,_0x26085f),_0x2f272e['arc'](_0x26085f,_0x26085f,_0x26085f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2f272e[_0x1dc33e(0x322)](),_0x35116d[_0x1dc33e(0x175)]&&(_0x2f272e[_0x1dc33e(0x318)](),_0x2f272e[_0x1dc33e(0x14e)]=_0x35116d['fill'],_0x35116d[_0x1dc33e(0x2ba)]===_0x1dc33e(0x289)?_0x2f272e['fill'](_0x1dc33e(0x289)):_0x2f272e['fill'](),_0x2f272e[_0x1dc33e(0x1d8)]());}class _0x4431c3 extends _0xdf5b31[_0x4ebdb4(0x121)]{constructor(_0x516432,_0x4d24bb){const _0x5692c3=_0x4ebdb4;super(_0x516432,_0x4d24bb),_0x5bcff3(this,'color'),_0x5bcff3(this,'text'),(this[_0x5692c3(0x2a6)]=_0x4d24bb==null?void 0x0:_0x4d24bb[_0x5692c3(0x2a6)],this[_0x5692c3(0x186)]=_0x4d24bb==null?void 0x0:_0x4d24bb[_0x5692c3(0x186)]);}static[_0x4ebdb4(0x24e)](_0x5e4dc1,_0x14fdca){const _0x384f22=_0x4ebdb4,{text:_0x128cd2,color:_0x49bd7f}=_0x14fdca;_0x5e4dc1[_0x384f22(0x318)](),_0x5e4dc1['font']=_0x384f22(0x270);const _0x6e7b3a=_0x5e4dc1[_0x384f22(0x22a)](_0x128cd2)[_0x384f22(0x2a7)],_0x5bc3e2=Math[_0x384f22(0x18b)](_0x6e7b3a+0x2*_0x3f33b5,_0x53d1a4);_0x4ba0e2(_0x5e4dc1,{'height':_0x5bb494,'radius':0x4,'width':_0x5bc3e2,'fill':_0x49bd7f,'evented':!0x1}),_0x5e4dc1[_0x384f22(0x14e)]=_0x384f22(0x2f1);const _0x3baf66=_0x3f33b5,_0x1f5181=_0x5bb494-_0x80f0a6,_0x336c44=_0x53d1a4-0x2*_0x3f33b5;if(_0x6e7b3a>_0x336c44){let _0x135171='',_0x2c0be4=0x0;for(const _0x2d3ff1 of _0x128cd2){const _0x46bf58=_0x5e4dc1[_0x384f22(0x22a)](_0x2d3ff1)[_0x384f22(0x2a7)];if(_0x2c0be4+_0x46bf58<=_0x336c44-_0x5e4dc1[_0x384f22(0x22a)](_0x384f22(0x136))[_0x384f22(0x2a7)])_0x135171+=_0x2d3ff1,_0x2c0be4+=_0x46bf58;else{_0x135171+=_0x384f22(0x136);break;}}_0x5e4dc1[_0x384f22(0x217)](_0x135171,_0x3baf66,_0x1f5181);}else _0x5e4dc1[_0x384f22(0x217)](_0x128cd2,_0x3baf66,_0x1f5181);_0x5e4dc1[_0x384f22(0x1d8)]();}[_0x4ebdb4(0x202)](_0x168f4c){_0x4431c3['drawWith'](_0x168f4c,this);}}const _0x3ae55c=_0x4ebdb4(0x30e),_0x501702=_0x4ebdb4(0x122),_0x4b4b38=_0x4ebdb4(0x1fc),_0x969dea=0x6,_0x126d34=1.5,_0x43f234=0x4,_0x1ccbca=1.5,_0x992a2b=_0x4ebdb4(0x147);class _0x51175a{constructor(_0x3767dd,_0x5a64af,_0x2a5dd1,_0x3f205b){const _0xeef85c=_0x4ebdb4;_0x5bcff3(this,_0xeef85c(0x1af),[]),_0x5bcff3(this,_0xeef85c(0x25e),null),_0x5bcff3(this,_0xeef85c(0x127),null),_0x5bcff3(this,'_anchorDot',null),_0x5bcff3(this,'_hideTimer',null),_0x5bcff3(this,_0xeef85c(0x195),null),(this['_cursor']=_0x3767dd,this['_scene']=_0x5a64af,this['_docSkeleton']=_0x2a5dd1,this[_0xeef85c(0x27f)]=_0x3f205b,this['_render']());}set[_0x4ebdb4(0x1d4)](_0xde13ad){const _0x5b8bd7=_0x4ebdb4;_0xde13ad?(this[_0x5b8bd7(0x2ae)]&&this[_0x5b8bd7(0x2ae)][_0x5b8bd7(0x19b)](),this[_0x5b8bd7(0x127)]&&this[_0x5b8bd7(0x127)][_0x5b8bd7(0x1a6)]()):(this['_anchorDot']&&this[_0x5b8bd7(0x2ae)][_0x5b8bd7(0x1a6)](),this[_0x5b8bd7(0x127)]&&this[_0x5b8bd7(0x127)]['hide']());}['dispose'](){const _0x12e614=_0x4ebdb4;for(const _0x5432cb of this[_0x12e614(0x1af)])_0x5432cb[_0x12e614(0x1de)]();this[_0x12e614(0x127)]&&this[_0x12e614(0x127)][_0x12e614(0x1de)](),this[_0x12e614(0x2ae)]&&this[_0x12e614(0x2ae)][_0x12e614(0x1de)](),this[_0x12e614(0x25e)]&&this[_0x12e614(0x25e)][_0x12e614(0x1de)](),this[_0x12e614(0x195)]&&this[_0x12e614(0x195)]();}[_0x4ebdb4(0x130)](){const _0x10fe8e=_0x4ebdb4;var _0x434771;const {_docSkeleton:_0xfdcf8e,_document:_0x5188e6}=this,{color:_0x1b8f59,name:_0x1bc0f9,ranges:_0xe52bfa}=this['_cursor'],_0x38ec7d=_0x5188e6[_0x10fe8e(0xf4)](),{docsLeft:_0x214557,docsTop:_0x2c9c65}=_0x38ec7d,_0x4b9796=new _0x2496cd[(_0x10fe8e(0x10b))](_0x38ec7d,_0xfdcf8e);for(const {startOffset:_0x12ec01,endOffset:_0x4d4c7b,rangeType:_0x4dc50b,segmentId:_0x206720,segmentPage:_0x4ddc3c,collapsed:_0x14beb3,isActive:_0x8aa94f}of _0xe52bfa){const _0x45743c=_0xfdcf8e[_0x10fe8e(0x1a4)](_0x12ec01,!0x0,_0x206720,_0x4ddc3c);let _0xcb6289=_0xfdcf8e['findNodePositionByCharIndex'](_0x4d4c7b,!0x0,_0x206720,_0x4ddc3c);if(_0xcb6289==null&&(_0xcb6289=_0xfdcf8e[_0x10fe8e(0x1a4)](_0x4d4c7b-0x1,!0x1,_0x206720,_0x4ddc3c)),_0x8aa94f){const {contentBoxPointGroup:_0x4a5234}=_0x4b9796[_0x10fe8e(0x272)](_0xcb6289,_0xcb6289);if(_0x4a5234[_0x10fe8e(0x1c2)]===0x0)continue;this[_0x10fe8e(0x2e8)](_0x1b8f59,_0x4a5234,_0x214557,_0x2c9c65,_0x1bc0f9),this[_0x10fe8e(0x195)]=this['_handleHover']();}if(_0x45743c&&_0xcb6289){if(_0x4dc50b===_0x55c825['DOC_RANGE_TYPE']['RECT']){const _0x134eab=new _0x2496cd[(_0x10fe8e(0x30f))](_0x38ec7d,_0xfdcf8e),{pointGroup:_0x4ea974}=(_0x434771=_0x134eab['getRangePointData'](_0x45743c,_0xcb6289))!=null?_0x434771:{};if(_0x4ea974==null||_0x4ea974[_0x10fe8e(0x1c2)]===0x0)continue;this[_0x10fe8e(0x20c)](_0x1b8f59,_0x4ea974,_0x214557,_0x2c9c65);}else{if(!_0x14beb3){const {borderBoxPointGroup:_0x1083d9}=_0x4b9796[_0x10fe8e(0x272)](_0x45743c,_0xcb6289);if(_0x1083d9[_0x10fe8e(0x1c2)]===0x0)continue;this[_0x10fe8e(0x300)](_0x1b8f59,_0x1083d9,_0x214557,_0x2c9c65);}}}}}[_0x4ebdb4(0x2e8)](_0x2ea4b1,_0x2927f0,_0x151b70,_0x1149ce,_0x238ab4){const _0x34bcea=_0x4ebdb4,_0x161a1b=this[_0x34bcea(0x150)](_0x2927f0),{left:_0x540d66,top:_0x1139f1,height:_0xfb4aba}=_0x161a1b,_0x196c03=this['_getScale'](),_0x55aa84=_0x1ccbca/_0x196c03,_0x371046=new _0xdf5b31['Rect'](_0x3ae55c+_0x55c825[_0x34bcea(0x26c)][_0x34bcea(0x113)](_0x969dea),{'left':_0x540d66+_0x151b70-_0x55aa84,'top':_0x1139f1+_0x1149ce,'height':_0xfb4aba,'width':_0x126d34,'fill':_0x2ea4b1||_0xdf5b31['getColor'](_0x55c825[_0x34bcea(0x336)][_0x34bcea(0x28d)],0x0),'strokeWidth':_0x55aa84,'stroke':_0x992a2b,'evented':!0x0});this['_anchor']=_0x371046,this[_0x34bcea(0x118)][_0x34bcea(0x144)](_0x371046,_0x2496cd[_0x34bcea(0x1f2)]);const _0x2697c2=new _0xdf5b31['Rect'](_0x3ae55c+_0x55c825[_0x34bcea(0x26c)][_0x34bcea(0x113)](_0x969dea),{'left':_0x540d66+_0x151b70-_0x55aa84,'top':_0x1139f1+_0x1149ce-_0x43f234/0x2,'height':_0x43f234,'width':_0x43f234,'fill':_0x2ea4b1||_0xdf5b31[_0x34bcea(0x166)](_0x55c825[_0x34bcea(0x336)][_0x34bcea(0x28d)],0x0),'strokeWidth':0x0,'stroke':_0x2ea4b1||_0xdf5b31['getColor'](_0x55c825[_0x34bcea(0x336)][_0x34bcea(0x28d)],0x0),'evented':!0x1});this['_anchorDot']=_0x2697c2,this[_0x34bcea(0x118)]['addObject'](_0x2697c2,_0x2496cd[_0x34bcea(0x1f2)]);const _0x315a25=new _0x4431c3(_0x3ae55c+_0x55c825[_0x34bcea(0x26c)][_0x34bcea(0x113)](_0x969dea),{'left':_0x540d66+_0x151b70-_0x55aa84,'top':_0x1139f1+_0x1149ce-_0x5bb494,'text':_0x238ab4,'color':_0x2ea4b1});this[_0x34bcea(0x127)]=_0x315a25,this[_0x34bcea(0x118)][_0x34bcea(0x144)](_0x315a25,_0x2496cd[_0x34bcea(0x1f2)]),this[_0x34bcea(0x1d4)]=!0x1;}['_handleHover'](){const _0x102c8e=_0x4ebdb4,_0x31b8cf=this[_0x102c8e(0x25e)][_0x102c8e(0x2a9)]['subscribeEvent'](()=>{const _0x20a847=_0x102c8e;this[_0x20a847(0x1d4)]=!0x0;}),_0x174e37=this[_0x102c8e(0x25e)][_0x102c8e(0x21c)][_0x102c8e(0x2e2)](()=>{const _0x2f9d64=_0x102c8e;this[_0x2f9d64(0x13f)]&&clearTimeout(this[_0x2f9d64(0x13f)]),this['_hideTimer']=setTimeout(()=>{const _0x54cbfd=_0x2f9d64;this[_0x54cbfd(0x1d4)]=!0x1;},0x7d0);});return()=>{const _0x5b81b=_0x102c8e;_0x31b8cf[_0x5b81b(0xcf)](),_0x174e37[_0x5b81b(0xcf)]();};}['_drawTextRange'](_0x21dde3,_0x881dd4,_0x65cfb7,_0x1c9b17){const _0xca641a=_0x4ebdb4,_0x1174e0=new _0x55c825[(_0xca641a(0x26e))](_0x21dde3)[_0xca641a(0x12f)](0.2)[_0xca641a(0x26b)](),_0xd202fc=new _0xdf5b31[(_0xca641a(0x320))](_0x501702+_0x55c825[_0xca641a(0x26c)][_0xca641a(0x113)](_0x969dea),{'pointsGroup':_0x881dd4,'fill':_0x1174e0||_0xdf5b31['getColor'](_0x55c825[_0xca641a(0x336)]['black'],0.2),'left':_0x65cfb7,'top':_0x1c9b17,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xca641a(0x1af)][_0xca641a(0xbe)](_0xd202fc),this['_scene'][_0xca641a(0x144)](_0xd202fc,_0x2496cd[_0xca641a(0x1f2)]);}['_drawRectRange'](_0x3905a3,_0x5da422,_0x254078,_0x22886c){const _0x3d2d7b=_0x4ebdb4,_0x4d6932=new _0x55c825[(_0x3d2d7b(0x26e))](_0x3905a3)['setAlpha'](0.2)[_0x3d2d7b(0x26b)](),_0x1e8dcb=new _0xdf5b31[(_0x3d2d7b(0x320))](_0x4b4b38+_0x55c825[_0x3d2d7b(0x26c)][_0x3d2d7b(0x113)](_0x969dea),{'pointsGroup':_0x5da422,'fill':_0x4d6932||_0xdf5b31[_0x3d2d7b(0x166)](_0x55c825[_0x3d2d7b(0x336)][_0x3d2d7b(0x28d)],0.2),'left':_0x254078,'top':_0x22886c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3d2d7b(0x1af)][_0x3d2d7b(0xbe)](_0x1e8dcb),this[_0x3d2d7b(0x118)]['addObject'](_0x1e8dcb,_0x2496cd[_0x3d2d7b(0x1f2)]);}[_0x4ebdb4(0x150)](_0x46ec8c){const _0x6c34c0=_0x46ec8c[0x0],_0x20d6dc=_0x6c34c0[0x0],_0x1fce59=_0x6c34c0[0x2],{x:_0x39de1a,y:_0x3c24b3}=_0x20d6dc,{x:_0x3e668d,y:_0x2e74b7}=_0x1fce59;return{'left':_0x39de1a,'top':_0x3c24b3,'width':_0x3e668d-_0x39de1a,'height':_0x2e74b7-_0x3c24b3};}['_getScale'](){const _0x42b521=_0x4ebdb4,{scaleX:_0x2beb82,scaleY:_0x52d32d}=this[_0x42b521(0x118)][_0x42b521(0x2c5)]();return Math['max'](_0x2beb82,_0x52d32d);}}var _0xfdbbd5=Object[_0x4ebdb4(0xda)],_0x60fee2=Object['getOwnPropertyDescriptor'],_0x4ccba9=(_0x5d2f70,_0x1909a7,_0x2522eb,_0x3f6760)=>{const _0x244fac=_0x4ebdb4;for(var _0x4be847=_0x3f6760>0x1?void 0x0:_0x3f6760?_0x60fee2(_0x1909a7,_0x2522eb):_0x1909a7,_0x51e69c=_0x5d2f70[_0x244fac(0x1c2)]-0x1,_0x4b740;_0x51e69c>=0x0;_0x51e69c--)(_0x4b740=_0x5d2f70[_0x51e69c])&&(_0x4be847=(_0x3f6760?_0x4b740(_0x1909a7,_0x2522eb,_0x4be847):_0x4b740(_0x4be847))||_0x4be847);return _0x3f6760&&_0x4be847&&_0xfdbbd5(_0x1909a7,_0x2522eb,_0x4be847),_0x4be847;},_0x5ed062=(_0x2215f3,_0x1cb60f)=>(_0x555a5d,_0x46673f)=>_0x1cb60f(_0x555a5d,_0x46673f,_0x2215f3);let _0x243294=class extends _0x55c825['RxDisposable']{constructor(_0x3fb321,_0xc1df71,_0x11378d,_0x3daccd,_0xa5a07c){const _0x367b57=_0x4ebdb4;super(),_0x5bcff3(this,_0x367b57(0x2bf),[]),_0x5bcff3(this,'_cursors',[]),(this['_context']=_0x3fb321,this['_docSkeletonManagerService']=_0xc1df71,this[_0x367b57(0xdc)]=_0x11378d,this[_0x367b57(0x1b0)]=_0x3daccd,this[_0x367b57(0x1fd)]=_0xa5a07c,this[_0x367b57(0x18f)]());}['_init'](){const _0x4e4737=_0x4ebdb4,_0x2b6cd9=this[_0x4e4737(0x177)][_0x4e4737(0x22d)],_0x547d15=this[_0x4e4737(0x323)];this['disposeWithMe'](_0x57ef05['combineLatest']([this['_collabCursorController'][_0x4e4737(0x2d6)](_0x2b6cd9),this[_0x4e4737(0x1fd)][_0x4e4737(0x13d)]])[_0x4e4737(0x297)](_0x3fbf8d[_0x4e4737(0x165)](([_0x1bd5aa,_0x21ed6f])=>({'skeleton':_0x547d15['getSkeleton'](),'cursors':[..._0x1bd5aa[_0x4e4737(0x1c3)]()]['flatMap'](_0x3fc455=>({..._0x3fc455,'color':_0x21ed6f[_0x3fc455['color']]}))})))['subscribe'](_0x317386=>{const _0x20fe22=_0x4e4737;if(this['_removeCollabCursors'](),_0x317386){const {skeleton:_0x452664,cursors:_0x122cbe}=_0x317386;this[_0x20fe22(0x2b4)](_0x452664,_0x122cbe);}})),this['_initResize'](),this[_0x4e4737(0x208)]();}[_0x4ebdb4(0x2b4)](_0x2d2d1a,_0xa3ecaa){const _0x451808=_0x4ebdb4,{scene:_0x5b54a5,mainComponent:_0x63e99}=this[_0x451808(0x177)],_0x37e888=_0xa3ecaa['map'](_0x487cda=>new _0x51175a(_0x487cda,_0x5b54a5,_0x2d2d1a,_0x63e99));this[_0x451808(0x2bf)]=_0x37e888,this[_0x451808(0xc4)]=_0xa3ecaa;}[_0x4ebdb4(0xce)](){const _0x2410ee=_0x4ebdb4;this['_removeCollabCursors']();const {scene:_0x20373b,mainComponent:_0x37a00c}=this[_0x2410ee(0x177)],_0x2e65b3=this['_docSkeletonManagerService'][_0x2410ee(0x230)](),_0x468798=this[_0x2410ee(0xc4)][_0x2410ee(0x165)](_0x40fc2c=>new _0x51175a(_0x40fc2c,_0x20373b,_0x2e65b3,_0x37a00c));this[_0x2410ee(0x2bf)]=_0x468798;}[_0x4ebdb4(0x264)](){const _0x483185=_0x4ebdb4;this[_0x483185(0x2bf)][_0x483185(0x123)](_0x21f4a3=>_0x21f4a3[_0x483185(0x1de)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x5ef001=_0x4ebdb4,_0x302661=[_0x2496cd[_0x5ef001(0xc1)]['id']];this[_0x5ef001(0x16d)](this['_commandService'][_0x5ef001(0x238)](_0x1d5c65=>{const _0x2aec97=_0x5ef001;_0x302661[_0x2aec97(0x1bf)](_0x1d5c65['id'])&&_0x1d5c65[_0x2aec97(0x1d9)][_0x2aec97(0x22d)]===this[_0x2aec97(0x177)][_0x2aec97(0x22d)]&&this[_0x2aec97(0xce)]();}));}[_0x4ebdb4(0xd5)](){const _0x505b92=_0x4ebdb4;this[_0x505b92(0x16d)](_0x55c825[_0x505b92(0x151)](this['_context'][_0x505b92(0xbd)][_0x505b92(0x239)])[_0x505b92(0x297)](_0x3fbf8d[_0x505b92(0x253)](_0x24df37=>_0x24df37[_0x505b92(0xfb)]===_0xdf5b31[_0x505b92(0x2fc)]['resize']),_0x3fbf8d[_0x505b92(0x1b7)](0x10))[_0x505b92(0x2f6)](()=>{const _0x216d1e=_0x505b92;this[_0x216d1e(0xce)]();}));}};_0x243294=_0x4ccba9([_0x5ed062(0x1,_0x55c825['Inject'](_0x1e27ae[_0x4ebdb4(0x10d)])),_0x5ed062(0x2,_0x55c825[_0x4ebdb4(0x106)](_0x35faf3)),_0x5ed062(0x3,_0x55c825[_0x4ebdb4(0x1c6)]),_0x5ed062(0x4,_0x55c825['Inject'](_0x55c825[_0x4ebdb4(0x133)]))],_0x243294);const _0x3cb33e=0x1,_0x47376f=1.5;class _0x2cb7f5 extends _0xdf5b31[_0x4ebdb4(0x121)]{constructor(_0x26b95f,_0x4adaf7){const _0x573c2b=_0x4ebdb4;super(_0x26b95f,_0x4adaf7),_0x5bcff3(this,_0x573c2b(0x2a5)),_0x5bcff3(this,_0x573c2b(0x10f),!0x1),_0x5bcff3(this,_0x573c2b(0x2f8)),_0x5bcff3(this,_0x573c2b(0x1c0),''),_0x5bcff3(this,_0x573c2b(0xbb),_0x573c2b(0x326)),_0x5bcff3(this,_0x573c2b(0x1e1)),(_0x4adaf7&&this['setShapeProps'](_0x4adaf7),this[_0x573c2b(0x2a9)][_0x573c2b(0x2e2)](()=>this[_0x573c2b(0x233)]({'hovered':!0x0})),this[_0x573c2b(0x21c)][_0x573c2b(0x2e2)](()=>this[_0x573c2b(0x233)]({'hovered':!0x1})));}['setShapeProps'](_0x395df2){const _0x579a89=_0x4ebdb4;var _0xd176bb,_0xd5f9c6,_0x383ae1,_0x5811d4,_0x3594e6,_0x499755;this['_color']=(_0xd176bb=_0x395df2['color'])!=null?_0xd176bb:this[_0x579a89(0x2a5)],this[_0x579a89(0x10f)]=(_0xd5f9c6=_0x395df2[_0x579a89(0x1ef)])!=null?_0xd5f9c6:this[_0x579a89(0x10f)],this[_0x579a89(0x2f8)]=(_0x383ae1=_0x395df2[_0x579a89(0x2a0)])!=null?_0x383ae1:this[_0x579a89(0x2f8)],this[_0x579a89(0x1c0)]=(_0x5811d4=_0x395df2[_0x579a89(0x335)])!=null?_0x5811d4:this[_0x579a89(0x1c0)],this[_0x579a89(0xbb)]=(_0x3594e6=_0x395df2['labelPosition'])!=null?_0x3594e6:this[_0x579a89(0xbb)],this[_0x579a89(0x1e1)]=(_0x499755=_0x395df2[_0x579a89(0x245)])!=null?_0x499755:this[_0x579a89(0x1e1)],this[_0x579a89(0x1be)]({'width':_0x395df2[_0x579a89(0x2a7)],'height':_0x395df2[_0x579a89(0x181)]});}[_0x4ebdb4(0x2b0)](_0x229634){const _0x51dae4=_0x4ebdb4,{row:_0x2ef1be,column:_0x5f3757}=_0x229634;if(_0x2ef1be>=this['_range']['startRow']&&_0x2ef1be<=this[_0x51dae4(0x2f8)]['endRow']&&_0x5f3757>=this['_range'][_0x51dae4(0x23b)]&&_0x5f3757<=this[_0x51dae4(0x2f8)][_0x51dae4(0x2af)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x51dae4(0x233)]({'hovered':!0x1});}[_0x4ebdb4(0x321)](_0xc0a33){return!0x1;}[_0x4ebdb4(0x202)](_0x190e40){const _0x199625=_0x4ebdb4;_0xdf5b31['Rect'][_0x199625(0x24e)](_0x190e40,{'width':this['width'],'height':this[_0x199625(0x181)],'strokeWidth':_0x47376f,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x199625(0x1e1)]}),this[_0x199625(0x10f)]&&(_0x190e40[_0x199625(0x318)](),_0x190e40[_0x199625(0x278)](0x1,0x0,0x0,0x1,this[_0x199625(0x2a7)],this[_0x199625(0xbb)]===_0x199625(0x1ea)?0x0:-0x14),_0x4431c3[_0x199625(0x24e)](_0x190e40,{'text':this[_0x199625(0x1c0)],'color':this[_0x199625(0x2a5)]}),_0x190e40[_0x199625(0x1d8)]());}}var _0x23b091=Object[_0x4ebdb4(0xda)],_0x554469=Object[_0x4ebdb4(0x2fb)],_0x12469d=(_0x571b27,_0x132e69,_0x4305d6,_0x520916)=>{const _0x3af999=_0x4ebdb4;for(var _0x2ce0c6=_0x520916>0x1?void 0x0:_0x520916?_0x554469(_0x132e69,_0x4305d6):_0x132e69,_0x1af971=_0x571b27[_0x3af999(0x1c2)]-0x1,_0x158b78;_0x1af971>=0x0;_0x1af971--)(_0x158b78=_0x571b27[_0x1af971])&&(_0x2ce0c6=(_0x520916?_0x158b78(_0x132e69,_0x4305d6,_0x2ce0c6):_0x158b78(_0x2ce0c6))||_0x2ce0c6);return _0x520916&&_0x2ce0c6&&_0x23b091(_0x132e69,_0x4305d6,_0x2ce0c6),_0x2ce0c6;},_0x18c069=(_0x173ee4,_0x333667)=>(_0x4c4fbc,_0x53e708)=>_0x333667(_0x4c4fbc,_0x53e708,_0x173ee4);const _0xfd9f90=0x1389;let _0x16f00e=class extends _0x55c825[_0x4ebdb4(0x19f)]{constructor(_0x1cb85,_0x25bf3f,_0x230aba,_0x25c8b5){const _0x1448b3=_0x4ebdb4;super(),_0x5bcff3(this,'_cursors',new Set()),_0x5bcff3(this,'_lastPointer',null),(this[_0x1448b3(0x177)]=_0x1cb85,this[_0x1448b3(0x1c7)]=_0x25bf3f,this[_0x1448b3(0xdc)]=_0x230aba,this[_0x1448b3(0x1fd)]=_0x25c8b5,this[_0x1448b3(0x18f)]());}[_0x4ebdb4(0x18f)](){const _0x365460=_0x4ebdb4;this[_0x365460(0x1c7)]['currentSkeleton$'][_0x365460(0x297)](_0x3fbf8d[_0x365460(0x116)](this[_0x365460(0x1a2)]),_0x3fbf8d[_0x365460(0x241)](_0x435f37=>{const _0xbb39b7=_0x365460;if(_0x435f37){const _0x3d28c9=_0x435f37['sheetId'];return _0x57ef05[_0xbb39b7(0x148)](this[_0xbb39b7(0xdc)][_0xbb39b7(0x2d6)](this[_0xbb39b7(0x177)]['unitId']),this[_0xbb39b7(0x1fd)][_0xbb39b7(0x13d)])[_0xbb39b7(0x297)](_0x3fbf8d[_0xbb39b7(0x165)](([_0x104b08,_0x11c168])=>{const _0x2357fc=_0xbb39b7,_0x3e799=new Map();return _0x104b08[_0x2357fc(0x123)]((_0x59ba2e,_0x14af92)=>{const _0x46ca95=_0x2357fc;if(_0x59ba2e['sheetID']===_0x3d28c9){const _0x3d178c={..._0x59ba2e};_0x3d178c[_0x46ca95(0x2a6)]=_0x11c168[_0x59ba2e[_0x46ca95(0x2a6)]],_0x3e799[_0x46ca95(0xfd)](_0x14af92,_0x3d178c);}}),{'skeleton':_0x435f37,'cursors':_0x3e799};}));}return _0x57ef05['of']({'skeleton':null,'cursors':new Map()});}))[_0x365460(0x2f6)](({skeleton:_0x4860ad,cursors:_0x3d20c0})=>{const _0xd679d=_0x365460;this[_0xd679d(0x264)](),_0x4860ad&&this['_updateCollabCursors'](_0x4860ad,_0x3d20c0);}),this['_sheetSkeletonManagerService'][_0x365460(0x22f)][_0x365460(0x2f6)](_0x293d54=>{const _0x4e5254=_0x365460;if(_0x293d54==null)return;const {skeleton:_0x1e11cd}=_0x293d54,{scene:_0x2e2972}=this[_0x4e5254(0x177)];_0x2e2972[_0x4e5254(0x1aa)][_0x4e5254(0x2e2)](_0x55c825[_0x4e5254(0x2eb)](_0x143a7b=>{const _0x1334d9=_0x4e5254;var _0x4eb14c,_0x14d48d;const {offsetX:_0x52d056,offsetY:_0x563a70}=_0x143a7b,{x:_0x5c3638,y:_0x58c07b}=_0x2e2972['getRelativeToViewportCoord'](_0xdf5b31[_0x1334d9(0x1cb)][_0x1334d9(0x324)]([_0x52d056,_0x563a70])),{scaleX:_0x1284de,scaleY:_0xdcc0e8}=_0x2e2972[_0x1334d9(0x2c5)](),_0xa01114=_0x2e2972[_0x1334d9(0xf1)](_0xdf5b31['SHEET_VIEWPORT_KEY'][_0x1334d9(0x158)]),_0x53b83c=_0x2e2972['getVpScrollXYInfoByPosToVp'](_0xdf5b31[_0x1334d9(0x1cb)]['FromArray']([_0x5c3638,_0x58c07b]),_0xa01114),_0x4adff0=_0x1e11cd[_0x1334d9(0xcb)](_0x52d056,_0x563a70,_0x1284de,_0xdcc0e8,_0x53b83c);((_0x4eb14c=this['_lastPointer'])==null?void 0x0:_0x4eb14c[_0x1334d9(0x108)])===_0x4adff0['column']&&((_0x14d48d=this['_lastPointer'])==null?void 0x0:_0x14d48d['row'])===_0x4adff0[_0x1334d9(0x205)]||this['_cursors']['forEach'](_0x4df34c=>{const _0x13a7bc=_0x1334d9;_0x4df34c[_0x13a7bc(0x2b0)](_0x4adff0);});},0x64));});}[_0x4ebdb4(0x2b4)](_0x595fd5,_0x4a3f39){const _0xfae868=_0x4ebdb4;var _0x4d3d03;const _0x250d90=(_0x4d3d03=this[_0xfae868(0x1c7)][_0xfae868(0x2c9)]())==null?void 0x0:_0x4d3d03[_0xfae868(0x247)];if(!_0x250d90)return;const _0x3ab9b9=this[_0xfae868(0x2ab)]();if(!_0x3ab9b9)return;this['_cursors'][_0xfae868(0x123)](_0x234b6a=>{const _0x2397b7=_0xfae868;_0x234b6a[_0x2397b7(0x2df)]();});const {scene:_0x71bc34}=_0x3ab9b9,_0x17571e=_0x23bac3(Array[_0xfae868(0x111)](_0x4a3f39['values']()))[_0xfae868(0x165)](_0xbd442e=>{const _0x26af2c=_0xfae868,{color:_0x21386a,range:_0x269571,name:_0x4a5e22,selection:_0x508701,sheetID:_0x554a6c}=_0xbd442e,{startColumn:_0x5a9c5c,startRow:_0xe49311,endColumn:_0x225047,endRow:_0x2b0aae}=_0x269571,_0x30c515=_0xa7e086[_0x26af2c(0x23e)](_0xe49311,_0x5a9c5c,_0x71bc34,_0x250d90),_0x589fcd=_0xa7e086[_0x26af2c(0x23e)](_0x2b0aae,_0x225047,_0x71bc34,_0x250d90),{columnHeaderHeightAndMarginTop:_0x1eb151}=_0x250d90,{startX:_0x13b47c,startY:_0x107f2e}=_0x30c515,{endX:_0x5ab3e6,endY:_0x122f31}=_0x589fcd,_0xf5b858=_0x5ab3e6-_0x13b47c,_0x1880ef=_0x122f31-_0x107f2e,_0x31e840={'labelPosition':_0x107f2e-_0x1eb151>=_0x5bb494?'top':'bottom','sheetID':_0x554a6c,'range':_0x269571,'color':_0x21386a,'name':_0x4a5e22,'selection':_0x508701,'left':_0x13b47c,'top':_0x107f2e,'width':_0xf5b858,'height':_0x1880ef,'evented':!0x1,'zIndex':_0xfd9f90};return new _0x2cb7f5(_0x4a5e22,_0x31e840);});_0x71bc34['addObjects'](_0x17571e,_0x3cb33e),this[_0xfae868(0xc4)]=new Set(_0x17571e);}[_0x4ebdb4(0x264)](){const _0x378b3b=_0x4ebdb4;var _0x313380;(_0x313380=this[_0x378b3b(0xc4)])==null||_0x313380[_0x378b3b(0x123)](_0x25ace2=>_0x25ace2[_0x378b3b(0x1de)]());}[_0x4ebdb4(0x2ab)](){const _0x42777b=_0x4ebdb4;return _0xa7e086['getSheetObject'](this['_context']['unit'],this[_0x42777b(0x177)]);}};_0x16f00e=_0x12469d([_0x18c069(0x1,_0x55c825[_0x4ebdb4(0x106)](_0xa7e086[_0x4ebdb4(0x10c)])),_0x18c069(0x2,_0x55c825['Inject'](_0x35faf3)),_0x18c069(0x3,_0x55c825[_0x4ebdb4(0x106)](_0x55c825[_0x4ebdb4(0x133)]))],_0x16f00e);function _0x23bac3(_0x4b2e50){const _0xe9e1f9=_0x4ebdb4,_0x3fa207=new Map();return _0x4b2e50[_0xe9e1f9(0x123)](_0x208b74=>{const _0x2e0942=_0xe9e1f9;if(_0x3fa207[_0x2e0942(0x262)](_0x208b74[_0x2e0942(0x309)])){const _0x1e7854=_0x3fa207['get'](_0x208b74[_0x2e0942(0x309)]);_0x1e7854[_0x2e0942(0x335)]+=',\x20'+_0x208b74[_0x2e0942(0x335)];}else _0x3fa207['set'](_0x208b74[_0x2e0942(0x309)],_0x208b74);}),Array['from'](_0x3fa207[_0xe9e1f9(0x1c3)]());}var _0x425d33={'exports':{}},_0x5192be={},_0x1e5cbe;function _0xa10ba7(){const _0x46c34a=_0x4ebdb4;if(_0x1e5cbe)return _0x5192be;_0x1e5cbe=0x1;var _0x20b11d=_0x5658f7,_0x4adb37=Symbol['for'](_0x46c34a(0x2bb)),_0x1150ab=Symbol[_0x46c34a(0x163)](_0x46c34a(0x15a)),_0x83fdb0=Object['prototype'][_0x46c34a(0x1b3)],_0x943097=_0x20b11d[_0x46c34a(0x31b)][_0x46c34a(0xcd)],_0xcc633b={'key':!0x0,'ref':!0x0,'__self':!0x0,'__source':!0x0};function _0x265c4e(_0x372036,_0x1dd231,_0x33dd8d){const _0x22a480=_0x46c34a;var _0x5bd123,_0x198687={},_0x3f027f=null,_0x38e688=null;_0x33dd8d!==void 0x0&&(_0x3f027f=''+_0x33dd8d),_0x1dd231[_0x22a480(0x15e)]!==void 0x0&&(_0x3f027f=''+_0x1dd231[_0x22a480(0x15e)]),_0x1dd231[_0x22a480(0x1d3)]!==void 0x0&&(_0x38e688=_0x1dd231[_0x22a480(0x1d3)]);for(_0x5bd123 in _0x1dd231)_0x83fdb0[_0x22a480(0x328)](_0x1dd231,_0x5bd123)&&!_0xcc633b['hasOwnProperty'](_0x5bd123)&&(_0x198687[_0x5bd123]=_0x1dd231[_0x5bd123]);if(_0x372036&&_0x372036[_0x22a480(0x19d)]){for(_0x5bd123 in(_0x1dd231=_0x372036[_0x22a480(0x19d)],_0x1dd231))_0x198687[_0x5bd123]===void 0x0&&(_0x198687[_0x5bd123]=_0x1dd231[_0x5bd123]);}return{'$$typeof':_0x4adb37,'type':_0x372036,'key':_0x3f027f,'ref':_0x38e688,'props':_0x198687,'_owner':_0x943097[_0x22a480(0x234)]};}return _0x5192be[_0x46c34a(0x13e)]=_0x1150ab,_0x5192be[_0x46c34a(0x16c)]=_0x265c4e,_0x5192be[_0x46c34a(0x242)]=_0x265c4e,_0x5192be;}var _0x537fd5;function _0x4a4e2e(){return _0x537fd5||(_0x537fd5=0x1,_0x425d33['exports']=_0xa10ba7()),_0x425d33['exports'];}var _0x1ca7be=_0x4a4e2e(),_0x503762=function(){return _0x503762=Object['assign']||function(_0x15eed5){const _0x36041f=_0x501a;for(var _0x129fc5,_0x2809c6=0x1,_0x320930=arguments[_0x36041f(0x1c2)];_0x2809c6<_0x320930;_0x2809c6++){_0x129fc5=arguments[_0x2809c6];for(var _0x2f803b in _0x129fc5)Object[_0x36041f(0x285)][_0x36041f(0x1b3)][_0x36041f(0x328)](_0x129fc5,_0x2f803b)&&(_0x15eed5[_0x2f803b]=_0x129fc5[_0x2f803b]);}return _0x15eed5;},_0x503762['apply'](this,arguments);},_0x1b2a77=function(_0x487c40,_0x29190b){const _0x4b6206=_0x4ebdb4;var _0x294d86={};for(var _0x266356 in _0x487c40)Object[_0x4b6206(0x285)][_0x4b6206(0x1b3)][_0x4b6206(0x328)](_0x487c40,_0x266356)&&_0x29190b['indexOf'](_0x266356)<0x0&&(_0x294d86[_0x266356]=_0x487c40[_0x266356]);if(_0x487c40!=null&&typeof Object['getOwnPropertySymbols']==_0x4b6206(0x315)){for(var _0x29e458=0x0,_0x266356=Object[_0x4b6206(0xde)](_0x487c40);_0x29e458<_0x266356[_0x4b6206(0x1c2)];_0x29e458++)_0x29190b['indexOf'](_0x266356[_0x29e458])<0x0&&Object[_0x4b6206(0x285)][_0x4b6206(0x2ad)][_0x4b6206(0x328)](_0x487c40,_0x266356[_0x29e458])&&(_0x294d86[_0x266356[_0x29e458]]=_0x487c40[_0x266356[_0x29e458]]);}return _0x294d86;},_0x555848=_0x5658f7[_0x4ebdb4(0x187)](function(_0x5d62d4,_0x1defe5){const _0xe9bfe=_0x4ebdb4;var _0x3160e=_0x5d62d4[_0xe9bfe(0x1ac)],_0x7a3d2=_0x5d62d4['id'],_0x351db4=_0x5d62d4['className'],_0x35bcad=_0x5d62d4[_0xe9bfe(0x257)],_0x431acc=_0x1b2a77(_0x5d62d4,[_0xe9bfe(0x1ac),'id',_0xe9bfe(0xe4),_0xe9bfe(0x257)]),_0x241d5a='univerjs-icon\x20univerjs-icon-'[_0xe9bfe(0x107)](_0x7a3d2,'\x20')[_0xe9bfe(0x107)](_0x351db4||'')['trim'](),_0x27e69a=_0x5658f7[_0xe9bfe(0x131)]('_'['concat'](_0x2de6ae()));return _0x226133(_0x3160e,''[_0xe9bfe(0x107)](_0x7a3d2),{'defIds':_0x3160e[_0xe9bfe(0x1f4)],'idSuffix':_0x27e69a[_0xe9bfe(0x234)]},_0x503762({'ref':_0x1defe5,'className':_0x241d5a},_0x431acc),_0x35bcad);});function _0x226133(_0x30dee2,_0x1965da,_0x499943,_0x1b7403,_0x18377a){const _0x5296cc=_0x4ebdb4;return _0x5658f7['createElement'](_0x30dee2[_0x5296cc(0x156)],_0x503762(_0x503762({'key':_0x1965da},_0x5ae3f3(_0x30dee2,_0x499943,_0x18377a)),_0x1b7403),(_0x4d179c(_0x30dee2,_0x499943)[_0x5296cc(0x259)]||[])[_0x5296cc(0x165)](function(_0x491cca,_0x26d37e){const _0x38f5e1=_0x5296cc;return _0x226133(_0x491cca,''[_0x38f5e1(0x107)](_0x1965da,'-')[_0x38f5e1(0x107)](_0x30dee2['tag'],'-')[_0x38f5e1(0x107)](_0x26d37e),_0x499943,void 0x0,_0x18377a);}));}function _0x5ae3f3(_0xb4aaff,_0x17cbec,_0x4e1c28){const _0x5b08ed=_0x4ebdb4;var _0x5e5783=_0x503762({},_0xb4aaff[_0x5b08ed(0x319)]);_0x4e1c28!=null&&_0x4e1c28[_0x5b08ed(0x296)]&&_0x5e5783[_0x5b08ed(0x175)]===_0x5b08ed(0x296)&&(_0x5e5783['fill']=_0x4e1c28[_0x5b08ed(0x296)]);var _0x57ed1a=_0x17cbec[_0x5b08ed(0x1f4)];return!_0x57ed1a||_0x57ed1a['length']===0x0||(_0xb4aaff['tag']===_0x5b08ed(0x1e9)&&_0x5e5783[_0x5b08ed(0x2c7)]&&(_0x5e5783[_0x5b08ed(0x2c7)]=_0x5e5783[_0x5b08ed(0x2c7)]+_0x17cbec[_0x5b08ed(0x203)]),Object['entries'](_0x5e5783)[_0x5b08ed(0x123)](function(_0x27f9d8){const _0x3ff383=_0x5b08ed;var _0xb524ed=_0x27f9d8[0x0],_0x128629=_0x27f9d8[0x1];typeof _0x128629=='string'&&(_0x5e5783[_0xb524ed]=_0x128629[_0x3ff383(0x212)](/url\(#(.*)\)/,_0x3ff383(0x141)[_0x3ff383(0x107)](_0x17cbec['idSuffix'],')')));})),_0x5e5783;}function _0x4d179c(_0x1a96a7,_0x2f8038){const _0x20f4a8=_0x4ebdb4;var _0x1d43b5,_0x1e74b6=_0x2f8038[_0x20f4a8(0x1f4)];return!_0x1e74b6||_0x1e74b6['length']===0x0?_0x1a96a7:_0x1a96a7[_0x20f4a8(0x156)]==='defs'&&(!((_0x1d43b5=_0x1a96a7['children'])===null||_0x1d43b5===void 0x0)&&_0x1d43b5[_0x20f4a8(0x1c2)])?_0x503762(_0x503762({},_0x1a96a7),{'children':_0x1a96a7['children'][_0x20f4a8(0x165)](function(_0x56fb8a){const _0x2d859b=_0x20f4a8;return typeof _0x56fb8a[_0x2d859b(0x319)]['id']==_0x2d859b(0x225)&&_0x1e74b6&&_0x1e74b6[_0x2d859b(0x18c)](_0x56fb8a[_0x2d859b(0x319)]['id'])>-0x1?_0x503762(_0x503762({},_0x56fb8a),{'attrs':_0x503762(_0x503762({},_0x56fb8a[_0x2d859b(0x319)]),{'id':_0x56fb8a[_0x2d859b(0x319)]['id']+_0x2f8038[_0x2d859b(0x203)]})}):_0x56fb8a;})}):_0x1a96a7;}function _0x2de6ae(){const _0x134314=_0x4ebdb4;return Math[_0x134314(0xe3)]()[_0x134314(0x1bb)](0x24)[_0x134314(0xe2)](0x2,0x8);}_0x555848['displayName']=_0x4ebdb4(0x22b);var _0x44733c={'tag':_0x4ebdb4(0x201),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x4ebdb4(0xf5),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4ebdb4(0x114)},'children':[{'tag':'path','attrs':{'stroke':_0x4ebdb4(0x1b1),'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':_0x4ebdb4(0x30d),'strokeLinejoin':_0x4ebdb4(0x30d),'strokeWidth':1.2}}]},{'tag':_0x4ebdb4(0x15b),'attrs':{},'children':[{'tag':_0x4ebdb4(0x333),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x4ebdb4(0x2ef),'attrs':{'fill':_0x4ebdb4(0x2b9),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x2c5717=_0x5658f7[_0x4ebdb4(0x187)](function(_0x366f0b,_0x2397d0){const _0x46f4aa=_0x4ebdb4;return _0x5658f7[_0x46f4aa(0x102)](_0x555848,Object[_0x46f4aa(0x1eb)]({},_0x366f0b,{'id':'off-line-single','ref':_0x2397d0,'icon':_0x44733c}));});_0x2c5717[_0x4ebdb4(0x1ab)]='OffLineSingle';var _0x5571d4={'tag':_0x4ebdb4(0x201),'attrs':{'fill':_0x4ebdb4(0x14a),'viewBox':_0x4ebdb4(0x2d9),'width':_0x4ebdb4(0xf5),'height':_0x4ebdb4(0xf5)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x4ebdb4(0x1b1),'d':_0x4ebdb4(0x2a8),'strokeLinecap':_0x4ebdb4(0x30d),'strokeLinejoin':_0x4ebdb4(0x30d),'strokeWidth':1.2}}]},{'tag':_0x4ebdb4(0x15b),'attrs':{},'children':[{'tag':_0x4ebdb4(0x333),'attrs':{'id':_0x4ebdb4(0x330)},'children':[{'tag':_0x4ebdb4(0x2ef),'attrs':{'fill':_0x4ebdb4(0x2b9),'d':_0x4ebdb4(0x313),'transform':_0x4ebdb4(0xd6)}}]}]}],'defIds':[_0x4ebdb4(0x330)]},_0x35a9e6=_0x5658f7[_0x4ebdb4(0x187)](function(_0x40e8ae,_0xc8d7eb){const _0x4b331a=_0x4ebdb4;return _0x5658f7['createElement'](_0x555848,Object[_0x4b331a(0x1eb)]({},_0x40e8ae,{'id':_0x4b331a(0x21f),'ref':_0xc8d7eb,'icon':_0x5571d4}));});_0x35a9e6[_0x4ebdb4(0x1ab)]=_0x4ebdb4(0x280);function _0x3ae270(_0x178033){const _0x3785ae=_0x4ebdb4;var _0x330780,_0x213b61,_0x329bf7='';if(typeof _0x178033==_0x3785ae(0x225)||typeof _0x178033==_0x3785ae(0x228))_0x329bf7+=_0x178033;else{if(typeof _0x178033==_0x3785ae(0x1dc)){if(Array[_0x3785ae(0x25a)](_0x178033)){var _0x557552=_0x178033['length'];for(_0x330780=0x0;_0x330780<_0x557552;_0x330780++)_0x178033[_0x330780]&&(_0x213b61=_0x3ae270(_0x178033[_0x330780]))&&(_0x329bf7&&(_0x329bf7+='\x20'),_0x329bf7+=_0x213b61);}else{for(_0x213b61 in _0x178033)_0x178033[_0x213b61]&&(_0x329bf7&&(_0x329bf7+='\x20'),_0x329bf7+=_0x213b61);}}}return _0x329bf7;}function _0x493063(){const _0x432718=_0x4ebdb4;for(var _0x4882b6,_0x5512b3,_0x425200=0x0,_0x4986d2='',_0x22811e=arguments[_0x432718(0x1c2)];_0x425200<_0x22811e;_0x425200++)(_0x4882b6=arguments[_0x425200])&&(_0x5512b3=_0x3ae270(_0x4882b6))&&(_0x4986d2&&(_0x4986d2+='\x20'),_0x4986d2+=_0x5512b3);return _0x4986d2;}const _0x46ca7b={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':_0x4ebdb4(0x2e9),'onlineStatus':'univer-online-status','online':_0x4ebdb4(0x132),'offline':_0x4ebdb4(0x2cb)};function _0x194a72(_0x2a8c31){const _0xc915a4=_0x4ebdb4;switch(_0x2a8c31){case _0x32458c[_0xc915a4(0xdd)][_0xc915a4(0x25b)]:return'collabStatus.offline';case _0x32458c[_0xc915a4(0xdd)][_0xc915a4(0x28c)]:return _0xc915a4(0x29c);case _0x32458c['CollaborationStatus']['FETCH_MISS']:return _0xc915a4(0x20a);case _0x32458c[_0xc915a4(0xdd)]['NOT_COLLAB']:return _0xc915a4(0xd4);case _0x32458c[_0xc915a4(0xdd)]['AWAITING']:case _0x32458c['CollaborationStatus'][_0xc915a4(0x11f)]:return _0xc915a4(0x1ce);case _0x32458c[_0xc915a4(0xdd)][_0xc915a4(0x22c)]:case _0x32458c[_0xc915a4(0xdd)]['PENDING']:return _0xc915a4(0x282);}}function _0xe20882(_0x21bb0b){const _0x4f77a7=_0x4ebdb4,{status$:_0x382cb6}=_0x21bb0b,_0x1fe897=_0xec421f[_0x4f77a7(0x1f8)](_0x382cb6,_0x32458c[_0x4f77a7(0xdd)][_0x4f77a7(0x1b6)]),_0x2989a5=_0x55c825[_0x4f77a7(0x2bd)](_0x55c825[_0x4f77a7(0x1f6)]),_0x7785ea=_0x55c825[_0x4f77a7(0x2bd)](_0x32458c['CollaborationSessionService']),_0x191dfb=_0x1fe897!==_0x32458c[_0x4f77a7(0xdd)][_0x4f77a7(0x25b)],_0x50f7f4=_0x2989a5['t'](_0x194a72(_0x1fe897)),_0x212f63=_0x493063(_0x46ca7b['onlineStatus'],{[_0x46ca7b[_0x4f77a7(0x277)]]:_0x191dfb,[_0x46ca7b[_0x4f77a7(0x30a)]]:!_0x191dfb}),_0x533688=_0x191dfb?_0x1ca7be[_0x4f77a7(0x16c)](_0x35a9e6,{}):_0x1ca7be[_0x4f77a7(0x16c)](_0x2c5717,{}),_0x1197a0=_0x5658f7[_0x4f77a7(0x1fb)](()=>{const _0x4e8048=_0x4f77a7;_0x191dfb||_0x7785ea[_0x4e8048(0x2d8)]();},[_0x191dfb,_0x7785ea]);function _0x5f2dac(){const _0x14c768=_0x4f77a7;return _0x1ca7be['jsxs'](_0x14c768(0x1cc),{'className':_0x493063(_0x212f63,'univer-flex\x20univer-items-center'),'onClick':_0x1197a0,'children':[_0x1ca7be['jsx'](_0x14c768(0x1cc),{'className':_0x46ca7b[_0x14c768(0x2ee)],'children':_0x533688}),_0x1ca7be[_0x14c768(0x16c)](_0x14c768(0x1cc),{'className':_0x46ca7b[_0x14c768(0x197)],'children':_0x50f7f4})]});}return _0x191dfb?_0x5f2dac():_0x1ca7be[_0x4f77a7(0x16c)](_0x52a9d7[_0x4f77a7(0x2de)],{'title':_0x2989a5['t'](_0x4f77a7(0x1b2)),'children':_0x5f2dac()});}var _0x36eb45=Object[_0x4ebdb4(0xda)],_0x5d2b6f=Object[_0x4ebdb4(0x2fb)],_0xd2cfe=(_0x49f148,_0x3bea3a,_0x888ae1,_0x1a7e5c)=>{const _0xda06d6=_0x4ebdb4;for(var _0xbe3133=_0x1a7e5c>0x1?void 0x0:_0x1a7e5c?_0x5d2b6f(_0x3bea3a,_0x888ae1):_0x3bea3a,_0x44cd90=_0x49f148[_0xda06d6(0x1c2)]-0x1,_0x478f48;_0x44cd90>=0x0;_0x44cd90--)(_0x478f48=_0x49f148[_0x44cd90])&&(_0xbe3133=(_0x1a7e5c?_0x478f48(_0x3bea3a,_0x888ae1,_0xbe3133):_0x478f48(_0xbe3133))||_0xbe3133);return _0x1a7e5c&&_0xbe3133&&_0x36eb45(_0x3bea3a,_0x888ae1,_0xbe3133),_0xbe3133;},_0x319841=(_0x433244,_0x434b40)=>(_0x304142,_0x12171a)=>_0x434b40(_0x304142,_0x12171a,_0x433244);_0x372a14[_0x4ebdb4(0x255)]=class extends _0x55c825[_0x4ebdb4(0x1a7)]{constructor(_0x4fe298,_0xe8307e,_0xa3b88f,_0x398114){const _0xe592a3=_0x4ebdb4;super(),_0x5bcff3(this,_0xe592a3(0x13a),new _0x57ef05[(_0xe592a3(0x2d5))](_0x32458c[_0xe592a3(0xdd)][_0xe592a3(0x1b6)])),(this[_0xe592a3(0x161)]=_0x4fe298,this[_0xe592a3(0x339)]=_0xe8307e,this[_0xe592a3(0x28e)]=_0xa3b88f,this[_0xe592a3(0x137)]=_0x398114,this['_initStatusComponent'](),this['_initStatusListener']());}['_initStatusListener'](){const _0x18e25e=_0x4ebdb4;this[_0x18e25e(0x16d)](this[_0x18e25e(0x161)][_0x18e25e(0x16f)]['pipe'](_0x57ef05[_0x18e25e(0x241)](()=>{const _0x590755=_0x18e25e,_0x4ddd0c=this[_0x590755(0x161)][_0x590755(0x15d)]();return _0x4ddd0c?this[_0x590755(0x28e)][_0x590755(0x24f)](_0x4ddd0c[_0x590755(0x2f7)]()):_0x57ef05['of'](null);}),_0x57ef05[_0x18e25e(0x241)](_0xdcab38=>_0xdcab38?_0xdcab38[_0x18e25e(0xc9)]:_0x57ef05['of'](_0x32458c[_0x18e25e(0xdd)]['NOT_COLLAB'])))[_0x18e25e(0x2f6)](_0x44c505=>{const _0x91e2d4=_0x18e25e;this[_0x91e2d4(0x13a)]['next'](_0x44c505);}));}[_0x4ebdb4(0x299)](){const _0x19079e=_0x4ebdb4;this[_0x19079e(0x16d)](this[_0x19079e(0x137)]['registerComponent'](_0xec421f[_0x19079e(0x26f)]['HEADER_MENU'],()=>_0x55c825[_0x19079e(0x207)](_0x5967e2({'status$':this[_0x19079e(0x13a)][_0x19079e(0x17a)]()}),this['_injector'])));}},_0x372a14[_0x4ebdb4(0x255)]=_0xd2cfe([_0x319841(0x0,_0x55c825[_0x4ebdb4(0x24d)]),_0x319841(0x1,_0x55c825[_0x4ebdb4(0x106)](_0x55c825[_0x4ebdb4(0x1d2)])),_0x319841(0x2,_0x55c825[_0x4ebdb4(0x106)](_0x32458c['CollaborationController'])),_0x319841(0x3,_0xec421f[_0x4ebdb4(0x1ba)])],_0x372a14[_0x4ebdb4(0x255)]);function _0x5967e2(_0x3a78b6){const {status$:_0x365b59}=_0x3a78b6;return function(){return _0x1ca7be['jsx'](_0xe20882,{'status$':_0x365b59});};}var _0x448e25=Object['defineProperty'],_0x3f0246=Object[_0x4ebdb4(0x2fb)],_0xe06eb1=(_0x5363d7,_0x41b0ec,_0xdbc02a,_0x461068)=>{const _0x479a7f=_0x4ebdb4;for(var _0x235744=_0x461068>0x1?void 0x0:_0x461068?_0x3f0246(_0x41b0ec,_0xdbc02a):_0x41b0ec,_0x1ccad9=_0x5363d7[_0x479a7f(0x1c2)]-0x1,_0x2618f7;_0x1ccad9>=0x0;_0x1ccad9--)(_0x2618f7=_0x5363d7[_0x1ccad9])&&(_0x235744=(_0x461068?_0x2618f7(_0x41b0ec,_0xdbc02a,_0x235744):_0x2618f7(_0x235744))||_0x235744);return _0x461068&&_0x235744&&_0x448e25(_0x41b0ec,_0xdbc02a,_0x235744),_0x235744;},_0x41439d=(_0x7a1341,_0x2b69d2)=>(_0x452077,_0x2f461a)=>_0x2b69d2(_0x452077,_0x2f461a,_0x7a1341);let _0x465c1b=class extends _0x55c825[_0x4ebdb4(0x1a7)]{constructor(_0x1fbfb6,_0x4948d8,_0x4653c6,_0x253ee6,_0x3ce7be,_0x5f386f){const _0x1edc98=_0x4ebdb4;super(),this['_beforeCloseService']=_0x1fbfb6,this[_0x1edc98(0xe6)]=_0x4948d8,this[_0x1edc98(0x304)]=_0x4653c6,this['_messageService']=_0x253ee6,this[_0x1edc98(0x1f1)]=_0x3ce7be,this[_0x1edc98(0x249)]=_0x5f386f,this[_0x1edc98(0x232)](),this[_0x1edc98(0x307)]();}[_0x4ebdb4(0x232)](){const _0x5082d1=_0x4ebdb4;this[_0x5082d1(0x16d)](this[_0x5082d1(0x110)][_0x5082d1(0x2f0)](()=>{const _0x378225=_0x5082d1;if(this[_0x378225(0xe6)]['saveTaskMap'][_0x378225(0x2d3)])return this[_0x378225(0x249)]['t'](_0x378225(0x1b8));}));}[_0x4ebdb4(0x307)](){const _0xb68e98=_0x4ebdb4;this[_0xb68e98(0x16d)](this[_0xb68e98(0x304)][_0xb68e98(0x2c0)][_0xb68e98(0x2f6)](_0x7bc10c=>{const _0x51c86d=_0xb68e98;_0x7bc10c['id']===_0x32458c[_0x51c86d(0x26d)][_0x51c86d(0x243)]&&this['_messageService'][_0x51c86d(0x1a6)]({'type':_0x52a9d7[_0x51c86d(0x204)]['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x7bc10c['id']===_0x32458c[_0x51c86d(0x26d)]['CLOSE_ROOM']&&this['_messageService'][_0x51c86d(0x1a6)]({'type':_0x52a9d7[_0x51c86d(0x204)][_0x51c86d(0x1dd)],'content':this[_0x51c86d(0x249)]['t'](_0x51c86d(0xba))}),_0x7bc10c['id']===_0x32458c[_0x51c86d(0x26d)]['PERMISSION_DENIED']&&this[_0x51c86d(0x1f1)][_0x51c86d(0x1a6)]({'title':this[_0x51c86d(0x249)]['t']('permission.title'),'content':this[_0x51c86d(0x249)]['t'](_0x51c86d(0x160)),'type':'error','duration':0x0}),_0x7bc10c['id']===_0x32458c[_0x51c86d(0x26d)][_0x51c86d(0x28c)]&&this['_messageService']['show']({'type':_0x52a9d7[_0x51c86d(0x204)][_0x51c86d(0x2a1)],'content':this[_0x51c86d(0x249)]['t']('collaboration.closeRoom')+'('+_0x7bc10c[_0x51c86d(0x267)]+')'}),_0x7bc10c['id']===_0x32458c[_0x51c86d(0x26d)][_0x51c86d(0xc7)]&&this['_messageService']['show']({'type':_0x52a9d7[_0x51c86d(0x204)][_0x51c86d(0x1dd)],'content':this[_0x51c86d(0x249)]['t'](_0x7bc10c[_0x51c86d(0x267)]||'')}),_0x7bc10c['id']===_0x32458c[_0x51c86d(0x26d)][_0x51c86d(0x1c9)]&&this['_messageService'][_0x51c86d(0x1a6)]({'type':_0x52a9d7[_0x51c86d(0x204)][_0x51c86d(0x1dd)],'content':this['_localeService']['t'](_0x51c86d(0x2dc))}),_0x7bc10c['id']===_0x32458c[_0x51c86d(0x26d)]['SOCKET_FAILED']&&this['_messageService'][_0x51c86d(0x1a6)]({'type':_0x52a9d7['MessageType'][_0x51c86d(0x2a1)],'content':this[_0x51c86d(0x249)]['t'](_0x51c86d(0x221))}),_0x7bc10c['id']===_0x32458c[_0x51c86d(0x26d)][_0x51c86d(0x31e)]&&this['_messageService']['show']({'type':_0x52a9d7[_0x51c86d(0x204)][_0x51c86d(0x2a1)],'content':this[_0x51c86d(0x249)]['t']('session.collaboration-timeout')});}));}};_0x465c1b=_0xe06eb1([_0x41439d(0x0,_0xec421f['IBeforeCloseService']),_0x41439d(0x1,_0x32458c[_0x4ebdb4(0x21e)]),_0x41439d(0x2,_0x55c825[_0x4ebdb4(0x106)](_0x32458c[_0x4ebdb4(0x2e0)])),_0x41439d(0x3,_0xec421f[_0x4ebdb4(0xf2)]),_0x41439d(0x4,_0xec421f[_0x4ebdb4(0x283)]),_0x41439d(0x5,_0x55c825[_0x4ebdb4(0x106)](_0x55c825[_0x4ebdb4(0x1f6)]))],_0x465c1b);const _0xa46e86=_0x4ebdb4(0x12c),_0x4ae162={},_0x4ab975=_0x55c825[_0x4ebdb4(0x27a)]('uni.network.url-service');var _0x115692=Object[_0x4ebdb4(0xda)],_0x25b7c9=Object['getOwnPropertyDescriptor'],_0x5b1d98=(_0x388d19,_0x31a800,_0x313313,_0x37c2c4)=>{const _0x54c63e=_0x4ebdb4;for(var _0x38ac0a=_0x37c2c4>0x1?void 0x0:_0x37c2c4?_0x25b7c9(_0x31a800,_0x313313):_0x31a800,_0x59977c=_0x388d19[_0x54c63e(0x1c2)]-0x1,_0x872ba1;_0x59977c>=0x0;_0x59977c--)(_0x872ba1=_0x388d19[_0x59977c])&&(_0x38ac0a=(_0x37c2c4?_0x872ba1(_0x31a800,_0x313313,_0x38ac0a):_0x872ba1(_0x38ac0a))||_0x38ac0a);return _0x37c2c4&&_0x38ac0a&&_0x115692(_0x31a800,_0x313313,_0x38ac0a),_0x38ac0a;},_0x146450=(_0x37d909,_0x3ed049)=>(_0x12447f,_0xf915de)=>_0x3ed049(_0x12447f,_0xf915de,_0x37d909);_0x372a14[_0x4ebdb4(0x248)]=class extends _0x55c825['RxDisposable']{constructor(_0x5954b7,_0x3178a8,_0x5e4f8a,_0x37e9cf,_0x43cb3a){const _0x379ce7=_0x4ebdb4;super(),this[_0x379ce7(0x138)]=_0x5954b7,this[_0x379ce7(0x1bd)]=_0x3178a8,this[_0x379ce7(0x1b0)]=_0x5e4f8a,this[_0x379ce7(0x17d)]=_0x37e9cf,_0x43cb3a?_0x43cb3a==null||_0x43cb3a[_0x379ce7(0x302)]()[_0x379ce7(0x28f)](()=>this[_0x379ce7(0x18f)]()):(this[_0x379ce7(0x1bd)]['debug']('[CollaborationDataLoaderController]',_0x379ce7(0xee)),this[_0x379ce7(0x18f)]());}async[_0x4ebdb4(0x18f)](){const _0x124516=_0x4ebdb4,_0x48ca77=this[_0x124516(0x138)][_0x124516(0x229)]('unit'),_0x1d219a=this[_0x124516(0x138)][_0x124516(0x229)](_0x124516(0xfb)),_0x5dfe5e=this[_0x124516(0x138)][_0x124516(0x229)](_0x124516(0x2e4));if(!_0x48ca77||!_0x1d219a){this[_0x124516(0x1bd)]['debug'](_0x124516(0x18e),_0x124516(0x1c5));return;}const _0x3a979a=await this[_0x124516(0x17d)][_0x124516(0x1ae)](_0x48ca77,Number(_0x1d219a),_0x5dfe5e);_0x3a979a&&_0x3a979a instanceof _0x55c825[_0x124516(0x2fe)]&&this['_setupSubUnitSync'](_0x3a979a);}async[_0x4ebdb4(0x311)](_0x2e5909){const _0x1361ad=_0x4ebdb4;await this[_0x1361ad(0x120)](_0x2e5909),_0x2e5909[_0x1361ad(0x213)][_0x1361ad(0x297)](_0x57ef05[_0x1361ad(0x116)](this[_0x1361ad(0x1a2)]))[_0x1361ad(0x2f6)](_0x59025c=>{const _0x20f1cd=_0x1361ad;_0x59025c&&this[_0x20f1cd(0x337)](_0x59025c);}),this['_urlService'][_0x1361ad(0x168)][_0x1361ad(0x297)](_0x57ef05[_0x1361ad(0x116)](this['dispose$']))[_0x1361ad(0x2f6)](()=>this[_0x1361ad(0x120)](_0x2e5909));}[_0x4ebdb4(0x337)](_0x49a3bd,_0x3ce57a=!0x1){const _0x67c779=_0x4ebdb4,_0x5432b0=this[_0x67c779(0x138)][_0x67c779(0x229)]('subunit');_0x49a3bd[_0x67c779(0x25c)]()!==_0x5432b0&&this[_0x67c779(0x138)][_0x67c779(0x20e)]('subunit',_0x49a3bd['getSheetId'](),_0x3ce57a);}async['_updateSubUnitFromURLParams'](_0x41808e){const _0x596fba=_0x4ebdb4;var _0x3cb5db;const _0x85e76=this[_0x596fba(0x138)][_0x596fba(0x229)](_0x596fba(0x2e4));if(!_0x85e76||!_0x41808e['getSheetBySheetId'](_0x85e76)){const _0xdc6fe2=_0x41808e[_0x596fba(0x2ff)]()[0x0],_0x2c92c5=_0x41808e[_0x596fba(0x1e2)](_0xdc6fe2);if(!_0x2c92c5)return;this[_0x596fba(0x337)](_0x2c92c5,!0x0),await this[_0x596fba(0x1b0)]['executeCommand'](_0x86b6f2[_0x596fba(0x162)]['id'],{'unitId':_0x41808e[_0x596fba(0x2f7)](),'subUnitId':_0xdc6fe2});return;}((_0x3cb5db=_0x41808e['getActiveSheet']())==null?void 0x0:_0x3cb5db[_0x596fba(0x25c)]())!==_0x85e76&&await this[_0x596fba(0x1b0)][_0x596fba(0x14d)](_0x86b6f2[_0x596fba(0x162)]['id'],{'unitId':_0x41808e[_0x596fba(0x2f7)](),'subUnitId':_0x85e76});}},_0x372a14[_0x4ebdb4(0x248)]=_0x5b1d98([_0x146450(0x0,_0x4ab975),_0x146450(0x1,_0x55c825[_0x4ebdb4(0x2e7)]),_0x146450(0x2,_0x55c825[_0x4ebdb4(0x1c6)]),_0x146450(0x3,_0x55c825[_0x4ebdb4(0x106)](_0x32458c[_0x4ebdb4(0x172)])),_0x146450(0x4,_0x55c825['Optional'](_0x4669ff[_0x4ebdb4(0x235)]))],_0x372a14['CollaborationDataLoaderController']);var _0x5befff=Object['defineProperty'],_0x4baec0=Object[_0x4ebdb4(0x2fb)],_0x278a51=(_0x15da63,_0x37c67f,_0x425992,_0x1efd2d)=>{for(var _0x2f1630=_0x1efd2d>0x1?void 0x0:_0x1efd2d?_0x4baec0(_0x37c67f,_0x425992):_0x37c67f,_0x5da5c9=_0x15da63['length']-0x1,_0x38e7b9;_0x5da5c9>=0x0;_0x5da5c9--)(_0x38e7b9=_0x15da63[_0x5da5c9])&&(_0x2f1630=(_0x1efd2d?_0x38e7b9(_0x37c67f,_0x425992,_0x2f1630):_0x38e7b9(_0x2f1630))||_0x2f1630);return _0x1efd2d&&_0x2f1630&&_0x5befff(_0x37c67f,_0x425992,_0x2f1630),_0x2f1630;},_0x3a7a43=(_0x1504ff,_0x23a42e)=>(_0x46a6fb,_0x31cead)=>_0x23a42e(_0x46a6fb,_0x31cead,_0x1504ff);let _0x2fa24a=class{constructor(_0x448d74,_0x5746d0,_0x3741fb){const _0x2816f9=_0x4ebdb4;this[_0x2816f9(0x339)]=_0x448d74,this[_0x2816f9(0x11c)]=_0x5746d0,this[_0x2816f9(0x170)]=_0x3741fb;}['transformIMECache'](_0x128a5f){const _0x58d1c3=_0x4ebdb4;this[_0x58d1c3(0xbf)](_0x128a5f),this[_0x58d1c3(0x1c1)](_0x128a5f);}[_0x4ebdb4(0x266)](_0x444dba){const _0x62bfd=_0x4ebdb4,{unitID:_0x22de8f}=_0x444dba,_0x1e0dad=this[_0x62bfd(0x170)]['getRenderById'](_0x22de8f)['with'](_0x2496cd[_0x62bfd(0xf7)]),{redoCache:_0x9fb224}=_0x1e0dad[_0x62bfd(0x18a)]();if(_0x9fb224[_0x62bfd(0x1c2)]===0x0)return _0x444dba;let _0xa147a1=_0x55c825[_0x62bfd(0x26c)][_0x62bfd(0x23c)](_0x444dba['mutations'][0x0]);for(let _0x17950a=0x0;_0x17950a<_0x9fb224[_0x62bfd(0x1c2)];_0x17950a++){const _0x2540e6={'id':_0x62bfd(0xbc),'params':{..._0x9fb224[_0x17950a]}},_0x3a4bd0=this[_0x62bfd(0x11c)][_0x62bfd(0x20b)](_0xa147a1,_0x2540e6,!0x1);if(_0x3462a3[_0x62bfd(0x19e)](_0x3a4bd0))throw _0x3a4bd0[_0x62bfd(0x290)];_0xa147a1=_0x3a4bd0[_0x62bfd(0x16b)];}return{..._0x55c825[_0x62bfd(0x26c)]['deepClone'](_0x444dba),'mutations':[_0xa147a1]};}['_transformUndoRedoStack'](_0x51e1d4){const _0x69ce51=_0x4ebdb4,{unitID:_0x5d5853}=_0x51e1d4,_0x13d7bb=this['_renderManagerService'][_0x69ce51(0x185)](_0x5d5853)[_0x69ce51(0x171)](_0x2496cd[_0x69ce51(0xf7)]),{undoCache:_0x19cfcd,redoCache:_0xfd20ac}=_0x13d7bb[_0x69ce51(0x18a)]();if(_0x19cfcd['length']===0x0||_0xfd20ac[_0x69ce51(0x1c2)]===0x0)return;const _0x56cfe1=[],_0x2a2e88=[];let _0x1861a1=_0x55c825[_0x69ce51(0x26c)][_0x69ce51(0x23c)](_0x51e1d4[_0x69ce51(0x155)][0x0]),_0x5a054b=_0x55c825[_0x69ce51(0x26c)][_0x69ce51(0x23c)](_0x51e1d4[_0x69ce51(0x155)][0x0]);for(let _0x31d867=_0x19cfcd[_0x69ce51(0x1c2)]-0x1;_0x31d867>=0x0;_0x31d867--){const _0x3b0759={'id':_0x69ce51(0xbc),'params':{..._0x19cfcd[_0x31d867]}},_0x271c11={'id':_0x69ce51(0xbc),'params':{..._0xfd20ac[_0x31d867]}},_0x2a1043=this[_0x69ce51(0x11c)]['transformMutation'](_0x1861a1,_0x3b0759,!0x1),_0x454480=this[_0x69ce51(0x11c)][_0x69ce51(0x20b)](_0x5a054b,_0x271c11,!0x1);if(_0x3462a3[_0x69ce51(0x19e)](_0x2a1043))throw _0x2a1043['error'];if(_0x3462a3[_0x69ce51(0x19e)](_0x454480))throw _0x454480[_0x69ce51(0x290)];_0x56cfe1['unshift'](_0x2a1043[_0x69ce51(0x119)][_0x69ce51(0x1d9)]),_0x2a2e88[_0x69ce51(0x2c1)](_0x454480[_0x69ce51(0x119)][_0x69ce51(0x1d9)]),_0x1861a1=_0x2a1043['m1Prime'],_0x5a054b=_0x454480[_0x69ce51(0x16b)];}_0x13d7bb[_0x69ce51(0x179)]({'undoCache':_0x56cfe1,'redoCache':_0x2a2e88});}['_transformPreviousActiveRange'](_0x3d5594){const _0x4307e2=_0x4ebdb4,{unitID:_0x21ca47}=_0x3d5594,_0x52014e=this[_0x4307e2(0x170)][_0x4307e2(0x185)](_0x21ca47)['with'](_0x2496cd[_0x4307e2(0xf7)]),_0x356b5e=_0x52014e[_0x4307e2(0x2cd)]();if(_0x356b5e==null)return;const _0x7892c1=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3d5594[_0x4307e2(0x25d)],'actions':null,'textRanges':[_0x356b5e]}}],_0x382710=this[_0x4307e2(0x11c)][_0x4307e2(0x303)](_0x3d5594,_0x7892c1);if(!_0x3462a3[_0x4307e2(0x246)](_0x382710))throw _0x382710[_0x4307e2(0x290)];const _0x40c263=_0x382710['m2Prime'][0x0]['params'][_0x4307e2(0x263)];Array['isArray'](_0x40c263)&&_0x40c263[_0x4307e2(0x1c2)]&&_0x52014e[_0x4307e2(0x11b)](_0x40c263[0x0]);}};_0x2fa24a=_0x278a51([_0x3a7a43(0x0,_0x55c825[_0x4ebdb4(0x106)](_0x55c825[_0x4ebdb4(0x1d2)])),_0x3a7a43(0x1,_0x3462a3[_0x4ebdb4(0x254)]),_0x3a7a43(0x2,_0xdf5b31[_0x4ebdb4(0x2d0)])],_0x2fa24a);var _0x402490=Object[_0x4ebdb4(0xda)],_0x4ae22d=Object[_0x4ebdb4(0x2fb)],_0x16da53=(_0x2fc57b,_0x121274,_0x21f73b,_0x137010)=>{const _0x108221=_0x4ebdb4;for(var _0x2c48af=_0x137010>0x1?void 0x0:_0x137010?_0x4ae22d(_0x121274,_0x21f73b):_0x121274,_0x314972=_0x2fc57b[_0x108221(0x1c2)]-0x1,_0x231923;_0x314972>=0x0;_0x314972--)(_0x231923=_0x2fc57b[_0x314972])&&(_0x2c48af=(_0x137010?_0x231923(_0x121274,_0x21f73b,_0x2c48af):_0x231923(_0x2c48af))||_0x2c48af);return _0x137010&&_0x2c48af&&_0x402490(_0x121274,_0x21f73b,_0x2c48af),_0x2c48af;},_0x1fbbca=(_0x5d4378,_0x38449a)=>(_0x4df6eb,_0x4a11d6)=>_0x38449a(_0x4df6eb,_0x4a11d6,_0x5d4378);let _0x1d4ba7=class{constructor(_0x2fd2af,_0x11c114,_0x75a108){const _0x1049ed=_0x4ebdb4;this[_0x1049ed(0x339)]=_0x2fd2af,this[_0x1049ed(0x11c)]=_0x11c114,this[_0x1049ed(0x237)]=_0x75a108;}['transformStateCache'](_0x2e55c9){const _0x9b5d9=_0x4ebdb4;this[_0x9b5d9(0x1b5)](_0x2e55c9);}[_0x4ebdb4(0x266)](_0x1ee8a5){const _0x5b4a56=_0x4ebdb4,{unitID:_0x4aa38f}=_0x1ee8a5,{collaboration:_0x433e92}=this['_docStateChangeManagerService'][_0x5b4a56(0x260)](_0x4aa38f);if(_0x433e92[_0x5b4a56(0x1c2)]===0x0)return _0x1ee8a5;let _0x31be35=_0x55c825['Tools'][_0x5b4a56(0x23c)](_0x1ee8a5[_0x5b4a56(0x155)][0x0]);for(let _0x470238=0x0;_0x470238<_0x433e92['length'];_0x470238++){const _0x5cdc1f={'id':_0x5b4a56(0xbc),'params':{'unitId':_0x433e92[_0x470238][_0x5b4a56(0x22d)],..._0x433e92[_0x470238]['redoState']}},_0x3077d5=this[_0x5b4a56(0x11c)][_0x5b4a56(0x20b)](_0x31be35,_0x5cdc1f,!0x1);if(_0x3462a3[_0x5b4a56(0x19e)](_0x3077d5))throw _0x3077d5['error'];_0x31be35=_0x3077d5[_0x5b4a56(0x16b)];}return{..._0x55c825[_0x5b4a56(0x26c)][_0x5b4a56(0x23c)](_0x1ee8a5),'mutations':[_0x31be35]};}['_transformHistoryAndStateStack'](_0x2b1560){const _0x52277e=_0x4ebdb4,{unitID:_0x2bbab2}=_0x2b1560,{history:_0xf6986a,collaboration:_0x2fdc18}=this[_0x52277e(0x237)][_0x52277e(0x260)](_0x2bbab2);if(_0xf6986a['length']===0x0&&_0x2fdc18['length']===0x0)return;const _0x4ce4d9=[],_0x475354=[];let _0x3ebbc6=_0x55c825['Tools']['deepClone'](_0x2b1560[_0x52277e(0x155)][0x0]),_0x2208fe=_0x55c825[_0x52277e(0x26c)][_0x52277e(0x23c)](_0x2b1560[_0x52277e(0x155)][0x0]);for(let _0x42ab94=_0xf6986a['length']-0x1;_0x42ab94>=0x0;_0x42ab94--){const _0x1e21c5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf6986a[_0x42ab94][_0x52277e(0x22d)],..._0xf6986a[_0x42ab94][_0x52277e(0x1ff)]}},_0x5557e0={'id':_0x52277e(0xbc),'params':{'unitId':_0xf6986a[_0x42ab94][_0x52277e(0x22d)],..._0xf6986a[_0x42ab94]['redoState']}},_0xffc83d=this['_transformService']['transformMutation'](_0x3ebbc6,_0x1e21c5,!0x1),_0x371bca=this[_0x52277e(0x11c)][_0x52277e(0x20b)](_0x2208fe,_0x5557e0,!0x1);if(_0x3462a3[_0x52277e(0x19e)](_0xffc83d))throw _0xffc83d['error'];if(_0x3462a3[_0x52277e(0x19e)](_0x371bca))throw _0x371bca[_0x52277e(0x290)];_0x4ce4d9[_0x52277e(0x2c1)]({..._0xf6986a[_0x42ab94],'undoState':_0xffc83d[_0x52277e(0x119)][_0x52277e(0x1d9)],'redoState':_0x371bca[_0x52277e(0x119)]['params']}),_0x3ebbc6=_0xffc83d[_0x52277e(0x16b)],_0x2208fe=_0x371bca[_0x52277e(0x16b)];}_0x3ebbc6=_0x55c825[_0x52277e(0x26c)]['deepClone'](_0x2b1560[_0x52277e(0x155)][0x0]),_0x2208fe=_0x55c825[_0x52277e(0x26c)][_0x52277e(0x23c)](_0x2b1560[_0x52277e(0x155)][0x0]);for(let _0x17f13f=_0x2fdc18[_0x52277e(0x1c2)]-0x1;_0x17f13f>=0x0;_0x17f13f--){const _0x2a4037={'id':_0x52277e(0xbc),'params':{'unitId':_0x2fdc18[_0x17f13f][_0x52277e(0x22d)],..._0x2fdc18[_0x17f13f][_0x52277e(0x1ff)]}},_0x2dee18={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2fdc18[_0x17f13f][_0x52277e(0x22d)],..._0x2fdc18[_0x17f13f][_0x52277e(0xd0)]}},_0x31f001=this[_0x52277e(0x11c)][_0x52277e(0x20b)](_0x3ebbc6,_0x2a4037,!0x1),_0x546d01=this[_0x52277e(0x11c)]['transformMutation'](_0x2208fe,_0x2dee18,!0x1);if(_0x3462a3['isTransformMutationFailure'](_0x31f001))throw _0x31f001['error'];if(_0x3462a3[_0x52277e(0x19e)](_0x546d01))throw _0x546d01[_0x52277e(0x290)];_0x475354[_0x52277e(0x2c1)]({..._0x2fdc18[_0x17f13f],'undoState':_0x31f001['m2Prime'][_0x52277e(0x1d9)],'redoState':_0x546d01['m2Prime'][_0x52277e(0x1d9)]}),_0x3ebbc6=_0x31f001['m1Prime'],_0x2208fe=_0x546d01['m1Prime'];}this[_0x52277e(0x237)][_0x52277e(0x1ee)](_0x2bbab2,{'history':_0x4ce4d9,'collaboration':_0x475354});}};_0x1d4ba7=_0x16da53([_0x1fbbca(0x0,_0x55c825[_0x4ebdb4(0x106)](_0x55c825[_0x4ebdb4(0x1d2)])),_0x1fbbca(0x1,_0x3462a3['ITransformService']),_0x1fbbca(0x2,_0x55c825[_0x4ebdb4(0x106)](_0x2496cd[_0x4ebdb4(0x23f)]))],_0x1d4ba7);var _0x4acb80=Object['defineProperty'],_0x356880=Object['getOwnPropertyDescriptor'],_0xc6e32c=(_0x155cd2,_0x4d6d8a,_0x5359c6,_0x3ffa0c)=>{const _0x4f8ad2=_0x4ebdb4;for(var _0xf6466=_0x3ffa0c>0x1?void 0x0:_0x3ffa0c?_0x356880(_0x4d6d8a,_0x5359c6):_0x4d6d8a,_0x59490e=_0x155cd2[_0x4f8ad2(0x1c2)]-0x1,_0x384038;_0x59490e>=0x0;_0x59490e--)(_0x384038=_0x155cd2[_0x59490e])&&(_0xf6466=(_0x3ffa0c?_0x384038(_0x4d6d8a,_0x5359c6,_0xf6466):_0x384038(_0xf6466))||_0xf6466);return _0x3ffa0c&&_0xf6466&&_0x4acb80(_0x4d6d8a,_0x5359c6,_0xf6466),_0xf6466;},_0x38639e=(_0x155395,_0x6e1e8d)=>(_0x29e6b7,_0x535b4c)=>_0x6e1e8d(_0x29e6b7,_0x535b4c,_0x155395);let _0x9e34ab=class{constructor(_0x3cc5df,_0x15e7d4){const _0x1b143d=_0x4ebdb4;this['_injector']=_0x3cc5df,this[_0x1b143d(0x11c)]=_0x15e7d4;}[_0x4ebdb4(0x305)](_0x4a7ce5){const _0x4e060f=_0x4ebdb4;var _0x56e252;const _0x468aa2=this['_injector'][_0x4e060f(0x27e)](_0x1e27ae[_0x4e060f(0x2e5)]),_0x98ecbf=(_0x56e252=_0x468aa2[_0x4e060f(0x2ea)]())!=null?_0x56e252:[];if(_0x98ecbf[_0x4e060f(0x1c2)]===0x0)return;const _0x5c8b23=_0x4a7ce5[_0x4e060f(0x25d)],_0x44b687=[{'id':_0x4e060f(0xbc),'params':{'unitId':_0x5c8b23,'actions':null,'textRanges':_0x98ecbf}}],_0x14b479=this[_0x4e060f(0x11c)]['transformMutationsWithChangeset'](_0x4a7ce5,_0x44b687);if(!_0x3462a3[_0x4e060f(0x246)](_0x14b479))throw _0x14b479['error'];const _0x49ad29=_0x14b479['m2Prime'][0x0]['params'][_0x4e060f(0x263)];Array[_0x4e060f(0x25a)](_0x49ad29)&&_0x49ad29[_0x4e060f(0x1c2)]&&_0x468aa2[_0x4e060f(0x2cf)](_0x49ad29,{'unitId':_0x5c8b23,'subUnitId':_0x5c8b23},!0x1);}};_0x9e34ab=_0xc6e32c([_0x38639e(0x0,_0x55c825[_0x4ebdb4(0x106)](_0x55c825[_0x4ebdb4(0x1d2)])),_0x38639e(0x1,_0x3462a3[_0x4ebdb4(0x254)])],_0x9e34ab);var _0x1f0d33=Object['defineProperty'],_0x2c3865=Object[_0x4ebdb4(0x2fb)],_0x1662a9=(_0x2f76b6,_0x2ee1b4,_0x47255c,_0x5e9e53)=>{const _0xf999bf=_0x4ebdb4;for(var _0x1ff4e5=_0x5e9e53>0x1?void 0x0:_0x5e9e53?_0x2c3865(_0x2ee1b4,_0x47255c):_0x2ee1b4,_0x1235fe=_0x2f76b6[_0xf999bf(0x1c2)]-0x1,_0x1f5ead;_0x1235fe>=0x0;_0x1235fe--)(_0x1f5ead=_0x2f76b6[_0x1235fe])&&(_0x1ff4e5=(_0x5e9e53?_0x1f5ead(_0x2ee1b4,_0x47255c,_0x1ff4e5):_0x1f5ead(_0x1ff4e5))||_0x1ff4e5);return _0x5e9e53&&_0x1ff4e5&&_0x1f0d33(_0x2ee1b4,_0x47255c,_0x1ff4e5),_0x1ff4e5;},_0x1d2390=(_0x5e076d,_0x4acb11)=>(_0x4b1c79,_0x138a85)=>_0x4acb11(_0x4b1c79,_0x138a85,_0x5e076d);let _0x312733=class extends _0x55c825[_0x4ebdb4(0x1a7)]{constructor(_0xeee69b,_0x388170,_0x132b99,_0x1d41e1,_0x1b97fd,_0x808216,_0x2e973d,_0xb76e88){const _0x13ed42=_0x4ebdb4;super(),_0x5bcff3(this,_0x13ed42(0x13a),new _0x57ef05[(_0x13ed42(0x2d5))](_0x32458c[_0x13ed42(0xdd)][_0x13ed42(0x1b6)])),(this[_0x13ed42(0x237)]=_0xeee69b,this[_0x13ed42(0x28e)]=_0x388170,this[_0x13ed42(0x146)]=_0x132b99,this[_0x13ed42(0x1d0)]=_0x1d41e1,this[_0x13ed42(0x2ce)]=_0x1b97fd,this[_0x13ed42(0x32e)]=_0x808216,this['_messageService']=_0x2e973d,this['_localeService']=_0xb76e88,this['_initEntityListener']());}['_initEntityListener'](){const _0x741b66=_0x4ebdb4;this['disposeWithMe'](this[_0x741b66(0x28e)]['entityInit$'][_0x741b66(0x2f6)](_0x497039=>{const _0x1dca7b=_0x741b66,_0x28b5bc=this['_docStateChangeManagerService']['docStateChange$'][_0x1dca7b(0x2f6)](_0x13d653=>{const _0x1e01d8=_0x1dca7b;if(_0x13d653==null)return;const {unitId:_0x3f772a,redoState:_0x19a907,commandId:_0x555640}=_0x13d653;if(_0x3f772a!==_0x497039['unitID'])return;const _0x565f52={'id':_0x555640,'type':_0x55c825[_0x1e01d8(0x153)][_0x1e01d8(0xc5)],'params':{'unitId':_0x3f772a,'actions':_0x19a907[_0x1e01d8(0x28b)],'textRanges':null}};_0x497039[_0x1e01d8(0x22e)](_0x565f52);});if(_0x497039[_0x1dca7b(0x16d)](_0x28b5bc),_0x497039 instanceof _0x32458c[_0x1dca7b(0x1e4)]){const _0x3197c1={'onTransformIME':_0x7c9b55=>this[_0x1dca7b(0x146)][_0x1dca7b(0x1db)](_0x7c9b55),'onTransformState':_0x4d5b0b=>this[_0x1dca7b(0x1d0)][_0x1dca7b(0x1e7)](_0x4d5b0b),'onTransformSelections':_0x362da2=>this['_docTransformSelectionsService']['transformSelections'](_0x362da2),'onSyncEditingCollabCursor':_0x394898=>this[_0x1dca7b(0x32e)][_0x1dca7b(0xef)](_0x394898),'onTransformRemoteChangesetByIMECache':_0x405bae=>this[_0x1dca7b(0x146)][_0x1dca7b(0x266)](_0x405bae),'onTransformRemoteChangesetByStateCache':_0xb0cd9e=>this[_0x1dca7b(0x1d0)][_0x1dca7b(0x266)](_0xb0cd9e)};_0x497039[_0x1dca7b(0x312)](_0x3197c1);}}));}};_0x312733=_0x1662a9([_0x1d2390(0x0,_0x55c825['Inject'](_0x2496cd[_0x4ebdb4(0x23f)])),_0x1d2390(0x1,_0x55c825[_0x4ebdb4(0x106)](_0x32458c[_0x4ebdb4(0x142)])),_0x1d2390(0x2,_0x55c825['Inject'](_0x2fa24a)),_0x1d2390(0x3,_0x55c825[_0x4ebdb4(0x106)](_0x1d4ba7)),_0x1d2390(0x4,_0x55c825[_0x4ebdb4(0x106)](_0x9e34ab)),_0x1d2390(0x5,_0x55c825[_0x4ebdb4(0x106)](_0x74332c)),_0x1d2390(0x6,_0xec421f['IMessageService']),_0x1d2390(0x7,_0x55c825[_0x4ebdb4(0x106)](_0x55c825[_0x4ebdb4(0x1f6)]))],_0x312733);var _0x3b7812=Object[_0x4ebdb4(0xda)],_0x2cf724=Object[_0x4ebdb4(0x2fb)],_0x1d55bb=(_0x2b938b,_0x59ff0e,_0x43abab,_0x1d662d)=>{const _0x277d1f=_0x4ebdb4;for(var _0x2ce76f=_0x1d662d>0x1?void 0x0:_0x1d662d?_0x2cf724(_0x59ff0e,_0x43abab):_0x59ff0e,_0x478fd5=_0x2b938b[_0x277d1f(0x1c2)]-0x1,_0x1153cb;_0x478fd5>=0x0;_0x478fd5--)(_0x1153cb=_0x2b938b[_0x478fd5])&&(_0x2ce76f=(_0x1d662d?_0x1153cb(_0x59ff0e,_0x43abab,_0x2ce76f):_0x1153cb(_0x2ce76f))||_0x2ce76f);return _0x1d662d&&_0x2ce76f&&_0x3b7812(_0x59ff0e,_0x43abab,_0x2ce76f),_0x2ce76f;},_0x13162c=(_0x8438aa,_0x23b88b)=>(_0x101460,_0x11283d)=>_0x23b88b(_0x101460,_0x11283d,_0x8438aa);let _0x55f3d8=class extends _0x55c825[_0x4ebdb4(0x1a7)]{constructor(_0x446afd,_0x5cca62,_0x65432b){const _0x33ecf2=_0x4ebdb4;super(),_0x5bcff3(this,_0x33ecf2(0x2a4),new Map()),_0x5bcff3(this,_0x33ecf2(0x2ac),new Map()),_0x5bcff3(this,'_disabled',!0x1),(this[_0x33ecf2(0x200)]=_0x446afd,this[_0x33ecf2(0x20d)]=_0x5cca62,this[_0x33ecf2(0x139)]=_0x65432b);}['disableLocalCache'](){const _0x3c0b78=_0x4ebdb4;this[_0x3c0b78(0x288)]=!0x0;}[_0x4ebdb4(0x2c4)](){this['_disabled']=!0x1;}get[_0x4ebdb4(0x334)](){return this['_saveTaskMap'];}['dispose'](){const _0x5e4c57=_0x4ebdb4;this['exhaustSavingTask']()[_0x5e4c57(0x28f)](()=>super['dispose']());}async['loadOfflineData'](_0x3234f6){const _0x36f9df=_0x4ebdb4;return this[_0x36f9df(0x288)]?null:this[_0x36f9df(0x20d)][_0x36f9df(0x1a5)](_0x32458c[_0x36f9df(0x298)](_0x3234f6));}async[_0x4ebdb4(0x2fa)](_0x1d70b1,_0x3209aa){const _0x2ac012=_0x4ebdb4;return!!this[_0x2ac012(0x20d)][_0x2ac012(0x27d)](_0x1d70b1,_0x3209aa);}[_0x4ebdb4(0x1bc)](_0x3e424,_0x20d2f1,_0x5d2f5f,_0x367f67){const _0x254156=_0x4ebdb4,_0x3ef681=this[_0x254156(0x139)][_0x254156(0x268)](_0x3e424);this[_0x254156(0x2a4)][_0x254156(0xfd)](_0x3e424,{'unitID':_0x3e424,'type':_0x20d2f1,'awaitingChangeset':_0x5d2f5f,'mutations':_0x367f67,'rev':_0x3ef681}),this['_saveTaskMap'][_0x254156(0x262)](_0x3e424)||this[_0x254156(0x16e)](_0x3e424);}[_0x4ebdb4(0x16e)](_0x466c2c){const _0x510663=_0x4ebdb4,_0x41c80c=this[_0x510663(0x220)]();_0x41c80c===0x0?this[_0x510663(0x292)](_0x466c2c):this['_saveTaskMap']['set'](_0x466c2c,setTimeout(()=>this[_0x510663(0x292)](_0x466c2c),_0x41c80c));}[_0x4ebdb4(0x220)](){const _0x4b410c=_0x4ebdb4;var _0x5d40cb;return(_0x5d40cb=this['_configService'][_0x4b410c(0x317)](_0x32458c[_0x4b410c(0x30c)]))!=null?_0x5d40cb:_0x32458c[_0x4b410c(0x2a2)];}[_0x4ebdb4(0x292)](_0x4bcb7f){const _0x3026ed=_0x4ebdb4,_0xadb209=this[_0x3026ed(0x2ac)]['get'](_0x4bcb7f);return _0xadb209!==void 0x0&&window[_0x3026ed(0x24a)](_0xadb209),this[_0x3026ed(0x20d)]['setItem'](_0x32458c[_0x3026ed(0x298)](_0x4bcb7f),this[_0x3026ed(0x2a4)]['get'](_0x4bcb7f))[_0x3026ed(0x28f)](()=>this[_0x3026ed(0x2ac)]['delete'](_0x4bcb7f));}async[_0x4ebdb4(0x216)](){const _0x1f158b=_0x4ebdb4,_0xbd779d=[];this[_0x1f158b(0x2ac)][_0x1f158b(0x123)]((_0x238fdd,_0x299f18)=>{const _0x499c36=_0x1f158b;window[_0x499c36(0x24a)](_0x238fdd),_0xbd779d[_0x499c36(0xbe)](this[_0x499c36(0x292)](_0x299f18)[_0x499c36(0x28f)](()=>{const _0x2d1b66=_0x499c36;this[_0x2d1b66(0x2ac)][_0x2d1b66(0x164)](_0x299f18);}));}),await Promise['all'](_0xbd779d);}};_0x55f3d8=_0x1d55bb([_0x13162c(0x0,_0x55c825[_0x4ebdb4(0x329)]),_0x13162c(0x1,_0x55c825[_0x4ebdb4(0x31c)]),_0x13162c(0x2,_0x55c825[_0x4ebdb4(0x106)](_0x3462a3[_0x4ebdb4(0x2b8)]))],_0x55f3d8);class _0x50bf5f extends _0x55c825[_0x4ebdb4(0x19f)]{constructor(){const _0x4d084e=_0x4ebdb4;super(),_0x5bcff3(this,_0x4d084e(0x168)),this[_0x4d084e(0x168)]=_0x57ef05[_0x4d084e(0x25f)](window,'popstate')[_0x4d084e(0x297)](_0x57ef05['takeUntil'](this[_0x4d084e(0x1a2)]),_0x57ef05[_0x4d084e(0x125)](0x1),_0x57ef05[_0x4d084e(0x21d)](void 0x0));}['setParam'](_0x536705,_0x49a61f,_0x319403=!0x1){const _0x15409c=_0x4ebdb4,_0x360874=new URL(window[_0x15409c(0x2f2)]['href']);_0x360874[_0x15409c(0x1fa)][_0x15409c(0xfd)](_0x536705,_0x49a61f),_0x319403?window[_0x15409c(0x327)][_0x15409c(0x14b)]('','',_0x360874[_0x15409c(0x1bb)]()):window['history']['pushState']('','',_0x360874['toString']());}['removeParam'](_0x3b0bb9,_0x1b69f5=!0x1){const _0x3fbdcd=_0x4ebdb4,_0xe7f7c7=new URL(window[_0x3fbdcd(0x2f2)][_0x3fbdcd(0xd3)]);_0xe7f7c7['searchParams']['delete'](_0x3b0bb9),_0x1b69f5?window[_0x3fbdcd(0x327)]['replaceState']('','',_0xe7f7c7[_0x3fbdcd(0x1bb)]()):window[_0x3fbdcd(0x327)][_0x3fbdcd(0x287)]('','',_0xe7f7c7['toString']());}[_0x4ebdb4(0x229)](_0x43d6e9){const _0x2b8ed6=_0x4ebdb4;var _0x57a975;return(_0x57a975=new URL(window[_0x2b8ed6(0x2f2)][_0x2b8ed6(0xd3)])[_0x2b8ed6(0x1fa)][_0x2b8ed6(0x27e)](_0x43d6e9))!=null?_0x57a975:void 0x0;}}var _0x5c1825=Object[_0x4ebdb4(0xda)],_0xd1e64=Object[_0x4ebdb4(0x2fb)],_0x52b03=(_0x3813ce,_0x2a7fc3,_0x234e48)=>_0x2a7fc3 in _0x3813ce?_0x5c1825(_0x3813ce,_0x2a7fc3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x234e48}):_0x3813ce[_0x2a7fc3]=_0x234e48,_0x2567cc=(_0x566137,_0x3e04fa,_0x305e05,_0x56552d)=>{const _0xef427a=_0x4ebdb4;for(var _0x2d6bee=_0x56552d>0x1?void 0x0:_0x56552d?_0xd1e64(_0x3e04fa,_0x305e05):_0x3e04fa,_0x446dda=_0x566137[_0xef427a(0x1c2)]-0x1,_0x4ba013;_0x446dda>=0x0;_0x446dda--)(_0x4ba013=_0x566137[_0x446dda])&&(_0x2d6bee=(_0x56552d?_0x4ba013(_0x3e04fa,_0x305e05,_0x2d6bee):_0x4ba013(_0x2d6bee))||_0x2d6bee);return _0x56552d&&_0x2d6bee&&_0x5c1825(_0x3e04fa,_0x305e05,_0x2d6bee),_0x2d6bee;},_0x341c20=(_0x514933,_0xc26e45)=>(_0x3862e9,_0x46cc53)=>_0xc26e45(_0x3862e9,_0x46cc53,_0x514933),_0x5425ab=(_0x4d0a40,_0x265d2b,_0x53e121)=>_0x52b03(_0x4d0a40,_0x265d2b+'',_0x53e121);const _0x217e27=_0x4ebdb4(0x14c);_0x372a14[_0x4ebdb4(0x109)]=class extends _0x55c825[_0x4ebdb4(0x301)]{constructor(_0x182fa4=_0x4ae162,_0x470758,_0x19484e,_0x53d63a){const _0x50a2ff=_0x4ebdb4;super(),this[_0x50a2ff(0x17e)]=_0x182fa4,this[_0x50a2ff(0x170)]=_0x470758,this[_0x50a2ff(0x339)]=_0x19484e,this[_0x50a2ff(0x200)]=_0x53d63a;const {..._0x539c57}=_0x55c825[_0x50a2ff(0x316)]({},_0x4ae162,this['_config']);this['_configService'][_0x50a2ff(0xd8)](_0xa46e86,_0x539c57);}[_0x4ebdb4(0x211)](){const _0x171bdd=_0x4ebdb4;this[_0x171bdd(0x332)](),this[_0x171bdd(0x1d6)]();}[_0x4ebdb4(0xe9)](){const _0x263c62=_0x4ebdb4;this[_0x263c62(0x140)]();}[_0x4ebdb4(0x332)](){const _0x5c9803=_0x4ebdb4;var _0x17c158;const _0x33a19c=[[_0x3f65ff],[_0x9e34ab],[_0x2fa24a],[_0x1d4ba7],[_0x74332c],[_0x4ab975,{'useClass':_0x50bf5f}],[_0x49b59a[_0x5c9803(0x1f9)],{'useClass':_0x49b59a['WebSocketService']}],[_0x32458c[_0x5c9803(0x21e)],{'useClass':_0x55f3d8}],[_0x372a14[_0x5c9803(0x255)]],[_0x312733],[_0x465c1b],[_0x35faf3],[_0x3703b2],[_0x372a14['CollaborationDataLoaderController']]];_0x55c825[_0x5c9803(0x29d)](this[_0x5c9803(0x339)],_0x55c825[_0x5c9803(0x12a)](_0x33a19c,(_0x17c158=this[_0x5c9803(0x17e)])==null?void 0x0:_0x17c158['override']));}[_0x4ebdb4(0x140)](){const _0x4304d2=_0x4ebdb4;this['disposeWithMe'](this[_0x4304d2(0x170)][_0x4304d2(0xfc)](_0x55c825[_0x4304d2(0x271)][_0x4304d2(0x182)],[_0x243294])),this['disposeWithMe'](this[_0x4304d2(0x170)][_0x4304d2(0xfc)](_0x55c825[_0x4304d2(0x271)][_0x4304d2(0x10e)],[_0x16f00e]));}[_0x4ebdb4(0x1d6)](){const _0x40a350=_0x4ebdb4;_0x55c825[_0x40a350(0x261)](this['_injector'],[[_0x35faf3],[_0x372a14[_0x40a350(0x255)]],[_0x312733],[_0x465c1b],[_0x372a14['CollaborationDataLoaderController']]]);}},_0x5425ab(_0x372a14[_0x4ebdb4(0x109)],_0x4ebdb4(0x2ec),_0x217e27),_0x372a14[_0x4ebdb4(0x109)]=_0x2567cc([_0x55c825[_0x4ebdb4(0x1a3)](_0x32458c['UniverCollaborationClientPlugin']),_0x341c20(0x1,_0xdf5b31['IRenderManagerService']),_0x341c20(0x2,_0x55c825[_0x4ebdb4(0x106)](_0x55c825[_0x4ebdb4(0x1d2)])),_0x341c20(0x3,_0x55c825[_0x4ebdb4(0x329)])],_0x372a14[_0x4ebdb4(0x109)]);const _0xfcfab9=0x7530,_0x17bbc8=_0x4ebdb4(0x11a);class _0x587c95 extends _0x55c825[_0x4ebdb4(0x1a7)]{constructor(){const _0x106a7f=_0x4ebdb4;super(),_0x5bcff3(this,_0x106a7f(0x284),_0x55c825[_0x106a7f(0x26c)][_0x106a7f(0x113)]()),_0x5bcff3(this,_0x106a7f(0x308),new Set()),_0x5bcff3(this,_0x106a7f(0x231),new Map()),_0x5bcff3(this,_0x106a7f(0x227),null),_0x5bcff3(this,_0x106a7f(0x1f7),new Map()),_0x5bcff3(this,'_unitStatus',new Map()),this['_init']();}[_0x4ebdb4(0x1de)](){const _0x33416b=_0x4ebdb4;super[_0x33416b(0x1de)](),this[_0x33416b(0x1f7)][_0x33416b(0x123)]((_0x3288bf,_0x22b65c)=>this['_removeClearOtherTimer'](_0x22b65c)),this[_0x33416b(0x227)]&&window[_0x33416b(0x1f5)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x21d025){const _0x5e615b=_0x4ebdb4;return this[_0x5e615b(0x1fe)](_0x21d025)[_0x5e615b(0x297)](_0x57ef05[_0x5e615b(0x23d)]());}['editingUnit'](_0x14544c){const _0xe4c646=_0x4ebdb4;this[_0xe4c646(0x308)][_0xe4c646(0x2d3)]===0x0&&this[_0xe4c646(0x276)](),this[_0xe4c646(0x308)][_0xe4c646(0xea)](_0x14544c),this[_0xe4c646(0x194)]({'type':0x0,'memberID':this[_0xe4c646(0x284)],'unitIDs':[_0x14544c],'isForwarded':!0x1});}['disposeUnit'](_0x326da7){const _0x549738=_0x4ebdb4;this[_0x549738(0x308)]['delete'](_0x326da7),this['_selfUnitIDs']['size']===0x0&&this[_0x549738(0x227)]&&window[_0x549738(0x1f5)](this[_0x549738(0x227)]);}[_0x4ebdb4(0x18f)](){const _0x3c0b2c=_0x4ebdb4;this['disposeWithMe'](_0x55c825[_0x3c0b2c(0xe5)](_0x57ef05[_0x3c0b2c(0x25f)](window,'storage')[_0x3c0b2c(0x2f6)](_0x4d5ee0=>{const _0x167aa2=_0x3c0b2c;if(_0x4d5ee0['key']!==_0x17bbc8||!_0x4d5ee0[_0x167aa2(0x306)])return;const _0x30672a=JSON[_0x167aa2(0x199)](_0x4d5ee0[_0x167aa2(0x306)]);this[_0x167aa2(0x2d7)](_0x30672a);}))),window[_0x3c0b2c(0x244)](_0x3c0b2c(0xc6),()=>this[_0x3c0b2c(0x194)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x3c0b2c(0x111)](this[_0x3c0b2c(0x308)])}));}[_0x4ebdb4(0x2d7)](_0x1d1433){const _0x43e548=_0x4ebdb4;switch(_0x1d1433['type']){case 0x0:this[_0x43e548(0x26a)](_0x1d1433);break;case 0x1:this['_handleLeaveEvent'](_0x1d1433);break;case 0x2:this[_0x43e548(0xe8)](_0x1d1433);break;}}[_0x4ebdb4(0x26a)](_0x476ede){const _0x311964=_0x4ebdb4,{unitIDs:_0x51c142,memberID:_0x1ca851,isForwarded:_0x313b43}=_0x476ede;_0x51c142['forEach'](_0x3f6f5c=>{const _0x12debb=_0x501a;if(!_0x313b43&&this['_unitOnClients'][_0x12debb(0x262)](_0x3f6f5c)&&this[_0x12debb(0x1fe)](_0x3f6f5c)[_0x12debb(0x291)](_0x32458c[_0x12debb(0x29f)][_0x12debb(0x1ec)]),!this['_unitOnClients'][_0x12debb(0x262)](_0x3f6f5c)||!this['_unitOnClients'][_0x12debb(0x27e)](_0x3f6f5c)[_0x12debb(0x262)](_0x1ca851)){const _0x2d36a3=this['_unitOnClients'][_0x12debb(0x27e)](_0x3f6f5c)||new Set();_0x2d36a3[_0x12debb(0xea)](_0x1ca851),this[_0x12debb(0x231)][_0x12debb(0xfd)](_0x3f6f5c,_0x2d36a3),this['_scheduleClearOtherTimer'](_0x1ca851);}}),_0x313b43||this[_0x311964(0x194)]({'type':0x0,'memberID':this[_0x311964(0x284)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x4ebdb4(0x190)](_0x2b556f){const _0xfcc867=_0x4ebdb4;this[_0xfcc867(0x159)](_0x2b556f);const _0x40bb9c=window[_0xfcc867(0x275)](()=>{const _0x32e555=_0xfcc867;this['_unitOnClients'][_0x32e555(0x123)](_0xb34dd5=>{_0xb34dd5['delete'](_0x2b556f);});},_0xfcfab9*0x2);this[_0xfcc867(0x1f7)][_0xfcc867(0xfd)](_0x2b556f,_0x40bb9c);}['_removeClearOtherTimer'](_0x452382){const _0x3d7dc4=_0x4ebdb4;if(this[_0x3d7dc4(0x1f7)]['has'](_0x452382)){const _0x2f6e7a=this[_0x3d7dc4(0x1f7)][_0x3d7dc4(0x27e)](_0x452382);_0x2f6e7a&&window['clearTimeout'](_0x2f6e7a),this[_0x3d7dc4(0x1f7)]['set'](_0x452382,null);}}['_handleLeaveEvent'](_0x5e784e){const _0x4af7e0=_0x4ebdb4,{memberID:_0x16f7ff,unitIDs:_0x3c43c8}=_0x5e784e;_0x3c43c8[_0x4af7e0(0x123)](_0x251aaa=>{const _0x167702=_0x4af7e0;var _0x3bc9b5;const _0x2d4e64=this[_0x167702(0x231)][_0x167702(0x27e)](_0x251aaa);_0x2d4e64&&(_0x2d4e64[_0x167702(0x164)](_0x16f7ff),(_0x3bc9b5=this['_ensureSubject'](_0x251aaa))==null||_0x3bc9b5['next'](_0x2d4e64[_0x167702(0x2d3)]===0x0?_0x32458c[_0x167702(0x29f)][_0x167702(0xec)]:_0x32458c[_0x167702(0x29f)][_0x167702(0x1ec)]));}),this['_removeClearOtherTimer'](_0x16f7ff);}[_0x4ebdb4(0xe8)](_0x25c788){const _0x444030=_0x4ebdb4;this[_0x444030(0x190)](_0x25c788[_0x444030(0x2cc)]);}[_0x4ebdb4(0x194)](_0x55aba3){const _0x2cc308=_0x4ebdb4;localStorage[_0x2cc308(0x27d)](_0x17bbc8,JSON['stringify'](_0x55aba3));}[_0x4ebdb4(0x276)](){const _0x404a8f=_0x4ebdb4;this['_heartbeatTimer']=window[_0x404a8f(0x12b)](()=>{const _0x1b751b=_0x404a8f;this[_0x1b751b(0x194)]({'type':0x2,'memberID':this[_0x1b751b(0x284)]});},_0xfcfab9);}[_0x4ebdb4(0x1fe)](_0x233084){const _0x3f9083=_0x4ebdb4;return this['_unitStatus'][_0x3f9083(0x262)](_0x233084)||this[_0x3f9083(0x1e5)][_0x3f9083(0xfd)](_0x233084,new _0x57ef05['BehaviorSubject'](_0x32458c['UnitStatus'][_0x3f9083(0xec)])),this['_unitStatus'][_0x3f9083(0x27e)](_0x233084);}}var _0x2d012a=(_0x122f02=>(_0x122f02[_0x122f02[_0x4ebdb4(0x251)]=0x0]='UNDEFINED',_0x122f02[_0x122f02['OK']=0x1]='OK',_0x122f02[_0x122f02['INTERNAL_ERROR']=0x2]=_0x4ebdb4(0x1b9),_0x122f02[_0x122f02[_0x4ebdb4(0x294)]=0x3]=_0x4ebdb4(0x294),_0x122f02[_0x122f02[_0x4ebdb4(0x28a)]=0x4]=_0x4ebdb4(0x28a),_0x122f02[_0x122f02[_0x4ebdb4(0x222)]=0x5]='UNAUTHENTICATED',_0x122f02[_0x122f02[_0x4ebdb4(0x157)]=0x6]=_0x4ebdb4(0x157),_0x122f02[_0x122f02[_0x4ebdb4(0x29b)]=0x7]=_0x4ebdb4(0x29b),_0x122f02[_0x122f02[_0x4ebdb4(0x331)]=0x8]=_0x4ebdb4(0x331),_0x122f02[_0x122f02[_0x4ebdb4(0x274)]=0x9]='COMPLETION_FINISHED',_0x122f02[_0x122f02[_0x4ebdb4(0xff)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x122f02[_0x122f02['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4ebdb4(0x1da),_0x122f02[_0x122f02['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4ebdb4(0x219),_0x122f02[_0x122f02[_0x4ebdb4(0x169)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x122f02[_0x122f02[_0x4ebdb4(0x31a)]=0x1b59]=_0x4ebdb4(0x31a),_0x122f02[_0x122f02['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4ebdb4(0xc8),_0x122f02[_0x122f02[_0x4ebdb4(0x23a)]=0x1b5b]=_0x4ebdb4(0x23a),_0x122f02[_0x122f02[_0x4ebdb4(0x104)]=0x1b5c]=_0x4ebdb4(0x104),_0x122f02[_0x122f02[_0x4ebdb4(0xf8)]=0x1b5d]='APPLY_DUPLICATED',_0x122f02[_0x122f02[_0x4ebdb4(0x135)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x122f02[_0x122f02[_0x4ebdb4(0x2b5)]=0x2329]=_0x4ebdb4(0x2b5),_0x122f02[_0x122f02[_0x4ebdb4(0x32a)]=0x232a]=_0x4ebdb4(0x32a),_0x122f02[_0x122f02['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4ebdb4(0x1cf),_0x122f02[_0x122f02[_0x4ebdb4(0x124)]=0x232c]=_0x4ebdb4(0x124),_0x122f02[_0x122f02[_0x4ebdb4(0x2d4)]=0x232d]=_0x4ebdb4(0x2d4),_0x122f02[_0x122f02[_0x4ebdb4(0x258)]=0x2711]=_0x4ebdb4(0x258),_0x122f02[_0x122f02['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x4ebdb4(0x2f9),_0x122f02[_0x122f02[_0x4ebdb4(0x105)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x122f02[_0x122f02['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x122f02[_0x122f02[_0x4ebdb4(0x1ca)]=-0x1]=_0x4ebdb4(0x1ca),_0x122f02))(_0x2d012a||{}),_0x56e6e6=Object[_0x4ebdb4(0xda)],_0x226512=Object['getOwnPropertyDescriptor'],_0x203174=(_0x59fbda,_0x445a66,_0x44529e,_0x4c77bb)=>{const _0x5a8307=_0x4ebdb4;for(var _0x3c4a48=_0x4c77bb>0x1?void 0x0:_0x4c77bb?_0x226512(_0x445a66,_0x44529e):_0x445a66,_0x59ce42=_0x59fbda[_0x5a8307(0x1c2)]-0x1,_0x42e6e9;_0x59ce42>=0x0;_0x59ce42--)(_0x42e6e9=_0x59fbda[_0x59ce42])&&(_0x3c4a48=(_0x4c77bb?_0x42e6e9(_0x445a66,_0x44529e,_0x3c4a48):_0x42e6e9(_0x3c4a48))||_0x3c4a48);return _0x4c77bb&&_0x3c4a48&&_0x56e6e6(_0x445a66,_0x44529e,_0x3c4a48),_0x3c4a48;},_0x52b6a3=(_0x13c5c4,_0x41b9d8)=>(_0x286f9a,_0x2d7ee1)=>_0x41b9d8(_0x286f9a,_0x2d7ee1,_0x13c5c4);_0x372a14['RemoteUniscriptService']=class extends _0x55c825[_0x4ebdb4(0x1a7)]{constructor(_0x777454,_0x1824d4,_0x3f6c7e){const _0x32f82f=_0x4ebdb4;super(),this[_0x32f82f(0x2c8)]=_0x777454,this[_0x32f82f(0xeb)]=_0x1824d4,this[_0x32f82f(0x200)]=_0x3f6c7e;}async[_0x4ebdb4(0x338)](_0x513dec,_0x35e59f,_0x324f4f,..._0x3a13f4){const _0x125391=_0x4ebdb4;var _0x3dba55,_0x35a5da,_0x5bc10b,_0x5ed3dd;const _0x25c204=this[_0x125391(0x2c8)][_0x125391(0x15d)]();if(!_0x25c204)throw new Error(_0x125391(0x27b));const _0x44ff51=((_0x3dba55=this[_0x125391(0x200)][_0x125391(0x317)](_0x32458c[_0x125391(0x145)]))!=null?_0x3dba55:_0x32458c[_0x125391(0x215)])+'/'+_0x513dec+_0x125391(0x1a8)+_0x35e59f,_0x550252=new URL(window[_0x125391(0x2f2)][_0x125391(0xd3)]),_0x32756d={'scriptId':_0x513dec,'runId':(_0x35a5da=_0x550252[_0x125391(0x1fa)][_0x125391(0x27e)](_0x125391(0x240)))!=null?_0x35a5da:'','function':_0x35e59f,'unitId':_0x25c204[_0x125391(0x2f7)](),'argsOfFunction':JSON[_0x125391(0xe0)](_0x3a13f4),'invokeId':(_0x5bc10b=_0x324f4f['invokeId'])!=null?_0x5bc10b:'','executionId':(_0x5ed3dd=_0x324f4f[_0x125391(0x2db)])!=null?_0x5ed3dd:''};try{const _0x306bd6=await this[_0x125391(0xeb)][_0x125391(0x101)](_0x44ff51,{'body':_0x32756d});return!(_0x306bd6[_0x125391(0xf3)][_0x125391(0x290)]&&_0x306bd6['body'][_0x125391(0x290)][_0x125391(0x32f)]!==_0x2d012a['OK']);}catch{return!0x1;}}},_0x372a14['RemoteUniscriptService']=_0x203174([_0x52b6a3(0x0,_0x55c825['IUniverInstanceService']),_0x52b6a3(0x1,_0x55c825[_0x4ebdb4(0x106)](_0x49b59a[_0x4ebdb4(0x174)])),_0x52b6a3(0x2,_0x55c825[_0x4ebdb4(0x329)])],_0x372a14[_0x4ebdb4(0x126)]),_0x372a14[_0x4ebdb4(0x24b)]=_0xe20882,_0x372a14['IURLService']=_0x4ab975,_0x372a14[_0x4ebdb4(0xfe)]=_0x2cb7f5,_0x372a14['WebBrowserSingleActiveUnitService']=_0x587c95,_0x372a14[_0x4ebdb4(0x196)]=_0x50bf5f,Object['defineProperty'](_0x372a14,Symbol['toStringTag'],{'value':_0x4ebdb4(0x2d1)});}));function _0x1a7e(){const _0x4e3344=['_ensureSubject','undoState','_configService','svg','_draw','idSuffix','MessageType','row','RemoveColCommandId','connectInjector','_initCommandExecutedListener','isActive','collabStatus.fetchMiss','transformMutation','_drawRectRange','_localStorageService','setParam','beginPath','send','onStarting','replace','activeSheet$','@univerjs/drawing','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','exhaustSavingTask','fillText','TEXT','SNAPSHOT_HAS_BEEN_REMOVED','432yqqmuO','USERS_LEAVE','onPointerLeave$','mapTo','ILocalCacheService','on-line-single','_getSaveTimeout','session.connection-failed','UNAUTHENTICATED','@univerjs-pro/collaboration','UniverProCollaborationClientUi','string','amd','_heartbeatTimer','number','getParam','measureText','UniverIcon','SYNCED','unitId','onLocalMutation','currentSkeleton$','getSkeleton','_unitOnClients','_setupBeforeClosingHandler','setShapeProps','current','IRemoteInstanceService','getActiveSheet','_docStateChangeManagerService','onCommandExecuted','onTransformChange$','APPLY_REVISION_CONFILICT','startColumn','deepClone','distinctUntilChanged','getCoordByCell','DocStateChangeManagerService','runId','switchMap','jsxs','OTHER_CLIENT_EDITING','addEventListener','backgroundColor','isTransformMutationsWithChangesetSuccess','skeleton','CollaborationDataLoaderController','_localeService','clearTimeout','CollaborationStatusDisplay','DisposableCollection','IUniverInstanceService','drawWith','getCollabEntity$','_roomMembers$','UNDEFINED','_colorIndex','filter','ITransformService','DesktopCollaborationStatusDisplayController','_entityInit$','extend','YUUMI_UNABLE_LOAD_URL','children','isArray','OFFLINE','getSheetId','unitID','_anchor','fromEvent','getStateCache','touchDependencies','has','textRanges','_removeCollabCursors','_docClipboardService','transformRemoteChangeset','data','getCurrentRevOfUnit','operators','_handleJoinEvent','toRgbString','Tools','CollaborationUIEventId','ColorKit','BuiltInUIPart','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverInstanceType','getRangePointData','assignAColorForMemberID','COMPLETION_FINISHED','setTimeout','_scheduleHeartbeat','online','transform','_assignedColors','createIdentifier','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UniverNetwork','setItem','get','_document','OnLineSingle','_toggleOffline','collabStatus.synced','INotificationService','_id','prototype','some','pushState','_disabled','evenodd','NOT_FOUND','actions','CONFLICT','black','_collaborationController','then','error','next','_saveCache','handleIRemoveRow','PERMISSION_DENIED','CollaborationSessionService','colorChannel1','pipe','getLocalCacheKey','_initStatusComponent','RECT','INVALID_ARGUMENT','collabStatus.conflict','registerDependencies','_collabSessionService','UnitStatus','range','Error','LOCAL_CACHE_INTERVAL','11998XBJIYg','_cachedData','_color','color','width','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','onPointerEnter$','UniverSheets','_getSheetObject','_saveTaskMap','propertyIsEnumerable','_anchorDot','endColumn','onMouseMove','SessionStatus','@univerjs/rpc','complete','_updateCollabCursors','LICENSE_MAX_UNITS_EXCEEDED','UniverProCollaboration','jiqing500','RevisionService','#fff','fillRule','react.element','SetSelectionsOperation','useDependency','_updateLocalCursor','_cursorShapes','event$','unshift','lineTo','UniverUi','enableLocalCache','getAncestorScale','SheetsSelectionsService','xlink:href','_instanceService','getCurrent','getMemberID','univer-offline','memberID','getActiveRange','_docTransformSelectionsService','replaceDocRanges','IRenderManagerService','Module','handleInsertRow','size','LICENSE_DISTRO_REJECTED','BehaviorSubject','getCollabCursors$','_handleEvent','reconnect','0\x200\x2017\x2016','_collabCursorState$','executionId','session.will-retry','_syncEditingCollabCursorService','Tooltip','makeDirty','CollaborationUIEventService','requireSession','subscribeEvent','EffectRefRangId','subunit','DocSelectionManagerService','UPDATE_CURSOR','ILogService','_drawAnchor','univer-online-status-title','getDocRanges','debounce','pluginName','moveTo','onlineStatusIcon','path','registerBeforeClose','#FFF','location','110ekCMxa','rxjs/operators','615apApCP','subscribe','getUnitId','_range','YUUMI_URL_COL_OUT_OF_RANGE','saveOfflineData','getOwnPropertyDescriptor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','roomMembers','Workbook','getUnhiddenWorksheets','_drawTextRange','Plugin','whenReady','transformMutationsWithChangeset','_collaborationUIEventService','transformSelections','newValue','_initEvent','_selfUnitIDs','selection','offline','UniverCore','LOCAL_CACHE_INTERVAL_KEY','round','collab-text-anchor-','NodePositionConvertToRectRange','debounceTime','_setupSubUnitSync','addHandlerCallback','M0\x200H16V16H0z','getMergeData','function','merge','getConfig','save','attrs','APPLY_REJECT','__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED','ILocalStorageService','SetTextSelectionsOperation','SUBMIT_CHANGESET_TIMEOUT','@univerjs/sheets','RegularPolygon','triggerDblclick','closePath','_docSkeletonManagerService','FromArray','UniverDocs','top','history','call','IConfigService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','handleIRemoveCol','10604128gRCVEV','UniverProCollaborationClient','_docSyncEditingCollabCursorService','code','on-line-single_clip0_910_349','TOO_MANY_REQUESTS','_registerDependencies','clipPath','saveTaskMap','name','COLORS','_updateURLWithCurrentState','runOnServer','_injector','red300','collaboration.closeRoom','_labelPosition','doc.mutation.rich-text-editing','engine','push','_transformUndoRedoStack','selections','SetDocZoomRatioOperation','@univerjs/docs-ui','DeleteRangeMoveLeftCommandId','_cursors','MUTATION','unload','JOIN_ROOM_FAILED','APPLY_NON_SEQUENTIAL_REVISION','status$','handleMoveRange','getCellPositionByOffset','10HiabOW','ReactCurrentOwner','_refreshCollabCursors','unsubscribe','redoState','handleDeleteRangeMoveUp','_startDocCollabCursor','href','collabStatus.notCollab','_initResize','translate(.97)','getCurrentUnitForType','setConfig','runRefRangeMutations','defineProperty','purple300','_collabCursorController','CollaborationStatus','getOwnPropertySymbols','subUnitId','stringify','DOC_RANGE_TYPE','substring','random','className','toDisposable','_localCacheService','gold400','_handleHeartbeatEvent','onRendered','add','_httpService','NO_OTHER_CLIENTS_EDITING','getCurrentSelections','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','syncEditingCollabCursor','handleInsertCol','getViewport','IMessageService','body','getOffsetConfig','1em','_onCursorUpdate','DocIMEInputManagerService','APPLY_DUPLICATED','getTypeOfUnitDisposed$','7567584IQlTAT','type','registerRenderModule','set','SheetCollabCursorShape','CHANGESET_REVISION_CONFILICT','roomMembers$','post','createElement','@univerjs-pro/collaboration-client','APPLY_PERMISSION_DENIED','YUUMI_RATE_OVER_LIMIT','Inject','concat','column','UniverCollaborationClientUIPlugin','startsWith','NodePositionConvertToCursor','SheetSkeletonManagerService','DocSkeletonManagerService','UNIVER_SHEET','_hovered','_beforeCloseService','from','RichTextEditingMutation','generateRandomId','url(#off-line-single_clip0_910_343)','Unknown\x20user','takeUntil','handleInsertRangeMoveDown','_scene','m2Prime','ACTIVE_UNIT_EVENT_CHANNEL','setActiveRange','_transformService','IDocClipboardService','InsertColCommandId','AWAITING_WITH_PENDING','_updateSubUnitFromURLParams','Shape','collab-text-range-','forEach','LICENSE_EXPORT_SIZE_EXCEEDED','shareReplay','RemoteUniscriptService','_textBubble','createInstance','addClipboardHook','mergeOverrideWithDependencies','setInterval','collaboration-client-ui.config','rxjs','@univerjs/engine-render','setAlpha','_render','useRef','univer-online','ThemeService','arc','CONNECTOR_DATA_TOO_LARGE','...','_uiPartsService','_urlService','_revisionService','_status$','_online','_toggleOnline','currentTheme$','Fragment','_hideTimer','_registerRenderDependencies','url(#$1','CollaborationController','@univerjs/engine-formula','addObject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_docTransformIMECacheService','rgba(255,\x20255,\x20255,\x200.01)','combineLatest','_startSheetCollabCursor','none','replaceState','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','executeCommand','fillStyle','DeleteRangeMoveUpCommandId','_getAnchorBounding','fromEventSubject','imageSourceType','CommandType','_cursorInfo$','mutations','tag','ALREADY_EXISTS','VIEW_MAIN','_removeClearOtherTimer','react.fragment','defs','@univerjs/core','getFocusedUnit','key','CollaborationEvent','permission.content','_univerInstanceService','SetWorksheetActivateCommand','for','delete','map','getColor','@univerjs/sheets-ui','urlChange$','ENSURE_SNAPSHOT_EXECUTION','_memberService','m1Prime','jsx','disposeWithMe','_scheduleSaving','focused$','_renderManagerService','with','DataLoaderService','getValue','HTTPService','fill','exports','_context','RemoveRowCommandId','setUndoRedoMutationParamsCache','asObservable','MoveRangeCommandId','7wuvJch','_dataLoaderService','_config','MemberService','_session','height','UNIVER_DOC','cursorInfo','_onCursorDelete','getRenderById','text','forwardRef','Rectangle','@univerjs/design','getUndoRedoMutationParamsCache','min','indexOf','InsertRowCommandId','[CollaborationDataLoaderController]','_init','_scheduleClearOtherTimer','@univerjs/network','_getMergeRange','@univerjs/ui','_send','_eventUnsubscribe','WebURLService','onlineStatusTitle','_refRangeService','parse','9028827ENWsPu','hide','_colorAssignService','defaultProps','isTransformMutationFailure','RxDisposable','getMember','serializeRangeWithSheet','dispose$','DependentOn','findNodePositionByCharIndex','getItem','show','Disposable','/run/','blue400','onPointerMove$','displayName','icon','collabCursorState$','loadUnit','_shapes','_commandService','currentColor','collab-client.tooltip.reconnect','hasOwnProperty','UniverDrawing','_transformHistoryAndStateStack','NOT_COLLAB','throttleTime','collaboration-client.offline-data-not-saved','INTERNAL_ERROR','IUIPartsService','toString','updateOfflineData','_logService','transformByState','includes','_name','_transformPreviousActiveRange','length','values','160864kEXGEd','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','ICommandService','_sheetSkeletonManagerService','init','SOCKET_FAILED_RETRY','UNRECOGNIZED','Vector2','div','UniverRpc','collabStatus.syncing','LICENSE_IMPORT_SIZE_EXCEEDED','_docTransformStateCacheService','split','Injector','ref','_hover','symbol','_initDependencies','saveImage','restore','params','SNAPSHOT_INVALID_SNAPSHOT','transformIMECache','object','Warning','dispose','cursorInfo$','getTypeOfUnitAdded$','_backgroundColor','getSheetBySheetId','3753970dNMThX','DocCollaborationEntity','_unitStatus','UniverDesign','transformStateCache','@univerjs/docs','use','bottom','assign','OTHER_CLIENTS_EDITING','1580zjwcRP','setStateCache','hovered','_entities','_notificationService','TEXT_RANGE_LAYER_INDEX','_onRefRangeChange','defIds','clearInterval','LocaleService','_clearOtherTimers','useObservable','ISocketService','searchParams','useCallback','collab-rect-range-','_themeService'];_0x1a7e=function(){return _0x4e3344;};return _0x1a7e();}
|