@univerjs-pro/collaboration-client-ui 0.6.8 → 0.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x3077db=_0xda77;(function(_0x4cd663,_0x1d7877){const _0x2a5009=_0xda77,_0x55c583=_0x4cd663();while(!![]){try{const _0x356563=-parseInt(_0x2a5009(0x378))/0x1*(-parseInt(_0x2a5009(0x36e))/0x2)+parseInt(_0x2a5009(0x2a2))/0x3*(-parseInt(_0x2a5009(0x398))/0x4)+-parseInt(_0x2a5009(0x2f5))/0x5*(parseInt(_0x2a5009(0x389))/0x6)+-parseInt(_0x2a5009(0x377))/0x7+parseInt(_0x2a5009(0x30a))/0x8*(parseInt(_0x2a5009(0x3af))/0x9)+-parseInt(_0x2a5009(0x37f))/0xa*(-parseInt(_0x2a5009(0x3d7))/0xb)+-parseInt(_0x2a5009(0x237))/0xc*(-parseInt(_0x2a5009(0x22a))/0xd);if(_0x356563===_0x1d7877)break;else _0x55c583['push'](_0x55c583['shift']());}catch(_0x20a9f7){_0x55c583['push'](_0x55c583['shift']());}}}(_0x2588,0xcb343));var kt=Object[_0x3077db(0x2d3)],Bt=(_0x204157,_0xf3d722,_0x561e0b)=>_0xf3d722 in _0x204157?kt(_0x204157,_0xf3d722,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x561e0b}):_0x204157[_0xf3d722]=_0x561e0b,h=(_0x3f92b2,_0x267b09,_0x4b6197)=>Bt(_0x3f92b2,typeof _0x267b09!=_0x3077db(0x29a)?_0x267b09+'':_0x267b09,_0x4b6197);import{MemberService as _0x26557b,SessionStatus as _0x162a5f,CollaborationSessionService as _0x4d7a98,CollaborationStatus as _0x46c462,CollaborationController as _0x4560db,ILocalCacheService as _0x26b7b9,CollaborationUIEventService as _0xd450ed,CollaborationUIEventId as _0x2d5ac6,DataLoaderService as _0x12cfd6,DocCollaborationEntity as _0x969c36,getLocalCacheKey as _0x5c24cf,LOCAL_CACHE_INTERVAL as _0x4e8b84,LOCAL_CACHE_INTERVAL_KEY as _0x2bf1b3,UniverCollaborationClientPlugin as _0x383a92,CollaborationSocketService as _0x25a02b,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4f6d20,DEFAULT_WS_SESSION_TICKET_URL as _0x24bf0c,UnitStatus as _0x1305d7,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1733ae,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x2e10df}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x46a387,Disposable as _0x2f6711,DOC_RANGE_TYPE as _0x73603f,Inject as _0x5056af,Injector as _0x3c1911,IUniverInstanceService as _0x2c287e,ICommandService as _0x82374b,debounce as _0x4f8c21,Rectangle as _0x14b5aa,DisposableCollection as _0x5c9e3d,toDisposable as _0x12a07d,UniverInstanceType as _0x5e6f3c,Tools as _0x14a334,COLORS as _0xa86846,ColorKit as _0x7149f9,ThemeService as _0x506914,fromEventSubject as _0x40916e,LocaleService as _0x2539e7,createIdentifier as _0x6910e1,ILogService as _0x62ef0b,Optional as _0x335de1,Workbook as _0x2c1d5f,CommandType as _0xf2e447,IConfigService as _0x5418e6,ILocalStorageService as _0x162c54,DependentOn as _0x2658de,Plugin as _0x588f4c,merge as _0x5ca5be,registerDependencies as _0x48ac04,mergeOverrideWithDependencies as _0x47eedb,touchDependencies as _0x4fb82f,generateRandomId as _0x1ed28f}from'@univerjs/core';import{Shape as _0x190280,Rect as _0x25e190,getColor as _0x1199f7,RegularPolygon as _0x2fada9,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5c0654,Vector2 as _0x3a0f6c,SHEET_VIEWPORT_KEY as _0x4e58e1,IRenderManagerService as _0x261fd7}from'@univerjs/engine-render';import{ISocketService as _0x582a71,WebSocketService as _0x2d8aac,HTTPService as _0x34640d}from'@univerjs/network';import{IDocClipboardService as _0x53cc6f,NodePositionConvertToCursor as _0x121de6,NodePositionConvertToRectRange as _0x1cb420,TEXT_RANGE_LAYER_INDEX as _0x178775,SetDocZoomRatioOperation as _0x1f8ac0,DocIMEInputManagerService as _0x33d3d7,DocStateChangeManagerService as _0x504d2d}from'@univerjs/docs-ui';import{IImageIoService as _0x18efb7}from'@univerjs/drawing';import{BehaviorSubject as _0x5c912d,debounceTime as _0x4778dd,takeUntil as _0x425da0,Subject as _0x3ebb8c,filter as _0x178a95,switchMap as _0x47cc74,merge as _0x3fcf5e,combineLatest as _0x50a3eb,of as _0x4bb6cb,fromEvent as _0x4169b2,shareReplay as _0x2a3d77,mapTo as _0x43ecf4,distinctUntilChanged as _0x138379}from'rxjs';import{SetTextSelectionsOperation as _0x2f6422,RichTextEditingMutation as _0x5e1f01,DocSelectionManagerService as _0x11745e,DocSkeletonManagerService as _0x45e2d7}from'@univerjs/docs';import{ITransformService as _0xa02202,CollaborationEvent as _0x1ba1f8,isTransformMutationFailure as _0x2eb70e,isTransformMutationsWithChangesetSuccess as _0x55a217,RevisionService as _0x4acf32,ISnapshotServerService as _0x3a8044}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2fd25b,serializeRangeWithSheet as _0x4fa0b9}from'@univerjs/engine-formula';import{RefRangeService as _0x9e973d,SetSelectionsOperation as _0x47b6bf,SheetsSelectionsService as _0x5c82cb,EffectRefRangId as _0x3bde11,handleIRemoveRow as _0x2bc3e5,handleIRemoveCol as _0x12b96d,handleMoveRange as _0x381138,handleInsertRow as _0x598f37,handleInsertRangeMoveRight as _0x245242,handleInsertRangeMoveDown as _0x5762eb,handleInsertCol as _0x1c37af,handleDeleteRangeMoveUp as _0x38e032,handleDeleteRangeMoveLeft as _0x537a7d,runRefRangeMutations as _0x29e62d,SetWorksheetActivateCommand as _0x2a3a4a}from'@univerjs/sheets';import{map as _0x23809d,filter as _0x4a26be,throttleTime as _0x443f4e,takeUntil as _0x3e63c1,switchMap as _0x590437}from'rxjs/operators';import{SheetSkeletonManagerService as _0x42934d,getCoordByCell as _0x22d0be,getSheetObject as _0x7a26d8}from'@univerjs/sheets-ui';import{jsx as _0x1b1dac,jsxs as _0x254ad0}from'react/jsx-runtime';import{useObservable as _0x1da697,useDependency as _0x4691c2,IUIPartsService as _0x2f478b,BuiltInUIPart as _0x4c366f,connectInjector as _0x5a194f,IBeforeCloseService as _0x3f7d24,IMessageService as _0x8a7de,INotificationService as _0x4dac0a}from'@univerjs/ui';import{clsx as _0x425334,Tooltip as _0x1e5915,MessageType as _0x36699d}from'@univerjs/design';import{forwardRef as _0x58ae41,useRef as _0x563121,createElement as _0x6a5abd,useCallback as _0x5b9176}from'react';import{IRemoteInstanceService as _0x45fb52}from'@univerjs/rpc';var li=Object[_0x3077db(0x3b8)],hi=(_0x31d7ea,_0x42e121,_0x5595d8,_0x47f020)=>{const _0x3f363a=_0x3077db;for(var _0x55bbf0=_0x47f020>0x1?void 0x0:_0x47f020?li(_0x42e121,_0x5595d8):_0x42e121,_0x17ec58=_0x31d7ea[_0x3f363a(0x357)]-0x1,_0x5259c8;_0x17ec58>=0x0;_0x17ec58--)(_0x5259c8=_0x31d7ea[_0x17ec58])&&(_0x55bbf0=_0x5259c8(_0x55bbf0)||_0x55bbf0);return _0x55bbf0;},Qe=(_0x2675a8,_0x5b9654)=>(_0x45f4e6,_0x10a55e)=>_0x5b9654(_0x45f4e6,_0x10a55e,_0x2675a8);let Pe=class extends _0x46a387{constructor(_0x49ec79,_0x572669){const _0x4fdb23=_0x3077db;super(),this['_docClipboardService']=_0x49ec79,this['_imageIoService']=_0x572669,this[_0x4fdb23(0x3bd)]();}[_0x3077db(0x3bd)](){const _0xec348b=_0x3077db,_0x5abfb7=this;this[_0xec348b(0x21f)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x28e743=>{const _0x354ae0=_0xec348b,_0x38b392=await _0x5abfb7[_0x354ae0(0x3a3)][_0x354ae0(0x2cd)](_0x28e743);return _0x38b392?{'source':_0x38b392[_0x354ae0(0x3a0)],'imageSourceType':_0x38b392[_0x354ae0(0x2e2)]}:null;}}));}};Pe=hi([Qe(0x0,_0x53cc6f),Qe(0x1,_0x18efb7)],Pe);const qe=[_0x3077db(0x2e1),_0x3077db(0x360),'verdancy600',_0x3077db(0x235),_0x3077db(0x388),_0x3077db(0x2b8)];class He extends _0x2f6711{constructor(){const _0x4504b1=_0x3077db;super(...arguments),h(this,_0x4504b1(0x3c2),new Map()),h(this,'_colorIndex',0x0);}[_0x3077db(0x2f0)](_0x319065){const _0x71db9c=_0x3077db;if(this[_0x71db9c(0x3c2)][_0x71db9c(0x319)](_0x319065))return this[_0x71db9c(0x3c2)][_0x71db9c(0x28e)](_0x319065);const _0x40a2eb=qe[this[_0x71db9c(0x383)]];return this[_0x71db9c(0x383)]=(this['_colorIndex']+0x1)%qe[_0x71db9c(0x357)],this['_assignedColors'][_0x71db9c(0x37c)](_0x319065,_0x40a2eb),_0x40a2eb;}}function Dt(_0x21a0e8){const _0x14382c=_0x3077db;let _0x4376c2='';for(const _0x3f250f of _0x21a0e8){const {startOffset:_0x357ca2,endOffset:_0x5939d4,isActive:_0x2dbbac,rangeType:_0x5282c1,segmentId:_0x240d6e,segmentPage:_0x1df26b}=_0x3f250f;_0x4376c2[_0x14382c(0x357)]&&(_0x4376c2+=','),_0x4376c2+=_0x357ca2+':'+_0x5939d4+':'+(_0x2dbbac?'1':'0')+':'+_0x5282c1+':'+_0x240d6e+':'+_0x1df26b;}return _0x4376c2;}function _i(_0x370bbe){const _0x3964f4=_0x3077db,_0x3313c6=_0x370bbe['split'](','),_0x2f7cea=[];for(const _0x393ee7 of _0x3313c6){const [_0x2bf10f,_0xfee5b1,_0x3c6ecb,_0x58a280,_0xace5f0,_0x50a36e]=_0x393ee7[_0x3964f4(0x2ba)](':');_0x2f7cea[_0x3964f4(0x224)]({'startOffset':Number(_0x2bf10f),'endOffset':Number(_0xfee5b1),'collapsed':_0x2bf10f===_0xfee5b1,'isActive':_0x3c6ecb==='1','rangeType':_0x58a280===_0x73603f['TEXT']?_0x73603f[_0x3964f4(0x33b)]:_0x73603f[_0x3964f4(0x3a5)],'segmentId':typeof _0xace5f0==_0x3964f4(0x1fb)?String(_0xace5f0):'','segmentPage':Number(_0x50a36e!=null?_0x50a36e:-0x1)});}return _0x2f7cea[_0x3964f4(0x314)](_0x5fb1f4=>_0x5fb1f4[_0x3964f4(0x2e3)])||(_0x2f7cea[0x0][_0x3964f4(0x2e3)]=!0x0),_0x2f7cea;}class je extends _0x46a387{constructor(){const _0xdd5e36=_0x3077db;super(...arguments),h(this,_0xdd5e36(0x3b5),new _0x5c912d(null)),h(this,_0xdd5e36(0x321),this[_0xdd5e36(0x3b5)][_0xdd5e36(0x3d2)]());}[_0x3077db(0x27f)](_0x10e2b3){const _0x55683b=_0x3077db,{unitID:_0x1e560b,memberID:_0x4e59ca,textRanges:_0x4188ea}=_0x10e2b3,_0x420f81=Dt(_0x4188ea);if(_0x420f81==='')return;const _0x4a16db={'unitID':_0x1e560b,'memberID':_0x4e59ca,'selection':_0x420f81};this['_collabCursorState$'][_0x55683b(0x26d)](_0x4a16db);}}var ui=Object[_0x3077db(0x3b8)],di=(_0x21ccdb,_0x22b564,_0x1e1ca7,_0x42bfa7)=>{const _0x2204ed=_0x3077db;for(var _0x399653=_0x42bfa7>0x1?void 0x0:_0x42bfa7?ui(_0x22b564,_0x1e1ca7):_0x22b564,_0x51eb3b=_0x21ccdb[_0x2204ed(0x357)]-0x1,_0x393915;_0x51eb3b>=0x0;_0x51eb3b--)(_0x393915=_0x21ccdb[_0x51eb3b])&&(_0x399653=_0x393915(_0x399653)||_0x399653);return _0x399653;},U=(_0x156116,_0x5e8b3d)=>(_0x134692,_0x1138c9)=>_0x5e8b3d(_0x134692,_0x1138c9,_0x156116);const fi=0x12c,Si=0x64;let Me=class extends _0x46a387{constructor(_0x512015,_0x3fdb06,_0x5a2223,_0x58d8ea,_0x4aec56,_0x1593e0,_0x4adf99,_0x44720c,_0x543659){const _0x5de482=_0x3077db;super(),h(this,'_online',!0x1),h(this,_0x5de482(0x3bd),!0x1),h(this,_0x5de482(0x257),new _0x5c912d(new Map())),h(this,'cursorInfo$',this[_0x5de482(0x257)][_0x5de482(0x3d2)]()),h(this,_0x5de482(0x330),new _0x5c912d([])),h(this,_0x5de482(0x270),this[_0x5de482(0x330)]['pipe'](_0x4778dd(fi))),h(this,'_updateLocalCursor',_0x4f8c21(_0x3ab0a8=>{const _0x34925a=_0x5de482,_0x31ff28={'eventID':_0x1ba1f8[_0x34925a(0x27e)],'data':{'unitID':this[_0x34925a(0x1f6)],'memberID':this[_0x34925a(0x342)][_0x34925a(0x20b)](),'selection':Dt(_0x3ab0a8)}};this['_session'][_0x34925a(0x340)](_0x31ff28,this[_0x34925a(0x1f6)]);},Si)),(this['unitID']=_0x512015,this[_0x5de482(0x342)]=_0x3fdb06,this[_0x5de482(0x253)]=_0x5a2223,this['_colorAssignService']=_0x58d8ea,this[_0x5de482(0x24c)]=_0x4aec56,this[_0x5de482(0x211)]=_0x1593e0,this[_0x5de482(0x3cb)]=_0x4adf99,this[_0x5de482(0x3da)]=_0x44720c,this['_commandService']=_0x543659);}get['cursorInfo'](){const _0x400663=_0x3077db;return this[_0x400663(0x257)][_0x400663(0x251)]();}get[_0x3077db(0x207)](){const _0x4932db=_0x3077db;return this[_0x4932db(0x330)][_0x4932db(0x251)]();}['dispose'](){const _0x2e97e4=_0x3077db;super[_0x2e97e4(0x24f)](),this[_0x2e97e4(0x257)]['next'](new Map()),this[_0x2e97e4(0x257)][_0x2e97e4(0x3fa)](),this[_0x2e97e4(0x330)][_0x2e97e4(0x26d)]([]),this[_0x2e97e4(0x330)]['complete']();}['init'](){const _0x572654=_0x3077db;this[_0x572654(0x3bd)]||(this[_0x572654(0x3bd)]=!0x0,this[_0x572654(0x342)][_0x572654(0x36a)][_0x572654(0x291)](_0x425da0(this[_0x572654(0x239)]))[_0x572654(0x381)](_0x8812e4=>{const _0x2ab67d=_0x572654;_0x8812e4===_0x162a5f[_0x2ab67d(0x39e)]?this['_toggleOnline']():this[_0x2ab67d(0x3c3)]();}),this[_0x572654(0x342)][_0x572654(0x267)][_0x572654(0x291)](_0x425da0(this['dispose$']))[_0x572654(0x381)](_0x1e44d1=>{const _0xf9d52d=_0x572654,_0x43b654=_0x1e44d1['eventID'];_0x43b654===_0x1ba1f8[_0xf9d52d(0x27e)]&&this[_0xf9d52d(0x284)](_0x1e44d1),_0x43b654===_0x1ba1f8[_0xf9d52d(0x36f)]&&this[_0xf9d52d(0x3e4)](_0x1e44d1);}),this['disposeWithMe'](this[_0x572654(0x3a6)]['onCommandExecuted'](_0x1f052c=>{const _0x1b1690=_0x572654,_0x54bac9=_0x1f052c['params'];_0x54bac9!=null&&this[_0x1b1690(0x3be)]&&_0x1f052c['id']===_0x2f6422['id']&&_0x54bac9[_0x1b1690(0x3a4)]===this[_0x1b1690(0x1f6)]&&_0x54bac9[_0x1b1690(0x331)]===!0x1&&_0x54bac9[_0x1b1690(0x3a2)]['length']>0x0&&this[_0x1b1690(0x21c)](_0x54bac9['ranges']);})),this[_0x572654(0x211)]['collabCursorState$'][_0x572654(0x291)](_0x425da0(this['dispose$']))[_0x572654(0x381)](_0x478e59=>{const _0x34f269=_0x572654;if((_0x478e59==null?void 0x0:_0x478e59[_0x34f269(0x1f6)])!==this[_0x34f269(0x1f6)])return;const _0x24e2b4={'eventID':_0x1ba1f8['UPDATE_CURSOR'],'data':_0x478e59};this[_0x34f269(0x284)](_0x24e2b4);}),this[_0x572654(0x21f)](this['_commandService'][_0x572654(0x311)](_0x26c2a3=>{const _0x3bf8ed=_0x572654;if(_0x26c2a3[_0x3bf8ed(0x204)]==null)return;const _0x664925=_0x26c2a3[_0x3bf8ed(0x204)];if(_0x26c2a3['id']!==_0x5e1f01['id']||_0x664925[_0x3bf8ed(0x3a4)]!==this[_0x3bf8ed(0x1f6)])return;const _0x9ddf87={'id':_0x3bf8ed(0x2f3),'params':_0x664925},_0x4acddf=this[_0x3bf8ed(0x2c0)];for(const [_0x1dedfd,_0x1d64fb]of _0x4acddf){const _0x3bc783={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1d64fb[_0x3bf8ed(0x3a2)]}},_0x296f78=this[_0x3bf8ed(0x3cb)][_0x3bf8ed(0x3bf)](_0x9ddf87,_0x3bc783,!0x1);if(_0x2eb70e(_0x296f78))throw _0x296f78[_0x3bf8ed(0x2d6)];_0x4acddf['set'](_0x1dedfd,{..._0x1d64fb,'ranges':_0x296f78[_0x3bf8ed(0x35f)][_0x3bf8ed(0x204)][_0x3bf8ed(0x34f)]});}queueMicrotask(()=>{const _0x5de604=_0x3bf8ed;this[_0x5de604(0x257)][_0x5de604(0x26d)](_0x4acddf);});})));}[_0x3077db(0x284)](_0x353025){const _0x42ae0e=_0x3077db;var _0x590c79,_0x1b4a7d;const {memberID:_0x2318a1,selection:_0xf2ffca}=_0x353025[_0x42ae0e(0x3b9)],_0x2160c7=_i(_0xf2ffca),_0x57008c=(_0x1b4a7d=(_0x590c79=this['_memberService'][_0x42ae0e(0x38a)](this['unitID'],_0x2318a1))==null?void 0x0:_0x590c79[_0x42ae0e(0x3de)])!=null?_0x1b4a7d:_0x42ae0e(0x299),_0xa3a85d={'color':this[_0x42ae0e(0x213)][_0x42ae0e(0x2f0)](_0x2318a1),'name':_0x57008c,'ranges':_0x2160c7},_0x1de547=this['cursorInfo'];_0x1de547['set'](_0x2318a1,_0xa3a85d),this[_0x42ae0e(0x257)][_0x42ae0e(0x26d)](_0x1de547);}[_0x3077db(0x3e4)](_0x5e72d4){const _0x471d3a=_0x3077db,{memberID:_0x5ce7aa}=_0x5e72d4[_0x471d3a(0x3b9)],_0x9f910e=this['cursorInfo'];_0x9f910e[_0x471d3a(0x228)](_0x5ce7aa),this[_0x471d3a(0x257)][_0x471d3a(0x26d)](_0x9f910e);}[_0x3077db(0x2ca)](){const _0x378550=_0x3077db;var _0x52869b;if(this[_0x378550(0x3be)]=!0x0,((_0x52869b=this[_0x378550(0x3da)][_0x378550(0x3f8)]())==null?void 0x0:_0x52869b[_0x378550(0x3ea)]())!==this[_0x378550(0x1f6)])return;const _0x32bca4=this[_0x378550(0x253)][_0x378550(0x28e)](_0x11745e)[_0x378550(0x34d)]();Array[_0x378550(0x247)](_0x32bca4)&&_0x32bca4['length']>0x0&&this[_0x378550(0x21c)](_0x32bca4);}[_0x3077db(0x3c3)](){this['_online']=!0x1;}};Me=di([U(0x2,_0x5056af(_0x3c1911)),U(0x3,_0x5056af(He)),U(0x4,_0x5056af(_0x26557b)),U(0x5,_0x5056af(je)),U(0x6,_0xa02202),U(0x7,_0x2c287e),U(0x8,_0x82374b)],Me);var mi=Object['getOwnPropertyDescriptor'],gi=(_0x3929b7,_0x5776e5,_0x418c0f,_0x24fe79)=>{for(var _0x3f40a6=_0x24fe79>0x1?void 0x0:_0x24fe79?mi(_0x5776e5,_0x418c0f):_0x5776e5,_0x2469c9=_0x3929b7['length']-0x1,_0x56e2b8;_0x2469c9>=0x0;_0x2469c9--)(_0x56e2b8=_0x3929b7[_0x2469c9])&&(_0x3f40a6=_0x56e2b8(_0x3f40a6)||_0x3f40a6);return _0x3f40a6;},x=(_0x27e4fc,_0x20da2a)=>(_0x1ca25c,_0x112ac1)=>_0x20da2a(_0x1ca25c,_0x112ac1,_0x27e4fc);const vi=0x12c,Ii=0x64,pi=()=>{let _0xb5763c=[],_0x32a7d2=!0x1;return _0x278db4=>{const _0x5bbc47=_0xda77;_0xb5763c[_0x5bbc47(0x224)](_0x278db4),_0x32a7d2||(_0x32a7d2=!0x0,setTimeout(()=>{const _0x5b9384=_0x5bbc47;_0xb5763c[_0x5b9384(0x3ba)](_0xc30946=>_0xc30946()),_0xb5763c=[],_0x32a7d2=!0x1;}));};};let we=class extends _0x46a387{constructor(_0x1004d0,_0x340779,_0x115687,_0x4d3095,_0x31289f,_0x115108,_0x2782b9,_0x405e70){const _0x5a8d2e=_0x3077db;super(),h(this,_0x5a8d2e(0x3be),!0x1),h(this,_0x5a8d2e(0x3bd),!0x1),h(this,_0x5a8d2e(0x257),new _0x5c912d(new Map())),h(this,_0x5a8d2e(0x2e9),this[_0x5a8d2e(0x257)][_0x5a8d2e(0x3d2)]()),h(this,'_roomMembers$',new _0x5c912d([])),h(this,_0x5a8d2e(0x270),this[_0x5a8d2e(0x330)][_0x5a8d2e(0x291)](_0x4778dd(vi))),h(this,'_updateLocalCursor',_0x4f8c21((_0x45f8c1,_0x27f9f3)=>{const _0x56f3d1=_0x5a8d2e,_0x1a38fd={'eventID':_0x1ba1f8['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x56f3d1(0x342)][_0x56f3d1(0x20b)](),'selection':_0x4fa0b9(_0x45f8c1,_0x27f9f3[_0x56f3d1(0x2a5)])}};this[_0x56f3d1(0x342)][_0x56f3d1(0x340)](_0x1a38fd,this[_0x56f3d1(0x1f6)]);},Ii)),(this[_0x5a8d2e(0x1f6)]=_0x1004d0,this[_0x5a8d2e(0x342)]=_0x340779,this[_0x5a8d2e(0x253)]=_0x115687,this[_0x5a8d2e(0x213)]=_0x4d3095,this[_0x5a8d2e(0x24c)]=_0x31289f,this[_0x5a8d2e(0x3da)]=_0x115108,this[_0x5a8d2e(0x3a6)]=_0x2782b9,this['_refRangeService']=_0x405e70);}get[_0x3077db(0x2c0)](){return this['_cursorInfo$']['getValue']();}get[_0x3077db(0x207)](){const _0xad93f0=_0x3077db;return this[_0xad93f0(0x330)][_0xad93f0(0x251)]();}[_0x3077db(0x24f)](){const _0x145e27=_0x3077db;super['dispose'](),this[_0x145e27(0x257)]['next'](new Map()),this[_0x145e27(0x257)]['complete'](),this[_0x145e27(0x330)][_0x145e27(0x26d)]([]),this[_0x145e27(0x330)]['complete']();}[_0x3077db(0x290)](){const _0x46f908=_0x3077db;this[_0x46f908(0x3bd)]||(this[_0x46f908(0x3bd)]=!0x0,this[_0x46f908(0x342)][_0x46f908(0x36a)][_0x46f908(0x291)](_0x425da0(this[_0x46f908(0x239)]))[_0x46f908(0x381)](_0x512766=>{const _0x2cb9f7=_0x46f908;_0x512766===_0x162a5f[_0x2cb9f7(0x39e)]?this[_0x2cb9f7(0x2ca)]():this[_0x2cb9f7(0x3c3)]();}),this['_session'][_0x46f908(0x267)][_0x46f908(0x291)](_0x425da0(this['dispose$']))[_0x46f908(0x381)](_0xe505e9=>{const _0x4a6b07=_0x46f908,_0x107afe=_0xe505e9[_0x4a6b07(0x220)];_0x107afe===_0x1ba1f8[_0x4a6b07(0x27e)]&&this['_onCursorUpdate'](_0xe505e9),_0x107afe===_0x1ba1f8[_0x4a6b07(0x36f)]&&this['_onCursorDelete'](_0xe505e9);}),this[_0x46f908(0x285)](),this[_0x46f908(0x21f)](this[_0x46f908(0x3a6)]['onCommandExecuted'](_0x1162f7=>{const _0x1bf7de=_0x46f908;if(this[_0x1bf7de(0x3be)]&&_0x1162f7['id']===_0x47b6bf['id']&&_0x1162f7[_0x1bf7de(0x204)]['unitId']===this[_0x1bf7de(0x1f6)]){const _0x5db49f=_0x1162f7[_0x1bf7de(0x204)];this[_0x1bf7de(0x21c)](_0x5db49f[_0x1bf7de(0x307)],_0x5db49f[_0x1bf7de(0x2c3)][0x0]);}})));}[_0x3077db(0x284)](_0x124608){const _0x5eb9b6=_0x3077db;var _0x392e95,_0x56af36;const {memberID:_0x572e31,selection:_0x159a4b}=_0x124608['data'],{sheetName:_0x5987be,range:_0x104987}=_0x2fd25b(_0x159a4b),_0x218c5f={'name':(_0x56af36=(_0x392e95=this['_memberService'][_0x5eb9b6(0x38a)](this[_0x5eb9b6(0x1f6)],_0x572e31))==null?void 0x0:_0x392e95[_0x5eb9b6(0x3de)])!=null?_0x56af36:_0x5eb9b6(0x299),'range':this['_getMergeRange'](_0x5987be,_0x104987),'sheetID':_0x5987be,'color':this['_colorAssignService'][_0x5eb9b6(0x2f0)](_0x572e31),'selection':_0x159a4b},_0x413842=this['cursorInfo'];_0x413842[_0x5eb9b6(0x37c)](_0x572e31,_0x218c5f),this[_0x5eb9b6(0x257)]['next'](_0x413842);}[_0x3077db(0x3e4)](_0xd1ec41){const _0x31ab9a=_0x3077db,{memberID:_0x494aa3}=_0xd1ec41[_0x31ab9a(0x3b9)],_0x2470f1=this['cursorInfo'];_0x2470f1['delete'](_0x494aa3),this['_cursorInfo$'][_0x31ab9a(0x26d)](_0x2470f1);}[_0x3077db(0x2aa)](_0x2a0127,_0x232f00){const _0x37fa8a=_0x3077db;var _0x4067b9,_0x49a412;const _0x3bf698=(_0x49a412=(_0x4067b9=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x37fa8a(0x1f6)]))==null?void 0x0:_0x4067b9[_0x37fa8a(0x256)](_0x2a0127))==null?void 0x0:_0x49a412[_0x37fa8a(0x32d)]();return(_0x3bf698==null?void 0x0:_0x3bf698[_0x37fa8a(0x23d)](_0x1c975b=>_0x14b5aa[_0x37fa8a(0x3ef)](_0x1c975b,_0x232f00)))||_0x232f00;}[_0x3077db(0x285)](){const _0x54e2b2=_0x3077db,_0x3b512d=new _0x5c9e3d(),_0x3e7166=pi(),_0x318169=()=>{const _0x51e68a=_0xda77;_0x3b512d[_0x51e68a(0x24f)]();const _0x5bb7d8=(_0x34fd45,_0x3da1e6,_0x3e583c,_0x1e2716)=>{const _0x440ccc=_0x51e68a;let _0x6b3394=[];switch(_0x34fd45['id']){case _0x3bde11['DeleteRangeMoveLeftCommandId']:{_0x6b3394=_0x537a7d(_0x34fd45,_0x1e2716);break;}case _0x3bde11[_0x440ccc(0x322)]:{_0x6b3394=_0x38e032(_0x34fd45,_0x1e2716);break;}case _0x3bde11['InsertColCommandId']:{_0x6b3394=_0x1c37af(_0x34fd45,_0x1e2716);break;}case _0x3bde11['InsertRangeMoveDownCommandId']:{_0x6b3394=_0x5762eb(_0x34fd45,_0x1e2716);break;}case _0x3bde11[_0x440ccc(0x3f7)]:{_0x6b3394=_0x245242(_0x34fd45,_0x1e2716);break;}case _0x3bde11['InsertRowCommandId']:{_0x6b3394=_0x598f37(_0x34fd45,_0x1e2716);break;}case _0x3bde11[_0x440ccc(0x390)]:{_0x6b3394=_0x381138(_0x34fd45,_0x1e2716);break;}case _0x3bde11['RemoveColCommandId']:{_0x6b3394=_0x12b96d(_0x34fd45,_0x1e2716);break;}case _0x3bde11[_0x440ccc(0x3ae)]:{_0x6b3394=_0x2bc3e5(_0x34fd45,_0x1e2716);break;}}const _0x173c12=_0x29e62d(_0x6b3394,_0x1e2716),_0x1e4475=this['cursorInfo'][_0x440ccc(0x28e)](_0x3da1e6);if(_0x1e4475&&_0x173c12){const _0x13064d={..._0x1e4475,'range':_0x173c12};this[_0x440ccc(0x2c0)][_0x440ccc(0x37c)](_0x3da1e6,_0x13064d),_0x3e7166(()=>{const _0x201db0=_0x440ccc,_0x54c699=this['_refRangeService'][_0x201db0(0x229)](_0x173c12,_0x35184c=>(_0x54c699['dispose'](),_0x5bb7d8(_0x35184c,_0x3da1e6,_0x3e583c,_0x173c12)));_0x3b512d[_0x201db0(0x24a)](_0x54c699);});}return{'redos':[],'undos':[]};};this[_0x51e68a(0x2c0)][_0x51e68a(0x3ba)]((_0x23173b,_0x364951)=>{const _0x210c85=_0x51e68a,{range:_0x61cb5c,sheetID:_0x2daf4c}=_0x23173b,_0x2d1c73=this['_refRangeService']['registerRefRange'](_0x61cb5c,_0x14972e=>(_0x2d1c73[_0x210c85(0x24f)](),_0x5bb7d8(_0x14972e,_0x364951,_0x2daf4c,_0x61cb5c)));_0x3b512d['add'](_0x2d1c73);});};this[_0x54e2b2(0x21f)](_0x12a07d(this['_cursorInfo$'][_0x54e2b2(0x381)](()=>{_0x318169();})));}[_0x3077db(0x2ca)](){const _0x3e875b=_0x3077db;var _0x31f53f,_0x5098e9;if(this['_online']=!0x0,((_0x31f53f=this['_univerInstanceService'][_0x3e875b(0x3f8)]())==null?void 0x0:_0x31f53f['getUnitId']())!==this[_0x3e875b(0x1f6)])return;const _0x5264b9=(_0x5098e9=this[_0x3e875b(0x253)][_0x3e875b(0x28e)](_0x5c82cb)[_0x3e875b(0x3bb)]())==null?void 0x0:_0x5098e9[0x0],_0x2b4bcf=this[_0x3e875b(0x3da)][_0x3e875b(0x3d9)](_0x5e6f3c[_0x3e875b(0x38b)])['getActiveSheet']();_0x5264b9&&_0x2b4bcf&&this[_0x3e875b(0x21c)](_0x2b4bcf[_0x3e875b(0x305)](),_0x5264b9);}[_0x3077db(0x3c3)](){const _0x1dcb0c=_0x3077db;this[_0x1dcb0c(0x3be)]=!0x1;}};we=gi([x(0x2,_0x5056af(_0x3c1911)),x(0x3,_0x5056af(He)),x(0x4,_0x5056af(_0x26557b)),x(0x5,_0x2c287e),x(0x6,_0x82374b),x(0x7,_0x5056af(_0x9e973d))],we);var Ci=Object[_0x3077db(0x3b8)],bi=(_0x173e41,_0x31c2c1,_0x4e1b0f,_0x54e2d4)=>{const _0x351d4e=_0x3077db;for(var _0x52bc9a=_0x54e2d4>0x1?void 0x0:_0x54e2d4?Ci(_0x31c2c1,_0x4e1b0f):_0x31c2c1,_0x4452ec=_0x173e41[_0x351d4e(0x357)]-0x1,_0x1bdbce;_0x4452ec>=0x0;_0x4452ec--)(_0x1bdbce=_0x173e41[_0x4452ec])&&(_0x52bc9a=_0x1bdbce(_0x52bc9a)||_0x52bc9a);return _0x52bc9a;},me=(_0x41db98,_0x4f5fdd)=>(_0x57255b,_0x54fae8)=>_0x4f5fdd(_0x57255b,_0x54fae8,_0x41db98);let H=class extends _0x46a387{constructor(_0x4270ce,_0x2b8836,_0x53e841){const _0x3636c4=_0x3077db;super(),h(this,_0x3636c4(0x243),new Map()),h(this,_0x3636c4(0x318),new _0x3ebb8c()),(this[_0x3636c4(0x3da)]=_0x4270ce,this[_0x3636c4(0x253)]=_0x2b8836,this[_0x3636c4(0x28a)]=_0x53e841,this['_init']());}[_0x3077db(0x24f)](){const _0x23ef21=_0x3077db;super[_0x23ef21(0x24f)](),this[_0x23ef21(0x318)]['complete'](),this[_0x23ef21(0x243)]['forEach'](_0x42e2f1=>_0x42e2f1[_0x23ef21(0x24f)]());}['getCollabCursors$'](_0x3ba0e2){const _0x2fab48=_0x3077db;return this[_0x2fab48(0x243)][_0x2fab48(0x319)](_0x3ba0e2)?this[_0x2fab48(0x243)][_0x2fab48(0x28e)](_0x3ba0e2)[_0x2fab48(0x2e9)]:this[_0x2fab48(0x318)][_0x2fab48(0x291)](_0x178a95(_0x2cb0d6=>_0x2cb0d6['unitID']===_0x3ba0e2),_0x47cc74(_0x4ddb62=>_0x4ddb62[_0x2fab48(0x2e9)]));}['_init'](){const _0x542f2a=_0x3077db;this[_0x542f2a(0x3da)]['getTypeOfUnitAdded$'](_0x5e6f3c[_0x542f2a(0x38b)])[_0x542f2a(0x291)](_0x425da0(this[_0x542f2a(0x239)]))[_0x542f2a(0x381)](async _0x343f92=>{const _0x4e4ecd=_0x542f2a,_0x50b5c4=_0x343f92[_0x4e4ecd(0x3ea)](),_0x393dec=await this[_0x4e4ecd(0x248)](_0x50b5c4);this[_0x4e4ecd(0x318)]['next'](_0x393dec),this[_0x4e4ecd(0x243)][_0x4e4ecd(0x37c)](_0x50b5c4,_0x393dec);}),this[_0x542f2a(0x3da)][_0x542f2a(0x25d)](_0x5e6f3c[_0x542f2a(0x2a7)])[_0x542f2a(0x291)](_0x425da0(this[_0x542f2a(0x239)]))[_0x542f2a(0x291)](_0x178a95(_0x3cf8c3=>!_0x3cf8c3[_0x542f2a(0x3ea)]()[_0x542f2a(0x217)]('__')))[_0x542f2a(0x381)](async _0x5b45e9=>{const _0x3dbc98=_0x542f2a,_0x238237=_0x5b45e9[_0x3dbc98(0x3ea)](),_0x3b79f0=await this[_0x3dbc98(0x26b)](_0x238237);this[_0x3dbc98(0x318)][_0x3dbc98(0x26d)](_0x3b79f0),this[_0x3dbc98(0x243)][_0x3dbc98(0x37c)](_0x238237,_0x3b79f0);}),_0x3fcf5e(this[_0x542f2a(0x3da)]['getTypeOfUnitDisposed$'](_0x5e6f3c[_0x542f2a(0x2a7)]),this[_0x542f2a(0x3da)]['getTypeOfUnitDisposed$'](_0x5e6f3c[_0x542f2a(0x38b)]))[_0x542f2a(0x291)](_0x425da0(this['dispose$']))['subscribe'](_0x377a96=>{const _0x2ea3ba=_0x542f2a,_0x3dbde8=_0x377a96['getUnitId'](),_0x382520=this[_0x2ea3ba(0x243)]['get'](_0x3dbde8);_0x382520&&(_0x382520[_0x2ea3ba(0x24f)](),this['_entities'][_0x2ea3ba(0x228)](_0x3dbde8));});}async[_0x3077db(0x248)](_0x2ce89a){const _0x57bd39=_0x3077db,_0x401ced=await this['_collabSessionService']['requireSession'](_0x2ce89a),_0xea0412=this[_0x57bd39(0x253)][_0x57bd39(0x264)](we,_0x2ce89a,_0x401ced);return _0xea0412[_0x57bd39(0x290)](),_0xea0412;}async[_0x3077db(0x26b)](_0x2fe343){const _0x722a1f=_0x3077db,_0x299f80=await this[_0x722a1f(0x28a)][_0x722a1f(0x201)](_0x2fe343),_0x5f07e7=this[_0x722a1f(0x253)][_0x722a1f(0x264)](Me,_0x2fe343,_0x299f80);return _0x5f07e7[_0x722a1f(0x290)](),_0x5f07e7;}};H=bi([me(0x0,_0x2c287e),me(0x1,_0x5056af(_0x3c1911)),me(0x2,_0x5056af(_0x4d7a98))],H);const te=0x14,et=0xc8,ge=0x4,Ei=0x5;function Oi(_0x29ffbc,_0xb1b460){const _0x3118b5=_0x3077db;let {radius:_0x5777e1,width:_0x4a03c7,height:_0x5d85c6}=_0xb1b460;_0x5777e1=_0x5777e1!=null?_0x5777e1:0x0,_0x4a03c7=_0x4a03c7!=null?_0x4a03c7:0x1e,_0x5d85c6=_0x5d85c6!=null?_0x5d85c6:0x1e;let _0x522fad=0x0,_0x3a81a9=0x0,_0xeb6d2c=0x0;_0x522fad=_0x3a81a9=_0xeb6d2c=Math['min'](_0x5777e1,_0x4a03c7/0x2,_0x5d85c6/0x2),_0x29ffbc[_0x3118b5(0x3d0)](),_0x29ffbc[_0x3118b5(0x335)](_0x522fad,0x0),_0x29ffbc[_0x3118b5(0x2b0)](_0x4a03c7-_0x3a81a9,0x0),_0x29ffbc[_0x3118b5(0x23e)](_0x4a03c7-_0x3a81a9,_0x3a81a9,_0x3a81a9,Math['PI']*0x3/0x2,0x0,!0x1),_0x29ffbc[_0x3118b5(0x2b0)](_0x4a03c7,_0x5d85c6-_0xeb6d2c),_0x29ffbc[_0x3118b5(0x23e)](_0x4a03c7-_0xeb6d2c,_0x5d85c6-_0xeb6d2c,_0xeb6d2c,0x0,Math['PI']/0x2,!0x1),_0x29ffbc[_0x3118b5(0x2b0)](0x0,_0x5d85c6),_0x29ffbc['lineTo'](0x0,_0x522fad),_0x29ffbc[_0x3118b5(0x23e)](_0x522fad,_0x522fad,_0x522fad,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x29ffbc[_0x3118b5(0x22b)](),_0xb1b460[_0x3118b5(0x3f5)]&&(_0x29ffbc[_0x3118b5(0x313)](),_0x29ffbc[_0x3118b5(0x2b7)]=_0xb1b460[_0x3118b5(0x3f5)],_0xb1b460[_0x3118b5(0x361)]===_0x3118b5(0x246)?_0x29ffbc[_0x3118b5(0x3f5)]('evenodd'):_0x29ffbc[_0x3118b5(0x3f5)](),_0x29ffbc[_0x3118b5(0x254)]());}class ue extends _0x190280{constructor(_0x196c09,_0x729555){const _0x38129a=_0x3077db;super(_0x196c09,_0x729555),h(this,'color'),h(this,'text'),(this[_0x38129a(0x359)]=_0x729555==null?void 0x0:_0x729555['color'],this[_0x38129a(0x33e)]=_0x729555==null?void 0x0:_0x729555[_0x38129a(0x33e)]);}static[_0x3077db(0x2a1)](_0x78bb05,_0x1c964d){const _0x2a9448=_0x3077db,{text:_0x50f0f2,color:_0x12c90e}=_0x1c964d;_0x78bb05['save'](),_0x78bb05['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xf0d046=_0x78bb05['measureText'](_0x50f0f2)[_0x2a9448(0x24e)],_0x585c2d=Math[_0x2a9448(0x2d9)](_0xf0d046+0x2*ge,et);Oi(_0x78bb05,{'height':te,'radius':0x4,'width':_0x585c2d,'fill':_0x12c90e}),_0x78bb05[_0x2a9448(0x2b7)]=_0x2a9448(0x29f);const _0x136117=ge,_0x4c26cb=te-Ei,_0xbd470c=et-0x2*ge;if(_0xf0d046>_0xbd470c){let _0x2cbc22='',_0x125c83=0x0;for(const _0x4eb3f4 of _0x50f0f2){const _0x18da04=_0x78bb05[_0x2a9448(0x24b)](_0x4eb3f4)[_0x2a9448(0x24e)];if(_0x125c83+_0x18da04<=_0xbd470c-_0x78bb05['measureText'](_0x2a9448(0x2e8))[_0x2a9448(0x24e)])_0x2cbc22+=_0x4eb3f4,_0x125c83+=_0x18da04;else{_0x2cbc22+='...';break;}}_0x78bb05[_0x2a9448(0x366)](_0x2cbc22,_0x136117,_0x4c26cb);}else _0x78bb05[_0x2a9448(0x366)](_0x50f0f2,_0x136117,_0x4c26cb);_0x78bb05[_0x2a9448(0x254)]();}['_draw'](_0x211693){ue['drawWith'](_0x211693,this);}}const ve=_0x3077db(0x30f),Ti=_0x3077db(0x3e2),Ri=_0x3077db(0x234),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Pi='rgba(255,\x20255,\x20255,\x200.01)';class tt{constructor(_0x3536d6,_0x3b2074,_0x1329ec,_0x1904fd){const _0x4e65e9=_0x3077db;h(this,_0x4e65e9(0x363),[]),h(this,_0x4e65e9(0x3e3),null),h(this,'_textBubble',null),h(this,'_anchorDot',null),h(this,_0x4e65e9(0x2fa),null),h(this,'_eventUnsubscribe',null),(this[_0x4e65e9(0x3ac)]=_0x3536d6,this[_0x4e65e9(0x33d)]=_0x3b2074,this['_docSkeleton']=_0x1329ec,this[_0x4e65e9(0x2ec)]=_0x1904fd,this[_0x4e65e9(0x301)]());}set[_0x3077db(0x2bb)](_0x17f2d7){const _0x28d1c5=_0x3077db;_0x17f2d7?(this[_0x28d1c5(0x308)]&&this[_0x28d1c5(0x308)][_0x28d1c5(0x384)](),this[_0x28d1c5(0x371)]&&this[_0x28d1c5(0x371)][_0x28d1c5(0x2c1)]()):(this[_0x28d1c5(0x308)]&&this['_anchorDot'][_0x28d1c5(0x2c1)](),this[_0x28d1c5(0x371)]&&this[_0x28d1c5(0x371)]['hide']());}['dispose'](){const _0x511e47=_0x3077db;for(const _0x4c6568 of this['_shapes'])_0x4c6568[_0x511e47(0x24f)]();this[_0x511e47(0x371)]&&this[_0x511e47(0x371)][_0x511e47(0x24f)](),this[_0x511e47(0x308)]&&this[_0x511e47(0x308)]['dispose'](),this[_0x511e47(0x3e3)]&&this[_0x511e47(0x3e3)][_0x511e47(0x24f)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}['_render'](){const _0x2c3c83=_0x3077db;var _0x42057d;const {_docSkeleton:_0x27dda2,_document:_0x2e423c}=this,{color:_0x59a716,name:_0x363e5b,ranges:_0x3b57ac}=this['_cursor'],_0x14f353=_0x2e423c['getOffsetConfig'](),{docsLeft:_0x4c0f71,docsTop:_0x41a115}=_0x14f353,_0x34f941=new _0x121de6(_0x14f353,_0x27dda2);for(const {startOffset:_0xac0f00,endOffset:_0x5c5877,rangeType:_0xff0b21,segmentId:_0x4850f1,segmentPage:_0x3da025,collapsed:_0xc87834,isActive:_0x56eb16}of _0x3b57ac){const _0x5ccbee=_0x27dda2[_0x2c3c83(0x2df)](_0xac0f00,!0x0,_0x4850f1,_0x3da025);let _0x44179f=_0x27dda2[_0x2c3c83(0x2df)](_0x5c5877,!0x0,_0x4850f1,_0x3da025);if(_0x44179f==null&&(_0x44179f=_0x27dda2[_0x2c3c83(0x2df)](_0x5c5877-0x1,!0x1,_0x4850f1,_0x3da025)),_0x56eb16){const {contentBoxPointGroup:_0x44bdb2}=_0x34f941['getRangePointData'](_0x44179f,_0x44179f);if(_0x44bdb2[_0x2c3c83(0x357)]===0x0)continue;this[_0x2c3c83(0x30b)](_0x59a716,_0x44bdb2,_0x4c0f71,_0x41a115,_0x363e5b),this['_eventUnsubscribe']=this[_0x2c3c83(0x266)]();}if(_0x5ccbee&&_0x44179f){if(_0xff0b21===_0x73603f['RECT']){const _0xc4c088=new _0x1cb420(_0x14f353,_0x27dda2),{pointGroup:_0x28390f}=(_0x42057d=_0xc4c088[_0x2c3c83(0x280)](_0x5ccbee,_0x44179f))!=null?_0x42057d:{};if(_0x28390f==null||_0x28390f[_0x2c3c83(0x357)]===0x0)continue;this[_0x2c3c83(0x2a3)](_0x59a716,_0x28390f,_0x4c0f71,_0x41a115);}else{if(!_0xc87834){const {borderBoxPointGroup:_0x8b355e}=_0x34f941[_0x2c3c83(0x280)](_0x5ccbee,_0x44179f);if(_0x8b355e[_0x2c3c83(0x357)]===0x0)continue;this['_drawTextRange'](_0x59a716,_0x8b355e,_0x4c0f71,_0x41a115);}}}}}[_0x3077db(0x30b)](_0x5ebf9a,_0x3e111a,_0x5098b5,_0x389fbe,_0x54f9b8){const _0x4dd41d=_0x3077db,_0x5af5b2=this[_0x4dd41d(0x3e9)](_0x3e111a),{left:_0x6f0b47,top:_0x20eed9,height:_0x523844}=_0x5af5b2,_0x1f7502=this[_0x4dd41d(0x3b3)](),_0x1a99be=Ni/_0x1f7502,_0x4993e7=new _0x25e190(ve+_0x14a334['generateRandomId'](X),{'left':_0x6f0b47+_0x5098b5-_0x1a99be,'top':_0x20eed9+_0x389fbe,'height':_0x523844,'width':Di,'fill':_0x5ebf9a||_0x1199f7(_0xa86846[_0x4dd41d(0x394)],0x0),'strokeWidth':_0x1a99be,'stroke':Pi,'evented':!0x0});this[_0x4dd41d(0x3e3)]=_0x4993e7,this[_0x4dd41d(0x33d)][_0x4dd41d(0x25a)](_0x4993e7,_0x178775);const _0x5e49f1=new _0x25e190(ve+_0x14a334[_0x4dd41d(0x3a7)](X),{'left':_0x6f0b47+_0x5098b5-_0x1a99be,'top':_0x20eed9+_0x389fbe-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x5ebf9a||_0x1199f7(_0xa86846[_0x4dd41d(0x394)],0x0),'strokeWidth':0x0,'stroke':_0x5ebf9a||_0x1199f7(_0xa86846['black'],0x0),'evented':!0x1});this[_0x4dd41d(0x308)]=_0x5e49f1,this[_0x4dd41d(0x33d)]['addObject'](_0x5e49f1,_0x178775);const _0x58c398=new ue(ve+_0x14a334[_0x4dd41d(0x3a7)](X),{'left':_0x6f0b47+_0x5098b5-_0x1a99be,'top':_0x20eed9+_0x389fbe-te,'text':_0x54f9b8,'color':_0x5ebf9a});this['_textBubble']=_0x58c398,this[_0x4dd41d(0x33d)][_0x4dd41d(0x25a)](_0x58c398,_0x178775),this[_0x4dd41d(0x2bb)]=!0x1;}[_0x3077db(0x266)](){const _0x346ff6=_0x3077db,_0x2054ba=this[_0x346ff6(0x3e3)][_0x346ff6(0x32c)][_0x346ff6(0x2dc)](()=>{const _0x36ab6f=_0x346ff6;this[_0x36ab6f(0x2bb)]=!0x0;}),_0x4efa0f=this[_0x346ff6(0x3e3)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x32ce2f=_0x346ff6;this[_0x32ce2f(0x2fa)]&&clearTimeout(this['_hideTimer']),this[_0x32ce2f(0x2fa)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0xf32fff=_0x346ff6;_0x2054ba[_0xf32fff(0x324)](),_0x4efa0f[_0xf32fff(0x324)]();};}[_0x3077db(0x27a)](_0x24479d,_0x17b916,_0x17cef4,_0x1d0d8d){const _0x195498=_0x3077db,_0x5993e0=new _0x7149f9(_0x24479d)['setAlpha'](0.2)['toRgbString'](),_0x57390c=new _0x2fada9(Ti+_0x14a334[_0x195498(0x3a7)](X),{'pointsGroup':_0x17b916,'fill':_0x5993e0||_0x1199f7(_0xa86846[_0x195498(0x394)],0.2),'left':_0x17cef4,'top':_0x1d0d8d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x195498(0x224)](_0x57390c),this['_scene'][_0x195498(0x25a)](_0x57390c,_0x178775);}[_0x3077db(0x2a3)](_0x48a102,_0x5177c4,_0x436111,_0xefe04f){const _0x11ebc5=_0x3077db,_0x351b2b=new _0x7149f9(_0x48a102)[_0x11ebc5(0x2d4)](0.2)[_0x11ebc5(0x265)](),_0x1ceac3=new _0x2fada9(Ri+_0x14a334['generateRandomId'](X),{'pointsGroup':_0x5177c4,'fill':_0x351b2b||_0x1199f7(_0xa86846[_0x11ebc5(0x394)],0.2),'left':_0x436111,'top':_0xefe04f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x11ebc5(0x363)][_0x11ebc5(0x224)](_0x1ceac3),this[_0x11ebc5(0x33d)]['addObject'](_0x1ceac3,_0x178775);}[_0x3077db(0x3e9)](_0x31830f){const _0x289483=_0x31830f[0x0],_0x6e637c=_0x289483[0x0],_0x22742c=_0x289483[0x2],{x:_0x7580,y:_0xef483e}=_0x6e637c,{x:_0x74cbb7,y:_0x5746a6}=_0x22742c;return{'left':_0x7580,'top':_0xef483e,'width':_0x74cbb7-_0x7580,'height':_0x5746a6-_0xef483e};}[_0x3077db(0x3b3)](){const _0x2866f9=_0x3077db,{scaleX:_0x5be095,scaleY:_0x25e013}=this[_0x2866f9(0x33d)][_0x2866f9(0x2ef)]();return Math[_0x2866f9(0x2de)](_0x5be095,_0x25e013);}}var Mi=Object[_0x3077db(0x3b8)],wi=(_0x5f4108,_0x498f70,_0x15c248,_0x263747)=>{const _0x85b32f=_0x3077db;for(var _0x23950f=_0x263747>0x1?void 0x0:_0x263747?Mi(_0x498f70,_0x15c248):_0x498f70,_0x4d12ad=_0x5f4108[_0x85b32f(0x357)]-0x1,_0x491f70;_0x4d12ad>=0x0;_0x4d12ad--)(_0x491f70=_0x5f4108[_0x4d12ad])&&(_0x23950f=_0x491f70(_0x23950f)||_0x23950f);return _0x23950f;},Q=(_0x398e2b,_0x24b33f)=>(_0x564994,_0x440274)=>_0x24b33f(_0x564994,_0x440274,_0x398e2b);let Ue=class extends _0x46a387{constructor(_0x5a319e,_0x411558,_0xba87ae,_0x338300,_0x14e3d5){const _0x87359b=_0x3077db;super(),h(this,_0x87359b(0x3ee),[]),h(this,_0x87359b(0x1f4),[]),(this[_0x87359b(0x39d)]=_0x5a319e,this[_0x87359b(0x323)]=_0x411558,this[_0x87359b(0x22c)]=_0xba87ae,this[_0x87359b(0x3a6)]=_0x338300,this['_themeService']=_0x14e3d5,this[_0x87359b(0x3bd)]());}[_0x3077db(0x3bd)](){const _0x39ea1c=_0x3077db,_0x24fd3a=this[_0x39ea1c(0x39d)]['unitId'],_0x276661=this[_0x39ea1c(0x323)];this['disposeWithMe'](_0x50a3eb([this[_0x39ea1c(0x22c)][_0x39ea1c(0x2d7)](_0x24fd3a),this[_0x39ea1c(0x287)]['currentTheme$']])[_0x39ea1c(0x291)](_0x23809d(([_0x47ebe8,_0x1c98e0])=>({'skeleton':_0x276661[_0x39ea1c(0x37a)](),'cursors':[..._0x47ebe8['values']()][_0x39ea1c(0x3a8)](_0x92a589=>({..._0x92a589,'color':_0x1c98e0[_0x92a589['color']]}))})))[_0x39ea1c(0x381)](_0x2b37e3=>{const _0xd802a1=_0x39ea1c;if(this['_removeCollabCursors'](),_0x2b37e3){const {skeleton:_0x3536f3,cursors:_0x673cc3}=_0x2b37e3;this[_0xd802a1(0x3cd)](_0x3536f3,_0x673cc3);}})),this[_0x39ea1c(0x206)](),this[_0x39ea1c(0x3dd)]();}[_0x3077db(0x3cd)](_0x3b246e,_0x595e3e){const _0x238d66=_0x3077db,{scene:_0x2681e2,mainComponent:_0x58f0d2}=this[_0x238d66(0x39d)],_0x9fcbbc=_0x595e3e[_0x238d66(0x233)](_0x3d0ea3=>new tt(_0x3d0ea3,_0x2681e2,_0x3b246e,_0x58f0d2));this[_0x238d66(0x3ee)]=_0x9fcbbc,this['_cursors']=_0x595e3e;}[_0x3077db(0x2c4)](){const _0x38e8db=_0x3077db;this['_removeCollabCursors']();const {scene:_0x671eb2,mainComponent:_0x53523c}=this[_0x38e8db(0x39d)],_0x2b304b=this[_0x38e8db(0x323)][_0x38e8db(0x37a)](),_0xc81521=this[_0x38e8db(0x1f4)][_0x38e8db(0x233)](_0x1e04ee=>new tt(_0x1e04ee,_0x671eb2,_0x2b304b,_0x53523c));this[_0x38e8db(0x3ee)]=_0xc81521;}[_0x3077db(0x38e)](){const _0x4c282b=_0x3077db;this[_0x4c282b(0x3ee)]['forEach'](_0x5154fb=>_0x5154fb[_0x4c282b(0x24f)]()),this['_cursorShapes']=[];}[_0x3077db(0x3dd)](){const _0x169762=_0x3077db,_0xc7a2e6=[_0x1f8ac0['id']];this[_0x169762(0x21f)](this[_0x169762(0x3a6)]['onCommandExecuted'](_0x37f83a=>{const _0x12d44d=_0x169762;_0xc7a2e6[_0x12d44d(0x334)](_0x37f83a['id'])&&_0x37f83a['params'][_0x12d44d(0x3a4)]===this[_0x12d44d(0x39d)][_0x12d44d(0x3a4)]&&this[_0x12d44d(0x2c4)]();}));}['_initResize'](){const _0x52c1ee=_0x3077db;this[_0x52c1ee(0x21f)](_0x40916e(this[_0x52c1ee(0x39d)]['engine'][_0x52c1ee(0x2a8)])[_0x52c1ee(0x291)](_0x4a26be(_0x335b91=>_0x335b91['type']===_0x5c0654['resize']),_0x443f4e(0x10))[_0x52c1ee(0x381)](()=>{this['_refreshCollabCursors']();}));}};Ue=wi([Q(0x1,_0x5056af(_0x45e2d7)),Q(0x2,_0x5056af(H)),Q(0x3,_0x82374b),Q(0x4,_0x5056af(_0x506914))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x190280{constructor(_0x142eb0,_0x561ed4){const _0x121de2=_0x3077db;super(_0x142eb0,_0x561ed4),h(this,_0x121de2(0x26a)),h(this,_0x121de2(0x2d5),!0x1),h(this,_0x121de2(0x37b)),h(this,'_name',''),h(this,_0x121de2(0x20a),'top'),h(this,_0x121de2(0x2ce)),(_0x561ed4&&this[_0x121de2(0x2d2)](_0x561ed4),this['onPointerEnter$'][_0x121de2(0x2dc)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x121de2(0x2bf)][_0x121de2(0x2dc)](()=>this[_0x121de2(0x2d2)]({'hovered':!0x1})));}[_0x3077db(0x2d2)](_0x4f6e91){const _0x25574e=_0x3077db;var _0x510a7d,_0x1ca7fe,_0x260498,_0x112e1d,_0x5e14af,_0x1ed768;this['_color']=(_0x510a7d=_0x4f6e91[_0x25574e(0x359)])!=null?_0x510a7d:this[_0x25574e(0x26a)],this[_0x25574e(0x2d5)]=(_0x1ca7fe=_0x4f6e91[_0x25574e(0x20d)])!=null?_0x1ca7fe:this['_hovered'],this['_range']=(_0x260498=_0x4f6e91[_0x25574e(0x2a5)])!=null?_0x260498:this['_range'],this[_0x25574e(0x2cb)]=(_0x112e1d=_0x4f6e91[_0x25574e(0x3de)])!=null?_0x112e1d:this[_0x25574e(0x2cb)],this[_0x25574e(0x20a)]=(_0x5e14af=_0x4f6e91[_0x25574e(0x328)])!=null?_0x5e14af:this[_0x25574e(0x20a)],this[_0x25574e(0x2ce)]=(_0x1ed768=_0x4f6e91[_0x25574e(0x30d)])!=null?_0x1ed768:this[_0x25574e(0x2ce)],this[_0x25574e(0x380)]({'width':_0x4f6e91[_0x25574e(0x24e)],'height':_0x4f6e91['height']});}[_0x3077db(0x32e)](_0x5bac21){const _0x1ab127=_0x3077db,{row:_0x599de5,column:_0x4222e4}=_0x5bac21;if(_0x599de5>=this[_0x1ab127(0x37b)][_0x1ab127(0x2c7)]&&_0x599de5<=this[_0x1ab127(0x37b)][_0x1ab127(0x3e7)]&&_0x4222e4>=this[_0x1ab127(0x37b)][_0x1ab127(0x296)]&&_0x4222e4<=this[_0x1ab127(0x37b)][_0x1ab127(0x34c)]){this[_0x1ab127(0x2d2)]({'hovered':!0x0});return;}this[_0x1ab127(0x2d2)]({'hovered':!0x1});}[_0x3077db(0x221)](_0x1b6895){return!0x1;}[_0x3077db(0x23b)](_0xd15085){const _0x227652=_0x3077db;_0x25e190[_0x227652(0x2a1)](_0xd15085,{'width':this['width'],'height':this['height'],'strokeWidth':Li,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x227652(0x2ce)]}),this[_0x227652(0x2d5)]&&(_0xd15085[_0x227652(0x313)](),_0xd15085[_0x227652(0x374)](0x1,0x0,0x0,0x1,this[_0x227652(0x24e)],this['_labelPosition']==='bottom'?0x0:-0x14),ue[_0x227652(0x2a1)](_0xd15085,{'text':this[_0x227652(0x2cb)],'color':this[_0x227652(0x26a)]}),_0xd15085[_0x227652(0x254)]());}}var yi=Object[_0x3077db(0x3b8)],$i=(_0x330669,_0x3c5621,_0x257fce,_0x38d3e1)=>{for(var _0x48cc4e=_0x38d3e1>0x1?void 0x0:_0x38d3e1?yi(_0x3c5621,_0x257fce):_0x3c5621,_0xfdbf41=_0x330669['length']-0x1,_0x367019;_0xfdbf41>=0x0;_0xfdbf41--)(_0x367019=_0x330669[_0xfdbf41])&&(_0x48cc4e=_0x367019(_0x48cc4e)||_0x48cc4e);return _0x48cc4e;},pe=(_0x2bb7b9,_0x33d005)=>(_0x5941f6,_0x5679fb)=>_0x33d005(_0x5941f6,_0x5679fb,_0x2bb7b9);const xi=0x1389;let Le=class extends _0x46a387{constructor(_0x3057d9,_0x61f6a4,_0x36e896,_0x18a26f){const _0x491872=_0x3077db;super(),h(this,'_cursors',new Set()),h(this,_0x491872(0x263),null),(this[_0x491872(0x39d)]=_0x3057d9,this['_sheetSkeletonManagerService']=_0x61f6a4,this[_0x491872(0x22c)]=_0x36e896,this[_0x491872(0x287)]=_0x18a26f,this['_init']());}[_0x3077db(0x3bd)](){const _0x345c60=_0x3077db;this[_0x345c60(0x3b7)]['currentSkeleton$'][_0x345c60(0x291)](_0x3e63c1(this[_0x345c60(0x239)]),_0x590437(_0x44cbbf=>{const _0x29823b=_0x345c60;if(_0x44cbbf){const _0x10d328=_0x44cbbf[_0x29823b(0x2ed)];return _0x50a3eb(this[_0x29823b(0x22c)][_0x29823b(0x2d7)](this[_0x29823b(0x39d)][_0x29823b(0x3a4)]),this[_0x29823b(0x287)][_0x29823b(0x26f)])[_0x29823b(0x291)](_0x23809d(([_0x206d4b,_0x4df693])=>{const _0x33dd9f=_0x29823b,_0x1fc9a4=new Map();return _0x206d4b[_0x33dd9f(0x3ba)]((_0x3d7a5c,_0x53da1e)=>{const _0x429978=_0x33dd9f;if(_0x3d7a5c['sheetID']===_0x10d328){const _0x1770a8={..._0x3d7a5c};_0x1770a8[_0x429978(0x359)]=_0x4df693[_0x3d7a5c[_0x429978(0x359)]],_0x1fc9a4['set'](_0x53da1e,_0x1770a8);}}),{'skeleton':_0x44cbbf,'cursors':_0x1fc9a4};}));}return _0x4bb6cb({'skeleton':null,'cursors':new Map()});}))[_0x345c60(0x381)](({skeleton:_0x4914c,cursors:_0x53222c})=>{const _0x409423=_0x345c60;this['_removeCollabCursors'](),_0x4914c&&this[_0x409423(0x3cd)](_0x4914c,_0x53222c);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x52dcfb=>{const _0x6cd29e=_0x345c60;if(_0x52dcfb==null)return;const {skeleton:_0x584131}=_0x52dcfb,{scene:_0x1aa5b4}=this[_0x6cd29e(0x39d)];_0x1aa5b4[_0x6cd29e(0x38d)]['subscribeEvent'](_0x4f8c21(_0x9dd3c1=>{const _0xa9fee8=_0x6cd29e;var _0x3e20ee,_0x39e2a9;const {offsetX:_0x3e6595,offsetY:_0x242329}=_0x9dd3c1,{x:_0x308b0a,y:_0x3a4bdc}=_0x1aa5b4[_0xa9fee8(0x252)](_0x3a0f6c[_0xa9fee8(0x3b1)]([_0x3e6595,_0x242329])),{scaleX:_0x1344f2,scaleY:_0x4cd30d}=_0x1aa5b4[_0xa9fee8(0x2ef)](),_0x3cc0a6=_0x1aa5b4[_0xa9fee8(0x276)](_0x4e58e1[_0xa9fee8(0x3d5)]),_0x52f844=_0x1aa5b4['getVpScrollXYInfoByPosToVp'](_0x3a0f6c['FromArray']([_0x308b0a,_0x3a4bdc]),_0x3cc0a6),_0x555ac6=_0x584131[_0xa9fee8(0x2a4)](_0x3e6595,_0x242329,_0x1344f2,_0x4cd30d,_0x52f844);((_0x3e20ee=this[_0xa9fee8(0x263)])==null?void 0x0:_0x3e20ee[_0xa9fee8(0x1fd)])===_0x555ac6[_0xa9fee8(0x1fd)]&&((_0x39e2a9=this[_0xa9fee8(0x263)])==null?void 0x0:_0x39e2a9[_0xa9fee8(0x249)])===_0x555ac6[_0xa9fee8(0x249)]||this[_0xa9fee8(0x1f4)][_0xa9fee8(0x3ba)](_0x23bb54=>{const _0x7d97e8=_0xa9fee8;_0x23bb54[_0x7d97e8(0x32e)](_0x555ac6);});},0x64));});}[_0x3077db(0x3cd)](_0x4160a4,_0x2fe71a){const _0xfc9939=_0x3077db;var _0x46d3f1;const _0x1d221d=(_0x46d3f1=this[_0xfc9939(0x3b7)][_0xfc9939(0x333)]())==null?void 0x0:_0x46d3f1[_0xfc9939(0x21e)];if(!_0x1d221d)return;const _0x3fbb4a=this[_0xfc9939(0x2eb)]();if(!_0x3fbb4a)return;this[_0xfc9939(0x1f4)]['forEach'](_0x18728c=>{const _0x9bccca=_0xfc9939;_0x18728c[_0x9bccca(0x351)]();});const {scene:_0x7c9589}=_0x3fbb4a,_0x3f0bbc=ki(Array[_0xfc9939(0x36b)](_0x2fe71a[_0xfc9939(0x31b)]()))[_0xfc9939(0x233)](_0x500199=>{const _0x3946bd=_0xfc9939,{color:_0xdcbfbd,range:_0x2196a5,name:_0x4bb68a,selection:_0x72364c,sheetID:_0x1963a2}=_0x500199,{startColumn:_0x2012d1,startRow:_0x18404a,endColumn:_0x57c5e2,endRow:_0x58b216}=_0x2196a5,_0x3804fb=_0x22d0be(_0x18404a,_0x2012d1,_0x7c9589,_0x1d221d),_0x934345=_0x22d0be(_0x58b216,_0x57c5e2,_0x7c9589,_0x1d221d),{columnHeaderHeightAndMarginTop:_0x1ff1e3}=_0x1d221d,{startX:_0x3dfe1e,startY:_0x50936f}=_0x3804fb,{endX:_0x2d3ab1,endY:_0x450793}=_0x934345,_0x470ecb=_0x2d3ab1-_0x3dfe1e,_0xc8b478=_0x450793-_0x50936f,_0x26c7ad={'labelPosition':_0x50936f-_0x1ff1e3>=te?_0x3946bd(0x392):'bottom','sheetID':_0x1963a2,'range':_0x2196a5,'color':_0xdcbfbd,'name':_0x4bb68a,'selection':_0x72364c,'left':_0x3dfe1e,'top':_0x50936f,'width':_0x470ecb,'height':_0xc8b478,'evented':!0x1,'zIndex':xi};return new Ai(_0x4bb68a,_0x26c7ad);});_0x7c9589[_0xfc9939(0x292)](_0x3f0bbc,Ui),this[_0xfc9939(0x1f4)]=new Set(_0x3f0bbc);}[_0x3077db(0x38e)](){const _0x1605d9=_0x3077db;var _0x3d3a84;(_0x3d3a84=this[_0x1605d9(0x1f4)])==null||_0x3d3a84[_0x1605d9(0x3ba)](_0x3032b8=>_0x3032b8[_0x1605d9(0x24f)]());}['_getSheetObject'](){const _0x35a5a4=_0x3077db;return _0x7a26d8(this[_0x35a5a4(0x39d)][_0x35a5a4(0x396)],this[_0x35a5a4(0x39d)]);}};Le=$i([pe(0x1,_0x5056af(_0x42934d)),pe(0x2,_0x5056af(H)),pe(0x3,_0x5056af(_0x506914))],Le);function ki(_0x45a729){const _0x3387ff=_0x3077db,_0x324b97=new Map();return _0x45a729['forEach'](_0x114682=>{const _0x158082=_0xda77;if(_0x324b97['has'](_0x114682[_0x158082(0x3ed)])){const _0x2d638b=_0x324b97[_0x158082(0x28e)](_0x114682[_0x158082(0x3ed)]);_0x2d638b['name']+=',\x20'+_0x114682['name'];}else _0x324b97[_0x158082(0x37c)](_0x114682['selection'],_0x114682);}),Array['from'](_0x324b97[_0x3387ff(0x31b)]());}var I=function(){const _0x3787d8=_0x3077db;return I=Object['assign']||function(_0x2895c3){const _0x16dabf=_0xda77;for(var _0x4a95d8,_0x24abb4=0x1,_0x504be4=arguments[_0x16dabf(0x357)];_0x24abb4<_0x504be4;_0x24abb4++){_0x4a95d8=arguments[_0x24abb4];for(var _0x2f8996 in _0x4a95d8)Object[_0x16dabf(0x2e0)][_0x16dabf(0x3f1)]['call'](_0x4a95d8,_0x2f8996)&&(_0x2895c3[_0x2f8996]=_0x4a95d8[_0x2f8996]);}return _0x2895c3;},I[_0x3787d8(0x3d8)](this,arguments);},Bi=function(_0x4d792e,_0x3afc57){const _0x12e275=_0x3077db;var _0x561b52={};for(var _0x725d73 in _0x4d792e)Object[_0x12e275(0x2e0)][_0x12e275(0x3f1)]['call'](_0x4d792e,_0x725d73)&&_0x3afc57['indexOf'](_0x725d73)<0x0&&(_0x561b52[_0x725d73]=_0x4d792e[_0x725d73]);if(_0x4d792e!=null&&typeof Object[_0x12e275(0x31a)]==_0x12e275(0x30e)){for(var _0x2e88f7=0x0,_0x725d73=Object[_0x12e275(0x31a)](_0x4d792e);_0x2e88f7<_0x725d73[_0x12e275(0x357)];_0x2e88f7++)_0x3afc57[_0x12e275(0x27d)](_0x725d73[_0x2e88f7])<0x0&&Object['prototype'][_0x12e275(0x2f4)]['call'](_0x4d792e,_0x725d73[_0x2e88f7])&&(_0x561b52[_0x725d73[_0x2e88f7]]=_0x4d792e[_0x725d73[_0x2e88f7]]);}return _0x561b52;},We=_0x58ae41(function(_0x483399,_0x437979){const _0x294bf4=_0x3077db;var _0x2fc215=_0x483399[_0x294bf4(0x231)],_0x24e184=_0x483399['id'],_0x5b46a2=_0x483399[_0x294bf4(0x2b5)],_0x5d99ad=_0x483399[_0x294bf4(0x272)],_0xb11b07=Bi(_0x483399,[_0x294bf4(0x231),'id',_0x294bf4(0x2b5),'extend']),_0x3c76b1='univerjs-icon\x20univerjs-icon-'['concat'](_0x24e184,'\x20')[_0x294bf4(0x34a)](_0x5b46a2||'')[_0x294bf4(0x3c0)](),_0x155449=_0x563121('_'['concat'](Wi()));return Nt(_0x2fc215,''[_0x294bf4(0x34a)](_0x24e184),{'defIds':_0x2fc215['defIds'],'idSuffix':_0x155449[_0x294bf4(0x2d0)]},I({'ref':_0x437979,'className':_0x3c76b1},_0xb11b07),_0x5d99ad);});function Nt(_0x4df89d,_0x38ca56,_0x5e09e4,_0x553c20,_0x49b7bd){const _0x58b6bf=_0x3077db;return _0x6a5abd(_0x4df89d['tag'],I(I({'key':_0x38ca56},Hi(_0x4df89d,_0x5e09e4,_0x49b7bd)),_0x553c20),(ji(_0x4df89d,_0x5e09e4)[_0x58b6bf(0x3c7)]||[])['map'](function(_0x19a810,_0x73bdc4){const _0x452fb8=_0x58b6bf;return Nt(_0x19a810,''[_0x452fb8(0x34a)](_0x38ca56,'-')[_0x452fb8(0x34a)](_0x4df89d[_0x452fb8(0x1fa)],'-')['concat'](_0x73bdc4),_0x5e09e4,void 0x0,_0x49b7bd);}));}function Hi(_0x38f9b7,_0x5a7b4f,_0x2b2b82){const _0x540798=_0x3077db;var _0x590df4=I({},_0x38f9b7[_0x540798(0x2af)]);_0x2b2b82!=null&&_0x2b2b82['colorChannel1']&&_0x590df4['fill']===_0x540798(0x3e0)&&(_0x590df4['fill']=_0x2b2b82[_0x540798(0x3e0)]),_0x38f9b7[_0x540798(0x1fa)]==='mask'&&_0x590df4['id']&&(_0x590df4['id']=_0x590df4['id']+_0x5a7b4f[_0x540798(0x2ea)]),Object[_0x540798(0x22f)](_0x590df4)['forEach'](function(_0x2bd4b5){const _0x5dc301=_0x540798;var _0x44c77d=_0x2bd4b5[0x0],_0x2fbfaf=_0x2bd4b5[0x1];_0x44c77d===_0x5dc301(0x395)&&typeof _0x2fbfaf==_0x5dc301(0x1fb)&&(_0x590df4[_0x44c77d]=_0x2fbfaf[_0x5dc301(0x258)](/url\(#(.*)\)/,_0x5dc301(0x348)[_0x5dc301(0x34a)](_0x5a7b4f[_0x5dc301(0x2ea)],')')));});var _0x5a3c3b=_0x5a7b4f['defIds'];return!_0x5a3c3b||_0x5a3c3b[_0x540798(0x357)]===0x0||(_0x38f9b7['tag']===_0x540798(0x310)&&_0x590df4[_0x540798(0x36d)]&&(_0x590df4[_0x540798(0x36d)]=_0x590df4[_0x540798(0x36d)]+_0x5a7b4f[_0x540798(0x2ea)]),Object[_0x540798(0x22f)](_0x590df4)[_0x540798(0x3ba)](function(_0x57292){const _0x5c8479=_0x540798;var _0x2aad71=_0x57292[0x0],_0x2f3a1c=_0x57292[0x1];typeof _0x2f3a1c==_0x5c8479(0x1fb)&&(_0x590df4[_0x2aad71]=_0x2f3a1c[_0x5c8479(0x258)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x5a7b4f[_0x5c8479(0x2ea)],')')));})),_0x590df4;}function ji(_0x117286,_0xced473){const _0xc48b32=_0x3077db;var _0xec0e1c,_0x35a264=_0xced473[_0xc48b32(0x203)];return!_0x35a264||_0x35a264[_0xc48b32(0x357)]===0x0?_0x117286:_0x117286[_0xc48b32(0x1fa)]==='defs'&&(!((_0xec0e1c=_0x117286[_0xc48b32(0x3c7)])===null||_0xec0e1c===void 0x0)&&_0xec0e1c[_0xc48b32(0x357)])?I(I({},_0x117286),{'children':_0x117286['children'][_0xc48b32(0x233)](function(_0x3ec22e){const _0x31e1d8=_0xc48b32;return typeof _0x3ec22e[_0x31e1d8(0x2af)]['id']=='string'&&_0x35a264&&_0x35a264[_0x31e1d8(0x27d)](_0x3ec22e['attrs']['id'])>-0x1?I(I({},_0x3ec22e),{'attrs':I(I({},_0x3ec22e[_0x31e1d8(0x2af)]),{'id':_0x3ec22e[_0x31e1d8(0x2af)]['id']+_0xced473[_0x31e1d8(0x2ea)]})}):_0x3ec22e;})}):_0x117286;}function Wi(){const _0x4dfd8f=_0x3077db;return Math[_0x4dfd8f(0x3d1)]()[_0x4dfd8f(0x28d)](0x24)[_0x4dfd8f(0x3c8)](0x2,0x8);}We[_0x3077db(0x397)]='UniverIcon';var Fi={'tag':'svg','attrs':{'fill':_0x3077db(0x1fc),'viewBox':_0x3077db(0x227),'width':_0x3077db(0x281),'height':_0x3077db(0x281)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x3077db(0x2a9),'attrs':{'stroke':_0x3077db(0x2f9),'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':_0x3077db(0x297),'strokeLinejoin':_0x3077db(0x297),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x3077db(0x33c),'attrs':{'id':_0x3077db(0x2c9)},'children':[{'tag':_0x3077db(0x2a9),'attrs':{'fill':_0x3077db(0x21a),'d':_0x3077db(0x2bc)}}]}]}],'defIds':[_0x3077db(0x2c9)]},Pt=_0x58ae41(function(_0x13d8d4,_0x409116){return _0x6a5abd(We,Object['assign']({},_0x13d8d4,{'id':'off-line-single','ref':_0x409116,'icon':Fi}));});Pt['displayName']='OffLineSingle';var Vi={'tag':_0x3077db(0x2e7),'attrs':{'fill':'none','viewBox':_0x3077db(0x2b2),'width':_0x3077db(0x281),'height':_0x3077db(0x281)},'children':[{'tag':'g','attrs':{'clipPath':_0x3077db(0x2a6)},'children':[{'tag':_0x3077db(0x2a9),'attrs':{'stroke':_0x3077db(0x2f9),'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':_0x3077db(0x297),'strokeLinejoin':_0x3077db(0x297),'strokeWidth':1.2}}]},{'tag':_0x3077db(0x260),'attrs':{},'children':[{'tag':_0x3077db(0x33c),'attrs':{'id':_0x3077db(0x326)},'children':[{'tag':_0x3077db(0x2a9),'attrs':{'fill':'#fff','d':_0x3077db(0x2bc),'transform':'translate(.97)'}}]}]}],'defIds':[_0x3077db(0x326)]},Mt=_0x58ae41(function(_0x7b6b4e,_0x572158){const _0xbb7004=_0x3077db;return _0x6a5abd(We,Object[_0xbb7004(0x362)]({},_0x7b6b4e,{'id':_0xbb7004(0x365),'ref':_0x572158,'icon':Vi}));});Mt[_0x3077db(0x397)]=_0x3077db(0x2ac);const Yi=_0x3077db(0x232),Xi=_0x3077db(0x343),Gi=_0x3077db(0x2dd),Ki=_0x3077db(0x325),zi=_0x3077db(0x332),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x477328){const _0x1eadb5=_0x3077db;switch(_0x477328){case _0x46c462[_0x1eadb5(0x25f)]:return _0x1eadb5(0x33f);case _0x46c462[_0x1eadb5(0x1f5)]:return'collabStatus.conflict';case _0x46c462[_0x1eadb5(0x2f1)]:return _0x1eadb5(0x387);case _0x46c462[_0x1eadb5(0x2f6)]:return _0x1eadb5(0x293);case _0x46c462[_0x1eadb5(0x3e5)]:case _0x46c462['AWAITING_WITH_PENDING']:return _0x1eadb5(0x25e);case _0x46c462[_0x1eadb5(0x2fd)]:case _0x46c462[_0x1eadb5(0x3eb)]:return _0x1eadb5(0x2ab);}}function Zi(_0x21afca){const _0x22c7b2=_0x3077db,{status$:_0x101583}=_0x21afca,_0x59774a=_0x1da697(_0x101583,_0x46c462[_0x22c7b2(0x2f6)]),_0x54fe41=_0x4691c2(_0x2539e7),_0x1af7c1=_0x4691c2(_0x4d7a98),_0x576491=_0x59774a!==_0x46c462[_0x22c7b2(0x25f)],_0x4652b0=_0x54fe41['t'](Ji(_0x59774a)),_0x4591d3=_0x425334(G[_0x22c7b2(0x358)],{[G[_0x22c7b2(0x2b3)]]:_0x576491,[G[_0x22c7b2(0x26c)]]:!_0x576491}),_0xd0218=_0x576491?_0x1b1dac(Mt,{}):_0x1b1dac(Pt,{}),_0x4f1803=_0x5b9176(()=>{_0x576491||_0x1af7c1['reconnect']();},[_0x576491,_0x1af7c1]);function _0x1cd949(){const _0x346530=_0x22c7b2;return _0x254ad0(_0x346530(0x312),{'className':_0x425334(_0x4591d3,_0x346530(0x2e6)),'onClick':_0x4f1803,'children':[_0x1b1dac(_0x346530(0x312),{'className':G['onlineStatusIcon'],'children':_0xd0218}),_0x1b1dac(_0x346530(0x312),{'className':G[_0x346530(0x210)],'children':_0x4652b0})]});}return _0x576491?_0x1cd949():_0x1b1dac(_0x1e5915,{'title':_0x54fe41['t'](_0x22c7b2(0x29b)),'children':_0x1cd949()});}var Qi=Object[_0x3077db(0x3b8)],qi=(_0xbc70a8,_0x29665a,_0x3df31f,_0x242014)=>{const _0x2e6785=_0x3077db;for(var _0x1cbe35=_0x242014>0x1?void 0x0:_0x242014?Qi(_0x29665a,_0x3df31f):_0x29665a,_0x33c8db=_0xbc70a8[_0x2e6785(0x357)]-0x1,_0x4a522f;_0x33c8db>=0x0;_0x33c8db--)(_0x4a522f=_0xbc70a8[_0x33c8db])&&(_0x1cbe35=_0x4a522f(_0x1cbe35)||_0x1cbe35);return _0x1cbe35;},q=(_0x2d111f,_0xe81688)=>(_0x572980,_0x3d6ded)=>_0xe81688(_0x572980,_0x3d6ded,_0x2d111f);let se=class extends _0x2f6711{constructor(_0x3ac9cf,_0x4982f6,_0x153c55,_0x1e7e87){const _0x180951=_0x3077db;super(),h(this,_0x180951(0x205),new _0x5c912d(_0x46c462[_0x180951(0x2f6)])),(this[_0x180951(0x3da)]=_0x3ac9cf,this['_injector']=_0x4982f6,this[_0x180951(0x34b)]=_0x153c55,this['_uiPartsService']=_0x1e7e87,this[_0x180951(0x369)](),this[_0x180951(0x2ae)]());}[_0x3077db(0x2ae)](){const _0x5af4b0=_0x3077db;this['disposeWithMe'](this[_0x5af4b0(0x3da)][_0x5af4b0(0x33a)][_0x5af4b0(0x291)](_0x47cc74(()=>{const _0x371f0d=_0x5af4b0,_0x283333=this[_0x371f0d(0x3da)][_0x371f0d(0x3f8)]();return _0x283333?this['_collaborationController']['getCollabEntity$'](_0x283333[_0x371f0d(0x3ea)]()):_0x4bb6cb(null);}),_0x47cc74(_0x5a7ad0=>_0x5a7ad0?_0x5a7ad0['status$']:_0x4bb6cb(_0x46c462[_0x5af4b0(0x2f6)])))[_0x5af4b0(0x381)](_0x93d57a=>{const _0x2e7439=_0x5af4b0;this[_0x2e7439(0x205)][_0x2e7439(0x26d)](_0x93d57a);}));}['_initStatusComponent'](){const _0x1cc249=_0x3077db;this[_0x1cc249(0x21f)](this[_0x1cc249(0x3b0)][_0x1cc249(0x274)](_0x4c366f['HEADER_MENU'],()=>_0x5a194f(en({'status$':this[_0x1cc249(0x205)][_0x1cc249(0x3d2)]()}),this[_0x1cc249(0x253)])));}};se=qi([q(0x0,_0x2c287e),q(0x1,_0x5056af(_0x3c1911)),q(0x2,_0x5056af(_0x4560db)),q(0x3,_0x2f478b)],se);function en(_0x484719){const {status$:_0x4a4a3d}=_0x484719;return function(){return _0x1b1dac(Zi,{'status$':_0x4a4a3d});};}var tn=Object[_0x3077db(0x3b8)],sn=(_0x4a0ce7,_0x4c7475,_0x14d97f,_0x1993f4)=>{for(var _0x5bfb92=_0x1993f4>0x1?void 0x0:_0x1993f4?tn(_0x4c7475,_0x14d97f):_0x4c7475,_0x52a944=_0x4a0ce7['length']-0x1,_0x315552;_0x52a944>=0x0;_0x52a944--)(_0x315552=_0x4a0ce7[_0x52a944])&&(_0x5bfb92=_0x315552(_0x5bfb92)||_0x5bfb92);return _0x5bfb92;},k=(_0x3d67b1,_0xba0486)=>(_0x3862f2,_0xf65574)=>_0xba0486(_0x3862f2,_0xf65574,_0x3d67b1);let ie=class extends _0x2f6711{constructor(_0x1e9070,_0x25ed0e,_0x41705a,_0x4099bc,_0x1fc77c,_0x197213){const _0x208926=_0x3077db;super(),this[_0x208926(0x2c5)]=_0x1e9070,this['_localCacheService']=_0x25ed0e,this['_collaborationUIEventService']=_0x41705a,this['_messageService']=_0x4099bc,this[_0x208926(0x3d4)]=_0x1fc77c,this[_0x208926(0x279)]=_0x197213,this[_0x208926(0x2f8)](),this['_initEvent']();}[_0x3077db(0x2f8)](){const _0x2cbf14=_0x3077db;this[_0x2cbf14(0x21f)](this[_0x2cbf14(0x2c5)][_0x2cbf14(0x37e)](()=>{const _0x4df11c=_0x2cbf14;if(this[_0x4df11c(0x39c)][_0x4df11c(0x236)]['size'])return this[_0x4df11c(0x279)]['t'](_0x4df11c(0x238));}));}[_0x3077db(0x2b4)](){const _0x35dca8=_0x3077db;this[_0x35dca8(0x21f)](this['_collaborationUIEventService'][_0x35dca8(0x267)]['subscribe'](_0x2e6091=>{const _0x1dfb94=_0x35dca8;_0x2e6091['id']===_0x2d5ac6['OTHER_CLIENT_EDITING']&&this[_0x1dfb94(0x391)][_0x1dfb94(0x2c1)]({'type':_0x36699d[_0x1dfb94(0x29d)],'content':this[_0x1dfb94(0x279)]['t'](_0x1dfb94(0x283))}),_0x2e6091['id']===_0x2d5ac6[_0x1dfb94(0x35c)]&&this[_0x1dfb94(0x391)][_0x1dfb94(0x2c1)]({'type':_0x36699d[_0x1dfb94(0x29d)],'content':this[_0x1dfb94(0x279)]['t'](_0x1dfb94(0x1f2))}),_0x2e6091['id']===_0x2d5ac6['PERMISSION_DENIED']&&this[_0x1dfb94(0x3d4)]['show']({'title':this[_0x1dfb94(0x279)]['t'](_0x1dfb94(0x2d1)),'content':this['_localeService']['t']('permission.content'),'type':_0x1dfb94(0x2d6),'duration':0x0}),_0x2e6091['id']===_0x2d5ac6[_0x1dfb94(0x1f5)]&&this[_0x1dfb94(0x391)]['show']({'type':_0x36699d[_0x1dfb94(0x277)],'content':this[_0x1dfb94(0x279)]['t'](_0x1dfb94(0x1f2))+'('+_0x2e6091['data']+')'}),_0x2e6091['id']===_0x2d5ac6[_0x1dfb94(0x250)]&&this[_0x1dfb94(0x391)][_0x1dfb94(0x2c1)]({'type':_0x36699d[_0x1dfb94(0x29d)],'content':this[_0x1dfb94(0x279)]['t'](_0x2e6091[_0x1dfb94(0x3b9)]||'')}),_0x2e6091['id']===_0x2d5ac6[_0x1dfb94(0x3b4)]&&this[_0x1dfb94(0x391)][_0x1dfb94(0x2c1)]({'type':_0x36699d['Warning'],'content':this[_0x1dfb94(0x279)]['t']('session.will-retry')}),_0x2e6091['id']===_0x2d5ac6[_0x1dfb94(0x35d)]&&this['_messageService'][_0x1dfb94(0x2c1)]({'type':_0x36699d['Error'],'content':this[_0x1dfb94(0x279)]['t'](_0x1dfb94(0x2fe))}),_0x2e6091['id']===_0x2d5ac6[_0x1dfb94(0x375)]&&this[_0x1dfb94(0x391)][_0x1dfb94(0x2c1)]({'type':_0x36699d[_0x1dfb94(0x277)],'content':this[_0x1dfb94(0x279)]['t']('session.collaboration-timeout')});}));}};ie=sn([k(0x0,_0x3f7d24),k(0x1,_0x26b7b9),k(0x2,_0x5056af(_0xd450ed)),k(0x3,_0x8a7de),k(0x4,_0x4dac0a),k(0x5,_0x5056af(_0x2539e7))],ie);const nn=_0x3077db(0x273),st={},wt=_0x6910e1('uni.network.url-service');var rn=Object[_0x3077db(0x3b8)],on=(_0x54bb99,_0x2742c2,_0x2a60f5,_0x17d350)=>{for(var _0x453047=_0x17d350>0x1?void 0x0:_0x17d350?rn(_0x2742c2,_0x2a60f5):_0x2742c2,_0x568274=_0x54bb99['length']-0x1,_0x1a3e06;_0x568274>=0x0;_0x568274--)(_0x1a3e06=_0x54bb99[_0x568274])&&(_0x453047=_0x1a3e06(_0x453047)||_0x453047);return _0x453047;},K=(_0x12aaf7,_0x16fa37)=>(_0x2cbe54,_0x3f3145)=>_0x16fa37(_0x2cbe54,_0x3f3145,_0x12aaf7);let ne=class extends _0x46a387{constructor(_0x453f92,_0x233ae2,_0x5c0e99,_0xde60de,_0x2fc8dc){const _0x3966ae=_0x3077db;super(),this[_0x3966ae(0x223)]=_0x453f92,this['_logService']=_0x233ae2,this[_0x3966ae(0x3a6)]=_0x5c0e99,this[_0x3966ae(0x262)]=_0xde60de,_0x2fc8dc?_0x2fc8dc==null||_0x2fc8dc[_0x3966ae(0x339)]()[_0x3966ae(0x28f)](()=>this[_0x3966ae(0x3bd)]()):(this[_0x3966ae(0x393)][_0x3966ae(0x1f7)]('[CollaborationDataLoaderController]',_0x3966ae(0x356)),this[_0x3966ae(0x3bd)]());}async[_0x3077db(0x3bd)](){const _0x1715d0=_0x3077db,_0x41bd85=this[_0x1715d0(0x223)][_0x1715d0(0x3d3)](_0x1715d0(0x396)),_0xd4e5f8=this[_0x1715d0(0x223)][_0x1715d0(0x3d3)]('type'),_0x3d3d59=this[_0x1715d0(0x223)][_0x1715d0(0x3d3)](_0x1715d0(0x35b));if(!_0x41bd85||!_0xd4e5f8){this[_0x1715d0(0x393)][_0x1715d0(0x1f7)](_0x1715d0(0x23c),_0x1715d0(0x28c));return;}const _0x139677=await this[_0x1715d0(0x262)][_0x1715d0(0x38f)](_0x41bd85,Number(_0xd4e5f8),_0x3d3d59);_0x139677&&_0x139677 instanceof _0x2c1d5f&&this[_0x1715d0(0x26e)](_0x139677);}async[_0x3077db(0x26e)](_0x332f47){const _0x57dbf9=_0x3077db;await this['_updateSubUnitFromURLParams'](_0x332f47),_0x332f47[_0x57dbf9(0x3ca)][_0x57dbf9(0x291)](_0x425da0(this[_0x57dbf9(0x239)]))[_0x57dbf9(0x381)](_0x2316d4=>{_0x2316d4&&this['_updateURLWithCurrentState'](_0x2316d4);}),this[_0x57dbf9(0x223)][_0x57dbf9(0x3f2)]['pipe'](_0x425da0(this[_0x57dbf9(0x239)]))['subscribe'](()=>this[_0x57dbf9(0x2c2)](_0x332f47));}[_0x3077db(0x36c)](_0x111e8a,_0x595880=!0x1){const _0x230fdf=_0x3077db,_0x56238e=this[_0x230fdf(0x223)][_0x230fdf(0x3d3)](_0x230fdf(0x35b));_0x111e8a[_0x230fdf(0x305)]()!==_0x56238e&&this[_0x230fdf(0x223)]['setParam'](_0x230fdf(0x35b),_0x111e8a[_0x230fdf(0x305)](),_0x595880);}async[_0x3077db(0x2c2)](_0x3f3cff){const _0x226146=_0x3077db;var _0x2f2cb0;const _0xb3574=this[_0x226146(0x223)]['getParam']('subunit');if(!_0xb3574||!_0x3f3cff['getSheetBySheetId'](_0xb3574)){const _0x526711=_0x3f3cff[_0x226146(0x212)]()[0x0],_0x58041b=_0x3f3cff['getSheetBySheetId'](_0x526711);if(!_0x58041b)return;this['_updateURLWithCurrentState'](_0x58041b,!0x0),await this[_0x226146(0x3a6)]['executeCommand'](_0x2a3a4a['id'],{'unitId':_0x3f3cff['getUnitId'](),'subUnitId':_0x526711});return;}((_0x2f2cb0=_0x3f3cff[_0x226146(0x22d)]())==null?void 0x0:_0x2f2cb0[_0x226146(0x305)]())!==_0xb3574&&await this[_0x226146(0x3a6)][_0x226146(0x364)](_0x2a3a4a['id'],{'unitId':_0x3f3cff[_0x226146(0x3ea)](),'subUnitId':_0xb3574});}};ne=on([K(0x0,wt),K(0x1,_0x62ef0b),K(0x2,_0x82374b),K(0x3,_0x5056af(_0x12cfd6)),K(0x4,_0x335de1(_0x45fb52))],ne);function _0xda77(_0x5f5509,_0x2bba46){const _0x2588d0=_0x2588();return _0xda77=function(_0xda7778,_0x221209){_0xda7778=_0xda7778-0x1f2;let _0x6932fd=_0x2588d0[_0xda7778];return _0x6932fd;},_0xda77(_0x5f5509,_0x2bba46);}var an=Object['getOwnPropertyDescriptor'],cn=(_0x5f20e7,_0x2b634e,_0x5eb6f4,_0x404efe)=>{for(var _0x4a20f8=_0x404efe>0x1?void 0x0:_0x404efe?an(_0x2b634e,_0x5eb6f4):_0x2b634e,_0x36b019=_0x5f20e7['length']-0x1,_0x35401a;_0x36b019>=0x0;_0x36b019--)(_0x35401a=_0x5f20e7[_0x36b019])&&(_0x4a20f8=_0x35401a(_0x4a20f8)||_0x4a20f8);return _0x4a20f8;},Ce=(_0x251dab,_0x3923f9)=>(_0x3ed98b,_0x517510)=>_0x3923f9(_0x3ed98b,_0x517510,_0x251dab);let re=class{constructor(_0x2f4c90,_0x3a3974,_0x3185af){const _0x5c105a=_0x3077db;this[_0x5c105a(0x253)]=_0x2f4c90,this['_transformService']=_0x3a3974,this[_0x5c105a(0x31c)]=_0x3185af;}[_0x3077db(0x24d)](_0xeef6ca){const _0x4a1344=_0x3077db;this[_0x4a1344(0x3b6)](_0xeef6ca),this[_0x4a1344(0x3bc)](_0xeef6ca);}[_0x3077db(0x21b)](_0x5dc543){const _0x14ca84=_0x3077db,{unitID:_0x2ec686}=_0x5dc543,_0x1e9d84=this[_0x14ca84(0x31c)][_0x14ca84(0x3dc)](_0x2ec686)['with'](_0x33d3d7),{redoCache:_0x21c13a}=_0x1e9d84[_0x14ca84(0x317)]();if(_0x21c13a['length']===0x0)return _0x5dc543;let _0x460ceb=_0x14a334[_0x14ca84(0x2cc)](_0x5dc543[_0x14ca84(0x242)][0x0]);for(let _0x125216=0x0;_0x125216<_0x21c13a[_0x14ca84(0x357)];_0x125216++){const _0x3ab1da={'id':_0x14ca84(0x2f3),'params':{..._0x21c13a[_0x125216]}},_0x3a7f39=this[_0x14ca84(0x3cb)][_0x14ca84(0x3bf)](_0x460ceb,_0x3ab1da,!0x1);if(_0x2eb70e(_0x3a7f39))throw _0x3a7f39[_0x14ca84(0x2d6)];_0x460ceb=_0x3a7f39[_0x14ca84(0x2db)];}return{..._0x14a334['deepClone'](_0x5dc543),'mutations':[_0x460ceb]};}[_0x3077db(0x3b6)](_0x8f3064){const _0x4221cc=_0x3077db,{unitID:_0x34109d}=_0x8f3064,_0x5c08be=this[_0x4221cc(0x31c)][_0x4221cc(0x3dc)](_0x34109d)[_0x4221cc(0x337)](_0x33d3d7),{undoCache:_0x110ca8,redoCache:_0x2e835b}=_0x5c08be[_0x4221cc(0x317)]();if(_0x110ca8['length']===0x0||_0x2e835b['length']===0x0)return;const _0x58d9b3=[],_0x35e95f=[];let _0x5e92c3=_0x14a334['deepClone'](_0x8f3064[_0x4221cc(0x242)][0x0]),_0x5d72b8=_0x14a334[_0x4221cc(0x2cc)](_0x8f3064[_0x4221cc(0x242)][0x0]);for(let _0xef6a51=_0x110ca8['length']-0x1;_0xef6a51>=0x0;_0xef6a51--){const _0x508275={'id':_0x4221cc(0x2f3),'params':{..._0x110ca8[_0xef6a51]}},_0x4c8c25={'id':'doc.mutation.rich-text-editing','params':{..._0x2e835b[_0xef6a51]}},_0x41f8e4=this[_0x4221cc(0x3cb)][_0x4221cc(0x3bf)](_0x5e92c3,_0x508275,!0x1),_0x36c984=this[_0x4221cc(0x3cb)]['transformMutation'](_0x5d72b8,_0x4c8c25,!0x1);if(_0x2eb70e(_0x41f8e4))throw _0x41f8e4['error'];if(_0x2eb70e(_0x36c984))throw _0x36c984[_0x4221cc(0x2d6)];_0x58d9b3[_0x4221cc(0x208)](_0x41f8e4[_0x4221cc(0x35f)][_0x4221cc(0x204)]),_0x35e95f[_0x4221cc(0x208)](_0x36c984['m2Prime'][_0x4221cc(0x204)]),_0x5e92c3=_0x41f8e4['m1Prime'],_0x5d72b8=_0x36c984[_0x4221cc(0x2db)];}_0x5c08be[_0x4221cc(0x336)]({'undoCache':_0x58d9b3,'redoCache':_0x35e95f});}[_0x3077db(0x3bc)](_0x37ab54){const _0x482ad3=_0x3077db,{unitID:_0x278a24}=_0x37ab54,_0x4f000d=this['_renderManagerService'][_0x482ad3(0x3dc)](_0x278a24)[_0x482ad3(0x337)](_0x33d3d7),_0x417d8f=_0x4f000d[_0x482ad3(0x269)]();if(_0x417d8f==null)return;const _0x21d406=[{'id':_0x482ad3(0x2f3),'params':{'unitId':_0x37ab54[_0x482ad3(0x1f6)],'actions':null,'textRanges':[_0x417d8f]}}],_0x2d87f0=this[_0x482ad3(0x3cb)][_0x482ad3(0x352)](_0x37ab54,_0x21d406);if(!_0x55a217(_0x2d87f0))throw _0x2d87f0['error'];const _0x3fab2c=_0x2d87f0[_0x482ad3(0x35f)][0x0]['params'][_0x482ad3(0x34f)];Array[_0x482ad3(0x247)](_0x3fab2c)&&_0x3fab2c['length']&&_0x4f000d[_0x482ad3(0x2ff)](_0x3fab2c[0x0]);}};re=cn([Ce(0x0,_0x5056af(_0x3c1911)),Ce(0x1,_0xa02202),Ce(0x2,_0x261fd7)],re);var ln=Object[_0x3077db(0x3b8)],hn=(_0x57e195,_0x13e103,_0x1dc2c7,_0x405269)=>{const _0x5ec623=_0x3077db;for(var _0x1a4f2e=_0x405269>0x1?void 0x0:_0x405269?ln(_0x13e103,_0x1dc2c7):_0x13e103,_0x5f3574=_0x57e195[_0x5ec623(0x357)]-0x1,_0x593b0f;_0x5f3574>=0x0;_0x5f3574--)(_0x593b0f=_0x57e195[_0x5f3574])&&(_0x1a4f2e=_0x593b0f(_0x1a4f2e)||_0x1a4f2e);return _0x1a4f2e;},be=(_0x1a24d5,_0x4ebf4f)=>(_0x586a75,_0x3ee613)=>_0x4ebf4f(_0x586a75,_0x3ee613,_0x1a24d5);let oe=class{constructor(_0x335c2c,_0x5ae535,_0xa15984){const _0x910446=_0x3077db;this[_0x910446(0x253)]=_0x335c2c,this['_transformService']=_0x5ae535,this['_docStateChangeManagerService']=_0xa15984;}[_0x3077db(0x23f)](_0x1a9c71){const _0x3f84dc=_0x3077db;this[_0x3f84dc(0x302)](_0x1a9c71);}['transformRemoteChangeset'](_0x3c1b2b){const _0x331306=_0x3077db,{unitID:_0x3e4681}=_0x3c1b2b,{collaboration:_0xf2214}=this['_docStateChangeManagerService'][_0x331306(0x372)](_0x3e4681);if(_0xf2214[_0x331306(0x357)]===0x0)return _0x3c1b2b;let _0x3d9319=_0x14a334[_0x331306(0x2cc)](_0x3c1b2b[_0x331306(0x242)][0x0]);for(let _0x2f92be=0x0;_0x2f92be<_0xf2214[_0x331306(0x357)];_0x2f92be++){const _0x5d6515={'id':_0x331306(0x2f3),'params':{'unitId':_0xf2214[_0x2f92be]['unitId'],..._0xf2214[_0x2f92be][_0x331306(0x303)]}},_0x1832c1=this[_0x331306(0x3cb)]['transformMutation'](_0x3d9319,_0x5d6515,!0x1);if(_0x2eb70e(_0x1832c1))throw _0x1832c1[_0x331306(0x2d6)];_0x3d9319=_0x1832c1[_0x331306(0x2db)];}return{..._0x14a334[_0x331306(0x2cc)](_0x3c1b2b),'mutations':[_0x3d9319]};}[_0x3077db(0x302)](_0x1f820d){const _0x4846fe=_0x3077db,{unitID:_0x485f3d}=_0x1f820d,{history:_0x34588e,collaboration:_0x347f5f}=this['_docStateChangeManagerService']['getStateCache'](_0x485f3d);if(_0x34588e[_0x4846fe(0x357)]===0x0&&_0x347f5f[_0x4846fe(0x357)]===0x0)return;const _0xbc9cba=[],_0x3f0350=[];let _0xe2863e=_0x14a334[_0x4846fe(0x2cc)](_0x1f820d[_0x4846fe(0x242)][0x0]),_0x3eb92b=_0x14a334[_0x4846fe(0x2cc)](_0x1f820d['mutations'][0x0]);for(let _0x4d5d2c=_0x34588e[_0x4846fe(0x357)]-0x1;_0x4d5d2c>=0x0;_0x4d5d2c--){const _0x1eb7f6={'id':_0x4846fe(0x2f3),'params':{'unitId':_0x34588e[_0x4d5d2c][_0x4846fe(0x3a4)],..._0x34588e[_0x4d5d2c][_0x4846fe(0x215)]}},_0x3cfd4e={'id':_0x4846fe(0x2f3),'params':{'unitId':_0x34588e[_0x4d5d2c]['unitId'],..._0x34588e[_0x4d5d2c][_0x4846fe(0x303)]}},_0xd0e2c8=this[_0x4846fe(0x3cb)][_0x4846fe(0x3bf)](_0xe2863e,_0x1eb7f6,!0x1),_0x160125=this['_transformService']['transformMutation'](_0x3eb92b,_0x3cfd4e,!0x1);if(_0x2eb70e(_0xd0e2c8))throw _0xd0e2c8[_0x4846fe(0x2d6)];if(_0x2eb70e(_0x160125))throw _0x160125[_0x4846fe(0x2d6)];_0xbc9cba[_0x4846fe(0x208)]({..._0x34588e[_0x4d5d2c],'undoState':_0xd0e2c8[_0x4846fe(0x35f)][_0x4846fe(0x204)],'redoState':_0x160125[_0x4846fe(0x35f)]['params']}),_0xe2863e=_0xd0e2c8['m1Prime'],_0x3eb92b=_0x160125[_0x4846fe(0x2db)];}_0xe2863e=_0x14a334[_0x4846fe(0x2cc)](_0x1f820d[_0x4846fe(0x242)][0x0]),_0x3eb92b=_0x14a334[_0x4846fe(0x2cc)](_0x1f820d[_0x4846fe(0x242)][0x0]);for(let _0x2ff878=_0x347f5f[_0x4846fe(0x357)]-0x1;_0x2ff878>=0x0;_0x2ff878--){const _0x149264={'id':_0x4846fe(0x2f3),'params':{'unitId':_0x347f5f[_0x2ff878][_0x4846fe(0x3a4)],..._0x347f5f[_0x2ff878][_0x4846fe(0x215)]}},_0x53b05a={'id':_0x4846fe(0x2f3),'params':{'unitId':_0x347f5f[_0x2ff878][_0x4846fe(0x3a4)],..._0x347f5f[_0x2ff878][_0x4846fe(0x303)]}},_0x140e3d=this[_0x4846fe(0x3cb)]['transformMutation'](_0xe2863e,_0x149264,!0x1),_0x5b565e=this['_transformService'][_0x4846fe(0x3bf)](_0x3eb92b,_0x53b05a,!0x1);if(_0x2eb70e(_0x140e3d))throw _0x140e3d[_0x4846fe(0x2d6)];if(_0x2eb70e(_0x5b565e))throw _0x5b565e[_0x4846fe(0x2d6)];_0x3f0350['unshift']({..._0x347f5f[_0x2ff878],'undoState':_0x140e3d[_0x4846fe(0x35f)][_0x4846fe(0x204)],'redoState':_0x5b565e['m2Prime']['params']}),_0xe2863e=_0x140e3d[_0x4846fe(0x2db)],_0x3eb92b=_0x5b565e['m1Prime'];}this[_0x4846fe(0x225)][_0x4846fe(0x214)](_0x485f3d,{'history':_0xbc9cba,'collaboration':_0x3f0350});}};oe=hn([be(0x0,_0x5056af(_0x3c1911)),be(0x1,_0xa02202),be(0x2,_0x5056af(_0x504d2d))],oe);var _n=Object[_0x3077db(0x3b8)],un=(_0x236d18,_0x454918,_0x3c3309,_0xa56f0b)=>{for(var _0x2ecd56=_0xa56f0b>0x1?void 0x0:_0xa56f0b?_n(_0x454918,_0x3c3309):_0x454918,_0x8e3858=_0x236d18['length']-0x1,_0x4d1be4;_0x8e3858>=0x0;_0x8e3858--)(_0x4d1be4=_0x236d18[_0x8e3858])&&(_0x2ecd56=_0x4d1be4(_0x2ecd56)||_0x2ecd56);return _0x2ecd56;},it=(_0x3e4bd1,_0x469fd3)=>(_0x50b00b,_0x3819d8)=>_0x469fd3(_0x50b00b,_0x3819d8,_0x3e4bd1);let ae=class{constructor(_0x64ea63,_0x24672f){this['_injector']=_0x64ea63,this['_transformService']=_0x24672f;}[_0x3077db(0x31d)](_0x44b718){const _0x4cca54=_0x3077db;var _0xd40212;const _0x4d833a=this[_0x4cca54(0x253)][_0x4cca54(0x28e)](_0x11745e),_0x2475d3=(_0xd40212=_0x4d833a[_0x4cca54(0x34d)]())!=null?_0xd40212:[];if(_0x2475d3[_0x4cca54(0x357)]===0x0)return;const _0x111e1b=_0x44b718['unitID'],_0x5eb362=[{'id':_0x4cca54(0x2f3),'params':{'unitId':_0x111e1b,'actions':null,'textRanges':_0x2475d3}}],_0x2e7ac0=this[_0x4cca54(0x3cb)][_0x4cca54(0x352)](_0x44b718,_0x5eb362);if(!_0x55a217(_0x2e7ac0))throw _0x2e7ac0[_0x4cca54(0x2d6)];const _0x2bf734=_0x2e7ac0[_0x4cca54(0x35f)][0x0][_0x4cca54(0x204)][_0x4cca54(0x34f)];Array[_0x4cca54(0x247)](_0x2bf734)&&_0x2bf734[_0x4cca54(0x357)]&&_0x4d833a[_0x4cca54(0x3c6)](_0x2bf734,{'unitId':_0x111e1b,'subUnitId':_0x111e1b},!0x1);}};ae=un([it(0x0,_0x5056af(_0x3c1911)),it(0x1,_0xa02202)],ae);var dn=Object[_0x3077db(0x3b8)],fn=(_0x3eaa41,_0x5009ad,_0x1ce10d,_0x8c3ca8)=>{const _0x3c3724=_0x3077db;for(var _0x1051a6=_0x8c3ca8>0x1?void 0x0:_0x8c3ca8?dn(_0x5009ad,_0x1ce10d):_0x5009ad,_0x4505dc=_0x3eaa41[_0x3c3724(0x357)]-0x1,_0x19e05f;_0x4505dc>=0x0;_0x4505dc--)(_0x19e05f=_0x3eaa41[_0x4505dc])&&(_0x1051a6=_0x19e05f(_0x1051a6)||_0x1051a6);return _0x1051a6;},P=(_0x396bbf,_0x44e71f)=>(_0x3c5cfd,_0x45d266)=>_0x44e71f(_0x3c5cfd,_0x45d266,_0x396bbf);let ce=class extends _0x2f6711{constructor(_0x95809c,_0x2c32eb,_0x435da4,_0x5c83a6,_0x606cea,_0x24108d,_0x28ae37,_0x3addc7){const _0x2c7a0e=_0x3077db;super(),h(this,_0x2c7a0e(0x205),new _0x5c912d(_0x46c462[_0x2c7a0e(0x2f6)])),(this['_docStateChangeManagerService']=_0x95809c,this[_0x2c7a0e(0x34b)]=_0x2c32eb,this[_0x2c7a0e(0x25c)]=_0x435da4,this[_0x2c7a0e(0x3f4)]=_0x5c83a6,this[_0x2c7a0e(0x25b)]=_0x606cea,this[_0x2c7a0e(0x298)]=_0x24108d,this[_0x2c7a0e(0x391)]=_0x28ae37,this[_0x2c7a0e(0x279)]=_0x3addc7,this[_0x2c7a0e(0x354)]());}['_initEntityListener'](){const _0x4fcef3=_0x3077db;this[_0x4fcef3(0x21f)](this[_0x4fcef3(0x34b)][_0x4fcef3(0x241)][_0x4fcef3(0x381)](_0x3dcab5=>{const _0x374382=_0x4fcef3,_0x30e1ae=this['_docStateChangeManagerService'][_0x374382(0x2ee)]['subscribe'](_0x4a402e=>{const _0xa82181=_0x374382;if(_0x4a402e==null)return;const {unitId:_0x42570e,redoState:_0xbd7efa,commandId:_0x2dfe4c}=_0x4a402e;if(_0x42570e!==_0x3dcab5['unitID'])return;const _0xb0b0cb={'id':_0x2dfe4c,'type':_0xf2e447[_0xa82181(0x202)],'params':{'unitId':_0x42570e,'actions':_0xbd7efa[_0xa82181(0x3e8)],'textRanges':null}};_0x3dcab5['onLocalMutation'](_0xb0b0cb);});if(_0x3dcab5[_0x374382(0x21f)](_0x30e1ae),_0x3dcab5 instanceof _0x969c36){const _0x2317a2={'onTransformIME':_0x37f024=>this['_docTransformIMECacheService']['transformIMECache'](_0x37f024),'onTransformState':_0x47f6ef=>this[_0x374382(0x3f4)][_0x374382(0x23f)](_0x47f6ef),'onTransformSelections':_0x202cbe=>this[_0x374382(0x25b)]['transformSelections'](_0x202cbe),'onSyncEditingCollabCursor':_0xe46545=>this[_0x374382(0x298)][_0x374382(0x27f)](_0xe46545),'onTransformRemoteChangesetByIMECache':_0x58bd51=>this[_0x374382(0x25c)][_0x374382(0x21b)](_0x58bd51),'onTransformRemoteChangesetByStateCache':_0x3bec02=>this['_docTransformStateCacheService'][_0x374382(0x21b)](_0x3bec02)};_0x3dcab5[_0x374382(0x1f9)](_0x2317a2);}}));}};ce=fn([P(0x0,_0x5056af(_0x504d2d)),P(0x1,_0x5056af(_0x4560db)),P(0x2,_0x5056af(re)),P(0x3,_0x5056af(oe)),P(0x4,_0x5056af(ae)),P(0x5,_0x5056af(je)),P(0x6,_0x8a7de),P(0x7,_0x5056af(_0x2539e7))],ce);var Sn=Object[_0x3077db(0x3b8)],mn=(_0xcebf45,_0x2f67f0,_0x17f840,_0x1273fa)=>{const _0x3f1d62=_0x3077db;for(var _0x1da27d=_0x1273fa>0x1?void 0x0:_0x1273fa?Sn(_0x2f67f0,_0x17f840):_0x2f67f0,_0x34c70b=_0xcebf45[_0x3f1d62(0x357)]-0x1,_0x400df3;_0x34c70b>=0x0;_0x34c70b--)(_0x400df3=_0xcebf45[_0x34c70b])&&(_0x1da27d=_0x400df3(_0x1da27d)||_0x1da27d);return _0x1da27d;},Ee=(_0xfdd1ce,_0x83111)=>(_0x1021e7,_0x546506)=>_0x83111(_0x1021e7,_0x546506,_0xfdd1ce);let Ae=class extends _0x2f6711{constructor(_0x431a89,_0x13189a,_0x1e88f8){const _0x568840=_0x3077db;super(),h(this,_0x568840(0x379),new Map()),h(this,'_saveTaskMap',new Map()),h(this,_0x568840(0x29c),!0x1),(this[_0x568840(0x37d)]=_0x431a89,this[_0x568840(0x3ce)]=_0x13189a,this[_0x568840(0x3d6)]=_0x1e88f8);}[_0x3077db(0x315)](){const _0x3d4fca=_0x3077db;this[_0x3d4fca(0x29c)]=!0x0;}[_0x3077db(0x3cf)](){const _0x12e73e=_0x3077db;this[_0x12e73e(0x29c)]=!0x1;}get['saveTaskMap'](){const _0x2a7bae=_0x3077db;return this[_0x2a7bae(0x2be)];}[_0x3077db(0x24f)](){const _0xf0a630=_0x3077db;this['exhaustSavingTask']()['then'](()=>super[_0xf0a630(0x24f)]());}async['loadOfflineData'](_0x484a76){const _0x1976ec=_0x3077db;return this[_0x1976ec(0x29c)]?null:this[_0x1976ec(0x3ce)][_0x1976ec(0x2e5)](_0x5c24cf(_0x484a76));}async[_0x3077db(0x275)](_0x5885e0,_0x247717){const _0x12ef40=_0x3077db;return!!this[_0x12ef40(0x3ce)]['setItem'](_0x5885e0,_0x247717);}[_0x3077db(0x219)](_0x292967,_0x1d9857,_0x3474b2,_0x353bc1){const _0x28e022=_0x3077db,_0x281ffe=this[_0x28e022(0x3d6)][_0x28e022(0x3c5)](_0x292967);this[_0x28e022(0x379)][_0x28e022(0x37c)](_0x292967,{'unitID':_0x292967,'type':_0x1d9857,'awaitingChangeset':_0x3474b2,'mutations':_0x353bc1,'rev':_0x281ffe}),this['_saveTaskMap'][_0x28e022(0x319)](_0x292967)||this['_scheduleSaving'](_0x292967);}[_0x3077db(0x306)](_0x4c40c4){const _0x47dfc1=_0x3077db,_0x334efc=this[_0x47dfc1(0x245)]();_0x334efc===0x0?this[_0x47dfc1(0x329)](_0x4c40c4):this['_saveTaskMap'][_0x47dfc1(0x37c)](_0x4c40c4,setTimeout(()=>this[_0x47dfc1(0x329)](_0x4c40c4),_0x334efc));}['_getSaveTimeout'](){const _0x499cef=_0x3077db;var _0x22c2d2;return(_0x22c2d2=this[_0x499cef(0x37d)][_0x499cef(0x3f6)](_0x2bf1b3))!=null?_0x22c2d2:_0x4e8b84;}[_0x3077db(0x329)](_0x275b97){const _0x2b3e7b=_0x3077db,_0x247dd7=this[_0x2b3e7b(0x2be)][_0x2b3e7b(0x28e)](_0x275b97);return _0x247dd7!==void 0x0&&window['clearTimeout'](_0x247dd7),this[_0x2b3e7b(0x3ce)]['setItem'](_0x5c24cf(_0x275b97),this['_cachedData'][_0x2b3e7b(0x28e)](_0x275b97))[_0x2b3e7b(0x28f)](()=>this[_0x2b3e7b(0x2be)][_0x2b3e7b(0x228)](_0x275b97));}async['exhaustSavingTask'](){const _0x4bcfd3=_0x3077db,_0x115d9f=[];this[_0x4bcfd3(0x2be)][_0x4bcfd3(0x3ba)]((_0x13e978,_0x4f430e)=>{const _0x4afb09=_0x4bcfd3;window['clearTimeout'](_0x13e978),_0x115d9f[_0x4afb09(0x224)](this['_saveCache'](_0x4f430e)[_0x4afb09(0x28f)](()=>{const _0x51cc13=_0x4afb09;this[_0x51cc13(0x2be)][_0x51cc13(0x228)](_0x4f430e);}));}),await Promise[_0x4bcfd3(0x2da)](_0x115d9f);}};Ae=mn([Ee(0x0,_0x5418e6),Ee(0x1,_0x162c54),Ee(0x2,_0x5056af(_0x4acf32))],Ae);class gn extends _0x46a387{constructor(){const _0xc31726=_0x3077db;super(),h(this,_0xc31726(0x3f2)),this[_0xc31726(0x3f2)]=_0x4169b2(window,_0xc31726(0x2c8))[_0xc31726(0x291)](_0x425da0(this['dispose$']),_0x2a3d77(0x1),_0x43ecf4(void 0x0));}['setParam'](_0x2e6bcd,_0x17113b,_0x42ef86=!0x1){const _0x421aaf=_0x3077db,_0x3c711c=new URL(window[_0x421aaf(0x295)][_0x421aaf(0x268)]);_0x3c711c['searchParams'][_0x421aaf(0x37c)](_0x2e6bcd,_0x17113b),_0x42ef86?window[_0x421aaf(0x286)]['replaceState']('','',_0x3c711c['toString']()):window[_0x421aaf(0x286)]['pushState']('','',_0x3c711c['toString']());}[_0x3077db(0x3aa)](_0x39c793,_0x545851=!0x1){const _0xbf5a0c=_0x3077db,_0x4a15c8=new URL(window[_0xbf5a0c(0x295)][_0xbf5a0c(0x268)]);_0x4a15c8[_0xbf5a0c(0x382)]['delete'](_0x39c793),_0x545851?window[_0xbf5a0c(0x286)]['replaceState']('','',_0x4a15c8[_0xbf5a0c(0x28d)]()):window[_0xbf5a0c(0x286)]['pushState']('','',_0x4a15c8['toString']());}[_0x3077db(0x3d3)](_0x16e88e){const _0x326cbc=_0x3077db;var _0x4ab2f4;return(_0x4ab2f4=new URL(window[_0x326cbc(0x295)]['href'])[_0x326cbc(0x382)]['get'](_0x16e88e))!=null?_0x4ab2f4:void 0x0;}}var vn=Object[_0x3077db(0x2d3)],In=Object[_0x3077db(0x3b8)],pn=(_0x468b5b,_0x494ceb,_0x4d4749)=>_0x494ceb in _0x468b5b?vn(_0x468b5b,_0x494ceb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d4749}):_0x468b5b[_0x494ceb]=_0x4d4749,Cn=(_0x577bd8,_0x396f98,_0x4b0bc9,_0x371d7c)=>{for(var _0x1766f4=_0x371d7c>0x1?void 0x0:_0x371d7c?In(_0x396f98,_0x4b0bc9):_0x396f98,_0x1986d3=_0x577bd8['length']-0x1,_0x3b6074;_0x1986d3>=0x0;_0x1986d3--)(_0x3b6074=_0x577bd8[_0x1986d3])&&(_0x1766f4=_0x3b6074(_0x1766f4)||_0x1766f4);return _0x1766f4;},Oe=(_0x5e1bd8,_0x4e2e87)=>(_0x346506,_0xea127c)=>_0x4e2e87(_0x346506,_0xea127c,_0x5e1bd8),bn=(_0x3b2988,_0x250973,_0x4d30ee)=>pn(_0x3b2988,_0x250973+'',_0x4d30ee);const En=_0x3077db(0x1f8);let ye=class extends _0x588f4c{constructor(_0x5dd00e=st,_0x525396,_0x4722d8,_0x80c43c){const _0x5cba5c=_0x3077db;super(),this[_0x5cba5c(0x2f2)]=_0x5dd00e,this[_0x5cba5c(0x31c)]=_0x525396,this['_injector']=_0x4722d8,this[_0x5cba5c(0x37d)]=_0x80c43c;const {..._0x406fe2}=_0x5ca5be({},st,this['_config']);this['_configService'][_0x5cba5c(0x226)](nn,_0x406fe2);}[_0x3077db(0x3c1)](){const _0x2bbb63=_0x3077db;this[_0x2bbb63(0x2b1)](),this['_initDependencies']();}[_0x3077db(0x344)](){const _0x5106d5=_0x3077db;this[_0x5106d5(0x341)]();}[_0x3077db(0x2b1)](){const _0x3c3499=_0x3077db;var _0x220774;const _0x46ba4a=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x582a71,{'useClass':_0x2d8aac}],[_0x26b7b9,{'useClass':Ae}],[se],[ce],[ie],[H],[Pe],[ne]];_0x48ac04(this[_0x3c3499(0x253)],_0x47eedb(_0x46ba4a,(_0x220774=this['_config'])==null?void 0x0:_0x220774[_0x3c3499(0x39b)]));}[_0x3077db(0x341)](){const _0xa28a63=_0x3077db;this[_0xa28a63(0x21f)](this[_0xa28a63(0x31c)]['registerRenderModule'](_0x5e6f3c[_0xa28a63(0x2a7)],[Ue])),this[_0xa28a63(0x21f)](this[_0xa28a63(0x31c)][_0xa28a63(0x31e)](_0x5e6f3c[_0xa28a63(0x38b)],[Le]));}[_0x3077db(0x3df)](){const _0x4cc070=_0x3077db;_0x4fb82f(this[_0x4cc070(0x253)],[[H],[se],[ce],[ie],[ne]]);}};bn(ye,_0x3077db(0x244),En),ye=Cn([_0x2658de(_0x383a92),Oe(0x1,_0x261fd7),Oe(0x2,_0x5056af(_0x3c1911)),Oe(0x3,_0x5418e6)],ye);var On=Object[_0x3077db(0x3b8)],Tn=(_0x5c5c8f,_0x1a4771,_0x56ff6e,_0x2c6155)=>{const _0x3c3293=_0x3077db;for(var _0x5e5571=_0x2c6155>0x1?void 0x0:_0x2c6155?On(_0x1a4771,_0x56ff6e):_0x1a4771,_0xcdd148=_0x5c5c8f[_0x3c3293(0x357)]-0x1,_0x304033;_0xcdd148>=0x0;_0xcdd148--)(_0x304033=_0x5c5c8f[_0xcdd148])&&(_0x5e5571=_0x304033(_0x5e5571)||_0x5e5571);return _0x5e5571;},z=(_0x370460,_0x1d7f08)=>(_0x447da8,_0xc34991)=>_0x1d7f08(_0x447da8,_0xc34991,_0x370460);let nt=class extends _0x25a02b{constructor(_0x2bbd53,_0x5e5e8f,_0xbf1cbb,_0x4d7f0d,_0x4b0987){super(_0x2bbd53,_0x5e5e8f,_0xbf1cbb,_0x4d7f0d,_0x4b0987);}async['createSocket'](_0x1875a5){const _0x5c0bc6=_0x3077db,_0x32d57c=await this[_0x5c0bc6(0x35e)](),_0x4662f2=this[_0x5c0bc6(0x3cc)](_0x1875a5,_0x32d57c);return this[_0x5c0bc6(0x3e1)](_0x4662f2);}['_createSocketURL'](_0x31d661,_0x2fe6ee){const _0x3d70fd=_0x3077db,_0x216418=typeof window>'u'?new URL(_0x31d661):new URL(_0x31d661,window[_0x3d70fd(0x295)][_0x3d70fd(0x259)]);_0x216418[_0x3d70fd(0x382)][_0x3d70fd(0x37c)](_0x3d70fd(0x282),_0x2fe6ee);const _0x3e55e3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3d70fd(0x295)][_0x3d70fd(0x376)]);return _0x3e55e3['get']('runId')&&_0x216418['searchParams'][_0x3d70fd(0x37c)](_0x3d70fd(0x386),_0x3e55e3[_0x3d70fd(0x28e)](_0x3d70fd(0x386))),_0x216418[_0x3d70fd(0x28d)]();}async[_0x3077db(0x35e)](){const _0x35c343=_0x3077db;var _0x1b4c4c,_0xf20291,_0x447281;const _0x5bdba7=this[_0x35c343(0x37d)]['getConfig'](_0x4f6d20),_0x15d102=(_0x1b4c4c=_0x5bdba7==null?void 0x0:_0x5bdba7[_0x35c343(0x3f3)])!=null?_0x1b4c4c:_0x24bf0c;return(_0x447281=(_0xf20291=(await this[_0x35c343(0x2a0)][_0x35c343(0x28e)](_0x15d102,{'headers':{'Content-Type':_0x35c343(0x1ff)}}))[_0x35c343(0x289)])==null?void 0x0:_0xf20291[_0x35c343(0x355)])!=null?_0x447281:'';}};nt=Tn([z(0x0,_0x5056af(_0x3c1911)),z(0x1,_0x5056af(_0x34640d)),z(0x2,_0x5418e6),z(0x3,_0x62ef0b),z(0x4,_0x3a8044)],nt);const rt=0x7530,ot=_0x3077db(0x2fb);class Gn extends _0x2f6711{constructor(){const _0x41b71a=_0x3077db;super(),h(this,_0x41b71a(0x373),_0x1ed28f()),h(this,_0x41b71a(0x255),new Set()),h(this,_0x41b71a(0x3ad),new Map()),h(this,'_heartbeatTimer',null),h(this,_0x41b71a(0x3ab),new Map()),h(this,_0x41b71a(0x27b),new Map()),this['_init']();}[_0x3077db(0x24f)](){const _0x69d62b=_0x3077db;super[_0x69d62b(0x24f)](),this['_clearOtherTimers']['forEach']((_0x258c5d,_0x1929a4)=>this[_0x69d62b(0x2fc)](_0x1929a4)),this[_0x69d62b(0x1fe)]&&window[_0x69d62b(0x3db)](this[_0x69d62b(0x1fe)]);}[_0x3077db(0x34e)](_0x48769f){const _0xeb1a10=_0x3077db;return this[_0xeb1a10(0x2c6)](_0x48769f)[_0xeb1a10(0x291)](_0x138379());}[_0x3077db(0x304)](_0x43d15b){const _0x1cf056=_0x3077db;this[_0x1cf056(0x255)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x1cf056(0x255)][_0x1cf056(0x24a)](_0x43d15b),this['_send']({'type':0x0,'memberID':this[_0x1cf056(0x373)],'unitIDs':[_0x43d15b],'isForwarded':!0x1});}[_0x3077db(0x368)](_0x73cca2){const _0x43ea8e=_0x3077db;this['_selfUnitIDs'][_0x43ea8e(0x228)](_0x73cca2),this['_selfUnitIDs'][_0x43ea8e(0x2d8)]===0x0&&this[_0x43ea8e(0x1fe)]&&window[_0x43ea8e(0x3db)](this['_heartbeatTimer']);}['_init'](){const _0x4bde6f=_0x3077db;this['disposeWithMe'](_0x12a07d(_0x4169b2(window,_0x4bde6f(0x3a1))[_0x4bde6f(0x381)](_0x1df981=>{const _0x2f8d13=_0x4bde6f;if(_0x1df981[_0x2f8d13(0x21d)]!==ot||!_0x1df981[_0x2f8d13(0x39a)])return;const _0x45a983=JSON[_0x2f8d13(0x39f)](_0x1df981[_0x2f8d13(0x39a)]);this['_handleEvent'](_0x45a983);}))),window[_0x4bde6f(0x2ad)]('unload',()=>this[_0x4bde6f(0x28b)]({'type':0x1,'memberID':this[_0x4bde6f(0x373)],'unitIDs':Array[_0x4bde6f(0x36b)](this[_0x4bde6f(0x255)])}));}[_0x3077db(0x3f0)](_0x430f29){const _0x1fa818=_0x3077db;switch(_0x430f29[_0x1fa818(0x2cf)]){case 0x0:this[_0x1fa818(0x218)](_0x430f29);break;case 0x1:this[_0x1fa818(0x2e4)](_0x430f29);break;case 0x2:this[_0x1fa818(0x3c4)](_0x430f29);break;}}[_0x3077db(0x218)](_0x4bcd96){const _0x32463b=_0x3077db,{unitIDs:_0x1c4a6b,memberID:_0x5ab909,isForwarded:_0x17f0c6}=_0x4bcd96;_0x1c4a6b[_0x32463b(0x3ba)](_0x2bab85=>{const _0x57c3b5=_0x32463b;if(!_0x17f0c6&&this[_0x57c3b5(0x3ad)][_0x57c3b5(0x319)](_0x2bab85)&&this[_0x57c3b5(0x2c6)](_0x2bab85)[_0x57c3b5(0x26d)](_0x1305d7[_0x57c3b5(0x35a)]),!this['_unitOnClients'][_0x57c3b5(0x319)](_0x2bab85)||!this[_0x57c3b5(0x3ad)]['get'](_0x2bab85)['has'](_0x5ab909)){const _0x231b97=this[_0x57c3b5(0x3ad)]['get'](_0x2bab85)||new Set();_0x231b97[_0x57c3b5(0x24a)](_0x5ab909),this[_0x57c3b5(0x3ad)][_0x57c3b5(0x37c)](_0x2bab85,_0x231b97),this[_0x57c3b5(0x320)](_0x5ab909);}}),_0x17f0c6||this[_0x32463b(0x28b)]({'type':0x0,'memberID':this[_0x32463b(0x373)],'unitIDs':[...this[_0x32463b(0x255)]],'isForwarded':!0x0});}[_0x3077db(0x320)](_0x378f54){const _0x437879=_0x3077db;this[_0x437879(0x2fc)](_0x378f54);const _0x22870e=window[_0x437879(0x353)](()=>{const _0x1f5ee2=_0x437879;this[_0x1f5ee2(0x3ad)][_0x1f5ee2(0x3ba)](_0x570701=>{const _0x3c8b5b=_0x1f5ee2;_0x570701[_0x3c8b5b(0x228)](_0x378f54);});},rt*0x2);this[_0x437879(0x3ab)][_0x437879(0x37c)](_0x378f54,_0x22870e);}[_0x3077db(0x2fc)](_0x10004f){const _0x2aff9b=_0x3077db;if(this[_0x2aff9b(0x3ab)]['has'](_0x10004f)){const _0x378d5b=this[_0x2aff9b(0x3ab)][_0x2aff9b(0x28e)](_0x10004f);_0x378d5b&&window['clearTimeout'](_0x378d5b),this['_clearOtherTimers'][_0x2aff9b(0x37c)](_0x10004f,null);}}[_0x3077db(0x2e4)](_0x27ec6b){const _0x16f411=_0x3077db,{memberID:_0x454af3,unitIDs:_0x38e851}=_0x27ec6b;_0x38e851[_0x16f411(0x3ba)](_0x5f4756=>{const _0x553514=_0x16f411;var _0x243aba;const _0x5481b3=this['_unitOnClients'][_0x553514(0x28e)](_0x5f4756);_0x5481b3&&(_0x5481b3[_0x553514(0x228)](_0x454af3),(_0x243aba=this['_ensureSubject'](_0x5f4756))==null||_0x243aba['next'](_0x5481b3[_0x553514(0x2d8)]===0x0?_0x1305d7[_0x553514(0x367)]:_0x1305d7[_0x553514(0x35a)]));}),this[_0x16f411(0x2fc)](_0x454af3);}['_handleHeartbeatEvent'](_0x317c80){this['_scheduleClearOtherTimer'](_0x317c80['memberID']);}[_0x3077db(0x28b)](_0x342f82){const _0x3041d8=_0x3077db;localStorage[_0x3041d8(0x20f)](ot,JSON[_0x3041d8(0x222)](_0x342f82));}[_0x3077db(0x350)](){const _0x99d1b0=_0x3077db;this[_0x99d1b0(0x1fe)]=window[_0x99d1b0(0x230)](()=>{const _0x118f7f=_0x99d1b0;this[_0x118f7f(0x28b)]({'type':0x2,'memberID':this[_0x118f7f(0x373)]});},rt);}[_0x3077db(0x2c6)](_0x2f2420){const _0x194ede=_0x3077db;return this[_0x194ede(0x27b)][_0x194ede(0x319)](_0x2f2420)||this[_0x194ede(0x27b)][_0x194ede(0x37c)](_0x2f2420,new _0x5c912d(_0x1305d7[_0x194ede(0x367)])),this[_0x194ede(0x27b)][_0x194ede(0x28e)](_0x2f2420);}}var Ut=(_0x1b650c=>(_0x1b650c[_0x1b650c[_0x3077db(0x288)]=0x0]='UNDEFINED',_0x1b650c[_0x1b650c['OK']=0x1]='OK',_0x1b650c[_0x1b650c[_0x3077db(0x3c9)]=0x2]=_0x3077db(0x3c9),_0x1b650c[_0x1b650c[_0x3077db(0x316)]=0x3]=_0x3077db(0x316),_0x1b650c[_0x1b650c[_0x3077db(0x20c)]=0x4]=_0x3077db(0x20c),_0x1b650c[_0x1b650c[_0x3077db(0x32f)]=0x5]=_0x3077db(0x32f),_0x1b650c[_0x1b650c[_0x3077db(0x20e)]=0x6]=_0x3077db(0x20e),_0x1b650c[_0x1b650c[_0x3077db(0x32b)]=0x7]='INVALID_ARGUMENT',_0x1b650c[_0x1b650c[_0x3077db(0x3e6)]=0x8]=_0x3077db(0x3e6),_0x1b650c[_0x1b650c[_0x3077db(0x209)]=0x9]=_0x3077db(0x209),_0x1b650c[_0x1b650c[_0x3077db(0x38c)]=0xa]=_0x3077db(0x38c),_0x1b650c[_0x1b650c[_0x3077db(0x346)]=0x1389]=_0x3077db(0x346),_0x1b650c[_0x1b650c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3077db(0x327),_0x1b650c[_0x1b650c[_0x3077db(0x309)]=0x1772]=_0x3077db(0x309),_0x1b650c[_0x1b650c[_0x3077db(0x338)]=0x1773]=_0x3077db(0x338),_0x1b650c[_0x1b650c['APPLY_REJECT']=0x1b59]=_0x3077db(0x2f7),_0x1b650c[_0x1b650c[_0x3077db(0x261)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x1b650c[_0x1b650c['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3077db(0x30c),_0x1b650c[_0x1b650c[_0x3077db(0x3b2)]=0x1b5c]=_0x3077db(0x3b2),_0x1b650c[_0x1b650c['APPLY_DUPLICATED']=0x1b5d]=_0x3077db(0x2b6),_0x1b650c[_0x1b650c[_0x3077db(0x294)]=0x1f41]=_0x3077db(0x294),_0x1b650c[_0x1b650c['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3077db(0x271),_0x1b650c[_0x1b650c['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1b650c[_0x1b650c[_0x3077db(0x300)]=0x232b]=_0x3077db(0x300),_0x1b650c[_0x1b650c[_0x3077db(0x27c)]=0x232c]=_0x3077db(0x27c),_0x1b650c[_0x1b650c['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3077db(0x23a),_0x1b650c[_0x1b650c[_0x3077db(0x3ec)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1b650c[_0x1b650c[_0x3077db(0x349)]=0x2712]=_0x3077db(0x349),_0x1b650c[_0x1b650c[_0x3077db(0x2bd)]=0x2713]=_0x3077db(0x2bd),_0x1b650c[_0x1b650c['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x1b650c[_0x1b650c[_0x3077db(0x347)]=0x2af9]=_0x3077db(0x347),_0x1b650c[_0x1b650c[_0x3077db(0x216)]=0x2ee1]=_0x3077db(0x216),_0x1b650c[_0x1b650c[_0x3077db(0x385)]=0x2ee2]=_0x3077db(0x385),_0x1b650c[_0x1b650c['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3077db(0x2b9),_0x1b650c[_0x1b650c['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3077db(0x31f),_0x1b650c[_0x1b650c[_0x3077db(0x278)]=0x2ee5]=_0x3077db(0x278),_0x1b650c[_0x1b650c[_0x3077db(0x3a9)]=-0x1]='UNRECOGNIZED',_0x1b650c))(Ut||{}),Rn=Object[_0x3077db(0x3b8)],Dn=(_0x26362d,_0x3fbb8b,_0x289ce8,_0x13b22e)=>{const _0x1783e6=_0x3077db;for(var _0x2ff8db=_0x13b22e>0x1?void 0x0:_0x13b22e?Rn(_0x3fbb8b,_0x289ce8):_0x3fbb8b,_0x5b66d3=_0x26362d[_0x1783e6(0x357)]-0x1,_0x4fa7f5;_0x5b66d3>=0x0;_0x5b66d3--)(_0x4fa7f5=_0x26362d[_0x5b66d3])&&(_0x2ff8db=_0x4fa7f5(_0x2ff8db)||_0x2ff8db);return _0x2ff8db;},Te=(_0x5f3111,_0x193646)=>(_0x44be29,_0x24592f)=>_0x193646(_0x44be29,_0x24592f,_0x5f3111);let at=class extends _0x2f6711{constructor(_0x5951c7,_0x607955,_0x1ed072){const _0x5528a4=_0x3077db;super(),this[_0x5528a4(0x370)]=_0x5951c7,this[_0x5528a4(0x2a0)]=_0x607955,this[_0x5528a4(0x37d)]=_0x1ed072;}async[_0x3077db(0x1f3)](_0x53debe,_0x15e3e6,_0x5634e8,..._0x356dd0){const _0x5cff8f=_0x3077db;var _0x1ddeab,_0x20bae1,_0x5a70f0,_0x7160c3;const _0x4e92c6=this[_0x5cff8f(0x370)][_0x5cff8f(0x3f8)]();if(!_0x4e92c6)throw new Error(_0x5cff8f(0x200));const _0x316349=((_0x1ddeab=this['_configService'][_0x5cff8f(0x3f6)](_0x1733ae))!=null?_0x1ddeab:_0x2e10df)+'/'+_0x53debe+_0x5cff8f(0x240)+_0x15e3e6,_0x11719a=new URL(window[_0x5cff8f(0x295)][_0x5cff8f(0x268)]),_0x76dcc1={'scriptId':_0x53debe,'runId':(_0x20bae1=_0x11719a['searchParams'][_0x5cff8f(0x28e)]('runId'))!=null?_0x20bae1:'','function':_0x15e3e6,'unitId':_0x4e92c6[_0x5cff8f(0x3ea)](),'argsOfFunction':JSON['stringify'](_0x356dd0),'invokeId':(_0x5a70f0=_0x5634e8[_0x5cff8f(0x22e)])!=null?_0x5a70f0:'','executionId':(_0x7160c3=_0x5634e8[_0x5cff8f(0x32a)])!=null?_0x7160c3:''};try{const _0x30f827=await this[_0x5cff8f(0x2a0)][_0x5cff8f(0x399)](_0x316349,{'body':_0x76dcc1});return _0x30f827[_0x5cff8f(0x289)][_0x5cff8f(0x2d6)]&&_0x30f827[_0x5cff8f(0x289)][_0x5cff8f(0x2d6)][_0x5cff8f(0x29e)]!==Ut['OK']?_0x5cff8f(0x3f9):_0x30f827[_0x5cff8f(0x289)][_0x5cff8f(0x345)];}catch{return _0x5cff8f(0x3f9);}}};at=Dn([Te(0x0,_0x2c287e),Te(0x1,_0x5056af(_0x34640d)),Te(0x2,_0x5418e6)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};function _0x2588(){const _0xef9270=['onPointerMove$','_removeCollabCursors','loadUnit','MoveRangeCommandId','_messageService','top','_logService','black','mask','unit','displayName','83192lXaLpD','post','newValue','override','_localCacheService','_context','ONLINE','parse','source','storage','ranges','_imageIoService','unitId','RECT','_commandService','generateRandomId','flatMap','UNRECOGNIZED','removeParam','_clearOtherTimers','_cursor','_unitOnClients','RemoveRowCommandId','3585123BlGyzf','_uiPartsService','FromArray','APPLY_PERMISSION_DENIED','_getScale','SOCKET_FAILED_RETRY','_collabCursorState$','_transformUndoRedoStack','_sheetSkeletonManagerService','getOwnPropertyDescriptor','data','forEach','getCurrentSelections','_transformPreviousActiveRange','_init','_online','transformMutation','trim','onStarting','_assignedColors','_toggleOffline','_handleHeartbeatEvent','getCurrentRevOfUnit','replaceDocRanges','children','substring','INTERNAL_ERROR','activeSheet$','_transformService','_createSocketURL','_updateCollabCursors','_localStorageService','enableLocalCache','beginPath','random','asObservable','getParam','_notificationService','VIEW_MAIN','_revisionService','9361dgicxc','apply','getCurrentUnitForType','_univerInstanceService','clearInterval','getRenderById','_initCommandExecutedListener','name','_initDependencies','colorChannel1','_doCreateSocket','collab-text-range-','_anchor','_onCursorDelete','AWAITING','TOO_MANY_REQUESTS','endRow','actions','_getAnchorBounding','getUnitId','PENDING','YUUMI_UNABLE_LOAD_URL','selection','_cursorShapes','contains','_handleEvent','hasOwnProperty','urlChange$','wsSessionTicketUrl','_docTransformStateCacheService','fill','getConfig','InsertRangeMoveRightCommandId','getFocusedUnit','Failed','complete','collaboration.closeRoom','runOnServer','_cursors','CONFLICT','unitID','debug','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','addHandlerCallback','tag','string','none','column','_heartbeatTimer','application/json','[RemoteUniscriptService]:\x20no\x20focused\x20unit','requireSession','MUTATION','defIds','params','_status$','_initResize','roomMembers','unshift','COMPLETION_FINISHED','_labelPosition','getMemberID','NOT_FOUND','hovered','ALREADY_EXISTS','setItem','onlineStatusTitle','_syncEditingCollabCursorService','getUnhiddenWorksheets','_colorAssignService','setStateCache','undoState','INVITE_CODE_HAS_BEEN_UES','startsWith','_handleJoinEvent','updateOfflineData','#fff','transformRemoteChangeset','_updateLocalCursor','key','skeleton','disposeWithMe','eventID','triggerDblclick','stringify','_urlService','push','_docStateChangeManagerService','setConfig','0\x200\x2016\x2016','delete','registerRefRange','3757RHolcP','closePath','_collabCursorController','getActiveSheet','invokeId','entries','setInterval','icon','univer-online-status-icon','map','collab-rect-range-','red300','saveTaskMap','18348hsxquF','collaboration-client.offline-data-not-saved','dispose$','LICENSE_DISTRO_REJECTED','_draw','[CollaborationDataLoaderController]','find','arc','transformStateCache','/run/','entityInit$','mutations','_entities','pluginName','_getSaveTimeout','evenodd','isArray','_startSheetCollabCursor','row','add','measureText','_memberService','transformIMECache','width','dispose','JOIN_ROOM_FAILED','getValue','getRelativeToViewportCoord','_injector','restore','_selfUnitIDs','getSheetBySheetId','_cursorInfo$','replace','origin','addObject','_docTransformSelectionsService','_docTransformIMECacheService','getTypeOfUnitAdded$','collabStatus.syncing','OFFLINE','defs','APPLY_NON_SEQUENTIAL_REVISION','_dataLoaderService','_lastPointer','createInstance','toRgbString','_handleHover','event$','href','getActiveRange','_color','_startDocCollabCursor','offline','next','_setupSubUnitSync','currentTheme$','roomMembers$','LICENSE_MAX_UNITS_EXCEEDED','extend','collaboration-client-ui.config','registerComponent','saveOfflineData','getViewport','Error','INVITE_CODE_ALREADY_BOUND','_localeService','_drawTextRange','_unitStatus','LICENSE_EXPORT_SIZE_EXCEEDED','indexOf','UPDATE_CURSOR','syncEditingCollabCursor','getRangePointData','1em','sessionTicket','collaboration.single-unit.warning','_onCursorUpdate','_onRefRangeChange','history','_themeService','UNDEFINED','body','_collabSessionService','_send','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','toString','get','then','init','pipe','addObjects','collabStatus.notCollab','CONNECTOR_DATA_TOO_LARGE','location','startColumn','round','_docSyncEditingCollabCursorService','Unknown\x20user','symbol','collab-client.tooltip.reconnect','_disabled','Warning','code','#FFF','_httpService','drawWith','21YiEDoN','_drawRectRange','getCellPositionByOffset','range','url(#on-line-single_clip0_910_349)','UNIVER_DOC','onTransformChange$','path','_getMergeRange','collabStatus.synced','OnLineSingle','addEventListener','_initStatusListener','attrs','lineTo','_registerDependencies','0\x200\x2017\x2016','online','_initEvent','className','APPLY_DUPLICATED','fillStyle','gold400','INVITE_CODE_REQUIRED','split','_hover','M0\x200H16V16H0z','YUUMI_RATE_OVER_LIMIT','_saveTaskMap','onPointerLeave$','cursorInfo','show','_updateSubUnitFromURLParams','selections','_refreshCollabCursors','_beforeCloseService','_ensureSubject','startRow','popstate','off-line-single_clip0_910_343','_toggleOnline','_name','deepClone','saveImage','_backgroundColor','type','current','permission.title','setShapeProps','defineProperty','setAlpha','_hovered','error','getCollabCursors$','size','min','all','m1Prime','subscribeEvent','univer-online-status','max','findNodePositionByCharIndex','prototype','purple300','imageSourceType','isActive','_handleLeaveEvent','getItem','univer-flex\x20univer-items-center','svg','...','cursorInfo$','idSuffix','_getSheetObject','_document','sheetId','docStateChange$','getAncestorScale','assignAColorForMemberID','FETCH_MISS','_config','doc.mutation.rich-text-editing','propertyIsEnumerable','20vCHotS','NOT_COLLAB','APPLY_REJECT','_setupBeforeClosingHandler','currentColor','_hideTimer','ACTIVE_UNIT_EVENT_CHANNEL','_removeClearOtherTimer','SYNCED','session.connection-failed','setActiveRange','LICENSE_IMPORT_SIZE_EXCEEDED','_render','_transformHistoryAndStateStack','redoState','editingUnit','getSheetId','_scheduleSaving','subUnitId','_anchorDot','SNAPSHOT_HAS_BEEN_REMOVED','24ANDabC','_drawAnchor','APPLY_REVISION_CONFILICT','backgroundColor','function','collab-text-anchor-','use','onCommandExecuted','div','save','some','disableLocalCache','PERMISSION_DENIED','getUndoRedoMutationParamsCache','_entityInit$','has','getOwnPropertySymbols','values','_renderManagerService','transformSelections','registerRenderModule','USER_NOT_INVITED_CODE','_scheduleClearOtherTimer','collabCursorState$','DeleteRangeMoveUpCommandId','_docSkeletonManagerService','unsubscribe','univer-online','on-line-single_clip0_910_349','SNAPSHOT_INVALID_SNAPSHOT','labelPosition','_saveCache','executionId','INVALID_ARGUMENT','onPointerEnter$','getMergeData','onMouseMove','UNAUTHENTICATED','_roomMembers$','isEditing','univer-offline','getCurrent','includes','moveTo','setUndoRedoMutationParamsCache','with','ENSURE_SNAPSHOT_EXECUTION','whenReady','focused$','TEXT','clipPath','_scene','text','collabStatus.offline','send','_registerRenderDependencies','_session','univer-online-status-title','onRendered','result','CHANGESET_REVISION_CONFILICT','PY_RUNTIME_SCRIPT_ERROR','url(#$1','YUUMI_URL_COL_OUT_OF_RANGE','concat','_collaborationController','endColumn','getDocRanges','getUnitStatus$','textRanges','_scheduleHeartbeat','makeDirty','transformMutationsWithChangeset','setTimeout','_initEntityListener','ticket','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','length','onlineStatus','color','OTHER_CLIENTS_EDITING','subunit','CLOSE_ROOM','SOCKET_FAILED','_getSessionTicket','m2Prime','jiqing500','fillRule','assign','_shapes','executeCommand','on-line-single','fillText','NO_OTHER_CLIENTS_EDITING','disposeUnit','_initStatusComponent','sessionStatus$','from','_updateURLWithCurrentState','xlink:href','6blboUg','USERS_LEAVE','_instanceService','_textBubble','getStateCache','_id','transform','SUBMIT_CHANGESET_TIMEOUT','search','11094741YCFtRx','403745CKKWBg','_cachedData','getSkeleton','_range','set','_configService','registerBeforeClose','3170zyzIZV','transformByState','subscribe','searchParams','_colorIndex','hide','INVALID_INVITE_CODE','runId','collabStatus.fetchMiss','blue400','832578yYmAbP','getMember','UNIVER_SHEET','LOGIN_FAILED'];_0x2588=function(){return _0xef9270;};return _0x2588();}
1
+ const _0xcffedf=_0x12c7;(function(_0x3711a8,_0x233c98){const _0x362895=_0x12c7,_0x2237b9=_0x3711a8();while(!![]){try{const _0x3b960e=-parseInt(_0x362895(0x226))/0x1*(-parseInt(_0x362895(0x30e))/0x2)+-parseInt(_0x362895(0x1e9))/0x3+parseInt(_0x362895(0x395))/0x4+-parseInt(_0x362895(0x35e))/0x5*(-parseInt(_0x362895(0x328))/0x6)+parseInt(_0x362895(0x2cd))/0x7+-parseInt(_0x362895(0x33c))/0x8+-parseInt(_0x362895(0x2ce))/0x9;if(_0x3b960e===_0x233c98)break;else _0x2237b9['push'](_0x2237b9['shift']());}catch(_0x507563){_0x2237b9['push'](_0x2237b9['shift']());}}}(_0x2072,0x77765));var kt=Object[_0xcffedf(0x2b1)],Bt=(_0x157529,_0xe0a583,_0x166cd7)=>_0xe0a583 in _0x157529?kt(_0x157529,_0xe0a583,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x166cd7}):_0x157529[_0xe0a583]=_0x166cd7,h=(_0x361465,_0x554da3,_0x2c5dd3)=>Bt(_0x361465,typeof _0x554da3!=_0xcffedf(0x2f1)?_0x554da3+'':_0x554da3,_0x2c5dd3);import{MemberService as _0x2565e4,SessionStatus as _0x3af92a,CollaborationSessionService as _0x5f16f8,CollaborationStatus as _0x137632,CollaborationController as _0x832d1d,ILocalCacheService as _0x126658,CollaborationUIEventService as _0x7f3d0,CollaborationUIEventId as _0x9322c9,DataLoaderService as _0x1e714f,DocCollaborationEntity as _0x2d9bad,getLocalCacheKey as _0x34f8b4,LOCAL_CACHE_INTERVAL as _0x10b28c,LOCAL_CACHE_INTERVAL_KEY as _0x4715a3,UniverCollaborationClientPlugin as _0x57b005,CollaborationSocketService as _0x4dbbb9,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x470c49,DEFAULT_WS_SESSION_TICKET_URL as _0x2171c7,UnitStatus as _0x113adb,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5734b9,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x155a2d}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x338310,Disposable as _0xc24441,DOC_RANGE_TYPE as _0x4fe6e8,Inject as _0x695648,Injector as _0xf56663,IUniverInstanceService as _0x2eb697,ICommandService as _0x42a8e8,debounce as _0x1dac78,Rectangle as _0x221a3e,DisposableCollection as _0x20ab04,toDisposable as _0x331a4b,UniverInstanceType as _0x303793,Tools as _0x5a8d3d,COLORS as _0x37065d,ColorKit as _0x4aabd4,ThemeService as _0x354126,fromEventSubject as _0x164d9e,LocaleService as _0x3f07ff,createIdentifier as _0x3e6261,ILogService as _0x5ba7eb,Optional as _0x1e5a1d,Workbook as _0xdaef1e,CommandType as _0x373aa,IConfigService as _0x572b85,ILocalStorageService as _0x1a67f4,DependentOn as _0x5a4598,Plugin as _0x45285f,merge as _0x3607e9,registerDependencies as _0x494b98,mergeOverrideWithDependencies as _0xd21d36,touchDependencies as _0x1ef034,generateRandomId as _0x31de42}from'@univerjs/core';import{Shape as _0x3c2d29,Rect as _0x56d092,getColor as _0xb3434b,RegularPolygon as _0x23da66,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1bb768,Vector2 as _0x286b83,SHEET_VIEWPORT_KEY as _0x2f411e,IRenderManagerService as _0x30ea9d}from'@univerjs/engine-render';import{ISocketService as _0x10dbd8,WebSocketService as _0x18102c,HTTPService as _0x56ebd1}from'@univerjs/network';import{IDocClipboardService as _0x54e1a8,NodePositionConvertToCursor as _0x1399c2,NodePositionConvertToRectRange as _0x9071bc,TEXT_RANGE_LAYER_INDEX as _0x28b64b,SetDocZoomRatioOperation as _0x49f093,DocIMEInputManagerService as _0xac9c66,DocStateChangeManagerService as _0x53243c}from'@univerjs/docs-ui';import{IImageIoService as _0x12d19e}from'@univerjs/drawing';import{BehaviorSubject as _0x2d4022,debounceTime as _0x19e4fc,takeUntil as _0x57ae48,Subject as _0x4bb65e,filter as _0x113b47,switchMap as _0x41f1c9,merge as _0x18c199,combineLatest as _0x1f100e,of as _0x1ed1a0,fromEvent as _0x33a215,shareReplay as _0x5f0d6e,mapTo as _0x51b0df,distinctUntilChanged as _0x171feb}from'rxjs';import{SetTextSelectionsOperation as _0x55ae82,RichTextEditingMutation as _0x3c0bff,DocSelectionManagerService as _0x368efa,DocSkeletonManagerService as _0x1a9a71}from'@univerjs/docs';import{ITransformService as _0x220f1b,CollaborationEvent as _0x266eef,isTransformMutationFailure as _0x488cde,isTransformMutationsWithChangesetSuccess as _0x2f9375,RevisionService as _0x579428,ISnapshotServerService as _0x3ab12a}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x5cb000,serializeRangeWithSheet as _0x1dca4a}from'@univerjs/engine-formula';function _0x2072(){const _0x29f5c9=['skeleton','requireSession','_univerInstanceService','defineProperty','arc','getUnitId','_cursor','reconnect','div','search','_saveTaskMap','red300','saveTaskMap','substring','_entities','_cursorShapes','findNodePositionByCharIndex','_handleEvent','_docSkeleton','values','createInstance','_color','_initStatusListener','none','addObject','attrs','href','_startDocCollabCursor','_imageIoService','YUUMI_URL_COL_OUT_OF_RANGE','syncEditingCollabCursor','1224559vdvdqN','12688335HRGVse','restore','currentTheme$','type','sheetID','registerRenderModule','_onCursorUpdate','getOwnPropertyDescriptor','_syncEditingCollabCursorService','_configService','_doCreateSocket','getCollabEntity$','permission.title','_colorIndex','collab-client.tooltip.reconnect','_updateLocalCursor','hasOwnProperty','_beforeCloseService','session.collaboration-timeout','createSocket','TEXT','_assignedColors','getAncestorScale','invokeId','concat','current','ACTIVE_UNIT_EVENT_CHANNEL','_scene','xlink:href','textRanges','_transformHistoryAndStateStack','replaceState','asObservable','RemoveRowCommandId','collabCursorState$','symbol','jiqing500','error','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','APPLY_REVISION_CONFILICT','getConfig','onMouseMove','_roomMembers$','univerjs-icon\x20univerjs-icon-','_colorAssignService','transformRemoteChangeset','deepClone','exhaustSavingTask','_docStateChangeManagerService','InsertColCommandId','LICENSE_MAX_UNITS_EXCEEDED','setActiveRange','getOwnPropertySymbols','currentSkeleton$','_transformPreviousActiveRange','set','InsertRangeMoveDownCommandId','doc.mutation.rich-text-editing','_getAnchorBounding','APPLY_NON_SEQUENTIAL_REVISION','range','on-line-single_clip0_910_349','...','getCollabCursors$','571562EdmWXQ','_logService','_collabCursorState$','runId','_session','RECT','_handleHover','show','_heartbeatTimer','_docSkeletonManagerService','sheetId','delete','collabStatus.fetchMiss','propertyIsEnumerable','engine','_drawRectRange','round','_entityInit$','data','PENDING','addObjects','INVITE_CODE_REQUIRED','_docTransformStateCacheService','labelPosition','_localeService','_hover','2760LaskPl','_transformUndoRedoStack','resize','collabStatus.offline','eventID','cursorInfo$','m2Prime','_initEvent','MUTATION','collabStatus.conflict','stringify','_initCommandExecutedListener','dispose','CONNECTOR_DATA_TOO_LARGE','_docSyncEditingCollabCursorService','body','removeParam','_drawAnchor','LICENSE_IMPORT_SIZE_EXCEEDED','_disabled','450488LgiSJo','onlineStatus','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collaboration.closeRoom','executeCommand','onPointerEnter$','YUUMI_SUBSCRIPTION_NOT_FOUND','forEach','beginPath','OffLineSingle','trim','className','editingUnit','getSkeleton','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_range','whenReady','_renderManagerService','urlChange$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_drawTextRange','getActiveSheet','_context','column','getActiveRange','docStateChange$','_hideTimer','disposeUnit','undoState','hide','hovered','imageSourceType','roomMembers','storage','10530RFHcZX','icon','some','SNAPSHOT_INVALID_SNAPSHOT','code','post','mutations','call','collabStatus.notCollab','font','_updateCollabCursors','idSuffix','_instanceService','setStateCache','UNRECOGNIZED','svg','getCellPositionByOffset','_httpService','transformIMECache','_shapes','_status$','USERS_LEAVE','_unitStatus','pushState','find','INVITE_CODE_ALREADY_BOUND','DeleteRangeMoveUpCommandId','string','_sheetSkeletonManagerService','prototype','fillStyle','_ensureSubject','ticket','assign','wsSessionTicketUrl','getRangePointData','ENSURE_SNAPSHOT_EXECUTION','_getSessionTicket','fillText','setItem','key','_cursors','searchParams','_docTransformIMECacheService','entries','_draw','save','_name','indexOf','addClipboardHook','registerComponent','unshift','_selfUnitIDs','_messageService','addEventListener','63372CusCxQ','mask','Error','_initEntityListener','send','application/json','_localStorageService','url(#$1','m1Prime','OTHER_CLIENT_EDITING','setInterval','top','_commandService','Warning','SNAPSHOT_HAS_BEEN_REMOVED','unitId','unsubscribe','_cursorInfo$','_getSheetObject','AWAITING_WITH_PENDING','onTransformChange$','_docClipboardService','_memberService','replace','_online','_handleHeartbeatEvent','subUnitId','clipPath','Unknown\x20user','_dataLoaderService','UNDEFINED','_removeClearOtherTimer','override','_setupBeforeClosingHandler','registerRefRange','transformByState','0\x200\x2017\x2016','LOGIN_FAILED','size','_anchorDot','disableLocalCache','getTypeOfUnitAdded$','length','_anchor','_toggleOnline','LICENSE_EXPORT_SIZE_EXCEEDED','displayName','_labelPosition','redoState','uni.network.url-service','getValue','selections','executionId','INVALID_ARGUMENT','max','_updateSubUnitFromURLParams','getCurrentSelections','CLOSE_ROOM','tag','_cachedData','_lastPointer','_eventUnsubscribe','name','_collaborationController','source','function','PERMISSION_DENIED','getViewport','measureText','clearTimeout','session.will-retry','univer-online-status','_init','subscribe','rgba(255,\x20255,\x20255,\x200.01)','/run/','_startSheetCollabCursor','makeDirty','session.connection-failed','_initStatusComponent','fill','_docTransformSelectionsService','UNAUTHENTICATED','drawWith','setShapeProps','NOT_COLLAB','_removeCollabCursors','univer-online','_toggleOffline','184320BqMUOa','_hovered','subunit','APPLY_PERMISSION_DENIED','_handleJoinEvent','saveOfflineData','backgroundColor','_getScale','verdancy600','FromArray','HEADER_MENU','extend','clearInterval','_injector','text','newValue','[CollaborationDataLoaderController]','_revisionService','YUUMI_RATE_OVER_LIMIT','startsWith','onCommandExecuted','next','_registerDependencies','Failed','univer-flex\x20univer-items-center','map','collab-text-anchor-','currentColor','_config','origin','runOnServer','contains','onStarting','_unitOnClients','_themeService','min','getOffsetConfig','transformSelections','INVITE_CODE_HAS_BEEN_UES','_scheduleHeartbeat','_onCursorDelete','toRgbString','unload','_uiPartsService','_onRefRangeChange','_localCacheService','parse','_transformService','disposeWithMe','isEditing','get','getStateCache','from','replaceDocRanges','getUndoRedoMutationParamsCache','_refreshCollabCursors','PY_RUNTIME_SCRIPT_ERROR','loadUnit','getMemberID','COMPLETION_FINISHED','LICENSE_DISTRO_REJECTED','3gzasEx','getMember','_refRangeService','transformMutation','_id','width','_updateURLWithCurrentState','dispose$','onRendered','_getSaveTimeout','push','_clearOtherTimers','fillRule','SUBMIT_CHANGESET_TIMEOUT','has','defIds','JOIN_ROOM_FAILED','subscribeEvent','defs','debug','getSheetId','black','_textBubble','startColumn','_scheduleClearOtherTimer','OFFLINE','actions','getCurrentRevOfUnit','transform','UPDATE_CURSOR','getRenderById','pipe','event$','add','UNIVER_SHEET','CONFLICT','unitID','translate(.97)','ALREADY_EXISTS','ranges','#FFF','_urlService','generateRandomId','InsertRangeMoveRightCommandId','getTypeOfUnitDisposed$','setAlpha','transformMutationsWithChangeset','_registerRenderDependencies','off-line-single','_initResize','off-line-single_clip0_910_343','onlineStatusIcon','_backgroundColor','triggerDblclick','NOT_FOUND','blue400','use','init','transformStateCache','getParam','setUndoRedoMutationParamsCache','url(#on-line-single_clip0_910_349)','row','then','with','getFocusedUnit','SOCKET_FAILED','_scheduleSaving','_saveCache','addHandlerCallback','sessionTicket','bottom','gold400','_handleLeaveEvent','random','CHANGESET_REVISION_CONFILICT','evenodd','endColumn','flatMap','collabStatus.syncing','getRelativeToViewportCoord','_initDependencies','setConfig','_notificationService','#fff','lineTo','collaboration.single-unit.warning','path','apply','OnLineSingle','color','1em','complete','_collaborationUIEventService','all','enableLocalCache','_render','getVpScrollXYInfoByPosToVp','location','selection','INVALID_INVITE_CODE','UNIVER_DOC','TOO_MANY_REQUESTS','univer-online-status-icon','colorChannel1','assignAColorForMemberID','USER_NOT_INVITED_CODE','OTHER_CLIENTS_EDITING','children','toString','purple300','isArray','history','APPLY_REJECT','onLocalMutation','ONLINE','APPLY_DUPLICATED','M0\x200H16V16H0z','params','onPointerLeave$','getCurrent','_setupSubUnitSync','activeSheet$','cursorInfo','getSheetBySheetId','_send','_collabSessionService','NO_OTHER_CLIENTS_EDITING','roomMembers$','split','_collabCursorController','getUnitStatus$','sessionStatus$','height','YUUMI_UNABLE_LOAD_URL','startRow'];_0x2072=function(){return _0x29f5c9;};return _0x2072();}import{RefRangeService as _0x2dd86c,SetSelectionsOperation as _0x388df6,SheetsSelectionsService as _0x336669,EffectRefRangId as _0x1c31c2,handleIRemoveRow as _0x27e686,handleIRemoveCol as _0x50cdbc,handleMoveRange as _0x440022,handleInsertRow as _0x234468,handleInsertRangeMoveRight as _0x5d275b,handleInsertRangeMoveDown as _0x54e3e6,handleInsertCol as _0x20383d,handleDeleteRangeMoveUp as _0x15f4e1,handleDeleteRangeMoveLeft as _0x3f28df,runRefRangeMutations as _0x7775e0,SetWorksheetActivateCommand as _0x196a98}from'@univerjs/sheets';import{map as _0x3fb663,filter as _0x2b5352,throttleTime as _0x5a984a,takeUntil as _0x476ec8,switchMap as _0x58ce36}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3d0cf7,getCoordByCell as _0x5bfc73,getSheetObject as _0x50a38e}from'@univerjs/sheets-ui';import{jsx as _0x48955e,jsxs as _0x319213}from'react/jsx-runtime';import{useObservable as _0x4043f5,useDependency as _0x591ef1,IUIPartsService as _0x3ab811,BuiltInUIPart as _0x32b901,connectInjector as _0xd3d186,IBeforeCloseService as _0x25b1ff,IMessageService as _0x2b6d87,INotificationService as _0x15b647}from'@univerjs/ui';import{clsx as _0x1bbc21,Tooltip as _0x6abde0,MessageType as _0x1c39d7}from'@univerjs/design';import{forwardRef as _0x2f8f96,useRef as _0x592de7,createElement as _0x35062d,useCallback as _0x3e46bb}from'react';import{IRemoteInstanceService as _0x22f530}from'@univerjs/rpc';var li=Object[_0xcffedf(0x2d5)],hi=(_0x55aad5,_0x52804b,_0x5e7ded,_0x1f880d)=>{const _0x4d24d1=_0xcffedf;for(var _0x17fc43=_0x1f880d>0x1?void 0x0:_0x1f880d?li(_0x52804b,_0x5e7ded):_0x52804b,_0x2da9ee=_0x55aad5[_0x4d24d1(0x3bf)]-0x1,_0x2ee064;_0x2da9ee>=0x0;_0x2da9ee--)(_0x2ee064=_0x55aad5[_0x2da9ee])&&(_0x17fc43=_0x2ee064(_0x17fc43)||_0x17fc43);return _0x17fc43;},Qe=(_0x5a56c8,_0x15640b)=>(_0x4520f5,_0x3c4eb7)=>_0x15640b(_0x4520f5,_0x3c4eb7,_0x5a56c8);let Pe=class extends _0x338310{constructor(_0x38e265,_0x515a2b){const _0x4b2209=_0xcffedf;super(),this[_0x4b2209(0x3aa)]=_0x38e265,this[_0x4b2209(0x2ca)]=_0x515a2b,this['_init']();}[_0xcffedf(0x1d8)](){const _0x474dee=_0xcffedf,_0x2c674e=this;this['disposeWithMe'](this['_docClipboardService'][_0x474dee(0x38f)]({'onBeforePasteImage':async _0x4cb88d=>{const _0x3c8dd5=_0x474dee,_0x407527=await _0x2c674e[_0x3c8dd5(0x2ca)]['saveImage'](_0x4cb88d);return _0x407527?{'source':_0x407527[_0x3c8dd5(0x1d0)],'imageSourceType':_0x407527[_0x3c8dd5(0x35b)]}:null;}}));}};Pe=hi([Qe(0x0,_0x54e1a8),Qe(0x1,_0x12d19e)],Pe);const qe=[_0xcffedf(0x294),_0xcffedf(0x2f2),_0xcffedf(0x1f1),_0xcffedf(0x2b9),_0xcffedf(0x25d),_0xcffedf(0x26e)];class He extends _0xc24441{constructor(){const _0x2a88c7=_0xcffedf;super(...arguments),h(this,_0x2a88c7(0x2e3),new Map()),h(this,'_colorIndex',0x0);}[_0xcffedf(0x28f)](_0x156e8f){const _0x324647=_0xcffedf;if(this[_0x324647(0x2e3)][_0x324647(0x234)](_0x156e8f))return this[_0x324647(0x2e3)]['get'](_0x156e8f);const _0x6703b6=qe[this[_0x324647(0x2db)]];return this[_0x324647(0x2db)]=(this[_0x324647(0x2db)]+0x1)%qe[_0x324647(0x3bf)],this[_0x324647(0x2e3)][_0x324647(0x305)](_0x156e8f,_0x6703b6),_0x6703b6;}}function Dt(_0x41503d){const _0x557ed1=_0xcffedf;let _0x1619bd='';for(const _0x551c68 of _0x41503d){const {startOffset:_0x52fd93,endOffset:_0x2ca21c,isActive:_0x22517b,rangeType:_0x323b80,segmentId:_0x454f19,segmentPage:_0x1e182f}=_0x551c68;_0x1619bd[_0x557ed1(0x3bf)]&&(_0x1619bd+=','),_0x1619bd+=_0x52fd93+':'+_0x2ca21c+':'+(_0x22517b?'1':'0')+':'+_0x323b80+':'+_0x454f19+':'+_0x1e182f;}return _0x1619bd;}function _i(_0x1d3c0f){const _0x255032=_0xcffedf,_0x35f7fb=_0x1d3c0f['split'](','),_0x358194=[];for(const _0x19ef97 of _0x35f7fb){const [_0x407670,_0xdf94e9,_0x3c6d5b,_0x450e2e,_0x30b19c,_0x525237]=_0x19ef97[_0x255032(0x2a7)](':');_0x358194[_0x255032(0x230)]({'startOffset':Number(_0x407670),'endOffset':Number(_0xdf94e9),'collapsed':_0x407670===_0xdf94e9,'isActive':_0x3c6d5b==='1','rangeType':_0x450e2e===_0x4fe6e8[_0x255032(0x2e2)]?_0x4fe6e8[_0x255032(0x2e2)]:_0x4fe6e8[_0x255032(0x313)],'segmentId':typeof _0x30b19c==_0x255032(0x379)?String(_0x30b19c):'','segmentPage':Number(_0x525237!=null?_0x525237:-0x1)});}return _0x358194[_0x255032(0x360)](_0x54ba32=>_0x54ba32['isActive'])||(_0x358194[0x0]['isActive']=!0x0),_0x358194;}class je extends _0x338310{constructor(){const _0x2c4b1b=_0xcffedf;super(...arguments),h(this,_0x2c4b1b(0x310),new _0x2d4022(null)),h(this,_0x2c4b1b(0x2f0),this[_0x2c4b1b(0x310)][_0x2c4b1b(0x2ee)]());}[_0xcffedf(0x2cc)](_0x3183ec){const _0x53e139=_0xcffedf,{unitID:_0x457237,memberID:_0xe420b4,textRanges:_0x3b874b}=_0x3183ec,_0x48b0d7=Dt(_0x3b874b);if(_0x48b0d7==='')return;const _0x53dd87={'unitID':_0x457237,'memberID':_0xe420b4,'selection':_0x48b0d7};this[_0x53e139(0x310)][_0x53e139(0x1fe)](_0x53dd87);}}var ui=Object[_0xcffedf(0x2d5)],di=(_0x590c6a,_0x3a821f,_0x20d899,_0x513d3a)=>{const _0x1e3244=_0xcffedf;for(var _0x4e7b13=_0x513d3a>0x1?void 0x0:_0x513d3a?ui(_0x3a821f,_0x20d899):_0x3a821f,_0x5aeb57=_0x590c6a[_0x1e3244(0x3bf)]-0x1,_0x2aaae7;_0x5aeb57>=0x0;_0x5aeb57--)(_0x2aaae7=_0x590c6a[_0x5aeb57])&&(_0x4e7b13=_0x2aaae7(_0x4e7b13)||_0x4e7b13);return _0x4e7b13;},U=(_0x40367d,_0x5850cf)=>(_0x32d6ae,_0x29d600)=>_0x5850cf(_0x32d6ae,_0x29d600,_0x40367d);const fi=0x12c,Si=0x64;let Me=class extends _0x338310{constructor(_0xc54a82,_0x32294e,_0x14467a,_0x4f520e,_0x3a016e,_0x2a0d9f,_0x80a123,_0x18286f,_0x27b5bd){const _0x40e0af=_0xcffedf;super(),h(this,_0x40e0af(0x3ad),!0x1),h(this,'_init',!0x1),h(this,_0x40e0af(0x3a6),new _0x2d4022(new Map())),h(this,_0x40e0af(0x32d),this[_0x40e0af(0x3a6)]['asObservable']()),h(this,_0x40e0af(0x2f8),new _0x2d4022([])),h(this,_0x40e0af(0x2a6),this[_0x40e0af(0x2f8)][_0x40e0af(0x245)](_0x19e4fc(fi))),h(this,_0x40e0af(0x2dd),_0x1dac78(_0x1d55b9=>{const _0x2c98c6=_0x40e0af,_0x28ed06={'eventID':_0x266eef[_0x2c98c6(0x243)],'data':{'unitID':this[_0x2c98c6(0x24a)],'memberID':this[_0x2c98c6(0x312)][_0x2c98c6(0x223)](),'selection':Dt(_0x1d55b9)}};this[_0x2c98c6(0x312)][_0x2c98c6(0x399)](_0x28ed06,this[_0x2c98c6(0x24a)]);},Si)),(this[_0x40e0af(0x24a)]=_0xc54a82,this[_0x40e0af(0x312)]=_0x32294e,this[_0x40e0af(0x1f6)]=_0x14467a,this[_0x40e0af(0x2fa)]=_0x4f520e,this[_0x40e0af(0x3ab)]=_0x3a016e,this[_0x40e0af(0x2d6)]=_0x2a0d9f,this[_0x40e0af(0x218)]=_0x80a123,this['_univerInstanceService']=_0x18286f,this[_0x40e0af(0x3a1)]=_0x27b5bd);}get[_0xcffedf(0x2a1)](){const _0x30a47a=_0xcffedf;return this[_0x30a47a(0x3a6)][_0x30a47a(0x1c2)]();}get['roomMembers'](){const _0x237b2e=_0xcffedf;return this[_0x237b2e(0x2f8)][_0x237b2e(0x1c2)]();}[_0xcffedf(0x334)](){const _0x3a3b45=_0xcffedf;super[_0x3a3b45(0x334)](),this[_0x3a3b45(0x3a6)][_0x3a3b45(0x1fe)](new Map()),this[_0x3a3b45(0x3a6)][_0x3a3b45(0x282)](),this[_0x3a3b45(0x2f8)][_0x3a3b45(0x1fe)]([]),this[_0x3a3b45(0x2f8)][_0x3a3b45(0x282)]();}[_0xcffedf(0x25f)](){const _0x35ca9c=_0xcffedf;this[_0x35ca9c(0x1d8)]||(this[_0x35ca9c(0x1d8)]=!0x0,this[_0x35ca9c(0x312)]['sessionStatus$']['pipe'](_0x57ae48(this[_0x35ca9c(0x22d)]))['subscribe'](_0x35beab=>{const _0x22dd81=_0x35ca9c;_0x35beab===_0x3af92a['ONLINE']?this[_0x22dd81(0x3c1)]():this[_0x22dd81(0x1e8)]();}),this['_session'][_0x35ca9c(0x246)][_0x35ca9c(0x245)](_0x57ae48(this['dispose$']))[_0x35ca9c(0x1d9)](_0x224b80=>{const _0x5cd26e=_0x35ca9c,_0x3475f1=_0x224b80[_0x5cd26e(0x32c)];_0x3475f1===_0x266eef[_0x5cd26e(0x243)]&&this['_onCursorUpdate'](_0x224b80),_0x3475f1===_0x266eef[_0x5cd26e(0x373)]&&this[_0x5cd26e(0x211)](_0x224b80);}),this[_0x35ca9c(0x219)](this[_0x35ca9c(0x3a1)][_0x35ca9c(0x1fd)](_0x34f9bf=>{const _0x5cff9d=_0x35ca9c,_0x220cc3=_0x34f9bf[_0x5cff9d(0x29c)];_0x220cc3!=null&&this[_0x5cff9d(0x3ad)]&&_0x34f9bf['id']===_0x55ae82['id']&&_0x220cc3[_0x5cff9d(0x3a4)]===this[_0x5cff9d(0x24a)]&&_0x220cc3[_0x5cff9d(0x21a)]===!0x1&&_0x220cc3['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x220cc3[_0x5cff9d(0x24d)]);})),this[_0x35ca9c(0x2d6)][_0x35ca9c(0x2f0)][_0x35ca9c(0x245)](_0x57ae48(this[_0x35ca9c(0x22d)]))[_0x35ca9c(0x1d9)](_0x377eb3=>{const _0xeb7ee2=_0x35ca9c;if((_0x377eb3==null?void 0x0:_0x377eb3[_0xeb7ee2(0x24a)])!==this['unitID'])return;const _0x171dcd={'eventID':_0x266eef[_0xeb7ee2(0x243)],'data':_0x377eb3};this[_0xeb7ee2(0x2d4)](_0x171dcd);}),this['disposeWithMe'](this[_0x35ca9c(0x3a1)]['onCommandExecuted'](_0x3c44bf=>{const _0x4d281f=_0x35ca9c;if(_0x3c44bf['params']==null)return;const _0x265925=_0x3c44bf[_0x4d281f(0x29c)];if(_0x3c44bf['id']!==_0x3c0bff['id']||_0x265925[_0x4d281f(0x3a4)]!==this[_0x4d281f(0x24a)])return;const _0x46954b={'id':_0x4d281f(0x307),'params':_0x265925},_0x457479=this[_0x4d281f(0x2a1)];for(const [_0xfe4978,_0x4c5a65]of _0x457479){const _0x2d9216={'id':_0x4d281f(0x307),'params':{'unitId':this[_0x4d281f(0x24a)],'actions':null,'textRanges':_0x4c5a65[_0x4d281f(0x24d)]}},_0x57d43e=this[_0x4d281f(0x218)][_0x4d281f(0x229)](_0x46954b,_0x2d9216,!0x1);if(_0x488cde(_0x57d43e))throw _0x57d43e[_0x4d281f(0x2f3)];_0x457479[_0x4d281f(0x305)](_0xfe4978,{..._0x4c5a65,'ranges':_0x57d43e[_0x4d281f(0x32e)][_0x4d281f(0x29c)][_0x4d281f(0x2eb)]});}queueMicrotask(()=>{const _0x11f55b=_0x4d281f;this[_0x11f55b(0x3a6)][_0x11f55b(0x1fe)](_0x457479);});})));}[_0xcffedf(0x2d4)](_0x2579d3){const _0x4fa4eb=_0xcffedf;var _0x1443b6,_0x4d6541;const {memberID:_0x1fba08,selection:_0x5377ee}=_0x2579d3[_0x4fa4eb(0x320)],_0x1d4478=_i(_0x5377ee),_0x96674f=(_0x4d6541=(_0x1443b6=this[_0x4fa4eb(0x3ab)][_0x4fa4eb(0x227)](this[_0x4fa4eb(0x24a)],_0x1fba08))==null?void 0x0:_0x1443b6[_0x4fa4eb(0x1ce)])!=null?_0x4d6541:_0x4fa4eb(0x3b1),_0x2556bd={'color':this[_0x4fa4eb(0x2fa)][_0x4fa4eb(0x28f)](_0x1fba08),'name':_0x96674f,'ranges':_0x1d4478},_0x11284d=this['cursorInfo'];_0x11284d[_0x4fa4eb(0x305)](_0x1fba08,_0x2556bd),this[_0x4fa4eb(0x3a6)][_0x4fa4eb(0x1fe)](_0x11284d);}[_0xcffedf(0x211)](_0x293316){const _0x1e3682=_0xcffedf,{memberID:_0x2a70e2}=_0x293316[_0x1e3682(0x320)],_0x3608ae=this[_0x1e3682(0x2a1)];_0x3608ae['delete'](_0x2a70e2),this[_0x1e3682(0x3a6)]['next'](_0x3608ae);}[_0xcffedf(0x3c1)](){const _0x12639e=_0xcffedf;var _0x17c5fb;if(this['_online']=!0x0,((_0x17c5fb=this[_0x12639e(0x2b0)][_0x12639e(0x267)]())==null?void 0x0:_0x17c5fb['getUnitId']())!==this['unitID'])return;const _0x19c896=this['_injector'][_0x12639e(0x21b)](_0x368efa)['getDocRanges']();Array[_0x12639e(0x295)](_0x19c896)&&_0x19c896['length']>0x0&&this['_updateLocalCursor'](_0x19c896);}[_0xcffedf(0x1e8)](){const _0x2df5d2=_0xcffedf;this[_0x2df5d2(0x3ad)]=!0x1;}};Me=di([U(0x2,_0x695648(_0xf56663)),U(0x3,_0x695648(He)),U(0x4,_0x695648(_0x2565e4)),U(0x5,_0x695648(je)),U(0x6,_0x220f1b),U(0x7,_0x2eb697),U(0x8,_0x42a8e8)],Me);var mi=Object['getOwnPropertyDescriptor'],gi=(_0xd320ad,_0x372b74,_0xc11d3a,_0x318e81)=>{const _0x151d99=_0xcffedf;for(var _0x318208=_0x318e81>0x1?void 0x0:_0x318e81?mi(_0x372b74,_0xc11d3a):_0x372b74,_0x5a57c6=_0xd320ad[_0x151d99(0x3bf)]-0x1,_0x211dd1;_0x5a57c6>=0x0;_0x5a57c6--)(_0x211dd1=_0xd320ad[_0x5a57c6])&&(_0x318208=_0x211dd1(_0x318208)||_0x318208);return _0x318208;},x=(_0x5a0958,_0xb6c37e)=>(_0x522a07,_0x154a27)=>_0xb6c37e(_0x522a07,_0x154a27,_0x5a0958);const vi=0x12c,Ii=0x64,pi=()=>{let _0x4510a7=[],_0x39ca71=!0x1;return _0x491878=>{const _0x2c2b62=_0x12c7;_0x4510a7[_0x2c2b62(0x230)](_0x491878),_0x39ca71||(_0x39ca71=!0x0,setTimeout(()=>{const _0x1d044c=_0x2c2b62;_0x4510a7[_0x1d044c(0x343)](_0xa05675=>_0xa05675()),_0x4510a7=[],_0x39ca71=!0x1;}));};};let we=class extends _0x338310{constructor(_0x1b1e6f,_0x5c86c6,_0x207386,_0x3a1ade,_0x440197,_0x4fb7ce,_0x157e68,_0x5cf0d2){const _0x5a3f21=_0xcffedf;super(),h(this,_0x5a3f21(0x3ad),!0x1),h(this,_0x5a3f21(0x1d8),!0x1),h(this,'_cursorInfo$',new _0x2d4022(new Map())),h(this,_0x5a3f21(0x32d),this[_0x5a3f21(0x3a6)][_0x5a3f21(0x2ee)]()),h(this,'_roomMembers$',new _0x2d4022([])),h(this,'roomMembers$',this[_0x5a3f21(0x2f8)][_0x5a3f21(0x245)](_0x19e4fc(vi))),h(this,_0x5a3f21(0x2dd),_0x1dac78((_0x46ebbc,_0x4c51df)=>{const _0xc01fd4=_0x5a3f21,_0x1d0b98={'eventID':_0x266eef[_0xc01fd4(0x243)],'data':{'unitID':this[_0xc01fd4(0x24a)],'memberID':this['_session'][_0xc01fd4(0x223)](),'selection':_0x1dca4a(_0x46ebbc,_0x4c51df['range'])}};this[_0xc01fd4(0x312)][_0xc01fd4(0x399)](_0x1d0b98,this[_0xc01fd4(0x24a)]);},Ii)),(this[_0x5a3f21(0x24a)]=_0x1b1e6f,this[_0x5a3f21(0x312)]=_0x5c86c6,this[_0x5a3f21(0x1f6)]=_0x207386,this[_0x5a3f21(0x2fa)]=_0x3a1ade,this[_0x5a3f21(0x3ab)]=_0x440197,this[_0x5a3f21(0x2b0)]=_0x4fb7ce,this[_0x5a3f21(0x3a1)]=_0x157e68,this['_refRangeService']=_0x5cf0d2);}get[_0xcffedf(0x2a1)](){const _0x272d49=_0xcffedf;return this[_0x272d49(0x3a6)]['getValue']();}get[_0xcffedf(0x35c)](){const _0x4ed8d8=_0xcffedf;return this[_0x4ed8d8(0x2f8)]['getValue']();}[_0xcffedf(0x334)](){const _0x1d85c7=_0xcffedf;super[_0x1d85c7(0x334)](),this[_0x1d85c7(0x3a6)][_0x1d85c7(0x1fe)](new Map()),this[_0x1d85c7(0x3a6)]['complete'](),this[_0x1d85c7(0x2f8)][_0x1d85c7(0x1fe)]([]),this[_0x1d85c7(0x2f8)]['complete']();}[_0xcffedf(0x25f)](){const _0x55767c=_0xcffedf;this[_0x55767c(0x1d8)]||(this[_0x55767c(0x1d8)]=!0x0,this[_0x55767c(0x312)][_0x55767c(0x2aa)][_0x55767c(0x245)](_0x57ae48(this[_0x55767c(0x22d)]))[_0x55767c(0x1d9)](_0x3f6415=>{const _0x2f1515=_0x55767c;_0x3f6415===_0x3af92a[_0x2f1515(0x299)]?this[_0x2f1515(0x3c1)]():this[_0x2f1515(0x1e8)]();}),this[_0x55767c(0x312)][_0x55767c(0x246)][_0x55767c(0x245)](_0x57ae48(this[_0x55767c(0x22d)]))[_0x55767c(0x1d9)](_0x30c3ef=>{const _0xa6826c=_0x55767c,_0xfabffc=_0x30c3ef[_0xa6826c(0x32c)];_0xfabffc===_0x266eef['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x30c3ef),_0xfabffc===_0x266eef[_0xa6826c(0x373)]&&this[_0xa6826c(0x211)](_0x30c3ef);}),this['_onRefRangeChange'](),this[_0x55767c(0x219)](this['_commandService'][_0x55767c(0x1fd)](_0x31e08e=>{const _0x494451=_0x55767c;if(this['_online']&&_0x31e08e['id']===_0x388df6['id']&&_0x31e08e[_0x494451(0x29c)][_0x494451(0x3a4)]===this[_0x494451(0x24a)]){const _0x2f0912=_0x31e08e[_0x494451(0x29c)];this[_0x494451(0x2dd)](_0x2f0912[_0x494451(0x3af)],_0x2f0912[_0x494451(0x1c3)][0x0]);}})));}[_0xcffedf(0x2d4)](_0x294b5f){const _0x1aeaf5=_0xcffedf;var _0x415cf2,_0x1743d0;const {memberID:_0x3ccc82,selection:_0x529033}=_0x294b5f[_0x1aeaf5(0x320)],{sheetName:_0x372cd0,range:_0xf491c6}=_0x5cb000(_0x529033),_0xc826b0={'name':(_0x1743d0=(_0x415cf2=this[_0x1aeaf5(0x3ab)][_0x1aeaf5(0x227)](this[_0x1aeaf5(0x24a)],_0x3ccc82))==null?void 0x0:_0x415cf2[_0x1aeaf5(0x1ce)])!=null?_0x1743d0:_0x1aeaf5(0x3b1),'range':this['_getMergeRange'](_0x372cd0,_0xf491c6),'sheetID':_0x372cd0,'color':this['_colorAssignService'][_0x1aeaf5(0x28f)](_0x3ccc82),'selection':_0x529033},_0x3d4695=this[_0x1aeaf5(0x2a1)];_0x3d4695[_0x1aeaf5(0x305)](_0x3ccc82,_0xc826b0),this[_0x1aeaf5(0x3a6)]['next'](_0x3d4695);}[_0xcffedf(0x211)](_0x1a7f79){const _0x243612=_0xcffedf,{memberID:_0x1b7eef}=_0x1a7f79['data'],_0x5e2a14=this[_0x243612(0x2a1)];_0x5e2a14['delete'](_0x1b7eef),this[_0x243612(0x3a6)][_0x243612(0x1fe)](_0x5e2a14);}['_getMergeRange'](_0x4e8545,_0xb2050){const _0x1d441b=_0xcffedf;var _0x3631d2,_0x5550af;const _0x362191=(_0x5550af=(_0x3631d2=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x1d441b(0x24a)]))==null?void 0x0:_0x3631d2[_0x1d441b(0x2a2)](_0x4e8545))==null?void 0x0:_0x5550af['getMergeData']();return(_0x362191==null?void 0x0:_0x362191[_0x1d441b(0x376)](_0x4c804e=>_0x221a3e[_0x1d441b(0x208)](_0x4c804e,_0xb2050)))||_0xb2050;}[_0xcffedf(0x215)](){const _0x3a315c=_0xcffedf,_0x9197d6=new _0x20ab04(),_0x330cd1=pi(),_0x379ed5=()=>{const _0x1bb8a1=_0x12c7;_0x9197d6[_0x1bb8a1(0x334)]();const _0x1123ae=(_0x413c7d,_0x54fc6e,_0x1325d3,_0x586e01)=>{const _0x5a367e=_0x1bb8a1;let _0x5210bf=[];switch(_0x413c7d['id']){case _0x1c31c2['DeleteRangeMoveLeftCommandId']:{_0x5210bf=_0x3f28df(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x378)]:{_0x5210bf=_0x15f4e1(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x2ff)]:{_0x5210bf=_0x20383d(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x306)]:{_0x5210bf=_0x54e3e6(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x251)]:{_0x5210bf=_0x5d275b(_0x413c7d,_0x586e01);break;}case _0x1c31c2['InsertRowCommandId']:{_0x5210bf=_0x234468(_0x413c7d,_0x586e01);break;}case _0x1c31c2['MoveRangeCommandId']:{_0x5210bf=_0x440022(_0x413c7d,_0x586e01);break;}case _0x1c31c2['RemoveColCommandId']:{_0x5210bf=_0x50cdbc(_0x413c7d,_0x586e01);break;}case _0x1c31c2[_0x5a367e(0x2ef)]:{_0x5210bf=_0x27e686(_0x413c7d,_0x586e01);break;}}const _0x2828eb=_0x7775e0(_0x5210bf,_0x586e01),_0x1f68f8=this[_0x5a367e(0x2a1)][_0x5a367e(0x21b)](_0x54fc6e);if(_0x1f68f8&&_0x2828eb){const _0x37ab7b={..._0x1f68f8,'range':_0x2828eb};this[_0x5a367e(0x2a1)][_0x5a367e(0x305)](_0x54fc6e,_0x37ab7b),_0x330cd1(()=>{const _0x51b9c2=_0x5a367e,_0x5c881a=this[_0x51b9c2(0x228)][_0x51b9c2(0x3b7)](_0x2828eb,_0x475878=>(_0x5c881a[_0x51b9c2(0x334)](),_0x1123ae(_0x475878,_0x54fc6e,_0x1325d3,_0x2828eb)));_0x9197d6[_0x51b9c2(0x247)](_0x5c881a);});}return{'redos':[],'undos':[]};};this[_0x1bb8a1(0x2a1)][_0x1bb8a1(0x343)]((_0x7762b1,_0x90a0ba)=>{const _0x48f64a=_0x1bb8a1,{range:_0x444ce3,sheetID:_0x1a2ddc}=_0x7762b1,_0x278d65=this[_0x48f64a(0x228)]['registerRefRange'](_0x444ce3,_0x340627=>(_0x278d65['dispose'](),_0x1123ae(_0x340627,_0x90a0ba,_0x1a2ddc,_0x444ce3)));_0x9197d6[_0x48f64a(0x247)](_0x278d65);});};this['disposeWithMe'](_0x331a4b(this[_0x3a315c(0x3a6)][_0x3a315c(0x1d9)](()=>{_0x379ed5();})));}[_0xcffedf(0x3c1)](){const _0xecedb=_0xcffedf;var _0x3408c1,_0x244827;if(this[_0xecedb(0x3ad)]=!0x0,((_0x3408c1=this[_0xecedb(0x2b0)]['getFocusedUnit']())==null?void 0x0:_0x3408c1[_0xecedb(0x2b3)]())!==this[_0xecedb(0x24a)])return;const _0x342050=(_0x244827=this['_injector'][_0xecedb(0x21b)](_0x336669)[_0xecedb(0x1c8)]())==null?void 0x0:_0x244827[0x0],_0x265722=this[_0xecedb(0x2b0)]['getCurrentUnitForType'](_0x303793['UNIVER_SHEET'])[_0xecedb(0x351)]();_0x342050&&_0x265722&&this[_0xecedb(0x2dd)](_0x265722['getSheetId'](),_0x342050);}[_0xcffedf(0x1e8)](){const _0x4c30bf=_0xcffedf;this[_0x4c30bf(0x3ad)]=!0x1;}};we=gi([x(0x2,_0x695648(_0xf56663)),x(0x3,_0x695648(He)),x(0x4,_0x695648(_0x2565e4)),x(0x5,_0x2eb697),x(0x6,_0x42a8e8),x(0x7,_0x695648(_0x2dd86c))],we);var Ci=Object[_0xcffedf(0x2d5)],bi=(_0x3c1b87,_0x4a159c,_0x1b243b,_0x571d15)=>{const _0x4a39f0=_0xcffedf;for(var _0x521784=_0x571d15>0x1?void 0x0:_0x571d15?Ci(_0x4a159c,_0x1b243b):_0x4a159c,_0x3d82c8=_0x3c1b87[_0x4a39f0(0x3bf)]-0x1,_0x19d1ec;_0x3d82c8>=0x0;_0x3d82c8--)(_0x19d1ec=_0x3c1b87[_0x3d82c8])&&(_0x521784=_0x19d1ec(_0x521784)||_0x521784);return _0x521784;},me=(_0x4f0051,_0x4f0687)=>(_0x3d927f,_0x40b19d)=>_0x4f0687(_0x3d927f,_0x40b19d,_0x4f0051);let H=class extends _0x338310{constructor(_0x4bb5a8,_0x3eabea,_0x51076e){const _0x63060=_0xcffedf;super(),h(this,_0x63060(0x2bc),new Map()),h(this,_0x63060(0x31f),new _0x4bb65e()),(this['_univerInstanceService']=_0x4bb5a8,this[_0x63060(0x1f6)]=_0x3eabea,this[_0x63060(0x2a4)]=_0x51076e,this[_0x63060(0x1d8)]());}['dispose'](){const _0x4a1970=_0xcffedf;super[_0x4a1970(0x334)](),this[_0x4a1970(0x31f)]['complete'](),this[_0x4a1970(0x2bc)][_0x4a1970(0x343)](_0x3194a5=>_0x3194a5[_0x4a1970(0x334)]());}[_0xcffedf(0x30d)](_0x3521aa){const _0x32ce02=_0xcffedf;return this[_0x32ce02(0x2bc)][_0x32ce02(0x234)](_0x3521aa)?this[_0x32ce02(0x2bc)][_0x32ce02(0x21b)](_0x3521aa)[_0x32ce02(0x32d)]:this[_0x32ce02(0x31f)][_0x32ce02(0x245)](_0x113b47(_0x1e15ed=>_0x1e15ed[_0x32ce02(0x24a)]===_0x3521aa),_0x41f1c9(_0x274db1=>_0x274db1[_0x32ce02(0x32d)]));}[_0xcffedf(0x1d8)](){const _0x330889=_0xcffedf;this[_0x330889(0x2b0)]['getTypeOfUnitAdded$'](_0x303793[_0x330889(0x248)])[_0x330889(0x245)](_0x57ae48(this[_0x330889(0x22d)]))['subscribe'](async _0x4c63bb=>{const _0x5d8983=_0x330889,_0x3ede1e=_0x4c63bb[_0x5d8983(0x2b3)](),_0xcfe41c=await this[_0x5d8983(0x1dc)](_0x3ede1e);this[_0x5d8983(0x31f)][_0x5d8983(0x1fe)](_0xcfe41c),this[_0x5d8983(0x2bc)][_0x5d8983(0x305)](_0x3ede1e,_0xcfe41c);}),this[_0x330889(0x2b0)][_0x330889(0x3be)](_0x303793[_0x330889(0x28b)])[_0x330889(0x245)](_0x57ae48(this['dispose$']))[_0x330889(0x245)](_0x113b47(_0x2be3b1=>!_0x2be3b1['getUnitId']()[_0x330889(0x1fc)]('__')))[_0x330889(0x1d9)](async _0x4de5de=>{const _0x23d122=_0x330889,_0x2bc31d=_0x4de5de[_0x23d122(0x2b3)](),_0x3f1a75=await this[_0x23d122(0x2c9)](_0x2bc31d);this['_entityInit$']['next'](_0x3f1a75),this['_entities'][_0x23d122(0x305)](_0x2bc31d,_0x3f1a75);}),_0x18c199(this[_0x330889(0x2b0)][_0x330889(0x252)](_0x303793[_0x330889(0x28b)]),this[_0x330889(0x2b0)][_0x330889(0x252)](_0x303793[_0x330889(0x248)]))['pipe'](_0x57ae48(this['dispose$']))[_0x330889(0x1d9)](_0x1af441=>{const _0x24f216=_0x330889,_0x427ded=_0x1af441['getUnitId'](),_0x33f77b=this[_0x24f216(0x2bc)]['get'](_0x427ded);_0x33f77b&&(_0x33f77b[_0x24f216(0x334)](),this[_0x24f216(0x2bc)][_0x24f216(0x319)](_0x427ded));});}async[_0xcffedf(0x1dc)](_0x655557){const _0x38d35b=_0xcffedf,_0x33044b=await this[_0x38d35b(0x2a4)][_0x38d35b(0x2af)](_0x655557),_0xd5930c=this[_0x38d35b(0x1f6)][_0x38d35b(0x2c2)](we,_0x655557,_0x33044b);return _0xd5930c[_0x38d35b(0x25f)](),_0xd5930c;}async[_0xcffedf(0x2c9)](_0x4c583f){const _0xd4b4db=_0xcffedf,_0x2dbbbd=await this['_collabSessionService'][_0xd4b4db(0x2af)](_0x4c583f),_0x4fee77=this[_0xd4b4db(0x1f6)][_0xd4b4db(0x2c2)](Me,_0x4c583f,_0x2dbbbd);return _0x4fee77['init'](),_0x4fee77;}};H=bi([me(0x0,_0x2eb697),me(0x1,_0x695648(_0xf56663)),me(0x2,_0x695648(_0x5f16f8))],H);const te=0x14,et=0xc8,ge=0x4,Ei=0x5;function Oi(_0x240684,_0x41a050){const _0x3121c5=_0xcffedf;let {radius:_0x509eba,width:_0x109cb9,height:_0x49f5ff}=_0x41a050;_0x509eba=_0x509eba!=null?_0x509eba:0x0,_0x109cb9=_0x109cb9!=null?_0x109cb9:0x1e,_0x49f5ff=_0x49f5ff!=null?_0x49f5ff:0x1e;let _0x5a1a57=0x0,_0x1af3f9=0x0,_0x149b5f=0x0;_0x5a1a57=_0x1af3f9=_0x149b5f=Math[_0x3121c5(0x20c)](_0x509eba,_0x109cb9/0x2,_0x49f5ff/0x2),_0x240684[_0x3121c5(0x344)](),_0x240684['moveTo'](_0x5a1a57,0x0),_0x240684['lineTo'](_0x109cb9-_0x1af3f9,0x0),_0x240684['arc'](_0x109cb9-_0x1af3f9,_0x1af3f9,_0x1af3f9,Math['PI']*0x3/0x2,0x0,!0x1),_0x240684[_0x3121c5(0x27b)](_0x109cb9,_0x49f5ff-_0x149b5f),_0x240684['arc'](_0x109cb9-_0x149b5f,_0x49f5ff-_0x149b5f,_0x149b5f,0x0,Math['PI']/0x2,!0x1),_0x240684['lineTo'](0x0,_0x49f5ff),_0x240684[_0x3121c5(0x27b)](0x0,_0x5a1a57),_0x240684[_0x3121c5(0x2b2)](_0x5a1a57,_0x5a1a57,_0x5a1a57,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x240684['closePath'](),_0x41a050[_0x3121c5(0x1e0)]&&(_0x240684[_0x3121c5(0x38c)](),_0x240684[_0x3121c5(0x37c)]=_0x41a050[_0x3121c5(0x1e0)],_0x41a050[_0x3121c5(0x232)]===_0x3121c5(0x272)?_0x240684[_0x3121c5(0x1e0)](_0x3121c5(0x272)):_0x240684[_0x3121c5(0x1e0)](),_0x240684[_0x3121c5(0x2cf)]());}class ue extends _0x3c2d29{constructor(_0x39db34,_0x5c89c2){const _0x5947c6=_0xcffedf;super(_0x39db34,_0x5c89c2),h(this,_0x5947c6(0x280)),h(this,_0x5947c6(0x1f7)),(this['color']=_0x5c89c2==null?void 0x0:_0x5c89c2[_0x5947c6(0x280)],this['text']=_0x5c89c2==null?void 0x0:_0x5c89c2[_0x5947c6(0x1f7)]);}static[_0xcffedf(0x1e3)](_0x47fbd7,_0x5bedcb){const _0x5676e9=_0xcffedf,{text:_0x23395d,color:_0x41a975}=_0x5bedcb;_0x47fbd7[_0x5676e9(0x38c)](),_0x47fbd7[_0x5676e9(0x367)]=_0x5676e9(0x34a);const _0x3745c3=_0x47fbd7[_0x5676e9(0x1d4)](_0x23395d)[_0x5676e9(0x22b)],_0x2b36ce=Math['min'](_0x3745c3+0x2*ge,et);Oi(_0x47fbd7,{'height':te,'radius':0x4,'width':_0x2b36ce,'fill':_0x41a975}),_0x47fbd7[_0x5676e9(0x37c)]=_0x5676e9(0x24e);const _0x25cf9e=ge,_0x148c4a=te-Ei,_0xc9c9c=et-0x2*ge;if(_0x3745c3>_0xc9c9c){let _0x5f0343='',_0xd88f2c=0x0;for(const _0x3d8abc of _0x23395d){const _0x14887c=_0x47fbd7[_0x5676e9(0x1d4)](_0x3d8abc)['width'];if(_0xd88f2c+_0x14887c<=_0xc9c9c-_0x47fbd7[_0x5676e9(0x1d4)](_0x5676e9(0x30c))[_0x5676e9(0x22b)])_0x5f0343+=_0x3d8abc,_0xd88f2c+=_0x14887c;else{_0x5f0343+=_0x5676e9(0x30c);break;}}_0x47fbd7[_0x5676e9(0x384)](_0x5f0343,_0x25cf9e,_0x148c4a);}else _0x47fbd7['fillText'](_0x23395d,_0x25cf9e,_0x148c4a);_0x47fbd7[_0x5676e9(0x2cf)]();}[_0xcffedf(0x38b)](_0x3b45a2){const _0x156972=_0xcffedf;ue[_0x156972(0x1e3)](_0x3b45a2,this);}}const ve=_0xcffedf(0x203),Ti='collab-text-range-',Ri='collab-rect-range-',X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Pi=_0xcffedf(0x1da);class tt{constructor(_0x299879,_0x204d11,_0x22864f,_0x2caf6e){const _0x1d1fdb=_0xcffedf;h(this,_0x1d1fdb(0x371),[]),h(this,_0x1d1fdb(0x3c0),null),h(this,_0x1d1fdb(0x23c),null),h(this,_0x1d1fdb(0x3bc),null),h(this,_0x1d1fdb(0x356),null),h(this,_0x1d1fdb(0x1cd),null),(this[_0x1d1fdb(0x2b4)]=_0x299879,this[_0x1d1fdb(0x2e9)]=_0x204d11,this[_0x1d1fdb(0x2c0)]=_0x22864f,this['_document']=_0x2caf6e,this[_0x1d1fdb(0x286)]());}set[_0xcffedf(0x327)](_0x431e2b){const _0x1ba479=_0xcffedf;_0x431e2b?(this[_0x1ba479(0x3bc)]&&this['_anchorDot'][_0x1ba479(0x359)](),this[_0x1ba479(0x23c)]&&this[_0x1ba479(0x23c)][_0x1ba479(0x315)]()):(this[_0x1ba479(0x3bc)]&&this[_0x1ba479(0x3bc)]['show'](),this[_0x1ba479(0x23c)]&&this[_0x1ba479(0x23c)][_0x1ba479(0x359)]());}[_0xcffedf(0x334)](){const _0xe20b72=_0xcffedf;for(const _0x7bd22a of this['_shapes'])_0x7bd22a[_0xe20b72(0x334)]();this[_0xe20b72(0x23c)]&&this['_textBubble'][_0xe20b72(0x334)](),this[_0xe20b72(0x3bc)]&&this[_0xe20b72(0x3bc)][_0xe20b72(0x334)](),this[_0xe20b72(0x3c0)]&&this[_0xe20b72(0x3c0)][_0xe20b72(0x334)](),this[_0xe20b72(0x1cd)]&&this['_eventUnsubscribe']();}[_0xcffedf(0x286)](){const _0x3eb262=_0xcffedf;var _0x1d72e3;const {_docSkeleton:_0x229a71,_document:_0x5d39a}=this,{color:_0x4e6328,name:_0x63a733,ranges:_0x1aa17c}=this['_cursor'],_0x4b340b=_0x5d39a[_0x3eb262(0x20d)](),{docsLeft:_0x46a51e,docsTop:_0x4a1337}=_0x4b340b,_0xf8bad8=new _0x1399c2(_0x4b340b,_0x229a71);for(const {startOffset:_0x3eb0a7,endOffset:_0x54a7df,rangeType:_0x21e33c,segmentId:_0x58f4f8,segmentPage:_0x56dcd6,collapsed:_0x525fb2,isActive:_0x1b5ae5}of _0x1aa17c){const _0x79e995=_0x229a71['findNodePositionByCharIndex'](_0x3eb0a7,!0x0,_0x58f4f8,_0x56dcd6);let _0x3e5d5e=_0x229a71[_0x3eb262(0x2be)](_0x54a7df,!0x0,_0x58f4f8,_0x56dcd6);if(_0x3e5d5e==null&&(_0x3e5d5e=_0x229a71[_0x3eb262(0x2be)](_0x54a7df-0x1,!0x1,_0x58f4f8,_0x56dcd6)),_0x1b5ae5){const {contentBoxPointGroup:_0x314988}=_0xf8bad8[_0x3eb262(0x381)](_0x3e5d5e,_0x3e5d5e);if(_0x314988[_0x3eb262(0x3bf)]===0x0)continue;this[_0x3eb262(0x339)](_0x4e6328,_0x314988,_0x46a51e,_0x4a1337,_0x63a733),this[_0x3eb262(0x1cd)]=this[_0x3eb262(0x314)]();}if(_0x79e995&&_0x3e5d5e){if(_0x21e33c===_0x4fe6e8[_0x3eb262(0x313)]){const _0x3899c4=new _0x9071bc(_0x4b340b,_0x229a71),{pointGroup:_0x4ccab7}=(_0x1d72e3=_0x3899c4['getRangePointData'](_0x79e995,_0x3e5d5e))!=null?_0x1d72e3:{};if(_0x4ccab7==null||_0x4ccab7[_0x3eb262(0x3bf)]===0x0)continue;this[_0x3eb262(0x31d)](_0x4e6328,_0x4ccab7,_0x46a51e,_0x4a1337);}else{if(!_0x525fb2){const {borderBoxPointGroup:_0x1fdcba}=_0xf8bad8[_0x3eb262(0x381)](_0x79e995,_0x3e5d5e);if(_0x1fdcba['length']===0x0)continue;this[_0x3eb262(0x350)](_0x4e6328,_0x1fdcba,_0x46a51e,_0x4a1337);}}}}}[_0xcffedf(0x339)](_0x72d819,_0x99083e,_0x376ea3,_0x10e650,_0x4bfd9f){const _0x1637d5=_0xcffedf,_0xdb8a41=this[_0x1637d5(0x308)](_0x99083e),{left:_0x3a9ab2,top:_0x14c8b6,height:_0x4ea9b7}=_0xdb8a41,_0x830688=this[_0x1637d5(0x1f0)](),_0x2e0611=Ni/_0x830688,_0x5c3dff=new _0x56d092(ve+_0x5a8d3d[_0x1637d5(0x250)](X),{'left':_0x3a9ab2+_0x376ea3-_0x2e0611,'top':_0x14c8b6+_0x10e650,'height':_0x4ea9b7,'width':Di,'fill':_0x72d819||_0xb3434b(_0x37065d[_0x1637d5(0x23b)],0x0),'strokeWidth':_0x2e0611,'stroke':Pi,'evented':!0x0});this[_0x1637d5(0x3c0)]=_0x5c3dff,this[_0x1637d5(0x2e9)][_0x1637d5(0x2c6)](_0x5c3dff,_0x28b64b);const _0x32a783=new _0x56d092(ve+_0x5a8d3d[_0x1637d5(0x250)](X),{'left':_0x3a9ab2+_0x376ea3-_0x2e0611,'top':_0x14c8b6+_0x10e650-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x72d819||_0xb3434b(_0x37065d[_0x1637d5(0x23b)],0x0),'strokeWidth':0x0,'stroke':_0x72d819||_0xb3434b(_0x37065d[_0x1637d5(0x23b)],0x0),'evented':!0x1});this[_0x1637d5(0x3bc)]=_0x32a783,this[_0x1637d5(0x2e9)]['addObject'](_0x32a783,_0x28b64b);const _0x61f4c0=new ue(ve+_0x5a8d3d['generateRandomId'](X),{'left':_0x3a9ab2+_0x376ea3-_0x2e0611,'top':_0x14c8b6+_0x10e650-te,'text':_0x4bfd9f,'color':_0x72d819});this[_0x1637d5(0x23c)]=_0x61f4c0,this[_0x1637d5(0x2e9)][_0x1637d5(0x2c6)](_0x61f4c0,_0x28b64b),this[_0x1637d5(0x327)]=!0x1;}[_0xcffedf(0x314)](){const _0x4779b4=_0xcffedf,_0x2e3756=this['_anchor'][_0x4779b4(0x341)][_0x4779b4(0x237)](()=>{const _0x3d118c=_0x4779b4;this[_0x3d118c(0x327)]=!0x0;}),_0x5af0b3=this['_anchor']['onPointerLeave$'][_0x4779b4(0x237)](()=>{const _0xf56e2f=_0x4779b4;this[_0xf56e2f(0x356)]&&clearTimeout(this[_0xf56e2f(0x356)]),this['_hideTimer']=setTimeout(()=>{const _0xf8afef=_0xf56e2f;this[_0xf8afef(0x327)]=!0x1;},0x7d0);});return()=>{const _0x9623b2=_0x4779b4;_0x2e3756[_0x9623b2(0x3a5)](),_0x5af0b3['unsubscribe']();};}[_0xcffedf(0x350)](_0x2e9fbe,_0x184a24,_0x3a49f5,_0x6f0d8){const _0x124318=_0xcffedf,_0x449a36=new _0x4aabd4(_0x2e9fbe)[_0x124318(0x253)](0.2)[_0x124318(0x212)](),_0x32ddc3=new _0x23da66(Ti+_0x5a8d3d[_0x124318(0x250)](X),{'pointsGroup':_0x184a24,'fill':_0x449a36||_0xb3434b(_0x37065d[_0x124318(0x23b)],0.2),'left':_0x3a49f5,'top':_0x6f0d8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x124318(0x371)]['push'](_0x32ddc3),this['_scene'][_0x124318(0x2c6)](_0x32ddc3,_0x28b64b);}[_0xcffedf(0x31d)](_0x24cbeb,_0x2fdee2,_0x2ee0c1,_0x3c5866){const _0x50a60d=_0xcffedf,_0x2524f3=new _0x4aabd4(_0x24cbeb)[_0x50a60d(0x253)](0.2)['toRgbString'](),_0x1f0c77=new _0x23da66(Ri+_0x5a8d3d[_0x50a60d(0x250)](X),{'pointsGroup':_0x2fdee2,'fill':_0x2524f3||_0xb3434b(_0x37065d[_0x50a60d(0x23b)],0.2),'left':_0x2ee0c1,'top':_0x3c5866,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x50a60d(0x230)](_0x1f0c77),this['_scene'][_0x50a60d(0x2c6)](_0x1f0c77,_0x28b64b);}[_0xcffedf(0x308)](_0x193a63){const _0x1e42e9=_0x193a63[0x0],_0x2661c1=_0x1e42e9[0x0],_0x3124e0=_0x1e42e9[0x2],{x:_0x168249,y:_0x49172f}=_0x2661c1,{x:_0x400cc5,y:_0x10922a}=_0x3124e0;return{'left':_0x168249,'top':_0x49172f,'width':_0x400cc5-_0x168249,'height':_0x10922a-_0x49172f};}[_0xcffedf(0x1f0)](){const _0x58a279=_0xcffedf,{scaleX:_0x322e8c,scaleY:_0x3d2583}=this['_scene'][_0x58a279(0x2e4)]();return Math[_0x58a279(0x1c6)](_0x322e8c,_0x3d2583);}}var Mi=Object[_0xcffedf(0x2d5)],wi=(_0x37766d,_0x34b08f,_0x1c5416,_0x25ea18)=>{const _0x4afba2=_0xcffedf;for(var _0x52a02c=_0x25ea18>0x1?void 0x0:_0x25ea18?Mi(_0x34b08f,_0x1c5416):_0x34b08f,_0x1f9858=_0x37766d[_0x4afba2(0x3bf)]-0x1,_0x2cc7e7;_0x1f9858>=0x0;_0x1f9858--)(_0x2cc7e7=_0x37766d[_0x1f9858])&&(_0x52a02c=_0x2cc7e7(_0x52a02c)||_0x52a02c);return _0x52a02c;},Q=(_0x4b2482,_0x11c129)=>(_0x2bbddb,_0x4074cf)=>_0x11c129(_0x2bbddb,_0x4074cf,_0x4b2482);let Ue=class extends _0x338310{constructor(_0x28e14b,_0xd2a115,_0x4b0923,_0x1903aa,_0x81a0d){const _0x46e2a8=_0xcffedf;super(),h(this,_0x46e2a8(0x2bd),[]),h(this,'_cursors',[]),(this[_0x46e2a8(0x352)]=_0x28e14b,this[_0x46e2a8(0x317)]=_0xd2a115,this[_0x46e2a8(0x2a8)]=_0x4b0923,this[_0x46e2a8(0x3a1)]=_0x1903aa,this[_0x46e2a8(0x20b)]=_0x81a0d,this[_0x46e2a8(0x1d8)]());}[_0xcffedf(0x1d8)](){const _0x1f1f71=_0xcffedf,_0x1808d6=this[_0x1f1f71(0x352)][_0x1f1f71(0x3a4)],_0x36b126=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x1f100e([this[_0x1f1f71(0x2a8)][_0x1f1f71(0x30d)](_0x1808d6),this[_0x1f1f71(0x20b)][_0x1f1f71(0x2d0)]])['pipe'](_0x3fb663(([_0x1f1bd8,_0xd11409])=>({'skeleton':_0x36b126[_0x1f1f71(0x349)](),'cursors':[..._0x1f1bd8['values']()][_0x1f1f71(0x274)](_0x213dfb=>({..._0x213dfb,'color':_0xd11409[_0x213dfb[_0x1f1f71(0x280)]]}))})))[_0x1f1f71(0x1d9)](_0x2c0048=>{const _0x54ec10=_0x1f1f71;if(this['_removeCollabCursors'](),_0x2c0048){const {skeleton:_0x400553,cursors:_0x2f28d5}=_0x2c0048;this[_0x54ec10(0x368)](_0x400553,_0x2f28d5);}})),this[_0x1f1f71(0x257)](),this[_0x1f1f71(0x333)]();}[_0xcffedf(0x368)](_0x56a6f2,_0x40a8a6){const _0x106f8f=_0xcffedf,{scene:_0x30a5bf,mainComponent:_0x152eb8}=this['_context'],_0x405568=_0x40a8a6[_0x106f8f(0x202)](_0x5790e4=>new tt(_0x5790e4,_0x30a5bf,_0x56a6f2,_0x152eb8));this[_0x106f8f(0x2bd)]=_0x405568,this[_0x106f8f(0x387)]=_0x40a8a6;}[_0xcffedf(0x220)](){const _0x1ebdd7=_0xcffedf;this[_0x1ebdd7(0x1e6)]();const {scene:_0x24e3d3,mainComponent:_0x11dd5d}=this[_0x1ebdd7(0x352)],_0x5c4bac=this[_0x1ebdd7(0x317)][_0x1ebdd7(0x349)](),_0x4ed045=this[_0x1ebdd7(0x387)][_0x1ebdd7(0x202)](_0x26da31=>new tt(_0x26da31,_0x24e3d3,_0x5c4bac,_0x11dd5d));this[_0x1ebdd7(0x2bd)]=_0x4ed045;}['_removeCollabCursors'](){const _0x51f27c=_0xcffedf;this[_0x51f27c(0x2bd)][_0x51f27c(0x343)](_0x2c0f9d=>_0x2c0f9d['dispose']()),this[_0x51f27c(0x2bd)]=[];}[_0xcffedf(0x333)](){const _0x5f0cf0=_0xcffedf,_0x155923=[_0x49f093['id']];this[_0x5f0cf0(0x219)](this[_0x5f0cf0(0x3a1)][_0x5f0cf0(0x1fd)](_0x140155=>{const _0x268cae=_0x5f0cf0;_0x155923['includes'](_0x140155['id'])&&_0x140155[_0x268cae(0x29c)][_0x268cae(0x3a4)]===this[_0x268cae(0x352)][_0x268cae(0x3a4)]&&this[_0x268cae(0x220)]();}));}[_0xcffedf(0x257)](){const _0x23225f=_0xcffedf;this[_0x23225f(0x219)](_0x164d9e(this[_0x23225f(0x352)][_0x23225f(0x31c)][_0x23225f(0x3a9)])[_0x23225f(0x245)](_0x2b5352(_0x40653a=>_0x40653a['type']===_0x1bb768[_0x23225f(0x32a)]),_0x5a984a(0x10))['subscribe'](()=>{const _0x21c6c0=_0x23225f;this[_0x21c6c0(0x220)]();}));}};Ue=wi([Q(0x1,_0x695648(_0x1a9a71)),Q(0x2,_0x695648(H)),Q(0x3,_0x42a8e8),Q(0x4,_0x695648(_0x354126))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x3c2d29{constructor(_0x4cd038,_0x2d2e50){const _0x6adf6d=_0xcffedf;super(_0x4cd038,_0x2d2e50),h(this,_0x6adf6d(0x2c3)),h(this,_0x6adf6d(0x1ea),!0x1),h(this,_0x6adf6d(0x34b)),h(this,_0x6adf6d(0x38d),''),h(this,_0x6adf6d(0x3c4),_0x6adf6d(0x3a0)),h(this,_0x6adf6d(0x25a)),(_0x2d2e50&&this['setShapeProps'](_0x2d2e50),this[_0x6adf6d(0x341)][_0x6adf6d(0x237)](()=>this[_0x6adf6d(0x1e4)]({'hovered':!0x0})),this[_0x6adf6d(0x29d)][_0x6adf6d(0x237)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xcffedf(0x1e4)](_0x4ba4aa){const _0xb236ce=_0xcffedf;var _0x598293,_0x3c8fca,_0xdc66a0,_0x186c2d,_0x10f467,_0x351634;this[_0xb236ce(0x2c3)]=(_0x598293=_0x4ba4aa['color'])!=null?_0x598293:this[_0xb236ce(0x2c3)],this[_0xb236ce(0x1ea)]=(_0x3c8fca=_0x4ba4aa[_0xb236ce(0x35a)])!=null?_0x3c8fca:this[_0xb236ce(0x1ea)],this[_0xb236ce(0x34b)]=(_0xdc66a0=_0x4ba4aa[_0xb236ce(0x30a)])!=null?_0xdc66a0:this[_0xb236ce(0x34b)],this[_0xb236ce(0x38d)]=(_0x186c2d=_0x4ba4aa['name'])!=null?_0x186c2d:this[_0xb236ce(0x38d)],this[_0xb236ce(0x3c4)]=(_0x10f467=_0x4ba4aa[_0xb236ce(0x325)])!=null?_0x10f467:this[_0xb236ce(0x3c4)],this['_backgroundColor']=(_0x351634=_0x4ba4aa[_0xb236ce(0x1ef)])!=null?_0x351634:this[_0xb236ce(0x25a)],this[_0xb236ce(0x3b8)]({'width':_0x4ba4aa[_0xb236ce(0x22b)],'height':_0x4ba4aa['height']});}[_0xcffedf(0x2f7)](_0x1c8a38){const _0x500a44=_0xcffedf,{row:_0x1b7a10,column:_0x30c583}=_0x1c8a38;if(_0x1b7a10>=this[_0x500a44(0x34b)][_0x500a44(0x2ad)]&&_0x1b7a10<=this[_0x500a44(0x34b)]['endRow']&&_0x30c583>=this[_0x500a44(0x34b)][_0x500a44(0x23d)]&&_0x30c583<=this[_0x500a44(0x34b)][_0x500a44(0x273)]){this[_0x500a44(0x1e4)]({'hovered':!0x0});return;}this[_0x500a44(0x1e4)]({'hovered':!0x1});}[_0xcffedf(0x25b)](_0x5a30fe){return!0x1;}[_0xcffedf(0x38b)](_0x5c459f){const _0x1aff33=_0xcffedf;_0x56d092[_0x1aff33(0x1e3)](_0x5c459f,{'width':this[_0x1aff33(0x22b)],'height':this[_0x1aff33(0x2ab)],'strokeWidth':Li,'stroke':this[_0x1aff33(0x2c3)],'evented':!0x1,'fill':this[_0x1aff33(0x25a)]}),this[_0x1aff33(0x1ea)]&&(_0x5c459f[_0x1aff33(0x38c)](),_0x5c459f[_0x1aff33(0x242)](0x1,0x0,0x0,0x1,this[_0x1aff33(0x22b)],this[_0x1aff33(0x3c4)]===_0x1aff33(0x26d)?0x0:-0x14),ue[_0x1aff33(0x1e3)](_0x5c459f,{'text':this[_0x1aff33(0x38d)],'color':this[_0x1aff33(0x2c3)]}),_0x5c459f[_0x1aff33(0x2cf)]());}}var yi=Object['getOwnPropertyDescriptor'],$i=(_0x37174b,_0x3e8456,_0x30d2d,_0x680a79)=>{const _0x59690a=_0xcffedf;for(var _0x511775=_0x680a79>0x1?void 0x0:_0x680a79?yi(_0x3e8456,_0x30d2d):_0x3e8456,_0x3f6a61=_0x37174b[_0x59690a(0x3bf)]-0x1,_0x6570fd;_0x3f6a61>=0x0;_0x3f6a61--)(_0x6570fd=_0x37174b[_0x3f6a61])&&(_0x511775=_0x6570fd(_0x511775)||_0x511775);return _0x511775;},pe=(_0x1a2772,_0x413feb)=>(_0x4de59e,_0x40d855)=>_0x413feb(_0x4de59e,_0x40d855,_0x1a2772);const xi=0x1389;let Le=class extends _0x338310{constructor(_0x56155c,_0x460d71,_0x46ffc1,_0x4fe0ca){const _0x2bdd56=_0xcffedf;super(),h(this,_0x2bdd56(0x387),new Set()),h(this,'_lastPointer',null),(this[_0x2bdd56(0x352)]=_0x56155c,this[_0x2bdd56(0x37a)]=_0x460d71,this[_0x2bdd56(0x2a8)]=_0x46ffc1,this['_themeService']=_0x4fe0ca,this[_0x2bdd56(0x1d8)]());}[_0xcffedf(0x1d8)](){const _0x3ba0fe=_0xcffedf;this[_0x3ba0fe(0x37a)][_0x3ba0fe(0x303)][_0x3ba0fe(0x245)](_0x476ec8(this[_0x3ba0fe(0x22d)]),_0x58ce36(_0x8f269b=>{const _0x4dbe2e=_0x3ba0fe;if(_0x8f269b){const _0x361682=_0x8f269b[_0x4dbe2e(0x318)];return _0x1f100e(this['_collabCursorController'][_0x4dbe2e(0x30d)](this[_0x4dbe2e(0x352)]['unitId']),this[_0x4dbe2e(0x20b)][_0x4dbe2e(0x2d0)])[_0x4dbe2e(0x245)](_0x3fb663(([_0x4e9ee0,_0x4fb27e])=>{const _0x3a8885=_0x4dbe2e,_0xca5a16=new Map();return _0x4e9ee0[_0x3a8885(0x343)]((_0x18ba2b,_0x4d0fc4)=>{const _0x29ef14=_0x3a8885;if(_0x18ba2b[_0x29ef14(0x2d2)]===_0x361682){const _0x253481={..._0x18ba2b};_0x253481['color']=_0x4fb27e[_0x18ba2b[_0x29ef14(0x280)]],_0xca5a16[_0x29ef14(0x305)](_0x4d0fc4,_0x253481);}}),{'skeleton':_0x8f269b,'cursors':_0xca5a16};}));}return _0x1ed1a0({'skeleton':null,'cursors':new Map()});}))[_0x3ba0fe(0x1d9)](({skeleton:_0x465701,cursors:_0x1ba52a})=>{const _0x20bdc4=_0x3ba0fe;this['_removeCollabCursors'](),_0x465701&&this[_0x20bdc4(0x368)](_0x465701,_0x1ba52a);}),this[_0x3ba0fe(0x37a)][_0x3ba0fe(0x303)][_0x3ba0fe(0x1d9)](_0x48bd4f=>{const _0x54f334=_0x3ba0fe;if(_0x48bd4f==null)return;const {skeleton:_0x116acc}=_0x48bd4f,{scene:_0x5db2a5}=this[_0x54f334(0x352)];_0x5db2a5['onPointerMove$'][_0x54f334(0x237)](_0x1dac78(_0x362215=>{const _0x31660e=_0x54f334;var _0x42731e,_0x5d401f;const {offsetX:_0x333ef1,offsetY:_0x2606cd}=_0x362215,{x:_0x5da763,y:_0x1f94f7}=_0x5db2a5[_0x31660e(0x276)](_0x286b83[_0x31660e(0x1f2)]([_0x333ef1,_0x2606cd])),{scaleX:_0x4ce6d3,scaleY:_0xadfee}=_0x5db2a5[_0x31660e(0x2e4)](),_0x7d1c17=_0x5db2a5[_0x31660e(0x1d3)](_0x2f411e['VIEW_MAIN']),_0x2e4134=_0x5db2a5[_0x31660e(0x287)](_0x286b83[_0x31660e(0x1f2)]([_0x5da763,_0x1f94f7]),_0x7d1c17),_0x5d8b0f=_0x116acc[_0x31660e(0x36e)](_0x333ef1,_0x2606cd,_0x4ce6d3,_0xadfee,_0x2e4134);((_0x42731e=this['_lastPointer'])==null?void 0x0:_0x42731e['column'])===_0x5d8b0f[_0x31660e(0x353)]&&((_0x5d401f=this[_0x31660e(0x1cc)])==null?void 0x0:_0x5d401f[_0x31660e(0x264)])===_0x5d8b0f[_0x31660e(0x264)]||this[_0x31660e(0x387)]['forEach'](_0x33dce0=>{const _0x51c03d=_0x31660e;_0x33dce0[_0x51c03d(0x2f7)](_0x5d8b0f);});},0x64));});}['_updateCollabCursors'](_0x383164,_0x11c08c){const _0x5de133=_0xcffedf;var _0x44c75e;const _0x13c577=(_0x44c75e=this['_sheetSkeletonManagerService'][_0x5de133(0x29e)]())==null?void 0x0:_0x44c75e[_0x5de133(0x2ae)];if(!_0x13c577)return;const _0x29488b=this[_0x5de133(0x3a7)]();if(!_0x29488b)return;this[_0x5de133(0x387)][_0x5de133(0x343)](_0x4f222a=>{const _0x325f47=_0x5de133;_0x4f222a[_0x325f47(0x1dd)]();});const {scene:_0x223ebf}=_0x29488b,_0x44968d=ki(Array[_0x5de133(0x21d)](_0x11c08c['values']()))[_0x5de133(0x202)](_0xe480cd=>{const _0x3fbac1=_0x5de133,{color:_0x3cb260,range:_0x16c573,name:_0x4672b,selection:_0x55995f,sheetID:_0xe85af6}=_0xe480cd,{startColumn:_0x2ed94e,startRow:_0x5093af,endColumn:_0x52bc09,endRow:_0x440cc9}=_0x16c573,_0x2260b0=_0x5bfc73(_0x5093af,_0x2ed94e,_0x223ebf,_0x13c577),_0x2b659a=_0x5bfc73(_0x440cc9,_0x52bc09,_0x223ebf,_0x13c577),{columnHeaderHeightAndMarginTop:_0x17e898}=_0x13c577,{startX:_0x4ff54c,startY:_0x1267bc}=_0x2260b0,{endX:_0x5910a3,endY:_0x56ac2b}=_0x2b659a,_0x3ccdae=_0x5910a3-_0x4ff54c,_0x16c933=_0x56ac2b-_0x1267bc,_0x39a969={'labelPosition':_0x1267bc-_0x17e898>=te?_0x3fbac1(0x3a0):'bottom','sheetID':_0xe85af6,'range':_0x16c573,'color':_0x3cb260,'name':_0x4672b,'selection':_0x55995f,'left':_0x4ff54c,'top':_0x1267bc,'width':_0x3ccdae,'height':_0x16c933,'evented':!0x1,'zIndex':xi};return new Ai(_0x4672b,_0x39a969);});_0x223ebf[_0x5de133(0x322)](_0x44968d,Ui),this['_cursors']=new Set(_0x44968d);}[_0xcffedf(0x1e6)](){const _0x4c9c8d=_0xcffedf;var _0x555799;(_0x555799=this['_cursors'])==null||_0x555799[_0x4c9c8d(0x343)](_0x4de8a1=>_0x4de8a1[_0x4c9c8d(0x334)]());}[_0xcffedf(0x3a7)](){return _0x50a38e(this['_context']['unit'],this['_context']);}};Le=$i([pe(0x1,_0x695648(_0x3d0cf7)),pe(0x2,_0x695648(H)),pe(0x3,_0x695648(_0x354126))],Le);function ki(_0x69bae1){const _0x2aae10=_0xcffedf,_0x97d539=new Map();return _0x69bae1[_0x2aae10(0x343)](_0xcb8980=>{const _0x3640a4=_0x2aae10;if(_0x97d539[_0x3640a4(0x234)](_0xcb8980[_0x3640a4(0x289)])){const _0x167026=_0x97d539['get'](_0xcb8980[_0x3640a4(0x289)]);_0x167026['name']+=',\x20'+_0xcb8980[_0x3640a4(0x1ce)];}else _0x97d539[_0x3640a4(0x305)](_0xcb8980['selection'],_0xcb8980);}),Array['from'](_0x97d539[_0x2aae10(0x2c1)]());}var I=function(){const _0x27af90=_0xcffedf;return I=Object[_0x27af90(0x37f)]||function(_0x20b78e){const _0x43a3e2=_0x27af90;for(var _0x3f6332,_0x4bf667=0x1,_0x534e77=arguments['length'];_0x4bf667<_0x534e77;_0x4bf667++){_0x3f6332=arguments[_0x4bf667];for(var _0x379f1f in _0x3f6332)Object['prototype'][_0x43a3e2(0x2de)]['call'](_0x3f6332,_0x379f1f)&&(_0x20b78e[_0x379f1f]=_0x3f6332[_0x379f1f]);}return _0x20b78e;},I[_0x27af90(0x27e)](this,arguments);},Bi=function(_0x21ad00,_0x2b0ca2){const _0x5df179=_0xcffedf;var _0x392cb5={};for(var _0x5c99a0 in _0x21ad00)Object[_0x5df179(0x37b)][_0x5df179(0x2de)][_0x5df179(0x365)](_0x21ad00,_0x5c99a0)&&_0x2b0ca2[_0x5df179(0x38e)](_0x5c99a0)<0x0&&(_0x392cb5[_0x5c99a0]=_0x21ad00[_0x5c99a0]);if(_0x21ad00!=null&&typeof Object[_0x5df179(0x302)]==_0x5df179(0x1d1)){for(var _0x15a356=0x0,_0x5c99a0=Object[_0x5df179(0x302)](_0x21ad00);_0x15a356<_0x5c99a0[_0x5df179(0x3bf)];_0x15a356++)_0x2b0ca2[_0x5df179(0x38e)](_0x5c99a0[_0x15a356])<0x0&&Object[_0x5df179(0x37b)][_0x5df179(0x31b)][_0x5df179(0x365)](_0x21ad00,_0x5c99a0[_0x15a356])&&(_0x392cb5[_0x5c99a0[_0x15a356]]=_0x21ad00[_0x5c99a0[_0x15a356]]);}return _0x392cb5;},We=_0x2f8f96(function(_0xffad3d,_0x1f979e){const _0x3ee97f=_0xcffedf;var _0x481921=_0xffad3d[_0x3ee97f(0x35f)],_0x19b778=_0xffad3d['id'],_0xa0bc3e=_0xffad3d[_0x3ee97f(0x347)],_0x20ca58=_0xffad3d[_0x3ee97f(0x1f4)],_0x3cca26=Bi(_0xffad3d,[_0x3ee97f(0x35f),'id',_0x3ee97f(0x347),_0x3ee97f(0x1f4)]),_0x4d1071=_0x3ee97f(0x2f9)[_0x3ee97f(0x2e6)](_0x19b778,'\x20')[_0x3ee97f(0x2e6)](_0xa0bc3e||'')[_0x3ee97f(0x346)](),_0x117458=_0x592de7('_'[_0x3ee97f(0x2e6)](Wi()));return Nt(_0x481921,''[_0x3ee97f(0x2e6)](_0x19b778),{'defIds':_0x481921[_0x3ee97f(0x235)],'idSuffix':_0x117458[_0x3ee97f(0x2e7)]},I({'ref':_0x1f979e,'className':_0x4d1071},_0x3cca26),_0x20ca58);});function Nt(_0x3e25c3,_0x59318c,_0x503ab5,_0x5483c7,_0x2d00c3){const _0xee48cb=_0xcffedf;return _0x35062d(_0x3e25c3[_0xee48cb(0x1ca)],I(I({'key':_0x59318c},Hi(_0x3e25c3,_0x503ab5,_0x2d00c3)),_0x5483c7),(ji(_0x3e25c3,_0x503ab5)[_0xee48cb(0x292)]||[])[_0xee48cb(0x202)](function(_0xbcf3f1,_0x507fb4){const _0x109c00=_0xee48cb;return Nt(_0xbcf3f1,''['concat'](_0x59318c,'-')['concat'](_0x3e25c3[_0x109c00(0x1ca)],'-')['concat'](_0x507fb4),_0x503ab5,void 0x0,_0x2d00c3);}));}function Hi(_0x6c3a06,_0x39d805,_0x425fb5){const _0x48e46c=_0xcffedf;var _0x57e62b=I({},_0x6c3a06[_0x48e46c(0x2c7)]);_0x425fb5!=null&&_0x425fb5[_0x48e46c(0x28e)]&&_0x57e62b[_0x48e46c(0x1e0)]==='colorChannel1'&&(_0x57e62b[_0x48e46c(0x1e0)]=_0x425fb5[_0x48e46c(0x28e)]),_0x6c3a06['tag']==='mask'&&_0x57e62b['id']&&(_0x57e62b['id']=_0x57e62b['id']+_0x39d805[_0x48e46c(0x369)]),Object[_0x48e46c(0x38a)](_0x57e62b)[_0x48e46c(0x343)](function(_0x11ec0a){const _0x533a4a=_0x48e46c;var _0x2280c0=_0x11ec0a[0x0],_0x5455da=_0x11ec0a[0x1];_0x2280c0===_0x533a4a(0x396)&&typeof _0x5455da==_0x533a4a(0x379)&&(_0x57e62b[_0x2280c0]=_0x5455da[_0x533a4a(0x3ac)](/url\(#(.*)\)/,_0x533a4a(0x39c)['concat'](_0x39d805[_0x533a4a(0x369)],')')));});var _0x38a459=_0x39d805['defIds'];return!_0x38a459||_0x38a459[_0x48e46c(0x3bf)]===0x0||(_0x6c3a06[_0x48e46c(0x1ca)]===_0x48e46c(0x25e)&&_0x57e62b[_0x48e46c(0x2ea)]&&(_0x57e62b[_0x48e46c(0x2ea)]=_0x57e62b['xlink:href']+_0x39d805[_0x48e46c(0x369)]),Object[_0x48e46c(0x38a)](_0x57e62b)[_0x48e46c(0x343)](function(_0x20a708){const _0x485bce=_0x48e46c;var _0x19123c=_0x20a708[0x0],_0x94c6b3=_0x20a708[0x1];typeof _0x94c6b3==_0x485bce(0x379)&&(_0x57e62b[_0x19123c]=_0x94c6b3[_0x485bce(0x3ac)](/url\(#(.*)\)/,_0x485bce(0x39c)[_0x485bce(0x2e6)](_0x39d805[_0x485bce(0x369)],')')));})),_0x57e62b;}function ji(_0x57f9b4,_0x1eb69e){const _0x1d8987=_0xcffedf;var _0x2e4b62,_0x49407f=_0x1eb69e[_0x1d8987(0x235)];return!_0x49407f||_0x49407f[_0x1d8987(0x3bf)]===0x0?_0x57f9b4:_0x57f9b4['tag']==='defs'&&(!((_0x2e4b62=_0x57f9b4[_0x1d8987(0x292)])===null||_0x2e4b62===void 0x0)&&_0x2e4b62[_0x1d8987(0x3bf)])?I(I({},_0x57f9b4),{'children':_0x57f9b4[_0x1d8987(0x292)]['map'](function(_0x272a37){const _0x1510e4=_0x1d8987;return typeof _0x272a37[_0x1510e4(0x2c7)]['id']==_0x1510e4(0x379)&&_0x49407f&&_0x49407f['indexOf'](_0x272a37[_0x1510e4(0x2c7)]['id'])>-0x1?I(I({},_0x272a37),{'attrs':I(I({},_0x272a37['attrs']),{'id':_0x272a37[_0x1510e4(0x2c7)]['id']+_0x1eb69e[_0x1510e4(0x369)]})}):_0x272a37;})}):_0x57f9b4;}function Wi(){const _0x4ffacc=_0xcffedf;return Math[_0x4ffacc(0x270)]()[_0x4ffacc(0x293)](0x24)[_0x4ffacc(0x2bb)](0x2,0x8);}We['displayName']='UniverIcon';var Fi={'tag':_0xcffedf(0x36d),'attrs':{'fill':_0xcffedf(0x2c5),'viewBox':'0\x200\x2016\x2016','width':_0xcffedf(0x281),'height':_0xcffedf(0x281)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0xcffedf(0x27d),'attrs':{'stroke':_0xcffedf(0x204),'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':_0xcffedf(0x31e),'strokeLinejoin':_0xcffedf(0x31e),'strokeWidth':1.2}}]},{'tag':_0xcffedf(0x238),'attrs':{},'children':[{'tag':_0xcffedf(0x3b0),'attrs':{'id':_0xcffedf(0x258)},'children':[{'tag':'path','attrs':{'fill':_0xcffedf(0x27a),'d':_0xcffedf(0x29b)}}]}]}],'defIds':[_0xcffedf(0x258)]},Pt=_0x2f8f96(function(_0x4e9d0f,_0x21e15f){const _0x3b9a9a=_0xcffedf;return _0x35062d(We,Object[_0x3b9a9a(0x37f)]({},_0x4e9d0f,{'id':_0x3b9a9a(0x256),'ref':_0x21e15f,'icon':Fi}));});Pt[_0xcffedf(0x3c3)]=_0xcffedf(0x345);var Vi={'tag':_0xcffedf(0x36d),'attrs':{'fill':_0xcffedf(0x2c5),'viewBox':_0xcffedf(0x3b9),'width':_0xcffedf(0x281),'height':_0xcffedf(0x281)},'children':[{'tag':'g','attrs':{'clipPath':_0xcffedf(0x263)},'children':[{'tag':_0xcffedf(0x27d),'attrs':{'stroke':_0xcffedf(0x204),'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':_0xcffedf(0x31e),'strokeLinejoin':_0xcffedf(0x31e),'strokeWidth':1.2}}]},{'tag':_0xcffedf(0x238),'attrs':{},'children':[{'tag':_0xcffedf(0x3b0),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0xcffedf(0x27d),'attrs':{'fill':_0xcffedf(0x27a),'d':_0xcffedf(0x29b),'transform':_0xcffedf(0x24b)}}]}]}],'defIds':[_0xcffedf(0x30b)]},Mt=_0x2f8f96(function(_0x569473,_0x544023){const _0x618e9d=_0xcffedf;return _0x35062d(We,Object[_0x618e9d(0x37f)]({},_0x569473,{'id':'on-line-single','ref':_0x544023,'icon':Vi}));});Mt[_0xcffedf(0x3c3)]=_0xcffedf(0x27f);const Yi=_0xcffedf(0x28d),Xi='univer-online-status-title',Gi=_0xcffedf(0x1d7),Ki=_0xcffedf(0x1e7),zi='univer-offline',G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x1fa0ee){const _0x5ef146=_0xcffedf;switch(_0x1fa0ee){case _0x137632['OFFLINE']:return _0x5ef146(0x32b);case _0x137632[_0x5ef146(0x249)]:return _0x5ef146(0x331);case _0x137632['FETCH_MISS']:return _0x5ef146(0x31a);case _0x137632[_0x5ef146(0x1e5)]:return _0x5ef146(0x366);case _0x137632['AWAITING']:case _0x137632[_0x5ef146(0x3a8)]:return _0x5ef146(0x275);case _0x137632['SYNCED']:case _0x137632[_0x5ef146(0x321)]:return'collabStatus.synced';}}function Zi(_0x2b7e2c){const _0x594874=_0xcffedf,{status$:_0x313695}=_0x2b7e2c,_0x34849a=_0x4043f5(_0x313695,_0x137632[_0x594874(0x1e5)]),_0x52be14=_0x591ef1(_0x3f07ff),_0x4bdf8d=_0x591ef1(_0x5f16f8),_0x569594=_0x34849a!==_0x137632[_0x594874(0x23f)],_0x430bf5=_0x52be14['t'](Ji(_0x34849a)),_0x22cfac=_0x1bbc21(G[_0x594874(0x33d)],{[G['online']]:_0x569594,[G['offline']]:!_0x569594}),_0x23dfe9=_0x569594?_0x48955e(Mt,{}):_0x48955e(Pt,{}),_0x4cef71=_0x3e46bb(()=>{const _0x17590e=_0x594874;_0x569594||_0x4bdf8d[_0x17590e(0x2b5)]();},[_0x569594,_0x4bdf8d]);function _0x3047d1(){const _0x44a569=_0x594874;return _0x319213(_0x44a569(0x2b6),{'className':_0x1bbc21(_0x22cfac,_0x44a569(0x201)),'onClick':_0x4cef71,'children':[_0x48955e(_0x44a569(0x2b6),{'className':G[_0x44a569(0x259)],'children':_0x23dfe9}),_0x48955e(_0x44a569(0x2b6),{'className':G['onlineStatusTitle'],'children':_0x430bf5})]});}return _0x569594?_0x3047d1():_0x48955e(_0x6abde0,{'title':_0x52be14['t'](_0x594874(0x2dc)),'children':_0x3047d1()});}var Qi=Object[_0xcffedf(0x2d5)],qi=(_0x1d18aa,_0x3542f0,_0x43e252,_0x42068a)=>{for(var _0xe6edfd=_0x42068a>0x1?void 0x0:_0x42068a?Qi(_0x3542f0,_0x43e252):_0x3542f0,_0x32ad3e=_0x1d18aa['length']-0x1,_0x157981;_0x32ad3e>=0x0;_0x32ad3e--)(_0x157981=_0x1d18aa[_0x32ad3e])&&(_0xe6edfd=_0x157981(_0xe6edfd)||_0xe6edfd);return _0xe6edfd;},q=(_0x50aeb9,_0x295ae9)=>(_0x640dae,_0x44f9b7)=>_0x295ae9(_0x640dae,_0x44f9b7,_0x50aeb9);let se=class extends _0xc24441{constructor(_0x480e7d,_0x46c521,_0x421c7b,_0x2b6171){const _0x41308f=_0xcffedf;super(),h(this,_0x41308f(0x372),new _0x2d4022(_0x137632[_0x41308f(0x1e5)])),(this[_0x41308f(0x2b0)]=_0x480e7d,this[_0x41308f(0x1f6)]=_0x46c521,this[_0x41308f(0x1cf)]=_0x421c7b,this[_0x41308f(0x214)]=_0x2b6171,this[_0x41308f(0x1df)](),this[_0x41308f(0x2c4)]());}['_initStatusListener'](){const _0x5c7753=_0xcffedf;this['disposeWithMe'](this[_0x5c7753(0x2b0)]['focused$'][_0x5c7753(0x245)](_0x41f1c9(()=>{const _0x33a8c4=_0x5c7753,_0x16167b=this['_univerInstanceService']['getFocusedUnit']();return _0x16167b?this[_0x33a8c4(0x1cf)][_0x33a8c4(0x2d9)](_0x16167b[_0x33a8c4(0x2b3)]()):_0x1ed1a0(null);}),_0x41f1c9(_0x234e0e=>_0x234e0e?_0x234e0e['status$']:_0x1ed1a0(_0x137632[_0x5c7753(0x1e5)])))[_0x5c7753(0x1d9)](_0x1ad0cc=>{const _0xabe5dc=_0x5c7753;this[_0xabe5dc(0x372)][_0xabe5dc(0x1fe)](_0x1ad0cc);}));}[_0xcffedf(0x1df)](){const _0x475ccf=_0xcffedf;this[_0x475ccf(0x219)](this[_0x475ccf(0x214)][_0x475ccf(0x390)](_0x32b901[_0x475ccf(0x1f3)],()=>_0xd3d186(en({'status$':this[_0x475ccf(0x372)][_0x475ccf(0x2ee)]()}),this[_0x475ccf(0x1f6)])));}};se=qi([q(0x0,_0x2eb697),q(0x1,_0x695648(_0xf56663)),q(0x2,_0x695648(_0x832d1d)),q(0x3,_0x3ab811)],se);function en(_0x5884ca){const {status$:_0x58ef0f}=_0x5884ca;return function(){return _0x48955e(Zi,{'status$':_0x58ef0f});};}var tn=Object[_0xcffedf(0x2d5)],sn=(_0x1febda,_0x1d6f3f,_0x4278d5,_0x236097)=>{for(var _0x1e10ea=_0x236097>0x1?void 0x0:_0x236097?tn(_0x1d6f3f,_0x4278d5):_0x1d6f3f,_0x5bc233=_0x1febda['length']-0x1,_0x294c3d;_0x5bc233>=0x0;_0x5bc233--)(_0x294c3d=_0x1febda[_0x5bc233])&&(_0x1e10ea=_0x294c3d(_0x1e10ea)||_0x1e10ea);return _0x1e10ea;},k=(_0x62c381,_0x13af08)=>(_0x48a12a,_0x3ef874)=>_0x13af08(_0x48a12a,_0x3ef874,_0x62c381);let ie=class extends _0xc24441{constructor(_0x197ec6,_0xfd4344,_0x1b94bf,_0x2c83b2,_0x210215,_0x463a5a){const _0x2df4c6=_0xcffedf;super(),this['_beforeCloseService']=_0x197ec6,this[_0x2df4c6(0x216)]=_0xfd4344,this[_0x2df4c6(0x283)]=_0x1b94bf,this[_0x2df4c6(0x393)]=_0x2c83b2,this[_0x2df4c6(0x279)]=_0x210215,this[_0x2df4c6(0x326)]=_0x463a5a,this[_0x2df4c6(0x3b6)](),this[_0x2df4c6(0x32f)]();}[_0xcffedf(0x3b6)](){const _0x2f35ac=_0xcffedf;this['disposeWithMe'](this[_0x2f35ac(0x2df)]['registerBeforeClose'](()=>{const _0x5a8eaa=_0x2f35ac;if(this['_localCacheService']['saveTaskMap'][_0x5a8eaa(0x3bb)])return this[_0x5a8eaa(0x326)]['t']('collaboration-client.offline-data-not-saved');}));}[_0xcffedf(0x32f)](){const _0x2e3495=_0xcffedf;this['disposeWithMe'](this[_0x2e3495(0x283)]['event$'][_0x2e3495(0x1d9)](_0x4ffee5=>{const _0x531360=_0x2e3495;_0x4ffee5['id']===_0x9322c9[_0x531360(0x39e)]&&this['_messageService']['show']({'type':_0x1c39d7[_0x531360(0x3a2)],'content':this[_0x531360(0x326)]['t'](_0x531360(0x27c))}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x1c9)]&&this['_messageService'][_0x531360(0x315)]({'type':_0x1c39d7[_0x531360(0x3a2)],'content':this[_0x531360(0x326)]['t'](_0x531360(0x33f))}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x1d2)]&&this[_0x531360(0x279)][_0x531360(0x315)]({'title':this[_0x531360(0x326)]['t'](_0x531360(0x2da)),'content':this[_0x531360(0x326)]['t']('permission.content'),'type':'error','duration':0x0}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x249)]&&this[_0x531360(0x393)][_0x531360(0x315)]({'type':_0x1c39d7['Error'],'content':this[_0x531360(0x326)]['t'](_0x531360(0x33f))+'('+_0x4ffee5[_0x531360(0x320)]+')'}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x236)]&&this['_messageService'][_0x531360(0x315)]({'type':_0x1c39d7[_0x531360(0x3a2)],'content':this['_localeService']['t'](_0x4ffee5['data']||'')}),_0x4ffee5['id']===_0x9322c9['SOCKET_FAILED_RETRY']&&this[_0x531360(0x393)][_0x531360(0x315)]({'type':_0x1c39d7['Warning'],'content':this[_0x531360(0x326)]['t'](_0x531360(0x1d6))}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x268)]&&this['_messageService']['show']({'type':_0x1c39d7[_0x531360(0x397)],'content':this[_0x531360(0x326)]['t'](_0x531360(0x1de))}),_0x4ffee5['id']===_0x9322c9[_0x531360(0x233)]&&this[_0x531360(0x393)][_0x531360(0x315)]({'type':_0x1c39d7[_0x531360(0x397)],'content':this[_0x531360(0x326)]['t'](_0x531360(0x2e0))});}));}};ie=sn([k(0x0,_0x25b1ff),k(0x1,_0x126658),k(0x2,_0x695648(_0x7f3d0)),k(0x3,_0x2b6d87),k(0x4,_0x15b647),k(0x5,_0x695648(_0x3f07ff))],ie);const nn='collaboration-client-ui.config',st={},wt=_0x3e6261(_0xcffedf(0x1c1));var rn=Object[_0xcffedf(0x2d5)],on=(_0x35a309,_0x5bc458,_0x31275d,_0x1023b0)=>{const _0x5988a8=_0xcffedf;for(var _0x5b68bf=_0x1023b0>0x1?void 0x0:_0x1023b0?rn(_0x5bc458,_0x31275d):_0x5bc458,_0x3a17dd=_0x35a309[_0x5988a8(0x3bf)]-0x1,_0x498348;_0x3a17dd>=0x0;_0x3a17dd--)(_0x498348=_0x35a309[_0x3a17dd])&&(_0x5b68bf=_0x498348(_0x5b68bf)||_0x5b68bf);return _0x5b68bf;},K=(_0x30134b,_0x1fde4a)=>(_0x2b919d,_0x284707)=>_0x1fde4a(_0x2b919d,_0x284707,_0x30134b);let ne=class extends _0x338310{constructor(_0x599d2b,_0x46db19,_0x350ca6,_0x2bd273,_0x4cfb51){const _0x29ef47=_0xcffedf;super(),this[_0x29ef47(0x24f)]=_0x599d2b,this[_0x29ef47(0x30f)]=_0x46db19,this[_0x29ef47(0x3a1)]=_0x350ca6,this[_0x29ef47(0x3b2)]=_0x2bd273,_0x4cfb51?_0x4cfb51==null||_0x4cfb51[_0x29ef47(0x34c)]()['then'](()=>this[_0x29ef47(0x1d8)]()):(this[_0x29ef47(0x30f)][_0x29ef47(0x239)](_0x29ef47(0x1f9),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x29ef47(0x1d8)]());}async[_0xcffedf(0x1d8)](){const _0x4a659d=_0xcffedf,_0x156f71=this['_urlService'][_0x4a659d(0x261)]('unit'),_0x59fcd8=this['_urlService'][_0x4a659d(0x261)](_0x4a659d(0x2d1)),_0x436ae7=this[_0x4a659d(0x24f)][_0x4a659d(0x261)](_0x4a659d(0x1eb));if(!_0x156f71||!_0x59fcd8){this['_logService'][_0x4a659d(0x239)](_0x4a659d(0x1f9),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x48926f=await this[_0x4a659d(0x3b2)][_0x4a659d(0x222)](_0x156f71,Number(_0x59fcd8),_0x436ae7);_0x48926f&&_0x48926f instanceof _0xdaef1e&&this[_0x4a659d(0x29f)](_0x48926f);}async[_0xcffedf(0x29f)](_0x1ef0b0){const _0x3157a6=_0xcffedf;await this[_0x3157a6(0x1c7)](_0x1ef0b0),_0x1ef0b0[_0x3157a6(0x2a0)][_0x3157a6(0x245)](_0x57ae48(this[_0x3157a6(0x22d)]))[_0x3157a6(0x1d9)](_0x57951d=>{const _0x3e47bc=_0x3157a6;_0x57951d&&this[_0x3e47bc(0x22c)](_0x57951d);}),this[_0x3157a6(0x24f)][_0x3157a6(0x34e)][_0x3157a6(0x245)](_0x57ae48(this[_0x3157a6(0x22d)]))[_0x3157a6(0x1d9)](()=>this[_0x3157a6(0x1c7)](_0x1ef0b0));}[_0xcffedf(0x22c)](_0x2a4b8d,_0x468c83=!0x1){const _0x2c5636=_0xcffedf,_0x4c5f8c=this[_0x2c5636(0x24f)]['getParam']('subunit');_0x2a4b8d[_0x2c5636(0x23a)]()!==_0x4c5f8c&&this[_0x2c5636(0x24f)]['setParam'](_0x2c5636(0x1eb),_0x2a4b8d[_0x2c5636(0x23a)](),_0x468c83);}async[_0xcffedf(0x1c7)](_0x4400c5){const _0x51b0a5=_0xcffedf;var _0x439a88;const _0x484420=this[_0x51b0a5(0x24f)][_0x51b0a5(0x261)](_0x51b0a5(0x1eb));if(!_0x484420||!_0x4400c5['getSheetBySheetId'](_0x484420)){const _0x378865=_0x4400c5['getUnhiddenWorksheets']()[0x0],_0x4b4239=_0x4400c5['getSheetBySheetId'](_0x378865);if(!_0x4b4239)return;this[_0x51b0a5(0x22c)](_0x4b4239,!0x0),await this[_0x51b0a5(0x3a1)][_0x51b0a5(0x340)](_0x196a98['id'],{'unitId':_0x4400c5[_0x51b0a5(0x2b3)](),'subUnitId':_0x378865});return;}((_0x439a88=_0x4400c5[_0x51b0a5(0x351)]())==null?void 0x0:_0x439a88[_0x51b0a5(0x23a)]())!==_0x484420&&await this['_commandService'][_0x51b0a5(0x340)](_0x196a98['id'],{'unitId':_0x4400c5[_0x51b0a5(0x2b3)](),'subUnitId':_0x484420});}};ne=on([K(0x0,wt),K(0x1,_0x5ba7eb),K(0x2,_0x42a8e8),K(0x3,_0x695648(_0x1e714f)),K(0x4,_0x1e5a1d(_0x22f530))],ne);function _0x12c7(_0x1022cb,_0x38cb4b){const _0x2072f3=_0x2072();return _0x12c7=function(_0x12c786,_0x5e7107){_0x12c786=_0x12c786-0x1c0;let _0x50bf41=_0x2072f3[_0x12c786];return _0x50bf41;},_0x12c7(_0x1022cb,_0x38cb4b);}var an=Object[_0xcffedf(0x2d5)],cn=(_0x34751c,_0xbed55d,_0xe22823,_0x2cc889)=>{for(var _0x57ba3c=_0x2cc889>0x1?void 0x0:_0x2cc889?an(_0xbed55d,_0xe22823):_0xbed55d,_0x29296a=_0x34751c['length']-0x1,_0x2f717e;_0x29296a>=0x0;_0x29296a--)(_0x2f717e=_0x34751c[_0x29296a])&&(_0x57ba3c=_0x2f717e(_0x57ba3c)||_0x57ba3c);return _0x57ba3c;},Ce=(_0x5e306f,_0x207c4e)=>(_0x2434d9,_0x64fb7f)=>_0x207c4e(_0x2434d9,_0x64fb7f,_0x5e306f);let re=class{constructor(_0x41ec67,_0x338a64,_0x381307){const _0x595225=_0xcffedf;this[_0x595225(0x1f6)]=_0x41ec67,this[_0x595225(0x218)]=_0x338a64,this[_0x595225(0x34d)]=_0x381307;}['transformIMECache'](_0x528d56){const _0x1e4560=_0xcffedf;this[_0x1e4560(0x329)](_0x528d56),this[_0x1e4560(0x304)](_0x528d56);}[_0xcffedf(0x2fb)](_0x525dbb){const _0xc10ef5=_0xcffedf,{unitID:_0x3d3204}=_0x525dbb,_0x62fbd0=this[_0xc10ef5(0x34d)][_0xc10ef5(0x244)](_0x3d3204)[_0xc10ef5(0x266)](_0xac9c66),{redoCache:_0x522159}=_0x62fbd0[_0xc10ef5(0x21f)]();if(_0x522159[_0xc10ef5(0x3bf)]===0x0)return _0x525dbb;let _0x56d698=_0x5a8d3d[_0xc10ef5(0x2fc)](_0x525dbb[_0xc10ef5(0x364)][0x0]);for(let _0x1e49d6=0x0;_0x1e49d6<_0x522159[_0xc10ef5(0x3bf)];_0x1e49d6++){const _0x4b2e45={'id':_0xc10ef5(0x307),'params':{..._0x522159[_0x1e49d6]}},_0x174afe=this['_transformService']['transformMutation'](_0x56d698,_0x4b2e45,!0x1);if(_0x488cde(_0x174afe))throw _0x174afe[_0xc10ef5(0x2f3)];_0x56d698=_0x174afe[_0xc10ef5(0x39d)];}return{..._0x5a8d3d['deepClone'](_0x525dbb),'mutations':[_0x56d698]};}[_0xcffedf(0x329)](_0x169220){const _0x5b4922=_0xcffedf,{unitID:_0x7590b4}=_0x169220,_0x45bf96=this['_renderManagerService'][_0x5b4922(0x244)](_0x7590b4)[_0x5b4922(0x266)](_0xac9c66),{undoCache:_0x56fbf5,redoCache:_0x4a4a28}=_0x45bf96[_0x5b4922(0x21f)]();if(_0x56fbf5[_0x5b4922(0x3bf)]===0x0||_0x4a4a28[_0x5b4922(0x3bf)]===0x0)return;const _0x408491=[],_0xc975c4=[];let _0x4b15e3=_0x5a8d3d[_0x5b4922(0x2fc)](_0x169220['mutations'][0x0]),_0x170f3e=_0x5a8d3d[_0x5b4922(0x2fc)](_0x169220[_0x5b4922(0x364)][0x0]);for(let _0x30c2a4=_0x56fbf5[_0x5b4922(0x3bf)]-0x1;_0x30c2a4>=0x0;_0x30c2a4--){const _0x2e27cd={'id':'doc.mutation.rich-text-editing','params':{..._0x56fbf5[_0x30c2a4]}},_0x1e77fe={'id':_0x5b4922(0x307),'params':{..._0x4a4a28[_0x30c2a4]}},_0x5ab208=this['_transformService'][_0x5b4922(0x229)](_0x4b15e3,_0x2e27cd,!0x1),_0x341ebb=this[_0x5b4922(0x218)]['transformMutation'](_0x170f3e,_0x1e77fe,!0x1);if(_0x488cde(_0x5ab208))throw _0x5ab208[_0x5b4922(0x2f3)];if(_0x488cde(_0x341ebb))throw _0x341ebb['error'];_0x408491[_0x5b4922(0x391)](_0x5ab208[_0x5b4922(0x32e)][_0x5b4922(0x29c)]),_0xc975c4[_0x5b4922(0x391)](_0x341ebb[_0x5b4922(0x32e)]['params']),_0x4b15e3=_0x5ab208[_0x5b4922(0x39d)],_0x170f3e=_0x341ebb['m1Prime'];}_0x45bf96[_0x5b4922(0x262)]({'undoCache':_0x408491,'redoCache':_0xc975c4});}[_0xcffedf(0x304)](_0x344038){const _0x42d215=_0xcffedf,{unitID:_0x3a65c9}=_0x344038,_0x5e1bfe=this[_0x42d215(0x34d)][_0x42d215(0x244)](_0x3a65c9)[_0x42d215(0x266)](_0xac9c66),_0x223ffd=_0x5e1bfe[_0x42d215(0x354)]();if(_0x223ffd==null)return;const _0x2f3612=[{'id':_0x42d215(0x307),'params':{'unitId':_0x344038[_0x42d215(0x24a)],'actions':null,'textRanges':[_0x223ffd]}}],_0x2759bf=this[_0x42d215(0x218)]['transformMutationsWithChangeset'](_0x344038,_0x2f3612);if(!_0x2f9375(_0x2759bf))throw _0x2759bf['error'];const _0x1538d5=_0x2759bf[_0x42d215(0x32e)][0x0][_0x42d215(0x29c)]['textRanges'];Array[_0x42d215(0x295)](_0x1538d5)&&_0x1538d5[_0x42d215(0x3bf)]&&_0x5e1bfe[_0x42d215(0x301)](_0x1538d5[0x0]);}};re=cn([Ce(0x0,_0x695648(_0xf56663)),Ce(0x1,_0x220f1b),Ce(0x2,_0x30ea9d)],re);var ln=Object[_0xcffedf(0x2d5)],hn=(_0x3e1e96,_0x2a7630,_0xa3c0ec,_0x548180)=>{const _0x240eed=_0xcffedf;for(var _0x5d63ca=_0x548180>0x1?void 0x0:_0x548180?ln(_0x2a7630,_0xa3c0ec):_0x2a7630,_0x2882b8=_0x3e1e96[_0x240eed(0x3bf)]-0x1,_0x4da978;_0x2882b8>=0x0;_0x2882b8--)(_0x4da978=_0x3e1e96[_0x2882b8])&&(_0x5d63ca=_0x4da978(_0x5d63ca)||_0x5d63ca);return _0x5d63ca;},be=(_0x1c459a,_0x33b289)=>(_0x2cc6ad,_0x4edc45)=>_0x33b289(_0x2cc6ad,_0x4edc45,_0x1c459a);let oe=class{constructor(_0x1dacdc,_0x1f9826,_0x44ba01){const _0x4abb5c=_0xcffedf;this[_0x4abb5c(0x1f6)]=_0x1dacdc,this[_0x4abb5c(0x218)]=_0x1f9826,this[_0x4abb5c(0x2fe)]=_0x44ba01;}[_0xcffedf(0x260)](_0x1a9bac){const _0xd73360=_0xcffedf;this[_0xd73360(0x2ec)](_0x1a9bac);}[_0xcffedf(0x2fb)](_0x221ccb){const _0x580ae0=_0xcffedf,{unitID:_0x56e593}=_0x221ccb,{collaboration:_0x5cb634}=this[_0x580ae0(0x2fe)][_0x580ae0(0x21c)](_0x56e593);if(_0x5cb634['length']===0x0)return _0x221ccb;let _0x219345=_0x5a8d3d[_0x580ae0(0x2fc)](_0x221ccb[_0x580ae0(0x364)][0x0]);for(let _0x1a147a=0x0;_0x1a147a<_0x5cb634[_0x580ae0(0x3bf)];_0x1a147a++){const _0x3f2770={'id':_0x580ae0(0x307),'params':{'unitId':_0x5cb634[_0x1a147a][_0x580ae0(0x3a4)],..._0x5cb634[_0x1a147a][_0x580ae0(0x1c0)]}},_0x312903=this[_0x580ae0(0x218)][_0x580ae0(0x229)](_0x219345,_0x3f2770,!0x1);if(_0x488cde(_0x312903))throw _0x312903[_0x580ae0(0x2f3)];_0x219345=_0x312903[_0x580ae0(0x39d)];}return{..._0x5a8d3d[_0x580ae0(0x2fc)](_0x221ccb),'mutations':[_0x219345]};}[_0xcffedf(0x2ec)](_0x29c8d8){const _0x58c6b3=_0xcffedf,{unitID:_0x5b72c5}=_0x29c8d8,{history:_0x285372,collaboration:_0x2e8c0e}=this[_0x58c6b3(0x2fe)][_0x58c6b3(0x21c)](_0x5b72c5);if(_0x285372[_0x58c6b3(0x3bf)]===0x0&&_0x2e8c0e[_0x58c6b3(0x3bf)]===0x0)return;const _0x4a719c=[],_0x1cbcca=[];let _0x4b3dc2=_0x5a8d3d[_0x58c6b3(0x2fc)](_0x29c8d8[_0x58c6b3(0x364)][0x0]),_0x4740d4=_0x5a8d3d[_0x58c6b3(0x2fc)](_0x29c8d8[_0x58c6b3(0x364)][0x0]);for(let _0x11d06e=_0x285372[_0x58c6b3(0x3bf)]-0x1;_0x11d06e>=0x0;_0x11d06e--){const _0x267b81={'id':_0x58c6b3(0x307),'params':{'unitId':_0x285372[_0x11d06e][_0x58c6b3(0x3a4)],..._0x285372[_0x11d06e][_0x58c6b3(0x358)]}},_0x42c801={'id':_0x58c6b3(0x307),'params':{'unitId':_0x285372[_0x11d06e]['unitId'],..._0x285372[_0x11d06e][_0x58c6b3(0x1c0)]}},_0x538963=this['_transformService'][_0x58c6b3(0x229)](_0x4b3dc2,_0x267b81,!0x1),_0x44db7b=this[_0x58c6b3(0x218)]['transformMutation'](_0x4740d4,_0x42c801,!0x1);if(_0x488cde(_0x538963))throw _0x538963[_0x58c6b3(0x2f3)];if(_0x488cde(_0x44db7b))throw _0x44db7b[_0x58c6b3(0x2f3)];_0x4a719c[_0x58c6b3(0x391)]({..._0x285372[_0x11d06e],'undoState':_0x538963[_0x58c6b3(0x32e)][_0x58c6b3(0x29c)],'redoState':_0x44db7b[_0x58c6b3(0x32e)]['params']}),_0x4b3dc2=_0x538963[_0x58c6b3(0x39d)],_0x4740d4=_0x44db7b[_0x58c6b3(0x39d)];}_0x4b3dc2=_0x5a8d3d[_0x58c6b3(0x2fc)](_0x29c8d8[_0x58c6b3(0x364)][0x0]),_0x4740d4=_0x5a8d3d[_0x58c6b3(0x2fc)](_0x29c8d8[_0x58c6b3(0x364)][0x0]);for(let _0x593315=_0x2e8c0e['length']-0x1;_0x593315>=0x0;_0x593315--){const _0x1e8c3f={'id':_0x58c6b3(0x307),'params':{'unitId':_0x2e8c0e[_0x593315][_0x58c6b3(0x3a4)],..._0x2e8c0e[_0x593315][_0x58c6b3(0x358)]}},_0x25c646={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2e8c0e[_0x593315]['unitId'],..._0x2e8c0e[_0x593315]['redoState']}},_0x47bd1d=this[_0x58c6b3(0x218)]['transformMutation'](_0x4b3dc2,_0x1e8c3f,!0x1),_0x312641=this[_0x58c6b3(0x218)][_0x58c6b3(0x229)](_0x4740d4,_0x25c646,!0x1);if(_0x488cde(_0x47bd1d))throw _0x47bd1d['error'];if(_0x488cde(_0x312641))throw _0x312641[_0x58c6b3(0x2f3)];_0x1cbcca[_0x58c6b3(0x391)]({..._0x2e8c0e[_0x593315],'undoState':_0x47bd1d[_0x58c6b3(0x32e)][_0x58c6b3(0x29c)],'redoState':_0x312641[_0x58c6b3(0x32e)]['params']}),_0x4b3dc2=_0x47bd1d[_0x58c6b3(0x39d)],_0x4740d4=_0x312641['m1Prime'];}this['_docStateChangeManagerService'][_0x58c6b3(0x36b)](_0x5b72c5,{'history':_0x4a719c,'collaboration':_0x1cbcca});}};oe=hn([be(0x0,_0x695648(_0xf56663)),be(0x1,_0x220f1b),be(0x2,_0x695648(_0x53243c))],oe);var _n=Object[_0xcffedf(0x2d5)],un=(_0x420aa3,_0x7254a8,_0x1884e4,_0x4f9430)=>{const _0x4c32cb=_0xcffedf;for(var _0xe280e7=_0x4f9430>0x1?void 0x0:_0x4f9430?_n(_0x7254a8,_0x1884e4):_0x7254a8,_0x504e74=_0x420aa3[_0x4c32cb(0x3bf)]-0x1,_0x4b6df0;_0x504e74>=0x0;_0x504e74--)(_0x4b6df0=_0x420aa3[_0x504e74])&&(_0xe280e7=_0x4b6df0(_0xe280e7)||_0xe280e7);return _0xe280e7;},it=(_0x2f3e80,_0x5d6d6c)=>(_0x46bf7b,_0x404fef)=>_0x5d6d6c(_0x46bf7b,_0x404fef,_0x2f3e80);let ae=class{constructor(_0x51cf0b,_0x805f9d){const _0x1019eb=_0xcffedf;this[_0x1019eb(0x1f6)]=_0x51cf0b,this['_transformService']=_0x805f9d;}[_0xcffedf(0x20e)](_0x372530){const _0x3a6347=_0xcffedf;var _0x4031ca;const _0x568817=this['_injector']['get'](_0x368efa),_0x5696ee=(_0x4031ca=_0x568817['getDocRanges']())!=null?_0x4031ca:[];if(_0x5696ee[_0x3a6347(0x3bf)]===0x0)return;const _0x5c1b92=_0x372530['unitID'],_0x289adb=[{'id':_0x3a6347(0x307),'params':{'unitId':_0x5c1b92,'actions':null,'textRanges':_0x5696ee}}],_0x1137c6=this[_0x3a6347(0x218)][_0x3a6347(0x254)](_0x372530,_0x289adb);if(!_0x2f9375(_0x1137c6))throw _0x1137c6[_0x3a6347(0x2f3)];const _0x58860e=_0x1137c6['m2Prime'][0x0][_0x3a6347(0x29c)][_0x3a6347(0x2eb)];Array['isArray'](_0x58860e)&&_0x58860e[_0x3a6347(0x3bf)]&&_0x568817[_0x3a6347(0x21e)](_0x58860e,{'unitId':_0x5c1b92,'subUnitId':_0x5c1b92},!0x1);}};ae=un([it(0x0,_0x695648(_0xf56663)),it(0x1,_0x220f1b)],ae);var dn=Object[_0xcffedf(0x2d5)],fn=(_0x2d70a4,_0x4b3cd2,_0x3bc303,_0x28dfc1)=>{for(var _0xd04752=_0x28dfc1>0x1?void 0x0:_0x28dfc1?dn(_0x4b3cd2,_0x3bc303):_0x4b3cd2,_0x126f89=_0x2d70a4['length']-0x1,_0x5b75ec;_0x126f89>=0x0;_0x126f89--)(_0x5b75ec=_0x2d70a4[_0x126f89])&&(_0xd04752=_0x5b75ec(_0xd04752)||_0xd04752);return _0xd04752;},P=(_0x47ed7f,_0x1a6129)=>(_0x1eb594,_0x314141)=>_0x1a6129(_0x1eb594,_0x314141,_0x47ed7f);let ce=class extends _0xc24441{constructor(_0x4b79fe,_0x317475,_0x145991,_0x146e97,_0x10f16e,_0x58b082,_0x206254,_0x2fe25b){const _0x3b2494=_0xcffedf;super(),h(this,_0x3b2494(0x372),new _0x2d4022(_0x137632[_0x3b2494(0x1e5)])),(this['_docStateChangeManagerService']=_0x4b79fe,this[_0x3b2494(0x1cf)]=_0x317475,this[_0x3b2494(0x389)]=_0x145991,this[_0x3b2494(0x324)]=_0x146e97,this[_0x3b2494(0x1e1)]=_0x10f16e,this[_0x3b2494(0x336)]=_0x58b082,this[_0x3b2494(0x393)]=_0x206254,this[_0x3b2494(0x326)]=_0x2fe25b,this[_0x3b2494(0x398)]());}[_0xcffedf(0x398)](){const _0x5d7cfd=_0xcffedf;this[_0x5d7cfd(0x219)](this[_0x5d7cfd(0x1cf)]['entityInit$'][_0x5d7cfd(0x1d9)](_0x3bfa4=>{const _0x282c34=_0x5d7cfd,_0x5ac5e2=this[_0x282c34(0x2fe)][_0x282c34(0x355)]['subscribe'](_0x5a26d9=>{const _0x4beb17=_0x282c34;if(_0x5a26d9==null)return;const {unitId:_0xb06893,redoState:_0x469f4b,commandId:_0x707d38}=_0x5a26d9;if(_0xb06893!==_0x3bfa4[_0x4beb17(0x24a)])return;const _0x4b0766={'id':_0x707d38,'type':_0x373aa[_0x4beb17(0x330)],'params':{'unitId':_0xb06893,'actions':_0x469f4b[_0x4beb17(0x240)],'textRanges':null}};_0x3bfa4[_0x4beb17(0x298)](_0x4b0766);});if(_0x3bfa4[_0x282c34(0x219)](_0x5ac5e2),_0x3bfa4 instanceof _0x2d9bad){const _0x5d33c6={'onTransformIME':_0x43122a=>this['_docTransformIMECacheService'][_0x282c34(0x370)](_0x43122a),'onTransformState':_0x4b950c=>this[_0x282c34(0x324)][_0x282c34(0x260)](_0x4b950c),'onTransformSelections':_0x48b80a=>this[_0x282c34(0x1e1)][_0x282c34(0x20e)](_0x48b80a),'onSyncEditingCollabCursor':_0x164de1=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x164de1),'onTransformRemoteChangesetByIMECache':_0x1970ac=>this[_0x282c34(0x389)][_0x282c34(0x2fb)](_0x1970ac),'onTransformRemoteChangesetByStateCache':_0x40ecee=>this[_0x282c34(0x324)]['transformRemoteChangeset'](_0x40ecee)};_0x3bfa4[_0x282c34(0x26b)](_0x5d33c6);}}));}};ce=fn([P(0x0,_0x695648(_0x53243c)),P(0x1,_0x695648(_0x832d1d)),P(0x2,_0x695648(re)),P(0x3,_0x695648(oe)),P(0x4,_0x695648(ae)),P(0x5,_0x695648(je)),P(0x6,_0x2b6d87),P(0x7,_0x695648(_0x3f07ff))],ce);var Sn=Object[_0xcffedf(0x2d5)],mn=(_0x597675,_0x18aefa,_0x320929,_0x4b698a)=>{const _0x3cb2c8=_0xcffedf;for(var _0x2b737c=_0x4b698a>0x1?void 0x0:_0x4b698a?Sn(_0x18aefa,_0x320929):_0x18aefa,_0x45268d=_0x597675[_0x3cb2c8(0x3bf)]-0x1,_0x328f46;_0x45268d>=0x0;_0x45268d--)(_0x328f46=_0x597675[_0x45268d])&&(_0x2b737c=_0x328f46(_0x2b737c)||_0x2b737c);return _0x2b737c;},Ee=(_0xe6fa97,_0x3f9abe)=>(_0x5870e9,_0x41ade4)=>_0x3f9abe(_0x5870e9,_0x41ade4,_0xe6fa97);let Ae=class extends _0xc24441{constructor(_0x96002a,_0xe50c6e,_0x1105f){const _0x364243=_0xcffedf;super(),h(this,'_cachedData',new Map()),h(this,_0x364243(0x2b8),new Map()),h(this,'_disabled',!0x1),(this[_0x364243(0x2d7)]=_0x96002a,this['_localStorageService']=_0xe50c6e,this['_revisionService']=_0x1105f);}[_0xcffedf(0x3bd)](){const _0x19d97a=_0xcffedf;this[_0x19d97a(0x33b)]=!0x0;}[_0xcffedf(0x285)](){const _0x1de7fc=_0xcffedf;this[_0x1de7fc(0x33b)]=!0x1;}get[_0xcffedf(0x2ba)](){return this['_saveTaskMap'];}['dispose'](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x197bf6){const _0x574cca=_0xcffedf;return this[_0x574cca(0x33b)]?null:this['_localStorageService']['getItem'](_0x34f8b4(_0x197bf6));}async[_0xcffedf(0x1ee)](_0x43ddca,_0x1d9eb5){const _0x1c060b=_0xcffedf;return!!this[_0x1c060b(0x39b)][_0x1c060b(0x385)](_0x43ddca,_0x1d9eb5);}['updateOfflineData'](_0xa6322c,_0x5c62b3,_0x4f8dcd,_0x6942ef){const _0x146f10=_0xcffedf,_0x3ab129=this[_0x146f10(0x1fa)][_0x146f10(0x241)](_0xa6322c);this['_cachedData'][_0x146f10(0x305)](_0xa6322c,{'unitID':_0xa6322c,'type':_0x5c62b3,'awaitingChangeset':_0x4f8dcd,'mutations':_0x6942ef,'rev':_0x3ab129}),this['_saveTaskMap'][_0x146f10(0x234)](_0xa6322c)||this[_0x146f10(0x269)](_0xa6322c);}['_scheduleSaving'](_0xa9c051){const _0x4d70e7=_0xcffedf,_0x4a23e1=this[_0x4d70e7(0x22f)]();_0x4a23e1===0x0?this[_0x4d70e7(0x26a)](_0xa9c051):this[_0x4d70e7(0x2b8)]['set'](_0xa9c051,setTimeout(()=>this[_0x4d70e7(0x26a)](_0xa9c051),_0x4a23e1));}[_0xcffedf(0x22f)](){const _0x9722c0=_0xcffedf;var _0x323658;return(_0x323658=this[_0x9722c0(0x2d7)][_0x9722c0(0x2f6)](_0x4715a3))!=null?_0x323658:_0x10b28c;}['_saveCache'](_0x17399d){const _0x3b4438=_0xcffedf,_0x25e748=this[_0x3b4438(0x2b8)][_0x3b4438(0x21b)](_0x17399d);return _0x25e748!==void 0x0&&window[_0x3b4438(0x1d5)](_0x25e748),this[_0x3b4438(0x39b)][_0x3b4438(0x385)](_0x34f8b4(_0x17399d),this[_0x3b4438(0x1cb)]['get'](_0x17399d))[_0x3b4438(0x265)](()=>this['_saveTaskMap'][_0x3b4438(0x319)](_0x17399d));}async[_0xcffedf(0x2fd)](){const _0x245af2=_0xcffedf,_0x3e54b5=[];this['_saveTaskMap'][_0x245af2(0x343)]((_0x1df8e4,_0x145dc7)=>{const _0x57e570=_0x245af2;window[_0x57e570(0x1d5)](_0x1df8e4),_0x3e54b5['push'](this[_0x57e570(0x26a)](_0x145dc7)[_0x57e570(0x265)](()=>{const _0xd9097=_0x57e570;this[_0xd9097(0x2b8)][_0xd9097(0x319)](_0x145dc7);}));}),await Promise[_0x245af2(0x284)](_0x3e54b5);}};Ae=mn([Ee(0x0,_0x572b85),Ee(0x1,_0x1a67f4),Ee(0x2,_0x695648(_0x579428))],Ae);class gn extends _0x338310{constructor(){const _0x479d85=_0xcffedf;super(),h(this,_0x479d85(0x34e)),this['urlChange$']=_0x33a215(window,'popstate')[_0x479d85(0x245)](_0x57ae48(this[_0x479d85(0x22d)]),_0x5f0d6e(0x1),_0x51b0df(void 0x0));}['setParam'](_0x43d0f4,_0x2e1fc7,_0x1ea689=!0x1){const _0x51e357=_0xcffedf,_0x5f0cb9=new URL(window['location'][_0x51e357(0x2c8)]);_0x5f0cb9[_0x51e357(0x388)][_0x51e357(0x305)](_0x43d0f4,_0x2e1fc7),_0x1ea689?window[_0x51e357(0x296)][_0x51e357(0x2ed)]('','',_0x5f0cb9['toString']()):window[_0x51e357(0x296)][_0x51e357(0x375)]('','',_0x5f0cb9[_0x51e357(0x293)]());}[_0xcffedf(0x338)](_0x3b5782,_0x188e1a=!0x1){const _0x461105=_0xcffedf,_0x323538=new URL(window[_0x461105(0x288)][_0x461105(0x2c8)]);_0x323538[_0x461105(0x388)][_0x461105(0x319)](_0x3b5782),_0x188e1a?window['history'][_0x461105(0x2ed)]('','',_0x323538['toString']()):window[_0x461105(0x296)]['pushState']('','',_0x323538['toString']());}['getParam'](_0x5c3c0c){const _0x154c1a=_0xcffedf;var _0x44fa03;return(_0x44fa03=new URL(window[_0x154c1a(0x288)][_0x154c1a(0x2c8)])[_0x154c1a(0x388)][_0x154c1a(0x21b)](_0x5c3c0c))!=null?_0x44fa03:void 0x0;}}var vn=Object['defineProperty'],In=Object[_0xcffedf(0x2d5)],pn=(_0xacef4c,_0x324cad,_0x5676f0)=>_0x324cad in _0xacef4c?vn(_0xacef4c,_0x324cad,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5676f0}):_0xacef4c[_0x324cad]=_0x5676f0,Cn=(_0x178760,_0x4cba6a,_0x450f3f,_0x1698a1)=>{const _0x3b6dfb=_0xcffedf;for(var _0x1ac95c=_0x1698a1>0x1?void 0x0:_0x1698a1?In(_0x4cba6a,_0x450f3f):_0x4cba6a,_0x28fb47=_0x178760[_0x3b6dfb(0x3bf)]-0x1,_0x54d0a1;_0x28fb47>=0x0;_0x28fb47--)(_0x54d0a1=_0x178760[_0x28fb47])&&(_0x1ac95c=_0x54d0a1(_0x1ac95c)||_0x1ac95c);return _0x1ac95c;},Oe=(_0x5ba2c0,_0x366037)=>(_0x3fac37,_0x4f264c)=>_0x366037(_0x3fac37,_0x4f264c,_0x5ba2c0),bn=(_0xf15a5c,_0x1e993e,_0x21519b)=>pn(_0xf15a5c,_0x1e993e+'',_0x21519b);const En=_0xcffedf(0x34f);let ye=class extends _0x45285f{constructor(_0x52235a=st,_0x1734fe,_0x1fb402,_0x9555bf){const _0x13914d=_0xcffedf;super(),this[_0x13914d(0x205)]=_0x52235a,this[_0x13914d(0x34d)]=_0x1734fe,this[_0x13914d(0x1f6)]=_0x1fb402,this[_0x13914d(0x2d7)]=_0x9555bf;const {..._0xb83d77}=_0x3607e9({},st,this[_0x13914d(0x205)]);this[_0x13914d(0x2d7)][_0x13914d(0x278)](nn,_0xb83d77);}[_0xcffedf(0x209)](){const _0x4662e3=_0xcffedf;this[_0x4662e3(0x1ff)](),this['_initDependencies']();}[_0xcffedf(0x22e)](){const _0x588f01=_0xcffedf;this[_0x588f01(0x255)]();}['_registerDependencies'](){const _0x14c972=_0xcffedf;var _0x3c0d9a;const _0x11a923=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x10dbd8,{'useClass':_0x18102c}],[_0x126658,{'useClass':Ae}],[se],[ce],[ie],[H],[Pe],[ne]];_0x494b98(this[_0x14c972(0x1f6)],_0xd21d36(_0x11a923,(_0x3c0d9a=this[_0x14c972(0x205)])==null?void 0x0:_0x3c0d9a[_0x14c972(0x3b5)]));}[_0xcffedf(0x255)](){const _0x14ef9f=_0xcffedf;this[_0x14ef9f(0x219)](this[_0x14ef9f(0x34d)][_0x14ef9f(0x2d3)](_0x303793['UNIVER_DOC'],[Ue])),this['disposeWithMe'](this['_renderManagerService'][_0x14ef9f(0x2d3)](_0x303793[_0x14ef9f(0x248)],[Le]));}[_0xcffedf(0x277)](){_0x1ef034(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};bn(ye,'pluginName',En),ye=Cn([_0x5a4598(_0x57b005),Oe(0x1,_0x30ea9d),Oe(0x2,_0x695648(_0xf56663)),Oe(0x3,_0x572b85)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0xdb4d11,_0x1d7dcd,_0x198536,_0x20ea0b)=>{const _0x52ed51=_0xcffedf;for(var _0x1d72a2=_0x20ea0b>0x1?void 0x0:_0x20ea0b?On(_0x1d7dcd,_0x198536):_0x1d7dcd,_0x127a45=_0xdb4d11[_0x52ed51(0x3bf)]-0x1,_0x5607fa;_0x127a45>=0x0;_0x127a45--)(_0x5607fa=_0xdb4d11[_0x127a45])&&(_0x1d72a2=_0x5607fa(_0x1d72a2)||_0x1d72a2);return _0x1d72a2;},z=(_0x209111,_0x41e2f9)=>(_0x4fffeb,_0xabebf3)=>_0x41e2f9(_0x4fffeb,_0xabebf3,_0x209111);let nt=class extends _0x4dbbb9{constructor(_0x442fbb,_0x2dd067,_0x1c0b3b,_0x61df6a,_0x4d1207){super(_0x442fbb,_0x2dd067,_0x1c0b3b,_0x61df6a,_0x4d1207);}async[_0xcffedf(0x2e1)](_0x422cfd){const _0x5db85a=_0xcffedf,_0x36d530=await this['_getSessionTicket'](),_0x2f72c2=this['_createSocketURL'](_0x422cfd,_0x36d530);return this[_0x5db85a(0x2d8)](_0x2f72c2);}['_createSocketURL'](_0x31cb8f,_0x14f9dc){const _0xc75ece=_0xcffedf,_0x3a7a1b=typeof window>'u'?new URL(_0x31cb8f):new URL(_0x31cb8f,window[_0xc75ece(0x288)][_0xc75ece(0x206)]);_0x3a7a1b[_0xc75ece(0x388)]['set'](_0xc75ece(0x26c),_0x14f9dc);const _0x5a8051=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc75ece(0x288)][_0xc75ece(0x2b7)]);return _0x5a8051[_0xc75ece(0x21b)](_0xc75ece(0x311))&&_0x3a7a1b[_0xc75ece(0x388)]['set']('runId',_0x5a8051[_0xc75ece(0x21b)](_0xc75ece(0x311))),_0x3a7a1b[_0xc75ece(0x293)]();}async[_0xcffedf(0x383)](){const _0x246996=_0xcffedf;var _0x5a8848,_0x3ee658,_0x2acca1;const _0x5b71e1=this[_0x246996(0x2d7)]['getConfig'](_0x470c49),_0x43dee8=(_0x5a8848=_0x5b71e1==null?void 0x0:_0x5b71e1[_0x246996(0x380)])!=null?_0x5a8848:_0x2171c7;return(_0x2acca1=(_0x3ee658=(await this['_httpService']['get'](_0x43dee8,{'headers':{'Content-Type':_0x246996(0x39a)}}))[_0x246996(0x337)])==null?void 0x0:_0x3ee658[_0x246996(0x37e)])!=null?_0x2acca1:'';}};nt=Tn([z(0x0,_0x695648(_0xf56663)),z(0x1,_0x695648(_0x56ebd1)),z(0x2,_0x572b85),z(0x3,_0x5ba7eb),z(0x4,_0x3ab12a)],nt);const rt=0x7530,ot=_0xcffedf(0x2e8);class Gn extends _0xc24441{constructor(){const _0x11a4ac=_0xcffedf;super(),h(this,_0x11a4ac(0x22a),_0x31de42()),h(this,_0x11a4ac(0x392),new Set()),h(this,_0x11a4ac(0x20a),new Map()),h(this,'_heartbeatTimer',null),h(this,'_clearOtherTimers',new Map()),h(this,_0x11a4ac(0x374),new Map()),this['_init']();}['dispose'](){const _0x1d06dd=_0xcffedf;super['dispose'](),this[_0x1d06dd(0x231)][_0x1d06dd(0x343)]((_0x4d6012,_0x32f7c6)=>this[_0x1d06dd(0x3b4)](_0x32f7c6)),this[_0x1d06dd(0x316)]&&window['clearInterval'](this[_0x1d06dd(0x316)]);}[_0xcffedf(0x2a9)](_0xbe9a37){const _0x5ad9fe=_0xcffedf;return this[_0x5ad9fe(0x37d)](_0xbe9a37)[_0x5ad9fe(0x245)](_0x171feb());}[_0xcffedf(0x348)](_0x1759d5){const _0x568c8b=_0xcffedf;this[_0x568c8b(0x392)]['size']===0x0&&this[_0x568c8b(0x210)](),this[_0x568c8b(0x392)][_0x568c8b(0x247)](_0x1759d5),this[_0x568c8b(0x2a3)]({'type':0x0,'memberID':this[_0x568c8b(0x22a)],'unitIDs':[_0x1759d5],'isForwarded':!0x1});}[_0xcffedf(0x357)](_0x4c4e75){const _0x54065b=_0xcffedf;this[_0x54065b(0x392)]['delete'](_0x4c4e75),this['_selfUnitIDs'][_0x54065b(0x3bb)]===0x0&&this[_0x54065b(0x316)]&&window[_0x54065b(0x1f5)](this[_0x54065b(0x316)]);}[_0xcffedf(0x1d8)](){const _0x38903d=_0xcffedf;this['disposeWithMe'](_0x331a4b(_0x33a215(window,_0x38903d(0x35d))[_0x38903d(0x1d9)](_0x5503f7=>{const _0x389a47=_0x38903d;if(_0x5503f7[_0x389a47(0x386)]!==ot||!_0x5503f7[_0x389a47(0x1f8)])return;const _0x1edb9a=JSON[_0x389a47(0x217)](_0x5503f7[_0x389a47(0x1f8)]);this[_0x389a47(0x2bf)](_0x1edb9a);}))),window[_0x38903d(0x394)](_0x38903d(0x213),()=>this[_0x38903d(0x2a3)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x38903d(0x21d)](this[_0x38903d(0x392)])}));}[_0xcffedf(0x2bf)](_0x36452d){const _0x296d69=_0xcffedf;switch(_0x36452d[_0x296d69(0x2d1)]){case 0x0:this[_0x296d69(0x1ed)](_0x36452d);break;case 0x1:this['_handleLeaveEvent'](_0x36452d);break;case 0x2:this[_0x296d69(0x3ae)](_0x36452d);break;}}[_0xcffedf(0x1ed)](_0x2c2c93){const _0x3e0e48=_0xcffedf,{unitIDs:_0x58b7b6,memberID:_0x164072,isForwarded:_0x268589}=_0x2c2c93;_0x58b7b6[_0x3e0e48(0x343)](_0x5e2292=>{const _0x257649=_0x3e0e48;if(!_0x268589&&this[_0x257649(0x20a)]['has'](_0x5e2292)&&this[_0x257649(0x37d)](_0x5e2292)[_0x257649(0x1fe)](_0x113adb['OTHER_CLIENTS_EDITING']),!this[_0x257649(0x20a)][_0x257649(0x234)](_0x5e2292)||!this[_0x257649(0x20a)][_0x257649(0x21b)](_0x5e2292)['has'](_0x164072)){const _0x2b5e8f=this[_0x257649(0x20a)][_0x257649(0x21b)](_0x5e2292)||new Set();_0x2b5e8f[_0x257649(0x247)](_0x164072),this[_0x257649(0x20a)]['set'](_0x5e2292,_0x2b5e8f),this[_0x257649(0x23e)](_0x164072);}}),_0x268589||this[_0x3e0e48(0x2a3)]({'type':0x0,'memberID':this[_0x3e0e48(0x22a)],'unitIDs':[...this[_0x3e0e48(0x392)]],'isForwarded':!0x0});}[_0xcffedf(0x23e)](_0x3acf21){const _0x55b747=_0xcffedf;this[_0x55b747(0x3b4)](_0x3acf21);const _0x557080=window['setTimeout'](()=>{const _0xc64315=_0x55b747;this[_0xc64315(0x20a)][_0xc64315(0x343)](_0x2a523a=>{const _0x3240df=_0xc64315;_0x2a523a[_0x3240df(0x319)](_0x3acf21);});},rt*0x2);this[_0x55b747(0x231)][_0x55b747(0x305)](_0x3acf21,_0x557080);}[_0xcffedf(0x3b4)](_0xaf0906){const _0x177391=_0xcffedf;if(this[_0x177391(0x231)][_0x177391(0x234)](_0xaf0906)){const _0xaf2a3a=this[_0x177391(0x231)][_0x177391(0x21b)](_0xaf0906);_0xaf2a3a&&window[_0x177391(0x1d5)](_0xaf2a3a),this[_0x177391(0x231)][_0x177391(0x305)](_0xaf0906,null);}}[_0xcffedf(0x26f)](_0x18bc6d){const _0x373ed9=_0xcffedf,{memberID:_0x45dd7c,unitIDs:_0x1909d2}=_0x18bc6d;_0x1909d2['forEach'](_0x46be22=>{const _0x12439b=_0x12c7;var _0x38c775;const _0xbccc88=this['_unitOnClients'][_0x12439b(0x21b)](_0x46be22);_0xbccc88&&(_0xbccc88[_0x12439b(0x319)](_0x45dd7c),(_0x38c775=this[_0x12439b(0x37d)](_0x46be22))==null||_0x38c775['next'](_0xbccc88[_0x12439b(0x3bb)]===0x0?_0x113adb['NO_OTHER_CLIENTS_EDITING']:_0x113adb[_0x12439b(0x291)]));}),this[_0x373ed9(0x3b4)](_0x45dd7c);}[_0xcffedf(0x3ae)](_0x37482f){const _0x13a65a=_0xcffedf;this[_0x13a65a(0x23e)](_0x37482f['memberID']);}['_send'](_0x2138aa){const _0x3297e9=_0xcffedf;localStorage['setItem'](ot,JSON[_0x3297e9(0x332)](_0x2138aa));}['_scheduleHeartbeat'](){const _0x371d23=_0xcffedf;this['_heartbeatTimer']=window[_0x371d23(0x39f)](()=>{const _0x5e3f0a=_0x371d23;this[_0x5e3f0a(0x2a3)]({'type':0x2,'memberID':this[_0x5e3f0a(0x22a)]});},rt);}[_0xcffedf(0x37d)](_0x6fdab){const _0x516df0=_0xcffedf;return this['_unitStatus'][_0x516df0(0x234)](_0x6fdab)||this['_unitStatus'][_0x516df0(0x305)](_0x6fdab,new _0x2d4022(_0x113adb[_0x516df0(0x2a5)])),this[_0x516df0(0x374)][_0x516df0(0x21b)](_0x6fdab);}}var Ut=(_0x4a74f8=>(_0x4a74f8[_0x4a74f8['UNDEFINED']=0x0]=_0xcffedf(0x3b3),_0x4a74f8[_0x4a74f8['OK']=0x1]='OK',_0x4a74f8[_0x4a74f8['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x4a74f8[_0x4a74f8['PERMISSION_DENIED']=0x3]=_0xcffedf(0x1d2),_0x4a74f8[_0x4a74f8['NOT_FOUND']=0x4]=_0xcffedf(0x25c),_0x4a74f8[_0x4a74f8[_0xcffedf(0x1e2)]=0x5]=_0xcffedf(0x1e2),_0x4a74f8[_0x4a74f8[_0xcffedf(0x24c)]=0x6]=_0xcffedf(0x24c),_0x4a74f8[_0x4a74f8[_0xcffedf(0x1c5)]=0x7]=_0xcffedf(0x1c5),_0x4a74f8[_0x4a74f8[_0xcffedf(0x28c)]=0x8]=_0xcffedf(0x28c),_0x4a74f8[_0x4a74f8[_0xcffedf(0x224)]=0x9]=_0xcffedf(0x224),_0x4a74f8[_0x4a74f8[_0xcffedf(0x3ba)]=0xa]=_0xcffedf(0x3ba),_0x4a74f8[_0x4a74f8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xcffedf(0x271),_0x4a74f8[_0x4a74f8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xcffedf(0x361),_0x4a74f8[_0x4a74f8[_0xcffedf(0x3a3)]=0x1772]=_0xcffedf(0x3a3),_0x4a74f8[_0x4a74f8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0xcffedf(0x382),_0x4a74f8[_0x4a74f8[_0xcffedf(0x297)]=0x1b59]=_0xcffedf(0x297),_0x4a74f8[_0x4a74f8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0xcffedf(0x309),_0x4a74f8[_0x4a74f8[_0xcffedf(0x2f5)]=0x1b5b]=_0xcffedf(0x2f5),_0x4a74f8[_0x4a74f8['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xcffedf(0x1ec),_0x4a74f8[_0x4a74f8[_0xcffedf(0x29a)]=0x1b5d]='APPLY_DUPLICATED',_0x4a74f8[_0x4a74f8[_0xcffedf(0x335)]=0x1f41]=_0xcffedf(0x335),_0x4a74f8[_0x4a74f8[_0xcffedf(0x300)]=0x2329]=_0xcffedf(0x300),_0x4a74f8[_0x4a74f8[_0xcffedf(0x2f4)]=0x232a]=_0xcffedf(0x2f4),_0x4a74f8[_0x4a74f8[_0xcffedf(0x33a)]=0x232b]=_0xcffedf(0x33a),_0x4a74f8[_0x4a74f8[_0xcffedf(0x3c2)]=0x232c]=_0xcffedf(0x3c2),_0x4a74f8[_0x4a74f8[_0xcffedf(0x225)]=0x232d]=_0xcffedf(0x225),_0x4a74f8[_0x4a74f8[_0xcffedf(0x2ac)]=0x2711]=_0xcffedf(0x2ac),_0x4a74f8[_0x4a74f8[_0xcffedf(0x2cb)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4a74f8[_0x4a74f8[_0xcffedf(0x1fb)]=0x2713]=_0xcffedf(0x1fb),_0x4a74f8[_0x4a74f8[_0xcffedf(0x342)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x4a74f8[_0x4a74f8[_0xcffedf(0x221)]=0x2af9]=_0xcffedf(0x221),_0x4a74f8[_0x4a74f8[_0xcffedf(0x20f)]=0x2ee1]=_0xcffedf(0x20f),_0x4a74f8[_0x4a74f8['INVALID_INVITE_CODE']=0x2ee2]=_0xcffedf(0x28a),_0x4a74f8[_0x4a74f8['INVITE_CODE_REQUIRED']=0x2ee3]=_0xcffedf(0x323),_0x4a74f8[_0x4a74f8[_0xcffedf(0x290)]=0x2ee4]=_0xcffedf(0x290),_0x4a74f8[_0x4a74f8[_0xcffedf(0x377)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4a74f8[_0x4a74f8[_0xcffedf(0x36c)]=-0x1]=_0xcffedf(0x36c),_0x4a74f8))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x462626,_0x2f79ee,_0x2f3e29,_0x2756a0)=>{const _0x5f24d2=_0xcffedf;for(var _0x299245=_0x2756a0>0x1?void 0x0:_0x2756a0?Rn(_0x2f79ee,_0x2f3e29):_0x2f79ee,_0x4f36e5=_0x462626[_0x5f24d2(0x3bf)]-0x1,_0x5c6d30;_0x4f36e5>=0x0;_0x4f36e5--)(_0x5c6d30=_0x462626[_0x4f36e5])&&(_0x299245=_0x5c6d30(_0x299245)||_0x299245);return _0x299245;},Te=(_0x4eff29,_0x536d71)=>(_0x152cd3,_0x640526)=>_0x536d71(_0x152cd3,_0x640526,_0x4eff29);let at=class extends _0xc24441{constructor(_0x359ef0,_0x5a405c,_0x4dc4d0){const _0x45ff22=_0xcffedf;super(),this[_0x45ff22(0x36a)]=_0x359ef0,this[_0x45ff22(0x36f)]=_0x5a405c,this[_0x45ff22(0x2d7)]=_0x4dc4d0;}async[_0xcffedf(0x207)](_0x27cb7c,_0x413998,_0x3e82a3,..._0x4ef301){const _0xc8bb29=_0xcffedf;var _0x437191,_0x3bdbcd,_0x533305,_0x322520;const _0x21c482=this[_0xc8bb29(0x36a)]['getFocusedUnit']();if(!_0x21c482)throw new Error(_0xc8bb29(0x33e));const _0x199bdc=((_0x437191=this[_0xc8bb29(0x2d7)][_0xc8bb29(0x2f6)](_0x5734b9))!=null?_0x437191:_0x155a2d)+'/'+_0x27cb7c+_0xc8bb29(0x1db)+_0x413998,_0x47dc93=new URL(window['location'][_0xc8bb29(0x2c8)]),_0x3a70a7={'scriptId':_0x27cb7c,'runId':(_0x3bdbcd=_0x47dc93[_0xc8bb29(0x388)]['get']('runId'))!=null?_0x3bdbcd:'','function':_0x413998,'unitId':_0x21c482['getUnitId'](),'argsOfFunction':JSON[_0xc8bb29(0x332)](_0x4ef301),'invokeId':(_0x533305=_0x3e82a3[_0xc8bb29(0x2e5)])!=null?_0x533305:'','executionId':(_0x322520=_0x3e82a3[_0xc8bb29(0x1c4)])!=null?_0x322520:''};try{const _0x59e60a=await this[_0xc8bb29(0x36f)][_0xc8bb29(0x363)](_0x199bdc,{'body':_0x3a70a7});return _0x59e60a[_0xc8bb29(0x337)][_0xc8bb29(0x2f3)]&&_0x59e60a[_0xc8bb29(0x337)]['error'][_0xc8bb29(0x362)]!==Ut['OK']?_0xc8bb29(0x200):_0x59e60a[_0xc8bb29(0x337)]['result'];}catch{return _0xc8bb29(0x200);}}};at=Dn([Te(0x0,_0x2eb697),Te(0x1,_0x695648(_0x56ebd1)),Te(0x2,_0x572b85)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -1 +1 @@
1
- function _0x44df(_0x5b6ab8,_0x2c96e6){const _0x4ee8bb=_0x4ee8();return _0x44df=function(_0x44dfa5,_0x73282){_0x44dfa5=_0x44dfa5-0x185;let _0x2f4f56=_0x4ee8bb[_0x44dfa5];return _0x2f4f56;},_0x44df(_0x5b6ab8,_0x2c96e6);}const _0x5d119c=_0x44df;(function(_0x3dd9fa,_0x2514b9){const _0xdeec50=_0x44df,_0x3c7e29=_0x3dd9fa();while(!![]){try{const _0x29a048=-parseInt(_0xdeec50(0x18f))/0x1+-parseInt(_0xdeec50(0x18d))/0x2+parseInt(_0xdeec50(0x18a))/0x3*(-parseInt(_0xdeec50(0x192))/0x4)+-parseInt(_0xdeec50(0x186))/0x5+parseInt(_0xdeec50(0x190))/0x6+-parseInt(_0xdeec50(0x197))/0x7+parseInt(_0xdeec50(0x191))/0x8;if(_0x29a048===_0x2514b9)break;else _0x3c7e29['push'](_0x3c7e29['shift']());}catch(_0x3dc49c){_0x3c7e29['push'](_0x3c7e29['shift']());}}}(_0x4ee8,0xe2996));const e={'collab-client':{'tooltip':{'reconnect':_0x5d119c(0x196)}},'collabStatus':{'fetchMiss':_0x5d119c(0x193),'conflict':_0x5d119c(0x185),'notCollab':_0x5d119c(0x194),'synced':_0x5d119c(0x18e),'syncing':_0x5d119c(0x187),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x5d119c(0x188),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x5d119c(0x18c),'collaboration-timeout':_0x5d119c(0x18b)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x5d119c(0x195)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x5d119c(0x189)},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x4ee8(){const _0x2e996d=['Synced','727753eZutiv','8938650ImMCiV','23622176dQTxLd','11792FQAiqY','Syncing\x20server\x20data...','Local\x20file','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.','Click\x20to\x20Reconnect','9596923loMMLe','Edit\x20conflicts','114840gOduDV','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1164taVkEG','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','497726hZBftk'];_0x4ee8=function(){return _0x2e996d;};return _0x4ee8();}export{e as default};
1
+ function _0x107c(){const _0x51d79a=['132cwEuZK','1918etnmdI','16zHcxCI','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','513262NzXZcS','Collaboration\x20Conflict','22NNMPun','317658fBUDNJ','66sarltB','Edit\x20conflicts','2008944LGFFTp','4112QgLZdd','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Syncing\x20server\x20data...','1390WztJon','Local\x20file','1320180BeHSrw','Syncing...','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.','180947xASNHk','2KyAfKp'];_0x107c=function(){return _0x51d79a;};return _0x107c();}const _0x35b5c1=_0x8237;function _0x8237(_0x43005f,_0x4c04cd){const _0x107cae=_0x107c();return _0x8237=function(_0x823770,_0x5e2b69){_0x823770=_0x823770-0xfc;let _0x2cd7d0=_0x107cae[_0x823770];return _0x2cd7d0;},_0x8237(_0x43005f,_0x4c04cd);}(function(_0x3e8c91,_0x25aede){const _0x14e822=_0x8237,_0x246ccf=_0x3e8c91();while(!![]){try{const _0x1ca4cc=-parseInt(_0x14e822(0x110))/0x1*(-parseInt(_0x14e822(0x100))/0x2)+parseInt(_0x14e822(0x103))/0x3*(parseInt(_0x14e822(0x113))/0x4)+-parseInt(_0x14e822(0x10a))/0x5*(-parseInt(_0x14e822(0x104))/0x6)+-parseInt(_0x14e822(0x112))/0x7*(-parseInt(_0x14e822(0x107))/0x8)+-parseInt(_0x14e822(0x106))/0x9+parseInt(_0x14e822(0x10c))/0xa*(-parseInt(_0x14e822(0x102))/0xb)+parseInt(_0x14e822(0x111))/0xc*(-parseInt(_0x14e822(0x10f))/0xd);if(_0x1ca4cc===_0x25aede)break;else _0x246ccf['push'](_0x246ccf['shift']());}catch(_0x34fc7e){_0x246ccf['push'](_0x246ccf['shift']());}}}(_0x107c,0x6b813));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x35b5c1(0x109),'conflict':_0x35b5c1(0x105),'notCollab':_0x35b5c1(0x10b),'synced':_0x35b5c1(0xfe),'syncing':_0x35b5c1(0x10d),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x35b5c1(0xff),'room-full':_0x35b5c1(0xfd),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x35b5c1(0x101),'content':_0x35b5c1(0x10e)},'permission':{'title':'Authentication\x20Error','content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':_0x35b5c1(0x108)},'closeRoom':_0x35b5c1(0xfc)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
@@ -1 +1 @@
1
- const _0x4af1b6=_0x2c8f;function _0x4255(){const _0x51e82f=['برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','50JrwKUv','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','3442614FswVWc','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','90IBbfjM','2548dwLhiY','1466EbwOYr','753006STEuqx','1714oIWXCv','48uaPLdU','تداخل\x20ویرایش','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','2247ZrGEWE','در\x20حال\x20همگام\x20سازی...','پرونده\x20محلی','1738570FkYPVt','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','14320928SUdfwv','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','تداخل\x20همکاری','6858841ZEZQqZ','اعمال\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رفت.'];_0x4255=function(){return _0x51e82f;};return _0x4255();}(function(_0x108ec1,_0x263349){const _0x1899d2=_0x2c8f,_0x44b04f=_0x108ec1();while(!![]){try{const _0x5c3e3e=-parseInt(_0x1899d2(0xdf))/0x1*(parseInt(_0x1899d2(0xdd))/0x2)+-parseInt(_0x1899d2(0xe3))/0x3*(-parseInt(_0x1899d2(0xdc))/0x4)+parseInt(_0x1899d2(0xd7))/0x5*(-parseInt(_0x1899d2(0xde))/0x6)+parseInt(_0x1899d2(0xd9))/0x7+-parseInt(_0x1899d2(0xe8))/0x8+-parseInt(_0x1899d2(0xdb))/0x9*(-parseInt(_0x1899d2(0xe6))/0xa)+-parseInt(_0x1899d2(0xd4))/0xb*(-parseInt(_0x1899d2(0xe0))/0xc);if(_0x5c3e3e===_0x263349)break;else _0x44b04f['push'](_0x44b04f['shift']());}catch(_0x4462a0){_0x44b04f['push'](_0x44b04f['shift']());}}}(_0x4255,0xdbc19));function _0x2c8f(_0x38b721,_0x56341d){const _0x4255e7=_0x4255();return _0x2c8f=function(_0x2c8f72,_0x3e7c25){_0x2c8f72=_0x2c8f72-0xd3;let _0x635f76=_0x4255e7[_0x2c8f72];return _0x635f76;},_0x2c8f(_0x38b721,_0x56341d);}const o={'collab-client':{'tooltip':{'reconnect':_0x4af1b6(0xd6)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x4af1b6(0xe1),'notCollab':_0x4af1b6(0xe5),'synced':'همگام\x20سازی','syncing':_0x4af1b6(0xe4),'offline':_0x4af1b6(0xe7)},'session':{'connection-failed':_0x4af1b6(0xd8),'will-retry':_0x4af1b6(0xda),'room-full':_0x4af1b6(0xea),'collaboration-timeout':_0x4af1b6(0xe2)},'conflict':{'title':_0x4af1b6(0xd3),'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':'خطای\x20اعتبارسنجی','content':_0x4af1b6(0xd5)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x4af1b6(0xe9)},'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 _0x5d4e0f=_0x403c;(function(_0x2d3556,_0x2dfd82){const _0x1bfa87=_0x403c,_0x3ab8c4=_0x2d3556();while(!![]){try{const _0x3726a0=parseInt(_0x1bfa87(0x18e))/0x1*(-parseInt(_0x1bfa87(0x190))/0x2)+parseInt(_0x1bfa87(0x198))/0x3+-parseInt(_0x1bfa87(0x19d))/0x4*(-parseInt(_0x1bfa87(0x18b))/0x5)+parseInt(_0x1bfa87(0x19b))/0x6+parseInt(_0x1bfa87(0x18a))/0x7*(-parseInt(_0x1bfa87(0x192))/0x8)+-parseInt(_0x1bfa87(0x193))/0x9+parseInt(_0x1bfa87(0x194))/0xa;if(_0x3726a0===_0x2dfd82)break;else _0x3ab8c4['push'](_0x3ab8c4['shift']());}catch(_0x5773a2){_0x3ab8c4['push'](_0x3ab8c4['shift']());}}}(_0x26b4,0xe6bd4));function _0x403c(_0x52a45b,_0x20e7f4){const _0x26b43c=_0x26b4();return _0x403c=function(_0x403c77,_0x5dd413){_0x403c77=_0x403c77-0x184;let _0x30656e=_0x26b43c[_0x403c77];return _0x30656e;},_0x403c(_0x52a45b,_0x20e7f4);}const o={'collab-client':{'tooltip':{'reconnect':_0x5d4e0f(0x189)}},'collabStatus':{'fetchMiss':_0x5d4e0f(0x18d),'conflict':_0x5d4e0f(0x186),'notCollab':_0x5d4e0f(0x18c),'synced':_0x5d4e0f(0x185),'syncing':'در\x20حال\x20همگام\x20سازی...','offline':_0x5d4e0f(0x19a)},'session':{'connection-failed':_0x5d4e0f(0x188),'will-retry':_0x5d4e0f(0x195),'room-full':_0x5d4e0f(0x191),'collaboration-timeout':_0x5d4e0f(0x19c)},'conflict':{'title':_0x5d4e0f(0x196),'content':_0x5d4e0f(0x197)},'permission':{'title':_0x5d4e0f(0x184),'content':_0x5d4e0f(0x187)},'collaboration':{'single-unit':{'warning':_0x5d4e0f(0x199)},'closeRoom':_0x5d4e0f(0x18f)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};function _0x26b4(){const _0xb0de14=['13636XyDgZc','خطای\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کنید','1700972IsVzfP','1965mIjXzp','پرونده\x20محلی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','89ZcyZJZ','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','15518JRoIKN','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','56jKVsRe','269991HqNOKC','3824200xZgRpO','اتصال\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رفت.','3245802BXnApM','شما\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شوند','3375234UzAtJJ','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'];_0x26b4=function(){return _0xb0de14;};return _0x26b4();}