@univerjs-pro/collaboration-client-ui 0.6.2 → 0.6.3
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';const
|
|
1
|
+
'use strict';function _0x2fff(_0x728447,_0x39c9dc){const _0x40d265=_0x40d2();return _0x2fff=function(_0x2fffbf,_0x4eeaeb){_0x2fffbf=_0x2fffbf-0x147;let _0x29779f=_0x40d265[_0x2fffbf];return _0x29779f;},_0x2fff(_0x728447,_0x39c9dc);}const _0xd95ae9=_0x2fff;function _0x40d2(){const _0x9599b9=['379552fFSeGT','16YnTHyH','@univerjs/core/facade','153MgPzAa','5902210aVTmlu','4866516SQpewV','RemoteUniscriptService','1628452ayohuT','2924682epqCjb','@univerjs-pro/collaboration-client-ui','26102RupOXj','12995586ZmMHqJ','_injector','runOnServer','FUniver'];_0x40d2=function(){return _0x9599b9;};return _0x40d2();}(function(_0x5753c8,_0x59370b){const _0x121a93=_0x2fff,_0x29ce77=_0x5753c8();while(!![]){try{const _0x19c2d9=parseInt(_0x121a93(0x153))/0x1+parseInt(_0x121a93(0x14e))/0x2*(-parseInt(_0x121a93(0x147))/0x3)+parseInt(_0x121a93(0x149))/0x4+parseInt(_0x121a93(0x148))/0x5+-parseInt(_0x121a93(0x14c))/0x6+-parseInt(_0x121a93(0x14b))/0x7*(-parseInt(_0x121a93(0x154))/0x8)+-parseInt(_0x121a93(0x14f))/0x9;if(_0x19c2d9===_0x59370b)break;else _0x29ce77['push'](_0x29ce77['shift']());}catch(_0x2ce560){_0x29ce77['push'](_0x29ce77['shift']());}}}(_0x40d2,0x9d71d));const t=require(_0xd95ae9(0x14d)),e=require(_0xd95ae9(0x155));class c extends e[_0xd95ae9(0x152)]{[_0xd95ae9(0x151)](_0x383279,_0x550127,..._0x4f89ab){const _0xdc4473=_0xd95ae9;return this[_0xdc4473(0x150)]['get'](t[_0xdc4473(0x14a)])['runOnServer'](_0x383279,_0x550127,{},..._0x4f89ab);}}e[_0xd95ae9(0x152)]['extend'](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 _0x114f12=_0x7083;function _0x7083(_0x312793,_0x359a0e){const _0x46c80b=_0x46c8();return _0x7083=function(_0x708385,_0x2a84a0){_0x708385=_0x708385-0x142;let _0x41df07=_0x46c80b[_0x708385];return _0x41df07;},_0x7083(_0x312793,_0x359a0e);}(function(_0x53c7f3,_0x539307){const _0x3ce03d=_0x7083,_0xa41b3=_0x53c7f3();while(!![]){try{const _0x364858=parseInt(_0x3ce03d(0x2ff))/0x1*(-parseInt(_0x3ce03d(0x21c))/0x2)+parseInt(_0x3ce03d(0x37e))/0x3+parseInt(_0x3ce03d(0x308))/0x4+parseInt(_0x3ce03d(0x1aa))/0x5+-parseInt(_0x3ce03d(0x31d))/0x6+-parseInt(_0x3ce03d(0x175))/0x7*(parseInt(_0x3ce03d(0x2ec))/0x8)+-parseInt(_0x3ce03d(0x302))/0x9;if(_0x364858===_0x539307)break;else _0xa41b3['push'](_0xa41b3['shift']());}catch(_0x5743bd){_0xa41b3['push'](_0xa41b3['shift']());}}}(_0x46c8,0xd175f));var Ve=Object[_0x114f12(0x283)],Ge=(_0x5cf16b,_0x2096f8,_0x5e14fc)=>_0x2096f8 in _0x5cf16b?Ve(_0x5cf16b,_0x2096f8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e14fc}):_0x5cf16b[_0x2096f8]=_0x5e14fc,h=(_0x15763f,_0x1a6b13,_0x43f9d4)=>Ge(_0x15763f,typeof _0x1a6b13!='symbol'?_0x1a6b13+'':_0x1a6b13,_0x43f9d4);Object[_0x114f12(0x283)](exports,Symbol['toStringTag'],{'value':_0x114f12(0x3b0)});const u=require(_0x114f12(0x19d)),a=require(_0x114f12(0x23a)),p=require(_0x114f12(0x16c)),q=require(_0x114f12(0x2c6)),b=require(_0x114f12(0x199)),qe=require(_0x114f12(0x1e3)),d=require(_0x114f12(0x1ad)),Y=require(_0x114f12(0x1a4)),m=require(_0x114f12(0x30c)),Te=require('@univerjs/engine-formula'),I=require(_0x114f12(0x316)),$=require(_0x114f12(0x257)),G=require('@univerjs/sheets-ui'),w=require(_0x114f12(0x2dc)),R=require('@univerjs/ui'),T=require(_0x114f12(0x1a8)),P=require('react'),Ke=require(_0x114f12(0x342));var ze=Object[_0x114f12(0x358)],Je=(_0x1da828,_0x38520b,_0x3d608f,_0x44f9bf)=>{const _0x29dba1=_0x114f12;for(var _0x31b5c9=_0x44f9bf>0x1?void 0x0:_0x44f9bf?ze(_0x38520b,_0x3d608f):_0x38520b,_0x54f5f4=_0x1da828[_0x29dba1(0x200)]-0x1,_0x5e4486;_0x54f5f4>=0x0;_0x54f5f4--)(_0x5e4486=_0x1da828[_0x54f5f4])&&(_0x31b5c9=_0x5e4486(_0x31b5c9)||_0x31b5c9);return _0x31b5c9;},Re=(_0x310ddb,_0x45fc50)=>(_0x486716,_0xbd7c8e)=>_0x45fc50(_0x486716,_0xbd7c8e,_0x310ddb);let fe=class extends a[_0x114f12(0x1de)]{constructor(_0x431c66,_0x3a3ee6){const _0x419d8f=_0x114f12;super(),this[_0x419d8f(0x2ca)]=_0x431c66,this['_imageIoService']=_0x3a3ee6,this[_0x419d8f(0x1f3)]();}[_0x114f12(0x1f3)](){const _0x202e92=_0x114f12,_0x3c3742=this;this[_0x202e92(0x19c)](this[_0x202e92(0x2ca)][_0x202e92(0x220)]({'onBeforePasteImage':async _0x37f8f4=>{const _0x6c2370=_0x202e92,_0xc8f01d=await _0x3c3742[_0x6c2370(0x30a)]['saveImage'](_0x37f8f4);return _0xc8f01d?{'source':_0xc8f01d[_0x6c2370(0x259)],'imageSourceType':_0xc8f01d['imageSourceType']}:null;}}));}};fe=Je([Re(0x0,b[_0x114f12(0x1f2)]),Re(0x1,qe['IImageIoService'])],fe);const Oe=['purple300',_0x114f12(0x314),_0x114f12(0x223),_0x114f12(0x1bd),'blue400',_0x114f12(0x39f)];class Ce extends a[_0x114f12(0x22e)]{constructor(){const _0x43dfed=_0x114f12;super(...arguments),h(this,_0x43dfed(0x180),new Map()),h(this,_0x43dfed(0x251),0x0);}[_0x114f12(0x30f)](_0x5089d5){const _0x140ab8=_0x114f12;if(this[_0x140ab8(0x180)][_0x140ab8(0x3bc)](_0x5089d5))return this[_0x140ab8(0x180)]['get'](_0x5089d5);const _0x55acc1=Oe[this['_colorIndex']];return this[_0x140ab8(0x251)]=(this[_0x140ab8(0x251)]+0x1)%Oe['length'],this[_0x140ab8(0x180)]['set'](_0x5089d5,_0x55acc1),_0x55acc1;}}function Le(_0x27e14a){let _0x4efd5f='';for(const _0x992067 of _0x27e14a){const {startOffset:_0x3e2319,endOffset:_0x590cfe,isActive:_0x28bc28,rangeType:_0x2ab53f,segmentId:_0x283a53,segmentPage:_0x354fc0}=_0x992067;_0x4efd5f['length']&&(_0x4efd5f+=','),_0x4efd5f+=_0x3e2319+':'+_0x590cfe+':'+(_0x28bc28?'1':'0')+':'+_0x2ab53f+':'+_0x283a53+':'+_0x354fc0;}return _0x4efd5f;}function Ze(_0x5ad32){const _0x3825db=_0x114f12,_0x46895d=_0x5ad32[_0x3825db(0x274)](','),_0x177791=[];for(const _0x1954db of _0x46895d){const [_0x9cf51a,_0x2774e8,_0x24d5f3,_0x4986e3,_0x147260,_0x181813]=_0x1954db[_0x3825db(0x274)](':');_0x177791['push']({'startOffset':Number(_0x9cf51a),'endOffset':Number(_0x2774e8),'collapsed':_0x9cf51a===_0x2774e8,'isActive':_0x24d5f3==='1','rangeType':_0x4986e3===a['DOC_RANGE_TYPE'][_0x3825db(0x27e)]?a[_0x3825db(0x2ab)][_0x3825db(0x27e)]:a[_0x3825db(0x2ab)][_0x3825db(0x2fa)],'segmentId':typeof _0x147260=='string'?String(_0x147260):'','segmentPage':Number(_0x181813!=null?_0x181813:-0x1)});}return _0x177791[_0x3825db(0x179)](_0x3ad045=>_0x3ad045[_0x3825db(0x361)])||(_0x177791[0x0][_0x3825db(0x361)]=!0x0),_0x177791;}class pe extends a[_0x114f12(0x1de)]{constructor(){const _0x3f69ab=_0x114f12;super(...arguments),h(this,_0x3f69ab(0x287),new d['BehaviorSubject'](null)),h(this,_0x3f69ab(0x233),this[_0x3f69ab(0x287)]['asObservable']());}[_0x114f12(0x37d)](_0x13cdfd){const _0x3e7ba0=_0x114f12,{unitID:_0x495b7d,memberID:_0x493073,textRanges:_0x225f8a}=_0x13cdfd,_0x16e77e=Le(_0x225f8a);if(_0x16e77e==='')return;const _0x344ff4={'unitID':_0x495b7d,'memberID':_0x493073,'selection':_0x16e77e};this[_0x3e7ba0(0x287)][_0x3e7ba0(0x157)](_0x344ff4);}}var Qe=Object[_0x114f12(0x358)],et=(_0x449550,_0x577be7,_0x4e9023,_0x57e4b1)=>{const _0x1f12bd=_0x114f12;for(var _0x584e2e=_0x57e4b1>0x1?void 0x0:_0x57e4b1?Qe(_0x577be7,_0x4e9023):_0x577be7,_0x596dd3=_0x449550[_0x1f12bd(0x200)]-0x1,_0x50c861;_0x596dd3>=0x0;_0x596dd3--)(_0x50c861=_0x449550[_0x596dd3])&&(_0x584e2e=_0x50c861(_0x584e2e)||_0x584e2e);return _0x584e2e;},N=(_0x2c3f67,_0x2d2284)=>(_0x1374ef,_0x2ba0e8)=>_0x2d2284(_0x1374ef,_0x2ba0e8,_0x2c3f67);const tt=0x12c,st=0x64;let Se=class extends a[_0x114f12(0x1de)]{constructor(_0x33b385,_0x5abc06,_0xba1636,_0x152d21,_0x38aaae,_0x2fbe72,_0x5bbee2,_0x2b1c10,_0x5d7429){const _0x4fe631=_0x114f12;super(),h(this,'_online',!0x1),h(this,_0x4fe631(0x1f3),!0x1),h(this,_0x4fe631(0x23c),new d[(_0x4fe631(0x38e))](new Map())),h(this,_0x4fe631(0x2ae),this[_0x4fe631(0x23c)][_0x4fe631(0x158)]()),h(this,_0x4fe631(0x36a),new d[(_0x4fe631(0x38e))]([])),h(this,_0x4fe631(0x1cb),this[_0x4fe631(0x36a)][_0x4fe631(0x3bb)](d['debounceTime'](tt))),h(this,'_updateLocalCursor',a[_0x4fe631(0x239)](_0x7b3567=>{const _0x4fff24=_0x4fe631,_0x2309da={'eventID':m[_0x4fff24(0x25f)][_0x4fff24(0x35e)],'data':{'unitID':this[_0x4fff24(0x26c)],'memberID':this[_0x4fff24(0x381)]['getMemberID'](),'selection':Le(_0x7b3567)}};this[_0x4fff24(0x381)]['send'](_0x2309da,this['unitID']);},st)),(this['unitID']=_0x33b385,this[_0x4fe631(0x381)]=_0x5abc06,this[_0x4fe631(0x39b)]=_0xba1636,this[_0x4fe631(0x1a3)]=_0x152d21,this[_0x4fe631(0x1a0)]=_0x38aaae,this['_syncEditingCollabCursorService']=_0x2fbe72,this[_0x4fe631(0x372)]=_0x5bbee2,this[_0x4fe631(0x288)]=_0x2b1c10,this[_0x4fe631(0x395)]=_0x5d7429);}get[_0x114f12(0x1a6)](){const _0x9d0d21=_0x114f12;return this[_0x9d0d21(0x23c)]['getValue']();}get[_0x114f12(0x194)](){const _0x589164=_0x114f12;return this['_roomMembers$'][_0x589164(0x397)]();}[_0x114f12(0x2bc)](){const _0x5a3bd7=_0x114f12;super[_0x5a3bd7(0x2bc)](),this[_0x5a3bd7(0x23c)]['next'](new Map()),this[_0x5a3bd7(0x23c)]['complete'](),this[_0x5a3bd7(0x36a)][_0x5a3bd7(0x157)]([]),this[_0x5a3bd7(0x36a)][_0x5a3bd7(0x34f)]();}[_0x114f12(0x345)](){const _0xfa6f56=_0x114f12;this[_0xfa6f56(0x1f3)]||(this[_0xfa6f56(0x1f3)]=!0x0,this[_0xfa6f56(0x381)][_0xfa6f56(0x344)][_0xfa6f56(0x3bb)](d['takeUntil'](this[_0xfa6f56(0x350)]))[_0xfa6f56(0x2d5)](_0x430fab=>{const _0x41c0ee=_0xfa6f56;_0x430fab===u[_0x41c0ee(0x389)]['ONLINE']?this[_0x41c0ee(0x329)]():this['_toggleOffline']();}),this['_session'][_0xfa6f56(0x2b0)][_0xfa6f56(0x3bb)](d[_0xfa6f56(0x23f)](this[_0xfa6f56(0x350)]))[_0xfa6f56(0x2d5)](_0x548254=>{const _0x4d6b85=_0xfa6f56,_0x4de430=_0x548254[_0x4d6b85(0x2ba)];_0x4de430===m[_0x4d6b85(0x25f)][_0x4d6b85(0x35e)]&&this[_0x4d6b85(0x1d0)](_0x548254),_0x4de430===m['CollaborationEvent'][_0x4d6b85(0x252)]&&this[_0x4d6b85(0x219)](_0x548254);}),this['disposeWithMe'](this[_0xfa6f56(0x395)][_0xfa6f56(0x1a7)](_0x5935e9=>{const _0x594de0=_0xfa6f56,_0x3ca873=_0x5935e9['params'];_0x3ca873!=null&&this[_0x594de0(0x21a)]&&_0x5935e9['id']===Y[_0x594de0(0x2a1)]['id']&&_0x3ca873[_0x594de0(0x163)]===this[_0x594de0(0x26c)]&&_0x3ca873[_0x594de0(0x2ea)]===!0x1&&_0x3ca873[_0x594de0(0x393)]['length']>0x0&&this[_0x594de0(0x2e4)](_0x3ca873[_0x594de0(0x393)]);})),this[_0xfa6f56(0x35d)][_0xfa6f56(0x233)][_0xfa6f56(0x3bb)](d['takeUntil'](this[_0xfa6f56(0x350)]))['subscribe'](_0x109d51=>{const _0x489eb4=_0xfa6f56;if((_0x109d51==null?void 0x0:_0x109d51['unitID'])!==this[_0x489eb4(0x26c)])return;const _0x3018f6={'eventID':m['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x109d51};this['_onCursorUpdate'](_0x3018f6);}),this[_0xfa6f56(0x19c)](this['_commandService'][_0xfa6f56(0x1a7)](_0x2c1052=>{const _0x17f01a=_0xfa6f56;if(_0x2c1052[_0x17f01a(0x1e4)]==null)return;const _0x38130a=_0x2c1052['params'];if(_0x2c1052['id']!==Y['RichTextEditingMutation']['id']||_0x38130a[_0x17f01a(0x163)]!==this[_0x17f01a(0x26c)])return;const _0xa523fc={'id':_0x17f01a(0x36e),'params':_0x38130a},_0x38795e=this['cursorInfo'];for(const [_0x6fcb29,_0x512f27]of _0x38795e){const _0x1884a1={'id':_0x17f01a(0x36e),'params':{'unitId':this[_0x17f01a(0x26c)],'actions':null,'textRanges':_0x512f27[_0x17f01a(0x393)]}},_0x16aceb=this[_0x17f01a(0x372)][_0x17f01a(0x3b6)](_0xa523fc,_0x1884a1,!0x1);if(m['isTransformMutationFailure'](_0x16aceb))throw _0x16aceb[_0x17f01a(0x154)];_0x38795e[_0x17f01a(0x2a3)](_0x6fcb29,{..._0x512f27,'ranges':_0x16aceb[_0x17f01a(0x208)][_0x17f01a(0x1e4)][_0x17f01a(0x315)]});}queueMicrotask(()=>{const _0x3a7423=_0x17f01a;this[_0x3a7423(0x23c)]['next'](_0x38795e);});})));}[_0x114f12(0x1d0)](_0x351971){const _0x37f29f=_0x114f12;var _0x1b3372,_0x327536;const {memberID:_0x26f5bb,selection:_0xca71c4}=_0x351971[_0x37f29f(0x174)],_0x3bcc6a=Ze(_0xca71c4),_0x45944a=(_0x327536=(_0x1b3372=this[_0x37f29f(0x1a0)][_0x37f29f(0x143)](this[_0x37f29f(0x26c)],_0x26f5bb))==null?void 0x0:_0x1b3372[_0x37f29f(0x17a)])!=null?_0x327536:'Unknown\x20user',_0x1d65a5={'color':this[_0x37f29f(0x1a3)][_0x37f29f(0x30f)](_0x26f5bb),'name':_0x45944a,'ranges':_0x3bcc6a},_0x277c10=this['cursorInfo'];_0x277c10['set'](_0x26f5bb,_0x1d65a5),this[_0x37f29f(0x23c)]['next'](_0x277c10);}[_0x114f12(0x219)](_0xed2795){const _0x51936c=_0x114f12,{memberID:_0x495c0f}=_0xed2795[_0x51936c(0x174)],_0x4c608a=this[_0x51936c(0x1a6)];_0x4c608a[_0x51936c(0x14c)](_0x495c0f),this[_0x51936c(0x23c)][_0x51936c(0x157)](_0x4c608a);}[_0x114f12(0x329)](){const _0x26dbfb=_0x114f12;var _0x292606;if(this[_0x26dbfb(0x21a)]=!0x0,((_0x292606=this[_0x26dbfb(0x288)][_0x26dbfb(0x24c)]())==null?void 0x0:_0x292606[_0x26dbfb(0x1f1)]())!==this[_0x26dbfb(0x26c)])return;const _0x207c83=this[_0x26dbfb(0x39b)][_0x26dbfb(0x221)](Y[_0x26dbfb(0x36c)])[_0x26dbfb(0x22b)]();Array[_0x26dbfb(0x17b)](_0x207c83)&&_0x207c83[_0x26dbfb(0x200)]>0x0&&this[_0x26dbfb(0x2e4)](_0x207c83);}['_toggleOffline'](){const _0x220f4d=_0x114f12;this[_0x220f4d(0x21a)]=!0x1;}};Se=et([N(0x2,a[_0x114f12(0x2fe)](a[_0x114f12(0x203)])),N(0x3,a[_0x114f12(0x2fe)](Ce)),N(0x4,a['Inject'](u[_0x114f12(0x1fd)])),N(0x5,a[_0x114f12(0x2fe)](pe)),N(0x6,m[_0x114f12(0x226)]),N(0x7,a[_0x114f12(0x182)]),N(0x8,a[_0x114f12(0x318)])],Se);var nt=Object[_0x114f12(0x358)],it=(_0x6459f4,_0x5b9901,_0x568c7d,_0x37de63)=>{const _0x2cfb53=_0x114f12;for(var _0x5bbb74=_0x37de63>0x1?void 0x0:_0x37de63?nt(_0x5b9901,_0x568c7d):_0x5b9901,_0x4d5039=_0x6459f4[_0x2cfb53(0x200)]-0x1,_0x24ddd5;_0x4d5039>=0x0;_0x4d5039--)(_0x24ddd5=_0x6459f4[_0x4d5039])&&(_0x5bbb74=_0x24ddd5(_0x5bbb74)||_0x5bbb74);return _0x5bbb74;},y=(_0x1f92ce,_0x3787ba)=>(_0x1e1ac5,_0x30b676)=>_0x3787ba(_0x1e1ac5,_0x30b676,_0x1f92ce);const rt=0x12c,ot=0x64,at=()=>{let _0x5aa698=[],_0x5a3590=!0x1;return _0x37936b=>{const _0x2029d2=_0x7083;_0x5aa698[_0x2029d2(0x32e)](_0x37936b),_0x5a3590||(_0x5a3590=!0x0,setTimeout(()=>{const _0x47a9ae=_0x2029d2;_0x5aa698[_0x47a9ae(0x341)](_0x3797a4=>_0x3797a4()),_0x5aa698=[],_0x5a3590=!0x1;}));};};let ve=class extends a[_0x114f12(0x1de)]{constructor(_0x1f793f,_0x86dd8d,_0x410182,_0x5ac236,_0x5d441e,_0x3c970a,_0x3ddaee,_0x3ade6e){const _0x4bc849=_0x114f12;super(),h(this,_0x4bc849(0x21a),!0x1),h(this,'_init',!0x1),h(this,_0x4bc849(0x23c),new d[(_0x4bc849(0x38e))](new Map())),h(this,'cursorInfo$',this[_0x4bc849(0x23c)]['asObservable']()),h(this,_0x4bc849(0x36a),new d[(_0x4bc849(0x38e))]([])),h(this,_0x4bc849(0x1cb),this['_roomMembers$'][_0x4bc849(0x3bb)](d['debounceTime'](rt))),h(this,'_updateLocalCursor',a[_0x4bc849(0x239)]((_0x560518,_0x5381d8)=>{const _0x1a85a4=_0x4bc849,_0x47fcde={'eventID':m[_0x1a85a4(0x25f)][_0x1a85a4(0x35e)],'data':{'unitID':this[_0x1a85a4(0x26c)],'memberID':this[_0x1a85a4(0x381)][_0x1a85a4(0x231)](),'selection':Te[_0x1a85a4(0x3a0)](_0x560518,_0x5381d8[_0x1a85a4(0x1e8)])}};this[_0x1a85a4(0x381)]['send'](_0x47fcde,this['unitID']);},ot)),(this[_0x4bc849(0x26c)]=_0x1f793f,this[_0x4bc849(0x381)]=_0x86dd8d,this[_0x4bc849(0x39b)]=_0x410182,this[_0x4bc849(0x1a3)]=_0x5ac236,this[_0x4bc849(0x1a0)]=_0x5d441e,this[_0x4bc849(0x288)]=_0x3c970a,this[_0x4bc849(0x395)]=_0x3ddaee,this[_0x4bc849(0x1ee)]=_0x3ade6e);}get[_0x114f12(0x1a6)](){const _0x48d7c3=_0x114f12;return this['_cursorInfo$'][_0x48d7c3(0x397)]();}get[_0x114f12(0x194)](){return this['_roomMembers$']['getValue']();}[_0x114f12(0x2bc)](){const _0x2a1ad6=_0x114f12;super['dispose'](),this['_cursorInfo$'][_0x2a1ad6(0x157)](new Map()),this[_0x2a1ad6(0x23c)]['complete'](),this[_0x2a1ad6(0x36a)][_0x2a1ad6(0x157)]([]),this['_roomMembers$'][_0x2a1ad6(0x34f)]();}[_0x114f12(0x345)](){const _0x4f7f8b=_0x114f12;this[_0x4f7f8b(0x1f3)]||(this[_0x4f7f8b(0x1f3)]=!0x0,this[_0x4f7f8b(0x381)][_0x4f7f8b(0x344)][_0x4f7f8b(0x3bb)](d[_0x4f7f8b(0x23f)](this[_0x4f7f8b(0x350)]))['subscribe'](_0x51b246=>{const _0x5f06f1=_0x4f7f8b;_0x51b246===u[_0x5f06f1(0x389)][_0x5f06f1(0x34e)]?this[_0x5f06f1(0x329)]():this[_0x5f06f1(0x28a)]();}),this[_0x4f7f8b(0x381)][_0x4f7f8b(0x2b0)]['pipe'](d[_0x4f7f8b(0x23f)](this[_0x4f7f8b(0x350)]))[_0x4f7f8b(0x2d5)](_0x47eb11=>{const _0xaa3f28=_0x4f7f8b,_0x5b2e53=_0x47eb11[_0xaa3f28(0x2ba)];_0x5b2e53===m['CollaborationEvent'][_0xaa3f28(0x35e)]&&this[_0xaa3f28(0x1d0)](_0x47eb11),_0x5b2e53===m[_0xaa3f28(0x25f)][_0xaa3f28(0x252)]&&this[_0xaa3f28(0x219)](_0x47eb11);}),this['_onRefRangeChange'](),this[_0x4f7f8b(0x19c)](this[_0x4f7f8b(0x395)][_0x4f7f8b(0x1a7)](_0x56a069=>{const _0x2d6c00=_0x4f7f8b;if(this['_online']&&_0x56a069['id']===I[_0x2d6c00(0x382)]['id']&&_0x56a069['params'][_0x2d6c00(0x163)]===this['unitID']){const _0x850f8d=_0x56a069[_0x2d6c00(0x1e4)];this['_updateLocalCursor'](_0x850f8d[_0x2d6c00(0x171)],_0x850f8d['selections'][0x0]);}})));}[_0x114f12(0x1d0)](_0x467b66){const _0x3093e1=_0x114f12;var _0x1ff01f,_0x4f2d9f;const {memberID:_0x841551,selection:_0x2edbb8}=_0x467b66[_0x3093e1(0x174)],{sheetName:_0x371a0b,range:_0x5e63a2}=Te[_0x3093e1(0x222)](_0x2edbb8),_0x3fb3c4={'name':(_0x4f2d9f=(_0x1ff01f=this[_0x3093e1(0x1a0)][_0x3093e1(0x143)](this[_0x3093e1(0x26c)],_0x841551))==null?void 0x0:_0x1ff01f[_0x3093e1(0x17a)])!=null?_0x4f2d9f:_0x3093e1(0x2b6),'range':this['_getMergeRange'](_0x371a0b,_0x5e63a2),'sheetID':_0x371a0b,'color':this[_0x3093e1(0x1a3)]['assignAColorForMemberID'](_0x841551),'selection':_0x2edbb8},_0x5dd575=this[_0x3093e1(0x1a6)];_0x5dd575['set'](_0x841551,_0x3fb3c4),this['_cursorInfo$']['next'](_0x5dd575);}[_0x114f12(0x219)](_0x4c5422){const _0x12c882=_0x114f12,{memberID:_0x5bea39}=_0x4c5422['data'],_0x72c54f=this[_0x12c882(0x1a6)];_0x72c54f[_0x12c882(0x14c)](_0x5bea39),this[_0x12c882(0x23c)][_0x12c882(0x157)](_0x72c54f);}['_getMergeRange'](_0x2a5030,_0x51970d){const _0x2dc808=_0x114f12;var _0x44f518,_0x17b9e2;const _0x4cb0ea=(_0x17b9e2=(_0x44f518=this[_0x2dc808(0x288)][_0x2dc808(0x2b2)](this['unitID']))==null?void 0x0:_0x44f518[_0x2dc808(0x177)](_0x2a5030))==null?void 0x0:_0x17b9e2[_0x2dc808(0x247)]();return(_0x4cb0ea==null?void 0x0:_0x4cb0ea[_0x2dc808(0x2b7)](_0x59b0be=>a[_0x2dc808(0x23b)][_0x2dc808(0x3ad)](_0x59b0be,_0x51970d)))||_0x51970d;}[_0x114f12(0x20d)](){const _0x3b2da0=_0x114f12,_0x345990=new a['DisposableCollection'](),_0x1738f9=at(),_0x501271=()=>{const _0x4a9362=_0x7083;_0x345990[_0x4a9362(0x2bc)]();const _0x304f45=(_0x37569d,_0xdbfbd0,_0x1f00e0,_0x3ef7fe)=>{const _0xdf39bb=_0x4a9362;let _0x52f0cd=[];switch(_0x37569d['id']){case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x392)]:{_0x52f0cd=I[_0xdf39bb(0x293)](_0x37569d,_0x3ef7fe);break;}case I['EffectRefRangId'][_0xdf39bb(0x367)]:{_0x52f0cd=I[_0xdf39bb(0x255)](_0x37569d,_0x3ef7fe);break;}case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x1a2)]:{_0x52f0cd=I[_0xdf39bb(0x2f2)](_0x37569d,_0x3ef7fe);break;}case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x32c)]:{_0x52f0cd=I[_0xdf39bb(0x2d7)](_0x37569d,_0x3ef7fe);break;}case I['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x52f0cd=I[_0xdf39bb(0x275)](_0x37569d,_0x3ef7fe);break;}case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x2c7)]:{_0x52f0cd=I[_0xdf39bb(0x355)](_0x37569d,_0x3ef7fe);break;}case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x2e2)]:{_0x52f0cd=I[_0xdf39bb(0x30d)](_0x37569d,_0x3ef7fe);break;}case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x160)]:{_0x52f0cd=I[_0xdf39bb(0x2f8)](_0x37569d,_0x3ef7fe);break;}case I[_0xdf39bb(0x3ae)][_0xdf39bb(0x22a)]:{_0x52f0cd=I[_0xdf39bb(0x227)](_0x37569d,_0x3ef7fe);break;}}const _0x198dea=I[_0xdf39bb(0x1b4)](_0x52f0cd,_0x3ef7fe),_0x5ba7f3=this[_0xdf39bb(0x1a6)][_0xdf39bb(0x221)](_0xdbfbd0);if(_0x5ba7f3&&_0x198dea){const _0x19ca0e={..._0x5ba7f3,'range':_0x198dea};this[_0xdf39bb(0x1a6)]['set'](_0xdbfbd0,_0x19ca0e),_0x1738f9(()=>{const _0x3183d1=_0xdf39bb,_0x4caf16=this[_0x3183d1(0x1ee)]['registerRefRange'](_0x198dea,_0x5cd20b=>(_0x4caf16[_0x3183d1(0x2bc)](),_0x304f45(_0x5cd20b,_0xdbfbd0,_0x1f00e0,_0x198dea)));_0x345990[_0x3183d1(0x2fc)](_0x4caf16);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x169ab6,_0x4d4e57)=>{const _0x10a625=_0x4a9362,{range:_0x445f8a,sheetID:_0x1e4444}=_0x169ab6,_0x57c82a=this[_0x10a625(0x1ee)]['registerRefRange'](_0x445f8a,_0x2df06e=>(_0x57c82a[_0x10a625(0x2bc)](),_0x304f45(_0x2df06e,_0x4d4e57,_0x1e4444,_0x445f8a)));_0x345990[_0x10a625(0x2fc)](_0x57c82a);});};this[_0x3b2da0(0x19c)](a[_0x3b2da0(0x286)](this[_0x3b2da0(0x23c)][_0x3b2da0(0x2d5)](()=>{_0x501271();})));}[_0x114f12(0x329)](){const _0x4ad433=_0x114f12;var _0x4b9d45,_0x5c5f4f;if(this[_0x4ad433(0x21a)]=!0x0,((_0x4b9d45=this['_univerInstanceService'][_0x4ad433(0x24c)]())==null?void 0x0:_0x4b9d45[_0x4ad433(0x1f1)]())!==this[_0x4ad433(0x26c)])return;const _0x17f6f6=(_0x5c5f4f=this[_0x4ad433(0x39b)]['get'](I[_0x4ad433(0x215)])[_0x4ad433(0x24b)]())==null?void 0x0:_0x5c5f4f[0x0],_0x22ebb6=this[_0x4ad433(0x288)]['getCurrentUnitForType'](a[_0x4ad433(0x307)][_0x4ad433(0x267)])[_0x4ad433(0x186)]();_0x17f6f6&&_0x22ebb6&&this[_0x4ad433(0x2e4)](_0x22ebb6[_0x4ad433(0x300)](),_0x17f6f6);}['_toggleOffline'](){this['_online']=!0x1;}};ve=it([y(0x2,a['Inject'](a[_0x114f12(0x203)])),y(0x3,a['Inject'](Ce)),y(0x4,a[_0x114f12(0x2fe)](u[_0x114f12(0x1fd)])),y(0x5,a[_0x114f12(0x182)]),y(0x6,a['ICommandService']),y(0x7,a[_0x114f12(0x2fe)](I[_0x114f12(0x343)]))],ve);var ct=Object[_0x114f12(0x358)],lt=(_0x2da158,_0x531416,_0x128d25,_0x14f710)=>{for(var _0xecd3c4=_0x14f710>0x1?void 0x0:_0x14f710?ct(_0x531416,_0x128d25):_0x531416,_0x525027=_0x2da158['length']-0x1,_0x122bfb;_0x525027>=0x0;_0x525027--)(_0x122bfb=_0x2da158[_0x525027])&&(_0xecd3c4=_0x122bfb(_0xecd3c4)||_0xecd3c4);return _0xecd3c4;},ie=(_0x4e10da,_0x296921)=>(_0x593600,_0x42156c)=>_0x296921(_0x593600,_0x42156c,_0x4e10da);let x=class extends a[_0x114f12(0x1de)]{constructor(_0x5992f1,_0x5a3545,_0x19b70a){const _0x76b368=_0x114f12;super(),h(this,_0x76b368(0x298),new Map()),h(this,_0x76b368(0x249),new d[(_0x76b368(0x214))]()),(this[_0x76b368(0x288)]=_0x5992f1,this[_0x76b368(0x39b)]=_0x5a3545,this[_0x76b368(0x1f5)]=_0x19b70a,this[_0x76b368(0x1f3)]());}[_0x114f12(0x2bc)](){const _0x53ae7a=_0x114f12;super[_0x53ae7a(0x2bc)](),this[_0x53ae7a(0x249)][_0x53ae7a(0x34f)](),this[_0x53ae7a(0x298)]['forEach'](_0x575108=>_0x575108[_0x53ae7a(0x2bc)]());}[_0x114f12(0x289)](_0x2fcfcd){const _0x4c8f71=_0x114f12;return this[_0x4c8f71(0x298)][_0x4c8f71(0x3bc)](_0x2fcfcd)?this['_entities'][_0x4c8f71(0x221)](_0x2fcfcd)['cursorInfo$']:this[_0x4c8f71(0x249)][_0x4c8f71(0x3bb)](d[_0x4c8f71(0x1ff)](_0x703621=>_0x703621[_0x4c8f71(0x26c)]===_0x2fcfcd),d[_0x4c8f71(0x167)](_0x25c465=>_0x25c465[_0x4c8f71(0x2ae)]));}[_0x114f12(0x1f3)](){const _0x34f202=_0x114f12;this['_univerInstanceService'][_0x34f202(0x333)](a[_0x34f202(0x307)]['UNIVER_SHEET'])[_0x34f202(0x3bb)](d['takeUntil'](this[_0x34f202(0x350)]))['subscribe'](async _0x13cb50=>{const _0x56cba7=_0x34f202,_0x47297f=_0x13cb50[_0x56cba7(0x1f1)](),_0x81071d=await this[_0x56cba7(0x204)](_0x47297f);this[_0x56cba7(0x249)][_0x56cba7(0x157)](_0x81071d),this[_0x56cba7(0x298)][_0x56cba7(0x2a3)](_0x47297f,_0x81071d);}),this[_0x34f202(0x288)][_0x34f202(0x333)](a[_0x34f202(0x307)][_0x34f202(0x240)])['pipe'](d[_0x34f202(0x23f)](this[_0x34f202(0x350)]))[_0x34f202(0x3bb)](d['filter'](_0xd24151=>!_0xd24151['getUnitId']()[_0x34f202(0x148)]('__')))[_0x34f202(0x2d5)](async _0x72a6a0=>{const _0x2754c1=_0x34f202,_0x58605b=_0x72a6a0[_0x2754c1(0x1f1)](),_0x2b32a0=await this[_0x2754c1(0x311)](_0x58605b);this[_0x2754c1(0x249)][_0x2754c1(0x157)](_0x2b32a0),this['_entities'][_0x2754c1(0x2a3)](_0x58605b,_0x2b32a0);}),d['merge'](this[_0x34f202(0x288)][_0x34f202(0x365)](a[_0x34f202(0x307)][_0x34f202(0x240)]),this[_0x34f202(0x288)][_0x34f202(0x365)](a[_0x34f202(0x307)][_0x34f202(0x267)]))[_0x34f202(0x3bb)](d[_0x34f202(0x23f)](this[_0x34f202(0x350)]))[_0x34f202(0x2d5)](_0x4e5ac1=>{const _0x2f5ffd=_0x34f202,_0x1f40c7=_0x4e5ac1[_0x2f5ffd(0x1f1)](),_0x1a0c33=this['_entities'][_0x2f5ffd(0x221)](_0x1f40c7);_0x1a0c33&&(_0x1a0c33[_0x2f5ffd(0x2bc)](),this[_0x2f5ffd(0x298)]['delete'](_0x1f40c7));});}async[_0x114f12(0x204)](_0x21ee7b){const _0x3969cd=_0x114f12,_0x416364=await this['_collabSessionService'][_0x3969cd(0x396)](_0x21ee7b),_0x451aea=this[_0x3969cd(0x39b)][_0x3969cd(0x325)](ve,_0x21ee7b,_0x416364);return _0x451aea[_0x3969cd(0x345)](),_0x451aea;}async[_0x114f12(0x311)](_0x560dd1){const _0x24f440=_0x114f12,_0x1d6053=await this[_0x24f440(0x1f5)][_0x24f440(0x396)](_0x560dd1),_0x153339=this[_0x24f440(0x39b)][_0x24f440(0x325)](Se,_0x560dd1,_0x1d6053);return _0x153339['init'](),_0x153339;}};x=lt([ie(0x0,a[_0x114f12(0x182)]),ie(0x1,a[_0x114f12(0x2fe)](a['Injector'])),ie(0x2,a['Inject'](u[_0x114f12(0x33c)]))],x);const K=0x14,De=0xc8,re=0x4,ht=0x5;function _t(_0x164df3,_0x1f6af4){const _0x58cd6b=_0x114f12;let {radius:_0x4329be,width:_0x40f98b,height:_0x15d4b5}=_0x1f6af4;_0x4329be=_0x4329be!=null?_0x4329be:0x0,_0x40f98b=_0x40f98b!=null?_0x40f98b:0x1e,_0x15d4b5=_0x15d4b5!=null?_0x15d4b5:0x1e;let _0x463ccc=0x0,_0x4ba3a3=0x0,_0xe69071=0x0;_0x463ccc=_0x4ba3a3=_0xe69071=Math[_0x58cd6b(0x216)](_0x4329be,_0x40f98b/0x2,_0x15d4b5/0x2),_0x164df3['beginPath'](),_0x164df3[_0x58cd6b(0x248)](_0x463ccc,0x0),_0x164df3['lineTo'](_0x40f98b-_0x4ba3a3,0x0),_0x164df3[_0x58cd6b(0x2d4)](_0x40f98b-_0x4ba3a3,_0x4ba3a3,_0x4ba3a3,Math['PI']*0x3/0x2,0x0,!0x1),_0x164df3['lineTo'](_0x40f98b,_0x15d4b5-_0xe69071),_0x164df3[_0x58cd6b(0x2d4)](_0x40f98b-_0xe69071,_0x15d4b5-_0xe69071,_0xe69071,0x0,Math['PI']/0x2,!0x1),_0x164df3['lineTo'](0x0,_0x15d4b5),_0x164df3[_0x58cd6b(0x193)](0x0,_0x463ccc),_0x164df3[_0x58cd6b(0x2d4)](_0x463ccc,_0x463ccc,_0x463ccc,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x164df3[_0x58cd6b(0x27d)](),_0x1f6af4[_0x58cd6b(0x2a9)]&&(_0x164df3[_0x58cd6b(0x278)](),_0x164df3['fillStyle']=_0x1f6af4[_0x58cd6b(0x2a9)],_0x1f6af4[_0x58cd6b(0x1e1)]==='evenodd'?_0x164df3['fill']('evenodd'):_0x164df3['fill'](),_0x164df3[_0x58cd6b(0x16e)]());}class te extends p[_0x114f12(0x14f)]{constructor(_0x182dc2,_0x10b4c5){const _0x4f3576=_0x114f12;super(_0x182dc2,_0x10b4c5),h(this,'color'),h(this,'text'),(this[_0x4f3576(0x3a9)]=_0x10b4c5==null?void 0x0:_0x10b4c5['color'],this[_0x4f3576(0x243)]=_0x10b4c5==null?void 0x0:_0x10b4c5[_0x4f3576(0x243)]);}static[_0x114f12(0x294)](_0x166e81,_0x40cc49){const _0x361b72=_0x114f12,{text:_0x21cb72,color:_0x1efc29}=_0x40cc49;_0x166e81[_0x361b72(0x278)](),_0x166e81[_0x361b72(0x165)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x208ac0=_0x166e81[_0x361b72(0x31a)](_0x21cb72)[_0x361b72(0x3ac)],_0x2643b4=Math[_0x361b72(0x216)](_0x208ac0+0x2*re,De);_t(_0x166e81,{'height':K,'radius':0x4,'width':_0x2643b4,'fill':_0x1efc29}),_0x166e81['fillStyle']=_0x361b72(0x277);const _0x370d42=re,_0x10611a=K-ht,_0x74c6a4=De-0x2*re;if(_0x208ac0>_0x74c6a4){let _0x34dc96='',_0x5d31ca=0x0;for(const _0x3a866a of _0x21cb72){const _0x56e124=_0x166e81[_0x361b72(0x31a)](_0x3a866a)[_0x361b72(0x3ac)];if(_0x5d31ca+_0x56e124<=_0x74c6a4-_0x166e81['measureText'](_0x361b72(0x3b1))[_0x361b72(0x3ac)])_0x34dc96+=_0x3a866a,_0x5d31ca+=_0x56e124;else{_0x34dc96+=_0x361b72(0x3b1);break;}}_0x166e81['fillText'](_0x34dc96,_0x370d42,_0x10611a);}else _0x166e81[_0x361b72(0x190)](_0x21cb72,_0x370d42,_0x10611a);_0x166e81[_0x361b72(0x16e)]();}[_0x114f12(0x3a4)](_0x5c2c13){const _0x91a74a=_0x114f12;te[_0x91a74a(0x294)](_0x5c2c13,this);}}const oe=_0x114f12(0x1c9),ut=_0x114f12(0x173),dt=_0x114f12(0x30b),B=0x6,ft=1.5,ae=0x4,St=1.5,vt=_0x114f12(0x1c6);class Ue{constructor(_0x256bcd,_0x9dfc6f,_0x459d26,_0x52bc2f){const _0x3f2ed7=_0x114f12;h(this,'_shapes',[]),h(this,_0x3f2ed7(0x206),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,'_hideTimer',null),h(this,'_eventUnsubscribe',null),(this[_0x3f2ed7(0x2e0)]=_0x256bcd,this[_0x3f2ed7(0x378)]=_0x9dfc6f,this[_0x3f2ed7(0x33a)]=_0x459d26,this[_0x3f2ed7(0x25a)]=_0x52bc2f,this[_0x3f2ed7(0x25d)]());}set[_0x114f12(0x264)](_0x50f056){const _0x3eb8e7=_0x114f12;_0x50f056?(this['_anchorDot']&&this[_0x3eb8e7(0x1ea)][_0x3eb8e7(0x147)](),this[_0x3eb8e7(0x235)]&&this[_0x3eb8e7(0x235)]['show']()):(this[_0x3eb8e7(0x1ea)]&&this['_anchorDot'][_0x3eb8e7(0x187)](),this['_textBubble']&&this[_0x3eb8e7(0x235)]['hide']());}[_0x114f12(0x2bc)](){const _0x3b96be=_0x114f12;for(const _0x461d3b of this['_shapes'])_0x461d3b[_0x3b96be(0x2bc)]();this[_0x3b96be(0x235)]&&this[_0x3b96be(0x235)]['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x3b96be(0x2bc)](),this[_0x3b96be(0x206)]&&this[_0x3b96be(0x206)][_0x3b96be(0x2bc)](),this['_eventUnsubscribe']&&this[_0x3b96be(0x2c9)]();}[_0x114f12(0x25d)](){const _0x1dd08f=_0x114f12;var _0x72891b;const {_docSkeleton:_0x389667,_document:_0x5f3ed1}=this,{color:_0x4fe577,name:_0x2bdaae,ranges:_0x1571d7}=this[_0x1dd08f(0x2e0)],_0x2e0048=_0x5f3ed1[_0x1dd08f(0x39d)](),{docsLeft:_0x13685f,docsTop:_0x42cf56}=_0x2e0048,_0x390ea8=new b['NodePositionConvertToCursor'](_0x2e0048,_0x389667);for(const {startOffset:_0x4597d6,endOffset:_0x120535,rangeType:_0x3445c7,segmentId:_0x536483,segmentPage:_0x2049f4,collapsed:_0x556a76,isActive:_0x5b8ef9}of _0x1571d7){const _0x3e367c=_0x389667[_0x1dd08f(0x3ba)](_0x4597d6,!0x0,_0x536483,_0x2049f4);let _0x32a893=_0x389667[_0x1dd08f(0x3ba)](_0x120535,!0x0,_0x536483,_0x2049f4);if(_0x32a893==null&&(_0x32a893=_0x389667[_0x1dd08f(0x3ba)](_0x120535-0x1,!0x1,_0x536483,_0x2049f4)),_0x5b8ef9){const {contentBoxPointGroup:_0x390fb4}=_0x390ea8[_0x1dd08f(0x3b2)](_0x32a893,_0x32a893);if(_0x390fb4[_0x1dd08f(0x200)]===0x0)continue;this['_drawAnchor'](_0x4fe577,_0x390fb4,_0x13685f,_0x42cf56,_0x2bdaae),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x3e367c&&_0x32a893){if(_0x3445c7===a[_0x1dd08f(0x2ab)]['RECT']){const _0x268a56=new b['NodePositionConvertToRectRange'](_0x2e0048,_0x389667),{pointGroup:_0x30691e}=(_0x72891b=_0x268a56['getRangePointData'](_0x3e367c,_0x32a893))!=null?_0x72891b:{};if(_0x30691e==null||_0x30691e[_0x1dd08f(0x200)]===0x0)continue;this[_0x1dd08f(0x18f)](_0x4fe577,_0x30691e,_0x13685f,_0x42cf56);}else{if(!_0x556a76){const {borderBoxPointGroup:_0x3e110c}=_0x390ea8[_0x1dd08f(0x3b2)](_0x3e367c,_0x32a893);if(_0x3e110c['length']===0x0)continue;this['_drawTextRange'](_0x4fe577,_0x3e110c,_0x13685f,_0x42cf56);}}}}}[_0x114f12(0x19a)](_0x27d2e1,_0x5a21ce,_0x32c868,_0x295ab0,_0x2c0e9b){const _0x1278ef=_0x114f12,_0x53c8f2=this[_0x1278ef(0x284)](_0x5a21ce),{left:_0x52922f,top:_0x32ae0b,height:_0x304c10}=_0x53c8f2,_0x362fd7=this['_getScale'](),_0x7960c5=St/_0x362fd7,_0x5db83a=new p['Rect'](oe+a[_0x1278ef(0x39e)][_0x1278ef(0x1b9)](B),{'left':_0x52922f+_0x32c868-_0x7960c5,'top':_0x32ae0b+_0x295ab0,'height':_0x304c10,'width':ft,'fill':_0x27d2e1||p['getColor'](a[_0x1278ef(0x1dd)][_0x1278ef(0x237)],0x0),'strokeWidth':_0x7960c5,'stroke':vt,'evented':!0x0});this['_anchor']=_0x5db83a,this[_0x1278ef(0x378)][_0x1278ef(0x32b)](_0x5db83a,b['TEXT_RANGE_LAYER_INDEX']);const _0x86200a=new p[(_0x1278ef(0x2a5))](oe+a[_0x1278ef(0x39e)][_0x1278ef(0x1b9)](B),{'left':_0x52922f+_0x32c868-_0x7960c5,'top':_0x32ae0b+_0x295ab0-ae/0x2,'height':ae,'width':ae,'fill':_0x27d2e1||p[_0x1278ef(0x385)](a[_0x1278ef(0x1dd)][_0x1278ef(0x237)],0x0),'strokeWidth':0x0,'stroke':_0x27d2e1||p['getColor'](a['COLORS'][_0x1278ef(0x237)],0x0),'evented':!0x1});this['_anchorDot']=_0x86200a,this['_scene']['addObject'](_0x86200a,b[_0x1278ef(0x2da)]);const _0x517b31=new te(oe+a['Tools'][_0x1278ef(0x1b9)](B),{'left':_0x52922f+_0x32c868-_0x7960c5,'top':_0x32ae0b+_0x295ab0-K,'text':_0x2c0e9b,'color':_0x27d2e1});this['_textBubble']=_0x517b31,this[_0x1278ef(0x378)][_0x1278ef(0x32b)](_0x517b31,b[_0x1278ef(0x2da)]),this[_0x1278ef(0x264)]=!0x1;}[_0x114f12(0x2d3)](){const _0x4276d5=_0x114f12,_0x219c19=this[_0x4276d5(0x206)][_0x4276d5(0x1b1)][_0x4276d5(0x291)](()=>{this['_hover']=!0x0;}),_0x20139e=this[_0x4276d5(0x206)]['onPointerLeave$'][_0x4276d5(0x291)](()=>{const _0xd71a7b=_0x4276d5;this[_0xd71a7b(0x250)]&&clearTimeout(this[_0xd71a7b(0x250)]),this[_0xd71a7b(0x250)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x254a8b=_0x4276d5;_0x219c19[_0x254a8b(0x384)](),_0x20139e[_0x254a8b(0x384)]();};}[_0x114f12(0x31e)](_0x18098a,_0x47163f,_0x39361e,_0x28df47){const _0x324d29=_0x114f12,_0xd4be8f=new a[(_0x324d29(0x2e1))](_0x18098a)[_0x324d29(0x280)](0.2)[_0x324d29(0x238)](),_0x2ecce8=new p['RegularPolygon'](ut+a[_0x324d29(0x39e)]['generateRandomId'](B),{'pointsGroup':_0x47163f,'fill':_0xd4be8f||p['getColor'](a[_0x324d29(0x1dd)][_0x324d29(0x237)],0.2),'left':_0x39361e,'top':_0x28df47,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x324d29(0x32e)](_0x2ecce8),this['_scene']['addObject'](_0x2ecce8,b[_0x324d29(0x2da)]);}[_0x114f12(0x18f)](_0x6a4865,_0x51cc70,_0x30c626,_0x2617b2){const _0x690d51=_0x114f12,_0x4aaeea=new a['ColorKit'](_0x6a4865)[_0x690d51(0x280)](0.2)['toRgbString'](),_0x5ab06e=new p[(_0x690d51(0x338))](dt+a[_0x690d51(0x39e)][_0x690d51(0x1b9)](B),{'pointsGroup':_0x51cc70,'fill':_0x4aaeea||p[_0x690d51(0x385)](a[_0x690d51(0x1dd)][_0x690d51(0x237)],0.2),'left':_0x30c626,'top':_0x2617b2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5ab06e),this[_0x690d51(0x378)][_0x690d51(0x32b)](_0x5ab06e,b[_0x690d51(0x2da)]);}[_0x114f12(0x284)](_0x125376){const _0x5dda90=_0x125376[0x0],_0x10dfaf=_0x5dda90[0x0],_0x30b566=_0x5dda90[0x2],{x:_0x564dd9,y:_0x5b84bf}=_0x10dfaf,{x:_0x39d7c8,y:_0x405e3b}=_0x30b566;return{'left':_0x564dd9,'top':_0x5b84bf,'width':_0x39d7c8-_0x564dd9,'height':_0x405e3b-_0x5b84bf};}[_0x114f12(0x152)](){const _0x458a6f=_0x114f12,{scaleX:_0xaf13dd,scaleY:_0x382390}=this[_0x458a6f(0x378)][_0x458a6f(0x2b4)]();return Math['max'](_0xaf13dd,_0x382390);}}var gt=Object[_0x114f12(0x358)],It=(_0x9a48ac,_0x17d577,_0x503e18,_0x558920)=>{const _0x10ce9b=_0x114f12;for(var _0x590982=_0x558920>0x1?void 0x0:_0x558920?gt(_0x17d577,_0x503e18):_0x17d577,_0x210623=_0x9a48ac[_0x10ce9b(0x200)]-0x1,_0x1593dd;_0x210623>=0x0;_0x210623--)(_0x1593dd=_0x9a48ac[_0x210623])&&(_0x590982=_0x1593dd(_0x590982)||_0x590982);return _0x590982;},X=(_0x5c10b8,_0x37e240)=>(_0x5e4f0b,_0x2d0858)=>_0x37e240(_0x5e4f0b,_0x2d0858,_0x5c10b8);let ge=class extends a[_0x114f12(0x1de)]{constructor(_0x3b4d2a,_0x1ce08e,_0x4cdcd8,_0x5d8da2,_0x213a90){const _0x3da0de=_0x114f12;super(),h(this,_0x3da0de(0x1e6),[]),h(this,'_cursors',[]),(this[_0x3da0de(0x1d3)]=_0x3b4d2a,this[_0x3da0de(0x1f8)]=_0x1ce08e,this[_0x3da0de(0x391)]=_0x4cdcd8,this[_0x3da0de(0x395)]=_0x5d8da2,this[_0x3da0de(0x3aa)]=_0x213a90,this[_0x3da0de(0x1f3)]());}[_0x114f12(0x1f3)](){const _0x53f57b=_0x114f12,_0x28bdae=this[_0x53f57b(0x1d3)][_0x53f57b(0x163)],_0x64cf51=this['_docSkeletonManagerService'];this[_0x53f57b(0x19c)](d[_0x53f57b(0x326)]([this[_0x53f57b(0x391)]['getCollabCursors$'](_0x28bdae),this[_0x53f57b(0x3aa)][_0x53f57b(0x364)]])[_0x53f57b(0x3bb)]($[_0x53f57b(0x210)](([_0x296a59,_0x262e1d])=>({'skeleton':_0x64cf51['getSkeleton'](),'cursors':[..._0x296a59[_0x53f57b(0x3a7)]()][_0x53f57b(0x236)](_0x1fd9bf=>({..._0x1fd9bf,'color':_0x262e1d[_0x1fd9bf[_0x53f57b(0x3a9)]]}))})))[_0x53f57b(0x2d5)](_0x5efef0=>{const _0x46eb50=_0x53f57b;if(this[_0x46eb50(0x27f)](),_0x5efef0){const {skeleton:_0x713223,cursors:_0x167a3a}=_0x5efef0;this[_0x46eb50(0x35f)](_0x713223,_0x167a3a);}})),this[_0x53f57b(0x376)](),this[_0x53f57b(0x1e2)]();}[_0x114f12(0x35f)](_0x21705c,_0xa52c94){const _0x1681d1=_0x114f12,{scene:_0x1cf146,mainComponent:_0x2ec710}=this[_0x1681d1(0x1d3)],_0x3c3e0b=_0xa52c94[_0x1681d1(0x210)](_0x3ce460=>new Ue(_0x3ce460,_0x1cf146,_0x21705c,_0x2ec710));this[_0x1681d1(0x1e6)]=_0x3c3e0b,this[_0x1681d1(0x212)]=_0xa52c94;}[_0x114f12(0x205)](){const _0xaa6672=_0x114f12;this[_0xaa6672(0x27f)]();const {scene:_0x2d4ca3,mainComponent:_0x378845}=this[_0xaa6672(0x1d3)],_0x67db8d=this[_0xaa6672(0x1f8)][_0xaa6672(0x20f)](),_0x5db824=this[_0xaa6672(0x212)]['map'](_0x5162f8=>new Ue(_0x5162f8,_0x2d4ca3,_0x67db8d,_0x378845));this[_0xaa6672(0x1e6)]=_0x5db824;}['_removeCollabCursors'](){const _0x139614=_0x114f12;this['_cursorShapes'][_0x139614(0x341)](_0x20101e=>_0x20101e[_0x139614(0x2bc)]()),this[_0x139614(0x1e6)]=[];}[_0x114f12(0x1e2)](){const _0x274720=_0x114f12,_0x25ea12=[b[_0x274720(0x2ac)]['id']];this['disposeWithMe'](this[_0x274720(0x395)]['onCommandExecuted'](_0x24ca7a=>{const _0x489aa4=_0x274720;_0x25ea12[_0x489aa4(0x398)](_0x24ca7a['id'])&&_0x24ca7a[_0x489aa4(0x1e4)][_0x489aa4(0x163)]===this['_context']['unitId']&&this[_0x489aa4(0x205)]();}));}['_initResize'](){const _0x57f59b=_0x114f12;this[_0x57f59b(0x19c)](a[_0x57f59b(0x272)](this[_0x57f59b(0x1d3)][_0x57f59b(0x211)][_0x57f59b(0x3bd)])[_0x57f59b(0x3bb)]($[_0x57f59b(0x1ff)](_0x55b4c8=>_0x55b4c8['type']===p[_0x57f59b(0x27b)][_0x57f59b(0x38d)]),$[_0x57f59b(0x303)](0x10))[_0x57f59b(0x2d5)](()=>{const _0x4e71fa=_0x57f59b;this[_0x4e71fa(0x205)]();}));}};ge=It([X(0x1,a[_0x114f12(0x2fe)](Y[_0x114f12(0x2d8)])),X(0x2,a['Inject'](x)),X(0x3,a['ICommandService']),X(0x4,a[_0x114f12(0x2fe)](a[_0x114f12(0x196)]))],ge);const mt=0x1,Ct=1.5;class ye extends p['Shape']{constructor(_0x31abe6,_0x434cbb){const _0x5622b4=_0x114f12;super(_0x31abe6,_0x434cbb),h(this,_0x5622b4(0x26f)),h(this,_0x5622b4(0x183),!0x1),h(this,'_range'),h(this,_0x5622b4(0x356),''),h(this,'_labelPosition',_0x5622b4(0x1d8)),h(this,_0x5622b4(0x2cf)),(_0x434cbb&&this[_0x5622b4(0x2bf)](_0x434cbb),this['onPointerEnter$'][_0x5622b4(0x291)](()=>this[_0x5622b4(0x2bf)]({'hovered':!0x0})),this[_0x5622b4(0x178)][_0x5622b4(0x291)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x114f12(0x2bf)](_0x19d4e4){const _0x2769c0=_0x114f12;var _0x13707c,_0x266e14,_0x3e475b,_0x3633b7,_0x2f70a0,_0x26152c;this[_0x2769c0(0x26f)]=(_0x13707c=_0x19d4e4[_0x2769c0(0x3a9)])!=null?_0x13707c:this[_0x2769c0(0x26f)],this[_0x2769c0(0x183)]=(_0x266e14=_0x19d4e4[_0x2769c0(0x1f0)])!=null?_0x266e14:this[_0x2769c0(0x183)],this[_0x2769c0(0x331)]=(_0x3e475b=_0x19d4e4[_0x2769c0(0x1e8)])!=null?_0x3e475b:this[_0x2769c0(0x331)],this[_0x2769c0(0x356)]=(_0x3633b7=_0x19d4e4[_0x2769c0(0x17a)])!=null?_0x3633b7:this[_0x2769c0(0x356)],this[_0x2769c0(0x37b)]=(_0x2f70a0=_0x19d4e4[_0x2769c0(0x1f6)])!=null?_0x2f70a0:this[_0x2769c0(0x37b)],this['_backgroundColor']=(_0x26152c=_0x19d4e4[_0x2769c0(0x282)])!=null?_0x26152c:this[_0x2769c0(0x2cf)],this[_0x2769c0(0x17c)]({'width':_0x19d4e4[_0x2769c0(0x3ac)],'height':_0x19d4e4[_0x2769c0(0x256)]});}[_0x114f12(0x28b)](_0x49022a){const _0x4a5b0f=_0x114f12,{row:_0x22cb75,column:_0x4785c5}=_0x49022a;if(_0x22cb75>=this['_range'][_0x4a5b0f(0x1d1)]&&_0x22cb75<=this[_0x4a5b0f(0x331)][_0x4a5b0f(0x36b)]&&_0x4785c5>=this[_0x4a5b0f(0x331)][_0x4a5b0f(0x273)]&&_0x4785c5<=this[_0x4a5b0f(0x331)][_0x4a5b0f(0x263)]){this[_0x4a5b0f(0x2bf)]({'hovered':!0x0});return;}this[_0x4a5b0f(0x2bf)]({'hovered':!0x1});}[_0x114f12(0x2df)](_0x93e055){return!0x1;}[_0x114f12(0x3a4)](_0x1aea09){const _0x8726a9=_0x114f12;p[_0x8726a9(0x2a5)][_0x8726a9(0x294)](_0x1aea09,{'width':this[_0x8726a9(0x3ac)],'height':this[_0x8726a9(0x256)],'strokeWidth':Ct,'stroke':this[_0x8726a9(0x26f)],'evented':!0x1,'fill':this[_0x8726a9(0x2cf)]}),this[_0x8726a9(0x183)]&&(_0x1aea09[_0x8726a9(0x278)](),_0x1aea09['transform'](0x1,0x0,0x0,0x1,this[_0x8726a9(0x3ac)],this['_labelPosition']===_0x8726a9(0x1fb)?0x0:-0x14),te['drawWith'](_0x1aea09,{'text':this[_0x8726a9(0x356)],'color':this['_color']}),_0x1aea09[_0x8726a9(0x16e)]());}}var pt=Object['getOwnPropertyDescriptor'],bt=(_0x4ed15e,_0x56435a,_0x228757,_0x6caf1a)=>{for(var _0x418bab=_0x6caf1a>0x1?void 0x0:_0x6caf1a?pt(_0x56435a,_0x228757):_0x56435a,_0x390d01=_0x4ed15e['length']-0x1,_0x33dddc;_0x390d01>=0x0;_0x390d01--)(_0x33dddc=_0x4ed15e[_0x390d01])&&(_0x418bab=_0x33dddc(_0x418bab)||_0x418bab);return _0x418bab;},ce=(_0x30571a,_0xe89e03)=>(_0x4a9495,_0x24f212)=>_0xe89e03(_0x4a9495,_0x24f212,_0x30571a);const Et=0x1389;let Ie=class extends a['RxDisposable']{constructor(_0x4d265d,_0x43e5b7,_0x352ed7,_0x127d06){const _0x2e790a=_0x114f12;super(),h(this,'_cursors',new Set()),h(this,_0x2e790a(0x1df),null),(this['_context']=_0x4d265d,this['_sheetSkeletonManagerService']=_0x43e5b7,this[_0x2e790a(0x391)]=_0x352ed7,this['_themeService']=_0x127d06,this[_0x2e790a(0x1f3)]());}[_0x114f12(0x1f3)](){const _0xc051eb=_0x114f12;this[_0xc051eb(0x224)][_0xc051eb(0x368)]['pipe']($[_0xc051eb(0x23f)](this[_0xc051eb(0x350)]),$[_0xc051eb(0x167)](_0x5a7fb5=>{const _0x574ac4=_0xc051eb;if(_0x5a7fb5){const _0x34f76f=_0x5a7fb5[_0x574ac4(0x24f)];return d[_0x574ac4(0x326)](this[_0x574ac4(0x391)][_0x574ac4(0x289)](this[_0x574ac4(0x1d3)][_0x574ac4(0x163)]),this[_0x574ac4(0x3aa)][_0x574ac4(0x364)])['pipe']($[_0x574ac4(0x210)](([_0x210647,_0x16414d])=>{const _0x3a81bc=_0x574ac4,_0x5d6bea=new Map();return _0x210647[_0x3a81bc(0x341)]((_0x39a1ae,_0x3a5da5)=>{const _0x261a36=_0x3a81bc;if(_0x39a1ae[_0x261a36(0x335)]===_0x34f76f){const _0x13d35c={..._0x39a1ae};_0x13d35c[_0x261a36(0x3a9)]=_0x16414d[_0x39a1ae[_0x261a36(0x3a9)]],_0x5d6bea[_0x261a36(0x2a3)](_0x3a5da5,_0x13d35c);}}),{'skeleton':_0x5a7fb5,'cursors':_0x5d6bea};}));}return d['of']({'skeleton':null,'cursors':new Map()});}))[_0xc051eb(0x2d5)](({skeleton:_0x5c4389,cursors:_0x327baf})=>{const _0x3307c4=_0xc051eb;this[_0x3307c4(0x27f)](),_0x5c4389&&this[_0x3307c4(0x35f)](_0x5c4389,_0x327baf);}),this[_0xc051eb(0x224)][_0xc051eb(0x368)]['subscribe'](_0x564a13=>{const _0x11e796=_0xc051eb;if(_0x564a13==null)return;const {skeleton:_0x13877b}=_0x564a13,{scene:_0x319a68}=this[_0x11e796(0x1d3)];_0x319a68[_0x11e796(0x301)][_0x11e796(0x291)](a[_0x11e796(0x239)](_0xeab0d9=>{const _0x1d8c38=_0x11e796;var _0xc55134,_0x2d08de;const {offsetX:_0x521a8a,offsetY:_0x30ec86}=_0xeab0d9,{x:_0x341a14,y:_0x5345b3}=_0x319a68[_0x1d8c38(0x2d6)](p[_0x1d8c38(0x29c)][_0x1d8c38(0x207)]([_0x521a8a,_0x30ec86])),{scaleX:_0x322dc2,scaleY:_0xeb165}=_0x319a68[_0x1d8c38(0x2b4)](),_0x17f66d=_0x319a68[_0x1d8c38(0x35b)](p[_0x1d8c38(0x3a5)]['VIEW_MAIN']),_0x4bd44b=_0x319a68['getVpScrollXYInfoByPosToVp'](p['Vector2'][_0x1d8c38(0x207)]([_0x341a14,_0x5345b3]),_0x17f66d),_0x44c30a=_0x13877b['getCellPositionByOffset'](_0x521a8a,_0x30ec86,_0x322dc2,_0xeb165,_0x4bd44b);((_0xc55134=this['_lastPointer'])==null?void 0x0:_0xc55134[_0x1d8c38(0x387)])===_0x44c30a[_0x1d8c38(0x387)]&&((_0x2d08de=this[_0x1d8c38(0x1df)])==null?void 0x0:_0x2d08de[_0x1d8c38(0x296)])===_0x44c30a[_0x1d8c38(0x296)]||this['_cursors'][_0x1d8c38(0x341)](_0x580c39=>{const _0x446229=_0x1d8c38;_0x580c39[_0x446229(0x28b)](_0x44c30a);});},0x64));});}[_0x114f12(0x35f)](_0x54364a,_0x331b0e){const _0x5f46e8=_0x114f12;var _0xbbe5e9;const _0x1d207e=(_0xbbe5e9=this['_sheetSkeletonManagerService'][_0x5f46e8(0x144)]())==null?void 0x0:_0xbbe5e9[_0x5f46e8(0x354)];if(!_0x1d207e)return;const _0xe87abc=this['_getSheetObject']();if(!_0xe87abc)return;this[_0x5f46e8(0x212)][_0x5f46e8(0x341)](_0x339158=>{_0x339158['makeDirty']();});const {scene:_0x5517aa}=_0xe87abc,_0x22a2f4=Tt(Array[_0x5f46e8(0x366)](_0x331b0e[_0x5f46e8(0x3a7)]()))[_0x5f46e8(0x210)](_0x3c1f25=>{const _0x44497c=_0x5f46e8,{color:_0x492567,range:_0x98d2ee,name:_0x491b12,selection:_0x27d889,sheetID:_0x95967c}=_0x3c1f25,{startColumn:_0x295f2c,startRow:_0x1b8134,endColumn:_0x26edda,endRow:_0xbc45b6}=_0x98d2ee,_0x2624fb=G['getCoordByCell'](_0x1b8134,_0x295f2c,_0x5517aa,_0x1d207e),_0x696031=G['getCoordByCell'](_0xbc45b6,_0x26edda,_0x5517aa,_0x1d207e),{columnHeaderHeightAndMarginTop:_0x298384}=_0x1d207e,{startX:_0x19f92d,startY:_0x17220a}=_0x2624fb,{endX:_0x533e81,endY:_0x208e22}=_0x696031,_0x4750d=_0x533e81-_0x19f92d,_0x25c1cb=_0x208e22-_0x17220a,_0x2f2ab1={'labelPosition':_0x17220a-_0x298384>=K?_0x44497c(0x1d8):_0x44497c(0x1fb),'sheetID':_0x95967c,'range':_0x98d2ee,'color':_0x492567,'name':_0x491b12,'selection':_0x27d889,'left':_0x19f92d,'top':_0x17220a,'width':_0x4750d,'height':_0x25c1cb,'evented':!0x1,'zIndex':Et};return new ye(_0x491b12,_0x2f2ab1);});_0x5517aa['addObjects'](_0x22a2f4,mt),this['_cursors']=new Set(_0x22a2f4);}['_removeCollabCursors'](){const _0x1a4c8a=_0x114f12;var _0x2909e3;(_0x2909e3=this[_0x1a4c8a(0x212)])==null||_0x2909e3[_0x1a4c8a(0x341)](_0x38a9ef=>_0x38a9ef[_0x1a4c8a(0x2bc)]());}[_0x114f12(0x399)](){const _0x140732=_0x114f12;return G[_0x140732(0x19b)](this[_0x140732(0x1d3)][_0x140732(0x19e)],this[_0x140732(0x1d3)]);}};Ie=bt([ce(0x1,a[_0x114f12(0x2fe)](G[_0x114f12(0x271)])),ce(0x2,a[_0x114f12(0x2fe)](x)),ce(0x3,a[_0x114f12(0x2fe)](a[_0x114f12(0x196)]))],Ie);function Tt(_0x4723e2){const _0xdd8e57=_0x114f12,_0x4716b1=new Map();return _0x4723e2[_0xdd8e57(0x341)](_0x6d62e5=>{const _0x1fac12=_0xdd8e57;if(_0x4716b1[_0x1fac12(0x3bc)](_0x6d62e5[_0x1fac12(0x1f7)])){const _0x2479bd=_0x4716b1['get'](_0x6d62e5[_0x1fac12(0x1f7)]);_0x2479bd[_0x1fac12(0x17a)]+=',\x20'+_0x6d62e5['name'];}else _0x4716b1['set'](_0x6d62e5[_0x1fac12(0x1f7)],_0x6d62e5);}),Array[_0xdd8e57(0x366)](_0x4716b1[_0xdd8e57(0x3a7)]());}var E=function(){const _0x109e18=_0x114f12;return E=Object[_0x109e18(0x145)]||function(_0x338374){const _0x9370cb=_0x109e18;for(var _0x373ab0,_0x14c820=0x1,_0x13461e=arguments[_0x9370cb(0x200)];_0x14c820<_0x13461e;_0x14c820++){_0x373ab0=arguments[_0x14c820];for(var _0x47d1aa in _0x373ab0)Object[_0x9370cb(0x17f)]['hasOwnProperty'][_0x9370cb(0x169)](_0x373ab0,_0x47d1aa)&&(_0x338374[_0x47d1aa]=_0x373ab0[_0x47d1aa]);}return _0x338374;},E[_0x109e18(0x2f4)](this,arguments);},Rt=function(_0x316fd1,_0x57529d){const _0x214a82=_0x114f12;var _0x3ca419={};for(var _0x20b972 in _0x316fd1)Object['prototype'][_0x214a82(0x2e9)][_0x214a82(0x169)](_0x316fd1,_0x20b972)&&_0x57529d[_0x214a82(0x31b)](_0x20b972)<0x0&&(_0x3ca419[_0x20b972]=_0x316fd1[_0x20b972]);if(_0x316fd1!=null&&typeof Object[_0x214a82(0x2a2)]==_0x214a82(0x1c4)){for(var _0x4ec8fd=0x0,_0x20b972=Object[_0x214a82(0x2a2)](_0x316fd1);_0x4ec8fd<_0x20b972[_0x214a82(0x200)];_0x4ec8fd++)_0x57529d['indexOf'](_0x20b972[_0x4ec8fd])<0x0&&Object[_0x214a82(0x17f)]['propertyIsEnumerable'][_0x214a82(0x169)](_0x316fd1,_0x20b972[_0x4ec8fd])&&(_0x3ca419[_0x20b972[_0x4ec8fd]]=_0x316fd1[_0x20b972[_0x4ec8fd]]);}return _0x3ca419;},be=P['forwardRef'](function(_0x5e65cd,_0x1037b4){const _0x4ed9b5=_0x114f12;var _0x37cee4=_0x5e65cd[_0x4ed9b5(0x2f6)],_0x3f4f66=_0x5e65cd['id'],_0x454106=_0x5e65cd[_0x4ed9b5(0x1d9)],_0x4f4008=_0x5e65cd[_0x4ed9b5(0x1b2)],_0x230d5d=Rt(_0x5e65cd,['icon','id','className',_0x4ed9b5(0x1b2)]),_0x23e35b='univerjs-icon\x20univerjs-icon-'[_0x4ed9b5(0x261)](_0x3f4f66,'\x20')[_0x4ed9b5(0x261)](_0x454106||'')['trim'](),_0x252c8f=P[_0x4ed9b5(0x15c)]('_'['concat'](Ut()));return Ae(_0x37cee4,''['concat'](_0x3f4f66),{'defIds':_0x37cee4[_0x4ed9b5(0x1a9)],'idSuffix':_0x252c8f[_0x4ed9b5(0x2ad)]},E({'ref':_0x1037b4,'className':_0x23e35b},_0x230d5d),_0x4f4008);});function Ae(_0x5e0d00,_0x5c01ab,_0x841991,_0x57306d,_0x5a28ea){const _0xe198fd=_0x114f12;return P[_0xe198fd(0x390)](_0x5e0d00['tag'],E(E({'key':_0x5c01ab},Ot(_0x5e0d00,_0x841991,_0x5a28ea)),_0x57306d),(Dt(_0x5e0d00,_0x841991)[_0xe198fd(0x299)]||[])[_0xe198fd(0x210)](function(_0x5bb066,_0x245a38){const _0x5a5f57=_0xe198fd;return Ae(_0x5bb066,''[_0x5a5f57(0x261)](_0x5c01ab,'-')[_0x5a5f57(0x261)](_0x5e0d00[_0x5a5f57(0x189)],'-')[_0x5a5f57(0x261)](_0x245a38),_0x841991,void 0x0,_0x5a28ea);}));}function Ot(_0x429a89,_0x55dae7,_0x1076e4){const _0x1a77d9=_0x114f12;var _0x4cd222=E({},_0x429a89[_0x1a77d9(0x3af)]);_0x1076e4!=null&&_0x1076e4[_0x1a77d9(0x246)]&&_0x4cd222['fill']===_0x1a77d9(0x246)&&(_0x4cd222[_0x1a77d9(0x2a9)]=_0x1076e4[_0x1a77d9(0x246)]),_0x429a89[_0x1a77d9(0x189)]===_0x1a77d9(0x1a1)&&_0x4cd222['id']&&(_0x4cd222['id']=_0x4cd222['id']+_0x55dae7[_0x1a77d9(0x1ec)]),Object[_0x1a77d9(0x2e8)](_0x4cd222)[_0x1a77d9(0x341)](function(_0x2a39ec){const _0x2a788e=_0x1a77d9;var _0x152ffe=_0x2a39ec[0x0],_0x5c4231=_0x2a39ec[0x1];_0x152ffe===_0x2a788e(0x1a1)&&typeof _0x5c4231==_0x2a788e(0x330)&&(_0x4cd222[_0x152ffe]=_0x5c4231[_0x2a788e(0x26b)](/url\(#(.*)\)/,'url(#$1'[_0x2a788e(0x261)](_0x55dae7[_0x2a788e(0x1ec)],')')));});var _0x51d981=_0x55dae7[_0x1a77d9(0x1a9)];return!_0x51d981||_0x51d981[_0x1a77d9(0x200)]===0x0||(_0x429a89[_0x1a77d9(0x189)]===_0x1a77d9(0x166)&&_0x4cd222['xlink:href']&&(_0x4cd222[_0x1a77d9(0x162)]=_0x4cd222['xlink:href']+_0x55dae7[_0x1a77d9(0x1ec)]),Object['entries'](_0x4cd222)['forEach'](function(_0x45c037){const _0x4b48ea=_0x1a77d9;var _0x4f04ca=_0x45c037[0x0],_0x3d104c=_0x45c037[0x1];typeof _0x3d104c==_0x4b48ea(0x330)&&(_0x4cd222[_0x4f04ca]=_0x3d104c[_0x4b48ea(0x26b)](/url\(#(.*)\)/,'url(#$1'[_0x4b48ea(0x261)](_0x55dae7[_0x4b48ea(0x1ec)],')')));})),_0x4cd222;}function Dt(_0x4ee2e0,_0x374f4e){const _0x47fb0f=_0x114f12;var _0x1b7d23,_0x5ccf19=_0x374f4e[_0x47fb0f(0x1a9)];return!_0x5ccf19||_0x5ccf19[_0x47fb0f(0x200)]===0x0?_0x4ee2e0:_0x4ee2e0[_0x47fb0f(0x189)]===_0x47fb0f(0x292)&&(!((_0x1b7d23=_0x4ee2e0[_0x47fb0f(0x299)])===null||_0x1b7d23===void 0x0)&&_0x1b7d23['length'])?E(E({},_0x4ee2e0),{'children':_0x4ee2e0[_0x47fb0f(0x299)][_0x47fb0f(0x210)](function(_0x593081){const _0x5a3050=_0x47fb0f;return typeof _0x593081[_0x5a3050(0x3af)]['id']==_0x5a3050(0x330)&&_0x5ccf19&&_0x5ccf19['indexOf'](_0x593081[_0x5a3050(0x3af)]['id'])>-0x1?E(E({},_0x593081),{'attrs':E(E({},_0x593081[_0x5a3050(0x3af)]),{'id':_0x593081[_0x5a3050(0x3af)]['id']+_0x374f4e['idSuffix']})}):_0x593081;})}):_0x4ee2e0;}function Ut(){const _0x1f99ed=_0x114f12;return Math[_0x1f99ed(0x304)]()['toString'](0x24)['substring'](0x2,0x8);}function _0x46c8(){const _0x494540=['origin','editingUnit','_render','CommandType','CollaborationEvent','DataLoaderService','concat','IRemoteInstanceService','endColumn','_hover','clipPath','ISocketService','UNIVER_SHEET','clsx','univer-online-status-icon','_unitStatus','replace','unitID','_heartbeatTimer','#fff','_color','UnitStatus','SheetSkeletonManagerService','fromEventSubject','startColumn','split','handleInsertRangeMoveRight','collabStatus.conflict','#FFF','save','univer-flex\x20univer-items-center','LICENSE_DISTRO_REJECTED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','collaboration.single-unit.warning','closePath','TEXT','_removeCollabCursors','setAlpha','IBeforeCloseService','backgroundColor','defineProperty','_getAnchorBounding','_transformUndoRedoStack','toDisposable','_collabCursorState$','_univerInstanceService','getCollabCursors$','_toggleOffline','onMouseMove','_getSessionTicket','SUBMIT_CHANGESET_TIMEOUT','_localeService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','displayName','subscribeEvent','defs','handleDeleteRangeMoveLeft','drawWith','_registerDependencies','row','div','_entities','children','none','OnLineSingle','Vector2','CollaborationSocketService','getUnhiddenWorksheets','transformStateCache','transformSelections','SetTextSelectionsOperation','getOwnPropertySymbols','set','_registerRenderDependencies','Rect','_collaborationUIEventService','_status$','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fill','SYNCED','DOC_RANGE_TYPE','SetDocZoomRatioOperation','current','cursorInfo$','_scheduleHeartbeat','event$','parse','getUniverSheetInstance','_cachedData','getAncestorScale','Plugin','Unknown\x20user','find','location','registerBeforeClose','eventID','CollaborationDataLoaderController','dispose','key','connectInjector','setShapeProps','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','result','FETCH_MISS','MessageType','OTHER_CLIENTS_EDITING','transformIMECache','@univerjs/network','InsertRowCommandId','_messageService','_eventUnsubscribe','_docClipboardService','collabStatus.notCollab','sessionTicket','_updateSubUnitFromURLParams','_createSocketURL','_backgroundColor','UNRECOGNIZED','_initDependencies','registerDependencies','_handleHover','arc','subscribe','getRelativeToViewportCoord','handleInsertRangeMoveDown','DocSkeletonManagerService','SOCKET_FAILED','TEXT_RANGE_LAYER_INDEX','_config','react/jsx-runtime','saveOfflineData','1em','triggerDblclick','_cursor','ColorKit','MoveRangeCommandId','entityInit$','_updateLocalCursor','[CollaborationDataLoaderController]','HTTPService','_removeClearOtherTimer','entries','hasOwnProperty','isEditing','APPLY_DUPLICATED','7176VLZJOP','WebSocketService','session.collaboration-timeout','translate(.97)','online','M0\x200H16V16H0z','handleInsertCol','_instanceService','apply','UniverCollaborationClientUIPlugin','icon','_unitOnClients','handleIRemoveCol','session.will-retry','RECT','mutations','add','forwardRef','Inject','1450039UePtlo','getSheetId','onPointerMove$','569907xkqiNe','throttleTime','random','/run/','PY_RUNTIME_SCRIPT_ERROR','UniverInstanceType','4348580jTUCAa','LOCAL_CACHE_INTERVAL','_imageIoService','collab-rect-range-','@univerjs-pro/collaboration','handleMoveRange','distinctUntilChanged','assignAColorForMemberID','APPLY_REJECT','_startDocCollabCursor','registerRenderModule','setItem','jiqing500','textRanges','@univerjs/sheets','CollaborationController','ICommandService','executeCommand','measureText','indexOf','RemoteUniscriptService','8186310DnRmiH','_drawTextRange','univer-online-status-title','_uiPartsService','ILocalStorageService','_initEvent','_collaborationController','actions','createInstance','combineLatest','offline','TOO_MANY_REQUESTS','_toggleOnline','getLocalCacheKey','addObject','InsertRangeMoveDownCommandId','redoState','push','LICENSE_MAX_UNITS_EXCEEDED','string','_range','getRenderById','getTypeOfUnitAdded$','DocStateChangeManagerService','sheetID','_notificationService','urlChange$','RegularPolygon','_renderManagerService','_docSkeleton','Tooltip','CollaborationSessionService','_saveTaskMap','_urlService','replaceState','OFFLINE','forEach','@univerjs/rpc','RefRangeService','sessionStatus$','init','_send','memberID','UNDEFINED','LICENSE_IMPORT_SIZE_EXCEEDED','INVALID_ARGUMENT','_getSaveTimeout','Failed','setParam','ONLINE','complete','dispose$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','APPLY_PERMISSION_DENIED','currentColor','skeleton','handleInsertRow','_name','exhaustSavingTask','getOwnPropertyDescriptor','BrowserCollaborationSocketService','collaboration-client-ui.config','getViewport','IConfigService','_syncEditingCollabCursorService','UPDATE_CURSOR','_updateCollabCursors','_localCacheService','isActive','application/json','DEFAULT_WS_SESSION_TICKET_URL','currentTheme$','getTypeOfUnitDisposed$','from','DeleteRangeMoveUpCommandId','currentSkeleton$','_ensureSubject','_roomMembers$','endRow','DocSelectionManagerService','off-line-single','doc.mutation.rich-text-editing','getCurrentRevOfUnit','undoState','NOT_FOUND','_transformService','OTHER_CLIENT_EDITING','NO_OTHER_CLIENTS_EDITING','CollaborationStatus','_initResize','_saveCache','_scene','_transformHistoryAndStateStack','mapTo','_labelPosition','ACTIVE_UNIT_EVENT_CHANNEL','syncEditingCollabCursor','4862925RpxsvA','unshift','focused$','_session','SetSelectionsOperation','UNAUTHENTICATED','unsubscribe','getColor','YUUMI_URL_COL_OUT_OF_RANGE','column','jsxs','SessionStatus','SNAPSHOT_HAS_BEEN_REMOVED','MUTATION','searchParams','resize','BehaviorSubject','JOIN_ROOM_FAILED','createElement','_collabCursorController','DeleteRangeMoveLeftCommandId','ranges','touchDependencies','_commandService','requireSession','getValue','includes','_getSheetObject','transformMutationsWithChangeset','_injector','WebURLService','getOffsetConfig','Tools','gold400','serializeRangeWithSheet','CollaborationStatusDisplay','collaboration-client.offline-data-not-saved','uni.network.url-service','_draw','SHEET_VIEWPORT_KEY','setConfig','values','_docTransformStateCacheService','color','_themeService','_handleEvent','width','contains','EffectRefRangId','attrs','Module','...','getRangePointData','_initEntityListener','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Warning','transformMutation','_beforeCloseService','isTransformMutationFailure','off-line-single_clip0_910_343','findNodePositionByCharIndex','pipe','has','onTransformChange$','WebBrowserSingleActiveUnitService','getMember','getCurrent','assign','_dataLoaderService','hide','startsWith','_setupSubUnitSync','url(#off-line-single_clip0_910_343)','onLocalMutation','delete','addHandlerCallback','getUndoRedoMutationParamsCache','Shape','CONNECTOR_DATA_TOO_LARGE','LICENSE_EXPORT_SIZE_EXCEEDED','_getScale','_revisionService','error','getConfig','IURLService','next','asObservable','replaceDocRanges','collaboration.closeRoom','subunit','useRef','collabStatus.synced','round','LocaleService','RemoveColCommandId','docStateChange$','xlink:href','unitId','saveTaskMap','font','use','switchMap','_logService','call','_handleHeartbeatEvent','shareReplay','@univerjs/engine-render','useDependency','restore','newValue','disableLocalCache','subUnitId','disposeUnit','collab-text-range-','data','4025BuVznD','SheetCollabCursorShape','getSheetBySheetId','onPointerLeave$','some','name','isArray','transformByState','activeSheet$','_initStatusListener','prototype','_assignedColors','then','IUniverInstanceService','_hovered','DocIMEInputManagerService','wsSessionTicketUrl','getActiveSheet','show','storage','tag','_handleLeaveEvent','AWAITING_WITH_PENDING','getCollabEntity$','_scheduleSaving','_selfUnitIDs','_drawRectRange','fillText','NOT_COLLAB','code','lineTo','roomMembers','onlineStatus','ThemeService','size','IMessageService','@univerjs/docs-ui','_drawAnchor','getSheetObject','disposeWithMe','@univerjs-pro/collaboration-client','unit','search','_memberService','mask','InsertColCommandId','_colorAssignService','@univerjs/docs','url(#on-line-single_clip0_910_349)','cursorInfo','onCommandExecuted','@univerjs/design','defIds','7716765dvkrPG','SNAPSHOT_INVALID_SNAPSHOT','history','rxjs','_updateURLWithCurrentState','YUUMI_UNABLE_LOAD_URL','loadOfflineData','onPointerEnter$','extend','ILocalCacheService','runRefRangeMutations','href','createIdentifier','body','COMPLETION_FINISHED','generateRandomId','_httpService','whenReady','pushState','red300','YUUMI_RATE_OVER_LIMIT','_disabled','ILogService','override','getUnitStatus$','isTransformMutationsWithChangesetSuccess','function','_doCreateSocket','rgba(255,\x20255,\x20255,\x200.01)','_id','ticket','collab-text-anchor-','runOnServer','roomMembers$','_localStorageService','invokeId','enableLocalCache','transformRemoteChangeset','_onCursorUpdate','startRow','with','_context','onlineStatusTitle','_handleJoinEvent','useCallback','pluginName','top','className','CollaborationUIEventId','_docSyncEditingCollabCursorService','updateOfflineData','COLORS','RxDisposable','_lastPointer','clearInterval','fillRule','_initCommandExecutedListener','@univerjs/drawing','params','Optional','_cursorShapes','_docTransformSelectionsService','range','YUUMI_SUBSCRIPTION_NOT_FOUND','_anchorDot','IRenderManagerService','idSuffix','clearTimeout','_refRangeService','getStateCache','hovered','getUnitId','IDocClipboardService','_init','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_collabSessionService','labelPosition','selection','_docSkeletonManagerService','APPLY_NON_SEQUENTIAL_REVISION','_docStateChangeManagerService','bottom','m1Prime','MemberService','runId','filter','length','deepClone','CONFLICT','Injector','_startSheetCollabCursor','_refreshCollabCursors','_anchor','FromArray','m2Prime','INTERNAL_ERROR','registerComponent','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SetWorksheetActivateCommand','_onRefRangeChange','_configService','getSkeleton','map','engine','_cursors','DesktopCollaborationStatusDisplayController','Subject','SheetsSelectionsService','min','setStateCache','unload','_onCursorDelete','_online','DocCollaborationEntity','2vKSEOr','jsx','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DependentOn','addClipboardHook','get','deserializeRangeWithSheet','verdancy600','_sheetSkeletonManagerService','_scheduleClearOtherTimer','ITransformService','handleIRemoveRow','on-line-single','ALREADY_EXISTS','RemoveRowCommandId','getDocRanges','reconnect','PERMISSION_DENIED','Disposable','_setupBeforeClosingHandler','path','getMemberID','svg','collabCursorState$','toString','_textBubble','flatMap','black','toRgbString','debounce','@univerjs/core','Rectangle','_cursorInfo$','stringify','getParam','takeUntil','UNIVER_DOC','fromEvent','Error','text','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','permission.title','colorChannel1','getMergeData','moveTo','_entityInit$','INotificationService','getCurrentSelections','getFocusedUnit','_initStatusComponent','debug','sheetId','_hideTimer','_colorIndex','USERS_LEAVE','_clearOtherTimers','APPLY_REVISION_CONFILICT','handleDeleteRangeMoveUp','height','rxjs/operators','addEventListener','source','_document'];_0x46c8=function(){return _0x494540;};return _0x46c8();}be['displayName']='UniverIcon';var Mt={'tag':_0x114f12(0x232),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x114f12(0x2de)},'children':[{'tag':'g','attrs':{'clipPath':_0x114f12(0x14a)},'children':[{'tag':_0x114f12(0x230),'attrs':{'stroke':_0x114f12(0x353),'d':_0x114f12(0x244),'strokeLinecap':_0x114f12(0x15e),'strokeLinejoin':_0x114f12(0x15e),'strokeWidth':1.2}}]},{'tag':_0x114f12(0x292),'attrs':{},'children':[{'tag':_0x114f12(0x265),'attrs':{'id':_0x114f12(0x3b9)},'children':[{'tag':_0x114f12(0x230),'attrs':{'fill':_0x114f12(0x26e),'d':_0x114f12(0x2f1)}}]}]}],'defIds':[_0x114f12(0x3b9)]},$e=P[_0x114f12(0x2fd)](function(_0x29b585,_0x805526){const _0x468134=_0x114f12;return P[_0x468134(0x390)](be,Object[_0x468134(0x145)]({},_0x29b585,{'id':_0x468134(0x36d),'ref':_0x805526,'icon':Mt}));});$e['displayName']='OffLineSingle';var Pt={'tag':_0x114f12(0x232),'attrs':{'fill':_0x114f12(0x29a),'viewBox':'0\x200\x2017\x2016','width':_0x114f12(0x2de),'height':_0x114f12(0x2de)},'children':[{'tag':'g','attrs':{'clipPath':_0x114f12(0x1a5)},'children':[{'tag':_0x114f12(0x230),'attrs':{'stroke':'currentColor','d':_0x114f12(0x2c0),'strokeLinecap':_0x114f12(0x15e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x114f12(0x292),'attrs':{},'children':[{'tag':_0x114f12(0x265),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x114f12(0x2ef)}}]}]}],'defIds':['on-line-single_clip0_910_349']},xe=P[_0x114f12(0x2fd)](function(_0x486ecd,_0x1ba6b6){const _0xf2cf02=_0x114f12;return P['createElement'](be,Object[_0xf2cf02(0x145)]({},_0x486ecd,{'id':_0xf2cf02(0x228),'ref':_0x1ba6b6,'icon':Pt}));});xe[_0x114f12(0x290)]=_0x114f12(0x29b);const Nt=_0x114f12(0x269),wt=_0x114f12(0x31f),Lt='univer-online-status',yt='univer-online',At='univer-offline',H={'onlineStatusIcon':Nt,'onlineStatusTitle':wt,'onlineStatus':Lt,'online':yt,'offline':At};function $t(_0x3747c7){const _0x27cb65=_0x114f12;switch(_0x3747c7){case u[_0x27cb65(0x375)][_0x27cb65(0x340)]:return'collabStatus.offline';case u[_0x27cb65(0x375)][_0x27cb65(0x202)]:return _0x27cb65(0x276);case u[_0x27cb65(0x375)][_0x27cb65(0x2c2)]:return'collabStatus.fetchMiss';case u[_0x27cb65(0x375)][_0x27cb65(0x191)]:return _0x27cb65(0x2cb);case u[_0x27cb65(0x375)]['AWAITING']:case u['CollaborationStatus'][_0x27cb65(0x18b)]:return'collabStatus.syncing';case u[_0x27cb65(0x375)][_0x27cb65(0x2aa)]:case u[_0x27cb65(0x375)]['PENDING']:return _0x27cb65(0x15d);}}function je(_0x2552bc){const _0x35a029=_0x114f12,{status$:_0x3d8a7f}=_0x2552bc,_0x2dd9ed=R['useObservable'](_0x3d8a7f,u['CollaborationStatus']['NOT_COLLAB']),_0x2cacdf=R['useDependency'](a[_0x35a029(0x15f)]),_0x44d4c9=R[_0x35a029(0x16d)](u[_0x35a029(0x33c)]),_0x4e6986=_0x2dd9ed!==u[_0x35a029(0x375)][_0x35a029(0x340)],_0x8c8641=_0x2cacdf['t']($t(_0x2dd9ed)),_0x5b2bca=T[_0x35a029(0x268)](H[_0x35a029(0x195)],{[H[_0x35a029(0x2f0)]]:_0x4e6986,[H[_0x35a029(0x327)]]:!_0x4e6986}),_0x24ec38=_0x4e6986?w[_0x35a029(0x21d)](xe,{}):w[_0x35a029(0x21d)]($e,{}),_0x5952ff=P[_0x35a029(0x1d6)](()=>{const _0x113b69=_0x35a029;_0x4e6986||_0x44d4c9[_0x113b69(0x22c)]();},[_0x4e6986,_0x44d4c9]);function _0x122637(){const _0x5d185d=_0x35a029;return w[_0x5d185d(0x388)](_0x5d185d(0x297),{'className':T['clsx'](_0x5b2bca,_0x5d185d(0x279)),'onClick':_0x5952ff,'children':[w[_0x5d185d(0x21d)]('div',{'className':H['onlineStatusIcon'],'children':_0x24ec38}),w[_0x5d185d(0x21d)]('div',{'className':H[_0x5d185d(0x1d4)],'children':_0x8c8641})]});}return _0x4e6986?_0x122637():w['jsx'](T[_0x35a029(0x33b)],{'title':_0x2cacdf['t']('collab-client.tooltip.reconnect'),'children':_0x122637()});}var xt=Object['getOwnPropertyDescriptor'],jt=(_0x564b51,_0x1c8ff2,_0x2ef73a,_0x43e4e5)=>{const _0x368256=_0x114f12;for(var _0x1a39ec=_0x43e4e5>0x1?void 0x0:_0x43e4e5?xt(_0x1c8ff2,_0x2ef73a):_0x1c8ff2,_0x213f42=_0x564b51[_0x368256(0x200)]-0x1,_0x1981f9;_0x213f42>=0x0;_0x213f42--)(_0x1981f9=_0x564b51[_0x213f42])&&(_0x1a39ec=_0x1981f9(_0x1a39ec)||_0x1a39ec);return _0x1a39ec;},V=(_0x48c951,_0x284e38)=>(_0x31e3a7,_0x11113c)=>_0x284e38(_0x31e3a7,_0x11113c,_0x48c951);exports[_0x114f12(0x213)]=class extends a[_0x114f12(0x22e)]{constructor(_0x401046,_0x55d649,_0x328f5c,_0x22c1d2){const _0x362b24=_0x114f12;super(),h(this,'_status$',new d[(_0x362b24(0x38e))](u[_0x362b24(0x375)]['NOT_COLLAB'])),(this[_0x362b24(0x288)]=_0x401046,this[_0x362b24(0x39b)]=_0x55d649,this['_collaborationController']=_0x328f5c,this[_0x362b24(0x320)]=_0x22c1d2,this['_initStatusComponent'](),this[_0x362b24(0x17e)]());}[_0x114f12(0x17e)](){const _0x351b78=_0x114f12;this['disposeWithMe'](this[_0x351b78(0x288)][_0x351b78(0x380)][_0x351b78(0x3bb)](d[_0x351b78(0x167)](()=>{const _0x5ba2fc=_0x351b78,_0x56d9f9=this[_0x5ba2fc(0x288)][_0x5ba2fc(0x24c)]();return _0x56d9f9?this[_0x5ba2fc(0x323)][_0x5ba2fc(0x18c)](_0x56d9f9[_0x5ba2fc(0x1f1)]()):d['of'](null);}),d[_0x351b78(0x167)](_0x8f7b85=>_0x8f7b85?_0x8f7b85['status$']:d['of'](u[_0x351b78(0x375)][_0x351b78(0x191)])))[_0x351b78(0x2d5)](_0xe41370=>{const _0x49442c=_0x351b78;this[_0x49442c(0x2a7)][_0x49442c(0x157)](_0xe41370);}));}[_0x114f12(0x24d)](){const _0x198805=_0x114f12;this['disposeWithMe'](this[_0x198805(0x320)][_0x198805(0x20a)](R['BuiltInUIPart']['HEADER_MENU'],()=>R[_0x198805(0x2be)](kt({'status$':this[_0x198805(0x2a7)][_0x198805(0x158)]()}),this[_0x198805(0x39b)])));}},exports[_0x114f12(0x213)]=jt([V(0x0,a[_0x114f12(0x182)]),V(0x1,a[_0x114f12(0x2fe)](a['Injector'])),V(0x2,a['Inject'](u['CollaborationController'])),V(0x3,R['IUIPartsService'])],exports[_0x114f12(0x213)]);function kt(_0x39aa18){const {status$:_0xacad66}=_0x39aa18;return function(){const _0xafde04=_0x7083;return w[_0xafde04(0x21d)](je,{'status$':_0xacad66});};}var Bt=Object[_0x114f12(0x358)],Ht=(_0x412e1a,_0x109452,_0xa96071,_0x1414b4)=>{const _0x568e66=_0x114f12;for(var _0x57225f=_0x1414b4>0x1?void 0x0:_0x1414b4?Bt(_0x109452,_0xa96071):_0x109452,_0x369337=_0x412e1a[_0x568e66(0x200)]-0x1,_0x549253;_0x369337>=0x0;_0x369337--)(_0x549253=_0x412e1a[_0x369337])&&(_0x57225f=_0x549253(_0x57225f)||_0x57225f);return _0x57225f;},A=(_0x510e4f,_0xbff620)=>(_0x54d3c1,_0x1b95db)=>_0xbff620(_0x54d3c1,_0x1b95db,_0x510e4f);let z=class extends a[_0x114f12(0x22e)]{constructor(_0x1cb0d9,_0x4812ad,_0x449529,_0x5e13a2,_0xf6649d,_0xe6a5de){const _0x34efce=_0x114f12;super(),this['_beforeCloseService']=_0x1cb0d9,this[_0x34efce(0x360)]=_0x4812ad,this[_0x34efce(0x2a6)]=_0x449529,this[_0x34efce(0x2c8)]=_0x5e13a2,this[_0x34efce(0x336)]=_0xf6649d,this['_localeService']=_0xe6a5de,this['_setupBeforeClosingHandler'](),this[_0x34efce(0x322)]();}[_0x114f12(0x22f)](){const _0x3c6e92=_0x114f12;this[_0x3c6e92(0x19c)](this[_0x3c6e92(0x3b7)][_0x3c6e92(0x2b9)](()=>{const _0x2b6147=_0x3c6e92;if(this['_localCacheService'][_0x2b6147(0x164)]['size'])return this[_0x2b6147(0x28e)]['t'](_0x2b6147(0x3a2));}));}['_initEvent'](){const _0x3887c8=_0x114f12;this[_0x3887c8(0x19c)](this[_0x3887c8(0x2a6)][_0x3887c8(0x2b0)]['subscribe'](_0x278a87=>{const _0x4faa45=_0x3887c8;_0x278a87['id']===u[_0x4faa45(0x1da)][_0x4faa45(0x373)]&&this[_0x4faa45(0x2c8)][_0x4faa45(0x187)]({'type':T[_0x4faa45(0x2c3)][_0x4faa45(0x3b5)],'content':this[_0x4faa45(0x28e)]['t'](_0x4faa45(0x27c))}),_0x278a87['id']===u['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x4faa45(0x2c8)][_0x4faa45(0x187)]({'type':T['MessageType'][_0x4faa45(0x3b5)],'content':this[_0x4faa45(0x28e)]['t'](_0x4faa45(0x15a))}),_0x278a87['id']===u[_0x4faa45(0x1da)][_0x4faa45(0x22d)]&&this[_0x4faa45(0x336)][_0x4faa45(0x187)]({'title':this[_0x4faa45(0x28e)]['t'](_0x4faa45(0x245)),'content':this[_0x4faa45(0x28e)]['t']('permission.content'),'type':_0x4faa45(0x154),'duration':0x0}),_0x278a87['id']===u[_0x4faa45(0x1da)]['CONFLICT']&&this[_0x4faa45(0x2c8)][_0x4faa45(0x187)]({'type':T[_0x4faa45(0x2c3)][_0x4faa45(0x242)],'content':this[_0x4faa45(0x28e)]['t'](_0x4faa45(0x15a))+'('+_0x278a87[_0x4faa45(0x174)]+')'}),_0x278a87['id']===u[_0x4faa45(0x1da)][_0x4faa45(0x38f)]&&this[_0x4faa45(0x2c8)][_0x4faa45(0x187)]({'type':T[_0x4faa45(0x2c3)]['Warning'],'content':this[_0x4faa45(0x28e)]['t'](_0x278a87[_0x4faa45(0x174)]||'')}),_0x278a87['id']===u[_0x4faa45(0x1da)]['SOCKET_FAILED_RETRY']&&this[_0x4faa45(0x2c8)][_0x4faa45(0x187)]({'type':T[_0x4faa45(0x2c3)][_0x4faa45(0x3b5)],'content':this[_0x4faa45(0x28e)]['t'](_0x4faa45(0x2f9))}),_0x278a87['id']===u['CollaborationUIEventId'][_0x4faa45(0x2d9)]&&this[_0x4faa45(0x2c8)][_0x4faa45(0x187)]({'type':T['MessageType']['Error'],'content':this[_0x4faa45(0x28e)]['t']('session.connection-failed')}),_0x278a87['id']===u[_0x4faa45(0x1da)][_0x4faa45(0x28d)]&&this[_0x4faa45(0x2c8)]['show']({'type':T[_0x4faa45(0x2c3)][_0x4faa45(0x242)],'content':this['_localeService']['t'](_0x4faa45(0x2ee))});}));}};z=Ht([A(0x0,R[_0x114f12(0x281)]),A(0x1,u[_0x114f12(0x1b3)]),A(0x2,a[_0x114f12(0x2fe)](u['CollaborationUIEventService'])),A(0x3,R[_0x114f12(0x198)]),A(0x4,R[_0x114f12(0x24a)]),A(0x5,a[_0x114f12(0x2fe)](a[_0x114f12(0x15f)]))],z);const Wt=_0x114f12(0x35a),Me={},Ee=a[_0x114f12(0x1b6)](_0x114f12(0x3a3));var Ft=Object['getOwnPropertyDescriptor'],Yt=(_0x56ff02,_0x42af98,_0x183b20,_0x222d2)=>{const _0x19988e=_0x114f12;for(var _0x7ebc2e=_0x222d2>0x1?void 0x0:_0x222d2?Ft(_0x42af98,_0x183b20):_0x42af98,_0x381ed0=_0x56ff02[_0x19988e(0x200)]-0x1,_0x50e24a;_0x381ed0>=0x0;_0x381ed0--)(_0x50e24a=_0x56ff02[_0x381ed0])&&(_0x7ebc2e=_0x50e24a(_0x7ebc2e)||_0x7ebc2e);return _0x7ebc2e;},W=(_0x221698,_0x37e1f8)=>(_0x1b5052,_0x508c1b)=>_0x37e1f8(_0x1b5052,_0x508c1b,_0x221698);exports[_0x114f12(0x2bb)]=class extends a[_0x114f12(0x1de)]{constructor(_0x5490c6,_0x313648,_0x456dcb,_0x2ca2bb,_0x57e9e1){const _0x316dbe=_0x114f12;super(),this[_0x316dbe(0x33e)]=_0x5490c6,this[_0x316dbe(0x168)]=_0x313648,this[_0x316dbe(0x395)]=_0x456dcb,this[_0x316dbe(0x146)]=_0x2ca2bb,_0x57e9e1?_0x57e9e1==null||_0x57e9e1[_0x316dbe(0x1bb)]()[_0x316dbe(0x181)](()=>this[_0x316dbe(0x1f3)]()):(this['_logService'][_0x316dbe(0x24e)](_0x316dbe(0x2e5),_0x316dbe(0x28f)),this[_0x316dbe(0x1f3)]());}async['_init'](){const _0x17f3ed=_0x114f12,_0x4195be=this[_0x17f3ed(0x33e)][_0x17f3ed(0x23e)](_0x17f3ed(0x19e)),_0x21f7e9=this['_urlService'][_0x17f3ed(0x23e)]('type'),_0x26f6dc=this[_0x17f3ed(0x33e)][_0x17f3ed(0x23e)](_0x17f3ed(0x15b));if(!_0x4195be||!_0x21f7e9){this[_0x17f3ed(0x168)]['debug'](_0x17f3ed(0x2e5),_0x17f3ed(0x3b4));return;}const _0x3f4210=await this['_dataLoaderService']['loadUnit'](_0x4195be,Number(_0x21f7e9),_0x26f6dc);_0x3f4210&&_0x3f4210 instanceof a['Workbook']&&this[_0x17f3ed(0x149)](_0x3f4210);}async['_setupSubUnitSync'](_0x1a2867){const _0x30128d=_0x114f12;await this[_0x30128d(0x2cd)](_0x1a2867),_0x1a2867[_0x30128d(0x17d)]['pipe'](d[_0x30128d(0x23f)](this[_0x30128d(0x350)]))[_0x30128d(0x2d5)](_0x41a564=>{_0x41a564&&this['_updateURLWithCurrentState'](_0x41a564);}),this[_0x30128d(0x33e)][_0x30128d(0x337)][_0x30128d(0x3bb)](d[_0x30128d(0x23f)](this[_0x30128d(0x350)]))[_0x30128d(0x2d5)](()=>this[_0x30128d(0x2cd)](_0x1a2867));}[_0x114f12(0x1ae)](_0x373145,_0x22bb6c=!0x1){const _0x2ec8f8=_0x114f12,_0xa0c38c=this[_0x2ec8f8(0x33e)][_0x2ec8f8(0x23e)](_0x2ec8f8(0x15b));_0x373145[_0x2ec8f8(0x300)]()!==_0xa0c38c&&this[_0x2ec8f8(0x33e)][_0x2ec8f8(0x34d)]('subunit',_0x373145[_0x2ec8f8(0x300)](),_0x22bb6c);}async[_0x114f12(0x2cd)](_0x48884d){const _0x1984bf=_0x114f12;var _0x5b3871;const _0x25c63f=this[_0x1984bf(0x33e)][_0x1984bf(0x23e)](_0x1984bf(0x15b));if(!_0x25c63f||!_0x48884d[_0x1984bf(0x177)](_0x25c63f)){const _0xe2a333=_0x48884d[_0x1984bf(0x29e)]()[0x0],_0x92e82d=_0x48884d[_0x1984bf(0x177)](_0xe2a333);if(!_0x92e82d)return;this[_0x1984bf(0x1ae)](_0x92e82d,!0x0),await this['_commandService']['executeCommand'](I[_0x1984bf(0x20c)]['id'],{'unitId':_0x48884d[_0x1984bf(0x1f1)](),'subUnitId':_0xe2a333});return;}((_0x5b3871=_0x48884d[_0x1984bf(0x186)]())==null?void 0x0:_0x5b3871[_0x1984bf(0x300)]())!==_0x25c63f&&await this[_0x1984bf(0x395)][_0x1984bf(0x319)](I['SetWorksheetActivateCommand']['id'],{'unitId':_0x48884d[_0x1984bf(0x1f1)](),'subUnitId':_0x25c63f});}},exports[_0x114f12(0x2bb)]=Yt([W(0x0,Ee),W(0x1,a[_0x114f12(0x1c0)]),W(0x2,a['ICommandService']),W(0x3,a[_0x114f12(0x2fe)](u[_0x114f12(0x260)])),W(0x4,a[_0x114f12(0x1e5)](Ke[_0x114f12(0x262)]))],exports[_0x114f12(0x2bb)]);var Xt=Object[_0x114f12(0x358)],Vt=(_0x1c46d4,_0x12bd7b,_0x46b193,_0x33e81e)=>{const _0x7f037b=_0x114f12;for(var _0x5d8176=_0x33e81e>0x1?void 0x0:_0x33e81e?Xt(_0x12bd7b,_0x46b193):_0x12bd7b,_0x3df14f=_0x1c46d4[_0x7f037b(0x200)]-0x1,_0x2186f1;_0x3df14f>=0x0;_0x3df14f--)(_0x2186f1=_0x1c46d4[_0x3df14f])&&(_0x5d8176=_0x2186f1(_0x5d8176)||_0x5d8176);return _0x5d8176;},le=(_0x162911,_0x571dd8)=>(_0x985011,_0x3ff724)=>_0x571dd8(_0x985011,_0x3ff724,_0x162911);let J=class{constructor(_0x3328bd,_0x24ce4f,_0x30301d){const _0x557c6c=_0x114f12;this[_0x557c6c(0x39b)]=_0x3328bd,this[_0x557c6c(0x372)]=_0x24ce4f,this['_renderManagerService']=_0x30301d;}['transformIMECache'](_0x3fc405){const _0x1bb0b9=_0x114f12;this[_0x1bb0b9(0x285)](_0x3fc405),this['_transformPreviousActiveRange'](_0x3fc405);}[_0x114f12(0x1cf)](_0xc59af8){const _0x3e1c3b=_0x114f12,{unitID:_0xe5426a}=_0xc59af8,_0x1d1dd6=this[_0x3e1c3b(0x339)][_0x3e1c3b(0x332)](_0xe5426a)[_0x3e1c3b(0x1d2)](b[_0x3e1c3b(0x184)]),{redoCache:_0x5cb61e}=_0x1d1dd6[_0x3e1c3b(0x14e)]();if(_0x5cb61e[_0x3e1c3b(0x200)]===0x0)return _0xc59af8;let _0x1a0be5=a[_0x3e1c3b(0x39e)][_0x3e1c3b(0x201)](_0xc59af8[_0x3e1c3b(0x2fb)][0x0]);for(let _0x284334=0x0;_0x284334<_0x5cb61e[_0x3e1c3b(0x200)];_0x284334++){const _0x537453={'id':_0x3e1c3b(0x36e),'params':{..._0x5cb61e[_0x284334]}},_0x226d61=this[_0x3e1c3b(0x372)][_0x3e1c3b(0x3b6)](_0x1a0be5,_0x537453,!0x1);if(m['isTransformMutationFailure'](_0x226d61))throw _0x226d61['error'];_0x1a0be5=_0x226d61[_0x3e1c3b(0x1fc)];}return{...a[_0x3e1c3b(0x39e)][_0x3e1c3b(0x201)](_0xc59af8),'mutations':[_0x1a0be5]};}[_0x114f12(0x285)](_0x183070){const _0x3b1826=_0x114f12,{unitID:_0x58b140}=_0x183070,_0x3e1cc5=this[_0x3b1826(0x339)][_0x3b1826(0x332)](_0x58b140)[_0x3b1826(0x1d2)](b['DocIMEInputManagerService']),{undoCache:_0x4bbc65,redoCache:_0x29a8de}=_0x3e1cc5[_0x3b1826(0x14e)]();if(_0x4bbc65['length']===0x0||_0x29a8de[_0x3b1826(0x200)]===0x0)return;const _0x353e31=[],_0x42548c=[];let _0x56d05d=a[_0x3b1826(0x39e)]['deepClone'](_0x183070[_0x3b1826(0x2fb)][0x0]),_0x194ab8=a[_0x3b1826(0x39e)][_0x3b1826(0x201)](_0x183070[_0x3b1826(0x2fb)][0x0]);for(let _0x599d7b=_0x4bbc65[_0x3b1826(0x200)]-0x1;_0x599d7b>=0x0;_0x599d7b--){const _0x377708={'id':_0x3b1826(0x36e),'params':{..._0x4bbc65[_0x599d7b]}},_0x1add4d={'id':_0x3b1826(0x36e),'params':{..._0x29a8de[_0x599d7b]}},_0xc6ea78=this[_0x3b1826(0x372)]['transformMutation'](_0x56d05d,_0x377708,!0x1),_0x19dbe2=this[_0x3b1826(0x372)][_0x3b1826(0x3b6)](_0x194ab8,_0x1add4d,!0x1);if(m[_0x3b1826(0x3b8)](_0xc6ea78))throw _0xc6ea78[_0x3b1826(0x154)];if(m[_0x3b1826(0x3b8)](_0x19dbe2))throw _0x19dbe2[_0x3b1826(0x154)];_0x353e31[_0x3b1826(0x37f)](_0xc6ea78['m2Prime'][_0x3b1826(0x1e4)]),_0x42548c[_0x3b1826(0x37f)](_0x19dbe2[_0x3b1826(0x208)][_0x3b1826(0x1e4)]),_0x56d05d=_0xc6ea78[_0x3b1826(0x1fc)],_0x194ab8=_0x19dbe2[_0x3b1826(0x1fc)];}_0x3e1cc5['setUndoRedoMutationParamsCache']({'undoCache':_0x353e31,'redoCache':_0x42548c});}['_transformPreviousActiveRange'](_0x8c4a8a){const _0x5dbc79=_0x114f12,{unitID:_0x119530}=_0x8c4a8a,_0x3fbfe4=this[_0x5dbc79(0x339)]['getRenderById'](_0x119530)[_0x5dbc79(0x1d2)](b['DocIMEInputManagerService']),_0x2a1f6f=_0x3fbfe4['getActiveRange']();if(_0x2a1f6f==null)return;const _0x2be449=[{'id':_0x5dbc79(0x36e),'params':{'unitId':_0x8c4a8a['unitID'],'actions':null,'textRanges':[_0x2a1f6f]}}],_0x406f37=this[_0x5dbc79(0x372)]['transformMutationsWithChangeset'](_0x8c4a8a,_0x2be449);if(!m[_0x5dbc79(0x1c3)](_0x406f37))throw _0x406f37[_0x5dbc79(0x154)];const _0xd12087=_0x406f37[_0x5dbc79(0x208)][0x0][_0x5dbc79(0x1e4)][_0x5dbc79(0x315)];Array['isArray'](_0xd12087)&&_0xd12087[_0x5dbc79(0x200)]&&_0x3fbfe4['setActiveRange'](_0xd12087[0x0]);}};J=Vt([le(0x0,a[_0x114f12(0x2fe)](a[_0x114f12(0x203)])),le(0x1,m[_0x114f12(0x226)]),le(0x2,p[_0x114f12(0x1eb)])],J);var Gt=Object[_0x114f12(0x358)],qt=(_0x3aa3c3,_0xa542a4,_0x5efdd2,_0x47e296)=>{const _0x52e217=_0x114f12;for(var _0x181bf1=_0x47e296>0x1?void 0x0:_0x47e296?Gt(_0xa542a4,_0x5efdd2):_0xa542a4,_0xc377b9=_0x3aa3c3[_0x52e217(0x200)]-0x1,_0x2b072a;_0xc377b9>=0x0;_0xc377b9--)(_0x2b072a=_0x3aa3c3[_0xc377b9])&&(_0x181bf1=_0x2b072a(_0x181bf1)||_0x181bf1);return _0x181bf1;},he=(_0x332006,_0x85343c)=>(_0x777d21,_0x15829b)=>_0x85343c(_0x777d21,_0x15829b,_0x332006);let Z=class{constructor(_0x44242c,_0x8536b2,_0x2be8e2){const _0x5bdc81=_0x114f12;this[_0x5bdc81(0x39b)]=_0x44242c,this[_0x5bdc81(0x372)]=_0x8536b2,this[_0x5bdc81(0x1fa)]=_0x2be8e2;}[_0x114f12(0x29f)](_0x3ca450){const _0x11c3c5=_0x114f12;this[_0x11c3c5(0x379)](_0x3ca450);}[_0x114f12(0x1cf)](_0x37ef3c){const _0x1ee4eb=_0x114f12,{unitID:_0x15bf5e}=_0x37ef3c,{collaboration:_0x1a22c9}=this['_docStateChangeManagerService'][_0x1ee4eb(0x1ef)](_0x15bf5e);if(_0x1a22c9['length']===0x0)return _0x37ef3c;let _0x2ea087=a[_0x1ee4eb(0x39e)]['deepClone'](_0x37ef3c[_0x1ee4eb(0x2fb)][0x0]);for(let _0x367c6f=0x0;_0x367c6f<_0x1a22c9[_0x1ee4eb(0x200)];_0x367c6f++){const _0x21633f={'id':_0x1ee4eb(0x36e),'params':{'unitId':_0x1a22c9[_0x367c6f][_0x1ee4eb(0x163)],..._0x1a22c9[_0x367c6f]['redoState']}},_0x5c28de=this[_0x1ee4eb(0x372)]['transformMutation'](_0x2ea087,_0x21633f,!0x1);if(m[_0x1ee4eb(0x3b8)](_0x5c28de))throw _0x5c28de[_0x1ee4eb(0x154)];_0x2ea087=_0x5c28de[_0x1ee4eb(0x1fc)];}return{...a[_0x1ee4eb(0x39e)]['deepClone'](_0x37ef3c),'mutations':[_0x2ea087]};}[_0x114f12(0x379)](_0x2b8750){const _0x2d273b=_0x114f12,{unitID:_0x5cbf16}=_0x2b8750,{history:_0x24c17c,collaboration:_0x218bf4}=this[_0x2d273b(0x1fa)][_0x2d273b(0x1ef)](_0x5cbf16);if(_0x24c17c[_0x2d273b(0x200)]===0x0&&_0x218bf4[_0x2d273b(0x200)]===0x0)return;const _0x2a9b38=[],_0x172b1b=[];let _0x290cae=a[_0x2d273b(0x39e)][_0x2d273b(0x201)](_0x2b8750[_0x2d273b(0x2fb)][0x0]),_0x606a6d=a[_0x2d273b(0x39e)][_0x2d273b(0x201)](_0x2b8750['mutations'][0x0]);for(let _0x367db7=_0x24c17c[_0x2d273b(0x200)]-0x1;_0x367db7>=0x0;_0x367db7--){const _0x4122a4={'id':_0x2d273b(0x36e),'params':{'unitId':_0x24c17c[_0x367db7][_0x2d273b(0x163)],..._0x24c17c[_0x367db7][_0x2d273b(0x370)]}},_0x5357db={'id':_0x2d273b(0x36e),'params':{'unitId':_0x24c17c[_0x367db7][_0x2d273b(0x163)],..._0x24c17c[_0x367db7][_0x2d273b(0x32d)]}},_0x38d9fb=this['_transformService'][_0x2d273b(0x3b6)](_0x290cae,_0x4122a4,!0x1),_0x961555=this[_0x2d273b(0x372)][_0x2d273b(0x3b6)](_0x606a6d,_0x5357db,!0x1);if(m[_0x2d273b(0x3b8)](_0x38d9fb))throw _0x38d9fb[_0x2d273b(0x154)];if(m[_0x2d273b(0x3b8)](_0x961555))throw _0x961555[_0x2d273b(0x154)];_0x2a9b38[_0x2d273b(0x37f)]({..._0x24c17c[_0x367db7],'undoState':_0x38d9fb[_0x2d273b(0x208)]['params'],'redoState':_0x961555['m2Prime'][_0x2d273b(0x1e4)]}),_0x290cae=_0x38d9fb['m1Prime'],_0x606a6d=_0x961555[_0x2d273b(0x1fc)];}_0x290cae=a[_0x2d273b(0x39e)][_0x2d273b(0x201)](_0x2b8750['mutations'][0x0]),_0x606a6d=a['Tools'][_0x2d273b(0x201)](_0x2b8750[_0x2d273b(0x2fb)][0x0]);for(let _0x25763a=_0x218bf4['length']-0x1;_0x25763a>=0x0;_0x25763a--){const _0x2d2d91={'id':_0x2d273b(0x36e),'params':{'unitId':_0x218bf4[_0x25763a][_0x2d273b(0x163)],..._0x218bf4[_0x25763a]['undoState']}},_0x202a4f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x218bf4[_0x25763a][_0x2d273b(0x163)],..._0x218bf4[_0x25763a]['redoState']}},_0x36cb2c=this['_transformService'][_0x2d273b(0x3b6)](_0x290cae,_0x2d2d91,!0x1),_0x5533cf=this['_transformService'][_0x2d273b(0x3b6)](_0x606a6d,_0x202a4f,!0x1);if(m['isTransformMutationFailure'](_0x36cb2c))throw _0x36cb2c[_0x2d273b(0x154)];if(m[_0x2d273b(0x3b8)](_0x5533cf))throw _0x5533cf[_0x2d273b(0x154)];_0x172b1b[_0x2d273b(0x37f)]({..._0x218bf4[_0x25763a],'undoState':_0x36cb2c[_0x2d273b(0x208)][_0x2d273b(0x1e4)],'redoState':_0x5533cf[_0x2d273b(0x208)][_0x2d273b(0x1e4)]}),_0x290cae=_0x36cb2c['m1Prime'],_0x606a6d=_0x5533cf[_0x2d273b(0x1fc)];}this['_docStateChangeManagerService'][_0x2d273b(0x217)](_0x5cbf16,{'history':_0x2a9b38,'collaboration':_0x172b1b});}};Z=qt([he(0x0,a[_0x114f12(0x2fe)](a[_0x114f12(0x203)])),he(0x1,m[_0x114f12(0x226)]),he(0x2,a[_0x114f12(0x2fe)](b['DocStateChangeManagerService']))],Z);var Kt=Object[_0x114f12(0x358)],zt=(_0x4fc443,_0x50dc53,_0x3cf530,_0x29a9b8)=>{const _0x585242=_0x114f12;for(var _0x36566c=_0x29a9b8>0x1?void 0x0:_0x29a9b8?Kt(_0x50dc53,_0x3cf530):_0x50dc53,_0x25e0f8=_0x4fc443[_0x585242(0x200)]-0x1,_0x47d0ea;_0x25e0f8>=0x0;_0x25e0f8--)(_0x47d0ea=_0x4fc443[_0x25e0f8])&&(_0x36566c=_0x47d0ea(_0x36566c)||_0x36566c);return _0x36566c;},Pe=(_0x6cb3c8,_0x28e9d6)=>(_0x58efee,_0x257c12)=>_0x28e9d6(_0x58efee,_0x257c12,_0x6cb3c8);let Q=class{constructor(_0x5a28c8,_0x5017ea){const _0x452689=_0x114f12;this[_0x452689(0x39b)]=_0x5a28c8,this[_0x452689(0x372)]=_0x5017ea;}[_0x114f12(0x2a0)](_0x19a661){const _0x408b1b=_0x114f12;var _0x4d664f;const _0x301bb1=this[_0x408b1b(0x39b)][_0x408b1b(0x221)](Y[_0x408b1b(0x36c)]),_0x4d564d=(_0x4d664f=_0x301bb1[_0x408b1b(0x22b)]())!=null?_0x4d664f:[];if(_0x4d564d[_0x408b1b(0x200)]===0x0)return;const _0x44744c=_0x19a661[_0x408b1b(0x26c)],_0x53f4e9=[{'id':_0x408b1b(0x36e),'params':{'unitId':_0x44744c,'actions':null,'textRanges':_0x4d564d}}],_0x9b8a3c=this[_0x408b1b(0x372)][_0x408b1b(0x39a)](_0x19a661,_0x53f4e9);if(!m['isTransformMutationsWithChangesetSuccess'](_0x9b8a3c))throw _0x9b8a3c[_0x408b1b(0x154)];const _0x4f5dcd=_0x9b8a3c['m2Prime'][0x0][_0x408b1b(0x1e4)][_0x408b1b(0x315)];Array[_0x408b1b(0x17b)](_0x4f5dcd)&&_0x4f5dcd[_0x408b1b(0x200)]&&_0x301bb1[_0x408b1b(0x159)](_0x4f5dcd,{'unitId':_0x44744c,'subUnitId':_0x44744c},!0x1);}};Q=zt([Pe(0x0,a[_0x114f12(0x2fe)](a[_0x114f12(0x203)])),Pe(0x1,m[_0x114f12(0x226)])],Q);var Jt=Object[_0x114f12(0x358)],Zt=(_0x58d617,_0x4cb44e,_0x19c351,_0x1202a5)=>{const _0x3e432d=_0x114f12;for(var _0x2f86f6=_0x1202a5>0x1?void 0x0:_0x1202a5?Jt(_0x4cb44e,_0x19c351):_0x4cb44e,_0x16b396=_0x58d617[_0x3e432d(0x200)]-0x1,_0x6c039d;_0x16b396>=0x0;_0x16b396--)(_0x6c039d=_0x58d617[_0x16b396])&&(_0x2f86f6=_0x6c039d(_0x2f86f6)||_0x2f86f6);return _0x2f86f6;},M=(_0x1f5a2f,_0x3fe033)=>(_0xcd5a41,_0x3cd63c)=>_0x3fe033(_0xcd5a41,_0x3cd63c,_0x1f5a2f);let ee=class extends a[_0x114f12(0x22e)]{constructor(_0xbcecc7,_0x2ef8ef,_0x5a5f47,_0x1db99c,_0x16f962,_0x456e89,_0x38c20a,_0x504b3a){const _0x9ddd9a=_0x114f12;super(),h(this,_0x9ddd9a(0x2a7),new d[(_0x9ddd9a(0x38e))](u[_0x9ddd9a(0x375)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0xbcecc7,this[_0x9ddd9a(0x323)]=_0x2ef8ef,this['_docTransformIMECacheService']=_0x5a5f47,this[_0x9ddd9a(0x3a8)]=_0x1db99c,this[_0x9ddd9a(0x1e7)]=_0x16f962,this['_docSyncEditingCollabCursorService']=_0x456e89,this[_0x9ddd9a(0x2c8)]=_0x38c20a,this['_localeService']=_0x504b3a,this[_0x9ddd9a(0x3b3)]());}[_0x114f12(0x3b3)](){const _0x42daee=_0x114f12;this[_0x42daee(0x19c)](this[_0x42daee(0x323)][_0x42daee(0x2e3)]['subscribe'](_0x4a3878=>{const _0x2155d1=_0x42daee,_0x4b9dc1=this[_0x2155d1(0x1fa)][_0x2155d1(0x161)][_0x2155d1(0x2d5)](_0x5bdeb8=>{const _0x14c995=_0x2155d1;if(_0x5bdeb8==null)return;const {unitId:_0x3b3ac2,redoState:_0x38275f,commandId:_0x4e95ef}=_0x5bdeb8;if(_0x3b3ac2!==_0x4a3878[_0x14c995(0x26c)])return;const _0x31de40={'id':_0x4e95ef,'type':a[_0x14c995(0x25e)][_0x14c995(0x38b)],'params':{'unitId':_0x3b3ac2,'actions':_0x38275f[_0x14c995(0x324)],'textRanges':null}};_0x4a3878[_0x14c995(0x14b)](_0x31de40);});if(_0x4a3878['disposeWithMe'](_0x4b9dc1),_0x4a3878 instanceof u[_0x2155d1(0x21b)]){const _0x52ce4f={'onTransformIME':_0x46d492=>this['_docTransformIMECacheService'][_0x2155d1(0x2c5)](_0x46d492),'onTransformState':_0x3223d6=>this[_0x2155d1(0x3a8)][_0x2155d1(0x29f)](_0x3223d6),'onTransformSelections':_0x24cc54=>this['_docTransformSelectionsService'][_0x2155d1(0x2a0)](_0x24cc54),'onSyncEditingCollabCursor':_0x27a175=>this[_0x2155d1(0x1db)][_0x2155d1(0x37d)](_0x27a175),'onTransformRemoteChangesetByIMECache':_0x1d7b80=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x1d7b80),'onTransformRemoteChangesetByStateCache':_0x36d419=>this[_0x2155d1(0x3a8)]['transformRemoteChangeset'](_0x36d419)};_0x4a3878[_0x2155d1(0x14d)](_0x52ce4f);}}));}};ee=Zt([M(0x0,a[_0x114f12(0x2fe)](b[_0x114f12(0x334)])),M(0x1,a[_0x114f12(0x2fe)](u[_0x114f12(0x317)])),M(0x2,a[_0x114f12(0x2fe)](J)),M(0x3,a[_0x114f12(0x2fe)](Z)),M(0x4,a[_0x114f12(0x2fe)](Q)),M(0x5,a[_0x114f12(0x2fe)](pe)),M(0x6,R[_0x114f12(0x198)]),M(0x7,a[_0x114f12(0x2fe)](a[_0x114f12(0x15f)]))],ee);var Qt=Object[_0x114f12(0x358)],es=(_0x12f4b0,_0x298ab8,_0x338b1c,_0xe573e7)=>{const _0x5b8b66=_0x114f12;for(var _0x3d6344=_0xe573e7>0x1?void 0x0:_0xe573e7?Qt(_0x298ab8,_0x338b1c):_0x298ab8,_0x23e7cf=_0x12f4b0[_0x5b8b66(0x200)]-0x1,_0x50a3b6;_0x23e7cf>=0x0;_0x23e7cf--)(_0x50a3b6=_0x12f4b0[_0x23e7cf])&&(_0x3d6344=_0x50a3b6(_0x3d6344)||_0x3d6344);return _0x3d6344;},_e=(_0xc927b,_0x343c27)=>(_0xf3a13a,_0xfc9d7c)=>_0x343c27(_0xf3a13a,_0xfc9d7c,_0xc927b);let me=class extends a[_0x114f12(0x22e)]{constructor(_0x312ccc,_0x3f86c4,_0x2bfbe0){const _0x2798eb=_0x114f12;super(),h(this,_0x2798eb(0x2b3),new Map()),h(this,_0x2798eb(0x33d),new Map()),h(this,_0x2798eb(0x1bf),!0x1),(this[_0x2798eb(0x20e)]=_0x312ccc,this[_0x2798eb(0x1cc)]=_0x3f86c4,this[_0x2798eb(0x153)]=_0x2bfbe0);}[_0x114f12(0x170)](){const _0xa91aee=_0x114f12;this[_0xa91aee(0x1bf)]=!0x0;}[_0x114f12(0x1ce)](){this['_disabled']=!0x1;}get[_0x114f12(0x164)](){const _0x15ecef=_0x114f12;return this[_0x15ecef(0x33d)];}['dispose'](){const _0x72d090=_0x114f12;this[_0x72d090(0x357)]()[_0x72d090(0x181)](()=>super['dispose']());}async[_0x114f12(0x1b0)](_0x185164){const _0xc86dc4=_0x114f12;return this['_disabled']?null:this[_0xc86dc4(0x1cc)]['getItem'](u[_0xc86dc4(0x32a)](_0x185164));}async[_0x114f12(0x2dd)](_0x5c893f,_0xe867dc){const _0x322e6d=_0x114f12;return!!this[_0x322e6d(0x1cc)]['setItem'](_0x5c893f,_0xe867dc);}[_0x114f12(0x1dc)](_0x39c4d3,_0x48831d,_0x26335f,_0x5cb869){const _0x15c135=_0x114f12,_0x373f64=this[_0x15c135(0x153)][_0x15c135(0x36f)](_0x39c4d3);this[_0x15c135(0x2b3)][_0x15c135(0x2a3)](_0x39c4d3,{'unitID':_0x39c4d3,'type':_0x48831d,'awaitingChangeset':_0x26335f,'mutations':_0x5cb869,'rev':_0x373f64}),this[_0x15c135(0x33d)][_0x15c135(0x3bc)](_0x39c4d3)||this['_scheduleSaving'](_0x39c4d3);}[_0x114f12(0x18d)](_0x2903bd){const _0x13eb7c=_0x114f12,_0x490e2d=this[_0x13eb7c(0x34b)]();_0x490e2d===0x0?this['_saveCache'](_0x2903bd):this[_0x13eb7c(0x33d)][_0x13eb7c(0x2a3)](_0x2903bd,setTimeout(()=>this['_saveCache'](_0x2903bd),_0x490e2d));}[_0x114f12(0x34b)](){const _0x29fafa=_0x114f12;var _0xbb903e;return(_0xbb903e=this[_0x29fafa(0x20e)][_0x29fafa(0x155)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0xbb903e:u[_0x29fafa(0x309)];}[_0x114f12(0x377)](_0x293315){const _0xa02aea=_0x114f12,_0xcaa169=this[_0xa02aea(0x33d)][_0xa02aea(0x221)](_0x293315);return _0xcaa169!==void 0x0&&window[_0xa02aea(0x1ed)](_0xcaa169),this[_0xa02aea(0x1cc)][_0xa02aea(0x313)](u['getLocalCacheKey'](_0x293315),this[_0xa02aea(0x2b3)][_0xa02aea(0x221)](_0x293315))[_0xa02aea(0x181)](()=>this['_saveTaskMap'][_0xa02aea(0x14c)](_0x293315));}async[_0x114f12(0x357)](){const _0x10ccbf=_0x114f12,_0xc15356=[];this['_saveTaskMap'][_0x10ccbf(0x341)]((_0x5e5f59,_0x45bf02)=>{const _0xb522c7=_0x10ccbf;window['clearTimeout'](_0x5e5f59),_0xc15356[_0xb522c7(0x32e)](this[_0xb522c7(0x377)](_0x45bf02)[_0xb522c7(0x181)](()=>{const _0xe64ba0=_0xb522c7;this[_0xe64ba0(0x33d)][_0xe64ba0(0x14c)](_0x45bf02);}));}),await Promise['all'](_0xc15356);}};me=es([_e(0x0,a[_0x114f12(0x35c)]),_e(0x1,a[_0x114f12(0x321)]),_e(0x2,a[_0x114f12(0x2fe)](m['RevisionService']))],me);class ke extends a[_0x114f12(0x1de)]{constructor(){const _0x45fe2d=_0x114f12;super(),h(this,_0x45fe2d(0x337)),this[_0x45fe2d(0x337)]=d[_0x45fe2d(0x241)](window,'popstate')['pipe'](d['takeUntil'](this['dispose$']),d[_0x45fe2d(0x16b)](0x1),d[_0x45fe2d(0x37a)](void 0x0));}['setParam'](_0x2f1ed6,_0x26f17c,_0x180c39=!0x1){const _0x240474=_0x114f12,_0xef2379=new URL(window[_0x240474(0x2b8)][_0x240474(0x1b5)]);_0xef2379[_0x240474(0x38c)][_0x240474(0x2a3)](_0x2f1ed6,_0x26f17c),_0x180c39?window['history'][_0x240474(0x33f)]('','',_0xef2379['toString']()):window[_0x240474(0x1ac)][_0x240474(0x1bc)]('','',_0xef2379['toString']());}['removeParam'](_0x4fe4d3,_0x2b4a71=!0x1){const _0x3ed495=_0x114f12,_0x2be980=new URL(window[_0x3ed495(0x2b8)][_0x3ed495(0x1b5)]);_0x2be980[_0x3ed495(0x38c)][_0x3ed495(0x14c)](_0x4fe4d3),_0x2b4a71?window[_0x3ed495(0x1ac)][_0x3ed495(0x33f)]('','',_0x2be980[_0x3ed495(0x234)]()):window[_0x3ed495(0x1ac)][_0x3ed495(0x1bc)]('','',_0x2be980[_0x3ed495(0x234)]());}['getParam'](_0x31a439){const _0x3bdd86=_0x114f12;var _0xbd96d2;return(_0xbd96d2=new URL(window[_0x3bdd86(0x2b8)][_0x3bdd86(0x1b5)])[_0x3bdd86(0x38c)]['get'](_0x31a439))!=null?_0xbd96d2:void 0x0;}}var ts=Object['defineProperty'],ss=Object[_0x114f12(0x358)],ns=(_0x43c8fd,_0x6ef037,_0x2efee5)=>_0x6ef037 in _0x43c8fd?ts(_0x43c8fd,_0x6ef037,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2efee5}):_0x43c8fd[_0x6ef037]=_0x2efee5,is=(_0x316fc7,_0x1ae230,_0x4798f6,_0x5e5224)=>{const _0x11f187=_0x114f12;for(var _0x3bdb61=_0x5e5224>0x1?void 0x0:_0x5e5224?ss(_0x1ae230,_0x4798f6):_0x1ae230,_0x2517ee=_0x316fc7[_0x11f187(0x200)]-0x1,_0x1a3287;_0x2517ee>=0x0;_0x2517ee--)(_0x1a3287=_0x316fc7[_0x2517ee])&&(_0x3bdb61=_0x1a3287(_0x3bdb61)||_0x3bdb61);return _0x3bdb61;},ue=(_0x2a60f9,_0x2dc070)=>(_0x466600,_0x5c0c14)=>_0x2dc070(_0x466600,_0x5c0c14,_0x2a60f9),rs=(_0x14c802,_0x508145,_0x196aaa)=>ns(_0x14c802,_0x508145+'',_0x196aaa);const os=_0x114f12(0x20b);exports[_0x114f12(0x2f5)]=class extends a[_0x114f12(0x2b5)]{constructor(_0x2f3b83=Me,_0x230611,_0x435f4f,_0x2fa9b5){const _0x6ec904=_0x114f12;super(),this['_config']=_0x2f3b83,this['_renderManagerService']=_0x230611,this[_0x6ec904(0x39b)]=_0x435f4f,this[_0x6ec904(0x20e)]=_0x2fa9b5;const {..._0x514c54}=a['merge']({},Me,this[_0x6ec904(0x2db)]);this['_configService'][_0x6ec904(0x3a6)](Wt,_0x514c54);}['onStarting'](){const _0x5d13c6=_0x114f12;this[_0x5d13c6(0x295)](),this[_0x5d13c6(0x2d1)]();}['onRendered'](){const _0x55f9ae=_0x114f12;this[_0x55f9ae(0x2a4)]();}[_0x114f12(0x295)](){const _0x3c7583=_0x114f12;var _0x1cb16c;const _0x3e0274=[[Ce],[Q],[J],[Z],[pe],[Ee,{'useClass':ke}],[q[_0x3c7583(0x266)],{'useClass':q[_0x3c7583(0x2ed)]}],[u[_0x3c7583(0x1b3)],{'useClass':me}],[exports[_0x3c7583(0x213)]],[ee],[z],[x],[fe],[exports['CollaborationDataLoaderController']]];a[_0x3c7583(0x2d2)](this[_0x3c7583(0x39b)],a['mergeOverrideWithDependencies'](_0x3e0274,(_0x1cb16c=this[_0x3c7583(0x2db)])==null?void 0x0:_0x1cb16c[_0x3c7583(0x1c1)]));}['_registerRenderDependencies'](){const _0xc5146e=_0x114f12;this['disposeWithMe'](this['_renderManagerService'][_0xc5146e(0x312)](a[_0xc5146e(0x307)][_0xc5146e(0x240)],[ge])),this[_0xc5146e(0x19c)](this[_0xc5146e(0x339)][_0xc5146e(0x312)](a[_0xc5146e(0x307)][_0xc5146e(0x267)],[Ie]));}[_0x114f12(0x2d1)](){const _0x18f162=_0x114f12;a[_0x18f162(0x394)](this[_0x18f162(0x39b)],[[x],[exports['DesktopCollaborationStatusDisplayController']],[ee],[z],[exports[_0x18f162(0x2bb)]]]);}},rs(exports['UniverCollaborationClientUIPlugin'],_0x114f12(0x1d7),os),exports[_0x114f12(0x2f5)]=is([a[_0x114f12(0x21f)](u['UniverCollaborationClientPlugin']),ue(0x1,p[_0x114f12(0x1eb)]),ue(0x2,a[_0x114f12(0x2fe)](a[_0x114f12(0x203)])),ue(0x3,a[_0x114f12(0x35c)])],exports['UniverCollaborationClientUIPlugin']);var as=Object['getOwnPropertyDescriptor'],cs=(_0x1172d1,_0x2faaf1,_0x5bdfbb,_0x12f643)=>{const _0x45bcfa=_0x114f12;for(var _0x49a601=_0x12f643>0x1?void 0x0:_0x12f643?as(_0x2faaf1,_0x5bdfbb):_0x2faaf1,_0x694917=_0x1172d1[_0x45bcfa(0x200)]-0x1,_0x4fcdce;_0x694917>=0x0;_0x694917--)(_0x4fcdce=_0x1172d1[_0x694917])&&(_0x49a601=_0x4fcdce(_0x49a601)||_0x49a601);return _0x49a601;},F=(_0x31ce5b,_0x5ef095)=>(_0x24e6a4,_0x3977bc)=>_0x5ef095(_0x24e6a4,_0x3977bc,_0x31ce5b);exports[_0x114f12(0x359)]=class extends u[_0x114f12(0x29d)]{constructor(_0x25a660,_0x4b49c6,_0x121105,_0x33add7,_0x3750af){super(_0x25a660,_0x4b49c6,_0x121105,_0x33add7,_0x3750af);}async['createSocket'](_0x29d7b4){const _0x2c2a58=_0x114f12,_0x7a5811=await this[_0x2c2a58(0x28c)](),_0x1aaec0=this[_0x2c2a58(0x2ce)](_0x29d7b4,_0x7a5811);return this[_0x2c2a58(0x1c5)](_0x1aaec0);}[_0x114f12(0x2ce)](_0x9415b7,_0x52ce41){const _0xcb0915=_0x114f12,_0x4bbbee=typeof window>'u'?new URL(_0x9415b7):new URL(_0x9415b7,window[_0xcb0915(0x2b8)][_0xcb0915(0x25b)]);_0x4bbbee['searchParams'][_0xcb0915(0x2a3)](_0xcb0915(0x2cc),_0x52ce41);const _0x4d5d91=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xcb0915(0x2b8)][_0xcb0915(0x19f)]);return _0x4d5d91['get'](_0xcb0915(0x1fe))&&_0x4bbbee[_0xcb0915(0x38c)][_0xcb0915(0x2a3)](_0xcb0915(0x1fe),_0x4d5d91[_0xcb0915(0x221)](_0xcb0915(0x1fe))),_0x4bbbee[_0xcb0915(0x234)]();}async[_0x114f12(0x28c)](){const _0x4ca19d=_0x114f12;var _0x3612ef,_0x452755,_0x1a4890;const _0xf6de2e=this[_0x4ca19d(0x20e)][_0x4ca19d(0x155)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x2d1da3=(_0x3612ef=_0xf6de2e==null?void 0x0:_0xf6de2e[_0x4ca19d(0x185)])!=null?_0x3612ef:u[_0x4ca19d(0x363)];return(_0x1a4890=(_0x452755=(await this[_0x4ca19d(0x1ba)][_0x4ca19d(0x221)](_0x2d1da3,{'headers':{'Content-Type':_0x4ca19d(0x362)}}))[_0x4ca19d(0x1b7)])==null?void 0x0:_0x452755[_0x4ca19d(0x1c8)])!=null?_0x1a4890:'';}},exports[_0x114f12(0x359)]=cs([F(0x0,a['Inject'](a[_0x114f12(0x203)])),F(0x1,a[_0x114f12(0x2fe)](q[_0x114f12(0x2e6)])),F(0x2,a[_0x114f12(0x35c)]),F(0x3,a[_0x114f12(0x1c0)]),F(0x4,m['ISnapshotServerService'])],exports[_0x114f12(0x359)]);const Ne=0x7530,we=_0x114f12(0x37c);class ls extends a['Disposable']{constructor(){const _0x320b03=_0x114f12;super(),h(this,_0x320b03(0x1c7),a[_0x320b03(0x1b9)]()),h(this,_0x320b03(0x18e),new Set()),h(this,'_unitOnClients',new Map()),h(this,_0x320b03(0x26d),null),h(this,_0x320b03(0x253),new Map()),h(this,_0x320b03(0x26a),new Map()),this['_init']();}[_0x114f12(0x2bc)](){const _0x11d08a=_0x114f12;super[_0x11d08a(0x2bc)](),this['_clearOtherTimers']['forEach']((_0x374cce,_0xde6d0c)=>this['_removeClearOtherTimer'](_0xde6d0c)),this[_0x11d08a(0x26d)]&&window[_0x11d08a(0x1e0)](this[_0x11d08a(0x26d)]);}[_0x114f12(0x1c2)](_0x57d2af){const _0x1b1c55=_0x114f12;return this[_0x1b1c55(0x369)](_0x57d2af)[_0x1b1c55(0x3bb)](d[_0x1b1c55(0x30e)]());}[_0x114f12(0x25c)](_0x540b0f){const _0x30cb10=_0x114f12;this[_0x30cb10(0x18e)][_0x30cb10(0x197)]===0x0&&this[_0x30cb10(0x2af)](),this[_0x30cb10(0x18e)]['add'](_0x540b0f),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x540b0f],'isForwarded':!0x1});}[_0x114f12(0x172)](_0x195510){const _0xfbb272=_0x114f12;this[_0xfbb272(0x18e)][_0xfbb272(0x14c)](_0x195510),this[_0xfbb272(0x18e)][_0xfbb272(0x197)]===0x0&&this[_0xfbb272(0x26d)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x114f12(0x1f3)](){const _0x141900=_0x114f12;this[_0x141900(0x19c)](a['toDisposable'](d[_0x141900(0x241)](window,_0x141900(0x188))['subscribe'](_0x537eff=>{const _0x4aaf35=_0x141900;if(_0x537eff[_0x4aaf35(0x2bd)]!==we||!_0x537eff[_0x4aaf35(0x16f)])return;const _0xfeffb8=JSON[_0x4aaf35(0x2b1)](_0x537eff['newValue']);this[_0x4aaf35(0x3ab)](_0xfeffb8);}))),window[_0x141900(0x258)](_0x141900(0x218),()=>this['_send']({'type':0x1,'memberID':this[_0x141900(0x1c7)],'unitIDs':Array[_0x141900(0x366)](this[_0x141900(0x18e)])}));}['_handleEvent'](_0x332049){const _0x5a5553=_0x114f12;switch(_0x332049['type']){case 0x0:this[_0x5a5553(0x1d5)](_0x332049);break;case 0x1:this[_0x5a5553(0x18a)](_0x332049);break;case 0x2:this['_handleHeartbeatEvent'](_0x332049);break;}}[_0x114f12(0x1d5)](_0xe025f4){const _0x5112b7=_0x114f12,{unitIDs:_0x37cebd,memberID:_0x26b0b2,isForwarded:_0x190cad}=_0xe025f4;_0x37cebd[_0x5112b7(0x341)](_0x27e2bd=>{const _0x91a38b=_0x5112b7;if(!_0x190cad&&this[_0x91a38b(0x2f7)][_0x91a38b(0x3bc)](_0x27e2bd)&&this['_ensureSubject'](_0x27e2bd)[_0x91a38b(0x157)](u['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x91a38b(0x2f7)][_0x91a38b(0x3bc)](_0x27e2bd)||!this[_0x91a38b(0x2f7)][_0x91a38b(0x221)](_0x27e2bd)[_0x91a38b(0x3bc)](_0x26b0b2)){const _0x2c5c89=this['_unitOnClients'][_0x91a38b(0x221)](_0x27e2bd)||new Set();_0x2c5c89[_0x91a38b(0x2fc)](_0x26b0b2),this[_0x91a38b(0x2f7)][_0x91a38b(0x2a3)](_0x27e2bd,_0x2c5c89),this[_0x91a38b(0x225)](_0x26b0b2);}}),_0x190cad||this['_send']({'type':0x0,'memberID':this[_0x5112b7(0x1c7)],'unitIDs':[...this[_0x5112b7(0x18e)]],'isForwarded':!0x0});}[_0x114f12(0x225)](_0x393499){const _0x400715=_0x114f12;this['_removeClearOtherTimer'](_0x393499);const _0x739a4=window['setTimeout'](()=>{const _0x568e4f=_0x7083;this[_0x568e4f(0x2f7)][_0x568e4f(0x341)](_0x3244ea=>{const _0x2de51f=_0x568e4f;_0x3244ea[_0x2de51f(0x14c)](_0x393499);});},Ne*0x2);this[_0x400715(0x253)][_0x400715(0x2a3)](_0x393499,_0x739a4);}[_0x114f12(0x2e7)](_0x2a55a6){const _0x3076b0=_0x114f12;if(this['_clearOtherTimers'][_0x3076b0(0x3bc)](_0x2a55a6)){const _0x3c255f=this[_0x3076b0(0x253)][_0x3076b0(0x221)](_0x2a55a6);_0x3c255f&&window[_0x3076b0(0x1ed)](_0x3c255f),this[_0x3076b0(0x253)][_0x3076b0(0x2a3)](_0x2a55a6,null);}}[_0x114f12(0x18a)](_0xd388c5){const _0x3c9383=_0x114f12,{memberID:_0x225e96,unitIDs:_0xe77ebe}=_0xd388c5;_0xe77ebe['forEach'](_0x4156a5=>{const _0x90ccd2=_0x7083;var _0x2e158c;const _0x599569=this[_0x90ccd2(0x2f7)][_0x90ccd2(0x221)](_0x4156a5);_0x599569&&(_0x599569[_0x90ccd2(0x14c)](_0x225e96),(_0x2e158c=this[_0x90ccd2(0x369)](_0x4156a5))==null||_0x2e158c['next'](_0x599569[_0x90ccd2(0x197)]===0x0?u[_0x90ccd2(0x270)][_0x90ccd2(0x374)]:u[_0x90ccd2(0x270)][_0x90ccd2(0x2c4)]));}),this[_0x3c9383(0x2e7)](_0x225e96);}[_0x114f12(0x16a)](_0x3abb12){const _0x3d8c4f=_0x114f12;this[_0x3d8c4f(0x225)](_0x3abb12[_0x3d8c4f(0x347)]);}[_0x114f12(0x346)](_0x5e3761){const _0x4c57ed=_0x114f12;localStorage[_0x4c57ed(0x313)](we,JSON[_0x4c57ed(0x23d)](_0x5e3761));}[_0x114f12(0x2af)](){const _0x438af1=_0x114f12;this[_0x438af1(0x26d)]=window['setInterval'](()=>{const _0x4db9b5=_0x438af1;this[_0x4db9b5(0x346)]({'type':0x2,'memberID':this[_0x4db9b5(0x1c7)]});},Ne);}['_ensureSubject'](_0x535696){const _0x1024ad=_0x114f12;return this[_0x1024ad(0x26a)][_0x1024ad(0x3bc)](_0x535696)||this[_0x1024ad(0x26a)][_0x1024ad(0x2a3)](_0x535696,new d[(_0x1024ad(0x38e))](u[_0x1024ad(0x270)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x1024ad(0x26a)]['get'](_0x535696);}}var Be=(_0x4661d6=>(_0x4661d6[_0x4661d6[_0x114f12(0x348)]=0x0]=_0x114f12(0x348),_0x4661d6[_0x4661d6['OK']=0x1]='OK',_0x4661d6[_0x4661d6[_0x114f12(0x209)]=0x2]='INTERNAL_ERROR',_0x4661d6[_0x4661d6[_0x114f12(0x22d)]=0x3]=_0x114f12(0x22d),_0x4661d6[_0x4661d6[_0x114f12(0x371)]=0x4]='NOT_FOUND',_0x4661d6[_0x4661d6[_0x114f12(0x383)]=0x5]=_0x114f12(0x383),_0x4661d6[_0x4661d6[_0x114f12(0x229)]=0x6]=_0x114f12(0x229),_0x4661d6[_0x4661d6[_0x114f12(0x34a)]=0x7]=_0x114f12(0x34a),_0x4661d6[_0x4661d6[_0x114f12(0x328)]=0x8]=_0x114f12(0x328),_0x4661d6[_0x4661d6[_0x114f12(0x1b8)]=0x9]=_0x114f12(0x1b8),_0x4661d6[_0x4661d6['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4661d6[_0x4661d6[_0x114f12(0x1ab)]=0x1771]=_0x114f12(0x1ab),_0x4661d6[_0x4661d6[_0x114f12(0x38a)]=0x1772]=_0x114f12(0x38a),_0x4661d6[_0x4661d6['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4661d6[_0x4661d6[_0x114f12(0x310)]=0x1b59]=_0x114f12(0x310),_0x4661d6[_0x4661d6[_0x114f12(0x1f9)]=0x1b5a]=_0x114f12(0x1f9),_0x4661d6[_0x4661d6['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x114f12(0x254),_0x4661d6[_0x4661d6['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x114f12(0x352),_0x4661d6[_0x4661d6[_0x114f12(0x2eb)]=0x1b5d]=_0x114f12(0x2eb),_0x4661d6[_0x4661d6['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x114f12(0x150),_0x4661d6[_0x4661d6[_0x114f12(0x32f)]=0x2329]=_0x114f12(0x32f),_0x4661d6[_0x4661d6['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x114f12(0x1f4),_0x4661d6[_0x4661d6[_0x114f12(0x349)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4661d6[_0x4661d6['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x114f12(0x151),_0x4661d6[_0x4661d6[_0x114f12(0x27a)]=0x232d]=_0x114f12(0x27a),_0x4661d6[_0x4661d6[_0x114f12(0x1af)]=0x2711]=_0x114f12(0x1af),_0x4661d6[_0x4661d6[_0x114f12(0x386)]=0x2712]=_0x114f12(0x386),_0x4661d6[_0x4661d6[_0x114f12(0x1be)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4661d6[_0x4661d6[_0x114f12(0x1e9)]=0x2714]=_0x114f12(0x1e9),_0x4661d6[_0x4661d6[_0x114f12(0x306)]=0x2af9]=_0x114f12(0x306),_0x4661d6[_0x4661d6['UNRECOGNIZED']=-0x1]=_0x114f12(0x2d0),_0x4661d6))(Be||{}),hs=Object[_0x114f12(0x358)],_s=(_0x1cfb87,_0x429500,_0x3a3173,_0x4c7056)=>{const _0x2dbd9c=_0x114f12;for(var _0x43f0db=_0x4c7056>0x1?void 0x0:_0x4c7056?hs(_0x429500,_0x3a3173):_0x429500,_0x158932=_0x1cfb87[_0x2dbd9c(0x200)]-0x1,_0x34d172;_0x158932>=0x0;_0x158932--)(_0x34d172=_0x1cfb87[_0x158932])&&(_0x43f0db=_0x34d172(_0x43f0db)||_0x43f0db);return _0x43f0db;},de=(_0x2a2186,_0x59f525)=>(_0x4b16b6,_0x3c07ca)=>_0x59f525(_0x4b16b6,_0x3c07ca,_0x2a2186);exports[_0x114f12(0x31c)]=class extends a[_0x114f12(0x22e)]{constructor(_0x5a122d,_0x3d1649,_0x1e1e1b){const _0x594029=_0x114f12;super(),this[_0x594029(0x2f3)]=_0x5a122d,this[_0x594029(0x1ba)]=_0x3d1649,this[_0x594029(0x20e)]=_0x1e1e1b;}async[_0x114f12(0x1ca)](_0x339625,_0xa1634e,_0x4dd825,..._0x24e598){const _0x58cecf=_0x114f12;var _0x26f382,_0x26a86b,_0x1055e6,_0xa280b0;const _0x5e783d=this['_instanceService']['getFocusedUnit']();if(!_0x5e783d)throw new Error(_0x58cecf(0x351));const _0xd50c25=((_0x26f382=this[_0x58cecf(0x20e)][_0x58cecf(0x155)](u[_0x58cecf(0x21e)]))!=null?_0x26f382:u[_0x58cecf(0x2a8)])+'/'+_0x339625+_0x58cecf(0x305)+_0xa1634e,_0x46363a=new URL(window[_0x58cecf(0x2b8)][_0x58cecf(0x1b5)]),_0x541175={'scriptId':_0x339625,'runId':(_0x26a86b=_0x46363a[_0x58cecf(0x38c)][_0x58cecf(0x221)](_0x58cecf(0x1fe)))!=null?_0x26a86b:'','function':_0xa1634e,'unitId':_0x5e783d['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x24e598),'invokeId':(_0x1055e6=_0x4dd825[_0x58cecf(0x1cd)])!=null?_0x1055e6:'','executionId':(_0xa280b0=_0x4dd825['executionId'])!=null?_0xa280b0:''};try{const _0x222134=await this[_0x58cecf(0x1ba)]['post'](_0xd50c25,{'body':_0x541175});return _0x222134[_0x58cecf(0x1b7)][_0x58cecf(0x154)]&&_0x222134[_0x58cecf(0x1b7)][_0x58cecf(0x154)][_0x58cecf(0x192)]!==Be['OK']?_0x58cecf(0x34c):_0x222134[_0x58cecf(0x1b7)][_0x58cecf(0x2c1)];}catch{return'Failed';}}},exports[_0x114f12(0x31c)]=_s([de(0x0,a[_0x114f12(0x182)]),de(0x1,a[_0x114f12(0x2fe)](q[_0x114f12(0x2e6)])),de(0x2,a[_0x114f12(0x35c)])],exports[_0x114f12(0x31c)]),exports[_0x114f12(0x3a1)]=je,exports[_0x114f12(0x156)]=Ee,exports[_0x114f12(0x176)]=ye,exports[_0x114f12(0x142)]=ls,exports[_0x114f12(0x39c)]=ke;
|
package/lib/cjs/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
'use strict';const
|
|
1
|
+
'use strict';const _0x2da084=_0x2566;(function(_0x7111e9,_0x581a66){const _0x40888a=_0x2566,_0x3714e5=_0x7111e9();while(!![]){try{const _0x527926=-parseInt(_0x40888a(0xdc))/0x1*(parseInt(_0x40888a(0xe0))/0x2)+parseInt(_0x40888a(0xd6))/0x3*(-parseInt(_0x40888a(0xca))/0x4)+-parseInt(_0x40888a(0xdf))/0x5+parseInt(_0x40888a(0xc9))/0x6+-parseInt(_0x40888a(0xce))/0x7*(parseInt(_0x40888a(0xcc))/0x8)+-parseInt(_0x40888a(0xd2))/0x9+parseInt(_0x40888a(0xd1))/0xa*(parseInt(_0x40888a(0xcb))/0xb);if(_0x527926===_0x581a66)break;else _0x3714e5['push'](_0x3714e5['shift']());}catch(_0x5f2106){_0x3714e5['push'](_0x3714e5['shift']());}}}(_0x3fed,0x1f5bc));function _0x2566(_0x3ecbac,_0x476a0c){const _0x3fedca=_0x3fed();return _0x2566=function(_0x256603,_0xb259a3){_0x256603=_0x256603-0xc7;let _0x5a865e=_0x3fedca[_0x256603];return _0x5a865e;},_0x2566(_0x3ecbac,_0x476a0c);}function _0x3fed(){const _0x285d9c=['Authentication\x20Error','18585CeSURz','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','84750cDYOJT','1190187dszLDP','Click\x20to\x20Reconnect','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','3HCMxhq','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','Local\x20file','Connection\x20failed,\x20please\x20check\x20your\x20network.','38nxDhLg','Synced','exports','50275FCSZbr','1096LMEbNd','Syncing...','Collaboration\x20Conflict','980448pXdhiN','474548FMbpTr','341rCaQiA','48gklqAz'];_0x3fed=function(){return _0x285d9c;};return _0x3fed();}const e={'collab-client':{'tooltip':{'reconnect':_0x2da084(0xd3)}},'collabStatus':{'fetchMiss':_0x2da084(0xd9),'conflict':_0x2da084(0xd0),'notCollab':_0x2da084(0xda),'synced':_0x2da084(0xdd),'syncing':_0x2da084(0xc7),'offline':_0x2da084(0xcf)},'session':{'connection-failed':_0x2da084(0xdb),'will-retry':_0x2da084(0xd8),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x2da084(0xc8),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x2da084(0xcd),'content':_0x2da084(0xd4)},'collaboration':{'single-unit':{'warning':_0x2da084(0xd7)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x2da084(0xd5)}};module[_0x2da084(0xde)]=e;
|