@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506131607 → 0.8.1-nightly.202506151606

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 CHANGED
@@ -1 +1 @@
1
- 'use strict';function _0x15df(){const _0x515d70=['643106HryWzz','2222125bhsQbk','8220877fGINJj','231672nghwjM','991608yejKFA','207605pNtSek','FUniver','get','runOnServer','@univerjs/core/facade','_injector','2628234jnjSpK'];_0x15df=function(){return _0x515d70;};return _0x15df();}const _0xa54745=_0x438e;(function(_0xd90b69,_0x412046){const _0x5ea953=_0x438e,_0x465db5=_0xd90b69();while(!![]){try{const _0x1626ee=-parseInt(_0x5ea953(0x1dd))/0x1+parseInt(_0x5ea953(0x1d8))/0x2+parseInt(_0x5ea953(0x1db))/0x3+-parseInt(_0x5ea953(0x1dc))/0x4+-parseInt(_0x5ea953(0x1d9))/0x5+-parseInt(_0x5ea953(0x1d7))/0x6+parseInt(_0x5ea953(0x1da))/0x7;if(_0x1626ee===_0x412046)break;else _0x465db5['push'](_0x465db5['shift']());}catch(_0x110734){_0x465db5['push'](_0x465db5['shift']());}}}(_0x15df,0x396d1));function _0x438e(_0x3a888b,_0x37a6b5){const _0x15dfc5=_0x15df();return _0x438e=function(_0x438eef,_0x2d2df0){_0x438eef=_0x438eef-0x1d6;let _0x3ba03c=_0x15dfc5[_0x438eef];return _0x3ba03c;},_0x438e(_0x3a888b,_0x37a6b5);}const t=require('@univerjs-pro/collaboration-client-ui'),e=require(_0xa54745(0x1e1));class c extends e[_0xa54745(0x1de)]{[_0xa54745(0x1e0)](_0x4c1f75,_0x1aa7f0,..._0x4d91dd){const _0x4f0ed9=_0xa54745;return this[_0x4f0ed9(0x1d6)][_0x4f0ed9(0x1df)](t['RemoteUniscriptService'])[_0x4f0ed9(0x1e0)](_0x4c1f75,_0x1aa7f0,{},..._0x4d91dd);}}e[_0xa54745(0x1de)]['extend'](c);
1
+ 'use strict';const _0x4228dd=_0x3a0e;(function(_0x224a83,_0x22ed12){const _0x431782=_0x3a0e,_0x1b3d95=_0x224a83();while(!![]){try{const _0x1424df=parseInt(_0x431782(0x10b))/0x1+-parseInt(_0x431782(0x10d))/0x2*(parseInt(_0x431782(0x107))/0x3)+-parseInt(_0x431782(0x109))/0x4+parseInt(_0x431782(0x10f))/0x5+parseInt(_0x431782(0x10c))/0x6*(parseInt(_0x431782(0x10e))/0x7)+-parseInt(_0x431782(0x113))/0x8*(parseInt(_0x431782(0x105))/0x9)+parseInt(_0x431782(0x111))/0xa;if(_0x1424df===_0x22ed12)break;else _0x1b3d95['push'](_0x1b3d95['shift']());}catch(_0x546be5){_0x1b3d95['push'](_0x1b3d95['shift']());}}}(_0x2471,0xb4a5b));function _0x2471(){const _0x210961=['_injector','FUniver','9KDMiJt','get','3yezMng','extend','1200704BscHaT','runOnServer','966571frjRup','6ZLFVQu','1768682TMTpbY','3359783WeolKm','4456050ZjgyKf','@univerjs/core/facade','2677710DwMvvo','@univerjs-pro/collaboration-client-ui','5448584jzJOtX'];_0x2471=function(){return _0x210961;};return _0x2471();}const t=require(_0x4228dd(0x112)),e=require(_0x4228dd(0x110));function _0x3a0e(_0x9a51fb,_0x1e566b){const _0x2471e2=_0x2471();return _0x3a0e=function(_0x3a0ecb,_0x38a3db){_0x3a0ecb=_0x3a0ecb-0x105;let _0x3d9358=_0x2471e2[_0x3a0ecb];return _0x3d9358;},_0x3a0e(_0x9a51fb,_0x1e566b);}class c extends e[_0x4228dd(0x115)]{[_0x4228dd(0x10a)](_0x577179,_0x2828a0,..._0x583ef5){const _0x439148=_0x4228dd;return this[_0x439148(0x114)][_0x439148(0x106)](t['RemoteUniscriptService'])[_0x439148(0x10a)](_0x577179,_0x2828a0,{},..._0x583ef5);}}e[_0x4228dd(0x115)][_0x4228dd(0x108)](c);
package/lib/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x1484f9=_0x1dbb;(function(_0x52e0ea,_0x1aaf8d){const _0x47c9ed=_0x1dbb,_0x103cb3=_0x52e0ea();while(!![]){try{const _0x22b3d4=-parseInt(_0x47c9ed(0x1bf))/0x1*(parseInt(_0x47c9ed(0x266))/0x2)+-parseInt(_0x47c9ed(0x1da))/0x3+parseInt(_0x47c9ed(0x1c4))/0x4*(parseInt(_0x47c9ed(0x100))/0x5)+-parseInt(_0x47c9ed(0x91))/0x6+parseInt(_0x47c9ed(0x2c1))/0x7+parseInt(_0x47c9ed(0x77))/0x8+parseInt(_0x47c9ed(0x20f))/0x9*(parseInt(_0x47c9ed(0x1a7))/0xa);if(_0x22b3d4===_0x1aaf8d)break;else _0x103cb3['push'](_0x103cb3['shift']());}catch(_0x4f8571){_0x103cb3['push'](_0x103cb3['shift']());}}}(_0x2259,0xbef53));var Ve=Object[_0x1484f9(0x209)],Xe=(_0x320628,_0x289e6e,_0x29597e)=>_0x289e6e in _0x320628?Ve(_0x320628,_0x289e6e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x29597e}):_0x320628[_0x289e6e]=_0x29597e,h=(_0x147117,_0x26f3f4,_0xd9f336)=>Xe(_0x147117,typeof _0x26f3f4!=_0x1484f9(0x1e7)?_0x26f3f4+'':_0x26f3f4,_0xd9f336);Object[_0x1484f9(0x209)](exports,Symbol[_0x1484f9(0x2d0)],{'value':_0x1484f9(0x27f)});const u=require('@univerjs-pro/collaboration-client'),a=require(_0x1484f9(0x7e)),p=require(_0x1484f9(0xbd)),G=require(_0x1484f9(0x143)),b=require(_0x1484f9(0x2ac)),Ge=require(_0x1484f9(0x14d)),d=require('rxjs'),Y=require(_0x1484f9(0x1ea)),m=require(_0x1484f9(0x1bd)),Ee=require(_0x1484f9(0x15e)),g=require(_0x1484f9(0x285)),$=require(_0x1484f9(0x25c)),X=require('@univerjs/sheets-ui'),w=require('react/jsx-runtime'),T=require(_0x1484f9(0x261)),D=require(_0x1484f9(0x1b7)),M=require(_0x1484f9(0x24d)),Ke=require(_0x1484f9(0xb9));var qe=Object[_0x1484f9(0x21b)],ze=(_0x5750ad,_0x29785d,_0x358bde,_0x9d206a)=>{for(var _0x510e85=_0x9d206a>0x1?void 0x0:_0x9d206a?qe(_0x29785d,_0x358bde):_0x29785d,_0xccefc9=_0x5750ad['length']-0x1,_0x1e919d;_0xccefc9>=0x0;_0xccefc9--)(_0x1e919d=_0x5750ad[_0xccefc9])&&(_0x510e85=_0x1e919d(_0x510e85)||_0x510e85);return _0x510e85;},Te=(_0x1c6cca,_0x4ec0e2)=>(_0x24f0a6,_0xd6cc97)=>_0x4ec0e2(_0x24f0a6,_0xd6cc97,_0x1c6cca);let de=class extends a[_0x1484f9(0x1fc)]{constructor(_0x1c7dfe,_0x2fff05){const _0x16b6f5=_0x1484f9;super(),this[_0x16b6f5(0xb5)]=_0x1c7dfe,this[_0x16b6f5(0x145)]=_0x2fff05,this[_0x16b6f5(0x1df)]();}['_init'](){const _0x1cfd68=_0x1484f9,_0x361cd5=this;this[_0x1cfd68(0x161)](this[_0x1cfd68(0xb5)][_0x1cfd68(0x194)]({'onBeforePasteImage':async _0x3e5c0c=>{const _0x562ad2=_0x1cfd68,_0x578379=await _0x361cd5[_0x562ad2(0x145)][_0x562ad2(0x200)](_0x3e5c0c);return _0x578379?{'source':_0x578379[_0x562ad2(0x20b)],'imageSourceType':_0x578379['imageSourceType']}:null;}}));}};de=ze([Te(0x0,b[_0x1484f9(0x1fd)]),Te(0x1,Ge['IImageIoService'])],de);const Oe=[_0x1484f9(0x29b),'jiqing.500',_0x1484f9(0x1e6),'red.300',_0x1484f9(0x2ab),_0x1484f9(0x184)];class me extends a[_0x1484f9(0x293)]{constructor(){const _0x43e2a4=_0x1484f9;super(...arguments),h(this,_0x43e2a4(0x283),new Map()),h(this,_0x43e2a4(0x2a4),0x0);}['assignAColorForMemberID'](_0x1485d3){const _0x1241b3=_0x1484f9;if(this[_0x1241b3(0x283)][_0x1241b3(0x17c)](_0x1485d3))return this[_0x1241b3(0x283)]['get'](_0x1485d3);const _0x51d716=Oe[this[_0x1241b3(0x2a4)]];return this[_0x1241b3(0x2a4)]=(this[_0x1241b3(0x2a4)]+0x1)%Oe[_0x1241b3(0x1fe)],this[_0x1241b3(0x283)][_0x1241b3(0x2df)](_0x1485d3,_0x51d716),_0x51d716;}}function we(_0x3d01ee){const _0x3e8bee=_0x1484f9;let _0x491cec='';for(const _0x4195fa of _0x3d01ee){const {startOffset:_0x44063d,endOffset:_0x39c055,isActive:_0x1dbfac,rangeType:_0x12ab69,segmentId:_0x3da0e6,segmentPage:_0x393120}=_0x4195fa;_0x491cec[_0x3e8bee(0x1fe)]&&(_0x491cec+=','),_0x491cec+=_0x44063d+':'+_0x39c055+':'+(_0x1dbfac?'1':'0')+':'+_0x12ab69+':'+_0x3da0e6+':'+_0x393120;}return _0x491cec;}function _0x2259(){const _0x3c412c=['handleMoveRange','permission.title','UniverCollaborationClientUIPlugin','dispose','currentColor','addClipboardHook','rgba(255,\x20255,\x20255,\x200.01)','resize','sessionStatus$','shareReplay','0\x200\x2016\x2016','Workbook','forEach','roomMembers','_docSkeleton','LOCAL_CACHE_INTERVAL','filter','JOIN_ROOM_FAILED','IUniverInstanceService','round','_localStorageService','_render','call','on-line-icon_clip0_910_349','7110WJFEVi','UniverIcon','MoveRangeCommandId','then','_getAnchorBounding','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_selfUnitIDs','WebSocketService','ICommandService','find','height','backgroundColor','_updateCollabCursors','FromArray','clearTimeout','body','@univerjs/design','evenodd','type','assignAColorForMemberID','UNIVER_SHEET','isActive','@univerjs-pro/collaboration','ITransformService','37433JzUiEx','IRemoteInstanceService','asObservable','OnLineIcon','div','152zQvxvi','onRendered','_config','_initStatusComponent','ILogService','_handleHeartbeatEvent','_toggleOffline','CONNECTOR_DATA_TOO_LARGE','fromEvent','roomMembers$','hasOwnProperty','fillRule','handleInsertRangeMoveRight','FETCH_MISS','fill','fillText','transformMutationsWithChangeset','createInstance','MemberService','clearInterval','show','onMouseMove','125985KjFpgA','handleInsertRow','getSheetBySheetId','_instanceService','dispose$','_init','univer-flex\x20univer-items-center','setParam','setTimeout','HEADER_MENU','_handleJoinEvent','getSheetId','green.600','symbol','displayName','onStarting','@univerjs/docs','Failed','SUBMIT_CHANGESET_TIMEOUT','search','makeDirty','unshift','#FFF','getParam','use','_httpService','touchDependencies','subunit','closePath','runOnServer','getDocRanges','collabStatus.offline','SetWorksheetActivateCommand','debounceTime','RxDisposable','IDocClipboardService','length','WebURLService','saveImage','debug','_saveCache','_collaborationController','LOGIN_FAILED','_transformUndoRedoStack','_setupSubUnitSync','toDisposable','InsertRangeMoveDownCommandId','defineProperty','_getMergeRange','source','_textBubble','split','switchMap','288iYUATO','toString','values','propertyIsEnumerable','_range','0\x200\x2017\x2016','startsWith','CHANGESET_REVISION_CONFILICT','triggerDblclick','_entities','white','TEXT','getOwnPropertyDescriptor','collab-rect-range-','BehaviorSubject','UNRECOGNIZED','requireSession','addHandlerCallback','_refRangeService','_handleEvent','_eventUnsubscribe','path','replaceDocRanges','createIdentifier','endRow','mergeOverrideWithDependencies','onTransformChange$','YUUMI_URL_COL_OUT_OF_RANGE','_startDocCollabCursor','handleInsertRangeMoveDown','apply','unitID','executeCommand','clipPath','MOBILE_HAS_BEEN_BOUND','CONFLICT','OFFLINE','transformByState','url(#off-line-icon_clip0_910_343)','transformStateCache','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','map','_updateSubUnitFromURLParams','collaboration.closeRoom','unsubscribe','ONLINE','max','TEXT_RANGE_LAYER_INDEX','push','getCollabEntity$','m1Prime','get','getColor','getConfig','_configService','syncEditingCollabCursor','getTypeOfUnitDisposed$','RegularPolygon','eventID','_backgroundColor','override','some','react','createElement','_clearOtherTimers','replaceState','ILocalStorageService','Inject','RefRangeService','EffectRefRangId','COLORS','exhaustSavingTask','http://www.w3.org/2000/svg','colorChannel1','selection','RemoveRowCommandId','_dataLoaderService','rxjs/operators','_commandService','session.collaboration-timeout','Tools','permission.content','@univerjs/ui','_handleLeaveEvent','LICENSE_DISTRO_REJECTED','_removeClearOtherTimer','onCommandExecuted','44xDwFhR','findNodePositionByCharIndex','useObservable','disposeUnit','text','_name','prototype','_startSheetCollabCursor','_docStateChangeManagerService','CollaborationSessionService','idSuffix','_onRefRangeChange','random','getTypeOfUnitAdded$','deepClone','isTransformMutationsWithChangesetSuccess','_labelPosition','current','xlink:href','getValue','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getUndoRedoMutationParamsCache','setStateCache','_drawRectRange','_anchor','Module','WebBrowserSingleActiveUnitService','unload','registerRefRange','_assignedColors','IUIPartsService','@univerjs/sheets','_localeService','application/json','_initEntityListener','registerRenderModule','ColorKit','_getScale','getRenderById','_localCacheService','redoState','_notificationService','href','jsxs','_color','Disposable','hide','collabStatus.syncing','_draw','_injector','result','UPDATE_CURSOR','LICENSE_EXPORT_SIZE_EXCEEDED','purple.300','_cursors','origin','_scene','getMergeData','_docTransformStateCacheService','transformRemoteChangeset','DocIMEInputManagerService','_themeService','_colorIndex','BuiltInUIPart','doc.mutation.rich-text-editing','getSkeleton','_collabSessionService','_document','attrs','blue.400','@univerjs/docs-ui','defIds','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','getCoordByCell','color','fromEventSubject','ISocketService','black','DisposableCollection','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','urlChange$','collabStatus.synced','getColorFromTheme','AWAITING_WITH_PENDING','_toggleOnline','setItem','jsx','removeParam','PY_RUNTIME_SCRIPT_ERROR','session.connection-failed','string','3699353BUgJaL','isArray','disableLocalCache','univer-mr-2\x20univer-flex\x20univer-text-xl','UniverInstanceType','RevisionService','trim','EMAIL_HAS_BEEN_BOUND','_beforeCloseService','_createSocketURL','collabStatus.conflict','InsertColCommandId','CLOSE_ROOM','_disabled','loadOfflineData','toStringTag','subscribe','contains','CollaborationSocketService','Unknown\x20user','SOCKET_FAILED','UnitStatus','pluginName','YUUMI_AI_RUN_FAILED','getViewport','location','createSocket','_unitStatus','top','_cursor','set','addObjects','history','VIEW_MAIN','currentSkeleton$','YUUMI_UNABLE_LOAD_URL','assign','cursorInfo','_docTransformIMECacheService','YUUMI_NO_CUBOID_FOR_QUESTION','SheetCollabCursorShape','COMPLETION_FINISHED','MessageType','subscribeEvent','mask','_entityInit$','pushState','bottom','IMessageService','_heartbeatTimer','code','event$','NodePositionConvertToRectRange','beginPath','YUUMI_ASYNCIO_CANCELLED','_uiPartsService','getCellPositionByOffset','RichTextEditingMutation','cursorInfo$','unit','data','defs','setActiveRange','...','measureText','_getSheetObject','from','8560264cErpRt','fillStyle','getAncestorScale','registerDependencies','INVITE_CODE_ALREADY_BOUND','APPLY_REJECT','engine','@univerjs/core','unitId','delete','size','parse','_univerInstanceService','DeleteRangeMoveUpCommandId','getCurrent','AWAITING','handleDeleteRangeMoveUp','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','range','stringify','SOCKET_FAILED_RETRY','focused$','getOwnPropertySymbols','_updateLocalCursor','DataLoaderService','getCurrentUnitForType','7618560ohlbNk','merge','_setupBeforeClosingHandler','init','Optional','SetDocZoomRatioOperation','url(#$1','transformSelections','indexOf','_docSkeletonManagerService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','skeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getOffsetConfig','YUUMI_RATE_OVER_LIMIT','error','useCallback','textRanges','collaboration.single-unit.warning','Injector','_hideTimer','LICENSE_MAX_UNITS_EXCEEDED','add','_removeCollabCursors','isTransformMutationFailure','distinctUntilChanged','CollaborationUIEventId','CollaborationStatus','transformMutation','_cursorInfo$','sessionTicket','function','_doCreateSocket','SetTextSelectionsOperation','width','name','_docClipboardService','getActiveSheet','memberID','drawWith','@univerjs/rpc','transformIMECache','takeUntil','InsertRangeMoveRightCommandId','@univerjs/engine-render','UNAUTHENTICATED','addEventListener','updateOfflineData','getStateCache','_docTransformSelectionsService','useDependency','_anchorDot','getCollabCursors$','INVITE_CODE_REQUIRED','sheetId','IBeforeCloseService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getRangePointData','key','ALREADY_EXISTS','_updateURLWithCurrentState','_messageService','collabCursorState$','complete','getCurrentSelections','getMember','getSheetObject','popstate','_onCursorUpdate','entries','min','_sheetSkeletonManagerService','_transformService','collab-text-anchor-','Error','DesktopCollaborationStatusDisplayController','clsx','onPointerEnter$','_roomMembers$','_registerDependencies','_initEvent','_initCommandExecutedListener','_handleHover','INVALID_ARGUMENT','_unitOnClients','pipe','collabStatus.fetchMiss','_collaborationUIEventService','collab-text-range-','setInterval','M0\x200H16V16H0z','RemoteUniscriptService','BrowserCollaborationSocketService','_drawTextRange','generateRandomId','addObject','1em','send','_memberService','IURLService','_docSyncEditingCollabCursorService','saveTaskMap','className','_saveTaskMap','ranges','_hovered','setShapeProps','Vector2','_collabCursorController','NodePositionConvertToCursor','_getSessionTicket','170550obIuUM','APPLY_DUPLICATED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','PERMISSION_DENIED','enableLocalCache','onPointerMove$','LICENSE_IMPORT_SIZE_EXCEEDED','replace','_status$','includes','currentTheme$','getLocalCacheKey','_scheduleSaving','tag','throttleTime','NO_OTHER_CLIENTS_EDITING','RECT','_renderManagerService','IRenderManagerService','_refreshCollabCursors','lineTo','combineLatest','extend','PENDING','RemoveColCommandId','_ensureSubject','_initDependencies','concat','with','DocStateChangeManagerService','UNIVER_DOC','on-line-icon','YUUMI_ALL_TABLES_IS_INVALID','UniverCollaborationClientPlugin','font','_collabCursorState$','status$','subUnitId','INVITE_CODE_HAS_BEEN_UES','arc','Rect','_revisionService','_onCursorDelete','registerBeforeClose','all','NOT_FOUND','docStateChange$','serializeRangeWithSheet','_context','TOO_MANY_REQUESTS','off-line-icon_clip0_910_343','USERS_LEAVE','startColumn','toRgbString','m2Prime','APPLY_REVISION_CONFILICT','IConfigService','_shapes','getFocusedUnit','substring','SNAPSHOT_INVALID_SNAPSHOT','NOT_COLLAB','getUnitStatus$','INVALID_INVITE_CODE','selections','INTERNAL_ERROR','_urlService','@univerjs/network','UNDEFINED','_imageIoService','undoState','SHEET_VIEWPORT_KEY','setAlpha','isEditing','activeSheet$','_scheduleClearOtherTimer','children','@univerjs/drawing','[CollaborationDataLoaderController]','off-line-icon','_logService','mutations','column','icon','_id','runId','save','DOC_RANGE_TYPE','_getSaveTimeout','_syncEditingCollabCursorService','row','CollaborationEvent','handleInsertCol','_initStatusListener','@univerjs/engine-formula','translate(.97)','_send','disposeWithMe','restore','searchParams','forwardRef','getItem','getActiveRange','Warning','_session','ILocalCacheService','HTTPService','next','APPLY_PERMISSION_DENIED','_cursorShapes','APPLY_NON_SEQUENTIAL_REVISION','getMemberID','getUnitId','CollaborationDataLoaderController','params','ENSURE_SNAPSHOT_EXECUTION','_hover','_online','startRow','univerjs-icon\x20univerjs-icon-','debounce','SheetSkeletonManagerService','getUnhiddenWorksheets','_drawAnchor','has','SNAPSHOT_HAS_BEEN_REMOVED','_colorAssignService','USER_NOT_INVITED_CODE','ThemeService','storage','registerComponent','getCurrentRevOfUnit','yellow.400','Shape','moveTo','YUUMI_SUBSCRIPTION_NOT_FOUND','onLocalMutation','_lastPointer','svg','ticket','SessionStatus','OTHER_CLIENT_EDITING','LocaleService'];_0x2259=function(){return _0x3c412c;};return _0x2259();}function Je(_0x2cde39){const _0x1ceb2b=_0x1484f9,_0x23e0f6=_0x2cde39[_0x1ceb2b(0x20d)](','),_0x487fc4=[];for(const _0x476f56 of _0x23e0f6){const [_0x40d125,_0x54bc85,_0x45861d,_0x104b13,_0xa48bdd,_0x581aef]=_0x476f56[_0x1ceb2b(0x20d)](':');_0x487fc4[_0x1ceb2b(0x23f)]({'startOffset':Number(_0x40d125),'endOffset':Number(_0x54bc85),'collapsed':_0x40d125===_0x54bc85,'isActive':_0x45861d==='1','rangeType':_0x104b13===a[_0x1ceb2b(0x157)][_0x1ceb2b(0x21a)]?a['DOC_RANGE_TYPE'][_0x1ceb2b(0x21a)]:a[_0x1ceb2b(0x157)]['RECT'],'segmentId':typeof _0xa48bdd==_0x1ceb2b(0x2c0)?String(_0xa48bdd):'','segmentPage':Number(_0x581aef!=null?_0x581aef:-0x1)});}return _0x487fc4[_0x1ceb2b(0x24c)](_0x4ea0cb=>_0x4ea0cb[_0x1ceb2b(0x1bc)])||(_0x487fc4[0x0]['isActive']=!0x0),_0x487fc4;}class Ce extends a['RxDisposable']{constructor(){const _0x262acd=_0x1484f9;super(...arguments),h(this,_0x262acd(0x123),new d[(_0x262acd(0x21d))](null)),h(this,_0x262acd(0xcf),this[_0x262acd(0x123)][_0x262acd(0x1c1)]());}[_0x1484f9(0x246)](_0x4abd1f){const _0x106cc9=_0x1484f9,{unitID:_0x5c0130,memberID:_0x2d4ea3,textRanges:_0x49df0f}=_0x4abd1f,_0x4ceb6d=we(_0x49df0f);if(_0x4ceb6d==='')return;const _0x585976={'unitID':_0x5c0130,'memberID':_0x2d4ea3,'selection':_0x4ceb6d};this[_0x106cc9(0x123)]['next'](_0x585976);}}var Ze=Object[_0x1484f9(0x21b)],Qe=(_0x5092b5,_0xceed54,_0x4ac3f3,_0x3aca36)=>{const _0xa417d=_0x1484f9;for(var _0x78acbe=_0x3aca36>0x1?void 0x0:_0x3aca36?Ze(_0xceed54,_0x4ac3f3):_0xceed54,_0x3c6b2f=_0x5092b5[_0xa417d(0x1fe)]-0x1,_0xbc13ee;_0x3c6b2f>=0x0;_0x3c6b2f--)(_0xbc13ee=_0x5092b5[_0x3c6b2f])&&(_0x78acbe=_0xbc13ee(_0x78acbe)||_0x78acbe);return _0x78acbe;},L=(_0x4039ef,_0x12b234)=>(_0x507684,_0x3571d1)=>_0x12b234(_0x507684,_0x3571d1,_0x4039ef);const et=0x12c,tt=0x64;let fe=class extends a[_0x1484f9(0x1fc)]{constructor(_0x3cfa97,_0x53deef,_0x356172,_0x25981f,_0x42bee0,_0x2beb41,_0x4b8860,_0x22bb3f,_0x177377){const _0x53f9c6=_0x1484f9;super(),h(this,_0x53f9c6(0x175),!0x1),h(this,_0x53f9c6(0x1df),!0x1),h(this,_0x53f9c6(0xae),new d[(_0x53f9c6(0x21d))](new Map())),h(this,_0x53f9c6(0x6e),this[_0x53f9c6(0xae)][_0x53f9c6(0x1c1)]()),h(this,_0x53f9c6(0xdf),new d[(_0x53f9c6(0x21d))]([])),h(this,_0x53f9c6(0x1cd),this[_0x53f9c6(0xdf)][_0x53f9c6(0xe6)](d[_0x53f9c6(0x1fb)](et))),h(this,'_updateLocalCursor',a[_0x53f9c6(0x178)](_0x217d31=>{const _0x1b4a07=_0x53f9c6,_0x122fea={'eventID':m[_0x1b4a07(0x15b)][_0x1b4a07(0x299)],'data':{'unitID':this[_0x1b4a07(0x22e)],'memberID':this[_0x1b4a07(0x168)][_0x1b4a07(0x16f)](),'selection':we(_0x217d31)}};this['_session'][_0x1b4a07(0xf2)](_0x122fea,this[_0x1b4a07(0x22e)]);},tt)),(this[_0x53f9c6(0x22e)]=_0x3cfa97,this[_0x53f9c6(0x168)]=_0x53deef,this[_0x53f9c6(0x297)]=_0x356172,this['_colorAssignService']=_0x25981f,this['_memberService']=_0x42bee0,this[_0x53f9c6(0x159)]=_0x2beb41,this['_transformService']=_0x4b8860,this[_0x53f9c6(0x83)]=_0x22bb3f,this[_0x53f9c6(0x25d)]=_0x177377);}get[_0x1484f9(0x2e6)](){const _0x67aaf9=_0x1484f9;return this[_0x67aaf9(0xae)]['getValue']();}get['roomMembers'](){const _0x3ac988=_0x1484f9;return this[_0x3ac988(0xdf)][_0x3ac988(0x279)]();}[_0x1484f9(0x192)](){const _0x5d97ec=_0x1484f9;super['dispose'](),this[_0x5d97ec(0xae)][_0x5d97ec(0x16b)](new Map()),this['_cursorInfo$'][_0x5d97ec(0xd0)](),this[_0x5d97ec(0xdf)][_0x5d97ec(0x16b)]([]),this[_0x5d97ec(0xdf)][_0x5d97ec(0xd0)]();}[_0x1484f9(0x94)](){const _0x48f4af=_0x1484f9;this['_init']||(this[_0x48f4af(0x1df)]=!0x0,this['_session'][_0x48f4af(0x197)]['pipe'](d[_0x48f4af(0xbb)](this['dispose$']))[_0x48f4af(0x2d1)](_0x580f5e=>{const _0x47da03=_0x48f4af;_0x580f5e===u[_0x47da03(0x18c)][_0x47da03(0x23c)]?this[_0x47da03(0x2ba)]():this['_toggleOffline']();}),this[_0x48f4af(0x168)][_0x48f4af(0x67)]['pipe'](d[_0x48f4af(0xbb)](this['dispose$']))['subscribe'](_0x2582f6=>{const _0x526127=_0x48f4af,_0x574f6e=_0x2582f6[_0x526127(0x249)];_0x574f6e===m[_0x526127(0x15b)][_0x526127(0x299)]&&this[_0x526127(0xd5)](_0x2582f6),_0x574f6e===m['CollaborationEvent'][_0x526127(0x133)]&&this[_0x526127(0x12a)](_0x2582f6);}),this[_0x48f4af(0x161)](this[_0x48f4af(0x25d)][_0x48f4af(0x265)](_0x1a8630=>{const _0x2f2fc4=_0x48f4af,_0x241d3c=_0x1a8630[_0x2f2fc4(0x172)];_0x241d3c!=null&&this['_online']&&_0x1a8630['id']===Y[_0x2f2fc4(0xb2)]['id']&&_0x241d3c[_0x2f2fc4(0x7f)]===this[_0x2f2fc4(0x22e)]&&_0x241d3c[_0x2f2fc4(0x149)]===!0x1&&_0x241d3c[_0x2f2fc4(0xf9)]['length']>0x0&&this[_0x2f2fc4(0x8e)](_0x241d3c[_0x2f2fc4(0xf9)]);})),this[_0x48f4af(0x159)][_0x48f4af(0xcf)][_0x48f4af(0xe6)](d['takeUntil'](this[_0x48f4af(0x1de)]))[_0x48f4af(0x2d1)](_0x3c7797=>{const _0x5cf6d8=_0x48f4af;if((_0x3c7797==null?void 0x0:_0x3c7797[_0x5cf6d8(0x22e)])!==this[_0x5cf6d8(0x22e)])return;const _0x35a4d5={'eventID':m[_0x5cf6d8(0x15b)][_0x5cf6d8(0x299)],'data':_0x3c7797};this['_onCursorUpdate'](_0x35a4d5);}),this[_0x48f4af(0x161)](this['_commandService'][_0x48f4af(0x265)](_0x34a62a=>{const _0x1589fe=_0x48f4af;if(_0x34a62a[_0x1589fe(0x172)]==null)return;const _0xddee8f=_0x34a62a[_0x1589fe(0x172)];if(_0x34a62a['id']!==Y[_0x1589fe(0x6d)]['id']||_0xddee8f['unitId']!==this[_0x1589fe(0x22e)])return;const _0x99c711={'id':_0x1589fe(0x2a6),'params':_0xddee8f},_0x2d3d19=this['cursorInfo'];for(const [_0x343c00,_0x3bb3a9]of _0x2d3d19){const _0x4a148c={'id':_0x1589fe(0x2a6),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3bb3a9['ranges']}},_0x3388d9=this[_0x1589fe(0xd9)]['transformMutation'](_0x99c711,_0x4a148c,!0x1);if(m['isTransformMutationFailure'](_0x3388d9))throw _0x3388d9[_0x1589fe(0xa0)];_0x2d3d19[_0x1589fe(0x2df)](_0x343c00,{..._0x3bb3a9,'ranges':_0x3388d9[_0x1589fe(0x136)][_0x1589fe(0x172)][_0x1589fe(0xa2)]});}queueMicrotask(()=>{const _0x225462=_0x1589fe;this['_cursorInfo$'][_0x225462(0x16b)](_0x2d3d19);});})));}[_0x1484f9(0xd5)](_0x4bbd14){const _0x13a9ac=_0x1484f9;var _0x1ea0ed,_0x56c509;const {memberID:_0x4efef8,selection:_0x56cf08}=_0x4bbd14[_0x13a9ac(0x70)],_0x159039=Je(_0x56cf08),_0x3ef2e0=(_0x56c509=(_0x1ea0ed=this[_0x13a9ac(0xf3)][_0x13a9ac(0xd2)](this[_0x13a9ac(0x22e)],_0x4efef8))==null?void 0x0:_0x1ea0ed[_0x13a9ac(0xb4)])!=null?_0x56c509:'Unknown\x20user',_0x4f3511={'color':this['_colorAssignService'][_0x13a9ac(0x1ba)](_0x4efef8),'name':_0x3ef2e0,'ranges':_0x159039},_0x1f3676=this[_0x13a9ac(0x2e6)];_0x1f3676[_0x13a9ac(0x2df)](_0x4efef8,_0x4f3511),this[_0x13a9ac(0xae)][_0x13a9ac(0x16b)](_0x1f3676);}[_0x1484f9(0x12a)](_0x2d2819){const _0x30e9e4=_0x1484f9,{memberID:_0x3553b9}=_0x2d2819[_0x30e9e4(0x70)],_0x521ed2=this[_0x30e9e4(0x2e6)];_0x521ed2[_0x30e9e4(0x80)](_0x3553b9),this[_0x30e9e4(0xae)][_0x30e9e4(0x16b)](_0x521ed2);}[_0x1484f9(0x2ba)](){const _0x22bad2=_0x1484f9;var _0x5076b7;if(this[_0x22bad2(0x175)]=!0x0,((_0x5076b7=this['_univerInstanceService'][_0x22bad2(0x13a)]())==null?void 0x0:_0x5076b7['getUnitId']())!==this[_0x22bad2(0x22e)])return;const _0x31a32f=this[_0x22bad2(0x297)]['get'](Y['DocSelectionManagerService'])[_0x22bad2(0x1f8)]();Array[_0x22bad2(0x2c2)](_0x31a32f)&&_0x31a32f[_0x22bad2(0x1fe)]>0x0&&this[_0x22bad2(0x8e)](_0x31a32f);}[_0x1484f9(0x1ca)](){this['_online']=!0x1;}};fe=Qe([L(0x2,a['Inject'](a['Injector'])),L(0x3,a[_0x1484f9(0x252)](me)),L(0x4,a[_0x1484f9(0x252)](u[_0x1484f9(0x1d6)])),L(0x5,a[_0x1484f9(0x252)](Ce)),L(0x6,m[_0x1484f9(0x1be)]),L(0x7,a['IUniverInstanceService']),L(0x8,a[_0x1484f9(0x1af)])],fe);var st=Object[_0x1484f9(0x21b)],it=(_0x9749d2,_0x1c437f,_0x445a19,_0x4710b8)=>{const _0x20e230=_0x1484f9;for(var _0x26a6f2=_0x4710b8>0x1?void 0x0:_0x4710b8?st(_0x1c437f,_0x445a19):_0x1c437f,_0x1ecec2=_0x9749d2[_0x20e230(0x1fe)]-0x1,_0xdd6980;_0x1ecec2>=0x0;_0x1ecec2--)(_0xdd6980=_0x9749d2[_0x1ecec2])&&(_0x26a6f2=_0xdd6980(_0x26a6f2)||_0x26a6f2);return _0x26a6f2;},A=(_0x2b7296,_0x593734)=>(_0x367613,_0x4443b5)=>_0x593734(_0x367613,_0x4443b5,_0x2b7296);const nt=0x12c,rt=0x64,ot=()=>{let _0x5df042=[],_0x3e8eb5=!0x1;return _0x578e28=>{const _0x2ba33f=_0x1dbb;_0x5df042[_0x2ba33f(0x23f)](_0x578e28),_0x3e8eb5||(_0x3e8eb5=!0x0,setTimeout(()=>{_0x5df042['forEach'](_0x53ee31=>_0x53ee31()),_0x5df042=[],_0x3e8eb5=!0x1;}));};};let Se=class extends a[_0x1484f9(0x1fc)]{constructor(_0x15e789,_0x5418bc,_0x13f60b,_0x564db0,_0xfa23c,_0x46fef6,_0x2becf1,_0x16e186){const _0x48920f=_0x1484f9;super(),h(this,_0x48920f(0x175),!0x1),h(this,_0x48920f(0x1df),!0x1),h(this,_0x48920f(0xae),new d[(_0x48920f(0x21d))](new Map())),h(this,'cursorInfo$',this[_0x48920f(0xae)][_0x48920f(0x1c1)]()),h(this,_0x48920f(0xdf),new d[(_0x48920f(0x21d))]([])),h(this,_0x48920f(0x1cd),this[_0x48920f(0xdf)]['pipe'](d[_0x48920f(0x1fb)](nt))),h(this,_0x48920f(0x8e),a['debounce']((_0x2a21ad,_0x3cc919)=>{const _0xb00fe5=_0x48920f,_0x1c614d={'eventID':m[_0xb00fe5(0x15b)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xb00fe5(0x22e)],'memberID':this[_0xb00fe5(0x168)]['getMemberID'](),'selection':Ee[_0xb00fe5(0x12f)](_0x2a21ad,_0x3cc919[_0xb00fe5(0x89)])}};this[_0xb00fe5(0x168)][_0xb00fe5(0xf2)](_0x1c614d,this[_0xb00fe5(0x22e)]);},rt)),(this[_0x48920f(0x22e)]=_0x15e789,this[_0x48920f(0x168)]=_0x5418bc,this['_injector']=_0x13f60b,this[_0x48920f(0x17e)]=_0x564db0,this['_memberService']=_0xfa23c,this[_0x48920f(0x83)]=_0x46fef6,this[_0x48920f(0x25d)]=_0x2becf1,this[_0x48920f(0x221)]=_0x16e186);}get[_0x1484f9(0x2e6)](){const _0x9c10a3=_0x1484f9;return this[_0x9c10a3(0xae)][_0x9c10a3(0x279)]();}get[_0x1484f9(0x19c)](){const _0x4ff782=_0x1484f9;return this[_0x4ff782(0xdf)][_0x4ff782(0x279)]();}['dispose'](){const _0x4c1db1=_0x1484f9;super[_0x4c1db1(0x192)](),this[_0x4c1db1(0xae)][_0x4c1db1(0x16b)](new Map()),this[_0x4c1db1(0xae)][_0x4c1db1(0xd0)](),this[_0x4c1db1(0xdf)][_0x4c1db1(0x16b)]([]),this['_roomMembers$'][_0x4c1db1(0xd0)]();}[_0x1484f9(0x94)](){const _0x169d2c=_0x1484f9;this[_0x169d2c(0x1df)]||(this[_0x169d2c(0x1df)]=!0x0,this[_0x169d2c(0x168)][_0x169d2c(0x197)][_0x169d2c(0xe6)](d[_0x169d2c(0xbb)](this[_0x169d2c(0x1de)]))[_0x169d2c(0x2d1)](_0x2c70df=>{const _0x2a99b4=_0x169d2c;_0x2c70df===u[_0x2a99b4(0x18c)][_0x2a99b4(0x23c)]?this[_0x2a99b4(0x2ba)]():this[_0x2a99b4(0x1ca)]();}),this[_0x169d2c(0x168)][_0x169d2c(0x67)][_0x169d2c(0xe6)](d[_0x169d2c(0xbb)](this[_0x169d2c(0x1de)]))[_0x169d2c(0x2d1)](_0x345c29=>{const _0x2ae71e=_0x169d2c,_0x35f6ec=_0x345c29[_0x2ae71e(0x249)];_0x35f6ec===m[_0x2ae71e(0x15b)][_0x2ae71e(0x299)]&&this[_0x2ae71e(0xd5)](_0x345c29),_0x35f6ec===m[_0x2ae71e(0x15b)][_0x2ae71e(0x133)]&&this['_onCursorDelete'](_0x345c29);}),this[_0x169d2c(0x271)](),this[_0x169d2c(0x161)](this['_commandService'][_0x169d2c(0x265)](_0x1e0f58=>{const _0x2bf0a6=_0x169d2c;if(this[_0x2bf0a6(0x175)]&&_0x1e0f58['id']===g['SetSelectionsOperation']['id']&&_0x1e0f58[_0x2bf0a6(0x172)]['unitId']===this[_0x2bf0a6(0x22e)]){const _0x103909=_0x1e0f58['params'];this[_0x2bf0a6(0x8e)](_0x103909[_0x2bf0a6(0x125)],_0x103909[_0x2bf0a6(0x140)][0x0]);}})));}[_0x1484f9(0xd5)](_0xb11db6){const _0x55dfd6=_0x1484f9;var _0x195e15,_0x321152;const {memberID:_0x4dff92,selection:_0x17bc53}=_0xb11db6['data'],{sheetName:_0x212526,range:_0x23d753}=Ee['deserializeRangeWithSheet'](_0x17bc53),_0xd8d5ef={'name':(_0x321152=(_0x195e15=this[_0x55dfd6(0xf3)]['getMember'](this[_0x55dfd6(0x22e)],_0x4dff92))==null?void 0x0:_0x195e15[_0x55dfd6(0xb4)])!=null?_0x321152:_0x55dfd6(0x2d4),'range':this[_0x55dfd6(0x20a)](_0x212526,_0x23d753),'sheetID':_0x212526,'color':this[_0x55dfd6(0x17e)][_0x55dfd6(0x1ba)](_0x4dff92),'selection':_0x17bc53},_0x8cb2d0=this[_0x55dfd6(0x2e6)];_0x8cb2d0[_0x55dfd6(0x2df)](_0x4dff92,_0xd8d5ef),this[_0x55dfd6(0xae)]['next'](_0x8cb2d0);}[_0x1484f9(0x12a)](_0x288d9c){const _0x2e4361=_0x1484f9,{memberID:_0x3d7f7d}=_0x288d9c[_0x2e4361(0x70)],_0x556a33=this[_0x2e4361(0x2e6)];_0x556a33['delete'](_0x3d7f7d),this['_cursorInfo$'][_0x2e4361(0x16b)](_0x556a33);}[_0x1484f9(0x20a)](_0x3c1843,_0x28fa86){const _0xcc9401=_0x1484f9;var _0x1ea857,_0x3b9b67;const _0x507ede=(_0x3b9b67=(_0x1ea857=this[_0xcc9401(0x83)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x1ea857['getSheetBySheetId'](_0x3c1843))==null?void 0x0:_0x3b9b67[_0xcc9401(0x29f)]();return(_0x507ede==null?void 0x0:_0x507ede[_0xcc9401(0x1b0)](_0x718c3f=>a['Rectangle'][_0xcc9401(0x2d2)](_0x718c3f,_0x28fa86)))||_0x28fa86;}[_0x1484f9(0x271)](){const _0x32717f=_0x1484f9,_0x5c0eca=new a[(_0x32717f(0x2b4))](),_0x4a29e5=ot(),_0x13a5ca=()=>{const _0xcd09af=_0x32717f;_0x5c0eca[_0xcd09af(0x192)]();const _0x167adc=(_0x3c0e6f,_0x11bad3,_0x1c54d5,_0x130551)=>{const _0x2ded56=_0xcd09af;let _0x5795b4=[];switch(_0x3c0e6f['id']){case g['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x5795b4=g['handleDeleteRangeMoveLeft'](_0x3c0e6f,_0x130551);break;}case g[_0x2ded56(0x254)][_0x2ded56(0x84)]:{_0x5795b4=g[_0x2ded56(0x87)](_0x3c0e6f,_0x130551);break;}case g[_0x2ded56(0x254)][_0x2ded56(0x2cc)]:{_0x5795b4=g[_0x2ded56(0x15c)](_0x3c0e6f,_0x130551);break;}case g[_0x2ded56(0x254)][_0x2ded56(0x208)]:{_0x5795b4=g[_0x2ded56(0x22c)](_0x3c0e6f,_0x130551);break;}case g[_0x2ded56(0x254)][_0x2ded56(0xbc)]:{_0x5795b4=g[_0x2ded56(0x1d0)](_0x3c0e6f,_0x130551);break;}case g['EffectRefRangId']['InsertRowCommandId']:{_0x5795b4=g[_0x2ded56(0x1db)](_0x3c0e6f,_0x130551);break;}case g[_0x2ded56(0x254)][_0x2ded56(0x1a9)]:{_0x5795b4=g[_0x2ded56(0x18f)](_0x3c0e6f,_0x130551);break;}case g[_0x2ded56(0x254)][_0x2ded56(0x118)]:{_0x5795b4=g['handleIRemoveCol'](_0x3c0e6f,_0x130551);break;}case g['EffectRefRangId'][_0x2ded56(0x25a)]:{_0x5795b4=g['handleIRemoveRow'](_0x3c0e6f,_0x130551);break;}}const _0x365897=g['runRefRangeMutations'](_0x5795b4,_0x130551),_0x366b1c=this[_0x2ded56(0x2e6)][_0x2ded56(0x242)](_0x11bad3);if(_0x366b1c&&_0x365897){const _0x2fa55d={..._0x366b1c,'range':_0x365897};this['cursorInfo'][_0x2ded56(0x2df)](_0x11bad3,_0x2fa55d),_0x4a29e5(()=>{const _0x551474=_0x2ded56,_0xe4264c=this[_0x551474(0x221)][_0x551474(0x282)](_0x365897,_0x2871b3=>(_0xe4264c['dispose'](),_0x167adc(_0x2871b3,_0x11bad3,_0x1c54d5,_0x365897)));_0x5c0eca[_0x551474(0xa7)](_0xe4264c);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0xcd09af(0x19b)]((_0x17cfbc,_0x474ba6)=>{const _0x3827b3=_0xcd09af,{range:_0x57aeca,sheetID:_0x261781}=_0x17cfbc,_0x31d329=this['_refRangeService'][_0x3827b3(0x282)](_0x57aeca,_0x5bcecd=>(_0x31d329[_0x3827b3(0x192)](),_0x167adc(_0x5bcecd,_0x474ba6,_0x261781,_0x57aeca)));_0x5c0eca[_0x3827b3(0xa7)](_0x31d329);});};this[_0x32717f(0x161)](a['toDisposable'](this['_cursorInfo$'][_0x32717f(0x2d1)](()=>{_0x13a5ca();})));}['_toggleOnline'](){const _0x11b37d=_0x1484f9;var _0x57dbad,_0x30cb4a;if(this[_0x11b37d(0x175)]=!0x0,((_0x57dbad=this[_0x11b37d(0x83)][_0x11b37d(0x13a)]())==null?void 0x0:_0x57dbad[_0x11b37d(0x170)]())!==this[_0x11b37d(0x22e)])return;const _0x2d2f2f=(_0x30cb4a=this[_0x11b37d(0x297)][_0x11b37d(0x242)](g['SheetsSelectionsService'])[_0x11b37d(0xd1)]())==null?void 0x0:_0x30cb4a[0x0],_0x4d8ac5=this[_0x11b37d(0x83)][_0x11b37d(0x90)](a[_0x11b37d(0x2c5)][_0x11b37d(0x1bb)])[_0x11b37d(0xb6)]();_0x2d2f2f&&_0x4d8ac5&&this['_updateLocalCursor'](_0x4d8ac5['getSheetId'](),_0x2d2f2f);}[_0x1484f9(0x1ca)](){const _0x330418=_0x1484f9;this[_0x330418(0x175)]=!0x1;}};Se=it([A(0x2,a[_0x1484f9(0x252)](a[_0x1484f9(0xa4)])),A(0x3,a['Inject'](me)),A(0x4,a[_0x1484f9(0x252)](u['MemberService'])),A(0x5,a['IUniverInstanceService']),A(0x6,a[_0x1484f9(0x1af)]),A(0x7,a[_0x1484f9(0x252)](g[_0x1484f9(0x253)]))],Se);var at=Object[_0x1484f9(0x21b)],ct=(_0xd9cfe,_0x4e975a,_0x4991cc,_0x429048)=>{for(var _0x2ee2b6=_0x429048>0x1?void 0x0:_0x429048?at(_0x4e975a,_0x4991cc):_0x4e975a,_0x439e5c=_0xd9cfe['length']-0x1,_0x213fc0;_0x439e5c>=0x0;_0x439e5c--)(_0x213fc0=_0xd9cfe[_0x439e5c])&&(_0x2ee2b6=_0x213fc0(_0x2ee2b6)||_0x2ee2b6);return _0x2ee2b6;},ie=(_0x5d5d84,_0x496c24)=>(_0x2a97c2,_0x201036)=>_0x496c24(_0x2a97c2,_0x201036,_0x5d5d84);let x=class extends a['RxDisposable']{constructor(_0x16fd00,_0x2571f4,_0x5937e3){const _0x291f97=_0x1484f9;super(),h(this,_0x291f97(0x218),new Map()),h(this,_0x291f97(0x2ee),new d['Subject']()),(this[_0x291f97(0x83)]=_0x16fd00,this[_0x291f97(0x297)]=_0x2571f4,this[_0x291f97(0x2a8)]=_0x5937e3,this[_0x291f97(0x1df)]());}[_0x1484f9(0x192)](){const _0xad6d96=_0x1484f9;super[_0xad6d96(0x192)](),this[_0xad6d96(0x2ee)]['complete'](),this[_0xad6d96(0x218)]['forEach'](_0x5f2942=>_0x5f2942[_0xad6d96(0x192)]());}[_0x1484f9(0xc5)](_0x33091e){const _0x23cbcf=_0x1484f9;return this[_0x23cbcf(0x218)][_0x23cbcf(0x17c)](_0x33091e)?this[_0x23cbcf(0x218)]['get'](_0x33091e)[_0x23cbcf(0x6e)]:this['_entityInit$'][_0x23cbcf(0xe6)](d[_0x23cbcf(0x19f)](_0x5ece33=>_0x5ece33[_0x23cbcf(0x22e)]===_0x33091e),d['switchMap'](_0x2b5f38=>_0x2b5f38[_0x23cbcf(0x6e)]));}['_init'](){const _0x3be1e3=_0x1484f9;this[_0x3be1e3(0x83)][_0x3be1e3(0x273)](a[_0x3be1e3(0x2c5)]['UNIVER_SHEET'])[_0x3be1e3(0xe6)](d[_0x3be1e3(0xbb)](this[_0x3be1e3(0x1de)]))[_0x3be1e3(0x2d1)](async _0x3d103f=>{const _0x3eafa7=_0x3be1e3,_0x39c8c0=_0x3d103f[_0x3eafa7(0x170)](),_0x3f29c0=await this[_0x3eafa7(0x26d)](_0x39c8c0);this['_entityInit$'][_0x3eafa7(0x16b)](_0x3f29c0),this[_0x3eafa7(0x218)][_0x3eafa7(0x2df)](_0x39c8c0,_0x3f29c0);}),this['_univerInstanceService'][_0x3be1e3(0x273)](a[_0x3be1e3(0x2c5)][_0x3be1e3(0x11e)])[_0x3be1e3(0xe6)](d[_0x3be1e3(0xbb)](this[_0x3be1e3(0x1de)]))[_0x3be1e3(0xe6)](d[_0x3be1e3(0x19f)](_0x376a33=>!_0x376a33[_0x3be1e3(0x170)]()[_0x3be1e3(0x215)]('__')))[_0x3be1e3(0x2d1)](async _0x4acc4c=>{const _0x434267=_0x3be1e3,_0x252f7c=_0x4acc4c['getUnitId'](),_0x2e0836=await this[_0x434267(0x22b)](_0x252f7c);this[_0x434267(0x2ee)][_0x434267(0x16b)](_0x2e0836),this[_0x434267(0x218)][_0x434267(0x2df)](_0x252f7c,_0x2e0836);}),d['merge'](this['_univerInstanceService'][_0x3be1e3(0x247)](a['UniverInstanceType'][_0x3be1e3(0x11e)]),this[_0x3be1e3(0x83)][_0x3be1e3(0x247)](a['UniverInstanceType'][_0x3be1e3(0x1bb)]))[_0x3be1e3(0xe6)](d[_0x3be1e3(0xbb)](this[_0x3be1e3(0x1de)]))[_0x3be1e3(0x2d1)](_0x8d1c03=>{const _0x583ed5=_0x3be1e3,_0x3df079=_0x8d1c03['getUnitId'](),_0x4564e6=this['_entities'][_0x583ed5(0x242)](_0x3df079);_0x4564e6&&(_0x4564e6[_0x583ed5(0x192)](),this[_0x583ed5(0x218)][_0x583ed5(0x80)](_0x3df079));});}async[_0x1484f9(0x26d)](_0x4b1c0a){const _0x219aa5=_0x1484f9,_0x21204b=await this['_collabSessionService'][_0x219aa5(0x21f)](_0x4b1c0a),_0x556c99=this[_0x219aa5(0x297)][_0x219aa5(0x1d5)](Se,_0x4b1c0a,_0x21204b);return _0x556c99['init'](),_0x556c99;}async[_0x1484f9(0x22b)](_0x19fc9f){const _0x456068=_0x1484f9,_0x47b91e=await this[_0x456068(0x2a8)][_0x456068(0x21f)](_0x19fc9f),_0xb16f4=this[_0x456068(0x297)][_0x456068(0x1d5)](fe,_0x19fc9f,_0x47b91e);return _0xb16f4['init'](),_0xb16f4;}};x=ct([ie(0x0,a[_0x1484f9(0x1a1)]),ie(0x1,a[_0x1484f9(0x252)](a['Injector'])),ie(0x2,a[_0x1484f9(0x252)](u[_0x1484f9(0x26f)]))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x4a43ae,_0x4bc6a){const _0x10d0b7=_0x1484f9;let {radius:_0x1802ee,width:_0x300659,height:_0x3fedc9}=_0x4bc6a;_0x1802ee=_0x1802ee!=null?_0x1802ee:0x0,_0x300659=_0x300659!=null?_0x300659:0x1e,_0x3fedc9=_0x3fedc9!=null?_0x3fedc9:0x1e;let _0x36110f=0x0,_0x3c3cd4=0x0,_0x27adcb=0x0;_0x36110f=_0x3c3cd4=_0x27adcb=Math[_0x10d0b7(0xd7)](_0x1802ee,_0x300659/0x2,_0x3fedc9/0x2),_0x4a43ae[_0x10d0b7(0x69)](),_0x4a43ae[_0x10d0b7(0x186)](_0x36110f,0x0),_0x4a43ae[_0x10d0b7(0x114)](_0x300659-_0x3c3cd4,0x0),_0x4a43ae[_0x10d0b7(0x127)](_0x300659-_0x3c3cd4,_0x3c3cd4,_0x3c3cd4,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a43ae['lineTo'](_0x300659,_0x3fedc9-_0x27adcb),_0x4a43ae[_0x10d0b7(0x127)](_0x300659-_0x27adcb,_0x3fedc9-_0x27adcb,_0x27adcb,0x0,Math['PI']/0x2,!0x1),_0x4a43ae[_0x10d0b7(0x114)](0x0,_0x3fedc9),_0x4a43ae[_0x10d0b7(0x114)](0x0,_0x36110f),_0x4a43ae[_0x10d0b7(0x127)](_0x36110f,_0x36110f,_0x36110f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a43ae[_0x10d0b7(0x1f6)](),_0x4bc6a[_0x10d0b7(0x1d2)]&&(_0x4a43ae[_0x10d0b7(0x156)](),_0x4a43ae[_0x10d0b7(0x78)]=_0x4bc6a[_0x10d0b7(0x1d2)],_0x4bc6a[_0x10d0b7(0x1cf)]==='evenodd'?_0x4a43ae['fill'](_0x10d0b7(0x1b8)):_0x4a43ae[_0x10d0b7(0x1d2)](),_0x4a43ae[_0x10d0b7(0x162)]());}class ee extends p[_0x1484f9(0x185)]{constructor(_0x127b89,_0x60cc35){const _0x23fdc4=_0x1484f9;super(_0x127b89,_0x60cc35),h(this,_0x23fdc4(0x2b0)),h(this,'text'),(this[_0x23fdc4(0x2b0)]=_0x60cc35==null?void 0x0:_0x60cc35[_0x23fdc4(0x2b0)],this[_0x23fdc4(0x26a)]=_0x60cc35==null?void 0x0:_0x60cc35[_0x23fdc4(0x26a)]);}static[_0x1484f9(0xb8)](_0x32e6f1,_0xb3d227){const _0x91cada=_0x1484f9,{text:_0x5997a,color:_0x408bb4}=_0xb3d227;_0x32e6f1[_0x91cada(0x156)](),_0x32e6f1[_0x91cada(0x122)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x512f73=_0x32e6f1[_0x91cada(0x74)](_0x5997a)[_0x91cada(0xb3)],_0x3837c4=Math[_0x91cada(0xd7)](_0x512f73+0x2*ne,Re);_t(_0x32e6f1,{'height':K,'radius':0x4,'width':_0x3837c4,'fill':_0x408bb4}),_0x32e6f1[_0x91cada(0x78)]=_0x91cada(0x1f0);const _0x44e474=ne,_0x52078a=K-lt,_0x15e8e4=Re-0x2*ne;if(_0x512f73>_0x15e8e4){let _0xab26e2='',_0x490a83=0x0;for(const _0x45cb40 of _0x5997a){const _0x4f326a=_0x32e6f1['measureText'](_0x45cb40)[_0x91cada(0xb3)];if(_0x490a83+_0x4f326a<=_0x15e8e4-_0x32e6f1[_0x91cada(0x74)](_0x91cada(0x73))[_0x91cada(0xb3)])_0xab26e2+=_0x45cb40,_0x490a83+=_0x4f326a;else{_0xab26e2+=_0x91cada(0x73);break;}}_0x32e6f1[_0x91cada(0x1d3)](_0xab26e2,_0x44e474,_0x52078a);}else _0x32e6f1['fillText'](_0x5997a,_0x44e474,_0x52078a);_0x32e6f1['restore']();}[_0x1484f9(0x296)](_0x4ea584){const _0x2128c1=_0x1484f9;ee[_0x2128c1(0xb8)](_0x4ea584,this);}}const re=_0x1484f9(0xda),ht=_0x1484f9(0xe9),ut=_0x1484f9(0x21c),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x1484f9(0x195);class De{constructor(_0x1ecbc9,_0x20c2ca,_0x4120d1,_0x13cd63){const _0x1171ce=_0x1484f9;h(this,'_shapes',[]),h(this,_0x1171ce(0x27e),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x1171ce(0xa5),null),h(this,_0x1171ce(0x223),null),(this['_cursor']=_0x1ecbc9,this[_0x1171ce(0x29e)]=_0x20c2ca,this[_0x1171ce(0x19d)]=_0x4120d1,this[_0x1171ce(0x2a9)]=_0x13cd63,this[_0x1171ce(0x1a4)]());}set[_0x1484f9(0x174)](_0x53bba8){const _0x34f64a=_0x1484f9;_0x53bba8?(this[_0x34f64a(0xc4)]&&this['_anchorDot'][_0x34f64a(0x294)](),this[_0x34f64a(0x20c)]&&this[_0x34f64a(0x20c)][_0x34f64a(0x1d8)]()):(this[_0x34f64a(0xc4)]&&this[_0x34f64a(0xc4)][_0x34f64a(0x1d8)](),this[_0x34f64a(0x20c)]&&this[_0x34f64a(0x20c)][_0x34f64a(0x294)]());}['dispose'](){const _0x5522cb=_0x1484f9;for(const _0x1334ac of this[_0x5522cb(0x139)])_0x1334ac[_0x5522cb(0x192)]();this['_textBubble']&&this[_0x5522cb(0x20c)][_0x5522cb(0x192)](),this['_anchorDot']&&this[_0x5522cb(0xc4)][_0x5522cb(0x192)](),this[_0x5522cb(0x27e)]&&this[_0x5522cb(0x27e)][_0x5522cb(0x192)](),this[_0x5522cb(0x223)]&&this[_0x5522cb(0x223)]();}['_render'](){const _0x1dbb25=_0x1484f9;var _0x547eb3;const {_docSkeleton:_0x513199,_document:_0x249694}=this,{color:_0x4f9c75,name:_0x17755c,ranges:_0xb532f7}=this[_0x1dbb25(0x2de)],_0xd87986=_0x249694[_0x1dbb25(0x9e)](),{docsLeft:_0x30b162,docsTop:_0x1c1b58}=_0xd87986,_0x472604=new b[(_0x1dbb25(0xfe))](_0xd87986,_0x513199);for(const {startOffset:_0x43436b,endOffset:_0x292332,rangeType:_0x3a9735,segmentId:_0x3c245e,segmentPage:_0x1eb7ce,collapsed:_0x168455,isActive:_0x2dddcf}of _0xb532f7){const _0x2ad398=_0x513199['findNodePositionByCharIndex'](_0x43436b,!0x0,_0x3c245e,_0x1eb7ce);let _0x100164=_0x513199['findNodePositionByCharIndex'](_0x292332,!0x0,_0x3c245e,_0x1eb7ce);if(_0x100164==null&&(_0x100164=_0x513199[_0x1dbb25(0x267)](_0x292332-0x1,!0x1,_0x3c245e,_0x1eb7ce)),_0x2dddcf){const {contentBoxPointGroup:_0x126f35}=_0x472604[_0x1dbb25(0xca)](_0x100164,_0x100164);if(_0x126f35[_0x1dbb25(0x1fe)]===0x0)continue;this['_drawAnchor'](_0x4f9c75,_0x126f35,_0x30b162,_0x1c1b58,_0x17755c),this[_0x1dbb25(0x223)]=this[_0x1dbb25(0xe3)]();}if(_0x2ad398&&_0x100164){if(_0x3a9735===a[_0x1dbb25(0x157)][_0x1dbb25(0x110)]){const _0x3c5db4=new b[(_0x1dbb25(0x68))](_0xd87986,_0x513199),{pointGroup:_0xa5e4e4}=(_0x547eb3=_0x3c5db4[_0x1dbb25(0xca)](_0x2ad398,_0x100164))!=null?_0x547eb3:{};if(_0xa5e4e4==null||_0xa5e4e4[_0x1dbb25(0x1fe)]===0x0)continue;this[_0x1dbb25(0x27d)](_0x4f9c75,_0xa5e4e4,_0x30b162,_0x1c1b58);}else{if(!_0x168455){const {borderBoxPointGroup:_0x1360a7}=_0x472604[_0x1dbb25(0xca)](_0x2ad398,_0x100164);if(_0x1360a7[_0x1dbb25(0x1fe)]===0x0)continue;this[_0x1dbb25(0xee)](_0x4f9c75,_0x1360a7,_0x30b162,_0x1c1b58);}}}}}[_0x1484f9(0x17b)](_0x59e092,_0x4452ca,_0x106393,_0x3407fb,_0x5c3708){const _0xbce94a=_0x1484f9,_0x352cd6=this[_0xbce94a(0x1ab)](_0x4452ca),{left:_0x24b488,top:_0x49f568,height:_0x3838e3}=_0x352cd6,_0x13e7a2=this['_getScale'](),_0x7f0ea=ft/_0x13e7a2,_0x34ea4b=new p[(_0xbce94a(0x128))](re+a[_0xbce94a(0x25f)][_0xbce94a(0xef)](k),{'left':_0x24b488+_0x106393-_0x7f0ea,'top':_0x49f568+_0x3407fb,'height':_0x3838e3,'width':dt,'fill':_0x59e092||p[_0xbce94a(0x243)](a[_0xbce94a(0x255)][_0xbce94a(0x2b3)],0x0),'strokeWidth':_0x7f0ea,'stroke':St,'evented':!0x0});this[_0xbce94a(0x27e)]=_0x34ea4b,this['_scene']['addObject'](_0x34ea4b,b[_0xbce94a(0x23e)]);const _0x4cfbbf=new p[(_0xbce94a(0x128))](re+a['Tools'][_0xbce94a(0xef)](k),{'left':_0x24b488+_0x106393-_0x7f0ea,'top':_0x49f568+_0x3407fb-oe/0x2,'height':oe,'width':oe,'fill':_0x59e092||p[_0xbce94a(0x243)](a[_0xbce94a(0x255)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x59e092||p[_0xbce94a(0x243)](a[_0xbce94a(0x255)]['black'],0x0),'evented':!0x1});this[_0xbce94a(0xc4)]=_0x4cfbbf,this['_scene']['addObject'](_0x4cfbbf,b['TEXT_RANGE_LAYER_INDEX']);const _0x2f1c5f=new ee(re+a[_0xbce94a(0x25f)][_0xbce94a(0xef)](k),{'left':_0x24b488+_0x106393-_0x7f0ea,'top':_0x49f568+_0x3407fb-K,'text':_0x5c3708,'color':_0x59e092});this[_0xbce94a(0x20c)]=_0x2f1c5f,this['_scene']['addObject'](_0x2f1c5f,b[_0xbce94a(0x23e)]),this[_0xbce94a(0x174)]=!0x1;}[_0x1484f9(0xe3)](){const _0x364d08=_0x1484f9,_0x400587=this[_0x364d08(0x27e)][_0x364d08(0xde)][_0x364d08(0x2ec)](()=>{const _0x14dffa=_0x364d08;this[_0x14dffa(0x174)]=!0x0;}),_0x28eada=this[_0x364d08(0x27e)]['onPointerLeave$'][_0x364d08(0x2ec)](()=>{const _0x569e74=_0x364d08;this[_0x569e74(0xa5)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x2fafee=_0x569e74;this[_0x2fafee(0x174)]=!0x1;},0x7d0);});return()=>{const _0x1756dc=_0x364d08;_0x400587[_0x1756dc(0x23b)](),_0x28eada['unsubscribe']();};}[_0x1484f9(0xee)](_0x3559aa,_0x47fb8c,_0x51f264,_0x22dc02){const _0x1bc60e=_0x1484f9,_0xb57d0b=new a[(_0x1bc60e(0x28a))](_0x3559aa)[_0x1bc60e(0x148)](0.2)[_0x1bc60e(0x135)](),_0x5b1e9d=new p[(_0x1bc60e(0x248))](ht+a[_0x1bc60e(0x25f)][_0x1bc60e(0xef)](k),{'pointsGroup':_0x47fb8c,'fill':_0xb57d0b||p[_0x1bc60e(0x243)](a[_0x1bc60e(0x255)][_0x1bc60e(0x2b3)],0.2),'left':_0x51f264,'top':_0x22dc02,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1bc60e(0x139)][_0x1bc60e(0x23f)](_0x5b1e9d),this['_scene']['addObject'](_0x5b1e9d,b[_0x1bc60e(0x23e)]);}[_0x1484f9(0x27d)](_0x228555,_0x812d30,_0x15d7c3,_0x545148){const _0x2437cf=_0x1484f9,_0x25da42=new a['ColorKit'](_0x228555)[_0x2437cf(0x148)](0.2)[_0x2437cf(0x135)](),_0x8de10e=new p['RegularPolygon'](ut+a[_0x2437cf(0x25f)][_0x2437cf(0xef)](k),{'pointsGroup':_0x812d30,'fill':_0x25da42||p[_0x2437cf(0x243)](a['COLORS'][_0x2437cf(0x2b3)],0.2),'left':_0x15d7c3,'top':_0x545148,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2437cf(0x139)][_0x2437cf(0x23f)](_0x8de10e),this[_0x2437cf(0x29e)][_0x2437cf(0xf0)](_0x8de10e,b[_0x2437cf(0x23e)]);}['_getAnchorBounding'](_0x5d7570){const _0x46305a=_0x5d7570[0x0],_0x13e362=_0x46305a[0x0],_0x2ddf97=_0x46305a[0x2],{x:_0x5e598b,y:_0x4c98dd}=_0x13e362,{x:_0x130f59,y:_0x4cc594}=_0x2ddf97;return{'left':_0x5e598b,'top':_0x4c98dd,'width':_0x130f59-_0x5e598b,'height':_0x4cc594-_0x4c98dd};}[_0x1484f9(0x28b)](){const _0x8faa03=_0x1484f9,{scaleX:_0x5a3af6,scaleY:_0x1a2049}=this['_scene'][_0x8faa03(0x79)]();return Math[_0x8faa03(0x23d)](_0x5a3af6,_0x1a2049);}}var It=Object[_0x1484f9(0x21b)],vt=(_0x3b6dc8,_0x511967,_0x2740f1,_0x24254a)=>{const _0x5728e9=_0x1484f9;for(var _0x546628=_0x24254a>0x1?void 0x0:_0x24254a?It(_0x511967,_0x2740f1):_0x511967,_0xd45db2=_0x3b6dc8[_0x5728e9(0x1fe)]-0x1,_0x1c50ef;_0xd45db2>=0x0;_0xd45db2--)(_0x1c50ef=_0x3b6dc8[_0xd45db2])&&(_0x546628=_0x1c50ef(_0x546628)||_0x546628);return _0x546628;},W=(_0x43abf5,_0x1d69df)=>(_0x2ec6a5,_0x591326)=>_0x1d69df(_0x2ec6a5,_0x591326,_0x43abf5);let Ie=class extends a[_0x1484f9(0x1fc)]{constructor(_0x2c7d5c,_0x122165,_0x19bd5f,_0x478e8f,_0x55af2d){const _0x4752da=_0x1484f9;super(),h(this,'_cursorShapes',[]),h(this,_0x4752da(0x29c),[]),(this[_0x4752da(0x130)]=_0x2c7d5c,this[_0x4752da(0x9a)]=_0x122165,this['_collabCursorController']=_0x19bd5f,this[_0x4752da(0x25d)]=_0x478e8f,this[_0x4752da(0x2a3)]=_0x55af2d,this[_0x4752da(0x1df)]());}[_0x1484f9(0x1df)](){const _0x4f14a6=_0x1484f9,_0xa2dab3=this[_0x4f14a6(0x130)][_0x4f14a6(0x7f)],_0x2353eb=this[_0x4f14a6(0x9a)];this['disposeWithMe'](d[_0x4f14a6(0x115)]([this[_0x4f14a6(0xfd)][_0x4f14a6(0xc5)](_0xa2dab3),this['_themeService'][_0x4f14a6(0x10a)]])[_0x4f14a6(0xe6)]($[_0x4f14a6(0x238)](([_0x5c07b1,_0x599945])=>({'skeleton':_0x2353eb['getSkeleton'](),'cursors':[..._0x5c07b1['values']()]['flatMap'](_0x33267c=>({..._0x33267c,'color':this[_0x4f14a6(0x2a3)]['getColorFromTheme'](_0x33267c[_0x4f14a6(0x2b0)])}))})))[_0x4f14a6(0x2d1)](_0x46c536=>{const _0x95da09=_0x4f14a6;if(this['_removeCollabCursors'](),_0x46c536){const {skeleton:_0x47be73,cursors:_0x1a2fc1}=_0x46c536;this[_0x95da09(0x1b3)](_0x47be73,_0x1a2fc1);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x1484f9(0x1b3)](_0x708ec5,_0x114ddd){const _0x649199=_0x1484f9,{scene:_0x33f4c7,mainComponent:_0x30f759}=this[_0x649199(0x130)],_0xbbcae5=_0x114ddd[_0x649199(0x238)](_0x446bba=>new De(_0x446bba,_0x33f4c7,_0x708ec5,_0x30f759));this[_0x649199(0x16d)]=_0xbbcae5,this[_0x649199(0x29c)]=_0x114ddd;}[_0x1484f9(0x113)](){const _0x44a752=_0x1484f9;this[_0x44a752(0xa8)]();const {scene:_0x156e2b,mainComponent:_0x2c4b66}=this[_0x44a752(0x130)],_0x532976=this[_0x44a752(0x9a)][_0x44a752(0x2a7)](),_0x533a66=this[_0x44a752(0x29c)]['map'](_0x450822=>new De(_0x450822,_0x156e2b,_0x532976,_0x2c4b66));this[_0x44a752(0x16d)]=_0x533a66;}[_0x1484f9(0xa8)](){const _0x1774b0=_0x1484f9;this['_cursorShapes'][_0x1774b0(0x19b)](_0x2d289b=>_0x2d289b[_0x1774b0(0x192)]()),this[_0x1774b0(0x16d)]=[];}[_0x1484f9(0xe2)](){const _0x6d9d81=_0x1484f9,_0x399c1=[b[_0x6d9d81(0x96)]['id']];this[_0x6d9d81(0x161)](this[_0x6d9d81(0x25d)]['onCommandExecuted'](_0x470f15=>{const _0x311561=_0x6d9d81;_0x399c1[_0x311561(0x109)](_0x470f15['id'])&&_0x470f15['params'][_0x311561(0x7f)]===this[_0x311561(0x130)][_0x311561(0x7f)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x1dedc1=_0x1484f9;this[_0x1dedc1(0x161)](a[_0x1dedc1(0x2b1)](this[_0x1dedc1(0x130)][_0x1dedc1(0x7d)][_0x1dedc1(0x229)])[_0x1dedc1(0xe6)]($[_0x1dedc1(0x19f)](_0x16a227=>_0x16a227[_0x1dedc1(0x1b9)]===p[_0x1dedc1(0x9b)][_0x1dedc1(0x196)]),$[_0x1dedc1(0x10e)](0x10))[_0x1dedc1(0x2d1)](()=>{const _0xb6921c=_0x1dedc1;this[_0xb6921c(0x113)]();}));}};Ie=vt([W(0x1,a[_0x1484f9(0x252)](Y['DocSkeletonManagerService'])),W(0x2,a['Inject'](x)),W(0x3,a[_0x1484f9(0x1af)]),W(0x4,a[_0x1484f9(0x252)](a[_0x1484f9(0x180)]))],Ie);const gt=0x1,mt=1.5;class Pe extends p[_0x1484f9(0x185)]{constructor(_0x483ad0,_0x145f39){const _0x424cf0=_0x1484f9;super(_0x483ad0,_0x145f39),h(this,'_color'),h(this,_0x424cf0(0xfa),!0x1),h(this,_0x424cf0(0x213)),h(this,_0x424cf0(0x26b),''),h(this,_0x424cf0(0x276),_0x424cf0(0x2dd)),h(this,_0x424cf0(0x24a)),(_0x145f39&&this[_0x424cf0(0xfb)](_0x145f39),this[_0x424cf0(0xde)]['subscribeEvent'](()=>this[_0x424cf0(0xfb)]({'hovered':!0x0})),this['onPointerLeave$'][_0x424cf0(0x2ec)](()=>this[_0x424cf0(0xfb)]({'hovered':!0x1})));}[_0x1484f9(0xfb)](_0x41522c){const _0x28b244=_0x1484f9;var _0xfb7b04,_0xec2041,_0x558a36,_0x173295,_0x412bb8,_0x387f57;this[_0x28b244(0x292)]=(_0xfb7b04=_0x41522c['color'])!=null?_0xfb7b04:this[_0x28b244(0x292)],this[_0x28b244(0xfa)]=(_0xec2041=_0x41522c['hovered'])!=null?_0xec2041:this[_0x28b244(0xfa)],this['_range']=(_0x558a36=_0x41522c[_0x28b244(0x89)])!=null?_0x558a36:this[_0x28b244(0x213)],this['_name']=(_0x173295=_0x41522c[_0x28b244(0xb4)])!=null?_0x173295:this['_name'],this[_0x28b244(0x276)]=(_0x412bb8=_0x41522c['labelPosition'])!=null?_0x412bb8:this[_0x28b244(0x276)],this[_0x28b244(0x24a)]=(_0x387f57=_0x41522c[_0x28b244(0x1b2)])!=null?_0x387f57:this[_0x28b244(0x24a)],this[_0x28b244(0x234)]({'width':_0x41522c[_0x28b244(0xb3)],'height':_0x41522c[_0x28b244(0x1b1)]});}[_0x1484f9(0x1d9)](_0x4c661c){const _0x460986=_0x1484f9,{row:_0xb17f4c,column:_0x3b6291}=_0x4c661c;if(_0xb17f4c>=this[_0x460986(0x213)][_0x460986(0x176)]&&_0xb17f4c<=this[_0x460986(0x213)][_0x460986(0x227)]&&_0x3b6291>=this[_0x460986(0x213)][_0x460986(0x134)]&&_0x3b6291<=this[_0x460986(0x213)]['endColumn']){this[_0x460986(0xfb)]({'hovered':!0x0});return;}this[_0x460986(0xfb)]({'hovered':!0x1});}[_0x1484f9(0x217)](_0x35b554){return!0x1;}[_0x1484f9(0x296)](_0x2df0da){const _0x308c90=_0x1484f9;p[_0x308c90(0x128)]['drawWith'](_0x2df0da,{'width':this[_0x308c90(0xb3)],'height':this['height'],'strokeWidth':mt,'stroke':this[_0x308c90(0x292)],'evented':!0x1,'fill':this[_0x308c90(0x24a)]}),this[_0x308c90(0xfa)]&&(_0x2df0da[_0x308c90(0x156)](),_0x2df0da['transform'](0x1,0x0,0x0,0x1,this[_0x308c90(0xb3)],this[_0x308c90(0x276)]===_0x308c90(0x2f0)?0x0:-0x14),ee[_0x308c90(0xb8)](_0x2df0da,{'text':this['_name'],'color':this[_0x308c90(0x292)]}),_0x2df0da[_0x308c90(0x162)]());}}var Ct=Object[_0x1484f9(0x21b)],pt=(_0x31e0bf,_0x483454,_0x519751,_0x3bd4de)=>{for(var _0x46ffb2=_0x3bd4de>0x1?void 0x0:_0x3bd4de?Ct(_0x483454,_0x519751):_0x483454,_0xef963b=_0x31e0bf['length']-0x1,_0x17cd3a;_0xef963b>=0x0;_0xef963b--)(_0x17cd3a=_0x31e0bf[_0xef963b])&&(_0x46ffb2=_0x17cd3a(_0x46ffb2)||_0x46ffb2);return _0x46ffb2;},ae=(_0xcc908b,_0x5d11de)=>(_0x2bf243,_0x1d4762)=>_0x5d11de(_0x2bf243,_0x1d4762,_0xcc908b);const bt=0x1389;let ve=class extends a['RxDisposable']{constructor(_0x4aec67,_0x25dd11,_0x1d93e1,_0x4ac78e){const _0x285521=_0x1484f9;super(),h(this,'_cursors',new Set()),h(this,_0x285521(0x189),null),(this[_0x285521(0x130)]=_0x4aec67,this['_sheetSkeletonManagerService']=_0x25dd11,this[_0x285521(0xfd)]=_0x1d93e1,this['_themeService']=_0x4ac78e,this[_0x285521(0x1df)]());}[_0x1484f9(0x1df)](){const _0x423e48=_0x1484f9;this['_sheetSkeletonManagerService'][_0x423e48(0x2e3)]['pipe']($[_0x423e48(0xbb)](this['dispose$']),$[_0x423e48(0x20e)](_0x4a26c3=>{const _0x2f8743=_0x423e48;if(_0x4a26c3){const _0x7895d4=_0x4a26c3[_0x2f8743(0xc7)];return d['combineLatest'](this[_0x2f8743(0xfd)][_0x2f8743(0xc5)](this['_context'][_0x2f8743(0x7f)]),this['_themeService'][_0x2f8743(0x10a)])[_0x2f8743(0xe6)]($['map'](([_0x17f6f3,_0xe2cc0e])=>{const _0x396829=_0x2f8743,_0x11b8d7=new Map();return _0x17f6f3[_0x396829(0x19b)]((_0x40b4ea,_0x56c924)=>{const _0x43ee61=_0x396829;if(_0x40b4ea['sheetID']===_0x7895d4){const _0x1627e9={..._0x40b4ea};_0x1627e9[_0x43ee61(0x2b0)]=this['_themeService'][_0x43ee61(0x2b8)](_0x40b4ea[_0x43ee61(0x2b0)]),_0x11b8d7['set'](_0x56c924,_0x1627e9);}}),{'skeleton':_0x4a26c3,'cursors':_0x11b8d7};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x423e48(0x2d1)](({skeleton:_0x5bc3e9,cursors:_0x2b55ee})=>{const _0x4a283d=_0x423e48;this['_removeCollabCursors'](),_0x5bc3e9&&this[_0x4a283d(0x1b3)](_0x5bc3e9,_0x2b55ee);}),this[_0x423e48(0xd8)]['currentSkeleton$'][_0x423e48(0x2d1)](_0x56c1bd=>{const _0x5ef2a1=_0x423e48;if(_0x56c1bd==null)return;const {skeleton:_0x220ccf}=_0x56c1bd,{scene:_0x32a56f}=this[_0x5ef2a1(0x130)];_0x32a56f[_0x5ef2a1(0x105)][_0x5ef2a1(0x2ec)](a[_0x5ef2a1(0x178)](_0x283106=>{const _0xa5b53f=_0x5ef2a1;var _0x1193ba,_0x544f84;const {offsetX:_0x33d5fc,offsetY:_0x561232}=_0x283106,{x:_0x245098,y:_0x3c117f}=_0x32a56f['getRelativeToViewportCoord'](p[_0xa5b53f(0xfc)][_0xa5b53f(0x1b4)]([_0x33d5fc,_0x561232])),{scaleX:_0x45c50c,scaleY:_0x5bbec7}=_0x32a56f[_0xa5b53f(0x79)](),_0x437933=_0x32a56f[_0xa5b53f(0x2d9)](p[_0xa5b53f(0x147)][_0xa5b53f(0x2e2)]),_0x109a94=_0x32a56f['getVpScrollXYInfoByPosToVp'](p[_0xa5b53f(0xfc)][_0xa5b53f(0x1b4)]([_0x245098,_0x3c117f]),_0x437933),_0x33ebab=_0x220ccf[_0xa5b53f(0x6c)](_0x33d5fc,_0x561232,_0x45c50c,_0x5bbec7,_0x109a94);((_0x1193ba=this['_lastPointer'])==null?void 0x0:_0x1193ba[_0xa5b53f(0x152)])===_0x33ebab[_0xa5b53f(0x152)]&&((_0x544f84=this[_0xa5b53f(0x189)])==null?void 0x0:_0x544f84[_0xa5b53f(0x15a)])===_0x33ebab[_0xa5b53f(0x15a)]||this['_cursors'][_0xa5b53f(0x19b)](_0x2b36a2=>{const _0x362669=_0xa5b53f;_0x2b36a2[_0x362669(0x1d9)](_0x33ebab);});},0x64));});}[_0x1484f9(0x1b3)](_0x25a8f5,_0x5e4d39){const _0x4f7e9d=_0x1484f9;var _0x4ea011;const _0x5a455b=(_0x4ea011=this[_0x4f7e9d(0xd8)][_0x4f7e9d(0x85)]())==null?void 0x0:_0x4ea011[_0x4f7e9d(0x9c)];if(!_0x5a455b)return;const _0x28adb1=this[_0x4f7e9d(0x75)]();if(!_0x28adb1)return;this['_cursors'][_0x4f7e9d(0x19b)](_0x58f40e=>{const _0x47a9ff=_0x4f7e9d;_0x58f40e[_0x47a9ff(0x1ee)]();});const {scene:_0x40c27c}=_0x28adb1,_0x1a8591=Et(Array[_0x4f7e9d(0x76)](_0x5e4d39[_0x4f7e9d(0x211)]()))[_0x4f7e9d(0x238)](_0x11bcf7=>{const _0x48411b=_0x4f7e9d,{color:_0x100fa7,range:_0xe79916,name:_0x21035c,selection:_0x4c14bd,sheetID:_0x1cbbd5}=_0x11bcf7,{startColumn:_0x2479e0,startRow:_0x28d5f4,endColumn:_0x3df981,endRow:_0x443422}=_0xe79916,_0x11bc93=X[_0x48411b(0x2af)](_0x28d5f4,_0x2479e0,_0x40c27c,_0x5a455b),_0x2e0d65=X[_0x48411b(0x2af)](_0x443422,_0x3df981,_0x40c27c,_0x5a455b),{columnHeaderHeightAndMarginTop:_0x2432ef}=_0x5a455b,{startX:_0x3bbcb2,startY:_0xde7d47}=_0x11bc93,{endX:_0x1fb12f,endY:_0x3b825e}=_0x2e0d65,_0x4e8200=_0x1fb12f-_0x3bbcb2,_0x50fb67=_0x3b825e-_0xde7d47,_0x4ba40d={'labelPosition':_0xde7d47-_0x2432ef>=K?'top':_0x48411b(0x2f0),'sheetID':_0x1cbbd5,'range':_0xe79916,'color':_0x100fa7,'name':_0x21035c,'selection':_0x4c14bd,'left':_0x3bbcb2,'top':_0xde7d47,'width':_0x4e8200,'height':_0x50fb67,'evented':!0x1,'zIndex':bt};return new Pe(_0x21035c,_0x4ba40d);});_0x40c27c[_0x4f7e9d(0x2e0)](_0x1a8591,gt),this[_0x4f7e9d(0x29c)]=new Set(_0x1a8591);}['_removeCollabCursors'](){const _0x5be27a=_0x1484f9;var _0x58d7de;(_0x58d7de=this[_0x5be27a(0x29c)])==null||_0x58d7de[_0x5be27a(0x19b)](_0x57d2c6=>_0x57d2c6[_0x5be27a(0x192)]());}[_0x1484f9(0x75)](){const _0x189562=_0x1484f9;return X[_0x189562(0xd3)](this['_context'][_0x189562(0x6f)],this['_context']);}};ve=pt([ae(0x1,a[_0x1484f9(0x252)](X[_0x1484f9(0x179)])),ae(0x2,a[_0x1484f9(0x252)](x)),ae(0x3,a['Inject'](a[_0x1484f9(0x180)]))],ve);function Et(_0x135368){const _0xc3a478=_0x1484f9,_0xbcbbfe=new Map();return _0x135368['forEach'](_0x458c6b=>{const _0x302ca1=_0x1dbb;if(_0xbcbbfe[_0x302ca1(0x17c)](_0x458c6b[_0x302ca1(0x259)])){const _0x435441=_0xbcbbfe[_0x302ca1(0x242)](_0x458c6b[_0x302ca1(0x259)]);_0x435441[_0x302ca1(0xb4)]+=',\x20'+_0x458c6b[_0x302ca1(0xb4)];}else _0xbcbbfe[_0x302ca1(0x2df)](_0x458c6b[_0x302ca1(0x259)],_0x458c6b);}),Array['from'](_0xbcbbfe[_0xc3a478(0x211)]());}var E=function(){const _0x4a59ee=_0x1484f9;return E=Object[_0x4a59ee(0x2e5)]||function(_0x3d4e93){const _0x35f780=_0x4a59ee;for(var _0x8c8cc3,_0x469cd7=0x1,_0x30e050=arguments[_0x35f780(0x1fe)];_0x469cd7<_0x30e050;_0x469cd7++){_0x8c8cc3=arguments[_0x469cd7];for(var _0x5c4e63 in _0x8c8cc3)Object[_0x35f780(0x26c)][_0x35f780(0x1ce)]['call'](_0x8c8cc3,_0x5c4e63)&&(_0x3d4e93[_0x5c4e63]=_0x8c8cc3[_0x5c4e63]);}return _0x3d4e93;},E[_0x4a59ee(0x22d)](this,arguments);},Tt=function(_0x3ddeb3,_0x370df0){const _0x207cc0=_0x1484f9;var _0x3a4529={};for(var _0xc334c1 in _0x3ddeb3)Object[_0x207cc0(0x26c)][_0x207cc0(0x1ce)]['call'](_0x3ddeb3,_0xc334c1)&&_0x370df0[_0x207cc0(0x99)](_0xc334c1)<0x0&&(_0x3a4529[_0xc334c1]=_0x3ddeb3[_0xc334c1]);if(_0x3ddeb3!=null&&typeof Object['getOwnPropertySymbols']==_0x207cc0(0xb0)){for(var _0x4d2fa1=0x0,_0xc334c1=Object[_0x207cc0(0x8d)](_0x3ddeb3);_0x4d2fa1<_0xc334c1[_0x207cc0(0x1fe)];_0x4d2fa1++)_0x370df0['indexOf'](_0xc334c1[_0x4d2fa1])<0x0&&Object['prototype'][_0x207cc0(0x212)][_0x207cc0(0x1a5)](_0x3ddeb3,_0xc334c1[_0x4d2fa1])&&(_0x3a4529[_0xc334c1[_0x4d2fa1]]=_0x3ddeb3[_0xc334c1[_0x4d2fa1]]);}return _0x3a4529;},pe=M[_0x1484f9(0x164)](function(_0x18aa02,_0x1b3752){const _0x462801=_0x1484f9;var _0x2365a4=_0x18aa02[_0x462801(0x153)],_0x36513e=_0x18aa02['id'],_0x30c01a=_0x18aa02[_0x462801(0xf7)],_0x106be8=_0x18aa02[_0x462801(0x116)],_0x372dd4=Tt(_0x18aa02,[_0x462801(0x153),'id','className',_0x462801(0x116)]),_0x5e3858=_0x462801(0x177)[_0x462801(0x11b)](_0x36513e,'\x20')[_0x462801(0x11b)](_0x30c01a||'')[_0x462801(0x2c7)](),_0x2739a7=M['useRef']('_'[_0x462801(0x11b)](Dt()));return Ae(_0x2365a4,''['concat'](_0x36513e),{'defIds':_0x2365a4[_0x462801(0x2ad)],'idSuffix':_0x2739a7[_0x462801(0x277)]},E({'ref':_0x1b3752,'className':_0x5e3858},_0x372dd4),_0x106be8);});function Ae(_0x3eedd0,_0xbd326a,_0x20f0cb,_0x4c9b2e,_0x3e0f28){const _0x2c0193=_0x1484f9;return M[_0x2c0193(0x24e)](_0x3eedd0[_0x2c0193(0x10d)],E(E({'key':_0xbd326a},Ot(_0x3eedd0,_0x20f0cb,_0x3e0f28)),_0x4c9b2e),(Rt(_0x3eedd0,_0x20f0cb)[_0x2c0193(0x14c)]||[])[_0x2c0193(0x238)](function(_0x300a78,_0x1506ec){const _0x1ee17c=_0x2c0193;return Ae(_0x300a78,''[_0x1ee17c(0x11b)](_0xbd326a,'-')[_0x1ee17c(0x11b)](_0x3eedd0[_0x1ee17c(0x10d)],'-')[_0x1ee17c(0x11b)](_0x1506ec),_0x20f0cb,void 0x0,_0x3e0f28);}));}function Ot(_0x134664,_0x465dc1,_0x157e8b){const _0x1da6c3=_0x1484f9;var _0x21351f=E({},_0x134664[_0x1da6c3(0x2aa)]);_0x157e8b!=null&&_0x157e8b[_0x1da6c3(0x258)]&&_0x21351f[_0x1da6c3(0x1d2)]===_0x1da6c3(0x258)&&(_0x21351f[_0x1da6c3(0x1d2)]=_0x157e8b[_0x1da6c3(0x258)]),_0x134664[_0x1da6c3(0x10d)]===_0x1da6c3(0x2ed)&&_0x21351f['id']&&(_0x21351f['id']=_0x21351f['id']+_0x465dc1['idSuffix']),Object[_0x1da6c3(0xd6)](_0x21351f)[_0x1da6c3(0x19b)](function(_0x259e44){const _0x4f46fc=_0x1da6c3;var _0x2d75d6=_0x259e44[0x0],_0xc3cd58=_0x259e44[0x1];_0x2d75d6===_0x4f46fc(0x2ed)&&typeof _0xc3cd58==_0x4f46fc(0x2c0)&&(_0x21351f[_0x2d75d6]=_0xc3cd58[_0x4f46fc(0x107)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x465dc1[_0x4f46fc(0x270)],')')));});var _0x5dc900=_0x465dc1[_0x1da6c3(0x2ad)];return!_0x5dc900||_0x5dc900[_0x1da6c3(0x1fe)]===0x0||(_0x134664[_0x1da6c3(0x10d)]===_0x1da6c3(0x1f2)&&_0x21351f[_0x1da6c3(0x278)]&&(_0x21351f[_0x1da6c3(0x278)]=_0x21351f['xlink:href']+_0x465dc1[_0x1da6c3(0x270)]),Object[_0x1da6c3(0xd6)](_0x21351f)[_0x1da6c3(0x19b)](function(_0x140333){const _0x426cb7=_0x1da6c3;var _0xd5298=_0x140333[0x0],_0x322170=_0x140333[0x1];typeof _0x322170==_0x426cb7(0x2c0)&&(_0x21351f[_0xd5298]=_0x322170[_0x426cb7(0x107)](/url\(#(.*)\)/,_0x426cb7(0x97)[_0x426cb7(0x11b)](_0x465dc1[_0x426cb7(0x270)],')')));})),_0x21351f;}function Rt(_0x8548f4,_0xffdeb2){const _0x256d68=_0x1484f9;var _0x189e0a,_0x1b7126=_0xffdeb2[_0x256d68(0x2ad)];return!_0x1b7126||_0x1b7126['length']===0x0?_0x8548f4:_0x8548f4['tag']===_0x256d68(0x71)&&(!((_0x189e0a=_0x8548f4[_0x256d68(0x14c)])===null||_0x189e0a===void 0x0)&&_0x189e0a[_0x256d68(0x1fe)])?E(E({},_0x8548f4),{'children':_0x8548f4[_0x256d68(0x14c)][_0x256d68(0x238)](function(_0x5ad889){const _0xc8c77c=_0x256d68;return typeof _0x5ad889[_0xc8c77c(0x2aa)]['id']==_0xc8c77c(0x2c0)&&_0x1b7126&&_0x1b7126[_0xc8c77c(0x109)](_0x5ad889[_0xc8c77c(0x2aa)]['id'])?E(E({},_0x5ad889),{'attrs':E(E({},_0x5ad889['attrs']),{'id':_0x5ad889[_0xc8c77c(0x2aa)]['id']+_0xffdeb2[_0xc8c77c(0x270)]})}):_0x5ad889;})}):_0x8548f4;}function Dt(){const _0x52a46f=_0x1484f9;return Math[_0x52a46f(0x272)]()[_0x52a46f(0x210)](0x24)[_0x52a46f(0x13b)](0x2,0x8);}pe[_0x1484f9(0x1e8)]=_0x1484f9(0x1a8);var Ut={'tag':_0x1484f9(0x18a),'attrs':{'xmlns':_0x1484f9(0x257),'fill':'none','viewBox':_0x1484f9(0x199),'width':_0x1484f9(0xf1),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1484f9(0x235)},'children':[{'tag':_0x1484f9(0x224),'attrs':{'stroke':_0x1484f9(0x193),'d':_0x1484f9(0x2ae),'strokeLinecap':_0x1484f9(0x1a2),'strokeLinejoin':_0x1484f9(0x1a2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1484f9(0x230),'attrs':{'id':_0x1484f9(0x132)},'children':[{'tag':_0x1484f9(0x224),'attrs':{'fill':_0x1484f9(0x219),'d':_0x1484f9(0xeb)}}]}]}],'defIds':[_0x1484f9(0x132)]},ye=M[_0x1484f9(0x164)](function(_0x1a1067,_0x157a02){const _0x14c29f=_0x1484f9;return M[_0x14c29f(0x24e)](pe,Object[_0x14c29f(0x2e5)]({},_0x1a1067,{'id':_0x14c29f(0x14f),'ref':_0x157a02,'icon':Ut}));});ye['displayName']='OffLineIcon';var Nt={'tag':_0x1484f9(0x18a),'attrs':{'xmlns':_0x1484f9(0x257),'fill':'none','viewBox':_0x1484f9(0x214),'width':_0x1484f9(0xf1),'height':_0x1484f9(0xf1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x1484f9(0x237),'strokeLinecap':'round','strokeLinejoin':_0x1484f9(0x1a2),'strokeWidth':1.2}}]},{'tag':_0x1484f9(0x71),'attrs':{},'children':[{'tag':_0x1484f9(0x230),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x1484f9(0x224),'attrs':{'fill':'white','d':_0x1484f9(0xeb),'transform':_0x1484f9(0x15f)}}]}]}],'defIds':[_0x1484f9(0x1a6)]},$e=M[_0x1484f9(0x164)](function(_0x1958da,_0x325abe){const _0x2813d0=_0x1484f9;return M[_0x2813d0(0x24e)](pe,Object['assign']({},_0x1958da,{'id':_0x2813d0(0x11f),'ref':_0x325abe,'icon':Nt}));});$e[_0x1484f9(0x1e8)]=_0x1484f9(0x1c2);function Mt(_0x47ba4e){const _0x4de9af=_0x1484f9;switch(_0x47ba4e){case u[_0x4de9af(0xac)]['OFFLINE']:return _0x4de9af(0x1f9);case u[_0x4de9af(0xac)][_0x4de9af(0x232)]:return _0x4de9af(0x2cb);case u[_0x4de9af(0xac)][_0x4de9af(0x1d1)]:return _0x4de9af(0xe7);case u[_0x4de9af(0xac)][_0x4de9af(0x13d)]:return'collabStatus.notCollab';case u[_0x4de9af(0xac)][_0x4de9af(0x86)]:case u[_0x4de9af(0xac)][_0x4de9af(0x2b9)]:return _0x4de9af(0x295);case u[_0x4de9af(0xac)]['SYNCED']:case u[_0x4de9af(0xac)][_0x4de9af(0x117)]:return _0x4de9af(0x2b7);}}function xe(_0x10f957){const _0x1b20dc=_0x1484f9,{status$:_0x373d84}=_0x10f957,_0x3ef1a8=T[_0x1b20dc(0x268)](_0x373d84,u[_0x1b20dc(0xac)][_0x1b20dc(0x13d)]),_0x2ff3b8=T[_0x1b20dc(0xc3)](a[_0x1b20dc(0x18e)]),_0x285bd2=T['useDependency'](u['CollaborationSessionService']),_0x575379=_0x3ef1a8!==u[_0x1b20dc(0xac)][_0x1b20dc(0x233)],_0x5a1051=_0x2ff3b8['t'](Mt(_0x3ef1a8)),_0x1cd5ff=_0x575379?w[_0x1b20dc(0x2bc)]($e,{}):w[_0x1b20dc(0x2bc)](ye,{}),_0x3168fb=M[_0x1b20dc(0xa1)](()=>{_0x575379||_0x285bd2['reconnect']();},[_0x575379,_0x285bd2]);function _0x5abed9(){const _0x81ea93=_0x1b20dc;return w[_0x81ea93(0x291)](_0x81ea93(0x1c3),{'className':_0x81ea93(0x1e0),'onClick':_0x3168fb,'children':[w[_0x81ea93(0x2bc)](_0x81ea93(0x1c3),{'className':D[_0x81ea93(0xdd)](_0x81ea93(0x2c4),{'univer-text-green-500':_0x575379,'univer-text-red-500':!_0x575379}),'children':_0x1cd5ff}),w[_0x81ea93(0x2bc)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5a1051})]});}return _0x575379?_0x5abed9():w[_0x1b20dc(0x2bc)](D['Tooltip'],{'title':_0x2ff3b8['t']('collab-client.tooltip.reconnect'),'children':_0x5abed9()});}var Lt=Object[_0x1484f9(0x21b)],wt=(_0x1f0290,_0x4b2550,_0x2a14df,_0x3ab129)=>{const _0x3dc9e8=_0x1484f9;for(var _0x298796=_0x3ab129>0x1?void 0x0:_0x3ab129?Lt(_0x4b2550,_0x2a14df):_0x4b2550,_0xe55663=_0x1f0290[_0x3dc9e8(0x1fe)]-0x1,_0x1bd2a8;_0xe55663>=0x0;_0xe55663--)(_0x1bd2a8=_0x1f0290[_0xe55663])&&(_0x298796=_0x1bd2a8(_0x298796)||_0x298796);return _0x298796;},V=(_0x47d398,_0x3f494d)=>(_0x43d47c,_0x37b7c7)=>_0x3f494d(_0x43d47c,_0x37b7c7,_0x47d398);exports[_0x1484f9(0xdc)]=class extends a[_0x1484f9(0x293)]{constructor(_0x2edd15,_0x152580,_0x56d6c9,_0x706db6){const _0x2bc4c8=_0x1484f9;super(),h(this,_0x2bc4c8(0x108),new d[(_0x2bc4c8(0x21d))](u[_0x2bc4c8(0xac)]['NOT_COLLAB'])),(this[_0x2bc4c8(0x83)]=_0x2edd15,this['_injector']=_0x152580,this[_0x2bc4c8(0x203)]=_0x56d6c9,this['_uiPartsService']=_0x706db6,this[_0x2bc4c8(0x1c7)](),this[_0x2bc4c8(0x15d)]());}[_0x1484f9(0x15d)](){const _0x40e25b=_0x1484f9;this[_0x40e25b(0x161)](this[_0x40e25b(0x83)][_0x40e25b(0x8c)]['pipe'](d[_0x40e25b(0x20e)](()=>{const _0x5d94e2=_0x40e25b,_0x3c8f53=this['_univerInstanceService']['getFocusedUnit']();return _0x3c8f53?this['_collaborationController'][_0x5d94e2(0x240)](_0x3c8f53[_0x5d94e2(0x170)]()):d['of'](null);}),d[_0x40e25b(0x20e)](_0x4ae407=>_0x4ae407?_0x4ae407[_0x40e25b(0x124)]:d['of'](u['CollaborationStatus'][_0x40e25b(0x13d)])))[_0x40e25b(0x2d1)](_0x967ac3=>{this['_status$']['next'](_0x967ac3);}));}['_initStatusComponent'](){const _0x32f49c=_0x1484f9;this[_0x32f49c(0x161)](this[_0x32f49c(0x6b)][_0x32f49c(0x182)](T[_0x32f49c(0x2a5)][_0x32f49c(0x1e3)],()=>T['connectInjector'](Pt({'status$':this[_0x32f49c(0x108)][_0x32f49c(0x1c1)]()}),this['_injector'])));}},exports[_0x1484f9(0xdc)]=wt([V(0x0,a[_0x1484f9(0x1a1)]),V(0x1,a[_0x1484f9(0x252)](a['Injector'])),V(0x2,a[_0x1484f9(0x252)](u['CollaborationController'])),V(0x3,T[_0x1484f9(0x284)])],exports['DesktopCollaborationStatusDisplayController']);function Pt(_0xddd683){const {status$:_0xefc7f0}=_0xddd683;return function(){const _0x3acedb=_0x1dbb;return w[_0x3acedb(0x2bc)](xe,{'status$':_0xefc7f0});};}var At=Object[_0x1484f9(0x21b)],yt=(_0x3433b8,_0x47236b,_0x19f2fe,_0x424a56)=>{const _0x8ee7=_0x1484f9;for(var _0x3e3b0e=_0x424a56>0x1?void 0x0:_0x424a56?At(_0x47236b,_0x19f2fe):_0x47236b,_0x1a1781=_0x3433b8[_0x8ee7(0x1fe)]-0x1,_0x3e6a77;_0x1a1781>=0x0;_0x1a1781--)(_0x3e6a77=_0x3433b8[_0x1a1781])&&(_0x3e3b0e=_0x3e6a77(_0x3e3b0e)||_0x3e3b0e);return _0x3e3b0e;},y=(_0x47c891,_0x2e6170)=>(_0x231e75,_0x500a59)=>_0x2e6170(_0x231e75,_0x500a59,_0x47c891);let q=class extends a[_0x1484f9(0x293)]{constructor(_0x3b115e,_0xd589db,_0x3272aa,_0x4f71c0,_0x184d54,_0x193e8d){const _0x569917=_0x1484f9;super(),this[_0x569917(0x2c9)]=_0x3b115e,this[_0x569917(0x28d)]=_0xd589db,this[_0x569917(0xe8)]=_0x3272aa,this[_0x569917(0xce)]=_0x4f71c0,this[_0x569917(0x28f)]=_0x184d54,this[_0x569917(0x286)]=_0x193e8d,this[_0x569917(0x93)](),this[_0x569917(0xe1)]();}[_0x1484f9(0x93)](){const _0x1ca98b=_0x1484f9;this['disposeWithMe'](this[_0x1ca98b(0x2c9)][_0x1ca98b(0x12b)](()=>{const _0x4a5436=_0x1ca98b;if(this[_0x4a5436(0x28d)][_0x4a5436(0xf6)][_0x4a5436(0x81)])return this[_0x4a5436(0x286)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x1484f9(0xe1)](){const _0x20bd8c=_0x1484f9;this[_0x20bd8c(0x161)](this[_0x20bd8c(0xe8)][_0x20bd8c(0x67)][_0x20bd8c(0x2d1)](_0xb04b76=>{const _0x34c30c=_0x20bd8c;_0xb04b76['id']===u[_0x34c30c(0xab)][_0x34c30c(0x18d)]&&this[_0x34c30c(0xce)]['show']({'type':D[_0x34c30c(0x2eb)][_0x34c30c(0x167)],'content':this['_localeService']['t'](_0x34c30c(0xa3))}),_0xb04b76['id']===u[_0x34c30c(0xab)][_0x34c30c(0x2cd)]&&this['_messageService']['show']({'type':D[_0x34c30c(0x2eb)]['Warning'],'content':this['_localeService']['t'](_0x34c30c(0x23a))}),_0xb04b76['id']===u['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x34c30c(0x28f)][_0x34c30c(0x1d8)]({'title':this['_localeService']['t'](_0x34c30c(0x190)),'content':this[_0x34c30c(0x286)]['t'](_0x34c30c(0x260)),'type':_0x34c30c(0xa0),'duration':0x0}),_0xb04b76['id']===u[_0x34c30c(0xab)]['CONFLICT']&&this[_0x34c30c(0xce)][_0x34c30c(0x1d8)]({'type':D[_0x34c30c(0x2eb)]['Error'],'content':this['_localeService']['t'](_0x34c30c(0x23a))+'('+_0xb04b76[_0x34c30c(0x70)]+')'}),_0xb04b76['id']===u[_0x34c30c(0xab)][_0x34c30c(0x1a0)]&&this['_messageService']['show']({'type':D['MessageType']['Warning'],'content':this[_0x34c30c(0x286)]['t'](_0xb04b76['data']||'')}),_0xb04b76['id']===u[_0x34c30c(0xab)][_0x34c30c(0x8b)]&&this[_0x34c30c(0xce)]['show']({'type':D[_0x34c30c(0x2eb)][_0x34c30c(0x167)],'content':this[_0x34c30c(0x286)]['t']('session.will-retry')}),_0xb04b76['id']===u[_0x34c30c(0xab)][_0x34c30c(0x2d5)]&&this['_messageService'][_0x34c30c(0x1d8)]({'type':D[_0x34c30c(0x2eb)][_0x34c30c(0xdb)],'content':this[_0x34c30c(0x286)]['t'](_0x34c30c(0x2bf))}),_0xb04b76['id']===u['CollaborationUIEventId'][_0x34c30c(0x1ec)]&&this['_messageService'][_0x34c30c(0x1d8)]({'type':D[_0x34c30c(0x2eb)][_0x34c30c(0xdb)],'content':this[_0x34c30c(0x286)]['t'](_0x34c30c(0x25e))});}));}};q=yt([y(0x0,T[_0x1484f9(0xc8)]),y(0x1,u[_0x1484f9(0x169)]),y(0x2,a['Inject'](u['CollaborationUIEventService'])),y(0x3,T['IMessageService']),y(0x4,T['INotificationService']),y(0x5,a[_0x1484f9(0x252)](a[_0x1484f9(0x18e)]))],q);const $t='collaboration-client-ui.config',Ue={},be=a[_0x1484f9(0x226)]('uni.network.url-service');var xt=Object['getOwnPropertyDescriptor'],jt=(_0x296094,_0x39c491,_0x5db273,_0xa3ab6d)=>{const _0x33928f=_0x1484f9;for(var _0x443255=_0xa3ab6d>0x1?void 0x0:_0xa3ab6d?xt(_0x39c491,_0x5db273):_0x39c491,_0x46dbf0=_0x296094[_0x33928f(0x1fe)]-0x1,_0x32963a;_0x46dbf0>=0x0;_0x46dbf0--)(_0x32963a=_0x296094[_0x46dbf0])&&(_0x443255=_0x32963a(_0x443255)||_0x443255);return _0x443255;},H=(_0x46bdf6,_0x3dd51e)=>(_0x1f0675,_0x170f11)=>_0x3dd51e(_0x1f0675,_0x170f11,_0x46bdf6);exports[_0x1484f9(0x171)]=class extends a[_0x1484f9(0x1fc)]{constructor(_0x26d3ab,_0x2fb48e,_0xa4db47,_0x2a3cc4,_0x1ae24e){const _0x1c27f5=_0x1484f9;super(),this['_urlService']=_0x26d3ab,this['_logService']=_0x2fb48e,this['_commandService']=_0xa4db47,this[_0x1c27f5(0x25b)]=_0x2a3cc4,_0x1ae24e?_0x1ae24e==null||_0x1ae24e['whenReady']()[_0x1c27f5(0x1aa)](()=>this[_0x1c27f5(0x1df)]()):(this[_0x1c27f5(0x150)][_0x1c27f5(0x201)]('[CollaborationDataLoaderController]',_0x1c27f5(0x9d)),this[_0x1c27f5(0x1df)]());}async[_0x1484f9(0x1df)](){const _0x10f5fc=_0x1484f9,_0x48f198=this[_0x10f5fc(0x142)][_0x10f5fc(0x1f1)](_0x10f5fc(0x6f)),_0x173755=this[_0x10f5fc(0x142)][_0x10f5fc(0x1f1)]('type'),_0x33372f=this[_0x10f5fc(0x142)][_0x10f5fc(0x1f1)](_0x10f5fc(0x1f5));if(!_0x48f198||!_0x173755){this[_0x10f5fc(0x150)][_0x10f5fc(0x201)](_0x10f5fc(0x14e),_0x10f5fc(0x2b5));return;}const _0x3e0021=await this[_0x10f5fc(0x25b)]['loadUnit'](_0x48f198,Number(_0x173755),_0x33372f);_0x3e0021&&_0x3e0021 instanceof a[_0x10f5fc(0x19a)]&&this[_0x10f5fc(0x206)](_0x3e0021);}async[_0x1484f9(0x206)](_0x140d12){const _0x5b47d1=_0x1484f9;await this[_0x5b47d1(0x239)](_0x140d12),_0x140d12[_0x5b47d1(0x14a)][_0x5b47d1(0xe6)](d['takeUntil'](this['dispose$']))[_0x5b47d1(0x2d1)](_0x58f93a=>{const _0x57b2d3=_0x5b47d1;_0x58f93a&&this[_0x57b2d3(0xcd)](_0x58f93a);}),this['_urlService'][_0x5b47d1(0x2b6)][_0x5b47d1(0xe6)](d[_0x5b47d1(0xbb)](this[_0x5b47d1(0x1de)]))[_0x5b47d1(0x2d1)](()=>this[_0x5b47d1(0x239)](_0x140d12));}[_0x1484f9(0xcd)](_0x3f66bc,_0x46226=!0x1){const _0x2b265f=_0x1484f9,_0xbab8fc=this['_urlService'][_0x2b265f(0x1f1)](_0x2b265f(0x1f5));_0x3f66bc[_0x2b265f(0x1e5)]()!==_0xbab8fc&&this[_0x2b265f(0x142)][_0x2b265f(0x1e1)](_0x2b265f(0x1f5),_0x3f66bc[_0x2b265f(0x1e5)](),_0x46226);}async[_0x1484f9(0x239)](_0x1ff9de){const _0x4ca57e=_0x1484f9;var _0x470b49;const _0x4de9b7=this[_0x4ca57e(0x142)][_0x4ca57e(0x1f1)](_0x4ca57e(0x1f5));if(!_0x4de9b7||!_0x1ff9de[_0x4ca57e(0x1dc)](_0x4de9b7)){const _0x2ffb19=_0x1ff9de[_0x4ca57e(0x17a)]()[0x0],_0x86487a=_0x1ff9de['getSheetBySheetId'](_0x2ffb19);if(!_0x86487a)return;this[_0x4ca57e(0xcd)](_0x86487a,!0x0),await this[_0x4ca57e(0x25d)]['executeCommand'](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x1ff9de['getUnitId'](),'subUnitId':_0x2ffb19});return;}((_0x470b49=_0x1ff9de[_0x4ca57e(0xb6)]())==null?void 0x0:_0x470b49[_0x4ca57e(0x1e5)]())!==_0x4de9b7&&await this[_0x4ca57e(0x25d)][_0x4ca57e(0x22f)](g[_0x4ca57e(0x1fa)]['id'],{'unitId':_0x1ff9de['getUnitId'](),'subUnitId':_0x4de9b7});}},exports[_0x1484f9(0x171)]=jt([H(0x0,be),H(0x1,a['ILogService']),H(0x2,a[_0x1484f9(0x1af)]),H(0x3,a[_0x1484f9(0x252)](u[_0x1484f9(0x8f)])),H(0x4,a[_0x1484f9(0x95)](Ke[_0x1484f9(0x1c0)]))],exports[_0x1484f9(0x171)]);var Bt=Object['getOwnPropertyDescriptor'],kt=(_0x2b8efe,_0x4c94fb,_0x803a12,_0x516fe4)=>{const _0x6cc375=_0x1484f9;for(var _0x59899a=_0x516fe4>0x1?void 0x0:_0x516fe4?Bt(_0x4c94fb,_0x803a12):_0x4c94fb,_0x2e75ac=_0x2b8efe[_0x6cc375(0x1fe)]-0x1,_0x1dcd22;_0x2e75ac>=0x0;_0x2e75ac--)(_0x1dcd22=_0x2b8efe[_0x2e75ac])&&(_0x59899a=_0x1dcd22(_0x59899a)||_0x59899a);return _0x59899a;},ce=(_0x1e3307,_0x15700f)=>(_0x4f0641,_0x5c09e6)=>_0x15700f(_0x4f0641,_0x5c09e6,_0x1e3307);let z=class{constructor(_0x4261ca,_0x374a4c,_0x56dd03){const _0x5e74d8=_0x1484f9;this['_injector']=_0x4261ca,this[_0x5e74d8(0xd9)]=_0x374a4c,this['_renderManagerService']=_0x56dd03;}[_0x1484f9(0xba)](_0x541a1c){const _0x5d8bed=_0x1484f9;this[_0x5d8bed(0x205)](_0x541a1c),this['_transformPreviousActiveRange'](_0x541a1c);}[_0x1484f9(0x2a1)](_0x354a8e){const _0x37956a=_0x1484f9,{unitID:_0x3bc9e9}=_0x354a8e,_0x1421ca=this[_0x37956a(0x111)][_0x37956a(0x28c)](_0x3bc9e9)['with'](b[_0x37956a(0x2a2)]),{redoCache:_0x1a0073}=_0x1421ca['getUndoRedoMutationParamsCache']();if(_0x1a0073[_0x37956a(0x1fe)]===0x0)return _0x354a8e;let _0x149247=a[_0x37956a(0x25f)][_0x37956a(0x274)](_0x354a8e['mutations'][0x0]);for(let _0x46b914=0x0;_0x46b914<_0x1a0073[_0x37956a(0x1fe)];_0x46b914++){const _0x216958={'id':_0x37956a(0x2a6),'params':{..._0x1a0073[_0x46b914]}},_0x3520df=this[_0x37956a(0xd9)]['transformMutation'](_0x149247,_0x216958,!0x1);if(m[_0x37956a(0xa9)](_0x3520df))throw _0x3520df[_0x37956a(0xa0)];_0x149247=_0x3520df[_0x37956a(0x241)];}return{...a['Tools'][_0x37956a(0x274)](_0x354a8e),'mutations':[_0x149247]};}[_0x1484f9(0x205)](_0x63a4e2){const _0x337ffc=_0x1484f9,{unitID:_0x4665b4}=_0x63a4e2,_0x1aa112=this[_0x337ffc(0x111)][_0x337ffc(0x28c)](_0x4665b4)[_0x337ffc(0x11c)](b[_0x337ffc(0x2a2)]),{undoCache:_0x20021f,redoCache:_0x15be49}=_0x1aa112[_0x337ffc(0x27b)]();if(_0x20021f[_0x337ffc(0x1fe)]===0x0||_0x15be49[_0x337ffc(0x1fe)]===0x0)return;const _0x5005e1=[],_0x36259b=[];let _0x55247e=a[_0x337ffc(0x25f)]['deepClone'](_0x63a4e2['mutations'][0x0]),_0x169976=a['Tools'][_0x337ffc(0x274)](_0x63a4e2[_0x337ffc(0x151)][0x0]);for(let _0x4a310d=_0x20021f[_0x337ffc(0x1fe)]-0x1;_0x4a310d>=0x0;_0x4a310d--){const _0x508583={'id':_0x337ffc(0x2a6),'params':{..._0x20021f[_0x4a310d]}},_0x1891dc={'id':'doc.mutation.rich-text-editing','params':{..._0x15be49[_0x4a310d]}},_0x46c4f3=this[_0x337ffc(0xd9)][_0x337ffc(0xad)](_0x55247e,_0x508583,!0x1),_0x20b5ca=this[_0x337ffc(0xd9)]['transformMutation'](_0x169976,_0x1891dc,!0x1);if(m[_0x337ffc(0xa9)](_0x46c4f3))throw _0x46c4f3['error'];if(m[_0x337ffc(0xa9)](_0x20b5ca))throw _0x20b5ca[_0x337ffc(0xa0)];_0x5005e1[_0x337ffc(0x1ef)](_0x46c4f3['m2Prime'][_0x337ffc(0x172)]),_0x36259b[_0x337ffc(0x1ef)](_0x20b5ca[_0x337ffc(0x136)][_0x337ffc(0x172)]),_0x55247e=_0x46c4f3[_0x337ffc(0x241)],_0x169976=_0x20b5ca[_0x337ffc(0x241)];}_0x1aa112['setUndoRedoMutationParamsCache']({'undoCache':_0x5005e1,'redoCache':_0x36259b});}['_transformPreviousActiveRange'](_0x408a8a){const _0x59c7ef=_0x1484f9,{unitID:_0x19c4e2}=_0x408a8a,_0x1cfdd5=this['_renderManagerService'][_0x59c7ef(0x28c)](_0x19c4e2)[_0x59c7ef(0x11c)](b[_0x59c7ef(0x2a2)]),_0x307fd1=_0x1cfdd5[_0x59c7ef(0x166)]();if(_0x307fd1==null)return;const _0x175bd3=[{'id':_0x59c7ef(0x2a6),'params':{'unitId':_0x408a8a[_0x59c7ef(0x22e)],'actions':null,'textRanges':[_0x307fd1]}}],_0x15b499=this[_0x59c7ef(0xd9)][_0x59c7ef(0x1d4)](_0x408a8a,_0x175bd3);if(!m[_0x59c7ef(0x275)](_0x15b499))throw _0x15b499[_0x59c7ef(0xa0)];const _0x4ee335=_0x15b499[_0x59c7ef(0x136)][0x0]['params'][_0x59c7ef(0xa2)];Array['isArray'](_0x4ee335)&&_0x4ee335['length']&&_0x1cfdd5[_0x59c7ef(0x72)](_0x4ee335[0x0]);}};z=kt([ce(0x0,a[_0x1484f9(0x252)](a[_0x1484f9(0xa4)])),ce(0x1,m['ITransformService']),ce(0x2,p[_0x1484f9(0x112)])],z);var Ht=Object['getOwnPropertyDescriptor'],Ft=(_0x2fb6aa,_0x24196f,_0x37c1e2,_0x47b59b)=>{const _0x4aa718=_0x1484f9;for(var _0x117f34=_0x47b59b>0x1?void 0x0:_0x47b59b?Ht(_0x24196f,_0x37c1e2):_0x24196f,_0x3a2372=_0x2fb6aa[_0x4aa718(0x1fe)]-0x1,_0x33c906;_0x3a2372>=0x0;_0x3a2372--)(_0x33c906=_0x2fb6aa[_0x3a2372])&&(_0x117f34=_0x33c906(_0x117f34)||_0x117f34);return _0x117f34;},le=(_0x381f72,_0xe7f10a)=>(_0x23e4d5,_0x289625)=>_0xe7f10a(_0x23e4d5,_0x289625,_0x381f72);let J=class{constructor(_0x5ac5b8,_0x327725,_0x12b09e){const _0x5efd84=_0x1484f9;this['_injector']=_0x5ac5b8,this['_transformService']=_0x327725,this[_0x5efd84(0x26e)]=_0x12b09e;}[_0x1484f9(0x236)](_0x323a2a){this['_transformHistoryAndStateStack'](_0x323a2a);}['transformRemoteChangeset'](_0x52b92a){const _0x2b977b=_0x1484f9,{unitID:_0x5ff086}=_0x52b92a,{collaboration:_0x19d8e8}=this[_0x2b977b(0x26e)]['getStateCache'](_0x5ff086);if(_0x19d8e8[_0x2b977b(0x1fe)]===0x0)return _0x52b92a;let _0x3b8c50=a['Tools']['deepClone'](_0x52b92a['mutations'][0x0]);for(let _0x4b3c05=0x0;_0x4b3c05<_0x19d8e8[_0x2b977b(0x1fe)];_0x4b3c05++){const _0x582f48={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x19d8e8[_0x4b3c05]['unitId'],..._0x19d8e8[_0x4b3c05][_0x2b977b(0x28e)]}},_0x2de23e=this[_0x2b977b(0xd9)][_0x2b977b(0xad)](_0x3b8c50,_0x582f48,!0x1);if(m[_0x2b977b(0xa9)](_0x2de23e))throw _0x2de23e[_0x2b977b(0xa0)];_0x3b8c50=_0x2de23e[_0x2b977b(0x241)];}return{...a['Tools'][_0x2b977b(0x274)](_0x52b92a),'mutations':[_0x3b8c50]};}['_transformHistoryAndStateStack'](_0x494068){const _0x3ca5bc=_0x1484f9,{unitID:_0x3380df}=_0x494068,{history:_0x3f71cb,collaboration:_0x42df30}=this['_docStateChangeManagerService'][_0x3ca5bc(0xc1)](_0x3380df);if(_0x3f71cb[_0x3ca5bc(0x1fe)]===0x0&&_0x42df30[_0x3ca5bc(0x1fe)]===0x0)return;const _0x4e2dbb=[],_0x1e0dbb=[];let _0x4e7309=a[_0x3ca5bc(0x25f)][_0x3ca5bc(0x274)](_0x494068[_0x3ca5bc(0x151)][0x0]),_0x2093bd=a[_0x3ca5bc(0x25f)][_0x3ca5bc(0x274)](_0x494068[_0x3ca5bc(0x151)][0x0]);for(let _0x2a0bfa=_0x3f71cb[_0x3ca5bc(0x1fe)]-0x1;_0x2a0bfa>=0x0;_0x2a0bfa--){const _0x1b4298={'id':_0x3ca5bc(0x2a6),'params':{'unitId':_0x3f71cb[_0x2a0bfa][_0x3ca5bc(0x7f)],..._0x3f71cb[_0x2a0bfa]['undoState']}},_0x540b57={'id':_0x3ca5bc(0x2a6),'params':{'unitId':_0x3f71cb[_0x2a0bfa][_0x3ca5bc(0x7f)],..._0x3f71cb[_0x2a0bfa]['redoState']}},_0x230f86=this[_0x3ca5bc(0xd9)][_0x3ca5bc(0xad)](_0x4e7309,_0x1b4298,!0x1),_0x353ce6=this[_0x3ca5bc(0xd9)][_0x3ca5bc(0xad)](_0x2093bd,_0x540b57,!0x1);if(m['isTransformMutationFailure'](_0x230f86))throw _0x230f86[_0x3ca5bc(0xa0)];if(m[_0x3ca5bc(0xa9)](_0x353ce6))throw _0x353ce6[_0x3ca5bc(0xa0)];_0x4e2dbb['unshift']({..._0x3f71cb[_0x2a0bfa],'undoState':_0x230f86[_0x3ca5bc(0x136)]['params'],'redoState':_0x353ce6[_0x3ca5bc(0x136)]['params']}),_0x4e7309=_0x230f86['m1Prime'],_0x2093bd=_0x353ce6[_0x3ca5bc(0x241)];}_0x4e7309=a[_0x3ca5bc(0x25f)][_0x3ca5bc(0x274)](_0x494068[_0x3ca5bc(0x151)][0x0]),_0x2093bd=a['Tools'][_0x3ca5bc(0x274)](_0x494068[_0x3ca5bc(0x151)][0x0]);for(let _0x1ef5a6=_0x42df30[_0x3ca5bc(0x1fe)]-0x1;_0x1ef5a6>=0x0;_0x1ef5a6--){const _0x1a205e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x42df30[_0x1ef5a6][_0x3ca5bc(0x7f)],..._0x42df30[_0x1ef5a6][_0x3ca5bc(0x146)]}},_0x4b0152={'id':_0x3ca5bc(0x2a6),'params':{'unitId':_0x42df30[_0x1ef5a6][_0x3ca5bc(0x7f)],..._0x42df30[_0x1ef5a6][_0x3ca5bc(0x28e)]}},_0x537694=this['_transformService'][_0x3ca5bc(0xad)](_0x4e7309,_0x1a205e,!0x1),_0x28e796=this[_0x3ca5bc(0xd9)][_0x3ca5bc(0xad)](_0x2093bd,_0x4b0152,!0x1);if(m[_0x3ca5bc(0xa9)](_0x537694))throw _0x537694[_0x3ca5bc(0xa0)];if(m[_0x3ca5bc(0xa9)](_0x28e796))throw _0x28e796[_0x3ca5bc(0xa0)];_0x1e0dbb[_0x3ca5bc(0x1ef)]({..._0x42df30[_0x1ef5a6],'undoState':_0x537694['m2Prime'][_0x3ca5bc(0x172)],'redoState':_0x28e796['m2Prime'][_0x3ca5bc(0x172)]}),_0x4e7309=_0x537694['m1Prime'],_0x2093bd=_0x28e796[_0x3ca5bc(0x241)];}this[_0x3ca5bc(0x26e)][_0x3ca5bc(0x27c)](_0x3380df,{'history':_0x4e2dbb,'collaboration':_0x1e0dbb});}};J=Ft([le(0x0,a['Inject'](a[_0x1484f9(0xa4)])),le(0x1,m[_0x1484f9(0x1be)]),le(0x2,a['Inject'](b[_0x1484f9(0x11d)]))],J);var Yt=Object[_0x1484f9(0x21b)],Wt=(_0x17b4c5,_0x21d06b,_0x2bb81d,_0xec6c6a)=>{const _0x504321=_0x1484f9;for(var _0x18d587=_0xec6c6a>0x1?void 0x0:_0xec6c6a?Yt(_0x21d06b,_0x2bb81d):_0x21d06b,_0x4f3070=_0x17b4c5[_0x504321(0x1fe)]-0x1,_0x39f5d5;_0x4f3070>=0x0;_0x4f3070--)(_0x39f5d5=_0x17b4c5[_0x4f3070])&&(_0x18d587=_0x39f5d5(_0x18d587)||_0x18d587);return _0x18d587;},Ne=(_0x1be754,_0x5c3edf)=>(_0x383ae2,_0x123615)=>_0x5c3edf(_0x383ae2,_0x123615,_0x1be754);let Z=class{constructor(_0x296875,_0x45fd8e){const _0x435f8b=_0x1484f9;this[_0x435f8b(0x297)]=_0x296875,this[_0x435f8b(0xd9)]=_0x45fd8e;}['transformSelections'](_0x261d5c){const _0x42ba93=_0x1484f9;var _0x1cc40a;const _0x582027=this[_0x42ba93(0x297)][_0x42ba93(0x242)](Y['DocSelectionManagerService']),_0x1c0a98=(_0x1cc40a=_0x582027[_0x42ba93(0x1f8)]())!=null?_0x1cc40a:[];if(_0x1c0a98['length']===0x0)return;const _0x2181fe=_0x261d5c['unitID'],_0x29f5b4=[{'id':_0x42ba93(0x2a6),'params':{'unitId':_0x2181fe,'actions':null,'textRanges':_0x1c0a98}}],_0x263b33=this[_0x42ba93(0xd9)][_0x42ba93(0x1d4)](_0x261d5c,_0x29f5b4);if(!m[_0x42ba93(0x275)](_0x263b33))throw _0x263b33['error'];const _0x3aa968=_0x263b33['m2Prime'][0x0][_0x42ba93(0x172)][_0x42ba93(0xa2)];Array[_0x42ba93(0x2c2)](_0x3aa968)&&_0x3aa968[_0x42ba93(0x1fe)]&&_0x582027[_0x42ba93(0x225)](_0x3aa968,{'unitId':_0x2181fe,'subUnitId':_0x2181fe},!0x1);}};Z=Wt([Ne(0x0,a[_0x1484f9(0x252)](a[_0x1484f9(0xa4)])),Ne(0x1,m[_0x1484f9(0x1be)])],Z);var Vt=Object[_0x1484f9(0x21b)],Xt=(_0x16c981,_0x2834b3,_0x221cf3,_0xb4d669)=>{const _0x6166b1=_0x1484f9;for(var _0x5cc9ac=_0xb4d669>0x1?void 0x0:_0xb4d669?Vt(_0x2834b3,_0x221cf3):_0x2834b3,_0x7bb98c=_0x16c981[_0x6166b1(0x1fe)]-0x1,_0x46883c;_0x7bb98c>=0x0;_0x7bb98c--)(_0x46883c=_0x16c981[_0x7bb98c])&&(_0x5cc9ac=_0x46883c(_0x5cc9ac)||_0x5cc9ac);return _0x5cc9ac;},N=(_0x4f0593,_0x4e9b60)=>(_0x348648,_0x24e174)=>_0x4e9b60(_0x348648,_0x24e174,_0x4f0593);let Q=class extends a[_0x1484f9(0x293)]{constructor(_0x3810c8,_0x48c8eb,_0x3f415e,_0x1d6827,_0x4c02f6,_0x9571d0,_0x7675c7,_0x1c70ac){const _0x3fda1c=_0x1484f9;super(),h(this,'_status$',new d[(_0x3fda1c(0x21d))](u[_0x3fda1c(0xac)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x3810c8,this[_0x3fda1c(0x203)]=_0x48c8eb,this[_0x3fda1c(0x2e7)]=_0x3f415e,this[_0x3fda1c(0x2a0)]=_0x1d6827,this[_0x3fda1c(0xc2)]=_0x4c02f6,this[_0x3fda1c(0xf5)]=_0x9571d0,this[_0x3fda1c(0xce)]=_0x7675c7,this[_0x3fda1c(0x286)]=_0x1c70ac,this[_0x3fda1c(0x288)]());}[_0x1484f9(0x288)](){const _0x51b7a5=_0x1484f9;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0x51b7a5(0x2d1)](_0xf0a20a=>{const _0x148262=_0x51b7a5,_0x14e8fc=this[_0x148262(0x26e)][_0x148262(0x12e)][_0x148262(0x2d1)](_0x2a37ca=>{const _0x3dde0e=_0x148262;if(_0x2a37ca==null)return;const {unitId:_0xb85e0c,redoState:_0x1a3792,commandId:_0x37375f}=_0x2a37ca;if(_0xb85e0c!==_0xf0a20a['unitID'])return;const _0x46c96e={'id':_0x37375f,'type':a['CommandType']['MUTATION'],'params':{'unitId':_0xb85e0c,'actions':_0x1a3792['actions'],'textRanges':null}};_0xf0a20a[_0x3dde0e(0x188)](_0x46c96e);});if(_0xf0a20a[_0x148262(0x161)](_0x14e8fc),_0xf0a20a instanceof u['DocCollaborationEntity']){const _0x1945df={'onTransformIME':_0x14a89a=>this[_0x148262(0x2e7)]['transformIMECache'](_0x14a89a),'onTransformState':_0xc7ecba=>this['_docTransformStateCacheService']['transformStateCache'](_0xc7ecba),'onTransformSelections':_0x5bddbd=>this[_0x148262(0xc2)][_0x148262(0x98)](_0x5bddbd),'onSyncEditingCollabCursor':_0x233a3e=>this[_0x148262(0xf5)][_0x148262(0x246)](_0x233a3e),'onTransformRemoteChangesetByIMECache':_0x2b6cfe=>this[_0x148262(0x2e7)][_0x148262(0x2a1)](_0x2b6cfe),'onTransformRemoteChangesetByStateCache':_0x39ac0b=>this[_0x148262(0x2a0)][_0x148262(0x2a1)](_0x39ac0b)};_0xf0a20a[_0x148262(0x220)](_0x1945df);}}));}};Q=Xt([N(0x0,a[_0x1484f9(0x252)](b[_0x1484f9(0x11d)])),N(0x1,a[_0x1484f9(0x252)](u['CollaborationController'])),N(0x2,a[_0x1484f9(0x252)](z)),N(0x3,a[_0x1484f9(0x252)](J)),N(0x4,a['Inject'](Z)),N(0x5,a[_0x1484f9(0x252)](Ce)),N(0x6,T[_0x1484f9(0x2f1)]),N(0x7,a[_0x1484f9(0x252)](a[_0x1484f9(0x18e)]))],Q);function _0x1dbb(_0x8e2038,_0x273c89){const _0x22593d=_0x2259();return _0x1dbb=function(_0x1dbb15,_0x39feb6){_0x1dbb15=_0x1dbb15-0x65;let _0x1a3bb1=_0x22593d[_0x1dbb15];return _0x1a3bb1;},_0x1dbb(_0x8e2038,_0x273c89);}var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x225388,_0x3764e0,_0x54cafa,_0x57f2a1)=>{const _0xa534a3=_0x1484f9;for(var _0x4b704c=_0x57f2a1>0x1?void 0x0:_0x57f2a1?Gt(_0x3764e0,_0x54cafa):_0x3764e0,_0x27ad08=_0x225388[_0xa534a3(0x1fe)]-0x1,_0x24485d;_0x27ad08>=0x0;_0x27ad08--)(_0x24485d=_0x225388[_0x27ad08])&&(_0x4b704c=_0x24485d(_0x4b704c)||_0x4b704c);return _0x4b704c;},_e=(_0x57872b,_0x99044b)=>(_0x3b231d,_0x2540a0)=>_0x99044b(_0x3b231d,_0x2540a0,_0x57872b);let ge=class extends a[_0x1484f9(0x293)]{constructor(_0x4a62fa,_0x502878,_0x229a61){const _0x239390=_0x1484f9;super(),h(this,'_cachedData',new Map()),h(this,_0x239390(0xf8),new Map()),h(this,_0x239390(0x2ce),!0x1),(this['_configService']=_0x4a62fa,this[_0x239390(0x1a3)]=_0x502878,this['_revisionService']=_0x229a61);}[_0x1484f9(0x2c3)](){const _0x231420=_0x1484f9;this[_0x231420(0x2ce)]=!0x0;}[_0x1484f9(0x104)](){const _0x56574c=_0x1484f9;this[_0x56574c(0x2ce)]=!0x1;}get[_0x1484f9(0xf6)](){return this['_saveTaskMap'];}[_0x1484f9(0x192)](){const _0x22c7aa=_0x1484f9;this[_0x22c7aa(0x256)]()[_0x22c7aa(0x1aa)](()=>super[_0x22c7aa(0x192)]());}async[_0x1484f9(0x2cf)](_0x2e7bea){const _0x1efb7c=_0x1484f9;return this[_0x1efb7c(0x2ce)]?null:this[_0x1efb7c(0x1a3)][_0x1efb7c(0x165)](u[_0x1efb7c(0x10b)](_0x2e7bea));}async['saveOfflineData'](_0x55b7f2,_0x16557e){const _0x2b604b=_0x1484f9;return!!this[_0x2b604b(0x1a3)]['setItem'](_0x55b7f2,_0x16557e);}[_0x1484f9(0xc0)](_0x17c060,_0x1e7acb,_0x50d309,_0x3da3bd){const _0x1e892d=_0x1484f9,_0x39d48a=this[_0x1e892d(0x129)][_0x1e892d(0x183)](_0x17c060);this['_cachedData'][_0x1e892d(0x2df)](_0x17c060,{'unitID':_0x17c060,'type':_0x1e7acb,'awaitingChangeset':_0x50d309,'mutations':_0x3da3bd,'rev':_0x39d48a}),this[_0x1e892d(0xf8)][_0x1e892d(0x17c)](_0x17c060)||this[_0x1e892d(0x10c)](_0x17c060);}['_scheduleSaving'](_0x261c17){const _0x2ee473=_0x1484f9,_0x47ed59=this[_0x2ee473(0x158)]();_0x47ed59===0x0?this[_0x2ee473(0x202)](_0x261c17):this[_0x2ee473(0xf8)][_0x2ee473(0x2df)](_0x261c17,setTimeout(()=>this[_0x2ee473(0x202)](_0x261c17),_0x47ed59));}[_0x1484f9(0x158)](){const _0x315921=_0x1484f9;var _0x1da873;return(_0x1da873=this[_0x315921(0x245)][_0x315921(0x244)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x1da873:u[_0x315921(0x19e)];}['_saveCache'](_0x131b10){const _0x419352=_0x1484f9,_0x120237=this[_0x419352(0xf8)][_0x419352(0x242)](_0x131b10);return _0x120237!==void 0x0&&window[_0x419352(0x1b5)](_0x120237),this[_0x419352(0x1a3)][_0x419352(0x2bb)](u[_0x419352(0x10b)](_0x131b10),this['_cachedData'][_0x419352(0x242)](_0x131b10))['then'](()=>this[_0x419352(0xf8)][_0x419352(0x80)](_0x131b10));}async['exhaustSavingTask'](){const _0x346ccf=_0x1484f9,_0x58bd83=[];this[_0x346ccf(0xf8)]['forEach']((_0x3b6db7,_0x36503b)=>{const _0x15796b=_0x346ccf;window[_0x15796b(0x1b5)](_0x3b6db7),_0x58bd83['push'](this[_0x15796b(0x202)](_0x36503b)[_0x15796b(0x1aa)](()=>{const _0x58a8d5=_0x15796b;this[_0x58a8d5(0xf8)][_0x58a8d5(0x80)](_0x36503b);}));}),await Promise[_0x346ccf(0x12c)](_0x58bd83);}};ge=Kt([_e(0x0,a['IConfigService']),_e(0x1,a[_0x1484f9(0x251)]),_e(0x2,a[_0x1484f9(0x252)](m[_0x1484f9(0x2c6)]))],ge);class je extends a[_0x1484f9(0x1fc)]{constructor(){const _0x2cb2a3=_0x1484f9;super(),h(this,_0x2cb2a3(0x2b6)),this['urlChange$']=d[_0x2cb2a3(0x1cc)](window,_0x2cb2a3(0xd4))[_0x2cb2a3(0xe6)](d[_0x2cb2a3(0xbb)](this[_0x2cb2a3(0x1de)]),d[_0x2cb2a3(0x198)](0x1),d['mapTo'](void 0x0));}[_0x1484f9(0x1e1)](_0x21e7f7,_0x44e970,_0x1113f2=!0x1){const _0xefae79=_0x1484f9,_0x5c919b=new URL(window[_0xefae79(0x2da)]['href']);_0x5c919b[_0xefae79(0x163)][_0xefae79(0x2df)](_0x21e7f7,_0x44e970),_0x1113f2?window[_0xefae79(0x2e1)][_0xefae79(0x250)]('','',_0x5c919b[_0xefae79(0x210)]()):window[_0xefae79(0x2e1)][_0xefae79(0x2ef)]('','',_0x5c919b[_0xefae79(0x210)]());}[_0x1484f9(0x2bd)](_0x28faa6,_0x23c951=!0x1){const _0xfb17c8=_0x1484f9,_0x38f641=new URL(window[_0xfb17c8(0x2da)][_0xfb17c8(0x290)]);_0x38f641[_0xfb17c8(0x163)][_0xfb17c8(0x80)](_0x28faa6),_0x23c951?window[_0xfb17c8(0x2e1)]['replaceState']('','',_0x38f641['toString']()):window[_0xfb17c8(0x2e1)][_0xfb17c8(0x2ef)]('','',_0x38f641['toString']());}[_0x1484f9(0x1f1)](_0x4c452a){const _0x1b0bb0=_0x1484f9;var _0x44af6b;return(_0x44af6b=new URL(window[_0x1b0bb0(0x2da)][_0x1b0bb0(0x290)])[_0x1b0bb0(0x163)]['get'](_0x4c452a))!=null?_0x44af6b:void 0x0;}}var qt=Object[_0x1484f9(0x209)],zt=Object[_0x1484f9(0x21b)],Jt=(_0x38e051,_0x2cdb63,_0x4df189)=>_0x2cdb63 in _0x38e051?qt(_0x38e051,_0x2cdb63,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4df189}):_0x38e051[_0x2cdb63]=_0x4df189,Zt=(_0x56016f,_0x6c8650,_0x170287,_0x4857f7)=>{const _0x3583e1=_0x1484f9;for(var _0x408324=_0x4857f7>0x1?void 0x0:_0x4857f7?zt(_0x6c8650,_0x170287):_0x6c8650,_0x50ad77=_0x56016f[_0x3583e1(0x1fe)]-0x1,_0x2ef0f3;_0x50ad77>=0x0;_0x50ad77--)(_0x2ef0f3=_0x56016f[_0x50ad77])&&(_0x408324=_0x2ef0f3(_0x408324)||_0x408324);return _0x408324;},he=(_0x3d538e,_0x2e941f)=>(_0x1ec563,_0x4c42b4)=>_0x2e941f(_0x1ec563,_0x4c42b4,_0x3d538e),Qt=(_0x290ac5,_0x2740c0,_0x26869b)=>Jt(_0x290ac5,_0x2740c0+'',_0x26869b);const es=_0x1484f9(0xc9);exports[_0x1484f9(0x191)]=class extends a['Plugin']{constructor(_0x11ff4d=Ue,_0x588b1b,_0x3d8f41,_0x1ea9c0){const _0x29e764=_0x1484f9;super(),this['_config']=_0x11ff4d,this['_renderManagerService']=_0x588b1b,this['_injector']=_0x3d8f41,this[_0x29e764(0x245)]=_0x1ea9c0;const {..._0x331cb4}=a[_0x29e764(0x92)]({},Ue,this['_config']);this[_0x29e764(0x245)]['setConfig']($t,_0x331cb4);}[_0x1484f9(0x1e9)](){const _0x2ac004=_0x1484f9;this[_0x2ac004(0xe0)](),this['_initDependencies']();}[_0x1484f9(0x1c5)](){this['_registerRenderDependencies']();}[_0x1484f9(0xe0)](){const _0x4264ee=_0x1484f9;var _0x49dfa5;const _0x4bce5a=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G[_0x4264ee(0x2b2)],{'useClass':G[_0x4264ee(0x1ae)]}],[u['ILocalCacheService'],{'useClass':ge}],[exports[_0x4264ee(0xdc)]],[Q],[q],[x],[de],[exports[_0x4264ee(0x171)]]];a[_0x4264ee(0x7a)](this['_injector'],a[_0x4264ee(0x228)](_0x4bce5a,(_0x49dfa5=this[_0x4264ee(0x1c6)])==null?void 0x0:_0x49dfa5[_0x4264ee(0x24b)]));}['_registerRenderDependencies'](){const _0x49ed83=_0x1484f9;this['disposeWithMe'](this[_0x49ed83(0x111)][_0x49ed83(0x289)](a[_0x49ed83(0x2c5)][_0x49ed83(0x11e)],[Ie])),this['disposeWithMe'](this[_0x49ed83(0x111)][_0x49ed83(0x289)](a[_0x49ed83(0x2c5)]['UNIVER_SHEET'],[ve]));}[_0x1484f9(0x11a)](){const _0x3420ce=_0x1484f9;a[_0x3420ce(0x1f4)](this['_injector'],[[x],[exports[_0x3420ce(0xdc)]],[Q],[q],[exports[_0x3420ce(0x171)]]]);}},Qt(exports[_0x1484f9(0x191)],_0x1484f9(0x2d7),es),exports[_0x1484f9(0x191)]=Zt([a['DependentOn'](u[_0x1484f9(0x121)]),he(0x1,p[_0x1484f9(0x112)]),he(0x2,a[_0x1484f9(0x252)](a[_0x1484f9(0xa4)])),he(0x3,a[_0x1484f9(0x138)])],exports[_0x1484f9(0x191)]);var ts=Object[_0x1484f9(0x21b)],ss=(_0x7c4df,_0x29a1a8,_0xdf7cc3,_0x3deb5d)=>{for(var _0x50341e=_0x3deb5d>0x1?void 0x0:_0x3deb5d?ts(_0x29a1a8,_0xdf7cc3):_0x29a1a8,_0x119891=_0x7c4df['length']-0x1,_0x4eed77;_0x119891>=0x0;_0x119891--)(_0x4eed77=_0x7c4df[_0x119891])&&(_0x50341e=_0x4eed77(_0x50341e)||_0x50341e);return _0x50341e;},F=(_0x27d2f9,_0x597e9f)=>(_0xb06d60,_0xe6cc87)=>_0x597e9f(_0xb06d60,_0xe6cc87,_0x27d2f9);exports[_0x1484f9(0xed)]=class extends u[_0x1484f9(0x2d3)]{constructor(_0x3ab888,_0x7c8606,_0x1544bc,_0x3cddb7,_0x55317e){super(_0x3ab888,_0x7c8606,_0x1544bc,_0x3cddb7,_0x55317e);}async[_0x1484f9(0x2db)](_0x1be6b8){const _0x4630ce=_0x1484f9,_0x23b384=await this[_0x4630ce(0xff)](),_0x5c19a3=this[_0x4630ce(0x2ca)](_0x1be6b8,_0x23b384);return this[_0x4630ce(0xb1)](_0x5c19a3);}[_0x1484f9(0x2ca)](_0xcc77cb,_0x100078){const _0xbde4b=_0x1484f9,_0x55fda2=typeof window>'u'?new URL(_0xcc77cb):new URL(_0xcc77cb,window['location'][_0xbde4b(0x29d)]);_0x55fda2[_0xbde4b(0x163)]['set'](_0xbde4b(0xaf),_0x100078);const _0x42ed6a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xbde4b(0x1ed)]);return _0x42ed6a[_0xbde4b(0x242)]('runId')&&_0x55fda2[_0xbde4b(0x163)][_0xbde4b(0x2df)](_0xbde4b(0x155),_0x42ed6a['get'](_0xbde4b(0x155))),_0x55fda2[_0xbde4b(0x210)]();}async['_getSessionTicket'](){const _0x252657=_0x1484f9;var _0x3f58c3,_0x94c2bd,_0x36f22f;const _0x277317=this[_0x252657(0x245)][_0x252657(0x244)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x490f41=(_0x3f58c3=_0x277317==null?void 0x0:_0x277317['wsSessionTicketUrl'])!=null?_0x3f58c3:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x36f22f=(_0x94c2bd=(await this[_0x252657(0x1f3)][_0x252657(0x242)](_0x490f41,{'headers':{'Content-Type':_0x252657(0x287)}}))[_0x252657(0x1b6)])==null?void 0x0:_0x94c2bd[_0x252657(0x18b)])!=null?_0x36f22f:'';}},exports['BrowserCollaborationSocketService']=ss([F(0x0,a[_0x1484f9(0x252)](a['Injector'])),F(0x1,a[_0x1484f9(0x252)](G[_0x1484f9(0x16a)])),F(0x2,a['IConfigService']),F(0x3,a[_0x1484f9(0x1c8)]),F(0x4,m['ISnapshotServerService'])],exports[_0x1484f9(0xed)]);const Me=0x7530,Le='ACTIVE_UNIT_EVENT_CHANNEL';class is extends a[_0x1484f9(0x293)]{constructor(){const _0x488b37=_0x1484f9;super(),h(this,_0x488b37(0x154),a[_0x488b37(0xef)]()),h(this,_0x488b37(0x1ad),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x488b37(0x65),null),h(this,'_clearOtherTimers',new Map()),h(this,_0x488b37(0x2dc),new Map()),this['_init']();}[_0x1484f9(0x192)](){const _0x380cbb=_0x1484f9;super[_0x380cbb(0x192)](),this[_0x380cbb(0x24f)][_0x380cbb(0x19b)]((_0x5186ef,_0x349517)=>this[_0x380cbb(0x264)](_0x349517)),this[_0x380cbb(0x65)]&&window[_0x380cbb(0x1d7)](this[_0x380cbb(0x65)]);}[_0x1484f9(0x13e)](_0x4ef049){const _0x4aae28=_0x1484f9;return this['_ensureSubject'](_0x4ef049)[_0x4aae28(0xe6)](d[_0x4aae28(0xaa)]());}['editingUnit'](_0x118e4f){const _0x49dc5d=_0x1484f9;this[_0x49dc5d(0x1ad)][_0x49dc5d(0x81)]===0x0&&this['_scheduleHeartbeat'](),this[_0x49dc5d(0x1ad)][_0x49dc5d(0xa7)](_0x118e4f),this[_0x49dc5d(0x160)]({'type':0x0,'memberID':this[_0x49dc5d(0x154)],'unitIDs':[_0x118e4f],'isForwarded':!0x1});}[_0x1484f9(0x269)](_0x3674aa){const _0x27f9d5=_0x1484f9;this[_0x27f9d5(0x1ad)][_0x27f9d5(0x80)](_0x3674aa),this['_selfUnitIDs'][_0x27f9d5(0x81)]===0x0&&this[_0x27f9d5(0x65)]&&window[_0x27f9d5(0x1d7)](this[_0x27f9d5(0x65)]);}['_init'](){const _0x374eca=_0x1484f9;this[_0x374eca(0x161)](a[_0x374eca(0x207)](d['fromEvent'](window,_0x374eca(0x181))['subscribe'](_0x4cfea0=>{const _0x2e94f0=_0x374eca;if(_0x4cfea0[_0x2e94f0(0xcb)]!==Le||!_0x4cfea0['newValue'])return;const _0x1079b5=JSON[_0x2e94f0(0x82)](_0x4cfea0['newValue']);this[_0x2e94f0(0x222)](_0x1079b5);}))),window[_0x374eca(0xbf)](_0x374eca(0x281),()=>this[_0x374eca(0x160)]({'type':0x1,'memberID':this[_0x374eca(0x154)],'unitIDs':Array['from'](this[_0x374eca(0x1ad)])}));}['_handleEvent'](_0x6080df){const _0x18af6d=_0x1484f9;switch(_0x6080df[_0x18af6d(0x1b9)]){case 0x0:this['_handleJoinEvent'](_0x6080df);break;case 0x1:this[_0x18af6d(0x262)](_0x6080df);break;case 0x2:this[_0x18af6d(0x1c9)](_0x6080df);break;}}[_0x1484f9(0x1e4)](_0x125f0c){const _0x39a9a0=_0x1484f9,{unitIDs:_0x482252,memberID:_0x5c80e0,isForwarded:_0x2e8d53}=_0x125f0c;_0x482252[_0x39a9a0(0x19b)](_0x36d98e=>{const _0x3852cc=_0x39a9a0;if(!_0x2e8d53&&this[_0x3852cc(0xe5)]['has'](_0x36d98e)&&this[_0x3852cc(0x119)](_0x36d98e)[_0x3852cc(0x16b)](u['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x3852cc(0xe5)][_0x3852cc(0x17c)](_0x36d98e)||!this[_0x3852cc(0xe5)]['get'](_0x36d98e)[_0x3852cc(0x17c)](_0x5c80e0)){const _0x235a5c=this['_unitOnClients'][_0x3852cc(0x242)](_0x36d98e)||new Set();_0x235a5c['add'](_0x5c80e0),this[_0x3852cc(0xe5)][_0x3852cc(0x2df)](_0x36d98e,_0x235a5c),this[_0x3852cc(0x14b)](_0x5c80e0);}}),_0x2e8d53||this[_0x39a9a0(0x160)]({'type':0x0,'memberID':this[_0x39a9a0(0x154)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x1484f9(0x14b)](_0x2c8090){const _0x8afacd=_0x1484f9;this[_0x8afacd(0x264)](_0x2c8090);const _0xf09c87=window[_0x8afacd(0x1e2)](()=>{const _0x214d0b=_0x8afacd;this[_0x214d0b(0xe5)][_0x214d0b(0x19b)](_0x5e7aa6=>{const _0x18f8fe=_0x214d0b;_0x5e7aa6[_0x18f8fe(0x80)](_0x2c8090);});},Me*0x2);this[_0x8afacd(0x24f)][_0x8afacd(0x2df)](_0x2c8090,_0xf09c87);}['_removeClearOtherTimer'](_0x101fff){const _0x5dc855=_0x1484f9;if(this[_0x5dc855(0x24f)][_0x5dc855(0x17c)](_0x101fff)){const _0x5da908=this['_clearOtherTimers'][_0x5dc855(0x242)](_0x101fff);_0x5da908&&window[_0x5dc855(0x1b5)](_0x5da908),this[_0x5dc855(0x24f)]['set'](_0x101fff,null);}}[_0x1484f9(0x262)](_0x2b0e80){const _0x412ffc=_0x1484f9,{memberID:_0x230faf,unitIDs:_0x1b260b}=_0x2b0e80;_0x1b260b[_0x412ffc(0x19b)](_0x366aa0=>{const _0x2f0003=_0x412ffc;var _0x25c111;const _0x122440=this[_0x2f0003(0xe5)][_0x2f0003(0x242)](_0x366aa0);_0x122440&&(_0x122440[_0x2f0003(0x80)](_0x230faf),(_0x25c111=this['_ensureSubject'](_0x366aa0))==null||_0x25c111[_0x2f0003(0x16b)](_0x122440[_0x2f0003(0x81)]===0x0?u['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:u[_0x2f0003(0x2d6)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x230faf);}[_0x1484f9(0x1c9)](_0x2154eb){const _0x46ab4c=_0x1484f9;this[_0x46ab4c(0x14b)](_0x2154eb[_0x46ab4c(0xb7)]);}[_0x1484f9(0x160)](_0x3b47ea){const _0x35bc06=_0x1484f9;localStorage['setItem'](Le,JSON[_0x35bc06(0x8a)](_0x3b47ea));}['_scheduleHeartbeat'](){const _0x27979a=_0x1484f9;this[_0x27979a(0x65)]=window[_0x27979a(0xea)](()=>{const _0x1f06ea=_0x27979a;this[_0x1f06ea(0x160)]({'type':0x2,'memberID':this[_0x1f06ea(0x154)]});},Me);}[_0x1484f9(0x119)](_0x2d814e){const _0x2ff263=_0x1484f9;return this[_0x2ff263(0x2dc)][_0x2ff263(0x17c)](_0x2d814e)||this[_0x2ff263(0x2dc)][_0x2ff263(0x2df)](_0x2d814e,new d[(_0x2ff263(0x21d))](u[_0x2ff263(0x2d6)][_0x2ff263(0x10f)])),this['_unitStatus'][_0x2ff263(0x242)](_0x2d814e);}}var Be=(_0x4b39f0=>(_0x4b39f0[_0x4b39f0[_0x1484f9(0x144)]=0x0]=_0x1484f9(0x144),_0x4b39f0[_0x4b39f0['OK']=0x1]='OK',_0x4b39f0[_0x4b39f0[_0x1484f9(0x141)]=0x2]='INTERNAL_ERROR',_0x4b39f0[_0x4b39f0[_0x1484f9(0x103)]=0x3]=_0x1484f9(0x103),_0x4b39f0[_0x4b39f0['NOT_FOUND']=0x4]=_0x1484f9(0x12d),_0x4b39f0[_0x4b39f0['UNAUTHENTICATED']=0x5]=_0x1484f9(0xbe),_0x4b39f0[_0x4b39f0['ALREADY_EXISTS']=0x6]=_0x1484f9(0xcc),_0x4b39f0[_0x4b39f0[_0x1484f9(0xe4)]=0x7]='INVALID_ARGUMENT',_0x4b39f0[_0x4b39f0[_0x1484f9(0x131)]=0x8]=_0x1484f9(0x131),_0x4b39f0[_0x4b39f0[_0x1484f9(0x2ea)]=0x9]=_0x1484f9(0x2ea),_0x4b39f0[_0x4b39f0[_0x1484f9(0x204)]=0xa]=_0x1484f9(0x204),_0x4b39f0[_0x4b39f0[_0x1484f9(0x216)]=0x1389]=_0x1484f9(0x216),_0x4b39f0[_0x4b39f0[_0x1484f9(0x13c)]=0x1771]=_0x1484f9(0x13c),_0x4b39f0[_0x4b39f0[_0x1484f9(0x17d)]=0x1772]=_0x1484f9(0x17d),_0x4b39f0[_0x4b39f0[_0x1484f9(0x173)]=0x1773]=_0x1484f9(0x173),_0x4b39f0[_0x4b39f0[_0x1484f9(0x7c)]=0x1b59]=_0x1484f9(0x7c),_0x4b39f0[_0x4b39f0[_0x1484f9(0x16e)]=0x1b5a]=_0x1484f9(0x16e),_0x4b39f0[_0x4b39f0[_0x1484f9(0x137)]=0x1b5b]=_0x1484f9(0x137),_0x4b39f0[_0x4b39f0[_0x1484f9(0x16c)]=0x1b5c]=_0x1484f9(0x16c),_0x4b39f0[_0x4b39f0[_0x1484f9(0x101)]=0x1b5d]=_0x1484f9(0x101),_0x4b39f0[_0x4b39f0[_0x1484f9(0x1cb)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x4b39f0[_0x4b39f0[_0x1484f9(0xa6)]=0x2329]=_0x1484f9(0xa6),_0x4b39f0[_0x4b39f0['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1484f9(0x88),_0x4b39f0[_0x4b39f0['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x1484f9(0x106),_0x4b39f0[_0x4b39f0[_0x1484f9(0x29a)]=0x232c]=_0x1484f9(0x29a),_0x4b39f0[_0x4b39f0[_0x1484f9(0x263)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4b39f0[_0x4b39f0[_0x1484f9(0x2e4)]=0x2711]=_0x1484f9(0x2e4),_0x4b39f0[_0x4b39f0[_0x1484f9(0x22a)]=0x2712]=_0x1484f9(0x22a),_0x4b39f0[_0x4b39f0[_0x1484f9(0x9f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4b39f0[_0x4b39f0[_0x1484f9(0x187)]=0x2714]=_0x1484f9(0x187),_0x4b39f0[_0x4b39f0[_0x1484f9(0x2e8)]=0x271a]=_0x1484f9(0x2e8),_0x4b39f0[_0x4b39f0[_0x1484f9(0x6a)]=0x271b]=_0x1484f9(0x6a),_0x4b39f0[_0x4b39f0[_0x1484f9(0x1ac)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4b39f0[_0x4b39f0[_0x1484f9(0x120)]=0x271d]=_0x1484f9(0x120),_0x4b39f0[_0x4b39f0[_0x1484f9(0x102)]=0x271e]=_0x1484f9(0x102),_0x4b39f0[_0x4b39f0['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1484f9(0x2d8),_0x4b39f0[_0x4b39f0[_0x1484f9(0x2be)]=0x2af9]=_0x1484f9(0x2be),_0x4b39f0[_0x4b39f0[_0x1484f9(0x126)]=0x2ee1]=_0x1484f9(0x126),_0x4b39f0[_0x4b39f0[_0x1484f9(0x13f)]=0x2ee2]=_0x1484f9(0x13f),_0x4b39f0[_0x4b39f0[_0x1484f9(0xc6)]=0x2ee3]=_0x1484f9(0xc6),_0x4b39f0[_0x4b39f0['USER_NOT_INVITED_CODE']=0x2ee4]=_0x1484f9(0x17f),_0x4b39f0[_0x4b39f0['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1484f9(0x7b),_0x4b39f0[_0x4b39f0['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4b39f0[_0x4b39f0['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x1484f9(0x231),_0x4b39f0[_0x4b39f0[_0x1484f9(0x2c8)]=0x32cb]=_0x1484f9(0x2c8),_0x4b39f0[_0x4b39f0[_0x1484f9(0x21e)]=-0x1]=_0x1484f9(0x21e),_0x4b39f0))(Be||{}),ns=Object['getOwnPropertyDescriptor'],rs=(_0x3659fe,_0x2ac542,_0x4157e2,_0xf7300a)=>{const _0x137b64=_0x1484f9;for(var _0x3a205a=_0xf7300a>0x1?void 0x0:_0xf7300a?ns(_0x2ac542,_0x4157e2):_0x2ac542,_0x315103=_0x3659fe[_0x137b64(0x1fe)]-0x1,_0x4cc0e7;_0x315103>=0x0;_0x315103--)(_0x4cc0e7=_0x3659fe[_0x315103])&&(_0x3a205a=_0x4cc0e7(_0x3a205a)||_0x3a205a);return _0x3a205a;},ue=(_0x591206,_0x1ec500)=>(_0xa1969d,_0x42c316)=>_0x1ec500(_0xa1969d,_0x42c316,_0x591206);exports[_0x1484f9(0xec)]=class extends a[_0x1484f9(0x293)]{constructor(_0x492f41,_0x3fc99d,_0x1452fa){const _0x21e58d=_0x1484f9;super(),this[_0x21e58d(0x1dd)]=_0x492f41,this['_httpService']=_0x3fc99d,this[_0x21e58d(0x245)]=_0x1452fa;}async[_0x1484f9(0x1f7)](_0x121422,_0xeace27,_0x237200,..._0x1be8b9){const _0x2f9a54=_0x1484f9;var _0x353f8b,_0x503b57,_0x2b736e,_0x11e1b0;const _0x445aa4=this[_0x2f9a54(0x1dd)]['getFocusedUnit']();if(!_0x445aa4)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2b8397=((_0x353f8b=this[_0x2f9a54(0x245)]['getConfig'](u[_0x2f9a54(0x27a)]))!=null?_0x353f8b:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x121422+'/run/'+_0xeace27,_0x1588a8=new URL(window[_0x2f9a54(0x2da)][_0x2f9a54(0x290)]),_0x568afc={'scriptId':_0x121422,'runId':(_0x503b57=_0x1588a8[_0x2f9a54(0x163)][_0x2f9a54(0x242)](_0x2f9a54(0x155)))!=null?_0x503b57:'','function':_0xeace27,'unitId':_0x445aa4[_0x2f9a54(0x170)](),'argsOfFunction':JSON[_0x2f9a54(0x8a)](_0x1be8b9),'invokeId':(_0x2b736e=_0x237200['invokeId'])!=null?_0x2b736e:'','executionId':(_0x11e1b0=_0x237200['executionId'])!=null?_0x11e1b0:''};try{const _0x319ceb=await this[_0x2f9a54(0x1f3)]['post'](_0x2b8397,{'body':_0x568afc});return _0x319ceb['body'][_0x2f9a54(0xa0)]&&_0x319ceb[_0x2f9a54(0x1b6)][_0x2f9a54(0xa0)][_0x2f9a54(0x66)]!==Be['OK']?_0x2f9a54(0x1eb):_0x319ceb[_0x2f9a54(0x1b6)][_0x2f9a54(0x298)];}catch{return _0x2f9a54(0x1eb);}}},exports[_0x1484f9(0xec)]=rs([ue(0x0,a[_0x1484f9(0x1a1)]),ue(0x1,a[_0x1484f9(0x252)](G[_0x1484f9(0x16a)])),ue(0x2,a[_0x1484f9(0x138)])],exports[_0x1484f9(0xec)]),exports['CollaborationStatusDisplay']=xe,exports[_0x1484f9(0xf4)]=be,exports[_0x1484f9(0x2e9)]=Pe,exports[_0x1484f9(0x280)]=is,exports[_0x1484f9(0x1ff)]=je;
1
+ 'use strict';const _0x4ba9c1=_0x167f;(function(_0x7552a5,_0x4881ff){const _0x3f4220=_0x167f,_0x3aee04=_0x7552a5();while(!![]){try{const _0x39bacf=-parseInt(_0x3f4220(0x13c))/0x1*(-parseInt(_0x3f4220(0x1a8))/0x2)+-parseInt(_0x3f4220(0x21e))/0x3*(-parseInt(_0x3f4220(0x17d))/0x4)+parseInt(_0x3f4220(0x17e))/0x5+parseInt(_0x3f4220(0x28f))/0x6+parseInt(_0x3f4220(0x1ff))/0x7+-parseInt(_0x3f4220(0x206))/0x8+-parseInt(_0x3f4220(0x2a3))/0x9;if(_0x39bacf===_0x4881ff)break;else _0x3aee04['push'](_0x3aee04['shift']());}catch(_0x4f0839){_0x3aee04['push'](_0x3aee04['shift']());}}}(_0x2196,0x370c0));var Ve=Object[_0x4ba9c1(0x1cd)],Xe=(_0x18b4ba,_0x3c7b52,_0x1b83ad)=>_0x3c7b52 in _0x18b4ba?Ve(_0x18b4ba,_0x3c7b52,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b83ad}):_0x18b4ba[_0x3c7b52]=_0x1b83ad,h=(_0xca1d55,_0x4ab472,_0x38bdd3)=>Xe(_0xca1d55,typeof _0x4ab472!=_0x4ba9c1(0x2d6)?_0x4ab472+'':_0x4ab472,_0x38bdd3);function _0x2196(){const _0xa70edc=['_removeCollabCursors','_commandService','IRemoteInstanceService','propertyIsEnumerable','redoState','closePath','beginPath','_getScale','setUndoRedoMutationParamsCache','CollaborationStatus','NOT_COLLAB','Unknown\x20user','enableLocalCache','isTransformMutationsWithChangesetSuccess','Injector','_createSocketURL','toDisposable','_render','indexOf','touchDependencies','unshift','_selfUnitIDs','searchParams','div','complete','apply','from','Disposable','evenodd','CONNECTOR_DATA_TOO_LARGE','_configService','Workbook','_cursorInfo$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_cachedData','subunit','_memberService','Tools','_collaborationUIEventService','VIEW_MAIN','updateOfflineData','getCurrentRevOfUnit','_updateLocalCursor','435cZDLOj','_initStatusListener','_revisionService','@univerjs/sheets','getActiveSheet','getValue','random','setActiveRange','CHANGESET_REVISION_CONFILICT','USERS_LEAVE','_name','USER_NOT_INVITED_CODE','_setupSubUnitSync','collab-rect-range-','transformStateCache','setTimeout','CollaborationController','@univerjs/ui','IConfigService','arc','_sheetSkeletonManagerService','getCurrentSelections','removeParam','all','getColor','registerBeforeClose','JOIN_ROOM_FAILED','@univerjs/core','translate(.97)','concat','toString','onCommandExecuted','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','data','SUBMIT_CHANGESET_TIMEOUT','YUUMI_URL_COL_OUT_OF_RANGE','/run/','params','collaboration-client.offline-data-not-saved','COLORS','_localStorageService','_collabCursorState$','InsertColCommandId','getCurrent','then','startColumn','ticket','entityInit$','transformSelections','SOCKET_FAILED','getUndoRedoMutationParamsCache','replaceDocRanges','unsubscribe','_unitStatus','sessionStatus$','collaboration.single-unit.warning','YUUMI_NO_CUBOID_FOR_QUESTION','deepClone','moveTo','_transformService','toRgbString','getLocalCacheKey','DocCollaborationEntity','get','_getAnchorBounding','17568HVUWfl','553185tVjQnw','unitId','YUUMI_AI_RUN_FAILED','white','onPointerEnter$','_hover','_lastPointer','_drawRectRange','Module','_backgroundColor','popstate','handleInsertRow','colorChannel1','SheetsSelectionsService','getViewport','focused$','currentSkeleton$','_assignedColors','width','getCollabCursors$','collab-text-anchor-','save','_cursors','dispose','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','setParam','@univerjs-pro/collaboration','tag','Rectangle','column','merge','_startSheetCollabCursor','black','SetTextSelectionsOperation','exhaustSavingTask','_updateCollabCursors','session.collaboration-timeout','_send','subscribe','[CollaborationDataLoaderController]','_docSkeletonManagerService','_logService','352AivgkZ','DocSkeletonManagerService','debug','_shapes','handleInsertCol','APPLY_NON_SEQUENTIAL_REVISION','LICENSE_MAX_UNITS_EXCEEDED','LICENSE_IMPORT_SIZE_EXCEEDED','HTTPService','IRenderManagerService','clearTimeout','INVITE_CODE_REQUIRED','_onCursorUpdate','off-line-icon_clip0_910_343','_injector','setStateCache','RxDisposable','_transformPreviousActiveRange','RemoveColCommandId','UNIVER_SHEET','path','OffLineIcon','getParam','off-line-icon','find','_docSkeleton','handleInsertRangeMoveDown','getTypeOfUnitDisposed$','M0\x200H16V16H0z','SNAPSHOT_INVALID_SNAPSHOT','cursorInfo$','DesktopCollaborationStatusDisplayController','collabStatus.fetchMiss','#FFF','INVALID_INVITE_CODE','handleIRemoveCol','_renderManagerService','defineProperty','clearInterval','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_collaborationController','YUUMI_RATE_OVER_LIMIT','_instanceService','getSheetId','row','clipPath','APPLY_REJECT','mapTo','onRendered','_initDependencies','length','purple.300','saveTaskMap','unload','pluginName','DocIMEInputManagerService','string','loadOfflineData','uni.network.url-service','xlink:href','onTransformChange$','_eventUnsubscribe','_toggleOffline','collabStatus.syncing','LocaleService','textRanges','CollaborationUIEventId','PERMISSION_DENIED','BehaviorSubject','ALREADY_EXISTS','jsxs','_collabSessionService','handleInsertRangeMoveRight','fillStyle','_getSaveTimeout','fromEventSubject','LICENSE_DISTRO_REJECTED','DisposableCollection','handleMoveRange','_handleHover','1em','Inject','none','_entityInit$','status$','TEXT','selection','234038ECgLRx','_beforeCloseService','_unitOnClients','SYNCED','on-line-icon','_imageIoService','ISnapshotServerService','2428624fmkNlp','_scheduleClearOtherTimer','univer-mr-2\x20univer-flex\x20univer-text-xl','_initStatusComponent','_docStateChangeManagerService','Tooltip','actions','UniverCollaborationClientUIPlugin','push','defIds','wsSessionTicketUrl','_refRangeService','registerRefRange','size','transformMutation','handleIRemoveRow','red.300','error','ONLINE','DeleteRangeMoveLeftCommandId','editingUnit','unit','LOCAL_CACHE_INTERVAL','urlChange$','171wQONsq','IImageIoService','toStringTag','createIdentifier','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','_textBubble','_docTransformIMECacheService','roomMembers$','text','getAncestorScale','replaceState','docStateChange$','_initEvent','handleDeleteRangeMoveLeft','SetSelectionsOperation','getRenderById','_updateSubUnitFromURLParams','EffectRefRangId','addHandlerCallback','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','delete','IUIPartsService','switchMap','createSocket','entries','_removeClearOtherTimer','_colorAssignService','startRow','InsertRangeMoveRightCommandId','_updateURLWithCurrentState','NodePositionConvertToRectRange','_anchorDot','getOwnPropertyDescriptor','_startDocCollabCursor','executeCommand','CLOSE_ROOM','subscribeEvent','height','rgba(255,\x20255,\x20255,\x200.01)','show','getMemberID','IUniverInstanceService','serializeRangeWithSheet','runRefRangeMutations','_doCreateSocket','getUnitStatus$','collabStatus.offline','BrowserCollaborationSocketService','_univerInstanceService','skeleton','mask','transformMutationsWithChangeset','url(#on-line-icon_clip0_910_349)','imageSourceType','use','blue.400','IBeforeCloseService','triggerDblclick','RichTextEditingMutation','UNAUTHENTICATED','SetWorksheetActivateCommand','INotificationService','svg','replace','call','_refreshCollabCursors','fill','UnitStatus','SNAPSHOT_HAS_BEEN_REMOVED','WebSocketService','hasOwnProperty','ranges','UniverCollaborationClientPlugin','OFFLINE','_docClipboardService','setAlpha','type','round','_transformUndoRedoStack','getFocusedUnit','source','MOBILE_HAS_BEEN_BOUND','mutations','_colorIndex','_color','ILogService','generateRandomId','override','FromArray','_context','ILocalStorageService','YUUMI_ALL_TABLES_IS_INVALID','getDocRanges','_registerRenderDependencies','onLocalMutation','fromEvent','drawWith','session.connection-failed','YUUMI_ASYNCIO_CANCELLED','_saveTaskMap','YUUMI_TABLE_NOT_FOUND_IN_UNIT','APPLY_DUPLICATED','@univerjs/network','ColorKit','DOC_RANGE_TYPE','setItem','FETCH_MISS','0\x200\x2016\x2016','saveImage','_handleHeartbeatEvent','font','@univerjs-pro/collaboration-client','@univerjs/sheets-ui','1475844ZfmIFz','_uiPartsService','useCallback','currentTheme$','transformIMECache','eventID','fillRule','_docTransformSelectionsService','ENSURE_SNAPSHOT_EXECUTION','DataLoaderService','jiqing.500','flatMap','CollaborationEvent','EMAIL_HAS_BEEN_BOUND','disableLocalCache','hovered','LOGIN_FAILED','collaboration.closeRoom','displayName','_roomMembers$','1691091FQLFTK','undoState','takeUntil','send','_handleJoinEvent','measureText','isArray','Vector2','onPointerMove$','some','_handleLeaveEvent','UNIVER_DOC','transformRemoteChangeset','_status$','isActive','getOffsetConfig','collab-client.tooltip.reconnect','href','MemberService','_online','react','INVITE_CODE_HAS_BEEN_UES','onStarting','http://www.w3.org/2000/svg','Error','@univerjs/engine-render','onPointerLeave$','_transformHistoryAndStateStack','WECHAT_HAS_BEEN_BOUND','reconnect','_entities','top','IURLService','_init','CollaborationStatusDisplay','OnLineIcon','_draw','_scheduleHeartbeat','registerDependencies','useDependency','INTERNAL_ERROR','isTransformMutationFailure','permission.title','rxjs','_disabled','bottom','_scene','backgroundColor','getStateCache','OTHER_CLIENTS_EDITING','getConfig','symbol','includes','getItem','loadUnit','split','disposeWithMe','IMessageService','_hovered','Plugin','Failed','_docTransformStateCacheService','clsx','_initEntityListener','_range','_saveCache','_anchor','on-line-icon_clip0_910_349','UniverInstanceType','storage','_ensureSubject','YUUMI_SUBSCRIPTION_NOT_FOUND','disposeUnit','unitID','ILocalCacheService','pushState','debounce','parse','setShapeProps','_notificationService','with','Shape','getOwnPropertySymbols','session.will-retry','map','_getSheetObject','application/json','ACTIVE_UNIT_EVENT_CHANNEL','_labelPosition','attrs','NOT_FOUND','_scheduleSaving','sessionTicket','_document','values','_setupBeforeClosingHandler','addEventListener','UniverIcon','pipe','color','setConfig','_config','doc.mutation.rich-text-editing','roomMembers','INVITE_CODE_ALREADY_BOUND','_urlService','_drawTextRange','transform','m1Prime','throttleTime','getSheetBySheetId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','set','_getMergeRange','_themeService','className','executionId','body','RegularPolygon','getMember','_clearOtherTimers','substring','_httpService','findNodePositionByCharIndex','PY_RUNTIME_SCRIPT_ERROR','RECT','LOCAL_CACHE_INTERVAL_KEY','getMergeData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','LICENSE_EXPORT_SIZE_EXCEEDED','jsx','_initCommandExecutedListener','_id','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','@univerjs/docs-ui','icon','createElement','dispose$','react/jsx-runtime','history','cursorInfo','newValue','runId','ThemeService','CollaborationDataLoaderController','location','UNDEFINED','DependentOn','registerComponent','restore','subUnitId','TOO_MANY_REQUESTS','stringify','_cursorShapes','endColumn','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','MUTATION','forwardRef','_docSyncEditingCollabCursorService','_toggleOnline','next','ICommandService','getTypeOfUnitAdded$','_collabCursorController','RevisionService','m2Prime','startsWith','TEXT_RANGE_LAYER_INDEX','_heartbeatTimer','addObject','_hideTimer','DocStateChangeManagerService','hide','getRangePointData','getSheetObject','Rect','UPDATE_CURSOR','event$','getCoordByCell','useObservable','url(#off-line-icon_clip0_910_343)','prototype','makeDirty','idSuffix','...','addObjects','activeSheet$','function','_registerDependencies','_messageService','APPLY_PERMISSION_DENIED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','name','_handleEvent','defs','currentColor','getUnitId','getSkeleton','_session','YUUMI_UNABLE_LOAD_URL','RemoteUniscriptService','SheetSkeletonManagerService','origin','filter','registerRenderModule','ITransformService','_syncEditingCollabCursorService','_getSessionTicket','_onCursorDelete','assign','collabCursorState$','WebBrowserSingleActiveUnitService','SheetCollabCursorShape','CONFLICT','PENDING','debounceTime','lineTo','_onRefRangeChange','asObservable','DocSelectionManagerService','collabStatus.conflict','contains','_localeService','getUnhiddenWorksheets','current','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','labelPosition','CommandType','add','0\x200\x2017\x2016','forEach','MessageType','MoveRangeCommandId','getCurrentUnitForType','combineLatest','UNRECOGNIZED','@univerjs/drawing','SHEET_VIEWPORT_KEY','init','extend','_drawAnchor','APPLY_REVISION_CONFILICT','COMPLETION_FINISHED','InsertRangeMoveDownCommandId','search','memberID','SessionStatus','Warning','code','has','requireSession','_cursor','result','children','assignAColorForMemberID'];_0x2196=function(){return _0xa70edc;};return _0x2196();}Object[_0x4ba9c1(0x1cd)](exports,Symbol[_0x4ba9c1(0x220)],{'value':_0x4ba9c1(0x186)});const u=require(_0x4ba9c1(0x28d)),a=require(_0x4ba9c1(0x157)),p=require(_0x4ba9c1(0x2bc)),G=require(_0x4ba9c1(0x284)),b=require(_0x4ba9c1(0x98)),Ge=require(_0x4ba9c1(0xfe)),d=require(_0x4ba9c1(0x2ce)),Y=require('@univerjs/docs'),m=require(_0x4ba9c1(0x198)),Ee=require('@univerjs/engine-formula'),g=require(_0x4ba9c1(0x13f)),$=require('rxjs/operators'),X=require(_0x4ba9c1(0x28e)),w=require(_0x4ba9c1(0x9c)),T=require(_0x4ba9c1(0x14d)),D=require('@univerjs/design'),M=require(_0x4ba9c1(0x2b7)),Ke=require('@univerjs/rpc');var qe=Object['getOwnPropertyDescriptor'],ze=(_0xe7c3a6,_0xa57694,_0x4f0653,_0x75bdd2)=>{const _0x118171=_0x4ba9c1;for(var _0x204c11=_0x75bdd2>0x1?void 0x0:_0x75bdd2?qe(_0xa57694,_0x4f0653):_0xa57694,_0x13c02a=_0xe7c3a6[_0x118171(0x1da)]-0x1,_0x274da4;_0x13c02a>=0x0;_0x13c02a--)(_0x274da4=_0xe7c3a6[_0x13c02a])&&(_0x204c11=_0x274da4(_0x204c11)||_0x204c11);return _0x204c11;},Te=(_0x223b16,_0x5d62af)=>(_0x1a13db,_0x36c470)=>_0x5d62af(_0x1a13db,_0x36c470,_0x223b16);let de=class extends a['RxDisposable']{constructor(_0xa470c1,_0x2cb921){const _0x54acce=_0x4ba9c1;super(),this[_0x54acce(0x268)]=_0xa470c1,this[_0x54acce(0x204)]=_0x2cb921,this['_init']();}[_0x4ba9c1(0x2c4)](){const _0xd05303=this;this['disposeWithMe'](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x4e4013=>{const _0x598e84=_0x167f,_0x53b510=await _0xd05303[_0x598e84(0x204)][_0x598e84(0x28a)](_0x4e4013);return _0x53b510?{'source':_0x53b510[_0x598e84(0x26e)],'imageSourceType':_0x53b510[_0x598e84(0x253)]}:null;}}));}};de=ze([Te(0x0,b['IDocClipboardService']),Te(0x1,Ge[_0x4ba9c1(0x21f)])],de);const Oe=[_0x4ba9c1(0x1db),_0x4ba9c1(0x299),'green.600',_0x4ba9c1(0x216),_0x4ba9c1(0x255),'yellow.400'];class me extends a[_0x4ba9c1(0x12c)]{constructor(){const _0x2312b6=_0x4ba9c1;super(...arguments),h(this,'_assignedColors',new Map()),h(this,_0x2312b6(0x271),0x0);}[_0x4ba9c1(0x110)](_0x88d7f5){const _0x2fa58f=_0x4ba9c1;if(this[_0x2fa58f(0x18f)]['has'](_0x88d7f5))return this[_0x2fa58f(0x18f)][_0x2fa58f(0x17b)](_0x88d7f5);const _0x45458b=Oe[this[_0x2fa58f(0x271)]];return this[_0x2fa58f(0x271)]=(this[_0x2fa58f(0x271)]+0x1)%Oe[_0x2fa58f(0x1da)],this['_assignedColors'][_0x2fa58f(0x82)](_0x88d7f5,_0x45458b),_0x45458b;}}function we(_0x1de779){const _0x20535d=_0x4ba9c1;let _0x187950='';for(const _0x304af6 of _0x1de779){const {startOffset:_0x44987a,endOffset:_0x21dd4e,isActive:_0x2f412d,rangeType:_0x1db814,segmentId:_0x9339a8,segmentPage:_0x30825a}=_0x304af6;_0x187950[_0x20535d(0x1da)]&&(_0x187950+=','),_0x187950+=_0x44987a+':'+_0x21dd4e+':'+(_0x2f412d?'1':'0')+':'+_0x1db814+':'+_0x9339a8+':'+_0x30825a;}return _0x187950;}function Je(_0xfd17ac){const _0x16eda3=_0x4ba9c1,_0x230927=_0xfd17ac[_0x16eda3(0x2da)](','),_0x2927b8=[];for(const _0x1d6697 of _0x230927){const [_0x1d9a13,_0x2f2be6,_0x1c02b3,_0x423d9e,_0x5b9baa,_0xa3f466]=_0x1d6697[_0x16eda3(0x2da)](':');_0x2927b8[_0x16eda3(0x20e)]({'startOffset':Number(_0x1d9a13),'endOffset':Number(_0x2f2be6),'collapsed':_0x1d9a13===_0x2f2be6,'isActive':_0x1c02b3==='1','rangeType':_0x423d9e===a['DOC_RANGE_TYPE'][_0x16eda3(0x1fd)]?a[_0x16eda3(0x286)][_0x16eda3(0x1fd)]:a[_0x16eda3(0x286)][_0x16eda3(0x8f)],'segmentId':typeof _0x5b9baa==_0x16eda3(0x1e0)?String(_0x5b9baa):'','segmentPage':Number(_0xa3f466!=null?_0xa3f466:-0x1)});}return _0x2927b8[_0x16eda3(0x2ac)](_0x172fb0=>_0x172fb0[_0x16eda3(0x2b1)])||(_0x2927b8[0x0]['isActive']=!0x0),_0x2927b8;}class Ce extends a[_0x4ba9c1(0x1b8)]{constructor(){const _0x5da369=_0x4ba9c1;super(...arguments),h(this,_0x5da369(0x165),new d[(_0x5da369(0x1ec))](null)),h(this,_0x5da369(0xe4),this[_0x5da369(0x165)][_0x5da369(0xec)]());}['syncEditingCollabCursor'](_0x32f261){const _0x5c8e8a=_0x4ba9c1,{unitID:_0x46f6f4,memberID:_0x151c69,textRanges:_0x4b0bcf}=_0x32f261,_0x13c4a6=we(_0x4b0bcf);if(_0x13c4a6==='')return;const _0x10ac8a={'unitID':_0x46f6f4,'memberID':_0x151c69,'selection':_0x13c4a6};this[_0x5c8e8a(0x165)]['next'](_0x10ac8a);}}var Ze=Object[_0x4ba9c1(0x23e)],Qe=(_0x6c78cd,_0x8884cf,_0x495dbb,_0x230f89)=>{const _0x9c11ec=_0x4ba9c1;for(var _0x57849d=_0x230f89>0x1?void 0x0:_0x230f89?Ze(_0x8884cf,_0x495dbb):_0x8884cf,_0x482dac=_0x6c78cd[_0x9c11ec(0x1da)]-0x1,_0x2e119d;_0x482dac>=0x0;_0x482dac--)(_0x2e119d=_0x6c78cd[_0x482dac])&&(_0x57849d=_0x2e119d(_0x57849d)||_0x57849d);return _0x57849d;},L=(_0x3d9821,_0x2173de)=>(_0x4e1c09,_0x2e7ab4)=>_0x2173de(_0x4e1c09,_0x2e7ab4,_0x3d9821);const et=0x12c,tt=0x64;let fe=class extends a[_0x4ba9c1(0x1b8)]{constructor(_0x22b6ff,_0x43465b,_0x25f1e8,_0xfd6d51,_0x57614f,_0x8d937a,_0xc28633,_0x1c4195,_0x3e4d5e){const _0x20a03a=_0x4ba9c1;super(),h(this,_0x20a03a(0x2b6),!0x1),h(this,_0x20a03a(0x2c4),!0x1),h(this,_0x20a03a(0x131),new d[(_0x20a03a(0x1ec))](new Map())),h(this,_0x20a03a(0x1c6),this['_cursorInfo$']['asObservable']()),h(this,_0x20a03a(0x2a2),new d['BehaviorSubject']([])),h(this,_0x20a03a(0x225),this[_0x20a03a(0x2a2)]['pipe'](d[_0x20a03a(0xe9)](et))),h(this,_0x20a03a(0x13b),a[_0x20a03a(0x2ef)](_0x3d8ebf=>{const _0x558214=_0x20a03a,_0x1e6d1e={'eventID':m[_0x558214(0x29b)][_0x558214(0xc2)],'data':{'unitID':this[_0x558214(0x2ec)],'memberID':this[_0x558214(0xd8)][_0x558214(0x246)](),'selection':we(_0x3d8ebf)}};this[_0x558214(0xd8)][_0x558214(0x2a6)](_0x1e6d1e,this[_0x558214(0x2ec)]);},tt)),(this['unitID']=_0x22b6ff,this[_0x20a03a(0xd8)]=_0x43465b,this['_injector']=_0x25f1e8,this[_0x20a03a(0x238)]=_0xfd6d51,this[_0x20a03a(0x135)]=_0x57614f,this[_0x20a03a(0xe0)]=_0x8d937a,this['_transformService']=_0xc28633,this[_0x20a03a(0x24e)]=_0x1c4195,this[_0x20a03a(0x112)]=_0x3e4d5e);}get[_0x4ba9c1(0x9e)](){const _0x408a50=_0x4ba9c1;return this['_cursorInfo$'][_0x408a50(0x141)]();}get['roomMembers'](){const _0x4d6904=_0x4ba9c1;return this[_0x4d6904(0x2a2)]['getValue']();}[_0x4ba9c1(0x195)](){const _0x1fe029=_0x4ba9c1;super['dispose'](),this['_cursorInfo$'][_0x1fe029(0xb2)](new Map()),this[_0x1fe029(0x131)][_0x1fe029(0x129)](),this[_0x1fe029(0x2a2)]['next']([]),this['_roomMembers$'][_0x1fe029(0x129)]();}[_0x4ba9c1(0x100)](){const _0x4cf101=_0x4ba9c1;this[_0x4cf101(0x2c4)]||(this[_0x4cf101(0x2c4)]=!0x0,this[_0x4cf101(0xd8)][_0x4cf101(0x172)][_0x4cf101(0x74)](d['takeUntil'](this['dispose$']))[_0x4cf101(0x1a4)](_0x181db1=>{const _0x39791f=_0x4cf101;_0x181db1===u[_0x39791f(0x108)][_0x39791f(0x218)]?this[_0x39791f(0xb1)]():this[_0x39791f(0x1e6)]();}),this[_0x4cf101(0xd8)]['event$'][_0x4cf101(0x74)](d[_0x4cf101(0x2a5)](this[_0x4cf101(0x9b)]))['subscribe'](_0x2751be=>{const _0x9e1fb8=_0x4cf101,_0x4e0ade=_0x2751be[_0x9e1fb8(0x294)];_0x4e0ade===m[_0x9e1fb8(0x29b)][_0x9e1fb8(0xc2)]&&this[_0x9e1fb8(0x1b4)](_0x2751be),_0x4e0ade===m[_0x9e1fb8(0x29b)][_0x9e1fb8(0x145)]&&this[_0x9e1fb8(0xe2)](_0x2751be);}),this[_0x4cf101(0x2db)](this[_0x4cf101(0x112)][_0x4cf101(0x15b)](_0x14dd83=>{const _0x1b25f3=_0x4cf101,_0x2c2aef=_0x14dd83[_0x1b25f3(0x161)];_0x2c2aef!=null&&this[_0x1b25f3(0x2b6)]&&_0x14dd83['id']===Y[_0x1b25f3(0x19f)]['id']&&_0x2c2aef[_0x1b25f3(0x17f)]===this[_0x1b25f3(0x2ec)]&&_0x2c2aef['isEditing']===!0x1&&_0x2c2aef['ranges'][_0x1b25f3(0x1da)]>0x0&&this['_updateLocalCursor'](_0x2c2aef[_0x1b25f3(0x265)]);})),this[_0x4cf101(0xe0)][_0x4cf101(0xe4)][_0x4cf101(0x74)](d[_0x4cf101(0x2a5)](this[_0x4cf101(0x9b)]))[_0x4cf101(0x1a4)](_0x363e0d=>{const _0x5d94bd=_0x4cf101;if((_0x363e0d==null?void 0x0:_0x363e0d[_0x5d94bd(0x2ec)])!==this[_0x5d94bd(0x2ec)])return;const _0x26b68e={'eventID':m[_0x5d94bd(0x29b)][_0x5d94bd(0xc2)],'data':_0x363e0d};this[_0x5d94bd(0x1b4)](_0x26b68e);}),this[_0x4cf101(0x2db)](this[_0x4cf101(0x112)][_0x4cf101(0x15b)](_0xcda379=>{const _0x20b806=_0x4cf101;if(_0xcda379[_0x20b806(0x161)]==null)return;const _0xdb66b=_0xcda379[_0x20b806(0x161)];if(_0xcda379['id']!==Y[_0x20b806(0x258)]['id']||_0xdb66b['unitId']!==this[_0x20b806(0x2ec)])return;const _0x1bdf56={'id':'doc.mutation.rich-text-editing','params':_0xdb66b},_0x3c86a2=this[_0x20b806(0x9e)];for(const [_0x16e731,_0x389632]of _0x3c86a2){const _0x328900={'id':_0x20b806(0x78),'params':{'unitId':this[_0x20b806(0x2ec)],'actions':null,'textRanges':_0x389632[_0x20b806(0x265)]}},_0x19505d=this['_transformService']['transformMutation'](_0x1bdf56,_0x328900,!0x1);if(m[_0x20b806(0x2cc)](_0x19505d))throw _0x19505d[_0x20b806(0x217)];_0x3c86a2[_0x20b806(0x82)](_0x16e731,{..._0x389632,'ranges':_0x19505d[_0x20b806(0xb7)]['params'][_0x20b806(0x1e9)]});}queueMicrotask(()=>{const _0x89b47e=_0x20b806;this[_0x89b47e(0x131)][_0x89b47e(0xb2)](_0x3c86a2);});})));}['_onCursorUpdate'](_0x28eef0){const _0x57415c=_0x4ba9c1;var _0x77c2a5,_0xdd5785;const {memberID:_0x17fe2b,selection:_0x228747}=_0x28eef0['data'],_0x57f2c0=Je(_0x228747),_0x482bd2=(_0xdd5785=(_0x77c2a5=this['_memberService'][_0x57415c(0x89)](this[_0x57415c(0x2ec)],_0x17fe2b))==null?void 0x0:_0x77c2a5[_0x57415c(0xd2)])!=null?_0xdd5785:_0x57415c(0x11c),_0x1d64c2={'color':this[_0x57415c(0x238)]['assignAColorForMemberID'](_0x17fe2b),'name':_0x482bd2,'ranges':_0x57f2c0},_0x5abd99=this[_0x57415c(0x9e)];_0x5abd99['set'](_0x17fe2b,_0x1d64c2),this['_cursorInfo$'][_0x57415c(0xb2)](_0x5abd99);}[_0x4ba9c1(0xe2)](_0x2f9355){const _0x2d972e=_0x4ba9c1,{memberID:_0x321062}=_0x2f9355['data'],_0x4b230b=this[_0x2d972e(0x9e)];_0x4b230b[_0x2d972e(0x232)](_0x321062),this['_cursorInfo$'][_0x2d972e(0xb2)](_0x4b230b);}[_0x4ba9c1(0xb1)](){const _0x2c3a22=_0x4ba9c1;var _0xe0b72e;if(this[_0x2c3a22(0x2b6)]=!0x0,((_0xe0b72e=this[_0x2c3a22(0x24e)][_0x2c3a22(0x26d)]())==null?void 0x0:_0xe0b72e[_0x2c3a22(0xd6)]())!==this['unitID'])return;const _0x5ad9b8=this['_injector'][_0x2c3a22(0x17b)](Y[_0x2c3a22(0xed)])[_0x2c3a22(0x27a)]();Array[_0x2c3a22(0x2a9)](_0x5ad9b8)&&_0x5ad9b8[_0x2c3a22(0x1da)]>0x0&&this['_updateLocalCursor'](_0x5ad9b8);}[_0x4ba9c1(0x1e6)](){const _0x505357=_0x4ba9c1;this[_0x505357(0x2b6)]=!0x1;}};fe=Qe([L(0x2,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x11f)])),L(0x3,a['Inject'](me)),L(0x4,a[_0x4ba9c1(0x1f9)](u[_0x4ba9c1(0x2b5)])),L(0x5,a[_0x4ba9c1(0x1f9)](Ce)),L(0x6,m['ITransformService']),L(0x7,a['IUniverInstanceService']),L(0x8,a['ICommandService'])],fe);var st=Object[_0x4ba9c1(0x23e)],it=(_0x539ee3,_0x11fab1,_0x524dbc,_0xfe4795)=>{const _0x257f7f=_0x4ba9c1;for(var _0x2e9509=_0xfe4795>0x1?void 0x0:_0xfe4795?st(_0x11fab1,_0x524dbc):_0x11fab1,_0x55cf01=_0x539ee3[_0x257f7f(0x1da)]-0x1,_0x35a9c5;_0x55cf01>=0x0;_0x55cf01--)(_0x35a9c5=_0x539ee3[_0x55cf01])&&(_0x2e9509=_0x35a9c5(_0x2e9509)||_0x2e9509);return _0x2e9509;},A=(_0x497836,_0x263412)=>(_0x34db7d,_0x5045c7)=>_0x263412(_0x34db7d,_0x5045c7,_0x497836);const nt=0x12c,rt=0x64,ot=()=>{let _0x8cf0e2=[],_0x1215af=!0x1;return _0x37d379=>{const _0x5e24af=_0x167f;_0x8cf0e2[_0x5e24af(0x20e)](_0x37d379),_0x1215af||(_0x1215af=!0x0,setTimeout(()=>{_0x8cf0e2['forEach'](_0x2cf886=>_0x2cf886()),_0x8cf0e2=[],_0x1215af=!0x1;}));};};let Se=class extends a['RxDisposable']{constructor(_0x36cbb7,_0x5b99d3,_0x5a0a5,_0x3c24fa,_0x3b5211,_0x172adf,_0x2954d8,_0x1f1ba6){const _0x3701cf=_0x4ba9c1;super(),h(this,_0x3701cf(0x2b6),!0x1),h(this,_0x3701cf(0x2c4),!0x1),h(this,_0x3701cf(0x131),new d['BehaviorSubject'](new Map())),h(this,_0x3701cf(0x1c6),this[_0x3701cf(0x131)]['asObservable']()),h(this,_0x3701cf(0x2a2),new d[(_0x3701cf(0x1ec))]([])),h(this,_0x3701cf(0x225),this[_0x3701cf(0x2a2)][_0x3701cf(0x74)](d[_0x3701cf(0xe9)](nt))),h(this,'_updateLocalCursor',a[_0x3701cf(0x2ef)]((_0x5900c1,_0x5d2025)=>{const _0x4eb5b1=_0x3701cf,_0x80f280={'eventID':m[_0x4eb5b1(0x29b)][_0x4eb5b1(0xc2)],'data':{'unitID':this[_0x4eb5b1(0x2ec)],'memberID':this[_0x4eb5b1(0xd8)][_0x4eb5b1(0x246)](),'selection':Ee[_0x4eb5b1(0x248)](_0x5900c1,_0x5d2025['range'])}};this['_session'][_0x4eb5b1(0x2a6)](_0x80f280,this[_0x4eb5b1(0x2ec)]);},rt)),(this[_0x3701cf(0x2ec)]=_0x36cbb7,this[_0x3701cf(0xd8)]=_0x5b99d3,this[_0x3701cf(0x1b6)]=_0x5a0a5,this['_colorAssignService']=_0x3c24fa,this[_0x3701cf(0x135)]=_0x3b5211,this['_univerInstanceService']=_0x172adf,this[_0x3701cf(0x112)]=_0x2954d8,this['_refRangeService']=_0x1f1ba6);}get[_0x4ba9c1(0x9e)](){return this['_cursorInfo$']['getValue']();}get[_0x4ba9c1(0x79)](){const _0x2ea22b=_0x4ba9c1;return this[_0x2ea22b(0x2a2)][_0x2ea22b(0x141)]();}['dispose'](){const _0x5228da=_0x4ba9c1;super[_0x5228da(0x195)](),this['_cursorInfo$'][_0x5228da(0xb2)](new Map()),this[_0x5228da(0x131)][_0x5228da(0x129)](),this[_0x5228da(0x2a2)]['next']([]),this['_roomMembers$'][_0x5228da(0x129)]();}[_0x4ba9c1(0x100)](){const _0x4c5e40=_0x4ba9c1;this[_0x4c5e40(0x2c4)]||(this['_init']=!0x0,this[_0x4c5e40(0xd8)][_0x4c5e40(0x172)][_0x4c5e40(0x74)](d[_0x4c5e40(0x2a5)](this[_0x4c5e40(0x9b)]))[_0x4c5e40(0x1a4)](_0x4f6327=>{const _0x480da4=_0x4c5e40;_0x4f6327===u[_0x480da4(0x108)][_0x480da4(0x218)]?this['_toggleOnline']():this[_0x480da4(0x1e6)]();}),this['_session'][_0x4c5e40(0xc3)][_0x4c5e40(0x74)](d['takeUntil'](this[_0x4c5e40(0x9b)]))[_0x4c5e40(0x1a4)](_0x1fefd8=>{const _0x25749b=_0x4c5e40,_0x4bc0e1=_0x1fefd8[_0x25749b(0x294)];_0x4bc0e1===m[_0x25749b(0x29b)][_0x25749b(0xc2)]&&this['_onCursorUpdate'](_0x1fefd8),_0x4bc0e1===m[_0x25749b(0x29b)][_0x25749b(0x145)]&&this[_0x25749b(0xe2)](_0x1fefd8);}),this[_0x4c5e40(0xeb)](),this[_0x4c5e40(0x2db)](this[_0x4c5e40(0x112)]['onCommandExecuted'](_0x1a9203=>{const _0x38cbe8=_0x4c5e40;if(this[_0x38cbe8(0x2b6)]&&_0x1a9203['id']===g[_0x38cbe8(0x22c)]['id']&&_0x1a9203[_0x38cbe8(0x161)]['unitId']===this['unitID']){const _0x3446f8=_0x1a9203[_0x38cbe8(0x161)];this[_0x38cbe8(0x13b)](_0x3446f8[_0x38cbe8(0xa8)],_0x3446f8['selections'][0x0]);}})));}[_0x4ba9c1(0x1b4)](_0x540408){const _0xed1e9b=_0x4ba9c1;var _0x18b2d7,_0x391404;const {memberID:_0x5952bb,selection:_0x2fc897}=_0x540408[_0xed1e9b(0x15d)],{sheetName:_0xc4f5a5,range:_0x6c7e98}=Ee['deserializeRangeWithSheet'](_0x2fc897),_0x4aa56c={'name':(_0x391404=(_0x18b2d7=this[_0xed1e9b(0x135)][_0xed1e9b(0x89)](this['unitID'],_0x5952bb))==null?void 0x0:_0x18b2d7['name'])!=null?_0x391404:_0xed1e9b(0x11c),'range':this[_0xed1e9b(0x83)](_0xc4f5a5,_0x6c7e98),'sheetID':_0xc4f5a5,'color':this[_0xed1e9b(0x238)][_0xed1e9b(0x110)](_0x5952bb),'selection':_0x2fc897},_0x573a08=this[_0xed1e9b(0x9e)];_0x573a08[_0xed1e9b(0x82)](_0x5952bb,_0x4aa56c),this[_0xed1e9b(0x131)][_0xed1e9b(0xb2)](_0x573a08);}[_0x4ba9c1(0xe2)](_0x425f2c){const _0x390084=_0x4ba9c1,{memberID:_0x798606}=_0x425f2c[_0x390084(0x15d)],_0x43c34b=this[_0x390084(0x9e)];_0x43c34b[_0x390084(0x232)](_0x798606),this['_cursorInfo$'][_0x390084(0xb2)](_0x43c34b);}[_0x4ba9c1(0x83)](_0xbeee2a,_0x20886a){const _0x6427d1=_0x4ba9c1;var _0x35af47,_0x5440f3;const _0x48badc=(_0x5440f3=(_0x35af47=this[_0x6427d1(0x24e)]['getUniverSheetInstance'](this[_0x6427d1(0x2ec)]))==null?void 0x0:_0x35af47['getSheetBySheetId'](_0xbeee2a))==null?void 0x0:_0x5440f3[_0x6427d1(0x91)]();return(_0x48badc==null?void 0x0:_0x48badc[_0x6427d1(0x1c0)](_0x237a97=>a[_0x6427d1(0x19a)][_0x6427d1(0xef)](_0x237a97,_0x20886a)))||_0x20886a;}[_0x4ba9c1(0xeb)](){const _0x5d7605=_0x4ba9c1,_0x426282=new a[(_0x5d7605(0x1f5))](),_0x503dc8=ot(),_0x21c887=()=>{const _0x552e6c=_0x5d7605;_0x426282[_0x552e6c(0x195)]();const _0x3c362a=(_0x529727,_0x2375ff,_0x12d488,_0x22326a)=>{const _0x24019e=_0x552e6c;let _0x1a1e48=[];switch(_0x529727['id']){case g[_0x24019e(0x22f)][_0x24019e(0x219)]:{_0x1a1e48=g[_0x24019e(0x22b)](_0x529727,_0x22326a);break;}case g['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x1a1e48=g['handleDeleteRangeMoveUp'](_0x529727,_0x22326a);break;}case g[_0x24019e(0x22f)][_0x24019e(0x166)]:{_0x1a1e48=g[_0x24019e(0x1ac)](_0x529727,_0x22326a);break;}case g['EffectRefRangId'][_0x24019e(0x105)]:{_0x1a1e48=g[_0x24019e(0x1c2)](_0x529727,_0x22326a);break;}case g['EffectRefRangId'][_0x24019e(0x23a)]:{_0x1a1e48=g[_0x24019e(0x1f0)](_0x529727,_0x22326a);break;}case g[_0x24019e(0x22f)]['InsertRowCommandId']:{_0x1a1e48=g[_0x24019e(0x189)](_0x529727,_0x22326a);break;}case g['EffectRefRangId'][_0x24019e(0xfa)]:{_0x1a1e48=g[_0x24019e(0x1f6)](_0x529727,_0x22326a);break;}case g['EffectRefRangId'][_0x24019e(0x1ba)]:{_0x1a1e48=g[_0x24019e(0x1cb)](_0x529727,_0x22326a);break;}case g[_0x24019e(0x22f)]['RemoveRowCommandId']:{_0x1a1e48=g[_0x24019e(0x215)](_0x529727,_0x22326a);break;}}const _0x107fba=g[_0x24019e(0x249)](_0x1a1e48,_0x22326a),_0x1c2803=this[_0x24019e(0x9e)][_0x24019e(0x17b)](_0x2375ff);if(_0x1c2803&&_0x107fba){const _0x59b5cc={..._0x1c2803,'range':_0x107fba};this[_0x24019e(0x9e)][_0x24019e(0x82)](_0x2375ff,_0x59b5cc),_0x503dc8(()=>{const _0x4bf503=_0x24019e,_0x5f2d13=this[_0x4bf503(0x211)][_0x4bf503(0x212)](_0x107fba,_0x34bb56=>(_0x5f2d13[_0x4bf503(0x195)](),_0x3c362a(_0x34bb56,_0x2375ff,_0x12d488,_0x107fba)));_0x426282[_0x4bf503(0xf6)](_0x5f2d13);});}return{'redos':[],'undos':[]};};this[_0x552e6c(0x9e)][_0x552e6c(0xf8)]((_0x18aa56,_0x594c37)=>{const _0x4f8144=_0x552e6c,{range:_0x2a358d,sheetID:_0x160f28}=_0x18aa56,_0x1890e9=this['_refRangeService'][_0x4f8144(0x212)](_0x2a358d,_0x33cb80=>(_0x1890e9[_0x4f8144(0x195)](),_0x3c362a(_0x33cb80,_0x594c37,_0x160f28,_0x2a358d)));_0x426282['add'](_0x1890e9);});};this['disposeWithMe'](a[_0x5d7605(0x121)](this[_0x5d7605(0x131)][_0x5d7605(0x1a4)](()=>{_0x21c887();})));}[_0x4ba9c1(0xb1)](){const _0x57523f=_0x4ba9c1;var _0x2f469b,_0xe89fbd;if(this[_0x57523f(0x2b6)]=!0x0,((_0x2f469b=this[_0x57523f(0x24e)][_0x57523f(0x26d)]())==null?void 0x0:_0x2f469b[_0x57523f(0xd6)]())!==this[_0x57523f(0x2ec)])return;const _0x464421=(_0xe89fbd=this[_0x57523f(0x1b6)][_0x57523f(0x17b)](g[_0x57523f(0x18b)])[_0x57523f(0x151)]())==null?void 0x0:_0xe89fbd[0x0],_0x2f0e14=this[_0x57523f(0x24e)][_0x57523f(0xfb)](a['UniverInstanceType']['UNIVER_SHEET'])[_0x57523f(0x140)]();_0x464421&&_0x2f0e14&&this[_0x57523f(0x13b)](_0x2f0e14[_0x57523f(0x1d3)](),_0x464421);}[_0x4ba9c1(0x1e6)](){const _0x13de16=_0x4ba9c1;this[_0x13de16(0x2b6)]=!0x1;}};Se=it([A(0x2,a['Inject'](a[_0x4ba9c1(0x11f)])),A(0x3,a[_0x4ba9c1(0x1f9)](me)),A(0x4,a[_0x4ba9c1(0x1f9)](u[_0x4ba9c1(0x2b5)])),A(0x5,a[_0x4ba9c1(0x247)]),A(0x6,a[_0x4ba9c1(0xb3)]),A(0x7,a[_0x4ba9c1(0x1f9)](g['RefRangeService']))],Se);var at=Object[_0x4ba9c1(0x23e)],ct=(_0x2ac852,_0x4e8a76,_0x3cd342,_0x1f94eb)=>{const _0xbeb252=_0x4ba9c1;for(var _0x3d32f5=_0x1f94eb>0x1?void 0x0:_0x1f94eb?at(_0x4e8a76,_0x3cd342):_0x4e8a76,_0x132a4a=_0x2ac852[_0xbeb252(0x1da)]-0x1,_0x3cd2fe;_0x132a4a>=0x0;_0x132a4a--)(_0x3cd2fe=_0x2ac852[_0x132a4a])&&(_0x3d32f5=_0x3cd2fe(_0x3d32f5)||_0x3d32f5);return _0x3d32f5;},ie=(_0x34685f,_0x4729c6)=>(_0x285217,_0x7dd37e)=>_0x4729c6(_0x285217,_0x7dd37e,_0x34685f);let x=class extends a[_0x4ba9c1(0x1b8)]{constructor(_0x471043,_0xa03e08,_0x7e44a8){const _0x1b4805=_0x4ba9c1;super(),h(this,_0x1b4805(0x2c1),new Map()),h(this,'_entityInit$',new d['Subject']()),(this[_0x1b4805(0x24e)]=_0x471043,this[_0x1b4805(0x1b6)]=_0xa03e08,this[_0x1b4805(0x1ef)]=_0x7e44a8,this[_0x1b4805(0x2c4)]());}[_0x4ba9c1(0x195)](){const _0x39c243=_0x4ba9c1;super[_0x39c243(0x195)](),this[_0x39c243(0x1fb)][_0x39c243(0x129)](),this[_0x39c243(0x2c1)][_0x39c243(0xf8)](_0x1391b=>_0x1391b[_0x39c243(0x195)]());}['getCollabCursors$'](_0x50ddea){const _0x3fc493=_0x4ba9c1;return this[_0x3fc493(0x2c1)]['has'](_0x50ddea)?this[_0x3fc493(0x2c1)]['get'](_0x50ddea)[_0x3fc493(0x1c6)]:this[_0x3fc493(0x1fb)][_0x3fc493(0x74)](d[_0x3fc493(0xdd)](_0x2ecca5=>_0x2ecca5[_0x3fc493(0x2ec)]===_0x50ddea),d[_0x3fc493(0x234)](_0x50adfe=>_0x50adfe[_0x3fc493(0x1c6)]));}[_0x4ba9c1(0x2c4)](){const _0x57d1db=_0x4ba9c1;this[_0x57d1db(0x24e)][_0x57d1db(0xb4)](a[_0x57d1db(0x2e7)][_0x57d1db(0x1bb)])[_0x57d1db(0x74)](d[_0x57d1db(0x2a5)](this[_0x57d1db(0x9b)]))[_0x57d1db(0x1a4)](async _0x58b750=>{const _0x278869=_0x57d1db,_0x547449=_0x58b750[_0x278869(0xd6)](),_0x556871=await this[_0x278869(0x19d)](_0x547449);this[_0x278869(0x1fb)][_0x278869(0xb2)](_0x556871),this[_0x278869(0x2c1)][_0x278869(0x82)](_0x547449,_0x556871);}),this[_0x57d1db(0x24e)]['getTypeOfUnitAdded$'](a[_0x57d1db(0x2e7)][_0x57d1db(0x2ae)])[_0x57d1db(0x74)](d[_0x57d1db(0x2a5)](this[_0x57d1db(0x9b)]))['pipe'](d[_0x57d1db(0xdd)](_0x54e133=>!_0x54e133[_0x57d1db(0xd6)]()[_0x57d1db(0xb8)]('__')))['subscribe'](async _0x3cf694=>{const _0x43de3e=_0x57d1db,_0x3b29f5=_0x3cf694[_0x43de3e(0xd6)](),_0x55516d=await this['_startDocCollabCursor'](_0x3b29f5);this['_entityInit$'][_0x43de3e(0xb2)](_0x55516d),this[_0x43de3e(0x2c1)][_0x43de3e(0x82)](_0x3b29f5,_0x55516d);}),d[_0x57d1db(0x19c)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](a[_0x57d1db(0x2e7)]['UNIVER_DOC']),this['_univerInstanceService'][_0x57d1db(0x1c3)](a['UniverInstanceType']['UNIVER_SHEET']))['pipe'](d[_0x57d1db(0x2a5)](this[_0x57d1db(0x9b)]))['subscribe'](_0x55acc3=>{const _0x4a42fa=_0x57d1db,_0x1f0c2e=_0x55acc3[_0x4a42fa(0xd6)](),_0x30e6f5=this['_entities'][_0x4a42fa(0x17b)](_0x1f0c2e);_0x30e6f5&&(_0x30e6f5[_0x4a42fa(0x195)](),this[_0x4a42fa(0x2c1)][_0x4a42fa(0x232)](_0x1f0c2e));});}async[_0x4ba9c1(0x19d)](_0x311204){const _0x4a97a4=_0x4ba9c1,_0x395088=await this[_0x4a97a4(0x1ef)]['requireSession'](_0x311204),_0x1369f6=this[_0x4a97a4(0x1b6)]['createInstance'](Se,_0x311204,_0x395088);return _0x1369f6[_0x4a97a4(0x100)](),_0x1369f6;}async[_0x4ba9c1(0x23f)](_0xcebbfa){const _0x150750=_0x4ba9c1,_0x5d385e=await this[_0x150750(0x1ef)][_0x150750(0x10c)](_0xcebbfa),_0x83e1d5=this['_injector']['createInstance'](fe,_0xcebbfa,_0x5d385e);return _0x83e1d5['init'](),_0x83e1d5;}};x=ct([ie(0x0,a[_0x4ba9c1(0x247)]),ie(0x1,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x11f)])),ie(0x2,a[_0x4ba9c1(0x1f9)](u['CollaborationSessionService']))],x);const K=0x14,Re=0xc8,ne=0x4,lt=0x5;function _t(_0x5015ea,_0x535ae1){const _0x34139f=_0x4ba9c1;let {radius:_0x1b4e7e,width:_0x296a80,height:_0x2b2b71}=_0x535ae1;_0x1b4e7e=_0x1b4e7e!=null?_0x1b4e7e:0x0,_0x296a80=_0x296a80!=null?_0x296a80:0x1e,_0x2b2b71=_0x2b2b71!=null?_0x2b2b71:0x1e;let _0x2d5c84=0x0,_0x266a42=0x0,_0xae7982=0x0;_0x2d5c84=_0x266a42=_0xae7982=Math['min'](_0x1b4e7e,_0x296a80/0x2,_0x2b2b71/0x2),_0x5015ea[_0x34139f(0x117)](),_0x5015ea[_0x34139f(0x176)](_0x2d5c84,0x0),_0x5015ea[_0x34139f(0xea)](_0x296a80-_0x266a42,0x0),_0x5015ea[_0x34139f(0x14f)](_0x296a80-_0x266a42,_0x266a42,_0x266a42,Math['PI']*0x3/0x2,0x0,!0x1),_0x5015ea[_0x34139f(0xea)](_0x296a80,_0x2b2b71-_0xae7982),_0x5015ea[_0x34139f(0x14f)](_0x296a80-_0xae7982,_0x2b2b71-_0xae7982,_0xae7982,0x0,Math['PI']/0x2,!0x1),_0x5015ea[_0x34139f(0xea)](0x0,_0x2b2b71),_0x5015ea[_0x34139f(0xea)](0x0,_0x2d5c84),_0x5015ea[_0x34139f(0x14f)](_0x2d5c84,_0x2d5c84,_0x2d5c84,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5015ea[_0x34139f(0x116)](),_0x535ae1[_0x34139f(0x260)]&&(_0x5015ea[_0x34139f(0x193)](),_0x5015ea[_0x34139f(0x1f1)]=_0x535ae1[_0x34139f(0x260)],_0x535ae1[_0x34139f(0x295)]===_0x34139f(0x12d)?_0x5015ea['fill'](_0x34139f(0x12d)):_0x5015ea[_0x34139f(0x260)](),_0x5015ea[_0x34139f(0xa7)]());}class ee extends p[_0x4ba9c1(0x2f4)]{constructor(_0x578644,_0x245296){const _0x6bc70b=_0x4ba9c1;super(_0x578644,_0x245296),h(this,_0x6bc70b(0x75)),h(this,_0x6bc70b(0x226)),(this[_0x6bc70b(0x75)]=_0x245296==null?void 0x0:_0x245296['color'],this[_0x6bc70b(0x226)]=_0x245296==null?void 0x0:_0x245296[_0x6bc70b(0x226)]);}static[_0x4ba9c1(0x27e)](_0x1df356,_0x303c2e){const _0x33fb33=_0x4ba9c1,{text:_0x3b0f21,color:_0x5a9943}=_0x303c2e;_0x1df356['save'](),_0x1df356[_0x33fb33(0x28c)]=_0x33fb33(0x92);const _0x152497=_0x1df356[_0x33fb33(0x2a8)](_0x3b0f21)[_0x33fb33(0x190)],_0x464419=Math['min'](_0x152497+0x2*ne,Re);_t(_0x1df356,{'height':K,'radius':0x4,'width':_0x464419,'fill':_0x5a9943}),_0x1df356['fillStyle']=_0x33fb33(0x1c9);const _0x42921c=ne,_0x5de67d=K-lt,_0x296537=Re-0x2*ne;if(_0x152497>_0x296537){let _0x5b1b1='',_0x5e9a79=0x0;for(const _0x597b00 of _0x3b0f21){const _0x151ec2=_0x1df356[_0x33fb33(0x2a8)](_0x597b00)[_0x33fb33(0x190)];if(_0x5e9a79+_0x151ec2<=_0x296537-_0x1df356[_0x33fb33(0x2a8)](_0x33fb33(0xca))[_0x33fb33(0x190)])_0x5b1b1+=_0x597b00,_0x5e9a79+=_0x151ec2;else{_0x5b1b1+=_0x33fb33(0xca);break;}}_0x1df356['fillText'](_0x5b1b1,_0x42921c,_0x5de67d);}else _0x1df356['fillText'](_0x3b0f21,_0x42921c,_0x5de67d);_0x1df356['restore']();}['_draw'](_0x2ce506){const _0x2b5fea=_0x4ba9c1;ee[_0x2b5fea(0x27e)](_0x2ce506,this);}}const re=_0x4ba9c1(0x192),ht='collab-text-range-',ut=_0x4ba9c1(0x149),k=0x6,dt=1.5,oe=0x4,ft=1.5,St=_0x4ba9c1(0x244);class De{constructor(_0x2a97a2,_0x3bf856,_0x44d81b,_0x3218bc){const _0x242be1=_0x4ba9c1;h(this,_0x242be1(0x1ab),[]),h(this,'_anchor',null),h(this,'_textBubble',null),h(this,_0x242be1(0x23d),null),h(this,_0x242be1(0xbc),null),h(this,_0x242be1(0x1e5),null),(this[_0x242be1(0x10d)]=_0x2a97a2,this[_0x242be1(0x2d1)]=_0x3bf856,this[_0x242be1(0x1c1)]=_0x44d81b,this[_0x242be1(0x6f)]=_0x3218bc,this[_0x242be1(0x122)]());}set[_0x4ba9c1(0x183)](_0xfafbb6){const _0x2f6382=_0x4ba9c1;_0xfafbb6?(this[_0x2f6382(0x23d)]&&this['_anchorDot']['hide'](),this['_textBubble']&&this[_0x2f6382(0x223)][_0x2f6382(0x245)]()):(this['_anchorDot']&&this[_0x2f6382(0x23d)][_0x2f6382(0x245)](),this[_0x2f6382(0x223)]&&this[_0x2f6382(0x223)][_0x2f6382(0xbe)]());}['dispose'](){const _0x23ddf2=_0x4ba9c1;for(const _0x3f6178 of this[_0x23ddf2(0x1ab)])_0x3f6178[_0x23ddf2(0x195)]();this[_0x23ddf2(0x223)]&&this[_0x23ddf2(0x223)][_0x23ddf2(0x195)](),this[_0x23ddf2(0x23d)]&&this['_anchorDot'][_0x23ddf2(0x195)](),this[_0x23ddf2(0x2e5)]&&this[_0x23ddf2(0x2e5)][_0x23ddf2(0x195)](),this[_0x23ddf2(0x1e5)]&&this[_0x23ddf2(0x1e5)]();}['_render'](){const _0x23d7e3=_0x4ba9c1;var _0x2f45da;const {_docSkeleton:_0x179da8,_document:_0x5c9679}=this,{color:_0x4cff32,name:_0x1e867b,ranges:_0x4ed5fb}=this['_cursor'],_0x517a73=_0x5c9679[_0x23d7e3(0x2b2)](),{docsLeft:_0xe31945,docsTop:_0x278a7e}=_0x517a73,_0x62ce7e=new b['NodePositionConvertToCursor'](_0x517a73,_0x179da8);for(const {startOffset:_0x4a67af,endOffset:_0x4a561e,rangeType:_0xc1a404,segmentId:_0x313b88,segmentPage:_0x3f3a09,collapsed:_0x56df9b,isActive:_0x3591a3}of _0x4ed5fb){const _0x31b4c0=_0x179da8[_0x23d7e3(0x8d)](_0x4a67af,!0x0,_0x313b88,_0x3f3a09);let _0x583332=_0x179da8[_0x23d7e3(0x8d)](_0x4a561e,!0x0,_0x313b88,_0x3f3a09);if(_0x583332==null&&(_0x583332=_0x179da8[_0x23d7e3(0x8d)](_0x4a561e-0x1,!0x1,_0x313b88,_0x3f3a09)),_0x3591a3){const {contentBoxPointGroup:_0x26e4e5}=_0x62ce7e[_0x23d7e3(0xbf)](_0x583332,_0x583332);if(_0x26e4e5[_0x23d7e3(0x1da)]===0x0)continue;this[_0x23d7e3(0x102)](_0x4cff32,_0x26e4e5,_0xe31945,_0x278a7e,_0x1e867b),this[_0x23d7e3(0x1e5)]=this[_0x23d7e3(0x1f7)]();}if(_0x31b4c0&&_0x583332){if(_0xc1a404===a[_0x23d7e3(0x286)][_0x23d7e3(0x8f)]){const _0x4dee00=new b[(_0x23d7e3(0x23c))](_0x517a73,_0x179da8),{pointGroup:_0x75b1d4}=(_0x2f45da=_0x4dee00[_0x23d7e3(0xbf)](_0x31b4c0,_0x583332))!=null?_0x2f45da:{};if(_0x75b1d4==null||_0x75b1d4[_0x23d7e3(0x1da)]===0x0)continue;this[_0x23d7e3(0x185)](_0x4cff32,_0x75b1d4,_0xe31945,_0x278a7e);}else{if(!_0x56df9b){const {borderBoxPointGroup:_0x496d2f}=_0x62ce7e[_0x23d7e3(0xbf)](_0x31b4c0,_0x583332);if(_0x496d2f[_0x23d7e3(0x1da)]===0x0)continue;this[_0x23d7e3(0x7c)](_0x4cff32,_0x496d2f,_0xe31945,_0x278a7e);}}}}}[_0x4ba9c1(0x102)](_0x3c47,_0x2577dc,_0xc620ac,_0x3365c9,_0x170b4b){const _0x13d679=_0x4ba9c1,_0x17a632=this[_0x13d679(0x17c)](_0x2577dc),{left:_0x5f3326,top:_0x4a8b7a,height:_0xfeb5d8}=_0x17a632,_0xa930d2=this[_0x13d679(0x118)](),_0x277c18=ft/_0xa930d2,_0x5420b2=new p[(_0x13d679(0xc1))](re+a['Tools'][_0x13d679(0x274)](k),{'left':_0x5f3326+_0xc620ac-_0x277c18,'top':_0x4a8b7a+_0x3365c9,'height':_0xfeb5d8,'width':dt,'fill':_0x3c47||p[_0x13d679(0x154)](a[_0x13d679(0x163)]['black'],0x0),'strokeWidth':_0x277c18,'stroke':St,'evented':!0x0});this[_0x13d679(0x2e5)]=_0x5420b2,this['_scene'][_0x13d679(0xbb)](_0x5420b2,b[_0x13d679(0xb9)]);const _0x16ef1b=new p[(_0x13d679(0xc1))](re+a['Tools']['generateRandomId'](k),{'left':_0x5f3326+_0xc620ac-_0x277c18,'top':_0x4a8b7a+_0x3365c9-oe/0x2,'height':oe,'width':oe,'fill':_0x3c47||p['getColor'](a[_0x13d679(0x163)][_0x13d679(0x19e)],0x0),'strokeWidth':0x0,'stroke':_0x3c47||p[_0x13d679(0x154)](a[_0x13d679(0x163)][_0x13d679(0x19e)],0x0),'evented':!0x1});this[_0x13d679(0x23d)]=_0x16ef1b,this[_0x13d679(0x2d1)][_0x13d679(0xbb)](_0x16ef1b,b[_0x13d679(0xb9)]);const _0x53c6f4=new ee(re+a[_0x13d679(0x136)][_0x13d679(0x274)](k),{'left':_0x5f3326+_0xc620ac-_0x277c18,'top':_0x4a8b7a+_0x3365c9-K,'text':_0x170b4b,'color':_0x3c47});this['_textBubble']=_0x53c6f4,this[_0x13d679(0x2d1)]['addObject'](_0x53c6f4,b['TEXT_RANGE_LAYER_INDEX']),this[_0x13d679(0x183)]=!0x1;}[_0x4ba9c1(0x1f7)](){const _0x5b2914=_0x4ba9c1,_0x2708aa=this[_0x5b2914(0x2e5)]['onPointerEnter$'][_0x5b2914(0x242)](()=>{const _0x26620b=_0x5b2914;this[_0x26620b(0x183)]=!0x0;}),_0x15500d=this['_anchor'][_0x5b2914(0x2bd)][_0x5b2914(0x242)](()=>{const _0x4859cb=_0x5b2914;this[_0x4859cb(0xbc)]&&clearTimeout(this[_0x4859cb(0xbc)]),this[_0x4859cb(0xbc)]=setTimeout(()=>{const _0xd3aa60=_0x4859cb;this[_0xd3aa60(0x183)]=!0x1;},0x7d0);});return()=>{const _0x2ddce2=_0x5b2914;_0x2708aa[_0x2ddce2(0x170)](),_0x15500d[_0x2ddce2(0x170)]();};}[_0x4ba9c1(0x7c)](_0x49560e,_0x2b259e,_0x3775aa,_0x3b0d9e){const _0x1fd245=_0x4ba9c1,_0x12ebb2=new a['ColorKit'](_0x49560e)[_0x1fd245(0x269)](0.2)['toRgbString'](),_0x120dac=new p[(_0x1fd245(0x88))](ht+a[_0x1fd245(0x136)][_0x1fd245(0x274)](k),{'pointsGroup':_0x2b259e,'fill':_0x12ebb2||p[_0x1fd245(0x154)](a[_0x1fd245(0x163)][_0x1fd245(0x19e)],0.2),'left':_0x3775aa,'top':_0x3b0d9e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1fd245(0x20e)](_0x120dac),this['_scene'][_0x1fd245(0xbb)](_0x120dac,b[_0x1fd245(0xb9)]);}[_0x4ba9c1(0x185)](_0xb5123f,_0x1a8e99,_0x7502a5,_0x4851ce){const _0x451d0b=_0x4ba9c1,_0x16a408=new a[(_0x451d0b(0x285))](_0xb5123f)[_0x451d0b(0x269)](0.2)[_0x451d0b(0x178)](),_0x3897ef=new p[(_0x451d0b(0x88))](ut+a[_0x451d0b(0x136)][_0x451d0b(0x274)](k),{'pointsGroup':_0x1a8e99,'fill':_0x16a408||p['getColor'](a[_0x451d0b(0x163)][_0x451d0b(0x19e)],0.2),'left':_0x7502a5,'top':_0x4851ce,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x451d0b(0x20e)](_0x3897ef),this['_scene'][_0x451d0b(0xbb)](_0x3897ef,b[_0x451d0b(0xb9)]);}[_0x4ba9c1(0x17c)](_0x3c2728){const _0x503fdf=_0x3c2728[0x0],_0x447d97=_0x503fdf[0x0],_0x35cbdc=_0x503fdf[0x2],{x:_0x23aab2,y:_0x239f15}=_0x447d97,{x:_0x2fa9c0,y:_0x20a147}=_0x35cbdc;return{'left':_0x23aab2,'top':_0x239f15,'width':_0x2fa9c0-_0x23aab2,'height':_0x20a147-_0x239f15};}['_getScale'](){const _0x5f05e3=_0x4ba9c1,{scaleX:_0x35ade6,scaleY:_0x43265}=this['_scene'][_0x5f05e3(0x227)]();return Math['max'](_0x35ade6,_0x43265);}}var It=Object[_0x4ba9c1(0x23e)],vt=(_0x3845f7,_0x598dce,_0x3daee6,_0x40d931)=>{const _0x22483a=_0x4ba9c1;for(var _0x27f54a=_0x40d931>0x1?void 0x0:_0x40d931?It(_0x598dce,_0x3daee6):_0x598dce,_0xc5890f=_0x3845f7[_0x22483a(0x1da)]-0x1,_0x58e3ec;_0xc5890f>=0x0;_0xc5890f--)(_0x58e3ec=_0x3845f7[_0xc5890f])&&(_0x27f54a=_0x58e3ec(_0x27f54a)||_0x27f54a);return _0x27f54a;},W=(_0x522524,_0x3888dd)=>(_0x314db5,_0x4a7026)=>_0x3888dd(_0x314db5,_0x4a7026,_0x522524);let Ie=class extends a[_0x4ba9c1(0x1b8)]{constructor(_0x43e6fa,_0x369eec,_0x1d04c1,_0x3b9b6a,_0x45ce57){const _0x3df863=_0x4ba9c1;super(),h(this,_0x3df863(0xab),[]),h(this,_0x3df863(0x194),[]),(this[_0x3df863(0x277)]=_0x43e6fa,this['_docSkeletonManagerService']=_0x369eec,this['_collabCursorController']=_0x1d04c1,this['_commandService']=_0x3b9b6a,this['_themeService']=_0x45ce57,this[_0x3df863(0x2c4)]());}[_0x4ba9c1(0x2c4)](){const _0x10e420=_0x4ba9c1,_0x1b2981=this[_0x10e420(0x277)][_0x10e420(0x17f)],_0x3705c8=this[_0x10e420(0x1a6)];this[_0x10e420(0x2db)](d[_0x10e420(0xfc)]([this[_0x10e420(0xb5)][_0x10e420(0x191)](_0x1b2981),this[_0x10e420(0x84)][_0x10e420(0x292)]])['pipe']($[_0x10e420(0x2f7)](([_0x36d3b9,_0xd3d607])=>({'skeleton':_0x3705c8[_0x10e420(0xd7)](),'cursors':[..._0x36d3b9['values']()][_0x10e420(0x29a)](_0xcd5693=>({..._0xcd5693,'color':this[_0x10e420(0x84)]['getColorFromTheme'](_0xcd5693['color'])}))})))[_0x10e420(0x1a4)](_0x25d87d=>{const _0x190844=_0x10e420;if(this[_0x190844(0x111)](),_0x25d87d){const {skeleton:_0x310199,cursors:_0x211692}=_0x25d87d;this[_0x190844(0x1a1)](_0x310199,_0x211692);}})),this['_initResize'](),this[_0x10e420(0x95)]();}[_0x4ba9c1(0x1a1)](_0x216aed,_0x5ca3a4){const _0x4ad6ff=_0x4ba9c1,{scene:_0x538f6d,mainComponent:_0x319dca}=this[_0x4ad6ff(0x277)],_0x19d1f1=_0x5ca3a4['map'](_0x50c838=>new De(_0x50c838,_0x538f6d,_0x216aed,_0x319dca));this[_0x4ad6ff(0xab)]=_0x19d1f1,this[_0x4ad6ff(0x194)]=_0x5ca3a4;}[_0x4ba9c1(0x25f)](){const _0x4810d4=_0x4ba9c1;this[_0x4810d4(0x111)]();const {scene:_0x1fbe94,mainComponent:_0x1800da}=this[_0x4810d4(0x277)],_0x308000=this[_0x4810d4(0x1a6)][_0x4810d4(0xd7)](),_0x45caab=this[_0x4810d4(0x194)]['map'](_0x34983d=>new De(_0x34983d,_0x1fbe94,_0x308000,_0x1800da));this['_cursorShapes']=_0x45caab;}['_removeCollabCursors'](){const _0x404d3d=_0x4ba9c1;this['_cursorShapes'][_0x404d3d(0xf8)](_0x11449b=>_0x11449b[_0x404d3d(0x195)]()),this[_0x404d3d(0xab)]=[];}[_0x4ba9c1(0x95)](){const _0x20571f=_0x4ba9c1,_0x48b8b1=[b['SetDocZoomRatioOperation']['id']];this[_0x20571f(0x2db)](this[_0x20571f(0x112)][_0x20571f(0x15b)](_0x26a82f=>{const _0x12bc0b=_0x20571f;_0x48b8b1[_0x12bc0b(0x2d7)](_0x26a82f['id'])&&_0x26a82f['params']['unitId']===this[_0x12bc0b(0x277)][_0x12bc0b(0x17f)]&&this[_0x12bc0b(0x25f)]();}));}['_initResize'](){const _0x1c6b3b=_0x4ba9c1;this[_0x1c6b3b(0x2db)](a[_0x1c6b3b(0x1f3)](this[_0x1c6b3b(0x277)]['engine'][_0x1c6b3b(0x1e4)])['pipe']($[_0x1c6b3b(0xdd)](_0xe258d4=>_0xe258d4['type']===p['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),$[_0x1c6b3b(0x7f)](0x10))[_0x1c6b3b(0x1a4)](()=>{const _0x341a7a=_0x1c6b3b;this[_0x341a7a(0x25f)]();}));}};Ie=vt([W(0x1,a[_0x4ba9c1(0x1f9)](Y[_0x4ba9c1(0x1a9)])),W(0x2,a[_0x4ba9c1(0x1f9)](x)),W(0x3,a[_0x4ba9c1(0xb3)]),W(0x4,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0xa1)]))],Ie);const gt=0x1,mt=1.5;class Pe extends p[_0x4ba9c1(0x2f4)]{constructor(_0x52aa26,_0x15921c){const _0x160f00=_0x4ba9c1;super(_0x52aa26,_0x15921c),h(this,_0x160f00(0x272)),h(this,_0x160f00(0x2dd),!0x1),h(this,_0x160f00(0x2e3)),h(this,_0x160f00(0x146),''),h(this,_0x160f00(0x2fb),_0x160f00(0x2c2)),h(this,'_backgroundColor'),(_0x15921c&&this[_0x160f00(0x2f1)](_0x15921c),this[_0x160f00(0x182)][_0x160f00(0x242)](()=>this[_0x160f00(0x2f1)]({'hovered':!0x0})),this[_0x160f00(0x2bd)][_0x160f00(0x242)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x4ba9c1(0x2f1)](_0x48ae4b){const _0x1ac769=_0x4ba9c1;var _0x10754d,_0x329b0d,_0x32141d,_0x4d744b,_0x4cfe6b,_0x871447;this[_0x1ac769(0x272)]=(_0x10754d=_0x48ae4b['color'])!=null?_0x10754d:this[_0x1ac769(0x272)],this['_hovered']=(_0x329b0d=_0x48ae4b[_0x1ac769(0x29e)])!=null?_0x329b0d:this[_0x1ac769(0x2dd)],this['_range']=(_0x32141d=_0x48ae4b['range'])!=null?_0x32141d:this['_range'],this[_0x1ac769(0x146)]=(_0x4d744b=_0x48ae4b[_0x1ac769(0xd2)])!=null?_0x4d744b:this['_name'],this['_labelPosition']=(_0x4cfe6b=_0x48ae4b[_0x1ac769(0xf4)])!=null?_0x4cfe6b:this[_0x1ac769(0x2fb)],this[_0x1ac769(0x187)]=(_0x871447=_0x48ae4b[_0x1ac769(0x2d2)])!=null?_0x871447:this['_backgroundColor'],this['transformByState']({'width':_0x48ae4b[_0x1ac769(0x190)],'height':_0x48ae4b['height']});}['onMouseMove'](_0x459d26){const _0x564d16=_0x4ba9c1,{row:_0x3c610c,column:_0x236023}=_0x459d26;if(_0x3c610c>=this[_0x564d16(0x2e3)][_0x564d16(0x239)]&&_0x3c610c<=this[_0x564d16(0x2e3)]['endRow']&&_0x236023>=this[_0x564d16(0x2e3)][_0x564d16(0x169)]&&_0x236023<=this[_0x564d16(0x2e3)][_0x564d16(0xac)]){this[_0x564d16(0x2f1)]({'hovered':!0x0});return;}this[_0x564d16(0x2f1)]({'hovered':!0x1});}[_0x4ba9c1(0x257)](_0xf8f0d0){return!0x1;}[_0x4ba9c1(0x2c7)](_0x480e21){const _0x271a01=_0x4ba9c1;p[_0x271a01(0xc1)][_0x271a01(0x27e)](_0x480e21,{'width':this[_0x271a01(0x190)],'height':this[_0x271a01(0x243)],'strokeWidth':mt,'stroke':this[_0x271a01(0x272)],'evented':!0x1,'fill':this[_0x271a01(0x187)]}),this[_0x271a01(0x2dd)]&&(_0x480e21[_0x271a01(0x193)](),_0x480e21[_0x271a01(0x7d)](0x1,0x0,0x0,0x1,this[_0x271a01(0x190)],this[_0x271a01(0x2fb)]===_0x271a01(0x2d0)?0x0:-0x14),ee['drawWith'](_0x480e21,{'text':this['_name'],'color':this[_0x271a01(0x272)]}),_0x480e21[_0x271a01(0xa7)]());}}var Ct=Object[_0x4ba9c1(0x23e)],pt=(_0x178d38,_0x12c273,_0xfb65cb,_0x5d4402)=>{const _0x24e0d9=_0x4ba9c1;for(var _0x331dde=_0x5d4402>0x1?void 0x0:_0x5d4402?Ct(_0x12c273,_0xfb65cb):_0x12c273,_0x411d6d=_0x178d38[_0x24e0d9(0x1da)]-0x1,_0x1d6ae4;_0x411d6d>=0x0;_0x411d6d--)(_0x1d6ae4=_0x178d38[_0x411d6d])&&(_0x331dde=_0x1d6ae4(_0x331dde)||_0x331dde);return _0x331dde;},ae=(_0x50dfc3,_0x42326b)=>(_0xb5b4fa,_0x40f776)=>_0x42326b(_0xb5b4fa,_0x40f776,_0x50dfc3);const bt=0x1389;let ve=class extends a[_0x4ba9c1(0x1b8)]{constructor(_0x465e11,_0x277fe4,_0x278226,_0x55b2c0){const _0x4ceff8=_0x4ba9c1;super(),h(this,_0x4ceff8(0x194),new Set()),h(this,_0x4ceff8(0x184),null),(this[_0x4ceff8(0x277)]=_0x465e11,this['_sheetSkeletonManagerService']=_0x277fe4,this[_0x4ceff8(0xb5)]=_0x278226,this['_themeService']=_0x55b2c0,this[_0x4ceff8(0x2c4)]());}['_init'](){const _0x45bf6a=_0x4ba9c1;this[_0x45bf6a(0x150)][_0x45bf6a(0x18e)][_0x45bf6a(0x74)]($[_0x45bf6a(0x2a5)](this[_0x45bf6a(0x9b)]),$[_0x45bf6a(0x234)](_0xe8f776=>{const _0x5dd1c6=_0x45bf6a;if(_0xe8f776){const _0x3145aa=_0xe8f776['sheetId'];return d[_0x5dd1c6(0xfc)](this['_collabCursorController'][_0x5dd1c6(0x191)](this[_0x5dd1c6(0x277)][_0x5dd1c6(0x17f)]),this['_themeService'][_0x5dd1c6(0x292)])[_0x5dd1c6(0x74)]($[_0x5dd1c6(0x2f7)](([_0x4d0a31,_0x1e704e])=>{const _0x40143d=_0x5dd1c6,_0x2a5805=new Map();return _0x4d0a31[_0x40143d(0xf8)]((_0x53df9d,_0x51e406)=>{const _0x147a9d=_0x40143d;if(_0x53df9d['sheetID']===_0x3145aa){const _0x2ccf07={..._0x53df9d};_0x2ccf07[_0x147a9d(0x75)]=this['_themeService']['getColorFromTheme'](_0x53df9d[_0x147a9d(0x75)]),_0x2a5805[_0x147a9d(0x82)](_0x51e406,_0x2ccf07);}}),{'skeleton':_0xe8f776,'cursors':_0x2a5805};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x45bf6a(0x1a4)](({skeleton:_0x4e6eb4,cursors:_0x23566e})=>{const _0x1540d7=_0x45bf6a;this['_removeCollabCursors'](),_0x4e6eb4&&this[_0x1540d7(0x1a1)](_0x4e6eb4,_0x23566e);}),this[_0x45bf6a(0x150)][_0x45bf6a(0x18e)][_0x45bf6a(0x1a4)](_0x47e491=>{const _0x576ecc=_0x45bf6a;if(_0x47e491==null)return;const {skeleton:_0x35566c}=_0x47e491,{scene:_0x289a3d}=this[_0x576ecc(0x277)];_0x289a3d[_0x576ecc(0x2ab)][_0x576ecc(0x242)](a[_0x576ecc(0x2ef)](_0x39f3cb=>{const _0x366e9d=_0x576ecc;var _0x31cddc,_0x14ff6d;const {offsetX:_0x3d6a42,offsetY:_0x4d320d}=_0x39f3cb,{x:_0x4785b8,y:_0x4794ff}=_0x289a3d['getRelativeToViewportCoord'](p[_0x366e9d(0x2aa)]['FromArray']([_0x3d6a42,_0x4d320d])),{scaleX:_0x240cec,scaleY:_0x125d06}=_0x289a3d[_0x366e9d(0x227)](),_0x34dd11=_0x289a3d[_0x366e9d(0x18c)](p[_0x366e9d(0xff)][_0x366e9d(0x138)]),_0x464680=_0x289a3d['getVpScrollXYInfoByPosToVp'](p[_0x366e9d(0x2aa)][_0x366e9d(0x276)]([_0x4785b8,_0x4794ff]),_0x34dd11),_0x40625a=_0x35566c['getCellPositionByOffset'](_0x3d6a42,_0x4d320d,_0x240cec,_0x125d06,_0x464680);((_0x31cddc=this['_lastPointer'])==null?void 0x0:_0x31cddc[_0x366e9d(0x19b)])===_0x40625a[_0x366e9d(0x19b)]&&((_0x14ff6d=this[_0x366e9d(0x184)])==null?void 0x0:_0x14ff6d[_0x366e9d(0x1d4)])===_0x40625a[_0x366e9d(0x1d4)]||this[_0x366e9d(0x194)][_0x366e9d(0xf8)](_0x833a8b=>{_0x833a8b['onMouseMove'](_0x40625a);});},0x64));});}[_0x4ba9c1(0x1a1)](_0x2c3e9c,_0x4075cd){const _0x5203e1=_0x4ba9c1;var _0x5eb361;const _0x25feac=(_0x5eb361=this[_0x5203e1(0x150)][_0x5203e1(0x167)]())==null?void 0x0:_0x5eb361[_0x5203e1(0x24f)];if(!_0x25feac)return;const _0x168d36=this[_0x5203e1(0x2f8)]();if(!_0x168d36)return;this[_0x5203e1(0x194)]['forEach'](_0x42c1fe=>{const _0xff628a=_0x5203e1;_0x42c1fe[_0xff628a(0xc8)]();});const {scene:_0x33bc44}=_0x168d36,_0x52d06b=Et(Array['from'](_0x4075cd[_0x5203e1(0x70)]()))[_0x5203e1(0x2f7)](_0x4d5e5b=>{const _0x12c8d0=_0x5203e1,{color:_0x88b553,range:_0x10f691,name:_0x3085cb,selection:_0x3e2452,sheetID:_0x1de7e6}=_0x4d5e5b,{startColumn:_0x7b2567,startRow:_0x12e4b1,endColumn:_0xfc9430,endRow:_0x1b985b}=_0x10f691,_0x2a665f=X[_0x12c8d0(0xc4)](_0x12e4b1,_0x7b2567,_0x33bc44,_0x25feac),_0x9a3eb5=X['getCoordByCell'](_0x1b985b,_0xfc9430,_0x33bc44,_0x25feac),{columnHeaderHeightAndMarginTop:_0x49ae76}=_0x25feac,{startX:_0x230a7c,startY:_0x7b8856}=_0x2a665f,{endX:_0x153ce2,endY:_0x3e08c6}=_0x9a3eb5,_0x52d3b6=_0x153ce2-_0x230a7c,_0x154eac=_0x3e08c6-_0x7b8856,_0x5f3b98={'labelPosition':_0x7b8856-_0x49ae76>=K?_0x12c8d0(0x2c2):_0x12c8d0(0x2d0),'sheetID':_0x1de7e6,'range':_0x10f691,'color':_0x88b553,'name':_0x3085cb,'selection':_0x3e2452,'left':_0x230a7c,'top':_0x7b8856,'width':_0x52d3b6,'height':_0x154eac,'evented':!0x1,'zIndex':bt};return new Pe(_0x3085cb,_0x5f3b98);});_0x33bc44[_0x5203e1(0xcb)](_0x52d06b,gt),this[_0x5203e1(0x194)]=new Set(_0x52d06b);}[_0x4ba9c1(0x111)](){const _0x2a6a66=_0x4ba9c1;var _0x255ecd;(_0x255ecd=this[_0x2a6a66(0x194)])==null||_0x255ecd[_0x2a6a66(0xf8)](_0x4d29f0=>_0x4d29f0[_0x2a6a66(0x195)]());}[_0x4ba9c1(0x2f8)](){const _0x27a17a=_0x4ba9c1;return X[_0x27a17a(0xc0)](this[_0x27a17a(0x277)][_0x27a17a(0x21b)],this['_context']);}};ve=pt([ae(0x1,a['Inject'](X[_0x4ba9c1(0xdb)])),ae(0x2,a['Inject'](x)),ae(0x3,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0xa1)]))],ve);function Et(_0x13c95b){const _0x254fd6=_0x4ba9c1,_0x3abe94=new Map();return _0x13c95b[_0x254fd6(0xf8)](_0x47f794=>{const _0x5adf55=_0x254fd6;if(_0x3abe94['has'](_0x47f794[_0x5adf55(0x1fe)])){const _0x1bf2bc=_0x3abe94[_0x5adf55(0x17b)](_0x47f794[_0x5adf55(0x1fe)]);_0x1bf2bc['name']+=',\x20'+_0x47f794[_0x5adf55(0xd2)];}else _0x3abe94[_0x5adf55(0x82)](_0x47f794['selection'],_0x47f794);}),Array[_0x254fd6(0x12b)](_0x3abe94[_0x254fd6(0x70)]());}var E=function(){const _0x3e78b7=_0x4ba9c1;return E=Object['assign']||function(_0x495af3){const _0x55ed5a=_0x167f;for(var _0x30cfe4,_0x4f4e17=0x1,_0x1db6df=arguments[_0x55ed5a(0x1da)];_0x4f4e17<_0x1db6df;_0x4f4e17++){_0x30cfe4=arguments[_0x4f4e17];for(var _0x66fa58 in _0x30cfe4)Object[_0x55ed5a(0xc7)]['hasOwnProperty']['call'](_0x30cfe4,_0x66fa58)&&(_0x495af3[_0x66fa58]=_0x30cfe4[_0x66fa58]);}return _0x495af3;},E[_0x3e78b7(0x12a)](this,arguments);},Tt=function(_0x7d3095,_0x28bbc0){const _0x54c4ce=_0x4ba9c1;var _0x56f6b1={};for(var _0x2370ae in _0x7d3095)Object[_0x54c4ce(0xc7)][_0x54c4ce(0x264)][_0x54c4ce(0x25e)](_0x7d3095,_0x2370ae)&&_0x28bbc0[_0x54c4ce(0x123)](_0x2370ae)<0x0&&(_0x56f6b1[_0x2370ae]=_0x7d3095[_0x2370ae]);if(_0x7d3095!=null&&typeof Object[_0x54c4ce(0x2f5)]==_0x54c4ce(0xcd)){for(var _0x41185f=0x0,_0x2370ae=Object[_0x54c4ce(0x2f5)](_0x7d3095);_0x41185f<_0x2370ae[_0x54c4ce(0x1da)];_0x41185f++)_0x28bbc0[_0x54c4ce(0x123)](_0x2370ae[_0x41185f])<0x0&&Object[_0x54c4ce(0xc7)][_0x54c4ce(0x114)][_0x54c4ce(0x25e)](_0x7d3095,_0x2370ae[_0x41185f])&&(_0x56f6b1[_0x2370ae[_0x41185f]]=_0x7d3095[_0x2370ae[_0x41185f]]);}return _0x56f6b1;},pe=M['forwardRef'](function(_0x4ea17c,_0x51c7f1){const _0x17ad62=_0x4ba9c1;var _0x39ba52=_0x4ea17c['icon'],_0x444666=_0x4ea17c['id'],_0x23af0e=_0x4ea17c[_0x17ad62(0x85)],_0x466151=_0x4ea17c[_0x17ad62(0x101)],_0x2daca9=Tt(_0x4ea17c,[_0x17ad62(0x99),'id','className',_0x17ad62(0x101)]),_0x3c4f00='univerjs-icon\x20univerjs-icon-'[_0x17ad62(0x159)](_0x444666,'\x20')[_0x17ad62(0x159)](_0x23af0e||'')['trim'](),_0x35dd20=M['useRef']('_'[_0x17ad62(0x159)](Dt()));return Ae(_0x39ba52,''[_0x17ad62(0x159)](_0x444666),{'defIds':_0x39ba52['defIds'],'idSuffix':_0x35dd20[_0x17ad62(0xf2)]},E({'ref':_0x51c7f1,'className':_0x3c4f00},_0x2daca9),_0x466151);});function Ae(_0x9d6af4,_0xda508c,_0x1cbb61,_0x36715b,_0x1b7ad6){const _0x55a30f=_0x4ba9c1;return M[_0x55a30f(0x9a)](_0x9d6af4[_0x55a30f(0x199)],E(E({'key':_0xda508c},Ot(_0x9d6af4,_0x1cbb61,_0x1b7ad6)),_0x36715b),(Rt(_0x9d6af4,_0x1cbb61)[_0x55a30f(0x10f)]||[])[_0x55a30f(0x2f7)](function(_0x285b09,_0x4b7684){const _0x15017d=_0x55a30f;return Ae(_0x285b09,''[_0x15017d(0x159)](_0xda508c,'-')[_0x15017d(0x159)](_0x9d6af4[_0x15017d(0x199)],'-')[_0x15017d(0x159)](_0x4b7684),_0x1cbb61,void 0x0,_0x1b7ad6);}));}function Ot(_0x2607e9,_0x3b66bc,_0x5090c6){const _0x3d9f8f=_0x4ba9c1;var _0x162e43=E({},_0x2607e9[_0x3d9f8f(0x2fc)]);_0x5090c6!=null&&_0x5090c6[_0x3d9f8f(0x18a)]&&_0x162e43['fill']===_0x3d9f8f(0x18a)&&(_0x162e43[_0x3d9f8f(0x260)]=_0x5090c6[_0x3d9f8f(0x18a)]),_0x2607e9[_0x3d9f8f(0x199)]===_0x3d9f8f(0x250)&&_0x162e43['id']&&(_0x162e43['id']=_0x162e43['id']+_0x3b66bc[_0x3d9f8f(0xc9)]),Object[_0x3d9f8f(0x236)](_0x162e43)[_0x3d9f8f(0xf8)](function(_0x51f4b1){const _0x1b654e=_0x3d9f8f;var _0x271722=_0x51f4b1[0x0],_0x55778c=_0x51f4b1[0x1];_0x271722===_0x1b654e(0x250)&&typeof _0x55778c==_0x1b654e(0x1e0)&&(_0x162e43[_0x271722]=_0x55778c[_0x1b654e(0x25d)](/url\(#(.*)\)/,'url(#$1'[_0x1b654e(0x159)](_0x3b66bc[_0x1b654e(0xc9)],')')));});var _0x2c22b6=_0x3b66bc[_0x3d9f8f(0x20f)];return!_0x2c22b6||_0x2c22b6[_0x3d9f8f(0x1da)]===0x0||(_0x2607e9[_0x3d9f8f(0x199)]===_0x3d9f8f(0x254)&&_0x162e43[_0x3d9f8f(0x1e3)]&&(_0x162e43[_0x3d9f8f(0x1e3)]=_0x162e43['xlink:href']+_0x3b66bc[_0x3d9f8f(0xc9)]),Object['entries'](_0x162e43)[_0x3d9f8f(0xf8)](function(_0x1defa3){const _0x233bf2=_0x3d9f8f;var _0x51a30d=_0x1defa3[0x0],_0x21ba86=_0x1defa3[0x1];typeof _0x21ba86==_0x233bf2(0x1e0)&&(_0x162e43[_0x51a30d]=_0x21ba86[_0x233bf2(0x25d)](/url\(#(.*)\)/,'url(#$1'[_0x233bf2(0x159)](_0x3b66bc['idSuffix'],')')));})),_0x162e43;}function Rt(_0x1775da,_0x37b2bb){const _0x5d0c2d=_0x4ba9c1;var _0x1d8b14,_0x4afdd9=_0x37b2bb[_0x5d0c2d(0x20f)];return!_0x4afdd9||_0x4afdd9[_0x5d0c2d(0x1da)]===0x0?_0x1775da:_0x1775da['tag']===_0x5d0c2d(0xd4)&&(!((_0x1d8b14=_0x1775da['children'])===null||_0x1d8b14===void 0x0)&&_0x1d8b14['length'])?E(E({},_0x1775da),{'children':_0x1775da[_0x5d0c2d(0x10f)][_0x5d0c2d(0x2f7)](function(_0x5f4e1a){const _0xa5d1ea=_0x5d0c2d;return typeof _0x5f4e1a[_0xa5d1ea(0x2fc)]['id']=='string'&&_0x4afdd9&&_0x4afdd9[_0xa5d1ea(0x2d7)](_0x5f4e1a['attrs']['id'])?E(E({},_0x5f4e1a),{'attrs':E(E({},_0x5f4e1a[_0xa5d1ea(0x2fc)]),{'id':_0x5f4e1a['attrs']['id']+_0x37b2bb[_0xa5d1ea(0xc9)]})}):_0x5f4e1a;})}):_0x1775da;}function Dt(){const _0x22c222=_0x4ba9c1;return Math[_0x22c222(0x142)]()['toString'](0x24)[_0x22c222(0x8b)](0x2,0x8);}pe[_0x4ba9c1(0x2a1)]=_0x4ba9c1(0x73);var Ut={'tag':_0x4ba9c1(0x25c),'attrs':{'xmlns':_0x4ba9c1(0x2ba),'fill':'none','viewBox':_0x4ba9c1(0x289),'width':_0x4ba9c1(0x1f8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4ba9c1(0xc6)},'children':[{'tag':_0x4ba9c1(0x1bc),'attrs':{'stroke':_0x4ba9c1(0xd5),'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':_0x4ba9c1(0x26b),'strokeLinejoin':_0x4ba9c1(0x26b),'strokeWidth':1.2}}]},{'tag':_0x4ba9c1(0xd4),'attrs':{},'children':[{'tag':_0x4ba9c1(0x1d5),'attrs':{'id':_0x4ba9c1(0x1b5)},'children':[{'tag':_0x4ba9c1(0x1bc),'attrs':{'fill':'white','d':_0x4ba9c1(0x1c4)}}]}]}],'defIds':[_0x4ba9c1(0x1b5)]},ye=M[_0x4ba9c1(0xaf)](function(_0x2ed682,_0x478b25){const _0x211538=_0x4ba9c1;return M[_0x211538(0x9a)](pe,Object[_0x211538(0xe3)]({},_0x2ed682,{'id':_0x211538(0x1bf),'ref':_0x478b25,'icon':Ut}));});ye['displayName']=_0x4ba9c1(0x1bd);var Nt={'tag':_0x4ba9c1(0x25c),'attrs':{'xmlns':_0x4ba9c1(0x2ba),'fill':_0x4ba9c1(0x1fa),'viewBox':_0x4ba9c1(0xf7),'width':'1em','height':_0x4ba9c1(0x1f8)},'children':[{'tag':'g','attrs':{'clipPath':_0x4ba9c1(0x252)},'children':[{'tag':_0x4ba9c1(0x1bc),'attrs':{'stroke':_0x4ba9c1(0xd5),'d':_0x4ba9c1(0x222),'strokeLinecap':'round','strokeLinejoin':_0x4ba9c1(0x26b),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4ba9c1(0x1d5),'attrs':{'id':_0x4ba9c1(0x2e6)},'children':[{'tag':_0x4ba9c1(0x1bc),'attrs':{'fill':_0x4ba9c1(0x181),'d':_0x4ba9c1(0x1c4),'transform':_0x4ba9c1(0x158)}}]}]}],'defIds':[_0x4ba9c1(0x2e6)]},$e=M[_0x4ba9c1(0xaf)](function(_0x163bcb,_0xa5ac75){const _0x3e325f=_0x4ba9c1;return M[_0x3e325f(0x9a)](pe,Object[_0x3e325f(0xe3)]({},_0x163bcb,{'id':_0x3e325f(0x203),'ref':_0xa5ac75,'icon':Nt}));});$e[_0x4ba9c1(0x2a1)]=_0x4ba9c1(0x2c6);function Mt(_0x5a33fb){const _0x1a6a46=_0x4ba9c1;switch(_0x5a33fb){case u[_0x1a6a46(0x11a)][_0x1a6a46(0x267)]:return _0x1a6a46(0x24c);case u['CollaborationStatus'][_0x1a6a46(0xe7)]:return _0x1a6a46(0xee);case u[_0x1a6a46(0x11a)][_0x1a6a46(0x288)]:return _0x1a6a46(0x1c8);case u[_0x1a6a46(0x11a)][_0x1a6a46(0x11b)]:return'collabStatus.notCollab';case u['CollaborationStatus']['AWAITING']:case u[_0x1a6a46(0x11a)]['AWAITING_WITH_PENDING']:return _0x1a6a46(0x1e7);case u[_0x1a6a46(0x11a)][_0x1a6a46(0x202)]:case u[_0x1a6a46(0x11a)][_0x1a6a46(0xe8)]:return'collabStatus.synced';}}function xe(_0x350422){const _0x385d5a=_0x4ba9c1,{status$:_0x5563a4}=_0x350422,_0x2602f5=T[_0x385d5a(0xc5)](_0x5563a4,u[_0x385d5a(0x11a)][_0x385d5a(0x11b)]),_0x175581=T[_0x385d5a(0x2ca)](a['LocaleService']),_0x264f48=T[_0x385d5a(0x2ca)](u['CollaborationSessionService']),_0x8bb659=_0x2602f5!==u[_0x385d5a(0x11a)][_0x385d5a(0x267)],_0x22b645=_0x175581['t'](Mt(_0x2602f5)),_0x2cd301=_0x8bb659?w[_0x385d5a(0x94)]($e,{}):w[_0x385d5a(0x94)](ye,{}),_0x572046=M[_0x385d5a(0x291)](()=>{const _0x401c5e=_0x385d5a;_0x8bb659||_0x264f48[_0x401c5e(0x2c0)]();},[_0x8bb659,_0x264f48]);function _0x304e3b(){const _0x10e3f5=_0x385d5a;return w[_0x10e3f5(0x1ee)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x572046,'children':[w['jsx']('div',{'className':D[_0x10e3f5(0x2e1)](_0x10e3f5(0x208),{'univer-text-green-500':_0x8bb659,'univer-text-red-500':!_0x8bb659}),'children':_0x2cd301}),w['jsx'](_0x10e3f5(0x128),{'className':_0x10e3f5(0xad),'children':_0x22b645})]});}return _0x8bb659?_0x304e3b():w[_0x385d5a(0x94)](D[_0x385d5a(0x20b)],{'title':_0x175581['t'](_0x385d5a(0x2b3)),'children':_0x304e3b()});}var Lt=Object[_0x4ba9c1(0x23e)],wt=(_0x9484a6,_0x4e6b89,_0x23db8a,_0x743a86)=>{for(var _0xe2e690=_0x743a86>0x1?void 0x0:_0x743a86?Lt(_0x4e6b89,_0x23db8a):_0x4e6b89,_0x5eaf2c=_0x9484a6['length']-0x1,_0x18b8da;_0x5eaf2c>=0x0;_0x5eaf2c--)(_0x18b8da=_0x9484a6[_0x5eaf2c])&&(_0xe2e690=_0x18b8da(_0xe2e690)||_0xe2e690);return _0xe2e690;},V=(_0x35160e,_0x1aabc9)=>(_0x4fe340,_0xf56765)=>_0x1aabc9(_0x4fe340,_0xf56765,_0x35160e);exports[_0x4ba9c1(0x1c7)]=class extends a[_0x4ba9c1(0x12c)]{constructor(_0x28b608,_0x24a636,_0x5b9891,_0x469bcb){const _0x5dafa0=_0x4ba9c1;super(),h(this,'_status$',new d['BehaviorSubject'](u[_0x5dafa0(0x11a)][_0x5dafa0(0x11b)])),(this['_univerInstanceService']=_0x28b608,this[_0x5dafa0(0x1b6)]=_0x24a636,this['_collaborationController']=_0x5b9891,this['_uiPartsService']=_0x469bcb,this[_0x5dafa0(0x209)](),this['_initStatusListener']());}[_0x4ba9c1(0x13d)](){const _0x55dd75=_0x4ba9c1;this['disposeWithMe'](this['_univerInstanceService'][_0x55dd75(0x18d)]['pipe'](d['switchMap'](()=>{const _0x43b5de=_0x55dd75,_0x330540=this[_0x43b5de(0x24e)][_0x43b5de(0x26d)]();return _0x330540?this[_0x43b5de(0x1d0)]['getCollabEntity$'](_0x330540['getUnitId']()):d['of'](null);}),d[_0x55dd75(0x234)](_0x86af55=>_0x86af55?_0x86af55[_0x55dd75(0x1fc)]:d['of'](u['CollaborationStatus'][_0x55dd75(0x11b)])))[_0x55dd75(0x1a4)](_0x468b28=>{const _0x2ff44a=_0x55dd75;this[_0x2ff44a(0x2b0)]['next'](_0x468b28);}));}[_0x4ba9c1(0x209)](){const _0x3b7665=_0x4ba9c1;this[_0x3b7665(0x2db)](this[_0x3b7665(0x290)][_0x3b7665(0xa6)](T['BuiltInUIPart']['HEADER_MENU'],()=>T['connectInjector'](Pt({'status$':this[_0x3b7665(0x2b0)]['asObservable']()}),this['_injector'])));}},exports[_0x4ba9c1(0x1c7)]=wt([V(0x0,a[_0x4ba9c1(0x247)]),V(0x1,a['Inject'](a[_0x4ba9c1(0x11f)])),V(0x2,a[_0x4ba9c1(0x1f9)](u['CollaborationController'])),V(0x3,T[_0x4ba9c1(0x233)])],exports[_0x4ba9c1(0x1c7)]);function Pt(_0x5304a9){const {status$:_0x2c99c1}=_0x5304a9;return function(){const _0x5cd51e=_0x167f;return w[_0x5cd51e(0x94)](xe,{'status$':_0x2c99c1});};}var At=Object[_0x4ba9c1(0x23e)],yt=(_0x28e782,_0x5384c0,_0x154528,_0x4129de)=>{for(var _0x1750dd=_0x4129de>0x1?void 0x0:_0x4129de?At(_0x5384c0,_0x154528):_0x5384c0,_0x507878=_0x28e782['length']-0x1,_0x3f3b6b;_0x507878>=0x0;_0x507878--)(_0x3f3b6b=_0x28e782[_0x507878])&&(_0x1750dd=_0x3f3b6b(_0x1750dd)||_0x1750dd);return _0x1750dd;},y=(_0x4bb016,_0x1306ec)=>(_0x3efa71,_0x1f9558)=>_0x1306ec(_0x3efa71,_0x1f9558,_0x4bb016);let q=class extends a[_0x4ba9c1(0x12c)]{constructor(_0x3a3a09,_0xbfda10,_0x15d3db,_0x4d6587,_0x3cfd69,_0x100c77){const _0x9afa79=_0x4ba9c1;super(),this[_0x9afa79(0x200)]=_0x3a3a09,this['_localCacheService']=_0xbfda10,this[_0x9afa79(0x137)]=_0x15d3db,this[_0x9afa79(0xcf)]=_0x4d6587,this[_0x9afa79(0x2f2)]=_0x3cfd69,this[_0x9afa79(0xf0)]=_0x100c77,this[_0x9afa79(0x71)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x2cabe8=_0x4ba9c1;this['disposeWithMe'](this['_beforeCloseService'][_0x2cabe8(0x155)](()=>{const _0x34e5e2=_0x2cabe8;if(this['_localCacheService'][_0x34e5e2(0x1dc)][_0x34e5e2(0x213)])return this[_0x34e5e2(0xf0)]['t'](_0x34e5e2(0x162));}));}[_0x4ba9c1(0x22a)](){const _0x201c1c=_0x4ba9c1;this[_0x201c1c(0x2db)](this[_0x201c1c(0x137)][_0x201c1c(0xc3)]['subscribe'](_0x4e2204=>{const _0x7be3de=_0x201c1c;_0x4e2204['id']===u[_0x7be3de(0x1ea)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x7be3de(0x245)]({'type':D['MessageType'][_0x7be3de(0x109)],'content':this[_0x7be3de(0xf0)]['t'](_0x7be3de(0x173))}),_0x4e2204['id']===u[_0x7be3de(0x1ea)][_0x7be3de(0x241)]&&this['_messageService'][_0x7be3de(0x245)]({'type':D[_0x7be3de(0xf9)][_0x7be3de(0x109)],'content':this[_0x7be3de(0xf0)]['t'](_0x7be3de(0x2a0))}),_0x4e2204['id']===u[_0x7be3de(0x1ea)][_0x7be3de(0x1eb)]&&this[_0x7be3de(0x2f2)][_0x7be3de(0x245)]({'title':this[_0x7be3de(0xf0)]['t'](_0x7be3de(0x2cd)),'content':this[_0x7be3de(0xf0)]['t']('permission.content'),'type':_0x7be3de(0x217),'duration':0x0}),_0x4e2204['id']===u[_0x7be3de(0x1ea)][_0x7be3de(0xe7)]&&this[_0x7be3de(0xcf)]['show']({'type':D[_0x7be3de(0xf9)][_0x7be3de(0x2bb)],'content':this[_0x7be3de(0xf0)]['t'](_0x7be3de(0x2a0))+'('+_0x4e2204['data']+')'}),_0x4e2204['id']===u['CollaborationUIEventId'][_0x7be3de(0x156)]&&this[_0x7be3de(0xcf)][_0x7be3de(0x245)]({'type':D[_0x7be3de(0xf9)][_0x7be3de(0x109)],'content':this['_localeService']['t'](_0x4e2204['data']||'')}),_0x4e2204['id']===u[_0x7be3de(0x1ea)]['SOCKET_FAILED_RETRY']&&this[_0x7be3de(0xcf)]['show']({'type':D['MessageType'][_0x7be3de(0x109)],'content':this['_localeService']['t'](_0x7be3de(0x2f6))}),_0x4e2204['id']===u['CollaborationUIEventId'][_0x7be3de(0x16d)]&&this['_messageService'][_0x7be3de(0x245)]({'type':D['MessageType'][_0x7be3de(0x2bb)],'content':this[_0x7be3de(0xf0)]['t'](_0x7be3de(0x27f))}),_0x4e2204['id']===u[_0x7be3de(0x1ea)][_0x7be3de(0x15e)]&&this['_messageService']['show']({'type':D[_0x7be3de(0xf9)]['Error'],'content':this['_localeService']['t'](_0x7be3de(0x1a2))});}));}};q=yt([y(0x0,T[_0x4ba9c1(0x256)]),y(0x1,u['ILocalCacheService']),y(0x2,a['Inject'](u['CollaborationUIEventService'])),y(0x3,T[_0x4ba9c1(0x2dc)]),y(0x4,T[_0x4ba9c1(0x25b)]),y(0x5,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x1e8)]))],q);const $t='collaboration-client-ui.config',Ue={},be=a[_0x4ba9c1(0x221)](_0x4ba9c1(0x1e2));var xt=Object[_0x4ba9c1(0x23e)],jt=(_0x4e693c,_0x57efad,_0x95cfb5,_0x5029c8)=>{const _0x401d39=_0x4ba9c1;for(var _0x1d6468=_0x5029c8>0x1?void 0x0:_0x5029c8?xt(_0x57efad,_0x95cfb5):_0x57efad,_0x18a419=_0x4e693c[_0x401d39(0x1da)]-0x1,_0x25587e;_0x18a419>=0x0;_0x18a419--)(_0x25587e=_0x4e693c[_0x18a419])&&(_0x1d6468=_0x25587e(_0x1d6468)||_0x1d6468);return _0x1d6468;},H=(_0x55f34b,_0x4dec2e)=>(_0x50fc94,_0x580d05)=>_0x4dec2e(_0x50fc94,_0x580d05,_0x55f34b);exports[_0x4ba9c1(0xa2)]=class extends a[_0x4ba9c1(0x1b8)]{constructor(_0x46efd5,_0x1982c4,_0x325ebb,_0x31ec8e,_0xcbd3cb){const _0x9c710e=_0x4ba9c1;super(),this[_0x9c710e(0x7b)]=_0x46efd5,this[_0x9c710e(0x1a7)]=_0x1982c4,this['_commandService']=_0x325ebb,this['_dataLoaderService']=_0x31ec8e,_0xcbd3cb?_0xcbd3cb==null||_0xcbd3cb['whenReady']()['then'](()=>this[_0x9c710e(0x2c4)]()):(this[_0x9c710e(0x1a7)][_0x9c710e(0x1aa)](_0x9c710e(0x1a5),_0x9c710e(0x1cf)),this['_init']());}async[_0x4ba9c1(0x2c4)](){const _0x5a5ff4=_0x4ba9c1,_0x57451a=this[_0x5a5ff4(0x7b)][_0x5a5ff4(0x1be)](_0x5a5ff4(0x21b)),_0x599b7f=this[_0x5a5ff4(0x7b)][_0x5a5ff4(0x1be)](_0x5a5ff4(0x26a)),_0x42f3e4=this[_0x5a5ff4(0x7b)]['getParam'](_0x5a5ff4(0x134));if(!_0x57451a||!_0x599b7f){this[_0x5a5ff4(0x1a7)][_0x5a5ff4(0x1aa)](_0x5a5ff4(0x1a5),_0x5a5ff4(0x15c));return;}const _0x4a0216=await this['_dataLoaderService'][_0x5a5ff4(0x2d9)](_0x57451a,Number(_0x599b7f),_0x42f3e4);_0x4a0216&&_0x4a0216 instanceof a[_0x5a5ff4(0x130)]&&this['_setupSubUnitSync'](_0x4a0216);}async[_0x4ba9c1(0x148)](_0x9d8424){const _0x20c296=_0x4ba9c1;await this[_0x20c296(0x22e)](_0x9d8424),_0x9d8424[_0x20c296(0xcc)][_0x20c296(0x74)](d[_0x20c296(0x2a5)](this[_0x20c296(0x9b)]))[_0x20c296(0x1a4)](_0x5a22e6=>{const _0x159a38=_0x20c296;_0x5a22e6&&this[_0x159a38(0x23b)](_0x5a22e6);}),this[_0x20c296(0x7b)][_0x20c296(0x21d)][_0x20c296(0x74)](d[_0x20c296(0x2a5)](this[_0x20c296(0x9b)]))[_0x20c296(0x1a4)](()=>this[_0x20c296(0x22e)](_0x9d8424));}[_0x4ba9c1(0x23b)](_0x1312a2,_0x2ef90e=!0x1){const _0x1ffdbd=_0x4ba9c1,_0x3f728f=this[_0x1ffdbd(0x7b)][_0x1ffdbd(0x1be)](_0x1ffdbd(0x134));_0x1312a2[_0x1ffdbd(0x1d3)]()!==_0x3f728f&&this['_urlService']['setParam'](_0x1ffdbd(0x134),_0x1312a2[_0x1ffdbd(0x1d3)](),_0x2ef90e);}async[_0x4ba9c1(0x22e)](_0x3d4edf){const _0x5e6ed6=_0x4ba9c1;var _0x4ed5e6;const _0x481f3b=this[_0x5e6ed6(0x7b)][_0x5e6ed6(0x1be)](_0x5e6ed6(0x134));if(!_0x481f3b||!_0x3d4edf[_0x5e6ed6(0x80)](_0x481f3b)){const _0x1b022c=_0x3d4edf[_0x5e6ed6(0xf1)]()[0x0],_0x866606=_0x3d4edf['getSheetBySheetId'](_0x1b022c);if(!_0x866606)return;this[_0x5e6ed6(0x23b)](_0x866606,!0x0),await this[_0x5e6ed6(0x112)][_0x5e6ed6(0x240)](g[_0x5e6ed6(0x25a)]['id'],{'unitId':_0x3d4edf[_0x5e6ed6(0xd6)](),'subUnitId':_0x1b022c});return;}((_0x4ed5e6=_0x3d4edf[_0x5e6ed6(0x140)]())==null?void 0x0:_0x4ed5e6[_0x5e6ed6(0x1d3)]())!==_0x481f3b&&await this[_0x5e6ed6(0x112)]['executeCommand'](g['SetWorksheetActivateCommand']['id'],{'unitId':_0x3d4edf[_0x5e6ed6(0xd6)](),'subUnitId':_0x481f3b});}},exports[_0x4ba9c1(0xa2)]=jt([H(0x0,be),H(0x1,a[_0x4ba9c1(0x273)]),H(0x2,a['ICommandService']),H(0x3,a[_0x4ba9c1(0x1f9)](u[_0x4ba9c1(0x298)])),H(0x4,a['Optional'](Ke[_0x4ba9c1(0x113)]))],exports['CollaborationDataLoaderController']);var Bt=Object[_0x4ba9c1(0x23e)],kt=(_0x5ca5a4,_0x8ccfc2,_0x34f52a,_0x4e11d2)=>{const _0x33b4bc=_0x4ba9c1;for(var _0x3aa72a=_0x4e11d2>0x1?void 0x0:_0x4e11d2?Bt(_0x8ccfc2,_0x34f52a):_0x8ccfc2,_0x3468e5=_0x5ca5a4[_0x33b4bc(0x1da)]-0x1,_0x2377c0;_0x3468e5>=0x0;_0x3468e5--)(_0x2377c0=_0x5ca5a4[_0x3468e5])&&(_0x3aa72a=_0x2377c0(_0x3aa72a)||_0x3aa72a);return _0x3aa72a;},ce=(_0x2e7512,_0x146993)=>(_0x1490ea,_0xe9707)=>_0x146993(_0x1490ea,_0xe9707,_0x2e7512);let z=class{constructor(_0x4c6933,_0x1647c7,_0x54587a){const _0x15e852=_0x4ba9c1;this[_0x15e852(0x1b6)]=_0x4c6933,this['_transformService']=_0x1647c7,this[_0x15e852(0x1cc)]=_0x54587a;}[_0x4ba9c1(0x293)](_0x4faf2e){const _0x15f645=_0x4ba9c1;this['_transformUndoRedoStack'](_0x4faf2e),this[_0x15f645(0x1b9)](_0x4faf2e);}['transformRemoteChangeset'](_0xae1928){const _0x4ab971=_0x4ba9c1,{unitID:_0x5ee537}=_0xae1928,_0x54e04a=this['_renderManagerService'][_0x4ab971(0x22d)](_0x5ee537)[_0x4ab971(0x2f3)](b['DocIMEInputManagerService']),{redoCache:_0xfc69e2}=_0x54e04a[_0x4ab971(0x16e)]();if(_0xfc69e2[_0x4ab971(0x1da)]===0x0)return _0xae1928;let _0x3c65ac=a[_0x4ab971(0x136)][_0x4ab971(0x175)](_0xae1928['mutations'][0x0]);for(let _0x2e1a91=0x0;_0x2e1a91<_0xfc69e2[_0x4ab971(0x1da)];_0x2e1a91++){const _0x29d4e9={'id':'doc.mutation.rich-text-editing','params':{..._0xfc69e2[_0x2e1a91]}},_0x22f94b=this[_0x4ab971(0x177)]['transformMutation'](_0x3c65ac,_0x29d4e9,!0x1);if(m[_0x4ab971(0x2cc)](_0x22f94b))throw _0x22f94b[_0x4ab971(0x217)];_0x3c65ac=_0x22f94b[_0x4ab971(0x7e)];}return{...a['Tools']['deepClone'](_0xae1928),'mutations':[_0x3c65ac]};}[_0x4ba9c1(0x26c)](_0x14ef2a){const _0xe34a55=_0x4ba9c1,{unitID:_0x15f0ed}=_0x14ef2a,_0x289d77=this['_renderManagerService'][_0xe34a55(0x22d)](_0x15f0ed)[_0xe34a55(0x2f3)](b[_0xe34a55(0x1df)]),{undoCache:_0x1b61ba,redoCache:_0x422988}=_0x289d77['getUndoRedoMutationParamsCache']();if(_0x1b61ba['length']===0x0||_0x422988[_0xe34a55(0x1da)]===0x0)return;const _0x20e2c7=[],_0x279de9=[];let _0x293266=a[_0xe34a55(0x136)][_0xe34a55(0x175)](_0x14ef2a[_0xe34a55(0x270)][0x0]),_0x123b67=a['Tools'][_0xe34a55(0x175)](_0x14ef2a[_0xe34a55(0x270)][0x0]);for(let _0x4d016f=_0x1b61ba[_0xe34a55(0x1da)]-0x1;_0x4d016f>=0x0;_0x4d016f--){const _0x133ad8={'id':_0xe34a55(0x78),'params':{..._0x1b61ba[_0x4d016f]}},_0x245cac={'id':_0xe34a55(0x78),'params':{..._0x422988[_0x4d016f]}},_0x3941ff=this[_0xe34a55(0x177)][_0xe34a55(0x214)](_0x293266,_0x133ad8,!0x1),_0x1849dc=this[_0xe34a55(0x177)][_0xe34a55(0x214)](_0x123b67,_0x245cac,!0x1);if(m[_0xe34a55(0x2cc)](_0x3941ff))throw _0x3941ff['error'];if(m['isTransformMutationFailure'](_0x1849dc))throw _0x1849dc['error'];_0x20e2c7[_0xe34a55(0x125)](_0x3941ff[_0xe34a55(0xb7)][_0xe34a55(0x161)]),_0x279de9[_0xe34a55(0x125)](_0x1849dc[_0xe34a55(0xb7)][_0xe34a55(0x161)]),_0x293266=_0x3941ff[_0xe34a55(0x7e)],_0x123b67=_0x1849dc[_0xe34a55(0x7e)];}_0x289d77[_0xe34a55(0x119)]({'undoCache':_0x20e2c7,'redoCache':_0x279de9});}[_0x4ba9c1(0x1b9)](_0x197e50){const _0x4ce785=_0x4ba9c1,{unitID:_0x141c42}=_0x197e50,_0x67f4df=this[_0x4ce785(0x1cc)][_0x4ce785(0x22d)](_0x141c42)[_0x4ce785(0x2f3)](b['DocIMEInputManagerService']),_0x58bf48=_0x67f4df['getActiveRange']();if(_0x58bf48==null)return;const _0x2eb330=[{'id':_0x4ce785(0x78),'params':{'unitId':_0x197e50['unitID'],'actions':null,'textRanges':[_0x58bf48]}}],_0x186b7f=this[_0x4ce785(0x177)][_0x4ce785(0x251)](_0x197e50,_0x2eb330);if(!m[_0x4ce785(0x11e)](_0x186b7f))throw _0x186b7f[_0x4ce785(0x217)];const _0x3a8edd=_0x186b7f[_0x4ce785(0xb7)][0x0][_0x4ce785(0x161)][_0x4ce785(0x1e9)];Array[_0x4ce785(0x2a9)](_0x3a8edd)&&_0x3a8edd[_0x4ce785(0x1da)]&&_0x67f4df[_0x4ce785(0x143)](_0x3a8edd[0x0]);}};function _0x167f(_0x3b0aaf,_0x174c7c){const _0x2196b8=_0x2196();return _0x167f=function(_0x167f7f,_0x33127f){_0x167f7f=_0x167f7f-0x6d;let _0x3b79ba=_0x2196b8[_0x167f7f];return _0x3b79ba;},_0x167f(_0x3b0aaf,_0x174c7c);}z=kt([ce(0x0,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x11f)])),ce(0x1,m[_0x4ba9c1(0xdf)]),ce(0x2,p[_0x4ba9c1(0x1b1)])],z);var Ht=Object['getOwnPropertyDescriptor'],Ft=(_0x90f1be,_0x183c35,_0x1ffa00,_0x5b4438)=>{for(var _0x5d59ae=_0x5b4438>0x1?void 0x0:_0x5b4438?Ht(_0x183c35,_0x1ffa00):_0x183c35,_0x44d6fe=_0x90f1be['length']-0x1,_0x3e4ec4;_0x44d6fe>=0x0;_0x44d6fe--)(_0x3e4ec4=_0x90f1be[_0x44d6fe])&&(_0x5d59ae=_0x3e4ec4(_0x5d59ae)||_0x5d59ae);return _0x5d59ae;},le=(_0x15ac88,_0x20504b)=>(_0x22d998,_0x4ef9ed)=>_0x20504b(_0x22d998,_0x4ef9ed,_0x15ac88);let J=class{constructor(_0x5de088,_0x17b40f,_0x58deac){const _0x15ebb1=_0x4ba9c1;this[_0x15ebb1(0x1b6)]=_0x5de088,this[_0x15ebb1(0x177)]=_0x17b40f,this[_0x15ebb1(0x20a)]=_0x58deac;}[_0x4ba9c1(0x14a)](_0x5ad599){const _0x504d38=_0x4ba9c1;this[_0x504d38(0x2be)](_0x5ad599);}[_0x4ba9c1(0x2af)](_0x18ab30){const _0xf97001=_0x4ba9c1,{unitID:_0x2b3885}=_0x18ab30,{collaboration:_0x14d9a7}=this['_docStateChangeManagerService']['getStateCache'](_0x2b3885);if(_0x14d9a7['length']===0x0)return _0x18ab30;let _0x103d94=a[_0xf97001(0x136)][_0xf97001(0x175)](_0x18ab30[_0xf97001(0x270)][0x0]);for(let _0x4f0b58=0x0;_0x4f0b58<_0x14d9a7[_0xf97001(0x1da)];_0x4f0b58++){const _0x813833={'id':_0xf97001(0x78),'params':{'unitId':_0x14d9a7[_0x4f0b58][_0xf97001(0x17f)],..._0x14d9a7[_0x4f0b58][_0xf97001(0x115)]}},_0x55ffbb=this[_0xf97001(0x177)][_0xf97001(0x214)](_0x103d94,_0x813833,!0x1);if(m[_0xf97001(0x2cc)](_0x55ffbb))throw _0x55ffbb[_0xf97001(0x217)];_0x103d94=_0x55ffbb[_0xf97001(0x7e)];}return{...a[_0xf97001(0x136)][_0xf97001(0x175)](_0x18ab30),'mutations':[_0x103d94]};}[_0x4ba9c1(0x2be)](_0x58e879){const _0x46fc41=_0x4ba9c1,{unitID:_0x1f0bf7}=_0x58e879,{history:_0x21a3f7,collaboration:_0x2ae3e3}=this['_docStateChangeManagerService'][_0x46fc41(0x2d3)](_0x1f0bf7);if(_0x21a3f7[_0x46fc41(0x1da)]===0x0&&_0x2ae3e3['length']===0x0)return;const _0x4f3c94=[],_0x33c429=[];let _0x13d3bc=a[_0x46fc41(0x136)][_0x46fc41(0x175)](_0x58e879[_0x46fc41(0x270)][0x0]),_0x3c8b94=a[_0x46fc41(0x136)][_0x46fc41(0x175)](_0x58e879[_0x46fc41(0x270)][0x0]);for(let _0x53f21a=_0x21a3f7[_0x46fc41(0x1da)]-0x1;_0x53f21a>=0x0;_0x53f21a--){const _0x1ff433={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x21a3f7[_0x53f21a][_0x46fc41(0x17f)],..._0x21a3f7[_0x53f21a][_0x46fc41(0x2a4)]}},_0x117b94={'id':_0x46fc41(0x78),'params':{'unitId':_0x21a3f7[_0x53f21a]['unitId'],..._0x21a3f7[_0x53f21a]['redoState']}},_0x40e140=this[_0x46fc41(0x177)]['transformMutation'](_0x13d3bc,_0x1ff433,!0x1),_0x53baa7=this[_0x46fc41(0x177)]['transformMutation'](_0x3c8b94,_0x117b94,!0x1);if(m[_0x46fc41(0x2cc)](_0x40e140))throw _0x40e140[_0x46fc41(0x217)];if(m[_0x46fc41(0x2cc)](_0x53baa7))throw _0x53baa7['error'];_0x4f3c94[_0x46fc41(0x125)]({..._0x21a3f7[_0x53f21a],'undoState':_0x40e140[_0x46fc41(0xb7)][_0x46fc41(0x161)],'redoState':_0x53baa7[_0x46fc41(0xb7)]['params']}),_0x13d3bc=_0x40e140[_0x46fc41(0x7e)],_0x3c8b94=_0x53baa7[_0x46fc41(0x7e)];}_0x13d3bc=a[_0x46fc41(0x136)]['deepClone'](_0x58e879[_0x46fc41(0x270)][0x0]),_0x3c8b94=a[_0x46fc41(0x136)]['deepClone'](_0x58e879['mutations'][0x0]);for(let _0x862e91=_0x2ae3e3[_0x46fc41(0x1da)]-0x1;_0x862e91>=0x0;_0x862e91--){const _0x419984={'id':_0x46fc41(0x78),'params':{'unitId':_0x2ae3e3[_0x862e91][_0x46fc41(0x17f)],..._0x2ae3e3[_0x862e91]['undoState']}},_0x22d773={'id':_0x46fc41(0x78),'params':{'unitId':_0x2ae3e3[_0x862e91][_0x46fc41(0x17f)],..._0x2ae3e3[_0x862e91][_0x46fc41(0x115)]}},_0x25aad3=this[_0x46fc41(0x177)][_0x46fc41(0x214)](_0x13d3bc,_0x419984,!0x1),_0x50f705=this['_transformService']['transformMutation'](_0x3c8b94,_0x22d773,!0x1);if(m[_0x46fc41(0x2cc)](_0x25aad3))throw _0x25aad3[_0x46fc41(0x217)];if(m['isTransformMutationFailure'](_0x50f705))throw _0x50f705[_0x46fc41(0x217)];_0x33c429[_0x46fc41(0x125)]({..._0x2ae3e3[_0x862e91],'undoState':_0x25aad3[_0x46fc41(0xb7)][_0x46fc41(0x161)],'redoState':_0x50f705['m2Prime'][_0x46fc41(0x161)]}),_0x13d3bc=_0x25aad3[_0x46fc41(0x7e)],_0x3c8b94=_0x50f705['m1Prime'];}this[_0x46fc41(0x20a)][_0x46fc41(0x1b7)](_0x1f0bf7,{'history':_0x4f3c94,'collaboration':_0x33c429});}};J=Ft([le(0x0,a['Inject'](a['Injector'])),le(0x1,m[_0x4ba9c1(0xdf)]),le(0x2,a[_0x4ba9c1(0x1f9)](b[_0x4ba9c1(0xbd)]))],J);var Yt=Object['getOwnPropertyDescriptor'],Wt=(_0x6a06d9,_0x288de3,_0x17d948,_0x26927e)=>{const _0x5b71ed=_0x4ba9c1;for(var _0x40221c=_0x26927e>0x1?void 0x0:_0x26927e?Yt(_0x288de3,_0x17d948):_0x288de3,_0x2f07a3=_0x6a06d9[_0x5b71ed(0x1da)]-0x1,_0x1d096d;_0x2f07a3>=0x0;_0x2f07a3--)(_0x1d096d=_0x6a06d9[_0x2f07a3])&&(_0x40221c=_0x1d096d(_0x40221c)||_0x40221c);return _0x40221c;},Ne=(_0x2f5033,_0x263e48)=>(_0x1f3381,_0x5f009c)=>_0x263e48(_0x1f3381,_0x5f009c,_0x2f5033);let Z=class{constructor(_0x690035,_0x2a3fdc){const _0x1eb7d7=_0x4ba9c1;this[_0x1eb7d7(0x1b6)]=_0x690035,this['_transformService']=_0x2a3fdc;}[_0x4ba9c1(0x16c)](_0x439d6e){const _0xa8ad7f=_0x4ba9c1;var _0x591c1d;const _0x1f10c6=this[_0xa8ad7f(0x1b6)][_0xa8ad7f(0x17b)](Y[_0xa8ad7f(0xed)]),_0x48fd82=(_0x591c1d=_0x1f10c6[_0xa8ad7f(0x27a)]())!=null?_0x591c1d:[];if(_0x48fd82['length']===0x0)return;const _0x48f24b=_0x439d6e[_0xa8ad7f(0x2ec)],_0x3dcb3a=[{'id':_0xa8ad7f(0x78),'params':{'unitId':_0x48f24b,'actions':null,'textRanges':_0x48fd82}}],_0x9d76c6=this[_0xa8ad7f(0x177)][_0xa8ad7f(0x251)](_0x439d6e,_0x3dcb3a);if(!m['isTransformMutationsWithChangesetSuccess'](_0x9d76c6))throw _0x9d76c6['error'];const _0x8ff57a=_0x9d76c6[_0xa8ad7f(0xb7)][0x0][_0xa8ad7f(0x161)]['textRanges'];Array[_0xa8ad7f(0x2a9)](_0x8ff57a)&&_0x8ff57a[_0xa8ad7f(0x1da)]&&_0x1f10c6[_0xa8ad7f(0x16f)](_0x8ff57a,{'unitId':_0x48f24b,'subUnitId':_0x48f24b},!0x1);}};Z=Wt([Ne(0x0,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x11f)])),Ne(0x1,m[_0x4ba9c1(0xdf)])],Z);var Vt=Object[_0x4ba9c1(0x23e)],Xt=(_0x4cc41b,_0x5ec61b,_0x409d14,_0x1d2bb2)=>{for(var _0x1547a2=_0x1d2bb2>0x1?void 0x0:_0x1d2bb2?Vt(_0x5ec61b,_0x409d14):_0x5ec61b,_0x5049b0=_0x4cc41b['length']-0x1,_0x187a06;_0x5049b0>=0x0;_0x5049b0--)(_0x187a06=_0x4cc41b[_0x5049b0])&&(_0x1547a2=_0x187a06(_0x1547a2)||_0x1547a2);return _0x1547a2;},N=(_0x31949a,_0x28814f)=>(_0x5b95a3,_0x3ba7c0)=>_0x28814f(_0x5b95a3,_0x3ba7c0,_0x31949a);let Q=class extends a[_0x4ba9c1(0x12c)]{constructor(_0x2d6f25,_0x5c518b,_0x2c17fc,_0x2ee51a,_0x48f3fe,_0x319a39,_0x291f2e,_0x190091){const _0x5bcadd=_0x4ba9c1;super(),h(this,'_status$',new d[(_0x5bcadd(0x1ec))](u[_0x5bcadd(0x11a)]['NOT_COLLAB'])),(this[_0x5bcadd(0x20a)]=_0x2d6f25,this['_collaborationController']=_0x5c518b,this[_0x5bcadd(0x224)]=_0x2c17fc,this['_docTransformStateCacheService']=_0x2ee51a,this[_0x5bcadd(0x296)]=_0x48f3fe,this[_0x5bcadd(0xb0)]=_0x319a39,this[_0x5bcadd(0xcf)]=_0x291f2e,this[_0x5bcadd(0xf0)]=_0x190091,this['_initEntityListener']());}[_0x4ba9c1(0x2e2)](){const _0x2a7822=_0x4ba9c1;this[_0x2a7822(0x2db)](this['_collaborationController'][_0x2a7822(0x16b)][_0x2a7822(0x1a4)](_0x1eeca2=>{const _0x1ba520=_0x2a7822,_0x47a67f=this['_docStateChangeManagerService'][_0x1ba520(0x229)][_0x1ba520(0x1a4)](_0x80ff37=>{const _0x1bb766=_0x1ba520;if(_0x80ff37==null)return;const {unitId:_0x2b6fe4,redoState:_0x283ad3,commandId:_0x121f83}=_0x80ff37;if(_0x2b6fe4!==_0x1eeca2[_0x1bb766(0x2ec)])return;const _0x3f3317={'id':_0x121f83,'type':a[_0x1bb766(0xf5)][_0x1bb766(0xae)],'params':{'unitId':_0x2b6fe4,'actions':_0x283ad3[_0x1bb766(0x20c)],'textRanges':null}};_0x1eeca2[_0x1bb766(0x27c)](_0x3f3317);});if(_0x1eeca2['disposeWithMe'](_0x47a67f),_0x1eeca2 instanceof u[_0x1ba520(0x17a)]){const _0x3ad5ed={'onTransformIME':_0x1a5efb=>this['_docTransformIMECacheService'][_0x1ba520(0x293)](_0x1a5efb),'onTransformState':_0x2e5754=>this[_0x1ba520(0x2e0)][_0x1ba520(0x14a)](_0x2e5754),'onTransformSelections':_0x5c649a=>this['_docTransformSelectionsService']['transformSelections'](_0x5c649a),'onSyncEditingCollabCursor':_0x4af3e4=>this[_0x1ba520(0xb0)]['syncEditingCollabCursor'](_0x4af3e4),'onTransformRemoteChangesetByIMECache':_0x5dad7f=>this[_0x1ba520(0x224)][_0x1ba520(0x2af)](_0x5dad7f),'onTransformRemoteChangesetByStateCache':_0x4c721e=>this['_docTransformStateCacheService'][_0x1ba520(0x2af)](_0x4c721e)};_0x1eeca2[_0x1ba520(0x230)](_0x3ad5ed);}}));}};Q=Xt([N(0x0,a['Inject'](b[_0x4ba9c1(0xbd)])),N(0x1,a[_0x4ba9c1(0x1f9)](u[_0x4ba9c1(0x14c)])),N(0x2,a[_0x4ba9c1(0x1f9)](z)),N(0x3,a[_0x4ba9c1(0x1f9)](J)),N(0x4,a['Inject'](Z)),N(0x5,a[_0x4ba9c1(0x1f9)](Ce)),N(0x6,T['IMessageService']),N(0x7,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x1e8)]))],Q);var Gt=Object['getOwnPropertyDescriptor'],Kt=(_0x2fe3c0,_0x3752ef,_0x538ce8,_0x7fdc1)=>{const _0xf92d4=_0x4ba9c1;for(var _0x27646e=_0x7fdc1>0x1?void 0x0:_0x7fdc1?Gt(_0x3752ef,_0x538ce8):_0x3752ef,_0x203c19=_0x2fe3c0[_0xf92d4(0x1da)]-0x1,_0x190a33;_0x203c19>=0x0;_0x203c19--)(_0x190a33=_0x2fe3c0[_0x203c19])&&(_0x27646e=_0x190a33(_0x27646e)||_0x27646e);return _0x27646e;},_e=(_0x2fdec2,_0x225359)=>(_0x5d5bee,_0x53ce6e)=>_0x225359(_0x5d5bee,_0x53ce6e,_0x2fdec2);let ge=class extends a[_0x4ba9c1(0x12c)]{constructor(_0x42e456,_0x281f68,_0x858a9a){const _0x555a39=_0x4ba9c1;super(),h(this,_0x555a39(0x133),new Map()),h(this,_0x555a39(0x281),new Map()),h(this,_0x555a39(0x2cf),!0x1),(this[_0x555a39(0x12f)]=_0x42e456,this[_0x555a39(0x164)]=_0x281f68,this[_0x555a39(0x13e)]=_0x858a9a);}[_0x4ba9c1(0x29d)](){this['_disabled']=!0x0;}[_0x4ba9c1(0x11d)](){this['_disabled']=!0x1;}get[_0x4ba9c1(0x1dc)](){const _0xd09eeb=_0x4ba9c1;return this[_0xd09eeb(0x281)];}[_0x4ba9c1(0x195)](){const _0x373a0d=_0x4ba9c1;this[_0x373a0d(0x1a0)]()[_0x373a0d(0x168)](()=>super[_0x373a0d(0x195)]());}async[_0x4ba9c1(0x1e1)](_0x99d800){const _0x58c7af=_0x4ba9c1;return this[_0x58c7af(0x2cf)]?null:this[_0x58c7af(0x164)][_0x58c7af(0x2d8)](u[_0x58c7af(0x179)](_0x99d800));}async['saveOfflineData'](_0x50a0e3,_0x3798bb){const _0x2f3217=_0x4ba9c1;return!!this[_0x2f3217(0x164)][_0x2f3217(0x287)](_0x50a0e3,_0x3798bb);}[_0x4ba9c1(0x139)](_0x5ee015,_0x4f3cfc,_0xb6d32,_0x10311e){const _0x5e01ca=_0x4ba9c1,_0x570d00=this[_0x5e01ca(0x13e)][_0x5e01ca(0x13a)](_0x5ee015);this[_0x5e01ca(0x133)][_0x5e01ca(0x82)](_0x5ee015,{'unitID':_0x5ee015,'type':_0x4f3cfc,'awaitingChangeset':_0xb6d32,'mutations':_0x10311e,'rev':_0x570d00}),this[_0x5e01ca(0x281)]['has'](_0x5ee015)||this[_0x5e01ca(0x6d)](_0x5ee015);}[_0x4ba9c1(0x6d)](_0x572167){const _0xe47e0c=_0x4ba9c1,_0x219b35=this[_0xe47e0c(0x1f2)]();_0x219b35===0x0?this[_0xe47e0c(0x2e4)](_0x572167):this[_0xe47e0c(0x281)]['set'](_0x572167,setTimeout(()=>this[_0xe47e0c(0x2e4)](_0x572167),_0x219b35));}[_0x4ba9c1(0x1f2)](){const _0x8d64e6=_0x4ba9c1;var _0x2aac55;return(_0x2aac55=this[_0x8d64e6(0x12f)][_0x8d64e6(0x2d5)](u[_0x8d64e6(0x90)]))!=null?_0x2aac55:u[_0x8d64e6(0x21c)];}['_saveCache'](_0x37c60c){const _0x379c63=_0x4ba9c1,_0x1f1ddc=this[_0x379c63(0x281)]['get'](_0x37c60c);return _0x1f1ddc!==void 0x0&&window['clearTimeout'](_0x1f1ddc),this[_0x379c63(0x164)][_0x379c63(0x287)](u['getLocalCacheKey'](_0x37c60c),this[_0x379c63(0x133)][_0x379c63(0x17b)](_0x37c60c))[_0x379c63(0x168)](()=>this[_0x379c63(0x281)]['delete'](_0x37c60c));}async['exhaustSavingTask'](){const _0x120f2c=_0x4ba9c1,_0x143bd4=[];this[_0x120f2c(0x281)][_0x120f2c(0xf8)]((_0x22b150,_0x4cd51e)=>{const _0x483eff=_0x120f2c;window['clearTimeout'](_0x22b150),_0x143bd4[_0x483eff(0x20e)](this[_0x483eff(0x2e4)](_0x4cd51e)[_0x483eff(0x168)](()=>{const _0x598118=_0x483eff;this[_0x598118(0x281)][_0x598118(0x232)](_0x4cd51e);}));}),await Promise[_0x120f2c(0x153)](_0x143bd4);}};ge=Kt([_e(0x0,a[_0x4ba9c1(0x14e)]),_e(0x1,a[_0x4ba9c1(0x278)]),_e(0x2,a[_0x4ba9c1(0x1f9)](m[_0x4ba9c1(0xb6)]))],ge);class je extends a[_0x4ba9c1(0x1b8)]{constructor(){const _0x456b71=_0x4ba9c1;super(),h(this,_0x456b71(0x21d)),this[_0x456b71(0x21d)]=d[_0x456b71(0x27d)](window,_0x456b71(0x188))[_0x456b71(0x74)](d[_0x456b71(0x2a5)](this['dispose$']),d['shareReplay'](0x1),d[_0x456b71(0x1d7)](void 0x0));}[_0x4ba9c1(0x197)](_0x1c2581,_0x42f8a4,_0x50a838=!0x1){const _0x5f3204=_0x4ba9c1,_0x9eacdb=new URL(window[_0x5f3204(0xa3)]['href']);_0x9eacdb[_0x5f3204(0x127)][_0x5f3204(0x82)](_0x1c2581,_0x42f8a4),_0x50a838?window[_0x5f3204(0x9d)][_0x5f3204(0x228)]('','',_0x9eacdb[_0x5f3204(0x15a)]()):window['history'][_0x5f3204(0x2ee)]('','',_0x9eacdb[_0x5f3204(0x15a)]());}[_0x4ba9c1(0x152)](_0x250d67,_0x5d68a5=!0x1){const _0x1875d9=_0x4ba9c1,_0x36e1ca=new URL(window['location'][_0x1875d9(0x2b4)]);_0x36e1ca[_0x1875d9(0x127)][_0x1875d9(0x232)](_0x250d67),_0x5d68a5?window[_0x1875d9(0x9d)][_0x1875d9(0x228)]('','',_0x36e1ca['toString']()):window['history'][_0x1875d9(0x2ee)]('','',_0x36e1ca[_0x1875d9(0x15a)]());}[_0x4ba9c1(0x1be)](_0x419ee1){const _0x516e51=_0x4ba9c1;var _0x7de7df;return(_0x7de7df=new URL(window[_0x516e51(0xa3)]['href'])[_0x516e51(0x127)][_0x516e51(0x17b)](_0x419ee1))!=null?_0x7de7df:void 0x0;}}var qt=Object[_0x4ba9c1(0x1cd)],zt=Object[_0x4ba9c1(0x23e)],Jt=(_0x4c2b59,_0x2ac201,_0x5434d7)=>_0x2ac201 in _0x4c2b59?qt(_0x4c2b59,_0x2ac201,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5434d7}):_0x4c2b59[_0x2ac201]=_0x5434d7,Zt=(_0x448de6,_0x4a0c3b,_0x426ab9,_0x5ddabe)=>{const _0x3b630f=_0x4ba9c1;for(var _0x5c35a6=_0x5ddabe>0x1?void 0x0:_0x5ddabe?zt(_0x4a0c3b,_0x426ab9):_0x4a0c3b,_0x3b13cf=_0x448de6[_0x3b630f(0x1da)]-0x1,_0x623fa3;_0x3b13cf>=0x0;_0x3b13cf--)(_0x623fa3=_0x448de6[_0x3b13cf])&&(_0x5c35a6=_0x623fa3(_0x5c35a6)||_0x5c35a6);return _0x5c35a6;},he=(_0x40be02,_0x4c1a18)=>(_0x21ab7b,_0x529ea5)=>_0x4c1a18(_0x21ab7b,_0x529ea5,_0x40be02),Qt=(_0x61cc85,_0x563ffe,_0x40ad43)=>Jt(_0x61cc85,_0x563ffe+'',_0x40ad43);const es=_0x4ba9c1(0x81);exports[_0x4ba9c1(0x20d)]=class extends a[_0x4ba9c1(0x2de)]{constructor(_0x4268f0=Ue,_0x26504e,_0xdbdf3e,_0x301d09){const _0x23fe69=_0x4ba9c1;super(),this['_config']=_0x4268f0,this['_renderManagerService']=_0x26504e,this['_injector']=_0xdbdf3e,this[_0x23fe69(0x12f)]=_0x301d09;const {..._0x28e2df}=a[_0x23fe69(0x19c)]({},Ue,this[_0x23fe69(0x77)]);this['_configService'][_0x23fe69(0x76)]($t,_0x28e2df);}[_0x4ba9c1(0x2b9)](){const _0x3afa25=_0x4ba9c1;this['_registerDependencies'](),this[_0x3afa25(0x1d9)]();}[_0x4ba9c1(0x1d8)](){const _0x22da82=_0x4ba9c1;this[_0x22da82(0x27b)]();}[_0x4ba9c1(0xce)](){const _0x143ee8=_0x4ba9c1;var _0x1ac8f4;const _0x5ef9ad=[[me],[Z],[z],[J],[Ce],[be,{'useClass':je}],[G['ISocketService'],{'useClass':G[_0x143ee8(0x263)]}],[u[_0x143ee8(0x2ed)],{'useClass':ge}],[exports[_0x143ee8(0x1c7)]],[Q],[q],[x],[de],[exports['CollaborationDataLoaderController']]];a[_0x143ee8(0x2c9)](this[_0x143ee8(0x1b6)],a['mergeOverrideWithDependencies'](_0x5ef9ad,(_0x1ac8f4=this['_config'])==null?void 0x0:_0x1ac8f4[_0x143ee8(0x275)]));}[_0x4ba9c1(0x27b)](){const _0x186b21=_0x4ba9c1;this[_0x186b21(0x2db)](this[_0x186b21(0x1cc)][_0x186b21(0xde)](a[_0x186b21(0x2e7)][_0x186b21(0x2ae)],[Ie])),this[_0x186b21(0x2db)](this[_0x186b21(0x1cc)]['registerRenderModule'](a[_0x186b21(0x2e7)]['UNIVER_SHEET'],[ve]));}[_0x4ba9c1(0x1d9)](){const _0x4f6197=_0x4ba9c1;a[_0x4f6197(0x124)](this[_0x4f6197(0x1b6)],[[x],[exports[_0x4f6197(0x1c7)]],[Q],[q],[exports['CollaborationDataLoaderController']]]);}},Qt(exports['UniverCollaborationClientUIPlugin'],_0x4ba9c1(0x1de),es),exports[_0x4ba9c1(0x20d)]=Zt([a[_0x4ba9c1(0xa5)](u[_0x4ba9c1(0x266)]),he(0x1,p[_0x4ba9c1(0x1b1)]),he(0x2,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x11f)])),he(0x3,a[_0x4ba9c1(0x14e)])],exports[_0x4ba9c1(0x20d)]);var ts=Object['getOwnPropertyDescriptor'],ss=(_0x4e5f1b,_0x4c9a6a,_0x20c899,_0x5e4aef)=>{const _0x5d4911=_0x4ba9c1;for(var _0xc8897d=_0x5e4aef>0x1?void 0x0:_0x5e4aef?ts(_0x4c9a6a,_0x20c899):_0x4c9a6a,_0x103a3f=_0x4e5f1b[_0x5d4911(0x1da)]-0x1,_0x2bd96f;_0x103a3f>=0x0;_0x103a3f--)(_0x2bd96f=_0x4e5f1b[_0x103a3f])&&(_0xc8897d=_0x2bd96f(_0xc8897d)||_0xc8897d);return _0xc8897d;},F=(_0x3fc7d3,_0x4b7d34)=>(_0x4fcc99,_0x5e2722)=>_0x4b7d34(_0x4fcc99,_0x5e2722,_0x3fc7d3);exports[_0x4ba9c1(0x24d)]=class extends u['CollaborationSocketService']{constructor(_0x49b491,_0x250f59,_0x13a23a,_0x309294,_0x4c43d2){super(_0x49b491,_0x250f59,_0x13a23a,_0x309294,_0x4c43d2);}async[_0x4ba9c1(0x235)](_0x31ecca){const _0x46c081=_0x4ba9c1,_0x42bd9e=await this[_0x46c081(0xe1)](),_0x2cca54=this[_0x46c081(0x120)](_0x31ecca,_0x42bd9e);return this[_0x46c081(0x24a)](_0x2cca54);}[_0x4ba9c1(0x120)](_0x1b9633,_0xa3616c){const _0x50265c=_0x4ba9c1,_0x2169ad=typeof window>'u'?new URL(_0x1b9633):new URL(_0x1b9633,window['location'][_0x50265c(0xdc)]);_0x2169ad['searchParams'][_0x50265c(0x82)](_0x50265c(0x6e),_0xa3616c);const _0xf57b2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50265c(0xa3)][_0x50265c(0x106)]);return _0xf57b2['get'](_0x50265c(0xa0))&&_0x2169ad['searchParams']['set']('runId',_0xf57b2[_0x50265c(0x17b)](_0x50265c(0xa0))),_0x2169ad[_0x50265c(0x15a)]();}async['_getSessionTicket'](){const _0x1372ae=_0x4ba9c1;var _0x2ef9ae,_0x113965,_0xe44f74;const _0x3ecdf4=this[_0x1372ae(0x12f)][_0x1372ae(0x2d5)](u[_0x1372ae(0xd1)]),_0x1bed8c=(_0x2ef9ae=_0x3ecdf4==null?void 0x0:_0x3ecdf4[_0x1372ae(0x210)])!=null?_0x2ef9ae:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0xe44f74=(_0x113965=(await this['_httpService'][_0x1372ae(0x17b)](_0x1bed8c,{'headers':{'Content-Type':_0x1372ae(0x2f9)}}))['body'])==null?void 0x0:_0x113965[_0x1372ae(0x16a)])!=null?_0xe44f74:'';}},exports[_0x4ba9c1(0x24d)]=ss([F(0x0,a[_0x4ba9c1(0x1f9)](a[_0x4ba9c1(0x11f)])),F(0x1,a[_0x4ba9c1(0x1f9)](G[_0x4ba9c1(0x1b0)])),F(0x2,a[_0x4ba9c1(0x14e)]),F(0x3,a[_0x4ba9c1(0x273)]),F(0x4,m[_0x4ba9c1(0x205)])],exports['BrowserCollaborationSocketService']);const Me=0x7530,Le=_0x4ba9c1(0x2fa);class is extends a[_0x4ba9c1(0x12c)]{constructor(){const _0x464263=_0x4ba9c1;super(),h(this,'_id',a[_0x464263(0x274)]()),h(this,_0x464263(0x126),new Set()),h(this,_0x464263(0x201),new Map()),h(this,_0x464263(0xba),null),h(this,_0x464263(0x8a),new Map()),h(this,_0x464263(0x171),new Map()),this[_0x464263(0x2c4)]();}[_0x4ba9c1(0x195)](){const _0x58b59f=_0x4ba9c1;super['dispose'](),this[_0x58b59f(0x8a)][_0x58b59f(0xf8)]((_0x879838,_0x2aff77)=>this['_removeClearOtherTimer'](_0x2aff77)),this[_0x58b59f(0xba)]&&window[_0x58b59f(0x1ce)](this['_heartbeatTimer']);}[_0x4ba9c1(0x24b)](_0x1ce86f){const _0x35b8d2=_0x4ba9c1;return this['_ensureSubject'](_0x1ce86f)[_0x35b8d2(0x74)](d['distinctUntilChanged']());}[_0x4ba9c1(0x21a)](_0x324b4e){const _0xa3bccf=_0x4ba9c1;this[_0xa3bccf(0x126)][_0xa3bccf(0x213)]===0x0&&this[_0xa3bccf(0x2c8)](),this[_0xa3bccf(0x126)][_0xa3bccf(0xf6)](_0x324b4e),this[_0xa3bccf(0x1a3)]({'type':0x0,'memberID':this[_0xa3bccf(0x96)],'unitIDs':[_0x324b4e],'isForwarded':!0x1});}[_0x4ba9c1(0x2eb)](_0x1e2666){const _0xf11506=_0x4ba9c1;this[_0xf11506(0x126)]['delete'](_0x1e2666),this[_0xf11506(0x126)][_0xf11506(0x213)]===0x0&&this[_0xf11506(0xba)]&&window[_0xf11506(0x1ce)](this[_0xf11506(0xba)]);}[_0x4ba9c1(0x2c4)](){const _0x3e3037=_0x4ba9c1;this[_0x3e3037(0x2db)](a[_0x3e3037(0x121)](d[_0x3e3037(0x27d)](window,_0x3e3037(0x2e8))[_0x3e3037(0x1a4)](_0x18d2c0=>{const _0x3ac425=_0x3e3037;if(_0x18d2c0['key']!==Le||!_0x18d2c0[_0x3ac425(0x9f)])return;const _0xc8349a=JSON[_0x3ac425(0x2f0)](_0x18d2c0[_0x3ac425(0x9f)]);this[_0x3ac425(0xd3)](_0xc8349a);}))),window[_0x3e3037(0x72)](_0x3e3037(0x1dd),()=>this[_0x3e3037(0x1a3)]({'type':0x1,'memberID':this[_0x3e3037(0x96)],'unitIDs':Array[_0x3e3037(0x12b)](this[_0x3e3037(0x126)])}));}['_handleEvent'](_0x529171){const _0x2c0b07=_0x4ba9c1;switch(_0x529171[_0x2c0b07(0x26a)]){case 0x0:this[_0x2c0b07(0x2a7)](_0x529171);break;case 0x1:this[_0x2c0b07(0x2ad)](_0x529171);break;case 0x2:this[_0x2c0b07(0x28b)](_0x529171);break;}}[_0x4ba9c1(0x2a7)](_0x3f01dd){const _0x547a94=_0x4ba9c1,{unitIDs:_0x261719,memberID:_0x5778be,isForwarded:_0x1ee605}=_0x3f01dd;_0x261719['forEach'](_0x13b7b2=>{const _0x4a9eb4=_0x167f;if(!_0x1ee605&&this[_0x4a9eb4(0x201)][_0x4a9eb4(0x10b)](_0x13b7b2)&&this[_0x4a9eb4(0x2e9)](_0x13b7b2)['next'](u['UnitStatus'][_0x4a9eb4(0x2d4)]),!this[_0x4a9eb4(0x201)][_0x4a9eb4(0x10b)](_0x13b7b2)||!this[_0x4a9eb4(0x201)][_0x4a9eb4(0x17b)](_0x13b7b2)['has'](_0x5778be)){const _0x2cbc59=this[_0x4a9eb4(0x201)][_0x4a9eb4(0x17b)](_0x13b7b2)||new Set();_0x2cbc59[_0x4a9eb4(0xf6)](_0x5778be),this[_0x4a9eb4(0x201)][_0x4a9eb4(0x82)](_0x13b7b2,_0x2cbc59),this[_0x4a9eb4(0x207)](_0x5778be);}}),_0x1ee605||this['_send']({'type':0x0,'memberID':this[_0x547a94(0x96)],'unitIDs':[...this[_0x547a94(0x126)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x43daba){const _0x2a5c9d=_0x4ba9c1;this[_0x2a5c9d(0x237)](_0x43daba);const _0x3e71f3=window[_0x2a5c9d(0x14b)](()=>{const _0x20910d=_0x2a5c9d;this['_unitOnClients'][_0x20910d(0xf8)](_0x7660c1=>{const _0x6fdb8c=_0x20910d;_0x7660c1[_0x6fdb8c(0x232)](_0x43daba);});},Me*0x2);this[_0x2a5c9d(0x8a)]['set'](_0x43daba,_0x3e71f3);}['_removeClearOtherTimer'](_0x5a108c){const _0x2f04e1=_0x4ba9c1;if(this[_0x2f04e1(0x8a)]['has'](_0x5a108c)){const _0x1c5297=this[_0x2f04e1(0x8a)][_0x2f04e1(0x17b)](_0x5a108c);_0x1c5297&&window[_0x2f04e1(0x1b2)](_0x1c5297),this[_0x2f04e1(0x8a)][_0x2f04e1(0x82)](_0x5a108c,null);}}[_0x4ba9c1(0x2ad)](_0x224e95){const _0x509ecc=_0x4ba9c1,{memberID:_0x49c73f,unitIDs:_0x3692ff}=_0x224e95;_0x3692ff[_0x509ecc(0xf8)](_0x1abd95=>{const _0x478d11=_0x509ecc;var _0x2e4729;const _0x3cd76e=this['_unitOnClients']['get'](_0x1abd95);_0x3cd76e&&(_0x3cd76e[_0x478d11(0x232)](_0x49c73f),(_0x2e4729=this[_0x478d11(0x2e9)](_0x1abd95))==null||_0x2e4729['next'](_0x3cd76e[_0x478d11(0x213)]===0x0?u['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:u['UnitStatus'][_0x478d11(0x2d4)]));}),this[_0x509ecc(0x237)](_0x49c73f);}[_0x4ba9c1(0x28b)](_0x3dd555){const _0x50fd71=_0x4ba9c1;this[_0x50fd71(0x207)](_0x3dd555[_0x50fd71(0x107)]);}[_0x4ba9c1(0x1a3)](_0x1f20db){const _0x33ba7e=_0x4ba9c1;localStorage[_0x33ba7e(0x287)](Le,JSON['stringify'](_0x1f20db));}[_0x4ba9c1(0x2c8)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x4762c2=_0x167f;this[_0x4762c2(0x1a3)]({'type':0x2,'memberID':this['_id']});},Me);}[_0x4ba9c1(0x2e9)](_0x4a591a){const _0x1b8642=_0x4ba9c1;return this[_0x1b8642(0x171)][_0x1b8642(0x10b)](_0x4a591a)||this['_unitStatus'][_0x1b8642(0x82)](_0x4a591a,new d[(_0x1b8642(0x1ec))](u[_0x1b8642(0x261)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x1b8642(0x17b)](_0x4a591a);}}var Be=(_0xc6879d=>(_0xc6879d[_0xc6879d[_0x4ba9c1(0xa4)]=0x0]='UNDEFINED',_0xc6879d[_0xc6879d['OK']=0x1]='OK',_0xc6879d[_0xc6879d[_0x4ba9c1(0x2cb)]=0x2]=_0x4ba9c1(0x2cb),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1eb)]=0x3]=_0x4ba9c1(0x1eb),_0xc6879d[_0xc6879d[_0x4ba9c1(0x2fd)]=0x4]=_0x4ba9c1(0x2fd),_0xc6879d[_0xc6879d[_0x4ba9c1(0x259)]=0x5]=_0x4ba9c1(0x259),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1ed)]=0x6]=_0x4ba9c1(0x1ed),_0xc6879d[_0xc6879d['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0xc6879d[_0xc6879d[_0x4ba9c1(0xa9)]=0x8]='TOO_MANY_REQUESTS',_0xc6879d[_0xc6879d['COMPLETION_FINISHED']=0x9]=_0x4ba9c1(0x104),_0xc6879d[_0xc6879d[_0x4ba9c1(0x29f)]=0xa]='LOGIN_FAILED',_0xc6879d[_0xc6879d[_0x4ba9c1(0x144)]=0x1389]=_0x4ba9c1(0x144),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1c5)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xc6879d[_0xc6879d[_0x4ba9c1(0x262)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xc6879d[_0xc6879d[_0x4ba9c1(0x297)]=0x1773]=_0x4ba9c1(0x297),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1d6)]=0x1b59]='APPLY_REJECT',_0xc6879d[_0xc6879d[_0x4ba9c1(0x1ad)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xc6879d[_0xc6879d[_0x4ba9c1(0x103)]=0x1b5b]=_0x4ba9c1(0x103),_0xc6879d[_0xc6879d[_0x4ba9c1(0xd0)]=0x1b5c]=_0x4ba9c1(0xd0),_0xc6879d[_0xc6879d[_0x4ba9c1(0x283)]=0x1b5d]='APPLY_DUPLICATED',_0xc6879d[_0xc6879d[_0x4ba9c1(0x12e)]=0x1f41]=_0x4ba9c1(0x12e),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1ae)]=0x2329]=_0x4ba9c1(0x1ae),_0xc6879d[_0xc6879d[_0x4ba9c1(0x196)]=0x232a]=_0x4ba9c1(0x196),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1af)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xc6879d[_0xc6879d['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4ba9c1(0x93),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1f4)]=0x232d]=_0x4ba9c1(0x1f4),_0xc6879d[_0xc6879d[_0x4ba9c1(0xd9)]=0x2711]=_0x4ba9c1(0xd9),_0xc6879d[_0xc6879d[_0x4ba9c1(0x15f)]=0x2712]=_0x4ba9c1(0x15f),_0xc6879d[_0xc6879d[_0x4ba9c1(0x1d1)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xc6879d[_0xc6879d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4ba9c1(0x2ea),_0xc6879d[_0xc6879d[_0x4ba9c1(0x174)]=0x271a]=_0x4ba9c1(0x174),_0xc6879d[_0xc6879d[_0x4ba9c1(0x280)]=0x271b]=_0x4ba9c1(0x280),_0xc6879d[_0xc6879d[_0x4ba9c1(0x282)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0xc6879d[_0xc6879d[_0x4ba9c1(0x279)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xc6879d[_0xc6879d[_0x4ba9c1(0xf3)]=0x271e]=_0x4ba9c1(0xf3),_0xc6879d[_0xc6879d[_0x4ba9c1(0x180)]=0x271f]=_0x4ba9c1(0x180),_0xc6879d[_0xc6879d[_0x4ba9c1(0x8e)]=0x2af9]=_0x4ba9c1(0x8e),_0xc6879d[_0xc6879d[_0x4ba9c1(0x2b8)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xc6879d[_0xc6879d[_0x4ba9c1(0x1ca)]=0x2ee2]=_0x4ba9c1(0x1ca),_0xc6879d[_0xc6879d['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4ba9c1(0x1b3),_0xc6879d[_0xc6879d['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4ba9c1(0x147),_0xc6879d[_0xc6879d[_0x4ba9c1(0x7a)]=0x2ee5]=_0x4ba9c1(0x7a),_0xc6879d[_0xc6879d[_0x4ba9c1(0x2bf)]=0x32c9]=_0x4ba9c1(0x2bf),_0xc6879d[_0xc6879d[_0x4ba9c1(0x26f)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0xc6879d[_0xc6879d[_0x4ba9c1(0x29c)]=0x32cb]=_0x4ba9c1(0x29c),_0xc6879d[_0xc6879d['UNRECOGNIZED']=-0x1]=_0x4ba9c1(0xfd),_0xc6879d))(Be||{}),ns=Object[_0x4ba9c1(0x23e)],rs=(_0x275ba0,_0x2e676a,_0x16d943,_0x519cd7)=>{const _0x27f92f=_0x4ba9c1;for(var _0x125a66=_0x519cd7>0x1?void 0x0:_0x519cd7?ns(_0x2e676a,_0x16d943):_0x2e676a,_0xa2f845=_0x275ba0[_0x27f92f(0x1da)]-0x1,_0x22c72c;_0xa2f845>=0x0;_0xa2f845--)(_0x22c72c=_0x275ba0[_0xa2f845])&&(_0x125a66=_0x22c72c(_0x125a66)||_0x125a66);return _0x125a66;},ue=(_0x4229ce,_0x273d49)=>(_0x1dc4c9,_0x814876)=>_0x273d49(_0x1dc4c9,_0x814876,_0x4229ce);exports['RemoteUniscriptService']=class extends a['Disposable']{constructor(_0x118c2d,_0x1cd1f3,_0x46516c){const _0x4e2ae1=_0x4ba9c1;super(),this['_instanceService']=_0x118c2d,this[_0x4e2ae1(0x8c)]=_0x1cd1f3,this[_0x4e2ae1(0x12f)]=_0x46516c;}async['runOnServer'](_0x41cce0,_0x2177ba,_0xd14dac,..._0x54918e){const _0x14e3a5=_0x4ba9c1;var _0x5434f6,_0x44e6ef,_0x3b104a,_0x10aa44;const _0x3cc289=this[_0x14e3a5(0x1d2)][_0x14e3a5(0x26d)]();if(!_0x3cc289)throw new Error(_0x14e3a5(0x132));const _0x23ba03=((_0x5434f6=this[_0x14e3a5(0x12f)]['getConfig'](u[_0x14e3a5(0x231)]))!=null?_0x5434f6:u[_0x14e3a5(0x97)])+'/'+_0x41cce0+_0x14e3a5(0x160)+_0x2177ba,_0x34ac78=new URL(window[_0x14e3a5(0xa3)][_0x14e3a5(0x2b4)]),_0x5a39c0={'scriptId':_0x41cce0,'runId':(_0x44e6ef=_0x34ac78[_0x14e3a5(0x127)][_0x14e3a5(0x17b)]('runId'))!=null?_0x44e6ef:'','function':_0x2177ba,'unitId':_0x3cc289[_0x14e3a5(0xd6)](),'argsOfFunction':JSON[_0x14e3a5(0xaa)](_0x54918e),'invokeId':(_0x3b104a=_0xd14dac['invokeId'])!=null?_0x3b104a:'','executionId':(_0x10aa44=_0xd14dac[_0x14e3a5(0x86)])!=null?_0x10aa44:''};try{const _0x4d5f5b=await this['_httpService']['post'](_0x23ba03,{'body':_0x5a39c0});return _0x4d5f5b[_0x14e3a5(0x87)][_0x14e3a5(0x217)]&&_0x4d5f5b[_0x14e3a5(0x87)][_0x14e3a5(0x217)][_0x14e3a5(0x10a)]!==Be['OK']?_0x14e3a5(0x2df):_0x4d5f5b[_0x14e3a5(0x87)][_0x14e3a5(0x10e)];}catch{return'Failed';}}},exports[_0x4ba9c1(0xda)]=rs([ue(0x0,a['IUniverInstanceService']),ue(0x1,a[_0x4ba9c1(0x1f9)](G[_0x4ba9c1(0x1b0)])),ue(0x2,a[_0x4ba9c1(0x14e)])],exports['RemoteUniscriptService']),exports[_0x4ba9c1(0x2c5)]=xe,exports[_0x4ba9c1(0x2c3)]=be,exports[_0x4ba9c1(0xe6)]=Pe,exports[_0x4ba9c1(0xe5)]=is,exports['WebURLService']=je;
@@ -1 +1 @@
1
- 'use strict';function _0x369c(_0x46480a,_0x4e2162){const _0x23d0ef=_0x23d0();return _0x369c=function(_0x369c76,_0x2a6c17){_0x369c76=_0x369c76-0x103;let _0x574f92=_0x23d0ef[_0x369c76];return _0x574f92;},_0x369c(_0x46480a,_0x4e2162);}const _0x4f6ac3=_0x369c;function _0x23d0(){const _0x536e93=['Collaboration\x20Conflict','16tdfhIe','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1464loHlBC','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1772968siSdld','1331815ahJXaQ','9228986XQfGnY','Click\x20to\x20Reconnect','Edit\x20conflicts','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','1793FsumCd','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Local\x20file','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','19161VGCNto','3nUoeLm','11750sLpxlT','12677amortH','exports','24aiPnhy','1328idvCjo','Syncing\x20server\x20data...','5550FQVPdE'];_0x23d0=function(){return _0x536e93;};return _0x23d0();}(function(_0x1de9fa,_0x1c059f){const _0x21c1c2=_0x369c,_0x759134=_0x1de9fa();while(!![]){try{const _0x2e2d03=parseInt(_0x21c1c2(0x119))/0x1*(-parseInt(_0x21c1c2(0x117))/0x2)+parseInt(_0x21c1c2(0x110))/0x3*(parseInt(_0x21c1c2(0x105))/0x4)+parseInt(_0x21c1c2(0x106))/0x5+-parseInt(_0x21c1c2(0x103))/0x6*(-parseInt(_0x21c1c2(0x112))/0x7)+parseInt(_0x21c1c2(0x115))/0x8*(parseInt(_0x21c1c2(0x10f))/0x9)+-parseInt(_0x21c1c2(0x111))/0xa*(-parseInt(_0x21c1c2(0x10b))/0xb)+parseInt(_0x21c1c2(0x114))/0xc*(-parseInt(_0x21c1c2(0x107))/0xd);if(_0x2e2d03===_0x1c059f)break;else _0x759134['push'](_0x759134['shift']());}catch(_0x3c5f18){_0x759134['push'](_0x759134['shift']());}}}(_0x23d0,0x38af8));const e={'collab-client':{'tooltip':{'reconnect':_0x4f6ac3(0x108)}},'collabStatus':{'fetchMiss':_0x4f6ac3(0x116),'conflict':_0x4f6ac3(0x109),'notCollab':_0x4f6ac3(0x10d),'synced':'Synced','syncing':'Syncing...','offline':_0x4f6ac3(0x10c)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x4f6ac3(0x11b),'room-full':_0x4f6ac3(0x10a),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x4f6ac3(0x118),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':'Authentication\x20Error','content':_0x4f6ac3(0x10e)},'collaboration':{'single-unit':{'warning':_0x4f6ac3(0x104)},'closeRoom':_0x4f6ac3(0x11a)},'auth':{'needGotoLoginAlert':_0x4f6ac3(0x11c)}};module[_0x4f6ac3(0x113)]=e;
1
+ 'use strict';const _0x3ac705=_0x4eed;(function(_0x44091f,_0x2a3176){const _0x701ff5=_0x4eed,_0x20afcc=_0x44091f();while(!![]){try{const _0x1f7a1b=parseInt(_0x701ff5(0xde))/0x1+parseInt(_0x701ff5(0xe0))/0x2*(-parseInt(_0x701ff5(0xdd))/0x3)+-parseInt(_0x701ff5(0xed))/0x4+-parseInt(_0x701ff5(0xdb))/0x5*(-parseInt(_0x701ff5(0xe6))/0x6)+parseInt(_0x701ff5(0xea))/0x7*(parseInt(_0x701ff5(0xe2))/0x8)+parseInt(_0x701ff5(0xe9))/0x9+-parseInt(_0x701ff5(0xf0))/0xa;if(_0x1f7a1b===_0x2a3176)break;else _0x20afcc['push'](_0x20afcc['shift']());}catch(_0x24646c){_0x20afcc['push'](_0x20afcc['shift']());}}}(_0x14e1,0xf0d04));function _0x4eed(_0x4c69ed,_0x57f637){const _0x14e130=_0x14e1();return _0x4eed=function(_0x4eed66,_0x35a108){_0x4eed66=_0x4eed66-0xdb;let _0x3430ab=_0x14e130[_0x4eed66];return _0x3430ab;},_0x4eed(_0x4c69ed,_0x57f637);}function _0x14e1(){const _0xe5cf7=['Authentication\x20Error','9642030MIrlMk','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','85qJedOc','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','4119EDYvkM','1343990NeTrLJ','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','778LCiIen','Syncing...','2759336xsjGuc','exports','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing\x20server\x20data...','648246vASDEX','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','8245197gJnJWD','7JABCUp','Click\x20to\x20Reconnect','Synced','7828260tpLHvV','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x14e1=function(){return _0xe5cf7;};return _0x14e1();}const e={'collab-client':{'tooltip':{'reconnect':_0x3ac705(0xeb)}},'collabStatus':{'fetchMiss':_0x3ac705(0xe5),'conflict':'Edit\x20conflicts','notCollab':_0x3ac705(0xe7),'synced':_0x3ac705(0xec),'syncing':_0x3ac705(0xe1),'offline':_0x3ac705(0xe8)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x3ac705(0xee),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x3ac705(0xf1)},'conflict':{'title':'Collaboration\x20Conflict','content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x3ac705(0xef),'content':_0x3ac705(0xdf)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x3ac705(0xe4)},'auth':{'needGotoLoginAlert':_0x3ac705(0xdc)}};module[_0x3ac705(0xe3)]=e;