@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504261606 → 0.6.10-nightly.202504281607

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/index.js CHANGED
@@ -1 +1 @@
1
- const _0x165302=_0x4a84;(function(_0x2d52e8,_0x5d9467){const _0x132bba=_0x4a84,_0x14de43=_0x2d52e8();while(!![]){try{const _0x1b35a1=parseInt(_0x132bba(0x23b))/0x1*(-parseInt(_0x132bba(0x38c))/0x2)+parseInt(_0x132bba(0x3b6))/0x3+-parseInt(_0x132bba(0x37a))/0x4+-parseInt(_0x132bba(0x29a))/0x5+parseInt(_0x132bba(0x2d1))/0x6*(-parseInt(_0x132bba(0x298))/0x7)+-parseInt(_0x132bba(0x308))/0x8+parseInt(_0x132bba(0x1ec))/0x9;if(_0x1b35a1===_0x5d9467)break;else _0x14de43['push'](_0x14de43['shift']());}catch(_0x1f904a){_0x14de43['push'](_0x14de43['shift']());}}}(_0x2fbb,0x3e4cd));var Bt=Object['defineProperty'],kt=(_0x5039a5,_0x161789,_0x163493)=>_0x161789 in _0x5039a5?Bt(_0x5039a5,_0x161789,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x163493}):_0x5039a5[_0x161789]=_0x163493,_=(_0x37edaf,_0x4f637b,_0x30b481)=>kt(_0x37edaf,typeof _0x4f637b!='symbol'?_0x4f637b+'':_0x4f637b,_0x30b481);import{MemberService as _0x3c63fa,SessionStatus as _0x4fbd72,CollaborationSessionService as _0x11d050,CollaborationStatus as _0x50886a,CollaborationController as _0x369d8d,ILocalCacheService as _0x2ae44c,CollaborationUIEventService as _0x21e05e,CollaborationUIEventId as _0x13b35c,DataLoaderService as _0x279b16,DocCollaborationEntity as _0x570454,getLocalCacheKey as _0x18d070,LOCAL_CACHE_INTERVAL as _0x5dcb38,LOCAL_CACHE_INTERVAL_KEY as _0x4da3b8,UniverCollaborationClientPlugin as _0x1c74c1,CollaborationSocketService as _0x51a910,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x547264,DEFAULT_WS_SESSION_TICKET_URL as _0x21d566,UnitStatus as _0x3c714e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x38cec9,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x195442}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x276d5f,Disposable as _0x2037ab,DOC_RANGE_TYPE as _0x38d744,Inject as _0x3a5fa0,Injector as _0xc40d8a,IUniverInstanceService as _0x1c0225,ICommandService as _0x24f2ef,debounce as _0x2dfe2b,Rectangle as _0x432d24,DisposableCollection as _0x365885,toDisposable as _0x18e45c,UniverInstanceType as _0x9263a3,Tools as _0x56fe7b,COLORS as _0x18dd8d,ColorKit as _0x5dd3b4,ThemeService as _0x10888a,fromEventSubject as _0x63522b,LocaleService as _0x324b78,createIdentifier as _0xaa63cb,ILogService as _0x1a32d5,Optional as _0x144d0d,Workbook as _0x3275ee,CommandType as _0x5c7050,IConfigService as _0x5ab6ee,ILocalStorageService as _0x4c42a1,DependentOn as _0x3bd61b,Plugin as _0x28c123,merge as _0x5945bc,registerDependencies as _0x48e658,mergeOverrideWithDependencies as _0x462440,touchDependencies as _0x5007e0,generateRandomId as _0x4da350}from'@univerjs/core';import{Shape as _0x264fef,Rect as _0x532a67,getColor as _0x24202a,RegularPolygon as _0x12cdd9,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x23bd0a,Vector2 as _0x500349,SHEET_VIEWPORT_KEY as _0x50b1c4,IRenderManagerService as _0x4357f9}from'@univerjs/engine-render';import{ISocketService as _0x4cdc0e,WebSocketService as _0x5e2267,HTTPService as _0x33875d}from'@univerjs/network';import{IDocClipboardService as _0x436d00,NodePositionConvertToCursor as _0x32b72a,NodePositionConvertToRectRange as _0x285f58,TEXT_RANGE_LAYER_INDEX as _0x58a5ed,SetDocZoomRatioOperation as _0x44e0d1,DocIMEInputManagerService as _0x42943e,DocStateChangeManagerService as _0x4baac3}from'@univerjs/docs-ui';import{IImageIoService as _0x4ddd16}from'@univerjs/drawing';import{BehaviorSubject as _0x1fea1c,debounceTime as _0x401aac,takeUntil as _0xef8ce0,Subject as _0x1451bb,filter as _0x2794cd,switchMap as _0x4cecbb,merge as _0x33508f,combineLatest as _0x53cc28,of as _0x55e8e5,fromEvent as _0x71dd0f,shareReplay as _0x48c68f,mapTo as _0x20d0c6,distinctUntilChanged as _0x216524}from'rxjs';import{SetTextSelectionsOperation as _0x999c07,RichTextEditingMutation as _0xf0c63,DocSelectionManagerService as _0x4b63bf,DocSkeletonManagerService as _0x1f1c3b}from'@univerjs/docs';import{ITransformService as _0x573a14,CollaborationEvent as _0x56852e,isTransformMutationFailure as _0x2a62dd,isTransformMutationsWithChangesetSuccess as _0x49cdb9,RevisionService as _0x4c9eaa,ISnapshotServerService as _0x36f312}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x222d14,serializeRangeWithSheet as _0x557b51}from'@univerjs/engine-formula';import{RefRangeService as _0x12c874,SetSelectionsOperation as _0x443049,SheetsSelectionsService as _0x425d60,EffectRefRangId as _0x131f89,handleIRemoveRow as _0x244e96,handleIRemoveCol as _0x5a9e25,handleMoveRange as _0x1dedfb,handleInsertRow as _0xadc39f,handleInsertRangeMoveRight as _0x68620f,handleInsertRangeMoveDown as _0x519e8c,handleInsertCol as _0x8bb134,handleDeleteRangeMoveUp as _0x4ac987,handleDeleteRangeMoveLeft as _0x351339,runRefRangeMutations as _0x297ab9,SetWorksheetActivateCommand as _0x45bad8}from'@univerjs/sheets';import{map as _0x55c3c6,filter as _0x3938aa,throttleTime as _0xa5cafd,takeUntil as _0x5d389e,switchMap as _0x14bb00}from'rxjs/operators';import{SheetSkeletonManagerService as _0x9b3f9d,getCoordByCell as _0x5152ee,getSheetObject as _0xcbf3f2}from'@univerjs/sheets-ui';import{jsx as _0x4fe5ed,jsxs as _0x3228de}from'react/jsx-runtime';import{useObservable as _0x318cdf,useDependency as _0x9f6461,IUIPartsService as _0x1c6bf7,BuiltInUIPart as _0x118eb4,connectInjector as _0x36a62b,IBeforeCloseService as _0x313e3b,IMessageService as _0x4a7122,INotificationService as _0x2625cb}from'@univerjs/ui';import{clsx as _0x5c7685,Tooltip as _0x279760,MessageType as _0x38a96c}from'@univerjs/design';import{forwardRef as _0x35f349,useRef as _0x24a6a4,createElement as _0x3c19b6,useCallback as _0x5a327a}from'react';import{IRemoteInstanceService as _0x2ea242}from'@univerjs/rpc';var li=Object[_0x165302(0x2c3)],_i=(_0x42e5da,_0x8cf2da,_0x9f9d2a,_0x4ad992)=>{const _0x5e2362=_0x165302;for(var _0x371f5c=_0x4ad992>0x1?void 0x0:_0x4ad992?li(_0x8cf2da,_0x9f9d2a):_0x8cf2da,_0x540f72=_0x42e5da[_0x5e2362(0x23d)]-0x1,_0x147d6a;_0x540f72>=0x0;_0x540f72--)(_0x147d6a=_0x42e5da[_0x540f72])&&(_0x371f5c=_0x147d6a(_0x371f5c)||_0x371f5c);return _0x371f5c;},Qe=(_0x1b9297,_0x5b9166)=>(_0x3a9266,_0x463680)=>_0x5b9166(_0x3a9266,_0x463680,_0x1b9297);let Ue=class extends _0x276d5f{constructor(_0x3e1284,_0x42ccf){const _0x51c915=_0x165302;super(),this['_docClipboardService']=_0x3e1284,this['_imageIoService']=_0x42ccf,this[_0x51c915(0x35a)]();}[_0x165302(0x35a)](){const _0x1b31bd=_0x165302,_0xdc13ed=this;this[_0x1b31bd(0x27b)](this[_0x1b31bd(0x368)][_0x1b31bd(0x21a)]({'onBeforePasteImage':async _0x524feb=>{const _0x4a32f0=_0x1b31bd,_0x1697e2=await _0xdc13ed[_0x4a32f0(0x225)][_0x4a32f0(0x33f)](_0x524feb);return _0x1697e2?{'source':_0x1697e2[_0x4a32f0(0x1d5)],'imageSourceType':_0x1697e2[_0x4a32f0(0x240)]}:null;}}));}};Ue=_i([Qe(0x0,_0x436d00),Qe(0x1,_0x4ddd16)],Ue);const qe=[_0x165302(0x1f2),'jiqing500',_0x165302(0x285),_0x165302(0x274),_0x165302(0x1f0),_0x165302(0x2b3)];class He extends _0x2037ab{constructor(){const _0x262aed=_0x165302;super(...arguments),_(this,_0x262aed(0x252),new Map()),_(this,_0x262aed(0x2c5),0x0);}['assignAColorForMemberID'](_0x1b6fcd){const _0x52fbd1=_0x165302;if(this[_0x52fbd1(0x252)][_0x52fbd1(0x281)](_0x1b6fcd))return this[_0x52fbd1(0x252)]['get'](_0x1b6fcd);const _0x4f8287=qe[this[_0x52fbd1(0x2c5)]];return this[_0x52fbd1(0x2c5)]=(this[_0x52fbd1(0x2c5)]+0x1)%qe[_0x52fbd1(0x23d)],this['_assignedColors'][_0x52fbd1(0x378)](_0x1b6fcd,_0x4f8287),_0x4f8287;}}function Dt(_0x19f09e){const _0x37ba8b=_0x165302;let _0x677cb6='';for(const _0x4ee2b6 of _0x19f09e){const {startOffset:_0x134f0d,endOffset:_0x48ed14,isActive:_0xa94225,rangeType:_0x1cf6ce,segmentId:_0x108935,segmentPage:_0x5183fc}=_0x4ee2b6;_0x677cb6[_0x37ba8b(0x23d)]&&(_0x677cb6+=','),_0x677cb6+=_0x134f0d+':'+_0x48ed14+':'+(_0xa94225?'1':'0')+':'+_0x1cf6ce+':'+_0x108935+':'+_0x5183fc;}return _0x677cb6;}function hi(_0x16d4ea){const _0x25a84c=_0x165302,_0xac873e=_0x16d4ea[_0x25a84c(0x218)](','),_0x2cfac6=[];for(const _0xfc53b1 of _0xac873e){const [_0x54da04,_0x9d901f,_0x4cb0f0,_0x378a41,_0x4f7ca6,_0x584ac7]=_0xfc53b1['split'](':');_0x2cfac6[_0x25a84c(0x238)]({'startOffset':Number(_0x54da04),'endOffset':Number(_0x9d901f),'collapsed':_0x54da04===_0x9d901f,'isActive':_0x4cb0f0==='1','rangeType':_0x378a41===_0x38d744[_0x25a84c(0x35c)]?_0x38d744[_0x25a84c(0x35c)]:_0x38d744[_0x25a84c(0x36f)],'segmentId':typeof _0x4f7ca6==_0x25a84c(0x1e1)?String(_0x4f7ca6):'','segmentPage':Number(_0x584ac7!=null?_0x584ac7:-0x1)});}return _0x2cfac6[_0x25a84c(0x3d7)](_0xa65e93=>_0xa65e93[_0x25a84c(0x346)])||(_0x2cfac6[0x0][_0x25a84c(0x346)]=!0x0),_0x2cfac6;}class je extends _0x276d5f{constructor(){const _0x33f2c8=_0x165302;super(...arguments),_(this,_0x33f2c8(0x2eb),new _0x1fea1c(null)),_(this,_0x33f2c8(0x342),this[_0x33f2c8(0x2eb)]['asObservable']());}['syncEditingCollabCursor'](_0x4ddb3f){const _0x1001b7=_0x165302,{unitID:_0xb2a1f1,memberID:_0x45553a,textRanges:_0x1e218f}=_0x4ddb3f,_0x30ec5c=Dt(_0x1e218f);if(_0x30ec5c==='')return;const _0x33da05={'unitID':_0xb2a1f1,'memberID':_0x45553a,'selection':_0x30ec5c};this[_0x1001b7(0x2eb)][_0x1001b7(0x3d0)](_0x33da05);}}var ui=Object[_0x165302(0x2c3)],di=(_0x47b66c,_0x2aa74b,_0x31e3fa,_0x49aff4)=>{const _0x42eefa=_0x165302;for(var _0x1c2705=_0x49aff4>0x1?void 0x0:_0x49aff4?ui(_0x2aa74b,_0x31e3fa):_0x2aa74b,_0x8b1142=_0x47b66c[_0x42eefa(0x23d)]-0x1,_0x5b724a;_0x8b1142>=0x0;_0x8b1142--)(_0x5b724a=_0x47b66c[_0x8b1142])&&(_0x1c2705=_0x5b724a(_0x1c2705)||_0x1c2705);return _0x1c2705;},w=(_0x5e5079,_0x1800de)=>(_0x12c77a,_0x57f04e)=>_0x1800de(_0x12c77a,_0x57f04e,_0x5e5079);const fi=0x12c,Si=0x64;let Me=class extends _0x276d5f{constructor(_0x26d777,_0x15daca,_0x16db8a,_0x5a0ed2,_0x430118,_0x25c5e9,_0x4ed575,_0x4c2300,_0x56572f){const _0x248c9=_0x165302;super(),_(this,_0x248c9(0x25d),!0x1),_(this,'_init',!0x1),_(this,_0x248c9(0x301),new _0x1fea1c(new Map())),_(this,_0x248c9(0x3ce),this[_0x248c9(0x301)][_0x248c9(0x236)]()),_(this,_0x248c9(0x3ae),new _0x1fea1c([])),_(this,'roomMembers$',this[_0x248c9(0x3ae)][_0x248c9(0x343)](_0x401aac(fi))),_(this,_0x248c9(0x320),_0x2dfe2b(_0x2bbda3=>{const _0x3464d4=_0x248c9,_0x2110a0={'eventID':_0x56852e[_0x3464d4(0x375)],'data':{'unitID':this['unitID'],'memberID':this[_0x3464d4(0x338)][_0x3464d4(0x2cd)](),'selection':Dt(_0x2bbda3)}};this[_0x3464d4(0x338)]['send'](_0x2110a0,this[_0x3464d4(0x29d)]);},Si)),(this['unitID']=_0x26d777,this[_0x248c9(0x338)]=_0x15daca,this[_0x248c9(0x2df)]=_0x16db8a,this[_0x248c9(0x26a)]=_0x5a0ed2,this['_memberService']=_0x430118,this[_0x248c9(0x39e)]=_0x25c5e9,this[_0x248c9(0x220)]=_0x4ed575,this[_0x248c9(0x32e)]=_0x4c2300,this[_0x248c9(0x263)]=_0x56572f);}get['cursorInfo'](){const _0x430885=_0x165302;return this[_0x430885(0x301)][_0x430885(0x1f7)]();}get['roomMembers'](){const _0x53c16c=_0x165302;return this[_0x53c16c(0x3ae)][_0x53c16c(0x1f7)]();}[_0x165302(0x24c)](){const _0x306c3a=_0x165302;super['dispose'](),this[_0x306c3a(0x301)]['next'](new Map()),this['_cursorInfo$'][_0x306c3a(0x2a7)](),this['_roomMembers$'][_0x306c3a(0x3d0)]([]),this['_roomMembers$']['complete']();}[_0x165302(0x31d)](){const _0x3e73b8=_0x165302;this['_init']||(this[_0x3e73b8(0x35a)]=!0x0,this[_0x3e73b8(0x338)][_0x3e73b8(0x32c)]['pipe'](_0xef8ce0(this[_0x3e73b8(0x349)]))['subscribe'](_0x154017=>{const _0x35f5a7=_0x3e73b8;_0x154017===_0x4fbd72['ONLINE']?this[_0x35f5a7(0x366)]():this['_toggleOffline']();}),this['_session'][_0x3e73b8(0x31a)][_0x3e73b8(0x343)](_0xef8ce0(this[_0x3e73b8(0x349)]))[_0x3e73b8(0x213)](_0x4f7961=>{const _0x5b43a9=_0x3e73b8,_0x2a2824=_0x4f7961[_0x5b43a9(0x242)];_0x2a2824===_0x56852e[_0x5b43a9(0x375)]&&this[_0x5b43a9(0x376)](_0x4f7961),_0x2a2824===_0x56852e[_0x5b43a9(0x1d9)]&&this[_0x5b43a9(0x1de)](_0x4f7961);}),this['disposeWithMe'](this['_commandService'][_0x3e73b8(0x297)](_0x46f4a8=>{const _0x518555=_0x3e73b8,_0x8869ab=_0x46f4a8[_0x518555(0x286)];_0x8869ab!=null&&this[_0x518555(0x25d)]&&_0x46f4a8['id']===_0x999c07['id']&&_0x8869ab['unitId']===this[_0x518555(0x29d)]&&_0x8869ab[_0x518555(0x233)]===!0x1&&_0x8869ab[_0x518555(0x3b4)][_0x518555(0x23d)]>0x0&&this['_updateLocalCursor'](_0x8869ab[_0x518555(0x3b4)]);})),this[_0x3e73b8(0x39e)][_0x3e73b8(0x342)][_0x3e73b8(0x343)](_0xef8ce0(this[_0x3e73b8(0x349)]))['subscribe'](_0x3d9160=>{const _0x2630d6=_0x3e73b8;if((_0x3d9160==null?void 0x0:_0x3d9160['unitID'])!==this[_0x2630d6(0x29d)])return;const _0x262dbd={'eventID':_0x56852e[_0x2630d6(0x375)],'data':_0x3d9160};this[_0x2630d6(0x376)](_0x262dbd);}),this[_0x3e73b8(0x27b)](this['_commandService'][_0x3e73b8(0x297)](_0x1322ac=>{const _0x5486e7=_0x3e73b8;if(_0x1322ac['params']==null)return;const _0x36a6bb=_0x1322ac['params'];if(_0x1322ac['id']!==_0xf0c63['id']||_0x36a6bb[_0x5486e7(0x3ba)]!==this[_0x5486e7(0x29d)])return;const _0x26d193={'id':_0x5486e7(0x38a),'params':_0x36a6bb},_0x3570e9=this[_0x5486e7(0x348)];for(const [_0x226084,_0x5adcd0]of _0x3570e9){const _0x47349d={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5adcd0[_0x5486e7(0x3b4)]}},_0x2f390c=this[_0x5486e7(0x220)][_0x5486e7(0x39a)](_0x26d193,_0x47349d,!0x1);if(_0x2a62dd(_0x2f390c))throw _0x2f390c[_0x5486e7(0x377)];_0x3570e9[_0x5486e7(0x378)](_0x226084,{..._0x5adcd0,'ranges':_0x2f390c[_0x5486e7(0x224)][_0x5486e7(0x286)][_0x5486e7(0x324)]});}queueMicrotask(()=>{const _0x155d7b=_0x5486e7;this[_0x155d7b(0x301)][_0x155d7b(0x3d0)](_0x3570e9);});})));}['_onCursorUpdate'](_0x13c107){const _0x4c3f21=_0x165302;var _0x34f161,_0x30d0ab;const {memberID:_0x41222e,selection:_0x8a28cf}=_0x13c107[_0x4c3f21(0x3c1)],_0x2eb182=hi(_0x8a28cf),_0x3a5ab4=(_0x30d0ab=(_0x34f161=this[_0x4c3f21(0x294)]['getMember'](this[_0x4c3f21(0x29d)],_0x41222e))==null?void 0x0:_0x34f161[_0x4c3f21(0x24d)])!=null?_0x30d0ab:_0x4c3f21(0x307),_0x3b88d9={'color':this[_0x4c3f21(0x26a)][_0x4c3f21(0x3cb)](_0x41222e),'name':_0x3a5ab4,'ranges':_0x2eb182},_0x554c92=this['cursorInfo'];_0x554c92[_0x4c3f21(0x378)](_0x41222e,_0x3b88d9),this['_cursorInfo$'][_0x4c3f21(0x3d0)](_0x554c92);}[_0x165302(0x1de)](_0x410d31){const _0xd719b7=_0x165302,{memberID:_0x5d200f}=_0x410d31[_0xd719b7(0x3c1)],_0x11d8f8=this['cursorInfo'];_0x11d8f8[_0xd719b7(0x2ef)](_0x5d200f),this[_0xd719b7(0x301)][_0xd719b7(0x3d0)](_0x11d8f8);}['_toggleOnline'](){const _0x1cb5c9=_0x165302;var _0x12772f;if(this[_0x1cb5c9(0x25d)]=!0x0,((_0x12772f=this['_univerInstanceService'][_0x1cb5c9(0x1e4)]())==null?void 0x0:_0x12772f[_0x1cb5c9(0x290)]())!==this[_0x1cb5c9(0x29d)])return;const _0x3508b2=this[_0x1cb5c9(0x2df)][_0x1cb5c9(0x389)](_0x4b63bf)['getDocRanges']();Array[_0x1cb5c9(0x34c)](_0x3508b2)&&_0x3508b2[_0x1cb5c9(0x23d)]>0x0&&this[_0x1cb5c9(0x320)](_0x3508b2);}[_0x165302(0x2e5)](){const _0x44bb15=_0x165302;this[_0x44bb15(0x25d)]=!0x1;}};Me=di([w(0x2,_0x3a5fa0(_0xc40d8a)),w(0x3,_0x3a5fa0(He)),w(0x4,_0x3a5fa0(_0x3c63fa)),w(0x5,_0x3a5fa0(je)),w(0x6,_0x573a14),w(0x7,_0x1c0225),w(0x8,_0x24f2ef)],Me);var mi=Object[_0x165302(0x2c3)],gi=(_0x519d4f,_0x55c8a7,_0x2b9cd2,_0x4d99e7)=>{for(var _0x262e2b=_0x4d99e7>0x1?void 0x0:_0x4d99e7?mi(_0x55c8a7,_0x2b9cd2):_0x55c8a7,_0x3c6b9d=_0x519d4f['length']-0x1,_0x3a822a;_0x3c6b9d>=0x0;_0x3c6b9d--)(_0x3a822a=_0x519d4f[_0x3c6b9d])&&(_0x262e2b=_0x3a822a(_0x262e2b)||_0x262e2b);return _0x262e2b;},x=(_0x4896dd,_0x54be80)=>(_0x3a80fa,_0x731eb4)=>_0x54be80(_0x3a80fa,_0x731eb4,_0x4896dd);const vi=0x12c,Ii=0x64,pi=()=>{let _0x26e67a=[],_0x143fe6=!0x1;return _0x112c30=>{const _0x1a537e=_0x4a84;_0x26e67a[_0x1a537e(0x238)](_0x112c30),_0x143fe6||(_0x143fe6=!0x0,setTimeout(()=>{const _0x485e79=_0x1a537e;_0x26e67a[_0x485e79(0x241)](_0x494d74=>_0x494d74()),_0x26e67a=[],_0x143fe6=!0x1;}));};};let Pe=class extends _0x276d5f{constructor(_0x333c9e,_0x145c99,_0x1d85cf,_0x59f705,_0x25f723,_0x4454ba,_0x376eb1,_0x83f731){const _0x46d732=_0x165302;super(),_(this,_0x46d732(0x25d),!0x1),_(this,_0x46d732(0x35a),!0x1),_(this,_0x46d732(0x301),new _0x1fea1c(new Map())),_(this,_0x46d732(0x3ce),this[_0x46d732(0x301)]['asObservable']()),_(this,_0x46d732(0x3ae),new _0x1fea1c([])),_(this,_0x46d732(0x214),this[_0x46d732(0x3ae)][_0x46d732(0x343)](_0x401aac(vi))),_(this,_0x46d732(0x320),_0x2dfe2b((_0x518853,_0x124945)=>{const _0x210747=_0x46d732,_0x34757a={'eventID':_0x56852e[_0x210747(0x375)],'data':{'unitID':this['unitID'],'memberID':this[_0x210747(0x338)]['getMemberID'](),'selection':_0x557b51(_0x518853,_0x124945['range'])}};this[_0x210747(0x338)][_0x210747(0x216)](_0x34757a,this['unitID']);},Ii)),(this[_0x46d732(0x29d)]=_0x333c9e,this[_0x46d732(0x338)]=_0x145c99,this['_injector']=_0x1d85cf,this[_0x46d732(0x26a)]=_0x59f705,this['_memberService']=_0x25f723,this[_0x46d732(0x32e)]=_0x4454ba,this[_0x46d732(0x263)]=_0x376eb1,this[_0x46d732(0x210)]=_0x83f731);}get[_0x165302(0x348)](){const _0x2b8105=_0x165302;return this[_0x2b8105(0x301)][_0x2b8105(0x1f7)]();}get[_0x165302(0x277)](){const _0x1c0096=_0x165302;return this[_0x1c0096(0x3ae)][_0x1c0096(0x1f7)]();}[_0x165302(0x24c)](){const _0x1c72d4=_0x165302;super[_0x1c72d4(0x24c)](),this[_0x1c72d4(0x301)][_0x1c72d4(0x3d0)](new Map()),this[_0x1c72d4(0x301)][_0x1c72d4(0x2a7)](),this['_roomMembers$'][_0x1c72d4(0x3d0)]([]),this[_0x1c72d4(0x3ae)][_0x1c72d4(0x2a7)]();}[_0x165302(0x31d)](){const _0xdcddc8=_0x165302;this[_0xdcddc8(0x35a)]||(this[_0xdcddc8(0x35a)]=!0x0,this[_0xdcddc8(0x338)][_0xdcddc8(0x32c)][_0xdcddc8(0x343)](_0xef8ce0(this[_0xdcddc8(0x349)]))[_0xdcddc8(0x213)](_0xe3705f=>{const _0x4135d0=_0xdcddc8;_0xe3705f===_0x4fbd72[_0x4135d0(0x278)]?this[_0x4135d0(0x366)]():this['_toggleOffline']();}),this[_0xdcddc8(0x338)][_0xdcddc8(0x31a)][_0xdcddc8(0x343)](_0xef8ce0(this['dispose$']))[_0xdcddc8(0x213)](_0x115711=>{const _0x1aa8f8=_0xdcddc8,_0x4dfb2a=_0x115711['eventID'];_0x4dfb2a===_0x56852e['UPDATE_CURSOR']&&this[_0x1aa8f8(0x376)](_0x115711),_0x4dfb2a===_0x56852e['USERS_LEAVE']&&this[_0x1aa8f8(0x1de)](_0x115711);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0xdcddc8(0x263)][_0xdcddc8(0x297)](_0x100df3=>{const _0x30ccfd=_0xdcddc8;if(this[_0x30ccfd(0x25d)]&&_0x100df3['id']===_0x443049['id']&&_0x100df3[_0x30ccfd(0x286)][_0x30ccfd(0x3ba)]===this['unitID']){const _0x3ea478=_0x100df3[_0x30ccfd(0x286)];this[_0x30ccfd(0x320)](_0x3ea478[_0x30ccfd(0x2f9)],_0x3ea478[_0x30ccfd(0x30c)][0x0]);}})));}[_0x165302(0x376)](_0x4c0f0){const _0x3b25a3=_0x165302;var _0x2abe16,_0x4434a3;const {memberID:_0xff3e6,selection:_0xcdc496}=_0x4c0f0[_0x3b25a3(0x3c1)],{sheetName:_0x68424,range:_0x573682}=_0x222d14(_0xcdc496),_0x338078={'name':(_0x4434a3=(_0x2abe16=this[_0x3b25a3(0x294)][_0x3b25a3(0x3a3)](this[_0x3b25a3(0x29d)],_0xff3e6))==null?void 0x0:_0x2abe16[_0x3b25a3(0x24d)])!=null?_0x4434a3:_0x3b25a3(0x307),'range':this['_getMergeRange'](_0x68424,_0x573682),'sheetID':_0x68424,'color':this['_colorAssignService'][_0x3b25a3(0x3cb)](_0xff3e6),'selection':_0xcdc496},_0x4b28ac=this[_0x3b25a3(0x348)];_0x4b28ac['set'](_0xff3e6,_0x338078),this[_0x3b25a3(0x301)][_0x3b25a3(0x3d0)](_0x4b28ac);}[_0x165302(0x1de)](_0x4711f2){const _0x3777d9=_0x165302,{memberID:_0x167e26}=_0x4711f2[_0x3777d9(0x3c1)],_0x470189=this[_0x3777d9(0x348)];_0x470189[_0x3777d9(0x2ef)](_0x167e26),this[_0x3777d9(0x301)]['next'](_0x470189);}[_0x165302(0x23e)](_0x20f7ac,_0x2ffb2e){const _0x581bec=_0x165302;var _0x16b8ae,_0x196506;const _0x405e5d=(_0x196506=(_0x16b8ae=this[_0x581bec(0x32e)][_0x581bec(0x3c4)](this[_0x581bec(0x29d)]))==null?void 0x0:_0x16b8ae['getSheetBySheetId'](_0x20f7ac))==null?void 0x0:_0x196506['getMergeData']();return(_0x405e5d==null?void 0x0:_0x405e5d[_0x581bec(0x399)](_0x2b3e64=>_0x432d24[_0x581bec(0x33a)](_0x2b3e64,_0x2ffb2e)))||_0x2ffb2e;}[_0x165302(0x302)](){const _0x483c47=_0x165302,_0xb750b8=new _0x365885(),_0x5c8bb6=pi(),_0x904c70=()=>{const _0x26909d=_0x4a84;_0xb750b8['dispose']();const _0x2b4641=(_0x1b3db2,_0x1f8a32,_0x2d0114,_0x2e7027)=>{const _0x4ffc04=_0x4a84;let _0x5144a1=[];switch(_0x1b3db2['id']){case _0x131f89[_0x4ffc04(0x273)]:{_0x5144a1=_0x351339(_0x1b3db2,_0x2e7027);break;}case _0x131f89['DeleteRangeMoveUpCommandId']:{_0x5144a1=_0x4ac987(_0x1b3db2,_0x2e7027);break;}case _0x131f89[_0x4ffc04(0x204)]:{_0x5144a1=_0x8bb134(_0x1b3db2,_0x2e7027);break;}case _0x131f89[_0x4ffc04(0x2a1)]:{_0x5144a1=_0x519e8c(_0x1b3db2,_0x2e7027);break;}case _0x131f89[_0x4ffc04(0x359)]:{_0x5144a1=_0x68620f(_0x1b3db2,_0x2e7027);break;}case _0x131f89[_0x4ffc04(0x1d2)]:{_0x5144a1=_0xadc39f(_0x1b3db2,_0x2e7027);break;}case _0x131f89[_0x4ffc04(0x340)]:{_0x5144a1=_0x1dedfb(_0x1b3db2,_0x2e7027);break;}case _0x131f89['RemoveColCommandId']:{_0x5144a1=_0x5a9e25(_0x1b3db2,_0x2e7027);break;}case _0x131f89['RemoveRowCommandId']:{_0x5144a1=_0x244e96(_0x1b3db2,_0x2e7027);break;}}const _0x19e96d=_0x297ab9(_0x5144a1,_0x2e7027),_0x5f5d43=this[_0x4ffc04(0x348)]['get'](_0x1f8a32);if(_0x5f5d43&&_0x19e96d){const _0x1e8818={..._0x5f5d43,'range':_0x19e96d};this[_0x4ffc04(0x348)][_0x4ffc04(0x378)](_0x1f8a32,_0x1e8818),_0x5c8bb6(()=>{const _0x572ac0=_0x4ffc04,_0xf517cc=this[_0x572ac0(0x210)][_0x572ac0(0x200)](_0x19e96d,_0x50078c=>(_0xf517cc[_0x572ac0(0x24c)](),_0x2b4641(_0x50078c,_0x1f8a32,_0x2d0114,_0x19e96d)));_0xb750b8['add'](_0xf517cc);});}return{'redos':[],'undos':[]};};this[_0x26909d(0x348)]['forEach']((_0x497180,_0x1d07cd)=>{const _0x7aa809=_0x26909d,{range:_0x561d78,sheetID:_0x3bf424}=_0x497180,_0x1945d8=this[_0x7aa809(0x210)]['registerRefRange'](_0x561d78,_0x5b981c=>(_0x1945d8[_0x7aa809(0x24c)](),_0x2b4641(_0x5b981c,_0x1d07cd,_0x3bf424,_0x561d78)));_0xb750b8[_0x7aa809(0x1f1)](_0x1945d8);});};this['disposeWithMe'](_0x18e45c(this['_cursorInfo$'][_0x483c47(0x213)](()=>{_0x904c70();})));}[_0x165302(0x366)](){const _0x24a812=_0x165302;var _0x3f32c8,_0x2156a8;if(this[_0x24a812(0x25d)]=!0x0,((_0x3f32c8=this[_0x24a812(0x32e)][_0x24a812(0x1e4)]())==null?void 0x0:_0x3f32c8[_0x24a812(0x290)]())!==this[_0x24a812(0x29d)])return;const _0x143aab=(_0x2156a8=this[_0x24a812(0x2df)][_0x24a812(0x389)](_0x425d60)['getCurrentSelections']())==null?void 0x0:_0x2156a8[0x0],_0x2f5cc2=this['_univerInstanceService'][_0x24a812(0x2af)](_0x9263a3[_0x24a812(0x313)])[_0x24a812(0x2c2)]();_0x143aab&&_0x2f5cc2&&this['_updateLocalCursor'](_0x2f5cc2['getSheetId'](),_0x143aab);}[_0x165302(0x2e5)](){const _0x15daef=_0x165302;this[_0x15daef(0x25d)]=!0x1;}};Pe=gi([x(0x2,_0x3a5fa0(_0xc40d8a)),x(0x3,_0x3a5fa0(He)),x(0x4,_0x3a5fa0(_0x3c63fa)),x(0x5,_0x1c0225),x(0x6,_0x24f2ef),x(0x7,_0x3a5fa0(_0x12c874))],Pe);var Ci=Object[_0x165302(0x2c3)],Ei=(_0x4886c2,_0x1d4289,_0x53e6c4,_0x3837db)=>{const _0x42a8c2=_0x165302;for(var _0x6ca98b=_0x3837db>0x1?void 0x0:_0x3837db?Ci(_0x1d4289,_0x53e6c4):_0x1d4289,_0x113c3d=_0x4886c2[_0x42a8c2(0x23d)]-0x1,_0x4dceb7;_0x113c3d>=0x0;_0x113c3d--)(_0x4dceb7=_0x4886c2[_0x113c3d])&&(_0x6ca98b=_0x4dceb7(_0x6ca98b)||_0x6ca98b);return _0x6ca98b;},me=(_0x2f13c4,_0x2aaef9)=>(_0x5ee9fc,_0x52f92a)=>_0x2aaef9(_0x5ee9fc,_0x52f92a,_0x2f13c4);let H=class extends _0x276d5f{constructor(_0x44d545,_0x2e0789,_0x44b43c){const _0x1e7e5b=_0x165302;super(),_(this,'_entities',new Map()),_(this,_0x1e7e5b(0x33d),new _0x1451bb()),(this[_0x1e7e5b(0x32e)]=_0x44d545,this['_injector']=_0x2e0789,this['_collabSessionService']=_0x44b43c,this[_0x1e7e5b(0x35a)]());}[_0x165302(0x24c)](){const _0x10e042=_0x165302;super[_0x10e042(0x24c)](),this[_0x10e042(0x33d)][_0x10e042(0x2a7)](),this[_0x10e042(0x1f3)]['forEach'](_0x574d0b=>_0x574d0b['dispose']());}['getCollabCursors$'](_0x2fbb6c){const _0x1d6538=_0x165302;return this[_0x1d6538(0x1f3)][_0x1d6538(0x281)](_0x2fbb6c)?this['_entities'][_0x1d6538(0x389)](_0x2fbb6c)[_0x1d6538(0x3ce)]:this[_0x1d6538(0x33d)][_0x1d6538(0x343)](_0x2794cd(_0x2eb786=>_0x2eb786[_0x1d6538(0x29d)]===_0x2fbb6c),_0x4cecbb(_0x51d699=>_0x51d699[_0x1d6538(0x3ce)]));}['_init'](){const _0x29f9f4=_0x165302;this[_0x29f9f4(0x32e)]['getTypeOfUnitAdded$'](_0x9263a3[_0x29f9f4(0x313)])[_0x29f9f4(0x343)](_0xef8ce0(this['dispose$']))[_0x29f9f4(0x213)](async _0x1b2b36=>{const _0x4ad1d1=_0x29f9f4,_0x3f601f=_0x1b2b36[_0x4ad1d1(0x290)](),_0x48d658=await this[_0x4ad1d1(0x3aa)](_0x3f601f);this[_0x4ad1d1(0x33d)]['next'](_0x48d658),this[_0x4ad1d1(0x1f3)][_0x4ad1d1(0x378)](_0x3f601f,_0x48d658);}),this[_0x29f9f4(0x32e)][_0x29f9f4(0x360)](_0x9263a3['UNIVER_DOC'])['pipe'](_0xef8ce0(this['dispose$']))[_0x29f9f4(0x343)](_0x2794cd(_0x1d9ccd=>!_0x1d9ccd['getUnitId']()[_0x29f9f4(0x215)]('__')))['subscribe'](async _0x5a7c74=>{const _0x2d5d27=_0x29f9f4,_0x3e6edf=_0x5a7c74['getUnitId'](),_0x18212d=await this['_startDocCollabCursor'](_0x3e6edf);this[_0x2d5d27(0x33d)][_0x2d5d27(0x3d0)](_0x18212d),this[_0x2d5d27(0x1f3)][_0x2d5d27(0x378)](_0x3e6edf,_0x18212d);}),_0x33508f(this[_0x29f9f4(0x32e)][_0x29f9f4(0x397)](_0x9263a3[_0x29f9f4(0x2bd)]),this['_univerInstanceService'][_0x29f9f4(0x397)](_0x9263a3['UNIVER_SHEET']))['pipe'](_0xef8ce0(this['dispose$']))[_0x29f9f4(0x213)](_0x28e287=>{const _0x7f9b79=_0x29f9f4,_0xa58ee5=_0x28e287['getUnitId'](),_0x1a5591=this['_entities'][_0x7f9b79(0x389)](_0xa58ee5);_0x1a5591&&(_0x1a5591['dispose'](),this[_0x7f9b79(0x1f3)][_0x7f9b79(0x2ef)](_0xa58ee5));});}async['_startSheetCollabCursor'](_0x6c9c3f){const _0x10a770=_0x165302,_0x381935=await this[_0x10a770(0x3c3)][_0x10a770(0x2ab)](_0x6c9c3f),_0x3035a1=this[_0x10a770(0x2df)]['createInstance'](Pe,_0x6c9c3f,_0x381935);return _0x3035a1[_0x10a770(0x31d)](),_0x3035a1;}async[_0x165302(0x395)](_0x373783){const _0x497eb2=_0x165302,_0x5335bb=await this['_collabSessionService'][_0x497eb2(0x2ab)](_0x373783),_0x271197=this[_0x497eb2(0x2df)][_0x497eb2(0x3c8)](Me,_0x373783,_0x5335bb);return _0x271197[_0x497eb2(0x31d)](),_0x271197;}};H=Ei([me(0x0,_0x1c0225),me(0x1,_0x3a5fa0(_0xc40d8a)),me(0x2,_0x3a5fa0(_0x11d050))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x4c1d16,_0x311fd4){const _0x20ea13=_0x165302;let {radius:_0x4a7e7f,width:_0x15ab03,height:_0x192b7f}=_0x311fd4;_0x4a7e7f=_0x4a7e7f!=null?_0x4a7e7f:0x0,_0x15ab03=_0x15ab03!=null?_0x15ab03:0x1e,_0x192b7f=_0x192b7f!=null?_0x192b7f:0x1e;let _0x5e86f7=0x0,_0x414409=0x0,_0x5b7634=0x0;_0x5e86f7=_0x414409=_0x5b7634=Math['min'](_0x4a7e7f,_0x15ab03/0x2,_0x192b7f/0x2),_0x4c1d16[_0x20ea13(0x2f6)](),_0x4c1d16['moveTo'](_0x5e86f7,0x0),_0x4c1d16[_0x20ea13(0x314)](_0x15ab03-_0x414409,0x0),_0x4c1d16[_0x20ea13(0x350)](_0x15ab03-_0x414409,_0x414409,_0x414409,Math['PI']*0x3/0x2,0x0,!0x1),_0x4c1d16[_0x20ea13(0x314)](_0x15ab03,_0x192b7f-_0x5b7634),_0x4c1d16['arc'](_0x15ab03-_0x5b7634,_0x192b7f-_0x5b7634,_0x5b7634,0x0,Math['PI']/0x2,!0x1),_0x4c1d16[_0x20ea13(0x314)](0x0,_0x192b7f),_0x4c1d16[_0x20ea13(0x314)](0x0,_0x5e86f7),_0x4c1d16['arc'](_0x5e86f7,_0x5e86f7,_0x5e86f7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4c1d16[_0x20ea13(0x1f9)](),_0x311fd4['fill']&&(_0x4c1d16[_0x20ea13(0x2ba)](),_0x4c1d16['fillStyle']=_0x311fd4[_0x20ea13(0x254)],_0x311fd4[_0x20ea13(0x2a2)]===_0x20ea13(0x20c)?_0x4c1d16['fill'](_0x20ea13(0x20c)):_0x4c1d16['fill'](),_0x4c1d16[_0x20ea13(0x3d9)]());}class ue extends _0x264fef{constructor(_0x44a90c,_0x438940){const _0x2fc25d=_0x165302;super(_0x44a90c,_0x438940),_(this,_0x2fc25d(0x304)),_(this,_0x2fc25d(0x243)),(this[_0x2fc25d(0x304)]=_0x438940==null?void 0x0:_0x438940[_0x2fc25d(0x304)],this[_0x2fc25d(0x243)]=_0x438940==null?void 0x0:_0x438940[_0x2fc25d(0x243)]);}static[_0x165302(0x266)](_0x4ffa82,_0x3d1c29){const _0x5391ab=_0x165302,{text:_0x2a0d15,color:_0x5cdd59}=_0x3d1c29;_0x4ffa82['save'](),_0x4ffa82[_0x5391ab(0x1d3)]=_0x5391ab(0x2f1);const _0x480cf3=_0x4ffa82[_0x5391ab(0x306)](_0x2a0d15)[_0x5391ab(0x255)],_0x44b8b2=Math[_0x5391ab(0x244)](_0x480cf3+0x2*ge,et);Oi(_0x4ffa82,{'height':te,'radius':0x4,'width':_0x44b8b2,'fill':_0x5cdd59}),_0x4ffa82[_0x5391ab(0x329)]='#FFF';const _0x202432=ge,_0xd98658=te-bi,_0x31563a=et-0x2*ge;if(_0x480cf3>_0x31563a){let _0x13a057='',_0xbf5fc=0x0;for(const _0x31c9cd of _0x2a0d15){const _0x568fb4=_0x4ffa82[_0x5391ab(0x306)](_0x31c9cd)[_0x5391ab(0x255)];if(_0xbf5fc+_0x568fb4<=_0x31563a-_0x4ffa82[_0x5391ab(0x306)](_0x5391ab(0x26c))[_0x5391ab(0x255)])_0x13a057+=_0x31c9cd,_0xbf5fc+=_0x568fb4;else{_0x13a057+='...';break;}}_0x4ffa82[_0x5391ab(0x3b5)](_0x13a057,_0x202432,_0xd98658);}else _0x4ffa82['fillText'](_0x2a0d15,_0x202432,_0xd98658);_0x4ffa82[_0x5391ab(0x3d9)]();}[_0x165302(0x26f)](_0x1487f7){ue['drawWith'](_0x1487f7,this);}}const ve='collab-text-anchor-',Ti='collab-text-range-',Ri=_0x165302(0x2de),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x165302(0x25c);class tt{constructor(_0x1f69f0,_0xdde594,_0x150005,_0x20d45e){const _0x5e960e=_0x165302;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x5e960e(0x2e1),null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,_0x5e960e(0x1fe),null),(this[_0x5e960e(0x365)]=_0x1f69f0,this[_0x5e960e(0x30e)]=_0xdde594,this[_0x5e960e(0x22b)]=_0x150005,this[_0x5e960e(0x260)]=_0x20d45e,this[_0x5e960e(0x387)]());}set[_0x165302(0x24a)](_0x3a5d7a){const _0x4195c7=_0x165302;_0x3a5d7a?(this[_0x4195c7(0x35b)]&&this['_anchorDot']['hide'](),this[_0x4195c7(0x2e1)]&&this['_textBubble']['show']()):(this[_0x4195c7(0x35b)]&&this[_0x4195c7(0x35b)]['show'](),this[_0x4195c7(0x2e1)]&&this[_0x4195c7(0x2e1)][_0x4195c7(0x364)]());}[_0x165302(0x24c)](){const _0x4eab0a=_0x165302;for(const _0x52a7fe of this['_shapes'])_0x52a7fe[_0x4eab0a(0x24c)]();this[_0x4eab0a(0x2e1)]&&this[_0x4eab0a(0x2e1)][_0x4eab0a(0x24c)](),this[_0x4eab0a(0x35b)]&&this[_0x4eab0a(0x35b)][_0x4eab0a(0x24c)](),this[_0x4eab0a(0x2ed)]&&this[_0x4eab0a(0x2ed)][_0x4eab0a(0x24c)](),this[_0x4eab0a(0x1fe)]&&this[_0x4eab0a(0x1fe)]();}[_0x165302(0x387)](){const _0x107c2d=_0x165302;var _0x4086d2;const {_docSkeleton:_0x66e453,_document:_0x20e6fd}=this,{color:_0x5e5edd,name:_0x3f9e66,ranges:_0x50b58c}=this[_0x107c2d(0x365)],_0x1b0241=_0x20e6fd[_0x107c2d(0x361)](),{docsLeft:_0x53837c,docsTop:_0x3be6d6}=_0x1b0241,_0x1935c4=new _0x32b72a(_0x1b0241,_0x66e453);for(const {startOffset:_0x488dcf,endOffset:_0x1fd433,rangeType:_0x6af76d,segmentId:_0x188eda,segmentPage:_0x41e6db,collapsed:_0x545ec6,isActive:_0x310ec8}of _0x50b58c){const _0x25a830=_0x66e453[_0x107c2d(0x2b4)](_0x488dcf,!0x0,_0x188eda,_0x41e6db);let _0x13c84d=_0x66e453[_0x107c2d(0x2b4)](_0x1fd433,!0x0,_0x188eda,_0x41e6db);if(_0x13c84d==null&&(_0x13c84d=_0x66e453[_0x107c2d(0x2b4)](_0x1fd433-0x1,!0x1,_0x188eda,_0x41e6db)),_0x310ec8){const {contentBoxPointGroup:_0x169bd4}=_0x1935c4[_0x107c2d(0x3ca)](_0x13c84d,_0x13c84d);if(_0x169bd4[_0x107c2d(0x23d)]===0x0)continue;this[_0x107c2d(0x3d1)](_0x5e5edd,_0x169bd4,_0x53837c,_0x3be6d6,_0x3f9e66),this[_0x107c2d(0x1fe)]=this[_0x107c2d(0x2ff)]();}if(_0x25a830&&_0x13c84d){if(_0x6af76d===_0x38d744[_0x107c2d(0x36f)]){const _0x174294=new _0x285f58(_0x1b0241,_0x66e453),{pointGroup:_0x26453d}=(_0x4086d2=_0x174294['getRangePointData'](_0x25a830,_0x13c84d))!=null?_0x4086d2:{};if(_0x26453d==null||_0x26453d[_0x107c2d(0x23d)]===0x0)continue;this[_0x107c2d(0x345)](_0x5e5edd,_0x26453d,_0x53837c,_0x3be6d6);}else{if(!_0x545ec6){const {borderBoxPointGroup:_0x33405d}=_0x1935c4[_0x107c2d(0x3ca)](_0x25a830,_0x13c84d);if(_0x33405d['length']===0x0)continue;this[_0x107c2d(0x276)](_0x5e5edd,_0x33405d,_0x53837c,_0x3be6d6);}}}}}[_0x165302(0x3d1)](_0x4941af,_0x1600eb,_0x4e93e9,_0x557068,_0x2f2f4a){const _0x370583=_0x165302,_0x198f9c=this[_0x370583(0x36e)](_0x1600eb),{left:_0x2e76bd,top:_0x3b4bdc,height:_0x2f6528}=_0x198f9c,_0x1d24e7=this[_0x370583(0x2a3)](),_0x1024c=Ni/_0x1d24e7,_0x568b25=new _0x532a67(ve+_0x56fe7b[_0x370583(0x334)](X),{'left':_0x2e76bd+_0x4e93e9-_0x1024c,'top':_0x3b4bdc+_0x557068,'height':_0x2f6528,'width':Di,'fill':_0x4941af||_0x24202a(_0x18dd8d['black'],0x0),'strokeWidth':_0x1024c,'stroke':Ui,'evented':!0x0});this[_0x370583(0x2ed)]=_0x568b25,this[_0x370583(0x30e)][_0x370583(0x1e5)](_0x568b25,_0x58a5ed);const _0xd27f46=new _0x532a67(ve+_0x56fe7b[_0x370583(0x334)](X),{'left':_0x2e76bd+_0x4e93e9-_0x1024c,'top':_0x3b4bdc+_0x557068-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x4941af||_0x24202a(_0x18dd8d[_0x370583(0x26e)],0x0),'strokeWidth':0x0,'stroke':_0x4941af||_0x24202a(_0x18dd8d[_0x370583(0x26e)],0x0),'evented':!0x1});this[_0x370583(0x35b)]=_0xd27f46,this[_0x370583(0x30e)]['addObject'](_0xd27f46,_0x58a5ed);const _0x12f564=new ue(ve+_0x56fe7b[_0x370583(0x334)](X),{'left':_0x2e76bd+_0x4e93e9-_0x1024c,'top':_0x3b4bdc+_0x557068-te,'text':_0x2f2f4a,'color':_0x4941af});this[_0x370583(0x2e1)]=_0x12f564,this['_scene']['addObject'](_0x12f564,_0x58a5ed),this[_0x370583(0x24a)]=!0x1;}[_0x165302(0x2ff)](){const _0x348b6b=_0x165302,_0x37951d=this[_0x348b6b(0x2ed)][_0x348b6b(0x379)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x552552=this[_0x348b6b(0x2ed)]['onPointerLeave$'][_0x348b6b(0x396)](()=>{const _0x15ca7b=_0x348b6b;this[_0x15ca7b(0x39b)]&&clearTimeout(this['_hideTimer']),this[_0x15ca7b(0x39b)]=setTimeout(()=>{const _0x24352e=_0x15ca7b;this[_0x24352e(0x24a)]=!0x1;},0x7d0);});return()=>{const _0x2ec8ae=_0x348b6b;_0x37951d[_0x2ec8ae(0x230)](),_0x552552[_0x2ec8ae(0x230)]();};}[_0x165302(0x276)](_0x599d8c,_0x55fff0,_0x314ec1,_0x5a5946){const _0x2f2576=_0x165302,_0x1a2c0b=new _0x5dd3b4(_0x599d8c)[_0x2f2576(0x321)](0.2)[_0x2f2576(0x381)](),_0x4fbdfe=new _0x12cdd9(Ti+_0x56fe7b[_0x2f2576(0x334)](X),{'pointsGroup':_0x55fff0,'fill':_0x1a2c0b||_0x24202a(_0x18dd8d[_0x2f2576(0x26e)],0.2),'left':_0x314ec1,'top':_0x5a5946,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2f2576(0x1d0)][_0x2f2576(0x238)](_0x4fbdfe),this[_0x2f2576(0x30e)]['addObject'](_0x4fbdfe,_0x58a5ed);}[_0x165302(0x345)](_0xb9557d,_0x16d7aa,_0x227387,_0x4c3ff8){const _0xfedf59=_0x165302,_0x2c8c35=new _0x5dd3b4(_0xb9557d)[_0xfedf59(0x321)](0.2)[_0xfedf59(0x381)](),_0x40b281=new _0x12cdd9(Ri+_0x56fe7b[_0xfedf59(0x334)](X),{'pointsGroup':_0x16d7aa,'fill':_0x2c8c35||_0x24202a(_0x18dd8d[_0xfedf59(0x26e)],0.2),'left':_0x227387,'top':_0x4c3ff8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xfedf59(0x1d0)][_0xfedf59(0x238)](_0x40b281),this[_0xfedf59(0x30e)][_0xfedf59(0x1e5)](_0x40b281,_0x58a5ed);}['_getAnchorBounding'](_0x3f7e7c){const _0x52f1dd=_0x3f7e7c[0x0],_0x102fb8=_0x52f1dd[0x0],_0x1a70df=_0x52f1dd[0x2],{x:_0x3c386c,y:_0x5ef417}=_0x102fb8,{x:_0x478648,y:_0xee63ff}=_0x1a70df;return{'left':_0x3c386c,'top':_0x5ef417,'width':_0x478648-_0x3c386c,'height':_0xee63ff-_0x5ef417};}[_0x165302(0x2a3)](){const _0x1df0d5=_0x165302,{scaleX:_0x15a62e,scaleY:_0x280e14}=this[_0x1df0d5(0x30e)][_0x1df0d5(0x1e7)]();return Math[_0x1df0d5(0x356)](_0x15a62e,_0x280e14);}}var Mi=Object[_0x165302(0x2c3)],Pi=(_0xa3d2bf,_0x543957,_0x49e499,_0x2f19b6)=>{const _0x9bf8f0=_0x165302;for(var _0x216495=_0x2f19b6>0x1?void 0x0:_0x2f19b6?Mi(_0x543957,_0x49e499):_0x543957,_0x23ddf4=_0xa3d2bf[_0x9bf8f0(0x23d)]-0x1,_0x3f45cd;_0x23ddf4>=0x0;_0x23ddf4--)(_0x3f45cd=_0xa3d2bf[_0x23ddf4])&&(_0x216495=_0x3f45cd(_0x216495)||_0x216495);return _0x216495;},Q=(_0x445b68,_0x79bf0e)=>(_0x472d45,_0x11399e)=>_0x79bf0e(_0x472d45,_0x11399e,_0x445b68);let we=class extends _0x276d5f{constructor(_0x592949,_0x193027,_0x1bb781,_0x387d3c,_0x13ea3b){const _0x30bf20=_0x165302;super(),_(this,_0x30bf20(0x37c),[]),_(this,_0x30bf20(0x28d),[]),(this[_0x30bf20(0x3d3)]=_0x592949,this[_0x30bf20(0x3c9)]=_0x193027,this[_0x30bf20(0x1f4)]=_0x1bb781,this['_commandService']=_0x387d3c,this[_0x30bf20(0x367)]=_0x13ea3b,this[_0x30bf20(0x35a)]());}[_0x165302(0x35a)](){const _0x593de7=_0x165302,_0x54ccaa=this[_0x593de7(0x3d3)][_0x593de7(0x3ba)],_0x5dd9b1=this[_0x593de7(0x3c9)];this[_0x593de7(0x27b)](_0x53cc28([this['_collabCursorController'][_0x593de7(0x2f7)](_0x54ccaa),this[_0x593de7(0x367)][_0x593de7(0x251)]])['pipe'](_0x55c3c6(([_0x14e83b,_0x4a69ce])=>({'skeleton':_0x5dd9b1[_0x593de7(0x39d)](),'cursors':[..._0x14e83b[_0x593de7(0x35e)]()][_0x593de7(0x35f)](_0x59f68d=>({..._0x59f68d,'color':_0x4a69ce[_0x59f68d[_0x593de7(0x304)]]}))})))[_0x593de7(0x213)](_0x396e12=>{const _0x24d3ad=_0x593de7;if(this[_0x24d3ad(0x2c8)](),_0x396e12){const {skeleton:_0x23bad2,cursors:_0x337ef9}=_0x396e12;this[_0x24d3ad(0x3c2)](_0x23bad2,_0x337ef9);}})),this['_initResize'](),this[_0x593de7(0x3ad)]();}[_0x165302(0x3c2)](_0xc70e17,_0x276dc7){const _0x3e36ec=_0x165302,{scene:_0x566a13,mainComponent:_0x55a7b7}=this['_context'],_0x130879=_0x276dc7[_0x3e36ec(0x391)](_0x55ca29=>new tt(_0x55ca29,_0x566a13,_0xc70e17,_0x55a7b7));this[_0x3e36ec(0x37c)]=_0x130879,this['_cursors']=_0x276dc7;}['_refreshCollabCursors'](){const _0x2f69e9=_0x165302;this[_0x2f69e9(0x2c8)]();const {scene:_0x5e7fe1,mainComponent:_0x187185}=this['_context'],_0x38ea6c=this[_0x2f69e9(0x3c9)][_0x2f69e9(0x39d)](),_0x3a0080=this[_0x2f69e9(0x28d)]['map'](_0x5a23b6=>new tt(_0x5a23b6,_0x5e7fe1,_0x38ea6c,_0x187185));this[_0x2f69e9(0x37c)]=_0x3a0080;}['_removeCollabCursors'](){const _0x714aa6=_0x165302;this[_0x714aa6(0x37c)][_0x714aa6(0x241)](_0x306651=>_0x306651[_0x714aa6(0x24c)]()),this[_0x714aa6(0x37c)]=[];}[_0x165302(0x3ad)](){const _0x53e58f=_0x165302,_0x43f176=[_0x44e0d1['id']];this[_0x53e58f(0x27b)](this[_0x53e58f(0x263)][_0x53e58f(0x297)](_0x3cdc04=>{const _0x4b8c82=_0x53e58f;_0x43f176[_0x4b8c82(0x31c)](_0x3cdc04['id'])&&_0x3cdc04['params'][_0x4b8c82(0x3ba)]===this['_context']['unitId']&&this[_0x4b8c82(0x2ad)]();}));}['_initResize'](){const _0x1cfea5=_0x165302;this[_0x1cfea5(0x27b)](_0x63522b(this[_0x1cfea5(0x3d3)][_0x1cfea5(0x29c)][_0x1cfea5(0x289)])['pipe'](_0x3938aa(_0x4ec186=>_0x4ec186[_0x1cfea5(0x29e)]===_0x23bd0a['resize']),_0xa5cafd(0x10))[_0x1cfea5(0x213)](()=>{const _0x5c89ea=_0x1cfea5;this[_0x5c89ea(0x2ad)]();}));}};we=Pi([Q(0x1,_0x3a5fa0(_0x1f1c3b)),Q(0x2,_0x3a5fa0(H)),Q(0x3,_0x24f2ef),Q(0x4,_0x3a5fa0(_0x10888a))],we);const wi=0x1,Li=1.5;class Ai extends _0x264fef{constructor(_0x8cf345,_0x4b93c8){const _0x4fcfd4=_0x165302;super(_0x8cf345,_0x4b93c8),_(this,'_color'),_(this,_0x4fcfd4(0x383),!0x1),_(this,_0x4fcfd4(0x2f3)),_(this,_0x4fcfd4(0x3bf),''),_(this,_0x4fcfd4(0x36b),_0x4fcfd4(0x3cf)),_(this,'_backgroundColor'),(_0x4b93c8&&this['setShapeProps'](_0x4b93c8),this[_0x4fcfd4(0x379)][_0x4fcfd4(0x396)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4fcfd4(0x32b)]['subscribeEvent'](()=>this[_0x4fcfd4(0x267)]({'hovered':!0x1})));}[_0x165302(0x267)](_0x781139){const _0x567834=_0x165302;var _0x314f1d,_0x3ae047,_0x42065e,_0x3d7bd3,_0x4d5e6e,_0xde12a;this[_0x567834(0x39f)]=(_0x314f1d=_0x781139[_0x567834(0x304)])!=null?_0x314f1d:this['_color'],this[_0x567834(0x383)]=(_0x3ae047=_0x781139[_0x567834(0x384)])!=null?_0x3ae047:this['_hovered'],this[_0x567834(0x2f3)]=(_0x42065e=_0x781139[_0x567834(0x24f)])!=null?_0x42065e:this['_range'],this['_name']=(_0x3d7bd3=_0x781139[_0x567834(0x24d)])!=null?_0x3d7bd3:this[_0x567834(0x3bf)],this[_0x567834(0x36b)]=(_0x4d5e6e=_0x781139['labelPosition'])!=null?_0x4d5e6e:this[_0x567834(0x36b)],this['_backgroundColor']=(_0xde12a=_0x781139[_0x567834(0x34f)])!=null?_0xde12a:this[_0x567834(0x2fd)],this[_0x567834(0x363)]({'width':_0x781139[_0x567834(0x255)],'height':_0x781139['height']});}[_0x165302(0x3c6)](_0x41e439){const _0x4ae033=_0x165302,{row:_0xb409b,column:_0x358de4}=_0x41e439;if(_0xb409b>=this['_range'][_0x4ae033(0x2e6)]&&_0xb409b<=this[_0x4ae033(0x2f3)][_0x4ae033(0x373)]&&_0x358de4>=this[_0x4ae033(0x2f3)][_0x4ae033(0x3b9)]&&_0x358de4<=this[_0x4ae033(0x2f3)][_0x4ae033(0x2da)]){this[_0x4ae033(0x267)]({'hovered':!0x0});return;}this[_0x4ae033(0x267)]({'hovered':!0x1});}[_0x165302(0x247)](_0x22fe06){return!0x1;}[_0x165302(0x26f)](_0x43078d){const _0x1a2a11=_0x165302;_0x532a67[_0x1a2a11(0x266)](_0x43078d,{'width':this[_0x1a2a11(0x255)],'height':this[_0x1a2a11(0x270)],'strokeWidth':Li,'stroke':this[_0x1a2a11(0x39f)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1a2a11(0x383)]&&(_0x43078d[_0x1a2a11(0x2ba)](),_0x43078d['transform'](0x1,0x0,0x0,0x1,this[_0x1a2a11(0x255)],this[_0x1a2a11(0x36b)]===_0x1a2a11(0x3db)?0x0:-0x14),ue[_0x1a2a11(0x266)](_0x43078d,{'text':this['_name'],'color':this['_color']}),_0x43078d['restore']());}}var yi=Object[_0x165302(0x2c3)],$i=(_0x422dca,_0x456f87,_0x38b752,_0x2525eb)=>{const _0x277ee7=_0x165302;for(var _0x52fcd1=_0x2525eb>0x1?void 0x0:_0x2525eb?yi(_0x456f87,_0x38b752):_0x456f87,_0x366af8=_0x422dca[_0x277ee7(0x23d)]-0x1,_0x103c53;_0x366af8>=0x0;_0x366af8--)(_0x103c53=_0x422dca[_0x366af8])&&(_0x52fcd1=_0x103c53(_0x52fcd1)||_0x52fcd1);return _0x52fcd1;},pe=(_0x564004,_0x4bdf73)=>(_0x1158bd,_0x4b8298)=>_0x4bdf73(_0x1158bd,_0x4b8298,_0x564004);const xi=0x1389;let Le=class extends _0x276d5f{constructor(_0xd370ab,_0x5d5313,_0x5dc5db,_0x2911a1){const _0x3ada0a=_0x165302;super(),_(this,_0x3ada0a(0x28d),new Set()),_(this,_0x3ada0a(0x256),null),(this['_context']=_0xd370ab,this[_0x3ada0a(0x358)]=_0x5d5313,this[_0x3ada0a(0x1f4)]=_0x5dc5db,this['_themeService']=_0x2911a1,this[_0x3ada0a(0x35a)]());}[_0x165302(0x35a)](){const _0x51e073=_0x165302;this[_0x51e073(0x358)][_0x51e073(0x2d6)][_0x51e073(0x343)](_0x5d389e(this['dispose$']),_0x14bb00(_0x20a9f5=>{const _0x323b0a=_0x51e073;if(_0x20a9f5){const _0x465173=_0x20a9f5[_0x323b0a(0x38d)];return _0x53cc28(this['_collabCursorController'][_0x323b0a(0x2f7)](this[_0x323b0a(0x3d3)]['unitId']),this[_0x323b0a(0x367)][_0x323b0a(0x251)])[_0x323b0a(0x343)](_0x55c3c6(([_0x294089,_0x5d2f50])=>{const _0x168017=_0x323b0a,_0x2ee603=new Map();return _0x294089[_0x168017(0x241)]((_0x2af2b3,_0x39dddb)=>{const _0x423856=_0x168017;if(_0x2af2b3['sheetID']===_0x465173){const _0x5e04fc={..._0x2af2b3};_0x5e04fc[_0x423856(0x304)]=_0x5d2f50[_0x2af2b3[_0x423856(0x304)]],_0x2ee603[_0x423856(0x378)](_0x39dddb,_0x5e04fc);}}),{'skeleton':_0x20a9f5,'cursors':_0x2ee603};}));}return _0x55e8e5({'skeleton':null,'cursors':new Map()});}))[_0x51e073(0x213)](({skeleton:_0x3b0690,cursors:_0x37d752})=>{const _0x1cc0da=_0x51e073;this[_0x1cc0da(0x2c8)](),_0x3b0690&&this[_0x1cc0da(0x3c2)](_0x3b0690,_0x37d752);}),this[_0x51e073(0x358)][_0x51e073(0x2d6)][_0x51e073(0x213)](_0x53fcd6=>{const _0x167e77=_0x51e073;if(_0x53fcd6==null)return;const {skeleton:_0x2e2dbb}=_0x53fcd6,{scene:_0x2b07ff}=this[_0x167e77(0x3d3)];_0x2b07ff[_0x167e77(0x3bb)][_0x167e77(0x396)](_0x2dfe2b(_0x2c7b22=>{const _0x29e617=_0x167e77;var _0x11c722,_0x1994af;const {offsetX:_0x14f688,offsetY:_0x5d2692}=_0x2c7b22,{x:_0x5e59ae,y:_0x1bd299}=_0x2b07ff[_0x29e617(0x2b1)](_0x500349[_0x29e617(0x208)]([_0x14f688,_0x5d2692])),{scaleX:_0x2b1035,scaleY:_0x171804}=_0x2b07ff[_0x29e617(0x1e7)](),_0xb1f5b5=_0x2b07ff[_0x29e617(0x31f)](_0x50b1c4['VIEW_MAIN']),_0x5bf3c8=_0x2b07ff[_0x29e617(0x2d0)](_0x500349['FromArray']([_0x5e59ae,_0x1bd299]),_0xb1f5b5),_0x2089bc=_0x2e2dbb[_0x29e617(0x3a8)](_0x14f688,_0x5d2692,_0x2b1035,_0x171804,_0x5bf3c8);((_0x11c722=this['_lastPointer'])==null?void 0x0:_0x11c722[_0x29e617(0x30d)])===_0x2089bc[_0x29e617(0x30d)]&&((_0x1994af=this[_0x29e617(0x256)])==null?void 0x0:_0x1994af[_0x29e617(0x1d6)])===_0x2089bc[_0x29e617(0x1d6)]||this[_0x29e617(0x28d)][_0x29e617(0x241)](_0x21bfc2=>{const _0xa2766a=_0x29e617;_0x21bfc2[_0xa2766a(0x3c6)](_0x2089bc);});},0x64));});}['_updateCollabCursors'](_0x335d9b,_0x3ad806){const _0x21679a=_0x165302;var _0x3e8808;const _0x1c29c2=(_0x3e8808=this[_0x21679a(0x358)][_0x21679a(0x2b0)]())==null?void 0x0:_0x3e8808[_0x21679a(0x222)];if(!_0x1c29c2)return;const _0x4451b3=this[_0x21679a(0x371)]();if(!_0x4451b3)return;this[_0x21679a(0x28d)][_0x21679a(0x241)](_0x24fa30=>{const _0x83d747=_0x21679a;_0x24fa30[_0x83d747(0x2ea)]();});const {scene:_0x50bc96}=_0x4451b3,_0x753656=Bi(Array[_0x21679a(0x248)](_0x3ad806['values']()))['map'](_0xd08671=>{const {color:_0x410fd8,range:_0x3b147f,name:_0x51d7ed,selection:_0xb5f1ac,sheetID:_0x2d3447}=_0xd08671,{startColumn:_0x3d21b0,startRow:_0x28c0d4,endColumn:_0xe58e4b,endRow:_0x5bd606}=_0x3b147f,_0x103fcd=_0x5152ee(_0x28c0d4,_0x3d21b0,_0x50bc96,_0x1c29c2),_0x46155d=_0x5152ee(_0x5bd606,_0xe58e4b,_0x50bc96,_0x1c29c2),{columnHeaderHeightAndMarginTop:_0x5dac17}=_0x1c29c2,{startX:_0x54e064,startY:_0x3f4aca}=_0x103fcd,{endX:_0x5edc05,endY:_0x4ea25c}=_0x46155d,_0x30fea3=_0x5edc05-_0x54e064,_0x47abc6=_0x4ea25c-_0x3f4aca,_0x19a4d6={'labelPosition':_0x3f4aca-_0x5dac17>=te?'top':'bottom','sheetID':_0x2d3447,'range':_0x3b147f,'color':_0x410fd8,'name':_0x51d7ed,'selection':_0xb5f1ac,'left':_0x54e064,'top':_0x3f4aca,'width':_0x30fea3,'height':_0x47abc6,'evented':!0x1,'zIndex':xi};return new Ai(_0x51d7ed,_0x19a4d6);});_0x50bc96[_0x21679a(0x246)](_0x753656,wi),this[_0x21679a(0x28d)]=new Set(_0x753656);}[_0x165302(0x2c8)](){const _0x5d15ce=_0x165302;var _0x43e478;(_0x43e478=this[_0x5d15ce(0x28d)])==null||_0x43e478[_0x5d15ce(0x241)](_0x5c14e1=>_0x5c14e1[_0x5d15ce(0x24c)]());}['_getSheetObject'](){const _0x82074c=_0x165302;return _0xcbf3f2(this[_0x82074c(0x3d3)][_0x82074c(0x1ff)],this[_0x82074c(0x3d3)]);}};Le=$i([pe(0x1,_0x3a5fa0(_0x9b3f9d)),pe(0x2,_0x3a5fa0(H)),pe(0x3,_0x3a5fa0(_0x10888a))],Le);function Bi(_0x2fcfe0){const _0x169526=_0x165302,_0x2dcb2a=new Map();return _0x2fcfe0[_0x169526(0x241)](_0x149e89=>{const _0x5e97ef=_0x169526;if(_0x2dcb2a['has'](_0x149e89[_0x5e97ef(0x22e)])){const _0x3eec0c=_0x2dcb2a[_0x5e97ef(0x389)](_0x149e89[_0x5e97ef(0x22e)]);_0x3eec0c['name']+=',\x20'+_0x149e89[_0x5e97ef(0x24d)];}else _0x2dcb2a[_0x5e97ef(0x378)](_0x149e89['selection'],_0x149e89);}),Array[_0x169526(0x248)](_0x2dcb2a[_0x169526(0x35e)]());}var I=function(){const _0x321698=_0x165302;return I=Object[_0x321698(0x33c)]||function(_0xc9df24){const _0x411a04=_0x321698;for(var _0x52eecf,_0x215c7a=0x1,_0x1daddb=arguments[_0x411a04(0x23d)];_0x215c7a<_0x1daddb;_0x215c7a++){_0x52eecf=arguments[_0x215c7a];for(var _0xd10e27 in _0x52eecf)Object[_0x411a04(0x325)][_0x411a04(0x24b)][_0x411a04(0x36c)](_0x52eecf,_0xd10e27)&&(_0xc9df24[_0xd10e27]=_0x52eecf[_0xd10e27]);}return _0xc9df24;},I[_0x321698(0x26d)](this,arguments);},ki=function(_0x564c71,_0x192d77){const _0x1456c8=_0x165302;var _0x5c2402={};for(var _0x4927f8 in _0x564c71)Object[_0x1456c8(0x325)][_0x1456c8(0x24b)]['call'](_0x564c71,_0x4927f8)&&_0x192d77[_0x1456c8(0x3cc)](_0x4927f8)<0x0&&(_0x5c2402[_0x4927f8]=_0x564c71[_0x4927f8]);if(_0x564c71!=null&&typeof Object['getOwnPropertySymbols']==_0x1456c8(0x219)){for(var _0x24e615=0x0,_0x4927f8=Object['getOwnPropertySymbols'](_0x564c71);_0x24e615<_0x4927f8['length'];_0x24e615++)_0x192d77[_0x1456c8(0x3cc)](_0x4927f8[_0x24e615])<0x0&&Object[_0x1456c8(0x325)][_0x1456c8(0x1fd)][_0x1456c8(0x36c)](_0x564c71,_0x4927f8[_0x24e615])&&(_0x5c2402[_0x4927f8[_0x24e615]]=_0x564c71[_0x4927f8[_0x24e615]]);}return _0x5c2402;},We=_0x35f349(function(_0x16e113,_0x351e1f){const _0x3d8837=_0x165302;var _0x44e129=_0x16e113[_0x3d8837(0x3a2)],_0x31be75=_0x16e113['id'],_0x1a8c1b=_0x16e113['className'],_0x4225df=_0x16e113[_0x3d8837(0x232)],_0x48c6b6=ki(_0x16e113,[_0x3d8837(0x3a2),'id',_0x3d8837(0x337),_0x3d8837(0x232)]),_0x4a6da3=_0x3d8837(0x1da)['concat'](_0x31be75,'\x20')['concat'](_0x1a8c1b||'')[_0x3d8837(0x3dc)](),_0x5cf969=_0x24a6a4('_'[_0x3d8837(0x30a)](Wi()));return Nt(_0x44e129,''[_0x3d8837(0x30a)](_0x31be75),{'defIds':_0x44e129[_0x3d8837(0x288)],'idSuffix':_0x5cf969[_0x3d8837(0x317)]},I({'ref':_0x351e1f,'className':_0x4a6da3},_0x48c6b6),_0x4225df);});function Nt(_0x551129,_0x21c228,_0xf4e361,_0x1b39c6,_0xbc8bd2){const _0x47729e=_0x165302;return _0x3c19b6(_0x551129['tag'],I(I({'key':_0x21c228},Hi(_0x551129,_0xf4e361,_0xbc8bd2)),_0x1b39c6),(ji(_0x551129,_0xf4e361)[_0x47729e(0x1fb)]||[])['map'](function(_0x122786,_0x2e187a){const _0x48bd17=_0x47729e;return Nt(_0x122786,''[_0x48bd17(0x30a)](_0x21c228,'-')[_0x48bd17(0x30a)](_0x551129[_0x48bd17(0x3de)],'-')[_0x48bd17(0x30a)](_0x2e187a),_0xf4e361,void 0x0,_0xbc8bd2);}));}function Hi(_0x40e7ad,_0x421a3a,_0x735b7d){const _0x1d9a2e=_0x165302;var _0x29253c=I({},_0x40e7ad[_0x1d9a2e(0x1eb)]);_0x735b7d!=null&&_0x735b7d[_0x1d9a2e(0x3d5)]&&_0x29253c[_0x1d9a2e(0x254)]==='colorChannel1'&&(_0x29253c[_0x1d9a2e(0x254)]=_0x735b7d[_0x1d9a2e(0x3d5)]),_0x40e7ad[_0x1d9a2e(0x3de)]===_0x1d9a2e(0x265)&&_0x29253c['id']&&(_0x29253c['id']=_0x29253c['id']+_0x421a3a[_0x1d9a2e(0x2fe)]),Object['entries'](_0x29253c)['forEach'](function(_0x1ee1f8){const _0x4224cb=_0x1d9a2e;var _0x57fcd7=_0x1ee1f8[0x0],_0x227099=_0x1ee1f8[0x1];_0x57fcd7===_0x4224cb(0x265)&&typeof _0x227099==_0x4224cb(0x1e1)&&(_0x29253c[_0x57fcd7]=_0x227099[_0x4224cb(0x393)](/url\(#(.*)\)/,_0x4224cb(0x2fc)['concat'](_0x421a3a[_0x4224cb(0x2fe)],')')));});var _0x26d042=_0x421a3a[_0x1d9a2e(0x288)];return!_0x26d042||_0x26d042['length']===0x0||(_0x40e7ad[_0x1d9a2e(0x3de)]==='use'&&_0x29253c[_0x1d9a2e(0x335)]&&(_0x29253c[_0x1d9a2e(0x335)]=_0x29253c['xlink:href']+_0x421a3a[_0x1d9a2e(0x2fe)]),Object['entries'](_0x29253c)[_0x1d9a2e(0x241)](function(_0x182851){const _0x58bdb7=_0x1d9a2e;var _0x51a443=_0x182851[0x0],_0x552c5f=_0x182851[0x1];typeof _0x552c5f=='string'&&(_0x29253c[_0x51a443]=_0x552c5f[_0x58bdb7(0x393)](/url\(#(.*)\)/,'url(#$1'[_0x58bdb7(0x30a)](_0x421a3a[_0x58bdb7(0x2fe)],')')));})),_0x29253c;}function ji(_0xefcccb,_0x768cb7){const _0x47971b=_0x165302;var _0x54c8b6,_0x58468a=_0x768cb7['defIds'];return!_0x58468a||_0x58468a['length']===0x0?_0xefcccb:_0xefcccb['tag']===_0x47971b(0x268)&&(!((_0x54c8b6=_0xefcccb['children'])===null||_0x54c8b6===void 0x0)&&_0x54c8b6[_0x47971b(0x23d)])?I(I({},_0xefcccb),{'children':_0xefcccb['children'][_0x47971b(0x391)](function(_0x50d73d){const _0x171f25=_0x47971b;return typeof _0x50d73d['attrs']['id']==_0x171f25(0x1e1)&&_0x58468a&&_0x58468a['indexOf'](_0x50d73d['attrs']['id'])>-0x1?I(I({},_0x50d73d),{'attrs':I(I({},_0x50d73d['attrs']),{'id':_0x50d73d[_0x171f25(0x1eb)]['id']+_0x768cb7[_0x171f25(0x2fe)]})}):_0x50d73d;})}):_0xefcccb;}function Wi(){const _0x18349d=_0x165302;return Math[_0x18349d(0x372)]()['toString'](0x24)['substring'](0x2,0x8);}We[_0x165302(0x2a8)]=_0x165302(0x284);var Fi={'tag':_0x165302(0x3d4),'attrs':{'fill':_0x165302(0x37e),'viewBox':'0\x200\x2016\x2016','width':_0x165302(0x2d4),'height':_0x165302(0x2d4)},'children':[{'tag':'g','attrs':{'clipPath':_0x165302(0x311)},'children':[{'tag':_0x165302(0x28a),'attrs':{'stroke':_0x165302(0x2fb),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x165302(0x38b),'strokeLinejoin':_0x165302(0x38b),'strokeWidth':1.2}}]},{'tag':_0x165302(0x268),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x165302(0x28a),'attrs':{'fill':_0x165302(0x2c1),'d':_0x165302(0x38f)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Ut=_0x35f349(function(_0x56a1bb,_0x466011){const _0x33f539=_0x165302;return _0x3c19b6(We,Object[_0x33f539(0x33c)]({},_0x56a1bb,{'id':_0x33f539(0x292),'ref':_0x466011,'icon':Fi}));});Ut['displayName']='OffLineSingle';var Yi={'tag':_0x165302(0x3d4),'attrs':{'fill':_0x165302(0x37e),'viewBox':_0x165302(0x2ce),'width':_0x165302(0x2d4),'height':_0x165302(0x2d4)},'children':[{'tag':'g','attrs':{'clipPath':_0x165302(0x2cf)},'children':[{'tag':_0x165302(0x28a),'attrs':{'stroke':_0x165302(0x2fb),'d':_0x165302(0x3b1),'strokeLinecap':_0x165302(0x38b),'strokeLinejoin':_0x165302(0x38b),'strokeWidth':1.2}}]},{'tag':_0x165302(0x268),'attrs':{},'children':[{'tag':_0x165302(0x3cd),'attrs':{'id':_0x165302(0x209)},'children':[{'tag':_0x165302(0x28a),'attrs':{'fill':_0x165302(0x2c1),'d':_0x165302(0x38f),'transform':_0x165302(0x20d)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Mt=_0x35f349(function(_0x507f4a,_0x2c4400){const _0x146d18=_0x165302;return _0x3c19b6(We,Object['assign']({},_0x507f4a,{'id':_0x146d18(0x245),'ref':_0x2c4400,'icon':Yi}));});Mt['displayName']=_0x165302(0x1f8);const Vi=_0x165302(0x34b),Xi=_0x165302(0x322),Gi=_0x165302(0x25f),Ki=_0x165302(0x2e4),zi='univer-offline',G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x252f45){const _0x1fb74b=_0x165302;switch(_0x252f45){case _0x50886a['OFFLINE']:return _0x1fb74b(0x3a0);case _0x50886a[_0x1fb74b(0x2be)]:return _0x1fb74b(0x262);case _0x50886a[_0x1fb74b(0x21c)]:return _0x1fb74b(0x1d8);case _0x50886a[_0x1fb74b(0x231)]:return _0x1fb74b(0x24e);case _0x50886a[_0x1fb74b(0x282)]:case _0x50886a[_0x1fb74b(0x36d)]:return _0x1fb74b(0x1e0);case _0x50886a[_0x1fb74b(0x226)]:case _0x50886a['PENDING']:return _0x1fb74b(0x2b8);}}function Zi(_0x1e9a9b){const _0x59ae10=_0x165302,{status$:_0x5dbfa3}=_0x1e9a9b,_0x406b4e=_0x318cdf(_0x5dbfa3,_0x50886a[_0x59ae10(0x231)]),_0x187dc8=_0x9f6461(_0x324b78),_0x311ba7=_0x9f6461(_0x11d050),_0x143e0f=_0x406b4e!==_0x50886a[_0x59ae10(0x2a5)],_0x25e1ad=_0x187dc8['t'](Ji(_0x406b4e)),_0x280a41=_0x5c7685(G[_0x59ae10(0x3ab)],{[G[_0x59ae10(0x385)]]:_0x143e0f,[G[_0x59ae10(0x2e8)]]:!_0x143e0f}),_0x59cfe6=_0x143e0f?_0x4fe5ed(Mt,{}):_0x4fe5ed(Ut,{}),_0x583be7=_0x5a327a(()=>{_0x143e0f||_0x311ba7['reconnect']();},[_0x143e0f,_0x311ba7]);function _0x28b49e(){const _0x23cec2=_0x59ae10;return _0x3228de(_0x23cec2(0x3d6),{'className':_0x5c7685(_0x280a41,'univer-flex\x20univer-items-center'),'onClick':_0x583be7,'children':[_0x4fe5ed(_0x23cec2(0x3d6),{'className':G[_0x23cec2(0x299)],'children':_0x59cfe6}),_0x4fe5ed(_0x23cec2(0x3d6),{'className':G[_0x23cec2(0x2b9)],'children':_0x25e1ad})]});}return _0x143e0f?_0x28b49e():_0x4fe5ed(_0x279760,{'title':_0x187dc8['t']('collab-client.tooltip.reconnect'),'children':_0x28b49e()});}var Qi=Object[_0x165302(0x2c3)],qi=(_0x13d80d,_0x207f9a,_0x342744,_0x5c9131)=>{const _0x1aeb6d=_0x165302;for(var _0x3199b0=_0x5c9131>0x1?void 0x0:_0x5c9131?Qi(_0x207f9a,_0x342744):_0x207f9a,_0x2175d5=_0x13d80d[_0x1aeb6d(0x23d)]-0x1,_0x29e761;_0x2175d5>=0x0;_0x2175d5--)(_0x29e761=_0x13d80d[_0x2175d5])&&(_0x3199b0=_0x29e761(_0x3199b0)||_0x3199b0);return _0x3199b0;},q=(_0x41077d,_0x32a640)=>(_0x23cfa5,_0x1c39b4)=>_0x32a640(_0x23cfa5,_0x1c39b4,_0x41077d);let se=class extends _0x2037ab{constructor(_0x1b995a,_0x61a0a9,_0x13d2fc,_0x35f237){const _0x336a76=_0x165302;super(),_(this,_0x336a76(0x261),new _0x1fea1c(_0x50886a[_0x336a76(0x231)])),(this['_univerInstanceService']=_0x1b995a,this[_0x336a76(0x2df)]=_0x61a0a9,this[_0x336a76(0x239)]=_0x13d2fc,this['_uiPartsService']=_0x35f237,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x165302(0x354)](){const _0x9ccd99=_0x165302;this['disposeWithMe'](this['_univerInstanceService'][_0x9ccd99(0x1f6)][_0x9ccd99(0x343)](_0x4cecbb(()=>{const _0x4d9bf4=_0x9ccd99,_0x46c043=this[_0x4d9bf4(0x32e)]['getFocusedUnit']();return _0x46c043?this[_0x4d9bf4(0x239)]['getCollabEntity$'](_0x46c043[_0x4d9bf4(0x290)]()):_0x55e8e5(null);}),_0x4cecbb(_0x361cec=>_0x361cec?_0x361cec[_0x9ccd99(0x318)]:_0x55e8e5(_0x50886a[_0x9ccd99(0x231)])))['subscribe'](_0x299279=>{const _0x133658=_0x9ccd99;this[_0x133658(0x261)][_0x133658(0x3d0)](_0x299279);}));}[_0x165302(0x386)](){const _0x53e76c=_0x165302;this[_0x53e76c(0x27b)](this[_0x53e76c(0x20e)][_0x53e76c(0x394)](_0x118eb4[_0x53e76c(0x237)],()=>_0x36a62b(en({'status$':this['_status$']['asObservable']()}),this['_injector'])));}};se=qi([q(0x0,_0x1c0225),q(0x1,_0x3a5fa0(_0xc40d8a)),q(0x2,_0x3a5fa0(_0x369d8d)),q(0x3,_0x1c6bf7)],se);function en(_0x5ddba3){const {status$:_0x51a3b0}=_0x5ddba3;return function(){return _0x4fe5ed(Zi,{'status$':_0x51a3b0});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x1d50c2,_0x32b14d,_0x392e7f,_0x101ecd)=>{const _0x4d2f38=_0x165302;for(var _0x229c3c=_0x101ecd>0x1?void 0x0:_0x101ecd?tn(_0x32b14d,_0x392e7f):_0x32b14d,_0x3f9c94=_0x1d50c2[_0x4d2f38(0x23d)]-0x1,_0x502ac2;_0x3f9c94>=0x0;_0x3f9c94--)(_0x502ac2=_0x1d50c2[_0x3f9c94])&&(_0x229c3c=_0x502ac2(_0x229c3c)||_0x229c3c);return _0x229c3c;},B=(_0x11ea02,_0x5996d9)=>(_0x2409ab,_0x177a93)=>_0x5996d9(_0x2409ab,_0x177a93,_0x11ea02);let ie=class extends _0x2037ab{constructor(_0x17115a,_0x176d88,_0x15693f,_0x33c512,_0x792a83,_0x1f3aef){const _0x1b865c=_0x165302;super(),this[_0x1b865c(0x37b)]=_0x17115a,this['_localCacheService']=_0x176d88,this[_0x1b865c(0x3b3)]=_0x15693f,this['_messageService']=_0x33c512,this['_notificationService']=_0x792a83,this[_0x1b865c(0x250)]=_0x1f3aef,this[_0x1b865c(0x2dc)](),this[_0x1b865c(0x1d4)]();}[_0x165302(0x2dc)](){const _0x4bf20d=_0x165302;this[_0x4bf20d(0x27b)](this[_0x4bf20d(0x37b)]['registerBeforeClose'](()=>{const _0x31fb48=_0x4bf20d;if(this[_0x31fb48(0x3b7)][_0x31fb48(0x1d1)][_0x31fb48(0x2f5)])return this[_0x31fb48(0x250)]['t'](_0x31fb48(0x2e2));}));}[_0x165302(0x1d4)](){const _0x5833cf=_0x165302;this[_0x5833cf(0x27b)](this[_0x5833cf(0x3b3)]['event$'][_0x5833cf(0x213)](_0x21eec5=>{const _0x2e0af7=_0x5833cf;_0x21eec5['id']===_0x13b35c[_0x2e0af7(0x2c7)]&&this[_0x2e0af7(0x1e9)]['show']({'type':_0x38a96c[_0x2e0af7(0x228)],'content':this['_localeService']['t'](_0x2e0af7(0x229))}),_0x21eec5['id']===_0x13b35c[_0x2e0af7(0x206)]&&this[_0x2e0af7(0x1e9)][_0x2e0af7(0x3da)]({'type':_0x38a96c[_0x2e0af7(0x228)],'content':this[_0x2e0af7(0x250)]['t'](_0x2e0af7(0x3be))}),_0x21eec5['id']===_0x13b35c[_0x2e0af7(0x341)]&&this[_0x2e0af7(0x2bc)][_0x2e0af7(0x3da)]({'title':this[_0x2e0af7(0x250)]['t'](_0x2e0af7(0x33b)),'content':this[_0x2e0af7(0x250)]['t']('permission.content'),'type':_0x2e0af7(0x377),'duration':0x0}),_0x21eec5['id']===_0x13b35c['CONFLICT']&&this[_0x2e0af7(0x1e9)]['show']({'type':_0x38a96c[_0x2e0af7(0x32f)],'content':this[_0x2e0af7(0x250)]['t'](_0x2e0af7(0x3be))+'('+_0x21eec5[_0x2e0af7(0x3c1)]+')'}),_0x21eec5['id']===_0x13b35c[_0x2e0af7(0x2ac)]&&this[_0x2e0af7(0x1e9)]['show']({'type':_0x38a96c[_0x2e0af7(0x228)],'content':this[_0x2e0af7(0x250)]['t'](_0x21eec5[_0x2e0af7(0x3c1)]||'')}),_0x21eec5['id']===_0x13b35c[_0x2e0af7(0x312)]&&this[_0x2e0af7(0x1e9)]['show']({'type':_0x38a96c[_0x2e0af7(0x228)],'content':this[_0x2e0af7(0x250)]['t'](_0x2e0af7(0x310))}),_0x21eec5['id']===_0x13b35c['SOCKET_FAILED']&&this[_0x2e0af7(0x1e9)]['show']({'type':_0x38a96c[_0x2e0af7(0x32f)],'content':this[_0x2e0af7(0x250)]['t'](_0x2e0af7(0x353))}),_0x21eec5['id']===_0x13b35c[_0x2e0af7(0x31e)]&&this[_0x2e0af7(0x1e9)]['show']({'type':_0x38a96c['Error'],'content':this[_0x2e0af7(0x250)]['t'](_0x2e0af7(0x23a))});}));}};function _0x4a84(_0x3464da,_0x2bc017){const _0x2fbb6=_0x2fbb();return _0x4a84=function(_0x4a8487,_0x4c4b09){_0x4a8487=_0x4a8487-0x1d0;let _0x12d9ba=_0x2fbb6[_0x4a8487];return _0x12d9ba;},_0x4a84(_0x3464da,_0x2bc017);}ie=sn([B(0x0,_0x313e3b),B(0x1,_0x2ae44c),B(0x2,_0x3a5fa0(_0x21e05e)),B(0x3,_0x4a7122),B(0x4,_0x2625cb),B(0x5,_0x3a5fa0(_0x324b78))],ie);const nn='collaboration-client-ui.config',st={},Pt=_0xaa63cb(_0x165302(0x227));var rn=Object['getOwnPropertyDescriptor'],on=(_0x4ce704,_0x56f04a,_0x1f123e,_0x459490)=>{for(var _0x1f2e7b=_0x459490>0x1?void 0x0:_0x459490?rn(_0x56f04a,_0x1f123e):_0x56f04a,_0x50f359=_0x4ce704['length']-0x1,_0x121479;_0x50f359>=0x0;_0x50f359--)(_0x121479=_0x4ce704[_0x50f359])&&(_0x1f2e7b=_0x121479(_0x1f2e7b)||_0x1f2e7b);return _0x1f2e7b;},K=(_0x1f44d8,_0x43b529)=>(_0x33f21c,_0x9b24e2)=>_0x43b529(_0x33f21c,_0x9b24e2,_0x1f44d8);let ne=class extends _0x276d5f{constructor(_0x34207b,_0x22c0cb,_0x2a7349,_0x13dd6b,_0x443e0e){const _0x569df3=_0x165302;super(),this['_urlService']=_0x34207b,this[_0x569df3(0x1e3)]=_0x22c0cb,this[_0x569df3(0x263)]=_0x2a7349,this[_0x569df3(0x309)]=_0x13dd6b,_0x443e0e?_0x443e0e==null||_0x443e0e[_0x569df3(0x27c)]()['then'](()=>this['_init']()):(this[_0x569df3(0x1e3)][_0x569df3(0x211)]('[CollaborationDataLoaderController]',_0x569df3(0x347)),this[_0x569df3(0x35a)]());}async[_0x165302(0x35a)](){const _0xdb8998=_0x165302,_0x1033e9=this[_0xdb8998(0x26b)][_0xdb8998(0x27d)](_0xdb8998(0x1ff)),_0x279541=this[_0xdb8998(0x26b)][_0xdb8998(0x27d)](_0xdb8998(0x29e)),_0x47b047=this[_0xdb8998(0x26b)]['getParam']('subunit');if(!_0x1033e9||!_0x279541){this[_0xdb8998(0x1e3)][_0xdb8998(0x211)](_0xdb8998(0x37f),_0xdb8998(0x2d5));return;}const _0x47e364=await this['_dataLoaderService'][_0xdb8998(0x1ef)](_0x1033e9,Number(_0x279541),_0x47b047);_0x47e364&&_0x47e364 instanceof _0x3275ee&&this[_0xdb8998(0x3ac)](_0x47e364);}async[_0x165302(0x3ac)](_0xa1bdef){const _0x31393a=_0x165302;await this[_0x31393a(0x28c)](_0xa1bdef),_0xa1bdef[_0x31393a(0x28b)][_0x31393a(0x343)](_0xef8ce0(this[_0x31393a(0x349)]))[_0x31393a(0x213)](_0xb05082=>{const _0x5af637=_0x31393a;_0xb05082&&this[_0x5af637(0x1fc)](_0xb05082);}),this[_0x31393a(0x26b)]['urlChange$'][_0x31393a(0x343)](_0xef8ce0(this['dispose$']))[_0x31393a(0x213)](()=>this[_0x31393a(0x28c)](_0xa1bdef));}[_0x165302(0x1fc)](_0x2392a7,_0x4a7c96=!0x1){const _0x2fbbb0=_0x165302,_0x502911=this['_urlService'][_0x2fbbb0(0x27d)](_0x2fbbb0(0x2ee));_0x2392a7['getSheetId']()!==_0x502911&&this[_0x2fbbb0(0x26b)][_0x2fbbb0(0x2a4)](_0x2fbbb0(0x2ee),_0x2392a7['getSheetId'](),_0x4a7c96);}async[_0x165302(0x28c)](_0x5ca601){const _0x306093=_0x165302;var _0x286c51;const _0x2b1852=this[_0x306093(0x26b)][_0x306093(0x27d)](_0x306093(0x2ee));if(!_0x2b1852||!_0x5ca601['getSheetBySheetId'](_0x2b1852)){const _0x5dfc26=_0x5ca601[_0x306093(0x332)]()[0x0],_0x1148b6=_0x5ca601[_0x306093(0x392)](_0x5dfc26);if(!_0x1148b6)return;this['_updateURLWithCurrentState'](_0x1148b6,!0x0),await this[_0x306093(0x263)][_0x306093(0x357)](_0x45bad8['id'],{'unitId':_0x5ca601[_0x306093(0x290)](),'subUnitId':_0x5dfc26});return;}((_0x286c51=_0x5ca601[_0x306093(0x2c2)]())==null?void 0x0:_0x286c51[_0x306093(0x271)]())!==_0x2b1852&&await this[_0x306093(0x263)][_0x306093(0x357)](_0x45bad8['id'],{'unitId':_0x5ca601[_0x306093(0x290)](),'subUnitId':_0x2b1852});}};function _0x2fbb(){const _0x1185d4=['_updateURLWithCurrentState','propertyIsEnumerable','_eventUnsubscribe','unit','registerRefRange','runId','body','_localStorageService','InsertColCommandId','code','CLOSE_ROOM','getUndoRedoMutationParamsCache','FromArray','on-line-single_clip0_910_349','_getSaveTimeout','APPLY_REJECT','evenodd','translate(.97)','_uiPartsService','setActiveRange','_refRangeService','debug','INVITE_CODE_ALREADY_BOUND','subscribe','roomMembers$','startsWith','send','INVALID_INVITE_CODE','split','function','addClipboardHook','key','FETCH_MISS','_doCreateSocket','ENSURE_SNAPSHOT_EXECUTION','transformMutationsWithChangeset','_transformService','_registerDependencies','skeleton','onStarting','m2Prime','_imageIoService','SYNCED','uni.network.url-service','Warning','collaboration.single-unit.warning','wsSessionTicketUrl','_docSkeleton','disposeUnit','UNAUTHENTICATED','selection','_config','unsubscribe','NOT_COLLAB','extend','isEditing','clearTimeout','YUUMI_SUBSCRIPTION_NOT_FOUND','asObservable','HEADER_MENU','push','_collaborationController','session.collaboration-timeout','461881FvaKql','_disabled','length','_getMergeRange','CONNECTOR_DATA_TOO_LARGE','imageSourceType','forEach','eventID','text','min','on-line-single','addObjects','triggerDblclick','from','toString','_hover','hasOwnProperty','dispose','name','collabStatus.notCollab','range','_localeService','currentTheme$','_assignedColors','registerRenderModule','fill','width','_lastPointer','entityInit$','_handleHeartbeatEvent','TOO_MANY_REQUESTS','with','LICENSE_DISTRO_REJECTED','rgba(255,\x20255,\x20255,\x200.01)','_online','_saveCache','univer-online-status','_document','_status$','collabStatus.conflict','_commandService','_handleJoinEvent','mask','drawWith','setShapeProps','defs','searchParams','_colorAssignService','_urlService','...','apply','black','_draw','height','getSheetId','mutations','DeleteRangeMoveLeftCommandId','red300','onRendered','_drawTextRange','roomMembers','ONLINE','addHandlerCallback','newValue','disposeWithMe','whenReady','getParam','ACTIVE_UNIT_EVENT_CHANNEL','setInterval','_httpService','has','AWAITING','addEventListener','UniverIcon','verdancy600','params','_unitOnClients','defIds','onTransformChange$','path','activeSheet$','_updateSubUnitFromURLParams','_cursors','transformStateCache','replaceState','getUnitId','NOT_FOUND','off-line-single','then','_memberService','INVITE_CODE_HAS_BEEN_UES','SNAPSHOT_HAS_BEEN_REMOVED','onCommandExecuted','91BwDWVI','onlineStatusIcon','2109395AnhIht','_id','engine','unitID','type','PY_RUNTIME_SCRIPT_ERROR','_renderManagerService','InsertRangeMoveDownCommandId','fillRule','_getScale','setParam','OFFLINE','LOGIN_FAILED','complete','displayName','setUndoRedoMutationParamsCache','createSocket','requireSession','JOIN_ROOM_FAILED','_refreshCollabCursors','_docTransformIMECacheService','getCurrentUnitForType','getCurrent','getRelativeToViewportCoord','saveOfflineData','gold400','findNodePositionByCharIndex','_transformUndoRedoStack','MUTATION','transformSelections','collabStatus.synced','onlineStatusTitle','save','COMPLETION_FINISHED','_notificationService','UNIVER_DOC','CONFLICT','undoState','YUUMI_RATE_OVER_LIMIT','#fff','getActiveSheet','getOwnPropertyDescriptor','syncEditingCollabCursor','_colorIndex','SNAPSHOT_INVALID_SNAPSHOT','OTHER_CLIENT_EDITING','_removeCollabCursors','EMAIL_HAS_BEEN_BOUND','OTHER_CLIENTS_EDITING','defineProperty','exhaustSavingTask','getMemberID','0\x200\x2017\x2016','url(#on-line-single_clip0_910_349)','getVpScrollXYInfoByPosToVp','219138mttvAI','redoState','actions','1em','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','currentSkeleton$','clearInterval','LICENSE_EXPORT_SIZE_EXCEEDED','all','endColumn','setStateCache','_setupBeforeClosingHandler','result','collab-rect-range-','_injector','getCurrentRevOfUnit','_textBubble','collaboration-client.offline-data-not-saved','_unitStatus','univer-online','_toggleOffline','startRow','setTimeout','offline','_cachedData','makeDirty','_collabCursorState$','APPLY_NON_SEQUENTIAL_REVISION','_anchor','subunit','delete','getDocRanges','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','invokeId','_range','post','size','beginPath','getCollabCursors$','USER_NOT_INVITED_CODE','subUnitId','YUUMI_UNABLE_LOAD_URL','currentColor','url(#$1','_backgroundColor','idSuffix','_handleHover','getRenderById','_cursorInfo$','_onRefRangeChange','m1Prime','color','setConfig','measureText','Unknown\x20user','3670720VJncHW','_dataLoaderService','concat','getStateCache','selections','column','_scene','ticket','session.will-retry','url(#off-line-single_clip0_910_343)','SOCKET_FAILED_RETRY','UNIVER_SHEET','lineTo','_createSocketURL','setItem','current','status$','_initDependencies','event$','urlChange$','includes','init','SUBMIT_CHANGESET_TIMEOUT','getViewport','_updateLocalCursor','setAlpha','univer-online-status-title','Failed','textRanges','prototype','INVALID_ARGUMENT','_saveTaskMap','pluginName','fillStyle','_handleLeaveEvent','onPointerLeave$','sessionStatus$','ALREADY_EXISTS','_univerInstanceService','Error','_docStateChangeManagerService','updateOfflineData','getUnhiddenWorksheets','MOBILE_HAS_BEEN_BOUND','generateRandomId','xlink:href','stringify','className','_session','UNDEFINED','contains','permission.title','assign','_entityInit$','transformRemoteChangeset','saveImage','MoveRangeCommandId','PERMISSION_DENIED','collabCursorState$','pipe','CHANGESET_REVISION_CONFILICT','_drawRectRange','isActive','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','cursorInfo','dispose$','href','univer-online-status-icon','isArray','_initEntityListener','executionId','backgroundColor','arc','_removeClearOtherTimer','_ensureSubject','session.connection-failed','_initStatusListener','_registerRenderDependencies','max','executeCommand','_sheetSkeletonManagerService','InsertRangeMoveRightCommandId','_init','_anchorDot','TEXT','_docTransformStateCacheService','values','flatMap','getTypeOfUnitAdded$','getOffsetConfig','_instanceService','transformByState','hide','_cursor','_toggleOnline','_themeService','_docClipboardService','enableLocalCache','deepClone','_labelPosition','call','AWAITING_WITH_PENDING','_getAnchorBounding','RECT','_scheduleClearOtherTimer','_getSheetObject','random','endRow','location','UPDATE_CURSOR','_onCursorUpdate','error','set','onPointerEnter$','1164400BTNaSw','_beforeCloseService','_cursorShapes','_heartbeatTimer','none','[CollaborationDataLoaderController]','replaceDocRanges','toRgbString','YUUMI_NO_CUBOID_FOR_QUESTION','_hovered','hovered','online','_initStatusComponent','_render','loadOfflineData','get','doc.mutation.rich-text-editing','round','2exLhqz','sheetId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','M0\x200H16V16H0z','_scheduleSaving','map','getSheetBySheetId','replace','registerComponent','_startDocCollabCursor','subscribeEvent','getTypeOfUnitDisposed$','sessionTicket','find','transformMutation','_hideTimer','disableLocalCache','getSkeleton','_syncEditingCollabCursorService','_color','collabStatus.offline','_docTransformSelectionsService','icon','getMember','YUUMI_URL_COL_OUT_OF_RANGE','APPLY_PERMISSION_DENIED','_transformHistoryAndStateStack','LICENSE_IMPORT_SIZE_EXCEEDED','getCellPositionByOffset','search','_startSheetCollabCursor','onlineStatus','_setupSubUnitSync','_initCommandExecutedListener','_roomMembers$','_transformPreviousActiveRange','getActiveRange','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','removeParam','_collaborationUIEventService','ranges','fillText','1172886jjmIYZ','_localCacheService','WECHAT_HAS_BEEN_BOUND','startColumn','unitId','onPointerMove$','_getSessionTicket','UNRECOGNIZED','collaboration.closeRoom','_name','_selfUnitIDs','data','_updateCollabCursors','_collabSessionService','getUniverSheetInstance','YUUMI_ASYNCIO_CANCELLED','onMouseMove','_clearOtherTimers','createInstance','_docSkeletonManagerService','getRangePointData','assignAColorForMemberID','indexOf','clipPath','cursorInfo$','top','next','_drawAnchor','history','_context','svg','colorChannel1','div','some','docStateChange$','restore','show','bottom','trim','LICENSE_MAX_UNITS_EXCEEDED','tag','transformIMECache','_shapes','saveTaskMap','InsertRowCommandId','font','_initEvent','source','row','unshift','collabStatus.fetchMiss','USERS_LEAVE','univerjs-icon\x20univerjs-icon-','pushState','INTERNAL_ERROR','_docSyncEditingCollabCursorService','_onCursorDelete','_handleEvent','collabStatus.syncing','string','_revisionService','_logService','getFocusedUnit','addObject','memberID','getAncestorScale','_configService','_messageService','getConfig','attrs','17754462dJFGSm','_scheduleHeartbeat','APPLY_REVISION_CONFILICT','loadUnit','blue400','add','purple300','_entities','_collabCursorController','_send','focused$','getValue','OnLineSingle','closePath','APPLY_DUPLICATED','children'];_0x2fbb=function(){return _0x1185d4;};return _0x2fbb();}ne=on([K(0x0,Pt),K(0x1,_0x1a32d5),K(0x2,_0x24f2ef),K(0x3,_0x3a5fa0(_0x279b16)),K(0x4,_0x144d0d(_0x2ea242))],ne);var an=Object[_0x165302(0x2c3)],cn=(_0x12ddde,_0x49d2da,_0x111cfc,_0x24e0ee)=>{const _0x390970=_0x165302;for(var _0x3e046b=_0x24e0ee>0x1?void 0x0:_0x24e0ee?an(_0x49d2da,_0x111cfc):_0x49d2da,_0x3fdfae=_0x12ddde[_0x390970(0x23d)]-0x1,_0x577d20;_0x3fdfae>=0x0;_0x3fdfae--)(_0x577d20=_0x12ddde[_0x3fdfae])&&(_0x3e046b=_0x577d20(_0x3e046b)||_0x3e046b);return _0x3e046b;},Ce=(_0x37034c,_0x5a2141)=>(_0x1fbd48,_0x3c837d)=>_0x5a2141(_0x1fbd48,_0x3c837d,_0x37034c);let re=class{constructor(_0x4ba1f3,_0x8f36c0,_0x5c1dc4){const _0x4ad053=_0x165302;this[_0x4ad053(0x2df)]=_0x4ba1f3,this['_transformService']=_0x8f36c0,this[_0x4ad053(0x2a0)]=_0x5c1dc4;}[_0x165302(0x3df)](_0xcd1c67){const _0xecaaf=_0x165302;this[_0xecaaf(0x2b5)](_0xcd1c67),this[_0xecaaf(0x3af)](_0xcd1c67);}['transformRemoteChangeset'](_0x146e57){const _0x1551a6=_0x165302,{unitID:_0x52cf35}=_0x146e57,_0x276849=this[_0x1551a6(0x2a0)][_0x1551a6(0x300)](_0x52cf35)[_0x1551a6(0x25a)](_0x42943e),{redoCache:_0x5deb4a}=_0x276849[_0x1551a6(0x207)]();if(_0x5deb4a[_0x1551a6(0x23d)]===0x0)return _0x146e57;let _0x1f1769=_0x56fe7b[_0x1551a6(0x36a)](_0x146e57[_0x1551a6(0x272)][0x0]);for(let _0x397ab6=0x0;_0x397ab6<_0x5deb4a[_0x1551a6(0x23d)];_0x397ab6++){const _0x18d9f1={'id':'doc.mutation.rich-text-editing','params':{..._0x5deb4a[_0x397ab6]}},_0x3a5801=this['_transformService']['transformMutation'](_0x1f1769,_0x18d9f1,!0x1);if(_0x2a62dd(_0x3a5801))throw _0x3a5801[_0x1551a6(0x377)];_0x1f1769=_0x3a5801[_0x1551a6(0x303)];}return{..._0x56fe7b[_0x1551a6(0x36a)](_0x146e57),'mutations':[_0x1f1769]};}[_0x165302(0x2b5)](_0x19c81c){const _0x142023=_0x165302,{unitID:_0x1bf5f3}=_0x19c81c,_0x247af7=this[_0x142023(0x2a0)][_0x142023(0x300)](_0x1bf5f3)[_0x142023(0x25a)](_0x42943e),{undoCache:_0x45a6ed,redoCache:_0x248bd4}=_0x247af7[_0x142023(0x207)]();if(_0x45a6ed[_0x142023(0x23d)]===0x0||_0x248bd4[_0x142023(0x23d)]===0x0)return;const _0x5a516=[],_0x3adbdf=[];let _0xb46d73=_0x56fe7b['deepClone'](_0x19c81c['mutations'][0x0]),_0x1e09f7=_0x56fe7b[_0x142023(0x36a)](_0x19c81c[_0x142023(0x272)][0x0]);for(let _0x52aff9=_0x45a6ed[_0x142023(0x23d)]-0x1;_0x52aff9>=0x0;_0x52aff9--){const _0x3f085c={'id':_0x142023(0x38a),'params':{..._0x45a6ed[_0x52aff9]}},_0x1c263c={'id':_0x142023(0x38a),'params':{..._0x248bd4[_0x52aff9]}},_0x484159=this[_0x142023(0x220)][_0x142023(0x39a)](_0xb46d73,_0x3f085c,!0x1),_0x1d0ab0=this[_0x142023(0x220)][_0x142023(0x39a)](_0x1e09f7,_0x1c263c,!0x1);if(_0x2a62dd(_0x484159))throw _0x484159['error'];if(_0x2a62dd(_0x1d0ab0))throw _0x1d0ab0[_0x142023(0x377)];_0x5a516[_0x142023(0x1d7)](_0x484159[_0x142023(0x224)][_0x142023(0x286)]),_0x3adbdf['unshift'](_0x1d0ab0[_0x142023(0x224)][_0x142023(0x286)]),_0xb46d73=_0x484159[_0x142023(0x303)],_0x1e09f7=_0x1d0ab0[_0x142023(0x303)];}_0x247af7[_0x142023(0x2a9)]({'undoCache':_0x5a516,'redoCache':_0x3adbdf});}[_0x165302(0x3af)](_0x52d805){const _0x5ec179=_0x165302,{unitID:_0x3ca5ba}=_0x52d805,_0x4b7efe=this[_0x5ec179(0x2a0)][_0x5ec179(0x300)](_0x3ca5ba)[_0x5ec179(0x25a)](_0x42943e),_0x17a278=_0x4b7efe[_0x5ec179(0x3b0)]();if(_0x17a278==null)return;const _0x381322=[{'id':_0x5ec179(0x38a),'params':{'unitId':_0x52d805['unitID'],'actions':null,'textRanges':[_0x17a278]}}],_0x3a7b23=this['_transformService'][_0x5ec179(0x21f)](_0x52d805,_0x381322);if(!_0x49cdb9(_0x3a7b23))throw _0x3a7b23[_0x5ec179(0x377)];const _0x46fcfb=_0x3a7b23[_0x5ec179(0x224)][0x0][_0x5ec179(0x286)][_0x5ec179(0x324)];Array[_0x5ec179(0x34c)](_0x46fcfb)&&_0x46fcfb[_0x5ec179(0x23d)]&&_0x4b7efe[_0x5ec179(0x20f)](_0x46fcfb[0x0]);}};re=cn([Ce(0x0,_0x3a5fa0(_0xc40d8a)),Ce(0x1,_0x573a14),Ce(0x2,_0x4357f9)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x47135e,_0x3ff15a,_0x341c82,_0x84407b)=>{const _0x2409c2=_0x165302;for(var _0x25936b=_0x84407b>0x1?void 0x0:_0x84407b?ln(_0x3ff15a,_0x341c82):_0x3ff15a,_0x2314c9=_0x47135e[_0x2409c2(0x23d)]-0x1,_0x1d1b83;_0x2314c9>=0x0;_0x2314c9--)(_0x1d1b83=_0x47135e[_0x2314c9])&&(_0x25936b=_0x1d1b83(_0x25936b)||_0x25936b);return _0x25936b;},Ee=(_0x4fd139,_0x3987a1)=>(_0x3c59bc,_0x63188a)=>_0x3987a1(_0x3c59bc,_0x63188a,_0x4fd139);let oe=class{constructor(_0x10d5b0,_0x3d5989,_0x113786){const _0xbbe9ac=_0x165302;this[_0xbbe9ac(0x2df)]=_0x10d5b0,this[_0xbbe9ac(0x220)]=_0x3d5989,this[_0xbbe9ac(0x330)]=_0x113786;}[_0x165302(0x28e)](_0x1dc598){this['_transformHistoryAndStateStack'](_0x1dc598);}[_0x165302(0x33e)](_0x33ec12){const _0x2cdfbc=_0x165302,{unitID:_0x36c081}=_0x33ec12,{collaboration:_0x1b2d80}=this[_0x2cdfbc(0x330)]['getStateCache'](_0x36c081);if(_0x1b2d80[_0x2cdfbc(0x23d)]===0x0)return _0x33ec12;let _0x450cf5=_0x56fe7b[_0x2cdfbc(0x36a)](_0x33ec12[_0x2cdfbc(0x272)][0x0]);for(let _0x843611=0x0;_0x843611<_0x1b2d80['length'];_0x843611++){const _0x553908={'id':_0x2cdfbc(0x38a),'params':{'unitId':_0x1b2d80[_0x843611]['unitId'],..._0x1b2d80[_0x843611][_0x2cdfbc(0x2d2)]}},_0x49da65=this[_0x2cdfbc(0x220)][_0x2cdfbc(0x39a)](_0x450cf5,_0x553908,!0x1);if(_0x2a62dd(_0x49da65))throw _0x49da65[_0x2cdfbc(0x377)];_0x450cf5=_0x49da65[_0x2cdfbc(0x303)];}return{..._0x56fe7b[_0x2cdfbc(0x36a)](_0x33ec12),'mutations':[_0x450cf5]};}[_0x165302(0x3a6)](_0x47b28f){const _0x1639ac=_0x165302,{unitID:_0x351489}=_0x47b28f,{history:_0x476326,collaboration:_0x5bb638}=this[_0x1639ac(0x330)][_0x1639ac(0x30b)](_0x351489);if(_0x476326[_0x1639ac(0x23d)]===0x0&&_0x5bb638[_0x1639ac(0x23d)]===0x0)return;const _0x263276=[],_0x3118c9=[];let _0x3b9a83=_0x56fe7b[_0x1639ac(0x36a)](_0x47b28f[_0x1639ac(0x272)][0x0]),_0x43dd5a=_0x56fe7b[_0x1639ac(0x36a)](_0x47b28f[_0x1639ac(0x272)][0x0]);for(let _0x34c3f0=_0x476326[_0x1639ac(0x23d)]-0x1;_0x34c3f0>=0x0;_0x34c3f0--){const _0x1adbc5={'id':_0x1639ac(0x38a),'params':{'unitId':_0x476326[_0x34c3f0][_0x1639ac(0x3ba)],..._0x476326[_0x34c3f0]['undoState']}},_0x1cccd3={'id':_0x1639ac(0x38a),'params':{'unitId':_0x476326[_0x34c3f0][_0x1639ac(0x3ba)],..._0x476326[_0x34c3f0][_0x1639ac(0x2d2)]}},_0x50b52b=this[_0x1639ac(0x220)]['transformMutation'](_0x3b9a83,_0x1adbc5,!0x1),_0xda9c5e=this['_transformService'][_0x1639ac(0x39a)](_0x43dd5a,_0x1cccd3,!0x1);if(_0x2a62dd(_0x50b52b))throw _0x50b52b['error'];if(_0x2a62dd(_0xda9c5e))throw _0xda9c5e[_0x1639ac(0x377)];_0x263276[_0x1639ac(0x1d7)]({..._0x476326[_0x34c3f0],'undoState':_0x50b52b[_0x1639ac(0x224)]['params'],'redoState':_0xda9c5e[_0x1639ac(0x224)][_0x1639ac(0x286)]}),_0x3b9a83=_0x50b52b['m1Prime'],_0x43dd5a=_0xda9c5e[_0x1639ac(0x303)];}_0x3b9a83=_0x56fe7b[_0x1639ac(0x36a)](_0x47b28f[_0x1639ac(0x272)][0x0]),_0x43dd5a=_0x56fe7b['deepClone'](_0x47b28f[_0x1639ac(0x272)][0x0]);for(let _0x2fc65a=_0x5bb638['length']-0x1;_0x2fc65a>=0x0;_0x2fc65a--){const _0x52ead3={'id':_0x1639ac(0x38a),'params':{'unitId':_0x5bb638[_0x2fc65a][_0x1639ac(0x3ba)],..._0x5bb638[_0x2fc65a][_0x1639ac(0x2bf)]}},_0x166d49={'id':_0x1639ac(0x38a),'params':{'unitId':_0x5bb638[_0x2fc65a][_0x1639ac(0x3ba)],..._0x5bb638[_0x2fc65a][_0x1639ac(0x2d2)]}},_0x48c895=this[_0x1639ac(0x220)][_0x1639ac(0x39a)](_0x3b9a83,_0x52ead3,!0x1),_0x72aa4=this[_0x1639ac(0x220)]['transformMutation'](_0x43dd5a,_0x166d49,!0x1);if(_0x2a62dd(_0x48c895))throw _0x48c895[_0x1639ac(0x377)];if(_0x2a62dd(_0x72aa4))throw _0x72aa4[_0x1639ac(0x377)];_0x3118c9[_0x1639ac(0x1d7)]({..._0x5bb638[_0x2fc65a],'undoState':_0x48c895['m2Prime']['params'],'redoState':_0x72aa4[_0x1639ac(0x224)]['params']}),_0x3b9a83=_0x48c895[_0x1639ac(0x303)],_0x43dd5a=_0x72aa4[_0x1639ac(0x303)];}this['_docStateChangeManagerService'][_0x1639ac(0x2db)](_0x351489,{'history':_0x263276,'collaboration':_0x3118c9});}};oe=_n([Ee(0x0,_0x3a5fa0(_0xc40d8a)),Ee(0x1,_0x573a14),Ee(0x2,_0x3a5fa0(_0x4baac3))],oe);var hn=Object[_0x165302(0x2c3)],un=(_0xecf4af,_0x3ce830,_0x43926f,_0x5d6eff)=>{const _0x1ee2bf=_0x165302;for(var _0x4895e4=_0x5d6eff>0x1?void 0x0:_0x5d6eff?hn(_0x3ce830,_0x43926f):_0x3ce830,_0x12bbdf=_0xecf4af[_0x1ee2bf(0x23d)]-0x1,_0x2422d7;_0x12bbdf>=0x0;_0x12bbdf--)(_0x2422d7=_0xecf4af[_0x12bbdf])&&(_0x4895e4=_0x2422d7(_0x4895e4)||_0x4895e4);return _0x4895e4;},it=(_0xbfae7,_0x36c208)=>(_0x27a879,_0x55f840)=>_0x36c208(_0x27a879,_0x55f840,_0xbfae7);let ae=class{constructor(_0x1a272e,_0x3054d5){const _0x537388=_0x165302;this[_0x537388(0x2df)]=_0x1a272e,this[_0x537388(0x220)]=_0x3054d5;}[_0x165302(0x2b7)](_0x30d274){const _0x1cb8bf=_0x165302;var _0x5f2f36;const _0x548d3c=this['_injector'][_0x1cb8bf(0x389)](_0x4b63bf),_0x236827=(_0x5f2f36=_0x548d3c[_0x1cb8bf(0x2f0)]())!=null?_0x5f2f36:[];if(_0x236827[_0x1cb8bf(0x23d)]===0x0)return;const _0x34db27=_0x30d274['unitID'],_0x5cacfc=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x34db27,'actions':null,'textRanges':_0x236827}}],_0x1c11f9=this[_0x1cb8bf(0x220)]['transformMutationsWithChangeset'](_0x30d274,_0x5cacfc);if(!_0x49cdb9(_0x1c11f9))throw _0x1c11f9[_0x1cb8bf(0x377)];const _0x3029fd=_0x1c11f9[_0x1cb8bf(0x224)][0x0][_0x1cb8bf(0x286)][_0x1cb8bf(0x324)];Array[_0x1cb8bf(0x34c)](_0x3029fd)&&_0x3029fd[_0x1cb8bf(0x23d)]&&_0x548d3c[_0x1cb8bf(0x380)](_0x3029fd,{'unitId':_0x34db27,'subUnitId':_0x34db27},!0x1);}};ae=un([it(0x0,_0x3a5fa0(_0xc40d8a)),it(0x1,_0x573a14)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x440ffd,_0x3255c6,_0x2c5d3b,_0x330377)=>{for(var _0x26040e=_0x330377>0x1?void 0x0:_0x330377?dn(_0x3255c6,_0x2c5d3b):_0x3255c6,_0x2e18a4=_0x440ffd['length']-0x1,_0x41f0f9;_0x2e18a4>=0x0;_0x2e18a4--)(_0x41f0f9=_0x440ffd[_0x2e18a4])&&(_0x26040e=_0x41f0f9(_0x26040e)||_0x26040e);return _0x26040e;},U=(_0x536667,_0x5f38d8)=>(_0x3c453e,_0x2ce396)=>_0x5f38d8(_0x3c453e,_0x2ce396,_0x536667);let ce=class extends _0x2037ab{constructor(_0x1347ff,_0x4d4c84,_0x28cd61,_0x444c6b,_0x12381e,_0x448193,_0x6095a2,_0x715735){const _0x1aac9f=_0x165302;super(),_(this,_0x1aac9f(0x261),new _0x1fea1c(_0x50886a[_0x1aac9f(0x231)])),(this[_0x1aac9f(0x330)]=_0x1347ff,this[_0x1aac9f(0x239)]=_0x4d4c84,this[_0x1aac9f(0x2ae)]=_0x28cd61,this['_docTransformStateCacheService']=_0x444c6b,this[_0x1aac9f(0x3a1)]=_0x12381e,this[_0x1aac9f(0x1dd)]=_0x448193,this['_messageService']=_0x6095a2,this[_0x1aac9f(0x250)]=_0x715735,this[_0x1aac9f(0x34d)]());}[_0x165302(0x34d)](){const _0x306abc=_0x165302;this['disposeWithMe'](this[_0x306abc(0x239)][_0x306abc(0x257)]['subscribe'](_0x40f35e=>{const _0x1ec45b=_0x306abc,_0x525bec=this[_0x1ec45b(0x330)][_0x1ec45b(0x3d8)]['subscribe'](_0x1b92a3=>{const _0x266c95=_0x1ec45b;if(_0x1b92a3==null)return;const {unitId:_0x1fb18a,redoState:_0x416cb2,commandId:_0x45ce51}=_0x1b92a3;if(_0x1fb18a!==_0x40f35e[_0x266c95(0x29d)])return;const _0x1fd649={'id':_0x45ce51,'type':_0x5c7050[_0x266c95(0x2b6)],'params':{'unitId':_0x1fb18a,'actions':_0x416cb2[_0x266c95(0x2d3)],'textRanges':null}};_0x40f35e['onLocalMutation'](_0x1fd649);});if(_0x40f35e[_0x1ec45b(0x27b)](_0x525bec),_0x40f35e instanceof _0x570454){const _0x739f84={'onTransformIME':_0x48f21c=>this[_0x1ec45b(0x2ae)][_0x1ec45b(0x3df)](_0x48f21c),'onTransformState':_0x5c6590=>this['_docTransformStateCacheService'][_0x1ec45b(0x28e)](_0x5c6590),'onTransformSelections':_0xaf1fe8=>this['_docTransformSelectionsService'][_0x1ec45b(0x2b7)](_0xaf1fe8),'onSyncEditingCollabCursor':_0x1e45fe=>this[_0x1ec45b(0x1dd)][_0x1ec45b(0x2c4)](_0x1e45fe),'onTransformRemoteChangesetByIMECache':_0x41ef50=>this['_docTransformIMECacheService'][_0x1ec45b(0x33e)](_0x41ef50),'onTransformRemoteChangesetByStateCache':_0x42af07=>this[_0x1ec45b(0x35d)][_0x1ec45b(0x33e)](_0x42af07)};_0x40f35e[_0x1ec45b(0x279)](_0x739f84);}}));}};ce=fn([U(0x0,_0x3a5fa0(_0x4baac3)),U(0x1,_0x3a5fa0(_0x369d8d)),U(0x2,_0x3a5fa0(re)),U(0x3,_0x3a5fa0(oe)),U(0x4,_0x3a5fa0(ae)),U(0x5,_0x3a5fa0(je)),U(0x6,_0x4a7122),U(0x7,_0x3a5fa0(_0x324b78))],ce);var Sn=Object[_0x165302(0x2c3)],mn=(_0x20bfa6,_0x5671cc,_0x38dbb1,_0x2a5193)=>{for(var _0x5e4d08=_0x2a5193>0x1?void 0x0:_0x2a5193?Sn(_0x5671cc,_0x38dbb1):_0x5671cc,_0x4a7701=_0x20bfa6['length']-0x1,_0x581fed;_0x4a7701>=0x0;_0x4a7701--)(_0x581fed=_0x20bfa6[_0x4a7701])&&(_0x5e4d08=_0x581fed(_0x5e4d08)||_0x5e4d08);return _0x5e4d08;},be=(_0x1a1ae6,_0x2b63a5)=>(_0x4336ff,_0xb534fc)=>_0x2b63a5(_0x4336ff,_0xb534fc,_0x1a1ae6);let Ae=class extends _0x2037ab{constructor(_0x17c7a9,_0x292846,_0x571d0f){const _0x48dcc7=_0x165302;super(),_(this,_0x48dcc7(0x2e9),new Map()),_(this,_0x48dcc7(0x327),new Map()),_(this,_0x48dcc7(0x23c),!0x1),(this[_0x48dcc7(0x1e8)]=_0x17c7a9,this[_0x48dcc7(0x203)]=_0x292846,this[_0x48dcc7(0x1e2)]=_0x571d0f);}[_0x165302(0x39c)](){const _0x2bd9a4=_0x165302;this[_0x2bd9a4(0x23c)]=!0x0;}[_0x165302(0x369)](){const _0x38a6eb=_0x165302;this[_0x38a6eb(0x23c)]=!0x1;}get['saveTaskMap'](){const _0x67ce0e=_0x165302;return this[_0x67ce0e(0x327)];}[_0x165302(0x24c)](){const _0x18fee9=_0x165302;this[_0x18fee9(0x2cc)]()['then'](()=>super[_0x18fee9(0x24c)]());}async[_0x165302(0x388)](_0x596fc9){const _0x49abab=_0x165302;return this[_0x49abab(0x23c)]?null:this['_localStorageService']['getItem'](_0x18d070(_0x596fc9));}async[_0x165302(0x2b2)](_0xbe5977,_0x1ae5d0){const _0x3128d0=_0x165302;return!!this[_0x3128d0(0x203)][_0x3128d0(0x316)](_0xbe5977,_0x1ae5d0);}[_0x165302(0x331)](_0x16f45b,_0x2e796a,_0x2282c1,_0x3cd06d){const _0x244fc1=_0x165302,_0x4ad46b=this[_0x244fc1(0x1e2)][_0x244fc1(0x2e0)](_0x16f45b);this[_0x244fc1(0x2e9)][_0x244fc1(0x378)](_0x16f45b,{'unitID':_0x16f45b,'type':_0x2e796a,'awaitingChangeset':_0x2282c1,'mutations':_0x3cd06d,'rev':_0x4ad46b}),this['_saveTaskMap'][_0x244fc1(0x281)](_0x16f45b)||this[_0x244fc1(0x390)](_0x16f45b);}['_scheduleSaving'](_0x5485e8){const _0x2417f0=_0x165302,_0x15749a=this[_0x2417f0(0x20a)]();_0x15749a===0x0?this[_0x2417f0(0x25e)](_0x5485e8):this['_saveTaskMap'][_0x2417f0(0x378)](_0x5485e8,setTimeout(()=>this[_0x2417f0(0x25e)](_0x5485e8),_0x15749a));}[_0x165302(0x20a)](){const _0x20ab29=_0x165302;var _0x5ec5f4;return(_0x5ec5f4=this[_0x20ab29(0x1e8)][_0x20ab29(0x1ea)](_0x4da3b8))!=null?_0x5ec5f4:_0x5dcb38;}[_0x165302(0x25e)](_0x5348d0){const _0x3b6aa2=_0x165302,_0x3f1333=this['_saveTaskMap']['get'](_0x5348d0);return _0x3f1333!==void 0x0&&window[_0x3b6aa2(0x234)](_0x3f1333),this[_0x3b6aa2(0x203)][_0x3b6aa2(0x316)](_0x18d070(_0x5348d0),this[_0x3b6aa2(0x2e9)]['get'](_0x5348d0))[_0x3b6aa2(0x293)](()=>this['_saveTaskMap'][_0x3b6aa2(0x2ef)](_0x5348d0));}async[_0x165302(0x2cc)](){const _0x252025=_0x165302,_0x4da121=[];this[_0x252025(0x327)][_0x252025(0x241)]((_0x15d567,_0x25ec94)=>{const _0x4e9701=_0x252025;window['clearTimeout'](_0x15d567),_0x4da121[_0x4e9701(0x238)](this['_saveCache'](_0x25ec94)[_0x4e9701(0x293)](()=>{const _0x3837bc=_0x4e9701;this[_0x3837bc(0x327)][_0x3837bc(0x2ef)](_0x25ec94);}));}),await Promise[_0x252025(0x2d9)](_0x4da121);}};Ae=mn([be(0x0,_0x5ab6ee),be(0x1,_0x4c42a1),be(0x2,_0x3a5fa0(_0x4c9eaa))],Ae);class gn extends _0x276d5f{constructor(){const _0x57089c=_0x165302;super(),_(this,'urlChange$'),this[_0x57089c(0x31b)]=_0x71dd0f(window,'popstate')['pipe'](_0xef8ce0(this[_0x57089c(0x349)]),_0x48c68f(0x1),_0x20d0c6(void 0x0));}[_0x165302(0x2a4)](_0x476cc6,_0x58a966,_0x69727=!0x1){const _0x54aab2=_0x165302,_0x12edde=new URL(window[_0x54aab2(0x374)][_0x54aab2(0x34a)]);_0x12edde['searchParams']['set'](_0x476cc6,_0x58a966),_0x69727?window[_0x54aab2(0x3d2)][_0x54aab2(0x28f)]('','',_0x12edde['toString']()):window[_0x54aab2(0x3d2)][_0x54aab2(0x1db)]('','',_0x12edde[_0x54aab2(0x249)]());}[_0x165302(0x3b2)](_0x29c594,_0x40c538=!0x1){const _0x15258d=_0x165302,_0x37ff52=new URL(window['location'][_0x15258d(0x34a)]);_0x37ff52['searchParams']['delete'](_0x29c594),_0x40c538?window[_0x15258d(0x3d2)][_0x15258d(0x28f)]('','',_0x37ff52[_0x15258d(0x249)]()):window[_0x15258d(0x3d2)]['pushState']('','',_0x37ff52[_0x15258d(0x249)]());}[_0x165302(0x27d)](_0x5cd400){const _0x194852=_0x165302;var _0x11b915;return(_0x11b915=new URL(window[_0x194852(0x374)][_0x194852(0x34a)])[_0x194852(0x269)][_0x194852(0x389)](_0x5cd400))!=null?_0x11b915:void 0x0;}}var vn=Object[_0x165302(0x2cb)],In=Object[_0x165302(0x2c3)],pn=(_0x354934,_0x24f73a,_0x24af6b)=>_0x24f73a in _0x354934?vn(_0x354934,_0x24f73a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24af6b}):_0x354934[_0x24f73a]=_0x24af6b,Cn=(_0x47324b,_0x1b7e66,_0x4747e8,_0x2585ae)=>{const _0x3bf5fe=_0x165302;for(var _0x2ae0ff=_0x2585ae>0x1?void 0x0:_0x2585ae?In(_0x1b7e66,_0x4747e8):_0x1b7e66,_0x375d0f=_0x47324b[_0x3bf5fe(0x23d)]-0x1,_0x52ee3e;_0x375d0f>=0x0;_0x375d0f--)(_0x52ee3e=_0x47324b[_0x375d0f])&&(_0x2ae0ff=_0x52ee3e(_0x2ae0ff)||_0x2ae0ff);return _0x2ae0ff;},Oe=(_0x5a2499,_0x30240b)=>(_0x489c89,_0x289cb1)=>_0x30240b(_0x489c89,_0x289cb1,_0x5a2499),En=(_0x5c7c0b,_0x88f20e,_0x52c073)=>pn(_0x5c7c0b,_0x88f20e+'',_0x52c073);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x28c123{constructor(_0x2781e9=st,_0x240680,_0xd43e85,_0x18cb75){const _0x4cbeb2=_0x165302;super(),this[_0x4cbeb2(0x22f)]=_0x2781e9,this[_0x4cbeb2(0x2a0)]=_0x240680,this[_0x4cbeb2(0x2df)]=_0xd43e85,this['_configService']=_0x18cb75;const {..._0x4d0f13}=_0x5945bc({},st,this[_0x4cbeb2(0x22f)]);this[_0x4cbeb2(0x1e8)][_0x4cbeb2(0x305)](nn,_0x4d0f13);}[_0x165302(0x223)](){const _0x4d1291=_0x165302;this[_0x4d1291(0x221)](),this['_initDependencies']();}[_0x165302(0x275)](){const _0xa3dafd=_0x165302;this[_0xa3dafd(0x355)]();}[_0x165302(0x221)](){const _0x610d6d=_0x165302;var _0x254c5a;const _0x6147f8=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x4cdc0e,{'useClass':_0x5e2267}],[_0x2ae44c,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x48e658(this[_0x610d6d(0x2df)],_0x462440(_0x6147f8,(_0x254c5a=this[_0x610d6d(0x22f)])==null?void 0x0:_0x254c5a['override']));}[_0x165302(0x355)](){const _0x1b7cb5=_0x165302;this[_0x1b7cb5(0x27b)](this[_0x1b7cb5(0x2a0)][_0x1b7cb5(0x253)](_0x9263a3[_0x1b7cb5(0x2bd)],[we])),this[_0x1b7cb5(0x27b)](this[_0x1b7cb5(0x2a0)]['registerRenderModule'](_0x9263a3[_0x1b7cb5(0x313)],[Le]));}[_0x165302(0x319)](){_0x5007e0(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x165302(0x328),bn),ye=Cn([_0x3bd61b(_0x1c74c1),Oe(0x1,_0x4357f9),Oe(0x2,_0x3a5fa0(_0xc40d8a)),Oe(0x3,_0x5ab6ee)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0x3d0b32,_0x127cb6,_0x34c6bc,_0x20b486)=>{const _0x5a6495=_0x165302;for(var _0x1f6d11=_0x20b486>0x1?void 0x0:_0x20b486?On(_0x127cb6,_0x34c6bc):_0x127cb6,_0x569adf=_0x3d0b32[_0x5a6495(0x23d)]-0x1,_0x4b6d29;_0x569adf>=0x0;_0x569adf--)(_0x4b6d29=_0x3d0b32[_0x569adf])&&(_0x1f6d11=_0x4b6d29(_0x1f6d11)||_0x1f6d11);return _0x1f6d11;},z=(_0x2b3ffd,_0x91ebc)=>(_0x35431a,_0x5ce050)=>_0x91ebc(_0x35431a,_0x5ce050,_0x2b3ffd);let nt=class extends _0x51a910{constructor(_0x59fe7d,_0x374103,_0x3cfe1f,_0x279443,_0xad606a){super(_0x59fe7d,_0x374103,_0x3cfe1f,_0x279443,_0xad606a);}async[_0x165302(0x2aa)](_0x357f1d){const _0x3880c4=_0x165302,_0x374085=await this[_0x3880c4(0x3bc)](),_0x2f808f=this['_createSocketURL'](_0x357f1d,_0x374085);return this[_0x3880c4(0x21d)](_0x2f808f);}[_0x165302(0x315)](_0x3d34a9,_0x92fe99){const _0x154e07=_0x165302,_0x1e0e85=typeof window>'u'?new URL(_0x3d34a9):new URL(_0x3d34a9,window[_0x154e07(0x374)]['origin']);_0x1e0e85['searchParams'][_0x154e07(0x378)](_0x154e07(0x398),_0x92fe99);const _0x1371e7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x154e07(0x374)][_0x154e07(0x3a9)]);return _0x1371e7[_0x154e07(0x389)](_0x154e07(0x201))&&_0x1e0e85['searchParams'][_0x154e07(0x378)](_0x154e07(0x201),_0x1371e7[_0x154e07(0x389)](_0x154e07(0x201))),_0x1e0e85['toString']();}async[_0x165302(0x3bc)](){const _0x4f633f=_0x165302;var _0x2db595,_0x58629a,_0x2811d7;const _0x2ae869=this['_configService'][_0x4f633f(0x1ea)](_0x547264),_0xb01550=(_0x2db595=_0x2ae869==null?void 0x0:_0x2ae869[_0x4f633f(0x22a)])!=null?_0x2db595:_0x21d566;return(_0x2811d7=(_0x58629a=(await this[_0x4f633f(0x280)]['get'](_0xb01550,{'headers':{'Content-Type':'application/json'}}))[_0x4f633f(0x202)])==null?void 0x0:_0x58629a[_0x4f633f(0x30f)])!=null?_0x2811d7:'';}};nt=Tn([z(0x0,_0x3a5fa0(_0xc40d8a)),z(0x1,_0x3a5fa0(_0x33875d)),z(0x2,_0x5ab6ee),z(0x3,_0x1a32d5),z(0x4,_0x36f312)],nt);const rt=0x7530,ot=_0x165302(0x27e);class Gn extends _0x2037ab{constructor(){const _0x2b0d6d=_0x165302;super(),_(this,_0x2b0d6d(0x29b),_0x4da350()),_(this,_0x2b0d6d(0x3c0),new Set()),_(this,_0x2b0d6d(0x287),new Map()),_(this,_0x2b0d6d(0x37d),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x2b0d6d(0x35a)]();}[_0x165302(0x24c)](){const _0x56c390=_0x165302;super['dispose'](),this[_0x56c390(0x3c7)][_0x56c390(0x241)]((_0x392536,_0x5bc8c8)=>this[_0x56c390(0x351)](_0x5bc8c8)),this[_0x56c390(0x37d)]&&window[_0x56c390(0x2d7)](this[_0x56c390(0x37d)]);}['getUnitStatus$'](_0x5f0994){return this['_ensureSubject'](_0x5f0994)['pipe'](_0x216524());}['editingUnit'](_0xacdbd6){const _0x5239e7=_0x165302;this[_0x5239e7(0x3c0)]['size']===0x0&&this[_0x5239e7(0x1ed)](),this['_selfUnitIDs'][_0x5239e7(0x1f1)](_0xacdbd6),this[_0x5239e7(0x1f5)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xacdbd6],'isForwarded':!0x1});}[_0x165302(0x22c)](_0x3bea45){const _0x5a57d4=_0x165302;this[_0x5a57d4(0x3c0)][_0x5a57d4(0x2ef)](_0x3bea45),this[_0x5a57d4(0x3c0)]['size']===0x0&&this[_0x5a57d4(0x37d)]&&window[_0x5a57d4(0x2d7)](this[_0x5a57d4(0x37d)]);}[_0x165302(0x35a)](){const _0x40d440=_0x165302;this[_0x40d440(0x27b)](_0x18e45c(_0x71dd0f(window,'storage')[_0x40d440(0x213)](_0x40a388=>{const _0x23a66d=_0x40d440;if(_0x40a388[_0x23a66d(0x21b)]!==ot||!_0x40a388[_0x23a66d(0x27a)])return;const _0x34a553=JSON['parse'](_0x40a388['newValue']);this[_0x23a66d(0x1df)](_0x34a553);}))),window[_0x40d440(0x283)]('unload',()=>this[_0x40d440(0x1f5)]({'type':0x1,'memberID':this[_0x40d440(0x29b)],'unitIDs':Array['from'](this[_0x40d440(0x3c0)])}));}['_handleEvent'](_0x4d5fea){const _0x2756ae=_0x165302;switch(_0x4d5fea['type']){case 0x0:this[_0x2756ae(0x264)](_0x4d5fea);break;case 0x1:this[_0x2756ae(0x32a)](_0x4d5fea);break;case 0x2:this[_0x2756ae(0x258)](_0x4d5fea);break;}}[_0x165302(0x264)](_0xe02ac7){const _0x290fd5=_0x165302,{unitIDs:_0x38a24e,memberID:_0x1f9448,isForwarded:_0x5b4445}=_0xe02ac7;_0x38a24e[_0x290fd5(0x241)](_0x5f0f13=>{const _0xe7bb55=_0x290fd5;if(!_0x5b4445&&this[_0xe7bb55(0x287)]['has'](_0x5f0f13)&&this[_0xe7bb55(0x352)](_0x5f0f13)[_0xe7bb55(0x3d0)](_0x3c714e['OTHER_CLIENTS_EDITING']),!this[_0xe7bb55(0x287)][_0xe7bb55(0x281)](_0x5f0f13)||!this[_0xe7bb55(0x287)][_0xe7bb55(0x389)](_0x5f0f13)[_0xe7bb55(0x281)](_0x1f9448)){const _0x4dd4b2=this[_0xe7bb55(0x287)][_0xe7bb55(0x389)](_0x5f0f13)||new Set();_0x4dd4b2[_0xe7bb55(0x1f1)](_0x1f9448),this[_0xe7bb55(0x287)][_0xe7bb55(0x378)](_0x5f0f13,_0x4dd4b2),this[_0xe7bb55(0x370)](_0x1f9448);}}),_0x5b4445||this['_send']({'type':0x0,'memberID':this[_0x290fd5(0x29b)],'unitIDs':[...this[_0x290fd5(0x3c0)]],'isForwarded':!0x0});}[_0x165302(0x370)](_0x2ce00e){const _0x531363=_0x165302;this[_0x531363(0x351)](_0x2ce00e);const _0x41bdb1=window[_0x531363(0x2e7)](()=>{const _0x251508=_0x531363;this[_0x251508(0x287)][_0x251508(0x241)](_0x697f62=>{const _0x90ed09=_0x251508;_0x697f62[_0x90ed09(0x2ef)](_0x2ce00e);});},rt*0x2);this[_0x531363(0x3c7)][_0x531363(0x378)](_0x2ce00e,_0x41bdb1);}[_0x165302(0x351)](_0x37799c){const _0x530265=_0x165302;if(this[_0x530265(0x3c7)][_0x530265(0x281)](_0x37799c)){const _0x4a7a82=this[_0x530265(0x3c7)]['get'](_0x37799c);_0x4a7a82&&window[_0x530265(0x234)](_0x4a7a82),this[_0x530265(0x3c7)]['set'](_0x37799c,null);}}[_0x165302(0x32a)](_0x2dfb7d){const _0x228892=_0x165302,{memberID:_0x55ad72,unitIDs:_0xd2c31}=_0x2dfb7d;_0xd2c31[_0x228892(0x241)](_0x57ea8a=>{const _0x2dfb69=_0x228892;var _0x5ecd49;const _0x59856a=this['_unitOnClients']['get'](_0x57ea8a);_0x59856a&&(_0x59856a['delete'](_0x55ad72),(_0x5ecd49=this[_0x2dfb69(0x352)](_0x57ea8a))==null||_0x5ecd49[_0x2dfb69(0x3d0)](_0x59856a[_0x2dfb69(0x2f5)]===0x0?_0x3c714e['NO_OTHER_CLIENTS_EDITING']:_0x3c714e[_0x2dfb69(0x2ca)]));}),this[_0x228892(0x351)](_0x55ad72);}['_handleHeartbeatEvent'](_0x255ed2){const _0x450b57=_0x165302;this[_0x450b57(0x370)](_0x255ed2[_0x450b57(0x1e6)]);}[_0x165302(0x1f5)](_0x3fd0af){const _0x242adb=_0x165302;localStorage[_0x242adb(0x316)](ot,JSON[_0x242adb(0x336)](_0x3fd0af));}[_0x165302(0x1ed)](){const _0x2c492a=_0x165302;this[_0x2c492a(0x37d)]=window[_0x2c492a(0x27f)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},rt);}[_0x165302(0x352)](_0x243ce9){const _0x498bab=_0x165302;return this[_0x498bab(0x2e3)][_0x498bab(0x281)](_0x243ce9)||this['_unitStatus'][_0x498bab(0x378)](_0x243ce9,new _0x1fea1c(_0x3c714e['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x498bab(0x389)](_0x243ce9);}}var wt=(_0x18a827=>(_0x18a827[_0x18a827[_0x165302(0x339)]=0x0]=_0x165302(0x339),_0x18a827[_0x18a827['OK']=0x1]='OK',_0x18a827[_0x18a827[_0x165302(0x1dc)]=0x2]=_0x165302(0x1dc),_0x18a827[_0x18a827['PERMISSION_DENIED']=0x3]=_0x165302(0x341),_0x18a827[_0x18a827[_0x165302(0x291)]=0x4]='NOT_FOUND',_0x18a827[_0x18a827['UNAUTHENTICATED']=0x5]=_0x165302(0x22d),_0x18a827[_0x18a827[_0x165302(0x32d)]=0x6]=_0x165302(0x32d),_0x18a827[_0x18a827[_0x165302(0x326)]=0x7]=_0x165302(0x326),_0x18a827[_0x18a827[_0x165302(0x259)]=0x8]=_0x165302(0x259),_0x18a827[_0x18a827['COMPLETION_FINISHED']=0x9]=_0x165302(0x2bb),_0x18a827[_0x18a827[_0x165302(0x2a6)]=0xa]=_0x165302(0x2a6),_0x18a827[_0x18a827['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x165302(0x344),_0x18a827[_0x18a827[_0x165302(0x2c6)]=0x1771]=_0x165302(0x2c6),_0x18a827[_0x18a827[_0x165302(0x296)]=0x1772]=_0x165302(0x296),_0x18a827[_0x18a827[_0x165302(0x21e)]=0x1773]=_0x165302(0x21e),_0x18a827[_0x18a827[_0x165302(0x20b)]=0x1b59]='APPLY_REJECT',_0x18a827[_0x18a827[_0x165302(0x2ec)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x18a827[_0x18a827[_0x165302(0x1ee)]=0x1b5b]=_0x165302(0x1ee),_0x18a827[_0x18a827[_0x165302(0x3a5)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x18a827[_0x18a827[_0x165302(0x1fa)]=0x1b5d]='APPLY_DUPLICATED',_0x18a827[_0x18a827[_0x165302(0x23f)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x18a827[_0x18a827[_0x165302(0x3dd)]=0x2329]=_0x165302(0x3dd),_0x18a827[_0x18a827[_0x165302(0x38e)]=0x232a]=_0x165302(0x38e),_0x18a827[_0x18a827[_0x165302(0x3a7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x18a827[_0x18a827[_0x165302(0x2d8)]=0x232c]=_0x165302(0x2d8),_0x18a827[_0x18a827['LICENSE_DISTRO_REJECTED']=0x232d]=_0x165302(0x25b),_0x18a827[_0x18a827[_0x165302(0x2fa)]=0x2711]=_0x165302(0x2fa),_0x18a827[_0x18a827[_0x165302(0x3a4)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x18a827[_0x18a827['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x165302(0x2c0),_0x18a827[_0x18a827[_0x165302(0x235)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x18a827[_0x18a827[_0x165302(0x382)]=0x271a]=_0x165302(0x382),_0x18a827[_0x18a827[_0x165302(0x3c5)]=0x271b]=_0x165302(0x3c5),_0x18a827[_0x18a827[_0x165302(0x29f)]=0x2af9]=_0x165302(0x29f),_0x18a827[_0x18a827[_0x165302(0x295)]=0x2ee1]=_0x165302(0x295),_0x18a827[_0x18a827[_0x165302(0x217)]=0x2ee2]=_0x165302(0x217),_0x18a827[_0x18a827['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x18a827[_0x18a827['USER_NOT_INVITED_CODE']=0x2ee4]=_0x165302(0x2f8),_0x18a827[_0x18a827[_0x165302(0x212)]=0x2ee5]=_0x165302(0x212),_0x18a827[_0x18a827[_0x165302(0x3b8)]=0x32c9]=_0x165302(0x3b8),_0x18a827[_0x18a827[_0x165302(0x333)]=0x32ca]=_0x165302(0x333),_0x18a827[_0x18a827[_0x165302(0x2c9)]=0x32cb]=_0x165302(0x2c9),_0x18a827[_0x18a827[_0x165302(0x3bd)]=-0x1]='UNRECOGNIZED',_0x18a827))(wt||{}),Rn=Object[_0x165302(0x2c3)],Dn=(_0x83e589,_0x5468cc,_0x3d728f,_0x229552)=>{const _0xb1c17a=_0x165302;for(var _0x1ed4b1=_0x229552>0x1?void 0x0:_0x229552?Rn(_0x5468cc,_0x3d728f):_0x5468cc,_0x2e9a3c=_0x83e589[_0xb1c17a(0x23d)]-0x1,_0x182d1e;_0x2e9a3c>=0x0;_0x2e9a3c--)(_0x182d1e=_0x83e589[_0x2e9a3c])&&(_0x1ed4b1=_0x182d1e(_0x1ed4b1)||_0x1ed4b1);return _0x1ed4b1;},Te=(_0x32b1b4,_0x33e5a6)=>(_0x4cd3b6,_0x44d4d7)=>_0x33e5a6(_0x4cd3b6,_0x44d4d7,_0x32b1b4);let at=class extends _0x2037ab{constructor(_0x5e9c4c,_0xe75933,_0x5f4ef6){const _0xbda5b4=_0x165302;super(),this[_0xbda5b4(0x362)]=_0x5e9c4c,this[_0xbda5b4(0x280)]=_0xe75933,this[_0xbda5b4(0x1e8)]=_0x5f4ef6;}async['runOnServer'](_0x21d6ab,_0x3b29b3,_0x3f0f0,..._0x4e3322){const _0x2a091e=_0x165302;var _0x1568f3,_0x34650a,_0x5117b5,_0x260721;const _0x9ab2c5=this[_0x2a091e(0x362)][_0x2a091e(0x1e4)]();if(!_0x9ab2c5)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x51d85a=((_0x1568f3=this[_0x2a091e(0x1e8)][_0x2a091e(0x1ea)](_0x38cec9))!=null?_0x1568f3:_0x195442)+'/'+_0x21d6ab+'/run/'+_0x3b29b3,_0x58959b=new URL(window[_0x2a091e(0x374)][_0x2a091e(0x34a)]),_0x342e87={'scriptId':_0x21d6ab,'runId':(_0x34650a=_0x58959b[_0x2a091e(0x269)][_0x2a091e(0x389)](_0x2a091e(0x201)))!=null?_0x34650a:'','function':_0x3b29b3,'unitId':_0x9ab2c5[_0x2a091e(0x290)](),'argsOfFunction':JSON['stringify'](_0x4e3322),'invokeId':(_0x5117b5=_0x3f0f0[_0x2a091e(0x2f2)])!=null?_0x5117b5:'','executionId':(_0x260721=_0x3f0f0[_0x2a091e(0x34e)])!=null?_0x260721:''};try{const _0x539925=await this[_0x2a091e(0x280)][_0x2a091e(0x2f4)](_0x51d85a,{'body':_0x342e87});return _0x539925[_0x2a091e(0x202)][_0x2a091e(0x377)]&&_0x539925[_0x2a091e(0x202)]['error'][_0x2a091e(0x205)]!==wt['OK']?_0x2a091e(0x323):_0x539925[_0x2a091e(0x202)][_0x2a091e(0x2dd)];}catch{return _0x2a091e(0x323);}}};at=Dn([Te(0x0,_0x1c0225),Te(0x1,_0x3a5fa0(_0x33875d)),Te(0x2,_0x5ab6ee)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x989fca=_0x20af;(function(_0x70b5b1,_0x19feb8){const _0x458f85=_0x20af,_0x4e0be7=_0x70b5b1();while(!![]){try{const _0x54e441=-parseInt(_0x458f85(0x188))/0x1+-parseInt(_0x458f85(0x13e))/0x2+-parseInt(_0x458f85(0x1d9))/0x3+parseInt(_0x458f85(0xa0))/0x4+-parseInt(_0x458f85(0x257))/0x5+parseInt(_0x458f85(0x1c0))/0x6*(-parseInt(_0x458f85(0x253))/0x7)+-parseInt(_0x458f85(0x1f7))/0x8*(-parseInt(_0x458f85(0x11e))/0x9);if(_0x54e441===_0x19feb8)break;else _0x4e0be7['push'](_0x4e0be7['shift']());}catch(_0x5e4d31){_0x4e0be7['push'](_0x4e0be7['shift']());}}}(_0xaf35,0x200dd));var $t=Object[_0x989fca(0xc3)],xt=(_0x14cc47,_0x4c7be4,_0x449f59)=>_0x4c7be4 in _0x14cc47?$t(_0x14cc47,_0x4c7be4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x449f59}):_0x14cc47[_0x4c7be4]=_0x449f59,_=(_0x104c4b,_0x5a4aa1,_0x18255c)=>xt(_0x104c4b,typeof _0x5a4aa1!=_0x989fca(0x13d)?_0x5a4aa1+'':_0x5a4aa1,_0x18255c);import{MemberService as _0x43c796,SessionStatus as _0x5ba384,CollaborationSessionService as _0x5ece21,CollaborationStatus as _0x54df20,CollaborationController as _0x9f0db8,ILocalCacheService as _0x543569,CollaborationUIEventService as _0x1dc644,CollaborationUIEventId as _0x388f51,DataLoaderService as _0x49e58e,DocCollaborationEntity as _0x1f620d,getLocalCacheKey as _0x34f41a,LOCAL_CACHE_INTERVAL as _0x5ce63f,LOCAL_CACHE_INTERVAL_KEY as _0x59ea5d,UniverCollaborationClientPlugin as _0x3addc0,CollaborationSocketService as _0x1faba7,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2b9f09,DEFAULT_WS_SESSION_TICKET_URL as _0x1db4ea,UnitStatus as _0x26269e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x7f89b6,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1c1d6c}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5c3cd6,Disposable as _0x13eb4b,DOC_RANGE_TYPE as _0x4f660f,Inject as _0x57fbba,Injector as _0x4ad95e,IUniverInstanceService as _0x2844bb,ICommandService as _0x3771c6,debounce as _0x350852,Rectangle as _0x51e76b,DisposableCollection as _0x3ffede,toDisposable as _0x5b0cc1,UniverInstanceType as _0x5a554e,Tools as _0x13a68d,COLORS as _0x415b02,ColorKit as _0xefe396,ThemeService as _0x2149c0,fromEventSubject as _0x4c17cc,LocaleService as _0x15277a,createIdentifier as _0x354636,ILogService as _0x4bd942,Optional as _0x355fc5,Workbook as _0x55727c,CommandType as _0x2a2be4,IConfigService as _0x7fd8c8,ILocalStorageService as _0x3e9d49,DependentOn as _0x2fa566,Plugin as _0x26cf55,merge as _0x3f6db5,registerDependencies as _0x7b861d,mergeOverrideWithDependencies as _0x5248f5,touchDependencies as _0x2c0a79,generateRandomId as _0x4476da}from'@univerjs/core';import{Shape as _0xae135c,Rect as _0x38ea81,getColor as _0x55e9ad,RegularPolygon as _0x3407fa,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1d65e2,Vector2 as _0x59d279,SHEET_VIEWPORT_KEY as _0x48bc96,IRenderManagerService as _0x8b70ca}from'@univerjs/engine-render';import{ISocketService as _0x2a5132,WebSocketService as _0x796951,HTTPService as _0x58b575}from'@univerjs/network';import{IDocClipboardService as _0x1fbbe9,NodePositionConvertToCursor as _0x1a424d,NodePositionConvertToRectRange as _0x1f101c,TEXT_RANGE_LAYER_INDEX as _0x3131b1,SetDocZoomRatioOperation as _0x33fa92,DocIMEInputManagerService as _0x140742,DocStateChangeManagerService as _0x378cfb}from'@univerjs/docs-ui';import{IImageIoService as _0x4d3021}from'@univerjs/drawing';import{BehaviorSubject as _0x139555,debounceTime as _0x351b82,takeUntil as _0xdd7600,Subject as _0x597c59,filter as _0x29f3eb,switchMap as _0x4fd599,merge as _0x2731fa,combineLatest as _0x4d9839,of as _0x5b1fce,fromEvent as _0x53231d,shareReplay as _0x133603,mapTo as _0x37d42e,distinctUntilChanged as _0x44d665}from'rxjs';import{SetTextSelectionsOperation as _0x2f0a29,RichTextEditingMutation as _0x3ea81e,DocSelectionManagerService as _0x17fdd8,DocSkeletonManagerService as _0x526abb}from'@univerjs/docs';import{ITransformService as _0x3633e6,CollaborationEvent as _0x303067,isTransformMutationFailure as _0x2eef86,isTransformMutationsWithChangesetSuccess as _0x2d9162,RevisionService as _0x5cedde,ISnapshotServerService as _0x43bb1a}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x48935f,serializeRangeWithSheet as _0x187238}from'@univerjs/engine-formula';import{RefRangeService as _0x726455,SetSelectionsOperation as _0x394a52,SheetsSelectionsService as _0x3f96e6,EffectRefRangId as _0x5651eb,handleIRemoveRow as _0x4fe54f,handleIRemoveCol as _0xcfa26f,handleMoveRange as _0x347b65,handleInsertRow as _0x56cb36,handleInsertRangeMoveRight as _0xf7d30f,handleInsertRangeMoveDown as _0x576435,handleInsertCol as _0x54000b,handleDeleteRangeMoveUp as _0x55074a,handleDeleteRangeMoveLeft as _0x4db94a,runRefRangeMutations as _0x380c36,SetWorksheetActivateCommand as _0x6074db}from'@univerjs/sheets';import{map as _0x13182b,filter as _0x2af558,throttleTime as _0x405d7b,takeUntil as _0x4051ad,switchMap as _0x43e0d5}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3825db,getCoordByCell as _0x11bbc3,getSheetObject as _0x46f3ee}from'@univerjs/sheets-ui';import{jsx as _0x5d6da8,jsxs as _0x490309}from'react/jsx-runtime';import{useObservable as _0x511b92,useDependency as _0x361a52,IUIPartsService as _0x2966af,BuiltInUIPart as _0x5541e9,connectInjector as _0x492f4c,IBeforeCloseService as _0x472038,IMessageService as _0x108e76,INotificationService as _0xdf20a6}from'@univerjs/ui';import{Tooltip as _0x6e752d,clsx as _0x24ecfd,MessageType as _0x339cf3}from'@univerjs/design';import{forwardRef as _0x16e3b0,useRef as _0x3088c6,createElement as _0x2c40f,useCallback as _0x32e065}from'react';import{IRemoteInstanceService as _0x26c1c6}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x2f7e98,_0x441131,_0x312d07,_0x26437e)=>{for(var _0x127ce5=_0x26437e>0x1?void 0x0:_0x26437e?ci(_0x441131,_0x312d07):_0x441131,_0x423d87=_0x2f7e98['length']-0x1,_0x5d8f37;_0x423d87>=0x0;_0x423d87--)(_0x5d8f37=_0x2f7e98[_0x423d87])&&(_0x127ce5=_0x5d8f37(_0x127ce5)||_0x127ce5);return _0x127ce5;},Je=(_0x5d55f5,_0x2e1563)=>(_0x1951ae,_0x42734d)=>_0x2e1563(_0x1951ae,_0x42734d,_0x5d55f5);let Ne=class extends _0x5c3cd6{constructor(_0x4d7619,_0x529438){const _0x16f32e=_0x989fca;super(),this[_0x16f32e(0x8a)]=_0x4d7619,this[_0x16f32e(0xf2)]=_0x529438,this[_0x16f32e(0x232)]();}[_0x989fca(0x232)](){const _0x331968=_0x989fca,_0xa69d52=this;this['disposeWithMe'](this['_docClipboardService'][_0x331968(0x156)]({'onBeforePasteImage':async _0x137262=>{const _0x48a2a4=_0x331968,_0x47cef5=await _0xa69d52['_imageIoService'][_0x48a2a4(0x198)](_0x137262);return _0x47cef5?{'source':_0x47cef5[_0x48a2a4(0x176)],'imageSourceType':_0x47cef5[_0x48a2a4(0x139)]}:null;}}));}};Ne=li([Je(0x0,_0x1fbbe9),Je(0x1,_0x4d3021)],Ne);const Ze=[_0x989fca(0x10f),_0x989fca(0x85),_0x989fca(0xe5),_0x989fca(0x25d),_0x989fca(0x9b),_0x989fca(0x1e1)];class ke extends _0x13eb4b{constructor(){const _0x3df0fe=_0x989fca;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x3df0fe(0xbf),0x0);}[_0x989fca(0x93)](_0x5831c5){const _0x68d54b=_0x989fca;if(this[_0x68d54b(0x1f9)]['has'](_0x5831c5))return this[_0x68d54b(0x1f9)][_0x68d54b(0x175)](_0x5831c5);const _0x376d14=Ze[this[_0x68d54b(0xbf)]];return this[_0x68d54b(0xbf)]=(this['_colorIndex']+0x1)%Ze[_0x68d54b(0x10c)],this[_0x68d54b(0x1f9)][_0x68d54b(0x8d)](_0x5831c5,_0x376d14),_0x376d14;}}function Tt(_0x714d7b){let _0xc74d66='';for(const _0x2c01fe of _0x714d7b){const {startOffset:_0x257dec,endOffset:_0x169eef,isActive:_0x677886,rangeType:_0x2de30d,segmentId:_0x4197e6,segmentPage:_0x5ac2c6}=_0x2c01fe;_0xc74d66['length']&&(_0xc74d66+=','),_0xc74d66+=_0x257dec+':'+_0x169eef+':'+(_0x677886?'1':'0')+':'+_0x2de30d+':'+_0x4197e6+':'+_0x5ac2c6;}return _0xc74d66;}function _0x20af(_0x48fdc9,_0x3e5a6c){const _0xaf3558=_0xaf35();return _0x20af=function(_0x20af43,_0x51a738){_0x20af43=_0x20af43-0x7b;let _0x1d4b85=_0xaf3558[_0x20af43];return _0x1d4b85;},_0x20af(_0x48fdc9,_0x3e5a6c);}function _i(_0x1f6202){const _0x111407=_0x989fca,_0x552cf5=_0x1f6202[_0x111407(0x112)](','),_0x42cff0=[];for(const _0x107e0b of _0x552cf5){const [_0x41acf5,_0x40ca41,_0xa96bfb,_0x3620ea,_0x28d146,_0x55d928]=_0x107e0b[_0x111407(0x112)](':');_0x42cff0[_0x111407(0x9e)]({'startOffset':Number(_0x41acf5),'endOffset':Number(_0x40ca41),'collapsed':_0x41acf5===_0x40ca41,'isActive':_0xa96bfb==='1','rangeType':_0x3620ea===_0x4f660f[_0x111407(0x221)]?_0x4f660f['TEXT']:_0x4f660f[_0x111407(0x25b)],'segmentId':typeof _0x28d146==_0x111407(0x111)?String(_0x28d146):'','segmentPage':Number(_0x55d928!=null?_0x55d928:-0x1)});}return _0x42cff0['some'](_0xe8a8fb=>_0xe8a8fb[_0x111407(0xec)])||(_0x42cff0[0x0][_0x111407(0xec)]=!0x0),_0x42cff0;}class He extends _0x5c3cd6{constructor(){const _0x47de20=_0x989fca;super(...arguments),_(this,_0x47de20(0x262),new _0x139555(null)),_(this,_0x47de20(0x248),this[_0x47de20(0x262)][_0x47de20(0x1ae)]());}[_0x989fca(0x1ce)](_0x365009){const _0x338498=_0x989fca,{unitID:_0x224b74,memberID:_0x1ac31d,textRanges:_0x290276}=_0x365009,_0x58c134=Tt(_0x290276);if(_0x58c134==='')return;const _0xfb53c9={'unitID':_0x224b74,'memberID':_0x1ac31d,'selection':_0x58c134};this[_0x338498(0x262)]['next'](_0xfb53c9);}}var hi=Object[_0x989fca(0x185)],ui=(_0x1cd384,_0x395b28,_0xf89217,_0x3db624)=>{const _0x382724=_0x989fca;for(var _0x202a99=_0x3db624>0x1?void 0x0:_0x3db624?hi(_0x395b28,_0xf89217):_0x395b28,_0x137d09=_0x1cd384[_0x382724(0x10c)]-0x1,_0x41b4d2;_0x137d09>=0x0;_0x137d09--)(_0x41b4d2=_0x1cd384[_0x137d09])&&(_0x202a99=_0x41b4d2(_0x202a99)||_0x202a99);return _0x202a99;},w=(_0x11a405,_0x5aed3d)=>(_0x453259,_0x3e150d)=>_0x5aed3d(_0x453259,_0x3e150d,_0x11a405);const di=0x12c,fi=0x64;let Ue=class extends _0x5c3cd6{constructor(_0x54df4b,_0x4bc0a7,_0x58fde5,_0x241e1c,_0x466721,_0x158dda,_0x38a5dd,_0x5111e2,_0x380116){const _0x2fea89=_0x989fca;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x2fea89(0x1e4),new _0x139555(new Map())),_(this,_0x2fea89(0x101),this['_cursorInfo$']['asObservable']()),_(this,_0x2fea89(0x7c),new _0x139555([])),_(this,_0x2fea89(0x16b),this['_roomMembers$'][_0x2fea89(0x27c)](_0x351b82(di))),_(this,_0x2fea89(0x1d3),_0x350852(_0x3251e6=>{const _0x1e7f48=_0x2fea89,_0x26311d={'eventID':_0x303067[_0x1e7f48(0xde)],'data':{'unitID':this[_0x1e7f48(0x1df)],'memberID':this[_0x1e7f48(0x92)]['getMemberID'](),'selection':Tt(_0x3251e6)}};this[_0x1e7f48(0x92)][_0x1e7f48(0xc6)](_0x26311d,this['unitID']);},fi)),(this[_0x2fea89(0x1df)]=_0x54df4b,this[_0x2fea89(0x92)]=_0x4bc0a7,this[_0x2fea89(0x1e7)]=_0x58fde5,this[_0x2fea89(0x1db)]=_0x241e1c,this[_0x2fea89(0x1ef)]=_0x466721,this[_0x2fea89(0xf7)]=_0x158dda,this[_0x2fea89(0x160)]=_0x38a5dd,this[_0x2fea89(0x26e)]=_0x5111e2,this[_0x2fea89(0x16a)]=_0x380116);}get[_0x989fca(0xa7)](){const _0x15ddca=_0x989fca;return this[_0x15ddca(0x1e4)][_0x15ddca(0x1e6)]();}get['roomMembers'](){const _0x124e24=_0x989fca;return this[_0x124e24(0x7c)][_0x124e24(0x1e6)]();}[_0x989fca(0x1fc)](){const _0x5b640d=_0x989fca;super[_0x5b640d(0x1fc)](),this['_cursorInfo$'][_0x5b640d(0x250)](new Map()),this[_0x5b640d(0x1e4)][_0x5b640d(0x11f)](),this['_roomMembers$'][_0x5b640d(0x250)]([]),this['_roomMembers$'][_0x5b640d(0x11f)]();}[_0x989fca(0x24f)](){const _0x1c0b16=_0x989fca;this[_0x1c0b16(0x232)]||(this[_0x1c0b16(0x232)]=!0x0,this[_0x1c0b16(0x92)][_0x1c0b16(0x1f1)]['pipe'](_0xdd7600(this[_0x1c0b16(0x224)]))[_0x1c0b16(0xa9)](_0x4606e9=>{const _0x383dc9=_0x1c0b16;_0x4606e9===_0x5ba384[_0x383dc9(0x13b)]?this['_toggleOnline']():this[_0x383dc9(0x266)]();}),this[_0x1c0b16(0x92)]['event$']['pipe'](_0xdd7600(this[_0x1c0b16(0x224)]))['subscribe'](_0x118910=>{const _0x4c6e80=_0x1c0b16,_0x312942=_0x118910[_0x4c6e80(0x206)];_0x312942===_0x303067[_0x4c6e80(0xde)]&&this[_0x4c6e80(0x15d)](_0x118910),_0x312942===_0x303067[_0x4c6e80(0x23c)]&&this[_0x4c6e80(0x261)](_0x118910);}),this['disposeWithMe'](this[_0x1c0b16(0x16a)][_0x1c0b16(0x1a1)](_0x3f5033=>{const _0x520ab8=_0x1c0b16,_0x11a484=_0x3f5033[_0x520ab8(0x1a0)];_0x11a484!=null&&this['_online']&&_0x3f5033['id']===_0x2f0a29['id']&&_0x11a484['unitId']===this[_0x520ab8(0x1df)]&&_0x11a484[_0x520ab8(0x137)]===!0x1&&_0x11a484['ranges'][_0x520ab8(0x10c)]>0x0&&this[_0x520ab8(0x1d3)](_0x11a484[_0x520ab8(0x1b6)]);})),this['_syncEditingCollabCursorService'][_0x1c0b16(0x248)][_0x1c0b16(0x27c)](_0xdd7600(this[_0x1c0b16(0x224)]))[_0x1c0b16(0xa9)](_0x5193e3=>{const _0x3fa3f0=_0x1c0b16;if((_0x5193e3==null?void 0x0:_0x5193e3['unitID'])!==this[_0x3fa3f0(0x1df)])return;const _0x5bfd92={'eventID':_0x303067[_0x3fa3f0(0xde)],'data':_0x5193e3};this[_0x3fa3f0(0x15d)](_0x5bfd92);}),this[_0x1c0b16(0x80)](this[_0x1c0b16(0x16a)][_0x1c0b16(0x1a1)](_0x254d51=>{const _0x4b2e01=_0x1c0b16;if(_0x254d51['params']==null)return;const _0x2f524a=_0x254d51[_0x4b2e01(0x1a0)];if(_0x254d51['id']!==_0x3ea81e['id']||_0x2f524a[_0x4b2e01(0x27d)]!==this['unitID'])return;const _0x362c3b={'id':_0x4b2e01(0x130),'params':_0x2f524a},_0x40eb31=this[_0x4b2e01(0xa7)];for(const [_0x2e52ff,_0x21212c]of _0x40eb31){const _0x3cf8b5={'id':_0x4b2e01(0x130),'params':{'unitId':this[_0x4b2e01(0x1df)],'actions':null,'textRanges':_0x21212c[_0x4b2e01(0x1b6)]}},_0x2da8cc=this[_0x4b2e01(0x160)][_0x4b2e01(0x165)](_0x362c3b,_0x3cf8b5,!0x1);if(_0x2eef86(_0x2da8cc))throw _0x2da8cc[_0x4b2e01(0x1dd)];_0x40eb31[_0x4b2e01(0x8d)](_0x2e52ff,{..._0x21212c,'ranges':_0x2da8cc[_0x4b2e01(0x24c)]['params'][_0x4b2e01(0x251)]});}queueMicrotask(()=>{const _0x3a9b7a=_0x4b2e01;this[_0x3a9b7a(0x1e4)][_0x3a9b7a(0x250)](_0x40eb31);});})));}[_0x989fca(0x15d)](_0x4ab2f1){const _0x57c73e=_0x989fca;var _0x293a13,_0x2faed4;const {memberID:_0xd5480,selection:_0x8a411e}=_0x4ab2f1['data'],_0x4ca4a8=_i(_0x8a411e),_0x1e76dc=(_0x2faed4=(_0x293a13=this[_0x57c73e(0x1ef)][_0x57c73e(0x23b)](this[_0x57c73e(0x1df)],_0xd5480))==null?void 0x0:_0x293a13[_0x57c73e(0x17e)])!=null?_0x2faed4:_0x57c73e(0xcc),_0x4649ed={'color':this[_0x57c73e(0x1db)]['assignAColorForMemberID'](_0xd5480),'name':_0x1e76dc,'ranges':_0x4ca4a8},_0x61fd11=this[_0x57c73e(0xa7)];_0x61fd11['set'](_0xd5480,_0x4649ed),this['_cursorInfo$'][_0x57c73e(0x250)](_0x61fd11);}[_0x989fca(0x261)](_0xbb4eb0){const _0xdf279e=_0x989fca,{memberID:_0xeba332}=_0xbb4eb0[_0xdf279e(0x200)],_0x2eaf2c=this[_0xdf279e(0xa7)];_0x2eaf2c['delete'](_0xeba332),this[_0xdf279e(0x1e4)][_0xdf279e(0x250)](_0x2eaf2c);}[_0x989fca(0x16f)](){const _0x250bfe=_0x989fca;var _0x18c7c4;if(this['_online']=!0x0,((_0x18c7c4=this['_univerInstanceService'][_0x250bfe(0x109)]())==null?void 0x0:_0x18c7c4[_0x250bfe(0x11c)]())!==this[_0x250bfe(0x1df)])return;const _0xfc779b=this[_0x250bfe(0x1e7)][_0x250bfe(0x175)](_0x17fdd8)['getDocRanges']();Array[_0x250bfe(0x1bf)](_0xfc779b)&&_0xfc779b[_0x250bfe(0x10c)]>0x0&&this['_updateLocalCursor'](_0xfc779b);}[_0x989fca(0x266)](){const _0x8e1d13=_0x989fca;this[_0x8e1d13(0x21c)]=!0x1;}};Ue=ui([w(0x2,_0x57fbba(_0x4ad95e)),w(0x3,_0x57fbba(ke)),w(0x4,_0x57fbba(_0x43c796)),w(0x5,_0x57fbba(He)),w(0x6,_0x3633e6),w(0x7,_0x2844bb),w(0x8,_0x3771c6)],Ue);var Si=Object[_0x989fca(0x185)],mi=(_0x14c72e,_0x468df2,_0x54111b,_0x56b238)=>{for(var _0x47111e=_0x56b238>0x1?void 0x0:_0x56b238?Si(_0x468df2,_0x54111b):_0x468df2,_0x1e6823=_0x14c72e['length']-0x1,_0x4201d7;_0x1e6823>=0x0;_0x1e6823--)(_0x4201d7=_0x14c72e[_0x1e6823])&&(_0x47111e=_0x4201d7(_0x47111e)||_0x47111e);return _0x47111e;},x=(_0x1c328c,_0x401d5e)=>(_0x3e87fd,_0x3db288)=>_0x401d5e(_0x3e87fd,_0x3db288,_0x1c328c);const gi=0x12c,vi=0x64,Ii=()=>{let _0xcb69f0=[],_0x149530=!0x1;return _0x471c3c=>{const _0x1adf14=_0x20af;_0xcb69f0[_0x1adf14(0x9e)](_0x471c3c),_0x149530||(_0x149530=!0x0,setTimeout(()=>{const _0x2daa1e=_0x1adf14;_0xcb69f0[_0x2daa1e(0x20f)](_0x59f837=>_0x59f837()),_0xcb69f0=[],_0x149530=!0x1;}));};};let Me=class extends _0x5c3cd6{constructor(_0x1f1201,_0x4d0ce7,_0x592458,_0x3073ae,_0x11c3f6,_0x3ff682,_0x1053e6,_0x244d3c){const _0x25ebc1=_0x989fca;super(),_(this,_0x25ebc1(0x21c),!0x1),_(this,_0x25ebc1(0x232),!0x1),_(this,'_cursorInfo$',new _0x139555(new Map())),_(this,_0x25ebc1(0x101),this[_0x25ebc1(0x1e4)][_0x25ebc1(0x1ae)]()),_(this,'_roomMembers$',new _0x139555([])),_(this,_0x25ebc1(0x16b),this['_roomMembers$'][_0x25ebc1(0x27c)](_0x351b82(gi))),_(this,_0x25ebc1(0x1d3),_0x350852((_0x58b950,_0x5d34ad)=>{const _0xe7eab2=_0x25ebc1,_0x137745={'eventID':_0x303067['UPDATE_CURSOR'],'data':{'unitID':this[_0xe7eab2(0x1df)],'memberID':this[_0xe7eab2(0x92)]['getMemberID'](),'selection':_0x187238(_0x58b950,_0x5d34ad[_0xe7eab2(0xc2)])}};this[_0xe7eab2(0x92)]['send'](_0x137745,this[_0xe7eab2(0x1df)]);},vi)),(this['unitID']=_0x1f1201,this[_0x25ebc1(0x92)]=_0x4d0ce7,this['_injector']=_0x592458,this[_0x25ebc1(0x1db)]=_0x3073ae,this[_0x25ebc1(0x1ef)]=_0x11c3f6,this[_0x25ebc1(0x26e)]=_0x3ff682,this[_0x25ebc1(0x16a)]=_0x1053e6,this[_0x25ebc1(0x17c)]=_0x244d3c);}get[_0x989fca(0xa7)](){const _0x478727=_0x989fca;return this[_0x478727(0x1e4)]['getValue']();}get[_0x989fca(0xea)](){const _0x486903=_0x989fca;return this[_0x486903(0x7c)]['getValue']();}[_0x989fca(0x1fc)](){const _0x22a4e0=_0x989fca;super[_0x22a4e0(0x1fc)](),this[_0x22a4e0(0x1e4)][_0x22a4e0(0x250)](new Map()),this[_0x22a4e0(0x1e4)][_0x22a4e0(0x11f)](),this[_0x22a4e0(0x7c)]['next']([]),this[_0x22a4e0(0x7c)][_0x22a4e0(0x11f)]();}[_0x989fca(0x24f)](){const _0x16621f=_0x989fca;this[_0x16621f(0x232)]||(this[_0x16621f(0x232)]=!0x0,this[_0x16621f(0x92)][_0x16621f(0x1f1)][_0x16621f(0x27c)](_0xdd7600(this['dispose$']))[_0x16621f(0xa9)](_0xe2d976=>{const _0x247a3e=_0x16621f;_0xe2d976===_0x5ba384[_0x247a3e(0x13b)]?this['_toggleOnline']():this[_0x247a3e(0x266)]();}),this['_session']['event$']['pipe'](_0xdd7600(this['dispose$']))[_0x16621f(0xa9)](_0x30632a=>{const _0x234358=_0x16621f,_0x1c76e4=_0x30632a['eventID'];_0x1c76e4===_0x303067[_0x234358(0xde)]&&this[_0x234358(0x15d)](_0x30632a),_0x1c76e4===_0x303067['USERS_LEAVE']&&this[_0x234358(0x261)](_0x30632a);}),this['_onRefRangeChange'](),this[_0x16621f(0x80)](this[_0x16621f(0x16a)][_0x16621f(0x1a1)](_0x5ed056=>{const _0x2f39d3=_0x16621f;if(this[_0x2f39d3(0x21c)]&&_0x5ed056['id']===_0x394a52['id']&&_0x5ed056['params'][_0x2f39d3(0x27d)]===this[_0x2f39d3(0x1df)]){const _0x40d7fc=_0x5ed056[_0x2f39d3(0x1a0)];this[_0x2f39d3(0x1d3)](_0x40d7fc['subUnitId'],_0x40d7fc[_0x2f39d3(0x223)][0x0]);}})));}[_0x989fca(0x15d)](_0x4f465e){const _0x20d07a=_0x989fca;var _0x242a2e,_0x42fcc0;const {memberID:_0x4fefa2,selection:_0x320b91}=_0x4f465e[_0x20d07a(0x200)],{sheetName:_0x11c33f,range:_0x180e62}=_0x48935f(_0x320b91),_0x1db1a2={'name':(_0x42fcc0=(_0x242a2e=this[_0x20d07a(0x1ef)][_0x20d07a(0x23b)](this[_0x20d07a(0x1df)],_0x4fefa2))==null?void 0x0:_0x242a2e[_0x20d07a(0x17e)])!=null?_0x42fcc0:'Unknown\x20user','range':this[_0x20d07a(0xc4)](_0x11c33f,_0x180e62),'sheetID':_0x11c33f,'color':this[_0x20d07a(0x1db)][_0x20d07a(0x93)](_0x4fefa2),'selection':_0x320b91},_0x124264=this['cursorInfo'];_0x124264[_0x20d07a(0x8d)](_0x4fefa2,_0x1db1a2),this['_cursorInfo$'][_0x20d07a(0x250)](_0x124264);}[_0x989fca(0x261)](_0x44670c){const _0x51c7c0=_0x989fca,{memberID:_0x19f89a}=_0x44670c['data'],_0x596ec6=this[_0x51c7c0(0xa7)];_0x596ec6['delete'](_0x19f89a),this[_0x51c7c0(0x1e4)]['next'](_0x596ec6);}[_0x989fca(0xc4)](_0x5ddb3f,_0x53a1d2){const _0x132267=_0x989fca;var _0x1d5e58,_0x17d7c3;const _0x5638ea=(_0x17d7c3=(_0x1d5e58=this[_0x132267(0x26e)][_0x132267(0x1e2)](this[_0x132267(0x1df)]))==null?void 0x0:_0x1d5e58['getSheetBySheetId'](_0x5ddb3f))==null?void 0x0:_0x17d7c3[_0x132267(0x226)]();return(_0x5638ea==null?void 0x0:_0x5638ea[_0x132267(0x1b0)](_0x54c8cc=>_0x51e76b[_0x132267(0x1ab)](_0x54c8cc,_0x53a1d2)))||_0x53a1d2;}[_0x989fca(0x98)](){const _0x521b01=_0x989fca,_0x574f6c=new _0x3ffede(),_0x46e553=Ii(),_0x12a3b7=()=>{const _0x25d913=_0x20af;_0x574f6c['dispose']();const _0x1230cb=(_0x43e0d8,_0x6ebda5,_0x4a8e3b,_0x107314)=>{const _0x170852=_0x20af;let _0x529621=[];switch(_0x43e0d8['id']){case _0x5651eb[_0x170852(0x278)]:{_0x529621=_0x4db94a(_0x43e0d8,_0x107314);break;}case _0x5651eb[_0x170852(0x1eb)]:{_0x529621=_0x55074a(_0x43e0d8,_0x107314);break;}case _0x5651eb['InsertColCommandId']:{_0x529621=_0x54000b(_0x43e0d8,_0x107314);break;}case _0x5651eb[_0x170852(0x20a)]:{_0x529621=_0x576435(_0x43e0d8,_0x107314);break;}case _0x5651eb['InsertRangeMoveRightCommandId']:{_0x529621=_0xf7d30f(_0x43e0d8,_0x107314);break;}case _0x5651eb[_0x170852(0x193)]:{_0x529621=_0x56cb36(_0x43e0d8,_0x107314);break;}case _0x5651eb[_0x170852(0x1f0)]:{_0x529621=_0x347b65(_0x43e0d8,_0x107314);break;}case _0x5651eb[_0x170852(0x230)]:{_0x529621=_0xcfa26f(_0x43e0d8,_0x107314);break;}case _0x5651eb[_0x170852(0xdd)]:{_0x529621=_0x4fe54f(_0x43e0d8,_0x107314);break;}}const _0x3697f0=_0x380c36(_0x529621,_0x107314),_0x55c255=this['cursorInfo'][_0x170852(0x175)](_0x6ebda5);if(_0x55c255&&_0x3697f0){const _0x2ef0cd={..._0x55c255,'range':_0x3697f0};this['cursorInfo']['set'](_0x6ebda5,_0x2ef0cd),_0x46e553(()=>{const _0x2c78a6=_0x170852,_0x204831=this[_0x2c78a6(0x17c)]['registerRefRange'](_0x3697f0,_0x6256e1=>(_0x204831[_0x2c78a6(0x1fc)](),_0x1230cb(_0x6256e1,_0x6ebda5,_0x4a8e3b,_0x3697f0)));_0x574f6c['add'](_0x204831);});}return{'redos':[],'undos':[]};};this[_0x25d913(0xa7)][_0x25d913(0x20f)]((_0x39f8de,_0x28b4cc)=>{const _0x4c6ab3=_0x25d913,{range:_0x46cc49,sheetID:_0x574db6}=_0x39f8de,_0x1e731f=this[_0x4c6ab3(0x17c)]['registerRefRange'](_0x46cc49,_0x5cf785=>(_0x1e731f['dispose'](),_0x1230cb(_0x5cf785,_0x28b4cc,_0x574db6,_0x46cc49)));_0x574f6c[_0x4c6ab3(0x254)](_0x1e731f);});};this['disposeWithMe'](_0x5b0cc1(this[_0x521b01(0x1e4)]['subscribe'](()=>{_0x12a3b7();})));}[_0x989fca(0x16f)](){const _0x13c91b=_0x989fca;var _0x323374,_0x512aec;if(this['_online']=!0x0,((_0x323374=this[_0x13c91b(0x26e)]['getFocusedUnit']())==null?void 0x0:_0x323374[_0x13c91b(0x11c)]())!==this[_0x13c91b(0x1df)])return;const _0x4759eb=(_0x512aec=this[_0x13c91b(0x1e7)][_0x13c91b(0x175)](_0x3f96e6)['getCurrentSelections']())==null?void 0x0:_0x512aec[0x0],_0x55295b=this[_0x13c91b(0x26e)]['getCurrentUnitForType'](_0x5a554e[_0x13c91b(0x120)])['getActiveSheet']();_0x4759eb&&_0x55295b&&this[_0x13c91b(0x1d3)](_0x55295b['getSheetId'](),_0x4759eb);}[_0x989fca(0x266)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x57fbba(_0x4ad95e)),x(0x3,_0x57fbba(ke)),x(0x4,_0x57fbba(_0x43c796)),x(0x5,_0x2844bb),x(0x6,_0x3771c6),x(0x7,_0x57fbba(_0x726455))],Me);var pi=Object[_0x989fca(0x185)],Ci=(_0x407329,_0x3a7be9,_0x340967,_0x4a7544)=>{const _0x23795d=_0x989fca;for(var _0x1f4bc2=_0x4a7544>0x1?void 0x0:_0x4a7544?pi(_0x3a7be9,_0x340967):_0x3a7be9,_0x105181=_0x407329[_0x23795d(0x10c)]-0x1,_0x23d8b0;_0x105181>=0x0;_0x105181--)(_0x23d8b0=_0x407329[_0x105181])&&(_0x1f4bc2=_0x23d8b0(_0x1f4bc2)||_0x1f4bc2);return _0x1f4bc2;},Se=(_0x4915e6,_0x337fcf)=>(_0x4582d5,_0x53461a)=>_0x337fcf(_0x4582d5,_0x53461a,_0x4915e6);let H=class extends _0x5c3cd6{constructor(_0x704d73,_0x59235f,_0x54bd79){const _0xdc3434=_0x989fca;super(),_(this,_0xdc3434(0x1b4),new Map()),_(this,'_entityInit$',new _0x597c59()),(this[_0xdc3434(0x26e)]=_0x704d73,this[_0xdc3434(0x1e7)]=_0x59235f,this[_0xdc3434(0x15a)]=_0x54bd79,this[_0xdc3434(0x232)]());}[_0x989fca(0x1fc)](){const _0x27ef37=_0x989fca;super[_0x27ef37(0x1fc)](),this[_0x27ef37(0x183)][_0x27ef37(0x11f)](),this[_0x27ef37(0x1b4)][_0x27ef37(0x20f)](_0x4e109e=>_0x4e109e[_0x27ef37(0x1fc)]());}[_0x989fca(0x1cc)](_0x4d09ff){const _0x4894ac=_0x989fca;return this['_entities'][_0x4894ac(0x173)](_0x4d09ff)?this['_entities'][_0x4894ac(0x175)](_0x4d09ff)[_0x4894ac(0x101)]:this[_0x4894ac(0x183)]['pipe'](_0x29f3eb(_0x2defa3=>_0x2defa3[_0x4894ac(0x1df)]===_0x4d09ff),_0x4fd599(_0x3b11a5=>_0x3b11a5[_0x4894ac(0x101)]));}['_init'](){const _0x487d76=_0x989fca;this[_0x487d76(0x26e)][_0x487d76(0x7f)](_0x5a554e[_0x487d76(0x120)])[_0x487d76(0x27c)](_0xdd7600(this['dispose$']))[_0x487d76(0xa9)](async _0x3ec6ad=>{const _0x4eb9c0=_0x487d76,_0x4fb5d2=_0x3ec6ad[_0x4eb9c0(0x11c)](),_0x1510c0=await this[_0x4eb9c0(0x1aa)](_0x4fb5d2);this['_entityInit$'][_0x4eb9c0(0x250)](_0x1510c0),this['_entities'][_0x4eb9c0(0x8d)](_0x4fb5d2,_0x1510c0);}),this[_0x487d76(0x26e)]['getTypeOfUnitAdded$'](_0x5a554e[_0x487d76(0x161)])[_0x487d76(0x27c)](_0xdd7600(this[_0x487d76(0x224)]))['pipe'](_0x29f3eb(_0x55c575=>!_0x55c575[_0x487d76(0x11c)]()[_0x487d76(0xee)]('__')))[_0x487d76(0xa9)](async _0x16e5d6=>{const _0x3d6651=_0x487d76,_0x2fbd9c=_0x16e5d6['getUnitId'](),_0x1a1ed4=await this[_0x3d6651(0x86)](_0x2fbd9c);this['_entityInit$'][_0x3d6651(0x250)](_0x1a1ed4),this['_entities'][_0x3d6651(0x8d)](_0x2fbd9c,_0x1a1ed4);}),_0x2731fa(this[_0x487d76(0x26e)][_0x487d76(0x1c8)](_0x5a554e[_0x487d76(0x161)]),this[_0x487d76(0x26e)][_0x487d76(0x1c8)](_0x5a554e[_0x487d76(0x120)]))[_0x487d76(0x27c)](_0xdd7600(this['dispose$']))['subscribe'](_0x53b9ee=>{const _0x52ed15=_0x487d76,_0x15e0c6=_0x53b9ee[_0x52ed15(0x11c)](),_0x166659=this[_0x52ed15(0x1b4)][_0x52ed15(0x175)](_0x15e0c6);_0x166659&&(_0x166659[_0x52ed15(0x1fc)](),this[_0x52ed15(0x1b4)][_0x52ed15(0x240)](_0x15e0c6));});}async['_startSheetCollabCursor'](_0x32eb05){const _0x67395e=_0x989fca,_0x231d12=await this[_0x67395e(0x15a)][_0x67395e(0x1d0)](_0x32eb05),_0x2241b0=this[_0x67395e(0x1e7)][_0x67395e(0x16c)](Me,_0x32eb05,_0x231d12);return _0x2241b0[_0x67395e(0x24f)](),_0x2241b0;}async[_0x989fca(0x86)](_0x32e974){const _0x5ce740=_0x989fca,_0x5f5cf9=await this[_0x5ce740(0x15a)][_0x5ce740(0x1d0)](_0x32e974),_0x4a56ba=this[_0x5ce740(0x1e7)][_0x5ce740(0x16c)](Ue,_0x32e974,_0x5f5cf9);return _0x4a56ba['init'](),_0x4a56ba;}};H=Ci([Se(0x0,_0x2844bb),Se(0x1,_0x57fbba(_0x4ad95e)),Se(0x2,_0x57fbba(_0x5ece21))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x2a7109,_0x57de0d){const _0x5d6198=_0x989fca;let {radius:_0x5b5da1,width:_0x50d2eb,height:_0x2e7d0b}=_0x57de0d;_0x5b5da1=_0x5b5da1!=null?_0x5b5da1:0x0,_0x50d2eb=_0x50d2eb!=null?_0x50d2eb:0x1e,_0x2e7d0b=_0x2e7d0b!=null?_0x2e7d0b:0x1e;let _0x2bc8d1=0x0,_0x37e646=0x0,_0x565c5e=0x0;_0x2bc8d1=_0x37e646=_0x565c5e=Math[_0x5d6198(0x146)](_0x5b5da1,_0x50d2eb/0x2,_0x2e7d0b/0x2),_0x2a7109[_0x5d6198(0x205)](),_0x2a7109[_0x5d6198(0x27a)](_0x2bc8d1,0x0),_0x2a7109['lineTo'](_0x50d2eb-_0x37e646,0x0),_0x2a7109[_0x5d6198(0x1a3)](_0x50d2eb-_0x37e646,_0x37e646,_0x37e646,Math['PI']*0x3/0x2,0x0,!0x1),_0x2a7109[_0x5d6198(0x12c)](_0x50d2eb,_0x2e7d0b-_0x565c5e),_0x2a7109[_0x5d6198(0x1a3)](_0x50d2eb-_0x565c5e,_0x2e7d0b-_0x565c5e,_0x565c5e,0x0,Math['PI']/0x2,!0x1),_0x2a7109[_0x5d6198(0x12c)](0x0,_0x2e7d0b),_0x2a7109['lineTo'](0x0,_0x2bc8d1),_0x2a7109[_0x5d6198(0x1a3)](_0x2bc8d1,_0x2bc8d1,_0x2bc8d1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2a7109[_0x5d6198(0x196)](),_0x57de0d['fill']&&(_0x2a7109[_0x5d6198(0x102)](),_0x2a7109[_0x5d6198(0x26d)]=_0x57de0d[_0x5d6198(0x1de)],_0x57de0d[_0x5d6198(0x117)]===_0x5d6198(0x149)?_0x2a7109[_0x5d6198(0x1de)](_0x5d6198(0x149)):_0x2a7109[_0x5d6198(0x1de)](),_0x2a7109[_0x5d6198(0x122)]());}class he extends _0xae135c{constructor(_0x19a791,_0x13c0c9){const _0x543202=_0x989fca;super(_0x19a791,_0x13c0c9),_(this,'color'),_(this,_0x543202(0x272)),(this[_0x543202(0x16e)]=_0x13c0c9==null?void 0x0:_0x13c0c9[_0x543202(0x16e)],this[_0x543202(0x272)]=_0x13c0c9==null?void 0x0:_0x13c0c9[_0x543202(0x272)]);}static[_0x989fca(0xa8)](_0x10eeaa,_0x139fc0){const _0x427201=_0x989fca,{text:_0x2ee7a6,color:_0x424e1d}=_0x139fc0;_0x10eeaa['save'](),_0x10eeaa[_0x427201(0xf1)]=_0x427201(0x26b);const _0x3978dd=_0x10eeaa['measureText'](_0x2ee7a6)['width'],_0x5a8c31=Math['min'](_0x3978dd+0x2*me,Qe);bi(_0x10eeaa,{'height':ee,'radius':0x4,'width':_0x5a8c31,'fill':_0x424e1d}),_0x10eeaa[_0x427201(0x26d)]=_0x427201(0xe3);const _0x101d1d=me,_0x262cb4=ee-Ei,_0x43a8e1=Qe-0x2*me;if(_0x3978dd>_0x43a8e1){let _0x5405e4='',_0x22d37b=0x0;for(const _0x5a8210 of _0x2ee7a6){const _0x1dd1e2=_0x10eeaa['measureText'](_0x5a8210)[_0x427201(0x19f)];if(_0x22d37b+_0x1dd1e2<=_0x43a8e1-_0x10eeaa[_0x427201(0x201)]('...')[_0x427201(0x19f)])_0x5405e4+=_0x5a8210,_0x22d37b+=_0x1dd1e2;else{_0x5405e4+=_0x427201(0x263);break;}}_0x10eeaa['fillText'](_0x5405e4,_0x101d1d,_0x262cb4);}else _0x10eeaa[_0x427201(0x19e)](_0x2ee7a6,_0x101d1d,_0x262cb4);_0x10eeaa[_0x427201(0x122)]();}[_0x989fca(0xab)](_0x289bed){he['drawWith'](_0x289bed,this);}}const ge=_0x989fca(0x168),Oi='collab-text-range-',Ti=_0x989fca(0x1d5),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x989fca(0x22b);class qe{constructor(_0x8c6c86,_0x36beb0,_0x593dca,_0x153966){const _0x4bfc67=_0x989fca;_(this,_0x4bfc67(0x12d),[]),_(this,_0x4bfc67(0x142),null),_(this,_0x4bfc67(0x14b),null),_(this,_0x4bfc67(0xca),null),_(this,_0x4bfc67(0x113),null),_(this,_0x4bfc67(0xcb),null),(this[_0x4bfc67(0x108)]=_0x8c6c86,this['_scene']=_0x36beb0,this[_0x4bfc67(0x121)]=_0x593dca,this['_document']=_0x153966,this[_0x4bfc67(0x276)]());}set['_hover'](_0x11530f){const _0x5a7a66=_0x989fca;_0x11530f?(this[_0x5a7a66(0xca)]&&this['_anchorDot'][_0x5a7a66(0x242)](),this['_textBubble']&&this[_0x5a7a66(0x14b)][_0x5a7a66(0x7e)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0x5a7a66(0x14b)]&&this[_0x5a7a66(0x14b)][_0x5a7a66(0x242)]());}[_0x989fca(0x1fc)](){const _0x262841=_0x989fca;for(const _0x3030aa of this[_0x262841(0x12d)])_0x3030aa['dispose']();this[_0x262841(0x14b)]&&this[_0x262841(0x14b)]['dispose'](),this['_anchorDot']&&this[_0x262841(0xca)][_0x262841(0x1fc)](),this[_0x262841(0x142)]&&this[_0x262841(0x142)][_0x262841(0x1fc)](),this['_eventUnsubscribe']&&this[_0x262841(0xcb)]();}[_0x989fca(0x276)](){const _0x4538bd=_0x989fca;var _0x4207c3;const {_docSkeleton:_0x57763a,_document:_0x422b3f}=this,{color:_0x1585b2,name:_0x2ea8c3,ranges:_0x395028}=this[_0x4538bd(0x108)],_0x2d9819=_0x422b3f[_0x4538bd(0x255)](),{docsLeft:_0x1d2abd,docsTop:_0x54e641}=_0x2d9819,_0x17e026=new _0x1a424d(_0x2d9819,_0x57763a);for(const {startOffset:_0x3b0c3b,endOffset:_0x508619,rangeType:_0x50326f,segmentId:_0x2ee13a,segmentPage:_0x1bb9ee,collapsed:_0x59db91,isActive:_0x3bde45}of _0x395028){const _0x4b8030=_0x57763a['findNodePositionByCharIndex'](_0x3b0c3b,!0x0,_0x2ee13a,_0x1bb9ee);let _0x112a54=_0x57763a['findNodePositionByCharIndex'](_0x508619,!0x0,_0x2ee13a,_0x1bb9ee);if(_0x112a54==null&&(_0x112a54=_0x57763a[_0x4538bd(0x222)](_0x508619-0x1,!0x1,_0x2ee13a,_0x1bb9ee)),_0x3bde45){const {contentBoxPointGroup:_0x53b3ea}=_0x17e026[_0x4538bd(0x153)](_0x112a54,_0x112a54);if(_0x53b3ea['length']===0x0)continue;this['_drawAnchor'](_0x1585b2,_0x53b3ea,_0x1d2abd,_0x54e641,_0x2ea8c3),this[_0x4538bd(0xcb)]=this[_0x4538bd(0x22a)]();}if(_0x4b8030&&_0x112a54){if(_0x50326f===_0x4f660f['RECT']){const _0x2aa5e5=new _0x1f101c(_0x2d9819,_0x57763a),{pointGroup:_0xaa5513}=(_0x4207c3=_0x2aa5e5[_0x4538bd(0x153)](_0x4b8030,_0x112a54))!=null?_0x4207c3:{};if(_0xaa5513==null||_0xaa5513[_0x4538bd(0x10c)]===0x0)continue;this[_0x4538bd(0x243)](_0x1585b2,_0xaa5513,_0x1d2abd,_0x54e641);}else{if(!_0x59db91){const {borderBoxPointGroup:_0x3be460}=_0x17e026['getRangePointData'](_0x4b8030,_0x112a54);if(_0x3be460[_0x4538bd(0x10c)]===0x0)continue;this[_0x4538bd(0x26a)](_0x1585b2,_0x3be460,_0x1d2abd,_0x54e641);}}}}}[_0x989fca(0x195)](_0x10de3b,_0x1df151,_0x542f24,_0x1a9026,_0x3042a4){const _0x5e72db=_0x989fca,_0xcc0e4a=this['_getAnchorBounding'](_0x1df151),{left:_0x122927,top:_0x426ff0,height:_0x3b7480}=_0xcc0e4a,_0x120b99=this['_getScale'](),_0x48340c=Di/_0x120b99,_0x4942a9=new _0x38ea81(ge+_0x13a68d[_0x5e72db(0xd5)](X),{'left':_0x122927+_0x542f24-_0x48340c,'top':_0x426ff0+_0x1a9026,'height':_0x3b7480,'width':Ri,'fill':_0x10de3b||_0x55e9ad(_0x415b02[_0x5e72db(0x1a5)],0x0),'strokeWidth':_0x48340c,'stroke':Ni,'evented':!0x0});this[_0x5e72db(0x142)]=_0x4942a9,this[_0x5e72db(0x11b)][_0x5e72db(0xf0)](_0x4942a9,_0x3131b1);const _0x1b26aa=new _0x38ea81(ge+_0x13a68d[_0x5e72db(0xd5)](X),{'left':_0x122927+_0x542f24-_0x48340c,'top':_0x426ff0+_0x1a9026-ve/0x2,'height':ve,'width':ve,'fill':_0x10de3b||_0x55e9ad(_0x415b02[_0x5e72db(0x1a5)],0x0),'strokeWidth':0x0,'stroke':_0x10de3b||_0x55e9ad(_0x415b02[_0x5e72db(0x1a5)],0x0),'evented':!0x1});this['_anchorDot']=_0x1b26aa,this[_0x5e72db(0x11b)]['addObject'](_0x1b26aa,_0x3131b1);const _0x48ee1a=new he(ge+_0x13a68d[_0x5e72db(0xd5)](X),{'left':_0x122927+_0x542f24-_0x48340c,'top':_0x426ff0+_0x1a9026-ee,'text':_0x3042a4,'color':_0x10de3b});this[_0x5e72db(0x14b)]=_0x48ee1a,this[_0x5e72db(0x11b)][_0x5e72db(0xf0)](_0x48ee1a,_0x3131b1),this[_0x5e72db(0x187)]=!0x1;}[_0x989fca(0x22a)](){const _0x1d6309=_0x989fca,_0x2eb0df=this[_0x1d6309(0x142)][_0x1d6309(0x1b5)][_0x1d6309(0x1c3)](()=>{const _0x5f090f=_0x1d6309;this[_0x5f090f(0x187)]=!0x0;}),_0x5a3b3c=this[_0x1d6309(0x142)][_0x1d6309(0x1c5)][_0x1d6309(0x1c3)](()=>{const _0x33d853=_0x1d6309;this[_0x33d853(0x113)]&&clearTimeout(this[_0x33d853(0x113)]),this[_0x33d853(0x113)]=setTimeout(()=>{const _0x5a960b=_0x33d853;this[_0x5a960b(0x187)]=!0x1;},0x7d0);});return()=>{const _0x498c74=_0x1d6309;_0x2eb0df[_0x498c74(0x1ed)](),_0x5a3b3c[_0x498c74(0x1ed)]();};}[_0x989fca(0x26a)](_0x20d848,_0x14c2ea,_0x308e89,_0x384427){const _0x439c92=_0x989fca,_0x4761c1=new _0xefe396(_0x20d848)['setAlpha'](0.2)['toRgbString'](),_0x5dfb0b=new _0x3407fa(Oi+_0x13a68d[_0x439c92(0xd5)](X),{'pointsGroup':_0x14c2ea,'fill':_0x4761c1||_0x55e9ad(_0x415b02[_0x439c92(0x1a5)],0.2),'left':_0x308e89,'top':_0x384427,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x439c92(0x12d)][_0x439c92(0x9e)](_0x5dfb0b),this[_0x439c92(0x11b)][_0x439c92(0xf0)](_0x5dfb0b,_0x3131b1);}['_drawRectRange'](_0x23ab10,_0x2360b7,_0x631c0e,_0x47bb38){const _0x3e3689=_0x989fca,_0x3024fa=new _0xefe396(_0x23ab10)['setAlpha'](0.2)['toRgbString'](),_0xd664b4=new _0x3407fa(Ti+_0x13a68d['generateRandomId'](X),{'pointsGroup':_0x2360b7,'fill':_0x3024fa||_0x55e9ad(_0x415b02[_0x3e3689(0x1a5)],0.2),'left':_0x631c0e,'top':_0x47bb38,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0xd664b4),this[_0x3e3689(0x11b)][_0x3e3689(0xf0)](_0xd664b4,_0x3131b1);}['_getAnchorBounding'](_0x671ef3){const _0x5c42f4=_0x671ef3[0x0],_0x52d743=_0x5c42f4[0x0],_0x108b97=_0x5c42f4[0x2],{x:_0x5653f3,y:_0x2a5bb0}=_0x52d743,{x:_0x4a4af3,y:_0x23278d}=_0x108b97;return{'left':_0x5653f3,'top':_0x2a5bb0,'width':_0x4a4af3-_0x5653f3,'height':_0x23278d-_0x2a5bb0};}[_0x989fca(0x95)](){const _0x21e735=_0x989fca,{scaleX:_0x18f0a0,scaleY:_0x5947ac}=this[_0x21e735(0x11b)][_0x21e735(0xe8)]();return Math[_0x21e735(0x87)](_0x18f0a0,_0x5947ac);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x4dd8a4,_0x5a1e98,_0x32d244,_0x155000)=>{const _0x4fbf57=_0x989fca;for(var _0x4b78a5=_0x155000>0x1?void 0x0:_0x155000?Ui(_0x5a1e98,_0x32d244):_0x5a1e98,_0x4ca243=_0x4dd8a4[_0x4fbf57(0x10c)]-0x1,_0x255b8c;_0x4ca243>=0x0;_0x4ca243--)(_0x255b8c=_0x4dd8a4[_0x4ca243])&&(_0x4b78a5=_0x255b8c(_0x4b78a5)||_0x4b78a5);return _0x4b78a5;},Z=(_0x350c91,_0x41a7d3)=>(_0x56f478,_0x33fbfe)=>_0x41a7d3(_0x56f478,_0x33fbfe,_0x350c91);let Pe=class extends _0x5c3cd6{constructor(_0x517fc2,_0x3c72a6,_0x1cb8c8,_0x492518,_0x23465e){const _0x417348=_0x989fca;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x417348(0xf3)]=_0x517fc2,this['_docSkeletonManagerService']=_0x3c72a6,this[_0x417348(0x10d)]=_0x1cb8c8,this[_0x417348(0x16a)]=_0x492518,this['_themeService']=_0x23465e,this[_0x417348(0x232)]());}[_0x989fca(0x232)](){const _0x48dd92=_0x989fca,_0x1981a9=this[_0x48dd92(0xf3)][_0x48dd92(0x27d)],_0x2256a2=this[_0x48dd92(0x124)];this[_0x48dd92(0x80)](_0x4d9839([this[_0x48dd92(0x10d)][_0x48dd92(0x1cc)](_0x1981a9),this[_0x48dd92(0xd7)]['currentTheme$']])[_0x48dd92(0x27c)](_0x13182b(([_0x21f3ca,_0x23e402])=>({'skeleton':_0x2256a2[_0x48dd92(0x264)](),'cursors':[..._0x21f3ca['values']()][_0x48dd92(0xc9)](_0xeeda9c=>({..._0xeeda9c,'color':_0x23e402[_0xeeda9c['color']]}))})))[_0x48dd92(0xa9)](_0x3abb54=>{const _0x4d18c3=_0x48dd92;if(this[_0x4d18c3(0x245)](),_0x3abb54){const {skeleton:_0x4ccf5c,cursors:_0x1471fb}=_0x3abb54;this[_0x4d18c3(0x27e)](_0x4ccf5c,_0x1471fb);}})),this[_0x48dd92(0x219)](),this[_0x48dd92(0x94)]();}[_0x989fca(0x27e)](_0x1b8c46,_0x5aa387){const _0x40792e=_0x989fca,{scene:_0xc79f58,mainComponent:_0x2decc8}=this[_0x40792e(0xf3)],_0x172cfb=_0x5aa387[_0x40792e(0x190)](_0x1ece5f=>new qe(_0x1ece5f,_0xc79f58,_0x1b8c46,_0x2decc8));this[_0x40792e(0x135)]=_0x172cfb,this[_0x40792e(0x20d)]=_0x5aa387;}['_refreshCollabCursors'](){const _0x254469=_0x989fca;this['_removeCollabCursors']();const {scene:_0x152983,mainComponent:_0x155122}=this[_0x254469(0xf3)],_0x255260=this[_0x254469(0x124)][_0x254469(0x264)](),_0x45eae1=this[_0x254469(0x20d)][_0x254469(0x190)](_0x2c2e0b=>new qe(_0x2c2e0b,_0x152983,_0x255260,_0x155122));this[_0x254469(0x135)]=_0x45eae1;}[_0x989fca(0x245)](){const _0x3b048b=_0x989fca;this[_0x3b048b(0x135)][_0x3b048b(0x20f)](_0x5c42e8=>_0x5c42e8[_0x3b048b(0x1fc)]()),this[_0x3b048b(0x135)]=[];}[_0x989fca(0x94)](){const _0x4a160f=_0x989fca,_0x12b9e3=[_0x33fa92['id']];this[_0x4a160f(0x80)](this[_0x4a160f(0x16a)][_0x4a160f(0x1a1)](_0x3be760=>{const _0x561bf9=_0x4a160f;_0x12b9e3['includes'](_0x3be760['id'])&&_0x3be760[_0x561bf9(0x1a0)][_0x561bf9(0x27d)]===this['_context'][_0x561bf9(0x27d)]&&this['_refreshCollabCursors']();}));}[_0x989fca(0x219)](){const _0x172b6a=_0x989fca;this['disposeWithMe'](_0x4c17cc(this[_0x172b6a(0xf3)][_0x172b6a(0x1d6)][_0x172b6a(0xe2)])[_0x172b6a(0x27c)](_0x2af558(_0x5c91b6=>_0x5c91b6[_0x172b6a(0x177)]===_0x1d65e2[_0x172b6a(0x217)]),_0x405d7b(0x10))[_0x172b6a(0xa9)](()=>{const _0x1e1a24=_0x172b6a;this[_0x1e1a24(0x279)]();}));}};Pe=Mi([Z(0x1,_0x57fbba(_0x526abb)),Z(0x2,_0x57fbba(H)),Z(0x3,_0x3771c6),Z(0x4,_0x57fbba(_0x2149c0))],Pe);const Pi=0x1,wi=1.5;class Li extends _0xae135c{constructor(_0x284209,_0x54d33b){const _0x15a261=_0x989fca;super(_0x284209,_0x54d33b),_(this,_0x15a261(0xd3)),_(this,_0x15a261(0x151),!0x1),_(this,_0x15a261(0x203)),_(this,'_name',''),_(this,'_labelPosition','top'),_(this,_0x15a261(0x8e)),(_0x54d33b&&this['setShapeProps'](_0x54d33b),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x15a261(0x152)]({'hovered':!0x0})),this[_0x15a261(0x1c5)]['subscribeEvent'](()=>this[_0x15a261(0x152)]({'hovered':!0x1})));}['setShapeProps'](_0x4db565){const _0x20b627=_0x989fca;var _0x4a5ee5,_0x4deb66,_0x13cdb9,_0x1735fc,_0x5e28d1,_0x5881d8;this[_0x20b627(0xd3)]=(_0x4a5ee5=_0x4db565[_0x20b627(0x16e)])!=null?_0x4a5ee5:this[_0x20b627(0xd3)],this[_0x20b627(0x151)]=(_0x4deb66=_0x4db565[_0x20b627(0xb4)])!=null?_0x4deb66:this[_0x20b627(0x151)],this['_range']=(_0x13cdb9=_0x4db565['range'])!=null?_0x13cdb9:this[_0x20b627(0x203)],this[_0x20b627(0x1c2)]=(_0x1735fc=_0x4db565[_0x20b627(0x17e)])!=null?_0x1735fc:this[_0x20b627(0x1c2)],this[_0x20b627(0xb3)]=(_0x5e28d1=_0x4db565[_0x20b627(0x192)])!=null?_0x5e28d1:this[_0x20b627(0xb3)],this['_backgroundColor']=(_0x5881d8=_0x4db565['backgroundColor'])!=null?_0x5881d8:this['_backgroundColor'],this[_0x20b627(0x259)]({'width':_0x4db565[_0x20b627(0x19f)],'height':_0x4db565[_0x20b627(0x123)]});}[_0x989fca(0x125)](_0x43c5ba){const _0x7cfb69=_0x989fca,{row:_0x1c2a22,column:_0x1c0588}=_0x43c5ba;if(_0x1c2a22>=this[_0x7cfb69(0x203)][_0x7cfb69(0x207)]&&_0x1c2a22<=this[_0x7cfb69(0x203)][_0x7cfb69(0xdc)]&&_0x1c0588>=this[_0x7cfb69(0x203)]['startColumn']&&_0x1c0588<=this[_0x7cfb69(0x203)]['endColumn']){this[_0x7cfb69(0x152)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x989fca(0x174)](_0x41d4f6){return!0x1;}[_0x989fca(0xab)](_0x1f5331){const _0xe27738=_0x989fca;_0x38ea81[_0xe27738(0xa8)](_0x1f5331,{'width':this[_0xe27738(0x19f)],'height':this['height'],'strokeWidth':wi,'stroke':this[_0xe27738(0xd3)],'evented':!0x1,'fill':this[_0xe27738(0x8e)]}),this[_0xe27738(0x151)]&&(_0x1f5331['save'](),_0x1f5331[_0xe27738(0x147)](0x1,0x0,0x0,0x1,this[_0xe27738(0x19f)],this[_0xe27738(0xb3)]===_0xe27738(0xed)?0x0:-0x14),he[_0xe27738(0xa8)](_0x1f5331,{'text':this[_0xe27738(0x1c2)],'color':this['_color']}),_0x1f5331[_0xe27738(0x122)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x30e6c1,_0x950e60,_0x69cef8,_0x2b6473)=>{const _0x4d3fc4=_0x989fca;for(var _0x2daa4a=_0x2b6473>0x1?void 0x0:_0x2b6473?Ai(_0x950e60,_0x69cef8):_0x950e60,_0x24f861=_0x30e6c1[_0x4d3fc4(0x10c)]-0x1,_0x33326d;_0x24f861>=0x0;_0x24f861--)(_0x33326d=_0x30e6c1[_0x24f861])&&(_0x2daa4a=_0x33326d(_0x2daa4a)||_0x2daa4a);return _0x2daa4a;},Ie=(_0x6ab307,_0x423f31)=>(_0x3534c4,_0x4d4168)=>_0x423f31(_0x3534c4,_0x4d4168,_0x6ab307);const $i=0x1389;let we=class extends _0x5c3cd6{constructor(_0x5d9a10,_0x344122,_0x18097c,_0x3f040e){const _0x13ff33=_0x989fca;super(),_(this,'_cursors',new Set()),_(this,_0x13ff33(0x204),null),(this['_context']=_0x5d9a10,this['_sheetSkeletonManagerService']=_0x344122,this[_0x13ff33(0x10d)]=_0x18097c,this[_0x13ff33(0xd7)]=_0x3f040e,this[_0x13ff33(0x232)]());}[_0x989fca(0x232)](){const _0x9bca26=_0x989fca;this[_0x9bca26(0x11d)][_0x9bca26(0x1cf)]['pipe'](_0x4051ad(this[_0x9bca26(0x224)]),_0x43e0d5(_0x342aac=>{const _0x38ff62=_0x9bca26;if(_0x342aac){const _0x55e43a=_0x342aac[_0x38ff62(0x178)];return _0x4d9839(this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x38ff62(0x27d)]),this['_themeService'][_0x38ff62(0x24e)])[_0x38ff62(0x27c)](_0x13182b(([_0x170794,_0x554e34])=>{const _0x183795=_0x38ff62,_0x16fb6d=new Map();return _0x170794[_0x183795(0x20f)]((_0x4522c0,_0x3d99d9)=>{const _0x124908=_0x183795;if(_0x4522c0[_0x124908(0x1ba)]===_0x55e43a){const _0x1556fa={..._0x4522c0};_0x1556fa[_0x124908(0x16e)]=_0x554e34[_0x4522c0['color']],_0x16fb6d['set'](_0x3d99d9,_0x1556fa);}}),{'skeleton':_0x342aac,'cursors':_0x16fb6d};}));}return _0x5b1fce({'skeleton':null,'cursors':new Map()});}))[_0x9bca26(0xa9)](({skeleton:_0x3bac5a,cursors:_0x4643dc})=>{this['_removeCollabCursors'](),_0x3bac5a&&this['_updateCollabCursors'](_0x3bac5a,_0x4643dc);}),this[_0x9bca26(0x11d)]['currentSkeleton$']['subscribe'](_0x14afb8=>{const _0x535799=_0x9bca26;if(_0x14afb8==null)return;const {skeleton:_0x8c7f4c}=_0x14afb8,{scene:_0x2a411c}=this['_context'];_0x2a411c['onPointerMove$'][_0x535799(0x1c3)](_0x350852(_0x2b90af=>{const _0x467b3f=_0x535799;var _0x7ee19,_0x2d0616;const {offsetX:_0x4621b6,offsetY:_0x5aea6f}=_0x2b90af,{x:_0x913e87,y:_0x59d6f5}=_0x2a411c[_0x467b3f(0x104)](_0x59d279['FromArray']([_0x4621b6,_0x5aea6f])),{scaleX:_0x56651a,scaleY:_0x32e2de}=_0x2a411c['getAncestorScale'](),_0x1c21ec=_0x2a411c[_0x467b3f(0x218)](_0x48bc96['VIEW_MAIN']),_0x3f76aa=_0x2a411c[_0x467b3f(0x1ff)](_0x59d279['FromArray']([_0x913e87,_0x59d6f5]),_0x1c21ec),_0x49cd0f=_0x8c7f4c['getCellPositionByOffset'](_0x4621b6,_0x5aea6f,_0x56651a,_0x32e2de,_0x3f76aa);((_0x7ee19=this[_0x467b3f(0x204)])==null?void 0x0:_0x7ee19[_0x467b3f(0x134)])===_0x49cd0f['column']&&((_0x2d0616=this[_0x467b3f(0x204)])==null?void 0x0:_0x2d0616[_0x467b3f(0x227)])===_0x49cd0f[_0x467b3f(0x227)]||this[_0x467b3f(0x20d)]['forEach'](_0x33b1f8=>{_0x33b1f8['onMouseMove'](_0x49cd0f);});},0x64));});}['_updateCollabCursors'](_0x321d9f,_0xbd8ec6){const _0x30baa2=_0x989fca;var _0x2a3966;const _0x1e541b=(_0x2a3966=this['_sheetSkeletonManagerService'][_0x30baa2(0x1d1)]())==null?void 0x0:_0x2a3966[_0x30baa2(0xd1)];if(!_0x1e541b)return;const _0x5213bd=this[_0x30baa2(0x129)]();if(!_0x5213bd)return;this[_0x30baa2(0x20d)]['forEach'](_0x367b4d=>{const _0x17b5ba=_0x30baa2;_0x367b4d[_0x17b5ba(0x14f)]();});const {scene:_0xc1cc66}=_0x5213bd,_0x24437c=xi(Array[_0x30baa2(0x20c)](_0xbd8ec6[_0x30baa2(0x1d2)]()))[_0x30baa2(0x190)](_0x4aca37=>{const _0x1cd20e=_0x30baa2,{color:_0x3e225a,range:_0xbe494,name:_0xec9455,selection:_0x14cc23,sheetID:_0xd73226}=_0x4aca37,{startColumn:_0x8e3116,startRow:_0x2b28b7,endColumn:_0x54c10e,endRow:_0x30b2d3}=_0xbe494,_0x43818b=_0x11bbc3(_0x2b28b7,_0x8e3116,_0xc1cc66,_0x1e541b),_0x47cd40=_0x11bbc3(_0x30b2d3,_0x54c10e,_0xc1cc66,_0x1e541b),{columnHeaderHeightAndMarginTop:_0x27cc1d}=_0x1e541b,{startX:_0x576037,startY:_0x161e5d}=_0x43818b,{endX:_0xe82938,endY:_0x53be34}=_0x47cd40,_0x304486=_0xe82938-_0x576037,_0x2bc58a=_0x53be34-_0x161e5d,_0x483ea5={'labelPosition':_0x161e5d-_0x27cc1d>=ee?_0x1cd20e(0x9a):_0x1cd20e(0xed),'sheetID':_0xd73226,'range':_0xbe494,'color':_0x3e225a,'name':_0xec9455,'selection':_0x14cc23,'left':_0x576037,'top':_0x161e5d,'width':_0x304486,'height':_0x2bc58a,'evented':!0x1,'zIndex':$i};return new Li(_0xec9455,_0x483ea5);});_0xc1cc66[_0x30baa2(0x1e3)](_0x24437c,Pi),this['_cursors']=new Set(_0x24437c);}[_0x989fca(0x245)](){const _0x3b2ad7=_0x989fca;var _0x271651;(_0x271651=this['_cursors'])==null||_0x271651[_0x3b2ad7(0x20f)](_0x17d72e=>_0x17d72e[_0x3b2ad7(0x1fc)]());}[_0x989fca(0x129)](){const _0x210f0f=_0x989fca;return _0x46f3ee(this[_0x210f0f(0xf3)][_0x210f0f(0xd2)],this['_context']);}};we=yi([Ie(0x1,_0x57fbba(_0x3825db)),Ie(0x2,_0x57fbba(H)),Ie(0x3,_0x57fbba(_0x2149c0))],we);function xi(_0x50f0c6){const _0x123b24=_0x989fca,_0x1b3b0c=new Map();return _0x50f0c6[_0x123b24(0x20f)](_0xf06d0=>{const _0x43ac8b=_0x123b24;if(_0x1b3b0c[_0x43ac8b(0x173)](_0xf06d0[_0x43ac8b(0x184)])){const _0xb6e8dc=_0x1b3b0c[_0x43ac8b(0x175)](_0xf06d0[_0x43ac8b(0x184)]);_0xb6e8dc['name']+=',\x20'+_0xf06d0[_0x43ac8b(0x17e)];}else _0x1b3b0c[_0x43ac8b(0x8d)](_0xf06d0[_0x43ac8b(0x184)],_0xf06d0);}),Array['from'](_0x1b3b0c[_0x123b24(0x1d2)]());}var I=function(){return I=Object['assign']||function(_0x5de0fc){const _0x426785=_0x20af;for(var _0x40b187,_0x72df07=0x1,_0x3f0d6a=arguments[_0x426785(0x10c)];_0x72df07<_0x3f0d6a;_0x72df07++){_0x40b187=arguments[_0x72df07];for(var _0x43b6ea in _0x40b187)Object['prototype']['hasOwnProperty'][_0x426785(0x25f)](_0x40b187,_0x43b6ea)&&(_0x5de0fc[_0x43b6ea]=_0x40b187[_0x43b6ea]);}return _0x5de0fc;},I['apply'](this,arguments);},Bi=function(_0x1cc1ad,_0x24d1f2){const _0x1d885d=_0x989fca;var _0x3df206={};for(var _0x3da752 in _0x1cc1ad)Object[_0x1d885d(0xdb)]['hasOwnProperty']['call'](_0x1cc1ad,_0x3da752)&&_0x24d1f2[_0x1d885d(0xf8)](_0x3da752)<0x0&&(_0x3df206[_0x3da752]=_0x1cc1ad[_0x3da752]);if(_0x1cc1ad!=null&&typeof Object['getOwnPropertySymbols']==_0x1d885d(0x271)){for(var _0x1a1a0c=0x0,_0x3da752=Object[_0x1d885d(0xb0)](_0x1cc1ad);_0x1a1a0c<_0x3da752[_0x1d885d(0x10c)];_0x1a1a0c++)_0x24d1f2[_0x1d885d(0xf8)](_0x3da752[_0x1a1a0c])<0x0&&Object[_0x1d885d(0xdb)][_0x1d885d(0x189)][_0x1d885d(0x25f)](_0x1cc1ad,_0x3da752[_0x1a1a0c])&&(_0x3df206[_0x3da752[_0x1a1a0c]]=_0x1cc1ad[_0x3da752[_0x1a1a0c]]);}return _0x3df206;},je=_0x16e3b0(function(_0x1cdf3e,_0x1868b5){const _0x154334=_0x989fca;var _0xc47176=_0x1cdf3e[_0x154334(0xb9)],_0x53a580=_0x1cdf3e['id'],_0x452b2c=_0x1cdf3e[_0x154334(0x1a4)],_0x37fd0a=_0x1cdf3e['extend'],_0x3864e9=Bi(_0x1cdf3e,[_0x154334(0xb9),'id',_0x154334(0x1a4),_0x154334(0x1e8)]),_0xdd430f=_0x154334(0x14d)[_0x154334(0x14a)](_0x53a580,'\x20')[_0x154334(0x14a)](_0x452b2c||'')[_0x154334(0x128)](),_0x51d55f=_0x3088c6('_'[_0x154334(0x14a)](ji()));return Rt(_0xc47176,''[_0x154334(0x14a)](_0x53a580),{'defIds':_0xc47176[_0x154334(0x1f3)],'idSuffix':_0x51d55f['current']},I({'ref':_0x1868b5,'className':_0xdd430f},_0x3864e9),_0x37fd0a);});function Rt(_0x4fd65f,_0x5813e3,_0x4d7d36,_0x56eaeb,_0x5852ad){const _0x2fcbf0=_0x989fca;return _0x2c40f(_0x4fd65f[_0x2fcbf0(0xbb)],I(I({'key':_0x5813e3},ki(_0x4fd65f,_0x4d7d36,_0x5852ad)),_0x56eaeb),(Hi(_0x4fd65f,_0x4d7d36)[_0x2fcbf0(0x12a)]||[])[_0x2fcbf0(0x190)](function(_0x41b167,_0x4ee5d5){const _0x1b87e7=_0x2fcbf0;return Rt(_0x41b167,''[_0x1b87e7(0x14a)](_0x5813e3,'-')[_0x1b87e7(0x14a)](_0x4fd65f[_0x1b87e7(0xbb)],'-')[_0x1b87e7(0x14a)](_0x4ee5d5),_0x4d7d36,void 0x0,_0x5852ad);}));}function ki(_0x5544e2,_0x34ffd7,_0x304014){const _0x3d1fff=_0x989fca;var _0x5f4ee7=I({},_0x5544e2['attrs']);_0x304014!=null&&_0x304014[_0x3d1fff(0x171)]&&_0x5f4ee7[_0x3d1fff(0x1de)]===_0x3d1fff(0x171)&&(_0x5f4ee7[_0x3d1fff(0x1de)]=_0x304014['colorChannel1']),_0x5544e2[_0x3d1fff(0xbb)]==='mask'&&_0x5f4ee7['id']&&(_0x5f4ee7['id']=_0x5f4ee7['id']+_0x34ffd7[_0x3d1fff(0x1ee)]),Object[_0x3d1fff(0x96)](_0x5f4ee7)[_0x3d1fff(0x20f)](function(_0x3bf501){const _0x36eb94=_0x3d1fff;var _0x5307d5=_0x3bf501[0x0],_0x2fa73c=_0x3bf501[0x1];_0x5307d5===_0x36eb94(0x8f)&&typeof _0x2fa73c==_0x36eb94(0x111)&&(_0x5f4ee7[_0x5307d5]=_0x2fa73c['replace'](/url\(#(.*)\)/,'url(#$1'[_0x36eb94(0x14a)](_0x34ffd7[_0x36eb94(0x1ee)],')')));});var _0x1591a7=_0x34ffd7[_0x3d1fff(0x1f3)];return!_0x1591a7||_0x1591a7[_0x3d1fff(0x10c)]===0x0||(_0x5544e2[_0x3d1fff(0xbb)]===_0x3d1fff(0x265)&&_0x5f4ee7[_0x3d1fff(0xfc)]&&(_0x5f4ee7[_0x3d1fff(0xfc)]=_0x5f4ee7['xlink:href']+_0x34ffd7['idSuffix']),Object[_0x3d1fff(0x96)](_0x5f4ee7)[_0x3d1fff(0x20f)](function(_0x81be76){const _0x49d1ed=_0x3d1fff;var _0xa69b37=_0x81be76[0x0],_0xe465fc=_0x81be76[0x1];typeof _0xe465fc==_0x49d1ed(0x111)&&(_0x5f4ee7[_0xa69b37]=_0xe465fc[_0x49d1ed(0x14c)](/url\(#(.*)\)/,_0x49d1ed(0x23e)[_0x49d1ed(0x14a)](_0x34ffd7[_0x49d1ed(0x1ee)],')')));})),_0x5f4ee7;}function Hi(_0x5c9736,_0xe50f01){const _0x4022bc=_0x989fca;var _0x273cdd,_0x1b388e=_0xe50f01[_0x4022bc(0x1f3)];return!_0x1b388e||_0x1b388e[_0x4022bc(0x10c)]===0x0?_0x5c9736:_0x5c9736[_0x4022bc(0xbb)]===_0x4022bc(0x1fa)&&(!((_0x273cdd=_0x5c9736[_0x4022bc(0x12a)])===null||_0x273cdd===void 0x0)&&_0x273cdd['length'])?I(I({},_0x5c9736),{'children':_0x5c9736[_0x4022bc(0x12a)][_0x4022bc(0x190)](function(_0x28681a){const _0x479997=_0x4022bc;return typeof _0x28681a[_0x479997(0x10e)]['id']==_0x479997(0x111)&&_0x1b388e&&_0x1b388e[_0x479997(0xf8)](_0x28681a[_0x479997(0x10e)]['id'])>-0x1?I(I({},_0x28681a),{'attrs':I(I({},_0x28681a[_0x479997(0x10e)]),{'id':_0x28681a[_0x479997(0x10e)]['id']+_0xe50f01[_0x479997(0x1ee)]})}):_0x28681a;})}):_0x5c9736;}function ji(){const _0x22f6ee=_0x989fca;return Math[_0x22f6ee(0x1bc)]()[_0x22f6ee(0x164)](0x24)['substring'](0x2,0x8);}je['displayName']='UniverIcon';var Wi={'tag':_0x989fca(0xce),'attrs':{'fill':'none','viewBox':_0x989fca(0x1c4),'width':_0x989fca(0xe4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x989fca(0x10b)},'children':[{'tag':'path','attrs':{'stroke':_0x989fca(0xd9),'d':_0x989fca(0x22e),'strokeLinecap':_0x989fca(0x269),'strokeLinejoin':_0x989fca(0x269),'strokeWidth':1.2}}]},{'tag':_0x989fca(0x1fa),'attrs':{},'children':[{'tag':_0x989fca(0x106),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x989fca(0x105),'attrs':{'fill':_0x989fca(0x213),'d':_0x989fca(0x275)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x16e3b0(function(_0x446b55,_0x4ba0d3){const _0xe92f42=_0x989fca;return _0x2c40f(je,Object[_0xe92f42(0x1bb)]({},_0x446b55,{'id':_0xe92f42(0xf9),'ref':_0x4ba0d3,'icon':Wi}));});Dt[_0x989fca(0x7d)]='OffLineSingle';var Fi={'tag':_0x989fca(0xce),'attrs':{'fill':_0x989fca(0x1c9),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x989fca(0xe4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x989fca(0x105),'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':_0x989fca(0x269),'strokeLinejoin':_0x989fca(0x269),'strokeWidth':1.2}}]},{'tag':_0x989fca(0x1fa),'attrs':{},'children':[{'tag':_0x989fca(0x106),'attrs':{'id':_0x989fca(0x1a6)},'children':[{'tag':'path','attrs':{'fill':_0x989fca(0x213),'d':'M0\x200H16V16H0z','transform':_0x989fca(0x23a)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Nt=_0x16e3b0(function(_0x43b7cb,_0x47ca87){const _0x1dece2=_0x989fca;return _0x2c40f(je,Object[_0x1dece2(0x1bb)]({},_0x43b7cb,{'id':_0x1dece2(0x1fd),'ref':_0x47ca87,'icon':Fi}));});Nt[_0x989fca(0x7d)]='OnLineSingle';function Yi(_0x259ead){const _0x21ecd=_0x989fca;switch(_0x259ead){case _0x54df20['OFFLINE']:return _0x21ecd(0x81);case _0x54df20['CONFLICT']:return _0x21ecd(0xa6);case _0x54df20[_0x21ecd(0x83)]:return _0x21ecd(0x228);case _0x54df20[_0x21ecd(0x157)]:return _0x21ecd(0x22c);case _0x54df20[_0x21ecd(0x17b)]:case _0x54df20[_0x21ecd(0xb6)]:return'collabStatus.syncing';case _0x54df20[_0x21ecd(0x127)]:case _0x54df20['PENDING']:return _0x21ecd(0x19d);}}function Vi(_0x4c9561){const _0x2b620b=_0x989fca,{status$:_0x5cedd0}=_0x4c9561,_0x49e15f=_0x511b92(_0x5cedd0,_0x54df20[_0x2b620b(0x157)]),_0x19835a=_0x361a52(_0x15277a),_0x43b294=_0x361a52(_0x5ece21),_0x3eddf8=_0x49e15f!==_0x54df20[_0x2b620b(0x247)],_0x8d15db=_0x19835a['t'](Yi(_0x49e15f)),_0x2c3365=_0x3eddf8?_0x5d6da8(Nt,{}):_0x5d6da8(Dt,{}),_0x26e23d=_0x32e065(()=>{const _0x5582c9=_0x2b620b;_0x3eddf8||_0x43b294[_0x5582c9(0x166)]();},[_0x3eddf8,_0x43b294]);function _0x297702(){const _0x20dc3f=_0x2b620b;return _0x490309(_0x20dc3f(0x268),{'className':_0x20dc3f(0xcf),'onClick':_0x26e23d,'children':[_0x5d6da8(_0x20dc3f(0x268),{'className':_0x24ecfd('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x3eddf8?_0x20dc3f(0x88):'univer-text-red-500'),'children':_0x2c3365}),_0x5d6da8(_0x20dc3f(0x268),{'className':_0x20dc3f(0x110),'children':_0x8d15db})]});}return _0x3eddf8?_0x297702():_0x5d6da8(_0x6e752d,{'title':_0x19835a['t'](_0x2b620b(0x8b)),'children':_0x297702()});}var Xi=Object[_0x989fca(0x185)],Gi=(_0x30b869,_0x2c1076,_0x186424,_0x3bd7c5)=>{for(var _0x338d1b=_0x3bd7c5>0x1?void 0x0:_0x3bd7c5?Xi(_0x2c1076,_0x186424):_0x2c1076,_0x28676e=_0x30b869['length']-0x1,_0x1e852a;_0x28676e>=0x0;_0x28676e--)(_0x1e852a=_0x30b869[_0x28676e])&&(_0x338d1b=_0x1e852a(_0x338d1b)||_0x338d1b);return _0x338d1b;},Q=(_0x33165c,_0x5173d8)=>(_0x1d1023,_0x5d5ac9)=>_0x5173d8(_0x1d1023,_0x5d5ac9,_0x33165c);let te=class extends _0x13eb4b{constructor(_0x4eb6be,_0x535d90,_0x3873b3,_0x2d5a76){const _0x550e72=_0x989fca;super(),_(this,'_status$',new _0x139555(_0x54df20[_0x550e72(0x157)])),(this[_0x550e72(0x26e)]=_0x4eb6be,this[_0x550e72(0x1e7)]=_0x535d90,this[_0x550e72(0x1b1)]=_0x3873b3,this[_0x550e72(0x20e)]=_0x2d5a76,this[_0x550e72(0x235)](),this[_0x550e72(0xf6)]());}['_initStatusListener'](){const _0x584679=_0x989fca;this[_0x584679(0x80)](this[_0x584679(0x26e)]['focused$'][_0x584679(0x27c)](_0x4fd599(()=>{const _0x24c089=_0x584679,_0x2f386a=this['_univerInstanceService'][_0x24c089(0x109)]();return _0x2f386a?this[_0x24c089(0x1b1)]['getCollabEntity$'](_0x2f386a['getUnitId']()):_0x5b1fce(null);}),_0x4fd599(_0x5de690=>_0x5de690?_0x5de690[_0x584679(0x1f5)]:_0x5b1fce(_0x54df20[_0x584679(0x157)])))[_0x584679(0xa9)](_0x9d916f=>{const _0x504d76=_0x584679;this[_0x504d76(0x1af)]['next'](_0x9d916f);}));}[_0x989fca(0x235)](){const _0x3538fa=_0x989fca;this[_0x3538fa(0x80)](this[_0x3538fa(0x20e)][_0x3538fa(0xe0)](_0x5541e9[_0x3538fa(0x1a7)],()=>_0x492f4c(Ki({'status$':this['_status$'][_0x3538fa(0x1ae)]()}),this[_0x3538fa(0x1e7)])));}};te=Gi([Q(0x0,_0x2844bb),Q(0x1,_0x57fbba(_0x4ad95e)),Q(0x2,_0x57fbba(_0x9f0db8)),Q(0x3,_0x2966af)],te);function Ki(_0x458222){const {status$:_0x94b07c}=_0x458222;return function(){return _0x5d6da8(Vi,{'status$':_0x94b07c});};}var zi=Object[_0x989fca(0x185)],Ji=(_0x2f1263,_0x379ef7,_0x3073a9,_0x4d01fd)=>{const _0x5ad1b2=_0x989fca;for(var _0x72ac28=_0x4d01fd>0x1?void 0x0:_0x4d01fd?zi(_0x379ef7,_0x3073a9):_0x379ef7,_0x1f4ecd=_0x2f1263[_0x5ad1b2(0x10c)]-0x1,_0x59388a;_0x1f4ecd>=0x0;_0x1f4ecd--)(_0x59388a=_0x2f1263[_0x1f4ecd])&&(_0x72ac28=_0x59388a(_0x72ac28)||_0x72ac28);return _0x72ac28;},B=(_0x53e11d,_0x5572c4)=>(_0x3d400a,_0x10b724)=>_0x5572c4(_0x3d400a,_0x10b724,_0x53e11d);let se=class extends _0x13eb4b{constructor(_0x5dceba,_0x570162,_0x2f61e1,_0x338b6e,_0xa9a15,_0x4d7794){const _0xc7c2b7=_0x989fca;super(),this[_0xc7c2b7(0xa5)]=_0x5dceba,this['_localCacheService']=_0x570162,this[_0xc7c2b7(0x172)]=_0x2f61e1,this[_0xc7c2b7(0x1a8)]=_0x338b6e,this[_0xc7c2b7(0x141)]=_0xa9a15,this[_0xc7c2b7(0x179)]=_0x4d7794,this[_0xc7c2b7(0x1a2)](),this[_0xc7c2b7(0x126)]();}[_0x989fca(0x1a2)](){const _0x5500f3=_0x989fca;this[_0x5500f3(0x80)](this[_0x5500f3(0xa5)][_0x5500f3(0xfe)](()=>{const _0x4ebf5a=_0x5500f3;if(this[_0x4ebf5a(0x216)][_0x4ebf5a(0x18a)][_0x4ebf5a(0x9d)])return this[_0x4ebf5a(0x179)]['t'](_0x4ebf5a(0x1d4));}));}[_0x989fca(0x126)](){const _0x1e2d77=_0x989fca;this[_0x1e2d77(0x80)](this['_collaborationUIEventService'][_0x1e2d77(0x12f)][_0x1e2d77(0xa9)](_0x30b8c4=>{const _0x8d1d6b=_0x1e2d77;_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x19b)]&&this[_0x8d1d6b(0x1a8)][_0x8d1d6b(0x7e)]({'type':_0x339cf3[_0x8d1d6b(0x167)],'content':this[_0x8d1d6b(0x179)]['t'](_0x8d1d6b(0x1fe))}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x1c6)]&&this[_0x8d1d6b(0x1a8)][_0x8d1d6b(0x7e)]({'type':_0x339cf3[_0x8d1d6b(0x167)],'content':this[_0x8d1d6b(0x179)]['t'](_0x8d1d6b(0x13c))}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x17d)]&&this[_0x8d1d6b(0x141)]['show']({'title':this[_0x8d1d6b(0x179)]['t'](_0x8d1d6b(0xae)),'content':this[_0x8d1d6b(0x179)]['t'](_0x8d1d6b(0xe7)),'type':_0x8d1d6b(0x1dd),'duration':0x0}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0xa3)]&&this[_0x8d1d6b(0x1a8)][_0x8d1d6b(0x7e)]({'type':_0x339cf3[_0x8d1d6b(0x209)],'content':this[_0x8d1d6b(0x179)]['t']('collaboration.closeRoom')+'('+_0x30b8c4[_0x8d1d6b(0x200)]+')'}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x148)]&&this[_0x8d1d6b(0x1a8)]['show']({'type':_0x339cf3['Warning'],'content':this[_0x8d1d6b(0x179)]['t'](_0x30b8c4[_0x8d1d6b(0x200)]||'')}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x1c7)]&&this['_messageService'][_0x8d1d6b(0x7e)]({'type':_0x339cf3[_0x8d1d6b(0x167)],'content':this[_0x8d1d6b(0x179)]['t'](_0x8d1d6b(0x212))}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x1ca)]&&this[_0x8d1d6b(0x1a8)][_0x8d1d6b(0x7e)]({'type':_0x339cf3['Error'],'content':this[_0x8d1d6b(0x179)]['t']('session.connection-failed')}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x237)]&&this[_0x8d1d6b(0x1a8)][_0x8d1d6b(0x7e)]({'type':_0x339cf3[_0x8d1d6b(0x209)],'content':this[_0x8d1d6b(0x179)]['t'](_0x8d1d6b(0xd8))});}));}};se=Ji([B(0x0,_0x472038),B(0x1,_0x543569),B(0x2,_0x57fbba(_0x1dc644)),B(0x3,_0x108e76),B(0x4,_0xdf20a6),B(0x5,_0x57fbba(_0x15277a))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x354636(_0x989fca(0x116));var Qi=Object[_0x989fca(0x185)],qi=(_0x4a80ad,_0x48bbae,_0x4fd7d0,_0x564a2d)=>{const _0x4449b2=_0x989fca;for(var _0x3bd240=_0x564a2d>0x1?void 0x0:_0x564a2d?Qi(_0x48bbae,_0x4fd7d0):_0x48bbae,_0x3e3d0e=_0x4a80ad[_0x4449b2(0x10c)]-0x1,_0x4ac241;_0x3e3d0e>=0x0;_0x3e3d0e--)(_0x4ac241=_0x4a80ad[_0x3e3d0e])&&(_0x3bd240=_0x4ac241(_0x3bd240)||_0x3bd240);return _0x3bd240;},G=(_0x1d2378,_0x43d765)=>(_0x2458d9,_0x3af754)=>_0x43d765(_0x2458d9,_0x3af754,_0x1d2378);let ie=class extends _0x5c3cd6{constructor(_0x4f52b5,_0x2cfd45,_0x10753b,_0x446822,_0x64247d){const _0x59459a=_0x989fca;super(),this[_0x59459a(0x186)]=_0x4f52b5,this[_0x59459a(0x16d)]=_0x2cfd45,this[_0x59459a(0x16a)]=_0x10753b,this[_0x59459a(0x9f)]=_0x446822,_0x64247d?_0x64247d==null||_0x64247d[_0x59459a(0x238)]()[_0x59459a(0x13a)](()=>this[_0x59459a(0x232)]()):(this[_0x59459a(0x16d)][_0x59459a(0xc8)](_0x59459a(0xeb),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x989fca(0x232)](){const _0x1ea636=_0x989fca,_0x55d783=this['_urlService'][_0x1ea636(0xad)](_0x1ea636(0xd2)),_0x15f3de=this['_urlService'][_0x1ea636(0xad)](_0x1ea636(0x177)),_0x1b2f2e=this[_0x1ea636(0x186)][_0x1ea636(0xad)](_0x1ea636(0xc1));if(!_0x55d783||!_0x15f3de){this['_logService'][_0x1ea636(0xc8)]('[CollaborationDataLoaderController]',_0x1ea636(0x210));return;}const _0x374191=await this['_dataLoaderService']['loadUnit'](_0x55d783,Number(_0x15f3de),_0x1b2f2e);_0x374191&&_0x374191 instanceof _0x55727c&&this[_0x1ea636(0x1d8)](_0x374191);}async[_0x989fca(0x1d8)](_0x4800dd){const _0x537bb6=_0x989fca;await this[_0x537bb6(0x158)](_0x4800dd),_0x4800dd[_0x537bb6(0x24d)][_0x537bb6(0x27c)](_0xdd7600(this[_0x537bb6(0x224)]))[_0x537bb6(0xa9)](_0x532011=>{_0x532011&&this['_updateURLWithCurrentState'](_0x532011);}),this[_0x537bb6(0x186)][_0x537bb6(0x231)][_0x537bb6(0x27c)](_0xdd7600(this['dispose$']))[_0x537bb6(0xa9)](()=>this[_0x537bb6(0x158)](_0x4800dd));}[_0x989fca(0x24b)](_0x308893,_0x308ad0=!0x1){const _0x24c644=_0x989fca,_0x147eda=this[_0x24c644(0x186)][_0x24c644(0xad)](_0x24c644(0xc1));_0x308893[_0x24c644(0xb1)]()!==_0x147eda&&this['_urlService'][_0x24c644(0xe1)]('subunit',_0x308893[_0x24c644(0xb1)](),_0x308ad0);}async['_updateSubUnitFromURLParams'](_0x3d5914){const _0x3b37a9=_0x989fca;var _0x46c7a5;const _0x3dd94c=this[_0x3b37a9(0x186)][_0x3b37a9(0xad)](_0x3b37a9(0xc1));if(!_0x3dd94c||!_0x3d5914[_0x3b37a9(0x138)](_0x3dd94c)){const _0x9321ab=_0x3d5914[_0x3b37a9(0x260)]()[0x0],_0xd50046=_0x3d5914[_0x3b37a9(0x138)](_0x9321ab);if(!_0xd50046)return;this[_0x3b37a9(0x24b)](_0xd50046,!0x0),await this['_commandService'][_0x3b37a9(0xb8)](_0x6074db['id'],{'unitId':_0x3d5914['getUnitId'](),'subUnitId':_0x9321ab});return;}((_0x46c7a5=_0x3d5914[_0x3b37a9(0x22f)]())==null?void 0x0:_0x46c7a5[_0x3b37a9(0xb1)]())!==_0x3dd94c&&await this[_0x3b37a9(0x16a)]['executeCommand'](_0x6074db['id'],{'unitId':_0x3d5914[_0x3b37a9(0x11c)](),'subUnitId':_0x3dd94c});}};ie=qi([G(0x0,Ut),G(0x1,_0x4bd942),G(0x2,_0x3771c6),G(0x3,_0x57fbba(_0x49e58e)),G(0x4,_0x355fc5(_0x26c1c6))],ie);var en=Object[_0x989fca(0x185)],tn=(_0xfd310,_0x5a88e6,_0x41977e,_0x4fc999)=>{for(var _0x12bdd9=_0x4fc999>0x1?void 0x0:_0x4fc999?en(_0x5a88e6,_0x41977e):_0x5a88e6,_0x332700=_0xfd310['length']-0x1,_0x60d165;_0x332700>=0x0;_0x332700--)(_0x60d165=_0xfd310[_0x332700])&&(_0x12bdd9=_0x60d165(_0x12bdd9)||_0x12bdd9);return _0x12bdd9;},pe=(_0x17d46a,_0x111d29)=>(_0x43b4d6,_0x224955)=>_0x111d29(_0x43b4d6,_0x224955,_0x17d46a);let ne=class{constructor(_0x4227fa,_0x201325,_0x4b60dd){const _0x236b9a=_0x989fca;this['_injector']=_0x4227fa,this[_0x236b9a(0x160)]=_0x201325,this[_0x236b9a(0x18f)]=_0x4b60dd;}[_0x989fca(0x143)](_0x4fd2dd){const _0x5b92a5=_0x989fca;this[_0x5b92a5(0x194)](_0x4fd2dd),this[_0x5b92a5(0x214)](_0x4fd2dd);}[_0x989fca(0x89)](_0x5f08c0){const _0x359e33=_0x989fca,{unitID:_0x53c4c1}=_0x5f08c0,_0x47e81d=this[_0x359e33(0x18f)]['getRenderById'](_0x53c4c1)['with'](_0x140742),{redoCache:_0x7c4667}=_0x47e81d[_0x359e33(0xaa)]();if(_0x7c4667['length']===0x0)return _0x5f08c0;let _0x523b07=_0x13a68d[_0x359e33(0x19a)](_0x5f08c0[_0x359e33(0x163)][0x0]);for(let _0x19f5dc=0x0;_0x19f5dc<_0x7c4667[_0x359e33(0x10c)];_0x19f5dc++){const _0x5271d1={'id':_0x359e33(0x130),'params':{..._0x7c4667[_0x19f5dc]}},_0x359ce6=this[_0x359e33(0x160)][_0x359e33(0x165)](_0x523b07,_0x5271d1,!0x1);if(_0x2eef86(_0x359ce6))throw _0x359ce6[_0x359e33(0x1dd)];_0x523b07=_0x359ce6[_0x359e33(0xa4)];}return{..._0x13a68d[_0x359e33(0x19a)](_0x5f08c0),'mutations':[_0x523b07]};}[_0x989fca(0x194)](_0x47e237){const _0x3cc6c7=_0x989fca,{unitID:_0xd84361}=_0x47e237,_0x4187a8=this[_0x3cc6c7(0x18f)][_0x3cc6c7(0x225)](_0xd84361)[_0x3cc6c7(0x12e)](_0x140742),{undoCache:_0x1a0ad4,redoCache:_0x15b0e4}=_0x4187a8[_0x3cc6c7(0xaa)]();if(_0x1a0ad4['length']===0x0||_0x15b0e4['length']===0x0)return;const _0x609ece=[],_0x1aa27c=[];let _0x34e68a=_0x13a68d['deepClone'](_0x47e237['mutations'][0x0]),_0x2cd7c4=_0x13a68d['deepClone'](_0x47e237['mutations'][0x0]);for(let _0x10a831=_0x1a0ad4['length']-0x1;_0x10a831>=0x0;_0x10a831--){const _0x2654b8={'id':'doc.mutation.rich-text-editing','params':{..._0x1a0ad4[_0x10a831]}},_0x6a50d0={'id':'doc.mutation.rich-text-editing','params':{..._0x15b0e4[_0x10a831]}},_0x8145b4=this[_0x3cc6c7(0x160)]['transformMutation'](_0x34e68a,_0x2654b8,!0x1),_0x150b14=this['_transformService'][_0x3cc6c7(0x165)](_0x2cd7c4,_0x6a50d0,!0x1);if(_0x2eef86(_0x8145b4))throw _0x8145b4[_0x3cc6c7(0x1dd)];if(_0x2eef86(_0x150b14))throw _0x150b14[_0x3cc6c7(0x1dd)];_0x609ece[_0x3cc6c7(0x136)](_0x8145b4[_0x3cc6c7(0x24c)][_0x3cc6c7(0x1a0)]),_0x1aa27c['unshift'](_0x150b14[_0x3cc6c7(0x24c)][_0x3cc6c7(0x1a0)]),_0x34e68a=_0x8145b4[_0x3cc6c7(0xa4)],_0x2cd7c4=_0x150b14[_0x3cc6c7(0xa4)];}_0x4187a8[_0x3cc6c7(0x115)]({'undoCache':_0x609ece,'redoCache':_0x1aa27c});}['_transformPreviousActiveRange'](_0x40fbbe){const _0x29ebb9=_0x989fca,{unitID:_0x40c675}=_0x40fbbe,_0x28d5ec=this[_0x29ebb9(0x18f)][_0x29ebb9(0x225)](_0x40c675)[_0x29ebb9(0x12e)](_0x140742),_0x34eb2b=_0x28d5ec[_0x29ebb9(0x15c)]();if(_0x34eb2b==null)return;const _0x4512d3=[{'id':_0x29ebb9(0x130),'params':{'unitId':_0x40fbbe[_0x29ebb9(0x1df)],'actions':null,'textRanges':[_0x34eb2b]}}],_0x5a533a=this[_0x29ebb9(0x160)]['transformMutationsWithChangeset'](_0x40fbbe,_0x4512d3);if(!_0x2d9162(_0x5a533a))throw _0x5a533a[_0x29ebb9(0x1dd)];const _0x93871=_0x5a533a[_0x29ebb9(0x24c)][0x0][_0x29ebb9(0x1a0)][_0x29ebb9(0x251)];Array[_0x29ebb9(0x1bf)](_0x93871)&&_0x93871[_0x29ebb9(0x10c)]&&_0x28d5ec[_0x29ebb9(0x1fb)](_0x93871[0x0]);}};ne=tn([pe(0x0,_0x57fbba(_0x4ad95e)),pe(0x1,_0x3633e6),pe(0x2,_0x8b70ca)],ne);var sn=Object[_0x989fca(0x185)],nn=(_0x345793,_0x14c00b,_0x2512c8,_0x42bec4)=>{const _0x4204d4=_0x989fca;for(var _0x158e4c=_0x42bec4>0x1?void 0x0:_0x42bec4?sn(_0x14c00b,_0x2512c8):_0x14c00b,_0x44b54a=_0x345793[_0x4204d4(0x10c)]-0x1,_0x50a00a;_0x44b54a>=0x0;_0x44b54a--)(_0x50a00a=_0x345793[_0x44b54a])&&(_0x158e4c=_0x50a00a(_0x158e4c)||_0x158e4c);return _0x158e4c;},Ce=(_0xe0b78a,_0x2ee958)=>(_0x41d61c,_0x53b0e4)=>_0x2ee958(_0x41d61c,_0x53b0e4,_0xe0b78a);let re=class{constructor(_0x44ef64,_0x9c0dca,_0x48c920){const _0x55725a=_0x989fca;this[_0x55725a(0x1e7)]=_0x44ef64,this['_transformService']=_0x9c0dca,this[_0x55725a(0x1be)]=_0x48c920;}[_0x989fca(0xe9)](_0x1ee643){const _0x2f10fb=_0x989fca;this[_0x2f10fb(0x118)](_0x1ee643);}['transformRemoteChangeset'](_0x404c10){const _0x12dd0d=_0x989fca,{unitID:_0x43b6cf}=_0x404c10,{collaboration:_0x163848}=this[_0x12dd0d(0x1be)][_0x12dd0d(0x19c)](_0x43b6cf);if(_0x163848[_0x12dd0d(0x10c)]===0x0)return _0x404c10;let _0x404695=_0x13a68d[_0x12dd0d(0x19a)](_0x404c10['mutations'][0x0]);for(let _0x410f9d=0x0;_0x410f9d<_0x163848['length'];_0x410f9d++){const _0x4c4e79={'id':_0x12dd0d(0x130),'params':{'unitId':_0x163848[_0x410f9d]['unitId'],..._0x163848[_0x410f9d][_0x12dd0d(0xda)]}},_0xb890b=this[_0x12dd0d(0x160)]['transformMutation'](_0x404695,_0x4c4e79,!0x1);if(_0x2eef86(_0xb890b))throw _0xb890b[_0x12dd0d(0x1dd)];_0x404695=_0xb890b[_0x12dd0d(0xa4)];}return{..._0x13a68d[_0x12dd0d(0x19a)](_0x404c10),'mutations':[_0x404695]};}[_0x989fca(0x118)](_0x18d9c2){const _0xb62ecf=_0x989fca,{unitID:_0x3fb1c1}=_0x18d9c2,{history:_0x1abb48,collaboration:_0xb97218}=this['_docStateChangeManagerService'][_0xb62ecf(0x19c)](_0x3fb1c1);if(_0x1abb48['length']===0x0&&_0xb97218[_0xb62ecf(0x10c)]===0x0)return;const _0x5ddadf=[],_0x365e0e=[];let _0x5d0274=_0x13a68d[_0xb62ecf(0x19a)](_0x18d9c2[_0xb62ecf(0x163)][0x0]),_0x129aff=_0x13a68d['deepClone'](_0x18d9c2[_0xb62ecf(0x163)][0x0]);for(let _0x5f7bf0=_0x1abb48[_0xb62ecf(0x10c)]-0x1;_0x5f7bf0>=0x0;_0x5f7bf0--){const _0x42f490={'id':_0xb62ecf(0x130),'params':{'unitId':_0x1abb48[_0x5f7bf0][_0xb62ecf(0x27d)],..._0x1abb48[_0x5f7bf0][_0xb62ecf(0xbd)]}},_0x101c5c={'id':_0xb62ecf(0x130),'params':{'unitId':_0x1abb48[_0x5f7bf0][_0xb62ecf(0x27d)],..._0x1abb48[_0x5f7bf0][_0xb62ecf(0xda)]}},_0x3b3a36=this['_transformService']['transformMutation'](_0x5d0274,_0x42f490,!0x1),_0x482cbe=this[_0xb62ecf(0x160)][_0xb62ecf(0x165)](_0x129aff,_0x101c5c,!0x1);if(_0x2eef86(_0x3b3a36))throw _0x3b3a36[_0xb62ecf(0x1dd)];if(_0x2eef86(_0x482cbe))throw _0x482cbe[_0xb62ecf(0x1dd)];_0x5ddadf[_0xb62ecf(0x136)]({..._0x1abb48[_0x5f7bf0],'undoState':_0x3b3a36['m2Prime'][_0xb62ecf(0x1a0)],'redoState':_0x482cbe[_0xb62ecf(0x24c)][_0xb62ecf(0x1a0)]}),_0x5d0274=_0x3b3a36['m1Prime'],_0x129aff=_0x482cbe[_0xb62ecf(0xa4)];}_0x5d0274=_0x13a68d[_0xb62ecf(0x19a)](_0x18d9c2[_0xb62ecf(0x163)][0x0]),_0x129aff=_0x13a68d['deepClone'](_0x18d9c2[_0xb62ecf(0x163)][0x0]);for(let _0x5ec96e=_0xb97218['length']-0x1;_0x5ec96e>=0x0;_0x5ec96e--){const _0x5f8674={'id':_0xb62ecf(0x130),'params':{'unitId':_0xb97218[_0x5ec96e][_0xb62ecf(0x27d)],..._0xb97218[_0x5ec96e][_0xb62ecf(0xbd)]}},_0x396bee={'id':_0xb62ecf(0x130),'params':{'unitId':_0xb97218[_0x5ec96e][_0xb62ecf(0x27d)],..._0xb97218[_0x5ec96e][_0xb62ecf(0xda)]}},_0x1e28e4=this[_0xb62ecf(0x160)][_0xb62ecf(0x165)](_0x5d0274,_0x5f8674,!0x1),_0x13822e=this[_0xb62ecf(0x160)][_0xb62ecf(0x165)](_0x129aff,_0x396bee,!0x1);if(_0x2eef86(_0x1e28e4))throw _0x1e28e4[_0xb62ecf(0x1dd)];if(_0x2eef86(_0x13822e))throw _0x13822e['error'];_0x365e0e[_0xb62ecf(0x136)]({..._0xb97218[_0x5ec96e],'undoState':_0x1e28e4[_0xb62ecf(0x24c)]['params'],'redoState':_0x13822e[_0xb62ecf(0x24c)][_0xb62ecf(0x1a0)]}),_0x5d0274=_0x1e28e4[_0xb62ecf(0xa4)],_0x129aff=_0x13822e[_0xb62ecf(0xa4)];}this[_0xb62ecf(0x1be)]['setStateCache'](_0x3fb1c1,{'history':_0x5ddadf,'collaboration':_0x365e0e});}};re=nn([Ce(0x0,_0x57fbba(_0x4ad95e)),Ce(0x1,_0x3633e6),Ce(0x2,_0x57fbba(_0x378cfb))],re);var rn=Object[_0x989fca(0x185)],on=(_0x111a02,_0x1d31f4,_0x5a7a87,_0x2e2b48)=>{const _0x52ea5a=_0x989fca;for(var _0x131871=_0x2e2b48>0x1?void 0x0:_0x2e2b48?rn(_0x1d31f4,_0x5a7a87):_0x1d31f4,_0x4e936f=_0x111a02[_0x52ea5a(0x10c)]-0x1,_0x2e76b5;_0x4e936f>=0x0;_0x4e936f--)(_0x2e76b5=_0x111a02[_0x4e936f])&&(_0x131871=_0x2e76b5(_0x131871)||_0x131871);return _0x131871;},tt=(_0x309779,_0x6068a5)=>(_0x4dd33e,_0x363fda)=>_0x6068a5(_0x4dd33e,_0x363fda,_0x309779);let oe=class{constructor(_0xd2d9d6,_0x45d126){const _0x20bfdf=_0x989fca;this[_0x20bfdf(0x1e7)]=_0xd2d9d6,this[_0x20bfdf(0x160)]=_0x45d126;}[_0x989fca(0x241)](_0x1493c4){const _0x3c3626=_0x989fca;var _0xcc2704;const _0x229a07=this[_0x3c3626(0x1e7)][_0x3c3626(0x175)](_0x17fdd8),_0xb532f2=(_0xcc2704=_0x229a07[_0x3c3626(0x233)]())!=null?_0xcc2704:[];if(_0xb532f2['length']===0x0)return;const _0x571653=_0x1493c4[_0x3c3626(0x1df)],_0x30331e=[{'id':_0x3c3626(0x130),'params':{'unitId':_0x571653,'actions':null,'textRanges':_0xb532f2}}],_0x4e8022=this[_0x3c3626(0x160)][_0x3c3626(0x1a9)](_0x1493c4,_0x30331e);if(!_0x2d9162(_0x4e8022))throw _0x4e8022[_0x3c3626(0x1dd)];const _0x56fb7d=_0x4e8022['m2Prime'][0x0][_0x3c3626(0x1a0)][_0x3c3626(0x251)];Array[_0x3c3626(0x1bf)](_0x56fb7d)&&_0x56fb7d[_0x3c3626(0x10c)]&&_0x229a07[_0x3c3626(0xfd)](_0x56fb7d,{'unitId':_0x571653,'subUnitId':_0x571653},!0x1);}};oe=on([tt(0x0,_0x57fbba(_0x4ad95e)),tt(0x1,_0x3633e6)],oe);var an=Object[_0x989fca(0x185)],cn=(_0x57cceb,_0x1afb1c,_0x5cedf3,_0x3aea48)=>{const _0x1b27f9=_0x989fca;for(var _0x12299c=_0x3aea48>0x1?void 0x0:_0x3aea48?an(_0x1afb1c,_0x5cedf3):_0x1afb1c,_0x8e3441=_0x57cceb[_0x1b27f9(0x10c)]-0x1,_0x85c3e4;_0x8e3441>=0x0;_0x8e3441--)(_0x85c3e4=_0x57cceb[_0x8e3441])&&(_0x12299c=_0x85c3e4(_0x12299c)||_0x12299c);return _0x12299c;},U=(_0x1eaa8c,_0x3bdb69)=>(_0x53e102,_0x5465f3)=>_0x3bdb69(_0x53e102,_0x5465f3,_0x1eaa8c);let ae=class extends _0x13eb4b{constructor(_0x3a6714,_0x3e248f,_0x17f51a,_0x2746d9,_0x231818,_0x3821c1,_0x4f7ed6,_0x27b60f){const _0x10df25=_0x989fca;super(),_(this,'_status$',new _0x139555(_0x54df20[_0x10df25(0x157)])),(this[_0x10df25(0x1be)]=_0x3a6714,this['_collaborationController']=_0x3e248f,this[_0x10df25(0x12b)]=_0x17f51a,this[_0x10df25(0x25e)]=_0x2746d9,this[_0x10df25(0x23f)]=_0x231818,this[_0x10df25(0x1f8)]=_0x3821c1,this['_messageService']=_0x4f7ed6,this[_0x10df25(0x179)]=_0x27b60f,this[_0x10df25(0x21b)]());}[_0x989fca(0x21b)](){const _0x5af5ab=_0x989fca;this['disposeWithMe'](this[_0x5af5ab(0x1b1)][_0x5af5ab(0x273)]['subscribe'](_0x30fd13=>{const _0x4b293e=_0x5af5ab,_0x2e45c6=this[_0x4b293e(0x1be)][_0x4b293e(0x1b2)][_0x4b293e(0xa9)](_0x4745f6=>{const _0x49ff25=_0x4b293e;if(_0x4745f6==null)return;const {unitId:_0x59ebc3,redoState:_0x3d1a42,commandId:_0x8fc968}=_0x4745f6;if(_0x59ebc3!==_0x30fd13[_0x49ff25(0x1df)])return;const _0xb90b6b={'id':_0x8fc968,'type':_0x2a2be4['MUTATION'],'params':{'unitId':_0x59ebc3,'actions':_0x3d1a42[_0x49ff25(0xf5)],'textRanges':null}};_0x30fd13[_0x49ff25(0x21e)](_0xb90b6b);});if(_0x30fd13[_0x4b293e(0x80)](_0x2e45c6),_0x30fd13 instanceof _0x1f620d){const _0x5df56a={'onTransformIME':_0x5ef07e=>this[_0x4b293e(0x12b)][_0x4b293e(0x143)](_0x5ef07e),'onTransformState':_0x311c94=>this[_0x4b293e(0x25e)][_0x4b293e(0xe9)](_0x311c94),'onTransformSelections':_0x5010c1=>this['_docTransformSelectionsService'][_0x4b293e(0x241)](_0x5010c1),'onSyncEditingCollabCursor':_0x42b3b4=>this[_0x4b293e(0x1f8)][_0x4b293e(0x1ce)](_0x42b3b4),'onTransformRemoteChangesetByIMECache':_0x3e725b=>this['_docTransformIMECacheService'][_0x4b293e(0x89)](_0x3e725b),'onTransformRemoteChangesetByStateCache':_0x2020c3=>this['_docTransformStateCacheService'][_0x4b293e(0x89)](_0x2020c3)};_0x30fd13[_0x4b293e(0x131)](_0x5df56a);}}));}};ae=cn([U(0x0,_0x57fbba(_0x378cfb)),U(0x1,_0x57fbba(_0x9f0db8)),U(0x2,_0x57fbba(ne)),U(0x3,_0x57fbba(re)),U(0x4,_0x57fbba(oe)),U(0x5,_0x57fbba(He)),U(0x6,_0x108e76),U(0x7,_0x57fbba(_0x15277a))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x465e4e,_0x197b64,_0x1950af,_0x566a28)=>{const _0x2c2167=_0x989fca;for(var _0xa04e2e=_0x566a28>0x1?void 0x0:_0x566a28?ln(_0x197b64,_0x1950af):_0x197b64,_0x3425a4=_0x465e4e[_0x2c2167(0x10c)]-0x1,_0x304252;_0x3425a4>=0x0;_0x3425a4--)(_0x304252=_0x465e4e[_0x3425a4])&&(_0xa04e2e=_0x304252(_0xa04e2e)||_0xa04e2e);return _0xa04e2e;},Ee=(_0x4427a0,_0x4a9c71)=>(_0x30d3a2,_0xbb0cd3)=>_0x4a9c71(_0x30d3a2,_0xbb0cd3,_0x4427a0);let Le=class extends _0x13eb4b{constructor(_0x3e72a6,_0x43f073,_0x5246fc){const _0x2b7cde=_0x989fca;super(),_(this,_0x2b7cde(0x1c1),new Map()),_(this,_0x2b7cde(0x244),new Map()),_(this,_0x2b7cde(0x18b),!0x1),(this[_0x2b7cde(0xc7)]=_0x3e72a6,this[_0x2b7cde(0x15e)]=_0x43f073,this[_0x2b7cde(0x22d)]=_0x5246fc);}[_0x989fca(0x277)](){this['_disabled']=!0x0;}[_0x989fca(0xa1)](){const _0x277807=_0x989fca;this[_0x277807(0x18b)]=!0x1;}get[_0x989fca(0x18a)](){return this['_saveTaskMap'];}[_0x989fca(0x1fc)](){const _0x912d0d=_0x989fca;this[_0x912d0d(0xb2)]()[_0x912d0d(0x13a)](()=>super['dispose']());}async['loadOfflineData'](_0x3908cd){const _0x5a9c7d=_0x989fca;return this['_disabled']?null:this[_0x5a9c7d(0x15e)][_0x5a9c7d(0x197)](_0x34f41a(_0x3908cd));}async[_0x989fca(0xd6)](_0x1c8bce,_0x32eddb){const _0x300657=_0x989fca;return!!this[_0x300657(0x15e)][_0x300657(0x1f4)](_0x1c8bce,_0x32eddb);}[_0x989fca(0x114)](_0x5d5467,_0x59e780,_0x50c93b,_0x141ee1){const _0xe57aa8=_0x989fca,_0x1300a3=this['_revisionService'][_0xe57aa8(0x24a)](_0x5d5467);this[_0xe57aa8(0x1c1)][_0xe57aa8(0x8d)](_0x5d5467,{'unitID':_0x5d5467,'type':_0x59e780,'awaitingChangeset':_0x50c93b,'mutations':_0x141ee1,'rev':_0x1300a3}),this[_0xe57aa8(0x244)][_0xe57aa8(0x173)](_0x5d5467)||this[_0xe57aa8(0x1b9)](_0x5d5467);}['_scheduleSaving'](_0x3c0929){const _0x2a41b2=_0x989fca,_0x46ee31=this[_0x2a41b2(0x18c)]();_0x46ee31===0x0?this[_0x2a41b2(0xac)](_0x3c0929):this[_0x2a41b2(0x244)][_0x2a41b2(0x8d)](_0x3c0929,setTimeout(()=>this[_0x2a41b2(0xac)](_0x3c0929),_0x46ee31));}['_getSaveTimeout'](){const _0x330f9b=_0x989fca;var _0x2a2298;return(_0x2a2298=this[_0x330f9b(0xc7)][_0x330f9b(0x155)](_0x59ea5d))!=null?_0x2a2298:_0x5ce63f;}[_0x989fca(0xac)](_0x56a29d){const _0x2a0fb8=_0x989fca,_0x261f12=this[_0x2a0fb8(0x244)][_0x2a0fb8(0x175)](_0x56a29d);return _0x261f12!==void 0x0&&window[_0x2a0fb8(0xdf)](_0x261f12),this['_localStorageService'][_0x2a0fb8(0x1f4)](_0x34f41a(_0x56a29d),this[_0x2a0fb8(0x1c1)]['get'](_0x56a29d))[_0x2a0fb8(0x13a)](()=>this['_saveTaskMap'][_0x2a0fb8(0x240)](_0x56a29d));}async[_0x989fca(0xb2)](){const _0x29fd9a=_0x989fca,_0x11b7e7=[];this[_0x29fd9a(0x244)][_0x29fd9a(0x20f)]((_0xc2ad02,_0x1cdc25)=>{const _0x410fbc=_0x29fd9a;window[_0x410fbc(0xdf)](_0xc2ad02),_0x11b7e7[_0x410fbc(0x9e)](this[_0x410fbc(0xac)](_0x1cdc25)[_0x410fbc(0x13a)](()=>{const _0x4753e3=_0x410fbc;this[_0x4753e3(0x244)]['delete'](_0x1cdc25);}));}),await Promise['all'](_0x11b7e7);}};Le=_n([Ee(0x0,_0x7fd8c8),Ee(0x1,_0x3e9d49),Ee(0x2,_0x57fbba(_0x5cedde))],Le);class hn extends _0x5c3cd6{constructor(){const _0x829950=_0x989fca;super(),_(this,_0x829950(0x231)),this[_0x829950(0x231)]=_0x53231d(window,_0x829950(0x252))['pipe'](_0xdd7600(this[_0x829950(0x224)]),_0x133603(0x1),_0x37d42e(void 0x0));}[_0x989fca(0xe1)](_0x151ec6,_0x4ed142,_0x4dbc05=!0x1){const _0x5929ef=_0x989fca,_0x10ef0c=new URL(window[_0x5929ef(0x270)][_0x5929ef(0x144)]);_0x10ef0c['searchParams'][_0x5929ef(0x8d)](_0x151ec6,_0x4ed142),_0x4dbc05?window[_0x5929ef(0x199)][_0x5929ef(0x1cd)]('','',_0x10ef0c[_0x5929ef(0x164)]()):window[_0x5929ef(0x199)]['pushState']('','',_0x10ef0c['toString']());}[_0x989fca(0x119)](_0x31c40d,_0x1552aa=!0x1){const _0x53d5a3=_0x989fca,_0x52687a=new URL(window[_0x53d5a3(0x270)][_0x53d5a3(0x144)]);_0x52687a[_0x53d5a3(0x100)][_0x53d5a3(0x240)](_0x31c40d),_0x1552aa?window[_0x53d5a3(0x199)][_0x53d5a3(0x1cd)]('','',_0x52687a[_0x53d5a3(0x164)]()):window[_0x53d5a3(0x199)][_0x53d5a3(0x1ad)]('','',_0x52687a[_0x53d5a3(0x164)]());}[_0x989fca(0xad)](_0x35137d){const _0x503fd7=_0x989fca;var _0x3c61dc;return(_0x3c61dc=new URL(window[_0x503fd7(0x270)]['href'])[_0x503fd7(0x100)][_0x503fd7(0x175)](_0x35137d))!=null?_0x3c61dc:void 0x0;}}var un=Object[_0x989fca(0xc3)],dn=Object[_0x989fca(0x185)],fn=(_0x17e377,_0x4e3b62,_0xe836d)=>_0x4e3b62 in _0x17e377?un(_0x17e377,_0x4e3b62,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe836d}):_0x17e377[_0x4e3b62]=_0xe836d,Sn=(_0x5b56c9,_0x5ace1e,_0x5cc956,_0x60709)=>{const _0x557ea2=_0x989fca;for(var _0x5e55df=_0x60709>0x1?void 0x0:_0x60709?dn(_0x5ace1e,_0x5cc956):_0x5ace1e,_0x195d5c=_0x5b56c9[_0x557ea2(0x10c)]-0x1,_0x270c2b;_0x195d5c>=0x0;_0x195d5c--)(_0x270c2b=_0x5b56c9[_0x195d5c])&&(_0x5e55df=_0x270c2b(_0x5e55df)||_0x5e55df);return _0x5e55df;},be=(_0x53eae5,_0x45c7cf)=>(_0x5171c8,_0x184587)=>_0x45c7cf(_0x5171c8,_0x184587,_0x53eae5),mn=(_0x4c76c8,_0x48c781,_0x4859ca)=>fn(_0x4c76c8,_0x48c781+'',_0x4859ca);const gn=_0x989fca(0x229);let Ae=class extends _0x26cf55{constructor(_0x20ae8f=et,_0x1f3e11,_0x2d0198,_0x1c1d5a){const _0x439587=_0x989fca;super(),this[_0x439587(0x11a)]=_0x20ae8f,this[_0x439587(0x18f)]=_0x1f3e11,this[_0x439587(0x1e7)]=_0x2d0198,this[_0x439587(0xc7)]=_0x1c1d5a;const {..._0x1f56be}=_0x3f6db5({},et,this[_0x439587(0x11a)]);this[_0x439587(0xc7)][_0x439587(0x150)](Zi,_0x1f56be);}[_0x989fca(0x25c)](){const _0x8540b9=_0x989fca;this[_0x8540b9(0x211)](),this[_0x8540b9(0x1cb)]();}[_0x989fca(0xfb)](){const _0x3b13c3=_0x989fca;this[_0x3b13c3(0xb5)]();}[_0x989fca(0x211)](){const _0x4600e5=_0x989fca;var _0x1ee40b;const _0x4a9d7f=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x2a5132,{'useClass':_0x796951}],[_0x543569,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x7b861d(this[_0x4600e5(0x1e7)],_0x5248f5(_0x4a9d7f,(_0x1ee40b=this[_0x4600e5(0x11a)])==null?void 0x0:_0x1ee40b['override']));}[_0x989fca(0xb5)](){const _0x5087fa=_0x989fca;this['disposeWithMe'](this[_0x5087fa(0x18f)][_0x5087fa(0x258)](_0x5a554e[_0x5087fa(0x161)],[Pe])),this['disposeWithMe'](this[_0x5087fa(0x18f)][_0x5087fa(0x258)](_0x5a554e[_0x5087fa(0x120)],[we]));}['_initDependencies'](){const _0x42d8db=_0x989fca;_0x2c0a79(this[_0x42d8db(0x1e7)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x2fa566(_0x3addc0),be(0x1,_0x8b70ca),be(0x2,_0x57fbba(_0x4ad95e)),be(0x3,_0x7fd8c8)],Ae);var vn=Object[_0x989fca(0x185)],In=(_0x35258a,_0x57cfef,_0x5167b0,_0x3ad7d8)=>{const _0x598eb5=_0x989fca;for(var _0x1d9fd2=_0x3ad7d8>0x1?void 0x0:_0x3ad7d8?vn(_0x57cfef,_0x5167b0):_0x57cfef,_0x1ea5ae=_0x35258a[_0x598eb5(0x10c)]-0x1,_0x1d9170;_0x1ea5ae>=0x0;_0x1ea5ae--)(_0x1d9170=_0x35258a[_0x1ea5ae])&&(_0x1d9fd2=_0x1d9170(_0x1d9fd2)||_0x1d9fd2);return _0x1d9fd2;},K=(_0x345d29,_0x15cad6)=>(_0x4a172d,_0x30f555)=>_0x15cad6(_0x4a172d,_0x30f555,_0x345d29);function _0xaf35(){const _0x130c01=['unshift','isEditing','getSheetBySheetId','imageSourceType','then','ONLINE','collaboration.closeRoom','symbol','449716WcuOFq','executionId','INVITE_CODE_ALREADY_BOUND','_notificationService','_anchor','transformIMECache','href','USER_NOT_INVITED_CODE','min','transform','JOIN_ROOM_FAILED','evenodd','concat','_textBubble','replace','univerjs-icon\x20univerjs-icon-','_handleLeaveEvent','makeDirty','setConfig','_hovered','setShapeProps','getRangePointData','LOGIN_FAILED','getConfig','addClipboardHook','NOT_COLLAB','_updateSubUnitFromURLParams','origin','_collabSessionService','APPLY_REJECT','getActiveRange','_onCursorUpdate','_localStorageService','APPLY_PERMISSION_DENIED','_transformService','UNIVER_DOC','_handleJoinEvent','mutations','toString','transformMutation','reconnect','Warning','collab-text-anchor-','getUnitStatus$','_commandService','roomMembers$','createInstance','_logService','color','_toggleOnline','INVALID_INVITE_CODE','colorChannel1','_collaborationUIEventService','has','triggerDblclick','get','source','type','sheetId','_localeService','SNAPSHOT_INVALID_SNAPSHOT','AWAITING','_refRangeService','PERMISSION_DENIED','name','Failed','YUUMI_SUBSCRIPTION_NOT_FOUND','setInterval','PY_RUNTIME_SCRIPT_ERROR','_entityInit$','selection','getOwnPropertyDescriptor','_urlService','_hover','205934itwiYL','propertyIsEnumerable','saveTaskMap','_disabled','_getSaveTimeout','_heartbeatTimer','stringify','_renderManagerService','map','UNDEFINED','labelPosition','InsertRowCommandId','_transformUndoRedoStack','_drawAnchor','closePath','getItem','saveImage','history','deepClone','OTHER_CLIENT_EDITING','getStateCache','collabStatus.synced','fillText','width','params','onCommandExecuted','_setupBeforeClosingHandler','arc','className','black','on-line-single_clip0_910_349','HEADER_MENU','_messageService','transformMutationsWithChangeset','_startSheetCollabCursor','contains','runOnServer','pushState','asObservable','_status$','find','_collaborationController','docStateChange$','_handleHeartbeatEvent','_entities','onPointerEnter$','ranges','OTHER_CLIENTS_EDITING','key','_scheduleSaving','sheetID','assign','random','LICENSE_IMPORT_SIZE_EXCEEDED','_docStateChangeManagerService','isArray','61026BOIwaz','_cachedData','_name','subscribeEvent','0\x200\x2016\x2016','onPointerLeave$','CLOSE_ROOM','SOCKET_FAILED_RETRY','getTypeOfUnitDisposed$','none','SOCKET_FAILED','_initDependencies','getCollabCursors$','replaceState','syncEditingCollabCursor','currentSkeleton$','requireSession','getCurrent','values','_updateLocalCursor','collaboration-client.offline-data-not-saved','collab-rect-range-','engine','invokeId','_setupSubUnitSync','272691amjYMr','runId','_colorAssignService','parse','error','fill','unitID','addEventListener','gold400','getUniverSheetInstance','addObjects','_cursorInfo$','YUUMI_RATE_OVER_LIMIT','getValue','_injector','extend','SNAPSHOT_HAS_BEEN_REMOVED','_handleEvent','DeleteRangeMoveUpCommandId','disposeUnit','unsubscribe','idSuffix','_memberService','MoveRangeCommandId','sessionStatus$','UNAUTHENTICATED','defIds','setItem','status$','unload','56wgKxTp','_docSyncEditingCollabCursorService','_assignedColors','defs','setActiveRange','dispose','on-line-single','collaboration.single-unit.warning','getVpScrollXYInfoByPosToVp','data','measureText','newValue','_range','_lastPointer','beginPath','eventID','startRow','YUUMI_URL_COL_OUT_OF_RANGE','Error','InsertRangeMoveDownCommandId','INVALID_ARGUMENT','from','_cursors','_uiPartsService','forEach','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_registerDependencies','session.will-retry','#fff','_transformPreviousActiveRange','NO_OTHER_CLIENTS_EDITING','_localCacheService','resize','getViewport','_initResize','sessionTicket','_initEntityListener','_online','YUUMI_ASYNCIO_CANCELLED','onLocalMutation','application/json','APPLY_REVISION_CONFILICT','TEXT','findNodePositionByCharIndex','selections','dispose$','getRenderById','getMergeData','row','collabStatus.fetchMiss','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_handleHover','rgba(255,\x20255,\x20255,\x200.01)','collabStatus.notCollab','_revisionService','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','getActiveSheet','RemoveColCommandId','urlChange$','_init','getDocRanges','INVITE_CODE_HAS_BEEN_UES','_initStatusComponent','NOT_FOUND','SUBMIT_CHANGESET_TIMEOUT','whenReady','LICENSE_EXPORT_SIZE_EXCEEDED','translate(.97)','getMember','USERS_LEAVE','YUUMI_NO_CUBOID_FOR_QUESTION','url(#$1','_docTransformSelectionsService','delete','transformSelections','hide','_drawRectRange','_saveTaskMap','_removeCollabCursors','LICENSE_DISTRO_REJECTED','OFFLINE','collabCursorState$','_selfUnitIDs','getCurrentRevOfUnit','_updateURLWithCurrentState','m2Prime','activeSheet$','currentTheme$','init','next','textRanges','popstate','119WUKwyc','add','getOffsetConfig','YUUMI_UNABLE_LOAD_URL','1105795YCzWxm','registerRenderModule','transformByState','_send','RECT','onStarting','red300','_docTransformStateCacheService','call','getUnhiddenWorksheets','_onCursorDelete','_collabCursorState$','...','getSkeleton','use','_toggleOffline','INVITE_CODE_REQUIRED','div','round','_drawTextRange','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_unitStatus','fillStyle','_univerInstanceService','_doCreateSocket','location','function','text','entityInit$','post','M0\x200H16V16H0z','_render','disableLocalCache','DeleteRangeMoveLeftCommandId','_refreshCollabCursors','moveTo','COMPLETION_FINISHED','pipe','unitId','_updateCollabCursors','CHANGESET_REVISION_CONFILICT','_roomMembers$','displayName','show','getTypeOfUnitAdded$','disposeWithMe','collabStatus.offline','APPLY_DUPLICATED','FETCH_MISS','ALREADY_EXISTS','jiqing500','_startDocCollabCursor','max','univer-text-green-500','transformRemoteChangeset','_docClipboardService','collab-client.tooltip.reconnect','_httpService','set','_backgroundColor','mask','INTERNAL_ERROR','body','_session','assignAColorForMemberID','_initCommandExecutedListener','_getScale','entries','ENSURE_SNAPSHOT_EXECUTION','_onRefRangeChange','TOO_MANY_REQUESTS','top','blue400','_ensureSubject','size','push','_dataLoaderService','611836ARCchV','enableLocalCache','CONNECTOR_DATA_TOO_LARGE','CONFLICT','m1Prime','_beforeCloseService','collabStatus.conflict','cursorInfo','drawWith','subscribe','getUndoRedoMutationParamsCache','_draw','_saveCache','getParam','permission.title','createSocket','getOwnPropertySymbols','getSheetId','exhaustSavingTask','_labelPosition','hovered','_registerRenderDependencies','AWAITING_WITH_PENDING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','executeCommand','icon','UNRECOGNIZED','tag','code','undoState','_clearOtherTimers','_colorIndex','[RemoteUniscriptService]:\x20no\x20focused\x20unit','subunit','range','defineProperty','_getMergeRange','_getSessionTicket','send','_configService','debug','flatMap','_anchorDot','_eventUnsubscribe','Unknown\x20user','_createSocketURL','svg','univer-flex\x20univer-items-center','result','skeleton','unit','_color','LICENSE_MAX_UNITS_EXCEEDED','generateRandomId','saveOfflineData','_themeService','session.collaboration-timeout','currentColor','redoState','prototype','endRow','RemoveRowCommandId','UPDATE_CURSOR','clearTimeout','registerComponent','setParam','onTransformChange$','#FFF','1em','verdancy600','_scheduleClearOtherTimer','permission.content','getAncestorScale','transformStateCache','roomMembers','[CollaborationDataLoaderController]','isActive','bottom','startsWith','WECHAT_HAS_BEEN_BOUND','addObject','font','_imageIoService','_context','APPLY_NON_SEQUENTIAL_REVISION','actions','_initStatusListener','_syncEditingCollabCursorService','indexOf','off-line-single','search','onRendered','xlink:href','replaceDocRanges','registerBeforeClose','MOBILE_HAS_BEEN_BOUND','searchParams','cursorInfo$','save','_removeClearOtherTimer','getRelativeToViewportCoord','path','clipPath','_id','_cursor','getFocusedUnit','_unitOnClients','url(#off-line-single_clip0_910_343)','length','_collabCursorController','attrs','purple300','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','string','split','_hideTimer','updateOfflineData','setUndoRedoMutationParamsCache','uni.network.url-service','fillRule','_transformHistoryAndStateStack','removeParam','_config','_scene','getUnitId','_sheetSkeletonManagerService','1149543xojaha','complete','UNIVER_SHEET','_docSkeleton','restore','height','_docSkeletonManagerService','onMouseMove','_initEvent','SYNCED','trim','_getSheetObject','children','_docTransformIMECacheService','lineTo','_shapes','with','event$','doc.mutation.rich-text-editing','addHandlerCallback','EMAIL_HAS_BEEN_BOUND','_instanceService','column','_cursorShapes'];_0xaf35=function(){return _0x130c01;};return _0xaf35();}let st=class extends _0x1faba7{constructor(_0x233d5c,_0x5431b7,_0x20128f,_0x3c0ec3,_0x4010d8){super(_0x233d5c,_0x5431b7,_0x20128f,_0x3c0ec3,_0x4010d8);}async[_0x989fca(0xaf)](_0x2b9f3a){const _0x8e8af1=_0x989fca,_0xaecbf4=await this[_0x8e8af1(0xc5)](),_0x14e2eb=this[_0x8e8af1(0xcd)](_0x2b9f3a,_0xaecbf4);return this[_0x8e8af1(0x26f)](_0x14e2eb);}[_0x989fca(0xcd)](_0x31c8bb,_0x1a132a){const _0xeb66d4=_0x989fca,_0x50c6bf=typeof window>'u'?new URL(_0x31c8bb):new URL(_0x31c8bb,window[_0xeb66d4(0x270)][_0xeb66d4(0x159)]);_0x50c6bf['searchParams'][_0xeb66d4(0x8d)](_0xeb66d4(0x21a),_0x1a132a);const _0x406a9b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xeb66d4(0xfa)]);return _0x406a9b[_0xeb66d4(0x175)](_0xeb66d4(0x1da))&&_0x50c6bf[_0xeb66d4(0x100)][_0xeb66d4(0x8d)]('runId',_0x406a9b[_0xeb66d4(0x175)](_0xeb66d4(0x1da))),_0x50c6bf['toString']();}async['_getSessionTicket'](){const _0x3f12c6=_0x989fca;var _0x41c90f,_0x58c7c8,_0x5b2880;const _0x1b8e23=this[_0x3f12c6(0xc7)][_0x3f12c6(0x155)](_0x2b9f09),_0x2c8196=(_0x41c90f=_0x1b8e23==null?void 0x0:_0x1b8e23['wsSessionTicketUrl'])!=null?_0x41c90f:_0x1db4ea;return(_0x5b2880=(_0x58c7c8=(await this[_0x3f12c6(0x8c)][_0x3f12c6(0x175)](_0x2c8196,{'headers':{'Content-Type':_0x3f12c6(0x21f)}}))[_0x3f12c6(0x91)])==null?void 0x0:_0x58c7c8['ticket'])!=null?_0x5b2880:'';}};st=In([K(0x0,_0x57fbba(_0x4ad95e)),K(0x1,_0x57fbba(_0x58b575)),K(0x2,_0x7fd8c8),K(0x3,_0x4bd942),K(0x4,_0x43bb1a)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x13eb4b{constructor(){const _0x4f3e70=_0x989fca;super(),_(this,'_id',_0x4476da()),_(this,_0x4f3e70(0x249),new Set()),_(this,_0x4f3e70(0x10a),new Map()),_(this,_0x4f3e70(0x18d),null),_(this,_0x4f3e70(0xbe),new Map()),_(this,_0x4f3e70(0x26c),new Map()),this[_0x4f3e70(0x232)]();}[_0x989fca(0x1fc)](){const _0x29c64c=_0x989fca;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x1ca6ad,_0x1abf09)=>this[_0x29c64c(0x103)](_0x1abf09)),this[_0x29c64c(0x18d)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x989fca(0x169)](_0x113cab){const _0x316ad9=_0x989fca;return this[_0x316ad9(0x9c)](_0x113cab)[_0x316ad9(0x27c)](_0x44d665());}['editingUnit'](_0x55e050){const _0x5d3133=_0x989fca;this[_0x5d3133(0x249)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x5d3133(0x249)]['add'](_0x55e050),this['_send']({'type':0x0,'memberID':this[_0x5d3133(0x107)],'unitIDs':[_0x55e050],'isForwarded':!0x1});}[_0x989fca(0x1ec)](_0x5a6f3a){const _0x5a093b=_0x989fca;this[_0x5a093b(0x249)][_0x5a093b(0x240)](_0x5a6f3a),this[_0x5a093b(0x249)][_0x5a093b(0x9d)]===0x0&&this[_0x5a093b(0x18d)]&&window['clearInterval'](this[_0x5a093b(0x18d)]);}[_0x989fca(0x232)](){const _0x46c319=_0x989fca;this[_0x46c319(0x80)](_0x5b0cc1(_0x53231d(window,'storage')[_0x46c319(0xa9)](_0x49c2b2=>{const _0x10646d=_0x46c319;if(_0x49c2b2[_0x10646d(0x1b8)]!==nt||!_0x49c2b2[_0x10646d(0x202)])return;const _0x6b6ea0=JSON[_0x10646d(0x1dc)](_0x49c2b2['newValue']);this['_handleEvent'](_0x6b6ea0);}))),window[_0x46c319(0x1e0)](_0x46c319(0x1f6),()=>this[_0x46c319(0x25a)]({'type':0x1,'memberID':this[_0x46c319(0x107)],'unitIDs':Array[_0x46c319(0x20c)](this['_selfUnitIDs'])}));}[_0x989fca(0x1ea)](_0x276201){const _0xebe2fc=_0x989fca;switch(_0x276201[_0xebe2fc(0x177)]){case 0x0:this[_0xebe2fc(0x162)](_0x276201);break;case 0x1:this[_0xebe2fc(0x14e)](_0x276201);break;case 0x2:this['_handleHeartbeatEvent'](_0x276201);break;}}[_0x989fca(0x162)](_0x4d93a1){const _0x3fad65=_0x989fca,{unitIDs:_0x17859d,memberID:_0x247102,isForwarded:_0x4dd110}=_0x4d93a1;_0x17859d[_0x3fad65(0x20f)](_0x1a2f74=>{const _0x52002f=_0x3fad65;if(!_0x4dd110&&this[_0x52002f(0x10a)]['has'](_0x1a2f74)&&this[_0x52002f(0x9c)](_0x1a2f74)[_0x52002f(0x250)](_0x26269e[_0x52002f(0x1b7)]),!this[_0x52002f(0x10a)]['has'](_0x1a2f74)||!this['_unitOnClients'][_0x52002f(0x175)](_0x1a2f74)[_0x52002f(0x173)](_0x247102)){const _0x149310=this[_0x52002f(0x10a)][_0x52002f(0x175)](_0x1a2f74)||new Set();_0x149310['add'](_0x247102),this[_0x52002f(0x10a)][_0x52002f(0x8d)](_0x1a2f74,_0x149310),this['_scheduleClearOtherTimer'](_0x247102);}}),_0x4dd110||this['_send']({'type':0x0,'memberID':this[_0x3fad65(0x107)],'unitIDs':[...this[_0x3fad65(0x249)]],'isForwarded':!0x0});}[_0x989fca(0xe6)](_0x404f8c){const _0x51ea36=_0x989fca;this[_0x51ea36(0x103)](_0x404f8c);const _0x48f868=window['setTimeout'](()=>{const _0x2ba141=_0x51ea36;this[_0x2ba141(0x10a)][_0x2ba141(0x20f)](_0x36b36e=>{_0x36b36e['delete'](_0x404f8c);});},it*0x2);this['_clearOtherTimers']['set'](_0x404f8c,_0x48f868);}['_removeClearOtherTimer'](_0x4d438e){const _0x55a945=_0x989fca;if(this['_clearOtherTimers'][_0x55a945(0x173)](_0x4d438e)){const _0x5c50f0=this[_0x55a945(0xbe)][_0x55a945(0x175)](_0x4d438e);_0x5c50f0&&window[_0x55a945(0xdf)](_0x5c50f0),this['_clearOtherTimers'][_0x55a945(0x8d)](_0x4d438e,null);}}['_handleLeaveEvent'](_0x4b98ad){const _0x52ac6c=_0x989fca,{memberID:_0xce438,unitIDs:_0x2c5410}=_0x4b98ad;_0x2c5410['forEach'](_0x24c5b4=>{const _0x56e18a=_0x20af;var _0x4e4fa0;const _0x32fc13=this[_0x56e18a(0x10a)][_0x56e18a(0x175)](_0x24c5b4);_0x32fc13&&(_0x32fc13['delete'](_0xce438),(_0x4e4fa0=this['_ensureSubject'](_0x24c5b4))==null||_0x4e4fa0['next'](_0x32fc13[_0x56e18a(0x9d)]===0x0?_0x26269e['NO_OTHER_CLIENTS_EDITING']:_0x26269e[_0x56e18a(0x1b7)]));}),this[_0x52ac6c(0x103)](_0xce438);}[_0x989fca(0x1b3)](_0x2d14d2){const _0xb3d12a=_0x989fca;this[_0xb3d12a(0xe6)](_0x2d14d2['memberID']);}[_0x989fca(0x25a)](_0x7f8c24){const _0x598fef=_0x989fca;localStorage[_0x598fef(0x1f4)](nt,JSON[_0x598fef(0x18e)](_0x7f8c24));}['_scheduleHeartbeat'](){const _0x1ce7aa=_0x989fca;this[_0x1ce7aa(0x18d)]=window[_0x1ce7aa(0x181)](()=>{const _0x56c3f1=_0x1ce7aa;this[_0x56c3f1(0x25a)]({'type':0x2,'memberID':this[_0x56c3f1(0x107)]});},it);}[_0x989fca(0x9c)](_0x2f54d9){const _0x279b44=_0x989fca;return this[_0x279b44(0x26c)][_0x279b44(0x173)](_0x2f54d9)||this[_0x279b44(0x26c)][_0x279b44(0x8d)](_0x2f54d9,new _0x139555(_0x26269e[_0x279b44(0x215)])),this[_0x279b44(0x26c)][_0x279b44(0x175)](_0x2f54d9);}}var Mt=(_0x4dfc83=>(_0x4dfc83[_0x4dfc83['UNDEFINED']=0x0]=_0x989fca(0x191),_0x4dfc83[_0x4dfc83['OK']=0x1]='OK',_0x4dfc83[_0x4dfc83[_0x989fca(0x90)]=0x2]=_0x989fca(0x90),_0x4dfc83[_0x4dfc83[_0x989fca(0x17d)]=0x3]=_0x989fca(0x17d),_0x4dfc83[_0x4dfc83[_0x989fca(0x236)]=0x4]=_0x989fca(0x236),_0x4dfc83[_0x4dfc83[_0x989fca(0x1f2)]=0x5]=_0x989fca(0x1f2),_0x4dfc83[_0x4dfc83['ALREADY_EXISTS']=0x6]=_0x989fca(0x84),_0x4dfc83[_0x4dfc83[_0x989fca(0x20b)]=0x7]='INVALID_ARGUMENT',_0x4dfc83[_0x4dfc83[_0x989fca(0x99)]=0x8]=_0x989fca(0x99),_0x4dfc83[_0x4dfc83[_0x989fca(0x27b)]=0x9]=_0x989fca(0x27b),_0x4dfc83[_0x4dfc83['LOGIN_FAILED']=0xa]=_0x989fca(0x154),_0x4dfc83[_0x4dfc83[_0x989fca(0x7b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4dfc83[_0x4dfc83[_0x989fca(0x17a)]=0x1771]=_0x989fca(0x17a),_0x4dfc83[_0x4dfc83[_0x989fca(0x1e9)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4dfc83[_0x4dfc83[_0x989fca(0x97)]=0x1773]=_0x989fca(0x97),_0x4dfc83[_0x4dfc83['APPLY_REJECT']=0x1b59]=_0x989fca(0x15b),_0x4dfc83[_0x4dfc83[_0x989fca(0xf4)]=0x1b5a]=_0x989fca(0xf4),_0x4dfc83[_0x4dfc83[_0x989fca(0x220)]=0x1b5b]=_0x989fca(0x220),_0x4dfc83[_0x4dfc83[_0x989fca(0x15f)]=0x1b5c]=_0x989fca(0x15f),_0x4dfc83[_0x4dfc83[_0x989fca(0x82)]=0x1b5d]=_0x989fca(0x82),_0x4dfc83[_0x4dfc83[_0x989fca(0xa2)]=0x1f41]=_0x989fca(0xa2),_0x4dfc83[_0x4dfc83[_0x989fca(0xd4)]=0x2329]=_0x989fca(0xd4),_0x4dfc83[_0x4dfc83[_0x989fca(0xb7)]=0x232a]=_0x989fca(0xb7),_0x4dfc83[_0x4dfc83[_0x989fca(0x1bd)]=0x232b]=_0x989fca(0x1bd),_0x4dfc83[_0x4dfc83['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x989fca(0x239),_0x4dfc83[_0x4dfc83[_0x989fca(0x246)]=0x232d]=_0x989fca(0x246),_0x4dfc83[_0x4dfc83[_0x989fca(0x256)]=0x2711]=_0x989fca(0x256),_0x4dfc83[_0x4dfc83[_0x989fca(0x208)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4dfc83[_0x4dfc83[_0x989fca(0x1e5)]=0x2713]=_0x989fca(0x1e5),_0x4dfc83[_0x4dfc83[_0x989fca(0x180)]=0x2714]=_0x989fca(0x180),_0x4dfc83[_0x4dfc83[_0x989fca(0x23d)]=0x271a]=_0x989fca(0x23d),_0x4dfc83[_0x4dfc83[_0x989fca(0x21d)]=0x271b]=_0x989fca(0x21d),_0x4dfc83[_0x4dfc83[_0x989fca(0x182)]=0x2af9]=_0x989fca(0x182),_0x4dfc83[_0x4dfc83[_0x989fca(0x234)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4dfc83[_0x4dfc83[_0x989fca(0x170)]=0x2ee2]=_0x989fca(0x170),_0x4dfc83[_0x4dfc83[_0x989fca(0x267)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4dfc83[_0x4dfc83[_0x989fca(0x145)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4dfc83[_0x4dfc83[_0x989fca(0x140)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4dfc83[_0x4dfc83[_0x989fca(0xef)]=0x32c9]=_0x989fca(0xef),_0x4dfc83[_0x4dfc83['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x989fca(0xff),_0x4dfc83[_0x4dfc83[_0x989fca(0x132)]=0x32cb]=_0x989fca(0x132),_0x4dfc83[_0x4dfc83[_0x989fca(0xba)]=-0x1]=_0x989fca(0xba),_0x4dfc83))(Mt||{}),pn=Object[_0x989fca(0x185)],Cn=(_0x4e44ad,_0x4b5bb9,_0x4eace5,_0x33d232)=>{const _0x4dd6c0=_0x989fca;for(var _0x8b94ef=_0x33d232>0x1?void 0x0:_0x33d232?pn(_0x4b5bb9,_0x4eace5):_0x4b5bb9,_0x16fd6b=_0x4e44ad[_0x4dd6c0(0x10c)]-0x1,_0x2ff2ee;_0x16fd6b>=0x0;_0x16fd6b--)(_0x2ff2ee=_0x4e44ad[_0x16fd6b])&&(_0x8b94ef=_0x2ff2ee(_0x8b94ef)||_0x8b94ef);return _0x8b94ef;},Oe=(_0x53c1ec,_0x421654)=>(_0x2d46e2,_0x5942b1)=>_0x421654(_0x2d46e2,_0x5942b1,_0x53c1ec);let rt=class extends _0x13eb4b{constructor(_0x589307,_0x4b5aec,_0x468a1f){const _0x8dc1ca=_0x989fca;super(),this[_0x8dc1ca(0x133)]=_0x589307,this[_0x8dc1ca(0x8c)]=_0x4b5aec,this['_configService']=_0x468a1f;}async[_0x989fca(0x1ac)](_0x45d64b,_0x2df45b,_0x2cce30,..._0x57fadb){const _0x11f8e4=_0x989fca;var _0x465c9e,_0x23f184,_0xdc8301,_0x6be45b;const _0x31d031=this['_instanceService'][_0x11f8e4(0x109)]();if(!_0x31d031)throw new Error(_0x11f8e4(0xc0));const _0x253b35=((_0x465c9e=this['_configService'][_0x11f8e4(0x155)](_0x7f89b6))!=null?_0x465c9e:_0x1c1d6c)+'/'+_0x45d64b+'/run/'+_0x2df45b,_0x181484=new URL(window['location']['href']),_0x337fc8={'scriptId':_0x45d64b,'runId':(_0x23f184=_0x181484['searchParams'][_0x11f8e4(0x175)](_0x11f8e4(0x1da)))!=null?_0x23f184:'','function':_0x2df45b,'unitId':_0x31d031[_0x11f8e4(0x11c)](),'argsOfFunction':JSON['stringify'](_0x57fadb),'invokeId':(_0xdc8301=_0x2cce30[_0x11f8e4(0x1d7)])!=null?_0xdc8301:'','executionId':(_0x6be45b=_0x2cce30[_0x11f8e4(0x13f)])!=null?_0x6be45b:''};try{const _0x54c1dc=await this['_httpService'][_0x11f8e4(0x274)](_0x253b35,{'body':_0x337fc8});return _0x54c1dc[_0x11f8e4(0x91)]['error']&&_0x54c1dc[_0x11f8e4(0x91)][_0x11f8e4(0x1dd)][_0x11f8e4(0xbc)]!==Mt['OK']?_0x11f8e4(0x17f):_0x54c1dc['body'][_0x11f8e4(0xd0)];}catch{return _0x11f8e4(0x17f);}}};rt=Cn([Oe(0x0,_0x2844bb),Oe(0x1,_0x57fbba(_0x58b575)),Oe(0x2,_0x7fd8c8)],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
- const _0x1f40a4=_0x48c1;function _0x56a0(){const _0x5a66d3=['3xUmQLJ','2500630RLPcwx','132726WJuKnE','870QSvKxR','Click\x20to\x20Reconnect','111748KmssmL','120lhpaOI','2053640DUIECp','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','48843nvwwNw','Syncing\x20server\x20data...','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','4826568CcBdju','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Synced','Authentication\x20Error','Syncing...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Connection\x20failed,\x20please\x20check\x20your\x20network.','25BQbXId','34zupCtT','4378lHGdAh','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','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.','Local\x20file'];_0x56a0=function(){return _0x5a66d3;};return _0x56a0();}function _0x48c1(_0x1a40cd,_0x1ab076){const _0x56a096=_0x56a0();return _0x48c1=function(_0x48c17b,_0x41338a){_0x48c17b=_0x48c17b-0x1e4;let _0x1f5044=_0x56a096[_0x48c17b];return _0x1f5044;},_0x48c1(_0x1a40cd,_0x1ab076);}(function(_0x22eaf6,_0xb4f64e){const _0x42253f=_0x48c1,_0x4fd917=_0x22eaf6();while(!![]){try{const _0x58d1ff=parseInt(_0x42253f(0x1f7))/0x1*(parseInt(_0x42253f(0x1f6))/0x2)+-parseInt(_0x42253f(0x1fc))/0x3*(parseInt(_0x42253f(0x1e7))/0x4)+-parseInt(_0x42253f(0x1f5))/0x5*(parseInt(_0x42253f(0x1fe))/0x6)+parseInt(_0x42253f(0x1e5))/0x7*(-parseInt(_0x42253f(0x1e6))/0x8)+parseInt(_0x42253f(0x1ea))/0x9*(parseInt(_0x42253f(0x1ff))/0xa)+parseInt(_0x42253f(0x1fd))/0xb+parseInt(_0x42253f(0x1ee))/0xc;if(_0x58d1ff===_0xb4f64e)break;else _0x4fd917['push'](_0x4fd917['shift']());}catch(_0x19fe36){_0x4fd917['push'](_0x4fd917['shift']());}}}(_0x56a0,0x4c544));const e={'collab-client':{'tooltip':{'reconnect':_0x1f40a4(0x1e4)}},'collabStatus':{'fetchMiss':_0x1f40a4(0x1eb),'conflict':_0x1f40a4(0x1f9),'notCollab':_0x1f40a4(0x1fb),'synced':_0x1f40a4(0x1f0),'syncing':_0x1f40a4(0x1f2),'offline':_0x1f40a4(0x1f3)},'session':{'connection-failed':_0x1f40a4(0x1f4),'will-retry':_0x1f40a4(0x1ef),'room-full':_0x1f40a4(0x1e8),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x1f40a4(0x1ec),'content':_0x1f40a4(0x1fa)},'permission':{'title':_0x1f40a4(0x1f1),'content':_0x1f40a4(0x1ed)},'collaboration':{'single-unit':{'warning':_0x1f40a4(0x1f8)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':_0x1f40a4(0x1e9)}};export{e as default};
1
+ function _0x4178(_0x12473f,_0x4517d8){const _0x2c8173=_0x2c81();return _0x4178=function(_0x4178f1,_0xfe49cd){_0x4178f1=_0x4178f1-0x76;let _0x4b06f6=_0x2c8173[_0x4178f1];return _0x4b06f6;},_0x4178(_0x12473f,_0x4517d8);}const _0x4f40ae=_0x4178;(function(_0x4f158a,_0x3d39c4){const _0x53914c=_0x4178,_0x3fab1c=_0x4f158a();while(!![]){try{const _0x44838b=-parseInt(_0x53914c(0x7d))/0x1*(-parseInt(_0x53914c(0x8f))/0x2)+parseInt(_0x53914c(0x87))/0x3+-parseInt(_0x53914c(0x88))/0x4*(-parseInt(_0x53914c(0x8b))/0x5)+-parseInt(_0x53914c(0x85))/0x6+parseInt(_0x53914c(0x76))/0x7+-parseInt(_0x53914c(0x78))/0x8*(parseInt(_0x53914c(0x89))/0x9)+parseInt(_0x53914c(0x7b))/0xa*(-parseInt(_0x53914c(0x8d))/0xb);if(_0x44838b===_0x3d39c4)break;else _0x3fab1c['push'](_0x3fab1c['shift']());}catch(_0x4a8bc8){_0x3fab1c['push'](_0x3fab1c['shift']());}}}(_0x2c81,0x43778));const e={'collab-client':{'tooltip':{'reconnect':_0x4f40ae(0x8c)}},'collabStatus':{'fetchMiss':_0x4f40ae(0x7e),'conflict':_0x4f40ae(0x8a),'notCollab':_0x4f40ae(0x7c),'synced':_0x4f40ae(0x81),'syncing':'Syncing...','offline':_0x4f40ae(0x8e)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x4f40ae(0x7f),'room-full':_0x4f40ae(0x80),'collaboration-timeout':_0x4f40ae(0x82)},'conflict':{'title':_0x4f40ae(0x83),'content':_0x4f40ae(0x7a)},'permission':{'title':_0x4f40ae(0x77),'content':_0x4f40ae(0x79)},'collaboration':{'single-unit':{'warning':_0x4f40ae(0x84)},'closeRoom':_0x4f40ae(0x86)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x2c81(){const _0x4a99a9=['Click\x20to\x20Reconnect','319zGABlE','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','486UQgXKw','1487647DLZTxq','Authentication\x20Error','1264ryQGVl','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','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.','32510TMsUtP','Local\x20file','2193ZWCNYD','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1399554KXPdAy','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','170952wrtgKQ','8eWljHf','23346NsrVXL','Edit\x20conflicts','528325SDPeRv'];_0x2c81=function(){return _0x4a99a9;};return _0x2c81();}export{e as default};
@@ -1 +1 @@
1
- function _0x2d7c(){const _0x535dab=['اعمال\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رفت.','54466SjNaAo','خطای\x20اعتبارسنجی','149950OXpXmV','50844yQrdHw','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','5820542coScYG','3677645XkhKqn','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','4644672ljemCF','1202361TDJhjX','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','پرونده\x20محلی','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','در\x20حال\x20همگام\x20سازی...'];_0x2d7c=function(){return _0x535dab;};return _0x2d7c();}const _0x427135=_0x34d3;function _0x34d3(_0x566ed9,_0x8d76c2){const _0x2d7c5d=_0x2d7c();return _0x34d3=function(_0x34d3a6,_0xdffe21){_0x34d3a6=_0x34d3a6-0x167;let _0x1143b2=_0x2d7c5d[_0x34d3a6];return _0x1143b2;},_0x34d3(_0x566ed9,_0x8d76c2);}(function(_0x2f9f0d,_0x3dd01d){const _0x5de13a=_0x34d3,_0x52f9a4=_0x2f9f0d();while(!![]){try{const _0x459116=parseInt(_0x5de13a(0x16f))/0x1+parseInt(_0x5de13a(0x171))/0x2+-parseInt(_0x5de13a(0x178))/0x3+parseInt(_0x5de13a(0x172))/0x4+parseInt(_0x5de13a(0x175))/0x5+parseInt(_0x5de13a(0x177))/0x6+-parseInt(_0x5de13a(0x174))/0x7;if(_0x459116===_0x3dd01d)break;else _0x52f9a4['push'](_0x52f9a4['shift']());}catch(_0x219eae){_0x52f9a4['push'](_0x52f9a4['shift']());}}}(_0x2d7c,0x666ac));const o={'collab-client':{'tooltip':{'reconnect':_0x427135(0x167)}},'collabStatus':{'fetchMiss':_0x427135(0x173),'conflict':'تداخل\x20ویرایش','notCollab':_0x427135(0x169),'synced':'همگام\x20سازی','syncing':_0x427135(0x16d),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x427135(0x176),'will-retry':_0x427135(0x16a),'room-full':_0x427135(0x168),'collaboration-timeout':_0x427135(0x16c)},'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':_0x427135(0x170),'content':_0x427135(0x16e)},'collaboration':{'single-unit':{'warning':_0x427135(0x16b)},'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
+ const _0x3b0576=_0x3780;function _0x3780(_0x284875,_0x1de682){const _0x73f521=_0x73f5();return _0x3780=function(_0x378066,_0x38fc33){_0x378066=_0x378066-0x7f;let _0x3b9e9e=_0x73f521[_0x378066];return _0x3b9e9e;},_0x3780(_0x284875,_0x1de682);}(function(_0xb1a1fa,_0x4c3f05){const _0x2b3ea4=_0x3780,_0x54cbd8=_0xb1a1fa();while(!![]){try{const _0x36acc2=-parseInt(_0x2b3ea4(0x94))/0x1*(parseInt(_0x2b3ea4(0x97))/0x2)+parseInt(_0x2b3ea4(0x89))/0x3*(-parseInt(_0x2b3ea4(0x9a))/0x4)+parseInt(_0x2b3ea4(0x98))/0x5*(parseInt(_0x2b3ea4(0x8e))/0x6)+-parseInt(_0x2b3ea4(0x87))/0x7*(-parseInt(_0x2b3ea4(0x90))/0x8)+-parseInt(_0x2b3ea4(0x99))/0x9*(-parseInt(_0x2b3ea4(0x96))/0xa)+parseInt(_0x2b3ea4(0x88))/0xb+-parseInt(_0x2b3ea4(0x8f))/0xc*(parseInt(_0x2b3ea4(0x85))/0xd);if(_0x36acc2===_0x4c3f05)break;else _0x54cbd8['push'](_0x54cbd8['shift']());}catch(_0x341e40){_0x54cbd8['push'](_0x54cbd8['shift']());}}}(_0x73f5,0xd34ed));const o={'collab-client':{'tooltip':{'reconnect':_0x3b0576(0x80)}},'collabStatus':{'fetchMiss':_0x3b0576(0x8d),'conflict':_0x3b0576(0x81),'notCollab':'پرونده\x20محلی','synced':_0x3b0576(0x82),'syncing':_0x3b0576(0x8a),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x3b0576(0x8b),'room-full':_0x3b0576(0x92),'collaboration-timeout':_0x3b0576(0x86)},'conflict':{'title':_0x3b0576(0x7f),'content':_0x3b0576(0x91)},'permission':{'title':_0x3b0576(0x83),'content':_0x3b0576(0x84)},'collaboration':{'single-unit':{'warning':_0x3b0576(0x8c)},'closeRoom':_0x3b0576(0x95)},'auth':{'needGotoLoginAlert':_0x3b0576(0x93)}};export{o as default};function _0x73f5(){const _0x4c7044=['شما\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سرور...','15870ABxBsa','12VixEbZ','10855136HwPIwO','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','1DrGhha','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','466190FbRZMK','173666nhpGdn','625LDqlTf','189LAuwNB','124quSxvq','تداخل\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رفت.','29039335qhPgOK','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','7rxdhlh','6505334XsxoJB','6945uAXAIx','در\x20حال\x20همگام\x20سازی...','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.'];_0x73f5=function(){return _0x4c7044;};return _0x73f5();}