@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504141607 → 0.6.10-nightly.202504161609
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/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/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 +21 -16
package/lib/es/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const _0x306380=_0x5f42;(function(_0x2b6f05,_0x43984d){const _0x5a9fb4=_0x5f42,_0x2d0284=_0x2b6f05();while(!![]){try{const _0x62b7d=parseInt(_0x5a9fb4(0x150))/0x1+parseInt(_0x5a9fb4(0x2ce))/0x2+-parseInt(_0x5a9fb4(0x258))/0x3*(parseInt(_0x5a9fb4(0x2b3))/0x4)+-parseInt(_0x5a9fb4(0x2bd))/0x5+parseInt(_0x5a9fb4(0x24c))/0x6*(parseInt(_0x5a9fb4(0x10a))/0x7)+-parseInt(_0x5a9fb4(0x189))/0x8+parseInt(_0x5a9fb4(0x1a9))/0x9;if(_0x62b7d===_0x43984d)break;else _0x2d0284['push'](_0x2d0284['shift']());}catch(_0x19340a){_0x2d0284['push'](_0x2d0284['shift']());}}}(_0x4b50,0xa7062));var Bt=Object[_0x306380(0xfd)],kt=(_0x131475,_0x4609d0,_0xcd055b)=>_0x4609d0 in _0x131475?Bt(_0x131475,_0x4609d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcd055b}):_0x131475[_0x4609d0]=_0xcd055b,_=(_0x5cf098,_0x574a31,_0x281220)=>kt(_0x5cf098,typeof _0x574a31!=_0x306380(0x27c)?_0x574a31+'':_0x574a31,_0x281220);import{MemberService as _0x58ec07,SessionStatus as _0x4739f2,CollaborationSessionService as _0x3f2fe9,CollaborationStatus as _0x344fd8,CollaborationController as _0x354dfa,ILocalCacheService as _0x2f27fe,CollaborationUIEventService as _0x27dc93,CollaborationUIEventId as _0x5532f5,DataLoaderService as _0x2f7e52,DocCollaborationEntity as _0x530020,getLocalCacheKey as _0x1ae124,LOCAL_CACHE_INTERVAL as _0xc97530,LOCAL_CACHE_INTERVAL_KEY as _0x4ab531,UniverCollaborationClientPlugin as _0x5bbdcb,CollaborationSocketService as _0x1b0c2c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x533465,DEFAULT_WS_SESSION_TICKET_URL as _0xa647e2,UnitStatus as _0x26192f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4c2332,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1238ce}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x105c1b,Disposable as _0x212855,DOC_RANGE_TYPE as _0x56ed71,Inject as _0x3afd9e,Injector as _0x4b117,IUniverInstanceService as _0x5f5751,ICommandService as _0x459a93,debounce as _0xbbae5d,Rectangle as _0x507ca4,DisposableCollection as _0x5a6464,toDisposable as _0x360a92,UniverInstanceType as _0x1cd4b1,Tools as _0x322f9c,COLORS as _0x295266,ColorKit as _0x424f5f,ThemeService as _0x5a99a8,fromEventSubject as _0x18902a,LocaleService as _0x4d2fab,createIdentifier as _0x59fe85,ILogService as _0x3120e3,Optional as _0x1c9169,Workbook as _0x2e84fd,CommandType as _0x1846a2,IConfigService as _0xc0ea31,ILocalStorageService as _0x5971f0,DependentOn as _0x20d232,Plugin as _0x90d560,merge as _0x2d7b3e,registerDependencies as _0x1e658b,mergeOverrideWithDependencies as _0x3021db,touchDependencies as _0x2f0202,generateRandomId as _0xe28911}from'@univerjs/core';import{Shape as _0x4f35e0,Rect as _0x5327b6,getColor as _0x225e7c,RegularPolygon as _0x5b3fa0,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5ed841,Vector2 as _0x53eff0,SHEET_VIEWPORT_KEY as _0x591dad,IRenderManagerService as _0x177c33}from'@univerjs/engine-render';import{ISocketService as _0x1c152f,WebSocketService as _0x1ad0bd,HTTPService as _0x6f80c5}from'@univerjs/network';import{IDocClipboardService as _0x137d1b,NodePositionConvertToCursor as _0x5dc671,NodePositionConvertToRectRange as _0x1cf8c7,TEXT_RANGE_LAYER_INDEX as _0x26434a,SetDocZoomRatioOperation as _0x4f7111,DocIMEInputManagerService as _0x369c07,DocStateChangeManagerService as _0x3d861c}from'@univerjs/docs-ui';import{IImageIoService as _0x189d5f}from'@univerjs/drawing';import{BehaviorSubject as _0x39027c,debounceTime as _0x4994e9,takeUntil as _0x49b09f,Subject as _0x33a3b3,filter as _0xf328a7,switchMap as _0x3181cc,merge as _0x28bbdf,combineLatest as _0x2619b0,of as _0x5bba0d,fromEvent as _0x1b2312,shareReplay as _0x51a7e2,mapTo as _0x33a373,distinctUntilChanged as _0x26e109}from'rxjs';import{SetTextSelectionsOperation as _0x13c439,RichTextEditingMutation as _0xfd7e7b,DocSelectionManagerService as _0x512101,DocSkeletonManagerService as _0x23a42f}from'@univerjs/docs';import{ITransformService as _0x7bf59f,CollaborationEvent as _0x16c4e7,isTransformMutationFailure as _0x321bf4,isTransformMutationsWithChangesetSuccess as _0x2157ba,RevisionService as _0x15ca61,ISnapshotServerService as _0x11ed14}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x4ec294,serializeRangeWithSheet as _0x39053c}from'@univerjs/engine-formula';import{RefRangeService as _0x3fd995,SetSelectionsOperation as _0x776421,SheetsSelectionsService as _0x150107,EffectRefRangId as _0xc1ea65,handleIRemoveRow as _0x195556,handleIRemoveCol as _0x1e0c6d,handleMoveRange as _0x1eb516,handleInsertRow as _0x3b7722,handleInsertRangeMoveRight as _0x4e2884,handleInsertRangeMoveDown as _0x5f221d,handleInsertCol as _0x48cddb,handleDeleteRangeMoveUp as _0x123231,handleDeleteRangeMoveLeft as _0x34b7ca,runRefRangeMutations as _0x5d7082,SetWorksheetActivateCommand as _0x481dfe}from'@univerjs/sheets';import{map as _0x30e61e,filter as _0x11ec65,throttleTime as _0x1f4720,takeUntil as _0x5ae3f6,switchMap as _0x58e5da}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3e80f5,getCoordByCell as _0x5d8da6,getSheetObject as _0x1912c1}from'@univerjs/sheets-ui';import{jsx as _0x436a04,jsxs as _0x233a53}from'react/jsx-runtime';import{useObservable as _0x17463e,useDependency as _0x9b66f4,IUIPartsService as _0x294510,BuiltInUIPart as _0x567b99,connectInjector as _0x3afacf,IBeforeCloseService as _0xee54a5,IMessageService as _0x555e39,INotificationService as _0x278379}from'@univerjs/ui';import{clsx as _0x1fe989,Tooltip as _0x177b87,MessageType as _0x172d80}from'@univerjs/design';import{forwardRef as _0xce2410,useRef as _0x5407f6,createElement as _0x58e742,useCallback as _0x277056}from'react';import{IRemoteInstanceService as _0x33cba8}from'@univerjs/rpc';var li=Object[_0x306380(0x295)],_i=(_0x9f0370,_0x23a242,_0x385083,_0x451fd2)=>{const _0x30438d=_0x306380;for(var _0x1f4049=_0x451fd2>0x1?void 0x0:_0x451fd2?li(_0x23a242,_0x385083):_0x23a242,_0x1349a2=_0x9f0370[_0x30438d(0x2e0)]-0x1,_0x4153d4;_0x1349a2>=0x0;_0x1349a2--)(_0x4153d4=_0x9f0370[_0x1349a2])&&(_0x1f4049=_0x4153d4(_0x1f4049)||_0x1f4049);return _0x1f4049;},Qe=(_0x251118,_0xa631c4)=>(_0x1eca0a,_0x55301d)=>_0xa631c4(_0x1eca0a,_0x55301d,_0x251118);let Me=class extends _0x105c1b{constructor(_0x5a20fc,_0x16c35a){const _0x4177a6=_0x306380;super(),this['_docClipboardService']=_0x5a20fc,this['_imageIoService']=_0x16c35a,this[_0x4177a6(0x18a)]();}[_0x306380(0x18a)](){const _0x36585b=_0x306380,_0x5cfa00=this;this['disposeWithMe'](this['_docClipboardService'][_0x36585b(0x22e)]({'onBeforePasteImage':async _0x2c3a1f=>{const _0x5a852a=_0x36585b,_0x1e4444=await _0x5cfa00['_imageIoService']['saveImage'](_0x2c3a1f);return _0x1e4444?{'source':_0x1e4444[_0x5a852a(0x1ad)],'imageSourceType':_0x1e4444[_0x5a852a(0x2e8)]}:null;}}));}};Me=_i([Qe(0x0,_0x137d1b),Qe(0x1,_0x189d5f)],Me);const qe=[_0x306380(0x2d0),_0x306380(0x15f),_0x306380(0x252),'red300',_0x306380(0x166),'gold400'];class He extends _0x212855{constructor(){const _0xdea3fd=_0x306380;super(...arguments),_(this,_0xdea3fd(0x18f),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x593853){const _0x939159=_0x306380;if(this[_0x939159(0x18f)][_0x939159(0x291)](_0x593853))return this[_0x939159(0x18f)][_0x939159(0x1b8)](_0x593853);const _0x13a6bd=qe[this[_0x939159(0x2f2)]];return this[_0x939159(0x2f2)]=(this[_0x939159(0x2f2)]+0x1)%qe['length'],this[_0x939159(0x18f)]['set'](_0x593853,_0x13a6bd),_0x13a6bd;}}function Dt(_0x283dda){const _0x10df53=_0x306380;let _0xc66af3='';for(const _0xbe55cb of _0x283dda){const {startOffset:_0x47a69e,endOffset:_0x54f787,isActive:_0xebc776,rangeType:_0x22cacb,segmentId:_0x8e1e03,segmentPage:_0x4ab185}=_0xbe55cb;_0xc66af3[_0x10df53(0x2e0)]&&(_0xc66af3+=','),_0xc66af3+=_0x47a69e+':'+_0x54f787+':'+(_0xebc776?'1':'0')+':'+_0x22cacb+':'+_0x8e1e03+':'+_0x4ab185;}return _0xc66af3;}function hi(_0x1cd2af){const _0x3b127e=_0x306380,_0x58d181=_0x1cd2af[_0x3b127e(0x13a)](','),_0x454546=[];for(const _0x132e72 of _0x58d181){const [_0x29996a,_0x43277a,_0x1dcc91,_0xd5aadc,_0x5cd95c,_0x3357a0]=_0x132e72[_0x3b127e(0x13a)](':');_0x454546[_0x3b127e(0x11e)]({'startOffset':Number(_0x29996a),'endOffset':Number(_0x43277a),'collapsed':_0x29996a===_0x43277a,'isActive':_0x1dcc91==='1','rangeType':_0xd5aadc===_0x56ed71[_0x3b127e(0x1ed)]?_0x56ed71[_0x3b127e(0x1ed)]:_0x56ed71[_0x3b127e(0x1d3)],'segmentId':typeof _0x5cd95c==_0x3b127e(0x29b)?String(_0x5cd95c):'','segmentPage':Number(_0x3357a0!=null?_0x3357a0:-0x1)});}return _0x454546['some'](_0x3c2043=>_0x3c2043[_0x3b127e(0x15e)])||(_0x454546[0x0][_0x3b127e(0x15e)]=!0x0),_0x454546;}class je extends _0x105c1b{constructor(){const _0x466eef=_0x306380;super(...arguments),_(this,_0x466eef(0x12f),new _0x39027c(null)),_(this,_0x466eef(0x107),this[_0x466eef(0x12f)][_0x466eef(0x2af)]());}[_0x306380(0x210)](_0x413cd0){const _0x29af09=_0x306380,{unitID:_0x31990b,memberID:_0x578f77,textRanges:_0x2b3b27}=_0x413cd0,_0x2196bd=Dt(_0x2b3b27);if(_0x2196bd==='')return;const _0x33a069={'unitID':_0x31990b,'memberID':_0x578f77,'selection':_0x2196bd};this[_0x29af09(0x12f)][_0x29af09(0x157)](_0x33a069);}}var ui=Object[_0x306380(0x295)],di=(_0x3b586f,_0x5414f4,_0xb81e14,_0x5646e2)=>{const _0x537366=_0x306380;for(var _0x556555=_0x5646e2>0x1?void 0x0:_0x5646e2?ui(_0x5414f4,_0xb81e14):_0x5414f4,_0x55fb8e=_0x3b586f[_0x537366(0x2e0)]-0x1,_0x304b2e;_0x55fb8e>=0x0;_0x55fb8e--)(_0x304b2e=_0x3b586f[_0x55fb8e])&&(_0x556555=_0x304b2e(_0x556555)||_0x556555);return _0x556555;},U=(_0x4d32f9,_0x1a6e15)=>(_0x5127f5,_0x142c25)=>_0x1a6e15(_0x5127f5,_0x142c25,_0x4d32f9);const fi=0x12c,Si=0x64;let Pe=class extends _0x105c1b{constructor(_0x3a6867,_0x3e8cfe,_0x57848c,_0x2f839f,_0xc54b9,_0x39d743,_0x1efd33,_0x1da787,_0x57ff2c){const _0x12dd66=_0x306380;super(),_(this,_0x12dd66(0x22f),!0x1),_(this,'_init',!0x1),_(this,_0x12dd66(0x140),new _0x39027c(new Map())),_(this,_0x12dd66(0x172),this[_0x12dd66(0x140)][_0x12dd66(0x2af)]()),_(this,_0x12dd66(0x16f),new _0x39027c([])),_(this,_0x12dd66(0x243),this[_0x12dd66(0x16f)][_0x12dd66(0x17b)](_0x4994e9(fi))),_(this,_0x12dd66(0xf7),_0xbbae5d(_0x423499=>{const _0x53627a=_0x12dd66,_0x50cc7a={'eventID':_0x16c4e7['UPDATE_CURSOR'],'data':{'unitID':this[_0x53627a(0x1ea)],'memberID':this[_0x53627a(0x161)]['getMemberID'](),'selection':Dt(_0x423499)}};this[_0x53627a(0x161)][_0x53627a(0x174)](_0x50cc7a,this[_0x53627a(0x1ea)]);},Si)),(this['unitID']=_0x3a6867,this['_session']=_0x3e8cfe,this['_injector']=_0x57848c,this[_0x12dd66(0x239)]=_0x2f839f,this['_memberService']=_0xc54b9,this[_0x12dd66(0xfb)]=_0x39d743,this[_0x12dd66(0x23b)]=_0x1efd33,this[_0x12dd66(0x1e8)]=_0x1da787,this['_commandService']=_0x57ff2c);}get['cursorInfo'](){const _0x1223b6=_0x306380;return this['_cursorInfo$'][_0x1223b6(0x242)]();}get[_0x306380(0x2be)](){const _0x473f83=_0x306380;return this[_0x473f83(0x16f)][_0x473f83(0x242)]();}['dispose'](){const _0x372c68=_0x306380;super[_0x372c68(0x211)](),this[_0x372c68(0x140)][_0x372c68(0x157)](new Map()),this['_cursorInfo$'][_0x372c68(0x191)](),this['_roomMembers$'][_0x372c68(0x157)]([]),this[_0x372c68(0x16f)]['complete']();}['init'](){const _0xa8c786=_0x306380;this[_0xa8c786(0x18a)]||(this[_0xa8c786(0x18a)]=!0x0,this['_session'][_0xa8c786(0x11d)][_0xa8c786(0x17b)](_0x49b09f(this[_0xa8c786(0x2cb)]))[_0xa8c786(0x126)](_0x1fd76a=>{const _0x8d2d82=_0xa8c786;_0x1fd76a===_0x4739f2[_0x8d2d82(0x2b2)]?this[_0x8d2d82(0x114)]():this[_0x8d2d82(0x118)]();}),this['_session'][_0xa8c786(0x1e9)][_0xa8c786(0x17b)](_0x49b09f(this[_0xa8c786(0x2cb)]))[_0xa8c786(0x126)](_0x14eec4=>{const _0x5eb650=_0xa8c786,_0x1070ef=_0x14eec4[_0x5eb650(0x253)];_0x1070ef===_0x16c4e7[_0x5eb650(0x224)]&&this['_onCursorUpdate'](_0x14eec4),_0x1070ef===_0x16c4e7[_0x5eb650(0x1fb)]&&this['_onCursorDelete'](_0x14eec4);}),this[_0xa8c786(0x1a6)](this['_commandService']['onCommandExecuted'](_0x309962=>{const _0x587603=_0xa8c786,_0x336373=_0x309962[_0x587603(0x18c)];_0x336373!=null&&this[_0x587603(0x22f)]&&_0x309962['id']===_0x13c439['id']&&_0x336373['unitId']===this[_0x587603(0x1ea)]&&_0x336373[_0x587603(0x1ce)]===!0x1&&_0x336373[_0x587603(0x25d)]['length']>0x0&&this[_0x587603(0xf7)](_0x336373[_0x587603(0x25d)]);})),this[_0xa8c786(0xfb)][_0xa8c786(0x107)][_0xa8c786(0x17b)](_0x49b09f(this[_0xa8c786(0x2cb)]))[_0xa8c786(0x126)](_0x225f2e=>{const _0x35255f=_0xa8c786;if((_0x225f2e==null?void 0x0:_0x225f2e['unitID'])!==this[_0x35255f(0x1ea)])return;const _0x2dbf46={'eventID':_0x16c4e7[_0x35255f(0x224)],'data':_0x225f2e};this[_0x35255f(0x165)](_0x2dbf46);}),this['disposeWithMe'](this[_0xa8c786(0x179)][_0xa8c786(0x287)](_0x1e16ec=>{const _0x3920b1=_0xa8c786;if(_0x1e16ec[_0x3920b1(0x18c)]==null)return;const _0xa60090=_0x1e16ec[_0x3920b1(0x18c)];if(_0x1e16ec['id']!==_0xfd7e7b['id']||_0xa60090[_0x3920b1(0x1f1)]!==this['unitID'])return;const _0x1e47f6={'id':_0x3920b1(0x117),'params':_0xa60090},_0x756dd9=this['cursorInfo'];for(const [_0x2bf78e,_0x13a282]of _0x756dd9){const _0x57a166={'id':_0x3920b1(0x117),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x13a282['ranges']}},_0x307e3c=this['_transformService']['transformMutation'](_0x1e47f6,_0x57a166,!0x1);if(_0x321bf4(_0x307e3c))throw _0x307e3c[_0x3920b1(0x282)];_0x756dd9[_0x3920b1(0x1d4)](_0x2bf78e,{..._0x13a282,'ranges':_0x307e3c[_0x3920b1(0x137)][_0x3920b1(0x18c)][_0x3920b1(0x204)]});}queueMicrotask(()=>{const _0x15658d=_0x3920b1;this['_cursorInfo$'][_0x15658d(0x157)](_0x756dd9);});})));}[_0x306380(0x165)](_0x26c1b9){const _0x289f7d=_0x306380;var _0xa41783,_0x1148ac;const {memberID:_0x591965,selection:_0x23c153}=_0x26c1b9['data'],_0x1bf309=hi(_0x23c153),_0x5a47ca=(_0x1148ac=(_0xa41783=this['_memberService']['getMember'](this['unitID'],_0x591965))==null?void 0x0:_0xa41783['name'])!=null?_0x1148ac:_0x289f7d(0x2df),_0x2a8c63={'color':this[_0x289f7d(0x239)][_0x289f7d(0x10b)](_0x591965),'name':_0x5a47ca,'ranges':_0x1bf309},_0x41f7de=this[_0x289f7d(0x24e)];_0x41f7de[_0x289f7d(0x1d4)](_0x591965,_0x2a8c63),this[_0x289f7d(0x140)][_0x289f7d(0x157)](_0x41f7de);}['_onCursorDelete'](_0x52d56b){const _0x25366c=_0x306380,{memberID:_0xdde4c}=_0x52d56b[_0x25366c(0x220)],_0x48eb00=this[_0x25366c(0x24e)];_0x48eb00[_0x25366c(0x1ae)](_0xdde4c),this[_0x25366c(0x140)][_0x25366c(0x157)](_0x48eb00);}[_0x306380(0x114)](){const _0x4a9997=_0x306380;var _0x47c3d4;if(this[_0x4a9997(0x22f)]=!0x0,((_0x47c3d4=this[_0x4a9997(0x1e8)][_0x4a9997(0x2d3)]())==null?void 0x0:_0x47c3d4[_0x4a9997(0x2a6)]())!==this['unitID'])return;const _0x1d5f81=this[_0x4a9997(0x1b9)][_0x4a9997(0x1b8)](_0x512101)['getDocRanges']();Array[_0x4a9997(0x2cf)](_0x1d5f81)&&_0x1d5f81['length']>0x0&&this[_0x4a9997(0xf7)](_0x1d5f81);}['_toggleOffline'](){const _0xa39840=_0x306380;this[_0xa39840(0x22f)]=!0x1;}};Pe=di([U(0x2,_0x3afd9e(_0x4b117)),U(0x3,_0x3afd9e(He)),U(0x4,_0x3afd9e(_0x58ec07)),U(0x5,_0x3afd9e(je)),U(0x6,_0x7bf59f),U(0x7,_0x5f5751),U(0x8,_0x459a93)],Pe);var mi=Object[_0x306380(0x295)],gi=(_0x32ef9d,_0x5447d1,_0x18cf65,_0x4e2c90)=>{const _0x353a9b=_0x306380;for(var _0x5e8a3d=_0x4e2c90>0x1?void 0x0:_0x4e2c90?mi(_0x5447d1,_0x18cf65):_0x5447d1,_0x197fa9=_0x32ef9d[_0x353a9b(0x2e0)]-0x1,_0x47db28;_0x197fa9>=0x0;_0x197fa9--)(_0x47db28=_0x32ef9d[_0x197fa9])&&(_0x5e8a3d=_0x47db28(_0x5e8a3d)||_0x5e8a3d);return _0x5e8a3d;},x=(_0x119f80,_0x13ab02)=>(_0x195e81,_0x5e9b04)=>_0x13ab02(_0x195e81,_0x5e9b04,_0x119f80);const vi=0x12c,Ii=0x64,pi=()=>{let _0x4e1dac=[],_0x5eec4b=!0x1;return _0x5a5050=>{const _0xd61343=_0x5f42;_0x4e1dac[_0xd61343(0x11e)](_0x5a5050),_0x5eec4b||(_0x5eec4b=!0x0,setTimeout(()=>{const _0x22c38d=_0xd61343;_0x4e1dac[_0x22c38d(0x159)](_0x1b75ad=>_0x1b75ad()),_0x4e1dac=[],_0x5eec4b=!0x1;}));};};let we=class extends _0x105c1b{constructor(_0x4576e4,_0x3ead83,_0x4915c1,_0x4b4eb4,_0x4046d6,_0x3fa45b,_0x47cab6,_0x6df795){const _0x225d77=_0x306380;super(),_(this,_0x225d77(0x22f),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x39027c(new Map())),_(this,_0x225d77(0x172),this[_0x225d77(0x140)][_0x225d77(0x2af)]()),_(this,'_roomMembers$',new _0x39027c([])),_(this,_0x225d77(0x243),this[_0x225d77(0x16f)]['pipe'](_0x4994e9(vi))),_(this,_0x225d77(0xf7),_0xbbae5d((_0x303898,_0x396be6)=>{const _0x31388b=_0x225d77,_0x51bfed={'eventID':_0x16c4e7['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x31388b(0x161)][_0x31388b(0x1bf)](),'selection':_0x39053c(_0x303898,_0x396be6[_0x31388b(0x143)])}};this[_0x31388b(0x161)]['send'](_0x51bfed,this[_0x31388b(0x1ea)]);},Ii)),(this[_0x225d77(0x1ea)]=_0x4576e4,this[_0x225d77(0x161)]=_0x3ead83,this[_0x225d77(0x1b9)]=_0x4915c1,this['_colorAssignService']=_0x4b4eb4,this[_0x225d77(0x2d2)]=_0x4046d6,this[_0x225d77(0x1e8)]=_0x3fa45b,this['_commandService']=_0x47cab6,this[_0x225d77(0x23e)]=_0x6df795);}get[_0x306380(0x24e)](){return this['_cursorInfo$']['getValue']();}get[_0x306380(0x2be)](){const _0xc22387=_0x306380;return this[_0xc22387(0x16f)][_0xc22387(0x242)]();}[_0x306380(0x211)](){const _0x276cf6=_0x306380;super[_0x276cf6(0x211)](),this[_0x276cf6(0x140)][_0x276cf6(0x157)](new Map()),this[_0x276cf6(0x140)]['complete'](),this[_0x276cf6(0x16f)]['next']([]),this[_0x276cf6(0x16f)][_0x276cf6(0x191)]();}[_0x306380(0x25e)](){const _0x584d5b=_0x306380;this['_init']||(this[_0x584d5b(0x18a)]=!0x0,this['_session'][_0x584d5b(0x11d)]['pipe'](_0x49b09f(this[_0x584d5b(0x2cb)]))[_0x584d5b(0x126)](_0x31ff86=>{_0x31ff86===_0x4739f2['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x584d5b(0x161)][_0x584d5b(0x1e9)][_0x584d5b(0x17b)](_0x49b09f(this['dispose$']))['subscribe'](_0x52a06d=>{const _0x168465=_0x584d5b,_0x35ee7e=_0x52a06d['eventID'];_0x35ee7e===_0x16c4e7[_0x168465(0x224)]&&this[_0x168465(0x165)](_0x52a06d),_0x35ee7e===_0x16c4e7[_0x168465(0x1fb)]&&this['_onCursorDelete'](_0x52a06d);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x584d5b(0x287)](_0x5a1c99=>{const _0x4e323c=_0x584d5b;if(this['_online']&&_0x5a1c99['id']===_0x776421['id']&&_0x5a1c99[_0x4e323c(0x18c)][_0x4e323c(0x1f1)]===this[_0x4e323c(0x1ea)]){const _0x57394c=_0x5a1c99[_0x4e323c(0x18c)];this['_updateLocalCursor'](_0x57394c[_0x4e323c(0x2ea)],_0x57394c[_0x4e323c(0x1c9)][0x0]);}})));}[_0x306380(0x165)](_0x403bb0){const _0x562fcb=_0x306380;var _0x23619e,_0x4c755b;const {memberID:_0xbf9057,selection:_0x225068}=_0x403bb0['data'],{sheetName:_0x2fc6f9,range:_0x31c163}=_0x4ec294(_0x225068),_0x5d70d2={'name':(_0x4c755b=(_0x23619e=this[_0x562fcb(0x2d2)][_0x562fcb(0x14a)](this[_0x562fcb(0x1ea)],_0xbf9057))==null?void 0x0:_0x23619e[_0x562fcb(0x147)])!=null?_0x4c755b:_0x562fcb(0x2df),'range':this[_0x562fcb(0x1d5)](_0x2fc6f9,_0x31c163),'sheetID':_0x2fc6f9,'color':this['_colorAssignService'][_0x562fcb(0x10b)](_0xbf9057),'selection':_0x225068},_0x3ac67a=this[_0x562fcb(0x24e)];_0x3ac67a[_0x562fcb(0x1d4)](_0xbf9057,_0x5d70d2),this['_cursorInfo$'][_0x562fcb(0x157)](_0x3ac67a);}['_onCursorDelete'](_0x5a5a88){const _0x4f6163=_0x306380,{memberID:_0x3546d6}=_0x5a5a88[_0x4f6163(0x220)],_0x33c606=this[_0x4f6163(0x24e)];_0x33c606[_0x4f6163(0x1ae)](_0x3546d6),this[_0x4f6163(0x140)][_0x4f6163(0x157)](_0x33c606);}[_0x306380(0x1d5)](_0x3edcd5,_0x4d991a){const _0x53363b=_0x306380;var _0x1e9c6b,_0x324fec;const _0x159f43=(_0x324fec=(_0x1e9c6b=this[_0x53363b(0x1e8)][_0x53363b(0x108)](this[_0x53363b(0x1ea)]))==null?void 0x0:_0x1e9c6b[_0x53363b(0x288)](_0x3edcd5))==null?void 0x0:_0x324fec['getMergeData']();return(_0x159f43==null?void 0x0:_0x159f43['find'](_0x49f230=>_0x507ca4[_0x53363b(0x276)](_0x49f230,_0x4d991a)))||_0x4d991a;}[_0x306380(0x129)](){const _0x328cd2=_0x306380,_0x2f848b=new _0x5a6464(),_0x1469d4=pi(),_0x1537b1=()=>{const _0x2a44dc=_0x5f42;_0x2f848b['dispose']();const _0x244a01=(_0x4391b9,_0x575005,_0x1494a3,_0x21a93b)=>{const _0x1fbec3=_0x5f42;let _0x529158=[];switch(_0x4391b9['id']){case _0xc1ea65[_0x1fbec3(0x2e5)]:{_0x529158=_0x34b7ca(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x15a)]:{_0x529158=_0x123231(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x262)]:{_0x529158=_0x48cddb(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x1fe)]:{_0x529158=_0x5f221d(_0x4391b9,_0x21a93b);break;}case _0xc1ea65['InsertRangeMoveRightCommandId']:{_0x529158=_0x4e2884(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x2b4)]:{_0x529158=_0x3b7722(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x1dc)]:{_0x529158=_0x1eb516(_0x4391b9,_0x21a93b);break;}case _0xc1ea65['RemoveColCommandId']:{_0x529158=_0x1e0c6d(_0x4391b9,_0x21a93b);break;}case _0xc1ea65['RemoveRowCommandId']:{_0x529158=_0x195556(_0x4391b9,_0x21a93b);break;}}const _0x26eb8c=_0x5d7082(_0x529158,_0x21a93b),_0x2e5531=this[_0x1fbec3(0x24e)][_0x1fbec3(0x1b8)](_0x575005);if(_0x2e5531&&_0x26eb8c){const _0x2fc3a0={..._0x2e5531,'range':_0x26eb8c};this[_0x1fbec3(0x24e)][_0x1fbec3(0x1d4)](_0x575005,_0x2fc3a0),_0x1469d4(()=>{const _0x427444=_0x1fbec3,_0x2d719d=this[_0x427444(0x23e)]['registerRefRange'](_0x26eb8c,_0x15c90a=>(_0x2d719d[_0x427444(0x211)](),_0x244a01(_0x15c90a,_0x575005,_0x1494a3,_0x26eb8c)));_0x2f848b[_0x427444(0x184)](_0x2d719d);});}return{'redos':[],'undos':[]};};this[_0x2a44dc(0x24e)][_0x2a44dc(0x159)]((_0x2cb3bd,_0x5817b9)=>{const _0x4fb849=_0x2a44dc,{range:_0x34fbcd,sheetID:_0x5f4fb7}=_0x2cb3bd,_0x230a9c=this[_0x4fb849(0x23e)][_0x4fb849(0x105)](_0x34fbcd,_0x9a3eca=>(_0x230a9c['dispose'](),_0x244a01(_0x9a3eca,_0x5817b9,_0x5f4fb7,_0x34fbcd)));_0x2f848b[_0x4fb849(0x184)](_0x230a9c);});};this[_0x328cd2(0x1a6)](_0x360a92(this[_0x328cd2(0x140)]['subscribe'](()=>{_0x1537b1();})));}['_toggleOnline'](){const _0x29de14=_0x306380;var _0x4ca51b,_0x1638cb;if(this[_0x29de14(0x22f)]=!0x0,((_0x4ca51b=this[_0x29de14(0x1e8)][_0x29de14(0x2d3)]())==null?void 0x0:_0x4ca51b[_0x29de14(0x2a6)]())!==this['unitID'])return;const _0x30e1e7=(_0x1638cb=this['_injector'][_0x29de14(0x1b8)](_0x150107)[_0x29de14(0x16b)]())==null?void 0x0:_0x1638cb[0x0],_0x22a797=this[_0x29de14(0x1e8)][_0x29de14(0x249)](_0x1cd4b1['UNIVER_SHEET'])[_0x29de14(0x111)]();_0x30e1e7&&_0x22a797&&this['_updateLocalCursor'](_0x22a797[_0x29de14(0x2f6)](),_0x30e1e7);}[_0x306380(0x118)](){const _0x1b35af=_0x306380;this[_0x1b35af(0x22f)]=!0x1;}};we=gi([x(0x2,_0x3afd9e(_0x4b117)),x(0x3,_0x3afd9e(He)),x(0x4,_0x3afd9e(_0x58ec07)),x(0x5,_0x5f5751),x(0x6,_0x459a93),x(0x7,_0x3afd9e(_0x3fd995))],we);var Ci=Object[_0x306380(0x295)],Ei=(_0x268ded,_0x3ecd75,_0x2fc5e1,_0x4e0bbe)=>{const _0x20adf3=_0x306380;for(var _0x198b66=_0x4e0bbe>0x1?void 0x0:_0x4e0bbe?Ci(_0x3ecd75,_0x2fc5e1):_0x3ecd75,_0x3c9191=_0x268ded[_0x20adf3(0x2e0)]-0x1,_0xd240cf;_0x3c9191>=0x0;_0x3c9191--)(_0xd240cf=_0x268ded[_0x3c9191])&&(_0x198b66=_0xd240cf(_0x198b66)||_0x198b66);return _0x198b66;},me=(_0x5d1a2d,_0x3fb523)=>(_0x5b7c39,_0x414a19)=>_0x3fb523(_0x5b7c39,_0x414a19,_0x5d1a2d);let H=class extends _0x105c1b{constructor(_0x3c810e,_0x26cce3,_0x395e1e){const _0x14bf17=_0x306380;super(),_(this,'_entities',new Map()),_(this,_0x14bf17(0x2e9),new _0x33a3b3()),(this[_0x14bf17(0x1e8)]=_0x3c810e,this[_0x14bf17(0x1b9)]=_0x26cce3,this['_collabSessionService']=_0x395e1e,this['_init']());}[_0x306380(0x211)](){const _0x8a1bfb=_0x306380;super[_0x8a1bfb(0x211)](),this[_0x8a1bfb(0x2e9)][_0x8a1bfb(0x191)](),this['_entities'][_0x8a1bfb(0x159)](_0x26bc98=>_0x26bc98[_0x8a1bfb(0x211)]());}['getCollabCursors$'](_0x54ebb0){const _0x5f10e3=_0x306380;return this['_entities'][_0x5f10e3(0x291)](_0x54ebb0)?this[_0x5f10e3(0x14d)]['get'](_0x54ebb0)[_0x5f10e3(0x172)]:this['_entityInit$'][_0x5f10e3(0x17b)](_0xf328a7(_0x2218b0=>_0x2218b0[_0x5f10e3(0x1ea)]===_0x54ebb0),_0x3181cc(_0x5ab419=>_0x5ab419[_0x5f10e3(0x172)]));}['_init'](){const _0x291b68=_0x306380;this[_0x291b68(0x1e8)]['getTypeOfUnitAdded$'](_0x1cd4b1['UNIVER_SHEET'])[_0x291b68(0x17b)](_0x49b09f(this[_0x291b68(0x2cb)]))['subscribe'](async _0x4c1eb7=>{const _0x337d38=_0x291b68,_0x4f3523=_0x4c1eb7['getUnitId'](),_0xd9f3cb=await this[_0x337d38(0x1db)](_0x4f3523);this['_entityInit$'][_0x337d38(0x157)](_0xd9f3cb),this[_0x337d38(0x14d)][_0x337d38(0x1d4)](_0x4f3523,_0xd9f3cb);}),this[_0x291b68(0x1e8)]['getTypeOfUnitAdded$'](_0x1cd4b1[_0x291b68(0x1ac)])[_0x291b68(0x17b)](_0x49b09f(this[_0x291b68(0x2cb)]))[_0x291b68(0x17b)](_0xf328a7(_0x450915=>!_0x450915[_0x291b68(0x2a6)]()[_0x291b68(0x25c)]('__')))[_0x291b68(0x126)](async _0x15f012=>{const _0x16c7cd=_0x291b68,_0x194986=_0x15f012[_0x16c7cd(0x2a6)](),_0x35db0c=await this[_0x16c7cd(0x124)](_0x194986);this[_0x16c7cd(0x2e9)][_0x16c7cd(0x157)](_0x35db0c),this[_0x16c7cd(0x14d)][_0x16c7cd(0x1d4)](_0x194986,_0x35db0c);}),_0x28bbdf(this[_0x291b68(0x1e8)][_0x291b68(0x215)](_0x1cd4b1[_0x291b68(0x1ac)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1cd4b1[_0x291b68(0x1cd)]))['pipe'](_0x49b09f(this['dispose$']))[_0x291b68(0x126)](_0x3bf898=>{const _0x5bd334=_0x291b68,_0x48aaab=_0x3bf898['getUnitId'](),_0x19324f=this[_0x5bd334(0x14d)][_0x5bd334(0x1b8)](_0x48aaab);_0x19324f&&(_0x19324f[_0x5bd334(0x211)](),this['_entities'][_0x5bd334(0x1ae)](_0x48aaab));});}async[_0x306380(0x1db)](_0x860831){const _0x191711=_0x306380,_0x34dce6=await this[_0x191711(0x16a)][_0x191711(0x2d5)](_0x860831),_0xfa6f44=this['_injector'][_0x191711(0x2e2)](we,_0x860831,_0x34dce6);return _0xfa6f44[_0x191711(0x25e)](),_0xfa6f44;}async[_0x306380(0x124)](_0x1ce8c5){const _0x103040=_0x306380,_0x1a3a9c=await this[_0x103040(0x16a)][_0x103040(0x2d5)](_0x1ce8c5),_0xc36b86=this[_0x103040(0x1b9)][_0x103040(0x2e2)](Pe,_0x1ce8c5,_0x1a3a9c);return _0xc36b86['init'](),_0xc36b86;}};H=Ei([me(0x0,_0x5f5751),me(0x1,_0x3afd9e(_0x4b117)),me(0x2,_0x3afd9e(_0x3f2fe9))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x2445ab,_0x4e40d7){const _0x148cc2=_0x306380;let {radius:_0x50e65d,width:_0x549034,height:_0x4ceffc}=_0x4e40d7;_0x50e65d=_0x50e65d!=null?_0x50e65d:0x0,_0x549034=_0x549034!=null?_0x549034:0x1e,_0x4ceffc=_0x4ceffc!=null?_0x4ceffc:0x1e;let _0x1fda8b=0x0,_0x3ee556=0x0,_0x1316cc=0x0;_0x1fda8b=_0x3ee556=_0x1316cc=Math['min'](_0x50e65d,_0x549034/0x2,_0x4ceffc/0x2),_0x2445ab[_0x148cc2(0x142)](),_0x2445ab[_0x148cc2(0x1e2)](_0x1fda8b,0x0),_0x2445ab[_0x148cc2(0x16e)](_0x549034-_0x3ee556,0x0),_0x2445ab[_0x148cc2(0x1a7)](_0x549034-_0x3ee556,_0x3ee556,_0x3ee556,Math['PI']*0x3/0x2,0x0,!0x1),_0x2445ab[_0x148cc2(0x16e)](_0x549034,_0x4ceffc-_0x1316cc),_0x2445ab['arc'](_0x549034-_0x1316cc,_0x4ceffc-_0x1316cc,_0x1316cc,0x0,Math['PI']/0x2,!0x1),_0x2445ab[_0x148cc2(0x16e)](0x0,_0x4ceffc),_0x2445ab[_0x148cc2(0x16e)](0x0,_0x1fda8b),_0x2445ab[_0x148cc2(0x1a7)](_0x1fda8b,_0x1fda8b,_0x1fda8b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2445ab[_0x148cc2(0x1b4)](),_0x4e40d7[_0x148cc2(0x1ca)]&&(_0x2445ab[_0x148cc2(0x156)](),_0x2445ab[_0x148cc2(0x20c)]=_0x4e40d7[_0x148cc2(0x1ca)],_0x4e40d7[_0x148cc2(0x2e3)]===_0x148cc2(0x2bb)?_0x2445ab[_0x148cc2(0x1ca)](_0x148cc2(0x2bb)):_0x2445ab[_0x148cc2(0x1ca)](),_0x2445ab['restore']());}class ue extends _0x4f35e0{constructor(_0x5b7a84,_0x37bcd3){const _0x4ea9d2=_0x306380;super(_0x5b7a84,_0x37bcd3),_(this,'color'),_(this,'text'),(this[_0x4ea9d2(0x27b)]=_0x37bcd3==null?void 0x0:_0x37bcd3[_0x4ea9d2(0x27b)],this[_0x4ea9d2(0x2e4)]=_0x37bcd3==null?void 0x0:_0x37bcd3[_0x4ea9d2(0x2e4)]);}static[_0x306380(0x10c)](_0x3805cb,_0xcbe71b){const _0x354eec=_0x306380,{text:_0x7b502d,color:_0x32fdaa}=_0xcbe71b;_0x3805cb['save'](),_0x3805cb['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1726bb=_0x3805cb[_0x354eec(0x125)](_0x7b502d)['width'],_0x4d835a=Math[_0x354eec(0x2dd)](_0x1726bb+0x2*ge,et);Oi(_0x3805cb,{'height':te,'radius':0x4,'width':_0x4d835a,'fill':_0x32fdaa}),_0x3805cb[_0x354eec(0x20c)]=_0x354eec(0x1a3);const _0x319e85=ge,_0x21861b=te-bi,_0x59fed5=et-0x2*ge;if(_0x1726bb>_0x59fed5){let _0x3f4635='',_0x1cec20=0x0;for(const _0x41e1e1 of _0x7b502d){const _0x4470fa=_0x3805cb[_0x354eec(0x125)](_0x41e1e1)[_0x354eec(0x14f)];if(_0x1cec20+_0x4470fa<=_0x59fed5-_0x3805cb[_0x354eec(0x125)](_0x354eec(0x2d7))[_0x354eec(0x14f)])_0x3f4635+=_0x41e1e1,_0x1cec20+=_0x4470fa;else{_0x3f4635+='...';break;}}_0x3805cb[_0x354eec(0x151)](_0x3f4635,_0x319e85,_0x21861b);}else _0x3805cb[_0x354eec(0x151)](_0x7b502d,_0x319e85,_0x21861b);_0x3805cb[_0x354eec(0x2c8)]();}[_0x306380(0x15c)](_0x53f14a){const _0x24dcda=_0x306380;ue[_0x24dcda(0x10c)](_0x53f14a,this);}}const ve=_0x306380(0x19a),Ti=_0x306380(0x1f9),Ri=_0x306380(0x11f),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x306380(0x1de);class tt{constructor(_0x7c45bc,_0x1f6f5f,_0x1050aa,_0xacffb2){const _0x79f0e4=_0x306380;_(this,_0x79f0e4(0x28b),[]),_(this,_0x79f0e4(0x269),null),_(this,_0x79f0e4(0x2db),null),_(this,'_anchorDot',null),_(this,_0x79f0e4(0x286),null),_(this,_0x79f0e4(0x207),null),(this[_0x79f0e4(0x1f4)]=_0x7c45bc,this[_0x79f0e4(0x255)]=_0x1f6f5f,this[_0x79f0e4(0x228)]=_0x1050aa,this['_document']=_0xacffb2,this[_0x79f0e4(0x138)]());}set[_0x306380(0x2b0)](_0x1358ff){const _0x552770=_0x306380;_0x1358ff?(this[_0x552770(0x198)]&&this['_anchorDot'][_0x552770(0x2fa)](),this[_0x552770(0x2db)]&&this[_0x552770(0x2db)]['show']()):(this[_0x552770(0x198)]&&this[_0x552770(0x198)][_0x552770(0x292)](),this['_textBubble']&&this['_textBubble'][_0x552770(0x2fa)]());}['dispose'](){const _0x57e89b=_0x306380;for(const _0x1d3ede of this[_0x57e89b(0x28b)])_0x1d3ede[_0x57e89b(0x211)]();this[_0x57e89b(0x2db)]&&this[_0x57e89b(0x2db)][_0x57e89b(0x211)](),this[_0x57e89b(0x198)]&&this[_0x57e89b(0x198)]['dispose'](),this['_anchor']&&this[_0x57e89b(0x269)][_0x57e89b(0x211)](),this[_0x57e89b(0x207)]&&this[_0x57e89b(0x207)]();}[_0x306380(0x138)](){const _0xb90352=_0x306380;var _0x325bde;const {_docSkeleton:_0x38d41a,_document:_0x107246}=this,{color:_0x3d2b46,name:_0xcb23b4,ranges:_0x5e366b}=this[_0xb90352(0x1f4)],_0x22a25d=_0x107246[_0xb90352(0x17d)](),{docsLeft:_0x314aa5,docsTop:_0x2f7996}=_0x22a25d,_0x5a88a2=new _0x5dc671(_0x22a25d,_0x38d41a);for(const {startOffset:_0x5904b9,endOffset:_0x2e4639,rangeType:_0x358a2f,segmentId:_0x365daf,segmentPage:_0x590090,collapsed:_0x1ef8c2,isActive:_0x2e7d23}of _0x5e366b){const _0x5a866f=_0x38d41a['findNodePositionByCharIndex'](_0x5904b9,!0x0,_0x365daf,_0x590090);let _0x250a17=_0x38d41a[_0xb90352(0x158)](_0x2e4639,!0x0,_0x365daf,_0x590090);if(_0x250a17==null&&(_0x250a17=_0x38d41a['findNodePositionByCharIndex'](_0x2e4639-0x1,!0x1,_0x365daf,_0x590090)),_0x2e7d23){const {contentBoxPointGroup:_0x572fe7}=_0x5a88a2[_0xb90352(0x251)](_0x250a17,_0x250a17);if(_0x572fe7[_0xb90352(0x2e0)]===0x0)continue;this['_drawAnchor'](_0x3d2b46,_0x572fe7,_0x314aa5,_0x2f7996,_0xcb23b4),this['_eventUnsubscribe']=this[_0xb90352(0x285)]();}if(_0x5a866f&&_0x250a17){if(_0x358a2f===_0x56ed71['RECT']){const _0x3568f7=new _0x1cf8c7(_0x22a25d,_0x38d41a),{pointGroup:_0x10f6ac}=(_0x325bde=_0x3568f7[_0xb90352(0x251)](_0x5a866f,_0x250a17))!=null?_0x325bde:{};if(_0x10f6ac==null||_0x10f6ac[_0xb90352(0x2e0)]===0x0)continue;this[_0xb90352(0x1ab)](_0x3d2b46,_0x10f6ac,_0x314aa5,_0x2f7996);}else{if(!_0x1ef8c2){const {borderBoxPointGroup:_0x5d9b4f}=_0x5a88a2['getRangePointData'](_0x5a866f,_0x250a17);if(_0x5d9b4f[_0xb90352(0x2e0)]===0x0)continue;this[_0xb90352(0x1e5)](_0x3d2b46,_0x5d9b4f,_0x314aa5,_0x2f7996);}}}}}['_drawAnchor'](_0x21357b,_0x2d600d,_0x5a336a,_0x1a4900,_0x284138){const _0x2b22a7=_0x306380,_0x1d9762=this['_getAnchorBounding'](_0x2d600d),{left:_0xbd8a90,top:_0x47e5e0,height:_0xab9f57}=_0x1d9762,_0x252fb3=this[_0x2b22a7(0x283)](),_0x101b59=Ni/_0x252fb3,_0x4a4acf=new _0x5327b6(ve+_0x322f9c['generateRandomId'](X),{'left':_0xbd8a90+_0x5a336a-_0x101b59,'top':_0x47e5e0+_0x1a4900,'height':_0xab9f57,'width':Di,'fill':_0x21357b||_0x225e7c(_0x295266['black'],0x0),'strokeWidth':_0x101b59,'stroke':Mi,'evented':!0x0});this['_anchor']=_0x4a4acf,this[_0x2b22a7(0x255)][_0x2b22a7(0x182)](_0x4a4acf,_0x26434a);const _0x1d15dc=new _0x5327b6(ve+_0x322f9c[_0x2b22a7(0x194)](X),{'left':_0xbd8a90+_0x5a336a-_0x101b59,'top':_0x47e5e0+_0x1a4900-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x21357b||_0x225e7c(_0x295266[_0x2b22a7(0x1f0)],0x0),'strokeWidth':0x0,'stroke':_0x21357b||_0x225e7c(_0x295266[_0x2b22a7(0x1f0)],0x0),'evented':!0x1});this[_0x2b22a7(0x198)]=_0x1d15dc,this[_0x2b22a7(0x255)][_0x2b22a7(0x182)](_0x1d15dc,_0x26434a);const _0x23dc8c=new ue(ve+_0x322f9c[_0x2b22a7(0x194)](X),{'left':_0xbd8a90+_0x5a336a-_0x101b59,'top':_0x47e5e0+_0x1a4900-te,'text':_0x284138,'color':_0x21357b});this[_0x2b22a7(0x2db)]=_0x23dc8c,this[_0x2b22a7(0x255)][_0x2b22a7(0x182)](_0x23dc8c,_0x26434a),this[_0x2b22a7(0x2b0)]=!0x1;}[_0x306380(0x285)](){const _0x15614b=_0x306380,_0x287f2b=this[_0x15614b(0x269)][_0x15614b(0x231)][_0x15614b(0x1b7)](()=>{this['_hover']=!0x0;}),_0x1f692a=this[_0x15614b(0x269)][_0x15614b(0x1cb)][_0x15614b(0x1b7)](()=>{const _0x525dd1=_0x15614b;this[_0x525dd1(0x286)]&&clearTimeout(this['_hideTimer']),this[_0x525dd1(0x286)]=setTimeout(()=>{const _0x33feef=_0x525dd1;this[_0x33feef(0x2b0)]=!0x1;},0x7d0);});return()=>{const _0x5156b9=_0x15614b;_0x287f2b[_0x5156b9(0x188)](),_0x1f692a[_0x5156b9(0x188)]();};}[_0x306380(0x1e5)](_0x29d272,_0x1538dd,_0x51b94b,_0xe83a3){const _0x2cccb1=_0x306380,_0x4c115b=new _0x424f5f(_0x29d272)['setAlpha'](0.2)[_0x2cccb1(0x110)](),_0x372021=new _0x5b3fa0(Ti+_0x322f9c[_0x2cccb1(0x194)](X),{'pointsGroup':_0x1538dd,'fill':_0x4c115b||_0x225e7c(_0x295266['black'],0.2),'left':_0x51b94b,'top':_0xe83a3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cccb1(0x28b)][_0x2cccb1(0x11e)](_0x372021),this['_scene']['addObject'](_0x372021,_0x26434a);}['_drawRectRange'](_0x36de9e,_0x16ddd8,_0x3d998a,_0x5d4be7){const _0x3d8888=_0x306380,_0x15cd67=new _0x424f5f(_0x36de9e)[_0x3d8888(0x162)](0.2)[_0x3d8888(0x110)](),_0x7d632b=new _0x5b3fa0(Ri+_0x322f9c[_0x3d8888(0x194)](X),{'pointsGroup':_0x16ddd8,'fill':_0x15cd67||_0x225e7c(_0x295266['black'],0.2),'left':_0x3d998a,'top':_0x5d4be7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3d8888(0x28b)][_0x3d8888(0x11e)](_0x7d632b),this[_0x3d8888(0x255)][_0x3d8888(0x182)](_0x7d632b,_0x26434a);}['_getAnchorBounding'](_0x58ffde){const _0x4722a0=_0x58ffde[0x0],_0x351e20=_0x4722a0[0x0],_0x107c34=_0x4722a0[0x2],{x:_0x268274,y:_0xb63af8}=_0x351e20,{x:_0x26f3d1,y:_0x48f6a6}=_0x107c34;return{'left':_0x268274,'top':_0xb63af8,'width':_0x26f3d1-_0x268274,'height':_0x48f6a6-_0xb63af8};}[_0x306380(0x283)](){const _0x319b78=_0x306380,{scaleX:_0x579d9b,scaleY:_0x2e28aa}=this[_0x319b78(0x255)][_0x319b78(0x10d)]();return Math[_0x319b78(0x20a)](_0x579d9b,_0x2e28aa);}}var Pi=Object[_0x306380(0x295)],wi=(_0x577a48,_0x2079a2,_0x143da8,_0x2e31bf)=>{const _0x3a8c68=_0x306380;for(var _0xb880f9=_0x2e31bf>0x1?void 0x0:_0x2e31bf?Pi(_0x2079a2,_0x143da8):_0x2079a2,_0xd21418=_0x577a48[_0x3a8c68(0x2e0)]-0x1,_0x5c1bba;_0xd21418>=0x0;_0xd21418--)(_0x5c1bba=_0x577a48[_0xd21418])&&(_0xb880f9=_0x5c1bba(_0xb880f9)||_0xb880f9);return _0xb880f9;},Q=(_0x44e1b6,_0x1b9011)=>(_0x3bdd3b,_0x31ea26)=>_0x1b9011(_0x3bdd3b,_0x31ea26,_0x44e1b6);function _0x4b50(){const _0x4301f6=['getOwnPropertyDescriptor','_refreshCollabCursors','_cursors','undoState','setStateCache','post','string','UNAUTHENTICATED','_revisionService','random','NOT_FOUND','call','endRow','extend','_heartbeatTimer','engine','reconnect','getUnitId','translate(.97)','setTimeout','startColumn','_initDependencies','_localeService','actions','NOT_COLLAB','_collaborationController','asObservable','_hover','M0\x200H16V16H0z','ONLINE','4AIAueA','InsertRowCommandId','APPLY_NON_SEQUENTIAL_REVISION','_handleJoinEvent','urlChange$','getVpScrollXYInfoByPosToVp','then','invokeId','evenodd','univer-online-status-icon','1895785EwKAHv','roomMembers','exhaustSavingTask','INTERNAL_ERROR','_createSocketURL','_send','_sheetSkeletonManagerService','endColumn','propertyIsEnumerable','_docTransformIMECacheService','_disabled','restore','_handleHeartbeatEvent','_scheduleClearOtherTimer','dispose$','concat','0\x200\x2016\x2016','1083248zLVkOP','isArray','purple300','debug','_memberService','getFocusedUnit','memberID','requireSession','INVITE_CODE_HAS_BEEN_UES','...','_saveCache','transformSelections','idSuffix','_textBubble','_uiPartsService','min','_transformHistoryAndStateStack','Unknown\x20user','length','getCurrent','createInstance','fillRule','text','DeleteRangeMoveLeftCommandId','transform','_scheduleHeartbeat','imageSourceType','_entityInit$','subUnitId','_beforeCloseService','sheetId','_logService','_registerDependencies','saveOfflineData','transformByState','_setupBeforeClosingHandler','_colorIndex','_labelPosition','makeDirty','flatMap','getSheetId','_ensureSubject','MUTATION','clipPath','hide','_updateLocalCursor','_localStorageService','Error','_collaborationUIEventService','_syncEditingCollabCursorService','YUUMI_RATE_OVER_LIMIT','defineProperty','_dataLoaderService','use','onRendered','collabStatus.synced','round','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','none','registerRefRange','prototype','collabCursorState$','getUniverSheetInstance','on-line-single_clip0_910_349','756623PdVJdD','assignAColorForMemberID','drawWith','getAncestorScale','_renderManagerService','popstate','toRgbString','getActiveSheet','size','currentSkeleton$','_toggleOnline','removeParam','currentTheme$','doc.mutation.rich-text-editing','_toggleOffline','#fff','onlineStatus','_initEvent','getOwnPropertySymbols','sessionStatus$','push','collab-rect-range-','_updateURLWithCurrentState','updateOfflineData','WECHAT_HAS_BEEN_BOUND','_docTransformStateCacheService','_startDocCollabCursor','measureText','subscribe','collab-client.tooltip.reconnect','_transformPreviousActiveRange','_onRefRangeChange','deepClone','uni.network.url-service','YUUMI_URL_COL_OUT_OF_RANGE','1em','saveTaskMap','_collabCursorState$','top','replace','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','univer-flex\x20univer-items-center','setShapeProps','_context','COMPLETION_FINISHED','m2Prime','_render','onPointerMove$','split','[CollaborationDataLoaderController]','PERMISSION_DENIED','_cachedData','row','registerBeforeClose','_cursorInfo$','defs','beginPath','range','_range','newValue','_removeClearOtherTimer','name','_clearOtherTimers','onLocalMutation','getMember','values','_docStateChangeManagerService','_entities','_hovered','width','385153vWyGoR','fillText','replaceState','svg','_status$','_notificationService','save','next','findNodePositionByCharIndex','forEach','DeleteRangeMoveUpCommandId','focused$','_draw','redoState','isActive','jiqing500','ALREADY_EXISTS','_session','setAlpha','_getSaveTimeout','apply','_onCursorUpdate','blue400','_handleLeaveEvent','_color','univer-online-status-title','_collabSessionService','getCurrentSelections','session.connection-failed','mask','lineTo','_roomMembers$','session.collaboration-timeout','collabStatus.notCollab','cursorInfo$','SNAPSHOT_INVALID_SNAPSHOT','send','clearTimeout','getUndoRedoMutationParamsCache','USER_NOT_INVITED_CODE','AWAITING','_commandService','icon','pipe','EMAIL_HAS_BEEN_BOUND','getOffsetConfig','addHandlerCallback','off-line-single_clip0_910_343','APPLY_PERMISSION_DENIED','map','addObject','transformStateCache','add','_backgroundColor','div','addObjects','unsubscribe','2174544pYTnlH','_init','column','params','univer-online-status','getCurrentRevOfUnit','_assignedColors','univerjs-icon\x20univerjs-icon-','complete','parse','LICENSE_DISTRO_REJECTED','generateRandomId','onMouseMove','unshift','_lastPointer','_anchorDot','UNRECOGNIZED','collab-text-anchor-','LOGIN_FAILED','ticket','_initStatusListener','key','HEADER_MENU','_registerRenderDependencies','NO_OTHER_CLIENTS_EDITING','APPLY_DUPLICATED','#FFF','unit','transformMutation','disposeWithMe','arc','ENSURE_SNAPSHOT_EXECUTION','10500318NSPcUn','docStateChange$','_drawRectRange','UNIVER_DOC','source','delete','selection','SNAPSHOT_HAS_BEEN_REMOVED','_handleEvent','_getSessionTicket','hasOwnProperty','closePath','_initStatusComponent','OTHER_CLIENT_EDITING','subscribeEvent','get','_injector','_getSheetObject','mutations','setUndoRedoMutationParamsCache','getParam','session.will-retry','getMemberID','SOCKET_FAILED_RETRY','colorChannel1','getSkeleton','_unitStatus','_messageService','getRenderById','result','url(#off-line-single_clip0_910_343)','getUnhiddenWorksheets','selections','fill','onPointerLeave$','replaceDocRanges','UNIVER_SHEET','isEditing','with','INVALID_INVITE_CODE','toString','defIds','RECT','set','_getMergeRange','m1Prime','searchParams','setInterval','PY_RUNTIME_SCRIPT_ERROR','FromArray','_startSheetCollabCursor','MoveRangeCommandId','loadUnit','rgba(255,\x20255,\x20255,\x200.01)','_initEntityListener','OTHER_CLIENTS_EDITING','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','moveTo','Failed','OFFLINE','_drawTextRange','VIEW_MAIN','collaboration.closeRoom','_univerInstanceService','event$','unitID','path','0\x200\x2017\x2016','TEXT','pushState','CHANGESET_REVISION_CONFILICT','black','unitId','SOCKET_FAILED','_id','_cursor','_selfUnitIDs','onlineStatusTitle','transformRemoteChangeset','sheetID','collab-text-range-','disposeUnit','USERS_LEAVE','APPLY_REJECT','from','InsertRangeMoveDownCommandId','INVITE_CODE_ALREADY_BOUND','_updateCollabCursors','_updateSubUnitFromURLParams','_removeCollabCursors','enableLocalCache','textRanges','transformIMECache','body','_eventUnsubscribe','current','APPLY_REVISION_CONFILICT','max','createSocket','fillStyle','LICENSE_EXPORT_SIZE_EXCEEDED','AWAITING_WITH_PENDING','_themeService','syncEditingCollabCursor','dispose','getCollabEntity$','YUUMI_SUBSCRIPTION_NOT_FOUND','override','getTypeOfUnitDisposed$','setParam','_initResize','on-line-single','getStateCache','tag','xlink:href','function','_scheduleSaving','hovered','CONFLICT','data','runId','assign','executeCommand','UPDATE_CURSOR','_docSkeletonManagerService','_cursorShapes','setConfig','_docSkeleton','CONNECTOR_DATA_TOO_LARGE','registerRenderModule','getCollabCursors$','SUBMIT_CHANGESET_TIMEOUT','collabStatus.fetchMiss','addClipboardHook','_online','/run/','onPointerEnter$','ACTIVE_UNIT_EVENT_CHANNEL','_localCacheService','getConfig','getItem','height','_instanceService','online','_colorAssignService','entries','_transformService','indexOf','transformMutationsWithChangeset','_refRangeService','YUUMI_UNABLE_LOAD_URL','_setupSubUnitSync','getRelativeToViewportCoord','getValue','roomMembers$','onTransformChange$','_httpService','offline','children','_collabCursorController','getCurrentUnitForType','storage','location','30wsEnuy','_initCommandExecutedListener','cursorInfo','startRow','type','getRangePointData','verdancy600','eventID','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_scene','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformUndoRedoStack','3896457DqbPlB','setItem','url(#on-line-single_clip0_910_349)','currentColor','startsWith','ranges','init','Warning','LICENSE_IMPORT_SIZE_EXCEEDED','getViewport','InsertColCommandId','addEventListener','attrs','FETCH_MISS','INVALID_ARGUMENT','OffLineSingle','collaboration.single-unit.warning','_anchor','trim','displayName','_configService','_urlService','_unitOnClients','className','onlineStatusIcon','getUnitStatus$','MOBILE_HAS_BEEN_BOUND','INVITE_CODE_REQUIRED','href','executionId','contains','subunit','_docTransformSelectionsService','history','_name','color','symbol','_doCreateSocket','LICENSE_MAX_UNITS_EXCEEDED','_saveTaskMap','runOnServer','onStarting','error','_getScale','TOO_MANY_REQUESTS','_handleHover','_hideTimer','onCommandExecuted','getSheetBySheetId','all','bottom','_shapes','entityInit$','UNDEFINED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','registerComponent','_docSyncEditingCollabCursorService','has','show','whenReady','_config'];_0x4b50=function(){return _0x4301f6;};return _0x4b50();}let Ue=class extends _0x105c1b{constructor(_0x39822f,_0x6dcf0a,_0x317a29,_0x172236,_0x475b74){const _0x384447=_0x306380;super(),_(this,'_cursorShapes',[]),_(this,_0x384447(0x297),[]),(this[_0x384447(0x135)]=_0x39822f,this[_0x384447(0x225)]=_0x6dcf0a,this['_collabCursorController']=_0x317a29,this[_0x384447(0x179)]=_0x172236,this[_0x384447(0x20f)]=_0x475b74,this[_0x384447(0x18a)]());}[_0x306380(0x18a)](){const _0x5529c7=_0x306380,_0x564d59=this[_0x5529c7(0x135)][_0x5529c7(0x1f1)],_0x175870=this[_0x5529c7(0x225)];this[_0x5529c7(0x1a6)](_0x2619b0([this[_0x5529c7(0x248)]['getCollabCursors$'](_0x564d59),this[_0x5529c7(0x20f)][_0x5529c7(0x116)]])[_0x5529c7(0x17b)](_0x30e61e(([_0x1f6338,_0x3cbfa5])=>({'skeleton':_0x175870[_0x5529c7(0x1c2)](),'cursors':[..._0x1f6338[_0x5529c7(0x14b)]()][_0x5529c7(0x2f5)](_0x40adf7=>({..._0x40adf7,'color':_0x3cbfa5[_0x40adf7['color']]}))})))[_0x5529c7(0x126)](_0x3fa891=>{const _0x4d78ec=_0x5529c7;if(this[_0x4d78ec(0x202)](),_0x3fa891){const {skeleton:_0x521253,cursors:_0x20443c}=_0x3fa891;this[_0x4d78ec(0x200)](_0x521253,_0x20443c);}})),this[_0x5529c7(0x217)](),this[_0x5529c7(0x24d)]();}[_0x306380(0x200)](_0x3c1fb8,_0x299ae9){const _0x2143d6=_0x306380,{scene:_0x24046b,mainComponent:_0x40bb03}=this[_0x2143d6(0x135)],_0x339606=_0x299ae9['map'](_0x613f62=>new tt(_0x613f62,_0x24046b,_0x3c1fb8,_0x40bb03));this[_0x2143d6(0x226)]=_0x339606,this[_0x2143d6(0x297)]=_0x299ae9;}[_0x306380(0x296)](){const _0xa3e5da=_0x306380;this['_removeCollabCursors']();const {scene:_0x545118,mainComponent:_0xdc8acb}=this['_context'],_0xaced44=this[_0xa3e5da(0x225)][_0xa3e5da(0x1c2)](),_0x299e42=this[_0xa3e5da(0x297)][_0xa3e5da(0x181)](_0x18a778=>new tt(_0x18a778,_0x545118,_0xaced44,_0xdc8acb));this['_cursorShapes']=_0x299e42;}[_0x306380(0x202)](){const _0x5cf876=_0x306380;this[_0x5cf876(0x226)]['forEach'](_0x84345d=>_0x84345d['dispose']()),this[_0x5cf876(0x226)]=[];}['_initCommandExecutedListener'](){const _0x24862f=_0x306380,_0x213c86=[_0x4f7111['id']];this[_0x24862f(0x1a6)](this['_commandService'][_0x24862f(0x287)](_0x1e47c3=>{const _0x27c2e0=_0x24862f;_0x213c86['includes'](_0x1e47c3['id'])&&_0x1e47c3[_0x27c2e0(0x18c)][_0x27c2e0(0x1f1)]===this[_0x27c2e0(0x135)][_0x27c2e0(0x1f1)]&&this[_0x27c2e0(0x296)]();}));}['_initResize'](){const _0x51a2b1=_0x306380;this[_0x51a2b1(0x1a6)](_0x18902a(this[_0x51a2b1(0x135)][_0x51a2b1(0x2a4)][_0x51a2b1(0x244)])[_0x51a2b1(0x17b)](_0x11ec65(_0x96cf30=>_0x96cf30['type']===_0x5ed841['resize']),_0x1f4720(0x10))[_0x51a2b1(0x126)](()=>{this['_refreshCollabCursors']();}));}};Ue=wi([Q(0x1,_0x3afd9e(_0x23a42f)),Q(0x2,_0x3afd9e(H)),Q(0x3,_0x459a93),Q(0x4,_0x3afd9e(_0x5a99a8))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x4f35e0{constructor(_0x497bdc,_0x46754a){const _0xdfcb97=_0x306380;super(_0x497bdc,_0x46754a),_(this,'_color'),_(this,_0xdfcb97(0x14e),!0x1),_(this,_0xdfcb97(0x144)),_(this,_0xdfcb97(0x27a),''),_(this,_0xdfcb97(0x2f3),_0xdfcb97(0x130)),_(this,_0xdfcb97(0x185)),(_0x46754a&&this[_0xdfcb97(0x134)](_0x46754a),this[_0xdfcb97(0x231)][_0xdfcb97(0x1b7)](()=>this[_0xdfcb97(0x134)]({'hovered':!0x0})),this[_0xdfcb97(0x1cb)][_0xdfcb97(0x1b7)](()=>this[_0xdfcb97(0x134)]({'hovered':!0x1})));}[_0x306380(0x134)](_0x59f89d){const _0x2140ea=_0x306380;var _0x38c1c0,_0x4ffb7d,_0x5797f2,_0x50b0b1,_0x2b4971,_0x3dedc6;this[_0x2140ea(0x168)]=(_0x38c1c0=_0x59f89d[_0x2140ea(0x27b)])!=null?_0x38c1c0:this[_0x2140ea(0x168)],this['_hovered']=(_0x4ffb7d=_0x59f89d[_0x2140ea(0x21e)])!=null?_0x4ffb7d:this[_0x2140ea(0x14e)],this['_range']=(_0x5797f2=_0x59f89d[_0x2140ea(0x143)])!=null?_0x5797f2:this[_0x2140ea(0x144)],this[_0x2140ea(0x27a)]=(_0x50b0b1=_0x59f89d[_0x2140ea(0x147)])!=null?_0x50b0b1:this[_0x2140ea(0x27a)],this['_labelPosition']=(_0x2b4971=_0x59f89d['labelPosition'])!=null?_0x2b4971:this['_labelPosition'],this[_0x2140ea(0x185)]=(_0x3dedc6=_0x59f89d['backgroundColor'])!=null?_0x3dedc6:this[_0x2140ea(0x185)],this[_0x2140ea(0x2f0)]({'width':_0x59f89d[_0x2140ea(0x14f)],'height':_0x59f89d[_0x2140ea(0x236)]});}[_0x306380(0x195)](_0x21e97b){const _0x4bd78c=_0x306380,{row:_0x5c2c98,column:_0x23d33c}=_0x21e97b;if(_0x5c2c98>=this['_range'][_0x4bd78c(0x24f)]&&_0x5c2c98<=this['_range'][_0x4bd78c(0x2a1)]&&_0x23d33c>=this[_0x4bd78c(0x144)][_0x4bd78c(0x2a9)]&&_0x23d33c<=this[_0x4bd78c(0x144)][_0x4bd78c(0x2c4)]){this[_0x4bd78c(0x134)]({'hovered':!0x0});return;}this[_0x4bd78c(0x134)]({'hovered':!0x1});}['triggerDblclick'](_0x45d975){return!0x1;}[_0x306380(0x15c)](_0x3e274c){const _0x54a289=_0x306380;_0x5327b6[_0x54a289(0x10c)](_0x3e274c,{'width':this[_0x54a289(0x14f)],'height':this[_0x54a289(0x236)],'strokeWidth':Li,'stroke':this[_0x54a289(0x168)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x3e274c[_0x54a289(0x156)](),_0x3e274c[_0x54a289(0x2e6)](0x1,0x0,0x0,0x1,this['width'],this[_0x54a289(0x2f3)]===_0x54a289(0x28a)?0x0:-0x14),ue[_0x54a289(0x10c)](_0x3e274c,{'text':this[_0x54a289(0x27a)],'color':this[_0x54a289(0x168)]}),_0x3e274c['restore']());}}var yi=Object[_0x306380(0x295)],$i=(_0x44c496,_0x5d8313,_0x2d6365,_0x3fea5e)=>{const _0xeb2e1=_0x306380;for(var _0x3d954a=_0x3fea5e>0x1?void 0x0:_0x3fea5e?yi(_0x5d8313,_0x2d6365):_0x5d8313,_0x198642=_0x44c496[_0xeb2e1(0x2e0)]-0x1,_0x3a6d5f;_0x198642>=0x0;_0x198642--)(_0x3a6d5f=_0x44c496[_0x198642])&&(_0x3d954a=_0x3a6d5f(_0x3d954a)||_0x3d954a);return _0x3d954a;},pe=(_0x3b0dbe,_0x370e34)=>(_0x598eb2,_0x1d3b0f)=>_0x370e34(_0x598eb2,_0x1d3b0f,_0x3b0dbe);const xi=0x1389;let Le=class extends _0x105c1b{constructor(_0x10351b,_0x69152b,_0x1a65d7,_0x256e09){const _0x27733a=_0x306380;super(),_(this,'_cursors',new Set()),_(this,_0x27733a(0x197),null),(this['_context']=_0x10351b,this['_sheetSkeletonManagerService']=_0x69152b,this['_collabCursorController']=_0x1a65d7,this[_0x27733a(0x20f)]=_0x256e09,this[_0x27733a(0x18a)]());}['_init'](){const _0x42ad86=_0x306380;this[_0x42ad86(0x2c3)][_0x42ad86(0x113)][_0x42ad86(0x17b)](_0x5ae3f6(this[_0x42ad86(0x2cb)]),_0x58e5da(_0x445998=>{const _0xfac379=_0x42ad86;if(_0x445998){const _0x2689a4=_0x445998[_0xfac379(0x2ec)];return _0x2619b0(this[_0xfac379(0x248)][_0xfac379(0x22b)](this['_context']['unitId']),this['_themeService'][_0xfac379(0x116)])['pipe'](_0x30e61e(([_0x3afed7,_0x4aafab])=>{const _0x457ab6=_0xfac379,_0x40f159=new Map();return _0x3afed7[_0x457ab6(0x159)]((_0x804e68,_0x250b5c)=>{const _0xdb204f=_0x457ab6;if(_0x804e68[_0xdb204f(0x1f8)]===_0x2689a4){const _0x24e5c1={..._0x804e68};_0x24e5c1[_0xdb204f(0x27b)]=_0x4aafab[_0x804e68['color']],_0x40f159[_0xdb204f(0x1d4)](_0x250b5c,_0x24e5c1);}}),{'skeleton':_0x445998,'cursors':_0x40f159};}));}return _0x5bba0d({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x37e807,cursors:_0x10b842})=>{const _0x3cbd0c=_0x42ad86;this[_0x3cbd0c(0x202)](),_0x37e807&&this[_0x3cbd0c(0x200)](_0x37e807,_0x10b842);}),this[_0x42ad86(0x2c3)]['currentSkeleton$'][_0x42ad86(0x126)](_0x358a1d=>{const _0x520682=_0x42ad86;if(_0x358a1d==null)return;const {skeleton:_0x3cfc67}=_0x358a1d,{scene:_0x3cdff2}=this[_0x520682(0x135)];_0x3cdff2[_0x520682(0x139)]['subscribeEvent'](_0xbbae5d(_0x5b6e40=>{const _0x224469=_0x520682;var _0x10df28,_0xafca19;const {offsetX:_0x2aa8b8,offsetY:_0x27dcc3}=_0x5b6e40,{x:_0x4eaf21,y:_0x2a642b}=_0x3cdff2[_0x224469(0x241)](_0x53eff0[_0x224469(0x1da)]([_0x2aa8b8,_0x27dcc3])),{scaleX:_0x20a5ea,scaleY:_0x49a159}=_0x3cdff2['getAncestorScale'](),_0x9d3bbc=_0x3cdff2[_0x224469(0x261)](_0x591dad[_0x224469(0x1e6)]),_0x53a7c4=_0x3cdff2[_0x224469(0x2b8)](_0x53eff0[_0x224469(0x1da)]([_0x4eaf21,_0x2a642b]),_0x9d3bbc),_0x2cf6c9=_0x3cfc67['getCellPositionByOffset'](_0x2aa8b8,_0x27dcc3,_0x20a5ea,_0x49a159,_0x53a7c4);((_0x10df28=this[_0x224469(0x197)])==null?void 0x0:_0x10df28[_0x224469(0x18b)])===_0x2cf6c9[_0x224469(0x18b)]&&((_0xafca19=this[_0x224469(0x197)])==null?void 0x0:_0xafca19[_0x224469(0x13e)])===_0x2cf6c9[_0x224469(0x13e)]||this[_0x224469(0x297)][_0x224469(0x159)](_0x216bb6=>{_0x216bb6['onMouseMove'](_0x2cf6c9);});},0x64));});}[_0x306380(0x200)](_0x60a44e,_0x1af887){const _0x279560=_0x306380;var _0x31f219;const _0x7ba51e=(_0x31f219=this[_0x279560(0x2c3)][_0x279560(0x2e1)]())==null?void 0x0:_0x31f219['skeleton'];if(!_0x7ba51e)return;const _0x381813=this[_0x279560(0x1ba)]();if(!_0x381813)return;this[_0x279560(0x297)]['forEach'](_0x522db7=>{const _0x5b09e5=_0x279560;_0x522db7[_0x5b09e5(0x2f4)]();});const {scene:_0x3a2d55}=_0x381813,_0x1e5f0f=Bi(Array[_0x279560(0x1fd)](_0x1af887[_0x279560(0x14b)]()))[_0x279560(0x181)](_0x165fe5=>{const _0x4693f2=_0x279560,{color:_0x1499ea,range:_0x47bbc5,name:_0x1a2b92,selection:_0x1a6a4a,sheetID:_0x46615e}=_0x165fe5,{startColumn:_0x1f23b8,startRow:_0x9fb652,endColumn:_0x290274,endRow:_0x1cf1f6}=_0x47bbc5,_0x227c07=_0x5d8da6(_0x9fb652,_0x1f23b8,_0x3a2d55,_0x7ba51e),_0x4f8810=_0x5d8da6(_0x1cf1f6,_0x290274,_0x3a2d55,_0x7ba51e),{columnHeaderHeightAndMarginTop:_0x495d0c}=_0x7ba51e,{startX:_0x3fcdc6,startY:_0x4ce0ce}=_0x227c07,{endX:_0x1d6d9c,endY:_0x5c5626}=_0x4f8810,_0x59892c=_0x1d6d9c-_0x3fcdc6,_0x43fb27=_0x5c5626-_0x4ce0ce,_0x5d5597={'labelPosition':_0x4ce0ce-_0x495d0c>=te?_0x4693f2(0x130):'bottom','sheetID':_0x46615e,'range':_0x47bbc5,'color':_0x1499ea,'name':_0x1a2b92,'selection':_0x1a6a4a,'left':_0x3fcdc6,'top':_0x4ce0ce,'width':_0x59892c,'height':_0x43fb27,'evented':!0x1,'zIndex':xi};return new Ai(_0x1a2b92,_0x5d5597);});_0x3a2d55[_0x279560(0x187)](_0x1e5f0f,Ui),this[_0x279560(0x297)]=new Set(_0x1e5f0f);}[_0x306380(0x202)](){const _0x592c4e=_0x306380;var _0x38a64e;(_0x38a64e=this[_0x592c4e(0x297)])==null||_0x38a64e['forEach'](_0x31e68f=>_0x31e68f[_0x592c4e(0x211)]());}[_0x306380(0x1ba)](){const _0x2acf87=_0x306380;return _0x1912c1(this[_0x2acf87(0x135)][_0x2acf87(0x1a4)],this[_0x2acf87(0x135)]);}};Le=$i([pe(0x1,_0x3afd9e(_0x3e80f5)),pe(0x2,_0x3afd9e(H)),pe(0x3,_0x3afd9e(_0x5a99a8))],Le);function Bi(_0x366d3c){const _0x54231c=_0x306380,_0x2495f2=new Map();return _0x366d3c[_0x54231c(0x159)](_0x3b3a8d=>{const _0x1df2d5=_0x54231c;if(_0x2495f2['has'](_0x3b3a8d[_0x1df2d5(0x1af)])){const _0x2257f2=_0x2495f2[_0x1df2d5(0x1b8)](_0x3b3a8d[_0x1df2d5(0x1af)]);_0x2257f2['name']+=',\x20'+_0x3b3a8d[_0x1df2d5(0x147)];}else _0x2495f2[_0x1df2d5(0x1d4)](_0x3b3a8d[_0x1df2d5(0x1af)],_0x3b3a8d);}),Array[_0x54231c(0x1fd)](_0x2495f2[_0x54231c(0x14b)]());}var I=function(){const _0x2658d4=_0x306380;return I=Object[_0x2658d4(0x222)]||function(_0x5b9226){const _0xc10e1d=_0x2658d4;for(var _0x1e5a38,_0x438f1f=0x1,_0x53a828=arguments[_0xc10e1d(0x2e0)];_0x438f1f<_0x53a828;_0x438f1f++){_0x1e5a38=arguments[_0x438f1f];for(var _0x1cdfbc in _0x1e5a38)Object[_0xc10e1d(0x106)][_0xc10e1d(0x1b3)][_0xc10e1d(0x2a0)](_0x1e5a38,_0x1cdfbc)&&(_0x5b9226[_0x1cdfbc]=_0x1e5a38[_0x1cdfbc]);}return _0x5b9226;},I[_0x2658d4(0x164)](this,arguments);},ki=function(_0x366648,_0x35f734){const _0x5a0424=_0x306380;var _0x1278cc={};for(var _0x5c1c4a in _0x366648)Object[_0x5a0424(0x106)][_0x5a0424(0x1b3)][_0x5a0424(0x2a0)](_0x366648,_0x5c1c4a)&&_0x35f734[_0x5a0424(0x23c)](_0x5c1c4a)<0x0&&(_0x1278cc[_0x5c1c4a]=_0x366648[_0x5c1c4a]);if(_0x366648!=null&&typeof Object[_0x5a0424(0x11c)]==_0x5a0424(0x21c)){for(var _0x34bc38=0x0,_0x5c1c4a=Object[_0x5a0424(0x11c)](_0x366648);_0x34bc38<_0x5c1c4a[_0x5a0424(0x2e0)];_0x34bc38++)_0x35f734[_0x5a0424(0x23c)](_0x5c1c4a[_0x34bc38])<0x0&&Object[_0x5a0424(0x106)][_0x5a0424(0x2c5)][_0x5a0424(0x2a0)](_0x366648,_0x5c1c4a[_0x34bc38])&&(_0x1278cc[_0x5c1c4a[_0x34bc38]]=_0x366648[_0x5c1c4a[_0x34bc38]]);}return _0x1278cc;},We=_0xce2410(function(_0x27f7e2,_0xd6ec60){const _0x542ca4=_0x306380;var _0x4a53dc=_0x27f7e2[_0x542ca4(0x17a)],_0x161c90=_0x27f7e2['id'],_0x3a05be=_0x27f7e2['className'],_0x1eaa2a=_0x27f7e2[_0x542ca4(0x2a2)],_0x17ee7e=ki(_0x27f7e2,[_0x542ca4(0x17a),'id',_0x542ca4(0x26f),_0x542ca4(0x2a2)]),_0x3be5e7=_0x542ca4(0x190)['concat'](_0x161c90,'\x20')[_0x542ca4(0x2cc)](_0x3a05be||'')[_0x542ca4(0x26a)](),_0x396bc4=_0x5407f6('_'[_0x542ca4(0x2cc)](Wi()));return Nt(_0x4a53dc,''['concat'](_0x161c90),{'defIds':_0x4a53dc['defIds'],'idSuffix':_0x396bc4[_0x542ca4(0x208)]},I({'ref':_0xd6ec60,'className':_0x3be5e7},_0x17ee7e),_0x1eaa2a);});function Nt(_0x3cd6ec,_0x488d72,_0x38b07,_0x202d79,_0x3f7435){const _0x177217=_0x306380;return _0x58e742(_0x3cd6ec[_0x177217(0x21a)],I(I({'key':_0x488d72},Hi(_0x3cd6ec,_0x38b07,_0x3f7435)),_0x202d79),(ji(_0x3cd6ec,_0x38b07)[_0x177217(0x247)]||[])[_0x177217(0x181)](function(_0x3a6904,_0x2de3e0){const _0x582a4d=_0x177217;return Nt(_0x3a6904,''[_0x582a4d(0x2cc)](_0x488d72,'-')[_0x582a4d(0x2cc)](_0x3cd6ec['tag'],'-')[_0x582a4d(0x2cc)](_0x2de3e0),_0x38b07,void 0x0,_0x3f7435);}));}function Hi(_0x4bc236,_0x3ad4bd,_0x72c441){const _0x17bd7c=_0x306380;var _0x1655a1=I({},_0x4bc236[_0x17bd7c(0x264)]);_0x72c441!=null&&_0x72c441[_0x17bd7c(0x1c1)]&&_0x1655a1[_0x17bd7c(0x1ca)]===_0x17bd7c(0x1c1)&&(_0x1655a1[_0x17bd7c(0x1ca)]=_0x72c441[_0x17bd7c(0x1c1)]),_0x4bc236['tag']===_0x17bd7c(0x16d)&&_0x1655a1['id']&&(_0x1655a1['id']=_0x1655a1['id']+_0x3ad4bd[_0x17bd7c(0x2da)]),Object[_0x17bd7c(0x23a)](_0x1655a1)[_0x17bd7c(0x159)](function(_0x5da4d1){const _0x3ffbbc=_0x17bd7c;var _0x1b8412=_0x5da4d1[0x0],_0x44babd=_0x5da4d1[0x1];_0x1b8412===_0x3ffbbc(0x16d)&&typeof _0x44babd==_0x3ffbbc(0x29b)&&(_0x1655a1[_0x1b8412]=_0x44babd[_0x3ffbbc(0x131)](/url\(#(.*)\)/,'url(#$1'[_0x3ffbbc(0x2cc)](_0x3ad4bd[_0x3ffbbc(0x2da)],')')));});var _0x43f6d3=_0x3ad4bd[_0x17bd7c(0x1d2)];return!_0x43f6d3||_0x43f6d3[_0x17bd7c(0x2e0)]===0x0||(_0x4bc236[_0x17bd7c(0x21a)]===_0x17bd7c(0xff)&&_0x1655a1['xlink:href']&&(_0x1655a1[_0x17bd7c(0x21b)]=_0x1655a1[_0x17bd7c(0x21b)]+_0x3ad4bd[_0x17bd7c(0x2da)]),Object[_0x17bd7c(0x23a)](_0x1655a1)['forEach'](function(_0x308477){const _0x529c37=_0x17bd7c;var _0x91094e=_0x308477[0x0],_0x4efcb8=_0x308477[0x1];typeof _0x4efcb8==_0x529c37(0x29b)&&(_0x1655a1[_0x91094e]=_0x4efcb8['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3ad4bd['idSuffix'],')')));})),_0x1655a1;}function ji(_0x1eea27,_0x28d0a7){const _0x21b3f4=_0x306380;var _0x37ee19,_0x1a7ca=_0x28d0a7[_0x21b3f4(0x1d2)];return!_0x1a7ca||_0x1a7ca[_0x21b3f4(0x2e0)]===0x0?_0x1eea27:_0x1eea27[_0x21b3f4(0x21a)]===_0x21b3f4(0x141)&&(!((_0x37ee19=_0x1eea27[_0x21b3f4(0x247)])===null||_0x37ee19===void 0x0)&&_0x37ee19[_0x21b3f4(0x2e0)])?I(I({},_0x1eea27),{'children':_0x1eea27[_0x21b3f4(0x247)][_0x21b3f4(0x181)](function(_0x21fd6a){const _0x44f18e=_0x21b3f4;return typeof _0x21fd6a[_0x44f18e(0x264)]['id']==_0x44f18e(0x29b)&&_0x1a7ca&&_0x1a7ca['indexOf'](_0x21fd6a['attrs']['id'])>-0x1?I(I({},_0x21fd6a),{'attrs':I(I({},_0x21fd6a[_0x44f18e(0x264)]),{'id':_0x21fd6a[_0x44f18e(0x264)]['id']+_0x28d0a7[_0x44f18e(0x2da)]})}):_0x21fd6a;})}):_0x1eea27;}function Wi(){const _0xd48968=_0x306380;return Math[_0xd48968(0x29e)]()[_0xd48968(0x1d1)](0x24)['substring'](0x2,0x8);}We[_0x306380(0x26b)]='UniverIcon';var Fi={'tag':_0x306380(0x153),'attrs':{'fill':_0x306380(0x104),'viewBox':_0x306380(0x2cd),'width':_0x306380(0x12d),'height':_0x306380(0x12d)},'children':[{'tag':'g','attrs':{'clipPath':_0x306380(0x1c7)},'children':[{'tag':_0x306380(0x1eb),'attrs':{'stroke':_0x306380(0x25b),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x306380(0x102),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x306380(0x141),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x306380(0x1eb),'attrs':{'fill':_0x306380(0x119),'d':_0x306380(0x2b1)}}]}]}],'defIds':[_0x306380(0x17f)]},Mt=_0xce2410(function(_0xf31a3f,_0x426331){return _0x58e742(We,Object['assign']({},_0xf31a3f,{'id':'off-line-single','ref':_0x426331,'icon':Fi}));});Mt[_0x306380(0x26b)]=_0x306380(0x267);var Vi={'tag':_0x306380(0x153),'attrs':{'fill':'none','viewBox':_0x306380(0x1ec),'width':'1em','height':_0x306380(0x12d)},'children':[{'tag':'g','attrs':{'clipPath':_0x306380(0x25a)},'children':[{'tag':_0x306380(0x1eb),'attrs':{'stroke':_0x306380(0x25b),'d':_0x306380(0x103),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x306380(0x141),'attrs':{},'children':[{'tag':_0x306380(0x2f9),'attrs':{'id':_0x306380(0x109)},'children':[{'tag':_0x306380(0x1eb),'attrs':{'fill':_0x306380(0x119),'d':_0x306380(0x2b1),'transform':_0x306380(0x2a7)}}]}]}],'defIds':[_0x306380(0x109)]},Pt=_0xce2410(function(_0x162c52,_0x41ad67){const _0x32d7f6=_0x306380;return _0x58e742(We,Object[_0x32d7f6(0x222)]({},_0x162c52,{'id':_0x32d7f6(0x218),'ref':_0x41ad67,'icon':Vi}));});Pt['displayName']='OnLineSingle';const Yi=_0x306380(0x2bc),Xi=_0x306380(0x169),Gi=_0x306380(0x18d),Ki='univer-online',zi='univer-offline',G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x5bd2e2){const _0x1835ab=_0x306380;switch(_0x5bd2e2){case _0x344fd8[_0x1835ab(0x1e4)]:return'collabStatus.offline';case _0x344fd8[_0x1835ab(0x21f)]:return'collabStatus.conflict';case _0x344fd8[_0x1835ab(0x265)]:return _0x1835ab(0x22d);case _0x344fd8[_0x1835ab(0x2ad)]:return _0x1835ab(0x171);case _0x344fd8[_0x1835ab(0x178)]:case _0x344fd8[_0x1835ab(0x20e)]:return'collabStatus.syncing';case _0x344fd8['SYNCED']:case _0x344fd8['PENDING']:return _0x1835ab(0x101);}}function Zi(_0x3e7155){const _0x184906=_0x306380,{status$:_0x450851}=_0x3e7155,_0x74fc53=_0x17463e(_0x450851,_0x344fd8[_0x184906(0x2ad)]),_0x4e4d44=_0x9b66f4(_0x4d2fab),_0x200e54=_0x9b66f4(_0x3f2fe9),_0x2caf36=_0x74fc53!==_0x344fd8['OFFLINE'],_0x481aad=_0x4e4d44['t'](Ji(_0x74fc53)),_0x19e9a6=_0x1fe989(G[_0x184906(0x11a)],{[G[_0x184906(0x238)]]:_0x2caf36,[G[_0x184906(0x246)]]:!_0x2caf36}),_0x579c02=_0x2caf36?_0x436a04(Pt,{}):_0x436a04(Mt,{}),_0x4ef737=_0x277056(()=>{const _0x3215ec=_0x184906;_0x2caf36||_0x200e54[_0x3215ec(0x2a5)]();},[_0x2caf36,_0x200e54]);function _0x1dc4d3(){const _0x144c0b=_0x184906;return _0x233a53(_0x144c0b(0x186),{'className':_0x1fe989(_0x19e9a6,_0x144c0b(0x133)),'onClick':_0x4ef737,'children':[_0x436a04(_0x144c0b(0x186),{'className':G[_0x144c0b(0x270)],'children':_0x579c02}),_0x436a04(_0x144c0b(0x186),{'className':G[_0x144c0b(0x1f6)],'children':_0x481aad})]});}return _0x2caf36?_0x1dc4d3():_0x436a04(_0x177b87,{'title':_0x4e4d44['t'](_0x184906(0x127)),'children':_0x1dc4d3()});}var Qi=Object[_0x306380(0x295)],qi=(_0x5db617,_0x2e8173,_0x5545e8,_0x520313)=>{const _0xabb644=_0x306380;for(var _0xdb4e8d=_0x520313>0x1?void 0x0:_0x520313?Qi(_0x2e8173,_0x5545e8):_0x2e8173,_0x3ed90b=_0x5db617[_0xabb644(0x2e0)]-0x1,_0xb4e8a6;_0x3ed90b>=0x0;_0x3ed90b--)(_0xb4e8a6=_0x5db617[_0x3ed90b])&&(_0xdb4e8d=_0xb4e8a6(_0xdb4e8d)||_0xdb4e8d);return _0xdb4e8d;},q=(_0x4253ce,_0x5f4651)=>(_0x445246,_0x4d9a9e)=>_0x5f4651(_0x445246,_0x4d9a9e,_0x4253ce);let se=class extends _0x212855{constructor(_0x515c93,_0x3d7e4d,_0x544bb4,_0x1d0d0b){const _0x186b11=_0x306380;super(),_(this,_0x186b11(0x154),new _0x39027c(_0x344fd8[_0x186b11(0x2ad)])),(this['_univerInstanceService']=_0x515c93,this[_0x186b11(0x1b9)]=_0x3d7e4d,this[_0x186b11(0x2ae)]=_0x544bb4,this['_uiPartsService']=_0x1d0d0b,this[_0x186b11(0x1b5)](),this[_0x186b11(0x19d)]());}[_0x306380(0x19d)](){const _0x2f949c=_0x306380;this['disposeWithMe'](this[_0x2f949c(0x1e8)][_0x2f949c(0x15b)][_0x2f949c(0x17b)](_0x3181cc(()=>{const _0x45d96a=_0x2f949c,_0x3dee5b=this[_0x45d96a(0x1e8)][_0x45d96a(0x2d3)]();return _0x3dee5b?this[_0x45d96a(0x2ae)][_0x45d96a(0x212)](_0x3dee5b['getUnitId']()):_0x5bba0d(null);}),_0x3181cc(_0x10c9c5=>_0x10c9c5?_0x10c9c5['status$']:_0x5bba0d(_0x344fd8['NOT_COLLAB'])))[_0x2f949c(0x126)](_0x419ffe=>{const _0x3fe1e8=_0x2f949c;this[_0x3fe1e8(0x154)]['next'](_0x419ffe);}));}[_0x306380(0x1b5)](){const _0x4c54d7=_0x306380;this[_0x4c54d7(0x1a6)](this[_0x4c54d7(0x2dc)][_0x4c54d7(0x28f)](_0x567b99[_0x4c54d7(0x19f)],()=>_0x3afacf(en({'status$':this[_0x4c54d7(0x154)]['asObservable']()}),this['_injector'])));}};se=qi([q(0x0,_0x5f5751),q(0x1,_0x3afd9e(_0x4b117)),q(0x2,_0x3afd9e(_0x354dfa)),q(0x3,_0x294510)],se);function en(_0x138790){const {status$:_0x663ee8}=_0x138790;return function(){return _0x436a04(Zi,{'status$':_0x663ee8});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x3f3e7e,_0x5cc22d,_0x2b8508,_0x169924)=>{for(var _0x270d31=_0x169924>0x1?void 0x0:_0x169924?tn(_0x5cc22d,_0x2b8508):_0x5cc22d,_0x264715=_0x3f3e7e['length']-0x1,_0x2a22be;_0x264715>=0x0;_0x264715--)(_0x2a22be=_0x3f3e7e[_0x264715])&&(_0x270d31=_0x2a22be(_0x270d31)||_0x270d31);return _0x270d31;},B=(_0x3ff09c,_0x1003ec)=>(_0x3a6b50,_0x1e7411)=>_0x1003ec(_0x3a6b50,_0x1e7411,_0x3ff09c);let ie=class extends _0x212855{constructor(_0x31e968,_0x34550d,_0xc6c6d1,_0x5acc10,_0x30e725,_0x418b7b){const _0x322ef2=_0x306380;super(),this['_beforeCloseService']=_0x31e968,this[_0x322ef2(0x233)]=_0x34550d,this['_collaborationUIEventService']=_0xc6c6d1,this[_0x322ef2(0x1c4)]=_0x5acc10,this[_0x322ef2(0x155)]=_0x30e725,this[_0x322ef2(0x2ab)]=_0x418b7b,this[_0x322ef2(0x2f1)](),this['_initEvent']();}[_0x306380(0x2f1)](){const _0x3d8b0f=_0x306380;this['disposeWithMe'](this[_0x3d8b0f(0x2eb)][_0x3d8b0f(0x13f)](()=>{const _0x45fd60=_0x3d8b0f;if(this[_0x45fd60(0x233)][_0x45fd60(0x12e)][_0x45fd60(0x112)])return this[_0x45fd60(0x2ab)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x306380(0x11b)](){const _0x50c85b=_0x306380;this[_0x50c85b(0x1a6)](this[_0x50c85b(0xfa)][_0x50c85b(0x1e9)][_0x50c85b(0x126)](_0x29bf94=>{const _0x1a911e=_0x50c85b;_0x29bf94['id']===_0x5532f5[_0x1a911e(0x1b6)]&&this[_0x1a911e(0x1c4)][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0x25f)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x268))}),_0x29bf94['id']===_0x5532f5['CLOSE_ROOM']&&this['_messageService'][_0x1a911e(0x292)]({'type':_0x172d80['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x13c)]&&this['_notificationService'][_0x1a911e(0x292)]({'title':this[_0x1a911e(0x2ab)]['t']('permission.title'),'content':this[_0x1a911e(0x2ab)]['t']('permission.content'),'type':_0x1a911e(0x282),'duration':0x0}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x21f)]&&this[_0x1a911e(0x1c4)][_0x1a911e(0x292)]({'type':_0x172d80['Error'],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x1e7))+'('+_0x29bf94[_0x1a911e(0x220)]+')'}),_0x29bf94['id']===_0x5532f5['JOIN_ROOM_FAILED']&&this[_0x1a911e(0x1c4)]['show']({'type':_0x172d80['Warning'],'content':this[_0x1a911e(0x2ab)]['t'](_0x29bf94[_0x1a911e(0x220)]||'')}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x1c0)]&&this['_messageService'][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0x25f)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x1be))}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x1f2)]&&this[_0x1a911e(0x1c4)][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0xf9)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x16c))}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x22c)]&&this['_messageService'][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0xf9)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x170))});}));}};ie=sn([B(0x0,_0xee54a5),B(0x1,_0x2f27fe),B(0x2,_0x3afd9e(_0x27dc93)),B(0x3,_0x555e39),B(0x4,_0x278379),B(0x5,_0x3afd9e(_0x4d2fab))],ie);const nn='collaboration-client-ui.config',st={},wt=_0x59fe85(_0x306380(0x12b));var rn=Object[_0x306380(0x295)],on=(_0x137ece,_0x43df47,_0x554251,_0x51bcfc)=>{const _0x4606cf=_0x306380;for(var _0x3c633b=_0x51bcfc>0x1?void 0x0:_0x51bcfc?rn(_0x43df47,_0x554251):_0x43df47,_0x31ffcf=_0x137ece[_0x4606cf(0x2e0)]-0x1,_0x46616b;_0x31ffcf>=0x0;_0x31ffcf--)(_0x46616b=_0x137ece[_0x31ffcf])&&(_0x3c633b=_0x46616b(_0x3c633b)||_0x3c633b);return _0x3c633b;},K=(_0xfff79f,_0x19f39e)=>(_0x321415,_0x11fd35)=>_0x19f39e(_0x321415,_0x11fd35,_0xfff79f);let ne=class extends _0x105c1b{constructor(_0x5db183,_0x1ac51e,_0x17e9d0,_0x25f071,_0x2f57c3){const _0x2fd740=_0x306380;super(),this['_urlService']=_0x5db183,this[_0x2fd740(0x2ed)]=_0x1ac51e,this[_0x2fd740(0x179)]=_0x17e9d0,this[_0x2fd740(0xfe)]=_0x25f071,_0x2f57c3?_0x2f57c3==null||_0x2f57c3[_0x2fd740(0x293)]()[_0x2fd740(0x2b9)](()=>this[_0x2fd740(0x18a)]()):(this['_logService'][_0x2fd740(0x2d1)](_0x2fd740(0x13b),_0x2fd740(0x254)),this[_0x2fd740(0x18a)]());}async[_0x306380(0x18a)](){const _0x231f9e=_0x306380,_0x1464bb=this[_0x231f9e(0x26d)]['getParam']('unit'),_0x4cbd2d=this['_urlService'][_0x231f9e(0x1bd)](_0x231f9e(0x250)),_0x1f6de6=this['_urlService'][_0x231f9e(0x1bd)](_0x231f9e(0x277));if(!_0x1464bb||!_0x4cbd2d){this[_0x231f9e(0x2ed)]['debug'](_0x231f9e(0x13b),_0x231f9e(0x1e1));return;}const _0xf0264=await this[_0x231f9e(0xfe)][_0x231f9e(0x1dd)](_0x1464bb,Number(_0x4cbd2d),_0x1f6de6);_0xf0264&&_0xf0264 instanceof _0x2e84fd&&this[_0x231f9e(0x240)](_0xf0264);}async[_0x306380(0x240)](_0x33e071){const _0x5dc777=_0x306380;await this[_0x5dc777(0x201)](_0x33e071),_0x33e071['activeSheet$'][_0x5dc777(0x17b)](_0x49b09f(this[_0x5dc777(0x2cb)]))[_0x5dc777(0x126)](_0xe3e86=>{_0xe3e86&&this['_updateURLWithCurrentState'](_0xe3e86);}),this[_0x5dc777(0x26d)][_0x5dc777(0x2b7)][_0x5dc777(0x17b)](_0x49b09f(this[_0x5dc777(0x2cb)]))[_0x5dc777(0x126)](()=>this[_0x5dc777(0x201)](_0x33e071));}[_0x306380(0x120)](_0x431ce7,_0x2bb391=!0x1){const _0x48b88b=_0x306380,_0x37b854=this[_0x48b88b(0x26d)][_0x48b88b(0x1bd)](_0x48b88b(0x277));_0x431ce7[_0x48b88b(0x2f6)]()!==_0x37b854&&this[_0x48b88b(0x26d)][_0x48b88b(0x216)](_0x48b88b(0x277),_0x431ce7[_0x48b88b(0x2f6)](),_0x2bb391);}async[_0x306380(0x201)](_0x41e3c2){const _0x3ffce6=_0x306380;var _0x2b8cfc;const _0x53ec31=this[_0x3ffce6(0x26d)][_0x3ffce6(0x1bd)]('subunit');if(!_0x53ec31||!_0x41e3c2['getSheetBySheetId'](_0x53ec31)){const _0x121b5e=_0x41e3c2[_0x3ffce6(0x1c8)]()[0x0],_0x16598c=_0x41e3c2[_0x3ffce6(0x288)](_0x121b5e);if(!_0x16598c)return;this[_0x3ffce6(0x120)](_0x16598c,!0x0),await this[_0x3ffce6(0x179)][_0x3ffce6(0x223)](_0x481dfe['id'],{'unitId':_0x41e3c2[_0x3ffce6(0x2a6)](),'subUnitId':_0x121b5e});return;}((_0x2b8cfc=_0x41e3c2[_0x3ffce6(0x111)]())==null?void 0x0:_0x2b8cfc[_0x3ffce6(0x2f6)]())!==_0x53ec31&&await this[_0x3ffce6(0x179)][_0x3ffce6(0x223)](_0x481dfe['id'],{'unitId':_0x41e3c2[_0x3ffce6(0x2a6)](),'subUnitId':_0x53ec31});}};ne=on([K(0x0,wt),K(0x1,_0x3120e3),K(0x2,_0x459a93),K(0x3,_0x3afd9e(_0x2f7e52)),K(0x4,_0x1c9169(_0x33cba8))],ne);var an=Object[_0x306380(0x295)],cn=(_0x1d5fc8,_0x4ae2c7,_0x66ab27,_0x294c31)=>{const _0x39c03f=_0x306380;for(var _0x58ed4a=_0x294c31>0x1?void 0x0:_0x294c31?an(_0x4ae2c7,_0x66ab27):_0x4ae2c7,_0x4279a7=_0x1d5fc8[_0x39c03f(0x2e0)]-0x1,_0x5ef3fe;_0x4279a7>=0x0;_0x4279a7--)(_0x5ef3fe=_0x1d5fc8[_0x4279a7])&&(_0x58ed4a=_0x5ef3fe(_0x58ed4a)||_0x58ed4a);return _0x58ed4a;},Ce=(_0x137953,_0x5b551f)=>(_0x4d5def,_0x4fee70)=>_0x5b551f(_0x4d5def,_0x4fee70,_0x137953);let re=class{constructor(_0x5375e0,_0x114fa9,_0x2333ca){const _0xf17f26=_0x306380;this[_0xf17f26(0x1b9)]=_0x5375e0,this[_0xf17f26(0x23b)]=_0x114fa9,this[_0xf17f26(0x10e)]=_0x2333ca;}['transformIMECache'](_0x133c1b){const _0x409057=_0x306380;this[_0x409057(0x257)](_0x133c1b),this[_0x409057(0x128)](_0x133c1b);}[_0x306380(0x1f7)](_0x425852){const _0x8f627b=_0x306380,{unitID:_0x2a7325}=_0x425852,_0x1a6cdd=this[_0x8f627b(0x10e)][_0x8f627b(0x1c5)](_0x2a7325)['with'](_0x369c07),{redoCache:_0xf4980d}=_0x1a6cdd[_0x8f627b(0x176)]();if(_0xf4980d[_0x8f627b(0x2e0)]===0x0)return _0x425852;let _0x411fe3=_0x322f9c['deepClone'](_0x425852[_0x8f627b(0x1bb)][0x0]);for(let _0x63f9c1=0x0;_0x63f9c1<_0xf4980d['length'];_0x63f9c1++){const _0x2e3940={'id':_0x8f627b(0x117),'params':{..._0xf4980d[_0x63f9c1]}},_0x1e0b23=this[_0x8f627b(0x23b)]['transformMutation'](_0x411fe3,_0x2e3940,!0x1);if(_0x321bf4(_0x1e0b23))throw _0x1e0b23[_0x8f627b(0x282)];_0x411fe3=_0x1e0b23['m1Prime'];}return{..._0x322f9c[_0x8f627b(0x12a)](_0x425852),'mutations':[_0x411fe3]};}[_0x306380(0x257)](_0x12ab8b){const _0x3927f4=_0x306380,{unitID:_0x85626}=_0x12ab8b,_0x5bbd97=this[_0x3927f4(0x10e)][_0x3927f4(0x1c5)](_0x85626)[_0x3927f4(0x1cf)](_0x369c07),{undoCache:_0x2d4da0,redoCache:_0x142f9c}=_0x5bbd97['getUndoRedoMutationParamsCache']();if(_0x2d4da0[_0x3927f4(0x2e0)]===0x0||_0x142f9c[_0x3927f4(0x2e0)]===0x0)return;const _0x175479=[],_0x1aad48=[];let _0x452568=_0x322f9c[_0x3927f4(0x12a)](_0x12ab8b['mutations'][0x0]),_0x17cee1=_0x322f9c[_0x3927f4(0x12a)](_0x12ab8b[_0x3927f4(0x1bb)][0x0]);for(let _0x116b3f=_0x2d4da0[_0x3927f4(0x2e0)]-0x1;_0x116b3f>=0x0;_0x116b3f--){const _0x1dd24c={'id':_0x3927f4(0x117),'params':{..._0x2d4da0[_0x116b3f]}},_0x483202={'id':_0x3927f4(0x117),'params':{..._0x142f9c[_0x116b3f]}},_0x180b8c=this[_0x3927f4(0x23b)][_0x3927f4(0x1a5)](_0x452568,_0x1dd24c,!0x1),_0x57848d=this[_0x3927f4(0x23b)]['transformMutation'](_0x17cee1,_0x483202,!0x1);if(_0x321bf4(_0x180b8c))throw _0x180b8c[_0x3927f4(0x282)];if(_0x321bf4(_0x57848d))throw _0x57848d['error'];_0x175479[_0x3927f4(0x196)](_0x180b8c['m2Prime'][_0x3927f4(0x18c)]),_0x1aad48[_0x3927f4(0x196)](_0x57848d[_0x3927f4(0x137)]['params']),_0x452568=_0x180b8c['m1Prime'],_0x17cee1=_0x57848d[_0x3927f4(0x1d6)];}_0x5bbd97[_0x3927f4(0x1bc)]({'undoCache':_0x175479,'redoCache':_0x1aad48});}[_0x306380(0x128)](_0x86ddcb){const _0x298518=_0x306380,{unitID:_0x11b421}=_0x86ddcb,_0x5712af=this['_renderManagerService'][_0x298518(0x1c5)](_0x11b421)[_0x298518(0x1cf)](_0x369c07),_0x11904a=_0x5712af['getActiveRange']();if(_0x11904a==null)return;const _0x5313e8=[{'id':_0x298518(0x117),'params':{'unitId':_0x86ddcb[_0x298518(0x1ea)],'actions':null,'textRanges':[_0x11904a]}}],_0x124675=this[_0x298518(0x23b)]['transformMutationsWithChangeset'](_0x86ddcb,_0x5313e8);if(!_0x2157ba(_0x124675))throw _0x124675[_0x298518(0x282)];const _0x5d6ca2=_0x124675[_0x298518(0x137)][0x0][_0x298518(0x18c)][_0x298518(0x204)];Array[_0x298518(0x2cf)](_0x5d6ca2)&&_0x5d6ca2[_0x298518(0x2e0)]&&_0x5712af['setActiveRange'](_0x5d6ca2[0x0]);}};re=cn([Ce(0x0,_0x3afd9e(_0x4b117)),Ce(0x1,_0x7bf59f),Ce(0x2,_0x177c33)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1a60ad,_0x1d4814,_0x18f0fb,_0x4868e7)=>{const _0xe19d2f=_0x306380;for(var _0x30709c=_0x4868e7>0x1?void 0x0:_0x4868e7?ln(_0x1d4814,_0x18f0fb):_0x1d4814,_0xba1704=_0x1a60ad[_0xe19d2f(0x2e0)]-0x1,_0x7f0164;_0xba1704>=0x0;_0xba1704--)(_0x7f0164=_0x1a60ad[_0xba1704])&&(_0x30709c=_0x7f0164(_0x30709c)||_0x30709c);return _0x30709c;},Ee=(_0x5726fd,_0x284a40)=>(_0xb203ad,_0x17edaf)=>_0x284a40(_0xb203ad,_0x17edaf,_0x5726fd);let oe=class{constructor(_0x4d2a88,_0xfd729,_0x360081){const _0x1c5d1c=_0x306380;this[_0x1c5d1c(0x1b9)]=_0x4d2a88,this[_0x1c5d1c(0x23b)]=_0xfd729,this[_0x1c5d1c(0x14c)]=_0x360081;}[_0x306380(0x183)](_0x31f776){const _0x144dcd=_0x306380;this[_0x144dcd(0x2de)](_0x31f776);}[_0x306380(0x1f7)](_0x4c796f){const _0x436a98=_0x306380,{unitID:_0x41ea11}=_0x4c796f,{collaboration:_0x30b55b}=this[_0x436a98(0x14c)][_0x436a98(0x219)](_0x41ea11);if(_0x30b55b[_0x436a98(0x2e0)]===0x0)return _0x4c796f;let _0xecfa47=_0x322f9c[_0x436a98(0x12a)](_0x4c796f[_0x436a98(0x1bb)][0x0]);for(let _0x4765c8=0x0;_0x4765c8<_0x30b55b[_0x436a98(0x2e0)];_0x4765c8++){const _0x5476e0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30b55b[_0x4765c8][_0x436a98(0x1f1)],..._0x30b55b[_0x4765c8]['redoState']}},_0x2cdfe4=this['_transformService'][_0x436a98(0x1a5)](_0xecfa47,_0x5476e0,!0x1);if(_0x321bf4(_0x2cdfe4))throw _0x2cdfe4[_0x436a98(0x282)];_0xecfa47=_0x2cdfe4[_0x436a98(0x1d6)];}return{..._0x322f9c[_0x436a98(0x12a)](_0x4c796f),'mutations':[_0xecfa47]};}[_0x306380(0x2de)](_0x10f425){const _0x1f4820=_0x306380,{unitID:_0x1998fe}=_0x10f425,{history:_0x70fc5,collaboration:_0x19201c}=this['_docStateChangeManagerService'][_0x1f4820(0x219)](_0x1998fe);if(_0x70fc5['length']===0x0&&_0x19201c[_0x1f4820(0x2e0)]===0x0)return;const _0x563ef4=[],_0x49d2f4=[];let _0x462df3=_0x322f9c['deepClone'](_0x10f425[_0x1f4820(0x1bb)][0x0]),_0x37310f=_0x322f9c['deepClone'](_0x10f425[_0x1f4820(0x1bb)][0x0]);for(let _0x1a18a5=_0x70fc5[_0x1f4820(0x2e0)]-0x1;_0x1a18a5>=0x0;_0x1a18a5--){const _0x5e0dbe={'id':_0x1f4820(0x117),'params':{'unitId':_0x70fc5[_0x1a18a5]['unitId'],..._0x70fc5[_0x1a18a5][_0x1f4820(0x298)]}},_0x579e49={'id':_0x1f4820(0x117),'params':{'unitId':_0x70fc5[_0x1a18a5][_0x1f4820(0x1f1)],..._0x70fc5[_0x1a18a5][_0x1f4820(0x15d)]}},_0x48863d=this['_transformService'][_0x1f4820(0x1a5)](_0x462df3,_0x5e0dbe,!0x1),_0x2ff7eb=this[_0x1f4820(0x23b)]['transformMutation'](_0x37310f,_0x579e49,!0x1);if(_0x321bf4(_0x48863d))throw _0x48863d[_0x1f4820(0x282)];if(_0x321bf4(_0x2ff7eb))throw _0x2ff7eb[_0x1f4820(0x282)];_0x563ef4[_0x1f4820(0x196)]({..._0x70fc5[_0x1a18a5],'undoState':_0x48863d[_0x1f4820(0x137)][_0x1f4820(0x18c)],'redoState':_0x2ff7eb[_0x1f4820(0x137)][_0x1f4820(0x18c)]}),_0x462df3=_0x48863d[_0x1f4820(0x1d6)],_0x37310f=_0x2ff7eb[_0x1f4820(0x1d6)];}_0x462df3=_0x322f9c['deepClone'](_0x10f425[_0x1f4820(0x1bb)][0x0]),_0x37310f=_0x322f9c[_0x1f4820(0x12a)](_0x10f425[_0x1f4820(0x1bb)][0x0]);for(let _0x4f471e=_0x19201c[_0x1f4820(0x2e0)]-0x1;_0x4f471e>=0x0;_0x4f471e--){const _0x3402d5={'id':_0x1f4820(0x117),'params':{'unitId':_0x19201c[_0x4f471e]['unitId'],..._0x19201c[_0x4f471e][_0x1f4820(0x298)]}},_0x5dd02b={'id':_0x1f4820(0x117),'params':{'unitId':_0x19201c[_0x4f471e]['unitId'],..._0x19201c[_0x4f471e][_0x1f4820(0x15d)]}},_0x2e8557=this[_0x1f4820(0x23b)][_0x1f4820(0x1a5)](_0x462df3,_0x3402d5,!0x1),_0x3cbd89=this[_0x1f4820(0x23b)][_0x1f4820(0x1a5)](_0x37310f,_0x5dd02b,!0x1);if(_0x321bf4(_0x2e8557))throw _0x2e8557[_0x1f4820(0x282)];if(_0x321bf4(_0x3cbd89))throw _0x3cbd89[_0x1f4820(0x282)];_0x49d2f4['unshift']({..._0x19201c[_0x4f471e],'undoState':_0x2e8557['m2Prime'][_0x1f4820(0x18c)],'redoState':_0x3cbd89['m2Prime'][_0x1f4820(0x18c)]}),_0x462df3=_0x2e8557[_0x1f4820(0x1d6)],_0x37310f=_0x3cbd89[_0x1f4820(0x1d6)];}this['_docStateChangeManagerService'][_0x1f4820(0x299)](_0x1998fe,{'history':_0x563ef4,'collaboration':_0x49d2f4});}};oe=_n([Ee(0x0,_0x3afd9e(_0x4b117)),Ee(0x1,_0x7bf59f),Ee(0x2,_0x3afd9e(_0x3d861c))],oe);var hn=Object[_0x306380(0x295)],un=(_0x3463ae,_0x150ecd,_0x3980ab,_0xbddcac)=>{const _0x1b0f79=_0x306380;for(var _0x959cf5=_0xbddcac>0x1?void 0x0:_0xbddcac?hn(_0x150ecd,_0x3980ab):_0x150ecd,_0xb9f0de=_0x3463ae[_0x1b0f79(0x2e0)]-0x1,_0x539c80;_0xb9f0de>=0x0;_0xb9f0de--)(_0x539c80=_0x3463ae[_0xb9f0de])&&(_0x959cf5=_0x539c80(_0x959cf5)||_0x959cf5);return _0x959cf5;},it=(_0x42711a,_0x4c06be)=>(_0x2608e1,_0x2ac2c6)=>_0x4c06be(_0x2608e1,_0x2ac2c6,_0x42711a);let ae=class{constructor(_0x248992,_0x402260){const _0x5d2739=_0x306380;this[_0x5d2739(0x1b9)]=_0x248992,this[_0x5d2739(0x23b)]=_0x402260;}['transformSelections'](_0x377380){const _0x29d80b=_0x306380;var _0x5f797;const _0xdf5d4a=this[_0x29d80b(0x1b9)][_0x29d80b(0x1b8)](_0x512101),_0xd98f1c=(_0x5f797=_0xdf5d4a['getDocRanges']())!=null?_0x5f797:[];if(_0xd98f1c[_0x29d80b(0x2e0)]===0x0)return;const _0x11fe1e=_0x377380['unitID'],_0x19fcf9=[{'id':_0x29d80b(0x117),'params':{'unitId':_0x11fe1e,'actions':null,'textRanges':_0xd98f1c}}],_0x4d71a9=this[_0x29d80b(0x23b)][_0x29d80b(0x23d)](_0x377380,_0x19fcf9);if(!_0x2157ba(_0x4d71a9))throw _0x4d71a9[_0x29d80b(0x282)];const _0x3ab2ed=_0x4d71a9[_0x29d80b(0x137)][0x0][_0x29d80b(0x18c)]['textRanges'];Array['isArray'](_0x3ab2ed)&&_0x3ab2ed['length']&&_0xdf5d4a[_0x29d80b(0x1cc)](_0x3ab2ed,{'unitId':_0x11fe1e,'subUnitId':_0x11fe1e},!0x1);}};ae=un([it(0x0,_0x3afd9e(_0x4b117)),it(0x1,_0x7bf59f)],ae);var dn=Object[_0x306380(0x295)],fn=(_0x4ae8a7,_0x515976,_0x48cb61,_0x11dde6)=>{const _0x194f81=_0x306380;for(var _0x32d922=_0x11dde6>0x1?void 0x0:_0x11dde6?dn(_0x515976,_0x48cb61):_0x515976,_0x4ea486=_0x4ae8a7[_0x194f81(0x2e0)]-0x1,_0x79be08;_0x4ea486>=0x0;_0x4ea486--)(_0x79be08=_0x4ae8a7[_0x4ea486])&&(_0x32d922=_0x79be08(_0x32d922)||_0x32d922);return _0x32d922;},M=(_0xba34d2,_0x4d410e)=>(_0x1c06e6,_0x43fe72)=>_0x4d410e(_0x1c06e6,_0x43fe72,_0xba34d2);let ce=class extends _0x212855{constructor(_0x35c4fa,_0x53bd8e,_0x49d381,_0x43d913,_0x38fb2b,_0x294169,_0x28d9b7,_0x342100){const _0x529c6c=_0x306380;super(),_(this,_0x529c6c(0x154),new _0x39027c(_0x344fd8['NOT_COLLAB'])),(this[_0x529c6c(0x14c)]=_0x35c4fa,this[_0x529c6c(0x2ae)]=_0x53bd8e,this[_0x529c6c(0x2c6)]=_0x49d381,this[_0x529c6c(0x123)]=_0x43d913,this[_0x529c6c(0x278)]=_0x38fb2b,this[_0x529c6c(0x290)]=_0x294169,this[_0x529c6c(0x1c4)]=_0x28d9b7,this[_0x529c6c(0x2ab)]=_0x342100,this[_0x529c6c(0x1df)]());}[_0x306380(0x1df)](){const _0x80f84a=_0x306380;this[_0x80f84a(0x1a6)](this[_0x80f84a(0x2ae)][_0x80f84a(0x28c)]['subscribe'](_0x2c1d62=>{const _0x3ecf4c=_0x80f84a,_0x433b06=this['_docStateChangeManagerService'][_0x3ecf4c(0x1aa)][_0x3ecf4c(0x126)](_0x231709=>{const _0x5956de=_0x3ecf4c;if(_0x231709==null)return;const {unitId:_0xc42a03,redoState:_0x36c3c7,commandId:_0x2306e5}=_0x231709;if(_0xc42a03!==_0x2c1d62[_0x5956de(0x1ea)])return;const _0x4a439d={'id':_0x2306e5,'type':_0x1846a2[_0x5956de(0x2f8)],'params':{'unitId':_0xc42a03,'actions':_0x36c3c7[_0x5956de(0x2ac)],'textRanges':null}};_0x2c1d62[_0x5956de(0x149)](_0x4a439d);});if(_0x2c1d62[_0x3ecf4c(0x1a6)](_0x433b06),_0x2c1d62 instanceof _0x530020){const _0x20c5a6={'onTransformIME':_0x5b5d21=>this[_0x3ecf4c(0x2c6)][_0x3ecf4c(0x205)](_0x5b5d21),'onTransformState':_0x48c2c4=>this[_0x3ecf4c(0x123)][_0x3ecf4c(0x183)](_0x48c2c4),'onTransformSelections':_0x417459=>this[_0x3ecf4c(0x278)][_0x3ecf4c(0x2d9)](_0x417459),'onSyncEditingCollabCursor':_0x362dd5=>this[_0x3ecf4c(0x290)][_0x3ecf4c(0x210)](_0x362dd5),'onTransformRemoteChangesetByIMECache':_0x1f8149=>this['_docTransformIMECacheService'][_0x3ecf4c(0x1f7)](_0x1f8149),'onTransformRemoteChangesetByStateCache':_0x169d36=>this[_0x3ecf4c(0x123)]['transformRemoteChangeset'](_0x169d36)};_0x2c1d62[_0x3ecf4c(0x17e)](_0x20c5a6);}}));}};ce=fn([M(0x0,_0x3afd9e(_0x3d861c)),M(0x1,_0x3afd9e(_0x354dfa)),M(0x2,_0x3afd9e(re)),M(0x3,_0x3afd9e(oe)),M(0x4,_0x3afd9e(ae)),M(0x5,_0x3afd9e(je)),M(0x6,_0x555e39),M(0x7,_0x3afd9e(_0x4d2fab))],ce);var Sn=Object[_0x306380(0x295)],mn=(_0x558ef0,_0x4b59bf,_0x56a666,_0x4fc549)=>{const _0x184afe=_0x306380;for(var _0x27919e=_0x4fc549>0x1?void 0x0:_0x4fc549?Sn(_0x4b59bf,_0x56a666):_0x4b59bf,_0x3c4f89=_0x558ef0[_0x184afe(0x2e0)]-0x1,_0x44dd11;_0x3c4f89>=0x0;_0x3c4f89--)(_0x44dd11=_0x558ef0[_0x3c4f89])&&(_0x27919e=_0x44dd11(_0x27919e)||_0x27919e);return _0x27919e;},be=(_0x2e7e58,_0x58c07a)=>(_0x4f4ddb,_0x66bc50)=>_0x58c07a(_0x4f4ddb,_0x66bc50,_0x2e7e58);let Ae=class extends _0x212855{constructor(_0x3f93f2,_0x11fa74,_0x277811){const _0x397773=_0x306380;super(),_(this,_0x397773(0x13d),new Map()),_(this,_0x397773(0x27f),new Map()),_(this,_0x397773(0x2c7),!0x1),(this[_0x397773(0x26c)]=_0x3f93f2,this[_0x397773(0xf8)]=_0x11fa74,this[_0x397773(0x29d)]=_0x277811);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x306380(0x203)](){this['_disabled']=!0x1;}get[_0x306380(0x12e)](){return this['_saveTaskMap'];}[_0x306380(0x211)](){const _0x429b2a=_0x306380;this[_0x429b2a(0x2bf)]()['then'](()=>super[_0x429b2a(0x211)]());}async['loadOfflineData'](_0xe7b16d){const _0x23f34c=_0x306380;return this[_0x23f34c(0x2c7)]?null:this[_0x23f34c(0xf8)][_0x23f34c(0x235)](_0x1ae124(_0xe7b16d));}async[_0x306380(0x2ef)](_0x320e70,_0x17cbf6){const _0x1d501c=_0x306380;return!!this[_0x1d501c(0xf8)]['setItem'](_0x320e70,_0x17cbf6);}[_0x306380(0x121)](_0x263ab1,_0x54c751,_0x1b632a,_0x186f8b){const _0x5e342c=_0x306380,_0x36846a=this[_0x5e342c(0x29d)][_0x5e342c(0x18e)](_0x263ab1);this['_cachedData'][_0x5e342c(0x1d4)](_0x263ab1,{'unitID':_0x263ab1,'type':_0x54c751,'awaitingChangeset':_0x1b632a,'mutations':_0x186f8b,'rev':_0x36846a}),this[_0x5e342c(0x27f)][_0x5e342c(0x291)](_0x263ab1)||this[_0x5e342c(0x21d)](_0x263ab1);}[_0x306380(0x21d)](_0x221e3b){const _0x246fff=_0x306380,_0x58fb67=this[_0x246fff(0x163)]();_0x58fb67===0x0?this[_0x246fff(0x2d8)](_0x221e3b):this[_0x246fff(0x27f)][_0x246fff(0x1d4)](_0x221e3b,setTimeout(()=>this[_0x246fff(0x2d8)](_0x221e3b),_0x58fb67));}[_0x306380(0x163)](){const _0x1f66d6=_0x306380;var _0x43f1d8;return(_0x43f1d8=this[_0x1f66d6(0x26c)][_0x1f66d6(0x234)](_0x4ab531))!=null?_0x43f1d8:_0xc97530;}[_0x306380(0x2d8)](_0x2242d6){const _0x2eca1e=_0x306380,_0x109f30=this[_0x2eca1e(0x27f)][_0x2eca1e(0x1b8)](_0x2242d6);return _0x109f30!==void 0x0&&window[_0x2eca1e(0x175)](_0x109f30),this[_0x2eca1e(0xf8)]['setItem'](_0x1ae124(_0x2242d6),this[_0x2eca1e(0x13d)][_0x2eca1e(0x1b8)](_0x2242d6))[_0x2eca1e(0x2b9)](()=>this['_saveTaskMap']['delete'](_0x2242d6));}async['exhaustSavingTask'](){const _0x1f76de=_0x306380,_0x3d368b=[];this[_0x1f76de(0x27f)][_0x1f76de(0x159)]((_0x54b11e,_0x4751a4)=>{const _0xad21b0=_0x1f76de;window[_0xad21b0(0x175)](_0x54b11e),_0x3d368b['push'](this[_0xad21b0(0x2d8)](_0x4751a4)[_0xad21b0(0x2b9)](()=>{const _0x45224c=_0xad21b0;this[_0x45224c(0x27f)][_0x45224c(0x1ae)](_0x4751a4);}));}),await Promise[_0x1f76de(0x289)](_0x3d368b);}};Ae=mn([be(0x0,_0xc0ea31),be(0x1,_0x5971f0),be(0x2,_0x3afd9e(_0x15ca61))],Ae);class gn extends _0x105c1b{constructor(){const _0x1efaa0=_0x306380;super(),_(this,_0x1efaa0(0x2b7)),this[_0x1efaa0(0x2b7)]=_0x1b2312(window,_0x1efaa0(0x10f))[_0x1efaa0(0x17b)](_0x49b09f(this[_0x1efaa0(0x2cb)]),_0x51a7e2(0x1),_0x33a373(void 0x0));}['setParam'](_0x891271,_0x282fbe,_0xe4140a=!0x1){const _0x19ed70=_0x306380,_0x301c81=new URL(window[_0x19ed70(0x24b)]['href']);_0x301c81[_0x19ed70(0x1d7)][_0x19ed70(0x1d4)](_0x891271,_0x282fbe),_0xe4140a?window['history'][_0x19ed70(0x152)]('','',_0x301c81[_0x19ed70(0x1d1)]()):window['history'][_0x19ed70(0x1ee)]('','',_0x301c81[_0x19ed70(0x1d1)]());}[_0x306380(0x115)](_0x340b4a,_0x130e90=!0x1){const _0x24d728=_0x306380,_0x37a95c=new URL(window[_0x24d728(0x24b)][_0x24d728(0x274)]);_0x37a95c[_0x24d728(0x1d7)]['delete'](_0x340b4a),_0x130e90?window[_0x24d728(0x279)][_0x24d728(0x152)]('','',_0x37a95c[_0x24d728(0x1d1)]()):window[_0x24d728(0x279)][_0x24d728(0x1ee)]('','',_0x37a95c[_0x24d728(0x1d1)]());}[_0x306380(0x1bd)](_0xa3c4a4){const _0x5b3bcd=_0x306380;var _0x6c9200;return(_0x6c9200=new URL(window['location'][_0x5b3bcd(0x274)])[_0x5b3bcd(0x1d7)]['get'](_0xa3c4a4))!=null?_0x6c9200:void 0x0;}}var vn=Object[_0x306380(0xfd)],In=Object['getOwnPropertyDescriptor'],pn=(_0x14262,_0x261fe4,_0x3ed8e2)=>_0x261fe4 in _0x14262?vn(_0x14262,_0x261fe4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ed8e2}):_0x14262[_0x261fe4]=_0x3ed8e2,Cn=(_0x31e64b,_0x22fda8,_0x36257a,_0x82c00)=>{const _0x3f8b1e=_0x306380;for(var _0x2ca7e9=_0x82c00>0x1?void 0x0:_0x82c00?In(_0x22fda8,_0x36257a):_0x22fda8,_0x2af5e4=_0x31e64b[_0x3f8b1e(0x2e0)]-0x1,_0x58d56a;_0x2af5e4>=0x0;_0x2af5e4--)(_0x58d56a=_0x31e64b[_0x2af5e4])&&(_0x2ca7e9=_0x58d56a(_0x2ca7e9)||_0x2ca7e9);return _0x2ca7e9;},Oe=(_0x1c561f,_0x5a2db1)=>(_0x172962,_0x5a1205)=>_0x5a2db1(_0x172962,_0x5a1205,_0x1c561f),En=(_0x579895,_0x2054c4,_0x11bb44)=>pn(_0x579895,_0x2054c4+'',_0x11bb44);const bn=_0x306380(0x132);let ye=class extends _0x90d560{constructor(_0x551e75=st,_0x1b2b55,_0xdd102a,_0x2872e1){const _0x57c648=_0x306380;super(),this[_0x57c648(0x294)]=_0x551e75,this[_0x57c648(0x10e)]=_0x1b2b55,this[_0x57c648(0x1b9)]=_0xdd102a,this[_0x57c648(0x26c)]=_0x2872e1;const {..._0x4cf0ce}=_0x2d7b3e({},st,this[_0x57c648(0x294)]);this['_configService'][_0x57c648(0x227)](nn,_0x4cf0ce);}[_0x306380(0x281)](){const _0x42dada=_0x306380;this[_0x42dada(0x2ee)](),this[_0x42dada(0x2aa)]();}[_0x306380(0x100)](){const _0x43a6f3=_0x306380;this[_0x43a6f3(0x1a0)]();}['_registerDependencies'](){const _0x3784d0=_0x306380;var _0x5c6ba1;const _0x225202=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x1c152f,{'useClass':_0x1ad0bd}],[_0x2f27fe,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x1e658b(this[_0x3784d0(0x1b9)],_0x3021db(_0x225202,(_0x5c6ba1=this[_0x3784d0(0x294)])==null?void 0x0:_0x5c6ba1[_0x3784d0(0x214)]));}[_0x306380(0x1a0)](){const _0x257579=_0x306380;this['disposeWithMe'](this['_renderManagerService'][_0x257579(0x22a)](_0x1cd4b1['UNIVER_DOC'],[Ue])),this[_0x257579(0x1a6)](this[_0x257579(0x10e)][_0x257579(0x22a)](_0x1cd4b1[_0x257579(0x1cd)],[Le]));}[_0x306380(0x2aa)](){_0x2f0202(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,'pluginName',bn),ye=Cn([_0x20d232(_0x5bbdcb),Oe(0x1,_0x177c33),Oe(0x2,_0x3afd9e(_0x4b117)),Oe(0x3,_0xc0ea31)],ye);var On=Object[_0x306380(0x295)],Tn=(_0x158ea8,_0x1a6f01,_0x5650ca,_0x3f9b9c)=>{const _0x3047c4=_0x306380;for(var _0x2771f9=_0x3f9b9c>0x1?void 0x0:_0x3f9b9c?On(_0x1a6f01,_0x5650ca):_0x1a6f01,_0x4c0afb=_0x158ea8[_0x3047c4(0x2e0)]-0x1,_0x3299fa;_0x4c0afb>=0x0;_0x4c0afb--)(_0x3299fa=_0x158ea8[_0x4c0afb])&&(_0x2771f9=_0x3299fa(_0x2771f9)||_0x2771f9);return _0x2771f9;},z=(_0xd51696,_0x41f16b)=>(_0x1687b0,_0x442244)=>_0x41f16b(_0x1687b0,_0x442244,_0xd51696);let nt=class extends _0x1b0c2c{constructor(_0x3f7fa0,_0x1b6ac3,_0x3ddc83,_0x4b85ab,_0x50be22){super(_0x3f7fa0,_0x1b6ac3,_0x3ddc83,_0x4b85ab,_0x50be22);}async[_0x306380(0x20b)](_0xebd338){const _0x361353=_0x306380,_0x4d9076=await this[_0x361353(0x1b2)](),_0x128fef=this[_0x361353(0x2c1)](_0xebd338,_0x4d9076);return this[_0x361353(0x27d)](_0x128fef);}[_0x306380(0x2c1)](_0x5404b9,_0x5ad75b){const _0x521b6a=_0x306380,_0x4d5625=typeof window>'u'?new URL(_0x5404b9):new URL(_0x5404b9,window['location']['origin']);_0x4d5625[_0x521b6a(0x1d7)][_0x521b6a(0x1d4)]('sessionTicket',_0x5ad75b);const _0x12ca2b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x12ca2b[_0x521b6a(0x1b8)]('runId')&&_0x4d5625['searchParams'][_0x521b6a(0x1d4)](_0x521b6a(0x221),_0x12ca2b[_0x521b6a(0x1b8)](_0x521b6a(0x221))),_0x4d5625['toString']();}async[_0x306380(0x1b2)](){const _0x222b9e=_0x306380;var _0x447af1,_0x540313,_0x3bfc1b;const _0x5eb770=this['_configService'][_0x222b9e(0x234)](_0x533465),_0x55af49=(_0x447af1=_0x5eb770==null?void 0x0:_0x5eb770['wsSessionTicketUrl'])!=null?_0x447af1:_0xa647e2;return(_0x3bfc1b=(_0x540313=(await this[_0x222b9e(0x245)][_0x222b9e(0x1b8)](_0x55af49,{'headers':{'Content-Type':'application/json'}}))[_0x222b9e(0x206)])==null?void 0x0:_0x540313[_0x222b9e(0x19c)])!=null?_0x3bfc1b:'';}};nt=Tn([z(0x0,_0x3afd9e(_0x4b117)),z(0x1,_0x3afd9e(_0x6f80c5)),z(0x2,_0xc0ea31),z(0x3,_0x3120e3),z(0x4,_0x11ed14)],nt);const rt=0x7530,ot=_0x306380(0x232);class Gn extends _0x212855{constructor(){const _0x55074a=_0x306380;super(),_(this,_0x55074a(0x1f3),_0xe28911()),_(this,_0x55074a(0x1f5),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x55074a(0x2a3),null),_(this,_0x55074a(0x148),new Map()),_(this,_0x55074a(0x1c3),new Map()),this[_0x55074a(0x18a)]();}[_0x306380(0x211)](){const _0x5798a6=_0x306380;super[_0x5798a6(0x211)](),this[_0x5798a6(0x148)][_0x5798a6(0x159)]((_0x23a908,_0x3b8c18)=>this['_removeClearOtherTimer'](_0x3b8c18)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x5798a6(0x2a3)]);}[_0x306380(0x271)](_0x412a82){const _0x59a341=_0x306380;return this[_0x59a341(0x2f7)](_0x412a82)['pipe'](_0x26e109());}['editingUnit'](_0x11914e){const _0xfa1bef=_0x306380;this[_0xfa1bef(0x1f5)][_0xfa1bef(0x112)]===0x0&&this[_0xfa1bef(0x2e7)](),this[_0xfa1bef(0x1f5)][_0xfa1bef(0x184)](_0x11914e),this[_0xfa1bef(0x2c2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x11914e],'isForwarded':!0x1});}[_0x306380(0x1fa)](_0x19e465){const _0x13fdac=_0x306380;this[_0x13fdac(0x1f5)][_0x13fdac(0x1ae)](_0x19e465),this[_0x13fdac(0x1f5)][_0x13fdac(0x112)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x306380(0x18a)](){const _0x1d7488=_0x306380;this['disposeWithMe'](_0x360a92(_0x1b2312(window,_0x1d7488(0x24a))[_0x1d7488(0x126)](_0x36cb0f=>{const _0x2fea29=_0x1d7488;if(_0x36cb0f[_0x2fea29(0x19e)]!==ot||!_0x36cb0f[_0x2fea29(0x145)])return;const _0x34b156=JSON[_0x2fea29(0x192)](_0x36cb0f[_0x2fea29(0x145)]);this[_0x2fea29(0x1b1)](_0x34b156);}))),window[_0x1d7488(0x263)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1d7488(0x1fd)](this[_0x1d7488(0x1f5)])}));}[_0x306380(0x1b1)](_0x1520af){const _0x24f193=_0x306380;switch(_0x1520af[_0x24f193(0x250)]){case 0x0:this['_handleJoinEvent'](_0x1520af);break;case 0x1:this['_handleLeaveEvent'](_0x1520af);break;case 0x2:this[_0x24f193(0x2c9)](_0x1520af);break;}}[_0x306380(0x2b6)](_0x596af1){const _0x5e6698=_0x306380,{unitIDs:_0x38504b,memberID:_0x40b2a5,isForwarded:_0x56ec9e}=_0x596af1;_0x38504b[_0x5e6698(0x159)](_0xb4e42f=>{const _0x4e1aa1=_0x5e6698;if(!_0x56ec9e&&this['_unitOnClients']['has'](_0xb4e42f)&&this['_ensureSubject'](_0xb4e42f)[_0x4e1aa1(0x157)](_0x26192f['OTHER_CLIENTS_EDITING']),!this[_0x4e1aa1(0x26e)][_0x4e1aa1(0x291)](_0xb4e42f)||!this['_unitOnClients']['get'](_0xb4e42f)[_0x4e1aa1(0x291)](_0x40b2a5)){const _0x258f8b=this[_0x4e1aa1(0x26e)]['get'](_0xb4e42f)||new Set();_0x258f8b[_0x4e1aa1(0x184)](_0x40b2a5),this[_0x4e1aa1(0x26e)][_0x4e1aa1(0x1d4)](_0xb4e42f,_0x258f8b),this[_0x4e1aa1(0x2ca)](_0x40b2a5);}}),_0x56ec9e||this[_0x5e6698(0x2c2)]({'type':0x0,'memberID':this[_0x5e6698(0x1f3)],'unitIDs':[...this[_0x5e6698(0x1f5)]],'isForwarded':!0x0});}[_0x306380(0x2ca)](_0x74003c){const _0xf6bd2a=_0x306380;this[_0xf6bd2a(0x146)](_0x74003c);const _0x344e1f=window[_0xf6bd2a(0x2a8)](()=>{const _0x4530b4=_0xf6bd2a;this[_0x4530b4(0x26e)]['forEach'](_0x56e242=>{const _0x35e276=_0x4530b4;_0x56e242[_0x35e276(0x1ae)](_0x74003c);});},rt*0x2);this[_0xf6bd2a(0x148)][_0xf6bd2a(0x1d4)](_0x74003c,_0x344e1f);}[_0x306380(0x146)](_0x53616b){const _0x241241=_0x306380;if(this[_0x241241(0x148)][_0x241241(0x291)](_0x53616b)){const _0x74c6ea=this[_0x241241(0x148)][_0x241241(0x1b8)](_0x53616b);_0x74c6ea&&window['clearTimeout'](_0x74c6ea),this[_0x241241(0x148)][_0x241241(0x1d4)](_0x53616b,null);}}[_0x306380(0x167)](_0x414385){const _0x42523d=_0x306380,{memberID:_0x16804a,unitIDs:_0x352d1a}=_0x414385;_0x352d1a[_0x42523d(0x159)](_0x2dd0b2=>{const _0x96cb2d=_0x42523d;var _0x1f3953;const _0x34f618=this[_0x96cb2d(0x26e)][_0x96cb2d(0x1b8)](_0x2dd0b2);_0x34f618&&(_0x34f618[_0x96cb2d(0x1ae)](_0x16804a),(_0x1f3953=this[_0x96cb2d(0x2f7)](_0x2dd0b2))==null||_0x1f3953[_0x96cb2d(0x157)](_0x34f618[_0x96cb2d(0x112)]===0x0?_0x26192f[_0x96cb2d(0x1a1)]:_0x26192f[_0x96cb2d(0x1e0)]));}),this[_0x42523d(0x146)](_0x16804a);}[_0x306380(0x2c9)](_0x530796){const _0x3228b2=_0x306380;this[_0x3228b2(0x2ca)](_0x530796[_0x3228b2(0x2d4)]);}[_0x306380(0x2c2)](_0x2933b5){const _0x3278df=_0x306380;localStorage[_0x3278df(0x259)](ot,JSON['stringify'](_0x2933b5));}[_0x306380(0x2e7)](){const _0x4443bc=_0x306380;this[_0x4443bc(0x2a3)]=window[_0x4443bc(0x1d8)](()=>{const _0x1f3af7=_0x4443bc;this[_0x1f3af7(0x2c2)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x306380(0x2f7)](_0x45cdfb){const _0x4495ef=_0x306380;return this[_0x4495ef(0x1c3)][_0x4495ef(0x291)](_0x45cdfb)||this[_0x4495ef(0x1c3)][_0x4495ef(0x1d4)](_0x45cdfb,new _0x39027c(_0x26192f['NO_OTHER_CLIENTS_EDITING'])),this[_0x4495ef(0x1c3)][_0x4495ef(0x1b8)](_0x45cdfb);}}var Ut=(_0x4730d0=>(_0x4730d0[_0x4730d0[_0x306380(0x28d)]=0x0]='UNDEFINED',_0x4730d0[_0x4730d0['OK']=0x1]='OK',_0x4730d0[_0x4730d0['INTERNAL_ERROR']=0x2]=_0x306380(0x2c0),_0x4730d0[_0x4730d0[_0x306380(0x13c)]=0x3]='PERMISSION_DENIED',_0x4730d0[_0x4730d0['NOT_FOUND']=0x4]=_0x306380(0x29f),_0x4730d0[_0x4730d0[_0x306380(0x29c)]=0x5]='UNAUTHENTICATED',_0x4730d0[_0x4730d0[_0x306380(0x160)]=0x6]=_0x306380(0x160),_0x4730d0[_0x4730d0['INVALID_ARGUMENT']=0x7]=_0x306380(0x266),_0x4730d0[_0x4730d0['TOO_MANY_REQUESTS']=0x8]=_0x306380(0x284),_0x4730d0[_0x4730d0[_0x306380(0x136)]=0x9]='COMPLETION_FINISHED',_0x4730d0[_0x4730d0['LOGIN_FAILED']=0xa]=_0x306380(0x19b),_0x4730d0[_0x4730d0['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x306380(0x1ef),_0x4730d0[_0x4730d0[_0x306380(0x173)]=0x1771]=_0x306380(0x173),_0x4730d0[_0x4730d0[_0x306380(0x1b0)]=0x1772]=_0x306380(0x1b0),_0x4730d0[_0x4730d0[_0x306380(0x1a8)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4730d0[_0x4730d0[_0x306380(0x1fc)]=0x1b59]='APPLY_REJECT',_0x4730d0[_0x4730d0[_0x306380(0x2b5)]=0x1b5a]=_0x306380(0x2b5),_0x4730d0[_0x4730d0[_0x306380(0x209)]=0x1b5b]=_0x306380(0x209),_0x4730d0[_0x4730d0[_0x306380(0x180)]=0x1b5c]=_0x306380(0x180),_0x4730d0[_0x4730d0[_0x306380(0x1a2)]=0x1b5d]=_0x306380(0x1a2),_0x4730d0[_0x4730d0[_0x306380(0x229)]=0x1f41]=_0x306380(0x229),_0x4730d0[_0x4730d0['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x306380(0x27e),_0x4730d0[_0x4730d0[_0x306380(0x256)]=0x232a]=_0x306380(0x256),_0x4730d0[_0x4730d0[_0x306380(0x260)]=0x232b]=_0x306380(0x260),_0x4730d0[_0x4730d0[_0x306380(0x20d)]=0x232c]=_0x306380(0x20d),_0x4730d0[_0x4730d0[_0x306380(0x193)]=0x232d]=_0x306380(0x193),_0x4730d0[_0x4730d0[_0x306380(0x23f)]=0x2711]=_0x306380(0x23f),_0x4730d0[_0x4730d0[_0x306380(0x12c)]=0x2712]=_0x306380(0x12c),_0x4730d0[_0x4730d0['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x306380(0xfc),_0x4730d0[_0x4730d0[_0x306380(0x213)]=0x2714]=_0x306380(0x213),_0x4730d0[_0x4730d0[_0x306380(0x1d9)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4730d0[_0x4730d0[_0x306380(0x2d6)]=0x2ee1]=_0x306380(0x2d6),_0x4730d0[_0x4730d0['INVALID_INVITE_CODE']=0x2ee2]=_0x306380(0x1d0),_0x4730d0[_0x4730d0[_0x306380(0x273)]=0x2ee3]=_0x306380(0x273),_0x4730d0[_0x4730d0[_0x306380(0x177)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4730d0[_0x4730d0[_0x306380(0x1ff)]=0x2ee5]=_0x306380(0x1ff),_0x4730d0[_0x4730d0[_0x306380(0x122)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4730d0[_0x4730d0[_0x306380(0x272)]=0x32ca]=_0x306380(0x272),_0x4730d0[_0x4730d0['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x306380(0x17c),_0x4730d0[_0x4730d0['UNRECOGNIZED']=-0x1]=_0x306380(0x199),_0x4730d0))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x232ef5,_0x43b50b,_0x589066,_0x467341)=>{const _0x34e8a0=_0x306380;for(var _0x1a9202=_0x467341>0x1?void 0x0:_0x467341?Rn(_0x43b50b,_0x589066):_0x43b50b,_0x2f98fd=_0x232ef5[_0x34e8a0(0x2e0)]-0x1,_0x102be9;_0x2f98fd>=0x0;_0x2f98fd--)(_0x102be9=_0x232ef5[_0x2f98fd])&&(_0x1a9202=_0x102be9(_0x1a9202)||_0x1a9202);return _0x1a9202;},Te=(_0xa7d7bd,_0xc1adde)=>(_0x916aa,_0x5cd54a)=>_0xc1adde(_0x916aa,_0x5cd54a,_0xa7d7bd);function _0x5f42(_0x54fe83,_0x588624){const _0x4b500d=_0x4b50();return _0x5f42=function(_0x5f42cc,_0x355242){_0x5f42cc=_0x5f42cc-0xf7;let _0x2b47d0=_0x4b500d[_0x5f42cc];return _0x2b47d0;},_0x5f42(_0x54fe83,_0x588624);}let at=class extends _0x212855{constructor(_0xa74cbd,_0x216e25,_0x3281f7){const _0x2b1cad=_0x306380;super(),this[_0x2b1cad(0x237)]=_0xa74cbd,this[_0x2b1cad(0x245)]=_0x216e25,this['_configService']=_0x3281f7;}async[_0x306380(0x280)](_0x4258ec,_0x150119,_0x17a88d,..._0x5e78cf){const _0x9e5a65=_0x306380;var _0x592be8,_0x5aaad2,_0x13ee79,_0x544a82;const _0x5839f4=this[_0x9e5a65(0x237)]['getFocusedUnit']();if(!_0x5839f4)throw new Error(_0x9e5a65(0x28e));const _0x523f8e=((_0x592be8=this[_0x9e5a65(0x26c)]['getConfig'](_0x4c2332))!=null?_0x592be8:_0x1238ce)+'/'+_0x4258ec+_0x9e5a65(0x230)+_0x150119,_0x267f50=new URL(window[_0x9e5a65(0x24b)][_0x9e5a65(0x274)]),_0xcb36d4={'scriptId':_0x4258ec,'runId':(_0x5aaad2=_0x267f50[_0x9e5a65(0x1d7)][_0x9e5a65(0x1b8)](_0x9e5a65(0x221)))!=null?_0x5aaad2:'','function':_0x150119,'unitId':_0x5839f4[_0x9e5a65(0x2a6)](),'argsOfFunction':JSON['stringify'](_0x5e78cf),'invokeId':(_0x13ee79=_0x17a88d[_0x9e5a65(0x2ba)])!=null?_0x13ee79:'','executionId':(_0x544a82=_0x17a88d[_0x9e5a65(0x275)])!=null?_0x544a82:''};try{const _0x58c348=await this[_0x9e5a65(0x245)][_0x9e5a65(0x29a)](_0x523f8e,{'body':_0xcb36d4});return _0x58c348[_0x9e5a65(0x206)][_0x9e5a65(0x282)]&&_0x58c348['body'][_0x9e5a65(0x282)]['code']!==Ut['OK']?_0x9e5a65(0x1e3):_0x58c348[_0x9e5a65(0x206)][_0x9e5a65(0x1c6)];}catch{return _0x9e5a65(0x1e3);}}};at=Dn([Te(0x0,_0x5f5751),Te(0x1,_0x3afd9e(_0x6f80c5)),Te(0x2,_0xc0ea31)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
|
1
|
+
const _0x233059=_0x3372;(function(_0x3bade,_0x122040){const _0x109305=_0x3372,_0x44cf33=_0x3bade();while(!![]){try{const _0x365cc8=parseInt(_0x109305(0x213))/0x1*(-parseInt(_0x109305(0x24a))/0x2)+parseInt(_0x109305(0x194))/0x3+parseInt(_0x109305(0x2af))/0x4+parseInt(_0x109305(0x2c6))/0x5+parseInt(_0x109305(0x22a))/0x6+-parseInt(_0x109305(0x347))/0x7*(parseInt(_0x109305(0x19c))/0x8)+-parseInt(_0x109305(0x1f4))/0x9;if(_0x365cc8===_0x122040)break;else _0x44cf33['push'](_0x44cf33['shift']());}catch(_0x3475d1){_0x44cf33['push'](_0x44cf33['shift']());}}}(_0x4df5,0x93f1f));var Bt=Object[_0x233059(0x19d)],kt=(_0x2fc6b6,_0x1708c5,_0x476df2)=>_0x1708c5 in _0x2fc6b6?Bt(_0x2fc6b6,_0x1708c5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x476df2}):_0x2fc6b6[_0x1708c5]=_0x476df2,_=(_0x26cfa8,_0x1d60d4,_0x3a37ec)=>kt(_0x26cfa8,typeof _0x1d60d4!='symbol'?_0x1d60d4+'':_0x1d60d4,_0x3a37ec);import{MemberService as _0x1e5c75,SessionStatus as _0x343a1b,CollaborationSessionService as _0xc812a,CollaborationStatus as _0x6660c8,CollaborationController as _0x5ea498,ILocalCacheService as _0x27dd80,CollaborationUIEventService as _0x301bfc,CollaborationUIEventId as _0x1c1feb,DataLoaderService as _0x2c37bb,DocCollaborationEntity as _0x413438,getLocalCacheKey as _0xa1d69a,LOCAL_CACHE_INTERVAL as _0x5e91f1,LOCAL_CACHE_INTERVAL_KEY as _0x4aca84,UniverCollaborationClientPlugin as _0x121252,CollaborationSocketService as _0x24d6c5,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x51518b,DEFAULT_WS_SESSION_TICKET_URL as _0x3f943f,UnitStatus as _0x35b1a7,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4c870b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x56daa9}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x1fee6d,Disposable as _0x31fe53,DOC_RANGE_TYPE as _0x898d1a,Inject as _0x58958f,Injector as _0x17fcfa,IUniverInstanceService as _0x43c917,ICommandService as _0x4bcb08,debounce as _0x1314d0,Rectangle as _0x186ea8,DisposableCollection as _0x165b50,toDisposable as _0x2a94ec,UniverInstanceType as _0x7df75b,Tools as _0xa39a85,COLORS as _0x2dfef9,ColorKit as _0x289f4f,ThemeService as _0x44768b,fromEventSubject as _0x125902,LocaleService as _0x3cf2c0,createIdentifier as _0x52bbde,ILogService as _0x430dc1,Optional as _0xef147d,Workbook as _0x2e15f2,CommandType as _0x1d92a9,IConfigService as _0x3941f1,ILocalStorageService as _0x4eb88a,DependentOn as _0x46dea2,Plugin as _0x327775,merge as _0xd06a7e,registerDependencies as _0x47116d,mergeOverrideWithDependencies as _0xe0e22,touchDependencies as _0x2806ec,generateRandomId as _0x5d49ad}from'@univerjs/core';import{Shape as _0x12860c,Rect as _0x4d3b6b,getColor as _0x82eb7d,RegularPolygon as _0x4b30fa,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x3c742c,Vector2 as _0x1f4fe6,SHEET_VIEWPORT_KEY as _0x48ea70,IRenderManagerService as _0x44367d}from'@univerjs/engine-render';import{ISocketService as _0x335f8f,WebSocketService as _0x5d58bc,HTTPService as _0x1f27d8}from'@univerjs/network';import{IDocClipboardService as _0x3efcd1,NodePositionConvertToCursor as _0x574411,NodePositionConvertToRectRange as _0xef86a8,TEXT_RANGE_LAYER_INDEX as _0x176178,SetDocZoomRatioOperation as _0x4d385e,DocIMEInputManagerService as _0x5bf960,DocStateChangeManagerService as _0x49d8ab}from'@univerjs/docs-ui';import{IImageIoService as _0x42abdf}from'@univerjs/drawing';import{BehaviorSubject as _0x5e9239,debounceTime as _0x599c89,takeUntil as _0x1cf044,Subject as _0x59c46a,filter as _0x4a67dc,switchMap as _0x53feff,merge as _0x203614,combineLatest as _0x30dbcf,of as _0x502f32,fromEvent as _0x3f43ac,shareReplay as _0x35fe69,mapTo as _0x1da391,distinctUntilChanged as _0x1ebe47}from'rxjs';import{SetTextSelectionsOperation as _0x1198d0,RichTextEditingMutation as _0xcab175,DocSelectionManagerService as _0x8cb75b,DocSkeletonManagerService as _0x42cef4}from'@univerjs/docs';import{ITransformService as _0x180467,CollaborationEvent as _0x52f964,isTransformMutationFailure as _0x3da689,isTransformMutationsWithChangesetSuccess as _0x281c58,RevisionService as _0x300924,ISnapshotServerService as _0x38517c}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2a774d,serializeRangeWithSheet as _0x3521a8}from'@univerjs/engine-formula';import{RefRangeService as _0x364611,SetSelectionsOperation as _0x208ea6,SheetsSelectionsService as _0x106443,EffectRefRangId as _0x435f2d,handleIRemoveRow as _0x305cff,handleIRemoveCol as _0x12e8f4,handleMoveRange as _0x3aec83,handleInsertRow as _0x3e582b,handleInsertRangeMoveRight as _0x31a981,handleInsertRangeMoveDown as _0x4ed55a,handleInsertCol as _0x38d5d2,handleDeleteRangeMoveUp as _0x27ed8e,handleDeleteRangeMoveLeft as _0x49a68c,runRefRangeMutations as _0x394121,SetWorksheetActivateCommand as _0x234da8}from'@univerjs/sheets';import{map as _0x956ef3,filter as _0x21d323,throttleTime as _0x4f504e,takeUntil as _0x1ea452,switchMap as _0x3898a8}from'rxjs/operators';import{SheetSkeletonManagerService as _0x525f40,getCoordByCell as _0x346f7e,getSheetObject as _0x173752}from'@univerjs/sheets-ui';import{jsx as _0xffaf82,jsxs as _0x66e81a}from'react/jsx-runtime';import{useObservable as _0x1927e2,useDependency as _0x30a989,IUIPartsService as _0x1f9bfc,BuiltInUIPart as _0x489e18,connectInjector as _0x1534c9,IBeforeCloseService as _0x148777,IMessageService as _0x57af2e,INotificationService as _0x9f679f}from'@univerjs/ui';import{clsx as _0x4bd8c1,Tooltip as _0x3905f4,MessageType as _0x22030a}from'@univerjs/design';import{forwardRef as _0xc8dd8f,useRef as _0x1aaa47,createElement as _0x5d87d9,useCallback as _0x2b5d0f}from'react';import{IRemoteInstanceService as _0x135543}from'@univerjs/rpc';var li=Object[_0x233059(0x2c4)],_i=(_0x46a0f4,_0x2605bc,_0xa6de6b,_0x9a6772)=>{const _0x3f8f7b=_0x233059;for(var _0x23c176=_0x9a6772>0x1?void 0x0:_0x9a6772?li(_0x2605bc,_0xa6de6b):_0x2605bc,_0x5aa57c=_0x46a0f4[_0x3f8f7b(0x31d)]-0x1,_0x5e30dd;_0x5aa57c>=0x0;_0x5aa57c--)(_0x5e30dd=_0x46a0f4[_0x5aa57c])&&(_0x23c176=_0x5e30dd(_0x23c176)||_0x23c176);return _0x23c176;},Qe=(_0x55a2c1,_0x4a6801)=>(_0x2f8c30,_0xf993bb)=>_0x4a6801(_0x2f8c30,_0xf993bb,_0x55a2c1);let Me=class extends _0x1fee6d{constructor(_0x2b5285,_0x46d1bc){const _0x2273bd=_0x233059;super(),this[_0x2273bd(0x35d)]=_0x2b5285,this[_0x2273bd(0x2a9)]=_0x46d1bc,this['_init']();}['_init'](){const _0x2a8f08=_0x233059,_0x5aad9a=this;this[_0x2a8f08(0x22d)](this[_0x2a8f08(0x35d)][_0x2a8f08(0x20f)]({'onBeforePasteImage':async _0x4628ea=>{const _0x4cc254=_0x2a8f08,_0x5e5422=await _0x5aad9a[_0x4cc254(0x2a9)][_0x4cc254(0x2a6)](_0x4628ea);return _0x5e5422?{'source':_0x5e5422[_0x4cc254(0x1c8)],'imageSourceType':_0x5e5422['imageSourceType']}:null;}}));}};Me=_i([Qe(0x0,_0x3efcd1),Qe(0x1,_0x42abdf)],Me);const qe=[_0x233059(0x1ec),'jiqing500',_0x233059(0x2e1),_0x233059(0x2cc),_0x233059(0x22e),_0x233059(0x2f6)];class He extends _0x31fe53{constructor(){const _0x110b0c=_0x233059;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x110b0c(0x28f),0x0);}[_0x233059(0x293)](_0x103382){const _0x40652f=_0x233059;if(this[_0x40652f(0x18d)][_0x40652f(0x344)](_0x103382))return this['_assignedColors'][_0x40652f(0x31b)](_0x103382);const _0xe0cb33=qe[this['_colorIndex']];return this[_0x40652f(0x28f)]=(this[_0x40652f(0x28f)]+0x1)%qe['length'],this[_0x40652f(0x18d)][_0x40652f(0x308)](_0x103382,_0xe0cb33),_0xe0cb33;}}function Dt(_0x410905){const _0x49fa2f=_0x233059;let _0x4a07f2='';for(const _0x15d67c of _0x410905){const {startOffset:_0x3efe85,endOffset:_0x22f03f,isActive:_0x11a25d,rangeType:_0x2d2393,segmentId:_0xfa9f6,segmentPage:_0x2178c3}=_0x15d67c;_0x4a07f2[_0x49fa2f(0x31d)]&&(_0x4a07f2+=','),_0x4a07f2+=_0x3efe85+':'+_0x22f03f+':'+(_0x11a25d?'1':'0')+':'+_0x2d2393+':'+_0xfa9f6+':'+_0x2178c3;}return _0x4a07f2;}function hi(_0x414510){const _0x350176=_0x233059,_0x5faa81=_0x414510[_0x350176(0x1e7)](','),_0x447d8e=[];for(const _0x81d4be of _0x5faa81){const [_0x33933a,_0x18246d,_0x1e6507,_0x3c70d1,_0x491d86,_0x5f207d]=_0x81d4be['split'](':');_0x447d8e['push']({'startOffset':Number(_0x33933a),'endOffset':Number(_0x18246d),'collapsed':_0x33933a===_0x18246d,'isActive':_0x1e6507==='1','rangeType':_0x3c70d1===_0x898d1a['TEXT']?_0x898d1a['TEXT']:_0x898d1a[_0x350176(0x2df)],'segmentId':typeof _0x491d86==_0x350176(0x1c1)?String(_0x491d86):'','segmentPage':Number(_0x5f207d!=null?_0x5f207d:-0x1)});}return _0x447d8e[_0x350176(0x1d7)](_0x59c575=>_0x59c575[_0x350176(0x2b6)])||(_0x447d8e[0x0]['isActive']=!0x0),_0x447d8e;}class je extends _0x1fee6d{constructor(){const _0x21497b=_0x233059;super(...arguments),_(this,_0x21497b(0x312),new _0x5e9239(null)),_(this,_0x21497b(0x2f9),this[_0x21497b(0x312)]['asObservable']());}[_0x233059(0x257)](_0x131625){const _0x4e9cee=_0x233059,{unitID:_0x6df5ef,memberID:_0x3a4d16,textRanges:_0x5d1fcf}=_0x131625,_0x1a4251=Dt(_0x5d1fcf);if(_0x1a4251==='')return;const _0x2c2da5={'unitID':_0x6df5ef,'memberID':_0x3a4d16,'selection':_0x1a4251};this['_collabCursorState$'][_0x4e9cee(0x32e)](_0x2c2da5);}}var ui=Object['getOwnPropertyDescriptor'],di=(_0x2a777b,_0x44206b,_0x486b47,_0x13cb7a)=>{const _0x109bd0=_0x233059;for(var _0x22c294=_0x13cb7a>0x1?void 0x0:_0x13cb7a?ui(_0x44206b,_0x486b47):_0x44206b,_0x531dd1=_0x2a777b[_0x109bd0(0x31d)]-0x1,_0x271d9f;_0x531dd1>=0x0;_0x531dd1--)(_0x271d9f=_0x2a777b[_0x531dd1])&&(_0x22c294=_0x271d9f(_0x22c294)||_0x22c294);return _0x22c294;},U=(_0x272c21,_0x5a7536)=>(_0x4e2c98,_0x10415d)=>_0x5a7536(_0x4e2c98,_0x10415d,_0x272c21);const fi=0x12c,Si=0x64;let Pe=class extends _0x1fee6d{constructor(_0x42416e,_0x52e441,_0x3edb46,_0x3e5fbe,_0x4bdd74,_0x44a84b,_0x497bca,_0x4bdb9a,_0x48ac4d){const _0x9b9393=_0x233059;super(),_(this,_0x9b9393(0x21a),!0x1),_(this,_0x9b9393(0x1e6),!0x1),_(this,'_cursorInfo$',new _0x5e9239(new Map())),_(this,_0x9b9393(0x254),this[_0x9b9393(0x20b)]['asObservable']()),_(this,_0x9b9393(0x2c9),new _0x5e9239([])),_(this,_0x9b9393(0x25d),this[_0x9b9393(0x2c9)][_0x9b9393(0x313)](_0x599c89(fi))),_(this,_0x9b9393(0x18b),_0x1314d0(_0x212c30=>{const _0x9ee943=_0x9b9393,_0xe82b7c={'eventID':_0x52f964[_0x9ee943(0x263)],'data':{'unitID':this[_0x9ee943(0x2f0)],'memberID':this['_session'][_0x9ee943(0x1d3)](),'selection':Dt(_0x212c30)}};this[_0x9ee943(0x2fd)]['send'](_0xe82b7c,this[_0x9ee943(0x2f0)]);},Si)),(this[_0x9b9393(0x2f0)]=_0x42416e,this['_session']=_0x52e441,this['_injector']=_0x3edb46,this[_0x9b9393(0x1d0)]=_0x3e5fbe,this['_memberService']=_0x4bdd74,this[_0x9b9393(0x265)]=_0x44a84b,this[_0x9b9393(0x310)]=_0x497bca,this[_0x9b9393(0x278)]=_0x4bdb9a,this['_commandService']=_0x48ac4d);}get[_0x233059(0x284)](){const _0x59f567=_0x233059;return this[_0x59f567(0x20b)][_0x59f567(0x1b1)]();}get[_0x233059(0x276)](){const _0x37919e=_0x233059;return this[_0x37919e(0x2c9)]['getValue']();}[_0x233059(0x2a5)](){const _0xb9bfe7=_0x233059;super[_0xb9bfe7(0x2a5)](),this[_0xb9bfe7(0x20b)][_0xb9bfe7(0x32e)](new Map()),this[_0xb9bfe7(0x20b)][_0xb9bfe7(0x314)](),this[_0xb9bfe7(0x2c9)][_0xb9bfe7(0x32e)]([]),this[_0xb9bfe7(0x2c9)][_0xb9bfe7(0x314)]();}['init'](){const _0xee8f30=_0x233059;this[_0xee8f30(0x1e6)]||(this[_0xee8f30(0x1e6)]=!0x0,this[_0xee8f30(0x2fd)][_0xee8f30(0x233)]['pipe'](_0x1cf044(this[_0xee8f30(0x348)]))['subscribe'](_0x6b502=>{const _0x5279e6=_0xee8f30;_0x6b502===_0x343a1b[_0x5279e6(0x2ea)]?this['_toggleOnline']():this[_0x5279e6(0x268)]();}),this[_0xee8f30(0x2fd)][_0xee8f30(0x1e8)][_0xee8f30(0x313)](_0x1cf044(this[_0xee8f30(0x348)]))[_0xee8f30(0x1d2)](_0x1da3fd=>{const _0xbcb307=_0xee8f30,_0x683e8e=_0x1da3fd[_0xbcb307(0x208)];_0x683e8e===_0x52f964['UPDATE_CURSOR']&&this[_0xbcb307(0x341)](_0x1da3fd),_0x683e8e===_0x52f964['USERS_LEAVE']&&this[_0xbcb307(0x2e8)](_0x1da3fd);}),this[_0xee8f30(0x22d)](this[_0xee8f30(0x191)][_0xee8f30(0x31c)](_0x2b2960=>{const _0x241561=_0xee8f30,_0x3fa345=_0x2b2960[_0x241561(0x319)];_0x3fa345!=null&&this[_0x241561(0x21a)]&&_0x2b2960['id']===_0x1198d0['id']&&_0x3fa345[_0x241561(0x366)]===this[_0x241561(0x2f0)]&&_0x3fa345[_0x241561(0x35c)]===!0x1&&_0x3fa345[_0x241561(0x277)][_0x241561(0x31d)]>0x0&&this[_0x241561(0x18b)](_0x3fa345[_0x241561(0x277)]);})),this[_0xee8f30(0x265)][_0xee8f30(0x2f9)][_0xee8f30(0x313)](_0x1cf044(this[_0xee8f30(0x348)]))[_0xee8f30(0x1d2)](_0x7600e9=>{const _0x52c55c=_0xee8f30;if((_0x7600e9==null?void 0x0:_0x7600e9[_0x52c55c(0x2f0)])!==this['unitID'])return;const _0x3e68b0={'eventID':_0x52f964[_0x52c55c(0x263)],'data':_0x7600e9};this[_0x52c55c(0x341)](_0x3e68b0);}),this[_0xee8f30(0x22d)](this[_0xee8f30(0x191)][_0xee8f30(0x31c)](_0x366bd1=>{const _0x348967=_0xee8f30;if(_0x366bd1[_0x348967(0x319)]==null)return;const _0x3318d5=_0x366bd1[_0x348967(0x319)];if(_0x366bd1['id']!==_0xcab175['id']||_0x3318d5[_0x348967(0x366)]!==this['unitID'])return;const _0x2363ed={'id':_0x348967(0x243),'params':_0x3318d5},_0x34462e=this['cursorInfo'];for(const [_0x3adc41,_0x17f25a]of _0x34462e){const _0x47b746={'id':_0x348967(0x243),'params':{'unitId':this[_0x348967(0x2f0)],'actions':null,'textRanges':_0x17f25a[_0x348967(0x277)]}},_0xa647a6=this[_0x348967(0x310)][_0x348967(0x281)](_0x2363ed,_0x47b746,!0x1);if(_0x3da689(_0xa647a6))throw _0xa647a6['error'];_0x34462e[_0x348967(0x308)](_0x3adc41,{..._0x17f25a,'ranges':_0xa647a6[_0x348967(0x269)]['params'][_0x348967(0x370)]});}queueMicrotask(()=>{const _0x360bdb=_0x348967;this[_0x360bdb(0x20b)][_0x360bdb(0x32e)](_0x34462e);});})));}[_0x233059(0x341)](_0x2d65cd){const _0x2cf3bb=_0x233059;var _0x13b3cf,_0x1530a8;const {memberID:_0x44fc68,selection:_0x570c96}=_0x2d65cd['data'],_0x21e3e8=hi(_0x570c96),_0x5e69f8=(_0x1530a8=(_0x13b3cf=this['_memberService'][_0x2cf3bb(0x287)](this[_0x2cf3bb(0x2f0)],_0x44fc68))==null?void 0x0:_0x13b3cf[_0x2cf3bb(0x1fa)])!=null?_0x1530a8:_0x2cf3bb(0x2f3),_0x2abd31={'color':this[_0x2cf3bb(0x1d0)][_0x2cf3bb(0x293)](_0x44fc68),'name':_0x5e69f8,'ranges':_0x21e3e8},_0x1e23f0=this['cursorInfo'];_0x1e23f0[_0x2cf3bb(0x308)](_0x44fc68,_0x2abd31),this[_0x2cf3bb(0x20b)][_0x2cf3bb(0x32e)](_0x1e23f0);}[_0x233059(0x2e8)](_0xc957f7){const _0x541c8e=_0x233059,{memberID:_0x6ac2d8}=_0xc957f7[_0x541c8e(0x2d6)],_0x2084aa=this[_0x541c8e(0x284)];_0x2084aa[_0x541c8e(0x224)](_0x6ac2d8),this[_0x541c8e(0x20b)][_0x541c8e(0x32e)](_0x2084aa);}[_0x233059(0x2e4)](){const _0x207b95=_0x233059;var _0x412020;if(this[_0x207b95(0x21a)]=!0x0,((_0x412020=this[_0x207b95(0x278)][_0x207b95(0x24d)]())==null?void 0x0:_0x412020[_0x207b95(0x2ae)]())!==this['unitID'])return;const _0x50f9f3=this['_injector'][_0x207b95(0x31b)](_0x8cb75b)[_0x207b95(0x365)]();Array[_0x207b95(0x1e5)](_0x50f9f3)&&_0x50f9f3[_0x207b95(0x31d)]>0x0&&this[_0x207b95(0x18b)](_0x50f9f3);}[_0x233059(0x268)](){const _0x1e919f=_0x233059;this[_0x1e919f(0x21a)]=!0x1;}};Pe=di([U(0x2,_0x58958f(_0x17fcfa)),U(0x3,_0x58958f(He)),U(0x4,_0x58958f(_0x1e5c75)),U(0x5,_0x58958f(je)),U(0x6,_0x180467),U(0x7,_0x43c917),U(0x8,_0x4bcb08)],Pe);var mi=Object[_0x233059(0x2c4)],gi=(_0x1669eb,_0x4c99cb,_0x38a37a,_0x48f689)=>{const _0xb546ca=_0x233059;for(var _0x3453c0=_0x48f689>0x1?void 0x0:_0x48f689?mi(_0x4c99cb,_0x38a37a):_0x4c99cb,_0x52ae78=_0x1669eb[_0xb546ca(0x31d)]-0x1,_0x53caa7;_0x52ae78>=0x0;_0x52ae78--)(_0x53caa7=_0x1669eb[_0x52ae78])&&(_0x3453c0=_0x53caa7(_0x3453c0)||_0x3453c0);return _0x3453c0;},x=(_0x5804a3,_0x391779)=>(_0x476ab3,_0x22aff4)=>_0x391779(_0x476ab3,_0x22aff4,_0x5804a3);const vi=0x12c,Ii=0x64,pi=()=>{let _0x2f75b3=[],_0x541901=!0x1;return _0x39f485=>{_0x2f75b3['push'](_0x39f485),_0x541901||(_0x541901=!0x0,setTimeout(()=>{const _0x5f1e2c=_0x3372;_0x2f75b3[_0x5f1e2c(0x2cb)](_0x49bee6=>_0x49bee6()),_0x2f75b3=[],_0x541901=!0x1;}));};};let we=class extends _0x1fee6d{constructor(_0xcfb5a,_0x5bf341,_0x4700bc,_0x54fb48,_0xbbb0c6,_0xbd2cd1,_0x2a8df1,_0x55ae0d){const _0x2cfefe=_0x233059;super(),_(this,_0x2cfefe(0x21a),!0x1),_(this,_0x2cfefe(0x1e6),!0x1),_(this,_0x2cfefe(0x20b),new _0x5e9239(new Map())),_(this,_0x2cfefe(0x254),this[_0x2cfefe(0x20b)][_0x2cfefe(0x2a1)]()),_(this,_0x2cfefe(0x2c9),new _0x5e9239([])),_(this,_0x2cfefe(0x25d),this[_0x2cfefe(0x2c9)][_0x2cfefe(0x313)](_0x599c89(vi))),_(this,'_updateLocalCursor',_0x1314d0((_0x5f3c19,_0x27292f)=>{const _0x4d3ee6=_0x2cfefe,_0x2967c0={'eventID':_0x52f964[_0x4d3ee6(0x263)],'data':{'unitID':this[_0x4d3ee6(0x2f0)],'memberID':this[_0x4d3ee6(0x2fd)]['getMemberID'](),'selection':_0x3521a8(_0x5f3c19,_0x27292f[_0x4d3ee6(0x292)])}};this[_0x4d3ee6(0x2fd)][_0x4d3ee6(0x23c)](_0x2967c0,this[_0x4d3ee6(0x2f0)]);},Ii)),(this['unitID']=_0xcfb5a,this['_session']=_0x5bf341,this[_0x2cfefe(0x1bb)]=_0x4700bc,this['_colorAssignService']=_0x54fb48,this['_memberService']=_0xbbb0c6,this[_0x2cfefe(0x278)]=_0xbd2cd1,this['_commandService']=_0x2a8df1,this[_0x2cfefe(0x25c)]=_0x55ae0d);}get[_0x233059(0x284)](){const _0x3d892d=_0x233059;return this[_0x3d892d(0x20b)]['getValue']();}get[_0x233059(0x276)](){const _0x6a4cbd=_0x233059;return this[_0x6a4cbd(0x2c9)]['getValue']();}[_0x233059(0x2a5)](){const _0x183ebc=_0x233059;super[_0x183ebc(0x2a5)](),this['_cursorInfo$'][_0x183ebc(0x32e)](new Map()),this[_0x183ebc(0x20b)][_0x183ebc(0x314)](),this[_0x183ebc(0x2c9)][_0x183ebc(0x32e)]([]),this[_0x183ebc(0x2c9)][_0x183ebc(0x314)]();}[_0x233059(0x18c)](){const _0x47576f=_0x233059;this['_init']||(this[_0x47576f(0x1e6)]=!0x0,this[_0x47576f(0x2fd)]['sessionStatus$'][_0x47576f(0x313)](_0x1cf044(this[_0x47576f(0x348)]))[_0x47576f(0x1d2)](_0x59d209=>{const _0x18e649=_0x47576f;_0x59d209===_0x343a1b[_0x18e649(0x2ea)]?this[_0x18e649(0x2e4)]():this[_0x18e649(0x268)]();}),this['_session'][_0x47576f(0x1e8)][_0x47576f(0x313)](_0x1cf044(this[_0x47576f(0x348)]))[_0x47576f(0x1d2)](_0x4e9bb1=>{const _0x106f06=_0x47576f,_0x5b6964=_0x4e9bb1[_0x106f06(0x208)];_0x5b6964===_0x52f964[_0x106f06(0x263)]&&this[_0x106f06(0x341)](_0x4e9bb1),_0x5b6964===_0x52f964[_0x106f06(0x345)]&&this[_0x106f06(0x2e8)](_0x4e9bb1);}),this[_0x47576f(0x20c)](),this[_0x47576f(0x22d)](this[_0x47576f(0x191)][_0x47576f(0x31c)](_0x2b60b7=>{const _0x544636=_0x47576f;if(this[_0x544636(0x21a)]&&_0x2b60b7['id']===_0x208ea6['id']&&_0x2b60b7[_0x544636(0x319)][_0x544636(0x366)]===this[_0x544636(0x2f0)]){const _0x2165e7=_0x2b60b7[_0x544636(0x319)];this[_0x544636(0x18b)](_0x2165e7[_0x544636(0x1e1)],_0x2165e7['selections'][0x0]);}})));}[_0x233059(0x341)](_0x32133d){const _0x5edd3=_0x233059;var _0xbcc673,_0x16490d;const {memberID:_0x1e8d71,selection:_0x2f23d9}=_0x32133d[_0x5edd3(0x2d6)],{sheetName:_0x4742c9,range:_0x5c63b5}=_0x2a774d(_0x2f23d9),_0x14f11={'name':(_0x16490d=(_0xbcc673=this['_memberService'][_0x5edd3(0x287)](this[_0x5edd3(0x2f0)],_0x1e8d71))==null?void 0x0:_0xbcc673[_0x5edd3(0x1fa)])!=null?_0x16490d:_0x5edd3(0x2f3),'range':this[_0x5edd3(0x200)](_0x4742c9,_0x5c63b5),'sheetID':_0x4742c9,'color':this[_0x5edd3(0x1d0)][_0x5edd3(0x293)](_0x1e8d71),'selection':_0x2f23d9},_0x10237b=this[_0x5edd3(0x284)];_0x10237b['set'](_0x1e8d71,_0x14f11),this[_0x5edd3(0x20b)][_0x5edd3(0x32e)](_0x10237b);}['_onCursorDelete'](_0x5d9bf7){const _0x45a395=_0x233059,{memberID:_0x4f5e86}=_0x5d9bf7[_0x45a395(0x2d6)],_0x5bab80=this[_0x45a395(0x284)];_0x5bab80[_0x45a395(0x224)](_0x4f5e86),this[_0x45a395(0x20b)][_0x45a395(0x32e)](_0x5bab80);}[_0x233059(0x200)](_0x2a206b,_0x1d2493){const _0x1c230b=_0x233059;var _0x2e556d,_0x56e420;const _0x424549=(_0x56e420=(_0x2e556d=this[_0x1c230b(0x278)]['getUniverSheetInstance'](this[_0x1c230b(0x2f0)]))==null?void 0x0:_0x2e556d[_0x1c230b(0x296)](_0x2a206b))==null?void 0x0:_0x56e420[_0x1c230b(0x330)]();return(_0x424549==null?void 0x0:_0x424549[_0x1c230b(0x1da)](_0x173937=>_0x186ea8[_0x1c230b(0x1ac)](_0x173937,_0x1d2493)))||_0x1d2493;}[_0x233059(0x20c)](){const _0x37be1e=_0x233059,_0x495ba9=new _0x165b50(),_0x411b82=pi(),_0x61c28=()=>{const _0x319190=_0x3372;_0x495ba9[_0x319190(0x2a5)]();const _0x228ad4=(_0x155028,_0x457258,_0x3e241a,_0x53dbfd)=>{const _0x44c577=_0x319190;let _0x4f8cf9=[];switch(_0x155028['id']){case _0x435f2d[_0x44c577(0x218)]:{_0x4f8cf9=_0x49a68c(_0x155028,_0x53dbfd);break;}case _0x435f2d['DeleteRangeMoveUpCommandId']:{_0x4f8cf9=_0x27ed8e(_0x155028,_0x53dbfd);break;}case _0x435f2d['InsertColCommandId']:{_0x4f8cf9=_0x38d5d2(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x346)]:{_0x4f8cf9=_0x4ed55a(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x288)]:{_0x4f8cf9=_0x31a981(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x253)]:{_0x4f8cf9=_0x3e582b(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x19a)]:{_0x4f8cf9=_0x3aec83(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x1ea)]:{_0x4f8cf9=_0x12e8f4(_0x155028,_0x53dbfd);break;}case _0x435f2d[_0x44c577(0x30d)]:{_0x4f8cf9=_0x305cff(_0x155028,_0x53dbfd);break;}}const _0x339c58=_0x394121(_0x4f8cf9,_0x53dbfd),_0x28ec80=this[_0x44c577(0x284)]['get'](_0x457258);if(_0x28ec80&&_0x339c58){const _0x1708fa={..._0x28ec80,'range':_0x339c58};this[_0x44c577(0x284)]['set'](_0x457258,_0x1708fa),_0x411b82(()=>{const _0x5997e3=_0x44c577,_0x33f337=this[_0x5997e3(0x25c)][_0x5997e3(0x355)](_0x339c58,_0x385f5c=>(_0x33f337[_0x5997e3(0x2a5)](),_0x228ad4(_0x385f5c,_0x457258,_0x3e241a,_0x339c58)));_0x495ba9['add'](_0x33f337);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x319190(0x2cb)]((_0x5c9459,_0x3942ef)=>{const _0xc9decf=_0x319190,{range:_0x47bf84,sheetID:_0xea8c5a}=_0x5c9459,_0x4fe64a=this[_0xc9decf(0x25c)][_0xc9decf(0x355)](_0x47bf84,_0x1e4f0d=>(_0x4fe64a[_0xc9decf(0x2a5)](),_0x228ad4(_0x1e4f0d,_0x3942ef,_0xea8c5a,_0x47bf84)));_0x495ba9[_0xc9decf(0x1f9)](_0x4fe64a);});};this[_0x37be1e(0x22d)](_0x2a94ec(this[_0x37be1e(0x20b)][_0x37be1e(0x1d2)](()=>{_0x61c28();})));}[_0x233059(0x2e4)](){const _0x426154=_0x233059;var _0x3d649d,_0x54465d;if(this[_0x426154(0x21a)]=!0x0,((_0x3d649d=this[_0x426154(0x278)][_0x426154(0x24d)]())==null?void 0x0:_0x3d649d[_0x426154(0x2ae)]())!==this[_0x426154(0x2f0)])return;const _0x30bba6=(_0x54465d=this[_0x426154(0x1bb)]['get'](_0x106443)['getCurrentSelections']())==null?void 0x0:_0x54465d[0x0],_0x5bd909=this[_0x426154(0x278)][_0x426154(0x1db)](_0x7df75b['UNIVER_SHEET'])['getActiveSheet']();_0x30bba6&&_0x5bd909&&this[_0x426154(0x18b)](_0x5bd909[_0x426154(0x2fb)](),_0x30bba6);}['_toggleOffline'](){const _0x337c48=_0x233059;this[_0x337c48(0x21a)]=!0x1;}};we=gi([x(0x2,_0x58958f(_0x17fcfa)),x(0x3,_0x58958f(He)),x(0x4,_0x58958f(_0x1e5c75)),x(0x5,_0x43c917),x(0x6,_0x4bcb08),x(0x7,_0x58958f(_0x364611))],we);var Ci=Object['getOwnPropertyDescriptor'],Ei=(_0x2cf101,_0x52e473,_0x565d41,_0x33afe3)=>{const _0x402dff=_0x233059;for(var _0x160b29=_0x33afe3>0x1?void 0x0:_0x33afe3?Ci(_0x52e473,_0x565d41):_0x52e473,_0x20fc94=_0x2cf101[_0x402dff(0x31d)]-0x1,_0x2aa984;_0x20fc94>=0x0;_0x20fc94--)(_0x2aa984=_0x2cf101[_0x20fc94])&&(_0x160b29=_0x2aa984(_0x160b29)||_0x160b29);return _0x160b29;},me=(_0x30ca5a,_0x405381)=>(_0x43c5e2,_0x4a26de)=>_0x405381(_0x43c5e2,_0x4a26de,_0x30ca5a);let H=class extends _0x1fee6d{constructor(_0x446d9b,_0x3775a8,_0x803c12){const _0x136588=_0x233059;super(),_(this,_0x136588(0x1a0),new Map()),_(this,_0x136588(0x282),new _0x59c46a()),(this[_0x136588(0x278)]=_0x446d9b,this[_0x136588(0x1bb)]=_0x3775a8,this['_collabSessionService']=_0x803c12,this[_0x136588(0x1e6)]());}[_0x233059(0x2a5)](){const _0x45184c=_0x233059;super[_0x45184c(0x2a5)](),this[_0x45184c(0x282)][_0x45184c(0x314)](),this[_0x45184c(0x1a0)][_0x45184c(0x2cb)](_0x421e59=>_0x421e59[_0x45184c(0x2a5)]());}[_0x233059(0x26f)](_0x2a075a){const _0x30d948=_0x233059;return this[_0x30d948(0x1a0)][_0x30d948(0x344)](_0x2a075a)?this[_0x30d948(0x1a0)]['get'](_0x2a075a)[_0x30d948(0x254)]:this[_0x30d948(0x282)][_0x30d948(0x313)](_0x4a67dc(_0x5f343c=>_0x5f343c[_0x30d948(0x2f0)]===_0x2a075a),_0x53feff(_0x4b2094=>_0x4b2094[_0x30d948(0x254)]));}[_0x233059(0x1e6)](){const _0x191e94=_0x233059;this[_0x191e94(0x278)]['getTypeOfUnitAdded$'](_0x7df75b[_0x191e94(0x247)])[_0x191e94(0x313)](_0x1cf044(this[_0x191e94(0x348)]))['subscribe'](async _0xe1ee86=>{const _0x26c5b5=_0x191e94,_0x10d1b2=_0xe1ee86['getUnitId'](),_0x12d5e6=await this['_startSheetCollabCursor'](_0x10d1b2);this[_0x26c5b5(0x282)]['next'](_0x12d5e6),this['_entities'][_0x26c5b5(0x308)](_0x10d1b2,_0x12d5e6);}),this[_0x191e94(0x278)][_0x191e94(0x317)](_0x7df75b[_0x191e94(0x35e)])[_0x191e94(0x313)](_0x1cf044(this[_0x191e94(0x348)]))[_0x191e94(0x313)](_0x4a67dc(_0x1fd3c0=>!_0x1fd3c0['getUnitId']()[_0x191e94(0x31f)]('__')))[_0x191e94(0x1d2)](async _0x5c6589=>{const _0x15d2d0=_0x191e94,_0x10a199=_0x5c6589[_0x15d2d0(0x2ae)](),_0x32cc1b=await this[_0x15d2d0(0x327)](_0x10a199);this['_entityInit$'][_0x15d2d0(0x32e)](_0x32cc1b),this[_0x15d2d0(0x1a0)]['set'](_0x10a199,_0x32cc1b);}),_0x203614(this[_0x191e94(0x278)][_0x191e94(0x28d)](_0x7df75b[_0x191e94(0x35e)]),this['_univerInstanceService'][_0x191e94(0x28d)](_0x7df75b[_0x191e94(0x247)]))['pipe'](_0x1cf044(this[_0x191e94(0x348)]))[_0x191e94(0x1d2)](_0x312433=>{const _0x5e50e9=_0x191e94,_0x396b82=_0x312433[_0x5e50e9(0x2ae)](),_0x3449cc=this[_0x5e50e9(0x1a0)][_0x5e50e9(0x31b)](_0x396b82);_0x3449cc&&(_0x3449cc['dispose'](),this[_0x5e50e9(0x1a0)][_0x5e50e9(0x224)](_0x396b82));});}async[_0x233059(0x36e)](_0x1bb261){const _0x560328=_0x233059,_0x528625=await this[_0x560328(0x336)]['requireSession'](_0x1bb261),_0x145f76=this[_0x560328(0x1bb)][_0x560328(0x1ab)](we,_0x1bb261,_0x528625);return _0x145f76[_0x560328(0x18c)](),_0x145f76;}async[_0x233059(0x327)](_0x5ce99b){const _0x182e08=_0x233059,_0x4b36be=await this[_0x182e08(0x336)]['requireSession'](_0x5ce99b),_0x528fc5=this[_0x182e08(0x1bb)][_0x182e08(0x1ab)](Pe,_0x5ce99b,_0x4b36be);return _0x528fc5[_0x182e08(0x18c)](),_0x528fc5;}};H=Ei([me(0x0,_0x43c917),me(0x1,_0x58958f(_0x17fcfa)),me(0x2,_0x58958f(_0xc812a))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x13d13f,_0x196ce6){const _0x505a2d=_0x233059;let {radius:_0x3d0a28,width:_0x17e7db,height:_0x1a209b}=_0x196ce6;_0x3d0a28=_0x3d0a28!=null?_0x3d0a28:0x0,_0x17e7db=_0x17e7db!=null?_0x17e7db:0x1e,_0x1a209b=_0x1a209b!=null?_0x1a209b:0x1e;let _0x1d0eb1=0x0,_0x124e7b=0x0,_0x1e00ea=0x0;_0x1d0eb1=_0x124e7b=_0x1e00ea=Math[_0x505a2d(0x22f)](_0x3d0a28,_0x17e7db/0x2,_0x1a209b/0x2),_0x13d13f[_0x505a2d(0x264)](),_0x13d13f['moveTo'](_0x1d0eb1,0x0),_0x13d13f[_0x505a2d(0x1b6)](_0x17e7db-_0x124e7b,0x0),_0x13d13f['arc'](_0x17e7db-_0x124e7b,_0x124e7b,_0x124e7b,Math['PI']*0x3/0x2,0x0,!0x1),_0x13d13f[_0x505a2d(0x1b6)](_0x17e7db,_0x1a209b-_0x1e00ea),_0x13d13f['arc'](_0x17e7db-_0x1e00ea,_0x1a209b-_0x1e00ea,_0x1e00ea,0x0,Math['PI']/0x2,!0x1),_0x13d13f[_0x505a2d(0x1b6)](0x0,_0x1a209b),_0x13d13f[_0x505a2d(0x1b6)](0x0,_0x1d0eb1),_0x13d13f[_0x505a2d(0x266)](_0x1d0eb1,_0x1d0eb1,_0x1d0eb1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x13d13f['closePath'](),_0x196ce6[_0x505a2d(0x369)]&&(_0x13d13f['save'](),_0x13d13f[_0x505a2d(0x21d)]=_0x196ce6[_0x505a2d(0x369)],_0x196ce6[_0x505a2d(0x31e)]==='evenodd'?_0x13d13f[_0x505a2d(0x369)]('evenodd'):_0x13d13f[_0x505a2d(0x369)](),_0x13d13f[_0x505a2d(0x30f)]());}function _0x3372(_0x51ea87,_0x4d302b){const _0x4df561=_0x4df5();return _0x3372=function(_0x337234,_0x27f92d){_0x337234=_0x337234-0x182;let _0x16810b=_0x4df561[_0x337234];return _0x16810b;},_0x3372(_0x51ea87,_0x4d302b);}class ue extends _0x12860c{constructor(_0x131505,_0x16999a){const _0x3c1125=_0x233059;super(_0x131505,_0x16999a),_(this,_0x3c1125(0x1df)),_(this,'text'),(this[_0x3c1125(0x1df)]=_0x16999a==null?void 0x0:_0x16999a[_0x3c1125(0x1df)],this[_0x3c1125(0x24c)]=_0x16999a==null?void 0x0:_0x16999a[_0x3c1125(0x24c)]);}static['drawWith'](_0xbcef83,_0x494435){const _0x3eeba9=_0x233059,{text:_0x57a634,color:_0x208b0c}=_0x494435;_0xbcef83[_0x3eeba9(0x2be)](),_0xbcef83[_0x3eeba9(0x23f)]=_0x3eeba9(0x2b2);const _0x26b410=_0xbcef83[_0x3eeba9(0x362)](_0x57a634)['width'],_0x239601=Math['min'](_0x26b410+0x2*ge,et);Oi(_0xbcef83,{'height':te,'radius':0x4,'width':_0x239601,'fill':_0x208b0c}),_0xbcef83['fillStyle']=_0x3eeba9(0x32a);const _0x3a02db=ge,_0x17d55c=te-bi,_0x444733=et-0x2*ge;if(_0x26b410>_0x444733){let _0x4478a9='',_0x47f9ba=0x0;for(const _0x414c01 of _0x57a634){const _0x35bb98=_0xbcef83[_0x3eeba9(0x362)](_0x414c01)[_0x3eeba9(0x1be)];if(_0x47f9ba+_0x35bb98<=_0x444733-_0xbcef83[_0x3eeba9(0x362)](_0x3eeba9(0x2ec))[_0x3eeba9(0x1be)])_0x4478a9+=_0x414c01,_0x47f9ba+=_0x35bb98;else{_0x4478a9+=_0x3eeba9(0x2ec);break;}}_0xbcef83['fillText'](_0x4478a9,_0x3a02db,_0x17d55c);}else _0xbcef83[_0x3eeba9(0x228)](_0x57a634,_0x3a02db,_0x17d55c);_0xbcef83['restore']();}[_0x233059(0x306)](_0x56b896){const _0x1dc7e3=_0x233059;ue[_0x1dc7e3(0x230)](_0x56b896,this);}}const ve=_0x233059(0x275),Ti=_0x233059(0x33d),Ri=_0x233059(0x1ad),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi='rgba(255,\x20255,\x20255,\x200.01)';class tt{constructor(_0x33e74d,_0x55273a,_0x3615a7,_0xaf4f9a){const _0x533227=_0x233059;_(this,_0x533227(0x225),[]),_(this,_0x533227(0x1cc),null),_(this,_0x533227(0x27d),null),_(this,_0x533227(0x2f4),null),_(this,_0x533227(0x350),null),_(this,_0x533227(0x182),null),(this[_0x533227(0x299)]=_0x33e74d,this[_0x533227(0x186)]=_0x55273a,this[_0x533227(0x320)]=_0x3615a7,this[_0x533227(0x2a8)]=_0xaf4f9a,this[_0x533227(0x206)]());}set[_0x233059(0x2b5)](_0x4a62f4){const _0x2c1144=_0x233059;_0x4a62f4?(this['_anchorDot']&&this[_0x2c1144(0x2f4)]['hide'](),this[_0x2c1144(0x27d)]&&this[_0x2c1144(0x27d)][_0x2c1144(0x2b8)]()):(this[_0x2c1144(0x2f4)]&&this[_0x2c1144(0x2f4)][_0x2c1144(0x2b8)](),this[_0x2c1144(0x27d)]&&this[_0x2c1144(0x27d)][_0x2c1144(0x1a9)]());}[_0x233059(0x2a5)](){const _0x1d351f=_0x233059;for(const _0x3e669d of this[_0x1d351f(0x225)])_0x3e669d['dispose']();this[_0x1d351f(0x27d)]&&this[_0x1d351f(0x27d)]['dispose'](),this['_anchorDot']&&this[_0x1d351f(0x2f4)][_0x1d351f(0x2a5)](),this[_0x1d351f(0x1cc)]&&this['_anchor'][_0x1d351f(0x2a5)](),this[_0x1d351f(0x182)]&&this['_eventUnsubscribe']();}[_0x233059(0x206)](){const _0x343770=_0x233059;var _0x2c10f7;const {_docSkeleton:_0x115f68,_document:_0xdcdcd6}=this,{color:_0x1950da,name:_0xd5bfe5,ranges:_0x684ad2}=this[_0x343770(0x299)],_0xdb1caf=_0xdcdcd6[_0x343770(0x27b)](),{docsLeft:_0x542e73,docsTop:_0x3e3380}=_0xdb1caf,_0x1b123f=new _0x574411(_0xdb1caf,_0x115f68);for(const {startOffset:_0x46b963,endOffset:_0x37cd44,rangeType:_0x549c4f,segmentId:_0x4217c1,segmentPage:_0x58234e,collapsed:_0xfef17e,isActive:_0x3add}of _0x684ad2){const _0x4d80a3=_0x115f68[_0x343770(0x359)](_0x46b963,!0x0,_0x4217c1,_0x58234e);let _0x2ca364=_0x115f68['findNodePositionByCharIndex'](_0x37cd44,!0x0,_0x4217c1,_0x58234e);if(_0x2ca364==null&&(_0x2ca364=_0x115f68[_0x343770(0x359)](_0x37cd44-0x1,!0x1,_0x4217c1,_0x58234e)),_0x3add){const {contentBoxPointGroup:_0x4cc964}=_0x1b123f[_0x343770(0x29b)](_0x2ca364,_0x2ca364);if(_0x4cc964['length']===0x0)continue;this[_0x343770(0x2d8)](_0x1950da,_0x4cc964,_0x542e73,_0x3e3380,_0xd5bfe5),this[_0x343770(0x182)]=this['_handleHover']();}if(_0x4d80a3&&_0x2ca364){if(_0x549c4f===_0x898d1a[_0x343770(0x2df)]){const _0x5aa160=new _0xef86a8(_0xdb1caf,_0x115f68),{pointGroup:_0x4faecb}=(_0x2c10f7=_0x5aa160[_0x343770(0x29b)](_0x4d80a3,_0x2ca364))!=null?_0x2c10f7:{};if(_0x4faecb==null||_0x4faecb[_0x343770(0x31d)]===0x0)continue;this[_0x343770(0x197)](_0x1950da,_0x4faecb,_0x542e73,_0x3e3380);}else{if(!_0xfef17e){const {borderBoxPointGroup:_0x44b406}=_0x1b123f[_0x343770(0x29b)](_0x4d80a3,_0x2ca364);if(_0x44b406[_0x343770(0x31d)]===0x0)continue;this[_0x343770(0x212)](_0x1950da,_0x44b406,_0x542e73,_0x3e3380);}}}}}['_drawAnchor'](_0x2ea508,_0x2dd443,_0x784a23,_0x5c8534,_0x519a28){const _0x4c3298=_0x233059,_0x6633d=this[_0x4c3298(0x2d3)](_0x2dd443),{left:_0x41771b,top:_0x40501b,height:_0x2eb71a}=_0x6633d,_0x297a15=this[_0x4c3298(0x33b)](),_0x24f5f2=Ni/_0x297a15,_0x3e5f76=new _0x4d3b6b(ve+_0xa39a85[_0x4c3298(0x193)](X),{'left':_0x41771b+_0x784a23-_0x24f5f2,'top':_0x40501b+_0x5c8534,'height':_0x2eb71a,'width':Di,'fill':_0x2ea508||_0x82eb7d(_0x2dfef9[_0x4c3298(0x229)],0x0),'strokeWidth':_0x24f5f2,'stroke':Mi,'evented':!0x0});this[_0x4c3298(0x1cc)]=_0x3e5f76,this[_0x4c3298(0x186)][_0x4c3298(0x21b)](_0x3e5f76,_0x176178);const _0x457f88=new _0x4d3b6b(ve+_0xa39a85[_0x4c3298(0x193)](X),{'left':_0x41771b+_0x784a23-_0x24f5f2,'top':_0x40501b+_0x5c8534-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2ea508||_0x82eb7d(_0x2dfef9[_0x4c3298(0x229)],0x0),'strokeWidth':0x0,'stroke':_0x2ea508||_0x82eb7d(_0x2dfef9[_0x4c3298(0x229)],0x0),'evented':!0x1});this[_0x4c3298(0x2f4)]=_0x457f88,this['_scene'][_0x4c3298(0x21b)](_0x457f88,_0x176178);const _0x1a6cc5=new ue(ve+_0xa39a85['generateRandomId'](X),{'left':_0x41771b+_0x784a23-_0x24f5f2,'top':_0x40501b+_0x5c8534-te,'text':_0x519a28,'color':_0x2ea508});this[_0x4c3298(0x27d)]=_0x1a6cc5,this[_0x4c3298(0x186)][_0x4c3298(0x21b)](_0x1a6cc5,_0x176178),this[_0x4c3298(0x2b5)]=!0x1;}[_0x233059(0x343)](){const _0x166022=_0x233059,_0x84c76f=this[_0x166022(0x1cc)][_0x166022(0x2b3)][_0x166022(0x203)](()=>{const _0x630cb9=_0x166022;this[_0x630cb9(0x2b5)]=!0x0;}),_0xe82219=this[_0x166022(0x1cc)][_0x166022(0x18e)][_0x166022(0x203)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x39a6c3=_0x3372;this[_0x39a6c3(0x2b5)]=!0x1;},0x7d0);});return()=>{const _0x4a6ed0=_0x166022;_0x84c76f[_0x4a6ed0(0x2d0)](),_0xe82219[_0x4a6ed0(0x2d0)]();};}[_0x233059(0x212)](_0x4c50d6,_0x4c47ed,_0x17c3b1,_0x52a78c){const _0x5ea357=_0x233059,_0x2d0848=new _0x289f4f(_0x4c50d6)[_0x5ea357(0x2de)](0.2)[_0x5ea357(0x337)](),_0x29e3bd=new _0x4b30fa(Ti+_0xa39a85[_0x5ea357(0x193)](X),{'pointsGroup':_0x4c47ed,'fill':_0x2d0848||_0x82eb7d(_0x2dfef9[_0x5ea357(0x229)],0.2),'left':_0x17c3b1,'top':_0x52a78c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ea357(0x225)][_0x5ea357(0x1aa)](_0x29e3bd),this['_scene'][_0x5ea357(0x21b)](_0x29e3bd,_0x176178);}['_drawRectRange'](_0x3e3ec7,_0x4ee3b6,_0x5ab320,_0x1b1ce6){const _0x2f1533=_0x233059,_0x5d4797=new _0x289f4f(_0x3e3ec7)['setAlpha'](0.2)[_0x2f1533(0x337)](),_0x397485=new _0x4b30fa(Ri+_0xa39a85[_0x2f1533(0x193)](X),{'pointsGroup':_0x4ee3b6,'fill':_0x5d4797||_0x82eb7d(_0x2dfef9[_0x2f1533(0x229)],0.2),'left':_0x5ab320,'top':_0x1b1ce6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2f1533(0x225)][_0x2f1533(0x1aa)](_0x397485),this[_0x2f1533(0x186)][_0x2f1533(0x21b)](_0x397485,_0x176178);}[_0x233059(0x2d3)](_0x373a08){const _0xf1b0e1=_0x373a08[0x0],_0x3a5732=_0xf1b0e1[0x0],_0x246af2=_0xf1b0e1[0x2],{x:_0x5d9ccf,y:_0x4765b1}=_0x3a5732,{x:_0x4657dc,y:_0x5a364f}=_0x246af2;return{'left':_0x5d9ccf,'top':_0x4765b1,'width':_0x4657dc-_0x5d9ccf,'height':_0x5a364f-_0x4765b1};}[_0x233059(0x33b)](){const _0xb5b321=_0x233059,{scaleX:_0x1fb32f,scaleY:_0x512f90}=this['_scene']['getAncestorScale']();return Math[_0xb5b321(0x1af)](_0x1fb32f,_0x512f90);}}var Pi=Object[_0x233059(0x2c4)],wi=(_0x260ce5,_0x4e2756,_0x44fc62,_0x46eafc)=>{for(var _0x484b47=_0x46eafc>0x1?void 0x0:_0x46eafc?Pi(_0x4e2756,_0x44fc62):_0x4e2756,_0x25d819=_0x260ce5['length']-0x1,_0x48f931;_0x25d819>=0x0;_0x25d819--)(_0x48f931=_0x260ce5[_0x25d819])&&(_0x484b47=_0x48f931(_0x484b47)||_0x484b47);return _0x484b47;},Q=(_0x24e383,_0x180ffa)=>(_0x52af6b,_0x204589)=>_0x180ffa(_0x52af6b,_0x204589,_0x24e383);let Ue=class extends _0x1fee6d{constructor(_0x1221d7,_0x4f39aa,_0x5d0cfc,_0xab3459,_0x53380d){const _0x1d5a95=_0x233059;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x1d5a95(0x1cd)]=_0x1221d7,this['_docSkeletonManagerService']=_0x4f39aa,this[_0x1d5a95(0x26a)]=_0x5d0cfc,this[_0x1d5a95(0x191)]=_0xab3459,this[_0x1d5a95(0x2d7)]=_0x53380d,this[_0x1d5a95(0x1e6)]());}[_0x233059(0x1e6)](){const _0x26399f=_0x233059,_0x1d5c5d=this[_0x26399f(0x1cd)][_0x26399f(0x366)],_0x52b009=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x30dbcf([this[_0x26399f(0x26a)][_0x26399f(0x26f)](_0x1d5c5d),this[_0x26399f(0x2d7)]['currentTheme$']])[_0x26399f(0x313)](_0x956ef3(([_0x1b1159,_0x3fee80])=>({'skeleton':_0x52b009[_0x26399f(0x1b0)](),'cursors':[..._0x1b1159[_0x26399f(0x309)]()][_0x26399f(0x2e3)](_0xa0169=>({..._0xa0169,'color':_0x3fee80[_0xa0169[_0x26399f(0x1df)]]}))})))[_0x26399f(0x1d2)](_0x574a25=>{const _0x5c89b4=_0x26399f;if(this[_0x5c89b4(0x1c0)](),_0x574a25){const {skeleton:_0x5b4b46,cursors:_0x2e462f}=_0x574a25;this[_0x5c89b4(0x2f2)](_0x5b4b46,_0x2e462f);}})),this[_0x26399f(0x1a4)](),this[_0x26399f(0x1ee)]();}['_updateCollabCursors'](_0x1b85a9,_0x25871f){const _0x8a0142=_0x233059,{scene:_0x83cca5,mainComponent:_0x1d56d6}=this[_0x8a0142(0x1cd)],_0x19e903=_0x25871f[_0x8a0142(0x1c3)](_0x41cbaa=>new tt(_0x41cbaa,_0x83cca5,_0x1b85a9,_0x1d56d6));this[_0x8a0142(0x36b)]=_0x19e903,this[_0x8a0142(0x205)]=_0x25871f;}[_0x233059(0x20d)](){const _0x31dc81=_0x233059;this['_removeCollabCursors']();const {scene:_0x4c2882,mainComponent:_0x3addf4}=this[_0x31dc81(0x1cd)],_0x573ddd=this[_0x31dc81(0x34a)][_0x31dc81(0x1b0)](),_0x222940=this[_0x31dc81(0x205)]['map'](_0x418009=>new tt(_0x418009,_0x4c2882,_0x573ddd,_0x3addf4));this[_0x31dc81(0x36b)]=_0x222940;}['_removeCollabCursors'](){const _0x2cdbc8=_0x233059;this['_cursorShapes'][_0x2cdbc8(0x2cb)](_0x1c9e9c=>_0x1c9e9c[_0x2cdbc8(0x2a5)]()),this[_0x2cdbc8(0x36b)]=[];}[_0x233059(0x1ee)](){const _0x1c0557=_0x233059,_0x566781=[_0x4d385e['id']];this[_0x1c0557(0x22d)](this[_0x1c0557(0x191)][_0x1c0557(0x31c)](_0x494224=>{const _0x172959=_0x1c0557;_0x566781[_0x172959(0x300)](_0x494224['id'])&&_0x494224[_0x172959(0x319)][_0x172959(0x366)]===this['_context']['unitId']&&this[_0x172959(0x20d)]();}));}[_0x233059(0x1a4)](){const _0x570d99=_0x233059;this['disposeWithMe'](_0x125902(this['_context'][_0x570d99(0x30e)]['onTransformChange$'])[_0x570d99(0x313)](_0x21d323(_0x539a25=>_0x539a25[_0x570d99(0x2d4)]===_0x3c742c[_0x570d99(0x338)]),_0x4f504e(0x10))[_0x570d99(0x1d2)](()=>{const _0x2827b7=_0x570d99;this[_0x2827b7(0x20d)]();}));}};Ue=wi([Q(0x1,_0x58958f(_0x42cef4)),Q(0x2,_0x58958f(H)),Q(0x3,_0x4bcb08),Q(0x4,_0x58958f(_0x44768b))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x12860c{constructor(_0x5ad493,_0x8ae7cd){const _0x4bd0bf=_0x233059;super(_0x5ad493,_0x8ae7cd),_(this,_0x4bd0bf(0x242)),_(this,_0x4bd0bf(0x1bf),!0x1),_(this,'_range'),_(this,_0x4bd0bf(0x23e),''),_(this,_0x4bd0bf(0x2e6),'top'),_(this,_0x4bd0bf(0x220)),(_0x8ae7cd&&this[_0x4bd0bf(0x23d)](_0x8ae7cd),this[_0x4bd0bf(0x2b3)][_0x4bd0bf(0x203)](()=>this[_0x4bd0bf(0x23d)]({'hovered':!0x0})),this[_0x4bd0bf(0x18e)][_0x4bd0bf(0x203)](()=>this[_0x4bd0bf(0x23d)]({'hovered':!0x1})));}[_0x233059(0x23d)](_0x1eef29){const _0x986429=_0x233059;var _0xca16a5,_0x10c943,_0x16f413,_0x37eae6,_0x5c5229,_0x130eab;this[_0x986429(0x242)]=(_0xca16a5=_0x1eef29[_0x986429(0x1df)])!=null?_0xca16a5:this['_color'],this[_0x986429(0x1bf)]=(_0x10c943=_0x1eef29['hovered'])!=null?_0x10c943:this[_0x986429(0x1bf)],this[_0x986429(0x2ca)]=(_0x16f413=_0x1eef29[_0x986429(0x292)])!=null?_0x16f413:this[_0x986429(0x2ca)],this[_0x986429(0x23e)]=(_0x37eae6=_0x1eef29[_0x986429(0x1fa)])!=null?_0x37eae6:this['_name'],this['_labelPosition']=(_0x5c5229=_0x1eef29[_0x986429(0x1bc)])!=null?_0x5c5229:this[_0x986429(0x2e6)],this[_0x986429(0x220)]=(_0x130eab=_0x1eef29[_0x986429(0x315)])!=null?_0x130eab:this[_0x986429(0x220)],this[_0x986429(0x297)]({'width':_0x1eef29[_0x986429(0x1be)],'height':_0x1eef29[_0x986429(0x261)]});}['onMouseMove'](_0x81e244){const _0x101ca2=_0x233059,{row:_0x1c6c96,column:_0x373d5b}=_0x81e244;if(_0x1c6c96>=this[_0x101ca2(0x2ca)][_0x101ca2(0x2c8)]&&_0x1c6c96<=this[_0x101ca2(0x2ca)][_0x101ca2(0x29e)]&&_0x373d5b>=this[_0x101ca2(0x2ca)]['startColumn']&&_0x373d5b<=this['_range'][_0x101ca2(0x189)]){this[_0x101ca2(0x23d)]({'hovered':!0x0});return;}this[_0x101ca2(0x23d)]({'hovered':!0x1});}['triggerDblclick'](_0xf9c79e){return!0x1;}['_draw'](_0x4deb48){const _0x21c36e=_0x233059;_0x4d3b6b[_0x21c36e(0x230)](_0x4deb48,{'width':this[_0x21c36e(0x1be)],'height':this[_0x21c36e(0x261)],'strokeWidth':Li,'stroke':this[_0x21c36e(0x242)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x21c36e(0x1bf)]&&(_0x4deb48[_0x21c36e(0x2be)](),_0x4deb48[_0x21c36e(0x1c5)](0x1,0x0,0x0,0x1,this['width'],this[_0x21c36e(0x2e6)]===_0x21c36e(0x1dc)?0x0:-0x14),ue[_0x21c36e(0x230)](_0x4deb48,{'text':this[_0x21c36e(0x23e)],'color':this[_0x21c36e(0x242)]}),_0x4deb48[_0x21c36e(0x30f)]());}}var yi=Object[_0x233059(0x2c4)],$i=(_0x48a975,_0x5578db,_0x1e8446,_0x4c9bcf)=>{for(var _0x193cb2=_0x4c9bcf>0x1?void 0x0:_0x4c9bcf?yi(_0x5578db,_0x1e8446):_0x5578db,_0x42ab77=_0x48a975['length']-0x1,_0x58e365;_0x42ab77>=0x0;_0x42ab77--)(_0x58e365=_0x48a975[_0x42ab77])&&(_0x193cb2=_0x58e365(_0x193cb2)||_0x193cb2);return _0x193cb2;},pe=(_0x2b95b5,_0x35beb0)=>(_0x1f7144,_0x3dc3d3)=>_0x35beb0(_0x1f7144,_0x3dc3d3,_0x2b95b5);const xi=0x1389;let Le=class extends _0x1fee6d{constructor(_0x17a1d1,_0x5a5d60,_0x3da22a,_0xde6436){const _0x189afd=_0x233059;super(),_(this,_0x189afd(0x205),new Set()),_(this,'_lastPointer',null),(this[_0x189afd(0x1cd)]=_0x17a1d1,this[_0x189afd(0x1e0)]=_0x5a5d60,this[_0x189afd(0x26a)]=_0x3da22a,this[_0x189afd(0x2d7)]=_0xde6436,this['_init']());}['_init'](){const _0x231165=_0x233059;this[_0x231165(0x1e0)]['currentSkeleton$']['pipe'](_0x1ea452(this[_0x231165(0x348)]),_0x3898a8(_0x536817=>{const _0x46370c=_0x231165;if(_0x536817){const _0x3072ef=_0x536817[_0x46370c(0x294)];return _0x30dbcf(this['_collabCursorController'][_0x46370c(0x26f)](this[_0x46370c(0x1cd)]['unitId']),this[_0x46370c(0x2d7)][_0x46370c(0x1a5)])[_0x46370c(0x313)](_0x956ef3(([_0x27cb03,_0x11d37a])=>{const _0x16cfac=_0x46370c,_0x36fe79=new Map();return _0x27cb03[_0x16cfac(0x2cb)]((_0x28a957,_0x66948f)=>{const _0x1cabe4=_0x16cfac;if(_0x28a957[_0x1cabe4(0x232)]===_0x3072ef){const _0x338fdd={..._0x28a957};_0x338fdd[_0x1cabe4(0x1df)]=_0x11d37a[_0x28a957[_0x1cabe4(0x1df)]],_0x36fe79[_0x1cabe4(0x308)](_0x66948f,_0x338fdd);}}),{'skeleton':_0x536817,'cursors':_0x36fe79};}));}return _0x502f32({'skeleton':null,'cursors':new Map()});}))[_0x231165(0x1d2)](({skeleton:_0x2182dd,cursors:_0x5759fb})=>{const _0x50788f=_0x231165;this[_0x50788f(0x1c0)](),_0x2182dd&&this[_0x50788f(0x2f2)](_0x2182dd,_0x5759fb);}),this[_0x231165(0x1e0)][_0x231165(0x226)]['subscribe'](_0x2e7699=>{const _0x46e045=_0x231165;if(_0x2e7699==null)return;const {skeleton:_0x2af9c3}=_0x2e7699,{scene:_0x50fcb8}=this[_0x46e045(0x1cd)];_0x50fcb8[_0x46e045(0x25a)][_0x46e045(0x203)](_0x1314d0(_0x1b93b7=>{const _0x19a349=_0x46e045;var _0x4145fd,_0x11a005;const {offsetX:_0x30d073,offsetY:_0xbc889e}=_0x1b93b7,{x:_0x3d6156,y:_0x4a283c}=_0x50fcb8[_0x19a349(0x1b8)](_0x1f4fe6[_0x19a349(0x35b)]([_0x30d073,_0xbc889e])),{scaleX:_0x3cf537,scaleY:_0x3bc1c2}=_0x50fcb8[_0x19a349(0x18a)](),_0x2c262e=_0x50fcb8['getViewport'](_0x48ea70['VIEW_MAIN']),_0x103eac=_0x50fcb8[_0x19a349(0x27e)](_0x1f4fe6[_0x19a349(0x35b)]([_0x3d6156,_0x4a283c]),_0x2c262e),_0x2588de=_0x2af9c3[_0x19a349(0x34c)](_0x30d073,_0xbc889e,_0x3cf537,_0x3bc1c2,_0x103eac);((_0x4145fd=this[_0x19a349(0x1c7)])==null?void 0x0:_0x4145fd[_0x19a349(0x238)])===_0x2588de['column']&&((_0x11a005=this[_0x19a349(0x1c7)])==null?void 0x0:_0x11a005[_0x19a349(0x1c2)])===_0x2588de[_0x19a349(0x1c2)]||this['_cursors'][_0x19a349(0x2cb)](_0x20658d=>{_0x20658d['onMouseMove'](_0x2588de);});},0x64));});}[_0x233059(0x2f2)](_0xf9d5f8,_0x2e7b59){const _0x282ddb=_0x233059;var _0x1cea98;const _0x43844a=(_0x1cea98=this[_0x282ddb(0x1e0)]['getCurrent']())==null?void 0x0:_0x1cea98[_0x282ddb(0x2bb)];if(!_0x43844a)return;const _0x12cb4e=this[_0x282ddb(0x305)]();if(!_0x12cb4e)return;this[_0x282ddb(0x205)]['forEach'](_0x353054=>{const _0x35b968=_0x282ddb;_0x353054[_0x35b968(0x2ff)]();});const {scene:_0xb8281f}=_0x12cb4e,_0x42765d=Bi(Array['from'](_0x2e7b59['values']()))['map'](_0xe4439d=>{const _0x49bd2b=_0x282ddb,{color:_0x118640,range:_0x5dc16b,name:_0x3bbfc7,selection:_0x205467,sheetID:_0x4465ed}=_0xe4439d,{startColumn:_0x134a7d,startRow:_0x3e53e3,endColumn:_0x1f31c8,endRow:_0x4bf8ad}=_0x5dc16b,_0x2d3ce2=_0x346f7e(_0x3e53e3,_0x134a7d,_0xb8281f,_0x43844a),_0x3d35a3=_0x346f7e(_0x4bf8ad,_0x1f31c8,_0xb8281f,_0x43844a),{columnHeaderHeightAndMarginTop:_0x2bf138}=_0x43844a,{startX:_0x525374,startY:_0x38c580}=_0x2d3ce2,{endX:_0x326805,endY:_0x11e042}=_0x3d35a3,_0x585e9d=_0x326805-_0x525374,_0x476a78=_0x11e042-_0x38c580,_0x134bd3={'labelPosition':_0x38c580-_0x2bf138>=te?_0x49bd2b(0x1a2):_0x49bd2b(0x1dc),'sheetID':_0x4465ed,'range':_0x5dc16b,'color':_0x118640,'name':_0x3bbfc7,'selection':_0x205467,'left':_0x525374,'top':_0x38c580,'width':_0x585e9d,'height':_0x476a78,'evented':!0x1,'zIndex':xi};return new Ai(_0x3bbfc7,_0x134bd3);});_0xb8281f[_0x282ddb(0x1fb)](_0x42765d,Ui),this[_0x282ddb(0x205)]=new Set(_0x42765d);}['_removeCollabCursors'](){const _0x484f70=_0x233059;var _0x4f3c02;(_0x4f3c02=this[_0x484f70(0x205)])==null||_0x4f3c02['forEach'](_0x33c2a2=>_0x33c2a2['dispose']());}[_0x233059(0x305)](){const _0x3d15fe=_0x233059;return _0x173752(this[_0x3d15fe(0x1cd)]['unit'],this['_context']);}};Le=$i([pe(0x1,_0x58958f(_0x525f40)),pe(0x2,_0x58958f(H)),pe(0x3,_0x58958f(_0x44768b))],Le);function Bi(_0x1f89a1){const _0x4bf9fb=_0x233059,_0x2e5af5=new Map();return _0x1f89a1[_0x4bf9fb(0x2cb)](_0x48f905=>{const _0x1dbdd4=_0x4bf9fb;if(_0x2e5af5[_0x1dbdd4(0x344)](_0x48f905[_0x1dbdd4(0x35a)])){const _0x36b697=_0x2e5af5[_0x1dbdd4(0x31b)](_0x48f905[_0x1dbdd4(0x35a)]);_0x36b697[_0x1dbdd4(0x1fa)]+=',\x20'+_0x48f905['name'];}else _0x2e5af5[_0x1dbdd4(0x308)](_0x48f905[_0x1dbdd4(0x35a)],_0x48f905);}),Array[_0x4bf9fb(0x29d)](_0x2e5af5[_0x4bf9fb(0x309)]());}var I=function(){const _0x328444=_0x233059;return I=Object['assign']||function(_0x4a7bfc){const _0x428379=_0x3372;for(var _0x3cd591,_0x364440=0x1,_0x2429c1=arguments[_0x428379(0x31d)];_0x364440<_0x2429c1;_0x364440++){_0x3cd591=arguments[_0x364440];for(var _0x13bae3 in _0x3cd591)Object[_0x428379(0x27f)]['hasOwnProperty'][_0x428379(0x188)](_0x3cd591,_0x13bae3)&&(_0x4a7bfc[_0x13bae3]=_0x3cd591[_0x13bae3]);}return _0x4a7bfc;},I[_0x328444(0x36f)](this,arguments);},ki=function(_0x38967e,_0x9bab7b){const _0xb59954=_0x233059;var _0x5af95c={};for(var _0x527f81 in _0x38967e)Object[_0xb59954(0x27f)]['hasOwnProperty'][_0xb59954(0x188)](_0x38967e,_0x527f81)&&_0x9bab7b[_0xb59954(0x2d9)](_0x527f81)<0x0&&(_0x5af95c[_0x527f81]=_0x38967e[_0x527f81]);if(_0x38967e!=null&&typeof Object[_0xb59954(0x2b4)]==_0xb59954(0x2d5)){for(var _0x5e1d5e=0x0,_0x527f81=Object[_0xb59954(0x2b4)](_0x38967e);_0x5e1d5e<_0x527f81[_0xb59954(0x31d)];_0x5e1d5e++)_0x9bab7b[_0xb59954(0x2d9)](_0x527f81[_0x5e1d5e])<0x0&&Object['prototype']['propertyIsEnumerable'][_0xb59954(0x188)](_0x38967e,_0x527f81[_0x5e1d5e])&&(_0x5af95c[_0x527f81[_0x5e1d5e]]=_0x38967e[_0x527f81[_0x5e1d5e]]);}return _0x5af95c;},We=_0xc8dd8f(function(_0x46cffa,_0x24e800){const _0x130f4b=_0x233059;var _0x508d9e=_0x46cffa[_0x130f4b(0x219)],_0x46fc5c=_0x46cffa['id'],_0x4072f7=_0x46cffa['className'],_0x173503=_0x46cffa['extend'],_0x2d400d=ki(_0x46cffa,[_0x130f4b(0x219),'id','className',_0x130f4b(0x2b0)]),_0x269fa6=_0x130f4b(0x1eb)[_0x130f4b(0x2a7)](_0x46fc5c,'\x20')[_0x130f4b(0x2a7)](_0x4072f7||'')['trim'](),_0x12f9d3=_0x1aaa47('_'[_0x130f4b(0x2a7)](Wi()));return Nt(_0x508d9e,''[_0x130f4b(0x2a7)](_0x46fc5c),{'defIds':_0x508d9e[_0x130f4b(0x201)],'idSuffix':_0x12f9d3[_0x130f4b(0x2ef)]},I({'ref':_0x24e800,'className':_0x269fa6},_0x2d400d),_0x173503);});function Nt(_0x425d48,_0x1b4671,_0x53f7ad,_0x1c028b,_0x21ce13){const _0x50c9a3=_0x233059;return _0x5d87d9(_0x425d48[_0x50c9a3(0x227)],I(I({'key':_0x1b4671},Hi(_0x425d48,_0x53f7ad,_0x21ce13)),_0x1c028b),(ji(_0x425d48,_0x53f7ad)['children']||[])[_0x50c9a3(0x1c3)](function(_0x52d985,_0x271267){const _0x13d0ea=_0x50c9a3;return Nt(_0x52d985,''[_0x13d0ea(0x2a7)](_0x1b4671,'-')[_0x13d0ea(0x2a7)](_0x425d48[_0x13d0ea(0x227)],'-')[_0x13d0ea(0x2a7)](_0x271267),_0x53f7ad,void 0x0,_0x21ce13);}));}function Hi(_0x50dba4,_0x429c5e,_0x3da50a){const _0x3f00a4=_0x233059;var _0x11f1fb=I({},_0x50dba4[_0x3f00a4(0x1f1)]);_0x3da50a!=null&&_0x3da50a['colorChannel1']&&_0x11f1fb[_0x3f00a4(0x369)]==='colorChannel1'&&(_0x11f1fb[_0x3f00a4(0x369)]=_0x3da50a[_0x3f00a4(0x33c)]),_0x50dba4['tag']==='mask'&&_0x11f1fb['id']&&(_0x11f1fb['id']=_0x11f1fb['id']+_0x429c5e[_0x3f00a4(0x1d6)]),Object['entries'](_0x11f1fb)[_0x3f00a4(0x2cb)](function(_0x585231){const _0x41380c=_0x3f00a4;var _0x27e062=_0x585231[0x0],_0x18fc92=_0x585231[0x1];_0x27e062===_0x41380c(0x26d)&&typeof _0x18fc92==_0x41380c(0x1c1)&&(_0x11f1fb[_0x27e062]=_0x18fc92[_0x41380c(0x26c)](/url\(#(.*)\)/,_0x41380c(0x2c3)[_0x41380c(0x2a7)](_0x429c5e['idSuffix'],')')));});var _0x11bc8d=_0x429c5e[_0x3f00a4(0x201)];return!_0x11bc8d||_0x11bc8d[_0x3f00a4(0x31d)]===0x0||(_0x50dba4[_0x3f00a4(0x227)]===_0x3f00a4(0x2bf)&&_0x11f1fb[_0x3f00a4(0x1d4)]&&(_0x11f1fb['xlink:href']=_0x11f1fb[_0x3f00a4(0x1d4)]+_0x429c5e[_0x3f00a4(0x1d6)]),Object[_0x3f00a4(0x1c6)](_0x11f1fb)[_0x3f00a4(0x2cb)](function(_0x295b0f){const _0x480eaf=_0x3f00a4;var _0x372375=_0x295b0f[0x0],_0x33da08=_0x295b0f[0x1];typeof _0x33da08=='string'&&(_0x11f1fb[_0x372375]=_0x33da08[_0x480eaf(0x26c)](/url\(#(.*)\)/,'url(#$1'[_0x480eaf(0x2a7)](_0x429c5e[_0x480eaf(0x1d6)],')')));})),_0x11f1fb;}function ji(_0x3d3fb6,_0x5120d6){const _0x2d9c29=_0x233059;var _0x296b36,_0x352228=_0x5120d6['defIds'];return!_0x352228||_0x352228[_0x2d9c29(0x31d)]===0x0?_0x3d3fb6:_0x3d3fb6[_0x2d9c29(0x227)]===_0x2d9c29(0x204)&&(!((_0x296b36=_0x3d3fb6[_0x2d9c29(0x333)])===null||_0x296b36===void 0x0)&&_0x296b36[_0x2d9c29(0x31d)])?I(I({},_0x3d3fb6),{'children':_0x3d3fb6[_0x2d9c29(0x333)][_0x2d9c29(0x1c3)](function(_0x432ce3){const _0x3774f1=_0x2d9c29;return typeof _0x432ce3[_0x3774f1(0x1f1)]['id']=='string'&&_0x352228&&_0x352228[_0x3774f1(0x2d9)](_0x432ce3[_0x3774f1(0x1f1)]['id'])>-0x1?I(I({},_0x432ce3),{'attrs':I(I({},_0x432ce3[_0x3774f1(0x1f1)]),{'id':_0x432ce3[_0x3774f1(0x1f1)]['id']+_0x5120d6[_0x3774f1(0x1d6)]})}):_0x432ce3;})}):_0x3d3fb6;}function Wi(){const _0x3c46ea=_0x233059;return Math[_0x3c46ea(0x215)]()[_0x3c46ea(0x252)](0x24)['substring'](0x2,0x8);}We[_0x233059(0x361)]=_0x233059(0x321);var Fi={'tag':_0x233059(0x255),'attrs':{'fill':_0x233059(0x222),'viewBox':_0x233059(0x1d9),'width':_0x233059(0x2a4),'height':_0x233059(0x2a4)},'children':[{'tag':'g','attrs':{'clipPath':_0x233059(0x36c)},'children':[{'tag':'path','attrs':{'stroke':_0x233059(0x32d),'d':_0x233059(0x32c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x233059(0x204),'attrs':{},'children':[{'tag':_0x233059(0x283),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x233059(0x352),'attrs':{'fill':'#fff','d':_0x233059(0x18f)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0xc8dd8f(function(_0x129893,_0x179704){const _0x466c7f=_0x233059;return _0x5d87d9(We,Object[_0x466c7f(0x2ce)]({},_0x129893,{'id':_0x466c7f(0x2c0),'ref':_0x179704,'icon':Fi}));});Mt[_0x233059(0x361)]=_0x233059(0x2dc);var Vi={'tag':_0x233059(0x255),'attrs':{'fill':_0x233059(0x222),'viewBox':_0x233059(0x34f),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x233059(0x302)},'children':[{'tag':_0x233059(0x352),'attrs':{'stroke':_0x233059(0x32d),'d':_0x233059(0x351),'strokeLinecap':_0x233059(0x1f5),'strokeLinejoin':_0x233059(0x1f5),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x233059(0x283),'attrs':{'id':_0x233059(0x30c)},'children':[{'tag':_0x233059(0x352),'attrs':{'fill':'#fff','d':_0x233059(0x18f),'transform':'translate(.97)'}}]}]}],'defIds':[_0x233059(0x30c)]},Pt=_0xc8dd8f(function(_0x255972,_0x171185){const _0x9fcb6f=_0x233059;return _0x5d87d9(We,Object[_0x9fcb6f(0x2ce)]({},_0x255972,{'id':'on-line-single','ref':_0x171185,'icon':Vi}));});Pt[_0x233059(0x361)]=_0x233059(0x1cf);const Yi=_0x233059(0x24b),Xi='univer-online-status-title',Gi=_0x233059(0x25f),Ki='univer-online',zi=_0x233059(0x316),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x2621f3){const _0x2c25d3=_0x233059;switch(_0x2621f3){case _0x6660c8['OFFLINE']:return _0x2c25d3(0x1f7);case _0x6660c8[_0x2c25d3(0x185)]:return'collabStatus.conflict';case _0x6660c8[_0x2c25d3(0x2ba)]:return _0x2c25d3(0x339);case _0x6660c8[_0x2c25d3(0x270)]:return _0x2c25d3(0x2b7);case _0x6660c8[_0x2c25d3(0x36a)]:case _0x6660c8[_0x2c25d3(0x303)]:return'collabStatus.syncing';case _0x6660c8[_0x2c25d3(0x357)]:case _0x6660c8[_0x2c25d3(0x2e7)]:return _0x2c25d3(0x342);}}function Zi(_0xae3099){const _0x1c6493=_0x233059,{status$:_0x3e66fe}=_0xae3099,_0x520d24=_0x1927e2(_0x3e66fe,_0x6660c8[_0x1c6493(0x270)]),_0x3a0dc8=_0x30a989(_0x3cf2c0),_0x26b2ff=_0x30a989(_0xc812a),_0x519309=_0x520d24!==_0x6660c8['OFFLINE'],_0x34486a=_0x3a0dc8['t'](Ji(_0x520d24)),_0x49b0e6=_0x4bd8c1(G['onlineStatus'],{[G[_0x1c6493(0x2e2)]]:_0x519309,[G['offline']]:!_0x519309}),_0x58e4cf=_0x519309?_0xffaf82(Pt,{}):_0xffaf82(Mt,{}),_0xab515c=_0x2b5d0f(()=>{_0x519309||_0x26b2ff['reconnect']();},[_0x519309,_0x26b2ff]);function _0x55b766(){const _0x38d646=_0x1c6493;return _0x66e81a(_0x38d646(0x2a3),{'className':_0x4bd8c1(_0x49b0e6,'univer-flex\x20univer-items-center'),'onClick':_0xab515c,'children':[_0xffaf82(_0x38d646(0x2a3),{'className':G[_0x38d646(0x2d1)],'children':_0x58e4cf}),_0xffaf82('div',{'className':G[_0x38d646(0x304)],'children':_0x34486a})]});}return _0x519309?_0x55b766():_0xffaf82(_0x3905f4,{'title':_0x3a0dc8['t']('collab-client.tooltip.reconnect'),'children':_0x55b766()});}var Qi=Object[_0x233059(0x2c4)],qi=(_0x3dbc7c,_0x46b125,_0x75c66a,_0x4d27fd)=>{const _0x5b4db1=_0x233059;for(var _0x3394b0=_0x4d27fd>0x1?void 0x0:_0x4d27fd?Qi(_0x46b125,_0x75c66a):_0x46b125,_0x453c3f=_0x3dbc7c[_0x5b4db1(0x31d)]-0x1,_0x7fb0fd;_0x453c3f>=0x0;_0x453c3f--)(_0x7fb0fd=_0x3dbc7c[_0x453c3f])&&(_0x3394b0=_0x7fb0fd(_0x3394b0)||_0x3394b0);return _0x3394b0;},q=(_0x5ad2e5,_0x1c7e37)=>(_0x4f62ac,_0x30c34a)=>_0x1c7e37(_0x4f62ac,_0x30c34a,_0x5ad2e5);let se=class extends _0x31fe53{constructor(_0x5be055,_0x1bfb56,_0x108d93,_0x2e19de){const _0x5044af=_0x233059;super(),_(this,_0x5044af(0x2f5),new _0x5e9239(_0x6660c8[_0x5044af(0x270)])),(this[_0x5044af(0x278)]=_0x5be055,this[_0x5044af(0x1bb)]=_0x1bfb56,this[_0x5044af(0x1fd)]=_0x108d93,this[_0x5044af(0x267)]=_0x2e19de,this[_0x5044af(0x1ce)](),this[_0x5044af(0x2a2)]());}[_0x233059(0x2a2)](){const _0x2b1a47=_0x233059;this[_0x2b1a47(0x22d)](this[_0x2b1a47(0x278)][_0x2b1a47(0x23a)][_0x2b1a47(0x313)](_0x53feff(()=>{const _0x2647ae=_0x2b1a47,_0x327c59=this['_univerInstanceService'][_0x2647ae(0x24d)]();return _0x327c59?this['_collaborationController'][_0x2647ae(0x250)](_0x327c59[_0x2647ae(0x2ae)]()):_0x502f32(null);}),_0x53feff(_0x26bf4c=>_0x26bf4c?_0x26bf4c[_0x2b1a47(0x199)]:_0x502f32(_0x6660c8[_0x2b1a47(0x270)])))[_0x2b1a47(0x1d2)](_0x3d5ba8=>{const _0x180b0a=_0x2b1a47;this[_0x180b0a(0x2f5)][_0x180b0a(0x32e)](_0x3d5ba8);}));}[_0x233059(0x1ce)](){const _0x33563a=_0x233059;this['disposeWithMe'](this[_0x33563a(0x267)]['registerComponent'](_0x489e18['HEADER_MENU'],()=>_0x1534c9(en({'status$':this[_0x33563a(0x2f5)][_0x33563a(0x2a1)]()}),this[_0x33563a(0x1bb)])));}};se=qi([q(0x0,_0x43c917),q(0x1,_0x58958f(_0x17fcfa)),q(0x2,_0x58958f(_0x5ea498)),q(0x3,_0x1f9bfc)],se);function en(_0x234ebc){const {status$:_0x2e47dd}=_0x234ebc;return function(){return _0xffaf82(Zi,{'status$':_0x2e47dd});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0xc3a839,_0x296fd1,_0x3d3935,_0x4aaaa9)=>{const _0x323881=_0x233059;for(var _0x20c39f=_0x4aaaa9>0x1?void 0x0:_0x4aaaa9?tn(_0x296fd1,_0x3d3935):_0x296fd1,_0x3540da=_0xc3a839[_0x323881(0x31d)]-0x1,_0xe3a39a;_0x3540da>=0x0;_0x3540da--)(_0xe3a39a=_0xc3a839[_0x3540da])&&(_0x20c39f=_0xe3a39a(_0x20c39f)||_0x20c39f);return _0x20c39f;},B=(_0x327dc3,_0x3fede9)=>(_0x482ea4,_0x3a5678)=>_0x3fede9(_0x482ea4,_0x3a5678,_0x327dc3);let ie=class extends _0x31fe53{constructor(_0x503068,_0x46b370,_0x525ca2,_0x334723,_0x42c9bb,_0x490e20){const _0x14ac45=_0x233059;super(),this['_beforeCloseService']=_0x503068,this[_0x14ac45(0x24e)]=_0x46b370,this[_0x14ac45(0x235)]=_0x525ca2,this[_0x14ac45(0x1b2)]=_0x334723,this['_notificationService']=_0x42c9bb,this['_localeService']=_0x490e20,this[_0x14ac45(0x1f0)](),this[_0x14ac45(0x2bd)]();}['_setupBeforeClosingHandler'](){const _0x131e23=_0x233059;this[_0x131e23(0x22d)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x31594e=_0x131e23;if(this[_0x31594e(0x24e)][_0x31594e(0x2f1)][_0x31594e(0x29c)])return this[_0x31594e(0x2b9)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x16c547=_0x233059;this[_0x16c547(0x22d)](this[_0x16c547(0x235)][_0x16c547(0x1e8)]['subscribe'](_0x48e5d6=>{const _0x393f3a=_0x16c547;_0x48e5d6['id']===_0x1c1feb['OTHER_CLIENT_EDITING']&&this['_messageService']['show']({'type':_0x22030a[_0x393f3a(0x262)],'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x33a))}),_0x48e5d6['id']===_0x1c1feb['CLOSE_ROOM']&&this[_0x393f3a(0x1b2)][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x262)],'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x36d))}),_0x48e5d6['id']===_0x1c1feb[_0x393f3a(0x217)]&&this[_0x393f3a(0x271)]['show']({'title':this['_localeService']['t']('permission.title'),'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x241)),'type':_0x393f3a(0x1fe),'duration':0x0}),_0x48e5d6['id']===_0x1c1feb['CONFLICT']&&this['_messageService'][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x1f6)],'content':this[_0x393f3a(0x2b9)]['t']('collaboration.closeRoom')+'('+_0x48e5d6['data']+')'}),_0x48e5d6['id']===_0x1c1feb[_0x393f3a(0x22c)]&&this['_messageService'][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x262)],'content':this[_0x393f3a(0x2b9)]['t'](_0x48e5d6[_0x393f3a(0x2d6)]||'')}),_0x48e5d6['id']===_0x1c1feb['SOCKET_FAILED_RETRY']&&this[_0x393f3a(0x1b2)]['show']({'type':_0x22030a[_0x393f3a(0x262)],'content':this['_localeService']['t'](_0x393f3a(0x307))}),_0x48e5d6['id']===_0x1c1feb['SOCKET_FAILED']&&this[_0x393f3a(0x1b2)][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x1f6)],'content':this[_0x393f3a(0x2b9)]['t'](_0x393f3a(0x35f))}),_0x48e5d6['id']===_0x1c1feb[_0x393f3a(0x28e)]&&this[_0x393f3a(0x1b2)][_0x393f3a(0x2b8)]({'type':_0x22030a[_0x393f3a(0x1f6)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};ie=sn([B(0x0,_0x148777),B(0x1,_0x27dd80),B(0x2,_0x58958f(_0x301bfc)),B(0x3,_0x57af2e),B(0x4,_0x9f679f),B(0x5,_0x58958f(_0x3cf2c0))],ie);const nn=_0x233059(0x2e9),st={},wt=_0x52bbde('uni.network.url-service');function _0x4df5(){const _0x4205ac=['tag','fillText','black','6400602jqoSfZ','sessionTicket','JOIN_ROOM_FAILED','disposeWithMe','blue400','min','drawWith','_scheduleClearOtherTimer','sheetID','sessionStatus$','_docStateChangeManagerService','_collaborationUIEventService','_config','APPLY_REJECT','column','_httpService','focused$','runOnServer','send','setShapeProps','_name','font','PY_RUNTIME_SCRIPT_ERROR','permission.content','_color','doc.mutation.rich-text-editing','subunit','getUnitStatus$','storage','UNIVER_SHEET','_ensureSubject','transformStateCache','60358xbDrny','univer-online-status-icon','text','getFocusedUnit','_localCacheService','MUTATION','getCollabEntity$','unit','toString','InsertRowCommandId','cursorInfo$','svg','_disabled','syncEditingCollabCursor','UNDEFINED','transformSelections','onPointerMove$','_unitOnClients','_refRangeService','roomMembers$','UNRECOGNIZED','univer-online-status','getActiveRange','height','Warning','UPDATE_CURSOR','beginPath','_syncEditingCollabCursorService','arc','_uiPartsService','_toggleOffline','m2Prime','_collabCursorController','/run/','replace','mask','ENSURE_SNAPSHOT_EXECUTION','getCollabCursors$','NOT_COLLAB','_notificationService','UNAUTHENTICATED','YUUMI_URL_COL_OUT_OF_RANGE','post','collab-text-anchor-','roomMembers','ranges','_univerInstanceService','_send','getConfig','getOffsetConfig','code','_textBubble','getVpScrollXYInfoByPosToVp','prototype','_updateSubUnitFromURLParams','transformMutation','_entityInit$','clipPath','cursorInfo','_id','ACTIVE_UNIT_EVENT_CHANNEL','getMember','InsertRangeMoveRightCommandId','docStateChange$','_handleLeaveEvent','deepClone','APPLY_PERMISSION_DENIED','getTypeOfUnitDisposed$','SUBMIT_CHANGESET_TIMEOUT','_colorIndex','parse','popstate','range','assignAColorForMemberID','sheetId','SNAPSHOT_HAS_BEEN_REMOVED','getSheetBySheetId','transformByState','all','_cursor','executionId','getRangePointData','size','from','endRow','registerRenderModule','COMPLETION_FINISHED','asObservable','_initStatusListener','div','1em','dispose','saveImage','concat','_document','_imageIoService','replaceState','_heartbeatTimer','activeSheet$','_configService','getUnitId','3957180XIveQF','extend','history','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','onPointerEnter$','getOwnPropertySymbols','_hover','isActive','collabStatus.notCollab','show','_localeService','FETCH_MISS','skeleton','href','_initEvent','save','use','off-line-single','pushState','[CollaborationDataLoaderController]','url(#$1','getOwnPropertyDescriptor','ALREADY_EXISTS','2108585vvfxor','_logService','startRow','_roomMembers$','_range','forEach','red300','body','assign','_unitStatus','unsubscribe','onlineStatusIcon','YUUMI_RATE_OVER_LIMIT','_getAnchorBounding','type','function','data','_themeService','_drawAnchor','indexOf','unshift','with','OffLineSingle','EMAIL_HAS_BEEN_BOUND','setAlpha','RECT','SNAPSHOT_INVALID_SNAPSHOT','verdancy600','online','flatMap','_toggleOnline','NO_OTHER_CLIENTS_EDITING','_labelPosition','PENDING','_onCursorDelete','collaboration-client-ui.config','ONLINE','exhaustSavingTask','...','INVITE_CODE_REQUIRED','actions','current','unitID','saveTaskMap','_updateCollabCursors','Unknown\x20user','_anchorDot','_status$','gold400','setInterval','_selfUnitIDs','collabCursorState$','INVITE_CODE_HAS_BEEN_UES','getSheetId','INVITE_CODE_ALREADY_BOUND','_session','_transformPreviousActiveRange','makeDirty','includes','_handleEvent','url(#on-line-single_clip0_910_349)','AWAITING_WITH_PENDING','onlineStatusTitle','_getSheetObject','_draw','session.will-retry','set','values','then','removeParam','on-line-single_clip0_910_349','RemoveRowCommandId','engine','restore','_transformService','_dataLoaderService','_collabCursorState$','pipe','complete','backgroundColor','univer-offline','getTypeOfUnitAdded$','searchParams','params','_initEntityListener','get','onCommandExecuted','length','fillRule','startsWith','_docSkeleton','UniverIcon','memberID','_docTransformStateCacheService','getParam','_saveTaskMap','editingUnit','_startDocCollabCursor','APPLY_REVISION_CONFILICT','YUUMI_UNABLE_LOAD_URL','#FFF','mutations','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','currentColor','next','YUUMI_SUBSCRIPTION_NOT_FOUND','getMergeData','whenReady','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','children','getItem','result','_collabSessionService','toRgbString','resize','collabStatus.fetchMiss','collaboration.single-unit.warning','_getScale','colorChannel1','collab-text-range-','urlChange$','_cachedData','setParam','_onCursorUpdate','collabStatus.synced','_handleHover','has','USERS_LEAVE','InsertRangeMoveDownCommandId','1589504fMMedx','dispose$','LOGIN_FAILED','_docSkeletonManagerService','executeCommand','getCellPositionByOffset','OTHER_CLIENTS_EDITING','_transformUndoRedoStack','0\x200\x2017\x2016','_hideTimer','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','path','runId','TOO_MANY_REQUESTS','registerRefRange','CONNECTOR_DATA_TOO_LARGE','SYNCED','ticket','findNodePositionByCharIndex','selection','FromArray','isEditing','_docClipboardService','UNIVER_DOC','session.connection-failed','_docTransformIMECacheService','displayName','measureText','wsSessionTicketUrl','loadUnit','getDocRanges','unitId','_createSocketURL','m1Prime','fill','AWAITING','_cursorShapes','url(#off-line-single_clip0_910_343)','collaboration.closeRoom','_startSheetCollabCursor','apply','textRanges','disposeUnit','_eventUnsubscribe','LICENSE_DISTRO_REJECTED','WECHAT_HAS_BEEN_BOUND','CONFLICT','_scene','_revisionService','call','endColumn','getAncestorScale','_updateLocalCursor','init','_assignedColors','onPointerLeave$','M0\x200H16V16H0z','newValue','_commandService','transformMutationsWithChangeset','generateRandomId','345591HLhEgm','undoState','_saveCache','_drawRectRange','key','status$','MoveRangeCommandId','clearTimeout','16SElJQh','defineProperty','getRenderById','invokeId','_entities','_initDependencies','top','_handleJoinEvent','_initResize','currentTheme$','onRendered','setItem','transformRemoteChangeset','hide','push','createInstance','contains','collab-rect-range-','_getSaveTimeout','max','getSkeleton','getValue','_messageService','_registerRenderDependencies','LICENSE_MAX_UNITS_EXCEEDED','_removeClearOtherTimer','lineTo','_docTransformSelectionsService','getRelativeToViewportCoord','_scheduleHeartbeat','getUndoRedoMutationParamsCache','_injector','labelPosition','setTimeout','width','_hovered','_removeCollabCursors','string','row','map','search','transform','entries','_lastPointer','source','INVALID_INVITE_CODE','_getSessionTicket','addEventListener','_anchor','_context','_initStatusComponent','OnLineSingle','_colorAssignService','INTERNAL_ERROR','subscribe','getMemberID','xlink:href','NOT_FOUND','idSuffix','some','_renderManagerService','0\x200\x2016\x2016','find','getCurrentUnitForType','bottom','disableLocalCache','_urlService','color','_sheetSkeletonManagerService','subUnitId','_registerDependencies','_instanceService','setUndoRedoMutationParamsCache','isArray','_init','split','event$','origin','RemoveColCommandId','univerjs-icon\x20univerjs-icon-','purple300','debug','_initCommandExecutedListener','unload','_setupBeforeClosingHandler','attrs','_localStorageService','MOBILE_HAS_BEEN_BOUND','3746034RyIrsF','round','Error','collabStatus.offline','_updateURLWithCurrentState','add','name','addObjects','setStateCache','_collaborationController','error','getStateCache','_getMergeRange','defIds','location','subscribeEvent','defs','_cursors','_render','_clearOtherTimers','eventID','transformIMECache','onLocalMutation','_cursorInfo$','_onRefRangeChange','_refreshCollabCursors','pluginName','addClipboardHook','_docSyncEditingCollabCursorService','APPLY_NON_SEQUENTIAL_REVISION','_drawTextRange','37vuLLNB','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','random','createSocket','PERMISSION_DENIED','DeleteRangeMoveLeftCommandId','icon','_online','addObject','_scheduleSaving','fillStyle','LICENSE_IMPORT_SIZE_EXCEEDED','redoState','_backgroundColor','clearInterval','none','_setupSubUnitSync','delete','_shapes','currentSkeleton$'];_0x4df5=function(){return _0x4205ac;};return _0x4df5();}var rn=Object[_0x233059(0x2c4)],on=(_0x3d952f,_0x47eed3,_0x6c07e0,_0x4e8f7f)=>{for(var _0x4ee4af=_0x4e8f7f>0x1?void 0x0:_0x4e8f7f?rn(_0x47eed3,_0x6c07e0):_0x47eed3,_0x4ab2bb=_0x3d952f['length']-0x1,_0x52f395;_0x4ab2bb>=0x0;_0x4ab2bb--)(_0x52f395=_0x3d952f[_0x4ab2bb])&&(_0x4ee4af=_0x52f395(_0x4ee4af)||_0x4ee4af);return _0x4ee4af;},K=(_0x4318fb,_0x53ce4b)=>(_0x3b68a2,_0x5a2a2e)=>_0x53ce4b(_0x3b68a2,_0x5a2a2e,_0x4318fb);let ne=class extends _0x1fee6d{constructor(_0x2342c4,_0x38fe7d,_0x39a74f,_0x275189,_0x34f8d3){const _0x169ba6=_0x233059;super(),this[_0x169ba6(0x1de)]=_0x2342c4,this[_0x169ba6(0x2c7)]=_0x38fe7d,this[_0x169ba6(0x191)]=_0x39a74f,this['_dataLoaderService']=_0x275189,_0x34f8d3?_0x34f8d3==null||_0x34f8d3[_0x169ba6(0x331)]()['then'](()=>this[_0x169ba6(0x1e6)]()):(this[_0x169ba6(0x2c7)][_0x169ba6(0x1ed)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x169ba6(0x1e6)]());}async[_0x233059(0x1e6)](){const _0x3960b0=_0x233059,_0x48bf9b=this[_0x3960b0(0x1de)][_0x3960b0(0x324)](_0x3960b0(0x251)),_0x542cd3=this['_urlService']['getParam']('type'),_0x383438=this['_urlService']['getParam'](_0x3960b0(0x244));if(!_0x48bf9b||!_0x542cd3){this[_0x3960b0(0x2c7)][_0x3960b0(0x1ed)](_0x3960b0(0x2c2),_0x3960b0(0x214));return;}const _0x530be6=await this[_0x3960b0(0x311)][_0x3960b0(0x364)](_0x48bf9b,Number(_0x542cd3),_0x383438);_0x530be6&&_0x530be6 instanceof _0x2e15f2&&this[_0x3960b0(0x223)](_0x530be6);}async['_setupSubUnitSync'](_0x435015){const _0x2a824a=_0x233059;await this[_0x2a824a(0x280)](_0x435015),_0x435015[_0x2a824a(0x2ac)][_0x2a824a(0x313)](_0x1cf044(this[_0x2a824a(0x348)]))[_0x2a824a(0x1d2)](_0x1b9fc4=>{_0x1b9fc4&&this['_updateURLWithCurrentState'](_0x1b9fc4);}),this[_0x2a824a(0x1de)][_0x2a824a(0x33e)][_0x2a824a(0x313)](_0x1cf044(this[_0x2a824a(0x348)]))[_0x2a824a(0x1d2)](()=>this[_0x2a824a(0x280)](_0x435015));}[_0x233059(0x1f8)](_0xdc46ff,_0xf9d605=!0x1){const _0x596adf=_0x233059,_0x271dc3=this[_0x596adf(0x1de)][_0x596adf(0x324)](_0x596adf(0x244));_0xdc46ff[_0x596adf(0x2fb)]()!==_0x271dc3&&this[_0x596adf(0x1de)]['setParam']('subunit',_0xdc46ff[_0x596adf(0x2fb)](),_0xf9d605);}async[_0x233059(0x280)](_0x2fc454){const _0x4d49b6=_0x233059;var _0x1469fc;const _0x4f2d11=this[_0x4d49b6(0x1de)][_0x4d49b6(0x324)](_0x4d49b6(0x244));if(!_0x4f2d11||!_0x2fc454[_0x4d49b6(0x296)](_0x4f2d11)){const _0x3548b4=_0x2fc454['getUnhiddenWorksheets']()[0x0],_0x1f6898=_0x2fc454[_0x4d49b6(0x296)](_0x3548b4);if(!_0x1f6898)return;this[_0x4d49b6(0x1f8)](_0x1f6898,!0x0),await this[_0x4d49b6(0x191)][_0x4d49b6(0x34b)](_0x234da8['id'],{'unitId':_0x2fc454[_0x4d49b6(0x2ae)](),'subUnitId':_0x3548b4});return;}((_0x1469fc=_0x2fc454['getActiveSheet']())==null?void 0x0:_0x1469fc[_0x4d49b6(0x2fb)]())!==_0x4f2d11&&await this[_0x4d49b6(0x191)]['executeCommand'](_0x234da8['id'],{'unitId':_0x2fc454[_0x4d49b6(0x2ae)](),'subUnitId':_0x4f2d11});}};ne=on([K(0x0,wt),K(0x1,_0x430dc1),K(0x2,_0x4bcb08),K(0x3,_0x58958f(_0x2c37bb)),K(0x4,_0xef147d(_0x135543))],ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x4f32c0,_0x397f48,_0x3d4a25,_0x356bc6)=>{const _0x20381d=_0x233059;for(var _0x5aa74a=_0x356bc6>0x1?void 0x0:_0x356bc6?an(_0x397f48,_0x3d4a25):_0x397f48,_0x58ed48=_0x4f32c0[_0x20381d(0x31d)]-0x1,_0x23b409;_0x58ed48>=0x0;_0x58ed48--)(_0x23b409=_0x4f32c0[_0x58ed48])&&(_0x5aa74a=_0x23b409(_0x5aa74a)||_0x5aa74a);return _0x5aa74a;},Ce=(_0x481b94,_0x521e96)=>(_0x29b152,_0x3ffd56)=>_0x521e96(_0x29b152,_0x3ffd56,_0x481b94);let re=class{constructor(_0x307b40,_0x1739f0,_0x2fb93c){const _0x29751c=_0x233059;this[_0x29751c(0x1bb)]=_0x307b40,this[_0x29751c(0x310)]=_0x1739f0,this['_renderManagerService']=_0x2fb93c;}[_0x233059(0x209)](_0x580654){const _0x24377c=_0x233059;this[_0x24377c(0x34e)](_0x580654),this[_0x24377c(0x2fe)](_0x580654);}[_0x233059(0x1a8)](_0x24024e){const _0x995d05=_0x233059,{unitID:_0x267e9a}=_0x24024e,_0x475aad=this['_renderManagerService'][_0x995d05(0x19e)](_0x267e9a)[_0x995d05(0x2db)](_0x5bf960),{redoCache:_0x1277b2}=_0x475aad[_0x995d05(0x1ba)]();if(_0x1277b2[_0x995d05(0x31d)]===0x0)return _0x24024e;let _0x50dc47=_0xa39a85[_0x995d05(0x28b)](_0x24024e['mutations'][0x0]);for(let _0x3d25e9=0x0;_0x3d25e9<_0x1277b2[_0x995d05(0x31d)];_0x3d25e9++){const _0x35f3fe={'id':'doc.mutation.rich-text-editing','params':{..._0x1277b2[_0x3d25e9]}},_0x1d18e5=this[_0x995d05(0x310)]['transformMutation'](_0x50dc47,_0x35f3fe,!0x1);if(_0x3da689(_0x1d18e5))throw _0x1d18e5[_0x995d05(0x1fe)];_0x50dc47=_0x1d18e5[_0x995d05(0x368)];}return{..._0xa39a85[_0x995d05(0x28b)](_0x24024e),'mutations':[_0x50dc47]};}[_0x233059(0x34e)](_0x267124){const _0x2d0f78=_0x233059,{unitID:_0x5e4bfa}=_0x267124,_0x3caeb9=this['_renderManagerService'][_0x2d0f78(0x19e)](_0x5e4bfa)['with'](_0x5bf960),{undoCache:_0x176458,redoCache:_0x18b78b}=_0x3caeb9['getUndoRedoMutationParamsCache']();if(_0x176458['length']===0x0||_0x18b78b[_0x2d0f78(0x31d)]===0x0)return;const _0x3deb21=[],_0x27b524=[];let _0x40039d=_0xa39a85[_0x2d0f78(0x28b)](_0x267124[_0x2d0f78(0x32b)][0x0]),_0x2044ac=_0xa39a85[_0x2d0f78(0x28b)](_0x267124[_0x2d0f78(0x32b)][0x0]);for(let _0xb60a1=_0x176458[_0x2d0f78(0x31d)]-0x1;_0xb60a1>=0x0;_0xb60a1--){const _0x395bd9={'id':_0x2d0f78(0x243),'params':{..._0x176458[_0xb60a1]}},_0x5edce9={'id':_0x2d0f78(0x243),'params':{..._0x18b78b[_0xb60a1]}},_0x5be897=this[_0x2d0f78(0x310)][_0x2d0f78(0x281)](_0x40039d,_0x395bd9,!0x1),_0x4ecde7=this[_0x2d0f78(0x310)][_0x2d0f78(0x281)](_0x2044ac,_0x5edce9,!0x1);if(_0x3da689(_0x5be897))throw _0x5be897[_0x2d0f78(0x1fe)];if(_0x3da689(_0x4ecde7))throw _0x4ecde7[_0x2d0f78(0x1fe)];_0x3deb21[_0x2d0f78(0x2da)](_0x5be897[_0x2d0f78(0x269)]['params']),_0x27b524[_0x2d0f78(0x2da)](_0x4ecde7[_0x2d0f78(0x269)][_0x2d0f78(0x319)]),_0x40039d=_0x5be897[_0x2d0f78(0x368)],_0x2044ac=_0x4ecde7[_0x2d0f78(0x368)];}_0x3caeb9[_0x2d0f78(0x1e4)]({'undoCache':_0x3deb21,'redoCache':_0x27b524});}[_0x233059(0x2fe)](_0x14aa83){const _0x41e574=_0x233059,{unitID:_0x417b2f}=_0x14aa83,_0x23a035=this[_0x41e574(0x1d8)][_0x41e574(0x19e)](_0x417b2f)['with'](_0x5bf960),_0x218efc=_0x23a035[_0x41e574(0x260)]();if(_0x218efc==null)return;const _0x45b59f=[{'id':_0x41e574(0x243),'params':{'unitId':_0x14aa83[_0x41e574(0x2f0)],'actions':null,'textRanges':[_0x218efc]}}],_0x523a02=this['_transformService'][_0x41e574(0x192)](_0x14aa83,_0x45b59f);if(!_0x281c58(_0x523a02))throw _0x523a02[_0x41e574(0x1fe)];const _0x204ffa=_0x523a02['m2Prime'][0x0][_0x41e574(0x319)][_0x41e574(0x370)];Array[_0x41e574(0x1e5)](_0x204ffa)&&_0x204ffa[_0x41e574(0x31d)]&&_0x23a035['setActiveRange'](_0x204ffa[0x0]);}};re=cn([Ce(0x0,_0x58958f(_0x17fcfa)),Ce(0x1,_0x180467),Ce(0x2,_0x44367d)],re);var ln=Object[_0x233059(0x2c4)],_n=(_0x3995c0,_0x4768d6,_0x1453ca,_0x53064)=>{const _0x13bc3c=_0x233059;for(var _0x54d9dd=_0x53064>0x1?void 0x0:_0x53064?ln(_0x4768d6,_0x1453ca):_0x4768d6,_0x188fb3=_0x3995c0[_0x13bc3c(0x31d)]-0x1,_0x5c9d68;_0x188fb3>=0x0;_0x188fb3--)(_0x5c9d68=_0x3995c0[_0x188fb3])&&(_0x54d9dd=_0x5c9d68(_0x54d9dd)||_0x54d9dd);return _0x54d9dd;},Ee=(_0x3c0573,_0x11c375)=>(_0x28231e,_0x19025e)=>_0x11c375(_0x28231e,_0x19025e,_0x3c0573);let oe=class{constructor(_0x454bb0,_0x53f765,_0x7bfc2e){const _0x585a22=_0x233059;this[_0x585a22(0x1bb)]=_0x454bb0,this['_transformService']=_0x53f765,this['_docStateChangeManagerService']=_0x7bfc2e;}['transformStateCache'](_0x3806de){this['_transformHistoryAndStateStack'](_0x3806de);}[_0x233059(0x1a8)](_0x1e8281){const _0x6dc341=_0x233059,{unitID:_0x460fb0}=_0x1e8281,{collaboration:_0x114156}=this['_docStateChangeManagerService'][_0x6dc341(0x1ff)](_0x460fb0);if(_0x114156[_0x6dc341(0x31d)]===0x0)return _0x1e8281;let _0x5d3957=_0xa39a85['deepClone'](_0x1e8281['mutations'][0x0]);for(let _0x2c6df0=0x0;_0x2c6df0<_0x114156[_0x6dc341(0x31d)];_0x2c6df0++){const _0x4c4939={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x114156[_0x2c6df0]['unitId'],..._0x114156[_0x2c6df0][_0x6dc341(0x21f)]}},_0xd39cfd=this[_0x6dc341(0x310)][_0x6dc341(0x281)](_0x5d3957,_0x4c4939,!0x1);if(_0x3da689(_0xd39cfd))throw _0xd39cfd[_0x6dc341(0x1fe)];_0x5d3957=_0xd39cfd[_0x6dc341(0x368)];}return{..._0xa39a85[_0x6dc341(0x28b)](_0x1e8281),'mutations':[_0x5d3957]};}['_transformHistoryAndStateStack'](_0x48e810){const _0x2892cb=_0x233059,{unitID:_0x56f773}=_0x48e810,{history:_0x370052,collaboration:_0x443bc7}=this[_0x2892cb(0x234)][_0x2892cb(0x1ff)](_0x56f773);if(_0x370052[_0x2892cb(0x31d)]===0x0&&_0x443bc7['length']===0x0)return;const _0xad2299=[],_0x4e2e73=[];let _0x21ddff=_0xa39a85['deepClone'](_0x48e810['mutations'][0x0]),_0xde9a2e=_0xa39a85[_0x2892cb(0x28b)](_0x48e810[_0x2892cb(0x32b)][0x0]);for(let _0x3e220f=_0x370052[_0x2892cb(0x31d)]-0x1;_0x3e220f>=0x0;_0x3e220f--){const _0x322eaf={'id':_0x2892cb(0x243),'params':{'unitId':_0x370052[_0x3e220f][_0x2892cb(0x366)],..._0x370052[_0x3e220f]['undoState']}},_0x5a757a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x370052[_0x3e220f][_0x2892cb(0x366)],..._0x370052[_0x3e220f][_0x2892cb(0x21f)]}},_0x37bb25=this[_0x2892cb(0x310)]['transformMutation'](_0x21ddff,_0x322eaf,!0x1),_0xc53812=this[_0x2892cb(0x310)][_0x2892cb(0x281)](_0xde9a2e,_0x5a757a,!0x1);if(_0x3da689(_0x37bb25))throw _0x37bb25['error'];if(_0x3da689(_0xc53812))throw _0xc53812[_0x2892cb(0x1fe)];_0xad2299['unshift']({..._0x370052[_0x3e220f],'undoState':_0x37bb25[_0x2892cb(0x269)][_0x2892cb(0x319)],'redoState':_0xc53812['m2Prime'][_0x2892cb(0x319)]}),_0x21ddff=_0x37bb25[_0x2892cb(0x368)],_0xde9a2e=_0xc53812[_0x2892cb(0x368)];}_0x21ddff=_0xa39a85[_0x2892cb(0x28b)](_0x48e810['mutations'][0x0]),_0xde9a2e=_0xa39a85['deepClone'](_0x48e810['mutations'][0x0]);for(let _0x111e5c=_0x443bc7[_0x2892cb(0x31d)]-0x1;_0x111e5c>=0x0;_0x111e5c--){const _0x2f1b23={'id':_0x2892cb(0x243),'params':{'unitId':_0x443bc7[_0x111e5c][_0x2892cb(0x366)],..._0x443bc7[_0x111e5c][_0x2892cb(0x195)]}},_0x5e7101={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x443bc7[_0x111e5c][_0x2892cb(0x366)],..._0x443bc7[_0x111e5c]['redoState']}},_0x4fd96e=this[_0x2892cb(0x310)][_0x2892cb(0x281)](_0x21ddff,_0x2f1b23,!0x1),_0x58e570=this[_0x2892cb(0x310)][_0x2892cb(0x281)](_0xde9a2e,_0x5e7101,!0x1);if(_0x3da689(_0x4fd96e))throw _0x4fd96e['error'];if(_0x3da689(_0x58e570))throw _0x58e570['error'];_0x4e2e73[_0x2892cb(0x2da)]({..._0x443bc7[_0x111e5c],'undoState':_0x4fd96e[_0x2892cb(0x269)]['params'],'redoState':_0x58e570[_0x2892cb(0x269)][_0x2892cb(0x319)]}),_0x21ddff=_0x4fd96e['m1Prime'],_0xde9a2e=_0x58e570[_0x2892cb(0x368)];}this['_docStateChangeManagerService'][_0x2892cb(0x1fc)](_0x56f773,{'history':_0xad2299,'collaboration':_0x4e2e73});}};oe=_n([Ee(0x0,_0x58958f(_0x17fcfa)),Ee(0x1,_0x180467),Ee(0x2,_0x58958f(_0x49d8ab))],oe);var hn=Object[_0x233059(0x2c4)],un=(_0x849ef8,_0x292414,_0x33b10d,_0x8001dc)=>{for(var _0x1999a2=_0x8001dc>0x1?void 0x0:_0x8001dc?hn(_0x292414,_0x33b10d):_0x292414,_0x41fe5a=_0x849ef8['length']-0x1,_0x1be13c;_0x41fe5a>=0x0;_0x41fe5a--)(_0x1be13c=_0x849ef8[_0x41fe5a])&&(_0x1999a2=_0x1be13c(_0x1999a2)||_0x1999a2);return _0x1999a2;},it=(_0xf81ab5,_0x20dc9b)=>(_0x7d90e5,_0x59c7a1)=>_0x20dc9b(_0x7d90e5,_0x59c7a1,_0xf81ab5);let ae=class{constructor(_0x3366ee,_0x4ee252){const _0x334699=_0x233059;this[_0x334699(0x1bb)]=_0x3366ee,this[_0x334699(0x310)]=_0x4ee252;}['transformSelections'](_0x3c6ff6){const _0x569f4e=_0x233059;var _0x5bb338;const _0x202118=this[_0x569f4e(0x1bb)][_0x569f4e(0x31b)](_0x8cb75b),_0x49b4f1=(_0x5bb338=_0x202118['getDocRanges']())!=null?_0x5bb338:[];if(_0x49b4f1['length']===0x0)return;const _0x10462e=_0x3c6ff6[_0x569f4e(0x2f0)],_0x20a579=[{'id':_0x569f4e(0x243),'params':{'unitId':_0x10462e,'actions':null,'textRanges':_0x49b4f1}}],_0x2578be=this[_0x569f4e(0x310)][_0x569f4e(0x192)](_0x3c6ff6,_0x20a579);if(!_0x281c58(_0x2578be))throw _0x2578be[_0x569f4e(0x1fe)];const _0x1af70d=_0x2578be[_0x569f4e(0x269)][0x0][_0x569f4e(0x319)][_0x569f4e(0x370)];Array['isArray'](_0x1af70d)&&_0x1af70d['length']&&_0x202118['replaceDocRanges'](_0x1af70d,{'unitId':_0x10462e,'subUnitId':_0x10462e},!0x1);}};ae=un([it(0x0,_0x58958f(_0x17fcfa)),it(0x1,_0x180467)],ae);var dn=Object[_0x233059(0x2c4)],fn=(_0x5664bc,_0x404b41,_0x34ca70,_0x2fa8ad)=>{for(var _0x38c3fa=_0x2fa8ad>0x1?void 0x0:_0x2fa8ad?dn(_0x404b41,_0x34ca70):_0x404b41,_0x56d002=_0x5664bc['length']-0x1,_0x3d7f64;_0x56d002>=0x0;_0x56d002--)(_0x3d7f64=_0x5664bc[_0x56d002])&&(_0x38c3fa=_0x3d7f64(_0x38c3fa)||_0x38c3fa);return _0x38c3fa;},M=(_0x3d338b,_0x556cdb)=>(_0x5d8097,_0x51f3fe)=>_0x556cdb(_0x5d8097,_0x51f3fe,_0x3d338b);let ce=class extends _0x31fe53{constructor(_0x33ac0f,_0x251fd5,_0x50dda7,_0x461eb6,_0x5f0e3e,_0x2d4a52,_0x146bac,_0x1144ce){const _0x25b3f1=_0x233059;super(),_(this,_0x25b3f1(0x2f5),new _0x5e9239(_0x6660c8['NOT_COLLAB'])),(this[_0x25b3f1(0x234)]=_0x33ac0f,this[_0x25b3f1(0x1fd)]=_0x251fd5,this['_docTransformIMECacheService']=_0x50dda7,this[_0x25b3f1(0x323)]=_0x461eb6,this[_0x25b3f1(0x1b7)]=_0x5f0e3e,this[_0x25b3f1(0x210)]=_0x2d4a52,this[_0x25b3f1(0x1b2)]=_0x146bac,this[_0x25b3f1(0x2b9)]=_0x1144ce,this[_0x25b3f1(0x31a)]());}[_0x233059(0x31a)](){const _0x2dbbdd=_0x233059;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0x2dbbdd(0x1d2)](_0x3fe079=>{const _0x31234e=_0x2dbbdd,_0x2f1b18=this[_0x31234e(0x234)][_0x31234e(0x289)][_0x31234e(0x1d2)](_0xe35ef5=>{const _0x5757be=_0x31234e;if(_0xe35ef5==null)return;const {unitId:_0xbf3b9a,redoState:_0x2676d7,commandId:_0x19b25a}=_0xe35ef5;if(_0xbf3b9a!==_0x3fe079[_0x5757be(0x2f0)])return;const _0x3e40c6={'id':_0x19b25a,'type':_0x1d92a9[_0x5757be(0x24f)],'params':{'unitId':_0xbf3b9a,'actions':_0x2676d7[_0x5757be(0x2ee)],'textRanges':null}};_0x3fe079[_0x5757be(0x20a)](_0x3e40c6);});if(_0x3fe079[_0x31234e(0x22d)](_0x2f1b18),_0x3fe079 instanceof _0x413438){const _0x13f82c={'onTransformIME':_0x179fe9=>this[_0x31234e(0x360)]['transformIMECache'](_0x179fe9),'onTransformState':_0x5cb67a=>this[_0x31234e(0x323)][_0x31234e(0x249)](_0x5cb67a),'onTransformSelections':_0xb57c8=>this['_docTransformSelectionsService'][_0x31234e(0x259)](_0xb57c8),'onSyncEditingCollabCursor':_0x968a85=>this[_0x31234e(0x210)][_0x31234e(0x257)](_0x968a85),'onTransformRemoteChangesetByIMECache':_0x49f12f=>this['_docTransformIMECacheService'][_0x31234e(0x1a8)](_0x49f12f),'onTransformRemoteChangesetByStateCache':_0x12fc7c=>this['_docTransformStateCacheService'][_0x31234e(0x1a8)](_0x12fc7c)};_0x3fe079['addHandlerCallback'](_0x13f82c);}}));}};ce=fn([M(0x0,_0x58958f(_0x49d8ab)),M(0x1,_0x58958f(_0x5ea498)),M(0x2,_0x58958f(re)),M(0x3,_0x58958f(oe)),M(0x4,_0x58958f(ae)),M(0x5,_0x58958f(je)),M(0x6,_0x57af2e),M(0x7,_0x58958f(_0x3cf2c0))],ce);var Sn=Object['getOwnPropertyDescriptor'],mn=(_0x2a1845,_0x599ddb,_0x48f51d,_0x304168)=>{const _0x49c15a=_0x233059;for(var _0x1192c3=_0x304168>0x1?void 0x0:_0x304168?Sn(_0x599ddb,_0x48f51d):_0x599ddb,_0x49b492=_0x2a1845[_0x49c15a(0x31d)]-0x1,_0x37e2ee;_0x49b492>=0x0;_0x49b492--)(_0x37e2ee=_0x2a1845[_0x49b492])&&(_0x1192c3=_0x37e2ee(_0x1192c3)||_0x1192c3);return _0x1192c3;},be=(_0x2c6376,_0xff19a3)=>(_0x4b272b,_0x3541c2)=>_0xff19a3(_0x4b272b,_0x3541c2,_0x2c6376);let Ae=class extends _0x31fe53{constructor(_0x607b27,_0x16c74d,_0x538de0){const _0x5cc8ed=_0x233059;super(),_(this,_0x5cc8ed(0x33f),new Map()),_(this,_0x5cc8ed(0x325),new Map()),_(this,_0x5cc8ed(0x256),!0x1),(this[_0x5cc8ed(0x2ad)]=_0x607b27,this['_localStorageService']=_0x16c74d,this[_0x5cc8ed(0x187)]=_0x538de0);}[_0x233059(0x1dd)](){const _0x2441ef=_0x233059;this[_0x2441ef(0x256)]=!0x0;}['enableLocalCache'](){const _0x5a4438=_0x233059;this[_0x5a4438(0x256)]=!0x1;}get[_0x233059(0x2f1)](){const _0x4e1e6e=_0x233059;return this[_0x4e1e6e(0x325)];}[_0x233059(0x2a5)](){const _0x2924d8=_0x233059;this[_0x2924d8(0x2eb)]()[_0x2924d8(0x30a)](()=>super[_0x2924d8(0x2a5)]());}async['loadOfflineData'](_0x1e2fae){const _0x48f098=_0x233059;return this[_0x48f098(0x256)]?null:this[_0x48f098(0x1f2)][_0x48f098(0x334)](_0xa1d69a(_0x1e2fae));}async['saveOfflineData'](_0x5ce378,_0x56f4e8){const _0x1c5e2b=_0x233059;return!!this['_localStorageService'][_0x1c5e2b(0x1a7)](_0x5ce378,_0x56f4e8);}['updateOfflineData'](_0x2652eb,_0x13caba,_0x176668,_0x5a891){const _0x524f07=_0x233059,_0x916a45=this['_revisionService']['getCurrentRevOfUnit'](_0x2652eb);this['_cachedData'][_0x524f07(0x308)](_0x2652eb,{'unitID':_0x2652eb,'type':_0x13caba,'awaitingChangeset':_0x176668,'mutations':_0x5a891,'rev':_0x916a45}),this[_0x524f07(0x325)][_0x524f07(0x344)](_0x2652eb)||this[_0x524f07(0x21c)](_0x2652eb);}['_scheduleSaving'](_0x16c7fd){const _0x357e39=_0x233059,_0x2fc941=this[_0x357e39(0x1ae)]();_0x2fc941===0x0?this[_0x357e39(0x196)](_0x16c7fd):this[_0x357e39(0x325)][_0x357e39(0x308)](_0x16c7fd,setTimeout(()=>this[_0x357e39(0x196)](_0x16c7fd),_0x2fc941));}['_getSaveTimeout'](){const _0x1bdacf=_0x233059;var _0x1ec5ed;return(_0x1ec5ed=this[_0x1bdacf(0x2ad)][_0x1bdacf(0x27a)](_0x4aca84))!=null?_0x1ec5ed:_0x5e91f1;}[_0x233059(0x196)](_0x1bfb88){const _0x4240cf=_0x233059,_0x464bdd=this[_0x4240cf(0x325)][_0x4240cf(0x31b)](_0x1bfb88);return _0x464bdd!==void 0x0&&window[_0x4240cf(0x19b)](_0x464bdd),this[_0x4240cf(0x1f2)]['setItem'](_0xa1d69a(_0x1bfb88),this[_0x4240cf(0x33f)][_0x4240cf(0x31b)](_0x1bfb88))[_0x4240cf(0x30a)](()=>this[_0x4240cf(0x325)][_0x4240cf(0x224)](_0x1bfb88));}async['exhaustSavingTask'](){const _0x5545f4=_0x233059,_0x349a40=[];this[_0x5545f4(0x325)][_0x5545f4(0x2cb)]((_0x228085,_0x57e4fa)=>{const _0x549e80=_0x5545f4;window['clearTimeout'](_0x228085),_0x349a40[_0x549e80(0x1aa)](this[_0x549e80(0x196)](_0x57e4fa)[_0x549e80(0x30a)](()=>{const _0x4ef845=_0x549e80;this['_saveTaskMap'][_0x4ef845(0x224)](_0x57e4fa);}));}),await Promise[_0x5545f4(0x298)](_0x349a40);}};Ae=mn([be(0x0,_0x3941f1),be(0x1,_0x4eb88a),be(0x2,_0x58958f(_0x300924))],Ae);class gn extends _0x1fee6d{constructor(){const _0x2d1f8a=_0x233059;super(),_(this,'urlChange$'),this[_0x2d1f8a(0x33e)]=_0x3f43ac(window,_0x2d1f8a(0x291))[_0x2d1f8a(0x313)](_0x1cf044(this[_0x2d1f8a(0x348)]),_0x35fe69(0x1),_0x1da391(void 0x0));}[_0x233059(0x340)](_0x3722f3,_0x1c2f06,_0x14760c=!0x1){const _0x44c6f8=_0x233059,_0x2375ab=new URL(window['location'][_0x44c6f8(0x2bc)]);_0x2375ab[_0x44c6f8(0x318)][_0x44c6f8(0x308)](_0x3722f3,_0x1c2f06),_0x14760c?window[_0x44c6f8(0x2b1)][_0x44c6f8(0x2aa)]('','',_0x2375ab[_0x44c6f8(0x252)]()):window[_0x44c6f8(0x2b1)][_0x44c6f8(0x2c1)]('','',_0x2375ab['toString']());}[_0x233059(0x30b)](_0x433f6e,_0x4f93e0=!0x1){const _0x1388e5=_0x233059,_0x199d54=new URL(window[_0x1388e5(0x202)][_0x1388e5(0x2bc)]);_0x199d54[_0x1388e5(0x318)][_0x1388e5(0x224)](_0x433f6e),_0x4f93e0?window[_0x1388e5(0x2b1)][_0x1388e5(0x2aa)]('','',_0x199d54[_0x1388e5(0x252)]()):window[_0x1388e5(0x2b1)][_0x1388e5(0x2c1)]('','',_0x199d54['toString']());}[_0x233059(0x324)](_0x57ad0b){const _0x24efb8=_0x233059;var _0x3d172e;return(_0x3d172e=new URL(window[_0x24efb8(0x202)][_0x24efb8(0x2bc)])[_0x24efb8(0x318)][_0x24efb8(0x31b)](_0x57ad0b))!=null?_0x3d172e:void 0x0;}}var vn=Object[_0x233059(0x19d)],In=Object[_0x233059(0x2c4)],pn=(_0x1cf723,_0x29329b,_0xbdf5c1)=>_0x29329b in _0x1cf723?vn(_0x1cf723,_0x29329b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbdf5c1}):_0x1cf723[_0x29329b]=_0xbdf5c1,Cn=(_0x428bcb,_0x413fb5,_0x371404,_0x2ada60)=>{const _0x241a2b=_0x233059;for(var _0x25037d=_0x2ada60>0x1?void 0x0:_0x2ada60?In(_0x413fb5,_0x371404):_0x413fb5,_0x44ff46=_0x428bcb[_0x241a2b(0x31d)]-0x1,_0x1a72ab;_0x44ff46>=0x0;_0x44ff46--)(_0x1a72ab=_0x428bcb[_0x44ff46])&&(_0x25037d=_0x1a72ab(_0x25037d)||_0x25037d);return _0x25037d;},Oe=(_0xb675ee,_0x46d063)=>(_0x285fb4,_0xd49d37)=>_0x46d063(_0x285fb4,_0xd49d37,_0xb675ee),En=(_0x53fb22,_0x299fd9,_0x23a43a)=>pn(_0x53fb22,_0x299fd9+'',_0x23a43a);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x327775{constructor(_0x2809aa=st,_0x4ea76a,_0x163d8c,_0x526f4c){const _0x20220a=_0x233059;super(),this['_config']=_0x2809aa,this[_0x20220a(0x1d8)]=_0x4ea76a,this[_0x20220a(0x1bb)]=_0x163d8c,this[_0x20220a(0x2ad)]=_0x526f4c;const {..._0x5c83a8}=_0xd06a7e({},st,this[_0x20220a(0x236)]);this[_0x20220a(0x2ad)]['setConfig'](nn,_0x5c83a8);}['onStarting'](){const _0x7c6174=_0x233059;this[_0x7c6174(0x1e2)](),this[_0x7c6174(0x1a1)]();}[_0x233059(0x1a6)](){const _0x12e1c4=_0x233059;this[_0x12e1c4(0x1b3)]();}['_registerDependencies'](){const _0x29eca1=_0x233059;var _0x2dbf1b;const _0x4434c9=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x335f8f,{'useClass':_0x5d58bc}],[_0x27dd80,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x47116d(this[_0x29eca1(0x1bb)],_0xe0e22(_0x4434c9,(_0x2dbf1b=this[_0x29eca1(0x236)])==null?void 0x0:_0x2dbf1b['override']));}['_registerRenderDependencies'](){const _0x2b9756=_0x233059;this[_0x2b9756(0x22d)](this['_renderManagerService'][_0x2b9756(0x29f)](_0x7df75b['UNIVER_DOC'],[Ue])),this[_0x2b9756(0x22d)](this[_0x2b9756(0x1d8)]['registerRenderModule'](_0x7df75b[_0x2b9756(0x247)],[Le]));}[_0x233059(0x1a1)](){const _0x1c14a5=_0x233059;_0x2806ec(this[_0x1c14a5(0x1bb)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x233059(0x20e),bn),ye=Cn([_0x46dea2(_0x121252),Oe(0x1,_0x44367d),Oe(0x2,_0x58958f(_0x17fcfa)),Oe(0x3,_0x3941f1)],ye);var On=Object[_0x233059(0x2c4)],Tn=(_0x372f0e,_0x38f27b,_0x5ae943,_0x43f992)=>{for(var _0x29422f=_0x43f992>0x1?void 0x0:_0x43f992?On(_0x38f27b,_0x5ae943):_0x38f27b,_0x4713d2=_0x372f0e['length']-0x1,_0x35b818;_0x4713d2>=0x0;_0x4713d2--)(_0x35b818=_0x372f0e[_0x4713d2])&&(_0x29422f=_0x35b818(_0x29422f)||_0x29422f);return _0x29422f;},z=(_0x3ae501,_0x4a7f99)=>(_0xa1e0e9,_0x517c99)=>_0x4a7f99(_0xa1e0e9,_0x517c99,_0x3ae501);let nt=class extends _0x24d6c5{constructor(_0x15c8ce,_0x384ead,_0x4835b6,_0x561968,_0x1fcbea){super(_0x15c8ce,_0x384ead,_0x4835b6,_0x561968,_0x1fcbea);}async[_0x233059(0x216)](_0x54de8a){const _0x4dff16=_0x233059,_0x36ac60=await this[_0x4dff16(0x1ca)](),_0x205de5=this[_0x4dff16(0x367)](_0x54de8a,_0x36ac60);return this['_doCreateSocket'](_0x205de5);}[_0x233059(0x367)](_0x2c83c5,_0x574004){const _0xbf493e=_0x233059,_0x4f42a9=typeof window>'u'?new URL(_0x2c83c5):new URL(_0x2c83c5,window[_0xbf493e(0x202)][_0xbf493e(0x1e9)]);_0x4f42a9['searchParams'][_0xbf493e(0x308)](_0xbf493e(0x22b),_0x574004);const _0x1f20c4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xbf493e(0x202)][_0xbf493e(0x1c4)]);return _0x1f20c4[_0xbf493e(0x31b)](_0xbf493e(0x353))&&_0x4f42a9[_0xbf493e(0x318)][_0xbf493e(0x308)](_0xbf493e(0x353),_0x1f20c4[_0xbf493e(0x31b)](_0xbf493e(0x353))),_0x4f42a9[_0xbf493e(0x252)]();}async[_0x233059(0x1ca)](){const _0x2ca69f=_0x233059;var _0x5365fa,_0x261cb1,_0x237e7b;const _0xa68744=this[_0x2ca69f(0x2ad)][_0x2ca69f(0x27a)](_0x51518b),_0x370098=(_0x5365fa=_0xa68744==null?void 0x0:_0xa68744[_0x2ca69f(0x363)])!=null?_0x5365fa:_0x3f943f;return(_0x237e7b=(_0x261cb1=(await this[_0x2ca69f(0x239)][_0x2ca69f(0x31b)](_0x370098,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x261cb1[_0x2ca69f(0x358)])!=null?_0x237e7b:'';}};nt=Tn([z(0x0,_0x58958f(_0x17fcfa)),z(0x1,_0x58958f(_0x1f27d8)),z(0x2,_0x3941f1),z(0x3,_0x430dc1),z(0x4,_0x38517c)],nt);const rt=0x7530,ot=_0x233059(0x286);class Gn extends _0x31fe53{constructor(){const _0x5ceb2c=_0x233059;super(),_(this,_0x5ceb2c(0x285),_0x5d49ad()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5ceb2c(0x25b),new Map()),_(this,_0x5ceb2c(0x2ab),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x5ceb2c(0x2cf),new Map()),this[_0x5ceb2c(0x1e6)]();}[_0x233059(0x2a5)](){const _0x5d43d2=_0x233059;super[_0x5d43d2(0x2a5)](),this[_0x5d43d2(0x207)]['forEach']((_0x290a8b,_0x232b8a)=>this[_0x5d43d2(0x1b5)](_0x232b8a)),this['_heartbeatTimer']&&window[_0x5d43d2(0x221)](this[_0x5d43d2(0x2ab)]);}[_0x233059(0x245)](_0x45f4f5){return this['_ensureSubject'](_0x45f4f5)['pipe'](_0x1ebe47());}[_0x233059(0x326)](_0x411b1b){const _0x2ba5b3=_0x233059;this['_selfUnitIDs']['size']===0x0&&this[_0x2ba5b3(0x1b9)](),this['_selfUnitIDs'][_0x2ba5b3(0x1f9)](_0x411b1b),this[_0x2ba5b3(0x279)]({'type':0x0,'memberID':this[_0x2ba5b3(0x285)],'unitIDs':[_0x411b1b],'isForwarded':!0x1});}[_0x233059(0x371)](_0x519b70){const _0x1a3207=_0x233059;this[_0x1a3207(0x2f8)]['delete'](_0x519b70),this[_0x1a3207(0x2f8)]['size']===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x233059(0x1e6)](){const _0x4ccff3=_0x233059;this[_0x4ccff3(0x22d)](_0x2a94ec(_0x3f43ac(window,_0x4ccff3(0x246))[_0x4ccff3(0x1d2)](_0x57bddb=>{const _0x4f9c5d=_0x4ccff3;if(_0x57bddb[_0x4f9c5d(0x198)]!==ot||!_0x57bddb['newValue'])return;const _0x5b692d=JSON[_0x4f9c5d(0x290)](_0x57bddb[_0x4f9c5d(0x190)]);this[_0x4f9c5d(0x301)](_0x5b692d);}))),window[_0x4ccff3(0x1cb)](_0x4ccff3(0x1ef),()=>this['_send']({'type':0x1,'memberID':this[_0x4ccff3(0x285)],'unitIDs':Array[_0x4ccff3(0x29d)](this['_selfUnitIDs'])}));}[_0x233059(0x301)](_0x3b6f83){const _0x24ffd5=_0x233059;switch(_0x3b6f83[_0x24ffd5(0x2d4)]){case 0x0:this[_0x24ffd5(0x1a3)](_0x3b6f83);break;case 0x1:this[_0x24ffd5(0x28a)](_0x3b6f83);break;case 0x2:this['_handleHeartbeatEvent'](_0x3b6f83);break;}}[_0x233059(0x1a3)](_0x12ad38){const _0x57e672=_0x233059,{unitIDs:_0x8b42ee,memberID:_0x1c55b3,isForwarded:_0x1a8a61}=_0x12ad38;_0x8b42ee['forEach'](_0x31240f=>{const _0x2387a2=_0x3372;if(!_0x1a8a61&&this[_0x2387a2(0x25b)][_0x2387a2(0x344)](_0x31240f)&&this[_0x2387a2(0x248)](_0x31240f)[_0x2387a2(0x32e)](_0x35b1a7[_0x2387a2(0x34d)]),!this[_0x2387a2(0x25b)][_0x2387a2(0x344)](_0x31240f)||!this[_0x2387a2(0x25b)][_0x2387a2(0x31b)](_0x31240f)[_0x2387a2(0x344)](_0x1c55b3)){const _0x5df6bd=this[_0x2387a2(0x25b)][_0x2387a2(0x31b)](_0x31240f)||new Set();_0x5df6bd[_0x2387a2(0x1f9)](_0x1c55b3),this[_0x2387a2(0x25b)][_0x2387a2(0x308)](_0x31240f,_0x5df6bd),this[_0x2387a2(0x231)](_0x1c55b3);}}),_0x1a8a61||this['_send']({'type':0x0,'memberID':this[_0x57e672(0x285)],'unitIDs':[...this[_0x57e672(0x2f8)]],'isForwarded':!0x0});}[_0x233059(0x231)](_0x16179f){const _0x5e37a5=_0x233059;this[_0x5e37a5(0x1b5)](_0x16179f);const _0x16a245=window[_0x5e37a5(0x1bd)](()=>{const _0x216c0c=_0x5e37a5;this[_0x216c0c(0x25b)][_0x216c0c(0x2cb)](_0x46d6f0=>{const _0x566ee6=_0x216c0c;_0x46d6f0[_0x566ee6(0x224)](_0x16179f);});},rt*0x2);this['_clearOtherTimers'][_0x5e37a5(0x308)](_0x16179f,_0x16a245);}[_0x233059(0x1b5)](_0xc570ab){const _0x5c680c=_0x233059;if(this['_clearOtherTimers'][_0x5c680c(0x344)](_0xc570ab)){const _0x55663d=this[_0x5c680c(0x207)]['get'](_0xc570ab);_0x55663d&&window[_0x5c680c(0x19b)](_0x55663d),this['_clearOtherTimers'][_0x5c680c(0x308)](_0xc570ab,null);}}[_0x233059(0x28a)](_0x2b7a29){const _0x5e7e49=_0x233059,{memberID:_0x441b7b,unitIDs:_0x5ca298}=_0x2b7a29;_0x5ca298[_0x5e7e49(0x2cb)](_0x565e9a=>{const _0x11a848=_0x5e7e49;var _0x2def28;const _0x43fbba=this[_0x11a848(0x25b)][_0x11a848(0x31b)](_0x565e9a);_0x43fbba&&(_0x43fbba['delete'](_0x441b7b),(_0x2def28=this['_ensureSubject'](_0x565e9a))==null||_0x2def28[_0x11a848(0x32e)](_0x43fbba[_0x11a848(0x29c)]===0x0?_0x35b1a7[_0x11a848(0x2e5)]:_0x35b1a7[_0x11a848(0x34d)]));}),this['_removeClearOtherTimer'](_0x441b7b);}['_handleHeartbeatEvent'](_0x1463f3){const _0x36382a=_0x233059;this[_0x36382a(0x231)](_0x1463f3[_0x36382a(0x322)]);}[_0x233059(0x279)](_0x452ddc){const _0x390866=_0x233059;localStorage[_0x390866(0x1a7)](ot,JSON['stringify'](_0x452ddc));}[_0x233059(0x1b9)](){const _0x5b5392=_0x233059;this['_heartbeatTimer']=window[_0x5b5392(0x2f7)](()=>{const _0x133e15=_0x5b5392;this[_0x133e15(0x279)]({'type':0x2,'memberID':this['_id']});},rt);}['_ensureSubject'](_0x1c5b44){const _0x387b87=_0x233059;return this[_0x387b87(0x2cf)][_0x387b87(0x344)](_0x1c5b44)||this[_0x387b87(0x2cf)][_0x387b87(0x308)](_0x1c5b44,new _0x5e9239(_0x35b1a7[_0x387b87(0x2e5)])),this[_0x387b87(0x2cf)][_0x387b87(0x31b)](_0x1c5b44);}}var Ut=(_0x380446=>(_0x380446[_0x380446[_0x233059(0x258)]=0x0]=_0x233059(0x258),_0x380446[_0x380446['OK']=0x1]='OK',_0x380446[_0x380446['INTERNAL_ERROR']=0x2]=_0x233059(0x1d1),_0x380446[_0x380446['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x380446[_0x380446[_0x233059(0x1d5)]=0x4]=_0x233059(0x1d5),_0x380446[_0x380446[_0x233059(0x272)]=0x5]=_0x233059(0x272),_0x380446[_0x380446[_0x233059(0x2c5)]=0x6]='ALREADY_EXISTS',_0x380446[_0x380446['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x380446[_0x380446[_0x233059(0x354)]=0x8]='TOO_MANY_REQUESTS',_0x380446[_0x380446['COMPLETION_FINISHED']=0x9]=_0x233059(0x2a0),_0x380446[_0x380446[_0x233059(0x349)]=0xa]=_0x233059(0x349),_0x380446[_0x380446['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x380446[_0x380446[_0x233059(0x2e0)]=0x1771]=_0x233059(0x2e0),_0x380446[_0x380446[_0x233059(0x295)]=0x1772]=_0x233059(0x295),_0x380446[_0x380446[_0x233059(0x26e)]=0x1773]=_0x233059(0x26e),_0x380446[_0x380446['APPLY_REJECT']=0x1b59]=_0x233059(0x237),_0x380446[_0x380446[_0x233059(0x211)]=0x1b5a]=_0x233059(0x211),_0x380446[_0x380446['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x233059(0x328),_0x380446[_0x380446[_0x233059(0x28c)]=0x1b5c]=_0x233059(0x28c),_0x380446[_0x380446['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x380446[_0x380446['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x233059(0x356),_0x380446[_0x380446[_0x233059(0x1b4)]=0x2329]=_0x233059(0x1b4),_0x380446[_0x380446[_0x233059(0x332)]=0x232a]=_0x233059(0x332),_0x380446[_0x380446['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x233059(0x21e),_0x380446[_0x380446['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x380446[_0x380446[_0x233059(0x183)]=0x232d]=_0x233059(0x183),_0x380446[_0x380446[_0x233059(0x329)]=0x2711]=_0x233059(0x329),_0x380446[_0x380446[_0x233059(0x273)]=0x2712]=_0x233059(0x273),_0x380446[_0x380446[_0x233059(0x2d2)]=0x2713]=_0x233059(0x2d2),_0x380446[_0x380446['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x233059(0x32f),_0x380446[_0x380446[_0x233059(0x240)]=0x2af9]=_0x233059(0x240),_0x380446[_0x380446[_0x233059(0x2fa)]=0x2ee1]=_0x233059(0x2fa),_0x380446[_0x380446[_0x233059(0x1c9)]=0x2ee2]='INVALID_INVITE_CODE',_0x380446[_0x380446[_0x233059(0x2ed)]=0x2ee3]=_0x233059(0x2ed),_0x380446[_0x380446['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x380446[_0x380446[_0x233059(0x2fc)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x380446[_0x380446[_0x233059(0x184)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x380446[_0x380446[_0x233059(0x1f3)]=0x32ca]=_0x233059(0x1f3),_0x380446[_0x380446[_0x233059(0x2dd)]=0x32cb]=_0x233059(0x2dd),_0x380446[_0x380446[_0x233059(0x25e)]=-0x1]=_0x233059(0x25e),_0x380446))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x265ad0,_0x470a30,_0x339e98,_0x15327a)=>{for(var _0x371007=_0x15327a>0x1?void 0x0:_0x15327a?Rn(_0x470a30,_0x339e98):_0x470a30,_0x42947d=_0x265ad0['length']-0x1,_0x58358f;_0x42947d>=0x0;_0x42947d--)(_0x58358f=_0x265ad0[_0x42947d])&&(_0x371007=_0x58358f(_0x371007)||_0x371007);return _0x371007;},Te=(_0x23d365,_0x3a647a)=>(_0x4f8c2e,_0x17f3e1)=>_0x3a647a(_0x4f8c2e,_0x17f3e1,_0x23d365);let at=class extends _0x31fe53{constructor(_0x403019,_0x35172d,_0x4d4818){const _0xf8af66=_0x233059;super(),this[_0xf8af66(0x1e3)]=_0x403019,this[_0xf8af66(0x239)]=_0x35172d,this[_0xf8af66(0x2ad)]=_0x4d4818;}async[_0x233059(0x23b)](_0x12b214,_0x3a3e5e,_0x2df3bc,..._0x5b21b3){const _0x35dff0=_0x233059;var _0x15bb04,_0x3d4d5f,_0x3d5d8d,_0x1450ea;const _0x1c896f=this[_0x35dff0(0x1e3)]['getFocusedUnit']();if(!_0x1c896f)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4ad069=((_0x15bb04=this[_0x35dff0(0x2ad)][_0x35dff0(0x27a)](_0x4c870b))!=null?_0x15bb04:_0x56daa9)+'/'+_0x12b214+_0x35dff0(0x26b)+_0x3a3e5e,_0x437055=new URL(window[_0x35dff0(0x202)][_0x35dff0(0x2bc)]),_0x83e44={'scriptId':_0x12b214,'runId':(_0x3d4d5f=_0x437055[_0x35dff0(0x318)][_0x35dff0(0x31b)](_0x35dff0(0x353)))!=null?_0x3d4d5f:'','function':_0x3a3e5e,'unitId':_0x1c896f[_0x35dff0(0x2ae)](),'argsOfFunction':JSON['stringify'](_0x5b21b3),'invokeId':(_0x3d5d8d=_0x2df3bc[_0x35dff0(0x19f)])!=null?_0x3d5d8d:'','executionId':(_0x1450ea=_0x2df3bc[_0x35dff0(0x29a)])!=null?_0x1450ea:''};try{const _0x1e8e28=await this['_httpService'][_0x35dff0(0x274)](_0x4ad069,{'body':_0x83e44});return _0x1e8e28['body'][_0x35dff0(0x1fe)]&&_0x1e8e28[_0x35dff0(0x2cd)][_0x35dff0(0x1fe)][_0x35dff0(0x27c)]!==Ut['OK']?'Failed':_0x1e8e28[_0x35dff0(0x2cd)][_0x35dff0(0x335)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x43c917),Te(0x1,_0x58958f(_0x1f27d8)),Te(0x2,_0x3941f1)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
|
package/lib/es/locale/en-US.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const _0x415445=_0x2c8e;function _0x415c(){const _0x59dd9b=['Edit\x20conflicts','1068HciPqa','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','1400982kOsZBY','84406MRiVOj','Syncing...','1023729POzypm','2440jEHlby','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1417048GRDoGX','Local\x20file','855uEQIlW','4965eEQsIj','Collaboration\x20Conflict','1649040uqbjJZ','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1uCqtmV','Connection\x20failed,\x20please\x20check\x20your\x20network.'];_0x415c=function(){return _0x59dd9b;};return _0x415c();}(function(_0x387eaf,_0x4b3a3a){const _0x3337f7=_0x2c8e,_0x4c29ad=_0x387eaf();while(!![]){try{const _0x266ef0=parseInt(_0x3337f7(0x1ad))/0x1*(parseInt(_0x3337f7(0x19e))/0x2)+parseInt(_0x3337f7(0x19d))/0x3+-parseInt(_0x3337f7(0x1a5))/0x4+-parseInt(_0x3337f7(0x1a8))/0x5*(parseInt(_0x3337f7(0x1b0))/0x6)+parseInt(_0x3337f7(0x1a0))/0x7+parseInt(_0x3337f7(0x1a1))/0x8*(-parseInt(_0x3337f7(0x1a7))/0x9)+parseInt(_0x3337f7(0x1aa))/0xa;if(_0x266ef0===_0x4b3a3a)break;else _0x4c29ad['push'](_0x4c29ad['shift']());}catch(_0x13c95f){_0x4c29ad['push'](_0x4c29ad['shift']());}}}(_0x415c,0x3f905));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x415445(0x1ab),'conflict':_0x415445(0x1af),'notCollab':_0x415445(0x1a6),'synced':'Synced','syncing':_0x415445(0x19f),'offline':_0x415445(0x1a3)},'session':{'connection-failed':_0x415445(0x1ae),'will-retry':_0x415445(0x1ac),'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':_0x415445(0x1a9),'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':_0x415445(0x19c),'content':_0x415445(0x1a2)},'collaboration':{'single-unit':{'warning':_0x415445(0x1b1)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x415445(0x1a4)}};function _0x2c8e(_0x5d32d2,_0xb289e4){const _0x415c81=_0x415c();return _0x2c8e=function(_0x2c8ef3,_0x5ec11b){_0x2c8ef3=_0x2c8ef3-0x19c;let _0x3f7574=_0x415c81[_0x2c8ef3];return _0x3f7574;},_0x2c8e(_0x5d32d2,_0xb289e4);}export{e as default};
|
package/lib/es/locale/fa-IR.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const _0xf07e88=_0x16ab;function _0x16ab(_0x523b76,_0x55922e){const _0x326cd5=_0x326c();return _0x16ab=function(_0x16ab21,_0x216572){_0x16ab21=_0x16ab21-0x14f;let _0x1c971b=_0x326cd5[_0x16ab21];return _0x1c971b;},_0x16ab(_0x523b76,_0x55922e);}(function(_0xaf97cb,_0x1bcb87){const _0x238cd3=_0x16ab,_0x3074ca=_0xaf97cb();while(!![]){try{const _0x581f00=-parseInt(_0x238cd3(0x162))/0x1*(parseInt(_0x238cd3(0x152))/0x2)+parseInt(_0x238cd3(0x169))/0x3*(-parseInt(_0x238cd3(0x160))/0x4)+parseInt(_0x238cd3(0x157))/0x5+-parseInt(_0x238cd3(0x161))/0x6*(parseInt(_0x238cd3(0x168))/0x7)+parseInt(_0x238cd3(0x15f))/0x8+-parseInt(_0x238cd3(0x150))/0x9+parseInt(_0x238cd3(0x151))/0xa;if(_0x581f00===_0x1bcb87)break;else _0x3074ca['push'](_0x3074ca['shift']());}catch(_0x30d500){_0x3074ca['push'](_0x3074ca['shift']());}}}(_0x326c,0x51cbc));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0xf07e88(0x15c),'conflict':_0xf07e88(0x154),'notCollab':_0xf07e88(0x159),'synced':_0xf07e88(0x14f),'syncing':_0xf07e88(0x164),'offline':_0xf07e88(0x15b)},'session':{'connection-failed':_0xf07e88(0x167),'will-retry':_0xf07e88(0x153),'room-full':_0xf07e88(0x15d),'collaboration-timeout':_0xf07e88(0x15a)},'conflict':{'title':_0xf07e88(0x156),'content':_0xf07e88(0x15e)},'permission':{'title':_0xf07e88(0x165),'content':_0xf07e88(0x163)},'collaboration':{'single-unit':{'warning':_0xf07e88(0x166)},'closeRoom':_0xf07e88(0x155)},'auth':{'needGotoLoginAlert':_0xf07e88(0x158)}};function _0x326c(){const _0x5068a2=['شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','2989dfiMSR','203793GDDVnK','همگام\x20سازی','5026455pyBjLV','10469280NCEyVP','379948ATIxdZ','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20ویرایش','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','تداخل\x20همکاری','1687900mGuIlK','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','پرونده\x20محلی','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','4671728NXvEGt','28VWOYXZ','3084CqBMcp','2HSLFgU','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی...','خطای\x20اعتبارسنجی'];_0x326c=function(){return _0x5068a2;};return _0x326c();}export{o as default};
|