@univerjs-pro/collaboration-client-ui 0.6.2 → 0.6.3-nightly.202503051607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collab-cursor/collab-cursor.controller.d.ts +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/cjs/facade.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';
|
|
1
|
+
'use strict';function _0xe0dc(_0x26743d,_0xb70df4){const _0x5a3aea=_0x5a3a();return _0xe0dc=function(_0xe0dc34,_0x5125a5){_0xe0dc34=_0xe0dc34-0x65;let _0xd9bc76=_0x5a3aea[_0xe0dc34];return _0xd9bc76;},_0xe0dc(_0x26743d,_0xb70df4);}const _0x4bc5f2=_0xe0dc;(function(_0x2fb1e1,_0x4f8dae){const _0x48df84=_0xe0dc,_0x8184ff=_0x2fb1e1();while(!![]){try{const _0x101e52=-parseInt(_0x48df84(0x6b))/0x1+-parseInt(_0x48df84(0x6a))/0x2+parseInt(_0x48df84(0x68))/0x3*(-parseInt(_0x48df84(0x6d))/0x4)+-parseInt(_0x48df84(0x65))/0x5+parseInt(_0x48df84(0x6f))/0x6*(-parseInt(_0x48df84(0x74))/0x7)+-parseInt(_0x48df84(0x72))/0x8+-parseInt(_0x48df84(0x73))/0x9*(-parseInt(_0x48df84(0x67))/0xa);if(_0x101e52===_0x4f8dae)break;else _0x8184ff['push'](_0x8184ff['shift']());}catch(_0x3aeea6){_0x8184ff['push'](_0x8184ff['shift']());}}}(_0x5a3a,0xca836));function _0x5a3a(){const _0x48b933=['1397224xAPViz','RemoteUniscriptService','256LhcslB','runOnServer','6Xttffj','extend','get','9270136mhMwdR','191844bOWNZp','8514506pVscpq','@univerjs-pro/collaboration-client-ui','6668115QqwMAc','FUniver','3470uEJAcB','48975VKkhDK','@univerjs/core/facade','832772FDLyhb'];_0x5a3a=function(){return _0x48b933;};return _0x5a3a();}const t=require(_0x4bc5f2(0x75)),e=require(_0x4bc5f2(0x69));class c extends e[_0x4bc5f2(0x66)]{[_0x4bc5f2(0x6e)](_0xbc4541,_0x26dde9,..._0x28298b){const _0x4fd8e8=_0x4bc5f2;return this['_injector'][_0x4fd8e8(0x71)](t[_0x4fd8e8(0x6c)])['runOnServer'](_0xbc4541,_0x26dde9,{},..._0x28298b);}}e['FUniver'][_0x4bc5f2(0x70)](c);
|
package/lib/cjs/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const _0x32202a=_0x5c33;(function(_0x395158,_0x1bf25d){const _0x552d3b=_0x5c33,_0x2d4571=_0x395158();while(!![]){try{const _0x17532f=-parseInt(_0x552d3b(0x33f))/0x1*(parseInt(_0x552d3b(0x18e))/0x2)+parseInt(_0x552d3b(0x1d0))/0x3+-parseInt(_0x552d3b(0xed))/0x4+parseInt(_0x552d3b(0x251))/0x5+-parseInt(_0x552d3b(0x2a7))/0x6*(parseInt(_0x552d3b(0x2c8))/0x7)+-parseInt(_0x552d3b(0xe8))/0x8*(parseInt(_0x552d3b(0x133))/0x9)+-parseInt(_0x552d3b(0x293))/0xa*(-parseInt(_0x552d3b(0x12d))/0xb);if(_0x17532f===_0x1bf25d)break;else _0x2d4571['push'](_0x2d4571['shift']());}catch(_0x474646){_0x2d4571['push'](_0x2d4571['shift']());}}}(_0x44b2,0x8441e));var Ve=Object[_0x32202a(0x12e)],Ge=(_0x343f90,_0x558668,_0x2e6d70)=>_0x558668 in _0x343f90?Ve(_0x343f90,_0x558668,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e6d70}):_0x343f90[_0x558668]=_0x2e6d70,h=(_0x327097,_0x1b5dda,_0x3e3ca5)=>Ge(_0x327097,typeof _0x1b5dda!=_0x32202a(0x10a)?_0x1b5dda+'':_0x1b5dda,_0x3e3ca5);Object[_0x32202a(0x12e)](exports,Symbol['toStringTag'],{'value':_0x32202a(0xe6)});const u=require(_0x32202a(0x2f0)),a=require(_0x32202a(0x281)),p=require(_0x32202a(0x128)),q=require('@univerjs/network'),b=require(_0x32202a(0xde)),qe=require(_0x32202a(0x229)),d=require(_0x32202a(0x2e0)),Y=require(_0x32202a(0xe2)),m=require('@univerjs-pro/collaboration'),Te=require(_0x32202a(0x330)),I=require(_0x32202a(0x246)),$=require(_0x32202a(0x11a)),G=require('@univerjs/sheets-ui'),w=require(_0x32202a(0x25d)),R=require(_0x32202a(0x28c)),T=require(_0x32202a(0x151)),P=require(_0x32202a(0x1f3)),Ke=require('@univerjs/rpc');var ze=Object[_0x32202a(0x168)],Je=(_0x25813f,_0x1fc33c,_0x2d1b67,_0x303bef)=>{const _0x395bb1=_0x32202a;for(var _0x30fd42=_0x303bef>0x1?void 0x0:_0x303bef?ze(_0x1fc33c,_0x2d1b67):_0x1fc33c,_0x77af8=_0x25813f[_0x395bb1(0xc8)]-0x1,_0x4e71cf;_0x77af8>=0x0;_0x77af8--)(_0x4e71cf=_0x25813f[_0x77af8])&&(_0x30fd42=_0x4e71cf(_0x30fd42)||_0x30fd42);return _0x30fd42;},Re=(_0x10d788,_0x451c36)=>(_0x2eb114,_0xfa4655)=>_0x451c36(_0x2eb114,_0xfa4655,_0x10d788);function _0x44b2(){const _0x51b640=['DocSkeletonManagerService','height','mask','_initStatusListener','body','InsertRangeMoveRightCommandId','indexOf','univer-flex\x20univer-items-center','INotificationService','uni.network.url-service','SHEET_VIEWPORT_KEY','getValue','_unitOnClients','_localCacheService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','with','FETCH_MISS','on-line-single','eventID','SetWorksheetActivateCommand','getConfig','unload','_online','_initDependencies','RemoveRowCommandId','CollaborationUIEventService','@univerjs/core','Vector2','then','location','APPLY_NON_SEQUENTIAL_REVISION','_registerDependencies','CONFLICT','measureText','row','_getSessionTicket','evenodd','@univerjs/ui','_docTransformSelectionsService','onlineStatus','save','subUnitId','session.collaboration-timeout','createElement','17157990GozTUJ','useObservable','_collabCursorState$','getActiveRange','_saveTaskMap','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SOCKET_FAILED_RETRY','getCurrentUnitForType','top','labelPosition','getFocusedUnit','_selfUnitIDs','TOO_MANY_REQUESTS','UniverIcon','map','_collaborationUIEventService','_anchorDot','_onCursorDelete','BuiltInUIPart','subscribe','3138QmtMmV','_cursor','_onRefRangeChange','TEXT_RANGE_LAYER_INDEX','roomMembers$','addObject','dispose','RECT','RefRangeService','createInstance','search','_imageIoService','_startDocCollabCursor','_createSocketURL','deepClone','_roomMembers$','_localeService','CollaborationUIEventId','_configService','skeleton','_collabCursorController','onPointerEnter$','NodePositionConvertToRectRange','ILogService','_scheduleSaving','_entityInit$','collab-client.tooltip.reconnect','getSheetObject','send','_cachedData','_memberService','_backgroundColor','_localStorageService','1834SZSNpa','getOffsetConfig','CollaborationSessionService','_unitStatus','_saveCache','redoState','ISocketService','getParam','transformStateCache','attrs','touchDependencies','history','random','_univerInstanceService','_cursors','_shapes','LICENSE_DISTRO_REJECTED','registerRefRange','href','rgba(255,\x20255,\x20255,\x200.01)','isActive','concat','getMember','...','rxjs','getUniverSheetInstance','subscribeEvent','transformRemoteChangeset','RichTextEditingMutation','isArray','_docStateChangeManagerService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','EffectRefRangId','min','UPDATE_CURSOR','onPointerMove$','_drawAnchor','SheetsSelectionsService','createSocket','activeSheet$','@univerjs-pro/collaboration-client','_messageService','urlChange$','_handleHover','session.connection-failed','roomMembers','addEventListener','ICommandService','_handleLeaveEvent','ColorKit','SYNCED','univer-offline','_transformPreviousActiveRange','_setupSubUnitSync','fromEventSubject','shareReplay','_updateLocalCursor','idSuffix','application/json','SUBMIT_CHANGESET_TIMEOUT','url(#on-line-single_clip0_910_349)','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','origin','propertyIsEnumerable','type','CONNECTOR_DATA_TOO_LARGE','getUndoRedoMutationParamsCache','stringify','searchParams','_toggleOffline','event$','_entities','getMemberID','actions','from','SOCKET_FAILED','_toggleOnline','getTypeOfUnitDisposed$','entries','filter','exhaustSavingTask','code','RxDisposable','useDependency','findNodePositionByCharIndex','debounceTime','_name','NOT_FOUND','InsertRowCommandId','sessionStatus$','YUUMI_UNABLE_LOAD_URL','substring','jsx','CLOSE_ROOM','univer-online','getVpScrollXYInfoByPosToVp','debug','CollaborationDataLoaderController','permission.title','M0\x200H16V16H0z','isTransformMutationsWithChangesetSuccess','collab-rect-range-','getUnitId','onTransformChange$','@univerjs/engine-formula','UNRECOGNIZED','unitId','reconnect','push','CollaborationStatus','_collaborationController','getCollabCursors$','WebSocketService','_colorIndex','memberID','onMouseMove','clipPath','use','m1Prime','1ZLXlnU','_commandService','subunit','getCurrentSelections','fillStyle','length','getLocalCacheKey','IConfigService','focused$','setUndoRedoMutationParamsCache','_drawRectRange','collaboration-client.offline-data-not-saved','apply','storage','YUUMI_URL_COL_OUT_OF_RANGE','_refRangeService','_session','IRenderManagerService','PENDING','Inject','_getScale','className','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','replaceDocRanges','color','_transformService','getTypeOfUnitAdded$','@univerjs/docs-ui','sheetId','error','COLORS','@univerjs/docs','getSheetBySheetId','round','_config','Module','popstate','4306424qptBvD','string','_handleJoinEvent','collabCursorState$','saveOfflineData','1596456NrPBnV','wsSessionTicketUrl','params','_getAnchorBounding','icon','_color','_labelPosition','registerDependencies','DOC_RANGE_TYPE','black','LICENSE_IMPORT_SIZE_EXCEEDED','collaboration.closeRoom','Subject','serializeRangeWithSheet','size','_removeClearOtherTimer','isTransformMutationFailure','svg','INVALID_ARGUMENT','resize','name','_docTransformIMECacheService','setConfig','_httpService','connectInjector','_handleHeartbeatEvent','takeUntil','YUUMI_SUBSCRIPTION_NOT_FOUND','_initResize','symbol','_injector','AWAITING','SessionStatus','none','on-line-single_clip0_910_349','translate(.97)','_onCursorUpdate','currentTheme$','transformMutation','currentSkeleton$','_hideTimer','CollaborationSocketService','APPLY_DUPLICATED','_refreshCollabCursors','Injector','rxjs/operators','verdancy600','UniverCollaborationClientUIPlugin','path','_handleEvent','split','unsubscribe','_getMergeRange','#fff','Failed','_colorAssignService','next','Disposable','values','@univerjs/engine-render','clearTimeout','INTERNAL_ERROR','1em','includes','11ikBJtI','defineProperty','UNIVER_DOC','runId','PERMISSION_DENIED','toRgbString','9eryNqQ','add','textRanges','OTHER_CLIENTS_EDITING','USERS_LEAVE','_uiPartsService','IBeforeCloseService','IDocClipboardService','APPLY_REJECT','CollaborationStatusDisplay','_collabSessionService','pushState','RemoteUniscriptService','_removeCollabCursors','getUnhiddenWorksheets','collab-text-anchor-','ONLINE','BehaviorSubject','_syncEditingCollabCursorService','hovered','TEXT','closePath','toDisposable','_initStatusComponent','all','ThemeService','status$','currentColor','_updateCollabCursors','0\x200\x2017\x2016','@univerjs/design','_disabled','throttleTime','show','deserializeRangeWithSheet','fromEvent','ALREADY_EXISTS','text','_dataLoaderService','DeleteRangeMoveUpCommandId','/run/','ITransformService','IUIPartsService','call','SheetSkeletonManagerService','unshift','updateOfflineData','prototype','_id','registerRenderModule','_range','collaboration-client-ui.config','_render','getOwnPropertyDescriptor','setInterval','getRangePointData','_instanceService','disableLocalCache','onlineStatusTitle','hide','ILocalStorageService','getColor','requireSession','Rect','DocStateChangeManagerService','replaceState','getUnitStatus$','entityInit$','removeParam','_docSkeletonManagerService','_eventUnsubscribe','_send','_hovered','_initCommandExecutedListener','_hover','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','NOT_COLLAB','_draw','_updateURLWithCurrentState','toString','doc.mutation.rich-text-editing','MoveRangeCommandId','_themeService','onCommandExecuted','addHandlerCallback','tag','mapTo','ILocalCacheService','DesktopCollaborationStatusDisplayController','arc','_startSheetCollabCursor','720924LelTka','_context','addClipboardHook','merge','drawWith','MessageType','editingUnit','column','selections','makeDirty','_getSaveTimeout','DisposableCollection','OTHER_CLIENT_EDITING','CollaborationController','collabStatus.notCollab','_initEntityListener','_setupBeforeClosingHandler','debounce','YUUMI_RATE_OVER_LIMIT','_notificationService','cursorInfo$','COMPLETION_FINISHED','_updateSubUnitFromURLParams','Tools','_cursorShapes','div','fillText','_lastPointer','SNAPSHOT_INVALID_SNAPSHOT','_renderManagerService','CHANGESET_REVISION_CONFILICT','unit','session.will-retry','_document','Warning','LICENSE_EXPORT_SIZE_EXCEEDED','[CollaborationDataLoaderController]','ENSURE_SNAPSHOT_EXECUTION','m2Prime','get','invokeId','enableLocalCache','backgroundColor','DocCollaborationEntity','data','startColumn','_clearOtherTimers','handleDeleteRangeMoveLeft','collabStatus.fetchMiss','UNIVER_SHEET','_drawTextRange','extend','_beforeCloseService','saveTaskMap','children','collaboration.single-unit.warning','_textBubble','handleIRemoveCol','useCallback','permission.content','collab-text-range-','_docTransformStateCacheService','handleIRemoveRow','set','width','onLocalMutation','765108HjImKn','loadOfflineData','init','UNAUTHENTICATED','_init','selection','dispose$','setAlpha','pipe','UniverInstanceType','UnitStatus','getDocRanges','handleInsertRangeMoveDown','CollaborationEvent','collabStatus.syncing','getRenderById','Error','imageSourceType','_sheetSkeletonManagerService','current','_anchor','_ensureSubject','forwardRef','clsx','Rectangle','url(#off-line-single_clip0_910_343)','0\x200\x2016\x2016','generateRandomId','engine','defIds','collabStatus.conflict','univer-online-status-icon','_transformUndoRedoStack','ranges','key','react','CommandType','SetTextSelectionsOperation','getStateCache','SheetCollabCursorShape','url(#$1','getCurrentRevOfUnit','LOCAL_CACHE_INTERVAL','onlineStatusIcon','setShapeProps','getRelativeToViewportCoord','SetSelectionsOperation','flatMap','bottom','whenReady','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','setItem','disposeWithMe','PY_RUNTIME_SCRIPT_ERROR','endColumn','forEach','getCoordByCell','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','assign','_logService','getOwnPropertySymbols','IRemoteInstanceService','hasOwnProperty','[RemoteUniscriptService]:\x20no\x20focused\x20unit','range','moveTo','fill','docStateChange$','ticket','_scheduleHeartbeat','_scene','lineTo','trim','OFFLINE','DataLoaderService','_assignedColors','MemberService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','switchMap','jsxs','createIdentifier','getAncestorScale','HTTPService','DocSelectionManagerService','APPLY_PERMISSION_DENIED','UNDEFINED','contains','IUniverInstanceService','transformIMECache','@univerjs/drawing','executionId','univerjs-icon\x20univerjs-icon-','_urlService','delete','Shape','mutations','RevisionService','VIEW_MAIN','replace','InsertColCommandId','SNAPSHOT_HAS_BEEN_REMOVED','NO_OTHER_CLIENTS_EDITING','transform','asObservable','off-line-single_clip0_910_343','post','_initEvent','IMessageService','transformMutationsWithChangeset','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','colorChannel1','font','clearInterval','_revisionService','displayName','unitID','sessionTicket','red300','@univerjs/sheets','endRow','restore','BrowserCollaborationSocketService','_scheduleClearOtherTimer','WebURLService','setStateCache','_status$','_cursorInfo$','handleInsertRow','syncEditingCollabCursor','28980fZqYKS','offline','_docSyncEditingCollabCursorService','has','loadUnit','handleInsertCol','onStarting','getSheetId','LICENSE_MAX_UNITS_EXCEEDED','DocIMEInputManagerService','source','complete','react/jsx-runtime','cursorInfo','undoState','#FFF','xlink:href','getSkeleton','_heartbeatTimer','handleMoveRange','distinctUntilChanged','AWAITING_WITH_PENDING'];_0x44b2=function(){return _0x51b640;};return _0x44b2();}let fe=class extends a[_0x32202a(0x31a)]{constructor(_0xda1193,_0x50e679){const _0x1b281c=_0x32202a;super(),this['_docClipboardService']=_0xda1193,this[_0x1b281c(0x2b2)]=_0x50e679,this[_0x1b281c(0x1d4)]();}[_0x32202a(0x1d4)](){const _0x3a4c7c=_0x32202a,_0x5bafff=this;this['disposeWithMe'](this['_docClipboardService'][_0x3a4c7c(0x190)]({'onBeforePasteImage':async _0x8dbd7d=>{const _0x390a59=_0x3a4c7c,_0x26a604=await _0x5bafff[_0x390a59(0x2b2)]['saveImage'](_0x8dbd7d);return _0x26a604?{'source':_0x26a604[_0x390a59(0x25b)],'imageSourceType':_0x26a604[_0x390a59(0x1e1)]}:null;}}));}};function _0x5c33(_0x61d60e,_0x2f743d){const _0x44b2bc=_0x44b2();return _0x5c33=function(_0x5c3384,_0x5b8efc){_0x5c3384=_0x5c3384-0xc6;let _0x4831c3=_0x44b2bc[_0x5c3384];return _0x4831c3;},_0x5c33(_0x61d60e,_0x2f743d);}fe=Je([Re(0x0,b[_0x32202a(0x13a)]),Re(0x1,qe['IImageIoService'])],fe);const Oe=['purple300','jiqing500',_0x32202a(0x11b),_0x32202a(0x245),'blue400','gold400'];class Ce extends a[_0x32202a(0x126)]{constructor(){super(...arguments),h(this,'_assignedColors',new Map()),h(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x2fd61a){const _0x1d1c90=_0x32202a;if(this['_assignedColors']['has'](_0x2fd61a))return this['_assignedColors'][_0x1d1c90(0x1b5)](_0x2fd61a);const _0x484704=Oe[this[_0x1d1c90(0x339)]];return this[_0x1d1c90(0x339)]=(this[_0x1d1c90(0x339)]+0x1)%Oe[_0x1d1c90(0xc8)],this[_0x1d1c90(0x21b)][_0x1d1c90(0x1cd)](_0x2fd61a,_0x484704),_0x484704;}}function Le(_0x4c9a35){const _0x1d7d9a=_0x32202a;let _0x2269bc='';for(const _0x5cf984 of _0x4c9a35){const {startOffset:_0x36cd37,endOffset:_0x16bc56,isActive:_0x26539d,rangeType:_0x2580bf,segmentId:_0x4812c8,segmentPage:_0x42501f}=_0x5cf984;_0x2269bc[_0x1d7d9a(0xc8)]&&(_0x2269bc+=','),_0x2269bc+=_0x36cd37+':'+_0x16bc56+':'+(_0x26539d?'1':'0')+':'+_0x2580bf+':'+_0x4812c8+':'+_0x42501f;}return _0x2269bc;}function Ze(_0x4f65ca){const _0x4f22a0=_0x32202a,_0x5625ff=_0x4f65ca[_0x4f22a0(0x11f)](','),_0x2e5d0a=[];for(const _0x128cd0 of _0x5625ff){const [_0x55589,_0x3022de,_0x15b962,_0x46df27,_0x19cb26,_0x22d26f]=_0x128cd0[_0x4f22a0(0x11f)](':');_0x2e5d0a[_0x4f22a0(0x334)]({'startOffset':Number(_0x55589),'endOffset':Number(_0x3022de),'collapsed':_0x55589===_0x3022de,'isActive':_0x15b962==='1','rangeType':_0x46df27===a[_0x4f22a0(0xf5)]['TEXT']?a[_0x4f22a0(0xf5)][_0x4f22a0(0x147)]:a[_0x4f22a0(0xf5)][_0x4f22a0(0x2ae)],'segmentId':typeof _0x19cb26=='string'?String(_0x19cb26):'','segmentPage':Number(_0x22d26f!=null?_0x22d26f:-0x1)});}return _0x2e5d0a['some'](_0x15a4e8=>_0x15a4e8[_0x4f22a0(0x2dc)])||(_0x2e5d0a[0x0][_0x4f22a0(0x2dc)]=!0x0),_0x2e5d0a;}class pe extends a[_0x32202a(0x31a)]{constructor(){const _0x2f6974=_0x32202a;super(...arguments),h(this,_0x2f6974(0x295),new d[(_0x2f6974(0x144))](null)),h(this,'collabCursorState$',this[_0x2f6974(0x295)]['asObservable']());}['syncEditingCollabCursor'](_0x2f7c55){const _0x1b57e1=_0x32202a,{unitID:_0x4ae730,memberID:_0x19e70f,textRanges:_0x2cd0ef}=_0x2f7c55,_0x207ad6=Le(_0x2cd0ef);if(_0x207ad6==='')return;const _0x38e68e={'unitID':_0x4ae730,'memberID':_0x19e70f,'selection':_0x207ad6};this['_collabCursorState$'][_0x1b57e1(0x125)](_0x38e68e);}}var Qe=Object[_0x32202a(0x168)],et=(_0x285f51,_0x3aa809,_0x3b0069,_0x3e7c57)=>{const _0x14a3db=_0x32202a;for(var _0x1ce7b5=_0x3e7c57>0x1?void 0x0:_0x3e7c57?Qe(_0x3aa809,_0x3b0069):_0x3aa809,_0x5cf80f=_0x285f51[_0x14a3db(0xc8)]-0x1,_0xb4cb2a;_0x5cf80f>=0x0;_0x5cf80f--)(_0xb4cb2a=_0x285f51[_0x5cf80f])&&(_0x1ce7b5=_0xb4cb2a(_0x1ce7b5)||_0x1ce7b5);return _0x1ce7b5;},N=(_0x2c3f83,_0x6c736a)=>(_0xa1b399,_0x21684c)=>_0x6c736a(_0xa1b399,_0x21684c,_0x2c3f83);const tt=0x12c,st=0x64;let Se=class extends a[_0x32202a(0x31a)]{constructor(_0xbc4cf5,_0x20acd8,_0x2472b8,_0x318421,_0x210384,_0x3526b6,_0x58ac36,_0x1bb01a,_0x13978f){const _0x534c19=_0x32202a;super(),h(this,'_online',!0x1),h(this,_0x534c19(0x1d4),!0x1),h(this,'_cursorInfo$',new d[(_0x534c19(0x144))](new Map())),h(this,_0x534c19(0x1a2),this[_0x534c19(0x24e)][_0x534c19(0x237)]()),h(this,_0x534c19(0x2b6),new d['BehaviorSubject']([])),h(this,_0x534c19(0x2ab),this[_0x534c19(0x2b6)][_0x534c19(0x1d8)](d[_0x534c19(0x31d)](tt))),h(this,_0x534c19(0x300),a[_0x534c19(0x19f)](_0x372358=>{const _0x4de7fa=_0x534c19,_0x32fc15={'eventID':m[_0x4de7fa(0x1dd)][_0x4de7fa(0x2ea)],'data':{'unitID':this[_0x4de7fa(0x243)],'memberID':this[_0x4de7fa(0xd3)][_0x4de7fa(0x310)](),'selection':Le(_0x372358)}};this['_session']['send'](_0x32fc15,this[_0x4de7fa(0x243)]);},st)),(this[_0x534c19(0x243)]=_0xbc4cf5,this[_0x534c19(0xd3)]=_0x20acd8,this[_0x534c19(0x10b)]=_0x2472b8,this['_colorAssignService']=_0x318421,this[_0x534c19(0x2c5)]=_0x210384,this[_0x534c19(0x145)]=_0x3526b6,this[_0x534c19(0xdc)]=_0x58ac36,this[_0x534c19(0x2d5)]=_0x1bb01a,this[_0x534c19(0x340)]=_0x13978f);}get['cursorInfo'](){const _0x741e24=_0x32202a;return this[_0x741e24(0x24e)]['getValue']();}get[_0x32202a(0x2f5)](){const _0x3a11bf=_0x32202a;return this[_0x3a11bf(0x2b6)][_0x3a11bf(0x272)]();}[_0x32202a(0x2ad)](){const _0x18f23c=_0x32202a;super[_0x18f23c(0x2ad)](),this[_0x18f23c(0x24e)]['next'](new Map()),this[_0x18f23c(0x24e)][_0x18f23c(0x25c)](),this['_roomMembers$'][_0x18f23c(0x125)]([]),this['_roomMembers$'][_0x18f23c(0x25c)]();}['init'](){const _0x546674=_0x32202a;this[_0x546674(0x1d4)]||(this[_0x546674(0x1d4)]=!0x0,this[_0x546674(0xd3)][_0x546674(0x321)]['pipe'](d[_0x546674(0x107)](this[_0x546674(0x1d6)]))[_0x546674(0x2a6)](_0x1b9601=>{const _0x2fb1cc=_0x546674;_0x1b9601===u[_0x2fb1cc(0x10d)]['ONLINE']?this[_0x2fb1cc(0x314)]():this['_toggleOffline']();}),this[_0x546674(0xd3)][_0x546674(0x30e)][_0x546674(0x1d8)](d['takeUntil'](this['dispose$']))[_0x546674(0x2a6)](_0x4bab00=>{const _0x569fac=_0x546674,_0x44082c=_0x4bab00[_0x569fac(0x279)];_0x44082c===m[_0x569fac(0x1dd)][_0x569fac(0x2ea)]&&this[_0x569fac(0x111)](_0x4bab00),_0x44082c===m[_0x569fac(0x1dd)][_0x569fac(0x137)]&&this[_0x569fac(0x2a4)](_0x4bab00);}),this['disposeWithMe'](this['_commandService'][_0x546674(0x186)](_0x2936d4=>{const _0x3877fb=_0x546674,_0x2cea91=_0x2936d4[_0x3877fb(0xef)];_0x2cea91!=null&&this[_0x3877fb(0x27d)]&&_0x2936d4['id']===Y[_0x3877fb(0x1f5)]['id']&&_0x2cea91[_0x3877fb(0x332)]===this[_0x3877fb(0x243)]&&_0x2cea91['isEditing']===!0x1&&_0x2cea91[_0x3877fb(0x1f1)][_0x3877fb(0xc8)]>0x0&&this[_0x3877fb(0x300)](_0x2cea91[_0x3877fb(0x1f1)]);})),this[_0x546674(0x145)][_0x546674(0xeb)][_0x546674(0x1d8)](d[_0x546674(0x107)](this[_0x546674(0x1d6)]))[_0x546674(0x2a6)](_0x2a4a8e=>{const _0x1f6209=_0x546674;if((_0x2a4a8e==null?void 0x0:_0x2a4a8e[_0x1f6209(0x243)])!==this[_0x1f6209(0x243)])return;const _0x1d7c24={'eventID':m[_0x1f6209(0x1dd)]['UPDATE_CURSOR'],'data':_0x2a4a8e};this[_0x1f6209(0x111)](_0x1d7c24);}),this['disposeWithMe'](this[_0x546674(0x340)]['onCommandExecuted'](_0x2df4df=>{const _0x2ba7d3=_0x546674;if(_0x2df4df[_0x2ba7d3(0xef)]==null)return;const _0x47dabc=_0x2df4df[_0x2ba7d3(0xef)];if(_0x2df4df['id']!==Y[_0x2ba7d3(0x2e4)]['id']||_0x47dabc[_0x2ba7d3(0x332)]!==this[_0x2ba7d3(0x243)])return;const _0x1e56c2={'id':_0x2ba7d3(0x183),'params':_0x47dabc},_0x106f5d=this['cursorInfo'];for(const [_0x2450fd,_0x4993f5]of _0x106f5d){const _0x5e2608={'id':_0x2ba7d3(0x183),'params':{'unitId':this[_0x2ba7d3(0x243)],'actions':null,'textRanges':_0x4993f5['ranges']}},_0x4b4541=this[_0x2ba7d3(0xdc)]['transformMutation'](_0x1e56c2,_0x5e2608,!0x1);if(m[_0x2ba7d3(0xfd)](_0x4b4541))throw _0x4b4541[_0x2ba7d3(0xe0)];_0x106f5d['set'](_0x2450fd,{..._0x4993f5,'ranges':_0x4b4541['m2Prime'][_0x2ba7d3(0xef)][_0x2ba7d3(0x135)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x106f5d);});})));}['_onCursorUpdate'](_0xf6498d){const _0xeca7da=_0x32202a;var _0x31855e,_0x30245b;const {memberID:_0x26d2ac,selection:_0x3e4c40}=_0xf6498d[_0xeca7da(0x1ba)],_0x38097b=Ze(_0x3e4c40),_0x3440d7=(_0x30245b=(_0x31855e=this[_0xeca7da(0x2c5)][_0xeca7da(0x2de)](this['unitID'],_0x26d2ac))==null?void 0x0:_0x31855e[_0xeca7da(0x101)])!=null?_0x30245b:'Unknown\x20user',_0x46a59f={'color':this[_0xeca7da(0x124)]['assignAColorForMemberID'](_0x26d2ac),'name':_0x3440d7,'ranges':_0x38097b},_0x2d7ed8=this['cursorInfo'];_0x2d7ed8[_0xeca7da(0x1cd)](_0x26d2ac,_0x46a59f),this[_0xeca7da(0x24e)][_0xeca7da(0x125)](_0x2d7ed8);}[_0x32202a(0x2a4)](_0x326d3e){const _0x451bc6=_0x32202a,{memberID:_0x199aed}=_0x326d3e[_0x451bc6(0x1ba)],_0x17b4c8=this[_0x451bc6(0x25e)];_0x17b4c8['delete'](_0x199aed),this['_cursorInfo$']['next'](_0x17b4c8);}[_0x32202a(0x314)](){const _0x181a8e=_0x32202a;var _0x4a646e;if(this[_0x181a8e(0x27d)]=!0x0,((_0x4a646e=this[_0x181a8e(0x2d5)][_0x181a8e(0x29d)]())==null?void 0x0:_0x4a646e[_0x181a8e(0x32e)]())!==this[_0x181a8e(0x243)])return;const _0x15cea2=this[_0x181a8e(0x10b)][_0x181a8e(0x1b5)](Y['DocSelectionManagerService'])[_0x181a8e(0x1db)]();Array[_0x181a8e(0x2e5)](_0x15cea2)&&_0x15cea2[_0x181a8e(0xc8)]>0x0&&this[_0x181a8e(0x300)](_0x15cea2);}['_toggleOffline'](){const _0x1cb20e=_0x32202a;this[_0x1cb20e(0x27d)]=!0x1;}};Se=et([N(0x2,a[_0x32202a(0xd6)](a[_0x32202a(0x119)])),N(0x3,a[_0x32202a(0xd6)](Ce)),N(0x4,a[_0x32202a(0xd6)](u[_0x32202a(0x21c)])),N(0x5,a[_0x32202a(0xd6)](pe)),N(0x6,m[_0x32202a(0x15c)]),N(0x7,a[_0x32202a(0x227)]),N(0x8,a['ICommandService'])],Se);var nt=Object['getOwnPropertyDescriptor'],it=(_0x38bb00,_0x32c7f1,_0xe5408c,_0x39463c)=>{const _0x3b92d2=_0x32202a;for(var _0x7def78=_0x39463c>0x1?void 0x0:_0x39463c?nt(_0x32c7f1,_0xe5408c):_0x32c7f1,_0x5d1b29=_0x38bb00[_0x3b92d2(0xc8)]-0x1,_0x5efd0f;_0x5d1b29>=0x0;_0x5d1b29--)(_0x5efd0f=_0x38bb00[_0x5d1b29])&&(_0x7def78=_0x5efd0f(_0x7def78)||_0x7def78);return _0x7def78;},y=(_0x6bf1de,_0x51f232)=>(_0x26b743,_0x1e8334)=>_0x51f232(_0x26b743,_0x1e8334,_0x6bf1de);const rt=0x12c,ot=0x64,at=()=>{let _0x961f52=[],_0xd3250=!0x1;return _0x4fc0d3=>{const _0x413f2b=_0x5c33;_0x961f52[_0x413f2b(0x334)](_0x4fc0d3),_0xd3250||(_0xd3250=!0x0,setTimeout(()=>{const _0x12faf4=_0x413f2b;_0x961f52[_0x12faf4(0x207)](_0x1c4f5b=>_0x1c4f5b()),_0x961f52=[],_0xd3250=!0x1;}));};};let ve=class extends a[_0x32202a(0x31a)]{constructor(_0x5485de,_0x106032,_0x245145,_0x3c8aed,_0x192d19,_0x33a46a,_0x12472b,_0x2d6e76){const _0x383281=_0x32202a;super(),h(this,'_online',!0x1),h(this,_0x383281(0x1d4),!0x1),h(this,'_cursorInfo$',new d[(_0x383281(0x144))](new Map())),h(this,_0x383281(0x1a2),this[_0x383281(0x24e)][_0x383281(0x237)]()),h(this,'_roomMembers$',new d['BehaviorSubject']([])),h(this,_0x383281(0x2ab),this[_0x383281(0x2b6)]['pipe'](d[_0x383281(0x31d)](rt))),h(this,_0x383281(0x300),a[_0x383281(0x19f)]((_0x3acc6f,_0x38eff1)=>{const _0x59eb23=_0x383281,_0x5abd16={'eventID':m[_0x59eb23(0x1dd)][_0x59eb23(0x2ea)],'data':{'unitID':this[_0x59eb23(0x243)],'memberID':this[_0x59eb23(0xd3)]['getMemberID'](),'selection':Te[_0x59eb23(0xfa)](_0x3acc6f,_0x38eff1[_0x59eb23(0x210)])}};this['_session'][_0x59eb23(0x2c3)](_0x5abd16,this[_0x59eb23(0x243)]);},ot)),(this[_0x383281(0x243)]=_0x5485de,this[_0x383281(0xd3)]=_0x106032,this[_0x383281(0x10b)]=_0x245145,this[_0x383281(0x124)]=_0x3c8aed,this[_0x383281(0x2c5)]=_0x192d19,this[_0x383281(0x2d5)]=_0x33a46a,this[_0x383281(0x340)]=_0x12472b,this[_0x383281(0xd2)]=_0x2d6e76);}get[_0x32202a(0x25e)](){const _0x30bbec=_0x32202a;return this[_0x30bbec(0x24e)][_0x30bbec(0x272)]();}get[_0x32202a(0x2f5)](){const _0x165660=_0x32202a;return this[_0x165660(0x2b6)][_0x165660(0x272)]();}[_0x32202a(0x2ad)](){const _0x177371=_0x32202a;super[_0x177371(0x2ad)](),this[_0x177371(0x24e)][_0x177371(0x125)](new Map()),this['_cursorInfo$'][_0x177371(0x25c)](),this[_0x177371(0x2b6)]['next']([]),this[_0x177371(0x2b6)][_0x177371(0x25c)]();}[_0x32202a(0x1d2)](){const _0x1b9a44=_0x32202a;this['_init']||(this[_0x1b9a44(0x1d4)]=!0x0,this['_session'][_0x1b9a44(0x321)]['pipe'](d[_0x1b9a44(0x107)](this[_0x1b9a44(0x1d6)]))[_0x1b9a44(0x2a6)](_0xaacf2d=>{const _0x48fa27=_0x1b9a44;_0xaacf2d===u[_0x48fa27(0x10d)][_0x48fa27(0x143)]?this['_toggleOnline']():this[_0x48fa27(0x30d)]();}),this['_session'][_0x1b9a44(0x30e)][_0x1b9a44(0x1d8)](d[_0x1b9a44(0x107)](this[_0x1b9a44(0x1d6)]))['subscribe'](_0x2423ad=>{const _0x38c348=_0x1b9a44,_0x8c5713=_0x2423ad[_0x38c348(0x279)];_0x8c5713===m[_0x38c348(0x1dd)][_0x38c348(0x2ea)]&&this[_0x38c348(0x111)](_0x2423ad),_0x8c5713===m['CollaborationEvent']['USERS_LEAVE']&&this[_0x38c348(0x2a4)](_0x2423ad);}),this['_onRefRangeChange'](),this[_0x1b9a44(0x204)](this['_commandService'][_0x1b9a44(0x186)](_0x39af52=>{const _0x47ca0c=_0x1b9a44;if(this[_0x47ca0c(0x27d)]&&_0x39af52['id']===I[_0x47ca0c(0x1fe)]['id']&&_0x39af52[_0x47ca0c(0xef)]['unitId']===this[_0x47ca0c(0x243)]){const _0x24d580=_0x39af52['params'];this['_updateLocalCursor'](_0x24d580[_0x47ca0c(0x290)],_0x24d580[_0x47ca0c(0x196)][0x0]);}})));}[_0x32202a(0x111)](_0x24a11b){const _0x45b975=_0x32202a;var _0x44a3ae,_0x262ae9;const {memberID:_0x3655cb,selection:_0x1d3506}=_0x24a11b[_0x45b975(0x1ba)],{sheetName:_0x1877db,range:_0x5b80a7}=Te[_0x45b975(0x155)](_0x1d3506),_0x2215bb={'name':(_0x262ae9=(_0x44a3ae=this['_memberService'][_0x45b975(0x2de)](this[_0x45b975(0x243)],_0x3655cb))==null?void 0x0:_0x44a3ae[_0x45b975(0x101)])!=null?_0x262ae9:'Unknown\x20user','range':this[_0x45b975(0x121)](_0x1877db,_0x5b80a7),'sheetID':_0x1877db,'color':this[_0x45b975(0x124)]['assignAColorForMemberID'](_0x3655cb),'selection':_0x1d3506},_0x397bef=this[_0x45b975(0x25e)];_0x397bef[_0x45b975(0x1cd)](_0x3655cb,_0x2215bb),this[_0x45b975(0x24e)][_0x45b975(0x125)](_0x397bef);}[_0x32202a(0x2a4)](_0x484c5b){const _0x243819=_0x32202a,{memberID:_0x5d836a}=_0x484c5b['data'],_0x39064d=this[_0x243819(0x25e)];_0x39064d[_0x243819(0x22d)](_0x5d836a),this[_0x243819(0x24e)]['next'](_0x39064d);}[_0x32202a(0x121)](_0x36aaa9,_0x29c614){const _0x2b526d=_0x32202a;var _0x5bcfd7,_0x386311;const _0x54537d=(_0x386311=(_0x5bcfd7=this['_univerInstanceService'][_0x2b526d(0x2e1)](this[_0x2b526d(0x243)]))==null?void 0x0:_0x5bcfd7['getSheetBySheetId'](_0x36aaa9))==null?void 0x0:_0x386311['getMergeData']();return(_0x54537d==null?void 0x0:_0x54537d['find'](_0x4ff238=>a[_0x2b526d(0x1e8)][_0x2b526d(0x226)](_0x4ff238,_0x29c614)))||_0x29c614;}[_0x32202a(0x2a9)](){const _0x3bbcb6=_0x32202a,_0x72730=new a[(_0x3bbcb6(0x199))](),_0x181af5=at(),_0x27c3cf=()=>{const _0xffb71=_0x3bbcb6;_0x72730[_0xffb71(0x2ad)]();const _0x320bf3=(_0x37a96c,_0x189350,_0x3a6ad7,_0x14a317)=>{const _0x3299d1=_0xffb71;let _0xa49548=[];switch(_0x37a96c['id']){case I[_0x3299d1(0x2e8)]['DeleteRangeMoveLeftCommandId']:{_0xa49548=I[_0x3299d1(0x1bd)](_0x37a96c,_0x14a317);break;}case I[_0x3299d1(0x2e8)][_0x3299d1(0x15a)]:{_0xa49548=I['handleDeleteRangeMoveUp'](_0x37a96c,_0x14a317);break;}case I[_0x3299d1(0x2e8)][_0x3299d1(0x233)]:{_0xa49548=I[_0x3299d1(0x256)](_0x37a96c,_0x14a317);break;}case I['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0xa49548=I[_0x3299d1(0x1dc)](_0x37a96c,_0x14a317);break;}case I['EffectRefRangId'][_0x3299d1(0x26c)]:{_0xa49548=I['handleInsertRangeMoveRight'](_0x37a96c,_0x14a317);break;}case I[_0x3299d1(0x2e8)][_0x3299d1(0x320)]:{_0xa49548=I[_0x3299d1(0x24f)](_0x37a96c,_0x14a317);break;}case I[_0x3299d1(0x2e8)][_0x3299d1(0x184)]:{_0xa49548=I[_0x3299d1(0x264)](_0x37a96c,_0x14a317);break;}case I[_0x3299d1(0x2e8)]['RemoveColCommandId']:{_0xa49548=I[_0x3299d1(0x1c7)](_0x37a96c,_0x14a317);break;}case I[_0x3299d1(0x2e8)][_0x3299d1(0x27f)]:{_0xa49548=I[_0x3299d1(0x1cc)](_0x37a96c,_0x14a317);break;}}const _0x48141b=I['runRefRangeMutations'](_0xa49548,_0x14a317),_0x2b5bf5=this['cursorInfo']['get'](_0x189350);if(_0x2b5bf5&&_0x48141b){const _0x3cdd68={..._0x2b5bf5,'range':_0x48141b};this[_0x3299d1(0x25e)][_0x3299d1(0x1cd)](_0x189350,_0x3cdd68),_0x181af5(()=>{const _0x45c70a=_0x3299d1,_0x22ec7f=this[_0x45c70a(0xd2)][_0x45c70a(0x2d9)](_0x48141b,_0x1e9105=>(_0x22ec7f[_0x45c70a(0x2ad)](),_0x320bf3(_0x1e9105,_0x189350,_0x3a6ad7,_0x48141b)));_0x72730[_0x45c70a(0x134)](_0x22ec7f);});}return{'redos':[],'undos':[]};};this[_0xffb71(0x25e)][_0xffb71(0x207)]((_0x5c593c,_0x498f90)=>{const _0x48fc06=_0xffb71,{range:_0x39e298,sheetID:_0x48afa7}=_0x5c593c,_0x509180=this[_0x48fc06(0xd2)][_0x48fc06(0x2d9)](_0x39e298,_0x3977c3=>(_0x509180['dispose'](),_0x320bf3(_0x3977c3,_0x498f90,_0x48afa7,_0x39e298)));_0x72730[_0x48fc06(0x134)](_0x509180);});};this[_0x3bbcb6(0x204)](a[_0x3bbcb6(0x149)](this[_0x3bbcb6(0x24e)][_0x3bbcb6(0x2a6)](()=>{_0x27c3cf();})));}[_0x32202a(0x314)](){const _0x389f0e=_0x32202a;var _0x3e328e,_0x11c2c2;if(this[_0x389f0e(0x27d)]=!0x0,((_0x3e328e=this['_univerInstanceService'][_0x389f0e(0x29d)]())==null?void 0x0:_0x3e328e[_0x389f0e(0x32e)]())!==this[_0x389f0e(0x243)])return;const _0x56b36f=(_0x11c2c2=this[_0x389f0e(0x10b)][_0x389f0e(0x1b5)](I[_0x389f0e(0x2ed)])[_0x389f0e(0xc6)]())==null?void 0x0:_0x11c2c2[0x0],_0x277d12=this[_0x389f0e(0x2d5)][_0x389f0e(0x29a)](a[_0x389f0e(0x1d9)]['UNIVER_SHEET'])['getActiveSheet']();_0x56b36f&&_0x277d12&&this[_0x389f0e(0x300)](_0x277d12['getSheetId'](),_0x56b36f);}[_0x32202a(0x30d)](){const _0x12b850=_0x32202a;this[_0x12b850(0x27d)]=!0x1;}};ve=it([y(0x2,a[_0x32202a(0xd6)](a[_0x32202a(0x119)])),y(0x3,a[_0x32202a(0xd6)](Ce)),y(0x4,a[_0x32202a(0xd6)](u['MemberService'])),y(0x5,a[_0x32202a(0x227)]),y(0x6,a[_0x32202a(0x2f7)]),y(0x7,a['Inject'](I[_0x32202a(0x2af)]))],ve);var ct=Object['getOwnPropertyDescriptor'],lt=(_0x179439,_0xe495f7,_0x38fe60,_0x173970)=>{for(var _0xbaebf5=_0x173970>0x1?void 0x0:_0x173970?ct(_0xe495f7,_0x38fe60):_0xe495f7,_0x53f0e9=_0x179439['length']-0x1,_0x32c222;_0x53f0e9>=0x0;_0x53f0e9--)(_0x32c222=_0x179439[_0x53f0e9])&&(_0xbaebf5=_0x32c222(_0xbaebf5)||_0xbaebf5);return _0xbaebf5;},ie=(_0x41877f,_0xa9806e)=>(_0x53071f,_0x55deb3)=>_0xa9806e(_0x53071f,_0x55deb3,_0x41877f);let x=class extends a[_0x32202a(0x31a)]{constructor(_0x3b768a,_0x27ac90,_0x1f434c){const _0x9ad38=_0x32202a;super(),h(this,'_entities',new Map()),h(this,_0x9ad38(0x2c0),new d[(_0x9ad38(0xf9))]()),(this[_0x9ad38(0x2d5)]=_0x3b768a,this[_0x9ad38(0x10b)]=_0x27ac90,this[_0x9ad38(0x13d)]=_0x1f434c,this['_init']());}['dispose'](){const _0x39bde3=_0x32202a;super['dispose'](),this[_0x39bde3(0x2c0)][_0x39bde3(0x25c)](),this[_0x39bde3(0x30f)][_0x39bde3(0x207)](_0x5a8b93=>_0x5a8b93[_0x39bde3(0x2ad)]());}[_0x32202a(0x337)](_0x1df069){const _0x32d62c=_0x32202a;return this[_0x32d62c(0x30f)][_0x32d62c(0x254)](_0x1df069)?this['_entities']['get'](_0x1df069)[_0x32d62c(0x1a2)]:this[_0x32d62c(0x2c0)][_0x32d62c(0x1d8)](d[_0x32d62c(0x317)](_0x49bd00=>_0x49bd00[_0x32d62c(0x243)]===_0x1df069),d[_0x32d62c(0x21e)](_0x1798d4=>_0x1798d4[_0x32d62c(0x1a2)]));}[_0x32202a(0x1d4)](){const _0x2d26ef=_0x32202a;this[_0x2d26ef(0x2d5)][_0x2d26ef(0xdd)](a[_0x2d26ef(0x1d9)]['UNIVER_SHEET'])[_0x2d26ef(0x1d8)](d['takeUntil'](this[_0x2d26ef(0x1d6)]))[_0x2d26ef(0x2a6)](async _0x1dcc9c=>{const _0x11ee9e=_0x2d26ef,_0x206293=_0x1dcc9c[_0x11ee9e(0x32e)](),_0x1ea4d4=await this[_0x11ee9e(0x18d)](_0x206293);this[_0x11ee9e(0x2c0)][_0x11ee9e(0x125)](_0x1ea4d4),this[_0x11ee9e(0x30f)][_0x11ee9e(0x1cd)](_0x206293,_0x1ea4d4);}),this['_univerInstanceService'][_0x2d26ef(0xdd)](a[_0x2d26ef(0x1d9)][_0x2d26ef(0x12f)])[_0x2d26ef(0x1d8)](d[_0x2d26ef(0x107)](this[_0x2d26ef(0x1d6)]))[_0x2d26ef(0x1d8)](d[_0x2d26ef(0x317)](_0x1b5ac1=>!_0x1b5ac1[_0x2d26ef(0x32e)]()['startsWith']('__')))[_0x2d26ef(0x2a6)](async _0x126fbf=>{const _0x4771ca=_0x2d26ef,_0x341d5e=_0x126fbf[_0x4771ca(0x32e)](),_0x30db94=await this[_0x4771ca(0x2b3)](_0x341d5e);this[_0x4771ca(0x2c0)][_0x4771ca(0x125)](_0x30db94),this[_0x4771ca(0x30f)]['set'](_0x341d5e,_0x30db94);}),d[_0x2d26ef(0x191)](this[_0x2d26ef(0x2d5)][_0x2d26ef(0x315)](a['UniverInstanceType'][_0x2d26ef(0x12f)]),this[_0x2d26ef(0x2d5)][_0x2d26ef(0x315)](a[_0x2d26ef(0x1d9)][_0x2d26ef(0x1bf)]))['pipe'](d[_0x2d26ef(0x107)](this[_0x2d26ef(0x1d6)]))[_0x2d26ef(0x2a6)](_0x50430d=>{const _0x5ea8ca=_0x2d26ef,_0x460560=_0x50430d[_0x5ea8ca(0x32e)](),_0x42664c=this[_0x5ea8ca(0x30f)][_0x5ea8ca(0x1b5)](_0x460560);_0x42664c&&(_0x42664c[_0x5ea8ca(0x2ad)](),this[_0x5ea8ca(0x30f)][_0x5ea8ca(0x22d)](_0x460560));});}async[_0x32202a(0x18d)](_0xf36c8a){const _0x3c0d1f=_0x32202a,_0x23af44=await this[_0x3c0d1f(0x13d)][_0x3c0d1f(0x171)](_0xf36c8a),_0x5ddf18=this[_0x3c0d1f(0x10b)]['createInstance'](ve,_0xf36c8a,_0x23af44);return _0x5ddf18['init'](),_0x5ddf18;}async['_startDocCollabCursor'](_0x3ce497){const _0x13fbbe=_0x32202a,_0x322d48=await this[_0x13fbbe(0x13d)]['requireSession'](_0x3ce497),_0x2bf5c2=this[_0x13fbbe(0x10b)][_0x13fbbe(0x2b0)](Se,_0x3ce497,_0x322d48);return _0x2bf5c2[_0x13fbbe(0x1d2)](),_0x2bf5c2;}};x=lt([ie(0x0,a[_0x32202a(0x227)]),ie(0x1,a['Inject'](a[_0x32202a(0x119)])),ie(0x2,a[_0x32202a(0xd6)](u[_0x32202a(0x2ca)]))],x);const K=0x14,De=0xc8,re=0x4,ht=0x5;function _t(_0x38e8f1,_0x5a1c38){const _0x4931bb=_0x32202a;let {radius:_0x342615,width:_0x2f0d14,height:_0x5cc374}=_0x5a1c38;_0x342615=_0x342615!=null?_0x342615:0x0,_0x2f0d14=_0x2f0d14!=null?_0x2f0d14:0x1e,_0x5cc374=_0x5cc374!=null?_0x5cc374:0x1e;let _0x34d9ef=0x0,_0x1a8217=0x0,_0xc11bee=0x0;_0x34d9ef=_0x1a8217=_0xc11bee=Math[_0x4931bb(0x2e9)](_0x342615,_0x2f0d14/0x2,_0x5cc374/0x2),_0x38e8f1['beginPath'](),_0x38e8f1[_0x4931bb(0x211)](_0x34d9ef,0x0),_0x38e8f1[_0x4931bb(0x217)](_0x2f0d14-_0x1a8217,0x0),_0x38e8f1['arc'](_0x2f0d14-_0x1a8217,_0x1a8217,_0x1a8217,Math['PI']*0x3/0x2,0x0,!0x1),_0x38e8f1[_0x4931bb(0x217)](_0x2f0d14,_0x5cc374-_0xc11bee),_0x38e8f1['arc'](_0x2f0d14-_0xc11bee,_0x5cc374-_0xc11bee,_0xc11bee,0x0,Math['PI']/0x2,!0x1),_0x38e8f1[_0x4931bb(0x217)](0x0,_0x5cc374),_0x38e8f1[_0x4931bb(0x217)](0x0,_0x34d9ef),_0x38e8f1[_0x4931bb(0x18c)](_0x34d9ef,_0x34d9ef,_0x34d9ef,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x38e8f1[_0x4931bb(0x148)](),_0x5a1c38[_0x4931bb(0x212)]&&(_0x38e8f1[_0x4931bb(0x28f)](),_0x38e8f1['fillStyle']=_0x5a1c38[_0x4931bb(0x212)],_0x5a1c38['fillRule']===_0x4931bb(0x28b)?_0x38e8f1[_0x4931bb(0x212)](_0x4931bb(0x28b)):_0x38e8f1[_0x4931bb(0x212)](),_0x38e8f1[_0x4931bb(0x248)]());}class te extends p[_0x32202a(0x22e)]{constructor(_0x3b7087,_0x3ea8f7){const _0x2b893d=_0x32202a;super(_0x3b7087,_0x3ea8f7),h(this,_0x2b893d(0xdb)),h(this,_0x2b893d(0x158)),(this['color']=_0x3ea8f7==null?void 0x0:_0x3ea8f7['color'],this[_0x2b893d(0x158)]=_0x3ea8f7==null?void 0x0:_0x3ea8f7[_0x2b893d(0x158)]);}static[_0x32202a(0x192)](_0x2a41b9,_0xb84a66){const _0x1f55ce=_0x32202a,{text:_0x510a7a,color:_0x5a49e5}=_0xb84a66;_0x2a41b9[_0x1f55ce(0x28f)](),_0x2a41b9[_0x1f55ce(0x23f)]=_0x1f55ce(0x202);const _0x45f89e=_0x2a41b9[_0x1f55ce(0x288)](_0x510a7a)[_0x1f55ce(0x1ce)],_0x229e43=Math[_0x1f55ce(0x2e9)](_0x45f89e+0x2*re,De);_t(_0x2a41b9,{'height':K,'radius':0x4,'width':_0x229e43,'fill':_0x5a49e5}),_0x2a41b9[_0x1f55ce(0xc7)]=_0x1f55ce(0x260);const _0x3f408b=re,_0x3907c8=K-ht,_0x1e6abe=De-0x2*re;if(_0x45f89e>_0x1e6abe){let _0x49e834='',_0xa6f21=0x0;for(const _0x2224db of _0x510a7a){const _0x81d1e1=_0x2a41b9[_0x1f55ce(0x288)](_0x2224db)[_0x1f55ce(0x1ce)];if(_0xa6f21+_0x81d1e1<=_0x1e6abe-_0x2a41b9['measureText'](_0x1f55ce(0x2df))[_0x1f55ce(0x1ce)])_0x49e834+=_0x2224db,_0xa6f21+=_0x81d1e1;else{_0x49e834+=_0x1f55ce(0x2df);break;}}_0x2a41b9['fillText'](_0x49e834,_0x3f408b,_0x3907c8);}else _0x2a41b9[_0x1f55ce(0x1a8)](_0x510a7a,_0x3f408b,_0x3907c8);_0x2a41b9[_0x1f55ce(0x248)]();}[_0x32202a(0x180)](_0x47d8c2){const _0x5666fd=_0x32202a;te[_0x5666fd(0x192)](_0x47d8c2,this);}}const oe=_0x32202a(0x142),ut=_0x32202a(0x1ca),dt=_0x32202a(0x32d),B=0x6,ft=1.5,ae=0x4,St=1.5,vt=_0x32202a(0x2db);class Ue{constructor(_0x274b98,_0x6e9164,_0x441327,_0x7b79d0){const _0x57a706=_0x32202a;h(this,_0x57a706(0x2d7),[]),h(this,_0x57a706(0x1e4),null),h(this,_0x57a706(0x1c6),null),h(this,_0x57a706(0x2a3),null),h(this,'_hideTimer',null),h(this,_0x57a706(0x179),null),(this[_0x57a706(0x2a8)]=_0x274b98,this['_scene']=_0x6e9164,this['_docSkeleton']=_0x441327,this[_0x57a706(0x1af)]=_0x7b79d0,this[_0x57a706(0x167)]());}set[_0x32202a(0x17d)](_0x522eed){const _0x5d6e4e=_0x32202a;_0x522eed?(this['_anchorDot']&&this[_0x5d6e4e(0x2a3)][_0x5d6e4e(0x16e)](),this['_textBubble']&&this[_0x5d6e4e(0x1c6)][_0x5d6e4e(0x154)]()):(this[_0x5d6e4e(0x2a3)]&&this[_0x5d6e4e(0x2a3)][_0x5d6e4e(0x154)](),this[_0x5d6e4e(0x1c6)]&&this[_0x5d6e4e(0x1c6)][_0x5d6e4e(0x16e)]());}[_0x32202a(0x2ad)](){const _0x5300d8=_0x32202a;for(const _0x27de89 of this[_0x5300d8(0x2d7)])_0x27de89['dispose']();this[_0x5300d8(0x1c6)]&&this[_0x5300d8(0x1c6)][_0x5300d8(0x2ad)](),this[_0x5300d8(0x2a3)]&&this[_0x5300d8(0x2a3)][_0x5300d8(0x2ad)](),this[_0x5300d8(0x1e4)]&&this[_0x5300d8(0x1e4)][_0x5300d8(0x2ad)](),this[_0x5300d8(0x179)]&&this[_0x5300d8(0x179)]();}[_0x32202a(0x167)](){const _0x31d9f8=_0x32202a;var _0x1241a8;const {_docSkeleton:_0x467efb,_document:_0x1bf190}=this,{color:_0x3bf16e,name:_0x4bea03,ranges:_0x20f0ca}=this[_0x31d9f8(0x2a8)],_0x9c9aad=_0x1bf190[_0x31d9f8(0x2c9)](),{docsLeft:_0x46f0d4,docsTop:_0x414097}=_0x9c9aad,_0x55d9ef=new b['NodePositionConvertToCursor'](_0x9c9aad,_0x467efb);for(const {startOffset:_0xa87326,endOffset:_0x33a19f,rangeType:_0x3afa19,segmentId:_0x542b6f,segmentPage:_0x332ec7,collapsed:_0x4c6fea,isActive:_0xc58b08}of _0x20f0ca){const _0x31af5c=_0x467efb['findNodePositionByCharIndex'](_0xa87326,!0x0,_0x542b6f,_0x332ec7);let _0x28686d=_0x467efb[_0x31d9f8(0x31c)](_0x33a19f,!0x0,_0x542b6f,_0x332ec7);if(_0x28686d==null&&(_0x28686d=_0x467efb[_0x31d9f8(0x31c)](_0x33a19f-0x1,!0x1,_0x542b6f,_0x332ec7)),_0xc58b08){const {contentBoxPointGroup:_0x246027}=_0x55d9ef[_0x31d9f8(0x16a)](_0x28686d,_0x28686d);if(_0x246027[_0x31d9f8(0xc8)]===0x0)continue;this[_0x31d9f8(0x2ec)](_0x3bf16e,_0x246027,_0x46f0d4,_0x414097,_0x4bea03),this[_0x31d9f8(0x179)]=this[_0x31d9f8(0x2f3)]();}if(_0x31af5c&&_0x28686d){if(_0x3afa19===a[_0x31d9f8(0xf5)][_0x31d9f8(0x2ae)]){const _0x47c62d=new b[(_0x31d9f8(0x2bd))](_0x9c9aad,_0x467efb),{pointGroup:_0x128d81}=(_0x1241a8=_0x47c62d[_0x31d9f8(0x16a)](_0x31af5c,_0x28686d))!=null?_0x1241a8:{};if(_0x128d81==null||_0x128d81[_0x31d9f8(0xc8)]===0x0)continue;this[_0x31d9f8(0xcd)](_0x3bf16e,_0x128d81,_0x46f0d4,_0x414097);}else{if(!_0x4c6fea){const {borderBoxPointGroup:_0x110c3f}=_0x55d9ef[_0x31d9f8(0x16a)](_0x31af5c,_0x28686d);if(_0x110c3f[_0x31d9f8(0xc8)]===0x0)continue;this[_0x31d9f8(0x1c0)](_0x3bf16e,_0x110c3f,_0x46f0d4,_0x414097);}}}}}['_drawAnchor'](_0x354de6,_0x55f883,_0x47c393,_0x2e5af5,_0x3c4eba){const _0x441a54=_0x32202a,_0x326d56=this[_0x441a54(0xf0)](_0x55f883),{left:_0x26a157,top:_0x478bad,height:_0xf88140}=_0x326d56,_0x9a6c95=this[_0x441a54(0xd7)](),_0x41563d=St/_0x9a6c95,_0x306da7=new p['Rect'](oe+a[_0x441a54(0x1a5)][_0x441a54(0x1eb)](B),{'left':_0x26a157+_0x47c393-_0x41563d,'top':_0x478bad+_0x2e5af5,'height':_0xf88140,'width':ft,'fill':_0x354de6||p[_0x441a54(0x170)](a[_0x441a54(0xe1)][_0x441a54(0xf6)],0x0),'strokeWidth':_0x41563d,'stroke':vt,'evented':!0x0});this[_0x441a54(0x1e4)]=_0x306da7,this['_scene'][_0x441a54(0x2ac)](_0x306da7,b[_0x441a54(0x2aa)]);const _0x1f7c37=new p[(_0x441a54(0x172))](oe+a[_0x441a54(0x1a5)][_0x441a54(0x1eb)](B),{'left':_0x26a157+_0x47c393-_0x41563d,'top':_0x478bad+_0x2e5af5-ae/0x2,'height':ae,'width':ae,'fill':_0x354de6||p[_0x441a54(0x170)](a[_0x441a54(0xe1)][_0x441a54(0xf6)],0x0),'strokeWidth':0x0,'stroke':_0x354de6||p['getColor'](a[_0x441a54(0xe1)][_0x441a54(0xf6)],0x0),'evented':!0x1});this['_anchorDot']=_0x1f7c37,this[_0x441a54(0x216)][_0x441a54(0x2ac)](_0x1f7c37,b[_0x441a54(0x2aa)]);const _0xba1667=new te(oe+a[_0x441a54(0x1a5)]['generateRandomId'](B),{'left':_0x26a157+_0x47c393-_0x41563d,'top':_0x478bad+_0x2e5af5-K,'text':_0x3c4eba,'color':_0x354de6});this[_0x441a54(0x1c6)]=_0xba1667,this['_scene'][_0x441a54(0x2ac)](_0xba1667,b[_0x441a54(0x2aa)]),this[_0x441a54(0x17d)]=!0x1;}[_0x32202a(0x2f3)](){const _0x525fc8=_0x32202a,_0x3f0148=this[_0x525fc8(0x1e4)][_0x525fc8(0x2bc)][_0x525fc8(0x2e2)](()=>{const _0x33fbc8=_0x525fc8;this[_0x33fbc8(0x17d)]=!0x0;}),_0x4bc636=this[_0x525fc8(0x1e4)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x4397f5=_0x525fc8;this['_hideTimer']&&clearTimeout(this[_0x4397f5(0x115)]),this[_0x4397f5(0x115)]=setTimeout(()=>{const _0x19f6a4=_0x4397f5;this[_0x19f6a4(0x17d)]=!0x1;},0x7d0);});return()=>{const _0x57449f=_0x525fc8;_0x3f0148[_0x57449f(0x120)](),_0x4bc636[_0x57449f(0x120)]();};}['_drawTextRange'](_0x13b99b,_0x43d0a2,_0x45dbae,_0x4b5b7d){const _0x1388ec=_0x32202a,_0x6a3e95=new a[(_0x1388ec(0x2f9))](_0x13b99b)[_0x1388ec(0x1d7)](0.2)[_0x1388ec(0x132)](),_0x23123a=new p['RegularPolygon'](ut+a[_0x1388ec(0x1a5)][_0x1388ec(0x1eb)](B),{'pointsGroup':_0x43d0a2,'fill':_0x6a3e95||p[_0x1388ec(0x170)](a[_0x1388ec(0xe1)]['black'],0.2),'left':_0x45dbae,'top':_0x4b5b7d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1388ec(0x2d7)][_0x1388ec(0x334)](_0x23123a),this['_scene']['addObject'](_0x23123a,b[_0x1388ec(0x2aa)]);}[_0x32202a(0xcd)](_0x4b2f0f,_0x5aad2e,_0x4f20e4,_0x32f57f){const _0x3ea628=_0x32202a,_0x2c8fe0=new a[(_0x3ea628(0x2f9))](_0x4b2f0f)[_0x3ea628(0x1d7)](0.2)[_0x3ea628(0x132)](),_0x4a87ab=new p['RegularPolygon'](dt+a[_0x3ea628(0x1a5)][_0x3ea628(0x1eb)](B),{'pointsGroup':_0x5aad2e,'fill':_0x2c8fe0||p['getColor'](a['COLORS'][_0x3ea628(0xf6)],0.2),'left':_0x4f20e4,'top':_0x32f57f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3ea628(0x334)](_0x4a87ab),this[_0x3ea628(0x216)][_0x3ea628(0x2ac)](_0x4a87ab,b[_0x3ea628(0x2aa)]);}[_0x32202a(0xf0)](_0x2477ad){const _0x58595c=_0x2477ad[0x0],_0xed5eb4=_0x58595c[0x0],_0x1001ad=_0x58595c[0x2],{x:_0x28c52a,y:_0x54ba5d}=_0xed5eb4,{x:_0x514334,y:_0x2adc09}=_0x1001ad;return{'left':_0x28c52a,'top':_0x54ba5d,'width':_0x514334-_0x28c52a,'height':_0x2adc09-_0x54ba5d};}[_0x32202a(0xd7)](){const _0x33850e=_0x32202a,{scaleX:_0x503c03,scaleY:_0x51e688}=this[_0x33850e(0x216)][_0x33850e(0x221)]();return Math['max'](_0x503c03,_0x51e688);}}var gt=Object[_0x32202a(0x168)],It=(_0x1b540a,_0x34ffa5,_0x125afd,_0x152920)=>{for(var _0x4104dc=_0x152920>0x1?void 0x0:_0x152920?gt(_0x34ffa5,_0x125afd):_0x34ffa5,_0x4a8539=_0x1b540a['length']-0x1,_0x320cd8;_0x4a8539>=0x0;_0x4a8539--)(_0x320cd8=_0x1b540a[_0x4a8539])&&(_0x4104dc=_0x320cd8(_0x4104dc)||_0x4104dc);return _0x4104dc;},X=(_0x3d1dc0,_0x21b12d)=>(_0x6d156b,_0x23f036)=>_0x21b12d(_0x6d156b,_0x23f036,_0x3d1dc0);let ge=class extends a['RxDisposable']{constructor(_0x1b0fae,_0x3f0052,_0x328915,_0x3a2555,_0x45cb24){const _0x55f368=_0x32202a;super(),h(this,_0x55f368(0x1a6),[]),h(this,'_cursors',[]),(this[_0x55f368(0x18f)]=_0x1b0fae,this[_0x55f368(0x178)]=_0x3f0052,this['_collabCursorController']=_0x328915,this[_0x55f368(0x340)]=_0x3a2555,this[_0x55f368(0x185)]=_0x45cb24,this[_0x55f368(0x1d4)]());}[_0x32202a(0x1d4)](){const _0x6e5511=_0x32202a,_0x47f841=this[_0x6e5511(0x18f)]['unitId'],_0x556db4=this[_0x6e5511(0x178)];this['disposeWithMe'](d['combineLatest']([this['_collabCursorController'][_0x6e5511(0x337)](_0x47f841),this[_0x6e5511(0x185)][_0x6e5511(0x112)]])[_0x6e5511(0x1d8)]($['map'](([_0x4bbfc6,_0x42244b])=>({'skeleton':_0x556db4[_0x6e5511(0x262)](),'cursors':[..._0x4bbfc6[_0x6e5511(0x127)]()][_0x6e5511(0x1ff)](_0x3eca97=>({..._0x3eca97,'color':_0x42244b[_0x3eca97['color']]}))})))[_0x6e5511(0x2a6)](_0xb7f71=>{const _0xf479ab=_0x6e5511;if(this[_0xf479ab(0x140)](),_0xb7f71){const {skeleton:_0x5892e3,cursors:_0x1d0d87}=_0xb7f71;this[_0xf479ab(0x14f)](_0x5892e3,_0x1d0d87);}})),this[_0x6e5511(0x109)](),this[_0x6e5511(0x17c)]();}['_updateCollabCursors'](_0x17b479,_0x102930){const _0x4ff479=_0x32202a,{scene:_0x56a0ec,mainComponent:_0x25d525}=this[_0x4ff479(0x18f)],_0x164a78=_0x102930[_0x4ff479(0x2a1)](_0x38bb82=>new Ue(_0x38bb82,_0x56a0ec,_0x17b479,_0x25d525));this[_0x4ff479(0x1a6)]=_0x164a78,this[_0x4ff479(0x2d6)]=_0x102930;}[_0x32202a(0x118)](){const _0x19b6f9=_0x32202a;this[_0x19b6f9(0x140)]();const {scene:_0x4e62b8,mainComponent:_0x5adfc5}=this[_0x19b6f9(0x18f)],_0x5e0eac=this[_0x19b6f9(0x178)][_0x19b6f9(0x262)](),_0x461bc7=this[_0x19b6f9(0x2d6)][_0x19b6f9(0x2a1)](_0x17fdb2=>new Ue(_0x17fdb2,_0x4e62b8,_0x5e0eac,_0x5adfc5));this[_0x19b6f9(0x1a6)]=_0x461bc7;}[_0x32202a(0x140)](){const _0x1478b9=_0x32202a;this[_0x1478b9(0x1a6)][_0x1478b9(0x207)](_0x2e35e1=>_0x2e35e1[_0x1478b9(0x2ad)]()),this[_0x1478b9(0x1a6)]=[];}[_0x32202a(0x17c)](){const _0x9ee57f=_0x32202a,_0x5a354a=[b['SetDocZoomRatioOperation']['id']];this[_0x9ee57f(0x204)](this[_0x9ee57f(0x340)][_0x9ee57f(0x186)](_0x4403ac=>{const _0x2ccc06=_0x9ee57f;_0x5a354a[_0x2ccc06(0x12c)](_0x4403ac['id'])&&_0x4403ac['params'][_0x2ccc06(0x332)]===this[_0x2ccc06(0x18f)][_0x2ccc06(0x332)]&&this[_0x2ccc06(0x118)]();}));}[_0x32202a(0x109)](){const _0x2a7575=_0x32202a;this[_0x2a7575(0x204)](a[_0x2a7575(0x2fe)](this[_0x2a7575(0x18f)][_0x2a7575(0x1ec)][_0x2a7575(0x32f)])['pipe']($[_0x2a7575(0x317)](_0x38a519=>_0x38a519[_0x2a7575(0x308)]===p[_0x2a7575(0x21d)][_0x2a7575(0x100)]),$[_0x2a7575(0x153)](0x10))['subscribe'](()=>{const _0x194e39=_0x2a7575;this[_0x194e39(0x118)]();}));}};ge=It([X(0x1,a[_0x32202a(0xd6)](Y[_0x32202a(0x267)])),X(0x2,a[_0x32202a(0xd6)](x)),X(0x3,a[_0x32202a(0x2f7)]),X(0x4,a[_0x32202a(0xd6)](a[_0x32202a(0x14c)]))],ge);const mt=0x1,Ct=1.5;class ye extends p['Shape']{constructor(_0x2bbdbf,_0x2be6cb){const _0x4edddd=_0x32202a;super(_0x2bbdbf,_0x2be6cb),h(this,_0x4edddd(0xf2)),h(this,_0x4edddd(0x17b),!0x1),h(this,_0x4edddd(0x165)),h(this,_0x4edddd(0x31e),''),h(this,'_labelPosition',_0x4edddd(0x29b)),h(this,_0x4edddd(0x2c6)),(_0x2be6cb&&this['setShapeProps'](_0x2be6cb),this['onPointerEnter$'][_0x4edddd(0x2e2)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x4edddd(0x2e2)](()=>this[_0x4edddd(0x1fc)]({'hovered':!0x1})));}[_0x32202a(0x1fc)](_0x16e3f){const _0x49eada=_0x32202a;var _0xaf0163,_0x39ee52,_0xe93f97,_0x406091,_0x4edd76,_0x56f0c1;this[_0x49eada(0xf2)]=(_0xaf0163=_0x16e3f[_0x49eada(0xdb)])!=null?_0xaf0163:this[_0x49eada(0xf2)],this['_hovered']=(_0x39ee52=_0x16e3f[_0x49eada(0x146)])!=null?_0x39ee52:this[_0x49eada(0x17b)],this['_range']=(_0xe93f97=_0x16e3f['range'])!=null?_0xe93f97:this['_range'],this[_0x49eada(0x31e)]=(_0x406091=_0x16e3f[_0x49eada(0x101)])!=null?_0x406091:this['_name'],this[_0x49eada(0xf3)]=(_0x4edd76=_0x16e3f[_0x49eada(0x29c)])!=null?_0x4edd76:this[_0x49eada(0xf3)],this['_backgroundColor']=(_0x56f0c1=_0x16e3f[_0x49eada(0x1b8)])!=null?_0x56f0c1:this[_0x49eada(0x2c6)],this['transformByState']({'width':_0x16e3f[_0x49eada(0x1ce)],'height':_0x16e3f['height']});}[_0x32202a(0x33b)](_0xfee2a2){const _0x56c593=_0x32202a,{row:_0x5d1247,column:_0x60fcac}=_0xfee2a2;if(_0x5d1247>=this['_range']['startRow']&&_0x5d1247<=this[_0x56c593(0x165)][_0x56c593(0x247)]&&_0x60fcac>=this[_0x56c593(0x165)][_0x56c593(0x1bb)]&&_0x60fcac<=this['_range'][_0x56c593(0x206)]){this[_0x56c593(0x1fc)]({'hovered':!0x0});return;}this[_0x56c593(0x1fc)]({'hovered':!0x1});}['triggerDblclick'](_0x9ed8ea){return!0x1;}[_0x32202a(0x180)](_0x2f14d5){const _0x571e23=_0x32202a;p[_0x571e23(0x172)]['drawWith'](_0x2f14d5,{'width':this[_0x571e23(0x1ce)],'height':this[_0x571e23(0x268)],'strokeWidth':Ct,'stroke':this[_0x571e23(0xf2)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x571e23(0x17b)]&&(_0x2f14d5[_0x571e23(0x28f)](),_0x2f14d5[_0x571e23(0x236)](0x1,0x0,0x0,0x1,this[_0x571e23(0x1ce)],this[_0x571e23(0xf3)]===_0x571e23(0x200)?0x0:-0x14),te[_0x571e23(0x192)](_0x2f14d5,{'text':this['_name'],'color':this['_color']}),_0x2f14d5['restore']());}}var pt=Object[_0x32202a(0x168)],bt=(_0x8aaf03,_0x396308,_0x112fed,_0x370ed1)=>{const _0x28d716=_0x32202a;for(var _0x38205c=_0x370ed1>0x1?void 0x0:_0x370ed1?pt(_0x396308,_0x112fed):_0x396308,_0x30b293=_0x8aaf03[_0x28d716(0xc8)]-0x1,_0x4890f2;_0x30b293>=0x0;_0x30b293--)(_0x4890f2=_0x8aaf03[_0x30b293])&&(_0x38205c=_0x4890f2(_0x38205c)||_0x38205c);return _0x38205c;},ce=(_0x490024,_0x53f216)=>(_0x25f353,_0x1cf949)=>_0x53f216(_0x25f353,_0x1cf949,_0x490024);const Et=0x1389;let Ie=class extends a[_0x32202a(0x31a)]{constructor(_0x1b9e7b,_0x543b7b,_0x3b422b,_0x17f878){const _0x393eb1=_0x32202a;super(),h(this,_0x393eb1(0x2d6),new Set()),h(this,_0x393eb1(0x1a9),null),(this[_0x393eb1(0x18f)]=_0x1b9e7b,this[_0x393eb1(0x1e2)]=_0x543b7b,this[_0x393eb1(0x2bb)]=_0x3b422b,this[_0x393eb1(0x185)]=_0x17f878,this[_0x393eb1(0x1d4)]());}['_init'](){const _0x597d98=_0x32202a;this[_0x597d98(0x1e2)][_0x597d98(0x114)]['pipe']($[_0x597d98(0x107)](this[_0x597d98(0x1d6)]),$[_0x597d98(0x21e)](_0x163fa1=>{const _0xf2b980=_0x597d98;if(_0x163fa1){const _0x3ec30d=_0x163fa1[_0xf2b980(0xdf)];return d['combineLatest'](this[_0xf2b980(0x2bb)]['getCollabCursors$'](this[_0xf2b980(0x18f)]['unitId']),this['_themeService']['currentTheme$'])[_0xf2b980(0x1d8)]($[_0xf2b980(0x2a1)](([_0x3e7b47,_0xd305e1])=>{const _0x3be53f=_0xf2b980,_0x112a72=new Map();return _0x3e7b47[_0x3be53f(0x207)]((_0x10b4f5,_0x407a70)=>{const _0x5bdb7b=_0x3be53f;if(_0x10b4f5['sheetID']===_0x3ec30d){const _0x3a8a33={..._0x10b4f5};_0x3a8a33['color']=_0xd305e1[_0x10b4f5[_0x5bdb7b(0xdb)]],_0x112a72[_0x5bdb7b(0x1cd)](_0x407a70,_0x3a8a33);}}),{'skeleton':_0x163fa1,'cursors':_0x112a72};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x597d98(0x2a6)](({skeleton:_0x35c861,cursors:_0x1e6813})=>{const _0x437f66=_0x597d98;this[_0x437f66(0x140)](),_0x35c861&&this[_0x437f66(0x14f)](_0x35c861,_0x1e6813);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x597d98(0x2a6)](_0x1312fa=>{const _0x7df9ab=_0x597d98;if(_0x1312fa==null)return;const {skeleton:_0x21b020}=_0x1312fa,{scene:_0x26a60e}=this['_context'];_0x26a60e[_0x7df9ab(0x2eb)][_0x7df9ab(0x2e2)](a[_0x7df9ab(0x19f)](_0x1bbf7f=>{const _0x334ab5=_0x7df9ab;var _0x477750,_0x467ad7;const {offsetX:_0x29feee,offsetY:_0x5cea6f}=_0x1bbf7f,{x:_0x210034,y:_0x5857c1}=_0x26a60e[_0x334ab5(0x1fd)](p['Vector2']['FromArray']([_0x29feee,_0x5cea6f])),{scaleX:_0xdc32c,scaleY:_0x43aacc}=_0x26a60e[_0x334ab5(0x221)](),_0x364678=_0x26a60e['getViewport'](p[_0x334ab5(0x271)][_0x334ab5(0x231)]),_0xf0469=_0x26a60e[_0x334ab5(0x327)](p[_0x334ab5(0x282)]['FromArray']([_0x210034,_0x5857c1]),_0x364678),_0x3d65a9=_0x21b020['getCellPositionByOffset'](_0x29feee,_0x5cea6f,_0xdc32c,_0x43aacc,_0xf0469);((_0x477750=this[_0x334ab5(0x1a9)])==null?void 0x0:_0x477750[_0x334ab5(0x195)])===_0x3d65a9[_0x334ab5(0x195)]&&((_0x467ad7=this[_0x334ab5(0x1a9)])==null?void 0x0:_0x467ad7[_0x334ab5(0x289)])===_0x3d65a9[_0x334ab5(0x289)]||this[_0x334ab5(0x2d6)][_0x334ab5(0x207)](_0x456c4d=>{const _0x5ed159=_0x334ab5;_0x456c4d[_0x5ed159(0x33b)](_0x3d65a9);});},0x64));});}['_updateCollabCursors'](_0x31e99d,_0x4dd79c){const _0x1d2583=_0x32202a;var _0xd6e0c9;const _0x54cecf=(_0xd6e0c9=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0xd6e0c9[_0x1d2583(0x2ba)];if(!_0x54cecf)return;const _0xb7bfaf=this['_getSheetObject']();if(!_0xb7bfaf)return;this[_0x1d2583(0x2d6)][_0x1d2583(0x207)](_0x2e4fbc=>{const _0xb1cd23=_0x1d2583;_0x2e4fbc[_0xb1cd23(0x197)]();});const {scene:_0x179c30}=_0xb7bfaf,_0x3e06d6=Tt(Array[_0x1d2583(0x312)](_0x4dd79c[_0x1d2583(0x127)]()))[_0x1d2583(0x2a1)](_0x3e3e23=>{const _0x251c31=_0x1d2583,{color:_0x1935a8,range:_0x305d0c,name:_0x41c807,selection:_0x2ac066,sheetID:_0x342c3e}=_0x3e3e23,{startColumn:_0x5059b0,startRow:_0xf34507,endColumn:_0x1e7c39,endRow:_0x567c0e}=_0x305d0c,_0x2ba7e8=G[_0x251c31(0x208)](_0xf34507,_0x5059b0,_0x179c30,_0x54cecf),_0x162bce=G[_0x251c31(0x208)](_0x567c0e,_0x1e7c39,_0x179c30,_0x54cecf),{columnHeaderHeightAndMarginTop:_0x3e40fe}=_0x54cecf,{startX:_0x2ed9d1,startY:_0x44e48a}=_0x2ba7e8,{endX:_0x5dfb27,endY:_0x2144a0}=_0x162bce,_0x11f0e2=_0x5dfb27-_0x2ed9d1,_0x8ceb62=_0x2144a0-_0x44e48a,_0x321d17={'labelPosition':_0x44e48a-_0x3e40fe>=K?_0x251c31(0x29b):_0x251c31(0x200),'sheetID':_0x342c3e,'range':_0x305d0c,'color':_0x1935a8,'name':_0x41c807,'selection':_0x2ac066,'left':_0x2ed9d1,'top':_0x44e48a,'width':_0x11f0e2,'height':_0x8ceb62,'evented':!0x1,'zIndex':Et};return new ye(_0x41c807,_0x321d17);});_0x179c30['addObjects'](_0x3e06d6,mt),this[_0x1d2583(0x2d6)]=new Set(_0x3e06d6);}[_0x32202a(0x140)](){const _0x2daa8b=_0x32202a;var _0x277aa4;(_0x277aa4=this['_cursors'])==null||_0x277aa4[_0x2daa8b(0x207)](_0x230e30=>_0x230e30[_0x2daa8b(0x2ad)]());}['_getSheetObject'](){const _0x4a998f=_0x32202a;return G[_0x4a998f(0x2c2)](this[_0x4a998f(0x18f)][_0x4a998f(0x1ad)],this[_0x4a998f(0x18f)]);}};Ie=bt([ce(0x1,a['Inject'](G[_0x32202a(0x15f)])),ce(0x2,a[_0x32202a(0xd6)](x)),ce(0x3,a[_0x32202a(0xd6)](a['ThemeService']))],Ie);function Tt(_0x18580b){const _0x3af6d7=_0x32202a,_0x203800=new Map();return _0x18580b[_0x3af6d7(0x207)](_0x55aabe=>{const _0x5e06b1=_0x3af6d7;if(_0x203800[_0x5e06b1(0x254)](_0x55aabe[_0x5e06b1(0x1d5)])){const _0x2d8f92=_0x203800[_0x5e06b1(0x1b5)](_0x55aabe[_0x5e06b1(0x1d5)]);_0x2d8f92[_0x5e06b1(0x101)]+=',\x20'+_0x55aabe[_0x5e06b1(0x101)];}else _0x203800[_0x5e06b1(0x1cd)](_0x55aabe[_0x5e06b1(0x1d5)],_0x55aabe);}),Array[_0x3af6d7(0x312)](_0x203800[_0x3af6d7(0x127)]());}var E=function(){const _0x51e19b=_0x32202a;return E=Object[_0x51e19b(0x20a)]||function(_0x548496){const _0x398c81=_0x51e19b;for(var _0x17d222,_0x3cf9d6=0x1,_0xc4c4d3=arguments['length'];_0x3cf9d6<_0xc4c4d3;_0x3cf9d6++){_0x17d222=arguments[_0x3cf9d6];for(var _0x4954d4 in _0x17d222)Object[_0x398c81(0x162)]['hasOwnProperty'][_0x398c81(0x15e)](_0x17d222,_0x4954d4)&&(_0x548496[_0x4954d4]=_0x17d222[_0x4954d4]);}return _0x548496;},E[_0x51e19b(0xcf)](this,arguments);},Rt=function(_0xab8974,_0x2ab917){const _0x42901e=_0x32202a;var _0x2b38ca={};for(var _0x4757a3 in _0xab8974)Object[_0x42901e(0x162)][_0x42901e(0x20e)][_0x42901e(0x15e)](_0xab8974,_0x4757a3)&&_0x2ab917[_0x42901e(0x26d)](_0x4757a3)<0x0&&(_0x2b38ca[_0x4757a3]=_0xab8974[_0x4757a3]);if(_0xab8974!=null&&typeof Object[_0x42901e(0x20c)]=='function'){for(var _0x534bdc=0x0,_0x4757a3=Object[_0x42901e(0x20c)](_0xab8974);_0x534bdc<_0x4757a3[_0x42901e(0xc8)];_0x534bdc++)_0x2ab917[_0x42901e(0x26d)](_0x4757a3[_0x534bdc])<0x0&&Object[_0x42901e(0x162)][_0x42901e(0x307)][_0x42901e(0x15e)](_0xab8974,_0x4757a3[_0x534bdc])&&(_0x2b38ca[_0x4757a3[_0x534bdc]]=_0xab8974[_0x4757a3[_0x534bdc]]);}return _0x2b38ca;},be=P[_0x32202a(0x1e6)](function(_0x300244,_0xaf71ee){const _0xcceb4d=_0x32202a;var _0xe31621=_0x300244[_0xcceb4d(0xf1)],_0x5ea08f=_0x300244['id'],_0x38c407=_0x300244[_0xcceb4d(0xd8)],_0x4f0d11=_0x300244[_0xcceb4d(0x1c1)],_0x49bf41=Rt(_0x300244,[_0xcceb4d(0xf1),'id',_0xcceb4d(0xd8),'extend']),_0x317ef5=_0xcceb4d(0x22b)[_0xcceb4d(0x2dd)](_0x5ea08f,'\x20')[_0xcceb4d(0x2dd)](_0x38c407||'')[_0xcceb4d(0x218)](),_0x1d4210=P['useRef']('_'['concat'](Ut()));return Ae(_0xe31621,''['concat'](_0x5ea08f),{'defIds':_0xe31621['defIds'],'idSuffix':_0x1d4210[_0xcceb4d(0x1e3)]},E({'ref':_0xaf71ee,'className':_0x317ef5},_0x49bf41),_0x4f0d11);});function Ae(_0x257006,_0x4c8b62,_0x5058b4,_0x27e2f6,_0x52b9e0){const _0x414a5d=_0x32202a;return P[_0x414a5d(0x292)](_0x257006[_0x414a5d(0x188)],E(E({'key':_0x4c8b62},Ot(_0x257006,_0x5058b4,_0x52b9e0)),_0x27e2f6),(Dt(_0x257006,_0x5058b4)[_0x414a5d(0x1c4)]||[])[_0x414a5d(0x2a1)](function(_0x33d216,_0x2c61c6){const _0x2f38eb=_0x414a5d;return Ae(_0x33d216,''[_0x2f38eb(0x2dd)](_0x4c8b62,'-')[_0x2f38eb(0x2dd)](_0x257006[_0x2f38eb(0x188)],'-')[_0x2f38eb(0x2dd)](_0x2c61c6),_0x5058b4,void 0x0,_0x52b9e0);}));}function Ot(_0x450cca,_0x403ea5,_0x39b32c){const _0x499a74=_0x32202a;var _0x1d5804=E({},_0x450cca['attrs']);_0x39b32c!=null&&_0x39b32c[_0x499a74(0x23e)]&&_0x1d5804[_0x499a74(0x212)]===_0x499a74(0x23e)&&(_0x1d5804['fill']=_0x39b32c[_0x499a74(0x23e)]),_0x450cca[_0x499a74(0x188)]===_0x499a74(0x269)&&_0x1d5804['id']&&(_0x1d5804['id']=_0x1d5804['id']+_0x403ea5[_0x499a74(0x301)]),Object['entries'](_0x1d5804)[_0x499a74(0x207)](function(_0x3f2689){const _0xe7a2db=_0x499a74;var _0x20e405=_0x3f2689[0x0],_0x15b85b=_0x3f2689[0x1];_0x20e405===_0xe7a2db(0x269)&&typeof _0x15b85b==_0xe7a2db(0xe9)&&(_0x1d5804[_0x20e405]=_0x15b85b[_0xe7a2db(0x232)](/url\(#(.*)\)/,_0xe7a2db(0x1f8)[_0xe7a2db(0x2dd)](_0x403ea5[_0xe7a2db(0x301)],')')));});var _0x614c7e=_0x403ea5['defIds'];return!_0x614c7e||_0x614c7e['length']===0x0||(_0x450cca[_0x499a74(0x188)]===_0x499a74(0x33d)&&_0x1d5804['xlink:href']&&(_0x1d5804['xlink:href']=_0x1d5804[_0x499a74(0x261)]+_0x403ea5[_0x499a74(0x301)]),Object[_0x499a74(0x316)](_0x1d5804)[_0x499a74(0x207)](function(_0x7868dc){const _0x465a54=_0x499a74;var _0x1f259f=_0x7868dc[0x0],_0x446062=_0x7868dc[0x1];typeof _0x446062==_0x465a54(0xe9)&&(_0x1d5804[_0x1f259f]=_0x446062[_0x465a54(0x232)](/url\(#(.*)\)/,_0x465a54(0x1f8)[_0x465a54(0x2dd)](_0x403ea5[_0x465a54(0x301)],')')));})),_0x1d5804;}function Dt(_0x496a9a,_0x35651c){const _0xeaa2d6=_0x32202a;var _0x48c0e3,_0x16864f=_0x35651c[_0xeaa2d6(0x1ed)];return!_0x16864f||_0x16864f[_0xeaa2d6(0xc8)]===0x0?_0x496a9a:_0x496a9a[_0xeaa2d6(0x188)]==='defs'&&(!((_0x48c0e3=_0x496a9a['children'])===null||_0x48c0e3===void 0x0)&&_0x48c0e3['length'])?E(E({},_0x496a9a),{'children':_0x496a9a[_0xeaa2d6(0x1c4)]['map'](function(_0x1ff554){const _0x410f57=_0xeaa2d6;return typeof _0x1ff554[_0x410f57(0x2d1)]['id']==_0x410f57(0xe9)&&_0x16864f&&_0x16864f[_0x410f57(0x26d)](_0x1ff554[_0x410f57(0x2d1)]['id'])>-0x1?E(E({},_0x1ff554),{'attrs':E(E({},_0x1ff554['attrs']),{'id':_0x1ff554[_0x410f57(0x2d1)]['id']+_0x35651c[_0x410f57(0x301)]})}):_0x1ff554;})}):_0x496a9a;}function Ut(){const _0x167ce1=_0x32202a;return Math[_0x167ce1(0x2d4)]()[_0x167ce1(0x182)](0x24)[_0x167ce1(0x323)](0x2,0x8);}be[_0x32202a(0x242)]=_0x32202a(0x2a0);var Mt={'tag':_0x32202a(0xfe),'attrs':{'fill':'none','viewBox':_0x32202a(0x1ea),'width':_0x32202a(0x12b),'height':_0x32202a(0x12b)},'children':[{'tag':'g','attrs':{'clipPath':_0x32202a(0x1e9)},'children':[{'tag':_0x32202a(0x11d),'attrs':{'stroke':'currentColor','d':_0x32202a(0x17e),'strokeLinecap':_0x32202a(0xe4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x32202a(0x33c),'attrs':{'id':_0x32202a(0x238)},'children':[{'tag':_0x32202a(0x11d),'attrs':{'fill':'#fff','d':_0x32202a(0x32b)}}]}]}],'defIds':[_0x32202a(0x238)]},$e=P['forwardRef'](function(_0x532daf,_0x296b46){const _0x1dffa5=_0x32202a;return P[_0x1dffa5(0x292)](be,Object[_0x1dffa5(0x20a)]({},_0x532daf,{'id':'off-line-single','ref':_0x296b46,'icon':Mt}));});$e[_0x32202a(0x242)]='OffLineSingle';var Pt={'tag':_0x32202a(0xfe),'attrs':{'fill':_0x32202a(0x10e),'viewBox':_0x32202a(0x150),'width':_0x32202a(0x12b),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x32202a(0x304)},'children':[{'tag':_0x32202a(0x11d),'attrs':{'stroke':_0x32202a(0x14e),'d':_0x32202a(0x209),'strokeLinecap':_0x32202a(0xe4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x32202a(0x33c),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x32202a(0x11d),'attrs':{'fill':_0x32202a(0x122),'d':'M0\x200H16V16H0z','transform':_0x32202a(0x110)}}]}]}],'defIds':[_0x32202a(0x10f)]},xe=P[_0x32202a(0x1e6)](function(_0x497084,_0x2d05df){const _0x17fbe6=_0x32202a;return P['createElement'](be,Object['assign']({},_0x497084,{'id':_0x17fbe6(0x278),'ref':_0x2d05df,'icon':Pt}));});xe['displayName']='OnLineSingle';const Nt=_0x32202a(0x1ef),wt='univer-online-status-title',Lt='univer-online-status',yt=_0x32202a(0x326),At=_0x32202a(0x2fb),H={'onlineStatusIcon':Nt,'onlineStatusTitle':wt,'onlineStatus':Lt,'online':yt,'offline':At};function $t(_0x2b2d5b){const _0x2f673f=_0x32202a;switch(_0x2b2d5b){case u[_0x2f673f(0x335)][_0x2f673f(0x219)]:return'collabStatus.offline';case u[_0x2f673f(0x335)][_0x2f673f(0x287)]:return _0x2f673f(0x1ee);case u['CollaborationStatus'][_0x2f673f(0x277)]:return _0x2f673f(0x1be);case u['CollaborationStatus'][_0x2f673f(0x17f)]:return _0x2f673f(0x19c);case u[_0x2f673f(0x335)][_0x2f673f(0x10c)]:case u[_0x2f673f(0x335)][_0x2f673f(0x266)]:return _0x2f673f(0x1de);case u['CollaborationStatus'][_0x2f673f(0x2fa)]:case u[_0x2f673f(0x335)][_0x2f673f(0xd5)]:return'collabStatus.synced';}}function je(_0x5da201){const _0x50371b=_0x32202a,{status$:_0x35a224}=_0x5da201,_0x2ab1f5=R[_0x50371b(0x294)](_0x35a224,u[_0x50371b(0x335)][_0x50371b(0x17f)]),_0x43595a=R['useDependency'](a['LocaleService']),_0x29567e=R[_0x50371b(0x31b)](u['CollaborationSessionService']),_0x52e09b=_0x2ab1f5!==u[_0x50371b(0x335)]['OFFLINE'],_0x1c2529=_0x43595a['t']($t(_0x2ab1f5)),_0xe668e3=T[_0x50371b(0x1e7)](H[_0x50371b(0x28e)],{[H['online']]:_0x52e09b,[H[_0x50371b(0x252)]]:!_0x52e09b}),_0x1b0c36=_0x52e09b?w[_0x50371b(0x324)](xe,{}):w[_0x50371b(0x324)]($e,{}),_0x4741f0=P[_0x50371b(0x1c8)](()=>{const _0x18a6fe=_0x50371b;_0x52e09b||_0x29567e[_0x18a6fe(0x333)]();},[_0x52e09b,_0x29567e]);function _0x425e0c(){const _0x76f295=_0x50371b;return w[_0x76f295(0x21f)](_0x76f295(0x1a7),{'className':T[_0x76f295(0x1e7)](_0xe668e3,_0x76f295(0x26e)),'onClick':_0x4741f0,'children':[w['jsx'](_0x76f295(0x1a7),{'className':H[_0x76f295(0x1fb)],'children':_0x1b0c36}),w['jsx'](_0x76f295(0x1a7),{'className':H[_0x76f295(0x16d)],'children':_0x1c2529})]});}return _0x52e09b?_0x425e0c():w[_0x50371b(0x324)](T['Tooltip'],{'title':_0x43595a['t'](_0x50371b(0x2c1)),'children':_0x425e0c()});}var xt=Object[_0x32202a(0x168)],jt=(_0x9e084f,_0x26f0fc,_0x31eb7b,_0x1cbf56)=>{const _0x37bf66=_0x32202a;for(var _0x5d0c6c=_0x1cbf56>0x1?void 0x0:_0x1cbf56?xt(_0x26f0fc,_0x31eb7b):_0x26f0fc,_0x14e0a2=_0x9e084f[_0x37bf66(0xc8)]-0x1,_0xa4cf83;_0x14e0a2>=0x0;_0x14e0a2--)(_0xa4cf83=_0x9e084f[_0x14e0a2])&&(_0x5d0c6c=_0xa4cf83(_0x5d0c6c)||_0x5d0c6c);return _0x5d0c6c;},V=(_0x294a54,_0x689c05)=>(_0x23bfec,_0x4156f2)=>_0x689c05(_0x23bfec,_0x4156f2,_0x294a54);exports[_0x32202a(0x18b)]=class extends a['Disposable']{constructor(_0x4fb698,_0x234b92,_0x374791,_0x55eb58){const _0x4eafe5=_0x32202a;super(),h(this,_0x4eafe5(0x24d),new d[(_0x4eafe5(0x144))](u[_0x4eafe5(0x335)][_0x4eafe5(0x17f)])),(this['_univerInstanceService']=_0x4fb698,this[_0x4eafe5(0x10b)]=_0x234b92,this[_0x4eafe5(0x336)]=_0x374791,this['_uiPartsService']=_0x55eb58,this[_0x4eafe5(0x14a)](),this[_0x4eafe5(0x26a)]());}[_0x32202a(0x26a)](){const _0x36a400=_0x32202a;this[_0x36a400(0x204)](this[_0x36a400(0x2d5)][_0x36a400(0xcb)][_0x36a400(0x1d8)](d[_0x36a400(0x21e)](()=>{const _0x3adc3b=_0x36a400,_0x516818=this[_0x3adc3b(0x2d5)]['getFocusedUnit']();return _0x516818?this[_0x3adc3b(0x336)]['getCollabEntity$'](_0x516818[_0x3adc3b(0x32e)]()):d['of'](null);}),d[_0x36a400(0x21e)](_0x2117dc=>_0x2117dc?_0x2117dc[_0x36a400(0x14d)]:d['of'](u['CollaborationStatus'][_0x36a400(0x17f)])))[_0x36a400(0x2a6)](_0x58a994=>{const _0x31d23f=_0x36a400;this[_0x31d23f(0x24d)]['next'](_0x58a994);}));}['_initStatusComponent'](){const _0x5d9d12=_0x32202a;this[_0x5d9d12(0x204)](this[_0x5d9d12(0x138)]['registerComponent'](R[_0x5d9d12(0x2a5)]['HEADER_MENU'],()=>R[_0x5d9d12(0x105)](kt({'status$':this['_status$'][_0x5d9d12(0x237)]()}),this[_0x5d9d12(0x10b)])));}},exports[_0x32202a(0x18b)]=jt([V(0x0,a[_0x32202a(0x227)]),V(0x1,a[_0x32202a(0xd6)](a[_0x32202a(0x119)])),V(0x2,a[_0x32202a(0xd6)](u[_0x32202a(0x19b)])),V(0x3,R[_0x32202a(0x15d)])],exports[_0x32202a(0x18b)]);function kt(_0x43c241){const {status$:_0x576d91}=_0x43c241;return function(){return w['jsx'](je,{'status$':_0x576d91});};}var Bt=Object['getOwnPropertyDescriptor'],Ht=(_0x1d4ba2,_0x28cd1d,_0x18b5e5,_0x2fa81)=>{const _0x23e1b8=_0x32202a;for(var _0x3d0659=_0x2fa81>0x1?void 0x0:_0x2fa81?Bt(_0x28cd1d,_0x18b5e5):_0x28cd1d,_0x38e0b7=_0x1d4ba2[_0x23e1b8(0xc8)]-0x1,_0x58059d;_0x38e0b7>=0x0;_0x38e0b7--)(_0x58059d=_0x1d4ba2[_0x38e0b7])&&(_0x3d0659=_0x58059d(_0x3d0659)||_0x3d0659);return _0x3d0659;},A=(_0x2ed17c,_0x266ec2)=>(_0x35a273,_0x49cfe7)=>_0x266ec2(_0x35a273,_0x49cfe7,_0x2ed17c);let z=class extends a[_0x32202a(0x126)]{constructor(_0x2dce66,_0x223cf5,_0x5e249a,_0x53178b,_0x4538ba,_0x2926e3){const _0x1db6fd=_0x32202a;super(),this[_0x1db6fd(0x1c2)]=_0x2dce66,this[_0x1db6fd(0x274)]=_0x223cf5,this['_collaborationUIEventService']=_0x5e249a,this[_0x1db6fd(0x2f1)]=_0x53178b,this['_notificationService']=_0x4538ba,this[_0x1db6fd(0x2b7)]=_0x2926e3,this[_0x1db6fd(0x19e)](),this[_0x1db6fd(0x23a)]();}[_0x32202a(0x19e)](){const _0x5bfdc1=_0x32202a;this[_0x5bfdc1(0x204)](this[_0x5bfdc1(0x1c2)]['registerBeforeClose'](()=>{const _0x5acf33=_0x5bfdc1;if(this[_0x5acf33(0x274)][_0x5acf33(0x1c3)]['size'])return this[_0x5acf33(0x2b7)]['t'](_0x5acf33(0xce));}));}['_initEvent'](){const _0xf7063f=_0x32202a;this[_0xf7063f(0x204)](this[_0xf7063f(0x2a2)][_0xf7063f(0x30e)][_0xf7063f(0x2a6)](_0x125cc0=>{const _0x4f2ce0=_0xf7063f;_0x125cc0['id']===u[_0x4f2ce0(0x2b8)][_0x4f2ce0(0x19a)]&&this[_0x4f2ce0(0x2f1)][_0x4f2ce0(0x154)]({'type':T['MessageType'][_0x4f2ce0(0x1b0)],'content':this[_0x4f2ce0(0x2b7)]['t'](_0x4f2ce0(0x1c5))}),_0x125cc0['id']===u[_0x4f2ce0(0x2b8)][_0x4f2ce0(0x325)]&&this['_messageService'][_0x4f2ce0(0x154)]({'type':T[_0x4f2ce0(0x193)][_0x4f2ce0(0x1b0)],'content':this[_0x4f2ce0(0x2b7)]['t']('collaboration.closeRoom')}),_0x125cc0['id']===u[_0x4f2ce0(0x2b8)][_0x4f2ce0(0x131)]&&this[_0x4f2ce0(0x1a1)][_0x4f2ce0(0x154)]({'title':this['_localeService']['t'](_0x4f2ce0(0x32a)),'content':this['_localeService']['t'](_0x4f2ce0(0x1c9)),'type':_0x4f2ce0(0xe0),'duration':0x0}),_0x125cc0['id']===u[_0x4f2ce0(0x2b8)][_0x4f2ce0(0x287)]&&this[_0x4f2ce0(0x2f1)][_0x4f2ce0(0x154)]({'type':T[_0x4f2ce0(0x193)]['Error'],'content':this[_0x4f2ce0(0x2b7)]['t'](_0x4f2ce0(0xf8))+'('+_0x125cc0['data']+')'}),_0x125cc0['id']===u[_0x4f2ce0(0x2b8)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x4f2ce0(0x154)]({'type':T[_0x4f2ce0(0x193)][_0x4f2ce0(0x1b0)],'content':this['_localeService']['t'](_0x125cc0['data']||'')}),_0x125cc0['id']===u[_0x4f2ce0(0x2b8)][_0x4f2ce0(0x299)]&&this[_0x4f2ce0(0x2f1)][_0x4f2ce0(0x154)]({'type':T[_0x4f2ce0(0x193)][_0x4f2ce0(0x1b0)],'content':this['_localeService']['t'](_0x4f2ce0(0x1ae))}),_0x125cc0['id']===u['CollaborationUIEventId'][_0x4f2ce0(0x313)]&&this['_messageService']['show']({'type':T[_0x4f2ce0(0x193)][_0x4f2ce0(0x1e0)],'content':this['_localeService']['t'](_0x4f2ce0(0x2f4))}),_0x125cc0['id']===u[_0x4f2ce0(0x2b8)][_0x4f2ce0(0x303)]&&this[_0x4f2ce0(0x2f1)][_0x4f2ce0(0x154)]({'type':T[_0x4f2ce0(0x193)]['Error'],'content':this[_0x4f2ce0(0x2b7)]['t'](_0x4f2ce0(0x291))});}));}};z=Ht([A(0x0,R[_0x32202a(0x139)]),A(0x1,u[_0x32202a(0x18a)]),A(0x2,a[_0x32202a(0xd6)](u[_0x32202a(0x280)])),A(0x3,R[_0x32202a(0x23b)]),A(0x4,R[_0x32202a(0x26f)]),A(0x5,a['Inject'](a['LocaleService']))],z);const Wt=_0x32202a(0x166),Me={},Ee=a[_0x32202a(0x220)](_0x32202a(0x270));var Ft=Object['getOwnPropertyDescriptor'],Yt=(_0x34a51b,_0x2342ec,_0x33e014,_0x5430dc)=>{const _0x420ecd=_0x32202a;for(var _0x108632=_0x5430dc>0x1?void 0x0:_0x5430dc?Ft(_0x2342ec,_0x33e014):_0x2342ec,_0x57bd8f=_0x34a51b[_0x420ecd(0xc8)]-0x1,_0x3fb458;_0x57bd8f>=0x0;_0x57bd8f--)(_0x3fb458=_0x34a51b[_0x57bd8f])&&(_0x108632=_0x3fb458(_0x108632)||_0x108632);return _0x108632;},W=(_0x135462,_0x35e3a0)=>(_0x342e6a,_0x56e982)=>_0x35e3a0(_0x342e6a,_0x56e982,_0x135462);exports[_0x32202a(0x329)]=class extends a[_0x32202a(0x31a)]{constructor(_0x2eb9b9,_0x50eed1,_0x2d604e,_0x51d1dc,_0x3ec362){const _0x16444d=_0x32202a;super(),this['_urlService']=_0x2eb9b9,this['_logService']=_0x50eed1,this[_0x16444d(0x340)]=_0x2d604e,this[_0x16444d(0x159)]=_0x51d1dc,_0x3ec362?_0x3ec362==null||_0x3ec362[_0x16444d(0x201)]()[_0x16444d(0x283)](()=>this['_init']()):(this[_0x16444d(0x20b)][_0x16444d(0x328)](_0x16444d(0x1b2),_0x16444d(0x2e7)),this[_0x16444d(0x1d4)]());}async[_0x32202a(0x1d4)](){const _0xcee6cf=_0x32202a,_0x3e5f1f=this[_0xcee6cf(0x22c)]['getParam']('unit'),_0x359987=this['_urlService'][_0xcee6cf(0x2cf)](_0xcee6cf(0x308)),_0xdf25ee=this[_0xcee6cf(0x22c)][_0xcee6cf(0x2cf)](_0xcee6cf(0x341));if(!_0x3e5f1f||!_0x359987){this['_logService'][_0xcee6cf(0x328)](_0xcee6cf(0x1b2),_0xcee6cf(0xd9));return;}const _0x84eea6=await this[_0xcee6cf(0x159)][_0xcee6cf(0x255)](_0x3e5f1f,Number(_0x359987),_0xdf25ee);_0x84eea6&&_0x84eea6 instanceof a['Workbook']&&this[_0xcee6cf(0x2fd)](_0x84eea6);}async[_0x32202a(0x2fd)](_0x40b847){const _0x5496f1=_0x32202a;await this['_updateSubUnitFromURLParams'](_0x40b847),_0x40b847[_0x5496f1(0x2ef)][_0x5496f1(0x1d8)](d['takeUntil'](this['dispose$']))['subscribe'](_0x1b9dca=>{const _0x1d8486=_0x5496f1;_0x1b9dca&&this[_0x1d8486(0x181)](_0x1b9dca);}),this[_0x5496f1(0x22c)][_0x5496f1(0x2f2)][_0x5496f1(0x1d8)](d['takeUntil'](this['dispose$']))['subscribe'](()=>this[_0x5496f1(0x1a4)](_0x40b847));}[_0x32202a(0x181)](_0x3343c2,_0x54e3e9=!0x1){const _0x5426a1=_0x32202a,_0x1633d1=this[_0x5426a1(0x22c)][_0x5426a1(0x2cf)]('subunit');_0x3343c2[_0x5426a1(0x258)]()!==_0x1633d1&&this['_urlService']['setParam'](_0x5426a1(0x341),_0x3343c2['getSheetId'](),_0x54e3e9);}async[_0x32202a(0x1a4)](_0x455daa){const _0x41b924=_0x32202a;var _0x80c9e6;const _0x42bb0c=this['_urlService'][_0x41b924(0x2cf)](_0x41b924(0x341));if(!_0x42bb0c||!_0x455daa[_0x41b924(0xe3)](_0x42bb0c)){const _0x1843aa=_0x455daa[_0x41b924(0x141)]()[0x0],_0x2309d4=_0x455daa[_0x41b924(0xe3)](_0x1843aa);if(!_0x2309d4)return;this['_updateURLWithCurrentState'](_0x2309d4,!0x0),await this[_0x41b924(0x340)]['executeCommand'](I[_0x41b924(0x27a)]['id'],{'unitId':_0x455daa[_0x41b924(0x32e)](),'subUnitId':_0x1843aa});return;}((_0x80c9e6=_0x455daa['getActiveSheet']())==null?void 0x0:_0x80c9e6[_0x41b924(0x258)]())!==_0x42bb0c&&await this['_commandService']['executeCommand'](I['SetWorksheetActivateCommand']['id'],{'unitId':_0x455daa[_0x41b924(0x32e)](),'subUnitId':_0x42bb0c});}},exports[_0x32202a(0x329)]=Yt([W(0x0,Ee),W(0x1,a[_0x32202a(0x2be)]),W(0x2,a[_0x32202a(0x2f7)]),W(0x3,a[_0x32202a(0xd6)](u[_0x32202a(0x21a)])),W(0x4,a['Optional'](Ke[_0x32202a(0x20d)]))],exports[_0x32202a(0x329)]);var Xt=Object['getOwnPropertyDescriptor'],Vt=(_0x22bb9a,_0xf3d4b9,_0xa87cab,_0x4eec6d)=>{for(var _0x489fe5=_0x4eec6d>0x1?void 0x0:_0x4eec6d?Xt(_0xf3d4b9,_0xa87cab):_0xf3d4b9,_0xc2eed1=_0x22bb9a['length']-0x1,_0x29b7f6;_0xc2eed1>=0x0;_0xc2eed1--)(_0x29b7f6=_0x22bb9a[_0xc2eed1])&&(_0x489fe5=_0x29b7f6(_0x489fe5)||_0x489fe5);return _0x489fe5;},le=(_0x1e8d1d,_0x1a3d4b)=>(_0x55da3a,_0x3cbf5e)=>_0x1a3d4b(_0x55da3a,_0x3cbf5e,_0x1e8d1d);let J=class{constructor(_0x530546,_0x360989,_0x5ab928){const _0x1fb9ce=_0x32202a;this[_0x1fb9ce(0x10b)]=_0x530546,this[_0x1fb9ce(0xdc)]=_0x360989,this[_0x1fb9ce(0x1ab)]=_0x5ab928;}['transformIMECache'](_0x74f5dd){const _0x5b446e=_0x32202a;this[_0x5b446e(0x1f0)](_0x74f5dd),this[_0x5b446e(0x2fc)](_0x74f5dd);}[_0x32202a(0x2e3)](_0x259e17){const _0x128199=_0x32202a,{unitID:_0x2eae2a}=_0x259e17,_0x36b8c1=this['_renderManagerService'][_0x128199(0x1df)](_0x2eae2a)[_0x128199(0x276)](b[_0x128199(0x25a)]),{redoCache:_0x159910}=_0x36b8c1[_0x128199(0x30a)]();if(_0x159910[_0x128199(0xc8)]===0x0)return _0x259e17;let _0x1fc410=a[_0x128199(0x1a5)][_0x128199(0x2b5)](_0x259e17[_0x128199(0x22f)][0x0]);for(let _0x349812=0x0;_0x349812<_0x159910['length'];_0x349812++){const _0x4f8119={'id':_0x128199(0x183),'params':{..._0x159910[_0x349812]}},_0x30ffd4=this['_transformService'][_0x128199(0x113)](_0x1fc410,_0x4f8119,!0x1);if(m[_0x128199(0xfd)](_0x30ffd4))throw _0x30ffd4[_0x128199(0xe0)];_0x1fc410=_0x30ffd4['m1Prime'];}return{...a[_0x128199(0x1a5)]['deepClone'](_0x259e17),'mutations':[_0x1fc410]};}[_0x32202a(0x1f0)](_0xbbfbb4){const _0x15e8fa=_0x32202a,{unitID:_0x3e0002}=_0xbbfbb4,_0x7d727=this[_0x15e8fa(0x1ab)][_0x15e8fa(0x1df)](_0x3e0002)[_0x15e8fa(0x276)](b['DocIMEInputManagerService']),{undoCache:_0x2e37a0,redoCache:_0x520a49}=_0x7d727[_0x15e8fa(0x30a)]();if(_0x2e37a0[_0x15e8fa(0xc8)]===0x0||_0x520a49['length']===0x0)return;const _0x32ab5d=[],_0x223be7=[];let _0x347802=a[_0x15e8fa(0x1a5)][_0x15e8fa(0x2b5)](_0xbbfbb4[_0x15e8fa(0x22f)][0x0]),_0x575a1e=a[_0x15e8fa(0x1a5)][_0x15e8fa(0x2b5)](_0xbbfbb4[_0x15e8fa(0x22f)][0x0]);for(let _0x41df89=_0x2e37a0['length']-0x1;_0x41df89>=0x0;_0x41df89--){const _0x52f408={'id':_0x15e8fa(0x183),'params':{..._0x2e37a0[_0x41df89]}},_0x1af212={'id':'doc.mutation.rich-text-editing','params':{..._0x520a49[_0x41df89]}},_0x2d83fe=this['_transformService']['transformMutation'](_0x347802,_0x52f408,!0x1),_0x20dd1f=this[_0x15e8fa(0xdc)][_0x15e8fa(0x113)](_0x575a1e,_0x1af212,!0x1);if(m[_0x15e8fa(0xfd)](_0x2d83fe))throw _0x2d83fe[_0x15e8fa(0xe0)];if(m[_0x15e8fa(0xfd)](_0x20dd1f))throw _0x20dd1f['error'];_0x32ab5d[_0x15e8fa(0x160)](_0x2d83fe[_0x15e8fa(0x1b4)]['params']),_0x223be7[_0x15e8fa(0x160)](_0x20dd1f['m2Prime']['params']),_0x347802=_0x2d83fe[_0x15e8fa(0x33e)],_0x575a1e=_0x20dd1f[_0x15e8fa(0x33e)];}_0x7d727[_0x15e8fa(0xcc)]({'undoCache':_0x32ab5d,'redoCache':_0x223be7});}[_0x32202a(0x2fc)](_0xc5261e){const _0x2f21f4=_0x32202a,{unitID:_0xc4d821}=_0xc5261e,_0x5f0cf2=this['_renderManagerService']['getRenderById'](_0xc4d821)[_0x2f21f4(0x276)](b[_0x2f21f4(0x25a)]),_0x1edcc2=_0x5f0cf2[_0x2f21f4(0x296)]();if(_0x1edcc2==null)return;const _0x2c9319=[{'id':_0x2f21f4(0x183),'params':{'unitId':_0xc5261e[_0x2f21f4(0x243)],'actions':null,'textRanges':[_0x1edcc2]}}],_0x44d02f=this[_0x2f21f4(0xdc)][_0x2f21f4(0x23c)](_0xc5261e,_0x2c9319);if(!m[_0x2f21f4(0x32c)](_0x44d02f))throw _0x44d02f[_0x2f21f4(0xe0)];const _0x13bbd0=_0x44d02f[_0x2f21f4(0x1b4)][0x0]['params'][_0x2f21f4(0x135)];Array['isArray'](_0x13bbd0)&&_0x13bbd0[_0x2f21f4(0xc8)]&&_0x5f0cf2['setActiveRange'](_0x13bbd0[0x0]);}};J=Vt([le(0x0,a[_0x32202a(0xd6)](a[_0x32202a(0x119)])),le(0x1,m['ITransformService']),le(0x2,p[_0x32202a(0xd4)])],J);var Gt=Object['getOwnPropertyDescriptor'],qt=(_0x2c1703,_0x3fbd31,_0x3958da,_0x38f022)=>{const _0x137e08=_0x32202a;for(var _0x59381d=_0x38f022>0x1?void 0x0:_0x38f022?Gt(_0x3fbd31,_0x3958da):_0x3fbd31,_0x545f68=_0x2c1703[_0x137e08(0xc8)]-0x1,_0x499c21;_0x545f68>=0x0;_0x545f68--)(_0x499c21=_0x2c1703[_0x545f68])&&(_0x59381d=_0x499c21(_0x59381d)||_0x59381d);return _0x59381d;},he=(_0x4a562c,_0x47c9d8)=>(_0xc94373,_0x2539f5)=>_0x47c9d8(_0xc94373,_0x2539f5,_0x4a562c);let Z=class{constructor(_0xb3d35c,_0x24adfa,_0x2789f2){const _0x101f9c=_0x32202a;this[_0x101f9c(0x10b)]=_0xb3d35c,this[_0x101f9c(0xdc)]=_0x24adfa,this[_0x101f9c(0x2e6)]=_0x2789f2;}['transformStateCache'](_0x5eae2d){this['_transformHistoryAndStateStack'](_0x5eae2d);}[_0x32202a(0x2e3)](_0x42cce6){const _0x5e2706=_0x32202a,{unitID:_0x25c22c}=_0x42cce6,{collaboration:_0x52bb8b}=this[_0x5e2706(0x2e6)][_0x5e2706(0x1f6)](_0x25c22c);if(_0x52bb8b[_0x5e2706(0xc8)]===0x0)return _0x42cce6;let _0x159db7=a['Tools'][_0x5e2706(0x2b5)](_0x42cce6[_0x5e2706(0x22f)][0x0]);for(let _0x4cfe13=0x0;_0x4cfe13<_0x52bb8b[_0x5e2706(0xc8)];_0x4cfe13++){const _0x3f80a1={'id':_0x5e2706(0x183),'params':{'unitId':_0x52bb8b[_0x4cfe13]['unitId'],..._0x52bb8b[_0x4cfe13]['redoState']}},_0xb72bd4=this[_0x5e2706(0xdc)][_0x5e2706(0x113)](_0x159db7,_0x3f80a1,!0x1);if(m[_0x5e2706(0xfd)](_0xb72bd4))throw _0xb72bd4[_0x5e2706(0xe0)];_0x159db7=_0xb72bd4[_0x5e2706(0x33e)];}return{...a[_0x5e2706(0x1a5)][_0x5e2706(0x2b5)](_0x42cce6),'mutations':[_0x159db7]};}['_transformHistoryAndStateStack'](_0x3b8cd8){const _0x2dfa38=_0x32202a,{unitID:_0x5135e7}=_0x3b8cd8,{history:_0x2ba009,collaboration:_0x140932}=this['_docStateChangeManagerService']['getStateCache'](_0x5135e7);if(_0x2ba009['length']===0x0&&_0x140932[_0x2dfa38(0xc8)]===0x0)return;const _0x2ea4a5=[],_0x123e95=[];let _0x718484=a[_0x2dfa38(0x1a5)][_0x2dfa38(0x2b5)](_0x3b8cd8[_0x2dfa38(0x22f)][0x0]),_0x268ec1=a[_0x2dfa38(0x1a5)]['deepClone'](_0x3b8cd8[_0x2dfa38(0x22f)][0x0]);for(let _0x12966f=_0x2ba009[_0x2dfa38(0xc8)]-0x1;_0x12966f>=0x0;_0x12966f--){const _0x1bee95={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2ba009[_0x12966f][_0x2dfa38(0x332)],..._0x2ba009[_0x12966f]['undoState']}},_0x282c2a={'id':_0x2dfa38(0x183),'params':{'unitId':_0x2ba009[_0x12966f][_0x2dfa38(0x332)],..._0x2ba009[_0x12966f][_0x2dfa38(0x2cd)]}},_0xdbfc6e=this[_0x2dfa38(0xdc)]['transformMutation'](_0x718484,_0x1bee95,!0x1),_0x433cdb=this[_0x2dfa38(0xdc)]['transformMutation'](_0x268ec1,_0x282c2a,!0x1);if(m[_0x2dfa38(0xfd)](_0xdbfc6e))throw _0xdbfc6e['error'];if(m[_0x2dfa38(0xfd)](_0x433cdb))throw _0x433cdb[_0x2dfa38(0xe0)];_0x2ea4a5[_0x2dfa38(0x160)]({..._0x2ba009[_0x12966f],'undoState':_0xdbfc6e[_0x2dfa38(0x1b4)]['params'],'redoState':_0x433cdb[_0x2dfa38(0x1b4)][_0x2dfa38(0xef)]}),_0x718484=_0xdbfc6e[_0x2dfa38(0x33e)],_0x268ec1=_0x433cdb[_0x2dfa38(0x33e)];}_0x718484=a[_0x2dfa38(0x1a5)][_0x2dfa38(0x2b5)](_0x3b8cd8[_0x2dfa38(0x22f)][0x0]),_0x268ec1=a[_0x2dfa38(0x1a5)]['deepClone'](_0x3b8cd8['mutations'][0x0]);for(let _0x23fe09=_0x140932[_0x2dfa38(0xc8)]-0x1;_0x23fe09>=0x0;_0x23fe09--){const _0x3ed40c={'id':_0x2dfa38(0x183),'params':{'unitId':_0x140932[_0x23fe09]['unitId'],..._0x140932[_0x23fe09][_0x2dfa38(0x25f)]}},_0x1a21a6={'id':_0x2dfa38(0x183),'params':{'unitId':_0x140932[_0x23fe09][_0x2dfa38(0x332)],..._0x140932[_0x23fe09][_0x2dfa38(0x2cd)]}},_0x4f2568=this[_0x2dfa38(0xdc)][_0x2dfa38(0x113)](_0x718484,_0x3ed40c,!0x1),_0x418536=this[_0x2dfa38(0xdc)][_0x2dfa38(0x113)](_0x268ec1,_0x1a21a6,!0x1);if(m[_0x2dfa38(0xfd)](_0x4f2568))throw _0x4f2568[_0x2dfa38(0xe0)];if(m[_0x2dfa38(0xfd)](_0x418536))throw _0x418536['error'];_0x123e95['unshift']({..._0x140932[_0x23fe09],'undoState':_0x4f2568[_0x2dfa38(0x1b4)][_0x2dfa38(0xef)],'redoState':_0x418536[_0x2dfa38(0x1b4)][_0x2dfa38(0xef)]}),_0x718484=_0x4f2568['m1Prime'],_0x268ec1=_0x418536[_0x2dfa38(0x33e)];}this['_docStateChangeManagerService'][_0x2dfa38(0x24c)](_0x5135e7,{'history':_0x2ea4a5,'collaboration':_0x123e95});}};Z=qt([he(0x0,a[_0x32202a(0xd6)](a[_0x32202a(0x119)])),he(0x1,m[_0x32202a(0x15c)]),he(0x2,a[_0x32202a(0xd6)](b[_0x32202a(0x173)]))],Z);var Kt=Object['getOwnPropertyDescriptor'],zt=(_0x52c571,_0x3fa631,_0x41791f,_0x32693f)=>{const _0x52c53e=_0x32202a;for(var _0x15a521=_0x32693f>0x1?void 0x0:_0x32693f?Kt(_0x3fa631,_0x41791f):_0x3fa631,_0x450d7e=_0x52c571[_0x52c53e(0xc8)]-0x1,_0x362264;_0x450d7e>=0x0;_0x450d7e--)(_0x362264=_0x52c571[_0x450d7e])&&(_0x15a521=_0x362264(_0x15a521)||_0x15a521);return _0x15a521;},Pe=(_0x38d505,_0x456d0c)=>(_0x4f56c1,_0x261ec0)=>_0x456d0c(_0x4f56c1,_0x261ec0,_0x38d505);let Q=class{constructor(_0x3306dd,_0x3ce018){const _0x1281bb=_0x32202a;this[_0x1281bb(0x10b)]=_0x3306dd,this[_0x1281bb(0xdc)]=_0x3ce018;}['transformSelections'](_0x4278f1){const _0x35b5c2=_0x32202a;var _0x2ad283;const _0x5ae171=this[_0x35b5c2(0x10b)]['get'](Y[_0x35b5c2(0x223)]),_0x575a45=(_0x2ad283=_0x5ae171[_0x35b5c2(0x1db)]())!=null?_0x2ad283:[];if(_0x575a45[_0x35b5c2(0xc8)]===0x0)return;const _0xac1106=_0x4278f1[_0x35b5c2(0x243)],_0x5bbb8f=[{'id':_0x35b5c2(0x183),'params':{'unitId':_0xac1106,'actions':null,'textRanges':_0x575a45}}],_0x421ef4=this['_transformService'][_0x35b5c2(0x23c)](_0x4278f1,_0x5bbb8f);if(!m[_0x35b5c2(0x32c)](_0x421ef4))throw _0x421ef4[_0x35b5c2(0xe0)];const _0x4a8234=_0x421ef4[_0x35b5c2(0x1b4)][0x0]['params'][_0x35b5c2(0x135)];Array[_0x35b5c2(0x2e5)](_0x4a8234)&&_0x4a8234[_0x35b5c2(0xc8)]&&_0x5ae171[_0x35b5c2(0xda)](_0x4a8234,{'unitId':_0xac1106,'subUnitId':_0xac1106},!0x1);}};Q=zt([Pe(0x0,a[_0x32202a(0xd6)](a[_0x32202a(0x119)])),Pe(0x1,m[_0x32202a(0x15c)])],Q);var Jt=Object[_0x32202a(0x168)],Zt=(_0x21c06d,_0x1fcb3e,_0x5a6e03,_0x2a677f)=>{const _0x212b58=_0x32202a;for(var _0x51d843=_0x2a677f>0x1?void 0x0:_0x2a677f?Jt(_0x1fcb3e,_0x5a6e03):_0x1fcb3e,_0x5ddb53=_0x21c06d[_0x212b58(0xc8)]-0x1,_0x13fc9e;_0x5ddb53>=0x0;_0x5ddb53--)(_0x13fc9e=_0x21c06d[_0x5ddb53])&&(_0x51d843=_0x13fc9e(_0x51d843)||_0x51d843);return _0x51d843;},M=(_0x3bb4e5,_0x2cfee9)=>(_0xea2b94,_0x4b2019)=>_0x2cfee9(_0xea2b94,_0x4b2019,_0x3bb4e5);let ee=class extends a[_0x32202a(0x126)]{constructor(_0x200668,_0x580f2f,_0xe1f273,_0x3b845d,_0x329531,_0x4578b4,_0x209ba6,_0xd21587){const _0x183b97=_0x32202a;super(),h(this,_0x183b97(0x24d),new d[(_0x183b97(0x144))](u[_0x183b97(0x335)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x200668,this['_collaborationController']=_0x580f2f,this[_0x183b97(0x102)]=_0xe1f273,this[_0x183b97(0x1cb)]=_0x3b845d,this[_0x183b97(0x28d)]=_0x329531,this[_0x183b97(0x253)]=_0x4578b4,this[_0x183b97(0x2f1)]=_0x209ba6,this['_localeService']=_0xd21587,this[_0x183b97(0x19d)]());}[_0x32202a(0x19d)](){const _0x241ced=_0x32202a;this['disposeWithMe'](this[_0x241ced(0x336)][_0x241ced(0x176)]['subscribe'](_0xa19d72=>{const _0x1f02ad=_0x241ced,_0x977704=this[_0x1f02ad(0x2e6)][_0x1f02ad(0x213)][_0x1f02ad(0x2a6)](_0x294297=>{const _0x26d8c7=_0x1f02ad;if(_0x294297==null)return;const {unitId:_0x4b98ac,redoState:_0x320c3b,commandId:_0x57db7b}=_0x294297;if(_0x4b98ac!==_0xa19d72[_0x26d8c7(0x243)])return;const _0x1abba3={'id':_0x57db7b,'type':a[_0x26d8c7(0x1f4)]['MUTATION'],'params':{'unitId':_0x4b98ac,'actions':_0x320c3b[_0x26d8c7(0x311)],'textRanges':null}};_0xa19d72[_0x26d8c7(0x1cf)](_0x1abba3);});if(_0xa19d72[_0x1f02ad(0x204)](_0x977704),_0xa19d72 instanceof u[_0x1f02ad(0x1b9)]){const _0xb30932={'onTransformIME':_0x13870c=>this[_0x1f02ad(0x102)][_0x1f02ad(0x228)](_0x13870c),'onTransformState':_0x546d9e=>this[_0x1f02ad(0x1cb)][_0x1f02ad(0x2d0)](_0x546d9e),'onTransformSelections':_0xcdeb58=>this[_0x1f02ad(0x28d)]['transformSelections'](_0xcdeb58),'onSyncEditingCollabCursor':_0xde6c8e=>this['_docSyncEditingCollabCursorService'][_0x1f02ad(0x250)](_0xde6c8e),'onTransformRemoteChangesetByIMECache':_0x4bba23=>this[_0x1f02ad(0x102)][_0x1f02ad(0x2e3)](_0x4bba23),'onTransformRemoteChangesetByStateCache':_0x379409=>this[_0x1f02ad(0x1cb)][_0x1f02ad(0x2e3)](_0x379409)};_0xa19d72[_0x1f02ad(0x187)](_0xb30932);}}));}};ee=Zt([M(0x0,a[_0x32202a(0xd6)](b[_0x32202a(0x173)])),M(0x1,a[_0x32202a(0xd6)](u[_0x32202a(0x19b)])),M(0x2,a['Inject'](J)),M(0x3,a[_0x32202a(0xd6)](Z)),M(0x4,a['Inject'](Q)),M(0x5,a[_0x32202a(0xd6)](pe)),M(0x6,R[_0x32202a(0x23b)]),M(0x7,a['Inject'](a['LocaleService']))],ee);var Qt=Object[_0x32202a(0x168)],es=(_0x127027,_0x5ee3bb,_0xdf927,_0x55df2d)=>{const _0x2468cf=_0x32202a;for(var _0x4150fb=_0x55df2d>0x1?void 0x0:_0x55df2d?Qt(_0x5ee3bb,_0xdf927):_0x5ee3bb,_0x38e095=_0x127027[_0x2468cf(0xc8)]-0x1,_0x27936d;_0x38e095>=0x0;_0x38e095--)(_0x27936d=_0x127027[_0x38e095])&&(_0x4150fb=_0x27936d(_0x4150fb)||_0x4150fb);return _0x4150fb;},_e=(_0x2198b3,_0x42a06d)=>(_0x3718ef,_0xf2e19)=>_0x42a06d(_0x3718ef,_0xf2e19,_0x2198b3);let me=class extends a[_0x32202a(0x126)]{constructor(_0x1c7da3,_0x2bc8c,_0x48104f){const _0x9a5980=_0x32202a;super(),h(this,_0x9a5980(0x2c4),new Map()),h(this,_0x9a5980(0x297),new Map()),h(this,_0x9a5980(0x152),!0x1),(this[_0x9a5980(0x2b9)]=_0x1c7da3,this[_0x9a5980(0x2c7)]=_0x2bc8c,this['_revisionService']=_0x48104f);}[_0x32202a(0x16c)](){const _0x2a5022=_0x32202a;this[_0x2a5022(0x152)]=!0x0;}[_0x32202a(0x1b7)](){this['_disabled']=!0x1;}get[_0x32202a(0x1c3)](){const _0x4a01ef=_0x32202a;return this[_0x4a01ef(0x297)];}[_0x32202a(0x2ad)](){const _0x17932c=_0x32202a;this[_0x17932c(0x318)]()['then'](()=>super['dispose']());}async[_0x32202a(0x1d1)](_0x73ff2e){const _0x141f51=_0x32202a;return this[_0x141f51(0x152)]?null:this[_0x141f51(0x2c7)]['getItem'](u['getLocalCacheKey'](_0x73ff2e));}async[_0x32202a(0xec)](_0x3dc360,_0x6f1c4b){const _0x3a1123=_0x32202a;return!!this[_0x3a1123(0x2c7)]['setItem'](_0x3dc360,_0x6f1c4b);}[_0x32202a(0x161)](_0x23ab60,_0x562105,_0x1d8734,_0x682634){const _0x3a0656=_0x32202a,_0x2ccfd6=this[_0x3a0656(0x241)][_0x3a0656(0x1f9)](_0x23ab60);this[_0x3a0656(0x2c4)]['set'](_0x23ab60,{'unitID':_0x23ab60,'type':_0x562105,'awaitingChangeset':_0x1d8734,'mutations':_0x682634,'rev':_0x2ccfd6}),this[_0x3a0656(0x297)][_0x3a0656(0x254)](_0x23ab60)||this[_0x3a0656(0x2bf)](_0x23ab60);}[_0x32202a(0x2bf)](_0x51dd20){const _0x190423=_0x32202a,_0x38b117=this[_0x190423(0x198)]();_0x38b117===0x0?this[_0x190423(0x2cc)](_0x51dd20):this[_0x190423(0x297)][_0x190423(0x1cd)](_0x51dd20,setTimeout(()=>this[_0x190423(0x2cc)](_0x51dd20),_0x38b117));}[_0x32202a(0x198)](){const _0x2e7187=_0x32202a;var _0x3beb72;return(_0x3beb72=this[_0x2e7187(0x2b9)][_0x2e7187(0x27b)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x3beb72:u[_0x2e7187(0x1fa)];}[_0x32202a(0x2cc)](_0x2f5f87){const _0x3f388c=_0x32202a,_0x32cff0=this[_0x3f388c(0x297)]['get'](_0x2f5f87);return _0x32cff0!==void 0x0&&window[_0x3f388c(0x129)](_0x32cff0),this[_0x3f388c(0x2c7)][_0x3f388c(0x203)](u[_0x3f388c(0xc9)](_0x2f5f87),this[_0x3f388c(0x2c4)][_0x3f388c(0x1b5)](_0x2f5f87))[_0x3f388c(0x283)](()=>this[_0x3f388c(0x297)][_0x3f388c(0x22d)](_0x2f5f87));}async[_0x32202a(0x318)](){const _0x29014d=_0x32202a,_0x5cac86=[];this[_0x29014d(0x297)][_0x29014d(0x207)]((_0xeac6f0,_0x26f1f9)=>{const _0x2a0741=_0x29014d;window['clearTimeout'](_0xeac6f0),_0x5cac86[_0x2a0741(0x334)](this[_0x2a0741(0x2cc)](_0x26f1f9)['then'](()=>{const _0xc91158=_0x2a0741;this[_0xc91158(0x297)]['delete'](_0x26f1f9);}));}),await Promise[_0x29014d(0x14b)](_0x5cac86);}};me=es([_e(0x0,a['IConfigService']),_e(0x1,a[_0x32202a(0x16f)]),_e(0x2,a[_0x32202a(0xd6)](m[_0x32202a(0x230)]))],me);class ke extends a[_0x32202a(0x31a)]{constructor(){const _0x2d2138=_0x32202a;super(),h(this,_0x2d2138(0x2f2)),this['urlChange$']=d[_0x2d2138(0x156)](window,_0x2d2138(0xe7))[_0x2d2138(0x1d8)](d[_0x2d2138(0x107)](this['dispose$']),d[_0x2d2138(0x2ff)](0x1),d[_0x2d2138(0x189)](void 0x0));}['setParam'](_0x571c29,_0x2535e1,_0xd39044=!0x1){const _0x1d0ab3=_0x32202a,_0x5d7105=new URL(window['location'][_0x1d0ab3(0x2da)]);_0x5d7105['searchParams'][_0x1d0ab3(0x1cd)](_0x571c29,_0x2535e1),_0xd39044?window[_0x1d0ab3(0x2d3)]['replaceState']('','',_0x5d7105['toString']()):window[_0x1d0ab3(0x2d3)][_0x1d0ab3(0x13e)]('','',_0x5d7105['toString']());}[_0x32202a(0x177)](_0x5256fe,_0x40d5d5=!0x1){const _0x14fd3b=_0x32202a,_0x505f03=new URL(window[_0x14fd3b(0x284)]['href']);_0x505f03[_0x14fd3b(0x30c)][_0x14fd3b(0x22d)](_0x5256fe),_0x40d5d5?window[_0x14fd3b(0x2d3)][_0x14fd3b(0x174)]('','',_0x505f03['toString']()):window[_0x14fd3b(0x2d3)][_0x14fd3b(0x13e)]('','',_0x505f03['toString']());}[_0x32202a(0x2cf)](_0x1374ff){const _0x32ef5d=_0x32202a;var _0x3e90f5;return(_0x3e90f5=new URL(window[_0x32ef5d(0x284)][_0x32ef5d(0x2da)])[_0x32ef5d(0x30c)][_0x32ef5d(0x1b5)](_0x1374ff))!=null?_0x3e90f5:void 0x0;}}var ts=Object[_0x32202a(0x12e)],ss=Object[_0x32202a(0x168)],ns=(_0x4e662f,_0x2e39bd,_0x54a309)=>_0x2e39bd in _0x4e662f?ts(_0x4e662f,_0x2e39bd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54a309}):_0x4e662f[_0x2e39bd]=_0x54a309,is=(_0x3440d6,_0x2928e0,_0x7e5620,_0xdb13d1)=>{const _0x192e17=_0x32202a;for(var _0x52aa63=_0xdb13d1>0x1?void 0x0:_0xdb13d1?ss(_0x2928e0,_0x7e5620):_0x2928e0,_0x2fa468=_0x3440d6[_0x192e17(0xc8)]-0x1,_0x4c0dde;_0x2fa468>=0x0;_0x2fa468--)(_0x4c0dde=_0x3440d6[_0x2fa468])&&(_0x52aa63=_0x4c0dde(_0x52aa63)||_0x52aa63);return _0x52aa63;},ue=(_0x1eff82,_0x4ae8a0)=>(_0x377726,_0x396d16)=>_0x4ae8a0(_0x377726,_0x396d16,_0x1eff82),rs=(_0x2f1b08,_0xc6186d,_0x18ad4c)=>ns(_0x2f1b08,_0xc6186d+'',_0x18ad4c);const os=_0x32202a(0x23d);exports[_0x32202a(0x11c)]=class extends a['Plugin']{constructor(_0x333244=Me,_0x32e8b0,_0x29b76c,_0x1a5158){const _0x383b5c=_0x32202a;super(),this[_0x383b5c(0xe5)]=_0x333244,this[_0x383b5c(0x1ab)]=_0x32e8b0,this[_0x383b5c(0x10b)]=_0x29b76c,this['_configService']=_0x1a5158;const {..._0x487c74}=a[_0x383b5c(0x191)]({},Me,this[_0x383b5c(0xe5)]);this[_0x383b5c(0x2b9)][_0x383b5c(0x103)](Wt,_0x487c74);}[_0x32202a(0x257)](){const _0x23b5ee=_0x32202a;this[_0x23b5ee(0x286)](),this[_0x23b5ee(0x27e)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4da066=_0x32202a;var _0x298e91;const _0x1c0040=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':ke}],[q[_0x4da066(0x2ce)],{'useClass':q[_0x4da066(0x338)]}],[u['ILocalCacheService'],{'useClass':me}],[exports[_0x4da066(0x18b)]],[ee],[z],[x],[fe],[exports['CollaborationDataLoaderController']]];a[_0x4da066(0xf4)](this[_0x4da066(0x10b)],a['mergeOverrideWithDependencies'](_0x1c0040,(_0x298e91=this['_config'])==null?void 0x0:_0x298e91['override']));}['_registerRenderDependencies'](){const _0x13eb8e=_0x32202a;this[_0x13eb8e(0x204)](this['_renderManagerService'][_0x13eb8e(0x164)](a[_0x13eb8e(0x1d9)][_0x13eb8e(0x12f)],[ge])),this[_0x13eb8e(0x204)](this[_0x13eb8e(0x1ab)][_0x13eb8e(0x164)](a[_0x13eb8e(0x1d9)]['UNIVER_SHEET'],[Ie]));}['_initDependencies'](){const _0x13cca3=_0x32202a;a[_0x13cca3(0x2d2)](this[_0x13cca3(0x10b)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[exports[_0x13cca3(0x329)]]]);}},rs(exports[_0x32202a(0x11c)],'pluginName',os),exports[_0x32202a(0x11c)]=is([a['DependentOn'](u['UniverCollaborationClientPlugin']),ue(0x1,p[_0x32202a(0xd4)]),ue(0x2,a[_0x32202a(0xd6)](a['Injector'])),ue(0x3,a['IConfigService'])],exports['UniverCollaborationClientUIPlugin']);var as=Object[_0x32202a(0x168)],cs=(_0x1c9ad1,_0x5994ef,_0x626ce2,_0x1b56a7)=>{const _0xf3603c=_0x32202a;for(var _0x2423f0=_0x1b56a7>0x1?void 0x0:_0x1b56a7?as(_0x5994ef,_0x626ce2):_0x5994ef,_0x22f716=_0x1c9ad1[_0xf3603c(0xc8)]-0x1,_0xb9f804;_0x22f716>=0x0;_0x22f716--)(_0xb9f804=_0x1c9ad1[_0x22f716])&&(_0x2423f0=_0xb9f804(_0x2423f0)||_0x2423f0);return _0x2423f0;},F=(_0x2b98ab,_0x201ebf)=>(_0x3f4eee,_0x247a68)=>_0x201ebf(_0x3f4eee,_0x247a68,_0x2b98ab);exports[_0x32202a(0x249)]=class extends u[_0x32202a(0x116)]{constructor(_0x4542e3,_0x196c4e,_0x2a178c,_0x21f306,_0xa2b303){super(_0x4542e3,_0x196c4e,_0x2a178c,_0x21f306,_0xa2b303);}async[_0x32202a(0x2ee)](_0x2302e3){const _0x3cead4=_0x32202a,_0x17d234=await this[_0x3cead4(0x28a)](),_0x567283=this[_0x3cead4(0x2b4)](_0x2302e3,_0x17d234);return this['_doCreateSocket'](_0x567283);}[_0x32202a(0x2b4)](_0x177b81,_0x11429a){const _0x20ac3c=_0x32202a,_0x2e9511=typeof window>'u'?new URL(_0x177b81):new URL(_0x177b81,window[_0x20ac3c(0x284)][_0x20ac3c(0x306)]);_0x2e9511['searchParams'][_0x20ac3c(0x1cd)](_0x20ac3c(0x244),_0x11429a);const _0x2983b9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x20ac3c(0x2b1)]);return _0x2983b9[_0x20ac3c(0x1b5)](_0x20ac3c(0x130))&&_0x2e9511[_0x20ac3c(0x30c)][_0x20ac3c(0x1cd)]('runId',_0x2983b9[_0x20ac3c(0x1b5)](_0x20ac3c(0x130))),_0x2e9511['toString']();}async[_0x32202a(0x28a)](){const _0x59a79d=_0x32202a;var _0x411fa9,_0x46fa24,_0x1826ac;const _0x1d07f3=this[_0x59a79d(0x2b9)][_0x59a79d(0x27b)](u[_0x59a79d(0x275)]),_0xd721a8=(_0x411fa9=_0x1d07f3==null?void 0x0:_0x1d07f3[_0x59a79d(0xee)])!=null?_0x411fa9:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1826ac=(_0x46fa24=(await this[_0x59a79d(0x104)][_0x59a79d(0x1b5)](_0xd721a8,{'headers':{'Content-Type':_0x59a79d(0x302)}}))['body'])==null?void 0x0:_0x46fa24[_0x59a79d(0x214)])!=null?_0x1826ac:'';}},exports[_0x32202a(0x249)]=cs([F(0x0,a[_0x32202a(0xd6)](a['Injector'])),F(0x1,a[_0x32202a(0xd6)](q[_0x32202a(0x222)])),F(0x2,a['IConfigService']),F(0x3,a[_0x32202a(0x2be)]),F(0x4,m['ISnapshotServerService'])],exports[_0x32202a(0x249)]);const Ne=0x7530,we='ACTIVE_UNIT_EVENT_CHANNEL';class ls extends a['Disposable']{constructor(){const _0x21c095=_0x32202a;super(),h(this,'_id',a[_0x21c095(0x1eb)]()),h(this,_0x21c095(0x29e),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x21c095(0x263),null),h(this,'_clearOtherTimers',new Map()),h(this,_0x21c095(0x2cb),new Map()),this['_init']();}['dispose'](){const _0x33e9d0=_0x32202a;super[_0x33e9d0(0x2ad)](),this[_0x33e9d0(0x1bc)][_0x33e9d0(0x207)]((_0x5398cd,_0xd8beb6)=>this['_removeClearOtherTimer'](_0xd8beb6)),this[_0x33e9d0(0x263)]&&window[_0x33e9d0(0x240)](this[_0x33e9d0(0x263)]);}[_0x32202a(0x175)](_0x50a465){const _0x54f07e=_0x32202a;return this[_0x54f07e(0x1e5)](_0x50a465)['pipe'](d[_0x54f07e(0x265)]());}[_0x32202a(0x194)](_0x28af67){const _0x180097=_0x32202a;this['_selfUnitIDs']['size']===0x0&&this[_0x180097(0x215)](),this[_0x180097(0x29e)][_0x180097(0x134)](_0x28af67),this[_0x180097(0x17a)]({'type':0x0,'memberID':this[_0x180097(0x163)],'unitIDs':[_0x28af67],'isForwarded':!0x1});}['disposeUnit'](_0x5e9ff7){const _0x3078a4=_0x32202a;this[_0x3078a4(0x29e)][_0x3078a4(0x22d)](_0x5e9ff7),this[_0x3078a4(0x29e)][_0x3078a4(0xfb)]===0x0&&this[_0x3078a4(0x263)]&&window[_0x3078a4(0x240)](this[_0x3078a4(0x263)]);}[_0x32202a(0x1d4)](){const _0x1707b0=_0x32202a;this[_0x1707b0(0x204)](a['toDisposable'](d['fromEvent'](window,_0x1707b0(0xd0))['subscribe'](_0x219b97=>{const _0x55629e=_0x1707b0;if(_0x219b97[_0x55629e(0x1f2)]!==we||!_0x219b97['newValue'])return;const _0x118d92=JSON['parse'](_0x219b97['newValue']);this['_handleEvent'](_0x118d92);}))),window[_0x1707b0(0x2f6)](_0x1707b0(0x27c),()=>this['_send']({'type':0x1,'memberID':this[_0x1707b0(0x163)],'unitIDs':Array[_0x1707b0(0x312)](this['_selfUnitIDs'])}));}[_0x32202a(0x11e)](_0x829bec){const _0x1cdc56=_0x32202a;switch(_0x829bec[_0x1cdc56(0x308)]){case 0x0:this[_0x1cdc56(0xea)](_0x829bec);break;case 0x1:this[_0x1cdc56(0x2f8)](_0x829bec);break;case 0x2:this[_0x1cdc56(0x106)](_0x829bec);break;}}['_handleJoinEvent'](_0x2e1c1c){const _0x379f9b=_0x32202a,{unitIDs:_0x3a8be0,memberID:_0x55a0e7,isForwarded:_0x13cbde}=_0x2e1c1c;_0x3a8be0['forEach'](_0x167503=>{const _0x240a79=_0x5c33;if(!_0x13cbde&&this[_0x240a79(0x273)][_0x240a79(0x254)](_0x167503)&&this[_0x240a79(0x1e5)](_0x167503)[_0x240a79(0x125)](u[_0x240a79(0x1da)][_0x240a79(0x136)]),!this[_0x240a79(0x273)]['has'](_0x167503)||!this[_0x240a79(0x273)]['get'](_0x167503)[_0x240a79(0x254)](_0x55a0e7)){const _0x1fe8a6=this[_0x240a79(0x273)]['get'](_0x167503)||new Set();_0x1fe8a6['add'](_0x55a0e7),this[_0x240a79(0x273)][_0x240a79(0x1cd)](_0x167503,_0x1fe8a6),this[_0x240a79(0x24a)](_0x55a0e7);}}),_0x13cbde||this['_send']({'type':0x0,'memberID':this[_0x379f9b(0x163)],'unitIDs':[...this[_0x379f9b(0x29e)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x197887){const _0x32444d=_0x32202a;this[_0x32444d(0xfc)](_0x197887);const _0x23fa5c=window['setTimeout'](()=>{const _0x100887=_0x32444d;this[_0x100887(0x273)][_0x100887(0x207)](_0x35b3cb=>{const _0xad00ad=_0x100887;_0x35b3cb[_0xad00ad(0x22d)](_0x197887);});},Ne*0x2);this[_0x32444d(0x1bc)]['set'](_0x197887,_0x23fa5c);}[_0x32202a(0xfc)](_0x1ac514){const _0x383d16=_0x32202a;if(this['_clearOtherTimers'][_0x383d16(0x254)](_0x1ac514)){const _0x59ead2=this[_0x383d16(0x1bc)][_0x383d16(0x1b5)](_0x1ac514);_0x59ead2&&window['clearTimeout'](_0x59ead2),this[_0x383d16(0x1bc)]['set'](_0x1ac514,null);}}[_0x32202a(0x2f8)](_0x257a29){const _0x49daed=_0x32202a,{memberID:_0x3012c8,unitIDs:_0x4d3f28}=_0x257a29;_0x4d3f28[_0x49daed(0x207)](_0x4bdce3=>{const _0x1bfddf=_0x49daed;var _0x2611b2;const _0x43ec58=this[_0x1bfddf(0x273)][_0x1bfddf(0x1b5)](_0x4bdce3);_0x43ec58&&(_0x43ec58['delete'](_0x3012c8),(_0x2611b2=this['_ensureSubject'](_0x4bdce3))==null||_0x2611b2[_0x1bfddf(0x125)](_0x43ec58[_0x1bfddf(0xfb)]===0x0?u[_0x1bfddf(0x1da)]['NO_OTHER_CLIENTS_EDITING']:u[_0x1bfddf(0x1da)][_0x1bfddf(0x136)]));}),this[_0x49daed(0xfc)](_0x3012c8);}[_0x32202a(0x106)](_0xc6fd2){const _0x2952fc=_0x32202a;this[_0x2952fc(0x24a)](_0xc6fd2[_0x2952fc(0x33a)]);}[_0x32202a(0x17a)](_0xd7e6f0){localStorage['setItem'](we,JSON['stringify'](_0xd7e6f0));}['_scheduleHeartbeat'](){const _0x3325eb=_0x32202a;this[_0x3325eb(0x263)]=window[_0x3325eb(0x169)](()=>{const _0x472df9=_0x3325eb;this['_send']({'type':0x2,'memberID':this[_0x472df9(0x163)]});},Ne);}[_0x32202a(0x1e5)](_0x461175){const _0x4dec8a=_0x32202a;return this[_0x4dec8a(0x2cb)][_0x4dec8a(0x254)](_0x461175)||this[_0x4dec8a(0x2cb)][_0x4dec8a(0x1cd)](_0x461175,new d[(_0x4dec8a(0x144))](u[_0x4dec8a(0x1da)][_0x4dec8a(0x235)])),this[_0x4dec8a(0x2cb)][_0x4dec8a(0x1b5)](_0x461175);}}var Be=(_0x375145=>(_0x375145[_0x375145[_0x32202a(0x225)]=0x0]=_0x32202a(0x225),_0x375145[_0x375145['OK']=0x1]='OK',_0x375145[_0x375145[_0x32202a(0x12a)]=0x2]=_0x32202a(0x12a),_0x375145[_0x375145[_0x32202a(0x131)]=0x3]=_0x32202a(0x131),_0x375145[_0x375145[_0x32202a(0x31f)]=0x4]='NOT_FOUND',_0x375145[_0x375145[_0x32202a(0x1d3)]=0x5]='UNAUTHENTICATED',_0x375145[_0x375145['ALREADY_EXISTS']=0x6]=_0x32202a(0x157),_0x375145[_0x375145[_0x32202a(0xff)]=0x7]=_0x32202a(0xff),_0x375145[_0x375145[_0x32202a(0x29f)]=0x8]=_0x32202a(0x29f),_0x375145[_0x375145['COMPLETION_FINISHED']=0x9]=_0x32202a(0x1a3),_0x375145[_0x375145[_0x32202a(0x1ac)]=0x1389]=_0x32202a(0x1ac),_0x375145[_0x375145['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x32202a(0x1aa),_0x375145[_0x375145[_0x32202a(0x234)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x375145[_0x375145[_0x32202a(0x1b3)]=0x1773]=_0x32202a(0x1b3),_0x375145[_0x375145[_0x32202a(0x13b)]=0x1b59]=_0x32202a(0x13b),_0x375145[_0x375145[_0x32202a(0x285)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x375145[_0x375145['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x375145[_0x375145[_0x32202a(0x224)]=0x1b5c]=_0x32202a(0x224),_0x375145[_0x375145[_0x32202a(0x117)]=0x1b5d]=_0x32202a(0x117),_0x375145[_0x375145[_0x32202a(0x309)]=0x1f41]=_0x32202a(0x309),_0x375145[_0x375145[_0x32202a(0x259)]=0x2329]=_0x32202a(0x259),_0x375145[_0x375145['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x32202a(0x305),_0x375145[_0x375145[_0x32202a(0xf7)]=0x232b]=_0x32202a(0xf7),_0x375145[_0x375145['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x32202a(0x1b1),_0x375145[_0x375145[_0x32202a(0x2d8)]=0x232d]=_0x32202a(0x2d8),_0x375145[_0x375145[_0x32202a(0x322)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x375145[_0x375145[_0x32202a(0xd1)]=0x2712]=_0x32202a(0xd1),_0x375145[_0x375145[_0x32202a(0x1a0)]=0x2713]=_0x32202a(0x1a0),_0x375145[_0x375145[_0x32202a(0x108)]=0x2714]=_0x32202a(0x108),_0x375145[_0x375145['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x32202a(0x205),_0x375145[_0x375145[_0x32202a(0x331)]=-0x1]='UNRECOGNIZED',_0x375145))(Be||{}),hs=Object['getOwnPropertyDescriptor'],_s=(_0x180c93,_0x4d69a2,_0x5cf35b,_0x49cf21)=>{const _0x1d375a=_0x32202a;for(var _0x41187d=_0x49cf21>0x1?void 0x0:_0x49cf21?hs(_0x4d69a2,_0x5cf35b):_0x4d69a2,_0x5846dc=_0x180c93[_0x1d375a(0xc8)]-0x1,_0x5dafa4;_0x5846dc>=0x0;_0x5846dc--)(_0x5dafa4=_0x180c93[_0x5846dc])&&(_0x41187d=_0x5dafa4(_0x41187d)||_0x41187d);return _0x41187d;},de=(_0x4a608,_0x2be7cf)=>(_0x404a14,_0x247cde)=>_0x2be7cf(_0x404a14,_0x247cde,_0x4a608);exports[_0x32202a(0x13f)]=class extends a['Disposable']{constructor(_0x2eda38,_0x4c0682,_0x5a6261){const _0x5d8930=_0x32202a;super(),this[_0x5d8930(0x16b)]=_0x2eda38,this[_0x5d8930(0x104)]=_0x4c0682,this[_0x5d8930(0x2b9)]=_0x5a6261;}async['runOnServer'](_0x1e0857,_0x406190,_0x4a1624,..._0x1de8d1){const _0x4d5cdb=_0x32202a;var _0x158f4e,_0x5b6ee8,_0xd5188e,_0x458c51;const _0xdf49aa=this[_0x4d5cdb(0x16b)][_0x4d5cdb(0x29d)]();if(!_0xdf49aa)throw new Error(_0x4d5cdb(0x20f));const _0x563c43=((_0x158f4e=this['_configService'][_0x4d5cdb(0x27b)](u[_0x4d5cdb(0x298)]))!=null?_0x158f4e:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1e0857+_0x4d5cdb(0x15b)+_0x406190,_0x2f83b9=new URL(window['location'][_0x4d5cdb(0x2da)]),_0xd058fe={'scriptId':_0x1e0857,'runId':(_0x5b6ee8=_0x2f83b9['searchParams'][_0x4d5cdb(0x1b5)](_0x4d5cdb(0x130)))!=null?_0x5b6ee8:'','function':_0x406190,'unitId':_0xdf49aa[_0x4d5cdb(0x32e)](),'argsOfFunction':JSON[_0x4d5cdb(0x30b)](_0x1de8d1),'invokeId':(_0xd5188e=_0x4a1624[_0x4d5cdb(0x1b6)])!=null?_0xd5188e:'','executionId':(_0x458c51=_0x4a1624[_0x4d5cdb(0x22a)])!=null?_0x458c51:''};try{const _0x4ed4ac=await this[_0x4d5cdb(0x104)][_0x4d5cdb(0x239)](_0x563c43,{'body':_0xd058fe});return _0x4ed4ac[_0x4d5cdb(0x26b)][_0x4d5cdb(0xe0)]&&_0x4ed4ac[_0x4d5cdb(0x26b)]['error'][_0x4d5cdb(0x319)]!==Be['OK']?'Failed':_0x4ed4ac[_0x4d5cdb(0x26b)]['result'];}catch{return _0x4d5cdb(0x123);}}},exports[_0x32202a(0x13f)]=_s([de(0x0,a['IUniverInstanceService']),de(0x1,a['Inject'](q[_0x32202a(0x222)])),de(0x2,a[_0x32202a(0xca)])],exports['RemoteUniscriptService']),exports[_0x32202a(0x13c)]=je,exports['IURLService']=Ee,exports[_0x32202a(0x1f7)]=ye,exports['WebBrowserSingleActiveUnitService']=ls,exports[_0x32202a(0x24b)]=ke;
|
|
1
|
+
'use strict';const _0x19457d=_0x3043;(function(_0x2b4f74,_0x5e4c9f){const _0x47e617=_0x3043,_0xb471c6=_0x2b4f74();while(!![]){try{const _0x32268f=parseInt(_0x47e617(0x449))/0x1+-parseInt(_0x47e617(0x264))/0x2+-parseInt(_0x47e617(0x23c))/0x3*(parseInt(_0x47e617(0x268))/0x4)+-parseInt(_0x47e617(0x27c))/0x5*(-parseInt(_0x47e617(0x1d1))/0x6)+-parseInt(_0x47e617(0x222))/0x7*(parseInt(_0x47e617(0x437))/0x8)+parseInt(_0x47e617(0x239))/0x9*(parseInt(_0x47e617(0x21b))/0xa)+parseInt(_0x47e617(0x35e))/0xb*(-parseInt(_0x47e617(0x432))/0xc);if(_0x32268f===_0x5e4c9f)break;else _0xb471c6['push'](_0xb471c6['shift']());}catch(_0x1abe2f){_0xb471c6['push'](_0xb471c6['shift']());}}}(_0x2b23,0x76469));var Ve=Object[_0x19457d(0x2db)],Ge=(_0x4da9ad,_0x2eaec9,_0x4e3335)=>_0x2eaec9 in _0x4da9ad?Ve(_0x4da9ad,_0x2eaec9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4e3335}):_0x4da9ad[_0x2eaec9]=_0x4e3335,h=(_0x3d4465,_0x3905f3,_0x10045a)=>Ge(_0x3d4465,typeof _0x3905f3!=_0x19457d(0x33c)?_0x3905f3+'':_0x3905f3,_0x10045a);function _0x2b23(){const _0x3de295=['split','EffectRefRangId','range','_anchorDot','InsertRowCommandId','round','SetSelectionsOperation','_entityInit$','height','deserializeRangeWithSheet','idSuffix','deepClone','getItem','11pkDDjp','updateOfflineData','show','_localStorageService','requireSession','_uiPartsService','CollaborationStatus','APPLY_NON_SEQUENTIAL_REVISION','CollaborationSocketService','collabStatus.fetchMiss','min','handleIRemoveCol','isActive','_hideTimer','onPointerMove$','disposeUnit','origin','body','univer-offline','univer-online','indexOf','m1Prime','_instanceService','_unitOnClients','_cursorShapes','onCommandExecuted','dispose','addClipboardHook','init','unitID','children','find','colorChannel1','USERS_LEAVE','startsWith','RevisionService','IDocClipboardService','selection','translate(.97)','LICENSE_EXPORT_SIZE_EXCEEDED','transformRemoteChangeset','RegularPolygon','_onRefRangeChange','values','runOnServer','DocIMEInputManagerService','YUUMI_UNABLE_LOAD_URL','_handleEvent','history','size','WebURLService','@univerjs/rpc','max','_docSkeleton','set','onStarting','_getSessionTicket','switchMap','_startSheetCollabCursor','apply','path','collabStatus.conflict','getCoordByCell','onlineStatus','COMPLETION_FINISHED','transformIMECache','arc','getMergeData','_collaborationUIEventService','doc.mutation.rich-text-editing','lineTo','handleDeleteRangeMoveUp','touchDependencies','labelPosition','handleInsertRangeMoveRight','_removeClearOtherTimer','getAncestorScale','SetWorksheetActivateCommand','permission.title','Error','CollaborationEvent','_id','_docClipboardService','setShapeProps','Disposable','fillText','replace','distinctUntilChanged','Subject','toStringTag','xlink:href','CollaborationController','YUUMI_SUBSCRIPTION_NOT_FOUND','getCurrentSelections','APPLY_PERMISSION_DENIED','error','_handleJoinEvent','_saveTaskMap','1em','useRef','hide','searchParams','_updateCollabCursors','_status$','DEFAULT_WS_SESSION_TICKET_URL','top','react/jsx-runtime','onPointerLeave$','_sheetSkeletonManagerService','CHANGESET_REVISION_CONFILICT','[CollaborationDataLoaderController]','_cachedData','getColor','_localeService','CONNECTOR_DATA_TOO_LARGE','onTransformChange$','then','exhaustSavingTask','measureText','name','some','Injector','getRangePointData','_memberService','_imageIoService','getOwnPropertyDescriptor','univer-online-status-title','_context','LICENSE_DISTRO_REJECTED','IRemoteInstanceService','map','triggerDblclick','collabStatus.offline','activeSheet$','collaboration-client.offline-data-not-saved','invokeId','SUBMIT_CHANGESET_TIMEOUT','loadUnit','_ensureSubject','IImageIoService','popstate','createElement','_setupSubUnitSync','DocSelectionManagerService','getOwnPropertySymbols','width','jsxs','uni.network.url-service','get','random','getUnitId','enableLocalCache','ranges','_anchor','reconnect','_document','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','HTTPService','RefRangeService','mergeOverrideWithDependencies','LOCAL_CACHE_INTERVAL_KEY','_backgroundColor','_handleHeartbeatEvent','IUniverInstanceService','fillRule','transform','executionId','RemoteUniscriptService','next','onLocalMutation','TEXT_RANGE_LAYER_INDEX','DependentOn','_initStatusComponent','disposeWithMe','editingUnit','_commandService','UnitStatus','ILogService','_disabled','LICENSE_IMPORT_SIZE_EXCEEDED','ISnapshotServerService','from','HEADER_MENU','getUniverSheetInstance','DOC_RANGE_TYPE','LOCAL_CACHE_INTERVAL','YUUMI_RATE_OVER_LIMIT','whenReady','IRenderManagerService','_initResize','MessageType','all','length','SessionStatus','red300','@univerjs/engine-render','skeleton','TEXT','WebSocketService','transformStateCache','executeCommand','save','complete','Unknown\x20user','session.connection-failed','mask','BehaviorSubject','throttleTime','saveTaskMap','SetTextSelectionsOperation','_messageService','getSheetBySheetId','739572PWHtvm','MemberService','SNAPSHOT_INVALID_SNAPSHOT','INVALID_ARGUMENT','useObservable','8mQmXob','_toggleOnline','_config','serializeRangeWithSheet','className','getConfig','INTERNAL_ERROR','AWAITING','createInstance','getActiveSheet','Workbook','OTHER_CLIENTS_EDITING','_docTransformSelectionsService','fromEventSubject','Tooltip','unsubscribe','replaceState','@univerjs/ui','666856PiMWfE','#fff','subscribeEvent','hasOwnProperty','PY_RUNTIME_SCRIPT_ERROR','RemoveColCommandId','_handleHover','_registerDependencies','_getSaveTimeout','call','_drawTextRange','235134cBYRoZ','setParam','url(#$1','useCallback','_injector','_toggleOffline','RxDisposable','none','_docTransformStateCacheService','session.will-retry','params','registerRenderModule','fillStyle','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_unitStatus','getSheetId','NodePositionConvertToCursor','_draw','_docSyncEditingCollabCursorService','ColorKit','onMouseMove','evenodd','svg','Shape','getParam','CollaborationSessionService','urlChange$','_colorAssignService','ILocalCacheService','syncEditingCollabCursor','univer-online-status-icon','_heartbeatTimer','_initStatusListener','COLORS','setAlpha','UPDATE_CURSOR','Failed','TOO_MANY_REQUESTS','rxjs','row','transformMutation','_refreshCollabCursors','pipe','subscribe','replaceDocRanges','getCurrent','Tools','_textBubble','_cursorInfo$','_createSocketURL','tag','OFFLINE','@univerjs/core','@univerjs/docs-ui','_entities','function','_themeService','roomMembers','getRelativeToViewportCoord','key','text','UNRECOGNIZED','_getAnchorBounding','clearTimeout','INotificationService','_transformPreviousActiveRange','ACTIVE_UNIT_EVENT_CHANNEL','SetDocZoomRatioOperation','_dataLoaderService','InsertRangeMoveRightCommandId','_collabSessionService','_docStateChangeManagerService','unload','registerDependencies','7935610dCBQub','_cursors','OffLineSingle','drawWith','_updateURLWithCurrentState','debounce','onlineStatusIcon','805483YXHmxZ','status$','filter','displayName','RemoveRowCommandId','getValue','_onCursorDelete','getMemberID','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','currentSkeleton$','_onCursorUpdate','_logService','add','isArray','TRANSFORM_CHANGE_OBSERVABLE_TYPE','sheetID','search','_saveCache','CollaborationUIEventService','collabStatus.synced','UNIVER_DOC','_transformUndoRedoStack','_scene','9TBudsL','cursorInfo$','MoveRangeCommandId','117JeAoUe','@univerjs/docs','univerjs-icon\x20univerjs-icon-','IMessageService','getUnitStatus$','ICommandService','generateRandomId','attrs','undoState','combineLatest','RECT','color','startColumn','_httpService','UNIVER_SHEET','shareReplay','getDocRanges','clearInterval','@univerjs/design','NOT_COLLAB','verdancy600','icon','WebBrowserSingleActiveUnitService','collabStatus.syncing','Optional','currentTheme$','_transformService','unshift','getSkeleton','_online','DesktopCollaborationStatusDisplayController','getCurrentRevOfUnit','CLOSE_ROOM','saveOfflineData','with','loadOfflineData','addObjects','FETCH_MISS','jiqing500','unitId','1311876KBUvfm','forEach','_collabCursorState$','@univerjs/sheets','91068UaDFZX','CommandType','roomMembers$','InsertRangeMoveDownCommandId','toDisposable','DocSkeletonManagerService','_initEntityListener','_eventUnsubscribe','debounceTime','createSocket','forwardRef','_initCommandExecutedListener','_getScale','ticket','0\x200\x2017\x2016','closePath','_docSkeletonManagerService','getMember','debug','on-line-single_clip0_910_349','95XbVSTN','Rectangle','online','SNAPSHOT_HAS_BEEN_REMOVED','url(#off-line-single_clip0_910_343)','takeUntil','clsx','current','collaboration.closeRoom','assignAColorForMemberID','CONFLICT','rgba(255,\x20255,\x20255,\x200.01)','@univerjs/drawing','@univerjs/engine-formula','runId','OnLineSingle','contains','UNDEFINED','OTHER_CLIENT_EDITING','session.collaboration-timeout','runRefRangeMutations','toString','_urlService','concat','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_collabCursorController','_session','jsx','_transformHistoryAndStateStack','SOCKET_FAILED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_removeCollabCursors','BrowserCollaborationSocketService','NO_OTHER_CLIENTS_EDITING','findNodePositionByCharIndex','_selfUnitIDs','IConfigService','_hovered','InsertColCommandId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_getSheetObject','black','hovered','getRenderById','sheetId','UniverCollaborationClientUIPlugin','getTypeOfUnitDisposed$','beginPath','getCurrentUnitForType','gold400','ThemeService','univer-online-status','eventID','_univerInstanceService','_setupBeforeClosingHandler','handleInsertRow','_beforeCloseService','IURLService','_drawAnchor','defs','_configService','_color','fromEvent','getViewport','includes','_scheduleClearOtherTimer','getLocalCacheKey','merge','asObservable','location','_shapes','LICENSE_MAX_UNITS_EXCEEDED','_hover','_colorIndex','setActiveRange','_getMergeRange','_startDocCollabCursor','useDependency','SOCKET_FAILED_RETRY','_collaborationController','onPointerEnter$','subunit','fill','pushState','_initEvent','collabStatus.notCollab','handleIRemoveRow','registerRefRange','pluginName','offline','transformMutationsWithChangeset','_initDependencies','IBeforeCloseService','propertyIsEnumerable','APPLY_DUPLICATED','defineProperty','_cursor','clipPath','_docTransformIMECacheService','_send','_drawRectRange','isEditing','restore','cursorInfo','makeDirty','ITransformService','has','blue400','DataLoaderService','getCellPositionByOffset','@univerjs-pro/collaboration-client','@univerjs/sheets-ui','YUUMI_URL_COL_OUT_OF_RANGE','unit','getFocusedUnit','_updateLocalCursor','Inject','createIdentifier','addHandlerCallback','getOffsetConfig','mapTo','delete','prototype','stringify','_notificationService','extend','univer-flex\x20univer-items-center','getActiveRange','_clearOtherTimers','getUndoRedoMutationParamsCache','wsSessionTicketUrl','event$','data','DeleteRangeMoveLeftCommandId','react','div','registerBeforeClose','UniverIcon','FromArray','PERMISSION_DENIED','code','actions','_roomMembers$','post','Warning','endRow','m2Prime','#FFF','setTimeout','getTypeOfUnitAdded$','addObject','transformSelections','defIds','_localCacheService','collaboration-client-ui.config','...','getCollabCursors$','memberID','DisposableCollection','mutations','_range','CollaborationUIEventId','LocaleService','APPLY_REJECT','on-line-single','_init','_assignedColors','_render','resize','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ALREADY_EXISTS','saveImage','redoState','href','assign','dispose$','off-line-single','registerComponent','isTransformMutationFailure','setConfig','_revisionService','disableLocalCache','getCollabEntity$','type','_handleLeaveEvent','setInterval','off-line-single_clip0_910_343','newValue','UniverInstanceType','APPLY_REVISION_CONFILICT','_labelPosition','_scheduleSaving','symbol','_refRangeService','_renderManagerService','setItem','toRgbString','imageSourceType','_name','_scheduleHeartbeat','send','textRanges','push','_registerRenderDependencies','removeParam','MUTATION','Rect','connectInjector','column','_lastPointer','CollaborationDataLoaderController','entries','isTransformMutationsWithChangesetSuccess'];_0x2b23=function(){return _0x3de295;};return _0x2b23();}Object['defineProperty'](exports,Symbol[_0x19457d(0x3b7)],{'value':'Module'});const u=require(_0x19457d(0x2ea)),a=require(_0x19457d(0x205)),p=require(_0x19457d(0x421)),q=require('@univerjs/network'),b=require(_0x19457d(0x206)),qe=require(_0x19457d(0x288)),d=require(_0x19457d(0x1f7)),Y=require(_0x19457d(0x23d)),m=require('@univerjs-pro/collaboration'),Te=require(_0x19457d(0x289)),I=require(_0x19457d(0x267)),$=require('rxjs/operators'),G=require(_0x19457d(0x2eb)),w=require(_0x19457d(0x3c8)),R=require(_0x19457d(0x448)),T=require(_0x19457d(0x24e)),P=require(_0x19457d(0x302)),Ke=require(_0x19457d(0x391));var ze=Object[_0x19457d(0x3db)],Je=(_0x4e2f1c,_0x58d168,_0x5bc830,_0x1173de)=>{const _0x2b3a28=_0x19457d;for(var _0x20a449=_0x1173de>0x1?void 0x0:_0x1173de?ze(_0x58d168,_0x5bc830):_0x58d168,_0x51fb98=_0x4e2f1c[_0x2b3a28(0x41e)]-0x1,_0x288c8f;_0x51fb98>=0x0;_0x51fb98--)(_0x288c8f=_0x4e2f1c[_0x51fb98])&&(_0x20a449=_0x288c8f(_0x20a449)||_0x20a449);return _0x20a449;},Re=(_0x21da4c,_0x3ae78e)=>(_0x13a430,_0x125d4a)=>_0x3ae78e(_0x13a430,_0x125d4a,_0x21da4c);let fe=class extends a[_0x19457d(0x1d7)]{constructor(_0x149dfd,_0x2537a8){const _0xa2c93d=_0x19457d;super(),this[_0xa2c93d(0x3b0)]=_0x149dfd,this[_0xa2c93d(0x3da)]=_0x2537a8,this[_0xa2c93d(0x321)]();}[_0x19457d(0x321)](){const _0x1e059c=_0x19457d,_0x2dbdfc=this;this[_0x1e059c(0x40b)](this[_0x1e059c(0x3b0)][_0x1e059c(0x379)]({'onBeforePasteImage':async _0x37d712=>{const _0x19d1e1=_0x1e059c,_0x254484=await _0x2dbdfc[_0x19d1e1(0x3da)][_0x19d1e1(0x327)](_0x37d712);return _0x254484?{'source':_0x254484['source'],'imageSourceType':_0x254484[_0x19d1e1(0x341)]}:null;}}));}};fe=Je([Re(0x0,b[_0x19457d(0x382)]),Re(0x1,qe[_0x19457d(0x3e9)])],fe);const Oe=['purple300',_0x19457d(0x262),_0x19457d(0x250),_0x19457d(0x420),_0x19457d(0x2e7),_0x19457d(0x2ad)];class Ce extends a[_0x19457d(0x3b2)]{constructor(){const _0x1542bf=_0x19457d;super(...arguments),h(this,_0x1542bf(0x322),new Map()),h(this,'_colorIndex',0x0);}[_0x19457d(0x285)](_0x4a8c1c){const _0xd42ed4=_0x19457d;if(this[_0xd42ed4(0x322)][_0xd42ed4(0x2e6)](_0x4a8c1c))return this['_assignedColors'][_0xd42ed4(0x3f2)](_0x4a8c1c);const _0x33ac31=Oe[this[_0xd42ed4(0x2c5)]];return this[_0xd42ed4(0x2c5)]=(this[_0xd42ed4(0x2c5)]+0x1)%Oe['length'],this['_assignedColors'][_0xd42ed4(0x394)](_0x4a8c1c,_0x33ac31),_0x33ac31;}}function Le(_0x1ef401){const _0x7295fc=_0x19457d;let _0x553441='';for(const _0x255a4d of _0x1ef401){const {startOffset:_0x19c15a,endOffset:_0x2e01a1,isActive:_0x56b616,rangeType:_0x5835f9,segmentId:_0x330cdd,segmentPage:_0x17cea9}=_0x255a4d;_0x553441[_0x7295fc(0x41e)]&&(_0x553441+=','),_0x553441+=_0x19c15a+':'+_0x2e01a1+':'+(_0x56b616?'1':'0')+':'+_0x5835f9+':'+_0x330cdd+':'+_0x17cea9;}return _0x553441;}function Ze(_0x4011f7){const _0x323aac=_0x19457d,_0x2bfdb0=_0x4011f7[_0x323aac(0x351)](','),_0x437bc0=[];for(const _0x20df4e of _0x2bfdb0){const [_0x42e4f4,_0x487379,_0x12978a,_0xe70451,_0x18ea88,_0x53471a]=_0x20df4e[_0x323aac(0x351)](':');_0x437bc0[_0x323aac(0x346)]({'startOffset':Number(_0x42e4f4),'endOffset':Number(_0x487379),'collapsed':_0x42e4f4===_0x487379,'isActive':_0x12978a==='1','rangeType':_0xe70451===a[_0x323aac(0x416)][_0x323aac(0x423)]?a[_0x323aac(0x416)][_0x323aac(0x423)]:a[_0x323aac(0x416)][_0x323aac(0x246)],'segmentId':typeof _0x18ea88=='string'?String(_0x18ea88):'','segmentPage':Number(_0x53471a!=null?_0x53471a:-0x1)});}return _0x437bc0[_0x323aac(0x3d6)](_0x4fd18e=>_0x4fd18e[_0x323aac(0x36a)])||(_0x437bc0[0x0][_0x323aac(0x36a)]=!0x0),_0x437bc0;}class pe extends a[_0x19457d(0x1d7)]{constructor(){const _0x1d4c3e=_0x19457d;super(...arguments),h(this,_0x1d4c3e(0x266),new d[(_0x1d4c3e(0x42c))](null)),h(this,'collabCursorState$',this[_0x1d4c3e(0x266)]['asObservable']());}[_0x19457d(0x1ee)](_0x569678){const _0x2b64d0=_0x19457d,{unitID:_0x49684c,memberID:_0x28cb8a,textRanges:_0x3831c6}=_0x569678,_0x4beb59=Le(_0x3831c6);if(_0x4beb59==='')return;const _0x4acc93={'unitID':_0x49684c,'memberID':_0x28cb8a,'selection':_0x4beb59};this[_0x2b64d0(0x266)]['next'](_0x4acc93);}}var Qe=Object[_0x19457d(0x3db)],et=(_0x2da09e,_0x5ee412,_0x1ab1ba,_0x14725d)=>{const _0xcd6774=_0x19457d;for(var _0x2d5211=_0x14725d>0x1?void 0x0:_0x14725d?Qe(_0x5ee412,_0x1ab1ba):_0x5ee412,_0x30b01d=_0x2da09e[_0xcd6774(0x41e)]-0x1,_0x512c7d;_0x30b01d>=0x0;_0x30b01d--)(_0x512c7d=_0x2da09e[_0x30b01d])&&(_0x2d5211=_0x512c7d(_0x2d5211)||_0x2d5211);return _0x2d5211;},N=(_0x382fa5,_0x4f5f81)=>(_0x2b88d1,_0x305fe1)=>_0x4f5f81(_0x2b88d1,_0x305fe1,_0x382fa5);const tt=0x12c,st=0x64;let Se=class extends a['RxDisposable']{constructor(_0x3e94c8,_0x516cc4,_0x426346,_0x4bd6b4,_0x53ddf2,_0x88f747,_0x2724ef,_0x4c5c7d,_0x5f17e9){const _0x301668=_0x19457d;super(),h(this,'_online',!0x1),h(this,'_init',!0x1),h(this,'_cursorInfo$',new d[(_0x301668(0x42c))](new Map())),h(this,_0x301668(0x23a),this[_0x301668(0x201)]['asObservable']()),h(this,'_roomMembers$',new d[(_0x301668(0x42c))]([])),h(this,_0x301668(0x26a),this[_0x301668(0x30a)]['pipe'](d['debounceTime'](tt))),h(this,_0x301668(0x2ef),a[_0x301668(0x220)](_0x404914=>{const _0x50dc82=_0x301668,_0x3289f7={'eventID':m['CollaborationEvent'][_0x50dc82(0x1f4)],'data':{'unitID':this[_0x50dc82(0x37b)],'memberID':this[_0x50dc82(0x296)][_0x50dc82(0x229)](),'selection':Le(_0x404914)}};this[_0x50dc82(0x296)]['send'](_0x3289f7,this[_0x50dc82(0x37b)]);},st)),(this[_0x301668(0x37b)]=_0x3e94c8,this[_0x301668(0x296)]=_0x516cc4,this[_0x301668(0x1d5)]=_0x426346,this[_0x301668(0x1ec)]=_0x4bd6b4,this['_memberService']=_0x53ddf2,this['_syncEditingCollabCursorService']=_0x88f747,this[_0x301668(0x256)]=_0x2724ef,this[_0x301668(0x2b1)]=_0x4c5c7d,this['_commandService']=_0x5f17e9);}get[_0x19457d(0x2e3)](){const _0x4174a7=_0x19457d;return this['_cursorInfo$'][_0x4174a7(0x227)]();}get[_0x19457d(0x20a)](){const _0x74ee8f=_0x19457d;return this[_0x74ee8f(0x30a)][_0x74ee8f(0x227)]();}['dispose'](){const _0x51e458=_0x19457d;super[_0x51e458(0x378)](),this[_0x51e458(0x201)][_0x51e458(0x406)](new Map()),this[_0x51e458(0x201)][_0x51e458(0x428)](),this[_0x51e458(0x30a)][_0x51e458(0x406)]([]),this['_roomMembers$'][_0x51e458(0x428)]();}[_0x19457d(0x37a)](){const _0x139eb7=_0x19457d;this[_0x139eb7(0x321)]||(this[_0x139eb7(0x321)]=!0x0,this[_0x139eb7(0x296)]['sessionStatus$']['pipe'](d[_0x139eb7(0x281)](this[_0x139eb7(0x32b)]))[_0x139eb7(0x1fc)](_0x1cec73=>{const _0x4b1558=_0x139eb7;_0x1cec73===u[_0x4b1558(0x41f)]['ONLINE']?this['_toggleOnline']():this[_0x4b1558(0x1d6)]();}),this[_0x139eb7(0x296)][_0x139eb7(0x2ff)][_0x139eb7(0x1fb)](d[_0x139eb7(0x281)](this['dispose$']))[_0x139eb7(0x1fc)](_0x48c908=>{const _0x4503e0=_0x139eb7,_0x3a26d6=_0x48c908[_0x4503e0(0x2b0)];_0x3a26d6===m['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x4503e0(0x22c)](_0x48c908),_0x3a26d6===m['CollaborationEvent'][_0x4503e0(0x37f)]&&this[_0x4503e0(0x228)](_0x48c908);}),this[_0x139eb7(0x40b)](this[_0x139eb7(0x40d)][_0x139eb7(0x377)](_0x27b531=>{const _0x422804=_0x139eb7,_0x25371e=_0x27b531[_0x422804(0x1db)];_0x25371e!=null&&this[_0x422804(0x259)]&&_0x27b531['id']===Y[_0x422804(0x42f)]['id']&&_0x25371e['unitId']===this[_0x422804(0x37b)]&&_0x25371e[_0x422804(0x2e1)]===!0x1&&_0x25371e['ranges'][_0x422804(0x41e)]>0x0&&this[_0x422804(0x2ef)](_0x25371e[_0x422804(0x3f6)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x139eb7(0x1fb)](d[_0x139eb7(0x281)](this[_0x139eb7(0x32b)]))['subscribe'](_0x1534d9=>{const _0x58ff85=_0x139eb7;if((_0x1534d9==null?void 0x0:_0x1534d9['unitID'])!==this[_0x58ff85(0x37b)])return;const _0x7752c6={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x1534d9};this[_0x58ff85(0x22c)](_0x7752c6);}),this['disposeWithMe'](this[_0x139eb7(0x40d)][_0x139eb7(0x377)](_0x1da4ff=>{const _0x54a441=_0x139eb7;if(_0x1da4ff[_0x54a441(0x1db)]==null)return;const _0x2ac526=_0x1da4ff[_0x54a441(0x1db)];if(_0x1da4ff['id']!==Y['RichTextEditingMutation']['id']||_0x2ac526[_0x54a441(0x263)]!==this[_0x54a441(0x37b)])return;const _0x284074={'id':'doc.mutation.rich-text-editing','params':_0x2ac526},_0x5d3b4e=this['cursorInfo'];for(const [_0x311a96,_0x32273b]of _0x5d3b4e){const _0x43d699={'id':_0x54a441(0x3a3),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x32273b[_0x54a441(0x3f6)]}},_0x25c8a6=this[_0x54a441(0x256)]['transformMutation'](_0x284074,_0x43d699,!0x1);if(m[_0x54a441(0x32e)](_0x25c8a6))throw _0x25c8a6[_0x54a441(0x3bd)];_0x5d3b4e[_0x54a441(0x394)](_0x311a96,{..._0x32273b,'ranges':_0x25c8a6[_0x54a441(0x30e)]['params'][_0x54a441(0x345)]});}queueMicrotask(()=>{const _0x1bb6af=_0x54a441;this[_0x1bb6af(0x201)][_0x1bb6af(0x406)](_0x5d3b4e);});})));}[_0x19457d(0x22c)](_0x3aa25f){const _0x20afbe=_0x19457d;var _0x4e22ab,_0x5487cd;const {memberID:_0x5f5b97,selection:_0x5f10f4}=_0x3aa25f[_0x20afbe(0x300)],_0x1d84ba=Ze(_0x5f10f4),_0x434c85=(_0x5487cd=(_0x4e22ab=this[_0x20afbe(0x3d9)][_0x20afbe(0x279)](this[_0x20afbe(0x37b)],_0x5f5b97))==null?void 0x0:_0x4e22ab[_0x20afbe(0x3d5)])!=null?_0x5487cd:_0x20afbe(0x429),_0x10e4dc={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x5f5b97),'name':_0x434c85,'ranges':_0x1d84ba},_0x54d896=this['cursorInfo'];_0x54d896[_0x20afbe(0x394)](_0x5f5b97,_0x10e4dc),this['_cursorInfo$']['next'](_0x54d896);}[_0x19457d(0x228)](_0x4ee321){const _0x508e1f=_0x19457d,{memberID:_0x5576e4}=_0x4ee321[_0x508e1f(0x300)],_0x200507=this['cursorInfo'];_0x200507['delete'](_0x5576e4),this[_0x508e1f(0x201)][_0x508e1f(0x406)](_0x200507);}['_toggleOnline'](){const _0x3a3a7b=_0x19457d;var _0x52f932;if(this[_0x3a3a7b(0x259)]=!0x0,((_0x52f932=this[_0x3a3a7b(0x2b1)][_0x3a3a7b(0x2ee)]())==null?void 0x0:_0x52f932[_0x3a3a7b(0x3f4)]())!==this[_0x3a3a7b(0x37b)])return;const _0x621bbf=this[_0x3a3a7b(0x1d5)][_0x3a3a7b(0x3f2)](Y[_0x3a3a7b(0x3ed)])[_0x3a3a7b(0x24c)]();Array['isArray'](_0x621bbf)&&_0x621bbf[_0x3a3a7b(0x41e)]>0x0&&this[_0x3a3a7b(0x2ef)](_0x621bbf);}[_0x19457d(0x1d6)](){const _0x3bbfbd=_0x19457d;this[_0x3bbfbd(0x259)]=!0x1;}};Se=et([N(0x2,a[_0x19457d(0x2f0)](a['Injector'])),N(0x3,a[_0x19457d(0x2f0)](Ce)),N(0x4,a[_0x19457d(0x2f0)](u[_0x19457d(0x433)])),N(0x5,a[_0x19457d(0x2f0)](pe)),N(0x6,m['ITransformService']),N(0x7,a[_0x19457d(0x401)]),N(0x8,a[_0x19457d(0x241)])],Se);var nt=Object[_0x19457d(0x3db)],it=(_0x47c574,_0x36a700,_0x3db687,_0x2780ee)=>{const _0x1bdb58=_0x19457d;for(var _0x4761cd=_0x2780ee>0x1?void 0x0:_0x2780ee?nt(_0x36a700,_0x3db687):_0x36a700,_0x4023ac=_0x47c574[_0x1bdb58(0x41e)]-0x1,_0xee872d;_0x4023ac>=0x0;_0x4023ac--)(_0xee872d=_0x47c574[_0x4023ac])&&(_0x4761cd=_0xee872d(_0x4761cd)||_0x4761cd);return _0x4761cd;},y=(_0x270f49,_0x553df9)=>(_0x49f5b2,_0x4dc9ad)=>_0x553df9(_0x49f5b2,_0x4dc9ad,_0x270f49);const rt=0x12c,ot=0x64,at=()=>{let _0x11ae94=[],_0x537887=!0x1;return _0x4f875b=>{const _0x3ba9d0=_0x3043;_0x11ae94[_0x3ba9d0(0x346)](_0x4f875b),_0x537887||(_0x537887=!0x0,setTimeout(()=>{_0x11ae94['forEach'](_0x25e59c=>_0x25e59c()),_0x11ae94=[],_0x537887=!0x1;}));};};let ve=class extends a[_0x19457d(0x1d7)]{constructor(_0x1c9b8c,_0x2f01c7,_0x2c0f64,_0x296ace,_0x5d42ac,_0x58f491,_0x499fc4,_0x33336c){const _0x10e0cf=_0x19457d;super(),h(this,_0x10e0cf(0x259),!0x1),h(this,_0x10e0cf(0x321),!0x1),h(this,_0x10e0cf(0x201),new d[(_0x10e0cf(0x42c))](new Map())),h(this,_0x10e0cf(0x23a),this['_cursorInfo$'][_0x10e0cf(0x2c0)]()),h(this,_0x10e0cf(0x30a),new d[(_0x10e0cf(0x42c))]([])),h(this,_0x10e0cf(0x26a),this[_0x10e0cf(0x30a)]['pipe'](d[_0x10e0cf(0x270)](rt))),h(this,'_updateLocalCursor',a[_0x10e0cf(0x220)]((_0x52e51a,_0x5ecc4b)=>{const _0x559d18=_0x10e0cf,_0x31ac65={'eventID':m[_0x559d18(0x3ae)][_0x559d18(0x1f4)],'data':{'unitID':this[_0x559d18(0x37b)],'memberID':this[_0x559d18(0x296)]['getMemberID'](),'selection':Te[_0x559d18(0x43a)](_0x52e51a,_0x5ecc4b[_0x559d18(0x353)])}};this[_0x559d18(0x296)][_0x559d18(0x344)](_0x31ac65,this[_0x559d18(0x37b)]);},ot)),(this[_0x10e0cf(0x37b)]=_0x1c9b8c,this[_0x10e0cf(0x296)]=_0x2f01c7,this[_0x10e0cf(0x1d5)]=_0x2c0f64,this[_0x10e0cf(0x1ec)]=_0x296ace,this['_memberService']=_0x5d42ac,this[_0x10e0cf(0x2b1)]=_0x58f491,this[_0x10e0cf(0x40d)]=_0x499fc4,this['_refRangeService']=_0x33336c);}get[_0x19457d(0x2e3)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x1b5c1f=_0x19457d;return this['_roomMembers$'][_0x1b5c1f(0x227)]();}[_0x19457d(0x378)](){const _0x4f5212=_0x19457d;super['dispose'](),this[_0x4f5212(0x201)]['next'](new Map()),this[_0x4f5212(0x201)][_0x4f5212(0x428)](),this[_0x4f5212(0x30a)][_0x4f5212(0x406)]([]),this[_0x4f5212(0x30a)][_0x4f5212(0x428)]();}['init'](){const _0x17de63=_0x19457d;this[_0x17de63(0x321)]||(this[_0x17de63(0x321)]=!0x0,this[_0x17de63(0x296)]['sessionStatus$'][_0x17de63(0x1fb)](d['takeUntil'](this[_0x17de63(0x32b)]))[_0x17de63(0x1fc)](_0x3bb670=>{const _0x38943e=_0x17de63;_0x3bb670===u[_0x38943e(0x41f)]['ONLINE']?this[_0x38943e(0x438)]():this[_0x38943e(0x1d6)]();}),this[_0x17de63(0x296)][_0x17de63(0x2ff)][_0x17de63(0x1fb)](d[_0x17de63(0x281)](this['dispose$']))[_0x17de63(0x1fc)](_0xf86c74=>{const _0x173d2b=_0x17de63,_0x4420f6=_0xf86c74['eventID'];_0x4420f6===m[_0x173d2b(0x3ae)][_0x173d2b(0x1f4)]&&this[_0x173d2b(0x22c)](_0xf86c74),_0x4420f6===m['CollaborationEvent']['USERS_LEAVE']&&this[_0x173d2b(0x228)](_0xf86c74);}),this[_0x17de63(0x388)](),this[_0x17de63(0x40b)](this[_0x17de63(0x40d)][_0x17de63(0x377)](_0xadd171=>{const _0x2c0dda=_0x17de63;if(this[_0x2c0dda(0x259)]&&_0xadd171['id']===I[_0x2c0dda(0x357)]['id']&&_0xadd171['params']['unitId']===this[_0x2c0dda(0x37b)]){const _0x2b7fd6=_0xadd171[_0x2c0dda(0x1db)];this[_0x2c0dda(0x2ef)](_0x2b7fd6['subUnitId'],_0x2b7fd6['selections'][0x0]);}})));}[_0x19457d(0x22c)](_0x4ec803){const _0x1a72bc=_0x19457d;var _0x542310,_0x425339;const {memberID:_0x28132b,selection:_0x3839ff}=_0x4ec803[_0x1a72bc(0x300)],{sheetName:_0xf160f6,range:_0x26df54}=Te[_0x1a72bc(0x35a)](_0x3839ff),_0x25ddd6={'name':(_0x425339=(_0x542310=this[_0x1a72bc(0x3d9)][_0x1a72bc(0x279)](this['unitID'],_0x28132b))==null?void 0x0:_0x542310[_0x1a72bc(0x3d5)])!=null?_0x425339:_0x1a72bc(0x429),'range':this['_getMergeRange'](_0xf160f6,_0x26df54),'sheetID':_0xf160f6,'color':this['_colorAssignService'][_0x1a72bc(0x285)](_0x28132b),'selection':_0x3839ff},_0x4abea4=this[_0x1a72bc(0x2e3)];_0x4abea4[_0x1a72bc(0x394)](_0x28132b,_0x25ddd6),this[_0x1a72bc(0x201)]['next'](_0x4abea4);}[_0x19457d(0x228)](_0x572da5){const _0xf54969=_0x19457d,{memberID:_0x682ff2}=_0x572da5['data'],_0xfbd5c8=this[_0xf54969(0x2e3)];_0xfbd5c8[_0xf54969(0x2f5)](_0x682ff2),this[_0xf54969(0x201)][_0xf54969(0x406)](_0xfbd5c8);}[_0x19457d(0x2c7)](_0x15bfc0,_0x55f466){const _0x468a64=_0x19457d;var _0x3419b6,_0x242168;const _0x50f959=(_0x242168=(_0x3419b6=this[_0x468a64(0x2b1)][_0x468a64(0x415)](this['unitID']))==null?void 0x0:_0x3419b6[_0x468a64(0x431)](_0x15bfc0))==null?void 0x0:_0x242168[_0x468a64(0x3a1)]();return(_0x50f959==null?void 0x0:_0x50f959[_0x468a64(0x37d)](_0x477eb2=>a[_0x468a64(0x27d)][_0x468a64(0x28c)](_0x477eb2,_0x55f466)))||_0x55f466;}[_0x19457d(0x388)](){const _0x4add5a=_0x19457d,_0xce6d91=new a[(_0x4add5a(0x31a))](),_0x183bd5=at(),_0x5aec7a=()=>{const _0x5efcc9=_0x4add5a;_0xce6d91[_0x5efcc9(0x378)]();const _0x4656a2=(_0x1bdfbe,_0x4d3380,_0x335dde,_0x12b830)=>{const _0x5f5b79=_0x5efcc9;let _0x1c7815=[];switch(_0x1bdfbe['id']){case I[_0x5f5b79(0x352)][_0x5f5b79(0x301)]:{_0x1c7815=I['handleDeleteRangeMoveLeft'](_0x1bdfbe,_0x12b830);break;}case I['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x1c7815=I[_0x5f5b79(0x3a5)](_0x1bdfbe,_0x12b830);break;}case I['EffectRefRangId'][_0x5f5b79(0x2a2)]:{_0x1c7815=I['handleInsertCol'](_0x1bdfbe,_0x12b830);break;}case I[_0x5f5b79(0x352)][_0x5f5b79(0x26b)]:{_0x1c7815=I['handleInsertRangeMoveDown'](_0x1bdfbe,_0x12b830);break;}case I[_0x5f5b79(0x352)][_0x5f5b79(0x216)]:{_0x1c7815=I[_0x5f5b79(0x3a8)](_0x1bdfbe,_0x12b830);break;}case I[_0x5f5b79(0x352)][_0x5f5b79(0x355)]:{_0x1c7815=I[_0x5f5b79(0x2b3)](_0x1bdfbe,_0x12b830);break;}case I[_0x5f5b79(0x352)][_0x5f5b79(0x23b)]:{_0x1c7815=I['handleMoveRange'](_0x1bdfbe,_0x12b830);break;}case I[_0x5f5b79(0x352)][_0x5f5b79(0x1cb)]:{_0x1c7815=I[_0x5f5b79(0x369)](_0x1bdfbe,_0x12b830);break;}case I[_0x5f5b79(0x352)][_0x5f5b79(0x226)]:{_0x1c7815=I[_0x5f5b79(0x2d2)](_0x1bdfbe,_0x12b830);break;}}const _0x47dc96=I[_0x5f5b79(0x290)](_0x1c7815,_0x12b830),_0x14fa16=this['cursorInfo'][_0x5f5b79(0x3f2)](_0x4d3380);if(_0x14fa16&&_0x47dc96){const _0x346975={..._0x14fa16,'range':_0x47dc96};this[_0x5f5b79(0x2e3)][_0x5f5b79(0x394)](_0x4d3380,_0x346975),_0x183bd5(()=>{const _0x28f8ec=_0x5f5b79,_0x34ab9a=this[_0x28f8ec(0x33d)]['registerRefRange'](_0x47dc96,_0x5c5d23=>(_0x34ab9a[_0x28f8ec(0x378)](),_0x4656a2(_0x5c5d23,_0x4d3380,_0x335dde,_0x47dc96)));_0xce6d91[_0x28f8ec(0x22e)](_0x34ab9a);});}return{'redos':[],'undos':[]};};this[_0x5efcc9(0x2e3)][_0x5efcc9(0x265)]((_0xec1854,_0x4bdc9b)=>{const _0x37e1e7=_0x5efcc9,{range:_0x1acb6f,sheetID:_0x34fabb}=_0xec1854,_0x1cddee=this[_0x37e1e7(0x33d)][_0x37e1e7(0x2d3)](_0x1acb6f,_0x3030e9=>(_0x1cddee['dispose'](),_0x4656a2(_0x3030e9,_0x4bdc9b,_0x34fabb,_0x1acb6f)));_0xce6d91['add'](_0x1cddee);});};this[_0x4add5a(0x40b)](a[_0x4add5a(0x26c)](this[_0x4add5a(0x201)][_0x4add5a(0x1fc)](()=>{_0x5aec7a();})));}[_0x19457d(0x438)](){const _0x580d74=_0x19457d;var _0x191c3f,_0x154f4a;if(this[_0x580d74(0x259)]=!0x0,((_0x191c3f=this[_0x580d74(0x2b1)]['getFocusedUnit']())==null?void 0x0:_0x191c3f['getUnitId']())!==this[_0x580d74(0x37b)])return;const _0x6a289f=(_0x154f4a=this[_0x580d74(0x1d5)][_0x580d74(0x3f2)](I['SheetsSelectionsService'])[_0x580d74(0x3bb)]())==null?void 0x0:_0x154f4a[0x0],_0x5d3973=this['_univerInstanceService'][_0x580d74(0x2ac)](a[_0x580d74(0x338)]['UNIVER_SHEET'])[_0x580d74(0x440)]();_0x6a289f&&_0x5d3973&&this[_0x580d74(0x2ef)](_0x5d3973[_0x580d74(0x1e0)](),_0x6a289f);}[_0x19457d(0x1d6)](){const _0x4de8d1=_0x19457d;this[_0x4de8d1(0x259)]=!0x1;}};ve=it([y(0x2,a[_0x19457d(0x2f0)](a['Injector'])),y(0x3,a[_0x19457d(0x2f0)](Ce)),y(0x4,a['Inject'](u[_0x19457d(0x433)])),y(0x5,a['IUniverInstanceService']),y(0x6,a['ICommandService']),y(0x7,a[_0x19457d(0x2f0)](I[_0x19457d(0x3fc)]))],ve);var ct=Object[_0x19457d(0x3db)],lt=(_0x3b10c7,_0x455b57,_0x3683a4,_0x2af4f7)=>{const _0x4074ba=_0x19457d;for(var _0x118994=_0x2af4f7>0x1?void 0x0:_0x2af4f7?ct(_0x455b57,_0x3683a4):_0x455b57,_0x5156f0=_0x3b10c7[_0x4074ba(0x41e)]-0x1,_0x52ce27;_0x5156f0>=0x0;_0x5156f0--)(_0x52ce27=_0x3b10c7[_0x5156f0])&&(_0x118994=_0x52ce27(_0x118994)||_0x118994);return _0x118994;},ie=(_0x436a08,_0x2b54a3)=>(_0x28eb03,_0x130950)=>_0x2b54a3(_0x28eb03,_0x130950,_0x436a08);let x=class extends a['RxDisposable']{constructor(_0x3f7ebe,_0xa1b16f,_0x4f4013){const _0x2b7f86=_0x19457d;super(),h(this,_0x2b7f86(0x207),new Map()),h(this,_0x2b7f86(0x358),new d[(_0x2b7f86(0x3b6))]()),(this[_0x2b7f86(0x2b1)]=_0x3f7ebe,this['_injector']=_0xa1b16f,this['_collabSessionService']=_0x4f4013,this[_0x2b7f86(0x321)]());}[_0x19457d(0x378)](){const _0xe6b630=_0x19457d;super['dispose'](),this[_0xe6b630(0x358)]['complete'](),this[_0xe6b630(0x207)][_0xe6b630(0x265)](_0x468994=>_0x468994[_0xe6b630(0x378)]());}[_0x19457d(0x318)](_0x19d2d4){const _0x49069d=_0x19457d;return this[_0x49069d(0x207)]['has'](_0x19d2d4)?this[_0x49069d(0x207)][_0x49069d(0x3f2)](_0x19d2d4)[_0x49069d(0x23a)]:this[_0x49069d(0x358)][_0x49069d(0x1fb)](d[_0x49069d(0x224)](_0x4d3fc0=>_0x4d3fc0['unitID']===_0x19d2d4),d[_0x49069d(0x397)](_0x52dc6d=>_0x52dc6d[_0x49069d(0x23a)]));}['_init'](){const _0x121acd=_0x19457d;this[_0x121acd(0x2b1)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x121acd(0x24a)])[_0x121acd(0x1fb)](d['takeUntil'](this[_0x121acd(0x32b)]))[_0x121acd(0x1fc)](async _0x4b4698=>{const _0x3bb6cc=_0x121acd,_0x3598c9=_0x4b4698['getUnitId'](),_0x319e3c=await this[_0x3bb6cc(0x398)](_0x3598c9);this['_entityInit$'][_0x3bb6cc(0x406)](_0x319e3c),this[_0x3bb6cc(0x207)][_0x3bb6cc(0x394)](_0x3598c9,_0x319e3c);}),this[_0x121acd(0x2b1)][_0x121acd(0x311)](a['UniverInstanceType']['UNIVER_DOC'])[_0x121acd(0x1fb)](d[_0x121acd(0x281)](this[_0x121acd(0x32b)]))[_0x121acd(0x1fb)](d[_0x121acd(0x224)](_0x3daa4d=>!_0x3daa4d['getUnitId']()[_0x121acd(0x380)]('__')))[_0x121acd(0x1fc)](async _0x4640d5=>{const _0x405426=_0x121acd,_0x15ee14=_0x4640d5[_0x405426(0x3f4)](),_0x37cc4b=await this['_startDocCollabCursor'](_0x15ee14);this['_entityInit$'][_0x405426(0x406)](_0x37cc4b),this[_0x405426(0x207)][_0x405426(0x394)](_0x15ee14,_0x37cc4b);}),d[_0x121acd(0x2bf)](this[_0x121acd(0x2b1)][_0x121acd(0x2aa)](a[_0x121acd(0x338)]['UNIVER_DOC']),this['_univerInstanceService'][_0x121acd(0x2aa)](a['UniverInstanceType'][_0x121acd(0x24a)]))[_0x121acd(0x1fb)](d[_0x121acd(0x281)](this['dispose$']))[_0x121acd(0x1fc)](_0x192eb9=>{const _0x582614=_0x121acd,_0x3039b0=_0x192eb9['getUnitId'](),_0x4c6611=this[_0x582614(0x207)]['get'](_0x3039b0);_0x4c6611&&(_0x4c6611[_0x582614(0x378)](),this[_0x582614(0x207)][_0x582614(0x2f5)](_0x3039b0));});}async[_0x19457d(0x398)](_0x189da3){const _0x5b6993=_0x19457d,_0x2b73a7=await this[_0x5b6993(0x217)][_0x5b6993(0x362)](_0x189da3),_0x212815=this['_injector'][_0x5b6993(0x43f)](ve,_0x189da3,_0x2b73a7);return _0x212815[_0x5b6993(0x37a)](),_0x212815;}async[_0x19457d(0x2c8)](_0x127830){const _0xc96f10=_0x19457d,_0x1d1551=await this[_0xc96f10(0x217)]['requireSession'](_0x127830),_0x588558=this[_0xc96f10(0x1d5)]['createInstance'](Se,_0x127830,_0x1d1551);return _0x588558[_0xc96f10(0x37a)](),_0x588558;}};x=lt([ie(0x0,a['IUniverInstanceService']),ie(0x1,a[_0x19457d(0x2f0)](a[_0x19457d(0x3d7)])),ie(0x2,a[_0x19457d(0x2f0)](u[_0x19457d(0x1ea)]))],x);const K=0x14,De=0xc8,re=0x4,ht=0x5;function _t(_0x1f1260,_0x281e06){const _0x1b6c41=_0x19457d;let {radius:_0x17132d,width:_0x1a5370,height:_0x340629}=_0x281e06;_0x17132d=_0x17132d!=null?_0x17132d:0x0,_0x1a5370=_0x1a5370!=null?_0x1a5370:0x1e,_0x340629=_0x340629!=null?_0x340629:0x1e;let _0x233a45=0x0,_0x16cffa=0x0,_0xe39f31=0x0;_0x233a45=_0x16cffa=_0xe39f31=Math[_0x1b6c41(0x368)](_0x17132d,_0x1a5370/0x2,_0x340629/0x2),_0x1f1260[_0x1b6c41(0x2ab)](),_0x1f1260['moveTo'](_0x233a45,0x0),_0x1f1260['lineTo'](_0x1a5370-_0x16cffa,0x0),_0x1f1260[_0x1b6c41(0x3a0)](_0x1a5370-_0x16cffa,_0x16cffa,_0x16cffa,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f1260[_0x1b6c41(0x3a4)](_0x1a5370,_0x340629-_0xe39f31),_0x1f1260['arc'](_0x1a5370-_0xe39f31,_0x340629-_0xe39f31,_0xe39f31,0x0,Math['PI']/0x2,!0x1),_0x1f1260[_0x1b6c41(0x3a4)](0x0,_0x340629),_0x1f1260[_0x1b6c41(0x3a4)](0x0,_0x233a45),_0x1f1260[_0x1b6c41(0x3a0)](_0x233a45,_0x233a45,_0x233a45,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f1260[_0x1b6c41(0x277)](),_0x281e06[_0x1b6c41(0x2ce)]&&(_0x1f1260['save'](),_0x1f1260[_0x1b6c41(0x1dd)]=_0x281e06[_0x1b6c41(0x2ce)],_0x281e06[_0x1b6c41(0x402)]===_0x1b6c41(0x1e6)?_0x1f1260[_0x1b6c41(0x2ce)](_0x1b6c41(0x1e6)):_0x1f1260[_0x1b6c41(0x2ce)](),_0x1f1260[_0x1b6c41(0x2e2)]());}function _0x3043(_0x163650,_0x596355){const _0x2b232f=_0x2b23();return _0x3043=function(_0x30438f,_0x3d4c17){_0x30438f=_0x30438f-0x1c7;let _0x1f0591=_0x2b232f[_0x30438f];return _0x1f0591;},_0x3043(_0x163650,_0x596355);}class te extends p['Shape']{constructor(_0x490fd7,_0x4ed1c0){const _0x1c94ba=_0x19457d;super(_0x490fd7,_0x4ed1c0),h(this,'color'),h(this,_0x1c94ba(0x20d)),(this[_0x1c94ba(0x247)]=_0x4ed1c0==null?void 0x0:_0x4ed1c0[_0x1c94ba(0x247)],this[_0x1c94ba(0x20d)]=_0x4ed1c0==null?void 0x0:_0x4ed1c0[_0x1c94ba(0x20d)]);}static[_0x19457d(0x21e)](_0x55b7da,_0x17001c){const _0x388de8=_0x19457d,{text:_0x1e3a35,color:_0x1614f8}=_0x17001c;_0x55b7da[_0x388de8(0x427)](),_0x55b7da['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x465a1e=_0x55b7da[_0x388de8(0x3d4)](_0x1e3a35)[_0x388de8(0x3ef)],_0x5c117f=Math[_0x388de8(0x368)](_0x465a1e+0x2*re,De);_t(_0x55b7da,{'height':K,'radius':0x4,'width':_0x5c117f,'fill':_0x1614f8}),_0x55b7da[_0x388de8(0x1dd)]=_0x388de8(0x30f);const _0x2aba9f=re,_0x5232ee=K-ht,_0x1e643a=De-0x2*re;if(_0x465a1e>_0x1e643a){let _0x3c305f='',_0x3d3192=0x0;for(const _0x68f1fb of _0x1e3a35){const _0x525021=_0x55b7da[_0x388de8(0x3d4)](_0x68f1fb)['width'];if(_0x3d3192+_0x525021<=_0x1e643a-_0x55b7da[_0x388de8(0x3d4)](_0x388de8(0x317))['width'])_0x3c305f+=_0x68f1fb,_0x3d3192+=_0x525021;else{_0x3c305f+='...';break;}}_0x55b7da['fillText'](_0x3c305f,_0x2aba9f,_0x5232ee);}else _0x55b7da[_0x388de8(0x3b3)](_0x1e3a35,_0x2aba9f,_0x5232ee);_0x55b7da['restore']();}[_0x19457d(0x1e2)](_0x3246e5){te['drawWith'](_0x3246e5,this);}}const oe='collab-text-anchor-',ut='collab-text-range-',dt='collab-rect-range-',B=0x6,ft=1.5,ae=0x4,St=1.5,vt=_0x19457d(0x287);class Ue{constructor(_0x30db16,_0x5311c3,_0x5dc312,_0x26747c){const _0xe4471a=_0x19457d;h(this,_0xe4471a(0x2c2),[]),h(this,'_anchor',null),h(this,_0xe4471a(0x200),null),h(this,'_anchorDot',null),h(this,_0xe4471a(0x36b),null),h(this,_0xe4471a(0x26f),null),(this[_0xe4471a(0x2dc)]=_0x30db16,this['_scene']=_0x5311c3,this[_0xe4471a(0x393)]=_0x5dc312,this[_0xe4471a(0x3f9)]=_0x26747c,this[_0xe4471a(0x323)]());}set[_0x19457d(0x2c4)](_0x4fbc4f){const _0x26f1d7=_0x19457d;_0x4fbc4f?(this[_0x26f1d7(0x354)]&&this[_0x26f1d7(0x354)][_0x26f1d7(0x3c2)](),this[_0x26f1d7(0x200)]&&this[_0x26f1d7(0x200)][_0x26f1d7(0x360)]()):(this[_0x26f1d7(0x354)]&&this[_0x26f1d7(0x354)][_0x26f1d7(0x360)](),this[_0x26f1d7(0x200)]&&this[_0x26f1d7(0x200)]['hide']());}['dispose'](){const _0x3ce3d0=_0x19457d;for(const _0x3d16b3 of this[_0x3ce3d0(0x2c2)])_0x3d16b3[_0x3ce3d0(0x378)]();this[_0x3ce3d0(0x200)]&&this['_textBubble'][_0x3ce3d0(0x378)](),this[_0x3ce3d0(0x354)]&&this[_0x3ce3d0(0x354)]['dispose'](),this[_0x3ce3d0(0x3f7)]&&this[_0x3ce3d0(0x3f7)]['dispose'](),this[_0x3ce3d0(0x26f)]&&this[_0x3ce3d0(0x26f)]();}[_0x19457d(0x323)](){const _0x17f5d7=_0x19457d;var _0x3a7ffd;const {_docSkeleton:_0x440c06,_document:_0x1a98ed}=this,{color:_0x538856,name:_0x2dd37b,ranges:_0x5c70ec}=this[_0x17f5d7(0x2dc)],_0x34298c=_0x1a98ed[_0x17f5d7(0x2f3)](),{docsLeft:_0x2ca8ed,docsTop:_0x96d656}=_0x34298c,_0x23a5dd=new b[(_0x17f5d7(0x1e1))](_0x34298c,_0x440c06);for(const {startOffset:_0x39ee3b,endOffset:_0x1695ad,rangeType:_0x4c366f,segmentId:_0x17d20b,segmentPage:_0x44512d,collapsed:_0x531728,isActive:_0x3aff92}of _0x5c70ec){const _0x3d22d6=_0x440c06[_0x17f5d7(0x29e)](_0x39ee3b,!0x0,_0x17d20b,_0x44512d);let _0x5bb296=_0x440c06[_0x17f5d7(0x29e)](_0x1695ad,!0x0,_0x17d20b,_0x44512d);if(_0x5bb296==null&&(_0x5bb296=_0x440c06[_0x17f5d7(0x29e)](_0x1695ad-0x1,!0x1,_0x17d20b,_0x44512d)),_0x3aff92){const {contentBoxPointGroup:_0x5d210e}=_0x23a5dd[_0x17f5d7(0x3d8)](_0x5bb296,_0x5bb296);if(_0x5d210e[_0x17f5d7(0x41e)]===0x0)continue;this[_0x17f5d7(0x2b6)](_0x538856,_0x5d210e,_0x2ca8ed,_0x96d656,_0x2dd37b),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x3d22d6&&_0x5bb296){if(_0x4c366f===a[_0x17f5d7(0x416)]['RECT']){const _0x445a6f=new b['NodePositionConvertToRectRange'](_0x34298c,_0x440c06),{pointGroup:_0x2c4932}=(_0x3a7ffd=_0x445a6f['getRangePointData'](_0x3d22d6,_0x5bb296))!=null?_0x3a7ffd:{};if(_0x2c4932==null||_0x2c4932[_0x17f5d7(0x41e)]===0x0)continue;this[_0x17f5d7(0x2e0)](_0x538856,_0x2c4932,_0x2ca8ed,_0x96d656);}else{if(!_0x531728){const {borderBoxPointGroup:_0x3a47f1}=_0x23a5dd[_0x17f5d7(0x3d8)](_0x3d22d6,_0x5bb296);if(_0x3a47f1['length']===0x0)continue;this[_0x17f5d7(0x1d0)](_0x538856,_0x3a47f1,_0x2ca8ed,_0x96d656);}}}}}[_0x19457d(0x2b6)](_0x23c4d5,_0x3f5fd8,_0x1934fb,_0x4c75ef,_0x5c164f){const _0x383064=_0x19457d,_0x3a3f43=this[_0x383064(0x20f)](_0x3f5fd8),{left:_0x35c1b4,top:_0x57c851,height:_0x24c3cb}=_0x3a3f43,_0x4fbcd9=this[_0x383064(0x274)](),_0x480025=St/_0x4fbcd9,_0x2d5ea2=new p[(_0x383064(0x34a))](oe+a[_0x383064(0x1ff)][_0x383064(0x242)](B),{'left':_0x35c1b4+_0x1934fb-_0x480025,'top':_0x57c851+_0x4c75ef,'height':_0x24c3cb,'width':ft,'fill':_0x23c4d5||p['getColor'](a[_0x383064(0x1f2)]['black'],0x0),'strokeWidth':_0x480025,'stroke':vt,'evented':!0x0});this[_0x383064(0x3f7)]=_0x2d5ea2,this['_scene'][_0x383064(0x312)](_0x2d5ea2,b[_0x383064(0x408)]);const _0x4552ae=new p['Rect'](oe+a[_0x383064(0x1ff)][_0x383064(0x242)](B),{'left':_0x35c1b4+_0x1934fb-_0x480025,'top':_0x57c851+_0x4c75ef-ae/0x2,'height':ae,'width':ae,'fill':_0x23c4d5||p[_0x383064(0x3ce)](a[_0x383064(0x1f2)][_0x383064(0x2a5)],0x0),'strokeWidth':0x0,'stroke':_0x23c4d5||p[_0x383064(0x3ce)](a[_0x383064(0x1f2)][_0x383064(0x2a5)],0x0),'evented':!0x1});this[_0x383064(0x354)]=_0x4552ae,this['_scene']['addObject'](_0x4552ae,b[_0x383064(0x408)]);const _0x439902=new te(oe+a[_0x383064(0x1ff)][_0x383064(0x242)](B),{'left':_0x35c1b4+_0x1934fb-_0x480025,'top':_0x57c851+_0x4c75ef-K,'text':_0x5c164f,'color':_0x23c4d5});this[_0x383064(0x200)]=_0x439902,this[_0x383064(0x238)][_0x383064(0x312)](_0x439902,b[_0x383064(0x408)]),this['_hover']=!0x1;}[_0x19457d(0x1cc)](){const _0x5797af=_0x19457d,_0x376d30=this[_0x5797af(0x3f7)][_0x5797af(0x2cc)][_0x5797af(0x1c8)](()=>{const _0xac48a2=_0x5797af;this[_0xac48a2(0x2c4)]=!0x0;}),_0xe54192=this[_0x5797af(0x3f7)]['onPointerLeave$'][_0x5797af(0x1c8)](()=>{const _0x2eb048=_0x5797af;this[_0x2eb048(0x36b)]&&clearTimeout(this[_0x2eb048(0x36b)]),this[_0x2eb048(0x36b)]=setTimeout(()=>{const _0x43183c=_0x2eb048;this[_0x43183c(0x2c4)]=!0x1;},0x7d0);});return()=>{const _0x2f1f35=_0x5797af;_0x376d30[_0x2f1f35(0x446)](),_0xe54192['unsubscribe']();};}[_0x19457d(0x1d0)](_0x3d55d1,_0x173ae1,_0x11de66,_0x38cf65){const _0x2f2777=_0x19457d,_0x1479b7=new a[(_0x2f2777(0x1e4))](_0x3d55d1)[_0x2f2777(0x1f3)](0.2)[_0x2f2777(0x340)](),_0x5b0bb7=new p[(_0x2f2777(0x387))](ut+a[_0x2f2777(0x1ff)][_0x2f2777(0x242)](B),{'pointsGroup':_0x173ae1,'fill':_0x1479b7||p[_0x2f2777(0x3ce)](a[_0x2f2777(0x1f2)][_0x2f2777(0x2a5)],0.2),'left':_0x11de66,'top':_0x38cf65,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2f2777(0x2c2)][_0x2f2777(0x346)](_0x5b0bb7),this['_scene']['addObject'](_0x5b0bb7,b['TEXT_RANGE_LAYER_INDEX']);}[_0x19457d(0x2e0)](_0x1d2fa9,_0x338059,_0x2ba73f,_0x571a6a){const _0xe9e96b=_0x19457d,_0x42571d=new a[(_0xe9e96b(0x1e4))](_0x1d2fa9)[_0xe9e96b(0x1f3)](0.2)[_0xe9e96b(0x340)](),_0x46158b=new p[(_0xe9e96b(0x387))](dt+a[_0xe9e96b(0x1ff)][_0xe9e96b(0x242)](B),{'pointsGroup':_0x338059,'fill':_0x42571d||p['getColor'](a[_0xe9e96b(0x1f2)][_0xe9e96b(0x2a5)],0.2),'left':_0x2ba73f,'top':_0x571a6a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xe9e96b(0x2c2)][_0xe9e96b(0x346)](_0x46158b),this[_0xe9e96b(0x238)][_0xe9e96b(0x312)](_0x46158b,b[_0xe9e96b(0x408)]);}[_0x19457d(0x20f)](_0x1f61ca){const _0x28b26f=_0x1f61ca[0x0],_0x23a22f=_0x28b26f[0x0],_0x2ef12e=_0x28b26f[0x2],{x:_0x31d3d3,y:_0x4684ba}=_0x23a22f,{x:_0x1c3c94,y:_0x1401d6}=_0x2ef12e;return{'left':_0x31d3d3,'top':_0x4684ba,'width':_0x1c3c94-_0x31d3d3,'height':_0x1401d6-_0x4684ba};}['_getScale'](){const _0x108426=_0x19457d,{scaleX:_0xbf2908,scaleY:_0x52aa9a}=this['_scene'][_0x108426(0x3aa)]();return Math[_0x108426(0x392)](_0xbf2908,_0x52aa9a);}}var gt=Object['getOwnPropertyDescriptor'],It=(_0x1253ab,_0x4351c1,_0x20b915,_0x4eccc6)=>{const _0xdb159a=_0x19457d;for(var _0x51a487=_0x4eccc6>0x1?void 0x0:_0x4eccc6?gt(_0x4351c1,_0x20b915):_0x4351c1,_0x5134a5=_0x1253ab[_0xdb159a(0x41e)]-0x1,_0x25bb22;_0x5134a5>=0x0;_0x5134a5--)(_0x25bb22=_0x1253ab[_0x5134a5])&&(_0x51a487=_0x25bb22(_0x51a487)||_0x51a487);return _0x51a487;},X=(_0x25f7e7,_0x48176a)=>(_0x54532e,_0x4bdfe2)=>_0x48176a(_0x54532e,_0x4bdfe2,_0x25f7e7);let ge=class extends a[_0x19457d(0x1d7)]{constructor(_0xe1901e,_0x1d769f,_0x1f0075,_0x5ad3ad,_0x23985e){const _0x5d93a3=_0x19457d;super(),h(this,_0x5d93a3(0x376),[]),h(this,_0x5d93a3(0x21c),[]),(this['_context']=_0xe1901e,this[_0x5d93a3(0x278)]=_0x1d769f,this[_0x5d93a3(0x295)]=_0x1f0075,this['_commandService']=_0x5ad3ad,this[_0x5d93a3(0x209)]=_0x23985e,this['_init']());}[_0x19457d(0x321)](){const _0x5787e3=_0x19457d,_0x11a12a=this[_0x5787e3(0x3dd)][_0x5787e3(0x263)],_0x5625f7=this[_0x5787e3(0x278)];this[_0x5787e3(0x40b)](d[_0x5787e3(0x245)]([this[_0x5787e3(0x295)][_0x5787e3(0x318)](_0x11a12a),this['_themeService'][_0x5787e3(0x255)]])[_0x5787e3(0x1fb)]($[_0x5787e3(0x3e0)](([_0x5edc99,_0x5dd348])=>({'skeleton':_0x5625f7[_0x5787e3(0x258)](),'cursors':[..._0x5edc99['values']()]['flatMap'](_0x7273c2=>({..._0x7273c2,'color':_0x5dd348[_0x7273c2[_0x5787e3(0x247)]]}))})))[_0x5787e3(0x1fc)](_0x301021=>{const _0x5dbe53=_0x5787e3;if(this[_0x5dbe53(0x29b)](),_0x301021){const {skeleton:_0x368539,cursors:_0x50ea4e}=_0x301021;this[_0x5dbe53(0x3c4)](_0x368539,_0x50ea4e);}})),this[_0x5787e3(0x41b)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x397df2,_0xcd6b9f){const _0x3aa348=_0x19457d,{scene:_0x299ae7,mainComponent:_0xef18f6}=this[_0x3aa348(0x3dd)],_0x5e6e18=_0xcd6b9f[_0x3aa348(0x3e0)](_0x1cb0db=>new Ue(_0x1cb0db,_0x299ae7,_0x397df2,_0xef18f6));this[_0x3aa348(0x376)]=_0x5e6e18,this[_0x3aa348(0x21c)]=_0xcd6b9f;}[_0x19457d(0x1fa)](){const _0x4e60d5=_0x19457d;this['_removeCollabCursors']();const {scene:_0x2fe4b1,mainComponent:_0x57217f}=this[_0x4e60d5(0x3dd)],_0x47254b=this['_docSkeletonManagerService'][_0x4e60d5(0x258)](),_0x34de26=this[_0x4e60d5(0x21c)][_0x4e60d5(0x3e0)](_0x64034d=>new Ue(_0x64034d,_0x2fe4b1,_0x47254b,_0x57217f));this['_cursorShapes']=_0x34de26;}['_removeCollabCursors'](){const _0x4b2ff7=_0x19457d;this['_cursorShapes'][_0x4b2ff7(0x265)](_0x5a24c8=>_0x5a24c8[_0x4b2ff7(0x378)]()),this[_0x4b2ff7(0x376)]=[];}[_0x19457d(0x273)](){const _0x37c191=_0x19457d,_0x5dedc0=[b[_0x37c191(0x214)]['id']];this['disposeWithMe'](this[_0x37c191(0x40d)]['onCommandExecuted'](_0xa0fba2=>{const _0x446de2=_0x37c191;_0x5dedc0[_0x446de2(0x2bc)](_0xa0fba2['id'])&&_0xa0fba2[_0x446de2(0x1db)][_0x446de2(0x263)]===this[_0x446de2(0x3dd)]['unitId']&&this[_0x446de2(0x1fa)]();}));}[_0x19457d(0x41b)](){const _0x52c6c5=_0x19457d;this[_0x52c6c5(0x40b)](a[_0x52c6c5(0x444)](this[_0x52c6c5(0x3dd)]['engine'][_0x52c6c5(0x3d1)])[_0x52c6c5(0x1fb)]($[_0x52c6c5(0x224)](_0x439dbf=>_0x439dbf[_0x52c6c5(0x333)]===p[_0x52c6c5(0x230)][_0x52c6c5(0x324)]),$[_0x52c6c5(0x42d)](0x10))['subscribe'](()=>{const _0x51db88=_0x52c6c5;this[_0x51db88(0x1fa)]();}));}};ge=It([X(0x1,a[_0x19457d(0x2f0)](Y[_0x19457d(0x26d)])),X(0x2,a['Inject'](x)),X(0x3,a[_0x19457d(0x241)]),X(0x4,a[_0x19457d(0x2f0)](a[_0x19457d(0x2ae)]))],ge);const mt=0x1,Ct=1.5;class ye extends p[_0x19457d(0x1e8)]{constructor(_0x2a819c,_0x1de929){const _0x4d03e8=_0x19457d;super(_0x2a819c,_0x1de929),h(this,'_color'),h(this,_0x4d03e8(0x2a1),!0x1),h(this,_0x4d03e8(0x31c)),h(this,_0x4d03e8(0x342),''),h(this,_0x4d03e8(0x33a),_0x4d03e8(0x3c7)),h(this,_0x4d03e8(0x3ff)),(_0x1de929&&this[_0x4d03e8(0x3b1)](_0x1de929),this['onPointerEnter$'][_0x4d03e8(0x1c8)](()=>this[_0x4d03e8(0x3b1)]({'hovered':!0x0})),this[_0x4d03e8(0x3c9)]['subscribeEvent'](()=>this[_0x4d03e8(0x3b1)]({'hovered':!0x1})));}[_0x19457d(0x3b1)](_0x3f6bd8){const _0x4dda2c=_0x19457d;var _0x31549b,_0x2b91c2,_0xfc80b2,_0x1ef6cc,_0x2ad355,_0x3abada;this[_0x4dda2c(0x2b9)]=(_0x31549b=_0x3f6bd8[_0x4dda2c(0x247)])!=null?_0x31549b:this[_0x4dda2c(0x2b9)],this[_0x4dda2c(0x2a1)]=(_0x2b91c2=_0x3f6bd8[_0x4dda2c(0x2a6)])!=null?_0x2b91c2:this[_0x4dda2c(0x2a1)],this['_range']=(_0xfc80b2=_0x3f6bd8['range'])!=null?_0xfc80b2:this[_0x4dda2c(0x31c)],this[_0x4dda2c(0x342)]=(_0x1ef6cc=_0x3f6bd8[_0x4dda2c(0x3d5)])!=null?_0x1ef6cc:this[_0x4dda2c(0x342)],this[_0x4dda2c(0x33a)]=(_0x2ad355=_0x3f6bd8[_0x4dda2c(0x3a7)])!=null?_0x2ad355:this['_labelPosition'],this[_0x4dda2c(0x3ff)]=(_0x3abada=_0x3f6bd8['backgroundColor'])!=null?_0x3abada:this[_0x4dda2c(0x3ff)],this['transformByState']({'width':_0x3f6bd8[_0x4dda2c(0x3ef)],'height':_0x3f6bd8[_0x4dda2c(0x359)]});}[_0x19457d(0x1e5)](_0x932d06){const _0x41cd3c=_0x19457d,{row:_0x296613,column:_0x26553e}=_0x932d06;if(_0x296613>=this[_0x41cd3c(0x31c)]['startRow']&&_0x296613<=this[_0x41cd3c(0x31c)][_0x41cd3c(0x30d)]&&_0x26553e>=this['_range'][_0x41cd3c(0x248)]&&_0x26553e<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x19457d(0x3e1)](_0x4bbe83){return!0x1;}['_draw'](_0x2c2acf){const _0x3dc51e=_0x19457d;p[_0x3dc51e(0x34a)][_0x3dc51e(0x21e)](_0x2c2acf,{'width':this[_0x3dc51e(0x3ef)],'height':this['height'],'strokeWidth':Ct,'stroke':this[_0x3dc51e(0x2b9)],'evented':!0x1,'fill':this[_0x3dc51e(0x3ff)]}),this[_0x3dc51e(0x2a1)]&&(_0x2c2acf['save'](),_0x2c2acf[_0x3dc51e(0x403)](0x1,0x0,0x0,0x1,this[_0x3dc51e(0x3ef)],this[_0x3dc51e(0x33a)]==='bottom'?0x0:-0x14),te[_0x3dc51e(0x21e)](_0x2c2acf,{'text':this['_name'],'color':this[_0x3dc51e(0x2b9)]}),_0x2c2acf['restore']());}}var pt=Object[_0x19457d(0x3db)],bt=(_0x5a3313,_0x49981f,_0x262f01,_0x412d16)=>{const _0x45cf0a=_0x19457d;for(var _0x4793f7=_0x412d16>0x1?void 0x0:_0x412d16?pt(_0x49981f,_0x262f01):_0x49981f,_0x1baa89=_0x5a3313[_0x45cf0a(0x41e)]-0x1,_0x1b36dd;_0x1baa89>=0x0;_0x1baa89--)(_0x1b36dd=_0x5a3313[_0x1baa89])&&(_0x4793f7=_0x1b36dd(_0x4793f7)||_0x4793f7);return _0x4793f7;},ce=(_0x2f76b1,_0x12e31f)=>(_0x5bbfce,_0x426be7)=>_0x12e31f(_0x5bbfce,_0x426be7,_0x2f76b1);const Et=0x1389;let Ie=class extends a[_0x19457d(0x1d7)]{constructor(_0x462242,_0x4de8d6,_0x2fe110,_0x3ecba2){const _0x28c7e1=_0x19457d;super(),h(this,_0x28c7e1(0x21c),new Set()),h(this,_0x28c7e1(0x34d),null),(this[_0x28c7e1(0x3dd)]=_0x462242,this[_0x28c7e1(0x3ca)]=_0x4de8d6,this['_collabCursorController']=_0x2fe110,this[_0x28c7e1(0x209)]=_0x3ecba2,this[_0x28c7e1(0x321)]());}[_0x19457d(0x321)](){const _0x35e592=_0x19457d;this[_0x35e592(0x3ca)][_0x35e592(0x22b)][_0x35e592(0x1fb)]($['takeUntil'](this[_0x35e592(0x32b)]),$[_0x35e592(0x397)](_0x366085=>{const _0x3271a1=_0x35e592;if(_0x366085){const _0x56c1d0=_0x366085[_0x3271a1(0x2a8)];return d['combineLatest'](this[_0x3271a1(0x295)][_0x3271a1(0x318)](this[_0x3271a1(0x3dd)][_0x3271a1(0x263)]),this['_themeService'][_0x3271a1(0x255)])[_0x3271a1(0x1fb)]($[_0x3271a1(0x3e0)](([_0x2ec010,_0x564f55])=>{const _0x1cf257=new Map();return _0x2ec010['forEach']((_0x3d975d,_0x1c1f14)=>{const _0x3d9b41=_0x3043;if(_0x3d975d[_0x3d9b41(0x231)]===_0x56c1d0){const _0xe8de5f={..._0x3d975d};_0xe8de5f[_0x3d9b41(0x247)]=_0x564f55[_0x3d975d[_0x3d9b41(0x247)]],_0x1cf257[_0x3d9b41(0x394)](_0x1c1f14,_0xe8de5f);}}),{'skeleton':_0x366085,'cursors':_0x1cf257};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0x35e592(0x1fc)](({skeleton:_0x3f4860,cursors:_0x5de65c})=>{const _0x10fd4d=_0x35e592;this[_0x10fd4d(0x29b)](),_0x3f4860&&this[_0x10fd4d(0x3c4)](_0x3f4860,_0x5de65c);}),this['_sheetSkeletonManagerService'][_0x35e592(0x22b)][_0x35e592(0x1fc)](_0x556904=>{const _0x3ae514=_0x35e592;if(_0x556904==null)return;const {skeleton:_0x2511ff}=_0x556904,{scene:_0x27731e}=this['_context'];_0x27731e[_0x3ae514(0x36c)][_0x3ae514(0x1c8)](a['debounce'](_0x26bc59=>{const _0x36574e=_0x3ae514;var _0x3513ff,_0x203a70;const {offsetX:_0x56734f,offsetY:_0x544d6e}=_0x26bc59,{x:_0x4bdb51,y:_0x176e99}=_0x27731e[_0x36574e(0x20b)](p['Vector2']['FromArray']([_0x56734f,_0x544d6e])),{scaleX:_0xf4a39c,scaleY:_0xf9dc60}=_0x27731e[_0x36574e(0x3aa)](),_0x1efed7=_0x27731e[_0x36574e(0x2bb)](p['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x5b28a7=_0x27731e['getVpScrollXYInfoByPosToVp'](p['Vector2'][_0x36574e(0x306)]([_0x4bdb51,_0x176e99]),_0x1efed7),_0x43911d=_0x2511ff[_0x36574e(0x2e9)](_0x56734f,_0x544d6e,_0xf4a39c,_0xf9dc60,_0x5b28a7);((_0x3513ff=this[_0x36574e(0x34d)])==null?void 0x0:_0x3513ff[_0x36574e(0x34c)])===_0x43911d[_0x36574e(0x34c)]&&((_0x203a70=this[_0x36574e(0x34d)])==null?void 0x0:_0x203a70[_0x36574e(0x1f8)])===_0x43911d['row']||this[_0x36574e(0x21c)]['forEach'](_0x3d2b5a=>{const _0x1254cc=_0x36574e;_0x3d2b5a[_0x1254cc(0x1e5)](_0x43911d);});},0x64));});}[_0x19457d(0x3c4)](_0x3e9f3f,_0x320232){const _0x126283=_0x19457d;var _0x41836c;const _0xa5a2f8=(_0x41836c=this[_0x126283(0x3ca)][_0x126283(0x1fe)]())==null?void 0x0:_0x41836c[_0x126283(0x422)];if(!_0xa5a2f8)return;const _0x2f539c=this[_0x126283(0x2a4)]();if(!_0x2f539c)return;this[_0x126283(0x21c)][_0x126283(0x265)](_0x1c0825=>{const _0x1d0dd3=_0x126283;_0x1c0825[_0x1d0dd3(0x2e4)]();});const {scene:_0x5504ad}=_0x2f539c,_0x304298=Tt(Array[_0x126283(0x413)](_0x320232[_0x126283(0x389)]()))['map'](_0x597628=>{const _0x136a71=_0x126283,{color:_0x4e4d67,range:_0x5b7dbf,name:_0x12d60a,selection:_0xc77f8,sheetID:_0x54ddce}=_0x597628,{startColumn:_0x3e0b5f,startRow:_0x8472cb,endColumn:_0x52fa23,endRow:_0x258796}=_0x5b7dbf,_0x3d5fbb=G['getCoordByCell'](_0x8472cb,_0x3e0b5f,_0x5504ad,_0xa5a2f8),_0x1b0b2f=G[_0x136a71(0x39c)](_0x258796,_0x52fa23,_0x5504ad,_0xa5a2f8),{columnHeaderHeightAndMarginTop:_0x4f5cbf}=_0xa5a2f8,{startX:_0x5d8c55,startY:_0x154f07}=_0x3d5fbb,{endX:_0x2b0c96,endY:_0x487f14}=_0x1b0b2f,_0x4ea73e=_0x2b0c96-_0x5d8c55,_0x432063=_0x487f14-_0x154f07,_0x18efc3={'labelPosition':_0x154f07-_0x4f5cbf>=K?'top':'bottom','sheetID':_0x54ddce,'range':_0x5b7dbf,'color':_0x4e4d67,'name':_0x12d60a,'selection':_0xc77f8,'left':_0x5d8c55,'top':_0x154f07,'width':_0x4ea73e,'height':_0x432063,'evented':!0x1,'zIndex':Et};return new ye(_0x12d60a,_0x18efc3);});_0x5504ad[_0x126283(0x260)](_0x304298,mt),this[_0x126283(0x21c)]=new Set(_0x304298);}[_0x19457d(0x29b)](){const _0x1e0885=_0x19457d;var _0x300dd9;(_0x300dd9=this[_0x1e0885(0x21c)])==null||_0x300dd9['forEach'](_0x565186=>_0x565186['dispose']());}['_getSheetObject'](){const _0x177f47=_0x19457d;return G['getSheetObject'](this[_0x177f47(0x3dd)][_0x177f47(0x2ed)],this[_0x177f47(0x3dd)]);}};Ie=bt([ce(0x1,a['Inject'](G['SheetSkeletonManagerService'])),ce(0x2,a['Inject'](x)),ce(0x3,a[_0x19457d(0x2f0)](a[_0x19457d(0x2ae)]))],Ie);function Tt(_0x5a267f){const _0x127286=_0x19457d,_0x50f930=new Map();return _0x5a267f[_0x127286(0x265)](_0x17eaf0=>{const _0x5d04f0=_0x127286;if(_0x50f930['has'](_0x17eaf0[_0x5d04f0(0x383)])){const _0x1e7ad0=_0x50f930[_0x5d04f0(0x3f2)](_0x17eaf0[_0x5d04f0(0x383)]);_0x1e7ad0[_0x5d04f0(0x3d5)]+=',\x20'+_0x17eaf0[_0x5d04f0(0x3d5)];}else _0x50f930['set'](_0x17eaf0['selection'],_0x17eaf0);}),Array[_0x127286(0x413)](_0x50f930['values']());}var E=function(){const _0x33aa47=_0x19457d;return E=Object['assign']||function(_0x5778a7){const _0x45452a=_0x3043;for(var _0x1bb2cd,_0x4bf283=0x1,_0x188b2e=arguments[_0x45452a(0x41e)];_0x4bf283<_0x188b2e;_0x4bf283++){_0x1bb2cd=arguments[_0x4bf283];for(var _0x560744 in _0x1bb2cd)Object['prototype'][_0x45452a(0x1c9)][_0x45452a(0x1cf)](_0x1bb2cd,_0x560744)&&(_0x5778a7[_0x560744]=_0x1bb2cd[_0x560744]);}return _0x5778a7;},E[_0x33aa47(0x399)](this,arguments);},Rt=function(_0x208027,_0x177f59){const _0x1b9aff=_0x19457d;var _0x2aeb8e={};for(var _0x5646bf in _0x208027)Object['prototype'][_0x1b9aff(0x1c9)]['call'](_0x208027,_0x5646bf)&&_0x177f59[_0x1b9aff(0x372)](_0x5646bf)<0x0&&(_0x2aeb8e[_0x5646bf]=_0x208027[_0x5646bf]);if(_0x208027!=null&&typeof Object[_0x1b9aff(0x3ee)]==_0x1b9aff(0x208)){for(var _0x47afd7=0x0,_0x5646bf=Object[_0x1b9aff(0x3ee)](_0x208027);_0x47afd7<_0x5646bf[_0x1b9aff(0x41e)];_0x47afd7++)_0x177f59[_0x1b9aff(0x372)](_0x5646bf[_0x47afd7])<0x0&&Object[_0x1b9aff(0x2f6)][_0x1b9aff(0x2d9)][_0x1b9aff(0x1cf)](_0x208027,_0x5646bf[_0x47afd7])&&(_0x2aeb8e[_0x5646bf[_0x47afd7]]=_0x208027[_0x5646bf[_0x47afd7]]);}return _0x2aeb8e;},be=P[_0x19457d(0x272)](function(_0x4ad362,_0x189563){const _0x3faa4a=_0x19457d;var _0x4e4c9c=_0x4ad362[_0x3faa4a(0x251)],_0x49b06d=_0x4ad362['id'],_0xf89e2=_0x4ad362['className'],_0x486953=_0x4ad362['extend'],_0x5568e7=Rt(_0x4ad362,['icon','id',_0x3faa4a(0x43b),_0x3faa4a(0x2f9)]),_0x15da7f=_0x3faa4a(0x23e)[_0x3faa4a(0x293)](_0x49b06d,'\x20')[_0x3faa4a(0x293)](_0xf89e2||'')['trim'](),_0x22a24c=P[_0x3faa4a(0x3c1)]('_'[_0x3faa4a(0x293)](Ut()));return Ae(_0x4e4c9c,''['concat'](_0x49b06d),{'defIds':_0x4e4c9c['defIds'],'idSuffix':_0x22a24c[_0x3faa4a(0x283)]},E({'ref':_0x189563,'className':_0x15da7f},_0x5568e7),_0x486953);});function Ae(_0x51f89a,_0x5e209e,_0x1b2b73,_0x546649,_0x56afc8){const _0x1dc098=_0x19457d;return P[_0x1dc098(0x3eb)](_0x51f89a[_0x1dc098(0x203)],E(E({'key':_0x5e209e},Ot(_0x51f89a,_0x1b2b73,_0x56afc8)),_0x546649),(Dt(_0x51f89a,_0x1b2b73)[_0x1dc098(0x37c)]||[])[_0x1dc098(0x3e0)](function(_0x2a59e3,_0x551200){const _0x43f238=_0x1dc098;return Ae(_0x2a59e3,''['concat'](_0x5e209e,'-')[_0x43f238(0x293)](_0x51f89a['tag'],'-')['concat'](_0x551200),_0x1b2b73,void 0x0,_0x56afc8);}));}function Ot(_0x820e19,_0x58c9e9,_0x42e190){const _0x3da47b=_0x19457d;var _0x6bc0b8=E({},_0x820e19[_0x3da47b(0x243)]);_0x42e190!=null&&_0x42e190[_0x3da47b(0x37e)]&&_0x6bc0b8[_0x3da47b(0x2ce)]===_0x3da47b(0x37e)&&(_0x6bc0b8['fill']=_0x42e190[_0x3da47b(0x37e)]),_0x820e19['tag']===_0x3da47b(0x42b)&&_0x6bc0b8['id']&&(_0x6bc0b8['id']=_0x6bc0b8['id']+_0x58c9e9['idSuffix']),Object[_0x3da47b(0x34f)](_0x6bc0b8)[_0x3da47b(0x265)](function(_0x40c172){const _0x118cd5=_0x3da47b;var _0x14135d=_0x40c172[0x0],_0x475f43=_0x40c172[0x1];_0x14135d===_0x118cd5(0x42b)&&typeof _0x475f43=='string'&&(_0x6bc0b8[_0x14135d]=_0x475f43[_0x118cd5(0x3b4)](/url\(#(.*)\)/,_0x118cd5(0x1d3)[_0x118cd5(0x293)](_0x58c9e9[_0x118cd5(0x35b)],')')));});var _0x2a13b6=_0x58c9e9['defIds'];return!_0x2a13b6||_0x2a13b6[_0x3da47b(0x41e)]===0x0||(_0x820e19[_0x3da47b(0x203)]==='use'&&_0x6bc0b8['xlink:href']&&(_0x6bc0b8[_0x3da47b(0x3b8)]=_0x6bc0b8[_0x3da47b(0x3b8)]+_0x58c9e9[_0x3da47b(0x35b)]),Object[_0x3da47b(0x34f)](_0x6bc0b8)[_0x3da47b(0x265)](function(_0x365e7a){const _0x71d8dd=_0x3da47b;var _0x432c82=_0x365e7a[0x0],_0x4379c5=_0x365e7a[0x1];typeof _0x4379c5=='string'&&(_0x6bc0b8[_0x432c82]=_0x4379c5[_0x71d8dd(0x3b4)](/url\(#(.*)\)/,_0x71d8dd(0x1d3)['concat'](_0x58c9e9[_0x71d8dd(0x35b)],')')));})),_0x6bc0b8;}function Dt(_0x53b59c,_0x3ae8dd){const _0x824d0e=_0x19457d;var _0x451539,_0x427d14=_0x3ae8dd[_0x824d0e(0x314)];return!_0x427d14||_0x427d14[_0x824d0e(0x41e)]===0x0?_0x53b59c:_0x53b59c[_0x824d0e(0x203)]==='defs'&&(!((_0x451539=_0x53b59c[_0x824d0e(0x37c)])===null||_0x451539===void 0x0)&&_0x451539[_0x824d0e(0x41e)])?E(E({},_0x53b59c),{'children':_0x53b59c['children'][_0x824d0e(0x3e0)](function(_0x499570){const _0x36a320=_0x824d0e;return typeof _0x499570[_0x36a320(0x243)]['id']=='string'&&_0x427d14&&_0x427d14[_0x36a320(0x372)](_0x499570[_0x36a320(0x243)]['id'])>-0x1?E(E({},_0x499570),{'attrs':E(E({},_0x499570[_0x36a320(0x243)]),{'id':_0x499570[_0x36a320(0x243)]['id']+_0x3ae8dd[_0x36a320(0x35b)]})}):_0x499570;})}):_0x53b59c;}function Ut(){const _0xe17e74=_0x19457d;return Math[_0xe17e74(0x3f3)]()[_0xe17e74(0x291)](0x24)['substring'](0x2,0x8);}be['displayName']=_0x19457d(0x305);var Mt={'tag':_0x19457d(0x1e7),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x19457d(0x3c0),'height':_0x19457d(0x3c0)},'children':[{'tag':'g','attrs':{'clipPath':_0x19457d(0x280)},'children':[{'tag':_0x19457d(0x39a),'attrs':{'stroke':'currentColor','d':_0x19457d(0x3fa),'strokeLinecap':_0x19457d(0x356),'strokeLinejoin':_0x19457d(0x356),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x19457d(0x2dd),'attrs':{'id':_0x19457d(0x336)},'children':[{'tag':_0x19457d(0x39a),'attrs':{'fill':_0x19457d(0x1c7),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},$e=P[_0x19457d(0x272)](function(_0x586e4d,_0x392730){const _0x4a29bc=_0x19457d;return P[_0x4a29bc(0x3eb)](be,Object[_0x4a29bc(0x32a)]({},_0x586e4d,{'id':_0x4a29bc(0x32c),'ref':_0x392730,'icon':Mt}));});$e[_0x19457d(0x225)]=_0x19457d(0x21d);var Pt={'tag':_0x19457d(0x1e7),'attrs':{'fill':_0x19457d(0x1d8),'viewBox':_0x19457d(0x276),'width':_0x19457d(0x3c0),'height':_0x19457d(0x3c0)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x19457d(0x22a),'strokeLinecap':_0x19457d(0x356),'strokeLinejoin':_0x19457d(0x356),'strokeWidth':1.2}}]},{'tag':_0x19457d(0x2b7),'attrs':{},'children':[{'tag':_0x19457d(0x2dd),'attrs':{'id':_0x19457d(0x27b)},'children':[{'tag':_0x19457d(0x39a),'attrs':{'fill':_0x19457d(0x1c7),'d':'M0\x200H16V16H0z','transform':_0x19457d(0x384)}}]}]}],'defIds':[_0x19457d(0x27b)]},xe=P[_0x19457d(0x272)](function(_0x12b58b,_0x2eda38){const _0x4085d8=_0x19457d;return P[_0x4085d8(0x3eb)](be,Object[_0x4085d8(0x32a)]({},_0x12b58b,{'id':_0x4085d8(0x320),'ref':_0x2eda38,'icon':Pt}));});xe[_0x19457d(0x225)]=_0x19457d(0x28b);const Nt=_0x19457d(0x1ef),wt=_0x19457d(0x3dc),Lt=_0x19457d(0x2af),yt=_0x19457d(0x371),At=_0x19457d(0x370),H={'onlineStatusIcon':Nt,'onlineStatusTitle':wt,'onlineStatus':Lt,'online':yt,'offline':At};function $t(_0x3a78fa){const _0x5320f8=_0x19457d;switch(_0x3a78fa){case u['CollaborationStatus'][_0x5320f8(0x204)]:return _0x5320f8(0x3e2);case u[_0x5320f8(0x364)][_0x5320f8(0x286)]:return _0x5320f8(0x39b);case u[_0x5320f8(0x364)][_0x5320f8(0x261)]:return _0x5320f8(0x367);case u[_0x5320f8(0x364)][_0x5320f8(0x24f)]:return _0x5320f8(0x2d1);case u[_0x5320f8(0x364)][_0x5320f8(0x43e)]:case u[_0x5320f8(0x364)]['AWAITING_WITH_PENDING']:return _0x5320f8(0x253);case u['CollaborationStatus']['SYNCED']:case u[_0x5320f8(0x364)]['PENDING']:return _0x5320f8(0x235);}}function je(_0xe64b4){const _0x209e66=_0x19457d,{status$:_0x2e0913}=_0xe64b4,_0x415e18=R[_0x209e66(0x436)](_0x2e0913,u[_0x209e66(0x364)][_0x209e66(0x24f)]),_0x30c72c=R[_0x209e66(0x2c9)](a[_0x209e66(0x31e)]),_0x47e7c4=R[_0x209e66(0x2c9)](u['CollaborationSessionService']),_0x2b41ee=_0x415e18!==u[_0x209e66(0x364)][_0x209e66(0x204)],_0x534be6=_0x30c72c['t']($t(_0x415e18)),_0x30160c=T[_0x209e66(0x282)](H[_0x209e66(0x39d)],{[H[_0x209e66(0x27e)]]:_0x2b41ee,[H[_0x209e66(0x2d5)]]:!_0x2b41ee}),_0x3fc36b=_0x2b41ee?w[_0x209e66(0x297)](xe,{}):w[_0x209e66(0x297)]($e,{}),_0x30378d=P[_0x209e66(0x1d4)](()=>{const _0x1b9bd1=_0x209e66;_0x2b41ee||_0x47e7c4[_0x1b9bd1(0x3f8)]();},[_0x2b41ee,_0x47e7c4]);function _0x3e3041(){const _0x5a7447=_0x209e66;return w[_0x5a7447(0x3f0)](_0x5a7447(0x303),{'className':T[_0x5a7447(0x282)](_0x30160c,_0x5a7447(0x2fa)),'onClick':_0x30378d,'children':[w[_0x5a7447(0x297)](_0x5a7447(0x303),{'className':H[_0x5a7447(0x221)],'children':_0x3fc36b}),w[_0x5a7447(0x297)](_0x5a7447(0x303),{'className':H['onlineStatusTitle'],'children':_0x534be6})]});}return _0x2b41ee?_0x3e3041():w[_0x209e66(0x297)](T[_0x209e66(0x445)],{'title':_0x30c72c['t']('collab-client.tooltip.reconnect'),'children':_0x3e3041()});}var xt=Object[_0x19457d(0x3db)],jt=(_0x4aa322,_0x580ba3,_0x557398,_0x481217)=>{const _0x1646c4=_0x19457d;for(var _0x139abf=_0x481217>0x1?void 0x0:_0x481217?xt(_0x580ba3,_0x557398):_0x580ba3,_0x2b3c60=_0x4aa322[_0x1646c4(0x41e)]-0x1,_0x35ad30;_0x2b3c60>=0x0;_0x2b3c60--)(_0x35ad30=_0x4aa322[_0x2b3c60])&&(_0x139abf=_0x35ad30(_0x139abf)||_0x139abf);return _0x139abf;},V=(_0x5429ec,_0x1ecc2b)=>(_0xfdb7b1,_0x2e351d)=>_0x1ecc2b(_0xfdb7b1,_0x2e351d,_0x5429ec);exports['DesktopCollaborationStatusDisplayController']=class extends a[_0x19457d(0x3b2)]{constructor(_0x35760d,_0x568369,_0x248078,_0x55ba1f){const _0x545b0d=_0x19457d;super(),h(this,_0x545b0d(0x3c5),new d[(_0x545b0d(0x42c))](u[_0x545b0d(0x364)][_0x545b0d(0x24f)])),(this[_0x545b0d(0x2b1)]=_0x35760d,this['_injector']=_0x568369,this[_0x545b0d(0x2cb)]=_0x248078,this['_uiPartsService']=_0x55ba1f,this[_0x545b0d(0x40a)](),this[_0x545b0d(0x1f1)]());}[_0x19457d(0x1f1)](){const _0x354569=_0x19457d;this[_0x354569(0x40b)](this[_0x354569(0x2b1)]['focused$'][_0x354569(0x1fb)](d[_0x354569(0x397)](()=>{const _0x175e63=_0x354569,_0x2ced02=this[_0x175e63(0x2b1)]['getFocusedUnit']();return _0x2ced02?this[_0x175e63(0x2cb)][_0x175e63(0x332)](_0x2ced02[_0x175e63(0x3f4)]()):d['of'](null);}),d[_0x354569(0x397)](_0x3df90a=>_0x3df90a?_0x3df90a[_0x354569(0x223)]:d['of'](u[_0x354569(0x364)][_0x354569(0x24f)])))['subscribe'](_0x2c9150=>{const _0x33a0e0=_0x354569;this[_0x33a0e0(0x3c5)]['next'](_0x2c9150);}));}[_0x19457d(0x40a)](){const _0x36cd0b=_0x19457d;this[_0x36cd0b(0x40b)](this[_0x36cd0b(0x363)][_0x36cd0b(0x32d)](R['BuiltInUIPart'][_0x36cd0b(0x414)],()=>R[_0x36cd0b(0x34b)](kt({'status$':this[_0x36cd0b(0x3c5)][_0x36cd0b(0x2c0)]()}),this[_0x36cd0b(0x1d5)])));}},exports[_0x19457d(0x25a)]=jt([V(0x0,a['IUniverInstanceService']),V(0x1,a[_0x19457d(0x2f0)](a['Injector'])),V(0x2,a[_0x19457d(0x2f0)](u['CollaborationController'])),V(0x3,R['IUIPartsService'])],exports[_0x19457d(0x25a)]);function kt(_0x50dca4){const {status$:_0x3535ed}=_0x50dca4;return function(){return w['jsx'](je,{'status$':_0x3535ed});};}var Bt=Object['getOwnPropertyDescriptor'],Ht=(_0x4f8277,_0x171578,_0xadb1a4,_0x10d2af)=>{const _0x25d6cf=_0x19457d;for(var _0x48df33=_0x10d2af>0x1?void 0x0:_0x10d2af?Bt(_0x171578,_0xadb1a4):_0x171578,_0x25d4f7=_0x4f8277[_0x25d6cf(0x41e)]-0x1,_0x4a27af;_0x25d4f7>=0x0;_0x25d4f7--)(_0x4a27af=_0x4f8277[_0x25d4f7])&&(_0x48df33=_0x4a27af(_0x48df33)||_0x48df33);return _0x48df33;},A=(_0xff5fac,_0x1486af)=>(_0x25855c,_0x48a167)=>_0x1486af(_0x25855c,_0x48a167,_0xff5fac);let z=class extends a[_0x19457d(0x3b2)]{constructor(_0x3b9ec9,_0xfb2a20,_0x36def8,_0x16e9d2,_0xb29bc1,_0x15b1fb){const _0x274f57=_0x19457d;super(),this[_0x274f57(0x2b4)]=_0x3b9ec9,this[_0x274f57(0x315)]=_0xfb2a20,this[_0x274f57(0x3a2)]=_0x36def8,this['_messageService']=_0x16e9d2,this[_0x274f57(0x2f8)]=_0xb29bc1,this[_0x274f57(0x3cf)]=_0x15b1fb,this['_setupBeforeClosingHandler'](),this[_0x274f57(0x2d0)]();}[_0x19457d(0x2b2)](){const _0x2d128d=_0x19457d;this[_0x2d128d(0x40b)](this['_beforeCloseService'][_0x2d128d(0x304)](()=>{const _0x4301e3=_0x2d128d;if(this[_0x4301e3(0x315)][_0x4301e3(0x42e)][_0x4301e3(0x38f)])return this[_0x4301e3(0x3cf)]['t'](_0x4301e3(0x3e4));}));}[_0x19457d(0x2d0)](){const _0x2e6c1b=_0x19457d;this[_0x2e6c1b(0x40b)](this[_0x2e6c1b(0x3a2)][_0x2e6c1b(0x2ff)][_0x2e6c1b(0x1fc)](_0x20131c=>{const _0x12e6d9=_0x2e6c1b;_0x20131c['id']===u[_0x12e6d9(0x31d)][_0x12e6d9(0x28e)]&&this[_0x12e6d9(0x430)]['show']({'type':T[_0x12e6d9(0x41c)][_0x12e6d9(0x30c)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x20131c['id']===u[_0x12e6d9(0x31d)][_0x12e6d9(0x25c)]&&this[_0x12e6d9(0x430)][_0x12e6d9(0x360)]({'type':T[_0x12e6d9(0x41c)][_0x12e6d9(0x30c)],'content':this[_0x12e6d9(0x3cf)]['t'](_0x12e6d9(0x284))}),_0x20131c['id']===u['CollaborationUIEventId'][_0x12e6d9(0x307)]&&this['_notificationService'][_0x12e6d9(0x360)]({'title':this[_0x12e6d9(0x3cf)]['t'](_0x12e6d9(0x3ac)),'content':this[_0x12e6d9(0x3cf)]['t']('permission.content'),'type':_0x12e6d9(0x3bd),'duration':0x0}),_0x20131c['id']===u[_0x12e6d9(0x31d)][_0x12e6d9(0x286)]&&this[_0x12e6d9(0x430)][_0x12e6d9(0x360)]({'type':T[_0x12e6d9(0x41c)][_0x12e6d9(0x3ad)],'content':this[_0x12e6d9(0x3cf)]['t'](_0x12e6d9(0x284))+'('+_0x20131c[_0x12e6d9(0x300)]+')'}),_0x20131c['id']===u[_0x12e6d9(0x31d)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x12e6d9(0x360)]({'type':T[_0x12e6d9(0x41c)][_0x12e6d9(0x30c)],'content':this[_0x12e6d9(0x3cf)]['t'](_0x20131c[_0x12e6d9(0x300)]||'')}),_0x20131c['id']===u[_0x12e6d9(0x31d)][_0x12e6d9(0x2ca)]&&this[_0x12e6d9(0x430)][_0x12e6d9(0x360)]({'type':T[_0x12e6d9(0x41c)][_0x12e6d9(0x30c)],'content':this[_0x12e6d9(0x3cf)]['t'](_0x12e6d9(0x1da))}),_0x20131c['id']===u['CollaborationUIEventId'][_0x12e6d9(0x299)]&&this[_0x12e6d9(0x430)][_0x12e6d9(0x360)]({'type':T['MessageType'][_0x12e6d9(0x3ad)],'content':this[_0x12e6d9(0x3cf)]['t'](_0x12e6d9(0x42a))}),_0x20131c['id']===u[_0x12e6d9(0x31d)][_0x12e6d9(0x3e6)]&&this[_0x12e6d9(0x430)][_0x12e6d9(0x360)]({'type':T[_0x12e6d9(0x41c)]['Error'],'content':this['_localeService']['t'](_0x12e6d9(0x28f))});}));}};z=Ht([A(0x0,R[_0x19457d(0x2d8)]),A(0x1,u[_0x19457d(0x1ed)]),A(0x2,a[_0x19457d(0x2f0)](u[_0x19457d(0x234)])),A(0x3,R[_0x19457d(0x23f)]),A(0x4,R[_0x19457d(0x211)]),A(0x5,a[_0x19457d(0x2f0)](a[_0x19457d(0x31e)]))],z);const Wt=_0x19457d(0x316),Me={},Ee=a[_0x19457d(0x2f1)](_0x19457d(0x3f1));var Ft=Object[_0x19457d(0x3db)],Yt=(_0x1b550d,_0x1deafe,_0x1668db,_0x5a1419)=>{const _0x440f4c=_0x19457d;for(var _0x2afb26=_0x5a1419>0x1?void 0x0:_0x5a1419?Ft(_0x1deafe,_0x1668db):_0x1deafe,_0x49d433=_0x1b550d[_0x440f4c(0x41e)]-0x1,_0x46b410;_0x49d433>=0x0;_0x49d433--)(_0x46b410=_0x1b550d[_0x49d433])&&(_0x2afb26=_0x46b410(_0x2afb26)||_0x2afb26);return _0x2afb26;},W=(_0x5b91e0,_0x62abf0)=>(_0x348b58,_0x2571d7)=>_0x62abf0(_0x348b58,_0x2571d7,_0x5b91e0);exports[_0x19457d(0x34e)]=class extends a[_0x19457d(0x1d7)]{constructor(_0x8d3546,_0x371c78,_0x41a85a,_0xac3fb2,_0x53d562){const _0x695885=_0x19457d;super(),this[_0x695885(0x292)]=_0x8d3546,this[_0x695885(0x22d)]=_0x371c78,this[_0x695885(0x40d)]=_0x41a85a,this[_0x695885(0x215)]=_0xac3fb2,_0x53d562?_0x53d562==null||_0x53d562[_0x695885(0x419)]()[_0x695885(0x3d2)](()=>this['_init']()):(this[_0x695885(0x22d)][_0x695885(0x27a)](_0x695885(0x3cc),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x695885(0x321)]());}async[_0x19457d(0x321)](){const _0x3ee3c4=_0x19457d,_0x4ef910=this[_0x3ee3c4(0x292)]['getParam'](_0x3ee3c4(0x2ed)),_0x403b17=this['_urlService']['getParam'](_0x3ee3c4(0x333)),_0x27d694=this[_0x3ee3c4(0x292)][_0x3ee3c4(0x1e9)](_0x3ee3c4(0x2cd));if(!_0x4ef910||!_0x403b17){this[_0x3ee3c4(0x22d)][_0x3ee3c4(0x27a)]('[CollaborationDataLoaderController]',_0x3ee3c4(0x29a));return;}const _0x4764af=await this[_0x3ee3c4(0x215)][_0x3ee3c4(0x3e7)](_0x4ef910,Number(_0x403b17),_0x27d694);_0x4764af&&_0x4764af instanceof a[_0x3ee3c4(0x441)]&&this['_setupSubUnitSync'](_0x4764af);}async[_0x19457d(0x3ec)](_0x2f92b3){const _0x42c52e=_0x19457d;await this['_updateSubUnitFromURLParams'](_0x2f92b3),_0x2f92b3[_0x42c52e(0x3e3)][_0x42c52e(0x1fb)](d['takeUntil'](this[_0x42c52e(0x32b)]))[_0x42c52e(0x1fc)](_0xec249a=>{const _0x28629a=_0x42c52e;_0xec249a&&this[_0x28629a(0x21f)](_0xec249a);}),this[_0x42c52e(0x292)][_0x42c52e(0x1eb)][_0x42c52e(0x1fb)](d[_0x42c52e(0x281)](this[_0x42c52e(0x32b)]))[_0x42c52e(0x1fc)](()=>this['_updateSubUnitFromURLParams'](_0x2f92b3));}[_0x19457d(0x21f)](_0x343c59,_0x2e11dd=!0x1){const _0x5778d1=_0x19457d,_0xe581d4=this[_0x5778d1(0x292)][_0x5778d1(0x1e9)](_0x5778d1(0x2cd));_0x343c59[_0x5778d1(0x1e0)]()!==_0xe581d4&&this['_urlService']['setParam'](_0x5778d1(0x2cd),_0x343c59[_0x5778d1(0x1e0)](),_0x2e11dd);}async['_updateSubUnitFromURLParams'](_0x8f4b4d){const _0x4718cc=_0x19457d;var _0x1249c0;const _0x1ae1a8=this[_0x4718cc(0x292)][_0x4718cc(0x1e9)]('subunit');if(!_0x1ae1a8||!_0x8f4b4d[_0x4718cc(0x431)](_0x1ae1a8)){const _0x4628c5=_0x8f4b4d['getUnhiddenWorksheets']()[0x0],_0x2c2fd4=_0x8f4b4d[_0x4718cc(0x431)](_0x4628c5);if(!_0x2c2fd4)return;this[_0x4718cc(0x21f)](_0x2c2fd4,!0x0),await this[_0x4718cc(0x40d)]['executeCommand'](I['SetWorksheetActivateCommand']['id'],{'unitId':_0x8f4b4d[_0x4718cc(0x3f4)](),'subUnitId':_0x4628c5});return;}((_0x1249c0=_0x8f4b4d['getActiveSheet']())==null?void 0x0:_0x1249c0[_0x4718cc(0x1e0)]())!==_0x1ae1a8&&await this[_0x4718cc(0x40d)][_0x4718cc(0x426)](I[_0x4718cc(0x3ab)]['id'],{'unitId':_0x8f4b4d[_0x4718cc(0x3f4)](),'subUnitId':_0x1ae1a8});}},exports['CollaborationDataLoaderController']=Yt([W(0x0,Ee),W(0x1,a[_0x19457d(0x40f)]),W(0x2,a[_0x19457d(0x241)]),W(0x3,a[_0x19457d(0x2f0)](u[_0x19457d(0x2e8)])),W(0x4,a[_0x19457d(0x254)](Ke[_0x19457d(0x3df)]))],exports[_0x19457d(0x34e)]);var Xt=Object[_0x19457d(0x3db)],Vt=(_0x347bda,_0x54537e,_0x33b122,_0x3874be)=>{const _0x59f916=_0x19457d;for(var _0x8558b5=_0x3874be>0x1?void 0x0:_0x3874be?Xt(_0x54537e,_0x33b122):_0x54537e,_0x1b8b72=_0x347bda[_0x59f916(0x41e)]-0x1,_0x57dfdc;_0x1b8b72>=0x0;_0x1b8b72--)(_0x57dfdc=_0x347bda[_0x1b8b72])&&(_0x8558b5=_0x57dfdc(_0x8558b5)||_0x8558b5);return _0x8558b5;},le=(_0x556dc9,_0x2999ce)=>(_0x2249d2,_0xbaf63d)=>_0x2999ce(_0x2249d2,_0xbaf63d,_0x556dc9);let J=class{constructor(_0x53d100,_0x1b3138,_0x1222d1){const _0xcc5116=_0x19457d;this[_0xcc5116(0x1d5)]=_0x53d100,this[_0xcc5116(0x256)]=_0x1b3138,this[_0xcc5116(0x33e)]=_0x1222d1;}['transformIMECache'](_0x5428ad){const _0x5f2387=_0x19457d;this[_0x5f2387(0x237)](_0x5428ad),this[_0x5f2387(0x212)](_0x5428ad);}[_0x19457d(0x386)](_0x5a94b2){const _0x27cac7=_0x19457d,{unitID:_0x170cda}=_0x5a94b2,_0x3232d3=this[_0x27cac7(0x33e)][_0x27cac7(0x2a7)](_0x170cda)['with'](b[_0x27cac7(0x38b)]),{redoCache:_0x43d7e6}=_0x3232d3[_0x27cac7(0x2fd)]();if(_0x43d7e6['length']===0x0)return _0x5a94b2;let _0x405964=a['Tools'][_0x27cac7(0x35c)](_0x5a94b2[_0x27cac7(0x31b)][0x0]);for(let _0x434a45=0x0;_0x434a45<_0x43d7e6[_0x27cac7(0x41e)];_0x434a45++){const _0x11fde1={'id':_0x27cac7(0x3a3),'params':{..._0x43d7e6[_0x434a45]}},_0x493db3=this[_0x27cac7(0x256)][_0x27cac7(0x1f9)](_0x405964,_0x11fde1,!0x1);if(m['isTransformMutationFailure'](_0x493db3))throw _0x493db3[_0x27cac7(0x3bd)];_0x405964=_0x493db3[_0x27cac7(0x373)];}return{...a[_0x27cac7(0x1ff)]['deepClone'](_0x5a94b2),'mutations':[_0x405964]};}[_0x19457d(0x237)](_0x4abb75){const _0x2462e1=_0x19457d,{unitID:_0x53a91c}=_0x4abb75,_0x261115=this['_renderManagerService'][_0x2462e1(0x2a7)](_0x53a91c)['with'](b[_0x2462e1(0x38b)]),{undoCache:_0x3ee483,redoCache:_0x53b87b}=_0x261115[_0x2462e1(0x2fd)]();if(_0x3ee483[_0x2462e1(0x41e)]===0x0||_0x53b87b[_0x2462e1(0x41e)]===0x0)return;const _0x598b94=[],_0xb63b0e=[];let _0xa111e4=a['Tools'][_0x2462e1(0x35c)](_0x4abb75[_0x2462e1(0x31b)][0x0]),_0x55bd3d=a[_0x2462e1(0x1ff)][_0x2462e1(0x35c)](_0x4abb75[_0x2462e1(0x31b)][0x0]);for(let _0x8a1220=_0x3ee483[_0x2462e1(0x41e)]-0x1;_0x8a1220>=0x0;_0x8a1220--){const _0x421626={'id':'doc.mutation.rich-text-editing','params':{..._0x3ee483[_0x8a1220]}},_0x35a7be={'id':_0x2462e1(0x3a3),'params':{..._0x53b87b[_0x8a1220]}},_0x5c80d8=this[_0x2462e1(0x256)][_0x2462e1(0x1f9)](_0xa111e4,_0x421626,!0x1),_0x5d95c0=this[_0x2462e1(0x256)][_0x2462e1(0x1f9)](_0x55bd3d,_0x35a7be,!0x1);if(m[_0x2462e1(0x32e)](_0x5c80d8))throw _0x5c80d8['error'];if(m[_0x2462e1(0x32e)](_0x5d95c0))throw _0x5d95c0[_0x2462e1(0x3bd)];_0x598b94[_0x2462e1(0x257)](_0x5c80d8[_0x2462e1(0x30e)][_0x2462e1(0x1db)]),_0xb63b0e[_0x2462e1(0x257)](_0x5d95c0[_0x2462e1(0x30e)][_0x2462e1(0x1db)]),_0xa111e4=_0x5c80d8[_0x2462e1(0x373)],_0x55bd3d=_0x5d95c0['m1Prime'];}_0x261115['setUndoRedoMutationParamsCache']({'undoCache':_0x598b94,'redoCache':_0xb63b0e});}[_0x19457d(0x212)](_0x184104){const _0x32a61=_0x19457d,{unitID:_0x2b04aa}=_0x184104,_0x555e7e=this[_0x32a61(0x33e)][_0x32a61(0x2a7)](_0x2b04aa)[_0x32a61(0x25e)](b['DocIMEInputManagerService']),_0x59e632=_0x555e7e[_0x32a61(0x2fb)]();if(_0x59e632==null)return;const _0xe4b951=[{'id':_0x32a61(0x3a3),'params':{'unitId':_0x184104[_0x32a61(0x37b)],'actions':null,'textRanges':[_0x59e632]}}],_0x4ce9e8=this[_0x32a61(0x256)][_0x32a61(0x2d6)](_0x184104,_0xe4b951);if(!m[_0x32a61(0x350)](_0x4ce9e8))throw _0x4ce9e8['error'];const _0x43eb24=_0x4ce9e8[_0x32a61(0x30e)][0x0][_0x32a61(0x1db)]['textRanges'];Array[_0x32a61(0x22f)](_0x43eb24)&&_0x43eb24[_0x32a61(0x41e)]&&_0x555e7e[_0x32a61(0x2c6)](_0x43eb24[0x0]);}};J=Vt([le(0x0,a[_0x19457d(0x2f0)](a[_0x19457d(0x3d7)])),le(0x1,m[_0x19457d(0x2e5)]),le(0x2,p['IRenderManagerService'])],J);var Gt=Object[_0x19457d(0x3db)],qt=(_0x443ebd,_0x1993cd,_0x506b85,_0x20aef2)=>{const _0x58c59e=_0x19457d;for(var _0x3d0c12=_0x20aef2>0x1?void 0x0:_0x20aef2?Gt(_0x1993cd,_0x506b85):_0x1993cd,_0x21e85c=_0x443ebd[_0x58c59e(0x41e)]-0x1,_0x1d867e;_0x21e85c>=0x0;_0x21e85c--)(_0x1d867e=_0x443ebd[_0x21e85c])&&(_0x3d0c12=_0x1d867e(_0x3d0c12)||_0x3d0c12);return _0x3d0c12;},he=(_0x78bd3b,_0x2ae5ab)=>(_0x474bdc,_0x4bb677)=>_0x2ae5ab(_0x474bdc,_0x4bb677,_0x78bd3b);let Z=class{constructor(_0x5cb470,_0x5958cb,_0x944207){const _0x438407=_0x19457d;this[_0x438407(0x1d5)]=_0x5cb470,this[_0x438407(0x256)]=_0x5958cb,this[_0x438407(0x218)]=_0x944207;}['transformStateCache'](_0x2697df){this['_transformHistoryAndStateStack'](_0x2697df);}[_0x19457d(0x386)](_0x19f4a9){const _0x3e6185=_0x19457d,{unitID:_0x11655a}=_0x19f4a9,{collaboration:_0x5e7790}=this[_0x3e6185(0x218)]['getStateCache'](_0x11655a);if(_0x5e7790[_0x3e6185(0x41e)]===0x0)return _0x19f4a9;let _0x4adfa4=a['Tools'][_0x3e6185(0x35c)](_0x19f4a9[_0x3e6185(0x31b)][0x0]);for(let _0x366eca=0x0;_0x366eca<_0x5e7790[_0x3e6185(0x41e)];_0x366eca++){const _0x590185={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5e7790[_0x366eca][_0x3e6185(0x263)],..._0x5e7790[_0x366eca][_0x3e6185(0x328)]}},_0x15a120=this[_0x3e6185(0x256)][_0x3e6185(0x1f9)](_0x4adfa4,_0x590185,!0x1);if(m[_0x3e6185(0x32e)](_0x15a120))throw _0x15a120[_0x3e6185(0x3bd)];_0x4adfa4=_0x15a120[_0x3e6185(0x373)];}return{...a['Tools'][_0x3e6185(0x35c)](_0x19f4a9),'mutations':[_0x4adfa4]};}[_0x19457d(0x298)](_0x13f428){const _0x2400f9=_0x19457d,{unitID:_0x5e2b99}=_0x13f428,{history:_0x423db9,collaboration:_0x569bda}=this['_docStateChangeManagerService']['getStateCache'](_0x5e2b99);if(_0x423db9['length']===0x0&&_0x569bda[_0x2400f9(0x41e)]===0x0)return;const _0x28534c=[],_0x524fc5=[];let _0x280d10=a[_0x2400f9(0x1ff)][_0x2400f9(0x35c)](_0x13f428[_0x2400f9(0x31b)][0x0]),_0x3a923d=a[_0x2400f9(0x1ff)]['deepClone'](_0x13f428[_0x2400f9(0x31b)][0x0]);for(let _0x56ccfa=_0x423db9['length']-0x1;_0x56ccfa>=0x0;_0x56ccfa--){const _0x42dae9={'id':_0x2400f9(0x3a3),'params':{'unitId':_0x423db9[_0x56ccfa][_0x2400f9(0x263)],..._0x423db9[_0x56ccfa][_0x2400f9(0x244)]}},_0x5b43c6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x423db9[_0x56ccfa][_0x2400f9(0x263)],..._0x423db9[_0x56ccfa]['redoState']}},_0x1073bb=this['_transformService']['transformMutation'](_0x280d10,_0x42dae9,!0x1),_0x3288a9=this['_transformService'][_0x2400f9(0x1f9)](_0x3a923d,_0x5b43c6,!0x1);if(m[_0x2400f9(0x32e)](_0x1073bb))throw _0x1073bb[_0x2400f9(0x3bd)];if(m['isTransformMutationFailure'](_0x3288a9))throw _0x3288a9[_0x2400f9(0x3bd)];_0x28534c['unshift']({..._0x423db9[_0x56ccfa],'undoState':_0x1073bb['m2Prime']['params'],'redoState':_0x3288a9[_0x2400f9(0x30e)]['params']}),_0x280d10=_0x1073bb[_0x2400f9(0x373)],_0x3a923d=_0x3288a9[_0x2400f9(0x373)];}_0x280d10=a[_0x2400f9(0x1ff)]['deepClone'](_0x13f428['mutations'][0x0]),_0x3a923d=a[_0x2400f9(0x1ff)][_0x2400f9(0x35c)](_0x13f428['mutations'][0x0]);for(let _0x522439=_0x569bda[_0x2400f9(0x41e)]-0x1;_0x522439>=0x0;_0x522439--){const _0x9701fb={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x569bda[_0x522439][_0x2400f9(0x263)],..._0x569bda[_0x522439][_0x2400f9(0x244)]}},_0x14a0b6={'id':_0x2400f9(0x3a3),'params':{'unitId':_0x569bda[_0x522439][_0x2400f9(0x263)],..._0x569bda[_0x522439][_0x2400f9(0x328)]}},_0x4e6e95=this[_0x2400f9(0x256)][_0x2400f9(0x1f9)](_0x280d10,_0x9701fb,!0x1),_0x3c99f0=this[_0x2400f9(0x256)]['transformMutation'](_0x3a923d,_0x14a0b6,!0x1);if(m[_0x2400f9(0x32e)](_0x4e6e95))throw _0x4e6e95[_0x2400f9(0x3bd)];if(m[_0x2400f9(0x32e)](_0x3c99f0))throw _0x3c99f0[_0x2400f9(0x3bd)];_0x524fc5[_0x2400f9(0x257)]({..._0x569bda[_0x522439],'undoState':_0x4e6e95['m2Prime'][_0x2400f9(0x1db)],'redoState':_0x3c99f0['m2Prime'][_0x2400f9(0x1db)]}),_0x280d10=_0x4e6e95[_0x2400f9(0x373)],_0x3a923d=_0x3c99f0[_0x2400f9(0x373)];}this[_0x2400f9(0x218)]['setStateCache'](_0x5e2b99,{'history':_0x28534c,'collaboration':_0x524fc5});}};Z=qt([he(0x0,a[_0x19457d(0x2f0)](a[_0x19457d(0x3d7)])),he(0x1,m[_0x19457d(0x2e5)]),he(0x2,a[_0x19457d(0x2f0)](b['DocStateChangeManagerService']))],Z);var Kt=Object[_0x19457d(0x3db)],zt=(_0x19e204,_0x351b52,_0x109358,_0x31e4d3)=>{for(var _0x1700c0=_0x31e4d3>0x1?void 0x0:_0x31e4d3?Kt(_0x351b52,_0x109358):_0x351b52,_0x47b8bc=_0x19e204['length']-0x1,_0x16c443;_0x47b8bc>=0x0;_0x47b8bc--)(_0x16c443=_0x19e204[_0x47b8bc])&&(_0x1700c0=_0x16c443(_0x1700c0)||_0x1700c0);return _0x1700c0;},Pe=(_0x41f2e2,_0x1ac0dd)=>(_0x13b463,_0x1ba1ad)=>_0x1ac0dd(_0x13b463,_0x1ba1ad,_0x41f2e2);let Q=class{constructor(_0x195f31,_0x2bca57){const _0x4928a7=_0x19457d;this[_0x4928a7(0x1d5)]=_0x195f31,this['_transformService']=_0x2bca57;}[_0x19457d(0x313)](_0x1f0986){const _0x196501=_0x19457d;var _0x230efd;const _0x5ca7e5=this[_0x196501(0x1d5)][_0x196501(0x3f2)](Y['DocSelectionManagerService']),_0x59dd79=(_0x230efd=_0x5ca7e5[_0x196501(0x24c)]())!=null?_0x230efd:[];if(_0x59dd79[_0x196501(0x41e)]===0x0)return;const _0x1eb2e4=_0x1f0986['unitID'],_0x566c55=[{'id':_0x196501(0x3a3),'params':{'unitId':_0x1eb2e4,'actions':null,'textRanges':_0x59dd79}}],_0x35ec70=this[_0x196501(0x256)]['transformMutationsWithChangeset'](_0x1f0986,_0x566c55);if(!m['isTransformMutationsWithChangesetSuccess'](_0x35ec70))throw _0x35ec70[_0x196501(0x3bd)];const _0x1871a4=_0x35ec70[_0x196501(0x30e)][0x0][_0x196501(0x1db)][_0x196501(0x345)];Array['isArray'](_0x1871a4)&&_0x1871a4[_0x196501(0x41e)]&&_0x5ca7e5[_0x196501(0x1fd)](_0x1871a4,{'unitId':_0x1eb2e4,'subUnitId':_0x1eb2e4},!0x1);}};Q=zt([Pe(0x0,a[_0x19457d(0x2f0)](a[_0x19457d(0x3d7)])),Pe(0x1,m['ITransformService'])],Q);var Jt=Object['getOwnPropertyDescriptor'],Zt=(_0x17bc4e,_0x1880ce,_0x1580af,_0x4c0941)=>{for(var _0x5bd69d=_0x4c0941>0x1?void 0x0:_0x4c0941?Jt(_0x1880ce,_0x1580af):_0x1880ce,_0x12e8f8=_0x17bc4e['length']-0x1,_0x524461;_0x12e8f8>=0x0;_0x12e8f8--)(_0x524461=_0x17bc4e[_0x12e8f8])&&(_0x5bd69d=_0x524461(_0x5bd69d)||_0x5bd69d);return _0x5bd69d;},M=(_0x3a0155,_0x16075f)=>(_0x1cfc61,_0x535ba8)=>_0x16075f(_0x1cfc61,_0x535ba8,_0x3a0155);let ee=class extends a[_0x19457d(0x3b2)]{constructor(_0x25a314,_0x5def6c,_0x270a16,_0x3edee3,_0x259bf2,_0x772744,_0x2416ff,_0x3ee7b5){const _0x4b9aae=_0x19457d;super(),h(this,_0x4b9aae(0x3c5),new d[(_0x4b9aae(0x42c))](u[_0x4b9aae(0x364)][_0x4b9aae(0x24f)])),(this[_0x4b9aae(0x218)]=_0x25a314,this[_0x4b9aae(0x2cb)]=_0x5def6c,this[_0x4b9aae(0x2de)]=_0x270a16,this[_0x4b9aae(0x1d9)]=_0x3edee3,this[_0x4b9aae(0x443)]=_0x259bf2,this[_0x4b9aae(0x1e3)]=_0x772744,this[_0x4b9aae(0x430)]=_0x2416ff,this[_0x4b9aae(0x3cf)]=_0x3ee7b5,this[_0x4b9aae(0x26e)]());}['_initEntityListener'](){const _0x547fb4=_0x19457d;this[_0x547fb4(0x40b)](this[_0x547fb4(0x2cb)]['entityInit$'][_0x547fb4(0x1fc)](_0x2e9d64=>{const _0x15cf39=_0x547fb4,_0x15d105=this[_0x15cf39(0x218)]['docStateChange$'][_0x15cf39(0x1fc)](_0x4aed4e=>{const _0x316b5e=_0x15cf39;if(_0x4aed4e==null)return;const {unitId:_0x12b385,redoState:_0x59e3ab,commandId:_0x2bd676}=_0x4aed4e;if(_0x12b385!==_0x2e9d64[_0x316b5e(0x37b)])return;const _0xdf4fd3={'id':_0x2bd676,'type':a[_0x316b5e(0x269)][_0x316b5e(0x349)],'params':{'unitId':_0x12b385,'actions':_0x59e3ab[_0x316b5e(0x309)],'textRanges':null}};_0x2e9d64[_0x316b5e(0x407)](_0xdf4fd3);});if(_0x2e9d64['disposeWithMe'](_0x15d105),_0x2e9d64 instanceof u['DocCollaborationEntity']){const _0x11e159={'onTransformIME':_0x36286f=>this['_docTransformIMECacheService'][_0x15cf39(0x39f)](_0x36286f),'onTransformState':_0xde04f3=>this[_0x15cf39(0x1d9)][_0x15cf39(0x425)](_0xde04f3),'onTransformSelections':_0x5463e6=>this[_0x15cf39(0x443)][_0x15cf39(0x313)](_0x5463e6),'onSyncEditingCollabCursor':_0x241cf1=>this[_0x15cf39(0x1e3)][_0x15cf39(0x1ee)](_0x241cf1),'onTransformRemoteChangesetByIMECache':_0x336570=>this[_0x15cf39(0x2de)][_0x15cf39(0x386)](_0x336570),'onTransformRemoteChangesetByStateCache':_0x5380d1=>this[_0x15cf39(0x1d9)][_0x15cf39(0x386)](_0x5380d1)};_0x2e9d64[_0x15cf39(0x2f2)](_0x11e159);}}));}};ee=Zt([M(0x0,a['Inject'](b['DocStateChangeManagerService'])),M(0x1,a[_0x19457d(0x2f0)](u[_0x19457d(0x3b9)])),M(0x2,a[_0x19457d(0x2f0)](J)),M(0x3,a['Inject'](Z)),M(0x4,a[_0x19457d(0x2f0)](Q)),M(0x5,a['Inject'](pe)),M(0x6,R[_0x19457d(0x23f)]),M(0x7,a[_0x19457d(0x2f0)](a[_0x19457d(0x31e)]))],ee);var Qt=Object[_0x19457d(0x3db)],es=(_0x45f2c5,_0x3e4892,_0x3ac090,_0xaa4f8a)=>{const _0x2be86a=_0x19457d;for(var _0x4ff67e=_0xaa4f8a>0x1?void 0x0:_0xaa4f8a?Qt(_0x3e4892,_0x3ac090):_0x3e4892,_0x49012d=_0x45f2c5[_0x2be86a(0x41e)]-0x1,_0x4bd01d;_0x49012d>=0x0;_0x49012d--)(_0x4bd01d=_0x45f2c5[_0x49012d])&&(_0x4ff67e=_0x4bd01d(_0x4ff67e)||_0x4ff67e);return _0x4ff67e;},_e=(_0x515cb7,_0x5a2b60)=>(_0x4b29f9,_0x5f1a85)=>_0x5a2b60(_0x4b29f9,_0x5f1a85,_0x515cb7);let me=class extends a[_0x19457d(0x3b2)]{constructor(_0x32cc37,_0x5d456d,_0x53c162){const _0x318954=_0x19457d;super(),h(this,_0x318954(0x3cd),new Map()),h(this,_0x318954(0x3bf),new Map()),h(this,'_disabled',!0x1),(this['_configService']=_0x32cc37,this[_0x318954(0x361)]=_0x5d456d,this['_revisionService']=_0x53c162);}[_0x19457d(0x331)](){this['_disabled']=!0x0;}[_0x19457d(0x3f5)](){this['_disabled']=!0x1;}get[_0x19457d(0x42e)](){const _0x180f01=_0x19457d;return this[_0x180f01(0x3bf)];}[_0x19457d(0x378)](){const _0x3434df=_0x19457d;this[_0x3434df(0x3d3)]()[_0x3434df(0x3d2)](()=>super[_0x3434df(0x378)]());}async[_0x19457d(0x25f)](_0x5bbf1d){const _0x346c18=_0x19457d;return this[_0x346c18(0x410)]?null:this[_0x346c18(0x361)][_0x346c18(0x35d)](u[_0x346c18(0x2be)](_0x5bbf1d));}async[_0x19457d(0x25d)](_0x53e3d9,_0x394da5){const _0x3b2955=_0x19457d;return!!this['_localStorageService'][_0x3b2955(0x33f)](_0x53e3d9,_0x394da5);}[_0x19457d(0x35f)](_0x5ea8af,_0x39f59b,_0x3eb0ac,_0x3c125b){const _0x2e6e1a=_0x19457d,_0x5bea4e=this[_0x2e6e1a(0x330)][_0x2e6e1a(0x25b)](_0x5ea8af);this['_cachedData'][_0x2e6e1a(0x394)](_0x5ea8af,{'unitID':_0x5ea8af,'type':_0x39f59b,'awaitingChangeset':_0x3eb0ac,'mutations':_0x3c125b,'rev':_0x5bea4e}),this[_0x2e6e1a(0x3bf)][_0x2e6e1a(0x2e6)](_0x5ea8af)||this['_scheduleSaving'](_0x5ea8af);}[_0x19457d(0x33b)](_0x460ca8){const _0x22d0c4=_0x19457d,_0x25ec89=this[_0x22d0c4(0x1ce)]();_0x25ec89===0x0?this[_0x22d0c4(0x233)](_0x460ca8):this[_0x22d0c4(0x3bf)][_0x22d0c4(0x394)](_0x460ca8,setTimeout(()=>this['_saveCache'](_0x460ca8),_0x25ec89));}[_0x19457d(0x1ce)](){const _0x117630=_0x19457d;var _0x264989;return(_0x264989=this[_0x117630(0x2b8)][_0x117630(0x43c)](u[_0x117630(0x3fe)]))!=null?_0x264989:u[_0x117630(0x417)];}[_0x19457d(0x233)](_0x85afd8){const _0x55699b=_0x19457d,_0x12bab3=this[_0x55699b(0x3bf)]['get'](_0x85afd8);return _0x12bab3!==void 0x0&&window[_0x55699b(0x210)](_0x12bab3),this[_0x55699b(0x361)][_0x55699b(0x33f)](u[_0x55699b(0x2be)](_0x85afd8),this[_0x55699b(0x3cd)][_0x55699b(0x3f2)](_0x85afd8))[_0x55699b(0x3d2)](()=>this[_0x55699b(0x3bf)][_0x55699b(0x2f5)](_0x85afd8));}async[_0x19457d(0x3d3)](){const _0x2f5290=_0x19457d,_0x505972=[];this[_0x2f5290(0x3bf)][_0x2f5290(0x265)]((_0x5fd4e9,_0x55702a)=>{const _0x37f8b2=_0x2f5290;window[_0x37f8b2(0x210)](_0x5fd4e9),_0x505972[_0x37f8b2(0x346)](this[_0x37f8b2(0x233)](_0x55702a)[_0x37f8b2(0x3d2)](()=>{const _0x1f9312=_0x37f8b2;this[_0x1f9312(0x3bf)][_0x1f9312(0x2f5)](_0x55702a);}));}),await Promise[_0x2f5290(0x41d)](_0x505972);}};me=es([_e(0x0,a[_0x19457d(0x2a0)]),_e(0x1,a['ILocalStorageService']),_e(0x2,a[_0x19457d(0x2f0)](m[_0x19457d(0x381)]))],me);class ke extends a['RxDisposable']{constructor(){const _0x1966d9=_0x19457d;super(),h(this,'urlChange$'),this['urlChange$']=d['fromEvent'](window,_0x1966d9(0x3ea))[_0x1966d9(0x1fb)](d[_0x1966d9(0x281)](this['dispose$']),d[_0x1966d9(0x24b)](0x1),d[_0x1966d9(0x2f4)](void 0x0));}[_0x19457d(0x1d2)](_0xd71331,_0x304e46,_0x32c4c9=!0x1){const _0x42e883=_0x19457d,_0x4fe37b=new URL(window[_0x42e883(0x2c1)][_0x42e883(0x329)]);_0x4fe37b[_0x42e883(0x3c3)]['set'](_0xd71331,_0x304e46),_0x32c4c9?window[_0x42e883(0x38e)][_0x42e883(0x447)]('','',_0x4fe37b['toString']()):window[_0x42e883(0x38e)][_0x42e883(0x2cf)]('','',_0x4fe37b[_0x42e883(0x291)]());}[_0x19457d(0x348)](_0x51ec47,_0x3aae1c=!0x1){const _0x375424=_0x19457d,_0x13916d=new URL(window[_0x375424(0x2c1)][_0x375424(0x329)]);_0x13916d['searchParams'][_0x375424(0x2f5)](_0x51ec47),_0x3aae1c?window[_0x375424(0x38e)][_0x375424(0x447)]('','',_0x13916d[_0x375424(0x291)]()):window[_0x375424(0x38e)][_0x375424(0x2cf)]('','',_0x13916d[_0x375424(0x291)]());}[_0x19457d(0x1e9)](_0x278443){const _0x30090a=_0x19457d;var _0x3035e7;return(_0x3035e7=new URL(window[_0x30090a(0x2c1)][_0x30090a(0x329)])[_0x30090a(0x3c3)][_0x30090a(0x3f2)](_0x278443))!=null?_0x3035e7:void 0x0;}}var ts=Object['defineProperty'],ss=Object[_0x19457d(0x3db)],ns=(_0x4fc6f7,_0x2dc134,_0x46cab2)=>_0x2dc134 in _0x4fc6f7?ts(_0x4fc6f7,_0x2dc134,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x46cab2}):_0x4fc6f7[_0x2dc134]=_0x46cab2,is=(_0x135a87,_0x58b2d7,_0xddf352,_0x16de65)=>{const _0x238817=_0x19457d;for(var _0x2b2543=_0x16de65>0x1?void 0x0:_0x16de65?ss(_0x58b2d7,_0xddf352):_0x58b2d7,_0x15b1b8=_0x135a87[_0x238817(0x41e)]-0x1,_0x18472f;_0x15b1b8>=0x0;_0x15b1b8--)(_0x18472f=_0x135a87[_0x15b1b8])&&(_0x2b2543=_0x18472f(_0x2b2543)||_0x2b2543);return _0x2b2543;},ue=(_0x8b841f,_0x587419)=>(_0x1c4e7b,_0x425d6a)=>_0x587419(_0x1c4e7b,_0x425d6a,_0x8b841f),rs=(_0x47d979,_0x2827e0,_0x24b315)=>ns(_0x47d979,_0x2827e0+'',_0x24b315);const os='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports['UniverCollaborationClientUIPlugin']=class extends a['Plugin']{constructor(_0x390426=Me,_0x25c378,_0x1bfab2,_0x260506){const _0x22391b=_0x19457d;super(),this[_0x22391b(0x439)]=_0x390426,this[_0x22391b(0x33e)]=_0x25c378,this[_0x22391b(0x1d5)]=_0x1bfab2,this[_0x22391b(0x2b8)]=_0x260506;const {..._0x5c6b14}=a[_0x22391b(0x2bf)]({},Me,this[_0x22391b(0x439)]);this['_configService'][_0x22391b(0x32f)](Wt,_0x5c6b14);}[_0x19457d(0x395)](){const _0x17d85b=_0x19457d;this['_registerDependencies'](),this[_0x17d85b(0x2d7)]();}['onRendered'](){const _0x4b466e=_0x19457d;this[_0x4b466e(0x347)]();}[_0x19457d(0x1cd)](){const _0x67633f=_0x19457d;var _0x382ca6;const _0x1ea8ad=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':ke}],[q['ISocketService'],{'useClass':q[_0x67633f(0x424)]}],[u[_0x67633f(0x1ed)],{'useClass':me}],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[x],[fe],[exports[_0x67633f(0x34e)]]];a[_0x67633f(0x21a)](this['_injector'],a[_0x67633f(0x3fd)](_0x1ea8ad,(_0x382ca6=this[_0x67633f(0x439)])==null?void 0x0:_0x382ca6['override']));}['_registerRenderDependencies'](){const _0x5ef770=_0x19457d;this[_0x5ef770(0x40b)](this[_0x5ef770(0x33e)]['registerRenderModule'](a[_0x5ef770(0x338)][_0x5ef770(0x236)],[ge])),this[_0x5ef770(0x40b)](this[_0x5ef770(0x33e)][_0x5ef770(0x1dc)](a[_0x5ef770(0x338)][_0x5ef770(0x24a)],[Ie]));}['_initDependencies'](){const _0x21b9d6=_0x19457d;a[_0x21b9d6(0x3a6)](this[_0x21b9d6(0x1d5)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[exports[_0x21b9d6(0x34e)]]]);}},rs(exports[_0x19457d(0x2a9)],_0x19457d(0x2d4),os),exports['UniverCollaborationClientUIPlugin']=is([a[_0x19457d(0x409)](u['UniverCollaborationClientPlugin']),ue(0x1,p[_0x19457d(0x41a)]),ue(0x2,a[_0x19457d(0x2f0)](a[_0x19457d(0x3d7)])),ue(0x3,a['IConfigService'])],exports[_0x19457d(0x2a9)]);var as=Object[_0x19457d(0x3db)],cs=(_0x39369d,_0x55f350,_0x553393,_0x58fd13)=>{for(var _0xe8e36c=_0x58fd13>0x1?void 0x0:_0x58fd13?as(_0x55f350,_0x553393):_0x55f350,_0x5adfa4=_0x39369d['length']-0x1,_0x3203f8;_0x5adfa4>=0x0;_0x5adfa4--)(_0x3203f8=_0x39369d[_0x5adfa4])&&(_0xe8e36c=_0x3203f8(_0xe8e36c)||_0xe8e36c);return _0xe8e36c;},F=(_0xf25462,_0x193bae)=>(_0x5964d8,_0x4c160e)=>_0x193bae(_0x5964d8,_0x4c160e,_0xf25462);exports[_0x19457d(0x29c)]=class extends u[_0x19457d(0x366)]{constructor(_0x15cf4a,_0xb26620,_0x24635f,_0x52f894,_0x295ff3){super(_0x15cf4a,_0xb26620,_0x24635f,_0x52f894,_0x295ff3);}async[_0x19457d(0x271)](_0x32e418){const _0x376ef2=_0x19457d,_0x5de133=await this['_getSessionTicket'](),_0x4bb052=this[_0x376ef2(0x202)](_0x32e418,_0x5de133);return this['_doCreateSocket'](_0x4bb052);}[_0x19457d(0x202)](_0x1bbd7d,_0x454207){const _0x254ed=_0x19457d,_0x23fe1a=typeof window>'u'?new URL(_0x1bbd7d):new URL(_0x1bbd7d,window['location'][_0x254ed(0x36e)]);_0x23fe1a['searchParams']['set']('sessionTicket',_0x454207);const _0x569ed9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x254ed(0x2c1)][_0x254ed(0x232)]);return _0x569ed9['get']('runId')&&_0x23fe1a[_0x254ed(0x3c3)][_0x254ed(0x394)](_0x254ed(0x28a),_0x569ed9[_0x254ed(0x3f2)](_0x254ed(0x28a))),_0x23fe1a[_0x254ed(0x291)]();}async[_0x19457d(0x396)](){const _0x2b5b6e=_0x19457d;var _0x66966c,_0xe957a5,_0x5906ef;const _0x301b9a=this['_configService'][_0x2b5b6e(0x43c)](u[_0x2b5b6e(0x294)]),_0xa52c04=(_0x66966c=_0x301b9a==null?void 0x0:_0x301b9a[_0x2b5b6e(0x2fe)])!=null?_0x66966c:u[_0x2b5b6e(0x3c6)];return(_0x5906ef=(_0xe957a5=(await this[_0x2b5b6e(0x249)][_0x2b5b6e(0x3f2)](_0xa52c04,{'headers':{'Content-Type':'application/json'}}))[_0x2b5b6e(0x36f)])==null?void 0x0:_0xe957a5[_0x2b5b6e(0x275)])!=null?_0x5906ef:'';}},exports[_0x19457d(0x29c)]=cs([F(0x0,a[_0x19457d(0x2f0)](a['Injector'])),F(0x1,a[_0x19457d(0x2f0)](q['HTTPService'])),F(0x2,a[_0x19457d(0x2a0)]),F(0x3,a[_0x19457d(0x40f)]),F(0x4,m[_0x19457d(0x412)])],exports[_0x19457d(0x29c)]);const Ne=0x7530,we=_0x19457d(0x213);class ls extends a[_0x19457d(0x3b2)]{constructor(){const _0x13f8e2=_0x19457d;super(),h(this,_0x13f8e2(0x3af),a[_0x13f8e2(0x242)]()),h(this,_0x13f8e2(0x29f),new Set()),h(this,_0x13f8e2(0x375),new Map()),h(this,_0x13f8e2(0x1f0),null),h(this,_0x13f8e2(0x2fc),new Map()),h(this,_0x13f8e2(0x1df),new Map()),this[_0x13f8e2(0x321)]();}[_0x19457d(0x378)](){const _0x1a9765=_0x19457d;super[_0x1a9765(0x378)](),this['_clearOtherTimers'][_0x1a9765(0x265)]((_0x5b8995,_0x1acf75)=>this[_0x1a9765(0x3a9)](_0x1acf75)),this['_heartbeatTimer']&&window[_0x1a9765(0x24d)](this[_0x1a9765(0x1f0)]);}[_0x19457d(0x240)](_0x4ef823){const _0x17d34d=_0x19457d;return this[_0x17d34d(0x3e8)](_0x4ef823)['pipe'](d[_0x17d34d(0x3b5)]());}[_0x19457d(0x40c)](_0x4757fa){const _0x533750=_0x19457d;this[_0x533750(0x29f)][_0x533750(0x38f)]===0x0&&this[_0x533750(0x343)](),this['_selfUnitIDs'][_0x533750(0x22e)](_0x4757fa),this[_0x533750(0x2df)]({'type':0x0,'memberID':this[_0x533750(0x3af)],'unitIDs':[_0x4757fa],'isForwarded':!0x1});}[_0x19457d(0x36d)](_0x4e6e87){const _0x2bed9c=_0x19457d;this['_selfUnitIDs'][_0x2bed9c(0x2f5)](_0x4e6e87),this[_0x2bed9c(0x29f)][_0x2bed9c(0x38f)]===0x0&&this[_0x2bed9c(0x1f0)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x19457d(0x321)](){const _0x22eb9f=_0x19457d;this[_0x22eb9f(0x40b)](a['toDisposable'](d[_0x22eb9f(0x2ba)](window,'storage')[_0x22eb9f(0x1fc)](_0x16f5e1=>{const _0x59f951=_0x22eb9f;if(_0x16f5e1[_0x59f951(0x20c)]!==we||!_0x16f5e1[_0x59f951(0x337)])return;const _0x2b986a=JSON['parse'](_0x16f5e1[_0x59f951(0x337)]);this['_handleEvent'](_0x2b986a);}))),window['addEventListener'](_0x22eb9f(0x219),()=>this[_0x22eb9f(0x2df)]({'type':0x1,'memberID':this[_0x22eb9f(0x3af)],'unitIDs':Array[_0x22eb9f(0x413)](this[_0x22eb9f(0x29f)])}));}[_0x19457d(0x38d)](_0x1f4af1){const _0x16bbce=_0x19457d;switch(_0x1f4af1[_0x16bbce(0x333)]){case 0x0:this[_0x16bbce(0x3be)](_0x1f4af1);break;case 0x1:this[_0x16bbce(0x334)](_0x1f4af1);break;case 0x2:this[_0x16bbce(0x400)](_0x1f4af1);break;}}[_0x19457d(0x3be)](_0x43e6ad){const _0x2397cb=_0x19457d,{unitIDs:_0x16ed25,memberID:_0x1b7795,isForwarded:_0x4abda0}=_0x43e6ad;_0x16ed25['forEach'](_0x182a8c=>{const _0x197772=_0x3043;if(!_0x4abda0&&this[_0x197772(0x375)][_0x197772(0x2e6)](_0x182a8c)&&this['_ensureSubject'](_0x182a8c)[_0x197772(0x406)](u['UnitStatus'][_0x197772(0x442)]),!this['_unitOnClients'][_0x197772(0x2e6)](_0x182a8c)||!this[_0x197772(0x375)]['get'](_0x182a8c)[_0x197772(0x2e6)](_0x1b7795)){const _0x5d5dc1=this['_unitOnClients'][_0x197772(0x3f2)](_0x182a8c)||new Set();_0x5d5dc1[_0x197772(0x22e)](_0x1b7795),this[_0x197772(0x375)][_0x197772(0x394)](_0x182a8c,_0x5d5dc1),this[_0x197772(0x2bd)](_0x1b7795);}}),_0x4abda0||this[_0x2397cb(0x2df)]({'type':0x0,'memberID':this[_0x2397cb(0x3af)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x19457d(0x2bd)](_0x9e33f){const _0x1bc456=_0x19457d;this[_0x1bc456(0x3a9)](_0x9e33f);const _0x480ea5=window[_0x1bc456(0x310)](()=>{const _0xb3f9d0=_0x1bc456;this[_0xb3f9d0(0x375)]['forEach'](_0xca015c=>{_0xca015c['delete'](_0x9e33f);});},Ne*0x2);this['_clearOtherTimers']['set'](_0x9e33f,_0x480ea5);}[_0x19457d(0x3a9)](_0x70d5dc){const _0xc005b4=_0x19457d;if(this[_0xc005b4(0x2fc)]['has'](_0x70d5dc)){const _0x50c0ba=this[_0xc005b4(0x2fc)][_0xc005b4(0x3f2)](_0x70d5dc);_0x50c0ba&&window[_0xc005b4(0x210)](_0x50c0ba),this['_clearOtherTimers']['set'](_0x70d5dc,null);}}[_0x19457d(0x334)](_0x488f64){const {memberID:_0x229d50,unitIDs:_0x5f3b64}=_0x488f64;_0x5f3b64['forEach'](_0x31be3e=>{const _0x2c4f0e=_0x3043;var _0x37f118;const _0x1b9b56=this[_0x2c4f0e(0x375)]['get'](_0x31be3e);_0x1b9b56&&(_0x1b9b56['delete'](_0x229d50),(_0x37f118=this[_0x2c4f0e(0x3e8)](_0x31be3e))==null||_0x37f118['next'](_0x1b9b56[_0x2c4f0e(0x38f)]===0x0?u[_0x2c4f0e(0x40e)][_0x2c4f0e(0x29d)]:u[_0x2c4f0e(0x40e)][_0x2c4f0e(0x442)]));}),this['_removeClearOtherTimer'](_0x229d50);}[_0x19457d(0x400)](_0x1863e3){const _0x50d8ce=_0x19457d;this[_0x50d8ce(0x2bd)](_0x1863e3[_0x50d8ce(0x319)]);}['_send'](_0x44fb8f){const _0x522e2f=_0x19457d;localStorage[_0x522e2f(0x33f)](we,JSON[_0x522e2f(0x2f7)](_0x44fb8f));}['_scheduleHeartbeat'](){const _0x2a2ca1=_0x19457d;this[_0x2a2ca1(0x1f0)]=window[_0x2a2ca1(0x335)](()=>{const _0x361b4d=_0x2a2ca1;this[_0x361b4d(0x2df)]({'type':0x2,'memberID':this[_0x361b4d(0x3af)]});},Ne);}[_0x19457d(0x3e8)](_0x572c5d){const _0x10cacd=_0x19457d;return this[_0x10cacd(0x1df)][_0x10cacd(0x2e6)](_0x572c5d)||this['_unitStatus'][_0x10cacd(0x394)](_0x572c5d,new d['BehaviorSubject'](u[_0x10cacd(0x40e)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x10cacd(0x1df)]['get'](_0x572c5d);}}var Be=(_0x55feba=>(_0x55feba[_0x55feba['UNDEFINED']=0x0]=_0x19457d(0x28d),_0x55feba[_0x55feba['OK']=0x1]='OK',_0x55feba[_0x55feba[_0x19457d(0x43d)]=0x2]=_0x19457d(0x43d),_0x55feba[_0x55feba['PERMISSION_DENIED']=0x3]=_0x19457d(0x307),_0x55feba[_0x55feba['NOT_FOUND']=0x4]='NOT_FOUND',_0x55feba[_0x55feba['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x55feba[_0x55feba[_0x19457d(0x326)]=0x6]=_0x19457d(0x326),_0x55feba[_0x55feba[_0x19457d(0x435)]=0x7]=_0x19457d(0x435),_0x55feba[_0x55feba[_0x19457d(0x1f6)]=0x8]=_0x19457d(0x1f6),_0x55feba[_0x55feba['COMPLETION_FINISHED']=0x9]=_0x19457d(0x39e),_0x55feba[_0x55feba[_0x19457d(0x3cb)]=0x1389]=_0x19457d(0x3cb),_0x55feba[_0x55feba['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x19457d(0x434),_0x55feba[_0x55feba[_0x19457d(0x27f)]=0x1772]=_0x19457d(0x27f),_0x55feba[_0x55feba['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x55feba[_0x55feba[_0x19457d(0x31f)]=0x1b59]=_0x19457d(0x31f),_0x55feba[_0x55feba[_0x19457d(0x365)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x55feba[_0x55feba[_0x19457d(0x339)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x55feba[_0x55feba[_0x19457d(0x3bc)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x55feba[_0x55feba[_0x19457d(0x2da)]=0x1b5d]=_0x19457d(0x2da),_0x55feba[_0x55feba[_0x19457d(0x3d0)]=0x1f41]=_0x19457d(0x3d0),_0x55feba[_0x55feba[_0x19457d(0x2c3)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x55feba[_0x55feba['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x19457d(0x325),_0x55feba[_0x55feba['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x19457d(0x411),_0x55feba[_0x55feba['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x19457d(0x385),_0x55feba[_0x55feba[_0x19457d(0x3de)]=0x232d]=_0x19457d(0x3de),_0x55feba[_0x55feba[_0x19457d(0x38c)]=0x2711]=_0x19457d(0x38c),_0x55feba[_0x55feba[_0x19457d(0x2ec)]=0x2712]=_0x19457d(0x2ec),_0x55feba[_0x55feba['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x19457d(0x418),_0x55feba[_0x55feba[_0x19457d(0x3ba)]=0x2714]=_0x19457d(0x3ba),_0x55feba[_0x55feba[_0x19457d(0x1ca)]=0x2af9]=_0x19457d(0x1ca),_0x55feba[_0x55feba[_0x19457d(0x20e)]=-0x1]=_0x19457d(0x20e),_0x55feba))(Be||{}),hs=Object[_0x19457d(0x3db)],_s=(_0x426408,_0x2f2edb,_0x5688f5,_0x50734f)=>{for(var _0x33dcd6=_0x50734f>0x1?void 0x0:_0x50734f?hs(_0x2f2edb,_0x5688f5):_0x2f2edb,_0x2bb808=_0x426408['length']-0x1,_0x4be6d2;_0x2bb808>=0x0;_0x2bb808--)(_0x4be6d2=_0x426408[_0x2bb808])&&(_0x33dcd6=_0x4be6d2(_0x33dcd6)||_0x33dcd6);return _0x33dcd6;},de=(_0x310630,_0x45a12f)=>(_0x56f27d,_0x1b53c8)=>_0x45a12f(_0x56f27d,_0x1b53c8,_0x310630);exports[_0x19457d(0x405)]=class extends a[_0x19457d(0x3b2)]{constructor(_0x4271f6,_0x2761c9,_0x552413){const _0xb69e51=_0x19457d;super(),this[_0xb69e51(0x374)]=_0x4271f6,this['_httpService']=_0x2761c9,this[_0xb69e51(0x2b8)]=_0x552413;}async[_0x19457d(0x38a)](_0x357848,_0x158a3a,_0x34ddd7,..._0x1fdf97){const _0x454917=_0x19457d;var _0x26e031,_0x37a330,_0x470e25,_0x4cf456;const _0x1f6c4f=this[_0x454917(0x374)]['getFocusedUnit']();if(!_0x1f6c4f)throw new Error(_0x454917(0x1de));const _0x24aa1b=((_0x26e031=this[_0x454917(0x2b8)][_0x454917(0x43c)](u['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x26e031:u[_0x454917(0x2a3)])+'/'+_0x357848+'/run/'+_0x158a3a,_0x243030=new URL(window['location']['href']),_0x4b4e74={'scriptId':_0x357848,'runId':(_0x37a330=_0x243030['searchParams'][_0x454917(0x3f2)]('runId'))!=null?_0x37a330:'','function':_0x158a3a,'unitId':_0x1f6c4f[_0x454917(0x3f4)](),'argsOfFunction':JSON[_0x454917(0x2f7)](_0x1fdf97),'invokeId':(_0x470e25=_0x34ddd7[_0x454917(0x3e5)])!=null?_0x470e25:'','executionId':(_0x4cf456=_0x34ddd7[_0x454917(0x404)])!=null?_0x4cf456:''};try{const _0x5a54b1=await this[_0x454917(0x249)][_0x454917(0x30b)](_0x24aa1b,{'body':_0x4b4e74});return _0x5a54b1['body']['error']&&_0x5a54b1[_0x454917(0x36f)][_0x454917(0x3bd)][_0x454917(0x308)]!==Be['OK']?_0x454917(0x1f5):_0x5a54b1[_0x454917(0x36f)]['result'];}catch{return'Failed';}}},exports[_0x19457d(0x405)]=_s([de(0x0,a[_0x19457d(0x401)]),de(0x1,a[_0x19457d(0x2f0)](q[_0x19457d(0x3fb)])),de(0x2,a[_0x19457d(0x2a0)])],exports['RemoteUniscriptService']),exports['CollaborationStatusDisplay']=je,exports[_0x19457d(0x2b5)]=Ee,exports['SheetCollabCursorShape']=ye,exports[_0x19457d(0x252)]=ls,exports[_0x19457d(0x390)]=ke;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x24291b=_0x9b7a;(function(_0x3b0cfe,_0x57a321){const _0x2be4cb=_0x9b7a,_0x14e8be=_0x3b0cfe();while(!![]){try{const _0x4d8c5d=parseInt(_0x2be4cb(0x1fa))/0x1+-parseInt(_0x2be4cb(0x1ea))/0x2*(parseInt(_0x2be4cb(0x1f2))/0x3)+-parseInt(_0x2be4cb(0x1ed))/0x4*(-parseInt(_0x2be4cb(0x1f6))/0x5)+parseInt(_0x2be4cb(0x1f4))/0x6+parseInt(_0x2be4cb(0x1e7))/0x7*(-parseInt(_0x2be4cb(0x1ee))/0x8)+parseInt(_0x2be4cb(0x1f9))/0x9+-parseInt(_0x2be4cb(0x1f7))/0xa*(parseInt(_0x2be4cb(0x1ec))/0xb);if(_0x4d8c5d===_0x57a321)break;else _0x14e8be['push'](_0x14e8be['shift']());}catch(_0x297e75){_0x14e8be['push'](_0x14e8be['shift']());}}}(_0xefeb,0xda43a));function _0x9b7a(_0x3751c7,_0x30061b){const _0xefeb97=_0xefeb();return _0x9b7a=function(_0x9b7a80,_0x136310){_0x9b7a80=_0x9b7a80-0x1df;let _0x4bb91d=_0xefeb97[_0x9b7a80];return _0x4bb91d;},_0x9b7a(_0x3751c7,_0x30061b);}const e={'collab-client':{'tooltip':{'reconnect':_0x24291b(0x1e4)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x24291b(0x1e6),'notCollab':_0x24291b(0x1f3),'synced':_0x24291b(0x1e0),'syncing':_0x24291b(0x1e9),'offline':_0x24291b(0x1f1)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x24291b(0x1ef),'room-full':_0x24291b(0x1f8),'collaboration-timeout':_0x24291b(0x1eb)},'conflict':{'title':_0x24291b(0x1e2),'content':_0x24291b(0x1df)},'permission':{'title':_0x24291b(0x1e1),'content':_0x24291b(0x1e8)},'collaboration':{'single-unit':{'warning':_0x24291b(0x1e5)},'closeRoom':_0x24291b(0x1e3)},'auth':{'needGotoLoginAlert':_0x24291b(0x1f0)}};module[_0x24291b(0x1f5)]=e;function _0xefeb(){const _0x565e70=['Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','3uiJUAh','Local\x20file','3857604NceHxa','exports','5JBQBve','92030cFUaYl','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','6925518zYuWqO','1083660kiNFIb','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Synced','Authentication\x20Error','Collaboration\x20Conflict','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Click\x20to\x20Reconnect','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','21BQHIJX','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing...','2027866XsiVYZ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1925xBhcNY','5723252vJmimI','1089176zSEKlZ','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0xefeb=function(){return _0x565e70;};return _0xefeb();}
|