@univerjs-pro/collaboration-client-ui 0.9.1-nightly.202507051607 → 0.9.1-nightly.202507071607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3871(){const _0x4d6238=['complete','HEADER_MENU','unshift','Disposable','collab-text-anchor-','_removeCollabCursors','MemberService','UniverInstanceType','ranges','syncEditingCollabCursor','toDisposable','YUUMI_ASYNCIO_CANCELLED','@univerjs/design','operators','collabStatus.offline','jiqing.500','width','clsx','transformStateCache','init','getUndoRedoMutationParamsCache','_startSheetCollabCursor','INVITE_CODE_REQUIRED','white','DocIMEInputManagerService','urlChange$','NOT_COLLAB','hovered','next','handleInsertRangeMoveRight','rgba(255,\x20255,\x20255,\x200.01)','LocaleService','MessageType','popstate','_uiPartsService','_collabCursorController','UniverDocsUi','getCurrentRevOfUnit','hasOwnProperty','_status$','isTransformMutationFailure','NodePositionConvertToCursor','selections','CONFLICT','serializeRangeWithSheet','translate(.97)','_localCacheService','setAlpha','getCollabCursors$','sessionStatus$','use','svg','_hovered','registerDependencies','#FFF','DocSelectionManagerService','mask','merge','application/json','runOnServer','UNIVER_DOC','FETCH_MISS','UPDATE_CURSOR','_docSkeletonManagerService','getMember','24WZikkR','searchParams','CommandType','has','useObservable','range','CollaborationEvent','USER_NOT_INVITED_CODE','createSocket','off-line-icon_clip0_910_343','handleDeleteRangeMoveUp','defineProperty','attrs','LOCAL_CACHE_INTERVAL_KEY','getLocalCacheKey','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','enableLocalCache','send','_docTransformStateCacheService','redoState','UNAUTHENTICATED','saveImage','hide','_refRangeService','DisposableCollection','_updateLocalCursor','_render','_toggleOnline','YUUMI_NO_CUBOID_FOR_QUESTION','delete','currentSkeleton$','_httpService','values','getVpScrollXYInfoByPosToVp','_memberService','_cursors','0\x200\x2016\x2016','@univerjs-pro/collaboration','flatMap','_getSaveTimeout','Plugin','UNDEFINED','whenReady','RefRangeService','override','_createSocketURL','InsertRowCommandId','displayName','amd','RemoteUniscriptService','getStateCache','_urlService','mutations','generateRandomId','entityInit$','_getMergeRange','getCellPositionByOffset','ticket','_anchorDot','_docClipboardService','icon','makeDirty','collabCursorState$','path','text','_docTransformSelectionsService','INVALID_ARGUMENT','_scheduleHeartbeat','current','trim','_beforeCloseService','getTypeOfUnitAdded$','[CollaborationDataLoaderController]','getActiveRange','ENSURE_SNAPSHOT_EXECUTION','MOBILE_VERIFY_CODE_MISMATCH','setShapeProps','idSuffix','href','getActiveSheet','undoState','on-line-icon_clip0_910_349','Tools','function','_drawRectRange','6304ychajj','_heartbeatTimer','getAncestorScale','100503IJjeEE','asObservable','_localeService','ISnapshotServerService','registerBeforeClose','throttleTime','getUnhiddenWorksheets','NOT_FOUND','getCollabEntity$','BuiltInUIPart','clearInterval','assignAColorForMemberID','OTHER_CLIENT_EDITING','ACTIVE_UNIT_EVENT_CHANNEL','_registerDependencies','NO_OTHER_CLIENTS_EDITING','ThemeService','DEFAULT_WS_SESSION_TICKET_URL','arc','_getSessionTicket','Rect','@univerjs/core','registerComponent','USERS_LEAVE','_handleHeartbeatEvent','_docStateChangeManagerService','INVITE_CODE_HAS_BEEN_UES','react','getSkeleton','RxDisposable','SNAPSHOT_HAS_BEEN_REMOVED','univer-mr-2\x20univer-flex\x20univer-text-xl','size','TEXT_RANGE_LAYER_INDEX','off-line-icon','Rectangle','_saveCache','ILocalStorageService','getUniverSheetInstance','CollaborationDataLoaderController','14068eKBTCW','getOffsetConfig','_init','random','@univerjs/docs-ui','symbol','_session','_initStatusComponent','moveTo','addHandlerCallback','_updateSubUnitFromURLParams','LICENSE_MAX_UNITS_EXCEEDED','_onCursorUpdate','_initEntityListener','_renderManagerService','@univerjs/network','forwardRef','@univerjs/docs','_draw','AWAITING','DataLoaderService','1em','getRenderById','_transformPreviousActiveRange','url(#off-line-icon_clip0_910_343)','DeleteRangeMoveUpCommandId','getCurrent','labelPosition','UniverProCollaborationClient','disposeWithMe','React','_docSkeleton','Failed','_initStatusListener','APPLY_NON_SEQUENTIAL_REVISION','EMAIL_VERIFY_CODE_MISMATCH','round','YUUMI_TABLE_NOT_FOUND_IN_UNIT','LOCAL_CACHE_INTERVAL','_notificationService','lineTo','DocSkeletonManagerService','ICommandService','TEXT','700920sqDFRl','collabStatus.conflict','deserializeRangeWithSheet','WECHAT_HAS_BEEN_BOUND','MUTATION','CollaborationStatus','_initCommandExecutedListener','split','ISocketService','registerRefRange','green.600','react/jsx-runtime','toString','getRangePointData','black','set','Subject','SetTextSelectionsOperation','CollaborationController','color','onMouseMove','UniverProCollaborationClientUi','row','stringify','reconnect','ITransformService','UniverCore','_id','engine','actions','_cursorInfo$','getCoordByCell','_textBubble','_handleEvent','location','_unitOnClients','get','getCurrentSelections','BrowserCollaborationSocketService','Warning','SOCKET_FAILED','defs','children','parse','_selfUnitIDs','UniverRpc','YUUMI_RATE_OVER_LIMIT','RevisionService','_scene','190449hhsqLQ','_assignedColors','_onCursorDelete','setParam','getViewport','_doCreateSocket','concat','_syncEditingCollabCursorService','_drawAnchor','subscribeEvent','collaboration.closeRoom','createElement','_shapes','PERMISSION_DENIED','_drawTextRange','isArray','OTHER_CLIENTS_EDITING','univer-flex\x20univer-items-center','colorChannel1','MOBILE_HAS_BEEN_BOUND','@univerjs/engine-render','takeUntil','DOC_RANGE_TYPE','_instanceService','top','yellow.400','_getAnchorBounding','activeSheet$','CollaborationUIEventId','IBeforeCloseService','UniverDocs','getSheetBySheetId','_setupBeforeClosingHandler','createIdentifier','COLORS','APPLY_REJECT','addObject','JOIN_ROOM_FAILED','UniverCollaborationClientUIPlugin','ILocalCacheService','_startDocCollabCursor','CollaborationStatusDisplay','clipPath','_univerInstanceService','saveTaskMap','runId','_onRefRangeChange','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','429051tSEZkE','loadOfflineData','error','INVALID_INVITE_CODE','OffLineIcon','_handleHover','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformUndoRedoStack','_eventUnsubscribe','_cursor','LICENSE_DISTRO_REJECTED','entries','uni.network.url-service','cursorInfo','ColorKit','@univerjs/drawing','collab-rect-range-','column','_handleJoinEvent','_transformService','unit','assign','getColorFromTheme','UniverSheets','_labelPosition','roomMembers$','roomMembers','height','LICENSE_EXPORT_SIZE_EXCEEDED','collabStatus.notCollab','OFFLINE','isTransformMutationsWithChangesetSuccess','_imageIoService','session.connection-failed','...','result','IURLService','startRow','_initEvent','fromEventSubject','session.will-retry','useDependency','textRanges','SheetSkeletonManagerService','UniverEngineFormula','M0\x200H16V16H0z','SNAPSHOT_INVALID_SNAPSHOT','filter','_cachedData','_initDependencies','jsx','_hover','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','setUndoRedoMutationParamsCache','add','295DNBIVc','unitId','UnitStatus','executionId','_collabCursorState$','SOCKET_FAILED_RETRY','_messageService','imageSourceType','556194NyJUgN','triggerDblclick','selection','exhaustSavingTask','body','setInterval','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onPointerLeave$','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','IMessageService','getTypeOfUnitDisposed$','UNIVER_SHEET','UniverDrawing','_injector','CHANGESET_REVISION_CONFILICT','58jPeZij','_send','_clearOtherTimers','LICENSE_IMPORT_SIZE_EXCEEDED','disposeUnit','COMPLETION_FINISHED','registerRenderModule','endRow','_themeService','addObjects','bottom','jsxs','SetDocZoomRatioOperation','switchMap','defIds','type','getOwnPropertySymbols','saveOfflineData','with','startColumn','_updateCollabCursors','/run/','string','Optional','InsertRangeMoveRightCommandId','YUUMI_UNABLE_LOAD_URL','SYNCED','_lastPointer','search','IUniverInstanceService','_roomMembers$','Workbook','prototype','getSheetId','_online','sessionTicket','transformSelections','subscribe','_dataLoaderService','IDocClipboardService','_commandService','name','Injector','blue.400','ILogService','DesktopCollaborationStatusDisplayController','_colorAssignService','IRenderManagerService','_cursorShapes','xlink:href','getOwnPropertyDescriptor','UNRECOGNIZED','handleInsertCol','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','LOGIN_FAILED','rxjs','executeCommand','handleIRemoveRow','Shape','debounceTime','docStateChange$','_collaborationController','getCurrentUnitForType','save','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','length','CollaborationUIEventService','_updateURLWithCurrentState','INVITE_CODE_ALREADY_BOUND','getColor','CONNECTOR_DATA_TOO_LARGE','toStringTag','_setupSubUnitSync','@univerjs/engine-formula','IImageIoService','params','indexOf','APPLY_REVISION_CONFILICT','fromEvent','call','CLOSE_ROOM','_scheduleClearOtherTimer','_ensureSubject','history','collabStatus.synced','m1Prime','EffectRefRangId','DocStateChangeManagerService','YUUMI_CONNECTOR_URL_NOT_FOUND','map','doc.mutation.rich-text-editing','handleMoveRange','getMemberID','isActive','onStarting','@univerjs-pro/collaboration-client','contains','SetSelectionsOperation','rxjs/operators','from','disableLocalCache','_config','@univerjs/sheets','_scheduleSaving','MoveRangeCommandId','exports','debug','getParam','pipe','resize','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','className','_removeClearOtherTimer','_color','InsertColCommandId','_saveTaskMap','getConfig','transformRemoteChangeset','collab-text-range-','replaceState','_configService','collabStatus.syncing','isEditing','collab-client.tooltip.reconnect','font','transformMutationsWithChangeset','collaboration-client-ui.config','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','addEventListener','dispose$','_backgroundColor','setConfig','_anchor','max','unitID','tag','onTransformChange$','UniverNetwork','onLocalMutation','RemoveColCommandId','Inject','_localStorageService','univerjs-icon\x20univerjs-icon-','requireSession','push','SheetCollabCursorShape','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ONLINE','_initResize','PENDING','transformIMECache','object','addClipboardHook','_document','transformByState','PY_RUNTIME_SCRIPT_ERROR','div','_logService','deepClone','_revisionService','RemoveRowCommandId','_collaborationUIEventService','getValue','findNodePositionByCharIndex','DeleteRangeMoveLeftCommandId','onPointerEnter$','YUUMI_AI_RUN_FAILED','UniverProCollaboration','fillText','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','code','_registerRenderDependencies','setStateCache','_handleLeaveEvent','createInstance','m2Prime','red.300','url(#$1','backgroundColor','handleInsertRow','YUUMI_URL_COL_OUT_OF_RANGE','setItem','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UniverSheetsUi','toRgbString','replace','_toggleOffline','@univerjs/rpc','_entityInit$','Unknown\x20user','_disabled','event$','shareReplay','dispose','getFocusedUnit','onCommandExecuted','_range','IRemoteInstanceService','INotificationService','measureText','extend','getUnitId','_hideTimer','@univerjs/sheets-ui','_name','Error','_getScale','forEach','_transformHistoryAndStateStack','_context','FromArray','getRelativeToViewportCoord','debounce','mergeOverrideWithDependencies','getUnitStatus$','SheetsSelectionsService','INTERNAL_ERROR','SHEET_VIEWPORT_KEY','fillRule','SessionStatus','_collabSessionService','_unitStatus','YUUMI_ALL_TABLES_IS_INVALID','fillStyle','_colorIndex','APPLY_PERMISSION_DENIED','cursorInfo$','BehaviorSubject','ALREADY_EXISTS','handleDeleteRangeMoveLeft','drawWith','HTTPService','_docTransformIMECacheService','RegularPolygon','combineLatest','IConfigService','DocCollaborationEntity','TOO_MANY_REQUESTS','restore','permission.content','setTimeout','unsubscribe','_entities','apply','transformMutation','_refreshCollabCursors','min','APPLY_DUPLICATED','eventID','clearTimeout','origin','data','77QdEyMt','fill','newValue','http://www.w3.org/2000/svg','InsertRangeMoveDownCommandId','RichTextEditingMutation','_sheetSkeletonManagerService','setActiveRange','subunit','key','collaboration-client.offline-data-not-saved','CollaborationSessionService','memberID','_getSheetObject','permission.title','pluginName','evenodd','then','find','show','touchDependencies','pushState'];_0x3871=function(){return _0x4d6238;};return _0x3871();}function _0x6c71(_0x245ad6,_0x42a7eb){const _0x3871c9=_0x3871();return _0x6c71=function(_0x6c712a,_0x1491fd){_0x6c712a=_0x6c712a-0x1c1;let _0x8b5f80=_0x3871c9[_0x6c712a];return _0x8b5f80;},_0x6c71(_0x245ad6,_0x42a7eb);}(function(_0x5562ab,_0xa131ff){const _0x427442=_0x6c71,_0x4fc8ae=_0x5562ab();while(!![]){try{const _0x288d10=parseInt(_0x427442(0x361))/0x1*(-parseInt(_0x427442(0x467))/0x2)+-parseInt(_0x427442(0x364))/0x3+-parseInt(_0x427442(0x38c))/0x4*(-parseInt(_0x427442(0x450))/0x5)+-parseInt(_0x427442(0x458))/0x6+-parseInt(_0x427442(0x419))/0x7*(parseInt(_0x427442(0x30c))/0x8)+-parseInt(_0x427442(0x3e9))/0x9+-parseInt(_0x427442(0x3b8))/0xa*(-parseInt(_0x427442(0x2b5))/0xb);if(_0x288d10===_0xa131ff)break;else _0x4fc8ae['push'](_0x4fc8ae['shift']());}catch(_0x29c297){_0x4fc8ae['push'](_0x4fc8ae['shift']());}}}(_0x3871,0x2cf1b),function(_0x5a3b19,_0x46777e){const _0x347bc6=_0x6c71;typeof exports==_0x347bc6(0x250)&&typeof module<'u'?_0x46777e(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x347bc6(0x35f)&&define[_0x347bc6(0x33c)]?define([_0x347bc6(0x222),_0x347bc6(0x218),_0x347bc6(0x379),_0x347bc6(0x3fd),_0x347bc6(0x39b),_0x347bc6(0x390),_0x347bc6(0x428),_0x347bc6(0x1f0),_0x347bc6(0x331),_0x347bc6(0x39d),_0x347bc6(0x202),_0x347bc6(0x21f),_0x347bc6(0x21b),_0x347bc6(0x284),_0x347bc6(0x3c3),'@univerjs/ui',_0x347bc6(0x2d7),_0x347bc6(0x37f),_0x347bc6(0x274)],_0x46777e):(_0x5a3b19=typeof globalThis<'u'?globalThis:_0x5a3b19||self,_0x46777e(_0x5a3b19[_0x347bc6(0x3cd)]={},_0x5a3b19[_0x347bc6(0x3a8)],_0x5a3b19[_0x347bc6(0x3d2)],_0x5a3b19['UniverEngineRender'],_0x5a3b19[_0x347bc6(0x242)],_0x5a3b19[_0x347bc6(0x2ef)],_0x5a3b19[_0x347bc6(0x464)],_0x5a3b19[_0x347bc6(0x1f0)],_0x5a3b19[_0x347bc6(0x260)],_0x5a3b19[_0x347bc6(0x407)],_0x5a3b19[_0x347bc6(0x445)],_0x5a3b19[_0x347bc6(0x430)],_0x5a3b19['rxjs'][_0x347bc6(0x2d8)],_0x5a3b19[_0x347bc6(0x270)],_0x5a3b19[_0x347bc6(0x3aa)],_0x5a3b19['UniverUi'],_0x5a3b19['UniverDesign'],_0x5a3b19[_0x347bc6(0x3aa)],_0x5a3b19[_0x347bc6(0x3e5)]));}(this,function(_0x20de07,_0x42d1b5,_0x356f55,_0x6d1524,_0x40dcae,_0x5dd295,_0x1baeda,_0x2c71f6,_0x1499bf,_0x13e3d3,_0x5ed213,_0xa79b04,_0x40fd46,_0x1cc7b5,_0xb84d71,_0x25054a,_0x55c065,_0x20acc3,_0x37ae61){'use strict';const _0x33f13c=_0x6c71;var _0x2d76b7=Object[_0x33f13c(0x317)],_0x64d692=(_0x450172,_0x31bbef,_0x5503d2)=>_0x31bbef in _0x450172?_0x2d76b7(_0x450172,_0x31bbef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5503d2}):_0x450172[_0x31bbef]=_0x5503d2,_0x428fe9=(_0x53e154,_0x49e583,_0x27be7a)=>_0x64d692(_0x53e154,typeof _0x49e583!=_0x33f13c(0x391)?_0x49e583+'':_0x49e583,_0x27be7a),_0x28413b=Object['getOwnPropertyDescriptor'],_0x3083f7=(_0xad6c87,_0x14635a,_0x57ad05,_0x8c2869)=>{const _0xd33717=_0x33f13c;for(var _0x42a082=_0x8c2869>0x1?void 0x0:_0x8c2869?_0x28413b(_0x14635a,_0x57ad05):_0x14635a,_0x2cc535=_0xad6c87[_0xd33717(0x1fa)]-0x1,_0x366927;_0x2cc535>=0x0;_0x2cc535--)(_0x366927=_0xad6c87[_0x2cc535])&&(_0x42a082=_0x366927(_0x42a082)||_0x42a082);return _0x42a082;},_0x2b6611=(_0x3e5274,_0x395e2c)=>(_0x2fecfa,_0x280e6f)=>_0x395e2c(_0x2fecfa,_0x280e6f,_0x3e5274);let _0x3d0acb=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x2c72bf,_0x267db5){const _0x25d7d8=_0x33f13c;super(),this[_0x25d7d8(0x347)]=_0x2c72bf,this[_0x25d7d8(0x439)]=_0x267db5,this['_init']();}[_0x33f13c(0x38e)](){const _0x3aaaa3=_0x33f13c,_0x2cc04f=this;this['disposeWithMe'](this[_0x3aaaa3(0x347)][_0x3aaaa3(0x251)]({'onBeforePasteImage':async _0x1e07e4=>{const _0x298345=_0x3aaaa3,_0x1eb00c=await _0x2cc04f[_0x298345(0x439)][_0x298345(0x321)](_0x1e07e4);return _0x1eb00c?{'source':_0x1eb00c['source'],'imageSourceType':_0x1eb00c[_0x298345(0x457)]}:null;}}));}};_0x3d0acb=_0x3083f7([_0x2b6611(0x0,_0x5dd295[_0x33f13c(0x1e0)]),_0x2b6611(0x1,_0x1baeda[_0x33f13c(0x203)])],_0x3d0acb);const _0x46c503=['purple.300',_0x33f13c(0x2da),_0x33f13c(0x3c2),_0x33f13c(0x269),_0x33f13c(0x1e4),_0x33f13c(0x402)];class _0x833117 extends _0x356f55[_0x33f13c(0x2ce)]{constructor(){const _0x441a87=_0x33f13c;super(...arguments),_0x428fe9(this,'_assignedColors',new Map()),_0x428fe9(this,_0x441a87(0x299),0x0);}[_0x33f13c(0x36f)](_0x28f6ea){const _0x45032d=_0x33f13c;if(this[_0x45032d(0x3ea)]['has'](_0x28f6ea))return this[_0x45032d(0x3ea)]['get'](_0x28f6ea);const _0x1027b5=_0x46c503[this[_0x45032d(0x299)]];return this[_0x45032d(0x299)]=(this['_colorIndex']+0x1)%_0x46c503[_0x45032d(0x1fa)],this[_0x45032d(0x3ea)][_0x45032d(0x3c7)](_0x28f6ea,_0x1027b5),_0x1027b5;}}function _0x4d7cab(_0x475631){const _0x211413=_0x33f13c;let _0x47f792='';for(const _0x5c15c4 of _0x475631){const {startOffset:_0x3e0153,endOffset:_0x5aa9c6,isActive:_0x30d43c,rangeType:_0x32e8b2,segmentId:_0x2f98d1,segmentPage:_0x1ce268}=_0x5c15c4;_0x47f792[_0x211413(0x1fa)]&&(_0x47f792+=','),_0x47f792+=_0x3e0153+':'+_0x5aa9c6+':'+(_0x30d43c?'1':'0')+':'+_0x32e8b2+':'+_0x2f98d1+':'+_0x1ce268;}return _0x47f792;}function _0x14bb11(_0x5c3c07){const _0x3d24ca=_0x33f13c,_0x5897a0=_0x5c3c07[_0x3d24ca(0x3bf)](','),_0xa9c71b=[];for(const _0x26d935 of _0x5897a0){const [_0x40fe93,_0x14d2d3,_0x529f79,_0x3103ef,_0xcde03a,_0x4d0056]=_0x26d935[_0x3d24ca(0x3bf)](':');_0xa9c71b['push']({'startOffset':Number(_0x40fe93),'endOffset':Number(_0x14d2d3),'collapsed':_0x40fe93===_0x14d2d3,'isActive':_0x529f79==='1','rangeType':_0x3103ef===_0x356f55['DOC_RANGE_TYPE'][_0x3d24ca(0x3b7)]?_0x356f55[_0x3d24ca(0x3ff)][_0x3d24ca(0x3b7)]:_0x356f55[_0x3d24ca(0x3ff)]['RECT'],'segmentId':typeof _0xcde03a=='string'?String(_0xcde03a):'','segmentPage':Number(_0x4d0056!=null?_0x4d0056:-0x1)});}return _0xa9c71b['some'](_0x1ad884=>_0x1ad884[_0x3d24ca(0x216)])||(_0xa9c71b[0x0]['isActive']=!0x0),_0xa9c71b;}class _0x3e3de3 extends _0x356f55[_0x33f13c(0x381)]{constructor(){const _0x493fb6=_0x33f13c;super(...arguments),_0x428fe9(this,_0x493fb6(0x454),new _0x2c71f6[(_0x493fb6(0x29c))](null)),_0x428fe9(this,_0x493fb6(0x34a),this[_0x493fb6(0x454)][_0x493fb6(0x365)]());}[_0x33f13c(0x2d4)](_0x3bcdd7){const _0x298fe2=_0x33f13c,{unitID:_0x3b1255,memberID:_0x23d29e,textRanges:_0x1321af}=_0x3bcdd7,_0x32ccec=_0x4d7cab(_0x1321af);if(_0x32ccec==='')return;const _0x5c9a5d={'unitID':_0x3b1255,'memberID':_0x23d29e,'selection':_0x32ccec};this[_0x298fe2(0x454)][_0x298fe2(0x2e7)](_0x5c9a5d);}}var _0x11006c=Object[_0x33f13c(0x1eb)],_0xee3007=(_0x343381,_0x1aabad,_0x1c1c2b,_0x1e385d)=>{const _0x56c1e9=_0x33f13c;for(var _0x3485d1=_0x1e385d>0x1?void 0x0:_0x1e385d?_0x11006c(_0x1aabad,_0x1c1c2b):_0x1aabad,_0x678bd1=_0x343381[_0x56c1e9(0x1fa)]-0x1,_0x36c8f9;_0x678bd1>=0x0;_0x678bd1--)(_0x36c8f9=_0x343381[_0x678bd1])&&(_0x3485d1=_0x36c8f9(_0x3485d1)||_0x3485d1);return _0x3485d1;},_0x1adf90=(_0x14d5bb,_0x39d8cf)=>(_0x56a26b,_0x455b80)=>_0x39d8cf(_0x56a26b,_0x455b80,_0x14d5bb);const _0x36db1d=0x12c,_0x263640=0x64;let _0x54b38c=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x464481,_0x2d778e,_0x578fea,_0x472f71,_0x55106c,_0x5a76a4,_0x2599ac,_0x17f2e3,_0x3697a0){const _0x2577a8=_0x33f13c;super(),_0x428fe9(this,_0x2577a8(0x1db),!0x1),_0x428fe9(this,_0x2577a8(0x38e),!0x1),_0x428fe9(this,_0x2577a8(0x3d6),new _0x2c71f6[(_0x2577a8(0x29c))](new Map())),_0x428fe9(this,_0x2577a8(0x29b),this[_0x2577a8(0x3d6)][_0x2577a8(0x365)]()),_0x428fe9(this,_0x2577a8(0x1d7),new _0x2c71f6[(_0x2577a8(0x29c))]([])),_0x428fe9(this,_0x2577a8(0x432),this[_0x2577a8(0x1d7)][_0x2577a8(0x225)](_0x2c71f6[_0x2577a8(0x1f4)](_0x36db1d))),_0x428fe9(this,_0x2577a8(0x325),_0x356f55[_0x2577a8(0x28d)](_0x19698e=>{const _0x5bf4d8=_0x2577a8,_0x459d29={'eventID':_0x1499bf[_0x5bf4d8(0x312)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5bf4d8(0x23f)],'memberID':this[_0x5bf4d8(0x392)][_0x5bf4d8(0x215)](),'selection':_0x4d7cab(_0x19698e)}};this[_0x5bf4d8(0x392)][_0x5bf4d8(0x31d)](_0x459d29,this[_0x5bf4d8(0x23f)]);},_0x263640)),(this[_0x2577a8(0x23f)]=_0x464481,this[_0x2577a8(0x392)]=_0x2d778e,this[_0x2577a8(0x465)]=_0x578fea,this[_0x2577a8(0x1e7)]=_0x472f71,this[_0x2577a8(0x32e)]=_0x55106c,this[_0x2577a8(0x3f0)]=_0x5a76a4,this[_0x2577a8(0x42c)]=_0x2599ac,this[_0x2577a8(0x414)]=_0x17f2e3,this[_0x2577a8(0x1e1)]=_0x3697a0);}get[_0x33f13c(0x426)](){const _0x4193f0=_0x33f13c;return this[_0x4193f0(0x3d6)][_0x4193f0(0x25b)]();}get[_0x33f13c(0x433)](){const _0x265345=_0x33f13c;return this[_0x265345(0x1d7)][_0x265345(0x25b)]();}[_0x33f13c(0x27a)](){const _0xc2c152=_0x33f13c;super[_0xc2c152(0x27a)](),this[_0xc2c152(0x3d6)][_0xc2c152(0x2e7)](new Map()),this['_cursorInfo$']['complete'](),this[_0xc2c152(0x1d7)][_0xc2c152(0x2e7)]([]),this[_0xc2c152(0x1d7)][_0xc2c152(0x2cb)]();}['init'](){const _0x285767=_0x33f13c;this[_0x285767(0x38e)]||(this[_0x285767(0x38e)]=!0x0,this[_0x285767(0x392)][_0x285767(0x2fc)][_0x285767(0x225)](_0x2c71f6[_0x285767(0x3fe)](this[_0x285767(0x23a)]))['subscribe'](_0x4b6f23=>{const _0x4360e0=_0x285767;_0x4b6f23===_0x42d1b5[_0x4360e0(0x294)][_0x4360e0(0x24c)]?this['_toggleOnline']():this[_0x4360e0(0x273)]();}),this[_0x285767(0x392)][_0x285767(0x278)]['pipe'](_0x2c71f6['takeUntil'](this[_0x285767(0x23a)]))[_0x285767(0x1de)](_0x1b1614=>{const _0x3e5b3f=_0x285767,_0x156d24=_0x1b1614[_0x3e5b3f(0x2b1)];_0x156d24===_0x1499bf['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1b1614),_0x156d24===_0x1499bf['CollaborationEvent'][_0x3e5b3f(0x37b)]&&this[_0x3e5b3f(0x3eb)](_0x1b1614);}),this[_0x285767(0x3a9)](this[_0x285767(0x1e1)][_0x285767(0x27c)](_0x551687=>{const _0x51b459=_0x285767,_0x4f866a=_0x551687[_0x51b459(0x204)];_0x4f866a!=null&&this[_0x51b459(0x1db)]&&_0x551687['id']===_0x13e3d3[_0x51b459(0x3c9)]['id']&&_0x4f866a['unitId']===this['unitID']&&_0x4f866a[_0x51b459(0x233)]===!0x1&&_0x4f866a[_0x51b459(0x2d3)][_0x51b459(0x1fa)]>0x0&&this[_0x51b459(0x325)](_0x4f866a[_0x51b459(0x2d3)]);})),this[_0x285767(0x3f0)][_0x285767(0x34a)][_0x285767(0x225)](_0x2c71f6[_0x285767(0x3fe)](this[_0x285767(0x23a)]))[_0x285767(0x1de)](_0x4ebe80=>{const _0x35c3d1=_0x285767;if((_0x4ebe80==null?void 0x0:_0x4ebe80[_0x35c3d1(0x23f)])!==this['unitID'])return;const _0x174313={'eventID':_0x1499bf[_0x35c3d1(0x312)]['UPDATE_CURSOR'],'data':_0x4ebe80};this['_onCursorUpdate'](_0x174313);}),this[_0x285767(0x3a9)](this['_commandService']['onCommandExecuted'](_0xc55513=>{const _0x5c359d=_0x285767;if(_0xc55513['params']==null)return;const _0x532562=_0xc55513[_0x5c359d(0x204)];if(_0xc55513['id']!==_0x13e3d3[_0x5c359d(0x2ba)]['id']||_0x532562[_0x5c359d(0x451)]!==this[_0x5c359d(0x23f)])return;const _0x39f9d4={'id':_0x5c359d(0x213),'params':_0x532562},_0x209b4f=this[_0x5c359d(0x426)];for(const [_0x20dd29,_0x17dcc9]of _0x209b4f){const _0x4ac0a4={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x17dcc9[_0x5c359d(0x2d3)]}},_0x3ab244=this[_0x5c359d(0x42c)][_0x5c359d(0x2ad)](_0x39f9d4,_0x4ac0a4,!0x1);if(_0x1499bf[_0x5c359d(0x2f3)](_0x3ab244))throw _0x3ab244[_0x5c359d(0x41b)];_0x209b4f[_0x5c359d(0x3c7)](_0x20dd29,{..._0x17dcc9,'ranges':_0x3ab244[_0x5c359d(0x268)][_0x5c359d(0x204)][_0x5c359d(0x443)]});}queueMicrotask(()=>{const _0x2dd0cc=_0x5c359d;this[_0x2dd0cc(0x3d6)]['next'](_0x209b4f);});})));}[_0x33f13c(0x398)](_0x1fc156){const _0x39357b=_0x33f13c;var _0x4a449c,_0x219c26;const {memberID:_0x3b7240,selection:_0x24c23c}=_0x1fc156[_0x39357b(0x2b4)],_0x3321e9=_0x14bb11(_0x24c23c),_0x8bcc5a=(_0x219c26=(_0x4a449c=this[_0x39357b(0x32e)][_0x39357b(0x30b)](this[_0x39357b(0x23f)],_0x3b7240))==null?void 0x0:_0x4a449c[_0x39357b(0x1e2)])!=null?_0x219c26:_0x39357b(0x276),_0x3f6c13={'color':this[_0x39357b(0x1e7)][_0x39357b(0x36f)](_0x3b7240),'name':_0x8bcc5a,'ranges':_0x3321e9},_0x9419df=this[_0x39357b(0x426)];_0x9419df[_0x39357b(0x3c7)](_0x3b7240,_0x3f6c13),this[_0x39357b(0x3d6)]['next'](_0x9419df);}[_0x33f13c(0x3eb)](_0x11746e){const _0x3ce055=_0x33f13c,{memberID:_0x1c0eea}=_0x11746e[_0x3ce055(0x2b4)],_0x5f3ffd=this['cursorInfo'];_0x5f3ffd['delete'](_0x1c0eea),this[_0x3ce055(0x3d6)][_0x3ce055(0x2e7)](_0x5f3ffd);}[_0x33f13c(0x327)](){const _0x265f79=_0x33f13c;var _0xa11227;if(this[_0x265f79(0x1db)]=!0x0,((_0xa11227=this[_0x265f79(0x414)][_0x265f79(0x27b)]())==null?void 0x0:_0xa11227[_0x265f79(0x282)]())!==this[_0x265f79(0x23f)])return;const _0x1d9c4e=this['_injector'][_0x265f79(0x3dc)](_0x13e3d3[_0x265f79(0x302)])['getDocRanges']();Array[_0x265f79(0x3f8)](_0x1d9c4e)&&_0x1d9c4e[_0x265f79(0x1fa)]>0x0&&this[_0x265f79(0x325)](_0x1d9c4e);}[_0x33f13c(0x273)](){const _0x2e0790=_0x33f13c;this[_0x2e0790(0x1db)]=!0x1;}};_0x54b38c=_0xee3007([_0x1adf90(0x2,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x1adf90(0x3,_0x356f55[_0x33f13c(0x245)](_0x833117)),_0x1adf90(0x4,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x2d1)])),_0x1adf90(0x5,_0x356f55[_0x33f13c(0x245)](_0x3e3de3)),_0x1adf90(0x6,_0x1499bf[_0x33f13c(0x3d1)]),_0x1adf90(0x7,_0x356f55['IUniverInstanceService']),_0x1adf90(0x8,_0x356f55[_0x33f13c(0x3b6)])],_0x54b38c);var _0x17b850=Object[_0x33f13c(0x1eb)],_0x539331=(_0x4cf5f2,_0xe2b2db,_0x176fe8,_0x57a532)=>{const _0x597b6d=_0x33f13c;for(var _0x31ffab=_0x57a532>0x1?void 0x0:_0x57a532?_0x17b850(_0xe2b2db,_0x176fe8):_0xe2b2db,_0x52b12d=_0x4cf5f2[_0x597b6d(0x1fa)]-0x1,_0x187d23;_0x52b12d>=0x0;_0x52b12d--)(_0x187d23=_0x4cf5f2[_0x52b12d])&&(_0x31ffab=_0x187d23(_0x31ffab)||_0x31ffab);return _0x31ffab;},_0x45e79c=(_0x4cd2e9,_0x5181b7)=>(_0x1eb0d2,_0x29891f)=>_0x5181b7(_0x1eb0d2,_0x29891f,_0x4cd2e9);const _0x3c0c51=0x12c,_0x58175b=0x64,_0x8034fe=()=>{let _0x4e56e3=[],_0x294622=!0x1;return _0x547944=>{const _0x26664d=_0x6c71;_0x4e56e3[_0x26664d(0x249)](_0x547944),_0x294622||(_0x294622=!0x0,setTimeout(()=>{const _0x3664a6=_0x26664d;_0x4e56e3[_0x3664a6(0x288)](_0x2a1b3c=>_0x2a1b3c()),_0x4e56e3=[],_0x294622=!0x1;}));};};let _0x1ec120=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x4d2bcb,_0x217243,_0x266fae,_0x5c21fd,_0x40a63f,_0x160159,_0x2d148b,_0x5bc876){const _0x22841d=_0x33f13c;super(),_0x428fe9(this,_0x22841d(0x1db),!0x1),_0x428fe9(this,_0x22841d(0x38e),!0x1),_0x428fe9(this,_0x22841d(0x3d6),new _0x2c71f6[(_0x22841d(0x29c))](new Map())),_0x428fe9(this,_0x22841d(0x29b),this[_0x22841d(0x3d6)][_0x22841d(0x365)]()),_0x428fe9(this,'_roomMembers$',new _0x2c71f6[(_0x22841d(0x29c))]([])),_0x428fe9(this,_0x22841d(0x432),this[_0x22841d(0x1d7)][_0x22841d(0x225)](_0x2c71f6['debounceTime'](_0x3c0c51))),_0x428fe9(this,_0x22841d(0x325),_0x356f55[_0x22841d(0x28d)]((_0xb9cc47,_0x2ec584)=>{const _0x3603c1=_0x22841d,_0x2dcf7f={'eventID':_0x1499bf[_0x3603c1(0x312)][_0x3603c1(0x309)],'data':{'unitID':this[_0x3603c1(0x23f)],'memberID':this[_0x3603c1(0x392)][_0x3603c1(0x215)](),'selection':_0x5ed213[_0x3603c1(0x2f7)](_0xb9cc47,_0x2ec584[_0x3603c1(0x311)])}};this[_0x3603c1(0x392)][_0x3603c1(0x31d)](_0x2dcf7f,this[_0x3603c1(0x23f)]);},_0x58175b)),(this[_0x22841d(0x23f)]=_0x4d2bcb,this[_0x22841d(0x392)]=_0x217243,this[_0x22841d(0x465)]=_0x266fae,this[_0x22841d(0x1e7)]=_0x5c21fd,this['_memberService']=_0x40a63f,this[_0x22841d(0x414)]=_0x160159,this['_commandService']=_0x2d148b,this['_refRangeService']=_0x5bc876);}get[_0x33f13c(0x426)](){const _0x327ec4=_0x33f13c;return this[_0x327ec4(0x3d6)]['getValue']();}get[_0x33f13c(0x433)](){const _0x3b75ea=_0x33f13c;return this['_roomMembers$'][_0x3b75ea(0x25b)]();}[_0x33f13c(0x27a)](){const _0x292bed=_0x33f13c;super[_0x292bed(0x27a)](),this[_0x292bed(0x3d6)][_0x292bed(0x2e7)](new Map()),this[_0x292bed(0x3d6)][_0x292bed(0x2cb)](),this['_roomMembers$']['next']([]),this[_0x292bed(0x1d7)][_0x292bed(0x2cb)]();}['init'](){const _0x2f4206=_0x33f13c;this[_0x2f4206(0x38e)]||(this[_0x2f4206(0x38e)]=!0x0,this[_0x2f4206(0x392)][_0x2f4206(0x2fc)]['pipe'](_0x2c71f6[_0x2f4206(0x3fe)](this[_0x2f4206(0x23a)]))[_0x2f4206(0x1de)](_0x4a1041=>{const _0x196421=_0x2f4206;_0x4a1041===_0x42d1b5['SessionStatus'][_0x196421(0x24c)]?this['_toggleOnline']():this[_0x196421(0x273)]();}),this[_0x2f4206(0x392)][_0x2f4206(0x278)]['pipe'](_0x2c71f6[_0x2f4206(0x3fe)](this[_0x2f4206(0x23a)]))[_0x2f4206(0x1de)](_0x6fb6f3=>{const _0x5d870c=_0x2f4206,_0x6668f5=_0x6fb6f3[_0x5d870c(0x2b1)];_0x6668f5===_0x1499bf['CollaborationEvent'][_0x5d870c(0x309)]&&this['_onCursorUpdate'](_0x6fb6f3),_0x6668f5===_0x1499bf[_0x5d870c(0x312)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x6fb6f3);}),this[_0x2f4206(0x417)](),this['disposeWithMe'](this[_0x2f4206(0x1e1)]['onCommandExecuted'](_0x20d981=>{const _0x53ee50=_0x2f4206;if(this[_0x53ee50(0x1db)]&&_0x20d981['id']===_0xa79b04[_0x53ee50(0x21a)]['id']&&_0x20d981[_0x53ee50(0x204)][_0x53ee50(0x451)]===this['unitID']){const _0x4563c3=_0x20d981[_0x53ee50(0x204)];this[_0x53ee50(0x325)](_0x4563c3['subUnitId'],_0x4563c3[_0x53ee50(0x2f5)][0x0]);}})));}[_0x33f13c(0x398)](_0x5c8103){const _0x4eb041=_0x33f13c;var _0x3cd73a,_0x43185e;const {memberID:_0x34296a,selection:_0x287e93}=_0x5c8103[_0x4eb041(0x2b4)],{sheetName:_0x55227d,range:_0x3239cd}=_0x5ed213[_0x4eb041(0x3ba)](_0x287e93),_0x342b67={'name':(_0x43185e=(_0x3cd73a=this[_0x4eb041(0x32e)][_0x4eb041(0x30b)](this[_0x4eb041(0x23f)],_0x34296a))==null?void 0x0:_0x3cd73a[_0x4eb041(0x1e2)])!=null?_0x43185e:'Unknown\x20user','range':this['_getMergeRange'](_0x55227d,_0x3239cd),'sheetID':_0x55227d,'color':this[_0x4eb041(0x1e7)][_0x4eb041(0x36f)](_0x34296a),'selection':_0x287e93},_0x1fd89c=this[_0x4eb041(0x426)];_0x1fd89c[_0x4eb041(0x3c7)](_0x34296a,_0x342b67),this['_cursorInfo$']['next'](_0x1fd89c);}[_0x33f13c(0x3eb)](_0xa8db2){const _0x195442=_0x33f13c,{memberID:_0x4ac250}=_0xa8db2[_0x195442(0x2b4)],_0xd5f071=this[_0x195442(0x426)];_0xd5f071[_0x195442(0x329)](_0x4ac250),this[_0x195442(0x3d6)][_0x195442(0x2e7)](_0xd5f071);}[_0x33f13c(0x343)](_0x542185,_0x1bd45e){const _0x32d5c2=_0x33f13c;var _0x323c52,_0x4eadfc;const _0x245725=(_0x4eadfc=(_0x323c52=this[_0x32d5c2(0x414)][_0x32d5c2(0x38a)](this['unitID']))==null?void 0x0:_0x323c52['getSheetBySheetId'](_0x542185))==null?void 0x0:_0x4eadfc['getMergeData']();return(_0x245725==null?void 0x0:_0x245725[_0x32d5c2(0x2c7)](_0x3f67b1=>_0x356f55[_0x32d5c2(0x387)][_0x32d5c2(0x219)](_0x3f67b1,_0x1bd45e)))||_0x1bd45e;}[_0x33f13c(0x417)](){const _0x26f1e7=_0x33f13c,_0x5e866d=new _0x356f55[(_0x26f1e7(0x324))](),_0x3bf858=_0x8034fe(),_0xb1259b=()=>{const _0x21dd60=_0x26f1e7;_0x5e866d[_0x21dd60(0x27a)]();const _0x45efa1=(_0x3e6ca2,_0x532d31,_0x2ea737,_0x394583)=>{const _0xbc3db2=_0x21dd60;let _0x3e2413=[];switch(_0x3e6ca2['id']){case _0xa79b04['EffectRefRangId'][_0xbc3db2(0x25d)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x29e)](_0x3e6ca2,_0x394583);break;}case _0xa79b04['EffectRefRangId'][_0xbc3db2(0x3a5)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x316)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x22b)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x1ed)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x2b9)]:{_0x3e2413=_0xa79b04['handleInsertRangeMoveDown'](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x1d1)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x2e8)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x33a)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x26c)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x221)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x214)](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x244)]:{_0x3e2413=_0xa79b04['handleIRemoveCol'](_0x3e6ca2,_0x394583);break;}case _0xa79b04[_0xbc3db2(0x20f)][_0xbc3db2(0x259)]:{_0x3e2413=_0xa79b04[_0xbc3db2(0x1f2)](_0x3e6ca2,_0x394583);break;}}const _0x30a15c=_0xa79b04['runRefRangeMutations'](_0x3e2413,_0x394583),_0x3494c8=this[_0xbc3db2(0x426)]['get'](_0x532d31);if(_0x3494c8&&_0x30a15c){const _0xdb071a={..._0x3494c8,'range':_0x30a15c};this[_0xbc3db2(0x426)][_0xbc3db2(0x3c7)](_0x532d31,_0xdb071a),_0x3bf858(()=>{const _0x3ba4be=_0xbc3db2,_0xcf97a5=this[_0x3ba4be(0x323)]['registerRefRange'](_0x30a15c,_0x59791f=>(_0xcf97a5[_0x3ba4be(0x27a)](),_0x45efa1(_0x59791f,_0x532d31,_0x2ea737,_0x30a15c)));_0x5e866d[_0x3ba4be(0x44f)](_0xcf97a5);});}return{'redos':[],'undos':[]};};this[_0x21dd60(0x426)][_0x21dd60(0x288)]((_0x1ff775,_0x5d1ce8)=>{const _0x3b1247=_0x21dd60,{range:_0x15c7b6,sheetID:_0x52dbe2}=_0x1ff775,_0x4c8316=this['_refRangeService'][_0x3b1247(0x3c1)](_0x15c7b6,_0x30810a=>(_0x4c8316[_0x3b1247(0x27a)](),_0x45efa1(_0x30810a,_0x5d1ce8,_0x52dbe2,_0x15c7b6)));_0x5e866d[_0x3b1247(0x44f)](_0x4c8316);});};this[_0x26f1e7(0x3a9)](_0x356f55[_0x26f1e7(0x2d5)](this[_0x26f1e7(0x3d6)]['subscribe'](()=>{_0xb1259b();})));}['_toggleOnline'](){const _0x37acc7=_0x33f13c;var _0x4d4d51,_0x408c69;if(this[_0x37acc7(0x1db)]=!0x0,((_0x4d4d51=this[_0x37acc7(0x414)][_0x37acc7(0x27b)]())==null?void 0x0:_0x4d4d51[_0x37acc7(0x282)]())!==this[_0x37acc7(0x23f)])return;const _0x1722b9=(_0x408c69=this[_0x37acc7(0x465)]['get'](_0xa79b04[_0x37acc7(0x290)])[_0x37acc7(0x3dd)]())==null?void 0x0:_0x408c69[0x0],_0x2330a2=this['_univerInstanceService'][_0x37acc7(0x1f7)](_0x356f55[_0x37acc7(0x2d2)]['UNIVER_SHEET'])[_0x37acc7(0x35b)]();_0x1722b9&&_0x2330a2&&this[_0x37acc7(0x325)](_0x2330a2[_0x37acc7(0x1da)](),_0x1722b9);}[_0x33f13c(0x273)](){const _0x41034a=_0x33f13c;this[_0x41034a(0x1db)]=!0x1;}};_0x1ec120=_0x539331([_0x45e79c(0x2,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x45e79c(0x3,_0x356f55[_0x33f13c(0x245)](_0x833117)),_0x45e79c(0x4,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x2d1)])),_0x45e79c(0x5,_0x356f55['IUniverInstanceService']),_0x45e79c(0x6,_0x356f55[_0x33f13c(0x3b6)]),_0x45e79c(0x7,_0x356f55['Inject'](_0xa79b04[_0x33f13c(0x337)]))],_0x1ec120);var _0x1ecfbe=Object['getOwnPropertyDescriptor'],_0x113051=(_0x30e974,_0x398e7a,_0x446820,_0x20430a)=>{const _0x2f9071=_0x33f13c;for(var _0x136342=_0x20430a>0x1?void 0x0:_0x20430a?_0x1ecfbe(_0x398e7a,_0x446820):_0x398e7a,_0x5788cf=_0x30e974[_0x2f9071(0x1fa)]-0x1,_0x257f61;_0x5788cf>=0x0;_0x5788cf--)(_0x257f61=_0x30e974[_0x5788cf])&&(_0x136342=_0x257f61(_0x136342)||_0x136342);return _0x136342;},_0x45a55c=(_0x499a19,_0x4e545f)=>(_0x336426,_0x139390)=>_0x4e545f(_0x336426,_0x139390,_0x499a19);let _0x10d9f8=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0xd8fdb5,_0xd44597,_0x1b316){const _0x5ec120=_0x33f13c;super(),_0x428fe9(this,_0x5ec120(0x2ab),new Map()),_0x428fe9(this,_0x5ec120(0x275),new _0x2c71f6[(_0x5ec120(0x3c8))]()),(this[_0x5ec120(0x414)]=_0xd8fdb5,this[_0x5ec120(0x465)]=_0xd44597,this[_0x5ec120(0x295)]=_0x1b316,this[_0x5ec120(0x38e)]());}[_0x33f13c(0x27a)](){const _0x50a229=_0x33f13c;super[_0x50a229(0x27a)](),this[_0x50a229(0x275)][_0x50a229(0x2cb)](),this['_entities'][_0x50a229(0x288)](_0x17f442=>_0x17f442[_0x50a229(0x27a)]());}[_0x33f13c(0x2fb)](_0x176b8d){const _0x3d3378=_0x33f13c;return this[_0x3d3378(0x2ab)]['has'](_0x176b8d)?this[_0x3d3378(0x2ab)][_0x3d3378(0x3dc)](_0x176b8d)['cursorInfo$']:this[_0x3d3378(0x275)][_0x3d3378(0x225)](_0x2c71f6[_0x3d3378(0x448)](_0x4efdad=>_0x4efdad[_0x3d3378(0x23f)]===_0x176b8d),_0x2c71f6[_0x3d3378(0x1c6)](_0x3e6d0e=>_0x3e6d0e['cursorInfo$']));}[_0x33f13c(0x38e)](){const _0x547e4d=_0x33f13c;this[_0x547e4d(0x414)][_0x547e4d(0x353)](_0x356f55[_0x547e4d(0x2d2)][_0x547e4d(0x463)])[_0x547e4d(0x225)](_0x2c71f6[_0x547e4d(0x3fe)](this[_0x547e4d(0x23a)]))[_0x547e4d(0x1de)](async _0x37c26f=>{const _0x196539=_0x547e4d,_0x97eb98=_0x37c26f[_0x196539(0x282)](),_0x337626=await this[_0x196539(0x2e0)](_0x97eb98);this['_entityInit$'][_0x196539(0x2e7)](_0x337626),this[_0x196539(0x2ab)]['set'](_0x97eb98,_0x337626);}),this[_0x547e4d(0x414)][_0x547e4d(0x353)](_0x356f55[_0x547e4d(0x2d2)][_0x547e4d(0x307)])[_0x547e4d(0x225)](_0x2c71f6['takeUntil'](this[_0x547e4d(0x23a)]))[_0x547e4d(0x225)](_0x2c71f6['filter'](_0x3d56c1=>!_0x3d56c1[_0x547e4d(0x282)]()['startsWith']('__')))['subscribe'](async _0x1ae397=>{const _0x424e79=_0x547e4d,_0x4996d6=_0x1ae397[_0x424e79(0x282)](),_0x30d752=await this[_0x424e79(0x411)](_0x4996d6);this[_0x424e79(0x275)][_0x424e79(0x2e7)](_0x30d752),this[_0x424e79(0x2ab)][_0x424e79(0x3c7)](_0x4996d6,_0x30d752);}),_0x2c71f6[_0x547e4d(0x304)](this[_0x547e4d(0x414)][_0x547e4d(0x462)](_0x356f55[_0x547e4d(0x2d2)][_0x547e4d(0x307)]),this[_0x547e4d(0x414)][_0x547e4d(0x462)](_0x356f55[_0x547e4d(0x2d2)][_0x547e4d(0x463)]))[_0x547e4d(0x225)](_0x2c71f6[_0x547e4d(0x3fe)](this[_0x547e4d(0x23a)]))[_0x547e4d(0x1de)](_0x389c9b=>{const _0x3c4f0f=_0x547e4d,_0x219b1f=_0x389c9b[_0x3c4f0f(0x282)](),_0xc1479b=this[_0x3c4f0f(0x2ab)][_0x3c4f0f(0x3dc)](_0x219b1f);_0xc1479b&&(_0xc1479b[_0x3c4f0f(0x27a)](),this[_0x3c4f0f(0x2ab)][_0x3c4f0f(0x329)](_0x219b1f));});}async['_startSheetCollabCursor'](_0x3deb76){const _0x3fc72e=_0x33f13c,_0x423807=await this['_collabSessionService'][_0x3fc72e(0x248)](_0x3deb76),_0xb5379d=this['_injector'][_0x3fc72e(0x267)](_0x1ec120,_0x3deb76,_0x423807);return _0xb5379d[_0x3fc72e(0x2de)](),_0xb5379d;}async[_0x33f13c(0x411)](_0x4f447c){const _0x11a366=_0x33f13c,_0x5702c4=await this[_0x11a366(0x295)][_0x11a366(0x248)](_0x4f447c),_0x2efd8b=this[_0x11a366(0x465)][_0x11a366(0x267)](_0x54b38c,_0x4f447c,_0x5702c4);return _0x2efd8b[_0x11a366(0x2de)](),_0x2efd8b;}};_0x10d9f8=_0x113051([_0x45a55c(0x0,_0x356f55[_0x33f13c(0x1d6)]),_0x45a55c(0x1,_0x356f55[_0x33f13c(0x245)](_0x356f55['Injector'])),_0x45a55c(0x2,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x2c0)]))],_0x10d9f8);const _0x25c26a=0x14,_0x227365=0xc8,_0x8473d6=0x4,_0x62cc33=0x5;function _0x1ac6d8(_0x115a75,_0x423f43){const _0x2fb37c=_0x33f13c;let {radius:_0x43c16f,width:_0x27a729,height:_0x2dee83}=_0x423f43;_0x43c16f=_0x43c16f!=null?_0x43c16f:0x0,_0x27a729=_0x27a729!=null?_0x27a729:0x1e,_0x2dee83=_0x2dee83!=null?_0x2dee83:0x1e;let _0x23ddf7=0x0,_0x3eee4a=0x0,_0x4dbc88=0x0;_0x23ddf7=_0x3eee4a=_0x4dbc88=Math['min'](_0x43c16f,_0x27a729/0x2,_0x2dee83/0x2),_0x115a75['beginPath'](),_0x115a75[_0x2fb37c(0x394)](_0x23ddf7,0x0),_0x115a75[_0x2fb37c(0x3b4)](_0x27a729-_0x3eee4a,0x0),_0x115a75['arc'](_0x27a729-_0x3eee4a,_0x3eee4a,_0x3eee4a,Math['PI']*0x3/0x2,0x0,!0x1),_0x115a75['lineTo'](_0x27a729,_0x2dee83-_0x4dbc88),_0x115a75[_0x2fb37c(0x376)](_0x27a729-_0x4dbc88,_0x2dee83-_0x4dbc88,_0x4dbc88,0x0,Math['PI']/0x2,!0x1),_0x115a75[_0x2fb37c(0x3b4)](0x0,_0x2dee83),_0x115a75['lineTo'](0x0,_0x23ddf7),_0x115a75[_0x2fb37c(0x376)](_0x23ddf7,_0x23ddf7,_0x23ddf7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x115a75['closePath'](),_0x423f43[_0x2fb37c(0x2b6)]&&(_0x115a75[_0x2fb37c(0x1f8)](),_0x115a75[_0x2fb37c(0x298)]=_0x423f43[_0x2fb37c(0x2b6)],_0x423f43[_0x2fb37c(0x293)]===_0x2fb37c(0x2c5)?_0x115a75[_0x2fb37c(0x2b6)]('evenodd'):_0x115a75[_0x2fb37c(0x2b6)](),_0x115a75[_0x2fb37c(0x2a7)]());}class _0x2d2158 extends _0x6d1524[_0x33f13c(0x1f3)]{constructor(_0x544983,_0x27a57a){const _0x44dbcf=_0x33f13c;super(_0x544983,_0x27a57a),_0x428fe9(this,_0x44dbcf(0x3cb)),_0x428fe9(this,_0x44dbcf(0x34c)),(this[_0x44dbcf(0x3cb)]=_0x27a57a==null?void 0x0:_0x27a57a[_0x44dbcf(0x3cb)],this[_0x44dbcf(0x34c)]=_0x27a57a==null?void 0x0:_0x27a57a[_0x44dbcf(0x34c)]);}static['drawWith'](_0x48c034,_0x36edd7){const _0xdb468c=_0x33f13c,{text:_0x176103,color:_0x47bbd2}=_0x36edd7;_0x48c034[_0xdb468c(0x1f8)](),_0x48c034[_0xdb468c(0x235)]=_0xdb468c(0x238);const _0x4254b8=_0x48c034[_0xdb468c(0x280)](_0x176103)[_0xdb468c(0x2db)],_0x4529b=Math[_0xdb468c(0x2af)](_0x4254b8+0x2*_0x8473d6,_0x227365);_0x1ac6d8(_0x48c034,{'height':_0x25c26a,'radius':0x4,'width':_0x4529b,'fill':_0x47bbd2}),_0x48c034[_0xdb468c(0x298)]=_0xdb468c(0x301);const _0x20bac0=_0x8473d6,_0x3269ec=_0x25c26a-_0x62cc33,_0x1aff0f=_0x227365-0x2*_0x8473d6;if(_0x4254b8>_0x1aff0f){let _0x237327='',_0x431bf8=0x0;for(const _0x38294e of _0x176103){const _0xc5a5d8=_0x48c034['measureText'](_0x38294e)[_0xdb468c(0x2db)];if(_0x431bf8+_0xc5a5d8<=_0x1aff0f-_0x48c034[_0xdb468c(0x280)](_0xdb468c(0x43b))[_0xdb468c(0x2db)])_0x237327+=_0x38294e,_0x431bf8+=_0xc5a5d8;else{_0x237327+=_0xdb468c(0x43b);break;}}_0x48c034[_0xdb468c(0x261)](_0x237327,_0x20bac0,_0x3269ec);}else _0x48c034[_0xdb468c(0x261)](_0x176103,_0x20bac0,_0x3269ec);_0x48c034['restore']();}[_0x33f13c(0x39e)](_0x1aad18){const _0x2c497b=_0x33f13c;_0x2d2158[_0x2c497b(0x29f)](_0x1aad18,this);}}const _0x59c122=_0x33f13c(0x2cf),_0x5ee3d7=_0x33f13c(0x22f),_0x577519=_0x33f13c(0x429),_0x30d657=0x6,_0x45a333=1.5,_0xb3fff6=0x4,_0xd83379=1.5,_0x439ca2=_0x33f13c(0x2e9);class _0x4abd47{constructor(_0x396fcb,_0x5d05d2,_0x18f999,_0xd07a3a){const _0x499aa5=_0x33f13c;_0x428fe9(this,_0x499aa5(0x3f5),[]),_0x428fe9(this,'_anchor',null),_0x428fe9(this,_0x499aa5(0x3d8),null),_0x428fe9(this,'_anchorDot',null),_0x428fe9(this,'_hideTimer',null),_0x428fe9(this,_0x499aa5(0x421),null),(this[_0x499aa5(0x422)]=_0x396fcb,this[_0x499aa5(0x3e8)]=_0x5d05d2,this[_0x499aa5(0x3ab)]=_0x18f999,this[_0x499aa5(0x252)]=_0xd07a3a,this[_0x499aa5(0x326)]());}set[_0x33f13c(0x44c)](_0x3a4488){const _0x50aa4a=_0x33f13c;_0x3a4488?(this['_anchorDot']&&this['_anchorDot'][_0x50aa4a(0x322)](),this[_0x50aa4a(0x3d8)]&&this[_0x50aa4a(0x3d8)][_0x50aa4a(0x2c8)]()):(this[_0x50aa4a(0x346)]&&this[_0x50aa4a(0x346)][_0x50aa4a(0x2c8)](),this[_0x50aa4a(0x3d8)]&&this[_0x50aa4a(0x3d8)][_0x50aa4a(0x322)]());}[_0x33f13c(0x27a)](){const _0xeeec67=_0x33f13c;for(const _0x72b7ae of this['_shapes'])_0x72b7ae['dispose']();this[_0xeeec67(0x3d8)]&&this['_textBubble']['dispose'](),this[_0xeeec67(0x346)]&&this[_0xeeec67(0x346)][_0xeeec67(0x27a)](),this[_0xeeec67(0x23d)]&&this[_0xeeec67(0x23d)][_0xeeec67(0x27a)](),this[_0xeeec67(0x421)]&&this[_0xeeec67(0x421)]();}[_0x33f13c(0x326)](){const _0x10b26e=_0x33f13c;var _0x16478d;const {_docSkeleton:_0x557fe1,_document:_0x228a36}=this,{color:_0x282d2d,name:_0x1f11e3,ranges:_0x4348ec}=this[_0x10b26e(0x422)],_0x11ad9d=_0x228a36[_0x10b26e(0x38d)](),{docsLeft:_0x2b5764,docsTop:_0x4f7947}=_0x11ad9d,_0x2da50d=new _0x5dd295[(_0x10b26e(0x2f4))](_0x11ad9d,_0x557fe1);for(const {startOffset:_0x102e35,endOffset:_0x142c9e,rangeType:_0x3b2d40,segmentId:_0x999269,segmentPage:_0x5d6b8c,collapsed:_0x1b6c99,isActive:_0x1a9b9c}of _0x4348ec){const _0x4fc060=_0x557fe1[_0x10b26e(0x25c)](_0x102e35,!0x0,_0x999269,_0x5d6b8c);let _0x1c4360=_0x557fe1[_0x10b26e(0x25c)](_0x142c9e,!0x0,_0x999269,_0x5d6b8c);if(_0x1c4360==null&&(_0x1c4360=_0x557fe1[_0x10b26e(0x25c)](_0x142c9e-0x1,!0x1,_0x999269,_0x5d6b8c)),_0x1a9b9c){const {contentBoxPointGroup:_0x19952f}=_0x2da50d[_0x10b26e(0x3c5)](_0x1c4360,_0x1c4360);if(_0x19952f[_0x10b26e(0x1fa)]===0x0)continue;this[_0x10b26e(0x3f1)](_0x282d2d,_0x19952f,_0x2b5764,_0x4f7947,_0x1f11e3),this['_eventUnsubscribe']=this[_0x10b26e(0x41e)]();}if(_0x4fc060&&_0x1c4360){if(_0x3b2d40===_0x356f55[_0x10b26e(0x3ff)]['RECT']){const _0x4a3a17=new _0x5dd295['NodePositionConvertToRectRange'](_0x11ad9d,_0x557fe1),{pointGroup:_0x5913c4}=(_0x16478d=_0x4a3a17['getRangePointData'](_0x4fc060,_0x1c4360))!=null?_0x16478d:{};if(_0x5913c4==null||_0x5913c4[_0x10b26e(0x1fa)]===0x0)continue;this['_drawRectRange'](_0x282d2d,_0x5913c4,_0x2b5764,_0x4f7947);}else{if(!_0x1b6c99){const {borderBoxPointGroup:_0x3ce155}=_0x2da50d[_0x10b26e(0x3c5)](_0x4fc060,_0x1c4360);if(_0x3ce155[_0x10b26e(0x1fa)]===0x0)continue;this[_0x10b26e(0x3f7)](_0x282d2d,_0x3ce155,_0x2b5764,_0x4f7947);}}}}}[_0x33f13c(0x3f1)](_0x3ee0a6,_0x45f23f,_0x5e1f02,_0x33ca18,_0xbe7ebc){const _0x4ea319=_0x33f13c,_0x115531=this[_0x4ea319(0x403)](_0x45f23f),{left:_0x1bdd9a,top:_0x148dee,height:_0x166676}=_0x115531,_0x4be716=this[_0x4ea319(0x287)](),_0x2aef61=_0xd83379/_0x4be716,_0x3dd96a=new _0x6d1524[(_0x4ea319(0x378))](_0x59c122+_0x356f55['Tools'][_0x4ea319(0x341)](_0x30d657),{'left':_0x1bdd9a+_0x5e1f02-_0x2aef61,'top':_0x148dee+_0x33ca18,'height':_0x166676,'width':_0x45a333,'fill':_0x3ee0a6||_0x6d1524[_0x4ea319(0x1fe)](_0x356f55[_0x4ea319(0x40b)][_0x4ea319(0x3c6)],0x0),'strokeWidth':_0x2aef61,'stroke':_0x439ca2,'evented':!0x0});this['_anchor']=_0x3dd96a,this['_scene']['addObject'](_0x3dd96a,_0x5dd295[_0x4ea319(0x385)]);const _0x37b66f=new _0x6d1524[(_0x4ea319(0x378))](_0x59c122+_0x356f55[_0x4ea319(0x35e)][_0x4ea319(0x341)](_0x30d657),{'left':_0x1bdd9a+_0x5e1f02-_0x2aef61,'top':_0x148dee+_0x33ca18-_0xb3fff6/0x2,'height':_0xb3fff6,'width':_0xb3fff6,'fill':_0x3ee0a6||_0x6d1524[_0x4ea319(0x1fe)](_0x356f55[_0x4ea319(0x40b)][_0x4ea319(0x3c6)],0x0),'strokeWidth':0x0,'stroke':_0x3ee0a6||_0x6d1524[_0x4ea319(0x1fe)](_0x356f55[_0x4ea319(0x40b)]['black'],0x0),'evented':!0x1});this[_0x4ea319(0x346)]=_0x37b66f,this[_0x4ea319(0x3e8)][_0x4ea319(0x40d)](_0x37b66f,_0x5dd295['TEXT_RANGE_LAYER_INDEX']);const _0x2fc8a1=new _0x2d2158(_0x59c122+_0x356f55[_0x4ea319(0x35e)]['generateRandomId'](_0x30d657),{'left':_0x1bdd9a+_0x5e1f02-_0x2aef61,'top':_0x148dee+_0x33ca18-_0x25c26a,'text':_0xbe7ebc,'color':_0x3ee0a6});this[_0x4ea319(0x3d8)]=_0x2fc8a1,this[_0x4ea319(0x3e8)][_0x4ea319(0x40d)](_0x2fc8a1,_0x5dd295[_0x4ea319(0x385)]),this[_0x4ea319(0x44c)]=!0x1;}[_0x33f13c(0x41e)](){const _0x12674b=_0x33f13c,_0x17df66=this['_anchor']['onPointerEnter$'][_0x12674b(0x3f2)](()=>{this['_hover']=!0x0;}),_0x127006=this[_0x12674b(0x23d)][_0x12674b(0x45f)]['subscribeEvent'](()=>{const _0x2c3662=_0x12674b;this[_0x2c3662(0x283)]&&clearTimeout(this['_hideTimer']),this[_0x2c3662(0x283)]=setTimeout(()=>{const _0x520d36=_0x2c3662;this[_0x520d36(0x44c)]=!0x1;},0x7d0);});return()=>{const _0x21fec1=_0x12674b;_0x17df66[_0x21fec1(0x2aa)](),_0x127006[_0x21fec1(0x2aa)]();};}['_drawTextRange'](_0x27e617,_0x2b52ed,_0x4e2024,_0x3b4a67){const _0x213fd5=_0x33f13c,_0x5579c3=new _0x356f55[(_0x213fd5(0x427))](_0x27e617)[_0x213fd5(0x2fa)](0.2)[_0x213fd5(0x271)](),_0x25cf53=new _0x6d1524[(_0x213fd5(0x2a2))](_0x5ee3d7+_0x356f55[_0x213fd5(0x35e)][_0x213fd5(0x341)](_0x30d657),{'pointsGroup':_0x2b52ed,'fill':_0x5579c3||_0x6d1524[_0x213fd5(0x1fe)](_0x356f55[_0x213fd5(0x40b)][_0x213fd5(0x3c6)],0.2),'left':_0x4e2024,'top':_0x3b4a67,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x213fd5(0x3f5)][_0x213fd5(0x249)](_0x25cf53),this[_0x213fd5(0x3e8)]['addObject'](_0x25cf53,_0x5dd295[_0x213fd5(0x385)]);}[_0x33f13c(0x360)](_0x336c26,_0x29df4c,_0x4040e7,_0x325d53){const _0x378ad8=_0x33f13c,_0x15fb2a=new _0x356f55['ColorKit'](_0x336c26)['setAlpha'](0.2)[_0x378ad8(0x271)](),_0x389a66=new _0x6d1524[(_0x378ad8(0x2a2))](_0x577519+_0x356f55[_0x378ad8(0x35e)][_0x378ad8(0x341)](_0x30d657),{'pointsGroup':_0x29df4c,'fill':_0x15fb2a||_0x6d1524[_0x378ad8(0x1fe)](_0x356f55['COLORS'][_0x378ad8(0x3c6)],0.2),'left':_0x4040e7,'top':_0x325d53,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x378ad8(0x3f5)][_0x378ad8(0x249)](_0x389a66),this[_0x378ad8(0x3e8)][_0x378ad8(0x40d)](_0x389a66,_0x5dd295['TEXT_RANGE_LAYER_INDEX']);}[_0x33f13c(0x403)](_0x42d913){const _0x296eb3=_0x42d913[0x0],_0xea26ca=_0x296eb3[0x0],_0x6fd2a6=_0x296eb3[0x2],{x:_0xa4bb7,y:_0x25fa17}=_0xea26ca,{x:_0x290f33,y:_0x9b8e90}=_0x6fd2a6;return{'left':_0xa4bb7,'top':_0x25fa17,'width':_0x290f33-_0xa4bb7,'height':_0x9b8e90-_0x25fa17};}[_0x33f13c(0x287)](){const _0x4c7e16=_0x33f13c,{scaleX:_0x2d6c63,scaleY:_0x1d99b3}=this[_0x4c7e16(0x3e8)][_0x4c7e16(0x363)]();return Math[_0x4c7e16(0x23e)](_0x2d6c63,_0x1d99b3);}}var _0x1782b6=Object[_0x33f13c(0x1eb)],_0x407b35=(_0x1e038e,_0x2b32bd,_0x2db7f1,_0x5e8a55)=>{const _0x38742f=_0x33f13c;for(var _0x2f9d43=_0x5e8a55>0x1?void 0x0:_0x5e8a55?_0x1782b6(_0x2b32bd,_0x2db7f1):_0x2b32bd,_0x2aec6c=_0x1e038e[_0x38742f(0x1fa)]-0x1,_0x53ab3a;_0x2aec6c>=0x0;_0x2aec6c--)(_0x53ab3a=_0x1e038e[_0x2aec6c])&&(_0x2f9d43=_0x53ab3a(_0x2f9d43)||_0x2f9d43);return _0x2f9d43;},_0x5a6e3f=(_0x297139,_0x1c2d95)=>(_0x217842,_0x37736d)=>_0x1c2d95(_0x217842,_0x37736d,_0x297139);let _0x3f9d4b=class extends _0x356f55['RxDisposable']{constructor(_0x1262f3,_0x4a460b,_0x57c545,_0x26dacb,_0xf1d78c){const _0x509507=_0x33f13c;super(),_0x428fe9(this,_0x509507(0x1e9),[]),_0x428fe9(this,_0x509507(0x32f),[]),(this[_0x509507(0x28a)]=_0x1262f3,this['_docSkeletonManagerService']=_0x4a460b,this['_collabCursorController']=_0x57c545,this['_commandService']=_0x26dacb,this[_0x509507(0x1c1)]=_0xf1d78c,this[_0x509507(0x38e)]());}[_0x33f13c(0x38e)](){const _0x45fb8e=_0x33f13c,_0x1c8326=this['_context'][_0x45fb8e(0x451)],_0x2f8991=this[_0x45fb8e(0x30a)];this[_0x45fb8e(0x3a9)](_0x2c71f6[_0x45fb8e(0x2a3)]([this[_0x45fb8e(0x2ee)][_0x45fb8e(0x2fb)](_0x1c8326),this[_0x45fb8e(0x1c1)]['currentTheme$']])[_0x45fb8e(0x225)](_0x40fd46[_0x45fb8e(0x212)](([_0x11fbb6,_0x2bbe1a])=>({'skeleton':_0x2f8991[_0x45fb8e(0x380)](),'cursors':[..._0x11fbb6[_0x45fb8e(0x32c)]()][_0x45fb8e(0x332)](_0x20d1a4=>({..._0x20d1a4,'color':this[_0x45fb8e(0x1c1)][_0x45fb8e(0x42f)](_0x20d1a4[_0x45fb8e(0x3cb)])}))})))[_0x45fb8e(0x1de)](_0x15eb39=>{const _0x1760bd=_0x45fb8e;if(this[_0x1760bd(0x2d0)](),_0x15eb39){const {skeleton:_0x40d25d,cursors:_0x2d380d}=_0x15eb39;this[_0x1760bd(0x1cd)](_0x40d25d,_0x2d380d);}})),this[_0x45fb8e(0x24d)](),this[_0x45fb8e(0x3be)]();}[_0x33f13c(0x1cd)](_0x211604,_0x3b36de){const _0x3a6649=_0x33f13c,{scene:_0x586199,mainComponent:_0x416de7}=this['_context'],_0xcd4aaf=_0x3b36de['map'](_0x3e7ec8=>new _0x4abd47(_0x3e7ec8,_0x586199,_0x211604,_0x416de7));this[_0x3a6649(0x1e9)]=_0xcd4aaf,this[_0x3a6649(0x32f)]=_0x3b36de;}[_0x33f13c(0x2ae)](){const _0x2e17ba=_0x33f13c;this[_0x2e17ba(0x2d0)]();const {scene:_0x1601c1,mainComponent:_0x570d6c}=this[_0x2e17ba(0x28a)],_0x40674f=this['_docSkeletonManagerService'][_0x2e17ba(0x380)](),_0x49b97e=this[_0x2e17ba(0x32f)][_0x2e17ba(0x212)](_0xe7bcb8=>new _0x4abd47(_0xe7bcb8,_0x1601c1,_0x40674f,_0x570d6c));this[_0x2e17ba(0x1e9)]=_0x49b97e;}['_removeCollabCursors'](){const _0x5b1755=_0x33f13c;this[_0x5b1755(0x1e9)]['forEach'](_0x2f5239=>_0x2f5239[_0x5b1755(0x27a)]()),this[_0x5b1755(0x1e9)]=[];}[_0x33f13c(0x3be)](){const _0x1794a1=_0x33f13c,_0x1c1ee4=[_0x5dd295[_0x1794a1(0x1c5)]['id']];this[_0x1794a1(0x3a9)](this[_0x1794a1(0x1e1)]['onCommandExecuted'](_0x4e5e77=>{const _0x5607d5=_0x1794a1;_0x1c1ee4['includes'](_0x4e5e77['id'])&&_0x4e5e77[_0x5607d5(0x204)][_0x5607d5(0x451)]===this[_0x5607d5(0x28a)]['unitId']&&this[_0x5607d5(0x2ae)]();}));}[_0x33f13c(0x24d)](){const _0x838b7e=_0x33f13c;this[_0x838b7e(0x3a9)](_0x356f55[_0x838b7e(0x440)](this[_0x838b7e(0x28a)][_0x838b7e(0x3d4)][_0x838b7e(0x241)])[_0x838b7e(0x225)](_0x40fd46[_0x838b7e(0x448)](_0xc6f5b8=>_0xc6f5b8[_0x838b7e(0x1c8)]===_0x6d1524['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x838b7e(0x226)]),_0x40fd46[_0x838b7e(0x369)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x3f9d4b=_0x407b35([_0x5a6e3f(0x1,_0x356f55[_0x33f13c(0x245)](_0x13e3d3[_0x33f13c(0x3b5)])),_0x5a6e3f(0x2,_0x356f55[_0x33f13c(0x245)](_0x10d9f8)),_0x5a6e3f(0x3,_0x356f55[_0x33f13c(0x3b6)]),_0x5a6e3f(0x4,_0x356f55[_0x33f13c(0x245)](_0x356f55['ThemeService']))],_0x3f9d4b);const _0x4070a8=0x1,_0x15f51b=1.5;class _0x5ef263 extends _0x6d1524[_0x33f13c(0x1f3)]{constructor(_0x1ee010,_0x696423){const _0x5caad6=_0x33f13c;super(_0x1ee010,_0x696423),_0x428fe9(this,'_color'),_0x428fe9(this,_0x5caad6(0x2ff),!0x1),_0x428fe9(this,_0x5caad6(0x27d)),_0x428fe9(this,_0x5caad6(0x285),''),_0x428fe9(this,_0x5caad6(0x431),_0x5caad6(0x401)),_0x428fe9(this,_0x5caad6(0x23b)),(_0x696423&&this[_0x5caad6(0x358)](_0x696423),this[_0x5caad6(0x25e)][_0x5caad6(0x3f2)](()=>this[_0x5caad6(0x358)]({'hovered':!0x0})),this[_0x5caad6(0x45f)]['subscribeEvent'](()=>this[_0x5caad6(0x358)]({'hovered':!0x1})));}[_0x33f13c(0x358)](_0x5713cc){const _0x183e9d=_0x33f13c;var _0x364efb,_0x54d9c8,_0x21d759,_0x4708d0,_0x168258,_0x7e08ba;this[_0x183e9d(0x22a)]=(_0x364efb=_0x5713cc[_0x183e9d(0x3cb)])!=null?_0x364efb:this[_0x183e9d(0x22a)],this[_0x183e9d(0x2ff)]=(_0x54d9c8=_0x5713cc[_0x183e9d(0x2e6)])!=null?_0x54d9c8:this[_0x183e9d(0x2ff)],this['_range']=(_0x21d759=_0x5713cc[_0x183e9d(0x311)])!=null?_0x21d759:this[_0x183e9d(0x27d)],this[_0x183e9d(0x285)]=(_0x4708d0=_0x5713cc['name'])!=null?_0x4708d0:this[_0x183e9d(0x285)],this[_0x183e9d(0x431)]=(_0x168258=_0x5713cc[_0x183e9d(0x3a7)])!=null?_0x168258:this[_0x183e9d(0x431)],this[_0x183e9d(0x23b)]=(_0x7e08ba=_0x5713cc[_0x183e9d(0x26b)])!=null?_0x7e08ba:this[_0x183e9d(0x23b)],this[_0x183e9d(0x253)]({'width':_0x5713cc[_0x183e9d(0x2db)],'height':_0x5713cc['height']});}[_0x33f13c(0x3cc)](_0x3df48f){const _0x26d74c=_0x33f13c,{row:_0x20df67,column:_0x1524d2}=_0x3df48f;if(_0x20df67>=this[_0x26d74c(0x27d)][_0x26d74c(0x43e)]&&_0x20df67<=this['_range'][_0x26d74c(0x46e)]&&_0x1524d2>=this['_range'][_0x26d74c(0x1cc)]&&_0x1524d2<=this[_0x26d74c(0x27d)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x26d74c(0x358)]({'hovered':!0x1});}[_0x33f13c(0x459)](_0x18bb04){return!0x1;}[_0x33f13c(0x39e)](_0x2754cd){const _0x3f1f78=_0x33f13c;_0x6d1524['Rect'][_0x3f1f78(0x29f)](_0x2754cd,{'width':this[_0x3f1f78(0x2db)],'height':this[_0x3f1f78(0x434)],'strokeWidth':_0x15f51b,'stroke':this[_0x3f1f78(0x22a)],'evented':!0x1,'fill':this[_0x3f1f78(0x23b)]}),this[_0x3f1f78(0x2ff)]&&(_0x2754cd[_0x3f1f78(0x1f8)](),_0x2754cd['transform'](0x1,0x0,0x0,0x1,this[_0x3f1f78(0x2db)],this[_0x3f1f78(0x431)]===_0x3f1f78(0x1c3)?0x0:-0x14),_0x2d2158[_0x3f1f78(0x29f)](_0x2754cd,{'text':this['_name'],'color':this[_0x3f1f78(0x22a)]}),_0x2754cd['restore']());}}var _0x33c546=Object[_0x33f13c(0x1eb)],_0x4f7852=(_0x9bca85,_0x52ed22,_0x56803a,_0x516457)=>{for(var _0x5c835c=_0x516457>0x1?void 0x0:_0x516457?_0x33c546(_0x52ed22,_0x56803a):_0x52ed22,_0x24cf0b=_0x9bca85['length']-0x1,_0x2c5ad3;_0x24cf0b>=0x0;_0x24cf0b--)(_0x2c5ad3=_0x9bca85[_0x24cf0b])&&(_0x5c835c=_0x2c5ad3(_0x5c835c)||_0x5c835c);return _0x5c835c;},_0x30e051=(_0x2a07d8,_0x539184)=>(_0xc721ed,_0x2634b8)=>_0x539184(_0xc721ed,_0x2634b8,_0x2a07d8);const _0x370f1d=0x1389;let _0x2d1d8c=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x3a061c,_0x42dbd7,_0x376bcb,_0x5e75bb){const _0x532c57=_0x33f13c;super(),_0x428fe9(this,_0x532c57(0x32f),new Set()),_0x428fe9(this,_0x532c57(0x1d4),null),(this[_0x532c57(0x28a)]=_0x3a061c,this[_0x532c57(0x2bb)]=_0x42dbd7,this['_collabCursorController']=_0x376bcb,this[_0x532c57(0x1c1)]=_0x5e75bb,this['_init']());}[_0x33f13c(0x38e)](){const _0xfed1a3=_0x33f13c;this[_0xfed1a3(0x2bb)][_0xfed1a3(0x32a)][_0xfed1a3(0x225)](_0x40fd46[_0xfed1a3(0x3fe)](this[_0xfed1a3(0x23a)]),_0x40fd46[_0xfed1a3(0x1c6)](_0x12a087=>{const _0x1f2252=_0xfed1a3;if(_0x12a087){const _0x5e9b82=_0x12a087['sheetId'];return _0x2c71f6[_0x1f2252(0x2a3)](this['_collabCursorController'][_0x1f2252(0x2fb)](this['_context'][_0x1f2252(0x451)]),this[_0x1f2252(0x1c1)]['currentTheme$'])[_0x1f2252(0x225)](_0x40fd46[_0x1f2252(0x212)](([_0x67dd38,_0x3b7537])=>{const _0x3fa2bb=new Map();return _0x67dd38['forEach']((_0x21938a,_0xf033ee)=>{const _0x3a58af=_0x6c71;if(_0x21938a['sheetID']===_0x5e9b82){const _0x1d842f={..._0x21938a};_0x1d842f[_0x3a58af(0x3cb)]=this[_0x3a58af(0x1c1)][_0x3a58af(0x42f)](_0x21938a[_0x3a58af(0x3cb)]),_0x3fa2bb[_0x3a58af(0x3c7)](_0xf033ee,_0x1d842f);}}),{'skeleton':_0x12a087,'cursors':_0x3fa2bb};}));}return _0x2c71f6['of']({'skeleton':null,'cursors':new Map()});}))[_0xfed1a3(0x1de)](({skeleton:_0x3671d4,cursors:_0x54f17f})=>{const _0x4ded0b=_0xfed1a3;this[_0x4ded0b(0x2d0)](),_0x3671d4&&this['_updateCollabCursors'](_0x3671d4,_0x54f17f);}),this['_sheetSkeletonManagerService'][_0xfed1a3(0x32a)]['subscribe'](_0x51b1b9=>{const _0x3a4e22=_0xfed1a3;if(_0x51b1b9==null)return;const {skeleton:_0xfae6b9}=_0x51b1b9,{scene:_0x260148}=this['_context'];_0x260148['onPointerMove$']['subscribeEvent'](_0x356f55[_0x3a4e22(0x28d)](_0x4987d3=>{const _0x219ce4=_0x3a4e22;var _0x2872b2,_0xf83719;const {offsetX:_0x11c136,offsetY:_0x49b8a5}=_0x4987d3,{x:_0x2aad7e,y:_0x40bb61}=_0x260148[_0x219ce4(0x28c)](_0x6d1524['Vector2'][_0x219ce4(0x28b)]([_0x11c136,_0x49b8a5])),{scaleX:_0x4879b5,scaleY:_0x168590}=_0x260148['getAncestorScale'](),_0x2c12ef=_0x260148[_0x219ce4(0x3ed)](_0x6d1524[_0x219ce4(0x292)]['VIEW_MAIN']),_0x4357a1=_0x260148[_0x219ce4(0x32d)](_0x6d1524['Vector2'][_0x219ce4(0x28b)]([_0x2aad7e,_0x40bb61]),_0x2c12ef),_0x4cd01e=_0xfae6b9[_0x219ce4(0x344)](_0x11c136,_0x49b8a5,_0x4879b5,_0x168590,_0x4357a1);((_0x2872b2=this[_0x219ce4(0x1d4)])==null?void 0x0:_0x2872b2[_0x219ce4(0x42a)])===_0x4cd01e[_0x219ce4(0x42a)]&&((_0xf83719=this[_0x219ce4(0x1d4)])==null?void 0x0:_0xf83719[_0x219ce4(0x3ce)])===_0x4cd01e[_0x219ce4(0x3ce)]||this[_0x219ce4(0x32f)][_0x219ce4(0x288)](_0x137d62=>{const _0x2d67fe=_0x219ce4;_0x137d62[_0x2d67fe(0x3cc)](_0x4cd01e);});},0x64));});}[_0x33f13c(0x1cd)](_0xc7641f,_0x19326a){const _0x40bc5e=_0x33f13c;var _0x11e501;const _0x284ac4=(_0x11e501=this[_0x40bc5e(0x2bb)][_0x40bc5e(0x3a6)]())==null?void 0x0:_0x11e501['skeleton'];if(!_0x284ac4)return;const _0x2e57d7=this[_0x40bc5e(0x2c2)]();if(!_0x2e57d7)return;this['_cursors'][_0x40bc5e(0x288)](_0x2321cd=>{const _0x5e117a=_0x40bc5e;_0x2321cd[_0x5e117a(0x349)]();});const {scene:_0x1fce82}=_0x2e57d7,_0xe8a5ea=_0x355ace(Array[_0x40bc5e(0x21c)](_0x19326a[_0x40bc5e(0x32c)]()))[_0x40bc5e(0x212)](_0x2dec42=>{const _0x7f5e5=_0x40bc5e,{color:_0x5b84d5,range:_0x4f26fc,name:_0x354fb5,selection:_0x24193a,sheetID:_0x5d5dac}=_0x2dec42,{startColumn:_0x5c4733,startRow:_0x3067a7,endColumn:_0x484821,endRow:_0x2e85da}=_0x4f26fc,_0x4a484d=_0x1cc7b5['getCoordByCell'](_0x3067a7,_0x5c4733,_0x1fce82,_0x284ac4),_0x137fbc=_0x1cc7b5[_0x7f5e5(0x3d7)](_0x2e85da,_0x484821,_0x1fce82,_0x284ac4),{columnHeaderHeightAndMarginTop:_0x51fc29}=_0x284ac4,{startX:_0x1ce45f,startY:_0x34125d}=_0x4a484d,{endX:_0x2d0f49,endY:_0x43ded2}=_0x137fbc,_0x2b0277=_0x2d0f49-_0x1ce45f,_0xe906a=_0x43ded2-_0x34125d,_0x365e4e={'labelPosition':_0x34125d-_0x51fc29>=_0x25c26a?_0x7f5e5(0x401):_0x7f5e5(0x1c3),'sheetID':_0x5d5dac,'range':_0x4f26fc,'color':_0x5b84d5,'name':_0x354fb5,'selection':_0x24193a,'left':_0x1ce45f,'top':_0x34125d,'width':_0x2b0277,'height':_0xe906a,'evented':!0x1,'zIndex':_0x370f1d};return new _0x5ef263(_0x354fb5,_0x365e4e);});_0x1fce82[_0x40bc5e(0x1c2)](_0xe8a5ea,_0x4070a8),this[_0x40bc5e(0x32f)]=new Set(_0xe8a5ea);}[_0x33f13c(0x2d0)](){const _0x20f7c6=_0x33f13c;var _0x1cdc93;(_0x1cdc93=this[_0x20f7c6(0x32f)])==null||_0x1cdc93[_0x20f7c6(0x288)](_0x5b1fe2=>_0x5b1fe2[_0x20f7c6(0x27a)]());}[_0x33f13c(0x2c2)](){const _0x14ae3a=_0x33f13c;return _0x1cc7b5['getSheetObject'](this['_context'][_0x14ae3a(0x42d)],this['_context']);}};_0x2d1d8c=_0x4f7852([_0x30e051(0x1,_0x356f55['Inject'](_0x1cc7b5[_0x33f13c(0x444)])),_0x30e051(0x2,_0x356f55[_0x33f13c(0x245)](_0x10d9f8)),_0x30e051(0x3,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x374)]))],_0x2d1d8c);function _0x355ace(_0x5d5835){const _0x33e443=_0x33f13c,_0x3ca188=new Map();return _0x5d5835['forEach'](_0x391d26=>{const _0x1574de=_0x6c71;if(_0x3ca188[_0x1574de(0x30f)](_0x391d26[_0x1574de(0x45a)])){const _0x36900d=_0x3ca188['get'](_0x391d26[_0x1574de(0x45a)]);_0x36900d[_0x1574de(0x1e2)]+=',\x20'+_0x391d26[_0x1574de(0x1e2)];}else _0x3ca188['set'](_0x391d26[_0x1574de(0x45a)],_0x391d26);}),Array[_0x33e443(0x21c)](_0x3ca188[_0x33e443(0x32c)]());}var _0x4ba76d=function(){const _0xfdca9=_0x33f13c;return _0x4ba76d=Object[_0xfdca9(0x42e)]||function(_0x60a260){const _0x3a152e=_0xfdca9;for(var _0x53ce89,_0x410223=0x1,_0x1071ab=arguments[_0x3a152e(0x1fa)];_0x410223<_0x1071ab;_0x410223++){_0x53ce89=arguments[_0x410223];for(var _0x47e3c9 in _0x53ce89)Object['prototype'][_0x3a152e(0x2f1)][_0x3a152e(0x208)](_0x53ce89,_0x47e3c9)&&(_0x60a260[_0x47e3c9]=_0x53ce89[_0x47e3c9]);}return _0x60a260;},_0x4ba76d[_0xfdca9(0x2ac)](this,arguments);},_0x2e5aa5=function(_0x17f186,_0x5bd0a2){const _0x1cb7f6=_0x33f13c;var _0x270658={};for(var _0x2bc474 in _0x17f186)Object[_0x1cb7f6(0x1d9)][_0x1cb7f6(0x2f1)][_0x1cb7f6(0x208)](_0x17f186,_0x2bc474)&&_0x5bd0a2['indexOf'](_0x2bc474)<0x0&&(_0x270658[_0x2bc474]=_0x17f186[_0x2bc474]);if(_0x17f186!=null&&typeof Object[_0x1cb7f6(0x1c9)]==_0x1cb7f6(0x35f)){for(var _0xe81465=0x0,_0x2bc474=Object[_0x1cb7f6(0x1c9)](_0x17f186);_0xe81465<_0x2bc474[_0x1cb7f6(0x1fa)];_0xe81465++)_0x5bd0a2[_0x1cb7f6(0x205)](_0x2bc474[_0xe81465])<0x0&&Object[_0x1cb7f6(0x1d9)]['propertyIsEnumerable'][_0x1cb7f6(0x208)](_0x17f186,_0x2bc474[_0xe81465])&&(_0x270658[_0x2bc474[_0xe81465]]=_0x17f186[_0x2bc474[_0xe81465]]);}return _0x270658;},_0x23b0d0=_0x20acc3['forwardRef'](function(_0xfa9789,_0x92fe85){const _0x3d0cfd=_0x33f13c;var _0x5f1d89=_0xfa9789[_0x3d0cfd(0x348)],_0x3aed84=_0xfa9789['id'],_0x5a6839=_0xfa9789[_0x3d0cfd(0x228)],_0x248e46=_0xfa9789['extend'],_0x2c1ba3=_0x2e5aa5(_0xfa9789,[_0x3d0cfd(0x348),'id',_0x3d0cfd(0x228),_0x3d0cfd(0x281)]),_0x13c7aa=_0x3d0cfd(0x247)['concat'](_0x3aed84,'\x20')['concat'](_0x5a6839||'')[_0x3d0cfd(0x351)](),_0xb15b68=_0x20acc3['useRef']('_'[_0x3d0cfd(0x3ef)](_0x191f23()));return _0xbbc8c1(_0x5f1d89,''[_0x3d0cfd(0x3ef)](_0x3aed84),{'defIds':_0x5f1d89[_0x3d0cfd(0x1c7)],'idSuffix':_0xb15b68[_0x3d0cfd(0x350)]},_0x4ba76d({'ref':_0x92fe85,'className':_0x13c7aa},_0x2c1ba3),_0x248e46);});function _0xbbc8c1(_0x4c3c83,_0x1aacc6,_0x3d5022,_0x13742d,_0x5ce385){const _0x50f5b9=_0x33f13c;return _0x20acc3['createElement'](_0x4c3c83[_0x50f5b9(0x240)],_0x4ba76d(_0x4ba76d({'key':_0x1aacc6},_0x456947(_0x4c3c83,_0x3d5022,_0x5ce385)),_0x13742d),(_0x381f12(_0x4c3c83,_0x3d5022)[_0x50f5b9(0x3e2)]||[])['map'](function(_0x11d834,_0x451fa0){const _0x3e5a55=_0x50f5b9;return _0xbbc8c1(_0x11d834,''[_0x3e5a55(0x3ef)](_0x1aacc6,'-')[_0x3e5a55(0x3ef)](_0x4c3c83[_0x3e5a55(0x240)],'-')[_0x3e5a55(0x3ef)](_0x451fa0),_0x3d5022,void 0x0,_0x5ce385);}));}function _0x456947(_0x309c08,_0x4548d2,_0x2db2a7){const _0x5ea06b=_0x33f13c;var _0x3a8236=_0x4ba76d({},_0x309c08[_0x5ea06b(0x318)]);_0x2db2a7!=null&&_0x2db2a7[_0x5ea06b(0x3fb)]&&_0x3a8236['fill']===_0x5ea06b(0x3fb)&&(_0x3a8236['fill']=_0x2db2a7[_0x5ea06b(0x3fb)]),_0x309c08['tag']===_0x5ea06b(0x303)&&_0x3a8236['id']&&(_0x3a8236['id']=_0x3a8236['id']+_0x4548d2[_0x5ea06b(0x359)]),Object[_0x5ea06b(0x424)](_0x3a8236)[_0x5ea06b(0x288)](function(_0x2e1487){const _0x24cbd8=_0x5ea06b;var _0x5f5cef=_0x2e1487[0x0],_0x3397e2=_0x2e1487[0x1];_0x5f5cef===_0x24cbd8(0x303)&&typeof _0x3397e2=='string'&&(_0x3a8236[_0x5f5cef]=_0x3397e2[_0x24cbd8(0x272)](/url\(#(.*)\)/,_0x24cbd8(0x26a)[_0x24cbd8(0x3ef)](_0x4548d2[_0x24cbd8(0x359)],')')));});var _0x867bb=_0x4548d2[_0x5ea06b(0x1c7)];return!_0x867bb||_0x867bb['length']===0x0||(_0x309c08['tag']===_0x5ea06b(0x2fd)&&_0x3a8236[_0x5ea06b(0x1ea)]&&(_0x3a8236['xlink:href']=_0x3a8236['xlink:href']+_0x4548d2[_0x5ea06b(0x359)]),Object['entries'](_0x3a8236)['forEach'](function(_0x24e1eb){const _0x1b2cb1=_0x5ea06b;var _0x36caf4=_0x24e1eb[0x0],_0x5d685f=_0x24e1eb[0x1];typeof _0x5d685f==_0x1b2cb1(0x1cf)&&(_0x3a8236[_0x36caf4]=_0x5d685f['replace'](/url\(#(.*)\)/,_0x1b2cb1(0x26a)[_0x1b2cb1(0x3ef)](_0x4548d2[_0x1b2cb1(0x359)],')')));})),_0x3a8236;}function _0x381f12(_0x388958,_0x1737f6){const _0x47a801=_0x33f13c;var _0x477b7c,_0x2930a4=_0x1737f6[_0x47a801(0x1c7)];return!_0x2930a4||_0x2930a4[_0x47a801(0x1fa)]===0x0?_0x388958:_0x388958[_0x47a801(0x240)]===_0x47a801(0x3e1)&&(!((_0x477b7c=_0x388958[_0x47a801(0x3e2)])===null||_0x477b7c===void 0x0)&&_0x477b7c[_0x47a801(0x1fa)])?_0x4ba76d(_0x4ba76d({},_0x388958),{'children':_0x388958[_0x47a801(0x3e2)]['map'](function(_0x17c86f){const _0x3b8588=_0x47a801;return typeof _0x17c86f[_0x3b8588(0x318)]['id']=='string'&&_0x2930a4&&_0x2930a4['includes'](_0x17c86f[_0x3b8588(0x318)]['id'])?_0x4ba76d(_0x4ba76d({},_0x17c86f),{'attrs':_0x4ba76d(_0x4ba76d({},_0x17c86f['attrs']),{'id':_0x17c86f[_0x3b8588(0x318)]['id']+_0x1737f6[_0x3b8588(0x359)]})}):_0x17c86f;})}):_0x388958;}function _0x191f23(){const _0x19664d=_0x33f13c;return Math[_0x19664d(0x38f)]()[_0x19664d(0x3c4)](0x24)['substring'](0x2,0x8);}_0x23b0d0[_0x33f13c(0x33b)]='UniverIcon';var _0x4dd3fc={'tag':'svg','attrs':{'xmlns':_0x33f13c(0x2b8),'fill':'none','viewBox':_0x33f13c(0x330),'width':_0x33f13c(0x3a1),'height':_0x33f13c(0x3a1)},'children':[{'tag':'g','attrs':{'clipPath':_0x33f13c(0x3a4)},'children':[{'tag':_0x33f13c(0x34b),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x33f13c(0x3b0),'strokeLinejoin':_0x33f13c(0x3b0),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x33f13c(0x413),'attrs':{'id':_0x33f13c(0x315)},'children':[{'tag':_0x33f13c(0x34b),'attrs':{'fill':_0x33f13c(0x2e2),'d':_0x33f13c(0x446)}}]}]}],'defIds':[_0x33f13c(0x315)]},_0x468824=_0x20acc3[_0x33f13c(0x39c)](function(_0x2fba1e,_0x515336){const _0x1fe07a=_0x33f13c;return _0x20acc3[_0x1fe07a(0x3f4)](_0x23b0d0,Object[_0x1fe07a(0x42e)]({},_0x2fba1e,{'id':_0x1fe07a(0x386),'ref':_0x515336,'icon':_0x4dd3fc}));});_0x468824[_0x33f13c(0x33b)]=_0x33f13c(0x41d);var _0x1fb83e={'tag':_0x33f13c(0x2fe),'attrs':{'xmlns':_0x33f13c(0x2b8),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x33f13c(0x3a1),'height':_0x33f13c(0x3a1)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x33f13c(0x227),'strokeLinecap':_0x33f13c(0x3b0),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x33f13c(0x413),'attrs':{'id':_0x33f13c(0x35d)},'children':[{'tag':_0x33f13c(0x34b),'attrs':{'fill':_0x33f13c(0x2e2),'d':'M0\x200H16V16H0z','transform':_0x33f13c(0x2f8)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x1da27e=_0x20acc3[_0x33f13c(0x39c)](function(_0x2037a1,_0x54b5f5){const _0x4a690c=_0x33f13c;return _0x20acc3[_0x4a690c(0x3f4)](_0x23b0d0,Object[_0x4a690c(0x42e)]({},_0x2037a1,{'id':'on-line-icon','ref':_0x54b5f5,'icon':_0x1fb83e}));});_0x1da27e[_0x33f13c(0x33b)]='OnLineIcon';function _0xd3329d(_0x54c031){const _0x327568=_0x33f13c;switch(_0x54c031){case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x437)]:return _0x327568(0x2d9);case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x2f6)]:return _0x327568(0x3b9);case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x308)]:return'collabStatus.fetchMiss';case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x2e5)]:return _0x327568(0x436);case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x39f)]:case _0x42d1b5['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x327568(0x232);case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x1d3)]:case _0x42d1b5[_0x327568(0x3bd)][_0x327568(0x24e)]:return _0x327568(0x20d);}}function _0x2d6994(_0x5782b1){const _0x19af45=_0x33f13c,{status$:_0x567f09}=_0x5782b1,_0x5480fe=_0x25054a[_0x19af45(0x310)](_0x567f09,_0x42d1b5[_0x19af45(0x3bd)][_0x19af45(0x2e5)]),_0x477463=_0x25054a[_0x19af45(0x442)](_0x356f55[_0x19af45(0x2ea)]),_0x3c6c32=_0x25054a[_0x19af45(0x442)](_0x42d1b5[_0x19af45(0x2c0)]),_0x70c3c=_0x5480fe!==_0x42d1b5[_0x19af45(0x3bd)][_0x19af45(0x437)],_0x1615bd=_0x477463['t'](_0xd3329d(_0x5480fe)),_0x393cf7=_0x70c3c?_0xb84d71[_0x19af45(0x44b)](_0x1da27e,{}):_0xb84d71['jsx'](_0x468824,{}),_0x5461ad=_0x20acc3['useCallback'](()=>{const _0x6325c9=_0x19af45;_0x70c3c||_0x3c6c32[_0x6325c9(0x3d0)]();},[_0x70c3c,_0x3c6c32]);function _0x703b94(){const _0x5c081f=_0x19af45;return _0xb84d71[_0x5c081f(0x1c4)](_0x5c081f(0x255),{'className':_0x5c081f(0x3fa),'onClick':_0x5461ad,'children':[_0xb84d71['jsx'](_0x5c081f(0x255),{'className':_0x55c065[_0x5c081f(0x2dc)](_0x5c081f(0x383),{'univer-text-green-500':_0x70c3c,'univer-text-red-500':!_0x70c3c}),'children':_0x393cf7}),_0xb84d71[_0x5c081f(0x44b)](_0x5c081f(0x255),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1615bd})]});}return _0x70c3c?_0x703b94():_0xb84d71[_0x19af45(0x44b)](_0x55c065['Tooltip'],{'title':_0x477463['t'](_0x19af45(0x234)),'children':_0x703b94()});}var _0x17ea4d=Object['getOwnPropertyDescriptor'],_0x57c1da=(_0x14eea4,_0x50e9c8,_0x2bd0e2,_0x599604)=>{for(var _0x3313fa=_0x599604>0x1?void 0x0:_0x599604?_0x17ea4d(_0x50e9c8,_0x2bd0e2):_0x50e9c8,_0x2d1a1f=_0x14eea4['length']-0x1,_0x3bcf12;_0x2d1a1f>=0x0;_0x2d1a1f--)(_0x3bcf12=_0x14eea4[_0x2d1a1f])&&(_0x3313fa=_0x3bcf12(_0x3313fa)||_0x3313fa);return _0x3313fa;},_0x1d42e8=(_0x5985aa,_0x208e58)=>(_0x12ab0d,_0x27e1de)=>_0x208e58(_0x12ab0d,_0x27e1de,_0x5985aa);_0x20de07[_0x33f13c(0x1e6)]=class extends _0x356f55[_0x33f13c(0x2ce)]{constructor(_0x42809b,_0x2cb016,_0x492c67,_0x3ed0a4){const _0x55d6b5=_0x33f13c;super(),_0x428fe9(this,_0x55d6b5(0x2f2),new _0x2c71f6[(_0x55d6b5(0x29c))](_0x42d1b5['CollaborationStatus'][_0x55d6b5(0x2e5)])),(this[_0x55d6b5(0x414)]=_0x42809b,this[_0x55d6b5(0x465)]=_0x2cb016,this[_0x55d6b5(0x1f6)]=_0x492c67,this[_0x55d6b5(0x2ed)]=_0x3ed0a4,this['_initStatusComponent'](),this[_0x55d6b5(0x3ad)]());}[_0x33f13c(0x3ad)](){const _0x81aea=_0x33f13c;this[_0x81aea(0x3a9)](this[_0x81aea(0x414)]['focused$']['pipe'](_0x2c71f6['switchMap'](()=>{const _0x1f2fe0=_0x81aea,_0x2d3cfa=this['_univerInstanceService']['getFocusedUnit']();return _0x2d3cfa?this[_0x1f2fe0(0x1f6)][_0x1f2fe0(0x36c)](_0x2d3cfa['getUnitId']()):_0x2c71f6['of'](null);}),_0x2c71f6['switchMap'](_0xbce735=>_0xbce735?_0xbce735['status$']:_0x2c71f6['of'](_0x42d1b5[_0x81aea(0x3bd)][_0x81aea(0x2e5)])))[_0x81aea(0x1de)](_0x1b755d=>{const _0x5eb3a5=_0x81aea;this[_0x5eb3a5(0x2f2)][_0x5eb3a5(0x2e7)](_0x1b755d);}));}[_0x33f13c(0x393)](){const _0x922ce8=_0x33f13c;this[_0x922ce8(0x3a9)](this['_uiPartsService'][_0x922ce8(0x37a)](_0x25054a[_0x922ce8(0x36d)][_0x922ce8(0x2cc)],()=>_0x25054a['connectInjector'](_0x4873cd({'status$':this[_0x922ce8(0x2f2)][_0x922ce8(0x365)]()}),this[_0x922ce8(0x465)])));}},_0x20de07[_0x33f13c(0x1e6)]=_0x57c1da([_0x1d42e8(0x0,_0x356f55[_0x33f13c(0x1d6)]),_0x1d42e8(0x1,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x1d42e8(0x2,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x3ca)])),_0x1d42e8(0x3,_0x25054a['IUIPartsService'])],_0x20de07[_0x33f13c(0x1e6)]);function _0x4873cd(_0x4805d7){const {status$:_0x6c5a15}=_0x4805d7;return function(){return _0xb84d71['jsx'](_0x2d6994,{'status$':_0x6c5a15});};}var _0x1d60ac=Object['getOwnPropertyDescriptor'],_0x14a29a=(_0x21c13e,_0x2dad0b,_0x50dcfa,_0x4b68c8)=>{const _0x5f0915=_0x33f13c;for(var _0xfacf87=_0x4b68c8>0x1?void 0x0:_0x4b68c8?_0x1d60ac(_0x2dad0b,_0x50dcfa):_0x2dad0b,_0x327b37=_0x21c13e[_0x5f0915(0x1fa)]-0x1,_0x13169a;_0x327b37>=0x0;_0x327b37--)(_0x13169a=_0x21c13e[_0x327b37])&&(_0xfacf87=_0x13169a(_0xfacf87)||_0xfacf87);return _0xfacf87;},_0x4b786c=(_0x1586c2,_0x41f4d1)=>(_0x3b8bf4,_0x4daa0e)=>_0x41f4d1(_0x3b8bf4,_0x4daa0e,_0x1586c2);let _0x21d29c=class extends _0x356f55[_0x33f13c(0x2ce)]{constructor(_0x409cef,_0x1fa838,_0x3062a0,_0x57b665,_0x214514,_0xdf4db7){const _0x521cce=_0x33f13c;super(),this[_0x521cce(0x352)]=_0x409cef,this[_0x521cce(0x2f9)]=_0x1fa838,this[_0x521cce(0x25a)]=_0x3062a0,this[_0x521cce(0x456)]=_0x57b665,this[_0x521cce(0x3b3)]=_0x214514,this[_0x521cce(0x366)]=_0xdf4db7,this[_0x521cce(0x409)](),this[_0x521cce(0x43f)]();}[_0x33f13c(0x409)](){const _0x47ce47=_0x33f13c;this[_0x47ce47(0x3a9)](this[_0x47ce47(0x352)][_0x47ce47(0x368)](()=>{const _0x2e5668=_0x47ce47;if(this['_localCacheService'][_0x2e5668(0x415)][_0x2e5668(0x384)])return this[_0x2e5668(0x366)]['t'](_0x2e5668(0x2bf));}));}[_0x33f13c(0x43f)](){const _0x1d9558=_0x33f13c;this['disposeWithMe'](this[_0x1d9558(0x25a)][_0x1d9558(0x278)][_0x1d9558(0x1de)](_0x5effac=>{const _0x218ad6=_0x1d9558;_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x370)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065['MessageType']['Warning'],'content':this[_0x218ad6(0x366)]['t']('collaboration.single-unit.warning')}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x209)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065['MessageType'][_0x218ad6(0x3df)],'content':this[_0x218ad6(0x366)]['t'](_0x218ad6(0x3f3))}),_0x5effac['id']===_0x42d1b5['CollaborationUIEventId'][_0x218ad6(0x3f6)]&&this[_0x218ad6(0x3b3)][_0x218ad6(0x2c8)]({'title':this[_0x218ad6(0x366)]['t'](_0x218ad6(0x2c3)),'content':this['_localeService']['t'](_0x218ad6(0x2a8)),'type':'error','duration':0x0}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x2f6)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065[_0x218ad6(0x2eb)][_0x218ad6(0x286)],'content':this[_0x218ad6(0x366)]['t']('collaboration.closeRoom')+'('+_0x5effac[_0x218ad6(0x2b4)]+')'}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x40e)]&&this[_0x218ad6(0x456)]['show']({'type':_0x55c065['MessageType'][_0x218ad6(0x3df)],'content':this[_0x218ad6(0x366)]['t'](_0x5effac[_0x218ad6(0x2b4)]||'')}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x455)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065['MessageType']['Warning'],'content':this['_localeService']['t'](_0x218ad6(0x441))}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)][_0x218ad6(0x3e0)]&&this[_0x218ad6(0x456)][_0x218ad6(0x2c8)]({'type':_0x55c065[_0x218ad6(0x2eb)][_0x218ad6(0x286)],'content':this[_0x218ad6(0x366)]['t'](_0x218ad6(0x43a))}),_0x5effac['id']===_0x42d1b5[_0x218ad6(0x405)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService']['show']({'type':_0x55c065[_0x218ad6(0x2eb)][_0x218ad6(0x286)],'content':this[_0x218ad6(0x366)]['t']('session.collaboration-timeout')});}));}};_0x21d29c=_0x14a29a([_0x4b786c(0x0,_0x25054a[_0x33f13c(0x406)]),_0x4b786c(0x1,_0x42d1b5[_0x33f13c(0x410)]),_0x4b786c(0x2,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x1fb)])),_0x4b786c(0x3,_0x25054a[_0x33f13c(0x461)]),_0x4b786c(0x4,_0x25054a[_0x33f13c(0x27f)]),_0x4b786c(0x5,_0x356f55[_0x33f13c(0x245)](_0x356f55['LocaleService']))],_0x21d29c);const _0x439091=_0x33f13c(0x237),_0x208481={},_0x334b7d=_0x356f55[_0x33f13c(0x40a)](_0x33f13c(0x425));var _0x412cc8=Object[_0x33f13c(0x1eb)],_0x1138a1=(_0x20bf81,_0x2ac7b2,_0x36c268,_0x47d180)=>{const _0x355696=_0x33f13c;for(var _0x17caa0=_0x47d180>0x1?void 0x0:_0x47d180?_0x412cc8(_0x2ac7b2,_0x36c268):_0x2ac7b2,_0xcc4a3f=_0x20bf81[_0x355696(0x1fa)]-0x1,_0x212ddc;_0xcc4a3f>=0x0;_0xcc4a3f--)(_0x212ddc=_0x20bf81[_0xcc4a3f])&&(_0x17caa0=_0x212ddc(_0x17caa0)||_0x17caa0);return _0x17caa0;},_0x2ed39a=(_0x3110db,_0x50631c)=>(_0x3c3618,_0x19bb6e)=>_0x50631c(_0x3c3618,_0x19bb6e,_0x3110db);_0x20de07['CollaborationDataLoaderController']=class extends _0x356f55[_0x33f13c(0x381)]{constructor(_0x39bbba,_0x3cc087,_0x40c9ab,_0x1f506a,_0x48d4fc){const _0x3bd369=_0x33f13c;super(),this[_0x3bd369(0x33f)]=_0x39bbba,this[_0x3bd369(0x256)]=_0x3cc087,this[_0x3bd369(0x1e1)]=_0x40c9ab,this['_dataLoaderService']=_0x1f506a,_0x48d4fc?_0x48d4fc==null||_0x48d4fc[_0x3bd369(0x336)]()[_0x3bd369(0x2c6)](()=>this[_0x3bd369(0x38e)]()):(this[_0x3bd369(0x256)][_0x3bd369(0x223)]('[CollaborationDataLoaderController]',_0x3bd369(0x31b)),this[_0x3bd369(0x38e)]());}async[_0x33f13c(0x38e)](){const _0x312eae=_0x33f13c,_0x3af52f=this[_0x312eae(0x33f)][_0x312eae(0x224)](_0x312eae(0x42d)),_0x2698cc=this['_urlService'][_0x312eae(0x224)]('type'),_0x39dbeb=this[_0x312eae(0x33f)][_0x312eae(0x224)](_0x312eae(0x2bd));if(!_0x3af52f||!_0x2698cc){this['_logService']['debug'](_0x312eae(0x354),_0x312eae(0x460));return;}const _0x2b9220=await this[_0x312eae(0x1df)]['loadUnit'](_0x3af52f,Number(_0x2698cc),_0x39dbeb);_0x2b9220&&_0x2b9220 instanceof _0x356f55[_0x312eae(0x1d8)]&&this[_0x312eae(0x201)](_0x2b9220);}async[_0x33f13c(0x201)](_0x21bae7){const _0x266dbf=_0x33f13c;await this[_0x266dbf(0x396)](_0x21bae7),_0x21bae7[_0x266dbf(0x404)]['pipe'](_0x2c71f6[_0x266dbf(0x3fe)](this[_0x266dbf(0x23a)]))[_0x266dbf(0x1de)](_0x36882c=>{const _0x54a249=_0x266dbf;_0x36882c&&this[_0x54a249(0x1fc)](_0x36882c);}),this[_0x266dbf(0x33f)][_0x266dbf(0x2e4)][_0x266dbf(0x225)](_0x2c71f6['takeUntil'](this[_0x266dbf(0x23a)]))[_0x266dbf(0x1de)](()=>this[_0x266dbf(0x396)](_0x21bae7));}[_0x33f13c(0x1fc)](_0x4b43f8,_0x24c526=!0x1){const _0x37fa3e=_0x33f13c,_0x41509a=this[_0x37fa3e(0x33f)][_0x37fa3e(0x224)](_0x37fa3e(0x2bd));_0x4b43f8['getSheetId']()!==_0x41509a&&this[_0x37fa3e(0x33f)][_0x37fa3e(0x3ec)](_0x37fa3e(0x2bd),_0x4b43f8['getSheetId'](),_0x24c526);}async[_0x33f13c(0x396)](_0x12f3fe){const _0x3a5aac=_0x33f13c;var _0x3ddb94;const _0x22e8c4=this[_0x3a5aac(0x33f)][_0x3a5aac(0x224)](_0x3a5aac(0x2bd));if(!_0x22e8c4||!_0x12f3fe['getSheetBySheetId'](_0x22e8c4)){const _0x5cd61d=_0x12f3fe[_0x3a5aac(0x36a)]()[0x0],_0x30010c=_0x12f3fe[_0x3a5aac(0x408)](_0x5cd61d);if(!_0x30010c)return;this[_0x3a5aac(0x1fc)](_0x30010c,!0x0),await this[_0x3a5aac(0x1e1)][_0x3a5aac(0x1f1)](_0xa79b04['SetWorksheetActivateCommand']['id'],{'unitId':_0x12f3fe[_0x3a5aac(0x282)](),'subUnitId':_0x5cd61d});return;}((_0x3ddb94=_0x12f3fe[_0x3a5aac(0x35b)]())==null?void 0x0:_0x3ddb94[_0x3a5aac(0x1da)]())!==_0x22e8c4&&await this[_0x3a5aac(0x1e1)][_0x3a5aac(0x1f1)](_0xa79b04['SetWorksheetActivateCommand']['id'],{'unitId':_0x12f3fe[_0x3a5aac(0x282)](),'subUnitId':_0x22e8c4});}},_0x20de07[_0x33f13c(0x38b)]=_0x1138a1([_0x2ed39a(0x0,_0x334b7d),_0x2ed39a(0x1,_0x356f55[_0x33f13c(0x1e5)]),_0x2ed39a(0x2,_0x356f55[_0x33f13c(0x3b6)]),_0x2ed39a(0x3,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x3a0)])),_0x2ed39a(0x4,_0x356f55[_0x33f13c(0x1d0)](_0x37ae61[_0x33f13c(0x27e)]))],_0x20de07[_0x33f13c(0x38b)]);var _0x517620=Object[_0x33f13c(0x1eb)],_0x5b9f20=(_0x50a6cb,_0x175093,_0x517b54,_0x165085)=>{const _0x4da2e7=_0x33f13c;for(var _0x58d560=_0x165085>0x1?void 0x0:_0x165085?_0x517620(_0x175093,_0x517b54):_0x175093,_0x31d262=_0x50a6cb[_0x4da2e7(0x1fa)]-0x1,_0x13d1c3;_0x31d262>=0x0;_0x31d262--)(_0x13d1c3=_0x50a6cb[_0x31d262])&&(_0x58d560=_0x13d1c3(_0x58d560)||_0x58d560);return _0x58d560;},_0x2ee831=(_0x3927ef,_0x2e4195)=>(_0x584ff6,_0x5b4525)=>_0x2e4195(_0x584ff6,_0x5b4525,_0x3927ef);let _0x41d650=class{constructor(_0x5250fe,_0x12fd3d,_0x3689e9){const _0x542bdb=_0x33f13c;this[_0x542bdb(0x465)]=_0x5250fe,this[_0x542bdb(0x42c)]=_0x12fd3d,this[_0x542bdb(0x39a)]=_0x3689e9;}[_0x33f13c(0x24f)](_0x713319){const _0x503ffc=_0x33f13c;this[_0x503ffc(0x420)](_0x713319),this[_0x503ffc(0x3a3)](_0x713319);}[_0x33f13c(0x22e)](_0x136109){const _0x25fb91=_0x33f13c,{unitID:_0x50ae4d}=_0x136109,_0x42aa53=this[_0x25fb91(0x39a)][_0x25fb91(0x3a2)](_0x50ae4d)[_0x25fb91(0x1cb)](_0x5dd295[_0x25fb91(0x2e3)]),{redoCache:_0xd83ab7}=_0x42aa53[_0x25fb91(0x2df)]();if(_0xd83ab7[_0x25fb91(0x1fa)]===0x0)return _0x136109;let _0x1df904=_0x356f55[_0x25fb91(0x35e)][_0x25fb91(0x257)](_0x136109[_0x25fb91(0x340)][0x0]);for(let _0x23677=0x0;_0x23677<_0xd83ab7['length'];_0x23677++){const _0x10b5d2={'id':'doc.mutation.rich-text-editing','params':{..._0xd83ab7[_0x23677]}},_0x62bcbd=this['_transformService']['transformMutation'](_0x1df904,_0x10b5d2,!0x1);if(_0x1499bf[_0x25fb91(0x2f3)](_0x62bcbd))throw _0x62bcbd[_0x25fb91(0x41b)];_0x1df904=_0x62bcbd[_0x25fb91(0x20e)];}return{..._0x356f55[_0x25fb91(0x35e)]['deepClone'](_0x136109),'mutations':[_0x1df904]};}[_0x33f13c(0x420)](_0x5a77a5){const _0xe0d3d6=_0x33f13c,{unitID:_0x336e8d}=_0x5a77a5,_0x2579a0=this[_0xe0d3d6(0x39a)][_0xe0d3d6(0x3a2)](_0x336e8d)['with'](_0x5dd295[_0xe0d3d6(0x2e3)]),{undoCache:_0x735fde,redoCache:_0x3a3d21}=_0x2579a0['getUndoRedoMutationParamsCache']();if(_0x735fde['length']===0x0||_0x3a3d21[_0xe0d3d6(0x1fa)]===0x0)return;const _0x35aacc=[],_0x25e3c4=[];let _0x385ac5=_0x356f55[_0xe0d3d6(0x35e)][_0xe0d3d6(0x257)](_0x5a77a5[_0xe0d3d6(0x340)][0x0]),_0x4ff58=_0x356f55[_0xe0d3d6(0x35e)][_0xe0d3d6(0x257)](_0x5a77a5[_0xe0d3d6(0x340)][0x0]);for(let _0x11e6e1=_0x735fde[_0xe0d3d6(0x1fa)]-0x1;_0x11e6e1>=0x0;_0x11e6e1--){const _0x1a1209={'id':_0xe0d3d6(0x213),'params':{..._0x735fde[_0x11e6e1]}},_0x121fcf={'id':_0xe0d3d6(0x213),'params':{..._0x3a3d21[_0x11e6e1]}},_0x2c0f2f=this[_0xe0d3d6(0x42c)][_0xe0d3d6(0x2ad)](_0x385ac5,_0x1a1209,!0x1),_0x590d51=this[_0xe0d3d6(0x42c)][_0xe0d3d6(0x2ad)](_0x4ff58,_0x121fcf,!0x1);if(_0x1499bf[_0xe0d3d6(0x2f3)](_0x2c0f2f))throw _0x2c0f2f[_0xe0d3d6(0x41b)];if(_0x1499bf[_0xe0d3d6(0x2f3)](_0x590d51))throw _0x590d51[_0xe0d3d6(0x41b)];_0x35aacc[_0xe0d3d6(0x2cd)](_0x2c0f2f[_0xe0d3d6(0x268)]['params']),_0x25e3c4[_0xe0d3d6(0x2cd)](_0x590d51['m2Prime'][_0xe0d3d6(0x204)]),_0x385ac5=_0x2c0f2f[_0xe0d3d6(0x20e)],_0x4ff58=_0x590d51[_0xe0d3d6(0x20e)];}_0x2579a0[_0xe0d3d6(0x44e)]({'undoCache':_0x35aacc,'redoCache':_0x25e3c4});}[_0x33f13c(0x3a3)](_0x25a854){const _0x200c72=_0x33f13c,{unitID:_0x524580}=_0x25a854,_0x54675c=this[_0x200c72(0x39a)][_0x200c72(0x3a2)](_0x524580)[_0x200c72(0x1cb)](_0x5dd295[_0x200c72(0x2e3)]),_0x419dec=_0x54675c[_0x200c72(0x355)]();if(_0x419dec==null)return;const _0x4ea76b=[{'id':_0x200c72(0x213),'params':{'unitId':_0x25a854[_0x200c72(0x23f)],'actions':null,'textRanges':[_0x419dec]}}],_0x34faae=this[_0x200c72(0x42c)][_0x200c72(0x236)](_0x25a854,_0x4ea76b);if(!_0x1499bf[_0x200c72(0x438)](_0x34faae))throw _0x34faae['error'];const _0x590510=_0x34faae[_0x200c72(0x268)][0x0][_0x200c72(0x204)]['textRanges'];Array[_0x200c72(0x3f8)](_0x590510)&&_0x590510['length']&&_0x54675c[_0x200c72(0x2bc)](_0x590510[0x0]);}};_0x41d650=_0x5b9f20([_0x2ee831(0x0,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x2ee831(0x1,_0x1499bf[_0x33f13c(0x3d1)]),_0x2ee831(0x2,_0x6d1524[_0x33f13c(0x1e8)])],_0x41d650);var _0x40f4d2=Object[_0x33f13c(0x1eb)],_0x16b92f=(_0x16166e,_0x1e411e,_0xca70c9,_0x49312e)=>{const _0x193bbd=_0x33f13c;for(var _0x49ae50=_0x49312e>0x1?void 0x0:_0x49312e?_0x40f4d2(_0x1e411e,_0xca70c9):_0x1e411e,_0x596861=_0x16166e[_0x193bbd(0x1fa)]-0x1,_0x2aa848;_0x596861>=0x0;_0x596861--)(_0x2aa848=_0x16166e[_0x596861])&&(_0x49ae50=_0x2aa848(_0x49ae50)||_0x49ae50);return _0x49ae50;},_0xeabd3f=(_0x4dca3a,_0x8b9ae6)=>(_0x32bd73,_0x25986c)=>_0x8b9ae6(_0x32bd73,_0x25986c,_0x4dca3a);let _0x1de13b=class{constructor(_0x3e6fa2,_0x20fbb9,_0x2be813){const _0x492271=_0x33f13c;this[_0x492271(0x465)]=_0x3e6fa2,this[_0x492271(0x42c)]=_0x20fbb9,this[_0x492271(0x37d)]=_0x2be813;}[_0x33f13c(0x2dd)](_0x195276){const _0x569ae0=_0x33f13c;this[_0x569ae0(0x289)](_0x195276);}[_0x33f13c(0x22e)](_0x22354f){const _0x9feb3f=_0x33f13c,{unitID:_0x346dbb}=_0x22354f,{collaboration:_0x158ed6}=this[_0x9feb3f(0x37d)][_0x9feb3f(0x33e)](_0x346dbb);if(_0x158ed6[_0x9feb3f(0x1fa)]===0x0)return _0x22354f;let _0x1c1413=_0x356f55[_0x9feb3f(0x35e)][_0x9feb3f(0x257)](_0x22354f['mutations'][0x0]);for(let _0x214a3b=0x0;_0x214a3b<_0x158ed6[_0x9feb3f(0x1fa)];_0x214a3b++){const _0x250187={'id':_0x9feb3f(0x213),'params':{'unitId':_0x158ed6[_0x214a3b][_0x9feb3f(0x451)],..._0x158ed6[_0x214a3b]['redoState']}},_0x41f8c6=this[_0x9feb3f(0x42c)][_0x9feb3f(0x2ad)](_0x1c1413,_0x250187,!0x1);if(_0x1499bf['isTransformMutationFailure'](_0x41f8c6))throw _0x41f8c6['error'];_0x1c1413=_0x41f8c6[_0x9feb3f(0x20e)];}return{..._0x356f55[_0x9feb3f(0x35e)][_0x9feb3f(0x257)](_0x22354f),'mutations':[_0x1c1413]};}[_0x33f13c(0x289)](_0x22de0f){const _0xfd314c=_0x33f13c,{unitID:_0x3293f9}=_0x22de0f,{history:_0x21ed65,collaboration:_0x420927}=this[_0xfd314c(0x37d)][_0xfd314c(0x33e)](_0x3293f9);if(_0x21ed65[_0xfd314c(0x1fa)]===0x0&&_0x420927[_0xfd314c(0x1fa)]===0x0)return;const _0x37a7b1=[],_0x155838=[];let _0x4553ab=_0x356f55[_0xfd314c(0x35e)][_0xfd314c(0x257)](_0x22de0f[_0xfd314c(0x340)][0x0]),_0x19338d=_0x356f55['Tools']['deepClone'](_0x22de0f[_0xfd314c(0x340)][0x0]);for(let _0xa01da9=_0x21ed65['length']-0x1;_0xa01da9>=0x0;_0xa01da9--){const _0x4a1829={'id':_0xfd314c(0x213),'params':{'unitId':_0x21ed65[_0xa01da9][_0xfd314c(0x451)],..._0x21ed65[_0xa01da9][_0xfd314c(0x35c)]}},_0x1ad538={'id':_0xfd314c(0x213),'params':{'unitId':_0x21ed65[_0xa01da9][_0xfd314c(0x451)],..._0x21ed65[_0xa01da9][_0xfd314c(0x31f)]}},_0x2b65bc=this[_0xfd314c(0x42c)][_0xfd314c(0x2ad)](_0x4553ab,_0x4a1829,!0x1),_0x584e6a=this[_0xfd314c(0x42c)][_0xfd314c(0x2ad)](_0x19338d,_0x1ad538,!0x1);if(_0x1499bf['isTransformMutationFailure'](_0x2b65bc))throw _0x2b65bc['error'];if(_0x1499bf[_0xfd314c(0x2f3)](_0x584e6a))throw _0x584e6a[_0xfd314c(0x41b)];_0x37a7b1[_0xfd314c(0x2cd)]({..._0x21ed65[_0xa01da9],'undoState':_0x2b65bc[_0xfd314c(0x268)]['params'],'redoState':_0x584e6a[_0xfd314c(0x268)]['params']}),_0x4553ab=_0x2b65bc[_0xfd314c(0x20e)],_0x19338d=_0x584e6a[_0xfd314c(0x20e)];}_0x4553ab=_0x356f55[_0xfd314c(0x35e)]['deepClone'](_0x22de0f[_0xfd314c(0x340)][0x0]),_0x19338d=_0x356f55[_0xfd314c(0x35e)]['deepClone'](_0x22de0f[_0xfd314c(0x340)][0x0]);for(let _0x528d86=_0x420927[_0xfd314c(0x1fa)]-0x1;_0x528d86>=0x0;_0x528d86--){const _0x36de8f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x420927[_0x528d86][_0xfd314c(0x451)],..._0x420927[_0x528d86][_0xfd314c(0x35c)]}},_0x58a336={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x420927[_0x528d86][_0xfd314c(0x451)],..._0x420927[_0x528d86][_0xfd314c(0x31f)]}},_0x334d41=this[_0xfd314c(0x42c)][_0xfd314c(0x2ad)](_0x4553ab,_0x36de8f,!0x1),_0x2458cd=this['_transformService'][_0xfd314c(0x2ad)](_0x19338d,_0x58a336,!0x1);if(_0x1499bf[_0xfd314c(0x2f3)](_0x334d41))throw _0x334d41[_0xfd314c(0x41b)];if(_0x1499bf[_0xfd314c(0x2f3)](_0x2458cd))throw _0x2458cd[_0xfd314c(0x41b)];_0x155838[_0xfd314c(0x2cd)]({..._0x420927[_0x528d86],'undoState':_0x334d41['m2Prime'][_0xfd314c(0x204)],'redoState':_0x2458cd[_0xfd314c(0x268)][_0xfd314c(0x204)]}),_0x4553ab=_0x334d41[_0xfd314c(0x20e)],_0x19338d=_0x2458cd[_0xfd314c(0x20e)];}this[_0xfd314c(0x37d)][_0xfd314c(0x265)](_0x3293f9,{'history':_0x37a7b1,'collaboration':_0x155838});}};_0x1de13b=_0x16b92f([_0xeabd3f(0x0,_0x356f55['Inject'](_0x356f55[_0x33f13c(0x1e3)])),_0xeabd3f(0x1,_0x1499bf[_0x33f13c(0x3d1)]),_0xeabd3f(0x2,_0x356f55['Inject'](_0x5dd295[_0x33f13c(0x210)]))],_0x1de13b);var _0x551ebc=Object['getOwnPropertyDescriptor'],_0x52ece2=(_0x187785,_0x5d7a45,_0x548c7e,_0xebad6)=>{for(var _0x55e30d=_0xebad6>0x1?void 0x0:_0xebad6?_0x551ebc(_0x5d7a45,_0x548c7e):_0x5d7a45,_0x8c795c=_0x187785['length']-0x1,_0x8af539;_0x8c795c>=0x0;_0x8c795c--)(_0x8af539=_0x187785[_0x8c795c])&&(_0x55e30d=_0x8af539(_0x55e30d)||_0x55e30d);return _0x55e30d;},_0x247144=(_0xa81154,_0x5763ad)=>(_0x23bbb6,_0x203944)=>_0x5763ad(_0x23bbb6,_0x203944,_0xa81154);let _0x9f3e8f=class{constructor(_0x1feaae,_0x5b2c99){const _0x512a29=_0x33f13c;this['_injector']=_0x1feaae,this[_0x512a29(0x42c)]=_0x5b2c99;}[_0x33f13c(0x1dd)](_0x56eb84){const _0x14ce6b=_0x33f13c;var _0x5423da;const _0x57f701=this['_injector'][_0x14ce6b(0x3dc)](_0x13e3d3[_0x14ce6b(0x302)]),_0x28625a=(_0x5423da=_0x57f701['getDocRanges']())!=null?_0x5423da:[];if(_0x28625a['length']===0x0)return;const _0x2ddac5=_0x56eb84[_0x14ce6b(0x23f)],_0x15d73b=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2ddac5,'actions':null,'textRanges':_0x28625a}}],_0x48abc4=this[_0x14ce6b(0x42c)][_0x14ce6b(0x236)](_0x56eb84,_0x15d73b);if(!_0x1499bf[_0x14ce6b(0x438)](_0x48abc4))throw _0x48abc4[_0x14ce6b(0x41b)];const _0x411432=_0x48abc4[_0x14ce6b(0x268)][0x0][_0x14ce6b(0x204)]['textRanges'];Array[_0x14ce6b(0x3f8)](_0x411432)&&_0x411432['length']&&_0x57f701['replaceDocRanges'](_0x411432,{'unitId':_0x2ddac5,'subUnitId':_0x2ddac5},!0x1);}};_0x9f3e8f=_0x52ece2([_0x247144(0x0,_0x356f55[_0x33f13c(0x245)](_0x356f55['Injector'])),_0x247144(0x1,_0x1499bf[_0x33f13c(0x3d1)])],_0x9f3e8f);var _0x31635b=Object['getOwnPropertyDescriptor'],_0x4e357c=(_0x34342a,_0x558890,_0x129021,_0x25c201)=>{const _0xf1e8a8=_0x33f13c;for(var _0x4904e6=_0x25c201>0x1?void 0x0:_0x25c201?_0x31635b(_0x558890,_0x129021):_0x558890,_0x1ca4fa=_0x34342a[_0xf1e8a8(0x1fa)]-0x1,_0x4712db;_0x1ca4fa>=0x0;_0x1ca4fa--)(_0x4712db=_0x34342a[_0x1ca4fa])&&(_0x4904e6=_0x4712db(_0x4904e6)||_0x4904e6);return _0x4904e6;},_0x364cff=(_0x39158c,_0x45d423)=>(_0x54dbb8,_0x514e87)=>_0x45d423(_0x54dbb8,_0x514e87,_0x39158c);let _0x4e1a2b=class extends _0x356f55['Disposable']{constructor(_0x368a64,_0x5a878a,_0x23f9d3,_0x39d124,_0x27d803,_0x133feb,_0x16d6e4,_0x2acd3b){const _0x395f42=_0x33f13c;super(),_0x428fe9(this,_0x395f42(0x2f2),new _0x2c71f6[(_0x395f42(0x29c))](_0x42d1b5[_0x395f42(0x3bd)][_0x395f42(0x2e5)])),(this[_0x395f42(0x37d)]=_0x368a64,this['_collaborationController']=_0x5a878a,this[_0x395f42(0x2a1)]=_0x23f9d3,this[_0x395f42(0x31e)]=_0x39d124,this['_docTransformSelectionsService']=_0x27d803,this['_docSyncEditingCollabCursorService']=_0x133feb,this['_messageService']=_0x16d6e4,this[_0x395f42(0x366)]=_0x2acd3b,this[_0x395f42(0x399)]());}[_0x33f13c(0x399)](){const _0x31102c=_0x33f13c;this['disposeWithMe'](this[_0x31102c(0x1f6)][_0x31102c(0x342)][_0x31102c(0x1de)](_0xa148b4=>{const _0x4953d0=_0x31102c,_0x496584=this[_0x4953d0(0x37d)][_0x4953d0(0x1f5)][_0x4953d0(0x1de)](_0x50e4be=>{const _0x2cd6c7=_0x4953d0;if(_0x50e4be==null)return;const {unitId:_0x124365,redoState:_0x5a3615,commandId:_0x5ae8b6}=_0x50e4be;if(_0x124365!==_0xa148b4[_0x2cd6c7(0x23f)])return;const _0x2c61cd={'id':_0x5ae8b6,'type':_0x356f55[_0x2cd6c7(0x30e)][_0x2cd6c7(0x3bc)],'params':{'unitId':_0x124365,'actions':_0x5a3615[_0x2cd6c7(0x3d5)],'textRanges':null}};_0xa148b4[_0x2cd6c7(0x243)](_0x2c61cd);});if(_0xa148b4[_0x4953d0(0x3a9)](_0x496584),_0xa148b4 instanceof _0x42d1b5[_0x4953d0(0x2a5)]){const _0x311c53={'onTransformIME':_0x12599e=>this[_0x4953d0(0x2a1)][_0x4953d0(0x24f)](_0x12599e),'onTransformState':_0x34112=>this['_docTransformStateCacheService'][_0x4953d0(0x2dd)](_0x34112),'onTransformSelections':_0x24d592=>this[_0x4953d0(0x34d)][_0x4953d0(0x1dd)](_0x24d592),'onSyncEditingCollabCursor':_0x35ccdd=>this['_docSyncEditingCollabCursorService'][_0x4953d0(0x2d4)](_0x35ccdd),'onTransformRemoteChangesetByIMECache':_0x1db123=>this[_0x4953d0(0x2a1)][_0x4953d0(0x22e)](_0x1db123),'onTransformRemoteChangesetByStateCache':_0x5eb93b=>this[_0x4953d0(0x31e)]['transformRemoteChangeset'](_0x5eb93b)};_0xa148b4[_0x4953d0(0x395)](_0x311c53);}}));}};_0x4e1a2b=_0x4e357c([_0x364cff(0x0,_0x356f55[_0x33f13c(0x245)](_0x5dd295[_0x33f13c(0x210)])),_0x364cff(0x1,_0x356f55[_0x33f13c(0x245)](_0x42d1b5[_0x33f13c(0x3ca)])),_0x364cff(0x2,_0x356f55[_0x33f13c(0x245)](_0x41d650)),_0x364cff(0x3,_0x356f55['Inject'](_0x1de13b)),_0x364cff(0x4,_0x356f55['Inject'](_0x9f3e8f)),_0x364cff(0x5,_0x356f55['Inject'](_0x3e3de3)),_0x364cff(0x6,_0x25054a[_0x33f13c(0x461)]),_0x364cff(0x7,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x2ea)]))],_0x4e1a2b);var _0x29be91=Object[_0x33f13c(0x1eb)],_0x2e415d=(_0x453821,_0x186fd0,_0x1dd72a,_0x50e28c)=>{const _0x3f334c=_0x33f13c;for(var _0x2e8d32=_0x50e28c>0x1?void 0x0:_0x50e28c?_0x29be91(_0x186fd0,_0x1dd72a):_0x186fd0,_0x4d0d6f=_0x453821[_0x3f334c(0x1fa)]-0x1,_0x112afe;_0x4d0d6f>=0x0;_0x4d0d6f--)(_0x112afe=_0x453821[_0x4d0d6f])&&(_0x2e8d32=_0x112afe(_0x2e8d32)||_0x2e8d32);return _0x2e8d32;},_0x24bead=(_0x2fd0d4,_0x1ef6a2)=>(_0x51107e,_0x8dfe68)=>_0x1ef6a2(_0x51107e,_0x8dfe68,_0x2fd0d4);let _0xd7834b=class extends _0x356f55[_0x33f13c(0x2ce)]{constructor(_0x31f3af,_0x52ea7a,_0x4d83cd){const _0x16f69a=_0x33f13c;super(),_0x428fe9(this,'_cachedData',new Map()),_0x428fe9(this,_0x16f69a(0x22c),new Map()),_0x428fe9(this,_0x16f69a(0x277),!0x1),(this['_configService']=_0x31f3af,this[_0x16f69a(0x246)]=_0x52ea7a,this[_0x16f69a(0x258)]=_0x4d83cd);}[_0x33f13c(0x21d)](){const _0x263f92=_0x33f13c;this[_0x263f92(0x277)]=!0x0;}[_0x33f13c(0x31c)](){const _0x1ea6cd=_0x33f13c;this[_0x1ea6cd(0x277)]=!0x1;}get[_0x33f13c(0x415)](){const _0x17ae09=_0x33f13c;return this[_0x17ae09(0x22c)];}['dispose'](){const _0x173cad=_0x33f13c;this[_0x173cad(0x45b)]()[_0x173cad(0x2c6)](()=>super[_0x173cad(0x27a)]());}async[_0x33f13c(0x41a)](_0x5ef1f1){const _0x41fe5d=_0x33f13c;return this[_0x41fe5d(0x277)]?null:this[_0x41fe5d(0x246)]['getItem'](_0x42d1b5['getLocalCacheKey'](_0x5ef1f1));}async[_0x33f13c(0x1ca)](_0xdf741b,_0x579a93){const _0x1a0f05=_0x33f13c;return!!this[_0x1a0f05(0x246)]['setItem'](_0xdf741b,_0x579a93);}['updateOfflineData'](_0x14f47a,_0x2c9688,_0x399c8a,_0x40c915){const _0x1d1c78=_0x33f13c,_0x120eaf=this['_revisionService'][_0x1d1c78(0x2f0)](_0x14f47a);this[_0x1d1c78(0x449)]['set'](_0x14f47a,{'unitID':_0x14f47a,'type':_0x2c9688,'awaitingChangeset':_0x399c8a,'mutations':_0x40c915,'rev':_0x120eaf}),this[_0x1d1c78(0x22c)][_0x1d1c78(0x30f)](_0x14f47a)||this[_0x1d1c78(0x220)](_0x14f47a);}[_0x33f13c(0x220)](_0x216898){const _0x1cc08c=_0x33f13c,_0x1a5900=this['_getSaveTimeout']();_0x1a5900===0x0?this[_0x1cc08c(0x388)](_0x216898):this[_0x1cc08c(0x22c)][_0x1cc08c(0x3c7)](_0x216898,setTimeout(()=>this['_saveCache'](_0x216898),_0x1a5900));}[_0x33f13c(0x333)](){const _0x14b6e0=_0x33f13c;var _0x14e7ab;return(_0x14e7ab=this[_0x14b6e0(0x231)][_0x14b6e0(0x22d)](_0x42d1b5[_0x14b6e0(0x319)]))!=null?_0x14e7ab:_0x42d1b5[_0x14b6e0(0x3b2)];}[_0x33f13c(0x388)](_0x1b883f){const _0x58d2be=_0x33f13c,_0x3a109c=this[_0x58d2be(0x22c)][_0x58d2be(0x3dc)](_0x1b883f);return _0x3a109c!==void 0x0&&window[_0x58d2be(0x2b2)](_0x3a109c),this['_localStorageService'][_0x58d2be(0x26e)](_0x42d1b5[_0x58d2be(0x31a)](_0x1b883f),this[_0x58d2be(0x449)][_0x58d2be(0x3dc)](_0x1b883f))['then'](()=>this[_0x58d2be(0x22c)][_0x58d2be(0x329)](_0x1b883f));}async[_0x33f13c(0x45b)](){const _0x457dcc=[];this['_saveTaskMap']['forEach']((_0xc0f8a1,_0x590209)=>{const _0x547544=_0x6c71;window[_0x547544(0x2b2)](_0xc0f8a1),_0x457dcc[_0x547544(0x249)](this['_saveCache'](_0x590209)[_0x547544(0x2c6)](()=>{const _0x14e022=_0x547544;this[_0x14e022(0x22c)][_0x14e022(0x329)](_0x590209);}));}),await Promise['all'](_0x457dcc);}};_0xd7834b=_0x2e415d([_0x24bead(0x0,_0x356f55['IConfigService']),_0x24bead(0x1,_0x356f55[_0x33f13c(0x389)]),_0x24bead(0x2,_0x356f55[_0x33f13c(0x245)](_0x1499bf[_0x33f13c(0x3e7)]))],_0xd7834b);class _0x138b7a extends _0x356f55[_0x33f13c(0x381)]{constructor(){const _0x36ccbd=_0x33f13c;super(),_0x428fe9(this,_0x36ccbd(0x2e4)),this[_0x36ccbd(0x2e4)]=_0x2c71f6['fromEvent'](window,_0x36ccbd(0x2ec))['pipe'](_0x2c71f6[_0x36ccbd(0x3fe)](this['dispose$']),_0x2c71f6[_0x36ccbd(0x279)](0x1),_0x2c71f6['mapTo'](void 0x0));}[_0x33f13c(0x3ec)](_0xf05cd4,_0x350614,_0x11e5eb=!0x1){const _0x539434=_0x33f13c,_0x237b2d=new URL(window[_0x539434(0x3da)]['href']);_0x237b2d[_0x539434(0x30d)][_0x539434(0x3c7)](_0xf05cd4,_0x350614),_0x11e5eb?window[_0x539434(0x20c)][_0x539434(0x230)]('','',_0x237b2d[_0x539434(0x3c4)]()):window[_0x539434(0x20c)][_0x539434(0x2ca)]('','',_0x237b2d[_0x539434(0x3c4)]());}['removeParam'](_0x355bf2,_0x323d76=!0x1){const _0x6bd775=_0x33f13c,_0x20ce7c=new URL(window[_0x6bd775(0x3da)][_0x6bd775(0x35a)]);_0x20ce7c[_0x6bd775(0x30d)]['delete'](_0x355bf2),_0x323d76?window[_0x6bd775(0x20c)][_0x6bd775(0x230)]('','',_0x20ce7c['toString']()):window[_0x6bd775(0x20c)][_0x6bd775(0x2ca)]('','',_0x20ce7c[_0x6bd775(0x3c4)]());}['getParam'](_0x237f57){const _0x3e3e12=_0x33f13c;var _0x3dd3f5;return(_0x3dd3f5=new URL(window[_0x3e3e12(0x3da)][_0x3e3e12(0x35a)])[_0x3e3e12(0x30d)][_0x3e3e12(0x3dc)](_0x237f57))!=null?_0x3dd3f5:void 0x0;}}var _0xf316c1=Object[_0x33f13c(0x317)],_0x55d57f=Object[_0x33f13c(0x1eb)],_0x44d997=(_0x5360ce,_0x10f25b,_0x1cabbe)=>_0x10f25b in _0x5360ce?_0xf316c1(_0x5360ce,_0x10f25b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cabbe}):_0x5360ce[_0x10f25b]=_0x1cabbe,_0x2735a2=(_0x378a31,_0x6a4e62,_0x5beb29,_0x37a056)=>{const _0x3e7176=_0x33f13c;for(var _0x44fcde=_0x37a056>0x1?void 0x0:_0x37a056?_0x55d57f(_0x6a4e62,_0x5beb29):_0x6a4e62,_0x3401e4=_0x378a31[_0x3e7176(0x1fa)]-0x1,_0x1e8073;_0x3401e4>=0x0;_0x3401e4--)(_0x1e8073=_0x378a31[_0x3401e4])&&(_0x44fcde=_0x1e8073(_0x44fcde)||_0x44fcde);return _0x44fcde;},_0x258c51=(_0x35d23f,_0x1f9cf6)=>(_0xc40dcc,_0x14e9b2)=>_0x1f9cf6(_0xc40dcc,_0x14e9b2,_0x35d23f),_0x39b0b3=(_0x2f6149,_0x55bfe2,_0x4f93a9)=>_0x44d997(_0x2f6149,_0x55bfe2+'',_0x4f93a9);const _0x4f5f78=_0x33f13c(0x1f9);_0x20de07[_0x33f13c(0x40f)]=class extends _0x356f55[_0x33f13c(0x334)]{constructor(_0x16519a=_0x208481,_0x350f3d,_0x4a4902,_0x16fe76){const _0x35376a=_0x33f13c;super(),this[_0x35376a(0x21e)]=_0x16519a,this[_0x35376a(0x39a)]=_0x350f3d,this[_0x35376a(0x465)]=_0x4a4902,this[_0x35376a(0x231)]=_0x16fe76;const {..._0x51c841}=_0x356f55[_0x35376a(0x304)]({},_0x208481,this[_0x35376a(0x21e)]);this[_0x35376a(0x231)][_0x35376a(0x23c)](_0x439091,_0x51c841);}[_0x33f13c(0x217)](){const _0x4e6d8c=_0x33f13c;this[_0x4e6d8c(0x372)](),this[_0x4e6d8c(0x44a)]();}['onRendered'](){const _0x336148=_0x33f13c;this[_0x336148(0x264)]();}[_0x33f13c(0x372)](){const _0x1b616f=_0x33f13c;var _0x3ad7ac;const _0x476c1b=[[_0x833117],[_0x9f3e8f],[_0x41d650],[_0x1de13b],[_0x3e3de3],[_0x334b7d,{'useClass':_0x138b7a}],[_0x40dcae[_0x1b616f(0x3c0)],{'useClass':_0x40dcae['WebSocketService']}],[_0x42d1b5[_0x1b616f(0x410)],{'useClass':_0xd7834b}],[_0x20de07[_0x1b616f(0x1e6)]],[_0x4e1a2b],[_0x21d29c],[_0x10d9f8],[_0x3d0acb],[_0x20de07[_0x1b616f(0x38b)]]];_0x356f55[_0x1b616f(0x300)](this[_0x1b616f(0x465)],_0x356f55[_0x1b616f(0x28e)](_0x476c1b,(_0x3ad7ac=this[_0x1b616f(0x21e)])==null?void 0x0:_0x3ad7ac[_0x1b616f(0x338)]));}[_0x33f13c(0x264)](){const _0x5bd07d=_0x33f13c;this[_0x5bd07d(0x3a9)](this[_0x5bd07d(0x39a)]['registerRenderModule'](_0x356f55[_0x5bd07d(0x2d2)]['UNIVER_DOC'],[_0x3f9d4b])),this['disposeWithMe'](this[_0x5bd07d(0x39a)][_0x5bd07d(0x46d)](_0x356f55[_0x5bd07d(0x2d2)][_0x5bd07d(0x463)],[_0x2d1d8c]));}[_0x33f13c(0x44a)](){const _0x3b2e18=_0x33f13c;_0x356f55[_0x3b2e18(0x2c9)](this[_0x3b2e18(0x465)],[[_0x10d9f8],[_0x20de07[_0x3b2e18(0x1e6)]],[_0x4e1a2b],[_0x21d29c],[_0x20de07[_0x3b2e18(0x38b)]]]);}},_0x39b0b3(_0x20de07[_0x33f13c(0x40f)],_0x33f13c(0x2c4),_0x4f5f78),_0x20de07[_0x33f13c(0x40f)]=_0x2735a2([_0x356f55['DependentOn'](_0x42d1b5['UniverCollaborationClientPlugin']),_0x258c51(0x1,_0x6d1524['IRenderManagerService']),_0x258c51(0x2,_0x356f55['Inject'](_0x356f55[_0x33f13c(0x1e3)])),_0x258c51(0x3,_0x356f55[_0x33f13c(0x2a4)])],_0x20de07[_0x33f13c(0x40f)]);var _0x59636f=Object[_0x33f13c(0x1eb)],_0x408a83=(_0x5a6ffa,_0x3275a8,_0x398c43,_0x43854e)=>{const _0x55ec1a=_0x33f13c;for(var _0x4e12c8=_0x43854e>0x1?void 0x0:_0x43854e?_0x59636f(_0x3275a8,_0x398c43):_0x3275a8,_0x4ceff8=_0x5a6ffa[_0x55ec1a(0x1fa)]-0x1,_0x29cab7;_0x4ceff8>=0x0;_0x4ceff8--)(_0x29cab7=_0x5a6ffa[_0x4ceff8])&&(_0x4e12c8=_0x29cab7(_0x4e12c8)||_0x4e12c8);return _0x4e12c8;},_0x2cd95d=(_0x12eb15,_0x7d8615)=>(_0x5d4e58,_0x3bc82b)=>_0x7d8615(_0x5d4e58,_0x3bc82b,_0x12eb15);_0x20de07[_0x33f13c(0x3de)]=class extends _0x42d1b5['CollaborationSocketService']{constructor(_0x34726a,_0x588b24,_0x39ede6,_0x214ed8,_0x34942f){super(_0x34726a,_0x588b24,_0x39ede6,_0x214ed8,_0x34942f);}async[_0x33f13c(0x314)](_0x61fe2d){const _0x255d5b=_0x33f13c,_0x34d289=await this[_0x255d5b(0x377)](),_0x50a868=this['_createSocketURL'](_0x61fe2d,_0x34d289);return this[_0x255d5b(0x3ee)](_0x50a868);}[_0x33f13c(0x339)](_0x29070b,_0x35b533){const _0x37d381=_0x33f13c,_0x534358=typeof window>'u'?new URL(_0x29070b):new URL(_0x29070b,window[_0x37d381(0x3da)][_0x37d381(0x2b3)]);_0x534358[_0x37d381(0x30d)][_0x37d381(0x3c7)](_0x37d381(0x1dc),_0x35b533);const _0x273c07=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x37d381(0x3da)][_0x37d381(0x1d5)]);return _0x273c07['get'](_0x37d381(0x416))&&_0x534358[_0x37d381(0x30d)][_0x37d381(0x3c7)](_0x37d381(0x416),_0x273c07['get'](_0x37d381(0x416))),_0x534358[_0x37d381(0x3c4)]();}async[_0x33f13c(0x377)](){const _0x604ae2=_0x33f13c;var _0x193f5c,_0x310f0f,_0xab811;const _0x1a40f4=this[_0x604ae2(0x231)][_0x604ae2(0x22d)](_0x42d1b5[_0x604ae2(0x24b)]),_0x543707=(_0x193f5c=_0x1a40f4==null?void 0x0:_0x1a40f4['wsSessionTicketUrl'])!=null?_0x193f5c:_0x42d1b5[_0x604ae2(0x375)];return(_0xab811=(_0x310f0f=(await this[_0x604ae2(0x32b)][_0x604ae2(0x3dc)](_0x543707,{'headers':{'Content-Type':_0x604ae2(0x305)}}))[_0x604ae2(0x45c)])==null?void 0x0:_0x310f0f[_0x604ae2(0x345)])!=null?_0xab811:'';}},_0x20de07[_0x33f13c(0x3de)]=_0x408a83([_0x2cd95d(0x0,_0x356f55[_0x33f13c(0x245)](_0x356f55[_0x33f13c(0x1e3)])),_0x2cd95d(0x1,_0x356f55['Inject'](_0x40dcae['HTTPService'])),_0x2cd95d(0x2,_0x356f55['IConfigService']),_0x2cd95d(0x3,_0x356f55[_0x33f13c(0x1e5)]),_0x2cd95d(0x4,_0x1499bf[_0x33f13c(0x367)])],_0x20de07[_0x33f13c(0x3de)]);const _0x41470d=0x7530,_0xc197b3=_0x33f13c(0x371);class _0xb75610 extends _0x356f55[_0x33f13c(0x2ce)]{constructor(){const _0x3993de=_0x33f13c;super(),_0x428fe9(this,_0x3993de(0x3d3),_0x356f55[_0x3993de(0x341)]()),_0x428fe9(this,_0x3993de(0x3e4),new Set()),_0x428fe9(this,_0x3993de(0x3db),new Map()),_0x428fe9(this,_0x3993de(0x362),null),_0x428fe9(this,_0x3993de(0x469),new Map()),_0x428fe9(this,_0x3993de(0x296),new Map()),this[_0x3993de(0x38e)]();}[_0x33f13c(0x27a)](){const _0x1e0ea5=_0x33f13c;super[_0x1e0ea5(0x27a)](),this[_0x1e0ea5(0x469)][_0x1e0ea5(0x288)]((_0x364902,_0x4baf94)=>this[_0x1e0ea5(0x229)](_0x4baf94)),this['_heartbeatTimer']&&window[_0x1e0ea5(0x36e)](this[_0x1e0ea5(0x362)]);}[_0x33f13c(0x28f)](_0x590c67){const _0x40c233=_0x33f13c;return this[_0x40c233(0x20b)](_0x590c67)['pipe'](_0x2c71f6['distinctUntilChanged']());}['editingUnit'](_0x919f47){const _0x5d0007=_0x33f13c;this[_0x5d0007(0x3e4)]['size']===0x0&&this[_0x5d0007(0x34f)](),this['_selfUnitIDs']['add'](_0x919f47),this[_0x5d0007(0x468)]({'type':0x0,'memberID':this[_0x5d0007(0x3d3)],'unitIDs':[_0x919f47],'isForwarded':!0x1});}[_0x33f13c(0x46b)](_0x5642e3){const _0x4a9a9b=_0x33f13c;this['_selfUnitIDs'][_0x4a9a9b(0x329)](_0x5642e3),this[_0x4a9a9b(0x3e4)][_0x4a9a9b(0x384)]===0x0&&this['_heartbeatTimer']&&window[_0x4a9a9b(0x36e)](this[_0x4a9a9b(0x362)]);}[_0x33f13c(0x38e)](){const _0x37b0e9=_0x33f13c;this[_0x37b0e9(0x3a9)](_0x356f55['toDisposable'](_0x2c71f6[_0x37b0e9(0x207)](window,'storage')['subscribe'](_0x4dd289=>{const _0x38cdc4=_0x37b0e9;if(_0x4dd289[_0x38cdc4(0x2be)]!==_0xc197b3||!_0x4dd289[_0x38cdc4(0x2b7)])return;const _0x2e6702=JSON[_0x38cdc4(0x3e3)](_0x4dd289[_0x38cdc4(0x2b7)]);this[_0x38cdc4(0x3d9)](_0x2e6702);}))),window[_0x37b0e9(0x239)]('unload',()=>this[_0x37b0e9(0x468)]({'type':0x1,'memberID':this[_0x37b0e9(0x3d3)],'unitIDs':Array[_0x37b0e9(0x21c)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x46eef3){const _0x451738=_0x33f13c;switch(_0x46eef3[_0x451738(0x1c8)]){case 0x0:this[_0x451738(0x42b)](_0x46eef3);break;case 0x1:this[_0x451738(0x266)](_0x46eef3);break;case 0x2:this['_handleHeartbeatEvent'](_0x46eef3);break;}}['_handleJoinEvent'](_0x2b362b){const _0xdb2200=_0x33f13c,{unitIDs:_0x2e3df8,memberID:_0x1c3df3,isForwarded:_0x7f3b14}=_0x2b362b;_0x2e3df8[_0xdb2200(0x288)](_0x1032b1=>{const _0x5c8a31=_0xdb2200;if(!_0x7f3b14&&this[_0x5c8a31(0x3db)][_0x5c8a31(0x30f)](_0x1032b1)&&this[_0x5c8a31(0x20b)](_0x1032b1)[_0x5c8a31(0x2e7)](_0x42d1b5[_0x5c8a31(0x452)][_0x5c8a31(0x3f9)]),!this[_0x5c8a31(0x3db)][_0x5c8a31(0x30f)](_0x1032b1)||!this[_0x5c8a31(0x3db)]['get'](_0x1032b1)[_0x5c8a31(0x30f)](_0x1c3df3)){const _0x35fdf8=this[_0x5c8a31(0x3db)][_0x5c8a31(0x3dc)](_0x1032b1)||new Set();_0x35fdf8['add'](_0x1c3df3),this[_0x5c8a31(0x3db)][_0x5c8a31(0x3c7)](_0x1032b1,_0x35fdf8),this[_0x5c8a31(0x20a)](_0x1c3df3);}}),_0x7f3b14||this[_0xdb2200(0x468)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xdb2200(0x3e4)]],'isForwarded':!0x0});}[_0x33f13c(0x20a)](_0xc90f89){const _0x2734ec=_0x33f13c;this[_0x2734ec(0x229)](_0xc90f89);const _0x27e432=window[_0x2734ec(0x2a9)](()=>{const _0x1ce267=_0x2734ec;this[_0x1ce267(0x3db)]['forEach'](_0x356fe0=>{const _0x4221bc=_0x1ce267;_0x356fe0[_0x4221bc(0x329)](_0xc90f89);});},_0x41470d*0x2);this[_0x2734ec(0x469)]['set'](_0xc90f89,_0x27e432);}[_0x33f13c(0x229)](_0x2547d6){const _0x636f1b=_0x33f13c;if(this['_clearOtherTimers']['has'](_0x2547d6)){const _0x4af4c2=this[_0x636f1b(0x469)]['get'](_0x2547d6);_0x4af4c2&&window[_0x636f1b(0x2b2)](_0x4af4c2),this['_clearOtherTimers'][_0x636f1b(0x3c7)](_0x2547d6,null);}}[_0x33f13c(0x266)](_0x38746){const _0x5eb57d=_0x33f13c,{memberID:_0x2dd209,unitIDs:_0x926e54}=_0x38746;_0x926e54[_0x5eb57d(0x288)](_0x2a76b4=>{const _0x54b17e=_0x5eb57d;var _0x197f0a;const _0x34f5a3=this[_0x54b17e(0x3db)][_0x54b17e(0x3dc)](_0x2a76b4);_0x34f5a3&&(_0x34f5a3['delete'](_0x2dd209),(_0x197f0a=this[_0x54b17e(0x20b)](_0x2a76b4))==null||_0x197f0a[_0x54b17e(0x2e7)](_0x34f5a3[_0x54b17e(0x384)]===0x0?_0x42d1b5[_0x54b17e(0x452)][_0x54b17e(0x373)]:_0x42d1b5[_0x54b17e(0x452)][_0x54b17e(0x3f9)]));}),this[_0x5eb57d(0x229)](_0x2dd209);}[_0x33f13c(0x37c)](_0x3bcc0e){const _0x8d8350=_0x33f13c;this['_scheduleClearOtherTimer'](_0x3bcc0e[_0x8d8350(0x2c1)]);}[_0x33f13c(0x468)](_0x3d8ac2){const _0x1e540b=_0x33f13c;localStorage[_0x1e540b(0x26e)](_0xc197b3,JSON[_0x1e540b(0x3cf)](_0x3d8ac2));}[_0x33f13c(0x34f)](){const _0x36f66a=_0x33f13c;this[_0x36f66a(0x362)]=window[_0x36f66a(0x45d)](()=>{const _0x3966d4=_0x36f66a;this[_0x3966d4(0x468)]({'type':0x2,'memberID':this[_0x3966d4(0x3d3)]});},_0x41470d);}[_0x33f13c(0x20b)](_0x4112d5){const _0x148d2f=_0x33f13c;return this[_0x148d2f(0x296)]['has'](_0x4112d5)||this[_0x148d2f(0x296)][_0x148d2f(0x3c7)](_0x4112d5,new _0x2c71f6[(_0x148d2f(0x29c))](_0x42d1b5[_0x148d2f(0x452)][_0x148d2f(0x373)])),this['_unitStatus'][_0x148d2f(0x3dc)](_0x4112d5);}}var _0xac5781=(_0x4f41d1=>(_0x4f41d1[_0x4f41d1[_0x33f13c(0x335)]=0x0]=_0x33f13c(0x335),_0x4f41d1[_0x4f41d1['OK']=0x1]='OK',_0x4f41d1[_0x4f41d1[_0x33f13c(0x291)]=0x2]=_0x33f13c(0x291),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3f6)]=0x3]=_0x33f13c(0x3f6),_0x4f41d1[_0x4f41d1[_0x33f13c(0x36b)]=0x4]=_0x33f13c(0x36b),_0x4f41d1[_0x4f41d1['UNAUTHENTICATED']=0x5]=_0x33f13c(0x320),_0x4f41d1[_0x4f41d1[_0x33f13c(0x29d)]=0x6]=_0x33f13c(0x29d),_0x4f41d1[_0x4f41d1['INVALID_ARGUMENT']=0x7]=_0x33f13c(0x34e),_0x4f41d1[_0x4f41d1[_0x33f13c(0x2a6)]=0x8]=_0x33f13c(0x2a6),_0x4f41d1[_0x4f41d1[_0x33f13c(0x46c)]=0x9]=_0x33f13c(0x46c),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1ef)]=0xa]=_0x33f13c(0x1ef),_0x4f41d1[_0x4f41d1[_0x33f13c(0x357)]=0xb]=_0x33f13c(0x357),_0x4f41d1[_0x4f41d1[_0x33f13c(0x45e)]=0xc]=_0x33f13c(0x45e),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3af)]=0xd]=_0x33f13c(0x3af),_0x4f41d1[_0x4f41d1[_0x33f13c(0x26f)]=0xe]=_0x33f13c(0x26f),_0x4f41d1[_0x4f41d1[_0x33f13c(0x466)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4f41d1[_0x4f41d1[_0x33f13c(0x447)]=0x1771]=_0x33f13c(0x447),_0x4f41d1[_0x4f41d1[_0x33f13c(0x382)]=0x1772]=_0x33f13c(0x382),_0x4f41d1[_0x4f41d1[_0x33f13c(0x356)]=0x1773]=_0x33f13c(0x356),_0x4f41d1[_0x4f41d1[_0x33f13c(0x40c)]=0x1b59]=_0x33f13c(0x40c),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3ae)]=0x1b5a]=_0x33f13c(0x3ae),_0x4f41d1[_0x4f41d1[_0x33f13c(0x206)]=0x1b5b]=_0x33f13c(0x206),_0x4f41d1[_0x4f41d1[_0x33f13c(0x29a)]=0x1b5c]=_0x33f13c(0x29a),_0x4f41d1[_0x4f41d1['APPLY_DUPLICATED']=0x1b5d]=_0x33f13c(0x2b0),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1ff)]=0x1f41]=_0x33f13c(0x1ff),_0x4f41d1[_0x4f41d1['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x33f13c(0x397),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1ee)]=0x232a]=_0x33f13c(0x1ee),_0x4f41d1[_0x4f41d1[_0x33f13c(0x46a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4f41d1[_0x4f41d1[_0x33f13c(0x435)]=0x232c]=_0x33f13c(0x435),_0x4f41d1[_0x4f41d1[_0x33f13c(0x423)]=0x232d]=_0x33f13c(0x423),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1d2)]=0x2711]=_0x33f13c(0x1d2),_0x4f41d1[_0x4f41d1[_0x33f13c(0x26d)]=0x2712]=_0x33f13c(0x26d),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3e6)]=0x2713]=_0x33f13c(0x3e6),_0x4f41d1[_0x4f41d1[_0x33f13c(0x41f)]=0x2714]=_0x33f13c(0x41f),_0x4f41d1[_0x4f41d1['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x33f13c(0x328),_0x4f41d1[_0x4f41d1['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x33f13c(0x2d6),_0x4f41d1[_0x4f41d1['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x33f13c(0x3b1),_0x4f41d1[_0x4f41d1[_0x33f13c(0x297)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4f41d1[_0x4f41d1[_0x33f13c(0x418)]=0x271e]=_0x33f13c(0x418),_0x4f41d1[_0x4f41d1[_0x33f13c(0x25f)]=0x271f]=_0x33f13c(0x25f),_0x4f41d1[_0x4f41d1[_0x33f13c(0x211)]=0x2720]=_0x33f13c(0x211),_0x4f41d1[_0x4f41d1['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x33f13c(0x254),_0x4f41d1[_0x4f41d1[_0x33f13c(0x37e)]=0x2ee1]=_0x33f13c(0x37e),_0x4f41d1[_0x4f41d1[_0x33f13c(0x41c)]=0x2ee2]=_0x33f13c(0x41c),_0x4f41d1[_0x4f41d1[_0x33f13c(0x2e1)]=0x2ee3]=_0x33f13c(0x2e1),_0x4f41d1[_0x4f41d1['USER_NOT_INVITED_CODE']=0x2ee4]=_0x33f13c(0x313),_0x4f41d1[_0x4f41d1[_0x33f13c(0x1fd)]=0x2ee5]=_0x33f13c(0x1fd),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3bb)]=0x32c9]=_0x33f13c(0x3bb),_0x4f41d1[_0x4f41d1[_0x33f13c(0x3fc)]=0x32ca]=_0x33f13c(0x3fc),_0x4f41d1[_0x4f41d1['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4f41d1[_0x4f41d1[_0x33f13c(0x1ec)]=-0x1]=_0x33f13c(0x1ec),_0x4f41d1))(_0xac5781||{}),_0x34069d=Object['getOwnPropertyDescriptor'],_0x38e796=(_0x50369e,_0x10d44b,_0xb28dda,_0x1a822a)=>{const _0x54a64b=_0x33f13c;for(var _0x402f94=_0x1a822a>0x1?void 0x0:_0x1a822a?_0x34069d(_0x10d44b,_0xb28dda):_0x10d44b,_0x33110e=_0x50369e[_0x54a64b(0x1fa)]-0x1,_0x215fcc;_0x33110e>=0x0;_0x33110e--)(_0x215fcc=_0x50369e[_0x33110e])&&(_0x402f94=_0x215fcc(_0x402f94)||_0x402f94);return _0x402f94;},_0x2036fc=(_0x57e459,_0x178363)=>(_0xe7ac94,_0x359d98)=>_0x178363(_0xe7ac94,_0x359d98,_0x57e459);_0x20de07[_0x33f13c(0x33d)]=class extends _0x356f55[_0x33f13c(0x2ce)]{constructor(_0x441b3a,_0x1b756b,_0x59694e){const _0x4c773d=_0x33f13c;super(),this[_0x4c773d(0x400)]=_0x441b3a,this[_0x4c773d(0x32b)]=_0x1b756b,this[_0x4c773d(0x231)]=_0x59694e;}async[_0x33f13c(0x306)](_0xebb927,_0x6a5728,_0x23e9c5,..._0x5b96e2){const _0xa0df40=_0x33f13c;var _0x1f7e4a,_0x5db1d1,_0x4f6141,_0x598c83;const _0x43c604=this[_0xa0df40(0x400)][_0xa0df40(0x27b)]();if(!_0x43c604)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x787ea8=((_0x1f7e4a=this[_0xa0df40(0x231)][_0xa0df40(0x22d)](_0x42d1b5[_0xa0df40(0x44d)]))!=null?_0x1f7e4a:_0x42d1b5[_0xa0df40(0x262)])+'/'+_0xebb927+_0xa0df40(0x1ce)+_0x6a5728,_0x48a86a=new URL(window[_0xa0df40(0x3da)][_0xa0df40(0x35a)]),_0x317c50={'scriptId':_0xebb927,'runId':(_0x5db1d1=_0x48a86a[_0xa0df40(0x30d)][_0xa0df40(0x3dc)](_0xa0df40(0x416)))!=null?_0x5db1d1:'','function':_0x6a5728,'unitId':_0x43c604[_0xa0df40(0x282)](),'argsOfFunction':JSON['stringify'](_0x5b96e2),'invokeId':(_0x4f6141=_0x23e9c5['invokeId'])!=null?_0x4f6141:'','executionId':(_0x598c83=_0x23e9c5[_0xa0df40(0x453)])!=null?_0x598c83:''};try{const _0x14fd22=await this['_httpService']['post'](_0x787ea8,{'body':_0x317c50});return _0x14fd22[_0xa0df40(0x45c)]['error']&&_0x14fd22[_0xa0df40(0x45c)][_0xa0df40(0x41b)][_0xa0df40(0x263)]!==_0xac5781['OK']?'Failed':_0x14fd22[_0xa0df40(0x45c)][_0xa0df40(0x43c)];}catch{return _0xa0df40(0x3ac);}}},_0x20de07[_0x33f13c(0x33d)]=_0x38e796([_0x2036fc(0x0,_0x356f55[_0x33f13c(0x1d6)]),_0x2036fc(0x1,_0x356f55['Inject'](_0x40dcae[_0x33f13c(0x2a0)])),_0x2036fc(0x2,_0x356f55['IConfigService'])],_0x20de07[_0x33f13c(0x33d)]),_0x20de07[_0x33f13c(0x412)]=_0x2d6994,_0x20de07[_0x33f13c(0x43d)]=_0x334b7d,_0x20de07[_0x33f13c(0x24a)]=_0x5ef263,_0x20de07['WebBrowserSingleActiveUnitService']=_0xb75610,_0x20de07['WebURLService']=_0x138b7a,Object[_0x33f13c(0x317)](_0x20de07,Symbol[_0x33f13c(0x200)],{'value':'Module'});}));
|
|
1
|
+
(function(_0x22d504,_0x12264a){const _0x569ea2=_0x57d8,_0x16c31f=_0x22d504();while(!![]){try{const _0x4ef8b8=parseInt(_0x569ea2(0x229))/0x1+parseInt(_0x569ea2(0x3c7))/0x2*(-parseInt(_0x569ea2(0x2ad))/0x3)+-parseInt(_0x569ea2(0x278))/0x4*(-parseInt(_0x569ea2(0x3ee))/0x5)+parseInt(_0x569ea2(0x1f4))/0x6+parseInt(_0x569ea2(0x364))/0x7*(-parseInt(_0x569ea2(0x311))/0x8)+-parseInt(_0x569ea2(0x413))/0x9*(-parseInt(_0x569ea2(0x39f))/0xa)+parseInt(_0x569ea2(0x3cd))/0xb*(-parseInt(_0x569ea2(0x30f))/0xc);if(_0x4ef8b8===_0x12264a)break;else _0x16c31f['push'](_0x16c31f['shift']());}catch(_0x49d6f3){_0x16c31f['push'](_0x16c31f['shift']());}}}(_0x275b,0x26649),function(_0x5a5a29,_0x1df954){const _0x425b43=_0x57d8;typeof exports=='object'&&typeof module<'u'?_0x1df954(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x425b43(0x1e5)&&define['amd']?define([_0x425b43(0x371),_0x425b43(0x23d),'@univerjs/core',_0x425b43(0x438),'@univerjs/network','@univerjs/docs-ui',_0x425b43(0x409),_0x425b43(0x445),'@univerjs-pro/collaboration',_0x425b43(0x3b7),_0x425b43(0x3d9),_0x425b43(0x3aa),'rxjs/operators',_0x425b43(0x248),'react/jsx-runtime','@univerjs/ui',_0x425b43(0x3c6),_0x425b43(0x44e),'@univerjs/rpc'],_0x1df954):(_0x5a5a29=typeof globalThis<'u'?globalThis:_0x5a5a29||self,_0x1df954(_0x5a5a29['UniverProCollaborationClientUi']={},_0x5a5a29[_0x425b43(0x238)],_0x5a5a29['UniverCore'],_0x5a5a29[_0x425b43(0x223)],_0x5a5a29[_0x425b43(0x2bd)],_0x5a5a29[_0x425b43(0x283)],_0x5a5a29[_0x425b43(0x1c9)],_0x5a5a29[_0x425b43(0x445)],_0x5a5a29[_0x425b43(0x1be)],_0x5a5a29[_0x425b43(0x276)],_0x5a5a29['UniverEngineFormula'],_0x5a5a29[_0x425b43(0x36e)],_0x5a5a29[_0x425b43(0x445)][_0x425b43(0x376)],_0x5a5a29[_0x425b43(0x233)],_0x5a5a29[_0x425b43(0x434)],_0x5a5a29[_0x425b43(0x3a3)],_0x5a5a29[_0x425b43(0x3b8)],_0x5a5a29[_0x425b43(0x434)],_0x5a5a29[_0x425b43(0x1c7)]));}(this,function(_0x1fcb7c,_0xbd5b69,_0x4f68b5,_0x18a418,_0xf95921,_0x5ab0ee,_0x49dd25,_0xddf3a0,_0x51374a,_0x3c2c13,_0x6e0028,_0x396f37,_0x26ab1c,_0x3355d5,_0x5dca86,_0x30746c,_0x479bf2,_0x2e1d69,_0x1314cb){'use strict';const _0x1db088=_0x57d8;var _0x1726fa=Object[_0x1db088(0x30d)],_0xb8c35f=(_0x15c48b,_0x58f7ce,_0x2abbf6)=>_0x58f7ce in _0x15c48b?_0x1726fa(_0x15c48b,_0x58f7ce,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2abbf6}):_0x15c48b[_0x58f7ce]=_0x2abbf6,_0x50d51d=(_0x9185e7,_0xc9a8bd,_0x4df207)=>_0xb8c35f(_0x9185e7,typeof _0xc9a8bd!=_0x1db088(0x34d)?_0xc9a8bd+'':_0xc9a8bd,_0x4df207),_0x4b3317=Object[_0x1db088(0x3ac)],_0x222163=(_0x16e917,_0x5d8924,_0x11f7cd,_0x30264c)=>{const _0x4ab43e=_0x1db088;for(var _0x2efb32=_0x30264c>0x1?void 0x0:_0x30264c?_0x4b3317(_0x5d8924,_0x11f7cd):_0x5d8924,_0x3195b6=_0x16e917[_0x4ab43e(0x301)]-0x1,_0x14f1f6;_0x3195b6>=0x0;_0x3195b6--)(_0x14f1f6=_0x16e917[_0x3195b6])&&(_0x2efb32=_0x14f1f6(_0x2efb32)||_0x2efb32);return _0x2efb32;},_0x33a2e7=(_0x56f27d,_0x399e12)=>(_0x285766,_0x2fb7c2)=>_0x399e12(_0x285766,_0x2fb7c2,_0x56f27d);let _0x355c93=class extends _0x4f68b5[_0x1db088(0x386)]{constructor(_0x253584,_0x5889fe){const _0x1e17e4=_0x1db088;super(),this[_0x1e17e4(0x448)]=_0x253584,this[_0x1e17e4(0x316)]=_0x5889fe,this[_0x1e17e4(0x450)]();}[_0x1db088(0x450)](){const _0x5874fd=_0x1db088,_0xf1adeb=this;this['disposeWithMe'](this['_docClipboardService'][_0x5874fd(0x1e8)]({'onBeforePasteImage':async _0x4988ac=>{const _0x1a5d91=_0x5874fd,_0xee299c=await _0xf1adeb[_0x1a5d91(0x316)][_0x1a5d91(0x302)](_0x4988ac);return _0xee299c?{'source':_0xee299c['source'],'imageSourceType':_0xee299c[_0x1a5d91(0x240)]}:null;}}));}};_0x355c93=_0x222163([_0x33a2e7(0x0,_0x5ab0ee[_0x1db088(0x23c)]),_0x33a2e7(0x1,_0x49dd25[_0x1db088(0x2fe)])],_0x355c93);const _0x1b6fba=[_0x1db088(0x27f),'jiqing.500','green.600',_0x1db088(0x416),'blue.400',_0x1db088(0x214)];class _0x551d66 extends _0x4f68b5[_0x1db088(0x3e3)]{constructor(){super(...arguments),_0x50d51d(this,'_assignedColors',new Map()),_0x50d51d(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x46510a){const _0x41caba=_0x1db088;if(this[_0x41caba(0x24e)]['has'](_0x46510a))return this[_0x41caba(0x24e)][_0x41caba(0x38a)](_0x46510a);const _0x6ae546=_0x1b6fba[this[_0x41caba(0x2ba)]];return this[_0x41caba(0x2ba)]=(this['_colorIndex']+0x1)%_0x1b6fba['length'],this[_0x41caba(0x24e)][_0x41caba(0x3f6)](_0x46510a,_0x6ae546),_0x6ae546;}}function _0x251b4b(_0x573c36){let _0x1e17f6='';for(const _0x192df0 of _0x573c36){const {startOffset:_0x2c958d,endOffset:_0x5c15ff,isActive:_0x50451d,rangeType:_0x375b77,segmentId:_0x246664,segmentPage:_0x367e7f}=_0x192df0;_0x1e17f6['length']&&(_0x1e17f6+=','),_0x1e17f6+=_0x2c958d+':'+_0x5c15ff+':'+(_0x50451d?'1':'0')+':'+_0x375b77+':'+_0x246664+':'+_0x367e7f;}return _0x1e17f6;}function _0x292889(_0x554bc3){const _0x52c9ca=_0x1db088,_0x5d844e=_0x554bc3[_0x52c9ca(0x206)](','),_0x1d01ba=[];for(const _0x22a713 of _0x5d844e){const [_0x1327af,_0x3f7dc4,_0x37c022,_0x39dfc5,_0x31734c,_0xbd9dd3]=_0x22a713['split'](':');_0x1d01ba[_0x52c9ca(0x2c5)]({'startOffset':Number(_0x1327af),'endOffset':Number(_0x3f7dc4),'collapsed':_0x1327af===_0x3f7dc4,'isActive':_0x37c022==='1','rangeType':_0x39dfc5===_0x4f68b5['DOC_RANGE_TYPE']['TEXT']?_0x4f68b5['DOC_RANGE_TYPE'][_0x52c9ca(0x2c1)]:_0x4f68b5[_0x52c9ca(0x388)][_0x52c9ca(0x3fe)],'segmentId':typeof _0x31734c==_0x52c9ca(0x308)?String(_0x31734c):'','segmentPage':Number(_0xbd9dd3!=null?_0xbd9dd3:-0x1)});}return _0x1d01ba[_0x52c9ca(0x249)](_0x4f4847=>_0x4f4847[_0x52c9ca(0x21c)])||(_0x1d01ba[0x0][_0x52c9ca(0x21c)]=!0x0),_0x1d01ba;}class _0x361087 extends _0x4f68b5[_0x1db088(0x386)]{constructor(){const _0x37ef3d=_0x1db088;super(...arguments),_0x50d51d(this,_0x37ef3d(0x427),new _0xddf3a0['BehaviorSubject'](null)),_0x50d51d(this,_0x37ef3d(0x348),this[_0x37ef3d(0x427)]['asObservable']());}[_0x1db088(0x2b4)](_0x421f64){const _0x51d3ab=_0x1db088,{unitID:_0x3a0d6f,memberID:_0x36252f,textRanges:_0x38fec8}=_0x421f64,_0x1f43c9=_0x251b4b(_0x38fec8);if(_0x1f43c9==='')return;const _0x48e5f3={'unitID':_0x3a0d6f,'memberID':_0x36252f,'selection':_0x1f43c9};this[_0x51d3ab(0x427)][_0x51d3ab(0x431)](_0x48e5f3);}}var _0x2783a2=Object['getOwnPropertyDescriptor'],_0x52fa33=(_0x44dd0b,_0x236c54,_0x57cab9,_0x221f46)=>{const _0x4ffe74=_0x1db088;for(var _0x1ba439=_0x221f46>0x1?void 0x0:_0x221f46?_0x2783a2(_0x236c54,_0x57cab9):_0x236c54,_0x5043cf=_0x44dd0b[_0x4ffe74(0x301)]-0x1,_0x200d37;_0x5043cf>=0x0;_0x5043cf--)(_0x200d37=_0x44dd0b[_0x5043cf])&&(_0x1ba439=_0x200d37(_0x1ba439)||_0x1ba439);return _0x1ba439;},_0x4740fb=(_0x3ba694,_0x1a80e1)=>(_0x322d5d,_0x409a46)=>_0x1a80e1(_0x322d5d,_0x409a46,_0x3ba694);const _0x189f9e=0x12c,_0x407aaf=0x64;let _0x36abfd=class extends _0x4f68b5[_0x1db088(0x386)]{constructor(_0x59e7d5,_0x2876b5,_0x104ae8,_0x1ac33d,_0x53f1f0,_0x1eee52,_0x1c7622,_0x3f4cec,_0x3f5df1){const _0x170156=_0x1db088;super(),_0x50d51d(this,_0x170156(0x332),!0x1),_0x50d51d(this,_0x170156(0x450),!0x1),_0x50d51d(this,_0x170156(0x3af),new _0xddf3a0['BehaviorSubject'](new Map())),_0x50d51d(this,_0x170156(0x2cb),this[_0x170156(0x3af)][_0x170156(0x412)]()),_0x50d51d(this,_0x170156(0x286),new _0xddf3a0[(_0x170156(0x279))]([])),_0x50d51d(this,_0x170156(0x280),this[_0x170156(0x286)]['pipe'](_0xddf3a0['debounceTime'](_0x189f9e))),_0x50d51d(this,_0x170156(0x1db),_0x4f68b5[_0x170156(0x41e)](_0x3b5ef0=>{const _0x5f430a=_0x170156,_0x301683={'eventID':_0x51374a[_0x5f430a(0x360)][_0x5f430a(0x1cd)],'data':{'unitID':this[_0x5f430a(0x34c)],'memberID':this[_0x5f430a(0x37c)][_0x5f430a(0x2ca)](),'selection':_0x251b4b(_0x3b5ef0)}};this[_0x5f430a(0x37c)][_0x5f430a(0x2bb)](_0x301683,this[_0x5f430a(0x34c)]);},_0x407aaf)),(this[_0x170156(0x34c)]=_0x59e7d5,this['_session']=_0x2876b5,this[_0x170156(0x3bd)]=_0x104ae8,this[_0x170156(0x3b6)]=_0x1ac33d,this[_0x170156(0x28b)]=_0x53f1f0,this[_0x170156(0x323)]=_0x1eee52,this[_0x170156(0x1d4)]=_0x1c7622,this[_0x170156(0x42f)]=_0x3f4cec,this[_0x170156(0x2e5)]=_0x3f5df1);}get[_0x1db088(0x24a)](){const _0x1783e4=_0x1db088;return this[_0x1783e4(0x3af)][_0x1783e4(0x38e)]();}get['roomMembers'](){const _0x33212f=_0x1db088;return this[_0x33212f(0x286)][_0x33212f(0x38e)]();}[_0x1db088(0x29c)](){const _0x4e2d5f=_0x1db088;super[_0x4e2d5f(0x29c)](),this[_0x4e2d5f(0x3af)][_0x4e2d5f(0x431)](new Map()),this[_0x4e2d5f(0x3af)][_0x4e2d5f(0x2e7)](),this[_0x4e2d5f(0x286)][_0x4e2d5f(0x431)]([]),this['_roomMembers$'][_0x4e2d5f(0x2e7)]();}[_0x1db088(0x239)](){const _0x28c416=_0x1db088;this[_0x28c416(0x450)]||(this[_0x28c416(0x450)]=!0x0,this[_0x28c416(0x37c)][_0x28c416(0x351)]['pipe'](_0xddf3a0[_0x28c416(0x447)](this[_0x28c416(0x1d3)]))[_0x28c416(0x333)](_0x5cf1ac=>{const _0x46a74a=_0x28c416;_0x5cf1ac===_0xbd5b69[_0x46a74a(0x2bc)][_0x46a74a(0x393)]?this[_0x46a74a(0x3a7)]():this[_0x46a74a(0x353)]();}),this[_0x28c416(0x37c)][_0x28c416(0x30c)][_0x28c416(0x405)](_0xddf3a0['takeUntil'](this[_0x28c416(0x1d3)]))['subscribe'](_0x5ab731=>{const _0xba35c=_0x28c416,_0x9e14dc=_0x5ab731[_0xba35c(0x200)];_0x9e14dc===_0x51374a[_0xba35c(0x360)][_0xba35c(0x1cd)]&&this[_0xba35c(0x455)](_0x5ab731),_0x9e14dc===_0x51374a[_0xba35c(0x360)][_0xba35c(0x27e)]&&this['_onCursorDelete'](_0x5ab731);}),this[_0x28c416(0x26f)](this['_commandService'][_0x28c416(0x2ab)](_0x4fa98a=>{const _0xeaaff9=_0x28c416,_0x26bbb5=_0x4fa98a[_0xeaaff9(0x2eb)];_0x26bbb5!=null&&this[_0xeaaff9(0x332)]&&_0x4fa98a['id']===_0x3c2c13[_0xeaaff9(0x35f)]['id']&&_0x26bbb5['unitId']===this[_0xeaaff9(0x34c)]&&_0x26bbb5[_0xeaaff9(0x2e4)]===!0x1&&_0x26bbb5[_0xeaaff9(0x452)][_0xeaaff9(0x301)]>0x0&&this[_0xeaaff9(0x1db)](_0x26bbb5[_0xeaaff9(0x452)]);})),this[_0x28c416(0x323)][_0x28c416(0x348)][_0x28c416(0x405)](_0xddf3a0[_0x28c416(0x447)](this['dispose$']))[_0x28c416(0x333)](_0x8806d4=>{const _0x3340de=_0x28c416;if((_0x8806d4==null?void 0x0:_0x8806d4[_0x3340de(0x34c)])!==this['unitID'])return;const _0x43dc52={'eventID':_0x51374a['CollaborationEvent'][_0x3340de(0x1cd)],'data':_0x8806d4};this[_0x3340de(0x455)](_0x43dc52);}),this[_0x28c416(0x26f)](this['_commandService'][_0x28c416(0x2ab)](_0x1d1949=>{const _0x38ff97=_0x28c416;if(_0x1d1949[_0x38ff97(0x2eb)]==null)return;const _0x102e22=_0x1d1949[_0x38ff97(0x2eb)];if(_0x1d1949['id']!==_0x3c2c13[_0x38ff97(0x3b1)]['id']||_0x102e22['unitId']!==this[_0x38ff97(0x34c)])return;const _0x49493c={'id':_0x38ff97(0x336),'params':_0x102e22},_0x2e5a10=this['cursorInfo'];for(const [_0x407eda,_0x507e2f]of _0x2e5a10){const _0x4af7fa={'id':_0x38ff97(0x336),'params':{'unitId':this[_0x38ff97(0x34c)],'actions':null,'textRanges':_0x507e2f[_0x38ff97(0x452)]}},_0x5240b4=this[_0x38ff97(0x1d4)][_0x38ff97(0x35a)](_0x49493c,_0x4af7fa,!0x1);if(_0x51374a['isTransformMutationFailure'](_0x5240b4))throw _0x5240b4[_0x38ff97(0x317)];_0x2e5a10[_0x38ff97(0x3f6)](_0x407eda,{..._0x507e2f,'ranges':_0x5240b4['m2Prime']['params'][_0x38ff97(0x254)]});}queueMicrotask(()=>{const _0xefb67a=_0x38ff97;this[_0xefb67a(0x3af)][_0xefb67a(0x431)](_0x2e5a10);});})));}[_0x1db088(0x455)](_0x3f5e49){const _0x426c9a=_0x1db088;var _0x5d7e86,_0x2e0b5b;const {memberID:_0x3b4b53,selection:_0x490058}=_0x3f5e49[_0x426c9a(0x330)],_0x2be567=_0x292889(_0x490058),_0x2f8221=(_0x2e0b5b=(_0x5d7e86=this['_memberService'][_0x426c9a(0x284)](this[_0x426c9a(0x34c)],_0x3b4b53))==null?void 0x0:_0x5d7e86[_0x426c9a(0x2d4)])!=null?_0x2e0b5b:'Unknown\x20user',_0x45db1f={'color':this[_0x426c9a(0x3b6)][_0x426c9a(0x375)](_0x3b4b53),'name':_0x2f8221,'ranges':_0x2be567},_0x3d4d4f=this[_0x426c9a(0x24a)];_0x3d4d4f['set'](_0x3b4b53,_0x45db1f),this[_0x426c9a(0x3af)][_0x426c9a(0x431)](_0x3d4d4f);}['_onCursorDelete'](_0xe4a2f6){const _0x51ab9a=_0x1db088,{memberID:_0x4d5ba6}=_0xe4a2f6[_0x51ab9a(0x330)],_0x4e63c1=this[_0x51ab9a(0x24a)];_0x4e63c1[_0x51ab9a(0x22d)](_0x4d5ba6),this[_0x51ab9a(0x3af)][_0x51ab9a(0x431)](_0x4e63c1);}[_0x1db088(0x3a7)](){const _0x2d9d73=_0x1db088;var _0x5d335b;if(this[_0x2d9d73(0x332)]=!0x0,((_0x5d335b=this['_univerInstanceService'][_0x2d9d73(0x39a)]())==null?void 0x0:_0x5d335b['getUnitId']())!==this[_0x2d9d73(0x34c)])return;const _0x57300b=this[_0x2d9d73(0x3bd)]['get'](_0x3c2c13[_0x2d9d73(0x215)])[_0x2d9d73(0x3dc)]();Array[_0x2d9d73(0x222)](_0x57300b)&&_0x57300b['length']>0x0&&this['_updateLocalCursor'](_0x57300b);}[_0x1db088(0x353)](){const _0x3be05c=_0x1db088;this[_0x3be05c(0x332)]=!0x1;}};_0x36abfd=_0x52fa33([_0x4740fb(0x2,_0x4f68b5['Inject'](_0x4f68b5[_0x1db088(0x22e)])),_0x4740fb(0x3,_0x4f68b5['Inject'](_0x551d66)),_0x4740fb(0x4,_0x4f68b5[_0x1db088(0x40b)](_0xbd5b69[_0x1db088(0x3e8)])),_0x4740fb(0x5,_0x4f68b5[_0x1db088(0x40b)](_0x361087)),_0x4740fb(0x6,_0x51374a['ITransformService']),_0x4740fb(0x7,_0x4f68b5['IUniverInstanceService']),_0x4740fb(0x8,_0x4f68b5['ICommandService'])],_0x36abfd);var _0x57c9b6=Object[_0x1db088(0x3ac)],_0x4be49c=(_0x1875ff,_0x595e84,_0x37fc74,_0x425ba7)=>{const _0x2170c6=_0x1db088;for(var _0x5163a7=_0x425ba7>0x1?void 0x0:_0x425ba7?_0x57c9b6(_0x595e84,_0x37fc74):_0x595e84,_0xb8d6e3=_0x1875ff[_0x2170c6(0x301)]-0x1,_0x35f76f;_0xb8d6e3>=0x0;_0xb8d6e3--)(_0x35f76f=_0x1875ff[_0xb8d6e3])&&(_0x5163a7=_0x35f76f(_0x5163a7)||_0x5163a7);return _0x5163a7;},_0x5705c9=(_0x477887,_0x2bf355)=>(_0x3d87ab,_0x2f9b3f)=>_0x2bf355(_0x3d87ab,_0x2f9b3f,_0x477887);const _0x1c5559=0x12c,_0x591080=0x64,_0xc259cd=()=>{let _0x19919d=[],_0x2165a1=!0x1;return _0x50f356=>{const _0x769f0c=_0x57d8;_0x19919d[_0x769f0c(0x2c5)](_0x50f356),_0x2165a1||(_0x2165a1=!0x0,setTimeout(()=>{const _0x472a25=_0x769f0c;_0x19919d[_0x472a25(0x2c6)](_0x861937=>_0x861937()),_0x19919d=[],_0x2165a1=!0x1;}));};};let _0xd3f195=class extends _0x4f68b5[_0x1db088(0x386)]{constructor(_0x240491,_0x370e24,_0x15c546,_0x1643b3,_0x349dfb,_0x3e83ae,_0x59331d,_0x14239e){const _0x3c3d3e=_0x1db088;super(),_0x50d51d(this,_0x3c3d3e(0x332),!0x1),_0x50d51d(this,'_init',!0x1),_0x50d51d(this,_0x3c3d3e(0x3af),new _0xddf3a0[(_0x3c3d3e(0x279))](new Map())),_0x50d51d(this,_0x3c3d3e(0x2cb),this['_cursorInfo$'][_0x3c3d3e(0x412)]()),_0x50d51d(this,_0x3c3d3e(0x286),new _0xddf3a0[(_0x3c3d3e(0x279))]([])),_0x50d51d(this,_0x3c3d3e(0x280),this['_roomMembers$'][_0x3c3d3e(0x405)](_0xddf3a0[_0x3c3d3e(0x2db)](_0x1c5559))),_0x50d51d(this,_0x3c3d3e(0x1db),_0x4f68b5[_0x3c3d3e(0x41e)]((_0x37f696,_0x9798ff)=>{const _0x192964=_0x3c3d3e,_0x13b9eb={'eventID':_0x51374a['CollaborationEvent'][_0x192964(0x1cd)],'data':{'unitID':this[_0x192964(0x34c)],'memberID':this[_0x192964(0x37c)][_0x192964(0x2ca)](),'selection':_0x6e0028[_0x192964(0x43b)](_0x37f696,_0x9798ff['range'])}};this['_session'][_0x192964(0x2bb)](_0x13b9eb,this[_0x192964(0x34c)]);},_0x591080)),(this[_0x3c3d3e(0x34c)]=_0x240491,this['_session']=_0x370e24,this[_0x3c3d3e(0x3bd)]=_0x15c546,this[_0x3c3d3e(0x3b6)]=_0x1643b3,this[_0x3c3d3e(0x28b)]=_0x349dfb,this[_0x3c3d3e(0x42f)]=_0x3e83ae,this[_0x3c3d3e(0x2e5)]=_0x59331d,this[_0x3c3d3e(0x22b)]=_0x14239e);}get[_0x1db088(0x24a)](){const _0x98a6af=_0x1db088;return this[_0x98a6af(0x3af)]['getValue']();}get['roomMembers'](){const _0x3a6fa9=_0x1db088;return this[_0x3a6fa9(0x286)][_0x3a6fa9(0x38e)]();}[_0x1db088(0x29c)](){const _0x4b2cd8=_0x1db088;super['dispose'](),this[_0x4b2cd8(0x3af)]['next'](new Map()),this['_cursorInfo$'][_0x4b2cd8(0x2e7)](),this[_0x4b2cd8(0x286)][_0x4b2cd8(0x431)]([]),this[_0x4b2cd8(0x286)][_0x4b2cd8(0x2e7)]();}[_0x1db088(0x239)](){const _0x43957c=_0x1db088;this['_init']||(this[_0x43957c(0x450)]=!0x0,this[_0x43957c(0x37c)][_0x43957c(0x351)][_0x43957c(0x405)](_0xddf3a0['takeUntil'](this['dispose$']))['subscribe'](_0x5ac087=>{const _0xf797fb=_0x43957c;_0x5ac087===_0xbd5b69[_0xf797fb(0x2bc)][_0xf797fb(0x393)]?this['_toggleOnline']():this[_0xf797fb(0x353)]();}),this['_session']['event$']['pipe'](_0xddf3a0['takeUntil'](this[_0x43957c(0x1d3)]))[_0x43957c(0x333)](_0x593f31=>{const _0x2c338e=_0x43957c,_0x4ce18e=_0x593f31[_0x2c338e(0x200)];_0x4ce18e===_0x51374a['CollaborationEvent'][_0x2c338e(0x1cd)]&&this[_0x2c338e(0x455)](_0x593f31),_0x4ce18e===_0x51374a[_0x2c338e(0x360)]['USERS_LEAVE']&&this[_0x2c338e(0x446)](_0x593f31);}),this['_onRefRangeChange'](),this[_0x43957c(0x26f)](this[_0x43957c(0x2e5)][_0x43957c(0x2ab)](_0x1674b2=>{const _0x20b59a=_0x43957c;if(this[_0x20b59a(0x332)]&&_0x1674b2['id']===_0x396f37[_0x20b59a(0x3e4)]['id']&&_0x1674b2[_0x20b59a(0x2eb)][_0x20b59a(0x300)]===this['unitID']){const _0x1a336=_0x1674b2[_0x20b59a(0x2eb)];this[_0x20b59a(0x1db)](_0x1a336[_0x20b59a(0x3e6)],_0x1a336[_0x20b59a(0x272)][0x0]);}})));}[_0x1db088(0x455)](_0x123ddf){const _0x4af772=_0x1db088;var _0x443203,_0x1bc863;const {memberID:_0x4f569e,selection:_0x46f1b2}=_0x123ddf[_0x4af772(0x330)],{sheetName:_0x223f3b,range:_0x4be2ee}=_0x6e0028[_0x4af772(0x2ec)](_0x46f1b2),_0x149dd0={'name':(_0x1bc863=(_0x443203=this[_0x4af772(0x28b)][_0x4af772(0x284)](this[_0x4af772(0x34c)],_0x4f569e))==null?void 0x0:_0x443203[_0x4af772(0x2d4)])!=null?_0x1bc863:_0x4af772(0x20c),'range':this[_0x4af772(0x1d7)](_0x223f3b,_0x4be2ee),'sheetID':_0x223f3b,'color':this[_0x4af772(0x3b6)][_0x4af772(0x375)](_0x4f569e),'selection':_0x46f1b2},_0x40f85c=this[_0x4af772(0x24a)];_0x40f85c[_0x4af772(0x3f6)](_0x4f569e,_0x149dd0),this[_0x4af772(0x3af)][_0x4af772(0x431)](_0x40f85c);}[_0x1db088(0x446)](_0x525159){const _0x25068d=_0x1db088,{memberID:_0x13eca3}=_0x525159[_0x25068d(0x330)],_0x3abe2d=this[_0x25068d(0x24a)];_0x3abe2d[_0x25068d(0x22d)](_0x13eca3),this[_0x25068d(0x3af)][_0x25068d(0x431)](_0x3abe2d);}[_0x1db088(0x1d7)](_0x17ffa0,_0x30e721){const _0x31f0b0=_0x1db088;var _0x5b492d,_0x19512e;const _0x1113b8=(_0x19512e=(_0x5b492d=this[_0x31f0b0(0x42f)]['getUniverSheetInstance'](this[_0x31f0b0(0x34c)]))==null?void 0x0:_0x5b492d[_0x31f0b0(0x2b9)](_0x17ffa0))==null?void 0x0:_0x19512e[_0x31f0b0(0x2f8)]();return(_0x1113b8==null?void 0x0:_0x1113b8[_0x31f0b0(0x3f9)](_0x2b784d=>_0x4f68b5[_0x31f0b0(0x20d)][_0x31f0b0(0x352)](_0x2b784d,_0x30e721)))||_0x30e721;}[_0x1db088(0x1bf)](){const _0x5b9ed3=_0x1db088,_0x4b62e3=new _0x4f68b5['DisposableCollection'](),_0x186878=_0xc259cd(),_0x2f93bc=()=>{const _0x5e0601=_0x57d8;_0x4b62e3[_0x5e0601(0x29c)]();const _0x5bb332=(_0x1bf880,_0x1f82da,_0x5a53d4,_0x56afa5)=>{const _0x56f84d=_0x5e0601;let _0x155155=[];switch(_0x1bf880['id']){case _0x396f37[_0x56f84d(0x1c8)][_0x56f84d(0x2bf)]:{_0x155155=_0x396f37[_0x56f84d(0x250)](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)]['DeleteRangeMoveUpCommandId']:{_0x155155=_0x396f37['handleDeleteRangeMoveUp'](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)][_0x56f84d(0x201)]:{_0x155155=_0x396f37[_0x56f84d(0x3de)](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)]['InsertRangeMoveDownCommandId']:{_0x155155=_0x396f37['handleInsertRangeMoveDown'](_0x1bf880,_0x56afa5);break;}case _0x396f37['EffectRefRangId'][_0x56f84d(0x24c)]:{_0x155155=_0x396f37[_0x56f84d(0x374)](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)]['InsertRowCommandId']:{_0x155155=_0x396f37[_0x56f84d(0x1fb)](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)][_0x56f84d(0x440)]:{_0x155155=_0x396f37['handleMoveRange'](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)]['RemoveColCommandId']:{_0x155155=_0x396f37[_0x56f84d(0x1e6)](_0x1bf880,_0x56afa5);break;}case _0x396f37[_0x56f84d(0x1c8)]['RemoveRowCommandId']:{_0x155155=_0x396f37[_0x56f84d(0x241)](_0x1bf880,_0x56afa5);break;}}const _0x888984=_0x396f37[_0x56f84d(0x39e)](_0x155155,_0x56afa5),_0x19c1e4=this[_0x56f84d(0x24a)][_0x56f84d(0x38a)](_0x1f82da);if(_0x19c1e4&&_0x888984){const _0x5f097d={..._0x19c1e4,'range':_0x888984};this[_0x56f84d(0x24a)][_0x56f84d(0x3f6)](_0x1f82da,_0x5f097d),_0x186878(()=>{const _0x369632=_0x56f84d,_0xe2ace8=this['_refRangeService'][_0x369632(0x327)](_0x888984,_0x22df1b=>(_0xe2ace8['dispose'](),_0x5bb332(_0x22df1b,_0x1f82da,_0x5a53d4,_0x888984)));_0x4b62e3['add'](_0xe2ace8);});}return{'redos':[],'undos':[]};};this[_0x5e0601(0x24a)][_0x5e0601(0x2c6)]((_0x4fd9ee,_0x27af3b)=>{const _0x169472=_0x5e0601,{range:_0x2501b7,sheetID:_0x464ee7}=_0x4fd9ee,_0x542d6d=this['_refRangeService']['registerRefRange'](_0x2501b7,_0x5e96eb=>(_0x542d6d[_0x169472(0x29c)](),_0x5bb332(_0x5e96eb,_0x27af3b,_0x464ee7,_0x2501b7)));_0x4b62e3['add'](_0x542d6d);});};this[_0x5b9ed3(0x26f)](_0x4f68b5[_0x5b9ed3(0x42e)](this[_0x5b9ed3(0x3af)][_0x5b9ed3(0x333)](()=>{_0x2f93bc();})));}[_0x1db088(0x3a7)](){const _0x5e67f0=_0x1db088;var _0x5eecc8,_0x4c614f;if(this[_0x5e67f0(0x332)]=!0x0,((_0x5eecc8=this[_0x5e67f0(0x42f)]['getFocusedUnit']())==null?void 0x0:_0x5eecc8[_0x5e67f0(0x25d)]())!==this['unitID'])return;const _0x2cd907=(_0x4c614f=this[_0x5e67f0(0x3bd)]['get'](_0x396f37['SheetsSelectionsService'])[_0x5e67f0(0x1f2)]())==null?void 0x0:_0x4c614f[0x0],_0x31218d=this[_0x5e67f0(0x42f)][_0x5e67f0(0x41f)](_0x4f68b5[_0x5e67f0(0x217)][_0x5e67f0(0x30a)])[_0x5e67f0(0x2cd)]();_0x2cd907&&_0x31218d&&this[_0x5e67f0(0x1db)](_0x31218d[_0x5e67f0(0x2ef)](),_0x2cd907);}[_0x1db088(0x353)](){const _0x2a38a8=_0x1db088;this[_0x2a38a8(0x332)]=!0x1;}};_0xd3f195=_0x4be49c([_0x5705c9(0x2,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x22e)])),_0x5705c9(0x3,_0x4f68b5[_0x1db088(0x40b)](_0x551d66)),_0x5705c9(0x4,_0x4f68b5[_0x1db088(0x40b)](_0xbd5b69[_0x1db088(0x3e8)])),_0x5705c9(0x5,_0x4f68b5[_0x1db088(0x25a)]),_0x5705c9(0x6,_0x4f68b5[_0x1db088(0x1e2)]),_0x5705c9(0x7,_0x4f68b5[_0x1db088(0x40b)](_0x396f37[_0x1db088(0x3f2)]))],_0xd3f195);var _0x2cad3b=Object[_0x1db088(0x3ac)],_0x363098=(_0x36bfa6,_0x5a9799,_0x50deed,_0x22f7ed)=>{for(var _0x137ef7=_0x22f7ed>0x1?void 0x0:_0x22f7ed?_0x2cad3b(_0x5a9799,_0x50deed):_0x5a9799,_0x510125=_0x36bfa6['length']-0x1,_0x4a9847;_0x510125>=0x0;_0x510125--)(_0x4a9847=_0x36bfa6[_0x510125])&&(_0x137ef7=_0x4a9847(_0x137ef7)||_0x137ef7);return _0x137ef7;},_0x4b44f0=(_0xf26b2d,_0x5e6b6b)=>(_0x48b820,_0x1a36ab)=>_0x5e6b6b(_0x48b820,_0x1a36ab,_0xf26b2d);let _0x3f7994=class extends _0x4f68b5[_0x1db088(0x386)]{constructor(_0x2f8f7f,_0x1abbd8,_0x42f6cf){const _0x1bb81a=_0x1db088;super(),_0x50d51d(this,_0x1bb81a(0x315),new Map()),_0x50d51d(this,_0x1bb81a(0x1e1),new _0xddf3a0['Subject']()),(this[_0x1bb81a(0x42f)]=_0x2f8f7f,this['_injector']=_0x1abbd8,this[_0x1bb81a(0x32b)]=_0x42f6cf,this[_0x1bb81a(0x450)]());}[_0x1db088(0x29c)](){const _0x4f6ba7=_0x1db088;super[_0x4f6ba7(0x29c)](),this[_0x4f6ba7(0x1e1)][_0x4f6ba7(0x2e7)](),this[_0x4f6ba7(0x315)]['forEach'](_0x4ee235=>_0x4ee235[_0x4f6ba7(0x29c)]());}[_0x1db088(0x423)](_0x42c48b){const _0xdb9037=_0x1db088;return this[_0xdb9037(0x315)][_0xdb9037(0x31f)](_0x42c48b)?this[_0xdb9037(0x315)]['get'](_0x42c48b)[_0xdb9037(0x2cb)]:this[_0xdb9037(0x1e1)]['pipe'](_0xddf3a0['filter'](_0x11377d=>_0x11377d[_0xdb9037(0x34c)]===_0x42c48b),_0xddf3a0[_0xdb9037(0x2f1)](_0x26fa41=>_0x26fa41[_0xdb9037(0x2cb)]));}[_0x1db088(0x450)](){const _0x5f330b=_0x1db088;this[_0x5f330b(0x42f)][_0x5f330b(0x32a)](_0x4f68b5[_0x5f330b(0x217)][_0x5f330b(0x30a)])[_0x5f330b(0x405)](_0xddf3a0[_0x5f330b(0x447)](this['dispose$']))[_0x5f330b(0x333)](async _0x228803=>{const _0x36217c=_0x5f330b,_0x46c22e=_0x228803[_0x36217c(0x25d)](),_0x325582=await this['_startSheetCollabCursor'](_0x46c22e);this[_0x36217c(0x1e1)][_0x36217c(0x431)](_0x325582),this[_0x36217c(0x315)][_0x36217c(0x3f6)](_0x46c22e,_0x325582);}),this[_0x5f330b(0x42f)][_0x5f330b(0x32a)](_0x4f68b5[_0x5f330b(0x217)][_0x5f330b(0x34b)])['pipe'](_0xddf3a0[_0x5f330b(0x447)](this['dispose$']))[_0x5f330b(0x405)](_0xddf3a0['filter'](_0x7e6cb9=>!_0x7e6cb9[_0x5f330b(0x25d)]()[_0x5f330b(0x20f)]('__')))[_0x5f330b(0x333)](async _0x47eaeb=>{const _0x2af2d0=_0x5f330b,_0x44aa4d=_0x47eaeb['getUnitId'](),_0x1addaf=await this[_0x2af2d0(0x207)](_0x44aa4d);this[_0x2af2d0(0x1e1)][_0x2af2d0(0x431)](_0x1addaf),this[_0x2af2d0(0x315)][_0x2af2d0(0x3f6)](_0x44aa4d,_0x1addaf);}),_0xddf3a0[_0x5f330b(0x26c)](this[_0x5f330b(0x42f)][_0x5f330b(0x44d)](_0x4f68b5['UniverInstanceType'][_0x5f330b(0x34b)]),this[_0x5f330b(0x42f)][_0x5f330b(0x44d)](_0x4f68b5[_0x5f330b(0x217)][_0x5f330b(0x30a)]))[_0x5f330b(0x405)](_0xddf3a0[_0x5f330b(0x447)](this[_0x5f330b(0x1d3)]))[_0x5f330b(0x333)](_0x3275d2=>{const _0x5b372a=_0x5f330b,_0x4677a0=_0x3275d2['getUnitId'](),_0x2f956d=this[_0x5b372a(0x315)][_0x5b372a(0x38a)](_0x4677a0);_0x2f956d&&(_0x2f956d[_0x5b372a(0x29c)](),this[_0x5b372a(0x315)]['delete'](_0x4677a0));});}async[_0x1db088(0x1f9)](_0x2cf111){const _0x28625c=_0x1db088,_0x81cb2=await this['_collabSessionService'][_0x28625c(0x3f3)](_0x2cf111),_0x8d7e7c=this[_0x28625c(0x3bd)]['createInstance'](_0xd3f195,_0x2cf111,_0x81cb2);return _0x8d7e7c[_0x28625c(0x239)](),_0x8d7e7c;}async[_0x1db088(0x207)](_0x4e471d){const _0x139ba1=_0x1db088,_0x453922=await this[_0x139ba1(0x32b)]['requireSession'](_0x4e471d),_0x3e5d4b=this[_0x139ba1(0x3bd)][_0x139ba1(0x297)](_0x36abfd,_0x4e471d,_0x453922);return _0x3e5d4b['init'](),_0x3e5d4b;}};_0x3f7994=_0x363098([_0x4b44f0(0x0,_0x4f68b5[_0x1db088(0x25a)]),_0x4b44f0(0x1,_0x4f68b5['Inject'](_0x4f68b5['Injector'])),_0x4b44f0(0x2,_0x4f68b5['Inject'](_0xbd5b69['CollaborationSessionService']))],_0x3f7994);const _0x4be393=0x14,_0x67d0eb=0xc8,_0x1691ab=0x4,_0x273177=0x5;function _0xdc0efe(_0x227da3,_0x291abb){const _0x4c65fe=_0x1db088;let {radius:_0x462773,width:_0x427ffc,height:_0x22f06e}=_0x291abb;_0x462773=_0x462773!=null?_0x462773:0x0,_0x427ffc=_0x427ffc!=null?_0x427ffc:0x1e,_0x22f06e=_0x22f06e!=null?_0x22f06e:0x1e;let _0xa8de23=0x0,_0x1f8971=0x0,_0x9fd635=0x0;_0xa8de23=_0x1f8971=_0x9fd635=Math[_0x4c65fe(0x26d)](_0x462773,_0x427ffc/0x2,_0x22f06e/0x2),_0x227da3[_0x4c65fe(0x27d)](),_0x227da3[_0x4c65fe(0x21e)](_0xa8de23,0x0),_0x227da3['lineTo'](_0x427ffc-_0x1f8971,0x0),_0x227da3[_0x4c65fe(0x23a)](_0x427ffc-_0x1f8971,_0x1f8971,_0x1f8971,Math['PI']*0x3/0x2,0x0,!0x1),_0x227da3['lineTo'](_0x427ffc,_0x22f06e-_0x9fd635),_0x227da3['arc'](_0x427ffc-_0x9fd635,_0x22f06e-_0x9fd635,_0x9fd635,0x0,Math['PI']/0x2,!0x1),_0x227da3[_0x4c65fe(0x1f0)](0x0,_0x22f06e),_0x227da3[_0x4c65fe(0x1f0)](0x0,_0xa8de23),_0x227da3[_0x4c65fe(0x23a)](_0xa8de23,_0xa8de23,_0xa8de23,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x227da3['closePath'](),_0x291abb[_0x4c65fe(0x437)]&&(_0x227da3[_0x4c65fe(0x37b)](),_0x227da3[_0x4c65fe(0x2d0)]=_0x291abb[_0x4c65fe(0x437)],_0x291abb[_0x4c65fe(0x422)]===_0x4c65fe(0x2fc)?_0x227da3[_0x4c65fe(0x437)](_0x4c65fe(0x2fc)):_0x227da3['fill'](),_0x227da3[_0x4c65fe(0x255)]());}class _0x6a3acd extends _0x18a418['Shape']{constructor(_0x3d8102,_0x8a3eb){const _0x17b11a=_0x1db088;super(_0x3d8102,_0x8a3eb),_0x50d51d(this,_0x17b11a(0x29d)),_0x50d51d(this,_0x17b11a(0x2e8)),(this['color']=_0x8a3eb==null?void 0x0:_0x8a3eb[_0x17b11a(0x29d)],this['text']=_0x8a3eb==null?void 0x0:_0x8a3eb[_0x17b11a(0x2e8)]);}static[_0x1db088(0x3f1)](_0x29e08f,_0x57fda8){const _0x1e2000=_0x1db088,{text:_0x4bb9ce,color:_0x40630c}=_0x57fda8;_0x29e08f[_0x1e2000(0x37b)](),_0x29e08f[_0x1e2000(0x3ce)]=_0x1e2000(0x408);const _0x739cbb=_0x29e08f['measureText'](_0x4bb9ce)['width'],_0x4d34f6=Math[_0x1e2000(0x26d)](_0x739cbb+0x2*_0x1691ab,_0x67d0eb);_0xdc0efe(_0x29e08f,{'height':_0x4be393,'radius':0x4,'width':_0x4d34f6,'fill':_0x40630c}),_0x29e08f[_0x1e2000(0x2d0)]=_0x1e2000(0x1ed);const _0x19db22=_0x1691ab,_0x3978ae=_0x4be393-_0x273177,_0x35a1c8=_0x67d0eb-0x2*_0x1691ab;if(_0x739cbb>_0x35a1c8){let _0x1febf0='',_0x528c5b=0x0;for(const _0x2648e7 of _0x4bb9ce){const _0xb17dff=_0x29e08f[_0x1e2000(0x309)](_0x2648e7)['width'];if(_0x528c5b+_0xb17dff<=_0x35a1c8-_0x29e08f[_0x1e2000(0x309)]('...')[_0x1e2000(0x38c)])_0x1febf0+=_0x2648e7,_0x528c5b+=_0xb17dff;else{_0x1febf0+=_0x1e2000(0x342);break;}}_0x29e08f['fillText'](_0x1febf0,_0x19db22,_0x3978ae);}else _0x29e08f['fillText'](_0x4bb9ce,_0x19db22,_0x3978ae);_0x29e08f['restore']();}[_0x1db088(0x3ba)](_0x288bad){_0x6a3acd['drawWith'](_0x288bad,this);}}const _0x5e1f5e='collab-text-anchor-',_0x227bc9=_0x1db088(0x436),_0x71351a=_0x1db088(0x425),_0xd17fe4=0x6,_0x41d5be=1.5,_0x5acb26=0x4,_0x4260c0=1.5,_0x13f91b='rgba(255,\x20255,\x20255,\x200.01)';class _0xdc343b{constructor(_0x3e2dad,_0xe28449,_0x32616e,_0x4773d2){const _0x4bb631=_0x1db088;_0x50d51d(this,_0x4bb631(0x2f6),[]),_0x50d51d(this,_0x4bb631(0x390),null),_0x50d51d(this,_0x4bb631(0x340),null),_0x50d51d(this,_0x4bb631(0x372),null),_0x50d51d(this,'_hideTimer',null),_0x50d51d(this,_0x4bb631(0x261),null),(this[_0x4bb631(0x415)]=_0x3e2dad,this[_0x4bb631(0x209)]=_0xe28449,this[_0x4bb631(0x20b)]=_0x32616e,this[_0x4bb631(0x1f8)]=_0x4773d2,this[_0x4bb631(0x3b5)]());}set[_0x1db088(0x3fd)](_0x4e6da0){const _0x25d373=_0x1db088;_0x4e6da0?(this['_anchorDot']&&this[_0x25d373(0x372)][_0x25d373(0x344)](),this[_0x25d373(0x340)]&&this[_0x25d373(0x340)][_0x25d373(0x366)]()):(this[_0x25d373(0x372)]&&this[_0x25d373(0x372)]['show'](),this[_0x25d373(0x340)]&&this[_0x25d373(0x340)][_0x25d373(0x344)]());}['dispose'](){const _0x439a45=_0x1db088;for(const _0x12aa13 of this[_0x439a45(0x2f6)])_0x12aa13[_0x439a45(0x29c)]();this['_textBubble']&&this[_0x439a45(0x340)][_0x439a45(0x29c)](),this[_0x439a45(0x372)]&&this['_anchorDot'][_0x439a45(0x29c)](),this['_anchor']&&this[_0x439a45(0x390)]['dispose'](),this[_0x439a45(0x261)]&&this[_0x439a45(0x261)]();}[_0x1db088(0x3b5)](){const _0x9733a7=_0x1db088;var _0x254344;const {_docSkeleton:_0x3f6dfa,_document:_0x24833d}=this,{color:_0x5968a1,name:_0x19eb2b,ranges:_0x147b74}=this[_0x9733a7(0x415)],_0xe50272=_0x24833d[_0x9733a7(0x3bc)](),{docsLeft:_0x53f9a4,docsTop:_0x1d57e1}=_0xe50272,_0xdf99ad=new _0x5ab0ee[(_0x9733a7(0x1dd))](_0xe50272,_0x3f6dfa);for(const {startOffset:_0x180f0d,endOffset:_0xe0e733,rangeType:_0x27202a,segmentId:_0x2c84f3,segmentPage:_0x429858,collapsed:_0x4ab99b,isActive:_0x525ad4}of _0x147b74){const _0x6b7bb9=_0x3f6dfa['findNodePositionByCharIndex'](_0x180f0d,!0x0,_0x2c84f3,_0x429858);let _0x27f3da=_0x3f6dfa[_0x9733a7(0x220)](_0xe0e733,!0x0,_0x2c84f3,_0x429858);if(_0x27f3da==null&&(_0x27f3da=_0x3f6dfa['findNodePositionByCharIndex'](_0xe0e733-0x1,!0x1,_0x2c84f3,_0x429858)),_0x525ad4){const {contentBoxPointGroup:_0x4619a}=_0xdf99ad['getRangePointData'](_0x27f3da,_0x27f3da);if(_0x4619a[_0x9733a7(0x301)]===0x0)continue;this[_0x9733a7(0x426)](_0x5968a1,_0x4619a,_0x53f9a4,_0x1d57e1,_0x19eb2b),this[_0x9733a7(0x261)]=this[_0x9733a7(0x298)]();}if(_0x6b7bb9&&_0x27f3da){if(_0x27202a===_0x4f68b5[_0x9733a7(0x388)][_0x9733a7(0x3fe)]){const _0x2bf858=new _0x5ab0ee[(_0x9733a7(0x270))](_0xe50272,_0x3f6dfa),{pointGroup:_0x2716bd}=(_0x254344=_0x2bf858[_0x9733a7(0x24f)](_0x6b7bb9,_0x27f3da))!=null?_0x254344:{};if(_0x2716bd==null||_0x2716bd[_0x9733a7(0x301)]===0x0)continue;this['_drawRectRange'](_0x5968a1,_0x2716bd,_0x53f9a4,_0x1d57e1);}else{if(!_0x4ab99b){const {borderBoxPointGroup:_0x4ebebd}=_0xdf99ad[_0x9733a7(0x24f)](_0x6b7bb9,_0x27f3da);if(_0x4ebebd['length']===0x0)continue;this[_0x9733a7(0x3e9)](_0x5968a1,_0x4ebebd,_0x53f9a4,_0x1d57e1);}}}}}[_0x1db088(0x426)](_0x3fa80e,_0x2370f4,_0xc2cbfc,_0xe8990c,_0x7b9aa5){const _0x4491f9=_0x1db088,_0x24257a=this[_0x4491f9(0x350)](_0x2370f4),{left:_0x585270,top:_0x210a4f,height:_0x31bd32}=_0x24257a,_0x547d5b=this[_0x4491f9(0x2e2)](),_0x4625a7=_0x4260c0/_0x547d5b,_0x2c3e8a=new _0x18a418[(_0x4491f9(0x204))](_0x5e1f5e+_0x4f68b5[_0x4491f9(0x391)][_0x4491f9(0x36d)](_0xd17fe4),{'left':_0x585270+_0xc2cbfc-_0x4625a7,'top':_0x210a4f+_0xe8990c,'height':_0x31bd32,'width':_0x41d5be,'fill':_0x3fa80e||_0x18a418[_0x4491f9(0x306)](_0x4f68b5[_0x4491f9(0x3c8)][_0x4491f9(0x3a8)],0x0),'strokeWidth':_0x4625a7,'stroke':_0x13f91b,'evented':!0x0});this[_0x4491f9(0x390)]=_0x2c3e8a,this['_scene'][_0x4491f9(0x1c1)](_0x2c3e8a,_0x5ab0ee[_0x4491f9(0x2f9)]);const _0x204647=new _0x18a418[(_0x4491f9(0x204))](_0x5e1f5e+_0x4f68b5[_0x4491f9(0x391)]['generateRandomId'](_0xd17fe4),{'left':_0x585270+_0xc2cbfc-_0x4625a7,'top':_0x210a4f+_0xe8990c-_0x5acb26/0x2,'height':_0x5acb26,'width':_0x5acb26,'fill':_0x3fa80e||_0x18a418['getColor'](_0x4f68b5['COLORS'][_0x4491f9(0x3a8)],0x0),'strokeWidth':0x0,'stroke':_0x3fa80e||_0x18a418[_0x4491f9(0x306)](_0x4f68b5[_0x4491f9(0x3c8)][_0x4491f9(0x3a8)],0x0),'evented':!0x1});this[_0x4491f9(0x372)]=_0x204647,this['_scene'][_0x4491f9(0x1c1)](_0x204647,_0x5ab0ee[_0x4491f9(0x2f9)]);const _0x15f08f=new _0x6a3acd(_0x5e1f5e+_0x4f68b5[_0x4491f9(0x391)][_0x4491f9(0x36d)](_0xd17fe4),{'left':_0x585270+_0xc2cbfc-_0x4625a7,'top':_0x210a4f+_0xe8990c-_0x4be393,'text':_0x7b9aa5,'color':_0x3fa80e});this[_0x4491f9(0x340)]=_0x15f08f,this[_0x4491f9(0x209)][_0x4491f9(0x1c1)](_0x15f08f,_0x5ab0ee['TEXT_RANGE_LAYER_INDEX']),this[_0x4491f9(0x3fd)]=!0x1;}[_0x1db088(0x298)](){const _0xb17c37=_0x1db088,_0x26d012=this[_0xb17c37(0x390)][_0xb17c37(0x22c)][_0xb17c37(0x293)](()=>{const _0x632353=_0xb17c37;this[_0x632353(0x3fd)]=!0x0;}),_0x33abdf=this[_0xb17c37(0x390)][_0xb17c37(0x39b)][_0xb17c37(0x293)](()=>{const _0x73b97=_0xb17c37;this[_0x73b97(0x3f7)]&&clearTimeout(this[_0x73b97(0x3f7)]),this['_hideTimer']=setTimeout(()=>{const _0x188030=_0x73b97;this[_0x188030(0x3fd)]=!0x1;},0x7d0);});return()=>{const _0x3c5c7b=_0xb17c37;_0x26d012[_0x3c5c7b(0x3a5)](),_0x33abdf[_0x3c5c7b(0x3a5)]();};}[_0x1db088(0x3e9)](_0x38facb,_0x1378ec,_0x5ead1e,_0x331ee0){const _0x4065cb=_0x1db088,_0x2d1c2a=new _0x4f68b5[(_0x4065cb(0x30b))](_0x38facb)[_0x4065cb(0x1c0)](0.2)[_0x4065cb(0x277)](),_0x55774b=new _0x18a418['RegularPolygon'](_0x227bc9+_0x4f68b5[_0x4065cb(0x391)]['generateRandomId'](_0xd17fe4),{'pointsGroup':_0x1378ec,'fill':_0x2d1c2a||_0x18a418[_0x4065cb(0x306)](_0x4f68b5[_0x4065cb(0x3c8)][_0x4065cb(0x3a8)],0.2),'left':_0x5ead1e,'top':_0x331ee0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4065cb(0x2f6)]['push'](_0x55774b),this[_0x4065cb(0x209)]['addObject'](_0x55774b,_0x5ab0ee[_0x4065cb(0x2f9)]);}['_drawRectRange'](_0x14386b,_0x598398,_0xcbad9d,_0x318529){const _0x1a6233=_0x1db088,_0x43a8a0=new _0x4f68b5[(_0x1a6233(0x30b))](_0x14386b)[_0x1a6233(0x1c0)](0.2)[_0x1a6233(0x277)](),_0x261101=new _0x18a418[(_0x1a6233(0x1bd))](_0x71351a+_0x4f68b5[_0x1a6233(0x391)][_0x1a6233(0x36d)](_0xd17fe4),{'pointsGroup':_0x598398,'fill':_0x43a8a0||_0x18a418[_0x1a6233(0x306)](_0x4f68b5['COLORS'][_0x1a6233(0x3a8)],0.2),'left':_0xcbad9d,'top':_0x318529,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a6233(0x2f6)][_0x1a6233(0x2c5)](_0x261101),this[_0x1a6233(0x209)][_0x1a6233(0x1c1)](_0x261101,_0x5ab0ee['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x4bf966){const _0x58c8dc=_0x4bf966[0x0],_0x4a563c=_0x58c8dc[0x0],_0x20e2ca=_0x58c8dc[0x2],{x:_0x371017,y:_0x200e21}=_0x4a563c,{x:_0x5a8dc8,y:_0x11d712}=_0x20e2ca;return{'left':_0x371017,'top':_0x200e21,'width':_0x5a8dc8-_0x371017,'height':_0x11d712-_0x200e21};}[_0x1db088(0x2e2)](){const _0x2b3029=_0x1db088,{scaleX:_0x10e480,scaleY:_0x37c271}=this[_0x2b3029(0x209)]['getAncestorScale']();return Math[_0x2b3029(0x44a)](_0x10e480,_0x37c271);}}var _0x2f53ea=Object[_0x1db088(0x3ac)],_0x1bd51e=(_0x398fa1,_0x3b4c83,_0x1243e9,_0x35d94a)=>{const _0x2e8656=_0x1db088;for(var _0x381177=_0x35d94a>0x1?void 0x0:_0x35d94a?_0x2f53ea(_0x3b4c83,_0x1243e9):_0x3b4c83,_0x2b9d3c=_0x398fa1[_0x2e8656(0x301)]-0x1,_0x388fc9;_0x2b9d3c>=0x0;_0x2b9d3c--)(_0x388fc9=_0x398fa1[_0x2b9d3c])&&(_0x381177=_0x388fc9(_0x381177)||_0x381177);return _0x381177;},_0x534f53=(_0x317d23,_0x19e22a)=>(_0x412f40,_0x3d251e)=>_0x19e22a(_0x412f40,_0x3d251e,_0x317d23);let _0x13697a=class extends _0x4f68b5[_0x1db088(0x386)]{constructor(_0x161a36,_0x58f0b6,_0x595dc1,_0x1d595c,_0xba0d62){const _0x397669=_0x1db088;super(),_0x50d51d(this,_0x397669(0x23f),[]),_0x50d51d(this,_0x397669(0x210),[]),(this['_context']=_0x161a36,this[_0x397669(0x2b8)]=_0x58f0b6,this[_0x397669(0x359)]=_0x595dc1,this['_commandService']=_0x1d595c,this[_0x397669(0x232)]=_0xba0d62,this['_init']());}[_0x1db088(0x450)](){const _0x232259=_0x1db088,_0x2ede93=this[_0x232259(0x382)][_0x232259(0x300)],_0xf600e=this[_0x232259(0x2b8)];this[_0x232259(0x26f)](_0xddf3a0[_0x232259(0x3cb)]([this[_0x232259(0x359)][_0x232259(0x423)](_0x2ede93),this[_0x232259(0x232)][_0x232259(0x1d5)]])['pipe'](_0x26ab1c[_0x232259(0x29a)](([_0x529830,_0x5ab824])=>({'skeleton':_0xf600e[_0x232259(0x268)](),'cursors':[..._0x529830['values']()][_0x232259(0x28c)](_0x53b1c8=>({..._0x53b1c8,'color':this[_0x232259(0x232)][_0x232259(0x32e)](_0x53b1c8['color'])}))})))['subscribe'](_0x5011ed=>{const _0x3ffd8d=_0x232259;if(this[_0x3ffd8d(0x34e)](),_0x5011ed){const {skeleton:_0x17cb66,cursors:_0x149e9e}=_0x5011ed;this[_0x3ffd8d(0x2b0)](_0x17cb66,_0x149e9e);}})),this[_0x232259(0x3a0)](),this[_0x232259(0x407)]();}[_0x1db088(0x2b0)](_0x5e085e,_0x1b9e98){const _0x4fb1d4=_0x1db088,{scene:_0x2831bc,mainComponent:_0x2ab6c5}=this['_context'],_0x57fa1b=_0x1b9e98[_0x4fb1d4(0x29a)](_0x3b6ac5=>new _0xdc343b(_0x3b6ac5,_0x2831bc,_0x5e085e,_0x2ab6c5));this[_0x4fb1d4(0x23f)]=_0x57fa1b,this[_0x4fb1d4(0x210)]=_0x1b9e98;}[_0x1db088(0x2a0)](){const _0x4aee6e=_0x1db088;this[_0x4aee6e(0x34e)]();const {scene:_0x49f299,mainComponent:_0x1a9789}=this[_0x4aee6e(0x382)],_0x43cd3b=this[_0x4aee6e(0x2b8)][_0x4aee6e(0x268)](),_0x3c7767=this[_0x4aee6e(0x210)][_0x4aee6e(0x29a)](_0x3e1370=>new _0xdc343b(_0x3e1370,_0x49f299,_0x43cd3b,_0x1a9789));this['_cursorShapes']=_0x3c7767;}[_0x1db088(0x34e)](){const _0x53f64b=_0x1db088;this[_0x53f64b(0x23f)][_0x53f64b(0x2c6)](_0x2d553a=>_0x2d553a[_0x53f64b(0x29c)]()),this[_0x53f64b(0x23f)]=[];}['_initCommandExecutedListener'](){const _0xf45686=_0x1db088,_0x4631ab=[_0x5ab0ee[_0xf45686(0x420)]['id']];this[_0xf45686(0x26f)](this['_commandService']['onCommandExecuted'](_0x4399bf=>{const _0x4ad447=_0xf45686;_0x4631ab[_0x4ad447(0x30e)](_0x4399bf['id'])&&_0x4399bf['params'][_0x4ad447(0x300)]===this[_0x4ad447(0x382)][_0x4ad447(0x300)]&&this[_0x4ad447(0x2a0)]();}));}[_0x1db088(0x3a0)](){const _0x1cd72d=_0x1db088;this[_0x1cd72d(0x26f)](_0x4f68b5['fromEventSubject'](this['_context'][_0x1cd72d(0x3a6)][_0x1cd72d(0x33f)])['pipe'](_0x26ab1c[_0x1cd72d(0x326)](_0x19e83d=>_0x19e83d[_0x1cd72d(0x432)]===_0x18a418[_0x1cd72d(0x28d)][_0x1cd72d(0x1da)]),_0x26ab1c[_0x1cd72d(0x43d)](0x10))[_0x1cd72d(0x333)](()=>{const _0x24d109=_0x1cd72d;this[_0x24d109(0x2a0)]();}));}};_0x13697a=_0x1bd51e([_0x534f53(0x1,_0x4f68b5['Inject'](_0x3c2c13[_0x1db088(0x384)])),_0x534f53(0x2,_0x4f68b5[_0x1db088(0x40b)](_0x3f7994)),_0x534f53(0x3,_0x4f68b5['ICommandService']),_0x534f53(0x4,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x33d)]))],_0x13697a);const _0x44b07a=0x1,_0x269714=1.5;class _0x3c3b43 extends _0x18a418[_0x1db088(0x24b)]{constructor(_0x2cc1fc,_0x17be49){const _0x2d2dd2=_0x1db088;super(_0x2cc1fc,_0x17be49),_0x50d51d(this,'_color'),_0x50d51d(this,'_hovered',!0x1),_0x50d51d(this,_0x2d2dd2(0x3be)),_0x50d51d(this,_0x2d2dd2(0x1e9),''),_0x50d51d(this,_0x2d2dd2(0x2a4),_0x2d2dd2(0x21a)),_0x50d51d(this,_0x2d2dd2(0x39c)),(_0x17be49&&this[_0x2d2dd2(0x456)](_0x17be49),this[_0x2d2dd2(0x22c)][_0x2d2dd2(0x293)](()=>this[_0x2d2dd2(0x456)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2d2dd2(0x293)](()=>this[_0x2d2dd2(0x456)]({'hovered':!0x1})));}[_0x1db088(0x456)](_0x89d2ed){const _0x2886a8=_0x1db088;var _0x3a21b6,_0x46e8f8,_0x30e5c3,_0x43e0d2,_0x315616,_0x367e35;this[_0x2886a8(0x35b)]=(_0x3a21b6=_0x89d2ed[_0x2886a8(0x29d)])!=null?_0x3a21b6:this[_0x2886a8(0x35b)],this[_0x2886a8(0x38f)]=(_0x46e8f8=_0x89d2ed[_0x2886a8(0x2f4)])!=null?_0x46e8f8:this[_0x2886a8(0x38f)],this['_range']=(_0x30e5c3=_0x89d2ed[_0x2886a8(0x449)])!=null?_0x30e5c3:this[_0x2886a8(0x3be)],this[_0x2886a8(0x1e9)]=(_0x43e0d2=_0x89d2ed[_0x2886a8(0x2d4)])!=null?_0x43e0d2:this[_0x2886a8(0x1e9)],this[_0x2886a8(0x2a4)]=(_0x315616=_0x89d2ed[_0x2886a8(0x1eb)])!=null?_0x315616:this[_0x2886a8(0x2a4)],this[_0x2886a8(0x39c)]=(_0x367e35=_0x89d2ed[_0x2886a8(0x2c4)])!=null?_0x367e35:this['_backgroundColor'],this[_0x2886a8(0x3da)]({'width':_0x89d2ed[_0x2886a8(0x38c)],'height':_0x89d2ed[_0x2886a8(0x3d7)]});}[_0x1db088(0x349)](_0x23e5e9){const _0x3d17bf=_0x1db088,{row:_0x5a336f,column:_0x1adacf}=_0x23e5e9;if(_0x5a336f>=this[_0x3d17bf(0x3be)][_0x3d17bf(0x2ce)]&&_0x5a336f<=this[_0x3d17bf(0x3be)][_0x3d17bf(0x325)]&&_0x1adacf>=this[_0x3d17bf(0x3be)][_0x3d17bf(0x3fc)]&&_0x1adacf<=this[_0x3d17bf(0x3be)][_0x3d17bf(0x313)]){this[_0x3d17bf(0x456)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x5bb960){return!0x1;}['_draw'](_0x1aa133){const _0x328f07=_0x1db088;_0x18a418[_0x328f07(0x204)][_0x328f07(0x3f1)](_0x1aa133,{'width':this[_0x328f07(0x38c)],'height':this['height'],'strokeWidth':_0x269714,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x1aa133[_0x328f07(0x37b)](),_0x1aa133[_0x328f07(0x275)](0x1,0x0,0x0,0x1,this[_0x328f07(0x38c)],this[_0x328f07(0x2a4)]===_0x328f07(0x400)?0x0:-0x14),_0x6a3acd[_0x328f07(0x3f1)](_0x1aa133,{'text':this[_0x328f07(0x1e9)],'color':this[_0x328f07(0x35b)]}),_0x1aa133[_0x328f07(0x255)]());}}var _0x4bcba9=Object[_0x1db088(0x3ac)],_0x31efcb=(_0x1438f6,_0x138b67,_0x26c684,_0x38a6ba)=>{const _0xe81dd9=_0x1db088;for(var _0x396fa8=_0x38a6ba>0x1?void 0x0:_0x38a6ba?_0x4bcba9(_0x138b67,_0x26c684):_0x138b67,_0x14d9e3=_0x1438f6[_0xe81dd9(0x301)]-0x1,_0x37ad70;_0x14d9e3>=0x0;_0x14d9e3--)(_0x37ad70=_0x1438f6[_0x14d9e3])&&(_0x396fa8=_0x37ad70(_0x396fa8)||_0x396fa8);return _0x396fa8;},_0x783db9=(_0x59d37a,_0x1990ad)=>(_0x1b8f73,_0x4def1a)=>_0x1990ad(_0x1b8f73,_0x4def1a,_0x59d37a);const _0x42e020=0x1389;let _0x70a592=class extends _0x4f68b5['RxDisposable']{constructor(_0x111e6f,_0x53de2e,_0x31cee7,_0x4dbb76){const _0xa63681=_0x1db088;super(),_0x50d51d(this,_0xa63681(0x210),new Set()),_0x50d51d(this,_0xa63681(0x33e),null),(this[_0xa63681(0x382)]=_0x111e6f,this[_0xa63681(0x1e3)]=_0x53de2e,this[_0xa63681(0x359)]=_0x31cee7,this[_0xa63681(0x232)]=_0x4dbb76,this[_0xa63681(0x450)]());}[_0x1db088(0x450)](){const _0x15969e=_0x1db088;this[_0x15969e(0x1e3)][_0x15969e(0x3d5)][_0x15969e(0x405)](_0x26ab1c[_0x15969e(0x447)](this[_0x15969e(0x1d3)]),_0x26ab1c[_0x15969e(0x2f1)](_0x24b58b=>{const _0x5e8e2e=_0x15969e;if(_0x24b58b){const _0x2332ca=_0x24b58b[_0x5e8e2e(0x1ca)];return _0xddf3a0[_0x5e8e2e(0x3cb)](this['_collabCursorController']['getCollabCursors$'](this[_0x5e8e2e(0x382)][_0x5e8e2e(0x300)]),this[_0x5e8e2e(0x232)][_0x5e8e2e(0x1d5)])[_0x5e8e2e(0x405)](_0x26ab1c[_0x5e8e2e(0x29a)](([_0x2ed9d0,_0xa919ba])=>{const _0xe672cb=_0x5e8e2e,_0x512ed8=new Map();return _0x2ed9d0[_0xe672cb(0x2c6)]((_0x2e6c9a,_0x376677)=>{const _0x1c3bdc=_0xe672cb;if(_0x2e6c9a['sheetID']===_0x2332ca){const _0x313b98={..._0x2e6c9a};_0x313b98['color']=this[_0x1c3bdc(0x232)][_0x1c3bdc(0x32e)](_0x2e6c9a[_0x1c3bdc(0x29d)]),_0x512ed8[_0x1c3bdc(0x3f6)](_0x376677,_0x313b98);}}),{'skeleton':_0x24b58b,'cursors':_0x512ed8};}));}return _0xddf3a0['of']({'skeleton':null,'cursors':new Map()});}))[_0x15969e(0x333)](({skeleton:_0x59f9b1,cursors:_0x239b9f})=>{const _0x489c9a=_0x15969e;this[_0x489c9a(0x34e)](),_0x59f9b1&&this[_0x489c9a(0x2b0)](_0x59f9b1,_0x239b9f);}),this[_0x15969e(0x1e3)][_0x15969e(0x3d5)][_0x15969e(0x333)](_0x592b0b=>{if(_0x592b0b==null)return;const {skeleton:_0x1aaa3e}=_0x592b0b,{scene:_0x3a048e}=this['_context'];_0x3a048e['onPointerMove$']['subscribeEvent'](_0x4f68b5['debounce'](_0x212fd3=>{const _0x12da03=_0x57d8;var _0x4aeaf1,_0x3c047a;const {offsetX:_0x40fc39,offsetY:_0x518324}=_0x212fd3,{x:_0x5be316,y:_0x265a99}=_0x3a048e[_0x12da03(0x310)](_0x18a418['Vector2'][_0x12da03(0x3dd)]([_0x40fc39,_0x518324])),{scaleX:_0x47bb8f,scaleY:_0x840302}=_0x3a048e[_0x12da03(0x347)](),_0x118bfd=_0x3a048e[_0x12da03(0x3cf)](_0x18a418[_0x12da03(0x3df)][_0x12da03(0x2c0)]),_0x5158df=_0x3a048e[_0x12da03(0x205)](_0x18a418[_0x12da03(0x262)][_0x12da03(0x3dd)]([_0x5be316,_0x265a99]),_0x118bfd),_0x49aab5=_0x1aaa3e[_0x12da03(0x3ea)](_0x40fc39,_0x518324,_0x47bb8f,_0x840302,_0x5158df);((_0x4aeaf1=this[_0x12da03(0x33e)])==null?void 0x0:_0x4aeaf1[_0x12da03(0x281)])===_0x49aab5['column']&&((_0x3c047a=this[_0x12da03(0x33e)])==null?void 0x0:_0x3c047a[_0x12da03(0x231)])===_0x49aab5['row']||this[_0x12da03(0x210)]['forEach'](_0xb9c8c6=>{const _0x4510ff=_0x12da03;_0xb9c8c6[_0x4510ff(0x349)](_0x49aab5);});},0x64));});}[_0x1db088(0x2b0)](_0x3b6b6f,_0x10474f){const _0x55b7ee=_0x1db088;var _0x320752;const _0x80b56e=(_0x320752=this[_0x55b7ee(0x1e3)][_0x55b7ee(0x36c)]())==null?void 0x0:_0x320752['skeleton'];if(!_0x80b56e)return;const _0x2b118d=this[_0x55b7ee(0x258)]();if(!_0x2b118d)return;this['_cursors'][_0x55b7ee(0x2c6)](_0x3cec86=>{_0x3cec86['makeDirty']();});const {scene:_0x4f1977}=_0x2b118d,_0x18e4ce=_0x4ae0b1(Array[_0x55b7ee(0x211)](_0x10474f[_0x55b7ee(0x29b)]()))[_0x55b7ee(0x29a)](_0x5e5a2b=>{const _0x147c06=_0x55b7ee,{color:_0x5a09e1,range:_0x43e70f,name:_0x483f21,selection:_0x206306,sheetID:_0x469e31}=_0x5e5a2b,{startColumn:_0x3de3cc,startRow:_0x21cb5d,endColumn:_0x2b7d65,endRow:_0x2ffd7b}=_0x43e70f,_0x23124f=_0x3355d5[_0x147c06(0x246)](_0x21cb5d,_0x3de3cc,_0x4f1977,_0x80b56e),_0x155b29=_0x3355d5['getCoordByCell'](_0x2ffd7b,_0x2b7d65,_0x4f1977,_0x80b56e),{columnHeaderHeightAndMarginTop:_0xc32dde}=_0x80b56e,{startX:_0x317d15,startY:_0x2572e7}=_0x23124f,{endX:_0x3daf8a,endY:_0x290039}=_0x155b29,_0x1b8f9f=_0x3daf8a-_0x317d15,_0x1e62b4=_0x290039-_0x2572e7,_0x1433df={'labelPosition':_0x2572e7-_0xc32dde>=_0x4be393?'top':_0x147c06(0x400),'sheetID':_0x469e31,'range':_0x43e70f,'color':_0x5a09e1,'name':_0x483f21,'selection':_0x206306,'left':_0x317d15,'top':_0x2572e7,'width':_0x1b8f9f,'height':_0x1e62b4,'evented':!0x1,'zIndex':_0x42e020};return new _0x3c3b43(_0x483f21,_0x1433df);});_0x4f1977[_0x55b7ee(0x253)](_0x18e4ce,_0x44b07a),this[_0x55b7ee(0x210)]=new Set(_0x18e4ce);}[_0x1db088(0x34e)](){const _0x181d7d=_0x1db088;var _0x1ed832;(_0x1ed832=this['_cursors'])==null||_0x1ed832[_0x181d7d(0x2c6)](_0x2b54ae=>_0x2b54ae[_0x181d7d(0x29c)]());}[_0x1db088(0x258)](){const _0x112685=_0x1db088;return _0x3355d5[_0x112685(0x21d)](this[_0x112685(0x382)][_0x112685(0x230)],this['_context']);}};_0x70a592=_0x31efcb([_0x783db9(0x1,_0x4f68b5['Inject'](_0x3355d5[_0x1db088(0x1e4)])),_0x783db9(0x2,_0x4f68b5[_0x1db088(0x40b)](_0x3f7994)),_0x783db9(0x3,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x33d)]))],_0x70a592);function _0x4ae0b1(_0x498a5a){const _0xc1871e=_0x1db088,_0x553420=new Map();return _0x498a5a[_0xc1871e(0x2c6)](_0x44d547=>{const _0x44cdb6=_0xc1871e;if(_0x553420[_0x44cdb6(0x31f)](_0x44d547[_0x44cdb6(0x1f1)])){const _0x5e2fa9=_0x553420[_0x44cdb6(0x38a)](_0x44d547[_0x44cdb6(0x1f1)]);_0x5e2fa9[_0x44cdb6(0x2d4)]+=',\x20'+_0x44d547[_0x44cdb6(0x2d4)];}else _0x553420[_0x44cdb6(0x3f6)](_0x44d547[_0x44cdb6(0x1f1)],_0x44d547);}),Array['from'](_0x553420[_0xc1871e(0x29b)]());}var _0x52faec=function(){const _0x168d8a=_0x1db088;return _0x52faec=Object[_0x168d8a(0x3a1)]||function(_0x491dbf){const _0x2c3917=_0x168d8a;for(var _0xb64ef1,_0x1b8b83=0x1,_0xf05410=arguments[_0x2c3917(0x301)];_0x1b8b83<_0xf05410;_0x1b8b83++){_0xb64ef1=arguments[_0x1b8b83];for(var _0x493305 in _0xb64ef1)Object[_0x2c3917(0x3cc)][_0x2c3917(0x244)][_0x2c3917(0x1c5)](_0xb64ef1,_0x493305)&&(_0x491dbf[_0x493305]=_0xb64ef1[_0x493305]);}return _0x491dbf;},_0x52faec[_0x168d8a(0x3a4)](this,arguments);},_0x20d368=function(_0x5c8180,_0x38c898){const _0x22dfd7=_0x1db088;var _0x39bbe8={};for(var _0x5255f4 in _0x5c8180)Object[_0x22dfd7(0x3cc)]['hasOwnProperty'][_0x22dfd7(0x1c5)](_0x5c8180,_0x5255f4)&&_0x38c898['indexOf'](_0x5255f4)<0x0&&(_0x39bbe8[_0x5255f4]=_0x5c8180[_0x5255f4]);if(_0x5c8180!=null&&typeof Object[_0x22dfd7(0x40e)]==_0x22dfd7(0x1e5)){for(var _0x387cd5=0x0,_0x5255f4=Object[_0x22dfd7(0x40e)](_0x5c8180);_0x387cd5<_0x5255f4[_0x22dfd7(0x301)];_0x387cd5++)_0x38c898[_0x22dfd7(0x343)](_0x5255f4[_0x387cd5])<0x0&&Object[_0x22dfd7(0x3cc)][_0x22dfd7(0x290)]['call'](_0x5c8180,_0x5255f4[_0x387cd5])&&(_0x39bbe8[_0x5255f4[_0x387cd5]]=_0x5c8180[_0x5255f4[_0x387cd5]]);}return _0x39bbe8;},_0x3bddd6=_0x2e1d69[_0x1db088(0x1f6)](function(_0xa10641,_0x202e6c){const _0x37977f=_0x1db088;var _0x13320b=_0xa10641['icon'],_0x51d494=_0xa10641['id'],_0x3d5723=_0xa10641['className'],_0x16e875=_0xa10641[_0x37977f(0x2da)],_0x56ec53=_0x20d368(_0xa10641,[_0x37977f(0x37f),'id',_0x37977f(0x1d9),_0x37977f(0x2da)]),_0xff368e=_0x37977f(0x341)[_0x37977f(0x356)](_0x51d494,'\x20')['concat'](_0x3d5723||'')['trim'](),_0x5ec1a1=_0x2e1d69[_0x37977f(0x444)]('_'['concat'](_0x565cb8()));return _0x24fa45(_0x13320b,''[_0x37977f(0x356)](_0x51d494),{'defIds':_0x13320b['defIds'],'idSuffix':_0x5ec1a1[_0x37977f(0x242)]},_0x52faec({'ref':_0x202e6c,'className':_0xff368e},_0x56ec53),_0x16e875);});function _0x24fa45(_0xfdcc6b,_0x32fecd,_0x471109,_0x4ec931,_0x4b9245){const _0x1be525=_0x1db088;return _0x2e1d69[_0x1be525(0x345)](_0xfdcc6b[_0x1be525(0x208)],_0x52faec(_0x52faec({'key':_0x32fecd},_0x25c0b4(_0xfdcc6b,_0x471109,_0x4b9245)),_0x4ec931),(_0x298a7f(_0xfdcc6b,_0x471109)[_0x1be525(0x226)]||[])[_0x1be525(0x29a)](function(_0x595070,_0x9e7c34){const _0x155785=_0x1be525;return _0x24fa45(_0x595070,''[_0x155785(0x356)](_0x32fecd,'-')['concat'](_0xfdcc6b[_0x155785(0x208)],'-')[_0x155785(0x356)](_0x9e7c34),_0x471109,void 0x0,_0x4b9245);}));}function _0x25c0b4(_0x3273f0,_0x2a2ed6,_0x580a55){const _0x3cec1b=_0x1db088;var _0x5967d2=_0x52faec({},_0x3273f0[_0x3cec1b(0x237)]);_0x580a55!=null&&_0x580a55[_0x3cec1b(0x37e)]&&_0x5967d2[_0x3cec1b(0x437)]===_0x3cec1b(0x37e)&&(_0x5967d2[_0x3cec1b(0x437)]=_0x580a55['colorChannel1']),_0x3273f0[_0x3cec1b(0x208)]==='mask'&&_0x5967d2['id']&&(_0x5967d2['id']=_0x5967d2['id']+_0x2a2ed6['idSuffix']),Object[_0x3cec1b(0x430)](_0x5967d2)[_0x3cec1b(0x2c6)](function(_0x5aef5f){const _0x4fcc51=_0x3cec1b;var _0x8c2157=_0x5aef5f[0x0],_0x4f8bc4=_0x5aef5f[0x1];_0x8c2157==='mask'&&typeof _0x4f8bc4==_0x4fcc51(0x308)&&(_0x5967d2[_0x8c2157]=_0x4f8bc4[_0x4fcc51(0x334)](/url\(#(.*)\)/,_0x4fcc51(0x398)[_0x4fcc51(0x356)](_0x2a2ed6[_0x4fcc51(0x2e9)],')')));});var _0x32ed34=_0x2a2ed6[_0x3cec1b(0x381)];return!_0x32ed34||_0x32ed34[_0x3cec1b(0x301)]===0x0||(_0x3273f0[_0x3cec1b(0x208)]==='use'&&_0x5967d2[_0x3cec1b(0x265)]&&(_0x5967d2[_0x3cec1b(0x265)]=_0x5967d2[_0x3cec1b(0x265)]+_0x2a2ed6[_0x3cec1b(0x2e9)]),Object['entries'](_0x5967d2)[_0x3cec1b(0x2c6)](function(_0x420672){const _0x52de4a=_0x3cec1b;var _0x3215b4=_0x420672[0x0],_0x24b100=_0x420672[0x1];typeof _0x24b100==_0x52de4a(0x308)&&(_0x5967d2[_0x3215b4]=_0x24b100[_0x52de4a(0x334)](/url\(#(.*)\)/,_0x52de4a(0x398)[_0x52de4a(0x356)](_0x2a2ed6[_0x52de4a(0x2e9)],')')));})),_0x5967d2;}function _0x298a7f(_0xf60ecf,_0xee1263){const _0x49128b=_0x1db088;var _0x13afff,_0x67183a=_0xee1263[_0x49128b(0x381)];return!_0x67183a||_0x67183a[_0x49128b(0x301)]===0x0?_0xf60ecf:_0xf60ecf[_0x49128b(0x208)]===_0x49128b(0x42c)&&(!((_0x13afff=_0xf60ecf['children'])===null||_0x13afff===void 0x0)&&_0x13afff[_0x49128b(0x301)])?_0x52faec(_0x52faec({},_0xf60ecf),{'children':_0xf60ecf[_0x49128b(0x226)]['map'](function(_0x45650e){const _0x1101b2=_0x49128b;return typeof _0x45650e[_0x1101b2(0x237)]['id']==_0x1101b2(0x308)&&_0x67183a&&_0x67183a['includes'](_0x45650e[_0x1101b2(0x237)]['id'])?_0x52faec(_0x52faec({},_0x45650e),{'attrs':_0x52faec(_0x52faec({},_0x45650e[_0x1101b2(0x237)]),{'id':_0x45650e[_0x1101b2(0x237)]['id']+_0xee1263[_0x1101b2(0x2e9)]})}):_0x45650e;})}):_0xf60ecf;}function _0x565cb8(){const _0x4e8b6a=_0x1db088;return Math['random']()[_0x4e8b6a(0x3d1)](0x24)[_0x4e8b6a(0x2f5)](0x2,0x8);}_0x3bddd6[_0x1db088(0x2d1)]=_0x1db088(0x337);var _0x315f4b={'tag':_0x1db088(0x3a2),'attrs':{'xmlns':_0x1db088(0x3ff),'fill':_0x1db088(0x26b),'viewBox':_0x1db088(0x305),'width':_0x1db088(0x33a),'height':_0x1db088(0x33a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1db088(0x1ec),'attrs':{'stroke':_0x1db088(0x3e7),'d':_0x1db088(0x2f0),'strokeLinecap':_0x1db088(0x321),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1db088(0x42c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1db088(0x216)},'children':[{'tag':_0x1db088(0x1ec),'attrs':{'fill':_0x1db088(0x3c2),'d':_0x1db088(0x441)}}]}]}],'defIds':[_0x1db088(0x216)]},_0x5ac85c=_0x2e1d69[_0x1db088(0x1f6)](function(_0xed62b2,_0x5f50bf){const _0xb0703e=_0x1db088;return _0x2e1d69[_0xb0703e(0x345)](_0x3bddd6,Object[_0xb0703e(0x3a1)]({},_0xed62b2,{'id':_0xb0703e(0x419),'ref':_0x5f50bf,'icon':_0x315f4b}));});_0x5ac85c[_0x1db088(0x2d1)]='OffLineIcon';var _0x56b78a={'tag':_0x1db088(0x3a2),'attrs':{'xmlns':_0x1db088(0x3ff),'fill':'none','viewBox':_0x1db088(0x3c3),'width':_0x1db088(0x33a),'height':_0x1db088(0x33a)},'children':[{'tag':'g','attrs':{'clipPath':_0x1db088(0x2d7)},'children':[{'tag':_0x1db088(0x1ec),'attrs':{'stroke':_0x1db088(0x3e7),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x1db088(0x321),'strokeWidth':1.2}}]},{'tag':_0x1db088(0x42c),'attrs':{},'children':[{'tag':_0x1db088(0x3eb),'attrs':{'id':_0x1db088(0x2a3)},'children':[{'tag':_0x1db088(0x1ec),'attrs':{'fill':_0x1db088(0x3c2),'d':'M0\x200H16V16H0z','transform':_0x1db088(0x1cf)}}]}]}],'defIds':[_0x1db088(0x2a3)]},_0x2ea388=_0x2e1d69[_0x1db088(0x1f6)](function(_0x573bcf,_0x307e38){const _0x719fdb=_0x1db088;return _0x2e1d69[_0x719fdb(0x345)](_0x3bddd6,Object[_0x719fdb(0x3a1)]({},_0x573bcf,{'id':_0x719fdb(0x3e1),'ref':_0x307e38,'icon':_0x56b78a}));});_0x2ea388[_0x1db088(0x2d1)]='OnLineIcon';function _0x57a278(_0x4f1158){const _0x389b71=_0x1db088;switch(_0x4f1158){case _0xbd5b69[_0x389b71(0x25f)][_0x389b71(0x421)]:return _0x389b71(0x335);case _0xbd5b69[_0x389b71(0x25f)][_0x389b71(0x1ce)]:return _0x389b71(0x273);case _0xbd5b69[_0x389b71(0x25f)][_0x389b71(0x42b)]:return'collabStatus.fetchMiss';case _0xbd5b69[_0x389b71(0x25f)]['NOT_COLLAB']:return _0x389b71(0x3f5);case _0xbd5b69['CollaborationStatus'][_0x389b71(0x401)]:case _0xbd5b69[_0x389b71(0x25f)][_0x389b71(0x37a)]:return _0x389b71(0x3b4);case _0xbd5b69['CollaborationStatus'][_0x389b71(0x2d3)]:case _0xbd5b69[_0x389b71(0x25f)][_0x389b71(0x25e)]:return _0x389b71(0x42a);}}function _0x1bfe2d(_0x34da63){const _0x2897c7=_0x1db088,{status$:_0x3f86ef}=_0x34da63,_0x5e7a96=_0x30746c[_0x2897c7(0x2b3)](_0x3f86ef,_0xbd5b69['CollaborationStatus'][_0x2897c7(0x377)]),_0x5b59a4=_0x30746c[_0x2897c7(0x318)](_0x4f68b5[_0x2897c7(0x399)]),_0x116a71=_0x30746c['useDependency'](_0xbd5b69[_0x2897c7(0x274)]),_0x3fae3a=_0x5e7a96!==_0xbd5b69[_0x2897c7(0x25f)][_0x2897c7(0x421)],_0x29cb51=_0x5b59a4['t'](_0x57a278(_0x5e7a96)),_0xa5c9a2=_0x3fae3a?_0x5dca86[_0x2897c7(0x2dd)](_0x2ea388,{}):_0x5dca86['jsx'](_0x5ac85c,{}),_0x232ca3=_0x2e1d69[_0x2897c7(0x3ab)](()=>{const _0x494f42=_0x2897c7;_0x3fae3a||_0x116a71[_0x494f42(0x40a)]();},[_0x3fae3a,_0x116a71]);function _0x1e2640(){const _0x5dc15b=_0x2897c7;return _0x5dca86[_0x5dc15b(0x32f)](_0x5dc15b(0x41b),{'className':'univer-flex\x20univer-items-center','onClick':_0x232ca3,'children':[_0x5dca86[_0x5dc15b(0x2dd)](_0x5dc15b(0x41b),{'className':_0x479bf2['clsx'](_0x5dc15b(0x29e),{'univer-text-green-500':_0x3fae3a,'univer-text-red-500':!_0x3fae3a}),'children':_0xa5c9a2}),_0x5dca86[_0x5dc15b(0x2dd)](_0x5dc15b(0x41b),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x29cb51})]});}return _0x3fae3a?_0x1e2640():_0x5dca86[_0x2897c7(0x2dd)](_0x479bf2['Tooltip'],{'title':_0x5b59a4['t']('collab-client.tooltip.reconnect'),'children':_0x1e2640()});}var _0x1cffe4=Object[_0x1db088(0x3ac)],_0x3b470b=(_0x3b6c2e,_0x5e547a,_0x42ab0b,_0x20ea23)=>{const _0x40d801=_0x1db088;for(var _0x6a3609=_0x20ea23>0x1?void 0x0:_0x20ea23?_0x1cffe4(_0x5e547a,_0x42ab0b):_0x5e547a,_0x181ba2=_0x3b6c2e[_0x40d801(0x301)]-0x1,_0x9a772;_0x181ba2>=0x0;_0x181ba2--)(_0x9a772=_0x3b6c2e[_0x181ba2])&&(_0x6a3609=_0x9a772(_0x6a3609)||_0x6a3609);return _0x6a3609;},_0x581433=(_0x5e164f,_0x28eb91)=>(_0x574ee,_0x14cabc)=>_0x28eb91(_0x574ee,_0x14cabc,_0x5e164f);_0x1fcb7c[_0x1db088(0x2e0)]=class extends _0x4f68b5['Disposable']{constructor(_0x5c4d76,_0x156388,_0x37c194,_0x5171bd){const _0x58ddd3=_0x1db088;super(),_0x50d51d(this,_0x58ddd3(0x36f),new _0xddf3a0['BehaviorSubject'](_0xbd5b69[_0x58ddd3(0x25f)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x5c4d76,this[_0x58ddd3(0x3bd)]=_0x156388,this[_0x58ddd3(0x433)]=_0x37c194,this['_uiPartsService']=_0x5171bd,this[_0x58ddd3(0x385)](),this[_0x58ddd3(0x295)]());}[_0x1db088(0x295)](){const _0x2a0f37=_0x1db088;this[_0x2a0f37(0x26f)](this[_0x2a0f37(0x42f)][_0x2a0f37(0x2a1)][_0x2a0f37(0x405)](_0xddf3a0[_0x2a0f37(0x2f1)](()=>{const _0x22bd7d=_0x2a0f37,_0x576b12=this[_0x22bd7d(0x42f)][_0x22bd7d(0x39a)]();return _0x576b12?this[_0x22bd7d(0x433)][_0x22bd7d(0x3b2)](_0x576b12[_0x22bd7d(0x25d)]()):_0xddf3a0['of'](null);}),_0xddf3a0[_0x2a0f37(0x2f1)](_0x30a9b8=>_0x30a9b8?_0x30a9b8['status$']:_0xddf3a0['of'](_0xbd5b69[_0x2a0f37(0x25f)][_0x2a0f37(0x377)])))['subscribe'](_0x5972be=>{const _0x242228=_0x2a0f37;this[_0x242228(0x36f)][_0x242228(0x431)](_0x5972be);}));}['_initStatusComponent'](){const _0x7d3530=_0x1db088;this['disposeWithMe'](this[_0x7d3530(0x2f2)]['registerComponent'](_0x30746c[_0x7d3530(0x31d)]['HEADER_MENU'],()=>_0x30746c[_0x7d3530(0x256)](_0x1990fb({'status$':this[_0x7d3530(0x36f)][_0x7d3530(0x412)]()}),this[_0x7d3530(0x3bd)])));}},_0x1fcb7c[_0x1db088(0x2e0)]=_0x3b470b([_0x581433(0x0,_0x4f68b5[_0x1db088(0x25a)]),_0x581433(0x1,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x22e)])),_0x581433(0x2,_0x4f68b5[_0x1db088(0x40b)](_0xbd5b69[_0x1db088(0x410)])),_0x581433(0x3,_0x30746c[_0x1db088(0x28f)])],_0x1fcb7c[_0x1db088(0x2e0)]);function _0x1990fb(_0x109034){const {status$:_0x1f6376}=_0x109034;return function(){const _0xf97cdc=_0x57d8;return _0x5dca86[_0xf97cdc(0x2dd)](_0x1bfe2d,{'status$':_0x1f6376});};}var _0x59c317=Object[_0x1db088(0x3ac)],_0x2b980b=(_0x5a4df9,_0x597d10,_0xf4ef97,_0x5972bb)=>{const _0x5f9c91=_0x1db088;for(var _0x5ac5dc=_0x5972bb>0x1?void 0x0:_0x5972bb?_0x59c317(_0x597d10,_0xf4ef97):_0x597d10,_0x4be105=_0x5a4df9[_0x5f9c91(0x301)]-0x1,_0x4bb3b7;_0x4be105>=0x0;_0x4be105--)(_0x4bb3b7=_0x5a4df9[_0x4be105])&&(_0x5ac5dc=_0x4bb3b7(_0x5ac5dc)||_0x5ac5dc);return _0x5ac5dc;},_0xecc0f3=(_0x3dba5b,_0xed93a)=>(_0x3008a4,_0x29101a)=>_0xed93a(_0x3008a4,_0x29101a,_0x3dba5b);let _0x251a99=class extends _0x4f68b5['Disposable']{constructor(_0x2dd85a,_0x36663b,_0x15cc33,_0x96f070,_0x7e837d,_0x3f5754){const _0x55692b=_0x1db088;super(),this[_0x55692b(0x288)]=_0x2dd85a,this[_0x55692b(0x3bf)]=_0x36663b,this[_0x55692b(0x252)]=_0x15cc33,this[_0x55692b(0x2ff)]=_0x96f070,this[_0x55692b(0x2a5)]=_0x7e837d,this['_localeService']=_0x3f5754,this['_setupBeforeClosingHandler'](),this[_0x55692b(0x417)]();}[_0x1db088(0x1fc)](){const _0xd97936=_0x1db088;this[_0xd97936(0x26f)](this['_beforeCloseService'][_0xd97936(0x38d)](()=>{const _0x47cad5=_0xd97936;if(this[_0x47cad5(0x3bf)][_0x47cad5(0x314)][_0x47cad5(0x2a9)])return this[_0x47cad5(0x2fb)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x1db088(0x417)](){const _0x132e40=_0x1db088;this[_0x132e40(0x26f)](this[_0x132e40(0x252)]['event$'][_0x132e40(0x333)](_0x2826f5=>{const _0x35ebad=_0x132e40;_0x2826f5['id']===_0xbd5b69['CollaborationUIEventId'][_0x35ebad(0x1d8)]&&this['_messageService'][_0x35ebad(0x366)]({'type':_0x479bf2['MessageType']['Warning'],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x2826f5['id']===_0xbd5b69[_0x35ebad(0x236)][_0x35ebad(0x2ae)]&&this[_0x35ebad(0x2ff)]['show']({'type':_0x479bf2[_0x35ebad(0x35c)][_0x35ebad(0x32d)],'content':this['_localeService']['t'](_0x35ebad(0x34a))}),_0x2826f5['id']===_0xbd5b69[_0x35ebad(0x236)]['PERMISSION_DENIED']&&this[_0x35ebad(0x2a5)][_0x35ebad(0x366)]({'title':this[_0x35ebad(0x2fb)]['t'](_0x35ebad(0x402)),'content':this[_0x35ebad(0x2fb)]['t'](_0x35ebad(0x435)),'type':'error','duration':0x0}),_0x2826f5['id']===_0xbd5b69['CollaborationUIEventId']['CONFLICT']&&this[_0x35ebad(0x2ff)][_0x35ebad(0x366)]({'type':_0x479bf2[_0x35ebad(0x35c)]['Error'],'content':this[_0x35ebad(0x2fb)]['t']('collaboration.closeRoom')+'('+_0x2826f5[_0x35ebad(0x330)]+')'}),_0x2826f5['id']===_0xbd5b69[_0x35ebad(0x236)]['JOIN_ROOM_FAILED']&&this[_0x35ebad(0x2ff)][_0x35ebad(0x366)]({'type':_0x479bf2[_0x35ebad(0x35c)][_0x35ebad(0x32d)],'content':this[_0x35ebad(0x2fb)]['t'](_0x2826f5[_0x35ebad(0x330)]||'')}),_0x2826f5['id']===_0xbd5b69[_0x35ebad(0x236)][_0x35ebad(0x322)]&&this[_0x35ebad(0x2ff)][_0x35ebad(0x366)]({'type':_0x479bf2[_0x35ebad(0x35c)][_0x35ebad(0x32d)],'content':this[_0x35ebad(0x2fb)]['t'](_0x35ebad(0x1d2))}),_0x2826f5['id']===_0xbd5b69[_0x35ebad(0x236)][_0x35ebad(0x418)]&&this[_0x35ebad(0x2ff)][_0x35ebad(0x366)]({'type':_0x479bf2[_0x35ebad(0x35c)][_0x35ebad(0x394)],'content':this[_0x35ebad(0x2fb)]['t']('session.connection-failed')}),_0x2826f5['id']===_0xbd5b69[_0x35ebad(0x236)][_0x35ebad(0x2de)]&&this['_messageService'][_0x35ebad(0x366)]({'type':_0x479bf2[_0x35ebad(0x35c)][_0x35ebad(0x394)],'content':this[_0x35ebad(0x2fb)]['t'](_0x35ebad(0x3e5))});}));}};_0x251a99=_0x2b980b([_0xecc0f3(0x0,_0x30746c[_0x1db088(0x370)]),_0xecc0f3(0x1,_0xbd5b69[_0x1db088(0x319)]),_0xecc0f3(0x2,_0x4f68b5[_0x1db088(0x40b)](_0xbd5b69['CollaborationUIEventService'])),_0xecc0f3(0x3,_0x30746c[_0x1db088(0x227)]),_0xecc0f3(0x4,_0x30746c[_0x1db088(0x2b7)]),_0xecc0f3(0x5,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5['LocaleService']))],_0x251a99);const _0x4240ed=_0x1db088(0x3ae),_0x45e6e4={},_0x441a98=_0x4f68b5[_0x1db088(0x411)](_0x1db088(0x403));var _0x2e85dd=Object['getOwnPropertyDescriptor'],_0x4f5490=(_0x46a559,_0x4dbd49,_0x35ce06,_0xb400a2)=>{for(var _0x70523=_0xb400a2>0x1?void 0x0:_0xb400a2?_0x2e85dd(_0x4dbd49,_0x35ce06):_0x4dbd49,_0x2b8d57=_0x46a559['length']-0x1,_0x5ec852;_0x2b8d57>=0x0;_0x2b8d57--)(_0x5ec852=_0x46a559[_0x2b8d57])&&(_0x70523=_0x5ec852(_0x70523)||_0x70523);return _0x70523;},_0x38535b=(_0x2a873f,_0x2b334f)=>(_0x2c2e13,_0x4335ed)=>_0x2b334f(_0x2c2e13,_0x4335ed,_0x2a873f);_0x1fcb7c[_0x1db088(0x299)]=class extends _0x4f68b5[_0x1db088(0x386)]{constructor(_0x1d5273,_0x5e8d7d,_0x4d74ed,_0xada5b,_0x3739b4){const _0x52c67c=_0x1db088;super(),this['_urlService']=_0x1d5273,this['_logService']=_0x5e8d7d,this[_0x52c67c(0x2e5)]=_0x4d74ed,this[_0x52c67c(0x1d6)]=_0xada5b,_0x3739b4?_0x3739b4==null||_0x3739b4['whenReady']()['then'](()=>this[_0x52c67c(0x450)]()):(this[_0x52c67c(0x3f8)]['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x52c67c(0x450)]());}async[_0x1db088(0x450)](){const _0x15a5e7=_0x1db088,_0x2f050f=this[_0x15a5e7(0x33c)]['getParam']('unit'),_0x27a675=this['_urlService'][_0x15a5e7(0x27c)](_0x15a5e7(0x432)),_0x555a9a=this['_urlService']['getParam']('subunit');if(!_0x2f050f||!_0x27a675){this[_0x15a5e7(0x3f8)][_0x15a5e7(0x22a)](_0x15a5e7(0x20a),_0x15a5e7(0x3d0));return;}const _0x280df1=await this[_0x15a5e7(0x1d6)][_0x15a5e7(0x271)](_0x2f050f,Number(_0x27a675),_0x555a9a);_0x280df1&&_0x280df1 instanceof _0x4f68b5[_0x15a5e7(0x2a2)]&&this['_setupSubUnitSync'](_0x280df1);}async['_setupSubUnitSync'](_0x38134e){const _0x44aaac=_0x1db088;await this[_0x44aaac(0x1fa)](_0x38134e),_0x38134e[_0x44aaac(0x3ca)][_0x44aaac(0x405)](_0xddf3a0[_0x44aaac(0x447)](this[_0x44aaac(0x1d3)]))[_0x44aaac(0x333)](_0x14c111=>{const _0xc42b98=_0x44aaac;_0x14c111&&this[_0xc42b98(0x264)](_0x14c111);}),this[_0x44aaac(0x33c)]['urlChange$'][_0x44aaac(0x405)](_0xddf3a0[_0x44aaac(0x447)](this[_0x44aaac(0x1d3)]))[_0x44aaac(0x333)](()=>this[_0x44aaac(0x1fa)](_0x38134e));}[_0x1db088(0x264)](_0x40743f,_0x1765fe=!0x1){const _0x2124f3=_0x1db088,_0x71f869=this[_0x2124f3(0x33c)][_0x2124f3(0x27c)](_0x2124f3(0x2dc));_0x40743f[_0x2124f3(0x2ef)]()!==_0x71f869&&this['_urlService']['setParam'](_0x2124f3(0x2dc),_0x40743f[_0x2124f3(0x2ef)](),_0x1765fe);}async[_0x1db088(0x1fa)](_0x53a5e8){const _0x428105=_0x1db088;var _0x7158b6;const _0x5913ba=this[_0x428105(0x33c)][_0x428105(0x27c)](_0x428105(0x2dc));if(!_0x5913ba||!_0x53a5e8[_0x428105(0x2b9)](_0x5913ba)){const _0x5d78a1=_0x53a5e8[_0x428105(0x3ec)]()[0x0],_0xab28b2=_0x53a5e8[_0x428105(0x2b9)](_0x5d78a1);if(!_0xab28b2)return;this[_0x428105(0x264)](_0xab28b2,!0x0),await this[_0x428105(0x2e5)][_0x428105(0x354)](_0x396f37[_0x428105(0x355)]['id'],{'unitId':_0x53a5e8[_0x428105(0x25d)](),'subUnitId':_0x5d78a1});return;}((_0x7158b6=_0x53a5e8[_0x428105(0x2cd)]())==null?void 0x0:_0x7158b6['getSheetId']())!==_0x5913ba&&await this['_commandService']['executeCommand'](_0x396f37[_0x428105(0x355)]['id'],{'unitId':_0x53a5e8[_0x428105(0x25d)](),'subUnitId':_0x5913ba});}},_0x1fcb7c[_0x1db088(0x299)]=_0x4f5490([_0x38535b(0x0,_0x441a98),_0x38535b(0x1,_0x4f68b5[_0x1db088(0x2ac)]),_0x38535b(0x2,_0x4f68b5[_0x1db088(0x1e2)]),_0x38535b(0x3,_0x4f68b5[_0x1db088(0x40b)](_0xbd5b69[_0x1db088(0x219)])),_0x38535b(0x4,_0x4f68b5[_0x1db088(0x1c6)](_0x1314cb[_0x1db088(0x2ee)]))],_0x1fcb7c[_0x1db088(0x299)]);var _0x314937=Object[_0x1db088(0x3ac)],_0x4d7c9f=(_0x2303a0,_0x19aa2a,_0x44cbf2,_0x550dae)=>{for(var _0x46662c=_0x550dae>0x1?void 0x0:_0x550dae?_0x314937(_0x19aa2a,_0x44cbf2):_0x19aa2a,_0x55f956=_0x2303a0['length']-0x1,_0x2ccd47;_0x55f956>=0x0;_0x55f956--)(_0x2ccd47=_0x2303a0[_0x55f956])&&(_0x46662c=_0x2ccd47(_0x46662c)||_0x46662c);return _0x46662c;},_0x2ec4a2=(_0x4dd581,_0x256ab6)=>(_0x18a099,_0x1d567f)=>_0x256ab6(_0x18a099,_0x1d567f,_0x4dd581);let _0x31312d=class{constructor(_0x42a677,_0x20fe38,_0xd12177){const _0x5b1af1=_0x1db088;this[_0x5b1af1(0x3bd)]=_0x42a677,this[_0x5b1af1(0x1d4)]=_0x20fe38,this['_renderManagerService']=_0xd12177;}['transformIMECache'](_0x30bb73){const _0x57126a=_0x1db088;this[_0x57126a(0x2c7)](_0x30bb73),this['_transformPreviousActiveRange'](_0x30bb73);}['transformRemoteChangeset'](_0x102cf1){const _0x366fca=_0x1db088,{unitID:_0x206aa3}=_0x102cf1,_0x3e9bf6=this[_0x366fca(0x285)][_0x366fca(0x43a)](_0x206aa3)[_0x366fca(0x1e0)](_0x5ab0ee[_0x366fca(0x1e7)]),{redoCache:_0x3200ad}=_0x3e9bf6['getUndoRedoMutationParamsCache']();if(_0x3200ad['length']===0x0)return _0x102cf1;let _0x6f1fb=_0x4f68b5[_0x366fca(0x391)][_0x366fca(0x28a)](_0x102cf1['mutations'][0x0]);for(let _0x77e5d3=0x0;_0x77e5d3<_0x3200ad[_0x366fca(0x301)];_0x77e5d3++){const _0x450e7b={'id':'doc.mutation.rich-text-editing','params':{..._0x3200ad[_0x77e5d3]}},_0x102e81=this[_0x366fca(0x1d4)]['transformMutation'](_0x6f1fb,_0x450e7b,!0x1);if(_0x51374a[_0x366fca(0x3db)](_0x102e81))throw _0x102e81[_0x366fca(0x317)];_0x6f1fb=_0x102e81[_0x366fca(0x357)];}return{..._0x4f68b5[_0x366fca(0x391)][_0x366fca(0x28a)](_0x102cf1),'mutations':[_0x6f1fb]};}['_transformUndoRedoStack'](_0x51970b){const _0x33c3a9=_0x1db088,{unitID:_0x477623}=_0x51970b,_0x3dff72=this['_renderManagerService'][_0x33c3a9(0x43a)](_0x477623)[_0x33c3a9(0x1e0)](_0x5ab0ee[_0x33c3a9(0x1e7)]),{undoCache:_0x5b1f18,redoCache:_0xae17a9}=_0x3dff72[_0x33c3a9(0x26e)]();if(_0x5b1f18[_0x33c3a9(0x301)]===0x0||_0xae17a9[_0x33c3a9(0x301)]===0x0)return;const _0xdaf8d0=[],_0x6700cc=[];let _0x7db715=_0x4f68b5[_0x33c3a9(0x391)][_0x33c3a9(0x28a)](_0x51970b[_0x33c3a9(0x218)][0x0]),_0x3947d5=_0x4f68b5[_0x33c3a9(0x391)][_0x33c3a9(0x28a)](_0x51970b[_0x33c3a9(0x218)][0x0]);for(let _0x4b5162=_0x5b1f18[_0x33c3a9(0x301)]-0x1;_0x4b5162>=0x0;_0x4b5162--){const _0x491e1a={'id':_0x33c3a9(0x336),'params':{..._0x5b1f18[_0x4b5162]}},_0x4b846e={'id':_0x33c3a9(0x336),'params':{..._0xae17a9[_0x4b5162]}},_0x46e669=this[_0x33c3a9(0x1d4)][_0x33c3a9(0x35a)](_0x7db715,_0x491e1a,!0x1),_0xf55e50=this[_0x33c3a9(0x1d4)]['transformMutation'](_0x3947d5,_0x4b846e,!0x1);if(_0x51374a[_0x33c3a9(0x3db)](_0x46e669))throw _0x46e669['error'];if(_0x51374a['isTransformMutationFailure'](_0xf55e50))throw _0xf55e50[_0x33c3a9(0x317)];_0xdaf8d0[_0x33c3a9(0x1c2)](_0x46e669[_0x33c3a9(0x346)][_0x33c3a9(0x2eb)]),_0x6700cc[_0x33c3a9(0x1c2)](_0xf55e50[_0x33c3a9(0x346)]['params']),_0x7db715=_0x46e669[_0x33c3a9(0x357)],_0x3947d5=_0xf55e50[_0x33c3a9(0x357)];}_0x3dff72[_0x33c3a9(0x40f)]({'undoCache':_0xdaf8d0,'redoCache':_0x6700cc});}[_0x1db088(0x2ea)](_0x2107c8){const _0xa52efb=_0x1db088,{unitID:_0xfc6583}=_0x2107c8,_0x1b0d03=this['_renderManagerService'][_0xa52efb(0x43a)](_0xfc6583)['with'](_0x5ab0ee[_0xa52efb(0x1e7)]),_0x45fae4=_0x1b0d03[_0xa52efb(0x203)]();if(_0x45fae4==null)return;const _0x498517=[{'id':_0xa52efb(0x336),'params':{'unitId':_0x2107c8[_0xa52efb(0x34c)],'actions':null,'textRanges':[_0x45fae4]}}],_0x194d42=this[_0xa52efb(0x1d4)][_0xa52efb(0x3c5)](_0x2107c8,_0x498517);if(!_0x51374a['isTransformMutationsWithChangesetSuccess'](_0x194d42))throw _0x194d42[_0xa52efb(0x317)];const _0x4020ad=_0x194d42[_0xa52efb(0x346)][0x0][_0xa52efb(0x2eb)][_0xa52efb(0x254)];Array[_0xa52efb(0x222)](_0x4020ad)&&_0x4020ad[_0xa52efb(0x301)]&&_0x1b0d03[_0xa52efb(0x303)](_0x4020ad[0x0]);}};_0x31312d=_0x4d7c9f([_0x2ec4a2(0x0,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x22e)])),_0x2ec4a2(0x1,_0x51374a[_0x1db088(0x1c4)]),_0x2ec4a2(0x2,_0x18a418[_0x1db088(0x404)])],_0x31312d);var _0x1e01fa=Object['getOwnPropertyDescriptor'],_0x2fb572=(_0x210f40,_0x155df3,_0x508997,_0x3a4371)=>{const _0x13cd0a=_0x1db088;for(var _0x1d3c9f=_0x3a4371>0x1?void 0x0:_0x3a4371?_0x1e01fa(_0x155df3,_0x508997):_0x155df3,_0x51b7d3=_0x210f40[_0x13cd0a(0x301)]-0x1,_0x19ab1b;_0x51b7d3>=0x0;_0x51b7d3--)(_0x19ab1b=_0x210f40[_0x51b7d3])&&(_0x1d3c9f=_0x19ab1b(_0x1d3c9f)||_0x1d3c9f);return _0x1d3c9f;},_0xddebca=(_0x2c3f32,_0x59dd52)=>(_0x41610e,_0x9e4c84)=>_0x59dd52(_0x41610e,_0x9e4c84,_0x2c3f32);let _0x499b43=class{constructor(_0x44e20d,_0x118800,_0x53f93a){const _0x77e000=_0x1db088;this[_0x77e000(0x3bd)]=_0x44e20d,this[_0x77e000(0x1d4)]=_0x118800,this[_0x77e000(0x35e)]=_0x53f93a;}[_0x1db088(0x2be)](_0x2f3290){const _0x4deec8=_0x1db088;this[_0x4deec8(0x1f3)](_0x2f3290);}[_0x1db088(0x37d)](_0x50cae7){const _0x19440b=_0x1db088,{unitID:_0x8321ef}=_0x50cae7,{collaboration:_0x2b9d0e}=this[_0x19440b(0x35e)][_0x19440b(0x3c9)](_0x8321ef);if(_0x2b9d0e[_0x19440b(0x301)]===0x0)return _0x50cae7;let _0x102799=_0x4f68b5['Tools'][_0x19440b(0x28a)](_0x50cae7[_0x19440b(0x218)][0x0]);for(let _0x446d3a=0x0;_0x446d3a<_0x2b9d0e[_0x19440b(0x301)];_0x446d3a++){const _0x518729={'id':_0x19440b(0x336),'params':{'unitId':_0x2b9d0e[_0x446d3a]['unitId'],..._0x2b9d0e[_0x446d3a]['redoState']}},_0x5045df=this['_transformService'][_0x19440b(0x35a)](_0x102799,_0x518729,!0x1);if(_0x51374a[_0x19440b(0x3db)](_0x5045df))throw _0x5045df[_0x19440b(0x317)];_0x102799=_0x5045df[_0x19440b(0x357)];}return{..._0x4f68b5['Tools']['deepClone'](_0x50cae7),'mutations':[_0x102799]};}[_0x1db088(0x1f3)](_0x1a028f){const _0x388e80=_0x1db088,{unitID:_0x4557ba}=_0x1a028f,{history:_0x2e8bfb,collaboration:_0x2644b2}=this[_0x388e80(0x35e)][_0x388e80(0x3c9)](_0x4557ba);if(_0x2e8bfb[_0x388e80(0x301)]===0x0&&_0x2644b2[_0x388e80(0x301)]===0x0)return;const _0x57e07f=[],_0x5a18b1=[];let _0x32d26e=_0x4f68b5[_0x388e80(0x391)]['deepClone'](_0x1a028f['mutations'][0x0]),_0x225fe8=_0x4f68b5[_0x388e80(0x391)][_0x388e80(0x28a)](_0x1a028f[_0x388e80(0x218)][0x0]);for(let _0x135d71=_0x2e8bfb[_0x388e80(0x301)]-0x1;_0x135d71>=0x0;_0x135d71--){const _0x25c69c={'id':_0x388e80(0x336),'params':{'unitId':_0x2e8bfb[_0x135d71][_0x388e80(0x300)],..._0x2e8bfb[_0x135d71][_0x388e80(0x2df)]}},_0x16945c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e8bfb[_0x135d71][_0x388e80(0x300)],..._0x2e8bfb[_0x135d71]['redoState']}},_0x3bb837=this[_0x388e80(0x1d4)]['transformMutation'](_0x32d26e,_0x25c69c,!0x1),_0x1699f0=this[_0x388e80(0x1d4)][_0x388e80(0x35a)](_0x225fe8,_0x16945c,!0x1);if(_0x51374a[_0x388e80(0x3db)](_0x3bb837))throw _0x3bb837['error'];if(_0x51374a[_0x388e80(0x3db)](_0x1699f0))throw _0x1699f0['error'];_0x57e07f[_0x388e80(0x1c2)]({..._0x2e8bfb[_0x135d71],'undoState':_0x3bb837[_0x388e80(0x346)]['params'],'redoState':_0x1699f0['m2Prime']['params']}),_0x32d26e=_0x3bb837[_0x388e80(0x357)],_0x225fe8=_0x1699f0[_0x388e80(0x357)];}_0x32d26e=_0x4f68b5[_0x388e80(0x391)][_0x388e80(0x28a)](_0x1a028f[_0x388e80(0x218)][0x0]),_0x225fe8=_0x4f68b5['Tools']['deepClone'](_0x1a028f['mutations'][0x0]);for(let _0x1f9e9e=_0x2644b2[_0x388e80(0x301)]-0x1;_0x1f9e9e>=0x0;_0x1f9e9e--){const _0x5c3b0f={'id':_0x388e80(0x336),'params':{'unitId':_0x2644b2[_0x1f9e9e][_0x388e80(0x300)],..._0x2644b2[_0x1f9e9e][_0x388e80(0x2df)]}},_0x46a4b0={'id':_0x388e80(0x336),'params':{'unitId':_0x2644b2[_0x1f9e9e][_0x388e80(0x300)],..._0x2644b2[_0x1f9e9e][_0x388e80(0x3e2)]}},_0x47f0ea=this['_transformService']['transformMutation'](_0x32d26e,_0x5c3b0f,!0x1),_0x55655f=this[_0x388e80(0x1d4)][_0x388e80(0x35a)](_0x225fe8,_0x46a4b0,!0x1);if(_0x51374a[_0x388e80(0x3db)](_0x47f0ea))throw _0x47f0ea[_0x388e80(0x317)];if(_0x51374a[_0x388e80(0x3db)](_0x55655f))throw _0x55655f[_0x388e80(0x317)];_0x5a18b1[_0x388e80(0x1c2)]({..._0x2644b2[_0x1f9e9e],'undoState':_0x47f0ea[_0x388e80(0x346)][_0x388e80(0x2eb)],'redoState':_0x55655f['m2Prime'][_0x388e80(0x2eb)]}),_0x32d26e=_0x47f0ea[_0x388e80(0x357)],_0x225fe8=_0x55655f[_0x388e80(0x357)];}this[_0x388e80(0x35e)][_0x388e80(0x363)](_0x4557ba,{'history':_0x57e07f,'collaboration':_0x5a18b1});}};_0x499b43=_0x2fb572([_0xddebca(0x0,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x22e)])),_0xddebca(0x1,_0x51374a[_0x1db088(0x1c4)]),_0xddebca(0x2,_0x4f68b5[_0x1db088(0x40b)](_0x5ab0ee['DocStateChangeManagerService']))],_0x499b43);var _0x111d44=Object[_0x1db088(0x3ac)],_0x31f0d1=(_0x29780d,_0x3b9f62,_0x3c5e02,_0x544813)=>{for(var _0x5f4dbe=_0x544813>0x1?void 0x0:_0x544813?_0x111d44(_0x3b9f62,_0x3c5e02):_0x3b9f62,_0x84bbf4=_0x29780d['length']-0x1,_0x118499;_0x84bbf4>=0x0;_0x84bbf4--)(_0x118499=_0x29780d[_0x84bbf4])&&(_0x5f4dbe=_0x118499(_0x5f4dbe)||_0x5f4dbe);return _0x5f4dbe;},_0xbc224d=(_0x4c5373,_0x367883)=>(_0x38a520,_0x103358)=>_0x367883(_0x38a520,_0x103358,_0x4c5373);let _0xeca411=class{constructor(_0x4eb1f6,_0xd4d673){const _0x2e42a5=_0x1db088;this[_0x2e42a5(0x3bd)]=_0x4eb1f6,this[_0x2e42a5(0x1d4)]=_0xd4d673;}[_0x1db088(0x1ff)](_0x5ee8a3){const _0x32faa0=_0x1db088;var _0x20cc40;const _0x422fe4=this[_0x32faa0(0x3bd)]['get'](_0x3c2c13[_0x32faa0(0x215)]),_0x4f4fc4=(_0x20cc40=_0x422fe4[_0x32faa0(0x3dc)]())!=null?_0x20cc40:[];if(_0x4f4fc4[_0x32faa0(0x301)]===0x0)return;const _0x4061bc=_0x5ee8a3[_0x32faa0(0x34c)],_0x4d265c=[{'id':_0x32faa0(0x336),'params':{'unitId':_0x4061bc,'actions':null,'textRanges':_0x4f4fc4}}],_0x4783ab=this['_transformService'][_0x32faa0(0x3c5)](_0x5ee8a3,_0x4d265c);if(!_0x51374a[_0x32faa0(0x289)](_0x4783ab))throw _0x4783ab[_0x32faa0(0x317)];const _0x30aaed=_0x4783ab[_0x32faa0(0x346)][0x0]['params'][_0x32faa0(0x254)];Array[_0x32faa0(0x222)](_0x30aaed)&&_0x30aaed[_0x32faa0(0x301)]&&_0x422fe4['replaceDocRanges'](_0x30aaed,{'unitId':_0x4061bc,'subUnitId':_0x4061bc},!0x1);}};_0xeca411=_0x31f0d1([_0xbc224d(0x0,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x22e)])),_0xbc224d(0x1,_0x51374a[_0x1db088(0x1c4)])],_0xeca411);var _0x49a148=Object[_0x1db088(0x3ac)],_0x308d59=(_0x693017,_0x3453c6,_0x1c55fe,_0x4e69b3)=>{const _0x195cf1=_0x1db088;for(var _0x2b54cb=_0x4e69b3>0x1?void 0x0:_0x4e69b3?_0x49a148(_0x3453c6,_0x1c55fe):_0x3453c6,_0x170ee8=_0x693017[_0x195cf1(0x301)]-0x1,_0x3a9adc;_0x170ee8>=0x0;_0x170ee8--)(_0x3a9adc=_0x693017[_0x170ee8])&&(_0x2b54cb=_0x3a9adc(_0x2b54cb)||_0x2b54cb);return _0x2b54cb;},_0x6fe252=(_0x35704c,_0x15a4f4)=>(_0x9bb4f,_0x4a6ed1)=>_0x15a4f4(_0x9bb4f,_0x4a6ed1,_0x35704c);let _0x4f0beb=class extends _0x4f68b5[_0x1db088(0x3e3)]{constructor(_0x2dfffe,_0xde28a3,_0x1bec7e,_0x42136d,_0x3589aa,_0xb77768,_0x4b8cb3,_0x5de30b){const _0x35af58=_0x1db088;super(),_0x50d51d(this,'_status$',new _0xddf3a0['BehaviorSubject'](_0xbd5b69[_0x35af58(0x25f)][_0x35af58(0x377)])),(this[_0x35af58(0x35e)]=_0x2dfffe,this['_collaborationController']=_0xde28a3,this[_0x35af58(0x31c)]=_0x1bec7e,this[_0x35af58(0x1fe)]=_0x42136d,this[_0x35af58(0x245)]=_0x3589aa,this[_0x35af58(0x324)]=_0xb77768,this['_messageService']=_0x4b8cb3,this['_localeService']=_0x5de30b,this[_0x35af58(0x20e)]());}['_initEntityListener'](){const _0x53c29f=_0x1db088;this[_0x53c29f(0x26f)](this['_collaborationController'][_0x53c29f(0x1de)]['subscribe'](_0x541575=>{const _0x518244=_0x53c29f,_0xb8c54e=this[_0x518244(0x35e)]['docStateChange$'][_0x518244(0x333)](_0x259e0a=>{const _0x5b9436=_0x518244;if(_0x259e0a==null)return;const {unitId:_0x29a935,redoState:_0x4b0372,commandId:_0x1958da}=_0x259e0a;if(_0x29a935!==_0x541575['unitID'])return;const _0x59a05c={'id':_0x1958da,'type':_0x4f68b5[_0x5b9436(0x26a)]['MUTATION'],'params':{'unitId':_0x29a935,'actions':_0x4b0372[_0x5b9436(0x28e)],'textRanges':null}};_0x541575[_0x5b9436(0x41d)](_0x59a05c);});if(_0x541575[_0x518244(0x26f)](_0xb8c54e),_0x541575 instanceof _0xbd5b69[_0x518244(0x247)]){const _0x35766d={'onTransformIME':_0x271d43=>this['_docTransformIMECacheService'][_0x518244(0x395)](_0x271d43),'onTransformState':_0x2355b1=>this[_0x518244(0x1fe)][_0x518244(0x2be)](_0x2355b1),'onTransformSelections':_0x2a94a2=>this[_0x518244(0x245)][_0x518244(0x1ff)](_0x2a94a2),'onSyncEditingCollabCursor':_0x610408=>this[_0x518244(0x324)][_0x518244(0x2b4)](_0x610408),'onTransformRemoteChangesetByIMECache':_0x47dd82=>this[_0x518244(0x31c)][_0x518244(0x37d)](_0x47dd82),'onTransformRemoteChangesetByStateCache':_0x9709de=>this[_0x518244(0x1fe)]['transformRemoteChangeset'](_0x9709de)};_0x541575[_0x518244(0x1c3)](_0x35766d);}}));}};_0x4f0beb=_0x308d59([_0x6fe252(0x0,_0x4f68b5[_0x1db088(0x40b)](_0x5ab0ee[_0x1db088(0x291)])),_0x6fe252(0x1,_0x4f68b5[_0x1db088(0x40b)](_0xbd5b69['CollaborationController'])),_0x6fe252(0x2,_0x4f68b5[_0x1db088(0x40b)](_0x31312d)),_0x6fe252(0x3,_0x4f68b5[_0x1db088(0x40b)](_0x499b43)),_0x6fe252(0x4,_0x4f68b5[_0x1db088(0x40b)](_0xeca411)),_0x6fe252(0x5,_0x4f68b5[_0x1db088(0x40b)](_0x361087)),_0x6fe252(0x6,_0x30746c[_0x1db088(0x227)]),_0x6fe252(0x7,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5['LocaleService']))],_0x4f0beb);var _0x1e7415=Object['getOwnPropertyDescriptor'],_0xa7df46=(_0x1cea7f,_0x371b3b,_0xf6ca39,_0x47d223)=>{for(var _0x57928c=_0x47d223>0x1?void 0x0:_0x47d223?_0x1e7415(_0x371b3b,_0xf6ca39):_0x371b3b,_0xda106f=_0x1cea7f['length']-0x1,_0x406a80;_0xda106f>=0x0;_0xda106f--)(_0x406a80=_0x1cea7f[_0xda106f])&&(_0x57928c=_0x406a80(_0x57928c)||_0x57928c);return _0x57928c;},_0x37dd57=(_0x4bdff4,_0x41e432)=>(_0x5a50bf,_0x4b8fe0)=>_0x41e432(_0x5a50bf,_0x4b8fe0,_0x4bdff4);let _0x3074bf=class extends _0x4f68b5[_0x1db088(0x3e3)]{constructor(_0x5c9293,_0x27986e,_0x27090f){const _0x49db0c=_0x1db088;super(),_0x50d51d(this,_0x49db0c(0x234),new Map()),_0x50d51d(this,'_saveTaskMap',new Map()),_0x50d51d(this,_0x49db0c(0x2c9),!0x1),(this[_0x49db0c(0x31e)]=_0x5c9293,this[_0x49db0c(0x1dc)]=_0x27986e,this[_0x49db0c(0x2f3)]=_0x27090f);}[_0x1db088(0x439)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x2c6e4e=_0x1db088;this[_0x2c6e4e(0x2c9)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x1db088(0x29c)](){const _0xb5166c=_0x1db088;this[_0xb5166c(0x266)]()[_0xb5166c(0x406)](()=>super[_0xb5166c(0x29c)]());}async[_0x1db088(0x2ed)](_0x3e5fea){const _0x4a33c0=_0x1db088;return this[_0x4a33c0(0x2c9)]?null:this['_localStorageService'][_0x4a33c0(0x44f)](_0xbd5b69['getLocalCacheKey'](_0x3e5fea));}async['saveOfflineData'](_0x16227e,_0x3c8792){const _0x31bf28=_0x1db088;return!!this['_localStorageService'][_0x31bf28(0x378)](_0x16227e,_0x3c8792);}[_0x1db088(0x3a9)](_0x94881,_0x1160a5,_0x20cbe6,_0x43da31){const _0xdf25a6=_0x1db088,_0x22d420=this['_revisionService'][_0xdf25a6(0x287)](_0x94881);this[_0xdf25a6(0x234)][_0xdf25a6(0x3f6)](_0x94881,{'unitID':_0x94881,'type':_0x1160a5,'awaitingChangeset':_0x20cbe6,'mutations':_0x43da31,'rev':_0x22d420}),this[_0xdf25a6(0x361)][_0xdf25a6(0x31f)](_0x94881)||this[_0xdf25a6(0x3bb)](_0x94881);}['_scheduleSaving'](_0x3ac1ab){const _0x2a9fc1=_0x1db088,_0x168e04=this[_0x2a9fc1(0x27a)]();_0x168e04===0x0?this[_0x2a9fc1(0x328)](_0x3ac1ab):this['_saveTaskMap'][_0x2a9fc1(0x3f6)](_0x3ac1ab,setTimeout(()=>this['_saveCache'](_0x3ac1ab),_0x168e04));}['_getSaveTimeout'](){const _0x279a27=_0x1db088;var _0x19c3d4;return(_0x19c3d4=this[_0x279a27(0x31e)][_0x279a27(0x40c)](_0xbd5b69[_0x279a27(0x3b3)]))!=null?_0x19c3d4:_0xbd5b69[_0x279a27(0x2a8)];}[_0x1db088(0x328)](_0x2c37c4){const _0xbad290=_0x1db088,_0x644216=this['_saveTaskMap'][_0xbad290(0x38a)](_0x2c37c4);return _0x644216!==void 0x0&&window[_0xbad290(0x35d)](_0x644216),this['_localStorageService']['setItem'](_0xbd5b69[_0xbad290(0x3b9)](_0x2c37c4),this[_0xbad290(0x234)][_0xbad290(0x38a)](_0x2c37c4))[_0xbad290(0x406)](()=>this[_0xbad290(0x361)]['delete'](_0x2c37c4));}async['exhaustSavingTask'](){const _0x5831c6=_0x1db088,_0x1a6fcc=[];this[_0x5831c6(0x361)][_0x5831c6(0x2c6)]((_0x2cae51,_0x539145)=>{const _0xdfbaf7=_0x5831c6;window[_0xdfbaf7(0x35d)](_0x2cae51),_0x1a6fcc[_0xdfbaf7(0x2c5)](this['_saveCache'](_0x539145)[_0xdfbaf7(0x406)](()=>{const _0x391ca4=_0xdfbaf7;this[_0x391ca4(0x361)]['delete'](_0x539145);}));}),await Promise['all'](_0x1a6fcc);}};_0x3074bf=_0xa7df46([_0x37dd57(0x0,_0x4f68b5[_0x1db088(0x379)]),_0x37dd57(0x1,_0x4f68b5[_0x1db088(0x43f)]),_0x37dd57(0x2,_0x4f68b5['Inject'](_0x51374a[_0x1db088(0x3d2)]))],_0x3074bf);class _0xb3d70d extends _0x4f68b5[_0x1db088(0x386)]{constructor(){const _0x5d6d71=_0x1db088;super(),_0x50d51d(this,'urlChange$'),this[_0x5d6d71(0x40d)]=_0xddf3a0[_0x5d6d71(0x296)](window,'popstate')[_0x5d6d71(0x405)](_0xddf3a0[_0x5d6d71(0x447)](this['dispose$']),_0xddf3a0['shareReplay'](0x1),_0xddf3a0[_0x5d6d71(0x368)](void 0x0));}[_0x1db088(0x1ee)](_0x1e13e8,_0x21c895,_0x424380=!0x1){const _0x1d4cf7=_0x1db088,_0x50f640=new URL(window[_0x1d4cf7(0x267)]['href']);_0x50f640[_0x1d4cf7(0x33b)][_0x1d4cf7(0x3f6)](_0x1e13e8,_0x21c895),_0x424380?window[_0x1d4cf7(0x2d2)][_0x1d4cf7(0x1fd)]('','',_0x50f640['toString']()):window[_0x1d4cf7(0x2d2)][_0x1d4cf7(0x1d0)]('','',_0x50f640[_0x1d4cf7(0x3d1)]());}[_0x1db088(0x2e3)](_0x3fa0b1,_0x3d063c=!0x1){const _0x5b9d57=_0x1db088,_0x299bfc=new URL(window[_0x5b9d57(0x267)][_0x5b9d57(0x2fd)]);_0x299bfc[_0x5b9d57(0x33b)][_0x5b9d57(0x22d)](_0x3fa0b1),_0x3d063c?window[_0x5b9d57(0x2d2)]['replaceState']('','',_0x299bfc[_0x5b9d57(0x3d1)]()):window[_0x5b9d57(0x2d2)][_0x5b9d57(0x1d0)]('','',_0x299bfc[_0x5b9d57(0x3d1)]());}[_0x1db088(0x27c)](_0x59ea9c){const _0x3c0dc9=_0x1db088;var _0x1937d5;return(_0x1937d5=new URL(window[_0x3c0dc9(0x267)][_0x3c0dc9(0x2fd)])[_0x3c0dc9(0x33b)][_0x3c0dc9(0x38a)](_0x59ea9c))!=null?_0x1937d5:void 0x0;}}var _0xa0bb7f=Object['defineProperty'],_0x4b99ee=Object[_0x1db088(0x3ac)],_0x220cf8=(_0x1a25eb,_0x2b2a73,_0x4bb789)=>_0x2b2a73 in _0x1a25eb?_0xa0bb7f(_0x1a25eb,_0x2b2a73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4bb789}):_0x1a25eb[_0x2b2a73]=_0x4bb789,_0x5cc3a0=(_0x1738fa,_0x1a62c1,_0x20d614,_0x15990d)=>{const _0x5d8e93=_0x1db088;for(var _0x12854e=_0x15990d>0x1?void 0x0:_0x15990d?_0x4b99ee(_0x1a62c1,_0x20d614):_0x1a62c1,_0xd5548e=_0x1738fa[_0x5d8e93(0x301)]-0x1,_0x4a5b76;_0xd5548e>=0x0;_0xd5548e--)(_0x4a5b76=_0x1738fa[_0xd5548e])&&(_0x12854e=_0x4a5b76(_0x12854e)||_0x12854e);return _0x12854e;},_0x5d6819=(_0x4d5dd8,_0x2e9cf8)=>(_0x532012,_0x12d55c)=>_0x2e9cf8(_0x532012,_0x12d55c,_0x4d5dd8),_0x2871b9=(_0x3348c0,_0x1f4b5b,_0x57fcb8)=>_0x220cf8(_0x3348c0,_0x1f4b5b+'',_0x57fcb8);const _0x532137=_0x1db088(0x1bc);_0x1fcb7c[_0x1db088(0x31b)]=class extends _0x4f68b5[_0x1db088(0x294)]{constructor(_0x167c14=_0x45e6e4,_0x5cbcab,_0x3d3ab7,_0x5bdfc9){const _0x4b7843=_0x1db088;super(),this[_0x4b7843(0x2af)]=_0x167c14,this[_0x4b7843(0x285)]=_0x5cbcab,this[_0x4b7843(0x3bd)]=_0x3d3ab7,this[_0x4b7843(0x31e)]=_0x5bdfc9;const {..._0x619314}=_0x4f68b5[_0x4b7843(0x26c)]({},_0x45e6e4,this[_0x4b7843(0x2af)]);this[_0x4b7843(0x31e)][_0x4b7843(0x2e6)](_0x4240ed,_0x619314);}['onStarting'](){const _0x5c6911=_0x1db088;this[_0x5c6911(0x25c)](),this['_initDependencies']();}['onRendered'](){const _0xbdb149=_0x1db088;this[_0xbdb149(0x224)]();}['_registerDependencies'](){const _0x454308=_0x1db088;var _0x111155;const _0x32843c=[[_0x551d66],[_0xeca411],[_0x31312d],[_0x499b43],[_0x361087],[_0x441a98,{'useClass':_0xb3d70d}],[_0xf95921[_0x454308(0x27b)],{'useClass':_0xf95921['WebSocketService']}],[_0xbd5b69['ILocalCacheService'],{'useClass':_0x3074bf}],[_0x1fcb7c[_0x454308(0x2e0)]],[_0x4f0beb],[_0x251a99],[_0x3f7994],[_0x355c93],[_0x1fcb7c['CollaborationDataLoaderController']]];_0x4f68b5[_0x454308(0x1cb)](this[_0x454308(0x3bd)],_0x4f68b5[_0x454308(0x23b)](_0x32843c,(_0x111155=this[_0x454308(0x2af)])==null?void 0x0:_0x111155[_0x454308(0x304)]));}['_registerRenderDependencies'](){const _0x546ba7=_0x1db088;this['disposeWithMe'](this[_0x546ba7(0x285)][_0x546ba7(0x3ed)](_0x4f68b5[_0x546ba7(0x217)]['UNIVER_DOC'],[_0x13697a])),this[_0x546ba7(0x26f)](this[_0x546ba7(0x285)][_0x546ba7(0x3ed)](_0x4f68b5['UniverInstanceType'][_0x546ba7(0x30a)],[_0x70a592]));}[_0x1db088(0x2b6)](){const _0x20297c=_0x1db088;_0x4f68b5['touchDependencies'](this[_0x20297c(0x3bd)],[[_0x3f7994],[_0x1fcb7c[_0x20297c(0x2e0)]],[_0x4f0beb],[_0x251a99],[_0x1fcb7c[_0x20297c(0x299)]]]);}},_0x2871b9(_0x1fcb7c[_0x1db088(0x31b)],_0x1db088(0x2f7),_0x532137),_0x1fcb7c[_0x1db088(0x31b)]=_0x5cc3a0([_0x4f68b5[_0x1db088(0x32c)](_0xbd5b69[_0x1db088(0x3d4)]),_0x5d6819(0x1,_0x18a418[_0x1db088(0x404)]),_0x5d6819(0x2,_0x4f68b5['Inject'](_0x4f68b5['Injector'])),_0x5d6819(0x3,_0x4f68b5[_0x1db088(0x379)])],_0x1fcb7c['UniverCollaborationClientUIPlugin']);var _0x2524ec=Object['getOwnPropertyDescriptor'],_0x2a2eb4=(_0x14c877,_0x48a199,_0x14dad4,_0x194552)=>{const _0x299fe4=_0x1db088;for(var _0x575026=_0x194552>0x1?void 0x0:_0x194552?_0x2524ec(_0x48a199,_0x14dad4):_0x48a199,_0x13670a=_0x14c877[_0x299fe4(0x301)]-0x1,_0x3f3333;_0x13670a>=0x0;_0x13670a--)(_0x3f3333=_0x14c877[_0x13670a])&&(_0x575026=_0x3f3333(_0x575026)||_0x575026);return _0x575026;},_0x28c8fd=(_0x3d1c7c,_0x2c6fdf)=>(_0x3e9149,_0x18945c)=>_0x2c6fdf(_0x3e9149,_0x18945c,_0x3d1c7c);_0x1fcb7c[_0x1db088(0x36b)]=class extends _0xbd5b69[_0x1db088(0x2d5)]{constructor(_0x496e37,_0x4f49ef,_0x167cf8,_0x53672c,_0x3fd037){super(_0x496e37,_0x4f49ef,_0x167cf8,_0x53672c,_0x3fd037);}async[_0x1db088(0x260)](_0x31fd6d){const _0x3fc17a=_0x1db088,_0x195598=await this['_getSessionTicket'](),_0x17ad95=this[_0x3fc17a(0x451)](_0x31fd6d,_0x195598);return this[_0x3fc17a(0x292)](_0x17ad95);}[_0x1db088(0x451)](_0x9c7981,_0x1033bd){const _0x375e83=_0x1db088,_0x4d197a=typeof window>'u'?new URL(_0x9c7981):new URL(_0x9c7981,window[_0x375e83(0x267)][_0x375e83(0x2cc)]);_0x4d197a[_0x375e83(0x33b)][_0x375e83(0x3f6)]('sessionTicket',_0x1033bd);const _0x395748=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x395748[_0x375e83(0x38a)]('runId')&&_0x4d197a[_0x375e83(0x33b)]['set'](_0x375e83(0x3d8),_0x395748['get'](_0x375e83(0x3d8))),_0x4d197a[_0x375e83(0x3d1)]();}async[_0x1db088(0x259)](){const _0x513460=_0x1db088;var _0x210f54,_0x4eabf3,_0x28c2e3;const _0x9267d7=this[_0x513460(0x31e)]['getConfig'](_0xbd5b69[_0x513460(0x3e0)]),_0x51a1b4=(_0x210f54=_0x9267d7==null?void 0x0:_0x9267d7[_0x513460(0x3f4)])!=null?_0x210f54:_0xbd5b69['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x28c2e3=(_0x4eabf3=(await this[_0x513460(0x269)][_0x513460(0x38a)](_0x51a1b4,{'headers':{'Content-Type':_0x513460(0x3fb)}}))['body'])==null?void 0x0:_0x4eabf3[_0x513460(0x257)])!=null?_0x28c2e3:'';}},_0x1fcb7c[_0x1db088(0x36b)]=_0x2a2eb4([_0x28c8fd(0x0,_0x4f68b5[_0x1db088(0x40b)](_0x4f68b5[_0x1db088(0x22e)])),_0x28c8fd(0x1,_0x4f68b5[_0x1db088(0x40b)](_0xf95921['HTTPService'])),_0x28c8fd(0x2,_0x4f68b5[_0x1db088(0x379)]),_0x28c8fd(0x3,_0x4f68b5[_0x1db088(0x2ac)]),_0x28c8fd(0x4,_0x51374a[_0x1db088(0x383)])],_0x1fcb7c[_0x1db088(0x36b)]);const _0xddce90=0x7530,_0xf8f2eb='ACTIVE_UNIT_EVENT_CHANNEL';class _0x5a1cc6 extends _0x4f68b5[_0x1db088(0x3e3)]{constructor(){const _0x56d5e8=_0x1db088;super(),_0x50d51d(this,_0x56d5e8(0x41c),_0x4f68b5[_0x56d5e8(0x36d)]()),_0x50d51d(this,_0x56d5e8(0x2b5),new Set()),_0x50d51d(this,_0x56d5e8(0x312),new Map()),_0x50d51d(this,_0x56d5e8(0x29f),null),_0x50d51d(this,'_clearOtherTimers',new Map()),_0x50d51d(this,'_unitStatus',new Map()),this[_0x56d5e8(0x450)]();}[_0x1db088(0x29c)](){const _0x4ed344=_0x1db088;super[_0x4ed344(0x29c)](),this[_0x4ed344(0x36a)][_0x4ed344(0x2c6)]((_0x2fabf1,_0x106c28)=>this[_0x4ed344(0x2c8)](_0x106c28)),this[_0x4ed344(0x29f)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x1db088(0x23e)](_0xc2b42a){const _0x2a78fa=_0x1db088;return this[_0x2a78fa(0x338)](_0xc2b42a)[_0x2a78fa(0x405)](_0xddf3a0[_0x2a78fa(0x362)]());}[_0x1db088(0x212)](_0x16cd56){const _0xa7d46b=_0x1db088;this[_0xa7d46b(0x2b5)][_0xa7d46b(0x2a9)]===0x0&&this[_0xa7d46b(0x282)](),this[_0xa7d46b(0x2b5)]['add'](_0x16cd56),this[_0xa7d46b(0x329)]({'type':0x0,'memberID':this[_0xa7d46b(0x41c)],'unitIDs':[_0x16cd56],'isForwarded':!0x1});}[_0x1db088(0x3ad)](_0xa4ce17){const _0x260366=_0x1db088;this['_selfUnitIDs'][_0x260366(0x22d)](_0xa4ce17),this[_0x260366(0x2b5)]['size']===0x0&&this[_0x260366(0x29f)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x1db088(0x450)](){const _0x1df487=_0x1db088;this[_0x1df487(0x26f)](_0x4f68b5[_0x1df487(0x42e)](_0xddf3a0[_0x1df487(0x296)](window,_0x1df487(0x25b))[_0x1df487(0x333)](_0x14eb7f=>{const _0x51fc14=_0x1df487;if(_0x14eb7f['key']!==_0xf8f2eb||!_0x14eb7f[_0x51fc14(0x3c1)])return;const _0x21158e=JSON[_0x51fc14(0x387)](_0x14eb7f[_0x51fc14(0x3c1)]);this['_handleEvent'](_0x21158e);}))),window['addEventListener'](_0x1df487(0x39d),()=>this[_0x1df487(0x329)]({'type':0x1,'memberID':this[_0x1df487(0x41c)],'unitIDs':Array[_0x1df487(0x211)](this[_0x1df487(0x2b5)])}));}[_0x1db088(0x3ef)](_0x6227c5){const _0x59eeff=_0x1db088;switch(_0x6227c5[_0x59eeff(0x432)]){case 0x0:this[_0x59eeff(0x331)](_0x6227c5);break;case 0x1:this['_handleLeaveEvent'](_0x6227c5);break;case 0x2:this[_0x59eeff(0x1cc)](_0x6227c5);break;}}[_0x1db088(0x331)](_0x3a8508){const _0x19250b=_0x1db088,{unitIDs:_0x3c8470,memberID:_0x3a4482,isForwarded:_0x415ece}=_0x3a8508;_0x3c8470[_0x19250b(0x2c6)](_0x40e53c=>{const _0x25af25=_0x19250b;if(!_0x415ece&&this['_unitOnClients'][_0x25af25(0x31f)](_0x40e53c)&&this[_0x25af25(0x338)](_0x40e53c)[_0x25af25(0x431)](_0xbd5b69[_0x25af25(0x38b)][_0x25af25(0x2b1)]),!this[_0x25af25(0x312)][_0x25af25(0x31f)](_0x40e53c)||!this['_unitOnClients'][_0x25af25(0x38a)](_0x40e53c)['has'](_0x3a4482)){const _0x227866=this[_0x25af25(0x312)][_0x25af25(0x38a)](_0x40e53c)||new Set();_0x227866[_0x25af25(0x31a)](_0x3a4482),this[_0x25af25(0x312)][_0x25af25(0x3f6)](_0x40e53c,_0x227866),this[_0x25af25(0x2c2)](_0x3a4482);}}),_0x415ece||this[_0x19250b(0x329)]({'type':0x0,'memberID':this[_0x19250b(0x41c)],'unitIDs':[...this[_0x19250b(0x2b5)]],'isForwarded':!0x0});}[_0x1db088(0x2c2)](_0x346e76){const _0xcc4c76=_0x1db088;this['_removeClearOtherTimer'](_0x346e76);const _0x589964=window[_0xcc4c76(0x225)](()=>{const _0xb767c=_0xcc4c76;this[_0xb767c(0x312)][_0xb767c(0x2c6)](_0x387f45=>{const _0x52ff0c=_0xb767c;_0x387f45[_0x52ff0c(0x22d)](_0x346e76);});},_0xddce90*0x2);this['_clearOtherTimers'][_0xcc4c76(0x3f6)](_0x346e76,_0x589964);}[_0x1db088(0x2c8)](_0x560731){const _0x22afca=_0x1db088;if(this['_clearOtherTimers'][_0x22afca(0x31f)](_0x560731)){const _0x3d75f6=this[_0x22afca(0x36a)][_0x22afca(0x38a)](_0x560731);_0x3d75f6&&window[_0x22afca(0x35d)](_0x3d75f6),this['_clearOtherTimers'][_0x22afca(0x3f6)](_0x560731,null);}}['_handleLeaveEvent'](_0x485fb9){const _0xde14cd=_0x1db088,{memberID:_0x21ea8a,unitIDs:_0x105bc8}=_0x485fb9;_0x105bc8['forEach'](_0x3ea98e=>{const _0x2d05bf=_0x57d8;var _0x510b4f;const _0x4c98fc=this['_unitOnClients'][_0x2d05bf(0x38a)](_0x3ea98e);_0x4c98fc&&(_0x4c98fc['delete'](_0x21ea8a),(_0x510b4f=this[_0x2d05bf(0x338)](_0x3ea98e))==null||_0x510b4f['next'](_0x4c98fc[_0x2d05bf(0x2a9)]===0x0?_0xbd5b69[_0x2d05bf(0x38b)][_0x2d05bf(0x320)]:_0xbd5b69[_0x2d05bf(0x38b)]['OTHER_CLIENTS_EDITING']));}),this[_0xde14cd(0x2c8)](_0x21ea8a);}[_0x1db088(0x1cc)](_0x32f704){const _0x2bfeaf=_0x1db088;this[_0x2bfeaf(0x2c2)](_0x32f704['memberID']);}[_0x1db088(0x329)](_0x599980){const _0x2417c8=_0x1db088;localStorage[_0x2417c8(0x378)](_0xf8f2eb,JSON[_0x2417c8(0x3d3)](_0x599980));}[_0x1db088(0x282)](){const _0x1b82a9=_0x1db088;this['_heartbeatTimer']=window[_0x1b82a9(0x389)](()=>{const _0x16c7f0=_0x1b82a9;this['_send']({'type':0x2,'memberID':this[_0x16c7f0(0x41c)]});},_0xddce90);}[_0x1db088(0x338)](_0xbfd427){const _0xaeabdc=_0x1db088;return this[_0xaeabdc(0x213)]['has'](_0xbfd427)||this[_0xaeabdc(0x213)][_0xaeabdc(0x3f6)](_0xbfd427,new _0xddf3a0[(_0xaeabdc(0x279))](_0xbd5b69[_0xaeabdc(0x38b)][_0xaeabdc(0x320)])),this[_0xaeabdc(0x213)][_0xaeabdc(0x38a)](_0xbfd427);}}var _0x5c216c=(_0x54d68e=>(_0x54d68e[_0x54d68e[_0x1db088(0x235)]=0x0]=_0x1db088(0x235),_0x54d68e[_0x54d68e['OK']=0x1]='OK',_0x54d68e[_0x54d68e[_0x1db088(0x43e)]=0x2]=_0x1db088(0x43e),_0x54d68e[_0x54d68e[_0x1db088(0x42d)]=0x3]=_0x1db088(0x42d),_0x54d68e[_0x54d68e[_0x1db088(0x428)]=0x4]=_0x1db088(0x428),_0x54d68e[_0x54d68e[_0x1db088(0x34f)]=0x5]=_0x1db088(0x34f),_0x54d68e[_0x54d68e['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x54d68e[_0x54d68e['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x54d68e[_0x54d68e['TOO_MANY_REQUESTS']=0x8]=_0x1db088(0x2e1),_0x54d68e[_0x54d68e[_0x1db088(0x2fa)]=0x9]=_0x1db088(0x2fa),_0x54d68e[_0x54d68e[_0x1db088(0x2cf)]=0xa]='LOGIN_FAILED',_0x54d68e[_0x54d68e[_0x1db088(0x1f5)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x54d68e[_0x54d68e[_0x1db088(0x251)]=0xc]=_0x1db088(0x251),_0x54d68e[_0x54d68e[_0x1db088(0x2b2)]=0xd]=_0x1db088(0x2b2),_0x54d68e[_0x54d68e['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x1db088(0x228),_0x54d68e[_0x54d68e[_0x1db088(0x22f)]=0x1389]=_0x1db088(0x22f),_0x54d68e[_0x54d68e[_0x1db088(0x2c3)]=0x1771]=_0x1db088(0x2c3),_0x54d68e[_0x54d68e['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x54d68e[_0x54d68e['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x1db088(0x44b),_0x54d68e[_0x54d68e['APPLY_REJECT']=0x1b59]=_0x1db088(0x3f0),_0x54d68e[_0x54d68e[_0x1db088(0x429)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x54d68e[_0x54d68e[_0x1db088(0x397)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x54d68e[_0x54d68e[_0x1db088(0x339)]=0x1b5c]=_0x1db088(0x339),_0x54d68e[_0x54d68e[_0x1db088(0x424)]=0x1b5d]='APPLY_DUPLICATED',_0x54d68e[_0x54d68e[_0x1db088(0x243)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x54d68e[_0x54d68e['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x54d68e[_0x54d68e[_0x1db088(0x3c0)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x54d68e[_0x54d68e[_0x1db088(0x2aa)]=0x232b]=_0x1db088(0x2aa),_0x54d68e[_0x54d68e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x54d68e[_0x54d68e['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1db088(0x1ea),_0x54d68e[_0x54d68e[_0x1db088(0x24d)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x54d68e[_0x54d68e[_0x1db088(0x396)]=0x2712]=_0x1db088(0x396),_0x54d68e[_0x54d68e[_0x1db088(0x3d6)]=0x2713]=_0x1db088(0x3d6),_0x54d68e[_0x54d68e[_0x1db088(0x21b)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x54d68e[_0x54d68e[_0x1db088(0x453)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x54d68e[_0x54d68e[_0x1db088(0x369)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x54d68e[_0x54d68e[_0x1db088(0x41a)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x54d68e[_0x54d68e[_0x1db088(0x2a7)]=0x271d]=_0x1db088(0x2a7),_0x54d68e[_0x54d68e['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1db088(0x443),_0x54d68e[_0x54d68e['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x54d68e[_0x54d68e[_0x1db088(0x1f7)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x54d68e[_0x54d68e[_0x1db088(0x392)]=0x2af9]=_0x1db088(0x392),_0x54d68e[_0x54d68e[_0x1db088(0x202)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x54d68e[_0x54d68e[_0x1db088(0x44c)]=0x2ee2]=_0x1db088(0x44c),_0x54d68e[_0x54d68e['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x54d68e[_0x54d68e[_0x1db088(0x21f)]=0x2ee4]=_0x1db088(0x21f),_0x54d68e[_0x54d68e[_0x1db088(0x1ef)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x54d68e[_0x54d68e[_0x1db088(0x442)]=0x32c9]=_0x1db088(0x442),_0x54d68e[_0x54d68e[_0x1db088(0x221)]=0x32ca]=_0x1db088(0x221),_0x54d68e[_0x54d68e[_0x1db088(0x365)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x54d68e[_0x54d68e[_0x1db088(0x3fa)]=-0x1]=_0x1db088(0x3fa),_0x54d68e))(_0x5c216c||{}),_0xc06754=Object[_0x1db088(0x3ac)],_0xb2fd5a=(_0x42beca,_0x594e75,_0x48d6de,_0x430f16)=>{for(var _0x2b7692=_0x430f16>0x1?void 0x0:_0x430f16?_0xc06754(_0x594e75,_0x48d6de):_0x594e75,_0x24c08f=_0x42beca['length']-0x1,_0x2ab346;_0x24c08f>=0x0;_0x24c08f--)(_0x2ab346=_0x42beca[_0x24c08f])&&(_0x2b7692=_0x2ab346(_0x2b7692)||_0x2b7692);return _0x2b7692;},_0x1e5c9e=(_0x189169,_0x5f04c3)=>(_0x4f4a34,_0x23949b)=>_0x5f04c3(_0x4f4a34,_0x23949b,_0x189169);_0x1fcb7c[_0x1db088(0x414)]=class extends _0x4f68b5[_0x1db088(0x3e3)]{constructor(_0x5b5de2,_0x1d2e0d,_0x10bbcf){const _0x11e4b6=_0x1db088;super(),this[_0x11e4b6(0x43c)]=_0x5b5de2,this[_0x11e4b6(0x269)]=_0x1d2e0d,this[_0x11e4b6(0x31e)]=_0x10bbcf;}async[_0x1db088(0x367)](_0x3f5012,_0x537f2e,_0x1d41fc,..._0x5e26e9){const _0x533db5=_0x1db088;var _0x11e765,_0x34c916,_0x206e77,_0x402bb2;const _0x2771a7=this[_0x533db5(0x43c)]['getFocusedUnit']();if(!_0x2771a7)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x50c3d7=((_0x11e765=this[_0x533db5(0x31e)][_0x533db5(0x40c)](_0xbd5b69[_0x533db5(0x2d9)]))!=null?_0x11e765:_0xbd5b69[_0x533db5(0x2d6)])+'/'+_0x3f5012+_0x533db5(0x1df)+_0x537f2e,_0x3db3c3=new URL(window['location'][_0x533db5(0x2fd)]),_0x3c95d8={'scriptId':_0x3f5012,'runId':(_0x34c916=_0x3db3c3[_0x533db5(0x33b)][_0x533db5(0x38a)]('runId'))!=null?_0x34c916:'','function':_0x537f2e,'unitId':_0x2771a7['getUnitId'](),'argsOfFunction':JSON[_0x533db5(0x3d3)](_0x5e26e9),'invokeId':(_0x206e77=_0x1d41fc[_0x533db5(0x307)])!=null?_0x206e77:'','executionId':(_0x402bb2=_0x1d41fc[_0x533db5(0x3c4)])!=null?_0x402bb2:''};try{const _0x11f2b7=await this[_0x533db5(0x269)]['post'](_0x50c3d7,{'body':_0x3c95d8});return _0x11f2b7[_0x533db5(0x263)][_0x533db5(0x317)]&&_0x11f2b7[_0x533db5(0x263)]['error'][_0x533db5(0x3b0)]!==_0x5c216c['OK']?'Failed':_0x11f2b7[_0x533db5(0x263)]['result'];}catch{return _0x533db5(0x1d1);}}},_0x1fcb7c[_0x1db088(0x414)]=_0xb2fd5a([_0x1e5c9e(0x0,_0x4f68b5[_0x1db088(0x25a)]),_0x1e5c9e(0x1,_0x4f68b5[_0x1db088(0x40b)](_0xf95921[_0x1db088(0x454)])),_0x1e5c9e(0x2,_0x4f68b5[_0x1db088(0x379)])],_0x1fcb7c[_0x1db088(0x414)]),_0x1fcb7c[_0x1db088(0x358)]=_0x1bfe2d,_0x1fcb7c[_0x1db088(0x2a6)]=_0x441a98,_0x1fcb7c[_0x1db088(0x2d8)]=_0x3c3b43,_0x1fcb7c['WebBrowserSingleActiveUnitService']=_0x5a1cc6,_0x1fcb7c[_0x1db088(0x373)]=_0xb3d70d,Object[_0x1db088(0x30d)](_0x1fcb7c,Symbol[_0x1db088(0x380)],{'value':'Module'});}));function _0x57d8(_0x12bf34,_0x2d50b6){const _0x275b62=_0x275b();return _0x57d8=function(_0x57d814,_0x3a9fff){_0x57d814=_0x57d814-0x1bc;let _0x28d156=_0x275b62[_0x57d814];return _0x28d156;},_0x57d8(_0x12bf34,_0x2d50b6);}function _0x275b(){const _0x45b47a=['_initResize','assign','svg','UniverUi','apply','unsubscribe','engine','_toggleOnline','black','updateOfflineData','@univerjs/sheets','useCallback','getOwnPropertyDescriptor','disposeUnit','collaboration-client-ui.config','_cursorInfo$','code','RichTextEditingMutation','getCollabEntity$','LOCAL_CACHE_INTERVAL_KEY','collabStatus.syncing','_render','_colorAssignService','@univerjs/docs','UniverDesign','getLocalCacheKey','_draw','_scheduleSaving','getOffsetConfig','_injector','_range','_localCacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','newValue','white','0\x200\x2017\x2016','executionId','transformMutationsWithChangeset','@univerjs/design','103724PeQFIc','COLORS','getStateCache','activeSheet$','combineLatest','prototype','55451SsZuuZ','font','getViewport','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','toString','RevisionService','stringify','UniverCollaborationClientPlugin','currentSkeleton$','YUUMI_RATE_OVER_LIMIT','height','runId','@univerjs/engine-formula','transformByState','isTransformMutationFailure','getDocRanges','FromArray','handleInsertCol','SHEET_VIEWPORT_KEY','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','on-line-icon','redoState','Disposable','SetSelectionsOperation','session.collaboration-timeout','subUnitId','currentColor','MemberService','_drawTextRange','getCellPositionByOffset','clipPath','getUnhiddenWorksheets','registerRenderModule','3785pPRMsw','_handleEvent','APPLY_REJECT','drawWith','RefRangeService','requireSession','wsSessionTicketUrl','collabStatus.notCollab','set','_hideTimer','_logService','find','UNRECOGNIZED','application/json','startColumn','_hover','RECT','http://www.w3.org/2000/svg','bottom','AWAITING','permission.title','uni.network.url-service','IRenderManagerService','pipe','then','_initCommandExecutedListener','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/drawing','reconnect','Inject','getConfig','urlChange$','getOwnPropertySymbols','setUndoRedoMutationParamsCache','CollaborationController','createIdentifier','asObservable','2180205CVPnHI','RemoteUniscriptService','_cursor','red.300','_initEvent','SOCKET_FAILED','off-line-icon','YUUMI_TABLE_NOT_FOUND_IN_UNIT','div','_id','onLocalMutation','debounce','getCurrentUnitForType','SetDocZoomRatioOperation','OFFLINE','fillRule','getCollabCursors$','APPLY_DUPLICATED','collab-rect-range-','_drawAnchor','_collabCursorState$','NOT_FOUND','APPLY_NON_SEQUENTIAL_REVISION','collabStatus.synced','FETCH_MISS','defs','PERMISSION_DENIED','toDisposable','_univerInstanceService','entries','next','type','_collaborationController','React','permission.content','collab-text-range-','fill','@univerjs/engine-render','disableLocalCache','getRenderById','serializeRangeWithSheet','_instanceService','throttleTime','INTERNAL_ERROR','ILocalStorageService','MoveRangeCommandId','M0\x200H16V16H0z','WECHAT_HAS_BEEN_BOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','useRef','rxjs','_onCursorDelete','takeUntil','_docClipboardService','range','max','ENSURE_SNAPSHOT_EXECUTION','INVALID_INVITE_CODE','getTypeOfUnitDisposed$','react','getItem','_init','_createSocketURL','ranges','YUUMI_NO_CUBOID_FOR_QUESTION','HTTPService','_onCursorUpdate','setShapeProps','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','RegularPolygon','UniverProCollaboration','_onRefRangeChange','setAlpha','addObject','unshift','addHandlerCallback','ITransformService','call','Optional','UniverRpc','EffectRefRangId','UniverDrawing','sheetId','registerDependencies','_handleHeartbeatEvent','UPDATE_CURSOR','CONFLICT','translate(.97)','pushState','Failed','session.will-retry','dispose$','_transformService','currentTheme$','_dataLoaderService','_getMergeRange','OTHER_CLIENT_EDITING','className','resize','_updateLocalCursor','_localStorageService','NodePositionConvertToCursor','entityInit$','/run/','with','_entityInit$','ICommandService','_sheetSkeletonManagerService','SheetSkeletonManagerService','function','handleIRemoveCol','DocIMEInputManagerService','addClipboardHook','_name','LICENSE_DISTRO_REJECTED','labelPosition','path','#FFF','setParam','INVITE_CODE_ALREADY_BOUND','lineTo','selection','getCurrentSelections','_transformHistoryAndStateStack','605958VFaJoe','MOBILE_VERIFY_CODE_MISMATCH','forwardRef','YUUMI_CONNECTOR_URL_NOT_FOUND','_document','_startSheetCollabCursor','_updateSubUnitFromURLParams','handleInsertRow','_setupBeforeClosingHandler','replaceState','_docTransformStateCacheService','transformSelections','eventID','InsertColCommandId','INVITE_CODE_HAS_BEEN_UES','getActiveRange','Rect','getVpScrollXYInfoByPosToVp','split','_startDocCollabCursor','tag','_scene','[CollaborationDataLoaderController]','_docSkeleton','Unknown\x20user','Rectangle','_initEntityListener','startsWith','_cursors','from','editingUnit','_unitStatus','yellow.400','DocSelectionManagerService','off-line-icon_clip0_910_343','UniverInstanceType','mutations','DataLoaderService','top','YUUMI_SUBSCRIPTION_NOT_FOUND','isActive','getSheetObject','moveTo','USER_NOT_INVITED_CODE','findNodePositionByCharIndex','MOBILE_HAS_BEEN_BOUND','isArray','UniverEngineRender','_registerRenderDependencies','setTimeout','children','IMessageService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','223304gInwxO','debug','_refRangeService','onPointerEnter$','delete','Injector','CHANGESET_REVISION_CONFILICT','unit','row','_themeService','UniverSheetsUi','_cachedData','UNDEFINED','CollaborationUIEventId','attrs','UniverProCollaborationClient','init','arc','mergeOverrideWithDependencies','IDocClipboardService','@univerjs-pro/collaboration-client','getUnitStatus$','_cursorShapes','imageSourceType','handleIRemoveRow','current','CONNECTOR_DATA_TOO_LARGE','hasOwnProperty','_docTransformSelectionsService','getCoordByCell','DocCollaborationEntity','@univerjs/sheets-ui','some','cursorInfo','Shape','InsertRangeMoveRightCommandId','YUUMI_UNABLE_LOAD_URL','_assignedColors','getRangePointData','handleDeleteRangeMoveLeft','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collaborationUIEventService','addObjects','textRanges','restore','connectInjector','ticket','_getSheetObject','_getSessionTicket','IUniverInstanceService','storage','_registerDependencies','getUnitId','PENDING','CollaborationStatus','createSocket','_eventUnsubscribe','Vector2','body','_updateURLWithCurrentState','xlink:href','exhaustSavingTask','location','getSkeleton','_httpService','CommandType','none','merge','min','getUndoRedoMutationParamsCache','disposeWithMe','NodePositionConvertToRectRange','loadUnit','selections','collabStatus.conflict','CollaborationSessionService','transform','UniverDocs','toRgbString','632UijJXl','BehaviorSubject','_getSaveTimeout','ISocketService','getParam','beginPath','USERS_LEAVE','purple.300','roomMembers$','column','_scheduleHeartbeat','UniverDocsUi','getMember','_renderManagerService','_roomMembers$','getCurrentRevOfUnit','_beforeCloseService','isTransformMutationsWithChangesetSuccess','deepClone','_memberService','flatMap','TRANSFORM_CHANGE_OBSERVABLE_TYPE','actions','IUIPartsService','propertyIsEnumerable','DocStateChangeManagerService','_doCreateSocket','subscribeEvent','Plugin','_initStatusListener','fromEvent','createInstance','_handleHover','CollaborationDataLoaderController','map','values','dispose','color','univer-mr-2\x20univer-flex\x20univer-text-xl','_heartbeatTimer','_refreshCollabCursors','focused$','Workbook','on-line-icon_clip0_910_349','_labelPosition','_notificationService','IURLService','YUUMI_ALL_TABLES_IS_INVALID','LOCAL_CACHE_INTERVAL','size','LICENSE_IMPORT_SIZE_EXCEEDED','onCommandExecuted','ILogService','6aWwwRG','CLOSE_ROOM','_config','_updateCollabCursors','OTHER_CLIENTS_EDITING','EMAIL_VERIFY_CODE_MISMATCH','useObservable','syncEditingCollabCursor','_selfUnitIDs','_initDependencies','INotificationService','_docSkeletonManagerService','getSheetBySheetId','_colorIndex','send','SessionStatus','UniverNetwork','transformStateCache','DeleteRangeMoveLeftCommandId','VIEW_MAIN','TEXT','_scheduleClearOtherTimer','SNAPSHOT_INVALID_SNAPSHOT','backgroundColor','push','forEach','_transformUndoRedoStack','_removeClearOtherTimer','_disabled','getMemberID','cursorInfo$','origin','getActiveSheet','startRow','LOGIN_FAILED','fillStyle','displayName','history','SYNCED','name','CollaborationSocketService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','url(#on-line-icon_clip0_910_349)','SheetCollabCursorShape','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','extend','debounceTime','subunit','jsx','SUBMIT_CHANGESET_TIMEOUT','undoState','DesktopCollaborationStatusDisplayController','TOO_MANY_REQUESTS','_getScale','removeParam','isEditing','_commandService','setConfig','complete','text','idSuffix','_transformPreviousActiveRange','params','deserializeRangeWithSheet','loadOfflineData','IRemoteInstanceService','getSheetId','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','switchMap','_uiPartsService','_revisionService','hovered','substring','_shapes','pluginName','getMergeData','TEXT_RANGE_LAYER_INDEX','COMPLETION_FINISHED','_localeService','evenodd','href','IImageIoService','_messageService','unitId','length','saveImage','setActiveRange','override','0\x200\x2016\x2016','getColor','invokeId','string','measureText','UNIVER_SHEET','ColorKit','event$','defineProperty','includes','300MBlavp','getRelativeToViewportCoord','24hTogTn','_unitOnClients','endColumn','saveTaskMap','_entities','_imageIoService','error','useDependency','ILocalCacheService','add','UniverCollaborationClientUIPlugin','_docTransformIMECacheService','BuiltInUIPart','_configService','has','NO_OTHER_CLIENTS_EDITING','round','SOCKET_FAILED_RETRY','_syncEditingCollabCursorService','_docSyncEditingCollabCursorService','endRow','filter','registerRefRange','_saveCache','_send','getTypeOfUnitAdded$','_collabSessionService','DependentOn','Warning','getColorFromTheme','jsxs','data','_handleJoinEvent','_online','subscribe','replace','collabStatus.offline','doc.mutation.rich-text-editing','UniverIcon','_ensureSubject','APPLY_PERMISSION_DENIED','1em','searchParams','_urlService','ThemeService','_lastPointer','onTransformChange$','_textBubble','univerjs-icon\x20univerjs-icon-','...','indexOf','hide','createElement','m2Prime','getAncestorScale','collabCursorState$','onMouseMove','collaboration.closeRoom','UNIVER_DOC','unitID','symbol','_removeCollabCursors','UNAUTHENTICATED','_getAnchorBounding','sessionStatus$','contains','_toggleOffline','executeCommand','SetWorksheetActivateCommand','concat','m1Prime','CollaborationStatusDisplay','_collabCursorController','transformMutation','_color','MessageType','clearTimeout','_docStateChangeManagerService','SetTextSelectionsOperation','CollaborationEvent','_saveTaskMap','distinctUntilChanged','setStateCache','697998WxSKmP','EMAIL_HAS_BEEN_BOUND','show','runOnServer','mapTo','YUUMI_ASYNCIO_CANCELLED','_clearOtherTimers','BrowserCollaborationSocketService','getCurrent','generateRandomId','UniverSheets','_status$','IBeforeCloseService','exports','_anchorDot','WebURLService','handleInsertRangeMoveRight','assignAColorForMemberID','operators','NOT_COLLAB','setItem','IConfigService','AWAITING_WITH_PENDING','save','_session','transformRemoteChangeset','colorChannel1','icon','toStringTag','defIds','_context','ISnapshotServerService','DocSkeletonManagerService','_initStatusComponent','RxDisposable','parse','DOC_RANGE_TYPE','setInterval','get','UnitStatus','width','registerBeforeClose','getValue','_hovered','_anchor','Tools','PY_RUNTIME_SCRIPT_ERROR','ONLINE','Error','transformIMECache','YUUMI_URL_COL_OUT_OF_RANGE','APPLY_REVISION_CONFILICT','url(#$1','LocaleService','getFocusedUnit','onPointerLeave$','_backgroundColor','unload','runRefRangeMutations','10jYHyTa'];_0x275b=function(){return _0x45b47a;};return _0x275b();}
|