@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202504291607 → 0.7.0-nightly.202505011607

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 _0x2ff589=_0x8596;(function(_0x323879,_0x264506){const _0x16461b=_0x8596,_0xffcde=_0x323879();while(!![]){try{const _0x1f7518=-parseInt(_0x16461b(0x208))/0x1+parseInt(_0x16461b(0x1d7))/0x2*(parseInt(_0x16461b(0x330))/0x3)+parseInt(_0x16461b(0x1a0))/0x4+-parseInt(_0x16461b(0x1ae))/0x5+-parseInt(_0x16461b(0x365))/0x6+-parseInt(_0x16461b(0x20a))/0x7*(parseInt(_0x16461b(0x288))/0x8)+parseInt(_0x16461b(0x2a0))/0x9;if(_0x1f7518===_0x264506)break;else _0xffcde['push'](_0xffcde['shift']());}catch(_0x8ed654){_0xffcde['push'](_0xffcde['shift']());}}}(_0x4637,0x274c3));var $t=Object[_0x2ff589(0x34c)],xt=(_0x1aa178,_0x5cd8b8,_0x5adce1)=>_0x5cd8b8 in _0x1aa178?$t(_0x1aa178,_0x5cd8b8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5adce1}):_0x1aa178[_0x5cd8b8]=_0x5adce1,_=(_0xfdd44,_0x46e6fc,_0x3b994f)=>xt(_0xfdd44,typeof _0x46e6fc!='symbol'?_0x46e6fc+'':_0x46e6fc,_0x3b994f);import{MemberService as _0x40f3ca,SessionStatus as _0x44faa7,CollaborationSessionService as _0x462455,CollaborationStatus as _0x4aa8a3,CollaborationController as _0x515bb0,ILocalCacheService as _0x43711d,CollaborationUIEventService as _0x406941,CollaborationUIEventId as _0x13681f,DataLoaderService as _0x83b419,DocCollaborationEntity as _0x4566f0,getLocalCacheKey as _0x4dba00,LOCAL_CACHE_INTERVAL as _0x40fd8e,LOCAL_CACHE_INTERVAL_KEY as _0x2fd71a,UniverCollaborationClientPlugin as _0x239f66,CollaborationSocketService as _0x394641,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x44288f,DEFAULT_WS_SESSION_TICKET_URL as _0x3cd0bb,UnitStatus as _0x5a2aef,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x42c95e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1983c8}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x40e5ab,Disposable as _0x542665,DOC_RANGE_TYPE as _0x4aa5fb,Inject as _0x4abecf,Injector as _0x53572c,IUniverInstanceService as _0x298822,ICommandService as _0x792647,debounce as _0x34fdfc,Rectangle as _0x1a09f7,DisposableCollection as _0x1d0a8a,toDisposable as _0x55d959,UniverInstanceType as _0x50946e,Tools as _0x4c6864,COLORS as _0x3dfe11,ColorKit as _0x1aa726,ThemeService as _0x37cd77,fromEventSubject as _0x12640c,LocaleService as _0x40bb19,createIdentifier as _0x2bb225,ILogService as _0x192faf,Optional as _0x25f8fb,Workbook as _0x512a77,CommandType as _0x5001f2,IConfigService as _0x1b184c,ILocalStorageService as _0x55a9da,DependentOn as _0x4a873d,Plugin as _0x437d36,merge as _0x44ac71,registerDependencies as _0x28a0ca,mergeOverrideWithDependencies as _0x102870,touchDependencies as _0x5d4ea3,generateRandomId as _0x257b27}from'@univerjs/core';import{Shape as _0xb4d31a,Rect as _0x439a92,getColor as _0x536806,RegularPolygon as _0x541c40,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x56f88f,Vector2 as _0x28f4a7,SHEET_VIEWPORT_KEY as _0x136919,IRenderManagerService as _0x5b5ed4}from'@univerjs/engine-render';import{ISocketService as _0x152628,WebSocketService as _0xec30f7,HTTPService as _0x584f97}from'@univerjs/network';import{IDocClipboardService as _0x507f4b,NodePositionConvertToCursor as _0x37a881,NodePositionConvertToRectRange as _0x1da8f8,TEXT_RANGE_LAYER_INDEX as _0x380719,SetDocZoomRatioOperation as _0x56903b,DocIMEInputManagerService as _0x564bd7,DocStateChangeManagerService as _0x2ca1b9}from'@univerjs/docs-ui';import{IImageIoService as _0x580fc6}from'@univerjs/drawing';import{BehaviorSubject as _0x2da5c1,debounceTime as _0x1dc439,takeUntil as _0x16f876,Subject as _0x57e03f,filter as _0x1a0912,switchMap as _0xb29a9c,merge as _0x3fa897,combineLatest as _0x42d931,of as _0x88b8e7,fromEvent as _0x4502af,shareReplay as _0x356d01,mapTo as _0x3febe4,distinctUntilChanged as _0xe1bd26}from'rxjs';import{SetTextSelectionsOperation as _0x2ebf55,RichTextEditingMutation as _0x14bd43,DocSelectionManagerService as _0x393415,DocSkeletonManagerService as _0x484a46}from'@univerjs/docs';import{ITransformService as _0x540c7a,CollaborationEvent as _0x48ad00,isTransformMutationFailure as _0x456d9f,isTransformMutationsWithChangesetSuccess as _0x21ee65,RevisionService as _0x155a79,ISnapshotServerService as _0x19be19}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x45bd40,serializeRangeWithSheet as _0x21ca79}from'@univerjs/engine-formula';import{RefRangeService as _0x35a5e8,SetSelectionsOperation as _0x4c7654,SheetsSelectionsService as _0x224247,EffectRefRangId as _0x3858bc,handleIRemoveRow as _0x44ae5e,handleIRemoveCol as _0x225ce8,handleMoveRange as _0x376cc8,handleInsertRow as _0x3c6372,handleInsertRangeMoveRight as _0x2758a8,handleInsertRangeMoveDown as _0xd6324e,handleInsertCol as _0xe1166a,handleDeleteRangeMoveUp as _0x9b2a92,handleDeleteRangeMoveLeft as _0x30601c,runRefRangeMutations as _0x17f90f,SetWorksheetActivateCommand as _0x1dbe2e}from'@univerjs/sheets';import{map as _0x5988cd,filter as _0x3f7302,throttleTime as _0xecc5c4,takeUntil as _0x4c3014,switchMap as _0x3d47ea}from'rxjs/operators';import{SheetSkeletonManagerService as _0x8e2b42,getCoordByCell as _0x47d7bb,getSheetObject as _0x448d13}from'@univerjs/sheets-ui';import{jsx as _0x323394,jsxs as _0x35e950}from'react/jsx-runtime';import{useObservable as _0x5ecd6e,useDependency as _0x50fc98,IUIPartsService as _0x39ac7c,BuiltInUIPart as _0x5bfe74,connectInjector as _0x406057,IBeforeCloseService as _0xf1c20,IMessageService as _0x139df0,INotificationService as _0x4bb781}from'@univerjs/ui';function _0x8596(_0x22ddc1,_0x53aa03){const _0x46374a=_0x4637();return _0x8596=function(_0x85960a,_0x55e95){_0x85960a=_0x85960a-0x188;let _0x517b77=_0x46374a[_0x85960a];return _0x517b77;},_0x8596(_0x22ddc1,_0x53aa03);}import{Tooltip as _0x134f31,clsx as _0x27f21f,MessageType as _0x2b34b2}from'@univerjs/design';import{forwardRef as _0x3710a6,useRef as _0x236828,createElement as _0x323661,useCallback as _0x52eb62}from'react';import{IRemoteInstanceService as _0x3c7de9}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x12f08b,_0x35c4a1,_0x5c0466,_0x267871)=>{const _0x4234bd=_0x2ff589;for(var _0x104b76=_0x267871>0x1?void 0x0:_0x267871?ci(_0x35c4a1,_0x5c0466):_0x35c4a1,_0x60a8a=_0x12f08b[_0x4234bd(0x298)]-0x1,_0x411be8;_0x60a8a>=0x0;_0x60a8a--)(_0x411be8=_0x12f08b[_0x60a8a])&&(_0x104b76=_0x411be8(_0x104b76)||_0x104b76);return _0x104b76;},Je=(_0x414643,_0xa77c88)=>(_0x338389,_0x25c656)=>_0xa77c88(_0x338389,_0x25c656,_0x414643);let Ne=class extends _0x40e5ab{constructor(_0x37cc0e,_0x1bf79e){const _0x4ee350=_0x2ff589;super(),this[_0x4ee350(0x283)]=_0x37cc0e,this[_0x4ee350(0x28a)]=_0x1bf79e,this['_init']();}['_init'](){const _0x3526d6=_0x2ff589,_0x15c589=this;this[_0x3526d6(0x279)](this[_0x3526d6(0x283)][_0x3526d6(0x2ca)]({'onBeforePasteImage':async _0x5abe70=>{const _0x36e174=_0x3526d6,_0x57fe01=await _0x15c589[_0x36e174(0x28a)][_0x36e174(0x218)](_0x5abe70);return _0x57fe01?{'source':_0x57fe01['source'],'imageSourceType':_0x57fe01[_0x36e174(0x20d)]}:null;}}));}};Ne=li([Je(0x0,_0x507f4b),Je(0x1,_0x580fc6)],Ne);const Ze=[_0x2ff589(0x209),_0x2ff589(0x2a9),_0x2ff589(0x188),_0x2ff589(0x1f1),_0x2ff589(0x2b2),_0x2ff589(0x31d)];class ke extends _0x542665{constructor(){const _0x10cfb5=_0x2ff589;super(...arguments),_(this,_0x10cfb5(0x1a9),new Map()),_(this,_0x10cfb5(0x30f),0x0);}['assignAColorForMemberID'](_0x18644b){const _0xf85ccd=_0x2ff589;if(this['_assignedColors'][_0xf85ccd(0x2f3)](_0x18644b))return this[_0xf85ccd(0x1a9)]['get'](_0x18644b);const _0x3796fc=Ze[this[_0xf85ccd(0x30f)]];return this[_0xf85ccd(0x30f)]=(this[_0xf85ccd(0x30f)]+0x1)%Ze['length'],this['_assignedColors'][_0xf85ccd(0x326)](_0x18644b,_0x3796fc),_0x3796fc;}}function Tt(_0x3a5e50){const _0x2c71c3=_0x2ff589;let _0x52768e='';for(const _0x45e32a of _0x3a5e50){const {startOffset:_0x1e14b7,endOffset:_0x3cbbe5,isActive:_0x5e1fe7,rangeType:_0x2c7426,segmentId:_0x5922b2,segmentPage:_0x53e2af}=_0x45e32a;_0x52768e[_0x2c71c3(0x298)]&&(_0x52768e+=','),_0x52768e+=_0x1e14b7+':'+_0x3cbbe5+':'+(_0x5e1fe7?'1':'0')+':'+_0x2c7426+':'+_0x5922b2+':'+_0x53e2af;}return _0x52768e;}function _i(_0x42378e){const _0x167b4f=_0x2ff589,_0xb92b32=_0x42378e[_0x167b4f(0x2dc)](','),_0x40deca=[];for(const _0x48242e of _0xb92b32){const [_0x369cd4,_0x56577f,_0x355542,_0x52420e,_0x4f5a9d,_0xad2992]=_0x48242e['split'](':');_0x40deca['push']({'startOffset':Number(_0x369cd4),'endOffset':Number(_0x56577f),'collapsed':_0x369cd4===_0x56577f,'isActive':_0x355542==='1','rangeType':_0x52420e===_0x4aa5fb[_0x167b4f(0x274)]?_0x4aa5fb[_0x167b4f(0x274)]:_0x4aa5fb[_0x167b4f(0x382)],'segmentId':typeof _0x4f5a9d==_0x167b4f(0x1b7)?String(_0x4f5a9d):'','segmentPage':Number(_0xad2992!=null?_0xad2992:-0x1)});}return _0x40deca[_0x167b4f(0x285)](_0x4150dc=>_0x4150dc[_0x167b4f(0x1ba)])||(_0x40deca[0x0][_0x167b4f(0x1ba)]=!0x0),_0x40deca;}class He extends _0x40e5ab{constructor(){const _0x401371=_0x2ff589;super(...arguments),_(this,_0x401371(0x1d9),new _0x2da5c1(null)),_(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x53dbeb){const _0x2e7ca2=_0x2ff589,{unitID:_0x519f4c,memberID:_0x46901c,textRanges:_0x3f2711}=_0x53dbeb,_0x36916a=Tt(_0x3f2711);if(_0x36916a==='')return;const _0x432dad={'unitID':_0x519f4c,'memberID':_0x46901c,'selection':_0x36916a};this[_0x2e7ca2(0x1d9)][_0x2e7ca2(0x1d2)](_0x432dad);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x411ebd,_0x271458,_0x46a502,_0x52f455)=>{const _0x2171b2=_0x2ff589;for(var _0x7c1cab=_0x52f455>0x1?void 0x0:_0x52f455?hi(_0x271458,_0x46a502):_0x271458,_0x54a74c=_0x411ebd[_0x2171b2(0x298)]-0x1,_0x43dbed;_0x54a74c>=0x0;_0x54a74c--)(_0x43dbed=_0x411ebd[_0x54a74c])&&(_0x7c1cab=_0x43dbed(_0x7c1cab)||_0x7c1cab);return _0x7c1cab;},w=(_0x4da4ac,_0x26a832)=>(_0xf1f998,_0xd175df)=>_0x26a832(_0xf1f998,_0xd175df,_0x4da4ac);const di=0x12c,fi=0x64;let Ue=class extends _0x40e5ab{constructor(_0x252146,_0x574791,_0x443db3,_0x2195ff,_0x575403,_0x543636,_0x1bc07a,_0x49c3bc,_0x2f1c4c){const _0x3081f6=_0x2ff589;super(),_(this,_0x3081f6(0x1e6),!0x1),_(this,_0x3081f6(0x2ec),!0x1),_(this,_0x3081f6(0x19e),new _0x2da5c1(new Map())),_(this,_0x3081f6(0x2ac),this[_0x3081f6(0x19e)][_0x3081f6(0x1e9)]()),_(this,'_roomMembers$',new _0x2da5c1([])),_(this,_0x3081f6(0x348),this['_roomMembers$'][_0x3081f6(0x1ee)](_0x1dc439(di))),_(this,_0x3081f6(0x21a),_0x34fdfc(_0x1b26d0=>{const _0x2a2451=_0x3081f6,_0x54cddf={'eventID':_0x48ad00[_0x2a2451(0x193)],'data':{'unitID':this[_0x2a2451(0x297)],'memberID':this[_0x2a2451(0x2fb)][_0x2a2451(0x267)](),'selection':Tt(_0x1b26d0)}};this[_0x2a2451(0x2fb)][_0x2a2451(0x29f)](_0x54cddf,this['unitID']);},fi)),(this[_0x3081f6(0x297)]=_0x252146,this[_0x3081f6(0x2fb)]=_0x574791,this[_0x3081f6(0x25a)]=_0x443db3,this[_0x3081f6(0x300)]=_0x2195ff,this['_memberService']=_0x575403,this[_0x3081f6(0x32c)]=_0x543636,this[_0x3081f6(0x253)]=_0x1bc07a,this[_0x3081f6(0x29b)]=_0x49c3bc,this['_commandService']=_0x2f1c4c);}get['cursorInfo'](){const _0xf3cd0b=_0x2ff589;return this['_cursorInfo$'][_0xf3cd0b(0x2b6)]();}get['roomMembers'](){const _0x39619c=_0x2ff589;return this['_roomMembers$'][_0x39619c(0x2b6)]();}[_0x2ff589(0x2fc)](){const _0x54fce6=_0x2ff589;super['dispose'](),this[_0x54fce6(0x19e)][_0x54fce6(0x1d2)](new Map()),this[_0x54fce6(0x19e)][_0x54fce6(0x270)](),this[_0x54fce6(0x2a1)]['next']([]),this['_roomMembers$'][_0x54fce6(0x270)]();}[_0x2ff589(0x1f3)](){const _0x33ac35=_0x2ff589;this[_0x33ac35(0x2ec)]||(this[_0x33ac35(0x2ec)]=!0x0,this['_session']['sessionStatus$'][_0x33ac35(0x1ee)](_0x16f876(this[_0x33ac35(0x35a)]))['subscribe'](_0x37db2b=>{const _0x37e6d6=_0x33ac35;_0x37db2b===_0x44faa7[_0x37e6d6(0x1d3)]?this[_0x37e6d6(0x1c6)]():this['_toggleOffline']();}),this['_session'][_0x33ac35(0x190)]['pipe'](_0x16f876(this[_0x33ac35(0x35a)]))[_0x33ac35(0x215)](_0x549730=>{const _0x2d3071=_0x33ac35,_0x36f493=_0x549730[_0x2d3071(0x31c)];_0x36f493===_0x48ad00[_0x2d3071(0x193)]&&this['_onCursorUpdate'](_0x549730),_0x36f493===_0x48ad00[_0x2d3071(0x361)]&&this['_onCursorDelete'](_0x549730);}),this[_0x33ac35(0x279)](this[_0x33ac35(0x2b9)][_0x33ac35(0x262)](_0x427f5e=>{const _0x1c76a1=_0x33ac35,_0x171b3f=_0x427f5e[_0x1c76a1(0x206)];_0x171b3f!=null&&this['_online']&&_0x427f5e['id']===_0x2ebf55['id']&&_0x171b3f[_0x1c76a1(0x2d3)]===this[_0x1c76a1(0x297)]&&_0x171b3f[_0x1c76a1(0x241)]===!0x1&&_0x171b3f['ranges']['length']>0x0&&this[_0x1c76a1(0x21a)](_0x171b3f[_0x1c76a1(0x23b)]);})),this[_0x33ac35(0x32c)][_0x33ac35(0x259)][_0x33ac35(0x1ee)](_0x16f876(this[_0x33ac35(0x35a)]))[_0x33ac35(0x215)](_0x51c948=>{const _0x3a6834=_0x33ac35;if((_0x51c948==null?void 0x0:_0x51c948['unitID'])!==this[_0x3a6834(0x297)])return;const _0xeaeb0={'eventID':_0x48ad00[_0x3a6834(0x193)],'data':_0x51c948};this[_0x3a6834(0x19f)](_0xeaeb0);}),this['disposeWithMe'](this[_0x33ac35(0x2b9)][_0x33ac35(0x262)](_0x546f7f=>{const _0x3d4958=_0x33ac35;if(_0x546f7f[_0x3d4958(0x206)]==null)return;const _0x5ab55a=_0x546f7f[_0x3d4958(0x206)];if(_0x546f7f['id']!==_0x14bd43['id']||_0x5ab55a[_0x3d4958(0x2d3)]!==this['unitID'])return;const _0x132cde={'id':_0x3d4958(0x1e3),'params':_0x5ab55a},_0x33f58a=this['cursorInfo'];for(const [_0x579dcd,_0x477ef4]of _0x33f58a){const _0x4ecc5d={'id':_0x3d4958(0x1e3),'params':{'unitId':this[_0x3d4958(0x297)],'actions':null,'textRanges':_0x477ef4[_0x3d4958(0x23b)]}},_0x422c40=this[_0x3d4958(0x253)][_0x3d4958(0x287)](_0x132cde,_0x4ecc5d,!0x1);if(_0x456d9f(_0x422c40))throw _0x422c40[_0x3d4958(0x1bb)];_0x33f58a['set'](_0x579dcd,{..._0x477ef4,'ranges':_0x422c40['m2Prime'][_0x3d4958(0x206)][_0x3d4958(0x36a)]});}queueMicrotask(()=>{const _0x45db19=_0x3d4958;this[_0x45db19(0x19e)][_0x45db19(0x1d2)](_0x33f58a);});})));}['_onCursorUpdate'](_0x3e529a){const _0x2a4628=_0x2ff589;var _0x134479,_0xe778f4;const {memberID:_0x292ceb,selection:_0x585165}=_0x3e529a[_0x2a4628(0x25d)],_0x4c4c57=_i(_0x585165),_0x22f88e=(_0xe778f4=(_0x134479=this['_memberService'][_0x2a4628(0x24e)](this[_0x2a4628(0x297)],_0x292ceb))==null?void 0x0:_0x134479[_0x2a4628(0x304)])!=null?_0xe778f4:_0x2a4628(0x2b0),_0x3e853a={'color':this[_0x2a4628(0x300)][_0x2a4628(0x196)](_0x292ceb),'name':_0x22f88e,'ranges':_0x4c4c57},_0x54c4b7=this['cursorInfo'];_0x54c4b7[_0x2a4628(0x326)](_0x292ceb,_0x3e853a),this[_0x2a4628(0x19e)][_0x2a4628(0x1d2)](_0x54c4b7);}['_onCursorDelete'](_0x4eacc2){const _0x1763b6=_0x2ff589,{memberID:_0x163ec7}=_0x4eacc2[_0x1763b6(0x25d)],_0x50df92=this[_0x1763b6(0x2ef)];_0x50df92[_0x1763b6(0x2e5)](_0x163ec7),this[_0x1763b6(0x19e)][_0x1763b6(0x1d2)](_0x50df92);}[_0x2ff589(0x1c6)](){const _0x146b22=_0x2ff589;var _0x581f86;if(this[_0x146b22(0x1e6)]=!0x0,((_0x581f86=this[_0x146b22(0x29b)]['getFocusedUnit']())==null?void 0x0:_0x581f86[_0x146b22(0x355)]())!==this[_0x146b22(0x297)])return;const _0x9bc3b=this['_injector'][_0x146b22(0x254)](_0x393415)[_0x146b22(0x236)]();Array[_0x146b22(0x1e4)](_0x9bc3b)&&_0x9bc3b[_0x146b22(0x298)]>0x0&&this[_0x146b22(0x21a)](_0x9bc3b);}['_toggleOffline'](){const _0x2d1e3e=_0x2ff589;this[_0x2d1e3e(0x1e6)]=!0x1;}};Ue=ui([w(0x2,_0x4abecf(_0x53572c)),w(0x3,_0x4abecf(ke)),w(0x4,_0x4abecf(_0x40f3ca)),w(0x5,_0x4abecf(He)),w(0x6,_0x540c7a),w(0x7,_0x298822),w(0x8,_0x792647)],Ue);var Si=Object[_0x2ff589(0x37c)],mi=(_0x348c3a,_0x8ca775,_0x4562f4,_0x5b7e07)=>{const _0x303b59=_0x2ff589;for(var _0x3400fb=_0x5b7e07>0x1?void 0x0:_0x5b7e07?Si(_0x8ca775,_0x4562f4):_0x8ca775,_0x2df5fa=_0x348c3a[_0x303b59(0x298)]-0x1,_0x58735a;_0x2df5fa>=0x0;_0x2df5fa--)(_0x58735a=_0x348c3a[_0x2df5fa])&&(_0x3400fb=_0x58735a(_0x3400fb)||_0x3400fb);return _0x3400fb;},x=(_0xdf9a8c,_0x3cb7ef)=>(_0x5c4d51,_0x5c188b)=>_0x3cb7ef(_0x5c4d51,_0x5c188b,_0xdf9a8c);const gi=0x12c,vi=0x64,Ii=()=>{let _0x5f5ce2=[],_0x49a27c=!0x1;return _0x462992=>{_0x5f5ce2['push'](_0x462992),_0x49a27c||(_0x49a27c=!0x0,setTimeout(()=>{const _0x11b59f=_0x8596;_0x5f5ce2[_0x11b59f(0x2c4)](_0x1cfa2f=>_0x1cfa2f()),_0x5f5ce2=[],_0x49a27c=!0x1;}));};};let Me=class extends _0x40e5ab{constructor(_0x97921,_0x8ad2d5,_0x471019,_0x4e94db,_0x212f6b,_0x4f60df,_0x57db85,_0x5298f7){const _0x2f573c=_0x2ff589;super(),_(this,_0x2f573c(0x1e6),!0x1),_(this,_0x2f573c(0x2ec),!0x1),_(this,_0x2f573c(0x19e),new _0x2da5c1(new Map())),_(this,_0x2f573c(0x2ac),this[_0x2f573c(0x19e)][_0x2f573c(0x1e9)]()),_(this,_0x2f573c(0x2a1),new _0x2da5c1([])),_(this,_0x2f573c(0x348),this[_0x2f573c(0x2a1)]['pipe'](_0x1dc439(gi))),_(this,_0x2f573c(0x21a),_0x34fdfc((_0x45e9aa,_0x3da21e)=>{const _0x45c99d=_0x2f573c,_0x1e56b8={'eventID':_0x48ad00[_0x45c99d(0x193)],'data':{'unitID':this[_0x45c99d(0x297)],'memberID':this['_session'][_0x45c99d(0x267)](),'selection':_0x21ca79(_0x45e9aa,_0x3da21e[_0x45c99d(0x2de)])}};this[_0x45c99d(0x2fb)][_0x45c99d(0x29f)](_0x1e56b8,this[_0x45c99d(0x297)]);},vi)),(this[_0x2f573c(0x297)]=_0x97921,this[_0x2f573c(0x2fb)]=_0x8ad2d5,this[_0x2f573c(0x25a)]=_0x471019,this[_0x2f573c(0x300)]=_0x4e94db,this['_memberService']=_0x212f6b,this[_0x2f573c(0x29b)]=_0x4f60df,this[_0x2f573c(0x2b9)]=_0x57db85,this['_refRangeService']=_0x5298f7);}get[_0x2ff589(0x2ef)](){const _0x10a65f=_0x2ff589;return this['_cursorInfo$'][_0x10a65f(0x2b6)]();}get['roomMembers'](){const _0x6cd1d6=_0x2ff589;return this[_0x6cd1d6(0x2a1)][_0x6cd1d6(0x2b6)]();}[_0x2ff589(0x2fc)](){const _0x2e03ac=_0x2ff589;super[_0x2e03ac(0x2fc)](),this[_0x2e03ac(0x19e)][_0x2e03ac(0x1d2)](new Map()),this[_0x2e03ac(0x19e)][_0x2e03ac(0x270)](),this[_0x2e03ac(0x2a1)]['next']([]),this[_0x2e03ac(0x2a1)][_0x2e03ac(0x270)]();}[_0x2ff589(0x1f3)](){const _0x4050de=_0x2ff589;this[_0x4050de(0x2ec)]||(this[_0x4050de(0x2ec)]=!0x0,this[_0x4050de(0x2fb)]['sessionStatus$']['pipe'](_0x16f876(this[_0x4050de(0x35a)]))[_0x4050de(0x215)](_0x4b3165=>{const _0x4c7f44=_0x4050de;_0x4b3165===_0x44faa7[_0x4c7f44(0x1d3)]?this[_0x4c7f44(0x1c6)]():this[_0x4c7f44(0x321)]();}),this[_0x4050de(0x2fb)][_0x4050de(0x190)][_0x4050de(0x1ee)](_0x16f876(this['dispose$']))['subscribe'](_0x19b4a4=>{const _0x5f0197=_0x4050de,_0x32cd32=_0x19b4a4[_0x5f0197(0x31c)];_0x32cd32===_0x48ad00[_0x5f0197(0x193)]&&this['_onCursorUpdate'](_0x19b4a4),_0x32cd32===_0x48ad00['USERS_LEAVE']&&this['_onCursorDelete'](_0x19b4a4);}),this[_0x4050de(0x261)](),this['disposeWithMe'](this[_0x4050de(0x2b9)][_0x4050de(0x262)](_0x1ff83e=>{const _0x401ca4=_0x4050de;if(this['_online']&&_0x1ff83e['id']===_0x4c7654['id']&&_0x1ff83e[_0x401ca4(0x206)][_0x401ca4(0x2d3)]===this['unitID']){const _0x14d675=_0x1ff83e[_0x401ca4(0x206)];this[_0x401ca4(0x21a)](_0x14d675['subUnitId'],_0x14d675['selections'][0x0]);}})));}[_0x2ff589(0x19f)](_0x301f6f){const _0xe6e7ab=_0x2ff589;var _0x4228a5,_0x321f00;const {memberID:_0x1c1028,selection:_0x20a5e1}=_0x301f6f[_0xe6e7ab(0x25d)],{sheetName:_0x5f171b,range:_0x21b6e5}=_0x45bd40(_0x20a5e1),_0x1c28ce={'name':(_0x321f00=(_0x4228a5=this[_0xe6e7ab(0x1b1)][_0xe6e7ab(0x24e)](this[_0xe6e7ab(0x297)],_0x1c1028))==null?void 0x0:_0x4228a5['name'])!=null?_0x321f00:_0xe6e7ab(0x2b0),'range':this[_0xe6e7ab(0x319)](_0x5f171b,_0x21b6e5),'sheetID':_0x5f171b,'color':this[_0xe6e7ab(0x300)][_0xe6e7ab(0x196)](_0x1c1028),'selection':_0x20a5e1},_0xee2fe2=this['cursorInfo'];_0xee2fe2[_0xe6e7ab(0x326)](_0x1c1028,_0x1c28ce),this['_cursorInfo$']['next'](_0xee2fe2);}[_0x2ff589(0x366)](_0x5cca36){const _0x468873=_0x2ff589,{memberID:_0x59aa45}=_0x5cca36[_0x468873(0x25d)],_0x32405b=this[_0x468873(0x2ef)];_0x32405b['delete'](_0x59aa45),this[_0x468873(0x19e)][_0x468873(0x1d2)](_0x32405b);}['_getMergeRange'](_0x1e17cb,_0x5ecfcf){const _0x49a0e3=_0x2ff589;var _0x22db6a,_0x473cca;const _0x40a78a=(_0x473cca=(_0x22db6a=this[_0x49a0e3(0x29b)][_0x49a0e3(0x266)](this['unitID']))==null?void 0x0:_0x22db6a[_0x49a0e3(0x2d4)](_0x1e17cb))==null?void 0x0:_0x473cca[_0x49a0e3(0x280)]();return(_0x40a78a==null?void 0x0:_0x40a78a[_0x49a0e3(0x260)](_0x31c51c=>_0x1a09f7['contains'](_0x31c51c,_0x5ecfcf)))||_0x5ecfcf;}['_onRefRangeChange'](){const _0x1120ac=_0x2ff589,_0x2f5b54=new _0x1d0a8a(),_0x4a9938=Ii(),_0x4bb827=()=>{const _0x500980=_0x8596;_0x2f5b54[_0x500980(0x2fc)]();const _0x470152=(_0x3dae69,_0x201aa2,_0x387ae0,_0x379223)=>{const _0x2a2878=_0x500980;let _0x440533=[];switch(_0x3dae69['id']){case _0x3858bc[_0x2a2878(0x1b4)]:{_0x440533=_0x30601c(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x2cb)]:{_0x440533=_0x9b2a92(_0x3dae69,_0x379223);break;}case _0x3858bc['InsertColCommandId']:{_0x440533=_0xe1166a(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x331)]:{_0x440533=_0xd6324e(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x32a)]:{_0x440533=_0x2758a8(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x222)]:{_0x440533=_0x3c6372(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x1cd)]:{_0x440533=_0x376cc8(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x2da)]:{_0x440533=_0x225ce8(_0x3dae69,_0x379223);break;}case _0x3858bc[_0x2a2878(0x299)]:{_0x440533=_0x44ae5e(_0x3dae69,_0x379223);break;}}const _0x2e77bb=_0x17f90f(_0x440533,_0x379223),_0x4d79c0=this[_0x2a2878(0x2ef)][_0x2a2878(0x254)](_0x201aa2);if(_0x4d79c0&&_0x2e77bb){const _0xb20641={..._0x4d79c0,'range':_0x2e77bb};this['cursorInfo'][_0x2a2878(0x326)](_0x201aa2,_0xb20641),_0x4a9938(()=>{const _0x40700f=_0x2a2878,_0xc42040=this[_0x40700f(0x2ce)][_0x40700f(0x2c8)](_0x2e77bb,_0x3fcaa7=>(_0xc42040[_0x40700f(0x2fc)](),_0x470152(_0x3fcaa7,_0x201aa2,_0x387ae0,_0x2e77bb)));_0x2f5b54[_0x40700f(0x1be)](_0xc42040);});}return{'redos':[],'undos':[]};};this[_0x500980(0x2ef)]['forEach']((_0xc20923,_0x1e43b6)=>{const _0x2d01cd=_0x500980,{range:_0x12d500,sheetID:_0x305926}=_0xc20923,_0x576c41=this[_0x2d01cd(0x2ce)][_0x2d01cd(0x2c8)](_0x12d500,_0x4fb4c2=>(_0x576c41[_0x2d01cd(0x2fc)](),_0x470152(_0x4fb4c2,_0x1e43b6,_0x305926,_0x12d500)));_0x2f5b54[_0x2d01cd(0x1be)](_0x576c41);});};this[_0x1120ac(0x279)](_0x55d959(this['_cursorInfo$'][_0x1120ac(0x215)](()=>{_0x4bb827();})));}[_0x2ff589(0x1c6)](){const _0x223256=_0x2ff589;var _0x3a0f98,_0x2a48d5;if(this[_0x223256(0x1e6)]=!0x0,((_0x3a0f98=this['_univerInstanceService'][_0x223256(0x292)]())==null?void 0x0:_0x3a0f98[_0x223256(0x355)]())!==this[_0x223256(0x297)])return;const _0x505f0d=(_0x2a48d5=this['_injector'][_0x223256(0x254)](_0x224247)['getCurrentSelections']())==null?void 0x0:_0x2a48d5[0x0],_0x1af4fa=this['_univerInstanceService'][_0x223256(0x342)](_0x50946e[_0x223256(0x18e)])[_0x223256(0x1cc)]();_0x505f0d&&_0x1af4fa&&this[_0x223256(0x21a)](_0x1af4fa['getSheetId'](),_0x505f0d);}[_0x2ff589(0x321)](){const _0x475513=_0x2ff589;this[_0x475513(0x1e6)]=!0x1;}};Me=mi([x(0x2,_0x4abecf(_0x53572c)),x(0x3,_0x4abecf(ke)),x(0x4,_0x4abecf(_0x40f3ca)),x(0x5,_0x298822),x(0x6,_0x792647),x(0x7,_0x4abecf(_0x35a5e8))],Me);var pi=Object[_0x2ff589(0x37c)],Ci=(_0x3ca704,_0x4d07fa,_0x4a5e40,_0x5cce47)=>{const _0x498435=_0x2ff589;for(var _0x5b7557=_0x5cce47>0x1?void 0x0:_0x5cce47?pi(_0x4d07fa,_0x4a5e40):_0x4d07fa,_0x48ffa5=_0x3ca704[_0x498435(0x298)]-0x1,_0x2f6371;_0x48ffa5>=0x0;_0x48ffa5--)(_0x2f6371=_0x3ca704[_0x48ffa5])&&(_0x5b7557=_0x2f6371(_0x5b7557)||_0x5b7557);return _0x5b7557;},Se=(_0x485432,_0x6a0dc3)=>(_0x4c2679,_0x11b9c0)=>_0x6a0dc3(_0x4c2679,_0x11b9c0,_0x485432);let H=class extends _0x40e5ab{constructor(_0x545f7d,_0x254005,_0x154441){const _0x330785=_0x2ff589;super(),_(this,_0x330785(0x2bd),new Map()),_(this,_0x330785(0x23e),new _0x57e03f()),(this['_univerInstanceService']=_0x545f7d,this[_0x330785(0x25a)]=_0x254005,this[_0x330785(0x351)]=_0x154441,this['_init']());}['dispose'](){const _0xaaa226=_0x2ff589;super['dispose'](),this[_0xaaa226(0x23e)][_0xaaa226(0x270)](),this[_0xaaa226(0x2bd)][_0xaaa226(0x2c4)](_0x265795=>_0x265795[_0xaaa226(0x2fc)]());}[_0x2ff589(0x1a8)](_0x494223){const _0x7e6e4e=_0x2ff589;return this[_0x7e6e4e(0x2bd)][_0x7e6e4e(0x2f3)](_0x494223)?this[_0x7e6e4e(0x2bd)][_0x7e6e4e(0x254)](_0x494223)[_0x7e6e4e(0x2ac)]:this[_0x7e6e4e(0x23e)][_0x7e6e4e(0x1ee)](_0x1a0912(_0x4384a7=>_0x4384a7[_0x7e6e4e(0x297)]===_0x494223),_0xb29a9c(_0x464d8c=>_0x464d8c['cursorInfo$']));}['_init'](){const _0x356639=_0x2ff589;this[_0x356639(0x29b)]['getTypeOfUnitAdded$'](_0x50946e['UNIVER_SHEET'])['pipe'](_0x16f876(this[_0x356639(0x35a)]))[_0x356639(0x215)](async _0x3cc49e=>{const _0x11f4e1=_0x356639,_0x442873=_0x3cc49e['getUnitId'](),_0x3bd435=await this['_startSheetCollabCursor'](_0x442873);this['_entityInit$'][_0x11f4e1(0x1d2)](_0x3bd435),this[_0x11f4e1(0x2bd)][_0x11f4e1(0x326)](_0x442873,_0x3bd435);}),this[_0x356639(0x29b)]['getTypeOfUnitAdded$'](_0x50946e['UNIVER_DOC'])[_0x356639(0x1ee)](_0x16f876(this[_0x356639(0x35a)]))['pipe'](_0x1a0912(_0x1e37a2=>!_0x1e37a2[_0x356639(0x355)]()[_0x356639(0x21f)]('__')))[_0x356639(0x215)](async _0x5ec5e8=>{const _0x402bd6=_0x356639,_0x521b82=_0x5ec5e8['getUnitId'](),_0x3b0b83=await this[_0x402bd6(0x18a)](_0x521b82);this[_0x402bd6(0x23e)][_0x402bd6(0x1d2)](_0x3b0b83),this[_0x402bd6(0x2bd)][_0x402bd6(0x326)](_0x521b82,_0x3b0b83);}),_0x3fa897(this[_0x356639(0x29b)]['getTypeOfUnitDisposed$'](_0x50946e['UNIVER_DOC']),this[_0x356639(0x29b)][_0x356639(0x32e)](_0x50946e[_0x356639(0x18e)]))['pipe'](_0x16f876(this['dispose$']))[_0x356639(0x215)](_0x2422c7=>{const _0x6ef0ba=_0x356639,_0x3270e9=_0x2422c7[_0x6ef0ba(0x355)](),_0x2d5ba2=this['_entities'][_0x6ef0ba(0x254)](_0x3270e9);_0x2d5ba2&&(_0x2d5ba2[_0x6ef0ba(0x2fc)](),this['_entities'][_0x6ef0ba(0x2e5)](_0x3270e9));});}async[_0x2ff589(0x203)](_0x17b923){const _0x2d3d82=_0x2ff589,_0x5bd391=await this['_collabSessionService'][_0x2d3d82(0x313)](_0x17b923),_0x7e9474=this[_0x2d3d82(0x25a)]['createInstance'](Me,_0x17b923,_0x5bd391);return _0x7e9474['init'](),_0x7e9474;}async[_0x2ff589(0x18a)](_0x280818){const _0x1fc80c=_0x2ff589,_0x45228b=await this['_collabSessionService']['requireSession'](_0x280818),_0x4595b4=this[_0x1fc80c(0x25a)]['createInstance'](Ue,_0x280818,_0x45228b);return _0x4595b4[_0x1fc80c(0x1f3)](),_0x4595b4;}};H=Ci([Se(0x0,_0x298822),Se(0x1,_0x4abecf(_0x53572c)),Se(0x2,_0x4abecf(_0x462455))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x370ab,_0x55454f){const _0x483af7=_0x2ff589;let {radius:_0xbb239e,width:_0x71f85d,height:_0x428fa2}=_0x55454f;_0xbb239e=_0xbb239e!=null?_0xbb239e:0x0,_0x71f85d=_0x71f85d!=null?_0x71f85d:0x1e,_0x428fa2=_0x428fa2!=null?_0x428fa2:0x1e;let _0xe9075=0x0,_0x2222f2=0x0,_0x3a9a7f=0x0;_0xe9075=_0x2222f2=_0x3a9a7f=Math[_0x483af7(0x1a4)](_0xbb239e,_0x71f85d/0x2,_0x428fa2/0x2),_0x370ab['beginPath'](),_0x370ab[_0x483af7(0x207)](_0xe9075,0x0),_0x370ab[_0x483af7(0x2d0)](_0x71f85d-_0x2222f2,0x0),_0x370ab[_0x483af7(0x231)](_0x71f85d-_0x2222f2,_0x2222f2,_0x2222f2,Math['PI']*0x3/0x2,0x0,!0x1),_0x370ab[_0x483af7(0x2d0)](_0x71f85d,_0x428fa2-_0x3a9a7f),_0x370ab['arc'](_0x71f85d-_0x3a9a7f,_0x428fa2-_0x3a9a7f,_0x3a9a7f,0x0,Math['PI']/0x2,!0x1),_0x370ab[_0x483af7(0x2d0)](0x0,_0x428fa2),_0x370ab[_0x483af7(0x2d0)](0x0,_0xe9075),_0x370ab[_0x483af7(0x231)](_0xe9075,_0xe9075,_0xe9075,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x370ab[_0x483af7(0x305)](),_0x55454f['fill']&&(_0x370ab[_0x483af7(0x277)](),_0x370ab['fillStyle']=_0x55454f['fill'],_0x55454f['fillRule']==='evenodd'?_0x370ab[_0x483af7(0x2db)](_0x483af7(0x36c)):_0x370ab[_0x483af7(0x2db)](),_0x370ab['restore']());}class he extends _0xb4d31a{constructor(_0x54097c,_0x1d6829){const _0x3cd1cf=_0x2ff589;super(_0x54097c,_0x1d6829),_(this,_0x3cd1cf(0x378)),_(this,_0x3cd1cf(0x35e)),(this[_0x3cd1cf(0x378)]=_0x1d6829==null?void 0x0:_0x1d6829[_0x3cd1cf(0x378)],this[_0x3cd1cf(0x35e)]=_0x1d6829==null?void 0x0:_0x1d6829[_0x3cd1cf(0x35e)]);}static[_0x2ff589(0x1a7)](_0x1d1df9,_0x4e5077){const _0x2b8642=_0x2ff589,{text:_0x3d2c93,color:_0x11e97c}=_0x4e5077;_0x1d1df9[_0x2b8642(0x277)](),_0x1d1df9[_0x2b8642(0x2d6)]=_0x2b8642(0x364);const _0x14d575=_0x1d1df9['measureText'](_0x3d2c93)['width'],_0x5bce7d=Math[_0x2b8642(0x1a4)](_0x14d575+0x2*me,Qe);bi(_0x1d1df9,{'height':ee,'radius':0x4,'width':_0x5bce7d,'fill':_0x11e97c}),_0x1d1df9[_0x2b8642(0x293)]=_0x2b8642(0x1ed);const _0x340e2e=me,_0x151e4d=ee-Ei,_0x23162e=Qe-0x2*me;if(_0x14d575>_0x23162e){let _0x5365b2='',_0x18cca2=0x0;for(const _0x21a34d of _0x3d2c93){const _0xcc431e=_0x1d1df9[_0x2b8642(0x2c5)](_0x21a34d)[_0x2b8642(0x29d)];if(_0x18cca2+_0xcc431e<=_0x23162e-_0x1d1df9['measureText'](_0x2b8642(0x368))[_0x2b8642(0x29d)])_0x5365b2+=_0x21a34d,_0x18cca2+=_0xcc431e;else{_0x5365b2+=_0x2b8642(0x368);break;}}_0x1d1df9['fillText'](_0x5365b2,_0x340e2e,_0x151e4d);}else _0x1d1df9[_0x2b8642(0x381)](_0x3d2c93,_0x340e2e,_0x151e4d);_0x1d1df9['restore']();}[_0x2ff589(0x213)](_0x44fbbd){const _0x59a4b1=_0x2ff589;he[_0x59a4b1(0x1a7)](_0x44fbbd,this);}}const ge=_0x2ff589(0x33b),Oi='collab-text-range-',Ti=_0x2ff589(0x328),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x2ff589(0x2a5);class qe{constructor(_0x5c1db7,_0x20032f,_0x4cfb9c,_0x23aa4f){const _0x17afff=_0x2ff589;_(this,_0x17afff(0x21c),[]),_(this,_0x17afff(0x2f5),null),_(this,'_textBubble',null),_(this,_0x17afff(0x230),null),_(this,_0x17afff(0x240),null),_(this,_0x17afff(0x337),null),(this[_0x17afff(0x34b)]=_0x5c1db7,this[_0x17afff(0x2cd)]=_0x20032f,this[_0x17afff(0x2a6)]=_0x4cfb9c,this[_0x17afff(0x37a)]=_0x23aa4f,this[_0x17afff(0x2a3)]());}set[_0x2ff589(0x37f)](_0x33e4a1){const _0x2f4b3d=_0x2ff589;_0x33e4a1?(this[_0x2f4b3d(0x230)]&&this[_0x2f4b3d(0x230)]['hide'](),this[_0x2f4b3d(0x242)]&&this[_0x2f4b3d(0x242)][_0x2f4b3d(0x370)]()):(this[_0x2f4b3d(0x230)]&&this[_0x2f4b3d(0x230)][_0x2f4b3d(0x370)](),this['_textBubble']&&this[_0x2f4b3d(0x242)]['hide']());}[_0x2ff589(0x2fc)](){const _0x289e6c=_0x2ff589;for(const _0x1adb47 of this[_0x289e6c(0x21c)])_0x1adb47[_0x289e6c(0x2fc)]();this[_0x289e6c(0x242)]&&this['_textBubble'][_0x289e6c(0x2fc)](),this[_0x289e6c(0x230)]&&this[_0x289e6c(0x230)][_0x289e6c(0x2fc)](),this[_0x289e6c(0x2f5)]&&this['_anchor'][_0x289e6c(0x2fc)](),this[_0x289e6c(0x337)]&&this[_0x289e6c(0x337)]();}['_render'](){const _0x1c3ee6=_0x2ff589;var _0x16fef6;const {_docSkeleton:_0x48adc2,_document:_0x3f1b65}=this,{color:_0x1c5b54,name:_0x56f36d,ranges:_0x23235c}=this[_0x1c3ee6(0x34b)],_0xb2cd3e=_0x3f1b65[_0x1c3ee6(0x275)](),{docsLeft:_0x98a195,docsTop:_0x2a71ae}=_0xb2cd3e,_0x200eea=new _0x37a881(_0xb2cd3e,_0x48adc2);for(const {startOffset:_0x3e3ff2,endOffset:_0x55e66b,rangeType:_0x4b4469,segmentId:_0xbb769b,segmentPage:_0xc0b1cc,collapsed:_0xeb9fdf,isActive:_0x48c1ef}of _0x23235c){const _0x156095=_0x48adc2[_0x1c3ee6(0x34a)](_0x3e3ff2,!0x0,_0xbb769b,_0xc0b1cc);let _0xe822e2=_0x48adc2[_0x1c3ee6(0x34a)](_0x55e66b,!0x0,_0xbb769b,_0xc0b1cc);if(_0xe822e2==null&&(_0xe822e2=_0x48adc2[_0x1c3ee6(0x34a)](_0x55e66b-0x1,!0x1,_0xbb769b,_0xc0b1cc)),_0x48c1ef){const {contentBoxPointGroup:_0x1e03c5}=_0x200eea[_0x1c3ee6(0x30b)](_0xe822e2,_0xe822e2);if(_0x1e03c5[_0x1c3ee6(0x298)]===0x0)continue;this[_0x1c3ee6(0x201)](_0x1c5b54,_0x1e03c5,_0x98a195,_0x2a71ae,_0x56f36d),this[_0x1c3ee6(0x337)]=this[_0x1c3ee6(0x37b)]();}if(_0x156095&&_0xe822e2){if(_0x4b4469===_0x4aa5fb[_0x1c3ee6(0x382)]){const _0x4861b6=new _0x1da8f8(_0xb2cd3e,_0x48adc2),{pointGroup:_0x3a83cc}=(_0x16fef6=_0x4861b6['getRangePointData'](_0x156095,_0xe822e2))!=null?_0x16fef6:{};if(_0x3a83cc==null||_0x3a83cc[_0x1c3ee6(0x298)]===0x0)continue;this['_drawRectRange'](_0x1c5b54,_0x3a83cc,_0x98a195,_0x2a71ae);}else{if(!_0xeb9fdf){const {borderBoxPointGroup:_0x33fc2e}=_0x200eea[_0x1c3ee6(0x30b)](_0x156095,_0xe822e2);if(_0x33fc2e[_0x1c3ee6(0x298)]===0x0)continue;this[_0x1c3ee6(0x318)](_0x1c5b54,_0x33fc2e,_0x98a195,_0x2a71ae);}}}}}[_0x2ff589(0x201)](_0x3cf557,_0x4cc1ff,_0xcaa0ff,_0x2a86f4,_0x4ab3fe){const _0x1cb05f=_0x2ff589,_0x1e0eb4=this[_0x1cb05f(0x2ed)](_0x4cc1ff),{left:_0x29f9fa,top:_0x300146,height:_0x4ed18e}=_0x1e0eb4,_0x3946a0=this[_0x1cb05f(0x20c)](),_0x355342=Di/_0x3946a0,_0x506ab1=new _0x439a92(ge+_0x4c6864['generateRandomId'](X),{'left':_0x29f9fa+_0xcaa0ff-_0x355342,'top':_0x300146+_0x2a86f4,'height':_0x4ed18e,'width':Ri,'fill':_0x3cf557||_0x536806(_0x3dfe11[_0x1cb05f(0x2f1)],0x0),'strokeWidth':_0x355342,'stroke':Ni,'evented':!0x0});this['_anchor']=_0x506ab1,this[_0x1cb05f(0x2cd)][_0x1cb05f(0x339)](_0x506ab1,_0x380719);const _0x27f656=new _0x439a92(ge+_0x4c6864['generateRandomId'](X),{'left':_0x29f9fa+_0xcaa0ff-_0x355342,'top':_0x300146+_0x2a86f4-ve/0x2,'height':ve,'width':ve,'fill':_0x3cf557||_0x536806(_0x3dfe11[_0x1cb05f(0x2f1)],0x0),'strokeWidth':0x0,'stroke':_0x3cf557||_0x536806(_0x3dfe11[_0x1cb05f(0x2f1)],0x0),'evented':!0x1});this[_0x1cb05f(0x230)]=_0x27f656,this[_0x1cb05f(0x2cd)][_0x1cb05f(0x339)](_0x27f656,_0x380719);const _0xa8fe0e=new he(ge+_0x4c6864['generateRandomId'](X),{'left':_0x29f9fa+_0xcaa0ff-_0x355342,'top':_0x300146+_0x2a86f4-ee,'text':_0x4ab3fe,'color':_0x3cf557});this['_textBubble']=_0xa8fe0e,this[_0x1cb05f(0x2cd)][_0x1cb05f(0x339)](_0xa8fe0e,_0x380719),this[_0x1cb05f(0x37f)]=!0x1;}[_0x2ff589(0x37b)](){const _0x554307=_0x2ff589,_0x8e5655=this[_0x554307(0x2f5)][_0x554307(0x375)][_0x554307(0x24b)](()=>{const _0x154e6e=_0x554307;this[_0x154e6e(0x37f)]=!0x0;}),_0x53a0f2=this[_0x554307(0x2f5)][_0x554307(0x2a2)][_0x554307(0x24b)](()=>{const _0x56a64a=_0x554307;this[_0x56a64a(0x240)]&&clearTimeout(this[_0x56a64a(0x240)]),this[_0x56a64a(0x240)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x561c32=_0x554307;_0x8e5655[_0x561c32(0x219)](),_0x53a0f2['unsubscribe']();};}[_0x2ff589(0x318)](_0x1a38d1,_0x5bfe41,_0x385caf,_0x35f79a){const _0x84c7ed=_0x2ff589,_0x20f76c=new _0x1aa726(_0x1a38d1)[_0x84c7ed(0x2ae)](0.2)[_0x84c7ed(0x197)](),_0x380e59=new _0x541c40(Oi+_0x4c6864[_0x84c7ed(0x191)](X),{'pointsGroup':_0x5bfe41,'fill':_0x20f76c||_0x536806(_0x3dfe11['black'],0.2),'left':_0x385caf,'top':_0x35f79a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x84c7ed(0x25c)](_0x380e59),this[_0x84c7ed(0x2cd)][_0x84c7ed(0x339)](_0x380e59,_0x380719);}[_0x2ff589(0x204)](_0x19502d,_0x2e6964,_0x45e77a,_0x420564){const _0x4abfe3=_0x2ff589,_0x2c53c0=new _0x1aa726(_0x19502d)[_0x4abfe3(0x2ae)](0.2)[_0x4abfe3(0x197)](),_0x3cbe5f=new _0x541c40(Ti+_0x4c6864[_0x4abfe3(0x191)](X),{'pointsGroup':_0x2e6964,'fill':_0x2c53c0||_0x536806(_0x3dfe11['black'],0.2),'left':_0x45e77a,'top':_0x420564,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4abfe3(0x21c)][_0x4abfe3(0x25c)](_0x3cbe5f),this[_0x4abfe3(0x2cd)][_0x4abfe3(0x339)](_0x3cbe5f,_0x380719);}['_getAnchorBounding'](_0x1f0788){const _0x14bfb9=_0x1f0788[0x0],_0x57cd04=_0x14bfb9[0x0],_0x1ca172=_0x14bfb9[0x2],{x:_0x5ff6ce,y:_0x324191}=_0x57cd04,{x:_0xfb1ee6,y:_0x44f875}=_0x1ca172;return{'left':_0x5ff6ce,'top':_0x324191,'width':_0xfb1ee6-_0x5ff6ce,'height':_0x44f875-_0x324191};}[_0x2ff589(0x20c)](){const _0x4e7ccd=_0x2ff589,{scaleX:_0x38ebf2,scaleY:_0x19e1c7}=this[_0x4e7ccd(0x2cd)][_0x4e7ccd(0x2cf)]();return Math[_0x4e7ccd(0x374)](_0x38ebf2,_0x19e1c7);}}var Ui=Object[_0x2ff589(0x37c)],Mi=(_0x54561e,_0x12795b,_0x4c0fbf,_0x4d42a2)=>{const _0x9a03d1=_0x2ff589;for(var _0x278e22=_0x4d42a2>0x1?void 0x0:_0x4d42a2?Ui(_0x12795b,_0x4c0fbf):_0x12795b,_0x549e33=_0x54561e[_0x9a03d1(0x298)]-0x1,_0x2506ba;_0x549e33>=0x0;_0x549e33--)(_0x2506ba=_0x54561e[_0x549e33])&&(_0x278e22=_0x2506ba(_0x278e22)||_0x278e22);return _0x278e22;},Z=(_0x3194f4,_0x490836)=>(_0xb66f25,_0x57d8da)=>_0x490836(_0xb66f25,_0x57d8da,_0x3194f4);let Pe=class extends _0x40e5ab{constructor(_0x3cd901,_0x17ccae,_0x4d9568,_0x180229,_0x10eba3){const _0x46f3af=_0x2ff589;super(),_(this,_0x46f3af(0x223),[]),_(this,'_cursors',[]),(this['_context']=_0x3cd901,this['_docSkeletonManagerService']=_0x17ccae,this['_collabCursorController']=_0x4d9568,this['_commandService']=_0x180229,this[_0x46f3af(0x200)]=_0x10eba3,this['_init']());}[_0x2ff589(0x2ec)](){const _0x453f28=_0x2ff589,_0x53b82b=this[_0x453f28(0x246)][_0x453f28(0x2d3)],_0x5dd6a1=this['_docSkeletonManagerService'];this[_0x453f28(0x279)](_0x42d931([this[_0x453f28(0x2e3)]['getCollabCursors$'](_0x53b82b),this[_0x453f28(0x200)][_0x453f28(0x281)]])[_0x453f28(0x1ee)](_0x5988cd(([_0x1edbd3,_0x2af9fa])=>({'skeleton':_0x5dd6a1[_0x453f28(0x1fa)](),'cursors':[..._0x1edbd3['values']()][_0x453f28(0x290)](_0x194f28=>({..._0x194f28,'color':_0x2af9fa[_0x194f28['color']]}))})))[_0x453f28(0x215)](_0x3cfebe=>{const _0x1f166a=_0x453f28;if(this[_0x1f166a(0x2b7)](),_0x3cfebe){const {skeleton:_0x294e5b,cursors:_0x3a026a}=_0x3cfebe;this[_0x1f166a(0x26b)](_0x294e5b,_0x3a026a);}})),this[_0x453f28(0x2d5)](),this[_0x453f28(0x2a7)]();}['_updateCollabCursors'](_0x56fb46,_0x3861b9){const _0x22ad4d=_0x2ff589,{scene:_0x84350d,mainComponent:_0x1c44db}=this[_0x22ad4d(0x246)],_0x9e4a8=_0x3861b9[_0x22ad4d(0x20e)](_0x1e8b05=>new qe(_0x1e8b05,_0x84350d,_0x56fb46,_0x1c44db));this[_0x22ad4d(0x223)]=_0x9e4a8,this[_0x22ad4d(0x252)]=_0x3861b9;}[_0x2ff589(0x1b3)](){const _0x5d71ea=_0x2ff589;this['_removeCollabCursors']();const {scene:_0x3bc058,mainComponent:_0x47517e}=this['_context'],_0x1ea642=this[_0x5d71ea(0x2b8)][_0x5d71ea(0x1fa)](),_0x21c017=this[_0x5d71ea(0x252)][_0x5d71ea(0x20e)](_0xc8c593=>new qe(_0xc8c593,_0x3bc058,_0x1ea642,_0x47517e));this[_0x5d71ea(0x223)]=_0x21c017;}['_removeCollabCursors'](){const _0x577b5d=_0x2ff589;this[_0x577b5d(0x223)][_0x577b5d(0x2c4)](_0x265dce=>_0x265dce[_0x577b5d(0x2fc)]()),this[_0x577b5d(0x223)]=[];}[_0x2ff589(0x2a7)](){const _0x47b6a6=_0x2ff589,_0x463870=[_0x56903b['id']];this[_0x47b6a6(0x279)](this[_0x47b6a6(0x2b9)][_0x47b6a6(0x262)](_0x59d2ad=>{const _0x2d0c91=_0x47b6a6;_0x463870['includes'](_0x59d2ad['id'])&&_0x59d2ad[_0x2d0c91(0x206)][_0x2d0c91(0x2d3)]===this[_0x2d0c91(0x246)][_0x2d0c91(0x2d3)]&&this[_0x2d0c91(0x1b3)]();}));}[_0x2ff589(0x2d5)](){const _0x1db6b4=_0x2ff589;this['disposeWithMe'](_0x12640c(this[_0x1db6b4(0x246)][_0x1db6b4(0x2cc)][_0x1db6b4(0x22f)])['pipe'](_0x3f7302(_0x2c6d20=>_0x2c6d20['type']===_0x56f88f[_0x1db6b4(0x358)]),_0xecc5c4(0x10))[_0x1db6b4(0x215)](()=>{const _0x5cae79=_0x1db6b4;this[_0x5cae79(0x1b3)]();}));}};Pe=Mi([Z(0x1,_0x4abecf(_0x484a46)),Z(0x2,_0x4abecf(H)),Z(0x3,_0x792647),Z(0x4,_0x4abecf(_0x37cd77))],Pe);const Pi=0x1,wi=1.5;class Li extends _0xb4d31a{constructor(_0x474c86,_0x39dc5a){const _0x5877da=_0x2ff589;super(_0x474c86,_0x39dc5a),_(this,_0x5877da(0x31b)),_(this,_0x5877da(0x344),!0x1),_(this,_0x5877da(0x263)),_(this,_0x5877da(0x27e),''),_(this,_0x5877da(0x2f7),'top'),_(this,_0x5877da(0x2ab)),(_0x39dc5a&&this['setShapeProps'](_0x39dc5a),this[_0x5877da(0x375)][_0x5877da(0x24b)](()=>this[_0x5877da(0x1f7)]({'hovered':!0x0})),this[_0x5877da(0x2a2)]['subscribeEvent'](()=>this[_0x5877da(0x1f7)]({'hovered':!0x1})));}[_0x2ff589(0x1f7)](_0x39eab4){const _0x580a5b=_0x2ff589;var _0x48bcc4,_0x3a4646,_0x20d976,_0x44e04f,_0x3917b5,_0x4aa37e;this[_0x580a5b(0x31b)]=(_0x48bcc4=_0x39eab4[_0x580a5b(0x378)])!=null?_0x48bcc4:this[_0x580a5b(0x31b)],this[_0x580a5b(0x344)]=(_0x3a4646=_0x39eab4['hovered'])!=null?_0x3a4646:this[_0x580a5b(0x344)],this[_0x580a5b(0x263)]=(_0x20d976=_0x39eab4[_0x580a5b(0x2de)])!=null?_0x20d976:this['_range'],this['_name']=(_0x44e04f=_0x39eab4['name'])!=null?_0x44e04f:this[_0x580a5b(0x27e)],this[_0x580a5b(0x2f7)]=(_0x3917b5=_0x39eab4[_0x580a5b(0x1e2)])!=null?_0x3917b5:this[_0x580a5b(0x2f7)],this['_backgroundColor']=(_0x4aa37e=_0x39eab4[_0x580a5b(0x23c)])!=null?_0x4aa37e:this['_backgroundColor'],this['transformByState']({'width':_0x39eab4[_0x580a5b(0x29d)],'height':_0x39eab4[_0x580a5b(0x32b)]});}[_0x2ff589(0x265)](_0x7540){const _0x366548=_0x2ff589,{row:_0xba6313,column:_0x2ca657}=_0x7540;if(_0xba6313>=this[_0x366548(0x263)][_0x366548(0x2ea)]&&_0xba6313<=this[_0x366548(0x263)][_0x366548(0x284)]&&_0x2ca657>=this[_0x366548(0x263)][_0x366548(0x21e)]&&_0x2ca657<=this[_0x366548(0x263)][_0x366548(0x35d)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x366548(0x1f7)]({'hovered':!0x1});}[_0x2ff589(0x18b)](_0x297fcd){return!0x1;}[_0x2ff589(0x213)](_0x5e2cd5){const _0x499ae3=_0x2ff589;_0x439a92[_0x499ae3(0x1a7)](_0x5e2cd5,{'width':this[_0x499ae3(0x29d)],'height':this['height'],'strokeWidth':wi,'stroke':this[_0x499ae3(0x31b)],'evented':!0x1,'fill':this[_0x499ae3(0x2ab)]}),this['_hovered']&&(_0x5e2cd5[_0x499ae3(0x277)](),_0x5e2cd5['transform'](0x1,0x0,0x0,0x1,this[_0x499ae3(0x29d)],this[_0x499ae3(0x2f7)]==='bottom'?0x0:-0x14),he[_0x499ae3(0x1a7)](_0x5e2cd5,{'text':this['_name'],'color':this[_0x499ae3(0x31b)]}),_0x5e2cd5['restore']());}}var Ai=Object[_0x2ff589(0x37c)],yi=(_0x4f90b3,_0x2ce84c,_0x1c8a3b,_0xc3de2d)=>{const _0x1e4b15=_0x2ff589;for(var _0x165935=_0xc3de2d>0x1?void 0x0:_0xc3de2d?Ai(_0x2ce84c,_0x1c8a3b):_0x2ce84c,_0x5d575e=_0x4f90b3[_0x1e4b15(0x298)]-0x1,_0x5041c2;_0x5d575e>=0x0;_0x5d575e--)(_0x5041c2=_0x4f90b3[_0x5d575e])&&(_0x165935=_0x5041c2(_0x165935)||_0x165935);return _0x165935;},Ie=(_0x453db1,_0x26434c)=>(_0x5aed77,_0x121da4)=>_0x26434c(_0x5aed77,_0x121da4,_0x453db1);function _0x4637(){const _0x4b905b=['executionId','_colorIndex','with','mask','currentColor','requireSession','runId','setParam','_docTransformSelectionsService','_transformPreviousActiveRange','_drawTextRange','_getMergeRange','getCurrent','_color','eventID','gold400','setItem','_unitOnClients','Error','_toggleOffline','collaboration.closeRoom','key','_initEntityListener','disableLocalCache','set','_id','collab-rect-range-','off-line-single','InsertRangeMoveRightCommandId','height','_syncEditingCollabCursorService','collabStatus.offline','getTypeOfUnitDisposed$','Warning','1833eIDFFl','InsertRangeMoveDownCommandId','getSheetId','call','_getSaveTimeout','SNAPSHOT_INVALID_SNAPSHOT','registerComponent','_eventUnsubscribe','LICENSE_IMPORT_SIZE_EXCEEDED','addObject','OnLineSingle','collab-text-anchor-','clipPath','UNAUTHENTICATED','univer-flex\x20univer-items-center','substring','clearInterval','_send','getCurrentUnitForType','collab-client.tooltip.reconnect','_hovered','_initDependencies','invokeId','registerBeforeClose','roomMembers$','unload','findNodePositionByCharIndex','_cursor','defineProperty','_createSocketURL','hasOwnProperty','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','size','_collabSessionService','FromArray','INVITE_CODE_ALREADY_BOUND','setInterval','getUnitId','currentSkeleton$','MUTATION','resize','_saveCache','dispose$','collaboration-client.offline-data-not-saved','getParam','endColumn','text','getCurrentRevOfUnit','M0\x200H16V16H0z','USERS_LEAVE','result','off-line-single_clip0_910_343','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','1864818cpvGrK','_onCursorDelete','_transformUndoRedoStack','...','_unitStatus','textRanges','permission.title','evenodd','addEventListener','UNRECOGNIZED','bottom','show','editingUnit','storage','search','max','onPointerEnter$','getRenderById','_scheduleHeartbeat','color','ALREADY_EXISTS','_document','_handleHover','getOwnPropertyDescriptor','updateOfflineData','_doCreateSocket','_hover','_ensureSubject','fillText','RECT','verdancy600','collabStatus.fetchMiss','_startDocCollabCursor','triggerDblclick','PERMISSION_DENIED','setTimeout','UNIVER_SHEET','m2Prime','event$','generateRandomId','_uiPartsService','UPDATE_CURSOR','_saveTaskMap','propertyIsEnumerable','assignAColorForMemberID','toRgbString','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','SOCKET_FAILED_RETRY','_initStatusListener','0\x200\x2016\x2016','then','_handleHeartbeatEvent','_cursorInfo$','_onCursorUpdate','1056516ydBOtI','_updateURLWithCurrentState','_scheduleClearOtherTimer','registerRenderModule','min','attrs','_registerRenderDependencies','drawWith','getCollabCursors$','_assignedColors','UNIVER_DOC','_instanceService','collabStatus.syncing','colorChannel1','505715YXRGha','focused$','defs','_memberService','function','_refreshCollabCursors','DeleteRangeMoveLeftCommandId','clearTimeout','AWAITING_WITH_PENDING','string','addObjects','replaceState','isActive','error','_registerDependencies','FETCH_MISS','add','onPointerMove$','session.will-retry','_cachedData','getCollabEntity$','sheetId','replace','univerjs-icon\x20univerjs-icon-','_toggleOnline','unshift','url(#$1','executeCommand','values','_setupSubUnitSync','getActiveSheet','MoveRangeCommandId','undoState','transformIMECache','TOO_MANY_REQUESTS','getViewport','next','ONLINE','docStateChange$','_docTransformStateCacheService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','70nUdcfT','extend','_collabCursorState$','indexOf','CONNECTOR_DATA_TOO_LARGE','defIds','path','_docSyncEditingCollabCursorService','setActiveRange','saveTaskMap','APPLY_NON_SEQUENTIAL_REVISION','labelPosition','doc.mutation.rich-text-editing','isArray','_setupBeforeClosingHandler','_online','univer-text-red-500','_status$','asObservable','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','_revisionService','uni.network.url-service','#FFF','pipe','location','_configService','red300','_httpService','init','row','_disabled','className','setShapeProps','_docTransformIMECacheService','mutations','getSkeleton','_heartbeatTimer','session.collaboration-timeout','INVALID_ARGUMENT','replaceDocRanges','USER_NOT_INVITED_CODE','_themeService','_drawAnchor','OFFLINE','_startSheetCollabCursor','_drawRectRange','subunit','params','moveTo','301863GwDlQf','purple300','7ZfRxxg','round','_getScale','imageSourceType','map','redoState','application/json','Failed','_collaborationUIEventService','_draw','_logService','subscribe','_updateSubUnitFromURLParams','YUUMI_NO_CUBOID_FOR_QUESTION','saveImage','unsubscribe','_updateLocalCursor','displayName','_shapes','_docStateChangeManagerService','startColumn','startsWith','#fff','_removeClearOtherTimer','InsertRowCommandId','_cursorShapes','_collaborationController','_handleJoinEvent','collabStatus.conflict','addHandlerCallback','YUUMI_UNABLE_LOAD_URL','setStateCache','ACTIVE_UNIT_EVENT_CHANNEL','getConfig','sessionTicket','_localeService','body','onTransformChange$','_anchorDot','arc','type','entityInit$','sheetID','parse','getDocRanges','popstate','_transformHistoryAndStateStack','m1Prime','column','ranges','backgroundColor','/run/','_entityInit$','use','_hideTimer','isEditing','_textBubble','getActiveRange','_getSessionTicket','getStateCache','_context','code','permission.content','ENSURE_SNAPSHOT_EXECUTION','_notificationService','subscribeEvent','exhaustSavingTask','_localStorageService','getMember','APPLY_PERMISSION_DENIED','_getSheetObject','from','_cursors','_transformService','get','INVALID_INVITE_CODE','WECHAT_HAS_BEEN_BOUND','onStarting','[CollaborationDataLoaderController]','collabCursorState$','_injector','prototype','push','data','toString','LICENSE_MAX_UNITS_EXCEEDED','find','_onRefRangeChange','onCommandExecuted','_range','NOT_FOUND','onMouseMove','getUniverSheetInstance','getMemberID','pushState','none','NO_OTHER_CLIENTS_EDITING','_updateCollabCursors','_renderManagerService','CONFLICT','_dataLoaderService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','complete','entries','PY_RUNTIME_SCRIPT_ERROR','_localCacheService','TEXT','getOffsetConfig','YUUMI_URL_COL_OUT_OF_RANGE','save','UNDEFINED','disposeWithMe','LOGIN_FAILED','selection','transformMutationsWithChangeset','YUUMI_RATE_OVER_LIMIT','_name','_lastPointer','getMergeData','currentTheme$','icon','_docClipboardService','endRow','some','concat','transformMutation','118344eLeMec','CHANGESET_REVISION_CONFILICT','_imageIoService','tag','[RemoteUniscriptService]:\x20no\x20focused\x20unit','JOIN_ROOM_FAILED','stringify','createSocket','flatMap','enableLocalCache','getFocusedUnit','fillStyle','getOwnPropertySymbols','reconnect','assign','unitID','length','RemoveRowCommandId','1em','_univerInstanceService','all','width','_urlService','send','5436459KNMdFu','_roomMembers$','onPointerLeave$','_render','href','rgba(255,\x20255,\x20255,\x200.01)','_docSkeleton','_initCommandExecutedListener','transformSelections','jiqing500','newValue','_backgroundColor','cursorInfo$','INTERNAL_ERROR','setAlpha','_clearOtherTimers','Unknown\x20user','skeleton','blue400','debug','INVITE_CODE_HAS_BEEN_UES','xlink:href','getValue','_removeCollabCursors','_docSkeletonManagerService','_commandService','current','MOBILE_HAS_BEEN_BOUND','on-line-single_clip0_910_349','_entities','YUUMI_ASYNCIO_CANCELLED','_config','div','children','_selfUnitIDs','_sheetSkeletonManagerService','forEach','measureText','loadUnit','APPLY_DUPLICATED','registerRefRange','INVITE_CODE_REQUIRED','addClipboardHook','DeleteRangeMoveUpCommandId','engine','_scene','_refRangeService','getAncestorScale','lineTo','makeDirty','_messageService','unitId','getSheetBySheetId','_initResize','font','history','_initStatusComponent','_beforeCloseService','RemoveColCommandId','fill','split','_handleLeaveEvent','range','APPLY_REVISION_CONFILICT','CLOSE_ROOM','OTHER_CLIENTS_EDITING','SUBMIT_CHANGESET_TIMEOUT','_collabCursorController','YUUMI_SUBSCRIPTION_NOT_FOUND','delete','LICENSE_DISTRO_REJECTED','APPLY_REJECT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','SNAPSHOT_HAS_BEEN_REMOVED','startRow','COMPLETION_FINISHED','_init','_getAnchorBounding','_scheduleSaving','cursorInfo','UniverIcon','black','top','has','SYNCED','_anchor','loadOfflineData','_labelPosition','_handleEvent','collabStatus.synced','on-line-single','_session','dispose','collaboration.single-unit.warning','NOT_COLLAB','actions','_colorAssignService','idSuffix','trim','unit','name','closePath','transformStateCache','deepClone','svg','_initEvent','searchParams','getRangePointData','EMAIL_HAS_BEEN_BOUND','AWAITING'];_0x4637=function(){return _0x4b905b;};return _0x4637();}const $i=0x1389;let we=class extends _0x40e5ab{constructor(_0x5e495e,_0x5ce44e,_0xee656e,_0x32bffa){const _0x29f830=_0x2ff589;super(),_(this,_0x29f830(0x252),new Set()),_(this,_0x29f830(0x27f),null),(this['_context']=_0x5e495e,this[_0x29f830(0x2c3)]=_0x5ce44e,this[_0x29f830(0x2e3)]=_0xee656e,this[_0x29f830(0x200)]=_0x32bffa,this[_0x29f830(0x2ec)]());}[_0x2ff589(0x2ec)](){const _0x57a6c7=_0x2ff589;this[_0x57a6c7(0x2c3)]['currentSkeleton$'][_0x57a6c7(0x1ee)](_0x4c3014(this['dispose$']),_0x3d47ea(_0x2480f5=>{const _0x2d1f0e=_0x57a6c7;if(_0x2480f5){const _0x217bbd=_0x2480f5[_0x2d1f0e(0x1c3)];return _0x42d931(this['_collabCursorController'][_0x2d1f0e(0x1a8)](this['_context'][_0x2d1f0e(0x2d3)]),this[_0x2d1f0e(0x200)][_0x2d1f0e(0x281)])['pipe'](_0x5988cd(([_0x48a203,_0xc7196d])=>{const _0x34164d=new Map();return _0x48a203['forEach']((_0x35948c,_0x366612)=>{const _0xaf5e07=_0x8596;if(_0x35948c[_0xaf5e07(0x234)]===_0x217bbd){const _0x3a0d93={..._0x35948c};_0x3a0d93[_0xaf5e07(0x378)]=_0xc7196d[_0x35948c[_0xaf5e07(0x378)]],_0x34164d[_0xaf5e07(0x326)](_0x366612,_0x3a0d93);}}),{'skeleton':_0x2480f5,'cursors':_0x34164d};}));}return _0x88b8e7({'skeleton':null,'cursors':new Map()});}))[_0x57a6c7(0x215)](({skeleton:_0x261400,cursors:_0x346f10})=>{const _0x364cf5=_0x57a6c7;this[_0x364cf5(0x2b7)](),_0x261400&&this[_0x364cf5(0x26b)](_0x261400,_0x346f10);}),this[_0x57a6c7(0x2c3)][_0x57a6c7(0x356)]['subscribe'](_0x38c4b6=>{const _0x524cf6=_0x57a6c7;if(_0x38c4b6==null)return;const {skeleton:_0x498bee}=_0x38c4b6,{scene:_0x5ceb94}=this[_0x524cf6(0x246)];_0x5ceb94[_0x524cf6(0x1bf)][_0x524cf6(0x24b)](_0x34fdfc(_0x298048=>{const _0x34e70e=_0x524cf6;var _0x18fe96,_0x46d6b3;const {offsetX:_0x49130b,offsetY:_0x1df0ec}=_0x298048,{x:_0x560848,y:_0x2dc55b}=_0x5ceb94['getRelativeToViewportCoord'](_0x28f4a7['FromArray']([_0x49130b,_0x1df0ec])),{scaleX:_0x34e6f3,scaleY:_0x40e01e}=_0x5ceb94[_0x34e70e(0x2cf)](),_0x1ec167=_0x5ceb94[_0x34e70e(0x1d1)](_0x136919['VIEW_MAIN']),_0x1ec98b=_0x5ceb94['getVpScrollXYInfoByPosToVp'](_0x28f4a7[_0x34e70e(0x352)]([_0x560848,_0x2dc55b]),_0x1ec167),_0x316bb8=_0x498bee['getCellPositionByOffset'](_0x49130b,_0x1df0ec,_0x34e6f3,_0x40e01e,_0x1ec98b);((_0x18fe96=this[_0x34e70e(0x27f)])==null?void 0x0:_0x18fe96[_0x34e70e(0x23a)])===_0x316bb8[_0x34e70e(0x23a)]&&((_0x46d6b3=this[_0x34e70e(0x27f)])==null?void 0x0:_0x46d6b3['row'])===_0x316bb8[_0x34e70e(0x1f4)]||this['_cursors'][_0x34e70e(0x2c4)](_0x1f13cd=>{const _0x1f8320=_0x34e70e;_0x1f13cd[_0x1f8320(0x265)](_0x316bb8);});},0x64));});}[_0x2ff589(0x26b)](_0x5f0881,_0x214d9d){const _0x2209a6=_0x2ff589;var _0x19a64d;const _0x580f82=(_0x19a64d=this['_sheetSkeletonManagerService'][_0x2209a6(0x31a)]())==null?void 0x0:_0x19a64d[_0x2209a6(0x2b1)];if(!_0x580f82)return;const _0x2ac75d=this['_getSheetObject']();if(!_0x2ac75d)return;this[_0x2209a6(0x252)]['forEach'](_0x442e67=>{const _0xe805f1=_0x2209a6;_0x442e67[_0xe805f1(0x2d1)]();});const {scene:_0x170537}=_0x2ac75d,_0x4e359b=xi(Array[_0x2209a6(0x251)](_0x214d9d[_0x2209a6(0x1ca)]()))['map'](_0x586079=>{const _0x2013e6=_0x2209a6,{color:_0xd1fedc,range:_0x1f10c5,name:_0x78e63f,selection:_0x80017b,sheetID:_0x5729d8}=_0x586079,{startColumn:_0x1d5261,startRow:_0x5e9646,endColumn:_0x280ce1,endRow:_0x19c663}=_0x1f10c5,_0x5c1435=_0x47d7bb(_0x5e9646,_0x1d5261,_0x170537,_0x580f82),_0x4879e5=_0x47d7bb(_0x19c663,_0x280ce1,_0x170537,_0x580f82),{columnHeaderHeightAndMarginTop:_0x10d152}=_0x580f82,{startX:_0x458cae,startY:_0x3427ee}=_0x5c1435,{endX:_0x475714,endY:_0x1beb7d}=_0x4879e5,_0xc0446e=_0x475714-_0x458cae,_0x13fab1=_0x1beb7d-_0x3427ee,_0x313e29={'labelPosition':_0x3427ee-_0x10d152>=ee?_0x2013e6(0x2f2):_0x2013e6(0x36f),'sheetID':_0x5729d8,'range':_0x1f10c5,'color':_0xd1fedc,'name':_0x78e63f,'selection':_0x80017b,'left':_0x458cae,'top':_0x3427ee,'width':_0xc0446e,'height':_0x13fab1,'evented':!0x1,'zIndex':$i};return new Li(_0x78e63f,_0x313e29);});_0x170537[_0x2209a6(0x1b8)](_0x4e359b,Pi),this['_cursors']=new Set(_0x4e359b);}['_removeCollabCursors'](){const _0x47b904=_0x2ff589;var _0x399796;(_0x399796=this[_0x47b904(0x252)])==null||_0x399796[_0x47b904(0x2c4)](_0x5fc848=>_0x5fc848[_0x47b904(0x2fc)]());}[_0x2ff589(0x250)](){const _0x519c86=_0x2ff589;return _0x448d13(this[_0x519c86(0x246)][_0x519c86(0x303)],this[_0x519c86(0x246)]);}};we=yi([Ie(0x1,_0x4abecf(_0x8e2b42)),Ie(0x2,_0x4abecf(H)),Ie(0x3,_0x4abecf(_0x37cd77))],we);function xi(_0x30638a){const _0x476dd5=_0x2ff589,_0x5506f9=new Map();return _0x30638a[_0x476dd5(0x2c4)](_0x5cd8b5=>{const _0x511d8b=_0x476dd5;if(_0x5506f9[_0x511d8b(0x2f3)](_0x5cd8b5[_0x511d8b(0x27b)])){const _0x310e68=_0x5506f9[_0x511d8b(0x254)](_0x5cd8b5[_0x511d8b(0x27b)]);_0x310e68[_0x511d8b(0x304)]+=',\x20'+_0x5cd8b5['name'];}else _0x5506f9[_0x511d8b(0x326)](_0x5cd8b5[_0x511d8b(0x27b)],_0x5cd8b5);}),Array[_0x476dd5(0x251)](_0x5506f9[_0x476dd5(0x1ca)]());}var I=function(){return I=Object['assign']||function(_0x3cba5f){const _0x52d0a3=_0x8596;for(var _0x4079d0,_0x558760=0x1,_0x1517b5=arguments[_0x52d0a3(0x298)];_0x558760<_0x1517b5;_0x558760++){_0x4079d0=arguments[_0x558760];for(var _0x33a68e in _0x4079d0)Object[_0x52d0a3(0x25b)]['hasOwnProperty']['call'](_0x4079d0,_0x33a68e)&&(_0x3cba5f[_0x33a68e]=_0x4079d0[_0x33a68e]);}return _0x3cba5f;},I['apply'](this,arguments);},Bi=function(_0x2a7ae7,_0x19a381){const _0x15dbff=_0x2ff589;var _0x333ed7={};for(var _0x5c6ab8 in _0x2a7ae7)Object['prototype'][_0x15dbff(0x34e)][_0x15dbff(0x333)](_0x2a7ae7,_0x5c6ab8)&&_0x19a381[_0x15dbff(0x1da)](_0x5c6ab8)<0x0&&(_0x333ed7[_0x5c6ab8]=_0x2a7ae7[_0x5c6ab8]);if(_0x2a7ae7!=null&&typeof Object[_0x15dbff(0x294)]==_0x15dbff(0x1b2)){for(var _0x450802=0x0,_0x5c6ab8=Object[_0x15dbff(0x294)](_0x2a7ae7);_0x450802<_0x5c6ab8[_0x15dbff(0x298)];_0x450802++)_0x19a381[_0x15dbff(0x1da)](_0x5c6ab8[_0x450802])<0x0&&Object[_0x15dbff(0x25b)][_0x15dbff(0x195)][_0x15dbff(0x333)](_0x2a7ae7,_0x5c6ab8[_0x450802])&&(_0x333ed7[_0x5c6ab8[_0x450802]]=_0x2a7ae7[_0x5c6ab8[_0x450802]]);}return _0x333ed7;},je=_0x3710a6(function(_0x2a8a5f,_0x1c57dc){const _0x39e603=_0x2ff589;var _0x381d87=_0x2a8a5f['icon'],_0x3f9b94=_0x2a8a5f['id'],_0x8ee6de=_0x2a8a5f[_0x39e603(0x1f6)],_0x48cf3a=_0x2a8a5f[_0x39e603(0x1d8)],_0x127a1a=Bi(_0x2a8a5f,[_0x39e603(0x282),'id',_0x39e603(0x1f6),'extend']),_0x34b3e1=_0x39e603(0x1c5)['concat'](_0x3f9b94,'\x20')[_0x39e603(0x286)](_0x8ee6de||'')[_0x39e603(0x302)](),_0x396ce8=_0x236828('_'[_0x39e603(0x286)](ji()));return Rt(_0x381d87,''['concat'](_0x3f9b94),{'defIds':_0x381d87['defIds'],'idSuffix':_0x396ce8[_0x39e603(0x2ba)]},I({'ref':_0x1c57dc,'className':_0x34b3e1},_0x127a1a),_0x48cf3a);});function Rt(_0x510854,_0x29fabd,_0x3a0803,_0x5caca5,_0x42432a){const _0x4b48b1=_0x2ff589;return _0x323661(_0x510854[_0x4b48b1(0x28b)],I(I({'key':_0x29fabd},ki(_0x510854,_0x3a0803,_0x42432a)),_0x5caca5),(Hi(_0x510854,_0x3a0803)['children']||[])[_0x4b48b1(0x20e)](function(_0x5c5dad,_0x152ef5){const _0xf4aae0=_0x4b48b1;return Rt(_0x5c5dad,''['concat'](_0x29fabd,'-')[_0xf4aae0(0x286)](_0x510854[_0xf4aae0(0x28b)],'-')['concat'](_0x152ef5),_0x3a0803,void 0x0,_0x42432a);}));}function ki(_0x1a39d5,_0x5d0cbb,_0x60bfde){const _0x395ea2=_0x2ff589;var _0x501b6b=I({},_0x1a39d5[_0x395ea2(0x1a5)]);_0x60bfde!=null&&_0x60bfde['colorChannel1']&&_0x501b6b['fill']===_0x395ea2(0x1ad)&&(_0x501b6b['fill']=_0x60bfde[_0x395ea2(0x1ad)]),_0x1a39d5[_0x395ea2(0x28b)]===_0x395ea2(0x311)&&_0x501b6b['id']&&(_0x501b6b['id']=_0x501b6b['id']+_0x5d0cbb[_0x395ea2(0x301)]),Object[_0x395ea2(0x271)](_0x501b6b)[_0x395ea2(0x2c4)](function(_0x36d245){const _0x3d2289=_0x395ea2;var _0x252d61=_0x36d245[0x0],_0x3452d4=_0x36d245[0x1];_0x252d61===_0x3d2289(0x311)&&typeof _0x3452d4=='string'&&(_0x501b6b[_0x252d61]=_0x3452d4[_0x3d2289(0x1c4)](/url\(#(.*)\)/,_0x3d2289(0x1c8)[_0x3d2289(0x286)](_0x5d0cbb['idSuffix'],')')));});var _0x5c8944=_0x5d0cbb['defIds'];return!_0x5c8944||_0x5c8944[_0x395ea2(0x298)]===0x0||(_0x1a39d5['tag']===_0x395ea2(0x23f)&&_0x501b6b[_0x395ea2(0x2b5)]&&(_0x501b6b[_0x395ea2(0x2b5)]=_0x501b6b['xlink:href']+_0x5d0cbb[_0x395ea2(0x301)]),Object[_0x395ea2(0x271)](_0x501b6b)[_0x395ea2(0x2c4)](function(_0x40136){const _0x120bf0=_0x395ea2;var _0x555826=_0x40136[0x0],_0x5e5b41=_0x40136[0x1];typeof _0x5e5b41=='string'&&(_0x501b6b[_0x555826]=_0x5e5b41[_0x120bf0(0x1c4)](/url\(#(.*)\)/,_0x120bf0(0x1c8)[_0x120bf0(0x286)](_0x5d0cbb[_0x120bf0(0x301)],')')));})),_0x501b6b;}function Hi(_0x3a925d,_0x2537b3){const _0x90e8b0=_0x2ff589;var _0x1f28b3,_0x22ec49=_0x2537b3[_0x90e8b0(0x1dc)];return!_0x22ec49||_0x22ec49[_0x90e8b0(0x298)]===0x0?_0x3a925d:_0x3a925d[_0x90e8b0(0x28b)]==='defs'&&(!((_0x1f28b3=_0x3a925d[_0x90e8b0(0x2c1)])===null||_0x1f28b3===void 0x0)&&_0x1f28b3[_0x90e8b0(0x298)])?I(I({},_0x3a925d),{'children':_0x3a925d[_0x90e8b0(0x2c1)]['map'](function(_0x272343){const _0x23348f=_0x90e8b0;return typeof _0x272343[_0x23348f(0x1a5)]['id']==_0x23348f(0x1b7)&&_0x22ec49&&_0x22ec49[_0x23348f(0x1da)](_0x272343[_0x23348f(0x1a5)]['id'])>-0x1?I(I({},_0x272343),{'attrs':I(I({},_0x272343['attrs']),{'id':_0x272343[_0x23348f(0x1a5)]['id']+_0x2537b3[_0x23348f(0x301)]})}):_0x272343;})}):_0x3a925d;}function ji(){const _0x263995=_0x2ff589;return Math['random']()[_0x263995(0x25e)](0x24)[_0x263995(0x33f)](0x2,0x8);}je[_0x2ff589(0x21b)]=_0x2ff589(0x2f0);var Wi={'tag':'svg','attrs':{'fill':'none','viewBox':_0x2ff589(0x19b),'width':_0x2ff589(0x29a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x2ff589(0x1dd),'attrs':{'stroke':_0x2ff589(0x312),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2ff589(0x20b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2ff589(0x1b0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2ff589(0x363)},'children':[{'tag':_0x2ff589(0x1dd),'attrs':{'fill':_0x2ff589(0x220),'d':_0x2ff589(0x360)}}]}]}],'defIds':[_0x2ff589(0x363)]},Dt=_0x3710a6(function(_0x1b2692,_0x34124f){const _0x3a90ff=_0x2ff589;return _0x323661(je,Object[_0x3a90ff(0x296)]({},_0x1b2692,{'id':_0x3a90ff(0x329),'ref':_0x34124f,'icon':Wi}));});Dt[_0x2ff589(0x21b)]='OffLineSingle';var Fi={'tag':_0x2ff589(0x308),'attrs':{'fill':_0x2ff589(0x269),'viewBox':'0\x200\x2017\x2016','width':_0x2ff589(0x29a),'height':_0x2ff589(0x29a)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x2ff589(0x1dd),'attrs':{'stroke':_0x2ff589(0x312),'d':_0x2ff589(0x34f),'strokeLinecap':_0x2ff589(0x20b),'strokeLinejoin':_0x2ff589(0x20b),'strokeWidth':1.2}}]},{'tag':_0x2ff589(0x1b0),'attrs':{},'children':[{'tag':_0x2ff589(0x33c),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x2ff589(0x1dd),'attrs':{'fill':'#fff','d':_0x2ff589(0x360),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2ff589(0x2bc)]},Nt=_0x3710a6(function(_0x338b99,_0x883e05){const _0x271552=_0x2ff589;return _0x323661(je,Object[_0x271552(0x296)]({},_0x338b99,{'id':_0x271552(0x2fa),'ref':_0x883e05,'icon':Fi}));});Nt['displayName']=_0x2ff589(0x33a);function Yi(_0x1b53ed){const _0x19c161=_0x2ff589;switch(_0x1b53ed){case _0x4aa8a3[_0x19c161(0x202)]:return _0x19c161(0x32d);case _0x4aa8a3['CONFLICT']:return _0x19c161(0x226);case _0x4aa8a3[_0x19c161(0x1bd)]:return _0x19c161(0x189);case _0x4aa8a3['NOT_COLLAB']:return'collabStatus.notCollab';case _0x4aa8a3[_0x19c161(0x30d)]:case _0x4aa8a3[_0x19c161(0x1b6)]:return _0x19c161(0x1ac);case _0x4aa8a3[_0x19c161(0x2f4)]:case _0x4aa8a3['PENDING']:return _0x19c161(0x2f9);}}function Vi(_0x241227){const _0x3f6867=_0x2ff589,{status$:_0x4c35d9}=_0x241227,_0x89f98e=_0x5ecd6e(_0x4c35d9,_0x4aa8a3[_0x3f6867(0x2fe)]),_0x41b922=_0x50fc98(_0x40bb19),_0x5d84bf=_0x50fc98(_0x462455),_0x24040d=_0x89f98e!==_0x4aa8a3[_0x3f6867(0x202)],_0x4251f6=_0x41b922['t'](Yi(_0x89f98e)),_0x54f10c=_0x24040d?_0x323394(Nt,{}):_0x323394(Dt,{}),_0x548fa5=_0x52eb62(()=>{const _0x34fff1=_0x3f6867;_0x24040d||_0x5d84bf[_0x34fff1(0x295)]();},[_0x24040d,_0x5d84bf]);function _0x5e30c7(){const _0x1203cd=_0x3f6867;return _0x35e950('div',{'className':_0x1203cd(0x33e),'onClick':_0x548fa5,'children':[_0x323394(_0x1203cd(0x2c0),{'className':_0x27f21f('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x24040d?'univer-text-green-500':_0x1203cd(0x1e7)),'children':_0x54f10c}),_0x323394(_0x1203cd(0x2c0),{'className':_0x1203cd(0x1ea),'children':_0x4251f6})]});}return _0x24040d?_0x5e30c7():_0x323394(_0x134f31,{'title':_0x41b922['t'](_0x3f6867(0x343)),'children':_0x5e30c7()});}var Xi=Object[_0x2ff589(0x37c)],Gi=(_0x1e74ca,_0x446b88,_0x250149,_0x48c71c)=>{const _0x126e1b=_0x2ff589;for(var _0x290361=_0x48c71c>0x1?void 0x0:_0x48c71c?Xi(_0x446b88,_0x250149):_0x446b88,_0x24d0b=_0x1e74ca[_0x126e1b(0x298)]-0x1,_0x3f62e5;_0x24d0b>=0x0;_0x24d0b--)(_0x3f62e5=_0x1e74ca[_0x24d0b])&&(_0x290361=_0x3f62e5(_0x290361)||_0x290361);return _0x290361;},Q=(_0x3e2dfa,_0x9d92b4)=>(_0x4d539c,_0x1cd721)=>_0x9d92b4(_0x4d539c,_0x1cd721,_0x3e2dfa);let te=class extends _0x542665{constructor(_0x134761,_0x1ad871,_0x11fe3f,_0x3d1046){const _0xde8d89=_0x2ff589;super(),_(this,_0xde8d89(0x1e8),new _0x2da5c1(_0x4aa8a3[_0xde8d89(0x2fe)])),(this['_univerInstanceService']=_0x134761,this[_0xde8d89(0x25a)]=_0x1ad871,this[_0xde8d89(0x224)]=_0x11fe3f,this[_0xde8d89(0x192)]=_0x3d1046,this[_0xde8d89(0x2d8)](),this[_0xde8d89(0x19a)]());}[_0x2ff589(0x19a)](){const _0x277355=_0x2ff589;this[_0x277355(0x279)](this[_0x277355(0x29b)][_0x277355(0x1af)][_0x277355(0x1ee)](_0xb29a9c(()=>{const _0x184202=_0x277355,_0x2cfa11=this[_0x184202(0x29b)][_0x184202(0x292)]();return _0x2cfa11?this[_0x184202(0x224)][_0x184202(0x1c2)](_0x2cfa11['getUnitId']()):_0x88b8e7(null);}),_0xb29a9c(_0x27d05b=>_0x27d05b?_0x27d05b['status$']:_0x88b8e7(_0x4aa8a3[_0x277355(0x2fe)])))[_0x277355(0x215)](_0x4a8a59=>{const _0xe725dd=_0x277355;this[_0xe725dd(0x1e8)][_0xe725dd(0x1d2)](_0x4a8a59);}));}[_0x2ff589(0x2d8)](){const _0xdef2dc=_0x2ff589;this[_0xdef2dc(0x279)](this[_0xdef2dc(0x192)][_0xdef2dc(0x336)](_0x5bfe74['HEADER_MENU'],()=>_0x406057(Ki({'status$':this[_0xdef2dc(0x1e8)][_0xdef2dc(0x1e9)]()}),this[_0xdef2dc(0x25a)])));}};te=Gi([Q(0x0,_0x298822),Q(0x1,_0x4abecf(_0x53572c)),Q(0x2,_0x4abecf(_0x515bb0)),Q(0x3,_0x39ac7c)],te);function Ki(_0x21910c){const {status$:_0x4571a6}=_0x21910c;return function(){return _0x323394(Vi,{'status$':_0x4571a6});};}var zi=Object[_0x2ff589(0x37c)],Ji=(_0x3de8e2,_0x56dd1b,_0x2fab75,_0x4bfc1a)=>{const _0x2abf7c=_0x2ff589;for(var _0x5caf94=_0x4bfc1a>0x1?void 0x0:_0x4bfc1a?zi(_0x56dd1b,_0x2fab75):_0x56dd1b,_0x3ebd7e=_0x3de8e2[_0x2abf7c(0x298)]-0x1,_0xc275b7;_0x3ebd7e>=0x0;_0x3ebd7e--)(_0xc275b7=_0x3de8e2[_0x3ebd7e])&&(_0x5caf94=_0xc275b7(_0x5caf94)||_0x5caf94);return _0x5caf94;},B=(_0x349f52,_0x5188c1)=>(_0x57a901,_0x266417)=>_0x5188c1(_0x57a901,_0x266417,_0x349f52);let se=class extends _0x542665{constructor(_0xa28da8,_0x41452,_0x24be91,_0xfee9cc,_0x2bae0d,_0xa05401){const _0x4b8a27=_0x2ff589;super(),this['_beforeCloseService']=_0xa28da8,this['_localCacheService']=_0x41452,this[_0x4b8a27(0x212)]=_0x24be91,this[_0x4b8a27(0x2d2)]=_0xfee9cc,this[_0x4b8a27(0x24a)]=_0x2bae0d,this[_0x4b8a27(0x22d)]=_0xa05401,this[_0x4b8a27(0x1e5)](),this[_0x4b8a27(0x309)]();}[_0x2ff589(0x1e5)](){const _0x2e770f=_0x2ff589;this[_0x2e770f(0x279)](this[_0x2e770f(0x2d9)][_0x2e770f(0x347)](()=>{const _0x34c5ac=_0x2e770f;if(this[_0x34c5ac(0x273)][_0x34c5ac(0x1e0)][_0x34c5ac(0x350)])return this[_0x34c5ac(0x22d)]['t'](_0x34c5ac(0x35b));}));}[_0x2ff589(0x309)](){const _0x127d74=_0x2ff589;this['disposeWithMe'](this['_collaborationUIEventService'][_0x127d74(0x190)]['subscribe'](_0x25f80e=>{const _0x5f0d16=_0x127d74;_0x25f80e['id']===_0x13681f['OTHER_CLIENT_EDITING']&&this[_0x5f0d16(0x2d2)][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x32f)],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x2fd))}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x2e0)]&&this['_messageService'][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x32f)],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x322))}),_0x25f80e['id']===_0x13681f['PERMISSION_DENIED']&&this['_notificationService'][_0x5f0d16(0x370)]({'title':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x36b)),'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x248)),'type':'error','duration':0x0}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x26d)]&&this['_messageService'][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x320)],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x322))+'('+_0x25f80e[_0x5f0d16(0x25d)]+')'}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x28d)]&&this[_0x5f0d16(0x2d2)][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x32f)],'content':this[_0x5f0d16(0x22d)]['t'](_0x25f80e['data']||'')}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x199)]&&this[_0x5f0d16(0x2d2)]['show']({'type':_0x2b34b2[_0x5f0d16(0x32f)],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x1c0))}),_0x25f80e['id']===_0x13681f['SOCKET_FAILED']&&this[_0x5f0d16(0x2d2)][_0x5f0d16(0x370)]({'type':_0x2b34b2[_0x5f0d16(0x320)],'content':this[_0x5f0d16(0x22d)]['t']('session.connection-failed')}),_0x25f80e['id']===_0x13681f[_0x5f0d16(0x2e2)]&&this[_0x5f0d16(0x2d2)]['show']({'type':_0x2b34b2['Error'],'content':this[_0x5f0d16(0x22d)]['t'](_0x5f0d16(0x1fc))});}));}};se=Ji([B(0x0,_0xf1c20),B(0x1,_0x43711d),B(0x2,_0x4abecf(_0x406941)),B(0x3,_0x139df0),B(0x4,_0x4bb781),B(0x5,_0x4abecf(_0x40bb19))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x2bb225(_0x2ff589(0x1ec));var Qi=Object[_0x2ff589(0x37c)],qi=(_0x940e65,_0x4ea5b8,_0x483a76,_0x5695f6)=>{const _0x21564b=_0x2ff589;for(var _0x5d7a51=_0x5695f6>0x1?void 0x0:_0x5695f6?Qi(_0x4ea5b8,_0x483a76):_0x4ea5b8,_0x3146d5=_0x940e65[_0x21564b(0x298)]-0x1,_0x1d8189;_0x3146d5>=0x0;_0x3146d5--)(_0x1d8189=_0x940e65[_0x3146d5])&&(_0x5d7a51=_0x1d8189(_0x5d7a51)||_0x5d7a51);return _0x5d7a51;},G=(_0x161009,_0x246130)=>(_0x55ec9c,_0x17f0b3)=>_0x246130(_0x55ec9c,_0x17f0b3,_0x161009);let ie=class extends _0x40e5ab{constructor(_0x27f2ec,_0x369a95,_0x10d55e,_0x2dce73,_0x2a9bd9){const _0x248ee3=_0x2ff589;super(),this[_0x248ee3(0x29e)]=_0x27f2ec,this[_0x248ee3(0x214)]=_0x369a95,this[_0x248ee3(0x2b9)]=_0x10d55e,this['_dataLoaderService']=_0x2dce73,_0x2a9bd9?_0x2a9bd9==null||_0x2a9bd9['whenReady']()[_0x248ee3(0x19c)](()=>this[_0x248ee3(0x2ec)]()):(this[_0x248ee3(0x214)][_0x248ee3(0x2b3)](_0x248ee3(0x258),_0x248ee3(0x26f)),this['_init']());}async[_0x2ff589(0x2ec)](){const _0x379884=_0x2ff589,_0x1cfbd2=this[_0x379884(0x29e)][_0x379884(0x35c)]('unit'),_0x5f502e=this[_0x379884(0x29e)][_0x379884(0x35c)](_0x379884(0x232)),_0xda9773=this[_0x379884(0x29e)]['getParam']('subunit');if(!_0x1cfbd2||!_0x5f502e){this['_logService'][_0x379884(0x2b3)](_0x379884(0x258),_0x379884(0x2e8));return;}const _0x581cd7=await this[_0x379884(0x26e)][_0x379884(0x2c6)](_0x1cfbd2,Number(_0x5f502e),_0xda9773);_0x581cd7&&_0x581cd7 instanceof _0x512a77&&this[_0x379884(0x1cb)](_0x581cd7);}async[_0x2ff589(0x1cb)](_0x2c44ef){const _0x3207dc=_0x2ff589;await this[_0x3207dc(0x216)](_0x2c44ef),_0x2c44ef['activeSheet$'][_0x3207dc(0x1ee)](_0x16f876(this['dispose$']))[_0x3207dc(0x215)](_0x141b88=>{_0x141b88&&this['_updateURLWithCurrentState'](_0x141b88);}),this[_0x3207dc(0x29e)]['urlChange$']['pipe'](_0x16f876(this[_0x3207dc(0x35a)]))[_0x3207dc(0x215)](()=>this[_0x3207dc(0x216)](_0x2c44ef));}[_0x2ff589(0x1a1)](_0x54fb00,_0x513a07=!0x1){const _0x127f31=_0x2ff589,_0x1aef14=this[_0x127f31(0x29e)][_0x127f31(0x35c)](_0x127f31(0x205));_0x54fb00[_0x127f31(0x332)]()!==_0x1aef14&&this['_urlService'][_0x127f31(0x315)](_0x127f31(0x205),_0x54fb00[_0x127f31(0x332)](),_0x513a07);}async[_0x2ff589(0x216)](_0x376262){const _0xfa9ed9=_0x2ff589;var _0x41d2f0;const _0x1ad664=this[_0xfa9ed9(0x29e)][_0xfa9ed9(0x35c)](_0xfa9ed9(0x205));if(!_0x1ad664||!_0x376262[_0xfa9ed9(0x2d4)](_0x1ad664)){const _0x1ab8f6=_0x376262['getUnhiddenWorksheets']()[0x0],_0x593307=_0x376262[_0xfa9ed9(0x2d4)](_0x1ab8f6);if(!_0x593307)return;this[_0xfa9ed9(0x1a1)](_0x593307,!0x0),await this[_0xfa9ed9(0x2b9)][_0xfa9ed9(0x1c9)](_0x1dbe2e['id'],{'unitId':_0x376262[_0xfa9ed9(0x355)](),'subUnitId':_0x1ab8f6});return;}((_0x41d2f0=_0x376262[_0xfa9ed9(0x1cc)]())==null?void 0x0:_0x41d2f0[_0xfa9ed9(0x332)]())!==_0x1ad664&&await this[_0xfa9ed9(0x2b9)]['executeCommand'](_0x1dbe2e['id'],{'unitId':_0x376262['getUnitId'](),'subUnitId':_0x1ad664});}};ie=qi([G(0x0,Ut),G(0x1,_0x192faf),G(0x2,_0x792647),G(0x3,_0x4abecf(_0x83b419)),G(0x4,_0x25f8fb(_0x3c7de9))],ie);var en=Object[_0x2ff589(0x37c)],tn=(_0x9ff85d,_0x2b76f0,_0x25d2d9,_0x27d8ef)=>{for(var _0x16032e=_0x27d8ef>0x1?void 0x0:_0x27d8ef?en(_0x2b76f0,_0x25d2d9):_0x2b76f0,_0x554a6b=_0x9ff85d['length']-0x1,_0x2ffc43;_0x554a6b>=0x0;_0x554a6b--)(_0x2ffc43=_0x9ff85d[_0x554a6b])&&(_0x16032e=_0x2ffc43(_0x16032e)||_0x16032e);return _0x16032e;},pe=(_0x34f3e8,_0x356a43)=>(_0x2705f2,_0x4f19ad)=>_0x356a43(_0x2705f2,_0x4f19ad,_0x34f3e8);let ne=class{constructor(_0xf46d8f,_0x95452,_0x263311){const _0xd01b5e=_0x2ff589;this['_injector']=_0xf46d8f,this['_transformService']=_0x95452,this[_0xd01b5e(0x26c)]=_0x263311;}[_0x2ff589(0x1cf)](_0x44f499){const _0x4cf565=_0x2ff589;this[_0x4cf565(0x367)](_0x44f499),this[_0x4cf565(0x317)](_0x44f499);}['transformRemoteChangeset'](_0x292b0e){const _0x3589b6=_0x2ff589,{unitID:_0x3b2ea7}=_0x292b0e,_0x4024bd=this[_0x3589b6(0x26c)][_0x3589b6(0x376)](_0x3b2ea7)[_0x3589b6(0x310)](_0x564bd7),{redoCache:_0x1e5344}=_0x4024bd['getUndoRedoMutationParamsCache']();if(_0x1e5344[_0x3589b6(0x298)]===0x0)return _0x292b0e;let _0x2e6bc5=_0x4c6864['deepClone'](_0x292b0e['mutations'][0x0]);for(let _0x58d820=0x0;_0x58d820<_0x1e5344[_0x3589b6(0x298)];_0x58d820++){const _0x2dcaef={'id':'doc.mutation.rich-text-editing','params':{..._0x1e5344[_0x58d820]}},_0x9c47c7=this[_0x3589b6(0x253)][_0x3589b6(0x287)](_0x2e6bc5,_0x2dcaef,!0x1);if(_0x456d9f(_0x9c47c7))throw _0x9c47c7['error'];_0x2e6bc5=_0x9c47c7['m1Prime'];}return{..._0x4c6864[_0x3589b6(0x307)](_0x292b0e),'mutations':[_0x2e6bc5]};}['_transformUndoRedoStack'](_0x10b8ab){const _0x2a2c7f=_0x2ff589,{unitID:_0x13caa6}=_0x10b8ab,_0x538d74=this[_0x2a2c7f(0x26c)]['getRenderById'](_0x13caa6)['with'](_0x564bd7),{undoCache:_0x4dc479,redoCache:_0x45c18c}=_0x538d74['getUndoRedoMutationParamsCache']();if(_0x4dc479[_0x2a2c7f(0x298)]===0x0||_0x45c18c[_0x2a2c7f(0x298)]===0x0)return;const _0x3bb708=[],_0x1e9b4b=[];let _0x3001e6=_0x4c6864[_0x2a2c7f(0x307)](_0x10b8ab['mutations'][0x0]),_0x48ef02=_0x4c6864[_0x2a2c7f(0x307)](_0x10b8ab['mutations'][0x0]);for(let _0x3bca14=_0x4dc479[_0x2a2c7f(0x298)]-0x1;_0x3bca14>=0x0;_0x3bca14--){const _0x16c57b={'id':_0x2a2c7f(0x1e3),'params':{..._0x4dc479[_0x3bca14]}},_0xb15216={'id':_0x2a2c7f(0x1e3),'params':{..._0x45c18c[_0x3bca14]}},_0x18db0d=this['_transformService'][_0x2a2c7f(0x287)](_0x3001e6,_0x16c57b,!0x1),_0x503549=this['_transformService']['transformMutation'](_0x48ef02,_0xb15216,!0x1);if(_0x456d9f(_0x18db0d))throw _0x18db0d[_0x2a2c7f(0x1bb)];if(_0x456d9f(_0x503549))throw _0x503549['error'];_0x3bb708[_0x2a2c7f(0x1c7)](_0x18db0d[_0x2a2c7f(0x18f)][_0x2a2c7f(0x206)]),_0x1e9b4b['unshift'](_0x503549[_0x2a2c7f(0x18f)][_0x2a2c7f(0x206)]),_0x3001e6=_0x18db0d[_0x2a2c7f(0x239)],_0x48ef02=_0x503549[_0x2a2c7f(0x239)];}_0x538d74['setUndoRedoMutationParamsCache']({'undoCache':_0x3bb708,'redoCache':_0x1e9b4b});}[_0x2ff589(0x317)](_0x420f0e){const _0x2f601e=_0x2ff589,{unitID:_0x450ce3}=_0x420f0e,_0x18b5f9=this[_0x2f601e(0x26c)][_0x2f601e(0x376)](_0x450ce3)[_0x2f601e(0x310)](_0x564bd7),_0x2101a1=_0x18b5f9[_0x2f601e(0x243)]();if(_0x2101a1==null)return;const _0x43e851=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x420f0e['unitID'],'actions':null,'textRanges':[_0x2101a1]}}],_0x2cd101=this[_0x2f601e(0x253)][_0x2f601e(0x27c)](_0x420f0e,_0x43e851);if(!_0x21ee65(_0x2cd101))throw _0x2cd101[_0x2f601e(0x1bb)];const _0x338338=_0x2cd101[_0x2f601e(0x18f)][0x0][_0x2f601e(0x206)][_0x2f601e(0x36a)];Array['isArray'](_0x338338)&&_0x338338[_0x2f601e(0x298)]&&_0x18b5f9[_0x2f601e(0x1df)](_0x338338[0x0]);}};ne=tn([pe(0x0,_0x4abecf(_0x53572c)),pe(0x1,_0x540c7a),pe(0x2,_0x5b5ed4)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x2b8c2d,_0x19472f,_0x420ab4,_0x51a186)=>{const _0x404423=_0x2ff589;for(var _0x2933ac=_0x51a186>0x1?void 0x0:_0x51a186?sn(_0x19472f,_0x420ab4):_0x19472f,_0x33e41b=_0x2b8c2d[_0x404423(0x298)]-0x1,_0x7519ee;_0x33e41b>=0x0;_0x33e41b--)(_0x7519ee=_0x2b8c2d[_0x33e41b])&&(_0x2933ac=_0x7519ee(_0x2933ac)||_0x2933ac);return _0x2933ac;},Ce=(_0x34170f,_0x3efbca)=>(_0x58a734,_0x187896)=>_0x3efbca(_0x58a734,_0x187896,_0x34170f);let re=class{constructor(_0x4daef2,_0xbbe15c,_0x1b18db){const _0x4914e1=_0x2ff589;this[_0x4914e1(0x25a)]=_0x4daef2,this[_0x4914e1(0x253)]=_0xbbe15c,this[_0x4914e1(0x21d)]=_0x1b18db;}[_0x2ff589(0x306)](_0x1a867f){const _0x4e17a6=_0x2ff589;this[_0x4e17a6(0x238)](_0x1a867f);}['transformRemoteChangeset'](_0x1fd20d){const _0x5e2344=_0x2ff589,{unitID:_0x5e7658}=_0x1fd20d,{collaboration:_0x2bd6a5}=this[_0x5e2344(0x21d)]['getStateCache'](_0x5e7658);if(_0x2bd6a5['length']===0x0)return _0x1fd20d;let _0x4be9d6=_0x4c6864[_0x5e2344(0x307)](_0x1fd20d['mutations'][0x0]);for(let _0x3f45ee=0x0;_0x3f45ee<_0x2bd6a5[_0x5e2344(0x298)];_0x3f45ee++){const _0x4aa0f4={'id':_0x5e2344(0x1e3),'params':{'unitId':_0x2bd6a5[_0x3f45ee][_0x5e2344(0x2d3)],..._0x2bd6a5[_0x3f45ee][_0x5e2344(0x20f)]}},_0x3361e5=this[_0x5e2344(0x253)][_0x5e2344(0x287)](_0x4be9d6,_0x4aa0f4,!0x1);if(_0x456d9f(_0x3361e5))throw _0x3361e5[_0x5e2344(0x1bb)];_0x4be9d6=_0x3361e5['m1Prime'];}return{..._0x4c6864[_0x5e2344(0x307)](_0x1fd20d),'mutations':[_0x4be9d6]};}[_0x2ff589(0x238)](_0x31f75f){const _0x5b2b37=_0x2ff589,{unitID:_0x6129d7}=_0x31f75f,{history:_0x25eabc,collaboration:_0x4db2f5}=this['_docStateChangeManagerService'][_0x5b2b37(0x245)](_0x6129d7);if(_0x25eabc[_0x5b2b37(0x298)]===0x0&&_0x4db2f5[_0x5b2b37(0x298)]===0x0)return;const _0x261ef3=[],_0x12e998=[];let _0x1dcc7f=_0x4c6864[_0x5b2b37(0x307)](_0x31f75f[_0x5b2b37(0x1f9)][0x0]),_0x12f40f=_0x4c6864['deepClone'](_0x31f75f['mutations'][0x0]);for(let _0x26c2a0=_0x25eabc[_0x5b2b37(0x298)]-0x1;_0x26c2a0>=0x0;_0x26c2a0--){const _0x25465c={'id':_0x5b2b37(0x1e3),'params':{'unitId':_0x25eabc[_0x26c2a0][_0x5b2b37(0x2d3)],..._0x25eabc[_0x26c2a0][_0x5b2b37(0x1ce)]}},_0xd5ed6b={'id':_0x5b2b37(0x1e3),'params':{'unitId':_0x25eabc[_0x26c2a0][_0x5b2b37(0x2d3)],..._0x25eabc[_0x26c2a0][_0x5b2b37(0x20f)]}},_0x75f750=this['_transformService'][_0x5b2b37(0x287)](_0x1dcc7f,_0x25465c,!0x1),_0x1db8e9=this[_0x5b2b37(0x253)][_0x5b2b37(0x287)](_0x12f40f,_0xd5ed6b,!0x1);if(_0x456d9f(_0x75f750))throw _0x75f750['error'];if(_0x456d9f(_0x1db8e9))throw _0x1db8e9[_0x5b2b37(0x1bb)];_0x261ef3[_0x5b2b37(0x1c7)]({..._0x25eabc[_0x26c2a0],'undoState':_0x75f750[_0x5b2b37(0x18f)][_0x5b2b37(0x206)],'redoState':_0x1db8e9['m2Prime'][_0x5b2b37(0x206)]}),_0x1dcc7f=_0x75f750[_0x5b2b37(0x239)],_0x12f40f=_0x1db8e9[_0x5b2b37(0x239)];}_0x1dcc7f=_0x4c6864[_0x5b2b37(0x307)](_0x31f75f[_0x5b2b37(0x1f9)][0x0]),_0x12f40f=_0x4c6864[_0x5b2b37(0x307)](_0x31f75f['mutations'][0x0]);for(let _0x54f640=_0x4db2f5[_0x5b2b37(0x298)]-0x1;_0x54f640>=0x0;_0x54f640--){const _0x28359b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4db2f5[_0x54f640]['unitId'],..._0x4db2f5[_0x54f640][_0x5b2b37(0x1ce)]}},_0x77b800={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4db2f5[_0x54f640]['unitId'],..._0x4db2f5[_0x54f640][_0x5b2b37(0x20f)]}},_0x45b816=this['_transformService'][_0x5b2b37(0x287)](_0x1dcc7f,_0x28359b,!0x1),_0x5c430f=this[_0x5b2b37(0x253)][_0x5b2b37(0x287)](_0x12f40f,_0x77b800,!0x1);if(_0x456d9f(_0x45b816))throw _0x45b816[_0x5b2b37(0x1bb)];if(_0x456d9f(_0x5c430f))throw _0x5c430f[_0x5b2b37(0x1bb)];_0x12e998[_0x5b2b37(0x1c7)]({..._0x4db2f5[_0x54f640],'undoState':_0x45b816['m2Prime'][_0x5b2b37(0x206)],'redoState':_0x5c430f['m2Prime'][_0x5b2b37(0x206)]}),_0x1dcc7f=_0x45b816[_0x5b2b37(0x239)],_0x12f40f=_0x5c430f[_0x5b2b37(0x239)];}this[_0x5b2b37(0x21d)][_0x5b2b37(0x229)](_0x6129d7,{'history':_0x261ef3,'collaboration':_0x12e998});}};re=nn([Ce(0x0,_0x4abecf(_0x53572c)),Ce(0x1,_0x540c7a),Ce(0x2,_0x4abecf(_0x2ca1b9))],re);var rn=Object[_0x2ff589(0x37c)],on=(_0x1befc7,_0x1c8d56,_0x45e29c,_0x5934bb)=>{const _0xa00c99=_0x2ff589;for(var _0x1a4e4f=_0x5934bb>0x1?void 0x0:_0x5934bb?rn(_0x1c8d56,_0x45e29c):_0x1c8d56,_0x7a9225=_0x1befc7[_0xa00c99(0x298)]-0x1,_0x1ed8ce;_0x7a9225>=0x0;_0x7a9225--)(_0x1ed8ce=_0x1befc7[_0x7a9225])&&(_0x1a4e4f=_0x1ed8ce(_0x1a4e4f)||_0x1a4e4f);return _0x1a4e4f;},tt=(_0x48bf3c,_0x5c8243)=>(_0x24241e,_0x3f1dc6)=>_0x5c8243(_0x24241e,_0x3f1dc6,_0x48bf3c);let oe=class{constructor(_0x32411e,_0x29ae87){const _0xa1ca9a=_0x2ff589;this['_injector']=_0x32411e,this[_0xa1ca9a(0x253)]=_0x29ae87;}['transformSelections'](_0xb42fc0){const _0x2c91f0=_0x2ff589;var _0x458c6c;const _0x7ac08a=this[_0x2c91f0(0x25a)][_0x2c91f0(0x254)](_0x393415),_0x2b4082=(_0x458c6c=_0x7ac08a[_0x2c91f0(0x236)]())!=null?_0x458c6c:[];if(_0x2b4082[_0x2c91f0(0x298)]===0x0)return;const _0x5cd196=_0xb42fc0[_0x2c91f0(0x297)],_0x189718=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5cd196,'actions':null,'textRanges':_0x2b4082}}],_0x43fdbc=this[_0x2c91f0(0x253)]['transformMutationsWithChangeset'](_0xb42fc0,_0x189718);if(!_0x21ee65(_0x43fdbc))throw _0x43fdbc[_0x2c91f0(0x1bb)];const _0x2e8d06=_0x43fdbc[_0x2c91f0(0x18f)][0x0][_0x2c91f0(0x206)][_0x2c91f0(0x36a)];Array[_0x2c91f0(0x1e4)](_0x2e8d06)&&_0x2e8d06['length']&&_0x7ac08a[_0x2c91f0(0x1fe)](_0x2e8d06,{'unitId':_0x5cd196,'subUnitId':_0x5cd196},!0x1);}};oe=on([tt(0x0,_0x4abecf(_0x53572c)),tt(0x1,_0x540c7a)],oe);var an=Object[_0x2ff589(0x37c)],cn=(_0x1104e9,_0x562ab8,_0x4832c5,_0x466a1f)=>{const _0x39841b=_0x2ff589;for(var _0x152fd1=_0x466a1f>0x1?void 0x0:_0x466a1f?an(_0x562ab8,_0x4832c5):_0x562ab8,_0x3c96ce=_0x1104e9[_0x39841b(0x298)]-0x1,_0x4a4702;_0x3c96ce>=0x0;_0x3c96ce--)(_0x4a4702=_0x1104e9[_0x3c96ce])&&(_0x152fd1=_0x4a4702(_0x152fd1)||_0x152fd1);return _0x152fd1;},U=(_0x38462e,_0x287015)=>(_0x43a468,_0x15d0e1)=>_0x287015(_0x43a468,_0x15d0e1,_0x38462e);let ae=class extends _0x542665{constructor(_0x524d65,_0xace2d4,_0xab161e,_0x54dff0,_0x3a02f6,_0x5aedf1,_0x11a062,_0x59a188){const _0x343288=_0x2ff589;super(),_(this,_0x343288(0x1e8),new _0x2da5c1(_0x4aa8a3[_0x343288(0x2fe)])),(this[_0x343288(0x21d)]=_0x524d65,this[_0x343288(0x224)]=_0xace2d4,this['_docTransformIMECacheService']=_0xab161e,this[_0x343288(0x1d5)]=_0x54dff0,this['_docTransformSelectionsService']=_0x3a02f6,this[_0x343288(0x1de)]=_0x5aedf1,this[_0x343288(0x2d2)]=_0x11a062,this[_0x343288(0x22d)]=_0x59a188,this[_0x343288(0x324)]());}[_0x2ff589(0x324)](){const _0x398a81=_0x2ff589;this['disposeWithMe'](this[_0x398a81(0x224)][_0x398a81(0x233)]['subscribe'](_0x4d49b5=>{const _0x13b4e5=_0x398a81,_0x18ea07=this[_0x13b4e5(0x21d)][_0x13b4e5(0x1d4)][_0x13b4e5(0x215)](_0x2647ea=>{const _0x4017bd=_0x13b4e5;if(_0x2647ea==null)return;const {unitId:_0x2fe6e2,redoState:_0x4792bf,commandId:_0x987bb5}=_0x2647ea;if(_0x2fe6e2!==_0x4d49b5['unitID'])return;const _0x72ac11={'id':_0x987bb5,'type':_0x5001f2[_0x4017bd(0x357)],'params':{'unitId':_0x2fe6e2,'actions':_0x4792bf[_0x4017bd(0x2ff)],'textRanges':null}};_0x4d49b5['onLocalMutation'](_0x72ac11);});if(_0x4d49b5[_0x13b4e5(0x279)](_0x18ea07),_0x4d49b5 instanceof _0x4566f0){const _0x4e592e={'onTransformIME':_0x40ba83=>this[_0x13b4e5(0x1f8)][_0x13b4e5(0x1cf)](_0x40ba83),'onTransformState':_0x1c1002=>this['_docTransformStateCacheService'][_0x13b4e5(0x306)](_0x1c1002),'onTransformSelections':_0x2b39b8=>this[_0x13b4e5(0x316)][_0x13b4e5(0x2a8)](_0x2b39b8),'onSyncEditingCollabCursor':_0x2aa46f=>this[_0x13b4e5(0x1de)]['syncEditingCollabCursor'](_0x2aa46f),'onTransformRemoteChangesetByIMECache':_0x55b695=>this[_0x13b4e5(0x1f8)]['transformRemoteChangeset'](_0x55b695),'onTransformRemoteChangesetByStateCache':_0x34d99e=>this[_0x13b4e5(0x1d5)]['transformRemoteChangeset'](_0x34d99e)};_0x4d49b5[_0x13b4e5(0x227)](_0x4e592e);}}));}};ae=cn([U(0x0,_0x4abecf(_0x2ca1b9)),U(0x1,_0x4abecf(_0x515bb0)),U(0x2,_0x4abecf(ne)),U(0x3,_0x4abecf(re)),U(0x4,_0x4abecf(oe)),U(0x5,_0x4abecf(He)),U(0x6,_0x139df0),U(0x7,_0x4abecf(_0x40bb19))],ae);var ln=Object[_0x2ff589(0x37c)],_n=(_0x2e9a30,_0x4ae5f7,_0x5f34ca,_0x4a8c70)=>{for(var _0x50aaf4=_0x4a8c70>0x1?void 0x0:_0x4a8c70?ln(_0x4ae5f7,_0x5f34ca):_0x4ae5f7,_0x2c231b=_0x2e9a30['length']-0x1,_0x1a1308;_0x2c231b>=0x0;_0x2c231b--)(_0x1a1308=_0x2e9a30[_0x2c231b])&&(_0x50aaf4=_0x1a1308(_0x50aaf4)||_0x50aaf4);return _0x50aaf4;},Ee=(_0x3f75e7,_0x508ba3)=>(_0x266382,_0xbefb32)=>_0x508ba3(_0x266382,_0xbefb32,_0x3f75e7);let Le=class extends _0x542665{constructor(_0x1289a8,_0x2b4106,_0x4722c8){const _0x32b507=_0x2ff589;super(),_(this,'_cachedData',new Map()),_(this,_0x32b507(0x194),new Map()),_(this,_0x32b507(0x1f5),!0x1),(this['_configService']=_0x1289a8,this[_0x32b507(0x24d)]=_0x2b4106,this['_revisionService']=_0x4722c8);}[_0x2ff589(0x325)](){const _0x1dbec0=_0x2ff589;this[_0x1dbec0(0x1f5)]=!0x0;}[_0x2ff589(0x291)](){const _0x24bbb4=_0x2ff589;this[_0x24bbb4(0x1f5)]=!0x1;}get[_0x2ff589(0x1e0)](){const _0x1dee06=_0x2ff589;return this[_0x1dee06(0x194)];}['dispose'](){const _0x543d35=_0x2ff589;this[_0x543d35(0x24c)]()[_0x543d35(0x19c)](()=>super['dispose']());}async[_0x2ff589(0x2f6)](_0x2bed56){const _0x15f2fc=_0x2ff589;return this[_0x15f2fc(0x1f5)]?null:this[_0x15f2fc(0x24d)]['getItem'](_0x4dba00(_0x2bed56));}async['saveOfflineData'](_0x482f89,_0x316cfb){return!!this['_localStorageService']['setItem'](_0x482f89,_0x316cfb);}[_0x2ff589(0x37d)](_0x3fea52,_0xb02c72,_0x2f67c9,_0x1a9a01){const _0x312442=_0x2ff589,_0x3d3762=this[_0x312442(0x1eb)][_0x312442(0x35f)](_0x3fea52);this[_0x312442(0x1c1)][_0x312442(0x326)](_0x3fea52,{'unitID':_0x3fea52,'type':_0xb02c72,'awaitingChangeset':_0x2f67c9,'mutations':_0x1a9a01,'rev':_0x3d3762}),this['_saveTaskMap'][_0x312442(0x2f3)](_0x3fea52)||this['_scheduleSaving'](_0x3fea52);}[_0x2ff589(0x2ee)](_0x4aebb8){const _0x400f03=_0x2ff589,_0x45bdf9=this['_getSaveTimeout']();_0x45bdf9===0x0?this['_saveCache'](_0x4aebb8):this[_0x400f03(0x194)][_0x400f03(0x326)](_0x4aebb8,setTimeout(()=>this[_0x400f03(0x359)](_0x4aebb8),_0x45bdf9));}[_0x2ff589(0x334)](){const _0x31f7e8=_0x2ff589;var _0x405cff;return(_0x405cff=this['_configService'][_0x31f7e8(0x22b)](_0x2fd71a))!=null?_0x405cff:_0x40fd8e;}[_0x2ff589(0x359)](_0xf9bfde){const _0x2833b7=_0x2ff589,_0x1be38f=this['_saveTaskMap'][_0x2833b7(0x254)](_0xf9bfde);return _0x1be38f!==void 0x0&&window[_0x2833b7(0x1b5)](_0x1be38f),this[_0x2833b7(0x24d)][_0x2833b7(0x31e)](_0x4dba00(_0xf9bfde),this[_0x2833b7(0x1c1)][_0x2833b7(0x254)](_0xf9bfde))[_0x2833b7(0x19c)](()=>this[_0x2833b7(0x194)][_0x2833b7(0x2e5)](_0xf9bfde));}async[_0x2ff589(0x24c)](){const _0x1b54c0=_0x2ff589,_0x1457ac=[];this[_0x1b54c0(0x194)][_0x1b54c0(0x2c4)]((_0x47fb31,_0x280318)=>{const _0x199802=_0x1b54c0;window[_0x199802(0x1b5)](_0x47fb31),_0x1457ac['push'](this[_0x199802(0x359)](_0x280318)['then'](()=>{const _0x504272=_0x199802;this[_0x504272(0x194)][_0x504272(0x2e5)](_0x280318);}));}),await Promise[_0x1b54c0(0x29c)](_0x1457ac);}};Le=_n([Ee(0x0,_0x1b184c),Ee(0x1,_0x55a9da),Ee(0x2,_0x4abecf(_0x155a79))],Le);class hn extends _0x40e5ab{constructor(){const _0x549f94=_0x2ff589;super(),_(this,'urlChange$'),this['urlChange$']=_0x4502af(window,_0x549f94(0x237))['pipe'](_0x16f876(this[_0x549f94(0x35a)]),_0x356d01(0x1),_0x3febe4(void 0x0));}['setParam'](_0x36ffbf,_0x3e32fd,_0x4c8d66=!0x1){const _0x449c3a=_0x2ff589,_0x403e61=new URL(window['location']['href']);_0x403e61[_0x449c3a(0x30a)][_0x449c3a(0x326)](_0x36ffbf,_0x3e32fd),_0x4c8d66?window['history'][_0x449c3a(0x1b9)]('','',_0x403e61['toString']()):window[_0x449c3a(0x2d7)][_0x449c3a(0x268)]('','',_0x403e61['toString']());}['removeParam'](_0x34e404,_0x19780f=!0x1){const _0x3600d3=_0x2ff589,_0x6c0c77=new URL(window[_0x3600d3(0x1ef)][_0x3600d3(0x2a4)]);_0x6c0c77[_0x3600d3(0x30a)][_0x3600d3(0x2e5)](_0x34e404),_0x19780f?window[_0x3600d3(0x2d7)]['replaceState']('','',_0x6c0c77[_0x3600d3(0x25e)]()):window[_0x3600d3(0x2d7)][_0x3600d3(0x268)]('','',_0x6c0c77['toString']());}[_0x2ff589(0x35c)](_0x8b42cc){const _0x38a5cf=_0x2ff589;var _0x5cf716;return(_0x5cf716=new URL(window[_0x38a5cf(0x1ef)][_0x38a5cf(0x2a4)])[_0x38a5cf(0x30a)][_0x38a5cf(0x254)](_0x8b42cc))!=null?_0x5cf716:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x2ff589(0x37c)],fn=(_0x7824d6,_0x5e7329,_0x384ff4)=>_0x5e7329 in _0x7824d6?un(_0x7824d6,_0x5e7329,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x384ff4}):_0x7824d6[_0x5e7329]=_0x384ff4,Sn=(_0x52b91a,_0x35b5e6,_0x16366c,_0x396092)=>{const _0x5ca4a9=_0x2ff589;for(var _0x316104=_0x396092>0x1?void 0x0:_0x396092?dn(_0x35b5e6,_0x16366c):_0x35b5e6,_0x47d83a=_0x52b91a[_0x5ca4a9(0x298)]-0x1,_0x198ac9;_0x47d83a>=0x0;_0x47d83a--)(_0x198ac9=_0x52b91a[_0x47d83a])&&(_0x316104=_0x198ac9(_0x316104)||_0x316104);return _0x316104;},be=(_0x3b7696,_0x708314)=>(_0x316b1e,_0xdcf659)=>_0x708314(_0x316b1e,_0xdcf659,_0x3b7696),mn=(_0x1b3eae,_0x119e45,_0x189fea)=>fn(_0x1b3eae,_0x119e45+'',_0x189fea);const gn=_0x2ff589(0x1d6);let Ae=class extends _0x437d36{constructor(_0x361e40=et,_0x10fae2,_0x5b2fda,_0x45c424){const _0xefb487=_0x2ff589;super(),this[_0xefb487(0x2bf)]=_0x361e40,this['_renderManagerService']=_0x10fae2,this[_0xefb487(0x25a)]=_0x5b2fda,this['_configService']=_0x45c424;const {..._0xb95e8e}=_0x44ac71({},et,this[_0xefb487(0x2bf)]);this[_0xefb487(0x1f0)]['setConfig'](Zi,_0xb95e8e);}[_0x2ff589(0x257)](){const _0x81e4f3=_0x2ff589;this[_0x81e4f3(0x1bc)](),this[_0x81e4f3(0x345)]();}['onRendered'](){const _0x186893=_0x2ff589;this[_0x186893(0x1a6)]();}[_0x2ff589(0x1bc)](){const _0x3b7f4e=_0x2ff589;var _0x1366d4;const _0x18eae7=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x152628,{'useClass':_0xec30f7}],[_0x43711d,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x28a0ca(this[_0x3b7f4e(0x25a)],_0x102870(_0x18eae7,(_0x1366d4=this['_config'])==null?void 0x0:_0x1366d4['override']));}['_registerRenderDependencies'](){const _0x3ca33e=_0x2ff589;this[_0x3ca33e(0x279)](this[_0x3ca33e(0x26c)][_0x3ca33e(0x1a3)](_0x50946e[_0x3ca33e(0x1aa)],[Pe])),this[_0x3ca33e(0x279)](this[_0x3ca33e(0x26c)][_0x3ca33e(0x1a3)](_0x50946e[_0x3ca33e(0x18e)],[we]));}[_0x2ff589(0x345)](){const _0xd66314=_0x2ff589;_0x5d4ea3(this[_0xd66314(0x25a)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x4a873d(_0x239f66),be(0x1,_0x5b5ed4),be(0x2,_0x4abecf(_0x53572c)),be(0x3,_0x1b184c)],Ae);var vn=Object[_0x2ff589(0x37c)],In=(_0x599dac,_0x1081ab,_0x26c7b5,_0x377318)=>{const _0x16d812=_0x2ff589;for(var _0x39047a=_0x377318>0x1?void 0x0:_0x377318?vn(_0x1081ab,_0x26c7b5):_0x1081ab,_0x2b5998=_0x599dac[_0x16d812(0x298)]-0x1,_0x17d4b2;_0x2b5998>=0x0;_0x2b5998--)(_0x17d4b2=_0x599dac[_0x2b5998])&&(_0x39047a=_0x17d4b2(_0x39047a)||_0x39047a);return _0x39047a;},K=(_0x50a517,_0x66e02c)=>(_0x144810,_0x5b25a9)=>_0x66e02c(_0x144810,_0x5b25a9,_0x50a517);let st=class extends _0x394641{constructor(_0x4db559,_0x5b559e,_0x569dfc,_0x52cf3e,_0xf2877){super(_0x4db559,_0x5b559e,_0x569dfc,_0x52cf3e,_0xf2877);}async[_0x2ff589(0x28f)](_0x197357){const _0x58c6e2=_0x2ff589,_0x1c9e4c=await this[_0x58c6e2(0x244)](),_0x107f4d=this[_0x58c6e2(0x34d)](_0x197357,_0x1c9e4c);return this[_0x58c6e2(0x37e)](_0x107f4d);}[_0x2ff589(0x34d)](_0x555970,_0x1db4bf){const _0x21c87e=_0x2ff589,_0x177679=typeof window>'u'?new URL(_0x555970):new URL(_0x555970,window[_0x21c87e(0x1ef)]['origin']);_0x177679['searchParams'][_0x21c87e(0x326)](_0x21c87e(0x22c),_0x1db4bf);const _0x425912=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x21c87e(0x1ef)][_0x21c87e(0x373)]);return _0x425912[_0x21c87e(0x254)](_0x21c87e(0x314))&&_0x177679[_0x21c87e(0x30a)][_0x21c87e(0x326)](_0x21c87e(0x314),_0x425912[_0x21c87e(0x254)](_0x21c87e(0x314))),_0x177679[_0x21c87e(0x25e)]();}async[_0x2ff589(0x244)](){const _0x5b96cb=_0x2ff589;var _0x400fb1,_0x5d7516,_0x2e0bed;const _0x4ca52a=this['_configService'][_0x5b96cb(0x22b)](_0x44288f),_0x343640=(_0x400fb1=_0x4ca52a==null?void 0x0:_0x4ca52a['wsSessionTicketUrl'])!=null?_0x400fb1:_0x3cd0bb;return(_0x2e0bed=(_0x5d7516=(await this[_0x5b96cb(0x1f2)][_0x5b96cb(0x254)](_0x343640,{'headers':{'Content-Type':_0x5b96cb(0x210)}}))[_0x5b96cb(0x22e)])==null?void 0x0:_0x5d7516['ticket'])!=null?_0x2e0bed:'';}};st=In([K(0x0,_0x4abecf(_0x53572c)),K(0x1,_0x4abecf(_0x584f97)),K(0x2,_0x1b184c),K(0x3,_0x192faf),K(0x4,_0x19be19)],st);const it=0x7530,nt=_0x2ff589(0x22a);class jn extends _0x542665{constructor(){const _0x5c3dac=_0x2ff589;super(),_(this,_0x5c3dac(0x327),_0x257b27()),_(this,'_selfUnitIDs',new Set()),_(this,_0x5c3dac(0x31f),new Map()),_(this,_0x5c3dac(0x1fb),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x5c3dac(0x369),new Map()),this[_0x5c3dac(0x2ec)]();}[_0x2ff589(0x2fc)](){const _0x3ec6a0=_0x2ff589;super[_0x3ec6a0(0x2fc)](),this[_0x3ec6a0(0x2af)]['forEach']((_0x1b3435,_0xa2014)=>this['_removeClearOtherTimer'](_0xa2014)),this[_0x3ec6a0(0x1fb)]&&window[_0x3ec6a0(0x340)](this[_0x3ec6a0(0x1fb)]);}['getUnitStatus$'](_0x5ad5b8){const _0x16b5ad=_0x2ff589;return this[_0x16b5ad(0x380)](_0x5ad5b8)['pipe'](_0xe1bd26());}[_0x2ff589(0x371)](_0xbf2fab){const _0x333a07=_0x2ff589;this[_0x333a07(0x2c2)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x333a07(0x2c2)]['add'](_0xbf2fab),this[_0x333a07(0x341)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xbf2fab],'isForwarded':!0x1});}['disposeUnit'](_0x111e69){const _0x48d88e=_0x2ff589;this['_selfUnitIDs'][_0x48d88e(0x2e5)](_0x111e69),this[_0x48d88e(0x2c2)][_0x48d88e(0x350)]===0x0&&this[_0x48d88e(0x1fb)]&&window[_0x48d88e(0x340)](this['_heartbeatTimer']);}[_0x2ff589(0x2ec)](){const _0x49af3d=_0x2ff589;this[_0x49af3d(0x279)](_0x55d959(_0x4502af(window,_0x49af3d(0x372))[_0x49af3d(0x215)](_0x3df0d3=>{const _0x3e7264=_0x49af3d;if(_0x3df0d3[_0x3e7264(0x323)]!==nt||!_0x3df0d3['newValue'])return;const _0x14c42f=JSON[_0x3e7264(0x235)](_0x3df0d3[_0x3e7264(0x2aa)]);this[_0x3e7264(0x2f8)](_0x14c42f);}))),window[_0x49af3d(0x36d)](_0x49af3d(0x349),()=>this[_0x49af3d(0x341)]({'type':0x1,'memberID':this[_0x49af3d(0x327)],'unitIDs':Array[_0x49af3d(0x251)](this[_0x49af3d(0x2c2)])}));}[_0x2ff589(0x2f8)](_0x32e03e){const _0x54bbe6=_0x2ff589;switch(_0x32e03e['type']){case 0x0:this[_0x54bbe6(0x225)](_0x32e03e);break;case 0x1:this['_handleLeaveEvent'](_0x32e03e);break;case 0x2:this['_handleHeartbeatEvent'](_0x32e03e);break;}}[_0x2ff589(0x225)](_0x45213f){const _0x252b2b=_0x2ff589,{unitIDs:_0x2338aa,memberID:_0x1eb6be,isForwarded:_0x13fe42}=_0x45213f;_0x2338aa[_0x252b2b(0x2c4)](_0x404a80=>{const _0x274025=_0x252b2b;if(!_0x13fe42&&this[_0x274025(0x31f)][_0x274025(0x2f3)](_0x404a80)&&this['_ensureSubject'](_0x404a80)[_0x274025(0x1d2)](_0x5a2aef[_0x274025(0x2e1)]),!this[_0x274025(0x31f)][_0x274025(0x2f3)](_0x404a80)||!this[_0x274025(0x31f)][_0x274025(0x254)](_0x404a80)[_0x274025(0x2f3)](_0x1eb6be)){const _0x26009c=this[_0x274025(0x31f)]['get'](_0x404a80)||new Set();_0x26009c[_0x274025(0x1be)](_0x1eb6be),this[_0x274025(0x31f)]['set'](_0x404a80,_0x26009c),this['_scheduleClearOtherTimer'](_0x1eb6be);}}),_0x13fe42||this[_0x252b2b(0x341)]({'type':0x0,'memberID':this[_0x252b2b(0x327)],'unitIDs':[...this[_0x252b2b(0x2c2)]],'isForwarded':!0x0});}[_0x2ff589(0x1a2)](_0x5338c6){const _0xcba6b1=_0x2ff589;this[_0xcba6b1(0x221)](_0x5338c6);const _0x2134ea=window[_0xcba6b1(0x18d)](()=>{const _0x4b0b9d=_0xcba6b1;this[_0x4b0b9d(0x31f)]['forEach'](_0x2fe7a2=>{_0x2fe7a2['delete'](_0x5338c6);});},it*0x2);this['_clearOtherTimers'][_0xcba6b1(0x326)](_0x5338c6,_0x2134ea);}[_0x2ff589(0x221)](_0x657427){const _0x317954=_0x2ff589;if(this['_clearOtherTimers'][_0x317954(0x2f3)](_0x657427)){const _0x2cc37d=this[_0x317954(0x2af)]['get'](_0x657427);_0x2cc37d&&window[_0x317954(0x1b5)](_0x2cc37d),this[_0x317954(0x2af)][_0x317954(0x326)](_0x657427,null);}}[_0x2ff589(0x2dd)](_0x40e6a0){const _0x1643da=_0x2ff589,{memberID:_0x27f0e3,unitIDs:_0x3bb741}=_0x40e6a0;_0x3bb741['forEach'](_0x1f3189=>{const _0x2ae97c=_0x8596;var _0x2174ed;const _0xed5a89=this['_unitOnClients'][_0x2ae97c(0x254)](_0x1f3189);_0xed5a89&&(_0xed5a89[_0x2ae97c(0x2e5)](_0x27f0e3),(_0x2174ed=this['_ensureSubject'](_0x1f3189))==null||_0x2174ed[_0x2ae97c(0x1d2)](_0xed5a89['size']===0x0?_0x5a2aef[_0x2ae97c(0x26a)]:_0x5a2aef[_0x2ae97c(0x2e1)]));}),this[_0x1643da(0x221)](_0x27f0e3);}[_0x2ff589(0x19d)](_0x1680d1){const _0x23a428=_0x2ff589;this[_0x23a428(0x1a2)](_0x1680d1['memberID']);}['_send'](_0x17d66a){const _0x4c04e4=_0x2ff589;localStorage[_0x4c04e4(0x31e)](nt,JSON[_0x4c04e4(0x28e)](_0x17d66a));}[_0x2ff589(0x377)](){const _0x242fb3=_0x2ff589;this['_heartbeatTimer']=window[_0x242fb3(0x354)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},it);}['_ensureSubject'](_0x5bdaba){const _0x3395bc=_0x2ff589;return this[_0x3395bc(0x369)][_0x3395bc(0x2f3)](_0x5bdaba)||this[_0x3395bc(0x369)][_0x3395bc(0x326)](_0x5bdaba,new _0x2da5c1(_0x5a2aef[_0x3395bc(0x26a)])),this[_0x3395bc(0x369)][_0x3395bc(0x254)](_0x5bdaba);}}var Mt=(_0x5bcc28=>(_0x5bcc28[_0x5bcc28[_0x2ff589(0x278)]=0x0]='UNDEFINED',_0x5bcc28[_0x5bcc28['OK']=0x1]='OK',_0x5bcc28[_0x5bcc28[_0x2ff589(0x2ad)]=0x2]=_0x2ff589(0x2ad),_0x5bcc28[_0x5bcc28[_0x2ff589(0x18c)]=0x3]=_0x2ff589(0x18c),_0x5bcc28[_0x5bcc28[_0x2ff589(0x264)]=0x4]='NOT_FOUND',_0x5bcc28[_0x5bcc28[_0x2ff589(0x33d)]=0x5]='UNAUTHENTICATED',_0x5bcc28[_0x5bcc28[_0x2ff589(0x379)]=0x6]=_0x2ff589(0x379),_0x5bcc28[_0x5bcc28[_0x2ff589(0x1fd)]=0x7]=_0x2ff589(0x1fd),_0x5bcc28[_0x5bcc28[_0x2ff589(0x1d0)]=0x8]=_0x2ff589(0x1d0),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2eb)]=0x9]=_0x2ff589(0x2eb),_0x5bcc28[_0x5bcc28['LOGIN_FAILED']=0xa]=_0x2ff589(0x27a),_0x5bcc28[_0x5bcc28[_0x2ff589(0x289)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5bcc28[_0x5bcc28['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x2ff589(0x335),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2e9)]=0x1772]=_0x2ff589(0x2e9),_0x5bcc28[_0x5bcc28[_0x2ff589(0x249)]=0x1773]=_0x2ff589(0x249),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2e7)]=0x1b59]=_0x2ff589(0x2e7),_0x5bcc28[_0x5bcc28['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2ff589(0x1e1),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2df)]=0x1b5b]=_0x2ff589(0x2df),_0x5bcc28[_0x5bcc28[_0x2ff589(0x24f)]=0x1b5c]=_0x2ff589(0x24f),_0x5bcc28[_0x5bcc28['APPLY_DUPLICATED']=0x1b5d]=_0x2ff589(0x2c7),_0x5bcc28[_0x5bcc28[_0x2ff589(0x1db)]=0x1f41]=_0x2ff589(0x1db),_0x5bcc28[_0x5bcc28[_0x2ff589(0x25f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5bcc28[_0x5bcc28['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x2ff589(0x198),_0x5bcc28[_0x5bcc28[_0x2ff589(0x338)]=0x232b]=_0x2ff589(0x338),_0x5bcc28[_0x5bcc28['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5bcc28[_0x5bcc28['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2ff589(0x2e6),_0x5bcc28[_0x5bcc28[_0x2ff589(0x228)]=0x2711]=_0x2ff589(0x228),_0x5bcc28[_0x5bcc28['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2ff589(0x276),_0x5bcc28[_0x5bcc28[_0x2ff589(0x27d)]=0x2713]=_0x2ff589(0x27d),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2e4)]=0x2714]=_0x2ff589(0x2e4),_0x5bcc28[_0x5bcc28[_0x2ff589(0x217)]=0x271a]=_0x2ff589(0x217),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2be)]=0x271b]=_0x2ff589(0x2be),_0x5bcc28[_0x5bcc28[_0x2ff589(0x272)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5bcc28[_0x5bcc28[_0x2ff589(0x2b4)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5bcc28[_0x5bcc28['INVALID_INVITE_CODE']=0x2ee2]=_0x2ff589(0x255),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2c9)]=0x2ee3]=_0x2ff589(0x2c9),_0x5bcc28[_0x5bcc28['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2ff589(0x1ff),_0x5bcc28[_0x5bcc28[_0x2ff589(0x353)]=0x2ee5]=_0x2ff589(0x353),_0x5bcc28[_0x5bcc28[_0x2ff589(0x256)]=0x32c9]=_0x2ff589(0x256),_0x5bcc28[_0x5bcc28[_0x2ff589(0x2bb)]=0x32ca]=_0x2ff589(0x2bb),_0x5bcc28[_0x5bcc28[_0x2ff589(0x30c)]=0x32cb]=_0x2ff589(0x30c),_0x5bcc28[_0x5bcc28[_0x2ff589(0x36e)]=-0x1]=_0x2ff589(0x36e),_0x5bcc28))(Mt||{}),pn=Object['getOwnPropertyDescriptor'],Cn=(_0x4fd6a7,_0x36caf7,_0x8925ae,_0x18501e)=>{const _0x4e7b19=_0x2ff589;for(var _0x435ccd=_0x18501e>0x1?void 0x0:_0x18501e?pn(_0x36caf7,_0x8925ae):_0x36caf7,_0x24f0f9=_0x4fd6a7[_0x4e7b19(0x298)]-0x1,_0x481054;_0x24f0f9>=0x0;_0x24f0f9--)(_0x481054=_0x4fd6a7[_0x24f0f9])&&(_0x435ccd=_0x481054(_0x435ccd)||_0x435ccd);return _0x435ccd;},Oe=(_0x253b26,_0x17a3c7)=>(_0x4f9815,_0x2b7bbc)=>_0x17a3c7(_0x4f9815,_0x2b7bbc,_0x253b26);let rt=class extends _0x542665{constructor(_0x123878,_0x2dba8d,_0xd65a95){const _0x60e1=_0x2ff589;super(),this['_instanceService']=_0x123878,this[_0x60e1(0x1f2)]=_0x2dba8d,this[_0x60e1(0x1f0)]=_0xd65a95;}async['runOnServer'](_0x52f8f6,_0x162a52,_0x274562,..._0x3fe411){const _0x418cae=_0x2ff589;var _0x55e208,_0x10114b,_0x337f0f,_0x20b513;const _0x33fd48=this[_0x418cae(0x1ab)][_0x418cae(0x292)]();if(!_0x33fd48)throw new Error(_0x418cae(0x28c));const _0x39e53a=((_0x55e208=this['_configService'][_0x418cae(0x22b)](_0x42c95e))!=null?_0x55e208:_0x1983c8)+'/'+_0x52f8f6+_0x418cae(0x23d)+_0x162a52,_0x12cd0e=new URL(window[_0x418cae(0x1ef)][_0x418cae(0x2a4)]),_0x557f67={'scriptId':_0x52f8f6,'runId':(_0x10114b=_0x12cd0e[_0x418cae(0x30a)][_0x418cae(0x254)](_0x418cae(0x314)))!=null?_0x10114b:'','function':_0x162a52,'unitId':_0x33fd48['getUnitId'](),'argsOfFunction':JSON[_0x418cae(0x28e)](_0x3fe411),'invokeId':(_0x337f0f=_0x274562[_0x418cae(0x346)])!=null?_0x337f0f:'','executionId':(_0x20b513=_0x274562[_0x418cae(0x30e)])!=null?_0x20b513:''};try{const _0x5bf7f6=await this[_0x418cae(0x1f2)]['post'](_0x39e53a,{'body':_0x557f67});return _0x5bf7f6['body'][_0x418cae(0x1bb)]&&_0x5bf7f6[_0x418cae(0x22e)][_0x418cae(0x1bb)][_0x418cae(0x247)]!==Mt['OK']?_0x418cae(0x211):_0x5bf7f6[_0x418cae(0x22e)][_0x418cae(0x362)];}catch{return _0x418cae(0x211);}}};rt=Cn([Oe(0x0,_0x298822),Oe(0x1,_0x4abecf(_0x584f97)),Oe(0x2,_0x1b184c)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0xa130d5=_0x2dba;(function(_0x2fbca7,_0x29bfce){const _0x3a627c=_0x2dba,_0x102691=_0x2fbca7();while(!![]){try{const _0x155b01=-parseInt(_0x3a627c(0x228))/0x1*(-parseInt(_0x3a627c(0x2dd))/0x2)+parseInt(_0x3a627c(0x1d7))/0x3*(parseInt(_0x3a627c(0x2ee))/0x4)+-parseInt(_0x3a627c(0x2f7))/0x5*(parseInt(_0x3a627c(0x212))/0x6)+parseInt(_0x3a627c(0x23b))/0x7+-parseInt(_0x3a627c(0x233))/0x8*(parseInt(_0x3a627c(0x1f8))/0x9)+-parseInt(_0x3a627c(0x247))/0xa*(-parseInt(_0x3a627c(0x220))/0xb)+-parseInt(_0x3a627c(0x32a))/0xc*(parseInt(_0x3a627c(0x1fb))/0xd);if(_0x155b01===_0x29bfce)break;else _0x102691['push'](_0x102691['shift']());}catch(_0x5cc27a){_0x102691['push'](_0x102691['shift']());}}}(_0x1528,0xa8277));var $t=Object[_0xa130d5(0x2a1)],xt=(_0x72d04b,_0x394102,_0x2d835f)=>_0x394102 in _0x72d04b?$t(_0x72d04b,_0x394102,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d835f}):_0x72d04b[_0x394102]=_0x2d835f,_=(_0x110175,_0x5aaaaa,_0xc3de0)=>xt(_0x110175,typeof _0x5aaaaa!=_0xa130d5(0x2bc)?_0x5aaaaa+'':_0x5aaaaa,_0xc3de0);import{MemberService as _0x19e974,SessionStatus as _0x3ddc50,CollaborationSessionService as _0x175b54,CollaborationStatus as _0x374167,CollaborationController as _0x9cca5,ILocalCacheService as _0x557c2f,CollaborationUIEventService as _0x2b5f90,CollaborationUIEventId as _0x171070,DataLoaderService as _0x3242d1,DocCollaborationEntity as _0x260b14,getLocalCacheKey as _0x35d4ab,LOCAL_CACHE_INTERVAL as _0x5b2c8e,LOCAL_CACHE_INTERVAL_KEY as _0xb8e288,UniverCollaborationClientPlugin as _0x40e628,CollaborationSocketService as _0x34383f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x463ab4,DEFAULT_WS_SESSION_TICKET_URL as _0x100681,UnitStatus as _0x3486c5,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2f1247,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x446748}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x36a28e,Disposable as _0x3d4fed,DOC_RANGE_TYPE as _0x371b4b,Inject as _0x3156fc,Injector as _0x17ea93,IUniverInstanceService as _0x58523b,ICommandService as _0x4101e,debounce as _0x5ead44,Rectangle as _0x46690e,DisposableCollection as _0x2cbc87,toDisposable as _0x382550,UniverInstanceType as _0x4041fb,Tools as _0x5a569e,COLORS as _0x211a6b,ColorKit as _0x13d215,ThemeService as _0x1deb39,fromEventSubject as _0x316a11,LocaleService as _0x85bbfc,createIdentifier as _0x5d199d,ILogService as _0x4a2e13,Optional as _0x20723a,Workbook as _0x5da0c0,CommandType as _0x21189a,IConfigService as _0x14d608,ILocalStorageService as _0x2e7be6,DependentOn as _0x4fbfc2,Plugin as _0x383368,merge as _0x1c437f,registerDependencies as _0x410969,mergeOverrideWithDependencies as _0x457cc3,touchDependencies as _0x48e9dc,generateRandomId as _0x1595af}from'@univerjs/core';import{Shape as _0x5e2e11,Rect as _0x510bbf,getColor as _0x61a0b9,RegularPolygon as _0x3bb447,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x50424a,Vector2 as _0x3a76c6,SHEET_VIEWPORT_KEY as _0x5f2766,IRenderManagerService as _0x59a0c0}from'@univerjs/engine-render';import{ISocketService as _0x17d144,WebSocketService as _0x2480ec,HTTPService as _0x4a6a9}from'@univerjs/network';import{IDocClipboardService as _0x22d02d,NodePositionConvertToCursor as _0x224e05,NodePositionConvertToRectRange as _0xd17952,TEXT_RANGE_LAYER_INDEX as _0x3df993,SetDocZoomRatioOperation as _0x31a54a,DocIMEInputManagerService as _0x8f9223,DocStateChangeManagerService as _0x510a31}from'@univerjs/docs-ui';import{IImageIoService as _0x2b9f33}from'@univerjs/drawing';import{BehaviorSubject as _0x3ad1e2,debounceTime as _0x362f36,takeUntil as _0x301a84,Subject as _0x5e287b,filter as _0x16d207,switchMap as _0x5c9176,merge as _0x32c485,combineLatest as _0x28304f,of as _0x597e7f,fromEvent as _0x3364ea,shareReplay as _0x354f4d,mapTo as _0x3a5d21,distinctUntilChanged as _0x47ccc5}from'rxjs';import{SetTextSelectionsOperation as _0x581fc4,RichTextEditingMutation as _0x1a47bd,DocSelectionManagerService as _0x42eacb,DocSkeletonManagerService as _0x48fb3f}from'@univerjs/docs';import{ITransformService as _0x259e98,CollaborationEvent as _0x403380,isTransformMutationFailure as _0x5a3df0,isTransformMutationsWithChangesetSuccess as _0x13ae77,RevisionService as _0x3cc2cf,ISnapshotServerService as _0x20f2fb}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2414a4,serializeRangeWithSheet as _0x153bf4}from'@univerjs/engine-formula';import{RefRangeService as _0x25c9e0,SetSelectionsOperation as _0x38a761,SheetsSelectionsService as _0x257997,EffectRefRangId as _0x2440d9,handleIRemoveRow as _0x339708,handleIRemoveCol as _0x271b3a,handleMoveRange as _0x18c0d6,handleInsertRow as _0x2c0065,handleInsertRangeMoveRight as _0x34ef8a,handleInsertRangeMoveDown as _0x12288b,handleInsertCol as _0x5ae12b,handleDeleteRangeMoveUp as _0x25a567,handleDeleteRangeMoveLeft as _0x188c45,runRefRangeMutations as _0x127dbe,SetWorksheetActivateCommand as _0x4ddf0e}from'@univerjs/sheets';import{map as _0x1de582,filter as _0x20b8af,throttleTime as _0x2fb5cf,takeUntil as _0xc61dad,switchMap as _0x8e0c4a}from'rxjs/operators';import{SheetSkeletonManagerService as _0x417ccb,getCoordByCell as _0x31e289,getSheetObject as _0x1e5fc8}from'@univerjs/sheets-ui';import{jsx as _0xab2b25,jsxs as _0xd0c0f4}from'react/jsx-runtime';import{useObservable as _0x1be456,useDependency as _0x20e450,IUIPartsService as _0x58d3d1,BuiltInUIPart as _0x403b17,connectInjector as _0x52d0f5,IBeforeCloseService as _0x3d4de0,IMessageService as _0x4924ee,INotificationService as _0x4ded15}from'@univerjs/ui';import{Tooltip as _0x38ac88,clsx as _0x25bce5,MessageType as _0x38edad}from'@univerjs/design';import{forwardRef as _0x312275,useRef as _0x514990,createElement as _0x37e48a,useCallback as _0x57c87a}from'react';import{IRemoteInstanceService as _0x3d2ecf}from'@univerjs/rpc';var ci=Object[_0xa130d5(0x316)],li=(_0x921423,_0x2efb0a,_0x2fb246,_0x204695)=>{const _0x4ea915=_0xa130d5;for(var _0x2dd802=_0x204695>0x1?void 0x0:_0x204695?ci(_0x2efb0a,_0x2fb246):_0x2efb0a,_0x1fcb27=_0x921423[_0x4ea915(0x248)]-0x1,_0x11577f;_0x1fcb27>=0x0;_0x1fcb27--)(_0x11577f=_0x921423[_0x1fcb27])&&(_0x2dd802=_0x11577f(_0x2dd802)||_0x2dd802);return _0x2dd802;},Je=(_0x38afeb,_0x34afed)=>(_0x4dcbc6,_0x536f14)=>_0x34afed(_0x4dcbc6,_0x536f14,_0x38afeb);let Ne=class extends _0x36a28e{constructor(_0x3f9707,_0x14c59d){const _0x13016d=_0xa130d5;super(),this[_0x13016d(0x1ef)]=_0x3f9707,this[_0x13016d(0x2c6)]=_0x14c59d,this[_0x13016d(0x29c)]();}[_0xa130d5(0x29c)](){const _0x147154=_0xa130d5,_0x33ece3=this;this['disposeWithMe'](this['_docClipboardService'][_0x147154(0x18d)]({'onBeforePasteImage':async _0x44b5f6=>{const _0x177cb1=_0x147154,_0x294a63=await _0x33ece3[_0x177cb1(0x2c6)]['saveImage'](_0x44b5f6);return _0x294a63?{'source':_0x294a63[_0x177cb1(0x2b6)],'imageSourceType':_0x294a63['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x22d02d),Je(0x1,_0x2b9f33)],Ne);const Ze=['purple300','jiqing500',_0xa130d5(0x29f),_0xa130d5(0x15d),_0xa130d5(0x1ed),_0xa130d5(0x1c2)];class ke extends _0x3d4fed{constructor(){const _0x4931df=_0xa130d5;super(...arguments),_(this,_0x4931df(0x31e),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x141423){const _0x355dbd=_0xa130d5;if(this[_0x355dbd(0x31e)][_0x355dbd(0x25b)](_0x141423))return this['_assignedColors']['get'](_0x141423);const _0x496b9b=Ze[this[_0x355dbd(0x2fb)]];return this[_0x355dbd(0x2fb)]=(this[_0x355dbd(0x2fb)]+0x1)%Ze['length'],this[_0x355dbd(0x31e)][_0x355dbd(0x2a4)](_0x141423,_0x496b9b),_0x496b9b;}}function Tt(_0x3d1629){const _0x3dbd23=_0xa130d5;let _0x214164='';for(const _0x4ea0b3 of _0x3d1629){const {startOffset:_0x10754d,endOffset:_0x1267b4,isActive:_0x5bbbfa,rangeType:_0x117739,segmentId:_0x1464fe,segmentPage:_0x23cdaa}=_0x4ea0b3;_0x214164[_0x3dbd23(0x248)]&&(_0x214164+=','),_0x214164+=_0x10754d+':'+_0x1267b4+':'+(_0x5bbbfa?'1':'0')+':'+_0x117739+':'+_0x1464fe+':'+_0x23cdaa;}return _0x214164;}function _i(_0x379848){const _0x5cd162=_0xa130d5,_0x179bd2=_0x379848['split'](','),_0xfc77cd=[];for(const _0x268dc8 of _0x179bd2){const [_0x26b98c,_0x3618e8,_0x4bce0c,_0xe4f101,_0x4914bb,_0x4f53d9]=_0x268dc8[_0x5cd162(0x19f)](':');_0xfc77cd[_0x5cd162(0x2d5)]({'startOffset':Number(_0x26b98c),'endOffset':Number(_0x3618e8),'collapsed':_0x26b98c===_0x3618e8,'isActive':_0x4bce0c==='1','rangeType':_0xe4f101===_0x371b4b[_0x5cd162(0x309)]?_0x371b4b[_0x5cd162(0x309)]:_0x371b4b[_0x5cd162(0x21f)],'segmentId':typeof _0x4914bb=='string'?String(_0x4914bb):'','segmentPage':Number(_0x4f53d9!=null?_0x4f53d9:-0x1)});}return _0xfc77cd[_0x5cd162(0x1cb)](_0x36d1bc=>_0x36d1bc[_0x5cd162(0x1f2)])||(_0xfc77cd[0x0][_0x5cd162(0x1f2)]=!0x0),_0xfc77cd;}class He extends _0x36a28e{constructor(){const _0x487241=_0xa130d5;super(...arguments),_(this,_0x487241(0x2c3),new _0x3ad1e2(null)),_(this,_0x487241(0x1d9),this[_0x487241(0x2c3)]['asObservable']());}[_0xa130d5(0x314)](_0x487b0f){const _0x1fcc1d=_0xa130d5,{unitID:_0x2a88ab,memberID:_0x5a061a,textRanges:_0x13133b}=_0x487b0f,_0x45baaf=Tt(_0x13133b);if(_0x45baaf==='')return;const _0x19af42={'unitID':_0x2a88ab,'memberID':_0x5a061a,'selection':_0x45baaf};this[_0x1fcc1d(0x2c3)]['next'](_0x19af42);}}var hi=Object[_0xa130d5(0x316)],ui=(_0x4cf753,_0x5225ed,_0x20d86f,_0x233501)=>{const _0x43ed0d=_0xa130d5;for(var _0x288236=_0x233501>0x1?void 0x0:_0x233501?hi(_0x5225ed,_0x20d86f):_0x5225ed,_0x35619d=_0x4cf753[_0x43ed0d(0x248)]-0x1,_0x52ce37;_0x35619d>=0x0;_0x35619d--)(_0x52ce37=_0x4cf753[_0x35619d])&&(_0x288236=_0x52ce37(_0x288236)||_0x288236);return _0x288236;},L=(_0x279b5e,_0x15773a)=>(_0x547e67,_0x10c558)=>_0x15773a(_0x547e67,_0x10c558,_0x279b5e);const di=0x12c,fi=0x64;let Ue=class extends _0x36a28e{constructor(_0x112f7a,_0x463e35,_0x417496,_0x4e1328,_0x5ddc2b,_0x5be1e7,_0x76b68d,_0x1c9ba4,_0x1748e3){const _0x58c0f4=_0xa130d5;super(),_(this,'_online',!0x1),_(this,_0x58c0f4(0x29c),!0x1),_(this,'_cursorInfo$',new _0x3ad1e2(new Map())),_(this,_0x58c0f4(0x176),this[_0x58c0f4(0x210)][_0x58c0f4(0x271)]()),_(this,_0x58c0f4(0x1a6),new _0x3ad1e2([])),_(this,'roomMembers$',this[_0x58c0f4(0x1a6)][_0x58c0f4(0x2fe)](_0x362f36(di))),_(this,'_updateLocalCursor',_0x5ead44(_0x5c9fd5=>{const _0x5c367e=_0x58c0f4,_0x29b9b9={'eventID':_0x403380[_0x5c367e(0x28f)],'data':{'unitID':this[_0x5c367e(0x326)],'memberID':this[_0x5c367e(0x33d)][_0x5c367e(0x17e)](),'selection':Tt(_0x5c9fd5)}};this[_0x5c367e(0x33d)][_0x5c367e(0x27c)](_0x29b9b9,this[_0x5c367e(0x326)]);},fi)),(this[_0x58c0f4(0x326)]=_0x112f7a,this[_0x58c0f4(0x33d)]=_0x463e35,this[_0x58c0f4(0x1db)]=_0x417496,this['_colorAssignService']=_0x4e1328,this[_0x58c0f4(0x1a2)]=_0x5ddc2b,this[_0x58c0f4(0x1a8)]=_0x5be1e7,this[_0x58c0f4(0x1e8)]=_0x76b68d,this[_0x58c0f4(0x308)]=_0x1c9ba4,this[_0x58c0f4(0x28e)]=_0x1748e3);}get[_0xa130d5(0x1b1)](){const _0x4bda30=_0xa130d5;return this[_0x4bda30(0x210)][_0x4bda30(0x25c)]();}get[_0xa130d5(0x209)](){const _0x3ae865=_0xa130d5;return this[_0x3ae865(0x1a6)][_0x3ae865(0x25c)]();}[_0xa130d5(0x2e0)](){const _0x4ce5be=_0xa130d5;super[_0x4ce5be(0x2e0)](),this[_0x4ce5be(0x210)][_0x4ce5be(0x20f)](new Map()),this[_0x4ce5be(0x210)][_0x4ce5be(0x2fd)](),this[_0x4ce5be(0x1a6)][_0x4ce5be(0x20f)]([]),this[_0x4ce5be(0x1a6)][_0x4ce5be(0x2fd)]();}[_0xa130d5(0x211)](){const _0x108c95=_0xa130d5;this['_init']||(this[_0x108c95(0x29c)]=!0x0,this[_0x108c95(0x33d)][_0x108c95(0x327)][_0x108c95(0x2fe)](_0x301a84(this[_0x108c95(0x278)]))['subscribe'](_0x3ae2cb=>{const _0xd76d0c=_0x108c95;_0x3ae2cb===_0x3ddc50[_0xd76d0c(0x330)]?this[_0xd76d0c(0x164)]():this[_0xd76d0c(0x20b)]();}),this[_0x108c95(0x33d)]['event$'][_0x108c95(0x2fe)](_0x301a84(this[_0x108c95(0x278)]))['subscribe'](_0x79e7f6=>{const _0xc868d2=_0x108c95,_0x12219f=_0x79e7f6[_0xc868d2(0x16c)];_0x12219f===_0x403380[_0xc868d2(0x28f)]&&this['_onCursorUpdate'](_0x79e7f6),_0x12219f===_0x403380[_0xc868d2(0x16b)]&&this[_0xc868d2(0x331)](_0x79e7f6);}),this[_0x108c95(0x2cd)](this['_commandService'][_0x108c95(0x194)](_0x31001f=>{const _0x5d5ed7=_0x108c95,_0x8f7ce9=_0x31001f[_0x5d5ed7(0x181)];_0x8f7ce9!=null&&this[_0x5d5ed7(0x27d)]&&_0x31001f['id']===_0x581fc4['id']&&_0x8f7ce9['unitId']===this[_0x5d5ed7(0x326)]&&_0x8f7ce9['isEditing']===!0x1&&_0x8f7ce9[_0x5d5ed7(0x15f)][_0x5d5ed7(0x248)]>0x0&&this['_updateLocalCursor'](_0x8f7ce9[_0x5d5ed7(0x15f)]);})),this['_syncEditingCollabCursorService'][_0x108c95(0x1d9)]['pipe'](_0x301a84(this[_0x108c95(0x278)]))[_0x108c95(0x30d)](_0x310054=>{const _0x3c3922=_0x108c95;if((_0x310054==null?void 0x0:_0x310054[_0x3c3922(0x326)])!==this['unitID'])return;const _0x2d6c65={'eventID':_0x403380['UPDATE_CURSOR'],'data':_0x310054};this[_0x3c3922(0x1df)](_0x2d6c65);}),this[_0x108c95(0x2cd)](this[_0x108c95(0x28e)][_0x108c95(0x194)](_0x732a40=>{const _0xac6fc2=_0x108c95;if(_0x732a40[_0xac6fc2(0x181)]==null)return;const _0x1aea9d=_0x732a40[_0xac6fc2(0x181)];if(_0x732a40['id']!==_0x1a47bd['id']||_0x1aea9d[_0xac6fc2(0x1ab)]!==this[_0xac6fc2(0x326)])return;const _0x559ddb={'id':'doc.mutation.rich-text-editing','params':_0x1aea9d},_0x509a9b=this['cursorInfo'];for(const [_0x277575,_0x3193d5]of _0x509a9b){const _0x50970e={'id':_0xac6fc2(0x29a),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3193d5[_0xac6fc2(0x15f)]}},_0x526525=this[_0xac6fc2(0x1e8)][_0xac6fc2(0x19c)](_0x559ddb,_0x50970e,!0x1);if(_0x5a3df0(_0x526525))throw _0x526525[_0xac6fc2(0x2f6)];_0x509a9b['set'](_0x277575,{..._0x3193d5,'ranges':_0x526525['m2Prime'][_0xac6fc2(0x181)][_0xac6fc2(0x292)]});}queueMicrotask(()=>{const _0x3ef7cd=_0xac6fc2;this[_0x3ef7cd(0x210)]['next'](_0x509a9b);});})));}[_0xa130d5(0x1df)](_0x5cf73f){const _0x281417=_0xa130d5;var _0x141278,_0x21e56d;const {memberID:_0x2e4cc3,selection:_0x558898}=_0x5cf73f[_0x281417(0x217)],_0xbd6eeb=_i(_0x558898),_0x39b0c1=(_0x21e56d=(_0x141278=this[_0x281417(0x1a2)][_0x281417(0x25d)](this[_0x281417(0x326)],_0x2e4cc3))==null?void 0x0:_0x141278[_0x281417(0x229)])!=null?_0x21e56d:'Unknown\x20user',_0x1d6947={'color':this[_0x281417(0x2f2)][_0x281417(0x193)](_0x2e4cc3),'name':_0x39b0c1,'ranges':_0xbd6eeb},_0x1f54e2=this['cursorInfo'];_0x1f54e2[_0x281417(0x2a4)](_0x2e4cc3,_0x1d6947),this[_0x281417(0x210)][_0x281417(0x20f)](_0x1f54e2);}[_0xa130d5(0x331)](_0x1e7f71){const _0x1a5da5=_0xa130d5,{memberID:_0x1cecb4}=_0x1e7f71['data'],_0x2d276e=this['cursorInfo'];_0x2d276e['delete'](_0x1cecb4),this[_0x1a5da5(0x210)][_0x1a5da5(0x20f)](_0x2d276e);}[_0xa130d5(0x164)](){const _0x153332=_0xa130d5;var _0x4b227d;if(this[_0x153332(0x27d)]=!0x0,((_0x4b227d=this['_univerInstanceService'][_0x153332(0x2b4)]())==null?void 0x0:_0x4b227d[_0x153332(0x272)]())!==this['unitID'])return;const _0x1c0d4f=this['_injector'][_0x153332(0x2a0)](_0x42eacb)[_0x153332(0x2ef)]();Array[_0x153332(0x2ea)](_0x1c0d4f)&&_0x1c0d4f['length']>0x0&&this[_0x153332(0x16d)](_0x1c0d4f);}[_0xa130d5(0x20b)](){const _0x45413b=_0xa130d5;this[_0x45413b(0x27d)]=!0x1;}};Ue=ui([L(0x2,_0x3156fc(_0x17ea93)),L(0x3,_0x3156fc(ke)),L(0x4,_0x3156fc(_0x19e974)),L(0x5,_0x3156fc(He)),L(0x6,_0x259e98),L(0x7,_0x58523b),L(0x8,_0x4101e)],Ue);var Si=Object[_0xa130d5(0x316)],mi=(_0x28b4ea,_0x2c3f7e,_0x2df649,_0x1409a0)=>{const _0x5b0ba8=_0xa130d5;for(var _0x412163=_0x1409a0>0x1?void 0x0:_0x1409a0?Si(_0x2c3f7e,_0x2df649):_0x2c3f7e,_0x21edc5=_0x28b4ea[_0x5b0ba8(0x248)]-0x1,_0xa9dbe5;_0x21edc5>=0x0;_0x21edc5--)(_0xa9dbe5=_0x28b4ea[_0x21edc5])&&(_0x412163=_0xa9dbe5(_0x412163)||_0x412163);return _0x412163;},x=(_0x3f30ad,_0x1c933f)=>(_0xdd221f,_0x2daf80)=>_0x1c933f(_0xdd221f,_0x2daf80,_0x3f30ad);const gi=0x12c,Ii=0x64,vi=()=>{let _0x53e141=[],_0x39c258=!0x1;return _0x1f9a70=>{const _0x3ee76e=_0x2dba;_0x53e141[_0x3ee76e(0x2d5)](_0x1f9a70),_0x39c258||(_0x39c258=!0x0,setTimeout(()=>{const _0x24eed0=_0x3ee76e;_0x53e141[_0x24eed0(0x2f4)](_0x23f813=>_0x23f813()),_0x53e141=[],_0x39c258=!0x1;}));};};let Me=class extends _0x36a28e{constructor(_0x3abdde,_0xcc7afb,_0xd29839,_0x11e530,_0x6c53cb,_0xfd87fc,_0x2d1616,_0x8ca8ba){const _0x529026=_0xa130d5;super(),_(this,_0x529026(0x27d),!0x1),_(this,_0x529026(0x29c),!0x1),_(this,_0x529026(0x210),new _0x3ad1e2(new Map())),_(this,_0x529026(0x176),this[_0x529026(0x210)][_0x529026(0x271)]()),_(this,_0x529026(0x1a6),new _0x3ad1e2([])),_(this,_0x529026(0x2c1),this[_0x529026(0x1a6)]['pipe'](_0x362f36(gi))),_(this,_0x529026(0x16d),_0x5ead44((_0x3575fd,_0x14f579)=>{const _0x402475=_0x529026,_0x3c2277={'eventID':_0x403380[_0x402475(0x28f)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x153bf4(_0x3575fd,_0x14f579[_0x402475(0x358)])}};this[_0x402475(0x33d)][_0x402475(0x27c)](_0x3c2277,this['unitID']);},Ii)),(this['unitID']=_0x3abdde,this[_0x529026(0x33d)]=_0xcc7afb,this[_0x529026(0x1db)]=_0xd29839,this[_0x529026(0x2f2)]=_0x11e530,this[_0x529026(0x1a2)]=_0x6c53cb,this[_0x529026(0x308)]=_0xfd87fc,this[_0x529026(0x28e)]=_0x2d1616,this[_0x529026(0x293)]=_0x8ca8ba);}get['cursorInfo'](){const _0x2061f7=_0xa130d5;return this[_0x2061f7(0x210)][_0x2061f7(0x25c)]();}get[_0xa130d5(0x209)](){const _0x35e025=_0xa130d5;return this[_0x35e025(0x1a6)][_0x35e025(0x25c)]();}['dispose'](){const _0x354851=_0xa130d5;super['dispose'](),this[_0x354851(0x210)][_0x354851(0x20f)](new Map()),this[_0x354851(0x210)][_0x354851(0x2fd)](),this['_roomMembers$'][_0x354851(0x20f)]([]),this['_roomMembers$']['complete']();}[_0xa130d5(0x211)](){const _0x375db5=_0xa130d5;this[_0x375db5(0x29c)]||(this[_0x375db5(0x29c)]=!0x0,this[_0x375db5(0x33d)][_0x375db5(0x327)][_0x375db5(0x2fe)](_0x301a84(this[_0x375db5(0x278)]))[_0x375db5(0x30d)](_0x2b99ae=>{const _0x2392cb=_0x375db5;_0x2b99ae===_0x3ddc50[_0x2392cb(0x330)]?this[_0x2392cb(0x164)]():this[_0x2392cb(0x20b)]();}),this[_0x375db5(0x33d)][_0x375db5(0x213)][_0x375db5(0x2fe)](_0x301a84(this['dispose$']))[_0x375db5(0x30d)](_0x49c92e=>{const _0x687282=_0x375db5,_0x4903a=_0x49c92e[_0x687282(0x16c)];_0x4903a===_0x403380['UPDATE_CURSOR']&&this[_0x687282(0x1df)](_0x49c92e),_0x4903a===_0x403380[_0x687282(0x16b)]&&this['_onCursorDelete'](_0x49c92e);}),this['_onRefRangeChange'](),this[_0x375db5(0x2cd)](this[_0x375db5(0x28e)][_0x375db5(0x194)](_0x3534a3=>{const _0x51147e=_0x375db5;if(this[_0x51147e(0x27d)]&&_0x3534a3['id']===_0x38a761['id']&&_0x3534a3[_0x51147e(0x181)]['unitId']===this['unitID']){const _0x1566ff=_0x3534a3[_0x51147e(0x181)];this[_0x51147e(0x16d)](_0x1566ff[_0x51147e(0x20e)],_0x1566ff['selections'][0x0]);}})));}[_0xa130d5(0x1df)](_0x26a65a){const _0x2e0cf4=_0xa130d5;var _0x3e8651,_0x24008b;const {memberID:_0x57f1ee,selection:_0x14dfe3}=_0x26a65a[_0x2e0cf4(0x217)],{sheetName:_0x533746,range:_0x21dfdb}=_0x2414a4(_0x14dfe3),_0x19d3d0={'name':(_0x24008b=(_0x3e8651=this[_0x2e0cf4(0x1a2)]['getMember'](this[_0x2e0cf4(0x326)],_0x57f1ee))==null?void 0x0:_0x3e8651[_0x2e0cf4(0x229)])!=null?_0x24008b:'Unknown\x20user','range':this[_0x2e0cf4(0x2f8)](_0x533746,_0x21dfdb),'sheetID':_0x533746,'color':this[_0x2e0cf4(0x2f2)][_0x2e0cf4(0x193)](_0x57f1ee),'selection':_0x14dfe3},_0x27af0d=this[_0x2e0cf4(0x1b1)];_0x27af0d['set'](_0x57f1ee,_0x19d3d0),this[_0x2e0cf4(0x210)][_0x2e0cf4(0x20f)](_0x27af0d);}[_0xa130d5(0x331)](_0x19b727){const _0x5f2173=_0xa130d5,{memberID:_0xc6f8b9}=_0x19b727[_0x5f2173(0x217)],_0x1ea0b7=this['cursorInfo'];_0x1ea0b7[_0x5f2173(0x1b6)](_0xc6f8b9),this[_0x5f2173(0x210)][_0x5f2173(0x20f)](_0x1ea0b7);}[_0xa130d5(0x2f8)](_0x7d1f4a,_0x21c0c7){const _0x324b3c=_0xa130d5;var _0x3bb53d,_0x2396c7;const _0x5ad352=(_0x2396c7=(_0x3bb53d=this[_0x324b3c(0x308)]['getUniverSheetInstance'](this[_0x324b3c(0x326)]))==null?void 0x0:_0x3bb53d[_0x324b3c(0x27b)](_0x7d1f4a))==null?void 0x0:_0x2396c7[_0x324b3c(0x195)]();return(_0x5ad352==null?void 0x0:_0x5ad352[_0x324b3c(0x2a2)](_0x5a8e72=>_0x46690e['contains'](_0x5a8e72,_0x21c0c7)))||_0x21c0c7;}[_0xa130d5(0x17a)](){const _0x1adb11=_0xa130d5,_0x2c4176=new _0x2cbc87(),_0x16eb06=vi(),_0x19d611=()=>{const _0x5edaa1=_0x2dba;_0x2c4176['dispose']();const _0x3c154c=(_0x47e0b9,_0x2d222a,_0x215062,_0x337ca9)=>{const _0x332259=_0x2dba;let _0x17c55b=[];switch(_0x47e0b9['id']){case _0x2440d9[_0x332259(0x169)]:{_0x17c55b=_0x188c45(_0x47e0b9,_0x337ca9);break;}case _0x2440d9['DeleteRangeMoveUpCommandId']:{_0x17c55b=_0x25a567(_0x47e0b9,_0x337ca9);break;}case _0x2440d9[_0x332259(0x258)]:{_0x17c55b=_0x5ae12b(_0x47e0b9,_0x337ca9);break;}case _0x2440d9[_0x332259(0x320)]:{_0x17c55b=_0x12288b(_0x47e0b9,_0x337ca9);break;}case _0x2440d9['InsertRangeMoveRightCommandId']:{_0x17c55b=_0x34ef8a(_0x47e0b9,_0x337ca9);break;}case _0x2440d9[_0x332259(0x2ca)]:{_0x17c55b=_0x2c0065(_0x47e0b9,_0x337ca9);break;}case _0x2440d9['MoveRangeCommandId']:{_0x17c55b=_0x18c0d6(_0x47e0b9,_0x337ca9);break;}case _0x2440d9[_0x332259(0x23f)]:{_0x17c55b=_0x271b3a(_0x47e0b9,_0x337ca9);break;}case _0x2440d9[_0x332259(0x15a)]:{_0x17c55b=_0x339708(_0x47e0b9,_0x337ca9);break;}}const _0x285e60=_0x127dbe(_0x17c55b,_0x337ca9),_0x4a8a4b=this['cursorInfo'][_0x332259(0x2a0)](_0x2d222a);if(_0x4a8a4b&&_0x285e60){const _0x378f05={..._0x4a8a4b,'range':_0x285e60};this[_0x332259(0x1b1)][_0x332259(0x2a4)](_0x2d222a,_0x378f05),_0x16eb06(()=>{const _0x280715=_0x332259,_0x2d8dce=this[_0x280715(0x293)][_0x280715(0x29b)](_0x285e60,_0x553f82=>(_0x2d8dce[_0x280715(0x2e0)](),_0x3c154c(_0x553f82,_0x2d222a,_0x215062,_0x285e60)));_0x2c4176[_0x280715(0x2e2)](_0x2d8dce);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5edaa1(0x2f4)]((_0x3c4454,_0x1cb2ac)=>{const _0x4aa6c4=_0x5edaa1,{range:_0x39996e,sheetID:_0x4e8459}=_0x3c4454,_0x380f19=this[_0x4aa6c4(0x293)]['registerRefRange'](_0x39996e,_0x31fd02=>(_0x380f19[_0x4aa6c4(0x2e0)](),_0x3c154c(_0x31fd02,_0x1cb2ac,_0x4e8459,_0x39996e)));_0x2c4176[_0x4aa6c4(0x2e2)](_0x380f19);});};this[_0x1adb11(0x2cd)](_0x382550(this[_0x1adb11(0x210)][_0x1adb11(0x30d)](()=>{_0x19d611();})));}['_toggleOnline'](){const _0x494704=_0xa130d5;var _0x2d58fe,_0x131381;if(this[_0x494704(0x27d)]=!0x0,((_0x2d58fe=this[_0x494704(0x308)][_0x494704(0x2b4)]())==null?void 0x0:_0x2d58fe[_0x494704(0x272)]())!==this[_0x494704(0x326)])return;const _0x36f4b5=(_0x131381=this['_injector'][_0x494704(0x2a0)](_0x257997)[_0x494704(0x33a)]())==null?void 0x0:_0x131381[0x0],_0x22a926=this[_0x494704(0x308)]['getCurrentUnitForType'](_0x4041fb[_0x494704(0x215)])['getActiveSheet']();_0x36f4b5&&_0x22a926&&this[_0x494704(0x16d)](_0x22a926[_0x494704(0x2d7)](),_0x36f4b5);}['_toggleOffline'](){const _0x585288=_0xa130d5;this[_0x585288(0x27d)]=!0x1;}};Me=mi([x(0x2,_0x3156fc(_0x17ea93)),x(0x3,_0x3156fc(ke)),x(0x4,_0x3156fc(_0x19e974)),x(0x5,_0x58523b),x(0x6,_0x4101e),x(0x7,_0x3156fc(_0x25c9e0))],Me);var pi=Object[_0xa130d5(0x316)],Ci=(_0x19306c,_0x1f7554,_0xa9f00,_0x65d176)=>{const _0x5d0ab9=_0xa130d5;for(var _0x297b36=_0x65d176>0x1?void 0x0:_0x65d176?pi(_0x1f7554,_0xa9f00):_0x1f7554,_0x43c2ca=_0x19306c[_0x5d0ab9(0x248)]-0x1,_0x1138b6;_0x43c2ca>=0x0;_0x43c2ca--)(_0x1138b6=_0x19306c[_0x43c2ca])&&(_0x297b36=_0x1138b6(_0x297b36)||_0x297b36);return _0x297b36;},Se=(_0x4bc357,_0xfc7d03)=>(_0x1077e2,_0x4c106d)=>_0xfc7d03(_0x1077e2,_0x4c106d,_0x4bc357);function _0x1528(){const _0x5a6ced=['resize','_id','measureText','values','_scheduleSaving','toString','width','_unitStatus','origin','InsertColCommandId','permission.content','_lastPointer','has','getValue','getMember','_removeCollabCursors','OnLineSingle','_color','colorChannel1','m2Prime','translate(.97)','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','color','UNAUTHENTICATED','_getSaveTimeout','addObjects','_eventUnsubscribe','_selfUnitIDs','setActiveRange','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','evenodd','save','setParam','Error','asObservable','getUnitId','off-line-single_clip0_910_343','NOT_COLLAB','collab-text-anchor-','unit','APPLY_REVISION_CONFILICT','dispose$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','xlink:href','getSheetBySheetId','send','_online','addObject','_refreshCollabCursors','INVALID_ARGUMENT','INVITE_CODE_ALREADY_BOUND','registerRenderModule','_collaborationUIEventService','_drawRectRange','AWAITING_WITH_PENDING','defIds','PY_RUNTIME_SCRIPT_ERROR','setTimeout','sheetID','size','pushState','onPointerMove$','startColumn','_commandService','UPDATE_CURSOR','makeDirty','string','textRanges','_refRangeService','runOnServer','OFFLINE','loadUnit','_scene','UNDEFINED','_transformHistoryAndStateStack','doc.mutation.rich-text-editing','registerRefRange','_init','_config','findNodePositionByCharIndex','verdancy600','get','defineProperty','find','redoState','set','WECHAT_HAS_BEEN_BOUND','getRangePointData','then','_labelPosition','OTHER_CLIENT_EDITING','collabStatus.syncing','top','YUUMI_RATE_OVER_LIMIT','...','type','collaboration-client.offline-data-not-saved','key','call','off-line-single','createSocket','getFocusedUnit','clearInterval','source','assign','_saveTaskMap','parse','_cursor','_transformPreviousActiveRange','symbol','YUUMI_AI_RUN_FAILED','_handleJoinEvent','_renderManagerService','deepClone','roomMembers$','collabStatus.notCollab','_collabCursorState$','getCollabCursors$','APPLY_DUPLICATED','_imageIoService','flatMap','collaboration.closeRoom','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','InsertRowCommandId','_docSyncEditingCollabCursorService','on-line-single_clip0_910_349','disposeWithMe','urlChange$','_drawTextRange','CONFLICT','wsSessionTicketUrl','SYNCED','LICENSE_MAX_UNITS_EXCEEDED','FETCH_MISS','push','[CollaborationDataLoaderController]','getSheetId','addEventListener','popstate','INVITE_CODE_HAS_BEEN_UES','div','url(#off-line-single_clip0_910_343)','10HIUQbB','getViewport','fillText','dispose','JOIN_ROOM_FAILED','add','_hovered','_context','_document','from','beginPath','arc','session.connection-failed','isArray','currentColor','transformIMECache','YUUMI_UNABLE_LOAD_URL','4104252ViEuWY','getDocRanges','extend','post','_colorAssignService','UNIVER_DOC','forEach','_docTransformIMECacheService','error','2570YQPLsh','_getMergeRange','PENDING','FromArray','_colorIndex','SNAPSHOT_HAS_BEEN_REMOVED','complete','pipe','round','_entities','_configService','YUUMI_ASYNCIO_CANCELLED','_heartbeatTimer','_render','_revisionService','_initResize','propertyIsEnumerable','_univerInstanceService','TEXT','transformByState','_handleHeartbeatEvent','clipPath','subscribe','subunit','ACTIVE_UNIT_EVENT_CHANNEL','subscribeEvent','onStarting','_updateSubUnitFromURLParams','ENSURE_SNAPSHOT_EXECUTION','syncEditingCollabCursor','disableLocalCache','getOwnPropertyDescriptor','code','editingUnit','className','_uiPartsService','location','hasOwnProperty','executionId','_assignedColors','TOO_MANY_REQUESTS','InsertRangeMoveDownCommandId','getTypeOfUnitDisposed$','1em','_anchor','search','hovered','unitID','sessionStatus$','_docTransformSelectionsService','_collabCursorController','10162140LJVcDb','indexOf','row','tag','_anchorDot','getUndoRedoMutationParamsCache','ONLINE','_onCursorDelete','_httpService','_beforeCloseService','_getAnchorBounding','_dataLoaderService','fill','NOT_FOUND','getUnhiddenWorksheets','getOwnPropertySymbols','getCurrentSelections','_getSessionTicket','LICENSE_IMPORT_SIZE_EXCEEDED','_session','YUUMI_URL_COL_OUT_OF_RANGE','_hover','idSuffix','onLocalMutation','currentSkeleton$','_entityInit$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getRenderById','VIEW_MAIN','INVALID_INVITE_CODE','includes','focused$','on-line-single','registerComponent','_ensureSubject','getRelativeToViewportCoord','_startSheetCollabCursor','_name','MOBILE_HAS_BEEN_BOUND','result','onPointerLeave$','CONNECTOR_DATA_TOO_LARGE','collaboration.single-unit.warning','_registerDependencies','text','history','range','ticket','ALREADY_EXISTS','_initStatusComponent','PERMISSION_DENIED','unsubscribe','_clearOtherTimers','RemoveRowCommandId','transformRemoteChangeset','LICENSE_EXPORT_SIZE_EXCEEDED','red300','requireSession','ranges','loadOfflineData','onRendered','executeCommand','_handleEvent','_toggleOnline','endRow','_scheduleClearOtherTimer','_getScale','_unitOnClients','DeleteRangeMoveLeftCommandId','application/json','USERS_LEAVE','eventID','_updateLocalCursor','drawWith','APPLY_NON_SEQUENTIAL_REVISION','getActiveSheet','min','getTypeOfUnitAdded$','_saveCache','_cursorShapes','APPLY_REJECT','cursorInfo$','getAncestorScale','toRgbString','_getSheetObject','_onRefRangeChange','replace','displayName','_localStorageService','getMemberID','_shapes','0\x200\x2017\x2016','params','_initEntityListener','closePath','map','_collabSessionService','function','defs','M0\x200H16V16H0z','_send','Warning','unshift','icon','addClipboardHook','session.collaboration-timeout','YUUMI_NO_CUBOID_FOR_QUESTION','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','univer-text-green-500','YUUMI_SUBSCRIPTION_NOT_FOUND','assignAColorForMemberID','onCommandExecuted','getMergeData','HEADER_MENU','url(#$1','setShapeProps','createInstance','m1Prime','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','transformMutation','_draw','getCollabEntity$','split','collabStatus.synced','generateRandomId','_memberService','fillRule','none','mutations','_roomMembers$','UNRECOGNIZED','_syncEditingCollabCursorService','lineTo','onTransformChange$','unitId','saveTaskMap','override','setUndoRedoMutationParamsCache','_range','_hideTimer','cursorInfo','engine','_sheetSkeletonManagerService','column','fillStyle','delete','_cursors','_logService','replaceDocRanges','max','univer-flex\x20univer-mr-2\x20univer-text-[20px]','undoState','getCurrent','univer-flex\x20univer-items-center','path','children','docStateChange$','gold400','selection','status$','uni.network.url-service','getParam','getCurrentRevOfUnit','transformMutationsWithChangeset','_docTransformStateCacheService','concat','some','permission.title','_textBubble','apply','getOffsetConfig','_localCacheService','transformSelections','_docStateChangeManagerService','svg','univer-text-red-500','setAlpha','collabStatus.fetchMiss','3JVitpZ','_urlService','collabCursorState$','_handleHover','_injector','LICENSE_DISTRO_REJECTED','_updateURLWithCurrentState','getSkeleton','_onCursorUpdate','transformStateCache','MUTATION','_messageService','black','replaceState','SNAPSHOT_INVALID_SNAPSHOT','COMPLETION_FINISHED','LOGIN_FAILED','_transformService','href','invokeId','session.will-retry','_collaborationController','blue400','saveOfflineData','_docClipboardService','transform','collab-rect-range-','isActive','_registerRenderDependencies','onPointerEnter$','font','runId','CHANGESET_REVISION_CONFILICT','261GtGTJj','body','removeParam','13nHSpyK','_status$','skeleton','show','YUUMI_ALL_TABLES_IS_INVALID','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getCellPositionByOffset','getItem','_initStatusListener','_initDependencies','_backgroundColor','onMouseMove','currentTheme$','_notificationService','roomMembers','entries','_toggleOffline','collab-client.tooltip.reconnect','_handleLeaveEvent','subUnitId','next','_cursorInfo$','init','4806yVhzeh','event$','_startDocCollabCursor','UNIVER_SHEET','url(#on-line-single_clip0_910_349)','data','getActiveRange','INTERNAL_ERROR','_docSkeletonManagerService','_updateCollabCursors','newValue','with','registerBeforeClose','RECT','605770BRHbel','collab-text-range-','setItem','_localeService','_setupSubUnitSync','univerjs-icon\x20univerjs-icon-','mask','labelPosition','55355tkWdGS','name','_drawAnchor','height','activeSheet$','_initEvent','attrs','searchParams','INVITE_CODE_REQUIRED','APPLY_PERMISSION_DENIED','prototype','68192vftTKr','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','hide','OTHER_CLIENTS_EDITING','startRow','_scheduleHeartbeat','stringify','#fff','4314282myAJmx','_removeClearOtherTimer','clearTimeout','exhaustSavingTask','RemoveColCommandId','UniverIcon','EMAIL_HAS_BEEN_BOUND','_cachedData','AWAITING','use','_disabled','_themeService','50AvtSRE','length','0\x200\x2016\x2016','_setupBeforeClosingHandler','restore','getConfig','_instanceService','_transformUndoRedoStack'];_0x1528=function(){return _0x5a6ced;};return _0x1528();}let H=class extends _0x36a28e{constructor(_0x46e82a,_0x1b6c63,_0x59b1d1){const _0x2ed0d4=_0xa130d5;super(),_(this,_0x2ed0d4(0x300),new Map()),_(this,_0x2ed0d4(0x343),new _0x5e287b()),(this[_0x2ed0d4(0x308)]=_0x46e82a,this[_0x2ed0d4(0x1db)]=_0x1b6c63,this[_0x2ed0d4(0x185)]=_0x59b1d1,this[_0x2ed0d4(0x29c)]());}[_0xa130d5(0x2e0)](){const _0x1d2283=_0xa130d5;super['dispose'](),this[_0x1d2283(0x343)]['complete'](),this[_0x1d2283(0x300)]['forEach'](_0x5eb0ad=>_0x5eb0ad[_0x1d2283(0x2e0)]());}['getCollabCursors$'](_0x1a48e7){const _0x2b511=_0xa130d5;return this[_0x2b511(0x300)]['has'](_0x1a48e7)?this[_0x2b511(0x300)][_0x2b511(0x2a0)](_0x1a48e7)[_0x2b511(0x176)]:this[_0x2b511(0x343)]['pipe'](_0x16d207(_0x3715cc=>_0x3715cc[_0x2b511(0x326)]===_0x1a48e7),_0x5c9176(_0x34b44e=>_0x34b44e[_0x2b511(0x176)]));}[_0xa130d5(0x29c)](){const _0x442236=_0xa130d5;this[_0x442236(0x308)]['getTypeOfUnitAdded$'](_0x4041fb[_0x442236(0x215)])[_0x442236(0x2fe)](_0x301a84(this[_0x442236(0x278)]))[_0x442236(0x30d)](async _0x289ec6=>{const _0x1389f8=_0x442236,_0x57a8cb=_0x289ec6[_0x1389f8(0x272)](),_0x49fe30=await this[_0x1389f8(0x34e)](_0x57a8cb);this[_0x1389f8(0x343)][_0x1389f8(0x20f)](_0x49fe30),this[_0x1389f8(0x300)][_0x1389f8(0x2a4)](_0x57a8cb,_0x49fe30);}),this[_0x442236(0x308)][_0x442236(0x172)](_0x4041fb[_0x442236(0x2f3)])[_0x442236(0x2fe)](_0x301a84(this['dispose$']))[_0x442236(0x2fe)](_0x16d207(_0x502877=>!_0x502877['getUnitId']()['startsWith']('__')))[_0x442236(0x30d)](async _0x1c6a49=>{const _0x32f809=_0x442236,_0x530a9a=_0x1c6a49[_0x32f809(0x272)](),_0xc4185d=await this['_startDocCollabCursor'](_0x530a9a);this['_entityInit$'][_0x32f809(0x20f)](_0xc4185d),this[_0x32f809(0x300)][_0x32f809(0x2a4)](_0x530a9a,_0xc4185d);}),_0x32c485(this[_0x442236(0x308)][_0x442236(0x321)](_0x4041fb['UNIVER_DOC']),this['_univerInstanceService'][_0x442236(0x321)](_0x4041fb['UNIVER_SHEET']))['pipe'](_0x301a84(this[_0x442236(0x278)]))[_0x442236(0x30d)](_0x190d04=>{const _0x178159=_0x442236,_0x226e83=_0x190d04[_0x178159(0x272)](),_0x455240=this[_0x178159(0x300)]['get'](_0x226e83);_0x455240&&(_0x455240[_0x178159(0x2e0)](),this[_0x178159(0x300)][_0x178159(0x1b6)](_0x226e83));});}async[_0xa130d5(0x34e)](_0xed3cbb){const _0x38f3cd=_0xa130d5,_0x4f5bf4=await this['_collabSessionService'][_0x38f3cd(0x15e)](_0xed3cbb),_0x1cded1=this[_0x38f3cd(0x1db)][_0x38f3cd(0x199)](Me,_0xed3cbb,_0x4f5bf4);return _0x1cded1[_0x38f3cd(0x211)](),_0x1cded1;}async[_0xa130d5(0x214)](_0x182a58){const _0xe17c26=_0xa130d5,_0x505e8a=await this['_collabSessionService'][_0xe17c26(0x15e)](_0x182a58),_0x5ced6b=this['_injector'][_0xe17c26(0x199)](Ue,_0x182a58,_0x505e8a);return _0x5ced6b['init'](),_0x5ced6b;}};H=Ci([Se(0x0,_0x58523b),Se(0x1,_0x3156fc(_0x17ea93)),Se(0x2,_0x3156fc(_0x175b54))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x5e9c2a,_0xb810e6){const _0x2a16f5=_0xa130d5;let {radius:_0x488849,width:_0x3ba720,height:_0x3d222b}=_0xb810e6;_0x488849=_0x488849!=null?_0x488849:0x0,_0x3ba720=_0x3ba720!=null?_0x3ba720:0x1e,_0x3d222b=_0x3d222b!=null?_0x3d222b:0x1e;let _0x50810f=0x0,_0x1e20b6=0x0,_0x29394a=0x0;_0x50810f=_0x1e20b6=_0x29394a=Math[_0x2a16f5(0x171)](_0x488849,_0x3ba720/0x2,_0x3d222b/0x2),_0x5e9c2a[_0x2a16f5(0x2e7)](),_0x5e9c2a['moveTo'](_0x50810f,0x0),_0x5e9c2a[_0x2a16f5(0x1a9)](_0x3ba720-_0x1e20b6,0x0),_0x5e9c2a['arc'](_0x3ba720-_0x1e20b6,_0x1e20b6,_0x1e20b6,Math['PI']*0x3/0x2,0x0,!0x1),_0x5e9c2a[_0x2a16f5(0x1a9)](_0x3ba720,_0x3d222b-_0x29394a),_0x5e9c2a['arc'](_0x3ba720-_0x29394a,_0x3d222b-_0x29394a,_0x29394a,0x0,Math['PI']/0x2,!0x1),_0x5e9c2a[_0x2a16f5(0x1a9)](0x0,_0x3d222b),_0x5e9c2a[_0x2a16f5(0x1a9)](0x0,_0x50810f),_0x5e9c2a[_0x2a16f5(0x2e8)](_0x50810f,_0x50810f,_0x50810f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5e9c2a[_0x2a16f5(0x183)](),_0xb810e6[_0x2a16f5(0x336)]&&(_0x5e9c2a['save'](),_0x5e9c2a[_0x2a16f5(0x1b5)]=_0xb810e6['fill'],_0xb810e6[_0x2a16f5(0x1a3)]===_0x2a16f5(0x26d)?_0x5e9c2a[_0x2a16f5(0x336)]('evenodd'):_0x5e9c2a[_0x2a16f5(0x336)](),_0x5e9c2a[_0x2a16f5(0x24b)]());}class he extends _0x5e2e11{constructor(_0x3a5578,_0xc6e9bb){const _0xf12f3=_0xa130d5;super(_0x3a5578,_0xc6e9bb),_(this,'color'),_(this,_0xf12f3(0x356)),(this[_0xf12f3(0x265)]=_0xc6e9bb==null?void 0x0:_0xc6e9bb[_0xf12f3(0x265)],this[_0xf12f3(0x356)]=_0xc6e9bb==null?void 0x0:_0xc6e9bb[_0xf12f3(0x356)]);}static['drawWith'](_0x2101c9,_0x3dcaa5){const _0xe972a3=_0xa130d5,{text:_0x3975ad,color:_0x6629c2}=_0x3dcaa5;_0x2101c9[_0xe972a3(0x26e)](),_0x2101c9[_0xe972a3(0x1f5)]=_0xe972a3(0x279);const _0x10163d=_0x2101c9[_0xe972a3(0x251)](_0x3975ad)[_0xe972a3(0x255)],_0x4ba23b=Math['min'](_0x10163d+0x2*me,Qe);Oi(_0x2101c9,{'height':ee,'radius':0x4,'width':_0x4ba23b,'fill':_0x6629c2}),_0x2101c9[_0xe972a3(0x1b5)]='#FFF';const _0x467f79=me,_0xbf7f02=ee-Ei,_0x1f0249=Qe-0x2*me;if(_0x10163d>_0x1f0249){let _0x5c52fc='',_0x5c35dc=0x0;for(const _0x17e3ea of _0x3975ad){const _0x2f8a98=_0x2101c9[_0xe972a3(0x251)](_0x17e3ea)[_0xe972a3(0x255)];if(_0x5c35dc+_0x2f8a98<=_0x1f0249-_0x2101c9[_0xe972a3(0x251)]('...')[_0xe972a3(0x255)])_0x5c52fc+=_0x17e3ea,_0x5c35dc+=_0x2f8a98;else{_0x5c52fc+=_0xe972a3(0x2ad);break;}}_0x2101c9[_0xe972a3(0x2df)](_0x5c52fc,_0x467f79,_0xbf7f02);}else _0x2101c9[_0xe972a3(0x2df)](_0x3975ad,_0x467f79,_0xbf7f02);_0x2101c9[_0xe972a3(0x24b)]();}[_0xa130d5(0x19d)](_0x4e4464){const _0x58c98c=_0xa130d5;he[_0x58c98c(0x16e)](_0x4e4464,this);}}const ge=_0xa130d5(0x275),bi=_0xa130d5(0x221),Ti=_0xa130d5(0x1f1),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x50e1e6,_0x36df7d,_0x263c73,_0x3d032c){const _0x5775e6=_0xa130d5;_(this,_0x5775e6(0x17f),[]),_(this,_0x5775e6(0x323),null),_(this,_0x5775e6(0x1cd),null),_(this,_0x5775e6(0x32e),null),_(this,'_hideTimer',null),_(this,_0x5775e6(0x269),null),(this[_0x5775e6(0x2ba)]=_0x50e1e6,this['_scene']=_0x36df7d,this['_docSkeleton']=_0x263c73,this[_0x5775e6(0x2e5)]=_0x3d032c,this[_0x5775e6(0x304)]());}set[_0xa130d5(0x33f)](_0xba41c3){const _0x2f947b=_0xa130d5;_0xba41c3?(this['_anchorDot']&&this[_0x2f947b(0x32e)][_0x2f947b(0x235)](),this[_0x2f947b(0x1cd)]&&this['_textBubble'][_0x2f947b(0x1fe)]()):(this[_0x2f947b(0x32e)]&&this[_0x2f947b(0x32e)][_0x2f947b(0x1fe)](),this['_textBubble']&&this['_textBubble'][_0x2f947b(0x235)]());}[_0xa130d5(0x2e0)](){const _0x55692b=_0xa130d5;for(const _0x182788 of this[_0x55692b(0x17f)])_0x182788[_0x55692b(0x2e0)]();this[_0x55692b(0x1cd)]&&this[_0x55692b(0x1cd)][_0x55692b(0x2e0)](),this[_0x55692b(0x32e)]&&this['_anchorDot'][_0x55692b(0x2e0)](),this[_0x55692b(0x323)]&&this[_0x55692b(0x323)]['dispose'](),this[_0x55692b(0x269)]&&this[_0x55692b(0x269)]();}[_0xa130d5(0x304)](){const _0x30f2e4=_0xa130d5;var _0x51ee54;const {_docSkeleton:_0x17531b,_document:_0x547abe}=this,{color:_0x164ad8,name:_0x4f03c2,ranges:_0x28a50f}=this['_cursor'],_0x3aeaf0=_0x547abe[_0x30f2e4(0x1cf)](),{docsLeft:_0x36044b,docsTop:_0x52f798}=_0x3aeaf0,_0xa8e7a2=new _0x224e05(_0x3aeaf0,_0x17531b);for(const {startOffset:_0x343756,endOffset:_0x5206bb,rangeType:_0x53e080,segmentId:_0x314fee,segmentPage:_0x358fb6,collapsed:_0xaeb00a,isActive:_0x8970de}of _0x28a50f){const _0x493499=_0x17531b[_0x30f2e4(0x29e)](_0x343756,!0x0,_0x314fee,_0x358fb6);let _0x32a3e4=_0x17531b['findNodePositionByCharIndex'](_0x5206bb,!0x0,_0x314fee,_0x358fb6);if(_0x32a3e4==null&&(_0x32a3e4=_0x17531b['findNodePositionByCharIndex'](_0x5206bb-0x1,!0x1,_0x314fee,_0x358fb6)),_0x8970de){const {contentBoxPointGroup:_0x31622c}=_0xa8e7a2[_0x30f2e4(0x2a6)](_0x32a3e4,_0x32a3e4);if(_0x31622c['length']===0x0)continue;this[_0x30f2e4(0x22a)](_0x164ad8,_0x31622c,_0x36044b,_0x52f798,_0x4f03c2),this[_0x30f2e4(0x269)]=this[_0x30f2e4(0x1da)]();}if(_0x493499&&_0x32a3e4){if(_0x53e080===_0x371b4b[_0x30f2e4(0x21f)]){const _0x4c7cbd=new _0xd17952(_0x3aeaf0,_0x17531b),{pointGroup:_0x67ff8c}=(_0x51ee54=_0x4c7cbd[_0x30f2e4(0x2a6)](_0x493499,_0x32a3e4))!=null?_0x51ee54:{};if(_0x67ff8c==null||_0x67ff8c[_0x30f2e4(0x248)]===0x0)continue;this[_0x30f2e4(0x284)](_0x164ad8,_0x67ff8c,_0x36044b,_0x52f798);}else{if(!_0xaeb00a){const {borderBoxPointGroup:_0x1ad42d}=_0xa8e7a2[_0x30f2e4(0x2a6)](_0x493499,_0x32a3e4);if(_0x1ad42d[_0x30f2e4(0x248)]===0x0)continue;this[_0x30f2e4(0x2cf)](_0x164ad8,_0x1ad42d,_0x36044b,_0x52f798);}}}}}[_0xa130d5(0x22a)](_0x1a2585,_0x9fdbe6,_0x2a308e,_0x47cb87,_0x21396a){const _0x17947d=_0xa130d5,_0x1e255d=this[_0x17947d(0x334)](_0x9fdbe6),{left:_0x30a28e,top:_0x1fcda8,height:_0x4b48bf}=_0x1e255d,_0x86627e=this[_0x17947d(0x167)](),_0x60858f=Di/_0x86627e,_0x1502b6=new _0x510bbf(ge+_0x5a569e[_0x17947d(0x1a1)](X),{'left':_0x30a28e+_0x2a308e-_0x60858f,'top':_0x1fcda8+_0x47cb87,'height':_0x4b48bf,'width':Ri,'fill':_0x1a2585||_0x61a0b9(_0x211a6b[_0x17947d(0x1e3)],0x0),'strokeWidth':_0x60858f,'stroke':Ni,'evented':!0x0});this[_0x17947d(0x323)]=_0x1502b6,this[_0x17947d(0x297)]['addObject'](_0x1502b6,_0x3df993);const _0x4082d0=new _0x510bbf(ge+_0x5a569e[_0x17947d(0x1a1)](X),{'left':_0x30a28e+_0x2a308e-_0x60858f,'top':_0x1fcda8+_0x47cb87-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x1a2585||_0x61a0b9(_0x211a6b[_0x17947d(0x1e3)],0x0),'strokeWidth':0x0,'stroke':_0x1a2585||_0x61a0b9(_0x211a6b[_0x17947d(0x1e3)],0x0),'evented':!0x1});this[_0x17947d(0x32e)]=_0x4082d0,this[_0x17947d(0x297)][_0x17947d(0x27e)](_0x4082d0,_0x3df993);const _0x276f10=new he(ge+_0x5a569e[_0x17947d(0x1a1)](X),{'left':_0x30a28e+_0x2a308e-_0x60858f,'top':_0x1fcda8+_0x47cb87-ee,'text':_0x21396a,'color':_0x1a2585});this[_0x17947d(0x1cd)]=_0x276f10,this[_0x17947d(0x297)][_0x17947d(0x27e)](_0x276f10,_0x3df993),this['_hover']=!0x1;}['_handleHover'](){const _0x2b944a=_0xa130d5,_0x4e0b45=this[_0x2b944a(0x323)][_0x2b944a(0x1f4)][_0x2b944a(0x310)](()=>{const _0x5ef0dd=_0x2b944a;this[_0x5ef0dd(0x33f)]=!0x0;}),_0x408793=this[_0x2b944a(0x323)][_0x2b944a(0x352)][_0x2b944a(0x310)](()=>{const _0x320544=_0x2b944a;this['_hideTimer']&&clearTimeout(this[_0x320544(0x1b0)]),this[_0x320544(0x1b0)]=setTimeout(()=>{const _0x315194=_0x320544;this[_0x315194(0x33f)]=!0x1;},0x7d0);});return()=>{const _0x6c9f90=_0x2b944a;_0x4e0b45[_0x6c9f90(0x158)](),_0x408793['unsubscribe']();};}[_0xa130d5(0x2cf)](_0x3e9a64,_0x22705d,_0x162041,_0x5d1e67){const _0x9846b7=_0xa130d5,_0x29cf1e=new _0x13d215(_0x3e9a64)['setAlpha'](0.2)[_0x9846b7(0x178)](),_0x3263b8=new _0x3bb447(bi+_0x5a569e[_0x9846b7(0x1a1)](X),{'pointsGroup':_0x22705d,'fill':_0x29cf1e||_0x61a0b9(_0x211a6b['black'],0.2),'left':_0x162041,'top':_0x5d1e67,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x9846b7(0x17f)][_0x9846b7(0x2d5)](_0x3263b8),this['_scene'][_0x9846b7(0x27e)](_0x3263b8,_0x3df993);}[_0xa130d5(0x284)](_0x19b5b9,_0x11d2d9,_0x4aad1c,_0x5d83d2){const _0x4cc0be=_0xa130d5,_0x3c5a67=new _0x13d215(_0x19b5b9)[_0x4cc0be(0x1d5)](0.2)['toRgbString'](),_0x204ad6=new _0x3bb447(Ti+_0x5a569e[_0x4cc0be(0x1a1)](X),{'pointsGroup':_0x11d2d9,'fill':_0x3c5a67||_0x61a0b9(_0x211a6b[_0x4cc0be(0x1e3)],0.2),'left':_0x4aad1c,'top':_0x5d83d2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4cc0be(0x17f)][_0x4cc0be(0x2d5)](_0x204ad6),this[_0x4cc0be(0x297)]['addObject'](_0x204ad6,_0x3df993);}[_0xa130d5(0x334)](_0x12ba97){const _0x33ca7f=_0x12ba97[0x0],_0x480024=_0x33ca7f[0x0],_0xf578a0=_0x33ca7f[0x2],{x:_0x27b6cc,y:_0x1af338}=_0x480024,{x:_0x1942e5,y:_0x562239}=_0xf578a0;return{'left':_0x27b6cc,'top':_0x1af338,'width':_0x1942e5-_0x27b6cc,'height':_0x562239-_0x1af338};}['_getScale'](){const _0x579f56=_0xa130d5,{scaleX:_0x26c7b6,scaleY:_0x5e03e9}=this[_0x579f56(0x297)][_0x579f56(0x177)]();return Math[_0x579f56(0x1ba)](_0x26c7b6,_0x5e03e9);}}var Ui=Object[_0xa130d5(0x316)],Mi=(_0x146634,_0x3e2c28,_0xdd35e8,_0x344535)=>{const _0x41d9f2=_0xa130d5;for(var _0x43e8c0=_0x344535>0x1?void 0x0:_0x344535?Ui(_0x3e2c28,_0xdd35e8):_0x3e2c28,_0x3f8d03=_0x146634[_0x41d9f2(0x248)]-0x1,_0x3a1ae1;_0x3f8d03>=0x0;_0x3f8d03--)(_0x3a1ae1=_0x146634[_0x3f8d03])&&(_0x43e8c0=_0x3a1ae1(_0x43e8c0)||_0x43e8c0);return _0x43e8c0;},Z=(_0x41cb49,_0x18b6b4)=>(_0x3129be,_0x54e81f)=>_0x18b6b4(_0x3129be,_0x54e81f,_0x41cb49);let Pe=class extends _0x36a28e{constructor(_0x20e70a,_0x467898,_0xb7398,_0x509419,_0x1ea740){const _0x2aa630=_0xa130d5;super(),_(this,'_cursorShapes',[]),_(this,_0x2aa630(0x1b7),[]),(this[_0x2aa630(0x2e4)]=_0x20e70a,this[_0x2aa630(0x21a)]=_0x467898,this['_collabCursorController']=_0xb7398,this['_commandService']=_0x509419,this['_themeService']=_0x1ea740,this[_0x2aa630(0x29c)]());}[_0xa130d5(0x29c)](){const _0x174079=_0xa130d5,_0x459846=this[_0x174079(0x2e4)][_0x174079(0x1ab)],_0x2dbfeb=this[_0x174079(0x21a)];this['disposeWithMe'](_0x28304f([this[_0x174079(0x329)][_0x174079(0x2c4)](_0x459846),this[_0x174079(0x246)][_0x174079(0x207)]])[_0x174079(0x2fe)](_0x1de582(([_0x3f710a,_0x5ce18e])=>({'skeleton':_0x2dbfeb['getSkeleton'](),'cursors':[..._0x3f710a[_0x174079(0x252)]()][_0x174079(0x2c7)](_0x301f6b=>({..._0x301f6b,'color':_0x5ce18e[_0x301f6b[_0x174079(0x265)]]}))})))[_0x174079(0x30d)](_0xacf749=>{const _0x3a48ea=_0x174079;if(this[_0x3a48ea(0x25e)](),_0xacf749){const {skeleton:_0x1531a2,cursors:_0x134c7c}=_0xacf749;this[_0x3a48ea(0x21b)](_0x1531a2,_0x134c7c);}})),this[_0x174079(0x306)](),this['_initCommandExecutedListener']();}[_0xa130d5(0x21b)](_0x4fdc1b,_0x3d086f){const _0x35891c=_0xa130d5,{scene:_0x339c01,mainComponent:_0x42390e}=this[_0x35891c(0x2e4)],_0x2d7b91=_0x3d086f[_0x35891c(0x184)](_0x1dc1f3=>new qe(_0x1dc1f3,_0x339c01,_0x4fdc1b,_0x42390e));this[_0x35891c(0x174)]=_0x2d7b91,this[_0x35891c(0x1b7)]=_0x3d086f;}[_0xa130d5(0x27f)](){const _0x168e4f=_0xa130d5;this['_removeCollabCursors']();const {scene:_0x5bd8b8,mainComponent:_0x209954}=this[_0x168e4f(0x2e4)],_0x230f94=this[_0x168e4f(0x21a)][_0x168e4f(0x1de)](),_0xfb17cb=this['_cursors'][_0x168e4f(0x184)](_0x3576d3=>new qe(_0x3576d3,_0x5bd8b8,_0x230f94,_0x209954));this['_cursorShapes']=_0xfb17cb;}[_0xa130d5(0x25e)](){const _0x47fbe3=_0xa130d5;this[_0x47fbe3(0x174)]['forEach'](_0x48181f=>_0x48181f[_0x47fbe3(0x2e0)]()),this[_0x47fbe3(0x174)]=[];}['_initCommandExecutedListener'](){const _0x278778=_0xa130d5,_0x44f11b=[_0x31a54a['id']];this[_0x278778(0x2cd)](this[_0x278778(0x28e)]['onCommandExecuted'](_0x414a99=>{const _0x54824b=_0x278778;_0x44f11b[_0x54824b(0x348)](_0x414a99['id'])&&_0x414a99[_0x54824b(0x181)][_0x54824b(0x1ab)]===this[_0x54824b(0x2e4)][_0x54824b(0x1ab)]&&this[_0x54824b(0x27f)]();}));}[_0xa130d5(0x306)](){const _0x183979=_0xa130d5;this[_0x183979(0x2cd)](_0x316a11(this['_context'][_0x183979(0x1b2)][_0x183979(0x1aa)])[_0x183979(0x2fe)](_0x20b8af(_0x58e9f2=>_0x58e9f2[_0x183979(0x2ae)]===_0x50424a[_0x183979(0x24f)]),_0x2fb5cf(0x10))[_0x183979(0x30d)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x3156fc(_0x48fb3f)),Z(0x2,_0x3156fc(H)),Z(0x3,_0x4101e),Z(0x4,_0x3156fc(_0x1deb39))],Pe);const Pi=0x1,Li=1.5;class wi extends _0x5e2e11{constructor(_0x1be387,_0x376cba){const _0x16c29b=_0xa130d5;super(_0x1be387,_0x376cba),_(this,_0x16c29b(0x260)),_(this,_0x16c29b(0x2e3),!0x1),_(this,_0x16c29b(0x1af)),_(this,_0x16c29b(0x34f),''),_(this,'_labelPosition',_0x16c29b(0x2ab)),_(this,_0x16c29b(0x205)),(_0x376cba&&this[_0x16c29b(0x198)](_0x376cba),this[_0x16c29b(0x1f4)]['subscribeEvent'](()=>this[_0x16c29b(0x198)]({'hovered':!0x0})),this[_0x16c29b(0x352)][_0x16c29b(0x310)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xa130d5(0x198)](_0xdaa015){const _0x474bc4=_0xa130d5;var _0xcde964,_0xae3541,_0x36d463,_0x2efef9,_0x14a380,_0x3bbbfc;this[_0x474bc4(0x260)]=(_0xcde964=_0xdaa015[_0x474bc4(0x265)])!=null?_0xcde964:this[_0x474bc4(0x260)],this['_hovered']=(_0xae3541=_0xdaa015[_0x474bc4(0x325)])!=null?_0xae3541:this[_0x474bc4(0x2e3)],this[_0x474bc4(0x1af)]=(_0x36d463=_0xdaa015[_0x474bc4(0x358)])!=null?_0x36d463:this[_0x474bc4(0x1af)],this['_name']=(_0x2efef9=_0xdaa015[_0x474bc4(0x229)])!=null?_0x2efef9:this[_0x474bc4(0x34f)],this[_0x474bc4(0x2a8)]=(_0x14a380=_0xdaa015[_0x474bc4(0x227)])!=null?_0x14a380:this['_labelPosition'],this[_0x474bc4(0x205)]=(_0x3bbbfc=_0xdaa015['backgroundColor'])!=null?_0x3bbbfc:this[_0x474bc4(0x205)],this[_0x474bc4(0x30a)]({'width':_0xdaa015[_0x474bc4(0x255)],'height':_0xdaa015[_0x474bc4(0x22b)]});}['onMouseMove'](_0xfcde7e){const _0x4481e6=_0xa130d5,{row:_0x4b1cf7,column:_0x23fd16}=_0xfcde7e;if(_0x4b1cf7>=this[_0x4481e6(0x1af)][_0x4481e6(0x237)]&&_0x4b1cf7<=this['_range'][_0x4481e6(0x165)]&&_0x23fd16>=this[_0x4481e6(0x1af)][_0x4481e6(0x28d)]&&_0x23fd16<=this[_0x4481e6(0x1af)]['endColumn']){this[_0x4481e6(0x198)]({'hovered':!0x0});return;}this[_0x4481e6(0x198)]({'hovered':!0x1});}['triggerDblclick'](_0x1fdc52){return!0x1;}[_0xa130d5(0x19d)](_0x37a099){const _0x57c7b7=_0xa130d5;_0x510bbf[_0x57c7b7(0x16e)](_0x37a099,{'width':this[_0x57c7b7(0x255)],'height':this['height'],'strokeWidth':Li,'stroke':this[_0x57c7b7(0x260)],'evented':!0x1,'fill':this[_0x57c7b7(0x205)]}),this[_0x57c7b7(0x2e3)]&&(_0x37a099[_0x57c7b7(0x26e)](),_0x37a099[_0x57c7b7(0x1f0)](0x1,0x0,0x0,0x1,this[_0x57c7b7(0x255)],this['_labelPosition']==='bottom'?0x0:-0x14),he[_0x57c7b7(0x16e)](_0x37a099,{'text':this[_0x57c7b7(0x34f)],'color':this[_0x57c7b7(0x260)]}),_0x37a099[_0x57c7b7(0x24b)]());}}var Ai=Object[_0xa130d5(0x316)],yi=(_0x52892d,_0x13f22c,_0x5ebfb4,_0x33d429)=>{const _0x2556fd=_0xa130d5;for(var _0x2986b7=_0x33d429>0x1?void 0x0:_0x33d429?Ai(_0x13f22c,_0x5ebfb4):_0x13f22c,_0x1586a8=_0x52892d[_0x2556fd(0x248)]-0x1,_0x251230;_0x1586a8>=0x0;_0x1586a8--)(_0x251230=_0x52892d[_0x1586a8])&&(_0x2986b7=_0x251230(_0x2986b7)||_0x2986b7);return _0x2986b7;},ve=(_0x596fbe,_0x537e09)=>(_0x350e00,_0x12da15)=>_0x537e09(_0x350e00,_0x12da15,_0x596fbe);const $i=0x1389;let Le=class extends _0x36a28e{constructor(_0x341e64,_0x3b8c71,_0x204e02,_0x354db1){const _0x3975b4=_0xa130d5;super(),_(this,_0x3975b4(0x1b7),new Set()),_(this,_0x3975b4(0x25a),null),(this[_0x3975b4(0x2e4)]=_0x341e64,this[_0x3975b4(0x1b3)]=_0x3b8c71,this[_0x3975b4(0x329)]=_0x204e02,this['_themeService']=_0x354db1,this['_init']());}[_0xa130d5(0x29c)](){const _0x278de1=_0xa130d5;this[_0x278de1(0x1b3)]['currentSkeleton$']['pipe'](_0xc61dad(this['dispose$']),_0x8e0c4a(_0x4e5752=>{const _0x354215=_0x278de1;if(_0x4e5752){const _0x9fbe39=_0x4e5752['sheetId'];return _0x28304f(this[_0x354215(0x329)]['getCollabCursors$'](this['_context'][_0x354215(0x1ab)]),this['_themeService'][_0x354215(0x207)])['pipe'](_0x1de582(([_0x10f088,_0x1ee55f])=>{const _0x1ff532=_0x354215,_0x3bcdae=new Map();return _0x10f088[_0x1ff532(0x2f4)]((_0x436555,_0x4b3ab5)=>{const _0x9baa3e=_0x1ff532;if(_0x436555[_0x9baa3e(0x289)]===_0x9fbe39){const _0x51e02c={..._0x436555};_0x51e02c[_0x9baa3e(0x265)]=_0x1ee55f[_0x436555[_0x9baa3e(0x265)]],_0x3bcdae['set'](_0x4b3ab5,_0x51e02c);}}),{'skeleton':_0x4e5752,'cursors':_0x3bcdae};}));}return _0x597e7f({'skeleton':null,'cursors':new Map()});}))[_0x278de1(0x30d)](({skeleton:_0x1de5f6,cursors:_0x109180})=>{const _0x4c4e65=_0x278de1;this[_0x4c4e65(0x25e)](),_0x1de5f6&&this['_updateCollabCursors'](_0x1de5f6,_0x109180);}),this[_0x278de1(0x1b3)][_0x278de1(0x342)][_0x278de1(0x30d)](_0x3bb27b=>{const _0x57fee3=_0x278de1;if(_0x3bb27b==null)return;const {skeleton:_0x414aed}=_0x3bb27b,{scene:_0x5c182f}=this[_0x57fee3(0x2e4)];_0x5c182f[_0x57fee3(0x28c)][_0x57fee3(0x310)](_0x5ead44(_0x56fcc9=>{const _0x21175e=_0x57fee3;var _0x225ec0,_0x1fbf07;const {offsetX:_0x1287b8,offsetY:_0x1947c6}=_0x56fcc9,{x:_0x188b5b,y:_0x425169}=_0x5c182f[_0x21175e(0x34d)](_0x3a76c6[_0x21175e(0x2fa)]([_0x1287b8,_0x1947c6])),{scaleX:_0x5473e5,scaleY:_0x151dae}=_0x5c182f[_0x21175e(0x177)](),_0x4318ba=_0x5c182f[_0x21175e(0x2de)](_0x5f2766[_0x21175e(0x346)]),_0xfedeac=_0x5c182f['getVpScrollXYInfoByPosToVp'](_0x3a76c6['FromArray']([_0x188b5b,_0x425169]),_0x4318ba),_0x58ba59=_0x414aed[_0x21175e(0x201)](_0x1287b8,_0x1947c6,_0x5473e5,_0x151dae,_0xfedeac);((_0x225ec0=this[_0x21175e(0x25a)])==null?void 0x0:_0x225ec0['column'])===_0x58ba59[_0x21175e(0x1b4)]&&((_0x1fbf07=this[_0x21175e(0x25a)])==null?void 0x0:_0x1fbf07[_0x21175e(0x32c)])===_0x58ba59[_0x21175e(0x32c)]||this[_0x21175e(0x1b7)][_0x21175e(0x2f4)](_0x1b8db0=>{const _0x43f570=_0x21175e;_0x1b8db0[_0x43f570(0x206)](_0x58ba59);});},0x64));});}[_0xa130d5(0x21b)](_0x3a361f,_0x290c5c){const _0x5a7665=_0xa130d5;var _0x5327c6;const _0x4e38f6=(_0x5327c6=this['_sheetSkeletonManagerService'][_0x5a7665(0x1bd)]())==null?void 0x0:_0x5327c6[_0x5a7665(0x1fd)];if(!_0x4e38f6)return;const _0x475d72=this[_0x5a7665(0x179)]();if(!_0x475d72)return;this[_0x5a7665(0x1b7)][_0x5a7665(0x2f4)](_0x29facb=>{const _0x2e0fe5=_0x5a7665;_0x29facb[_0x2e0fe5(0x290)]();});const {scene:_0x56ee33}=_0x475d72,_0x54fd81=xi(Array['from'](_0x290c5c[_0x5a7665(0x252)]()))[_0x5a7665(0x184)](_0x1089cd=>{const _0x53a10a=_0x5a7665,{color:_0x4b559e,range:_0x38003f,name:_0x20751a,selection:_0x3ab326,sheetID:_0x1d84f2}=_0x1089cd,{startColumn:_0x51fded,startRow:_0x3078b2,endColumn:_0x36f948,endRow:_0x900352}=_0x38003f,_0x360b12=_0x31e289(_0x3078b2,_0x51fded,_0x56ee33,_0x4e38f6),_0x27c664=_0x31e289(_0x900352,_0x36f948,_0x56ee33,_0x4e38f6),{columnHeaderHeightAndMarginTop:_0x5db607}=_0x4e38f6,{startX:_0x37ba0f,startY:_0x1b3bda}=_0x360b12,{endX:_0x318e44,endY:_0x4cb566}=_0x27c664,_0x3bce48=_0x318e44-_0x37ba0f,_0x9ce524=_0x4cb566-_0x1b3bda,_0x4f2c72={'labelPosition':_0x1b3bda-_0x5db607>=ee?_0x53a10a(0x2ab):'bottom','sheetID':_0x1d84f2,'range':_0x38003f,'color':_0x4b559e,'name':_0x20751a,'selection':_0x3ab326,'left':_0x37ba0f,'top':_0x1b3bda,'width':_0x3bce48,'height':_0x9ce524,'evented':!0x1,'zIndex':$i};return new wi(_0x20751a,_0x4f2c72);});_0x56ee33[_0x5a7665(0x268)](_0x54fd81,Pi),this['_cursors']=new Set(_0x54fd81);}[_0xa130d5(0x25e)](){const _0x444b68=_0xa130d5;var _0x1b9d89;(_0x1b9d89=this[_0x444b68(0x1b7)])==null||_0x1b9d89['forEach'](_0x544314=>_0x544314[_0x444b68(0x2e0)]());}['_getSheetObject'](){return _0x1e5fc8(this['_context']['unit'],this['_context']);}};Le=yi([ve(0x1,_0x3156fc(_0x417ccb)),ve(0x2,_0x3156fc(H)),ve(0x3,_0x3156fc(_0x1deb39))],Le);function xi(_0x224b88){const _0xaab4=_0xa130d5,_0xdb4eb=new Map();return _0x224b88[_0xaab4(0x2f4)](_0x3f83f4=>{const _0x53d7c4=_0xaab4;if(_0xdb4eb[_0x53d7c4(0x25b)](_0x3f83f4['selection'])){const _0x53706d=_0xdb4eb[_0x53d7c4(0x2a0)](_0x3f83f4[_0x53d7c4(0x1c3)]);_0x53706d['name']+=',\x20'+_0x3f83f4['name'];}else _0xdb4eb[_0x53d7c4(0x2a4)](_0x3f83f4['selection'],_0x3f83f4);}),Array['from'](_0xdb4eb[_0xaab4(0x252)]());}var v=function(){const _0x51307f=_0xa130d5;return v=Object[_0x51307f(0x2b7)]||function(_0x182c25){const _0x5c1b0b=_0x51307f;for(var _0x4d3b31,_0x8fc807=0x1,_0x3e1cff=arguments[_0x5c1b0b(0x248)];_0x8fc807<_0x3e1cff;_0x8fc807++){_0x4d3b31=arguments[_0x8fc807];for(var _0x3f02c4 in _0x4d3b31)Object[_0x5c1b0b(0x232)][_0x5c1b0b(0x31c)][_0x5c1b0b(0x2b1)](_0x4d3b31,_0x3f02c4)&&(_0x182c25[_0x3f02c4]=_0x4d3b31[_0x3f02c4]);}return _0x182c25;},v[_0x51307f(0x1ce)](this,arguments);},Bi=function(_0x3f66eb,_0x14ae15){const _0x20c004=_0xa130d5;var _0x143a07={};for(var _0x4c41dc in _0x3f66eb)Object[_0x20c004(0x232)][_0x20c004(0x31c)][_0x20c004(0x2b1)](_0x3f66eb,_0x4c41dc)&&_0x14ae15['indexOf'](_0x4c41dc)<0x0&&(_0x143a07[_0x4c41dc]=_0x3f66eb[_0x4c41dc]);if(_0x3f66eb!=null&&typeof Object[_0x20c004(0x339)]==_0x20c004(0x186)){for(var _0x39e7f8=0x0,_0x4c41dc=Object[_0x20c004(0x339)](_0x3f66eb);_0x39e7f8<_0x4c41dc[_0x20c004(0x248)];_0x39e7f8++)_0x14ae15[_0x20c004(0x32b)](_0x4c41dc[_0x39e7f8])<0x0&&Object[_0x20c004(0x232)][_0x20c004(0x307)][_0x20c004(0x2b1)](_0x3f66eb,_0x4c41dc[_0x39e7f8])&&(_0x143a07[_0x4c41dc[_0x39e7f8]]=_0x3f66eb[_0x4c41dc[_0x39e7f8]]);}return _0x143a07;},je=_0x312275(function(_0x271fa6,_0x12cec2){const _0xfb716f=_0xa130d5;var _0x22b3f6=_0x271fa6[_0xfb716f(0x18c)],_0x268724=_0x271fa6['id'],_0x179128=_0x271fa6['className'],_0x52415c=_0x271fa6[_0xfb716f(0x2f0)],_0x36214f=Bi(_0x271fa6,[_0xfb716f(0x18c),'id',_0xfb716f(0x319),_0xfb716f(0x2f0)]),_0x333016=_0xfb716f(0x225)[_0xfb716f(0x1ca)](_0x268724,'\x20')['concat'](_0x179128||'')['trim'](),_0x2bf456=_0x514990('_'[_0xfb716f(0x1ca)](ji()));return Rt(_0x22b3f6,''[_0xfb716f(0x1ca)](_0x268724),{'defIds':_0x22b3f6[_0xfb716f(0x286)],'idSuffix':_0x2bf456['current']},v({'ref':_0x12cec2,'className':_0x333016},_0x36214f),_0x52415c);});function Rt(_0xe3ff5e,_0x28352b,_0x3d8d78,_0x2c469e,_0x3b5621){const _0x1f012c=_0xa130d5;return _0x37e48a(_0xe3ff5e['tag'],v(v({'key':_0x28352b},ki(_0xe3ff5e,_0x3d8d78,_0x3b5621)),_0x2c469e),(Hi(_0xe3ff5e,_0x3d8d78)['children']||[])[_0x1f012c(0x184)](function(_0x49a8d0,_0x40383a){const _0x547d6a=_0x1f012c;return Rt(_0x49a8d0,''[_0x547d6a(0x1ca)](_0x28352b,'-')[_0x547d6a(0x1ca)](_0xe3ff5e['tag'],'-')[_0x547d6a(0x1ca)](_0x40383a),_0x3d8d78,void 0x0,_0x3b5621);}));}function ki(_0x4f364c,_0x2c42e5,_0x5c72f8){const _0x555698=_0xa130d5;var _0xa96c8d=v({},_0x4f364c[_0x555698(0x22e)]);_0x5c72f8!=null&&_0x5c72f8[_0x555698(0x261)]&&_0xa96c8d[_0x555698(0x336)]===_0x555698(0x261)&&(_0xa96c8d[_0x555698(0x336)]=_0x5c72f8['colorChannel1']),_0x4f364c[_0x555698(0x32d)]==='mask'&&_0xa96c8d['id']&&(_0xa96c8d['id']=_0xa96c8d['id']+_0x2c42e5['idSuffix']),Object['entries'](_0xa96c8d)[_0x555698(0x2f4)](function(_0x9863a4){const _0x1bc64e=_0x555698;var _0x4ad245=_0x9863a4[0x0],_0xd9170c=_0x9863a4[0x1];_0x4ad245===_0x1bc64e(0x226)&&typeof _0xd9170c=='string'&&(_0xa96c8d[_0x4ad245]=_0xd9170c['replace'](/url\(#(.*)\)/,_0x1bc64e(0x197)[_0x1bc64e(0x1ca)](_0x2c42e5['idSuffix'],')')));});var _0x2643cf=_0x2c42e5[_0x555698(0x286)];return!_0x2643cf||_0x2643cf['length']===0x0||(_0x4f364c['tag']===_0x555698(0x244)&&_0xa96c8d['xlink:href']&&(_0xa96c8d['xlink:href']=_0xa96c8d[_0x555698(0x27a)]+_0x2c42e5[_0x555698(0x340)]),Object[_0x555698(0x20a)](_0xa96c8d)[_0x555698(0x2f4)](function(_0x31935a){const _0x7f5d8a=_0x555698;var _0x127e95=_0x31935a[0x0],_0x253a3a=_0x31935a[0x1];typeof _0x253a3a==_0x7f5d8a(0x291)&&(_0xa96c8d[_0x127e95]=_0x253a3a[_0x7f5d8a(0x17b)](/url\(#(.*)\)/,_0x7f5d8a(0x197)[_0x7f5d8a(0x1ca)](_0x2c42e5[_0x7f5d8a(0x340)],')')));})),_0xa96c8d;}function Hi(_0x5e069f,_0x1af9cf){const _0x18d5ab=_0xa130d5;var _0x28d625,_0x39b43c=_0x1af9cf[_0x18d5ab(0x286)];return!_0x39b43c||_0x39b43c[_0x18d5ab(0x248)]===0x0?_0x5e069f:_0x5e069f[_0x18d5ab(0x32d)]===_0x18d5ab(0x187)&&(!((_0x28d625=_0x5e069f[_0x18d5ab(0x1c0)])===null||_0x28d625===void 0x0)&&_0x28d625[_0x18d5ab(0x248)])?v(v({},_0x5e069f),{'children':_0x5e069f[_0x18d5ab(0x1c0)][_0x18d5ab(0x184)](function(_0x36fe50){const _0x3afd7f=_0x18d5ab;return typeof _0x36fe50[_0x3afd7f(0x22e)]['id']=='string'&&_0x39b43c&&_0x39b43c[_0x3afd7f(0x32b)](_0x36fe50[_0x3afd7f(0x22e)]['id'])>-0x1?v(v({},_0x36fe50),{'attrs':v(v({},_0x36fe50['attrs']),{'id':_0x36fe50['attrs']['id']+_0x1af9cf['idSuffix']})}):_0x36fe50;})}):_0x5e069f;}function ji(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}je[_0xa130d5(0x17c)]=_0xa130d5(0x240);var Yi={'tag':_0xa130d5(0x1d3),'attrs':{'fill':_0xa130d5(0x1a4),'viewBox':_0xa130d5(0x249),'width':_0xa130d5(0x322),'height':_0xa130d5(0x322)},'children':[{'tag':'g','attrs':{'clipPath':_0xa130d5(0x2dc)},'children':[{'tag':_0xa130d5(0x1bf),'attrs':{'stroke':_0xa130d5(0x2eb),'d':_0xa130d5(0x190),'strokeLinecap':'round','strokeLinejoin':_0xa130d5(0x2ff),'strokeWidth':1.2}}]},{'tag':_0xa130d5(0x187),'attrs':{},'children':[{'tag':_0xa130d5(0x30c),'attrs':{'id':_0xa130d5(0x273)},'children':[{'tag':_0xa130d5(0x1bf),'attrs':{'fill':_0xa130d5(0x23a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0xa130d5(0x273)]},Dt=_0x312275(function(_0x496509,_0x522d36){const _0x2266d8=_0xa130d5;return _0x37e48a(je,Object[_0x2266d8(0x2b7)]({},_0x496509,{'id':_0x2266d8(0x2b2),'ref':_0x522d36,'icon':Yi}));});Dt[_0xa130d5(0x17c)]='OffLineSingle';var Wi={'tag':'svg','attrs':{'fill':_0xa130d5(0x1a4),'viewBox':_0xa130d5(0x180),'width':_0xa130d5(0x322),'height':_0xa130d5(0x322)},'children':[{'tag':'g','attrs':{'clipPath':_0xa130d5(0x216)},'children':[{'tag':_0xa130d5(0x1bf),'attrs':{'stroke':_0xa130d5(0x2eb),'d':_0xa130d5(0x26c),'strokeLinecap':'round','strokeLinejoin':_0xa130d5(0x2ff),'strokeWidth':1.2}}]},{'tag':_0xa130d5(0x187),'attrs':{},'children':[{'tag':_0xa130d5(0x30c),'attrs':{'id':_0xa130d5(0x2cc)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0xa130d5(0x188),'transform':_0xa130d5(0x263)}}]}]}],'defIds':[_0xa130d5(0x2cc)]},Nt=_0x312275(function(_0x51b021,_0x155b99){const _0x45f2c9=_0xa130d5;return _0x37e48a(je,Object['assign']({},_0x51b021,{'id':_0x45f2c9(0x34a),'ref':_0x155b99,'icon':Wi}));});Nt[_0xa130d5(0x17c)]=_0xa130d5(0x25f);function Fi(_0x18d8b5){const _0x386a74=_0xa130d5;switch(_0x18d8b5){case _0x374167[_0x386a74(0x295)]:return'collabStatus.offline';case _0x374167[_0x386a74(0x2d0)]:return'collabStatus.conflict';case _0x374167[_0x386a74(0x2d4)]:return _0x386a74(0x1d6);case _0x374167[_0x386a74(0x274)]:return _0x386a74(0x2c2);case _0x374167[_0x386a74(0x243)]:case _0x374167[_0x386a74(0x285)]:return _0x386a74(0x2aa);case _0x374167[_0x386a74(0x2d2)]:case _0x374167[_0x386a74(0x2f9)]:return _0x386a74(0x1a0);}}function Vi(_0x11dfc0){const _0x18c1bf=_0xa130d5,{status$:_0x172967}=_0x11dfc0,_0x532715=_0x1be456(_0x172967,_0x374167[_0x18c1bf(0x274)]),_0xef3057=_0x20e450(_0x85bbfc),_0x4426b0=_0x20e450(_0x175b54),_0x59874e=_0x532715!==_0x374167[_0x18c1bf(0x295)],_0x43bc8c=_0xef3057['t'](Fi(_0x532715)),_0x1c0611=_0x59874e?_0xab2b25(Nt,{}):_0xab2b25(Dt,{}),_0x25b5fd=_0x57c87a(()=>{_0x59874e||_0x4426b0['reconnect']();},[_0x59874e,_0x4426b0]);function _0x401820(){const _0x55658e=_0x18c1bf;return _0xd0c0f4('div',{'className':_0x55658e(0x1be),'onClick':_0x25b5fd,'children':[_0xab2b25(_0x55658e(0x2db),{'className':_0x25bce5(_0x55658e(0x1bb),_0x59874e?_0x55658e(0x191):_0x55658e(0x1d4)),'children':_0x1c0611}),_0xab2b25(_0x55658e(0x2db),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x43bc8c})]});}return _0x59874e?_0x401820():_0xab2b25(_0x38ac88,{'title':_0xef3057['t'](_0x18c1bf(0x20c)),'children':_0x401820()});}var Xi=Object[_0xa130d5(0x316)],Gi=(_0x37e49e,_0x26b6c2,_0x5e254d,_0x566530)=>{for(var _0x5be028=_0x566530>0x1?void 0x0:_0x566530?Xi(_0x26b6c2,_0x5e254d):_0x26b6c2,_0x1717b9=_0x37e49e['length']-0x1,_0x267754;_0x1717b9>=0x0;_0x1717b9--)(_0x267754=_0x37e49e[_0x1717b9])&&(_0x5be028=_0x267754(_0x5be028)||_0x5be028);return _0x5be028;},Q=(_0x24dff5,_0x5b5e0a)=>(_0x3dbef4,_0x520231)=>_0x5b5e0a(_0x3dbef4,_0x520231,_0x24dff5);let te=class extends _0x3d4fed{constructor(_0x5e3481,_0x2fdd07,_0x5c7809,_0x28ce7d){const _0x4e55d5=_0xa130d5;super(),_(this,_0x4e55d5(0x1fc),new _0x3ad1e2(_0x374167[_0x4e55d5(0x274)])),(this[_0x4e55d5(0x308)]=_0x5e3481,this[_0x4e55d5(0x1db)]=_0x2fdd07,this[_0x4e55d5(0x1ec)]=_0x5c7809,this[_0x4e55d5(0x31a)]=_0x28ce7d,this[_0x4e55d5(0x156)](),this['_initStatusListener']());}[_0xa130d5(0x203)](){const _0x4e4c25=_0xa130d5;this[_0x4e4c25(0x2cd)](this['_univerInstanceService'][_0x4e4c25(0x349)][_0x4e4c25(0x2fe)](_0x5c9176(()=>{const _0xc5fadc=_0x4e4c25,_0xd78e81=this['_univerInstanceService'][_0xc5fadc(0x2b4)]();return _0xd78e81?this[_0xc5fadc(0x1ec)][_0xc5fadc(0x19e)](_0xd78e81['getUnitId']()):_0x597e7f(null);}),_0x5c9176(_0x344750=>_0x344750?_0x344750[_0x4e4c25(0x1c4)]:_0x597e7f(_0x374167['NOT_COLLAB'])))[_0x4e4c25(0x30d)](_0x3ef731=>{const _0x4092da=_0x4e4c25;this[_0x4092da(0x1fc)]['next'](_0x3ef731);}));}['_initStatusComponent'](){const _0xf198eb=_0xa130d5;this[_0xf198eb(0x2cd)](this[_0xf198eb(0x31a)][_0xf198eb(0x34b)](_0x403b17[_0xf198eb(0x196)],()=>_0x52d0f5(Ki({'status$':this[_0xf198eb(0x1fc)][_0xf198eb(0x271)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x58523b),Q(0x1,_0x3156fc(_0x17ea93)),Q(0x2,_0x3156fc(_0x9cca5)),Q(0x3,_0x58d3d1)],te);function Ki(_0x1370ae){const {status$:_0x3a8116}=_0x1370ae;return function(){return _0xab2b25(Vi,{'status$':_0x3a8116});};}var zi=Object[_0xa130d5(0x316)],Ji=(_0x85c2f8,_0x3e65a7,_0x4b1f18,_0x29093e)=>{const _0x2a916b=_0xa130d5;for(var _0x4ca572=_0x29093e>0x1?void 0x0:_0x29093e?zi(_0x3e65a7,_0x4b1f18):_0x3e65a7,_0x12e9a8=_0x85c2f8[_0x2a916b(0x248)]-0x1,_0x31ae77;_0x12e9a8>=0x0;_0x12e9a8--)(_0x31ae77=_0x85c2f8[_0x12e9a8])&&(_0x4ca572=_0x31ae77(_0x4ca572)||_0x4ca572);return _0x4ca572;},B=(_0x494afa,_0x1a38b6)=>(_0x567cca,_0x1ab18d)=>_0x1a38b6(_0x567cca,_0x1ab18d,_0x494afa);let se=class extends _0x3d4fed{constructor(_0x163bdc,_0x2d3ff6,_0x200c36,_0xe1b935,_0x48356b,_0x1a9d1e){const _0x2e42fc=_0xa130d5;super(),this['_beforeCloseService']=_0x163bdc,this[_0x2e42fc(0x1d0)]=_0x2d3ff6,this['_collaborationUIEventService']=_0x200c36,this['_messageService']=_0xe1b935,this[_0x2e42fc(0x208)]=_0x48356b,this[_0x2e42fc(0x223)]=_0x1a9d1e,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0xa130d5(0x24a)](){const _0x436c89=_0xa130d5;this['disposeWithMe'](this[_0x436c89(0x333)][_0x436c89(0x21e)](()=>{const _0x1dedb7=_0x436c89;if(this['_localCacheService']['saveTaskMap'][_0x1dedb7(0x28a)])return this[_0x1dedb7(0x223)]['t'](_0x1dedb7(0x2af));}));}[_0xa130d5(0x22d)](){const _0x570d52=_0xa130d5;this[_0x570d52(0x2cd)](this[_0x570d52(0x283)][_0x570d52(0x213)]['subscribe'](_0xffee13=>{const _0x39122d=_0x570d52;_0xffee13['id']===_0x171070[_0x39122d(0x2a9)]&&this[_0x39122d(0x1e2)][_0x39122d(0x1fe)]({'type':_0x38edad[_0x39122d(0x18a)],'content':this[_0x39122d(0x223)]['t'](_0x39122d(0x354))}),_0xffee13['id']===_0x171070['CLOSE_ROOM']&&this[_0x39122d(0x1e2)]['show']({'type':_0x38edad['Warning'],'content':this['_localeService']['t'](_0x39122d(0x2c8))}),_0xffee13['id']===_0x171070[_0x39122d(0x157)]&&this[_0x39122d(0x208)]['show']({'title':this['_localeService']['t'](_0x39122d(0x1cc)),'content':this[_0x39122d(0x223)]['t'](_0x39122d(0x259)),'type':_0x39122d(0x2f6),'duration':0x0}),_0xffee13['id']===_0x171070['CONFLICT']&&this[_0x39122d(0x1e2)]['show']({'type':_0x38edad[_0x39122d(0x270)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0xffee13[_0x39122d(0x217)]+')'}),_0xffee13['id']===_0x171070[_0x39122d(0x2e1)]&&this[_0x39122d(0x1e2)][_0x39122d(0x1fe)]({'type':_0x38edad['Warning'],'content':this[_0x39122d(0x223)]['t'](_0xffee13[_0x39122d(0x217)]||'')}),_0xffee13['id']===_0x171070['SOCKET_FAILED_RETRY']&&this[_0x39122d(0x1e2)][_0x39122d(0x1fe)]({'type':_0x38edad[_0x39122d(0x18a)],'content':this[_0x39122d(0x223)]['t'](_0x39122d(0x1eb))}),_0xffee13['id']===_0x171070['SOCKET_FAILED']&&this['_messageService'][_0x39122d(0x1fe)]({'type':_0x38edad[_0x39122d(0x270)],'content':this[_0x39122d(0x223)]['t'](_0x39122d(0x2e9))}),_0xffee13['id']===_0x171070['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x39122d(0x1e2)][_0x39122d(0x1fe)]({'type':_0x38edad['Error'],'content':this[_0x39122d(0x223)]['t'](_0x39122d(0x18e))});}));}};se=Ji([B(0x0,_0x3d4de0),B(0x1,_0x557c2f),B(0x2,_0x3156fc(_0x2b5f90)),B(0x3,_0x4924ee),B(0x4,_0x4ded15),B(0x5,_0x3156fc(_0x85bbfc))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x5d199d(_0xa130d5(0x1c5));function _0x2dba(_0x1ef531,_0xd4db19){const _0x1528dd=_0x1528();return _0x2dba=function(_0x2dbaf8,_0x19f3a7){_0x2dbaf8=_0x2dbaf8-0x155;let _0x3bd8f5=_0x1528dd[_0x2dbaf8];return _0x3bd8f5;},_0x2dba(_0x1ef531,_0xd4db19);}var Qi=Object[_0xa130d5(0x316)],qi=(_0x5cf7f3,_0x176fa0,_0x303526,_0x114345)=>{const _0x266348=_0xa130d5;for(var _0x2b97c1=_0x114345>0x1?void 0x0:_0x114345?Qi(_0x176fa0,_0x303526):_0x176fa0,_0x471dbb=_0x5cf7f3[_0x266348(0x248)]-0x1,_0x2145b7;_0x471dbb>=0x0;_0x471dbb--)(_0x2145b7=_0x5cf7f3[_0x471dbb])&&(_0x2b97c1=_0x2145b7(_0x2b97c1)||_0x2b97c1);return _0x2b97c1;},G=(_0x155ab8,_0x1ebe62)=>(_0x33b6d7,_0x57ab7c)=>_0x1ebe62(_0x33b6d7,_0x57ab7c,_0x155ab8);let ie=class extends _0x36a28e{constructor(_0x346d33,_0x17505e,_0x451ef8,_0x45054d,_0x2a22b7){const _0x4ff388=_0xa130d5;super(),this[_0x4ff388(0x1d8)]=_0x346d33,this[_0x4ff388(0x1b8)]=_0x17505e,this[_0x4ff388(0x28e)]=_0x451ef8,this[_0x4ff388(0x335)]=_0x45054d,_0x2a22b7?_0x2a22b7==null||_0x2a22b7['whenReady']()[_0x4ff388(0x2a7)](()=>this['_init']()):(this[_0x4ff388(0x1b8)]['debug'](_0x4ff388(0x2d6),_0x4ff388(0x234)),this[_0x4ff388(0x29c)]());}async[_0xa130d5(0x29c)](){const _0x54dc46=_0xa130d5,_0x49ca5f=this[_0x54dc46(0x1d8)][_0x54dc46(0x1c6)](_0x54dc46(0x276)),_0x881cc7=this['_urlService']['getParam'](_0x54dc46(0x2ae)),_0x2cda18=this[_0x54dc46(0x1d8)]['getParam'](_0x54dc46(0x30e));if(!_0x49ca5f||!_0x881cc7){this[_0x54dc46(0x1b8)]['debug']('[CollaborationDataLoaderController]',_0x54dc46(0x264));return;}const _0x58eae7=await this['_dataLoaderService'][_0x54dc46(0x296)](_0x49ca5f,Number(_0x881cc7),_0x2cda18);_0x58eae7&&_0x58eae7 instanceof _0x5da0c0&&this[_0x54dc46(0x224)](_0x58eae7);}async[_0xa130d5(0x224)](_0x1d13d9){const _0x192e94=_0xa130d5;await this[_0x192e94(0x312)](_0x1d13d9),_0x1d13d9[_0x192e94(0x22c)][_0x192e94(0x2fe)](_0x301a84(this[_0x192e94(0x278)]))[_0x192e94(0x30d)](_0x10b5ff=>{_0x10b5ff&&this['_updateURLWithCurrentState'](_0x10b5ff);}),this[_0x192e94(0x1d8)][_0x192e94(0x2ce)][_0x192e94(0x2fe)](_0x301a84(this['dispose$']))[_0x192e94(0x30d)](()=>this[_0x192e94(0x312)](_0x1d13d9));}[_0xa130d5(0x1dd)](_0x3fc556,_0x19f3af=!0x1){const _0x49aaab=_0xa130d5,_0x3f065b=this['_urlService']['getParam']('subunit');_0x3fc556['getSheetId']()!==_0x3f065b&&this[_0x49aaab(0x1d8)][_0x49aaab(0x26f)]('subunit',_0x3fc556[_0x49aaab(0x2d7)](),_0x19f3af);}async[_0xa130d5(0x312)](_0x31667b){const _0x31e791=_0xa130d5;var _0x39b052;const _0xdd96be=this['_urlService'][_0x31e791(0x1c6)](_0x31e791(0x30e));if(!_0xdd96be||!_0x31667b[_0x31e791(0x27b)](_0xdd96be)){const _0x9f77c1=_0x31667b[_0x31e791(0x338)]()[0x0],_0x84b924=_0x31667b['getSheetBySheetId'](_0x9f77c1);if(!_0x84b924)return;this[_0x31e791(0x1dd)](_0x84b924,!0x0),await this[_0x31e791(0x28e)][_0x31e791(0x162)](_0x4ddf0e['id'],{'unitId':_0x31667b['getUnitId'](),'subUnitId':_0x9f77c1});return;}((_0x39b052=_0x31667b[_0x31e791(0x170)]())==null?void 0x0:_0x39b052[_0x31e791(0x2d7)]())!==_0xdd96be&&await this[_0x31e791(0x28e)]['executeCommand'](_0x4ddf0e['id'],{'unitId':_0x31667b[_0x31e791(0x272)](),'subUnitId':_0xdd96be});}};ie=qi([G(0x0,Ut),G(0x1,_0x4a2e13),G(0x2,_0x4101e),G(0x3,_0x3156fc(_0x3242d1)),G(0x4,_0x20723a(_0x3d2ecf))],ie);var en=Object[_0xa130d5(0x316)],tn=(_0x3b8ed8,_0x30ba5e,_0x3ac935,_0x2d266b)=>{const _0x266fe2=_0xa130d5;for(var _0x358535=_0x2d266b>0x1?void 0x0:_0x2d266b?en(_0x30ba5e,_0x3ac935):_0x30ba5e,_0x4ac4c1=_0x3b8ed8[_0x266fe2(0x248)]-0x1,_0x3ec1fd;_0x4ac4c1>=0x0;_0x4ac4c1--)(_0x3ec1fd=_0x3b8ed8[_0x4ac4c1])&&(_0x358535=_0x3ec1fd(_0x358535)||_0x358535);return _0x358535;},pe=(_0x3193a1,_0x463595)=>(_0x40b71d,_0x227d0e)=>_0x463595(_0x40b71d,_0x227d0e,_0x3193a1);let ne=class{constructor(_0x59fb9c,_0x4d567f,_0x3a30c6){const _0x5d8fbd=_0xa130d5;this['_injector']=_0x59fb9c,this[_0x5d8fbd(0x1e8)]=_0x4d567f,this[_0x5d8fbd(0x2bf)]=_0x3a30c6;}[_0xa130d5(0x2ec)](_0x5bb0e3){const _0x36ab47=_0xa130d5;this[_0x36ab47(0x24e)](_0x5bb0e3),this[_0x36ab47(0x2bb)](_0x5bb0e3);}[_0xa130d5(0x15b)](_0xbfdb1f){const _0x1072e0=_0xa130d5,{unitID:_0x250a52}=_0xbfdb1f,_0x2b3ee3=this[_0x1072e0(0x2bf)][_0x1072e0(0x345)](_0x250a52)['with'](_0x8f9223),{redoCache:_0x4627f3}=_0x2b3ee3[_0x1072e0(0x32f)]();if(_0x4627f3[_0x1072e0(0x248)]===0x0)return _0xbfdb1f;let _0x4a11a4=_0x5a569e['deepClone'](_0xbfdb1f[_0x1072e0(0x1a5)][0x0]);for(let _0x1da42f=0x0;_0x1da42f<_0x4627f3[_0x1072e0(0x248)];_0x1da42f++){const _0x35a2f9={'id':_0x1072e0(0x29a),'params':{..._0x4627f3[_0x1da42f]}},_0x2bf02c=this[_0x1072e0(0x1e8)][_0x1072e0(0x19c)](_0x4a11a4,_0x35a2f9,!0x1);if(_0x5a3df0(_0x2bf02c))throw _0x2bf02c[_0x1072e0(0x2f6)];_0x4a11a4=_0x2bf02c[_0x1072e0(0x19a)];}return{..._0x5a569e[_0x1072e0(0x2c0)](_0xbfdb1f),'mutations':[_0x4a11a4]};}[_0xa130d5(0x24e)](_0x18acf9){const _0x541229=_0xa130d5,{unitID:_0x2649e0}=_0x18acf9,_0x18b67f=this['_renderManagerService'][_0x541229(0x345)](_0x2649e0)[_0x541229(0x21d)](_0x8f9223),{undoCache:_0x421fb3,redoCache:_0x224cf6}=_0x18b67f[_0x541229(0x32f)]();if(_0x421fb3[_0x541229(0x248)]===0x0||_0x224cf6['length']===0x0)return;const _0x2d0319=[],_0x5de0b3=[];let _0x1f3e6c=_0x5a569e[_0x541229(0x2c0)](_0x18acf9[_0x541229(0x1a5)][0x0]),_0x24617d=_0x5a569e[_0x541229(0x2c0)](_0x18acf9['mutations'][0x0]);for(let _0x1d8479=_0x421fb3[_0x541229(0x248)]-0x1;_0x1d8479>=0x0;_0x1d8479--){const _0x1dbe2a={'id':_0x541229(0x29a),'params':{..._0x421fb3[_0x1d8479]}},_0x467c90={'id':_0x541229(0x29a),'params':{..._0x224cf6[_0x1d8479]}},_0x251d8a=this[_0x541229(0x1e8)][_0x541229(0x19c)](_0x1f3e6c,_0x1dbe2a,!0x1),_0x1549f4=this[_0x541229(0x1e8)][_0x541229(0x19c)](_0x24617d,_0x467c90,!0x1);if(_0x5a3df0(_0x251d8a))throw _0x251d8a['error'];if(_0x5a3df0(_0x1549f4))throw _0x1549f4[_0x541229(0x2f6)];_0x2d0319[_0x541229(0x18b)](_0x251d8a[_0x541229(0x262)][_0x541229(0x181)]),_0x5de0b3['unshift'](_0x1549f4[_0x541229(0x262)][_0x541229(0x181)]),_0x1f3e6c=_0x251d8a[_0x541229(0x19a)],_0x24617d=_0x1549f4[_0x541229(0x19a)];}_0x18b67f[_0x541229(0x1ae)]({'undoCache':_0x2d0319,'redoCache':_0x5de0b3});}[_0xa130d5(0x2bb)](_0xd669e1){const _0x410ac6=_0xa130d5,{unitID:_0x52f99b}=_0xd669e1,_0x19e8b3=this['_renderManagerService'][_0x410ac6(0x345)](_0x52f99b)[_0x410ac6(0x21d)](_0x8f9223),_0x192393=_0x19e8b3[_0x410ac6(0x218)]();if(_0x192393==null)return;const _0x155cb0=[{'id':_0x410ac6(0x29a),'params':{'unitId':_0xd669e1['unitID'],'actions':null,'textRanges':[_0x192393]}}],_0x46bf9c=this[_0x410ac6(0x1e8)]['transformMutationsWithChangeset'](_0xd669e1,_0x155cb0);if(!_0x13ae77(_0x46bf9c))throw _0x46bf9c[_0x410ac6(0x2f6)];const _0x3d548f=_0x46bf9c['m2Prime'][0x0][_0x410ac6(0x181)][_0x410ac6(0x292)];Array[_0x410ac6(0x2ea)](_0x3d548f)&&_0x3d548f['length']&&_0x19e8b3[_0x410ac6(0x26b)](_0x3d548f[0x0]);}};ne=tn([pe(0x0,_0x3156fc(_0x17ea93)),pe(0x1,_0x259e98),pe(0x2,_0x59a0c0)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0xfe51aa,_0x153310,_0xc1e687,_0x4ecbf9)=>{const _0x3273fd=_0xa130d5;for(var _0x3442e6=_0x4ecbf9>0x1?void 0x0:_0x4ecbf9?sn(_0x153310,_0xc1e687):_0x153310,_0x1575ef=_0xfe51aa[_0x3273fd(0x248)]-0x1,_0x12d6f7;_0x1575ef>=0x0;_0x1575ef--)(_0x12d6f7=_0xfe51aa[_0x1575ef])&&(_0x3442e6=_0x12d6f7(_0x3442e6)||_0x3442e6);return _0x3442e6;},Ce=(_0x472f51,_0x553e0d)=>(_0x564beb,_0x4dce63)=>_0x553e0d(_0x564beb,_0x4dce63,_0x472f51);let re=class{constructor(_0x49f227,_0x48dfd2,_0x2462dc){const _0x3a0b6a=_0xa130d5;this[_0x3a0b6a(0x1db)]=_0x49f227,this['_transformService']=_0x48dfd2,this[_0x3a0b6a(0x1d2)]=_0x2462dc;}[_0xa130d5(0x1e0)](_0x264813){this['_transformHistoryAndStateStack'](_0x264813);}['transformRemoteChangeset'](_0x40d5af){const _0x49e814=_0xa130d5,{unitID:_0xf1a071}=_0x40d5af,{collaboration:_0x496961}=this[_0x49e814(0x1d2)]['getStateCache'](_0xf1a071);if(_0x496961['length']===0x0)return _0x40d5af;let _0x76e089=_0x5a569e[_0x49e814(0x2c0)](_0x40d5af[_0x49e814(0x1a5)][0x0]);for(let _0x2f1311=0x0;_0x2f1311<_0x496961[_0x49e814(0x248)];_0x2f1311++){const _0x17df38={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x496961[_0x2f1311][_0x49e814(0x1ab)],..._0x496961[_0x2f1311]['redoState']}},_0xca74d1=this['_transformService'][_0x49e814(0x19c)](_0x76e089,_0x17df38,!0x1);if(_0x5a3df0(_0xca74d1))throw _0xca74d1[_0x49e814(0x2f6)];_0x76e089=_0xca74d1['m1Prime'];}return{..._0x5a569e[_0x49e814(0x2c0)](_0x40d5af),'mutations':[_0x76e089]};}[_0xa130d5(0x299)](_0x50a845){const _0x495560=_0xa130d5,{unitID:_0x5eb098}=_0x50a845,{history:_0xf1b975,collaboration:_0x310284}=this[_0x495560(0x1d2)]['getStateCache'](_0x5eb098);if(_0xf1b975['length']===0x0&&_0x310284[_0x495560(0x248)]===0x0)return;const _0x408e85=[],_0x4333c9=[];let _0x30e57b=_0x5a569e[_0x495560(0x2c0)](_0x50a845[_0x495560(0x1a5)][0x0]),_0x44eaf2=_0x5a569e[_0x495560(0x2c0)](_0x50a845['mutations'][0x0]);for(let _0x4c1367=_0xf1b975['length']-0x1;_0x4c1367>=0x0;_0x4c1367--){const _0x1df704={'id':_0x495560(0x29a),'params':{'unitId':_0xf1b975[_0x4c1367][_0x495560(0x1ab)],..._0xf1b975[_0x4c1367][_0x495560(0x1bc)]}},_0x1f9f65={'id':_0x495560(0x29a),'params':{'unitId':_0xf1b975[_0x4c1367][_0x495560(0x1ab)],..._0xf1b975[_0x4c1367]['redoState']}},_0x2f2e2e=this[_0x495560(0x1e8)]['transformMutation'](_0x30e57b,_0x1df704,!0x1),_0x3a228d=this[_0x495560(0x1e8)]['transformMutation'](_0x44eaf2,_0x1f9f65,!0x1);if(_0x5a3df0(_0x2f2e2e))throw _0x2f2e2e[_0x495560(0x2f6)];if(_0x5a3df0(_0x3a228d))throw _0x3a228d['error'];_0x408e85[_0x495560(0x18b)]({..._0xf1b975[_0x4c1367],'undoState':_0x2f2e2e[_0x495560(0x262)][_0x495560(0x181)],'redoState':_0x3a228d['m2Prime']['params']}),_0x30e57b=_0x2f2e2e[_0x495560(0x19a)],_0x44eaf2=_0x3a228d[_0x495560(0x19a)];}_0x30e57b=_0x5a569e[_0x495560(0x2c0)](_0x50a845[_0x495560(0x1a5)][0x0]),_0x44eaf2=_0x5a569e[_0x495560(0x2c0)](_0x50a845['mutations'][0x0]);for(let _0x39ade3=_0x310284[_0x495560(0x248)]-0x1;_0x39ade3>=0x0;_0x39ade3--){const _0x2eb70e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x310284[_0x39ade3]['unitId'],..._0x310284[_0x39ade3][_0x495560(0x1bc)]}},_0x36c881={'id':_0x495560(0x29a),'params':{'unitId':_0x310284[_0x39ade3][_0x495560(0x1ab)],..._0x310284[_0x39ade3][_0x495560(0x2a3)]}},_0x3a65d4=this['_transformService'][_0x495560(0x19c)](_0x30e57b,_0x2eb70e,!0x1),_0x9097a0=this[_0x495560(0x1e8)][_0x495560(0x19c)](_0x44eaf2,_0x36c881,!0x1);if(_0x5a3df0(_0x3a65d4))throw _0x3a65d4['error'];if(_0x5a3df0(_0x9097a0))throw _0x9097a0[_0x495560(0x2f6)];_0x4333c9[_0x495560(0x18b)]({..._0x310284[_0x39ade3],'undoState':_0x3a65d4[_0x495560(0x262)][_0x495560(0x181)],'redoState':_0x9097a0[_0x495560(0x262)]['params']}),_0x30e57b=_0x3a65d4[_0x495560(0x19a)],_0x44eaf2=_0x9097a0['m1Prime'];}this[_0x495560(0x1d2)]['setStateCache'](_0x5eb098,{'history':_0x408e85,'collaboration':_0x4333c9});}};re=nn([Ce(0x0,_0x3156fc(_0x17ea93)),Ce(0x1,_0x259e98),Ce(0x2,_0x3156fc(_0x510a31))],re);var rn=Object[_0xa130d5(0x316)],on=(_0x1d9ed0,_0x5c4a38,_0x314de3,_0x4a3e1f)=>{const _0x5a1c2a=_0xa130d5;for(var _0x16cc71=_0x4a3e1f>0x1?void 0x0:_0x4a3e1f?rn(_0x5c4a38,_0x314de3):_0x5c4a38,_0x1d656d=_0x1d9ed0[_0x5a1c2a(0x248)]-0x1,_0x549baf;_0x1d656d>=0x0;_0x1d656d--)(_0x549baf=_0x1d9ed0[_0x1d656d])&&(_0x16cc71=_0x549baf(_0x16cc71)||_0x16cc71);return _0x16cc71;},tt=(_0x58467a,_0x22999f)=>(_0x13bf53,_0x3c2c25)=>_0x22999f(_0x13bf53,_0x3c2c25,_0x58467a);let oe=class{constructor(_0x2fbadf,_0x35b2f0){const _0x3ff188=_0xa130d5;this[_0x3ff188(0x1db)]=_0x2fbadf,this[_0x3ff188(0x1e8)]=_0x35b2f0;}[_0xa130d5(0x1d1)](_0x35cf04){const _0x439723=_0xa130d5;var _0x3646d1;const _0x3f5a96=this['_injector'][_0x439723(0x2a0)](_0x42eacb),_0x40ac9c=(_0x3646d1=_0x3f5a96[_0x439723(0x2ef)]())!=null?_0x3646d1:[];if(_0x40ac9c['length']===0x0)return;const _0x1b5cd4=_0x35cf04[_0x439723(0x326)],_0x2ff49d=[{'id':_0x439723(0x29a),'params':{'unitId':_0x1b5cd4,'actions':null,'textRanges':_0x40ac9c}}],_0x1c15dd=this[_0x439723(0x1e8)][_0x439723(0x1c8)](_0x35cf04,_0x2ff49d);if(!_0x13ae77(_0x1c15dd))throw _0x1c15dd['error'];const _0x25a879=_0x1c15dd[_0x439723(0x262)][0x0][_0x439723(0x181)][_0x439723(0x292)];Array['isArray'](_0x25a879)&&_0x25a879[_0x439723(0x248)]&&_0x3f5a96[_0x439723(0x1b9)](_0x25a879,{'unitId':_0x1b5cd4,'subUnitId':_0x1b5cd4},!0x1);}};oe=on([tt(0x0,_0x3156fc(_0x17ea93)),tt(0x1,_0x259e98)],oe);var an=Object[_0xa130d5(0x316)],cn=(_0x3dadb5,_0x50088a,_0x502dbd,_0x532221)=>{for(var _0x37e6af=_0x532221>0x1?void 0x0:_0x532221?an(_0x50088a,_0x502dbd):_0x50088a,_0x1a2b8b=_0x3dadb5['length']-0x1,_0x23e970;_0x1a2b8b>=0x0;_0x1a2b8b--)(_0x23e970=_0x3dadb5[_0x1a2b8b])&&(_0x37e6af=_0x23e970(_0x37e6af)||_0x37e6af);return _0x37e6af;},U=(_0x548843,_0x53feb0)=>(_0xde28cf,_0xba0567)=>_0x53feb0(_0xde28cf,_0xba0567,_0x548843);let ae=class extends _0x3d4fed{constructor(_0xf4df9b,_0x2a654d,_0x5999a4,_0x3bf09f,_0x30d3e1,_0x2f9bfa,_0x41ea83,_0x2f3c93){const _0x3f9dd9=_0xa130d5;super(),_(this,'_status$',new _0x3ad1e2(_0x374167['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0xf4df9b,this['_collaborationController']=_0x2a654d,this[_0x3f9dd9(0x2f5)]=_0x5999a4,this[_0x3f9dd9(0x1c9)]=_0x3bf09f,this[_0x3f9dd9(0x328)]=_0x30d3e1,this[_0x3f9dd9(0x2cb)]=_0x2f9bfa,this[_0x3f9dd9(0x1e2)]=_0x41ea83,this[_0x3f9dd9(0x223)]=_0x2f3c93,this[_0x3f9dd9(0x182)]());}[_0xa130d5(0x182)](){const _0xa6d172=_0xa130d5;this[_0xa6d172(0x2cd)](this[_0xa6d172(0x1ec)]['entityInit$']['subscribe'](_0x255e67=>{const _0x109165=_0xa6d172,_0xd82542=this[_0x109165(0x1d2)][_0x109165(0x1c1)][_0x109165(0x30d)](_0x4267a1=>{const _0x547998=_0x109165;if(_0x4267a1==null)return;const {unitId:_0x223e7f,redoState:_0x7d371d,commandId:_0x2e2313}=_0x4267a1;if(_0x223e7f!==_0x255e67[_0x547998(0x326)])return;const _0x43382f={'id':_0x2e2313,'type':_0x21189a[_0x547998(0x1e1)],'params':{'unitId':_0x223e7f,'actions':_0x7d371d['actions'],'textRanges':null}};_0x255e67[_0x547998(0x341)](_0x43382f);});if(_0x255e67[_0x109165(0x2cd)](_0xd82542),_0x255e67 instanceof _0x260b14){const _0x493527={'onTransformIME':_0x3b6985=>this[_0x109165(0x2f5)][_0x109165(0x2ec)](_0x3b6985),'onTransformState':_0x270b59=>this[_0x109165(0x1c9)][_0x109165(0x1e0)](_0x270b59),'onTransformSelections':_0xf1eec4=>this[_0x109165(0x328)]['transformSelections'](_0xf1eec4),'onSyncEditingCollabCursor':_0x44f837=>this[_0x109165(0x2cb)][_0x109165(0x314)](_0x44f837),'onTransformRemoteChangesetByIMECache':_0x52d8c9=>this[_0x109165(0x2f5)][_0x109165(0x15b)](_0x52d8c9),'onTransformRemoteChangesetByStateCache':_0x49e39e=>this['_docTransformStateCacheService'][_0x109165(0x15b)](_0x49e39e)};_0x255e67['addHandlerCallback'](_0x493527);}}));}};ae=cn([U(0x0,_0x3156fc(_0x510a31)),U(0x1,_0x3156fc(_0x9cca5)),U(0x2,_0x3156fc(ne)),U(0x3,_0x3156fc(re)),U(0x4,_0x3156fc(oe)),U(0x5,_0x3156fc(He)),U(0x6,_0x4924ee),U(0x7,_0x3156fc(_0x85bbfc))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x359ae2,_0x50b631,_0x26b8ac,_0x2e63d7)=>{const _0x206d86=_0xa130d5;for(var _0x3f75d8=_0x2e63d7>0x1?void 0x0:_0x2e63d7?ln(_0x50b631,_0x26b8ac):_0x50b631,_0x36b410=_0x359ae2[_0x206d86(0x248)]-0x1,_0x1f9918;_0x36b410>=0x0;_0x36b410--)(_0x1f9918=_0x359ae2[_0x36b410])&&(_0x3f75d8=_0x1f9918(_0x3f75d8)||_0x3f75d8);return _0x3f75d8;},Ee=(_0x362990,_0x1aa625)=>(_0x5d0d95,_0x495fab)=>_0x1aa625(_0x5d0d95,_0x495fab,_0x362990);let we=class extends _0x3d4fed{constructor(_0x404fc1,_0x11e818,_0x528784){const _0x41cef5=_0xa130d5;super(),_(this,_0x41cef5(0x242),new Map()),_(this,'_saveTaskMap',new Map()),_(this,_0x41cef5(0x245),!0x1),(this[_0x41cef5(0x301)]=_0x404fc1,this['_localStorageService']=_0x11e818,this[_0x41cef5(0x305)]=_0x528784);}[_0xa130d5(0x315)](){const _0x130eb6=_0xa130d5;this[_0x130eb6(0x245)]=!0x0;}['enableLocalCache'](){const _0x240bf0=_0xa130d5;this[_0x240bf0(0x245)]=!0x1;}get[_0xa130d5(0x1ac)](){return this['_saveTaskMap'];}[_0xa130d5(0x2e0)](){const _0x2f66c0=_0xa130d5;this['exhaustSavingTask']()[_0x2f66c0(0x2a7)](()=>super[_0x2f66c0(0x2e0)]());}async[_0xa130d5(0x160)](_0x5008d9){const _0x1a1193=_0xa130d5;return this[_0x1a1193(0x245)]?null:this[_0x1a1193(0x17d)][_0x1a1193(0x202)](_0x35d4ab(_0x5008d9));}async[_0xa130d5(0x1ee)](_0x1cab5f,_0x712fa1){const _0x34cfa3=_0xa130d5;return!!this[_0x34cfa3(0x17d)][_0x34cfa3(0x222)](_0x1cab5f,_0x712fa1);}['updateOfflineData'](_0x58ea35,_0x2bf217,_0x157b41,_0x36ddd6){const _0x4cdf54=_0xa130d5,_0x588632=this['_revisionService'][_0x4cdf54(0x1c7)](_0x58ea35);this[_0x4cdf54(0x242)][_0x4cdf54(0x2a4)](_0x58ea35,{'unitID':_0x58ea35,'type':_0x2bf217,'awaitingChangeset':_0x157b41,'mutations':_0x36ddd6,'rev':_0x588632}),this[_0x4cdf54(0x2b8)][_0x4cdf54(0x25b)](_0x58ea35)||this[_0x4cdf54(0x253)](_0x58ea35);}[_0xa130d5(0x253)](_0x5569ff){const _0x14be89=_0xa130d5,_0x365eef=this[_0x14be89(0x267)]();_0x365eef===0x0?this[_0x14be89(0x173)](_0x5569ff):this[_0x14be89(0x2b8)][_0x14be89(0x2a4)](_0x5569ff,setTimeout(()=>this[_0x14be89(0x173)](_0x5569ff),_0x365eef));}[_0xa130d5(0x267)](){const _0x3c69ad=_0xa130d5;var _0x1c9bfa;return(_0x1c9bfa=this[_0x3c69ad(0x301)][_0x3c69ad(0x24c)](_0xb8e288))!=null?_0x1c9bfa:_0x5b2c8e;}[_0xa130d5(0x173)](_0x11249a){const _0x20a77c=_0xa130d5,_0xb3416c=this['_saveTaskMap'][_0x20a77c(0x2a0)](_0x11249a);return _0xb3416c!==void 0x0&&window[_0x20a77c(0x23d)](_0xb3416c),this[_0x20a77c(0x17d)][_0x20a77c(0x222)](_0x35d4ab(_0x11249a),this[_0x20a77c(0x242)][_0x20a77c(0x2a0)](_0x11249a))[_0x20a77c(0x2a7)](()=>this[_0x20a77c(0x2b8)]['delete'](_0x11249a));}async[_0xa130d5(0x23e)](){const _0x973206=_0xa130d5,_0x3b91e9=[];this[_0x973206(0x2b8)]['forEach']((_0x47e0e9,_0x461231)=>{const _0x7f6959=_0x973206;window[_0x7f6959(0x23d)](_0x47e0e9),_0x3b91e9[_0x7f6959(0x2d5)](this[_0x7f6959(0x173)](_0x461231)[_0x7f6959(0x2a7)](()=>{const _0x4f6769=_0x7f6959;this[_0x4f6769(0x2b8)]['delete'](_0x461231);}));}),await Promise['all'](_0x3b91e9);}};we=_n([Ee(0x0,_0x14d608),Ee(0x1,_0x2e7be6),Ee(0x2,_0x3156fc(_0x3cc2cf))],we);class hn extends _0x36a28e{constructor(){const _0x5f3194=_0xa130d5;super(),_(this,'urlChange$'),this[_0x5f3194(0x2ce)]=_0x3364ea(window,_0x5f3194(0x2d9))[_0x5f3194(0x2fe)](_0x301a84(this['dispose$']),_0x354f4d(0x1),_0x3a5d21(void 0x0));}[_0xa130d5(0x26f)](_0x590eb9,_0x1f911d,_0x11edec=!0x1){const _0x2266de=_0xa130d5,_0x371e47=new URL(window[_0x2266de(0x31b)][_0x2266de(0x1e9)]);_0x371e47[_0x2266de(0x22f)][_0x2266de(0x2a4)](_0x590eb9,_0x1f911d),_0x11edec?window[_0x2266de(0x357)]['replaceState']('','',_0x371e47[_0x2266de(0x254)]()):window[_0x2266de(0x357)][_0x2266de(0x28b)]('','',_0x371e47['toString']());}[_0xa130d5(0x1fa)](_0x3c69ae,_0x146932=!0x1){const _0x3f469f=_0xa130d5,_0xa97b24=new URL(window[_0x3f469f(0x31b)][_0x3f469f(0x1e9)]);_0xa97b24['searchParams'][_0x3f469f(0x1b6)](_0x3c69ae),_0x146932?window['history'][_0x3f469f(0x1e4)]('','',_0xa97b24[_0x3f469f(0x254)]()):window[_0x3f469f(0x357)][_0x3f469f(0x28b)]('','',_0xa97b24[_0x3f469f(0x254)]());}[_0xa130d5(0x1c6)](_0x315971){const _0x354893=_0xa130d5;var _0x23752c;return(_0x23752c=new URL(window[_0x354893(0x31b)][_0x354893(0x1e9)])[_0x354893(0x22f)]['get'](_0x315971))!=null?_0x23752c:void 0x0;}}var un=Object[_0xa130d5(0x2a1)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x3e4eb9,_0xe272d5,_0x2cd164)=>_0xe272d5 in _0x3e4eb9?un(_0x3e4eb9,_0xe272d5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2cd164}):_0x3e4eb9[_0xe272d5]=_0x2cd164,Sn=(_0x1d590a,_0x5357ec,_0x52c389,_0x451cab)=>{const _0x44621c=_0xa130d5;for(var _0x10e476=_0x451cab>0x1?void 0x0:_0x451cab?dn(_0x5357ec,_0x52c389):_0x5357ec,_0x35a055=_0x1d590a[_0x44621c(0x248)]-0x1,_0x5609bb;_0x35a055>=0x0;_0x35a055--)(_0x5609bb=_0x1d590a[_0x35a055])&&(_0x10e476=_0x5609bb(_0x10e476)||_0x10e476);return _0x10e476;},Oe=(_0x50a7a0,_0x26e624)=>(_0x2bc4a5,_0x3423f0)=>_0x26e624(_0x2bc4a5,_0x3423f0,_0x50a7a0),mn=(_0xcb10d,_0x36ed02,_0x16641d)=>fn(_0xcb10d,_0x36ed02+'',_0x16641d);const gn=_0xa130d5(0x2c9);let Ae=class extends _0x383368{constructor(_0xc0e877=et,_0x1ca346,_0x15adb1,_0x266a39){const _0x3287a9=_0xa130d5;super(),this[_0x3287a9(0x29d)]=_0xc0e877,this['_renderManagerService']=_0x1ca346,this[_0x3287a9(0x1db)]=_0x15adb1,this[_0x3287a9(0x301)]=_0x266a39;const {..._0x1a2981}=_0x1c437f({},et,this[_0x3287a9(0x29d)]);this[_0x3287a9(0x301)]['setConfig'](Zi,_0x1a2981);}[_0xa130d5(0x311)](){const _0x301afe=_0xa130d5;this['_registerDependencies'](),this[_0x301afe(0x204)]();}[_0xa130d5(0x161)](){const _0x2e53fa=_0xa130d5;this[_0x2e53fa(0x1f3)]();}[_0xa130d5(0x355)](){const _0x2bc896=_0xa130d5;var _0x541a10;const _0x4212bb=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x17d144,{'useClass':_0x2480ec}],[_0x557c2f,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x410969(this['_injector'],_0x457cc3(_0x4212bb,(_0x541a10=this[_0x2bc896(0x29d)])==null?void 0x0:_0x541a10[_0x2bc896(0x1ad)]));}[_0xa130d5(0x1f3)](){const _0x314346=_0xa130d5;this['disposeWithMe'](this[_0x314346(0x2bf)]['registerRenderModule'](_0x4041fb[_0x314346(0x2f3)],[Pe])),this[_0x314346(0x2cd)](this['_renderManagerService'][_0x314346(0x282)](_0x4041fb[_0x314346(0x215)],[Le]));}[_0xa130d5(0x204)](){const _0x4d9bf1=_0xa130d5;_0x48e9dc(this[_0x4d9bf1(0x1db)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x4fbfc2(_0x40e628),Oe(0x1,_0x59a0c0),Oe(0x2,_0x3156fc(_0x17ea93)),Oe(0x3,_0x14d608)],Ae);var In=Object[_0xa130d5(0x316)],vn=(_0x240a41,_0x5c62cd,_0x436986,_0x336e68)=>{for(var _0x5e6dc2=_0x336e68>0x1?void 0x0:_0x336e68?In(_0x5c62cd,_0x436986):_0x5c62cd,_0x42ab8f=_0x240a41['length']-0x1,_0x2561de;_0x42ab8f>=0x0;_0x42ab8f--)(_0x2561de=_0x240a41[_0x42ab8f])&&(_0x5e6dc2=_0x2561de(_0x5e6dc2)||_0x5e6dc2);return _0x5e6dc2;},K=(_0x2ee0a6,_0x3e07b8)=>(_0x591959,_0x30c418)=>_0x3e07b8(_0x591959,_0x30c418,_0x2ee0a6);let st=class extends _0x34383f{constructor(_0x38c7ef,_0xa617f6,_0x3682e3,_0x302570,_0x57f4c1){super(_0x38c7ef,_0xa617f6,_0x3682e3,_0x302570,_0x57f4c1);}async[_0xa130d5(0x2b3)](_0x2fa8ed){const _0x4f3814=_0xa130d5,_0x14bbab=await this[_0x4f3814(0x33b)](),_0x101894=this['_createSocketURL'](_0x2fa8ed,_0x14bbab);return this['_doCreateSocket'](_0x101894);}['_createSocketURL'](_0x2c91e9,_0x4e266a){const _0xfd5962=_0xa130d5,_0x4ce329=typeof window>'u'?new URL(_0x2c91e9):new URL(_0x2c91e9,window[_0xfd5962(0x31b)][_0xfd5962(0x257)]);_0x4ce329['searchParams'][_0xfd5962(0x2a4)]('sessionTicket',_0x4e266a);const _0x3da5eb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xfd5962(0x31b)][_0xfd5962(0x324)]);return _0x3da5eb[_0xfd5962(0x2a0)](_0xfd5962(0x1f6))&&_0x4ce329[_0xfd5962(0x22f)][_0xfd5962(0x2a4)](_0xfd5962(0x1f6),_0x3da5eb['get'](_0xfd5962(0x1f6))),_0x4ce329[_0xfd5962(0x254)]();}async[_0xa130d5(0x33b)](){const _0x45e776=_0xa130d5;var _0x16bcf5,_0xb61a23,_0x31ea9f;const _0x155a8a=this[_0x45e776(0x301)][_0x45e776(0x24c)](_0x463ab4),_0x2a33c1=(_0x16bcf5=_0x155a8a==null?void 0x0:_0x155a8a[_0x45e776(0x2d1)])!=null?_0x16bcf5:_0x100681;return(_0x31ea9f=(_0xb61a23=(await this[_0x45e776(0x332)][_0x45e776(0x2a0)](_0x2a33c1,{'headers':{'Content-Type':_0x45e776(0x16a)}}))[_0x45e776(0x1f9)])==null?void 0x0:_0xb61a23[_0x45e776(0x359)])!=null?_0x31ea9f:'';}};st=vn([K(0x0,_0x3156fc(_0x17ea93)),K(0x1,_0x3156fc(_0x4a6a9)),K(0x2,_0x14d608),K(0x3,_0x4a2e13),K(0x4,_0x20f2fb)],st);const it=0x7530,nt=_0xa130d5(0x30f);class jn extends _0x3d4fed{constructor(){const _0x488884=_0xa130d5;super(),_(this,_0x488884(0x250),_0x1595af()),_(this,_0x488884(0x26a),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x488884(0x303),null),_(this,_0x488884(0x159),new Map()),_(this,_0x488884(0x256),new Map()),this['_init']();}['dispose'](){const _0x2c7f8a=_0xa130d5;super[_0x2c7f8a(0x2e0)](),this[_0x2c7f8a(0x159)][_0x2c7f8a(0x2f4)]((_0x3e1b77,_0x1a3047)=>this[_0x2c7f8a(0x23c)](_0x1a3047)),this[_0x2c7f8a(0x303)]&&window[_0x2c7f8a(0x2b5)](this[_0x2c7f8a(0x303)]);}['getUnitStatus$'](_0x28a931){const _0x4ead1e=_0xa130d5;return this[_0x4ead1e(0x34c)](_0x28a931)[_0x4ead1e(0x2fe)](_0x47ccc5());}[_0xa130d5(0x318)](_0x2b948a){const _0x2f1bf9=_0xa130d5;this['_selfUnitIDs'][_0x2f1bf9(0x28a)]===0x0&&this[_0x2f1bf9(0x238)](),this[_0x2f1bf9(0x26a)][_0x2f1bf9(0x2e2)](_0x2b948a),this[_0x2f1bf9(0x189)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x2b948a],'isForwarded':!0x1});}['disposeUnit'](_0x3e1eff){const _0x2c9b32=_0xa130d5;this[_0x2c9b32(0x26a)][_0x2c9b32(0x1b6)](_0x3e1eff),this['_selfUnitIDs'][_0x2c9b32(0x28a)]===0x0&&this[_0x2c9b32(0x303)]&&window[_0x2c9b32(0x2b5)](this['_heartbeatTimer']);}[_0xa130d5(0x29c)](){const _0x501560=_0xa130d5;this['disposeWithMe'](_0x382550(_0x3364ea(window,'storage')[_0x501560(0x30d)](_0x494944=>{const _0x4a7ac8=_0x501560;if(_0x494944[_0x4a7ac8(0x2b0)]!==nt||!_0x494944[_0x4a7ac8(0x21c)])return;const _0x3fcabf=JSON[_0x4a7ac8(0x2b9)](_0x494944['newValue']);this[_0x4a7ac8(0x163)](_0x3fcabf);}))),window[_0x501560(0x2d8)]('unload',()=>this[_0x501560(0x189)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x501560(0x2e6)](this[_0x501560(0x26a)])}));}[_0xa130d5(0x163)](_0x2b93cd){const _0x3f7554=_0xa130d5;switch(_0x2b93cd[_0x3f7554(0x2ae)]){case 0x0:this[_0x3f7554(0x2be)](_0x2b93cd);break;case 0x1:this[_0x3f7554(0x20d)](_0x2b93cd);break;case 0x2:this[_0x3f7554(0x30b)](_0x2b93cd);break;}}[_0xa130d5(0x2be)](_0x1fd6ee){const _0x4b2811=_0xa130d5,{unitIDs:_0x31ca40,memberID:_0x2c8b3d,isForwarded:_0x2adc83}=_0x1fd6ee;_0x31ca40[_0x4b2811(0x2f4)](_0x33fb9b=>{const _0x12eafc=_0x4b2811;if(!_0x2adc83&&this[_0x12eafc(0x168)][_0x12eafc(0x25b)](_0x33fb9b)&&this['_ensureSubject'](_0x33fb9b)[_0x12eafc(0x20f)](_0x3486c5[_0x12eafc(0x236)]),!this[_0x12eafc(0x168)][_0x12eafc(0x25b)](_0x33fb9b)||!this['_unitOnClients'][_0x12eafc(0x2a0)](_0x33fb9b)[_0x12eafc(0x25b)](_0x2c8b3d)){const _0x60b25e=this[_0x12eafc(0x168)][_0x12eafc(0x2a0)](_0x33fb9b)||new Set();_0x60b25e[_0x12eafc(0x2e2)](_0x2c8b3d),this['_unitOnClients'][_0x12eafc(0x2a4)](_0x33fb9b,_0x60b25e),this[_0x12eafc(0x166)](_0x2c8b3d);}}),_0x2adc83||this[_0x4b2811(0x189)]({'type':0x0,'memberID':this[_0x4b2811(0x250)],'unitIDs':[...this[_0x4b2811(0x26a)]],'isForwarded':!0x0});}[_0xa130d5(0x166)](_0x56cd05){const _0x82ac5c=_0xa130d5;this[_0x82ac5c(0x23c)](_0x56cd05);const _0x51d0cd=window[_0x82ac5c(0x288)](()=>{const _0xfd8a3d=_0x82ac5c;this[_0xfd8a3d(0x168)]['forEach'](_0x3c818d=>{_0x3c818d['delete'](_0x56cd05);});},it*0x2);this['_clearOtherTimers'][_0x82ac5c(0x2a4)](_0x56cd05,_0x51d0cd);}[_0xa130d5(0x23c)](_0x12ef4f){const _0x258328=_0xa130d5;if(this[_0x258328(0x159)][_0x258328(0x25b)](_0x12ef4f)){const _0x52b810=this[_0x258328(0x159)][_0x258328(0x2a0)](_0x12ef4f);_0x52b810&&window['clearTimeout'](_0x52b810),this['_clearOtherTimers'][_0x258328(0x2a4)](_0x12ef4f,null);}}['_handleLeaveEvent'](_0x44017c){const _0x581c5d=_0xa130d5,{memberID:_0x334a67,unitIDs:_0x6cad06}=_0x44017c;_0x6cad06['forEach'](_0x5ecd19=>{const _0x2d7e37=_0x2dba;var _0x3feab7;const _0x1a7a88=this[_0x2d7e37(0x168)][_0x2d7e37(0x2a0)](_0x5ecd19);_0x1a7a88&&(_0x1a7a88[_0x2d7e37(0x1b6)](_0x334a67),(_0x3feab7=this[_0x2d7e37(0x34c)](_0x5ecd19))==null||_0x3feab7['next'](_0x1a7a88[_0x2d7e37(0x28a)]===0x0?_0x3486c5['NO_OTHER_CLIENTS_EDITING']:_0x3486c5[_0x2d7e37(0x236)]));}),this[_0x581c5d(0x23c)](_0x334a67);}[_0xa130d5(0x30b)](_0x553111){const _0x3e80bb=_0xa130d5;this[_0x3e80bb(0x166)](_0x553111['memberID']);}[_0xa130d5(0x189)](_0x42b195){const _0x183552=_0xa130d5;localStorage[_0x183552(0x222)](nt,JSON[_0x183552(0x239)](_0x42b195));}['_scheduleHeartbeat'](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x15a106=_0x2dba;this[_0x15a106(0x189)]({'type':0x2,'memberID':this[_0x15a106(0x250)]});},it);}[_0xa130d5(0x34c)](_0x283c02){const _0x556b46=_0xa130d5;return this[_0x556b46(0x256)][_0x556b46(0x25b)](_0x283c02)||this[_0x556b46(0x256)][_0x556b46(0x2a4)](_0x283c02,new _0x3ad1e2(_0x3486c5['NO_OTHER_CLIENTS_EDITING'])),this[_0x556b46(0x256)]['get'](_0x283c02);}}var Mt=(_0x5c88fb=>(_0x5c88fb[_0x5c88fb[_0xa130d5(0x298)]=0x0]='UNDEFINED',_0x5c88fb[_0x5c88fb['OK']=0x1]='OK',_0x5c88fb[_0x5c88fb[_0xa130d5(0x219)]=0x2]=_0xa130d5(0x219),_0x5c88fb[_0x5c88fb[_0xa130d5(0x157)]=0x3]=_0xa130d5(0x157),_0x5c88fb[_0x5c88fb[_0xa130d5(0x337)]=0x4]=_0xa130d5(0x337),_0x5c88fb[_0x5c88fb[_0xa130d5(0x266)]=0x5]=_0xa130d5(0x266),_0x5c88fb[_0x5c88fb[_0xa130d5(0x155)]=0x6]=_0xa130d5(0x155),_0x5c88fb[_0x5c88fb['INVALID_ARGUMENT']=0x7]=_0xa130d5(0x280),_0x5c88fb[_0x5c88fb['TOO_MANY_REQUESTS']=0x8]=_0xa130d5(0x31f),_0x5c88fb[_0x5c88fb['COMPLETION_FINISHED']=0x9]=_0xa130d5(0x1e6),_0x5c88fb[_0x5c88fb['LOGIN_FAILED']=0xa]=_0xa130d5(0x1e7),_0x5c88fb[_0x5c88fb[_0xa130d5(0x1f7)]=0x1389]=_0xa130d5(0x1f7),_0x5c88fb[_0x5c88fb[_0xa130d5(0x1e5)]=0x1771]=_0xa130d5(0x1e5),_0x5c88fb[_0x5c88fb[_0xa130d5(0x2fc)]=0x1772]=_0xa130d5(0x2fc),_0x5c88fb[_0x5c88fb[_0xa130d5(0x313)]=0x1773]=_0xa130d5(0x313),_0x5c88fb[_0x5c88fb[_0xa130d5(0x175)]=0x1b59]='APPLY_REJECT',_0x5c88fb[_0x5c88fb[_0xa130d5(0x16f)]=0x1b5a]=_0xa130d5(0x16f),_0x5c88fb[_0x5c88fb[_0xa130d5(0x277)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5c88fb[_0x5c88fb[_0xa130d5(0x231)]=0x1b5c]=_0xa130d5(0x231),_0x5c88fb[_0x5c88fb['APPLY_DUPLICATED']=0x1b5d]=_0xa130d5(0x2c5),_0x5c88fb[_0x5c88fb[_0xa130d5(0x353)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5c88fb[_0x5c88fb[_0xa130d5(0x2d3)]=0x2329]=_0xa130d5(0x2d3),_0x5c88fb[_0x5c88fb[_0xa130d5(0x19b)]=0x232a]=_0xa130d5(0x19b),_0x5c88fb[_0x5c88fb[_0xa130d5(0x33c)]=0x232b]=_0xa130d5(0x33c),_0x5c88fb[_0x5c88fb[_0xa130d5(0x15c)]=0x232c]=_0xa130d5(0x15c),_0x5c88fb[_0x5c88fb[_0xa130d5(0x1dc)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5c88fb[_0x5c88fb[_0xa130d5(0x2ed)]=0x2711]=_0xa130d5(0x2ed),_0x5c88fb[_0x5c88fb[_0xa130d5(0x33e)]=0x2712]=_0xa130d5(0x33e),_0x5c88fb[_0x5c88fb[_0xa130d5(0x2ac)]=0x2713]=_0xa130d5(0x2ac),_0x5c88fb[_0x5c88fb[_0xa130d5(0x192)]=0x2714]=_0xa130d5(0x192),_0x5c88fb[_0x5c88fb[_0xa130d5(0x18f)]=0x271a]=_0xa130d5(0x18f),_0x5c88fb[_0x5c88fb[_0xa130d5(0x302)]=0x271b]=_0xa130d5(0x302),_0x5c88fb[_0x5c88fb[_0xa130d5(0x344)]=0x271c]=_0xa130d5(0x344),_0x5c88fb[_0x5c88fb['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xa130d5(0x1ff),_0x5c88fb[_0x5c88fb['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5c88fb[_0x5c88fb[_0xa130d5(0x2bd)]=0x271f]=_0xa130d5(0x2bd),_0x5c88fb[_0x5c88fb[_0xa130d5(0x287)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5c88fb[_0x5c88fb[_0xa130d5(0x2da)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5c88fb[_0x5c88fb[_0xa130d5(0x347)]=0x2ee2]=_0xa130d5(0x347),_0x5c88fb[_0x5c88fb[_0xa130d5(0x230)]=0x2ee3]=_0xa130d5(0x230),_0x5c88fb[_0x5c88fb['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x5c88fb[_0x5c88fb[_0xa130d5(0x281)]=0x2ee5]=_0xa130d5(0x281),_0x5c88fb[_0x5c88fb[_0xa130d5(0x2a5)]=0x32c9]=_0xa130d5(0x2a5),_0x5c88fb[_0x5c88fb[_0xa130d5(0x350)]=0x32ca]=_0xa130d5(0x350),_0x5c88fb[_0x5c88fb[_0xa130d5(0x241)]=0x32cb]=_0xa130d5(0x241),_0x5c88fb[_0x5c88fb[_0xa130d5(0x1a7)]=-0x1]=_0xa130d5(0x1a7),_0x5c88fb))(Mt||{}),pn=Object[_0xa130d5(0x316)],Cn=(_0xf2d6e9,_0x1627f3,_0x3dded4,_0x2bd9bc)=>{const _0xfc6375=_0xa130d5;for(var _0x28c7de=_0x2bd9bc>0x1?void 0x0:_0x2bd9bc?pn(_0x1627f3,_0x3dded4):_0x1627f3,_0x29fb1b=_0xf2d6e9[_0xfc6375(0x248)]-0x1,_0x3f5511;_0x29fb1b>=0x0;_0x29fb1b--)(_0x3f5511=_0xf2d6e9[_0x29fb1b])&&(_0x28c7de=_0x3f5511(_0x28c7de)||_0x28c7de);return _0x28c7de;},be=(_0x35e003,_0x5e0cc6)=>(_0x306ccd,_0x468908)=>_0x5e0cc6(_0x306ccd,_0x468908,_0x35e003);let rt=class extends _0x3d4fed{constructor(_0x554141,_0x476b4b,_0xaa24d6){const _0x424a49=_0xa130d5;super(),this[_0x424a49(0x24d)]=_0x554141,this[_0x424a49(0x332)]=_0x476b4b,this[_0x424a49(0x301)]=_0xaa24d6;}async[_0xa130d5(0x294)](_0x607c37,_0x37818a,_0x10612b,..._0x6a12d7){const _0x2cc3d6=_0xa130d5;var _0x31c3d8,_0x155859,_0x56ab08,_0x2b1be8;const _0xd3858c=this[_0x2cc3d6(0x24d)]['getFocusedUnit']();if(!_0xd3858c)throw new Error(_0x2cc3d6(0x200));const _0x45142f=((_0x31c3d8=this[_0x2cc3d6(0x301)][_0x2cc3d6(0x24c)](_0x2f1247))!=null?_0x31c3d8:_0x446748)+'/'+_0x607c37+'/run/'+_0x37818a,_0x4d2865=new URL(window[_0x2cc3d6(0x31b)][_0x2cc3d6(0x1e9)]),_0x52b0ac={'scriptId':_0x607c37,'runId':(_0x155859=_0x4d2865[_0x2cc3d6(0x22f)]['get']('runId'))!=null?_0x155859:'','function':_0x37818a,'unitId':_0xd3858c[_0x2cc3d6(0x272)](),'argsOfFunction':JSON['stringify'](_0x6a12d7),'invokeId':(_0x56ab08=_0x10612b[_0x2cc3d6(0x1ea)])!=null?_0x56ab08:'','executionId':(_0x2b1be8=_0x10612b[_0x2cc3d6(0x31d)])!=null?_0x2b1be8:''};try{const _0x32c3cf=await this[_0x2cc3d6(0x332)][_0x2cc3d6(0x2f1)](_0x45142f,{'body':_0x52b0ac});return _0x32c3cf[_0x2cc3d6(0x1f9)][_0x2cc3d6(0x2f6)]&&_0x32c3cf[_0x2cc3d6(0x1f9)]['error'][_0x2cc3d6(0x317)]!==Mt['OK']?'Failed':_0x32c3cf['body'][_0x2cc3d6(0x351)];}catch{return'Failed';}}};rt=Cn([be(0x0,_0x58523b),be(0x1,_0x3156fc(_0x4a6a9)),be(0x2,_0x14d608)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x2d0ffe=_0xa58f;function _0x32b2(){const _0x576865=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','4020008sxHCXd','Local\x20file','7XWLZQE','165805DKgSbU','Collaboration\x20Conflict','57410dXTbfu','3041685LMLJua','Authentication\x20Error','3091QuehGV','Synced','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Edit\x20conflicts','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','9yQOUqz','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','102424AXCZsg','Syncing\x20server\x20data...','Click\x20to\x20Reconnect','20833140EHPUOM','144QGvWuD','4zrAJgh','346772HufVnp','Syncing...','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'];_0x32b2=function(){return _0x576865;};return _0x32b2();}(function(_0x591899,_0x24905d){const _0x3f9a2b=_0xa58f,_0x594f53=_0x591899();while(!![]){try{const _0x55578f=-parseInt(_0x3f9a2b(0x100))/0x1*(parseInt(_0x3f9a2b(0xec))/0x2)+-parseInt(_0x3f9a2b(0xfe))/0x3*(-parseInt(_0x3f9a2b(0xed))/0x4)+parseInt(_0x3f9a2b(0xf4))/0x5*(parseInt(_0x3f9a2b(0xeb))/0x6)+-parseInt(_0x3f9a2b(0xf3))/0x7*(parseInt(_0x3f9a2b(0xf1))/0x8)+parseInt(_0x3f9a2b(0xf7))/0x9+parseInt(_0x3f9a2b(0xf6))/0xa*(-parseInt(_0x3f9a2b(0xf9))/0xb)+parseInt(_0x3f9a2b(0x103))/0xc;if(_0x55578f===_0x24905d)break;else _0x594f53['push'](_0x594f53['shift']());}catch(_0x427896){_0x594f53['push'](_0x594f53['shift']());}}}(_0x32b2,0xc59d9));function _0xa58f(_0x554697,_0x17be90){const _0x32b2c7=_0x32b2();return _0xa58f=function(_0xa58f3a,_0x264146){_0xa58f3a=_0xa58f3a-0xeb;let _0x2b4226=_0x32b2c7[_0xa58f3a];return _0x2b4226;},_0xa58f(_0x554697,_0x17be90);}const e={'collab-client':{'tooltip':{'reconnect':_0x2d0ffe(0x102)}},'collabStatus':{'fetchMiss':_0x2d0ffe(0x101),'conflict':_0x2d0ffe(0xfc),'notCollab':_0x2d0ffe(0xf2),'synced':_0x2d0ffe(0xfa),'syncing':_0x2d0ffe(0xee),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0x2d0ffe(0xfb),'collaboration-timeout':_0x2d0ffe(0xef)},'conflict':{'title':_0x2d0ffe(0xf5),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x2d0ffe(0xf8),'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':_0x2d0ffe(0xff)},'closeRoom':_0x2d0ffe(0xf0)},'auth':{'needGotoLoginAlert':_0x2d0ffe(0xfd)}};export{e as default};
1
+ const _0x4d69e6=_0x1097;function _0x2ecc(){const _0x4ccedd=['1254612kHkeZd','Syncing...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Local\x20file','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Authentication\x20Error','Collaboration\x20Conflict','Synced','2368404FgesEv','Edit\x20conflicts','97100rCJzyB','25215ugIYnl','9LHhEPT','5765288kcKAAX','7666050XifjYc','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','7buGsCj','2099712GStisH','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','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.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','92AhtEmA'];_0x2ecc=function(){return _0x4ccedd;};return _0x2ecc();}(function(_0x142a3c,_0x4d8a17){const _0x151743=_0x1097,_0x946ad3=_0x142a3c();while(!![]){try{const _0x5f8890=-parseInt(_0x151743(0x166))/0x1+parseInt(_0x151743(0x159))/0x2+-parseInt(_0x151743(0x16d))/0x3+parseInt(_0x151743(0x158))/0x4*(parseInt(_0x151743(0x167))/0x5)+parseInt(_0x151743(0x164))/0x6+-parseInt(_0x151743(0x16c))/0x7*(parseInt(_0x151743(0x169))/0x8)+-parseInt(_0x151743(0x168))/0x9*(-parseInt(_0x151743(0x16a))/0xa);if(_0x5f8890===_0x4d8a17)break;else _0x946ad3['push'](_0x946ad3['shift']());}catch(_0xddfd4c){_0x946ad3['push'](_0x946ad3['shift']());}}}(_0x2ecc,0x5e799));function _0x1097(_0x2643fd,_0x269e52){const _0x2ecc4e=_0x2ecc();return _0x1097=function(_0x109799,_0x56514e){_0x109799=_0x109799-0x156;let _0xc242c6=_0x2ecc4e[_0x109799];return _0xc242c6;},_0x1097(_0x2643fd,_0x269e52);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x4d69e6(0x15c),'conflict':_0x4d69e6(0x165),'notCollab':_0x4d69e6(0x15f),'synced':_0x4d69e6(0x163),'syncing':_0x4d69e6(0x15a),'offline':_0x4d69e6(0x16e)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x4d69e6(0x15b),'room-full':_0x4d69e6(0x157),'collaboration-timeout':_0x4d69e6(0x156)},'conflict':{'title':_0x4d69e6(0x162),'content':_0x4d69e6(0x16f)},'permission':{'title':_0x4d69e6(0x161),'content':_0x4d69e6(0x15e)},'collaboration':{'single-unit':{'warning':_0x4d69e6(0x15d)},'closeRoom':_0x4d69e6(0x16b)},'auth':{'needGotoLoginAlert':_0x4d69e6(0x160)}};export{e as default};
@@ -1 +1 @@
1
- const _0x3d9fe7=_0x3527;function _0x3527(_0x82088b,_0x528f78){const _0x2d5c1f=_0x2d5c();return _0x3527=function(_0x352721,_0x307ced){_0x352721=_0x352721-0x10f;let _0x346a26=_0x2d5c1f[_0x352721];return _0x346a26;},_0x3527(_0x82088b,_0x528f78);}(function(_0x7ae659,_0x180ed9){const _0x2f0f87=_0x3527,_0x2bcb59=_0x7ae659();while(!![]){try{const _0x1aa7f3=parseInt(_0x2f0f87(0x111))/0x1+-parseInt(_0x2f0f87(0x11a))/0x2+parseInt(_0x2f0f87(0x117))/0x3*(parseInt(_0x2f0f87(0x11e))/0x4)+-parseInt(_0x2f0f87(0x118))/0x5+parseInt(_0x2f0f87(0x116))/0x6+parseInt(_0x2f0f87(0x11c))/0x7*(parseInt(_0x2f0f87(0x121))/0x8)+-parseInt(_0x2f0f87(0x119))/0x9;if(_0x1aa7f3===_0x180ed9)break;else _0x2bcb59['push'](_0x2bcb59['shift']());}catch(_0x494156){_0x2bcb59['push'](_0x2bcb59['shift']());}}}(_0x2d5c,0x8c3e0));const o={'collab-client':{'tooltip':{'reconnect':_0x3d9fe7(0x112)}},'collabStatus':{'fetchMiss':_0x3d9fe7(0x10f),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x3d9fe7(0x11f),'syncing':_0x3d9fe7(0x11b),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x3d9fe7(0x113),'room-full':_0x3d9fe7(0x120),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x3d9fe7(0x114),'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':_0x3d9fe7(0x11d),'content':_0x3d9fe7(0x115)},'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':_0x3d9fe7(0x110)},'auth':{'needGotoLoginAlert':_0x3d9fe7(0x122)}};function _0x2d5c(){const _0x45c2c7=['برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20همکاری','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','137388hnuOIR','178599wznpSF','817395KWYILj','4395996DgvvvR','415566DeXJlq','در\x20حال\x20همگام\x20سازی...','1659sdXFns','خطای\x20اعتبارسنجی','28CQINMh','همگام\x20سازی','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','32008AwTKYg','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','46272KgYjJb'];_0x2d5c=function(){return _0x45c2c7;};return _0x2d5c();}export{o as default};
1
+ const _0x27a0d1=_0x1131;function _0x1131(_0x580ae2,_0x34f8d3){const _0x4c0144=_0x4c01();return _0x1131=function(_0x1131ea,_0x3d0356){_0x1131ea=_0x1131ea-0x65;let _0x274e7a=_0x4c0144[_0x1131ea];return _0x274e7a;},_0x1131(_0x580ae2,_0x34f8d3);}(function(_0x247052,_0x312410){const _0x2d8cfb=_0x1131,_0xf23fab=_0x247052();while(!![]){try{const _0x11a5c0=-parseInt(_0x2d8cfb(0x67))/0x1+-parseInt(_0x2d8cfb(0x68))/0x2*(parseInt(_0x2d8cfb(0x73))/0x3)+-parseInt(_0x2d8cfb(0x65))/0x4+parseInt(_0x2d8cfb(0x66))/0x5*(-parseInt(_0x2d8cfb(0x6a))/0x6)+parseInt(_0x2d8cfb(0x6c))/0x7*(-parseInt(_0x2d8cfb(0x6b))/0x8)+-parseInt(_0x2d8cfb(0x79))/0x9+parseInt(_0x2d8cfb(0x75))/0xa;if(_0x11a5c0===_0x312410)break;else _0xf23fab['push'](_0xf23fab['shift']());}catch(_0x4230ae){_0xf23fab['push'](_0xf23fab['shift']());}}}(_0x4c01,0x4f8fd));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x27a0d1(0x69),'notCollab':'پرونده\x20محلی','synced':_0x27a0d1(0x6f),'syncing':_0x27a0d1(0x71),'offline':_0x27a0d1(0x72)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x27a0d1(0x77),'room-full':_0x27a0d1(0x6d),'collaboration-timeout':_0x27a0d1(0x7a)},'conflict':{'title':_0x27a0d1(0x78),'content':_0x27a0d1(0x70)},'permission':{'title':_0x27a0d1(0x6e),'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رفت.'},'collaboration':{'single-unit':{'warning':_0x27a0d1(0x76)},'closeRoom':_0x27a0d1(0x74)},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};function _0x4c01(){const _0x37965f=['در\x20حال\x20همگام\x20سازی...','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','26178ywVxXp','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','15504910bbPgza','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20همکاری','2982573JaFXhR','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','64548ZUxcXA','6860JrmHeh','14315Sqnthn','26KhZwmS','تداخل\x20ویرایش','732vlrCvn','4655480HzaTKU','7vettbz','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','خطای\x20اعتبارسنجی','همگام\x20سازی','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'];_0x4c01=function(){return _0x37965f;};return _0x4c01();}