@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506031608 → 0.8.0-nightly.202506041607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x4eaba6=_0xc929;(function(_0x115a3a,_0x4df8ec){const _0x2138fb=_0xc929,_0x294fcf=_0x115a3a();while(!![]){try{const _0x2511f9=parseInt(_0x2138fb(0x39b))/0x1*(-parseInt(_0x2138fb(0x25d))/0x2)+parseInt(_0x2138fb(0x1df))/0x3*(parseInt(_0x2138fb(0x2ad))/0x4)+-parseInt(_0x2138fb(0x1eb))/0x5*(-parseInt(_0x2138fb(0x22b))/0x6)+parseInt(_0x2138fb(0x269))/0x7+-parseInt(_0x2138fb(0x1ce))/0x8+parseInt(_0x2138fb(0x208))/0x9*(parseInt(_0x2138fb(0x292))/0xa)+-parseInt(_0x2138fb(0x1f0))/0xb*(parseInt(_0x2138fb(0x306))/0xc);if(_0x2511f9===_0x4df8ec)break;else _0x294fcf['push'](_0x294fcf['shift']());}catch(_0x1035b8){_0x294fcf['push'](_0x294fcf['shift']());}}}(_0x4acf,0xd09c5));var $t=Object[_0x4eaba6(0x398)],xt=(_0x22fff0,_0x334d7a,_0x33e2d5)=>_0x334d7a in _0x22fff0?$t(_0x22fff0,_0x334d7a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x33e2d5}):_0x22fff0[_0x334d7a]=_0x33e2d5,_=(_0x12bc09,_0x2ab4a5,_0x28a426)=>xt(_0x12bc09,typeof _0x2ab4a5!='symbol'?_0x2ab4a5+'':_0x2ab4a5,_0x28a426);import{MemberService as _0x410d43,SessionStatus as _0x303de7,CollaborationSessionService as _0x4fa7e6,CollaborationStatus as _0x4efd68,CollaborationController as _0x4dd44e,ILocalCacheService as _0x2dbf9c,CollaborationUIEventService as _0x2e40e8,CollaborationUIEventId as _0x224233,DataLoaderService as _0x55d6e6,DocCollaborationEntity as _0x19e46f,getLocalCacheKey as _0x351a65,LOCAL_CACHE_INTERVAL as _0xe4e9a8,LOCAL_CACHE_INTERVAL_KEY as _0x383cf6,UniverCollaborationClientPlugin as _0x17d159,CollaborationSocketService as _0x45335b,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3ffc75,DEFAULT_WS_SESSION_TICKET_URL as _0x17830a,UnitStatus as _0x4ecd4f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x1ce0d7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x455e1c}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x37b3a8,Disposable as _0x344f28,DOC_RANGE_TYPE as _0x1d1929,Inject as _0x18907d,Injector as _0x3e72ea,IUniverInstanceService as _0x51bea5,ICommandService as _0xe6668b,debounce as _0x4e6b06,Rectangle as _0x22723d,DisposableCollection as _0x3adbb7,toDisposable as _0x453e2f,UniverInstanceType as _0x549840,Tools as _0x50e33b,COLORS as _0x4a6564,ColorKit as _0x288d49,ThemeService as _0x43d9fb,fromEventSubject as _0x4c81bc,LocaleService as _0x3ecf5f,createIdentifier as _0x200bfb,ILogService as _0x194710,Optional as _0x5aed5c,Workbook as _0x310a1a,CommandType as _0x4d2b87,IConfigService as _0x25b8a1,ILocalStorageService as _0x1064bb,DependentOn as _0xff9419,Plugin as _0xe58874,merge as _0x76d1ac,registerDependencies as _0x290cf4,mergeOverrideWithDependencies as _0x4ae91e,touchDependencies as _0xe9bebf,generateRandomId as _0x2d61e7}from'@univerjs/core';import{Shape as _0x4d4cf9,Rect as _0x425401,getColor as _0x21b00f,RegularPolygon as _0x283506,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x36e34f,Vector2 as _0x57e231,SHEET_VIEWPORT_KEY as _0x32a6d8,IRenderManagerService as _0x2b5744}from'@univerjs/engine-render';import{ISocketService as _0x15ab2d,WebSocketService as _0x3a1d1a,HTTPService as _0x3fd8e6}from'@univerjs/network';import{IDocClipboardService as _0x23f000,NodePositionConvertToCursor as _0x2b6661,NodePositionConvertToRectRange as _0x5db283,TEXT_RANGE_LAYER_INDEX as _0x1ca82e,SetDocZoomRatioOperation as _0x32d3ed,DocIMEInputManagerService as _0xa029f7,DocStateChangeManagerService as _0x54c954}from'@univerjs/docs-ui';import{IImageIoService as _0x8bd6a0}from'@univerjs/drawing';import{BehaviorSubject as _0x32e977,debounceTime as _0x24fe05,takeUntil as _0x560bf3,Subject as _0x455e5b,filter as _0x2ffaa6,switchMap as _0x583a36,merge as _0x168603,combineLatest as _0x538dd7,of as _0x5961a7,fromEvent as _0x177e18,shareReplay as _0x1e898c,mapTo as _0x69ddc5,distinctUntilChanged as _0x312486}from'rxjs';import{SetTextSelectionsOperation as _0x1c17bd,RichTextEditingMutation as _0x901915,DocSelectionManagerService as _0x947e8c,DocSkeletonManagerService as _0x4076e2}from'@univerjs/docs';import{ITransformService as _0x1a60d7,CollaborationEvent as _0x308cae,isTransformMutationFailure as _0xa30238,isTransformMutationsWithChangesetSuccess as _0x247d4,RevisionService as _0x40a97e,ISnapshotServerService as _0x1534d1}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x340642,serializeRangeWithSheet as _0x4c71ac}from'@univerjs/engine-formula';import{RefRangeService as _0xaa34b8,SetSelectionsOperation as _0x321a66,SheetsSelectionsService as _0x409888,EffectRefRangId as _0x4ff3ff,handleIRemoveRow as _0x2ec563,handleIRemoveCol as _0x5f076d,handleMoveRange as _0x5ce326,handleInsertRow as _0x22556e,handleInsertRangeMoveRight as _0x5b822c,handleInsertRangeMoveDown as _0xa12bc,handleInsertCol as _0xce86ac,handleDeleteRangeMoveUp as _0x4a1424,handleDeleteRangeMoveLeft as _0x244fbe,runRefRangeMutations as _0xe84e43,SetWorksheetActivateCommand as _0x310690}from'@univerjs/sheets';import{map as _0x4bdb36,filter as _0x50b544,throttleTime as _0x4abe90,takeUntil as _0x38fa3e,switchMap as _0x546c4e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x42870f,getCoordByCell as _0x3cc264,getSheetObject as _0x7c6242}from'@univerjs/sheets-ui';import{jsx as _0x30eda6,jsxs as _0x5ba7a2}from'react/jsx-runtime';import{useObservable as _0x20177b,useDependency as _0x27e39c,IUIPartsService as _0x251619,BuiltInUIPart as _0x25bc4b,connectInjector as _0x4f3f63,IBeforeCloseService as _0x35094c,IMessageService as _0x441bfa,INotificationService as _0x315fb8}from'@univerjs/ui';import{Tooltip as _0x437d63,clsx as _0x140e3f,MessageType as _0x11fa23}from'@univerjs/design';import{forwardRef as _0x1d46e0,useRef as _0x92dff0,createElement as _0x50bcce,useCallback as _0x364655}from'react';import{IRemoteInstanceService as _0x223e63}from'@univerjs/rpc';var ci=Object[_0x4eaba6(0x293)],li=(_0x1cb0eb,_0x2f574e,_0x413069,_0x704ea8)=>{const _0x52f554=_0x4eaba6;for(var _0x5b2e0c=_0x704ea8>0x1?void 0x0:_0x704ea8?ci(_0x2f574e,_0x413069):_0x2f574e,_0x4ba677=_0x1cb0eb[_0x52f554(0x2e6)]-0x1,_0x270861;_0x4ba677>=0x0;_0x4ba677--)(_0x270861=_0x1cb0eb[_0x4ba677])&&(_0x5b2e0c=_0x270861(_0x5b2e0c)||_0x5b2e0c);return _0x5b2e0c;},Je=(_0x1a3e5f,_0x140e77)=>(_0x1a24de,_0x2ce916)=>_0x140e77(_0x1a24de,_0x2ce916,_0x1a3e5f);let Ne=class extends _0x37b3a8{constructor(_0x271038,_0x2479e5){const _0x2dcce8=_0x4eaba6;super(),this['_docClipboardService']=_0x271038,this[_0x2dcce8(0x31b)]=_0x2479e5,this[_0x2dcce8(0x20e)]();}['_init'](){const _0x10fcbd=_0x4eaba6,_0x13b77e=this;this[_0x10fcbd(0x1ca)](this['_docClipboardService'][_0x10fcbd(0x3a7)]({'onBeforePasteImage':async _0x11ee1c=>{const _0x432868=_0x10fcbd,_0x329191=await _0x13b77e['_imageIoService'][_0x432868(0x3c9)](_0x11ee1c);return _0x329191?{'source':_0x329191[_0x432868(0x235)],'imageSourceType':_0x329191['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x23f000),Je(0x1,_0x8bd6a0)],Ne);const Ze=[_0x4eaba6(0x343),'jiqing.500',_0x4eaba6(0x1d1),_0x4eaba6(0x35a),'blue.400',_0x4eaba6(0x218)];class ke extends _0x344f28{constructor(){const _0x51a22a=_0x4eaba6;super(...arguments),_(this,_0x51a22a(0x304),new Map()),_(this,_0x51a22a(0x284),0x0);}[_0x4eaba6(0x37e)](_0x1f4552){const _0x5f14c2=_0x4eaba6;if(this[_0x5f14c2(0x304)][_0x5f14c2(0x1e9)](_0x1f4552))return this[_0x5f14c2(0x304)]['get'](_0x1f4552);const _0x59c59a=Ze[this['_colorIndex']];return this[_0x5f14c2(0x284)]=(this[_0x5f14c2(0x284)]+0x1)%Ze['length'],this[_0x5f14c2(0x304)][_0x5f14c2(0x307)](_0x1f4552,_0x59c59a),_0x59c59a;}}function Tt(_0x19ce51){const _0x47ace1=_0x4eaba6;let _0x34c889='';for(const _0x543375 of _0x19ce51){const {startOffset:_0x148491,endOffset:_0x260578,isActive:_0xa61391,rangeType:_0x4c3d90,segmentId:_0x5c61a4,segmentPage:_0x42ddc9}=_0x543375;_0x34c889[_0x47ace1(0x2e6)]&&(_0x34c889+=','),_0x34c889+=_0x148491+':'+_0x260578+':'+(_0xa61391?'1':'0')+':'+_0x4c3d90+':'+_0x5c61a4+':'+_0x42ddc9;}return _0x34c889;}function _i(_0x595d56){const _0x4856eb=_0x4eaba6,_0x1dd4cf=_0x595d56[_0x4856eb(0x37f)](','),_0x3ad559=[];for(const _0x165344 of _0x1dd4cf){const [_0x39bd23,_0x3a08c3,_0x500060,_0x302e26,_0x45f928,_0x417ce4]=_0x165344[_0x4856eb(0x37f)](':');_0x3ad559[_0x4856eb(0x36c)]({'startOffset':Number(_0x39bd23),'endOffset':Number(_0x3a08c3),'collapsed':_0x39bd23===_0x3a08c3,'isActive':_0x500060==='1','rangeType':_0x302e26===_0x1d1929[_0x4856eb(0x2f2)]?_0x1d1929[_0x4856eb(0x2f2)]:_0x1d1929[_0x4856eb(0x2af)],'segmentId':typeof _0x45f928==_0x4856eb(0x33c)?String(_0x45f928):'','segmentPage':Number(_0x417ce4!=null?_0x417ce4:-0x1)});}return _0x3ad559[_0x4856eb(0x2be)](_0x444a18=>_0x444a18[_0x4856eb(0x2b9)])||(_0x3ad559[0x0][_0x4856eb(0x2b9)]=!0x0),_0x3ad559;}class He extends _0x37b3a8{constructor(){const _0x211515=_0x4eaba6;super(...arguments),_(this,'_collabCursorState$',new _0x32e977(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x211515(0x2e1)]());}[_0x4eaba6(0x234)](_0x567ed6){const {unitID:_0x38847b,memberID:_0x380f86,textRanges:_0xf8caeb}=_0x567ed6,_0x1bffb6=Tt(_0xf8caeb);if(_0x1bffb6==='')return;const _0x99de15={'unitID':_0x38847b,'memberID':_0x380f86,'selection':_0x1bffb6};this['_collabCursorState$']['next'](_0x99de15);}}var hi=Object[_0x4eaba6(0x293)],ui=(_0x289796,_0x4e2b70,_0x567f33,_0x22b584)=>{const _0x3567eb=_0x4eaba6;for(var _0x4cf462=_0x22b584>0x1?void 0x0:_0x22b584?hi(_0x4e2b70,_0x567f33):_0x4e2b70,_0x5b1991=_0x289796[_0x3567eb(0x2e6)]-0x1,_0x3fdf88;_0x5b1991>=0x0;_0x5b1991--)(_0x3fdf88=_0x289796[_0x5b1991])&&(_0x4cf462=_0x3fdf88(_0x4cf462)||_0x4cf462);return _0x4cf462;},P=(_0x1ff724,_0x1223c3)=>(_0x44cafb,_0x354e29)=>_0x1223c3(_0x44cafb,_0x354e29,_0x1ff724);const di=0x12c,fi=0x64;let Ue=class extends _0x37b3a8{constructor(_0x4d31a8,_0x188e6b,_0x56bcbe,_0x389aff,_0x431504,_0x281272,_0x44b8e2,_0x3f6755,_0x54b572){const _0x32cf2f=_0x4eaba6;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x32cf2f(0x344),new _0x32e977(new Map())),_(this,'cursorInfo$',this[_0x32cf2f(0x344)][_0x32cf2f(0x2e1)]()),_(this,_0x32cf2f(0x389),new _0x32e977([])),_(this,'roomMembers$',this['_roomMembers$'][_0x32cf2f(0x2b6)](_0x24fe05(di))),_(this,'_updateLocalCursor',_0x4e6b06(_0xf05d52=>{const _0x21a1b4=_0x32cf2f,_0x4d7fde={'eventID':_0x308cae[_0x21a1b4(0x367)],'data':{'unitID':this[_0x21a1b4(0x2f5)],'memberID':this[_0x21a1b4(0x27c)][_0x21a1b4(0x395)](),'selection':Tt(_0xf05d52)}};this[_0x21a1b4(0x27c)][_0x21a1b4(0x30d)](_0x4d7fde,this[_0x21a1b4(0x2f5)]);},fi)),(this[_0x32cf2f(0x2f5)]=_0x4d31a8,this[_0x32cf2f(0x27c)]=_0x188e6b,this[_0x32cf2f(0x36f)]=_0x56bcbe,this[_0x32cf2f(0x1c9)]=_0x389aff,this[_0x32cf2f(0x32d)]=_0x431504,this['_syncEditingCollabCursorService']=_0x281272,this[_0x32cf2f(0x301)]=_0x44b8e2,this['_univerInstanceService']=_0x3f6755,this['_commandService']=_0x54b572);}get[_0x4eaba6(0x336)](){const _0xc74984=_0x4eaba6;return this['_cursorInfo$'][_0xc74984(0x38f)]();}get[_0x4eaba6(0x313)](){const _0xa20704=_0x4eaba6;return this['_roomMembers$'][_0xa20704(0x38f)]();}[_0x4eaba6(0x2cb)](){const _0x3790ca=_0x4eaba6;super[_0x3790ca(0x2cb)](),this[_0x3790ca(0x344)]['next'](new Map()),this[_0x3790ca(0x344)][_0x3790ca(0x26c)](),this[_0x3790ca(0x389)][_0x3790ca(0x2d5)]([]),this['_roomMembers$']['complete']();}[_0x4eaba6(0x2c9)](){const _0x437c5b=_0x4eaba6;this['_init']||(this[_0x437c5b(0x20e)]=!0x0,this[_0x437c5b(0x27c)][_0x437c5b(0x3c4)][_0x437c5b(0x2b6)](_0x560bf3(this[_0x437c5b(0x237)]))[_0x437c5b(0x1fe)](_0x20190b=>{const _0x12e0a7=_0x437c5b;_0x20190b===_0x303de7[_0x12e0a7(0x2e7)]?this[_0x12e0a7(0x238)]():this[_0x12e0a7(0x2a0)]();}),this[_0x437c5b(0x27c)][_0x437c5b(0x390)][_0x437c5b(0x2b6)](_0x560bf3(this[_0x437c5b(0x237)]))[_0x437c5b(0x1fe)](_0x67eb0b=>{const _0x64c3b5=_0x437c5b,_0x30808e=_0x67eb0b[_0x64c3b5(0x2b3)];_0x30808e===_0x308cae[_0x64c3b5(0x367)]&&this['_onCursorUpdate'](_0x67eb0b),_0x30808e===_0x308cae[_0x64c3b5(0x2d0)]&&this[_0x64c3b5(0x332)](_0x67eb0b);}),this[_0x437c5b(0x1ca)](this[_0x437c5b(0x35d)][_0x437c5b(0x361)](_0x3d2125=>{const _0x29b5e5=_0x437c5b,_0x511f16=_0x3d2125['params'];_0x511f16!=null&&this[_0x29b5e5(0x337)]&&_0x3d2125['id']===_0x1c17bd['id']&&_0x511f16[_0x29b5e5(0x38c)]===this[_0x29b5e5(0x2f5)]&&_0x511f16[_0x29b5e5(0x2a7)]===!0x1&&_0x511f16[_0x29b5e5(0x27e)][_0x29b5e5(0x2e6)]>0x0&&this[_0x29b5e5(0x350)](_0x511f16[_0x29b5e5(0x27e)]);})),this[_0x437c5b(0x1d3)][_0x437c5b(0x335)][_0x437c5b(0x2b6)](_0x560bf3(this['dispose$']))['subscribe'](_0x53d27e=>{const _0x17101c=_0x437c5b;if((_0x53d27e==null?void 0x0:_0x53d27e[_0x17101c(0x2f5)])!==this[_0x17101c(0x2f5)])return;const _0x437785={'eventID':_0x308cae[_0x17101c(0x367)],'data':_0x53d27e};this[_0x17101c(0x20a)](_0x437785);}),this['disposeWithMe'](this[_0x437c5b(0x35d)][_0x437c5b(0x361)](_0x576593=>{const _0x2425d5=_0x437c5b;if(_0x576593[_0x2425d5(0x2fd)]==null)return;const _0x1a391e=_0x576593[_0x2425d5(0x2fd)];if(_0x576593['id']!==_0x901915['id']||_0x1a391e[_0x2425d5(0x38c)]!==this[_0x2425d5(0x2f5)])return;const _0x1af727={'id':_0x2425d5(0x363),'params':_0x1a391e},_0x47f8c8=this[_0x2425d5(0x336)];for(const [_0x3c2659,_0x44bab9]of _0x47f8c8){const _0x4bbc5f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2425d5(0x2f5)],'actions':null,'textRanges':_0x44bab9[_0x2425d5(0x27e)]}},_0x2923a5=this[_0x2425d5(0x301)]['transformMutation'](_0x1af727,_0x4bbc5f,!0x1);if(_0xa30238(_0x2923a5))throw _0x2923a5[_0x2425d5(0x21d)];_0x47f8c8[_0x2425d5(0x307)](_0x3c2659,{..._0x44bab9,'ranges':_0x2923a5[_0x2425d5(0x3b2)][_0x2425d5(0x2fd)][_0x2425d5(0x2c7)]});}queueMicrotask(()=>{const _0x903cd7=_0x2425d5;this['_cursorInfo$'][_0x903cd7(0x2d5)](_0x47f8c8);});})));}[_0x4eaba6(0x20a)](_0x2ff1b5){const _0x136030=_0x4eaba6;var _0x175ea8,_0x54d753;const {memberID:_0x1d2dc3,selection:_0x408c9c}=_0x2ff1b5[_0x136030(0x2bc)],_0x1db0d3=_i(_0x408c9c),_0x323901=(_0x54d753=(_0x175ea8=this['_memberService'][_0x136030(0x384)](this['unitID'],_0x1d2dc3))==null?void 0x0:_0x175ea8['name'])!=null?_0x54d753:_0x136030(0x2e0),_0x22421a={'color':this[_0x136030(0x1c9)][_0x136030(0x37e)](_0x1d2dc3),'name':_0x323901,'ranges':_0x1db0d3},_0x59a13e=this['cursorInfo'];_0x59a13e[_0x136030(0x307)](_0x1d2dc3,_0x22421a),this[_0x136030(0x344)][_0x136030(0x2d5)](_0x59a13e);}[_0x4eaba6(0x332)](_0x4a884c){const _0x36a665=_0x4eaba6,{memberID:_0x4e2d72}=_0x4a884c[_0x36a665(0x2bc)],_0x5447b3=this[_0x36a665(0x336)];_0x5447b3[_0x36a665(0x2e9)](_0x4e2d72),this['_cursorInfo$'][_0x36a665(0x2d5)](_0x5447b3);}[_0x4eaba6(0x238)](){const _0x40e544=_0x4eaba6;var _0x40be8e;if(this['_online']=!0x0,((_0x40be8e=this[_0x40e544(0x38a)][_0x40e544(0x21b)]())==null?void 0x0:_0x40be8e[_0x40e544(0x373)]())!==this[_0x40e544(0x2f5)])return;const _0x153baa=this[_0x40e544(0x36f)]['get'](_0x947e8c)[_0x40e544(0x311)]();Array['isArray'](_0x153baa)&&_0x153baa['length']>0x0&&this[_0x40e544(0x350)](_0x153baa);}[_0x4eaba6(0x2a0)](){const _0x5e123d=_0x4eaba6;this[_0x5e123d(0x337)]=!0x1;}};Ue=ui([P(0x2,_0x18907d(_0x3e72ea)),P(0x3,_0x18907d(ke)),P(0x4,_0x18907d(_0x410d43)),P(0x5,_0x18907d(He)),P(0x6,_0x1a60d7),P(0x7,_0x51bea5),P(0x8,_0xe6668b)],Ue);var Si=Object[_0x4eaba6(0x293)],mi=(_0x4a11c9,_0x393242,_0x38d057,_0x4c24e1)=>{const _0x5df2fb=_0x4eaba6;for(var _0x2066ba=_0x4c24e1>0x1?void 0x0:_0x4c24e1?Si(_0x393242,_0x38d057):_0x393242,_0xed716e=_0x4a11c9[_0x5df2fb(0x2e6)]-0x1,_0x39addf;_0xed716e>=0x0;_0xed716e--)(_0x39addf=_0x4a11c9[_0xed716e])&&(_0x2066ba=_0x39addf(_0x2066ba)||_0x2066ba);return _0x2066ba;},x=(_0xc6b29e,_0x3ae8da)=>(_0x5a456c,_0x341807)=>_0x3ae8da(_0x5a456c,_0x341807,_0xc6b29e);const Ii=0x12c,gi=0x64,vi=()=>{let _0x2d573e=[],_0x5077ae=!0x1;return _0x2b023a=>{const _0x32543c=_0xc929;_0x2d573e[_0x32543c(0x36c)](_0x2b023a),_0x5077ae||(_0x5077ae=!0x0,setTimeout(()=>{const _0x4d967c=_0x32543c;_0x2d573e[_0x4d967c(0x25c)](_0x61d304=>_0x61d304()),_0x2d573e=[],_0x5077ae=!0x1;}));};};let Me=class extends _0x37b3a8{constructor(_0x30378f,_0x409f1d,_0x4e5870,_0x4063ee,_0x5b8a2c,_0x12fdc7,_0x34fc1d,_0x42c103){const _0x5cc33a=_0x4eaba6;super(),_(this,_0x5cc33a(0x337),!0x1),_(this,_0x5cc33a(0x20e),!0x1),_(this,_0x5cc33a(0x344),new _0x32e977(new Map())),_(this,_0x5cc33a(0x1fa),this[_0x5cc33a(0x344)][_0x5cc33a(0x2e1)]()),_(this,_0x5cc33a(0x389),new _0x32e977([])),_(this,_0x5cc33a(0x2d3),this['_roomMembers$'][_0x5cc33a(0x2b6)](_0x24fe05(Ii))),_(this,_0x5cc33a(0x350),_0x4e6b06((_0x1d43ec,_0x414569)=>{const _0x59f100=_0x5cc33a,_0x23edeb={'eventID':_0x308cae['UPDATE_CURSOR'],'data':{'unitID':this[_0x59f100(0x2f5)],'memberID':this['_session'][_0x59f100(0x395)](),'selection':_0x4c71ac(_0x1d43ec,_0x414569[_0x59f100(0x2e4)])}};this[_0x59f100(0x27c)][_0x59f100(0x30d)](_0x23edeb,this['unitID']);},gi)),(this[_0x5cc33a(0x2f5)]=_0x30378f,this[_0x5cc33a(0x27c)]=_0x409f1d,this[_0x5cc33a(0x36f)]=_0x4e5870,this[_0x5cc33a(0x1c9)]=_0x4063ee,this['_memberService']=_0x5b8a2c,this[_0x5cc33a(0x38a)]=_0x12fdc7,this[_0x5cc33a(0x35d)]=_0x34fc1d,this[_0x5cc33a(0x1fc)]=_0x42c103);}get[_0x4eaba6(0x336)](){const _0x1c703b=_0x4eaba6;return this[_0x1c703b(0x344)][_0x1c703b(0x38f)]();}get[_0x4eaba6(0x313)](){const _0xe47300=_0x4eaba6;return this[_0xe47300(0x389)][_0xe47300(0x38f)]();}[_0x4eaba6(0x2cb)](){const _0x43700f=_0x4eaba6;super[_0x43700f(0x2cb)](),this['_cursorInfo$'][_0x43700f(0x2d5)](new Map()),this['_cursorInfo$'][_0x43700f(0x26c)](),this[_0x43700f(0x389)][_0x43700f(0x2d5)]([]),this[_0x43700f(0x389)][_0x43700f(0x26c)]();}[_0x4eaba6(0x2c9)](){const _0x4e1256=_0x4eaba6;this[_0x4e1256(0x20e)]||(this[_0x4e1256(0x20e)]=!0x0,this[_0x4e1256(0x27c)]['sessionStatus$'][_0x4e1256(0x2b6)](_0x560bf3(this['dispose$']))[_0x4e1256(0x1fe)](_0x1eb6eb=>{const _0xf55714=_0x4e1256;_0x1eb6eb===_0x303de7['ONLINE']?this['_toggleOnline']():this[_0xf55714(0x2a0)]();}),this[_0x4e1256(0x27c)][_0x4e1256(0x390)][_0x4e1256(0x2b6)](_0x560bf3(this['dispose$']))[_0x4e1256(0x1fe)](_0x2fe82b=>{const _0x3874e7=_0x4e1256,_0x42ed81=_0x2fe82b[_0x3874e7(0x2b3)];_0x42ed81===_0x308cae[_0x3874e7(0x367)]&&this['_onCursorUpdate'](_0x2fe82b),_0x42ed81===_0x308cae[_0x3874e7(0x2d0)]&&this['_onCursorDelete'](_0x2fe82b);}),this['_onRefRangeChange'](),this[_0x4e1256(0x1ca)](this[_0x4e1256(0x35d)]['onCommandExecuted'](_0x4372d0=>{const _0x53f952=_0x4e1256;if(this[_0x53f952(0x337)]&&_0x4372d0['id']===_0x321a66['id']&&_0x4372d0[_0x53f952(0x2fd)][_0x53f952(0x38c)]===this['unitID']){const _0xe48755=_0x4372d0[_0x53f952(0x2fd)];this[_0x53f952(0x350)](_0xe48755[_0x53f952(0x2ed)],_0xe48755[_0x53f952(0x300)][0x0]);}})));}['_onCursorUpdate'](_0x4d3d26){const _0x3ffe7f=_0x4eaba6;var _0x53f130,_0x586dc7;const {memberID:_0x349fc1,selection:_0x4611fd}=_0x4d3d26[_0x3ffe7f(0x2bc)],{sheetName:_0x34f7c3,range:_0x4d55fe}=_0x340642(_0x4611fd),_0x2e684c={'name':(_0x586dc7=(_0x53f130=this['_memberService'][_0x3ffe7f(0x384)](this[_0x3ffe7f(0x2f5)],_0x349fc1))==null?void 0x0:_0x53f130[_0x3ffe7f(0x35f)])!=null?_0x586dc7:_0x3ffe7f(0x2e0),'range':this[_0x3ffe7f(0x290)](_0x34f7c3,_0x4d55fe),'sheetID':_0x34f7c3,'color':this[_0x3ffe7f(0x1c9)][_0x3ffe7f(0x37e)](_0x349fc1),'selection':_0x4611fd},_0x33d381=this[_0x3ffe7f(0x336)];_0x33d381[_0x3ffe7f(0x307)](_0x349fc1,_0x2e684c),this[_0x3ffe7f(0x344)]['next'](_0x33d381);}['_onCursorDelete'](_0x4380de){const _0x578af7=_0x4eaba6,{memberID:_0x54acae}=_0x4380de['data'],_0x1c8346=this[_0x578af7(0x336)];_0x1c8346['delete'](_0x54acae),this[_0x578af7(0x344)][_0x578af7(0x2d5)](_0x1c8346);}[_0x4eaba6(0x290)](_0x429f71,_0x1bc873){const _0x569a4d=_0x4eaba6;var _0xcb205a,_0x13aba4;const _0x207b1a=(_0x13aba4=(_0xcb205a=this[_0x569a4d(0x38a)]['getUniverSheetInstance'](this[_0x569a4d(0x2f5)]))==null?void 0x0:_0xcb205a[_0x569a4d(0x28f)](_0x429f71))==null?void 0x0:_0x13aba4[_0x569a4d(0x3c6)]();return(_0x207b1a==null?void 0x0:_0x207b1a[_0x569a4d(0x3a1)](_0xbd658d=>_0x22723d['contains'](_0xbd658d,_0x1bc873)))||_0x1bc873;}[_0x4eaba6(0x1cf)](){const _0x10ec64=_0x4eaba6,_0x10803c=new _0x3adbb7(),_0x1892e9=vi(),_0x2aa2b5=()=>{const _0x327344=_0xc929;_0x10803c['dispose']();const _0x40174e=(_0x2e8db6,_0x4f7aec,_0x4025b0,_0x574f44)=>{const _0x5d3b5e=_0xc929;let _0xea89ec=[];switch(_0x2e8db6['id']){case _0x4ff3ff[_0x5d3b5e(0x365)]:{_0xea89ec=_0x244fbe(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x341)]:{_0xea89ec=_0x4a1424(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x24a)]:{_0xea89ec=_0xce86ac(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff['InsertRangeMoveDownCommandId']:{_0xea89ec=_0xa12bc(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x2a4)]:{_0xea89ec=_0x5b822c(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x37a)]:{_0xea89ec=_0x22556e(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x2dd)]:{_0xea89ec=_0x5ce326(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x2b1)]:{_0xea89ec=_0x5f076d(_0x2e8db6,_0x574f44);break;}case _0x4ff3ff[_0x5d3b5e(0x28e)]:{_0xea89ec=_0x2ec563(_0x2e8db6,_0x574f44);break;}}const _0x4d9b8b=_0xe84e43(_0xea89ec,_0x574f44),_0x53c9b3=this['cursorInfo'][_0x5d3b5e(0x254)](_0x4f7aec);if(_0x53c9b3&&_0x4d9b8b){const _0x2ec65b={..._0x53c9b3,'range':_0x4d9b8b};this[_0x5d3b5e(0x336)][_0x5d3b5e(0x307)](_0x4f7aec,_0x2ec65b),_0x1892e9(()=>{const _0x58f5f6=_0x5d3b5e,_0x3f6383=this['_refRangeService']['registerRefRange'](_0x4d9b8b,_0x41eaae=>(_0x3f6383[_0x58f5f6(0x2cb)](),_0x40174e(_0x41eaae,_0x4f7aec,_0x4025b0,_0x4d9b8b)));_0x10803c[_0x58f5f6(0x24b)](_0x3f6383);});}return{'redos':[],'undos':[]};};this[_0x327344(0x336)][_0x327344(0x25c)]((_0x5a3663,_0x4a62a5)=>{const _0x5dcf4b=_0x327344,{range:_0x297296,sheetID:_0x4e9888}=_0x5a3663,_0x57ed47=this[_0x5dcf4b(0x1fc)]['registerRefRange'](_0x297296,_0x40e344=>(_0x57ed47[_0x5dcf4b(0x2cb)](),_0x40174e(_0x40e344,_0x4a62a5,_0x4e9888,_0x297296)));_0x10803c[_0x5dcf4b(0x24b)](_0x57ed47);});};this[_0x10ec64(0x1ca)](_0x453e2f(this[_0x10ec64(0x344)]['subscribe'](()=>{_0x2aa2b5();})));}['_toggleOnline'](){const _0x5ce492=_0x4eaba6;var _0x4f8841,_0x331fbb;if(this[_0x5ce492(0x337)]=!0x0,((_0x4f8841=this[_0x5ce492(0x38a)][_0x5ce492(0x21b)]())==null?void 0x0:_0x4f8841[_0x5ce492(0x373)]())!==this['unitID'])return;const _0x5a6621=(_0x331fbb=this[_0x5ce492(0x36f)][_0x5ce492(0x254)](_0x409888)['getCurrentSelections']())==null?void 0x0:_0x331fbb[0x0],_0x33704d=this[_0x5ce492(0x38a)][_0x5ce492(0x274)](_0x549840['UNIVER_SHEET'])[_0x5ce492(0x37c)]();_0x5a6621&&_0x33704d&&this[_0x5ce492(0x350)](_0x33704d[_0x5ce492(0x206)](),_0x5a6621);}[_0x4eaba6(0x2a0)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x18907d(_0x3e72ea)),x(0x3,_0x18907d(ke)),x(0x4,_0x18907d(_0x410d43)),x(0x5,_0x51bea5),x(0x6,_0xe6668b),x(0x7,_0x18907d(_0xaa34b8))],Me);var pi=Object[_0x4eaba6(0x293)],Ci=(_0xa3806a,_0x56f7b1,_0x4d39a1,_0x3c48e2)=>{const _0x1ede46=_0x4eaba6;for(var _0x3252a1=_0x3c48e2>0x1?void 0x0:_0x3c48e2?pi(_0x56f7b1,_0x4d39a1):_0x56f7b1,_0x42cb3b=_0xa3806a[_0x1ede46(0x2e6)]-0x1,_0x416e24;_0x42cb3b>=0x0;_0x42cb3b--)(_0x416e24=_0xa3806a[_0x42cb3b])&&(_0x3252a1=_0x416e24(_0x3252a1)||_0x3252a1);return _0x3252a1;},Se=(_0x2d9f7e,_0x46fd37)=>(_0x36ce59,_0x20d8a0)=>_0x46fd37(_0x36ce59,_0x20d8a0,_0x2d9f7e);let H=class extends _0x37b3a8{constructor(_0x45827d,_0x154c8c,_0x1cd5b1){const _0xb4f11e=_0x4eaba6;super(),_(this,'_entities',new Map()),_(this,_0xb4f11e(0x1f1),new _0x455e5b()),(this[_0xb4f11e(0x38a)]=_0x45827d,this[_0xb4f11e(0x36f)]=_0x154c8c,this[_0xb4f11e(0x320)]=_0x1cd5b1,this['_init']());}['dispose'](){const _0x4703d4=_0x4eaba6;super['dispose'](),this[_0x4703d4(0x1f1)]['complete'](),this[_0x4703d4(0x308)][_0x4703d4(0x25c)](_0x1297f3=>_0x1297f3[_0x4703d4(0x2cb)]());}[_0x4eaba6(0x30c)](_0xdd67d9){const _0x25857b=_0x4eaba6;return this[_0x25857b(0x308)][_0x25857b(0x1e9)](_0xdd67d9)?this[_0x25857b(0x308)]['get'](_0xdd67d9)['cursorInfo$']:this['_entityInit$']['pipe'](_0x2ffaa6(_0x3fa275=>_0x3fa275['unitID']===_0xdd67d9),_0x583a36(_0x35d8e9=>_0x35d8e9[_0x25857b(0x1fa)]));}[_0x4eaba6(0x20e)](){const _0x5cfddc=_0x4eaba6;this['_univerInstanceService'][_0x5cfddc(0x3b1)](_0x549840[_0x5cfddc(0x2ce)])[_0x5cfddc(0x2b6)](_0x560bf3(this['dispose$']))[_0x5cfddc(0x1fe)](async _0x420fb4=>{const _0x3b4d36=_0x5cfddc,_0x579b88=_0x420fb4['getUnitId'](),_0x5bf220=await this[_0x3b4d36(0x261)](_0x579b88);this[_0x3b4d36(0x1f1)]['next'](_0x5bf220),this[_0x3b4d36(0x308)][_0x3b4d36(0x307)](_0x579b88,_0x5bf220);}),this[_0x5cfddc(0x38a)][_0x5cfddc(0x3b1)](_0x549840['UNIVER_DOC'])[_0x5cfddc(0x2b6)](_0x560bf3(this[_0x5cfddc(0x237)]))[_0x5cfddc(0x2b6)](_0x2ffaa6(_0x3094ae=>!_0x3094ae[_0x5cfddc(0x373)]()[_0x5cfddc(0x2bb)]('__')))[_0x5cfddc(0x1fe)](async _0xc8202c=>{const _0x37b464=_0x5cfddc,_0x24b604=_0xc8202c[_0x37b464(0x373)](),_0x375ae7=await this[_0x37b464(0x352)](_0x24b604);this[_0x37b464(0x1f1)][_0x37b464(0x2d5)](_0x375ae7),this[_0x37b464(0x308)][_0x37b464(0x307)](_0x24b604,_0x375ae7);}),_0x168603(this[_0x5cfddc(0x38a)][_0x5cfddc(0x340)](_0x549840[_0x5cfddc(0x381)]),this[_0x5cfddc(0x38a)][_0x5cfddc(0x340)](_0x549840['UNIVER_SHEET']))[_0x5cfddc(0x2b6)](_0x560bf3(this[_0x5cfddc(0x237)]))[_0x5cfddc(0x1fe)](_0x56da7a=>{const _0x34be45=_0x5cfddc,_0xd6bbcc=_0x56da7a[_0x34be45(0x373)](),_0x208dc1=this[_0x34be45(0x308)]['get'](_0xd6bbcc);_0x208dc1&&(_0x208dc1['dispose'](),this[_0x34be45(0x308)][_0x34be45(0x2e9)](_0xd6bbcc));});}async['_startSheetCollabCursor'](_0x20a8a0){const _0x599c20=_0x4eaba6,_0x3e1e7b=await this[_0x599c20(0x320)][_0x599c20(0x347)](_0x20a8a0),_0x39e79f=this['_injector'][_0x599c20(0x277)](Me,_0x20a8a0,_0x3e1e7b);return _0x39e79f[_0x599c20(0x2c9)](),_0x39e79f;}async[_0x4eaba6(0x352)](_0x4c3626){const _0x2183f=_0x4eaba6,_0x5bf007=await this['_collabSessionService'][_0x2183f(0x347)](_0x4c3626),_0x174e8c=this[_0x2183f(0x36f)]['createInstance'](Ue,_0x4c3626,_0x5bf007);return _0x174e8c[_0x2183f(0x2c9)](),_0x174e8c;}};H=Ci([Se(0x0,_0x51bea5),Se(0x1,_0x18907d(_0x3e72ea)),Se(0x2,_0x18907d(_0x4fa7e6))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x392ef9,_0x2fa5df){const _0x4af9e3=_0x4eaba6;let {radius:_0x22c8a3,width:_0x46f6e2,height:_0x1f45e5}=_0x2fa5df;_0x22c8a3=_0x22c8a3!=null?_0x22c8a3:0x0,_0x46f6e2=_0x46f6e2!=null?_0x46f6e2:0x1e,_0x1f45e5=_0x1f45e5!=null?_0x1f45e5:0x1e;let _0x3d135d=0x0,_0x3bf1d5=0x0,_0x27e2d5=0x0;_0x3d135d=_0x3bf1d5=_0x27e2d5=Math[_0x4af9e3(0x2a3)](_0x22c8a3,_0x46f6e2/0x2,_0x1f45e5/0x2),_0x392ef9['beginPath'](),_0x392ef9[_0x4af9e3(0x23c)](_0x3d135d,0x0),_0x392ef9[_0x4af9e3(0x2c3)](_0x46f6e2-_0x3bf1d5,0x0),_0x392ef9[_0x4af9e3(0x243)](_0x46f6e2-_0x3bf1d5,_0x3bf1d5,_0x3bf1d5,Math['PI']*0x3/0x2,0x0,!0x1),_0x392ef9[_0x4af9e3(0x2c3)](_0x46f6e2,_0x1f45e5-_0x27e2d5),_0x392ef9[_0x4af9e3(0x243)](_0x46f6e2-_0x27e2d5,_0x1f45e5-_0x27e2d5,_0x27e2d5,0x0,Math['PI']/0x2,!0x1),_0x392ef9['lineTo'](0x0,_0x1f45e5),_0x392ef9[_0x4af9e3(0x2c3)](0x0,_0x3d135d),_0x392ef9['arc'](_0x3d135d,_0x3d135d,_0x3d135d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x392ef9[_0x4af9e3(0x2a9)](),_0x2fa5df[_0x4af9e3(0x1fd)]&&(_0x392ef9['save'](),_0x392ef9[_0x4af9e3(0x2cd)]=_0x2fa5df[_0x4af9e3(0x1fd)],_0x2fa5df[_0x4af9e3(0x286)]===_0x4af9e3(0x271)?_0x392ef9[_0x4af9e3(0x1fd)](_0x4af9e3(0x271)):_0x392ef9['fill'](),_0x392ef9['restore']());}class he extends _0x4d4cf9{constructor(_0x2f3c40,_0x589fe4){const _0x467770=_0x4eaba6;super(_0x2f3c40,_0x589fe4),_(this,_0x467770(0x2f7)),_(this,_0x467770(0x328)),(this[_0x467770(0x2f7)]=_0x589fe4==null?void 0x0:_0x589fe4[_0x467770(0x2f7)],this[_0x467770(0x328)]=_0x589fe4==null?void 0x0:_0x589fe4[_0x467770(0x328)]);}static['drawWith'](_0x349712,_0x585730){const _0x31ee38=_0x4eaba6,{text:_0x48f8f9,color:_0x2f50b9}=_0x585730;_0x349712[_0x31ee38(0x1e0)](),_0x349712['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xf9331f=_0x349712[_0x31ee38(0x1f5)](_0x48f8f9)[_0x31ee38(0x1e1)],_0x24e015=Math['min'](_0xf9331f+0x2*me,Qe);Oi(_0x349712,{'height':ee,'radius':0x4,'width':_0x24e015,'fill':_0x2f50b9}),_0x349712[_0x31ee38(0x2cd)]=_0x31ee38(0x1e2);const _0x53fd48=me,_0x538fd4=ee-Ei,_0x443ce9=Qe-0x2*me;if(_0xf9331f>_0x443ce9){let _0x26ee1b='',_0x2de2a3=0x0;for(const _0x7c6e86 of _0x48f8f9){const _0xe4e18f=_0x349712[_0x31ee38(0x1f5)](_0x7c6e86)['width'];if(_0x2de2a3+_0xe4e18f<=_0x443ce9-_0x349712[_0x31ee38(0x1f5)](_0x31ee38(0x31f))[_0x31ee38(0x1e1)])_0x26ee1b+=_0x7c6e86,_0x2de2a3+=_0xe4e18f;else{_0x26ee1b+=_0x31ee38(0x31f);break;}}_0x349712[_0x31ee38(0x1e5)](_0x26ee1b,_0x53fd48,_0x538fd4);}else _0x349712['fillText'](_0x48f8f9,_0x53fd48,_0x538fd4);_0x349712[_0x31ee38(0x3c8)]();}[_0x4eaba6(0x29f)](_0xaeffcc){const _0x47fb96=_0x4eaba6;he[_0x47fb96(0x246)](_0xaeffcc,this);}}const Ie='collab-text-anchor-',bi=_0x4eaba6(0x20d),Ti=_0x4eaba6(0x2c4),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x4eaba6(0x1db);class qe{constructor(_0x4adf68,_0xd8fd4c,_0x32ce92,_0x3fa86b){const _0x214d55=_0x4eaba6;_(this,_0x214d55(0x3cd),[]),_(this,'_anchor',null),_(this,_0x214d55(0x1d5),null),_(this,_0x214d55(0x217),null),_(this,'_hideTimer',null),_(this,_0x214d55(0x1ed),null),(this[_0x214d55(0x33e)]=_0x4adf68,this[_0x214d55(0x2fe)]=_0xd8fd4c,this[_0x214d55(0x322)]=_0x32ce92,this[_0x214d55(0x25b)]=_0x3fa86b,this[_0x214d55(0x3ad)]());}set[_0x4eaba6(0x3b5)](_0x5bc465){const _0x4ca5e9=_0x4eaba6;_0x5bc465?(this[_0x4ca5e9(0x217)]&&this[_0x4ca5e9(0x217)][_0x4ca5e9(0x203)](),this['_textBubble']&&this[_0x4ca5e9(0x1d5)][_0x4ca5e9(0x3c5)]()):(this[_0x4ca5e9(0x217)]&&this[_0x4ca5e9(0x217)][_0x4ca5e9(0x3c5)](),this[_0x4ca5e9(0x1d5)]&&this[_0x4ca5e9(0x1d5)][_0x4ca5e9(0x203)]());}['dispose'](){const _0x3a2b60=_0x4eaba6;for(const _0x6f2f50 of this['_shapes'])_0x6f2f50[_0x3a2b60(0x2cb)]();this[_0x3a2b60(0x1d5)]&&this[_0x3a2b60(0x1d5)][_0x3a2b60(0x2cb)](),this[_0x3a2b60(0x217)]&&this['_anchorDot'][_0x3a2b60(0x2cb)](),this[_0x3a2b60(0x325)]&&this['_anchor'][_0x3a2b60(0x2cb)](),this[_0x3a2b60(0x1ed)]&&this[_0x3a2b60(0x1ed)]();}[_0x4eaba6(0x3ad)](){const _0x2ea09b=_0x4eaba6;var _0x1b628d;const {_docSkeleton:_0x1bc986,_document:_0x13f36a}=this,{color:_0x875bc3,name:_0xeeb52b,ranges:_0x2a4dbe}=this[_0x2ea09b(0x33e)],_0x3a152c=_0x13f36a[_0x2ea09b(0x298)](),{docsLeft:_0x49dc72,docsTop:_0x2c1fea}=_0x3a152c,_0x50313b=new _0x2b6661(_0x3a152c,_0x1bc986);for(const {startOffset:_0x13582c,endOffset:_0x2a0abe,rangeType:_0x1efd67,segmentId:_0x63c1dd,segmentPage:_0x4c0a67,collapsed:_0x2a0630,isActive:_0x2bca96}of _0x2a4dbe){const _0x1d7b1a=_0x1bc986[_0x2ea09b(0x3ca)](_0x13582c,!0x0,_0x63c1dd,_0x4c0a67);let _0x52787b=_0x1bc986['findNodePositionByCharIndex'](_0x2a0abe,!0x0,_0x63c1dd,_0x4c0a67);if(_0x52787b==null&&(_0x52787b=_0x1bc986[_0x2ea09b(0x3ca)](_0x2a0abe-0x1,!0x1,_0x63c1dd,_0x4c0a67)),_0x2bca96){const {contentBoxPointGroup:_0x2c27d9}=_0x50313b[_0x2ea09b(0x220)](_0x52787b,_0x52787b);if(_0x2c27d9[_0x2ea09b(0x2e6)]===0x0)continue;this[_0x2ea09b(0x351)](_0x875bc3,_0x2c27d9,_0x49dc72,_0x2c1fea,_0xeeb52b),this[_0x2ea09b(0x1ed)]=this[_0x2ea09b(0x34f)]();}if(_0x1d7b1a&&_0x52787b){if(_0x1efd67===_0x1d1929[_0x2ea09b(0x2af)]){const _0x4be60a=new _0x5db283(_0x3a152c,_0x1bc986),{pointGroup:_0x1cb2fd}=(_0x1b628d=_0x4be60a['getRangePointData'](_0x1d7b1a,_0x52787b))!=null?_0x1b628d:{};if(_0x1cb2fd==null||_0x1cb2fd[_0x2ea09b(0x2e6)]===0x0)continue;this[_0x2ea09b(0x338)](_0x875bc3,_0x1cb2fd,_0x49dc72,_0x2c1fea);}else{if(!_0x2a0630){const {borderBoxPointGroup:_0x51fb37}=_0x50313b['getRangePointData'](_0x1d7b1a,_0x52787b);if(_0x51fb37[_0x2ea09b(0x2e6)]===0x0)continue;this['_drawTextRange'](_0x875bc3,_0x51fb37,_0x49dc72,_0x2c1fea);}}}}}['_drawAnchor'](_0x5ecd2d,_0x315912,_0x4d2ec2,_0x183993,_0x116475){const _0x11024f=_0x4eaba6,_0x52df1e=this[_0x11024f(0x2ba)](_0x315912),{left:_0x128d43,top:_0x3f4cdc,height:_0x4443ea}=_0x52df1e,_0x2bcc5f=this['_getScale'](),_0x1ed6db=Di/_0x2bcc5f,_0x136137=new _0x425401(Ie+_0x50e33b[_0x11024f(0x281)](X),{'left':_0x128d43+_0x4d2ec2-_0x1ed6db,'top':_0x3f4cdc+_0x183993,'height':_0x4443ea,'width':Ri,'fill':_0x5ecd2d||_0x21b00f(_0x4a6564[_0x11024f(0x2ac)],0x0),'strokeWidth':_0x1ed6db,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x136137,this[_0x11024f(0x2fe)]['addObject'](_0x136137,_0x1ca82e);const _0x2c1ced=new _0x425401(Ie+_0x50e33b[_0x11024f(0x281)](X),{'left':_0x128d43+_0x4d2ec2-_0x1ed6db,'top':_0x3f4cdc+_0x183993-ge/0x2,'height':ge,'width':ge,'fill':_0x5ecd2d||_0x21b00f(_0x4a6564[_0x11024f(0x2ac)],0x0),'strokeWidth':0x0,'stroke':_0x5ecd2d||_0x21b00f(_0x4a6564[_0x11024f(0x2ac)],0x0),'evented':!0x1});this[_0x11024f(0x217)]=_0x2c1ced,this['_scene']['addObject'](_0x2c1ced,_0x1ca82e);const _0x1f505b=new he(Ie+_0x50e33b[_0x11024f(0x281)](X),{'left':_0x128d43+_0x4d2ec2-_0x1ed6db,'top':_0x3f4cdc+_0x183993-ee,'text':_0x116475,'color':_0x5ecd2d});this[_0x11024f(0x1d5)]=_0x1f505b,this[_0x11024f(0x2fe)]['addObject'](_0x1f505b,_0x1ca82e),this[_0x11024f(0x3b5)]=!0x1;}[_0x4eaba6(0x34f)](){const _0x2a8abe=_0x4eaba6,_0x15cdf5=this['_anchor'][_0x2a8abe(0x382)][_0x2a8abe(0x264)](()=>{const _0x2a9f77=_0x2a8abe;this[_0x2a9f77(0x3b5)]=!0x0;}),_0x5142cd=this[_0x2a8abe(0x325)][_0x2a8abe(0x33d)][_0x2a8abe(0x264)](()=>{const _0x132044=_0x2a8abe;this[_0x132044(0x2d4)]&&clearTimeout(this[_0x132044(0x2d4)]),this['_hideTimer']=setTimeout(()=>{const _0x3c3b2f=_0x132044;this[_0x3c3b2f(0x3b5)]=!0x1;},0x7d0);});return()=>{const _0x38f867=_0x2a8abe;_0x15cdf5[_0x38f867(0x2a5)](),_0x5142cd['unsubscribe']();};}[_0x4eaba6(0x28a)](_0x2675d5,_0x593c44,_0x578a62,_0x3836bf){const _0x48e272=_0x4eaba6,_0x4cff42=new _0x288d49(_0x2675d5)[_0x48e272(0x250)](0.2)[_0x48e272(0x2df)](),_0x429afb=new _0x283506(bi+_0x50e33b[_0x48e272(0x281)](X),{'pointsGroup':_0x593c44,'fill':_0x4cff42||_0x21b00f(_0x4a6564[_0x48e272(0x2ac)],0.2),'left':_0x578a62,'top':_0x3836bf,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48e272(0x3cd)][_0x48e272(0x36c)](_0x429afb),this[_0x48e272(0x2fe)]['addObject'](_0x429afb,_0x1ca82e);}[_0x4eaba6(0x338)](_0x1bfd52,_0x594b70,_0x20e5e0,_0xc53100){const _0x12a5fb=_0x4eaba6,_0x4d1b2a=new _0x288d49(_0x1bfd52)[_0x12a5fb(0x250)](0.2)['toRgbString'](),_0x538602=new _0x283506(Ti+_0x50e33b[_0x12a5fb(0x281)](X),{'pointsGroup':_0x594b70,'fill':_0x4d1b2a||_0x21b00f(_0x4a6564[_0x12a5fb(0x2ac)],0.2),'left':_0x20e5e0,'top':_0xc53100,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x12a5fb(0x3cd)][_0x12a5fb(0x36c)](_0x538602),this['_scene'][_0x12a5fb(0x25a)](_0x538602,_0x1ca82e);}['_getAnchorBounding'](_0x472843){const _0x2cfedb=_0x472843[0x0],_0x2e0e8c=_0x2cfedb[0x0],_0x389728=_0x2cfedb[0x2],{x:_0x120b30,y:_0x168c48}=_0x2e0e8c,{x:_0xf8a59c,y:_0x47b859}=_0x389728;return{'left':_0x120b30,'top':_0x168c48,'width':_0xf8a59c-_0x120b30,'height':_0x47b859-_0x168c48};}[_0x4eaba6(0x2cc)](){const _0x45dd45=_0x4eaba6,{scaleX:_0x241e87,scaleY:_0x595c86}=this[_0x45dd45(0x2fe)]['getAncestorScale']();return Math[_0x45dd45(0x21f)](_0x241e87,_0x595c86);}}var Ui=Object[_0x4eaba6(0x293)],Mi=(_0x2c623b,_0x5c1f2b,_0xe6963c,_0x1bf969)=>{const _0x3f1576=_0x4eaba6;for(var _0x441e75=_0x1bf969>0x1?void 0x0:_0x1bf969?Ui(_0x5c1f2b,_0xe6963c):_0x5c1f2b,_0x8ae13e=_0x2c623b[_0x3f1576(0x2e6)]-0x1,_0x3df98d;_0x8ae13e>=0x0;_0x8ae13e--)(_0x3df98d=_0x2c623b[_0x8ae13e])&&(_0x441e75=_0x3df98d(_0x441e75)||_0x441e75);return _0x441e75;},Z=(_0x2fceb1,_0x32f9b7)=>(_0x29c7f9,_0x786dde)=>_0x32f9b7(_0x29c7f9,_0x786dde,_0x2fceb1);let we=class extends _0x37b3a8{constructor(_0x58e0bf,_0xbd342f,_0x383692,_0x4142e7,_0x56577e){const _0x5312c8=_0x4eaba6;super(),_(this,_0x5312c8(0x391),[]),_(this,_0x5312c8(0x253),[]),(this[_0x5312c8(0x245)]=_0x58e0bf,this[_0x5312c8(0x31a)]=_0xbd342f,this[_0x5312c8(0x24d)]=_0x383692,this[_0x5312c8(0x35d)]=_0x4142e7,this['_themeService']=_0x56577e,this['_init']());}[_0x4eaba6(0x20e)](){const _0x5aeb1c=_0x4eaba6,_0x35e3e4=this[_0x5aeb1c(0x245)][_0x5aeb1c(0x38c)],_0x48a9f2=this[_0x5aeb1c(0x31a)];this[_0x5aeb1c(0x1ca)](_0x538dd7([this[_0x5aeb1c(0x24d)][_0x5aeb1c(0x30c)](_0x35e3e4),this[_0x5aeb1c(0x3ac)]['currentTheme$']])['pipe'](_0x4bdb36(([_0x5961ae,_0x4ed92c])=>({'skeleton':_0x48a9f2[_0x5aeb1c(0x34e)](),'cursors':[..._0x5961ae['values']()][_0x5aeb1c(0x2ff)](_0x3d74e8=>({..._0x3d74e8,'color':this[_0x5aeb1c(0x3ac)][_0x5aeb1c(0x244)](_0x3d74e8[_0x5aeb1c(0x2f7)])}))})))[_0x5aeb1c(0x1fe)](_0x33b307=>{const _0x4a2344=_0x5aeb1c;if(this[_0x4a2344(0x222)](),_0x33b307){const {skeleton:_0xd2288b,cursors:_0x4e3485}=_0x33b307;this[_0x4a2344(0x326)](_0xd2288b,_0x4e3485);}})),this[_0x5aeb1c(0x3bc)](),this[_0x5aeb1c(0x2c1)]();}['_updateCollabCursors'](_0x5dc23a,_0x591ae4){const _0x34e258=_0x4eaba6,{scene:_0x2815a3,mainComponent:_0x384ed4}=this[_0x34e258(0x245)],_0x5373d0=_0x591ae4['map'](_0x1d3bfe=>new qe(_0x1d3bfe,_0x2815a3,_0x5dc23a,_0x384ed4));this[_0x34e258(0x391)]=_0x5373d0,this[_0x34e258(0x253)]=_0x591ae4;}[_0x4eaba6(0x26d)](){const _0x5619bc=_0x4eaba6;this['_removeCollabCursors']();const {scene:_0x1344d0,mainComponent:_0x5c08ba}=this['_context'],_0x554de1=this['_docSkeletonManagerService'][_0x5619bc(0x34e)](),_0x3f9b64=this['_cursors'][_0x5619bc(0x2cf)](_0x200d1b=>new qe(_0x200d1b,_0x1344d0,_0x554de1,_0x5c08ba));this['_cursorShapes']=_0x3f9b64;}[_0x4eaba6(0x222)](){const _0x12e20e=_0x4eaba6;this[_0x12e20e(0x391)][_0x12e20e(0x25c)](_0x4cbe23=>_0x4cbe23[_0x12e20e(0x2cb)]()),this[_0x12e20e(0x391)]=[];}['_initCommandExecutedListener'](){const _0x2d4cc4=_0x4eaba6,_0xdd7ae9=[_0x32d3ed['id']];this[_0x2d4cc4(0x1ca)](this[_0x2d4cc4(0x35d)]['onCommandExecuted'](_0x169842=>{const _0x3faa4a=_0x2d4cc4;_0xdd7ae9[_0x3faa4a(0x2aa)](_0x169842['id'])&&_0x169842[_0x3faa4a(0x2fd)][_0x3faa4a(0x38c)]===this[_0x3faa4a(0x245)][_0x3faa4a(0x38c)]&&this[_0x3faa4a(0x26d)]();}));}[_0x4eaba6(0x3bc)](){const _0x492c54=_0x4eaba6;this[_0x492c54(0x1ca)](_0x4c81bc(this[_0x492c54(0x245)]['engine']['onTransformChange$'])[_0x492c54(0x2b6)](_0x50b544(_0x258167=>_0x258167[_0x492c54(0x291)]===_0x36e34f[_0x492c54(0x37d)]),_0x4abe90(0x10))[_0x492c54(0x1fe)](()=>{const _0x400629=_0x492c54;this[_0x400629(0x26d)]();}));}};we=Mi([Z(0x1,_0x18907d(_0x4076e2)),Z(0x2,_0x18907d(H)),Z(0x3,_0xe6668b),Z(0x4,_0x18907d(_0x43d9fb))],we);const wi=0x1,Pi=1.5;class Li extends _0x4d4cf9{constructor(_0x4f14cf,_0x2452a7){const _0x1f1984=_0x4eaba6;super(_0x4f14cf,_0x2452a7),_(this,_0x1f1984(0x39d)),_(this,'_hovered',!0x1),_(this,_0x1f1984(0x319)),_(this,_0x1f1984(0x385),''),_(this,_0x1f1984(0x1d9),_0x1f1984(0x2de)),_(this,_0x1f1984(0x393)),(_0x2452a7&&this[_0x1f1984(0x1f2)](_0x2452a7),this[_0x1f1984(0x382)][_0x1f1984(0x264)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1f1984(0x33d)][_0x1f1984(0x264)](()=>this[_0x1f1984(0x1f2)]({'hovered':!0x1})));}[_0x4eaba6(0x1f2)](_0x49e08c){const _0x1e6aef=_0x4eaba6;var _0x2de38b,_0x2bc49a,_0x1c984a,_0x21484c,_0x4ec7fc,_0x184892;this[_0x1e6aef(0x39d)]=(_0x2de38b=_0x49e08c[_0x1e6aef(0x2f7)])!=null?_0x2de38b:this['_color'],this[_0x1e6aef(0x215)]=(_0x2bc49a=_0x49e08c['hovered'])!=null?_0x2bc49a:this[_0x1e6aef(0x215)],this[_0x1e6aef(0x319)]=(_0x1c984a=_0x49e08c[_0x1e6aef(0x2e4)])!=null?_0x1c984a:this[_0x1e6aef(0x319)],this[_0x1e6aef(0x385)]=(_0x21484c=_0x49e08c[_0x1e6aef(0x35f)])!=null?_0x21484c:this['_name'],this[_0x1e6aef(0x1d9)]=(_0x4ec7fc=_0x49e08c['labelPosition'])!=null?_0x4ec7fc:this[_0x1e6aef(0x1d9)],this['_backgroundColor']=(_0x184892=_0x49e08c[_0x1e6aef(0x35c)])!=null?_0x184892:this[_0x1e6aef(0x393)],this[_0x1e6aef(0x36d)]({'width':_0x49e08c[_0x1e6aef(0x1e1)],'height':_0x49e08c[_0x1e6aef(0x2a1)]});}['onMouseMove'](_0xe361e4){const _0x24f69d=_0x4eaba6,{row:_0x1a2d14,column:_0x1a90ce}=_0xe361e4;if(_0x1a2d14>=this[_0x24f69d(0x319)][_0x24f69d(0x257)]&&_0x1a2d14<=this['_range'][_0x24f69d(0x1cb)]&&_0x1a90ce>=this[_0x24f69d(0x319)][_0x24f69d(0x327)]&&_0x1a90ce<=this['_range'][_0x24f69d(0x3b9)]){this[_0x24f69d(0x1f2)]({'hovered':!0x0});return;}this[_0x24f69d(0x1f2)]({'hovered':!0x1});}[_0x4eaba6(0x2f6)](_0x5e6ce8){return!0x1;}[_0x4eaba6(0x29f)](_0xb3f431){const _0x53a1f9=_0x4eaba6;_0x425401['drawWith'](_0xb3f431,{'width':this[_0x53a1f9(0x1e1)],'height':this[_0x53a1f9(0x2a1)],'strokeWidth':Pi,'stroke':this[_0x53a1f9(0x39d)],'evented':!0x1,'fill':this[_0x53a1f9(0x393)]}),this['_hovered']&&(_0xb3f431['save'](),_0xb3f431[_0x53a1f9(0x233)](0x1,0x0,0x0,0x1,this[_0x53a1f9(0x1e1)],this[_0x53a1f9(0x1d9)]===_0x53a1f9(0x2ee)?0x0:-0x14),he[_0x53a1f9(0x246)](_0xb3f431,{'text':this[_0x53a1f9(0x385)],'color':this[_0x53a1f9(0x39d)]}),_0xb3f431[_0x53a1f9(0x3c8)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x21b1b0,_0x5b92a5,_0x3d68fe,_0x15f59d)=>{const _0x2d30f1=_0x4eaba6;for(var _0x5b2580=_0x15f59d>0x1?void 0x0:_0x15f59d?Ai(_0x5b92a5,_0x3d68fe):_0x5b92a5,_0x5007d8=_0x21b1b0[_0x2d30f1(0x2e6)]-0x1,_0x469d8b;_0x5007d8>=0x0;_0x5007d8--)(_0x469d8b=_0x21b1b0[_0x5007d8])&&(_0x5b2580=_0x469d8b(_0x5b2580)||_0x5b2580);return _0x5b2580;},ve=(_0x31c7d8,_0x478b88)=>(_0x59aa90,_0x217d5c)=>_0x478b88(_0x59aa90,_0x217d5c,_0x31c7d8);const $i=0x1389;let Pe=class extends _0x37b3a8{constructor(_0x2aba45,_0x52b186,_0x4c6107,_0x4ee487){const _0x533ab2=_0x4eaba6;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x533ab2(0x245)]=_0x2aba45,this[_0x533ab2(0x3c1)]=_0x52b186,this[_0x533ab2(0x24d)]=_0x4c6107,this[_0x533ab2(0x3ac)]=_0x4ee487,this[_0x533ab2(0x20e)]());}[_0x4eaba6(0x20e)](){const _0x443bc3=_0x4eaba6;this['_sheetSkeletonManagerService'][_0x443bc3(0x39a)][_0x443bc3(0x2b6)](_0x38fa3e(this[_0x443bc3(0x237)]),_0x546c4e(_0x4617f4=>{const _0x4d61c6=_0x443bc3;if(_0x4617f4){const _0x1bbe22=_0x4617f4['sheetId'];return _0x538dd7(this[_0x4d61c6(0x24d)][_0x4d61c6(0x30c)](this['_context'][_0x4d61c6(0x38c)]),this[_0x4d61c6(0x3ac)][_0x4d61c6(0x265)])['pipe'](_0x4bdb36(([_0x1c3f74,_0x2c1faa])=>{const _0x1b0748=new Map();return _0x1c3f74['forEach']((_0x572fb1,_0x1e17a9)=>{const _0x11a81e=_0xc929;if(_0x572fb1[_0x11a81e(0x267)]===_0x1bbe22){const _0xfd6be6={..._0x572fb1};_0xfd6be6[_0x11a81e(0x2f7)]=this[_0x11a81e(0x3ac)]['getColorFromTheme'](_0x572fb1[_0x11a81e(0x2f7)]),_0x1b0748[_0x11a81e(0x307)](_0x1e17a9,_0xfd6be6);}}),{'skeleton':_0x4617f4,'cursors':_0x1b0748};}));}return _0x5961a7({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x36cac1,cursors:_0x3930c4})=>{const _0x4701c9=_0x443bc3;this[_0x4701c9(0x222)](),_0x36cac1&&this[_0x4701c9(0x326)](_0x36cac1,_0x3930c4);}),this[_0x443bc3(0x3c1)][_0x443bc3(0x39a)][_0x443bc3(0x1fe)](_0x5a71a6=>{const _0x289ea3=_0x443bc3;if(_0x5a71a6==null)return;const {skeleton:_0x5c141d}=_0x5a71a6,{scene:_0xbed929}=this[_0x289ea3(0x245)];_0xbed929[_0x289ea3(0x30a)][_0x289ea3(0x264)](_0x4e6b06(_0xdb1785=>{const _0x3c13ce=_0x289ea3;var _0x84c060,_0x49a36c;const {offsetX:_0x42438e,offsetY:_0x1ae333}=_0xdb1785,{x:_0x366b44,y:_0x145d97}=_0xbed929[_0x3c13ce(0x349)](_0x57e231[_0x3c13ce(0x2ca)]([_0x42438e,_0x1ae333])),{scaleX:_0x5abea9,scaleY:_0x140328}=_0xbed929['getAncestorScale'](),_0x34b94c=_0xbed929[_0x3c13ce(0x1e7)](_0x32a6d8[_0x3c13ce(0x2bf)]),_0x3c3033=_0xbed929[_0x3c13ce(0x2c5)](_0x57e231[_0x3c13ce(0x2ca)]([_0x366b44,_0x145d97]),_0x34b94c),_0x151063=_0x5c141d[_0x3c13ce(0x200)](_0x42438e,_0x1ae333,_0x5abea9,_0x140328,_0x3c3033);((_0x84c060=this[_0x3c13ce(0x278)])==null?void 0x0:_0x84c060[_0x3c13ce(0x212)])===_0x151063[_0x3c13ce(0x212)]&&((_0x49a36c=this[_0x3c13ce(0x278)])==null?void 0x0:_0x49a36c[_0x3c13ce(0x1d4)])===_0x151063[_0x3c13ce(0x1d4)]||this[_0x3c13ce(0x253)][_0x3c13ce(0x25c)](_0x14fb98=>{_0x14fb98['onMouseMove'](_0x151063);});},0x64));});}[_0x4eaba6(0x326)](_0x3dbdf4,_0x27572a){const _0x6da43d=_0x4eaba6;var _0x11f39d;const _0x722da6=(_0x11f39d=this['_sheetSkeletonManagerService'][_0x6da43d(0x20f)]())==null?void 0x0:_0x11f39d[_0x6da43d(0x219)];if(!_0x722da6)return;const _0x85a236=this['_getSheetObject']();if(!_0x85a236)return;this[_0x6da43d(0x253)][_0x6da43d(0x25c)](_0x4fa4b1=>{const _0x1239b9=_0x6da43d;_0x4fa4b1[_0x1239b9(0x3aa)]();});const {scene:_0x4059a8}=_0x85a236,_0x368b11=xi(Array[_0x6da43d(0x242)](_0x27572a[_0x6da43d(0x1dc)]()))[_0x6da43d(0x2cf)](_0x252f7d=>{const {color:_0x2bac30,range:_0x48958e,name:_0x5bc443,selection:_0x13422b,sheetID:_0x1f18c0}=_0x252f7d,{startColumn:_0x1cc2b2,startRow:_0x2ab82a,endColumn:_0x22751a,endRow:_0x38e1c4}=_0x48958e,_0x418684=_0x3cc264(_0x2ab82a,_0x1cc2b2,_0x4059a8,_0x722da6),_0x53b12f=_0x3cc264(_0x38e1c4,_0x22751a,_0x4059a8,_0x722da6),{columnHeaderHeightAndMarginTop:_0x5827c8}=_0x722da6,{startX:_0x4a038c,startY:_0x48d10f}=_0x418684,{endX:_0x234e72,endY:_0x5c26e6}=_0x53b12f,_0x5aa9e9=_0x234e72-_0x4a038c,_0x241906=_0x5c26e6-_0x48d10f,_0x25d3fe={'labelPosition':_0x48d10f-_0x5827c8>=ee?'top':'bottom','sheetID':_0x1f18c0,'range':_0x48958e,'color':_0x2bac30,'name':_0x5bc443,'selection':_0x13422b,'left':_0x4a038c,'top':_0x48d10f,'width':_0x5aa9e9,'height':_0x241906,'evented':!0x1,'zIndex':$i};return new Li(_0x5bc443,_0x25d3fe);});_0x4059a8[_0x6da43d(0x26b)](_0x368b11,wi),this[_0x6da43d(0x253)]=new Set(_0x368b11);}['_removeCollabCursors'](){const _0x272743=_0x4eaba6;var _0x22a64e;(_0x22a64e=this[_0x272743(0x253)])==null||_0x22a64e[_0x272743(0x25c)](_0x4fc1c3=>_0x4fc1c3[_0x272743(0x2cb)]());}[_0x4eaba6(0x276)](){const _0x49a588=_0x4eaba6;return _0x7c6242(this['_context'][_0x49a588(0x399)],this[_0x49a588(0x245)]);}};Pe=yi([ve(0x1,_0x18907d(_0x42870f)),ve(0x2,_0x18907d(H)),ve(0x3,_0x18907d(_0x43d9fb))],Pe);function xi(_0x43ce45){const _0xd545e4=_0x4eaba6,_0x3b4b84=new Map();return _0x43ce45[_0xd545e4(0x25c)](_0x4a949a=>{const _0x47bf03=_0xd545e4;if(_0x3b4b84[_0x47bf03(0x1e9)](_0x4a949a[_0x47bf03(0x318)])){const _0x30cc07=_0x3b4b84['get'](_0x4a949a[_0x47bf03(0x318)]);_0x30cc07['name']+=',\x20'+_0x4a949a[_0x47bf03(0x35f)];}else _0x3b4b84[_0x47bf03(0x307)](_0x4a949a['selection'],_0x4a949a);}),Array[_0xd545e4(0x242)](_0x3b4b84[_0xd545e4(0x1dc)]());}var v=function(){const _0x4d6411=_0x4eaba6;return v=Object['assign']||function(_0x43156a){const _0x1def20=_0xc929;for(var _0x1639cc,_0x3edabb=0x1,_0xed84f8=arguments[_0x1def20(0x2e6)];_0x3edabb<_0xed84f8;_0x3edabb++){_0x1639cc=arguments[_0x3edabb];for(var _0x28a6d0 in _0x1639cc)Object['prototype'][_0x1def20(0x256)][_0x1def20(0x3b3)](_0x1639cc,_0x28a6d0)&&(_0x43156a[_0x28a6d0]=_0x1639cc[_0x28a6d0]);}return _0x43156a;},v[_0x4d6411(0x2e3)](this,arguments);},Bi=function(_0x22d099,_0x48df54){const _0x3f2447=_0x4eaba6;var _0x487935={};for(var _0x33d8e7 in _0x22d099)Object[_0x3f2447(0x30f)][_0x3f2447(0x256)]['call'](_0x22d099,_0x33d8e7)&&_0x48df54[_0x3f2447(0x263)](_0x33d8e7)<0x0&&(_0x487935[_0x33d8e7]=_0x22d099[_0x33d8e7]);if(_0x22d099!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x2b0111=0x0,_0x33d8e7=Object[_0x3f2447(0x23e)](_0x22d099);_0x2b0111<_0x33d8e7[_0x3f2447(0x2e6)];_0x2b0111++)_0x48df54[_0x3f2447(0x263)](_0x33d8e7[_0x2b0111])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x3f2447(0x3b3)](_0x22d099,_0x33d8e7[_0x2b0111])&&(_0x487935[_0x33d8e7[_0x2b0111]]=_0x22d099[_0x33d8e7[_0x2b0111]]);}return _0x487935;},je=_0x1d46e0(function(_0x59ff71,_0x2968e5){const _0x25dba9=_0x4eaba6;var _0x3ca8ae=_0x59ff71[_0x25dba9(0x241)],_0x29a55b=_0x59ff71['id'],_0x31fa2d=_0x59ff71[_0x25dba9(0x38b)],_0x316ea6=_0x59ff71[_0x25dba9(0x282)],_0x6f1ec2=Bi(_0x59ff71,['icon','id','className','extend']),_0x511cff=_0x25dba9(0x355)[_0x25dba9(0x339)](_0x29a55b,'\x20')[_0x25dba9(0x339)](_0x31fa2d||'')[_0x25dba9(0x270)](),_0xe30716=_0x92dff0('_'[_0x25dba9(0x339)](ji()));return Rt(_0x3ca8ae,''[_0x25dba9(0x339)](_0x29a55b),{'defIds':_0x3ca8ae[_0x25dba9(0x1cd)],'idSuffix':_0xe30716[_0x25dba9(0x3ba)]},v({'ref':_0x2968e5,'className':_0x511cff},_0x6f1ec2),_0x316ea6);});function Rt(_0x1fe355,_0x46f562,_0x1d420f,_0x565080,_0x461a11){const _0x212d0=_0x4eaba6;return _0x50bcce(_0x1fe355['tag'],v(v({'key':_0x46f562},ki(_0x1fe355,_0x1d420f,_0x461a11)),_0x565080),(Hi(_0x1fe355,_0x1d420f)['children']||[])[_0x212d0(0x2cf)](function(_0x9417dc,_0x523d81){const _0x598e54=_0x212d0;return Rt(_0x9417dc,''[_0x598e54(0x339)](_0x46f562,'-')[_0x598e54(0x339)](_0x1fe355[_0x598e54(0x228)],'-')[_0x598e54(0x339)](_0x523d81),_0x1d420f,void 0x0,_0x461a11);}));}function ki(_0x278149,_0x48ed7e,_0x180ff1){const _0x3e13a8=_0x4eaba6;var _0x3ee724=v({},_0x278149['attrs']);_0x180ff1!=null&&_0x180ff1[_0x3e13a8(0x330)]&&_0x3ee724['fill']===_0x3e13a8(0x330)&&(_0x3ee724[_0x3e13a8(0x1fd)]=_0x180ff1[_0x3e13a8(0x330)]),_0x278149[_0x3e13a8(0x228)]===_0x3e13a8(0x1f7)&&_0x3ee724['id']&&(_0x3ee724['id']=_0x3ee724['id']+_0x48ed7e[_0x3e13a8(0x2b5)]),Object[_0x3e13a8(0x2e2)](_0x3ee724)[_0x3e13a8(0x25c)](function(_0x28f735){const _0x32e3ad=_0x3e13a8;var _0x3722ef=_0x28f735[0x0],_0x23f68b=_0x28f735[0x1];_0x3722ef===_0x32e3ad(0x1f7)&&typeof _0x23f68b=='string'&&(_0x3ee724[_0x3722ef]=_0x23f68b[_0x32e3ad(0x3cb)](/url\(#(.*)\)/,'url(#$1'[_0x32e3ad(0x339)](_0x48ed7e['idSuffix'],')')));});var _0x4abce1=_0x48ed7e[_0x3e13a8(0x1cd)];return!_0x4abce1||_0x4abce1[_0x3e13a8(0x2e6)]===0x0||(_0x278149['tag']==='use'&&_0x3ee724['xlink:href']&&(_0x3ee724[_0x3e13a8(0x2d7)]=_0x3ee724[_0x3e13a8(0x2d7)]+_0x48ed7e[_0x3e13a8(0x2b5)]),Object[_0x3e13a8(0x2e2)](_0x3ee724)[_0x3e13a8(0x25c)](function(_0x5a58a7){const _0x410252=_0x3e13a8;var _0x286254=_0x5a58a7[0x0],_0x42064b=_0x5a58a7[0x1];typeof _0x42064b==_0x410252(0x33c)&&(_0x3ee724[_0x286254]=_0x42064b[_0x410252(0x3cb)](/url\(#(.*)\)/,'url(#$1'[_0x410252(0x339)](_0x48ed7e[_0x410252(0x2b5)],')')));})),_0x3ee724;}function Hi(_0x39ef44,_0x31cb6e){const _0x2924cf=_0x4eaba6;var _0x3a6863,_0x56a35a=_0x31cb6e[_0x2924cf(0x1cd)];return!_0x56a35a||_0x56a35a[_0x2924cf(0x2e6)]===0x0?_0x39ef44:_0x39ef44[_0x2924cf(0x228)]===_0x2924cf(0x1d2)&&(!((_0x3a6863=_0x39ef44['children'])===null||_0x3a6863===void 0x0)&&_0x3a6863['length'])?v(v({},_0x39ef44),{'children':_0x39ef44[_0x2924cf(0x359)][_0x2924cf(0x2cf)](function(_0x84a5e6){const _0x7f958f=_0x2924cf;return typeof _0x84a5e6[_0x7f958f(0x26e)]['id']==_0x7f958f(0x33c)&&_0x56a35a&&_0x56a35a[_0x7f958f(0x2aa)](_0x84a5e6['attrs']['id'])?v(v({},_0x84a5e6),{'attrs':v(v({},_0x84a5e6['attrs']),{'id':_0x84a5e6[_0x7f958f(0x26e)]['id']+_0x31cb6e['idSuffix']})}):_0x84a5e6;})}):_0x39ef44;}function ji(){const _0x7acf43=_0x4eaba6;return Math['random']()[_0x7acf43(0x2e8)](0x24)[_0x7acf43(0x345)](0x2,0x8);}je[_0x4eaba6(0x21a)]=_0x4eaba6(0x29e);var Yi={'tag':_0x4eaba6(0x380),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4eaba6(0x248),'viewBox':'0\x200\x2016\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4eaba6(0x251)},'children':[{'tag':_0x4eaba6(0x30e),'attrs':{'stroke':_0x4eaba6(0x285),'d':_0x4eaba6(0x1f8),'strokeLinecap':'round','strokeLinejoin':_0x4eaba6(0x3a2),'strokeWidth':1.2}}]},{'tag':_0x4eaba6(0x1d2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4eaba6(0x3bb)},'children':[{'tag':_0x4eaba6(0x30e),'attrs':{'fill':_0x4eaba6(0x2f9),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4eaba6(0x3bb)]},Dt=_0x1d46e0(function(_0x418eb3,_0x30aa63){const _0x40f892=_0x4eaba6;return _0x50bcce(je,Object[_0x40f892(0x266)]({},_0x418eb3,{'id':'off-line-icon','ref':_0x30aa63,'icon':Yi}));});Dt['displayName']=_0x4eaba6(0x357);var Fi={'tag':_0x4eaba6(0x380),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4eaba6(0x248),'viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x4eaba6(0x2fa)},'children':[{'tag':'path','attrs':{'stroke':_0x4eaba6(0x285),'d':_0x4eaba6(0x1f9),'strokeLinecap':_0x4eaba6(0x3a2),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x4eaba6(0x1d2),'attrs':{},'children':[{'tag':_0x4eaba6(0x20c),'attrs':{'id':_0x4eaba6(0x374)},'children':[{'tag':_0x4eaba6(0x30e),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x4eaba6(0x374)]},Nt=_0x1d46e0(function(_0x381862,_0x556cb0){const _0xfc84e8=_0x4eaba6;return _0x50bcce(je,Object[_0xfc84e8(0x266)]({},_0x381862,{'id':_0xfc84e8(0x2a6),'ref':_0x556cb0,'icon':Fi}));});Nt['displayName']=_0x4eaba6(0x1f6);function Wi(_0x23bb69){const _0x1f4219=_0x4eaba6;switch(_0x23bb69){case _0x4efd68[_0x1f4219(0x370)]:return'collabStatus.offline';case _0x4efd68[_0x1f4219(0x223)]:return _0x1f4219(0x205);case _0x4efd68[_0x1f4219(0x1d6)]:return _0x1f4219(0x214);case _0x4efd68[_0x1f4219(0x236)]:return _0x1f4219(0x213);case _0x4efd68['AWAITING']:case _0x4efd68[_0x1f4219(0x1f3)]:return _0x1f4219(0x27a);case _0x4efd68[_0x1f4219(0x2ea)]:case _0x4efd68[_0x1f4219(0x24e)]:return _0x1f4219(0x377);}}function Vi(_0x45d8e1){const _0x1aed72=_0x4eaba6,{status$:_0x245be8}=_0x45d8e1,_0x40c0bc=_0x20177b(_0x245be8,_0x4efd68[_0x1aed72(0x236)]),_0x244632=_0x27e39c(_0x3ecf5f),_0x6febfb=_0x27e39c(_0x4fa7e6),_0x360758=_0x40c0bc!==_0x4efd68['OFFLINE'],_0x24235a=_0x244632['t'](Wi(_0x40c0bc)),_0x3c6703=_0x360758?_0x30eda6(Nt,{}):_0x30eda6(Dt,{}),_0x4b0574=_0x364655(()=>{const _0x4ca3ff=_0x1aed72;_0x360758||_0x6febfb[_0x4ca3ff(0x280)]();},[_0x360758,_0x6febfb]);function _0x5f52a2(){const _0x361c10=_0x1aed72;return _0x5ba7a2(_0x361c10(0x388),{'className':_0x361c10(0x3ae),'onClick':_0x4b0574,'children':[_0x30eda6('div',{'className':_0x140e3f(_0x361c10(0x397),{'univer-text-green-500':_0x360758,'univer-text-red-500':!_0x360758}),'children':_0x3c6703}),_0x30eda6(_0x361c10(0x388),{'className':_0x361c10(0x30b),'children':_0x24235a})]});}return _0x360758?_0x5f52a2():_0x30eda6(_0x437d63,{'title':_0x244632['t'](_0x1aed72(0x32c)),'children':_0x5f52a2()});}function _0x4acf(){const _0x4d598c=['createInstance','_lastPointer','addHandlerCallback','collabStatus.syncing','_getSaveTimeout','_session','LICENSE_EXPORT_SIZE_EXCEEDED','ranges','PERMISSION_DENIED','reconnect','generateRandomId','extend','_transformPreviousActiveRange','_colorIndex','currentColor','fillRule','_cachedData','isArray','createSocket','_drawTextRange','_docTransformStateCacheService','LICENSE_MAX_UNITS_EXCEEDED','origin','RemoveRowCommandId','getSheetBySheetId','_getMergeRange','type','30IKsxaI','getOwnPropertyDescriptor','getUnitStatus$','_initEntityListener','ENSURE_SNAPSHOT_EXECUTION','session.collaboration-timeout','getOffsetConfig','getCurrentRevOfUnit','CHANGESET_REVISION_CONFILICT','APPLY_PERMISSION_DENIED','clearTimeout','then','UniverIcon','_draw','_toggleOffline','height','USER_NOT_INVITED_CODE','min','InsertRangeMoveRightCommandId','unsubscribe','on-line-icon','isEditing','_registerRenderDependencies','closePath','includes','_id','black','50356MoEXai','_messageService','RECT','_saveCache','RemoveColCommandId','subunit','eventID','_transformUndoRedoStack','idSuffix','pipe','_uiPartsService','application/json','isActive','_getAnchorBounding','startsWith','data','LICENSE_IMPORT_SIZE_EXCEEDED','some','VIEW_MAIN','HEADER_MENU','_initCommandExecutedListener','INVITE_CODE_ALREADY_BOUND','lineTo','collab-rect-range-','getVpScrollXYInfoByPosToVp','_scheduleClearOtherTimer','textRanges','APPLY_DUPLICATED','init','FromArray','dispose','_getScale','fillStyle','UNIVER_SHEET','map','USERS_LEAVE','uni.network.url-service','setInterval','roomMembers$','_hideTimer','next','INVITE_CODE_HAS_BEEN_UES','xlink:href','saveTaskMap','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','CONNECTOR_DATA_TOO_LARGE','INTERNAL_ERROR','UNAUTHENTICATED','MoveRangeCommandId','top','toRgbString','Unknown\x20user','asObservable','entries','apply','range','_docStateChangeManagerService','length','ONLINE','toString','delete','SYNCED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','clearInterval','subUnitId','bottom','setParam','setActiveRange','MOBILE_HAS_BEEN_BOUND','TEXT','EMAIL_HAS_BEEN_BOUND','_doCreateSocket','unitID','triggerDblclick','color','getParam','white','url(#on-line-icon_clip0_910_349)','docStateChange$','runId','params','_scene','flatMap','selections','_transformService','status$','Error','_assignedColors','replaceState','252bSehzb','set','_entities','Failed','onPointerMove$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getCollabCursors$','send','path','prototype','permission.content','getDocRanges','INVALID_INVITE_CODE','roomMembers','YUUMI_AI_RUN_FAILED','collaboration-client-ui.config','SOCKET_FAILED','parse','selection','_range','_docSkeletonManagerService','_imageIoService','getStateCache','_updateSubUnitFromURLParams','OTHER_CLIENT_EDITING','...','_collabSessionService','CLOSE_ROOM','_docSkeleton','_updateURLWithCurrentState','deepClone','_anchor','_updateCollabCursors','startColumn','text','YUUMI_ALL_TABLES_IS_INVALID','unshift','_collaborationController','collab-client.tooltip.reconnect','_memberService','_send','onStarting','colorChannel1','_dataLoaderService','_onCursorDelete','[CollaborationDataLoaderController]','setConfig','collabCursorState$','cursorInfo','_online','_drawRectRange','concat','_scheduleHeartbeat','_docSyncEditingCollabCursorService','string','onPointerLeave$','_cursor','permission.title','getTypeOfUnitDisposed$','DeleteRangeMoveUpCommandId','SNAPSHOT_INVALID_SNAPSHOT','purple.300','_cursorInfo$','substring','result','requireSession','newValue','getRelativeToViewportCoord','NO_OTHER_CLIENTS_EDITING','YUUMI_TABLE_NOT_FOUND_IN_UNIT','ticket','_renderManagerService','getSkeleton','_handleHover','_updateLocalCursor','_drawAnchor','_startDocCollabCursor','_createSocketURL','transformIMECache','univerjs-icon\x20univerjs-icon-','Warning','OffLineIcon','_scheduleSaving','children','red.300','executeCommand','backgroundColor','_commandService','MUTATION','name','getCollabEntity$','onCommandExecuted','YUUMI_UNABLE_LOAD_URL','doc.mutation.rich-text-editing','editingUnit','DeleteRangeMoveLeftCommandId','urlChange$','UPDATE_CURSOR','storage','APPLY_REVISION_CONFILICT','pluginName','_initEvent','push','transformByState','pushState','_injector','OFFLINE','getUnhiddenWorksheets','runOnServer','getUnitId','on-line-icon_clip0_910_349','ALREADY_EXISTS','exhaustSavingTask','collabStatus.synced','_setupBeforeClosingHandler','ACTIVE_UNIT_EVENT_CHANNEL','InsertRowCommandId','registerRenderModule','getActiveSheet','resize','assignAColorForMemberID','split','svg','UNIVER_DOC','onPointerEnter$','_handleHeartbeatEvent','getMember','_name','href','_selfUnitIDs','div','_roomMembers$','_univerInstanceService','className','unitId','SNAPSHOT_HAS_BEEN_REMOVED','_disabled','getValue','event$','_cursorShapes','_removeClearOtherTimer','_backgroundColor','_config','getMemberID','executionId','univer-flex\x20univer-mr-2\x20univer-text-xl','defineProperty','unit','currentSkeleton$','58547zXSuJS','onLocalMutation','_color','size','_instanceService','APPLY_REJECT','find','round','collaboration-client.offline-data-not-saved','getConfig','APPLY_NON_SEQUENTIAL_REVISION','setStateCache','addClipboardHook','_httpService','_getSessionTicket','makeDirty','history','_themeService','_render','univer-flex\x20univer-items-center','updateOfflineData','wsSessionTicketUrl','getTypeOfUnitAdded$','m2Prime','call','_initDependencies','_hover','YUUMI_ASYNCIO_CANCELLED','replaceDocRanges','INVITE_CODE_REQUIRED','endColumn','current','off-line-icon_clip0_910_343','_initResize','key','loadOfflineData','setTimeout','collaboration.closeRoom','_sheetSkeletonManagerService','_handleJoinEvent','setUndoRedoMutationParamsCache','sessionStatus$','show','getMergeData','transformMutationsWithChangeset','restore','saveImage','findNodePositionByCharIndex','replace','transformRemoteChangeset','_shapes','_initStatusComponent','_colorAssignService','disposeWithMe','endRow','_notificationService','defIds','5831992JoBQjf','_onRefRangeChange','getUndoRedoMutationParamsCache','green.600','defs','_syncEditingCollabCursorService','row','_textBubble','FETCH_MISS','debug','searchParams','_labelPosition','LICENSE_DISTRO_REJECTED','rgba(255,\x20255,\x20255,\x200.01)','values','UNDEFINED','mutations','237BOJpfk','save','width','#FFF','sessionTicket','_urlService','fillText','LOGIN_FAILED','getViewport','stringify','has','undoState','205WxcsjC','SUBMIT_CHANGESET_TIMEOUT','_eventUnsubscribe','_registerDependencies','_handleEvent','585992dPmbHw','_entityInit$','setShapeProps','AWAITING_WITH_PENDING','search','measureText','OnLineIcon','mask','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','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','cursorInfo$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_refRangeService','fill','subscribe','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getCellPositionByOffset','_heartbeatTimer','transformSelections','hide','COMPLETION_FINISHED','collabStatus.conflict','getSheetId','WECHAT_HAS_BEEN_BOUND','3098259udtLqZ','_status$','_onCursorUpdate','_revisionService','clipPath','collab-text-range-','_init','getCurrent','whenReady','m1Prime','column','collabStatus.notCollab','collabStatus.fetchMiss','_hovered','_docTransformIMECacheService','_anchorDot','yellow.400','skeleton','displayName','getFocusedUnit','NOT_FOUND','error','_localStorageService','max','getRangePointData','PY_RUNTIME_SCRIPT_ERROR','_removeCollabCursors','CONFLICT','_handleLeaveEvent','_localeService','SOCKET_FAILED_RETRY','entityInit$','tag','transformStateCache','location','118698BYqbLZ','OTHER_CLIENTS_EDITING','onRendered','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','redoState','UNRECOGNIZED','activeSheet$','_ensureSubject','transform','syncEditingCollabCursor','source','NOT_COLLAB','dispose$','_toggleOnline','YUUMI_URL_COL_OUT_OF_RANGE','_saveTaskMap','override','moveTo','transformMutation','getOwnPropertySymbols','setItem','_clearOtherTimers','icon','from','arc','getColorFromTheme','_context','drawWith','_docTransformSelectionsService','none','_logService','InsertColCommandId','add','INVALID_ARGUMENT','_collabCursorController','PENDING','_configService','setAlpha','url(#off-line-icon_clip0_910_343)','_unitOnClients','_cursors','get','YUUMI_RATE_OVER_LIMIT','hasOwnProperty','startRow','YUUMI_SUBSCRIPTION_NOT_FOUND','_beforeCloseService','addObject','_document','forEach','22zCPkhV','disposeUnit','body','loadUnit','_startSheetCollabCursor','with','indexOf','subscribeEvent','currentTheme$','assign','sheetID','_unitStatus','3554670HPzuZI','_setupSubUnitSync','addObjects','complete','_refreshCollabCursors','attrs','_transformHistoryAndStateStack','trim','evenodd','post','getRenderById','getCurrentUnitForType','getItem','_getSheetObject'];_0x4acf=function(){return _0x4d598c;};return _0x4acf();}var Xi=Object[_0x4eaba6(0x293)],Gi=(_0xfcddfd,_0x315112,_0x459b10,_0x151c6a)=>{for(var _0x293824=_0x151c6a>0x1?void 0x0:_0x151c6a?Xi(_0x315112,_0x459b10):_0x315112,_0x4032b6=_0xfcddfd['length']-0x1,_0x51b2c1;_0x4032b6>=0x0;_0x4032b6--)(_0x51b2c1=_0xfcddfd[_0x4032b6])&&(_0x293824=_0x51b2c1(_0x293824)||_0x293824);return _0x293824;},Q=(_0x139e8c,_0xd80d46)=>(_0x5ceddb,_0x54332d)=>_0xd80d46(_0x5ceddb,_0x54332d,_0x139e8c);let te=class extends _0x344f28{constructor(_0x5263ed,_0x27a10c,_0x120efd,_0x3e809b){const _0x324874=_0x4eaba6;super(),_(this,_0x324874(0x209),new _0x32e977(_0x4efd68[_0x324874(0x236)])),(this['_univerInstanceService']=_0x5263ed,this[_0x324874(0x36f)]=_0x27a10c,this[_0x324874(0x32b)]=_0x120efd,this[_0x324874(0x2b7)]=_0x3e809b,this[_0x324874(0x3ce)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x46eb23=_0x4eaba6;this['disposeWithMe'](this[_0x46eb23(0x38a)]['focused$'][_0x46eb23(0x2b6)](_0x583a36(()=>{const _0x52427e=_0x46eb23,_0x3a761e=this[_0x52427e(0x38a)][_0x52427e(0x21b)]();return _0x3a761e?this[_0x52427e(0x32b)][_0x52427e(0x360)](_0x3a761e[_0x52427e(0x373)]()):_0x5961a7(null);}),_0x583a36(_0x125f53=>_0x125f53?_0x125f53[_0x46eb23(0x302)]:_0x5961a7(_0x4efd68['NOT_COLLAB'])))['subscribe'](_0x151af7=>{const _0x39649d=_0x46eb23;this[_0x39649d(0x209)][_0x39649d(0x2d5)](_0x151af7);}));}['_initStatusComponent'](){const _0x4737a5=_0x4eaba6;this[_0x4737a5(0x1ca)](this[_0x4737a5(0x2b7)]['registerComponent'](_0x25bc4b[_0x4737a5(0x2c0)],()=>_0x4f3f63(Ki({'status$':this[_0x4737a5(0x209)]['asObservable']()}),this[_0x4737a5(0x36f)])));}};te=Gi([Q(0x0,_0x51bea5),Q(0x1,_0x18907d(_0x3e72ea)),Q(0x2,_0x18907d(_0x4dd44e)),Q(0x3,_0x251619)],te);function Ki(_0x15e3c4){const {status$:_0xe8793b}=_0x15e3c4;return function(){return _0x30eda6(Vi,{'status$':_0xe8793b});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x4878d4,_0x179751,_0x137cef,_0x55ffd3)=>{const _0x148f8d=_0x4eaba6;for(var _0x4b3625=_0x55ffd3>0x1?void 0x0:_0x55ffd3?zi(_0x179751,_0x137cef):_0x179751,_0x3db0e3=_0x4878d4[_0x148f8d(0x2e6)]-0x1,_0x21a8c0;_0x3db0e3>=0x0;_0x3db0e3--)(_0x21a8c0=_0x4878d4[_0x3db0e3])&&(_0x4b3625=_0x21a8c0(_0x4b3625)||_0x4b3625);return _0x4b3625;},B=(_0x388c01,_0x446a7e)=>(_0x118eae,_0x5797d5)=>_0x446a7e(_0x118eae,_0x5797d5,_0x388c01);let se=class extends _0x344f28{constructor(_0x4ef6a8,_0x41ca28,_0x8e8137,_0x19766f,_0x1ff1e4,_0x1a7662){const _0x37c466=_0x4eaba6;super(),this[_0x37c466(0x259)]=_0x4ef6a8,this['_localCacheService']=_0x41ca28,this['_collaborationUIEventService']=_0x8e8137,this[_0x37c466(0x2ae)]=_0x19766f,this[_0x37c466(0x1cc)]=_0x1ff1e4,this[_0x37c466(0x225)]=_0x1a7662,this[_0x37c466(0x378)](),this[_0x37c466(0x36b)]();}['_setupBeforeClosingHandler'](){const _0x3dd7ce=_0x4eaba6;this[_0x3dd7ce(0x1ca)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x5ad6b9=_0x3dd7ce;if(this['_localCacheService'][_0x5ad6b9(0x2d8)][_0x5ad6b9(0x39e)])return this[_0x5ad6b9(0x225)]['t'](_0x5ad6b9(0x3a3));}));}[_0x4eaba6(0x36b)](){const _0x1edea9=_0x4eaba6;this[_0x1edea9(0x1ca)](this['_collaborationUIEventService'][_0x1edea9(0x390)]['subscribe'](_0x1efb82=>{const _0x43c0c1=_0x1edea9;_0x1efb82['id']===_0x224233[_0x43c0c1(0x31e)]&&this[_0x43c0c1(0x2ae)][_0x43c0c1(0x3c5)]({'type':_0x11fa23['Warning'],'content':this[_0x43c0c1(0x225)]['t']('collaboration.single-unit.warning')}),_0x1efb82['id']===_0x224233[_0x43c0c1(0x321)]&&this['_messageService'][_0x43c0c1(0x3c5)]({'type':_0x11fa23[_0x43c0c1(0x356)],'content':this['_localeService']['t'](_0x43c0c1(0x3c0))}),_0x1efb82['id']===_0x224233[_0x43c0c1(0x27f)]&&this[_0x43c0c1(0x1cc)]['show']({'title':this[_0x43c0c1(0x225)]['t'](_0x43c0c1(0x33f)),'content':this['_localeService']['t'](_0x43c0c1(0x310)),'type':'error','duration':0x0}),_0x1efb82['id']===_0x224233[_0x43c0c1(0x223)]&&this['_messageService'][_0x43c0c1(0x3c5)]({'type':_0x11fa23[_0x43c0c1(0x303)],'content':this[_0x43c0c1(0x225)]['t']('collaboration.closeRoom')+'('+_0x1efb82['data']+')'}),_0x1efb82['id']===_0x224233['JOIN_ROOM_FAILED']&&this['_messageService'][_0x43c0c1(0x3c5)]({'type':_0x11fa23[_0x43c0c1(0x356)],'content':this[_0x43c0c1(0x225)]['t'](_0x1efb82[_0x43c0c1(0x2bc)]||'')}),_0x1efb82['id']===_0x224233[_0x43c0c1(0x226)]&&this[_0x43c0c1(0x2ae)][_0x43c0c1(0x3c5)]({'type':_0x11fa23[_0x43c0c1(0x356)],'content':this[_0x43c0c1(0x225)]['t']('session.will-retry')}),_0x1efb82['id']===_0x224233[_0x43c0c1(0x316)]&&this[_0x43c0c1(0x2ae)][_0x43c0c1(0x3c5)]({'type':_0x11fa23[_0x43c0c1(0x303)],'content':this[_0x43c0c1(0x225)]['t']('session.connection-failed')}),_0x1efb82['id']===_0x224233[_0x43c0c1(0x1ec)]&&this[_0x43c0c1(0x2ae)]['show']({'type':_0x11fa23[_0x43c0c1(0x303)],'content':this['_localeService']['t'](_0x43c0c1(0x297))});}));}};se=Ji([B(0x0,_0x35094c),B(0x1,_0x2dbf9c),B(0x2,_0x18907d(_0x2e40e8)),B(0x3,_0x441bfa),B(0x4,_0x315fb8),B(0x5,_0x18907d(_0x3ecf5f))],se);const Zi=_0x4eaba6(0x315),et={},Ut=_0x200bfb(_0x4eaba6(0x2d1));var Qi=Object[_0x4eaba6(0x293)],qi=(_0x5ee0b5,_0x21eefc,_0xfef127,_0x416a8a)=>{const _0x5ceb10=_0x4eaba6;for(var _0x599d45=_0x416a8a>0x1?void 0x0:_0x416a8a?Qi(_0x21eefc,_0xfef127):_0x21eefc,_0x1c1c92=_0x5ee0b5[_0x5ceb10(0x2e6)]-0x1,_0x50e416;_0x1c1c92>=0x0;_0x1c1c92--)(_0x50e416=_0x5ee0b5[_0x1c1c92])&&(_0x599d45=_0x50e416(_0x599d45)||_0x599d45);return _0x599d45;},G=(_0x490cd1,_0x3b15fa)=>(_0x3f7543,_0x237f44)=>_0x3b15fa(_0x3f7543,_0x237f44,_0x490cd1);let ie=class extends _0x37b3a8{constructor(_0x4ab016,_0x1778bb,_0x3da08c,_0x515833,_0x3fbcad){const _0x1c629d=_0x4eaba6;super(),this[_0x1c629d(0x1e4)]=_0x4ab016,this[_0x1c629d(0x249)]=_0x1778bb,this[_0x1c629d(0x35d)]=_0x3da08c,this[_0x1c629d(0x331)]=_0x515833,_0x3fbcad?_0x3fbcad==null||_0x3fbcad[_0x1c629d(0x210)]()[_0x1c629d(0x29d)](()=>this['_init']()):(this[_0x1c629d(0x249)][_0x1c629d(0x1d7)](_0x1c629d(0x333),_0x1c629d(0x2d9)),this[_0x1c629d(0x20e)]());}async[_0x4eaba6(0x20e)](){const _0x368965=_0x4eaba6,_0x3de51b=this[_0x368965(0x1e4)]['getParam'](_0x368965(0x399)),_0x3c0687=this['_urlService'][_0x368965(0x2f8)](_0x368965(0x291)),_0x57b21e=this[_0x368965(0x1e4)][_0x368965(0x2f8)](_0x368965(0x2b2));if(!_0x3de51b||!_0x3c0687){this['_logService'][_0x368965(0x1d7)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x1d96ef=await this['_dataLoaderService'][_0x368965(0x260)](_0x3de51b,Number(_0x3c0687),_0x57b21e);_0x1d96ef&&_0x1d96ef instanceof _0x310a1a&&this[_0x368965(0x26a)](_0x1d96ef);}async['_setupSubUnitSync'](_0x18e7c5){const _0x1c8d7a=_0x4eaba6;await this[_0x1c8d7a(0x31d)](_0x18e7c5),_0x18e7c5[_0x1c8d7a(0x231)]['pipe'](_0x560bf3(this['dispose$']))[_0x1c8d7a(0x1fe)](_0xd58b01=>{const _0x974011=_0x1c8d7a;_0xd58b01&&this[_0x974011(0x323)](_0xd58b01);}),this[_0x1c8d7a(0x1e4)][_0x1c8d7a(0x366)][_0x1c8d7a(0x2b6)](_0x560bf3(this[_0x1c8d7a(0x237)]))[_0x1c8d7a(0x1fe)](()=>this[_0x1c8d7a(0x31d)](_0x18e7c5));}[_0x4eaba6(0x323)](_0x5d30e1,_0x516c9d=!0x1){const _0x4580b5=_0x4eaba6,_0x5af98f=this[_0x4580b5(0x1e4)]['getParam'](_0x4580b5(0x2b2));_0x5d30e1['getSheetId']()!==_0x5af98f&&this[_0x4580b5(0x1e4)]['setParam']('subunit',_0x5d30e1[_0x4580b5(0x206)](),_0x516c9d);}async[_0x4eaba6(0x31d)](_0x39901d){const _0x14de7c=_0x4eaba6;var _0x219a86;const _0x499aa4=this[_0x14de7c(0x1e4)][_0x14de7c(0x2f8)]('subunit');if(!_0x499aa4||!_0x39901d[_0x14de7c(0x28f)](_0x499aa4)){const _0x45f1ab=_0x39901d[_0x14de7c(0x371)]()[0x0],_0x2bfc9e=_0x39901d['getSheetBySheetId'](_0x45f1ab);if(!_0x2bfc9e)return;this[_0x14de7c(0x323)](_0x2bfc9e,!0x0),await this[_0x14de7c(0x35d)][_0x14de7c(0x35b)](_0x310690['id'],{'unitId':_0x39901d[_0x14de7c(0x373)](),'subUnitId':_0x45f1ab});return;}((_0x219a86=_0x39901d[_0x14de7c(0x37c)]())==null?void 0x0:_0x219a86['getSheetId']())!==_0x499aa4&&await this[_0x14de7c(0x35d)][_0x14de7c(0x35b)](_0x310690['id'],{'unitId':_0x39901d[_0x14de7c(0x373)](),'subUnitId':_0x499aa4});}};ie=qi([G(0x0,Ut),G(0x1,_0x194710),G(0x2,_0xe6668b),G(0x3,_0x18907d(_0x55d6e6)),G(0x4,_0x5aed5c(_0x223e63))],ie);var en=Object[_0x4eaba6(0x293)],tn=(_0x2b22d5,_0x524156,_0x18542d,_0x3ee066)=>{const _0x344b9b=_0x4eaba6;for(var _0x31cd73=_0x3ee066>0x1?void 0x0:_0x3ee066?en(_0x524156,_0x18542d):_0x524156,_0x5597ef=_0x2b22d5[_0x344b9b(0x2e6)]-0x1,_0x213a55;_0x5597ef>=0x0;_0x5597ef--)(_0x213a55=_0x2b22d5[_0x5597ef])&&(_0x31cd73=_0x213a55(_0x31cd73)||_0x31cd73);return _0x31cd73;},pe=(_0x5206bd,_0x151bcf)=>(_0x221456,_0x312deb)=>_0x151bcf(_0x221456,_0x312deb,_0x5206bd);let ne=class{constructor(_0x3877d7,_0x50e289,_0x72dd3a){const _0x2f7065=_0x4eaba6;this[_0x2f7065(0x36f)]=_0x3877d7,this[_0x2f7065(0x301)]=_0x50e289,this[_0x2f7065(0x34d)]=_0x72dd3a;}['transformIMECache'](_0x4d3624){const _0x2c76a6=_0x4eaba6;this[_0x2c76a6(0x2b4)](_0x4d3624),this[_0x2c76a6(0x283)](_0x4d3624);}[_0x4eaba6(0x3cc)](_0x128592){const _0x2ecfba=_0x4eaba6,{unitID:_0x309889}=_0x128592,_0x4cecd6=this[_0x2ecfba(0x34d)][_0x2ecfba(0x273)](_0x309889)['with'](_0xa029f7),{redoCache:_0x26fc7c}=_0x4cecd6['getUndoRedoMutationParamsCache']();if(_0x26fc7c[_0x2ecfba(0x2e6)]===0x0)return _0x128592;let _0x2e594a=_0x50e33b[_0x2ecfba(0x324)](_0x128592['mutations'][0x0]);for(let _0x525abe=0x0;_0x525abe<_0x26fc7c[_0x2ecfba(0x2e6)];_0x525abe++){const _0x54193b={'id':_0x2ecfba(0x363),'params':{..._0x26fc7c[_0x525abe]}},_0x3918ff=this[_0x2ecfba(0x301)][_0x2ecfba(0x23d)](_0x2e594a,_0x54193b,!0x1);if(_0xa30238(_0x3918ff))throw _0x3918ff['error'];_0x2e594a=_0x3918ff[_0x2ecfba(0x211)];}return{..._0x50e33b['deepClone'](_0x128592),'mutations':[_0x2e594a]};}[_0x4eaba6(0x2b4)](_0x22d499){const _0x2acd50=_0x4eaba6,{unitID:_0x16fbe1}=_0x22d499,_0x2cd7ed=this['_renderManagerService']['getRenderById'](_0x16fbe1)[_0x2acd50(0x262)](_0xa029f7),{undoCache:_0x34d2fb,redoCache:_0x529f05}=_0x2cd7ed[_0x2acd50(0x1d0)]();if(_0x34d2fb[_0x2acd50(0x2e6)]===0x0||_0x529f05[_0x2acd50(0x2e6)]===0x0)return;const _0x23e3e4=[],_0x2f77fa=[];let _0xdad6cb=_0x50e33b[_0x2acd50(0x324)](_0x22d499[_0x2acd50(0x1de)][0x0]),_0x54c2fe=_0x50e33b[_0x2acd50(0x324)](_0x22d499[_0x2acd50(0x1de)][0x0]);for(let _0x50ef46=_0x34d2fb[_0x2acd50(0x2e6)]-0x1;_0x50ef46>=0x0;_0x50ef46--){const _0x189cdf={'id':_0x2acd50(0x363),'params':{..._0x34d2fb[_0x50ef46]}},_0x56c4eb={'id':_0x2acd50(0x363),'params':{..._0x529f05[_0x50ef46]}},_0xc6ca7f=this[_0x2acd50(0x301)][_0x2acd50(0x23d)](_0xdad6cb,_0x189cdf,!0x1),_0x1a2bb4=this[_0x2acd50(0x301)][_0x2acd50(0x23d)](_0x54c2fe,_0x56c4eb,!0x1);if(_0xa30238(_0xc6ca7f))throw _0xc6ca7f['error'];if(_0xa30238(_0x1a2bb4))throw _0x1a2bb4[_0x2acd50(0x21d)];_0x23e3e4[_0x2acd50(0x32a)](_0xc6ca7f['m2Prime'][_0x2acd50(0x2fd)]),_0x2f77fa[_0x2acd50(0x32a)](_0x1a2bb4[_0x2acd50(0x3b2)][_0x2acd50(0x2fd)]),_0xdad6cb=_0xc6ca7f['m1Prime'],_0x54c2fe=_0x1a2bb4['m1Prime'];}_0x2cd7ed[_0x2acd50(0x3c3)]({'undoCache':_0x23e3e4,'redoCache':_0x2f77fa});}[_0x4eaba6(0x283)](_0x27aeeb){const _0x52c066=_0x4eaba6,{unitID:_0x4d60be}=_0x27aeeb,_0x2f2eec=this['_renderManagerService'][_0x52c066(0x273)](_0x4d60be)[_0x52c066(0x262)](_0xa029f7),_0x9eca9f=_0x2f2eec['getActiveRange']();if(_0x9eca9f==null)return;const _0x49617e=[{'id':_0x52c066(0x363),'params':{'unitId':_0x27aeeb['unitID'],'actions':null,'textRanges':[_0x9eca9f]}}],_0x2e84b1=this['_transformService'][_0x52c066(0x3c7)](_0x27aeeb,_0x49617e);if(!_0x247d4(_0x2e84b1))throw _0x2e84b1[_0x52c066(0x21d)];const _0x53e8c7=_0x2e84b1[_0x52c066(0x3b2)][0x0]['params'][_0x52c066(0x2c7)];Array[_0x52c066(0x288)](_0x53e8c7)&&_0x53e8c7[_0x52c066(0x2e6)]&&_0x2f2eec[_0x52c066(0x2f0)](_0x53e8c7[0x0]);}};ne=tn([pe(0x0,_0x18907d(_0x3e72ea)),pe(0x1,_0x1a60d7),pe(0x2,_0x2b5744)],ne);var sn=Object[_0x4eaba6(0x293)],nn=(_0x405caa,_0x4acc77,_0x8b0d74,_0x21f718)=>{const _0x204d65=_0x4eaba6;for(var _0x11891d=_0x21f718>0x1?void 0x0:_0x21f718?sn(_0x4acc77,_0x8b0d74):_0x4acc77,_0x421af5=_0x405caa[_0x204d65(0x2e6)]-0x1,_0x5ed5d2;_0x421af5>=0x0;_0x421af5--)(_0x5ed5d2=_0x405caa[_0x421af5])&&(_0x11891d=_0x5ed5d2(_0x11891d)||_0x11891d);return _0x11891d;},Ce=(_0x25d837,_0x4cc048)=>(_0x23a6e9,_0x4de823)=>_0x4cc048(_0x23a6e9,_0x4de823,_0x25d837);let re=class{constructor(_0x44d515,_0x316390,_0x4d7d80){const _0x625f27=_0x4eaba6;this[_0x625f27(0x36f)]=_0x44d515,this[_0x625f27(0x301)]=_0x316390,this['_docStateChangeManagerService']=_0x4d7d80;}[_0x4eaba6(0x229)](_0x189ffd){const _0x552c68=_0x4eaba6;this[_0x552c68(0x26f)](_0x189ffd);}[_0x4eaba6(0x3cc)](_0x17a933){const _0x3a9182=_0x4eaba6,{unitID:_0x1b00c9}=_0x17a933,{collaboration:_0x33e438}=this['_docStateChangeManagerService'][_0x3a9182(0x31c)](_0x1b00c9);if(_0x33e438['length']===0x0)return _0x17a933;let _0x295d11=_0x50e33b['deepClone'](_0x17a933['mutations'][0x0]);for(let _0x34ad12=0x0;_0x34ad12<_0x33e438['length'];_0x34ad12++){const _0x2d8db2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x33e438[_0x34ad12][_0x3a9182(0x38c)],..._0x33e438[_0x34ad12]['redoState']}},_0x3083f3=this[_0x3a9182(0x301)][_0x3a9182(0x23d)](_0x295d11,_0x2d8db2,!0x1);if(_0xa30238(_0x3083f3))throw _0x3083f3['error'];_0x295d11=_0x3083f3[_0x3a9182(0x211)];}return{..._0x50e33b[_0x3a9182(0x324)](_0x17a933),'mutations':[_0x295d11]};}[_0x4eaba6(0x26f)](_0x3e8dae){const _0x22a503=_0x4eaba6,{unitID:_0x4a3486}=_0x3e8dae,{history:_0x31a091,collaboration:_0x13e8a8}=this[_0x22a503(0x2e5)][_0x22a503(0x31c)](_0x4a3486);if(_0x31a091[_0x22a503(0x2e6)]===0x0&&_0x13e8a8['length']===0x0)return;const _0x271bfa=[],_0x3bc095=[];let _0x4b7eea=_0x50e33b['deepClone'](_0x3e8dae[_0x22a503(0x1de)][0x0]),_0x4681cf=_0x50e33b['deepClone'](_0x3e8dae['mutations'][0x0]);for(let _0x5abadc=_0x31a091['length']-0x1;_0x5abadc>=0x0;_0x5abadc--){const _0x565f1e={'id':_0x22a503(0x363),'params':{'unitId':_0x31a091[_0x5abadc][_0x22a503(0x38c)],..._0x31a091[_0x5abadc][_0x22a503(0x1ea)]}},_0x33bdd2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x31a091[_0x5abadc][_0x22a503(0x38c)],..._0x31a091[_0x5abadc][_0x22a503(0x22f)]}},_0x5d670c=this['_transformService'][_0x22a503(0x23d)](_0x4b7eea,_0x565f1e,!0x1),_0x1c99b8=this[_0x22a503(0x301)][_0x22a503(0x23d)](_0x4681cf,_0x33bdd2,!0x1);if(_0xa30238(_0x5d670c))throw _0x5d670c['error'];if(_0xa30238(_0x1c99b8))throw _0x1c99b8[_0x22a503(0x21d)];_0x271bfa[_0x22a503(0x32a)]({..._0x31a091[_0x5abadc],'undoState':_0x5d670c[_0x22a503(0x3b2)][_0x22a503(0x2fd)],'redoState':_0x1c99b8[_0x22a503(0x3b2)][_0x22a503(0x2fd)]}),_0x4b7eea=_0x5d670c[_0x22a503(0x211)],_0x4681cf=_0x1c99b8[_0x22a503(0x211)];}_0x4b7eea=_0x50e33b[_0x22a503(0x324)](_0x3e8dae[_0x22a503(0x1de)][0x0]),_0x4681cf=_0x50e33b[_0x22a503(0x324)](_0x3e8dae[_0x22a503(0x1de)][0x0]);for(let _0x3290a4=_0x13e8a8['length']-0x1;_0x3290a4>=0x0;_0x3290a4--){const _0x4584f9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x13e8a8[_0x3290a4][_0x22a503(0x38c)],..._0x13e8a8[_0x3290a4][_0x22a503(0x1ea)]}},_0x29df3a={'id':_0x22a503(0x363),'params':{'unitId':_0x13e8a8[_0x3290a4][_0x22a503(0x38c)],..._0x13e8a8[_0x3290a4][_0x22a503(0x22f)]}},_0x6a99d4=this[_0x22a503(0x301)][_0x22a503(0x23d)](_0x4b7eea,_0x4584f9,!0x1),_0x4dba4e=this[_0x22a503(0x301)]['transformMutation'](_0x4681cf,_0x29df3a,!0x1);if(_0xa30238(_0x6a99d4))throw _0x6a99d4[_0x22a503(0x21d)];if(_0xa30238(_0x4dba4e))throw _0x4dba4e[_0x22a503(0x21d)];_0x3bc095[_0x22a503(0x32a)]({..._0x13e8a8[_0x3290a4],'undoState':_0x6a99d4[_0x22a503(0x3b2)][_0x22a503(0x2fd)],'redoState':_0x4dba4e[_0x22a503(0x3b2)][_0x22a503(0x2fd)]}),_0x4b7eea=_0x6a99d4['m1Prime'],_0x4681cf=_0x4dba4e[_0x22a503(0x211)];}this[_0x22a503(0x2e5)][_0x22a503(0x3a6)](_0x4a3486,{'history':_0x271bfa,'collaboration':_0x3bc095});}};re=nn([Ce(0x0,_0x18907d(_0x3e72ea)),Ce(0x1,_0x1a60d7),Ce(0x2,_0x18907d(_0x54c954))],re);var rn=Object[_0x4eaba6(0x293)],on=(_0x535101,_0x3acb25,_0x593983,_0x2d8777)=>{for(var _0x31f4ec=_0x2d8777>0x1?void 0x0:_0x2d8777?rn(_0x3acb25,_0x593983):_0x3acb25,_0x28ad22=_0x535101['length']-0x1,_0x4d22f9;_0x28ad22>=0x0;_0x28ad22--)(_0x4d22f9=_0x535101[_0x28ad22])&&(_0x31f4ec=_0x4d22f9(_0x31f4ec)||_0x31f4ec);return _0x31f4ec;},tt=(_0x17e9b5,_0x1b13a5)=>(_0x2baf78,_0x1abf2b)=>_0x1b13a5(_0x2baf78,_0x1abf2b,_0x17e9b5);let oe=class{constructor(_0x39f908,_0x5516ec){const _0x5c7515=_0x4eaba6;this[_0x5c7515(0x36f)]=_0x39f908,this[_0x5c7515(0x301)]=_0x5516ec;}[_0x4eaba6(0x202)](_0x4f578f){const _0x14720c=_0x4eaba6;var _0x4481ee;const _0x21d313=this['_injector']['get'](_0x947e8c),_0x2308dc=(_0x4481ee=_0x21d313[_0x14720c(0x311)]())!=null?_0x4481ee:[];if(_0x2308dc[_0x14720c(0x2e6)]===0x0)return;const _0x58e2a4=_0x4f578f[_0x14720c(0x2f5)],_0x4fbbd1=[{'id':_0x14720c(0x363),'params':{'unitId':_0x58e2a4,'actions':null,'textRanges':_0x2308dc}}],_0xb94278=this[_0x14720c(0x301)]['transformMutationsWithChangeset'](_0x4f578f,_0x4fbbd1);if(!_0x247d4(_0xb94278))throw _0xb94278[_0x14720c(0x21d)];const _0x68b632=_0xb94278['m2Prime'][0x0]['params'][_0x14720c(0x2c7)];Array[_0x14720c(0x288)](_0x68b632)&&_0x68b632[_0x14720c(0x2e6)]&&_0x21d313[_0x14720c(0x3b7)](_0x68b632,{'unitId':_0x58e2a4,'subUnitId':_0x58e2a4},!0x1);}};oe=on([tt(0x0,_0x18907d(_0x3e72ea)),tt(0x1,_0x1a60d7)],oe);var an=Object[_0x4eaba6(0x293)],cn=(_0x541bfd,_0x57dff5,_0x253ef8,_0x11f28f)=>{const _0xda2f4=_0x4eaba6;for(var _0x592441=_0x11f28f>0x1?void 0x0:_0x11f28f?an(_0x57dff5,_0x253ef8):_0x57dff5,_0x4447e9=_0x541bfd[_0xda2f4(0x2e6)]-0x1,_0x487148;_0x4447e9>=0x0;_0x4447e9--)(_0x487148=_0x541bfd[_0x4447e9])&&(_0x592441=_0x487148(_0x592441)||_0x592441);return _0x592441;},U=(_0x51c437,_0x14766a)=>(_0xeb46ea,_0x4da898)=>_0x14766a(_0xeb46ea,_0x4da898,_0x51c437);let ae=class extends _0x344f28{constructor(_0x28ed41,_0x20bc59,_0x330766,_0x47cdbe,_0x587834,_0x41ffe6,_0x574c3d,_0x471593){const _0x266637=_0x4eaba6;super(),_(this,_0x266637(0x209),new _0x32e977(_0x4efd68['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x28ed41,this['_collaborationController']=_0x20bc59,this[_0x266637(0x216)]=_0x330766,this[_0x266637(0x28b)]=_0x47cdbe,this[_0x266637(0x247)]=_0x587834,this[_0x266637(0x33b)]=_0x41ffe6,this[_0x266637(0x2ae)]=_0x574c3d,this[_0x266637(0x225)]=_0x471593,this[_0x266637(0x295)]());}[_0x4eaba6(0x295)](){const _0x473484=_0x4eaba6;this[_0x473484(0x1ca)](this[_0x473484(0x32b)][_0x473484(0x227)][_0x473484(0x1fe)](_0x499870=>{const _0x563b41=_0x473484,_0x5cbe15=this[_0x563b41(0x2e5)][_0x563b41(0x2fb)][_0x563b41(0x1fe)](_0x14619a=>{const _0x484478=_0x563b41;if(_0x14619a==null)return;const {unitId:_0x482d6a,redoState:_0x30ad44,commandId:_0x3c33e6}=_0x14619a;if(_0x482d6a!==_0x499870['unitID'])return;const _0x591c86={'id':_0x3c33e6,'type':_0x4d2b87[_0x484478(0x35e)],'params':{'unitId':_0x482d6a,'actions':_0x30ad44['actions'],'textRanges':null}};_0x499870[_0x484478(0x39c)](_0x591c86);});if(_0x499870['disposeWithMe'](_0x5cbe15),_0x499870 instanceof _0x19e46f){const _0x4d5e91={'onTransformIME':_0x4725a4=>this['_docTransformIMECacheService'][_0x563b41(0x354)](_0x4725a4),'onTransformState':_0x51bcfd=>this[_0x563b41(0x28b)]['transformStateCache'](_0x51bcfd),'onTransformSelections':_0x1c6e59=>this[_0x563b41(0x247)][_0x563b41(0x202)](_0x1c6e59),'onSyncEditingCollabCursor':_0x47a718=>this[_0x563b41(0x33b)][_0x563b41(0x234)](_0x47a718),'onTransformRemoteChangesetByIMECache':_0x2e0a00=>this[_0x563b41(0x216)]['transformRemoteChangeset'](_0x2e0a00),'onTransformRemoteChangesetByStateCache':_0x317072=>this[_0x563b41(0x28b)][_0x563b41(0x3cc)](_0x317072)};_0x499870[_0x563b41(0x279)](_0x4d5e91);}}));}};ae=cn([U(0x0,_0x18907d(_0x54c954)),U(0x1,_0x18907d(_0x4dd44e)),U(0x2,_0x18907d(ne)),U(0x3,_0x18907d(re)),U(0x4,_0x18907d(oe)),U(0x5,_0x18907d(He)),U(0x6,_0x441bfa),U(0x7,_0x18907d(_0x3ecf5f))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x3cc719,_0x239244,_0x43bd43,_0x289a37)=>{for(var _0x11547b=_0x289a37>0x1?void 0x0:_0x289a37?ln(_0x239244,_0x43bd43):_0x239244,_0x53b60e=_0x3cc719['length']-0x1,_0x28ef7e;_0x53b60e>=0x0;_0x53b60e--)(_0x28ef7e=_0x3cc719[_0x53b60e])&&(_0x11547b=_0x28ef7e(_0x11547b)||_0x11547b);return _0x11547b;},Ee=(_0x805923,_0x3480f4)=>(_0x5c29c8,_0x398bec)=>_0x3480f4(_0x5c29c8,_0x398bec,_0x805923);let Le=class extends _0x344f28{constructor(_0x2a2995,_0x1507b6,_0x472753){const _0x4b2376=_0x4eaba6;super(),_(this,'_cachedData',new Map()),_(this,_0x4b2376(0x23a),new Map()),_(this,'_disabled',!0x1),(this[_0x4b2376(0x24f)]=_0x2a2995,this['_localStorageService']=_0x1507b6,this[_0x4b2376(0x20b)]=_0x472753);}['disableLocalCache'](){const _0x21b7a7=_0x4eaba6;this[_0x21b7a7(0x38e)]=!0x0;}['enableLocalCache'](){const _0x23741a=_0x4eaba6;this[_0x23741a(0x38e)]=!0x1;}get[_0x4eaba6(0x2d8)](){const _0x35bacd=_0x4eaba6;return this[_0x35bacd(0x23a)];}[_0x4eaba6(0x2cb)](){const _0x33c358=_0x4eaba6;this[_0x33c358(0x376)]()[_0x33c358(0x29d)](()=>super[_0x33c358(0x2cb)]());}async[_0x4eaba6(0x3be)](_0x5061c8){const _0x50d0c8=_0x4eaba6;return this[_0x50d0c8(0x38e)]?null:this[_0x50d0c8(0x21e)][_0x50d0c8(0x275)](_0x351a65(_0x5061c8));}async['saveOfflineData'](_0x15949f,_0x67b3e0){const _0x4d8687=_0x4eaba6;return!!this['_localStorageService'][_0x4d8687(0x23f)](_0x15949f,_0x67b3e0);}[_0x4eaba6(0x3af)](_0x38e8b1,_0x513533,_0x368005,_0x5e855a){const _0x301e7b=_0x4eaba6,_0x34344d=this[_0x301e7b(0x20b)][_0x301e7b(0x299)](_0x38e8b1);this[_0x301e7b(0x287)][_0x301e7b(0x307)](_0x38e8b1,{'unitID':_0x38e8b1,'type':_0x513533,'awaitingChangeset':_0x368005,'mutations':_0x5e855a,'rev':_0x34344d}),this[_0x301e7b(0x23a)][_0x301e7b(0x1e9)](_0x38e8b1)||this['_scheduleSaving'](_0x38e8b1);}[_0x4eaba6(0x358)](_0x16fde1){const _0x25e515=_0x4eaba6,_0x28c67b=this['_getSaveTimeout']();_0x28c67b===0x0?this['_saveCache'](_0x16fde1):this[_0x25e515(0x23a)]['set'](_0x16fde1,setTimeout(()=>this[_0x25e515(0x2b0)](_0x16fde1),_0x28c67b));}[_0x4eaba6(0x27b)](){const _0x2ce9ac=_0x4eaba6;var _0x125252;return(_0x125252=this[_0x2ce9ac(0x24f)]['getConfig'](_0x383cf6))!=null?_0x125252:_0xe4e9a8;}[_0x4eaba6(0x2b0)](_0x30d69b){const _0x1ee1fe=_0x4eaba6,_0x5c67db=this[_0x1ee1fe(0x23a)][_0x1ee1fe(0x254)](_0x30d69b);return _0x5c67db!==void 0x0&&window[_0x1ee1fe(0x29c)](_0x5c67db),this[_0x1ee1fe(0x21e)]['setItem'](_0x351a65(_0x30d69b),this['_cachedData'][_0x1ee1fe(0x254)](_0x30d69b))[_0x1ee1fe(0x29d)](()=>this[_0x1ee1fe(0x23a)]['delete'](_0x30d69b));}async[_0x4eaba6(0x376)](){const _0x87ec36=_0x4eaba6,_0x16e2ac=[];this[_0x87ec36(0x23a)]['forEach']((_0x44bfc7,_0x8d5bc7)=>{const _0x24ff3e=_0x87ec36;window[_0x24ff3e(0x29c)](_0x44bfc7),_0x16e2ac[_0x24ff3e(0x36c)](this['_saveCache'](_0x8d5bc7)[_0x24ff3e(0x29d)](()=>{const _0x1b7adf=_0x24ff3e;this['_saveTaskMap'][_0x1b7adf(0x2e9)](_0x8d5bc7);}));}),await Promise['all'](_0x16e2ac);}};function _0xc929(_0x4b1fbe,_0x5439d8){const _0x4acf1d=_0x4acf();return _0xc929=function(_0xc92920,_0x2bfba4){_0xc92920=_0xc92920-0x1c9;let _0x5612bf=_0x4acf1d[_0xc92920];return _0x5612bf;},_0xc929(_0x4b1fbe,_0x5439d8);}Le=_n([Ee(0x0,_0x25b8a1),Ee(0x1,_0x1064bb),Ee(0x2,_0x18907d(_0x40a97e))],Le);class hn extends _0x37b3a8{constructor(){const _0x4757e1=_0x4eaba6;super(),_(this,_0x4757e1(0x366)),this[_0x4757e1(0x366)]=_0x177e18(window,'popstate')[_0x4757e1(0x2b6)](_0x560bf3(this['dispose$']),_0x1e898c(0x1),_0x69ddc5(void 0x0));}[_0x4eaba6(0x2ef)](_0x21f57a,_0x3b940f,_0x5bdb95=!0x1){const _0x1d58ad=_0x4eaba6,_0x301a01=new URL(window[_0x1d58ad(0x22a)][_0x1d58ad(0x386)]);_0x301a01[_0x1d58ad(0x1d8)][_0x1d58ad(0x307)](_0x21f57a,_0x3b940f),_0x5bdb95?window[_0x1d58ad(0x3ab)][_0x1d58ad(0x305)]('','',_0x301a01['toString']()):window[_0x1d58ad(0x3ab)][_0x1d58ad(0x36e)]('','',_0x301a01[_0x1d58ad(0x2e8)]());}['removeParam'](_0x4f208a,_0x2ee36b=!0x1){const _0x17606f=_0x4eaba6,_0x49d2a4=new URL(window[_0x17606f(0x22a)]['href']);_0x49d2a4['searchParams'][_0x17606f(0x2e9)](_0x4f208a),_0x2ee36b?window[_0x17606f(0x3ab)]['replaceState']('','',_0x49d2a4[_0x17606f(0x2e8)]()):window[_0x17606f(0x3ab)][_0x17606f(0x36e)]('','',_0x49d2a4[_0x17606f(0x2e8)]());}[_0x4eaba6(0x2f8)](_0x1950a1){const _0x3b7c9d=_0x4eaba6;var _0x258652;return(_0x258652=new URL(window['location'][_0x3b7c9d(0x386)])[_0x3b7c9d(0x1d8)][_0x3b7c9d(0x254)](_0x1950a1))!=null?_0x258652:void 0x0;}}var un=Object[_0x4eaba6(0x398)],dn=Object[_0x4eaba6(0x293)],fn=(_0x13d492,_0x1a711f,_0x4c3dd5)=>_0x1a711f in _0x13d492?un(_0x13d492,_0x1a711f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c3dd5}):_0x13d492[_0x1a711f]=_0x4c3dd5,Sn=(_0x1c3e8c,_0x9f7812,_0x189635,_0x58ff43)=>{const _0x18d233=_0x4eaba6;for(var _0x492a95=_0x58ff43>0x1?void 0x0:_0x58ff43?dn(_0x9f7812,_0x189635):_0x9f7812,_0x343628=_0x1c3e8c[_0x18d233(0x2e6)]-0x1,_0x520e44;_0x343628>=0x0;_0x343628--)(_0x520e44=_0x1c3e8c[_0x343628])&&(_0x492a95=_0x520e44(_0x492a95)||_0x492a95);return _0x492a95;},Oe=(_0x35e87d,_0x2e9511)=>(_0x33c92e,_0x5ab14d)=>_0x2e9511(_0x33c92e,_0x5ab14d,_0x35e87d),mn=(_0x131e7e,_0x2b58ba,_0x3a9af3)=>fn(_0x131e7e,_0x2b58ba+'',_0x3a9af3);const In=_0x4eaba6(0x1fb);let Ae=class extends _0xe58874{constructor(_0x4db4e6=et,_0x161c6b,_0x272d9e,_0x8f52b3){const _0x35466c=_0x4eaba6;super(),this[_0x35466c(0x394)]=_0x4db4e6,this['_renderManagerService']=_0x161c6b,this['_injector']=_0x272d9e,this[_0x35466c(0x24f)]=_0x8f52b3;const {..._0xec3541}=_0x76d1ac({},et,this['_config']);this[_0x35466c(0x24f)][_0x35466c(0x334)](Zi,_0xec3541);}[_0x4eaba6(0x32f)](){const _0x4bd8b=_0x4eaba6;this[_0x4bd8b(0x1ee)](),this['_initDependencies']();}[_0x4eaba6(0x22d)](){const _0x5039ec=_0x4eaba6;this[_0x5039ec(0x2a8)]();}[_0x4eaba6(0x1ee)](){const _0x289ae6=_0x4eaba6;var _0x29c6d4;const _0x50919e=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x15ab2d,{'useClass':_0x3a1d1a}],[_0x2dbf9c,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x290cf4(this[_0x289ae6(0x36f)],_0x4ae91e(_0x50919e,(_0x29c6d4=this['_config'])==null?void 0x0:_0x29c6d4[_0x289ae6(0x23b)]));}[_0x4eaba6(0x2a8)](){const _0x1523da=_0x4eaba6;this[_0x1523da(0x1ca)](this['_renderManagerService'][_0x1523da(0x37b)](_0x549840['UNIVER_DOC'],[we])),this[_0x1523da(0x1ca)](this[_0x1523da(0x34d)][_0x1523da(0x37b)](_0x549840[_0x1523da(0x2ce)],[Pe]));}[_0x4eaba6(0x3b4)](){const _0x4c7de0=_0x4eaba6;_0xe9bebf(this[_0x4c7de0(0x36f)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x4eaba6(0x36a),In),Ae=Sn([_0xff9419(_0x17d159),Oe(0x1,_0x2b5744),Oe(0x2,_0x18907d(_0x3e72ea)),Oe(0x3,_0x25b8a1)],Ae);var gn=Object[_0x4eaba6(0x293)],vn=(_0xd3f368,_0x16913e,_0x5d2737,_0x3dad7d)=>{for(var _0x50c783=_0x3dad7d>0x1?void 0x0:_0x3dad7d?gn(_0x16913e,_0x5d2737):_0x16913e,_0x4492cc=_0xd3f368['length']-0x1,_0x31a1dc;_0x4492cc>=0x0;_0x4492cc--)(_0x31a1dc=_0xd3f368[_0x4492cc])&&(_0x50c783=_0x31a1dc(_0x50c783)||_0x50c783);return _0x50c783;},K=(_0x16e194,_0x5a5421)=>(_0x3cff23,_0x3bde75)=>_0x5a5421(_0x3cff23,_0x3bde75,_0x16e194);let st=class extends _0x45335b{constructor(_0x1a5eb4,_0x4226c0,_0x2a4169,_0x403343,_0x5ed0fb){super(_0x1a5eb4,_0x4226c0,_0x2a4169,_0x403343,_0x5ed0fb);}async[_0x4eaba6(0x289)](_0x148bb8){const _0x32d401=_0x4eaba6,_0x30d50d=await this[_0x32d401(0x3a9)](),_0x648a8a=this[_0x32d401(0x353)](_0x148bb8,_0x30d50d);return this[_0x32d401(0x2f4)](_0x648a8a);}[_0x4eaba6(0x353)](_0x343a13,_0x5a6bb4){const _0x3be6a4=_0x4eaba6,_0x18fe59=typeof window>'u'?new URL(_0x343a13):new URL(_0x343a13,window['location'][_0x3be6a4(0x28d)]);_0x18fe59[_0x3be6a4(0x1d8)][_0x3be6a4(0x307)](_0x3be6a4(0x1e3),_0x5a6bb4);const _0x11b82a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3be6a4(0x22a)][_0x3be6a4(0x1f4)]);return _0x11b82a[_0x3be6a4(0x254)](_0x3be6a4(0x2fc))&&_0x18fe59['searchParams'][_0x3be6a4(0x307)]('runId',_0x11b82a[_0x3be6a4(0x254)](_0x3be6a4(0x2fc))),_0x18fe59[_0x3be6a4(0x2e8)]();}async[_0x4eaba6(0x3a9)](){const _0x13ec6e=_0x4eaba6;var _0x59feb0,_0x2a3e46,_0x3fe86b;const _0x2f45d9=this[_0x13ec6e(0x24f)][_0x13ec6e(0x3a4)](_0x3ffc75),_0x3741f4=(_0x59feb0=_0x2f45d9==null?void 0x0:_0x2f45d9[_0x13ec6e(0x3b0)])!=null?_0x59feb0:_0x17830a;return(_0x3fe86b=(_0x2a3e46=(await this[_0x13ec6e(0x3a8)][_0x13ec6e(0x254)](_0x3741f4,{'headers':{'Content-Type':_0x13ec6e(0x2b8)}}))['body'])==null?void 0x0:_0x2a3e46[_0x13ec6e(0x34c)])!=null?_0x3fe86b:'';}};st=vn([K(0x0,_0x18907d(_0x3e72ea)),K(0x1,_0x18907d(_0x3fd8e6)),K(0x2,_0x25b8a1),K(0x3,_0x194710),K(0x4,_0x1534d1)],st);const it=0x7530,nt=_0x4eaba6(0x379);class jn extends _0x344f28{constructor(){const _0x85b60b=_0x4eaba6;super(),_(this,_0x85b60b(0x2ab),_0x2d61e7()),_(this,'_selfUnitIDs',new Set()),_(this,_0x85b60b(0x252),new Map()),_(this,_0x85b60b(0x201),null),_(this,_0x85b60b(0x240),new Map()),_(this,_0x85b60b(0x268),new Map()),this['_init']();}['dispose'](){const _0x44c910=_0x4eaba6;super[_0x44c910(0x2cb)](),this['_clearOtherTimers']['forEach']((_0x12404d,_0x4f98d1)=>this[_0x44c910(0x392)](_0x4f98d1)),this[_0x44c910(0x201)]&&window[_0x44c910(0x2ec)](this[_0x44c910(0x201)]);}[_0x4eaba6(0x294)](_0x5bc39e){const _0x1ecc7b=_0x4eaba6;return this[_0x1ecc7b(0x232)](_0x5bc39e)[_0x1ecc7b(0x2b6)](_0x312486());}[_0x4eaba6(0x364)](_0x5e3c12){const _0x58e8f0=_0x4eaba6;this[_0x58e8f0(0x387)][_0x58e8f0(0x39e)]===0x0&&this[_0x58e8f0(0x33a)](),this[_0x58e8f0(0x387)][_0x58e8f0(0x24b)](_0x5e3c12),this[_0x58e8f0(0x32e)]({'type':0x0,'memberID':this[_0x58e8f0(0x2ab)],'unitIDs':[_0x5e3c12],'isForwarded':!0x1});}[_0x4eaba6(0x25e)](_0x49c58c){const _0x54394d=_0x4eaba6;this[_0x54394d(0x387)][_0x54394d(0x2e9)](_0x49c58c),this['_selfUnitIDs'][_0x54394d(0x39e)]===0x0&&this[_0x54394d(0x201)]&&window['clearInterval'](this[_0x54394d(0x201)]);}['_init'](){const _0x5f35b0=_0x4eaba6;this['disposeWithMe'](_0x453e2f(_0x177e18(window,_0x5f35b0(0x368))[_0x5f35b0(0x1fe)](_0x20e77b=>{const _0x1d73e8=_0x5f35b0;if(_0x20e77b[_0x1d73e8(0x3bd)]!==nt||!_0x20e77b[_0x1d73e8(0x348)])return;const _0x33c641=JSON[_0x1d73e8(0x317)](_0x20e77b[_0x1d73e8(0x348)]);this[_0x1d73e8(0x1ef)](_0x33c641);}))),window['addEventListener']('unload',()=>this[_0x5f35b0(0x32e)]({'type':0x1,'memberID':this[_0x5f35b0(0x2ab)],'unitIDs':Array[_0x5f35b0(0x242)](this[_0x5f35b0(0x387)])}));}['_handleEvent'](_0x422b8e){const _0x324f6b=_0x4eaba6;switch(_0x422b8e['type']){case 0x0:this[_0x324f6b(0x3c2)](_0x422b8e);break;case 0x1:this['_handleLeaveEvent'](_0x422b8e);break;case 0x2:this[_0x324f6b(0x383)](_0x422b8e);break;}}[_0x4eaba6(0x3c2)](_0x5036d2){const _0x79e96b=_0x4eaba6,{unitIDs:_0x2b4191,memberID:_0x2b639f,isForwarded:_0x40d85c}=_0x5036d2;_0x2b4191[_0x79e96b(0x25c)](_0x15216d=>{const _0xf87d1e=_0x79e96b;if(!_0x40d85c&&this[_0xf87d1e(0x252)]['has'](_0x15216d)&&this[_0xf87d1e(0x232)](_0x15216d)['next'](_0x4ecd4f[_0xf87d1e(0x22c)]),!this['_unitOnClients'][_0xf87d1e(0x1e9)](_0x15216d)||!this['_unitOnClients']['get'](_0x15216d)[_0xf87d1e(0x1e9)](_0x2b639f)){const _0x2db1dd=this[_0xf87d1e(0x252)][_0xf87d1e(0x254)](_0x15216d)||new Set();_0x2db1dd['add'](_0x2b639f),this['_unitOnClients'][_0xf87d1e(0x307)](_0x15216d,_0x2db1dd),this[_0xf87d1e(0x2c6)](_0x2b639f);}}),_0x40d85c||this[_0x79e96b(0x32e)]({'type':0x0,'memberID':this[_0x79e96b(0x2ab)],'unitIDs':[...this[_0x79e96b(0x387)]],'isForwarded':!0x0});}[_0x4eaba6(0x2c6)](_0x383f93){const _0x2dfb50=_0x4eaba6;this[_0x2dfb50(0x392)](_0x383f93);const _0x2856ff=window[_0x2dfb50(0x3bf)](()=>{const _0x351924=_0x2dfb50;this['_unitOnClients'][_0x351924(0x25c)](_0x25dfb6=>{const _0x4fb416=_0x351924;_0x25dfb6[_0x4fb416(0x2e9)](_0x383f93);});},it*0x2);this[_0x2dfb50(0x240)]['set'](_0x383f93,_0x2856ff);}['_removeClearOtherTimer'](_0x2cb0a1){const _0x1b4ba7=_0x4eaba6;if(this[_0x1b4ba7(0x240)]['has'](_0x2cb0a1)){const _0x27da44=this[_0x1b4ba7(0x240)][_0x1b4ba7(0x254)](_0x2cb0a1);_0x27da44&&window['clearTimeout'](_0x27da44),this[_0x1b4ba7(0x240)]['set'](_0x2cb0a1,null);}}[_0x4eaba6(0x224)](_0x5b14bb){const _0x3bf177=_0x4eaba6,{memberID:_0x5defd4,unitIDs:_0x16327a}=_0x5b14bb;_0x16327a[_0x3bf177(0x25c)](_0x1e6597=>{const _0x4e08b6=_0x3bf177;var _0x15b626;const _0x1fea3e=this[_0x4e08b6(0x252)][_0x4e08b6(0x254)](_0x1e6597);_0x1fea3e&&(_0x1fea3e['delete'](_0x5defd4),(_0x15b626=this[_0x4e08b6(0x232)](_0x1e6597))==null||_0x15b626[_0x4e08b6(0x2d5)](_0x1fea3e[_0x4e08b6(0x39e)]===0x0?_0x4ecd4f[_0x4e08b6(0x34a)]:_0x4ecd4f[_0x4e08b6(0x22c)]));}),this[_0x3bf177(0x392)](_0x5defd4);}[_0x4eaba6(0x383)](_0x5f8caa){const _0x69ebb4=_0x4eaba6;this[_0x69ebb4(0x2c6)](_0x5f8caa['memberID']);}[_0x4eaba6(0x32e)](_0x1d7993){const _0x15b2ab=_0x4eaba6;localStorage[_0x15b2ab(0x23f)](nt,JSON[_0x15b2ab(0x1e8)](_0x1d7993));}[_0x4eaba6(0x33a)](){const _0x4a1ca6=_0x4eaba6;this[_0x4a1ca6(0x201)]=window[_0x4a1ca6(0x2d2)](()=>{const _0x40aa3a=_0x4a1ca6;this[_0x40aa3a(0x32e)]({'type':0x2,'memberID':this[_0x40aa3a(0x2ab)]});},it);}['_ensureSubject'](_0x5919f4){const _0x411450=_0x4eaba6;return this[_0x411450(0x268)][_0x411450(0x1e9)](_0x5919f4)||this['_unitStatus'][_0x411450(0x307)](_0x5919f4,new _0x32e977(_0x4ecd4f['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x411450(0x254)](_0x5919f4);}}var Mt=(_0x5dafee=>(_0x5dafee[_0x5dafee[_0x4eaba6(0x1dd)]=0x0]=_0x4eaba6(0x1dd),_0x5dafee[_0x5dafee['OK']=0x1]='OK',_0x5dafee[_0x5dafee[_0x4eaba6(0x2db)]=0x2]=_0x4eaba6(0x2db),_0x5dafee[_0x5dafee[_0x4eaba6(0x27f)]=0x3]=_0x4eaba6(0x27f),_0x5dafee[_0x5dafee[_0x4eaba6(0x21c)]=0x4]=_0x4eaba6(0x21c),_0x5dafee[_0x5dafee[_0x4eaba6(0x2dc)]=0x5]=_0x4eaba6(0x2dc),_0x5dafee[_0x5dafee[_0x4eaba6(0x375)]=0x6]=_0x4eaba6(0x375),_0x5dafee[_0x5dafee[_0x4eaba6(0x24c)]=0x7]='INVALID_ARGUMENT',_0x5dafee[_0x5dafee['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x5dafee[_0x5dafee['COMPLETION_FINISHED']=0x9]=_0x4eaba6(0x204),_0x5dafee[_0x5dafee[_0x4eaba6(0x1e6)]=0xa]=_0x4eaba6(0x1e6),_0x5dafee[_0x5dafee[_0x4eaba6(0x29a)]=0x1389]=_0x4eaba6(0x29a),_0x5dafee[_0x5dafee['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4eaba6(0x342),_0x5dafee[_0x5dafee['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4eaba6(0x38d),_0x5dafee[_0x5dafee[_0x4eaba6(0x296)]=0x1773]=_0x4eaba6(0x296),_0x5dafee[_0x5dafee[_0x4eaba6(0x3a0)]=0x1b59]=_0x4eaba6(0x3a0),_0x5dafee[_0x5dafee[_0x4eaba6(0x3a5)]=0x1b5a]=_0x4eaba6(0x3a5),_0x5dafee[_0x5dafee[_0x4eaba6(0x369)]=0x1b5b]=_0x4eaba6(0x369),_0x5dafee[_0x5dafee[_0x4eaba6(0x29b)]=0x1b5c]=_0x4eaba6(0x29b),_0x5dafee[_0x5dafee[_0x4eaba6(0x2c8)]=0x1b5d]='APPLY_DUPLICATED',_0x5dafee[_0x5dafee[_0x4eaba6(0x2da)]=0x1f41]=_0x4eaba6(0x2da),_0x5dafee[_0x5dafee['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x4eaba6(0x28c),_0x5dafee[_0x5dafee['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4eaba6(0x22e),_0x5dafee[_0x5dafee[_0x4eaba6(0x2bd)]=0x232b]=_0x4eaba6(0x2bd),_0x5dafee[_0x5dafee['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4eaba6(0x27d),_0x5dafee[_0x5dafee[_0x4eaba6(0x1da)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5dafee[_0x5dafee[_0x4eaba6(0x362)]=0x2711]=_0x4eaba6(0x362),_0x5dafee[_0x5dafee[_0x4eaba6(0x239)]=0x2712]=_0x4eaba6(0x239),_0x5dafee[_0x5dafee[_0x4eaba6(0x255)]=0x2713]=_0x4eaba6(0x255),_0x5dafee[_0x5dafee[_0x4eaba6(0x258)]=0x2714]=_0x4eaba6(0x258),_0x5dafee[_0x5dafee['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5dafee[_0x5dafee[_0x4eaba6(0x3b6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5dafee[_0x5dafee['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x4eaba6(0x34b),_0x5dafee[_0x5dafee[_0x4eaba6(0x329)]=0x271d]=_0x4eaba6(0x329),_0x5dafee[_0x5dafee[_0x4eaba6(0x2eb)]=0x271e]=_0x4eaba6(0x2eb),_0x5dafee[_0x5dafee[_0x4eaba6(0x314)]=0x271f]=_0x4eaba6(0x314),_0x5dafee[_0x5dafee[_0x4eaba6(0x221)]=0x2af9]=_0x4eaba6(0x221),_0x5dafee[_0x5dafee[_0x4eaba6(0x2d6)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5dafee[_0x5dafee[_0x4eaba6(0x312)]=0x2ee2]='INVALID_INVITE_CODE',_0x5dafee[_0x5dafee[_0x4eaba6(0x3b8)]=0x2ee3]=_0x4eaba6(0x3b8),_0x5dafee[_0x5dafee[_0x4eaba6(0x2a2)]=0x2ee4]=_0x4eaba6(0x2a2),_0x5dafee[_0x5dafee['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x4eaba6(0x2c2),_0x5dafee[_0x5dafee[_0x4eaba6(0x207)]=0x32c9]=_0x4eaba6(0x207),_0x5dafee[_0x5dafee['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4eaba6(0x2f1),_0x5dafee[_0x5dafee['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4eaba6(0x2f3),_0x5dafee[_0x5dafee[_0x4eaba6(0x230)]=-0x1]=_0x4eaba6(0x230),_0x5dafee))(Mt||{}),pn=Object[_0x4eaba6(0x293)],Cn=(_0x347d46,_0x4df43b,_0x26812e,_0x4e66e4)=>{const _0x5c0ccb=_0x4eaba6;for(var _0x360697=_0x4e66e4>0x1?void 0x0:_0x4e66e4?pn(_0x4df43b,_0x26812e):_0x4df43b,_0x6e850=_0x347d46[_0x5c0ccb(0x2e6)]-0x1,_0x58c1d1;_0x6e850>=0x0;_0x6e850--)(_0x58c1d1=_0x347d46[_0x6e850])&&(_0x360697=_0x58c1d1(_0x360697)||_0x360697);return _0x360697;},be=(_0x2256d7,_0x166771)=>(_0x3ad602,_0x757305)=>_0x166771(_0x3ad602,_0x757305,_0x2256d7);let rt=class extends _0x344f28{constructor(_0x31986a,_0x2e81db,_0x45f7b4){const _0x1116d4=_0x4eaba6;super(),this[_0x1116d4(0x39f)]=_0x31986a,this[_0x1116d4(0x3a8)]=_0x2e81db,this[_0x1116d4(0x24f)]=_0x45f7b4;}async[_0x4eaba6(0x372)](_0x9dac46,_0x412d6d,_0xbbd976,..._0x53eefe){const _0x3e7430=_0x4eaba6;var _0x126259,_0x1b9e33,_0x52a7ee,_0x51bb71;const _0x3ad8f3=this[_0x3e7430(0x39f)][_0x3e7430(0x21b)]();if(!_0x3ad8f3)throw new Error(_0x3e7430(0x1ff));const _0x42af72=((_0x126259=this['_configService'][_0x3e7430(0x3a4)](_0x1ce0d7))!=null?_0x126259:_0x455e1c)+'/'+_0x9dac46+'/run/'+_0x412d6d,_0xbd818e=new URL(window[_0x3e7430(0x22a)][_0x3e7430(0x386)]),_0x44ea9f={'scriptId':_0x9dac46,'runId':(_0x1b9e33=_0xbd818e[_0x3e7430(0x1d8)][_0x3e7430(0x254)]('runId'))!=null?_0x1b9e33:'','function':_0x412d6d,'unitId':_0x3ad8f3[_0x3e7430(0x373)](),'argsOfFunction':JSON[_0x3e7430(0x1e8)](_0x53eefe),'invokeId':(_0x52a7ee=_0xbbd976['invokeId'])!=null?_0x52a7ee:'','executionId':(_0x51bb71=_0xbbd976[_0x3e7430(0x396)])!=null?_0x51bb71:''};try{const _0x45c0b8=await this['_httpService'][_0x3e7430(0x272)](_0x42af72,{'body':_0x44ea9f});return _0x45c0b8[_0x3e7430(0x25f)][_0x3e7430(0x21d)]&&_0x45c0b8[_0x3e7430(0x25f)][_0x3e7430(0x21d)]['code']!==Mt['OK']?_0x3e7430(0x309):_0x45c0b8[_0x3e7430(0x25f)][_0x3e7430(0x346)];}catch{return _0x3e7430(0x309);}}};rt=Cn([be(0x0,_0x51bea5),be(0x1,_0x18907d(_0x3fd8e6)),be(0x2,_0x25b8a1)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x1ff3f4=_0x5129;(function(_0x4a7c9c,_0x547511){const _0xa2a36f=_0x5129,_0x6608f2=_0x4a7c9c();while(!![]){try{const _0x42a765=-parseInt(_0xa2a36f(0x217))/0x1+parseInt(_0xa2a36f(0x2dd))/0x2*(parseInt(_0xa2a36f(0x260))/0x3)+-parseInt(_0xa2a36f(0x1f5))/0x4+-parseInt(_0xa2a36f(0x328))/0x5+-parseInt(_0xa2a36f(0x1f6))/0x6*(parseInt(_0xa2a36f(0x1d7))/0x7)+parseInt(_0xa2a36f(0x213))/0x8+-parseInt(_0xa2a36f(0x221))/0x9*(-parseInt(_0xa2a36f(0x367))/0xa);if(_0x42a765===_0x547511)break;else _0x6608f2['push'](_0x6608f2['shift']());}catch(_0x521bb9){_0x6608f2['push'](_0x6608f2['shift']());}}}(_0x3ed2,0x8dba8));var $t=Object[_0x1ff3f4(0x29d)],xt=(_0x4dade3,_0x5d6952,_0x4ec177)=>_0x5d6952 in _0x4dade3?$t(_0x4dade3,_0x5d6952,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ec177}):_0x4dade3[_0x5d6952]=_0x4ec177,_=(_0x434ccd,_0x5a007e,_0x36443c)=>xt(_0x434ccd,typeof _0x5a007e!=_0x1ff3f4(0x2e8)?_0x5a007e+'':_0x5a007e,_0x36443c);import{MemberService as _0x1fda83,SessionStatus as _0x53037b,CollaborationSessionService as _0x57a0f6,CollaborationStatus as _0x5c1fc0,CollaborationController as _0x9d4199,ILocalCacheService as _0x18ecc1,CollaborationUIEventService as _0x11921d,CollaborationUIEventId as _0x5ae8b2,DataLoaderService as _0x54edff,DocCollaborationEntity as _0x35ee5f,getLocalCacheKey as _0x5387ff,LOCAL_CACHE_INTERVAL as _0x116b50,LOCAL_CACHE_INTERVAL_KEY as _0x2a2110,UniverCollaborationClientPlugin as _0x13d27c,CollaborationSocketService as _0x5a79c8,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x5a0bab,DEFAULT_WS_SESSION_TICKET_URL as _0xfafd08,UnitStatus as _0x4c5026,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x55adaf,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x39831}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2941d4,Disposable as _0x55b0eb,DOC_RANGE_TYPE as _0x51be35,Inject as _0x46eb60,Injector as _0x425022,IUniverInstanceService as _0x2fc716,ICommandService as _0x5e2d3a,debounce as _0x24f6a5,Rectangle as _0x537971,DisposableCollection as _0x110401,toDisposable as _0x29b7c8,UniverInstanceType as _0x1d29a4,Tools as _0x31160e,COLORS as _0x2ffc78,ColorKit as _0x227d20,ThemeService as _0xe49e65,fromEventSubject as _0x22d8e0,LocaleService as _0x3ec261,createIdentifier as _0x32d641,ILogService as _0x15d4ae,Optional as _0x27ea2e,Workbook as _0x36c131,CommandType as _0x3999c4,IConfigService as _0x15fb96,ILocalStorageService as _0x5edec2,DependentOn as _0x29583c,Plugin as _0x3988b6,merge as _0x937390,registerDependencies as _0x37d4ba,mergeOverrideWithDependencies as _0xebd679,touchDependencies as _0x27e255,generateRandomId as _0x22ea17}from'@univerjs/core';import{Shape as _0x63fadb,Rect as _0x4b77b9,getColor as _0x4185e7,RegularPolygon as _0x25839d,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x6d39fa,Vector2 as _0x554577,SHEET_VIEWPORT_KEY as _0x40207b,IRenderManagerService as _0xfbf822}from'@univerjs/engine-render';import{ISocketService as _0x57d30e,WebSocketService as _0x12ec2f,HTTPService as _0x4d79f7}from'@univerjs/network';function _0x3ed2(){const _0xed5d38=['UNDEFINED','clearTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','_initStatusComponent','Error','_online','LICENSE_DISTRO_REJECTED','idSuffix','result','_hideTimer','_cursor','requireSession','createSocket','clearInterval','syncEditingCollabCursor','_handleEvent','FETCH_MISS','_colorIndex','onLocalMutation','values','sheetId','_removeClearOtherTimer','_updateURLWithCurrentState','yellow.400','assign','FromArray','MOBILE_HAS_BEEN_BOUND','setTimeout','_onCursorDelete','color','_range','_instanceService','textRanges','min','_initDependencies','getUnhiddenWorksheets','_cursors','_setupSubUnitSync','transformRemoteChangeset','green.600','_startDocCollabCursor','_saveCache','row','getSkeleton','collabCursorState$','setItem','onRendered','getActiveRange','YUUMI_UNABLE_LOAD_URL','_transformPreviousActiveRange','selection','UNIVER_DOC','enableLocalCache','doc.mutation.rich-text-editing','1997426ZakWeQ','onTransformChange$','getOwnPropertySymbols','NOT_FOUND','USER_NOT_INVITED_CODE','_handleLeaveEvent','dispose$','runOnServer','loadUnit','AWAITING_WITH_PENDING','onPointerMove$','symbol','has','_session','complete','APPLY_NON_SEQUENTIAL_REVISION','_document','getItem','_collabSessionService','replace','_disabled','_scheduleHeartbeat','off-line-icon_clip0_910_343','YUUMI_NO_CUBOID_FOR_QUESTION','length','key','collaboration.closeRoom','includes','then','set','ticket','forEach','editingUnit','reconnect','split','undoState','_scene','_unitStatus','colorChannel1','measureText','MUTATION','unitID','displayName','_docSyncEditingCollabCursorService','transformSelections','OTHER_CLIENT_EDITING','MoveRangeCommandId','m1Prime','setActiveRange','icon','max','_status$','getValue','collaboration-client-ui.config','_localeService','range','href','get','ACTIVE_UNIT_EVENT_CHANNEL','0\x200\x2016\x2016','from','_scheduleClearOtherTimer','_lastPointer','parse','dispose','indexOf','onMouseMove','addObjects','toRgbString','attrs','onPointerEnter$','rgba(255,\x20255,\x20255,\x200.01)','cursorInfo$','prototype','apply','5494670ikkWxG','APPLY_REVISION_CONFILICT','_messageService','session.connection-failed','asObservable','SUBMIT_CHANGESET_TIMEOUT','getAncestorScale','runId','getUnitId','RECT','disposeUnit','getFocusedUnit','_transformHistoryAndStateStack','_memberService','getUnitStatus$','next','hide','OTHER_CLIENTS_EDITING','YUUMI_RATE_OVER_LIMIT','currentTheme$','string','_drawTextRange','column','_config','setShapeProps','SOCKET_FAILED_RETRY','_commandService','RemoveColCommandId','UniverIcon','height','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','fillText','UNAUTHENTICATED','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','CONFLICT','m2Prime','DeleteRangeMoveUpCommandId','getUniverSheetInstance','_name','push','collabStatus.offline','current','getCurrentUnitForType','_handleHeartbeatEvent','_transformService','origin','getTypeOfUnitDisposed$','_roomMembers$','top','getMember','_backgroundColor','YUUMI_TABLE_NOT_FOUND_IN_UNIT','assignAColorForMemberID','VIEW_MAIN','_onCursorUpdate','children','_configService','_toggleOffline','path','map','getTypeOfUnitAdded$','svg','_logService','14827340FRoUMn','_renderManagerService','INVITE_CODE_REQUIRED','_updateLocalCursor','entries','_setupBeforeClosingHandler','deepClone','currentColor','SNAPSHOT_HAS_BEEN_REMOVED','_collaborationUIEventService','saveImage','_univerInstanceService','text','drawWith','getStateCache','NO_OTHER_CLIENTS_EDITING','_context','INVITE_CODE_HAS_BEEN_UES','YUUMI_URL_COL_OUT_OF_RANGE','_injector','registerRefRange','_eventUnsubscribe','_handleHover','find','trim','generateRandomId','purple.300','InsertRangeMoveRightCommandId','sessionTicket','concat','skeleton','engine','ALREADY_EXISTS','APPLY_DUPLICATED','EMAIL_HAS_BEEN_BOUND','[CollaborationDataLoaderController]','exhaustSavingTask','labelPosition','_getSheetObject','ENSURE_SNAPSHOT_EXECUTION','lineTo','onCommandExecuted','application/json','removeParam','getRangePointData','setUndoRedoMutationParamsCache','_collaborationController','send','unitId','getDocRanges','location','_getMergeRange','init','uni.network.url-service','black','InsertRangeMoveDownCommandId','APPLY_REJECT','subscribe','executeCommand','NOT_COLLAB','saveTaskMap','_uiPartsService','div','white','isEditing','getParam','Unknown\x20user','all','contains','on-line-icon_clip0_910_349','_updateSubUnitFromURLParams','translate(.97)','params','defIds','pipe','_docStateChangeManagerService','function','setParam','_textBubble','_color','mask','add','_updateCollabCursors','arc','_drawRectRange','roomMembers$','getCollabEntity$','restore','addHandlerCallback','none','_getScale','pushState','univerjs-icon\x20univerjs-icon-','UPDATE_CURSOR','_init','HEADER_MENU','0\x200\x2017\x2016','getViewport','_transformUndoRedoStack','use','round','search','_imageIoService','_colorAssignService','_entityInit$','getActiveSheet','xlink:href','LICENSE_MAX_UNITS_EXCEEDED','univer-flex\x20univer-items-center','evenodd','executionId','_localCacheService','_hover','addClipboardHook','mutations','InsertRowCommandId','_refRangeService','off-line-icon','_docSkeletonManagerService','Warning','54271mgVlcu','_collabCursorState$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','currentSkeleton$','some','univer-flex\x20univer-mr-2\x20univer-text-xl','body','registerRenderModule','INVALID_INVITE_CODE','SYNCED','toString','_send','error','sessionStatus$','backgroundColor','addObject','SNAPSHOT_INVALID_SNAPSHOT','_registerRenderDependencies','endRow','setInterval','data','show','random','permission.content','endColumn','onPointerLeave$','eventID','OFFLINE','_initCommandExecutedListener','name','351816IpQGCf','36dONRnA','_collabCursorController','USERS_LEAVE','TOO_MANY_REQUESTS','PY_RUNTIME_SCRIPT_ERROR','YUUMI_ASYNCIO_CANCELLED','_refreshCollabCursors','extend','roomMembers','_removeCollabCursors','JOIN_ROOM_FAILED','collabStatus.synced','fill','resize','LOGIN_FAILED','YUUMI_ALL_TABLES_IS_INVALID','_docClipboardService','subscribeEvent','unsubscribe','_revisionService','redoState','defs','_getAnchorBounding','getConfig','_cursorInfo$','collabStatus.notCollab','_anchorDot','tag','_docTransformStateCacheService','1107872SdfIny','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_shapes','806005bPSTfN','getSheetId','collabStatus.conflict','replaceState','searchParams','makeDirty','_handleJoinEvent','_unitOnClients','_beforeCloseService','getCollabCursors$','9UnsKWr','_notificationService','OffLineIcon','unload','getUndoRedoMutationParamsCache','disableLocalCache','YUUMI_SUBSCRIPTION_NOT_FOUND','_heartbeatTimer','status$','http://www.w3.org/2000/svg','registerBeforeClose','stringify','_selfUnitIDs','getMemberID','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','transformMutation','getOwnPropertyDescriptor','focused$','subUnitId','storage','save','beginPath','isArray','SOCKET_FAILED','hasOwnProperty','M0\x200H16V16H0z','cursorInfo','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','sheetID','url(#$1','_getSaveTimeout','_render','_ensureSubject','with','collabStatus.syncing','jiqing.500','_labelPosition','transform','UNRECOGNIZED','OnLineIcon','code','1em','registerComponent','ranges','pluginName','getColorFromTheme','ONLINE','_docTransformSelectionsService','_assignedColors','transformStateCache','setAlpha','className','getCellPositionByOffset','_cursorShapes','session.will-retry','delete','_initEntityListener','getRelativeToViewportCoord','docStateChange$','_sheetSkeletonManagerService','getCurrentSelections','disposeWithMe','_toggleOnline','3mgCGHu','_hovered','_startSheetCollabCursor','_initEvent','getRenderById','findNodePositionByCharIndex','unshift','getCurrentRevOfUnit','_httpService','collab-text-anchor-','wsSessionTicketUrl','_id','_anchor','APPLY_PERMISSION_DENIED','INVITE_CODE_ALREADY_BOUND','override','_createSocketURL','size','unit','_draw','bottom','...','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_getSessionTicket','startRow','debug','_syncEditingCollabCursorService','loadOfflineData','substring','_cachedData','_saveTaskMap','closePath','CONNECTOR_DATA_TOO_LARGE','width','_initResize','fillStyle','UNIVER_SHEET','CLOSE_ROOM','urlChange$','permission.title','_entities','popstate','hovered','_themeService','_docTransformIMECacheService','LICENSE_IMPORT_SIZE_EXCEEDED','WECHAT_HAS_BEEN_BOUND','TEXT','isActive','COMPLETION_FINISHED','_registerDependencies','activeSheet$','YUUMI_AI_RUN_FAILED','_drawAnchor','collaboration.single-unit.warning','getSheetBySheetId','fillRule','_localStorageService','_urlService','imageSourceType','event$','defineProperty','subunit','INTERNAL_ERROR','history','updateOfflineData','PERMISSION_DENIED','_clearOtherTimers','call','_scheduleSaving','CHANGESET_REVISION_CONFILICT'];_0x3ed2=function(){return _0xed5d38;};return _0x3ed2();}import{IDocClipboardService as _0x1372ca,NodePositionConvertToCursor as _0x1fbcca,NodePositionConvertToRectRange as _0x525677,TEXT_RANGE_LAYER_INDEX as _0x157626,SetDocZoomRatioOperation as _0x5f3a10,DocIMEInputManagerService as _0x18fc19,DocStateChangeManagerService as _0x10fb4b}from'@univerjs/docs-ui';import{IImageIoService as _0x4220b2}from'@univerjs/drawing';import{BehaviorSubject as _0x5eaf72,debounceTime as _0x2a5eaa,takeUntil as _0x3970fb,Subject as _0x3c03be,filter as _0x3ebc3f,switchMap as _0x1f8a7c,merge as _0xcb6807,combineLatest as _0x2c02ec,of as _0xa249c5,fromEvent as _0x4b5b71,shareReplay as _0x2c5e73,mapTo as _0x17a9b6,distinctUntilChanged as _0x58615d}from'rxjs';import{SetTextSelectionsOperation as _0x356bd6,RichTextEditingMutation as _0x89d553,DocSelectionManagerService as _0x1a1e03,DocSkeletonManagerService as _0x9df354}from'@univerjs/docs';import{ITransformService as _0x4a1238,CollaborationEvent as _0x2445cf,isTransformMutationFailure as _0x2eaa26,isTransformMutationsWithChangesetSuccess as _0x334103,RevisionService as _0x20c64b,ISnapshotServerService as _0x59159f}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x513b12,serializeRangeWithSheet as _0x4a7be0}from'@univerjs/engine-formula';import{RefRangeService as _0x18c823,SetSelectionsOperation as _0x5decdd,SheetsSelectionsService as _0xace347,EffectRefRangId as _0x13c240,handleIRemoveRow as _0x320f28,handleIRemoveCol as _0x4a56ee,handleMoveRange as _0x4bd0ff,handleInsertRow as _0x2d7649,handleInsertRangeMoveRight as _0x1ceb73,handleInsertRangeMoveDown as _0x3018f4,handleInsertCol as _0x5d4c22,handleDeleteRangeMoveUp as _0x1bcec3,handleDeleteRangeMoveLeft as _0x4f82ad,runRefRangeMutations as _0x32a49b,SetWorksheetActivateCommand as _0x488f21}from'@univerjs/sheets';import{map as _0x188b24,filter as _0x50e6c5,throttleTime as _0x1dbd4c,takeUntil as _0x2f16b1,switchMap as _0x460a4e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3df7b8,getCoordByCell as _0x256d90,getSheetObject as _0x52cc66}from'@univerjs/sheets-ui';import{jsx as _0x14c72b,jsxs as _0x53f0f7}from'react/jsx-runtime';import{useObservable as _0x544941,useDependency as _0xd6265f,IUIPartsService as _0x55e113,BuiltInUIPart as _0x231f6f,connectInjector as _0x1fea6a,IBeforeCloseService as _0x2f95ad,IMessageService as _0x4425b9,INotificationService as _0x3b4cd4}from'@univerjs/ui';import{Tooltip as _0x2484ae,clsx as _0x22a9e9,MessageType as _0x3b7ce8}from'@univerjs/design';import{forwardRef as _0x19d4c9,useRef as _0x381828,createElement as _0x4a51dc,useCallback as _0x8f4c30}from'react';import{IRemoteInstanceService as _0x32ffbb}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x3aaa69,_0x316b28,_0x51403c,_0x527af9)=>{const _0x9746a3=_0x1ff3f4;for(var _0x537a19=_0x527af9>0x1?void 0x0:_0x527af9?ci(_0x316b28,_0x51403c):_0x316b28,_0x4e4256=_0x3aaa69[_0x9746a3(0x2f5)]-0x1,_0xb91ff0;_0x4e4256>=0x0;_0x4e4256--)(_0xb91ff0=_0x3aaa69[_0x4e4256])&&(_0x537a19=_0xb91ff0(_0x537a19)||_0x537a19);return _0x537a19;},Je=(_0x536d2e,_0x449e20)=>(_0x216a21,_0x40a334)=>_0x449e20(_0x216a21,_0x40a334,_0x536d2e);let Ne=class extends _0x2941d4{constructor(_0x57cecd,_0x5c9315){const _0x10bd7e=_0x1ff3f4;super(),this[_0x10bd7e(0x206)]=_0x57cecd,this[_0x10bd7e(0x1c5)]=_0x5c9315,this[_0x10bd7e(0x1bd)]();}[_0x1ff3f4(0x1bd)](){const _0x91880d=_0x1ff3f4,_0x5a7bd2=this;this[_0x91880d(0x25e)](this[_0x91880d(0x206)][_0x91880d(0x1d0)]({'onBeforePasteImage':async _0x557631=>{const _0x444e8a=_0x91880d,_0x5dbc9c=await _0x5a7bd2['_imageIoService'][_0x444e8a(0x371)](_0x557631);return _0x5dbc9c?{'source':_0x5dbc9c['source'],'imageSourceType':_0x5dbc9c[_0x444e8a(0x29b)]}:null;}}));}};Ne=li([Je(0x0,_0x1372ca),Je(0x1,_0x4220b2)],Ne);const Ze=[_0x1ff3f4(0x381),_0x1ff3f4(0x244),_0x1ff3f4(0x2ce),'red.300','blue.400',_0x1ff3f4(0x2be)];class ke extends _0x55b0eb{constructor(){const _0x421b05=_0x1ff3f4;super(...arguments),_(this,_0x421b05(0x251),new Map()),_(this,'_colorIndex',0x0);}[_0x1ff3f4(0x35c)](_0x38ea4d){const _0xa28856=_0x1ff3f4;if(this[_0xa28856(0x251)][_0xa28856(0x2e9)](_0x38ea4d))return this['_assignedColors'][_0xa28856(0x316)](_0x38ea4d);const _0x176444=Ze[this['_colorIndex']];return this['_colorIndex']=(this[_0xa28856(0x2b8)]+0x1)%Ze['length'],this[_0xa28856(0x251)]['set'](_0x38ea4d,_0x176444),_0x176444;}}function Tt(_0x3b3840){const _0x518324=_0x1ff3f4;let _0x460437='';for(const _0x419a2e of _0x3b3840){const {startOffset:_0x2dadfb,endOffset:_0x3a189c,isActive:_0x57715a,rangeType:_0x1e8679,segmentId:_0x4228df,segmentPage:_0x2e164a}=_0x419a2e;_0x460437[_0x518324(0x2f5)]&&(_0x460437+=','),_0x460437+=_0x2dadfb+':'+_0x3a189c+':'+(_0x57715a?'1':'0')+':'+_0x1e8679+':'+_0x4228df+':'+_0x2e164a;}return _0x460437;}function _i(_0x2af4cf){const _0x59fb6b=_0x1ff3f4,_0x5e6521=_0x2af4cf['split'](','),_0x81f826=[];for(const _0x2393ee of _0x5e6521){const [_0x501c77,_0x1902b8,_0x70b6ec,_0x4cda45,_0x1b8201,_0x4e0826]=_0x2393ee[_0x59fb6b(0x2ff)](':');_0x81f826[_0x59fb6b(0x34f)]({'startOffset':Number(_0x501c77),'endOffset':Number(_0x1902b8),'collapsed':_0x501c77===_0x1902b8,'isActive':_0x70b6ec==='1','rangeType':_0x4cda45===_0x51be35[_0x59fb6b(0x28f)]?_0x51be35[_0x59fb6b(0x28f)]:_0x51be35['RECT'],'segmentId':typeof _0x1b8201=='string'?String(_0x1b8201):'','segmentPage':Number(_0x4e0826!=null?_0x4e0826:-0x1)});}return _0x81f826[_0x59fb6b(0x1db)](_0x514d2d=>_0x514d2d[_0x59fb6b(0x290)])||(_0x81f826[0x0]['isActive']=!0x0),_0x81f826;}class He extends _0x2941d4{constructor(){const _0x5d4109=_0x1ff3f4;super(...arguments),_(this,_0x5d4109(0x1d8),new _0x5eaf72(null)),_(this,_0x5d4109(0x2d3),this[_0x5d4109(0x1d8)][_0x5d4109(0x32c)]());}[_0x1ff3f4(0x2b5)](_0x322129){const _0x80d818=_0x1ff3f4,{unitID:_0x104cff,memberID:_0x168708,textRanges:_0x215ce0}=_0x322129,_0x4801f2=Tt(_0x215ce0);if(_0x4801f2==='')return;const _0x4e554f={'unitID':_0x104cff,'memberID':_0x168708,'selection':_0x4801f2};this[_0x80d818(0x1d8)][_0x80d818(0x337)](_0x4e554f);}}var hi=Object[_0x1ff3f4(0x231)],ui=(_0x334cf6,_0x510958,_0x35c569,_0x43336b)=>{for(var _0x18cf0a=_0x43336b>0x1?void 0x0:_0x43336b?hi(_0x510958,_0x35c569):_0x510958,_0x247979=_0x334cf6['length']-0x1,_0x250b74;_0x247979>=0x0;_0x247979--)(_0x250b74=_0x334cf6[_0x247979])&&(_0x18cf0a=_0x250b74(_0x18cf0a)||_0x18cf0a);return _0x18cf0a;},P=(_0x1d009a,_0x581ef6)=>(_0x53a418,_0x3985a6)=>_0x581ef6(_0x53a418,_0x3985a6,_0x1d009a);const di=0x12c,fi=0x64;let Ue=class extends _0x2941d4{constructor(_0x1351c3,_0x576193,_0x1db6d8,_0x1b19bf,_0x4c29c1,_0x5bfcba,_0x239761,_0x1aa783,_0x116a60){const _0xc36ad=_0x1ff3f4;super(),_(this,_0xc36ad(0x2ac),!0x1),_(this,_0xc36ad(0x1bd),!0x1),_(this,_0xc36ad(0x20e),new _0x5eaf72(new Map())),_(this,'cursorInfo$',this[_0xc36ad(0x20e)][_0xc36ad(0x32c)]()),_(this,_0xc36ad(0x357),new _0x5eaf72([])),_(this,_0xc36ad(0x1b4),this[_0xc36ad(0x357)]['pipe'](_0x2a5eaa(di))),_(this,_0xc36ad(0x36a),_0x24f6a5(_0x2230ae=>{const _0x1eb771=_0xc36ad,_0x420999={'eventID':_0x2445cf['UPDATE_CURSOR'],'data':{'unitID':this[_0x1eb771(0x306)],'memberID':this['_session'][_0x1eb771(0x22e)](),'selection':Tt(_0x2230ae)}};this['_session'][_0x1eb771(0x396)](_0x420999,this[_0x1eb771(0x306)]);},fi)),(this[_0xc36ad(0x306)]=_0x1351c3,this[_0xc36ad(0x2ea)]=_0x576193,this[_0xc36ad(0x37a)]=_0x1db6d8,this[_0xc36ad(0x1c6)]=_0x1b19bf,this[_0xc36ad(0x335)]=_0x4c29c1,this[_0xc36ad(0x27a)]=_0x5bfcba,this[_0xc36ad(0x354)]=_0x239761,this[_0xc36ad(0x372)]=_0x1aa783,this[_0xc36ad(0x342)]=_0x116a60);}get[_0x1ff3f4(0x23b)](){const _0x520262=_0x1ff3f4;return this[_0x520262(0x20e)]['getValue']();}get['roomMembers'](){const _0x1dee45=_0x1ff3f4;return this[_0x1dee45(0x357)][_0x1dee45(0x311)]();}[_0x1ff3f4(0x31d)](){const _0x1b4a09=_0x1ff3f4;super[_0x1b4a09(0x31d)](),this[_0x1b4a09(0x20e)][_0x1b4a09(0x337)](new Map()),this[_0x1b4a09(0x20e)]['complete'](),this['_roomMembers$'][_0x1b4a09(0x337)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x4dc3a8=_0x1ff3f4;this[_0x4dc3a8(0x1bd)]||(this[_0x4dc3a8(0x1bd)]=!0x0,this[_0x4dc3a8(0x2ea)][_0x4dc3a8(0x1e4)][_0x4dc3a8(0x3b1)](_0x3970fb(this[_0x4dc3a8(0x2e3)]))[_0x4dc3a8(0x3a0)](_0x362488=>{const _0x452205=_0x4dc3a8;_0x362488===_0x53037b[_0x452205(0x24f)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x4dc3a8(0x29c)][_0x4dc3a8(0x3b1)](_0x3970fb(this['dispose$']))[_0x4dc3a8(0x3a0)](_0xf777b1=>{const _0x543e03=_0x4dc3a8,_0x57d758=_0xf777b1[_0x543e03(0x1f1)];_0x57d758===_0x2445cf['UPDATE_CURSOR']&&this[_0x543e03(0x35e)](_0xf777b1),_0x57d758===_0x2445cf[_0x543e03(0x1f8)]&&this[_0x543e03(0x2c3)](_0xf777b1);}),this['disposeWithMe'](this[_0x4dc3a8(0x342)][_0x4dc3a8(0x390)](_0x2c357b=>{const _0x1603de=_0x4dc3a8,_0x2ed926=_0x2c357b[_0x1603de(0x3af)];_0x2ed926!=null&&this['_online']&&_0x2c357b['id']===_0x356bd6['id']&&_0x2ed926[_0x1603de(0x397)]===this['unitID']&&_0x2ed926[_0x1603de(0x3a7)]===!0x1&&_0x2ed926['ranges'][_0x1603de(0x2f5)]>0x0&&this['_updateLocalCursor'](_0x2ed926[_0x1603de(0x24c)]);})),this[_0x4dc3a8(0x27a)][_0x4dc3a8(0x2d3)][_0x4dc3a8(0x3b1)](_0x3970fb(this[_0x4dc3a8(0x2e3)]))['subscribe'](_0x2028ec=>{const _0x5a4d38=_0x4dc3a8;if((_0x2028ec==null?void 0x0:_0x2028ec[_0x5a4d38(0x306)])!==this[_0x5a4d38(0x306)])return;const _0xee743a={'eventID':_0x2445cf[_0x5a4d38(0x1bc)],'data':_0x2028ec};this['_onCursorUpdate'](_0xee743a);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x23e51d=>{const _0x4dba3f=_0x4dc3a8;if(_0x23e51d[_0x4dba3f(0x3af)]==null)return;const _0x541122=_0x23e51d[_0x4dba3f(0x3af)];if(_0x23e51d['id']!==_0x89d553['id']||_0x541122[_0x4dba3f(0x397)]!==this[_0x4dba3f(0x306)])return;const _0x7689f0={'id':_0x4dba3f(0x2dc),'params':_0x541122},_0x1b1ba7=this[_0x4dba3f(0x23b)];for(const [_0x55a88b,_0x7475ab]of _0x1b1ba7){const _0x1e5693={'id':_0x4dba3f(0x2dc),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x7475ab[_0x4dba3f(0x24c)]}},_0x1bace6=this['_transformService'][_0x4dba3f(0x230)](_0x7689f0,_0x1e5693,!0x1);if(_0x2eaa26(_0x1bace6))throw _0x1bace6[_0x4dba3f(0x1e3)];_0x1b1ba7['set'](_0x55a88b,{..._0x7475ab,'ranges':_0x1bace6[_0x4dba3f(0x34b)][_0x4dba3f(0x3af)][_0x4dba3f(0x2c7)]});}queueMicrotask(()=>{const _0xda3e20=_0x4dba3f;this[_0xda3e20(0x20e)][_0xda3e20(0x337)](_0x1b1ba7);});})));}['_onCursorUpdate'](_0xa9011){const _0x2cb341=_0x1ff3f4;var _0x1972f1,_0x231d06;const {memberID:_0x4756a8,selection:_0x16269d}=_0xa9011[_0x2cb341(0x1eb)],_0x27c6d8=_i(_0x16269d),_0x39e12b=(_0x231d06=(_0x1972f1=this[_0x2cb341(0x335)][_0x2cb341(0x359)](this[_0x2cb341(0x306)],_0x4756a8))==null?void 0x0:_0x1972f1['name'])!=null?_0x231d06:_0x2cb341(0x3a9),_0x2218ef={'color':this['_colorAssignService'][_0x2cb341(0x35c)](_0x4756a8),'name':_0x39e12b,'ranges':_0x27c6d8},_0x1d6867=this[_0x2cb341(0x23b)];_0x1d6867[_0x2cb341(0x2fa)](_0x4756a8,_0x2218ef),this[_0x2cb341(0x20e)][_0x2cb341(0x337)](_0x1d6867);}[_0x1ff3f4(0x2c3)](_0xa18f3d){const _0x2a9a0e=_0x1ff3f4,{memberID:_0x3dd393}=_0xa18f3d[_0x2a9a0e(0x1eb)],_0x4987e1=this[_0x2a9a0e(0x23b)];_0x4987e1[_0x2a9a0e(0x258)](_0x3dd393),this['_cursorInfo$']['next'](_0x4987e1);}[_0x1ff3f4(0x25f)](){const _0xb6617b=_0x1ff3f4;var _0x1e84f0;if(this[_0xb6617b(0x2ac)]=!0x0,((_0x1e84f0=this[_0xb6617b(0x372)][_0xb6617b(0x333)]())==null?void 0x0:_0x1e84f0[_0xb6617b(0x330)]())!==this[_0xb6617b(0x306)])return;const _0x25b0b3=this[_0xb6617b(0x37a)]['get'](_0x1a1e03)[_0xb6617b(0x398)]();Array[_0xb6617b(0x237)](_0x25b0b3)&&_0x25b0b3[_0xb6617b(0x2f5)]>0x0&&this[_0xb6617b(0x36a)](_0x25b0b3);}[_0x1ff3f4(0x361)](){const _0x37ba90=_0x1ff3f4;this[_0x37ba90(0x2ac)]=!0x1;}};Ue=ui([P(0x2,_0x46eb60(_0x425022)),P(0x3,_0x46eb60(ke)),P(0x4,_0x46eb60(_0x1fda83)),P(0x5,_0x46eb60(He)),P(0x6,_0x4a1238),P(0x7,_0x2fc716),P(0x8,_0x5e2d3a)],Ue);function _0x5129(_0x34fc6b,_0x33dea6){const _0x3ed281=_0x3ed2();return _0x5129=function(_0x512999,_0x469d37){_0x512999=_0x512999-0x1ac;let _0x10321c=_0x3ed281[_0x512999];return _0x10321c;},_0x5129(_0x34fc6b,_0x33dea6);}var Si=Object[_0x1ff3f4(0x231)],mi=(_0xd73260,_0x3446ce,_0x5728b5,_0x559100)=>{for(var _0x3ea8c6=_0x559100>0x1?void 0x0:_0x559100?Si(_0x3446ce,_0x5728b5):_0x3446ce,_0xc79b99=_0xd73260['length']-0x1,_0x4ac148;_0xc79b99>=0x0;_0xc79b99--)(_0x4ac148=_0xd73260[_0xc79b99])&&(_0x3ea8c6=_0x4ac148(_0x3ea8c6)||_0x3ea8c6);return _0x3ea8c6;},x=(_0x5aad58,_0x2c09da)=>(_0x565f50,_0x3010c2)=>_0x2c09da(_0x565f50,_0x3010c2,_0x5aad58);const Ii=0x12c,gi=0x64,vi=()=>{let _0x57f14e=[],_0x209da8=!0x1;return _0x1c8c54=>{const _0x567841=_0x5129;_0x57f14e[_0x567841(0x34f)](_0x1c8c54),_0x209da8||(_0x209da8=!0x0,setTimeout(()=>{const _0xa80e24=_0x567841;_0x57f14e[_0xa80e24(0x2fc)](_0x323656=>_0x323656()),_0x57f14e=[],_0x209da8=!0x1;}));};};let Me=class extends _0x2941d4{constructor(_0xa2197f,_0x15ff95,_0x5c041e,_0x24270c,_0x25f88b,_0x67525,_0x1d46d7,_0xe11c1d){const _0x285a83=_0x1ff3f4;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x285a83(0x20e),new _0x5eaf72(new Map())),_(this,_0x285a83(0x325),this[_0x285a83(0x20e)][_0x285a83(0x32c)]()),_(this,_0x285a83(0x357),new _0x5eaf72([])),_(this,_0x285a83(0x1b4),this['_roomMembers$']['pipe'](_0x2a5eaa(Ii))),_(this,_0x285a83(0x36a),_0x24f6a5((_0x484ce8,_0x3fecb3)=>{const _0x59de52=_0x285a83,_0xdb0ec9={'eventID':_0x2445cf[_0x59de52(0x1bc)],'data':{'unitID':this['unitID'],'memberID':this[_0x59de52(0x2ea)][_0x59de52(0x22e)](),'selection':_0x4a7be0(_0x484ce8,_0x3fecb3['range'])}};this[_0x59de52(0x2ea)][_0x59de52(0x396)](_0xdb0ec9,this[_0x59de52(0x306)]);},gi)),(this['unitID']=_0xa2197f,this['_session']=_0x15ff95,this[_0x285a83(0x37a)]=_0x5c041e,this[_0x285a83(0x1c6)]=_0x24270c,this[_0x285a83(0x335)]=_0x25f88b,this[_0x285a83(0x372)]=_0x67525,this['_commandService']=_0x1d46d7,this[_0x285a83(0x1d3)]=_0xe11c1d);}get['cursorInfo'](){const _0x33c739=_0x1ff3f4;return this[_0x33c739(0x20e)][_0x33c739(0x311)]();}get[_0x1ff3f4(0x1fe)](){const _0x30797d=_0x1ff3f4;return this[_0x30797d(0x357)][_0x30797d(0x311)]();}['dispose'](){const _0xef3677=_0x1ff3f4;super[_0xef3677(0x31d)](),this[_0xef3677(0x20e)]['next'](new Map()),this[_0xef3677(0x20e)]['complete'](),this[_0xef3677(0x357)]['next']([]),this[_0xef3677(0x357)][_0xef3677(0x2eb)]();}[_0x1ff3f4(0x39b)](){const _0x2ea2db=_0x1ff3f4;this['_init']||(this[_0x2ea2db(0x1bd)]=!0x0,this[_0x2ea2db(0x2ea)][_0x2ea2db(0x1e4)][_0x2ea2db(0x3b1)](_0x3970fb(this[_0x2ea2db(0x2e3)]))[_0x2ea2db(0x3a0)](_0x558c59=>{const _0x55fdd8=_0x2ea2db;_0x558c59===_0x53037b[_0x55fdd8(0x24f)]?this[_0x55fdd8(0x25f)]():this[_0x55fdd8(0x361)]();}),this[_0x2ea2db(0x2ea)]['event$'][_0x2ea2db(0x3b1)](_0x3970fb(this[_0x2ea2db(0x2e3)]))[_0x2ea2db(0x3a0)](_0x3d5721=>{const _0x5d8a2b=_0x2ea2db,_0x5782ed=_0x3d5721[_0x5d8a2b(0x1f1)];_0x5782ed===_0x2445cf[_0x5d8a2b(0x1bc)]&&this[_0x5d8a2b(0x35e)](_0x3d5721),_0x5782ed===_0x2445cf[_0x5d8a2b(0x1f8)]&&this[_0x5d8a2b(0x2c3)](_0x3d5721);}),this['_onRefRangeChange'](),this[_0x2ea2db(0x25e)](this['_commandService']['onCommandExecuted'](_0x4a21e8=>{const _0x46d8c9=_0x2ea2db;if(this[_0x46d8c9(0x2ac)]&&_0x4a21e8['id']===_0x5decdd['id']&&_0x4a21e8[_0x46d8c9(0x3af)]['unitId']===this[_0x46d8c9(0x306)]){const _0x5c4209=_0x4a21e8[_0x46d8c9(0x3af)];this[_0x46d8c9(0x36a)](_0x5c4209[_0x46d8c9(0x233)],_0x5c4209['selections'][0x0]);}})));}[_0x1ff3f4(0x35e)](_0x1e5224){const _0x2cdddd=_0x1ff3f4;var _0x3eeeb1,_0x20d7ce;const {memberID:_0x4e6010,selection:_0x3fcee5}=_0x1e5224['data'],{sheetName:_0x550e90,range:_0x4a228e}=_0x513b12(_0x3fcee5),_0x1a25f7={'name':(_0x20d7ce=(_0x3eeeb1=this[_0x2cdddd(0x335)]['getMember'](this[_0x2cdddd(0x306)],_0x4e6010))==null?void 0x0:_0x3eeeb1[_0x2cdddd(0x1f4)])!=null?_0x20d7ce:_0x2cdddd(0x3a9),'range':this[_0x2cdddd(0x39a)](_0x550e90,_0x4a228e),'sheetID':_0x550e90,'color':this[_0x2cdddd(0x1c6)][_0x2cdddd(0x35c)](_0x4e6010),'selection':_0x3fcee5},_0x160fcf=this[_0x2cdddd(0x23b)];_0x160fcf[_0x2cdddd(0x2fa)](_0x4e6010,_0x1a25f7),this[_0x2cdddd(0x20e)][_0x2cdddd(0x337)](_0x160fcf);}[_0x1ff3f4(0x2c3)](_0x2bb092){const _0x356611=_0x1ff3f4,{memberID:_0x5896d3}=_0x2bb092[_0x356611(0x1eb)],_0x161bd2=this[_0x356611(0x23b)];_0x161bd2[_0x356611(0x258)](_0x5896d3),this[_0x356611(0x20e)][_0x356611(0x337)](_0x161bd2);}['_getMergeRange'](_0x458590,_0x34ea16){const _0x3fd019=_0x1ff3f4;var _0x328b2a,_0x10c167;const _0x47e64b=(_0x10c167=(_0x328b2a=this[_0x3fd019(0x372)][_0x3fd019(0x34d)](this[_0x3fd019(0x306)]))==null?void 0x0:_0x328b2a[_0x3fd019(0x297)](_0x458590))==null?void 0x0:_0x10c167['getMergeData']();return(_0x47e64b==null?void 0x0:_0x47e64b[_0x3fd019(0x37e)](_0x52b92c=>_0x537971[_0x3fd019(0x3ab)](_0x52b92c,_0x34ea16)))||_0x34ea16;}['_onRefRangeChange'](){const _0x2001ff=new _0x110401(),_0x346c48=vi(),_0x47840e=()=>{const _0x2ddea7=_0x5129;_0x2001ff[_0x2ddea7(0x31d)]();const _0x2589de=(_0x168e1b,_0x4f6d38,_0x2f620b,_0x428abf)=>{const _0x2aa5c6=_0x2ddea7;let _0x3a5fad=[];switch(_0x168e1b['id']){case _0x13c240['DeleteRangeMoveLeftCommandId']:{_0x3a5fad=_0x4f82ad(_0x168e1b,_0x428abf);break;}case _0x13c240[_0x2aa5c6(0x34c)]:{_0x3a5fad=_0x1bcec3(_0x168e1b,_0x428abf);break;}case _0x13c240['InsertColCommandId']:{_0x3a5fad=_0x5d4c22(_0x168e1b,_0x428abf);break;}case _0x13c240[_0x2aa5c6(0x39e)]:{_0x3a5fad=_0x3018f4(_0x168e1b,_0x428abf);break;}case _0x13c240[_0x2aa5c6(0x382)]:{_0x3a5fad=_0x1ceb73(_0x168e1b,_0x428abf);break;}case _0x13c240[_0x2aa5c6(0x1d2)]:{_0x3a5fad=_0x2d7649(_0x168e1b,_0x428abf);break;}case _0x13c240[_0x2aa5c6(0x30b)]:{_0x3a5fad=_0x4bd0ff(_0x168e1b,_0x428abf);break;}case _0x13c240[_0x2aa5c6(0x343)]:{_0x3a5fad=_0x4a56ee(_0x168e1b,_0x428abf);break;}case _0x13c240['RemoveRowCommandId']:{_0x3a5fad=_0x320f28(_0x168e1b,_0x428abf);break;}}const _0x194613=_0x32a49b(_0x3a5fad,_0x428abf),_0x2e4a4f=this['cursorInfo']['get'](_0x4f6d38);if(_0x2e4a4f&&_0x194613){const _0x5e3b36={..._0x2e4a4f,'range':_0x194613};this['cursorInfo'][_0x2aa5c6(0x2fa)](_0x4f6d38,_0x5e3b36),_0x346c48(()=>{const _0x3acdfb=_0x2aa5c6,_0x1798c9=this[_0x3acdfb(0x1d3)]['registerRefRange'](_0x194613,_0x50032c=>(_0x1798c9[_0x3acdfb(0x31d)](),_0x2589de(_0x50032c,_0x4f6d38,_0x2f620b,_0x194613)));_0x2001ff[_0x3acdfb(0x1b0)](_0x1798c9);});}return{'redos':[],'undos':[]};};this[_0x2ddea7(0x23b)][_0x2ddea7(0x2fc)]((_0x43a9d0,_0x4b04fd)=>{const _0x12d7c7=_0x2ddea7,{range:_0x409cef,sheetID:_0x1650c4}=_0x43a9d0,_0x782db6=this[_0x12d7c7(0x1d3)][_0x12d7c7(0x37b)](_0x409cef,_0x1ef17e=>(_0x782db6[_0x12d7c7(0x31d)](),_0x2589de(_0x1ef17e,_0x4b04fd,_0x1650c4,_0x409cef)));_0x2001ff[_0x12d7c7(0x1b0)](_0x782db6);});};this['disposeWithMe'](_0x29b7c8(this['_cursorInfo$']['subscribe'](()=>{_0x47840e();})));}[_0x1ff3f4(0x25f)](){const _0x5eb31b=_0x1ff3f4;var _0x48c8e2,_0x138a6c;if(this['_online']=!0x0,((_0x48c8e2=this['_univerInstanceService'][_0x5eb31b(0x333)]())==null?void 0x0:_0x48c8e2[_0x5eb31b(0x330)]())!==this[_0x5eb31b(0x306)])return;const _0x9b227c=(_0x138a6c=this['_injector'][_0x5eb31b(0x316)](_0xace347)[_0x5eb31b(0x25d)]())==null?void 0x0:_0x138a6c[0x0],_0xfabe15=this[_0x5eb31b(0x372)][_0x5eb31b(0x352)](_0x1d29a4[_0x5eb31b(0x284)])[_0x5eb31b(0x1c8)]();_0x9b227c&&_0xfabe15&&this['_updateLocalCursor'](_0xfabe15[_0x5eb31b(0x218)](),_0x9b227c);}[_0x1ff3f4(0x361)](){const _0x715859=_0x1ff3f4;this[_0x715859(0x2ac)]=!0x1;}};Me=mi([x(0x2,_0x46eb60(_0x425022)),x(0x3,_0x46eb60(ke)),x(0x4,_0x46eb60(_0x1fda83)),x(0x5,_0x2fc716),x(0x6,_0x5e2d3a),x(0x7,_0x46eb60(_0x18c823))],Me);var pi=Object[_0x1ff3f4(0x231)],Ci=(_0x1a964b,_0x2456ec,_0x25c8d8,_0x5d38c2)=>{const _0xed8402=_0x1ff3f4;for(var _0x1d0701=_0x5d38c2>0x1?void 0x0:_0x5d38c2?pi(_0x2456ec,_0x25c8d8):_0x2456ec,_0x2f1eb9=_0x1a964b[_0xed8402(0x2f5)]-0x1,_0x4e3c75;_0x2f1eb9>=0x0;_0x2f1eb9--)(_0x4e3c75=_0x1a964b[_0x2f1eb9])&&(_0x1d0701=_0x4e3c75(_0x1d0701)||_0x1d0701);return _0x1d0701;},Se=(_0xfc43a7,_0x3d58c0)=>(_0x39363e,_0x3ebb44)=>_0x3d58c0(_0x39363e,_0x3ebb44,_0xfc43a7);let H=class extends _0x2941d4{constructor(_0x5cac9f,_0x7b398e,_0x2094fa){const _0x1f8fec=_0x1ff3f4;super(),_(this,_0x1f8fec(0x288),new Map()),_(this,_0x1f8fec(0x1c7),new _0x3c03be()),(this[_0x1f8fec(0x372)]=_0x5cac9f,this['_injector']=_0x7b398e,this[_0x1f8fec(0x2ef)]=_0x2094fa,this['_init']());}[_0x1ff3f4(0x31d)](){const _0x25cacc=_0x1ff3f4;super[_0x25cacc(0x31d)](),this[_0x25cacc(0x1c7)][_0x25cacc(0x2eb)](),this[_0x25cacc(0x288)]['forEach'](_0x576c8d=>_0x576c8d[_0x25cacc(0x31d)]());}[_0x1ff3f4(0x220)](_0x13205d){const _0x6cd8c1=_0x1ff3f4;return this[_0x6cd8c1(0x288)][_0x6cd8c1(0x2e9)](_0x13205d)?this[_0x6cd8c1(0x288)][_0x6cd8c1(0x316)](_0x13205d)[_0x6cd8c1(0x325)]:this[_0x6cd8c1(0x1c7)][_0x6cd8c1(0x3b1)](_0x3ebc3f(_0x407ed5=>_0x407ed5['unitID']===_0x13205d),_0x1f8a7c(_0x268870=>_0x268870[_0x6cd8c1(0x325)]));}[_0x1ff3f4(0x1bd)](){const _0x5486eb=_0x1ff3f4;this[_0x5486eb(0x372)][_0x5486eb(0x364)](_0x1d29a4[_0x5486eb(0x284)])['pipe'](_0x3970fb(this[_0x5486eb(0x2e3)]))[_0x5486eb(0x3a0)](async _0x3e7944=>{const _0x3afbc0=_0x5486eb,_0x538e0d=_0x3e7944[_0x3afbc0(0x330)](),_0x1f3ae2=await this[_0x3afbc0(0x262)](_0x538e0d);this[_0x3afbc0(0x1c7)]['next'](_0x1f3ae2),this['_entities'][_0x3afbc0(0x2fa)](_0x538e0d,_0x1f3ae2);}),this[_0x5486eb(0x372)][_0x5486eb(0x364)](_0x1d29a4[_0x5486eb(0x2da)])[_0x5486eb(0x3b1)](_0x3970fb(this[_0x5486eb(0x2e3)]))[_0x5486eb(0x3b1)](_0x3ebc3f(_0x5b9d40=>!_0x5b9d40[_0x5486eb(0x330)]()['startsWith']('__')))[_0x5486eb(0x3a0)](async _0x8423cf=>{const _0xe3235e=_0x5486eb,_0x19b575=_0x8423cf[_0xe3235e(0x330)](),_0x3213ac=await this[_0xe3235e(0x2cf)](_0x19b575);this[_0xe3235e(0x1c7)][_0xe3235e(0x337)](_0x3213ac),this[_0xe3235e(0x288)][_0xe3235e(0x2fa)](_0x19b575,_0x3213ac);}),_0xcb6807(this[_0x5486eb(0x372)][_0x5486eb(0x356)](_0x1d29a4[_0x5486eb(0x2da)]),this[_0x5486eb(0x372)]['getTypeOfUnitDisposed$'](_0x1d29a4['UNIVER_SHEET']))[_0x5486eb(0x3b1)](_0x3970fb(this[_0x5486eb(0x2e3)]))[_0x5486eb(0x3a0)](_0x3a6cea=>{const _0xafc475=_0x5486eb,_0x233d49=_0x3a6cea['getUnitId'](),_0x4be9b8=this[_0xafc475(0x288)]['get'](_0x233d49);_0x4be9b8&&(_0x4be9b8['dispose'](),this[_0xafc475(0x288)][_0xafc475(0x258)](_0x233d49));});}async[_0x1ff3f4(0x262)](_0x497d55){const _0x1435ea=_0x1ff3f4,_0x1d135e=await this[_0x1435ea(0x2ef)][_0x1435ea(0x2b2)](_0x497d55),_0x4628ed=this[_0x1435ea(0x37a)]['createInstance'](Me,_0x497d55,_0x1d135e);return _0x4628ed[_0x1435ea(0x39b)](),_0x4628ed;}async[_0x1ff3f4(0x2cf)](_0x28f589){const _0x12ef1e=_0x1ff3f4,_0x29000d=await this[_0x12ef1e(0x2ef)][_0x12ef1e(0x2b2)](_0x28f589),_0x2599af=this[_0x12ef1e(0x37a)]['createInstance'](Ue,_0x28f589,_0x29000d);return _0x2599af['init'](),_0x2599af;}};H=Ci([Se(0x0,_0x2fc716),Se(0x1,_0x46eb60(_0x425022)),Se(0x2,_0x46eb60(_0x57a0f6))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x386ea9,_0x4f29ff){const _0x247e1a=_0x1ff3f4;let {radius:_0x451413,width:_0x3da64f,height:_0x2643df}=_0x4f29ff;_0x451413=_0x451413!=null?_0x451413:0x0,_0x3da64f=_0x3da64f!=null?_0x3da64f:0x1e,_0x2643df=_0x2643df!=null?_0x2643df:0x1e;let _0x2f7739=0x0,_0xa68a5a=0x0,_0x56d343=0x0;_0x2f7739=_0xa68a5a=_0x56d343=Math['min'](_0x451413,_0x3da64f/0x2,_0x2643df/0x2),_0x386ea9[_0x247e1a(0x236)](),_0x386ea9['moveTo'](_0x2f7739,0x0),_0x386ea9[_0x247e1a(0x38f)](_0x3da64f-_0xa68a5a,0x0),_0x386ea9[_0x247e1a(0x1b2)](_0x3da64f-_0xa68a5a,_0xa68a5a,_0xa68a5a,Math['PI']*0x3/0x2,0x0,!0x1),_0x386ea9[_0x247e1a(0x38f)](_0x3da64f,_0x2643df-_0x56d343),_0x386ea9['arc'](_0x3da64f-_0x56d343,_0x2643df-_0x56d343,_0x56d343,0x0,Math['PI']/0x2,!0x1),_0x386ea9[_0x247e1a(0x38f)](0x0,_0x2643df),_0x386ea9[_0x247e1a(0x38f)](0x0,_0x2f7739),_0x386ea9[_0x247e1a(0x1b2)](_0x2f7739,_0x2f7739,_0x2f7739,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x386ea9[_0x247e1a(0x27f)](),_0x4f29ff['fill']&&(_0x386ea9[_0x247e1a(0x235)](),_0x386ea9[_0x247e1a(0x283)]=_0x4f29ff[_0x247e1a(0x202)],_0x4f29ff[_0x247e1a(0x298)]===_0x247e1a(0x1cc)?_0x386ea9['fill']('evenodd'):_0x386ea9['fill'](),_0x386ea9[_0x247e1a(0x1b6)]());}class he extends _0x63fadb{constructor(_0x445a89,_0xa5d1af){const _0x31cc4d=_0x1ff3f4;super(_0x445a89,_0xa5d1af),_(this,'color'),_(this,_0x31cc4d(0x373)),(this[_0x31cc4d(0x2c4)]=_0xa5d1af==null?void 0x0:_0xa5d1af[_0x31cc4d(0x2c4)],this[_0x31cc4d(0x373)]=_0xa5d1af==null?void 0x0:_0xa5d1af['text']);}static['drawWith'](_0x2c9695,_0x1427e4){const _0x1cb88a=_0x1ff3f4,{text:_0x108f32,color:_0x52abe2}=_0x1427e4;_0x2c9695['save'](),_0x2c9695['font']=_0x1cb88a(0x215);const _0x3f40b9=_0x2c9695[_0x1cb88a(0x304)](_0x108f32)[_0x1cb88a(0x281)],_0x3179fa=Math[_0x1cb88a(0x2c8)](_0x3f40b9+0x2*me,Qe);Oi(_0x2c9695,{'height':ee,'radius':0x4,'width':_0x3179fa,'fill':_0x52abe2}),_0x2c9695[_0x1cb88a(0x283)]='#FFF';const _0x122760=me,_0x55aa13=ee-Ei,_0x3e2423=Qe-0x2*me;if(_0x3f40b9>_0x3e2423){let _0x218db9='',_0x34cd1d=0x0;for(const _0x59b1be of _0x108f32){const _0x22c9cf=_0x2c9695[_0x1cb88a(0x304)](_0x59b1be)[_0x1cb88a(0x281)];if(_0x34cd1d+_0x22c9cf<=_0x3e2423-_0x2c9695[_0x1cb88a(0x304)]('...')[_0x1cb88a(0x281)])_0x218db9+=_0x59b1be,_0x34cd1d+=_0x22c9cf;else{_0x218db9+=_0x1cb88a(0x275);break;}}_0x2c9695[_0x1cb88a(0x347)](_0x218db9,_0x122760,_0x55aa13);}else _0x2c9695[_0x1cb88a(0x347)](_0x108f32,_0x122760,_0x55aa13);_0x2c9695[_0x1cb88a(0x1b6)]();}[_0x1ff3f4(0x273)](_0x201415){const _0x5c68f1=_0x1ff3f4;he[_0x5c68f1(0x374)](_0x201415,this);}}const Ie=_0x1ff3f4(0x269),bi='collab-text-range-',Ti='collab-rect-range-',X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x1ff3f4(0x324);class qe{constructor(_0x13276e,_0x27bdee,_0x2d7f4e,_0x23b98b){const _0x6e2a18=_0x1ff3f4;_(this,_0x6e2a18(0x216),[]),_(this,'_anchor',null),_(this,_0x6e2a18(0x1ad),null),_(this,_0x6e2a18(0x210),null),_(this,'_hideTimer',null),_(this,_0x6e2a18(0x37c),null),(this[_0x6e2a18(0x2b1)]=_0x13276e,this[_0x6e2a18(0x301)]=_0x27bdee,this['_docSkeleton']=_0x2d7f4e,this[_0x6e2a18(0x2ed)]=_0x23b98b,this[_0x6e2a18(0x240)]());}set['_hover'](_0x1d06f7){const _0x1ee981=_0x1ff3f4;_0x1d06f7?(this[_0x1ee981(0x210)]&&this[_0x1ee981(0x210)][_0x1ee981(0x338)](),this['_textBubble']&&this[_0x1ee981(0x1ad)]['show']()):(this['_anchorDot']&&this[_0x1ee981(0x210)][_0x1ee981(0x1ec)](),this[_0x1ee981(0x1ad)]&&this[_0x1ee981(0x1ad)][_0x1ee981(0x338)]());}[_0x1ff3f4(0x31d)](){const _0x5eb4b6=_0x1ff3f4;for(const _0x113d5b of this['_shapes'])_0x113d5b['dispose']();this[_0x5eb4b6(0x1ad)]&&this[_0x5eb4b6(0x1ad)][_0x5eb4b6(0x31d)](),this[_0x5eb4b6(0x210)]&&this[_0x5eb4b6(0x210)][_0x5eb4b6(0x31d)](),this['_anchor']&&this[_0x5eb4b6(0x26c)]['dispose'](),this[_0x5eb4b6(0x37c)]&&this[_0x5eb4b6(0x37c)]();}[_0x1ff3f4(0x240)](){const _0x42784c=_0x1ff3f4;var _0x841cc0;const {_docSkeleton:_0x51a23a,_document:_0x3286f6}=this,{color:_0xab8f2e,name:_0xfb1cd2,ranges:_0x882b57}=this[_0x42784c(0x2b1)],_0x4ff793=_0x3286f6['getOffsetConfig'](),{docsLeft:_0x235cc5,docsTop:_0x3e36cf}=_0x4ff793,_0x11a76=new _0x1fbcca(_0x4ff793,_0x51a23a);for(const {startOffset:_0x3bfab4,endOffset:_0x316311,rangeType:_0x5b6331,segmentId:_0x39954b,segmentPage:_0x2fc530,collapsed:_0xf493a3,isActive:_0x2b0f8b}of _0x882b57){const _0x47d1b1=_0x51a23a[_0x42784c(0x265)](_0x3bfab4,!0x0,_0x39954b,_0x2fc530);let _0xa41d55=_0x51a23a['findNodePositionByCharIndex'](_0x316311,!0x0,_0x39954b,_0x2fc530);if(_0xa41d55==null&&(_0xa41d55=_0x51a23a['findNodePositionByCharIndex'](_0x316311-0x1,!0x1,_0x39954b,_0x2fc530)),_0x2b0f8b){const {contentBoxPointGroup:_0x706a10}=_0x11a76[_0x42784c(0x393)](_0xa41d55,_0xa41d55);if(_0x706a10[_0x42784c(0x2f5)]===0x0)continue;this[_0x42784c(0x295)](_0xab8f2e,_0x706a10,_0x235cc5,_0x3e36cf,_0xfb1cd2),this[_0x42784c(0x37c)]=this[_0x42784c(0x37d)]();}if(_0x47d1b1&&_0xa41d55){if(_0x5b6331===_0x51be35[_0x42784c(0x331)]){const _0x12b3dc=new _0x525677(_0x4ff793,_0x51a23a),{pointGroup:_0x20e7db}=(_0x841cc0=_0x12b3dc[_0x42784c(0x393)](_0x47d1b1,_0xa41d55))!=null?_0x841cc0:{};if(_0x20e7db==null||_0x20e7db['length']===0x0)continue;this['_drawRectRange'](_0xab8f2e,_0x20e7db,_0x235cc5,_0x3e36cf);}else{if(!_0xf493a3){const {borderBoxPointGroup:_0x5e8459}=_0x11a76[_0x42784c(0x393)](_0x47d1b1,_0xa41d55);if(_0x5e8459[_0x42784c(0x2f5)]===0x0)continue;this[_0x42784c(0x33d)](_0xab8f2e,_0x5e8459,_0x235cc5,_0x3e36cf);}}}}}[_0x1ff3f4(0x295)](_0x42c0e6,_0x53915f,_0x5c6c57,_0xbfec75,_0x510698){const _0x536213=_0x1ff3f4,_0x285b63=this[_0x536213(0x20c)](_0x53915f),{left:_0x9d317e,top:_0x26e5f9,height:_0x454e20}=_0x285b63,_0x14cdb7=this['_getScale'](),_0x1dc7d9=Di/_0x14cdb7,_0x51a018=new _0x4b77b9(Ie+_0x31160e['generateRandomId'](X),{'left':_0x9d317e+_0x5c6c57-_0x1dc7d9,'top':_0x26e5f9+_0xbfec75,'height':_0x454e20,'width':Ri,'fill':_0x42c0e6||_0x4185e7(_0x2ffc78[_0x536213(0x39d)],0x0),'strokeWidth':_0x1dc7d9,'stroke':Ni,'evented':!0x0});this[_0x536213(0x26c)]=_0x51a018,this[_0x536213(0x301)][_0x536213(0x1e6)](_0x51a018,_0x157626);const _0x584bd4=new _0x4b77b9(Ie+_0x31160e[_0x536213(0x380)](X),{'left':_0x9d317e+_0x5c6c57-_0x1dc7d9,'top':_0x26e5f9+_0xbfec75-ge/0x2,'height':ge,'width':ge,'fill':_0x42c0e6||_0x4185e7(_0x2ffc78[_0x536213(0x39d)],0x0),'strokeWidth':0x0,'stroke':_0x42c0e6||_0x4185e7(_0x2ffc78['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x584bd4,this[_0x536213(0x301)]['addObject'](_0x584bd4,_0x157626);const _0x36cd88=new he(Ie+_0x31160e[_0x536213(0x380)](X),{'left':_0x9d317e+_0x5c6c57-_0x1dc7d9,'top':_0x26e5f9+_0xbfec75-ee,'text':_0x510698,'color':_0x42c0e6});this[_0x536213(0x1ad)]=_0x36cd88,this[_0x536213(0x301)][_0x536213(0x1e6)](_0x36cd88,_0x157626),this[_0x536213(0x1cf)]=!0x1;}[_0x1ff3f4(0x37d)](){const _0x88c101=_0x1ff3f4,_0x4bb01a=this[_0x88c101(0x26c)]['onPointerEnter$'][_0x88c101(0x207)](()=>{const _0x360d32=_0x88c101;this[_0x360d32(0x1cf)]=!0x0;}),_0x280e55=this[_0x88c101(0x26c)][_0x88c101(0x1f0)]['subscribeEvent'](()=>{const _0x3f5722=_0x88c101;this[_0x3f5722(0x2b0)]&&clearTimeout(this[_0x3f5722(0x2b0)]),this[_0x3f5722(0x2b0)]=setTimeout(()=>{const _0xed8c6f=_0x3f5722;this[_0xed8c6f(0x1cf)]=!0x1;},0x7d0);});return()=>{const _0x47dec1=_0x88c101;_0x4bb01a['unsubscribe'](),_0x280e55[_0x47dec1(0x208)]();};}['_drawTextRange'](_0x4f3783,_0x262d39,_0x375eff,_0x46a2d4){const _0x221e09=_0x1ff3f4,_0x4b3b47=new _0x227d20(_0x4f3783)[_0x221e09(0x253)](0.2)[_0x221e09(0x321)](),_0x29718e=new _0x25839d(bi+_0x31160e[_0x221e09(0x380)](X),{'pointsGroup':_0x262d39,'fill':_0x4b3b47||_0x4185e7(_0x2ffc78[_0x221e09(0x39d)],0.2),'left':_0x375eff,'top':_0x46a2d4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x221e09(0x216)][_0x221e09(0x34f)](_0x29718e),this[_0x221e09(0x301)][_0x221e09(0x1e6)](_0x29718e,_0x157626);}[_0x1ff3f4(0x1b3)](_0x2b9854,_0xef366c,_0x1af03f,_0x26b53b){const _0x48c78b=_0x1ff3f4,_0x214aba=new _0x227d20(_0x2b9854)[_0x48c78b(0x253)](0.2)[_0x48c78b(0x321)](),_0x38cf2b=new _0x25839d(Ti+_0x31160e[_0x48c78b(0x380)](X),{'pointsGroup':_0xef366c,'fill':_0x214aba||_0x4185e7(_0x2ffc78[_0x48c78b(0x39d)],0.2),'left':_0x1af03f,'top':_0x26b53b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48c78b(0x216)]['push'](_0x38cf2b),this[_0x48c78b(0x301)]['addObject'](_0x38cf2b,_0x157626);}[_0x1ff3f4(0x20c)](_0x139357){const _0xc7ba6f=_0x139357[0x0],_0x4d8efd=_0xc7ba6f[0x0],_0xd078c8=_0xc7ba6f[0x2],{x:_0x2cfd7d,y:_0x1f8353}=_0x4d8efd,{x:_0x1103b9,y:_0xf24f00}=_0xd078c8;return{'left':_0x2cfd7d,'top':_0x1f8353,'width':_0x1103b9-_0x2cfd7d,'height':_0xf24f00-_0x1f8353};}[_0x1ff3f4(0x1b9)](){const _0x31992c=_0x1ff3f4,{scaleX:_0x1725fe,scaleY:_0x15345f}=this[_0x31992c(0x301)][_0x31992c(0x32e)]();return Math[_0x31992c(0x30f)](_0x1725fe,_0x15345f);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x24e7f8,_0x37b712,_0x43d41c,_0x4e3234)=>{const _0x2545d9=_0x1ff3f4;for(var _0x1c76aa=_0x4e3234>0x1?void 0x0:_0x4e3234?Ui(_0x37b712,_0x43d41c):_0x37b712,_0x174b53=_0x24e7f8[_0x2545d9(0x2f5)]-0x1,_0x48af06;_0x174b53>=0x0;_0x174b53--)(_0x48af06=_0x24e7f8[_0x174b53])&&(_0x1c76aa=_0x48af06(_0x1c76aa)||_0x1c76aa);return _0x1c76aa;},Z=(_0xf8d201,_0x2f2c63)=>(_0x31fa3e,_0x2eb400)=>_0x2f2c63(_0x31fa3e,_0x2eb400,_0xf8d201);let we=class extends _0x2941d4{constructor(_0x319796,_0x2d53ad,_0x2aa6f5,_0x5e5ca9,_0x4472a0){const _0x553b2e=_0x1ff3f4;super(),_(this,'_cursorShapes',[]),_(this,_0x553b2e(0x2cb),[]),(this['_context']=_0x319796,this[_0x553b2e(0x1d5)]=_0x2d53ad,this[_0x553b2e(0x1f7)]=_0x2aa6f5,this['_commandService']=_0x5e5ca9,this[_0x553b2e(0x28b)]=_0x4472a0,this[_0x553b2e(0x1bd)]());}['_init'](){const _0x1a9cc8=_0x1ff3f4,_0x50bbc6=this[_0x1a9cc8(0x377)]['unitId'],_0x41acf9=this[_0x1a9cc8(0x1d5)];this[_0x1a9cc8(0x25e)](_0x2c02ec([this[_0x1a9cc8(0x1f7)][_0x1a9cc8(0x220)](_0x50bbc6),this[_0x1a9cc8(0x28b)][_0x1a9cc8(0x33b)]])['pipe'](_0x188b24(([_0x17a43a,_0x444395])=>({'skeleton':_0x41acf9[_0x1a9cc8(0x2d2)](),'cursors':[..._0x17a43a[_0x1a9cc8(0x2ba)]()]['flatMap'](_0x12adf7=>({..._0x12adf7,'color':this[_0x1a9cc8(0x28b)][_0x1a9cc8(0x24e)](_0x12adf7['color'])}))})))[_0x1a9cc8(0x3a0)](_0x580c3f=>{const _0x2bfb2f=_0x1a9cc8;if(this[_0x2bfb2f(0x1ff)](),_0x580c3f){const {skeleton:_0xc3daa0,cursors:_0x490d9f}=_0x580c3f;this[_0x2bfb2f(0x1b1)](_0xc3daa0,_0x490d9f);}})),this[_0x1a9cc8(0x282)](),this['_initCommandExecutedListener']();}[_0x1ff3f4(0x1b1)](_0x32a28a,_0xb70395){const _0x21a72f=_0x1ff3f4,{scene:_0x36023f,mainComponent:_0x36f9cf}=this[_0x21a72f(0x377)],_0x10c747=_0xb70395[_0x21a72f(0x363)](_0x5b4f92=>new qe(_0x5b4f92,_0x36023f,_0x32a28a,_0x36f9cf));this[_0x21a72f(0x256)]=_0x10c747,this[_0x21a72f(0x2cb)]=_0xb70395;}[_0x1ff3f4(0x1fc)](){const _0x3c6829=_0x1ff3f4;this[_0x3c6829(0x1ff)]();const {scene:_0x2f0572,mainComponent:_0x3bafcb}=this[_0x3c6829(0x377)],_0x31d8a7=this[_0x3c6829(0x1d5)][_0x3c6829(0x2d2)](),_0x50c33c=this[_0x3c6829(0x2cb)][_0x3c6829(0x363)](_0x379000=>new qe(_0x379000,_0x2f0572,_0x31d8a7,_0x3bafcb));this['_cursorShapes']=_0x50c33c;}['_removeCollabCursors'](){const _0x598d7a=_0x1ff3f4;this['_cursorShapes'][_0x598d7a(0x2fc)](_0x436b3e=>_0x436b3e['dispose']()),this[_0x598d7a(0x256)]=[];}[_0x1ff3f4(0x1f3)](){const _0x1fbd71=_0x1ff3f4,_0x47be5d=[_0x5f3a10['id']];this['disposeWithMe'](this[_0x1fbd71(0x342)]['onCommandExecuted'](_0x8cc4cb=>{const _0x2c1e56=_0x1fbd71;_0x47be5d[_0x2c1e56(0x2f8)](_0x8cc4cb['id'])&&_0x8cc4cb[_0x2c1e56(0x3af)][_0x2c1e56(0x397)]===this['_context'][_0x2c1e56(0x397)]&&this[_0x2c1e56(0x1fc)]();}));}[_0x1ff3f4(0x282)](){const _0x2e79a7=_0x1ff3f4;this[_0x2e79a7(0x25e)](_0x22d8e0(this[_0x2e79a7(0x377)][_0x2e79a7(0x386)][_0x2e79a7(0x2de)])[_0x2e79a7(0x3b1)](_0x50e6c5(_0x2531ee=>_0x2531ee['type']===_0x6d39fa[_0x2e79a7(0x203)]),_0x1dbd4c(0x10))[_0x2e79a7(0x3a0)](()=>{const _0x497f6f=_0x2e79a7;this[_0x497f6f(0x1fc)]();}));}};we=Mi([Z(0x1,_0x46eb60(_0x9df354)),Z(0x2,_0x46eb60(H)),Z(0x3,_0x5e2d3a),Z(0x4,_0x46eb60(_0xe49e65))],we);const wi=0x1,Pi=1.5;class Li extends _0x63fadb{constructor(_0x3e4bd5,_0x280826){const _0x7855f4=_0x1ff3f4;super(_0x3e4bd5,_0x280826),_(this,'_color'),_(this,'_hovered',!0x1),_(this,'_range'),_(this,_0x7855f4(0x34e),''),_(this,_0x7855f4(0x245),_0x7855f4(0x358)),_(this,_0x7855f4(0x35a)),(_0x280826&&this[_0x7855f4(0x340)](_0x280826),this[_0x7855f4(0x323)]['subscribeEvent'](()=>this[_0x7855f4(0x340)]({'hovered':!0x0})),this[_0x7855f4(0x1f0)][_0x7855f4(0x207)](()=>this[_0x7855f4(0x340)]({'hovered':!0x1})));}[_0x1ff3f4(0x340)](_0x221e27){const _0x306a97=_0x1ff3f4;var _0x3d7419,_0x383d30,_0x16f55c,_0x487c87,_0x4eff60,_0x47b7c8;this[_0x306a97(0x1ae)]=(_0x3d7419=_0x221e27[_0x306a97(0x2c4)])!=null?_0x3d7419:this[_0x306a97(0x1ae)],this['_hovered']=(_0x383d30=_0x221e27[_0x306a97(0x28a)])!=null?_0x383d30:this[_0x306a97(0x261)],this[_0x306a97(0x2c5)]=(_0x16f55c=_0x221e27[_0x306a97(0x314)])!=null?_0x16f55c:this[_0x306a97(0x2c5)],this[_0x306a97(0x34e)]=(_0x487c87=_0x221e27['name'])!=null?_0x487c87:this[_0x306a97(0x34e)],this['_labelPosition']=(_0x4eff60=_0x221e27[_0x306a97(0x38c)])!=null?_0x4eff60:this[_0x306a97(0x245)],this['_backgroundColor']=(_0x47b7c8=_0x221e27[_0x306a97(0x1e5)])!=null?_0x47b7c8:this[_0x306a97(0x35a)],this['transformByState']({'width':_0x221e27[_0x306a97(0x281)],'height':_0x221e27[_0x306a97(0x345)]});}[_0x1ff3f4(0x31f)](_0x284928){const _0xb91a74=_0x1ff3f4,{row:_0x596107,column:_0x98f879}=_0x284928;if(_0x596107>=this[_0xb91a74(0x2c5)][_0xb91a74(0x278)]&&_0x596107<=this['_range'][_0xb91a74(0x1e9)]&&_0x98f879>=this[_0xb91a74(0x2c5)]['startColumn']&&_0x98f879<=this[_0xb91a74(0x2c5)][_0xb91a74(0x1ef)]){this[_0xb91a74(0x340)]({'hovered':!0x0});return;}this[_0xb91a74(0x340)]({'hovered':!0x1});}['triggerDblclick'](_0x3d9c81){return!0x1;}['_draw'](_0x10b7d5){const _0x27b3f0=_0x1ff3f4;_0x4b77b9['drawWith'](_0x10b7d5,{'width':this[_0x27b3f0(0x281)],'height':this[_0x27b3f0(0x345)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x27b3f0(0x35a)]}),this[_0x27b3f0(0x261)]&&(_0x10b7d5[_0x27b3f0(0x235)](),_0x10b7d5[_0x27b3f0(0x246)](0x1,0x0,0x0,0x1,this[_0x27b3f0(0x281)],this['_labelPosition']===_0x27b3f0(0x274)?0x0:-0x14),he[_0x27b3f0(0x374)](_0x10b7d5,{'text':this[_0x27b3f0(0x34e)],'color':this[_0x27b3f0(0x1ae)]}),_0x10b7d5[_0x27b3f0(0x1b6)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x315f73,_0xacbbf,_0x3980ba,_0x21dc70)=>{const _0x4b4b83=_0x1ff3f4;for(var _0x121869=_0x21dc70>0x1?void 0x0:_0x21dc70?Ai(_0xacbbf,_0x3980ba):_0xacbbf,_0x409613=_0x315f73[_0x4b4b83(0x2f5)]-0x1,_0x3a0d33;_0x409613>=0x0;_0x409613--)(_0x3a0d33=_0x315f73[_0x409613])&&(_0x121869=_0x3a0d33(_0x121869)||_0x121869);return _0x121869;},ve=(_0x2140fb,_0x341199)=>(_0x3500c7,_0x742912)=>_0x341199(_0x3500c7,_0x742912,_0x2140fb);const $i=0x1389;let Pe=class extends _0x2941d4{constructor(_0x5d3941,_0x419f70,_0x33b3a5,_0x54bd3a){const _0x1ad19b=_0x1ff3f4;super(),_(this,_0x1ad19b(0x2cb),new Set()),_(this,_0x1ad19b(0x31b),null),(this[_0x1ad19b(0x377)]=_0x5d3941,this['_sheetSkeletonManagerService']=_0x419f70,this['_collabCursorController']=_0x33b3a5,this['_themeService']=_0x54bd3a,this[_0x1ad19b(0x1bd)]());}[_0x1ff3f4(0x1bd)](){const _0xc9e39e=_0x1ff3f4;this[_0xc9e39e(0x25c)][_0xc9e39e(0x1da)][_0xc9e39e(0x3b1)](_0x2f16b1(this[_0xc9e39e(0x2e3)]),_0x460a4e(_0xf2efa6=>{const _0x515f82=_0xc9e39e;if(_0xf2efa6){const _0x485121=_0xf2efa6[_0x515f82(0x2bb)];return _0x2c02ec(this['_collabCursorController'][_0x515f82(0x220)](this[_0x515f82(0x377)]['unitId']),this[_0x515f82(0x28b)][_0x515f82(0x33b)])['pipe'](_0x188b24(([_0x565f70,_0x4a8462])=>{const _0x3bf42f=new Map();return _0x565f70['forEach']((_0x453789,_0x386607)=>{const _0x51b764=_0x5129;if(_0x453789[_0x51b764(0x23d)]===_0x485121){const _0x217d49={..._0x453789};_0x217d49['color']=this[_0x51b764(0x28b)][_0x51b764(0x24e)](_0x453789[_0x51b764(0x2c4)]),_0x3bf42f[_0x51b764(0x2fa)](_0x386607,_0x217d49);}}),{'skeleton':_0xf2efa6,'cursors':_0x3bf42f};}));}return _0xa249c5({'skeleton':null,'cursors':new Map()});}))[_0xc9e39e(0x3a0)](({skeleton:_0x414b4e,cursors:_0x22500e})=>{const _0x57876c=_0xc9e39e;this[_0x57876c(0x1ff)](),_0x414b4e&&this[_0x57876c(0x1b1)](_0x414b4e,_0x22500e);}),this['_sheetSkeletonManagerService'][_0xc9e39e(0x1da)]['subscribe'](_0x221dd6=>{const _0x11f4a9=_0xc9e39e;if(_0x221dd6==null)return;const {skeleton:_0x5e6e9a}=_0x221dd6,{scene:_0x1e05de}=this[_0x11f4a9(0x377)];_0x1e05de[_0x11f4a9(0x2e7)]['subscribeEvent'](_0x24f6a5(_0x28eb3d=>{const _0x504493=_0x11f4a9;var _0x275837,_0x38f7a7;const {offsetX:_0x2c851c,offsetY:_0x5284ad}=_0x28eb3d,{x:_0x5efe37,y:_0x30b3b9}=_0x1e05de[_0x504493(0x25a)](_0x554577[_0x504493(0x2c0)]([_0x2c851c,_0x5284ad])),{scaleX:_0xe02b20,scaleY:_0x3dc7b8}=_0x1e05de['getAncestorScale'](),_0x3e36a8=_0x1e05de[_0x504493(0x1c0)](_0x40207b[_0x504493(0x35d)]),_0x2111bf=_0x1e05de['getVpScrollXYInfoByPosToVp'](_0x554577['FromArray']([_0x5efe37,_0x30b3b9]),_0x3e36a8),_0x36cba4=_0x5e6e9a[_0x504493(0x255)](_0x2c851c,_0x5284ad,_0xe02b20,_0x3dc7b8,_0x2111bf);((_0x275837=this[_0x504493(0x31b)])==null?void 0x0:_0x275837[_0x504493(0x33e)])===_0x36cba4[_0x504493(0x33e)]&&((_0x38f7a7=this[_0x504493(0x31b)])==null?void 0x0:_0x38f7a7[_0x504493(0x2d1)])===_0x36cba4['row']||this['_cursors'][_0x504493(0x2fc)](_0x3e0f51=>{const _0x101acb=_0x504493;_0x3e0f51[_0x101acb(0x31f)](_0x36cba4);});},0x64));});}[_0x1ff3f4(0x1b1)](_0x5ab5bc,_0x4631c1){const _0x34acc5=_0x1ff3f4;var _0x58e2f2;const _0x55bfcf=(_0x58e2f2=this[_0x34acc5(0x25c)]['getCurrent']())==null?void 0x0:_0x58e2f2[_0x34acc5(0x385)];if(!_0x55bfcf)return;const _0x478857=this['_getSheetObject']();if(!_0x478857)return;this[_0x34acc5(0x2cb)][_0x34acc5(0x2fc)](_0x59c413=>{const _0x229e33=_0x34acc5;_0x59c413[_0x229e33(0x21c)]();});const {scene:_0x3f6280}=_0x478857,_0x9bc130=xi(Array[_0x34acc5(0x319)](_0x4631c1[_0x34acc5(0x2ba)]()))['map'](_0x323798=>{const _0x148a10=_0x34acc5,{color:_0x565be6,range:_0x135dcb,name:_0x4a523f,selection:_0x2bd75c,sheetID:_0x3f0e18}=_0x323798,{startColumn:_0x46238d,startRow:_0x320b07,endColumn:_0x45a45e,endRow:_0x2009be}=_0x135dcb,_0x230e1d=_0x256d90(_0x320b07,_0x46238d,_0x3f6280,_0x55bfcf),_0x561728=_0x256d90(_0x2009be,_0x45a45e,_0x3f6280,_0x55bfcf),{columnHeaderHeightAndMarginTop:_0x6d2ddc}=_0x55bfcf,{startX:_0x448b7c,startY:_0xf70b3}=_0x230e1d,{endX:_0x4c5713,endY:_0x3d2e2c}=_0x561728,_0x2d55dd=_0x4c5713-_0x448b7c,_0x133e9d=_0x3d2e2c-_0xf70b3,_0x510330={'labelPosition':_0xf70b3-_0x6d2ddc>=ee?'top':_0x148a10(0x274),'sheetID':_0x3f0e18,'range':_0x135dcb,'color':_0x565be6,'name':_0x4a523f,'selection':_0x2bd75c,'left':_0x448b7c,'top':_0xf70b3,'width':_0x2d55dd,'height':_0x133e9d,'evented':!0x1,'zIndex':$i};return new Li(_0x4a523f,_0x510330);});_0x3f6280[_0x34acc5(0x320)](_0x9bc130,wi),this[_0x34acc5(0x2cb)]=new Set(_0x9bc130);}[_0x1ff3f4(0x1ff)](){const _0x3c75e2=_0x1ff3f4;var _0x185c67;(_0x185c67=this[_0x3c75e2(0x2cb)])==null||_0x185c67[_0x3c75e2(0x2fc)](_0x13a860=>_0x13a860['dispose']());}[_0x1ff3f4(0x38d)](){const _0x10425e=_0x1ff3f4;return _0x52cc66(this[_0x10425e(0x377)][_0x10425e(0x272)],this[_0x10425e(0x377)]);}};Pe=yi([ve(0x1,_0x46eb60(_0x3df7b8)),ve(0x2,_0x46eb60(H)),ve(0x3,_0x46eb60(_0xe49e65))],Pe);function xi(_0x37cb3e){const _0x693ae5=_0x1ff3f4,_0x50778d=new Map();return _0x37cb3e[_0x693ae5(0x2fc)](_0x585c29=>{const _0x2b67f2=_0x693ae5;if(_0x50778d['has'](_0x585c29[_0x2b67f2(0x2d9)])){const _0xa55feb=_0x50778d[_0x2b67f2(0x316)](_0x585c29[_0x2b67f2(0x2d9)]);_0xa55feb['name']+=',\x20'+_0x585c29[_0x2b67f2(0x1f4)];}else _0x50778d[_0x2b67f2(0x2fa)](_0x585c29[_0x2b67f2(0x2d9)],_0x585c29);}),Array[_0x693ae5(0x319)](_0x50778d[_0x693ae5(0x2ba)]());}var v=function(){const _0x467775=_0x1ff3f4;return v=Object[_0x467775(0x2bf)]||function(_0x130ea8){const _0x4cc488=_0x467775;for(var _0x2741ff,_0x2af1b9=0x1,_0x25f392=arguments[_0x4cc488(0x2f5)];_0x2af1b9<_0x25f392;_0x2af1b9++){_0x2741ff=arguments[_0x2af1b9];for(var _0x4b87b0 in _0x2741ff)Object['prototype'][_0x4cc488(0x239)][_0x4cc488(0x2a4)](_0x2741ff,_0x4b87b0)&&(_0x130ea8[_0x4b87b0]=_0x2741ff[_0x4b87b0]);}return _0x130ea8;},v[_0x467775(0x327)](this,arguments);},Bi=function(_0x3d0b4a,_0x55cbcf){const _0x4f3081=_0x1ff3f4;var _0x4dc7ee={};for(var _0x2506d8 in _0x3d0b4a)Object[_0x4f3081(0x326)]['hasOwnProperty']['call'](_0x3d0b4a,_0x2506d8)&&_0x55cbcf[_0x4f3081(0x31e)](_0x2506d8)<0x0&&(_0x4dc7ee[_0x2506d8]=_0x3d0b4a[_0x2506d8]);if(_0x3d0b4a!=null&&typeof Object[_0x4f3081(0x2df)]==_0x4f3081(0x3b3)){for(var _0x3b1e54=0x0,_0x2506d8=Object[_0x4f3081(0x2df)](_0x3d0b4a);_0x3b1e54<_0x2506d8[_0x4f3081(0x2f5)];_0x3b1e54++)_0x55cbcf[_0x4f3081(0x31e)](_0x2506d8[_0x3b1e54])<0x0&&Object[_0x4f3081(0x326)]['propertyIsEnumerable'][_0x4f3081(0x2a4)](_0x3d0b4a,_0x2506d8[_0x3b1e54])&&(_0x4dc7ee[_0x2506d8[_0x3b1e54]]=_0x3d0b4a[_0x2506d8[_0x3b1e54]]);}return _0x4dc7ee;},je=_0x19d4c9(function(_0x40d2f0,_0x53ca58){const _0x1a3318=_0x1ff3f4;var _0x4d3295=_0x40d2f0[_0x1a3318(0x30e)],_0x2d2a96=_0x40d2f0['id'],_0x3f4255=_0x40d2f0[_0x1a3318(0x254)],_0x330ae8=_0x40d2f0[_0x1a3318(0x1fd)],_0x1acb5f=Bi(_0x40d2f0,[_0x1a3318(0x30e),'id',_0x1a3318(0x254),_0x1a3318(0x1fd)]),_0x5d591f=_0x1a3318(0x1bb)['concat'](_0x2d2a96,'\x20')[_0x1a3318(0x384)](_0x3f4255||'')[_0x1a3318(0x37f)](),_0x23825e=_0x381828('_'[_0x1a3318(0x384)](ji()));return Rt(_0x4d3295,''[_0x1a3318(0x384)](_0x2d2a96),{'defIds':_0x4d3295[_0x1a3318(0x3b0)],'idSuffix':_0x23825e[_0x1a3318(0x351)]},v({'ref':_0x53ca58,'className':_0x5d591f},_0x1acb5f),_0x330ae8);});function Rt(_0x37eea3,_0x438f28,_0x1d5252,_0x1ec229,_0x56a9d4){const _0x4f9f73=_0x1ff3f4;return _0x4a51dc(_0x37eea3[_0x4f9f73(0x211)],v(v({'key':_0x438f28},ki(_0x37eea3,_0x1d5252,_0x56a9d4)),_0x1ec229),(Hi(_0x37eea3,_0x1d5252)[_0x4f9f73(0x35f)]||[])[_0x4f9f73(0x363)](function(_0x2c06d2,_0x5c07c4){const _0x44c642=_0x4f9f73;return Rt(_0x2c06d2,''[_0x44c642(0x384)](_0x438f28,'-')[_0x44c642(0x384)](_0x37eea3[_0x44c642(0x211)],'-')[_0x44c642(0x384)](_0x5c07c4),_0x1d5252,void 0x0,_0x56a9d4);}));}function ki(_0x338042,_0x5dd5b6,_0x3877a0){const _0x17ed52=_0x1ff3f4;var _0xb98173=v({},_0x338042['attrs']);_0x3877a0!=null&&_0x3877a0[_0x17ed52(0x303)]&&_0xb98173[_0x17ed52(0x202)]===_0x17ed52(0x303)&&(_0xb98173[_0x17ed52(0x202)]=_0x3877a0[_0x17ed52(0x303)]),_0x338042[_0x17ed52(0x211)]===_0x17ed52(0x1af)&&_0xb98173['id']&&(_0xb98173['id']=_0xb98173['id']+_0x5dd5b6['idSuffix']),Object[_0x17ed52(0x36b)](_0xb98173)[_0x17ed52(0x2fc)](function(_0x3d532f){const _0x50e3af=_0x17ed52;var _0x69aa14=_0x3d532f[0x0],_0x3a3bce=_0x3d532f[0x1];_0x69aa14==='mask'&&typeof _0x3a3bce==_0x50e3af(0x33c)&&(_0xb98173[_0x69aa14]=_0x3a3bce[_0x50e3af(0x2f0)](/url\(#(.*)\)/,'url(#$1'[_0x50e3af(0x384)](_0x5dd5b6[_0x50e3af(0x2ae)],')')));});var _0x14e9bb=_0x5dd5b6['defIds'];return!_0x14e9bb||_0x14e9bb['length']===0x0||(_0x338042[_0x17ed52(0x211)]===_0x17ed52(0x1c2)&&_0xb98173[_0x17ed52(0x1c9)]&&(_0xb98173[_0x17ed52(0x1c9)]=_0xb98173['xlink:href']+_0x5dd5b6['idSuffix']),Object[_0x17ed52(0x36b)](_0xb98173)[_0x17ed52(0x2fc)](function(_0x290041){const _0xb2a8a4=_0x17ed52;var _0x35527d=_0x290041[0x0],_0x15558e=_0x290041[0x1];typeof _0x15558e==_0xb2a8a4(0x33c)&&(_0xb98173[_0x35527d]=_0x15558e[_0xb2a8a4(0x2f0)](/url\(#(.*)\)/,_0xb2a8a4(0x23e)['concat'](_0x5dd5b6[_0xb2a8a4(0x2ae)],')')));})),_0xb98173;}function Hi(_0x2665b8,_0x2332dc){const _0x304894=_0x1ff3f4;var _0x5b8ad8,_0x55d967=_0x2332dc[_0x304894(0x3b0)];return!_0x55d967||_0x55d967[_0x304894(0x2f5)]===0x0?_0x2665b8:_0x2665b8[_0x304894(0x211)]===_0x304894(0x20b)&&(!((_0x5b8ad8=_0x2665b8[_0x304894(0x35f)])===null||_0x5b8ad8===void 0x0)&&_0x5b8ad8['length'])?v(v({},_0x2665b8),{'children':_0x2665b8[_0x304894(0x35f)][_0x304894(0x363)](function(_0x335f49){const _0x133b05=_0x304894;return typeof _0x335f49[_0x133b05(0x322)]['id']=='string'&&_0x55d967&&_0x55d967['includes'](_0x335f49[_0x133b05(0x322)]['id'])?v(v({},_0x335f49),{'attrs':v(v({},_0x335f49[_0x133b05(0x322)]),{'id':_0x335f49[_0x133b05(0x322)]['id']+_0x2332dc[_0x133b05(0x2ae)]})}):_0x335f49;})}):_0x2665b8;}function ji(){const _0xdfa04e=_0x1ff3f4;return Math[_0xdfa04e(0x1ed)]()['toString'](0x24)[_0xdfa04e(0x27c)](0x2,0x8);}je[_0x1ff3f4(0x307)]=_0x1ff3f4(0x344);var Yi={'tag':_0x1ff3f4(0x365),'attrs':{'xmlns':_0x1ff3f4(0x22a),'fill':_0x1ff3f4(0x1b8),'viewBox':_0x1ff3f4(0x318),'width':_0x1ff3f4(0x24a),'height':_0x1ff3f4(0x24a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1ff3f4(0x362),'attrs':{'stroke':'currentColor','d':_0x1ff3f4(0x349),'strokeLinecap':_0x1ff3f4(0x1c3),'strokeLinejoin':_0x1ff3f4(0x1c3),'strokeWidth':1.2}}]},{'tag':_0x1ff3f4(0x20b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1ff3f4(0x2f3)},'children':[{'tag':'path','attrs':{'fill':_0x1ff3f4(0x3a6),'d':_0x1ff3f4(0x23a)}}]}]}],'defIds':[_0x1ff3f4(0x2f3)]},Dt=_0x19d4c9(function(_0x452bb2,_0x9b2083){const _0x46b17f=_0x1ff3f4;return _0x4a51dc(je,Object[_0x46b17f(0x2bf)]({},_0x452bb2,{'id':_0x46b17f(0x1d4),'ref':_0x9b2083,'icon':Yi}));});Dt[_0x1ff3f4(0x307)]=_0x1ff3f4(0x223);var Fi={'tag':_0x1ff3f4(0x365),'attrs':{'xmlns':_0x1ff3f4(0x22a),'fill':_0x1ff3f4(0x1b8),'viewBox':_0x1ff3f4(0x1bf),'width':_0x1ff3f4(0x24a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x1ff3f4(0x362),'attrs':{'stroke':_0x1ff3f4(0x36e),'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':_0x1ff3f4(0x1c3),'strokeLinejoin':_0x1ff3f4(0x1c3),'strokeWidth':1.2}}]},{'tag':_0x1ff3f4(0x20b),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1ff3f4(0x3ac)},'children':[{'tag':'path','attrs':{'fill':_0x1ff3f4(0x3a6),'d':_0x1ff3f4(0x23a),'transform':_0x1ff3f4(0x3ae)}}]}]}],'defIds':[_0x1ff3f4(0x3ac)]},Nt=_0x19d4c9(function(_0x3776ae,_0x206ca5){const _0x49cf5f=_0x1ff3f4;return _0x4a51dc(je,Object[_0x49cf5f(0x2bf)]({},_0x3776ae,{'id':'on-line-icon','ref':_0x206ca5,'icon':Fi}));});Nt[_0x1ff3f4(0x307)]=_0x1ff3f4(0x248);function Wi(_0xd23bb0){const _0x297aae=_0x1ff3f4;switch(_0xd23bb0){case _0x5c1fc0['OFFLINE']:return _0x297aae(0x350);case _0x5c1fc0[_0x297aae(0x34a)]:return _0x297aae(0x219);case _0x5c1fc0[_0x297aae(0x2b7)]:return'collabStatus.fetchMiss';case _0x5c1fc0['NOT_COLLAB']:return _0x297aae(0x20f);case _0x5c1fc0['AWAITING']:case _0x5c1fc0[_0x297aae(0x2e6)]:return _0x297aae(0x243);case _0x5c1fc0[_0x297aae(0x1e0)]:case _0x5c1fc0['PENDING']:return _0x297aae(0x201);}}function Vi(_0x2243eb){const _0x39128c=_0x1ff3f4,{status$:_0x14282f}=_0x2243eb,_0x269912=_0x544941(_0x14282f,_0x5c1fc0[_0x39128c(0x3a2)]),_0x50d4de=_0xd6265f(_0x3ec261),_0x485d2a=_0xd6265f(_0x57a0f6),_0x130186=_0x269912!==_0x5c1fc0[_0x39128c(0x1f2)],_0x23093a=_0x50d4de['t'](Wi(_0x269912)),_0x36d5e8=_0x130186?_0x14c72b(Nt,{}):_0x14c72b(Dt,{}),_0x11896d=_0x8f4c30(()=>{const _0x3b5c9a=_0x39128c;_0x130186||_0x485d2a[_0x3b5c9a(0x2fe)]();},[_0x130186,_0x485d2a]);function _0x164dee(){const _0x438bd6=_0x39128c;return _0x53f0f7(_0x438bd6(0x3a5),{'className':_0x438bd6(0x1cb),'onClick':_0x11896d,'children':[_0x14c72b(_0x438bd6(0x3a5),{'className':_0x22a9e9(_0x438bd6(0x1dc),{'univer-text-green-500':_0x130186,'univer-text-red-500':!_0x130186}),'children':_0x36d5e8}),_0x14c72b('div',{'className':_0x438bd6(0x22f),'children':_0x23093a})]});}return _0x130186?_0x164dee():_0x14c72b(_0x2484ae,{'title':_0x50d4de['t']('collab-client.tooltip.reconnect'),'children':_0x164dee()});}var Xi=Object[_0x1ff3f4(0x231)],Gi=(_0x3ad769,_0x3f047d,_0x1cf142,_0x116745)=>{for(var _0x59318f=_0x116745>0x1?void 0x0:_0x116745?Xi(_0x3f047d,_0x1cf142):_0x3f047d,_0x55c1f1=_0x3ad769['length']-0x1,_0x122656;_0x55c1f1>=0x0;_0x55c1f1--)(_0x122656=_0x3ad769[_0x55c1f1])&&(_0x59318f=_0x122656(_0x59318f)||_0x59318f);return _0x59318f;},Q=(_0xec3811,_0x5713be)=>(_0x9e746a,_0xc756a7)=>_0x5713be(_0x9e746a,_0xc756a7,_0xec3811);let te=class extends _0x55b0eb{constructor(_0x2c5249,_0x25d381,_0x11b2cb,_0x2c7b89){const _0xba9d37=_0x1ff3f4;super(),_(this,_0xba9d37(0x310),new _0x5eaf72(_0x5c1fc0[_0xba9d37(0x3a2)])),(this[_0xba9d37(0x372)]=_0x2c5249,this[_0xba9d37(0x37a)]=_0x25d381,this[_0xba9d37(0x395)]=_0x11b2cb,this[_0xba9d37(0x3a4)]=_0x2c7b89,this[_0xba9d37(0x2aa)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x4d18b1=_0x1ff3f4;this[_0x4d18b1(0x25e)](this[_0x4d18b1(0x372)][_0x4d18b1(0x232)][_0x4d18b1(0x3b1)](_0x1f8a7c(()=>{const _0x3b3d19=_0x4d18b1,_0xf5062a=this[_0x3b3d19(0x372)][_0x3b3d19(0x333)]();return _0xf5062a?this[_0x3b3d19(0x395)][_0x3b3d19(0x1b5)](_0xf5062a[_0x3b3d19(0x330)]()):_0xa249c5(null);}),_0x1f8a7c(_0x354e54=>_0x354e54?_0x354e54[_0x4d18b1(0x229)]:_0xa249c5(_0x5c1fc0[_0x4d18b1(0x3a2)])))[_0x4d18b1(0x3a0)](_0x2cafbf=>{const _0x35fb72=_0x4d18b1;this[_0x35fb72(0x310)][_0x35fb72(0x337)](_0x2cafbf);}));}[_0x1ff3f4(0x2aa)](){const _0x3d65d9=_0x1ff3f4;this[_0x3d65d9(0x25e)](this[_0x3d65d9(0x3a4)][_0x3d65d9(0x24b)](_0x231f6f[_0x3d65d9(0x1be)],()=>_0x1fea6a(Ki({'status$':this[_0x3d65d9(0x310)][_0x3d65d9(0x32c)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x2fc716),Q(0x1,_0x46eb60(_0x425022)),Q(0x2,_0x46eb60(_0x9d4199)),Q(0x3,_0x55e113)],te);function Ki(_0x1dafbc){const {status$:_0xd15a4d}=_0x1dafbc;return function(){return _0x14c72b(Vi,{'status$':_0xd15a4d});};}var zi=Object[_0x1ff3f4(0x231)],Ji=(_0x24d3b4,_0x33d391,_0x13741f,_0x443b71)=>{const _0x24f4c3=_0x1ff3f4;for(var _0x67b5d9=_0x443b71>0x1?void 0x0:_0x443b71?zi(_0x33d391,_0x13741f):_0x33d391,_0x118175=_0x24d3b4[_0x24f4c3(0x2f5)]-0x1,_0x2e4541;_0x118175>=0x0;_0x118175--)(_0x2e4541=_0x24d3b4[_0x118175])&&(_0x67b5d9=_0x2e4541(_0x67b5d9)||_0x67b5d9);return _0x67b5d9;},B=(_0x31c23b,_0x1bbd12)=>(_0x2e053d,_0x8e515e)=>_0x1bbd12(_0x2e053d,_0x8e515e,_0x31c23b);let se=class extends _0x55b0eb{constructor(_0x2f3db4,_0x14fdd0,_0x33d4a8,_0x4c00ad,_0x1baa98,_0xd21abd){const _0xf90919=_0x1ff3f4;super(),this[_0xf90919(0x21f)]=_0x2f3db4,this[_0xf90919(0x1ce)]=_0x14fdd0,this[_0xf90919(0x370)]=_0x33d4a8,this[_0xf90919(0x32a)]=_0x4c00ad,this['_notificationService']=_0x1baa98,this['_localeService']=_0xd21abd,this[_0xf90919(0x36c)](),this[_0xf90919(0x263)]();}[_0x1ff3f4(0x36c)](){const _0x222302=_0x1ff3f4;this['disposeWithMe'](this['_beforeCloseService'][_0x222302(0x22b)](()=>{const _0x7daebc=_0x222302;if(this[_0x7daebc(0x1ce)][_0x7daebc(0x3a3)]['size'])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}[_0x1ff3f4(0x263)](){const _0xfe9b93=_0x1ff3f4;this[_0xfe9b93(0x25e)](this[_0xfe9b93(0x370)][_0xfe9b93(0x29c)]['subscribe'](_0x168038=>{const _0x5eb8ff=_0xfe9b93;_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x30a)]&&this[_0x5eb8ff(0x32a)]['show']({'type':_0x3b7ce8[_0x5eb8ff(0x1d6)],'content':this[_0x5eb8ff(0x313)]['t'](_0x5eb8ff(0x296))}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x285)]&&this[_0x5eb8ff(0x32a)][_0x5eb8ff(0x1ec)]({'type':_0x3b7ce8['Warning'],'content':this['_localeService']['t'](_0x5eb8ff(0x2f7))}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x2a2)]&&this[_0x5eb8ff(0x222)][_0x5eb8ff(0x1ec)]({'title':this[_0x5eb8ff(0x313)]['t'](_0x5eb8ff(0x287)),'content':this[_0x5eb8ff(0x313)]['t'](_0x5eb8ff(0x1ee)),'type':_0x5eb8ff(0x1e3),'duration':0x0}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x34a)]&&this[_0x5eb8ff(0x32a)][_0x5eb8ff(0x1ec)]({'type':_0x3b7ce8['Error'],'content':this[_0x5eb8ff(0x313)]['t'](_0x5eb8ff(0x2f7))+'('+_0x168038['data']+')'}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x200)]&&this[_0x5eb8ff(0x32a)]['show']({'type':_0x3b7ce8[_0x5eb8ff(0x1d6)],'content':this[_0x5eb8ff(0x313)]['t'](_0x168038[_0x5eb8ff(0x1eb)]||'')}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x341)]&&this['_messageService'][_0x5eb8ff(0x1ec)]({'type':_0x3b7ce8[_0x5eb8ff(0x1d6)],'content':this[_0x5eb8ff(0x313)]['t'](_0x5eb8ff(0x257))}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x238)]&&this[_0x5eb8ff(0x32a)][_0x5eb8ff(0x1ec)]({'type':_0x3b7ce8['Error'],'content':this[_0x5eb8ff(0x313)]['t'](_0x5eb8ff(0x32b))}),_0x168038['id']===_0x5ae8b2[_0x5eb8ff(0x32d)]&&this[_0x5eb8ff(0x32a)]['show']({'type':_0x3b7ce8[_0x5eb8ff(0x2ab)],'content':this[_0x5eb8ff(0x313)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x2f95ad),B(0x1,_0x18ecc1),B(0x2,_0x46eb60(_0x11921d)),B(0x3,_0x4425b9),B(0x4,_0x3b4cd4),B(0x5,_0x46eb60(_0x3ec261))],se);const Zi=_0x1ff3f4(0x312),et={},Ut=_0x32d641(_0x1ff3f4(0x39c));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x5442a4,_0x5cabf7,_0x1729e0,_0x4da0a7)=>{for(var _0x304439=_0x4da0a7>0x1?void 0x0:_0x4da0a7?Qi(_0x5cabf7,_0x1729e0):_0x5cabf7,_0x10f043=_0x5442a4['length']-0x1,_0x5d531c;_0x10f043>=0x0;_0x10f043--)(_0x5d531c=_0x5442a4[_0x10f043])&&(_0x304439=_0x5d531c(_0x304439)||_0x304439);return _0x304439;},G=(_0x1b364a,_0x1402e2)=>(_0x1b84a4,_0x14e529)=>_0x1402e2(_0x1b84a4,_0x14e529,_0x1b364a);let ie=class extends _0x2941d4{constructor(_0x23f7a0,_0x8ec038,_0x191ff5,_0x2606fa,_0x37c056){const _0x5abf08=_0x1ff3f4;super(),this[_0x5abf08(0x29a)]=_0x23f7a0,this[_0x5abf08(0x366)]=_0x8ec038,this[_0x5abf08(0x342)]=_0x191ff5,this['_dataLoaderService']=_0x2606fa,_0x37c056?_0x37c056==null||_0x37c056['whenReady']()['then'](()=>this[_0x5abf08(0x1bd)]()):(this[_0x5abf08(0x366)]['debug'](_0x5abf08(0x38a),_0x5abf08(0x346)),this['_init']());}async['_init'](){const _0x444ad0=_0x1ff3f4,_0x4c421a=this[_0x444ad0(0x29a)][_0x444ad0(0x3a8)]('unit'),_0x362a82=this[_0x444ad0(0x29a)]['getParam']('type'),_0x3d4a6e=this[_0x444ad0(0x29a)][_0x444ad0(0x3a8)](_0x444ad0(0x29e));if(!_0x4c421a||!_0x362a82){this[_0x444ad0(0x366)][_0x444ad0(0x279)](_0x444ad0(0x38a),_0x444ad0(0x214));return;}const _0x19736a=await this['_dataLoaderService'][_0x444ad0(0x2e5)](_0x4c421a,Number(_0x362a82),_0x3d4a6e);_0x19736a&&_0x19736a instanceof _0x36c131&&this[_0x444ad0(0x2cc)](_0x19736a);}async[_0x1ff3f4(0x2cc)](_0x245015){const _0x181de5=_0x1ff3f4;await this[_0x181de5(0x3ad)](_0x245015),_0x245015[_0x181de5(0x293)][_0x181de5(0x3b1)](_0x3970fb(this[_0x181de5(0x2e3)]))[_0x181de5(0x3a0)](_0x148112=>{const _0x1e6af2=_0x181de5;_0x148112&&this[_0x1e6af2(0x2bd)](_0x148112);}),this[_0x181de5(0x29a)][_0x181de5(0x286)][_0x181de5(0x3b1)](_0x3970fb(this['dispose$']))['subscribe'](()=>this[_0x181de5(0x3ad)](_0x245015));}[_0x1ff3f4(0x2bd)](_0x5b947d,_0x4cb9da=!0x1){const _0x864d08=_0x1ff3f4,_0x1f9c60=this[_0x864d08(0x29a)][_0x864d08(0x3a8)](_0x864d08(0x29e));_0x5b947d[_0x864d08(0x218)]()!==_0x1f9c60&&this['_urlService']['setParam'](_0x864d08(0x29e),_0x5b947d[_0x864d08(0x218)](),_0x4cb9da);}async[_0x1ff3f4(0x3ad)](_0x49d36c){const _0x518756=_0x1ff3f4;var _0x2663d6;const _0x93b1e1=this[_0x518756(0x29a)]['getParam'](_0x518756(0x29e));if(!_0x93b1e1||!_0x49d36c[_0x518756(0x297)](_0x93b1e1)){const _0x56e8dc=_0x49d36c[_0x518756(0x2ca)]()[0x0],_0xc55862=_0x49d36c[_0x518756(0x297)](_0x56e8dc);if(!_0xc55862)return;this[_0x518756(0x2bd)](_0xc55862,!0x0),await this['_commandService']['executeCommand'](_0x488f21['id'],{'unitId':_0x49d36c[_0x518756(0x330)](),'subUnitId':_0x56e8dc});return;}((_0x2663d6=_0x49d36c[_0x518756(0x1c8)]())==null?void 0x0:_0x2663d6[_0x518756(0x218)]())!==_0x93b1e1&&await this[_0x518756(0x342)][_0x518756(0x3a1)](_0x488f21['id'],{'unitId':_0x49d36c[_0x518756(0x330)](),'subUnitId':_0x93b1e1});}};ie=qi([G(0x0,Ut),G(0x1,_0x15d4ae),G(0x2,_0x5e2d3a),G(0x3,_0x46eb60(_0x54edff)),G(0x4,_0x27ea2e(_0x32ffbb))],ie);var en=Object[_0x1ff3f4(0x231)],tn=(_0x5b60f8,_0x39ef9c,_0x5f4ce0,_0x1d241f)=>{const _0x5d430d=_0x1ff3f4;for(var _0x3159f8=_0x1d241f>0x1?void 0x0:_0x1d241f?en(_0x39ef9c,_0x5f4ce0):_0x39ef9c,_0x4fba70=_0x5b60f8[_0x5d430d(0x2f5)]-0x1,_0x5b4323;_0x4fba70>=0x0;_0x4fba70--)(_0x5b4323=_0x5b60f8[_0x4fba70])&&(_0x3159f8=_0x5b4323(_0x3159f8)||_0x3159f8);return _0x3159f8;},pe=(_0x45566c,_0x2aeaf9)=>(_0x1ab3c8,_0x1d8759)=>_0x2aeaf9(_0x1ab3c8,_0x1d8759,_0x45566c);let ne=class{constructor(_0xbb0f0d,_0x14ca74,_0xc74a97){const _0x4e17a3=_0x1ff3f4;this[_0x4e17a3(0x37a)]=_0xbb0f0d,this[_0x4e17a3(0x354)]=_0x14ca74,this['_renderManagerService']=_0xc74a97;}['transformIMECache'](_0x403877){const _0x2c0fc9=_0x1ff3f4;this[_0x2c0fc9(0x1c1)](_0x403877),this[_0x2c0fc9(0x2d8)](_0x403877);}[_0x1ff3f4(0x2cd)](_0x506988){const _0x1b7a6d=_0x1ff3f4,{unitID:_0x1f16fc}=_0x506988,_0x1f9b89=this['_renderManagerService'][_0x1b7a6d(0x264)](_0x1f16fc)[_0x1b7a6d(0x242)](_0x18fc19),{redoCache:_0x5bd108}=_0x1f9b89['getUndoRedoMutationParamsCache']();if(_0x5bd108[_0x1b7a6d(0x2f5)]===0x0)return _0x506988;let _0x2cfd19=_0x31160e[_0x1b7a6d(0x36d)](_0x506988[_0x1b7a6d(0x1d1)][0x0]);for(let _0x470e72=0x0;_0x470e72<_0x5bd108[_0x1b7a6d(0x2f5)];_0x470e72++){const _0x4399b8={'id':_0x1b7a6d(0x2dc),'params':{..._0x5bd108[_0x470e72]}},_0x1634c0=this['_transformService'][_0x1b7a6d(0x230)](_0x2cfd19,_0x4399b8,!0x1);if(_0x2eaa26(_0x1634c0))throw _0x1634c0['error'];_0x2cfd19=_0x1634c0[_0x1b7a6d(0x30c)];}return{..._0x31160e[_0x1b7a6d(0x36d)](_0x506988),'mutations':[_0x2cfd19]};}[_0x1ff3f4(0x1c1)](_0x257e39){const _0x40c88d=_0x1ff3f4,{unitID:_0x16c7a7}=_0x257e39,_0x221ad3=this[_0x40c88d(0x368)][_0x40c88d(0x264)](_0x16c7a7)[_0x40c88d(0x242)](_0x18fc19),{undoCache:_0x1d7485,redoCache:_0x5e00cb}=_0x221ad3[_0x40c88d(0x225)]();if(_0x1d7485[_0x40c88d(0x2f5)]===0x0||_0x5e00cb[_0x40c88d(0x2f5)]===0x0)return;const _0x549386=[],_0xe0fc4b=[];let _0x426c13=_0x31160e[_0x40c88d(0x36d)](_0x257e39[_0x40c88d(0x1d1)][0x0]),_0x4e5c8e=_0x31160e[_0x40c88d(0x36d)](_0x257e39[_0x40c88d(0x1d1)][0x0]);for(let _0x2bf329=_0x1d7485['length']-0x1;_0x2bf329>=0x0;_0x2bf329--){const _0x233d8f={'id':_0x40c88d(0x2dc),'params':{..._0x1d7485[_0x2bf329]}},_0x1038a9={'id':_0x40c88d(0x2dc),'params':{..._0x5e00cb[_0x2bf329]}},_0x456dc1=this[_0x40c88d(0x354)][_0x40c88d(0x230)](_0x426c13,_0x233d8f,!0x1),_0x3591d4=this[_0x40c88d(0x354)][_0x40c88d(0x230)](_0x4e5c8e,_0x1038a9,!0x1);if(_0x2eaa26(_0x456dc1))throw _0x456dc1[_0x40c88d(0x1e3)];if(_0x2eaa26(_0x3591d4))throw _0x3591d4[_0x40c88d(0x1e3)];_0x549386['unshift'](_0x456dc1[_0x40c88d(0x34b)][_0x40c88d(0x3af)]),_0xe0fc4b[_0x40c88d(0x266)](_0x3591d4[_0x40c88d(0x34b)]['params']),_0x426c13=_0x456dc1['m1Prime'],_0x4e5c8e=_0x3591d4[_0x40c88d(0x30c)];}_0x221ad3[_0x40c88d(0x394)]({'undoCache':_0x549386,'redoCache':_0xe0fc4b});}[_0x1ff3f4(0x2d8)](_0x171139){const _0x42f9a8=_0x1ff3f4,{unitID:_0x2ed7a8}=_0x171139,_0x546401=this[_0x42f9a8(0x368)][_0x42f9a8(0x264)](_0x2ed7a8)[_0x42f9a8(0x242)](_0x18fc19),_0x525d94=_0x546401[_0x42f9a8(0x2d6)]();if(_0x525d94==null)return;const _0x62854f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x171139[_0x42f9a8(0x306)],'actions':null,'textRanges':[_0x525d94]}}],_0x504f5c=this[_0x42f9a8(0x354)]['transformMutationsWithChangeset'](_0x171139,_0x62854f);if(!_0x334103(_0x504f5c))throw _0x504f5c[_0x42f9a8(0x1e3)];const _0x5c4ae3=_0x504f5c[_0x42f9a8(0x34b)][0x0][_0x42f9a8(0x3af)][_0x42f9a8(0x2c7)];Array[_0x42f9a8(0x237)](_0x5c4ae3)&&_0x5c4ae3[_0x42f9a8(0x2f5)]&&_0x546401[_0x42f9a8(0x30d)](_0x5c4ae3[0x0]);}};ne=tn([pe(0x0,_0x46eb60(_0x425022)),pe(0x1,_0x4a1238),pe(0x2,_0xfbf822)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x1b7a66,_0x29e8de,_0x2329ea,_0x10255d)=>{const _0x1cc9bd=_0x1ff3f4;for(var _0x38c9d8=_0x10255d>0x1?void 0x0:_0x10255d?sn(_0x29e8de,_0x2329ea):_0x29e8de,_0x4b2c10=_0x1b7a66[_0x1cc9bd(0x2f5)]-0x1,_0x53fe32;_0x4b2c10>=0x0;_0x4b2c10--)(_0x53fe32=_0x1b7a66[_0x4b2c10])&&(_0x38c9d8=_0x53fe32(_0x38c9d8)||_0x38c9d8);return _0x38c9d8;},Ce=(_0x1a64a7,_0x1469b2)=>(_0x524f50,_0x1da3d2)=>_0x1469b2(_0x524f50,_0x1da3d2,_0x1a64a7);let re=class{constructor(_0x324245,_0x536ded,_0x5e4b0d){const _0x41e90e=_0x1ff3f4;this[_0x41e90e(0x37a)]=_0x324245,this[_0x41e90e(0x354)]=_0x536ded,this[_0x41e90e(0x3b2)]=_0x5e4b0d;}['transformStateCache'](_0x3d9240){const _0xc0fac4=_0x1ff3f4;this[_0xc0fac4(0x334)](_0x3d9240);}['transformRemoteChangeset'](_0x2d99d5){const _0x1b6040=_0x1ff3f4,{unitID:_0x500520}=_0x2d99d5,{collaboration:_0x25fa20}=this[_0x1b6040(0x3b2)][_0x1b6040(0x375)](_0x500520);if(_0x25fa20[_0x1b6040(0x2f5)]===0x0)return _0x2d99d5;let _0x328d90=_0x31160e['deepClone'](_0x2d99d5[_0x1b6040(0x1d1)][0x0]);for(let _0x14815c=0x0;_0x14815c<_0x25fa20['length'];_0x14815c++){const _0x4479b4={'id':_0x1b6040(0x2dc),'params':{'unitId':_0x25fa20[_0x14815c][_0x1b6040(0x397)],..._0x25fa20[_0x14815c]['redoState']}},_0x4418b6=this[_0x1b6040(0x354)][_0x1b6040(0x230)](_0x328d90,_0x4479b4,!0x1);if(_0x2eaa26(_0x4418b6))throw _0x4418b6['error'];_0x328d90=_0x4418b6[_0x1b6040(0x30c)];}return{..._0x31160e['deepClone'](_0x2d99d5),'mutations':[_0x328d90]};}['_transformHistoryAndStateStack'](_0x4e6bb5){const _0x12b598=_0x1ff3f4,{unitID:_0xe525d}=_0x4e6bb5,{history:_0x3f5b6e,collaboration:_0x4d41d2}=this[_0x12b598(0x3b2)][_0x12b598(0x375)](_0xe525d);if(_0x3f5b6e[_0x12b598(0x2f5)]===0x0&&_0x4d41d2[_0x12b598(0x2f5)]===0x0)return;const _0x491d1f=[],_0x13bccc=[];let _0x224bd9=_0x31160e[_0x12b598(0x36d)](_0x4e6bb5['mutations'][0x0]),_0x5dcc25=_0x31160e['deepClone'](_0x4e6bb5[_0x12b598(0x1d1)][0x0]);for(let _0x4467c6=_0x3f5b6e[_0x12b598(0x2f5)]-0x1;_0x4467c6>=0x0;_0x4467c6--){const _0x1266eb={'id':_0x12b598(0x2dc),'params':{'unitId':_0x3f5b6e[_0x4467c6][_0x12b598(0x397)],..._0x3f5b6e[_0x4467c6][_0x12b598(0x300)]}},_0x195dbf={'id':_0x12b598(0x2dc),'params':{'unitId':_0x3f5b6e[_0x4467c6]['unitId'],..._0x3f5b6e[_0x4467c6][_0x12b598(0x20a)]}},_0x183567=this['_transformService']['transformMutation'](_0x224bd9,_0x1266eb,!0x1),_0x28ee5f=this[_0x12b598(0x354)][_0x12b598(0x230)](_0x5dcc25,_0x195dbf,!0x1);if(_0x2eaa26(_0x183567))throw _0x183567[_0x12b598(0x1e3)];if(_0x2eaa26(_0x28ee5f))throw _0x28ee5f[_0x12b598(0x1e3)];_0x491d1f[_0x12b598(0x266)]({..._0x3f5b6e[_0x4467c6],'undoState':_0x183567[_0x12b598(0x34b)][_0x12b598(0x3af)],'redoState':_0x28ee5f[_0x12b598(0x34b)][_0x12b598(0x3af)]}),_0x224bd9=_0x183567['m1Prime'],_0x5dcc25=_0x28ee5f[_0x12b598(0x30c)];}_0x224bd9=_0x31160e[_0x12b598(0x36d)](_0x4e6bb5[_0x12b598(0x1d1)][0x0]),_0x5dcc25=_0x31160e['deepClone'](_0x4e6bb5[_0x12b598(0x1d1)][0x0]);for(let _0x4274be=_0x4d41d2[_0x12b598(0x2f5)]-0x1;_0x4274be>=0x0;_0x4274be--){const _0x3e7f28={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d41d2[_0x4274be][_0x12b598(0x397)],..._0x4d41d2[_0x4274be][_0x12b598(0x300)]}},_0x9f2583={'id':_0x12b598(0x2dc),'params':{'unitId':_0x4d41d2[_0x4274be][_0x12b598(0x397)],..._0x4d41d2[_0x4274be][_0x12b598(0x20a)]}},_0x312bff=this[_0x12b598(0x354)][_0x12b598(0x230)](_0x224bd9,_0x3e7f28,!0x1),_0x23cd8c=this[_0x12b598(0x354)][_0x12b598(0x230)](_0x5dcc25,_0x9f2583,!0x1);if(_0x2eaa26(_0x312bff))throw _0x312bff[_0x12b598(0x1e3)];if(_0x2eaa26(_0x23cd8c))throw _0x23cd8c[_0x12b598(0x1e3)];_0x13bccc['unshift']({..._0x4d41d2[_0x4274be],'undoState':_0x312bff[_0x12b598(0x34b)][_0x12b598(0x3af)],'redoState':_0x23cd8c[_0x12b598(0x34b)]['params']}),_0x224bd9=_0x312bff[_0x12b598(0x30c)],_0x5dcc25=_0x23cd8c[_0x12b598(0x30c)];}this['_docStateChangeManagerService']['setStateCache'](_0xe525d,{'history':_0x491d1f,'collaboration':_0x13bccc});}};re=nn([Ce(0x0,_0x46eb60(_0x425022)),Ce(0x1,_0x4a1238),Ce(0x2,_0x46eb60(_0x10fb4b))],re);var rn=Object[_0x1ff3f4(0x231)],on=(_0x1cfb6c,_0x159577,_0x43d36a,_0x366aec)=>{const _0x46b06a=_0x1ff3f4;for(var _0x55f4f1=_0x366aec>0x1?void 0x0:_0x366aec?rn(_0x159577,_0x43d36a):_0x159577,_0x5e86b0=_0x1cfb6c[_0x46b06a(0x2f5)]-0x1,_0x515e5c;_0x5e86b0>=0x0;_0x5e86b0--)(_0x515e5c=_0x1cfb6c[_0x5e86b0])&&(_0x55f4f1=_0x515e5c(_0x55f4f1)||_0x55f4f1);return _0x55f4f1;},tt=(_0x3f9c42,_0x45a361)=>(_0x4486ce,_0x131c24)=>_0x45a361(_0x4486ce,_0x131c24,_0x3f9c42);let oe=class{constructor(_0x1acf87,_0x28a072){const _0x3999a6=_0x1ff3f4;this[_0x3999a6(0x37a)]=_0x1acf87,this['_transformService']=_0x28a072;}['transformSelections'](_0x466bfc){const _0x55dc31=_0x1ff3f4;var _0x125cbc;const _0x3660a7=this[_0x55dc31(0x37a)][_0x55dc31(0x316)](_0x1a1e03),_0x3abe9e=(_0x125cbc=_0x3660a7[_0x55dc31(0x398)]())!=null?_0x125cbc:[];if(_0x3abe9e[_0x55dc31(0x2f5)]===0x0)return;const _0x30bd99=_0x466bfc[_0x55dc31(0x306)],_0x12d06d=[{'id':_0x55dc31(0x2dc),'params':{'unitId':_0x30bd99,'actions':null,'textRanges':_0x3abe9e}}],_0x37766b=this[_0x55dc31(0x354)]['transformMutationsWithChangeset'](_0x466bfc,_0x12d06d);if(!_0x334103(_0x37766b))throw _0x37766b[_0x55dc31(0x1e3)];const _0xbe9d90=_0x37766b['m2Prime'][0x0][_0x55dc31(0x3af)]['textRanges'];Array[_0x55dc31(0x237)](_0xbe9d90)&&_0xbe9d90['length']&&_0x3660a7['replaceDocRanges'](_0xbe9d90,{'unitId':_0x30bd99,'subUnitId':_0x30bd99},!0x1);}};oe=on([tt(0x0,_0x46eb60(_0x425022)),tt(0x1,_0x4a1238)],oe);var an=Object[_0x1ff3f4(0x231)],cn=(_0x333e94,_0x200dfd,_0x37c680,_0x57d162)=>{const _0x1b2d5f=_0x1ff3f4;for(var _0xfa922=_0x57d162>0x1?void 0x0:_0x57d162?an(_0x200dfd,_0x37c680):_0x200dfd,_0x44b094=_0x333e94[_0x1b2d5f(0x2f5)]-0x1,_0x3e293f;_0x44b094>=0x0;_0x44b094--)(_0x3e293f=_0x333e94[_0x44b094])&&(_0xfa922=_0x3e293f(_0xfa922)||_0xfa922);return _0xfa922;},U=(_0x5647e4,_0x432c57)=>(_0x4efefb,_0x279361)=>_0x432c57(_0x4efefb,_0x279361,_0x5647e4);let ae=class extends _0x55b0eb{constructor(_0x1a195f,_0x3b4871,_0x57fa17,_0x13d111,_0x186346,_0x2a987e,_0x49ac13,_0x3417dc){const _0x51b254=_0x1ff3f4;super(),_(this,_0x51b254(0x310),new _0x5eaf72(_0x5c1fc0['NOT_COLLAB'])),(this[_0x51b254(0x3b2)]=_0x1a195f,this[_0x51b254(0x395)]=_0x3b4871,this[_0x51b254(0x28c)]=_0x57fa17,this[_0x51b254(0x212)]=_0x13d111,this[_0x51b254(0x250)]=_0x186346,this[_0x51b254(0x308)]=_0x2a987e,this[_0x51b254(0x32a)]=_0x49ac13,this['_localeService']=_0x3417dc,this[_0x51b254(0x259)]());}[_0x1ff3f4(0x259)](){const _0xd3df89=_0x1ff3f4;this[_0xd3df89(0x25e)](this[_0xd3df89(0x395)]['entityInit$'][_0xd3df89(0x3a0)](_0x2265f5=>{const _0x126cb1=_0xd3df89,_0x32556b=this[_0x126cb1(0x3b2)][_0x126cb1(0x25b)][_0x126cb1(0x3a0)](_0x3c3b55=>{const _0x3d5c07=_0x126cb1;if(_0x3c3b55==null)return;const {unitId:_0x4a10c0,redoState:_0x10facf,commandId:_0x5981bc}=_0x3c3b55;if(_0x4a10c0!==_0x2265f5[_0x3d5c07(0x306)])return;const _0x49360c={'id':_0x5981bc,'type':_0x3999c4[_0x3d5c07(0x305)],'params':{'unitId':_0x4a10c0,'actions':_0x10facf['actions'],'textRanges':null}};_0x2265f5[_0x3d5c07(0x2b9)](_0x49360c);});if(_0x2265f5[_0x126cb1(0x25e)](_0x32556b),_0x2265f5 instanceof _0x35ee5f){const _0xf59031={'onTransformIME':_0x8a3ba4=>this[_0x126cb1(0x28c)]['transformIMECache'](_0x8a3ba4),'onTransformState':_0x4115ff=>this[_0x126cb1(0x212)][_0x126cb1(0x252)](_0x4115ff),'onTransformSelections':_0x26e9b9=>this['_docTransformSelectionsService'][_0x126cb1(0x309)](_0x26e9b9),'onSyncEditingCollabCursor':_0x1289d4=>this['_docSyncEditingCollabCursorService'][_0x126cb1(0x2b5)](_0x1289d4),'onTransformRemoteChangesetByIMECache':_0x524a50=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x524a50),'onTransformRemoteChangesetByStateCache':_0x4979e1=>this[_0x126cb1(0x212)][_0x126cb1(0x2cd)](_0x4979e1)};_0x2265f5[_0x126cb1(0x1b7)](_0xf59031);}}));}};ae=cn([U(0x0,_0x46eb60(_0x10fb4b)),U(0x1,_0x46eb60(_0x9d4199)),U(0x2,_0x46eb60(ne)),U(0x3,_0x46eb60(re)),U(0x4,_0x46eb60(oe)),U(0x5,_0x46eb60(He)),U(0x6,_0x4425b9),U(0x7,_0x46eb60(_0x3ec261))],ae);var ln=Object[_0x1ff3f4(0x231)],_n=(_0x5d4d6b,_0x9ca032,_0x2d1cd4,_0x43ec98)=>{const _0x524ec6=_0x1ff3f4;for(var _0x382919=_0x43ec98>0x1?void 0x0:_0x43ec98?ln(_0x9ca032,_0x2d1cd4):_0x9ca032,_0x354011=_0x5d4d6b[_0x524ec6(0x2f5)]-0x1,_0xb9ce37;_0x354011>=0x0;_0x354011--)(_0xb9ce37=_0x5d4d6b[_0x354011])&&(_0x382919=_0xb9ce37(_0x382919)||_0x382919);return _0x382919;},Ee=(_0x1791ef,_0x5ec541)=>(_0x48210a,_0x3e7121)=>_0x5ec541(_0x48210a,_0x3e7121,_0x1791ef);let Le=class extends _0x55b0eb{constructor(_0x316d80,_0x1a6114,_0x140e6f){const _0x1b1c52=_0x1ff3f4;super(),_(this,'_cachedData',new Map()),_(this,_0x1b1c52(0x27e),new Map()),_(this,_0x1b1c52(0x2f1),!0x1),(this[_0x1b1c52(0x360)]=_0x316d80,this['_localStorageService']=_0x1a6114,this[_0x1b1c52(0x209)]=_0x140e6f);}[_0x1ff3f4(0x226)](){const _0x5953d5=_0x1ff3f4;this[_0x5953d5(0x2f1)]=!0x0;}[_0x1ff3f4(0x2db)](){const _0x2a030e=_0x1ff3f4;this[_0x2a030e(0x2f1)]=!0x1;}get[_0x1ff3f4(0x3a3)](){return this['_saveTaskMap'];}['dispose'](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x1ff3f4(0x27b)](_0x197a68){const _0x474d0f=_0x1ff3f4;return this[_0x474d0f(0x2f1)]?null:this[_0x474d0f(0x299)][_0x474d0f(0x2ee)](_0x5387ff(_0x197a68));}async['saveOfflineData'](_0x1cf069,_0x3d2e53){return!!this['_localStorageService']['setItem'](_0x1cf069,_0x3d2e53);}[_0x1ff3f4(0x2a1)](_0x815071,_0x24c556,_0x596d59,_0x411a3a){const _0x2d5390=_0x1ff3f4,_0x315b57=this[_0x2d5390(0x209)][_0x2d5390(0x267)](_0x815071);this[_0x2d5390(0x27d)][_0x2d5390(0x2fa)](_0x815071,{'unitID':_0x815071,'type':_0x24c556,'awaitingChangeset':_0x596d59,'mutations':_0x411a3a,'rev':_0x315b57}),this['_saveTaskMap']['has'](_0x815071)||this[_0x2d5390(0x2a5)](_0x815071);}[_0x1ff3f4(0x2a5)](_0x2de779){const _0x3a43c1=_0x1ff3f4,_0xb07aaf=this[_0x3a43c1(0x23f)]();_0xb07aaf===0x0?this[_0x3a43c1(0x2d0)](_0x2de779):this['_saveTaskMap'][_0x3a43c1(0x2fa)](_0x2de779,setTimeout(()=>this[_0x3a43c1(0x2d0)](_0x2de779),_0xb07aaf));}[_0x1ff3f4(0x23f)](){const _0x577564=_0x1ff3f4;var _0x5d5e9f;return(_0x5d5e9f=this['_configService'][_0x577564(0x20d)](_0x2a2110))!=null?_0x5d5e9f:_0x116b50;}[_0x1ff3f4(0x2d0)](_0x32b53d){const _0x252c74=_0x1ff3f4,_0x589b11=this[_0x252c74(0x27e)][_0x252c74(0x316)](_0x32b53d);return _0x589b11!==void 0x0&&window['clearTimeout'](_0x589b11),this[_0x252c74(0x299)][_0x252c74(0x2d4)](_0x5387ff(_0x32b53d),this[_0x252c74(0x27d)][_0x252c74(0x316)](_0x32b53d))[_0x252c74(0x2f9)](()=>this['_saveTaskMap'][_0x252c74(0x258)](_0x32b53d));}async[_0x1ff3f4(0x38b)](){const _0x578aee=_0x1ff3f4,_0x542851=[];this[_0x578aee(0x27e)][_0x578aee(0x2fc)]((_0x5510d7,_0x3113f8)=>{const _0x3d5da5=_0x578aee;window[_0x3d5da5(0x2a8)](_0x5510d7),_0x542851['push'](this[_0x3d5da5(0x2d0)](_0x3113f8)[_0x3d5da5(0x2f9)](()=>{const _0x59cbb5=_0x3d5da5;this[_0x59cbb5(0x27e)]['delete'](_0x3113f8);}));}),await Promise[_0x578aee(0x3aa)](_0x542851);}};Le=_n([Ee(0x0,_0x15fb96),Ee(0x1,_0x5edec2),Ee(0x2,_0x46eb60(_0x20c64b))],Le);class hn extends _0x2941d4{constructor(){const _0x3da768=_0x1ff3f4;super(),_(this,'urlChange$'),this[_0x3da768(0x286)]=_0x4b5b71(window,_0x3da768(0x289))[_0x3da768(0x3b1)](_0x3970fb(this[_0x3da768(0x2e3)]),_0x2c5e73(0x1),_0x17a9b6(void 0x0));}[_0x1ff3f4(0x1ac)](_0x4fa03c,_0x2a3457,_0x3327d0=!0x1){const _0x2cf49f=_0x1ff3f4,_0x23c8c2=new URL(window['location']['href']);_0x23c8c2['searchParams'][_0x2cf49f(0x2fa)](_0x4fa03c,_0x2a3457),_0x3327d0?window[_0x2cf49f(0x2a0)][_0x2cf49f(0x21a)]('','',_0x23c8c2[_0x2cf49f(0x1e1)]()):window[_0x2cf49f(0x2a0)][_0x2cf49f(0x1ba)]('','',_0x23c8c2['toString']());}[_0x1ff3f4(0x392)](_0x386a2d,_0x4f452a=!0x1){const _0x13de98=_0x1ff3f4,_0x4d79d0=new URL(window[_0x13de98(0x399)][_0x13de98(0x315)]);_0x4d79d0[_0x13de98(0x21b)]['delete'](_0x386a2d),_0x4f452a?window[_0x13de98(0x2a0)][_0x13de98(0x21a)]('','',_0x4d79d0[_0x13de98(0x1e1)]()):window[_0x13de98(0x2a0)][_0x13de98(0x1ba)]('','',_0x4d79d0['toString']());}[_0x1ff3f4(0x3a8)](_0x2be08d){const _0x5bdda4=_0x1ff3f4;var _0x1a8e5d;return(_0x1a8e5d=new URL(window[_0x5bdda4(0x399)][_0x5bdda4(0x315)])[_0x5bdda4(0x21b)][_0x5bdda4(0x316)](_0x2be08d))!=null?_0x1a8e5d:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x340a79,_0x5ece14,_0x215cf3)=>_0x5ece14 in _0x340a79?un(_0x340a79,_0x5ece14,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x215cf3}):_0x340a79[_0x5ece14]=_0x215cf3,Sn=(_0x196ac2,_0x386fd7,_0x305044,_0xe6439c)=>{const _0x54b4ce=_0x1ff3f4;for(var _0x4547b6=_0xe6439c>0x1?void 0x0:_0xe6439c?dn(_0x386fd7,_0x305044):_0x386fd7,_0x240d34=_0x196ac2[_0x54b4ce(0x2f5)]-0x1,_0x50f52f;_0x240d34>=0x0;_0x240d34--)(_0x50f52f=_0x196ac2[_0x240d34])&&(_0x4547b6=_0x50f52f(_0x4547b6)||_0x4547b6);return _0x4547b6;},Oe=(_0x15bb58,_0xe8561c)=>(_0x472900,_0x8ac4b7)=>_0xe8561c(_0x472900,_0x8ac4b7,_0x15bb58),mn=(_0x392a5f,_0x5eaba2,_0x5c53ba)=>fn(_0x392a5f,_0x5eaba2+'',_0x5c53ba);const In=_0x1ff3f4(0x276);let Ae=class extends _0x3988b6{constructor(_0x10cbc6=et,_0x1be8a5,_0x554cff,_0x11aa18){const _0x40445f=_0x1ff3f4;super(),this['_config']=_0x10cbc6,this[_0x40445f(0x368)]=_0x1be8a5,this[_0x40445f(0x37a)]=_0x554cff,this[_0x40445f(0x360)]=_0x11aa18;const {..._0x3b2b67}=_0x937390({},et,this[_0x40445f(0x33f)]);this[_0x40445f(0x360)]['setConfig'](Zi,_0x3b2b67);}['onStarting'](){const _0x7b7596=_0x1ff3f4;this[_0x7b7596(0x292)](),this[_0x7b7596(0x2c9)]();}[_0x1ff3f4(0x2d5)](){const _0x478ccb=_0x1ff3f4;this[_0x478ccb(0x1e8)]();}[_0x1ff3f4(0x292)](){const _0x5a2e15=_0x1ff3f4;var _0x383d2e;const _0x511ca5=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x57d30e,{'useClass':_0x12ec2f}],[_0x18ecc1,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x37d4ba(this[_0x5a2e15(0x37a)],_0xebd679(_0x511ca5,(_0x383d2e=this[_0x5a2e15(0x33f)])==null?void 0x0:_0x383d2e[_0x5a2e15(0x26f)]));}[_0x1ff3f4(0x1e8)](){const _0x4578b6=_0x1ff3f4;this[_0x4578b6(0x25e)](this[_0x4578b6(0x368)][_0x4578b6(0x1de)](_0x1d29a4[_0x4578b6(0x2da)],[we])),this[_0x4578b6(0x25e)](this[_0x4578b6(0x368)][_0x4578b6(0x1de)](_0x1d29a4[_0x4578b6(0x284)],[Pe]));}[_0x1ff3f4(0x2c9)](){const _0x1fe3f2=_0x1ff3f4;_0x27e255(this[_0x1fe3f2(0x37a)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x1ff3f4(0x24d),In),Ae=Sn([_0x29583c(_0x13d27c),Oe(0x1,_0xfbf822),Oe(0x2,_0x46eb60(_0x425022)),Oe(0x3,_0x15fb96)],Ae);var gn=Object[_0x1ff3f4(0x231)],vn=(_0x26e7a2,_0x461f38,_0x233de1,_0x3f45d1)=>{const _0x2aa24f=_0x1ff3f4;for(var _0xd4ae6=_0x3f45d1>0x1?void 0x0:_0x3f45d1?gn(_0x461f38,_0x233de1):_0x461f38,_0x9b2b17=_0x26e7a2[_0x2aa24f(0x2f5)]-0x1,_0x89f7a1;_0x9b2b17>=0x0;_0x9b2b17--)(_0x89f7a1=_0x26e7a2[_0x9b2b17])&&(_0xd4ae6=_0x89f7a1(_0xd4ae6)||_0xd4ae6);return _0xd4ae6;},K=(_0x5b988a,_0x47f8fa)=>(_0x1eedc8,_0x1f9a08)=>_0x47f8fa(_0x1eedc8,_0x1f9a08,_0x5b988a);let st=class extends _0x5a79c8{constructor(_0x194cb2,_0x47d442,_0x1a3bed,_0x54eeeb,_0x5747bd){super(_0x194cb2,_0x47d442,_0x1a3bed,_0x54eeeb,_0x5747bd);}async[_0x1ff3f4(0x2b3)](_0x2006cf){const _0x26ecdb=_0x1ff3f4,_0x6eaeb3=await this[_0x26ecdb(0x277)](),_0x482aaf=this[_0x26ecdb(0x270)](_0x2006cf,_0x6eaeb3);return this['_doCreateSocket'](_0x482aaf);}[_0x1ff3f4(0x270)](_0x4562f4,_0x4c9d36){const _0x5137f7=_0x1ff3f4,_0x7d90da=typeof window>'u'?new URL(_0x4562f4):new URL(_0x4562f4,window[_0x5137f7(0x399)][_0x5137f7(0x355)]);_0x7d90da[_0x5137f7(0x21b)][_0x5137f7(0x2fa)](_0x5137f7(0x383),_0x4c9d36);const _0x2bbd7f=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5137f7(0x399)][_0x5137f7(0x1c4)]);return _0x2bbd7f[_0x5137f7(0x316)](_0x5137f7(0x32f))&&_0x7d90da[_0x5137f7(0x21b)][_0x5137f7(0x2fa)](_0x5137f7(0x32f),_0x2bbd7f[_0x5137f7(0x316)](_0x5137f7(0x32f))),_0x7d90da[_0x5137f7(0x1e1)]();}async[_0x1ff3f4(0x277)](){const _0x44d9e4=_0x1ff3f4;var _0x50c944,_0x171b91,_0x57475a;const _0x4d3e92=this[_0x44d9e4(0x360)][_0x44d9e4(0x20d)](_0x5a0bab),_0x49a351=(_0x50c944=_0x4d3e92==null?void 0x0:_0x4d3e92[_0x44d9e4(0x26a)])!=null?_0x50c944:_0xfafd08;return(_0x57475a=(_0x171b91=(await this[_0x44d9e4(0x268)][_0x44d9e4(0x316)](_0x49a351,{'headers':{'Content-Type':_0x44d9e4(0x391)}}))['body'])==null?void 0x0:_0x171b91[_0x44d9e4(0x2fb)])!=null?_0x57475a:'';}};st=vn([K(0x0,_0x46eb60(_0x425022)),K(0x1,_0x46eb60(_0x4d79f7)),K(0x2,_0x15fb96),K(0x3,_0x15d4ae),K(0x4,_0x59159f)],st);const it=0x7530,nt=_0x1ff3f4(0x317);class jn extends _0x55b0eb{constructor(){const _0x53077a=_0x1ff3f4;super(),_(this,_0x53077a(0x26b),_0x22ea17()),_(this,_0x53077a(0x22d),new Set()),_(this,_0x53077a(0x21e),new Map()),_(this,_0x53077a(0x228),null),_(this,_0x53077a(0x2a3),new Map()),_(this,_0x53077a(0x302),new Map()),this[_0x53077a(0x1bd)]();}['dispose'](){const _0x2df3d5=_0x1ff3f4;super[_0x2df3d5(0x31d)](),this['_clearOtherTimers']['forEach']((_0x1a2e41,_0x5a8552)=>this[_0x2df3d5(0x2bc)](_0x5a8552)),this[_0x2df3d5(0x228)]&&window[_0x2df3d5(0x2b4)](this[_0x2df3d5(0x228)]);}[_0x1ff3f4(0x336)](_0x5e893f){const _0x135e3d=_0x1ff3f4;return this[_0x135e3d(0x241)](_0x5e893f)[_0x135e3d(0x3b1)](_0x58615d());}[_0x1ff3f4(0x2fd)](_0x2d2e6c){const _0x48bc63=_0x1ff3f4;this[_0x48bc63(0x22d)][_0x48bc63(0x271)]===0x0&&this[_0x48bc63(0x2f2)](),this[_0x48bc63(0x22d)]['add'](_0x2d2e6c),this[_0x48bc63(0x1e2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2d2e6c],'isForwarded':!0x1});}[_0x1ff3f4(0x332)](_0xebe9fd){const _0x2b5e70=_0x1ff3f4;this[_0x2b5e70(0x22d)]['delete'](_0xebe9fd),this[_0x2b5e70(0x22d)][_0x2b5e70(0x271)]===0x0&&this[_0x2b5e70(0x228)]&&window['clearInterval'](this[_0x2b5e70(0x228)]);}[_0x1ff3f4(0x1bd)](){const _0x332ae9=_0x1ff3f4;this[_0x332ae9(0x25e)](_0x29b7c8(_0x4b5b71(window,_0x332ae9(0x234))['subscribe'](_0x3a563b=>{const _0x5ef979=_0x332ae9;if(_0x3a563b[_0x5ef979(0x2f6)]!==nt||!_0x3a563b['newValue'])return;const _0x6f2f90=JSON[_0x5ef979(0x31c)](_0x3a563b['newValue']);this[_0x5ef979(0x2b6)](_0x6f2f90);}))),window['addEventListener'](_0x332ae9(0x224),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x332ae9(0x22d)])}));}[_0x1ff3f4(0x2b6)](_0x254f1b){const _0x171ed8=_0x1ff3f4;switch(_0x254f1b['type']){case 0x0:this[_0x171ed8(0x21d)](_0x254f1b);break;case 0x1:this['_handleLeaveEvent'](_0x254f1b);break;case 0x2:this[_0x171ed8(0x353)](_0x254f1b);break;}}[_0x1ff3f4(0x21d)](_0x1c075d){const _0x3e5f02=_0x1ff3f4,{unitIDs:_0x33280c,memberID:_0x28a7f4,isForwarded:_0x1ade58}=_0x1c075d;_0x33280c[_0x3e5f02(0x2fc)](_0x29ed29=>{const _0x1370db=_0x3e5f02;if(!_0x1ade58&&this[_0x1370db(0x21e)][_0x1370db(0x2e9)](_0x29ed29)&&this[_0x1370db(0x241)](_0x29ed29)[_0x1370db(0x337)](_0x4c5026[_0x1370db(0x339)]),!this['_unitOnClients'][_0x1370db(0x2e9)](_0x29ed29)||!this[_0x1370db(0x21e)][_0x1370db(0x316)](_0x29ed29)['has'](_0x28a7f4)){const _0x493179=this['_unitOnClients'][_0x1370db(0x316)](_0x29ed29)||new Set();_0x493179['add'](_0x28a7f4),this[_0x1370db(0x21e)][_0x1370db(0x2fa)](_0x29ed29,_0x493179),this[_0x1370db(0x31a)](_0x28a7f4);}}),_0x1ade58||this['_send']({'type':0x0,'memberID':this[_0x3e5f02(0x26b)],'unitIDs':[...this[_0x3e5f02(0x22d)]],'isForwarded':!0x0});}[_0x1ff3f4(0x31a)](_0x11d7b7){const _0x4500aa=_0x1ff3f4;this['_removeClearOtherTimer'](_0x11d7b7);const _0xb66679=window[_0x4500aa(0x2c2)](()=>{const _0x539d0d=_0x4500aa;this[_0x539d0d(0x21e)][_0x539d0d(0x2fc)](_0x5b434a=>{_0x5b434a['delete'](_0x11d7b7);});},it*0x2);this[_0x4500aa(0x2a3)][_0x4500aa(0x2fa)](_0x11d7b7,_0xb66679);}[_0x1ff3f4(0x2bc)](_0x2bdcb8){const _0x250234=_0x1ff3f4;if(this[_0x250234(0x2a3)][_0x250234(0x2e9)](_0x2bdcb8)){const _0x5dfe11=this['_clearOtherTimers'][_0x250234(0x316)](_0x2bdcb8);_0x5dfe11&&window['clearTimeout'](_0x5dfe11),this[_0x250234(0x2a3)]['set'](_0x2bdcb8,null);}}[_0x1ff3f4(0x2e2)](_0x291715){const _0x1efcee=_0x1ff3f4,{memberID:_0x5a5a12,unitIDs:_0x7bf189}=_0x291715;_0x7bf189[_0x1efcee(0x2fc)](_0x201757=>{const _0x2e16a7=_0x1efcee;var _0x102d3d;const _0x57f101=this[_0x2e16a7(0x21e)][_0x2e16a7(0x316)](_0x201757);_0x57f101&&(_0x57f101[_0x2e16a7(0x258)](_0x5a5a12),(_0x102d3d=this[_0x2e16a7(0x241)](_0x201757))==null||_0x102d3d['next'](_0x57f101[_0x2e16a7(0x271)]===0x0?_0x4c5026[_0x2e16a7(0x376)]:_0x4c5026['OTHER_CLIENTS_EDITING']));}),this[_0x1efcee(0x2bc)](_0x5a5a12);}[_0x1ff3f4(0x353)](_0x303073){this['_scheduleClearOtherTimer'](_0x303073['memberID']);}[_0x1ff3f4(0x1e2)](_0x462cd8){const _0x23147b=_0x1ff3f4;localStorage[_0x23147b(0x2d4)](nt,JSON[_0x23147b(0x22c)](_0x462cd8));}[_0x1ff3f4(0x2f2)](){const _0x1de1ce=_0x1ff3f4;this[_0x1de1ce(0x228)]=window[_0x1de1ce(0x1ea)](()=>{const _0x3d93c3=_0x1de1ce;this[_0x3d93c3(0x1e2)]({'type':0x2,'memberID':this[_0x3d93c3(0x26b)]});},it);}['_ensureSubject'](_0x4ab2c9){const _0xd94397=_0x1ff3f4;return this[_0xd94397(0x302)][_0xd94397(0x2e9)](_0x4ab2c9)||this[_0xd94397(0x302)][_0xd94397(0x2fa)](_0x4ab2c9,new _0x5eaf72(_0x4c5026[_0xd94397(0x376)])),this[_0xd94397(0x302)][_0xd94397(0x316)](_0x4ab2c9);}}var Mt=(_0x9483cc=>(_0x9483cc[_0x9483cc[_0x1ff3f4(0x2a7)]=0x0]=_0x1ff3f4(0x2a7),_0x9483cc[_0x9483cc['OK']=0x1]='OK',_0x9483cc[_0x9483cc[_0x1ff3f4(0x29f)]=0x2]='INTERNAL_ERROR',_0x9483cc[_0x9483cc[_0x1ff3f4(0x2a2)]=0x3]='PERMISSION_DENIED',_0x9483cc[_0x9483cc[_0x1ff3f4(0x2e0)]=0x4]=_0x1ff3f4(0x2e0),_0x9483cc[_0x9483cc[_0x1ff3f4(0x348)]=0x5]='UNAUTHENTICATED',_0x9483cc[_0x9483cc[_0x1ff3f4(0x387)]=0x6]=_0x1ff3f4(0x387),_0x9483cc[_0x9483cc['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x9483cc[_0x9483cc[_0x1ff3f4(0x1f9)]=0x8]='TOO_MANY_REQUESTS',_0x9483cc[_0x9483cc[_0x1ff3f4(0x291)]=0x9]=_0x1ff3f4(0x291),_0x9483cc[_0x9483cc[_0x1ff3f4(0x204)]=0xa]=_0x1ff3f4(0x204),_0x9483cc[_0x9483cc[_0x1ff3f4(0x2a6)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x9483cc[_0x9483cc['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1ff3f4(0x1e7),_0x9483cc[_0x9483cc[_0x1ff3f4(0x36f)]=0x1772]=_0x1ff3f4(0x36f),_0x9483cc[_0x9483cc[_0x1ff3f4(0x38e)]=0x1773]=_0x1ff3f4(0x38e),_0x9483cc[_0x9483cc[_0x1ff3f4(0x39f)]=0x1b59]=_0x1ff3f4(0x39f),_0x9483cc[_0x9483cc[_0x1ff3f4(0x2ec)]=0x1b5a]=_0x1ff3f4(0x2ec),_0x9483cc[_0x9483cc[_0x1ff3f4(0x329)]=0x1b5b]=_0x1ff3f4(0x329),_0x9483cc[_0x9483cc[_0x1ff3f4(0x26d)]=0x1b5c]=_0x1ff3f4(0x26d),_0x9483cc[_0x9483cc[_0x1ff3f4(0x388)]=0x1b5d]='APPLY_DUPLICATED',_0x9483cc[_0x9483cc['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1ff3f4(0x280),_0x9483cc[_0x9483cc[_0x1ff3f4(0x1ca)]=0x2329]=_0x1ff3f4(0x1ca),_0x9483cc[_0x9483cc[_0x1ff3f4(0x23c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x9483cc[_0x9483cc[_0x1ff3f4(0x28d)]=0x232b]=_0x1ff3f4(0x28d),_0x9483cc[_0x9483cc[_0x1ff3f4(0x2a9)]=0x232c]=_0x1ff3f4(0x2a9),_0x9483cc[_0x9483cc[_0x1ff3f4(0x2ad)]=0x232d]=_0x1ff3f4(0x2ad),_0x9483cc[_0x9483cc['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x1ff3f4(0x2d7),_0x9483cc[_0x9483cc[_0x1ff3f4(0x379)]=0x2712]=_0x1ff3f4(0x379),_0x9483cc[_0x9483cc[_0x1ff3f4(0x33a)]=0x2713]=_0x1ff3f4(0x33a),_0x9483cc[_0x9483cc['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x1ff3f4(0x227),_0x9483cc[_0x9483cc['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1ff3f4(0x2f4),_0x9483cc[_0x9483cc[_0x1ff3f4(0x1fb)]=0x271b]=_0x1ff3f4(0x1fb),_0x9483cc[_0x9483cc['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x1ff3f4(0x35b),_0x9483cc[_0x9483cc[_0x1ff3f4(0x205)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x9483cc[_0x9483cc['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x9483cc[_0x9483cc[_0x1ff3f4(0x294)]=0x271f]=_0x1ff3f4(0x294),_0x9483cc[_0x9483cc[_0x1ff3f4(0x1fa)]=0x2af9]=_0x1ff3f4(0x1fa),_0x9483cc[_0x9483cc[_0x1ff3f4(0x378)]=0x2ee1]=_0x1ff3f4(0x378),_0x9483cc[_0x9483cc[_0x1ff3f4(0x1df)]=0x2ee2]=_0x1ff3f4(0x1df),_0x9483cc[_0x9483cc[_0x1ff3f4(0x369)]=0x2ee3]=_0x1ff3f4(0x369),_0x9483cc[_0x9483cc[_0x1ff3f4(0x2e1)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x9483cc[_0x9483cc[_0x1ff3f4(0x26e)]=0x2ee5]=_0x1ff3f4(0x26e),_0x9483cc[_0x9483cc[_0x1ff3f4(0x28e)]=0x32c9]=_0x1ff3f4(0x28e),_0x9483cc[_0x9483cc[_0x1ff3f4(0x2c1)]=0x32ca]=_0x1ff3f4(0x2c1),_0x9483cc[_0x9483cc[_0x1ff3f4(0x389)]=0x32cb]=_0x1ff3f4(0x389),_0x9483cc[_0x9483cc[_0x1ff3f4(0x247)]=-0x1]=_0x1ff3f4(0x247),_0x9483cc))(Mt||{}),pn=Object[_0x1ff3f4(0x231)],Cn=(_0x1f1647,_0x139bc6,_0x17c5d0,_0x97f2eb)=>{const _0x15deaa=_0x1ff3f4;for(var _0x2d2b08=_0x97f2eb>0x1?void 0x0:_0x97f2eb?pn(_0x139bc6,_0x17c5d0):_0x139bc6,_0x1a35a2=_0x1f1647[_0x15deaa(0x2f5)]-0x1,_0x50f594;_0x1a35a2>=0x0;_0x1a35a2--)(_0x50f594=_0x1f1647[_0x1a35a2])&&(_0x2d2b08=_0x50f594(_0x2d2b08)||_0x2d2b08);return _0x2d2b08;},be=(_0x5e93e0,_0x1b9c65)=>(_0x539168,_0x2a9a25)=>_0x1b9c65(_0x539168,_0x2a9a25,_0x5e93e0);let rt=class extends _0x55b0eb{constructor(_0xf90ecf,_0x137355,_0x1ea52e){const _0x505151=_0x1ff3f4;super(),this[_0x505151(0x2c6)]=_0xf90ecf,this['_httpService']=_0x137355,this[_0x505151(0x360)]=_0x1ea52e;}async[_0x1ff3f4(0x2e4)](_0x5185a8,_0x32ab5b,_0x219fb5,..._0x1bd827){const _0x1fd6f9=_0x1ff3f4;var _0x34815d,_0x211a67,_0x40e71d,_0x6681a4;const _0x5ac9d2=this['_instanceService'][_0x1fd6f9(0x333)]();if(!_0x5ac9d2)throw new Error(_0x1fd6f9(0x1d9));const _0x3f5c48=((_0x34815d=this['_configService'][_0x1fd6f9(0x20d)](_0x55adaf))!=null?_0x34815d:_0x39831)+'/'+_0x5185a8+'/run/'+_0x32ab5b,_0x131f80=new URL(window[_0x1fd6f9(0x399)][_0x1fd6f9(0x315)]),_0x59a3b6={'scriptId':_0x5185a8,'runId':(_0x211a67=_0x131f80['searchParams']['get']('runId'))!=null?_0x211a67:'','function':_0x32ab5b,'unitId':_0x5ac9d2[_0x1fd6f9(0x330)](),'argsOfFunction':JSON[_0x1fd6f9(0x22c)](_0x1bd827),'invokeId':(_0x40e71d=_0x219fb5['invokeId'])!=null?_0x40e71d:'','executionId':(_0x6681a4=_0x219fb5[_0x1fd6f9(0x1cd)])!=null?_0x6681a4:''};try{const _0x5958e8=await this[_0x1fd6f9(0x268)]['post'](_0x3f5c48,{'body':_0x59a3b6});return _0x5958e8['body'][_0x1fd6f9(0x1e3)]&&_0x5958e8[_0x1fd6f9(0x1dd)][_0x1fd6f9(0x1e3)][_0x1fd6f9(0x249)]!==Mt['OK']?'Failed':_0x5958e8['body'][_0x1fd6f9(0x2af)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x2fc716),be(0x1,_0x46eb60(_0x4d79f7)),be(0x2,_0x15fb96)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x1099d6=_0x3a88;function _0x30cd(){const _0x20dc07=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','250jCXabi','1497EjsQCW','130212yvmpkh','Authentication\x20Error','10086GuZgxP','Click\x20to\x20Reconnect','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','62057phNsgS','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','4mcHnJL','2226pcDuqW','212EmqpUi','244125WSnFhg','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.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','4773048QXXkNQ','2588425jAGkby','528gkQcsj','Synced','Syncing...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts'];_0x30cd=function(){return _0x20dc07;};return _0x30cd();}function _0x3a88(_0x1a7d83,_0x5ed691){const _0x30cd23=_0x30cd();return _0x3a88=function(_0x3a8892,_0x5b25f4){_0x3a8892=_0x3a8892-0x15f;let _0x59dda9=_0x30cd23[_0x3a8892];return _0x59dda9;},_0x3a88(_0x1a7d83,_0x5ed691);}(function(_0x3eb921,_0x210a3e){const _0x48ddb4=_0x3a88,_0x2235c7=_0x3eb921();while(!![]){try{const _0x555d67=parseInt(_0x48ddb4(0x160))/0x1*(parseInt(_0x48ddb4(0x162))/0x2)+parseInt(_0x48ddb4(0x173))/0x3*(parseInt(_0x48ddb4(0x164))/0x4)+parseInt(_0x48ddb4(0x169))/0x5+parseInt(_0x48ddb4(0x176))/0x6*(parseInt(_0x48ddb4(0x163))/0x7)+-parseInt(_0x48ddb4(0x168))/0x8+parseInt(_0x48ddb4(0x165))/0x9*(-parseInt(_0x48ddb4(0x172))/0xa)+parseInt(_0x48ddb4(0x16a))/0xb*(parseInt(_0x48ddb4(0x174))/0xc);if(_0x555d67===_0x210a3e)break;else _0x2235c7['push'](_0x2235c7['shift']());}catch(_0x4c4864){_0x2235c7['push'](_0x2235c7['shift']());}}}(_0x30cd,0x6d980));const e={'collab-client':{'tooltip':{'reconnect':_0x1099d6(0x177)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x1099d6(0x16e),'notCollab':'Local\x20file','synced':_0x1099d6(0x16b),'syncing':_0x1099d6(0x16c),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x1099d6(0x167),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x1099d6(0x16f)},'conflict':{'title':_0x1099d6(0x170),'content':_0x1099d6(0x166)},'permission':{'title':_0x1099d6(0x175),'content':_0x1099d6(0x15f)},'collaboration':{'single-unit':{'warning':_0x1099d6(0x161)},'closeRoom':_0x1099d6(0x16d)},'auth':{'needGotoLoginAlert':_0x1099d6(0x171)}};export{e as default};
1
+ function _0x40a9(_0x25a6dc,_0x494b29){const _0x4d05e3=_0x4d05();return _0x40a9=function(_0x40a9ea,_0x3bf247){_0x40a9ea=_0x40a9ea-0x1d0;let _0x26f1eb=_0x4d05e3[_0x40a9ea];return _0x26f1eb;},_0x40a9(_0x25a6dc,_0x494b29);}function _0x4d05(){const _0x1814fd=['Synced','10uZyCzb','Collaboration\x20Conflict','1159962GgpcgS','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','23620176DqCIFy','4424muyhqc','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','8LPzzRI','4335551dEuNcZ','Syncing...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1519395MNCQcJ','Syncing\x20server\x20data...','6344829eMXpLl','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','4563428nsWJEC','5DRLNsA','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','16248llTSGP','Connection\x20failed,\x20please\x20check\x20your\x20network.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','2OGnROY','Authentication\x20Error'];_0x4d05=function(){return _0x1814fd;};return _0x4d05();}const _0xbab7b0=_0x40a9;(function(_0x1ac98e,_0x55acc3){const _0xb8490f=_0x40a9,_0x551233=_0x1ac98e();while(!![]){try{const _0x30c0b4=parseInt(_0xb8490f(0x1d3))/0x1+parseInt(_0xb8490f(0x1e0))/0x2*(-parseInt(_0xb8490f(0x1e5))/0x3)+-parseInt(_0xb8490f(0x1d9))/0x4*(-parseInt(_0xb8490f(0x1da))/0x5)+parseInt(_0xb8490f(0x1dc))/0x6*(parseInt(_0xb8490f(0x1e8))/0x7)+-parseInt(_0xb8490f(0x1ea))/0x8*(parseInt(_0xb8490f(0x1d5))/0x9)+parseInt(_0xb8490f(0x1e3))/0xa*(-parseInt(_0xb8490f(0x1d0))/0xb)+-parseInt(_0xb8490f(0x1e7))/0xc;if(_0x30c0b4===_0x55acc3)break;else _0x551233['push'](_0x551233['shift']());}catch(_0x5a687f){_0x551233['push'](_0x551233['shift']());}}}(_0x4d05,0xe0050));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0xbab7b0(0x1d4),'conflict':'Edit\x20conflicts','notCollab':_0xbab7b0(0x1d7),'synced':_0xbab7b0(0x1e2),'syncing':_0xbab7b0(0x1d1),'offline':_0xbab7b0(0x1d8)},'session':{'connection-failed':_0xbab7b0(0x1dd),'will-retry':_0xbab7b0(0x1d2),'room-full':_0xbab7b0(0x1e6),'collaboration-timeout':_0xbab7b0(0x1de)},'conflict':{'title':_0xbab7b0(0x1e4),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0xbab7b0(0x1e1),'content':_0xbab7b0(0x1db)},'collaboration':{'single-unit':{'warning':_0xbab7b0(0x1d6)},'closeRoom':_0xbab7b0(0x1e9)},'auth':{'needGotoLoginAlert':_0xbab7b0(0x1df)}};export{e as default};
@@ -1 +1 @@
1
- const _0x14b989=_0x210a;function _0x210a(_0x1a938c,_0x25be84){const _0x39109a=_0x3910();return _0x210a=function(_0x210ac6,_0x34450b){_0x210ac6=_0x210ac6-0xbd;let _0x3dccef=_0x39109a[_0x210ac6];return _0x3dccef;},_0x210a(_0x1a938c,_0x25be84);}function _0x3910(){const _0x3a3843=['پرونده\x20محلی','2093432jUzNir','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','311624PuXibb','تداخل\x20همکاری','9hRgBxH','3061650RAgFtg','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1WpdbNT','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','تداخل\x20ویرایش','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','66kGMUAW','در\x20حال\x20همگام\x20سازی...','همگام\x20سازی','487425VnGRoc','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','88QGLFxl','161185lYIlSa','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','8NwjUAR','847CpSUrB','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','535404RcYLTI'];_0x3910=function(){return _0x3a3843;};return _0x3910();}(function(_0x25562c,_0x4e712f){const _0x58fc0b=_0x210a,_0x323ed6=_0x25562c();while(!![]){try{const _0x36846e=-parseInt(_0x58fc0b(0xc9))/0x1*(parseInt(_0x58fc0b(0xc4))/0x2)+parseInt(_0x58fc0b(0xd1))/0x3+-parseInt(_0x58fc0b(0xd8))/0x4*(parseInt(_0x58fc0b(0xd4))/0x5)+-parseInt(_0x58fc0b(0xce))/0x6*(-parseInt(_0x58fc0b(0xbd))/0x7)+parseInt(_0x58fc0b(0xc2))/0x8*(parseInt(_0x58fc0b(0xc6))/0x9)+parseInt(_0x58fc0b(0xc7))/0xa+-parseInt(_0x58fc0b(0xd3))/0xb*(parseInt(_0x58fc0b(0xc0))/0xc);if(_0x36846e===_0x4e712f)break;else _0x323ed6['push'](_0x323ed6['shift']());}catch(_0x3975a1){_0x323ed6['push'](_0x323ed6['shift']());}}}(_0x3910,0x25b3c));const o={'collab-client':{'tooltip':{'reconnect':_0x14b989(0xbe)}},'collabStatus':{'fetchMiss':_0x14b989(0xd5),'conflict':_0x14b989(0xcb),'notCollab':_0x14b989(0xc1),'synced':_0x14b989(0xd0),'syncing':_0x14b989(0xcf),'offline':_0x14b989(0xca)},'session':{'connection-failed':_0x14b989(0xbf),'will-retry':_0x14b989(0xcc),'room-full':_0x14b989(0xc3),'collaboration-timeout':_0x14b989(0xcd)},'conflict':{'title':_0x14b989(0xc5),'content':_0x14b989(0xd2)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x14b989(0xd7)},'collaboration':{'single-unit':{'warning':_0x14b989(0xc8)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x14b989(0xd6)}};export{o as default};
1
+ function _0x37ce(){const _0x19427f=['آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','161HmltuJ','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','10468414yVvOWF','خطای\x20اعتبارسنجی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','1053784gbrvjr','تداخل\x20ویرایش','386350tqtDwm','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','12XqUvSC','96990yILgHL','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','همگام\x20سازی','99510pgKxso','252633hNFqAa','96AKRVOZ','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','10gdJhps','تداخل\x20همکاری','در\x20حال\x20همگام\x20سازی...','229381IJBfMQ','9eLmxZL'];_0x37ce=function(){return _0x19427f;};return _0x37ce();}const _0x4cbd36=_0x4846;function _0x4846(_0x490ec4,_0xa7d9c9){const _0x37ce7c=_0x37ce();return _0x4846=function(_0x48460f,_0x20cc6c){_0x48460f=_0x48460f-0x1c0;let _0x55357d=_0x37ce7c[_0x48460f];return _0x55357d;},_0x4846(_0x490ec4,_0xa7d9c9);}(function(_0x5044fe,_0x1dfa00){const _0x3d2e8b=_0x4846,_0x10b37f=_0x5044fe();while(!![]){try{const _0x12399f=parseInt(_0x3d2e8b(0x1d1))/0x1+parseInt(_0x3d2e8b(0x1ce))/0x2*(parseInt(_0x3d2e8b(0x1cb))/0x3)+-parseInt(_0x3d2e8b(0x1cc))/0x4*(-parseInt(_0x3d2e8b(0x1c7))/0x5)+-parseInt(_0x3d2e8b(0x1ca))/0x6*(-parseInt(_0x3d2e8b(0x1d5))/0x7)+parseInt(_0x3d2e8b(0x1da))/0x8+-parseInt(_0x3d2e8b(0x1d2))/0x9*(-parseInt(_0x3d2e8b(0x1c1))/0xa)+parseInt(_0x3d2e8b(0x1d7))/0xb*(-parseInt(_0x3d2e8b(0x1c6))/0xc);if(_0x12399f===_0x1dfa00)break;else _0x10b37f['push'](_0x10b37f['shift']());}catch(_0x368f93){_0x10b37f['push'](_0x10b37f['shift']());}}}(_0x37ce,0xaed5f));const o={'collab-client':{'tooltip':{'reconnect':_0x4cbd36(0x1c5)}},'collabStatus':{'fetchMiss':_0x4cbd36(0x1c4),'conflict':_0x4cbd36(0x1c0),'notCollab':'پرونده\x20محلی','synced':_0x4cbd36(0x1c9),'syncing':_0x4cbd36(0x1d0),'offline':_0x4cbd36(0x1d3)},'session':{'connection-failed':_0x4cbd36(0x1cd),'will-retry':_0x4cbd36(0x1d6),'room-full':_0x4cbd36(0x1c2),'collaboration-timeout':_0x4cbd36(0x1c8)},'conflict':{'title':_0x4cbd36(0x1cf),'content':_0x4cbd36(0x1c3)},'permission':{'title':_0x4cbd36(0x1d8),'content':_0x4cbd36(0x1d4)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x4cbd36(0x1d9)}};export{o as default};