@univerjs-pro/collaboration-client-ui 0.8.3-nightly.202507021607 → 0.8.3

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 _0x101f86=_0x1997;(function(_0x5292b1,_0x24753d){const _0x42064d=_0x1997,_0x44fc1f=_0x5292b1();while(!![]){try{const _0x22aded=-parseInt(_0x42064d(0x341))/0x1+parseInt(_0x42064d(0x3d6))/0x2*(parseInt(_0x42064d(0x2a3))/0x3)+parseInt(_0x42064d(0x3a0))/0x4*(parseInt(_0x42064d(0x3e7))/0x5)+parseInt(_0x42064d(0x282))/0x6+-parseInt(_0x42064d(0x201))/0x7*(parseInt(_0x42064d(0x331))/0x8)+parseInt(_0x42064d(0x3a2))/0x9*(-parseInt(_0x42064d(0x3ae))/0xa)+-parseInt(_0x42064d(0x3a4))/0xb;if(_0x22aded===_0x24753d)break;else _0x44fc1f['push'](_0x44fc1f['shift']());}catch(_0xdd70e9){_0x44fc1f['push'](_0x44fc1f['shift']());}}}(_0x1261,0x59baa));var $t=Object['defineProperty'],xt=(_0x3834d2,_0xe78e1,_0x48d3dc)=>_0xe78e1 in _0x3834d2?$t(_0x3834d2,_0xe78e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48d3dc}):_0x3834d2[_0xe78e1]=_0x48d3dc,_=(_0x16bf10,_0xdd894b,_0x53e676)=>xt(_0x16bf10,typeof _0xdd894b!=_0x101f86(0x3a1)?_0xdd894b+'':_0xdd894b,_0x53e676);import{MemberService as _0x48616d,SessionStatus as _0x52eb2b,CollaborationSessionService as _0x110ff3,CollaborationStatus as _0x5d31a3,CollaborationController as _0x58d792,ILocalCacheService as _0x2314bb,CollaborationUIEventService as _0x2347b8,CollaborationUIEventId as _0x2fc2e8,DataLoaderService as _0x2273bb,DocCollaborationEntity as _0x38440e,getLocalCacheKey as _0x51d18a,LOCAL_CACHE_INTERVAL as _0x42f131,LOCAL_CACHE_INTERVAL_KEY as _0x50675b,UniverCollaborationClientPlugin as _0x41bcba,CollaborationSocketService as _0x56a2e3,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x419809,DEFAULT_WS_SESSION_TICKET_URL as _0x408862,UnitStatus as _0x2ade04,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x25263f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x51cc9b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x3f842d,Disposable as _0x324a08,DOC_RANGE_TYPE as _0xc77962,Inject as _0x34cff7,Injector as _0x3ee074,IUniverInstanceService as _0x1f7c59,ICommandService as _0x438219,debounce as _0x5185b5,Rectangle as _0x524a65,DisposableCollection as _0x27d9b2,toDisposable as _0x9ad226,UniverInstanceType as _0x397d61,Tools as _0x2021e2,COLORS as _0x26479a,ColorKit as _0x488b31,ThemeService as _0x4ef1a2,fromEventSubject as _0x365993,LocaleService as _0x3691b2,createIdentifier as _0x5ba942,ILogService as _0x11a93e,Optional as _0x5ba938,Workbook as _0x11c9e4,CommandType as _0x1e800f,IConfigService as _0x3b3383,ILocalStorageService as _0xd7389c,DependentOn as _0x1a14e1,Plugin as _0x2cca4b,merge as _0xae2649,registerDependencies as _0x4edf30,mergeOverrideWithDependencies as _0x44848b,touchDependencies as _0x7b0177,generateRandomId as _0xa3398a}from'@univerjs/core';import{Shape as _0x3fe935,Rect as _0xcd6d05,getColor as _0x1745bc,RegularPolygon as _0x218871,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x21ddd8,Vector2 as _0x351938,SHEET_VIEWPORT_KEY as _0x51ddc3,IRenderManagerService as _0x26b7f1}from'@univerjs/engine-render';import{ISocketService as _0x403bdb,WebSocketService as _0x250b42,HTTPService as _0x2c3250}from'@univerjs/network';import{IDocClipboardService as _0x5a9a84,NodePositionConvertToCursor as _0x39f20c,NodePositionConvertToRectRange as _0x41e545,TEXT_RANGE_LAYER_INDEX as _0x46ee0c,SetDocZoomRatioOperation as _0x48db61,DocIMEInputManagerService as _0x42f91a,DocStateChangeManagerService as _0x59fcc2}from'@univerjs/docs-ui';import{IImageIoService as _0x2167c6}from'@univerjs/drawing';import{BehaviorSubject as _0x5b1f34,debounceTime as _0x2276c1,takeUntil as _0x3c0312,Subject as _0x2d1159,filter as _0x68c1fb,switchMap as _0x44db41,merge as _0x229c23,combineLatest as _0x4d5206,of as _0x405187,fromEvent as _0x545677,shareReplay as _0x10e072,mapTo as _0x1d178e,distinctUntilChanged as _0x28bef9}from'rxjs';import{ITransformService as _0x1271e0,CollaborationEvent as _0x4d0794,isTransformMutationFailure as _0x257d00,isTransformMutationsWithChangesetSuccess as _0x4838bd,RevisionService as _0x1c9c92,ISnapshotServerService as _0x47fb32}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0xded17,RichTextEditingMutation as _0x1be38a,DocSelectionManagerService as _0x11e086,DocSkeletonManagerService as _0x323726}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x4eb334,serializeRangeWithSheet as _0x58f887}from'@univerjs/engine-formula';import{RefRangeService as _0xe74dcb,SetSelectionsOperation as _0x1a6a80,SheetsSelectionsService as _0x3ca1e1,EffectRefRangId as _0x46e218,handleIRemoveRow as _0x174d00,handleIRemoveCol as _0x322396,handleMoveRange as _0x4ebafe,handleInsertRow as _0x295e07,handleInsertRangeMoveRight as _0x554bf5,handleInsertRangeMoveDown as _0x38360a,handleInsertCol as _0x1b9d0e,handleDeleteRangeMoveUp as _0x532d44,handleDeleteRangeMoveLeft as _0x5def16,runRefRangeMutations as _0x41739e,SetWorksheetActivateCommand as _0x2ba945}from'@univerjs/sheets';import{map as _0x20397a,filter as _0x58757d,throttleTime as _0x2305a7,takeUntil as _0xb97a80,switchMap as _0x13e4bd}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1f858c,getCoordByCell as _0x395c45,getSheetObject as _0x1f90f5}from'@univerjs/sheets-ui';import{jsx as _0x51b448,jsxs as _0x146f9c}from'react/jsx-runtime';import{useObservable as _0x26e7e9,useDependency as _0x25c1f6,IUIPartsService as _0x44a5a2,BuiltInUIPart as _0x3b4ff1,connectInjector as _0x56a083,IBeforeCloseService as _0x49efac,IMessageService as _0x35e36f,INotificationService as _0x52f9b4}from'@univerjs/ui';import{Tooltip as _0x448712,clsx as _0x3a7720,MessageType as _0x59b55a}from'@univerjs/design';import{forwardRef as _0x1cb2e7,useRef as _0x2ca3c4,createElement as _0x20311f,useCallback as _0xba9cfc}from'react';import{IRemoteInstanceService as _0x1c79a3}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x487382,_0x2cae9e,_0x56c15f,_0x259e30)=>{const _0x451a1b=_0x101f86;for(var _0x4dbd22=_0x259e30>0x1?void 0x0:_0x259e30?ci(_0x2cae9e,_0x56c15f):_0x2cae9e,_0x3e027e=_0x487382[_0x451a1b(0x309)]-0x1,_0x58fe3b;_0x3e027e>=0x0;_0x3e027e--)(_0x58fe3b=_0x487382[_0x3e027e])&&(_0x4dbd22=_0x58fe3b(_0x4dbd22)||_0x4dbd22);return _0x4dbd22;},Je=(_0x2326b2,_0x29527c)=>(_0x2c9255,_0x17e70a)=>_0x29527c(_0x2c9255,_0x17e70a,_0x2326b2);let Ne=class extends _0x3f842d{constructor(_0x34003c,_0x4a191b){const _0x490b94=_0x101f86;super(),this[_0x490b94(0x2b5)]=_0x34003c,this[_0x490b94(0x381)]=_0x4a191b,this[_0x490b94(0x292)]();}[_0x101f86(0x292)](){const _0x18ce5c=_0x101f86,_0x391118=this;this[_0x18ce5c(0x1f3)](this[_0x18ce5c(0x2b5)][_0x18ce5c(0x3b5)]({'onBeforePasteImage':async _0x200a99=>{const _0x5bf0ef=_0x18ce5c,_0x3e53a2=await _0x391118[_0x5bf0ef(0x381)]['saveImage'](_0x200a99);return _0x3e53a2?{'source':_0x3e53a2[_0x5bf0ef(0x273)],'imageSourceType':_0x3e53a2[_0x5bf0ef(0x338)]}:null;}}));}};Ne=li([Je(0x0,_0x5a9a84),Je(0x1,_0x2167c6)],Ne);const Ze=[_0x101f86(0x204),_0x101f86(0x36d),_0x101f86(0x3f1),_0x101f86(0x384),'blue.400','yellow.400'];class ke extends _0x324a08{constructor(){const _0x5cf67a=_0x101f86;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x5cf67a(0x321),0x0);}['assignAColorForMemberID'](_0x25e3f3){const _0x496f06=_0x101f86;if(this['_assignedColors']['has'](_0x25e3f3))return this[_0x496f06(0x2e4)][_0x496f06(0x3f6)](_0x25e3f3);const _0x2f2704=Ze[this[_0x496f06(0x321)]];return this[_0x496f06(0x321)]=(this['_colorIndex']+0x1)%Ze[_0x496f06(0x309)],this['_assignedColors'][_0x496f06(0x30d)](_0x25e3f3,_0x2f2704),_0x2f2704;}}function Tt(_0x31bfb){const _0x44f529=_0x101f86;let _0x36155d='';for(const _0x2deeea of _0x31bfb){const {startOffset:_0x34e0e4,endOffset:_0x30fba1,isActive:_0x9df331,rangeType:_0x5f19ab,segmentId:_0x4ea56d,segmentPage:_0x118fda}=_0x2deeea;_0x36155d[_0x44f529(0x309)]&&(_0x36155d+=','),_0x36155d+=_0x34e0e4+':'+_0x30fba1+':'+(_0x9df331?'1':'0')+':'+_0x5f19ab+':'+_0x4ea56d+':'+_0x118fda;}return _0x36155d;}function _i(_0x349e3a){const _0x5c3b68=_0x101f86,_0x60bca2=_0x349e3a['split'](','),_0x35e63f=[];for(const _0x1d9623 of _0x60bca2){const [_0x1883b5,_0x568d7e,_0x180f5e,_0x1d4e3c,_0x859a14,_0xd6e7c7]=_0x1d9623[_0x5c3b68(0x27a)](':');_0x35e63f[_0x5c3b68(0x2dd)]({'startOffset':Number(_0x1883b5),'endOffset':Number(_0x568d7e),'collapsed':_0x1883b5===_0x568d7e,'isActive':_0x180f5e==='1','rangeType':_0x1d4e3c===_0xc77962[_0x5c3b68(0x2e9)]?_0xc77962['TEXT']:_0xc77962['RECT'],'segmentId':typeof _0x859a14=='string'?String(_0x859a14):'','segmentPage':Number(_0xd6e7c7!=null?_0xd6e7c7:-0x1)});}return _0x35e63f[_0x5c3b68(0x2f1)](_0x4e0710=>_0x4e0710[_0x5c3b68(0x22c)])||(_0x35e63f[0x0][_0x5c3b68(0x22c)]=!0x0),_0x35e63f;}class He extends _0x3f842d{constructor(){const _0x21d834=_0x101f86;super(...arguments),_(this,_0x21d834(0x359),new _0x5b1f34(null)),_(this,'collabCursorState$',this[_0x21d834(0x359)][_0x21d834(0x293)]());}['syncEditingCollabCursor'](_0x32508b){const _0x100528=_0x101f86,{unitID:_0x50f9ab,memberID:_0x38b229,textRanges:_0x4afeb5}=_0x32508b,_0x5829c4=Tt(_0x4afeb5);if(_0x5829c4==='')return;const _0x3d95ab={'unitID':_0x50f9ab,'memberID':_0x38b229,'selection':_0x5829c4};this['_collabCursorState$'][_0x100528(0x20d)](_0x3d95ab);}}var hi=Object[_0x101f86(0x3de)],ui=(_0x50358d,_0x2a5aa0,_0x27fa77,_0x1b1c18)=>{const _0x1512a6=_0x101f86;for(var _0x363a03=_0x1b1c18>0x1?void 0x0:_0x1b1c18?hi(_0x2a5aa0,_0x27fa77):_0x2a5aa0,_0x4cf734=_0x50358d[_0x1512a6(0x309)]-0x1,_0x548074;_0x4cf734>=0x0;_0x4cf734--)(_0x548074=_0x50358d[_0x4cf734])&&(_0x363a03=_0x548074(_0x363a03)||_0x363a03);return _0x363a03;},P=(_0x46f316,_0x2c9ae3)=>(_0x490fe4,_0x491d44)=>_0x2c9ae3(_0x490fe4,_0x491d44,_0x46f316);const di=0x12c,fi=0x64;let Ue=class extends _0x3f842d{constructor(_0x138b36,_0xaa618f,_0x41e23f,_0x361432,_0x28993e,_0x2d56a8,_0x52e476,_0x2e28df,_0x39f1c6){const _0x5508e1=_0x101f86;super(),_(this,_0x5508e1(0x288),!0x1),_(this,'_init',!0x1),_(this,_0x5508e1(0x3c6),new _0x5b1f34(new Map())),_(this,'cursorInfo$',this[_0x5508e1(0x3c6)][_0x5508e1(0x293)]()),_(this,_0x5508e1(0x200),new _0x5b1f34([])),_(this,_0x5508e1(0x2e0),this['_roomMembers$'][_0x5508e1(0x2ce)](_0x2276c1(di))),_(this,_0x5508e1(0x26b),_0x5185b5(_0x6076b0=>{const _0x3bacbf=_0x5508e1,_0x5a8970={'eventID':_0x4d0794[_0x3bacbf(0x37a)],'data':{'unitID':this[_0x3bacbf(0x3c4)],'memberID':this[_0x3bacbf(0x30e)][_0x3bacbf(0x2f3)](),'selection':Tt(_0x6076b0)}};this[_0x3bacbf(0x30e)][_0x3bacbf(0x213)](_0x5a8970,this[_0x3bacbf(0x3c4)]);},fi)),(this['unitID']=_0x138b36,this[_0x5508e1(0x30e)]=_0xaa618f,this[_0x5508e1(0x3a6)]=_0x41e23f,this['_colorAssignService']=_0x361432,this[_0x5508e1(0x374)]=_0x28993e,this[_0x5508e1(0x28a)]=_0x2d56a8,this[_0x5508e1(0x361)]=_0x52e476,this[_0x5508e1(0x226)]=_0x2e28df,this[_0x5508e1(0x345)]=_0x39f1c6);}get['cursorInfo'](){const _0x532da8=_0x101f86;return this[_0x532da8(0x3c6)][_0x532da8(0x33e)]();}get[_0x101f86(0x311)](){const _0x41a87e=_0x101f86;return this['_roomMembers$'][_0x41a87e(0x33e)]();}[_0x101f86(0x3bd)](){const _0x56fde8=_0x101f86;super['dispose'](),this[_0x56fde8(0x3c6)][_0x56fde8(0x20d)](new Map()),this[_0x56fde8(0x3c6)][_0x56fde8(0x3c0)](),this['_roomMembers$'][_0x56fde8(0x20d)]([]),this['_roomMembers$']['complete']();}[_0x101f86(0x2c4)](){const _0x5926f2=_0x101f86;this[_0x5926f2(0x292)]||(this[_0x5926f2(0x292)]=!0x0,this['_session'][_0x5926f2(0x232)]['pipe'](_0x3c0312(this[_0x5926f2(0x3d9)]))[_0x5926f2(0x280)](_0x3ea028=>{const _0x451374=_0x5926f2;_0x3ea028===_0x52eb2b['ONLINE']?this[_0x451374(0x2de)]():this[_0x451374(0x392)]();}),this[_0x5926f2(0x30e)][_0x5926f2(0x333)]['pipe'](_0x3c0312(this[_0x5926f2(0x3d9)]))[_0x5926f2(0x280)](_0xddf560=>{const _0x2f9172=_0x5926f2,_0x41497b=_0xddf560[_0x2f9172(0x216)];_0x41497b===_0x4d0794[_0x2f9172(0x37a)]&&this[_0x2f9172(0x2c3)](_0xddf560),_0x41497b===_0x4d0794[_0x2f9172(0x20f)]&&this['_onCursorDelete'](_0xddf560);}),this['disposeWithMe'](this[_0x5926f2(0x345)][_0x5926f2(0x23c)](_0x16e318=>{const _0x11be7d=_0x5926f2,_0x9a9ada=_0x16e318[_0x11be7d(0x225)];_0x9a9ada!=null&&this['_online']&&_0x16e318['id']===_0xded17['id']&&_0x9a9ada[_0x11be7d(0x323)]===this[_0x11be7d(0x3c4)]&&_0x9a9ada[_0x11be7d(0x319)]===!0x1&&_0x9a9ada['ranges']['length']>0x0&&this[_0x11be7d(0x26b)](_0x9a9ada[_0x11be7d(0x1f5)]);})),this[_0x5926f2(0x28a)][_0x5926f2(0x209)][_0x5926f2(0x2ce)](_0x3c0312(this[_0x5926f2(0x3d9)]))[_0x5926f2(0x280)](_0x371877=>{const _0x1b52bc=_0x5926f2;if((_0x371877==null?void 0x0:_0x371877['unitID'])!==this[_0x1b52bc(0x3c4)])return;const _0x53231e={'eventID':_0x4d0794[_0x1b52bc(0x37a)],'data':_0x371877};this['_onCursorUpdate'](_0x53231e);}),this['disposeWithMe'](this[_0x5926f2(0x345)][_0x5926f2(0x23c)](_0x51a938=>{const _0x567bf2=_0x5926f2;if(_0x51a938[_0x567bf2(0x225)]==null)return;const _0x56c530=_0x51a938[_0x567bf2(0x225)];if(_0x51a938['id']!==_0x1be38a['id']||_0x56c530[_0x567bf2(0x323)]!==this[_0x567bf2(0x3c4)])return;const _0x28d0c2={'id':_0x567bf2(0x24f),'params':_0x56c530},_0x4269c7=this[_0x567bf2(0x385)];for(const [_0x53b04b,_0x1c5d8f]of _0x4269c7){const _0x3a38f5={'id':_0x567bf2(0x24f),'params':{'unitId':this[_0x567bf2(0x3c4)],'actions':null,'textRanges':_0x1c5d8f['ranges']}},_0x29c829=this[_0x567bf2(0x361)]['transformMutation'](_0x28d0c2,_0x3a38f5,!0x1);if(_0x257d00(_0x29c829))throw _0x29c829['error'];_0x4269c7[_0x567bf2(0x30d)](_0x53b04b,{..._0x1c5d8f,'ranges':_0x29c829['m2Prime'][_0x567bf2(0x225)][_0x567bf2(0x3af)]});}queueMicrotask(()=>{const _0x44c865=_0x567bf2;this[_0x44c865(0x3c6)][_0x44c865(0x20d)](_0x4269c7);});})));}[_0x101f86(0x2c3)](_0x3bffaf){const _0x30baa8=_0x101f86;var _0x56ed90,_0x128a29;const {memberID:_0x2f87eb,selection:_0x379e5d}=_0x3bffaf[_0x30baa8(0x2ca)],_0x143025=_i(_0x379e5d),_0x358865=(_0x128a29=(_0x56ed90=this[_0x30baa8(0x374)][_0x30baa8(0x26c)](this['unitID'],_0x2f87eb))==null?void 0x0:_0x56ed90[_0x30baa8(0x37c)])!=null?_0x128a29:_0x30baa8(0x394),_0x2bfbde={'color':this[_0x30baa8(0x2e5)]['assignAColorForMemberID'](_0x2f87eb),'name':_0x358865,'ranges':_0x143025},_0x7e064e=this[_0x30baa8(0x385)];_0x7e064e['set'](_0x2f87eb,_0x2bfbde),this[_0x30baa8(0x3c6)][_0x30baa8(0x20d)](_0x7e064e);}[_0x101f86(0x208)](_0x40c1f2){const _0x3eaaca=_0x101f86,{memberID:_0x1ed17f}=_0x40c1f2['data'],_0x13a4ee=this[_0x3eaaca(0x385)];_0x13a4ee[_0x3eaaca(0x205)](_0x1ed17f),this[_0x3eaaca(0x3c6)][_0x3eaaca(0x20d)](_0x13a4ee);}['_toggleOnline'](){const _0xa7d37e=_0x101f86;var _0x2d9172;if(this[_0xa7d37e(0x288)]=!0x0,((_0x2d9172=this[_0xa7d37e(0x226)][_0xa7d37e(0x3e9)]())==null?void 0x0:_0x2d9172[_0xa7d37e(0x370)]())!==this[_0xa7d37e(0x3c4)])return;const _0x5f9d3f=this['_injector']['get'](_0x11e086)[_0xa7d37e(0x2bb)]();Array[_0xa7d37e(0x339)](_0x5f9d3f)&&_0x5f9d3f[_0xa7d37e(0x309)]>0x0&&this[_0xa7d37e(0x26b)](_0x5f9d3f);}[_0x101f86(0x392)](){const _0x598957=_0x101f86;this[_0x598957(0x288)]=!0x1;}};function _0x1997(_0x1d3a8c,_0x30b60f){const _0x1261c9=_0x1261();return _0x1997=function(_0x199768,_0x33679a){_0x199768=_0x199768-0x1ef;let _0x29297b=_0x1261c9[_0x199768];return _0x29297b;},_0x1997(_0x1d3a8c,_0x30b60f);}Ue=ui([P(0x2,_0x34cff7(_0x3ee074)),P(0x3,_0x34cff7(ke)),P(0x4,_0x34cff7(_0x48616d)),P(0x5,_0x34cff7(He)),P(0x6,_0x1271e0),P(0x7,_0x1f7c59),P(0x8,_0x438219)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x350827,_0x21f7ec,_0x8595c6,_0x308446)=>{const _0x389f9d=_0x101f86;for(var _0x72c374=_0x308446>0x1?void 0x0:_0x308446?Si(_0x21f7ec,_0x8595c6):_0x21f7ec,_0x49f597=_0x350827[_0x389f9d(0x309)]-0x1,_0xbeca9f;_0x49f597>=0x0;_0x49f597--)(_0xbeca9f=_0x350827[_0x49f597])&&(_0x72c374=_0xbeca9f(_0x72c374)||_0x72c374);return _0x72c374;},x=(_0x487db5,_0x56aef2)=>(_0x1ed515,_0xee0c7a)=>_0x56aef2(_0x1ed515,_0xee0c7a,_0x487db5);const Ii=0x12c,gi=0x64,vi=()=>{let _0x2716ef=[],_0x1a1d48=!0x1;return _0x5b12be=>{const _0x524071=_0x1997;_0x2716ef[_0x524071(0x2dd)](_0x5b12be),_0x1a1d48||(_0x1a1d48=!0x0,setTimeout(()=>{const _0x59366a=_0x524071;_0x2716ef[_0x59366a(0x3d2)](_0x3fd5b9=>_0x3fd5b9()),_0x2716ef=[],_0x1a1d48=!0x1;}));};};let Me=class extends _0x3f842d{constructor(_0x8c6660,_0x315811,_0x53fd96,_0x31cdcf,_0x27772c,_0x4bd925,_0x531a1f,_0x3b9e4c){const _0xdd395a=_0x101f86;super(),_(this,_0xdd395a(0x288),!0x1),_(this,_0xdd395a(0x292),!0x1),_(this,_0xdd395a(0x3c6),new _0x5b1f34(new Map())),_(this,_0xdd395a(0x349),this['_cursorInfo$'][_0xdd395a(0x293)]()),_(this,_0xdd395a(0x200),new _0x5b1f34([])),_(this,_0xdd395a(0x2e0),this[_0xdd395a(0x200)][_0xdd395a(0x2ce)](_0x2276c1(Ii))),_(this,_0xdd395a(0x26b),_0x5185b5((_0x35e993,_0x9556)=>{const _0x4f46d6=_0xdd395a,_0x234eb8={'eventID':_0x4d0794['UPDATE_CURSOR'],'data':{'unitID':this[_0x4f46d6(0x3c4)],'memberID':this['_session'][_0x4f46d6(0x2f3)](),'selection':_0x58f887(_0x35e993,_0x9556[_0x4f46d6(0x3ba)])}};this[_0x4f46d6(0x30e)][_0x4f46d6(0x213)](_0x234eb8,this[_0x4f46d6(0x3c4)]);},gi)),(this['unitID']=_0x8c6660,this[_0xdd395a(0x30e)]=_0x315811,this[_0xdd395a(0x3a6)]=_0x53fd96,this[_0xdd395a(0x2e5)]=_0x31cdcf,this['_memberService']=_0x27772c,this[_0xdd395a(0x226)]=_0x4bd925,this[_0xdd395a(0x345)]=_0x531a1f,this[_0xdd395a(0x387)]=_0x3b9e4c);}get[_0x101f86(0x385)](){const _0x3c503c=_0x101f86;return this[_0x3c503c(0x3c6)][_0x3c503c(0x33e)]();}get[_0x101f86(0x311)](){const _0x4887b6=_0x101f86;return this['_roomMembers$'][_0x4887b6(0x33e)]();}[_0x101f86(0x3bd)](){const _0x49b2c2=_0x101f86;super[_0x49b2c2(0x3bd)](),this[_0x49b2c2(0x3c6)][_0x49b2c2(0x20d)](new Map()),this[_0x49b2c2(0x3c6)]['complete'](),this[_0x49b2c2(0x200)][_0x49b2c2(0x20d)]([]),this[_0x49b2c2(0x200)][_0x49b2c2(0x3c0)]();}['init'](){const _0x496892=_0x101f86;this[_0x496892(0x292)]||(this['_init']=!0x0,this[_0x496892(0x30e)][_0x496892(0x232)][_0x496892(0x2ce)](_0x3c0312(this['dispose$']))[_0x496892(0x280)](_0x919b95=>{const _0x43fbbc=_0x496892;_0x919b95===_0x52eb2b[_0x43fbbc(0x2d0)]?this[_0x43fbbc(0x2de)]():this[_0x43fbbc(0x392)]();}),this[_0x496892(0x30e)][_0x496892(0x333)][_0x496892(0x2ce)](_0x3c0312(this[_0x496892(0x3d9)]))[_0x496892(0x280)](_0x3b2d99=>{const _0x55753e=_0x496892,_0x2ee2b0=_0x3b2d99[_0x55753e(0x216)];_0x2ee2b0===_0x4d0794[_0x55753e(0x37a)]&&this['_onCursorUpdate'](_0x3b2d99),_0x2ee2b0===_0x4d0794[_0x55753e(0x20f)]&&this[_0x55753e(0x208)](_0x3b2d99);}),this[_0x496892(0x259)](),this[_0x496892(0x1f3)](this[_0x496892(0x345)]['onCommandExecuted'](_0x42aa28=>{const _0x2ca9d2=_0x496892;if(this[_0x2ca9d2(0x288)]&&_0x42aa28['id']===_0x1a6a80['id']&&_0x42aa28[_0x2ca9d2(0x225)][_0x2ca9d2(0x323)]===this['unitID']){const _0x3d940f=_0x42aa28['params'];this['_updateLocalCursor'](_0x3d940f[_0x2ca9d2(0x373)],_0x3d940f[_0x2ca9d2(0x3f3)][0x0]);}})));}[_0x101f86(0x2c3)](_0x3e6454){const _0x28b20e=_0x101f86;var _0x2a92d3,_0x2e5641;const {memberID:_0x10778d,selection:_0x1c7fa3}=_0x3e6454[_0x28b20e(0x2ca)],{sheetName:_0x10920a,range:_0x58af3c}=_0x4eb334(_0x1c7fa3),_0x88142f={'name':(_0x2e5641=(_0x2a92d3=this[_0x28b20e(0x374)][_0x28b20e(0x26c)](this[_0x28b20e(0x3c4)],_0x10778d))==null?void 0x0:_0x2a92d3[_0x28b20e(0x37c)])!=null?_0x2e5641:'Unknown\x20user','range':this[_0x28b20e(0x2e8)](_0x10920a,_0x58af3c),'sheetID':_0x10920a,'color':this[_0x28b20e(0x2e5)][_0x28b20e(0x314)](_0x10778d),'selection':_0x1c7fa3},_0x3ad430=this['cursorInfo'];_0x3ad430['set'](_0x10778d,_0x88142f),this[_0x28b20e(0x3c6)]['next'](_0x3ad430);}['_onCursorDelete'](_0x145136){const _0x1473cd=_0x101f86,{memberID:_0x264a84}=_0x145136[_0x1473cd(0x2ca)],_0x5e2892=this[_0x1473cd(0x385)];_0x5e2892[_0x1473cd(0x205)](_0x264a84),this[_0x1473cd(0x3c6)][_0x1473cd(0x20d)](_0x5e2892);}['_getMergeRange'](_0x5a9df1,_0x410883){const _0x54f782=_0x101f86;var _0x37e078,_0x4ae548;const _0x28f033=(_0x4ae548=(_0x37e078=this[_0x54f782(0x226)][_0x54f782(0x2b4)](this[_0x54f782(0x3c4)]))==null?void 0x0:_0x37e078['getSheetBySheetId'](_0x5a9df1))==null?void 0x0:_0x4ae548[_0x54f782(0x2a5)]();return(_0x28f033==null?void 0x0:_0x28f033[_0x54f782(0x240)](_0x411bc7=>_0x524a65['contains'](_0x411bc7,_0x410883)))||_0x410883;}[_0x101f86(0x259)](){const _0x5af4fe=_0x101f86,_0x80911b=new _0x27d9b2(),_0x5eea55=vi(),_0x65de96=()=>{const _0x1c5cfc=_0x1997;_0x80911b[_0x1c5cfc(0x3bd)]();const _0x475222=(_0x212879,_0x4de1c0,_0xaa8a17,_0x5c24c3)=>{const _0x1ab473=_0x1c5cfc;let _0x22db09=[];switch(_0x212879['id']){case _0x46e218[_0x1ab473(0x33b)]:{_0x22db09=_0x5def16(_0x212879,_0x5c24c3);break;}case _0x46e218['DeleteRangeMoveUpCommandId']:{_0x22db09=_0x532d44(_0x212879,_0x5c24c3);break;}case _0x46e218[_0x1ab473(0x388)]:{_0x22db09=_0x1b9d0e(_0x212879,_0x5c24c3);break;}case _0x46e218[_0x1ab473(0x3ac)]:{_0x22db09=_0x38360a(_0x212879,_0x5c24c3);break;}case _0x46e218[_0x1ab473(0x38d)]:{_0x22db09=_0x554bf5(_0x212879,_0x5c24c3);break;}case _0x46e218['InsertRowCommandId']:{_0x22db09=_0x295e07(_0x212879,_0x5c24c3);break;}case _0x46e218['MoveRangeCommandId']:{_0x22db09=_0x4ebafe(_0x212879,_0x5c24c3);break;}case _0x46e218[_0x1ab473(0x243)]:{_0x22db09=_0x322396(_0x212879,_0x5c24c3);break;}case _0x46e218[_0x1ab473(0x3da)]:{_0x22db09=_0x174d00(_0x212879,_0x5c24c3);break;}}const _0x4a8ec1=_0x41739e(_0x22db09,_0x5c24c3),_0x55c9d3=this[_0x1ab473(0x385)][_0x1ab473(0x3f6)](_0x4de1c0);if(_0x55c9d3&&_0x4a8ec1){const _0x4370b6={..._0x55c9d3,'range':_0x4a8ec1};this['cursorInfo'][_0x1ab473(0x30d)](_0x4de1c0,_0x4370b6),_0x5eea55(()=>{const _0x2c563d=_0x1ab473,_0x270cfb=this['_refRangeService'][_0x2c563d(0x286)](_0x4a8ec1,_0x2b24f8=>(_0x270cfb[_0x2c563d(0x3bd)](),_0x475222(_0x2b24f8,_0x4de1c0,_0xaa8a17,_0x4a8ec1)));_0x80911b[_0x2c563d(0x3d8)](_0x270cfb);});}return{'redos':[],'undos':[]};};this[_0x1c5cfc(0x385)][_0x1c5cfc(0x3d2)]((_0x424a15,_0x36c521)=>{const _0x2e9539=_0x1c5cfc,{range:_0x485045,sheetID:_0x53d3db}=_0x424a15,_0x45329b=this['_refRangeService'][_0x2e9539(0x286)](_0x485045,_0xdf767a=>(_0x45329b[_0x2e9539(0x3bd)](),_0x475222(_0xdf767a,_0x36c521,_0x53d3db,_0x485045)));_0x80911b['add'](_0x45329b);});};this[_0x5af4fe(0x1f3)](_0x9ad226(this['_cursorInfo$'][_0x5af4fe(0x280)](()=>{_0x65de96();})));}[_0x101f86(0x2de)](){const _0x42f4e4=_0x101f86;var _0x326eef,_0x462e5c;if(this['_online']=!0x0,((_0x326eef=this['_univerInstanceService'][_0x42f4e4(0x3e9)]())==null?void 0x0:_0x326eef[_0x42f4e4(0x370)]())!==this[_0x42f4e4(0x3c4)])return;const _0x532384=(_0x462e5c=this[_0x42f4e4(0x3a6)][_0x42f4e4(0x3f6)](_0x3ca1e1)[_0x42f4e4(0x22f)]())==null?void 0x0:_0x462e5c[0x0],_0xe642fe=this[_0x42f4e4(0x226)][_0x42f4e4(0x326)](_0x397d61[_0x42f4e4(0x299)])['getActiveSheet']();_0x532384&&_0xe642fe&&this[_0x42f4e4(0x26b)](_0xe642fe[_0x42f4e4(0x253)](),_0x532384);}[_0x101f86(0x392)](){const _0x32bc1e=_0x101f86;this[_0x32bc1e(0x288)]=!0x1;}};Me=mi([x(0x2,_0x34cff7(_0x3ee074)),x(0x3,_0x34cff7(ke)),x(0x4,_0x34cff7(_0x48616d)),x(0x5,_0x1f7c59),x(0x6,_0x438219),x(0x7,_0x34cff7(_0xe74dcb))],Me);var pi=Object[_0x101f86(0x3de)],Ci=(_0x1046ee,_0x419b5d,_0x52ba4d,_0x16839b)=>{for(var _0x24d75b=_0x16839b>0x1?void 0x0:_0x16839b?pi(_0x419b5d,_0x52ba4d):_0x419b5d,_0x249ba5=_0x1046ee['length']-0x1,_0x4a8951;_0x249ba5>=0x0;_0x249ba5--)(_0x4a8951=_0x1046ee[_0x249ba5])&&(_0x24d75b=_0x4a8951(_0x24d75b)||_0x24d75b);return _0x24d75b;},Se=(_0x14226d,_0x27c1d2)=>(_0x40bdb2,_0x1de4c6)=>_0x27c1d2(_0x40bdb2,_0x1de4c6,_0x14226d);let H=class extends _0x3f842d{constructor(_0x221b73,_0x19f548,_0x4055fd){const _0x383c55=_0x101f86;super(),_(this,_0x383c55(0x274),new Map()),_(this,_0x383c55(0x353),new _0x2d1159()),(this[_0x383c55(0x226)]=_0x221b73,this[_0x383c55(0x3a6)]=_0x19f548,this[_0x383c55(0x2f8)]=_0x4055fd,this[_0x383c55(0x292)]());}[_0x101f86(0x3bd)](){const _0x32f14d=_0x101f86;super[_0x32f14d(0x3bd)](),this[_0x32f14d(0x353)]['complete'](),this[_0x32f14d(0x274)][_0x32f14d(0x3d2)](_0x10304f=>_0x10304f['dispose']());}['getCollabCursors$'](_0x136cff){const _0x55eac2=_0x101f86;return this[_0x55eac2(0x274)][_0x55eac2(0x203)](_0x136cff)?this[_0x55eac2(0x274)][_0x55eac2(0x3f6)](_0x136cff)[_0x55eac2(0x349)]:this['_entityInit$'][_0x55eac2(0x2ce)](_0x68c1fb(_0x2278c6=>_0x2278c6[_0x55eac2(0x3c4)]===_0x136cff),_0x44db41(_0x311859=>_0x311859[_0x55eac2(0x349)]));}[_0x101f86(0x292)](){const _0x43e08f=_0x101f86;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x397d61[_0x43e08f(0x299)])[_0x43e08f(0x2ce)](_0x3c0312(this['dispose$']))[_0x43e08f(0x280)](async _0x3f8d42=>{const _0x1d9c67=_0x43e08f,_0x55abbd=_0x3f8d42['getUnitId'](),_0x4590fe=await this['_startSheetCollabCursor'](_0x55abbd);this[_0x1d9c67(0x353)][_0x1d9c67(0x20d)](_0x4590fe),this['_entities'][_0x1d9c67(0x30d)](_0x55abbd,_0x4590fe);}),this[_0x43e08f(0x226)]['getTypeOfUnitAdded$'](_0x397d61['UNIVER_DOC'])['pipe'](_0x3c0312(this[_0x43e08f(0x3d9)]))[_0x43e08f(0x2ce)](_0x68c1fb(_0x42d680=>!_0x42d680[_0x43e08f(0x370)]()['startsWith']('__')))[_0x43e08f(0x280)](async _0x32fe23=>{const _0x248a0e=_0x43e08f,_0x3cb41c=_0x32fe23[_0x248a0e(0x370)](),_0x4892ba=await this[_0x248a0e(0x39f)](_0x3cb41c);this[_0x248a0e(0x353)][_0x248a0e(0x20d)](_0x4892ba),this[_0x248a0e(0x274)][_0x248a0e(0x30d)](_0x3cb41c,_0x4892ba);}),_0x229c23(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x397d61[_0x43e08f(0x29f)]),this[_0x43e08f(0x226)][_0x43e08f(0x302)](_0x397d61[_0x43e08f(0x299)]))[_0x43e08f(0x2ce)](_0x3c0312(this[_0x43e08f(0x3d9)]))[_0x43e08f(0x280)](_0x28f891=>{const _0x4fdc35=_0x43e08f,_0x3fb5af=_0x28f891['getUnitId'](),_0x3c9118=this[_0x4fdc35(0x274)][_0x4fdc35(0x3f6)](_0x3fb5af);_0x3c9118&&(_0x3c9118[_0x4fdc35(0x3bd)](),this[_0x4fdc35(0x274)][_0x4fdc35(0x205)](_0x3fb5af));});}async[_0x101f86(0x2ec)](_0x50c141){const _0xd05b5c=_0x101f86,_0x19b49a=await this['_collabSessionService'][_0xd05b5c(0x2e6)](_0x50c141),_0x4252e9=this[_0xd05b5c(0x3a6)]['createInstance'](Me,_0x50c141,_0x19b49a);return _0x4252e9['init'](),_0x4252e9;}async['_startDocCollabCursor'](_0x2c4b76){const _0x103263=_0x101f86,_0x2d2cc7=await this[_0x103263(0x2f8)][_0x103263(0x2e6)](_0x2c4b76),_0x4cc5d0=this[_0x103263(0x3a6)][_0x103263(0x29a)](Ue,_0x2c4b76,_0x2d2cc7);return _0x4cc5d0[_0x103263(0x2c4)](),_0x4cc5d0;}};H=Ci([Se(0x0,_0x1f7c59),Se(0x1,_0x34cff7(_0x3ee074)),Se(0x2,_0x34cff7(_0x110ff3))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x9da740,_0x5ef8b0){const _0x45345d=_0x101f86;let {radius:_0x1cf504,width:_0x5c6c2a,height:_0x1dd618}=_0x5ef8b0;_0x1cf504=_0x1cf504!=null?_0x1cf504:0x0,_0x5c6c2a=_0x5c6c2a!=null?_0x5c6c2a:0x1e,_0x1dd618=_0x1dd618!=null?_0x1dd618:0x1e;let _0x2e8f79=0x0,_0x569b80=0x0,_0xef1684=0x0;_0x2e8f79=_0x569b80=_0xef1684=Math[_0x45345d(0x382)](_0x1cf504,_0x5c6c2a/0x2,_0x1dd618/0x2),_0x9da740['beginPath'](),_0x9da740[_0x45345d(0x3b8)](_0x2e8f79,0x0),_0x9da740[_0x45345d(0x265)](_0x5c6c2a-_0x569b80,0x0),_0x9da740[_0x45345d(0x24d)](_0x5c6c2a-_0x569b80,_0x569b80,_0x569b80,Math['PI']*0x3/0x2,0x0,!0x1),_0x9da740['lineTo'](_0x5c6c2a,_0x1dd618-_0xef1684),_0x9da740[_0x45345d(0x24d)](_0x5c6c2a-_0xef1684,_0x1dd618-_0xef1684,_0xef1684,0x0,Math['PI']/0x2,!0x1),_0x9da740['lineTo'](0x0,_0x1dd618),_0x9da740[_0x45345d(0x265)](0x0,_0x2e8f79),_0x9da740[_0x45345d(0x24d)](_0x2e8f79,_0x2e8f79,_0x2e8f79,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x9da740[_0x45345d(0x39c)](),_0x5ef8b0[_0x45345d(0x300)]&&(_0x9da740[_0x45345d(0x308)](),_0x9da740['fillStyle']=_0x5ef8b0[_0x45345d(0x300)],_0x5ef8b0['fillRule']===_0x45345d(0x23f)?_0x9da740['fill']('evenodd'):_0x9da740[_0x45345d(0x300)](),_0x9da740[_0x45345d(0x2fc)]());}class he extends _0x3fe935{constructor(_0x22f347,_0x338529){const _0x42baa9=_0x101f86;super(_0x22f347,_0x338529),_(this,'color'),_(this,_0x42baa9(0x3e4)),(this[_0x42baa9(0x28e)]=_0x338529==null?void 0x0:_0x338529[_0x42baa9(0x28e)],this['text']=_0x338529==null?void 0x0:_0x338529[_0x42baa9(0x3e4)]);}static[_0x101f86(0x2b9)](_0x2b2d22,_0x2f4d51){const _0x4bef4a=_0x101f86,{text:_0x10d78b,color:_0x481911}=_0x2f4d51;_0x2b2d22[_0x4bef4a(0x308)](),_0x2b2d22['font']=_0x4bef4a(0x35c);const _0x4c1b60=_0x2b2d22[_0x4bef4a(0x36f)](_0x10d78b)[_0x4bef4a(0x379)],_0x4decc7=Math[_0x4bef4a(0x382)](_0x4c1b60+0x2*me,Qe);Oi(_0x2b2d22,{'height':ee,'radius':0x4,'width':_0x4decc7,'fill':_0x481911}),_0x2b2d22[_0x4bef4a(0x30b)]=_0x4bef4a(0x3ed);const _0x846ad7=me,_0x5c661c=ee-Ei,_0x58384f=Qe-0x2*me;if(_0x4c1b60>_0x58384f){let _0x3d82ad='',_0x4a82bc=0x0;for(const _0x456704 of _0x10d78b){const _0x155002=_0x2b2d22['measureText'](_0x456704)[_0x4bef4a(0x379)];if(_0x4a82bc+_0x155002<=_0x58384f-_0x2b2d22[_0x4bef4a(0x36f)](_0x4bef4a(0x236))[_0x4bef4a(0x379)])_0x3d82ad+=_0x456704,_0x4a82bc+=_0x155002;else{_0x3d82ad+=_0x4bef4a(0x236);break;}}_0x2b2d22[_0x4bef4a(0x2d4)](_0x3d82ad,_0x846ad7,_0x5c661c);}else _0x2b2d22[_0x4bef4a(0x2d4)](_0x10d78b,_0x846ad7,_0x5c661c);_0x2b2d22['restore']();}[_0x101f86(0x39b)](_0x409469){const _0x14b16f=_0x101f86;he[_0x14b16f(0x2b9)](_0x409469,this);}}const Ie='collab-text-anchor-',bi=_0x101f86(0x2ee),Ti=_0x101f86(0x3be),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x101f86(0x29d);class qe{constructor(_0x377899,_0x32f1f5,_0x3174bd,_0x19bbb5){const _0x547cda=_0x101f86;_(this,_0x547cda(0x2ab),[]),_(this,_0x547cda(0x2b1),null),_(this,_0x547cda(0x31b),null),_(this,_0x547cda(0x1f4),null),_(this,_0x547cda(0x1f6),null),_(this,_0x547cda(0x256),null),(this[_0x547cda(0x230)]=_0x377899,this['_scene']=_0x32f1f5,this['_docSkeleton']=_0x3174bd,this[_0x547cda(0x20a)]=_0x19bbb5,this[_0x547cda(0x2ef)]());}set[_0x101f86(0x342)](_0x397688){const _0x3a8673=_0x101f86;_0x397688?(this[_0x3a8673(0x1f4)]&&this['_anchorDot']['hide'](),this[_0x3a8673(0x31b)]&&this[_0x3a8673(0x31b)][_0x3a8673(0x2af)]()):(this[_0x3a8673(0x1f4)]&&this[_0x3a8673(0x1f4)][_0x3a8673(0x2af)](),this[_0x3a8673(0x31b)]&&this['_textBubble']['hide']());}['dispose'](){const _0x267c9e=_0x101f86;for(const _0x39f6f8 of this[_0x267c9e(0x2ab)])_0x39f6f8[_0x267c9e(0x3bd)]();this[_0x267c9e(0x31b)]&&this['_textBubble'][_0x267c9e(0x3bd)](),this[_0x267c9e(0x1f4)]&&this[_0x267c9e(0x1f4)][_0x267c9e(0x3bd)](),this[_0x267c9e(0x2b1)]&&this['_anchor']['dispose'](),this[_0x267c9e(0x256)]&&this['_eventUnsubscribe']();}[_0x101f86(0x2ef)](){const _0x3331e0=_0x101f86;var _0xbc93b8;const {_docSkeleton:_0x3153aa,_document:_0x59ec3f}=this,{color:_0x4a4d98,name:_0x4d9df9,ranges:_0x3a6856}=this[_0x3331e0(0x230)],_0x3410d8=_0x59ec3f[_0x3331e0(0x350)](),{docsLeft:_0x177a1d,docsTop:_0x5a8061}=_0x3410d8,_0x177888=new _0x39f20c(_0x3410d8,_0x3153aa);for(const {startOffset:_0x19b269,endOffset:_0x25dd4c,rangeType:_0x532799,segmentId:_0x5ae384,segmentPage:_0x573444,collapsed:_0x181b9e,isActive:_0x1d9fd5}of _0x3a6856){const _0x56de03=_0x3153aa[_0x3331e0(0x2d8)](_0x19b269,!0x0,_0x5ae384,_0x573444);let _0x343919=_0x3153aa[_0x3331e0(0x2d8)](_0x25dd4c,!0x0,_0x5ae384,_0x573444);if(_0x343919==null&&(_0x343919=_0x3153aa['findNodePositionByCharIndex'](_0x25dd4c-0x1,!0x1,_0x5ae384,_0x573444)),_0x1d9fd5){const {contentBoxPointGroup:_0xd6be63}=_0x177888[_0x3331e0(0x2c0)](_0x343919,_0x343919);if(_0xd6be63[_0x3331e0(0x309)]===0x0)continue;this[_0x3331e0(0x3b1)](_0x4a4d98,_0xd6be63,_0x177a1d,_0x5a8061,_0x4d9df9),this['_eventUnsubscribe']=this[_0x3331e0(0x22d)]();}if(_0x56de03&&_0x343919){if(_0x532799===_0xc77962[_0x3331e0(0x30a)]){const _0xedc096=new _0x41e545(_0x3410d8,_0x3153aa),{pointGroup:_0x3000e3}=(_0xbc93b8=_0xedc096['getRangePointData'](_0x56de03,_0x343919))!=null?_0xbc93b8:{};if(_0x3000e3==null||_0x3000e3['length']===0x0)continue;this[_0x3331e0(0x3f0)](_0x4a4d98,_0x3000e3,_0x177a1d,_0x5a8061);}else{if(!_0x181b9e){const {borderBoxPointGroup:_0x27900e}=_0x177888[_0x3331e0(0x2c0)](_0x56de03,_0x343919);if(_0x27900e[_0x3331e0(0x309)]===0x0)continue;this['_drawTextRange'](_0x4a4d98,_0x27900e,_0x177a1d,_0x5a8061);}}}}}[_0x101f86(0x3b1)](_0x5ad249,_0x23a614,_0x5aa03d,_0x21a154,_0x21128d){const _0x3757eb=_0x101f86,_0x196d86=this['_getAnchorBounding'](_0x23a614),{left:_0x57a3f8,top:_0xb76edc,height:_0x33ee2d}=_0x196d86,_0x3a6ecf=this['_getScale'](),_0x46eb8f=Di/_0x3a6ecf,_0x3d1b51=new _0xcd6d05(Ie+_0x2021e2[_0x3757eb(0x3c1)](X),{'left':_0x57a3f8+_0x5aa03d-_0x46eb8f,'top':_0xb76edc+_0x21a154,'height':_0x33ee2d,'width':Ri,'fill':_0x5ad249||_0x1745bc(_0x26479a[_0x3757eb(0x38e)],0x0),'strokeWidth':_0x46eb8f,'stroke':Ni,'evented':!0x0});this[_0x3757eb(0x2b1)]=_0x3d1b51,this['_scene'][_0x3757eb(0x3e5)](_0x3d1b51,_0x46ee0c);const _0x5b342d=new _0xcd6d05(Ie+_0x2021e2[_0x3757eb(0x3c1)](X),{'left':_0x57a3f8+_0x5aa03d-_0x46eb8f,'top':_0xb76edc+_0x21a154-ge/0x2,'height':ge,'width':ge,'fill':_0x5ad249||_0x1745bc(_0x26479a[_0x3757eb(0x38e)],0x0),'strokeWidth':0x0,'stroke':_0x5ad249||_0x1745bc(_0x26479a[_0x3757eb(0x38e)],0x0),'evented':!0x1});this[_0x3757eb(0x1f4)]=_0x5b342d,this[_0x3757eb(0x347)]['addObject'](_0x5b342d,_0x46ee0c);const _0x54a68e=new he(Ie+_0x2021e2[_0x3757eb(0x3c1)](X),{'left':_0x57a3f8+_0x5aa03d-_0x46eb8f,'top':_0xb76edc+_0x21a154-ee,'text':_0x21128d,'color':_0x5ad249});this['_textBubble']=_0x54a68e,this[_0x3757eb(0x347)]['addObject'](_0x54a68e,_0x46ee0c),this[_0x3757eb(0x342)]=!0x1;}[_0x101f86(0x22d)](){const _0x288d8a=_0x101f86,_0x53fae5=this[_0x288d8a(0x2b1)]['onPointerEnter$'][_0x288d8a(0x335)](()=>{const _0x5daf90=_0x288d8a;this[_0x5daf90(0x342)]=!0x0;}),_0x3e688f=this[_0x288d8a(0x2b1)][_0x288d8a(0x368)]['subscribeEvent'](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x31d54a=_0x1997;this[_0x31d54a(0x342)]=!0x1;},0x7d0);});return()=>{const _0x218394=_0x288d8a;_0x53fae5[_0x218394(0x28b)](),_0x3e688f['unsubscribe']();};}[_0x101f86(0x2d3)](_0x340b61,_0x47d295,_0x5efafa,_0x59c9f5){const _0x4597cb=_0x101f86,_0x13f834=new _0x488b31(_0x340b61)[_0x4597cb(0x2d7)](0.2)['toRgbString'](),_0x33e043=new _0x218871(bi+_0x2021e2[_0x4597cb(0x3c1)](X),{'pointsGroup':_0x47d295,'fill':_0x13f834||_0x1745bc(_0x26479a[_0x4597cb(0x38e)],0.2),'left':_0x5efafa,'top':_0x59c9f5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4597cb(0x2ab)][_0x4597cb(0x2dd)](_0x33e043),this['_scene'][_0x4597cb(0x3e5)](_0x33e043,_0x46ee0c);}[_0x101f86(0x3f0)](_0x129065,_0x2831ee,_0x312584,_0x509570){const _0x413b2e=_0x101f86,_0x2eb7ba=new _0x488b31(_0x129065)[_0x413b2e(0x2d7)](0.2)['toRgbString'](),_0x3a80d1=new _0x218871(Ti+_0x2021e2[_0x413b2e(0x3c1)](X),{'pointsGroup':_0x2831ee,'fill':_0x2eb7ba||_0x1745bc(_0x26479a[_0x413b2e(0x38e)],0.2),'left':_0x312584,'top':_0x509570,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x413b2e(0x2dd)](_0x3a80d1),this[_0x413b2e(0x347)][_0x413b2e(0x3e5)](_0x3a80d1,_0x46ee0c);}[_0x101f86(0x241)](_0x375d3c){const _0x41b9c4=_0x375d3c[0x0],_0x5cd48d=_0x41b9c4[0x0],_0x56406f=_0x41b9c4[0x2],{x:_0xabc0f6,y:_0x180170}=_0x5cd48d,{x:_0xe4e04d,y:_0x4d050c}=_0x56406f;return{'left':_0xabc0f6,'top':_0x180170,'width':_0xe4e04d-_0xabc0f6,'height':_0x4d050c-_0x180170};}[_0x101f86(0x312)](){const _0x23a110=_0x101f86,{scaleX:_0x2e4409,scaleY:_0x4e6f51}=this[_0x23a110(0x347)][_0x23a110(0x2ff)]();return Math[_0x23a110(0x2ac)](_0x2e4409,_0x4e6f51);}}var Ui=Object[_0x101f86(0x3de)],Mi=(_0x3b52c0,_0x1fd46b,_0x13f62a,_0x4feae5)=>{const _0x39baa0=_0x101f86;for(var _0x16038d=_0x4feae5>0x1?void 0x0:_0x4feae5?Ui(_0x1fd46b,_0x13f62a):_0x1fd46b,_0x46c95e=_0x3b52c0[_0x39baa0(0x309)]-0x1,_0x3354cf;_0x46c95e>=0x0;_0x46c95e--)(_0x3354cf=_0x3b52c0[_0x46c95e])&&(_0x16038d=_0x3354cf(_0x16038d)||_0x16038d);return _0x16038d;},Z=(_0x6c276e,_0x936e54)=>(_0x38b14f,_0x22229d)=>_0x936e54(_0x38b14f,_0x22229d,_0x6c276e);let Le=class extends _0x3f842d{constructor(_0x3029c3,_0x46a1c3,_0x1725f3,_0x2e0670,_0x11d8d3){const _0x3b186a=_0x101f86;super(),_(this,_0x3b186a(0x3cf),[]),_(this,_0x3b186a(0x376),[]),(this[_0x3b186a(0x248)]=_0x3029c3,this['_docSkeletonManagerService']=_0x46a1c3,this[_0x3b186a(0x2c7)]=_0x1725f3,this[_0x3b186a(0x345)]=_0x2e0670,this[_0x3b186a(0x222)]=_0x11d8d3,this[_0x3b186a(0x292)]());}[_0x101f86(0x292)](){const _0x5a32c0=_0x101f86,_0x5f492a=this[_0x5a32c0(0x248)][_0x5a32c0(0x323)],_0x1eb11d=this['_docSkeletonManagerService'];this[_0x5a32c0(0x1f3)](_0x4d5206([this['_collabCursorController']['getCollabCursors$'](_0x5f492a),this[_0x5a32c0(0x222)][_0x5a32c0(0x211)]])['pipe'](_0x20397a(([_0x2318e4,_0x5e1c5e])=>({'skeleton':_0x1eb11d[_0x5a32c0(0x1f9)](),'cursors':[..._0x2318e4[_0x5a32c0(0x235)]()][_0x5a32c0(0x3aa)](_0x2783fb=>({..._0x2783fb,'color':this[_0x5a32c0(0x222)][_0x5a32c0(0x229)](_0x2783fb[_0x5a32c0(0x28e)])}))})))[_0x5a32c0(0x280)](_0xd5eb0d=>{if(this['_removeCollabCursors'](),_0xd5eb0d){const {skeleton:_0x57743a,cursors:_0x3b9234}=_0xd5eb0d;this['_updateCollabCursors'](_0x57743a,_0x3b9234);}})),this['_initResize'](),this[_0x5a32c0(0x24a)]();}[_0x101f86(0x244)](_0x18664a,_0x10a402){const _0x56909d=_0x101f86,{scene:_0x67caa1,mainComponent:_0x4c366e}=this[_0x56909d(0x248)],_0x548ec9=_0x10a402[_0x56909d(0x390)](_0x3d151a=>new qe(_0x3d151a,_0x67caa1,_0x18664a,_0x4c366e));this[_0x56909d(0x3cf)]=_0x548ec9,this[_0x56909d(0x376)]=_0x10a402;}[_0x101f86(0x3d1)](){const _0x203e1a=_0x101f86;this[_0x203e1a(0x29b)]();const {scene:_0x170b7b,mainComponent:_0x19f791}=this['_context'],_0x43e8fb=this[_0x203e1a(0x266)][_0x203e1a(0x1f9)](),_0x5b984c=this['_cursors']['map'](_0x1d7f71=>new qe(_0x1d7f71,_0x170b7b,_0x43e8fb,_0x19f791));this['_cursorShapes']=_0x5b984c;}[_0x101f86(0x29b)](){const _0x1c70db=_0x101f86;this['_cursorShapes']['forEach'](_0xa95986=>_0xa95986[_0x1c70db(0x3bd)]()),this[_0x1c70db(0x3cf)]=[];}['_initCommandExecutedListener'](){const _0x2faa99=_0x101f86,_0x4d5d4f=[_0x48db61['id']];this[_0x2faa99(0x1f3)](this['_commandService'][_0x2faa99(0x23c)](_0x17fabb=>{const _0x2f3a69=_0x2faa99;_0x4d5d4f[_0x2f3a69(0x354)](_0x17fabb['id'])&&_0x17fabb[_0x2f3a69(0x225)]['unitId']===this[_0x2f3a69(0x248)][_0x2f3a69(0x323)]&&this[_0x2f3a69(0x3d1)]();}));}[_0x101f86(0x268)](){const _0x287bcc=_0x101f86;this[_0x287bcc(0x1f3)](_0x365993(this[_0x287bcc(0x248)][_0x287bcc(0x242)][_0x287bcc(0x255)])[_0x287bcc(0x2ce)](_0x58757d(_0x212bc1=>_0x212bc1['type']===_0x21ddd8[_0x287bcc(0x29c)]),_0x2305a7(0x10))['subscribe'](()=>{const _0x3e8b3c=_0x287bcc;this[_0x3e8b3c(0x3d1)]();}));}};Le=Mi([Z(0x1,_0x34cff7(_0x323726)),Z(0x2,_0x34cff7(H)),Z(0x3,_0x438219),Z(0x4,_0x34cff7(_0x4ef1a2))],Le);const Li=0x1,Pi=1.5;class wi extends _0x3fe935{constructor(_0x886b33,_0x4452e5){const _0x219709=_0x101f86;super(_0x886b33,_0x4452e5),_(this,_0x219709(0x223)),_(this,'_hovered',!0x1),_(this,_0x219709(0x362)),_(this,_0x219709(0x23e),''),_(this,'_labelPosition',_0x219709(0x291)),_(this,'_backgroundColor'),(_0x4452e5&&this['setShapeProps'](_0x4452e5),this[_0x219709(0x2f6)][_0x219709(0x335)](()=>this[_0x219709(0x3ce)]({'hovered':!0x0})),this[_0x219709(0x368)][_0x219709(0x335)](()=>this[_0x219709(0x3ce)]({'hovered':!0x1})));}[_0x101f86(0x3ce)](_0x2f231b){const _0x249f1c=_0x101f86;var _0x775b4f,_0x149b4a,_0x58942f,_0x2c5645,_0x3d3778,_0x2a6cab;this[_0x249f1c(0x223)]=(_0x775b4f=_0x2f231b[_0x249f1c(0x28e)])!=null?_0x775b4f:this['_color'],this[_0x249f1c(0x352)]=(_0x149b4a=_0x2f231b[_0x249f1c(0x3cd)])!=null?_0x149b4a:this[_0x249f1c(0x352)],this['_range']=(_0x58942f=_0x2f231b[_0x249f1c(0x3ba)])!=null?_0x58942f:this['_range'],this['_name']=(_0x2c5645=_0x2f231b['name'])!=null?_0x2c5645:this[_0x249f1c(0x23e)],this[_0x249f1c(0x364)]=(_0x3d3778=_0x2f231b[_0x249f1c(0x212)])!=null?_0x3d3778:this[_0x249f1c(0x364)],this['_backgroundColor']=(_0x2a6cab=_0x2f231b[_0x249f1c(0x21e)])!=null?_0x2a6cab:this[_0x249f1c(0x31f)],this['transformByState']({'width':_0x2f231b[_0x249f1c(0x379)],'height':_0x2f231b[_0x249f1c(0x2a8)]});}[_0x101f86(0x2dc)](_0x10d5d3){const _0x51ec8f=_0x101f86,{row:_0x547f07,column:_0x46042c}=_0x10d5d3;if(_0x547f07>=this[_0x51ec8f(0x362)][_0x51ec8f(0x3f5)]&&_0x547f07<=this['_range'][_0x51ec8f(0x269)]&&_0x46042c>=this[_0x51ec8f(0x362)][_0x51ec8f(0x31a)]&&_0x46042c<=this['_range'][_0x51ec8f(0x28f)]){this[_0x51ec8f(0x3ce)]({'hovered':!0x0});return;}this[_0x51ec8f(0x3ce)]({'hovered':!0x1});}[_0x101f86(0x399)](_0x2af091){return!0x1;}[_0x101f86(0x39b)](_0x4744f0){const _0x545088=_0x101f86;_0xcd6d05[_0x545088(0x2b9)](_0x4744f0,{'width':this['width'],'height':this[_0x545088(0x2a8)],'strokeWidth':Pi,'stroke':this[_0x545088(0x223)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x545088(0x352)]&&(_0x4744f0[_0x545088(0x308)](),_0x4744f0[_0x545088(0x1fb)](0x1,0x0,0x0,0x1,this[_0x545088(0x379)],this[_0x545088(0x364)]===_0x545088(0x3e0)?0x0:-0x14),he[_0x545088(0x2b9)](_0x4744f0,{'text':this[_0x545088(0x23e)],'color':this[_0x545088(0x223)]}),_0x4744f0[_0x545088(0x2fc)]());}}var Ai=Object[_0x101f86(0x3de)],yi=(_0x1df183,_0x2d1380,_0x227f38,_0x355cfb)=>{const _0x36061d=_0x101f86;for(var _0x4758c3=_0x355cfb>0x1?void 0x0:_0x355cfb?Ai(_0x2d1380,_0x227f38):_0x2d1380,_0x3fa17d=_0x1df183[_0x36061d(0x309)]-0x1,_0x11da16;_0x3fa17d>=0x0;_0x3fa17d--)(_0x11da16=_0x1df183[_0x3fa17d])&&(_0x4758c3=_0x11da16(_0x4758c3)||_0x4758c3);return _0x4758c3;},ve=(_0x517a1f,_0x5bf177)=>(_0xb9add6,_0x49346f)=>_0x5bf177(_0xb9add6,_0x49346f,_0x517a1f);const $i=0x1389;let Pe=class extends _0x3f842d{constructor(_0x1f996a,_0x136071,_0x1fe942,_0x5bc038){const _0x502123=_0x101f86;super(),_(this,_0x502123(0x376),new Set()),_(this,_0x502123(0x3a5),null),(this['_context']=_0x1f996a,this[_0x502123(0x25d)]=_0x136071,this['_collabCursorController']=_0x1fe942,this['_themeService']=_0x5bc038,this[_0x502123(0x292)]());}[_0x101f86(0x292)](){const _0x4c620a=_0x101f86;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4c620a(0x2ce)](_0xb97a80(this[_0x4c620a(0x3d9)]),_0x13e4bd(_0x47420f=>{const _0x2c8d33=_0x4c620a;if(_0x47420f){const _0x83bc9c=_0x47420f[_0x2c8d33(0x377)];return _0x4d5206(this[_0x2c8d33(0x2c7)][_0x2c8d33(0x358)](this[_0x2c8d33(0x248)][_0x2c8d33(0x323)]),this[_0x2c8d33(0x222)][_0x2c8d33(0x211)])[_0x2c8d33(0x2ce)](_0x20397a(([_0x1a17db,_0x1e6026])=>{const _0x1593a9=_0x2c8d33,_0x3e3bd1=new Map();return _0x1a17db[_0x1593a9(0x3d2)]((_0x5c03db,_0x2120b6)=>{const _0x48fc5a=_0x1593a9;if(_0x5c03db[_0x48fc5a(0x30f)]===_0x83bc9c){const _0x538ff9={..._0x5c03db};_0x538ff9[_0x48fc5a(0x28e)]=this[_0x48fc5a(0x222)][_0x48fc5a(0x229)](_0x5c03db[_0x48fc5a(0x28e)]),_0x3e3bd1[_0x48fc5a(0x30d)](_0x2120b6,_0x538ff9);}}),{'skeleton':_0x47420f,'cursors':_0x3e3bd1};}));}return _0x405187({'skeleton':null,'cursors':new Map()});}))[_0x4c620a(0x280)](({skeleton:_0x28a5ec,cursors:_0x429597})=>{const _0x710a46=_0x4c620a;this[_0x710a46(0x29b)](),_0x28a5ec&&this[_0x710a46(0x244)](_0x28a5ec,_0x429597);}),this[_0x4c620a(0x25d)]['currentSkeleton$'][_0x4c620a(0x280)](_0x47a367=>{const _0x4a8e10=_0x4c620a;if(_0x47a367==null)return;const {skeleton:_0x4a4e21}=_0x47a367,{scene:_0x8b4f17}=this['_context'];_0x8b4f17['onPointerMove$'][_0x4a8e10(0x335)](_0x5185b5(_0x123ebb=>{const _0x4b71ec=_0x4a8e10;var _0x272f94,_0x358315;const {offsetX:_0x3dfdf7,offsetY:_0x29fab8}=_0x123ebb,{x:_0xb31154,y:_0x120a20}=_0x8b4f17['getRelativeToViewportCoord'](_0x351938['FromArray']([_0x3dfdf7,_0x29fab8])),{scaleX:_0x10794d,scaleY:_0x1b0ff9}=_0x8b4f17[_0x4b71ec(0x2ff)](),_0x2b74ca=_0x8b4f17[_0x4b71ec(0x34a)](_0x51ddc3['VIEW_MAIN']),_0x5dd308=_0x8b4f17['getVpScrollXYInfoByPosToVp'](_0x351938[_0x4b71ec(0x2c6)]([_0xb31154,_0x120a20]),_0x2b74ca),_0x55d036=_0x4a4e21[_0x4b71ec(0x27f)](_0x3dfdf7,_0x29fab8,_0x10794d,_0x1b0ff9,_0x5dd308);((_0x272f94=this['_lastPointer'])==null?void 0x0:_0x272f94['column'])===_0x55d036['column']&&((_0x358315=this[_0x4b71ec(0x3a5)])==null?void 0x0:_0x358315['row'])===_0x55d036[_0x4b71ec(0x36a)]||this[_0x4b71ec(0x376)][_0x4b71ec(0x3d2)](_0x1e2f7c=>{_0x1e2f7c['onMouseMove'](_0x55d036);});},0x64));});}[_0x101f86(0x244)](_0x5769e6,_0x49b7b0){const _0x114c18=_0x101f86;var _0x1bef60;const _0x4373de=(_0x1bef60=this[_0x114c18(0x25d)][_0x114c18(0x34f)]())==null?void 0x0:_0x1bef60[_0x114c18(0x31e)];if(!_0x4373de)return;const _0x5ac915=this[_0x114c18(0x329)]();if(!_0x5ac915)return;this[_0x114c18(0x376)][_0x114c18(0x3d2)](_0x8dd9b1=>{const _0xcf4dbd=_0x114c18;_0x8dd9b1[_0xcf4dbd(0x320)]();});const {scene:_0x13517a}=_0x5ac915,_0x21c7df=xi(Array[_0x114c18(0x36e)](_0x49b7b0[_0x114c18(0x235)]()))[_0x114c18(0x390)](_0x5ef1e0=>{const _0x48851a=_0x114c18,{color:_0x3bd420,range:_0x496de7,name:_0x561bfb,selection:_0x4eff3d,sheetID:_0x1eddf6}=_0x5ef1e0,{startColumn:_0x330935,startRow:_0x4dc217,endColumn:_0x11088a,endRow:_0x131d3c}=_0x496de7,_0x56414f=_0x395c45(_0x4dc217,_0x330935,_0x13517a,_0x4373de),_0x5609b3=_0x395c45(_0x131d3c,_0x11088a,_0x13517a,_0x4373de),{columnHeaderHeightAndMarginTop:_0x2cf3dc}=_0x4373de,{startX:_0x324023,startY:_0x15bb15}=_0x56414f,{endX:_0x523dce,endY:_0x1af40f}=_0x5609b3,_0x449261=_0x523dce-_0x324023,_0x2e335a=_0x1af40f-_0x15bb15,_0x374c94={'labelPosition':_0x15bb15-_0x2cf3dc>=ee?'top':_0x48851a(0x3e0),'sheetID':_0x1eddf6,'range':_0x496de7,'color':_0x3bd420,'name':_0x561bfb,'selection':_0x4eff3d,'left':_0x324023,'top':_0x15bb15,'width':_0x449261,'height':_0x2e335a,'evented':!0x1,'zIndex':$i};return new wi(_0x561bfb,_0x374c94);});_0x13517a[_0x114c18(0x35f)](_0x21c7df,Li),this[_0x114c18(0x376)]=new Set(_0x21c7df);}[_0x101f86(0x29b)](){const _0x2e80ff=_0x101f86;var _0x288671;(_0x288671=this[_0x2e80ff(0x376)])==null||_0x288671[_0x2e80ff(0x3d2)](_0x3d1c3e=>_0x3d1c3e[_0x2e80ff(0x3bd)]());}[_0x101f86(0x329)](){const _0x1d6551=_0x101f86;return _0x1f90f5(this['_context']['unit'],this[_0x1d6551(0x248)]);}};Pe=yi([ve(0x1,_0x34cff7(_0x1f858c)),ve(0x2,_0x34cff7(H)),ve(0x3,_0x34cff7(_0x4ef1a2))],Pe);function xi(_0x29eb86){const _0x35fa1e=_0x101f86,_0x132fa0=new Map();return _0x29eb86[_0x35fa1e(0x3d2)](_0x7bdfc5=>{const _0xe83050=_0x35fa1e;if(_0x132fa0[_0xe83050(0x203)](_0x7bdfc5[_0xe83050(0x37d)])){const _0x20aa07=_0x132fa0[_0xe83050(0x3f6)](_0x7bdfc5['selection']);_0x20aa07[_0xe83050(0x37c)]+=',\x20'+_0x7bdfc5[_0xe83050(0x37c)];}else _0x132fa0[_0xe83050(0x30d)](_0x7bdfc5[_0xe83050(0x37d)],_0x7bdfc5);}),Array[_0x35fa1e(0x36e)](_0x132fa0[_0x35fa1e(0x235)]());}var v=function(){const _0x4ede2a=_0x101f86;return v=Object[_0x4ede2a(0x1ff)]||function(_0xec9c96){const _0x462709=_0x4ede2a;for(var _0x31385d,_0x2e90df=0x1,_0x29dfd3=arguments[_0x462709(0x309)];_0x2e90df<_0x29dfd3;_0x2e90df++){_0x31385d=arguments[_0x2e90df];for(var _0x1c67fa in _0x31385d)Object[_0x462709(0x2a6)][_0x462709(0x3e8)][_0x462709(0x307)](_0x31385d,_0x1c67fa)&&(_0xec9c96[_0x1c67fa]=_0x31385d[_0x1c67fa]);}return _0xec9c96;},v['apply'](this,arguments);},Bi=function(_0x3fc6f0,_0x4ef82d){const _0x142b6e=_0x101f86;var _0x193bc2={};for(var _0x5af8dd in _0x3fc6f0)Object['prototype'][_0x142b6e(0x3e8)][_0x142b6e(0x307)](_0x3fc6f0,_0x5af8dd)&&_0x4ef82d[_0x142b6e(0x27e)](_0x5af8dd)<0x0&&(_0x193bc2[_0x5af8dd]=_0x3fc6f0[_0x5af8dd]);if(_0x3fc6f0!=null&&typeof Object[_0x142b6e(0x2ea)]==_0x142b6e(0x35a)){for(var _0x858c48=0x0,_0x5af8dd=Object[_0x142b6e(0x2ea)](_0x3fc6f0);_0x858c48<_0x5af8dd[_0x142b6e(0x309)];_0x858c48++)_0x4ef82d['indexOf'](_0x5af8dd[_0x858c48])<0x0&&Object[_0x142b6e(0x2a6)]['propertyIsEnumerable'][_0x142b6e(0x307)](_0x3fc6f0,_0x5af8dd[_0x858c48])&&(_0x193bc2[_0x5af8dd[_0x858c48]]=_0x3fc6f0[_0x5af8dd[_0x858c48]]);}return _0x193bc2;},Fe=_0x1cb2e7(function(_0x1db5a1,_0x17213d){const _0x3e274c=_0x101f86;var _0x2dee35=_0x1db5a1[_0x3e274c(0x324)],_0x4e45e4=_0x1db5a1['id'],_0xab52eb=_0x1db5a1[_0x3e274c(0x24b)],_0x3c1365=_0x1db5a1[_0x3e274c(0x263)],_0x117484=Bi(_0x1db5a1,[_0x3e274c(0x324),'id',_0x3e274c(0x24b),_0x3e274c(0x263)]),_0x5c038b=_0x3e274c(0x36c)['concat'](_0x4e45e4,'\x20')[_0x3e274c(0x2a2)](_0xab52eb||'')[_0x3e274c(0x2be)](),_0x1b6263=_0x2ca3c4('_'['concat'](Fi()));return Rt(_0x2dee35,''['concat'](_0x4e45e4),{'defIds':_0x2dee35[_0x3e274c(0x28d)],'idSuffix':_0x1b6263['current']},v({'ref':_0x17213d,'className':_0x5c038b},_0x117484),_0x3c1365);});function Rt(_0x3e8975,_0x536fad,_0x2139fd,_0x226b36,_0x105a0b){const _0x5953e2=_0x101f86;return _0x20311f(_0x3e8975[_0x5953e2(0x21d)],v(v({'key':_0x536fad},ki(_0x3e8975,_0x2139fd,_0x105a0b)),_0x226b36),(Hi(_0x3e8975,_0x2139fd)[_0x5953e2(0x254)]||[])['map'](function(_0x2ff35c,_0x3b3ad6){const _0x1963c5=_0x5953e2;return Rt(_0x2ff35c,''['concat'](_0x536fad,'-')[_0x1963c5(0x2a2)](_0x3e8975['tag'],'-')[_0x1963c5(0x2a2)](_0x3b3ad6),_0x2139fd,void 0x0,_0x105a0b);}));}function ki(_0x3c2041,_0x33d8bd,_0x1bbb39){const _0x4cbd09=_0x101f86;var _0x38bc50=v({},_0x3c2041[_0x4cbd09(0x35b)]);_0x1bbb39!=null&&_0x1bbb39[_0x4cbd09(0x2b3)]&&_0x38bc50[_0x4cbd09(0x300)]===_0x4cbd09(0x2b3)&&(_0x38bc50[_0x4cbd09(0x300)]=_0x1bbb39['colorChannel1']),_0x3c2041[_0x4cbd09(0x21d)]===_0x4cbd09(0x304)&&_0x38bc50['id']&&(_0x38bc50['id']=_0x38bc50['id']+_0x33d8bd[_0x4cbd09(0x2d2)]),Object[_0x4cbd09(0x38f)](_0x38bc50)[_0x4cbd09(0x3d2)](function(_0x591006){const _0x132724=_0x4cbd09;var _0x4b16f0=_0x591006[0x0],_0x751569=_0x591006[0x1];_0x4b16f0===_0x132724(0x304)&&typeof _0x751569==_0x132724(0x251)&&(_0x38bc50[_0x4b16f0]=_0x751569[_0x132724(0x3bc)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x33d8bd[_0x132724(0x2d2)],')')));});var _0x420f02=_0x33d8bd[_0x4cbd09(0x28d)];return!_0x420f02||_0x420f02[_0x4cbd09(0x309)]===0x0||(_0x3c2041[_0x4cbd09(0x21d)]===_0x4cbd09(0x2da)&&_0x38bc50[_0x4cbd09(0x351)]&&(_0x38bc50[_0x4cbd09(0x351)]=_0x38bc50[_0x4cbd09(0x351)]+_0x33d8bd[_0x4cbd09(0x2d2)]),Object[_0x4cbd09(0x38f)](_0x38bc50)['forEach'](function(_0x1a260d){const _0x1d7ab7=_0x4cbd09;var _0x1eb97b=_0x1a260d[0x0],_0x5db8a5=_0x1a260d[0x1];typeof _0x5db8a5==_0x1d7ab7(0x251)&&(_0x38bc50[_0x1eb97b]=_0x5db8a5[_0x1d7ab7(0x3bc)](/url\(#(.*)\)/,'url(#$1'[_0x1d7ab7(0x2a2)](_0x33d8bd[_0x1d7ab7(0x2d2)],')')));})),_0x38bc50;}function Hi(_0x2db248,_0x5e9a73){const _0xbdd8f1=_0x101f86;var _0x2377e8,_0x3daa63=_0x5e9a73[_0xbdd8f1(0x28d)];return!_0x3daa63||_0x3daa63['length']===0x0?_0x2db248:_0x2db248[_0xbdd8f1(0x21d)]===_0xbdd8f1(0x290)&&(!((_0x2377e8=_0x2db248[_0xbdd8f1(0x254)])===null||_0x2377e8===void 0x0)&&_0x2377e8['length'])?v(v({},_0x2db248),{'children':_0x2db248[_0xbdd8f1(0x254)]['map'](function(_0x5e33ab){const _0x2eb783=_0xbdd8f1;return typeof _0x5e33ab[_0x2eb783(0x35b)]['id']==_0x2eb783(0x251)&&_0x3daa63&&_0x3daa63[_0x2eb783(0x354)](_0x5e33ab[_0x2eb783(0x35b)]['id'])?v(v({},_0x5e33ab),{'attrs':v(v({},_0x5e33ab['attrs']),{'id':_0x5e33ab[_0x2eb783(0x35b)]['id']+_0x5e9a73[_0x2eb783(0x2d2)]})}):_0x5e33ab;})}):_0x2db248;}function Fi(){const _0x276c65=_0x101f86;return Math['random']()[_0x276c65(0x270)](0x24)[_0x276c65(0x3c5)](0x2,0x8);}Fe[_0x101f86(0x297)]=_0x101f86(0x23a);var Yi={'tag':_0x101f86(0x336),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x101f86(0x343),'height':_0x101f86(0x343)},'children':[{'tag':'g','attrs':{'clipPath':_0x101f86(0x36b)},'children':[{'tag':_0x101f86(0x2b7),'attrs':{'stroke':_0x101f86(0x238),'d':_0x101f86(0x1f2),'strokeLinecap':_0x101f86(0x2e2),'strokeLinejoin':_0x101f86(0x2e2),'strokeWidth':1.2}}]},{'tag':_0x101f86(0x290),'attrs':{},'children':[{'tag':_0x101f86(0x3ab),'attrs':{'id':_0x101f86(0x22a)},'children':[{'tag':_0x101f86(0x2b7),'attrs':{'fill':_0x101f86(0x3c3),'d':_0x101f86(0x2fd)}}]}]}],'defIds':[_0x101f86(0x22a)]},Dt=_0x1cb2e7(function(_0x24eb27,_0x143017){const _0x8e317=_0x101f86;return _0x20311f(Fe,Object[_0x8e317(0x1ff)]({},_0x24eb27,{'id':_0x8e317(0x24e),'ref':_0x143017,'icon':Yi}));});Dt[_0x101f86(0x297)]=_0x101f86(0x1fd);var ji={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x101f86(0x2f0),'width':_0x101f86(0x343),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x101f86(0x217)},'children':[{'tag':_0x101f86(0x2b7),'attrs':{'stroke':_0x101f86(0x238),'d':_0x101f86(0x3d5),'strokeLinecap':_0x101f86(0x2e2),'strokeLinejoin':_0x101f86(0x2e2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x101f86(0x3ab),'attrs':{'id':_0x101f86(0x221)},'children':[{'tag':_0x101f86(0x2b7),'attrs':{'fill':_0x101f86(0x3c3),'d':_0x101f86(0x2fd),'transform':_0x101f86(0x318)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x1cb2e7(function(_0x5aa517,_0x46ea71){const _0x2426af=_0x101f86;return _0x20311f(Fe,Object[_0x2426af(0x1ff)]({},_0x5aa517,{'id':_0x2426af(0x3ef),'ref':_0x46ea71,'icon':ji}));});Nt['displayName']=_0x101f86(0x348);function Vi(_0x602b97){const _0x4b95e3=_0x101f86;switch(_0x602b97){case _0x5d31a3[_0x4b95e3(0x35e)]:return _0x4b95e3(0x375);case _0x5d31a3[_0x4b95e3(0x2d9)]:return _0x4b95e3(0x23b);case _0x5d31a3[_0x4b95e3(0x21f)]:return _0x4b95e3(0x3f4);case _0x5d31a3[_0x4b95e3(0x2d6)]:return _0x4b95e3(0x2c8);case _0x5d31a3[_0x4b95e3(0x3a8)]:case _0x5d31a3[_0x4b95e3(0x33a)]:return'collabStatus.syncing';case _0x5d31a3['SYNCED']:case _0x5d31a3[_0x4b95e3(0x369)]:return _0x4b95e3(0x206);}}function Wi(_0x535e18){const _0x16fc21=_0x101f86,{status$:_0x5c07ef}=_0x535e18,_0x424e22=_0x26e7e9(_0x5c07ef,_0x5d31a3[_0x16fc21(0x2d6)]),_0x28844f=_0x25c1f6(_0x3691b2),_0x1bf37e=_0x25c1f6(_0x110ff3),_0x106eda=_0x424e22!==_0x5d31a3[_0x16fc21(0x35e)],_0x1a643f=_0x28844f['t'](Vi(_0x424e22)),_0x1ed384=_0x106eda?_0x51b448(Nt,{}):_0x51b448(Dt,{}),_0x3564f1=_0xba9cfc(()=>{_0x106eda||_0x1bf37e['reconnect']();},[_0x106eda,_0x1bf37e]);function _0x2a4e22(){const _0x59a4ae=_0x16fc21;return _0x146f9c(_0x59a4ae(0x220),{'className':_0x59a4ae(0x296),'onClick':_0x3564f1,'children':[_0x51b448(_0x59a4ae(0x220),{'className':_0x3a7720('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x106eda,'univer-text-red-500':!_0x106eda}),'children':_0x1ed384}),_0x51b448(_0x59a4ae(0x220),{'className':_0x59a4ae(0x367),'children':_0x1a643f})]});}return _0x106eda?_0x2a4e22():_0x51b448(_0x448712,{'title':_0x28844f['t'](_0x16fc21(0x2e1)),'children':_0x2a4e22()});}function _0x1261(){const _0x18c1c2=['_urlService','ALREADY_EXISTS','transformIMECache','restore','M0\x200H16V16H0z','stringify','getAncestorScale','fill','SUBMIT_CHANGESET_TIMEOUT','getTypeOfUnitDisposed$','INTERNAL_ERROR','mask','_transformUndoRedoStack','_heartbeatTimer','call','save','length','RECT','fillStyle','YUUMI_SUBSCRIPTION_NOT_FOUND','set','_session','sheetID','_docTransformStateCacheService','roomMembers','_getScale','onRendered','assignAColorForMemberID','body','YUUMI_ALL_TABLES_IS_INVALID','getRenderById','translate(.97)','isEditing','startColumn','_textBubble','SNAPSHOT_INVALID_SNAPSHOT','_selfUnitIDs','skeleton','_backgroundColor','makeDirty','_colorIndex','_docSyncEditingCollabCursorService','unitId','icon','m1Prime','getCurrentUnitForType','removeParam','search','_getSheetObject','getParam','setActiveRange','_config','YUUMI_NO_CUBOID_FOR_QUESTION','storage','error','SOCKET_FAILED','40AKidKJ','HEADER_MENU','event$','_docTransformSelectionsService','subscribeEvent','svg','_notificationService','imageSourceType','isArray','AWAITING_WITH_PENDING','DeleteRangeMoveLeftCommandId','addEventListener','_initStatusListener','getValue','JOIN_ROOM_FAILED','_localStorageService','22858kDXxpU','_hover','1em','APPLY_NON_SEQUENTIAL_REVISION','_commandService','NOT_FOUND','_scene','OnLineIcon','cursorInfo$','getViewport','ENSURE_SNAPSHOT_EXECUTION','LICENSE_DISTRO_REJECTED','whenReady','_uiPartsService','getCurrent','getOffsetConfig','xlink:href','_hovered','_entityInit$','includes','collaboration.closeRoom','_handleJoinEvent','undoState','getCollabCursors$','_collabCursorState$','function','attrs','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','uni.network.url-service','OFFLINE','addObjects','YUUMI_CONNECTOR_URL_NOT_FOUND','_transformService','_range','transformSelections','_labelPosition','_revisionService','permission.content','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','onPointerLeave$','PENDING','row','url(#off-line-icon_clip0_910_343)','univerjs-icon\x20univerjs-icon-','jiqing.500','from','measureText','getUnitId','_handleLeaveEvent','_updateURLWithCurrentState','subUnitId','_memberService','collabStatus.offline','_cursors','sheetId','_ensureSubject','width','UPDATE_CURSOR','actions','name','selection','_logService','ticket','code','_imageIoService','min','APPLY_REVISION_CONFILICT','red.300','cursorInfo','invokeId','_refRangeService','InsertColCommandId','CONNECTOR_DATA_TOO_LARGE','loadOfflineData','_docStateChangeManagerService','registerRenderModule','InsertRangeMoveRightCommandId','black','entries','map','setConfig','_toggleOffline','INVALID_ARGUMENT','Unknown\x20user','_send','_localeService','UNDEFINED','_scheduleSaving','triggerDblclick','override','_draw','closePath','getUnitStatus$','setUndoRedoMutationParamsCache','_startDocCollabCursor','764WcBbkO','symbol','18UTZYCB','_cachedData','2190353gxzQid','_lastPointer','_injector','YUUMI_UNABLE_LOAD_URL','AWAITING','sessionTicket','flatMap','clipPath','InsertRangeMoveDownCommandId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','368770CfpAey','textRanges','TOO_MANY_REQUESTS','_drawAnchor','_removeClearOtherTimer','YUUMI_AI_RUN_FAILED','_unitOnClients','addClipboardHook','_collaborationUIEventService','_handleHeartbeatEvent','moveTo','getSheetBySheetId','range','_setupBeforeClosingHandler','replace','dispose','collab-rect-range-','LICENSE_IMPORT_SIZE_EXCEEDED','complete','generateRandomId','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','white','unitID','substring','_cursorInfo$','LICENSE_MAX_UNITS_EXCEEDED','_saveTaskMap','setItem','session.will-retry','INVITE_CODE_REQUIRED','debug','hovered','setShapeProps','_cursorShapes','enableLocalCache','_refreshCollabCursors','forEach','Error','_registerDependencies','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','1446SbNsRG','_getSessionTicket','add','dispose$','RemoveRowCommandId','_status$','_handleEvent','post','getOwnPropertyDescriptor','_configService','bottom','transformRemoteChangeset','_getSaveTimeout','_initEntityListener','text','addObject','_doCreateSocket','9195GosLAB','hasOwnProperty','getFocusedUnit','replaceState','CLOSE_ROOM','YUUMI_RATE_OVER_LIMIT','#FFF','getActiveRange','on-line-icon','_drawRectRange','green.600','status$','selections','collabStatus.fetchMiss','startRow','get','_scheduleClearOtherTimer','memberID','history','_initEvent','redoState','OTHER_CLIENT_EDITING','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','disposeWithMe','_anchorDot','ranges','_hideTimer','docStateChange$','EMAIL_HAS_BEEN_BOUND','getSkeleton','APPLY_REJECT','transform','_saveCache','OffLineIcon','application/json','assign','_roomMembers$','350371LRYyHD','_registerRenderDependencies','has','purple.300','delete','collabStatus.synced','MUTATION','_onCursorDelete','collabCursorState$','_document','LICENSE_EXPORT_SIZE_EXCEEDED','transformMutationsWithChangeset','next','EMAIL_VERIFY_CODE_MISMATCH','USERS_LEAVE','transformStateCache','currentTheme$','labelPosition','send','type','[RemoteUniscriptService]:\x20no\x20focused\x20unit','eventID','url(#on-line-icon_clip0_910_349)','saveOfflineData','getUndoRedoMutationParamsCache','setStateCache','UNRECOGNIZED','unshift','tag','backgroundColor','FETCH_MISS','div','on-line-icon_clip0_910_349','_themeService','_color','INVALID_INVITE_CODE','params','_univerInstanceService','_localCacheService','executionId','getColorFromTheme','off-line-icon_clip0_910_343','NO_OTHER_CLIENTS_EDITING','isActive','_handleHover','pushState','getCurrentSelections','_cursor','getCurrentRevOfUnit','sessionStatus$','MOBILE_HAS_BEEN_BOUND','_httpService','values','...','_renderManagerService','currentColor','UNAUTHENTICATED','UniverIcon','collabStatus.conflict','onCommandExecuted','clearInterval','_name','evenodd','find','_getAnchorBounding','engine','RemoveColCommandId','_updateCollabCursors','_unitStatus','href','onLocalMutation','_context','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initCommandExecutedListener','className','PERMISSION_DENIED','arc','off-line-icon','doc.mutation.rich-text-editing','focused$','string','deepClone','getSheetId','children','onTransformChange$','_eventUnsubscribe','YUUMI_URL_COL_OUT_OF_RANGE','OTHER_CLIENTS_EDITING','_onRefRangeChange','_id','_collaborationController','YUUMI_ASYNCIO_CANCELLED','_sheetSkeletonManagerService','unit','with','getConfig','collaboration.single-unit.warning','subunit','extend','YUUMI_TABLE_NOT_FOUND_IN_UNIT','lineTo','_docSkeletonManagerService','Warning','_initResize','endRow','size','_updateLocalCursor','getMember','_initDependencies','origin','_instanceService','toString','WECHAT_HAS_BEEN_BOUND','_initStatusComponent','source','_entities','clearTimeout','LOGIN_FAILED','urlChange$','COMPLETION_FINISHED','getActiveSheet','split','m2Prime','activeSheet$','collaboration-client.offline-data-not-saved','indexOf','getCellPositionByOffset','subscribe','popstate','1330488qGbZgv','INVITE_CODE_HAS_BEEN_UES','mutations','exhaustSavingTask','registerRefRange','searchParams','_online','_createSocketURL','_syncEditingCollabCursorService','unsubscribe','_clearOtherTimers','defIds','color','endColumn','defs','top','_init','asObservable','_docTransformIMECacheService','runId','univer-flex\x20univer-items-center','displayName','setInterval','UNIVER_SHEET','createInstance','_removeCollabCursors','resize','rgba(255,\x20255,\x20255,\x200.01)','addHandlerCallback','UNIVER_DOC','loadUnit','transformMutation','concat','1413nLvyJJ','USER_NOT_INVITED_CODE','getMergeData','prototype','_dataLoaderService','height','_updateSubUnitFromURLParams','wsSessionTicketUrl','_shapes','max','editingUnit','APPLY_PERMISSION_DENIED','show','pluginName','_anchor','_transformPreviousActiveRange','colorChannel1','getUniverSheetInstance','_docClipboardService','session.connection-failed','path','saveTaskMap','drawWith','then','getDocRanges','_messageService','SNAPSHOT_HAS_BEEN_REMOVED','trim','[CollaborationDataLoaderController]','getRangePointData','updateOfflineData','/run/','_onCursorUpdate','init','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','FromArray','_collabCursorController','collabStatus.notCollab','_scheduleHeartbeat','data','runOnServer','_disabled','getItem','pipe','INVITE_CODE_ALREADY_BOUND','ONLINE','PY_RUNTIME_SCRIPT_ERROR','idSuffix','_drawTextRange','fillText','_setupSubUnitSync','NOT_COLLAB','setAlpha','findNodePositionByCharIndex','CONFLICT','use','getCollabEntity$','onMouseMove','push','_toggleOnline','location','roomMembers$','collab-client.tooltip.reconnect','round','setTimeout','_assignedColors','_colorAssignService','requireSession','APPLY_DUPLICATED','_getMergeRange','TEXT','getOwnPropertySymbols','Failed','_startSheetCollabCursor','CHANGESET_REVISION_CONFILICT','collab-text-range-','_render','0\x200\x2017\x2016','some','entityInit$','getMemberID','_transformHistoryAndStateStack','unload','onPointerEnter$','setParam','_collabSessionService'];_0x1261=function(){return _0x18c1c2;};return _0x1261();}var Xi=Object[_0x101f86(0x3de)],Gi=(_0x197a0c,_0x561c3c,_0x109580,_0x46cbbc)=>{const _0x59fa70=_0x101f86;for(var _0x1852a7=_0x46cbbc>0x1?void 0x0:_0x46cbbc?Xi(_0x561c3c,_0x109580):_0x561c3c,_0x98afc4=_0x197a0c[_0x59fa70(0x309)]-0x1,_0x51ae27;_0x98afc4>=0x0;_0x98afc4--)(_0x51ae27=_0x197a0c[_0x98afc4])&&(_0x1852a7=_0x51ae27(_0x1852a7)||_0x1852a7);return _0x1852a7;},Q=(_0x5c2582,_0xf16d41)=>(_0x12d537,_0x37f318)=>_0xf16d41(_0x12d537,_0x37f318,_0x5c2582);let te=class extends _0x324a08{constructor(_0x390cc7,_0x43f368,_0x14b460,_0x438daf){const _0x32eb55=_0x101f86;super(),_(this,_0x32eb55(0x3db),new _0x5b1f34(_0x5d31a3[_0x32eb55(0x2d6)])),(this[_0x32eb55(0x226)]=_0x390cc7,this[_0x32eb55(0x3a6)]=_0x43f368,this['_collaborationController']=_0x14b460,this[_0x32eb55(0x34e)]=_0x438daf,this[_0x32eb55(0x272)](),this[_0x32eb55(0x33d)]());}[_0x101f86(0x33d)](){const _0x54ee70=_0x101f86;this[_0x54ee70(0x1f3)](this[_0x54ee70(0x226)][_0x54ee70(0x250)]['pipe'](_0x44db41(()=>{const _0x1b00b6=_0x54ee70,_0x4020e5=this[_0x1b00b6(0x226)]['getFocusedUnit']();return _0x4020e5?this['_collaborationController'][_0x1b00b6(0x2db)](_0x4020e5[_0x1b00b6(0x370)]()):_0x405187(null);}),_0x44db41(_0x68f749=>_0x68f749?_0x68f749[_0x54ee70(0x3f2)]:_0x405187(_0x5d31a3[_0x54ee70(0x2d6)])))[_0x54ee70(0x280)](_0x538d16=>{const _0x2c4030=_0x54ee70;this[_0x2c4030(0x3db)][_0x2c4030(0x20d)](_0x538d16);}));}[_0x101f86(0x272)](){const _0x210b5d=_0x101f86;this[_0x210b5d(0x1f3)](this[_0x210b5d(0x34e)]['registerComponent'](_0x3b4ff1[_0x210b5d(0x332)],()=>_0x56a083(Ki({'status$':this[_0x210b5d(0x3db)][_0x210b5d(0x293)]()}),this[_0x210b5d(0x3a6)])));}};te=Gi([Q(0x0,_0x1f7c59),Q(0x1,_0x34cff7(_0x3ee074)),Q(0x2,_0x34cff7(_0x58d792)),Q(0x3,_0x44a5a2)],te);function Ki(_0x28863c){const {status$:_0x974adb}=_0x28863c;return function(){return _0x51b448(Wi,{'status$':_0x974adb});};}var zi=Object[_0x101f86(0x3de)],Ji=(_0x2e4615,_0x368b7b,_0x2c68d9,_0x56792a)=>{const _0x5ba7aa=_0x101f86;for(var _0x4960d3=_0x56792a>0x1?void 0x0:_0x56792a?zi(_0x368b7b,_0x2c68d9):_0x368b7b,_0x442188=_0x2e4615[_0x5ba7aa(0x309)]-0x1,_0x4b186f;_0x442188>=0x0;_0x442188--)(_0x4b186f=_0x2e4615[_0x442188])&&(_0x4960d3=_0x4b186f(_0x4960d3)||_0x4960d3);return _0x4960d3;},B=(_0x2c5941,_0x4c1075)=>(_0x5daca8,_0x19dcab)=>_0x4c1075(_0x5daca8,_0x19dcab,_0x2c5941);let se=class extends _0x324a08{constructor(_0x422a0e,_0x2d65ac,_0x22b4ec,_0x341554,_0x350227,_0x3e9c65){const _0x155dae=_0x101f86;super(),this['_beforeCloseService']=_0x422a0e,this[_0x155dae(0x227)]=_0x2d65ac,this[_0x155dae(0x3b6)]=_0x22b4ec,this[_0x155dae(0x2bc)]=_0x341554,this[_0x155dae(0x337)]=_0x350227,this[_0x155dae(0x396)]=_0x3e9c65,this[_0x155dae(0x3bb)](),this[_0x155dae(0x1ef)]();}[_0x101f86(0x3bb)](){const _0x14eb8e=_0x101f86;this[_0x14eb8e(0x1f3)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x53c0e1=_0x14eb8e;if(this[_0x53c0e1(0x227)][_0x53c0e1(0x2b8)]['size'])return this['_localeService']['t'](_0x53c0e1(0x27d));}));}['_initEvent'](){const _0x3c8858=_0x101f86;this[_0x3c8858(0x1f3)](this['_collaborationUIEventService']['event$']['subscribe'](_0x2802e4=>{const _0xdccbda=_0x3c8858;_0x2802e4['id']===_0x2fc2e8[_0xdccbda(0x1f1)]&&this[_0xdccbda(0x2bc)][_0xdccbda(0x2af)]({'type':_0x59b55a[_0xdccbda(0x267)],'content':this[_0xdccbda(0x396)]['t'](_0xdccbda(0x261))}),_0x2802e4['id']===_0x2fc2e8[_0xdccbda(0x3eb)]&&this['_messageService'][_0xdccbda(0x2af)]({'type':_0x59b55a[_0xdccbda(0x267)],'content':this[_0xdccbda(0x396)]['t'](_0xdccbda(0x355))}),_0x2802e4['id']===_0x2fc2e8[_0xdccbda(0x24c)]&&this[_0xdccbda(0x337)][_0xdccbda(0x2af)]({'title':this[_0xdccbda(0x396)]['t']('permission.title'),'content':this[_0xdccbda(0x396)]['t'](_0xdccbda(0x366)),'type':_0xdccbda(0x32f),'duration':0x0}),_0x2802e4['id']===_0x2fc2e8[_0xdccbda(0x2d9)]&&this[_0xdccbda(0x2bc)]['show']({'type':_0x59b55a['Error'],'content':this[_0xdccbda(0x396)]['t']('collaboration.closeRoom')+'('+_0x2802e4[_0xdccbda(0x2ca)]+')'}),_0x2802e4['id']===_0x2fc2e8[_0xdccbda(0x33f)]&&this[_0xdccbda(0x2bc)]['show']({'type':_0x59b55a[_0xdccbda(0x267)],'content':this[_0xdccbda(0x396)]['t'](_0x2802e4[_0xdccbda(0x2ca)]||'')}),_0x2802e4['id']===_0x2fc2e8['SOCKET_FAILED_RETRY']&&this[_0xdccbda(0x2bc)][_0xdccbda(0x2af)]({'type':_0x59b55a['Warning'],'content':this[_0xdccbda(0x396)]['t'](_0xdccbda(0x3ca))}),_0x2802e4['id']===_0x2fc2e8[_0xdccbda(0x330)]&&this['_messageService'][_0xdccbda(0x2af)]({'type':_0x59b55a[_0xdccbda(0x3d3)],'content':this[_0xdccbda(0x396)]['t'](_0xdccbda(0x2b6))}),_0x2802e4['id']===_0x2fc2e8[_0xdccbda(0x301)]&&this[_0xdccbda(0x2bc)]['show']({'type':_0x59b55a[_0xdccbda(0x3d3)],'content':this[_0xdccbda(0x396)]['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x49efac),B(0x1,_0x2314bb),B(0x2,_0x34cff7(_0x2347b8)),B(0x3,_0x35e36f),B(0x4,_0x52f9b4),B(0x5,_0x34cff7(_0x3691b2))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x5ba942(_0x101f86(0x35d));var Qi=Object[_0x101f86(0x3de)],qi=(_0x22ace1,_0x147ed8,_0x193cb8,_0x5a0030)=>{const _0x6a9673=_0x101f86;for(var _0x4b0b3a=_0x5a0030>0x1?void 0x0:_0x5a0030?Qi(_0x147ed8,_0x193cb8):_0x147ed8,_0xa25fcf=_0x22ace1[_0x6a9673(0x309)]-0x1,_0x53ff68;_0xa25fcf>=0x0;_0xa25fcf--)(_0x53ff68=_0x22ace1[_0xa25fcf])&&(_0x4b0b3a=_0x53ff68(_0x4b0b3a)||_0x4b0b3a);return _0x4b0b3a;},G=(_0x24a136,_0x6ce56e)=>(_0x457884,_0x33c7ab)=>_0x6ce56e(_0x457884,_0x33c7ab,_0x24a136);let ie=class extends _0x3f842d{constructor(_0x2d1d2d,_0x5489e7,_0x314981,_0x4777d5,_0x39e7e9){const _0x2f8dd9=_0x101f86;super(),this[_0x2f8dd9(0x2f9)]=_0x2d1d2d,this[_0x2f8dd9(0x37e)]=_0x5489e7,this[_0x2f8dd9(0x345)]=_0x314981,this[_0x2f8dd9(0x2a7)]=_0x4777d5,_0x39e7e9?_0x39e7e9==null||_0x39e7e9[_0x2f8dd9(0x34d)]()['then'](()=>this[_0x2f8dd9(0x292)]()):(this[_0x2f8dd9(0x37e)][_0x2f8dd9(0x3cc)](_0x2f8dd9(0x2bf),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2f8dd9(0x292)]());}async['_init'](){const _0x3e7e06=_0x101f86,_0x10e18d=this['_urlService']['getParam'](_0x3e7e06(0x25e)),_0x2d42fd=this['_urlService'][_0x3e7e06(0x32a)](_0x3e7e06(0x214)),_0x1ed097=this[_0x3e7e06(0x2f9)]['getParam'](_0x3e7e06(0x262));if(!_0x10e18d||!_0x2d42fd){this[_0x3e7e06(0x37e)][_0x3e7e06(0x3cc)](_0x3e7e06(0x2bf),_0x3e7e06(0x249));return;}const _0x58bed4=await this[_0x3e7e06(0x2a7)][_0x3e7e06(0x2a0)](_0x10e18d,Number(_0x2d42fd),_0x1ed097);_0x58bed4&&_0x58bed4 instanceof _0x11c9e4&&this[_0x3e7e06(0x2d5)](_0x58bed4);}async[_0x101f86(0x2d5)](_0x468852){const _0x12af4a=_0x101f86;await this[_0x12af4a(0x2a9)](_0x468852),_0x468852[_0x12af4a(0x27c)][_0x12af4a(0x2ce)](_0x3c0312(this[_0x12af4a(0x3d9)]))[_0x12af4a(0x280)](_0x40cc1b=>{const _0x26abb1=_0x12af4a;_0x40cc1b&&this[_0x26abb1(0x372)](_0x40cc1b);}),this[_0x12af4a(0x2f9)][_0x12af4a(0x277)][_0x12af4a(0x2ce)](_0x3c0312(this[_0x12af4a(0x3d9)]))[_0x12af4a(0x280)](()=>this[_0x12af4a(0x2a9)](_0x468852));}[_0x101f86(0x372)](_0x801e2f,_0x1b6d40=!0x1){const _0x42426b=_0x101f86,_0x61753a=this['_urlService'][_0x42426b(0x32a)](_0x42426b(0x262));_0x801e2f[_0x42426b(0x253)]()!==_0x61753a&&this[_0x42426b(0x2f9)]['setParam']('subunit',_0x801e2f['getSheetId'](),_0x1b6d40);}async[_0x101f86(0x2a9)](_0x1e3c7b){const _0x5597c7=_0x101f86;var _0x135540;const _0x335cf1=this[_0x5597c7(0x2f9)][_0x5597c7(0x32a)](_0x5597c7(0x262));if(!_0x335cf1||!_0x1e3c7b[_0x5597c7(0x3b9)](_0x335cf1)){const _0x5d0b41=_0x1e3c7b['getUnhiddenWorksheets']()[0x0],_0x39b82f=_0x1e3c7b[_0x5597c7(0x3b9)](_0x5d0b41);if(!_0x39b82f)return;this[_0x5597c7(0x372)](_0x39b82f,!0x0),await this[_0x5597c7(0x345)]['executeCommand'](_0x2ba945['id'],{'unitId':_0x1e3c7b['getUnitId'](),'subUnitId':_0x5d0b41});return;}((_0x135540=_0x1e3c7b[_0x5597c7(0x279)]())==null?void 0x0:_0x135540['getSheetId']())!==_0x335cf1&&await this['_commandService']['executeCommand'](_0x2ba945['id'],{'unitId':_0x1e3c7b['getUnitId'](),'subUnitId':_0x335cf1});}};ie=qi([G(0x0,Ut),G(0x1,_0x11a93e),G(0x2,_0x438219),G(0x3,_0x34cff7(_0x2273bb)),G(0x4,_0x5ba938(_0x1c79a3))],ie);var en=Object[_0x101f86(0x3de)],tn=(_0x2de8de,_0x2ac8cd,_0x371596,_0x123d4b)=>{for(var _0x28369a=_0x123d4b>0x1?void 0x0:_0x123d4b?en(_0x2ac8cd,_0x371596):_0x2ac8cd,_0x2875e7=_0x2de8de['length']-0x1,_0x245660;_0x2875e7>=0x0;_0x2875e7--)(_0x245660=_0x2de8de[_0x2875e7])&&(_0x28369a=_0x245660(_0x28369a)||_0x28369a);return _0x28369a;},pe=(_0x2be705,_0xbd7ce7)=>(_0x433343,_0x330377)=>_0xbd7ce7(_0x433343,_0x330377,_0x2be705);let ne=class{constructor(_0x2d2cc1,_0xccf60a,_0x2ed2ba){const _0x2eaa90=_0x101f86;this[_0x2eaa90(0x3a6)]=_0x2d2cc1,this[_0x2eaa90(0x361)]=_0xccf60a,this['_renderManagerService']=_0x2ed2ba;}['transformIMECache'](_0x3869ba){const _0x30d10a=_0x101f86;this[_0x30d10a(0x305)](_0x3869ba),this[_0x30d10a(0x2b2)](_0x3869ba);}[_0x101f86(0x3e1)](_0x68423b){const _0x15af31=_0x101f86,{unitID:_0x4a43ce}=_0x68423b,_0x25c788=this[_0x15af31(0x237)][_0x15af31(0x317)](_0x4a43ce)[_0x15af31(0x25f)](_0x42f91a),{redoCache:_0x416965}=_0x25c788[_0x15af31(0x219)]();if(_0x416965[_0x15af31(0x309)]===0x0)return _0x68423b;let _0x4b58b1=_0x2021e2[_0x15af31(0x252)](_0x68423b[_0x15af31(0x284)][0x0]);for(let _0x6ee6cc=0x0;_0x6ee6cc<_0x416965[_0x15af31(0x309)];_0x6ee6cc++){const _0x49bf6e={'id':_0x15af31(0x24f),'params':{..._0x416965[_0x6ee6cc]}},_0x4fc888=this['_transformService'][_0x15af31(0x2a1)](_0x4b58b1,_0x49bf6e,!0x1);if(_0x257d00(_0x4fc888))throw _0x4fc888['error'];_0x4b58b1=_0x4fc888['m1Prime'];}return{..._0x2021e2[_0x15af31(0x252)](_0x68423b),'mutations':[_0x4b58b1]};}[_0x101f86(0x305)](_0x51fc18){const _0x55b755=_0x101f86,{unitID:_0x58232}=_0x51fc18,_0x2d1175=this[_0x55b755(0x237)]['getRenderById'](_0x58232)[_0x55b755(0x25f)](_0x42f91a),{undoCache:_0x44b1b8,redoCache:_0x350463}=_0x2d1175['getUndoRedoMutationParamsCache']();if(_0x44b1b8['length']===0x0||_0x350463[_0x55b755(0x309)]===0x0)return;const _0x3c082a=[],_0x5a4a39=[];let _0x5d0105=_0x2021e2[_0x55b755(0x252)](_0x51fc18[_0x55b755(0x284)][0x0]),_0x49de72=_0x2021e2[_0x55b755(0x252)](_0x51fc18[_0x55b755(0x284)][0x0]);for(let _0xd86474=_0x44b1b8[_0x55b755(0x309)]-0x1;_0xd86474>=0x0;_0xd86474--){const _0x242601={'id':_0x55b755(0x24f),'params':{..._0x44b1b8[_0xd86474]}},_0xf78849={'id':'doc.mutation.rich-text-editing','params':{..._0x350463[_0xd86474]}},_0x2d646a=this[_0x55b755(0x361)][_0x55b755(0x2a1)](_0x5d0105,_0x242601,!0x1),_0x564b52=this['_transformService']['transformMutation'](_0x49de72,_0xf78849,!0x1);if(_0x257d00(_0x2d646a))throw _0x2d646a[_0x55b755(0x32f)];if(_0x257d00(_0x564b52))throw _0x564b52[_0x55b755(0x32f)];_0x3c082a['unshift'](_0x2d646a['m2Prime'][_0x55b755(0x225)]),_0x5a4a39['unshift'](_0x564b52[_0x55b755(0x27b)][_0x55b755(0x225)]),_0x5d0105=_0x2d646a[_0x55b755(0x325)],_0x49de72=_0x564b52[_0x55b755(0x325)];}_0x2d1175[_0x55b755(0x39e)]({'undoCache':_0x3c082a,'redoCache':_0x5a4a39});}[_0x101f86(0x2b2)](_0x11b4ea){const _0x56ce80=_0x101f86,{unitID:_0x9aeb94}=_0x11b4ea,_0x256453=this['_renderManagerService']['getRenderById'](_0x9aeb94)[_0x56ce80(0x25f)](_0x42f91a),_0x265b48=_0x256453[_0x56ce80(0x3ee)]();if(_0x265b48==null)return;const _0xf8313a=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x11b4ea[_0x56ce80(0x3c4)],'actions':null,'textRanges':[_0x265b48]}}],_0x29e593=this[_0x56ce80(0x361)][_0x56ce80(0x20c)](_0x11b4ea,_0xf8313a);if(!_0x4838bd(_0x29e593))throw _0x29e593[_0x56ce80(0x32f)];const _0x446fa5=_0x29e593[_0x56ce80(0x27b)][0x0][_0x56ce80(0x225)][_0x56ce80(0x3af)];Array['isArray'](_0x446fa5)&&_0x446fa5[_0x56ce80(0x309)]&&_0x256453[_0x56ce80(0x32b)](_0x446fa5[0x0]);}};ne=tn([pe(0x0,_0x34cff7(_0x3ee074)),pe(0x1,_0x1271e0),pe(0x2,_0x26b7f1)],ne);var sn=Object[_0x101f86(0x3de)],nn=(_0x50a543,_0x253fa3,_0x23c4be,_0x20ca97)=>{for(var _0x44191f=_0x20ca97>0x1?void 0x0:_0x20ca97?sn(_0x253fa3,_0x23c4be):_0x253fa3,_0x2196fe=_0x50a543['length']-0x1,_0x2e6834;_0x2196fe>=0x0;_0x2196fe--)(_0x2e6834=_0x50a543[_0x2196fe])&&(_0x44191f=_0x2e6834(_0x44191f)||_0x44191f);return _0x44191f;},Ce=(_0x55acb1,_0x50ef4b)=>(_0x3cb7e9,_0x2a907b)=>_0x50ef4b(_0x3cb7e9,_0x2a907b,_0x55acb1);let re=class{constructor(_0x348fd6,_0x3d7bf6,_0x16e459){const _0x39f673=_0x101f86;this['_injector']=_0x348fd6,this[_0x39f673(0x361)]=_0x3d7bf6,this[_0x39f673(0x38b)]=_0x16e459;}[_0x101f86(0x210)](_0xd1522d){this['_transformHistoryAndStateStack'](_0xd1522d);}[_0x101f86(0x3e1)](_0x5bb9fd){const _0x26ee32=_0x101f86,{unitID:_0x2c14de}=_0x5bb9fd,{collaboration:_0x574c4c}=this['_docStateChangeManagerService']['getStateCache'](_0x2c14de);if(_0x574c4c[_0x26ee32(0x309)]===0x0)return _0x5bb9fd;let _0x4bea35=_0x2021e2[_0x26ee32(0x252)](_0x5bb9fd[_0x26ee32(0x284)][0x0]);for(let _0x26bf99=0x0;_0x26bf99<_0x574c4c['length'];_0x26bf99++){const _0x5b2aa1={'id':_0x26ee32(0x24f),'params':{'unitId':_0x574c4c[_0x26bf99][_0x26ee32(0x323)],..._0x574c4c[_0x26bf99]['redoState']}},_0x4aae39=this['_transformService'][_0x26ee32(0x2a1)](_0x4bea35,_0x5b2aa1,!0x1);if(_0x257d00(_0x4aae39))throw _0x4aae39[_0x26ee32(0x32f)];_0x4bea35=_0x4aae39[_0x26ee32(0x325)];}return{..._0x2021e2['deepClone'](_0x5bb9fd),'mutations':[_0x4bea35]};}[_0x101f86(0x2f4)](_0x502a36){const _0x1eec34=_0x101f86,{unitID:_0x3216a7}=_0x502a36,{history:_0x50579f,collaboration:_0x5064f9}=this['_docStateChangeManagerService']['getStateCache'](_0x3216a7);if(_0x50579f['length']===0x0&&_0x5064f9[_0x1eec34(0x309)]===0x0)return;const _0x3f66f8=[],_0x3184c4=[];let _0x418a33=_0x2021e2[_0x1eec34(0x252)](_0x502a36[_0x1eec34(0x284)][0x0]),_0x1e8bb7=_0x2021e2[_0x1eec34(0x252)](_0x502a36[_0x1eec34(0x284)][0x0]);for(let _0x40b11c=_0x50579f[_0x1eec34(0x309)]-0x1;_0x40b11c>=0x0;_0x40b11c--){const _0x5e7faa={'id':_0x1eec34(0x24f),'params':{'unitId':_0x50579f[_0x40b11c][_0x1eec34(0x323)],..._0x50579f[_0x40b11c][_0x1eec34(0x357)]}},_0x469786={'id':_0x1eec34(0x24f),'params':{'unitId':_0x50579f[_0x40b11c][_0x1eec34(0x323)],..._0x50579f[_0x40b11c][_0x1eec34(0x1f0)]}},_0xfbd6f0=this[_0x1eec34(0x361)][_0x1eec34(0x2a1)](_0x418a33,_0x5e7faa,!0x1),_0x505f26=this[_0x1eec34(0x361)][_0x1eec34(0x2a1)](_0x1e8bb7,_0x469786,!0x1);if(_0x257d00(_0xfbd6f0))throw _0xfbd6f0[_0x1eec34(0x32f)];if(_0x257d00(_0x505f26))throw _0x505f26[_0x1eec34(0x32f)];_0x3f66f8[_0x1eec34(0x21c)]({..._0x50579f[_0x40b11c],'undoState':_0xfbd6f0[_0x1eec34(0x27b)][_0x1eec34(0x225)],'redoState':_0x505f26[_0x1eec34(0x27b)][_0x1eec34(0x225)]}),_0x418a33=_0xfbd6f0[_0x1eec34(0x325)],_0x1e8bb7=_0x505f26[_0x1eec34(0x325)];}_0x418a33=_0x2021e2[_0x1eec34(0x252)](_0x502a36[_0x1eec34(0x284)][0x0]),_0x1e8bb7=_0x2021e2[_0x1eec34(0x252)](_0x502a36['mutations'][0x0]);for(let _0x45c9e0=_0x5064f9[_0x1eec34(0x309)]-0x1;_0x45c9e0>=0x0;_0x45c9e0--){const _0x5650ff={'id':_0x1eec34(0x24f),'params':{'unitId':_0x5064f9[_0x45c9e0]['unitId'],..._0x5064f9[_0x45c9e0][_0x1eec34(0x357)]}},_0x11d091={'id':_0x1eec34(0x24f),'params':{'unitId':_0x5064f9[_0x45c9e0][_0x1eec34(0x323)],..._0x5064f9[_0x45c9e0][_0x1eec34(0x1f0)]}},_0x4eac39=this[_0x1eec34(0x361)][_0x1eec34(0x2a1)](_0x418a33,_0x5650ff,!0x1),_0x3fcb07=this[_0x1eec34(0x361)][_0x1eec34(0x2a1)](_0x1e8bb7,_0x11d091,!0x1);if(_0x257d00(_0x4eac39))throw _0x4eac39[_0x1eec34(0x32f)];if(_0x257d00(_0x3fcb07))throw _0x3fcb07[_0x1eec34(0x32f)];_0x3184c4[_0x1eec34(0x21c)]({..._0x5064f9[_0x45c9e0],'undoState':_0x4eac39[_0x1eec34(0x27b)][_0x1eec34(0x225)],'redoState':_0x3fcb07[_0x1eec34(0x27b)][_0x1eec34(0x225)]}),_0x418a33=_0x4eac39[_0x1eec34(0x325)],_0x1e8bb7=_0x3fcb07[_0x1eec34(0x325)];}this['_docStateChangeManagerService'][_0x1eec34(0x21a)](_0x3216a7,{'history':_0x3f66f8,'collaboration':_0x3184c4});}};re=nn([Ce(0x0,_0x34cff7(_0x3ee074)),Ce(0x1,_0x1271e0),Ce(0x2,_0x34cff7(_0x59fcc2))],re);var rn=Object[_0x101f86(0x3de)],on=(_0x7276f5,_0x3d5479,_0x14e0a6,_0x44b3ed)=>{const _0x3594ea=_0x101f86;for(var _0x126d19=_0x44b3ed>0x1?void 0x0:_0x44b3ed?rn(_0x3d5479,_0x14e0a6):_0x3d5479,_0x18b607=_0x7276f5[_0x3594ea(0x309)]-0x1,_0x3f36b4;_0x18b607>=0x0;_0x18b607--)(_0x3f36b4=_0x7276f5[_0x18b607])&&(_0x126d19=_0x3f36b4(_0x126d19)||_0x126d19);return _0x126d19;},tt=(_0x11fd89,_0x5d8182)=>(_0x32c595,_0x174bbb)=>_0x5d8182(_0x32c595,_0x174bbb,_0x11fd89);let oe=class{constructor(_0x12077f,_0x13f541){const _0x308ad5=_0x101f86;this[_0x308ad5(0x3a6)]=_0x12077f,this[_0x308ad5(0x361)]=_0x13f541;}[_0x101f86(0x363)](_0x33b6cd){const _0x4f1fe0=_0x101f86;var _0x1da052;const _0x30817c=this[_0x4f1fe0(0x3a6)][_0x4f1fe0(0x3f6)](_0x11e086),_0xb2146=(_0x1da052=_0x30817c[_0x4f1fe0(0x2bb)]())!=null?_0x1da052:[];if(_0xb2146[_0x4f1fe0(0x309)]===0x0)return;const _0x3b9e66=_0x33b6cd[_0x4f1fe0(0x3c4)],_0x3a5c87=[{'id':_0x4f1fe0(0x24f),'params':{'unitId':_0x3b9e66,'actions':null,'textRanges':_0xb2146}}],_0x4fa1e3=this['_transformService'][_0x4f1fe0(0x20c)](_0x33b6cd,_0x3a5c87);if(!_0x4838bd(_0x4fa1e3))throw _0x4fa1e3[_0x4f1fe0(0x32f)];const _0x371686=_0x4fa1e3[_0x4f1fe0(0x27b)][0x0][_0x4f1fe0(0x225)][_0x4f1fe0(0x3af)];Array[_0x4f1fe0(0x339)](_0x371686)&&_0x371686[_0x4f1fe0(0x309)]&&_0x30817c['replaceDocRanges'](_0x371686,{'unitId':_0x3b9e66,'subUnitId':_0x3b9e66},!0x1);}};oe=on([tt(0x0,_0x34cff7(_0x3ee074)),tt(0x1,_0x1271e0)],oe);var an=Object[_0x101f86(0x3de)],cn=(_0x1e2562,_0x5a5868,_0x3ebada,_0x25bdf6)=>{const _0x201db2=_0x101f86;for(var _0x368401=_0x25bdf6>0x1?void 0x0:_0x25bdf6?an(_0x5a5868,_0x3ebada):_0x5a5868,_0x1b0db1=_0x1e2562[_0x201db2(0x309)]-0x1,_0x4f6dc5;_0x1b0db1>=0x0;_0x1b0db1--)(_0x4f6dc5=_0x1e2562[_0x1b0db1])&&(_0x368401=_0x4f6dc5(_0x368401)||_0x368401);return _0x368401;},U=(_0x38b01d,_0xcdeed6)=>(_0x668108,_0x253ac6)=>_0xcdeed6(_0x668108,_0x253ac6,_0x38b01d);let ae=class extends _0x324a08{constructor(_0x3b6263,_0x45d45c,_0x4f5bc8,_0x1378bf,_0x5b3b8b,_0x257f98,_0x5823bb,_0x2e081a){const _0x52a403=_0x101f86;super(),_(this,_0x52a403(0x3db),new _0x5b1f34(_0x5d31a3[_0x52a403(0x2d6)])),(this[_0x52a403(0x38b)]=_0x3b6263,this['_collaborationController']=_0x45d45c,this[_0x52a403(0x294)]=_0x4f5bc8,this[_0x52a403(0x310)]=_0x1378bf,this[_0x52a403(0x334)]=_0x5b3b8b,this[_0x52a403(0x322)]=_0x257f98,this[_0x52a403(0x2bc)]=_0x5823bb,this[_0x52a403(0x396)]=_0x2e081a,this[_0x52a403(0x3e3)]());}['_initEntityListener'](){const _0x32244d=_0x101f86;this[_0x32244d(0x1f3)](this[_0x32244d(0x25b)][_0x32244d(0x2f2)][_0x32244d(0x280)](_0x2e0234=>{const _0x526dc5=_0x32244d,_0x2a5b90=this[_0x526dc5(0x38b)][_0x526dc5(0x1f7)][_0x526dc5(0x280)](_0x3fbd3d=>{const _0x29518b=_0x526dc5;if(_0x3fbd3d==null)return;const {unitId:_0x1321e0,redoState:_0xded6fd,commandId:_0x4164dd}=_0x3fbd3d;if(_0x1321e0!==_0x2e0234[_0x29518b(0x3c4)])return;const _0x524c29={'id':_0x4164dd,'type':_0x1e800f[_0x29518b(0x207)],'params':{'unitId':_0x1321e0,'actions':_0xded6fd[_0x29518b(0x37b)],'textRanges':null}};_0x2e0234[_0x29518b(0x247)](_0x524c29);});if(_0x2e0234[_0x526dc5(0x1f3)](_0x2a5b90),_0x2e0234 instanceof _0x38440e){const _0x142221={'onTransformIME':_0x33d446=>this[_0x526dc5(0x294)][_0x526dc5(0x2fb)](_0x33d446),'onTransformState':_0x43543c=>this[_0x526dc5(0x310)][_0x526dc5(0x210)](_0x43543c),'onTransformSelections':_0x4d2e47=>this[_0x526dc5(0x334)][_0x526dc5(0x363)](_0x4d2e47),'onSyncEditingCollabCursor':_0x59b93b=>this[_0x526dc5(0x322)]['syncEditingCollabCursor'](_0x59b93b),'onTransformRemoteChangesetByIMECache':_0x316e5e=>this[_0x526dc5(0x294)][_0x526dc5(0x3e1)](_0x316e5e),'onTransformRemoteChangesetByStateCache':_0x4bf4ca=>this[_0x526dc5(0x310)][_0x526dc5(0x3e1)](_0x4bf4ca)};_0x2e0234[_0x526dc5(0x29e)](_0x142221);}}));}};ae=cn([U(0x0,_0x34cff7(_0x59fcc2)),U(0x1,_0x34cff7(_0x58d792)),U(0x2,_0x34cff7(ne)),U(0x3,_0x34cff7(re)),U(0x4,_0x34cff7(oe)),U(0x5,_0x34cff7(He)),U(0x6,_0x35e36f),U(0x7,_0x34cff7(_0x3691b2))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x5c2b40,_0x41676f,_0x2bd597,_0x27e56c)=>{const _0x5babe9=_0x101f86;for(var _0xbd4b09=_0x27e56c>0x1?void 0x0:_0x27e56c?ln(_0x41676f,_0x2bd597):_0x41676f,_0x580944=_0x5c2b40[_0x5babe9(0x309)]-0x1,_0x4b36d3;_0x580944>=0x0;_0x580944--)(_0x4b36d3=_0x5c2b40[_0x580944])&&(_0xbd4b09=_0x4b36d3(_0xbd4b09)||_0xbd4b09);return _0xbd4b09;},Ee=(_0x2b8c26,_0x52abc6)=>(_0xbc2e86,_0x474dfc)=>_0x52abc6(_0xbc2e86,_0x474dfc,_0x2b8c26);let we=class extends _0x324a08{constructor(_0x27a28b,_0x2a2f8a,_0x348a87){const _0x4a2fe8=_0x101f86;super(),_(this,'_cachedData',new Map()),_(this,_0x4a2fe8(0x3c8),new Map()),_(this,_0x4a2fe8(0x2cc),!0x1),(this[_0x4a2fe8(0x3df)]=_0x27a28b,this[_0x4a2fe8(0x340)]=_0x2a2f8a,this[_0x4a2fe8(0x365)]=_0x348a87);}['disableLocalCache'](){const _0x8d9edd=_0x101f86;this[_0x8d9edd(0x2cc)]=!0x0;}[_0x101f86(0x3d0)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x57d736=_0x101f86;return this[_0x57d736(0x3c8)];}[_0x101f86(0x3bd)](){const _0x199067=_0x101f86;this[_0x199067(0x285)]()[_0x199067(0x2ba)](()=>super[_0x199067(0x3bd)]());}async[_0x101f86(0x38a)](_0x7b3b0b){const _0x3567f5=_0x101f86;return this['_disabled']?null:this[_0x3567f5(0x340)][_0x3567f5(0x2cd)](_0x51d18a(_0x7b3b0b));}async[_0x101f86(0x218)](_0x3bccf5,_0xf2f323){const _0x2d4b9b=_0x101f86;return!!this[_0x2d4b9b(0x340)]['setItem'](_0x3bccf5,_0xf2f323);}[_0x101f86(0x2c1)](_0x561a61,_0x15d998,_0x3f4f85,_0x45cc5d){const _0x32cccb=_0x101f86,_0x9ed971=this[_0x32cccb(0x365)][_0x32cccb(0x231)](_0x561a61);this['_cachedData'][_0x32cccb(0x30d)](_0x561a61,{'unitID':_0x561a61,'type':_0x15d998,'awaitingChangeset':_0x3f4f85,'mutations':_0x45cc5d,'rev':_0x9ed971}),this[_0x32cccb(0x3c8)][_0x32cccb(0x203)](_0x561a61)||this[_0x32cccb(0x398)](_0x561a61);}['_scheduleSaving'](_0x43a5a1){const _0x4cc270=_0x101f86,_0x52600a=this['_getSaveTimeout']();_0x52600a===0x0?this['_saveCache'](_0x43a5a1):this[_0x4cc270(0x3c8)][_0x4cc270(0x30d)](_0x43a5a1,setTimeout(()=>this[_0x4cc270(0x1fc)](_0x43a5a1),_0x52600a));}[_0x101f86(0x3e2)](){const _0x311091=_0x101f86;var _0x22a88c;return(_0x22a88c=this[_0x311091(0x3df)][_0x311091(0x260)](_0x50675b))!=null?_0x22a88c:_0x42f131;}[_0x101f86(0x1fc)](_0x5cbea){const _0x45437a=_0x101f86,_0x2a274a=this[_0x45437a(0x3c8)][_0x45437a(0x3f6)](_0x5cbea);return _0x2a274a!==void 0x0&&window[_0x45437a(0x275)](_0x2a274a),this['_localStorageService'][_0x45437a(0x3c9)](_0x51d18a(_0x5cbea),this[_0x45437a(0x3a3)][_0x45437a(0x3f6)](_0x5cbea))[_0x45437a(0x2ba)](()=>this[_0x45437a(0x3c8)][_0x45437a(0x205)](_0x5cbea));}async[_0x101f86(0x285)](){const _0xd13ed8=_0x101f86,_0x150ef3=[];this[_0xd13ed8(0x3c8)][_0xd13ed8(0x3d2)]((_0x21567a,_0xcb40e2)=>{const _0x14fa7e=_0xd13ed8;window[_0x14fa7e(0x275)](_0x21567a),_0x150ef3['push'](this[_0x14fa7e(0x1fc)](_0xcb40e2)['then'](()=>{const _0x30329f=_0x14fa7e;this['_saveTaskMap'][_0x30329f(0x205)](_0xcb40e2);}));}),await Promise['all'](_0x150ef3);}};we=_n([Ee(0x0,_0x3b3383),Ee(0x1,_0xd7389c),Ee(0x2,_0x34cff7(_0x1c9c92))],we);class hn extends _0x3f842d{constructor(){const _0x3373b1=_0x101f86;super(),_(this,_0x3373b1(0x277)),this[_0x3373b1(0x277)]=_0x545677(window,_0x3373b1(0x281))['pipe'](_0x3c0312(this[_0x3373b1(0x3d9)]),_0x10e072(0x1),_0x1d178e(void 0x0));}[_0x101f86(0x2f7)](_0x6dfc4a,_0x4f8462,_0x4fe69d=!0x1){const _0x3244fb=_0x101f86,_0x198601=new URL(window[_0x3244fb(0x2df)][_0x3244fb(0x246)]);_0x198601['searchParams'][_0x3244fb(0x30d)](_0x6dfc4a,_0x4f8462),_0x4fe69d?window[_0x3244fb(0x3f9)][_0x3244fb(0x3ea)]('','',_0x198601['toString']()):window[_0x3244fb(0x3f9)][_0x3244fb(0x22e)]('','',_0x198601[_0x3244fb(0x270)]());}[_0x101f86(0x327)](_0x5ba237,_0x37f4f=!0x1){const _0x413027=_0x101f86,_0xd81eb2=new URL(window[_0x413027(0x2df)][_0x413027(0x246)]);_0xd81eb2[_0x413027(0x287)][_0x413027(0x205)](_0x5ba237),_0x37f4f?window[_0x413027(0x3f9)][_0x413027(0x3ea)]('','',_0xd81eb2[_0x413027(0x270)]()):window[_0x413027(0x3f9)][_0x413027(0x22e)]('','',_0xd81eb2['toString']());}[_0x101f86(0x32a)](_0xd25c5b){const _0x195fa0=_0x101f86;var _0xdd42cf;return(_0xdd42cf=new URL(window['location'][_0x195fa0(0x246)])[_0x195fa0(0x287)][_0x195fa0(0x3f6)](_0xd25c5b))!=null?_0xdd42cf:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x101f86(0x3de)],fn=(_0x4b95c9,_0x3a874f,_0x15e78f)=>_0x3a874f in _0x4b95c9?un(_0x4b95c9,_0x3a874f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x15e78f}):_0x4b95c9[_0x3a874f]=_0x15e78f,Sn=(_0x97ceff,_0x225b10,_0x45d192,_0x224004)=>{for(var _0x417e3b=_0x224004>0x1?void 0x0:_0x224004?dn(_0x225b10,_0x45d192):_0x225b10,_0x4c164f=_0x97ceff['length']-0x1,_0x4c2ab3;_0x4c164f>=0x0;_0x4c164f--)(_0x4c2ab3=_0x97ceff[_0x4c164f])&&(_0x417e3b=_0x4c2ab3(_0x417e3b)||_0x417e3b);return _0x417e3b;},Oe=(_0x4c41f7,_0x2d4ac8)=>(_0x16b18a,_0xc1a5dc)=>_0x2d4ac8(_0x16b18a,_0xc1a5dc,_0x4c41f7),mn=(_0x236c93,_0x7cfb84,_0x227eef)=>fn(_0x236c93,_0x7cfb84+'',_0x227eef);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x2cca4b{constructor(_0x420468=et,_0x1d2889,_0x1c628f,_0x2598b2){const _0x4266b6=_0x101f86;super(),this['_config']=_0x420468,this[_0x4266b6(0x237)]=_0x1d2889,this['_injector']=_0x1c628f,this[_0x4266b6(0x3df)]=_0x2598b2;const {..._0x1bc394}=_0xae2649({},et,this[_0x4266b6(0x32c)]);this[_0x4266b6(0x3df)][_0x4266b6(0x391)](Zi,_0x1bc394);}['onStarting'](){const _0x17f57f=_0x101f86;this[_0x17f57f(0x3d4)](),this[_0x17f57f(0x26d)]();}[_0x101f86(0x313)](){this['_registerRenderDependencies']();}[_0x101f86(0x3d4)](){const _0x5a6c92=_0x101f86;var _0x3f6429;const _0xfea518=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x403bdb,{'useClass':_0x250b42}],[_0x2314bb,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x4edf30(this[_0x5a6c92(0x3a6)],_0x44848b(_0xfea518,(_0x3f6429=this[_0x5a6c92(0x32c)])==null?void 0x0:_0x3f6429[_0x5a6c92(0x39a)]));}[_0x101f86(0x202)](){const _0x5860e4=_0x101f86;this[_0x5860e4(0x1f3)](this[_0x5860e4(0x237)][_0x5860e4(0x38c)](_0x397d61[_0x5860e4(0x29f)],[Le])),this[_0x5860e4(0x1f3)](this[_0x5860e4(0x237)][_0x5860e4(0x38c)](_0x397d61[_0x5860e4(0x299)],[Pe]));}[_0x101f86(0x26d)](){const _0x353c74=_0x101f86;_0x7b0177(this[_0x353c74(0x3a6)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x101f86(0x2b0),In),Ae=Sn([_0x1a14e1(_0x41bcba),Oe(0x1,_0x26b7f1),Oe(0x2,_0x34cff7(_0x3ee074)),Oe(0x3,_0x3b3383)],Ae);var gn=Object[_0x101f86(0x3de)],vn=(_0x5b3cb9,_0x40a15b,_0x2692b6,_0x1a11eb)=>{for(var _0x2ce140=_0x1a11eb>0x1?void 0x0:_0x1a11eb?gn(_0x40a15b,_0x2692b6):_0x40a15b,_0x990f96=_0x5b3cb9['length']-0x1,_0x10a925;_0x990f96>=0x0;_0x990f96--)(_0x10a925=_0x5b3cb9[_0x990f96])&&(_0x2ce140=_0x10a925(_0x2ce140)||_0x2ce140);return _0x2ce140;},K=(_0x186276,_0x3b8dd6)=>(_0x17e208,_0x52dbf8)=>_0x3b8dd6(_0x17e208,_0x52dbf8,_0x186276);let st=class extends _0x56a2e3{constructor(_0x13287b,_0x313218,_0x47fad3,_0x101735,_0x1c32a9){super(_0x13287b,_0x313218,_0x47fad3,_0x101735,_0x1c32a9);}async['createSocket'](_0x1ec2fa){const _0x51d423=_0x101f86,_0x3d044e=await this[_0x51d423(0x3d7)](),_0x50a30b=this[_0x51d423(0x289)](_0x1ec2fa,_0x3d044e);return this[_0x51d423(0x3e6)](_0x50a30b);}[_0x101f86(0x289)](_0x54b05d,_0x5ba9c1){const _0x3573ef=_0x101f86,_0x338b7e=typeof window>'u'?new URL(_0x54b05d):new URL(_0x54b05d,window['location'][_0x3573ef(0x26e)]);_0x338b7e[_0x3573ef(0x287)][_0x3573ef(0x30d)](_0x3573ef(0x3a9),_0x5ba9c1);const _0xb034bb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3573ef(0x2df)][_0x3573ef(0x328)]);return _0xb034bb[_0x3573ef(0x3f6)](_0x3573ef(0x295))&&_0x338b7e[_0x3573ef(0x287)][_0x3573ef(0x30d)](_0x3573ef(0x295),_0xb034bb[_0x3573ef(0x3f6)]('runId')),_0x338b7e[_0x3573ef(0x270)]();}async['_getSessionTicket'](){const _0x47b268=_0x101f86;var _0x1313e8,_0x504af6,_0x4b0a72;const _0x391c6d=this[_0x47b268(0x3df)][_0x47b268(0x260)](_0x419809),_0x479582=(_0x1313e8=_0x391c6d==null?void 0x0:_0x391c6d[_0x47b268(0x2aa)])!=null?_0x1313e8:_0x408862;return(_0x4b0a72=(_0x504af6=(await this[_0x47b268(0x234)][_0x47b268(0x3f6)](_0x479582,{'headers':{'Content-Type':_0x47b268(0x1fe)}}))[_0x47b268(0x315)])==null?void 0x0:_0x504af6[_0x47b268(0x37f)])!=null?_0x4b0a72:'';}};st=vn([K(0x0,_0x34cff7(_0x3ee074)),K(0x1,_0x34cff7(_0x2c3250)),K(0x2,_0x3b3383),K(0x3,_0x11a93e),K(0x4,_0x47fb32)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class Fn extends _0x324a08{constructor(){const _0x3555ff=_0x101f86;super(),_(this,'_id',_0xa3398a()),_(this,_0x3555ff(0x31d),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x3555ff(0x306),null),_(this,_0x3555ff(0x28c),new Map()),_(this,_0x3555ff(0x245),new Map()),this[_0x3555ff(0x292)]();}[_0x101f86(0x3bd)](){const _0x2544e1=_0x101f86;super[_0x2544e1(0x3bd)](),this[_0x2544e1(0x28c)][_0x2544e1(0x3d2)]((_0x4f1ea3,_0x9e2b5)=>this[_0x2544e1(0x3b2)](_0x9e2b5)),this[_0x2544e1(0x306)]&&window[_0x2544e1(0x23d)](this['_heartbeatTimer']);}[_0x101f86(0x39d)](_0x405681){const _0xbf8d8d=_0x101f86;return this[_0xbf8d8d(0x378)](_0x405681)[_0xbf8d8d(0x2ce)](_0x28bef9());}[_0x101f86(0x2ad)](_0x5d02ee){const _0x80274b=_0x101f86;this[_0x80274b(0x31d)][_0x80274b(0x26a)]===0x0&&this[_0x80274b(0x2c9)](),this[_0x80274b(0x31d)][_0x80274b(0x3d8)](_0x5d02ee),this[_0x80274b(0x395)]({'type':0x0,'memberID':this[_0x80274b(0x25a)],'unitIDs':[_0x5d02ee],'isForwarded':!0x1});}['disposeUnit'](_0x54113e){const _0x11c252=_0x101f86;this['_selfUnitIDs'][_0x11c252(0x205)](_0x54113e),this[_0x11c252(0x31d)][_0x11c252(0x26a)]===0x0&&this['_heartbeatTimer']&&window[_0x11c252(0x23d)](this[_0x11c252(0x306)]);}['_init'](){const _0x7276d5=_0x101f86;this[_0x7276d5(0x1f3)](_0x9ad226(_0x545677(window,_0x7276d5(0x32e))[_0x7276d5(0x280)](_0x20332d=>{const _0x548b51=_0x7276d5;if(_0x20332d['key']!==nt||!_0x20332d['newValue'])return;const _0x209b7c=JSON['parse'](_0x20332d['newValue']);this[_0x548b51(0x3dc)](_0x209b7c);}))),window[_0x7276d5(0x33c)](_0x7276d5(0x2f5),()=>this[_0x7276d5(0x395)]({'type':0x1,'memberID':this[_0x7276d5(0x25a)],'unitIDs':Array[_0x7276d5(0x36e)](this[_0x7276d5(0x31d)])}));}[_0x101f86(0x3dc)](_0x421fd1){const _0x28644f=_0x101f86;switch(_0x421fd1[_0x28644f(0x214)]){case 0x0:this[_0x28644f(0x356)](_0x421fd1);break;case 0x1:this[_0x28644f(0x371)](_0x421fd1);break;case 0x2:this[_0x28644f(0x3b7)](_0x421fd1);break;}}[_0x101f86(0x356)](_0x5c6445){const _0x5532e5=_0x101f86,{unitIDs:_0x47fe15,memberID:_0x40f164,isForwarded:_0x2ef4a9}=_0x5c6445;_0x47fe15['forEach'](_0x3c34b8=>{const _0x2f256f=_0x1997;if(!_0x2ef4a9&&this['_unitOnClients'][_0x2f256f(0x203)](_0x3c34b8)&&this[_0x2f256f(0x378)](_0x3c34b8)[_0x2f256f(0x20d)](_0x2ade04[_0x2f256f(0x258)]),!this[_0x2f256f(0x3b4)][_0x2f256f(0x203)](_0x3c34b8)||!this[_0x2f256f(0x3b4)][_0x2f256f(0x3f6)](_0x3c34b8)['has'](_0x40f164)){const _0x440c10=this[_0x2f256f(0x3b4)][_0x2f256f(0x3f6)](_0x3c34b8)||new Set();_0x440c10[_0x2f256f(0x3d8)](_0x40f164),this[_0x2f256f(0x3b4)][_0x2f256f(0x30d)](_0x3c34b8,_0x440c10),this['_scheduleClearOtherTimer'](_0x40f164);}}),_0x2ef4a9||this[_0x5532e5(0x395)]({'type':0x0,'memberID':this[_0x5532e5(0x25a)],'unitIDs':[...this[_0x5532e5(0x31d)]],'isForwarded':!0x0});}[_0x101f86(0x3f7)](_0x2b9ff1){const _0x4d79a5=_0x101f86;this['_removeClearOtherTimer'](_0x2b9ff1);const _0x58ae0d=window[_0x4d79a5(0x2e3)](()=>{const _0x26ac36=_0x4d79a5;this[_0x26ac36(0x3b4)][_0x26ac36(0x3d2)](_0x5beb43=>{const _0x37351e=_0x26ac36;_0x5beb43[_0x37351e(0x205)](_0x2b9ff1);});},it*0x2);this[_0x4d79a5(0x28c)]['set'](_0x2b9ff1,_0x58ae0d);}[_0x101f86(0x3b2)](_0x3b1d19){const _0x493f70=_0x101f86;if(this[_0x493f70(0x28c)]['has'](_0x3b1d19)){const _0x15d30e=this[_0x493f70(0x28c)][_0x493f70(0x3f6)](_0x3b1d19);_0x15d30e&&window[_0x493f70(0x275)](_0x15d30e),this[_0x493f70(0x28c)][_0x493f70(0x30d)](_0x3b1d19,null);}}['_handleLeaveEvent'](_0x493081){const _0x14be22=_0x101f86,{memberID:_0x465e94,unitIDs:_0x318788}=_0x493081;_0x318788['forEach'](_0x3833c3=>{const _0x158751=_0x1997;var _0x3465cd;const _0x2d207e=this['_unitOnClients'][_0x158751(0x3f6)](_0x3833c3);_0x2d207e&&(_0x2d207e[_0x158751(0x205)](_0x465e94),(_0x3465cd=this[_0x158751(0x378)](_0x3833c3))==null||_0x3465cd[_0x158751(0x20d)](_0x2d207e[_0x158751(0x26a)]===0x0?_0x2ade04['NO_OTHER_CLIENTS_EDITING']:_0x2ade04[_0x158751(0x258)]));}),this[_0x14be22(0x3b2)](_0x465e94);}[_0x101f86(0x3b7)](_0x433e8c){const _0x14aaaa=_0x101f86;this['_scheduleClearOtherTimer'](_0x433e8c[_0x14aaaa(0x3f8)]);}[_0x101f86(0x395)](_0x27eed1){const _0x59286b=_0x101f86;localStorage['setItem'](nt,JSON[_0x59286b(0x2fe)](_0x27eed1));}[_0x101f86(0x2c9)](){const _0xe53b8a=_0x101f86;this['_heartbeatTimer']=window[_0xe53b8a(0x298)](()=>{const _0x1589d8=_0xe53b8a;this['_send']({'type':0x2,'memberID':this[_0x1589d8(0x25a)]});},it);}[_0x101f86(0x378)](_0x22ca1a){const _0xc28502=_0x101f86;return this[_0xc28502(0x245)][_0xc28502(0x203)](_0x22ca1a)||this[_0xc28502(0x245)]['set'](_0x22ca1a,new _0x5b1f34(_0x2ade04[_0xc28502(0x22b)])),this[_0xc28502(0x245)][_0xc28502(0x3f6)](_0x22ca1a);}}var Mt=(_0x5ca975=>(_0x5ca975[_0x5ca975['UNDEFINED']=0x0]=_0x101f86(0x397),_0x5ca975[_0x5ca975['OK']=0x1]='OK',_0x5ca975[_0x5ca975[_0x101f86(0x303)]=0x2]=_0x101f86(0x303),_0x5ca975[_0x5ca975[_0x101f86(0x24c)]=0x3]=_0x101f86(0x24c),_0x5ca975[_0x5ca975[_0x101f86(0x346)]=0x4]=_0x101f86(0x346),_0x5ca975[_0x5ca975[_0x101f86(0x239)]=0x5]=_0x101f86(0x239),_0x5ca975[_0x5ca975['ALREADY_EXISTS']=0x6]=_0x101f86(0x2fa),_0x5ca975[_0x5ca975['INVALID_ARGUMENT']=0x7]=_0x101f86(0x393),_0x5ca975[_0x5ca975[_0x101f86(0x3b0)]=0x8]='TOO_MANY_REQUESTS',_0x5ca975[_0x5ca975[_0x101f86(0x278)]=0x9]=_0x101f86(0x278),_0x5ca975[_0x5ca975[_0x101f86(0x276)]=0xa]=_0x101f86(0x276),_0x5ca975[_0x5ca975['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5ca975[_0x5ca975[_0x101f86(0x2c5)]=0xc]=_0x101f86(0x2c5),_0x5ca975[_0x5ca975[_0x101f86(0x20e)]=0xd]=_0x101f86(0x20e),_0x5ca975[_0x5ca975[_0x101f86(0x3c2)]=0xe]=_0x101f86(0x3c2),_0x5ca975[_0x5ca975[_0x101f86(0x2ed)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5ca975[_0x5ca975[_0x101f86(0x31c)]=0x1771]=_0x101f86(0x31c),_0x5ca975[_0x5ca975[_0x101f86(0x2bd)]=0x1772]=_0x101f86(0x2bd),_0x5ca975[_0x5ca975[_0x101f86(0x34b)]=0x1773]=_0x101f86(0x34b),_0x5ca975[_0x5ca975[_0x101f86(0x1fa)]=0x1b59]=_0x101f86(0x1fa),_0x5ca975[_0x5ca975['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x101f86(0x344),_0x5ca975[_0x5ca975[_0x101f86(0x383)]=0x1b5b]=_0x101f86(0x383),_0x5ca975[_0x5ca975['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x101f86(0x2ae),_0x5ca975[_0x5ca975[_0x101f86(0x2e7)]=0x1b5d]='APPLY_DUPLICATED',_0x5ca975[_0x5ca975[_0x101f86(0x389)]=0x1f41]=_0x101f86(0x389),_0x5ca975[_0x5ca975[_0x101f86(0x3c7)]=0x2329]=_0x101f86(0x3c7),_0x5ca975[_0x5ca975['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x101f86(0x3ad),_0x5ca975[_0x5ca975[_0x101f86(0x3bf)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5ca975[_0x5ca975[_0x101f86(0x20b)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5ca975[_0x5ca975[_0x101f86(0x34c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5ca975[_0x5ca975[_0x101f86(0x3a7)]=0x2711]=_0x101f86(0x3a7),_0x5ca975[_0x5ca975[_0x101f86(0x257)]=0x2712]=_0x101f86(0x257),_0x5ca975[_0x5ca975[_0x101f86(0x3ec)]=0x2713]=_0x101f86(0x3ec),_0x5ca975[_0x5ca975[_0x101f86(0x30c)]=0x2714]=_0x101f86(0x30c),_0x5ca975[_0x5ca975[_0x101f86(0x32d)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x5ca975[_0x5ca975[_0x101f86(0x25c)]=0x271b]=_0x101f86(0x25c),_0x5ca975[_0x5ca975['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x101f86(0x264),_0x5ca975[_0x5ca975[_0x101f86(0x316)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5ca975[_0x5ca975['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5ca975[_0x5ca975['YUUMI_AI_RUN_FAILED']=0x271f]=_0x101f86(0x3b3),_0x5ca975[_0x5ca975['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x101f86(0x360),_0x5ca975[_0x5ca975[_0x101f86(0x2d1)]=0x2af9]=_0x101f86(0x2d1),_0x5ca975[_0x5ca975['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x101f86(0x283),_0x5ca975[_0x5ca975[_0x101f86(0x224)]=0x2ee2]=_0x101f86(0x224),_0x5ca975[_0x5ca975[_0x101f86(0x3cb)]=0x2ee3]=_0x101f86(0x3cb),_0x5ca975[_0x5ca975[_0x101f86(0x2a4)]=0x2ee4]=_0x101f86(0x2a4),_0x5ca975[_0x5ca975[_0x101f86(0x2cf)]=0x2ee5]=_0x101f86(0x2cf),_0x5ca975[_0x5ca975[_0x101f86(0x271)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5ca975[_0x5ca975[_0x101f86(0x233)]=0x32ca]=_0x101f86(0x233),_0x5ca975[_0x5ca975['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x101f86(0x1f8),_0x5ca975[_0x5ca975[_0x101f86(0x21b)]=-0x1]=_0x101f86(0x21b),_0x5ca975))(Mt||{}),pn=Object[_0x101f86(0x3de)],Cn=(_0x1b5ca5,_0x300b8c,_0x313f13,_0x30c65b)=>{const _0x349bbf=_0x101f86;for(var _0xf163f4=_0x30c65b>0x1?void 0x0:_0x30c65b?pn(_0x300b8c,_0x313f13):_0x300b8c,_0x38417e=_0x1b5ca5[_0x349bbf(0x309)]-0x1,_0x27376e;_0x38417e>=0x0;_0x38417e--)(_0x27376e=_0x1b5ca5[_0x38417e])&&(_0xf163f4=_0x27376e(_0xf163f4)||_0xf163f4);return _0xf163f4;},be=(_0x27ea2e,_0x10ae64)=>(_0x298531,_0x25f7a5)=>_0x10ae64(_0x298531,_0x25f7a5,_0x27ea2e);let rt=class extends _0x324a08{constructor(_0x208509,_0x103a0e,_0x47dd71){const _0x36002c=_0x101f86;super(),this[_0x36002c(0x26f)]=_0x208509,this['_httpService']=_0x103a0e,this[_0x36002c(0x3df)]=_0x47dd71;}async[_0x101f86(0x2cb)](_0x4715ac,_0x596270,_0x4e7ff7,..._0x37c976){const _0x2baec4=_0x101f86;var _0x575018,_0x3a1cdc,_0x158b2a,_0x20ef93;const _0x3a0582=this['_instanceService'][_0x2baec4(0x3e9)]();if(!_0x3a0582)throw new Error(_0x2baec4(0x215));const _0xe15e47=((_0x575018=this[_0x2baec4(0x3df)][_0x2baec4(0x260)](_0x25263f))!=null?_0x575018:_0x51cc9b)+'/'+_0x4715ac+_0x2baec4(0x2c2)+_0x596270,_0x5c08a6=new URL(window[_0x2baec4(0x2df)]['href']),_0x28fe32={'scriptId':_0x4715ac,'runId':(_0x3a1cdc=_0x5c08a6[_0x2baec4(0x287)][_0x2baec4(0x3f6)](_0x2baec4(0x295)))!=null?_0x3a1cdc:'','function':_0x596270,'unitId':_0x3a0582[_0x2baec4(0x370)](),'argsOfFunction':JSON['stringify'](_0x37c976),'invokeId':(_0x158b2a=_0x4e7ff7[_0x2baec4(0x386)])!=null?_0x158b2a:'','executionId':(_0x20ef93=_0x4e7ff7[_0x2baec4(0x228)])!=null?_0x20ef93:''};try{const _0x790c7e=await this['_httpService'][_0x2baec4(0x3dd)](_0xe15e47,{'body':_0x28fe32});return _0x790c7e[_0x2baec4(0x315)][_0x2baec4(0x32f)]&&_0x790c7e['body']['error'][_0x2baec4(0x380)]!==Mt['OK']?_0x2baec4(0x2eb):_0x790c7e['body']['result'];}catch{return _0x2baec4(0x2eb);}}};rt=Cn([be(0x0,_0x1f7c59),be(0x1,_0x34cff7(_0x2c3250)),be(0x2,_0x3b3383)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x5b4efa=_0x3518;(function(_0x2b4e24,_0x4a54d5){const _0xf92779=_0x3518,_0x4bdd20=_0x2b4e24();while(!![]){try{const _0x5acf14=-parseInt(_0xf92779(0x2fb))/0x1*(parseInt(_0xf92779(0x31a))/0x2)+parseInt(_0xf92779(0x2e8))/0x3*(-parseInt(_0xf92779(0x21d))/0x4)+-parseInt(_0xf92779(0x22e))/0x5+parseInt(_0xf92779(0x2fa))/0x6*(parseInt(_0xf92779(0x21f))/0x7)+parseInt(_0xf92779(0x2b5))/0x8+parseInt(_0xf92779(0x1a6))/0x9*(-parseInt(_0xf92779(0x365))/0xa)+parseInt(_0xf92779(0x1d7))/0xb;if(_0x5acf14===_0x4a54d5)break;else _0x4bdd20['push'](_0x4bdd20['shift']());}catch(_0x4d4dd6){_0x4bdd20['push'](_0x4bdd20['shift']());}}}(_0x3579,0x82305));var $t=Object[_0x5b4efa(0x34b)],xt=(_0x529035,_0x27c7f8,_0x8f79ff)=>_0x27c7f8 in _0x529035?$t(_0x529035,_0x27c7f8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x8f79ff}):_0x529035[_0x27c7f8]=_0x8f79ff,_=(_0x336db2,_0x71c694,_0x46e9fe)=>xt(_0x336db2,typeof _0x71c694!=_0x5b4efa(0x21e)?_0x71c694+'':_0x71c694,_0x46e9fe);import{MemberService as _0x24a34a,SessionStatus as _0x2d3788,CollaborationSessionService as _0x266dab,CollaborationStatus as _0x5152ea,CollaborationController as _0x408cc6,ILocalCacheService as _0x277322,CollaborationUIEventService as _0x1fe7b1,CollaborationUIEventId as _0x1eb493,DataLoaderService as _0x1465dc,DocCollaborationEntity as _0x309fe9,getLocalCacheKey as _0x2c338a,LOCAL_CACHE_INTERVAL as _0x356154,LOCAL_CACHE_INTERVAL_KEY as _0xf066de,UniverCollaborationClientPlugin as _0x3c18dc,CollaborationSocketService as _0x472bc4,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4c11aa,DEFAULT_WS_SESSION_TICKET_URL as _0x21d4af,UnitStatus as _0x112e1e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x31621f,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x733df}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x38ba1e,Disposable as _0x3449ee,DOC_RANGE_TYPE as _0x2a664c,Inject as _0x17f821,Injector as _0x1bdaf6,IUniverInstanceService as _0x166042,ICommandService as _0xb833f6,debounce as _0x1fb937,Rectangle as _0x44d08e,DisposableCollection as _0x5efb6b,toDisposable as _0x4e32ae,UniverInstanceType as _0x3860d6,Tools as _0x9af4da,COLORS as _0x55a633,ColorKit as _0x454f31,ThemeService as _0x2a5222,fromEventSubject as _0x5a2964,LocaleService as _0x144e47,createIdentifier as _0x5c862b,ILogService as _0x41ac4f,Optional as _0x2b45e6,Workbook as _0x32759e,CommandType as _0x5a7480,IConfigService as _0x556e6e,ILocalStorageService as _0x28ad72,DependentOn as _0x72a35,Plugin as _0x4d70f5,merge as _0x40ceb4,registerDependencies as _0x492771,mergeOverrideWithDependencies as _0x1ef9b1,touchDependencies as _0x48e288,generateRandomId as _0x27c680}from'@univerjs/core';import{Shape as _0x4b1f28,Rect as _0x2a533f,getColor as _0x5b1dc2,RegularPolygon as _0x12525e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x69d07d,Vector2 as _0x3bc027,SHEET_VIEWPORT_KEY as _0x3b852c,IRenderManagerService as _0x9df613}from'@univerjs/engine-render';import{ISocketService as _0x195750,WebSocketService as _0x2ff5db,HTTPService as _0x5817a5}from'@univerjs/network';import{IDocClipboardService as _0x29fb8a,NodePositionConvertToCursor as _0x19d055,NodePositionConvertToRectRange as _0xb7c07,TEXT_RANGE_LAYER_INDEX as _0x4e0af9,SetDocZoomRatioOperation as _0x5d1cf9,DocIMEInputManagerService as _0x328532,DocStateChangeManagerService as _0x1911b2}from'@univerjs/docs-ui';import{IImageIoService as _0xf6389b}from'@univerjs/drawing';import{BehaviorSubject as _0x4f34ea,debounceTime as _0x4f838c,takeUntil as _0x40f407,Subject as _0x5f2ef2,filter as _0x137306,switchMap as _0x542af7,merge as _0x4af1ba,combineLatest as _0x214175,of as _0x47a53c,fromEvent as _0x15f7b3,shareReplay as _0x3b7abc,mapTo as _0x13995b,distinctUntilChanged as _0x2f7c21}from'rxjs';import{ITransformService as _0x220695,CollaborationEvent as _0x180ebc,isTransformMutationFailure as _0x1985d5,isTransformMutationsWithChangesetSuccess as _0x196989,RevisionService as _0x383424,ISnapshotServerService as _0x26c83c}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x2cddaf,RichTextEditingMutation as _0x20931f,DocSelectionManagerService as _0x98b222,DocSkeletonManagerService as _0x5a7f44}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x1a2468,serializeRangeWithSheet as _0x1bcb36}from'@univerjs/engine-formula';import{RefRangeService as _0x4ea11f,SetSelectionsOperation as _0x29afb5,SheetsSelectionsService as _0x53ed4d,EffectRefRangId as _0x1e58f9,handleIRemoveRow as _0x4df2f6,handleIRemoveCol as _0x1aec89,handleMoveRange as _0x5dd931,handleInsertRow as _0x569859,handleInsertRangeMoveRight as _0x3d227c,handleInsertRangeMoveDown as _0x49fc0f,handleInsertCol as _0x329a9c,handleDeleteRangeMoveUp as _0x35006c,handleDeleteRangeMoveLeft as _0x4efd28,runRefRangeMutations as _0x1630e4,SetWorksheetActivateCommand as _0x31db9e}from'@univerjs/sheets';import{map as _0x5c459e,filter as _0x482697,throttleTime as _0x513ffd,takeUntil as _0x46ab32,switchMap as _0x4e5146}from'rxjs/operators';import{SheetSkeletonManagerService as _0x1da1db,getCoordByCell as _0x1805fb,getSheetObject as _0x486981}from'@univerjs/sheets-ui';function _0x3579(){const _0x2bc9aa=['_updateLocalCursor','length','onPointerMove$','NO_OTHER_CLIENTS_EDITING','undoState','imageSourceType','pushState','_transformHistoryAndStateStack','getSkeleton','post','roomMembers','getRenderById','url(#$1','_textBubble','pluginName','getCurrent','_online','url(#off-line-icon_clip0_910_343)','onPointerLeave$','INVITE_CODE_HAS_BEEN_UES','dispose$','collaboration.closeRoom','hovered','WECHAT_HAS_BEEN_BOUND','UPDATE_CURSOR','RECT','MUTATION','requireSession','#FFF','LICENSE_MAX_UNITS_EXCEEDED','_cursorInfo$','[CollaborationDataLoaderController]','clearInterval','YUUMI_SUBSCRIPTION_NOT_FOUND','map','height','_uiPartsService','SUBMIT_CHANGESET_TIMEOUT','asObservable','InsertRowCommandId','UNIVER_DOC','_initEntityListener','type','invokeId','setTimeout','INTERNAL_ERROR','loadUnit','transformMutation','width','_unitOnClients','newValue','makeDirty','_httpService','_collabCursorController','_initStatusComponent','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','measureText','result','_docClipboardService','getMergeData','white','UNDEFINED','_color','univer-flex\x20univer-items-center','mutations','_revisionService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','on-line-icon_clip0_910_349','displayName','resize','_labelPosition','_initResize','next','syncEditingCollabCursor','generateRandomId','_transformUndoRedoStack','_collabSessionService','icon','_removeClearOtherTimer','1em','FromArray','2743872proiZv','eventID','_drawTextRange','event$','init','getActiveSheet','_range','flatMap','toRgbString','row','fillText','_config','location','clipPath','EMAIL_VERIFY_CODE_MISMATCH','setAlpha','_drawRectRange','color','getSheetId','ONLINE','uni.network.url-service','INVITE_CODE_ALREADY_BOUND','beginPath','rgba(255,\x20255,\x20255,\x200.01)','_cachedData','get','InsertColCommandId','AWAITING_WITH_PENDING','attrs','evenodd','getUnhiddenWorksheets','push','_refRangeService','round','getViewport','trim','_imageIoService','activeSheet$','createInstance','selection','endRow','wsSessionTicketUrl','INVITE_CODE_REQUIRED','path','_scheduleClearOtherTimer','dispose','collab-rect-range-','fill','status$','_toggleOffline','application/json','2742702jRZQmV','name','_startDocCollabCursor','_ensureSubject','sessionStatus$','OnLineIcon','SOCKET_FAILED_RETRY','getStateCache','INVALID_ARGUMENT','roomMembers$','transformStateCache','onPointerEnter$','onRendered','_dataLoaderService','YUUMI_ASYNCIO_CANCELLED','APPLY_NON_SEQUENTIAL_REVISION','isArray','colorChannel1','1634394shgjVJ','5267tbqNKm','getSheetBySheetId','_beforeCloseService','xlink:href','transformMutationsWithChangeset','className','moveTo','LICENSE_DISTRO_REJECTED','some','getColorFromTheme','_backgroundColor','AWAITING','_handleJoinEvent','_getAnchorBounding','enableLocalCache','getMember','getCurrentSelections','getConfig','getRangePointData','_transformService','values','delete','Failed','size','CHANGESET_REVISION_CONFILICT','PY_RUNTIME_SCRIPT_ERROR','_anchor','Unknown\x20user','history','subUnitId','from','318OhrDvt','getCurrentRevOfUnit','all','YUUMI_CONNECTOR_URL_NOT_FOUND','urlChange$','registerRenderModule','setItem','purple.300','_hovered','DeleteRangeMoveUpCommandId','random','_getSaveTimeout','assignAColorForMemberID','_saveTaskMap','currentTheme$','NOT_COLLAB','top','m2Prime','textRanges','yellow.400','EMAIL_HAS_BEEN_BOUND','OTHER_CLIENTS_EDITING','_createSocketURL','toString','backgroundColor','getUnitStatus$','forEach','split','debug','cursorInfo','key','LICENSE_IMPORT_SIZE_EXCEEDED','onCommandExecuted','UniverIcon','indexOf','arc','_cursor','disposeWithMe','TEXT','APPLY_PERMISSION_DENIED','getUndoRedoMutationParamsCache','substring','text','drawWith','_sheetSkeletonManagerService','closePath','_context','_hideTimer','off-line-icon','defineProperty','getVpScrollXYInfoByPosToVp','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','collabStatus.synced','_themeService','USER_NOT_INVITED_CODE','unitId','currentColor','addHandlerCallback','children','FETCH_MISS','unit','_docStateChangeManagerService','NOT_FOUND','range','unitID','_updateCollabCursors','_roomMembers$','_notificationService','executeCommand','jiqing.500','m1Prime','_cursors','_clearOtherTimers','getCurrentUnitForType','_toggleOnline','41480WkjHIc','getOwnPropertySymbols','permission.content','UNAUTHENTICATED','_docTransformIMECacheService','_onCursorDelete','COMPLETION_FINISHED','hide','getTypeOfUnitDisposed$','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','VIEW_MAIN','exhaustSavingTask','column','_transformPreviousActiveRange','_updateSubUnitFromURLParams','sheetId','_unitStatus','_entities','MoveRangeCommandId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_draw','min','_lastPointer','_scheduleSaving','_docTransformSelectionsService','_doCreateSocket','_selfUnitIDs','code','collaboration-client.offline-data-not-saved','startRow','subunit','_refreshCollabCursors','OTHER_CLIENT_EDITING','override','defIds','call','_init','getUnitId','_scheduleHeartbeat','session.collaboration-timeout','fillRule','replace','APPLY_REVISION_CONFILICT','LICENSE_EXPORT_SIZE_EXCEEDED','_onRefRangeChange','ALREADY_EXISTS','_initDependencies','editingUnit','onMouseMove','whenReady','subscribeEvent','getAncestorScale','_hover','saveTaskMap','_localeService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CONFLICT','collabStatus.offline','div','PERMISSION_DENIED','docStateChange$','getParam','_urlService','_handleEvent','set','InsertRangeMoveDownCommandId','_setupSubUnitSync','source','replaceState','_messageService','_id','extend','createSocket','complete','collabCursorState$','1602oNgYBT','_docSkeletonManagerService','lineTo','setShapeProps','_handleLeaveEvent','_saveCache','_collabCursorState$','_getSessionTicket','_commandService','params','YUUMI_RATE_OVER_LIMIT','getDocRanges','transform','startsWith','_scene','pipe','_docTransformStateCacheService','unload','_registerDependencies','addObject','collabStatus.notCollab','_assignedColors','DeleteRangeMoveLeftCommandId','_entityInit$','setUndoRedoMutationParamsCache','tag','function','_disabled','assign','_getScale','_heartbeatTimer','runId','red.300','APPLY_DUPLICATED','_handleHover','APPLY_REJECT','replaceDocRanges','InsertRangeMoveRightCommandId','_send','univer-mr-2\x20univer-flex\x20univer-text-xl','has','getFocusedUnit','_docSyncEditingCollabCursorService','_setupBeforeClosingHandler','_anchorDot','error','collab-text-anchor-','onTransformChange$','getItem','32205899NKKTPz','_logService','_colorIndex','max','_cursorShapes','updateOfflineData','blue.400','transformIMECache','_session','YUUMI_ALL_TABLES_IS_INVALID','_syncEditingCollabCursorService','Error','getValue','defs','isActive','_status$','_localStorageService','_updateURLWithCurrentState','setInterval','unsubscribe','doc.mutation.rich-text-editing','entries','YUUMI_NO_CUBOID_FOR_QUESTION','SYNCED','collaboration-client-ui.config','searchParams','findNodePositionByCharIndex','getCellPositionByOffset','_onCursorUpdate','concat','restore','then','body','transformRemoteChangeset','HEADER_MENU','string','_initStatusListener','LOGIN_FAILED','cursorInfo$','YUUMI_AI_RUN_FAILED','send','deepClone','onLocalMutation','save','popstate','isEditing','OFFLINE','getMemberID','ranges','selections','add','addObjects','MOBILE_VERIFY_CODE_MISMATCH','CONNECTOR_DATA_TOO_LARGE','ACTIVE_UNIT_EVENT_CHANNEL','_handleHeartbeatEvent','removeParam','triggerDblclick','_removeCollabCursors','executionId','...','idSuffix','prototype','_renderManagerService','green.600','show','_registerRenderDependencies','_shapes','origin','YUUMI_UNABLE_LOAD_URL','4TRirba','symbol','21GwAoSD','saveOfflineData','storage','fillStyle','registerComponent','UNRECOGNIZED','currentSkeleton$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collab-text-range-','focused$','svg','with','_render','session.will-retry','getActiveRange','5323530omtGmb','sheetID','RemoveRowCommandId','onStarting','stringify','_initEvent','ticket','redoState','labelPosition','href','registerRefRange','_instanceService','_getSheetObject','YUUMI_URL_COL_OUT_OF_RANGE','_collaborationController','getOwnPropertyDescriptor','_memberService','collaboration.single-unit.warning','_collaborationUIEventService','setParam','setActiveRange','getRelativeToViewportCoord','subscribe','_eventUnsubscribe','collabStatus.syncing','_name','_startSheetCollabCursor','black','memberID','data','session.connection-failed','getTypeOfUnitAdded$','_configService','reconnect','includes','transformByState','M0\x200H16V16H0z','_drawAnchor','_univerInstanceService','RemoveColCommandId','USERS_LEAVE','UNIVER_SHEET','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SNAPSHOT_HAS_BEEN_REMOVED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_initCommandExecutedListener','off-line-icon_clip0_910_343','_colorAssignService','unshift','http://www.w3.org/2000/svg','_injector','current','addClipboardHook','Warning'];_0x3579=function(){return _0x2bc9aa;};return _0x3579();}import{jsx as _0x2b3c94,jsxs as _0x18f578}from'react/jsx-runtime';import{useObservable as _0x49029c,useDependency as _0x188343,IUIPartsService as _0xa159a1,BuiltInUIPart as _0x29a40d,connectInjector as _0x3c5ef4,IBeforeCloseService as _0x203a64,IMessageService as _0x3e5e5c,INotificationService as _0x427272}from'@univerjs/ui';import{Tooltip as _0x184e3c,clsx as _0x5653b9,MessageType as _0x21a0d4}from'@univerjs/design';import{forwardRef as _0x1df6b8,useRef as _0x5c48e3,createElement as _0x12f687,useCallback as _0x2efa88}from'react';import{IRemoteInstanceService as _0x55556f}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x3c5625,_0x70f817,_0x174628,_0x2a1131)=>{for(var _0x2c71d2=_0x2a1131>0x1?void 0x0:_0x2a1131?ci(_0x70f817,_0x174628):_0x70f817,_0xc0d6a6=_0x3c5625['length']-0x1,_0x2793c8;_0xc0d6a6>=0x0;_0xc0d6a6--)(_0x2793c8=_0x3c5625[_0xc0d6a6])&&(_0x2c71d2=_0x2793c8(_0x2c71d2)||_0x2c71d2);return _0x2c71d2;},Je=(_0x55830f,_0x13ad52)=>(_0x3e3f31,_0x380df2)=>_0x13ad52(_0x3e3f31,_0x380df2,_0x55830f);let Ne=class extends _0x38ba1e{constructor(_0x56b260,_0x29da77){const _0x4384c5=_0x5b4efa;super(),this[_0x4384c5(0x29e)]=_0x56b260,this[_0x4384c5(0x2d9)]=_0x29da77,this[_0x4384c5(0x17f)]();}[_0x5b4efa(0x17f)](){const _0x16696b=_0x5b4efa,_0xdc8f48=this;this[_0x16696b(0x33f)](this[_0x16696b(0x29e)][_0x16696b(0x262)]({'onBeforePasteImage':async _0x243a3e=>{const _0x193da1=_0x16696b,_0x1c0988=await _0xdc8f48[_0x193da1(0x2d9)]['saveImage'](_0x243a3e);return _0x1c0988?{'source':_0x1c0988[_0x193da1(0x19e)],'imageSourceType':_0x1c0988[_0x193da1(0x269)]}:null;}}));}};Ne=li([Je(0x0,_0x29fb8a),Je(0x1,_0xf6389b)],Ne);const Ze=[_0x5b4efa(0x321),_0x5b4efa(0x35f),_0x5b4efa(0x217),_0x5b4efa(0x1c6),_0x5b4efa(0x1dd),_0x5b4efa(0x32d)];class ke extends _0x3449ee{constructor(){const _0x55c215=_0x5b4efa;super(...arguments),_(this,_0x55c215(0x1bb),new Map()),_(this,_0x55c215(0x1d9),0x0);}[_0x5b4efa(0x326)](_0x9a15d7){const _0x4bcd26=_0x5b4efa;if(this[_0x4bcd26(0x1bb)][_0x4bcd26(0x1ce)](_0x9a15d7))return this[_0x4bcd26(0x1bb)]['get'](_0x9a15d7);const _0x46b5a4=Ze[this[_0x4bcd26(0x1d9)]];return this[_0x4bcd26(0x1d9)]=(this[_0x4bcd26(0x1d9)]+0x1)%Ze[_0x4bcd26(0x265)],this[_0x4bcd26(0x1bb)][_0x4bcd26(0x19b)](_0x9a15d7,_0x46b5a4),_0x46b5a4;}}function Tt(_0x487f4a){let _0x10427c='';for(const _0x4f1497 of _0x487f4a){const {startOffset:_0x8b75e1,endOffset:_0x51c189,isActive:_0x1f9244,rangeType:_0x49fb63,segmentId:_0x2eb0a9,segmentPage:_0x52a17a}=_0x4f1497;_0x10427c['length']&&(_0x10427c+=','),_0x10427c+=_0x8b75e1+':'+_0x51c189+':'+(_0x1f9244?'1':'0')+':'+_0x49fb63+':'+_0x2eb0a9+':'+_0x52a17a;}return _0x10427c;}function _i(_0x3be100){const _0x55f11b=_0x5b4efa,_0xf40a85=_0x3be100[_0x55f11b(0x335)](','),_0x53b3c7=[];for(const _0x47feae of _0xf40a85){const [_0x39195a,_0x5cb6c7,_0x3f1fb7,_0x37c4ec,_0x3e4ae7,_0x243074]=_0x47feae[_0x55f11b(0x335)](':');_0x53b3c7['push']({'startOffset':Number(_0x39195a),'endOffset':Number(_0x5cb6c7),'collapsed':_0x39195a===_0x5cb6c7,'isActive':_0x3f1fb7==='1','rangeType':_0x37c4ec===_0x2a664c[_0x55f11b(0x340)]?_0x2a664c[_0x55f11b(0x340)]:_0x2a664c['RECT'],'segmentId':typeof _0x3e4ae7==_0x55f11b(0x1fa)?String(_0x3e4ae7):'','segmentPage':Number(_0x243074!=null?_0x243074:-0x1)});}return _0x53b3c7[_0x55f11b(0x303)](_0xa7afb4=>_0xa7afb4[_0x55f11b(0x1e5)])||(_0x53b3c7[0x0]['isActive']=!0x0),_0x53b3c7;}class He extends _0x38ba1e{constructor(){const _0x472e94=_0x5b4efa;super(...arguments),_(this,_0x472e94(0x1ac),new _0x4f34ea(null)),_(this,_0x472e94(0x1a5),this[_0x472e94(0x1ac)]['asObservable']());}[_0x5b4efa(0x2ad)](_0x16d71d){const _0x63b3e=_0x5b4efa,{unitID:_0x22c91d,memberID:_0x189266,textRanges:_0x2be40a}=_0x16d71d,_0x22c3cb=Tt(_0x2be40a);if(_0x22c3cb==='')return;const _0x31091d={'unitID':_0x22c91d,'memberID':_0x189266,'selection':_0x22c3cb};this[_0x63b3e(0x1ac)][_0x63b3e(0x2ac)](_0x31091d);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x463ba1,_0x4a00ff,_0x19e82b,_0x3de992)=>{const _0x4b6b4a=_0x5b4efa;for(var _0x3fb88d=_0x3de992>0x1?void 0x0:_0x3de992?hi(_0x4a00ff,_0x19e82b):_0x4a00ff,_0xe3d178=_0x463ba1[_0x4b6b4a(0x265)]-0x1,_0x580a44;_0xe3d178>=0x0;_0xe3d178--)(_0x580a44=_0x463ba1[_0xe3d178])&&(_0x3fb88d=_0x580a44(_0x3fb88d)||_0x3fb88d);return _0x3fb88d;},P=(_0x374eda,_0x1028fb)=>(_0x49b27a,_0x12ca2b)=>_0x1028fb(_0x49b27a,_0x12ca2b,_0x374eda);const di=0x12c,fi=0x64;let Ue=class extends _0x38ba1e{constructor(_0x24667a,_0x6730ff,_0x548584,_0x196590,_0x268370,_0x108f86,_0x52b03c,_0x37fde9,_0x5f1eea){const _0x25bdfc=_0x5b4efa;super(),_(this,_0x25bdfc(0x274),!0x1),_(this,_0x25bdfc(0x17f),!0x1),_(this,_0x25bdfc(0x282),new _0x4f34ea(new Map())),_(this,_0x25bdfc(0x1fd),this['_cursorInfo$']['asObservable']()),_(this,'_roomMembers$',new _0x4f34ea([])),_(this,_0x25bdfc(0x2f1),this[_0x25bdfc(0x35c)][_0x25bdfc(0x1b5)](_0x4f838c(di))),_(this,_0x25bdfc(0x264),_0x1fb937(_0x218bd0=>{const _0x528f02=_0x25bdfc,_0x2930dc={'eventID':_0x180ebc[_0x528f02(0x27c)],'data':{'unitID':this[_0x528f02(0x35a)],'memberID':this[_0x528f02(0x1df)]['getMemberID'](),'selection':Tt(_0x218bd0)}};this[_0x528f02(0x1df)][_0x528f02(0x1ff)](_0x2930dc,this['unitID']);},fi)),(this[_0x25bdfc(0x35a)]=_0x24667a,this['_session']=_0x6730ff,this[_0x25bdfc(0x260)]=_0x548584,this[_0x25bdfc(0x25d)]=_0x196590,this['_memberService']=_0x268370,this['_syncEditingCollabCursorService']=_0x108f86,this[_0x25bdfc(0x30e)]=_0x52b03c,this[_0x25bdfc(0x254)]=_0x37fde9,this[_0x25bdfc(0x1ae)]=_0x5f1eea);}get[_0x5b4efa(0x337)](){const _0x4a3287=_0x5b4efa;return this[_0x4a3287(0x282)][_0x4a3287(0x1e3)]();}get[_0x5b4efa(0x26e)](){const _0x938e37=_0x5b4efa;return this[_0x938e37(0x35c)][_0x938e37(0x1e3)]();}[_0x5b4efa(0x2e2)](){const _0x1acb29=_0x5b4efa;super[_0x1acb29(0x2e2)](),this[_0x1acb29(0x282)][_0x1acb29(0x2ac)](new Map()),this[_0x1acb29(0x282)][_0x1acb29(0x1a4)](),this[_0x1acb29(0x35c)][_0x1acb29(0x2ac)]([]),this[_0x1acb29(0x35c)][_0x1acb29(0x1a4)]();}[_0x5b4efa(0x2b9)](){const _0x33d503=_0x5b4efa;this[_0x33d503(0x17f)]||(this[_0x33d503(0x17f)]=!0x0,this['_session'][_0x33d503(0x2ec)][_0x33d503(0x1b5)](_0x40f407(this[_0x33d503(0x278)]))[_0x33d503(0x244)](_0x2287dd=>{const _0x4b7cdc=_0x33d503;_0x2287dd===_0x2d3788[_0x4b7cdc(0x2c8)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x33d503(0x1df)][_0x33d503(0x2b8)][_0x33d503(0x1b5)](_0x40f407(this[_0x33d503(0x278)]))[_0x33d503(0x244)](_0x24aaf3=>{const _0x3389e8=_0x33d503,_0x5bb586=_0x24aaf3[_0x3389e8(0x2b6)];_0x5bb586===_0x180ebc[_0x3389e8(0x27c)]&&this[_0x3389e8(0x1f3)](_0x24aaf3),_0x5bb586===_0x180ebc[_0x3389e8(0x256)]&&this[_0x3389e8(0x36a)](_0x24aaf3);}),this['disposeWithMe'](this[_0x33d503(0x1ae)][_0x33d503(0x33a)](_0x2e1b3e=>{const _0x349046=_0x33d503,_0x478206=_0x2e1b3e['params'];_0x478206!=null&&this[_0x349046(0x274)]&&_0x2e1b3e['id']===_0x2cddaf['id']&&_0x478206[_0x349046(0x351)]===this[_0x349046(0x35a)]&&_0x478206[_0x349046(0x204)]===!0x1&&_0x478206['ranges'][_0x349046(0x265)]>0x0&&this['_updateLocalCursor'](_0x478206[_0x349046(0x207)]);})),this[_0x33d503(0x1e1)]['collabCursorState$'][_0x33d503(0x1b5)](_0x40f407(this['dispose$']))['subscribe'](_0x54e332=>{const _0x5c1999=_0x33d503;if((_0x54e332==null?void 0x0:_0x54e332[_0x5c1999(0x35a)])!==this[_0x5c1999(0x35a)])return;const _0x3319e0={'eventID':_0x180ebc[_0x5c1999(0x27c)],'data':_0x54e332};this[_0x5c1999(0x1f3)](_0x3319e0);}),this[_0x33d503(0x33f)](this[_0x33d503(0x1ae)]['onCommandExecuted'](_0x30ee00=>{const _0x2b099c=_0x33d503;if(_0x30ee00[_0x2b099c(0x1af)]==null)return;const _0x52790c=_0x30ee00[_0x2b099c(0x1af)];if(_0x30ee00['id']!==_0x20931f['id']||_0x52790c[_0x2b099c(0x351)]!==this[_0x2b099c(0x35a)])return;const _0x48e40a={'id':_0x2b099c(0x1eb),'params':_0x52790c},_0x8ffe8a=this[_0x2b099c(0x337)];for(const [_0x19f17a,_0x15ff12]of _0x8ffe8a){const _0x4c7283={'id':_0x2b099c(0x1eb),'params':{'unitId':this[_0x2b099c(0x35a)],'actions':null,'textRanges':_0x15ff12['ranges']}},_0x36b768=this[_0x2b099c(0x30e)][_0x2b099c(0x293)](_0x48e40a,_0x4c7283,!0x1);if(_0x1985d5(_0x36b768))throw _0x36b768[_0x2b099c(0x1d3)];_0x8ffe8a[_0x2b099c(0x19b)](_0x19f17a,{..._0x15ff12,'ranges':_0x36b768[_0x2b099c(0x32b)]['params'][_0x2b099c(0x32c)]});}queueMicrotask(()=>{const _0x3e61dc=_0x2b099c;this[_0x3e61dc(0x282)][_0x3e61dc(0x2ac)](_0x8ffe8a);});})));}[_0x5b4efa(0x1f3)](_0x2074ba){const _0x1dcad4=_0x5b4efa;var _0x184383,_0x4cc89a;const {memberID:_0x507115,selection:_0x3d09a4}=_0x2074ba['data'],_0x5ce002=_i(_0x3d09a4),_0x43b486=(_0x4cc89a=(_0x184383=this['_memberService']['getMember'](this[_0x1dcad4(0x35a)],_0x507115))==null?void 0x0:_0x184383['name'])!=null?_0x4cc89a:_0x1dcad4(0x316),_0xab9e75={'color':this[_0x1dcad4(0x25d)][_0x1dcad4(0x326)](_0x507115),'name':_0x43b486,'ranges':_0x5ce002},_0x21479f=this[_0x1dcad4(0x337)];_0x21479f[_0x1dcad4(0x19b)](_0x507115,_0xab9e75),this[_0x1dcad4(0x282)][_0x1dcad4(0x2ac)](_0x21479f);}['_onCursorDelete'](_0x5bd8e5){const _0x2f0237=_0x5b4efa,{memberID:_0x44e85}=_0x5bd8e5[_0x2f0237(0x24b)],_0x217af6=this[_0x2f0237(0x337)];_0x217af6['delete'](_0x44e85),this[_0x2f0237(0x282)]['next'](_0x217af6);}['_toggleOnline'](){const _0x55da7f=_0x5b4efa;var _0x31459c;if(this[_0x55da7f(0x274)]=!0x0,((_0x31459c=this[_0x55da7f(0x254)][_0x55da7f(0x1cf)]())==null?void 0x0:_0x31459c[_0x55da7f(0x180)]())!==this[_0x55da7f(0x35a)])return;const _0x3d21e6=this[_0x55da7f(0x260)][_0x55da7f(0x2ce)](_0x98b222)[_0x55da7f(0x1b1)]();Array['isArray'](_0x3d21e6)&&_0x3d21e6['length']>0x0&&this[_0x55da7f(0x264)](_0x3d21e6);}[_0x5b4efa(0x2e6)](){const _0x392f88=_0x5b4efa;this[_0x392f88(0x274)]=!0x1;}};Ue=ui([P(0x2,_0x17f821(_0x1bdaf6)),P(0x3,_0x17f821(ke)),P(0x4,_0x17f821(_0x24a34a)),P(0x5,_0x17f821(He)),P(0x6,_0x220695),P(0x7,_0x166042),P(0x8,_0xb833f6)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x7e45f0,_0x2c4497,_0x25e8b4,_0x4d59ef)=>{const _0x4cca59=_0x5b4efa;for(var _0x336325=_0x4d59ef>0x1?void 0x0:_0x4d59ef?Si(_0x2c4497,_0x25e8b4):_0x2c4497,_0x2046c8=_0x7e45f0[_0x4cca59(0x265)]-0x1,_0x197e7a;_0x2046c8>=0x0;_0x2046c8--)(_0x197e7a=_0x7e45f0[_0x2046c8])&&(_0x336325=_0x197e7a(_0x336325)||_0x336325);return _0x336325;},x=(_0x1d08a4,_0x379143)=>(_0x5ea0e9,_0x3d3ff7)=>_0x379143(_0x5ea0e9,_0x3d3ff7,_0x1d08a4);const Ii=0x12c,gi=0x64,vi=()=>{let _0x570b6a=[],_0x2325a0=!0x1;return _0x23b2d4=>{const _0x4693bc=_0x3518;_0x570b6a[_0x4693bc(0x2d4)](_0x23b2d4),_0x2325a0||(_0x2325a0=!0x0,setTimeout(()=>{const _0x16e6aa=_0x4693bc;_0x570b6a[_0x16e6aa(0x334)](_0x231730=>_0x231730()),_0x570b6a=[],_0x2325a0=!0x1;}));};};let Me=class extends _0x38ba1e{constructor(_0x27ef78,_0x4f9b50,_0x2a9186,_0x312c85,_0x28743e,_0x8d1a72,_0xdbcaf2,_0x240fb2){const _0x20e65d=_0x5b4efa;super(),_(this,_0x20e65d(0x274),!0x1),_(this,_0x20e65d(0x17f),!0x1),_(this,_0x20e65d(0x282),new _0x4f34ea(new Map())),_(this,_0x20e65d(0x1fd),this[_0x20e65d(0x282)][_0x20e65d(0x28a)]()),_(this,_0x20e65d(0x35c),new _0x4f34ea([])),_(this,_0x20e65d(0x2f1),this[_0x20e65d(0x35c)][_0x20e65d(0x1b5)](_0x4f838c(Ii))),_(this,'_updateLocalCursor',_0x1fb937((_0x598937,_0x3b781e)=>{const _0x53acd4=_0x20e65d,_0xcbc5c4={'eventID':_0x180ebc['UPDATE_CURSOR'],'data':{'unitID':this[_0x53acd4(0x35a)],'memberID':this['_session'][_0x53acd4(0x206)](),'selection':_0x1bcb36(_0x598937,_0x3b781e['range'])}};this[_0x53acd4(0x1df)][_0x53acd4(0x1ff)](_0xcbc5c4,this[_0x53acd4(0x35a)]);},gi)),(this[_0x20e65d(0x35a)]=_0x27ef78,this['_session']=_0x4f9b50,this[_0x20e65d(0x260)]=_0x2a9186,this[_0x20e65d(0x25d)]=_0x312c85,this['_memberService']=_0x28743e,this[_0x20e65d(0x254)]=_0x8d1a72,this[_0x20e65d(0x1ae)]=_0xdbcaf2,this[_0x20e65d(0x2d5)]=_0x240fb2);}get[_0x5b4efa(0x337)](){const _0x5c0e36=_0x5b4efa;return this[_0x5c0e36(0x282)]['getValue']();}get[_0x5b4efa(0x26e)](){const _0x3bc16b=_0x5b4efa;return this[_0x3bc16b(0x35c)][_0x3bc16b(0x1e3)]();}[_0x5b4efa(0x2e2)](){const _0x1ab621=_0x5b4efa;super['dispose'](),this[_0x1ab621(0x282)][_0x1ab621(0x2ac)](new Map()),this[_0x1ab621(0x282)]['complete'](),this[_0x1ab621(0x35c)][_0x1ab621(0x2ac)]([]),this[_0x1ab621(0x35c)][_0x1ab621(0x1a4)]();}[_0x5b4efa(0x2b9)](){const _0x1a7bf3=_0x5b4efa;this[_0x1a7bf3(0x17f)]||(this[_0x1a7bf3(0x17f)]=!0x0,this[_0x1a7bf3(0x1df)][_0x1a7bf3(0x2ec)][_0x1a7bf3(0x1b5)](_0x40f407(this[_0x1a7bf3(0x278)]))[_0x1a7bf3(0x244)](_0x23dc3c=>{const _0x178acd=_0x1a7bf3;_0x23dc3c===_0x2d3788['ONLINE']?this['_toggleOnline']():this[_0x178acd(0x2e6)]();}),this[_0x1a7bf3(0x1df)][_0x1a7bf3(0x2b8)]['pipe'](_0x40f407(this[_0x1a7bf3(0x278)]))[_0x1a7bf3(0x244)](_0x5b6925=>{const _0x24e745=_0x1a7bf3,_0x679a20=_0x5b6925[_0x24e745(0x2b6)];_0x679a20===_0x180ebc[_0x24e745(0x27c)]&&this[_0x24e745(0x1f3)](_0x5b6925),_0x679a20===_0x180ebc[_0x24e745(0x256)]&&this[_0x24e745(0x36a)](_0x5b6925);}),this[_0x1a7bf3(0x187)](),this['disposeWithMe'](this[_0x1a7bf3(0x1ae)][_0x1a7bf3(0x33a)](_0x24c825=>{const _0x2892f1=_0x1a7bf3;if(this[_0x2892f1(0x274)]&&_0x24c825['id']===_0x29afb5['id']&&_0x24c825[_0x2892f1(0x1af)][_0x2892f1(0x351)]===this['unitID']){const _0x1feed2=_0x24c825[_0x2892f1(0x1af)];this[_0x2892f1(0x264)](_0x1feed2[_0x2892f1(0x318)],_0x1feed2[_0x2892f1(0x208)][0x0]);}})));}[_0x5b4efa(0x1f3)](_0x521ebc){const _0x3d25a1=_0x5b4efa;var _0x35b6bd,_0x692859;const {memberID:_0x5df45e,selection:_0xf892db}=_0x521ebc[_0x3d25a1(0x24b)],{sheetName:_0x11e7d6,range:_0x377045}=_0x1a2468(_0xf892db),_0xe93782={'name':(_0x692859=(_0x35b6bd=this[_0x3d25a1(0x23e)][_0x3d25a1(0x30a)](this[_0x3d25a1(0x35a)],_0x5df45e))==null?void 0x0:_0x35b6bd[_0x3d25a1(0x2e9)])!=null?_0x692859:_0x3d25a1(0x316),'range':this['_getMergeRange'](_0x11e7d6,_0x377045),'sheetID':_0x11e7d6,'color':this[_0x3d25a1(0x25d)][_0x3d25a1(0x326)](_0x5df45e),'selection':_0xf892db},_0x4abfa6=this[_0x3d25a1(0x337)];_0x4abfa6[_0x3d25a1(0x19b)](_0x5df45e,_0xe93782),this['_cursorInfo$'][_0x3d25a1(0x2ac)](_0x4abfa6);}[_0x5b4efa(0x36a)](_0x1eb7e3){const _0x5552f8=_0x5b4efa,{memberID:_0x1dd79}=_0x1eb7e3[_0x5552f8(0x24b)],_0x38f2d2=this[_0x5552f8(0x337)];_0x38f2d2[_0x5552f8(0x310)](_0x1dd79),this[_0x5552f8(0x282)][_0x5552f8(0x2ac)](_0x38f2d2);}['_getMergeRange'](_0x32ea38,_0x3eed9d){const _0x3be8b2=_0x5b4efa;var _0x1cefa1,_0x421447;const _0x1858fe=(_0x421447=(_0x1cefa1=this['_univerInstanceService']['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x1cefa1['getSheetBySheetId'](_0x32ea38))==null?void 0x0:_0x421447[_0x3be8b2(0x29f)]();return(_0x1858fe==null?void 0x0:_0x1858fe['find'](_0x3b8397=>_0x44d08e['contains'](_0x3b8397,_0x3eed9d)))||_0x3eed9d;}[_0x5b4efa(0x187)](){const _0x177758=_0x5b4efa,_0x403c19=new _0x5efb6b(),_0x51a554=vi(),_0x466adc=()=>{const _0x1bcb80=_0x3518;_0x403c19[_0x1bcb80(0x2e2)]();const _0x2252e0=(_0x5a1a33,_0x2a9304,_0x8b6a5e,_0x11bfd6)=>{const _0x4cc247=_0x1bcb80;let _0x26a695=[];switch(_0x5a1a33['id']){case _0x1e58f9[_0x4cc247(0x1bc)]:{_0x26a695=_0x4efd28(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x323)]:{_0x26a695=_0x35006c(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x2cf)]:{_0x26a695=_0x329a9c(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x19c)]:{_0x26a695=_0x49fc0f(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x1cb)]:{_0x26a695=_0x3d227c(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x28b)]:{_0x26a695=_0x569859(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x377)]:{_0x26a695=_0x5dd931(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x255)]:{_0x26a695=_0x1aec89(_0x5a1a33,_0x11bfd6);break;}case _0x1e58f9[_0x4cc247(0x230)]:{_0x26a695=_0x4df2f6(_0x5a1a33,_0x11bfd6);break;}}const _0xc993c4=_0x1630e4(_0x26a695,_0x11bfd6),_0x42f173=this[_0x4cc247(0x337)][_0x4cc247(0x2ce)](_0x2a9304);if(_0x42f173&&_0xc993c4){const _0x27a7a8={..._0x42f173,'range':_0xc993c4};this['cursorInfo'][_0x4cc247(0x19b)](_0x2a9304,_0x27a7a8),_0x51a554(()=>{const _0x1e7e55=_0x4cc247,_0x4c22f0=this[_0x1e7e55(0x2d5)][_0x1e7e55(0x238)](_0xc993c4,_0x41b9fa=>(_0x4c22f0[_0x1e7e55(0x2e2)](),_0x2252e0(_0x41b9fa,_0x2a9304,_0x8b6a5e,_0xc993c4)));_0x403c19[_0x1e7e55(0x209)](_0x4c22f0);});}return{'redos':[],'undos':[]};};this[_0x1bcb80(0x337)]['forEach']((_0x2bb16e,_0x1a1d19)=>{const _0x4bb9c5=_0x1bcb80,{range:_0x2da098,sheetID:_0x1d6879}=_0x2bb16e,_0x406f5f=this[_0x4bb9c5(0x2d5)]['registerRefRange'](_0x2da098,_0x200bf4=>(_0x406f5f[_0x4bb9c5(0x2e2)](),_0x2252e0(_0x200bf4,_0x1a1d19,_0x1d6879,_0x2da098)));_0x403c19[_0x4bb9c5(0x209)](_0x406f5f);});};this[_0x177758(0x33f)](_0x4e32ae(this[_0x177758(0x282)][_0x177758(0x244)](()=>{_0x466adc();})));}[_0x5b4efa(0x364)](){const _0x34ff01=_0x5b4efa;var _0x440d78,_0x1cca3b;if(this[_0x34ff01(0x274)]=!0x0,((_0x440d78=this['_univerInstanceService'][_0x34ff01(0x1cf)]())==null?void 0x0:_0x440d78[_0x34ff01(0x180)]())!==this[_0x34ff01(0x35a)])return;const _0x5b782a=(_0x1cca3b=this[_0x34ff01(0x260)][_0x34ff01(0x2ce)](_0x53ed4d)[_0x34ff01(0x30b)]())==null?void 0x0:_0x1cca3b[0x0],_0x2ab0e5=this[_0x34ff01(0x254)][_0x34ff01(0x363)](_0x3860d6[_0x34ff01(0x257)])[_0x34ff01(0x2ba)]();_0x5b782a&&_0x2ab0e5&&this[_0x34ff01(0x264)](_0x2ab0e5[_0x34ff01(0x2c7)](),_0x5b782a);}[_0x5b4efa(0x2e6)](){const _0x12ec0f=_0x5b4efa;this[_0x12ec0f(0x274)]=!0x1;}};Me=mi([x(0x2,_0x17f821(_0x1bdaf6)),x(0x3,_0x17f821(ke)),x(0x4,_0x17f821(_0x24a34a)),x(0x5,_0x166042),x(0x6,_0xb833f6),x(0x7,_0x17f821(_0x4ea11f))],Me);var pi=Object[_0x5b4efa(0x23d)],Ci=(_0x22de20,_0x32536b,_0xe977ea,_0x38947e)=>{for(var _0x57a421=_0x38947e>0x1?void 0x0:_0x38947e?pi(_0x32536b,_0xe977ea):_0x32536b,_0x2bad15=_0x22de20['length']-0x1,_0x33ab27;_0x2bad15>=0x0;_0x2bad15--)(_0x33ab27=_0x22de20[_0x2bad15])&&(_0x57a421=_0x33ab27(_0x57a421)||_0x57a421);return _0x57a421;},Se=(_0x293fb6,_0x24cf3d)=>(_0x148321,_0x10a89a)=>_0x24cf3d(_0x148321,_0x10a89a,_0x293fb6);let H=class extends _0x38ba1e{constructor(_0x107142,_0x27b89f,_0x22145e){const _0xa48bb2=_0x5b4efa;super(),_(this,_0xa48bb2(0x376),new Map()),_(this,_0xa48bb2(0x1bd),new _0x5f2ef2()),(this['_univerInstanceService']=_0x107142,this[_0xa48bb2(0x260)]=_0x27b89f,this[_0xa48bb2(0x2b0)]=_0x22145e,this['_init']());}[_0x5b4efa(0x2e2)](){const _0x40d0f8=_0x5b4efa;super['dispose'](),this[_0x40d0f8(0x1bd)][_0x40d0f8(0x1a4)](),this[_0x40d0f8(0x376)][_0x40d0f8(0x334)](_0x163e3d=>_0x163e3d['dispose']());}['getCollabCursors$'](_0x1b3ca3){const _0x16b502=_0x5b4efa;return this[_0x16b502(0x376)][_0x16b502(0x1ce)](_0x1b3ca3)?this['_entities'][_0x16b502(0x2ce)](_0x1b3ca3)[_0x16b502(0x1fd)]:this[_0x16b502(0x1bd)][_0x16b502(0x1b5)](_0x137306(_0x427f78=>_0x427f78['unitID']===_0x1b3ca3),_0x542af7(_0x102951=>_0x102951[_0x16b502(0x1fd)]));}[_0x5b4efa(0x17f)](){const _0x994cd3=_0x5b4efa;this[_0x994cd3(0x254)][_0x994cd3(0x24d)](_0x3860d6['UNIVER_SHEET'])[_0x994cd3(0x1b5)](_0x40f407(this['dispose$']))[_0x994cd3(0x244)](async _0x752353=>{const _0x37db3f=_0x994cd3,_0x12110c=_0x752353[_0x37db3f(0x180)](),_0x55ea7f=await this[_0x37db3f(0x248)](_0x12110c);this[_0x37db3f(0x1bd)]['next'](_0x55ea7f),this[_0x37db3f(0x376)][_0x37db3f(0x19b)](_0x12110c,_0x55ea7f);}),this['_univerInstanceService'][_0x994cd3(0x24d)](_0x3860d6[_0x994cd3(0x28c)])['pipe'](_0x40f407(this['dispose$']))[_0x994cd3(0x1b5)](_0x137306(_0x41f34f=>!_0x41f34f[_0x994cd3(0x180)]()[_0x994cd3(0x1b3)]('__')))['subscribe'](async _0xc39de6=>{const _0x5e7ade=_0x994cd3,_0x4ea224=_0xc39de6[_0x5e7ade(0x180)](),_0x57f1c7=await this[_0x5e7ade(0x2ea)](_0x4ea224);this[_0x5e7ade(0x1bd)][_0x5e7ade(0x2ac)](_0x57f1c7),this[_0x5e7ade(0x376)][_0x5e7ade(0x19b)](_0x4ea224,_0x57f1c7);}),_0x4af1ba(this['_univerInstanceService'][_0x994cd3(0x36d)](_0x3860d6[_0x994cd3(0x28c)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3860d6[_0x994cd3(0x257)]))[_0x994cd3(0x1b5)](_0x40f407(this[_0x994cd3(0x278)]))[_0x994cd3(0x244)](_0x1d734a=>{const _0x2253aa=_0x994cd3,_0x3465bf=_0x1d734a[_0x2253aa(0x180)](),_0x214371=this['_entities'][_0x2253aa(0x2ce)](_0x3465bf);_0x214371&&(_0x214371[_0x2253aa(0x2e2)](),this[_0x2253aa(0x376)][_0x2253aa(0x310)](_0x3465bf));});}async[_0x5b4efa(0x248)](_0x377ef7){const _0x576b16=_0x5b4efa,_0xb450b=await this[_0x576b16(0x2b0)][_0x576b16(0x27f)](_0x377ef7),_0x125c3a=this[_0x576b16(0x260)][_0x576b16(0x2db)](Me,_0x377ef7,_0xb450b);return _0x125c3a[_0x576b16(0x2b9)](),_0x125c3a;}async[_0x5b4efa(0x2ea)](_0x471737){const _0x2db2c2=_0x5b4efa,_0x2187f2=await this[_0x2db2c2(0x2b0)][_0x2db2c2(0x27f)](_0x471737),_0x5d60ae=this['_injector'][_0x2db2c2(0x2db)](Ue,_0x471737,_0x2187f2);return _0x5d60ae[_0x2db2c2(0x2b9)](),_0x5d60ae;}};H=Ci([Se(0x0,_0x166042),Se(0x1,_0x17f821(_0x1bdaf6)),Se(0x2,_0x17f821(_0x266dab))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x57ad48,_0x328025){const _0xe96a3e=_0x5b4efa;let {radius:_0x473d26,width:_0x52117c,height:_0x3f1459}=_0x328025;_0x473d26=_0x473d26!=null?_0x473d26:0x0,_0x52117c=_0x52117c!=null?_0x52117c:0x1e,_0x3f1459=_0x3f1459!=null?_0x3f1459:0x1e;let _0x458d96=0x0,_0x5404c7=0x0,_0x11c35e=0x0;_0x458d96=_0x5404c7=_0x11c35e=Math[_0xe96a3e(0x37a)](_0x473d26,_0x52117c/0x2,_0x3f1459/0x2),_0x57ad48[_0xe96a3e(0x2cb)](),_0x57ad48[_0xe96a3e(0x301)](_0x458d96,0x0),_0x57ad48[_0xe96a3e(0x1a8)](_0x52117c-_0x5404c7,0x0),_0x57ad48[_0xe96a3e(0x33d)](_0x52117c-_0x5404c7,_0x5404c7,_0x5404c7,Math['PI']*0x3/0x2,0x0,!0x1),_0x57ad48[_0xe96a3e(0x1a8)](_0x52117c,_0x3f1459-_0x11c35e),_0x57ad48[_0xe96a3e(0x33d)](_0x52117c-_0x11c35e,_0x3f1459-_0x11c35e,_0x11c35e,0x0,Math['PI']/0x2,!0x1),_0x57ad48[_0xe96a3e(0x1a8)](0x0,_0x3f1459),_0x57ad48['lineTo'](0x0,_0x458d96),_0x57ad48['arc'](_0x458d96,_0x458d96,_0x458d96,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x57ad48[_0xe96a3e(0x347)](),_0x328025[_0xe96a3e(0x2e4)]&&(_0x57ad48[_0xe96a3e(0x202)](),_0x57ad48[_0xe96a3e(0x222)]=_0x328025[_0xe96a3e(0x2e4)],_0x328025[_0xe96a3e(0x183)]===_0xe96a3e(0x2d2)?_0x57ad48['fill']('evenodd'):_0x57ad48[_0xe96a3e(0x2e4)](),_0x57ad48['restore']());}class he extends _0x4b1f28{constructor(_0x3bc3a4,_0xe5da56){const _0x25b476=_0x5b4efa;super(_0x3bc3a4,_0xe5da56),_(this,'color'),_(this,_0x25b476(0x344)),(this[_0x25b476(0x2c6)]=_0xe5da56==null?void 0x0:_0xe5da56[_0x25b476(0x2c6)],this[_0x25b476(0x344)]=_0xe5da56==null?void 0x0:_0xe5da56['text']);}static['drawWith'](_0x81087a,_0x3a5c1c){const _0x4e3e08=_0x5b4efa,{text:_0x151c5b,color:_0x483a57}=_0x3a5c1c;_0x81087a['save'](),_0x81087a['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x15d97a=_0x81087a[_0x4e3e08(0x29c)](_0x151c5b)['width'],_0x1c0c02=Math[_0x4e3e08(0x37a)](_0x15d97a+0x2*me,Qe);Oi(_0x81087a,{'height':ee,'radius':0x4,'width':_0x1c0c02,'fill':_0x483a57}),_0x81087a[_0x4e3e08(0x222)]=_0x4e3e08(0x280);const _0x49433a=me,_0x135616=ee-Ei,_0x31c99c=Qe-0x2*me;if(_0x15d97a>_0x31c99c){let _0x25501e='',_0x1eb33c=0x0;for(const _0x5f5508 of _0x151c5b){const _0x177940=_0x81087a[_0x4e3e08(0x29c)](_0x5f5508)[_0x4e3e08(0x294)];if(_0x1eb33c+_0x177940<=_0x31c99c-_0x81087a[_0x4e3e08(0x29c)](_0x4e3e08(0x213))[_0x4e3e08(0x294)])_0x25501e+=_0x5f5508,_0x1eb33c+=_0x177940;else{_0x25501e+=_0x4e3e08(0x213);break;}}_0x81087a[_0x4e3e08(0x2bf)](_0x25501e,_0x49433a,_0x135616);}else _0x81087a[_0x4e3e08(0x2bf)](_0x151c5b,_0x49433a,_0x135616);_0x81087a['restore']();}[_0x5b4efa(0x379)](_0xfe3126){const _0x2b1d09=_0x5b4efa;he[_0x2b1d09(0x345)](_0xfe3126,this);}}const Ie=_0x5b4efa(0x1d4),bi=_0x5b4efa(0x227),Ti=_0x5b4efa(0x2e3),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x5b4efa(0x2cc);class qe{constructor(_0x4fe595,_0xe10bbf,_0x4166c0,_0xc7e4f){const _0x1544b4=_0x5b4efa;_(this,_0x1544b4(0x21a),[]),_(this,_0x1544b4(0x315),null),_(this,_0x1544b4(0x271),null),_(this,_0x1544b4(0x1d2),null),_(this,_0x1544b4(0x349),null),_(this,_0x1544b4(0x245),null),(this[_0x1544b4(0x33e)]=_0x4fe595,this[_0x1544b4(0x1b4)]=_0xe10bbf,this['_docSkeleton']=_0x4166c0,this['_document']=_0xc7e4f,this['_render']());}set[_0x5b4efa(0x18f)](_0x2947db){const _0x26f60f=_0x5b4efa;_0x2947db?(this[_0x26f60f(0x1d2)]&&this['_anchorDot'][_0x26f60f(0x36c)](),this[_0x26f60f(0x271)]&&this[_0x26f60f(0x271)]['show']()):(this[_0x26f60f(0x1d2)]&&this[_0x26f60f(0x1d2)][_0x26f60f(0x218)](),this[_0x26f60f(0x271)]&&this[_0x26f60f(0x271)][_0x26f60f(0x36c)]());}[_0x5b4efa(0x2e2)](){const _0x3e9584=_0x5b4efa;for(const _0x436a5e of this['_shapes'])_0x436a5e['dispose']();this[_0x3e9584(0x271)]&&this[_0x3e9584(0x271)]['dispose'](),this[_0x3e9584(0x1d2)]&&this[_0x3e9584(0x1d2)][_0x3e9584(0x2e2)](),this['_anchor']&&this[_0x3e9584(0x315)]['dispose'](),this[_0x3e9584(0x245)]&&this[_0x3e9584(0x245)]();}[_0x5b4efa(0x22b)](){const _0x2b9e5c=_0x5b4efa;var _0x194b6b;const {_docSkeleton:_0x1c28d8,_document:_0x2ac728}=this,{color:_0x1eb75a,name:_0x1f71e0,ranges:_0x5278ee}=this[_0x2b9e5c(0x33e)],_0x3c841f=_0x2ac728['getOffsetConfig'](),{docsLeft:_0x22d3c1,docsTop:_0x3bd3ba}=_0x3c841f,_0x2ce6da=new _0x19d055(_0x3c841f,_0x1c28d8);for(const {startOffset:_0x5c108f,endOffset:_0x2e3f89,rangeType:_0x1b9cea,segmentId:_0x55fb27,segmentPage:_0x309015,collapsed:_0x179e8e,isActive:_0x5dab44}of _0x5278ee){const _0x1c1b8a=_0x1c28d8[_0x2b9e5c(0x1f1)](_0x5c108f,!0x0,_0x55fb27,_0x309015);let _0x4d77f8=_0x1c28d8[_0x2b9e5c(0x1f1)](_0x2e3f89,!0x0,_0x55fb27,_0x309015);if(_0x4d77f8==null&&(_0x4d77f8=_0x1c28d8[_0x2b9e5c(0x1f1)](_0x2e3f89-0x1,!0x1,_0x55fb27,_0x309015)),_0x5dab44){const {contentBoxPointGroup:_0x31ac75}=_0x2ce6da[_0x2b9e5c(0x30d)](_0x4d77f8,_0x4d77f8);if(_0x31ac75[_0x2b9e5c(0x265)]===0x0)continue;this['_drawAnchor'](_0x1eb75a,_0x31ac75,_0x22d3c1,_0x3bd3ba,_0x1f71e0),this[_0x2b9e5c(0x245)]=this[_0x2b9e5c(0x1c8)]();}if(_0x1c1b8a&&_0x4d77f8){if(_0x1b9cea===_0x2a664c[_0x2b9e5c(0x27d)]){const _0x330d55=new _0xb7c07(_0x3c841f,_0x1c28d8),{pointGroup:_0x2d0338}=(_0x194b6b=_0x330d55[_0x2b9e5c(0x30d)](_0x1c1b8a,_0x4d77f8))!=null?_0x194b6b:{};if(_0x2d0338==null||_0x2d0338[_0x2b9e5c(0x265)]===0x0)continue;this[_0x2b9e5c(0x2c5)](_0x1eb75a,_0x2d0338,_0x22d3c1,_0x3bd3ba);}else{if(!_0x179e8e){const {borderBoxPointGroup:_0x5d5bae}=_0x2ce6da[_0x2b9e5c(0x30d)](_0x1c1b8a,_0x4d77f8);if(_0x5d5bae[_0x2b9e5c(0x265)]===0x0)continue;this[_0x2b9e5c(0x2b7)](_0x1eb75a,_0x5d5bae,_0x22d3c1,_0x3bd3ba);}}}}}[_0x5b4efa(0x253)](_0x350d85,_0x5e49df,_0x290a3b,_0xd17abc,_0x34c6e4){const _0x3cce4c=_0x5b4efa,_0x58856e=this[_0x3cce4c(0x308)](_0x5e49df),{left:_0x1c34dc,top:_0x34876a,height:_0x323ec0}=_0x58856e,_0x5d748d=this[_0x3cce4c(0x1c3)](),_0x258791=Di/_0x5d748d,_0x5dd8bf=new _0x2a533f(Ie+_0x9af4da[_0x3cce4c(0x2ae)](X),{'left':_0x1c34dc+_0x290a3b-_0x258791,'top':_0x34876a+_0xd17abc,'height':_0x323ec0,'width':Ri,'fill':_0x350d85||_0x5b1dc2(_0x55a633['black'],0x0),'strokeWidth':_0x258791,'stroke':Ni,'evented':!0x0});this[_0x3cce4c(0x315)]=_0x5dd8bf,this[_0x3cce4c(0x1b4)]['addObject'](_0x5dd8bf,_0x4e0af9);const _0x105b57=new _0x2a533f(Ie+_0x9af4da['generateRandomId'](X),{'left':_0x1c34dc+_0x290a3b-_0x258791,'top':_0x34876a+_0xd17abc-ge/0x2,'height':ge,'width':ge,'fill':_0x350d85||_0x5b1dc2(_0x55a633['black'],0x0),'strokeWidth':0x0,'stroke':_0x350d85||_0x5b1dc2(_0x55a633[_0x3cce4c(0x249)],0x0),'evented':!0x1});this[_0x3cce4c(0x1d2)]=_0x105b57,this[_0x3cce4c(0x1b4)][_0x3cce4c(0x1b9)](_0x105b57,_0x4e0af9);const _0x3e9b15=new he(Ie+_0x9af4da['generateRandomId'](X),{'left':_0x1c34dc+_0x290a3b-_0x258791,'top':_0x34876a+_0xd17abc-ee,'text':_0x34c6e4,'color':_0x350d85});this[_0x3cce4c(0x271)]=_0x3e9b15,this[_0x3cce4c(0x1b4)]['addObject'](_0x3e9b15,_0x4e0af9),this[_0x3cce4c(0x18f)]=!0x1;}[_0x5b4efa(0x1c8)](){const _0x5245b2=_0x5b4efa,_0xee43f8=this[_0x5245b2(0x315)][_0x5245b2(0x2f3)][_0x5245b2(0x18d)](()=>{const _0x418e1c=_0x5245b2;this[_0x418e1c(0x18f)]=!0x0;}),_0x15be21=this['_anchor'][_0x5245b2(0x276)][_0x5245b2(0x18d)](()=>{const _0x1bd49f=_0x5245b2;this[_0x1bd49f(0x349)]&&clearTimeout(this[_0x1bd49f(0x349)]),this[_0x1bd49f(0x349)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3d9b84=_0x5245b2;_0xee43f8['unsubscribe'](),_0x15be21[_0x3d9b84(0x1ea)]();};}[_0x5b4efa(0x2b7)](_0x489991,_0x57b3cc,_0x36989c,_0x4b800f){const _0x26d4b2=_0x5b4efa,_0x28da89=new _0x454f31(_0x489991)['setAlpha'](0.2)[_0x26d4b2(0x2bd)](),_0x586e10=new _0x12525e(bi+_0x9af4da[_0x26d4b2(0x2ae)](X),{'pointsGroup':_0x57b3cc,'fill':_0x28da89||_0x5b1dc2(_0x55a633[_0x26d4b2(0x249)],0.2),'left':_0x36989c,'top':_0x4b800f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26d4b2(0x21a)]['push'](_0x586e10),this[_0x26d4b2(0x1b4)]['addObject'](_0x586e10,_0x4e0af9);}[_0x5b4efa(0x2c5)](_0x51cd11,_0x4a6410,_0x379b00,_0x378f3e){const _0x7db89d=_0x5b4efa,_0x20721a=new _0x454f31(_0x51cd11)[_0x7db89d(0x2c4)](0.2)[_0x7db89d(0x2bd)](),_0x286575=new _0x12525e(Ti+_0x9af4da[_0x7db89d(0x2ae)](X),{'pointsGroup':_0x4a6410,'fill':_0x20721a||_0x5b1dc2(_0x55a633[_0x7db89d(0x249)],0.2),'left':_0x379b00,'top':_0x378f3e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x7db89d(0x2d4)](_0x286575),this['_scene'][_0x7db89d(0x1b9)](_0x286575,_0x4e0af9);}[_0x5b4efa(0x308)](_0x12e0fa){const _0xfd6b6c=_0x12e0fa[0x0],_0x461538=_0xfd6b6c[0x0],_0x293ef1=_0xfd6b6c[0x2],{x:_0x1dbe25,y:_0x5c09bf}=_0x461538,{x:_0x269534,y:_0x6123f7}=_0x293ef1;return{'left':_0x1dbe25,'top':_0x5c09bf,'width':_0x269534-_0x1dbe25,'height':_0x6123f7-_0x5c09bf};}[_0x5b4efa(0x1c3)](){const _0x2076e7=_0x5b4efa,{scaleX:_0x24e228,scaleY:_0x3d53a0}=this[_0x2076e7(0x1b4)][_0x2076e7(0x18e)]();return Math[_0x2076e7(0x1da)](_0x24e228,_0x3d53a0);}}var Ui=Object[_0x5b4efa(0x23d)],Mi=(_0x5478d2,_0x3939ec,_0x4a42a0,_0x28f005)=>{const _0x3d7f61=_0x5b4efa;for(var _0x11c38d=_0x28f005>0x1?void 0x0:_0x28f005?Ui(_0x3939ec,_0x4a42a0):_0x3939ec,_0x576c0b=_0x5478d2[_0x3d7f61(0x265)]-0x1,_0x415aa1;_0x576c0b>=0x0;_0x576c0b--)(_0x415aa1=_0x5478d2[_0x576c0b])&&(_0x11c38d=_0x415aa1(_0x11c38d)||_0x11c38d);return _0x11c38d;},Z=(_0x3dd201,_0x517928)=>(_0x3af07f,_0x1be055)=>_0x517928(_0x3af07f,_0x1be055,_0x3dd201);let Le=class extends _0x38ba1e{constructor(_0x338157,_0x1dc8ed,_0x28fd50,_0x3bce3c,_0x29ff7c){const _0x438bcf=_0x5b4efa;super(),_(this,_0x438bcf(0x1db),[]),_(this,'_cursors',[]),(this[_0x438bcf(0x348)]=_0x338157,this['_docSkeletonManagerService']=_0x1dc8ed,this[_0x438bcf(0x299)]=_0x28fd50,this[_0x438bcf(0x1ae)]=_0x3bce3c,this[_0x438bcf(0x34f)]=_0x29ff7c,this['_init']());}['_init'](){const _0x5037a0=_0x5b4efa,_0x487b6c=this['_context']['unitId'],_0x4fe023=this[_0x5037a0(0x1a7)];this[_0x5037a0(0x33f)](_0x214175([this[_0x5037a0(0x299)]['getCollabCursors$'](_0x487b6c),this[_0x5037a0(0x34f)]['currentTheme$']])[_0x5037a0(0x1b5)](_0x5c459e(([_0x180091,_0x4e394c])=>({'skeleton':_0x4fe023[_0x5037a0(0x26c)](),'cursors':[..._0x180091[_0x5037a0(0x30f)]()][_0x5037a0(0x2bc)](_0x21340e=>({..._0x21340e,'color':this['_themeService'][_0x5037a0(0x304)](_0x21340e[_0x5037a0(0x2c6)])}))})))[_0x5037a0(0x244)](_0x31811e=>{const _0x290102=_0x5037a0;if(this[_0x290102(0x211)](),_0x31811e){const {skeleton:_0x5c9f1c,cursors:_0x597bdd}=_0x31811e;this['_updateCollabCursors'](_0x5c9f1c,_0x597bdd);}})),this[_0x5037a0(0x2ab)](),this['_initCommandExecutedListener']();}[_0x5b4efa(0x35b)](_0x299ba1,_0x4e121b){const _0x2fa31b=_0x5b4efa,{scene:_0x506cce,mainComponent:_0x5d0919}=this[_0x2fa31b(0x348)],_0x3f761f=_0x4e121b[_0x2fa31b(0x286)](_0x39001e=>new qe(_0x39001e,_0x506cce,_0x299ba1,_0x5d0919));this[_0x2fa31b(0x1db)]=_0x3f761f,this[_0x2fa31b(0x361)]=_0x4e121b;}[_0x5b4efa(0x17a)](){const _0x4b90d5=_0x5b4efa;this[_0x4b90d5(0x211)]();const {scene:_0xc8621d,mainComponent:_0x28cb3d}=this[_0x4b90d5(0x348)],_0x85e73b=this[_0x4b90d5(0x1a7)][_0x4b90d5(0x26c)](),_0x42b52c=this[_0x4b90d5(0x361)][_0x4b90d5(0x286)](_0x2b665e=>new qe(_0x2b665e,_0xc8621d,_0x85e73b,_0x28cb3d));this[_0x4b90d5(0x1db)]=_0x42b52c;}[_0x5b4efa(0x211)](){const _0x27d9bd=_0x5b4efa;this[_0x27d9bd(0x1db)][_0x27d9bd(0x334)](_0x2ac3db=>_0x2ac3db[_0x27d9bd(0x2e2)]()),this[_0x27d9bd(0x1db)]=[];}[_0x5b4efa(0x25b)](){const _0x1a5ce6=_0x5b4efa,_0x4388d0=[_0x5d1cf9['id']];this[_0x1a5ce6(0x33f)](this[_0x1a5ce6(0x1ae)][_0x1a5ce6(0x33a)](_0x23daf8=>{const _0xda2e14=_0x1a5ce6;_0x4388d0[_0xda2e14(0x250)](_0x23daf8['id'])&&_0x23daf8[_0xda2e14(0x1af)][_0xda2e14(0x351)]===this[_0xda2e14(0x348)][_0xda2e14(0x351)]&&this['_refreshCollabCursors']();}));}[_0x5b4efa(0x2ab)](){const _0xcf52ad=_0x5b4efa;this[_0xcf52ad(0x33f)](_0x5a2964(this[_0xcf52ad(0x348)]['engine'][_0xcf52ad(0x1d5)])[_0xcf52ad(0x1b5)](_0x482697(_0xe33e66=>_0xe33e66[_0xcf52ad(0x28e)]===_0x69d07d[_0xcf52ad(0x2a9)]),_0x513ffd(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};Le=Mi([Z(0x1,_0x17f821(_0x5a7f44)),Z(0x2,_0x17f821(H)),Z(0x3,_0xb833f6),Z(0x4,_0x17f821(_0x2a5222))],Le);const Li=0x1,Pi=1.5;class wi extends _0x4b1f28{constructor(_0xda1779,_0x4a6eee){const _0x2dbcb3=_0x5b4efa;super(_0xda1779,_0x4a6eee),_(this,_0x2dbcb3(0x2a2)),_(this,_0x2dbcb3(0x322),!0x1),_(this,_0x2dbcb3(0x2bb)),_(this,'_name',''),_(this,_0x2dbcb3(0x2aa),_0x2dbcb3(0x32a)),_(this,_0x2dbcb3(0x305)),(_0x4a6eee&&this[_0x2dbcb3(0x1a9)](_0x4a6eee),this[_0x2dbcb3(0x2f3)][_0x2dbcb3(0x18d)](()=>this[_0x2dbcb3(0x1a9)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2dbcb3(0x18d)](()=>this[_0x2dbcb3(0x1a9)]({'hovered':!0x1})));}[_0x5b4efa(0x1a9)](_0x50befc){const _0x4ff658=_0x5b4efa;var _0x4f29ba,_0x2ebc3a,_0x47ae0d,_0x2b02ff,_0x44cc3f,_0x399c4b;this[_0x4ff658(0x2a2)]=(_0x4f29ba=_0x50befc[_0x4ff658(0x2c6)])!=null?_0x4f29ba:this[_0x4ff658(0x2a2)],this['_hovered']=(_0x2ebc3a=_0x50befc[_0x4ff658(0x27a)])!=null?_0x2ebc3a:this[_0x4ff658(0x322)],this[_0x4ff658(0x2bb)]=(_0x47ae0d=_0x50befc[_0x4ff658(0x359)])!=null?_0x47ae0d:this[_0x4ff658(0x2bb)],this[_0x4ff658(0x247)]=(_0x2b02ff=_0x50befc[_0x4ff658(0x2e9)])!=null?_0x2b02ff:this[_0x4ff658(0x247)],this[_0x4ff658(0x2aa)]=(_0x44cc3f=_0x50befc[_0x4ff658(0x236)])!=null?_0x44cc3f:this[_0x4ff658(0x2aa)],this[_0x4ff658(0x305)]=(_0x399c4b=_0x50befc[_0x4ff658(0x332)])!=null?_0x399c4b:this[_0x4ff658(0x305)],this[_0x4ff658(0x251)]({'width':_0x50befc['width'],'height':_0x50befc['height']});}['onMouseMove'](_0x5294cd){const _0x301395=_0x5b4efa,{row:_0x8249fc,column:_0x7125d5}=_0x5294cd;if(_0x8249fc>=this[_0x301395(0x2bb)][_0x301395(0x382)]&&_0x8249fc<=this[_0x301395(0x2bb)][_0x301395(0x2dd)]&&_0x7125d5>=this['_range']['startColumn']&&_0x7125d5<=this[_0x301395(0x2bb)]['endColumn']){this[_0x301395(0x1a9)]({'hovered':!0x0});return;}this[_0x301395(0x1a9)]({'hovered':!0x1});}[_0x5b4efa(0x210)](_0x249d97){return!0x1;}[_0x5b4efa(0x379)](_0x27b4c6){const _0x31c738=_0x5b4efa;_0x2a533f['drawWith'](_0x27b4c6,{'width':this[_0x31c738(0x294)],'height':this[_0x31c738(0x287)],'strokeWidth':Pi,'stroke':this[_0x31c738(0x2a2)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x31c738(0x322)]&&(_0x27b4c6['save'](),_0x27b4c6[_0x31c738(0x1b2)](0x1,0x0,0x0,0x1,this[_0x31c738(0x294)],this['_labelPosition']==='bottom'?0x0:-0x14),he['drawWith'](_0x27b4c6,{'text':this[_0x31c738(0x247)],'color':this['_color']}),_0x27b4c6[_0x31c738(0x1f5)]());}}var Ai=Object[_0x5b4efa(0x23d)],yi=(_0x1479b9,_0x43f71f,_0x2ed9f1,_0x18b280)=>{for(var _0x4cd9dc=_0x18b280>0x1?void 0x0:_0x18b280?Ai(_0x43f71f,_0x2ed9f1):_0x43f71f,_0x36e697=_0x1479b9['length']-0x1,_0x13e54a;_0x36e697>=0x0;_0x36e697--)(_0x13e54a=_0x1479b9[_0x36e697])&&(_0x4cd9dc=_0x13e54a(_0x4cd9dc)||_0x4cd9dc);return _0x4cd9dc;},ve=(_0x555392,_0x47cf92)=>(_0x361b00,_0x509076)=>_0x47cf92(_0x361b00,_0x509076,_0x555392);const $i=0x1389;let Pe=class extends _0x38ba1e{constructor(_0xf8c381,_0x459b4e,_0xda8c16,_0x5b672b){const _0x4b53d1=_0x5b4efa;super(),_(this,_0x4b53d1(0x361),new Set()),_(this,_0x4b53d1(0x37b),null),(this[_0x4b53d1(0x348)]=_0xf8c381,this[_0x4b53d1(0x346)]=_0x459b4e,this['_collabCursorController']=_0xda8c16,this[_0x4b53d1(0x34f)]=_0x5b672b,this[_0x4b53d1(0x17f)]());}[_0x5b4efa(0x17f)](){const _0x358050=_0x5b4efa;this[_0x358050(0x346)][_0x358050(0x225)][_0x358050(0x1b5)](_0x46ab32(this['dispose$']),_0x4e5146(_0x5e8241=>{const _0x49e2d9=_0x358050;if(_0x5e8241){const _0x3c09ed=_0x5e8241[_0x49e2d9(0x374)];return _0x214175(this[_0x49e2d9(0x299)]['getCollabCursors$'](this['_context'][_0x49e2d9(0x351)]),this[_0x49e2d9(0x34f)][_0x49e2d9(0x328)])['pipe'](_0x5c459e(([_0x2ef019,_0x2aba47])=>{const _0x44833e=_0x49e2d9,_0x25ea0e=new Map();return _0x2ef019[_0x44833e(0x334)]((_0x13e51e,_0x44837c)=>{const _0x2bf1cf=_0x44833e;if(_0x13e51e[_0x2bf1cf(0x22f)]===_0x3c09ed){const _0x4e1c8e={..._0x13e51e};_0x4e1c8e[_0x2bf1cf(0x2c6)]=this['_themeService']['getColorFromTheme'](_0x13e51e[_0x2bf1cf(0x2c6)]),_0x25ea0e[_0x2bf1cf(0x19b)](_0x44837c,_0x4e1c8e);}}),{'skeleton':_0x5e8241,'cursors':_0x25ea0e};}));}return _0x47a53c({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xac19fe,cursors:_0x441b8f})=>{this['_removeCollabCursors'](),_0xac19fe&&this['_updateCollabCursors'](_0xac19fe,_0x441b8f);}),this[_0x358050(0x346)][_0x358050(0x225)][_0x358050(0x244)](_0x36829f=>{const _0x52d262=_0x358050;if(_0x36829f==null)return;const {skeleton:_0x5ea167}=_0x36829f,{scene:_0x2b7f2b}=this['_context'];_0x2b7f2b[_0x52d262(0x266)][_0x52d262(0x18d)](_0x1fb937(_0x539cb0=>{const _0x4e1b4e=_0x52d262;var _0x1fa56c,_0x5bd23f;const {offsetX:_0x3a7935,offsetY:_0x1acc90}=_0x539cb0,{x:_0xd26f78,y:_0x131162}=_0x2b7f2b[_0x4e1b4e(0x243)](_0x3bc027['FromArray']([_0x3a7935,_0x1acc90])),{scaleX:_0x5667fb,scaleY:_0x477a8f}=_0x2b7f2b['getAncestorScale'](),_0x5c182b=_0x2b7f2b[_0x4e1b4e(0x2d7)](_0x3b852c[_0x4e1b4e(0x36f)]),_0x57a58e=_0x2b7f2b[_0x4e1b4e(0x34c)](_0x3bc027[_0x4e1b4e(0x2b4)]([_0xd26f78,_0x131162]),_0x5c182b),_0x4f93a4=_0x5ea167[_0x4e1b4e(0x1f2)](_0x3a7935,_0x1acc90,_0x5667fb,_0x477a8f,_0x57a58e);((_0x1fa56c=this['_lastPointer'])==null?void 0x0:_0x1fa56c[_0x4e1b4e(0x371)])===_0x4f93a4['column']&&((_0x5bd23f=this[_0x4e1b4e(0x37b)])==null?void 0x0:_0x5bd23f[_0x4e1b4e(0x2be)])===_0x4f93a4[_0x4e1b4e(0x2be)]||this[_0x4e1b4e(0x361)][_0x4e1b4e(0x334)](_0x593a65=>{const _0x204c89=_0x4e1b4e;_0x593a65[_0x204c89(0x18b)](_0x4f93a4);});},0x64));});}[_0x5b4efa(0x35b)](_0x34041d,_0x626307){const _0x5a5767=_0x5b4efa;var _0x2f0c31;const _0x145a68=(_0x2f0c31=this[_0x5a5767(0x346)][_0x5a5767(0x273)]())==null?void 0x0:_0x2f0c31['skeleton'];if(!_0x145a68)return;const _0xebf5f2=this[_0x5a5767(0x23a)]();if(!_0xebf5f2)return;this[_0x5a5767(0x361)][_0x5a5767(0x334)](_0x5744dd=>{const _0x5d7982=_0x5a5767;_0x5744dd[_0x5d7982(0x297)]();});const {scene:_0x532aea}=_0xebf5f2,_0x3bfa3d=xi(Array[_0x5a5767(0x319)](_0x626307[_0x5a5767(0x30f)]()))['map'](_0x4b43e2=>{const _0x5f0737=_0x5a5767,{color:_0x4d0ab1,range:_0x366077,name:_0xa22d07,selection:_0x91d209,sheetID:_0x4b69fe}=_0x4b43e2,{startColumn:_0x99ac3,startRow:_0xb38d3c,endColumn:_0x4c7974,endRow:_0x19302f}=_0x366077,_0xd8f93c=_0x1805fb(_0xb38d3c,_0x99ac3,_0x532aea,_0x145a68),_0x162226=_0x1805fb(_0x19302f,_0x4c7974,_0x532aea,_0x145a68),{columnHeaderHeightAndMarginTop:_0x686343}=_0x145a68,{startX:_0x178136,startY:_0x4078c1}=_0xd8f93c,{endX:_0x3b79f5,endY:_0x131048}=_0x162226,_0x45fb24=_0x3b79f5-_0x178136,_0x28aa84=_0x131048-_0x4078c1,_0x427666={'labelPosition':_0x4078c1-_0x686343>=ee?_0x5f0737(0x32a):'bottom','sheetID':_0x4b69fe,'range':_0x366077,'color':_0x4d0ab1,'name':_0xa22d07,'selection':_0x91d209,'left':_0x178136,'top':_0x4078c1,'width':_0x45fb24,'height':_0x28aa84,'evented':!0x1,'zIndex':$i};return new wi(_0xa22d07,_0x427666);});_0x532aea[_0x5a5767(0x20a)](_0x3bfa3d,Li),this[_0x5a5767(0x361)]=new Set(_0x3bfa3d);}[_0x5b4efa(0x211)](){const _0x2ca872=_0x5b4efa;var _0x4f6c86;(_0x4f6c86=this[_0x2ca872(0x361)])==null||_0x4f6c86['forEach'](_0xc9e74e=>_0xc9e74e[_0x2ca872(0x2e2)]());}[_0x5b4efa(0x23a)](){const _0x56d8b8=_0x5b4efa;return _0x486981(this[_0x56d8b8(0x348)][_0x56d8b8(0x356)],this[_0x56d8b8(0x348)]);}};Pe=yi([ve(0x1,_0x17f821(_0x1da1db)),ve(0x2,_0x17f821(H)),ve(0x3,_0x17f821(_0x2a5222))],Pe);function xi(_0x7aba54){const _0x333099=_0x5b4efa,_0x40969a=new Map();return _0x7aba54['forEach'](_0x1ec124=>{const _0x25f79f=_0x3518;if(_0x40969a[_0x25f79f(0x1ce)](_0x1ec124[_0x25f79f(0x2dc)])){const _0x3c3340=_0x40969a[_0x25f79f(0x2ce)](_0x1ec124[_0x25f79f(0x2dc)]);_0x3c3340[_0x25f79f(0x2e9)]+=',\x20'+_0x1ec124[_0x25f79f(0x2e9)];}else _0x40969a[_0x25f79f(0x19b)](_0x1ec124[_0x25f79f(0x2dc)],_0x1ec124);}),Array['from'](_0x40969a[_0x333099(0x30f)]());}var v=function(){const _0xaefbc1=_0x5b4efa;return v=Object[_0xaefbc1(0x1c2)]||function(_0x5383f8){for(var _0x4eea6a,_0x5a28d9=0x1,_0x409a84=arguments['length'];_0x5a28d9<_0x409a84;_0x5a28d9++){_0x4eea6a=arguments[_0x5a28d9];for(var _0x165c6e in _0x4eea6a)Object['prototype']['hasOwnProperty']['call'](_0x4eea6a,_0x165c6e)&&(_0x5383f8[_0x165c6e]=_0x4eea6a[_0x165c6e]);}return _0x5383f8;},v['apply'](this,arguments);},Bi=function(_0x47298e,_0x54a381){const _0x399769=_0x5b4efa;var _0x2b7ce7={};for(var _0xd08a9b in _0x47298e)Object[_0x399769(0x215)]['hasOwnProperty'][_0x399769(0x17e)](_0x47298e,_0xd08a9b)&&_0x54a381[_0x399769(0x33c)](_0xd08a9b)<0x0&&(_0x2b7ce7[_0xd08a9b]=_0x47298e[_0xd08a9b]);if(_0x47298e!=null&&typeof Object[_0x399769(0x366)]==_0x399769(0x1c0)){for(var _0x2d10b6=0x0,_0xd08a9b=Object[_0x399769(0x366)](_0x47298e);_0x2d10b6<_0xd08a9b[_0x399769(0x265)];_0x2d10b6++)_0x54a381['indexOf'](_0xd08a9b[_0x2d10b6])<0x0&&Object[_0x399769(0x215)]['propertyIsEnumerable'][_0x399769(0x17e)](_0x47298e,_0xd08a9b[_0x2d10b6])&&(_0x2b7ce7[_0xd08a9b[_0x2d10b6]]=_0x47298e[_0xd08a9b[_0x2d10b6]]);}return _0x2b7ce7;},Fe=_0x1df6b8(function(_0x5b4601,_0x9d724b){const _0x5100e8=_0x5b4efa;var _0x260e1=_0x5b4601['icon'],_0xad2415=_0x5b4601['id'],_0xc574f4=_0x5b4601[_0x5100e8(0x300)],_0x4dabe7=_0x5b4601['extend'],_0x13c037=Bi(_0x5b4601,[_0x5100e8(0x2b1),'id',_0x5100e8(0x300),_0x5100e8(0x1a2)]),_0x599876='univerjs-icon\x20univerjs-icon-'[_0x5100e8(0x1f4)](_0xad2415,'\x20')['concat'](_0xc574f4||'')[_0x5100e8(0x2d8)](),_0x245f3f=_0x5c48e3('_'[_0x5100e8(0x1f4)](Fi()));return Rt(_0x260e1,''[_0x5100e8(0x1f4)](_0xad2415),{'defIds':_0x260e1['defIds'],'idSuffix':_0x245f3f[_0x5100e8(0x261)]},v({'ref':_0x9d724b,'className':_0x599876},_0x13c037),_0x4dabe7);});function Rt(_0x1c0995,_0x5b501e,_0x29876f,_0x8e5b6c,_0xdb0e87){const _0x1de434=_0x5b4efa;return _0x12f687(_0x1c0995['tag'],v(v({'key':_0x5b501e},ki(_0x1c0995,_0x29876f,_0xdb0e87)),_0x8e5b6c),(Hi(_0x1c0995,_0x29876f)[_0x1de434(0x354)]||[])[_0x1de434(0x286)](function(_0x708733,_0x11c647){const _0x1048a6=_0x1de434;return Rt(_0x708733,''[_0x1048a6(0x1f4)](_0x5b501e,'-')[_0x1048a6(0x1f4)](_0x1c0995[_0x1048a6(0x1bf)],'-')['concat'](_0x11c647),_0x29876f,void 0x0,_0xdb0e87);}));}function ki(_0x4b8493,_0x8ff0cd,_0xfa32b5){const _0x3896ec=_0x5b4efa;var _0x5a225d=v({},_0x4b8493['attrs']);_0xfa32b5!=null&&_0xfa32b5['colorChannel1']&&_0x5a225d['fill']===_0x3896ec(0x2f9)&&(_0x5a225d[_0x3896ec(0x2e4)]=_0xfa32b5[_0x3896ec(0x2f9)]),_0x4b8493[_0x3896ec(0x1bf)]==='mask'&&_0x5a225d['id']&&(_0x5a225d['id']=_0x5a225d['id']+_0x8ff0cd['idSuffix']),Object[_0x3896ec(0x1ec)](_0x5a225d)[_0x3896ec(0x334)](function(_0x11a07c){const _0x114470=_0x3896ec;var _0x14d792=_0x11a07c[0x0],_0x561a8c=_0x11a07c[0x1];_0x14d792==='mask'&&typeof _0x561a8c==_0x114470(0x1fa)&&(_0x5a225d[_0x14d792]=_0x561a8c[_0x114470(0x184)](/url\(#(.*)\)/,_0x114470(0x270)[_0x114470(0x1f4)](_0x8ff0cd[_0x114470(0x214)],')')));});var _0x1b85ce=_0x8ff0cd[_0x3896ec(0x17d)];return!_0x1b85ce||_0x1b85ce['length']===0x0||(_0x4b8493['tag']==='use'&&_0x5a225d['xlink:href']&&(_0x5a225d['xlink:href']=_0x5a225d[_0x3896ec(0x2fe)]+_0x8ff0cd[_0x3896ec(0x214)]),Object['entries'](_0x5a225d)[_0x3896ec(0x334)](function(_0x2c83df){const _0x3bfa96=_0x3896ec;var _0x5155bd=_0x2c83df[0x0],_0x2a9659=_0x2c83df[0x1];typeof _0x2a9659==_0x3bfa96(0x1fa)&&(_0x5a225d[_0x5155bd]=_0x2a9659['replace'](/url\(#(.*)\)/,_0x3bfa96(0x270)['concat'](_0x8ff0cd[_0x3bfa96(0x214)],')')));})),_0x5a225d;}function Hi(_0x5362af,_0x356e26){const _0xc0818f=_0x5b4efa;var _0x2fdc6d,_0x50912c=_0x356e26[_0xc0818f(0x17d)];return!_0x50912c||_0x50912c[_0xc0818f(0x265)]===0x0?_0x5362af:_0x5362af[_0xc0818f(0x1bf)]==='defs'&&(!((_0x2fdc6d=_0x5362af[_0xc0818f(0x354)])===null||_0x2fdc6d===void 0x0)&&_0x2fdc6d[_0xc0818f(0x265)])?v(v({},_0x5362af),{'children':_0x5362af[_0xc0818f(0x354)][_0xc0818f(0x286)](function(_0x26a3a8){const _0x56d846=_0xc0818f;return typeof _0x26a3a8['attrs']['id']==_0x56d846(0x1fa)&&_0x50912c&&_0x50912c[_0x56d846(0x250)](_0x26a3a8[_0x56d846(0x2d1)]['id'])?v(v({},_0x26a3a8),{'attrs':v(v({},_0x26a3a8[_0x56d846(0x2d1)]),{'id':_0x26a3a8[_0x56d846(0x2d1)]['id']+_0x356e26['idSuffix']})}):_0x26a3a8;})}):_0x5362af;}function Fi(){const _0x2975e1=_0x5b4efa;return Math[_0x2975e1(0x324)]()[_0x2975e1(0x331)](0x24)[_0x2975e1(0x343)](0x2,0x8);}Fe[_0x5b4efa(0x2a8)]=_0x5b4efa(0x33b);var Yi={'tag':_0x5b4efa(0x229),'attrs':{'xmlns':_0x5b4efa(0x25f),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x5b4efa(0x2b3),'height':_0x5b4efa(0x2b3)},'children':[{'tag':'g','attrs':{'clipPath':_0x5b4efa(0x275)},'children':[{'tag':_0x5b4efa(0x2e0),'attrs':{'stroke':_0x5b4efa(0x352),'d':_0x5b4efa(0x36e),'strokeLinecap':_0x5b4efa(0x2d6),'strokeLinejoin':_0x5b4efa(0x2d6),'strokeWidth':1.2}}]},{'tag':_0x5b4efa(0x1e4),'attrs':{},'children':[{'tag':_0x5b4efa(0x2c2),'attrs':{'id':_0x5b4efa(0x25c)},'children':[{'tag':_0x5b4efa(0x2e0),'attrs':{'fill':_0x5b4efa(0x2a0),'d':_0x5b4efa(0x252)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x1df6b8(function(_0x3ea0d3,_0x7fcb92){const _0x222ad7=_0x5b4efa;return _0x12f687(Fe,Object['assign']({},_0x3ea0d3,{'id':_0x222ad7(0x34a),'ref':_0x7fcb92,'icon':Yi}));});Dt[_0x5b4efa(0x2a8)]='OffLineIcon';var ji={'tag':_0x5b4efa(0x229),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x5b4efa(0x2b3),'height':_0x5b4efa(0x2b3)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5b4efa(0x2e0),'attrs':{'stroke':_0x5b4efa(0x352),'d':_0x5b4efa(0x34d),'strokeLinecap':_0x5b4efa(0x2d6),'strokeLinejoin':_0x5b4efa(0x2d6),'strokeWidth':1.2}}]},{'tag':_0x5b4efa(0x1e4),'attrs':{},'children':[{'tag':_0x5b4efa(0x2c2),'attrs':{'id':_0x5b4efa(0x2a7)},'children':[{'tag':_0x5b4efa(0x2e0),'attrs':{'fill':_0x5b4efa(0x2a0),'d':_0x5b4efa(0x252),'transform':'translate(.97)'}}]}]}],'defIds':[_0x5b4efa(0x2a7)]},Nt=_0x1df6b8(function(_0x1c359f,_0x38e96b){const _0x1f724c=_0x5b4efa;return _0x12f687(Fe,Object[_0x1f724c(0x1c2)]({},_0x1c359f,{'id':'on-line-icon','ref':_0x38e96b,'icon':ji}));});Nt['displayName']=_0x5b4efa(0x2ed);function Vi(_0x1bd4fe){const _0x3bc281=_0x5b4efa;switch(_0x1bd4fe){case _0x5152ea[_0x3bc281(0x205)]:return _0x3bc281(0x194);case _0x5152ea['CONFLICT']:return'collabStatus.conflict';case _0x5152ea[_0x3bc281(0x355)]:return'collabStatus.fetchMiss';case _0x5152ea[_0x3bc281(0x329)]:return _0x3bc281(0x1ba);case _0x5152ea[_0x3bc281(0x306)]:case _0x5152ea[_0x3bc281(0x2d0)]:return _0x3bc281(0x246);case _0x5152ea[_0x3bc281(0x1ee)]:case _0x5152ea['PENDING']:return _0x3bc281(0x34e);}}function Wi(_0x2ff8d1){const _0x49ae99=_0x5b4efa,{status$:_0x3b6575}=_0x2ff8d1,_0xd4842e=_0x49029c(_0x3b6575,_0x5152ea[_0x49ae99(0x329)]),_0x18f783=_0x188343(_0x144e47),_0x1db4f6=_0x188343(_0x266dab),_0x4f95a4=_0xd4842e!==_0x5152ea[_0x49ae99(0x205)],_0x34df18=_0x18f783['t'](Vi(_0xd4842e)),_0x5cc39c=_0x4f95a4?_0x2b3c94(Nt,{}):_0x2b3c94(Dt,{}),_0x3ffa4e=_0x2efa88(()=>{const _0x4ff238=_0x49ae99;_0x4f95a4||_0x1db4f6[_0x4ff238(0x24f)]();},[_0x4f95a4,_0x1db4f6]);function _0x56fe87(){const _0x35c162=_0x49ae99;return _0x18f578(_0x35c162(0x195),{'className':_0x35c162(0x2a3),'onClick':_0x3ffa4e,'children':[_0x2b3c94('div',{'className':_0x5653b9(_0x35c162(0x1cd),{'univer-text-green-500':_0x4f95a4,'univer-text-red-500':!_0x4f95a4}),'children':_0x5cc39c}),_0x2b3c94(_0x35c162(0x195),{'className':_0x35c162(0x192),'children':_0x34df18})]});}return _0x4f95a4?_0x56fe87():_0x2b3c94(_0x184e3c,{'title':_0x18f783['t']('collab-client.tooltip.reconnect'),'children':_0x56fe87()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x143ba9,_0x53afdf,_0x45871a,_0x1e4059)=>{for(var _0x516cf0=_0x1e4059>0x1?void 0x0:_0x1e4059?Xi(_0x53afdf,_0x45871a):_0x53afdf,_0x5b89ea=_0x143ba9['length']-0x1,_0x2a823a;_0x5b89ea>=0x0;_0x5b89ea--)(_0x2a823a=_0x143ba9[_0x5b89ea])&&(_0x516cf0=_0x2a823a(_0x516cf0)||_0x516cf0);return _0x516cf0;},Q=(_0x58c43e,_0x25f4e2)=>(_0x3dc346,_0x4a266b)=>_0x25f4e2(_0x3dc346,_0x4a266b,_0x58c43e);let te=class extends _0x3449ee{constructor(_0x584fad,_0x41a164,_0x5c7bc5,_0x112a51){const _0x543e17=_0x5b4efa;super(),_(this,'_status$',new _0x4f34ea(_0x5152ea[_0x543e17(0x329)])),(this['_univerInstanceService']=_0x584fad,this[_0x543e17(0x260)]=_0x41a164,this[_0x543e17(0x23c)]=_0x5c7bc5,this['_uiPartsService']=_0x112a51,this[_0x543e17(0x29a)](),this[_0x543e17(0x1fb)]());}[_0x5b4efa(0x1fb)](){const _0xab2af=_0x5b4efa;this[_0xab2af(0x33f)](this[_0xab2af(0x254)][_0xab2af(0x228)]['pipe'](_0x542af7(()=>{const _0x855d83=_0xab2af,_0x2c17e1=this[_0x855d83(0x254)][_0x855d83(0x1cf)]();return _0x2c17e1?this[_0x855d83(0x23c)]['getCollabEntity$'](_0x2c17e1['getUnitId']()):_0x47a53c(null);}),_0x542af7(_0x2aae67=>_0x2aae67?_0x2aae67[_0xab2af(0x2e5)]:_0x47a53c(_0x5152ea[_0xab2af(0x329)])))[_0xab2af(0x244)](_0x554f37=>{const _0x599026=_0xab2af;this[_0x599026(0x1e6)][_0x599026(0x2ac)](_0x554f37);}));}[_0x5b4efa(0x29a)](){const _0x507abe=_0x5b4efa;this['disposeWithMe'](this[_0x507abe(0x288)][_0x507abe(0x223)](_0x29a40d[_0x507abe(0x1f9)],()=>_0x3c5ef4(Ki({'status$':this['_status$'][_0x507abe(0x28a)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x166042),Q(0x1,_0x17f821(_0x1bdaf6)),Q(0x2,_0x17f821(_0x408cc6)),Q(0x3,_0xa159a1)],te);function Ki(_0x161a69){const {status$:_0x4d300d}=_0x161a69;return function(){return _0x2b3c94(Wi,{'status$':_0x4d300d});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x4bafcf,_0x13be4c,_0x3fda2b,_0x2d5f8d)=>{const _0x426693=_0x5b4efa;for(var _0x416016=_0x2d5f8d>0x1?void 0x0:_0x2d5f8d?zi(_0x13be4c,_0x3fda2b):_0x13be4c,_0x4cacdf=_0x4bafcf[_0x426693(0x265)]-0x1,_0x4268c4;_0x4cacdf>=0x0;_0x4cacdf--)(_0x4268c4=_0x4bafcf[_0x4cacdf])&&(_0x416016=_0x4268c4(_0x416016)||_0x416016);return _0x416016;},B=(_0x4d3914,_0x4fe3db)=>(_0x32cdca,_0x2d7777)=>_0x4fe3db(_0x32cdca,_0x2d7777,_0x4d3914);let se=class extends _0x3449ee{constructor(_0x5d3805,_0x3e33da,_0x25e9fe,_0x5a52f5,_0x2bf583,_0x2c8c52){const _0x122e62=_0x5b4efa;super(),this['_beforeCloseService']=_0x5d3805,this['_localCacheService']=_0x3e33da,this[_0x122e62(0x240)]=_0x25e9fe,this[_0x122e62(0x1a0)]=_0x5a52f5,this[_0x122e62(0x35d)]=_0x2bf583,this['_localeService']=_0x2c8c52,this[_0x122e62(0x1d1)](),this[_0x122e62(0x233)]();}['_setupBeforeClosingHandler'](){const _0x1dc9c8=_0x5b4efa;this['disposeWithMe'](this[_0x1dc9c8(0x2fd)]['registerBeforeClose'](()=>{const _0x4111bc=_0x1dc9c8;if(this['_localCacheService'][_0x4111bc(0x190)][_0x4111bc(0x312)])return this['_localeService']['t'](_0x4111bc(0x381));}));}[_0x5b4efa(0x233)](){const _0x563f53=_0x5b4efa;this[_0x563f53(0x33f)](this[_0x563f53(0x240)][_0x563f53(0x2b8)]['subscribe'](_0xfc6ee3=>{const _0x29d1ac=_0x563f53;_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x17b)]&&this[_0x29d1ac(0x1a0)][_0x29d1ac(0x218)]({'type':_0x21a0d4[_0x29d1ac(0x263)],'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x23f))}),_0xfc6ee3['id']===_0x1eb493['CLOSE_ROOM']&&this[_0x29d1ac(0x1a0)][_0x29d1ac(0x218)]({'type':_0x21a0d4[_0x29d1ac(0x263)],'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x279))}),_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x196)]&&this[_0x29d1ac(0x35d)][_0x29d1ac(0x218)]({'title':this[_0x29d1ac(0x191)]['t']('permission.title'),'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x367)),'type':_0x29d1ac(0x1d3),'duration':0x0}),_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x193)]&&this[_0x29d1ac(0x1a0)]['show']({'type':_0x21a0d4['Error'],'content':this['_localeService']['t'](_0x29d1ac(0x279))+'('+_0xfc6ee3[_0x29d1ac(0x24b)]+')'}),_0xfc6ee3['id']===_0x1eb493['JOIN_ROOM_FAILED']&&this[_0x29d1ac(0x1a0)][_0x29d1ac(0x218)]({'type':_0x21a0d4[_0x29d1ac(0x263)],'content':this[_0x29d1ac(0x191)]['t'](_0xfc6ee3['data']||'')}),_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x2ee)]&&this[_0x29d1ac(0x1a0)]['show']({'type':_0x21a0d4[_0x29d1ac(0x263)],'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x22c))}),_0xfc6ee3['id']===_0x1eb493['SOCKET_FAILED']&&this['_messageService'][_0x29d1ac(0x218)]({'type':_0x21a0d4['Error'],'content':this['_localeService']['t'](_0x29d1ac(0x24c))}),_0xfc6ee3['id']===_0x1eb493[_0x29d1ac(0x289)]&&this[_0x29d1ac(0x1a0)][_0x29d1ac(0x218)]({'type':_0x21a0d4[_0x29d1ac(0x1e2)],'content':this[_0x29d1ac(0x191)]['t'](_0x29d1ac(0x182))});}));}};se=Ji([B(0x0,_0x203a64),B(0x1,_0x277322),B(0x2,_0x17f821(_0x1fe7b1)),B(0x3,_0x3e5e5c),B(0x4,_0x427272),B(0x5,_0x17f821(_0x144e47))],se);const Zi=_0x5b4efa(0x1ef),et={},Ut=_0x5c862b(_0x5b4efa(0x2c9));var Qi=Object[_0x5b4efa(0x23d)],qi=(_0x1d1b47,_0x433c16,_0x50fbea,_0x2c2c5c)=>{const _0x2fcd5a=_0x5b4efa;for(var _0x32aca1=_0x2c2c5c>0x1?void 0x0:_0x2c2c5c?Qi(_0x433c16,_0x50fbea):_0x433c16,_0x1062e8=_0x1d1b47[_0x2fcd5a(0x265)]-0x1,_0x13b283;_0x1062e8>=0x0;_0x1062e8--)(_0x13b283=_0x1d1b47[_0x1062e8])&&(_0x32aca1=_0x13b283(_0x32aca1)||_0x32aca1);return _0x32aca1;},G=(_0x3decbd,_0x199214)=>(_0x2eeffd,_0x35f84e)=>_0x199214(_0x2eeffd,_0x35f84e,_0x3decbd);let ie=class extends _0x38ba1e{constructor(_0x4461cb,_0x3e13ae,_0x3f2e37,_0x230b80,_0x5dc797){const _0xf8411c=_0x5b4efa;super(),this[_0xf8411c(0x199)]=_0x4461cb,this[_0xf8411c(0x1d8)]=_0x3e13ae,this['_commandService']=_0x3f2e37,this[_0xf8411c(0x2f5)]=_0x230b80,_0x5dc797?_0x5dc797==null||_0x5dc797[_0xf8411c(0x18c)]()[_0xf8411c(0x1f6)](()=>this[_0xf8411c(0x17f)]()):(this[_0xf8411c(0x1d8)][_0xf8411c(0x336)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xf8411c(0x17f)]());}async[_0x5b4efa(0x17f)](){const _0x303758=_0x5b4efa,_0x5b40fd=this[_0x303758(0x199)]['getParam']('unit'),_0x5121a2=this[_0x303758(0x199)]['getParam'](_0x303758(0x28e)),_0x28a06b=this[_0x303758(0x199)][_0x303758(0x198)](_0x303758(0x179));if(!_0x5b40fd||!_0x5121a2){this[_0x303758(0x1d8)][_0x303758(0x336)](_0x303758(0x283),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x3301cc=await this[_0x303758(0x2f5)][_0x303758(0x292)](_0x5b40fd,Number(_0x5121a2),_0x28a06b);_0x3301cc&&_0x3301cc instanceof _0x32759e&&this[_0x303758(0x19d)](_0x3301cc);}async['_setupSubUnitSync'](_0x487df6){const _0x4e13ef=_0x5b4efa;await this[_0x4e13ef(0x373)](_0x487df6),_0x487df6[_0x4e13ef(0x2da)][_0x4e13ef(0x1b5)](_0x40f407(this[_0x4e13ef(0x278)]))[_0x4e13ef(0x244)](_0x51e891=>{_0x51e891&&this['_updateURLWithCurrentState'](_0x51e891);}),this[_0x4e13ef(0x199)][_0x4e13ef(0x31e)]['pipe'](_0x40f407(this[_0x4e13ef(0x278)]))[_0x4e13ef(0x244)](()=>this[_0x4e13ef(0x373)](_0x487df6));}[_0x5b4efa(0x1e8)](_0x519401,_0xf525af=!0x1){const _0x5874f7=_0x5b4efa,_0x41db4d=this[_0x5874f7(0x199)][_0x5874f7(0x198)](_0x5874f7(0x179));_0x519401[_0x5874f7(0x2c7)]()!==_0x41db4d&&this['_urlService'][_0x5874f7(0x241)](_0x5874f7(0x179),_0x519401[_0x5874f7(0x2c7)](),_0xf525af);}async['_updateSubUnitFromURLParams'](_0x572563){const _0x36e9cb=_0x5b4efa;var _0x5a2cc4;const _0x5c0488=this['_urlService']['getParam'](_0x36e9cb(0x179));if(!_0x5c0488||!_0x572563[_0x36e9cb(0x2fc)](_0x5c0488)){const _0x3de7cc=_0x572563[_0x36e9cb(0x2d3)]()[0x0],_0x2a154d=_0x572563[_0x36e9cb(0x2fc)](_0x3de7cc);if(!_0x2a154d)return;this[_0x36e9cb(0x1e8)](_0x2a154d,!0x0),await this[_0x36e9cb(0x1ae)][_0x36e9cb(0x35e)](_0x31db9e['id'],{'unitId':_0x572563[_0x36e9cb(0x180)](),'subUnitId':_0x3de7cc});return;}((_0x5a2cc4=_0x572563[_0x36e9cb(0x2ba)]())==null?void 0x0:_0x5a2cc4['getSheetId']())!==_0x5c0488&&await this[_0x36e9cb(0x1ae)][_0x36e9cb(0x35e)](_0x31db9e['id'],{'unitId':_0x572563[_0x36e9cb(0x180)](),'subUnitId':_0x5c0488});}};ie=qi([G(0x0,Ut),G(0x1,_0x41ac4f),G(0x2,_0xb833f6),G(0x3,_0x17f821(_0x1465dc)),G(0x4,_0x2b45e6(_0x55556f))],ie);function _0x3518(_0x365dd4,_0xfbcd4e){const _0x357957=_0x3579();return _0x3518=function(_0x3518ed,_0x2b63f4){_0x3518ed=_0x3518ed-0x179;let _0x33bc0b=_0x357957[_0x3518ed];return _0x33bc0b;},_0x3518(_0x365dd4,_0xfbcd4e);}var en=Object[_0x5b4efa(0x23d)],tn=(_0x4d4b3e,_0x3bbb11,_0x54b184,_0x2fecd3)=>{const _0x1e877e=_0x5b4efa;for(var _0x12746e=_0x2fecd3>0x1?void 0x0:_0x2fecd3?en(_0x3bbb11,_0x54b184):_0x3bbb11,_0x225b06=_0x4d4b3e[_0x1e877e(0x265)]-0x1,_0x1bc740;_0x225b06>=0x0;_0x225b06--)(_0x1bc740=_0x4d4b3e[_0x225b06])&&(_0x12746e=_0x1bc740(_0x12746e)||_0x12746e);return _0x12746e;},pe=(_0x56c055,_0x361a6d)=>(_0x221693,_0x13df08)=>_0x361a6d(_0x221693,_0x13df08,_0x56c055);let ne=class{constructor(_0x547ae4,_0x2d8757,_0x420e8b){const _0x4eef1d=_0x5b4efa;this[_0x4eef1d(0x260)]=_0x547ae4,this[_0x4eef1d(0x30e)]=_0x2d8757,this[_0x4eef1d(0x216)]=_0x420e8b;}[_0x5b4efa(0x1de)](_0x5b13cb){const _0xb576b5=_0x5b4efa;this[_0xb576b5(0x2af)](_0x5b13cb),this[_0xb576b5(0x372)](_0x5b13cb);}[_0x5b4efa(0x1f8)](_0x46e3de){const _0x14876b=_0x5b4efa,{unitID:_0xf63b19}=_0x46e3de,_0x5971c6=this[_0x14876b(0x216)]['getRenderById'](_0xf63b19)[_0x14876b(0x22a)](_0x328532),{redoCache:_0x3503ed}=_0x5971c6['getUndoRedoMutationParamsCache']();if(_0x3503ed[_0x14876b(0x265)]===0x0)return _0x46e3de;let _0x8fab45=_0x9af4da[_0x14876b(0x200)](_0x46e3de[_0x14876b(0x2a4)][0x0]);for(let _0x5252a9=0x0;_0x5252a9<_0x3503ed['length'];_0x5252a9++){const _0x350c2f={'id':_0x14876b(0x1eb),'params':{..._0x3503ed[_0x5252a9]}},_0xd4c022=this['_transformService'][_0x14876b(0x293)](_0x8fab45,_0x350c2f,!0x1);if(_0x1985d5(_0xd4c022))throw _0xd4c022[_0x14876b(0x1d3)];_0x8fab45=_0xd4c022[_0x14876b(0x360)];}return{..._0x9af4da[_0x14876b(0x200)](_0x46e3de),'mutations':[_0x8fab45]};}[_0x5b4efa(0x2af)](_0x324852){const _0x345202=_0x5b4efa,{unitID:_0x59cea0}=_0x324852,_0x4156f8=this[_0x345202(0x216)][_0x345202(0x26f)](_0x59cea0)[_0x345202(0x22a)](_0x328532),{undoCache:_0x586bdf,redoCache:_0x166b7f}=_0x4156f8[_0x345202(0x342)]();if(_0x586bdf[_0x345202(0x265)]===0x0||_0x166b7f[_0x345202(0x265)]===0x0)return;const _0x1c2ac5=[],_0x29d20f=[];let _0x53f1a6=_0x9af4da['deepClone'](_0x324852[_0x345202(0x2a4)][0x0]),_0x1e7bad=_0x9af4da[_0x345202(0x200)](_0x324852['mutations'][0x0]);for(let _0xda31b=_0x586bdf[_0x345202(0x265)]-0x1;_0xda31b>=0x0;_0xda31b--){const _0x593394={'id':'doc.mutation.rich-text-editing','params':{..._0x586bdf[_0xda31b]}},_0x57138c={'id':_0x345202(0x1eb),'params':{..._0x166b7f[_0xda31b]}},_0x51c0a5=this[_0x345202(0x30e)][_0x345202(0x293)](_0x53f1a6,_0x593394,!0x1),_0x103c02=this[_0x345202(0x30e)][_0x345202(0x293)](_0x1e7bad,_0x57138c,!0x1);if(_0x1985d5(_0x51c0a5))throw _0x51c0a5[_0x345202(0x1d3)];if(_0x1985d5(_0x103c02))throw _0x103c02[_0x345202(0x1d3)];_0x1c2ac5[_0x345202(0x25e)](_0x51c0a5['m2Prime'][_0x345202(0x1af)]),_0x29d20f['unshift'](_0x103c02[_0x345202(0x32b)][_0x345202(0x1af)]),_0x53f1a6=_0x51c0a5[_0x345202(0x360)],_0x1e7bad=_0x103c02[_0x345202(0x360)];}_0x4156f8[_0x345202(0x1be)]({'undoCache':_0x1c2ac5,'redoCache':_0x29d20f});}[_0x5b4efa(0x372)](_0x48d285){const _0x3ad753=_0x5b4efa,{unitID:_0x833123}=_0x48d285,_0x3b9767=this[_0x3ad753(0x216)][_0x3ad753(0x26f)](_0x833123)[_0x3ad753(0x22a)](_0x328532),_0x21aab9=_0x3b9767[_0x3ad753(0x22d)]();if(_0x21aab9==null)return;const _0x4c8958=[{'id':_0x3ad753(0x1eb),'params':{'unitId':_0x48d285['unitID'],'actions':null,'textRanges':[_0x21aab9]}}],_0x51cd2c=this[_0x3ad753(0x30e)]['transformMutationsWithChangeset'](_0x48d285,_0x4c8958);if(!_0x196989(_0x51cd2c))throw _0x51cd2c['error'];const _0x172382=_0x51cd2c[_0x3ad753(0x32b)][0x0]['params'][_0x3ad753(0x32c)];Array[_0x3ad753(0x2f8)](_0x172382)&&_0x172382['length']&&_0x3b9767[_0x3ad753(0x242)](_0x172382[0x0]);}};ne=tn([pe(0x0,_0x17f821(_0x1bdaf6)),pe(0x1,_0x220695),pe(0x2,_0x9df613)],ne);var sn=Object[_0x5b4efa(0x23d)],nn=(_0x43ff91,_0x2d67fc,_0x28e49e,_0x37695e)=>{const _0x4efb53=_0x5b4efa;for(var _0x3de108=_0x37695e>0x1?void 0x0:_0x37695e?sn(_0x2d67fc,_0x28e49e):_0x2d67fc,_0x34b967=_0x43ff91[_0x4efb53(0x265)]-0x1,_0x280f65;_0x34b967>=0x0;_0x34b967--)(_0x280f65=_0x43ff91[_0x34b967])&&(_0x3de108=_0x280f65(_0x3de108)||_0x3de108);return _0x3de108;},Ce=(_0x3fba6d,_0x4dd7c9)=>(_0x352390,_0x33a9f0)=>_0x4dd7c9(_0x352390,_0x33a9f0,_0x3fba6d);let re=class{constructor(_0x21505f,_0x18ae0c,_0x3b94d0){const _0x8496fd=_0x5b4efa;this['_injector']=_0x21505f,this['_transformService']=_0x18ae0c,this[_0x8496fd(0x357)]=_0x3b94d0;}[_0x5b4efa(0x2f2)](_0x1faeca){const _0x434690=_0x5b4efa;this[_0x434690(0x26b)](_0x1faeca);}[_0x5b4efa(0x1f8)](_0x5c29c9){const _0x13cf58=_0x5b4efa,{unitID:_0x1d74b8}=_0x5c29c9,{collaboration:_0x450f05}=this[_0x13cf58(0x357)][_0x13cf58(0x2ef)](_0x1d74b8);if(_0x450f05[_0x13cf58(0x265)]===0x0)return _0x5c29c9;let _0x4939f5=_0x9af4da[_0x13cf58(0x200)](_0x5c29c9[_0x13cf58(0x2a4)][0x0]);for(let _0x19240f=0x0;_0x19240f<_0x450f05[_0x13cf58(0x265)];_0x19240f++){const _0xb1ede9={'id':_0x13cf58(0x1eb),'params':{'unitId':_0x450f05[_0x19240f][_0x13cf58(0x351)],..._0x450f05[_0x19240f][_0x13cf58(0x235)]}},_0x373069=this[_0x13cf58(0x30e)]['transformMutation'](_0x4939f5,_0xb1ede9,!0x1);if(_0x1985d5(_0x373069))throw _0x373069[_0x13cf58(0x1d3)];_0x4939f5=_0x373069['m1Prime'];}return{..._0x9af4da[_0x13cf58(0x200)](_0x5c29c9),'mutations':[_0x4939f5]};}[_0x5b4efa(0x26b)](_0x24244c){const _0x331309=_0x5b4efa,{unitID:_0x24eee3}=_0x24244c,{history:_0x46a5cb,collaboration:_0x1b6b56}=this[_0x331309(0x357)][_0x331309(0x2ef)](_0x24eee3);if(_0x46a5cb[_0x331309(0x265)]===0x0&&_0x1b6b56[_0x331309(0x265)]===0x0)return;const _0x9404c=[],_0x1b6c9b=[];let _0x3fc43e=_0x9af4da['deepClone'](_0x24244c[_0x331309(0x2a4)][0x0]),_0x116698=_0x9af4da[_0x331309(0x200)](_0x24244c['mutations'][0x0]);for(let _0x11d5f1=_0x46a5cb[_0x331309(0x265)]-0x1;_0x11d5f1>=0x0;_0x11d5f1--){const _0x30d1f8={'id':_0x331309(0x1eb),'params':{'unitId':_0x46a5cb[_0x11d5f1][_0x331309(0x351)],..._0x46a5cb[_0x11d5f1][_0x331309(0x268)]}},_0x2a2c3f={'id':_0x331309(0x1eb),'params':{'unitId':_0x46a5cb[_0x11d5f1]['unitId'],..._0x46a5cb[_0x11d5f1]['redoState']}},_0x713cc4=this['_transformService'][_0x331309(0x293)](_0x3fc43e,_0x30d1f8,!0x1),_0x1c7c03=this[_0x331309(0x30e)]['transformMutation'](_0x116698,_0x2a2c3f,!0x1);if(_0x1985d5(_0x713cc4))throw _0x713cc4[_0x331309(0x1d3)];if(_0x1985d5(_0x1c7c03))throw _0x1c7c03['error'];_0x9404c[_0x331309(0x25e)]({..._0x46a5cb[_0x11d5f1],'undoState':_0x713cc4['m2Prime']['params'],'redoState':_0x1c7c03['m2Prime'][_0x331309(0x1af)]}),_0x3fc43e=_0x713cc4[_0x331309(0x360)],_0x116698=_0x1c7c03[_0x331309(0x360)];}_0x3fc43e=_0x9af4da[_0x331309(0x200)](_0x24244c[_0x331309(0x2a4)][0x0]),_0x116698=_0x9af4da['deepClone'](_0x24244c['mutations'][0x0]);for(let _0x51ab11=_0x1b6b56[_0x331309(0x265)]-0x1;_0x51ab11>=0x0;_0x51ab11--){const _0x148ae2={'id':_0x331309(0x1eb),'params':{'unitId':_0x1b6b56[_0x51ab11][_0x331309(0x351)],..._0x1b6b56[_0x51ab11][_0x331309(0x268)]}},_0x350b69={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1b6b56[_0x51ab11][_0x331309(0x351)],..._0x1b6b56[_0x51ab11][_0x331309(0x235)]}},_0xf1c116=this[_0x331309(0x30e)]['transformMutation'](_0x3fc43e,_0x148ae2,!0x1),_0x1b0075=this[_0x331309(0x30e)][_0x331309(0x293)](_0x116698,_0x350b69,!0x1);if(_0x1985d5(_0xf1c116))throw _0xf1c116[_0x331309(0x1d3)];if(_0x1985d5(_0x1b0075))throw _0x1b0075[_0x331309(0x1d3)];_0x1b6c9b['unshift']({..._0x1b6b56[_0x51ab11],'undoState':_0xf1c116[_0x331309(0x32b)][_0x331309(0x1af)],'redoState':_0x1b0075[_0x331309(0x32b)]['params']}),_0x3fc43e=_0xf1c116['m1Prime'],_0x116698=_0x1b0075[_0x331309(0x360)];}this[_0x331309(0x357)]['setStateCache'](_0x24eee3,{'history':_0x9404c,'collaboration':_0x1b6c9b});}};re=nn([Ce(0x0,_0x17f821(_0x1bdaf6)),Ce(0x1,_0x220695),Ce(0x2,_0x17f821(_0x1911b2))],re);var rn=Object[_0x5b4efa(0x23d)],on=(_0x4e49f9,_0x54d7c0,_0x1fae96,_0x938fb1)=>{const _0x14eccb=_0x5b4efa;for(var _0x9f3014=_0x938fb1>0x1?void 0x0:_0x938fb1?rn(_0x54d7c0,_0x1fae96):_0x54d7c0,_0x39bd52=_0x4e49f9[_0x14eccb(0x265)]-0x1,_0x36e013;_0x39bd52>=0x0;_0x39bd52--)(_0x36e013=_0x4e49f9[_0x39bd52])&&(_0x9f3014=_0x36e013(_0x9f3014)||_0x9f3014);return _0x9f3014;},tt=(_0x2691de,_0x5e8031)=>(_0x391740,_0x3cc5d5)=>_0x5e8031(_0x391740,_0x3cc5d5,_0x2691de);let oe=class{constructor(_0x169c71,_0x124e2e){const _0x4dc5c5=_0x5b4efa;this[_0x4dc5c5(0x260)]=_0x169c71,this[_0x4dc5c5(0x30e)]=_0x124e2e;}['transformSelections'](_0x56d5c8){const _0x264f91=_0x5b4efa;var _0x6f0511;const _0x4539ca=this['_injector'][_0x264f91(0x2ce)](_0x98b222),_0x4f5f23=(_0x6f0511=_0x4539ca[_0x264f91(0x1b1)]())!=null?_0x6f0511:[];if(_0x4f5f23[_0x264f91(0x265)]===0x0)return;const _0x15fb76=_0x56d5c8[_0x264f91(0x35a)],_0x531daa=[{'id':_0x264f91(0x1eb),'params':{'unitId':_0x15fb76,'actions':null,'textRanges':_0x4f5f23}}],_0x115fbc=this[_0x264f91(0x30e)][_0x264f91(0x2ff)](_0x56d5c8,_0x531daa);if(!_0x196989(_0x115fbc))throw _0x115fbc[_0x264f91(0x1d3)];const _0x28730a=_0x115fbc[_0x264f91(0x32b)][0x0][_0x264f91(0x1af)][_0x264f91(0x32c)];Array[_0x264f91(0x2f8)](_0x28730a)&&_0x28730a[_0x264f91(0x265)]&&_0x4539ca[_0x264f91(0x1ca)](_0x28730a,{'unitId':_0x15fb76,'subUnitId':_0x15fb76},!0x1);}};oe=on([tt(0x0,_0x17f821(_0x1bdaf6)),tt(0x1,_0x220695)],oe);var an=Object[_0x5b4efa(0x23d)],cn=(_0x4fbff8,_0x273985,_0xd8dc04,_0x28d47e)=>{const _0x123bc6=_0x5b4efa;for(var _0x58c474=_0x28d47e>0x1?void 0x0:_0x28d47e?an(_0x273985,_0xd8dc04):_0x273985,_0x485d94=_0x4fbff8[_0x123bc6(0x265)]-0x1,_0x513567;_0x485d94>=0x0;_0x485d94--)(_0x513567=_0x4fbff8[_0x485d94])&&(_0x58c474=_0x513567(_0x58c474)||_0x58c474);return _0x58c474;},U=(_0x30725c,_0x12ebd1)=>(_0x402a31,_0x1af5ff)=>_0x12ebd1(_0x402a31,_0x1af5ff,_0x30725c);let ae=class extends _0x3449ee{constructor(_0xacb716,_0x2fab22,_0x4ae258,_0x4ba08d,_0x301437,_0x4216ef,_0x463a92,_0x5098e0){const _0x520df2=_0x5b4efa;super(),_(this,'_status$',new _0x4f34ea(_0x5152ea['NOT_COLLAB'])),(this[_0x520df2(0x357)]=_0xacb716,this[_0x520df2(0x23c)]=_0x2fab22,this[_0x520df2(0x369)]=_0x4ae258,this['_docTransformStateCacheService']=_0x4ba08d,this[_0x520df2(0x37d)]=_0x301437,this[_0x520df2(0x1d0)]=_0x4216ef,this[_0x520df2(0x1a0)]=_0x463a92,this[_0x520df2(0x191)]=_0x5098e0,this['_initEntityListener']());}[_0x5b4efa(0x28d)](){const _0xcfc892=_0x5b4efa;this[_0xcfc892(0x33f)](this[_0xcfc892(0x23c)]['entityInit$'][_0xcfc892(0x244)](_0x36ed2c=>{const _0x3c1291=_0xcfc892,_0x375bf6=this['_docStateChangeManagerService'][_0x3c1291(0x197)][_0x3c1291(0x244)](_0x51dbdb=>{const _0x13b779=_0x3c1291;if(_0x51dbdb==null)return;const {unitId:_0x287990,redoState:_0x407026,commandId:_0x2680a4}=_0x51dbdb;if(_0x287990!==_0x36ed2c[_0x13b779(0x35a)])return;const _0x23d6c4={'id':_0x2680a4,'type':_0x5a7480[_0x13b779(0x27e)],'params':{'unitId':_0x287990,'actions':_0x407026['actions'],'textRanges':null}};_0x36ed2c[_0x13b779(0x201)](_0x23d6c4);});if(_0x36ed2c[_0x3c1291(0x33f)](_0x375bf6),_0x36ed2c instanceof _0x309fe9){const _0x28b532={'onTransformIME':_0x17611e=>this[_0x3c1291(0x369)][_0x3c1291(0x1de)](_0x17611e),'onTransformState':_0x5d05e1=>this['_docTransformStateCacheService']['transformStateCache'](_0x5d05e1),'onTransformSelections':_0x328741=>this['_docTransformSelectionsService']['transformSelections'](_0x328741),'onSyncEditingCollabCursor':_0x35dabc=>this[_0x3c1291(0x1d0)][_0x3c1291(0x2ad)](_0x35dabc),'onTransformRemoteChangesetByIMECache':_0x278e31=>this[_0x3c1291(0x369)][_0x3c1291(0x1f8)](_0x278e31),'onTransformRemoteChangesetByStateCache':_0x259301=>this[_0x3c1291(0x1b6)]['transformRemoteChangeset'](_0x259301)};_0x36ed2c[_0x3c1291(0x353)](_0x28b532);}}));}};ae=cn([U(0x0,_0x17f821(_0x1911b2)),U(0x1,_0x17f821(_0x408cc6)),U(0x2,_0x17f821(ne)),U(0x3,_0x17f821(re)),U(0x4,_0x17f821(oe)),U(0x5,_0x17f821(He)),U(0x6,_0x3e5e5c),U(0x7,_0x17f821(_0x144e47))],ae);var ln=Object[_0x5b4efa(0x23d)],_n=(_0x469e46,_0x30dbe1,_0x30f4be,_0x4e4f30)=>{const _0x5f2e1e=_0x5b4efa;for(var _0x8df0e1=_0x4e4f30>0x1?void 0x0:_0x4e4f30?ln(_0x30dbe1,_0x30f4be):_0x30dbe1,_0x43abf2=_0x469e46[_0x5f2e1e(0x265)]-0x1,_0x34b2e6;_0x43abf2>=0x0;_0x43abf2--)(_0x34b2e6=_0x469e46[_0x43abf2])&&(_0x8df0e1=_0x34b2e6(_0x8df0e1)||_0x8df0e1);return _0x8df0e1;},Ee=(_0xab53ae,_0x51f54c)=>(_0x159b66,_0x2a8dcd)=>_0x51f54c(_0x159b66,_0x2a8dcd,_0xab53ae);let we=class extends _0x3449ee{constructor(_0x507ad5,_0x406c1f,_0x3255c0){const _0x3fd927=_0x5b4efa;super(),_(this,_0x3fd927(0x2cd),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x3fd927(0x1c1),!0x1),(this['_configService']=_0x507ad5,this[_0x3fd927(0x1e7)]=_0x406c1f,this['_revisionService']=_0x3255c0);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x5b4efa(0x309)](){const _0xac2b63=_0x5b4efa;this[_0xac2b63(0x1c1)]=!0x1;}get[_0x5b4efa(0x190)](){return this['_saveTaskMap'];}['dispose'](){const _0x8e1225=_0x5b4efa;this[_0x8e1225(0x370)]()['then'](()=>super[_0x8e1225(0x2e2)]());}async['loadOfflineData'](_0x588a21){const _0x4ead91=_0x5b4efa;return this[_0x4ead91(0x1c1)]?null:this[_0x4ead91(0x1e7)][_0x4ead91(0x1d6)](_0x2c338a(_0x588a21));}async[_0x5b4efa(0x220)](_0x106e50,_0x561bd7){const _0x4cbb86=_0x5b4efa;return!!this[_0x4cbb86(0x1e7)]['setItem'](_0x106e50,_0x561bd7);}[_0x5b4efa(0x1dc)](_0x4225a9,_0x4a9502,_0x563add,_0x1ada19){const _0x509726=_0x5b4efa,_0x2c2bf8=this[_0x509726(0x2a5)][_0x509726(0x31b)](_0x4225a9);this['_cachedData'][_0x509726(0x19b)](_0x4225a9,{'unitID':_0x4225a9,'type':_0x4a9502,'awaitingChangeset':_0x563add,'mutations':_0x1ada19,'rev':_0x2c2bf8}),this[_0x509726(0x327)]['has'](_0x4225a9)||this[_0x509726(0x37c)](_0x4225a9);}[_0x5b4efa(0x37c)](_0x293357){const _0x44e5a9=_0x5b4efa,_0x891a5=this[_0x44e5a9(0x325)]();_0x891a5===0x0?this[_0x44e5a9(0x1ab)](_0x293357):this[_0x44e5a9(0x327)][_0x44e5a9(0x19b)](_0x293357,setTimeout(()=>this[_0x44e5a9(0x1ab)](_0x293357),_0x891a5));}[_0x5b4efa(0x325)](){const _0x57ac19=_0x5b4efa;var _0x5384ba;return(_0x5384ba=this[_0x57ac19(0x24e)]['getConfig'](_0xf066de))!=null?_0x5384ba:_0x356154;}[_0x5b4efa(0x1ab)](_0x218aa1){const _0x2e1620=_0x5b4efa,_0x362902=this[_0x2e1620(0x327)][_0x2e1620(0x2ce)](_0x218aa1);return _0x362902!==void 0x0&&window['clearTimeout'](_0x362902),this['_localStorageService'][_0x2e1620(0x320)](_0x2c338a(_0x218aa1),this[_0x2e1620(0x2cd)][_0x2e1620(0x2ce)](_0x218aa1))['then'](()=>this[_0x2e1620(0x327)][_0x2e1620(0x310)](_0x218aa1));}async[_0x5b4efa(0x370)](){const _0x39bb73=_0x5b4efa,_0x36a49a=[];this[_0x39bb73(0x327)][_0x39bb73(0x334)]((_0x17e4f7,_0x2c37ce)=>{const _0x554666=_0x39bb73;window['clearTimeout'](_0x17e4f7),_0x36a49a[_0x554666(0x2d4)](this[_0x554666(0x1ab)](_0x2c37ce)['then'](()=>{const _0x11e9d9=_0x554666;this[_0x11e9d9(0x327)][_0x11e9d9(0x310)](_0x2c37ce);}));}),await Promise[_0x39bb73(0x31c)](_0x36a49a);}};we=_n([Ee(0x0,_0x556e6e),Ee(0x1,_0x28ad72),Ee(0x2,_0x17f821(_0x383424))],we);class hn extends _0x38ba1e{constructor(){const _0x2814f6=_0x5b4efa;super(),_(this,'urlChange$'),this[_0x2814f6(0x31e)]=_0x15f7b3(window,_0x2814f6(0x203))[_0x2814f6(0x1b5)](_0x40f407(this['dispose$']),_0x3b7abc(0x1),_0x13995b(void 0x0));}[_0x5b4efa(0x241)](_0x59bf82,_0x1335c1,_0x1cdf71=!0x1){const _0x48d1d3=_0x5b4efa,_0x2ce768=new URL(window['location'][_0x48d1d3(0x237)]);_0x2ce768['searchParams'][_0x48d1d3(0x19b)](_0x59bf82,_0x1335c1),_0x1cdf71?window['history'][_0x48d1d3(0x19f)]('','',_0x2ce768['toString']()):window[_0x48d1d3(0x317)][_0x48d1d3(0x26a)]('','',_0x2ce768[_0x48d1d3(0x331)]());}[_0x5b4efa(0x20f)](_0x2c5ac1,_0x3d8682=!0x1){const _0x40bcfd=_0x5b4efa,_0x42ff84=new URL(window['location'][_0x40bcfd(0x237)]);_0x42ff84[_0x40bcfd(0x1f0)][_0x40bcfd(0x310)](_0x2c5ac1),_0x3d8682?window[_0x40bcfd(0x317)][_0x40bcfd(0x19f)]('','',_0x42ff84[_0x40bcfd(0x331)]()):window[_0x40bcfd(0x317)][_0x40bcfd(0x26a)]('','',_0x42ff84[_0x40bcfd(0x331)]());}['getParam'](_0x421f06){const _0x5351cf=_0x5b4efa;var _0x5634ef;return(_0x5634ef=new URL(window[_0x5351cf(0x2c1)][_0x5351cf(0x237)])[_0x5351cf(0x1f0)][_0x5351cf(0x2ce)](_0x421f06))!=null?_0x5634ef:void 0x0;}}var un=Object[_0x5b4efa(0x34b)],dn=Object[_0x5b4efa(0x23d)],fn=(_0xc7b558,_0x22374c,_0x44e64a)=>_0x22374c in _0xc7b558?un(_0xc7b558,_0x22374c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44e64a}):_0xc7b558[_0x22374c]=_0x44e64a,Sn=(_0x572167,_0x1bcf5a,_0x41409b,_0x545312)=>{const _0x1ceac5=_0x5b4efa;for(var _0x5e57e7=_0x545312>0x1?void 0x0:_0x545312?dn(_0x1bcf5a,_0x41409b):_0x1bcf5a,_0xbe8102=_0x572167[_0x1ceac5(0x265)]-0x1,_0x7c7eb6;_0xbe8102>=0x0;_0xbe8102--)(_0x7c7eb6=_0x572167[_0xbe8102])&&(_0x5e57e7=_0x7c7eb6(_0x5e57e7)||_0x5e57e7);return _0x5e57e7;},Oe=(_0x1dd8c7,_0x45cdf2)=>(_0x33157f,_0x24bef0)=>_0x45cdf2(_0x33157f,_0x24bef0,_0x1dd8c7),mn=(_0x267786,_0x4c0219,_0x1f4f74)=>fn(_0x267786,_0x4c0219+'',_0x1f4f74);const In=_0x5b4efa(0x378);let Ae=class extends _0x4d70f5{constructor(_0x2a7952=et,_0x1c3aab,_0x236e41,_0x29891e){const _0xdeb9a1=_0x5b4efa;super(),this[_0xdeb9a1(0x2c0)]=_0x2a7952,this['_renderManagerService']=_0x1c3aab,this[_0xdeb9a1(0x260)]=_0x236e41,this[_0xdeb9a1(0x24e)]=_0x29891e;const {..._0x450841}=_0x40ceb4({},et,this['_config']);this[_0xdeb9a1(0x24e)]['setConfig'](Zi,_0x450841);}[_0x5b4efa(0x231)](){const _0x4b90c0=_0x5b4efa;this[_0x4b90c0(0x1b8)](),this['_initDependencies']();}[_0x5b4efa(0x2f4)](){const _0x37b4fc=_0x5b4efa;this[_0x37b4fc(0x219)]();}[_0x5b4efa(0x1b8)](){const _0x5a31d5=_0x5b4efa;var _0x2147d8;const _0x1c9c35=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x195750,{'useClass':_0x2ff5db}],[_0x277322,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x492771(this['_injector'],_0x1ef9b1(_0x1c9c35,(_0x2147d8=this[_0x5a31d5(0x2c0)])==null?void 0x0:_0x2147d8[_0x5a31d5(0x17c)]));}[_0x5b4efa(0x219)](){const _0x40cab6=_0x5b4efa;this['disposeWithMe'](this[_0x40cab6(0x216)][_0x40cab6(0x31f)](_0x3860d6[_0x40cab6(0x28c)],[Le])),this[_0x40cab6(0x33f)](this['_renderManagerService'][_0x40cab6(0x31f)](_0x3860d6[_0x40cab6(0x257)],[Pe]));}[_0x5b4efa(0x189)](){_0x48e288(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x5b4efa(0x272),In),Ae=Sn([_0x72a35(_0x3c18dc),Oe(0x1,_0x9df613),Oe(0x2,_0x17f821(_0x1bdaf6)),Oe(0x3,_0x556e6e)],Ae);var gn=Object[_0x5b4efa(0x23d)],vn=(_0x2f23a2,_0x3a109a,_0x5d3157,_0x15ae5e)=>{const _0x592b5f=_0x5b4efa;for(var _0xbbc9bb=_0x15ae5e>0x1?void 0x0:_0x15ae5e?gn(_0x3a109a,_0x5d3157):_0x3a109a,_0x250c49=_0x2f23a2[_0x592b5f(0x265)]-0x1,_0x1172de;_0x250c49>=0x0;_0x250c49--)(_0x1172de=_0x2f23a2[_0x250c49])&&(_0xbbc9bb=_0x1172de(_0xbbc9bb)||_0xbbc9bb);return _0xbbc9bb;},K=(_0x2b6d14,_0x57f836)=>(_0x30f1ba,_0x25b02e)=>_0x57f836(_0x30f1ba,_0x25b02e,_0x2b6d14);let st=class extends _0x472bc4{constructor(_0xe4c83b,_0x573cbc,_0x16428b,_0x28dbbb,_0xc01788){super(_0xe4c83b,_0x573cbc,_0x16428b,_0x28dbbb,_0xc01788);}async[_0x5b4efa(0x1a3)](_0x5d26b3){const _0xd8e6f2=_0x5b4efa,_0x59884d=await this['_getSessionTicket'](),_0x55d06a=this['_createSocketURL'](_0x5d26b3,_0x59884d);return this[_0xd8e6f2(0x37e)](_0x55d06a);}[_0x5b4efa(0x330)](_0x206d36,_0x3cfcfa){const _0x5ecf01=_0x5b4efa,_0x27f5dd=typeof window>'u'?new URL(_0x206d36):new URL(_0x206d36,window[_0x5ecf01(0x2c1)][_0x5ecf01(0x21b)]);_0x27f5dd[_0x5ecf01(0x1f0)][_0x5ecf01(0x19b)]('sessionTicket',_0x3cfcfa);const _0x150c41=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x150c41[_0x5ecf01(0x2ce)](_0x5ecf01(0x1c5))&&_0x27f5dd[_0x5ecf01(0x1f0)][_0x5ecf01(0x19b)](_0x5ecf01(0x1c5),_0x150c41[_0x5ecf01(0x2ce)]('runId')),_0x27f5dd[_0x5ecf01(0x331)]();}async[_0x5b4efa(0x1ad)](){const _0x137057=_0x5b4efa;var _0x9e2509,_0x5603f5,_0x26c747;const _0x3e7c57=this[_0x137057(0x24e)][_0x137057(0x30c)](_0x4c11aa),_0x456668=(_0x9e2509=_0x3e7c57==null?void 0x0:_0x3e7c57[_0x137057(0x2de)])!=null?_0x9e2509:_0x21d4af;return(_0x26c747=(_0x5603f5=(await this[_0x137057(0x298)][_0x137057(0x2ce)](_0x456668,{'headers':{'Content-Type':_0x137057(0x2e7)}}))[_0x137057(0x1f7)])==null?void 0x0:_0x5603f5[_0x137057(0x234)])!=null?_0x26c747:'';}};st=vn([K(0x0,_0x17f821(_0x1bdaf6)),K(0x1,_0x17f821(_0x5817a5)),K(0x2,_0x556e6e),K(0x3,_0x41ac4f),K(0x4,_0x26c83c)],st);const it=0x7530,nt=_0x5b4efa(0x20d);class Fn extends _0x3449ee{constructor(){const _0x58109a=_0x5b4efa;super(),_(this,_0x58109a(0x1a1),_0x27c680()),_(this,'_selfUnitIDs',new Set()),_(this,_0x58109a(0x295),new Map()),_(this,_0x58109a(0x1c4),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x58109a(0x17f)]();}['dispose'](){const _0x470065=_0x5b4efa;super[_0x470065(0x2e2)](),this[_0x470065(0x362)][_0x470065(0x334)]((_0xc17ee1,_0x2966da)=>this[_0x470065(0x2b2)](_0x2966da)),this[_0x470065(0x1c4)]&&window[_0x470065(0x284)](this[_0x470065(0x1c4)]);}[_0x5b4efa(0x333)](_0x4759e5){const _0x193f2c=_0x5b4efa;return this['_ensureSubject'](_0x4759e5)[_0x193f2c(0x1b5)](_0x2f7c21());}[_0x5b4efa(0x18a)](_0x59b837){const _0x5156ce=_0x5b4efa;this[_0x5156ce(0x37f)][_0x5156ce(0x312)]===0x0&&this[_0x5156ce(0x181)](),this[_0x5156ce(0x37f)][_0x5156ce(0x209)](_0x59b837),this['_send']({'type':0x0,'memberID':this[_0x5156ce(0x1a1)],'unitIDs':[_0x59b837],'isForwarded':!0x1});}['disposeUnit'](_0xa000c2){const _0x24f851=_0x5b4efa;this[_0x24f851(0x37f)]['delete'](_0xa000c2),this[_0x24f851(0x37f)][_0x24f851(0x312)]===0x0&&this[_0x24f851(0x1c4)]&&window[_0x24f851(0x284)](this[_0x24f851(0x1c4)]);}[_0x5b4efa(0x17f)](){const _0x39ab63=_0x5b4efa;this[_0x39ab63(0x33f)](_0x4e32ae(_0x15f7b3(window,_0x39ab63(0x221))[_0x39ab63(0x244)](_0x1eb5f5=>{const _0x34869f=_0x39ab63;if(_0x1eb5f5[_0x34869f(0x338)]!==nt||!_0x1eb5f5[_0x34869f(0x296)])return;const _0x22b185=JSON['parse'](_0x1eb5f5[_0x34869f(0x296)]);this[_0x34869f(0x19a)](_0x22b185);}))),window['addEventListener'](_0x39ab63(0x1b7),()=>this[_0x39ab63(0x1cc)]({'type':0x1,'memberID':this[_0x39ab63(0x1a1)],'unitIDs':Array[_0x39ab63(0x319)](this[_0x39ab63(0x37f)])}));}['_handleEvent'](_0x915058){const _0x386347=_0x5b4efa;switch(_0x915058['type']){case 0x0:this[_0x386347(0x307)](_0x915058);break;case 0x1:this[_0x386347(0x1aa)](_0x915058);break;case 0x2:this[_0x386347(0x20e)](_0x915058);break;}}[_0x5b4efa(0x307)](_0x1121c9){const _0x2956e4=_0x5b4efa,{unitIDs:_0x209618,memberID:_0x347a06,isForwarded:_0x542568}=_0x1121c9;_0x209618[_0x2956e4(0x334)](_0x589bb6=>{const _0x14cb52=_0x2956e4;if(!_0x542568&&this[_0x14cb52(0x295)][_0x14cb52(0x1ce)](_0x589bb6)&&this[_0x14cb52(0x2eb)](_0x589bb6)['next'](_0x112e1e[_0x14cb52(0x32f)]),!this[_0x14cb52(0x295)][_0x14cb52(0x1ce)](_0x589bb6)||!this[_0x14cb52(0x295)][_0x14cb52(0x2ce)](_0x589bb6)['has'](_0x347a06)){const _0x2e9ce8=this[_0x14cb52(0x295)]['get'](_0x589bb6)||new Set();_0x2e9ce8[_0x14cb52(0x209)](_0x347a06),this['_unitOnClients'][_0x14cb52(0x19b)](_0x589bb6,_0x2e9ce8),this[_0x14cb52(0x2e1)](_0x347a06);}}),_0x542568||this[_0x2956e4(0x1cc)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5b4efa(0x2e1)](_0x2d26f9){const _0x192298=_0x5b4efa;this['_removeClearOtherTimer'](_0x2d26f9);const _0x48cd4b=window[_0x192298(0x290)](()=>{const _0x2aabab=_0x192298;this[_0x2aabab(0x295)][_0x2aabab(0x334)](_0x336eb7=>{const _0x36edda=_0x2aabab;_0x336eb7[_0x36edda(0x310)](_0x2d26f9);});},it*0x2);this[_0x192298(0x362)][_0x192298(0x19b)](_0x2d26f9,_0x48cd4b);}[_0x5b4efa(0x2b2)](_0x34d46e){const _0x201bfc=_0x5b4efa;if(this[_0x201bfc(0x362)][_0x201bfc(0x1ce)](_0x34d46e)){const _0x34f640=this['_clearOtherTimers']['get'](_0x34d46e);_0x34f640&&window['clearTimeout'](_0x34f640),this[_0x201bfc(0x362)]['set'](_0x34d46e,null);}}[_0x5b4efa(0x1aa)](_0x34ad89){const _0x438402=_0x5b4efa,{memberID:_0x3dd27e,unitIDs:_0x449d74}=_0x34ad89;_0x449d74['forEach'](_0x1c31d5=>{const _0x23973d=_0x3518;var _0x36722f;const _0x499164=this[_0x23973d(0x295)][_0x23973d(0x2ce)](_0x1c31d5);_0x499164&&(_0x499164['delete'](_0x3dd27e),(_0x36722f=this[_0x23973d(0x2eb)](_0x1c31d5))==null||_0x36722f['next'](_0x499164[_0x23973d(0x312)]===0x0?_0x112e1e[_0x23973d(0x267)]:_0x112e1e[_0x23973d(0x32f)]));}),this[_0x438402(0x2b2)](_0x3dd27e);}[_0x5b4efa(0x20e)](_0x4a2fc8){const _0x193399=_0x5b4efa;this[_0x193399(0x2e1)](_0x4a2fc8[_0x193399(0x24a)]);}['_send'](_0x2e7d04){const _0x195d38=_0x5b4efa;localStorage[_0x195d38(0x320)](nt,JSON[_0x195d38(0x232)](_0x2e7d04));}[_0x5b4efa(0x181)](){const _0x4fb66d=_0x5b4efa;this['_heartbeatTimer']=window[_0x4fb66d(0x1e9)](()=>{const _0x215ca5=_0x4fb66d;this['_send']({'type':0x2,'memberID':this[_0x215ca5(0x1a1)]});},it);}[_0x5b4efa(0x2eb)](_0x1b4bd1){const _0x10383e=_0x5b4efa;return this[_0x10383e(0x375)][_0x10383e(0x1ce)](_0x1b4bd1)||this['_unitStatus'][_0x10383e(0x19b)](_0x1b4bd1,new _0x4f34ea(_0x112e1e['NO_OTHER_CLIENTS_EDITING'])),this[_0x10383e(0x375)][_0x10383e(0x2ce)](_0x1b4bd1);}}var Mt=(_0x1db1b1=>(_0x1db1b1[_0x1db1b1['UNDEFINED']=0x0]=_0x5b4efa(0x2a1),_0x1db1b1[_0x1db1b1['OK']=0x1]='OK',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x291)]=0x2]=_0x5b4efa(0x291),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x196)]=0x3]='PERMISSION_DENIED',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x358)]=0x4]=_0x5b4efa(0x358),_0x1db1b1[_0x1db1b1['UNAUTHENTICATED']=0x5]=_0x5b4efa(0x368),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x188)]=0x6]=_0x5b4efa(0x188),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2f0)]=0x7]=_0x5b4efa(0x2f0),_0x1db1b1[_0x1db1b1['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x36b)]=0x9]='COMPLETION_FINISHED',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x1fc)]=0xa]=_0x5b4efa(0x1fc),_0x1db1b1[_0x1db1b1['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x5b4efa(0x20b),_0x1db1b1[_0x1db1b1['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x5b4efa(0x29b),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2c3)]=0xd]=_0x5b4efa(0x2c3),_0x1db1b1[_0x1db1b1['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5b4efa(0x258),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x313)]=0x1389]=_0x5b4efa(0x313),_0x1db1b1[_0x1db1b1['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x259)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1db1b1[_0x1db1b1['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x1c9)]=0x1b59]=_0x5b4efa(0x1c9),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2f7)]=0x1b5a]=_0x5b4efa(0x2f7),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x185)]=0x1b5b]=_0x5b4efa(0x185),_0x1db1b1[_0x1db1b1['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5b4efa(0x341),_0x1db1b1[_0x1db1b1['APPLY_DUPLICATED']=0x1b5d]=_0x5b4efa(0x1c7),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x20c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x281)]=0x2329]=_0x5b4efa(0x281),_0x1db1b1[_0x1db1b1['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x339)]=0x232b]=_0x5b4efa(0x339),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x186)]=0x232c]=_0x5b4efa(0x186),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x302)]=0x232d]=_0x5b4efa(0x302),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x21c)]=0x2711]=_0x5b4efa(0x21c),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x23b)]=0x2712]=_0x5b4efa(0x23b),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x1b0)]=0x2713]=_0x5b4efa(0x1b0),_0x1db1b1[_0x1db1b1['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x5b4efa(0x285),_0x1db1b1[_0x1db1b1['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x5b4efa(0x1ed),_0x1db1b1[_0x1db1b1['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x5b4efa(0x2f6),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2a6)]=0x271c]=_0x5b4efa(0x2a6),_0x1db1b1[_0x1db1b1['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x5b4efa(0x1e0),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x226)]=0x271e]=_0x5b4efa(0x226),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x1fe)]=0x271f]=_0x5b4efa(0x1fe),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x31d)]=0x2720]=_0x5b4efa(0x31d),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x314)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x277)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1db1b1[_0x1db1b1['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2df)]=0x2ee3]=_0x5b4efa(0x2df),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x350)]=0x2ee4]=_0x5b4efa(0x350),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x2ca)]=0x2ee5]=_0x5b4efa(0x2ca),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x27b)]=0x32c9]=_0x5b4efa(0x27b),_0x1db1b1[_0x1db1b1['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1db1b1[_0x1db1b1['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5b4efa(0x32e),_0x1db1b1[_0x1db1b1[_0x5b4efa(0x224)]=-0x1]=_0x5b4efa(0x224),_0x1db1b1))(Mt||{}),pn=Object[_0x5b4efa(0x23d)],Cn=(_0x53a9a1,_0x577fab,_0x8dd0b2,_0x3f8f16)=>{const _0x381aa2=_0x5b4efa;for(var _0x5a8aa2=_0x3f8f16>0x1?void 0x0:_0x3f8f16?pn(_0x577fab,_0x8dd0b2):_0x577fab,_0x5daadc=_0x53a9a1[_0x381aa2(0x265)]-0x1,_0x3cc664;_0x5daadc>=0x0;_0x5daadc--)(_0x3cc664=_0x53a9a1[_0x5daadc])&&(_0x5a8aa2=_0x3cc664(_0x5a8aa2)||_0x5a8aa2);return _0x5a8aa2;},be=(_0x10715e,_0x3f887c)=>(_0x34f06c,_0x6247a5)=>_0x3f887c(_0x34f06c,_0x6247a5,_0x10715e);let rt=class extends _0x3449ee{constructor(_0x21f631,_0x365037,_0x44a3c2){const _0x1341a1=_0x5b4efa;super(),this['_instanceService']=_0x21f631,this[_0x1341a1(0x298)]=_0x365037,this['_configService']=_0x44a3c2;}async['runOnServer'](_0x1cac13,_0x493f47,_0x1ae1c0,..._0x5b275f){const _0x331b8c=_0x5b4efa;var _0x51fbe6,_0x1d2152,_0x2f5d76,_0x3a64a3;const _0x192ee8=this[_0x331b8c(0x239)]['getFocusedUnit']();if(!_0x192ee8)throw new Error(_0x331b8c(0x25a));const _0x577cc6=((_0x51fbe6=this[_0x331b8c(0x24e)][_0x331b8c(0x30c)](_0x31621f))!=null?_0x51fbe6:_0x733df)+'/'+_0x1cac13+'/run/'+_0x493f47,_0x27cc58=new URL(window['location']['href']),_0x10ba67={'scriptId':_0x1cac13,'runId':(_0x1d2152=_0x27cc58[_0x331b8c(0x1f0)][_0x331b8c(0x2ce)]('runId'))!=null?_0x1d2152:'','function':_0x493f47,'unitId':_0x192ee8[_0x331b8c(0x180)](),'argsOfFunction':JSON['stringify'](_0x5b275f),'invokeId':(_0x2f5d76=_0x1ae1c0[_0x331b8c(0x28f)])!=null?_0x2f5d76:'','executionId':(_0x3a64a3=_0x1ae1c0[_0x331b8c(0x212)])!=null?_0x3a64a3:''};try{const _0x2e06f7=await this['_httpService'][_0x331b8c(0x26d)](_0x577cc6,{'body':_0x10ba67});return _0x2e06f7['body'][_0x331b8c(0x1d3)]&&_0x2e06f7[_0x331b8c(0x1f7)][_0x331b8c(0x1d3)][_0x331b8c(0x380)]!==Mt['OK']?_0x331b8c(0x311):_0x2e06f7[_0x331b8c(0x1f7)][_0x331b8c(0x29d)];}catch{return _0x331b8c(0x311);}}};rt=Cn([be(0x0,_0x166042),be(0x1,_0x17f821(_0x5817a5)),be(0x2,_0x556e6e)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Wi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x26541e=_0x44a5;(function(_0x5ddb8a,_0x3c27ae){const _0x50552a=_0x44a5,_0x1da4c1=_0x5ddb8a();while(!![]){try{const _0x467b45=-parseInt(_0x50552a(0x95))/0x1+parseInt(_0x50552a(0x96))/0x2*(-parseInt(_0x50552a(0x9d))/0x3)+-parseInt(_0x50552a(0x99))/0x4+parseInt(_0x50552a(0x8b))/0x5+-parseInt(_0x50552a(0x91))/0x6*(parseInt(_0x50552a(0x92))/0x7)+parseInt(_0x50552a(0x8c))/0x8*(parseInt(_0x50552a(0x8f))/0x9)+parseInt(_0x50552a(0x9e))/0xa;if(_0x467b45===_0x3c27ae)break;else _0x1da4c1['push'](_0x1da4c1['shift']());}catch(_0x36e0a3){_0x1da4c1['push'](_0x1da4c1['shift']());}}}(_0x5e6f,0x3b2b8));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x26541e(0x98),'conflict':_0x26541e(0x9b),'notCollab':_0x26541e(0x90),'synced':_0x26541e(0x9f),'syncing':_0x26541e(0x93),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x26541e(0x94),'will-retry':_0x26541e(0x8d),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x26541e(0x9c)},'conflict':{'title':_0x26541e(0x8e),'content':_0x26541e(0x97)},'permission':{'title':_0x26541e(0x9a),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':'Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x44a5(_0x338873,_0x1b5eff){const _0x5e6f93=_0x5e6f();return _0x44a5=function(_0x44a53f,_0x2cee1e){_0x44a53f=_0x44a53f-0x8b;let _0x49a93e=_0x5e6f93[_0x44a53f];return _0x49a93e;},_0x44a5(_0x338873,_0x1b5eff);}function _0x5e6f(){const _0x2375db=['Edit\x20conflicts','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','483bCVXMk','6138010YlFoxK','Synced','1862835rVKLdE','213704HnekYa','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict','9RDIgda','Local\x20file','1242OQWeff','11809TIZrqL','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','243103RxOGrD','626wKHEjN','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.','Syncing\x20server\x20data...','512064eEYMOL','Authentication\x20Error'];_0x5e6f=function(){return _0x2375db;};return _0x5e6f();}export{e as default};
1
+ function _0x16e2(){const _0x40439f=['3618115NWGjdr','8228944kyTlXH','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.','38602hkRPiJ','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Edit\x20conflicts','Local\x20file','6158446iBDzgZ','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','4dajYdD','Click\x20to\x20Reconnect','Authentication\x20Error','Syncing\x20server\x20data...','Synced','3oWFdPt','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','9yWBflF','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','6585792TYLMlX','8741870JcWWiA','386631LmTNJr','Collaboration\x20Conflict','Syncing...'];_0x16e2=function(){return _0x40439f;};return _0x16e2();}const _0xb5669=_0x1591;(function(_0x15862e,_0x35488b){const _0x4b021e=_0x1591,_0x5d0934=_0x15862e();while(!![]){try{const _0x16fe14=-parseInt(_0x4b021e(0xca))/0x1+-parseInt(_0x4b021e(0xb7))/0x2*(parseInt(_0x4b021e(0xc3))/0x3)+parseInt(_0x4b021e(0xbe))/0x4*(-parseInt(_0x4b021e(0xcd))/0x5)+-parseInt(_0x4b021e(0xc8))/0x6+parseInt(_0x4b021e(0xbb))/0x7+parseInt(_0x4b021e(0xce))/0x8+parseInt(_0x4b021e(0xc5))/0x9*(parseInt(_0x4b021e(0xc9))/0xa);if(_0x16fe14===_0x35488b)break;else _0x5d0934['push'](_0x5d0934['shift']());}catch(_0x3cbc1a){_0x5d0934['push'](_0x5d0934['shift']());}}}(_0x16e2,0x87984));const e={'collab-client':{'tooltip':{'reconnect':_0xb5669(0xbf)}},'collabStatus':{'fetchMiss':_0xb5669(0xc1),'conflict':_0xb5669(0xb9),'notCollab':_0xb5669(0xba),'synced':_0xb5669(0xc2),'syncing':_0xb5669(0xcc),'offline':_0xb5669(0xbd)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0xb5669(0xc4),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0xb5669(0xbc)},'conflict':{'title':_0xb5669(0xcb),'content':_0xb5669(0xcf)},'permission':{'title':_0xb5669(0xc0),'content':_0xb5669(0xc7)},'collaboration':{'single-unit':{'warning':_0xb5669(0xb8)},'closeRoom':_0xb5669(0xc6)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x1591(_0x21b8a6,_0x839841){const _0x16e211=_0x16e2();return _0x1591=function(_0x159135,_0x503215){_0x159135=_0x159135-0xb7;let _0x1da95a=_0x16e211[_0x159135];return _0x1da95a;},_0x1591(_0x21b8a6,_0x839841);}export{e as default};
@@ -1 +1 @@
1
- function _0x371f(){const _0x4a9966=['پرونده\x20محلی','1601012hKkRqP','1828088nEkVsM','4614399XBhvCC','399538FVXxTs','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','1005555JszddN','10383uEkGyc','9609QRhetD','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','تداخل\x20ویرایش','همگام\x20سازی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','خطای\x20اعتبارسنجی','تداخل\x20همکاری','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','6sIuaHO','4oAWKrX','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','در\x20حال\x20همگام\x20سازی...'];_0x371f=function(){return _0x4a9966;};return _0x371f();}function _0x124e(_0x569dc4,_0x2b4b7c){const _0x371fa3=_0x371f();return _0x124e=function(_0x124ef7,_0x117c46){_0x124ef7=_0x124ef7-0x112;let _0x3acc2e=_0x371fa3[_0x124ef7];return _0x3acc2e;},_0x124e(_0x569dc4,_0x2b4b7c);}const _0x33c67c=_0x124e;(function(_0x30f202,_0x23f640){const _0x3a1fd6=_0x124e,_0x2b4cf7=_0x30f202();while(!![]){try{const _0x45df5d=parseInt(_0x3a1fd6(0x11a))/0x1+-parseInt(_0x3a1fd6(0x117))/0x2+parseInt(_0x3a1fd6(0x11b))/0x3+-parseInt(_0x3a1fd6(0x127))/0x4*(parseInt(_0x3a1fd6(0x119))/0x5)+parseInt(_0x3a1fd6(0x126))/0x6*(-parseInt(_0x3a1fd6(0x114))/0x7)+parseInt(_0x3a1fd6(0x115))/0x8+parseInt(_0x3a1fd6(0x116))/0x9;if(_0x45df5d===_0x23f640)break;else _0x2b4cf7['push'](_0x2b4cf7['shift']());}catch(_0x2fae8e){_0x2b4cf7['push'](_0x2b4cf7['shift']());}}}(_0x371f,0x1e91c));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x33c67c(0x11f),'conflict':_0x33c67c(0x11d),'notCollab':_0x33c67c(0x113),'synced':_0x33c67c(0x11e),'syncing':_0x33c67c(0x112),'offline':_0x33c67c(0x122)},'session':{'connection-failed':_0x33c67c(0x121),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x33c67c(0x118),'collaboration-timeout':_0x33c67c(0x128)},'conflict':{'title':_0x33c67c(0x124),'content':_0x33c67c(0x120)},'permission':{'title':_0x33c67c(0x123),'content':_0x33c67c(0x11c)},'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':_0x33c67c(0x125)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};
1
+ const _0x66df34=_0x5e49;(function(_0x325816,_0x338345){const _0x597e95=_0x5e49,_0x1d2939=_0x325816();while(!![]){try{const _0x18b15c=parseInt(_0x597e95(0x1e9))/0x1*(-parseInt(_0x597e95(0x1e4))/0x2)+-parseInt(_0x597e95(0x1ea))/0x3*(parseInt(_0x597e95(0x1f3))/0x4)+parseInt(_0x597e95(0x1e5))/0x5+parseInt(_0x597e95(0x1f5))/0x6*(parseInt(_0x597e95(0x1fc))/0x7)+-parseInt(_0x597e95(0x1f4))/0x8*(-parseInt(_0x597e95(0x1fb))/0x9)+parseInt(_0x597e95(0x1f1))/0xa*(-parseInt(_0x597e95(0x1ef))/0xb)+parseInt(_0x597e95(0x1eb))/0xc;if(_0x18b15c===_0x338345)break;else _0x1d2939['push'](_0x1d2939['shift']());}catch(_0x214933){_0x1d2939['push'](_0x1d2939['shift']());}}}(_0x21ea,0xe1e0c));function _0x21ea(){const _0x36f593=['48UmAXBE','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','تداخل\x20همکاری','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','3019491XOoXgs','1374002gECHhL','2QviwJR','5836565VVSmeX','در\x20حال\x20همگام\x20سازی...','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','799702tVwZyZ','2805PvfEdC','16714656DlOdPM','تداخل\x20ویرایش','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','پرونده\x20محلی','11SMdnYH','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','13507450zWPsMx','خطای\x20اعتبارسنجی','5948tzaJPe','8TEZVEk'];_0x21ea=function(){return _0x36f593;};return _0x21ea();}const o={'collab-client':{'tooltip':{'reconnect':_0x66df34(0x1ed)}},'collabStatus':{'fetchMiss':_0x66df34(0x1f6),'conflict':_0x66df34(0x1ec),'notCollab':_0x66df34(0x1ee),'synced':'همگام\x20سازی','syncing':_0x66df34(0x1e6),'offline':_0x66df34(0x1f7)},'session':{'connection-failed':_0x66df34(0x1e7),'will-retry':_0x66df34(0x1fa),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x66df34(0x1f8)},'conflict':{'title':_0x66df34(0x1f9),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x66df34(0x1f2),'content':_0x66df34(0x1f0)},'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':_0x66df34(0x1e8)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x5e49(_0x2dbc86,_0x1572f1){const _0x21eaff=_0x21ea();return _0x5e49=function(_0x5e49ba,_0x426552){_0x5e49ba=_0x5e49ba-0x1e4;let _0x184d4c=_0x21eaff[_0x5e49ba];return _0x184d4c;},_0x5e49(_0x2dbc86,_0x1572f1);}export{o as default};