@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250427-173dc06 → 0.6.10-experimental.20250427-825ae55

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/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x195f9a=_0x4df9;(function(_0x5c21fb,_0x20e0e2){const _0xed92ba=_0x4df9,_0x1de4d7=_0x5c21fb();while(!![]){try{const _0x584e21=-parseInt(_0xed92ba(0x194))/0x1*(parseInt(_0xed92ba(0x2bd))/0x2)+-parseInt(_0xed92ba(0x26d))/0x3*(parseInt(_0xed92ba(0x2b4))/0x4)+parseInt(_0xed92ba(0x22b))/0x5+parseInt(_0xed92ba(0x264))/0x6+-parseInt(_0xed92ba(0xdc))/0x7+-parseInt(_0xed92ba(0x27f))/0x8*(parseInt(_0xed92ba(0x191))/0x9)+-parseInt(_0xed92ba(0x26f))/0xa*(-parseInt(_0xed92ba(0x139))/0xb);if(_0x584e21===_0x20e0e2)break;else _0x1de4d7['push'](_0x1de4d7['shift']());}catch(_0x3d5917){_0x1de4d7['push'](_0x1de4d7['shift']());}}}(_0x5788,0x1bdab));var $t=Object[_0x195f9a(0x117)],xt=(_0x2d4466,_0x56e251,_0x3dd745)=>_0x56e251 in _0x2d4466?$t(_0x2d4466,_0x56e251,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3dd745}):_0x2d4466[_0x56e251]=_0x3dd745,_=(_0x2a0b94,_0x88da33,_0x521f9a)=>xt(_0x2a0b94,typeof _0x88da33!=_0x195f9a(0xef)?_0x88da33+'':_0x88da33,_0x521f9a);import{MemberService as _0x3bd8a6,SessionStatus as _0x3a2ff6,CollaborationSessionService as _0x3f5f8e,CollaborationStatus as _0x305e5c,CollaborationController as _0x507b69,ILocalCacheService as _0xac2fb0,CollaborationUIEventService as _0x1b2fe3,CollaborationUIEventId as _0x4b3678,DataLoaderService as _0x338f40,DocCollaborationEntity as _0x188b0e,getLocalCacheKey as _0x4fbab5,LOCAL_CACHE_INTERVAL as _0x48c7ae,LOCAL_CACHE_INTERVAL_KEY as _0x500139,UniverCollaborationClientPlugin as _0x17881b,CollaborationSocketService as _0x3b33e7,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3c6b37,DEFAULT_WS_SESSION_TICKET_URL as _0x3151b3,UnitStatus as _0x21ea64,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x52fc0b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x34b40b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2ac0c1,Disposable as _0x669a68,DOC_RANGE_TYPE as _0x4982b8,Inject as _0x556740,Injector as _0x8c0806,IUniverInstanceService as _0x5d2c7a,ICommandService as _0x5180dd,debounce as _0x1eb98c,Rectangle as _0x3a1926,DisposableCollection as _0x3adcad,toDisposable as _0x5b2a44,UniverInstanceType as _0x9205ee,Tools as _0x32701d,COLORS as _0x47da3b,ColorKit as _0x48aa74,ThemeService as _0x53bddf,fromEventSubject as _0x14e02d,LocaleService as _0x6f2c92,createIdentifier as _0x355c51,ILogService as _0x3361aa,Optional as _0x18a51f,Workbook as _0x489db4,CommandType as _0x2fc203,IConfigService as _0x35ed53,ILocalStorageService as _0x25023f,DependentOn as _0x3abd86,Plugin as _0x356815,merge as _0x5bbb62,registerDependencies as _0x22f146,mergeOverrideWithDependencies as _0x510587,touchDependencies as _0x17e040,generateRandomId as _0x5554d5}from'@univerjs/core';import{Shape as _0x4b9357,Rect as _0x311357,getColor as _0x585b12,RegularPolygon as _0x42a77e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5cc26b,Vector2 as _0x38215f,SHEET_VIEWPORT_KEY as _0x255c83,IRenderManagerService as _0xcbfcfa}from'@univerjs/engine-render';import{ISocketService as _0x5496df,WebSocketService as _0xd8562c,HTTPService as _0x1ce5b6}from'@univerjs/network';import{IDocClipboardService as _0x457460,NodePositionConvertToCursor as _0x26461d,NodePositionConvertToRectRange as _0x26748a,TEXT_RANGE_LAYER_INDEX as _0x47bdce,SetDocZoomRatioOperation as _0x2bf4ec,DocIMEInputManagerService as _0x44e55b,DocStateChangeManagerService as _0x5c59fd}from'@univerjs/docs-ui';import{IImageIoService as _0x3a31eb}from'@univerjs/drawing';import{BehaviorSubject as _0x27c7e6,debounceTime as _0x1fce8a,takeUntil as _0xac117b,Subject as _0x523706,filter as _0x5dd795,switchMap as _0x1b49bb,merge as _0x25eaf0,combineLatest as _0x10c006,of as _0x3f5d4b,fromEvent as _0x2a0a40,shareReplay as _0x4446c9,mapTo as _0x5b2ddd,distinctUntilChanged as _0x286f07}from'rxjs';import{SetTextSelectionsOperation as _0x443bcd,RichTextEditingMutation as _0x1b5a1e,DocSelectionManagerService as _0xe8deb5,DocSkeletonManagerService as _0x2e9056}from'@univerjs/docs';import{ITransformService as _0xc47634,CollaborationEvent as _0x4b0675,isTransformMutationFailure as _0x208da3,isTransformMutationsWithChangesetSuccess as _0x7c79c3,RevisionService as _0x547684,ISnapshotServerService as _0x4c78a}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x9f82a1,serializeRangeWithSheet as _0x4c6450}from'@univerjs/engine-formula';import{RefRangeService as _0x3db954,SetSelectionsOperation as _0x35a585,SheetsSelectionsService as _0x4fb242,EffectRefRangId as _0x4e25f7,handleIRemoveRow as _0xac3f92,handleIRemoveCol as _0x465ac9,handleMoveRange as _0x333b4a,handleInsertRow as _0x57ec3b,handleInsertRangeMoveRight as _0x5c2e57,handleInsertRangeMoveDown as _0x281042,handleInsertCol as _0x5b55d7,handleDeleteRangeMoveUp as _0x52bd05,handleDeleteRangeMoveLeft as _0x3745d9,runRefRangeMutations as _0x268ef9,SetWorksheetActivateCommand as _0x2daa78}from'@univerjs/sheets';import{map as _0x19d3aa,filter as _0x34596a,throttleTime as _0x4a702d,takeUntil as _0xd3a635,switchMap as _0x5e1aa1}from'rxjs/operators';function _0x4df9(_0x111c02,_0x58696e){const _0x578868=_0x5788();return _0x4df9=function(_0x4df911,_0x35584d){_0x4df911=_0x4df911-0xcf;let _0x1e50aa=_0x578868[_0x4df911];return _0x1e50aa;},_0x4df9(_0x111c02,_0x58696e);}import{SheetSkeletonManagerService as _0x3dfaed,getCoordByCell as _0x4ca8ef,getSheetObject as _0x3609a9}from'@univerjs/sheets-ui';import{jsx as _0x5af85b,jsxs as _0x3382e2}from'react/jsx-runtime';import{useObservable as _0x10d5bc,useDependency as _0x48196e,IUIPartsService as _0x1761bb,BuiltInUIPart as _0x1e1a9a,connectInjector as _0x4290b7,IBeforeCloseService as _0x1706a8,IMessageService as _0x4e2e4f,INotificationService as _0x10bafe}from'@univerjs/ui';import{Tooltip as _0x4eda62,clsx as _0x4e749a,MessageType as _0xbc53b9}from'@univerjs/design';import{forwardRef as _0x5df9f3,useRef as _0x18d2b4,createElement as _0x224195,useCallback as _0x308e12}from'react';import{IRemoteInstanceService as _0x5f1ca4}from'@univerjs/rpc';var ci=Object[_0x195f9a(0x107)],li=(_0x4c82cf,_0x3cb29e,_0x38934e,_0x59cd94)=>{const _0x308964=_0x195f9a;for(var _0x149d38=_0x59cd94>0x1?void 0x0:_0x59cd94?ci(_0x3cb29e,_0x38934e):_0x3cb29e,_0x24ac21=_0x4c82cf[_0x308964(0x263)]-0x1,_0x32714b;_0x24ac21>=0x0;_0x24ac21--)(_0x32714b=_0x4c82cf[_0x24ac21])&&(_0x149d38=_0x32714b(_0x149d38)||_0x149d38);return _0x149d38;},Je=(_0x16cd2d,_0x954b49)=>(_0x1a2207,_0x1165e0)=>_0x954b49(_0x1a2207,_0x1165e0,_0x16cd2d);let Ne=class extends _0x2ac0c1{constructor(_0xf9670d,_0x55562e){const _0x162ea6=_0x195f9a;super(),this[_0x162ea6(0x26c)]=_0xf9670d,this[_0x162ea6(0x1d4)]=_0x55562e,this[_0x162ea6(0xea)]();}['_init'](){const _0x286f82=_0x195f9a,_0x357af0=this;this[_0x286f82(0x1ed)](this['_docClipboardService'][_0x286f82(0x141)]({'onBeforePasteImage':async _0x5e8f36=>{const _0x4ddec5=_0x286f82,_0x1eae3e=await _0x357af0[_0x4ddec5(0x1d4)][_0x4ddec5(0x19e)](_0x5e8f36);return _0x1eae3e?{'source':_0x1eae3e[_0x4ddec5(0x112)],'imageSourceType':_0x1eae3e[_0x4ddec5(0x1a5)]}:null;}}));}};Ne=li([Je(0x0,_0x457460),Je(0x1,_0x3a31eb)],Ne);const Ze=[_0x195f9a(0xd5),_0x195f9a(0x17a),_0x195f9a(0x286),'red300',_0x195f9a(0x147),'gold400'];class ke extends _0x669a68{constructor(){const _0x152b62=_0x195f9a;super(...arguments),_(this,_0x152b62(0xd6),new Map()),_(this,_0x152b62(0x1a4),0x0);}[_0x195f9a(0xe3)](_0x14f093){const _0x2104d0=_0x195f9a;if(this[_0x2104d0(0xd6)][_0x2104d0(0x1a3)](_0x14f093))return this[_0x2104d0(0xd6)][_0x2104d0(0x270)](_0x14f093);const _0xb94a8f=Ze[this[_0x2104d0(0x1a4)]];return this['_colorIndex']=(this[_0x2104d0(0x1a4)]+0x1)%Ze['length'],this[_0x2104d0(0xd6)][_0x2104d0(0xd3)](_0x14f093,_0xb94a8f),_0xb94a8f;}}function Tt(_0xf0772a){const _0x11a9bd=_0x195f9a;let _0x18e19a='';for(const _0x389384 of _0xf0772a){const {startOffset:_0x199ed8,endOffset:_0x405eb9,isActive:_0x269db9,rangeType:_0xe094a9,segmentId:_0xc78440,segmentPage:_0x523f97}=_0x389384;_0x18e19a[_0x11a9bd(0x263)]&&(_0x18e19a+=','),_0x18e19a+=_0x199ed8+':'+_0x405eb9+':'+(_0x269db9?'1':'0')+':'+_0xe094a9+':'+_0xc78440+':'+_0x523f97;}return _0x18e19a;}function _i(_0x2e0da2){const _0x2a3733=_0x195f9a,_0x48194c=_0x2e0da2[_0x2a3733(0x196)](','),_0xff65f2=[];for(const _0x5c45b7 of _0x48194c){const [_0x548a8c,_0x57589d,_0x2e73af,_0x33da8e,_0x24e8fc,_0x3df216]=_0x5c45b7[_0x2a3733(0x196)](':');_0xff65f2['push']({'startOffset':Number(_0x548a8c),'endOffset':Number(_0x57589d),'collapsed':_0x548a8c===_0x57589d,'isActive':_0x2e73af==='1','rangeType':_0x33da8e===_0x4982b8[_0x2a3733(0x199)]?_0x4982b8[_0x2a3733(0x199)]:_0x4982b8[_0x2a3733(0x173)],'segmentId':typeof _0x24e8fc==_0x2a3733(0x1fd)?String(_0x24e8fc):'','segmentPage':Number(_0x3df216!=null?_0x3df216:-0x1)});}return _0xff65f2[_0x2a3733(0x106)](_0x1052e7=>_0x1052e7['isActive'])||(_0xff65f2[0x0]['isActive']=!0x0),_0xff65f2;}class He extends _0x2ac0c1{constructor(){const _0x1e986b=_0x195f9a;super(...arguments),_(this,'_collabCursorState$',new _0x27c7e6(null)),_(this,_0x1e986b(0x2c6),this[_0x1e986b(0xf3)][_0x1e986b(0x1da)]());}['syncEditingCollabCursor'](_0x165885){const _0x3e6cdf=_0x195f9a,{unitID:_0x33bc88,memberID:_0x10498a,textRanges:_0x27f466}=_0x165885,_0x187e7e=Tt(_0x27f466);if(_0x187e7e==='')return;const _0x58e4b4={'unitID':_0x33bc88,'memberID':_0x10498a,'selection':_0x187e7e};this[_0x3e6cdf(0xf3)][_0x3e6cdf(0x2c8)](_0x58e4b4);}}var hi=Object[_0x195f9a(0x107)],ui=(_0x3768ee,_0x506e4b,_0x4fd287,_0x3c793e)=>{for(var _0x1d9318=_0x3c793e>0x1?void 0x0:_0x3c793e?hi(_0x506e4b,_0x4fd287):_0x506e4b,_0x60852d=_0x3768ee['length']-0x1,_0x42ce66;_0x60852d>=0x0;_0x60852d--)(_0x42ce66=_0x3768ee[_0x60852d])&&(_0x1d9318=_0x42ce66(_0x1d9318)||_0x1d9318);return _0x1d9318;},w=(_0x10e0cb,_0x5e777a)=>(_0x4514ee,_0x7667db)=>_0x5e777a(_0x4514ee,_0x7667db,_0x10e0cb);const di=0x12c,fi=0x64;let Ue=class extends _0x2ac0c1{constructor(_0x45b7e2,_0x36b073,_0x260690,_0x3f2ab8,_0x5787cd,_0x250161,_0x971310,_0x4f3dde,_0x5afe83){const _0x366c66=_0x195f9a;super(),_(this,'_online',!0x1),_(this,_0x366c66(0xea),!0x1),_(this,_0x366c66(0x26a),new _0x27c7e6(new Map())),_(this,_0x366c66(0x245),this['_cursorInfo$'][_0x366c66(0x1da)]()),_(this,'_roomMembers$',new _0x27c7e6([])),_(this,'roomMembers$',this[_0x366c66(0x1a6)]['pipe'](_0x1fce8a(di))),_(this,_0x366c66(0x2ad),_0x1eb98c(_0x32e8a2=>{const _0x291b7a=_0x366c66,_0xda64bc={'eventID':_0x4b0675[_0x291b7a(0xfc)],'data':{'unitID':this[_0x291b7a(0x282)],'memberID':this[_0x291b7a(0x104)][_0x291b7a(0x21f)](),'selection':Tt(_0x32e8a2)}};this[_0x291b7a(0x104)][_0x291b7a(0x21a)](_0xda64bc,this[_0x291b7a(0x282)]);},fi)),(this['unitID']=_0x45b7e2,this[_0x366c66(0x104)]=_0x36b073,this['_injector']=_0x260690,this[_0x366c66(0x165)]=_0x3f2ab8,this['_memberService']=_0x5787cd,this[_0x366c66(0x17f)]=_0x250161,this[_0x366c66(0x1e5)]=_0x971310,this[_0x366c66(0x1e3)]=_0x4f3dde,this[_0x366c66(0x20d)]=_0x5afe83);}get[_0x195f9a(0x2bb)](){const _0x136f38=_0x195f9a;return this[_0x136f38(0x26a)][_0x136f38(0x1e7)]();}get[_0x195f9a(0x1f8)](){const _0x1ff7ef=_0x195f9a;return this[_0x1ff7ef(0x1a6)][_0x1ff7ef(0x1e7)]();}[_0x195f9a(0x1e6)](){const _0x1f5f14=_0x195f9a;super[_0x1f5f14(0x1e6)](),this[_0x1f5f14(0x26a)]['next'](new Map()),this[_0x1f5f14(0x26a)]['complete'](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x1f5f14(0x1e1)]();}[_0x195f9a(0x22e)](){const _0x4dab09=_0x195f9a;this['_init']||(this[_0x4dab09(0xea)]=!0x0,this[_0x4dab09(0x104)][_0x4dab09(0x1c9)][_0x4dab09(0x1fe)](_0xac117b(this[_0x4dab09(0x156)]))[_0x4dab09(0xe6)](_0x40b412=>{const _0x2898df=_0x4dab09;_0x40b412===_0x3a2ff6[_0x2898df(0x269)]?this[_0x2898df(0x1f5)]():this[_0x2898df(0x202)]();}),this[_0x4dab09(0x104)]['event$'][_0x4dab09(0x1fe)](_0xac117b(this['dispose$']))['subscribe'](_0x4758b8=>{const _0x54c250=_0x4dab09,_0x39f106=_0x4758b8[_0x54c250(0x1d1)];_0x39f106===_0x4b0675[_0x54c250(0xfc)]&&this[_0x54c250(0x290)](_0x4758b8),_0x39f106===_0x4b0675[_0x54c250(0x136)]&&this['_onCursorDelete'](_0x4758b8);}),this['disposeWithMe'](this[_0x4dab09(0x20d)][_0x4dab09(0x256)](_0x4479ed=>{const _0x4092f5=_0x4dab09,_0x5c5fee=_0x4479ed[_0x4092f5(0x27d)];_0x5c5fee!=null&&this[_0x4092f5(0x2a5)]&&_0x4479ed['id']===_0x443bcd['id']&&_0x5c5fee[_0x4092f5(0x25a)]===this[_0x4092f5(0x282)]&&_0x5c5fee[_0x4092f5(0x119)]===!0x1&&_0x5c5fee[_0x4092f5(0x158)][_0x4092f5(0x263)]>0x0&&this[_0x4092f5(0x2ad)](_0x5c5fee[_0x4092f5(0x158)]);})),this[_0x4dab09(0x17f)][_0x4dab09(0x2c6)][_0x4dab09(0x1fe)](_0xac117b(this[_0x4dab09(0x156)]))[_0x4dab09(0xe6)](_0x5997ee=>{const _0x47d887=_0x4dab09;if((_0x5997ee==null?void 0x0:_0x5997ee[_0x47d887(0x282)])!==this[_0x47d887(0x282)])return;const _0x31f674={'eventID':_0x4b0675[_0x47d887(0xfc)],'data':_0x5997ee};this[_0x47d887(0x290)](_0x31f674);}),this['disposeWithMe'](this[_0x4dab09(0x20d)][_0x4dab09(0x256)](_0x4b0201=>{const _0x49e16c=_0x4dab09;if(_0x4b0201[_0x49e16c(0x27d)]==null)return;const _0x4c10fc=_0x4b0201[_0x49e16c(0x27d)];if(_0x4b0201['id']!==_0x1b5a1e['id']||_0x4c10fc['unitId']!==this[_0x49e16c(0x282)])return;const _0x5a7c2d={'id':_0x49e16c(0x188),'params':_0x4c10fc},_0x48d295=this['cursorInfo'];for(const [_0x153dc0,_0x1a2d0b]of _0x48d295){const _0x1912b6={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1a2d0b[_0x49e16c(0x158)]}},_0x4678dd=this[_0x49e16c(0x1e5)][_0x49e16c(0x12c)](_0x5a7c2d,_0x1912b6,!0x1);if(_0x208da3(_0x4678dd))throw _0x4678dd[_0x49e16c(0x159)];_0x48d295[_0x49e16c(0xd3)](_0x153dc0,{..._0x1a2d0b,'ranges':_0x4678dd['m2Prime'][_0x49e16c(0x27d)]['textRanges']});}queueMicrotask(()=>{const _0x488819=_0x49e16c;this[_0x488819(0x26a)][_0x488819(0x2c8)](_0x48d295);});})));}[_0x195f9a(0x290)](_0x212ba7){const _0x176dd6=_0x195f9a;var _0x3fb3d3,_0x3feb6f;const {memberID:_0x275a66,selection:_0x4a088a}=_0x212ba7[_0x176dd6(0x258)],_0x492e10=_i(_0x4a088a),_0x51a347=(_0x3feb6f=(_0x3fb3d3=this[_0x176dd6(0x1e0)][_0x176dd6(0x13d)](this[_0x176dd6(0x282)],_0x275a66))==null?void 0x0:_0x3fb3d3[_0x176dd6(0x26e)])!=null?_0x3feb6f:'Unknown\x20user',_0x1685ca={'color':this[_0x176dd6(0x165)][_0x176dd6(0xe3)](_0x275a66),'name':_0x51a347,'ranges':_0x492e10},_0x2bf670=this[_0x176dd6(0x2bb)];_0x2bf670[_0x176dd6(0xd3)](_0x275a66,_0x1685ca),this['_cursorInfo$'][_0x176dd6(0x2c8)](_0x2bf670);}[_0x195f9a(0x132)](_0x4cb684){const _0x208778=_0x195f9a,{memberID:_0x25faed}=_0x4cb684[_0x208778(0x258)],_0x39a0c1=this[_0x208778(0x2bb)];_0x39a0c1[_0x208778(0x183)](_0x25faed),this[_0x208778(0x26a)]['next'](_0x39a0c1);}[_0x195f9a(0x1f5)](){const _0x1e7122=_0x195f9a;var _0x2067bb;if(this[_0x1e7122(0x2a5)]=!0x0,((_0x2067bb=this[_0x1e7122(0x1e3)][_0x1e7122(0x19c)]())==null?void 0x0:_0x2067bb['getUnitId']())!==this['unitID'])return;const _0x554d06=this[_0x1e7122(0x233)][_0x1e7122(0x270)](_0xe8deb5)[_0x1e7122(0x296)]();Array[_0x1e7122(0x21e)](_0x554d06)&&_0x554d06[_0x1e7122(0x263)]>0x0&&this[_0x1e7122(0x2ad)](_0x554d06);}[_0x195f9a(0x202)](){this['_online']=!0x1;}};Ue=ui([w(0x2,_0x556740(_0x8c0806)),w(0x3,_0x556740(ke)),w(0x4,_0x556740(_0x3bd8a6)),w(0x5,_0x556740(He)),w(0x6,_0xc47634),w(0x7,_0x5d2c7a),w(0x8,_0x5180dd)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x3ab64c,_0x56c007,_0x401633,_0x284bd4)=>{const _0xdd6281=_0x195f9a;for(var _0x366872=_0x284bd4>0x1?void 0x0:_0x284bd4?Si(_0x56c007,_0x401633):_0x56c007,_0x10a175=_0x3ab64c[_0xdd6281(0x263)]-0x1,_0x25f5f5;_0x10a175>=0x0;_0x10a175--)(_0x25f5f5=_0x3ab64c[_0x10a175])&&(_0x366872=_0x25f5f5(_0x366872)||_0x366872);return _0x366872;},x=(_0x330937,_0xb2694)=>(_0x3efb8b,_0x561de6)=>_0xb2694(_0x3efb8b,_0x561de6,_0x330937);const gi=0x12c,vi=0x64,Ii=()=>{let _0xc8df91=[],_0x34af4d=!0x1;return _0x287a9d=>{const _0x6733c7=_0x4df9;_0xc8df91[_0x6733c7(0x1d0)](_0x287a9d),_0x34af4d||(_0x34af4d=!0x0,setTimeout(()=>{_0xc8df91['forEach'](_0x30da77=>_0x30da77()),_0xc8df91=[],_0x34af4d=!0x1;}));};};let Me=class extends _0x2ac0c1{constructor(_0x1340b2,_0xb8d16b,_0x20bf59,_0x2cecc4,_0x12870c,_0x13c95d,_0x42c56c,_0x3cb5fc){const _0x1641fd=_0x195f9a;super(),_(this,_0x1641fd(0x2a5),!0x1),_(this,'_init',!0x1),_(this,_0x1641fd(0x26a),new _0x27c7e6(new Map())),_(this,'cursorInfo$',this[_0x1641fd(0x26a)][_0x1641fd(0x1da)]()),_(this,_0x1641fd(0x1a6),new _0x27c7e6([])),_(this,'roomMembers$',this[_0x1641fd(0x1a6)]['pipe'](_0x1fce8a(gi))),_(this,'_updateLocalCursor',_0x1eb98c((_0x1d3d3d,_0x30a7c2)=>{const _0x10550d=_0x1641fd,_0x592596={'eventID':_0x4b0675['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x10550d(0x21f)](),'selection':_0x4c6450(_0x1d3d3d,_0x30a7c2[_0x10550d(0x2bf)])}};this[_0x10550d(0x104)][_0x10550d(0x21a)](_0x592596,this[_0x10550d(0x282)]);},vi)),(this[_0x1641fd(0x282)]=_0x1340b2,this[_0x1641fd(0x104)]=_0xb8d16b,this['_injector']=_0x20bf59,this[_0x1641fd(0x165)]=_0x2cecc4,this['_memberService']=_0x12870c,this[_0x1641fd(0x1e3)]=_0x13c95d,this['_commandService']=_0x42c56c,this[_0x1641fd(0x2ca)]=_0x3cb5fc);}get[_0x195f9a(0x2bb)](){const _0xa86274=_0x195f9a;return this[_0xa86274(0x26a)]['getValue']();}get[_0x195f9a(0x1f8)](){const _0x3e12bd=_0x195f9a;return this[_0x3e12bd(0x1a6)]['getValue']();}['dispose'](){const _0xbee156=_0x195f9a;super['dispose'](),this[_0xbee156(0x26a)][_0xbee156(0x2c8)](new Map()),this[_0xbee156(0x26a)][_0xbee156(0x1e1)](),this[_0xbee156(0x1a6)][_0xbee156(0x2c8)]([]),this['_roomMembers$']['complete']();}[_0x195f9a(0x22e)](){const _0x423aea=_0x195f9a;this[_0x423aea(0xea)]||(this[_0x423aea(0xea)]=!0x0,this[_0x423aea(0x104)][_0x423aea(0x1c9)]['pipe'](_0xac117b(this['dispose$']))[_0x423aea(0xe6)](_0xbbecf0=>{const _0x32cae5=_0x423aea;_0xbbecf0===_0x3a2ff6['ONLINE']?this[_0x32cae5(0x1f5)]():this['_toggleOffline']();}),this[_0x423aea(0x104)][_0x423aea(0x2c2)][_0x423aea(0x1fe)](_0xac117b(this[_0x423aea(0x156)]))[_0x423aea(0xe6)](_0x4d83db=>{const _0x44ca11=_0x423aea,_0x5b2104=_0x4d83db['eventID'];_0x5b2104===_0x4b0675[_0x44ca11(0xfc)]&&this['_onCursorUpdate'](_0x4d83db),_0x5b2104===_0x4b0675[_0x44ca11(0x136)]&&this[_0x44ca11(0x132)](_0x4d83db);}),this['_onRefRangeChange'](),this[_0x423aea(0x1ed)](this[_0x423aea(0x20d)]['onCommandExecuted'](_0x5f0d9e=>{const _0x2e69d1=_0x423aea;if(this[_0x2e69d1(0x2a5)]&&_0x5f0d9e['id']===_0x35a585['id']&&_0x5f0d9e[_0x2e69d1(0x27d)]['unitId']===this['unitID']){const _0x58eb11=_0x5f0d9e[_0x2e69d1(0x27d)];this[_0x2e69d1(0x2ad)](_0x58eb11['subUnitId'],_0x58eb11[_0x2e69d1(0x2b0)][0x0]);}})));}[_0x195f9a(0x290)](_0x5e0b67){const _0x3b82ef=_0x195f9a;var _0x53ec47,_0x3ea11e;const {memberID:_0x55095b,selection:_0x1e865a}=_0x5e0b67['data'],{sheetName:_0x338438,range:_0x2e1be1}=_0x9f82a1(_0x1e865a),_0x4b5ba3={'name':(_0x3ea11e=(_0x53ec47=this[_0x3b82ef(0x1e0)][_0x3b82ef(0x13d)](this[_0x3b82ef(0x282)],_0x55095b))==null?void 0x0:_0x53ec47['name'])!=null?_0x3ea11e:_0x3b82ef(0x1d5),'range':this[_0x3b82ef(0x225)](_0x338438,_0x2e1be1),'sheetID':_0x338438,'color':this[_0x3b82ef(0x165)]['assignAColorForMemberID'](_0x55095b),'selection':_0x1e865a},_0x56c619=this[_0x3b82ef(0x2bb)];_0x56c619[_0x3b82ef(0xd3)](_0x55095b,_0x4b5ba3),this[_0x3b82ef(0x26a)]['next'](_0x56c619);}[_0x195f9a(0x132)](_0x7a4e47){const _0x5604ca=_0x195f9a,{memberID:_0x5f555e}=_0x7a4e47[_0x5604ca(0x258)],_0x47c2bc=this[_0x5604ca(0x2bb)];_0x47c2bc['delete'](_0x5f555e),this[_0x5604ca(0x26a)][_0x5604ca(0x2c8)](_0x47c2bc);}[_0x195f9a(0x225)](_0x116fd9,_0x5135a2){const _0x27073a=_0x195f9a;var _0x5142b4,_0x225500;const _0x5f19cc=(_0x225500=(_0x5142b4=this['_univerInstanceService'][_0x27073a(0x1ef)](this[_0x27073a(0x282)]))==null?void 0x0:_0x5142b4[_0x27073a(0x227)](_0x116fd9))==null?void 0x0:_0x225500['getMergeData']();return(_0x5f19cc==null?void 0x0:_0x5f19cc[_0x27073a(0x178)](_0x31b284=>_0x3a1926[_0x27073a(0x27a)](_0x31b284,_0x5135a2)))||_0x5135a2;}[_0x195f9a(0x168)](){const _0x500c83=_0x195f9a,_0x974e76=new _0x3adcad(),_0x20803c=Ii(),_0x165f29=()=>{const _0x54f881=_0x4df9;_0x974e76[_0x54f881(0x1e6)]();const _0x294876=(_0x3b6910,_0x12e520,_0x2037e6,_0x12d773)=>{const _0x5170a1=_0x54f881;let _0x3a3e44=[];switch(_0x3b6910['id']){case _0x4e25f7['DeleteRangeMoveLeftCommandId']:{_0x3a3e44=_0x3745d9(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x122)]:{_0x3a3e44=_0x52bd05(_0x3b6910,_0x12d773);break;}case _0x4e25f7['InsertColCommandId']:{_0x3a3e44=_0x5b55d7(_0x3b6910,_0x12d773);break;}case _0x4e25f7['InsertRangeMoveDownCommandId']:{_0x3a3e44=_0x281042(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x25b)]:{_0x3a3e44=_0x5c2e57(_0x3b6910,_0x12d773);break;}case _0x4e25f7['InsertRowCommandId']:{_0x3a3e44=_0x57ec3b(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x2af)]:{_0x3a3e44=_0x333b4a(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x181)]:{_0x3a3e44=_0x465ac9(_0x3b6910,_0x12d773);break;}case _0x4e25f7[_0x5170a1(0x16d)]:{_0x3a3e44=_0xac3f92(_0x3b6910,_0x12d773);break;}}const _0x57c45a=_0x268ef9(_0x3a3e44,_0x12d773),_0x5069dc=this[_0x5170a1(0x2bb)][_0x5170a1(0x270)](_0x12e520);if(_0x5069dc&&_0x57c45a){const _0x53abd9={..._0x5069dc,'range':_0x57c45a};this[_0x5170a1(0x2bb)][_0x5170a1(0xd3)](_0x12e520,_0x53abd9),_0x20803c(()=>{const _0x14fb67=_0x5170a1,_0x357357=this[_0x14fb67(0x2ca)][_0x14fb67(0x170)](_0x57c45a,_0xfa06d7=>(_0x357357['dispose'](),_0x294876(_0xfa06d7,_0x12e520,_0x2037e6,_0x57c45a)));_0x974e76[_0x14fb67(0x125)](_0x357357);});}return{'redos':[],'undos':[]};};this[_0x54f881(0x2bb)]['forEach']((_0x33afc8,_0x1918f3)=>{const _0x2066ba=_0x54f881,{range:_0x39eba6,sheetID:_0x15cb3c}=_0x33afc8,_0x1b2a29=this[_0x2066ba(0x2ca)][_0x2066ba(0x170)](_0x39eba6,_0x52a574=>(_0x1b2a29[_0x2066ba(0x1e6)](),_0x294876(_0x52a574,_0x1918f3,_0x15cb3c,_0x39eba6)));_0x974e76[_0x2066ba(0x125)](_0x1b2a29);});};this[_0x500c83(0x1ed)](_0x5b2a44(this[_0x500c83(0x26a)][_0x500c83(0xe6)](()=>{_0x165f29();})));}[_0x195f9a(0x1f5)](){const _0x5c8abb=_0x195f9a;var _0x3d3eb6,_0x5e8ab9;if(this[_0x5c8abb(0x2a5)]=!0x0,((_0x3d3eb6=this[_0x5c8abb(0x1e3)][_0x5c8abb(0x19c)]())==null?void 0x0:_0x3d3eb6[_0x5c8abb(0x1b8)]())!==this['unitID'])return;const _0x439c5d=(_0x5e8ab9=this[_0x5c8abb(0x233)][_0x5c8abb(0x270)](_0x4fb242)[_0x5c8abb(0x226)]())==null?void 0x0:_0x5e8ab9[0x0],_0x3d8377=this[_0x5c8abb(0x1e3)][_0x5c8abb(0x1d6)](_0x9205ee['UNIVER_SHEET'])['getActiveSheet']();_0x439c5d&&_0x3d8377&&this['_updateLocalCursor'](_0x3d8377[_0x5c8abb(0x1f0)](),_0x439c5d);}['_toggleOffline'](){const _0x536437=_0x195f9a;this[_0x536437(0x2a5)]=!0x1;}};Me=mi([x(0x2,_0x556740(_0x8c0806)),x(0x3,_0x556740(ke)),x(0x4,_0x556740(_0x3bd8a6)),x(0x5,_0x5d2c7a),x(0x6,_0x5180dd),x(0x7,_0x556740(_0x3db954))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x1de764,_0x2f871a,_0x5ab2e0,_0x22d959)=>{for(var _0x450395=_0x22d959>0x1?void 0x0:_0x22d959?pi(_0x2f871a,_0x5ab2e0):_0x2f871a,_0x3dcc24=_0x1de764['length']-0x1,_0x4558c1;_0x3dcc24>=0x0;_0x3dcc24--)(_0x4558c1=_0x1de764[_0x3dcc24])&&(_0x450395=_0x4558c1(_0x450395)||_0x450395);return _0x450395;},Se=(_0x80492c,_0x41e0dd)=>(_0x515ab,_0x624e7f)=>_0x41e0dd(_0x515ab,_0x624e7f,_0x80492c);let H=class extends _0x2ac0c1{constructor(_0x17ca4c,_0x307e6d,_0x5e42ee){const _0x53858c=_0x195f9a;super(),_(this,_0x53858c(0x29a),new Map()),_(this,_0x53858c(0x1b4),new _0x523706()),(this['_univerInstanceService']=_0x17ca4c,this[_0x53858c(0x233)]=_0x307e6d,this['_collabSessionService']=_0x5e42ee,this[_0x53858c(0xea)]());}[_0x195f9a(0x1e6)](){const _0x562478=_0x195f9a;super[_0x562478(0x1e6)](),this[_0x562478(0x1b4)]['complete'](),this[_0x562478(0x29a)][_0x562478(0x2c0)](_0x4bfe53=>_0x4bfe53['dispose']());}[_0x195f9a(0x2a4)](_0x157fd2){const _0x2d5653=_0x195f9a;return this[_0x2d5653(0x29a)][_0x2d5653(0x1a3)](_0x157fd2)?this[_0x2d5653(0x29a)][_0x2d5653(0x270)](_0x157fd2)[_0x2d5653(0x245)]:this[_0x2d5653(0x1b4)][_0x2d5653(0x1fe)](_0x5dd795(_0x3e4d9a=>_0x3e4d9a['unitID']===_0x157fd2),_0x1b49bb(_0x4c0caa=>_0x4c0caa[_0x2d5653(0x245)]));}['_init'](){const _0x301e9f=_0x195f9a;this[_0x301e9f(0x1e3)]['getTypeOfUnitAdded$'](_0x9205ee[_0x301e9f(0xd1)])['pipe'](_0xac117b(this[_0x301e9f(0x156)]))[_0x301e9f(0xe6)](async _0x432479=>{const _0x3a4ad6=_0x301e9f,_0x55a766=_0x432479[_0x3a4ad6(0x1b8)](),_0x99b697=await this[_0x3a4ad6(0x261)](_0x55a766);this[_0x3a4ad6(0x1b4)][_0x3a4ad6(0x2c8)](_0x99b697),this[_0x3a4ad6(0x29a)][_0x3a4ad6(0xd3)](_0x55a766,_0x99b697);}),this[_0x301e9f(0x1e3)][_0x301e9f(0x193)](_0x9205ee[_0x301e9f(0x174)])[_0x301e9f(0x1fe)](_0xac117b(this[_0x301e9f(0x156)]))[_0x301e9f(0x1fe)](_0x5dd795(_0x24ba44=>!_0x24ba44[_0x301e9f(0x1b8)]()[_0x301e9f(0x10d)]('__')))[_0x301e9f(0xe6)](async _0x58f98d=>{const _0x4cf682=_0x301e9f,_0x438e4b=_0x58f98d[_0x4cf682(0x1b8)](),_0x4fe9f4=await this['_startDocCollabCursor'](_0x438e4b);this[_0x4cf682(0x1b4)][_0x4cf682(0x2c8)](_0x4fe9f4),this[_0x4cf682(0x29a)]['set'](_0x438e4b,_0x4fe9f4);}),_0x25eaf0(this[_0x301e9f(0x1e3)][_0x301e9f(0x23e)](_0x9205ee[_0x301e9f(0x174)]),this['_univerInstanceService'][_0x301e9f(0x23e)](_0x9205ee[_0x301e9f(0xd1)]))[_0x301e9f(0x1fe)](_0xac117b(this['dispose$']))[_0x301e9f(0xe6)](_0x279beb=>{const _0x1450ac=_0x301e9f,_0x1a2cb9=_0x279beb[_0x1450ac(0x1b8)](),_0x9792db=this['_entities'][_0x1450ac(0x270)](_0x1a2cb9);_0x9792db&&(_0x9792db[_0x1450ac(0x1e6)](),this['_entities'][_0x1450ac(0x183)](_0x1a2cb9));});}async[_0x195f9a(0x261)](_0x5a160f){const _0x52b3a0=_0x195f9a,_0x40386e=await this[_0x52b3a0(0x224)][_0x52b3a0(0x2b9)](_0x5a160f),_0xd76f9c=this[_0x52b3a0(0x233)][_0x52b3a0(0x162)](Me,_0x5a160f,_0x40386e);return _0xd76f9c[_0x52b3a0(0x22e)](),_0xd76f9c;}async['_startDocCollabCursor'](_0x5e31e4){const _0x8a46cc=_0x195f9a,_0x3de929=await this['_collabSessionService']['requireSession'](_0x5e31e4),_0x45c98a=this['_injector'][_0x8a46cc(0x162)](Ue,_0x5e31e4,_0x3de929);return _0x45c98a[_0x8a46cc(0x22e)](),_0x45c98a;}};H=Ci([Se(0x0,_0x5d2c7a),Se(0x1,_0x556740(_0x8c0806)),Se(0x2,_0x556740(_0x3f5f8e))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x4bd587,_0x4e180c){const _0x410c12=_0x195f9a;let {radius:_0x3d24a6,width:_0x17f860,height:_0x3005a5}=_0x4e180c;_0x3d24a6=_0x3d24a6!=null?_0x3d24a6:0x0,_0x17f860=_0x17f860!=null?_0x17f860:0x1e,_0x3005a5=_0x3005a5!=null?_0x3005a5:0x1e;let _0x8284d7=0x0,_0x544c6c=0x0,_0x17155c=0x0;_0x8284d7=_0x544c6c=_0x17155c=Math[_0x410c12(0x232)](_0x3d24a6,_0x17f860/0x2,_0x3005a5/0x2),_0x4bd587['beginPath'](),_0x4bd587[_0x410c12(0x167)](_0x8284d7,0x0),_0x4bd587[_0x410c12(0x149)](_0x17f860-_0x544c6c,0x0),_0x4bd587[_0x410c12(0x25d)](_0x17f860-_0x544c6c,_0x544c6c,_0x544c6c,Math['PI']*0x3/0x2,0x0,!0x1),_0x4bd587[_0x410c12(0x149)](_0x17f860,_0x3005a5-_0x17155c),_0x4bd587[_0x410c12(0x25d)](_0x17f860-_0x17155c,_0x3005a5-_0x17155c,_0x17155c,0x0,Math['PI']/0x2,!0x1),_0x4bd587[_0x410c12(0x149)](0x0,_0x3005a5),_0x4bd587['lineTo'](0x0,_0x8284d7),_0x4bd587[_0x410c12(0x25d)](_0x8284d7,_0x8284d7,_0x8284d7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4bd587[_0x410c12(0x275)](),_0x4e180c[_0x410c12(0x24a)]&&(_0x4bd587[_0x410c12(0x206)](),_0x4bd587['fillStyle']=_0x4e180c[_0x410c12(0x24a)],_0x4e180c[_0x410c12(0x19d)]===_0x410c12(0x19a)?_0x4bd587[_0x410c12(0x24a)]('evenodd'):_0x4bd587['fill'](),_0x4bd587[_0x410c12(0x2c1)]());}class he extends _0x4b9357{constructor(_0x1c8e55,_0x5c817f){const _0x57cfed=_0x195f9a;super(_0x1c8e55,_0x5c817f),_(this,_0x57cfed(0xcf)),_(this,'text'),(this[_0x57cfed(0xcf)]=_0x5c817f==null?void 0x0:_0x5c817f['color'],this[_0x57cfed(0x18a)]=_0x5c817f==null?void 0x0:_0x5c817f[_0x57cfed(0x18a)]);}static[_0x195f9a(0x254)](_0xdb1bd,_0x413c96){const _0x4e8d89=_0x195f9a,{text:_0x3ce395,color:_0x1f6dc7}=_0x413c96;_0xdb1bd[_0x4e8d89(0x206)](),_0xdb1bd[_0x4e8d89(0x20f)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x23e6bc=_0xdb1bd[_0x4e8d89(0x10c)](_0x3ce395)[_0x4e8d89(0x229)],_0x668acd=Math[_0x4e8d89(0x232)](_0x23e6bc+0x2*me,Qe);bi(_0xdb1bd,{'height':ee,'radius':0x4,'width':_0x668acd,'fill':_0x1f6dc7}),_0xdb1bd[_0x4e8d89(0x253)]='#FFF';const _0xa1790d=me,_0x2c62a9=ee-Ei,_0x239ab3=Qe-0x2*me;if(_0x23e6bc>_0x239ab3){let _0xb62f8c='',_0x45bb19=0x0;for(const _0x4b0b68 of _0x3ce395){const _0x863c8b=_0xdb1bd[_0x4e8d89(0x10c)](_0x4b0b68)[_0x4e8d89(0x229)];if(_0x45bb19+_0x863c8b<=_0x239ab3-_0xdb1bd[_0x4e8d89(0x10c)](_0x4e8d89(0x1ce))[_0x4e8d89(0x229)])_0xb62f8c+=_0x4b0b68,_0x45bb19+=_0x863c8b;else{_0xb62f8c+=_0x4e8d89(0x1ce);break;}}_0xdb1bd[_0x4e8d89(0x2a7)](_0xb62f8c,_0xa1790d,_0x2c62a9);}else _0xdb1bd['fillText'](_0x3ce395,_0xa1790d,_0x2c62a9);_0xdb1bd[_0x4e8d89(0x2c1)]();}[_0x195f9a(0xe7)](_0x3d29b5){const _0x276b05=_0x195f9a;he[_0x276b05(0x254)](_0x3d29b5,this);}}const ge=_0x195f9a(0x166),Oi=_0x195f9a(0x289),Ti=_0x195f9a(0x14a),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x195f9a(0xfe);class qe{constructor(_0x65f5db,_0x16fd49,_0x3ae851,_0x26b12e){const _0x40190c=_0x195f9a;_(this,_0x40190c(0x115),[]),_(this,'_anchor',null),_(this,_0x40190c(0x210),null),_(this,_0x40190c(0xec),null),_(this,_0x40190c(0x299),null),_(this,'_eventUnsubscribe',null),(this[_0x40190c(0xf0)]=_0x65f5db,this[_0x40190c(0x230)]=_0x16fd49,this[_0x40190c(0x28d)]=_0x3ae851,this[_0x40190c(0x242)]=_0x26b12e,this[_0x40190c(0x1d9)]());}set[_0x195f9a(0x1ad)](_0x49c3c7){const _0x42e8d5=_0x195f9a;_0x49c3c7?(this[_0x42e8d5(0xec)]&&this[_0x42e8d5(0xec)]['hide'](),this[_0x42e8d5(0x210)]&&this[_0x42e8d5(0x210)][_0x42e8d5(0x2be)]()):(this[_0x42e8d5(0xec)]&&this[_0x42e8d5(0xec)]['show'](),this[_0x42e8d5(0x210)]&&this['_textBubble'][_0x42e8d5(0x198)]());}[_0x195f9a(0x1e6)](){const _0x50b000=_0x195f9a;for(const _0x172e76 of this[_0x50b000(0x115)])_0x172e76[_0x50b000(0x1e6)]();this[_0x50b000(0x210)]&&this[_0x50b000(0x210)][_0x50b000(0x1e6)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this[_0x50b000(0x110)]&&this[_0x50b000(0x110)][_0x50b000(0x1e6)](),this[_0x50b000(0x1fc)]&&this[_0x50b000(0x1fc)]();}['_render'](){const _0x4263e5=_0x195f9a;var _0x33fb48;const {_docSkeleton:_0x182004,_document:_0x5f128d}=this,{color:_0x4f1861,name:_0x4c5302,ranges:_0x19063c}=this[_0x4263e5(0xf0)],_0x4e2cb7=_0x5f128d[_0x4263e5(0x15c)](),{docsLeft:_0x2455ae,docsTop:_0x67aef3}=_0x4e2cb7,_0x3de8da=new _0x26461d(_0x4e2cb7,_0x182004);for(const {startOffset:_0x142ef6,endOffset:_0x11b183,rangeType:_0x4fbd48,segmentId:_0x328854,segmentPage:_0x3adcaf,collapsed:_0x20245b,isActive:_0x1b4220}of _0x19063c){const _0x54c750=_0x182004[_0x4263e5(0x2a3)](_0x142ef6,!0x0,_0x328854,_0x3adcaf);let _0x5c09b6=_0x182004[_0x4263e5(0x2a3)](_0x11b183,!0x0,_0x328854,_0x3adcaf);if(_0x5c09b6==null&&(_0x5c09b6=_0x182004['findNodePositionByCharIndex'](_0x11b183-0x1,!0x1,_0x328854,_0x3adcaf)),_0x1b4220){const {contentBoxPointGroup:_0xff1f1}=_0x3de8da[_0x4263e5(0x215)](_0x5c09b6,_0x5c09b6);if(_0xff1f1[_0x4263e5(0x263)]===0x0)continue;this[_0x4263e5(0x1b6)](_0x4f1861,_0xff1f1,_0x2455ae,_0x67aef3,_0x4c5302),this[_0x4263e5(0x1fc)]=this['_handleHover']();}if(_0x54c750&&_0x5c09b6){if(_0x4fbd48===_0x4982b8[_0x4263e5(0x173)]){const _0x5b43b5=new _0x26748a(_0x4e2cb7,_0x182004),{pointGroup:_0x3beecb}=(_0x33fb48=_0x5b43b5[_0x4263e5(0x215)](_0x54c750,_0x5c09b6))!=null?_0x33fb48:{};if(_0x3beecb==null||_0x3beecb[_0x4263e5(0x263)]===0x0)continue;this[_0x4263e5(0x11b)](_0x4f1861,_0x3beecb,_0x2455ae,_0x67aef3);}else{if(!_0x20245b){const {borderBoxPointGroup:_0x47b5b5}=_0x3de8da['getRangePointData'](_0x54c750,_0x5c09b6);if(_0x47b5b5[_0x4263e5(0x263)]===0x0)continue;this[_0x4263e5(0x22d)](_0x4f1861,_0x47b5b5,_0x2455ae,_0x67aef3);}}}}}['_drawAnchor'](_0x3eacff,_0x3af282,_0x5636e6,_0x4d0e88,_0x5066e6){const _0xe06af7=_0x195f9a,_0x4099de=this[_0xe06af7(0x184)](_0x3af282),{left:_0x2febfe,top:_0x4c46fe,height:_0x2139bd}=_0x4099de,_0x4814e0=this[_0xe06af7(0x24e)](),_0x554775=Di/_0x4814e0,_0x29d841=new _0x311357(ge+_0x32701d[_0xe06af7(0x101)](X),{'left':_0x2febfe+_0x5636e6-_0x554775,'top':_0x4c46fe+_0x4d0e88,'height':_0x2139bd,'width':Ri,'fill':_0x3eacff||_0x585b12(_0x47da3b[_0xe06af7(0x11a)],0x0),'strokeWidth':_0x554775,'stroke':Ni,'evented':!0x0});this[_0xe06af7(0x110)]=_0x29d841,this[_0xe06af7(0x230)][_0xe06af7(0x248)](_0x29d841,_0x47bdce);const _0x38338a=new _0x311357(ge+_0x32701d['generateRandomId'](X),{'left':_0x2febfe+_0x5636e6-_0x554775,'top':_0x4c46fe+_0x4d0e88-ve/0x2,'height':ve,'width':ve,'fill':_0x3eacff||_0x585b12(_0x47da3b[_0xe06af7(0x11a)],0x0),'strokeWidth':0x0,'stroke':_0x3eacff||_0x585b12(_0x47da3b[_0xe06af7(0x11a)],0x0),'evented':!0x1});this[_0xe06af7(0xec)]=_0x38338a,this[_0xe06af7(0x230)][_0xe06af7(0x248)](_0x38338a,_0x47bdce);const _0x3094c2=new he(ge+_0x32701d[_0xe06af7(0x101)](X),{'left':_0x2febfe+_0x5636e6-_0x554775,'top':_0x4c46fe+_0x4d0e88-ee,'text':_0x5066e6,'color':_0x3eacff});this['_textBubble']=_0x3094c2,this[_0xe06af7(0x230)]['addObject'](_0x3094c2,_0x47bdce),this['_hover']=!0x1;}[_0x195f9a(0x1b5)](){const _0x5488e9=_0x195f9a,_0x3b4199=this[_0x5488e9(0x110)][_0x5488e9(0x169)][_0x5488e9(0x288)](()=>{const _0x20cda8=_0x5488e9;this[_0x20cda8(0x1ad)]=!0x0;}),_0x4a6e73=this['_anchor']['onPointerLeave$'][_0x5488e9(0x288)](()=>{const _0x512dee=_0x5488e9;this[_0x512dee(0x299)]&&clearTimeout(this[_0x512dee(0x299)]),this['_hideTimer']=setTimeout(()=>{const _0xf6fe52=_0x512dee;this[_0xf6fe52(0x1ad)]=!0x1;},0x7d0);});return()=>{const _0x16c698=_0x5488e9;_0x3b4199[_0x16c698(0x21d)](),_0x4a6e73[_0x16c698(0x21d)]();};}[_0x195f9a(0x22d)](_0x3fc92d,_0x1daf46,_0x418614,_0x183bbb){const _0x8dedbe=_0x195f9a,_0x113ec9=new _0x48aa74(_0x3fc92d)[_0x8dedbe(0x298)](0.2)[_0x8dedbe(0x1f6)](),_0x3c71d4=new _0x42a77e(Oi+_0x32701d[_0x8dedbe(0x101)](X),{'pointsGroup':_0x1daf46,'fill':_0x113ec9||_0x585b12(_0x47da3b[_0x8dedbe(0x11a)],0.2),'left':_0x418614,'top':_0x183bbb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x8dedbe(0x115)][_0x8dedbe(0x1d0)](_0x3c71d4),this[_0x8dedbe(0x230)][_0x8dedbe(0x248)](_0x3c71d4,_0x47bdce);}[_0x195f9a(0x11b)](_0xd5ff7b,_0xaf2371,_0x5b59ca,_0x256c2b){const _0x533efe=_0x195f9a,_0x28b1c0=new _0x48aa74(_0xd5ff7b)['setAlpha'](0.2)[_0x533efe(0x1f6)](),_0x1bea78=new _0x42a77e(Ti+_0x32701d[_0x533efe(0x101)](X),{'pointsGroup':_0xaf2371,'fill':_0x28b1c0||_0x585b12(_0x47da3b[_0x533efe(0x11a)],0.2),'left':_0x5b59ca,'top':_0x256c2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x533efe(0x115)]['push'](_0x1bea78),this['_scene'][_0x533efe(0x248)](_0x1bea78,_0x47bdce);}['_getAnchorBounding'](_0x2f5b74){const _0x39e350=_0x2f5b74[0x0],_0x153490=_0x39e350[0x0],_0x260ffc=_0x39e350[0x2],{x:_0x5dd69b,y:_0x182919}=_0x153490,{x:_0x67e528,y:_0xbca60a}=_0x260ffc;return{'left':_0x5dd69b,'top':_0x182919,'width':_0x67e528-_0x5dd69b,'height':_0xbca60a-_0x182919};}['_getScale'](){const _0x362ad3=_0x195f9a,{scaleX:_0x21cd02,scaleY:_0xcbbece}=this[_0x362ad3(0x230)][_0x362ad3(0x237)]();return Math['max'](_0x21cd02,_0xcbbece);}}var Ui=Object[_0x195f9a(0x107)],Mi=(_0x7de57,_0x25c2da,_0x26c8bb,_0x1a1d10)=>{for(var _0x25eb5c=_0x1a1d10>0x1?void 0x0:_0x1a1d10?Ui(_0x25c2da,_0x26c8bb):_0x25c2da,_0xd203fe=_0x7de57['length']-0x1,_0x5b1bf4;_0xd203fe>=0x0;_0xd203fe--)(_0x5b1bf4=_0x7de57[_0xd203fe])&&(_0x25eb5c=_0x5b1bf4(_0x25eb5c)||_0x25eb5c);return _0x25eb5c;},Z=(_0x299262,_0xa04189)=>(_0xe6f077,_0x4a472e)=>_0xa04189(_0xe6f077,_0x4a472e,_0x299262);let Pe=class extends _0x2ac0c1{constructor(_0x3c6ad9,_0x52f734,_0x52c8f3,_0x288686,_0x465b7b){const _0x3ac1e5=_0x195f9a;super(),_(this,_0x3ac1e5(0x12d),[]),_(this,_0x3ac1e5(0x20a),[]),(this['_context']=_0x3c6ad9,this[_0x3ac1e5(0x24c)]=_0x52f734,this[_0x3ac1e5(0x29b)]=_0x52c8f3,this['_commandService']=_0x288686,this[_0x3ac1e5(0x2a9)]=_0x465b7b,this['_init']());}[_0x195f9a(0xea)](){const _0x3b2608=_0x195f9a,_0x222950=this[_0x3b2608(0x247)]['unitId'],_0x5ac003=this['_docSkeletonManagerService'];this[_0x3b2608(0x1ed)](_0x10c006([this[_0x3b2608(0x29b)][_0x3b2608(0x2a4)](_0x222950),this[_0x3b2608(0x2a9)]['currentTheme$']])[_0x3b2608(0x1fe)](_0x19d3aa(([_0xc5870e,_0x18aeae])=>({'skeleton':_0x5ac003[_0x3b2608(0x151)](),'cursors':[..._0xc5870e[_0x3b2608(0x241)]()]['flatMap'](_0x3af6d7=>({..._0x3af6d7,'color':_0x18aeae[_0x3af6d7['color']]}))})))['subscribe'](_0x55d3ec=>{const _0x5e416c=_0x3b2608;if(this['_removeCollabCursors'](),_0x55d3ec){const {skeleton:_0x131009,cursors:_0x584c05}=_0x55d3ec;this[_0x5e416c(0x2b1)](_0x131009,_0x584c05);}})),this[_0x3b2608(0x18b)](),this[_0x3b2608(0x195)]();}[_0x195f9a(0x2b1)](_0x4717e1,_0x1ff961){const _0x21c780=_0x195f9a,{scene:_0x3d058d,mainComponent:_0x159367}=this['_context'],_0xc03bc6=_0x1ff961[_0x21c780(0x11c)](_0x456367=>new qe(_0x456367,_0x3d058d,_0x4717e1,_0x159367));this[_0x21c780(0x12d)]=_0xc03bc6,this['_cursors']=_0x1ff961;}[_0x195f9a(0xd2)](){const _0x1a795b=_0x195f9a;this[_0x1a795b(0x12a)]();const {scene:_0x59c879,mainComponent:_0x209020}=this[_0x1a795b(0x247)],_0x4b90e4=this[_0x1a795b(0x24c)][_0x1a795b(0x151)](),_0x38d627=this['_cursors'][_0x1a795b(0x11c)](_0x327e5e=>new qe(_0x327e5e,_0x59c879,_0x4b90e4,_0x209020));this[_0x1a795b(0x12d)]=_0x38d627;}[_0x195f9a(0x12a)](){const _0x371924=_0x195f9a;this[_0x371924(0x12d)][_0x371924(0x2c0)](_0x2dc3c4=>_0x2dc3c4[_0x371924(0x1e6)]()),this[_0x371924(0x12d)]=[];}[_0x195f9a(0x195)](){const _0x175d1e=_0x195f9a,_0x46eaa1=[_0x2bf4ec['id']];this[_0x175d1e(0x1ed)](this['_commandService'][_0x175d1e(0x256)](_0x555984=>{const _0x4b6c8e=_0x175d1e;_0x46eaa1[_0x4b6c8e(0x148)](_0x555984['id'])&&_0x555984['params'][_0x4b6c8e(0x25a)]===this[_0x4b6c8e(0x247)]['unitId']&&this[_0x4b6c8e(0xd2)]();}));}[_0x195f9a(0x18b)](){const _0x768d43=_0x195f9a;this[_0x768d43(0x1ed)](_0x14e02d(this[_0x768d43(0x247)][_0x768d43(0x2ac)]['onTransformChange$'])['pipe'](_0x34596a(_0x44078d=>_0x44078d[_0x768d43(0x203)]===_0x5cc26b[_0x768d43(0x190)]),_0x4a702d(0x10))[_0x768d43(0xe6)](()=>{const _0x240421=_0x768d43;this[_0x240421(0xd2)]();}));}};Pe=Mi([Z(0x1,_0x556740(_0x2e9056)),Z(0x2,_0x556740(H)),Z(0x3,_0x5180dd),Z(0x4,_0x556740(_0x53bddf))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x4b9357{constructor(_0x4cbcc1,_0x376278){const _0x542986=_0x195f9a;super(_0x4cbcc1,_0x376278),_(this,_0x542986(0x17d)),_(this,'_hovered',!0x1),_(this,_0x542986(0x18e)),_(this,'_name',''),_(this,_0x542986(0x1ae),_0x542986(0xf4)),_(this,_0x542986(0x13a)),(_0x376278&&this[_0x542986(0xd7)](_0x376278),this[_0x542986(0x169)][_0x542986(0x288)](()=>this[_0x542986(0xd7)]({'hovered':!0x0})),this['onPointerLeave$'][_0x542986(0x288)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x195f9a(0xd7)](_0x58183d){const _0x4a7f0f=_0x195f9a;var _0x4a1fb5,_0x5e70d3,_0x742d04,_0x11b537,_0x1a9a9f,_0x1dede7;this[_0x4a7f0f(0x17d)]=(_0x4a1fb5=_0x58183d[_0x4a7f0f(0xcf)])!=null?_0x4a1fb5:this[_0x4a7f0f(0x17d)],this[_0x4a7f0f(0x281)]=(_0x5e70d3=_0x58183d[_0x4a7f0f(0x10f)])!=null?_0x5e70d3:this[_0x4a7f0f(0x281)],this[_0x4a7f0f(0x18e)]=(_0x742d04=_0x58183d[_0x4a7f0f(0x2bf)])!=null?_0x742d04:this['_range'],this[_0x4a7f0f(0x235)]=(_0x11b537=_0x58183d['name'])!=null?_0x11b537:this[_0x4a7f0f(0x235)],this[_0x4a7f0f(0x1ae)]=(_0x1a9a9f=_0x58183d[_0x4a7f0f(0x2c9)])!=null?_0x1a9a9f:this[_0x4a7f0f(0x1ae)],this[_0x4a7f0f(0x13a)]=(_0x1dede7=_0x58183d[_0x4a7f0f(0x1cd)])!=null?_0x1dede7:this[_0x4a7f0f(0x13a)],this[_0x4a7f0f(0x22a)]({'width':_0x58183d[_0x4a7f0f(0x229)],'height':_0x58183d[_0x4a7f0f(0x143)]});}[_0x195f9a(0x23f)](_0x1aad0a){const _0x4d4f98=_0x195f9a,{row:_0x1308e6,column:_0x2ca298}=_0x1aad0a;if(_0x1308e6>=this[_0x4d4f98(0x18e)][_0x4d4f98(0xda)]&&_0x1308e6<=this[_0x4d4f98(0x18e)][_0x4d4f98(0x16f)]&&_0x2ca298>=this['_range'][_0x4d4f98(0x130)]&&_0x2ca298<=this[_0x4d4f98(0x18e)][_0x4d4f98(0x259)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4d4f98(0xd7)]({'hovered':!0x1});}[_0x195f9a(0x231)](_0x23a79f){return!0x1;}['_draw'](_0x5a541e){const _0xd53da6=_0x195f9a;_0x311357[_0xd53da6(0x254)](_0x5a541e,{'width':this[_0xd53da6(0x229)],'height':this['height'],'strokeWidth':wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xd53da6(0x13a)]}),this[_0xd53da6(0x281)]&&(_0x5a541e[_0xd53da6(0x206)](),_0x5a541e['transform'](0x1,0x0,0x0,0x1,this[_0xd53da6(0x229)],this[_0xd53da6(0x1ae)]===_0xd53da6(0x177)?0x0:-0x14),he[_0xd53da6(0x254)](_0x5a541e,{'text':this[_0xd53da6(0x235)],'color':this[_0xd53da6(0x17d)]}),_0x5a541e[_0xd53da6(0x2c1)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0xea76ba,_0x20f2c8,_0x36ef01,_0x2879ae)=>{const _0x1bf795=_0x195f9a;for(var _0x5dc74d=_0x2879ae>0x1?void 0x0:_0x2879ae?Ai(_0x20f2c8,_0x36ef01):_0x20f2c8,_0x17297e=_0xea76ba[_0x1bf795(0x263)]-0x1,_0x289c97;_0x17297e>=0x0;_0x17297e--)(_0x289c97=_0xea76ba[_0x17297e])&&(_0x5dc74d=_0x289c97(_0x5dc74d)||_0x5dc74d);return _0x5dc74d;},Ie=(_0x100df4,_0x3d4ab1)=>(_0x2d46b4,_0x5ce18b)=>_0x3d4ab1(_0x2d46b4,_0x5ce18b,_0x100df4);const $i=0x1389;let we=class extends _0x2ac0c1{constructor(_0x7ca0a2,_0x36c415,_0x3c429a,_0x352c22){const _0x14fd90=_0x195f9a;super(),_(this,_0x14fd90(0x20a),new Set()),_(this,_0x14fd90(0x1d3),null),(this[_0x14fd90(0x247)]=_0x7ca0a2,this['_sheetSkeletonManagerService']=_0x36c415,this['_collabCursorController']=_0x3c429a,this[_0x14fd90(0x2a9)]=_0x352c22,this[_0x14fd90(0xea)]());}['_init'](){const _0x3b439f=_0x195f9a;this['_sheetSkeletonManagerService'][_0x3b439f(0x2bc)][_0x3b439f(0x1fe)](_0xd3a635(this[_0x3b439f(0x156)]),_0x5e1aa1(_0x331889=>{const _0x5aa5b7=_0x3b439f;if(_0x331889){const _0x4e7a0c=_0x331889[_0x5aa5b7(0x267)];return _0x10c006(this[_0x5aa5b7(0x29b)][_0x5aa5b7(0x2a4)](this['_context']['unitId']),this[_0x5aa5b7(0x2a9)]['currentTheme$'])[_0x5aa5b7(0x1fe)](_0x19d3aa(([_0xff0e60,_0x3ffb96])=>{const _0x1a4358=_0x5aa5b7,_0x4f2914=new Map();return _0xff0e60[_0x1a4358(0x2c0)]((_0x2e548c,_0xe51599)=>{const _0x3d1431=_0x1a4358;if(_0x2e548c[_0x3d1431(0x1f7)]===_0x4e7a0c){const _0x9345aa={..._0x2e548c};_0x9345aa[_0x3d1431(0xcf)]=_0x3ffb96[_0x2e548c[_0x3d1431(0xcf)]],_0x4f2914[_0x3d1431(0xd3)](_0xe51599,_0x9345aa);}}),{'skeleton':_0x331889,'cursors':_0x4f2914};}));}return _0x3f5d4b({'skeleton':null,'cursors':new Map()});}))[_0x3b439f(0xe6)](({skeleton:_0x36d570,cursors:_0x416177})=>{const _0x487fc9=_0x3b439f;this[_0x487fc9(0x12a)](),_0x36d570&&this['_updateCollabCursors'](_0x36d570,_0x416177);}),this[_0x3b439f(0x243)]['currentSkeleton$'][_0x3b439f(0xe6)](_0x40ca55=>{const _0xbd8fb3=_0x3b439f;if(_0x40ca55==null)return;const {skeleton:_0x1c3a94}=_0x40ca55,{scene:_0x21378d}=this['_context'];_0x21378d[_0xbd8fb3(0x1ab)][_0xbd8fb3(0x288)](_0x1eb98c(_0x5fadbd=>{const _0x627a81=_0xbd8fb3;var _0x2b59d2,_0x56482b;const {offsetX:_0x2b631a,offsetY:_0x227ac2}=_0x5fadbd,{x:_0x509a7a,y:_0xd15c52}=_0x21378d['getRelativeToViewportCoord'](_0x38215f[_0x627a81(0x14f)]([_0x2b631a,_0x227ac2])),{scaleX:_0x5f1576,scaleY:_0x46b358}=_0x21378d[_0x627a81(0x237)](),_0x3fd8e8=_0x21378d[_0x627a81(0x14d)](_0x255c83['VIEW_MAIN']),_0x1a8e65=_0x21378d[_0x627a81(0x16e)](_0x38215f[_0x627a81(0x14f)]([_0x509a7a,_0xd15c52]),_0x3fd8e8),_0x5804a5=_0x1c3a94[_0x627a81(0x1a9)](_0x2b631a,_0x227ac2,_0x5f1576,_0x46b358,_0x1a8e65);((_0x2b59d2=this['_lastPointer'])==null?void 0x0:_0x2b59d2['column'])===_0x5804a5[_0x627a81(0x249)]&&((_0x56482b=this[_0x627a81(0x1d3)])==null?void 0x0:_0x56482b[_0x627a81(0x29d)])===_0x5804a5[_0x627a81(0x29d)]||this[_0x627a81(0x20a)]['forEach'](_0x1be221=>{const _0x46b345=_0x627a81;_0x1be221[_0x46b345(0x23f)](_0x5804a5);});},0x64));});}[_0x195f9a(0x2b1)](_0x30e745,_0x487c5f){const _0x34e40b=_0x195f9a;var _0x4f8ad6;const _0x285176=(_0x4f8ad6=this[_0x34e40b(0x243)][_0x34e40b(0x1f4)]())==null?void 0x0:_0x4f8ad6[_0x34e40b(0x171)];if(!_0x285176)return;const _0x3a1fbf=this[_0x34e40b(0x246)]();if(!_0x3a1fbf)return;this[_0x34e40b(0x20a)]['forEach'](_0x2298de=>{const _0xc92488=_0x34e40b;_0x2298de[_0xc92488(0x276)]();});const {scene:_0xeb45a4}=_0x3a1fbf,_0x3a16eb=xi(Array['from'](_0x487c5f[_0x34e40b(0x241)]()))[_0x34e40b(0x11c)](_0xc012c=>{const _0x50ae98=_0x34e40b,{color:_0x149872,range:_0x398806,name:_0x106213,selection:_0x42b3db,sheetID:_0x1589fd}=_0xc012c,{startColumn:_0x4e0409,startRow:_0x49b58f,endColumn:_0xb0eaf7,endRow:_0x53a150}=_0x398806,_0x3091b3=_0x4ca8ef(_0x49b58f,_0x4e0409,_0xeb45a4,_0x285176),_0x4fbce4=_0x4ca8ef(_0x53a150,_0xb0eaf7,_0xeb45a4,_0x285176),{columnHeaderHeightAndMarginTop:_0x97aade}=_0x285176,{startX:_0xa1d37a,startY:_0x271f61}=_0x3091b3,{endX:_0x3723bd,endY:_0x446bdf}=_0x4fbce4,_0x29e1cf=_0x3723bd-_0xa1d37a,_0x518cf6=_0x446bdf-_0x271f61,_0x346cdc={'labelPosition':_0x271f61-_0x97aade>=ee?_0x50ae98(0xf4):'bottom','sheetID':_0x1589fd,'range':_0x398806,'color':_0x149872,'name':_0x106213,'selection':_0x42b3db,'left':_0xa1d37a,'top':_0x271f61,'width':_0x29e1cf,'height':_0x518cf6,'evented':!0x1,'zIndex':$i};return new Li(_0x106213,_0x346cdc);});_0xeb45a4[_0x34e40b(0x2b3)](_0x3a16eb,Pi),this[_0x34e40b(0x20a)]=new Set(_0x3a16eb);}[_0x195f9a(0x12a)](){const _0xf829e3=_0x195f9a;var _0x1040cf;(_0x1040cf=this['_cursors'])==null||_0x1040cf[_0xf829e3(0x2c0)](_0x1c6aff=>_0x1c6aff['dispose']());}['_getSheetObject'](){const _0x599f00=_0x195f9a;return _0x3609a9(this['_context'][_0x599f00(0x19f)],this[_0x599f00(0x247)]);}};we=yi([Ie(0x1,_0x556740(_0x3dfaed)),Ie(0x2,_0x556740(H)),Ie(0x3,_0x556740(_0x53bddf))],we);function xi(_0x39bae0){const _0x4713c3=_0x195f9a,_0x2794ce=new Map();return _0x39bae0[_0x4713c3(0x2c0)](_0x255e83=>{const _0x1c97da=_0x4713c3;if(_0x2794ce[_0x1c97da(0x1a3)](_0x255e83[_0x1c97da(0x1b1)])){const _0x339720=_0x2794ce['get'](_0x255e83['selection']);_0x339720[_0x1c97da(0x26e)]+=',\x20'+_0x255e83[_0x1c97da(0x26e)];}else _0x2794ce[_0x1c97da(0xd3)](_0x255e83[_0x1c97da(0x1b1)],_0x255e83);}),Array['from'](_0x2794ce[_0x4713c3(0x241)]());}var I=function(){const _0x32bbd5=_0x195f9a;return I=Object[_0x32bbd5(0x13b)]||function(_0x1256a2){const _0x35f6c5=_0x32bbd5;for(var _0x97fff6,_0x366cf0=0x1,_0xf0cf65=arguments['length'];_0x366cf0<_0xf0cf65;_0x366cf0++){_0x97fff6=arguments[_0x366cf0];for(var _0x1f3fdd in _0x97fff6)Object[_0x35f6c5(0x176)][_0x35f6c5(0x2b7)][_0x35f6c5(0x20b)](_0x97fff6,_0x1f3fdd)&&(_0x1256a2[_0x1f3fdd]=_0x97fff6[_0x1f3fdd]);}return _0x1256a2;},I['apply'](this,arguments);},Bi=function(_0x598e0,_0x13b22e){const _0x30bc7d=_0x195f9a;var _0x38f199={};for(var _0x42f3b4 in _0x598e0)Object[_0x30bc7d(0x176)][_0x30bc7d(0x2b7)][_0x30bc7d(0x20b)](_0x598e0,_0x42f3b4)&&_0x13b22e[_0x30bc7d(0x109)](_0x42f3b4)<0x0&&(_0x38f199[_0x42f3b4]=_0x598e0[_0x42f3b4]);if(_0x598e0!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x310a43=0x0,_0x42f3b4=Object[_0x30bc7d(0x1c5)](_0x598e0);_0x310a43<_0x42f3b4[_0x30bc7d(0x263)];_0x310a43++)_0x13b22e['indexOf'](_0x42f3b4[_0x310a43])<0x0&&Object[_0x30bc7d(0x176)][_0x30bc7d(0x287)][_0x30bc7d(0x20b)](_0x598e0,_0x42f3b4[_0x310a43])&&(_0x38f199[_0x42f3b4[_0x310a43]]=_0x598e0[_0x42f3b4[_0x310a43]]);}return _0x38f199;},je=_0x5df9f3(function(_0x4a6c56,_0x474c64){const _0x2b031e=_0x195f9a;var _0x1e87ee=_0x4a6c56[_0x2b031e(0x1a8)],_0xa17af5=_0x4a6c56['id'],_0xa09fbd=_0x4a6c56[_0x2b031e(0x274)],_0x549725=_0x4a6c56[_0x2b031e(0x29e)],_0x56c859=Bi(_0x4a6c56,[_0x2b031e(0x1a8),'id','className',_0x2b031e(0x29e)]),_0x17baa9='univerjs-icon\x20univerjs-icon-'[_0x2b031e(0x244)](_0xa17af5,'\x20')[_0x2b031e(0x244)](_0xa09fbd||'')[_0x2b031e(0xe8)](),_0x55472d=_0x18d2b4('_'[_0x2b031e(0x244)](ji()));return Rt(_0x1e87ee,''[_0x2b031e(0x244)](_0xa17af5),{'defIds':_0x1e87ee['defIds'],'idSuffix':_0x55472d[_0x2b031e(0x28c)]},I({'ref':_0x474c64,'className':_0x17baa9},_0x56c859),_0x549725);});function Rt(_0x2ee65d,_0x52f9b3,_0x450e95,_0x47d66e,_0x40fd7c){const _0x584a5e=_0x195f9a;return _0x224195(_0x2ee65d['tag'],I(I({'key':_0x52f9b3},ki(_0x2ee65d,_0x450e95,_0x40fd7c)),_0x47d66e),(Hi(_0x2ee65d,_0x450e95)[_0x584a5e(0x277)]||[])[_0x584a5e(0x11c)](function(_0x5f42fd,_0x4120f6){const _0xb167d2=_0x584a5e;return Rt(_0x5f42fd,''[_0xb167d2(0x244)](_0x52f9b3,'-')['concat'](_0x2ee65d[_0xb167d2(0x1ca)],'-')[_0xb167d2(0x244)](_0x4120f6),_0x450e95,void 0x0,_0x40fd7c);}));}function ki(_0x1d13cf,_0x533572,_0x4d881a){const _0x142d67=_0x195f9a;var _0x48630b=I({},_0x1d13cf[_0x142d67(0x1d7)]);_0x4d881a!=null&&_0x4d881a[_0x142d67(0x21c)]&&_0x48630b['fill']===_0x142d67(0x21c)&&(_0x48630b[_0x142d67(0x24a)]=_0x4d881a['colorChannel1']),_0x1d13cf[_0x142d67(0x1ca)]===_0x142d67(0x2aa)&&_0x48630b['id']&&(_0x48630b['id']=_0x48630b['id']+_0x533572[_0x142d67(0x16b)]),Object[_0x142d67(0x2b5)](_0x48630b)[_0x142d67(0x2c0)](function(_0x42450c){const _0x199903=_0x142d67;var _0x5f47c9=_0x42450c[0x0],_0xa9c533=_0x42450c[0x1];_0x5f47c9===_0x199903(0x2aa)&&typeof _0xa9c533==_0x199903(0x1fd)&&(_0x48630b[_0x5f47c9]=_0xa9c533['replace'](/url\(#(.*)\)/,_0x199903(0x15f)[_0x199903(0x244)](_0x533572['idSuffix'],')')));});var _0x234516=_0x533572['defIds'];return!_0x234516||_0x234516[_0x142d67(0x263)]===0x0||(_0x1d13cf['tag']===_0x142d67(0x200)&&_0x48630b[_0x142d67(0x120)]&&(_0x48630b[_0x142d67(0x120)]=_0x48630b['xlink:href']+_0x533572[_0x142d67(0x16b)]),Object[_0x142d67(0x2b5)](_0x48630b)[_0x142d67(0x2c0)](function(_0x410f4c){const _0x1dae38=_0x142d67;var _0x5613d8=_0x410f4c[0x0],_0x1699bf=_0x410f4c[0x1];typeof _0x1699bf=='string'&&(_0x48630b[_0x5613d8]=_0x1699bf[_0x1dae38(0x280)](/url\(#(.*)\)/,_0x1dae38(0x15f)['concat'](_0x533572[_0x1dae38(0x16b)],')')));})),_0x48630b;}function Hi(_0x5a61cd,_0x152f84){const _0x3af60b=_0x195f9a;var _0x5c3855,_0x3f8419=_0x152f84[_0x3af60b(0x2b8)];return!_0x3f8419||_0x3f8419['length']===0x0?_0x5a61cd:_0x5a61cd[_0x3af60b(0x1ca)]===_0x3af60b(0xdd)&&(!((_0x5c3855=_0x5a61cd[_0x3af60b(0x277)])===null||_0x5c3855===void 0x0)&&_0x5c3855[_0x3af60b(0x263)])?I(I({},_0x5a61cd),{'children':_0x5a61cd['children'][_0x3af60b(0x11c)](function(_0x297cba){const _0x1b7de1=_0x3af60b;return typeof _0x297cba[_0x1b7de1(0x1d7)]['id']==_0x1b7de1(0x1fd)&&_0x3f8419&&_0x3f8419[_0x1b7de1(0x109)](_0x297cba['attrs']['id'])>-0x1?I(I({},_0x297cba),{'attrs':I(I({},_0x297cba[_0x1b7de1(0x1d7)]),{'id':_0x297cba[_0x1b7de1(0x1d7)]['id']+_0x152f84['idSuffix']})}):_0x297cba;})}):_0x5a61cd;}function ji(){const _0x3efc52=_0x195f9a;return Math['random']()[_0x3efc52(0x2ba)](0x24)[_0x3efc52(0x161)](0x2,0x8);}je[_0x195f9a(0xed)]=_0x195f9a(0x1ea);var Wi={'tag':_0x195f9a(0x285),'attrs':{'fill':_0x195f9a(0x2cc),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x195f9a(0x154)},'children':[{'tag':'g','attrs':{'clipPath':_0x195f9a(0xdb)},'children':[{'tag':_0x195f9a(0x1e8),'attrs':{'stroke':'currentColor','d':_0x195f9a(0x26b),'strokeLinecap':'round','strokeLinejoin':_0x195f9a(0x124),'strokeWidth':1.2}}]},{'tag':_0x195f9a(0xdd),'attrs':{},'children':[{'tag':_0x195f9a(0x182),'attrs':{'id':_0x195f9a(0x220)},'children':[{'tag':_0x195f9a(0x1e8),'attrs':{'fill':_0x195f9a(0xf1),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x195f9a(0x220)]},Dt=_0x5df9f3(function(_0x2e8de1,_0x36e9c7){const _0x1de3d6=_0x195f9a;return _0x224195(je,Object[_0x1de3d6(0x13b)]({},_0x2e8de1,{'id':_0x1de3d6(0x214),'ref':_0x36e9c7,'icon':Wi}));});Dt['displayName']=_0x195f9a(0x189);var Fi={'tag':_0x195f9a(0x285),'attrs':{'fill':_0x195f9a(0x2cc),'viewBox':_0x195f9a(0x18c),'width':_0x195f9a(0x154),'height':_0x195f9a(0x154)},'children':[{'tag':'g','attrs':{'clipPath':_0x195f9a(0xe1)},'children':[{'tag':_0x195f9a(0x1e8),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x195f9a(0x124),'strokeWidth':1.2}}]},{'tag':_0x195f9a(0xdd),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x195f9a(0x1e8),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x195f9a(0x187)}}]}]}],'defIds':[_0x195f9a(0x105)]},Nt=_0x5df9f3(function(_0x285495,_0x52ed85){const _0x4249b7=_0x195f9a;return _0x224195(je,Object[_0x4249b7(0x13b)]({},_0x285495,{'id':_0x4249b7(0x221),'ref':_0x52ed85,'icon':Fi}));});Nt[_0x195f9a(0xed)]=_0x195f9a(0xee);function Yi(_0x5a3da5){const _0x3fe1f0=_0x195f9a;switch(_0x5a3da5){case _0x305e5c['OFFLINE']:return'collabStatus.offline';case _0x305e5c[_0x3fe1f0(0x1a7)]:return _0x3fe1f0(0x1bf);case _0x305e5c['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x305e5c[_0x3fe1f0(0x239)]:return _0x3fe1f0(0x1c0);case _0x305e5c['AWAITING']:case _0x305e5c['AWAITING_WITH_PENDING']:return _0x3fe1f0(0x13f);case _0x305e5c[_0x3fe1f0(0x20e)]:case _0x305e5c['PENDING']:return _0x3fe1f0(0x24d);}}function Vi(_0x7c044f){const _0x129b11=_0x195f9a,{status$:_0xcfa782}=_0x7c044f,_0x1c3df6=_0x10d5bc(_0xcfa782,_0x305e5c['NOT_COLLAB']),_0x33f86b=_0x48196e(_0x6f2c92),_0x2eeee0=_0x48196e(_0x3f5f8e),_0x9f43c3=_0x1c3df6!==_0x305e5c[_0x129b11(0x2c4)],_0x4fc849=_0x33f86b['t'](Yi(_0x1c3df6)),_0x1f4752=_0x9f43c3?_0x5af85b(Nt,{}):_0x5af85b(Dt,{}),_0x55e0f4=_0x308e12(()=>{_0x9f43c3||_0x2eeee0['reconnect']();},[_0x9f43c3,_0x2eeee0]);function _0x430d9e(){const _0x2ff16c=_0x129b11;return _0x3382e2('div',{'className':_0x2ff16c(0x12e),'onClick':_0x55e0f4,'children':[_0x5af85b('div',{'className':_0x4e749a(_0x2ff16c(0x1df),_0x9f43c3?_0x2ff16c(0x22f):_0x2ff16c(0x236)),'children':_0x1f4752}),_0x5af85b(_0x2ff16c(0x1b3),{'className':_0x2ff16c(0x10e),'children':_0x4fc849})]});}return _0x9f43c3?_0x430d9e():_0x5af85b(_0x4eda62,{'title':_0x33f86b['t'](_0x129b11(0x209)),'children':_0x430d9e()});}var Xi=Object[_0x195f9a(0x107)],Gi=(_0x270c79,_0x23dc5f,_0x576ea1,_0x345862)=>{for(var _0x538c7d=_0x345862>0x1?void 0x0:_0x345862?Xi(_0x23dc5f,_0x576ea1):_0x23dc5f,_0x226310=_0x270c79['length']-0x1,_0x5249f5;_0x226310>=0x0;_0x226310--)(_0x5249f5=_0x270c79[_0x226310])&&(_0x538c7d=_0x5249f5(_0x538c7d)||_0x538c7d);return _0x538c7d;},Q=(_0x31e272,_0x2049cd)=>(_0x1931a2,_0x48cf43)=>_0x2049cd(_0x1931a2,_0x48cf43,_0x31e272);let te=class extends _0x669a68{constructor(_0x4bfa00,_0x2aab76,_0x1c773d,_0x5de8a3){const _0xc7d0ee=_0x195f9a;super(),_(this,'_status$',new _0x27c7e6(_0x305e5c[_0xc7d0ee(0x239)])),(this[_0xc7d0ee(0x1e3)]=_0x4bfa00,this[_0xc7d0ee(0x233)]=_0x2aab76,this[_0xc7d0ee(0x18f)]=_0x1c773d,this[_0xc7d0ee(0x1ff)]=_0x5de8a3,this[_0xc7d0ee(0x213)](),this[_0xc7d0ee(0x260)]());}[_0x195f9a(0x260)](){const _0x4675d4=_0x195f9a;this['disposeWithMe'](this[_0x4675d4(0x1e3)]['focused$']['pipe'](_0x1b49bb(()=>{const _0x261961=_0x4675d4,_0x1cf911=this['_univerInstanceService'][_0x261961(0x19c)]();return _0x1cf911?this[_0x261961(0x18f)][_0x261961(0x1ee)](_0x1cf911[_0x261961(0x1b8)]()):_0x3f5d4b(null);}),_0x1b49bb(_0x150ffb=>_0x150ffb?_0x150ffb[_0x4675d4(0x266)]:_0x3f5d4b(_0x305e5c[_0x4675d4(0x239)])))[_0x4675d4(0xe6)](_0x437db9=>{const _0x4872cb=_0x4675d4;this['_status$'][_0x4872cb(0x2c8)](_0x437db9);}));}[_0x195f9a(0x213)](){const _0x5ed87d=_0x195f9a;this['disposeWithMe'](this[_0x5ed87d(0x1ff)]['registerComponent'](_0x1e1a9a[_0x5ed87d(0x185)],()=>_0x4290b7(Ki({'status$':this['_status$'][_0x5ed87d(0x1da)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x5d2c7a),Q(0x1,_0x556740(_0x8c0806)),Q(0x2,_0x556740(_0x507b69)),Q(0x3,_0x1761bb)],te);function Ki(_0x1f5b29){const {status$:_0x53b8bf}=_0x1f5b29;return function(){return _0x5af85b(Vi,{'status$':_0x53b8bf});};}var zi=Object[_0x195f9a(0x107)],Ji=(_0x2a2a0e,_0x5e596b,_0x1f39dc,_0xc65b7f)=>{const _0x2b5a41=_0x195f9a;for(var _0x21ea50=_0xc65b7f>0x1?void 0x0:_0xc65b7f?zi(_0x5e596b,_0x1f39dc):_0x5e596b,_0x33d536=_0x2a2a0e[_0x2b5a41(0x263)]-0x1,_0x29cc47;_0x33d536>=0x0;_0x33d536--)(_0x29cc47=_0x2a2a0e[_0x33d536])&&(_0x21ea50=_0x29cc47(_0x21ea50)||_0x21ea50);return _0x21ea50;},B=(_0x141429,_0x4ba794)=>(_0x1e0a22,_0x2291d1)=>_0x4ba794(_0x1e0a22,_0x2291d1,_0x141429);let se=class extends _0x669a68{constructor(_0x4b19c4,_0x27a605,_0x3081c6,_0x56a6f3,_0x5dbad8,_0x44c91c){const _0x593a95=_0x195f9a;super(),this[_0x593a95(0x23b)]=_0x4b19c4,this[_0x593a95(0x204)]=_0x27a605,this['_collaborationUIEventService']=_0x3081c6,this[_0x593a95(0x1ac)]=_0x56a6f3,this['_notificationService']=_0x5dbad8,this[_0x593a95(0x1f1)]=_0x44c91c,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x195f9a(0x1aa)](){const _0x365bd5=_0x195f9a;this[_0x365bd5(0x1ed)](this[_0x365bd5(0x23b)][_0x365bd5(0xeb)](()=>{const _0x2ff354=_0x365bd5;if(this[_0x2ff354(0x204)][_0x2ff354(0x23a)][_0x2ff354(0x205)])return this[_0x2ff354(0x1f1)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x195f9a(0x145)](){const _0x25d382=_0x195f9a;this[_0x25d382(0x1ed)](this[_0x25d382(0x293)][_0x25d382(0x2c2)]['subscribe'](_0x29d50b=>{const _0x52b65e=_0x25d382;_0x29d50b['id']===_0x4b3678['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0x24f)],'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x150))}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x1c3)]&&this[_0x52b65e(0x1ac)][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0x24f)],'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x102))}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x250)]&&this[_0x52b65e(0x1b9)]['show']({'title':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x1b2)),'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x16c)),'type':_0x52b65e(0x159),'duration':0x0}),_0x29d50b['id']===_0x4b3678['CONFLICT']&&this[_0x52b65e(0x1ac)][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0xe5)],'content':this[_0x52b65e(0x1f1)]['t']('collaboration.closeRoom')+'('+_0x29d50b['data']+')'}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0xdf)]&&this[_0x52b65e(0x1ac)]['show']({'type':_0xbc53b9[_0x52b65e(0x24f)],'content':this[_0x52b65e(0x1f1)]['t'](_0x29d50b[_0x52b65e(0x258)]||'')}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x283)]&&this['_messageService'][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0x24f)],'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x14b))}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x14c)]&&this['_messageService'][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0xe5)],'content':this[_0x52b65e(0x1f1)]['t'](_0x52b65e(0x1b7))}),_0x29d50b['id']===_0x4b3678[_0x52b65e(0x2c3)]&&this[_0x52b65e(0x1ac)][_0x52b65e(0x2be)]({'type':_0xbc53b9[_0x52b65e(0xe5)],'content':this[_0x52b65e(0x1f1)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x1706a8),B(0x1,_0xac2fb0),B(0x2,_0x556740(_0x1b2fe3)),B(0x3,_0x4e2e4f),B(0x4,_0x10bafe),B(0x5,_0x556740(_0x6f2c92))],se);const Zi=_0x195f9a(0x23d),et={},Ut=_0x355c51(_0x195f9a(0x18d));var Qi=Object[_0x195f9a(0x107)],qi=(_0x2d9c0a,_0x493501,_0x37c783,_0x1c7a6a)=>{const _0x22d457=_0x195f9a;for(var _0x269a0a=_0x1c7a6a>0x1?void 0x0:_0x1c7a6a?Qi(_0x493501,_0x37c783):_0x493501,_0x5ea75a=_0x2d9c0a[_0x22d457(0x263)]-0x1,_0x5bbba4;_0x5ea75a>=0x0;_0x5ea75a--)(_0x5bbba4=_0x2d9c0a[_0x5ea75a])&&(_0x269a0a=_0x5bbba4(_0x269a0a)||_0x269a0a);return _0x269a0a;},G=(_0x59f250,_0x3f9079)=>(_0x3c5bba,_0x333963)=>_0x3f9079(_0x3c5bba,_0x333963,_0x59f250);let ie=class extends _0x2ac0c1{constructor(_0x2d5aaf,_0x5ae624,_0x21642d,_0x1add4f,_0xc79fb4){const _0x21bb42=_0x195f9a;super(),this[_0x21bb42(0x21b)]=_0x2d5aaf,this[_0x21bb42(0x126)]=_0x5ae624,this[_0x21bb42(0x20d)]=_0x21642d,this['_dataLoaderService']=_0x1add4f,_0xc79fb4?_0xc79fb4==null||_0xc79fb4[_0x21bb42(0x1eb)]()[_0x21bb42(0x273)](()=>this['_init']()):(this[_0x21bb42(0x126)][_0x21bb42(0x1f9)](_0x21bb42(0x103),_0x21bb42(0xf8)),this[_0x21bb42(0xea)]());}async[_0x195f9a(0xea)](){const _0x26534d=_0x195f9a,_0x2b37b3=this[_0x26534d(0x21b)][_0x26534d(0x1d8)]('unit'),_0x157576=this[_0x26534d(0x21b)][_0x26534d(0x1d8)](_0x26534d(0x203)),_0x454470=this[_0x26534d(0x21b)]['getParam']('subunit');if(!_0x2b37b3||!_0x157576){this['_logService'][_0x26534d(0x1f9)](_0x26534d(0x103),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1320d7=await this[_0x26534d(0x186)][_0x26534d(0x128)](_0x2b37b3,Number(_0x157576),_0x454470);_0x1320d7&&_0x1320d7 instanceof _0x489db4&&this['_setupSubUnitSync'](_0x1320d7);}async[_0x195f9a(0x2a6)](_0x1d538d){const _0x4fd4dc=_0x195f9a;await this[_0x4fd4dc(0x15d)](_0x1d538d),_0x1d538d[_0x4fd4dc(0x12f)]['pipe'](_0xac117b(this[_0x4fd4dc(0x156)]))['subscribe'](_0x30c5ce=>{const _0x7ee822=_0x4fd4dc;_0x30c5ce&&this[_0x7ee822(0x1a1)](_0x30c5ce);}),this[_0x4fd4dc(0x21b)][_0x4fd4dc(0x13c)][_0x4fd4dc(0x1fe)](_0xac117b(this['dispose$']))[_0x4fd4dc(0xe6)](()=>this[_0x4fd4dc(0x15d)](_0x1d538d));}[_0x195f9a(0x1a1)](_0x2b757f,_0x355607=!0x1){const _0x2f5b26=_0x195f9a,_0x7e37b8=this[_0x2f5b26(0x21b)][_0x2f5b26(0x1d8)](_0x2f5b26(0x2c7));_0x2b757f['getSheetId']()!==_0x7e37b8&&this[_0x2f5b26(0x21b)][_0x2f5b26(0x1a2)]('subunit',_0x2b757f[_0x2f5b26(0x1f0)](),_0x355607);}async[_0x195f9a(0x15d)](_0x4173d5){const _0x3cdbba=_0x195f9a;var _0x1c2dfe;const _0x3e65e6=this[_0x3cdbba(0x21b)]['getParam']('subunit');if(!_0x3e65e6||!_0x4173d5[_0x3cdbba(0x227)](_0x3e65e6)){const _0x55b651=_0x4173d5[_0x3cdbba(0x2a2)]()[0x0],_0x37cacd=_0x4173d5[_0x3cdbba(0x227)](_0x55b651);if(!_0x37cacd)return;this[_0x3cdbba(0x1a1)](_0x37cacd,!0x0),await this[_0x3cdbba(0x20d)][_0x3cdbba(0x13e)](_0x2daa78['id'],{'unitId':_0x4173d5[_0x3cdbba(0x1b8)](),'subUnitId':_0x55b651});return;}((_0x1c2dfe=_0x4173d5['getActiveSheet']())==null?void 0x0:_0x1c2dfe['getSheetId']())!==_0x3e65e6&&await this[_0x3cdbba(0x20d)]['executeCommand'](_0x2daa78['id'],{'unitId':_0x4173d5[_0x3cdbba(0x1b8)](),'subUnitId':_0x3e65e6});}};ie=qi([G(0x0,Ut),G(0x1,_0x3361aa),G(0x2,_0x5180dd),G(0x3,_0x556740(_0x338f40)),G(0x4,_0x18a51f(_0x5f1ca4))],ie);var en=Object[_0x195f9a(0x107)],tn=(_0x11aabf,_0x588302,_0x38c2a8,_0x3a395f)=>{const _0x1058f0=_0x195f9a;for(var _0x566354=_0x3a395f>0x1?void 0x0:_0x3a395f?en(_0x588302,_0x38c2a8):_0x588302,_0x18f740=_0x11aabf[_0x1058f0(0x263)]-0x1,_0x106488;_0x18f740>=0x0;_0x18f740--)(_0x106488=_0x11aabf[_0x18f740])&&(_0x566354=_0x106488(_0x566354)||_0x566354);return _0x566354;},pe=(_0x48cb11,_0x270831)=>(_0x3f59b0,_0xc449ec)=>_0x270831(_0x3f59b0,_0xc449ec,_0x48cb11);let ne=class{constructor(_0x3edb86,_0x2cd3c,_0x4d5e49){const _0x2da642=_0x195f9a;this[_0x2da642(0x233)]=_0x3edb86,this[_0x2da642(0x1e5)]=_0x2cd3c,this[_0x2da642(0x1fa)]=_0x4d5e49;}[_0x195f9a(0x1dc)](_0x1a8c54){const _0x128247=_0x195f9a;this[_0x128247(0x129)](_0x1a8c54),this['_transformPreviousActiveRange'](_0x1a8c54);}[_0x195f9a(0x127)](_0x180601){const _0x4cb49c=_0x195f9a,{unitID:_0x4a85c5}=_0x180601,_0xfcea6a=this['_renderManagerService'][_0x4cb49c(0x240)](_0x4a85c5)[_0x4cb49c(0x123)](_0x44e55b),{redoCache:_0xeb5067}=_0xfcea6a[_0x4cb49c(0x1e4)]();if(_0xeb5067[_0x4cb49c(0x263)]===0x0)return _0x180601;let _0x1d1381=_0x32701d[_0x4cb49c(0x146)](_0x180601['mutations'][0x0]);for(let _0x1e4d52=0x0;_0x1e4d52<_0xeb5067[_0x4cb49c(0x263)];_0x1e4d52++){const _0x190dfe={'id':_0x4cb49c(0x188),'params':{..._0xeb5067[_0x1e4d52]}},_0x2711dd=this[_0x4cb49c(0x1e5)]['transformMutation'](_0x1d1381,_0x190dfe,!0x1);if(_0x208da3(_0x2711dd))throw _0x2711dd['error'];_0x1d1381=_0x2711dd['m1Prime'];}return{..._0x32701d[_0x4cb49c(0x146)](_0x180601),'mutations':[_0x1d1381]};}[_0x195f9a(0x129)](_0x5e6716){const _0x1daf4d=_0x195f9a,{unitID:_0xfa8650}=_0x5e6716,_0x1b0b98=this[_0x1daf4d(0x1fa)][_0x1daf4d(0x240)](_0xfa8650)[_0x1daf4d(0x123)](_0x44e55b),{undoCache:_0x5c57fa,redoCache:_0x5dba41}=_0x1b0b98[_0x1daf4d(0x1e4)]();if(_0x5c57fa[_0x1daf4d(0x263)]===0x0||_0x5dba41[_0x1daf4d(0x263)]===0x0)return;const _0x5a4df0=[],_0x455b7a=[];let _0x506d4d=_0x32701d['deepClone'](_0x5e6716[_0x1daf4d(0x15a)][0x0]),_0x5ebc00=_0x32701d[_0x1daf4d(0x146)](_0x5e6716[_0x1daf4d(0x15a)][0x0]);for(let _0x2f14d7=_0x5c57fa[_0x1daf4d(0x263)]-0x1;_0x2f14d7>=0x0;_0x2f14d7--){const _0x259cfc={'id':_0x1daf4d(0x188),'params':{..._0x5c57fa[_0x2f14d7]}},_0x50b283={'id':_0x1daf4d(0x188),'params':{..._0x5dba41[_0x2f14d7]}},_0x27bf6d=this[_0x1daf4d(0x1e5)][_0x1daf4d(0x12c)](_0x506d4d,_0x259cfc,!0x1),_0x1956f0=this[_0x1daf4d(0x1e5)]['transformMutation'](_0x5ebc00,_0x50b283,!0x1);if(_0x208da3(_0x27bf6d))throw _0x27bf6d['error'];if(_0x208da3(_0x1956f0))throw _0x1956f0['error'];_0x5a4df0['unshift'](_0x27bf6d[_0x1daf4d(0xe2)][_0x1daf4d(0x27d)]),_0x455b7a[_0x1daf4d(0x294)](_0x1956f0[_0x1daf4d(0xe2)]['params']),_0x506d4d=_0x27bf6d[_0x1daf4d(0x2cd)],_0x5ebc00=_0x1956f0['m1Prime'];}_0x1b0b98[_0x1daf4d(0x1be)]({'undoCache':_0x5a4df0,'redoCache':_0x455b7a});}[_0x195f9a(0x20c)](_0xe92c9d){const _0x520a0f=_0x195f9a,{unitID:_0xbb3f7c}=_0xe92c9d,_0x337f4d=this[_0x520a0f(0x1fa)][_0x520a0f(0x240)](_0xbb3f7c)[_0x520a0f(0x123)](_0x44e55b),_0x5199b7=_0x337f4d[_0x520a0f(0x29c)]();if(_0x5199b7==null)return;const _0x17175=[{'id':_0x520a0f(0x188),'params':{'unitId':_0xe92c9d['unitID'],'actions':null,'textRanges':[_0x5199b7]}}],_0xdcea77=this[_0x520a0f(0x1e5)][_0x520a0f(0x164)](_0xe92c9d,_0x17175);if(!_0x7c79c3(_0xdcea77))throw _0xdcea77[_0x520a0f(0x159)];const _0x413b12=_0xdcea77[_0x520a0f(0xe2)][0x0][_0x520a0f(0x27d)][_0x520a0f(0x252)];Array[_0x520a0f(0x21e)](_0x413b12)&&_0x413b12[_0x520a0f(0x263)]&&_0x337f4d['setActiveRange'](_0x413b12[0x0]);}};ne=tn([pe(0x0,_0x556740(_0x8c0806)),pe(0x1,_0xc47634),pe(0x2,_0xcbfcfa)],ne);var sn=Object[_0x195f9a(0x107)],nn=(_0x19afb9,_0x39ffb4,_0x30e60f,_0x502b0a)=>{for(var _0x3d7213=_0x502b0a>0x1?void 0x0:_0x502b0a?sn(_0x39ffb4,_0x30e60f):_0x39ffb4,_0x541453=_0x19afb9['length']-0x1,_0x30330f;_0x541453>=0x0;_0x541453--)(_0x30330f=_0x19afb9[_0x541453])&&(_0x3d7213=_0x30330f(_0x3d7213)||_0x3d7213);return _0x3d7213;},Ce=(_0x51de1c,_0x2f58ac)=>(_0x4883eb,_0x4703ec)=>_0x2f58ac(_0x4883eb,_0x4703ec,_0x51de1c);let re=class{constructor(_0x5a84b5,_0x2673ca,_0x20e5db){const _0x45f022=_0x195f9a;this[_0x45f022(0x233)]=_0x5a84b5,this['_transformService']=_0x2673ca,this[_0x45f022(0x14e)]=_0x20e5db;}[_0x195f9a(0x234)](_0x23c02b){const _0x596a50=_0x195f9a;this[_0x596a50(0x1e2)](_0x23c02b);}[_0x195f9a(0x127)](_0x2f18e7){const _0xb0b4b6=_0x195f9a,{unitID:_0x54db8d}=_0x2f18e7,{collaboration:_0x12317d}=this['_docStateChangeManagerService'][_0xb0b4b6(0x292)](_0x54db8d);if(_0x12317d[_0xb0b4b6(0x263)]===0x0)return _0x2f18e7;let _0xd3876d=_0x32701d['deepClone'](_0x2f18e7[_0xb0b4b6(0x15a)][0x0]);for(let _0xa89051=0x0;_0xa89051<_0x12317d[_0xb0b4b6(0x263)];_0xa89051++){const _0x25b119={'id':_0xb0b4b6(0x188),'params':{'unitId':_0x12317d[_0xa89051]['unitId'],..._0x12317d[_0xa89051][_0xb0b4b6(0xfd)]}},_0x81d19=this[_0xb0b4b6(0x1e5)][_0xb0b4b6(0x12c)](_0xd3876d,_0x25b119,!0x1);if(_0x208da3(_0x81d19))throw _0x81d19['error'];_0xd3876d=_0x81d19['m1Prime'];}return{..._0x32701d[_0xb0b4b6(0x146)](_0x2f18e7),'mutations':[_0xd3876d]};}['_transformHistoryAndStateStack'](_0x214fc5){const _0x5a107c=_0x195f9a,{unitID:_0x384a29}=_0x214fc5,{history:_0xba540,collaboration:_0x17e937}=this[_0x5a107c(0x14e)][_0x5a107c(0x292)](_0x384a29);if(_0xba540[_0x5a107c(0x263)]===0x0&&_0x17e937['length']===0x0)return;const _0x59e39b=[],_0x30d843=[];let _0x400879=_0x32701d['deepClone'](_0x214fc5[_0x5a107c(0x15a)][0x0]),_0x53ad10=_0x32701d['deepClone'](_0x214fc5[_0x5a107c(0x15a)][0x0]);for(let _0x3726fc=_0xba540[_0x5a107c(0x263)]-0x1;_0x3726fc>=0x0;_0x3726fc--){const _0x48274d={'id':_0x5a107c(0x188),'params':{'unitId':_0xba540[_0x3726fc][_0x5a107c(0x25a)],..._0xba540[_0x3726fc][_0x5a107c(0x172)]}},_0x4a1703={'id':_0x5a107c(0x188),'params':{'unitId':_0xba540[_0x3726fc]['unitId'],..._0xba540[_0x3726fc][_0x5a107c(0xfd)]}},_0x45ff3f=this['_transformService'][_0x5a107c(0x12c)](_0x400879,_0x48274d,!0x1),_0x53ab9e=this[_0x5a107c(0x1e5)][_0x5a107c(0x12c)](_0x53ad10,_0x4a1703,!0x1);if(_0x208da3(_0x45ff3f))throw _0x45ff3f[_0x5a107c(0x159)];if(_0x208da3(_0x53ab9e))throw _0x53ab9e[_0x5a107c(0x159)];_0x59e39b[_0x5a107c(0x294)]({..._0xba540[_0x3726fc],'undoState':_0x45ff3f[_0x5a107c(0xe2)][_0x5a107c(0x27d)],'redoState':_0x53ab9e['m2Prime']['params']}),_0x400879=_0x45ff3f[_0x5a107c(0x2cd)],_0x53ad10=_0x53ab9e['m1Prime'];}_0x400879=_0x32701d['deepClone'](_0x214fc5[_0x5a107c(0x15a)][0x0]),_0x53ad10=_0x32701d['deepClone'](_0x214fc5[_0x5a107c(0x15a)][0x0]);for(let _0x4a979b=_0x17e937['length']-0x1;_0x4a979b>=0x0;_0x4a979b--){const _0x3bb9e3={'id':_0x5a107c(0x188),'params':{'unitId':_0x17e937[_0x4a979b]['unitId'],..._0x17e937[_0x4a979b][_0x5a107c(0x172)]}},_0x528b6d={'id':_0x5a107c(0x188),'params':{'unitId':_0x17e937[_0x4a979b][_0x5a107c(0x25a)],..._0x17e937[_0x4a979b]['redoState']}},_0x51af93=this[_0x5a107c(0x1e5)][_0x5a107c(0x12c)](_0x400879,_0x3bb9e3,!0x1),_0x400df2=this['_transformService'][_0x5a107c(0x12c)](_0x53ad10,_0x528b6d,!0x1);if(_0x208da3(_0x51af93))throw _0x51af93[_0x5a107c(0x159)];if(_0x208da3(_0x400df2))throw _0x400df2['error'];_0x30d843[_0x5a107c(0x294)]({..._0x17e937[_0x4a979b],'undoState':_0x51af93[_0x5a107c(0xe2)]['params'],'redoState':_0x400df2['m2Prime'][_0x5a107c(0x27d)]}),_0x400879=_0x51af93['m1Prime'],_0x53ad10=_0x400df2[_0x5a107c(0x2cd)];}this['_docStateChangeManagerService'][_0x5a107c(0x1a0)](_0x384a29,{'history':_0x59e39b,'collaboration':_0x30d843});}};re=nn([Ce(0x0,_0x556740(_0x8c0806)),Ce(0x1,_0xc47634),Ce(0x2,_0x556740(_0x5c59fd))],re);var rn=Object[_0x195f9a(0x107)],on=(_0x756cba,_0x70e9fc,_0x4082f8,_0x5b187f)=>{const _0xf8d202=_0x195f9a;for(var _0x41ca5e=_0x5b187f>0x1?void 0x0:_0x5b187f?rn(_0x70e9fc,_0x4082f8):_0x70e9fc,_0x18e8a2=_0x756cba[_0xf8d202(0x263)]-0x1,_0x451a53;_0x18e8a2>=0x0;_0x18e8a2--)(_0x451a53=_0x756cba[_0x18e8a2])&&(_0x41ca5e=_0x451a53(_0x41ca5e)||_0x41ca5e);return _0x41ca5e;},tt=(_0x50c1d6,_0x1e532f)=>(_0x421a39,_0xab657d)=>_0x1e532f(_0x421a39,_0xab657d,_0x50c1d6);let oe=class{constructor(_0x307b03,_0x2f81d0){const _0x29516c=_0x195f9a;this[_0x29516c(0x233)]=_0x307b03,this[_0x29516c(0x1e5)]=_0x2f81d0;}[_0x195f9a(0xd8)](_0xf6cfc7){const _0x10bfe2=_0x195f9a;var _0x351f77;const _0x43f888=this[_0x10bfe2(0x233)][_0x10bfe2(0x270)](_0xe8deb5),_0x48acbf=(_0x351f77=_0x43f888['getDocRanges']())!=null?_0x351f77:[];if(_0x48acbf[_0x10bfe2(0x263)]===0x0)return;const _0x3513fc=_0xf6cfc7[_0x10bfe2(0x282)],_0x263f24=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3513fc,'actions':null,'textRanges':_0x48acbf}}],_0x48725a=this[_0x10bfe2(0x1e5)][_0x10bfe2(0x164)](_0xf6cfc7,_0x263f24);if(!_0x7c79c3(_0x48725a))throw _0x48725a[_0x10bfe2(0x159)];const _0x54080c=_0x48725a[_0x10bfe2(0xe2)][0x0]['params'][_0x10bfe2(0x252)];Array['isArray'](_0x54080c)&&_0x54080c[_0x10bfe2(0x263)]&&_0x43f888['replaceDocRanges'](_0x54080c,{'unitId':_0x3513fc,'subUnitId':_0x3513fc},!0x1);}};oe=on([tt(0x0,_0x556740(_0x8c0806)),tt(0x1,_0xc47634)],oe);var an=Object[_0x195f9a(0x107)],cn=(_0x6d72c3,_0x588b20,_0x4cdac2,_0x2a4c08)=>{const _0x13adb3=_0x195f9a;for(var _0x5332a2=_0x2a4c08>0x1?void 0x0:_0x2a4c08?an(_0x588b20,_0x4cdac2):_0x588b20,_0x3b7f9d=_0x6d72c3[_0x13adb3(0x263)]-0x1,_0x53ff2d;_0x3b7f9d>=0x0;_0x3b7f9d--)(_0x53ff2d=_0x6d72c3[_0x3b7f9d])&&(_0x5332a2=_0x53ff2d(_0x5332a2)||_0x5332a2);return _0x5332a2;},U=(_0x45be11,_0x5b8544)=>(_0x17e982,_0x5b38db)=>_0x5b8544(_0x17e982,_0x5b38db,_0x45be11);let ae=class extends _0x669a68{constructor(_0x342312,_0x26991b,_0x44071f,_0x3509be,_0x3fdcd6,_0xf76095,_0x1eca1f,_0x298174){const _0x4f4e47=_0x195f9a;super(),_(this,'_status$',new _0x27c7e6(_0x305e5c[_0x4f4e47(0x239)])),(this[_0x4f4e47(0x14e)]=_0x342312,this[_0x4f4e47(0x18f)]=_0x26991b,this['_docTransformIMECacheService']=_0x44071f,this[_0x4f4e47(0x1c8)]=_0x3509be,this[_0x4f4e47(0x1e9)]=_0x3fdcd6,this[_0x4f4e47(0x197)]=_0xf76095,this['_messageService']=_0x1eca1f,this[_0x4f4e47(0x1f1)]=_0x298174,this[_0x4f4e47(0x144)]());}[_0x195f9a(0x144)](){const _0x4916d4=_0x195f9a;this[_0x4916d4(0x1ed)](this[_0x4916d4(0x18f)][_0x4916d4(0x222)]['subscribe'](_0x29f0c1=>{const _0x39b8f9=_0x4916d4,_0x43c221=this['_docStateChangeManagerService'][_0x39b8f9(0x135)][_0x39b8f9(0xe6)](_0x440bed=>{const _0x3fc771=_0x39b8f9;if(_0x440bed==null)return;const {unitId:_0x259921,redoState:_0x1891ad,commandId:_0x1e27a2}=_0x440bed;if(_0x259921!==_0x29f0c1[_0x3fc771(0x282)])return;const _0x354f54={'id':_0x1e27a2,'type':_0x2fc203[_0x3fc771(0x1bc)],'params':{'unitId':_0x259921,'actions':_0x1891ad[_0x3fc771(0xe0)],'textRanges':null}};_0x29f0c1['onLocalMutation'](_0x354f54);});if(_0x29f0c1['disposeWithMe'](_0x43c221),_0x29f0c1 instanceof _0x188b0e){const _0x424809={'onTransformIME':_0x54ce0f=>this['_docTransformIMECacheService']['transformIMECache'](_0x54ce0f),'onTransformState':_0x24aafc=>this[_0x39b8f9(0x1c8)]['transformStateCache'](_0x24aafc),'onTransformSelections':_0x17450e=>this[_0x39b8f9(0x1e9)][_0x39b8f9(0xd8)](_0x17450e),'onSyncEditingCollabCursor':_0x546957=>this[_0x39b8f9(0x197)]['syncEditingCollabCursor'](_0x546957),'onTransformRemoteChangesetByIMECache':_0x4d4e14=>this[_0x39b8f9(0x2a8)]['transformRemoteChangeset'](_0x4d4e14),'onTransformRemoteChangesetByStateCache':_0xe4d2ed=>this[_0x39b8f9(0x1c8)]['transformRemoteChangeset'](_0xe4d2ed)};_0x29f0c1[_0x39b8f9(0x211)](_0x424809);}}));}};ae=cn([U(0x0,_0x556740(_0x5c59fd)),U(0x1,_0x556740(_0x507b69)),U(0x2,_0x556740(ne)),U(0x3,_0x556740(re)),U(0x4,_0x556740(oe)),U(0x5,_0x556740(He)),U(0x6,_0x4e2e4f),U(0x7,_0x556740(_0x6f2c92))],ae);var ln=Object[_0x195f9a(0x107)],_n=(_0x401b15,_0x8ae061,_0x312c23,_0x56efc7)=>{const _0x232d63=_0x195f9a;for(var _0x33ad99=_0x56efc7>0x1?void 0x0:_0x56efc7?ln(_0x8ae061,_0x312c23):_0x8ae061,_0x3dc3bb=_0x401b15[_0x232d63(0x263)]-0x1,_0x3b1f82;_0x3dc3bb>=0x0;_0x3dc3bb--)(_0x3b1f82=_0x401b15[_0x3dc3bb])&&(_0x33ad99=_0x3b1f82(_0x33ad99)||_0x33ad99);return _0x33ad99;},Ee=(_0x45fc94,_0x3d3067)=>(_0x1a4d2a,_0x39e9bf)=>_0x3d3067(_0x1a4d2a,_0x39e9bf,_0x45fc94);let Le=class extends _0x669a68{constructor(_0x3d8a23,_0x2d411f,_0x3e7e07){const _0x3a6922=_0x195f9a;super(),_(this,_0x3a6922(0x1dd),new Map()),_(this,_0x3a6922(0x153),new Map()),_(this,_0x3a6922(0x1c1),!0x1),(this['_configService']=_0x3d8a23,this[_0x3a6922(0x175)]=_0x2d411f,this['_revisionService']=_0x3e7e07);}[_0x195f9a(0x155)](){const _0x50db4f=_0x195f9a;this[_0x50db4f(0x1c1)]=!0x0;}[_0x195f9a(0x1af)](){const _0x5e718e=_0x195f9a;this[_0x5e718e(0x1c1)]=!0x1;}get[_0x195f9a(0x23a)](){const _0x8e268e=_0x195f9a;return this[_0x8e268e(0x153)];}[_0x195f9a(0x1e6)](){const _0x154d56=_0x195f9a;this['exhaustSavingTask']()[_0x154d56(0x273)](()=>super[_0x154d56(0x1e6)]());}async[_0x195f9a(0x157)](_0x2b8e68){const _0x525909=_0x195f9a;return this['_disabled']?null:this[_0x525909(0x175)][_0x525909(0x2b2)](_0x4fbab5(_0x2b8e68));}async[_0x195f9a(0x11e)](_0x2602eb,_0x470e93){return!!this['_localStorageService']['setItem'](_0x2602eb,_0x470e93);}['updateOfflineData'](_0x2eaf84,_0x5d63dd,_0x3de3df,_0x22933f){const _0x2d6cf4=_0x195f9a,_0x20b9ca=this['_revisionService'][_0x2d6cf4(0x17c)](_0x2eaf84);this['_cachedData'][_0x2d6cf4(0xd3)](_0x2eaf84,{'unitID':_0x2eaf84,'type':_0x5d63dd,'awaitingChangeset':_0x3de3df,'mutations':_0x22933f,'rev':_0x20b9ca}),this[_0x2d6cf4(0x153)]['has'](_0x2eaf84)||this['_scheduleSaving'](_0x2eaf84);}['_scheduleSaving'](_0x33359c){const _0x1012a3=_0x195f9a,_0x522090=this['_getSaveTimeout']();_0x522090===0x0?this[_0x1012a3(0x100)](_0x33359c):this['_saveTaskMap']['set'](_0x33359c,setTimeout(()=>this[_0x1012a3(0x100)](_0x33359c),_0x522090));}[_0x195f9a(0x1db)](){const _0x5f4b86=_0x195f9a;var _0xb0d3ff;return(_0xb0d3ff=this[_0x5f4b86(0x1f2)][_0x5f4b86(0x15b)](_0x500139))!=null?_0xb0d3ff:_0x48c7ae;}[_0x195f9a(0x100)](_0x1d3a5f){const _0x5845f7=_0x195f9a,_0x5c914c=this['_saveTaskMap'][_0x5845f7(0x270)](_0x1d3a5f);return _0x5c914c!==void 0x0&&window[_0x5845f7(0x238)](_0x5c914c),this['_localStorageService'][_0x5845f7(0x27b)](_0x4fbab5(_0x1d3a5f),this['_cachedData']['get'](_0x1d3a5f))[_0x5845f7(0x273)](()=>this[_0x5845f7(0x153)][_0x5845f7(0x183)](_0x1d3a5f));}async[_0x195f9a(0x1cc)](){const _0x5d8850=_0x195f9a,_0x168402=[];this[_0x5d8850(0x153)][_0x5d8850(0x2c0)]((_0x2f0688,_0x1010f0)=>{const _0x1bd965=_0x5d8850;window[_0x1bd965(0x238)](_0x2f0688),_0x168402['push'](this['_saveCache'](_0x1010f0)[_0x1bd965(0x273)](()=>{const _0x283596=_0x1bd965;this[_0x283596(0x153)]['delete'](_0x1010f0);}));}),await Promise['all'](_0x168402);}};Le=_n([Ee(0x0,_0x35ed53),Ee(0x1,_0x25023f),Ee(0x2,_0x556740(_0x547684))],Le);class hn extends _0x2ac0c1{constructor(){const _0x307eb5=_0x195f9a;super(),_(this,_0x307eb5(0x13c)),this['urlChange$']=_0x2a0a40(window,_0x307eb5(0x268))[_0x307eb5(0x1fe)](_0xac117b(this['dispose$']),_0x4446c9(0x1),_0x5b2ddd(void 0x0));}['setParam'](_0x4133ef,_0x22d369,_0x4c8a93=!0x1){const _0xd82cab=_0x195f9a,_0x3995a8=new URL(window['location'][_0xd82cab(0x118)]);_0x3995a8[_0xd82cab(0xd0)][_0xd82cab(0xd3)](_0x4133ef,_0x22d369),_0x4c8a93?window[_0xd82cab(0x160)][_0xd82cab(0x116)]('','',_0x3995a8[_0xd82cab(0x2ba)]()):window[_0xd82cab(0x160)][_0xd82cab(0x29f)]('','',_0x3995a8[_0xd82cab(0x2ba)]());}[_0x195f9a(0xfb)](_0x15128e,_0x31069b=!0x1){const _0x2c73b3=_0x195f9a,_0x4dab16=new URL(window[_0x2c73b3(0xf2)][_0x2c73b3(0x118)]);_0x4dab16[_0x2c73b3(0xd0)][_0x2c73b3(0x183)](_0x15128e),_0x31069b?window['history'][_0x2c73b3(0x116)]('','',_0x4dab16[_0x2c73b3(0x2ba)]()):window[_0x2c73b3(0x160)][_0x2c73b3(0x29f)]('','',_0x4dab16[_0x2c73b3(0x2ba)]());}['getParam'](_0x3efc30){const _0x5ffd59=_0x195f9a;var _0x59c0d5;return(_0x59c0d5=new URL(window[_0x5ffd59(0xf2)]['href'])[_0x5ffd59(0xd0)][_0x5ffd59(0x270)](_0x3efc30))!=null?_0x59c0d5:void 0x0;}}var un=Object[_0x195f9a(0x117)],dn=Object[_0x195f9a(0x107)],fn=(_0x3992f0,_0x5dcb28,_0x20e460)=>_0x5dcb28 in _0x3992f0?un(_0x3992f0,_0x5dcb28,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20e460}):_0x3992f0[_0x5dcb28]=_0x20e460,Sn=(_0x347857,_0x5b8a20,_0x4aded5,_0x5192c4)=>{const _0x485f40=_0x195f9a;for(var _0x545003=_0x5192c4>0x1?void 0x0:_0x5192c4?dn(_0x5b8a20,_0x4aded5):_0x5b8a20,_0x571ce6=_0x347857[_0x485f40(0x263)]-0x1,_0x357405;_0x571ce6>=0x0;_0x571ce6--)(_0x357405=_0x347857[_0x571ce6])&&(_0x545003=_0x357405(_0x545003)||_0x545003);return _0x545003;},be=(_0x586b24,_0x512414)=>(_0x361d84,_0x3d4eda)=>_0x512414(_0x361d84,_0x3d4eda,_0x586b24),mn=(_0x39dd2e,_0x6e76fa,_0x4074ba)=>fn(_0x39dd2e,_0x6e76fa+'',_0x4074ba);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x356815{constructor(_0x8b1b4d=et,_0x14cb26,_0xc55d27,_0x1127b2){const _0x44b515=_0x195f9a;super(),this[_0x44b515(0x16a)]=_0x8b1b4d,this[_0x44b515(0x1fa)]=_0x14cb26,this['_injector']=_0xc55d27,this[_0x44b515(0x1f2)]=_0x1127b2;const {..._0x5b2269}=_0x5bbb62({},et,this['_config']);this[_0x44b515(0x1f2)][_0x44b515(0x1cb)](Zi,_0x5b2269);}[_0x195f9a(0x278)](){const _0x4b4ff1=_0x195f9a;this['_registerDependencies'](),this[_0x4b4ff1(0x12b)]();}[_0x195f9a(0x17b)](){const _0x3ca68f=_0x195f9a;this[_0x3ca68f(0x208)]();}['_registerDependencies'](){const _0x24724a=_0x195f9a;var _0x4d69ec;const _0x2f90eb=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x5496df,{'useClass':_0xd8562c}],[_0xac2fb0,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x22f146(this[_0x24724a(0x233)],_0x510587(_0x2f90eb,(_0x4d69ec=this[_0x24724a(0x16a)])==null?void 0x0:_0x4d69ec[_0x24724a(0x2ab)]));}[_0x195f9a(0x208)](){const _0x2c85ea=_0x195f9a;this[_0x2c85ea(0x1ed)](this[_0x2c85ea(0x1fa)]['registerRenderModule'](_0x9205ee[_0x2c85ea(0x174)],[Pe])),this[_0x2c85ea(0x1ed)](this[_0x2c85ea(0x1fa)][_0x2c85ea(0x255)](_0x9205ee[_0x2c85ea(0xd1)],[we]));}['_initDependencies'](){const _0x4efc70=_0x195f9a;_0x17e040(this[_0x4efc70(0x233)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x195f9a(0x24b),gn),Ae=Sn([_0x3abd86(_0x17881b),be(0x1,_0xcbfcfa),be(0x2,_0x556740(_0x8c0806)),be(0x3,_0x35ed53)],Ae);var vn=Object[_0x195f9a(0x107)],In=(_0x4e34ad,_0x56eb8c,_0xa40bba,_0x54fb5d)=>{const _0x125042=_0x195f9a;for(var _0x595a8b=_0x54fb5d>0x1?void 0x0:_0x54fb5d?vn(_0x56eb8c,_0xa40bba):_0x56eb8c,_0x5572a2=_0x4e34ad[_0x125042(0x263)]-0x1,_0x746825;_0x5572a2>=0x0;_0x5572a2--)(_0x746825=_0x4e34ad[_0x5572a2])&&(_0x595a8b=_0x746825(_0x595a8b)||_0x595a8b);return _0x595a8b;},K=(_0x257810,_0x5833e0)=>(_0x2ca561,_0x191243)=>_0x5833e0(_0x2ca561,_0x191243,_0x257810);let st=class extends _0x3b33e7{constructor(_0x38d4b2,_0x58c846,_0xa74d1a,_0x1ddebe,_0x1ad052){super(_0x38d4b2,_0x58c846,_0xa74d1a,_0x1ddebe,_0x1ad052);}async['createSocket'](_0x41c361){const _0x50f994=_0x195f9a,_0x561e18=await this['_getSessionTicket'](),_0x3bdfba=this[_0x50f994(0x28b)](_0x41c361,_0x561e18);return this['_doCreateSocket'](_0x3bdfba);}['_createSocketURL'](_0x18936e,_0x62c2de){const _0x4e0fbf=_0x195f9a,_0x142fe2=typeof window>'u'?new URL(_0x18936e):new URL(_0x18936e,window[_0x4e0fbf(0xf2)][_0x4e0fbf(0x11d)]);_0x142fe2['searchParams']['set'](_0x4e0fbf(0x180),_0x62c2de);const _0x4683c9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4e0fbf(0xf2)][_0x4e0fbf(0x113)]);return _0x4683c9['get'](_0x4e0fbf(0x27c))&&_0x142fe2[_0x4e0fbf(0xd0)][_0x4e0fbf(0xd3)]('runId',_0x4683c9[_0x4e0fbf(0x270)]('runId')),_0x142fe2[_0x4e0fbf(0x2ba)]();}async[_0x195f9a(0x28f)](){const _0x4d670e=_0x195f9a;var _0xb1f2a7,_0x4505d6,_0x480a90;const _0x5eff98=this[_0x4d670e(0x1f2)]['getConfig'](_0x3c6b37),_0x1146e2=(_0xb1f2a7=_0x5eff98==null?void 0x0:_0x5eff98[_0x4d670e(0x1fb)])!=null?_0xb1f2a7:_0x3151b3;return(_0x480a90=(_0x4505d6=(await this['_httpService'][_0x4d670e(0x270)](_0x1146e2,{'headers':{'Content-Type':'application/json'}}))[_0x4d670e(0x15e)])==null?void 0x0:_0x4505d6[_0x4d670e(0x28e)])!=null?_0x480a90:'';}};st=In([K(0x0,_0x556740(_0x8c0806)),K(0x1,_0x556740(_0x1ce5b6)),K(0x2,_0x35ed53),K(0x3,_0x3361aa),K(0x4,_0x4c78a)],st);const it=0x7530,nt=_0x195f9a(0x163);class jn extends _0x669a68{constructor(){const _0x2fe483=_0x195f9a;super(),_(this,_0x2fe483(0x179),_0x5554d5()),_(this,_0x2fe483(0x25c),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x2fe483(0x2a0),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x2fe483(0x23c),new Map()),this['_init']();}[_0x195f9a(0x1e6)](){const _0x326af6=_0x195f9a;super[_0x326af6(0x1e6)](),this[_0x326af6(0x1bd)][_0x326af6(0x2c0)]((_0x2b1b35,_0x40a4f5)=>this['_removeClearOtherTimer'](_0x40a4f5)),this['_heartbeatTimer']&&window[_0x326af6(0x19b)](this[_0x326af6(0x2a0)]);}['getUnitStatus$'](_0x595480){const _0x34894a=_0x195f9a;return this['_ensureSubject'](_0x595480)[_0x34894a(0x1fe)](_0x286f07());}[_0x195f9a(0x1c6)](_0x4d4005){const _0x116e04=_0x195f9a;this['_selfUnitIDs'][_0x116e04(0x205)]===0x0&&this[_0x116e04(0x131)](),this[_0x116e04(0x25c)][_0x116e04(0x125)](_0x4d4005),this[_0x116e04(0x22c)]({'type':0x0,'memberID':this[_0x116e04(0x179)],'unitIDs':[_0x4d4005],'isForwarded':!0x1});}[_0x195f9a(0xe9)](_0x23e923){const _0xf80ecb=_0x195f9a;this['_selfUnitIDs']['delete'](_0x23e923),this[_0xf80ecb(0x25c)]['size']===0x0&&this[_0xf80ecb(0x2a0)]&&window[_0xf80ecb(0x19b)](this[_0xf80ecb(0x2a0)]);}[_0x195f9a(0xea)](){const _0x350926=_0x195f9a;this[_0x350926(0x1ed)](_0x5b2a44(_0x2a0a40(window,_0x350926(0x192))[_0x350926(0xe6)](_0x4369d9=>{const _0x4ef231=_0x350926;if(_0x4369d9[_0x4ef231(0x152)]!==nt||!_0x4369d9[_0x4ef231(0x216)])return;const _0x1b2ef4=JSON[_0x4ef231(0x142)](_0x4369d9['newValue']);this[_0x4ef231(0x1de)](_0x1b2ef4);}))),window[_0x350926(0x1cf)](_0x350926(0x219),()=>this[_0x350926(0x22c)]({'type':0x1,'memberID':this[_0x350926(0x179)],'unitIDs':Array[_0x350926(0x2b6)](this[_0x350926(0x25c)])}));}[_0x195f9a(0x1de)](_0xa2587c){const _0x42e763=_0x195f9a;switch(_0xa2587c[_0x42e763(0x203)]){case 0x0:this[_0x42e763(0x11f)](_0xa2587c);break;case 0x1:this[_0x42e763(0xe4)](_0xa2587c);break;case 0x2:this['_handleHeartbeatEvent'](_0xa2587c);break;}}['_handleJoinEvent'](_0x218736){const _0x2b3924=_0x195f9a,{unitIDs:_0xbea36c,memberID:_0x411f55,isForwarded:_0x3dfe52}=_0x218736;_0xbea36c['forEach'](_0x11227f=>{const _0x1b3693=_0x4df9;if(!_0x3dfe52&&this['_unitOnClients'][_0x1b3693(0x1a3)](_0x11227f)&&this[_0x1b3693(0x133)](_0x11227f)[_0x1b3693(0x2c8)](_0x21ea64['OTHER_CLIENTS_EDITING']),!this[_0x1b3693(0x297)][_0x1b3693(0x1a3)](_0x11227f)||!this[_0x1b3693(0x297)][_0x1b3693(0x270)](_0x11227f)[_0x1b3693(0x1a3)](_0x411f55)){const _0x566819=this[_0x1b3693(0x297)][_0x1b3693(0x270)](_0x11227f)||new Set();_0x566819[_0x1b3693(0x125)](_0x411f55),this[_0x1b3693(0x297)]['set'](_0x11227f,_0x566819),this[_0x1b3693(0x279)](_0x411f55);}}),_0x3dfe52||this[_0x2b3924(0x22c)]({'type':0x0,'memberID':this[_0x2b3924(0x179)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x195f9a(0x279)](_0x137916){const _0x231b80=_0x195f9a;this['_removeClearOtherTimer'](_0x137916);const _0x20fb79=window[_0x231b80(0x284)](()=>{const _0x5b89ee=_0x231b80;this[_0x5b89ee(0x297)]['forEach'](_0x220e3f=>{_0x220e3f['delete'](_0x137916);});},it*0x2);this[_0x231b80(0x1bd)]['set'](_0x137916,_0x20fb79);}[_0x195f9a(0x10a)](_0x3706b1){const _0x43e916=_0x195f9a;if(this[_0x43e916(0x1bd)][_0x43e916(0x1a3)](_0x3706b1)){const _0x172177=this[_0x43e916(0x1bd)][_0x43e916(0x270)](_0x3706b1);_0x172177&&window['clearTimeout'](_0x172177),this[_0x43e916(0x1bd)][_0x43e916(0xd3)](_0x3706b1,null);}}[_0x195f9a(0xe4)](_0x4811ca){const _0x5365aa=_0x195f9a,{memberID:_0x1d4dfe,unitIDs:_0x3adc97}=_0x4811ca;_0x3adc97[_0x5365aa(0x2c0)](_0x2877cc=>{const _0x5a4284=_0x5365aa;var _0x2c3318;const _0x128506=this['_unitOnClients'][_0x5a4284(0x270)](_0x2877cc);_0x128506&&(_0x128506[_0x5a4284(0x183)](_0x1d4dfe),(_0x2c3318=this[_0x5a4284(0x133)](_0x2877cc))==null||_0x2c3318[_0x5a4284(0x2c8)](_0x128506['size']===0x0?_0x21ea64['NO_OTHER_CLIENTS_EDITING']:_0x21ea64[_0x5a4284(0x291)]));}),this[_0x5365aa(0x10a)](_0x1d4dfe);}[_0x195f9a(0x134)](_0x2db4c1){const _0x360ed8=_0x195f9a;this['_scheduleClearOtherTimer'](_0x2db4c1[_0x360ed8(0x108)]);}['_send'](_0x4bfa10){const _0x416287=_0x195f9a;localStorage[_0x416287(0x27b)](nt,JSON['stringify'](_0x4bfa10));}[_0x195f9a(0x131)](){const _0x218184=_0x195f9a;this['_heartbeatTimer']=window[_0x218184(0x201)](()=>{const _0x43807c=_0x218184;this[_0x43807c(0x22c)]({'type':0x2,'memberID':this[_0x43807c(0x179)]});},it);}[_0x195f9a(0x133)](_0x43917c){const _0x44faba=_0x195f9a;return this[_0x44faba(0x23c)][_0x44faba(0x1a3)](_0x43917c)||this[_0x44faba(0x23c)][_0x44faba(0xd3)](_0x43917c,new _0x27c7e6(_0x21ea64[_0x44faba(0x228)])),this[_0x44faba(0x23c)]['get'](_0x43917c);}}function _0x5788(){const _0xffcdc4=['_memberService','complete','_transformHistoryAndStateStack','_univerInstanceService','getUndoRedoMutationParamsCache','_transformService','dispose','getValue','path','_docTransformSelectionsService','UniverIcon','whenReady','YUUMI_RATE_OVER_LIMIT','disposeWithMe','getCollabEntity$','getUniverSheetInstance','getSheetId','_localeService','_configService','LOGIN_FAILED','getCurrent','_toggleOnline','toRgbString','sheetID','roomMembers','debug','_renderManagerService','wsSessionTicketUrl','_eventUnsubscribe','string','pipe','_uiPartsService','use','setInterval','_toggleOffline','type','_localCacheService','size','save','INVALID_ARGUMENT','_registerRenderDependencies','collab-client.tooltip.reconnect','_cursors','call','_transformPreviousActiveRange','_commandService','SYNCED','font','_textBubble','addHandlerCallback','INVITE_CODE_HAS_BEEN_UES','_initStatusComponent','off-line-single','getRangePointData','newValue','YUUMI_UNABLE_LOAD_URL','APPLY_DUPLICATED','unload','send','_urlService','colorChannel1','unsubscribe','isArray','getMemberID','off-line-single_clip0_910_343','on-line-single','entityInit$','SNAPSHOT_INVALID_SNAPSHOT','_collabSessionService','_getMergeRange','getCurrentSelections','getSheetBySheetId','NO_OTHER_CLIENTS_EDITING','width','transformByState','156215Eofsar','_send','_drawTextRange','init','univer-text-green-500','_scene','triggerDblclick','min','_injector','transformStateCache','_name','univer-text-red-500','getAncestorScale','clearTimeout','NOT_COLLAB','saveTaskMap','_beforeCloseService','_unitStatus','collaboration-client-ui.config','getTypeOfUnitDisposed$','onMouseMove','getRenderById','values','_document','_sheetSkeletonManagerService','concat','cursorInfo$','_getSheetObject','_context','addObject','column','fill','pluginName','_docSkeletonManagerService','collabStatus.synced','_getScale','Warning','PERMISSION_DENIED','LICENSE_IMPORT_SIZE_EXCEEDED','textRanges','fillStyle','drawWith','registerRenderModule','onCommandExecuted','CHANGESET_REVISION_CONFILICT','data','endColumn','unitId','InsertRangeMoveRightCommandId','_selfUnitIDs','arc','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_HAS_BEEN_REMOVED','_initStatusListener','_startSheetCollabCursor','USER_NOT_INVITED_CODE','length','312348KnpKTE','runOnServer','status$','sheetId','popstate','ONLINE','_cursorInfo$','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','_docClipboardService','21696Iwwpir','name','42290kHZgoM','get','post','LICENSE_DISTRO_REJECTED','then','className','closePath','makeDirty','children','onStarting','_scheduleClearOtherTimer','contains','setItem','runId','params','result','326488dHMcmo','replace','_hovered','unitID','SOCKET_FAILED_RETRY','setTimeout','svg','verdancy600','propertyIsEnumerable','subscribeEvent','collab-text-range-','WECHAT_HAS_BEEN_BOUND','_createSocketURL','current','_docSkeleton','ticket','_getSessionTicket','_onCursorUpdate','OTHER_CLIENTS_EDITING','getStateCache','_collaborationUIEventService','unshift','invokeId','getDocRanges','_unitOnClients','setAlpha','_hideTimer','_entities','_collabCursorController','getActiveRange','row','extend','pushState','_heartbeatTimer','COMPLETION_FINISHED','getUnhiddenWorksheets','findNodePositionByCharIndex','getCollabCursors$','_online','_setupSubUnitSync','fillText','_docTransformIMECacheService','_themeService','mask','override','engine','_updateLocalCursor','APPLY_PERMISSION_DENIED','MoveRangeCommandId','selections','_updateCollabCursors','getItem','addObjects','16nNrVNz','entries','from','hasOwnProperty','defIds','requireSession','toString','cursorInfo','currentSkeleton$','14UPxyqS','show','range','forEach','restore','event$','SUBMIT_CHANGESET_TIMEOUT','OFFLINE','UNDEFINED','collabCursorState$','subunit','next','labelPosition','_refRangeService','NOT_FOUND','none','m1Prime','color','searchParams','UNIVER_SHEET','_refreshCollabCursors','set','UNAUTHENTICATED','purple300','_assignedColors','setShapeProps','transformSelections','INTERNAL_ERROR','startRow','url(#off-line-single_clip0_910_343)','394639LkQMQu','defs','APPLY_REJECT','JOIN_ROOM_FAILED','actions','url(#on-line-single_clip0_910_349)','m2Prime','assignAColorForMemberID','_handleLeaveEvent','Error','subscribe','_draw','trim','disposeUnit','_init','registerBeforeClose','_anchorDot','displayName','OnLineSingle','symbol','_cursor','#fff','location','_collabCursorState$','top','ENSURE_SNAPSHOT_EXECUTION','Failed','executionId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNRECOGNIZED','YUUMI_SUBSCRIPTION_NOT_FOUND','removeParam','UPDATE_CURSOR','redoState','rgba(255,\x20255,\x20255,\x200.01)','_httpService','_saveCache','generateRandomId','collaboration.closeRoom','[CollaborationDataLoaderController]','_session','on-line-single_clip0_910_349','some','getOwnPropertyDescriptor','memberID','indexOf','_removeClearOtherTimer','APPLY_NON_SEQUENTIAL_REVISION','measureText','startsWith','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','hovered','_anchor','YUUMI_URL_COL_OUT_OF_RANGE','source','search','TOO_MANY_REQUESTS','_shapes','replaceState','defineProperty','href','isEditing','black','_drawRectRange','map','origin','saveOfflineData','_handleJoinEvent','xlink:href','/run/','DeleteRangeMoveUpCommandId','with','round','add','_logService','transformRemoteChangeset','loadUnit','_transformUndoRedoStack','_removeCollabCursors','_initDependencies','transformMutation','_cursorShapes','univer-flex\x20univer-items-center','activeSheet$','startColumn','_scheduleHeartbeat','_onCursorDelete','_ensureSubject','_handleHeartbeatEvent','docStateChange$','USERS_LEAVE','EMAIL_HAS_BEEN_BOUND','INVALID_INVITE_CODE','1133tFDZVy','_backgroundColor','assign','urlChange$','getMember','executeCommand','collabStatus.syncing','PY_RUNTIME_SCRIPT_ERROR','addClipboardHook','parse','height','_initEntityListener','_initEvent','deepClone','blue400','includes','lineTo','collab-rect-range-','session.will-retry','SOCKET_FAILED','getViewport','_docStateChangeManagerService','FromArray','collaboration.single-unit.warning','getSkeleton','key','_saveTaskMap','1em','disableLocalCache','dispose$','loadOfflineData','ranges','error','mutations','getConfig','getOffsetConfig','_updateSubUnitFromURLParams','body','url(#$1','history','substring','createInstance','ACTIVE_UNIT_EVENT_CHANNEL','transformMutationsWithChangeset','_colorAssignService','collab-text-anchor-','moveTo','_onRefRangeChange','onPointerEnter$','_config','idSuffix','permission.content','RemoveRowCommandId','getVpScrollXYInfoByPosToVp','endRow','registerRefRange','skeleton','undoState','RECT','UNIVER_DOC','_localStorageService','prototype','bottom','find','_id','jiqing500','onRendered','getCurrentRevOfUnit','_color','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_syncEditingCollabCursorService','sessionTicket','RemoveColCommandId','clipPath','delete','_getAnchorBounding','HEADER_MENU','_dataLoaderService','translate(.97)','doc.mutation.rich-text-editing','OffLineSingle','text','_initResize','0\x200\x2017\x2016','uni.network.url-service','_range','_collaborationController','resize','45CIIYQy','storage','getTypeOfUnitAdded$','16491czdyEy','_initCommandExecutedListener','split','_docSyncEditingCollabCursorService','hide','TEXT','evenodd','clearInterval','getFocusedUnit','fillRule','saveImage','unit','setStateCache','_updateURLWithCurrentState','setParam','has','_colorIndex','imageSourceType','_roomMembers$','CONFLICT','icon','getCellPositionByOffset','_setupBeforeClosingHandler','onPointerMove$','_messageService','_hover','_labelPosition','enableLocalCache','ALREADY_EXISTS','selection','permission.title','div','_entityInit$','_handleHover','_drawAnchor','session.connection-failed','getUnitId','_notificationService','MOBILE_HAS_BEEN_BOUND','APPLY_REVISION_CONFILICT','MUTATION','_clearOtherTimers','setUndoRedoMutationParamsCache','collabStatus.conflict','collabStatus.notCollab','_disabled','_instanceService','CLOSE_ROOM','INVITE_CODE_REQUIRED','getOwnPropertySymbols','editingUnit','CONNECTOR_DATA_TOO_LARGE','_docTransformStateCacheService','sessionStatus$','tag','setConfig','exhaustSavingTask','backgroundColor','...','addEventListener','push','eventID','YUUMI_NO_CUBOID_FOR_QUESTION','_lastPointer','_imageIoService','Unknown\x20user','getCurrentUnitForType','attrs','getParam','_render','asObservable','_getSaveTimeout','transformIMECache','_cachedData','_handleEvent','univer-flex\x20univer-mr-2\x20univer-text-[20px]'];_0x5788=function(){return _0xffcdc4;};return _0x5788();}var Mt=(_0x5af976=>(_0x5af976[_0x5af976[_0x195f9a(0x2c5)]=0x0]=_0x195f9a(0x2c5),_0x5af976[_0x5af976['OK']=0x1]='OK',_0x5af976[_0x5af976[_0x195f9a(0xd9)]=0x2]=_0x195f9a(0xd9),_0x5af976[_0x5af976[_0x195f9a(0x250)]=0x3]=_0x195f9a(0x250),_0x5af976[_0x5af976['NOT_FOUND']=0x4]=_0x195f9a(0x2cb),_0x5af976[_0x5af976[_0x195f9a(0xd4)]=0x5]=_0x195f9a(0xd4),_0x5af976[_0x5af976[_0x195f9a(0x1b0)]=0x6]='ALREADY_EXISTS',_0x5af976[_0x5af976[_0x195f9a(0x207)]=0x7]=_0x195f9a(0x207),_0x5af976[_0x5af976[_0x195f9a(0x114)]=0x8]='TOO_MANY_REQUESTS',_0x5af976[_0x5af976[_0x195f9a(0x2a1)]=0x9]=_0x195f9a(0x2a1),_0x5af976[_0x5af976['LOGIN_FAILED']=0xa]=_0x195f9a(0x1f3),_0x5af976[_0x5af976[_0x195f9a(0x257)]=0x1389]=_0x195f9a(0x257),_0x5af976[_0x5af976[_0x195f9a(0x223)]=0x1771]=_0x195f9a(0x223),_0x5af976[_0x5af976[_0x195f9a(0x25f)]=0x1772]=_0x195f9a(0x25f),_0x5af976[_0x5af976[_0x195f9a(0xf5)]=0x1773]=_0x195f9a(0xf5),_0x5af976[_0x5af976[_0x195f9a(0xde)]=0x1b59]=_0x195f9a(0xde),_0x5af976[_0x5af976[_0x195f9a(0x10b)]=0x1b5a]=_0x195f9a(0x10b),_0x5af976[_0x5af976['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x195f9a(0x1bb),_0x5af976[_0x5af976[_0x195f9a(0x2ae)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5af976[_0x5af976[_0x195f9a(0x218)]=0x1b5d]='APPLY_DUPLICATED',_0x5af976[_0x5af976[_0x195f9a(0x1c7)]=0x1f41]=_0x195f9a(0x1c7),_0x5af976[_0x5af976['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5af976[_0x5af976[_0x195f9a(0x17e)]=0x232a]=_0x195f9a(0x17e),_0x5af976[_0x5af976[_0x195f9a(0x251)]=0x232b]=_0x195f9a(0x251),_0x5af976[_0x5af976[_0x195f9a(0x25e)]=0x232c]=_0x195f9a(0x25e),_0x5af976[_0x5af976[_0x195f9a(0x272)]=0x232d]=_0x195f9a(0x272),_0x5af976[_0x5af976[_0x195f9a(0x217)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5af976[_0x5af976[_0x195f9a(0x111)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5af976[_0x5af976[_0x195f9a(0x1ec)]=0x2713]=_0x195f9a(0x1ec),_0x5af976[_0x5af976[_0x195f9a(0xfa)]=0x2714]=_0x195f9a(0xfa),_0x5af976[_0x5af976[_0x195f9a(0x1d2)]=0x271a]=_0x195f9a(0x1d2),_0x5af976[_0x5af976['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5af976[_0x5af976[_0x195f9a(0x140)]=0x2af9]=_0x195f9a(0x140),_0x5af976[_0x5af976[_0x195f9a(0x212)]=0x2ee1]=_0x195f9a(0x212),_0x5af976[_0x5af976[_0x195f9a(0x138)]=0x2ee2]=_0x195f9a(0x138),_0x5af976[_0x5af976[_0x195f9a(0x1c4)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5af976[_0x5af976[_0x195f9a(0x262)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5af976[_0x5af976['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5af976[_0x5af976[_0x195f9a(0x28a)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5af976[_0x5af976[_0x195f9a(0x1ba)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5af976[_0x5af976[_0x195f9a(0x137)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5af976[_0x5af976[_0x195f9a(0xf9)]=-0x1]=_0x195f9a(0xf9),_0x5af976))(Mt||{}),pn=Object[_0x195f9a(0x107)],Cn=(_0x201a80,_0x32335f,_0x2a69de,_0x435b47)=>{const _0x4f1363=_0x195f9a;for(var _0x3c1c51=_0x435b47>0x1?void 0x0:_0x435b47?pn(_0x32335f,_0x2a69de):_0x32335f,_0x2352eb=_0x201a80[_0x4f1363(0x263)]-0x1,_0x6b02e;_0x2352eb>=0x0;_0x2352eb--)(_0x6b02e=_0x201a80[_0x2352eb])&&(_0x3c1c51=_0x6b02e(_0x3c1c51)||_0x3c1c51);return _0x3c1c51;},Oe=(_0x4a6a46,_0x3ca155)=>(_0x54c810,_0x330dfb)=>_0x3ca155(_0x54c810,_0x330dfb,_0x4a6a46);let rt=class extends _0x669a68{constructor(_0x55b7fd,_0x52971c,_0xa28678){const _0x476c2c=_0x195f9a;super(),this['_instanceService']=_0x55b7fd,this[_0x476c2c(0xff)]=_0x52971c,this[_0x476c2c(0x1f2)]=_0xa28678;}async[_0x195f9a(0x265)](_0x24195f,_0x252e87,_0x5501c2,..._0x571989){const _0x374f58=_0x195f9a;var _0x29e3ab,_0xe02565,_0x1f84c3,_0x45ba18;const _0x51090e=this[_0x374f58(0x1c2)]['getFocusedUnit']();if(!_0x51090e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2cbcf4=((_0x29e3ab=this[_0x374f58(0x1f2)][_0x374f58(0x15b)](_0x52fc0b))!=null?_0x29e3ab:_0x34b40b)+'/'+_0x24195f+_0x374f58(0x121)+_0x252e87,_0x43c6f6=new URL(window[_0x374f58(0xf2)]['href']),_0x4b3831={'scriptId':_0x24195f,'runId':(_0xe02565=_0x43c6f6[_0x374f58(0xd0)][_0x374f58(0x270)]('runId'))!=null?_0xe02565:'','function':_0x252e87,'unitId':_0x51090e[_0x374f58(0x1b8)](),'argsOfFunction':JSON['stringify'](_0x571989),'invokeId':(_0x1f84c3=_0x5501c2[_0x374f58(0x295)])!=null?_0x1f84c3:'','executionId':(_0x45ba18=_0x5501c2[_0x374f58(0xf7)])!=null?_0x45ba18:''};try{const _0x4326cc=await this[_0x374f58(0xff)][_0x374f58(0x271)](_0x2cbcf4,{'body':_0x4b3831});return _0x4326cc['body'][_0x374f58(0x159)]&&_0x4326cc[_0x374f58(0x15e)][_0x374f58(0x159)]['code']!==Mt['OK']?'Failed':_0x4326cc[_0x374f58(0x15e)][_0x374f58(0x27e)];}catch{return _0x374f58(0xf6);}}};rt=Cn([Oe(0x0,_0x5d2c7a),Oe(0x1,_0x556740(_0x1ce5b6)),Oe(0x2,_0x35ed53)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x528635=_0x1993;(function(_0x570c56,_0x2c906f){const _0x36b499=_0x1993,_0x11e420=_0x570c56();while(!![]){try{const _0x4d3e9b=parseInt(_0x36b499(0x2b2))/0x1+-parseInt(_0x36b499(0x314))/0x2*(parseInt(_0x36b499(0x39e))/0x3)+parseInt(_0x36b499(0x1cc))/0x4*(-parseInt(_0x36b499(0x27b))/0x5)+parseInt(_0x36b499(0x31a))/0x6*(parseInt(_0x36b499(0x36e))/0x7)+-parseInt(_0x36b499(0x20d))/0x8+-parseInt(_0x36b499(0x20f))/0x9*(-parseInt(_0x36b499(0x22c))/0xa)+parseInt(_0x36b499(0x280))/0xb*(-parseInt(_0x36b499(0x1e1))/0xc);if(_0x4d3e9b===_0x2c906f)break;else _0x11e420['push'](_0x11e420['shift']());}catch(_0x5369be){_0x11e420['push'](_0x11e420['shift']());}}}(_0x12de,0x9661b));var $t=Object[_0x528635(0x1d3)],xt=(_0x239e17,_0x21dc48,_0x53d686)=>_0x21dc48 in _0x239e17?$t(_0x239e17,_0x21dc48,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53d686}):_0x239e17[_0x21dc48]=_0x53d686,_=(_0x11dcf6,_0x3b162e,_0x5e3f8c)=>xt(_0x11dcf6,typeof _0x3b162e!='symbol'?_0x3b162e+'':_0x3b162e,_0x5e3f8c);import{MemberService as _0x2866ab,SessionStatus as _0x3f0db6,CollaborationSessionService as _0x2e0a4a,CollaborationStatus as _0x1abb78,CollaborationController as _0x53cd54,ILocalCacheService as _0x30fb98,CollaborationUIEventService as _0x15d021,CollaborationUIEventId as _0x92c65d,DataLoaderService as _0x2f64e7,DocCollaborationEntity as _0x30f3fb,getLocalCacheKey as _0x2597df,LOCAL_CACHE_INTERVAL as _0x186715,LOCAL_CACHE_INTERVAL_KEY as _0x349bff,UniverCollaborationClientPlugin as _0x3e0078,CollaborationSocketService as _0x42dcc5,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2e482b,DEFAULT_WS_SESSION_TICKET_URL as _0x2bc059,UnitStatus as _0x72c24c,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x26dc3d,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3919fc}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x245cd2,Disposable as _0x5bfeba,DOC_RANGE_TYPE as _0x3252d6,Inject as _0x2ea28b,Injector as _0x5743ed,IUniverInstanceService as _0x2b1449,ICommandService as _0xa07eb8,debounce as _0x287c81,Rectangle as _0x46d04d,DisposableCollection as _0x4239b9,toDisposable as _0x4e66e3,UniverInstanceType as _0x3a25e9,Tools as _0x37d6bc,COLORS as _0x44b12f,ColorKit as _0x5a95ee,ThemeService as _0x4b63d6,fromEventSubject as _0x5aa502,LocaleService as _0x4c20a9,createIdentifier as _0x52eb9e,ILogService as _0xe6d114,Optional as _0x54800a,Workbook as _0x35481d,CommandType as _0x4f31cf,IConfigService as _0x204d57,ILocalStorageService as _0x26c7c0,DependentOn as _0x3355a0,Plugin as _0x4f57a0,merge as _0x34376e,registerDependencies as _0x5bcc1c,mergeOverrideWithDependencies as _0x4825ba,touchDependencies as _0x59a3d1,generateRandomId as _0x3306d3}from'@univerjs/core';import{Shape as _0x2be3e8,Rect as _0x14b61b,getColor as _0x143bec,RegularPolygon as _0x21287b,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5c1bb4,Vector2 as _0x2d7850,SHEET_VIEWPORT_KEY as _0x1ac68a,IRenderManagerService as _0x28e562}from'@univerjs/engine-render';import{ISocketService as _0xecfc35,WebSocketService as _0x31d7b7,HTTPService as _0x37683c}from'@univerjs/network';import{IDocClipboardService as _0x5de1aa,NodePositionConvertToCursor as _0x1ac601,NodePositionConvertToRectRange as _0x38007f,TEXT_RANGE_LAYER_INDEX as _0x37d735,SetDocZoomRatioOperation as _0x3291de,DocIMEInputManagerService as _0x9b89cd,DocStateChangeManagerService as _0x53ec29}from'@univerjs/docs-ui';import{IImageIoService as _0x5e59c9}from'@univerjs/drawing';import{BehaviorSubject as _0x5cdaf1,debounceTime as _0x21b7ee,takeUntil as _0xb05514,Subject as _0x428113,filter as _0x488117,switchMap as _0x50a454,merge as _0x5ed1ce,combineLatest as _0x45b940,of as _0x1ca343,fromEvent as _0x65473a,shareReplay as _0x28a176,mapTo as _0x4b26c1,distinctUntilChanged as _0x296b11}from'rxjs';import{SetTextSelectionsOperation as _0x4d51e9,RichTextEditingMutation as _0x1d470d,DocSelectionManagerService as _0x11276e,DocSkeletonManagerService as _0x4eddee}from'@univerjs/docs';import{ITransformService as _0x591d60,CollaborationEvent as _0x1e37a0,isTransformMutationFailure as _0x5d80c2,isTransformMutationsWithChangesetSuccess as _0x1ee5ea,RevisionService as _0x4c6b2f,ISnapshotServerService as _0x5c9c14}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x4d98a5,serializeRangeWithSheet as _0x3072ed}from'@univerjs/engine-formula';import{RefRangeService as _0x3861da,SetSelectionsOperation as _0x4a5b12,SheetsSelectionsService as _0x453c9f,EffectRefRangId as _0xaf7011,handleIRemoveRow as _0x3e7b36,handleIRemoveCol as _0x3e103f,handleMoveRange as _0x32484b,handleInsertRow as _0x3bdfb3,handleInsertRangeMoveRight as _0x52be48,handleInsertRangeMoveDown as _0x1826f5,handleInsertCol as _0x5e83c5,handleDeleteRangeMoveUp as _0x4181e0,handleDeleteRangeMoveLeft as _0x1b2871,runRefRangeMutations as _0x4cd611,SetWorksheetActivateCommand as _0x3af9cc}from'@univerjs/sheets';import{map as _0x1c2314,filter as _0x3a6c33,throttleTime as _0x41da77,takeUntil as _0x523972,switchMap as _0x4cbd56}from'rxjs/operators';import{SheetSkeletonManagerService as _0x29e279,getCoordByCell as _0x46b32b,getSheetObject as _0x373af8}from'@univerjs/sheets-ui';import{jsx as _0x158409,jsxs as _0x52a525}from'react/jsx-runtime';import{useObservable as _0x168462,useDependency as _0x4e5948,IUIPartsService as _0x198c4a,BuiltInUIPart as _0x172008,connectInjector as _0x32fc53,IBeforeCloseService as _0x7fd53d,IMessageService as _0x706677,INotificationService as _0x3a7ba7}from'@univerjs/ui';import{Tooltip as _0x1a6ba0,clsx as _0x1b05b3,MessageType as _0x5ee0bd}from'@univerjs/design';function _0x1993(_0x60c4af,_0x5a8626){const _0x12de72=_0x12de();return _0x1993=function(_0x199364,_0xeacac9){_0x199364=_0x199364-0x1a9;let _0x137103=_0x12de72[_0x199364];return _0x137103;},_0x1993(_0x60c4af,_0x5a8626);}import{forwardRef as _0x404d43,useRef as _0x56a721,createElement as _0x5b25a2,useCallback as _0x48b153}from'react';import{IRemoteInstanceService as _0x331430}from'@univerjs/rpc';var ci=Object[_0x528635(0x238)],li=(_0x16f85a,_0x5e6c51,_0x1cec58,_0x3aa778)=>{const _0x41ffc1=_0x528635;for(var _0x2e5e81=_0x3aa778>0x1?void 0x0:_0x3aa778?ci(_0x5e6c51,_0x1cec58):_0x5e6c51,_0x2cb003=_0x16f85a[_0x41ffc1(0x252)]-0x1,_0x5518c5;_0x2cb003>=0x0;_0x2cb003--)(_0x5518c5=_0x16f85a[_0x2cb003])&&(_0x2e5e81=_0x5518c5(_0x2e5e81)||_0x2e5e81);return _0x2e5e81;},Je=(_0x2ba832,_0x465e68)=>(_0x11f8a8,_0x170b1e)=>_0x465e68(_0x11f8a8,_0x170b1e,_0x2ba832);let Ne=class extends _0x245cd2{constructor(_0x1000b3,_0x1fa2e3){const _0x2b45bf=_0x528635;super(),this[_0x2b45bf(0x283)]=_0x1000b3,this[_0x2b45bf(0x2c2)]=_0x1fa2e3,this[_0x2b45bf(0x2ee)]();}[_0x528635(0x2ee)](){const _0x106aaf=_0x528635,_0x546905=this;this[_0x106aaf(0x26c)](this['_docClipboardService'][_0x106aaf(0x2cc)]({'onBeforePasteImage':async _0x5a24e1=>{const _0x5172cc=_0x106aaf,_0x39cb15=await _0x546905[_0x5172cc(0x2c2)][_0x5172cc(0x204)](_0x5a24e1);return _0x39cb15?{'source':_0x39cb15[_0x5172cc(0x26d)],'imageSourceType':_0x39cb15[_0x5172cc(0x38d)]}:null;}}));}};Ne=li([Je(0x0,_0x5de1aa),Je(0x1,_0x5e59c9)],Ne);const Ze=[_0x528635(0x33c),_0x528635(0x339),_0x528635(0x1d2),'red300',_0x528635(0x1ab),_0x528635(0x285)];class ke extends _0x5bfeba{constructor(){const _0x3198da=_0x528635;super(...arguments),_(this,_0x3198da(0x318),new Map()),_(this,_0x3198da(0x35a),0x0);}[_0x528635(0x23c)](_0x1731b4){const _0x3d87d3=_0x528635;if(this['_assignedColors'][_0x3d87d3(0x2f9)](_0x1731b4))return this[_0x3d87d3(0x318)]['get'](_0x1731b4);const _0x403742=Ze[this[_0x3d87d3(0x35a)]];return this[_0x3d87d3(0x35a)]=(this[_0x3d87d3(0x35a)]+0x1)%Ze[_0x3d87d3(0x252)],this[_0x3d87d3(0x318)]['set'](_0x1731b4,_0x403742),_0x403742;}}function Tt(_0x2eead8){let _0x4abb4e='';for(const _0x5396ee of _0x2eead8){const {startOffset:_0x77a7c3,endOffset:_0x19c647,isActive:_0xa832d2,rangeType:_0x331b9f,segmentId:_0x4dbd82,segmentPage:_0xd27650}=_0x5396ee;_0x4abb4e['length']&&(_0x4abb4e+=','),_0x4abb4e+=_0x77a7c3+':'+_0x19c647+':'+(_0xa832d2?'1':'0')+':'+_0x331b9f+':'+_0x4dbd82+':'+_0xd27650;}return _0x4abb4e;}function _i(_0xe2f4f1){const _0x218868=_0x528635,_0xd74abc=_0xe2f4f1[_0x218868(0x247)](','),_0x3cc8d5=[];for(const _0x33f999 of _0xd74abc){const [_0x285ac7,_0x2c26c2,_0x3336fe,_0x195acc,_0x51de3e,_0x56421a]=_0x33f999['split'](':');_0x3cc8d5[_0x218868(0x315)]({'startOffset':Number(_0x285ac7),'endOffset':Number(_0x2c26c2),'collapsed':_0x285ac7===_0x2c26c2,'isActive':_0x3336fe==='1','rangeType':_0x195acc===_0x3252d6['TEXT']?_0x3252d6[_0x218868(0x390)]:_0x3252d6[_0x218868(0x387)],'segmentId':typeof _0x51de3e==_0x218868(0x1d4)?String(_0x51de3e):'','segmentPage':Number(_0x56421a!=null?_0x56421a:-0x1)});}return _0x3cc8d5[_0x218868(0x1c5)](_0x39d15a=>_0x39d15a['isActive'])||(_0x3cc8d5[0x0][_0x218868(0x1c2)]=!0x0),_0x3cc8d5;}class He extends _0x245cd2{constructor(){const _0x2bcb4b=_0x528635;super(...arguments),_(this,_0x2bcb4b(0x1d6),new _0x5cdaf1(null)),_(this,_0x2bcb4b(0x396),this[_0x2bcb4b(0x1d6)]['asObservable']());}['syncEditingCollabCursor'](_0x39ff65){const _0x3219a1=_0x528635,{unitID:_0x4b7f44,memberID:_0x92595c,textRanges:_0x4ae320}=_0x39ff65,_0x6331f3=Tt(_0x4ae320);if(_0x6331f3==='')return;const _0x51dd90={'unitID':_0x4b7f44,'memberID':_0x92595c,'selection':_0x6331f3};this[_0x3219a1(0x1d6)][_0x3219a1(0x28d)](_0x51dd90);}}var hi=Object[_0x528635(0x238)],ui=(_0x4b2a6e,_0x477b93,_0x7be4a0,_0x5aa498)=>{for(var _0x35162d=_0x5aa498>0x1?void 0x0:_0x5aa498?hi(_0x477b93,_0x7be4a0):_0x477b93,_0x2f9663=_0x4b2a6e['length']-0x1,_0x51bc01;_0x2f9663>=0x0;_0x2f9663--)(_0x51bc01=_0x4b2a6e[_0x2f9663])&&(_0x35162d=_0x51bc01(_0x35162d)||_0x35162d);return _0x35162d;},w=(_0x3abe87,_0x232c19)=>(_0x32d962,_0x40d6dc)=>_0x232c19(_0x32d962,_0x40d6dc,_0x3abe87);const di=0x12c,fi=0x64;let Ue=class extends _0x245cd2{constructor(_0x18a669,_0x4197ab,_0x10bc9c,_0x4a0c7c,_0x53815c,_0x33a18c,_0x48a651,_0x23200e,_0x129eb2){const _0x1652b5=_0x528635;super(),_(this,'_online',!0x1),_(this,_0x1652b5(0x2ee),!0x1),_(this,_0x1652b5(0x2d8),new _0x5cdaf1(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x1652b5(0x1b5)]()),_(this,_0x1652b5(0x290),new _0x5cdaf1([])),_(this,_0x1652b5(0x398),this[_0x1652b5(0x290)][_0x1652b5(0x319)](_0x21b7ee(di))),_(this,'_updateLocalCursor',_0x287c81(_0x119f90=>{const _0x24d4dc=_0x1652b5,_0x72fdf9={'eventID':_0x1e37a0['UPDATE_CURSOR'],'data':{'unitID':this[_0x24d4dc(0x2ac)],'memberID':this[_0x24d4dc(0x34f)][_0x24d4dc(0x1d7)](),'selection':Tt(_0x119f90)}};this[_0x24d4dc(0x34f)][_0x24d4dc(0x240)](_0x72fdf9,this['unitID']);},fi)),(this['unitID']=_0x18a669,this[_0x1652b5(0x34f)]=_0x4197ab,this[_0x1652b5(0x3b3)]=_0x10bc9c,this[_0x1652b5(0x237)]=_0x4a0c7c,this[_0x1652b5(0x291)]=_0x53815c,this[_0x1652b5(0x2dc)]=_0x33a18c,this['_transformService']=_0x48a651,this[_0x1652b5(0x370)]=_0x23200e,this[_0x1652b5(0x267)]=_0x129eb2);}get['cursorInfo'](){const _0x3ce57b=_0x528635;return this['_cursorInfo$'][_0x3ce57b(0x1ed)]();}get['roomMembers'](){const _0x39c9da=_0x528635;return this[_0x39c9da(0x290)][_0x39c9da(0x1ed)]();}[_0x528635(0x1f9)](){const _0x11d21d=_0x528635;super[_0x11d21d(0x1f9)](),this[_0x11d21d(0x2d8)][_0x11d21d(0x28d)](new Map()),this[_0x11d21d(0x2d8)][_0x11d21d(0x32d)](),this[_0x11d21d(0x290)]['next']([]),this[_0x11d21d(0x290)]['complete']();}[_0x528635(0x330)](){const _0x559685=_0x528635;this[_0x559685(0x2ee)]||(this['_init']=!0x0,this[_0x559685(0x34f)][_0x559685(0x2e2)][_0x559685(0x319)](_0xb05514(this[_0x559685(0x1b8)]))['subscribe'](_0x43db25=>{const _0x3e1cc9=_0x559685;_0x43db25===_0x3f0db6[_0x3e1cc9(0x32c)]?this[_0x3e1cc9(0x1c4)]():this['_toggleOffline']();}),this[_0x559685(0x34f)][_0x559685(0x2da)][_0x559685(0x319)](_0xb05514(this['dispose$']))[_0x559685(0x219)](_0x25f636=>{const _0x2c5e54=_0x559685,_0x150efa=_0x25f636[_0x2c5e54(0x36a)];_0x150efa===_0x1e37a0[_0x2c5e54(0x1dc)]&&this['_onCursorUpdate'](_0x25f636),_0x150efa===_0x1e37a0[_0x2c5e54(0x2c3)]&&this[_0x2c5e54(0x207)](_0x25f636);}),this[_0x559685(0x26c)](this['_commandService']['onCommandExecuted'](_0x227768=>{const _0x450892=_0x559685,_0x42ddac=_0x227768[_0x450892(0x2b3)];_0x42ddac!=null&&this[_0x450892(0x28e)]&&_0x227768['id']===_0x4d51e9['id']&&_0x42ddac[_0x450892(0x2e9)]===this[_0x450892(0x2ac)]&&_0x42ddac[_0x450892(0x392)]===!0x1&&_0x42ddac['ranges']['length']>0x0&&this[_0x450892(0x1dd)](_0x42ddac[_0x450892(0x399)]);})),this[_0x559685(0x2dc)]['collabCursorState$'][_0x559685(0x319)](_0xb05514(this['dispose$']))[_0x559685(0x219)](_0x465bf6=>{const _0x369f62=_0x559685;if((_0x465bf6==null?void 0x0:_0x465bf6[_0x369f62(0x2ac)])!==this[_0x369f62(0x2ac)])return;const _0x886e82={'eventID':_0x1e37a0[_0x369f62(0x1dc)],'data':_0x465bf6};this[_0x369f62(0x377)](_0x886e82);}),this[_0x559685(0x26c)](this[_0x559685(0x267)][_0x559685(0x30c)](_0x4c766c=>{const _0x569096=_0x559685;if(_0x4c766c[_0x569096(0x2b3)]==null)return;const _0x261039=_0x4c766c[_0x569096(0x2b3)];if(_0x4c766c['id']!==_0x1d470d['id']||_0x261039[_0x569096(0x2e9)]!==this[_0x569096(0x2ac)])return;const _0x26a66c={'id':_0x569096(0x1ac),'params':_0x261039},_0x3370c0=this[_0x569096(0x363)];for(const [_0x50e609,_0x27677b]of _0x3370c0){const _0x523ed0={'id':_0x569096(0x1ac),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x27677b[_0x569096(0x399)]}},_0x37c95e=this['_transformService'][_0x569096(0x32e)](_0x26a66c,_0x523ed0,!0x1);if(_0x5d80c2(_0x37c95e))throw _0x37c95e[_0x569096(0x232)];_0x3370c0[_0x569096(0x38f)](_0x50e609,{..._0x27677b,'ranges':_0x37c95e[_0x569096(0x2e3)]['params'][_0x569096(0x36f)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x3370c0);});})));}[_0x528635(0x377)](_0x47c538){const _0x598601=_0x528635;var _0xfed328,_0x3e511c;const {memberID:_0x16e9cb,selection:_0x276b6f}=_0x47c538[_0x598601(0x1bb)],_0x3a0b1e=_i(_0x276b6f),_0x314db6=(_0x3e511c=(_0xfed328=this[_0x598601(0x291)][_0x598601(0x26f)](this[_0x598601(0x2ac)],_0x16e9cb))==null?void 0x0:_0xfed328[_0x598601(0x250)])!=null?_0x3e511c:'Unknown\x20user',_0x268cbd={'color':this['_colorAssignService'][_0x598601(0x23c)](_0x16e9cb),'name':_0x314db6,'ranges':_0x3a0b1e},_0x39f2df=this[_0x598601(0x363)];_0x39f2df[_0x598601(0x38f)](_0x16e9cb,_0x268cbd),this[_0x598601(0x2d8)][_0x598601(0x28d)](_0x39f2df);}[_0x528635(0x207)](_0x2db5c9){const _0x4fa4c6=_0x528635,{memberID:_0x1e0a54}=_0x2db5c9['data'],_0x55ab20=this['cursorInfo'];_0x55ab20['delete'](_0x1e0a54),this[_0x4fa4c6(0x2d8)][_0x4fa4c6(0x28d)](_0x55ab20);}['_toggleOnline'](){const _0x2717fc=_0x528635;var _0x22d9c7;if(this[_0x2717fc(0x28e)]=!0x0,((_0x22d9c7=this[_0x2717fc(0x370)][_0x2717fc(0x3b2)]())==null?void 0x0:_0x22d9c7[_0x2717fc(0x223)]())!==this[_0x2717fc(0x2ac)])return;const _0x43b967=this[_0x2717fc(0x3b3)][_0x2717fc(0x264)](_0x11276e)[_0x2717fc(0x2cd)]();Array[_0x2717fc(0x21e)](_0x43b967)&&_0x43b967[_0x2717fc(0x252)]>0x0&&this[_0x2717fc(0x1dd)](_0x43b967);}[_0x528635(0x255)](){const _0x201713=_0x528635;this[_0x201713(0x28e)]=!0x1;}};Ue=ui([w(0x2,_0x2ea28b(_0x5743ed)),w(0x3,_0x2ea28b(ke)),w(0x4,_0x2ea28b(_0x2866ab)),w(0x5,_0x2ea28b(He)),w(0x6,_0x591d60),w(0x7,_0x2b1449),w(0x8,_0xa07eb8)],Ue);var Si=Object[_0x528635(0x238)],mi=(_0x5f2731,_0x537fd7,_0x2cb645,_0x3dc513)=>{const _0x4c4619=_0x528635;for(var _0x29fcdb=_0x3dc513>0x1?void 0x0:_0x3dc513?Si(_0x537fd7,_0x2cb645):_0x537fd7,_0x5c74e7=_0x5f2731[_0x4c4619(0x252)]-0x1,_0x4816fe;_0x5c74e7>=0x0;_0x5c74e7--)(_0x4816fe=_0x5f2731[_0x5c74e7])&&(_0x29fcdb=_0x4816fe(_0x29fcdb)||_0x29fcdb);return _0x29fcdb;},x=(_0x22db2a,_0x5a7a48)=>(_0x393f97,_0x3a301e)=>_0x5a7a48(_0x393f97,_0x3a301e,_0x22db2a);const gi=0x12c,vi=0x64,Ii=()=>{let _0x3f52b4=[],_0x5642e5=!0x1;return _0x32c25e=>{const _0x2e76df=_0x1993;_0x3f52b4[_0x2e76df(0x315)](_0x32c25e),_0x5642e5||(_0x5642e5=!0x0,setTimeout(()=>{const _0x53cd64=_0x2e76df;_0x3f52b4[_0x53cd64(0x349)](_0x1693ae=>_0x1693ae()),_0x3f52b4=[],_0x5642e5=!0x1;}));};};let Me=class extends _0x245cd2{constructor(_0x578091,_0x399e7b,_0x2271f6,_0x38fefe,_0x4f0284,_0x4df248,_0x5bc37d,_0x73740c){const _0x481241=_0x528635;super(),_(this,_0x481241(0x28e),!0x1),_(this,_0x481241(0x2ee),!0x1),_(this,_0x481241(0x2d8),new _0x5cdaf1(new Map())),_(this,'cursorInfo$',this[_0x481241(0x2d8)]['asObservable']()),_(this,_0x481241(0x290),new _0x5cdaf1([])),_(this,'roomMembers$',this[_0x481241(0x290)][_0x481241(0x319)](_0x21b7ee(gi))),_(this,_0x481241(0x1dd),_0x287c81((_0x4f3500,_0xcd0eb0)=>{const _0x12a62a=_0x481241,_0x337ece={'eventID':_0x1e37a0[_0x12a62a(0x1dc)],'data':{'unitID':this[_0x12a62a(0x2ac)],'memberID':this[_0x12a62a(0x34f)]['getMemberID'](),'selection':_0x3072ed(_0x4f3500,_0xcd0eb0['range'])}};this[_0x12a62a(0x34f)][_0x12a62a(0x240)](_0x337ece,this[_0x12a62a(0x2ac)]);},vi)),(this[_0x481241(0x2ac)]=_0x578091,this['_session']=_0x399e7b,this[_0x481241(0x3b3)]=_0x2271f6,this[_0x481241(0x237)]=_0x38fefe,this[_0x481241(0x291)]=_0x4f0284,this['_univerInstanceService']=_0x4df248,this[_0x481241(0x267)]=_0x5bc37d,this[_0x481241(0x2b0)]=_0x73740c);}get[_0x528635(0x363)](){const _0x328157=_0x528635;return this[_0x328157(0x2d8)][_0x328157(0x1ed)]();}get[_0x528635(0x343)](){const _0x349f4e=_0x528635;return this[_0x349f4e(0x290)][_0x349f4e(0x1ed)]();}['dispose'](){const _0x4d25ec=_0x528635;super[_0x4d25ec(0x1f9)](),this[_0x4d25ec(0x2d8)][_0x4d25ec(0x28d)](new Map()),this['_cursorInfo$'][_0x4d25ec(0x32d)](),this['_roomMembers$'][_0x4d25ec(0x28d)]([]),this[_0x4d25ec(0x290)][_0x4d25ec(0x32d)]();}[_0x528635(0x330)](){const _0x47f9e0=_0x528635;this[_0x47f9e0(0x2ee)]||(this[_0x47f9e0(0x2ee)]=!0x0,this['_session'][_0x47f9e0(0x2e2)]['pipe'](_0xb05514(this[_0x47f9e0(0x1b8)]))[_0x47f9e0(0x219)](_0x31213e=>{const _0xaeda12=_0x47f9e0;_0x31213e===_0x3f0db6['ONLINE']?this['_toggleOnline']():this[_0xaeda12(0x255)]();}),this[_0x47f9e0(0x34f)][_0x47f9e0(0x2da)]['pipe'](_0xb05514(this['dispose$']))[_0x47f9e0(0x219)](_0x4a1038=>{const _0x26ed3e=_0x47f9e0,_0x424391=_0x4a1038['eventID'];_0x424391===_0x1e37a0[_0x26ed3e(0x1dc)]&&this[_0x26ed3e(0x377)](_0x4a1038),_0x424391===_0x1e37a0[_0x26ed3e(0x2c3)]&&this[_0x26ed3e(0x207)](_0x4a1038);}),this['_onRefRangeChange'](),this[_0x47f9e0(0x26c)](this[_0x47f9e0(0x267)][_0x47f9e0(0x30c)](_0x288a78=>{const _0xd1c2c6=_0x47f9e0;if(this[_0xd1c2c6(0x28e)]&&_0x288a78['id']===_0x4a5b12['id']&&_0x288a78[_0xd1c2c6(0x2b3)][_0xd1c2c6(0x2e9)]===this[_0xd1c2c6(0x2ac)]){const _0xd2b448=_0x288a78[_0xd1c2c6(0x2b3)];this['_updateLocalCursor'](_0xd2b448[_0xd1c2c6(0x35b)],_0xd2b448[_0xd1c2c6(0x34c)][0x0]);}})));}[_0x528635(0x377)](_0x27ea5e){const _0x422870=_0x528635;var _0x17acdd,_0x4c90da;const {memberID:_0x4074a6,selection:_0xa0ed4c}=_0x27ea5e['data'],{sheetName:_0x46e34a,range:_0xfad9f8}=_0x4d98a5(_0xa0ed4c),_0x1dfc0a={'name':(_0x4c90da=(_0x17acdd=this[_0x422870(0x291)][_0x422870(0x26f)](this[_0x422870(0x2ac)],_0x4074a6))==null?void 0x0:_0x17acdd[_0x422870(0x250)])!=null?_0x4c90da:_0x422870(0x368),'range':this[_0x422870(0x216)](_0x46e34a,_0xfad9f8),'sheetID':_0x46e34a,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x4074a6),'selection':_0xa0ed4c},_0x43d827=this[_0x422870(0x363)];_0x43d827[_0x422870(0x38f)](_0x4074a6,_0x1dfc0a),this['_cursorInfo$'][_0x422870(0x28d)](_0x43d827);}[_0x528635(0x207)](_0x31d58d){const _0x4c9f8a=_0x528635,{memberID:_0x2e227f}=_0x31d58d[_0x4c9f8a(0x1bb)],_0x3ef922=this[_0x4c9f8a(0x363)];_0x3ef922[_0x4c9f8a(0x2ab)](_0x2e227f),this[_0x4c9f8a(0x2d8)][_0x4c9f8a(0x28d)](_0x3ef922);}[_0x528635(0x216)](_0x1a519b,_0x5364f4){const _0x19b90a=_0x528635;var _0x2986db,_0x38384c;const _0x156a1f=(_0x38384c=(_0x2986db=this[_0x19b90a(0x370)][_0x19b90a(0x337)](this['unitID']))==null?void 0x0:_0x2986db['getSheetBySheetId'](_0x1a519b))==null?void 0x0:_0x38384c[_0x19b90a(0x37e)]();return(_0x156a1f==null?void 0x0:_0x156a1f['find'](_0x15959e=>_0x46d04d[_0x19b90a(0x30f)](_0x15959e,_0x5364f4)))||_0x5364f4;}[_0x528635(0x1bf)](){const _0x3f1a49=_0x528635,_0x5500bc=new _0x4239b9(),_0x4c4e2c=Ii(),_0x4bcf93=()=>{const _0x5183f1=_0x1993;_0x5500bc['dispose']();const _0x172499=(_0x2caf39,_0x151165,_0x1af194,_0x2dc75f)=>{const _0x5a1f2b=_0x1993;let _0x3cb1a4=[];switch(_0x2caf39['id']){case _0xaf7011[_0x5a1f2b(0x2c1)]:{_0x3cb1a4=_0x1b2871(_0x2caf39,_0x2dc75f);break;}case _0xaf7011['DeleteRangeMoveUpCommandId']:{_0x3cb1a4=_0x4181e0(_0x2caf39,_0x2dc75f);break;}case _0xaf7011[_0x5a1f2b(0x31b)]:{_0x3cb1a4=_0x5e83c5(_0x2caf39,_0x2dc75f);break;}case _0xaf7011[_0x5a1f2b(0x345)]:{_0x3cb1a4=_0x1826f5(_0x2caf39,_0x2dc75f);break;}case _0xaf7011[_0x5a1f2b(0x1b4)]:{_0x3cb1a4=_0x52be48(_0x2caf39,_0x2dc75f);break;}case _0xaf7011[_0x5a1f2b(0x311)]:{_0x3cb1a4=_0x3bdfb3(_0x2caf39,_0x2dc75f);break;}case _0xaf7011[_0x5a1f2b(0x35f)]:{_0x3cb1a4=_0x32484b(_0x2caf39,_0x2dc75f);break;}case _0xaf7011[_0x5a1f2b(0x22d)]:{_0x3cb1a4=_0x3e103f(_0x2caf39,_0x2dc75f);break;}case _0xaf7011[_0x5a1f2b(0x383)]:{_0x3cb1a4=_0x3e7b36(_0x2caf39,_0x2dc75f);break;}}const _0xe526cc=_0x4cd611(_0x3cb1a4,_0x2dc75f),_0xe168e8=this[_0x5a1f2b(0x363)]['get'](_0x151165);if(_0xe168e8&&_0xe526cc){const _0x335010={..._0xe168e8,'range':_0xe526cc};this['cursorInfo'][_0x5a1f2b(0x38f)](_0x151165,_0x335010),_0x4c4e2c(()=>{const _0x598693=_0x5a1f2b,_0x2ad208=this[_0x598693(0x2b0)]['registerRefRange'](_0xe526cc,_0x53a582=>(_0x2ad208[_0x598693(0x1f9)](),_0x172499(_0x53a582,_0x151165,_0x1af194,_0xe526cc)));_0x5500bc[_0x598693(0x2b4)](_0x2ad208);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5183f1(0x349)]((_0x3c2e97,_0x81de3d)=>{const _0x20f71b=_0x5183f1,{range:_0x13197f,sheetID:_0x4b5970}=_0x3c2e97,_0x3471bf=this[_0x20f71b(0x2b0)]['registerRefRange'](_0x13197f,_0x2c3989=>(_0x3471bf[_0x20f71b(0x1f9)](),_0x172499(_0x2c3989,_0x81de3d,_0x4b5970,_0x13197f)));_0x5500bc['add'](_0x3471bf);});};this['disposeWithMe'](_0x4e66e3(this['_cursorInfo$'][_0x3f1a49(0x219)](()=>{_0x4bcf93();})));}[_0x528635(0x1c4)](){const _0x440399=_0x528635;var _0x583aca,_0x12fadf;if(this[_0x440399(0x28e)]=!0x0,((_0x583aca=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x583aca['getUnitId']())!==this['unitID'])return;const _0x32102b=(_0x12fadf=this['_injector'][_0x440399(0x264)](_0x453c9f)[_0x440399(0x351)]())==null?void 0x0:_0x12fadf[0x0],_0x3a9b50=this[_0x440399(0x370)]['getCurrentUnitForType'](_0x3a25e9[_0x440399(0x358)])['getActiveSheet']();_0x32102b&&_0x3a9b50&&this[_0x440399(0x1dd)](_0x3a9b50['getSheetId'](),_0x32102b);}[_0x528635(0x255)](){const _0x257d2e=_0x528635;this[_0x257d2e(0x28e)]=!0x1;}};Me=mi([x(0x2,_0x2ea28b(_0x5743ed)),x(0x3,_0x2ea28b(ke)),x(0x4,_0x2ea28b(_0x2866ab)),x(0x5,_0x2b1449),x(0x6,_0xa07eb8),x(0x7,_0x2ea28b(_0x3861da))],Me);var pi=Object['getOwnPropertyDescriptor'],Ci=(_0x2b1227,_0x18f388,_0x568bfc,_0x1aae70)=>{const _0x1a61b2=_0x528635;for(var _0x1478b8=_0x1aae70>0x1?void 0x0:_0x1aae70?pi(_0x18f388,_0x568bfc):_0x18f388,_0x579b77=_0x2b1227[_0x1a61b2(0x252)]-0x1,_0x49a224;_0x579b77>=0x0;_0x579b77--)(_0x49a224=_0x2b1227[_0x579b77])&&(_0x1478b8=_0x49a224(_0x1478b8)||_0x1478b8);return _0x1478b8;},Se=(_0x32af4f,_0x441312)=>(_0x4ed6dc,_0x2279d5)=>_0x441312(_0x4ed6dc,_0x2279d5,_0x32af4f);let H=class extends _0x245cd2{constructor(_0x2ec40b,_0x97f547,_0x136296){const _0x3db79d=_0x528635;super(),_(this,_0x3db79d(0x323),new Map()),_(this,_0x3db79d(0x33a),new _0x428113()),(this[_0x3db79d(0x370)]=_0x2ec40b,this[_0x3db79d(0x3b3)]=_0x97f547,this[_0x3db79d(0x1f7)]=_0x136296,this[_0x3db79d(0x2ee)]());}[_0x528635(0x1f9)](){const _0x4ea0b8=_0x528635;super[_0x4ea0b8(0x1f9)](),this[_0x4ea0b8(0x33a)][_0x4ea0b8(0x32d)](),this[_0x4ea0b8(0x323)][_0x4ea0b8(0x349)](_0x2cc42f=>_0x2cc42f['dispose']());}['getCollabCursors$'](_0x5bc64c){const _0x45334f=_0x528635;return this[_0x45334f(0x323)][_0x45334f(0x2f9)](_0x5bc64c)?this['_entities'][_0x45334f(0x264)](_0x5bc64c)[_0x45334f(0x313)]:this[_0x45334f(0x33a)]['pipe'](_0x488117(_0xd8ea58=>_0xd8ea58[_0x45334f(0x2ac)]===_0x5bc64c),_0x50a454(_0x4e937b=>_0x4e937b[_0x45334f(0x313)]));}[_0x528635(0x2ee)](){const _0x58d989=_0x528635;this['_univerInstanceService'][_0x58d989(0x1f0)](_0x3a25e9[_0x58d989(0x358)])[_0x58d989(0x319)](_0xb05514(this['dispose$']))[_0x58d989(0x219)](async _0x3a5432=>{const _0x8c0d35=_0x58d989,_0x330e0a=_0x3a5432[_0x8c0d35(0x223)](),_0x3fcaf9=await this[_0x8c0d35(0x25c)](_0x330e0a);this[_0x8c0d35(0x33a)]['next'](_0x3fcaf9),this[_0x8c0d35(0x323)][_0x8c0d35(0x38f)](_0x330e0a,_0x3fcaf9);}),this[_0x58d989(0x370)]['getTypeOfUnitAdded$'](_0x3a25e9[_0x58d989(0x369)])[_0x58d989(0x319)](_0xb05514(this['dispose$']))[_0x58d989(0x319)](_0x488117(_0x126cdb=>!_0x126cdb[_0x58d989(0x223)]()['startsWith']('__')))[_0x58d989(0x219)](async _0x532d91=>{const _0x21750d=_0x58d989,_0x2b179d=_0x532d91['getUnitId'](),_0x231819=await this[_0x21750d(0x200)](_0x2b179d);this['_entityInit$'][_0x21750d(0x28d)](_0x231819),this['_entities'][_0x21750d(0x38f)](_0x2b179d,_0x231819);}),_0x5ed1ce(this[_0x58d989(0x370)][_0x58d989(0x22e)](_0x3a25e9[_0x58d989(0x369)]),this[_0x58d989(0x370)][_0x58d989(0x22e)](_0x3a25e9[_0x58d989(0x358)]))[_0x58d989(0x319)](_0xb05514(this[_0x58d989(0x1b8)]))[_0x58d989(0x219)](_0x2f2736=>{const _0x5c9bb8=_0x58d989,_0x2d416b=_0x2f2736[_0x5c9bb8(0x223)](),_0x3d6417=this[_0x5c9bb8(0x323)][_0x5c9bb8(0x264)](_0x2d416b);_0x3d6417&&(_0x3d6417[_0x5c9bb8(0x1f9)](),this['_entities']['delete'](_0x2d416b));});}async[_0x528635(0x25c)](_0x5e2155){const _0x5a041e=_0x528635,_0x353fb2=await this[_0x5a041e(0x1f7)][_0x5a041e(0x282)](_0x5e2155),_0x3c0c0a=this['_injector'][_0x5a041e(0x2d2)](Me,_0x5e2155,_0x353fb2);return _0x3c0c0a[_0x5a041e(0x330)](),_0x3c0c0a;}async['_startDocCollabCursor'](_0x2e6934){const _0x574014=_0x528635,_0x140660=await this[_0x574014(0x1f7)]['requireSession'](_0x2e6934),_0x51f7c7=this[_0x574014(0x3b3)]['createInstance'](Ue,_0x2e6934,_0x140660);return _0x51f7c7['init'](),_0x51f7c7;}};H=Ci([Se(0x0,_0x2b1449),Se(0x1,_0x2ea28b(_0x5743ed)),Se(0x2,_0x2ea28b(_0x2e0a4a))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x28e539,_0x5ef689){const _0x643307=_0x528635;let {radius:_0x19e173,width:_0x48b64c,height:_0x9015f0}=_0x5ef689;_0x19e173=_0x19e173!=null?_0x19e173:0x0,_0x48b64c=_0x48b64c!=null?_0x48b64c:0x1e,_0x9015f0=_0x9015f0!=null?_0x9015f0:0x1e;let _0x119215=0x0,_0x59458b=0x0,_0x56b0c0=0x0;_0x119215=_0x59458b=_0x56b0c0=Math[_0x643307(0x23a)](_0x19e173,_0x48b64c/0x2,_0x9015f0/0x2),_0x28e539[_0x643307(0x328)](),_0x28e539[_0x643307(0x25f)](_0x119215,0x0),_0x28e539[_0x643307(0x39c)](_0x48b64c-_0x59458b,0x0),_0x28e539['arc'](_0x48b64c-_0x59458b,_0x59458b,_0x59458b,Math['PI']*0x3/0x2,0x0,!0x1),_0x28e539[_0x643307(0x39c)](_0x48b64c,_0x9015f0-_0x56b0c0),_0x28e539[_0x643307(0x1ee)](_0x48b64c-_0x56b0c0,_0x9015f0-_0x56b0c0,_0x56b0c0,0x0,Math['PI']/0x2,!0x1),_0x28e539[_0x643307(0x39c)](0x0,_0x9015f0),_0x28e539[_0x643307(0x39c)](0x0,_0x119215),_0x28e539[_0x643307(0x1ee)](_0x119215,_0x119215,_0x119215,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x28e539[_0x643307(0x20e)](),_0x5ef689[_0x643307(0x23e)]&&(_0x28e539[_0x643307(0x308)](),_0x28e539['fillStyle']=_0x5ef689['fill'],_0x5ef689[_0x643307(0x379)]==='evenodd'?_0x28e539['fill']('evenodd'):_0x28e539[_0x643307(0x23e)](),_0x28e539[_0x643307(0x265)]());}class he extends _0x2be3e8{constructor(_0x406753,_0x35d215){const _0x48d68f=_0x528635;super(_0x406753,_0x35d215),_(this,_0x48d68f(0x364)),_(this,'text'),(this[_0x48d68f(0x364)]=_0x35d215==null?void 0x0:_0x35d215[_0x48d68f(0x364)],this[_0x48d68f(0x25b)]=_0x35d215==null?void 0x0:_0x35d215[_0x48d68f(0x25b)]);}static[_0x528635(0x310)](_0x259c25,_0x2fd729){const _0x1873d8=_0x528635,{text:_0x18626d,color:_0x3cfe6a}=_0x2fd729;_0x259c25[_0x1873d8(0x308)](),_0x259c25[_0x1873d8(0x2d5)]=_0x1873d8(0x388);const _0x5d88c7=_0x259c25['measureText'](_0x18626d)[_0x1873d8(0x202)],_0x5339e4=Math[_0x1873d8(0x23a)](_0x5d88c7+0x2*me,Qe);bi(_0x259c25,{'height':ee,'radius':0x4,'width':_0x5339e4,'fill':_0x3cfe6a}),_0x259c25[_0x1873d8(0x382)]=_0x1873d8(0x24c);const _0x5c3183=me,_0xd37879=ee-Ei,_0x4f2ec6=Qe-0x2*me;if(_0x5d88c7>_0x4f2ec6){let _0x3d2b6d='',_0x2832ae=0x0;for(const _0xf188f of _0x18626d){const _0x4de9c6=_0x259c25[_0x1873d8(0x20b)](_0xf188f)[_0x1873d8(0x202)];if(_0x2832ae+_0x4de9c6<=_0x4f2ec6-_0x259c25['measureText']('...')[_0x1873d8(0x202)])_0x3d2b6d+=_0xf188f,_0x2832ae+=_0x4de9c6;else{_0x3d2b6d+=_0x1873d8(0x3ac);break;}}_0x259c25[_0x1873d8(0x2e8)](_0x3d2b6d,_0x5c3183,_0xd37879);}else _0x259c25[_0x1873d8(0x2e8)](_0x18626d,_0x5c3183,_0xd37879);_0x259c25[_0x1873d8(0x265)]();}['_draw'](_0x27c083){const _0x4aaa73=_0x528635;he[_0x4aaa73(0x310)](_0x27c083,this);}}const ge=_0x528635(0x2d7),Oi=_0x528635(0x29e),Ti=_0x528635(0x312),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x528635(0x335);class qe{constructor(_0x5becbd,_0x20a3e3,_0x46ebaa,_0x7a694c){const _0x37c9a5=_0x528635;_(this,_0x37c9a5(0x1b0),[]),_(this,_0x37c9a5(0x201),null),_(this,_0x37c9a5(0x32f),null),_(this,_0x37c9a5(0x3b4),null),_(this,_0x37c9a5(0x38a),null),_(this,'_eventUnsubscribe',null),(this[_0x37c9a5(0x325)]=_0x5becbd,this[_0x37c9a5(0x327)]=_0x20a3e3,this['_docSkeleton']=_0x46ebaa,this['_document']=_0x7a694c,this[_0x37c9a5(0x2d6)]());}set[_0x528635(0x397)](_0x9af3b){const _0x474cab=_0x528635;_0x9af3b?(this['_anchorDot']&&this[_0x474cab(0x3b4)][_0x474cab(0x36b)](),this[_0x474cab(0x32f)]&&this[_0x474cab(0x32f)][_0x474cab(0x31d)]()):(this[_0x474cab(0x3b4)]&&this['_anchorDot'][_0x474cab(0x31d)](),this[_0x474cab(0x32f)]&&this[_0x474cab(0x32f)][_0x474cab(0x36b)]());}[_0x528635(0x1f9)](){const _0x52ce21=_0x528635;for(const _0x1884e0 of this[_0x52ce21(0x1b0)])_0x1884e0[_0x52ce21(0x1f9)]();this[_0x52ce21(0x32f)]&&this['_textBubble'][_0x52ce21(0x1f9)](),this[_0x52ce21(0x3b4)]&&this[_0x52ce21(0x3b4)][_0x52ce21(0x1f9)](),this[_0x52ce21(0x201)]&&this[_0x52ce21(0x201)][_0x52ce21(0x1f9)](),this[_0x52ce21(0x27c)]&&this['_eventUnsubscribe']();}[_0x528635(0x2d6)](){const _0xc794de=_0x528635;var _0x5c32c7;const {_docSkeleton:_0x27f3cd,_document:_0x40ba2a}=this,{color:_0x8c7e68,name:_0x41dee3,ranges:_0x1a9f75}=this[_0xc794de(0x325)],_0x363938=_0x40ba2a[_0xc794de(0x1e8)](),{docsLeft:_0x55dd7d,docsTop:_0x64d783}=_0x363938,_0x5cded7=new _0x1ac601(_0x363938,_0x27f3cd);for(const {startOffset:_0x274cb8,endOffset:_0x201ebe,rangeType:_0x169e68,segmentId:_0x174ac6,segmentPage:_0x5b60a1,collapsed:_0x4cdd16,isActive:_0x24fcc8}of _0x1a9f75){const _0x1e9ddd=_0x27f3cd['findNodePositionByCharIndex'](_0x274cb8,!0x0,_0x174ac6,_0x5b60a1);let _0x3016=_0x27f3cd['findNodePositionByCharIndex'](_0x201ebe,!0x0,_0x174ac6,_0x5b60a1);if(_0x3016==null&&(_0x3016=_0x27f3cd[_0xc794de(0x274)](_0x201ebe-0x1,!0x1,_0x174ac6,_0x5b60a1)),_0x24fcc8){const {contentBoxPointGroup:_0x159305}=_0x5cded7['getRangePointData'](_0x3016,_0x3016);if(_0x159305[_0xc794de(0x252)]===0x0)continue;this[_0xc794de(0x2e5)](_0x8c7e68,_0x159305,_0x55dd7d,_0x64d783,_0x41dee3),this[_0xc794de(0x27c)]=this[_0xc794de(0x306)]();}if(_0x1e9ddd&&_0x3016){if(_0x169e68===_0x3252d6[_0xc794de(0x387)]){const _0x3dd16f=new _0x38007f(_0x363938,_0x27f3cd),{pointGroup:_0x3bcf6f}=(_0x5c32c7=_0x3dd16f[_0xc794de(0x2ae)](_0x1e9ddd,_0x3016))!=null?_0x5c32c7:{};if(_0x3bcf6f==null||_0x3bcf6f[_0xc794de(0x252)]===0x0)continue;this[_0xc794de(0x2e6)](_0x8c7e68,_0x3bcf6f,_0x55dd7d,_0x64d783);}else{if(!_0x4cdd16){const {borderBoxPointGroup:_0x1d2df5}=_0x5cded7[_0xc794de(0x2ae)](_0x1e9ddd,_0x3016);if(_0x1d2df5[_0xc794de(0x252)]===0x0)continue;this[_0xc794de(0x1b2)](_0x8c7e68,_0x1d2df5,_0x55dd7d,_0x64d783);}}}}}[_0x528635(0x2e5)](_0x1ba46e,_0x90934b,_0x925e88,_0x56bcfc,_0x1d5f7c){const _0x349c3a=_0x528635,_0x4fd0e1=this[_0x349c3a(0x1a9)](_0x90934b),{left:_0x1c8ea1,top:_0x88d995,height:_0x505165}=_0x4fd0e1,_0x13cb7e=this[_0x349c3a(0x244)](),_0x4888e2=Di/_0x13cb7e,_0x5be3c4=new _0x14b61b(ge+_0x37d6bc[_0x349c3a(0x2be)](X),{'left':_0x1c8ea1+_0x925e88-_0x4888e2,'top':_0x88d995+_0x56bcfc,'height':_0x505165,'width':Ri,'fill':_0x1ba46e||_0x143bec(_0x44b12f[_0x349c3a(0x1e2)],0x0),'strokeWidth':_0x4888e2,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x5be3c4,this[_0x349c3a(0x327)][_0x349c3a(0x262)](_0x5be3c4,_0x37d735);const _0x54d8b3=new _0x14b61b(ge+_0x37d6bc['generateRandomId'](X),{'left':_0x1c8ea1+_0x925e88-_0x4888e2,'top':_0x88d995+_0x56bcfc-ve/0x2,'height':ve,'width':ve,'fill':_0x1ba46e||_0x143bec(_0x44b12f[_0x349c3a(0x1e2)],0x0),'strokeWidth':0x0,'stroke':_0x1ba46e||_0x143bec(_0x44b12f[_0x349c3a(0x1e2)],0x0),'evented':!0x1});this[_0x349c3a(0x3b4)]=_0x54d8b3,this[_0x349c3a(0x327)][_0x349c3a(0x262)](_0x54d8b3,_0x37d735);const _0xf6894f=new he(ge+_0x37d6bc['generateRandomId'](X),{'left':_0x1c8ea1+_0x925e88-_0x4888e2,'top':_0x88d995+_0x56bcfc-ee,'text':_0x1d5f7c,'color':_0x1ba46e});this[_0x349c3a(0x32f)]=_0xf6894f,this[_0x349c3a(0x327)][_0x349c3a(0x262)](_0xf6894f,_0x37d735),this[_0x349c3a(0x397)]=!0x1;}[_0x528635(0x306)](){const _0x41259d=_0x528635,_0x2e1bf9=this[_0x41259d(0x201)][_0x41259d(0x2b5)]['subscribeEvent'](()=>{const _0x36a2d9=_0x41259d;this[_0x36a2d9(0x397)]=!0x0;}),_0x26553e=this[_0x41259d(0x201)][_0x41259d(0x39f)][_0x41259d(0x294)](()=>{const _0x370490=_0x41259d;this[_0x370490(0x38a)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x44bf24=_0x370490;this[_0x44bf24(0x397)]=!0x1;},0x7d0);});return()=>{const _0x468c68=_0x41259d;_0x2e1bf9[_0x468c68(0x217)](),_0x26553e[_0x468c68(0x217)]();};}[_0x528635(0x1b2)](_0x3dc7a5,_0x50906d,_0x43d664,_0x20603e){const _0x33843d=_0x528635,_0x17a3a5=new _0x5a95ee(_0x3dc7a5)[_0x33843d(0x375)](0.2)['toRgbString'](),_0x4ddc0b=new _0x21287b(Oi+_0x37d6bc[_0x33843d(0x2be)](X),{'pointsGroup':_0x50906d,'fill':_0x17a3a5||_0x143bec(_0x44b12f[_0x33843d(0x1e2)],0.2),'left':_0x43d664,'top':_0x20603e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x33843d(0x1b0)]['push'](_0x4ddc0b),this['_scene'][_0x33843d(0x262)](_0x4ddc0b,_0x37d735);}[_0x528635(0x2e6)](_0x377c20,_0xe46eb9,_0x4bdd4e,_0x642799){const _0x4fcfb7=_0x528635,_0x4a31d9=new _0x5a95ee(_0x377c20)[_0x4fcfb7(0x375)](0.2)['toRgbString'](),_0x274296=new _0x21287b(Ti+_0x37d6bc[_0x4fcfb7(0x2be)](X),{'pointsGroup':_0xe46eb9,'fill':_0x4a31d9||_0x143bec(_0x44b12f['black'],0.2),'left':_0x4bdd4e,'top':_0x642799,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4fcfb7(0x315)](_0x274296),this[_0x4fcfb7(0x327)][_0x4fcfb7(0x262)](_0x274296,_0x37d735);}['_getAnchorBounding'](_0x11d825){const _0x573b47=_0x11d825[0x0],_0x245de7=_0x573b47[0x0],_0x4f1624=_0x573b47[0x2],{x:_0x2eff11,y:_0x503183}=_0x245de7,{x:_0x4c6f6e,y:_0x270108}=_0x4f1624;return{'left':_0x2eff11,'top':_0x503183,'width':_0x4c6f6e-_0x2eff11,'height':_0x270108-_0x503183};}[_0x528635(0x244)](){const _0x44b8e2=_0x528635,{scaleX:_0x486033,scaleY:_0x759301}=this[_0x44b8e2(0x327)][_0x44b8e2(0x245)]();return Math[_0x44b8e2(0x1f3)](_0x486033,_0x759301);}}var Ui=Object[_0x528635(0x238)],Mi=(_0x3a6629,_0xc0d3ee,_0x205363,_0x1b7f92)=>{const _0x44fbb0=_0x528635;for(var _0x194e24=_0x1b7f92>0x1?void 0x0:_0x1b7f92?Ui(_0xc0d3ee,_0x205363):_0xc0d3ee,_0x1a14c0=_0x3a6629[_0x44fbb0(0x252)]-0x1,_0x114a04;_0x1a14c0>=0x0;_0x1a14c0--)(_0x114a04=_0x3a6629[_0x1a14c0])&&(_0x194e24=_0x114a04(_0x194e24)||_0x194e24);return _0x194e24;},Z=(_0x991ae4,_0x21f323)=>(_0x3babbf,_0x4a8af1)=>_0x21f323(_0x3babbf,_0x4a8af1,_0x991ae4);let Pe=class extends _0x245cd2{constructor(_0x53726e,_0x146411,_0x126ade,_0x528553,_0x5dc2bf){const _0x250a38=_0x528635;super(),_(this,_0x250a38(0x1ef),[]),_(this,_0x250a38(0x287),[]),(this[_0x250a38(0x2ff)]=_0x53726e,this['_docSkeletonManagerService']=_0x146411,this[_0x250a38(0x33f)]=_0x126ade,this[_0x250a38(0x267)]=_0x528553,this['_themeService']=_0x5dc2bf,this[_0x250a38(0x2ee)]());}[_0x528635(0x2ee)](){const _0x52e0ce=_0x528635,_0x326add=this[_0x52e0ce(0x2ff)]['unitId'],_0x378cf5=this[_0x52e0ce(0x2bf)];this[_0x52e0ce(0x26c)](_0x45b940([this[_0x52e0ce(0x33f)][_0x52e0ce(0x1ba)](_0x326add),this['_themeService'][_0x52e0ce(0x2df)]])[_0x52e0ce(0x319)](_0x1c2314(([_0x395fdf,_0x3bd4f3])=>({'skeleton':_0x378cf5[_0x52e0ce(0x2c8)](),'cursors':[..._0x395fdf['values']()][_0x52e0ce(0x2f8)](_0x4bc2df=>({..._0x4bc2df,'color':_0x3bd4f3[_0x4bc2df[_0x52e0ce(0x364)]]}))})))[_0x52e0ce(0x219)](_0x3b92e2=>{const _0x20215e=_0x52e0ce;if(this[_0x20215e(0x21f)](),_0x3b92e2){const {skeleton:_0x2b6800,cursors:_0x576a10}=_0x3b92e2;this['_updateCollabCursors'](_0x2b6800,_0x576a10);}})),this[_0x52e0ce(0x38e)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x127cb5,_0x3bd86b){const _0x5375f2=_0x528635,{scene:_0x129a37,mainComponent:_0x33bcb1}=this[_0x5375f2(0x2ff)],_0x32ea0f=_0x3bd86b[_0x5375f2(0x348)](_0x296b9e=>new qe(_0x296b9e,_0x129a37,_0x127cb5,_0x33bcb1));this['_cursorShapes']=_0x32ea0f,this[_0x5375f2(0x287)]=_0x3bd86b;}[_0x528635(0x1cd)](){const _0x206191=_0x528635;this['_removeCollabCursors']();const {scene:_0x5b5139,mainComponent:_0x2f4760}=this[_0x206191(0x2ff)],_0x32093f=this[_0x206191(0x2bf)]['getSkeleton'](),_0x438062=this[_0x206191(0x287)]['map'](_0x32a9a5=>new qe(_0x32a9a5,_0x5b5139,_0x32093f,_0x2f4760));this[_0x206191(0x1ef)]=_0x438062;}[_0x528635(0x21f)](){const _0x3666dc=_0x528635;this[_0x3666dc(0x1ef)][_0x3666dc(0x349)](_0x4ce58c=>_0x4ce58c['dispose']()),this[_0x3666dc(0x1ef)]=[];}[_0x528635(0x1c0)](){const _0x3b7417=_0x528635,_0x2a16c9=[_0x3291de['id']];this[_0x3b7417(0x26c)](this['_commandService'][_0x3b7417(0x30c)](_0x5203dd=>{const _0x2e747c=_0x3b7417;_0x2a16c9[_0x2e747c(0x215)](_0x5203dd['id'])&&_0x5203dd[_0x2e747c(0x2b3)][_0x2e747c(0x2e9)]===this[_0x2e747c(0x2ff)][_0x2e747c(0x2e9)]&&this[_0x2e747c(0x1cd)]();}));}[_0x528635(0x38e)](){const _0x4570ac=_0x528635;this[_0x4570ac(0x26c)](_0x5aa502(this[_0x4570ac(0x2ff)][_0x4570ac(0x2bb)][_0x4570ac(0x1de)])[_0x4570ac(0x319)](_0x3a6c33(_0xeec456=>_0xeec456['type']===_0x5c1bb4[_0x4570ac(0x1b7)]),_0x41da77(0x10))[_0x4570ac(0x219)](()=>{const _0x409689=_0x4570ac;this[_0x409689(0x1cd)]();}));}};Pe=Mi([Z(0x1,_0x2ea28b(_0x4eddee)),Z(0x2,_0x2ea28b(H)),Z(0x3,_0xa07eb8),Z(0x4,_0x2ea28b(_0x4b63d6))],Pe);const Pi=0x1,wi=1.5;class Li extends _0x2be3e8{constructor(_0x26eb60,_0xc358a6){const _0x4db06d=_0x528635;super(_0x26eb60,_0xc358a6),_(this,_0x4db06d(0x3a0)),_(this,_0x4db06d(0x27d),!0x1),_(this,'_range'),_(this,'_name',''),_(this,_0x4db06d(0x2d9),_0x4db06d(0x266)),_(this,'_backgroundColor'),(_0xc358a6&&this[_0x4db06d(0x2a8)](_0xc358a6),this['onPointerEnter$'][_0x4db06d(0x294)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4db06d(0x39f)][_0x4db06d(0x294)](()=>this[_0x4db06d(0x2a8)]({'hovered':!0x1})));}[_0x528635(0x2a8)](_0x4488b1){const _0x3ec470=_0x528635;var _0xe03cc5,_0x1337ae,_0x347098,_0x5c983d,_0x439f30,_0x5b2397;this[_0x3ec470(0x3a0)]=(_0xe03cc5=_0x4488b1[_0x3ec470(0x364)])!=null?_0xe03cc5:this[_0x3ec470(0x3a0)],this[_0x3ec470(0x27d)]=(_0x1337ae=_0x4488b1[_0x3ec470(0x37f)])!=null?_0x1337ae:this[_0x3ec470(0x27d)],this[_0x3ec470(0x2dd)]=(_0x347098=_0x4488b1['range'])!=null?_0x347098:this['_range'],this[_0x3ec470(0x27e)]=(_0x5c983d=_0x4488b1[_0x3ec470(0x250)])!=null?_0x5c983d:this[_0x3ec470(0x27e)],this[_0x3ec470(0x2d9)]=(_0x439f30=_0x4488b1[_0x3ec470(0x302)])!=null?_0x439f30:this[_0x3ec470(0x2d9)],this['_backgroundColor']=(_0x5b2397=_0x4488b1[_0x3ec470(0x270)])!=null?_0x5b2397:this[_0x3ec470(0x361)],this[_0x3ec470(0x37b)]({'width':_0x4488b1[_0x3ec470(0x202)],'height':_0x4488b1[_0x3ec470(0x259)]});}[_0x528635(0x30e)](_0x2cd7de){const _0x3fbcb8=_0x528635,{row:_0x1a017d,column:_0x1f363f}=_0x2cd7de;if(_0x1a017d>=this['_range'][_0x3fbcb8(0x336)]&&_0x1a017d<=this[_0x3fbcb8(0x2dd)][_0x3fbcb8(0x2bd)]&&_0x1f363f>=this[_0x3fbcb8(0x2dd)]['startColumn']&&_0x1f363f<=this[_0x3fbcb8(0x2dd)][_0x3fbcb8(0x1bc)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x3fbcb8(0x2a8)]({'hovered':!0x1});}[_0x528635(0x29d)](_0xec8208){return!0x1;}[_0x528635(0x23b)](_0x5c1976){const _0x1ce257=_0x528635;_0x14b61b[_0x1ce257(0x310)](_0x5c1976,{'width':this['width'],'height':this['height'],'strokeWidth':wi,'stroke':this[_0x1ce257(0x3a0)],'evented':!0x1,'fill':this[_0x1ce257(0x361)]}),this['_hovered']&&(_0x5c1976[_0x1ce257(0x308)](),_0x5c1976[_0x1ce257(0x3b5)](0x1,0x0,0x0,0x1,this[_0x1ce257(0x202)],this[_0x1ce257(0x2d9)]===_0x1ce257(0x1c3)?0x0:-0x14),he[_0x1ce257(0x310)](_0x5c1976,{'text':this[_0x1ce257(0x27e)],'color':this[_0x1ce257(0x3a0)]}),_0x5c1976['restore']());}}var Ai=Object[_0x528635(0x238)],yi=(_0x46130a,_0x4b075e,_0x3efb70,_0x1094da)=>{const _0x491d77=_0x528635;for(var _0x58357c=_0x1094da>0x1?void 0x0:_0x1094da?Ai(_0x4b075e,_0x3efb70):_0x4b075e,_0x234dca=_0x46130a[_0x491d77(0x252)]-0x1,_0x1d8f6e;_0x234dca>=0x0;_0x234dca--)(_0x1d8f6e=_0x46130a[_0x234dca])&&(_0x58357c=_0x1d8f6e(_0x58357c)||_0x58357c);return _0x58357c;},Ie=(_0x44d412,_0x4bfcaa)=>(_0x543e14,_0x2b4e1c)=>_0x4bfcaa(_0x543e14,_0x2b4e1c,_0x44d412);const $i=0x1389;let we=class extends _0x245cd2{constructor(_0x401131,_0xc61d86,_0x278495,_0x7a344b){const _0x5ed85c=_0x528635;super(),_(this,_0x5ed85c(0x287),new Set()),_(this,_0x5ed85c(0x30a),null),(this[_0x5ed85c(0x2ff)]=_0x401131,this['_sheetSkeletonManagerService']=_0xc61d86,this[_0x5ed85c(0x33f)]=_0x278495,this[_0x5ed85c(0x2b7)]=_0x7a344b,this[_0x5ed85c(0x2ee)]());}[_0x528635(0x2ee)](){const _0x2bf668=_0x528635;this['_sheetSkeletonManagerService'][_0x2bf668(0x332)]['pipe'](_0x523972(this[_0x2bf668(0x1b8)]),_0x4cbd56(_0x58746c=>{const _0x2ab76e=_0x2bf668;if(_0x58746c){const _0xbb6b3d=_0x58746c[_0x2ab76e(0x251)];return _0x45b940(this[_0x2ab76e(0x33f)][_0x2ab76e(0x1ba)](this[_0x2ab76e(0x2ff)][_0x2ab76e(0x2e9)]),this[_0x2ab76e(0x2b7)][_0x2ab76e(0x2df)])[_0x2ab76e(0x319)](_0x1c2314(([_0x50b149,_0x5d418c])=>{const _0xe9df0c=_0x2ab76e,_0x4d6c2b=new Map();return _0x50b149[_0xe9df0c(0x349)]((_0x3f2d71,_0x19f6a0)=>{const _0x4c7fbf=_0xe9df0c;if(_0x3f2d71[_0x4c7fbf(0x212)]===_0xbb6b3d){const _0x6bf246={..._0x3f2d71};_0x6bf246[_0x4c7fbf(0x364)]=_0x5d418c[_0x3f2d71['color']],_0x4d6c2b[_0x4c7fbf(0x38f)](_0x19f6a0,_0x6bf246);}}),{'skeleton':_0x58746c,'cursors':_0x4d6c2b};}));}return _0x1ca343({'skeleton':null,'cursors':new Map()});}))[_0x2bf668(0x219)](({skeleton:_0x3a767d,cursors:_0x4994ad})=>{const _0x4a2893=_0x2bf668;this[_0x4a2893(0x21f)](),_0x3a767d&&this[_0x4a2893(0x269)](_0x3a767d,_0x4994ad);}),this[_0x2bf668(0x2eb)][_0x2bf668(0x332)][_0x2bf668(0x219)](_0x2d97d9=>{const _0x35faa6=_0x2bf668;if(_0x2d97d9==null)return;const {skeleton:_0x99fb77}=_0x2d97d9,{scene:_0x23920e}=this[_0x35faa6(0x2ff)];_0x23920e[_0x35faa6(0x2e4)]['subscribeEvent'](_0x287c81(_0x25c97c=>{const _0x295fc0=_0x35faa6;var _0x414fea,_0x364178;const {offsetX:_0x2ad223,offsetY:_0x328323}=_0x25c97c,{x:_0x827f1a,y:_0x8f4dc0}=_0x23920e[_0x295fc0(0x21a)](_0x2d7850['FromArray']([_0x2ad223,_0x328323])),{scaleX:_0x312a18,scaleY:_0x32c975}=_0x23920e[_0x295fc0(0x245)](),_0x567081=_0x23920e[_0x295fc0(0x25d)](_0x1ac68a[_0x295fc0(0x213)]),_0x43ee8b=_0x23920e['getVpScrollXYInfoByPosToVp'](_0x2d7850['FromArray']([_0x827f1a,_0x8f4dc0]),_0x567081),_0x5bf655=_0x99fb77['getCellPositionByOffset'](_0x2ad223,_0x328323,_0x312a18,_0x32c975,_0x43ee8b);((_0x414fea=this['_lastPointer'])==null?void 0x0:_0x414fea[_0x295fc0(0x2af)])===_0x5bf655[_0x295fc0(0x2af)]&&((_0x364178=this[_0x295fc0(0x30a)])==null?void 0x0:_0x364178[_0x295fc0(0x1fe)])===_0x5bf655[_0x295fc0(0x1fe)]||this[_0x295fc0(0x287)][_0x295fc0(0x349)](_0x4b2506=>{const _0x45a3c9=_0x295fc0;_0x4b2506[_0x45a3c9(0x30e)](_0x5bf655);});},0x64));});}[_0x528635(0x269)](_0x291c42,_0x5caf77){const _0x54bd89=_0x528635;var _0x41b995;const _0xc44032=(_0x41b995=this[_0x54bd89(0x2eb)][_0x54bd89(0x2e7)]())==null?void 0x0:_0x41b995[_0x54bd89(0x2ca)];if(!_0xc44032)return;const _0x11cb9b=this[_0x54bd89(0x1e5)]();if(!_0x11cb9b)return;this[_0x54bd89(0x287)][_0x54bd89(0x349)](_0xe114e5=>{const _0x4f67a1=_0x54bd89;_0xe114e5[_0x4f67a1(0x316)]();});const {scene:_0x38d2bb}=_0x11cb9b,_0x4248f9=xi(Array['from'](_0x5caf77[_0x54bd89(0x230)]()))[_0x54bd89(0x348)](_0x3d968f=>{const _0xa1fdd5=_0x54bd89,{color:_0x528326,range:_0x48bcb9,name:_0x3127dc,selection:_0x147c95,sheetID:_0x1c913a}=_0x3d968f,{startColumn:_0xf6a8bf,startRow:_0xe9992a,endColumn:_0x9654f0,endRow:_0x147170}=_0x48bcb9,_0x5de37c=_0x46b32b(_0xe9992a,_0xf6a8bf,_0x38d2bb,_0xc44032),_0x280228=_0x46b32b(_0x147170,_0x9654f0,_0x38d2bb,_0xc44032),{columnHeaderHeightAndMarginTop:_0x50ee8f}=_0xc44032,{startX:_0x14182b,startY:_0x198b38}=_0x5de37c,{endX:_0x42dd72,endY:_0x5e7c13}=_0x280228,_0x1dec74=_0x42dd72-_0x14182b,_0x50b9a0=_0x5e7c13-_0x198b38,_0x3d3e7d={'labelPosition':_0x198b38-_0x50ee8f>=ee?_0xa1fdd5(0x266):_0xa1fdd5(0x1c3),'sheetID':_0x1c913a,'range':_0x48bcb9,'color':_0x528326,'name':_0x3127dc,'selection':_0x147c95,'left':_0x14182b,'top':_0x198b38,'width':_0x1dec74,'height':_0x50b9a0,'evented':!0x1,'zIndex':$i};return new Li(_0x3127dc,_0x3d3e7d);});_0x38d2bb[_0x54bd89(0x2d0)](_0x4248f9,Pi),this[_0x54bd89(0x287)]=new Set(_0x4248f9);}[_0x528635(0x21f)](){const _0x458652=_0x528635;var _0x212fab;(_0x212fab=this['_cursors'])==null||_0x212fab[_0x458652(0x349)](_0x5092b3=>_0x5092b3['dispose']());}[_0x528635(0x1e5)](){const _0x1bc2ba=_0x528635;return _0x373af8(this[_0x1bc2ba(0x2ff)][_0x1bc2ba(0x1fb)],this[_0x1bc2ba(0x2ff)]);}};we=yi([Ie(0x1,_0x2ea28b(_0x29e279)),Ie(0x2,_0x2ea28b(H)),Ie(0x3,_0x2ea28b(_0x4b63d6))],we);function xi(_0x3d02a9){const _0x1d1f85=_0x528635,_0x354c3b=new Map();return _0x3d02a9[_0x1d1f85(0x349)](_0x4032dd=>{const _0x317714=_0x1d1f85;if(_0x354c3b[_0x317714(0x2f9)](_0x4032dd['selection'])){const _0xf7f5ec=_0x354c3b[_0x317714(0x264)](_0x4032dd[_0x317714(0x394)]);_0xf7f5ec[_0x317714(0x250)]+=',\x20'+_0x4032dd['name'];}else _0x354c3b[_0x317714(0x38f)](_0x4032dd[_0x317714(0x394)],_0x4032dd);}),Array['from'](_0x354c3b['values']());}var I=function(){const _0x4221db=_0x528635;return I=Object['assign']||function(_0x261fa0){const _0x23f03f=_0x1993;for(var _0x355e5b,_0xe2ef16=0x1,_0x27a83b=arguments[_0x23f03f(0x252)];_0xe2ef16<_0x27a83b;_0xe2ef16++){_0x355e5b=arguments[_0xe2ef16];for(var _0x286073 in _0x355e5b)Object[_0x23f03f(0x2f0)]['hasOwnProperty'][_0x23f03f(0x2a0)](_0x355e5b,_0x286073)&&(_0x261fa0[_0x286073]=_0x355e5b[_0x286073]);}return _0x261fa0;},I[_0x4221db(0x1be)](this,arguments);},Bi=function(_0x2fd75a,_0x54da7a){const _0xa7e656=_0x528635;var _0x408c3d={};for(var _0x2d8396 in _0x2fd75a)Object[_0xa7e656(0x2f0)][_0xa7e656(0x37a)][_0xa7e656(0x2a0)](_0x2fd75a,_0x2d8396)&&_0x54da7a[_0xa7e656(0x373)](_0x2d8396)<0x0&&(_0x408c3d[_0x2d8396]=_0x2fd75a[_0x2d8396]);if(_0x2fd75a!=null&&typeof Object[_0xa7e656(0x32b)]==_0xa7e656(0x378)){for(var _0xd91d9f=0x0,_0x2d8396=Object[_0xa7e656(0x32b)](_0x2fd75a);_0xd91d9f<_0x2d8396['length'];_0xd91d9f++)_0x54da7a[_0xa7e656(0x373)](_0x2d8396[_0xd91d9f])<0x0&&Object[_0xa7e656(0x2f0)][_0xa7e656(0x32a)][_0xa7e656(0x2a0)](_0x2fd75a,_0x2d8396[_0xd91d9f])&&(_0x408c3d[_0x2d8396[_0xd91d9f]]=_0x2fd75a[_0x2d8396[_0xd91d9f]]);}return _0x408c3d;},je=_0x404d43(function(_0x2c0462,_0x5b705e){const _0x49c358=_0x528635;var _0x497024=_0x2c0462[_0x49c358(0x288)],_0x559b7c=_0x2c0462['id'],_0x34596d=_0x2c0462[_0x49c358(0x268)],_0xede57d=_0x2c0462['extend'],_0x42cdca=Bi(_0x2c0462,[_0x49c358(0x288),'id',_0x49c358(0x268),_0x49c358(0x273)]),_0x146e81=_0x49c358(0x271)[_0x49c358(0x1cb)](_0x559b7c,'\x20')[_0x49c358(0x1cb)](_0x34596d||'')[_0x49c358(0x256)](),_0x5c7372=_0x56a721('_'[_0x49c358(0x1cb)](ji()));return Rt(_0x497024,''[_0x49c358(0x1cb)](_0x559b7c),{'defIds':_0x497024[_0x49c358(0x22b)],'idSuffix':_0x5c7372['current']},I({'ref':_0x5b705e,'className':_0x146e81},_0x42cdca),_0xede57d);});function Rt(_0x13b93c,_0x172c1b,_0x1e6469,_0x1c6333,_0x594064){const _0x3556b1=_0x528635;return _0x5b25a2(_0x13b93c[_0x3556b1(0x320)],I(I({'key':_0x172c1b},ki(_0x13b93c,_0x1e6469,_0x594064)),_0x1c6333),(Hi(_0x13b93c,_0x1e6469)[_0x3556b1(0x395)]||[])[_0x3556b1(0x348)](function(_0x21fcbc,_0x10d740){const _0x4e507c=_0x3556b1;return Rt(_0x21fcbc,''[_0x4e507c(0x1cb)](_0x172c1b,'-')[_0x4e507c(0x1cb)](_0x13b93c[_0x4e507c(0x320)],'-')[_0x4e507c(0x1cb)](_0x10d740),_0x1e6469,void 0x0,_0x594064);}));}function ki(_0x4b43f1,_0x193224,_0x54dc30){const _0x237967=_0x528635;var _0xffc29d=I({},_0x4b43f1['attrs']);_0x54dc30!=null&&_0x54dc30['colorChannel1']&&_0xffc29d['fill']==='colorChannel1'&&(_0xffc29d[_0x237967(0x23e)]=_0x54dc30['colorChannel1']),_0x4b43f1[_0x237967(0x320)]==='mask'&&_0xffc29d['id']&&(_0xffc29d['id']=_0xffc29d['id']+_0x193224[_0x237967(0x381)]),Object[_0x237967(0x38c)](_0xffc29d)['forEach'](function(_0x5ce376){const _0x344dc1=_0x237967;var _0xdb615b=_0x5ce376[0x0],_0x27d5cd=_0x5ce376[0x1];_0xdb615b==='mask'&&typeof _0x27d5cd==_0x344dc1(0x1d4)&&(_0xffc29d[_0xdb615b]=_0x27d5cd[_0x344dc1(0x228)](/url\(#(.*)\)/,'url(#$1'[_0x344dc1(0x1cb)](_0x193224[_0x344dc1(0x381)],')')));});var _0x2f347b=_0x193224[_0x237967(0x22b)];return!_0x2f347b||_0x2f347b[_0x237967(0x252)]===0x0||(_0x4b43f1[_0x237967(0x320)]===_0x237967(0x3a1)&&_0xffc29d[_0x237967(0x2f5)]&&(_0xffc29d[_0x237967(0x2f5)]=_0xffc29d['xlink:href']+_0x193224[_0x237967(0x381)]),Object[_0x237967(0x38c)](_0xffc29d)[_0x237967(0x349)](function(_0x1479fd){const _0x658c99=_0x237967;var _0x4eec53=_0x1479fd[0x0],_0x1536d6=_0x1479fd[0x1];typeof _0x1536d6==_0x658c99(0x1d4)&&(_0xffc29d[_0x4eec53]=_0x1536d6['replace'](/url\(#(.*)\)/,_0x658c99(0x253)[_0x658c99(0x1cb)](_0x193224['idSuffix'],')')));})),_0xffc29d;}function Hi(_0x104a29,_0x1f7147){const _0x2acf3d=_0x528635;var _0x4caa15,_0x498e5e=_0x1f7147[_0x2acf3d(0x22b)];return!_0x498e5e||_0x498e5e[_0x2acf3d(0x252)]===0x0?_0x104a29:_0x104a29[_0x2acf3d(0x320)]===_0x2acf3d(0x37c)&&(!((_0x4caa15=_0x104a29['children'])===null||_0x4caa15===void 0x0)&&_0x4caa15[_0x2acf3d(0x252)])?I(I({},_0x104a29),{'children':_0x104a29[_0x2acf3d(0x395)][_0x2acf3d(0x348)](function(_0x1c371c){const _0x1e548d=_0x2acf3d;return typeof _0x1c371c[_0x1e548d(0x275)]['id']=='string'&&_0x498e5e&&_0x498e5e[_0x1e548d(0x373)](_0x1c371c['attrs']['id'])>-0x1?I(I({},_0x1c371c),{'attrs':I(I({},_0x1c371c[_0x1e548d(0x275)]),{'id':_0x1c371c[_0x1e548d(0x275)]['id']+_0x1f7147['idSuffix']})}):_0x1c371c;})}):_0x104a29;}function ji(){const _0x2bfdf2=_0x528635;return Math[_0x2bfdf2(0x1ca)]()['toString'](0x24)[_0x2bfdf2(0x36c)](0x2,0x8);}je['displayName']=_0x528635(0x2de);var Wi={'tag':'svg','attrs':{'fill':_0x528635(0x2ea),'viewBox':_0x528635(0x350),'width':_0x528635(0x1e9),'height':_0x528635(0x1e9)},'children':[{'tag':'g','attrs':{'clipPath':_0x528635(0x3a9)},'children':[{'tag':_0x528635(0x1ce),'attrs':{'stroke':'currentColor','d':_0x528635(0x305),'strokeLinecap':_0x528635(0x24b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x528635(0x2b6),'attrs':{'id':_0x528635(0x371)},'children':[{'tag':_0x528635(0x1ce),'attrs':{'fill':_0x528635(0x1f1),'d':_0x528635(0x2a9)}}]}]}],'defIds':[_0x528635(0x371)]},Dt=_0x404d43(function(_0x51cdcf,_0x4ac9fe){const _0x4da1e6=_0x528635;return _0x5b25a2(je,Object[_0x4da1e6(0x1ae)]({},_0x51cdcf,{'id':'off-line-single','ref':_0x4ac9fe,'icon':Wi}));});Dt[_0x528635(0x2cb)]=_0x528635(0x24a);var Fi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x528635(0x389),'width':_0x528635(0x1e9),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x528635(0x33d)},'children':[{'tag':_0x528635(0x1ce),'attrs':{'stroke':_0x528635(0x346),'d':_0x528635(0x225),'strokeLinecap':_0x528635(0x24b),'strokeLinejoin':_0x528635(0x24b),'strokeWidth':1.2}}]},{'tag':_0x528635(0x37c),'attrs':{},'children':[{'tag':_0x528635(0x2b6),'attrs':{'id':_0x528635(0x3a5)},'children':[{'tag':_0x528635(0x1ce),'attrs':{'fill':_0x528635(0x1f1),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},Nt=_0x404d43(function(_0x2e6e52,_0x197ebd){return _0x5b25a2(je,Object['assign']({},_0x2e6e52,{'id':'on-line-single','ref':_0x197ebd,'icon':Fi}));});Nt[_0x528635(0x2cb)]=_0x528635(0x249);function Yi(_0x4820d2){const _0x39bb30=_0x528635;switch(_0x4820d2){case _0x1abb78['OFFLINE']:return _0x39bb30(0x29b);case _0x1abb78[_0x39bb30(0x355)]:return _0x39bb30(0x34d);case _0x1abb78[_0x39bb30(0x365)]:return _0x39bb30(0x233);case _0x1abb78['NOT_COLLAB']:return _0x39bb30(0x231);case _0x1abb78[_0x39bb30(0x220)]:case _0x1abb78[_0x39bb30(0x1af)]:return'collabStatus.syncing';case _0x1abb78[_0x39bb30(0x239)]:case _0x1abb78[_0x39bb30(0x224)]:return _0x39bb30(0x1b6);}}function Vi(_0x213fa8){const _0x4e1cf6=_0x528635,{status$:_0x3f12ec}=_0x213fa8,_0x2fbe5e=_0x168462(_0x3f12ec,_0x1abb78[_0x4e1cf6(0x1c7)]),_0x16c92f=_0x4e5948(_0x4c20a9),_0x3c9cf4=_0x4e5948(_0x2e0a4a),_0x5e97dd=_0x2fbe5e!==_0x1abb78['OFFLINE'],_0x265c6f=_0x16c92f['t'](Yi(_0x2fbe5e)),_0x201ae4=_0x5e97dd?_0x158409(Nt,{}):_0x158409(Dt,{}),_0x35d5e6=_0x48b153(()=>{_0x5e97dd||_0x3c9cf4['reconnect']();},[_0x5e97dd,_0x3c9cf4]);function _0x563d41(){const _0x599e8a=_0x4e1cf6;return _0x52a525(_0x599e8a(0x2d1),{'className':'univer-flex\x20univer-items-center','onClick':_0x35d5e6,'children':[_0x158409(_0x599e8a(0x2d1),{'className':_0x1b05b3(_0x599e8a(0x1da),_0x5e97dd?_0x599e8a(0x1fd):_0x599e8a(0x3a3)),'children':_0x201ae4}),_0x158409(_0x599e8a(0x2d1),{'className':_0x599e8a(0x342),'children':_0x265c6f})]});}return _0x5e97dd?_0x563d41():_0x158409(_0x1a6ba0,{'title':_0x16c92f['t'](_0x4e1cf6(0x2f3)),'children':_0x563d41()});}var Xi=Object[_0x528635(0x238)],Gi=(_0x5e7c22,_0x5522f9,_0x29efbb,_0x4df450)=>{const _0x10f31c=_0x528635;for(var _0x227dff=_0x4df450>0x1?void 0x0:_0x4df450?Xi(_0x5522f9,_0x29efbb):_0x5522f9,_0x296120=_0x5e7c22[_0x10f31c(0x252)]-0x1,_0x51b0a8;_0x296120>=0x0;_0x296120--)(_0x51b0a8=_0x5e7c22[_0x296120])&&(_0x227dff=_0x51b0a8(_0x227dff)||_0x227dff);return _0x227dff;},Q=(_0x96e9db,_0x19cd6c)=>(_0x544aa6,_0x24d3ea)=>_0x19cd6c(_0x544aa6,_0x24d3ea,_0x96e9db);let te=class extends _0x5bfeba{constructor(_0x2f7525,_0x98644a,_0xbeace7,_0x5298fb){const _0x553e5a=_0x528635;super(),_(this,_0x553e5a(0x1b3),new _0x5cdaf1(_0x1abb78[_0x553e5a(0x1c7)])),(this[_0x553e5a(0x370)]=_0x2f7525,this[_0x553e5a(0x3b3)]=_0x98644a,this[_0x553e5a(0x2f1)]=_0xbeace7,this[_0x553e5a(0x1d9)]=_0x5298fb,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x528635(0x1f4)](){const _0x3fc254=_0x528635;this['disposeWithMe'](this[_0x3fc254(0x370)][_0x3fc254(0x1ad)][_0x3fc254(0x319)](_0x50a454(()=>{const _0x4619cd=_0x3fc254,_0x336b91=this[_0x4619cd(0x370)][_0x4619cd(0x3b2)]();return _0x336b91?this[_0x4619cd(0x2f1)]['getCollabEntity$'](_0x336b91[_0x4619cd(0x223)]()):_0x1ca343(null);}),_0x50a454(_0x2ff675=>_0x2ff675?_0x2ff675[_0x3fc254(0x1d0)]:_0x1ca343(_0x1abb78[_0x3fc254(0x1c7)])))['subscribe'](_0x50295e=>{const _0x56de6c=_0x3fc254;this[_0x56de6c(0x1b3)][_0x56de6c(0x28d)](_0x50295e);}));}[_0x528635(0x2ce)](){const _0x3c4677=_0x528635;this['disposeWithMe'](this[_0x3c4677(0x1d9)][_0x3c4677(0x362)](_0x172008['HEADER_MENU'],()=>_0x32fc53(Ki({'status$':this[_0x3c4677(0x1b3)][_0x3c4677(0x1b5)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x2b1449),Q(0x1,_0x2ea28b(_0x5743ed)),Q(0x2,_0x2ea28b(_0x53cd54)),Q(0x3,_0x198c4a)],te);function Ki(_0x43d16d){const {status$:_0x43c25d}=_0x43d16d;return function(){return _0x158409(Vi,{'status$':_0x43c25d});};}var zi=Object[_0x528635(0x238)],Ji=(_0x46ca43,_0x232b73,_0x539925,_0x44020f)=>{for(var _0x39cc08=_0x44020f>0x1?void 0x0:_0x44020f?zi(_0x232b73,_0x539925):_0x232b73,_0x32e889=_0x46ca43['length']-0x1,_0x3ff8ef;_0x32e889>=0x0;_0x32e889--)(_0x3ff8ef=_0x46ca43[_0x32e889])&&(_0x39cc08=_0x3ff8ef(_0x39cc08)||_0x39cc08);return _0x39cc08;},B=(_0x32a8c4,_0x580d00)=>(_0x524763,_0x512075)=>_0x580d00(_0x524763,_0x512075,_0x32a8c4);let se=class extends _0x5bfeba{constructor(_0xec3e3c,_0x220f05,_0x399425,_0xd53ce,_0x38e62a,_0x36a979){const _0xac6901=_0x528635;super(),this[_0xac6901(0x1c1)]=_0xec3e3c,this[_0xac6901(0x25a)]=_0x220f05,this[_0xac6901(0x2bc)]=_0x399425,this[_0xac6901(0x1eb)]=_0xd53ce,this[_0xac6901(0x281)]=_0x38e62a,this[_0xac6901(0x2ba)]=_0x36a979,this['_setupBeforeClosingHandler'](),this[_0xac6901(0x272)]();}[_0x528635(0x3ae)](){const _0x2168fb=_0x528635;this['disposeWithMe'](this[_0x2168fb(0x1c1)][_0x2168fb(0x254)](()=>{const _0x27d2e8=_0x2168fb;if(this[_0x27d2e8(0x25a)][_0x27d2e8(0x2fe)][_0x27d2e8(0x26b)])return this[_0x27d2e8(0x2ba)]['t'](_0x27d2e8(0x3af));}));}['_initEvent'](){const _0x46102d=_0x528635;this['disposeWithMe'](this[_0x46102d(0x2bc)]['event$'][_0x46102d(0x219)](_0x2542f4=>{const _0x287b10=_0x46102d;_0x2542f4['id']===_0x92c65d[_0x287b10(0x3ab)]&&this['_messageService'][_0x287b10(0x31d)]({'type':_0x5ee0bd[_0x287b10(0x236)],'content':this['_localeService']['t'](_0x287b10(0x326))}),_0x2542f4['id']===_0x92c65d[_0x287b10(0x36d)]&&this[_0x287b10(0x1eb)][_0x287b10(0x31d)]({'type':_0x5ee0bd['Warning'],'content':this[_0x287b10(0x2ba)]['t'](_0x287b10(0x34b))}),_0x2542f4['id']===_0x92c65d['PERMISSION_DENIED']&&this[_0x287b10(0x281)][_0x287b10(0x31d)]({'title':this[_0x287b10(0x2ba)]['t'](_0x287b10(0x1c9)),'content':this[_0x287b10(0x2ba)]['t'](_0x287b10(0x1ff)),'type':_0x287b10(0x232),'duration':0x0}),_0x2542f4['id']===_0x92c65d['CONFLICT']&&this[_0x287b10(0x1eb)]['show']({'type':_0x5ee0bd[_0x287b10(0x380)],'content':this[_0x287b10(0x2ba)]['t'](_0x287b10(0x34b))+'('+_0x2542f4[_0x287b10(0x1bb)]+')'}),_0x2542f4['id']===_0x92c65d[_0x287b10(0x321)]&&this['_messageService'][_0x287b10(0x31d)]({'type':_0x5ee0bd[_0x287b10(0x236)],'content':this[_0x287b10(0x2ba)]['t'](_0x2542f4[_0x287b10(0x1bb)]||'')}),_0x2542f4['id']===_0x92c65d[_0x287b10(0x34e)]&&this[_0x287b10(0x1eb)][_0x287b10(0x31d)]({'type':_0x5ee0bd[_0x287b10(0x236)],'content':this[_0x287b10(0x2ba)]['t'](_0x287b10(0x21b))}),_0x2542f4['id']===_0x92c65d[_0x287b10(0x29a)]&&this[_0x287b10(0x1eb)][_0x287b10(0x31d)]({'type':_0x5ee0bd['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0x2542f4['id']===_0x92c65d['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x287b10(0x1eb)]['show']({'type':_0x5ee0bd['Error'],'content':this[_0x287b10(0x2ba)]['t'](_0x287b10(0x303))});}));}};se=Ji([B(0x0,_0x7fd53d),B(0x1,_0x30fb98),B(0x2,_0x2ea28b(_0x15d021)),B(0x3,_0x706677),B(0x4,_0x3a7ba7),B(0x5,_0x2ea28b(_0x4c20a9))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x52eb9e(_0x528635(0x1d5));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x58041e,_0x48aa97,_0x2b4230,_0x3118d1)=>{const _0x35bb0b=_0x528635;for(var _0x45a6a1=_0x3118d1>0x1?void 0x0:_0x3118d1?Qi(_0x48aa97,_0x2b4230):_0x48aa97,_0x3ac368=_0x58041e[_0x35bb0b(0x252)]-0x1,_0x53007c;_0x3ac368>=0x0;_0x3ac368--)(_0x53007c=_0x58041e[_0x3ac368])&&(_0x45a6a1=_0x53007c(_0x45a6a1)||_0x45a6a1);return _0x45a6a1;},G=(_0x423ed3,_0x1af36d)=>(_0x28c3c4,_0x5e208f)=>_0x1af36d(_0x28c3c4,_0x5e208f,_0x423ed3);let ie=class extends _0x245cd2{constructor(_0x29cbc3,_0x1e8992,_0x5bc6ce,_0x54c41f,_0x10e87d){const _0x2c8e1d=_0x528635;super(),this['_urlService']=_0x29cbc3,this[_0x2c8e1d(0x24d)]=_0x1e8992,this[_0x2c8e1d(0x267)]=_0x5bc6ce,this[_0x2c8e1d(0x227)]=_0x54c41f,_0x10e87d?_0x10e87d==null||_0x10e87d[_0x2c8e1d(0x279)]()[_0x2c8e1d(0x3ad)](()=>this['_init']()):(this[_0x2c8e1d(0x24d)][_0x2c8e1d(0x1ec)]('[CollaborationDataLoaderController]',_0x2c8e1d(0x39d)),this['_init']());}async['_init'](){const _0x1e7061=_0x528635,_0x59211c=this[_0x1e7061(0x292)][_0x1e7061(0x22a)]('unit'),_0x296109=this[_0x1e7061(0x292)][_0x1e7061(0x22a)]('type'),_0x56dac2=this[_0x1e7061(0x292)][_0x1e7061(0x22a)](_0x1e7061(0x222));if(!_0x59211c||!_0x296109){this[_0x1e7061(0x24d)][_0x1e7061(0x1ec)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4ad284=await this[_0x1e7061(0x227)][_0x1e7061(0x353)](_0x59211c,Number(_0x296109),_0x56dac2);_0x4ad284&&_0x4ad284 instanceof _0x35481d&&this['_setupSubUnitSync'](_0x4ad284);}async[_0x528635(0x2ec)](_0x3acebe){const _0x1d89aa=_0x528635;await this[_0x1d89aa(0x1e3)](_0x3acebe),_0x3acebe['activeSheet$'][_0x1d89aa(0x319)](_0xb05514(this[_0x1d89aa(0x1b8)]))[_0x1d89aa(0x219)](_0x397f8d=>{const _0x418528=_0x1d89aa;_0x397f8d&&this[_0x418528(0x1fc)](_0x397f8d);}),this[_0x1d89aa(0x292)][_0x1d89aa(0x28c)][_0x1d89aa(0x319)](_0xb05514(this[_0x1d89aa(0x1b8)]))[_0x1d89aa(0x219)](()=>this[_0x1d89aa(0x1e3)](_0x3acebe));}['_updateURLWithCurrentState'](_0x13771f,_0x29e6c1=!0x1){const _0x275c1f=_0x528635,_0x588957=this[_0x275c1f(0x292)][_0x275c1f(0x22a)]('subunit');_0x13771f[_0x275c1f(0x367)]()!==_0x588957&&this['_urlService']['setParam'](_0x275c1f(0x222),_0x13771f['getSheetId'](),_0x29e6c1);}async[_0x528635(0x1e3)](_0x1429d3){const _0x47995d=_0x528635;var _0x2111c5;const _0x49c36e=this[_0x47995d(0x292)][_0x47995d(0x22a)](_0x47995d(0x222));if(!_0x49c36e||!_0x1429d3['getSheetBySheetId'](_0x49c36e)){const _0x1c027d=_0x1429d3[_0x47995d(0x2aa)]()[0x0],_0x39b32b=_0x1429d3[_0x47995d(0x1cf)](_0x1c027d);if(!_0x39b32b)return;this[_0x47995d(0x1fc)](_0x39b32b,!0x0),await this[_0x47995d(0x267)]['executeCommand'](_0x3af9cc['id'],{'unitId':_0x1429d3[_0x47995d(0x223)](),'subUnitId':_0x1c027d});return;}((_0x2111c5=_0x1429d3[_0x47995d(0x2a7)]())==null?void 0x0:_0x2111c5[_0x47995d(0x367)]())!==_0x49c36e&&await this['_commandService']['executeCommand'](_0x3af9cc['id'],{'unitId':_0x1429d3[_0x47995d(0x223)](),'subUnitId':_0x49c36e});}};ie=qi([G(0x0,Ut),G(0x1,_0xe6d114),G(0x2,_0xa07eb8),G(0x3,_0x2ea28b(_0x2f64e7)),G(0x4,_0x54800a(_0x331430))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x1f99a6,_0x3e9435,_0x25365f,_0x959dfc)=>{const _0x31a4e9=_0x528635;for(var _0x161e1a=_0x959dfc>0x1?void 0x0:_0x959dfc?en(_0x3e9435,_0x25365f):_0x3e9435,_0x37721c=_0x1f99a6[_0x31a4e9(0x252)]-0x1,_0xf56dac;_0x37721c>=0x0;_0x37721c--)(_0xf56dac=_0x1f99a6[_0x37721c])&&(_0x161e1a=_0xf56dac(_0x161e1a)||_0x161e1a);return _0x161e1a;},pe=(_0x4a2ebe,_0x59a1d5)=>(_0x2ec406,_0x1248a0)=>_0x59a1d5(_0x2ec406,_0x1248a0,_0x4a2ebe);let ne=class{constructor(_0x1eaa88,_0x57081c,_0x41a532){const _0x13b379=_0x528635;this[_0x13b379(0x3b3)]=_0x1eaa88,this[_0x13b379(0x317)]=_0x57081c,this[_0x13b379(0x341)]=_0x41a532;}[_0x528635(0x3a7)](_0x1a8886){const _0x2559c0=_0x528635;this[_0x2559c0(0x1b9)](_0x1a8886),this['_transformPreviousActiveRange'](_0x1a8886);}[_0x528635(0x391)](_0x1fc0b2){const _0x4f7ba4=_0x528635,{unitID:_0x52a3a0}=_0x1fc0b2,_0x33de66=this[_0x4f7ba4(0x341)][_0x4f7ba4(0x2ef)](_0x52a3a0)[_0x4f7ba4(0x300)](_0x9b89cd),{redoCache:_0x3622f2}=_0x33de66[_0x4f7ba4(0x1e4)]();if(_0x3622f2[_0x4f7ba4(0x252)]===0x0)return _0x1fc0b2;let _0x2b3f9b=_0x37d6bc[_0x4f7ba4(0x295)](_0x1fc0b2[_0x4f7ba4(0x29f)][0x0]);for(let _0x4c3eb6=0x0;_0x4c3eb6<_0x3622f2[_0x4f7ba4(0x252)];_0x4c3eb6++){const _0x4e2195={'id':_0x4f7ba4(0x1ac),'params':{..._0x3622f2[_0x4c3eb6]}},_0x76206a=this[_0x4f7ba4(0x317)][_0x4f7ba4(0x32e)](_0x2b3f9b,_0x4e2195,!0x1);if(_0x5d80c2(_0x76206a))throw _0x76206a[_0x4f7ba4(0x232)];_0x2b3f9b=_0x76206a['m1Prime'];}return{..._0x37d6bc[_0x4f7ba4(0x295)](_0x1fc0b2),'mutations':[_0x2b3f9b]};}['_transformUndoRedoStack'](_0x41f0aa){const _0x335b7f=_0x528635,{unitID:_0x5cde23}=_0x41f0aa,_0x361d65=this[_0x335b7f(0x341)]['getRenderById'](_0x5cde23)['with'](_0x9b89cd),{undoCache:_0x3808e2,redoCache:_0x1cf93d}=_0x361d65[_0x335b7f(0x1e4)]();if(_0x3808e2[_0x335b7f(0x252)]===0x0||_0x1cf93d[_0x335b7f(0x252)]===0x0)return;const _0x489880=[],_0x3817b7=[];let _0x50d1d1=_0x37d6bc['deepClone'](_0x41f0aa['mutations'][0x0]),_0x24e59f=_0x37d6bc[_0x335b7f(0x295)](_0x41f0aa['mutations'][0x0]);for(let _0x52ae34=_0x3808e2['length']-0x1;_0x52ae34>=0x0;_0x52ae34--){const _0x4746d2={'id':_0x335b7f(0x1ac),'params':{..._0x3808e2[_0x52ae34]}},_0x48c48c={'id':_0x335b7f(0x1ac),'params':{..._0x1cf93d[_0x52ae34]}},_0xa785ee=this[_0x335b7f(0x317)][_0x335b7f(0x32e)](_0x50d1d1,_0x4746d2,!0x1),_0x5c5766=this['_transformService'][_0x335b7f(0x32e)](_0x24e59f,_0x48c48c,!0x1);if(_0x5d80c2(_0xa785ee))throw _0xa785ee[_0x335b7f(0x232)];if(_0x5d80c2(_0x5c5766))throw _0x5c5766['error'];_0x489880[_0x335b7f(0x246)](_0xa785ee[_0x335b7f(0x2e3)][_0x335b7f(0x2b3)]),_0x3817b7[_0x335b7f(0x246)](_0x5c5766['m2Prime'][_0x335b7f(0x2b3)]),_0x50d1d1=_0xa785ee['m1Prime'],_0x24e59f=_0x5c5766[_0x335b7f(0x28a)];}_0x361d65[_0x335b7f(0x23f)]({'undoCache':_0x489880,'redoCache':_0x3817b7});}[_0x528635(0x2ed)](_0x33fbfc){const _0x3af73b=_0x528635,{unitID:_0x21211f}=_0x33fbfc,_0x2d00d3=this['_renderManagerService'][_0x3af73b(0x2ef)](_0x21211f)['with'](_0x9b89cd),_0x53ffab=_0x2d00d3[_0x3af73b(0x39b)]();if(_0x53ffab==null)return;const _0x436398=[{'id':_0x3af73b(0x1ac),'params':{'unitId':_0x33fbfc[_0x3af73b(0x2ac)],'actions':null,'textRanges':[_0x53ffab]}}],_0x504672=this[_0x3af73b(0x317)][_0x3af73b(0x226)](_0x33fbfc,_0x436398);if(!_0x1ee5ea(_0x504672))throw _0x504672[_0x3af73b(0x232)];const _0x3c973d=_0x504672['m2Prime'][0x0][_0x3af73b(0x2b3)]['textRanges'];Array[_0x3af73b(0x21e)](_0x3c973d)&&_0x3c973d[_0x3af73b(0x252)]&&_0x2d00d3['setActiveRange'](_0x3c973d[0x0]);}};ne=tn([pe(0x0,_0x2ea28b(_0x5743ed)),pe(0x1,_0x591d60),pe(0x2,_0x28e562)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x26eea6,_0x236b81,_0x274023,_0x287eb4)=>{const _0x5d8521=_0x528635;for(var _0x570b6d=_0x287eb4>0x1?void 0x0:_0x287eb4?sn(_0x236b81,_0x274023):_0x236b81,_0x486347=_0x26eea6[_0x5d8521(0x252)]-0x1,_0x2cd90e;_0x486347>=0x0;_0x486347--)(_0x2cd90e=_0x26eea6[_0x486347])&&(_0x570b6d=_0x2cd90e(_0x570b6d)||_0x570b6d);return _0x570b6d;},Ce=(_0x58b42b,_0x41748c)=>(_0x40a183,_0x5abd23)=>_0x41748c(_0x40a183,_0x5abd23,_0x58b42b);let re=class{constructor(_0x3c28ac,_0x433bbd,_0x466745){const _0x55036b=_0x528635;this[_0x55036b(0x3b3)]=_0x3c28ac,this[_0x55036b(0x317)]=_0x433bbd,this['_docStateChangeManagerService']=_0x466745;}[_0x528635(0x218)](_0x45fb71){const _0x4ac50a=_0x528635;this[_0x4ac50a(0x214)](_0x45fb71);}[_0x528635(0x391)](_0x4c99b2){const _0x512c51=_0x528635,{unitID:_0x3e3088}=_0x4c99b2,{collaboration:_0x5e6d1f}=this[_0x512c51(0x360)][_0x512c51(0x2e1)](_0x3e3088);if(_0x5e6d1f['length']===0x0)return _0x4c99b2;let _0x2f7ff1=_0x37d6bc[_0x512c51(0x295)](_0x4c99b2[_0x512c51(0x29f)][0x0]);for(let _0x4ac1fd=0x0;_0x4ac1fd<_0x5e6d1f[_0x512c51(0x252)];_0x4ac1fd++){const _0x3e2f96={'id':_0x512c51(0x1ac),'params':{'unitId':_0x5e6d1f[_0x4ac1fd][_0x512c51(0x2e9)],..._0x5e6d1f[_0x4ac1fd][_0x512c51(0x25e)]}},_0x529d4f=this[_0x512c51(0x317)][_0x512c51(0x32e)](_0x2f7ff1,_0x3e2f96,!0x1);if(_0x5d80c2(_0x529d4f))throw _0x529d4f[_0x512c51(0x232)];_0x2f7ff1=_0x529d4f[_0x512c51(0x28a)];}return{..._0x37d6bc['deepClone'](_0x4c99b2),'mutations':[_0x2f7ff1]};}['_transformHistoryAndStateStack'](_0xc334a7){const _0x38bcb9=_0x528635,{unitID:_0x572184}=_0xc334a7,{history:_0x2c7c4e,collaboration:_0x2e2594}=this[_0x38bcb9(0x360)][_0x38bcb9(0x2e1)](_0x572184);if(_0x2c7c4e[_0x38bcb9(0x252)]===0x0&&_0x2e2594['length']===0x0)return;const _0x1a7937=[],_0x3dad5c=[];let _0x10dbeb=_0x37d6bc['deepClone'](_0xc334a7[_0x38bcb9(0x29f)][0x0]),_0x36af3c=_0x37d6bc[_0x38bcb9(0x295)](_0xc334a7['mutations'][0x0]);for(let _0x2a3109=_0x2c7c4e['length']-0x1;_0x2a3109>=0x0;_0x2a3109--){const _0x47ab2e={'id':_0x38bcb9(0x1ac),'params':{'unitId':_0x2c7c4e[_0x2a3109]['unitId'],..._0x2c7c4e[_0x2a3109]['undoState']}},_0x62fa47={'id':_0x38bcb9(0x1ac),'params':{'unitId':_0x2c7c4e[_0x2a3109]['unitId'],..._0x2c7c4e[_0x2a3109]['redoState']}},_0x56c03e=this['_transformService']['transformMutation'](_0x10dbeb,_0x47ab2e,!0x1),_0x2d82e3=this['_transformService']['transformMutation'](_0x36af3c,_0x62fa47,!0x1);if(_0x5d80c2(_0x56c03e))throw _0x56c03e[_0x38bcb9(0x232)];if(_0x5d80c2(_0x2d82e3))throw _0x2d82e3[_0x38bcb9(0x232)];_0x1a7937['unshift']({..._0x2c7c4e[_0x2a3109],'undoState':_0x56c03e['m2Prime'][_0x38bcb9(0x2b3)],'redoState':_0x2d82e3[_0x38bcb9(0x2e3)]['params']}),_0x10dbeb=_0x56c03e['m1Prime'],_0x36af3c=_0x2d82e3[_0x38bcb9(0x28a)];}_0x10dbeb=_0x37d6bc['deepClone'](_0xc334a7[_0x38bcb9(0x29f)][0x0]),_0x36af3c=_0x37d6bc[_0x38bcb9(0x295)](_0xc334a7[_0x38bcb9(0x29f)][0x0]);for(let _0x4d2332=_0x2e2594[_0x38bcb9(0x252)]-0x1;_0x4d2332>=0x0;_0x4d2332--){const _0x3bcfc0={'id':_0x38bcb9(0x1ac),'params':{'unitId':_0x2e2594[_0x4d2332][_0x38bcb9(0x2e9)],..._0x2e2594[_0x4d2332][_0x38bcb9(0x359)]}},_0x3a42ba={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e2594[_0x4d2332]['unitId'],..._0x2e2594[_0x4d2332][_0x38bcb9(0x25e)]}},_0x2dd38e=this['_transformService'][_0x38bcb9(0x32e)](_0x10dbeb,_0x3bcfc0,!0x1),_0xf75760=this[_0x38bcb9(0x317)][_0x38bcb9(0x32e)](_0x36af3c,_0x3a42ba,!0x1);if(_0x5d80c2(_0x2dd38e))throw _0x2dd38e[_0x38bcb9(0x232)];if(_0x5d80c2(_0xf75760))throw _0xf75760[_0x38bcb9(0x232)];_0x3dad5c['unshift']({..._0x2e2594[_0x4d2332],'undoState':_0x2dd38e[_0x38bcb9(0x2e3)]['params'],'redoState':_0xf75760[_0x38bcb9(0x2e3)][_0x38bcb9(0x2b3)]}),_0x10dbeb=_0x2dd38e[_0x38bcb9(0x28a)],_0x36af3c=_0xf75760[_0x38bcb9(0x28a)];}this[_0x38bcb9(0x360)][_0x38bcb9(0x3a2)](_0x572184,{'history':_0x1a7937,'collaboration':_0x3dad5c});}};re=nn([Ce(0x0,_0x2ea28b(_0x5743ed)),Ce(0x1,_0x591d60),Ce(0x2,_0x2ea28b(_0x53ec29))],re);var rn=Object['getOwnPropertyDescriptor'],on=(_0x448c9c,_0x1e6eb8,_0x1d8016,_0x1f2bca)=>{const _0x54bf7c=_0x528635;for(var _0x4bd5c6=_0x1f2bca>0x1?void 0x0:_0x1f2bca?rn(_0x1e6eb8,_0x1d8016):_0x1e6eb8,_0x369693=_0x448c9c[_0x54bf7c(0x252)]-0x1,_0x50e184;_0x369693>=0x0;_0x369693--)(_0x50e184=_0x448c9c[_0x369693])&&(_0x4bd5c6=_0x50e184(_0x4bd5c6)||_0x4bd5c6);return _0x4bd5c6;},tt=(_0x1c2844,_0x4bd0e)=>(_0x59bb01,_0x304fb7)=>_0x4bd0e(_0x59bb01,_0x304fb7,_0x1c2844);let oe=class{constructor(_0x64269,_0x210eef){const _0x216726=_0x528635;this[_0x216726(0x3b3)]=_0x64269,this[_0x216726(0x317)]=_0x210eef;}[_0x528635(0x261)](_0x23f2db){const _0x316a4f=_0x528635;var _0x48fe00;const _0x48d801=this[_0x316a4f(0x3b3)][_0x316a4f(0x264)](_0x11276e),_0x55e4bd=(_0x48fe00=_0x48d801[_0x316a4f(0x2cd)]())!=null?_0x48fe00:[];if(_0x55e4bd[_0x316a4f(0x252)]===0x0)return;const _0xf002a4=_0x23f2db['unitID'],_0xab0adf=[{'id':_0x316a4f(0x1ac),'params':{'unitId':_0xf002a4,'actions':null,'textRanges':_0x55e4bd}}],_0x35d0bc=this[_0x316a4f(0x317)][_0x316a4f(0x226)](_0x23f2db,_0xab0adf);if(!_0x1ee5ea(_0x35d0bc))throw _0x35d0bc['error'];const _0x358cd2=_0x35d0bc[_0x316a4f(0x2e3)][0x0][_0x316a4f(0x2b3)][_0x316a4f(0x36f)];Array[_0x316a4f(0x21e)](_0x358cd2)&&_0x358cd2[_0x316a4f(0x252)]&&_0x48d801['replaceDocRanges'](_0x358cd2,{'unitId':_0xf002a4,'subUnitId':_0xf002a4},!0x1);}};function _0x12de(){const _0x5ebcf6=['getTypeOfUnitAdded$','#fff','enableLocalCache','max','_initStatusListener','editingUnit','_registerRenderDependencies','_collabSessionService','setTimeout','dispose','_docSyncEditingCollabCursorService','unit','_updateURLWithCurrentState','univer-text-green-500','row','permission.content','_startDocCollabCursor','_anchor','width','INVALID_INVITE_CODE','saveImage','href','_httpService','_onCursorDelete','key','setInterval','_send','measureText','COMPLETION_FINISHED','3873368XgAwbg','closePath','591111VSKDMz','[RemoteUniscriptService]:\x20no\x20focused\x20unit','pushState','sheetID','VIEW_MAIN','_transformHistoryAndStateStack','includes','_getMergeRange','unsubscribe','transformStateCache','subscribe','getRelativeToViewportCoord','session.will-retry','invokeId','_handleLeaveEvent','isArray','_removeCollabCursors','AWAITING','CONNECTOR_DATA_TOO_LARGE','subunit','getUnitId','PENDING','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','transformMutationsWithChangeset','_dataLoaderService','replace','_scheduleHeartbeat','getParam','defIds','160OgMvWJ','RemoveColCommandId','getTypeOfUnitDisposed$','_getSaveTimeout','values','collabStatus.notCollab','error','collabStatus.fetchMiss','INTERNAL_ERROR','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Warning','_colorAssignService','getOwnPropertyDescriptor','SYNCED','min','_draw','assignAColorForMemberID','_docTransformStateCacheService','fill','setUndoRedoMutationParamsCache','send','ALREADY_EXISTS','body','LICENSE_MAX_UNITS_EXCEEDED','_getScale','getAncestorScale','unshift','split','SNAPSHOT_INVALID_SNAPSHOT','OnLineSingle','OffLineSingle','round','#FFF','_logService','ticket','onLocalMutation','name','sheetId','length','url(#$1','registerBeforeClose','_toggleOffline','trim','_disabled','LICENSE_EXPORT_SIZE_EXCEEDED','height','_localCacheService','text','_startSheetCollabCursor','getViewport','redoState','moveTo','UNRECOGNIZED','transformSelections','addObject','EMAIL_HAS_BEEN_BOUND','get','restore','top','_commandService','className','_updateCollabCursors','runOnServer','size','disposeWithMe','source','ACTIVE_UNIT_EVENT_CHANNEL','getMember','backgroundColor','univerjs-icon\x20univerjs-icon-','_initEvent','extend','findNodePositionByCharIndex','attrs','_id','/run/','override','whenReady','createSocket','60dnpExz','_eventUnsubscribe','_hovered','_name','_unitStatus','11eMXnWb','_notificationService','requireSession','_docClipboardService','Failed','gold400','replaceState','_cursors','icon','wsSessionTicketUrl','m1Prime','LICENSE_DISTRO_REJECTED','urlChange$','next','_online','runId','_roomMembers$','_memberService','_urlService','newValue','subscribeEvent','deepClone','executionId','_removeClearOtherTimer','ENSURE_SNAPSHOT_EXECUTION','_configService','SOCKET_FAILED','collabStatus.offline','NO_OTHER_CLIENTS_EDITING','triggerDblclick','collab-text-range-','mutations','call','setItem','addHandlerCallback','_initDependencies','_cachedData','TOO_MANY_REQUESTS','YUUMI_NO_CUBOID_FOR_QUESTION','getActiveSheet','setShapeProps','M0\x200H16V16H0z','getUnhiddenWorksheets','delete','unitID','LICENSE_IMPORT_SIZE_EXCEEDED','getRangePointData','column','_refRangeService','all','776480UZWRXv','params','add','onPointerEnter$','clipPath','_themeService','pluginName','updateOfflineData','_localeService','engine','_collaborationUIEventService','endRow','generateRandomId','_docSkeletonManagerService','INVITE_CODE_ALREADY_BOUND','DeleteRangeMoveLeftCommandId','_imageIoService','USERS_LEAVE','OTHER_CLIENTS_EDITING','APPLY_REJECT','_registerDependencies','disposeUnit','getSkeleton','NOT_FOUND','skeleton','displayName','addClipboardHook','getDocRanges','_initStatusComponent','location','addObjects','div','createInstance','from','toString','font','_render','collab-text-anchor-','_cursorInfo$','_labelPosition','event$','CHANGESET_REVISION_CONFILICT','_syncEditingCollabCursorService','_range','UniverIcon','currentTheme$','clearTimeout','getStateCache','sessionStatus$','m2Prime','onPointerMove$','_drawAnchor','_drawRectRange','getCurrent','fillText','unitId','none','_sheetSkeletonManagerService','_setupSubUnitSync','_transformPreviousActiveRange','_init','getRenderById','prototype','_collaborationController','post','collab-client.tooltip.reconnect','_selfUnitIDs','xlink:href','_heartbeatTimer','_initEntityListener','flatMap','has','_docTransformIMECacheService','_handleJoinEvent','_createSocketURL','_getSessionTicket','saveTaskMap','_context','with','LOGIN_FAILED','labelPosition','session.collaboration-timeout','addEventListener','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','_handleHover','saveOfflineData','save','UNAUTHENTICATED','_lastPointer','setParam','onCommandExecuted','_handleHeartbeatEvent','onMouseMove','contains','drawWith','InsertRowCommandId','collab-rect-range-','cursorInfo$','78tNdQci','push','makeDirty','_transformService','_assignedColors','pipe','6TeeBMh','InsertColCommandId','APPLY_PERMISSION_DENIED','show','PERMISSION_DENIED','history','tag','JOIN_ROOM_FAILED','memberID','_entities','UNDEFINED','_cursor','collaboration.single-unit.warning','_scene','beginPath','getConfig','propertyIsEnumerable','getOwnPropertySymbols','ONLINE','complete','transformMutation','_textBubble','init','_revisionService','currentSkeleton$','syncEditingCollabCursor','loadOfflineData','rgba(255,\x20255,\x20255,\x200.01)','startRow','getUniverSheetInstance','_unitOnClients','jiqing500','_entityInit$','getCurrentRevOfUnit','purple300','url(#on-line-single_clip0_910_349)','MOBILE_HAS_BEEN_BOUND','_collabCursorController','onRendered','_renderManagerService','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','roomMembers','_ensureSubject','InsertRangeMoveDownCommandId','currentColor','YUUMI_ASYNCIO_CANCELLED','map','forEach','_clearOtherTimers','collaboration.closeRoom','selections','collabStatus.conflict','SOCKET_FAILED_RETRY','_session','0\x200\x2016\x2016','getCurrentSelections','USER_NOT_INVITED_CODE','loadUnit','_scheduleClearOtherTimer','CONFLICT','INVALID_ARGUMENT','PY_RUNTIME_SCRIPT_ERROR','UNIVER_SHEET','undoState','_colorIndex','subUnitId','_scheduleSaving','clearInterval','_handleEvent','MoveRangeCommandId','_docStateChangeManagerService','_backgroundColor','registerComponent','cursorInfo','color','FETCH_MISS','_saveCache','getSheetId','Unknown\x20user','UNIVER_DOC','eventID','hide','substring','CLOSE_ROOM','4875388qZxhBx','textRanges','_univerInstanceService','off-line-single_clip0_910_343','parse','indexOf','code','setAlpha','searchParams','_onCursorUpdate','function','fillRule','hasOwnProperty','transformByState','defs','origin','getMergeData','hovered','Error','idSuffix','fillStyle','RemoveRowCommandId','actions','APPLY_DUPLICATED','application/json','RECT','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','0\x200\x2017\x2016','_hideTimer','_instanceService','entries','imageSourceType','_initResize','set','TEXT','transformRemoteChangeset','isEditing','storage','selection','children','collabCursorState$','_hover','roomMembers$','ranges','INVITE_CODE_HAS_BEEN_UES','getActiveRange','lineTo','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','9405puOcdZ','onPointerLeave$','_color','use','setStateCache','univer-text-red-500','_saveTaskMap','on-line-single_clip0_910_349','_config','transformIMECache','popstate','url(#off-line-single_clip0_910_343)','YUUMI_URL_COL_OUT_OF_RANGE','OTHER_CLIENT_EDITING','...','then','_setupBeforeClosingHandler','collaboration-client.offline-data-not-saved','_doCreateSocket','stringify','getFocusedUnit','_injector','_anchorDot','transform','_getAnchorBounding','YUUMI_SUBSCRIPTION_NOT_FOUND','blue400','doc.mutation.rich-text-editing','focused$','assign','AWAITING_WITH_PENDING','_shapes','_docTransformSelectionsService','_drawTextRange','_status$','InsertRangeMoveRightCommandId','asObservable','collabStatus.synced','resize','dispose$','_transformUndoRedoStack','getCollabCursors$','data','endColumn','YUUMI_RATE_OVER_LIMIT','apply','_onRefRangeChange','_initCommandExecutedListener','_beforeCloseService','isActive','bottom','_toggleOnline','some','unload','NOT_COLLAB','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','permission.title','random','concat','206660mrENLV','_refreshCollabCursors','path','getSheetBySheetId','status$','APPLY_NON_SEQUENTIAL_REVISION','verdancy600','defineProperty','string','uni.network.url-service','_collabCursorState$','getMemberID','SNAPSHOT_HAS_BEEN_REMOVED','_uiPartsService','univer-flex\x20univer-mr-2\x20univer-text-[20px]','docStateChange$','UPDATE_CURSOR','_updateLocalCursor','onTransformChange$','exhaustSavingTask','_localStorageService','8177388SCuIli','black','_updateSubUnitFromURLParams','getUndoRedoMutationParamsCache','_getSheetObject','registerRenderModule','onStarting','getOffsetConfig','1em','WECHAT_HAS_BEEN_BOUND','_messageService','debug','getValue','arc','_cursorShapes'];_0x12de=function(){return _0x5ebcf6;};return _0x12de();}oe=on([tt(0x0,_0x2ea28b(_0x5743ed)),tt(0x1,_0x591d60)],oe);var an=Object[_0x528635(0x238)],cn=(_0x475a9a,_0x129f49,_0xae47e9,_0x398c48)=>{for(var _0x1b4ad2=_0x398c48>0x1?void 0x0:_0x398c48?an(_0x129f49,_0xae47e9):_0x129f49,_0x501b00=_0x475a9a['length']-0x1,_0x1bf39a;_0x501b00>=0x0;_0x501b00--)(_0x1bf39a=_0x475a9a[_0x501b00])&&(_0x1b4ad2=_0x1bf39a(_0x1b4ad2)||_0x1b4ad2);return _0x1b4ad2;},U=(_0x1d5b94,_0x5e700a)=>(_0x142a18,_0x3e9b63)=>_0x5e700a(_0x142a18,_0x3e9b63,_0x1d5b94);let ae=class extends _0x5bfeba{constructor(_0x2a082b,_0x54f945,_0x25c0d4,_0x447582,_0x84116b,_0x378eea,_0x8e23b9,_0x184939){const _0x51fefb=_0x528635;super(),_(this,'_status$',new _0x5cdaf1(_0x1abb78['NOT_COLLAB'])),(this[_0x51fefb(0x360)]=_0x2a082b,this[_0x51fefb(0x2f1)]=_0x54f945,this[_0x51fefb(0x2fa)]=_0x25c0d4,this[_0x51fefb(0x23d)]=_0x447582,this[_0x51fefb(0x1b1)]=_0x84116b,this['_docSyncEditingCollabCursorService']=_0x378eea,this[_0x51fefb(0x1eb)]=_0x8e23b9,this[_0x51fefb(0x2ba)]=_0x184939,this['_initEntityListener']());}[_0x528635(0x2f7)](){this['disposeWithMe'](this['_collaborationController']['entityInit$']['subscribe'](_0x6d538a=>{const _0x5a6654=_0x1993,_0x13a1e9=this[_0x5a6654(0x360)][_0x5a6654(0x1db)][_0x5a6654(0x219)](_0x2ccaed=>{const _0x3074ac=_0x5a6654;if(_0x2ccaed==null)return;const {unitId:_0x12c834,redoState:_0x445dd9,commandId:_0x5289f4}=_0x2ccaed;if(_0x12c834!==_0x6d538a[_0x3074ac(0x2ac)])return;const _0x8d1183={'id':_0x5289f4,'type':_0x4f31cf['MUTATION'],'params':{'unitId':_0x12c834,'actions':_0x445dd9[_0x3074ac(0x384)],'textRanges':null}};_0x6d538a[_0x3074ac(0x24f)](_0x8d1183);});if(_0x6d538a['disposeWithMe'](_0x13a1e9),_0x6d538a instanceof _0x30f3fb){const _0xeaa83a={'onTransformIME':_0x40bea7=>this[_0x5a6654(0x2fa)][_0x5a6654(0x3a7)](_0x40bea7),'onTransformState':_0x25db89=>this['_docTransformStateCacheService'][_0x5a6654(0x218)](_0x25db89),'onTransformSelections':_0x59f4d5=>this[_0x5a6654(0x1b1)][_0x5a6654(0x261)](_0x59f4d5),'onSyncEditingCollabCursor':_0x559794=>this[_0x5a6654(0x1fa)][_0x5a6654(0x333)](_0x559794),'onTransformRemoteChangesetByIMECache':_0x43c725=>this['_docTransformIMECacheService'][_0x5a6654(0x391)](_0x43c725),'onTransformRemoteChangesetByStateCache':_0x1a5b7c=>this[_0x5a6654(0x23d)][_0x5a6654(0x391)](_0x1a5b7c)};_0x6d538a[_0x5a6654(0x2a2)](_0xeaa83a);}}));}};ae=cn([U(0x0,_0x2ea28b(_0x53ec29)),U(0x1,_0x2ea28b(_0x53cd54)),U(0x2,_0x2ea28b(ne)),U(0x3,_0x2ea28b(re)),U(0x4,_0x2ea28b(oe)),U(0x5,_0x2ea28b(He)),U(0x6,_0x706677),U(0x7,_0x2ea28b(_0x4c20a9))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x56ddd4,_0x34b475,_0x29a6f6,_0x54a1f8)=>{const _0x3817df=_0x528635;for(var _0x3fa907=_0x54a1f8>0x1?void 0x0:_0x54a1f8?ln(_0x34b475,_0x29a6f6):_0x34b475,_0x157654=_0x56ddd4[_0x3817df(0x252)]-0x1,_0xb2a2c7;_0x157654>=0x0;_0x157654--)(_0xb2a2c7=_0x56ddd4[_0x157654])&&(_0x3fa907=_0xb2a2c7(_0x3fa907)||_0x3fa907);return _0x3fa907;},Ee=(_0x2e172d,_0x18d692)=>(_0x1b2a43,_0x4511b0)=>_0x18d692(_0x1b2a43,_0x4511b0,_0x2e172d);let Le=class extends _0x5bfeba{constructor(_0x2f6eec,_0x395572,_0x15d02b){const _0x2e269a=_0x528635;super(),_(this,_0x2e269a(0x2a4),new Map()),_(this,_0x2e269a(0x3a4),new Map()),_(this,'_disabled',!0x1),(this[_0x2e269a(0x299)]=_0x2f6eec,this[_0x2e269a(0x1e0)]=_0x395572,this['_revisionService']=_0x15d02b);}['disableLocalCache'](){const _0x54defc=_0x528635;this[_0x54defc(0x257)]=!0x0;}[_0x528635(0x1f2)](){this['_disabled']=!0x1;}get[_0x528635(0x2fe)](){const _0x32035a=_0x528635;return this[_0x32035a(0x3a4)];}[_0x528635(0x1f9)](){const _0x184a28=_0x528635;this[_0x184a28(0x1df)]()[_0x184a28(0x3ad)](()=>super['dispose']());}async[_0x528635(0x334)](_0x59b820){const _0x3bd549=_0x528635;return this[_0x3bd549(0x257)]?null:this[_0x3bd549(0x1e0)]['getItem'](_0x2597df(_0x59b820));}async[_0x528635(0x307)](_0x1adca9,_0x4887e9){const _0x511811=_0x528635;return!!this[_0x511811(0x1e0)][_0x511811(0x2a1)](_0x1adca9,_0x4887e9);}[_0x528635(0x2b9)](_0x3be01b,_0xcfe4fb,_0x4885e5,_0x5c00bd){const _0xc99f5c=_0x528635,_0x555c18=this[_0xc99f5c(0x331)][_0xc99f5c(0x33b)](_0x3be01b);this[_0xc99f5c(0x2a4)][_0xc99f5c(0x38f)](_0x3be01b,{'unitID':_0x3be01b,'type':_0xcfe4fb,'awaitingChangeset':_0x4885e5,'mutations':_0x5c00bd,'rev':_0x555c18}),this[_0xc99f5c(0x3a4)][_0xc99f5c(0x2f9)](_0x3be01b)||this[_0xc99f5c(0x35c)](_0x3be01b);}[_0x528635(0x35c)](_0x156cf5){const _0x402b0a=_0x528635,_0x132853=this[_0x402b0a(0x22f)]();_0x132853===0x0?this[_0x402b0a(0x366)](_0x156cf5):this[_0x402b0a(0x3a4)][_0x402b0a(0x38f)](_0x156cf5,setTimeout(()=>this['_saveCache'](_0x156cf5),_0x132853));}[_0x528635(0x22f)](){const _0x32e98e=_0x528635;var _0x5f0008;return(_0x5f0008=this[_0x32e98e(0x299)][_0x32e98e(0x329)](_0x349bff))!=null?_0x5f0008:_0x186715;}['_saveCache'](_0x469070){const _0x334b9c=_0x528635,_0xcab642=this[_0x334b9c(0x3a4)][_0x334b9c(0x264)](_0x469070);return _0xcab642!==void 0x0&&window[_0x334b9c(0x2e0)](_0xcab642),this[_0x334b9c(0x1e0)][_0x334b9c(0x2a1)](_0x2597df(_0x469070),this[_0x334b9c(0x2a4)][_0x334b9c(0x264)](_0x469070))[_0x334b9c(0x3ad)](()=>this['_saveTaskMap'][_0x334b9c(0x2ab)](_0x469070));}async[_0x528635(0x1df)](){const _0x1135fd=_0x528635,_0x1863a=[];this[_0x1135fd(0x3a4)][_0x1135fd(0x349)]((_0x258054,_0x5416b6)=>{const _0x4450f0=_0x1135fd;window[_0x4450f0(0x2e0)](_0x258054),_0x1863a[_0x4450f0(0x315)](this[_0x4450f0(0x366)](_0x5416b6)[_0x4450f0(0x3ad)](()=>{const _0x188226=_0x4450f0;this['_saveTaskMap'][_0x188226(0x2ab)](_0x5416b6);}));}),await Promise[_0x1135fd(0x2b1)](_0x1863a);}};Le=_n([Ee(0x0,_0x204d57),Ee(0x1,_0x26c7c0),Ee(0x2,_0x2ea28b(_0x4c6b2f))],Le);class hn extends _0x245cd2{constructor(){const _0x2fc41a=_0x528635;super(),_(this,_0x2fc41a(0x28c)),this['urlChange$']=_0x65473a(window,_0x2fc41a(0x3a8))[_0x2fc41a(0x319)](_0xb05514(this[_0x2fc41a(0x1b8)]),_0x28a176(0x1),_0x4b26c1(void 0x0));}[_0x528635(0x30b)](_0x90ef1b,_0x41ebc4,_0x583951=!0x1){const _0x316e29=_0x528635,_0x2396ac=new URL(window['location'][_0x316e29(0x205)]);_0x2396ac[_0x316e29(0x376)][_0x316e29(0x38f)](_0x90ef1b,_0x41ebc4),_0x583951?window[_0x316e29(0x31f)]['replaceState']('','',_0x2396ac[_0x316e29(0x2d4)]()):window[_0x316e29(0x31f)][_0x316e29(0x211)]('','',_0x2396ac[_0x316e29(0x2d4)]());}['removeParam'](_0x399243,_0xb45f2a=!0x1){const _0x291715=_0x528635,_0x54a660=new URL(window[_0x291715(0x2cf)]['href']);_0x54a660[_0x291715(0x376)][_0x291715(0x2ab)](_0x399243),_0xb45f2a?window['history'][_0x291715(0x286)]('','',_0x54a660['toString']()):window[_0x291715(0x31f)]['pushState']('','',_0x54a660['toString']());}[_0x528635(0x22a)](_0x2fab37){const _0x81f7b2=_0x528635;var _0x1fbae8;return(_0x1fbae8=new URL(window[_0x81f7b2(0x2cf)][_0x81f7b2(0x205)])['searchParams'][_0x81f7b2(0x264)](_0x2fab37))!=null?_0x1fbae8:void 0x0;}}var un=Object[_0x528635(0x1d3)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x217b7f,_0x5b7043,_0x4d59c0)=>_0x5b7043 in _0x217b7f?un(_0x217b7f,_0x5b7043,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d59c0}):_0x217b7f[_0x5b7043]=_0x4d59c0,Sn=(_0x5b297e,_0xed3797,_0x224ef4,_0x2c0976)=>{const _0x33d638=_0x528635;for(var _0x3b6e4f=_0x2c0976>0x1?void 0x0:_0x2c0976?dn(_0xed3797,_0x224ef4):_0xed3797,_0x2f0334=_0x5b297e[_0x33d638(0x252)]-0x1,_0x5d4b83;_0x2f0334>=0x0;_0x2f0334--)(_0x5d4b83=_0x5b297e[_0x2f0334])&&(_0x3b6e4f=_0x5d4b83(_0x3b6e4f)||_0x3b6e4f);return _0x3b6e4f;},be=(_0xf7b0d4,_0x7224ee)=>(_0x3e38a4,_0x450496)=>_0x7224ee(_0x3e38a4,_0x450496,_0xf7b0d4),mn=(_0x529305,_0x2d6361,_0x136228)=>fn(_0x529305,_0x2d6361+'',_0x136228);const gn=_0x528635(0x235);let Ae=class extends _0x4f57a0{constructor(_0x77231a=et,_0x24e8c3,_0x4776c4,_0x339b26){const _0x5593c5=_0x528635;super(),this[_0x5593c5(0x3a6)]=_0x77231a,this[_0x5593c5(0x341)]=_0x24e8c3,this['_injector']=_0x4776c4,this['_configService']=_0x339b26;const {..._0x33b663}=_0x34376e({},et,this[_0x5593c5(0x3a6)]);this['_configService']['setConfig'](Zi,_0x33b663);}[_0x528635(0x1e7)](){const _0x2b069c=_0x528635;this[_0x2b069c(0x2c6)](),this[_0x2b069c(0x2a3)]();}[_0x528635(0x340)](){const _0x56f942=_0x528635;this[_0x56f942(0x1f6)]();}['_registerDependencies'](){const _0x508839=_0x528635;var _0x1b1e6e;const _0x3cdcd8=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0xecfc35,{'useClass':_0x31d7b7}],[_0x30fb98,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x5bcc1c(this[_0x508839(0x3b3)],_0x4825ba(_0x3cdcd8,(_0x1b1e6e=this['_config'])==null?void 0x0:_0x1b1e6e[_0x508839(0x278)]));}[_0x528635(0x1f6)](){const _0x542ba9=_0x528635;this[_0x542ba9(0x26c)](this['_renderManagerService'][_0x542ba9(0x1e6)](_0x3a25e9[_0x542ba9(0x369)],[Pe])),this[_0x542ba9(0x26c)](this[_0x542ba9(0x341)][_0x542ba9(0x1e6)](_0x3a25e9['UNIVER_SHEET'],[we]));}['_initDependencies'](){const _0x40e915=_0x528635;_0x59a3d1(this[_0x40e915(0x3b3)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x528635(0x2b8),gn),Ae=Sn([_0x3355a0(_0x3e0078),be(0x1,_0x28e562),be(0x2,_0x2ea28b(_0x5743ed)),be(0x3,_0x204d57)],Ae);var vn=Object['getOwnPropertyDescriptor'],In=(_0x2ce55e,_0x204d1a,_0x2e66f3,_0x40bc76)=>{for(var _0x8fbd1e=_0x40bc76>0x1?void 0x0:_0x40bc76?vn(_0x204d1a,_0x2e66f3):_0x204d1a,_0x674c21=_0x2ce55e['length']-0x1,_0xe411f5;_0x674c21>=0x0;_0x674c21--)(_0xe411f5=_0x2ce55e[_0x674c21])&&(_0x8fbd1e=_0xe411f5(_0x8fbd1e)||_0x8fbd1e);return _0x8fbd1e;},K=(_0x49353e,_0x2d8de4)=>(_0x1b50b7,_0x5b23f9)=>_0x2d8de4(_0x1b50b7,_0x5b23f9,_0x49353e);let st=class extends _0x42dcc5{constructor(_0x3e8ab5,_0x480646,_0x1844cc,_0x54d5de,_0x46f7d7){super(_0x3e8ab5,_0x480646,_0x1844cc,_0x54d5de,_0x46f7d7);}async[_0x528635(0x27a)](_0x4a0c8e){const _0x3716f3=_0x528635,_0x18c456=await this[_0x3716f3(0x2fd)](),_0xa8f2a0=this[_0x3716f3(0x2fc)](_0x4a0c8e,_0x18c456);return this[_0x3716f3(0x3b0)](_0xa8f2a0);}[_0x528635(0x2fc)](_0x2d2256,_0x77a0d){const _0x22ac68=_0x528635,_0x351fc6=typeof window>'u'?new URL(_0x2d2256):new URL(_0x2d2256,window[_0x22ac68(0x2cf)][_0x22ac68(0x37d)]);_0x351fc6[_0x22ac68(0x376)][_0x22ac68(0x38f)]('sessionTicket',_0x77a0d);const _0x24512f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x24512f[_0x22ac68(0x264)](_0x22ac68(0x28f))&&_0x351fc6['searchParams'][_0x22ac68(0x38f)]('runId',_0x24512f[_0x22ac68(0x264)](_0x22ac68(0x28f))),_0x351fc6[_0x22ac68(0x2d4)]();}async['_getSessionTicket'](){const _0x3ccc40=_0x528635;var _0x1a6d18,_0x43e631,_0x1a273f;const _0x5e00c2=this[_0x3ccc40(0x299)][_0x3ccc40(0x329)](_0x2e482b),_0x5e2159=(_0x1a6d18=_0x5e00c2==null?void 0x0:_0x5e00c2[_0x3ccc40(0x289)])!=null?_0x1a6d18:_0x2bc059;return(_0x1a273f=(_0x43e631=(await this[_0x3ccc40(0x206)][_0x3ccc40(0x264)](_0x5e2159,{'headers':{'Content-Type':_0x3ccc40(0x386)}}))[_0x3ccc40(0x242)])==null?void 0x0:_0x43e631[_0x3ccc40(0x24e)])!=null?_0x1a273f:'';}};st=In([K(0x0,_0x2ea28b(_0x5743ed)),K(0x1,_0x2ea28b(_0x37683c)),K(0x2,_0x204d57),K(0x3,_0xe6d114),K(0x4,_0x5c9c14)],st);const it=0x7530,nt=_0x528635(0x26e);class jn extends _0x5bfeba{constructor(){const _0x44a1ac=_0x528635;super(),_(this,_0x44a1ac(0x276),_0x3306d3()),_(this,_0x44a1ac(0x2f4),new Set()),_(this,_0x44a1ac(0x338),new Map()),_(this,_0x44a1ac(0x2f6),null),_(this,_0x44a1ac(0x34a),new Map()),_(this,_0x44a1ac(0x27f),new Map()),this[_0x44a1ac(0x2ee)]();}['dispose'](){const _0x2262fc=_0x528635;super[_0x2262fc(0x1f9)](),this[_0x2262fc(0x34a)][_0x2262fc(0x349)]((_0x487fb4,_0x420b06)=>this[_0x2262fc(0x297)](_0x420b06)),this['_heartbeatTimer']&&window[_0x2262fc(0x35d)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x30f8af){const _0x59b5cd=_0x528635;return this[_0x59b5cd(0x344)](_0x30f8af)[_0x59b5cd(0x319)](_0x296b11());}[_0x528635(0x1f5)](_0x22dd80){const _0x2d3d7f=_0x528635;this[_0x2d3d7f(0x2f4)][_0x2d3d7f(0x26b)]===0x0&&this[_0x2d3d7f(0x229)](),this[_0x2d3d7f(0x2f4)][_0x2d3d7f(0x2b4)](_0x22dd80),this[_0x2d3d7f(0x20a)]({'type':0x0,'memberID':this[_0x2d3d7f(0x276)],'unitIDs':[_0x22dd80],'isForwarded':!0x1});}[_0x528635(0x2c7)](_0x5e8e34){const _0x5885d2=_0x528635;this[_0x5885d2(0x2f4)][_0x5885d2(0x2ab)](_0x5e8e34),this[_0x5885d2(0x2f4)][_0x5885d2(0x26b)]===0x0&&this['_heartbeatTimer']&&window[_0x5885d2(0x35d)](this[_0x5885d2(0x2f6)]);}[_0x528635(0x2ee)](){const _0x3814a3=_0x528635;this[_0x3814a3(0x26c)](_0x4e66e3(_0x65473a(window,_0x3814a3(0x393))[_0x3814a3(0x219)](_0x46702d=>{const _0x2ff892=_0x3814a3;if(_0x46702d[_0x2ff892(0x208)]!==nt||!_0x46702d[_0x2ff892(0x293)])return;const _0x423b0b=JSON[_0x2ff892(0x372)](_0x46702d[_0x2ff892(0x293)]);this[_0x2ff892(0x35e)](_0x423b0b);}))),window[_0x3814a3(0x304)](_0x3814a3(0x1c6),()=>this[_0x3814a3(0x20a)]({'type':0x1,'memberID':this[_0x3814a3(0x276)],'unitIDs':Array[_0x3814a3(0x2d3)](this[_0x3814a3(0x2f4)])}));}[_0x528635(0x35e)](_0x260bf6){const _0x2ebb38=_0x528635;switch(_0x260bf6['type']){case 0x0:this[_0x2ebb38(0x2fb)](_0x260bf6);break;case 0x1:this[_0x2ebb38(0x21d)](_0x260bf6);break;case 0x2:this[_0x2ebb38(0x30d)](_0x260bf6);break;}}['_handleJoinEvent'](_0x43fd31){const _0x25fb72=_0x528635,{unitIDs:_0x5a41bc,memberID:_0x50e879,isForwarded:_0x3024f4}=_0x43fd31;_0x5a41bc[_0x25fb72(0x349)](_0x842dbf=>{const _0x1b57e0=_0x25fb72;if(!_0x3024f4&&this[_0x1b57e0(0x338)][_0x1b57e0(0x2f9)](_0x842dbf)&&this[_0x1b57e0(0x344)](_0x842dbf)['next'](_0x72c24c[_0x1b57e0(0x2c4)]),!this[_0x1b57e0(0x338)][_0x1b57e0(0x2f9)](_0x842dbf)||!this[_0x1b57e0(0x338)][_0x1b57e0(0x264)](_0x842dbf)[_0x1b57e0(0x2f9)](_0x50e879)){const _0x3a6a89=this[_0x1b57e0(0x338)][_0x1b57e0(0x264)](_0x842dbf)||new Set();_0x3a6a89[_0x1b57e0(0x2b4)](_0x50e879),this[_0x1b57e0(0x338)][_0x1b57e0(0x38f)](_0x842dbf,_0x3a6a89),this[_0x1b57e0(0x354)](_0x50e879);}}),_0x3024f4||this['_send']({'type':0x0,'memberID':this[_0x25fb72(0x276)],'unitIDs':[...this[_0x25fb72(0x2f4)]],'isForwarded':!0x0});}[_0x528635(0x354)](_0x15136e){const _0x46b2e5=_0x528635;this[_0x46b2e5(0x297)](_0x15136e);const _0x41a194=window[_0x46b2e5(0x1f8)](()=>{const _0x54abfc=_0x46b2e5;this['_unitOnClients'][_0x54abfc(0x349)](_0x4429d5=>{const _0x4b6ecf=_0x54abfc;_0x4429d5[_0x4b6ecf(0x2ab)](_0x15136e);});},it*0x2);this[_0x46b2e5(0x34a)][_0x46b2e5(0x38f)](_0x15136e,_0x41a194);}['_removeClearOtherTimer'](_0x49bbcd){const _0x41b45d=_0x528635;if(this[_0x41b45d(0x34a)][_0x41b45d(0x2f9)](_0x49bbcd)){const _0x3a5a56=this[_0x41b45d(0x34a)][_0x41b45d(0x264)](_0x49bbcd);_0x3a5a56&&window[_0x41b45d(0x2e0)](_0x3a5a56),this[_0x41b45d(0x34a)][_0x41b45d(0x38f)](_0x49bbcd,null);}}[_0x528635(0x21d)](_0x20fb32){const _0x14fcb5=_0x528635,{memberID:_0x299dc0,unitIDs:_0xd78cba}=_0x20fb32;_0xd78cba[_0x14fcb5(0x349)](_0x5400f1=>{const _0x3a8eed=_0x14fcb5;var _0x4896c4;const _0x2141df=this['_unitOnClients'][_0x3a8eed(0x264)](_0x5400f1);_0x2141df&&(_0x2141df['delete'](_0x299dc0),(_0x4896c4=this['_ensureSubject'](_0x5400f1))==null||_0x4896c4['next'](_0x2141df[_0x3a8eed(0x26b)]===0x0?_0x72c24c[_0x3a8eed(0x29c)]:_0x72c24c[_0x3a8eed(0x2c4)]));}),this['_removeClearOtherTimer'](_0x299dc0);}['_handleHeartbeatEvent'](_0x24048d){const _0xa1c273=_0x528635;this[_0xa1c273(0x354)](_0x24048d[_0xa1c273(0x322)]);}[_0x528635(0x20a)](_0x20113c){const _0x14d5c1=_0x528635;localStorage[_0x14d5c1(0x2a1)](nt,JSON[_0x14d5c1(0x3b1)](_0x20113c));}[_0x528635(0x229)](){const _0x41a57c=_0x528635;this[_0x41a57c(0x2f6)]=window[_0x41a57c(0x209)](()=>{const _0xef0f07=_0x41a57c;this[_0xef0f07(0x20a)]({'type':0x2,'memberID':this[_0xef0f07(0x276)]});},it);}[_0x528635(0x344)](_0x260f4e){const _0x292609=_0x528635;return this['_unitStatus'][_0x292609(0x2f9)](_0x260f4e)||this[_0x292609(0x27f)][_0x292609(0x38f)](_0x260f4e,new _0x5cdaf1(_0x72c24c['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x292609(0x264)](_0x260f4e);}}var Mt=(_0x2c3921=>(_0x2c3921[_0x2c3921[_0x528635(0x324)]=0x0]=_0x528635(0x324),_0x2c3921[_0x2c3921['OK']=0x1]='OK',_0x2c3921[_0x2c3921['INTERNAL_ERROR']=0x2]=_0x528635(0x234),_0x2c3921[_0x2c3921[_0x528635(0x31e)]=0x3]=_0x528635(0x31e),_0x2c3921[_0x2c3921[_0x528635(0x2c9)]=0x4]=_0x528635(0x2c9),_0x2c3921[_0x2c3921[_0x528635(0x309)]=0x5]=_0x528635(0x309),_0x2c3921[_0x2c3921[_0x528635(0x241)]=0x6]='ALREADY_EXISTS',_0x2c3921[_0x2c3921[_0x528635(0x356)]=0x7]=_0x528635(0x356),_0x2c3921[_0x2c3921['TOO_MANY_REQUESTS']=0x8]=_0x528635(0x2a5),_0x2c3921[_0x2c3921[_0x528635(0x20c)]=0x9]=_0x528635(0x20c),_0x2c3921[_0x2c3921[_0x528635(0x301)]=0xa]=_0x528635(0x301),_0x2c3921[_0x2c3921[_0x528635(0x2db)]=0x1389]=_0x528635(0x2db),_0x2c3921[_0x2c3921[_0x528635(0x248)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2c3921[_0x2c3921[_0x528635(0x1d8)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2c3921[_0x2c3921[_0x528635(0x298)]=0x1773]=_0x528635(0x298),_0x2c3921[_0x2c3921[_0x528635(0x2c5)]=0x1b59]=_0x528635(0x2c5),_0x2c3921[_0x2c3921[_0x528635(0x1d1)]=0x1b5a]=_0x528635(0x1d1),_0x2c3921[_0x2c3921['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2c3921[_0x2c3921[_0x528635(0x31c)]=0x1b5c]=_0x528635(0x31c),_0x2c3921[_0x2c3921[_0x528635(0x385)]=0x1b5d]=_0x528635(0x385),_0x2c3921[_0x2c3921[_0x528635(0x221)]=0x1f41]=_0x528635(0x221),_0x2c3921[_0x2c3921[_0x528635(0x243)]=0x2329]=_0x528635(0x243),_0x2c3921[_0x2c3921['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x528635(0x1c8),_0x2c3921[_0x2c3921[_0x528635(0x2ad)]=0x232b]=_0x528635(0x2ad),_0x2c3921[_0x2c3921[_0x528635(0x258)]=0x232c]=_0x528635(0x258),_0x2c3921[_0x2c3921[_0x528635(0x28b)]=0x232d]=_0x528635(0x28b),_0x2c3921[_0x2c3921['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2c3921[_0x2c3921[_0x528635(0x3aa)]=0x2712]=_0x528635(0x3aa),_0x2c3921[_0x2c3921[_0x528635(0x1bd)]=0x2713]=_0x528635(0x1bd),_0x2c3921[_0x2c3921[_0x528635(0x1aa)]=0x2714]=_0x528635(0x1aa),_0x2c3921[_0x2c3921[_0x528635(0x2a6)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2c3921[_0x2c3921['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x528635(0x347),_0x2c3921[_0x2c3921[_0x528635(0x357)]=0x2af9]=_0x528635(0x357),_0x2c3921[_0x2c3921[_0x528635(0x39a)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2c3921[_0x2c3921[_0x528635(0x203)]=0x2ee2]=_0x528635(0x203),_0x2c3921[_0x2c3921['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x2c3921[_0x2c3921['USER_NOT_INVITED_CODE']=0x2ee4]=_0x528635(0x352),_0x2c3921[_0x2c3921['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x528635(0x2c0),_0x2c3921[_0x2c3921[_0x528635(0x1ea)]=0x32c9]=_0x528635(0x1ea),_0x2c3921[_0x2c3921[_0x528635(0x33e)]=0x32ca]=_0x528635(0x33e),_0x2c3921[_0x2c3921[_0x528635(0x263)]=0x32cb]=_0x528635(0x263),_0x2c3921[_0x2c3921[_0x528635(0x260)]=-0x1]=_0x528635(0x260),_0x2c3921))(Mt||{}),pn=Object[_0x528635(0x238)],Cn=(_0xe2f004,_0x4f10b0,_0x1c3d2d,_0x275dfa)=>{const _0x5a4a0b=_0x528635;for(var _0x2e6987=_0x275dfa>0x1?void 0x0:_0x275dfa?pn(_0x4f10b0,_0x1c3d2d):_0x4f10b0,_0x564431=_0xe2f004[_0x5a4a0b(0x252)]-0x1,_0x37024f;_0x564431>=0x0;_0x564431--)(_0x37024f=_0xe2f004[_0x564431])&&(_0x2e6987=_0x37024f(_0x2e6987)||_0x2e6987);return _0x2e6987;},Oe=(_0x7ad0cc,_0x255988)=>(_0x497f6b,_0x51fc37)=>_0x255988(_0x497f6b,_0x51fc37,_0x7ad0cc);let rt=class extends _0x5bfeba{constructor(_0x7d71ef,_0x41f2ed,_0x5c9711){const _0xfebaf8=_0x528635;super(),this['_instanceService']=_0x7d71ef,this[_0xfebaf8(0x206)]=_0x41f2ed,this['_configService']=_0x5c9711;}async[_0x528635(0x26a)](_0x20c2a6,_0x2285e5,_0x41affd,..._0x32350e){const _0x66ef06=_0x528635;var _0x5d4e67,_0x1a784c,_0x4ad45c,_0x280fee;const _0x460dda=this[_0x66ef06(0x38b)][_0x66ef06(0x3b2)]();if(!_0x460dda)throw new Error(_0x66ef06(0x210));const _0x2c0e64=((_0x5d4e67=this['_configService'][_0x66ef06(0x329)](_0x26dc3d))!=null?_0x5d4e67:_0x3919fc)+'/'+_0x20c2a6+_0x66ef06(0x277)+_0x2285e5,_0x35ba8b=new URL(window[_0x66ef06(0x2cf)][_0x66ef06(0x205)]),_0x4e6ae6={'scriptId':_0x20c2a6,'runId':(_0x1a784c=_0x35ba8b[_0x66ef06(0x376)][_0x66ef06(0x264)](_0x66ef06(0x28f)))!=null?_0x1a784c:'','function':_0x2285e5,'unitId':_0x460dda[_0x66ef06(0x223)](),'argsOfFunction':JSON[_0x66ef06(0x3b1)](_0x32350e),'invokeId':(_0x4ad45c=_0x41affd[_0x66ef06(0x21c)])!=null?_0x4ad45c:'','executionId':(_0x280fee=_0x41affd[_0x66ef06(0x296)])!=null?_0x280fee:''};try{const _0x39b6d4=await this[_0x66ef06(0x206)][_0x66ef06(0x2f2)](_0x2c0e64,{'body':_0x4e6ae6});return _0x39b6d4[_0x66ef06(0x242)][_0x66ef06(0x232)]&&_0x39b6d4[_0x66ef06(0x242)]['error'][_0x66ef06(0x374)]!==Mt['OK']?_0x66ef06(0x284):_0x39b6d4[_0x66ef06(0x242)]['result'];}catch{return _0x66ef06(0x284);}}};rt=Cn([Oe(0x0,_0x2b1449),Oe(0x1,_0x2ea28b(_0x37683c)),Oe(0x2,_0x204d57)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0x2c2a(){const _0x365b4d=['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.','279942gPqttk','21338950mARSNt','11wAJkrK','606137wUQHFg','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','5NwRAGM','2545128yhljah','Click\x20to\x20Reconnect','2MOeFey','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','2912332XIrvUF','731164zceuoa','2849448AMNyyd','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Edit\x20conflicts','84wuotmU','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...'];_0x2c2a=function(){return _0x365b4d;};return _0x2c2a();}const _0x16a04b=_0x1eee;(function(_0x4fc904,_0x578545){const _0x23aa5c=_0x1eee,_0x5902f2=_0x4fc904();while(!![]){try{const _0x18695e=-parseInt(_0x23aa5c(0x1b9))/0x1*(-parseInt(_0x23aa5c(0x1bf))/0x2)+parseInt(_0x23aa5c(0x1ca))/0x3+-parseInt(_0x23aa5c(0x1be))/0x4*(-parseInt(_0x23aa5c(0x1b6))/0x5)+-parseInt(_0x23aa5c(0x1c6))/0x6*(-parseInt(_0x23aa5c(0x1b2))/0x7)+parseInt(_0x23aa5c(0x1c0))/0x8+-parseInt(_0x23aa5c(0x1b7))/0x9+parseInt(_0x23aa5c(0x1cb))/0xa*(-parseInt(_0x23aa5c(0x1cc))/0xb);if(_0x18695e===_0x578545)break;else _0x5902f2['push'](_0x5902f2['shift']());}catch(_0x1ab123){_0x5902f2['push'](_0x5902f2['shift']());}}}(_0x2c2a,0xabf49));const e={'collab-client':{'tooltip':{'reconnect':_0x16a04b(0x1b8)}},'collabStatus':{'fetchMiss':_0x16a04b(0x1c8),'conflict':_0x16a04b(0x1c5),'notCollab':_0x16a04b(0x1ba),'synced':_0x16a04b(0x1c3),'syncing':_0x16a04b(0x1b3),'offline':_0x16a04b(0x1bb)},'session':{'connection-failed':_0x16a04b(0x1b4),'will-retry':_0x16a04b(0x1c7),'room-full':_0x16a04b(0x1c1),'collaboration-timeout':_0x16a04b(0x1b5)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x16a04b(0x1c9)},'permission':{'title':_0x16a04b(0x1bd),'content':_0x16a04b(0x1c2)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x16a04b(0x1bc)},'auth':{'needGotoLoginAlert':_0x16a04b(0x1c4)}};function _0x1eee(_0x42c577,_0xc0a328){const _0x2c2a05=_0x2c2a();return _0x1eee=function(_0x1eee5b,_0x4ba969){_0x1eee5b=_0x1eee5b-0x1b2;let _0x1cf7c6=_0x2c2a05[_0x1eee5b];return _0x1cf7c6;},_0x1eee(_0x42c577,_0xc0a328);}export{e as default};
1
+ function _0x2601(){const _0x1adc87=['269647slAlpR','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','434600xtRiFE','Click\x20to\x20Reconnect','1300068NkgGIS','Authentication\x20Error','Edit\x20conflicts','402246kawwnl','Collaboration\x20Conflict','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','56VyeUjN','Synced','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','712188OFebsZ','2407980WezOSH','Syncing\x20server\x20data...','271603vLNxul','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','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.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Syncing...','Local\x20file','2XcuTMb','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x2601=function(){return _0x1adc87;};return _0x2601();}function _0xe11a(_0x407987,_0x3ba2d4){const _0x26017f=_0x2601();return _0xe11a=function(_0xe11a05,_0x4cf153){_0xe11a05=_0xe11a05-0x1ef;let _0x532ee4=_0x26017f[_0xe11a05];return _0x532ee4;},_0xe11a(_0x407987,_0x3ba2d4);}const _0x20044f=_0xe11a;(function(_0x1ceaa1,_0x342bab){const _0x426da8=_0xe11a,_0x5254af=_0x1ceaa1();while(!![]){try{const _0x16e155=parseInt(_0x426da8(0x1f7))/0x1*(-parseInt(_0x426da8(0x1fe))/0x2)+parseInt(_0x426da8(0x1f4))/0x3+-parseInt(_0x426da8(0x204))/0x4+-parseInt(_0x426da8(0x202))/0x5+parseInt(_0x426da8(0x1f5))/0x6+parseInt(_0x426da8(0x200))/0x7*(parseInt(_0x426da8(0x1f1))/0x8)+parseInt(_0x426da8(0x207))/0x9;if(_0x16e155===_0x342bab)break;else _0x5254af['push'](_0x5254af['shift']());}catch(_0x1897d5){_0x5254af['push'](_0x5254af['shift']());}}}(_0x2601,0x41cd7));const e={'collab-client':{'tooltip':{'reconnect':_0x20044f(0x203)}},'collabStatus':{'fetchMiss':_0x20044f(0x1f6),'conflict':_0x20044f(0x206),'notCollab':_0x20044f(0x1fd),'synced':_0x20044f(0x1f2),'syncing':_0x20044f(0x1fc),'offline':_0x20044f(0x1f0)},'session':{'connection-failed':_0x20044f(0x1fb),'will-retry':_0x20044f(0x1f3),'room-full':_0x20044f(0x1ef),'collaboration-timeout':_0x20044f(0x1f8)},'conflict':{'title':_0x20044f(0x208),'content':_0x20044f(0x1f9)},'permission':{'title':_0x20044f(0x205),'content':_0x20044f(0x1fa)},'collaboration':{'single-unit':{'warning':_0x20044f(0x201)},'closeRoom':_0x20044f(0x1ff)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
@@ -1 +1 @@
1
- function _0x45c4(){const _0x44f043=['آفلاین،\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رفت.','9taatbI','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','65456TnWTHx','1535048tYydgf','10MRVDve','2220705VwpUQe','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','511325YzupAc','تداخل\x20ویرایش','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','7DJDqzk','4455300mJmtnJ','خطای\x20اعتبارسنجی','پرونده\x20محلی','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','22723910AEwfPb','همگام\x20سازی','225816iuEHsR','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...'];_0x45c4=function(){return _0x44f043;};return _0x45c4();}function _0x9c2e(_0x1c0da2,_0x39d642){const _0x45c40e=_0x45c4();return _0x9c2e=function(_0x9c2eb0,_0x5b482b){_0x9c2eb0=_0x9c2eb0-0x159;let _0x504646=_0x45c40e[_0x9c2eb0];return _0x504646;},_0x9c2e(_0x1c0da2,_0x39d642);}const _0x461101=_0x9c2e;(function(_0x23f27d,_0x25d280){const _0x592488=_0x9c2e,_0x290484=_0x23f27d();while(!![]){try{const _0x2109e9=-parseInt(_0x592488(0x15d))/0x1+parseInt(_0x592488(0x159))/0x2*(-parseInt(_0x592488(0x167))/0x3)+parseInt(_0x592488(0x16e))/0x4+-parseInt(_0x592488(0x15a))/0x5+-parseInt(_0x592488(0x161))/0x6*(parseInt(_0x592488(0x160))/0x7)+-parseInt(_0x592488(0x16f))/0x8*(-parseInt(_0x592488(0x16c))/0x9)+parseInt(_0x592488(0x165))/0xa;if(_0x2109e9===_0x25d280)break;else _0x290484['push'](_0x290484['shift']());}catch(_0x49e107){_0x290484['push'](_0x290484['shift']());}}}(_0x45c4,0x632f4));const o={'collab-client':{'tooltip':{'reconnect':_0x461101(0x15f)}},'collabStatus':{'fetchMiss':_0x461101(0x168),'conflict':_0x461101(0x15e),'notCollab':_0x461101(0x163),'synced':_0x461101(0x166),'syncing':_0x461101(0x16a),'offline':_0x461101(0x169)},'session':{'connection-failed':_0x461101(0x16d),'will-retry':_0x461101(0x15b),'room-full':_0x461101(0x164),'collaboration-timeout':_0x461101(0x15c)},'conflict':{'title':'تداخل\x20همکاری','content':'یک\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رفت.'},'permission':{'title':_0x461101(0x162),'content':_0x461101(0x16b)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
1
+ function _0x21e8(_0xdcd073,_0x575e31){const _0x20c2c8=_0x20c2();return _0x21e8=function(_0x21e895,_0x3313a1){_0x21e895=_0x21e895-0xc9;let _0x222ad0=_0x20c2c8[_0x21e895];return _0x222ad0;},_0x21e8(_0xdcd073,_0x575e31);}const _0x3f833e=_0x21e8;(function(_0x31791f,_0x17052d){const _0x5a6361=_0x21e8,_0x5b8e44=_0x31791f();while(!![]){try{const _0x197fb3=parseInt(_0x5a6361(0xd7))/0x1+parseInt(_0x5a6361(0xda))/0x2+parseInt(_0x5a6361(0xcd))/0x3+-parseInt(_0x5a6361(0xd4))/0x4+-parseInt(_0x5a6361(0xd6))/0x5*(parseInt(_0x5a6361(0xe1))/0x6)+-parseInt(_0x5a6361(0xd1))/0x7*(-parseInt(_0x5a6361(0xce))/0x8)+-parseInt(_0x5a6361(0xdd))/0x9*(parseInt(_0x5a6361(0xcf))/0xa);if(_0x197fb3===_0x17052d)break;else _0x5b8e44['push'](_0x5b8e44['shift']());}catch(_0x2dfc8c){_0x5b8e44['push'](_0x5b8e44['shift']());}}}(_0x20c2,0x8b6fc));const o={'collab-client':{'tooltip':{'reconnect':_0x3f833e(0xdb)}},'collabStatus':{'fetchMiss':_0x3f833e(0xcc),'conflict':_0x3f833e(0xde),'notCollab':_0x3f833e(0xca),'synced':_0x3f833e(0xe2),'syncing':_0x3f833e(0xd0),'offline':_0x3f833e(0xd2)},'session':{'connection-failed':_0x3f833e(0xd5),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x3f833e(0xdf),'collaboration-timeout':_0x3f833e(0xd9)},'conflict':{'title':_0x3f833e(0xd3),'content':_0x3f833e(0xcb)},'permission':{'title':_0x3f833e(0xe0),'content':_0x3f833e(0xd8)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x3f833e(0xc9)},'auth':{'needGotoLoginAlert':_0x3f833e(0xdc)}};function _0x20c2(){const _0x1f0ce1=['282234LroUUI','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','421164YepJjH','تداخل\x20ویرایش','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','خطای\x20اعتبارسنجی','36DdZDxa','همگام\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سرور...','3177867tuburm','8tkKcQm','20poZICJ','در\x20حال\x20همگام\x20سازی...','1823465ZLbtTT','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','تداخل\x20همکاری','3718944BNiBye','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','737525iYErNm','1018589Zhczoj','اعمال\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شوند.'];_0x20c2=function(){return _0x1f0ce1;};return _0x20c2();}export{o as default};