@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504191606 → 0.6.10-nightly.202504201606

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0xecf6b6=_0x3768;(function(_0x435d41,_0x4cd47a){const _0x1e3f09=_0x3768,_0x5efda0=_0x435d41();while(!![]){try{const _0x19fbb5=parseInt(_0x1e3f09(0x353))/0x1+parseInt(_0x1e3f09(0x2df))/0x2+parseInt(_0x1e3f09(0x32f))/0x3*(parseInt(_0x1e3f09(0x265))/0x4)+-parseInt(_0x1e3f09(0x22a))/0x5+-parseInt(_0x1e3f09(0x262))/0x6*(-parseInt(_0x1e3f09(0x1a6))/0x7)+parseInt(_0x1e3f09(0x1c3))/0x8*(-parseInt(_0x1e3f09(0x268))/0x9)+-parseInt(_0x1e3f09(0x15f))/0xa*(parseInt(_0x1e3f09(0x26c))/0xb);if(_0x19fbb5===_0x4cd47a)break;else _0x5efda0['push'](_0x5efda0['shift']());}catch(_0x29244e){_0x5efda0['push'](_0x5efda0['shift']());}}}(_0x3e6c,0x900d0));var Bt=Object[_0xecf6b6(0x204)],kt=(_0x4aa98c,_0x5c59d3,_0x3bcf8d)=>_0x5c59d3 in _0x4aa98c?Bt(_0x4aa98c,_0x5c59d3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3bcf8d}):_0x4aa98c[_0x5c59d3]=_0x3bcf8d,_=(_0x278684,_0x27d705,_0x7ef6b5)=>kt(_0x278684,typeof _0x27d705!=_0xecf6b6(0x226)?_0x27d705+'':_0x27d705,_0x7ef6b5);import{MemberService as _0x2246cc,SessionStatus as _0x3f64e8,CollaborationSessionService as _0xdb4a22,CollaborationStatus as _0x1b69de,CollaborationController as _0x577c9e,ILocalCacheService as _0x5e0ed0,CollaborationUIEventService as _0x31b77b,CollaborationUIEventId as _0x54d850,DataLoaderService as _0x407eb5,DocCollaborationEntity as _0x3434a5,getLocalCacheKey as _0x8dfd93,LOCAL_CACHE_INTERVAL as _0x1c75a2,LOCAL_CACHE_INTERVAL_KEY as _0x3b82fc,UniverCollaborationClientPlugin as _0x5de4e0,CollaborationSocketService as _0x8e6740,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x299a8c,DEFAULT_WS_SESSION_TICKET_URL as _0x5217d3,UnitStatus as _0x3ebef9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x20f814,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x515ede}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2ecd4d,Disposable as _0x5ada09,DOC_RANGE_TYPE as _0x8d2e62,Inject as _0x3f3053,Injector as _0x326ab6,IUniverInstanceService as _0x2d0643,ICommandService as _0x319364,debounce as _0x4b9814,Rectangle as _0x1f2cb8,DisposableCollection as _0x219a28,toDisposable as _0x5cd668,UniverInstanceType as _0x365df3,Tools as _0x2c63fe,COLORS as _0x234e0f,ColorKit as _0x49fb83,ThemeService as _0x37132f,fromEventSubject as _0x36c6ca,LocaleService as _0x131cc7,createIdentifier as _0x2b2500,ILogService as _0x4308e0,Optional as _0x56c1ed,Workbook as _0xb75853,CommandType as _0x18483d,IConfigService as _0x59146a,ILocalStorageService as _0x5a0809,DependentOn as _0x5ebfd1,Plugin as _0x221724,merge as _0x640b26,registerDependencies as _0x4041a8,mergeOverrideWithDependencies as _0x10f3fd,touchDependencies as _0x33817c,generateRandomId as _0x274db2}from'@univerjs/core';import{Shape as _0x5c0520,Rect as _0x39e4ae,getColor as _0xa4a822,RegularPolygon as _0x281e77,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5eb92e,Vector2 as _0x5900fd,SHEET_VIEWPORT_KEY as _0xbe2a81,IRenderManagerService as _0x50ef32}from'@univerjs/engine-render';import{ISocketService as _0x35b9d6,WebSocketService as _0x3457d4,HTTPService as _0x13792e}from'@univerjs/network';import{IDocClipboardService as _0x1c1fb,NodePositionConvertToCursor as _0x561a6d,NodePositionConvertToRectRange as _0x465d53,TEXT_RANGE_LAYER_INDEX as _0x496a0,SetDocZoomRatioOperation as _0x3451a4,DocIMEInputManagerService as _0x5bc358,DocStateChangeManagerService as _0x3b884}from'@univerjs/docs-ui';import{IImageIoService as _0x351219}from'@univerjs/drawing';import{BehaviorSubject as _0x1b4432,debounceTime as _0x471082,takeUntil as _0x56322b,Subject as _0x13cd6f,filter as _0x1de516,switchMap as _0x730f29,merge as _0x52f9d8,combineLatest as _0x4f9548,of as _0x49d6d7,fromEvent as _0x2646b6,shareReplay as _0x170ffc,mapTo as _0x2f1b9b,distinctUntilChanged as _0x232c97}from'rxjs';import{SetTextSelectionsOperation as _0x297823,RichTextEditingMutation as _0x389c54,DocSelectionManagerService as _0x2f703a,DocSkeletonManagerService as _0x3ad633}from'@univerjs/docs';import{ITransformService as _0x4c77d9,CollaborationEvent as _0x292b1f,isTransformMutationFailure as _0x23e293,isTransformMutationsWithChangesetSuccess as _0x3f4526,RevisionService as _0x1f6eff,ISnapshotServerService as _0x6fdbac}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x101a48,serializeRangeWithSheet as _0x70a18a}from'@univerjs/engine-formula';import{RefRangeService as _0x4af4d1,SetSelectionsOperation as _0x226b9b,SheetsSelectionsService as _0xedeb5f,EffectRefRangId as _0x169c37,handleIRemoveRow as _0x5236bc,handleIRemoveCol as _0x14c0c1,handleMoveRange as _0x3f3f8f,handleInsertRow as _0x302a14,handleInsertRangeMoveRight as _0x5a8a09,handleInsertRangeMoveDown as _0x1431bc,handleInsertCol as _0x5d345b,handleDeleteRangeMoveUp as _0x375204,handleDeleteRangeMoveLeft as _0x442a46,runRefRangeMutations as _0x481b9e,SetWorksheetActivateCommand as _0x58060a}from'@univerjs/sheets';import{map as _0x217c73,filter as _0x6878ef,throttleTime as _0xf45883,takeUntil as _0x1c53aa,switchMap as _0xc6245}from'rxjs/operators';import{SheetSkeletonManagerService as _0x304f9e,getCoordByCell as _0x5357e8,getSheetObject as _0x44b9b8}from'@univerjs/sheets-ui';import{jsx as _0x3a8072,jsxs as _0x5d2475}from'react/jsx-runtime';import{useObservable as _0x2ec369,useDependency as _0x15780a,IUIPartsService as _0x1b5ea8,BuiltInUIPart as _0x19e3a5,connectInjector as _0x2493e3,IBeforeCloseService as _0x31a51c,IMessageService as _0x2936f0,INotificationService as _0x250c38}from'@univerjs/ui';import{clsx as _0x6d83d4,Tooltip as _0x466eca,MessageType as _0xd0ce35}from'@univerjs/design';import{forwardRef as _0x37d099,useRef as _0x78567,createElement as _0x3b8d9a,useCallback as _0x2d1022}from'react';import{IRemoteInstanceService as _0x422623}from'@univerjs/rpc';var li=Object[_0xecf6b6(0x1c4)],_i=(_0x28249b,_0x25b066,_0x38e6ff,_0x1e30e2)=>{const _0x7489f6=_0xecf6b6;for(var _0x2c3dff=_0x1e30e2>0x1?void 0x0:_0x1e30e2?li(_0x25b066,_0x38e6ff):_0x25b066,_0x3d867c=_0x28249b[_0x7489f6(0x303)]-0x1,_0x3a8d95;_0x3d867c>=0x0;_0x3d867c--)(_0x3a8d95=_0x28249b[_0x3d867c])&&(_0x2c3dff=_0x3a8d95(_0x2c3dff)||_0x2c3dff);return _0x2c3dff;},Qe=(_0x5499bc,_0x11e9d3)=>(_0x4782db,_0x26d715)=>_0x11e9d3(_0x4782db,_0x26d715,_0x5499bc);let Ue=class extends _0x2ecd4d{constructor(_0xc8a23e,_0x298937){const _0x1cc804=_0xecf6b6;super(),this[_0x1cc804(0x16e)]=_0xc8a23e,this[_0x1cc804(0x2d8)]=_0x298937,this['_init']();}[_0xecf6b6(0x208)](){const _0x18df71=_0xecf6b6,_0x4c0e41=this;this[_0x18df71(0x312)](this[_0x18df71(0x16e)]['addClipboardHook']({'onBeforePasteImage':async _0x400a82=>{const _0x29fe9d=_0x18df71,_0x70c487=await _0x4c0e41[_0x29fe9d(0x2d8)]['saveImage'](_0x400a82);return _0x70c487?{'source':_0x70c487[_0x29fe9d(0x1cb)],'imageSourceType':_0x70c487[_0x29fe9d(0x184)]}:null;}}));}};Ue=_i([Qe(0x0,_0x1c1fb),Qe(0x1,_0x351219)],Ue);const qe=[_0xecf6b6(0x20a),_0xecf6b6(0x242),'verdancy600',_0xecf6b6(0x30b),_0xecf6b6(0x156),_0xecf6b6(0x2c0)];class He extends _0x5ada09{constructor(){const _0x2055cc=_0xecf6b6;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x2055cc(0x276),0x0);}[_0xecf6b6(0x33c)](_0x2ab2dd){const _0x5b6f2f=_0xecf6b6;if(this['_assignedColors'][_0x5b6f2f(0x32d)](_0x2ab2dd))return this[_0x5b6f2f(0x2e2)]['get'](_0x2ab2dd);const _0x277dc4=qe[this['_colorIndex']];return this[_0x5b6f2f(0x276)]=(this['_colorIndex']+0x1)%qe['length'],this['_assignedColors'][_0x5b6f2f(0x161)](_0x2ab2dd,_0x277dc4),_0x277dc4;}}function Dt(_0x3e5a8a){const _0x577806=_0xecf6b6;let _0x2cbdd5='';for(const _0x5a788d of _0x3e5a8a){const {startOffset:_0x3848d5,endOffset:_0x51a3a7,isActive:_0x1b3aca,rangeType:_0x539e72,segmentId:_0x368a8f,segmentPage:_0x3bc1cc}=_0x5a788d;_0x2cbdd5[_0x577806(0x303)]&&(_0x2cbdd5+=','),_0x2cbdd5+=_0x3848d5+':'+_0x51a3a7+':'+(_0x1b3aca?'1':'0')+':'+_0x539e72+':'+_0x368a8f+':'+_0x3bc1cc;}return _0x2cbdd5;}function hi(_0xf2cba0){const _0x8344c6=_0xecf6b6,_0x265b17=_0xf2cba0['split'](','),_0x120c3f=[];for(const _0x570f55 of _0x265b17){const [_0x4eb530,_0x147278,_0x409e3d,_0x3c16a9,_0x1bf23f,_0x34e957]=_0x570f55[_0x8344c6(0x27a)](':');_0x120c3f[_0x8344c6(0x333)]({'startOffset':Number(_0x4eb530),'endOffset':Number(_0x147278),'collapsed':_0x4eb530===_0x147278,'isActive':_0x409e3d==='1','rangeType':_0x3c16a9===_0x8d2e62[_0x8344c6(0x2b0)]?_0x8d2e62[_0x8344c6(0x2b0)]:_0x8d2e62[_0x8344c6(0x1a3)],'segmentId':typeof _0x1bf23f==_0x8344c6(0x2d2)?String(_0x1bf23f):'','segmentPage':Number(_0x34e957!=null?_0x34e957:-0x1)});}return _0x120c3f[_0x8344c6(0x2a7)](_0x4a3e4c=>_0x4a3e4c[_0x8344c6(0x236)])||(_0x120c3f[0x0]['isActive']=!0x0),_0x120c3f;}class je extends _0x2ecd4d{constructor(){const _0x1d8ca6=_0xecf6b6;super(...arguments),_(this,'_collabCursorState$',new _0x1b4432(null)),_(this,_0x1d8ca6(0x15c),this[_0x1d8ca6(0x1fa)][_0x1d8ca6(0x224)]());}[_0xecf6b6(0x2e5)](_0x22faeb){const _0x1579fd=_0xecf6b6,{unitID:_0x3805fc,memberID:_0x11ae8d,textRanges:_0xf169ea}=_0x22faeb,_0x20c29c=Dt(_0xf169ea);if(_0x20c29c==='')return;const _0x5bfade={'unitID':_0x3805fc,'memberID':_0x11ae8d,'selection':_0x20c29c};this[_0x1579fd(0x1fa)]['next'](_0x5bfade);}}var ui=Object[_0xecf6b6(0x1c4)],di=(_0xe09d0,_0x1e34a5,_0x19eee1,_0x372ad5)=>{const _0x260d2a=_0xecf6b6;for(var _0x177490=_0x372ad5>0x1?void 0x0:_0x372ad5?ui(_0x1e34a5,_0x19eee1):_0x1e34a5,_0x282f2a=_0xe09d0[_0x260d2a(0x303)]-0x1,_0x4c46ee;_0x282f2a>=0x0;_0x282f2a--)(_0x4c46ee=_0xe09d0[_0x282f2a])&&(_0x177490=_0x4c46ee(_0x177490)||_0x177490);return _0x177490;},w=(_0x13ea2a,_0x10b4a1)=>(_0x39b1c4,_0x373ee4)=>_0x10b4a1(_0x39b1c4,_0x373ee4,_0x13ea2a);const fi=0x12c,Si=0x64;let Me=class extends _0x2ecd4d{constructor(_0x2a13a6,_0x3024a1,_0x52f6c8,_0x36ac51,_0x370543,_0xd697,_0x8094f8,_0x284270,_0x438b6a){const _0x56cf85=_0xecf6b6;super(),_(this,_0x56cf85(0x1ab),!0x1),_(this,'_init',!0x1),_(this,_0x56cf85(0x1ba),new _0x1b4432(new Map())),_(this,_0x56cf85(0x195),this['_cursorInfo$'][_0x56cf85(0x224)]()),_(this,_0x56cf85(0x213),new _0x1b4432([])),_(this,_0x56cf85(0x198),this[_0x56cf85(0x213)][_0x56cf85(0x2dc)](_0x471082(fi))),_(this,_0x56cf85(0x2b3),_0x4b9814(_0xa0ae3=>{const _0x341643=_0x56cf85,_0x24bead={'eventID':_0x292b1f[_0x341643(0x331)],'data':{'unitID':this[_0x341643(0x16a)],'memberID':this[_0x341643(0x271)][_0x341643(0x24f)](),'selection':Dt(_0xa0ae3)}};this[_0x341643(0x271)][_0x341643(0x339)](_0x24bead,this[_0x341643(0x16a)]);},Si)),(this[_0x56cf85(0x16a)]=_0x2a13a6,this[_0x56cf85(0x271)]=_0x3024a1,this[_0x56cf85(0x297)]=_0x52f6c8,this['_colorAssignService']=_0x36ac51,this['_memberService']=_0x370543,this[_0x56cf85(0x1ad)]=_0xd697,this['_transformService']=_0x8094f8,this[_0x56cf85(0x307)]=_0x284270,this[_0x56cf85(0x2e3)]=_0x438b6a);}get[_0xecf6b6(0x15d)](){const _0x476d91=_0xecf6b6;return this[_0x476d91(0x1ba)][_0x476d91(0x357)]();}get['roomMembers'](){const _0x50960d=_0xecf6b6;return this['_roomMembers$'][_0x50960d(0x357)]();}[_0xecf6b6(0x2a8)](){const _0x5b47bd=_0xecf6b6;super[_0x5b47bd(0x2a8)](),this[_0x5b47bd(0x1ba)][_0x5b47bd(0x20f)](new Map()),this[_0x5b47bd(0x1ba)][_0x5b47bd(0x18f)](),this['_roomMembers$'][_0x5b47bd(0x20f)]([]),this[_0x5b47bd(0x213)][_0x5b47bd(0x18f)]();}[_0xecf6b6(0x223)](){const _0x4eb2ed=_0xecf6b6;this['_init']||(this['_init']=!0x0,this[_0x4eb2ed(0x271)][_0x4eb2ed(0x248)][_0x4eb2ed(0x2dc)](_0x56322b(this[_0x4eb2ed(0x28d)]))[_0x4eb2ed(0x2d1)](_0x8128eb=>{const _0x499c02=_0x4eb2ed;_0x8128eb===_0x3f64e8[_0x499c02(0x2fc)]?this[_0x499c02(0x360)]():this['_toggleOffline']();}),this[_0x4eb2ed(0x271)][_0x4eb2ed(0x2e8)][_0x4eb2ed(0x2dc)](_0x56322b(this['dispose$']))[_0x4eb2ed(0x2d1)](_0x52dd91=>{const _0x397804=_0x4eb2ed,_0x1c2af5=_0x52dd91[_0x397804(0x23d)];_0x1c2af5===_0x292b1f['UPDATE_CURSOR']&&this[_0x397804(0x17e)](_0x52dd91),_0x1c2af5===_0x292b1f[_0x397804(0x356)]&&this['_onCursorDelete'](_0x52dd91);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x19117f=>{const _0x1b8d4e=_0x4eb2ed,_0x2cafca=_0x19117f[_0x1b8d4e(0x160)];_0x2cafca!=null&&this[_0x1b8d4e(0x1ab)]&&_0x19117f['id']===_0x297823['id']&&_0x2cafca[_0x1b8d4e(0x2a4)]===this[_0x1b8d4e(0x16a)]&&_0x2cafca[_0x1b8d4e(0x33d)]===!0x1&&_0x2cafca[_0x1b8d4e(0x1d1)][_0x1b8d4e(0x303)]>0x0&&this['_updateLocalCursor'](_0x2cafca[_0x1b8d4e(0x1d1)]);})),this['_syncEditingCollabCursorService'][_0x4eb2ed(0x15c)][_0x4eb2ed(0x2dc)](_0x56322b(this[_0x4eb2ed(0x28d)]))[_0x4eb2ed(0x2d1)](_0x294f4c=>{const _0x14277a=_0x4eb2ed;if((_0x294f4c==null?void 0x0:_0x294f4c[_0x14277a(0x16a)])!==this[_0x14277a(0x16a)])return;const _0x5cb8cb={'eventID':_0x292b1f[_0x14277a(0x331)],'data':_0x294f4c};this[_0x14277a(0x17e)](_0x5cb8cb);}),this[_0x4eb2ed(0x312)](this['_commandService']['onCommandExecuted'](_0xb5282e=>{const _0xe578ad=_0x4eb2ed;if(_0xb5282e[_0xe578ad(0x160)]==null)return;const _0xdd286b=_0xb5282e['params'];if(_0xb5282e['id']!==_0x389c54['id']||_0xdd286b[_0xe578ad(0x2a4)]!==this['unitID'])return;const _0x4dc556={'id':_0xe578ad(0x199),'params':_0xdd286b},_0xecf92e=this[_0xe578ad(0x15d)];for(const [_0x357c70,_0x1adfe2]of _0xecf92e){const _0x5951d7={'id':_0xe578ad(0x199),'params':{'unitId':this[_0xe578ad(0x16a)],'actions':null,'textRanges':_0x1adfe2[_0xe578ad(0x1d1)]}},_0x332b36=this[_0xe578ad(0x2c8)][_0xe578ad(0x2b9)](_0x4dc556,_0x5951d7,!0x1);if(_0x23e293(_0x332b36))throw _0x332b36['error'];_0xecf92e[_0xe578ad(0x161)](_0x357c70,{..._0x1adfe2,'ranges':_0x332b36[_0xe578ad(0x292)][_0xe578ad(0x160)]['textRanges']});}queueMicrotask(()=>{const _0x10f5e7=_0xe578ad;this[_0x10f5e7(0x1ba)]['next'](_0xecf92e);});})));}[_0xecf6b6(0x17e)](_0x5eb796){const _0x4d41de=_0xecf6b6;var _0x1c5334,_0x538c19;const {memberID:_0x556d5e,selection:_0x81de3d}=_0x5eb796[_0x4d41de(0x221)],_0x118ba6=hi(_0x81de3d),_0x45175a=(_0x538c19=(_0x1c5334=this[_0x4d41de(0x27b)][_0x4d41de(0x2cf)](this[_0x4d41de(0x16a)],_0x556d5e))==null?void 0x0:_0x1c5334['name'])!=null?_0x538c19:_0x4d41de(0x16c),_0x3f3497={'color':this[_0x4d41de(0x25e)][_0x4d41de(0x33c)](_0x556d5e),'name':_0x45175a,'ranges':_0x118ba6},_0x34df81=this[_0x4d41de(0x15d)];_0x34df81[_0x4d41de(0x161)](_0x556d5e,_0x3f3497),this['_cursorInfo$'][_0x4d41de(0x20f)](_0x34df81);}[_0xecf6b6(0x1c8)](_0x30fd66){const _0x46133a=_0xecf6b6,{memberID:_0x5097f8}=_0x30fd66[_0x46133a(0x221)],_0x5bc874=this[_0x46133a(0x15d)];_0x5bc874[_0x46133a(0x340)](_0x5097f8),this[_0x46133a(0x1ba)]['next'](_0x5bc874);}['_toggleOnline'](){const _0xbf47ce=_0xecf6b6;var _0x2abe39;if(this['_online']=!0x0,((_0x2abe39=this[_0xbf47ce(0x307)][_0xbf47ce(0x182)]())==null?void 0x0:_0x2abe39['getUnitId']())!==this['unitID'])return;const _0x28193f=this['_injector'][_0xbf47ce(0x210)](_0x2f703a)[_0xbf47ce(0x1ec)]();Array[_0xbf47ce(0x1c1)](_0x28193f)&&_0x28193f[_0xbf47ce(0x303)]>0x0&&this[_0xbf47ce(0x2b3)](_0x28193f);}[_0xecf6b6(0x358)](){const _0x571028=_0xecf6b6;this[_0x571028(0x1ab)]=!0x1;}};Me=di([w(0x2,_0x3f3053(_0x326ab6)),w(0x3,_0x3f3053(He)),w(0x4,_0x3f3053(_0x2246cc)),w(0x5,_0x3f3053(je)),w(0x6,_0x4c77d9),w(0x7,_0x2d0643),w(0x8,_0x319364)],Me);var mi=Object[_0xecf6b6(0x1c4)],gi=(_0x1f37d5,_0x3e7fed,_0x3aab36,_0x1f7e21)=>{for(var _0x26b08f=_0x1f7e21>0x1?void 0x0:_0x1f7e21?mi(_0x3e7fed,_0x3aab36):_0x3e7fed,_0x3f11e2=_0x1f37d5['length']-0x1,_0x471cad;_0x3f11e2>=0x0;_0x3f11e2--)(_0x471cad=_0x1f37d5[_0x3f11e2])&&(_0x26b08f=_0x471cad(_0x26b08f)||_0x26b08f);return _0x26b08f;},x=(_0x3814e7,_0x5d6800)=>(_0x183641,_0x2abf70)=>_0x5d6800(_0x183641,_0x2abf70,_0x3814e7);const vi=0x12c,Ii=0x64,pi=()=>{let _0x1579d0=[],_0x33a466=!0x1;return _0x69bc24=>{const _0x3e7c6b=_0x3768;_0x1579d0[_0x3e7c6b(0x333)](_0x69bc24),_0x33a466||(_0x33a466=!0x0,setTimeout(()=>{const _0x8c3df9=_0x3e7c6b;_0x1579d0[_0x8c3df9(0x1d6)](_0x1b9412=>_0x1b9412()),_0x1579d0=[],_0x33a466=!0x1;}));};};let Pe=class extends _0x2ecd4d{constructor(_0x46881b,_0x12393d,_0x2e3df5,_0xc67a54,_0x10ca89,_0x329446,_0x40f7e2,_0x3b2077){const _0x5c513a=_0xecf6b6;super(),_(this,_0x5c513a(0x1ab),!0x1),_(this,'_init',!0x1),_(this,_0x5c513a(0x1ba),new _0x1b4432(new Map())),_(this,_0x5c513a(0x195),this[_0x5c513a(0x1ba)]['asObservable']()),_(this,_0x5c513a(0x213),new _0x1b4432([])),_(this,_0x5c513a(0x198),this[_0x5c513a(0x213)][_0x5c513a(0x2dc)](_0x471082(vi))),_(this,_0x5c513a(0x2b3),_0x4b9814((_0x186f9c,_0x265103)=>{const _0x21e329=_0x5c513a,_0x434766={'eventID':_0x292b1f[_0x21e329(0x331)],'data':{'unitID':this[_0x21e329(0x16a)],'memberID':this[_0x21e329(0x271)][_0x21e329(0x24f)](),'selection':_0x70a18a(_0x186f9c,_0x265103[_0x21e329(0x2d5)])}};this[_0x21e329(0x271)][_0x21e329(0x339)](_0x434766,this[_0x21e329(0x16a)]);},Ii)),(this[_0x5c513a(0x16a)]=_0x46881b,this['_session']=_0x12393d,this[_0x5c513a(0x297)]=_0x2e3df5,this[_0x5c513a(0x25e)]=_0xc67a54,this['_memberService']=_0x10ca89,this[_0x5c513a(0x307)]=_0x329446,this['_commandService']=_0x40f7e2,this[_0x5c513a(0x332)]=_0x3b2077);}get[_0xecf6b6(0x15d)](){const _0x3b5b40=_0xecf6b6;return this[_0x3b5b40(0x1ba)][_0x3b5b40(0x357)]();}get[_0xecf6b6(0x1ce)](){const _0x5f2a50=_0xecf6b6;return this[_0x5f2a50(0x213)][_0x5f2a50(0x357)]();}[_0xecf6b6(0x2a8)](){const _0x3c3d0e=_0xecf6b6;super[_0x3c3d0e(0x2a8)](),this['_cursorInfo$'][_0x3c3d0e(0x20f)](new Map()),this[_0x3c3d0e(0x1ba)][_0x3c3d0e(0x18f)](),this[_0x3c3d0e(0x213)]['next']([]),this[_0x3c3d0e(0x213)][_0x3c3d0e(0x18f)]();}[_0xecf6b6(0x223)](){const _0x229756=_0xecf6b6;this[_0x229756(0x208)]||(this[_0x229756(0x208)]=!0x0,this[_0x229756(0x271)][_0x229756(0x248)][_0x229756(0x2dc)](_0x56322b(this[_0x229756(0x28d)]))[_0x229756(0x2d1)](_0x316ce5=>{const _0x66fb0d=_0x229756;_0x316ce5===_0x3f64e8['ONLINE']?this[_0x66fb0d(0x360)]():this[_0x66fb0d(0x358)]();}),this[_0x229756(0x271)]['event$']['pipe'](_0x56322b(this[_0x229756(0x28d)]))[_0x229756(0x2d1)](_0x206d79=>{const _0x55086f=_0x229756,_0x44eb4c=_0x206d79['eventID'];_0x44eb4c===_0x292b1f['UPDATE_CURSOR']&&this[_0x55086f(0x17e)](_0x206d79),_0x44eb4c===_0x292b1f['USERS_LEAVE']&&this[_0x55086f(0x1c8)](_0x206d79);}),this['_onRefRangeChange'](),this[_0x229756(0x312)](this[_0x229756(0x2e3)][_0x229756(0x21b)](_0xff69ea=>{const _0x18b71=_0x229756;if(this['_online']&&_0xff69ea['id']===_0x226b9b['id']&&_0xff69ea['params']['unitId']===this[_0x18b71(0x16a)]){const _0x588f3d=_0xff69ea[_0x18b71(0x160)];this[_0x18b71(0x2b3)](_0x588f3d[_0x18b71(0x334)],_0x588f3d[_0x18b71(0x2fb)][0x0]);}})));}['_onCursorUpdate'](_0x270ddd){const _0x2835cf=_0xecf6b6;var _0x48717e,_0x42db7c;const {memberID:_0x525b87,selection:_0x442229}=_0x270ddd[_0x2835cf(0x221)],{sheetName:_0x53dfc0,range:_0x45eb0d}=_0x101a48(_0x442229),_0x319462={'name':(_0x42db7c=(_0x48717e=this[_0x2835cf(0x27b)][_0x2835cf(0x2cf)](this[_0x2835cf(0x16a)],_0x525b87))==null?void 0x0:_0x48717e[_0x2835cf(0x321)])!=null?_0x42db7c:_0x2835cf(0x16c),'range':this[_0x2835cf(0x187)](_0x53dfc0,_0x45eb0d),'sheetID':_0x53dfc0,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x525b87),'selection':_0x442229},_0x4317ad=this[_0x2835cf(0x15d)];_0x4317ad[_0x2835cf(0x161)](_0x525b87,_0x319462),this[_0x2835cf(0x1ba)][_0x2835cf(0x20f)](_0x4317ad);}[_0xecf6b6(0x1c8)](_0xd4c8fd){const _0x5d3828=_0xecf6b6,{memberID:_0x323c1c}=_0xd4c8fd['data'],_0x309982=this[_0x5d3828(0x15d)];_0x309982[_0x5d3828(0x340)](_0x323c1c),this[_0x5d3828(0x1ba)][_0x5d3828(0x20f)](_0x309982);}[_0xecf6b6(0x187)](_0x562e47,_0x283ce4){const _0x50b3a4=_0xecf6b6;var _0x17c8be,_0x4e2509;const _0x4fe23d=(_0x4e2509=(_0x17c8be=this[_0x50b3a4(0x307)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x17c8be[_0x50b3a4(0x253)](_0x562e47))==null?void 0x0:_0x4e2509[_0x50b3a4(0x26a)]();return(_0x4fe23d==null?void 0x0:_0x4fe23d[_0x50b3a4(0x211)](_0x31206e=>_0x1f2cb8[_0x50b3a4(0x166)](_0x31206e,_0x283ce4)))||_0x283ce4;}[_0xecf6b6(0x14f)](){const _0x5f1f7d=_0xecf6b6,_0x4baf1c=new _0x219a28(),_0x7ac94=pi(),_0x1efee2=()=>{const _0x2383cc=_0x3768;_0x4baf1c[_0x2383cc(0x2a8)]();const _0xb87fc8=(_0x490509,_0x435000,_0x5ef7a4,_0x382b70)=>{const _0x3e2854=_0x2383cc;let _0x9d10c2=[];switch(_0x490509['id']){case _0x169c37[_0x3e2854(0x1fd)]:{_0x9d10c2=_0x442a46(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x183)]:{_0x9d10c2=_0x375204(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x168)]:{_0x9d10c2=_0x5d345b(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x173)]:{_0x9d10c2=_0x1431bc(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x1ee)]:{_0x9d10c2=_0x5a8a09(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x18c)]:{_0x9d10c2=_0x302a14(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x1df)]:{_0x9d10c2=_0x3f3f8f(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x1ca)]:{_0x9d10c2=_0x14c0c1(_0x490509,_0x382b70);break;}case _0x169c37[_0x3e2854(0x2cb)]:{_0x9d10c2=_0x5236bc(_0x490509,_0x382b70);break;}}const _0xdd2861=_0x481b9e(_0x9d10c2,_0x382b70),_0x684be3=this['cursorInfo']['get'](_0x435000);if(_0x684be3&&_0xdd2861){const _0x53e3bf={..._0x684be3,'range':_0xdd2861};this[_0x3e2854(0x15d)][_0x3e2854(0x161)](_0x435000,_0x53e3bf),_0x7ac94(()=>{const _0x3e118d=_0x3e2854,_0x5b4725=this[_0x3e118d(0x332)][_0x3e118d(0x352)](_0xdd2861,_0x324289=>(_0x5b4725[_0x3e118d(0x2a8)](),_0xb87fc8(_0x324289,_0x435000,_0x5ef7a4,_0xdd2861)));_0x4baf1c[_0x3e118d(0x25a)](_0x5b4725);});}return{'redos':[],'undos':[]};};this[_0x2383cc(0x15d)]['forEach']((_0x2b7d3e,_0xc30a35)=>{const _0x2a12bf=_0x2383cc,{range:_0x25a8dc,sheetID:_0x386794}=_0x2b7d3e,_0x32adf0=this[_0x2a12bf(0x332)]['registerRefRange'](_0x25a8dc,_0xf57cc7=>(_0x32adf0[_0x2a12bf(0x2a8)](),_0xb87fc8(_0xf57cc7,_0xc30a35,_0x386794,_0x25a8dc)));_0x4baf1c[_0x2a12bf(0x25a)](_0x32adf0);});};this[_0x5f1f7d(0x312)](_0x5cd668(this[_0x5f1f7d(0x1ba)][_0x5f1f7d(0x2d1)](()=>{_0x1efee2();})));}[_0xecf6b6(0x360)](){const _0x5d4d1f=_0xecf6b6;var _0x5699e7,_0x36b684;if(this['_online']=!0x0,((_0x5699e7=this[_0x5d4d1f(0x307)][_0x5d4d1f(0x182)]())==null?void 0x0:_0x5699e7[_0x5d4d1f(0x295)]())!==this[_0x5d4d1f(0x16a)])return;const _0x224b01=(_0x36b684=this[_0x5d4d1f(0x297)][_0x5d4d1f(0x210)](_0xedeb5f)[_0x5d4d1f(0x1cf)]())==null?void 0x0:_0x36b684[0x0],_0x5ccf89=this[_0x5d4d1f(0x307)][_0x5d4d1f(0x1d5)](_0x365df3[_0x5d4d1f(0x280)])[_0x5d4d1f(0x163)]();_0x224b01&&_0x5ccf89&&this[_0x5d4d1f(0x2b3)](_0x5ccf89[_0x5d4d1f(0x18a)](),_0x224b01);}[_0xecf6b6(0x358)](){const _0x543bc3=_0xecf6b6;this[_0x543bc3(0x1ab)]=!0x1;}};Pe=gi([x(0x2,_0x3f3053(_0x326ab6)),x(0x3,_0x3f3053(He)),x(0x4,_0x3f3053(_0x2246cc)),x(0x5,_0x2d0643),x(0x6,_0x319364),x(0x7,_0x3f3053(_0x4af4d1))],Pe);var Ci=Object[_0xecf6b6(0x1c4)],Ei=(_0x1ea3fe,_0x2805a2,_0x520637,_0x310ff0)=>{const _0x297078=_0xecf6b6;for(var _0x497ef9=_0x310ff0>0x1?void 0x0:_0x310ff0?Ci(_0x2805a2,_0x520637):_0x2805a2,_0x5834ac=_0x1ea3fe[_0x297078(0x303)]-0x1,_0x4e5528;_0x5834ac>=0x0;_0x5834ac--)(_0x4e5528=_0x1ea3fe[_0x5834ac])&&(_0x497ef9=_0x4e5528(_0x497ef9)||_0x497ef9);return _0x497ef9;},me=(_0x35f667,_0x120561)=>(_0x5c0013,_0x32dab8)=>_0x120561(_0x5c0013,_0x32dab8,_0x35f667);let H=class extends _0x2ecd4d{constructor(_0x417de7,_0x1316e5,_0xb38017){const _0x2e48c3=_0xecf6b6;super(),_(this,_0x2e48c3(0x18e),new Map()),_(this,_0x2e48c3(0x31c),new _0x13cd6f()),(this[_0x2e48c3(0x307)]=_0x417de7,this['_injector']=_0x1316e5,this[_0x2e48c3(0x1d2)]=_0xb38017,this['_init']());}[_0xecf6b6(0x2a8)](){const _0xd61034=_0xecf6b6;super[_0xd61034(0x2a8)](),this[_0xd61034(0x31c)]['complete'](),this[_0xd61034(0x18e)][_0xd61034(0x1d6)](_0x1a52ac=>_0x1a52ac['dispose']());}[_0xecf6b6(0x326)](_0x482511){const _0x166f45=_0xecf6b6;return this[_0x166f45(0x18e)][_0x166f45(0x32d)](_0x482511)?this[_0x166f45(0x18e)][_0x166f45(0x210)](_0x482511)[_0x166f45(0x195)]:this[_0x166f45(0x31c)][_0x166f45(0x2dc)](_0x1de516(_0x158fb1=>_0x158fb1[_0x166f45(0x16a)]===_0x482511),_0x730f29(_0x2188ac=>_0x2188ac[_0x166f45(0x195)]));}['_init'](){const _0x2d096=_0xecf6b6;this[_0x2d096(0x307)][_0x2d096(0x344)](_0x365df3[_0x2d096(0x280)])[_0x2d096(0x2dc)](_0x56322b(this[_0x2d096(0x28d)]))[_0x2d096(0x2d1)](async _0x365b28=>{const _0x2a7e2d=_0x2d096,_0x172fdd=_0x365b28[_0x2a7e2d(0x295)](),_0x188c18=await this[_0x2a7e2d(0x32b)](_0x172fdd);this[_0x2a7e2d(0x31c)][_0x2a7e2d(0x20f)](_0x188c18),this[_0x2a7e2d(0x18e)]['set'](_0x172fdd,_0x188c18);}),this['_univerInstanceService'][_0x2d096(0x344)](_0x365df3[_0x2d096(0x241)])['pipe'](_0x56322b(this[_0x2d096(0x28d)]))['pipe'](_0x1de516(_0x164e06=>!_0x164e06[_0x2d096(0x295)]()[_0x2d096(0x25d)]('__')))[_0x2d096(0x2d1)](async _0x2159c0=>{const _0xd718fd=_0x2d096,_0x2a9e2b=_0x2159c0[_0xd718fd(0x295)](),_0x1f9b6d=await this[_0xd718fd(0x327)](_0x2a9e2b);this[_0xd718fd(0x31c)]['next'](_0x1f9b6d),this['_entities'][_0xd718fd(0x161)](_0x2a9e2b,_0x1f9b6d);}),_0x52f9d8(this[_0x2d096(0x307)][_0x2d096(0x186)](_0x365df3[_0x2d096(0x241)]),this[_0x2d096(0x307)][_0x2d096(0x186)](_0x365df3['UNIVER_SHEET']))[_0x2d096(0x2dc)](_0x56322b(this['dispose$']))[_0x2d096(0x2d1)](_0x5a3ae2=>{const _0x4af2bc=_0x2d096,_0xf537ce=_0x5a3ae2[_0x4af2bc(0x295)](),_0x3bcd9a=this[_0x4af2bc(0x18e)]['get'](_0xf537ce);_0x3bcd9a&&(_0x3bcd9a['dispose'](),this['_entities']['delete'](_0xf537ce));});}async['_startSheetCollabCursor'](_0x57e688){const _0x520b7b=_0xecf6b6,_0xb0c1b3=await this[_0x520b7b(0x1d2)]['requireSession'](_0x57e688),_0x2e77df=this['_injector'][_0x520b7b(0x289)](Pe,_0x57e688,_0xb0c1b3);return _0x2e77df['init'](),_0x2e77df;}async['_startDocCollabCursor'](_0x4a5590){const _0x1389df=_0xecf6b6,_0x472538=await this['_collabSessionService'][_0x1389df(0x298)](_0x4a5590),_0x4d03cb=this['_injector'][_0x1389df(0x289)](Me,_0x4a5590,_0x472538);return _0x4d03cb[_0x1389df(0x223)](),_0x4d03cb;}};H=Ei([me(0x0,_0x2d0643),me(0x1,_0x3f3053(_0x326ab6)),me(0x2,_0x3f3053(_0xdb4a22))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x311950,_0xde9858){const _0x4934cf=_0xecf6b6;let {radius:_0x53cc21,width:_0x3dd4da,height:_0x3a8edc}=_0xde9858;_0x53cc21=_0x53cc21!=null?_0x53cc21:0x0,_0x3dd4da=_0x3dd4da!=null?_0x3dd4da:0x1e,_0x3a8edc=_0x3a8edc!=null?_0x3a8edc:0x1e;let _0x184616=0x0,_0x1f5f61=0x0,_0x1b840d=0x0;_0x184616=_0x1f5f61=_0x1b840d=Math[_0x4934cf(0x2da)](_0x53cc21,_0x3dd4da/0x2,_0x3a8edc/0x2),_0x311950[_0x4934cf(0x29c)](),_0x311950[_0x4934cf(0x22f)](_0x184616,0x0),_0x311950['lineTo'](_0x3dd4da-_0x1f5f61,0x0),_0x311950[_0x4934cf(0x29e)](_0x3dd4da-_0x1f5f61,_0x1f5f61,_0x1f5f61,Math['PI']*0x3/0x2,0x0,!0x1),_0x311950[_0x4934cf(0x2b8)](_0x3dd4da,_0x3a8edc-_0x1b840d),_0x311950[_0x4934cf(0x29e)](_0x3dd4da-_0x1b840d,_0x3a8edc-_0x1b840d,_0x1b840d,0x0,Math['PI']/0x2,!0x1),_0x311950[_0x4934cf(0x2b8)](0x0,_0x3a8edc),_0x311950[_0x4934cf(0x2b8)](0x0,_0x184616),_0x311950['arc'](_0x184616,_0x184616,_0x184616,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x311950['closePath'](),_0xde9858['fill']&&(_0x311950[_0x4934cf(0x277)](),_0x311950[_0x4934cf(0x2ee)]=_0xde9858[_0x4934cf(0x2bd)],_0xde9858[_0x4934cf(0x1f6)]===_0x4934cf(0x189)?_0x311950[_0x4934cf(0x2bd)](_0x4934cf(0x189)):_0x311950[_0x4934cf(0x2bd)](),_0x311950['restore']());}class ue extends _0x5c0520{constructor(_0x57e74f,_0x3ab4a0){const _0x1495a4=_0xecf6b6;super(_0x57e74f,_0x3ab4a0),_(this,'color'),_(this,_0x1495a4(0x316)),(this[_0x1495a4(0x317)]=_0x3ab4a0==null?void 0x0:_0x3ab4a0['color'],this[_0x1495a4(0x316)]=_0x3ab4a0==null?void 0x0:_0x3ab4a0['text']);}static['drawWith'](_0x417aac,_0xf70e12){const _0xf71a9=_0xecf6b6,{text:_0x381b7e,color:_0x3ed238}=_0xf70e12;_0x417aac[_0xf71a9(0x277)](),_0x417aac[_0xf71a9(0x346)]=_0xf71a9(0x220);const _0xd2a74d=_0x417aac[_0xf71a9(0x2f9)](_0x381b7e)[_0xf71a9(0x304)],_0x380729=Math[_0xf71a9(0x2da)](_0xd2a74d+0x2*ge,et);Oi(_0x417aac,{'height':te,'radius':0x4,'width':_0x380729,'fill':_0x3ed238}),_0x417aac[_0xf71a9(0x2ee)]=_0xf71a9(0x267);const _0x1ee941=ge,_0x38b8ad=te-bi,_0x141a5=et-0x2*ge;if(_0xd2a74d>_0x141a5){let _0x4ba4de='',_0x5210c6=0x0;for(const _0x4e445e of _0x381b7e){const _0xc5d046=_0x417aac[_0xf71a9(0x2f9)](_0x4e445e)[_0xf71a9(0x304)];if(_0x5210c6+_0xc5d046<=_0x141a5-_0x417aac[_0xf71a9(0x2f9)]('...')[_0xf71a9(0x304)])_0x4ba4de+=_0x4e445e,_0x5210c6+=_0xc5d046;else{_0x4ba4de+=_0xf71a9(0x2f8);break;}}_0x417aac[_0xf71a9(0x164)](_0x4ba4de,_0x1ee941,_0x38b8ad);}else _0x417aac[_0xf71a9(0x164)](_0x381b7e,_0x1ee941,_0x38b8ad);_0x417aac[_0xf71a9(0x35e)]();}[_0xecf6b6(0x19b)](_0x4e527e){const _0x134663=_0xecf6b6;ue[_0x134663(0x314)](_0x4e527e,this);}}const ve=_0xecf6b6(0x23f),Ti=_0xecf6b6(0x359),Ri=_0xecf6b6(0x21c),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0xecf6b6(0x159);class tt{constructor(_0x462722,_0x307d9c,_0x5bf232,_0x539d73){const _0x172b76=_0xecf6b6;_(this,_0x172b76(0x27c),[]),_(this,_0x172b76(0x153),null),_(this,'_textBubble',null),_(this,_0x172b76(0x1eb),null),_(this,_0x172b76(0x180),null),_(this,_0x172b76(0x2d9),null),(this[_0x172b76(0x302)]=_0x462722,this[_0x172b76(0x21d)]=_0x307d9c,this[_0x172b76(0x176)]=_0x5bf232,this[_0x172b76(0x1b5)]=_0x539d73,this[_0x172b76(0x310)]());}set[_0xecf6b6(0x196)](_0x1c0f8f){const _0x3a4797=_0xecf6b6;_0x1c0f8f?(this[_0x3a4797(0x1eb)]&&this['_anchorDot'][_0x3a4797(0x19d)](),this[_0x3a4797(0x200)]&&this[_0x3a4797(0x200)][_0x3a4797(0x351)]()):(this[_0x3a4797(0x1eb)]&&this[_0x3a4797(0x1eb)][_0x3a4797(0x351)](),this[_0x3a4797(0x200)]&&this['_textBubble'][_0x3a4797(0x19d)]());}[_0xecf6b6(0x2a8)](){const _0x3b447b=_0xecf6b6;for(const _0x120d23 of this[_0x3b447b(0x27c)])_0x120d23['dispose']();this[_0x3b447b(0x200)]&&this[_0x3b447b(0x200)][_0x3b447b(0x2a8)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x3b447b(0x153)][_0x3b447b(0x2a8)](),this['_eventUnsubscribe']&&this[_0x3b447b(0x2d9)]();}['_render'](){const _0x38dc81=_0xecf6b6;var _0x205faa;const {_docSkeleton:_0x5d8aa7,_document:_0x232a53}=this,{color:_0x2e9c54,name:_0xf2e213,ranges:_0x232d81}=this['_cursor'],_0x2374ac=_0x232a53[_0x38dc81(0x1bc)](),{docsLeft:_0x153c0e,docsTop:_0x444fe6}=_0x2374ac,_0x237436=new _0x561a6d(_0x2374ac,_0x5d8aa7);for(const {startOffset:_0x120b58,endOffset:_0xe2c190,rangeType:_0x30bb9c,segmentId:_0xb1e05c,segmentPage:_0x310aa5,collapsed:_0x3571c9,isActive:_0x31aa58}of _0x232d81){const _0x200441=_0x5d8aa7['findNodePositionByCharIndex'](_0x120b58,!0x0,_0xb1e05c,_0x310aa5);let _0x1ed71d=_0x5d8aa7[_0x38dc81(0x2d6)](_0xe2c190,!0x0,_0xb1e05c,_0x310aa5);if(_0x1ed71d==null&&(_0x1ed71d=_0x5d8aa7[_0x38dc81(0x2d6)](_0xe2c190-0x1,!0x1,_0xb1e05c,_0x310aa5)),_0x31aa58){const {contentBoxPointGroup:_0x43d3f3}=_0x237436[_0x38dc81(0x2d4)](_0x1ed71d,_0x1ed71d);if(_0x43d3f3[_0x38dc81(0x303)]===0x0)continue;this[_0x38dc81(0x243)](_0x2e9c54,_0x43d3f3,_0x153c0e,_0x444fe6,_0xf2e213),this[_0x38dc81(0x2d9)]=this[_0x38dc81(0x1e0)]();}if(_0x200441&&_0x1ed71d){if(_0x30bb9c===_0x8d2e62[_0x38dc81(0x1a3)]){const _0x38aeb0=new _0x465d53(_0x2374ac,_0x5d8aa7),{pointGroup:_0x16b66e}=(_0x205faa=_0x38aeb0['getRangePointData'](_0x200441,_0x1ed71d))!=null?_0x205faa:{};if(_0x16b66e==null||_0x16b66e['length']===0x0)continue;this['_drawRectRange'](_0x2e9c54,_0x16b66e,_0x153c0e,_0x444fe6);}else{if(!_0x3571c9){const {borderBoxPointGroup:_0x1df79d}=_0x237436[_0x38dc81(0x2d4)](_0x200441,_0x1ed71d);if(_0x1df79d[_0x38dc81(0x303)]===0x0)continue;this['_drawTextRange'](_0x2e9c54,_0x1df79d,_0x153c0e,_0x444fe6);}}}}}[_0xecf6b6(0x243)](_0xd1745a,_0x517fa2,_0x563303,_0x698d8f,_0xcb5bfd){const _0x2416d7=_0xecf6b6,_0x14a67b=this[_0x2416d7(0x2e1)](_0x517fa2),{left:_0x4777b4,top:_0x1e1e30,height:_0x5abc88}=_0x14a67b,_0x3b06ab=this[_0x2416d7(0x202)](),_0x15d0bb=Ni/_0x3b06ab,_0x5462b6=new _0x39e4ae(ve+_0x2c63fe[_0x2416d7(0x35c)](X),{'left':_0x4777b4+_0x563303-_0x15d0bb,'top':_0x1e1e30+_0x698d8f,'height':_0x5abc88,'width':Di,'fill':_0xd1745a||_0xa4a822(_0x234e0f['black'],0x0),'strokeWidth':_0x15d0bb,'stroke':Ui,'evented':!0x0});this[_0x2416d7(0x153)]=_0x5462b6,this[_0x2416d7(0x21d)][_0x2416d7(0x179)](_0x5462b6,_0x496a0);const _0x558fbb=new _0x39e4ae(ve+_0x2c63fe[_0x2416d7(0x35c)](X),{'left':_0x4777b4+_0x563303-_0x15d0bb,'top':_0x1e1e30+_0x698d8f-Ie/0x2,'height':Ie,'width':Ie,'fill':_0xd1745a||_0xa4a822(_0x234e0f[_0x2416d7(0x343)],0x0),'strokeWidth':0x0,'stroke':_0xd1745a||_0xa4a822(_0x234e0f[_0x2416d7(0x343)],0x0),'evented':!0x1});this[_0x2416d7(0x1eb)]=_0x558fbb,this[_0x2416d7(0x21d)][_0x2416d7(0x179)](_0x558fbb,_0x496a0);const _0x26ec91=new ue(ve+_0x2c63fe[_0x2416d7(0x35c)](X),{'left':_0x4777b4+_0x563303-_0x15d0bb,'top':_0x1e1e30+_0x698d8f-te,'text':_0xcb5bfd,'color':_0xd1745a});this[_0x2416d7(0x200)]=_0x26ec91,this[_0x2416d7(0x21d)]['addObject'](_0x26ec91,_0x496a0),this[_0x2416d7(0x196)]=!0x1;}['_handleHover'](){const _0x61f6a5=_0xecf6b6,_0x1f926e=this[_0x61f6a5(0x153)][_0x61f6a5(0x16d)][_0x61f6a5(0x227)](()=>{const _0x14120d=_0x61f6a5;this[_0x14120d(0x196)]=!0x0;}),_0x5b6755=this[_0x61f6a5(0x153)][_0x61f6a5(0x259)]['subscribeEvent'](()=>{const _0x38fcf3=_0x61f6a5;this[_0x38fcf3(0x180)]&&clearTimeout(this[_0x38fcf3(0x180)]),this[_0x38fcf3(0x180)]=setTimeout(()=>{const _0x373c56=_0x38fcf3;this[_0x373c56(0x196)]=!0x1;},0x7d0);});return()=>{const _0x47a382=_0x61f6a5;_0x1f926e['unsubscribe'](),_0x5b6755[_0x47a382(0x15b)]();};}[_0xecf6b6(0x24a)](_0x27199e,_0x2f5da4,_0xe928c9,_0x32b3f3){const _0xbdf5fc=_0xecf6b6,_0x30d7a5=new _0x49fb83(_0x27199e)[_0xbdf5fc(0x1f4)](0.2)['toRgbString'](),_0x201894=new _0x281e77(Ti+_0x2c63fe[_0xbdf5fc(0x35c)](X),{'pointsGroup':_0x2f5da4,'fill':_0x30d7a5||_0xa4a822(_0x234e0f[_0xbdf5fc(0x343)],0.2),'left':_0xe928c9,'top':_0x32b3f3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xbdf5fc(0x27c)][_0xbdf5fc(0x333)](_0x201894),this['_scene'][_0xbdf5fc(0x179)](_0x201894,_0x496a0);}['_drawRectRange'](_0x221c4e,_0x23cc8f,_0x3b2c6c,_0x1694f3){const _0x17c0a6=_0xecf6b6,_0x1ce9a0=new _0x49fb83(_0x221c4e)[_0x17c0a6(0x1f4)](0.2)[_0x17c0a6(0x284)](),_0x5f1ebe=new _0x281e77(Ri+_0x2c63fe[_0x17c0a6(0x35c)](X),{'pointsGroup':_0x23cc8f,'fill':_0x1ce9a0||_0xa4a822(_0x234e0f[_0x17c0a6(0x343)],0.2),'left':_0x3b2c6c,'top':_0x1694f3,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5f1ebe),this[_0x17c0a6(0x21d)][_0x17c0a6(0x179)](_0x5f1ebe,_0x496a0);}[_0xecf6b6(0x2e1)](_0x3f722d){const _0x5b000a=_0x3f722d[0x0],_0x103f02=_0x5b000a[0x0],_0x37a0b4=_0x5b000a[0x2],{x:_0x234f9a,y:_0x5b2cca}=_0x103f02,{x:_0x2a76a7,y:_0x332081}=_0x37a0b4;return{'left':_0x234f9a,'top':_0x5b2cca,'width':_0x2a76a7-_0x234f9a,'height':_0x332081-_0x5b2cca};}[_0xecf6b6(0x202)](){const _0xd9eb12=_0xecf6b6,{scaleX:_0x5ad343,scaleY:_0x28f445}=this['_scene'][_0xd9eb12(0x288)]();return Math['max'](_0x5ad343,_0x28f445);}}var Mi=Object[_0xecf6b6(0x1c4)],Pi=(_0x9e2e3b,_0x10a2b4,_0x5efa7f,_0x16f8a6)=>{const _0x23790b=_0xecf6b6;for(var _0x3513e7=_0x16f8a6>0x1?void 0x0:_0x16f8a6?Mi(_0x10a2b4,_0x5efa7f):_0x10a2b4,_0x41829a=_0x9e2e3b[_0x23790b(0x303)]-0x1,_0x511c2c;_0x41829a>=0x0;_0x41829a--)(_0x511c2c=_0x9e2e3b[_0x41829a])&&(_0x3513e7=_0x511c2c(_0x3513e7)||_0x3513e7);return _0x3513e7;},Q=(_0x5c572c,_0x304840)=>(_0x15ce5a,_0x163195)=>_0x304840(_0x15ce5a,_0x163195,_0x5c572c);let we=class extends _0x2ecd4d{constructor(_0x3f6305,_0x9fbb13,_0x2eac39,_0x548161,_0xc5e66c){const _0x97ab0c=_0xecf6b6;super(),_(this,_0x97ab0c(0x22e),[]),_(this,'_cursors',[]),(this[_0x97ab0c(0x283)]=_0x3f6305,this[_0x97ab0c(0x354)]=_0x9fbb13,this['_collabCursorController']=_0x2eac39,this['_commandService']=_0x548161,this['_themeService']=_0xc5e66c,this[_0x97ab0c(0x208)]());}[_0xecf6b6(0x208)](){const _0x423a90=_0xecf6b6,_0x12c28b=this[_0x423a90(0x283)][_0x423a90(0x2a4)],_0x4a187a=this['_docSkeletonManagerService'];this[_0x423a90(0x312)](_0x4f9548([this['_collabCursorController'][_0x423a90(0x326)](_0x12c28b),this[_0x423a90(0x1a1)][_0x423a90(0x286)]])['pipe'](_0x217c73(([_0x237215,_0x3b3ff2])=>({'skeleton':_0x4a187a[_0x423a90(0x24c)](),'cursors':[..._0x237215['values']()]['flatMap'](_0x1b3c4a=>({..._0x1b3c4a,'color':_0x3b3ff2[_0x1b3c4a['color']]}))})))[_0x423a90(0x2d1)](_0x1a4097=>{const _0x1782ed=_0x423a90;if(this[_0x1782ed(0x1d8)](),_0x1a4097){const {skeleton:_0x94a19c,cursors:_0x5a9f2e}=_0x1a4097;this[_0x1782ed(0x205)](_0x94a19c,_0x5a9f2e);}})),this['_initResize'](),this[_0x423a90(0x263)]();}[_0xecf6b6(0x205)](_0x22f08c,_0x129019){const _0x29a840=_0xecf6b6,{scene:_0x2d4158,mainComponent:_0x4bffd9}=this['_context'],_0x3c021f=_0x129019[_0x29a840(0x324)](_0x47c057=>new tt(_0x47c057,_0x2d4158,_0x22f08c,_0x4bffd9));this['_cursorShapes']=_0x3c021f,this[_0x29a840(0x31f)]=_0x129019;}[_0xecf6b6(0x2a9)](){const _0x180277=_0xecf6b6;this['_removeCollabCursors']();const {scene:_0x15257a,mainComponent:_0x3e38b0}=this[_0x180277(0x283)],_0x49db15=this[_0x180277(0x354)]['getSkeleton'](),_0xdb6b97=this[_0x180277(0x31f)]['map'](_0x19ae9d=>new tt(_0x19ae9d,_0x15257a,_0x49db15,_0x3e38b0));this[_0x180277(0x22e)]=_0xdb6b97;}['_removeCollabCursors'](){const _0x5a2de7=_0xecf6b6;this[_0x5a2de7(0x22e)]['forEach'](_0x375285=>_0x375285['dispose']()),this[_0x5a2de7(0x22e)]=[];}[_0xecf6b6(0x263)](){const _0x329816=_0xecf6b6,_0x38caa5=[_0x3451a4['id']];this[_0x329816(0x312)](this[_0x329816(0x2e3)][_0x329816(0x21b)](_0x5bd9f4=>{const _0x300a70=_0x329816;_0x38caa5['includes'](_0x5bd9f4['id'])&&_0x5bd9f4['params']['unitId']===this[_0x300a70(0x283)][_0x300a70(0x2a4)]&&this[_0x300a70(0x2a9)]();}));}[_0xecf6b6(0x34a)](){const _0x12be6e=_0xecf6b6;this['disposeWithMe'](_0x36c6ca(this[_0x12be6e(0x283)][_0x12be6e(0x299)][_0x12be6e(0x19a)])[_0x12be6e(0x2dc)](_0x6878ef(_0x3c40c1=>_0x3c40c1['type']===_0x5eb92e[_0x12be6e(0x193)]),_0xf45883(0x10))[_0x12be6e(0x2d1)](()=>{const _0x14df2a=_0x12be6e;this[_0x14df2a(0x2a9)]();}));}};we=Pi([Q(0x1,_0x3f3053(_0x3ad633)),Q(0x2,_0x3f3053(H)),Q(0x3,_0x319364),Q(0x4,_0x3f3053(_0x37132f))],we);const wi=0x1,Li=1.5;class Ai extends _0x5c0520{constructor(_0x36490d,_0xd71d56){const _0x34f971=_0xecf6b6;super(_0x36490d,_0xd71d56),_(this,_0x34f971(0x29b)),_(this,_0x34f971(0x1c2),!0x1),_(this,_0x34f971(0x162)),_(this,_0x34f971(0x305),''),_(this,_0x34f971(0x222),_0x34f971(0x256)),_(this,_0x34f971(0x24e)),(_0xd71d56&&this[_0x34f971(0x281)](_0xd71d56),this['onPointerEnter$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x34f971(0x259)][_0x34f971(0x227)](()=>this[_0x34f971(0x281)]({'hovered':!0x1})));}[_0xecf6b6(0x281)](_0x5bea36){const _0x54b169=_0xecf6b6;var _0x43ede3,_0x563cd0,_0x32ff94,_0x554612,_0x5ecf0a,_0x401380;this[_0x54b169(0x29b)]=(_0x43ede3=_0x5bea36['color'])!=null?_0x43ede3:this[_0x54b169(0x29b)],this[_0x54b169(0x1c2)]=(_0x563cd0=_0x5bea36['hovered'])!=null?_0x563cd0:this[_0x54b169(0x1c2)],this[_0x54b169(0x162)]=(_0x32ff94=_0x5bea36[_0x54b169(0x2d5)])!=null?_0x32ff94:this[_0x54b169(0x162)],this[_0x54b169(0x305)]=(_0x554612=_0x5bea36[_0x54b169(0x321)])!=null?_0x554612:this[_0x54b169(0x305)],this['_labelPosition']=(_0x5ecf0a=_0x5bea36['labelPosition'])!=null?_0x5ecf0a:this['_labelPosition'],this[_0x54b169(0x24e)]=(_0x401380=_0x5bea36[_0x54b169(0x270)])!=null?_0x401380:this[_0x54b169(0x24e)],this[_0x54b169(0x219)]({'width':_0x5bea36[_0x54b169(0x304)],'height':_0x5bea36[_0x54b169(0x238)]});}[_0xecf6b6(0x22b)](_0x30376d){const _0x3a243e=_0xecf6b6,{row:_0x4569b8,column:_0x4ca861}=_0x30376d;if(_0x4569b8>=this[_0x3a243e(0x162)]['startRow']&&_0x4569b8<=this['_range'][_0x3a243e(0x158)]&&_0x4ca861>=this[_0x3a243e(0x162)]['startColumn']&&_0x4ca861<=this[_0x3a243e(0x162)][_0x3a243e(0x2b7)]){this[_0x3a243e(0x281)]({'hovered':!0x0});return;}this[_0x3a243e(0x281)]({'hovered':!0x1});}['triggerDblclick'](_0x5b7eaa){return!0x1;}[_0xecf6b6(0x19b)](_0x9309c6){const _0x2f7a15=_0xecf6b6;_0x39e4ae[_0x2f7a15(0x314)](_0x9309c6,{'width':this[_0x2f7a15(0x304)],'height':this[_0x2f7a15(0x238)],'strokeWidth':Li,'stroke':this[_0x2f7a15(0x29b)],'evented':!0x1,'fill':this[_0x2f7a15(0x24e)]}),this[_0x2f7a15(0x1c2)]&&(_0x9309c6[_0x2f7a15(0x277)](),_0x9309c6[_0x2f7a15(0x23b)](0x1,0x0,0x0,0x1,this[_0x2f7a15(0x304)],this[_0x2f7a15(0x222)]===_0x2f7a15(0x254)?0x0:-0x14),ue['drawWith'](_0x9309c6,{'text':this[_0x2f7a15(0x305)],'color':this['_color']}),_0x9309c6[_0x2f7a15(0x35e)]());}}var yi=Object[_0xecf6b6(0x1c4)],$i=(_0x4eb58d,_0x50abf3,_0x1c76ca,_0x488f95)=>{const _0x6a54c4=_0xecf6b6;for(var _0x5e8033=_0x488f95>0x1?void 0x0:_0x488f95?yi(_0x50abf3,_0x1c76ca):_0x50abf3,_0x28c3eb=_0x4eb58d[_0x6a54c4(0x303)]-0x1,_0x36a476;_0x28c3eb>=0x0;_0x28c3eb--)(_0x36a476=_0x4eb58d[_0x28c3eb])&&(_0x5e8033=_0x36a476(_0x5e8033)||_0x5e8033);return _0x5e8033;},pe=(_0x380c5a,_0x1f6479)=>(_0x32f711,_0x844291)=>_0x1f6479(_0x32f711,_0x844291,_0x380c5a);const xi=0x1389;let Le=class extends _0x2ecd4d{constructor(_0x42ac5c,_0x2991d3,_0x2b0412,_0x221d5a){const _0xd6915f=_0xecf6b6;super(),_(this,_0xd6915f(0x31f),new Set()),_(this,'_lastPointer',null),(this[_0xd6915f(0x283)]=_0x42ac5c,this[_0xd6915f(0x2af)]=_0x2991d3,this[_0xd6915f(0x1c9)]=_0x2b0412,this[_0xd6915f(0x1a1)]=_0x221d5a,this[_0xd6915f(0x208)]());}[_0xecf6b6(0x208)](){const _0x255f0d=_0xecf6b6;this[_0x255f0d(0x2af)][_0x255f0d(0x157)][_0x255f0d(0x2dc)](_0x1c53aa(this[_0x255f0d(0x28d)]),_0xc6245(_0x2e7dc7=>{const _0xd4d03=_0x255f0d;if(_0x2e7dc7){const _0x5b81b0=_0x2e7dc7['sheetId'];return _0x4f9548(this[_0xd4d03(0x1c9)][_0xd4d03(0x326)](this['_context'][_0xd4d03(0x2a4)]),this[_0xd4d03(0x1a1)][_0xd4d03(0x286)])['pipe'](_0x217c73(([_0xed4229,_0x30a23f])=>{const _0x47a517=_0xd4d03,_0x3439f0=new Map();return _0xed4229[_0x47a517(0x1d6)]((_0x195242,_0x7cbddf)=>{const _0x3f2041=_0x47a517;if(_0x195242[_0x3f2041(0x2ff)]===_0x5b81b0){const _0x3686d8={..._0x195242};_0x3686d8['color']=_0x30a23f[_0x195242[_0x3f2041(0x317)]],_0x3439f0[_0x3f2041(0x161)](_0x7cbddf,_0x3686d8);}}),{'skeleton':_0x2e7dc7,'cursors':_0x3439f0};}));}return _0x49d6d7({'skeleton':null,'cursors':new Map()});}))[_0x255f0d(0x2d1)](({skeleton:_0x239368,cursors:_0x3f58c0})=>{const _0x2e310c=_0x255f0d;this['_removeCollabCursors'](),_0x239368&&this[_0x2e310c(0x205)](_0x239368,_0x3f58c0);}),this[_0x255f0d(0x2af)][_0x255f0d(0x157)][_0x255f0d(0x2d1)](_0x354287=>{const _0x39ed9d=_0x255f0d;if(_0x354287==null)return;const {skeleton:_0x2010ea}=_0x354287,{scene:_0x131429}=this[_0x39ed9d(0x283)];_0x131429[_0x39ed9d(0x215)]['subscribeEvent'](_0x4b9814(_0x5b27ac=>{const _0x3da474=_0x39ed9d;var _0x221f85,_0x1736c9;const {offsetX:_0x3d6e24,offsetY:_0x1fb6b7}=_0x5b27ac,{x:_0x358708,y:_0x1d7841}=_0x131429['getRelativeToViewportCoord'](_0x5900fd[_0x3da474(0x34b)]([_0x3d6e24,_0x1fb6b7])),{scaleX:_0x1a5b7b,scaleY:_0x7e84c1}=_0x131429['getAncestorScale'](),_0x302065=_0x131429[_0x3da474(0x2f2)](_0xbe2a81['VIEW_MAIN']),_0x1e00ed=_0x131429['getVpScrollXYInfoByPosToVp'](_0x5900fd[_0x3da474(0x34b)]([_0x358708,_0x1d7841]),_0x302065),_0x2f2f3c=_0x2010ea[_0x3da474(0x237)](_0x3d6e24,_0x1fb6b7,_0x1a5b7b,_0x7e84c1,_0x1e00ed);((_0x221f85=this['_lastPointer'])==null?void 0x0:_0x221f85[_0x3da474(0x1a0)])===_0x2f2f3c['column']&&((_0x1736c9=this['_lastPointer'])==null?void 0x0:_0x1736c9[_0x3da474(0x273)])===_0x2f2f3c['row']||this[_0x3da474(0x31f)][_0x3da474(0x1d6)](_0x426928=>{const _0xe50151=_0x3da474;_0x426928[_0xe50151(0x22b)](_0x2f2f3c);});},0x64));});}[_0xecf6b6(0x205)](_0x28812a,_0x598370){const _0x1d0a46=_0xecf6b6;var _0x5e8074;const _0x425943=(_0x5e8074=this[_0x1d0a46(0x2af)]['getCurrent']())==null?void 0x0:_0x5e8074['skeleton'];if(!_0x425943)return;const _0x489d2a=this[_0x1d0a46(0x2e0)]();if(!_0x489d2a)return;this[_0x1d0a46(0x31f)][_0x1d0a46(0x1d6)](_0x5613ab=>{const _0x49475c=_0x1d0a46;_0x5613ab[_0x49475c(0x342)]();});const {scene:_0x395114}=_0x489d2a,_0x47bae5=Bi(Array[_0x1d0a46(0x26b)](_0x598370[_0x1d0a46(0x17a)]()))[_0x1d0a46(0x324)](_0x2ac467=>{const _0x19e699=_0x1d0a46,{color:_0x4cbf84,range:_0x260264,name:_0x433755,selection:_0x475f9f,sheetID:_0x5af12f}=_0x2ac467,{startColumn:_0x3f02a4,startRow:_0x4ec43c,endColumn:_0x35c5de,endRow:_0x4b717b}=_0x260264,_0x1b08bc=_0x5357e8(_0x4ec43c,_0x3f02a4,_0x395114,_0x425943),_0x505a94=_0x5357e8(_0x4b717b,_0x35c5de,_0x395114,_0x425943),{columnHeaderHeightAndMarginTop:_0x1ad6c8}=_0x425943,{startX:_0xfa1329,startY:_0x4453d8}=_0x1b08bc,{endX:_0x249ec7,endY:_0x3fb391}=_0x505a94,_0x1d7cdd=_0x249ec7-_0xfa1329,_0x556740=_0x3fb391-_0x4453d8,_0x573f4b={'labelPosition':_0x4453d8-_0x1ad6c8>=te?_0x19e699(0x256):_0x19e699(0x254),'sheetID':_0x5af12f,'range':_0x260264,'color':_0x4cbf84,'name':_0x433755,'selection':_0x475f9f,'left':_0xfa1329,'top':_0x4453d8,'width':_0x1d7cdd,'height':_0x556740,'evented':!0x1,'zIndex':xi};return new Ai(_0x433755,_0x573f4b);});_0x395114[_0x1d0a46(0x177)](_0x47bae5,wi),this['_cursors']=new Set(_0x47bae5);}['_removeCollabCursors'](){const _0x1db40b=_0xecf6b6;var _0x3bea82;(_0x3bea82=this[_0x1db40b(0x31f)])==null||_0x3bea82[_0x1db40b(0x1d6)](_0x18d4a3=>_0x18d4a3['dispose']());}[_0xecf6b6(0x2e0)](){const _0x31505d=_0xecf6b6;return _0x44b9b8(this[_0x31505d(0x283)][_0x31505d(0x2c6)],this[_0x31505d(0x283)]);}};Le=$i([pe(0x1,_0x3f3053(_0x304f9e)),pe(0x2,_0x3f3053(H)),pe(0x3,_0x3f3053(_0x37132f))],Le);function Bi(_0x1c2c17){const _0x1edbc7=_0xecf6b6,_0x271510=new Map();return _0x1c2c17['forEach'](_0xed5676=>{const _0x4fcd3c=_0x3768;if(_0x271510[_0x4fcd3c(0x32d)](_0xed5676[_0x4fcd3c(0x2a6)])){const _0x4fee10=_0x271510[_0x4fcd3c(0x210)](_0xed5676[_0x4fcd3c(0x2a6)]);_0x4fee10[_0x4fcd3c(0x321)]+=',\x20'+_0xed5676['name'];}else _0x271510[_0x4fcd3c(0x161)](_0xed5676[_0x4fcd3c(0x2a6)],_0xed5676);}),Array[_0x1edbc7(0x26b)](_0x271510[_0x1edbc7(0x17a)]());}var I=function(){return I=Object['assign']||function(_0x2a8a5d){const _0x1a7f66=_0x3768;for(var _0x161355,_0x3cdba6=0x1,_0x1c1ebc=arguments['length'];_0x3cdba6<_0x1c1ebc;_0x3cdba6++){_0x161355=arguments[_0x3cdba6];for(var _0x556e5e in _0x161355)Object[_0x1a7f66(0x18d)]['hasOwnProperty']['call'](_0x161355,_0x556e5e)&&(_0x2a8a5d[_0x556e5e]=_0x161355[_0x556e5e]);}return _0x2a8a5d;},I['apply'](this,arguments);},ki=function(_0x224a64,_0x580c0c){const _0x282e5d=_0xecf6b6;var _0x228264={};for(var _0x577ce0 in _0x224a64)Object['prototype'][_0x282e5d(0x192)]['call'](_0x224a64,_0x577ce0)&&_0x580c0c[_0x282e5d(0x1d7)](_0x577ce0)<0x0&&(_0x228264[_0x577ce0]=_0x224a64[_0x577ce0]);if(_0x224a64!=null&&typeof Object[_0x282e5d(0x247)]==_0x282e5d(0x1a5)){for(var _0x1df75b=0x0,_0x577ce0=Object[_0x282e5d(0x247)](_0x224a64);_0x1df75b<_0x577ce0[_0x282e5d(0x303)];_0x1df75b++)_0x580c0c[_0x282e5d(0x1d7)](_0x577ce0[_0x1df75b])<0x0&&Object[_0x282e5d(0x18d)][_0x282e5d(0x2ec)][_0x282e5d(0x22c)](_0x224a64,_0x577ce0[_0x1df75b])&&(_0x228264[_0x577ce0[_0x1df75b]]=_0x224a64[_0x577ce0[_0x1df75b]]);}return _0x228264;},We=_0x37d099(function(_0x4c8a66,_0x5ae123){const _0x10e0ba=_0xecf6b6;var _0xab48e6=_0x4c8a66[_0x10e0ba(0x335)],_0x4dd89e=_0x4c8a66['id'],_0x5a8e67=_0x4c8a66[_0x10e0ba(0x29f)],_0x3d2814=_0x4c8a66[_0x10e0ba(0x1c0)],_0x2b32c3=ki(_0x4c8a66,['icon','id',_0x10e0ba(0x29f),'extend']),_0x4e2f65=_0x10e0ba(0x1af)['concat'](_0x4dd89e,'\x20')[_0x10e0ba(0x154)](_0x5a8e67||'')[_0x10e0ba(0x21e)](),_0x545a69=_0x78567('_'[_0x10e0ba(0x154)](Wi()));return Nt(_0xab48e6,''[_0x10e0ba(0x154)](_0x4dd89e),{'defIds':_0xab48e6[_0x10e0ba(0x290)],'idSuffix':_0x545a69[_0x10e0ba(0x2a3)]},I({'ref':_0x5ae123,'className':_0x4e2f65},_0x2b32c3),_0x3d2814);});function Nt(_0x4b8302,_0x65bd99,_0x113343,_0x3007b4,_0x3918ca){const _0x2028d3=_0xecf6b6;return _0x3b8d9a(_0x4b8302[_0x2028d3(0x150)],I(I({'key':_0x65bd99},Hi(_0x4b8302,_0x113343,_0x3918ca)),_0x3007b4),(ji(_0x4b8302,_0x113343)[_0x2028d3(0x212)]||[])[_0x2028d3(0x324)](function(_0x4c882a,_0x7d9091){const _0xd8dee0=_0x2028d3;return Nt(_0x4c882a,''['concat'](_0x65bd99,'-')[_0xd8dee0(0x154)](_0x4b8302['tag'],'-')[_0xd8dee0(0x154)](_0x7d9091),_0x113343,void 0x0,_0x3918ca);}));}function Hi(_0x370a03,_0x4b4436,_0x395ed9){const _0x3d589e=_0xecf6b6;var _0x2098bf=I({},_0x370a03['attrs']);_0x395ed9!=null&&_0x395ed9[_0x3d589e(0x1bb)]&&_0x2098bf[_0x3d589e(0x2bd)]===_0x3d589e(0x1bb)&&(_0x2098bf[_0x3d589e(0x2bd)]=_0x395ed9[_0x3d589e(0x1bb)]),_0x370a03[_0x3d589e(0x150)]==='mask'&&_0x2098bf['id']&&(_0x2098bf['id']=_0x2098bf['id']+_0x4b4436['idSuffix']),Object[_0x3d589e(0x1b1)](_0x2098bf)[_0x3d589e(0x1d6)](function(_0x57f781){const _0x52e12d=_0x3d589e;var _0x277c80=_0x57f781[0x0],_0x5553ce=_0x57f781[0x1];_0x277c80===_0x52e12d(0x2fa)&&typeof _0x5553ce==_0x52e12d(0x2d2)&&(_0x2098bf[_0x277c80]=_0x5553ce[_0x52e12d(0x171)](/url\(#(.*)\)/,'url(#$1'[_0x52e12d(0x154)](_0x4b4436['idSuffix'],')')));});var _0xcc9c02=_0x4b4436[_0x3d589e(0x290)];return!_0xcc9c02||_0xcc9c02[_0x3d589e(0x303)]===0x0||(_0x370a03[_0x3d589e(0x150)]===_0x3d589e(0x194)&&_0x2098bf[_0x3d589e(0x244)]&&(_0x2098bf['xlink:href']=_0x2098bf[_0x3d589e(0x244)]+_0x4b4436[_0x3d589e(0x345)]),Object[_0x3d589e(0x1b1)](_0x2098bf)[_0x3d589e(0x1d6)](function(_0xb9ef0b){const _0x5e26fc=_0x3d589e;var _0x53e061=_0xb9ef0b[0x0],_0xedd51f=_0xb9ef0b[0x1];typeof _0xedd51f=='string'&&(_0x2098bf[_0x53e061]=_0xedd51f['replace'](/url\(#(.*)\)/,_0x5e26fc(0x229)[_0x5e26fc(0x154)](_0x4b4436[_0x5e26fc(0x345)],')')));})),_0x2098bf;}function ji(_0xc12a35,_0x162188){const _0x2c2a9a=_0xecf6b6;var _0x4f0f34,_0x3ef42b=_0x162188[_0x2c2a9a(0x290)];return!_0x3ef42b||_0x3ef42b[_0x2c2a9a(0x303)]===0x0?_0xc12a35:_0xc12a35[_0x2c2a9a(0x150)]===_0x2c2a9a(0x1b2)&&(!((_0x4f0f34=_0xc12a35[_0x2c2a9a(0x212)])===null||_0x4f0f34===void 0x0)&&_0x4f0f34[_0x2c2a9a(0x303)])?I(I({},_0xc12a35),{'children':_0xc12a35[_0x2c2a9a(0x212)][_0x2c2a9a(0x324)](function(_0x4362c2){const _0x4ed4d1=_0x2c2a9a;return typeof _0x4362c2['attrs']['id']==_0x4ed4d1(0x2d2)&&_0x3ef42b&&_0x3ef42b[_0x4ed4d1(0x1d7)](_0x4362c2[_0x4ed4d1(0x17c)]['id'])>-0x1?I(I({},_0x4362c2),{'attrs':I(I({},_0x4362c2[_0x4ed4d1(0x17c)]),{'id':_0x4362c2['attrs']['id']+_0x162188[_0x4ed4d1(0x345)]})}):_0x4362c2;})}):_0xc12a35;}function Wi(){const _0x12fc83=_0xecf6b6;return Math[_0x12fc83(0x2ac)]()[_0x12fc83(0x2cc)](0x24)['substring'](0x2,0x8);}We[_0xecf6b6(0x22d)]=_0xecf6b6(0x35a);var Fi={'tag':'svg','attrs':{'fill':_0xecf6b6(0x1b6),'viewBox':_0xecf6b6(0x225),'width':_0xecf6b6(0x2c1),'height':_0xecf6b6(0x2c1)},'children':[{'tag':'g','attrs':{'clipPath':_0xecf6b6(0x24d)},'children':[{'tag':_0xecf6b6(0x1e9),'attrs':{'stroke':_0xecf6b6(0x175),'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':_0xecf6b6(0x325),'strokeLinejoin':_0xecf6b6(0x325),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0xecf6b6(0x17d),'attrs':{'id':_0xecf6b6(0x337)},'children':[{'tag':_0xecf6b6(0x1e9),'attrs':{'fill':_0xecf6b6(0x272),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},Ut=_0x37d099(function(_0x2bb7be,_0x1025e0){const _0x3b4f8f=_0xecf6b6;return _0x3b8d9a(We,Object[_0x3b4f8f(0x328)]({},_0x2bb7be,{'id':_0x3b4f8f(0x190),'ref':_0x1025e0,'icon':Fi}));});Ut[_0xecf6b6(0x22d)]=_0xecf6b6(0x274);var Yi={'tag':_0xecf6b6(0x209),'attrs':{'fill':_0xecf6b6(0x1b6),'viewBox':_0xecf6b6(0x234),'width':'1em','height':_0xecf6b6(0x2c1)},'children':[{'tag':'g','attrs':{'clipPath':_0xecf6b6(0x23a)},'children':[{'tag':_0xecf6b6(0x1e9),'attrs':{'stroke':'currentColor','d':_0xecf6b6(0x31e),'strokeLinecap':_0xecf6b6(0x325),'strokeLinejoin':_0xecf6b6(0x325),'strokeWidth':1.2}}]},{'tag':_0xecf6b6(0x1b2),'attrs':{},'children':[{'tag':_0xecf6b6(0x17d),'attrs':{'id':_0xecf6b6(0x2ef)},'children':[{'tag':_0xecf6b6(0x1e9),'attrs':{'fill':_0xecf6b6(0x272),'d':_0xecf6b6(0x313),'transform':_0xecf6b6(0x1f9)}}]}]}],'defIds':[_0xecf6b6(0x2ef)]},Mt=_0x37d099(function(_0x559348,_0x846960){const _0x4c96c2=_0xecf6b6;return _0x3b8d9a(We,Object[_0x4c96c2(0x328)]({},_0x559348,{'id':_0x4c96c2(0x1d9),'ref':_0x846960,'icon':Yi}));});Mt[_0xecf6b6(0x22d)]=_0xecf6b6(0x2d0);const Vi=_0xecf6b6(0x294),Xi='univer-online-status-title',Gi=_0xecf6b6(0x28f),Ki='univer-online',zi=_0xecf6b6(0x2a0),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x20cf27){const _0x58812b=_0xecf6b6;switch(_0x20cf27){case _0x1b69de['OFFLINE']:return _0x58812b(0x19f);case _0x1b69de['CONFLICT']:return _0x58812b(0x1b9);case _0x1b69de[_0x58812b(0x1b3)]:return'collabStatus.fetchMiss';case _0x1b69de[_0x58812b(0x1f5)]:return _0x58812b(0x235);case _0x1b69de[_0x58812b(0x1cd)]:case _0x1b69de[_0x58812b(0x2b1)]:return _0x58812b(0x2f6);case _0x1b69de[_0x58812b(0x21a)]:case _0x1b69de['PENDING']:return _0x58812b(0x169);}}function Zi(_0x3d997a){const _0x2be73e=_0xecf6b6,{status$:_0x259340}=_0x3d997a,_0x29ba60=_0x2ec369(_0x259340,_0x1b69de['NOT_COLLAB']),_0x473601=_0x15780a(_0x131cc7),_0x559383=_0x15780a(_0xdb4a22),_0x341558=_0x29ba60!==_0x1b69de[_0x2be73e(0x170)],_0xf855ed=_0x473601['t'](Ji(_0x29ba60)),_0x1deaa1=_0x6d83d4(G[_0x2be73e(0x1f7)],{[G[_0x2be73e(0x306)]]:_0x341558,[G[_0x2be73e(0x233)]]:!_0x341558}),_0x27ff8f=_0x341558?_0x3a8072(Mt,{}):_0x3a8072(Ut,{}),_0x3c79be=_0x2d1022(()=>{const _0x5146d5=_0x2be73e;_0x341558||_0x559383[_0x5146d5(0x1b8)]();},[_0x341558,_0x559383]);function _0x59719a(){const _0x36b4f0=_0x2be73e;return _0x5d2475(_0x36b4f0(0x2b2),{'className':_0x6d83d4(_0x1deaa1,_0x36b4f0(0x1ef)),'onClick':_0x3c79be,'children':[_0x3a8072(_0x36b4f0(0x2b2),{'className':G[_0x36b4f0(0x2de)],'children':_0x27ff8f}),_0x3a8072('div',{'className':G[_0x36b4f0(0x191)],'children':_0xf855ed})]});}return _0x341558?_0x59719a():_0x3a8072(_0x466eca,{'title':_0x473601['t'](_0x2be73e(0x18b)),'children':_0x59719a()});}var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x1eccb6,_0x5cf90a,_0x5c865f,_0x7b8a40)=>{const _0x44394f=_0xecf6b6;for(var _0x5e3e2c=_0x7b8a40>0x1?void 0x0:_0x7b8a40?Qi(_0x5cf90a,_0x5c865f):_0x5cf90a,_0x459f09=_0x1eccb6[_0x44394f(0x303)]-0x1,_0x179a3b;_0x459f09>=0x0;_0x459f09--)(_0x179a3b=_0x1eccb6[_0x459f09])&&(_0x5e3e2c=_0x179a3b(_0x5e3e2c)||_0x5e3e2c);return _0x5e3e2c;},q=(_0x5025a2,_0x41650d)=>(_0x1683d5,_0x436671)=>_0x41650d(_0x1683d5,_0x436671,_0x5025a2);let se=class extends _0x5ada09{constructor(_0x46995b,_0x43eb39,_0x2be8f5,_0x6dbda1){const _0x1fe460=_0xecf6b6;super(),_(this,_0x1fe460(0x35b),new _0x1b4432(_0x1b69de[_0x1fe460(0x1f5)])),(this[_0x1fe460(0x307)]=_0x46995b,this[_0x1fe460(0x297)]=_0x43eb39,this[_0x1fe460(0x249)]=_0x2be8f5,this[_0x1fe460(0x232)]=_0x6dbda1,this[_0x1fe460(0x323)](),this[_0x1fe460(0x15e)]());}[_0xecf6b6(0x15e)](){const _0x675741=_0xecf6b6;this[_0x675741(0x312)](this[_0x675741(0x307)][_0x675741(0x1a7)]['pipe'](_0x730f29(()=>{const _0x37838d=_0x675741,_0x5b1a29=this[_0x37838d(0x307)]['getFocusedUnit']();return _0x5b1a29?this[_0x37838d(0x249)][_0x37838d(0x279)](_0x5b1a29[_0x37838d(0x295)]()):_0x49d6d7(null);}),_0x730f29(_0x55b09a=>_0x55b09a?_0x55b09a['status$']:_0x49d6d7(_0x1b69de[_0x675741(0x1f5)])))['subscribe'](_0x3a7656=>{const _0x181fc4=_0x675741;this[_0x181fc4(0x35b)][_0x181fc4(0x20f)](_0x3a7656);}));}[_0xecf6b6(0x323)](){const _0xe0b132=_0xecf6b6;this['disposeWithMe'](this[_0xe0b132(0x232)]['registerComponent'](_0x19e3a5[_0xe0b132(0x1a4)],()=>_0x2493e3(en({'status$':this[_0xe0b132(0x35b)]['asObservable']()}),this[_0xe0b132(0x297)])));}};se=qi([q(0x0,_0x2d0643),q(0x1,_0x3f3053(_0x326ab6)),q(0x2,_0x3f3053(_0x577c9e)),q(0x3,_0x1b5ea8)],se);function en(_0x16d43a){const {status$:_0x18ea74}=_0x16d43a;return function(){return _0x3a8072(Zi,{'status$':_0x18ea74});};}function _0x3768(_0xbda39e,_0x22c40d){const _0x3e6c5a=_0x3e6c();return _0x3768=function(_0x3768c6,_0x7f3791){_0x3768c6=_0x3768c6-0x14f;let _0x59b5b3=_0x3e6c5a[_0x3768c6];return _0x59b5b3;},_0x3768(_0xbda39e,_0x22c40d);}var tn=Object[_0xecf6b6(0x1c4)],sn=(_0x4eb878,_0x64aa37,_0x27b2d9,_0x3c3f1c)=>{const _0x4930cf=_0xecf6b6;for(var _0x393907=_0x3c3f1c>0x1?void 0x0:_0x3c3f1c?tn(_0x64aa37,_0x27b2d9):_0x64aa37,_0xf8698d=_0x4eb878[_0x4930cf(0x303)]-0x1,_0x5694a1;_0xf8698d>=0x0;_0xf8698d--)(_0x5694a1=_0x4eb878[_0xf8698d])&&(_0x393907=_0x5694a1(_0x393907)||_0x393907);return _0x393907;},B=(_0x5917af,_0x401ad5)=>(_0x692d7e,_0x2e2045)=>_0x401ad5(_0x692d7e,_0x2e2045,_0x5917af);let ie=class extends _0x5ada09{constructor(_0x1fd60e,_0x1d56d2,_0x352b61,_0x22baed,_0x243738,_0x294eee){const _0x20fd77=_0xecf6b6;super(),this[_0x20fd77(0x23c)]=_0x1fd60e,this[_0x20fd77(0x2ad)]=_0x1d56d2,this[_0x20fd77(0x2fe)]=_0x352b61,this['_messageService']=_0x22baed,this['_notificationService']=_0x243738,this[_0x20fd77(0x240)]=_0x294eee,this[_0x20fd77(0x2c4)](),this[_0x20fd77(0x2ca)]();}[_0xecf6b6(0x2c4)](){const _0x33da50=_0xecf6b6;this['disposeWithMe'](this[_0x33da50(0x23c)][_0x33da50(0x34c)](()=>{const _0x58b43e=_0x33da50;if(this[_0x58b43e(0x2ad)]['saveTaskMap'][_0x58b43e(0x252)])return this[_0x58b43e(0x240)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x5ad8de=_0xecf6b6;this['disposeWithMe'](this[_0x5ad8de(0x2fe)][_0x5ad8de(0x2e8)]['subscribe'](_0x341a8d=>{const _0x5d3372=_0x5ad8de;_0x341a8d['id']===_0x54d850['OTHER_CLIENT_EDITING']&&this[_0x5d3372(0x350)][_0x5d3372(0x351)]({'type':_0xd0ce35[_0x5d3372(0x32a)],'content':this[_0x5d3372(0x240)]['t']('collaboration.single-unit.warning')}),_0x341a8d['id']===_0x54d850[_0x5d3372(0x2fd)]&&this[_0x5d3372(0x350)][_0x5d3372(0x351)]({'type':_0xd0ce35[_0x5d3372(0x32a)],'content':this[_0x5d3372(0x240)]['t'](_0x5d3372(0x2f7))}),_0x341a8d['id']===_0x54d850[_0x5d3372(0x1a8)]&&this[_0x5d3372(0x255)][_0x5d3372(0x351)]({'title':this[_0x5d3372(0x240)]['t'](_0x5d3372(0x2cd)),'content':this[_0x5d3372(0x240)]['t'](_0x5d3372(0x25b)),'type':_0x5d3372(0x1bf),'duration':0x0}),_0x341a8d['id']===_0x54d850[_0x5d3372(0x1d0)]&&this['_messageService'][_0x5d3372(0x351)]({'type':_0xd0ce35['Error'],'content':this[_0x5d3372(0x240)]['t'](_0x5d3372(0x2f7))+'('+_0x341a8d['data']+')'}),_0x341a8d['id']===_0x54d850['JOIN_ROOM_FAILED']&&this[_0x5d3372(0x350)]['show']({'type':_0xd0ce35[_0x5d3372(0x32a)],'content':this[_0x5d3372(0x240)]['t'](_0x341a8d['data']||'')}),_0x341a8d['id']===_0x54d850['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x5d3372(0x351)]({'type':_0xd0ce35[_0x5d3372(0x32a)],'content':this[_0x5d3372(0x240)]['t']('session.will-retry')}),_0x341a8d['id']===_0x54d850[_0x5d3372(0x2a1)]&&this[_0x5d3372(0x350)][_0x5d3372(0x351)]({'type':_0xd0ce35['Error'],'content':this[_0x5d3372(0x240)]['t'](_0x5d3372(0x174))}),_0x341a8d['id']===_0x54d850[_0x5d3372(0x2a5)]&&this[_0x5d3372(0x350)][_0x5d3372(0x351)]({'type':_0xd0ce35[_0x5d3372(0x300)],'content':this[_0x5d3372(0x240)]['t'](_0x5d3372(0x30a))});}));}};ie=sn([B(0x0,_0x31a51c),B(0x1,_0x5e0ed0),B(0x2,_0x3f3053(_0x31b77b)),B(0x3,_0x2936f0),B(0x4,_0x250c38),B(0x5,_0x3f3053(_0x131cc7))],ie);const nn='collaboration-client-ui.config',st={},Pt=_0x2b2500(_0xecf6b6(0x151));var rn=Object[_0xecf6b6(0x1c4)],on=(_0x2a52e9,_0x5ac029,_0x2d350e,_0x3ec93e)=>{const _0x2619c4=_0xecf6b6;for(var _0x1c0e95=_0x3ec93e>0x1?void 0x0:_0x3ec93e?rn(_0x5ac029,_0x2d350e):_0x5ac029,_0x19e6e8=_0x2a52e9[_0x2619c4(0x303)]-0x1,_0x2ab454;_0x19e6e8>=0x0;_0x19e6e8--)(_0x2ab454=_0x2a52e9[_0x19e6e8])&&(_0x1c0e95=_0x2ab454(_0x1c0e95)||_0x1c0e95);return _0x1c0e95;},K=(_0x1efb69,_0x287acf)=>(_0x3074df,_0x4276d4)=>_0x287acf(_0x3074df,_0x4276d4,_0x1efb69);function _0x3e6c(){const _0x1c6566=['_getSessionTicket','backgroundColor','_session','#fff','row','OffLineSingle','transformStateCache','_colorIndex','save','_initEntityListener','getCollabEntity$','split','_memberService','_shapes','_send','wsSessionTicketUrl','MOBILE_HAS_BEEN_BOUND','UNIVER_SHEET','setShapeProps','INVALID_INVITE_CODE','_context','toRgbString','setInterval','currentTheme$','_createSocketURL','getAncestorScale','createInstance','getUnhiddenWorksheets','disableLocalCache','subunit','dispose$','href','univer-online-status','defIds','UNAUTHENTICATED','m2Prime','transformRemoteChangeset','univer-online-status-icon','getUnitId','editingUnit','_injector','requireSession','engine','_id','_color','beginPath','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','arc','className','univer-offline','SOCKET_FAILED','YUUMI_NO_CUBOID_FOR_QUESTION','current','unitId','SUBMIT_CHANGESET_TIMEOUT','selection','some','dispose','_refreshCollabCursors','setConfig','NOT_FOUND','random','_localCacheService','_docStateChangeManagerService','_sheetSkeletonManagerService','TEXT','AWAITING_WITH_PENDING','div','_updateLocalCursor','application/json','runOnServer','EMAIL_HAS_BEEN_BOUND','endColumn','lineTo','transformMutation','then','getItem','transformMutationsWithChangeset','fill','getParam','undoState','gold400','1em','clearInterval','_getSaveTimeout','_setupBeforeClosingHandler','setTimeout','unit','history','_transformService','_docTransformIMECacheService','_initEvent','RemoveRowCommandId','toString','permission.title','LICENSE_IMPORT_SIZE_EXCEEDED','getMember','OnLineSingle','subscribe','string','_renderManagerService','getRangePointData','range','findNodePositionByCharIndex','_httpService','_imageIoService','_eventUnsubscribe','min','transformIMECache','pipe','_scheduleSaving','onlineStatusIcon','2131180zTThtK','_getSheetObject','_getAnchorBounding','_assignedColors','_commandService','_urlService','syncEditingCollabCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','YUUMI_SUBSCRIPTION_NOT_FOUND','event$','_registerRenderDependencies','executeCommand','removeParam','propertyIsEnumerable','INVITE_CODE_HAS_BEEN_UES','fillStyle','on-line-single_clip0_910_349','deepClone','PY_RUNTIME_SCRIPT_ERROR','getViewport','[RemoteUniscriptService]:\x20no\x20focused\x20unit','LICENSE_EXPORT_SIZE_EXCEEDED','_dataLoaderService','collabStatus.syncing','collaboration.closeRoom','...','measureText','mask','selections','ONLINE','CLOSE_ROOM','_collaborationUIEventService','sheetID','Error','exhaustSavingTask','_cursor','length','width','_name','online','_univerInstanceService','_selfUnitIDs','origin','session.collaboration-timeout','red300','memberID','saveTaskMap','newValue','result','_render','whenReady','disposeWithMe','M0\x200H16V16H0z','drawWith','_clearOtherTimers','text','color','setActiveRange','CHANGESET_REVISION_CONFILICT','activeSheet$','getRenderById','_entityInit$','mutations','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','_cursors','unshift','name','executionId','_initStatusComponent','map','round','getCollabCursors$','_startDocCollabCursor','assign','getUndoRedoMutationParamsCache','Warning','_startSheetCollabCursor','INVITE_CODE_ALREADY_BOUND','has','registerRenderModule','681jCiNQl','m1Prime','UPDATE_CURSOR','_refRangeService','push','subUnitId','icon','YUUMI_RATE_OVER_LIMIT','off-line-single_clip0_910_343','search','send','LICENSE_DISTRO_REJECTED','WECHAT_HAS_BEEN_BOUND','assignAColorForMemberID','isEditing','COMPLETION_FINISHED','APPLY_REVISION_CONFILICT','delete','[CollaborationDataLoaderController]','makeDirty','black','getTypeOfUnitAdded$','idSuffix','font','_doCreateSocket','setParam','Failed','_initResize','FromArray','registerBeforeClose','getCurrentRevOfUnit','_docTransformStateCacheService','_transformPreviousActiveRange','_messageService','show','registerRefRange','566720ANRQss','_docSkeletonManagerService','ALREADY_EXISTS','USERS_LEAVE','getValue','_toggleOffline','collab-text-range-','UniverIcon','_status$','generateRandomId','_logService','restore','getStateCache','_toggleOnline','_onRefRangeChange','tag','uni.network.url-service','textRanges','_anchor','concat','_removeClearOtherTimer','blue400','currentSkeleton$','endRow','rgba(255,\x20255,\x20255,\x200.01)','runId','unsubscribe','collabCursorState$','cursorInfo','_initStatusListener','470wBZhEV','params','set','_range','getActiveSheet','fillText','searchParams','contains','replaceState','InsertColCommandId','collabStatus.synced','unitID','enableLocalCache','Unknown\x20user','onPointerEnter$','_docClipboardService','ENSURE_SNAPSHOT_EXECUTION','OFFLINE','replace','CONNECTOR_DATA_TOO_LARGE','InsertRangeMoveDownCommandId','session.connection-failed','currentColor','_docSkeleton','addObjects','SNAPSHOT_HAS_BEEN_REMOVED','addObject','values','_updateURLWithCurrentState','attrs','clipPath','_onCursorUpdate','redoState','_hideTimer','saveOfflineData','getFocusedUnit','DeleteRangeMoveUpCommandId','imageSourceType','_unitStatus','getTypeOfUnitDisposed$','_getMergeRange','sessionTicket','evenodd','getSheetId','collab-client.tooltip.reconnect','InsertRowCommandId','prototype','_entities','complete','off-line-single','onlineStatusTitle','hasOwnProperty','resize','use','cursorInfo$','_hover','transformSelections','roomMembers$','doc.mutation.rich-text-editing','onTransformChange$','_draw','SNAPSHOT_INVALID_SNAPSHOT','hide','_docSyncEditingCollabCursorService','collabStatus.offline','column','_themeService','onRendered','RECT','HEADER_MENU','function','4613OqqHKn','focused$','PERMISSION_DENIED','setItem','_handleJoinEvent','_online','override','_syncEditingCollabCursorService','pluginName','univerjs-icon\x20univerjs-icon-','_instanceService','entries','defs','FETCH_MISS','LOGIN_FAILED','_document','none','_handleHeartbeatEvent','reconnect','collabStatus.conflict','_cursorInfo$','colorChannel1','getOffsetConfig','onStarting','_ensureSubject','error','extend','isArray','_hovered','8MUnNQJ','getOwnPropertyDescriptor','APPLY_NON_SEQUENTIAL_REVISION','_configService','debug','_onCursorDelete','_collabCursorController','RemoveColCommandId','source','urlChange$','AWAITING','roomMembers','getCurrentSelections','CONFLICT','ranges','_collabSessionService','INTERNAL_ERROR','location','getCurrentUnitForType','forEach','indexOf','_removeCollabCursors','on-line-single','onLocalMutation','addHandlerCallback','getActiveRange','_localStorageService','_revisionService','MoveRangeCommandId','_handleHover','updateOfflineData','unload','ticket','YUUMI_UNABLE_LOAD_URL','invokeId','YUUMI_ASYNCIO_CANCELLED','getConfig','USER_NOT_INVITED_CODE','path','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_anchorDot','getDocRanges','_unitOnClients','InsertRangeMoveRightCommandId','univer-flex\x20univer-items-center','clearTimeout','_saveTaskMap','parse','storage','setAlpha','NOT_COLLAB','fillRule','onlineStatus','APPLY_DUPLICATED','translate(.97)','_collabCursorState$','all','UNDEFINED','DeleteRangeMoveLeftCommandId','with','_disabled','_textBubble','INVITE_CODE_REQUIRED','_getScale','APPLY_REJECT','defineProperty','_updateCollabCursors','code','APPLY_PERMISSION_DENIED','_init','svg','purple300','_handleLeaveEvent','key','_config','_scheduleClearOtherTimer','next','get','find','children','_roomMembers$','_transformUndoRedoStack','onPointerMove$','popstate','body','UNRECOGNIZED','transformByState','SYNCED','onCommandExecuted','collab-rect-range-','_scene','trim','_initDependencies','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','data','_labelPosition','init','asObservable','0\x200\x2016\x2016','symbol','subscribeEvent','docStateChange$','url(#$1','5576015LDTGdq','onMouseMove','call','displayName','_cursorShapes','moveTo','OTHER_CLIENTS_EDITING','type','_uiPartsService','offline','0\x200\x2017\x2016','collabStatus.notCollab','isActive','getCellPositionByOffset','height','_docTransformSelectionsService','url(#on-line-single_clip0_910_349)','transform','_beforeCloseService','eventID','YUUMI_URL_COL_OUT_OF_RANGE','collab-text-anchor-','_localeService','UNIVER_DOC','jiqing500','_drawAnchor','xlink:href','INVALID_ARGUMENT','loadUnit','getOwnPropertySymbols','sessionStatus$','_collaborationController','_drawTextRange','entityInit$','getSkeleton','url(#off-line-single_clip0_910_343)','_backgroundColor','getMemberID','_saveCache','replaceDocRanges','size','getSheetBySheetId','bottom','_notificationService','top','_setupSubUnitSync','_heartbeatTimer','onPointerLeave$','add','permission.content','LICENSE_MAX_UNITS_EXCEEDED','startsWith','_colorAssignService','NO_OTHER_CLIENTS_EDITING','stringify','_registerDependencies','8784xsPStv','_initCommandExecutedListener','/run/','15412uBLkzZ','disposeUnit','#FFF','87021hLChgT','_transformHistoryAndStateStack','getMergeData','from','411169hvsYAw','_updateSubUnitFromURLParams','_scheduleHeartbeat'];_0x3e6c=function(){return _0x1c6566;};return _0x3e6c();}let ne=class extends _0x2ecd4d{constructor(_0x313c0a,_0x1a3c8b,_0x5089f4,_0x262374,_0x382ba8){const _0xfedd95=_0xecf6b6;super(),this[_0xfedd95(0x2e4)]=_0x313c0a,this[_0xfedd95(0x35d)]=_0x1a3c8b,this[_0xfedd95(0x2e3)]=_0x5089f4,this[_0xfedd95(0x2f5)]=_0x262374,_0x382ba8?_0x382ba8==null||_0x382ba8[_0xfedd95(0x311)]()[_0xfedd95(0x2ba)](()=>this[_0xfedd95(0x208)]()):(this[_0xfedd95(0x35d)][_0xfedd95(0x1c7)](_0xfedd95(0x341),_0xfedd95(0x2e6)),this['_init']());}async[_0xecf6b6(0x208)](){const _0x584db5=_0xecf6b6,_0x58859e=this['_urlService']['getParam']('unit'),_0x494c52=this[_0x584db5(0x2e4)][_0x584db5(0x2be)]('type'),_0x1c20a0=this[_0x584db5(0x2e4)][_0x584db5(0x2be)](_0x584db5(0x28c));if(!_0x58859e||!_0x494c52){this[_0x584db5(0x35d)][_0x584db5(0x1c7)](_0x584db5(0x341),_0x584db5(0x1ea));return;}const _0x2110cd=await this[_0x584db5(0x2f5)][_0x584db5(0x246)](_0x58859e,Number(_0x494c52),_0x1c20a0);_0x2110cd&&_0x2110cd instanceof _0xb75853&&this['_setupSubUnitSync'](_0x2110cd);}async[_0xecf6b6(0x257)](_0x540e14){const _0xc33ff4=_0xecf6b6;await this[_0xc33ff4(0x26d)](_0x540e14),_0x540e14[_0xc33ff4(0x31a)][_0xc33ff4(0x2dc)](_0x56322b(this[_0xc33ff4(0x28d)]))[_0xc33ff4(0x2d1)](_0x32dab0=>{const _0x1d6577=_0xc33ff4;_0x32dab0&&this[_0x1d6577(0x17b)](_0x32dab0);}),this['_urlService']['urlChange$'][_0xc33ff4(0x2dc)](_0x56322b(this['dispose$']))[_0xc33ff4(0x2d1)](()=>this['_updateSubUnitFromURLParams'](_0x540e14));}[_0xecf6b6(0x17b)](_0x3e9fbd,_0xf3a06f=!0x1){const _0x4e5916=_0xecf6b6,_0x2bbe65=this[_0x4e5916(0x2e4)][_0x4e5916(0x2be)](_0x4e5916(0x28c));_0x3e9fbd[_0x4e5916(0x18a)]()!==_0x2bbe65&&this[_0x4e5916(0x2e4)][_0x4e5916(0x348)](_0x4e5916(0x28c),_0x3e9fbd[_0x4e5916(0x18a)](),_0xf3a06f);}async['_updateSubUnitFromURLParams'](_0x1144a1){const _0x1f73f4=_0xecf6b6;var _0x580efc;const _0x51d426=this[_0x1f73f4(0x2e4)]['getParam'](_0x1f73f4(0x28c));if(!_0x51d426||!_0x1144a1[_0x1f73f4(0x253)](_0x51d426)){const _0x5c8859=_0x1144a1[_0x1f73f4(0x28a)]()[0x0],_0x51bf92=_0x1144a1[_0x1f73f4(0x253)](_0x5c8859);if(!_0x51bf92)return;this[_0x1f73f4(0x17b)](_0x51bf92,!0x0),await this[_0x1f73f4(0x2e3)]['executeCommand'](_0x58060a['id'],{'unitId':_0x1144a1[_0x1f73f4(0x295)](),'subUnitId':_0x5c8859});return;}((_0x580efc=_0x1144a1[_0x1f73f4(0x163)]())==null?void 0x0:_0x580efc['getSheetId']())!==_0x51d426&&await this[_0x1f73f4(0x2e3)][_0x1f73f4(0x2ea)](_0x58060a['id'],{'unitId':_0x1144a1['getUnitId'](),'subUnitId':_0x51d426});}};ne=on([K(0x0,Pt),K(0x1,_0x4308e0),K(0x2,_0x319364),K(0x3,_0x3f3053(_0x407eb5)),K(0x4,_0x56c1ed(_0x422623))],ne);var an=Object['getOwnPropertyDescriptor'],cn=(_0x21db70,_0x22ba88,_0x5f267f,_0x29bbb0)=>{for(var _0x2f7be7=_0x29bbb0>0x1?void 0x0:_0x29bbb0?an(_0x22ba88,_0x5f267f):_0x22ba88,_0x235803=_0x21db70['length']-0x1,_0x1f6ff6;_0x235803>=0x0;_0x235803--)(_0x1f6ff6=_0x21db70[_0x235803])&&(_0x2f7be7=_0x1f6ff6(_0x2f7be7)||_0x2f7be7);return _0x2f7be7;},Ce=(_0x1f226c,_0x119883)=>(_0x4d7ded,_0x47b2dc)=>_0x119883(_0x4d7ded,_0x47b2dc,_0x1f226c);let re=class{constructor(_0x581b48,_0x1413c5,_0x4c982b){const _0x31349b=_0xecf6b6;this['_injector']=_0x581b48,this[_0x31349b(0x2c8)]=_0x1413c5,this[_0x31349b(0x2d3)]=_0x4c982b;}[_0xecf6b6(0x2db)](_0x5b5d57){const _0x1a0e10=_0xecf6b6;this[_0x1a0e10(0x214)](_0x5b5d57),this[_0x1a0e10(0x34f)](_0x5b5d57);}[_0xecf6b6(0x293)](_0x5b1dba){const _0x4a99b1=_0xecf6b6,{unitID:_0x27e9b2}=_0x5b1dba,_0x5938c8=this['_renderManagerService'][_0x4a99b1(0x31b)](_0x27e9b2)[_0x4a99b1(0x1fe)](_0x5bc358),{redoCache:_0xd5029c}=_0x5938c8[_0x4a99b1(0x329)]();if(_0xd5029c[_0x4a99b1(0x303)]===0x0)return _0x5b1dba;let _0x561877=_0x2c63fe[_0x4a99b1(0x2f0)](_0x5b1dba[_0x4a99b1(0x31d)][0x0]);for(let _0x1dba18=0x0;_0x1dba18<_0xd5029c[_0x4a99b1(0x303)];_0x1dba18++){const _0x48d8d9={'id':_0x4a99b1(0x199),'params':{..._0xd5029c[_0x1dba18]}},_0xd59428=this['_transformService'][_0x4a99b1(0x2b9)](_0x561877,_0x48d8d9,!0x1);if(_0x23e293(_0xd59428))throw _0xd59428['error'];_0x561877=_0xd59428[_0x4a99b1(0x330)];}return{..._0x2c63fe['deepClone'](_0x5b1dba),'mutations':[_0x561877]};}['_transformUndoRedoStack'](_0x563b5e){const _0x42ecb0=_0xecf6b6,{unitID:_0x4e8075}=_0x563b5e,_0xede5ef=this[_0x42ecb0(0x2d3)][_0x42ecb0(0x31b)](_0x4e8075)[_0x42ecb0(0x1fe)](_0x5bc358),{undoCache:_0x464448,redoCache:_0x3b27b3}=_0xede5ef[_0x42ecb0(0x329)]();if(_0x464448[_0x42ecb0(0x303)]===0x0||_0x3b27b3[_0x42ecb0(0x303)]===0x0)return;const _0x191f1f=[],_0x25290e=[];let _0x28f3e0=_0x2c63fe[_0x42ecb0(0x2f0)](_0x563b5e[_0x42ecb0(0x31d)][0x0]),_0x2f369e=_0x2c63fe[_0x42ecb0(0x2f0)](_0x563b5e[_0x42ecb0(0x31d)][0x0]);for(let _0x13649a=_0x464448[_0x42ecb0(0x303)]-0x1;_0x13649a>=0x0;_0x13649a--){const _0x301fc7={'id':_0x42ecb0(0x199),'params':{..._0x464448[_0x13649a]}},_0x1b57a1={'id':_0x42ecb0(0x199),'params':{..._0x3b27b3[_0x13649a]}},_0x57d2ae=this[_0x42ecb0(0x2c8)]['transformMutation'](_0x28f3e0,_0x301fc7,!0x1),_0xa826a1=this[_0x42ecb0(0x2c8)][_0x42ecb0(0x2b9)](_0x2f369e,_0x1b57a1,!0x1);if(_0x23e293(_0x57d2ae))throw _0x57d2ae[_0x42ecb0(0x1bf)];if(_0x23e293(_0xa826a1))throw _0xa826a1[_0x42ecb0(0x1bf)];_0x191f1f[_0x42ecb0(0x320)](_0x57d2ae[_0x42ecb0(0x292)]['params']),_0x25290e[_0x42ecb0(0x320)](_0xa826a1['m2Prime']['params']),_0x28f3e0=_0x57d2ae[_0x42ecb0(0x330)],_0x2f369e=_0xa826a1['m1Prime'];}_0xede5ef['setUndoRedoMutationParamsCache']({'undoCache':_0x191f1f,'redoCache':_0x25290e});}[_0xecf6b6(0x34f)](_0x2d4ded){const _0x3b93a5=_0xecf6b6,{unitID:_0x5e7218}=_0x2d4ded,_0x518919=this[_0x3b93a5(0x2d3)][_0x3b93a5(0x31b)](_0x5e7218)[_0x3b93a5(0x1fe)](_0x5bc358),_0x2d074b=_0x518919[_0x3b93a5(0x1dc)]();if(_0x2d074b==null)return;const _0x457869=[{'id':_0x3b93a5(0x199),'params':{'unitId':_0x2d4ded['unitID'],'actions':null,'textRanges':[_0x2d074b]}}],_0x1a0bcd=this['_transformService'][_0x3b93a5(0x2bc)](_0x2d4ded,_0x457869);if(!_0x3f4526(_0x1a0bcd))throw _0x1a0bcd[_0x3b93a5(0x1bf)];const _0x8440eb=_0x1a0bcd[_0x3b93a5(0x292)][0x0]['params'][_0x3b93a5(0x152)];Array[_0x3b93a5(0x1c1)](_0x8440eb)&&_0x8440eb[_0x3b93a5(0x303)]&&_0x518919[_0x3b93a5(0x318)](_0x8440eb[0x0]);}};re=cn([Ce(0x0,_0x3f3053(_0x326ab6)),Ce(0x1,_0x4c77d9),Ce(0x2,_0x50ef32)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x3270f4,_0x25c832,_0x7fe83f,_0x46efc0)=>{const _0x3e5743=_0xecf6b6;for(var _0xbbf879=_0x46efc0>0x1?void 0x0:_0x46efc0?ln(_0x25c832,_0x7fe83f):_0x25c832,_0x1e6428=_0x3270f4[_0x3e5743(0x303)]-0x1,_0x39f56e;_0x1e6428>=0x0;_0x1e6428--)(_0x39f56e=_0x3270f4[_0x1e6428])&&(_0xbbf879=_0x39f56e(_0xbbf879)||_0xbbf879);return _0xbbf879;},Ee=(_0x4c88ff,_0x22d733)=>(_0xf443a4,_0xaf382f)=>_0x22d733(_0xf443a4,_0xaf382f,_0x4c88ff);let oe=class{constructor(_0x2b8a9a,_0x5db7b1,_0x172fd6){const _0x46d29a=_0xecf6b6;this[_0x46d29a(0x297)]=_0x2b8a9a,this[_0x46d29a(0x2c8)]=_0x5db7b1,this[_0x46d29a(0x2ae)]=_0x172fd6;}[_0xecf6b6(0x275)](_0x4a319b){const _0x37a59e=_0xecf6b6;this[_0x37a59e(0x269)](_0x4a319b);}[_0xecf6b6(0x293)](_0x5daafd){const _0x1b7bf7=_0xecf6b6,{unitID:_0x3397d4}=_0x5daafd,{collaboration:_0x34127e}=this[_0x1b7bf7(0x2ae)][_0x1b7bf7(0x35f)](_0x3397d4);if(_0x34127e['length']===0x0)return _0x5daafd;let _0x2830bc=_0x2c63fe[_0x1b7bf7(0x2f0)](_0x5daafd[_0x1b7bf7(0x31d)][0x0]);for(let _0x4fffc2=0x0;_0x4fffc2<_0x34127e['length'];_0x4fffc2++){const _0x3fdf1b={'id':_0x1b7bf7(0x199),'params':{'unitId':_0x34127e[_0x4fffc2][_0x1b7bf7(0x2a4)],..._0x34127e[_0x4fffc2][_0x1b7bf7(0x17f)]}},_0x5e21b0=this[_0x1b7bf7(0x2c8)]['transformMutation'](_0x2830bc,_0x3fdf1b,!0x1);if(_0x23e293(_0x5e21b0))throw _0x5e21b0[_0x1b7bf7(0x1bf)];_0x2830bc=_0x5e21b0[_0x1b7bf7(0x330)];}return{..._0x2c63fe[_0x1b7bf7(0x2f0)](_0x5daafd),'mutations':[_0x2830bc]};}['_transformHistoryAndStateStack'](_0x5c6d8c){const _0x1d2513=_0xecf6b6,{unitID:_0x2b2590}=_0x5c6d8c,{history:_0x2bb911,collaboration:_0x19377c}=this['_docStateChangeManagerService'][_0x1d2513(0x35f)](_0x2b2590);if(_0x2bb911['length']===0x0&&_0x19377c[_0x1d2513(0x303)]===0x0)return;const _0x314aac=[],_0x177bb8=[];let _0x422280=_0x2c63fe[_0x1d2513(0x2f0)](_0x5c6d8c[_0x1d2513(0x31d)][0x0]),_0x56518d=_0x2c63fe[_0x1d2513(0x2f0)](_0x5c6d8c[_0x1d2513(0x31d)][0x0]);for(let _0x41d5e6=_0x2bb911[_0x1d2513(0x303)]-0x1;_0x41d5e6>=0x0;_0x41d5e6--){const _0x1b2924={'id':_0x1d2513(0x199),'params':{'unitId':_0x2bb911[_0x41d5e6][_0x1d2513(0x2a4)],..._0x2bb911[_0x41d5e6][_0x1d2513(0x2bf)]}},_0x4e1351={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2bb911[_0x41d5e6][_0x1d2513(0x2a4)],..._0x2bb911[_0x41d5e6][_0x1d2513(0x17f)]}},_0x424c0b=this[_0x1d2513(0x2c8)]['transformMutation'](_0x422280,_0x1b2924,!0x1),_0x28c667=this[_0x1d2513(0x2c8)][_0x1d2513(0x2b9)](_0x56518d,_0x4e1351,!0x1);if(_0x23e293(_0x424c0b))throw _0x424c0b[_0x1d2513(0x1bf)];if(_0x23e293(_0x28c667))throw _0x28c667[_0x1d2513(0x1bf)];_0x314aac[_0x1d2513(0x320)]({..._0x2bb911[_0x41d5e6],'undoState':_0x424c0b[_0x1d2513(0x292)][_0x1d2513(0x160)],'redoState':_0x28c667['m2Prime'][_0x1d2513(0x160)]}),_0x422280=_0x424c0b[_0x1d2513(0x330)],_0x56518d=_0x28c667['m1Prime'];}_0x422280=_0x2c63fe['deepClone'](_0x5c6d8c[_0x1d2513(0x31d)][0x0]),_0x56518d=_0x2c63fe['deepClone'](_0x5c6d8c[_0x1d2513(0x31d)][0x0]);for(let _0x1b0270=_0x19377c[_0x1d2513(0x303)]-0x1;_0x1b0270>=0x0;_0x1b0270--){const _0x11459e={'id':_0x1d2513(0x199),'params':{'unitId':_0x19377c[_0x1b0270][_0x1d2513(0x2a4)],..._0x19377c[_0x1b0270]['undoState']}},_0x3ce388={'id':_0x1d2513(0x199),'params':{'unitId':_0x19377c[_0x1b0270][_0x1d2513(0x2a4)],..._0x19377c[_0x1b0270]['redoState']}},_0x360f74=this[_0x1d2513(0x2c8)][_0x1d2513(0x2b9)](_0x422280,_0x11459e,!0x1),_0x1cb1e8=this[_0x1d2513(0x2c8)]['transformMutation'](_0x56518d,_0x3ce388,!0x1);if(_0x23e293(_0x360f74))throw _0x360f74[_0x1d2513(0x1bf)];if(_0x23e293(_0x1cb1e8))throw _0x1cb1e8['error'];_0x177bb8[_0x1d2513(0x320)]({..._0x19377c[_0x1b0270],'undoState':_0x360f74[_0x1d2513(0x292)][_0x1d2513(0x160)],'redoState':_0x1cb1e8[_0x1d2513(0x292)][_0x1d2513(0x160)]}),_0x422280=_0x360f74[_0x1d2513(0x330)],_0x56518d=_0x1cb1e8[_0x1d2513(0x330)];}this[_0x1d2513(0x2ae)]['setStateCache'](_0x2b2590,{'history':_0x314aac,'collaboration':_0x177bb8});}};oe=_n([Ee(0x0,_0x3f3053(_0x326ab6)),Ee(0x1,_0x4c77d9),Ee(0x2,_0x3f3053(_0x3b884))],oe);var hn=Object[_0xecf6b6(0x1c4)],un=(_0x44454a,_0x3e166c,_0x15f71c,_0x14ba8d)=>{const _0x285757=_0xecf6b6;for(var _0x215859=_0x14ba8d>0x1?void 0x0:_0x14ba8d?hn(_0x3e166c,_0x15f71c):_0x3e166c,_0xc35b93=_0x44454a[_0x285757(0x303)]-0x1,_0xe945aa;_0xc35b93>=0x0;_0xc35b93--)(_0xe945aa=_0x44454a[_0xc35b93])&&(_0x215859=_0xe945aa(_0x215859)||_0x215859);return _0x215859;},it=(_0x2a7029,_0x4aa26b)=>(_0x228f3,_0x5cd76e)=>_0x4aa26b(_0x228f3,_0x5cd76e,_0x2a7029);let ae=class{constructor(_0x5cec80,_0x2cfeee){const _0x2d4c81=_0xecf6b6;this['_injector']=_0x5cec80,this[_0x2d4c81(0x2c8)]=_0x2cfeee;}['transformSelections'](_0x2bcbaf){const _0x2421c6=_0xecf6b6;var _0x3f221f;const _0x2fd1d4=this[_0x2421c6(0x297)]['get'](_0x2f703a),_0x20f00f=(_0x3f221f=_0x2fd1d4['getDocRanges']())!=null?_0x3f221f:[];if(_0x20f00f['length']===0x0)return;const _0x37e9b4=_0x2bcbaf[_0x2421c6(0x16a)],_0x27b709=[{'id':_0x2421c6(0x199),'params':{'unitId':_0x37e9b4,'actions':null,'textRanges':_0x20f00f}}],_0x13be22=this[_0x2421c6(0x2c8)][_0x2421c6(0x2bc)](_0x2bcbaf,_0x27b709);if(!_0x3f4526(_0x13be22))throw _0x13be22[_0x2421c6(0x1bf)];const _0x4acb7a=_0x13be22[_0x2421c6(0x292)][0x0][_0x2421c6(0x160)][_0x2421c6(0x152)];Array[_0x2421c6(0x1c1)](_0x4acb7a)&&_0x4acb7a[_0x2421c6(0x303)]&&_0x2fd1d4[_0x2421c6(0x251)](_0x4acb7a,{'unitId':_0x37e9b4,'subUnitId':_0x37e9b4},!0x1);}};ae=un([it(0x0,_0x3f3053(_0x326ab6)),it(0x1,_0x4c77d9)],ae);var dn=Object[_0xecf6b6(0x1c4)],fn=(_0xce12f0,_0x364b3a,_0x51967b,_0x392dc3)=>{for(var _0x37168a=_0x392dc3>0x1?void 0x0:_0x392dc3?dn(_0x364b3a,_0x51967b):_0x364b3a,_0x41d5e9=_0xce12f0['length']-0x1,_0x1f1c89;_0x41d5e9>=0x0;_0x41d5e9--)(_0x1f1c89=_0xce12f0[_0x41d5e9])&&(_0x37168a=_0x1f1c89(_0x37168a)||_0x37168a);return _0x37168a;},U=(_0x137576,_0x1419cc)=>(_0x2dec56,_0x35b675)=>_0x1419cc(_0x2dec56,_0x35b675,_0x137576);let ce=class extends _0x5ada09{constructor(_0x21fd46,_0x5ee3f8,_0x4ec357,_0x213064,_0x30c082,_0x1a3954,_0x29d596,_0x5ad0fb){const _0x38251e=_0xecf6b6;super(),_(this,_0x38251e(0x35b),new _0x1b4432(_0x1b69de[_0x38251e(0x1f5)])),(this[_0x38251e(0x2ae)]=_0x21fd46,this[_0x38251e(0x249)]=_0x5ee3f8,this[_0x38251e(0x2c9)]=_0x4ec357,this['_docTransformStateCacheService']=_0x213064,this[_0x38251e(0x239)]=_0x30c082,this[_0x38251e(0x19e)]=_0x1a3954,this['_messageService']=_0x29d596,this[_0x38251e(0x240)]=_0x5ad0fb,this['_initEntityListener']());}[_0xecf6b6(0x278)](){const _0x52c770=_0xecf6b6;this['disposeWithMe'](this[_0x52c770(0x249)][_0x52c770(0x24b)]['subscribe'](_0x13301d=>{const _0x465e4a=_0x52c770,_0x5cba33=this[_0x465e4a(0x2ae)][_0x465e4a(0x228)][_0x465e4a(0x2d1)](_0x2c7e23=>{const _0x5ac5f0=_0x465e4a;if(_0x2c7e23==null)return;const {unitId:_0x1172bb,redoState:_0xe6ffeb,commandId:_0x459710}=_0x2c7e23;if(_0x1172bb!==_0x13301d[_0x5ac5f0(0x16a)])return;const _0x1ea0da={'id':_0x459710,'type':_0x18483d['MUTATION'],'params':{'unitId':_0x1172bb,'actions':_0xe6ffeb['actions'],'textRanges':null}};_0x13301d[_0x5ac5f0(0x1da)](_0x1ea0da);});if(_0x13301d['disposeWithMe'](_0x5cba33),_0x13301d instanceof _0x3434a5){const _0x206c84={'onTransformIME':_0x50d694=>this['_docTransformIMECacheService'][_0x465e4a(0x2db)](_0x50d694),'onTransformState':_0x56beff=>this[_0x465e4a(0x34e)][_0x465e4a(0x275)](_0x56beff),'onTransformSelections':_0x4cd3a8=>this[_0x465e4a(0x239)][_0x465e4a(0x197)](_0x4cd3a8),'onSyncEditingCollabCursor':_0x5ac103=>this[_0x465e4a(0x19e)][_0x465e4a(0x2e5)](_0x5ac103),'onTransformRemoteChangesetByIMECache':_0x2b276a=>this[_0x465e4a(0x2c9)][_0x465e4a(0x293)](_0x2b276a),'onTransformRemoteChangesetByStateCache':_0x289951=>this['_docTransformStateCacheService'][_0x465e4a(0x293)](_0x289951)};_0x13301d[_0x465e4a(0x1db)](_0x206c84);}}));}};ce=fn([U(0x0,_0x3f3053(_0x3b884)),U(0x1,_0x3f3053(_0x577c9e)),U(0x2,_0x3f3053(re)),U(0x3,_0x3f3053(oe)),U(0x4,_0x3f3053(ae)),U(0x5,_0x3f3053(je)),U(0x6,_0x2936f0),U(0x7,_0x3f3053(_0x131cc7))],ce);var Sn=Object[_0xecf6b6(0x1c4)],mn=(_0x48c8a6,_0x4e6972,_0x1be557,_0x1af8b6)=>{const _0x2e055a=_0xecf6b6;for(var _0x138386=_0x1af8b6>0x1?void 0x0:_0x1af8b6?Sn(_0x4e6972,_0x1be557):_0x4e6972,_0x1707d8=_0x48c8a6[_0x2e055a(0x303)]-0x1,_0x234353;_0x1707d8>=0x0;_0x1707d8--)(_0x234353=_0x48c8a6[_0x1707d8])&&(_0x138386=_0x234353(_0x138386)||_0x138386);return _0x138386;},be=(_0x5203f1,_0x45b8cd)=>(_0x48a4ca,_0x26865c)=>_0x45b8cd(_0x48a4ca,_0x26865c,_0x5203f1);let Ae=class extends _0x5ada09{constructor(_0x5f273a,_0x57f44b,_0x4a2dd3){const _0xb5f90=_0xecf6b6;super(),_(this,'_cachedData',new Map()),_(this,_0xb5f90(0x1f1),new Map()),_(this,_0xb5f90(0x1ff),!0x1),(this[_0xb5f90(0x1c6)]=_0x5f273a,this[_0xb5f90(0x1dd)]=_0x57f44b,this[_0xb5f90(0x1de)]=_0x4a2dd3);}[_0xecf6b6(0x28b)](){const _0x56e6f7=_0xecf6b6;this[_0x56e6f7(0x1ff)]=!0x0;}[_0xecf6b6(0x16b)](){const _0xa1dd51=_0xecf6b6;this[_0xa1dd51(0x1ff)]=!0x1;}get[_0xecf6b6(0x30d)](){return this['_saveTaskMap'];}[_0xecf6b6(0x2a8)](){const _0x5b0adf=_0xecf6b6;this[_0x5b0adf(0x301)]()[_0x5b0adf(0x2ba)](()=>super[_0x5b0adf(0x2a8)]());}async['loadOfflineData'](_0x3bcb89){const _0x4f2406=_0xecf6b6;return this[_0x4f2406(0x1ff)]?null:this['_localStorageService'][_0x4f2406(0x2bb)](_0x8dfd93(_0x3bcb89));}async[_0xecf6b6(0x181)](_0xce4b4,_0x4be56e){const _0x398d92=_0xecf6b6;return!!this[_0x398d92(0x1dd)][_0x398d92(0x1a9)](_0xce4b4,_0x4be56e);}[_0xecf6b6(0x1e1)](_0x1eaf14,_0x4c5e58,_0x2754c5,_0x4fc48a){const _0xd9aef0=_0xecf6b6,_0x290cb4=this[_0xd9aef0(0x1de)][_0xd9aef0(0x34d)](_0x1eaf14);this['_cachedData'][_0xd9aef0(0x161)](_0x1eaf14,{'unitID':_0x1eaf14,'type':_0x4c5e58,'awaitingChangeset':_0x2754c5,'mutations':_0x4fc48a,'rev':_0x290cb4}),this[_0xd9aef0(0x1f1)][_0xd9aef0(0x32d)](_0x1eaf14)||this['_scheduleSaving'](_0x1eaf14);}[_0xecf6b6(0x2dd)](_0x18e527){const _0x1d2a22=_0xecf6b6,_0x212d00=this[_0x1d2a22(0x2c3)]();_0x212d00===0x0?this['_saveCache'](_0x18e527):this[_0x1d2a22(0x1f1)][_0x1d2a22(0x161)](_0x18e527,setTimeout(()=>this[_0x1d2a22(0x250)](_0x18e527),_0x212d00));}[_0xecf6b6(0x2c3)](){const _0x16e5c8=_0xecf6b6;var _0x52cb3f;return(_0x52cb3f=this[_0x16e5c8(0x1c6)][_0x16e5c8(0x1e7)](_0x3b82fc))!=null?_0x52cb3f:_0x1c75a2;}[_0xecf6b6(0x250)](_0x1c5a91){const _0x5aecaf=_0xecf6b6,_0x38a8fc=this[_0x5aecaf(0x1f1)][_0x5aecaf(0x210)](_0x1c5a91);return _0x38a8fc!==void 0x0&&window[_0x5aecaf(0x1f0)](_0x38a8fc),this[_0x5aecaf(0x1dd)]['setItem'](_0x8dfd93(_0x1c5a91),this['_cachedData'][_0x5aecaf(0x210)](_0x1c5a91))[_0x5aecaf(0x2ba)](()=>this[_0x5aecaf(0x1f1)][_0x5aecaf(0x340)](_0x1c5a91));}async[_0xecf6b6(0x301)](){const _0x50d45f=_0xecf6b6,_0x4bc402=[];this[_0x50d45f(0x1f1)]['forEach']((_0x554412,_0x52df56)=>{const _0x17d642=_0x50d45f;window[_0x17d642(0x1f0)](_0x554412),_0x4bc402['push'](this[_0x17d642(0x250)](_0x52df56)['then'](()=>{const _0x4098c7=_0x17d642;this[_0x4098c7(0x1f1)][_0x4098c7(0x340)](_0x52df56);}));}),await Promise[_0x50d45f(0x1fb)](_0x4bc402);}};Ae=mn([be(0x0,_0x59146a),be(0x1,_0x5a0809),be(0x2,_0x3f3053(_0x1f6eff))],Ae);class gn extends _0x2ecd4d{constructor(){const _0x3a602e=_0xecf6b6;super(),_(this,_0x3a602e(0x1cc)),this[_0x3a602e(0x1cc)]=_0x2646b6(window,_0x3a602e(0x216))[_0x3a602e(0x2dc)](_0x56322b(this['dispose$']),_0x170ffc(0x1),_0x2f1b9b(void 0x0));}['setParam'](_0x330aae,_0x5c9399,_0x2a35ab=!0x1){const _0x71908=_0xecf6b6,_0x343de8=new URL(window[_0x71908(0x1d4)]['href']);_0x343de8['searchParams']['set'](_0x330aae,_0x5c9399),_0x2a35ab?window[_0x71908(0x2c7)][_0x71908(0x167)]('','',_0x343de8[_0x71908(0x2cc)]()):window[_0x71908(0x2c7)]['pushState']('','',_0x343de8['toString']());}[_0xecf6b6(0x2eb)](_0x419355,_0xe6cc9=!0x1){const _0x18fa6d=_0xecf6b6,_0x1b9cd0=new URL(window[_0x18fa6d(0x1d4)]['href']);_0x1b9cd0[_0x18fa6d(0x165)][_0x18fa6d(0x340)](_0x419355),_0xe6cc9?window['history'][_0x18fa6d(0x167)]('','',_0x1b9cd0['toString']()):window[_0x18fa6d(0x2c7)]['pushState']('','',_0x1b9cd0['toString']());}[_0xecf6b6(0x2be)](_0x4ba925){const _0x3a09d1=_0xecf6b6;var _0x20589b;return(_0x20589b=new URL(window[_0x3a09d1(0x1d4)][_0x3a09d1(0x28e)])[_0x3a09d1(0x165)][_0x3a09d1(0x210)](_0x4ba925))!=null?_0x20589b:void 0x0;}}var vn=Object[_0xecf6b6(0x204)],In=Object[_0xecf6b6(0x1c4)],pn=(_0x3ed1b5,_0x48c27e,_0x5daced)=>_0x48c27e in _0x3ed1b5?vn(_0x3ed1b5,_0x48c27e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5daced}):_0x3ed1b5[_0x48c27e]=_0x5daced,Cn=(_0x5b2d48,_0x23c0fc,_0x28fb42,_0xb574e5)=>{const _0x3abb35=_0xecf6b6;for(var _0x20342b=_0xb574e5>0x1?void 0x0:_0xb574e5?In(_0x23c0fc,_0x28fb42):_0x23c0fc,_0x4c5e3a=_0x5b2d48[_0x3abb35(0x303)]-0x1,_0xbe26cf;_0x4c5e3a>=0x0;_0x4c5e3a--)(_0xbe26cf=_0x5b2d48[_0x4c5e3a])&&(_0x20342b=_0xbe26cf(_0x20342b)||_0x20342b);return _0x20342b;},Oe=(_0xa8b9dd,_0xc1c908)=>(_0x1481ac,_0x4ae73c)=>_0xc1c908(_0x1481ac,_0x4ae73c,_0xa8b9dd),En=(_0x4fbd71,_0x1d4f33,_0x35e076)=>pn(_0x4fbd71,_0x1d4f33+'',_0x35e076);const bn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let ye=class extends _0x221724{constructor(_0xe07ef6=st,_0x3c83d3,_0x302575,_0x4fadc3){const _0x444eea=_0xecf6b6;super(),this[_0x444eea(0x20d)]=_0xe07ef6,this[_0x444eea(0x2d3)]=_0x3c83d3,this[_0x444eea(0x297)]=_0x302575,this['_configService']=_0x4fadc3;const {..._0x9e3996}=_0x640b26({},st,this[_0x444eea(0x20d)]);this[_0x444eea(0x1c6)][_0x444eea(0x2aa)](nn,_0x9e3996);}[_0xecf6b6(0x1bd)](){const _0xa70c1f=_0xecf6b6;this[_0xa70c1f(0x261)](),this[_0xa70c1f(0x21f)]();}[_0xecf6b6(0x1a2)](){const _0x3fc0a7=_0xecf6b6;this[_0x3fc0a7(0x2e9)]();}[_0xecf6b6(0x261)](){const _0x51ef89=_0xecf6b6;var _0x5ac9e7;const _0x3e30e1=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x35b9d6,{'useClass':_0x3457d4}],[_0x5e0ed0,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x4041a8(this[_0x51ef89(0x297)],_0x10f3fd(_0x3e30e1,(_0x5ac9e7=this[_0x51ef89(0x20d)])==null?void 0x0:_0x5ac9e7[_0x51ef89(0x1ac)]));}['_registerRenderDependencies'](){const _0x4a50c7=_0xecf6b6;this['disposeWithMe'](this[_0x4a50c7(0x2d3)][_0x4a50c7(0x32e)](_0x365df3[_0x4a50c7(0x241)],[we])),this[_0x4a50c7(0x312)](this[_0x4a50c7(0x2d3)][_0x4a50c7(0x32e)](_0x365df3[_0x4a50c7(0x280)],[Le]));}[_0xecf6b6(0x21f)](){_0x33817c(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0xecf6b6(0x1ae),bn),ye=Cn([_0x5ebfd1(_0x5de4e0),Oe(0x1,_0x50ef32),Oe(0x2,_0x3f3053(_0x326ab6)),Oe(0x3,_0x59146a)],ye);var On=Object[_0xecf6b6(0x1c4)],Tn=(_0x17a57b,_0x24dfe9,_0x50e7c2,_0x5b689a)=>{const _0x2e60cf=_0xecf6b6;for(var _0x256430=_0x5b689a>0x1?void 0x0:_0x5b689a?On(_0x24dfe9,_0x50e7c2):_0x24dfe9,_0x18b58d=_0x17a57b[_0x2e60cf(0x303)]-0x1,_0x3ac963;_0x18b58d>=0x0;_0x18b58d--)(_0x3ac963=_0x17a57b[_0x18b58d])&&(_0x256430=_0x3ac963(_0x256430)||_0x256430);return _0x256430;},z=(_0x32efc0,_0xa4bc41)=>(_0x2feb8d,_0x27f1bc)=>_0xa4bc41(_0x2feb8d,_0x27f1bc,_0x32efc0);let nt=class extends _0x8e6740{constructor(_0x52a58d,_0x23ce95,_0x57afbc,_0x52345,_0x153da8){super(_0x52a58d,_0x23ce95,_0x57afbc,_0x52345,_0x153da8);}async['createSocket'](_0x39a707){const _0x298ff3=_0xecf6b6,_0x3d2c4b=await this[_0x298ff3(0x26f)](),_0xee1f15=this[_0x298ff3(0x287)](_0x39a707,_0x3d2c4b);return this[_0x298ff3(0x347)](_0xee1f15);}[_0xecf6b6(0x287)](_0x436b90,_0x146876){const _0x124a20=_0xecf6b6,_0x1c63cf=typeof window>'u'?new URL(_0x436b90):new URL(_0x436b90,window['location'][_0x124a20(0x309)]);_0x1c63cf[_0x124a20(0x165)][_0x124a20(0x161)](_0x124a20(0x188),_0x146876);const _0x4b8b79=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x124a20(0x1d4)][_0x124a20(0x338)]);return _0x4b8b79[_0x124a20(0x210)](_0x124a20(0x15a))&&_0x1c63cf['searchParams'][_0x124a20(0x161)](_0x124a20(0x15a),_0x4b8b79[_0x124a20(0x210)](_0x124a20(0x15a))),_0x1c63cf['toString']();}async[_0xecf6b6(0x26f)](){const _0xcd2906=_0xecf6b6;var _0x407d2e,_0x310a7c,_0x4ef5f9;const _0x2b5d7f=this[_0xcd2906(0x1c6)][_0xcd2906(0x1e7)](_0x299a8c),_0x1fdbc7=(_0x407d2e=_0x2b5d7f==null?void 0x0:_0x2b5d7f[_0xcd2906(0x27e)])!=null?_0x407d2e:_0x5217d3;return(_0x4ef5f9=(_0x310a7c=(await this['_httpService'][_0xcd2906(0x210)](_0x1fdbc7,{'headers':{'Content-Type':_0xcd2906(0x2b4)}}))[_0xcd2906(0x217)])==null?void 0x0:_0x310a7c[_0xcd2906(0x1e3)])!=null?_0x4ef5f9:'';}};nt=Tn([z(0x0,_0x3f3053(_0x326ab6)),z(0x1,_0x3f3053(_0x13792e)),z(0x2,_0x59146a),z(0x3,_0x4308e0),z(0x4,_0x6fdbac)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0x5ada09{constructor(){const _0x45c80f=_0xecf6b6;super(),_(this,_0x45c80f(0x29a),_0x274db2()),_(this,_0x45c80f(0x308),new Set()),_(this,_0x45c80f(0x1ed),new Map()),_(this,_0x45c80f(0x258),null),_(this,_0x45c80f(0x315),new Map()),_(this,'_unitStatus',new Map()),this['_init']();}[_0xecf6b6(0x2a8)](){const _0x301f8c=_0xecf6b6;super[_0x301f8c(0x2a8)](),this[_0x301f8c(0x315)][_0x301f8c(0x1d6)]((_0x52d983,_0x48be6e)=>this['_removeClearOtherTimer'](_0x48be6e)),this[_0x301f8c(0x258)]&&window[_0x301f8c(0x2c2)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x410996){const _0x46c521=_0xecf6b6;return this['_ensureSubject'](_0x410996)[_0x46c521(0x2dc)](_0x232c97());}[_0xecf6b6(0x296)](_0x5c9e21){const _0x55eb84=_0xecf6b6;this['_selfUnitIDs']['size']===0x0&&this[_0x55eb84(0x26e)](),this['_selfUnitIDs'][_0x55eb84(0x25a)](_0x5c9e21),this[_0x55eb84(0x27d)]({'type':0x0,'memberID':this[_0x55eb84(0x29a)],'unitIDs':[_0x5c9e21],'isForwarded':!0x1});}[_0xecf6b6(0x266)](_0x459810){const _0x1aa3ab=_0xecf6b6;this[_0x1aa3ab(0x308)]['delete'](_0x459810),this[_0x1aa3ab(0x308)][_0x1aa3ab(0x252)]===0x0&&this[_0x1aa3ab(0x258)]&&window[_0x1aa3ab(0x2c2)](this[_0x1aa3ab(0x258)]);}[_0xecf6b6(0x208)](){const _0x3a8682=_0xecf6b6;this[_0x3a8682(0x312)](_0x5cd668(_0x2646b6(window,_0x3a8682(0x1f3))[_0x3a8682(0x2d1)](_0x5debf9=>{const _0x3d1ea7=_0x3a8682;if(_0x5debf9[_0x3d1ea7(0x20c)]!==ot||!_0x5debf9[_0x3d1ea7(0x30e)])return;const _0x952d77=JSON[_0x3d1ea7(0x1f2)](_0x5debf9['newValue']);this['_handleEvent'](_0x952d77);}))),window['addEventListener'](_0x3a8682(0x1e2),()=>this[_0x3a8682(0x27d)]({'type':0x1,'memberID':this[_0x3a8682(0x29a)],'unitIDs':Array[_0x3a8682(0x26b)](this[_0x3a8682(0x308)])}));}['_handleEvent'](_0x14e770){const _0x5b3308=_0xecf6b6;switch(_0x14e770[_0x5b3308(0x231)]){case 0x0:this[_0x5b3308(0x1aa)](_0x14e770);break;case 0x1:this[_0x5b3308(0x20b)](_0x14e770);break;case 0x2:this[_0x5b3308(0x1b7)](_0x14e770);break;}}[_0xecf6b6(0x1aa)](_0x4d8b26){const _0x1422b2=_0xecf6b6,{unitIDs:_0x2f0ef7,memberID:_0x309afd,isForwarded:_0x5849e2}=_0x4d8b26;_0x2f0ef7[_0x1422b2(0x1d6)](_0x50c445=>{const _0x2cf87e=_0x1422b2;if(!_0x5849e2&&this[_0x2cf87e(0x1ed)][_0x2cf87e(0x32d)](_0x50c445)&&this['_ensureSubject'](_0x50c445)['next'](_0x3ebef9['OTHER_CLIENTS_EDITING']),!this[_0x2cf87e(0x1ed)][_0x2cf87e(0x32d)](_0x50c445)||!this['_unitOnClients'][_0x2cf87e(0x210)](_0x50c445)[_0x2cf87e(0x32d)](_0x309afd)){const _0x3263c7=this[_0x2cf87e(0x1ed)]['get'](_0x50c445)||new Set();_0x3263c7[_0x2cf87e(0x25a)](_0x309afd),this['_unitOnClients']['set'](_0x50c445,_0x3263c7),this[_0x2cf87e(0x20e)](_0x309afd);}}),_0x5849e2||this[_0x1422b2(0x27d)]({'type':0x0,'memberID':this[_0x1422b2(0x29a)],'unitIDs':[...this[_0x1422b2(0x308)]],'isForwarded':!0x0});}[_0xecf6b6(0x20e)](_0x293d30){const _0x2c4d3d=_0xecf6b6;this['_removeClearOtherTimer'](_0x293d30);const _0x3c2d7e=window[_0x2c4d3d(0x2c5)](()=>{this['_unitOnClients']['forEach'](_0x4dc0df=>{_0x4dc0df['delete'](_0x293d30);});},rt*0x2);this[_0x2c4d3d(0x315)]['set'](_0x293d30,_0x3c2d7e);}[_0xecf6b6(0x155)](_0x431a8d){const _0x2e7e20=_0xecf6b6;if(this['_clearOtherTimers'][_0x2e7e20(0x32d)](_0x431a8d)){const _0x164efe=this[_0x2e7e20(0x315)][_0x2e7e20(0x210)](_0x431a8d);_0x164efe&&window[_0x2e7e20(0x1f0)](_0x164efe),this[_0x2e7e20(0x315)][_0x2e7e20(0x161)](_0x431a8d,null);}}['_handleLeaveEvent'](_0x31d8b4){const _0x288f7c=_0xecf6b6,{memberID:_0x165a2c,unitIDs:_0x555702}=_0x31d8b4;_0x555702['forEach'](_0x162069=>{const _0x486612=_0x3768;var _0x3f05bf;const _0x550792=this[_0x486612(0x1ed)][_0x486612(0x210)](_0x162069);_0x550792&&(_0x550792[_0x486612(0x340)](_0x165a2c),(_0x3f05bf=this[_0x486612(0x1be)](_0x162069))==null||_0x3f05bf['next'](_0x550792['size']===0x0?_0x3ebef9[_0x486612(0x25f)]:_0x3ebef9[_0x486612(0x230)]));}),this[_0x288f7c(0x155)](_0x165a2c);}[_0xecf6b6(0x1b7)](_0x5cc920){const _0x52ebb4=_0xecf6b6;this[_0x52ebb4(0x20e)](_0x5cc920[_0x52ebb4(0x30c)]);}['_send'](_0x2a71b0){const _0x1d467a=_0xecf6b6;localStorage[_0x1d467a(0x1a9)](ot,JSON[_0x1d467a(0x260)](_0x2a71b0));}['_scheduleHeartbeat'](){const _0x1a4989=_0xecf6b6;this[_0x1a4989(0x258)]=window[_0x1a4989(0x285)](()=>{const _0x58374e=_0x1a4989;this[_0x58374e(0x27d)]({'type':0x2,'memberID':this[_0x58374e(0x29a)]});},rt);}['_ensureSubject'](_0x234144){const _0x1b74bb=_0xecf6b6;return this[_0x1b74bb(0x185)][_0x1b74bb(0x32d)](_0x234144)||this[_0x1b74bb(0x185)][_0x1b74bb(0x161)](_0x234144,new _0x1b4432(_0x3ebef9[_0x1b74bb(0x25f)])),this[_0x1b74bb(0x185)][_0x1b74bb(0x210)](_0x234144);}}var wt=(_0x156e95=>(_0x156e95[_0x156e95[_0xecf6b6(0x1fc)]=0x0]=_0xecf6b6(0x1fc),_0x156e95[_0x156e95['OK']=0x1]='OK',_0x156e95[_0x156e95[_0xecf6b6(0x1d3)]=0x2]=_0xecf6b6(0x1d3),_0x156e95[_0x156e95[_0xecf6b6(0x1a8)]=0x3]='PERMISSION_DENIED',_0x156e95[_0x156e95[_0xecf6b6(0x2ab)]=0x4]=_0xecf6b6(0x2ab),_0x156e95[_0x156e95[_0xecf6b6(0x291)]=0x5]=_0xecf6b6(0x291),_0x156e95[_0x156e95[_0xecf6b6(0x355)]=0x6]=_0xecf6b6(0x355),_0x156e95[_0x156e95[_0xecf6b6(0x245)]=0x7]='INVALID_ARGUMENT',_0x156e95[_0x156e95['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x156e95[_0x156e95[_0xecf6b6(0x33e)]=0x9]='COMPLETION_FINISHED',_0x156e95[_0x156e95[_0xecf6b6(0x1b4)]=0xa]='LOGIN_FAILED',_0x156e95[_0x156e95['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xecf6b6(0x319),_0x156e95[_0x156e95['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0xecf6b6(0x19c),_0x156e95[_0x156e95['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0xecf6b6(0x178),_0x156e95[_0x156e95[_0xecf6b6(0x16f)]=0x1773]=_0xecf6b6(0x16f),_0x156e95[_0x156e95['APPLY_REJECT']=0x1b59]=_0xecf6b6(0x203),_0x156e95[_0x156e95[_0xecf6b6(0x1c5)]=0x1b5a]=_0xecf6b6(0x1c5),_0x156e95[_0x156e95['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xecf6b6(0x33f),_0x156e95[_0x156e95[_0xecf6b6(0x207)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x156e95[_0x156e95[_0xecf6b6(0x1f8)]=0x1b5d]='APPLY_DUPLICATED',_0x156e95[_0x156e95['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xecf6b6(0x172),_0x156e95[_0x156e95[_0xecf6b6(0x25c)]=0x2329]=_0xecf6b6(0x25c),_0x156e95[_0x156e95['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xecf6b6(0x29d),_0x156e95[_0x156e95[_0xecf6b6(0x2ce)]=0x232b]=_0xecf6b6(0x2ce),_0x156e95[_0x156e95[_0xecf6b6(0x2f4)]=0x232c]=_0xecf6b6(0x2f4),_0x156e95[_0x156e95[_0xecf6b6(0x33a)]=0x232d]=_0xecf6b6(0x33a),_0x156e95[_0x156e95[_0xecf6b6(0x1e4)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x156e95[_0x156e95['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0xecf6b6(0x23e),_0x156e95[_0x156e95['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0xecf6b6(0x336),_0x156e95[_0x156e95[_0xecf6b6(0x2e7)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x156e95[_0x156e95[_0xecf6b6(0x2a2)]=0x271a]=_0xecf6b6(0x2a2),_0x156e95[_0x156e95[_0xecf6b6(0x1e6)]=0x271b]=_0xecf6b6(0x1e6),_0x156e95[_0x156e95['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0xecf6b6(0x2f1),_0x156e95[_0x156e95[_0xecf6b6(0x2ed)]=0x2ee1]=_0xecf6b6(0x2ed),_0x156e95[_0x156e95[_0xecf6b6(0x282)]=0x2ee2]=_0xecf6b6(0x282),_0x156e95[_0x156e95[_0xecf6b6(0x201)]=0x2ee3]=_0xecf6b6(0x201),_0x156e95[_0x156e95[_0xecf6b6(0x1e8)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x156e95[_0x156e95[_0xecf6b6(0x32c)]=0x2ee5]=_0xecf6b6(0x32c),_0x156e95[_0x156e95[_0xecf6b6(0x33b)]=0x32c9]=_0xecf6b6(0x33b),_0x156e95[_0x156e95['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0xecf6b6(0x27f),_0x156e95[_0x156e95[_0xecf6b6(0x2b6)]=0x32cb]=_0xecf6b6(0x2b6),_0x156e95[_0x156e95[_0xecf6b6(0x218)]=-0x1]=_0xecf6b6(0x218),_0x156e95))(wt||{}),Rn=Object[_0xecf6b6(0x1c4)],Dn=(_0x2e7943,_0x136708,_0xf3656d,_0x24be20)=>{for(var _0x1f88b4=_0x24be20>0x1?void 0x0:_0x24be20?Rn(_0x136708,_0xf3656d):_0x136708,_0x5b9efd=_0x2e7943['length']-0x1,_0x4a25a2;_0x5b9efd>=0x0;_0x5b9efd--)(_0x4a25a2=_0x2e7943[_0x5b9efd])&&(_0x1f88b4=_0x4a25a2(_0x1f88b4)||_0x1f88b4);return _0x1f88b4;},Te=(_0x5e8b2c,_0x5792c7)=>(_0xfa7e89,_0x167411)=>_0x5792c7(_0xfa7e89,_0x167411,_0x5e8b2c);let at=class extends _0x5ada09{constructor(_0xab2d2a,_0x4a83f0,_0x54cf98){const _0x1bcfbb=_0xecf6b6;super(),this[_0x1bcfbb(0x1b0)]=_0xab2d2a,this['_httpService']=_0x4a83f0,this[_0x1bcfbb(0x1c6)]=_0x54cf98;}async[_0xecf6b6(0x2b5)](_0x2e3a35,_0x794798,_0x2421df,..._0x1ddc4d){const _0x32768b=_0xecf6b6;var _0x1bdfeb,_0x223f75,_0xc84fd6,_0x539b7d;const _0x427d5d=this['_instanceService'][_0x32768b(0x182)]();if(!_0x427d5d)throw new Error(_0x32768b(0x2f3));const _0x104d8c=((_0x1bdfeb=this[_0x32768b(0x1c6)][_0x32768b(0x1e7)](_0x20f814))!=null?_0x1bdfeb:_0x515ede)+'/'+_0x2e3a35+_0x32768b(0x264)+_0x794798,_0x3e8627=new URL(window[_0x32768b(0x1d4)][_0x32768b(0x28e)]),_0x5206a7={'scriptId':_0x2e3a35,'runId':(_0x223f75=_0x3e8627[_0x32768b(0x165)][_0x32768b(0x210)](_0x32768b(0x15a)))!=null?_0x223f75:'','function':_0x794798,'unitId':_0x427d5d[_0x32768b(0x295)](),'argsOfFunction':JSON[_0x32768b(0x260)](_0x1ddc4d),'invokeId':(_0xc84fd6=_0x2421df[_0x32768b(0x1e5)])!=null?_0xc84fd6:'','executionId':(_0x539b7d=_0x2421df[_0x32768b(0x322)])!=null?_0x539b7d:''};try{const _0x1688ca=await this[_0x32768b(0x2d7)]['post'](_0x104d8c,{'body':_0x5206a7});return _0x1688ca['body'][_0x32768b(0x1bf)]&&_0x1688ca[_0x32768b(0x217)][_0x32768b(0x1bf)][_0x32768b(0x206)]!==wt['OK']?_0x32768b(0x349):_0x1688ca[_0x32768b(0x217)][_0x32768b(0x30f)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x2d0643),Te(0x1,_0x3f3053(_0x13792e)),Te(0x2,_0x59146a)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x8a45ae=_0x4d6b;(function(_0x3be569,_0x504546){const _0x5e2474=_0x4d6b,_0x5680e2=_0x3be569();while(!![]){try{const _0x3681b5=parseInt(_0x5e2474(0x221))/0x1+parseInt(_0x5e2474(0x188))/0x2*(parseInt(_0x5e2474(0x201))/0x3)+-parseInt(_0x5e2474(0xd3))/0x4*(-parseInt(_0x5e2474(0x20c))/0x5)+-parseInt(_0x5e2474(0x223))/0x6+-parseInt(_0x5e2474(0x174))/0x7*(-parseInt(_0x5e2474(0x146))/0x8)+parseInt(_0x5e2474(0x17a))/0x9*(parseInt(_0x5e2474(0x10a))/0xa)+-parseInt(_0x5e2474(0x1b4))/0xb;if(_0x3681b5===_0x504546)break;else _0x5680e2['push'](_0x5680e2['shift']());}catch(_0x559d80){_0x5680e2['push'](_0x5680e2['shift']());}}}(_0x1fbc,0xf35de));var Bt=Object['defineProperty'],kt=(_0x4aec21,_0x570c91,_0x578d1e)=>_0x570c91 in _0x4aec21?Bt(_0x4aec21,_0x570c91,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x578d1e}):_0x4aec21[_0x570c91]=_0x578d1e,_=(_0x1cc341,_0x216494,_0x458550)=>kt(_0x1cc341,typeof _0x216494!=_0x8a45ae(0x196)?_0x216494+'':_0x216494,_0x458550);import{MemberService as _0x9d3188,SessionStatus as _0x56bd0b,CollaborationSessionService as _0x104c61,CollaborationStatus as _0x460ca5,CollaborationController as _0x932fa4,ILocalCacheService as _0x135604,CollaborationUIEventService as _0x568b91,CollaborationUIEventId as _0x3e4eb5,DataLoaderService as _0x41f9b8,DocCollaborationEntity as _0x450601,getLocalCacheKey as _0x7e3bae,LOCAL_CACHE_INTERVAL as _0xc29c80,LOCAL_CACHE_INTERVAL_KEY as _0x4b9d1b,UniverCollaborationClientPlugin as _0xccc148,CollaborationSocketService as _0x525153,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x38daa0,DEFAULT_WS_SESSION_TICKET_URL as _0x37551d,UnitStatus as _0x1f3ed9,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3f6d9a,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x58c253}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4ddb4d,Disposable as _0xa082c6,DOC_RANGE_TYPE as _0x4a069e,Inject as _0x2b29b5,Injector as _0x2e7518,IUniverInstanceService as _0x4f4b20,ICommandService as _0x5a6621,debounce as _0x2bf093,Rectangle as _0x4297d6,DisposableCollection as _0x3438ea,toDisposable as _0x2bea03,UniverInstanceType as _0x5e7335,Tools as _0x481080,COLORS as _0x4b49be,ColorKit as _0x482e95,ThemeService as _0x53e720,fromEventSubject as _0x2f1e16,LocaleService as _0x37d948,createIdentifier as _0x196305,ILogService as _0x51df1a,Optional as _0x45f2a6,Workbook as _0x4a032c,CommandType as _0x5232af,IConfigService as _0x1e088a,ILocalStorageService as _0x2cd436,DependentOn as _0x7b066b,Plugin as _0x4a13b9,merge as _0x3aa292,registerDependencies as _0x2a50b9,mergeOverrideWithDependencies as _0x2a2089,touchDependencies as _0x12a5a3,generateRandomId as _0x241725}from'@univerjs/core';import{Shape as _0x5e33e7,Rect as _0x1b3054,getColor as _0x1540b8,RegularPolygon as _0x22e4ca,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x925224,Vector2 as _0x1c2129,SHEET_VIEWPORT_KEY as _0x15116e,IRenderManagerService as _0x21e07d}from'@univerjs/engine-render';import{ISocketService as _0x7242ab,WebSocketService as _0x209a8c,HTTPService as _0x7c70a1}from'@univerjs/network';import{IDocClipboardService as _0x3a2049,NodePositionConvertToCursor as _0x227645,NodePositionConvertToRectRange as _0x1a65a4,TEXT_RANGE_LAYER_INDEX as _0x415268,SetDocZoomRatioOperation as _0x21410b,DocIMEInputManagerService as _0x1ea070,DocStateChangeManagerService as _0x283fa4}from'@univerjs/docs-ui';import{IImageIoService as _0x9fd4c5}from'@univerjs/drawing';import{BehaviorSubject as _0x20d1b4,debounceTime as _0x574bea,takeUntil as _0x250db3,Subject as _0x8d9445,filter as _0x454c7f,switchMap as _0x10c81f,merge as _0x292438,combineLatest as _0x5c90b1,of as _0x159153,fromEvent as _0x19cc2d,shareReplay as _0xdae981,mapTo as _0x5e7255,distinctUntilChanged as _0x314756}from'rxjs';import{SetTextSelectionsOperation as _0x524fb4,RichTextEditingMutation as _0x596ced,DocSelectionManagerService as _0x31e6a8,DocSkeletonManagerService as _0x2ff5f4}from'@univerjs/docs';import{ITransformService as _0x5fd2c6,CollaborationEvent as _0x4dee8a,isTransformMutationFailure as _0xffda3b,isTransformMutationsWithChangesetSuccess as _0xbc10d8,RevisionService as _0xbdef,ISnapshotServerService as _0x1fb2dd}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x14c48c,serializeRangeWithSheet as _0x19f414}from'@univerjs/engine-formula';import{RefRangeService as _0x34e6fd,SetSelectionsOperation as _0x10c8da,SheetsSelectionsService as _0x34a40e,EffectRefRangId as _0x406901,handleIRemoveRow as _0x423803,handleIRemoveCol as _0x4e9c55,handleMoveRange as _0x5e8159,handleInsertRow as _0x3f91d8,handleInsertRangeMoveRight as _0x4b02d7,handleInsertRangeMoveDown as _0x5a4a6f,handleInsertCol as _0x516cb6,handleDeleteRangeMoveUp as _0x5dc2fb,handleDeleteRangeMoveLeft as _0x4c3566,runRefRangeMutations as _0x34b845,SetWorksheetActivateCommand as _0x4366dd}from'@univerjs/sheets';import{map as _0x2df5e8,filter as _0x338f7d,throttleTime as _0x28d5e2,takeUntil as _0x18f518,switchMap as _0x32fc0f}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3d7376,getCoordByCell as _0x178719,getSheetObject as _0x3281c2}from'@univerjs/sheets-ui';import{jsx as _0x19dadc,jsxs as _0xc44abd}from'react/jsx-runtime';import{useObservable as _0x239d2c,useDependency as _0x4d4de0,IUIPartsService as _0x52e0e9,BuiltInUIPart as _0x8d4548,connectInjector as _0x44db3b,IBeforeCloseService as _0x2310aa,IMessageService as _0x1aa895,INotificationService as _0x4f7f0b}from'@univerjs/ui';import{clsx as _0x125861,Tooltip as _0x433c34,MessageType as _0x827df8}from'@univerjs/design';import{forwardRef as _0x42ccd7,useRef as _0xeece5b,createElement as _0x35d3d1,useCallback as _0x3df9d3}from'react';import{IRemoteInstanceService as _0x290c89}from'@univerjs/rpc';var li=Object[_0x8a45ae(0x122)],_i=(_0x1bdaad,_0x5022b2,_0x7e96a1,_0x1be1dc)=>{const _0x59f57c=_0x8a45ae;for(var _0x4bf062=_0x1be1dc>0x1?void 0x0:_0x1be1dc?li(_0x5022b2,_0x7e96a1):_0x5022b2,_0x353f59=_0x1bdaad[_0x59f57c(0x13d)]-0x1,_0x4ce889;_0x353f59>=0x0;_0x353f59--)(_0x4ce889=_0x1bdaad[_0x353f59])&&(_0x4bf062=_0x4ce889(_0x4bf062)||_0x4bf062);return _0x4bf062;},Qe=(_0x3902b5,_0x324a21)=>(_0x396a9c,_0x2f27d9)=>_0x324a21(_0x396a9c,_0x2f27d9,_0x3902b5);let Ue=class extends _0x4ddb4d{constructor(_0x386a44,_0x50cbd5){const _0x1ba063=_0x8a45ae;super(),this['_docClipboardService']=_0x386a44,this[_0x1ba063(0x286)]=_0x50cbd5,this[_0x1ba063(0x1a3)]();}[_0x8a45ae(0x1a3)](){const _0x104235=_0x8a45ae,_0x32f387=this;this['disposeWithMe'](this[_0x104235(0xf8)][_0x104235(0x222)]({'onBeforePasteImage':async _0x657c50=>{const _0x54a0fb=_0x104235,_0x26dfba=await _0x32f387[_0x54a0fb(0x286)]['saveImage'](_0x657c50);return _0x26dfba?{'source':_0x26dfba['source'],'imageSourceType':_0x26dfba['imageSourceType']}:null;}}));}};Ue=_i([Qe(0x0,_0x3a2049),Qe(0x1,_0x9fd4c5)],Ue);const qe=[_0x8a45ae(0x159),_0x8a45ae(0xa3),'verdancy600','red300','blue400',_0x8a45ae(0x210)];function _0x1fbc(){const _0x23c78f=['_document','url(#$1','OnLineSingle','_initEntityListener','_textBubble','session.connection-failed','_refreshCollabCursors','xlink:href','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','m2Prime','name','_scheduleHeartbeat','univer-offline','loadUnit','CLOSE_ROOM','roomMembers$','USER_NOT_INVITED_CODE','random','collabStatus.fetchMiss','clipPath','transformStateCache','dispose','_transformHistoryAndStateStack','whenReady','_logService','location','LICENSE_IMPORT_SIZE_EXCEEDED','INTERNAL_ERROR','m1Prime','SOCKET_FAILED','getUndoRedoMutationParamsCache','unload','FromArray','_saveTaskMap','_eventUnsubscribe','collabStatus.synced','doc.mutation.rich-text-editing','Error','startsWith','contains','CHANGESET_REVISION_CONFILICT','transformRemoteChangeset','USERS_LEAVE','_unitStatus','_initEvent','column','sheetID','3yELuMD','range','_themeService','type','runId','eventID','pipe','_render','_updateCollabCursors','_selfUnitIDs','tag','65OcoWXj','univer-flex\x20univer-items-center','defIds','collaboration.single-unit.warning','gold400','_handleHeartbeatEvent','registerRenderModule','init','executionId','INVITE_CODE_REQUIRED','_handleEvent','APPLY_NON_SEQUENTIAL_REVISION','1em','DeleteRangeMoveLeftCommandId','row','off-line-single_clip0_910_343','search','_draw','getRenderById','override','onlineStatusIcon','82053YvQBRP','addClipboardHook','1661946OXGabA','makeDirty','skeleton','width','transformByState','_createSocketURL','searchParams','currentTheme$','labelPosition','_initDependencies','_localeService','onLocalMutation','_setupBeforeClosingHandler','permission.title','_saveCache','_colorAssignService','getRangePointData','_getScale','prototype','setInterval','PERMISSION_DENIED','collabStatus.conflict','attrs','redoState','UNIVER_SHEET','UNRECOGNIZED','getUnitId','_sheetSkeletonManagerService','storage','memberID','parse','isActive','[RemoteUniscriptService]:\x20no\x20focused\x20unit','roomMembers','color','_startSheetCollabCursor','_uiPartsService','hide','MOBILE_HAS_BEEN_BOUND','defineProperty','_assignedColors','send','then','getCurrentSelections','getStateCache','has','_cursorShapes','updateOfflineData','_removeCollabCursors','univerjs-icon\x20univerjs-icon-','_hover','_lastPointer','resize','split','_getSessionTicket','PY_RUNTIME_SCRIPT_ERROR','M0\x200H16V16H0z','unit','history','collaboration-client-ui.config','setTimeout','_collaborationUIEventService','_refRangeService','_name','ONLINE','setParam','getMergeData','findNodePositionByCharIndex','_anchor','result','concat','_anchorDot','triggerDblclick','bottom','fillText','SYNCED','toString','transformMutation','_clearOtherTimers','saveTaskMap','get','NO_OTHER_CLIENTS_EDITING','defs','subscribe','on-line-single_clip0_910_349','_cursor','RemoveRowCommandId','Warning','_disabled','_scheduleSaving','_docSkeleton','getCollabCursors$','_getSaveTimeout','UniverIcon','disposeUnit','saveOfflineData','add','arc','function','_imageIoService','with','YUUMI_SUBSCRIPTION_NOT_FOUND','replace','addObjects','setStateCache','MUTATION','UPDATE_CURSOR','asObservable','unshift','save','toRgbString','COMPLETION_FINISHED','off-line-single','getCellPositionByOffset','reconnect','OFFLINE','univer-online','includes','_doCreateSocket','moveTo','trim','UNAUTHENTICATED','ranges','YUUMI_NO_CUBOID_FOR_QUESTION','complete','addEventListener','_renderManagerService','setAlpha','_collaborationController','show','_docTransformStateCacheService','_updateLocalCursor','jiqing500','_transformUndoRedoStack','_color','some','getMember','getSheetId','SUBMIT_CHANGESET_TIMEOUT','className','_setupSubUnitSync','_initStatusListener','isArray','string','_initStatusComponent','cursorInfo','APPLY_REJECT','UNIVER_DOC','_syncEditingCollabCursorService','translate(.97)','textRanges','getAncestorScale','_colorIndex','assign','_dataLoaderService','SOCKET_FAILED_RETRY','extend','pushState','forEach','enableLocalCache','startRow','_shapes','top','find','exhaustSavingTask','entries','_docTransformSelectionsService','LICENSE_MAX_UNITS_EXCEEDED','clearInterval','OTHER_CLIENTS_EDITING','YUUMI_ASYNCIO_CANCELLED','onlineStatus','_startDocCollabCursor','disposeWithMe','_httpService','apply','setActiveRange','collabStatus.syncing','_commandService','indexOf','315396gLZJhv','_backgroundColor','onCommandExecuted','APPLY_PERMISSION_DENIED','disableLocalCache','collaboration.closeRoom','getViewport','_unitOnClients','#FFF','transformIMECache','status$','#fff','transformSelections','push','displayName','_entityInit$','div','href','_onCursorDelete','data','registerComponent','_drawRectRange','collab-text-anchor-','pluginName','SNAPSHOT_HAS_BEEN_REMOVED','_docSkeletonManagerService','...','cursorInfo$','collabCursorState$','_collabCursorState$','0\x200\x2016\x2016','setItem','params','_messageService','body','collab-text-range-','_entities','_docClipboardService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getSkeleton','children','dispose$','_cursorInfo$','_range','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getCollabEntity$','onRendered','getParam','_status$','height','_config','_online','stringify','loadOfflineData','RECT','10pdKzEr','_initCommandExecutedListener','collab-rect-range-','_initResize','lineTo','setShapeProps','_injector','getOwnPropertySymbols','drawWith','INVALID_ARGUMENT','_heartbeatTimer','unitId','CONNECTOR_DATA_TOO_LARGE','RemoveColCommandId','_id','_docStateChangeManagerService','selections','_memberService','_getSheetObject','UNDEFINED','fillRule','mutations','0\x200\x2017\x2016','YUUMI_RATE_OVER_LIMIT','getOwnPropertyDescriptor','currentSkeleton$','NOT_FOUND','getConfig','unitID','fillStyle','rgba(255,\x20255,\x20255,\x200.01)','getTypeOfUnitAdded$','newValue','_configService','_handleHover','addHandlerCallback','getSheetBySheetId','DeleteRangeMoveUpCommandId','_context','_scene','LICENSE_EXPORT_SIZE_EXCEEDED','_revisionService','_updateURLWithCurrentState','replaceDocRanges','univer-online-status-title','OTHER_CLIENT_EDITING','JOIN_ROOM_FAILED','subUnitId','hovered','min','undoState','length','replaceState','application/json','engine','_scheduleClearOtherTimer','NOT_COLLAB','_collabCursorController','assignAColorForMemberID','selection','177112KcZyBA','ENSURE_SNAPSHOT_EXECUTION','transformMutationsWithChangeset','idSuffix','_updateSubUnitFromURLParams','_notificationService','_roomMembers$','sessionTicket','INVALID_INVITE_CODE','onPointerEnter$','subunit','measureText','setConfig','_transformService','getItem','registerRefRange','delete','getActiveSheet','from','purple300','backgroundColor','next','url(#off-line-single_clip0_910_343)','font','key','_docSyncEditingCollabCursorService','round','FETCH_MISS','none','_cursors','CONFLICT','createInstance','flatMap','getValue','text','Unknown\x20user','propertyIsEnumerable','_send','_onRefRangeChange','_removeClearOtherTimer','_getMergeRange','colorChannel1','_drawTextRange','event$','univer-online-status-icon','ticket','301VhFdIP','_collabSessionService','INVITE_CODE_ALREADY_BOUND','post','_localCacheService','getVpScrollXYInfoByPosToVp','7192863HQelaF','getUnitStatus$','getFocusedUnit','black','mask','wsSessionTicketUrl','_docTransformIMECacheService','LICENSE_DISTRO_REJECTED','fill','endRow','debug','_handleJoinEvent','WECHAT_HAS_BEEN_BOUND','offline','2924794JwSAOP','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','svg','permission.content','_cachedData','YUUMI_URL_COL_OUT_OF_RANGE','onMouseMove','evenodd','INVITE_CODE_HAS_BEEN_UES','online','activeSheet$','_handleLeaveEvent','_hovered','subscribeEvent','symbol','addObject','urlChange$','_session','_instanceService','deepClone','path','_univerInstanceService','set','getActiveRange','session.collaboration-timeout','generateRandomId','registerBeforeClose','_init','_onCursorUpdate','_registerDependencies','_toggleOffline','getDocRanges','restore','use','current','APPLY_DUPLICATED','TEXT','clearTimeout','ALREADY_EXISTS','_transformPreviousActiveRange','_localStorageService','_ensureSubject','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getOffsetConfig','33515350wDtuxw','unsubscribe','PENDING','setUndoRedoMutationParamsCache','onStarting','_labelPosition','getUnhiddenWorksheets','icon','code','error','url(#on-line-single_clip0_910_349)','docStateChange$','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','requireSession','syncEditingCollabCursor','getMemberID','/run/','values','OffLineSingle','_hideTimer','onlineStatusTitle','collaboration-client.offline-data-not-saved','LOGIN_FAILED','map','_urlService','_toggleOnline','endColumn','sheetId','onTransformChange$'];_0x1fbc=function(){return _0x23c78f;};return _0x1fbc();}class He extends _0xa082c6{constructor(){const _0x26d786=_0x8a45ae;super(...arguments),_(this,_0x26d786(0x24b),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x4d3ba8){const _0x1cfc6f=_0x8a45ae;if(this[_0x1cfc6f(0x24b)]['has'](_0x4d3ba8))return this[_0x1cfc6f(0x24b)]['get'](_0x4d3ba8);const _0x94544f=qe[this[_0x1cfc6f(0xb7)]];return this[_0x1cfc6f(0xb7)]=(this[_0x1cfc6f(0xb7)]+0x1)%qe[_0x1cfc6f(0x13d)],this[_0x1cfc6f(0x24b)]['set'](_0x4d3ba8,_0x94544f),_0x94544f;}}function Dt(_0x51b2e5){const _0x4ae380=_0x8a45ae;let _0xc5b03b='';for(const _0x17db7d of _0x51b2e5){const {startOffset:_0x28a3f8,endOffset:_0x3de6bd,isActive:_0x33ec1c,rangeType:_0x211674,segmentId:_0x90a1a9,segmentPage:_0x180771}=_0x17db7d;_0xc5b03b[_0x4ae380(0x13d)]&&(_0xc5b03b+=','),_0xc5b03b+=_0x28a3f8+':'+_0x3de6bd+':'+(_0x33ec1c?'1':'0')+':'+_0x211674+':'+_0x90a1a9+':'+_0x180771;}return _0xc5b03b;}function hi(_0x51eaac){const _0xc2195e=_0x8a45ae,_0x1f6cae=_0x51eaac['split'](','),_0x33d8ad=[];for(const _0x3a7c85 of _0x1f6cae){const [_0x56af15,_0x3080ba,_0x133ed1,_0xf0b270,_0x4a5006,_0x2caf4b]=_0x3a7c85[_0xc2195e(0x258)](':');_0x33d8ad[_0xc2195e(0xe0)]({'startOffset':Number(_0x56af15),'endOffset':Number(_0x3080ba),'collapsed':_0x56af15===_0x3080ba,'isActive':_0x133ed1==='1','rangeType':_0xf0b270===_0x4a069e[_0xc2195e(0x1ac)]?_0x4a069e[_0xc2195e(0x1ac)]:_0x4a069e['RECT'],'segmentId':typeof _0x4a5006==_0xc2195e(0xae)?String(_0x4a5006):'','segmentPage':Number(_0x2caf4b!=null?_0x2caf4b:-0x1)});}return _0x33d8ad[_0xc2195e(0xa6)](_0x100089=>_0x100089['isActive'])||(_0x33d8ad[0x0][_0xc2195e(0x242)]=!0x0),_0x33d8ad;}class je extends _0x4ddb4d{constructor(){const _0x123084=_0x8a45ae;super(...arguments),_(this,_0x123084(0xf0),new _0x20d1b4(null)),_(this,_0x123084(0xef),this[_0x123084(0xf0)][_0x123084(0x28e)]());}[_0x8a45ae(0x1c2)](_0x3258ee){const _0x2f8fa0=_0x8a45ae,{unitID:_0x26600d,memberID:_0x3bbfbd,textRanges:_0x1e1587}=_0x3258ee,_0x52a84d=Dt(_0x1e1587);if(_0x52a84d==='')return;const _0x41c3dc={'unitID':_0x26600d,'memberID':_0x3bbfbd,'selection':_0x52a84d};this[_0x2f8fa0(0xf0)]['next'](_0x41c3dc);}}var ui=Object[_0x8a45ae(0x122)],di=(_0x35b173,_0x32b6ae,_0x990e72,_0x5cc5e5)=>{const _0x28603a=_0x8a45ae;for(var _0x5c932b=_0x5cc5e5>0x1?void 0x0:_0x5cc5e5?ui(_0x32b6ae,_0x990e72):_0x32b6ae,_0x18ae89=_0x35b173[_0x28603a(0x13d)]-0x1,_0x170e29;_0x18ae89>=0x0;_0x18ae89--)(_0x170e29=_0x35b173[_0x18ae89])&&(_0x5c932b=_0x170e29(_0x5c932b)||_0x5c932b);return _0x5c932b;},w=(_0x14e1b4,_0x330d8c)=>(_0x137f61,_0x2cea1a)=>_0x330d8c(_0x137f61,_0x2cea1a,_0x14e1b4);const fi=0x12c,Si=0x64;let Me=class extends _0x4ddb4d{constructor(_0x2f5f38,_0x3dcf11,_0x18c699,_0x3d38ef,_0x3ab6f7,_0xffe0bb,_0x103d92,_0x4b18ec,_0x3eba80){const _0x8649e7=_0x8a45ae;super(),_(this,_0x8649e7(0x106),!0x1),_(this,_0x8649e7(0x1a3),!0x1),_(this,_0x8649e7(0xfd),new _0x20d1b4(new Map())),_(this,_0x8649e7(0xee),this[_0x8649e7(0xfd)][_0x8649e7(0x28e)]()),_(this,_0x8649e7(0x14c),new _0x20d1b4([])),_(this,_0x8649e7(0x1e1),this['_roomMembers$'][_0x8649e7(0x207)](_0x574bea(fi))),_(this,_0x8649e7(0xa2),_0x2bf093(_0x1cb80d=>{const _0x1869a5=_0x8649e7,_0x439887={'eventID':_0x4dee8a[_0x1869a5(0x28d)],'data':{'unitID':this[_0x1869a5(0x126)],'memberID':this[_0x1869a5(0x199)][_0x1869a5(0x1c3)](),'selection':Dt(_0x1cb80d)}};this[_0x1869a5(0x199)][_0x1869a5(0x24c)](_0x439887,this[_0x1869a5(0x126)]);},Si)),(this[_0x8649e7(0x126)]=_0x2f5f38,this[_0x8649e7(0x199)]=_0x3dcf11,this[_0x8649e7(0x110)]=_0x18c699,this[_0x8649e7(0x232)]=_0x3d38ef,this[_0x8649e7(0x11b)]=_0x3ab6f7,this[_0x8649e7(0xb3)]=_0xffe0bb,this[_0x8649e7(0x153)]=_0x103d92,this[_0x8649e7(0x19d)]=_0x4b18ec,this['_commandService']=_0x3eba80);}get[_0x8a45ae(0xb0)](){const _0x2a83f1=_0x8a45ae;return this[_0x2a83f1(0xfd)][_0x2a83f1(0x167)]();}get[_0x8a45ae(0x244)](){const _0x25bc8f=_0x8a45ae;return this[_0x25bc8f(0x14c)][_0x25bc8f(0x167)]();}[_0x8a45ae(0x1e7)](){const _0x2035e1=_0x8a45ae;super['dispose'](),this[_0x2035e1(0xfd)]['next'](new Map()),this[_0x2035e1(0xfd)][_0x2035e1(0x29f)](),this['_roomMembers$']['next']([]),this[_0x2035e1(0x14c)][_0x2035e1(0x29f)]();}['init'](){const _0x6bcfdf=_0x8a45ae;this[_0x6bcfdf(0x1a3)]||(this[_0x6bcfdf(0x1a3)]=!0x0,this[_0x6bcfdf(0x199)]['sessionStatus$'][_0x6bcfdf(0x207)](_0x250db3(this['dispose$']))['subscribe'](_0x520ba1=>{const _0x15203d=_0x6bcfdf;_0x520ba1===_0x56bd0b[_0x15203d(0x263)]?this[_0x15203d(0x1cd)]():this[_0x15203d(0x1a6)]();}),this['_session'][_0x6bcfdf(0x171)][_0x6bcfdf(0x207)](_0x250db3(this[_0x6bcfdf(0xfc)]))[_0x6bcfdf(0x276)](_0x15419b=>{const _0x51ca4c=_0x6bcfdf,_0x436603=_0x15419b[_0x51ca4c(0x206)];_0x436603===_0x4dee8a[_0x51ca4c(0x28d)]&&this['_onCursorUpdate'](_0x15419b),_0x436603===_0x4dee8a[_0x51ca4c(0x1fc)]&&this[_0x51ca4c(0xe5)](_0x15419b);}),this[_0x6bcfdf(0xcc)](this[_0x6bcfdf(0xd1)][_0x6bcfdf(0xd5)](_0x5f1af3=>{const _0x2bf312=_0x6bcfdf,_0x118ef4=_0x5f1af3[_0x2bf312(0xf3)];_0x118ef4!=null&&this[_0x2bf312(0x106)]&&_0x5f1af3['id']===_0x524fb4['id']&&_0x118ef4[_0x2bf312(0x115)]===this[_0x2bf312(0x126)]&&_0x118ef4['isEditing']===!0x1&&_0x118ef4[_0x2bf312(0x29d)]['length']>0x0&&this[_0x2bf312(0xa2)](_0x118ef4[_0x2bf312(0x29d)]);})),this['_syncEditingCollabCursorService'][_0x6bcfdf(0xef)]['pipe'](_0x250db3(this[_0x6bcfdf(0xfc)]))['subscribe'](_0x4946ae=>{const _0x192c6f=_0x6bcfdf;if((_0x4946ae==null?void 0x0:_0x4946ae[_0x192c6f(0x126)])!==this[_0x192c6f(0x126)])return;const _0x241ea9={'eventID':_0x4dee8a[_0x192c6f(0x28d)],'data':_0x4946ae};this['_onCursorUpdate'](_0x241ea9);}),this[_0x6bcfdf(0xcc)](this[_0x6bcfdf(0xd1)][_0x6bcfdf(0xd5)](_0x25b592=>{const _0x8a83e1=_0x6bcfdf;if(_0x25b592['params']==null)return;const _0xb1d020=_0x25b592[_0x8a83e1(0xf3)];if(_0x25b592['id']!==_0x596ced['id']||_0xb1d020[_0x8a83e1(0x115)]!==this['unitID'])return;const _0x9830b7={'id':'doc.mutation.rich-text-editing','params':_0xb1d020},_0x4b9087=this['cursorInfo'];for(const [_0x14572f,_0x2a44a4]of _0x4b9087){const _0x1affb9={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x8a83e1(0x126)],'actions':null,'textRanges':_0x2a44a4[_0x8a83e1(0x29d)]}},_0x720a48=this[_0x8a83e1(0x153)]['transformMutation'](_0x9830b7,_0x1affb9,!0x1);if(_0xffda3b(_0x720a48))throw _0x720a48[_0x8a83e1(0x1bd)];_0x4b9087[_0x8a83e1(0x19e)](_0x14572f,{..._0x2a44a4,'ranges':_0x720a48['m2Prime']['params'][_0x8a83e1(0xb5)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x4b9087);});})));}[_0x8a45ae(0x1a4)](_0x6530f5){const _0x536ceb=_0x8a45ae;var _0x158f9c,_0x5f0b99;const {memberID:_0x3ac5ff,selection:_0x103891}=_0x6530f5[_0x536ceb(0xe6)],_0x5740e6=hi(_0x103891),_0x5ec63f=(_0x5f0b99=(_0x158f9c=this[_0x536ceb(0x11b)][_0x536ceb(0xa7)](this[_0x536ceb(0x126)],_0x3ac5ff))==null?void 0x0:_0x158f9c['name'])!=null?_0x5f0b99:_0x536ceb(0x169),_0x23b194={'color':this['_colorAssignService'][_0x536ceb(0x144)](_0x3ac5ff),'name':_0x5ec63f,'ranges':_0x5740e6},_0xe982e4=this[_0x536ceb(0xb0)];_0xe982e4['set'](_0x3ac5ff,_0x23b194),this[_0x536ceb(0xfd)][_0x536ceb(0x15b)](_0xe982e4);}[_0x8a45ae(0xe5)](_0x4037a3){const _0x2a3eef=_0x8a45ae,{memberID:_0x27c2da}=_0x4037a3[_0x2a3eef(0xe6)],_0x21e99f=this['cursorInfo'];_0x21e99f[_0x2a3eef(0x156)](_0x27c2da),this[_0x2a3eef(0xfd)][_0x2a3eef(0x15b)](_0x21e99f);}[_0x8a45ae(0x1cd)](){const _0x3f31a5=_0x8a45ae;var _0x5de7bf;if(this[_0x3f31a5(0x106)]=!0x0,((_0x5de7bf=this[_0x3f31a5(0x19d)]['getFocusedUnit']())==null?void 0x0:_0x5de7bf['getUnitId']())!==this[_0x3f31a5(0x126)])return;const _0x39e617=this[_0x3f31a5(0x110)][_0x3f31a5(0x273)](_0x31e6a8)[_0x3f31a5(0x1a7)]();Array[_0x3f31a5(0xad)](_0x39e617)&&_0x39e617[_0x3f31a5(0x13d)]>0x0&&this[_0x3f31a5(0xa2)](_0x39e617);}[_0x8a45ae(0x1a6)](){const _0x17dafc=_0x8a45ae;this[_0x17dafc(0x106)]=!0x1;}};Me=di([w(0x2,_0x2b29b5(_0x2e7518)),w(0x3,_0x2b29b5(He)),w(0x4,_0x2b29b5(_0x9d3188)),w(0x5,_0x2b29b5(je)),w(0x6,_0x5fd2c6),w(0x7,_0x4f4b20),w(0x8,_0x5a6621)],Me);var mi=Object[_0x8a45ae(0x122)],gi=(_0x2625e3,_0x347793,_0x57c1f2,_0x1c05c9)=>{const _0x354f7b=_0x8a45ae;for(var _0xbee798=_0x1c05c9>0x1?void 0x0:_0x1c05c9?mi(_0x347793,_0x57c1f2):_0x347793,_0x2266ac=_0x2625e3[_0x354f7b(0x13d)]-0x1,_0x292de9;_0x2266ac>=0x0;_0x2266ac--)(_0x292de9=_0x2625e3[_0x2266ac])&&(_0xbee798=_0x292de9(_0xbee798)||_0xbee798);return _0xbee798;},x=(_0xd82b68,_0x3667eb)=>(_0x551aaf,_0xd313c1)=>_0x3667eb(_0x551aaf,_0xd313c1,_0xd82b68);const vi=0x12c,Ii=0x64,pi=()=>{let _0x288bba=[],_0x5120d8=!0x1;return _0x2df10c=>{const _0x220f3b=_0x4d6b;_0x288bba[_0x220f3b(0xe0)](_0x2df10c),_0x5120d8||(_0x5120d8=!0x0,setTimeout(()=>{const _0x221e79=_0x220f3b;_0x288bba[_0x221e79(0xbd)](_0x298a65=>_0x298a65()),_0x288bba=[],_0x5120d8=!0x1;}));};};let Pe=class extends _0x4ddb4d{constructor(_0x1ea0e8,_0x14f00e,_0x2ea4a3,_0x3e7ebf,_0xd746fc,_0x5d5381,_0x241dbd,_0x5a9743){const _0x17b132=_0x8a45ae;super(),_(this,_0x17b132(0x106),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x20d1b4(new Map())),_(this,_0x17b132(0xee),this['_cursorInfo$'][_0x17b132(0x28e)]()),_(this,_0x17b132(0x14c),new _0x20d1b4([])),_(this,_0x17b132(0x1e1),this[_0x17b132(0x14c)][_0x17b132(0x207)](_0x574bea(vi))),_(this,_0x17b132(0xa2),_0x2bf093((_0x3e451a,_0x331c3e)=>{const _0xe26bbe=_0x17b132,_0x406e68={'eventID':_0x4dee8a[_0xe26bbe(0x28d)],'data':{'unitID':this[_0xe26bbe(0x126)],'memberID':this['_session'][_0xe26bbe(0x1c3)](),'selection':_0x19f414(_0x3e451a,_0x331c3e['range'])}};this['_session'][_0xe26bbe(0x24c)](_0x406e68,this['unitID']);},Ii)),(this[_0x17b132(0x126)]=_0x1ea0e8,this[_0x17b132(0x199)]=_0x14f00e,this[_0x17b132(0x110)]=_0x2ea4a3,this[_0x17b132(0x232)]=_0x3e7ebf,this['_memberService']=_0xd746fc,this[_0x17b132(0x19d)]=_0x5d5381,this[_0x17b132(0xd1)]=_0x241dbd,this[_0x17b132(0x261)]=_0x5a9743);}get['cursorInfo'](){const _0x3949df=_0x8a45ae;return this['_cursorInfo$'][_0x3949df(0x167)]();}get[_0x8a45ae(0x244)](){return this['_roomMembers$']['getValue']();}[_0x8a45ae(0x1e7)](){const _0x3d0a65=_0x8a45ae;super['dispose'](),this[_0x3d0a65(0xfd)][_0x3d0a65(0x15b)](new Map()),this[_0x3d0a65(0xfd)][_0x3d0a65(0x29f)](),this['_roomMembers$'][_0x3d0a65(0x15b)]([]),this[_0x3d0a65(0x14c)][_0x3d0a65(0x29f)]();}[_0x8a45ae(0x213)](){const _0x2511d8=_0x8a45ae;this[_0x2511d8(0x1a3)]||(this['_init']=!0x0,this[_0x2511d8(0x199)]['sessionStatus$'][_0x2511d8(0x207)](_0x250db3(this[_0x2511d8(0xfc)]))['subscribe'](_0x173884=>{const _0x24e57c=_0x2511d8;_0x173884===_0x56bd0b[_0x24e57c(0x263)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x2511d8(0x171)][_0x2511d8(0x207)](_0x250db3(this[_0x2511d8(0xfc)]))[_0x2511d8(0x276)](_0x3158da=>{const _0x4a86d0=_0x2511d8,_0x2ad6f6=_0x3158da['eventID'];_0x2ad6f6===_0x4dee8a['UPDATE_CURSOR']&&this[_0x4a86d0(0x1a4)](_0x3158da),_0x2ad6f6===_0x4dee8a['USERS_LEAVE']&&this[_0x4a86d0(0xe5)](_0x3158da);}),this[_0x2511d8(0x16c)](),this[_0x2511d8(0xcc)](this['_commandService']['onCommandExecuted'](_0x341066=>{const _0x2ac88d=_0x2511d8;if(this['_online']&&_0x341066['id']===_0x10c8da['id']&&_0x341066['params']['unitId']===this['unitID']){const _0x381e4a=_0x341066['params'];this[_0x2ac88d(0xa2)](_0x381e4a[_0x2ac88d(0x139)],_0x381e4a[_0x2ac88d(0x11a)][0x0]);}})));}[_0x8a45ae(0x1a4)](_0x16c604){const _0x4de181=_0x8a45ae;var _0x43a7c6,_0x5be298;const {memberID:_0x2ec9d8,selection:_0x3d1e14}=_0x16c604[_0x4de181(0xe6)],{sheetName:_0x2fa304,range:_0x4c2fc4}=_0x14c48c(_0x3d1e14),_0x4932b3={'name':(_0x5be298=(_0x43a7c6=this[_0x4de181(0x11b)][_0x4de181(0xa7)](this['unitID'],_0x2ec9d8))==null?void 0x0:_0x43a7c6[_0x4de181(0x1dc)])!=null?_0x5be298:'Unknown\x20user','range':this[_0x4de181(0x16e)](_0x2fa304,_0x4c2fc4),'sheetID':_0x2fa304,'color':this['_colorAssignService'][_0x4de181(0x144)](_0x2ec9d8),'selection':_0x3d1e14},_0x1318f6=this[_0x4de181(0xb0)];_0x1318f6['set'](_0x2ec9d8,_0x4932b3),this[_0x4de181(0xfd)][_0x4de181(0x15b)](_0x1318f6);}['_onCursorDelete'](_0xe9875e){const _0xc66793=_0x8a45ae,{memberID:_0x5ea742}=_0xe9875e['data'],_0x357090=this[_0xc66793(0xb0)];_0x357090[_0xc66793(0x156)](_0x5ea742),this['_cursorInfo$'][_0xc66793(0x15b)](_0x357090);}[_0x8a45ae(0x16e)](_0x438529,_0x1c03ba){const _0x2f0b6c=_0x8a45ae;var _0xe47f02,_0x1297ba;const _0x57f5c8=(_0x1297ba=(_0xe47f02=this[_0x2f0b6c(0x19d)]['getUniverSheetInstance'](this[_0x2f0b6c(0x126)]))==null?void 0x0:_0xe47f02[_0x2f0b6c(0x12e)](_0x438529))==null?void 0x0:_0x1297ba[_0x2f0b6c(0x265)]();return(_0x57f5c8==null?void 0x0:_0x57f5c8[_0x2f0b6c(0xc2)](_0x2944f9=>_0x4297d6[_0x2f0b6c(0x1f9)](_0x2944f9,_0x1c03ba)))||_0x1c03ba;}[_0x8a45ae(0x16c)](){const _0x3783ca=_0x8a45ae,_0x3b3f8d=new _0x3438ea(),_0x2a7e0b=pi(),_0x5f2b94=()=>{const _0x376033=_0x4d6b;_0x3b3f8d[_0x376033(0x1e7)]();const _0x3b8574=(_0x5f3915,_0x2a2678,_0x2d4cb6,_0x3a129c)=>{const _0x1668b2=_0x376033;let _0x2c8dc0=[];switch(_0x5f3915['id']){case _0x406901[_0x1668b2(0x219)]:{_0x2c8dc0=_0x4c3566(_0x5f3915,_0x3a129c);break;}case _0x406901[_0x1668b2(0x12f)]:{_0x2c8dc0=_0x5dc2fb(_0x5f3915,_0x3a129c);break;}case _0x406901['InsertColCommandId']:{_0x2c8dc0=_0x516cb6(_0x5f3915,_0x3a129c);break;}case _0x406901['InsertRangeMoveDownCommandId']:{_0x2c8dc0=_0x5a4a6f(_0x5f3915,_0x3a129c);break;}case _0x406901['InsertRangeMoveRightCommandId']:{_0x2c8dc0=_0x4b02d7(_0x5f3915,_0x3a129c);break;}case _0x406901['InsertRowCommandId']:{_0x2c8dc0=_0x3f91d8(_0x5f3915,_0x3a129c);break;}case _0x406901['MoveRangeCommandId']:{_0x2c8dc0=_0x5e8159(_0x5f3915,_0x3a129c);break;}case _0x406901[_0x1668b2(0x117)]:{_0x2c8dc0=_0x4e9c55(_0x5f3915,_0x3a129c);break;}case _0x406901[_0x1668b2(0x279)]:{_0x2c8dc0=_0x423803(_0x5f3915,_0x3a129c);break;}}const _0x566caa=_0x34b845(_0x2c8dc0,_0x3a129c),_0xadf98e=this['cursorInfo'][_0x1668b2(0x273)](_0x2a2678);if(_0xadf98e&&_0x566caa){const _0x35853c={..._0xadf98e,'range':_0x566caa};this[_0x1668b2(0xb0)][_0x1668b2(0x19e)](_0x2a2678,_0x35853c),_0x2a7e0b(()=>{const _0x3d057e=_0x1668b2,_0x35e5bd=this['_refRangeService'][_0x3d057e(0x155)](_0x566caa,_0x47c98a=>(_0x35e5bd[_0x3d057e(0x1e7)](),_0x3b8574(_0x47c98a,_0x2a2678,_0x2d4cb6,_0x566caa)));_0x3b3f8d[_0x3d057e(0x283)](_0x35e5bd);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x376033(0xbd)]((_0x1ff4f5,_0x27246b)=>{const _0x153de9=_0x376033,{range:_0x28efb6,sheetID:_0x1829d1}=_0x1ff4f5,_0x463c02=this[_0x153de9(0x261)]['registerRefRange'](_0x28efb6,_0x299772=>(_0x463c02[_0x153de9(0x1e7)](),_0x3b8574(_0x299772,_0x27246b,_0x1829d1,_0x28efb6)));_0x3b3f8d[_0x153de9(0x283)](_0x463c02);});};this[_0x3783ca(0xcc)](_0x2bea03(this[_0x3783ca(0xfd)][_0x3783ca(0x276)](()=>{_0x5f2b94();})));}[_0x8a45ae(0x1cd)](){const _0x4c1ddc=_0x8a45ae;var _0x4a840b,_0x194548;if(this[_0x4c1ddc(0x106)]=!0x0,((_0x4a840b=this[_0x4c1ddc(0x19d)][_0x4c1ddc(0x17c)]())==null?void 0x0:_0x4a840b[_0x4c1ddc(0x23d)]())!==this[_0x4c1ddc(0x126)])return;const _0x36192b=(_0x194548=this[_0x4c1ddc(0x110)][_0x4c1ddc(0x273)](_0x34a40e)[_0x4c1ddc(0x24e)]())==null?void 0x0:_0x194548[0x0],_0x128c69=this[_0x4c1ddc(0x19d)]['getCurrentUnitForType'](_0x5e7335[_0x4c1ddc(0x23b)])[_0x4c1ddc(0x157)]();_0x36192b&&_0x128c69&&this[_0x4c1ddc(0xa2)](_0x128c69[_0x4c1ddc(0xa8)](),_0x36192b);}[_0x8a45ae(0x1a6)](){const _0x123227=_0x8a45ae;this[_0x123227(0x106)]=!0x1;}};Pe=gi([x(0x2,_0x2b29b5(_0x2e7518)),x(0x3,_0x2b29b5(He)),x(0x4,_0x2b29b5(_0x9d3188)),x(0x5,_0x4f4b20),x(0x6,_0x5a6621),x(0x7,_0x2b29b5(_0x34e6fd))],Pe);var Ci=Object[_0x8a45ae(0x122)],Ei=(_0x1959cc,_0x5bb7fc,_0xe9cdb2,_0x3e7e9e)=>{for(var _0x24d1de=_0x3e7e9e>0x1?void 0x0:_0x3e7e9e?Ci(_0x5bb7fc,_0xe9cdb2):_0x5bb7fc,_0x4240ca=_0x1959cc['length']-0x1,_0x3d6b71;_0x4240ca>=0x0;_0x4240ca--)(_0x3d6b71=_0x1959cc[_0x4240ca])&&(_0x24d1de=_0x3d6b71(_0x24d1de)||_0x24d1de);return _0x24d1de;},me=(_0x57353a,_0xa1b136)=>(_0x2d6059,_0x325aaa)=>_0xa1b136(_0x2d6059,_0x325aaa,_0x57353a);let H=class extends _0x4ddb4d{constructor(_0x575f35,_0x2f547c,_0x5c1726){const _0x2898dd=_0x8a45ae;super(),_(this,_0x2898dd(0xf7),new Map()),_(this,_0x2898dd(0xe2),new _0x8d9445()),(this[_0x2898dd(0x19d)]=_0x575f35,this[_0x2898dd(0x110)]=_0x2f547c,this[_0x2898dd(0x175)]=_0x5c1726,this[_0x2898dd(0x1a3)]());}[_0x8a45ae(0x1e7)](){const _0x4ade7=_0x8a45ae;super[_0x4ade7(0x1e7)](),this[_0x4ade7(0xe2)]['complete'](),this[_0x4ade7(0xf7)]['forEach'](_0x53e7ca=>_0x53e7ca['dispose']());}[_0x8a45ae(0x27e)](_0x74c0c1){const _0x3bf3b5=_0x8a45ae;return this[_0x3bf3b5(0xf7)][_0x3bf3b5(0x250)](_0x74c0c1)?this[_0x3bf3b5(0xf7)][_0x3bf3b5(0x273)](_0x74c0c1)[_0x3bf3b5(0xee)]:this['_entityInit$'][_0x3bf3b5(0x207)](_0x454c7f(_0x55e50d=>_0x55e50d[_0x3bf3b5(0x126)]===_0x74c0c1),_0x10c81f(_0x31680c=>_0x31680c[_0x3bf3b5(0xee)]));}[_0x8a45ae(0x1a3)](){const _0x5737a0=_0x8a45ae;this[_0x5737a0(0x19d)][_0x5737a0(0x129)](_0x5e7335[_0x5737a0(0x23b)])['pipe'](_0x250db3(this[_0x5737a0(0xfc)]))['subscribe'](async _0x15e280=>{const _0x312bfc=_0x5737a0,_0x2c2015=_0x15e280[_0x312bfc(0x23d)](),_0xd2530b=await this[_0x312bfc(0x246)](_0x2c2015);this[_0x312bfc(0xe2)][_0x312bfc(0x15b)](_0xd2530b),this[_0x312bfc(0xf7)][_0x312bfc(0x19e)](_0x2c2015,_0xd2530b);}),this[_0x5737a0(0x19d)][_0x5737a0(0x129)](_0x5e7335['UNIVER_DOC'])[_0x5737a0(0x207)](_0x250db3(this[_0x5737a0(0xfc)]))[_0x5737a0(0x207)](_0x454c7f(_0x440482=>!_0x440482[_0x5737a0(0x23d)]()[_0x5737a0(0x1f8)]('__')))[_0x5737a0(0x276)](async _0x345488=>{const _0x57a5fd=_0x5737a0,_0x1bf854=_0x345488['getUnitId'](),_0x1d1d80=await this[_0x57a5fd(0xcb)](_0x1bf854);this[_0x57a5fd(0xe2)][_0x57a5fd(0x15b)](_0x1d1d80),this[_0x57a5fd(0xf7)][_0x57a5fd(0x19e)](_0x1bf854,_0x1d1d80);}),_0x292438(this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5e7335[_0x5737a0(0xb2)]),this[_0x5737a0(0x19d)]['getTypeOfUnitDisposed$'](_0x5e7335[_0x5737a0(0x23b)]))[_0x5737a0(0x207)](_0x250db3(this['dispose$']))[_0x5737a0(0x276)](_0x1a8e4c=>{const _0x51bbc6=_0x5737a0,_0x2916b2=_0x1a8e4c[_0x51bbc6(0x23d)](),_0x3d6c57=this[_0x51bbc6(0xf7)][_0x51bbc6(0x273)](_0x2916b2);_0x3d6c57&&(_0x3d6c57['dispose'](),this[_0x51bbc6(0xf7)][_0x51bbc6(0x156)](_0x2916b2));});}async[_0x8a45ae(0x246)](_0x58dd46){const _0x1f0d7b=_0x8a45ae,_0xfff06d=await this[_0x1f0d7b(0x175)][_0x1f0d7b(0x1c1)](_0x58dd46),_0x4a07c7=this[_0x1f0d7b(0x110)][_0x1f0d7b(0x165)](Pe,_0x58dd46,_0xfff06d);return _0x4a07c7[_0x1f0d7b(0x213)](),_0x4a07c7;}async[_0x8a45ae(0xcb)](_0x371da5){const _0x16be2d=_0x8a45ae,_0x73daf0=await this[_0x16be2d(0x175)]['requireSession'](_0x371da5),_0xab237b=this[_0x16be2d(0x110)]['createInstance'](Me,_0x371da5,_0x73daf0);return _0xab237b['init'](),_0xab237b;}};H=Ei([me(0x0,_0x4f4b20),me(0x1,_0x2b29b5(_0x2e7518)),me(0x2,_0x2b29b5(_0x104c61))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x8398ec,_0x1a196b){const _0x362a63=_0x8a45ae;let {radius:_0x209a25,width:_0x24addb,height:_0x2fd8f4}=_0x1a196b;_0x209a25=_0x209a25!=null?_0x209a25:0x0,_0x24addb=_0x24addb!=null?_0x24addb:0x1e,_0x2fd8f4=_0x2fd8f4!=null?_0x2fd8f4:0x1e;let _0x1d0524=0x0,_0x124bbe=0x0,_0x146045=0x0;_0x1d0524=_0x124bbe=_0x146045=Math[_0x362a63(0x13b)](_0x209a25,_0x24addb/0x2,_0x2fd8f4/0x2),_0x8398ec['beginPath'](),_0x8398ec[_0x362a63(0x29a)](_0x1d0524,0x0),_0x8398ec[_0x362a63(0x10e)](_0x24addb-_0x124bbe,0x0),_0x8398ec['arc'](_0x24addb-_0x124bbe,_0x124bbe,_0x124bbe,Math['PI']*0x3/0x2,0x0,!0x1),_0x8398ec[_0x362a63(0x10e)](_0x24addb,_0x2fd8f4-_0x146045),_0x8398ec[_0x362a63(0x284)](_0x24addb-_0x146045,_0x2fd8f4-_0x146045,_0x146045,0x0,Math['PI']/0x2,!0x1),_0x8398ec['lineTo'](0x0,_0x2fd8f4),_0x8398ec['lineTo'](0x0,_0x1d0524),_0x8398ec[_0x362a63(0x284)](_0x1d0524,_0x1d0524,_0x1d0524,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x8398ec['closePath'](),_0x1a196b[_0x362a63(0x182)]&&(_0x8398ec[_0x362a63(0x290)](),_0x8398ec['fillStyle']=_0x1a196b[_0x362a63(0x182)],_0x1a196b[_0x362a63(0x11e)]===_0x362a63(0x18f)?_0x8398ec[_0x362a63(0x182)](_0x362a63(0x18f)):_0x8398ec[_0x362a63(0x182)](),_0x8398ec[_0x362a63(0x1a8)]());}class ue extends _0x5e33e7{constructor(_0x4e4437,_0x32499e){const _0x5ec42a=_0x8a45ae;super(_0x4e4437,_0x32499e),_(this,_0x5ec42a(0x245)),_(this,_0x5ec42a(0x168)),(this[_0x5ec42a(0x245)]=_0x32499e==null?void 0x0:_0x32499e['color'],this['text']=_0x32499e==null?void 0x0:_0x32499e[_0x5ec42a(0x168)]);}static[_0x8a45ae(0x112)](_0x470ae6,_0x17dee4){const _0x490b4c=_0x8a45ae,{text:_0x310017,color:_0x5303ba}=_0x17dee4;_0x470ae6['save'](),_0x470ae6[_0x490b4c(0x15d)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1e4508=_0x470ae6['measureText'](_0x310017)[_0x490b4c(0x226)],_0x156eb0=Math['min'](_0x1e4508+0x2*ge,et);Oi(_0x470ae6,{'height':te,'radius':0x4,'width':_0x156eb0,'fill':_0x5303ba}),_0x470ae6[_0x490b4c(0x127)]=_0x490b4c(0xdb);const _0x373e9c=ge,_0x4a99df=te-bi,_0x14532a=et-0x2*ge;if(_0x1e4508>_0x14532a){let _0x20a4b9='',_0x132412=0x0;for(const _0x37f472 of _0x310017){const _0x1a8ea3=_0x470ae6[_0x490b4c(0x151)](_0x37f472)[_0x490b4c(0x226)];if(_0x132412+_0x1a8ea3<=_0x14532a-_0x470ae6[_0x490b4c(0x151)](_0x490b4c(0xed))[_0x490b4c(0x226)])_0x20a4b9+=_0x37f472,_0x132412+=_0x1a8ea3;else{_0x20a4b9+=_0x490b4c(0xed);break;}}_0x470ae6['fillText'](_0x20a4b9,_0x373e9c,_0x4a99df);}else _0x470ae6[_0x490b4c(0x26d)](_0x310017,_0x373e9c,_0x4a99df);_0x470ae6[_0x490b4c(0x1a8)]();}['_draw'](_0x3ddf57){const _0x7bb4c7=_0x8a45ae;ue[_0x7bb4c7(0x112)](_0x3ddf57,this);}}const ve=_0x8a45ae(0xe9),Ti=_0x8a45ae(0xf6),Ri=_0x8a45ae(0x10c),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Ui=_0x8a45ae(0x128);class tt{constructor(_0x1b627a,_0xad1094,_0x5d91d7,_0x5a0113){const _0x44d7a9=_0x8a45ae;_(this,_0x44d7a9(0xc0),[]),_(this,_0x44d7a9(0x267),null),_(this,_0x44d7a9(0x1d5),null),_(this,_0x44d7a9(0x26a),null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x44d7a9(0x278)]=_0x1b627a,this[_0x44d7a9(0x131)]=_0xad1094,this[_0x44d7a9(0x27d)]=_0x5d91d7,this[_0x44d7a9(0x1d1)]=_0x5a0113,this[_0x44d7a9(0x208)]());}set[_0x8a45ae(0x255)](_0x5b0a4e){const _0xe65c19=_0x8a45ae;_0x5b0a4e?(this[_0xe65c19(0x26a)]&&this[_0xe65c19(0x26a)][_0xe65c19(0x248)](),this[_0xe65c19(0x1d5)]&&this[_0xe65c19(0x1d5)][_0xe65c19(0xa0)]()):(this[_0xe65c19(0x26a)]&&this[_0xe65c19(0x26a)][_0xe65c19(0xa0)](),this[_0xe65c19(0x1d5)]&&this['_textBubble'][_0xe65c19(0x248)]());}['dispose'](){const _0x35ee00=_0x8a45ae;for(const _0x3bb2f3 of this[_0x35ee00(0xc0)])_0x3bb2f3[_0x35ee00(0x1e7)]();this[_0x35ee00(0x1d5)]&&this[_0x35ee00(0x1d5)][_0x35ee00(0x1e7)](),this[_0x35ee00(0x26a)]&&this['_anchorDot'][_0x35ee00(0x1e7)](),this[_0x35ee00(0x267)]&&this[_0x35ee00(0x267)]['dispose'](),this[_0x35ee00(0x1f4)]&&this[_0x35ee00(0x1f4)]();}[_0x8a45ae(0x208)](){const _0x157463=_0x8a45ae;var _0x2a9de9;const {_docSkeleton:_0x1f3b94,_document:_0x31eca0}=this,{color:_0x412fe7,name:_0x4ae581,ranges:_0x33555f}=this[_0x157463(0x278)],_0x3ad16a=_0x31eca0[_0x157463(0x1b3)](),{docsLeft:_0x583de6,docsTop:_0x5a68bb}=_0x3ad16a,_0x155e29=new _0x227645(_0x3ad16a,_0x1f3b94);for(const {startOffset:_0x3b935d,endOffset:_0x584874,rangeType:_0x2855b7,segmentId:_0x2efe75,segmentPage:_0x447aa0,collapsed:_0x48f0f8,isActive:_0x2e8740}of _0x33555f){const _0x5c2e5f=_0x1f3b94[_0x157463(0x266)](_0x3b935d,!0x0,_0x2efe75,_0x447aa0);let _0x21050a=_0x1f3b94['findNodePositionByCharIndex'](_0x584874,!0x0,_0x2efe75,_0x447aa0);if(_0x21050a==null&&(_0x21050a=_0x1f3b94[_0x157463(0x266)](_0x584874-0x1,!0x1,_0x2efe75,_0x447aa0)),_0x2e8740){const {contentBoxPointGroup:_0x55373f}=_0x155e29[_0x157463(0x233)](_0x21050a,_0x21050a);if(_0x55373f[_0x157463(0x13d)]===0x0)continue;this['_drawAnchor'](_0x412fe7,_0x55373f,_0x583de6,_0x5a68bb,_0x4ae581),this['_eventUnsubscribe']=this[_0x157463(0x12c)]();}if(_0x5c2e5f&&_0x21050a){if(_0x2855b7===_0x4a069e[_0x157463(0x109)]){const _0x313a1c=new _0x1a65a4(_0x3ad16a,_0x1f3b94),{pointGroup:_0x1cd62e}=(_0x2a9de9=_0x313a1c[_0x157463(0x233)](_0x5c2e5f,_0x21050a))!=null?_0x2a9de9:{};if(_0x1cd62e==null||_0x1cd62e['length']===0x0)continue;this[_0x157463(0xe8)](_0x412fe7,_0x1cd62e,_0x583de6,_0x5a68bb);}else{if(!_0x48f0f8){const {borderBoxPointGroup:_0x4b2ecf}=_0x155e29[_0x157463(0x233)](_0x5c2e5f,_0x21050a);if(_0x4b2ecf[_0x157463(0x13d)]===0x0)continue;this[_0x157463(0x170)](_0x412fe7,_0x4b2ecf,_0x583de6,_0x5a68bb);}}}}}['_drawAnchor'](_0x7d2e91,_0x561323,_0xbda41,_0x45ca1a,_0x144352){const _0x1729b8=_0x8a45ae,_0x4019ac=this['_getAnchorBounding'](_0x561323),{left:_0x473a5d,top:_0x26f44e,height:_0x36998e}=_0x4019ac,_0x458157=this[_0x1729b8(0x234)](),_0x23ca49=Ni/_0x458157,_0x40de5b=new _0x1b3054(ve+_0x481080[_0x1729b8(0x1a1)](X),{'left':_0x473a5d+_0xbda41-_0x23ca49,'top':_0x26f44e+_0x45ca1a,'height':_0x36998e,'width':Di,'fill':_0x7d2e91||_0x1540b8(_0x4b49be[_0x1729b8(0x17d)],0x0),'strokeWidth':_0x23ca49,'stroke':Ui,'evented':!0x0});this[_0x1729b8(0x267)]=_0x40de5b,this['_scene'][_0x1729b8(0x197)](_0x40de5b,_0x415268);const _0x4db11b=new _0x1b3054(ve+_0x481080[_0x1729b8(0x1a1)](X),{'left':_0x473a5d+_0xbda41-_0x23ca49,'top':_0x26f44e+_0x45ca1a-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x7d2e91||_0x1540b8(_0x4b49be[_0x1729b8(0x17d)],0x0),'strokeWidth':0x0,'stroke':_0x7d2e91||_0x1540b8(_0x4b49be[_0x1729b8(0x17d)],0x0),'evented':!0x1});this['_anchorDot']=_0x4db11b,this['_scene'][_0x1729b8(0x197)](_0x4db11b,_0x415268);const _0x55cba2=new ue(ve+_0x481080[_0x1729b8(0x1a1)](X),{'left':_0x473a5d+_0xbda41-_0x23ca49,'top':_0x26f44e+_0x45ca1a-te,'text':_0x144352,'color':_0x7d2e91});this['_textBubble']=_0x55cba2,this['_scene'][_0x1729b8(0x197)](_0x55cba2,_0x415268),this['_hover']=!0x1;}[_0x8a45ae(0x12c)](){const _0x3ac901=_0x8a45ae,_0x3d76e6=this[_0x3ac901(0x267)][_0x3ac901(0x14f)][_0x3ac901(0x195)](()=>{this['_hover']=!0x0;}),_0x2c8737=this[_0x3ac901(0x267)]['onPointerLeave$'][_0x3ac901(0x195)](()=>{const _0x1dc366=_0x3ac901;this[_0x1dc366(0x1c7)]&&clearTimeout(this[_0x1dc366(0x1c7)]),this[_0x1dc366(0x1c7)]=setTimeout(()=>{const _0x10a5b8=_0x1dc366;this[_0x10a5b8(0x255)]=!0x1;},0x7d0);});return()=>{const _0x5f4aaa=_0x3ac901;_0x3d76e6['unsubscribe'](),_0x2c8737[_0x5f4aaa(0x1b5)]();};}['_drawTextRange'](_0x53cda0,_0x4d0070,_0x43085e,_0x2cc476){const _0x48b339=_0x8a45ae,_0x28ec4f=new _0x482e95(_0x53cda0)['setAlpha'](0.2)[_0x48b339(0x291)](),_0x1a643a=new _0x22e4ca(Ti+_0x481080['generateRandomId'](X),{'pointsGroup':_0x4d0070,'fill':_0x28ec4f||_0x1540b8(_0x4b49be[_0x48b339(0x17d)],0.2),'left':_0x43085e,'top':_0x2cc476,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x48b339(0xc0)][_0x48b339(0xe0)](_0x1a643a),this[_0x48b339(0x131)][_0x48b339(0x197)](_0x1a643a,_0x415268);}[_0x8a45ae(0xe8)](_0x109bac,_0xe4da35,_0x51cdc5,_0x5eeac8){const _0x5e98f8=_0x8a45ae,_0x188e83=new _0x482e95(_0x109bac)[_0x5e98f8(0x9e)](0.2)[_0x5e98f8(0x291)](),_0x2cbaf5=new _0x22e4ca(Ri+_0x481080[_0x5e98f8(0x1a1)](X),{'pointsGroup':_0xe4da35,'fill':_0x188e83||_0x1540b8(_0x4b49be[_0x5e98f8(0x17d)],0.2),'left':_0x51cdc5,'top':_0x5eeac8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5e98f8(0xc0)][_0x5e98f8(0xe0)](_0x2cbaf5),this[_0x5e98f8(0x131)][_0x5e98f8(0x197)](_0x2cbaf5,_0x415268);}['_getAnchorBounding'](_0x2be99e){const _0x5850be=_0x2be99e[0x0],_0xd936e4=_0x5850be[0x0],_0x2c9085=_0x5850be[0x2],{x:_0xb77ece,y:_0x56ca8b}=_0xd936e4,{x:_0xd43d17,y:_0x592288}=_0x2c9085;return{'left':_0xb77ece,'top':_0x56ca8b,'width':_0xd43d17-_0xb77ece,'height':_0x592288-_0x56ca8b};}[_0x8a45ae(0x234)](){const _0x38d52e=_0x8a45ae,{scaleX:_0x573ec4,scaleY:_0x3c40f1}=this[_0x38d52e(0x131)][_0x38d52e(0xb6)]();return Math['max'](_0x573ec4,_0x3c40f1);}}var Mi=Object[_0x8a45ae(0x122)],Pi=(_0x482a45,_0x10b088,_0x22551c,_0x3594d0)=>{const _0xf3317e=_0x8a45ae;for(var _0x4df6b7=_0x3594d0>0x1?void 0x0:_0x3594d0?Mi(_0x10b088,_0x22551c):_0x10b088,_0x449039=_0x482a45[_0xf3317e(0x13d)]-0x1,_0x118104;_0x449039>=0x0;_0x449039--)(_0x118104=_0x482a45[_0x449039])&&(_0x4df6b7=_0x118104(_0x4df6b7)||_0x4df6b7);return _0x4df6b7;},Q=(_0x32ae5c,_0x342c88)=>(_0x1c86ee,_0x4b58dd)=>_0x342c88(_0x1c86ee,_0x4b58dd,_0x32ae5c);let we=class extends _0x4ddb4d{constructor(_0x39cf84,_0x47402c,_0x90ed2d,_0x34ed69,_0xb4b1af){const _0x535453=_0x8a45ae;super(),_(this,'_cursorShapes',[]),_(this,_0x535453(0x163),[]),(this['_context']=_0x39cf84,this[_0x535453(0xec)]=_0x47402c,this[_0x535453(0x143)]=_0x90ed2d,this[_0x535453(0xd1)]=_0x34ed69,this[_0x535453(0x203)]=_0xb4b1af,this[_0x535453(0x1a3)]());}[_0x8a45ae(0x1a3)](){const _0x4f0b43=_0x8a45ae,_0x169d6c=this[_0x4f0b43(0x130)]['unitId'],_0x30fec5=this[_0x4f0b43(0xec)];this[_0x4f0b43(0xcc)](_0x5c90b1([this[_0x4f0b43(0x143)][_0x4f0b43(0x27e)](_0x169d6c),this[_0x4f0b43(0x203)]['currentTheme$']])['pipe'](_0x2df5e8(([_0x339bdc,_0x165419])=>({'skeleton':_0x30fec5[_0x4f0b43(0xfa)](),'cursors':[..._0x339bdc['values']()][_0x4f0b43(0x166)](_0x51a0a8=>({..._0x51a0a8,'color':_0x165419[_0x51a0a8['color']]}))})))[_0x4f0b43(0x276)](_0x3db690=>{const _0x2235c5=_0x4f0b43;if(this[_0x2235c5(0x253)](),_0x3db690){const {skeleton:_0x3e580b,cursors:_0x55dddf}=_0x3db690;this[_0x2235c5(0x209)](_0x3e580b,_0x55dddf);}})),this[_0x4f0b43(0x10d)](),this['_initCommandExecutedListener']();}[_0x8a45ae(0x209)](_0x19bf1e,_0x30ba13){const _0x40e762=_0x8a45ae,{scene:_0x2afa69,mainComponent:_0x28864d}=this['_context'],_0x39eb3d=_0x30ba13[_0x40e762(0x1cb)](_0x1ba590=>new tt(_0x1ba590,_0x2afa69,_0x19bf1e,_0x28864d));this[_0x40e762(0x251)]=_0x39eb3d,this['_cursors']=_0x30ba13;}[_0x8a45ae(0x1d7)](){const _0xc45696=_0x8a45ae;this[_0xc45696(0x253)]();const {scene:_0x9da994,mainComponent:_0xb11619}=this[_0xc45696(0x130)],_0x5b51d2=this['_docSkeletonManagerService'][_0xc45696(0xfa)](),_0x9d9407=this[_0xc45696(0x163)]['map'](_0x1d0301=>new tt(_0x1d0301,_0x9da994,_0x5b51d2,_0xb11619));this[_0xc45696(0x251)]=_0x9d9407;}['_removeCollabCursors'](){const _0x107afd=_0x8a45ae;this[_0x107afd(0x251)][_0x107afd(0xbd)](_0x3a8c69=>_0x3a8c69['dispose']()),this[_0x107afd(0x251)]=[];}[_0x8a45ae(0x10b)](){const _0x5db6b6=_0x8a45ae,_0x2c04e1=[_0x21410b['id']];this[_0x5db6b6(0xcc)](this[_0x5db6b6(0xd1)][_0x5db6b6(0xd5)](_0x2f0582=>{const _0x440063=_0x5db6b6;_0x2c04e1[_0x440063(0x298)](_0x2f0582['id'])&&_0x2f0582[_0x440063(0xf3)]['unitId']===this[_0x440063(0x130)][_0x440063(0x115)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x18ea43=_0x8a45ae;this[_0x18ea43(0xcc)](_0x2f1e16(this['_context'][_0x18ea43(0x140)][_0x18ea43(0x1d0)])['pipe'](_0x338f7d(_0x50b45f=>_0x50b45f[_0x18ea43(0x204)]===_0x925224[_0x18ea43(0x257)]),_0x28d5e2(0x10))[_0x18ea43(0x276)](()=>{const _0x16f021=_0x18ea43;this[_0x16f021(0x1d7)]();}));}};we=Pi([Q(0x1,_0x2b29b5(_0x2ff5f4)),Q(0x2,_0x2b29b5(H)),Q(0x3,_0x5a6621),Q(0x4,_0x2b29b5(_0x53e720))],we);const wi=0x1,Li=1.5;function _0x4d6b(_0x3b5196,_0x267c8f){const _0x1fbc51=_0x1fbc();return _0x4d6b=function(_0x4d6bff,_0x55e736){_0x4d6bff=_0x4d6bff-0x9c;let _0x2730f4=_0x1fbc51[_0x4d6bff];return _0x2730f4;},_0x4d6b(_0x3b5196,_0x267c8f);}class Ai extends _0x5e33e7{constructor(_0x38a73c,_0x567517){const _0x26850c=_0x8a45ae;super(_0x38a73c,_0x567517),_(this,_0x26850c(0xa5)),_(this,'_hovered',!0x1),_(this,_0x26850c(0xfe)),_(this,'_name',''),_(this,_0x26850c(0x1b9),_0x26850c(0xc1)),_(this,'_backgroundColor'),(_0x567517&&this['setShapeProps'](_0x567517),this[_0x26850c(0x14f)][_0x26850c(0x195)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x26850c(0x195)](()=>this[_0x26850c(0x10f)]({'hovered':!0x1})));}[_0x8a45ae(0x10f)](_0x2455da){const _0x1917c9=_0x8a45ae;var _0x12c528,_0x23df0e,_0xd4f644,_0x44d688,_0x21b140,_0xf7d756;this['_color']=(_0x12c528=_0x2455da['color'])!=null?_0x12c528:this['_color'],this['_hovered']=(_0x23df0e=_0x2455da[_0x1917c9(0x13a)])!=null?_0x23df0e:this[_0x1917c9(0x194)],this['_range']=(_0xd4f644=_0x2455da[_0x1917c9(0x202)])!=null?_0xd4f644:this[_0x1917c9(0xfe)],this[_0x1917c9(0x262)]=(_0x44d688=_0x2455da[_0x1917c9(0x1dc)])!=null?_0x44d688:this['_name'],this[_0x1917c9(0x1b9)]=(_0x21b140=_0x2455da[_0x1917c9(0x22b)])!=null?_0x21b140:this[_0x1917c9(0x1b9)],this[_0x1917c9(0xd4)]=(_0xf7d756=_0x2455da[_0x1917c9(0x15a)])!=null?_0xf7d756:this[_0x1917c9(0xd4)],this[_0x1917c9(0x227)]({'width':_0x2455da[_0x1917c9(0x226)],'height':_0x2455da['height']});}['onMouseMove'](_0x37cf8a){const _0x516b12=_0x8a45ae,{row:_0x4c9b20,column:_0x50595b}=_0x37cf8a;if(_0x4c9b20>=this['_range'][_0x516b12(0xbf)]&&_0x4c9b20<=this[_0x516b12(0xfe)][_0x516b12(0x183)]&&_0x50595b>=this['_range']['startColumn']&&_0x50595b<=this['_range'][_0x516b12(0x1ce)]){this[_0x516b12(0x10f)]({'hovered':!0x0});return;}this[_0x516b12(0x10f)]({'hovered':!0x1});}[_0x8a45ae(0x26b)](_0x199a2e){return!0x1;}[_0x8a45ae(0x21d)](_0x5e2e43){const _0x295d86=_0x8a45ae;_0x1b3054[_0x295d86(0x112)](_0x5e2e43,{'width':this[_0x295d86(0x226)],'height':this[_0x295d86(0x104)],'strokeWidth':Li,'stroke':this[_0x295d86(0xa5)],'evented':!0x1,'fill':this[_0x295d86(0xd4)]}),this[_0x295d86(0x194)]&&(_0x5e2e43[_0x295d86(0x290)](),_0x5e2e43['transform'](0x1,0x0,0x0,0x1,this[_0x295d86(0x226)],this[_0x295d86(0x1b9)]===_0x295d86(0x26c)?0x0:-0x14),ue[_0x295d86(0x112)](_0x5e2e43,{'text':this[_0x295d86(0x262)],'color':this[_0x295d86(0xa5)]}),_0x5e2e43['restore']());}}var yi=Object[_0x8a45ae(0x122)],$i=(_0x1abed2,_0x3334f3,_0x3df349,_0x23ad2a)=>{const _0x93b61a=_0x8a45ae;for(var _0x2881a0=_0x23ad2a>0x1?void 0x0:_0x23ad2a?yi(_0x3334f3,_0x3df349):_0x3334f3,_0x638376=_0x1abed2[_0x93b61a(0x13d)]-0x1,_0x4714eb;_0x638376>=0x0;_0x638376--)(_0x4714eb=_0x1abed2[_0x638376])&&(_0x2881a0=_0x4714eb(_0x2881a0)||_0x2881a0);return _0x2881a0;},pe=(_0x398abe,_0x11753d)=>(_0x51146b,_0x32e6a0)=>_0x11753d(_0x51146b,_0x32e6a0,_0x398abe);const xi=0x1389;let Le=class extends _0x4ddb4d{constructor(_0x23bda6,_0x488eb0,_0x446b56,_0x2a0cd8){const _0x3e3703=_0x8a45ae;super(),_(this,_0x3e3703(0x163),new Set()),_(this,_0x3e3703(0x256),null),(this[_0x3e3703(0x130)]=_0x23bda6,this[_0x3e3703(0x23e)]=_0x488eb0,this['_collabCursorController']=_0x446b56,this['_themeService']=_0x2a0cd8,this[_0x3e3703(0x1a3)]());}[_0x8a45ae(0x1a3)](){const _0x1c841a=_0x8a45ae;this[_0x1c841a(0x23e)][_0x1c841a(0x123)][_0x1c841a(0x207)](_0x18f518(this['dispose$']),_0x32fc0f(_0x4fb031=>{const _0x4823aa=_0x1c841a;if(_0x4fb031){const _0x12e89d=_0x4fb031[_0x4823aa(0x1cf)];return _0x5c90b1(this[_0x4823aa(0x143)][_0x4823aa(0x27e)](this['_context'][_0x4823aa(0x115)]),this[_0x4823aa(0x203)][_0x4823aa(0x22a)])[_0x4823aa(0x207)](_0x2df5e8(([_0x453c71,_0x36acdb])=>{const _0xf7766e=_0x4823aa,_0x282bc8=new Map();return _0x453c71[_0xf7766e(0xbd)]((_0x1cec65,_0xb5049d)=>{const _0x5073d3=_0xf7766e;if(_0x1cec65[_0x5073d3(0x200)]===_0x12e89d){const _0x121172={..._0x1cec65};_0x121172['color']=_0x36acdb[_0x1cec65[_0x5073d3(0x245)]],_0x282bc8[_0x5073d3(0x19e)](_0xb5049d,_0x121172);}}),{'skeleton':_0x4fb031,'cursors':_0x282bc8};}));}return _0x159153({'skeleton':null,'cursors':new Map()});}))[_0x1c841a(0x276)](({skeleton:_0x12479f,cursors:_0x140e17})=>{const _0x57b8c3=_0x1c841a;this[_0x57b8c3(0x253)](),_0x12479f&&this[_0x57b8c3(0x209)](_0x12479f,_0x140e17);}),this[_0x1c841a(0x23e)][_0x1c841a(0x123)]['subscribe'](_0x225c69=>{if(_0x225c69==null)return;const {skeleton:_0x37563a}=_0x225c69,{scene:_0x166231}=this['_context'];_0x166231['onPointerMove$']['subscribeEvent'](_0x2bf093(_0x24b7e6=>{const _0x16ffcd=_0x4d6b;var _0x20a004,_0x221185;const {offsetX:_0x5eff57,offsetY:_0x3a0c07}=_0x24b7e6,{x:_0x43b6a3,y:_0x3f7ca0}=_0x166231['getRelativeToViewportCoord'](_0x1c2129[_0x16ffcd(0x1f2)]([_0x5eff57,_0x3a0c07])),{scaleX:_0xdd2ed8,scaleY:_0x357f53}=_0x166231[_0x16ffcd(0xb6)](),_0x3375d5=_0x166231[_0x16ffcd(0xd9)](_0x15116e['VIEW_MAIN']),_0x538cd4=_0x166231[_0x16ffcd(0x179)](_0x1c2129[_0x16ffcd(0x1f2)]([_0x43b6a3,_0x3f7ca0]),_0x3375d5),_0x1ffdbe=_0x37563a[_0x16ffcd(0x294)](_0x5eff57,_0x3a0c07,_0xdd2ed8,_0x357f53,_0x538cd4);((_0x20a004=this[_0x16ffcd(0x256)])==null?void 0x0:_0x20a004['column'])===_0x1ffdbe[_0x16ffcd(0x1ff)]&&((_0x221185=this['_lastPointer'])==null?void 0x0:_0x221185[_0x16ffcd(0x21a)])===_0x1ffdbe[_0x16ffcd(0x21a)]||this[_0x16ffcd(0x163)][_0x16ffcd(0xbd)](_0xeda791=>{const _0x9e847c=_0x16ffcd;_0xeda791[_0x9e847c(0x18e)](_0x1ffdbe);});},0x64));});}[_0x8a45ae(0x209)](_0x4ae2db,_0x458755){const _0x299aea=_0x8a45ae;var _0x584aac;const _0x2fff15=(_0x584aac=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x584aac[_0x299aea(0x225)];if(!_0x2fff15)return;const _0x5c883b=this[_0x299aea(0x11c)]();if(!_0x5c883b)return;this[_0x299aea(0x163)]['forEach'](_0x27242b=>{const _0x343c3d=_0x299aea;_0x27242b[_0x343c3d(0x224)]();});const {scene:_0x4fa96c}=_0x5c883b,_0x4352d2=Bi(Array['from'](_0x458755[_0x299aea(0x1c5)]()))[_0x299aea(0x1cb)](_0x341738=>{const _0x2c1edc=_0x299aea,{color:_0x190799,range:_0x4be79a,name:_0x2dcbf4,selection:_0x185b43,sheetID:_0x517901}=_0x341738,{startColumn:_0x31b868,startRow:_0x11133a,endColumn:_0x3e71f2,endRow:_0x561ed3}=_0x4be79a,_0x5c2ab0=_0x178719(_0x11133a,_0x31b868,_0x4fa96c,_0x2fff15),_0x372756=_0x178719(_0x561ed3,_0x3e71f2,_0x4fa96c,_0x2fff15),{columnHeaderHeightAndMarginTop:_0x458e70}=_0x2fff15,{startX:_0x3f9132,startY:_0x3f562c}=_0x5c2ab0,{endX:_0x140843,endY:_0x19adff}=_0x372756,_0x89bb71=_0x140843-_0x3f9132,_0x3a2418=_0x19adff-_0x3f562c,_0x349230={'labelPosition':_0x3f562c-_0x458e70>=te?_0x2c1edc(0xc1):'bottom','sheetID':_0x517901,'range':_0x4be79a,'color':_0x190799,'name':_0x2dcbf4,'selection':_0x185b43,'left':_0x3f9132,'top':_0x3f562c,'width':_0x89bb71,'height':_0x3a2418,'evented':!0x1,'zIndex':xi};return new Ai(_0x2dcbf4,_0x349230);});_0x4fa96c[_0x299aea(0x28a)](_0x4352d2,wi),this[_0x299aea(0x163)]=new Set(_0x4352d2);}[_0x8a45ae(0x253)](){const _0x42fa1a=_0x8a45ae;var _0x29bda4;(_0x29bda4=this[_0x42fa1a(0x163)])==null||_0x29bda4[_0x42fa1a(0xbd)](_0x3220c3=>_0x3220c3['dispose']());}['_getSheetObject'](){const _0x5a3cf8=_0x8a45ae;return _0x3281c2(this['_context'][_0x5a3cf8(0x25c)],this['_context']);}};Le=$i([pe(0x1,_0x2b29b5(_0x3d7376)),pe(0x2,_0x2b29b5(H)),pe(0x3,_0x2b29b5(_0x53e720))],Le);function Bi(_0x276d2a){const _0x383b62=_0x8a45ae,_0x3b6d01=new Map();return _0x276d2a[_0x383b62(0xbd)](_0x1911a7=>{const _0x5e12eb=_0x383b62;if(_0x3b6d01[_0x5e12eb(0x250)](_0x1911a7[_0x5e12eb(0x145)])){const _0x5e0a32=_0x3b6d01['get'](_0x1911a7['selection']);_0x5e0a32['name']+=',\x20'+_0x1911a7[_0x5e12eb(0x1dc)];}else _0x3b6d01[_0x5e12eb(0x19e)](_0x1911a7[_0x5e12eb(0x145)],_0x1911a7);}),Array[_0x383b62(0x158)](_0x3b6d01[_0x383b62(0x1c5)]());}var I=function(){const _0x149d33=_0x8a45ae;return I=Object[_0x149d33(0xb8)]||function(_0x5b87a8){const _0x3b6467=_0x149d33;for(var _0x2168b7,_0x3bc7c3=0x1,_0x487bfc=arguments[_0x3b6467(0x13d)];_0x3bc7c3<_0x487bfc;_0x3bc7c3++){_0x2168b7=arguments[_0x3bc7c3];for(var _0x6b6463 in _0x2168b7)Object[_0x3b6467(0x235)]['hasOwnProperty']['call'](_0x2168b7,_0x6b6463)&&(_0x5b87a8[_0x6b6463]=_0x2168b7[_0x6b6463]);}return _0x5b87a8;},I[_0x149d33(0xce)](this,arguments);},ki=function(_0x400d1a,_0x43884f){const _0x554454=_0x8a45ae;var _0x5e593a={};for(var _0x56b6e8 in _0x400d1a)Object[_0x554454(0x235)]['hasOwnProperty']['call'](_0x400d1a,_0x56b6e8)&&_0x43884f[_0x554454(0xd2)](_0x56b6e8)<0x0&&(_0x5e593a[_0x56b6e8]=_0x400d1a[_0x56b6e8]);if(_0x400d1a!=null&&typeof Object[_0x554454(0x111)]==_0x554454(0x285)){for(var _0x20595c=0x0,_0x56b6e8=Object['getOwnPropertySymbols'](_0x400d1a);_0x20595c<_0x56b6e8[_0x554454(0x13d)];_0x20595c++)_0x43884f[_0x554454(0xd2)](_0x56b6e8[_0x20595c])<0x0&&Object[_0x554454(0x235)][_0x554454(0x16a)]['call'](_0x400d1a,_0x56b6e8[_0x20595c])&&(_0x5e593a[_0x56b6e8[_0x20595c]]=_0x400d1a[_0x56b6e8[_0x20595c]]);}return _0x5e593a;},We=_0x42ccd7(function(_0x53e777,_0x4ba2b6){const _0x1fbb9e=_0x8a45ae;var _0x36f810=_0x53e777[_0x1fbb9e(0x1bb)],_0x1f165b=_0x53e777['id'],_0xc10480=_0x53e777[_0x1fbb9e(0xaa)],_0x2dc9ee=_0x53e777[_0x1fbb9e(0xbb)],_0x40e01a=ki(_0x53e777,[_0x1fbb9e(0x1bb),'id',_0x1fbb9e(0xaa),'extend']),_0x5c6850=_0x1fbb9e(0x254)['concat'](_0x1f165b,'\x20')[_0x1fbb9e(0x269)](_0xc10480||'')[_0x1fbb9e(0x29b)](),_0x356f3b=_0xeece5b('_'['concat'](Wi()));return Nt(_0x36f810,''[_0x1fbb9e(0x269)](_0x1f165b),{'defIds':_0x36f810['defIds'],'idSuffix':_0x356f3b[_0x1fbb9e(0x1aa)]},I({'ref':_0x4ba2b6,'className':_0x5c6850},_0x40e01a),_0x2dc9ee);});function Nt(_0x57d6f6,_0x3209c2,_0x3eca14,_0xe97f92,_0x44a44a){const _0x599475=_0x8a45ae;return _0x35d3d1(_0x57d6f6[_0x599475(0x20b)],I(I({'key':_0x3209c2},Hi(_0x57d6f6,_0x3eca14,_0x44a44a)),_0xe97f92),(ji(_0x57d6f6,_0x3eca14)[_0x599475(0xfb)]||[])[_0x599475(0x1cb)](function(_0x50f4fd,_0x563a33){const _0x41106d=_0x599475;return Nt(_0x50f4fd,''[_0x41106d(0x269)](_0x3209c2,'-')[_0x41106d(0x269)](_0x57d6f6[_0x41106d(0x20b)],'-')[_0x41106d(0x269)](_0x563a33),_0x3eca14,void 0x0,_0x44a44a);}));}function Hi(_0x31b56a,_0x1fb202,_0x59ffb1){const _0x43e20c=_0x8a45ae;var _0x214b85=I({},_0x31b56a['attrs']);_0x59ffb1!=null&&_0x59ffb1[_0x43e20c(0x16f)]&&_0x214b85[_0x43e20c(0x182)]==='colorChannel1'&&(_0x214b85['fill']=_0x59ffb1[_0x43e20c(0x16f)]),_0x31b56a[_0x43e20c(0x20b)]===_0x43e20c(0x17e)&&_0x214b85['id']&&(_0x214b85['id']=_0x214b85['id']+_0x1fb202[_0x43e20c(0x149)]),Object['entries'](_0x214b85)['forEach'](function(_0x2ff29e){const _0x17010e=_0x43e20c;var _0x1b19ae=_0x2ff29e[0x0],_0x406b6b=_0x2ff29e[0x1];_0x1b19ae===_0x17010e(0x17e)&&typeof _0x406b6b==_0x17010e(0xae)&&(_0x214b85[_0x1b19ae]=_0x406b6b['replace'](/url\(#(.*)\)/,_0x17010e(0x1d2)['concat'](_0x1fb202['idSuffix'],')')));});var _0x314c5a=_0x1fb202[_0x43e20c(0x20e)];return!_0x314c5a||_0x314c5a['length']===0x0||(_0x31b56a[_0x43e20c(0x20b)]===_0x43e20c(0x1a9)&&_0x214b85[_0x43e20c(0x1d8)]&&(_0x214b85['xlink:href']=_0x214b85['xlink:href']+_0x1fb202[_0x43e20c(0x149)]),Object[_0x43e20c(0xc4)](_0x214b85)[_0x43e20c(0xbd)](function(_0xbb6d1a){const _0x596199=_0x43e20c;var _0x5566c6=_0xbb6d1a[0x0],_0x5a5bd5=_0xbb6d1a[0x1];typeof _0x5a5bd5==_0x596199(0xae)&&(_0x214b85[_0x5566c6]=_0x5a5bd5[_0x596199(0x289)](/url\(#(.*)\)/,_0x596199(0x1d2)[_0x596199(0x269)](_0x1fb202['idSuffix'],')')));})),_0x214b85;}function ji(_0x38a32c,_0x88cfb4){const _0x318bf9=_0x8a45ae;var _0x27afbc,_0x2615a1=_0x88cfb4[_0x318bf9(0x20e)];return!_0x2615a1||_0x2615a1['length']===0x0?_0x38a32c:_0x38a32c[_0x318bf9(0x20b)]===_0x318bf9(0x275)&&(!((_0x27afbc=_0x38a32c[_0x318bf9(0xfb)])===null||_0x27afbc===void 0x0)&&_0x27afbc[_0x318bf9(0x13d)])?I(I({},_0x38a32c),{'children':_0x38a32c[_0x318bf9(0xfb)][_0x318bf9(0x1cb)](function(_0x40a40e){const _0xe239dd=_0x318bf9;return typeof _0x40a40e[_0xe239dd(0x239)]['id']=='string'&&_0x2615a1&&_0x2615a1['indexOf'](_0x40a40e[_0xe239dd(0x239)]['id'])>-0x1?I(I({},_0x40a40e),{'attrs':I(I({},_0x40a40e[_0xe239dd(0x239)]),{'id':_0x40a40e['attrs']['id']+_0x88cfb4['idSuffix']})}):_0x40a40e;})}):_0x38a32c;}function Wi(){const _0x554a10=_0x8a45ae;return Math[_0x554a10(0x1e3)]()[_0x554a10(0x26f)](0x24)['substring'](0x2,0x8);}We[_0x8a45ae(0xe1)]=_0x8a45ae(0x280);var Fi={'tag':_0x8a45ae(0x18a),'attrs':{'fill':_0x8a45ae(0x162),'viewBox':_0x8a45ae(0xf1),'width':_0x8a45ae(0x218),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x8a45ae(0x15c)},'children':[{'tag':_0x8a45ae(0x19c),'attrs':{'stroke':'currentColor','d':_0x8a45ae(0x1c0),'strokeLinecap':_0x8a45ae(0x160),'strokeLinejoin':_0x8a45ae(0x160),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x8a45ae(0x1e5),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x8a45ae(0xde),'d':_0x8a45ae(0x25b)}}]}]}],'defIds':[_0x8a45ae(0x21b)]},Ut=_0x42ccd7(function(_0x18dd2a,_0x1109d2){const _0x3fed60=_0x8a45ae;return _0x35d3d1(We,Object[_0x3fed60(0xb8)]({},_0x18dd2a,{'id':_0x3fed60(0x293),'ref':_0x1109d2,'icon':Fi}));});Ut['displayName']=_0x8a45ae(0x1c6);var Yi={'tag':_0x8a45ae(0x18a),'attrs':{'fill':'none','viewBox':_0x8a45ae(0x120),'width':_0x8a45ae(0x218),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x8a45ae(0x1be)},'children':[{'tag':_0x8a45ae(0x19c),'attrs':{'stroke':'currentColor','d':_0x8a45ae(0x1d9),'strokeLinecap':_0x8a45ae(0x160),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x8a45ae(0x275),'attrs':{},'children':[{'tag':_0x8a45ae(0x1e5),'attrs':{'id':_0x8a45ae(0x277)},'children':[{'tag':_0x8a45ae(0x19c),'attrs':{'fill':'#fff','d':_0x8a45ae(0x25b),'transform':_0x8a45ae(0xb4)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Mt=_0x42ccd7(function(_0xdb7ff7,_0x1a11c0){const _0x23b3db=_0x8a45ae;return _0x35d3d1(We,Object[_0x23b3db(0xb8)]({},_0xdb7ff7,{'id':'on-line-single','ref':_0x1a11c0,'icon':Yi}));});Mt[_0x8a45ae(0xe1)]=_0x8a45ae(0x1d3);const Vi=_0x8a45ae(0x172),Xi=_0x8a45ae(0x136),Gi='univer-online-status',Ki=_0x8a45ae(0x297),zi=_0x8a45ae(0x1de),G={'onlineStatusIcon':Vi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x1a37ab){const _0x12acc2=_0x8a45ae;switch(_0x1a37ab){case _0x460ca5[_0x12acc2(0x296)]:return'collabStatus.offline';case _0x460ca5[_0x12acc2(0x164)]:return _0x12acc2(0x238);case _0x460ca5[_0x12acc2(0x161)]:return _0x12acc2(0x1e4);case _0x460ca5[_0x12acc2(0x142)]:return'collabStatus.notCollab';case _0x460ca5['AWAITING']:case _0x460ca5['AWAITING_WITH_PENDING']:return _0x12acc2(0xd0);case _0x460ca5[_0x12acc2(0x26e)]:case _0x460ca5[_0x12acc2(0x1b6)]:return _0x12acc2(0x1f5);}}function Zi(_0x266d32){const _0x147bb3=_0x8a45ae,{status$:_0x35c22d}=_0x266d32,_0x31c153=_0x239d2c(_0x35c22d,_0x460ca5[_0x147bb3(0x142)]),_0x3d6529=_0x4d4de0(_0x37d948),_0x5e8185=_0x4d4de0(_0x104c61),_0x832732=_0x31c153!==_0x460ca5['OFFLINE'],_0x3bb41e=_0x3d6529['t'](Ji(_0x31c153)),_0x4b67e6=_0x125861(G[_0x147bb3(0xca)],{[G[_0x147bb3(0x191)]]:_0x832732,[G[_0x147bb3(0x187)]]:!_0x832732}),_0x1dd92b=_0x832732?_0x19dadc(Mt,{}):_0x19dadc(Ut,{}),_0x4c8826=_0x3df9d3(()=>{const _0x1e7ad0=_0x147bb3;_0x832732||_0x5e8185[_0x1e7ad0(0x295)]();},[_0x832732,_0x5e8185]);function _0x2b30c1(){const _0x3e5ef4=_0x147bb3;return _0xc44abd(_0x3e5ef4(0xe3),{'className':_0x125861(_0x4b67e6,_0x3e5ef4(0x20d)),'onClick':_0x4c8826,'children':[_0x19dadc('div',{'className':G[_0x3e5ef4(0x220)],'children':_0x1dd92b}),_0x19dadc(_0x3e5ef4(0xe3),{'className':G[_0x3e5ef4(0x1c8)],'children':_0x3bb41e})]});}return _0x832732?_0x2b30c1():_0x19dadc(_0x433c34,{'title':_0x3d6529['t']('collab-client.tooltip.reconnect'),'children':_0x2b30c1()});}var Qi=Object[_0x8a45ae(0x122)],qi=(_0x57e2d2,_0x420560,_0x572f99,_0x759a09)=>{const _0x3e8a6c=_0x8a45ae;for(var _0x3d321f=_0x759a09>0x1?void 0x0:_0x759a09?Qi(_0x420560,_0x572f99):_0x420560,_0x2be8b9=_0x57e2d2[_0x3e8a6c(0x13d)]-0x1,_0x5460a1;_0x2be8b9>=0x0;_0x2be8b9--)(_0x5460a1=_0x57e2d2[_0x2be8b9])&&(_0x3d321f=_0x5460a1(_0x3d321f)||_0x3d321f);return _0x3d321f;},q=(_0x539140,_0x145fd9)=>(_0x3a7678,_0x24de7c)=>_0x145fd9(_0x3a7678,_0x24de7c,_0x539140);let se=class extends _0xa082c6{constructor(_0x970054,_0x38562c,_0x411b0f,_0x12b464){const _0x3d15d3=_0x8a45ae;super(),_(this,'_status$',new _0x20d1b4(_0x460ca5[_0x3d15d3(0x142)])),(this[_0x3d15d3(0x19d)]=_0x970054,this[_0x3d15d3(0x110)]=_0x38562c,this[_0x3d15d3(0x9f)]=_0x411b0f,this[_0x3d15d3(0x247)]=_0x12b464,this[_0x3d15d3(0xaf)](),this[_0x3d15d3(0xac)]());}[_0x8a45ae(0xac)](){const _0x177acc=_0x8a45ae;this[_0x177acc(0xcc)](this[_0x177acc(0x19d)]['focused$']['pipe'](_0x10c81f(()=>{const _0x5b0a87=_0x177acc,_0x471948=this[_0x5b0a87(0x19d)][_0x5b0a87(0x17c)]();return _0x471948?this['_collaborationController'][_0x5b0a87(0x100)](_0x471948['getUnitId']()):_0x159153(null);}),_0x10c81f(_0x2c1155=>_0x2c1155?_0x2c1155[_0x177acc(0xdd)]:_0x159153(_0x460ca5[_0x177acc(0x142)])))[_0x177acc(0x276)](_0x4b112a=>{const _0x370460=_0x177acc;this[_0x370460(0x103)][_0x370460(0x15b)](_0x4b112a);}));}['_initStatusComponent'](){const _0x47e0a6=_0x8a45ae;this[_0x47e0a6(0xcc)](this[_0x47e0a6(0x247)][_0x47e0a6(0xe7)](_0x8d4548['HEADER_MENU'],()=>_0x44db3b(en({'status$':this[_0x47e0a6(0x103)]['asObservable']()}),this[_0x47e0a6(0x110)])));}};se=qi([q(0x0,_0x4f4b20),q(0x1,_0x2b29b5(_0x2e7518)),q(0x2,_0x2b29b5(_0x932fa4)),q(0x3,_0x52e0e9)],se);function en(_0x5e1f8c){const {status$:_0x2f885c}=_0x5e1f8c;return function(){return _0x19dadc(Zi,{'status$':_0x2f885c});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x1b4254,_0x5f0cc4,_0x3d5c0b,_0x101fbc)=>{const _0x51688e=_0x8a45ae;for(var _0x47ffc1=_0x101fbc>0x1?void 0x0:_0x101fbc?tn(_0x5f0cc4,_0x3d5c0b):_0x5f0cc4,_0x365290=_0x1b4254[_0x51688e(0x13d)]-0x1,_0x522353;_0x365290>=0x0;_0x365290--)(_0x522353=_0x1b4254[_0x365290])&&(_0x47ffc1=_0x522353(_0x47ffc1)||_0x47ffc1);return _0x47ffc1;},B=(_0x74636a,_0x3fbfad)=>(_0x178eae,_0x3e76fe)=>_0x3fbfad(_0x178eae,_0x3e76fe,_0x74636a);let ie=class extends _0xa082c6{constructor(_0x1198c0,_0xce23dd,_0xb72f4a,_0x1ab49a,_0x2f8abf,_0x2f0893){const _0xe3c478=_0x8a45ae;super(),this['_beforeCloseService']=_0x1198c0,this[_0xe3c478(0x178)]=_0xce23dd,this['_collaborationUIEventService']=_0xb72f4a,this[_0xe3c478(0xf4)]=_0x1ab49a,this[_0xe3c478(0x14b)]=_0x2f8abf,this['_localeService']=_0x2f0893,this[_0xe3c478(0x22f)](),this[_0xe3c478(0x1fe)]();}['_setupBeforeClosingHandler'](){const _0x43a646=_0x8a45ae;this[_0x43a646(0xcc)](this['_beforeCloseService'][_0x43a646(0x1a2)](()=>{const _0x1cff96=_0x43a646;if(this['_localCacheService']['saveTaskMap'][_0x1cff96(0x1da)])return this[_0x1cff96(0x22d)]['t'](_0x1cff96(0x1c9));}));}['_initEvent'](){const _0x111fa6=_0x8a45ae;this['disposeWithMe'](this[_0x111fa6(0x260)][_0x111fa6(0x171)][_0x111fa6(0x276)](_0x49870c=>{const _0x59a28f=_0x111fa6;_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x137)]&&this['_messageService'][_0x59a28f(0xa0)]({'type':_0x827df8[_0x59a28f(0x27a)],'content':this[_0x59a28f(0x22d)]['t'](_0x59a28f(0x20f))}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x1e0)]&&this[_0x59a28f(0xf4)]['show']({'type':_0x827df8[_0x59a28f(0x27a)],'content':this[_0x59a28f(0x22d)]['t'](_0x59a28f(0xd8))}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x237)]&&this[_0x59a28f(0x14b)][_0x59a28f(0xa0)]({'title':this['_localeService']['t'](_0x59a28f(0x230)),'content':this['_localeService']['t'](_0x59a28f(0x18b)),'type':_0x59a28f(0x1bd),'duration':0x0}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x164)]&&this[_0x59a28f(0xf4)][_0x59a28f(0xa0)]({'type':_0x827df8[_0x59a28f(0x1f7)],'content':this[_0x59a28f(0x22d)]['t']('collaboration.closeRoom')+'('+_0x49870c[_0x59a28f(0xe6)]+')'}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x138)]&&this[_0x59a28f(0xf4)]['show']({'type':_0x827df8[_0x59a28f(0x27a)],'content':this['_localeService']['t'](_0x49870c[_0x59a28f(0xe6)]||'')}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0xba)]&&this[_0x59a28f(0xf4)][_0x59a28f(0xa0)]({'type':_0x827df8[_0x59a28f(0x27a)],'content':this[_0x59a28f(0x22d)]['t']('session.will-retry')}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0x1ef)]&&this[_0x59a28f(0xf4)]['show']({'type':_0x827df8[_0x59a28f(0x1f7)],'content':this[_0x59a28f(0x22d)]['t'](_0x59a28f(0x1d6))}),_0x49870c['id']===_0x3e4eb5[_0x59a28f(0xa9)]&&this[_0x59a28f(0xf4)][_0x59a28f(0xa0)]({'type':_0x827df8[_0x59a28f(0x1f7)],'content':this['_localeService']['t'](_0x59a28f(0x1a0))});}));}};ie=sn([B(0x0,_0x2310aa),B(0x1,_0x135604),B(0x2,_0x2b29b5(_0x568b91)),B(0x3,_0x1aa895),B(0x4,_0x4f7f0b),B(0x5,_0x2b29b5(_0x37d948))],ie);const nn=_0x8a45ae(0x25e),st={},Pt=_0x196305('uni.network.url-service');var rn=Object[_0x8a45ae(0x122)],on=(_0xf0bd12,_0x6ace14,_0x319588,_0x695511)=>{for(var _0x86619f=_0x695511>0x1?void 0x0:_0x695511?rn(_0x6ace14,_0x319588):_0x6ace14,_0x37f7c4=_0xf0bd12['length']-0x1,_0x34e370;_0x37f7c4>=0x0;_0x37f7c4--)(_0x34e370=_0xf0bd12[_0x37f7c4])&&(_0x86619f=_0x34e370(_0x86619f)||_0x86619f);return _0x86619f;},K=(_0x1eacf0,_0x43c1fe)=>(_0x3bed08,_0x297bb3)=>_0x43c1fe(_0x3bed08,_0x297bb3,_0x1eacf0);let ne=class extends _0x4ddb4d{constructor(_0x23565f,_0x23dca1,_0x2e3a94,_0x4e550c,_0x44b690){const _0x55d98b=_0x8a45ae;super(),this[_0x55d98b(0x1cc)]=_0x23565f,this[_0x55d98b(0x1ea)]=_0x23dca1,this[_0x55d98b(0xd1)]=_0x2e3a94,this[_0x55d98b(0xb9)]=_0x4e550c,_0x44b690?_0x44b690==null||_0x44b690[_0x55d98b(0x1e9)]()[_0x55d98b(0x24d)](()=>this[_0x55d98b(0x1a3)]()):(this[_0x55d98b(0x1ea)][_0x55d98b(0x184)]('[CollaborationDataLoaderController]',_0x55d98b(0x1b2)),this[_0x55d98b(0x1a3)]());}async[_0x8a45ae(0x1a3)](){const _0x5d0008=_0x8a45ae,_0x1b7c5d=this[_0x5d0008(0x1cc)]['getParam'](_0x5d0008(0x25c)),_0x74f263=this[_0x5d0008(0x1cc)][_0x5d0008(0x102)]('type'),_0x3e9ae6=this[_0x5d0008(0x1cc)][_0x5d0008(0x102)]('subunit');if(!_0x1b7c5d||!_0x74f263){this['_logService'][_0x5d0008(0x184)]('[CollaborationDataLoaderController]',_0x5d0008(0xff));return;}const _0x4d67c8=await this['_dataLoaderService'][_0x5d0008(0x1df)](_0x1b7c5d,Number(_0x74f263),_0x3e9ae6);_0x4d67c8&&_0x4d67c8 instanceof _0x4a032c&&this[_0x5d0008(0xab)](_0x4d67c8);}async[_0x8a45ae(0xab)](_0x409122){const _0xa0cac6=_0x8a45ae;await this[_0xa0cac6(0x14a)](_0x409122),_0x409122[_0xa0cac6(0x192)][_0xa0cac6(0x207)](_0x250db3(this[_0xa0cac6(0xfc)]))['subscribe'](_0x91d779=>{_0x91d779&&this['_updateURLWithCurrentState'](_0x91d779);}),this['_urlService'][_0xa0cac6(0x198)][_0xa0cac6(0x207)](_0x250db3(this[_0xa0cac6(0xfc)]))['subscribe'](()=>this[_0xa0cac6(0x14a)](_0x409122));}[_0x8a45ae(0x134)](_0x38db16,_0x262dd2=!0x1){const _0x51ae9a=_0x8a45ae,_0x4af4b2=this[_0x51ae9a(0x1cc)][_0x51ae9a(0x102)](_0x51ae9a(0x150));_0x38db16[_0x51ae9a(0xa8)]()!==_0x4af4b2&&this['_urlService']['setParam']('subunit',_0x38db16['getSheetId'](),_0x262dd2);}async[_0x8a45ae(0x14a)](_0x4c3cf2){const _0x1b09e8=_0x8a45ae;var _0xba1595;const _0xbc9c55=this[_0x1b09e8(0x1cc)][_0x1b09e8(0x102)](_0x1b09e8(0x150));if(!_0xbc9c55||!_0x4c3cf2[_0x1b09e8(0x12e)](_0xbc9c55)){const _0x1e1b0b=_0x4c3cf2[_0x1b09e8(0x1ba)]()[0x0],_0x3e4246=_0x4c3cf2[_0x1b09e8(0x12e)](_0x1e1b0b);if(!_0x3e4246)return;this[_0x1b09e8(0x134)](_0x3e4246,!0x0),await this[_0x1b09e8(0xd1)]['executeCommand'](_0x4366dd['id'],{'unitId':_0x4c3cf2['getUnitId'](),'subUnitId':_0x1e1b0b});return;}((_0xba1595=_0x4c3cf2[_0x1b09e8(0x157)]())==null?void 0x0:_0xba1595[_0x1b09e8(0xa8)]())!==_0xbc9c55&&await this['_commandService']['executeCommand'](_0x4366dd['id'],{'unitId':_0x4c3cf2[_0x1b09e8(0x23d)](),'subUnitId':_0xbc9c55});}};ne=on([K(0x0,Pt),K(0x1,_0x51df1a),K(0x2,_0x5a6621),K(0x3,_0x2b29b5(_0x41f9b8)),K(0x4,_0x45f2a6(_0x290c89))],ne);var an=Object[_0x8a45ae(0x122)],cn=(_0x13a053,_0x59a691,_0x5b88fa,_0x207317)=>{for(var _0x228dc8=_0x207317>0x1?void 0x0:_0x207317?an(_0x59a691,_0x5b88fa):_0x59a691,_0x472432=_0x13a053['length']-0x1,_0x21864f;_0x472432>=0x0;_0x472432--)(_0x21864f=_0x13a053[_0x472432])&&(_0x228dc8=_0x21864f(_0x228dc8)||_0x228dc8);return _0x228dc8;},Ce=(_0x173cc7,_0x1d19f8)=>(_0x56e3b8,_0x451cfe)=>_0x1d19f8(_0x56e3b8,_0x451cfe,_0x173cc7);let re=class{constructor(_0x1383ae,_0x5011c4,_0x233441){const _0x576469=_0x8a45ae;this[_0x576469(0x110)]=_0x1383ae,this[_0x576469(0x153)]=_0x5011c4,this[_0x576469(0x9d)]=_0x233441;}[_0x8a45ae(0xdc)](_0x44038b){const _0x46b309=_0x8a45ae;this[_0x46b309(0xa4)](_0x44038b),this[_0x46b309(0x1af)](_0x44038b);}['transformRemoteChangeset'](_0x392454){const _0x5ed6f0=_0x8a45ae,{unitID:_0x5a656d}=_0x392454,_0x43ca07=this['_renderManagerService']['getRenderById'](_0x5a656d)['with'](_0x1ea070),{redoCache:_0x5ce988}=_0x43ca07['getUndoRedoMutationParamsCache']();if(_0x5ce988['length']===0x0)return _0x392454;let _0x5003c7=_0x481080[_0x5ed6f0(0x19b)](_0x392454['mutations'][0x0]);for(let _0x526129=0x0;_0x526129<_0x5ce988['length'];_0x526129++){const _0x5f1db8={'id':_0x5ed6f0(0x1f6),'params':{..._0x5ce988[_0x526129]}},_0x5212a1=this['_transformService'][_0x5ed6f0(0x270)](_0x5003c7,_0x5f1db8,!0x1);if(_0xffda3b(_0x5212a1))throw _0x5212a1[_0x5ed6f0(0x1bd)];_0x5003c7=_0x5212a1[_0x5ed6f0(0x1ee)];}return{..._0x481080['deepClone'](_0x392454),'mutations':[_0x5003c7]};}[_0x8a45ae(0xa4)](_0x1ca9aa){const _0x1eb3e0=_0x8a45ae,{unitID:_0x47650a}=_0x1ca9aa,_0x49144d=this[_0x1eb3e0(0x9d)]['getRenderById'](_0x47650a)[_0x1eb3e0(0x287)](_0x1ea070),{undoCache:_0x39d77f,redoCache:_0x555b73}=_0x49144d[_0x1eb3e0(0x1f0)]();if(_0x39d77f['length']===0x0||_0x555b73[_0x1eb3e0(0x13d)]===0x0)return;const _0x75a16b=[],_0x9d06e=[];let _0x29a25a=_0x481080[_0x1eb3e0(0x19b)](_0x1ca9aa[_0x1eb3e0(0x11f)][0x0]),_0x12f112=_0x481080[_0x1eb3e0(0x19b)](_0x1ca9aa['mutations'][0x0]);for(let _0x3c883b=_0x39d77f['length']-0x1;_0x3c883b>=0x0;_0x3c883b--){const _0x367061={'id':_0x1eb3e0(0x1f6),'params':{..._0x39d77f[_0x3c883b]}},_0xf44d76={'id':'doc.mutation.rich-text-editing','params':{..._0x555b73[_0x3c883b]}},_0x79649d=this['_transformService'][_0x1eb3e0(0x270)](_0x29a25a,_0x367061,!0x1),_0x42a1d9=this[_0x1eb3e0(0x153)][_0x1eb3e0(0x270)](_0x12f112,_0xf44d76,!0x1);if(_0xffda3b(_0x79649d))throw _0x79649d[_0x1eb3e0(0x1bd)];if(_0xffda3b(_0x42a1d9))throw _0x42a1d9[_0x1eb3e0(0x1bd)];_0x75a16b[_0x1eb3e0(0x28f)](_0x79649d[_0x1eb3e0(0x1db)][_0x1eb3e0(0xf3)]),_0x9d06e[_0x1eb3e0(0x28f)](_0x42a1d9[_0x1eb3e0(0x1db)]['params']),_0x29a25a=_0x79649d[_0x1eb3e0(0x1ee)],_0x12f112=_0x42a1d9[_0x1eb3e0(0x1ee)];}_0x49144d[_0x1eb3e0(0x1b7)]({'undoCache':_0x75a16b,'redoCache':_0x9d06e});}[_0x8a45ae(0x1af)](_0xa94ba7){const _0x1a35a8=_0x8a45ae,{unitID:_0x4bd54c}=_0xa94ba7,_0x4f829c=this[_0x1a35a8(0x9d)][_0x1a35a8(0x21e)](_0x4bd54c)[_0x1a35a8(0x287)](_0x1ea070),_0x366a55=_0x4f829c[_0x1a35a8(0x19f)]();if(_0x366a55==null)return;const _0x2fdd8c=[{'id':_0x1a35a8(0x1f6),'params':{'unitId':_0xa94ba7[_0x1a35a8(0x126)],'actions':null,'textRanges':[_0x366a55]}}],_0x193ab2=this[_0x1a35a8(0x153)][_0x1a35a8(0x148)](_0xa94ba7,_0x2fdd8c);if(!_0xbc10d8(_0x193ab2))throw _0x193ab2[_0x1a35a8(0x1bd)];const _0x4adef6=_0x193ab2[_0x1a35a8(0x1db)][0x0][_0x1a35a8(0xf3)][_0x1a35a8(0xb5)];Array[_0x1a35a8(0xad)](_0x4adef6)&&_0x4adef6['length']&&_0x4f829c[_0x1a35a8(0xcf)](_0x4adef6[0x0]);}};re=cn([Ce(0x0,_0x2b29b5(_0x2e7518)),Ce(0x1,_0x5fd2c6),Ce(0x2,_0x21e07d)],re);var ln=Object[_0x8a45ae(0x122)],_n=(_0x3f7d67,_0x32130e,_0x2765f6,_0x21e88e)=>{for(var _0x4aaae9=_0x21e88e>0x1?void 0x0:_0x21e88e?ln(_0x32130e,_0x2765f6):_0x32130e,_0x40129b=_0x3f7d67['length']-0x1,_0x1c66d1;_0x40129b>=0x0;_0x40129b--)(_0x1c66d1=_0x3f7d67[_0x40129b])&&(_0x4aaae9=_0x1c66d1(_0x4aaae9)||_0x4aaae9);return _0x4aaae9;},Ee=(_0x94f56f,_0x228a23)=>(_0x156bee,_0x2c824e)=>_0x228a23(_0x156bee,_0x2c824e,_0x94f56f);let oe=class{constructor(_0x48d5d1,_0x23de8b,_0x468bac){const _0x6a80b8=_0x8a45ae;this[_0x6a80b8(0x110)]=_0x48d5d1,this['_transformService']=_0x23de8b,this[_0x6a80b8(0x119)]=_0x468bac;}[_0x8a45ae(0x1e6)](_0x40c85b){this['_transformHistoryAndStateStack'](_0x40c85b);}[_0x8a45ae(0x1fb)](_0x157a8f){const _0x493339=_0x8a45ae,{unitID:_0x487473}=_0x157a8f,{collaboration:_0x4ac27c}=this[_0x493339(0x119)]['getStateCache'](_0x487473);if(_0x4ac27c[_0x493339(0x13d)]===0x0)return _0x157a8f;let _0x49450d=_0x481080['deepClone'](_0x157a8f['mutations'][0x0]);for(let _0x270973=0x0;_0x270973<_0x4ac27c[_0x493339(0x13d)];_0x270973++){const _0x2bb16e={'id':_0x493339(0x1f6),'params':{'unitId':_0x4ac27c[_0x270973]['unitId'],..._0x4ac27c[_0x270973][_0x493339(0x23a)]}},_0x2e4e24=this[_0x493339(0x153)][_0x493339(0x270)](_0x49450d,_0x2bb16e,!0x1);if(_0xffda3b(_0x2e4e24))throw _0x2e4e24[_0x493339(0x1bd)];_0x49450d=_0x2e4e24[_0x493339(0x1ee)];}return{..._0x481080['deepClone'](_0x157a8f),'mutations':[_0x49450d]};}[_0x8a45ae(0x1e8)](_0x3bd2b4){const _0x55fbe1=_0x8a45ae,{unitID:_0x1b6781}=_0x3bd2b4,{history:_0xa5172b,collaboration:_0xf355e4}=this[_0x55fbe1(0x119)][_0x55fbe1(0x24f)](_0x1b6781);if(_0xa5172b['length']===0x0&&_0xf355e4[_0x55fbe1(0x13d)]===0x0)return;const _0x3d8401=[],_0x23ef7c=[];let _0x2a46ac=_0x481080[_0x55fbe1(0x19b)](_0x3bd2b4[_0x55fbe1(0x11f)][0x0]),_0x30288f=_0x481080[_0x55fbe1(0x19b)](_0x3bd2b4[_0x55fbe1(0x11f)][0x0]);for(let _0x51112b=_0xa5172b[_0x55fbe1(0x13d)]-0x1;_0x51112b>=0x0;_0x51112b--){const _0x57b4e2={'id':_0x55fbe1(0x1f6),'params':{'unitId':_0xa5172b[_0x51112b][_0x55fbe1(0x115)],..._0xa5172b[_0x51112b][_0x55fbe1(0x13c)]}},_0x183314={'id':_0x55fbe1(0x1f6),'params':{'unitId':_0xa5172b[_0x51112b][_0x55fbe1(0x115)],..._0xa5172b[_0x51112b][_0x55fbe1(0x23a)]}},_0x2c4a8f=this[_0x55fbe1(0x153)][_0x55fbe1(0x270)](_0x2a46ac,_0x57b4e2,!0x1),_0x2070b8=this[_0x55fbe1(0x153)][_0x55fbe1(0x270)](_0x30288f,_0x183314,!0x1);if(_0xffda3b(_0x2c4a8f))throw _0x2c4a8f[_0x55fbe1(0x1bd)];if(_0xffda3b(_0x2070b8))throw _0x2070b8[_0x55fbe1(0x1bd)];_0x3d8401[_0x55fbe1(0x28f)]({..._0xa5172b[_0x51112b],'undoState':_0x2c4a8f['m2Prime'][_0x55fbe1(0xf3)],'redoState':_0x2070b8['m2Prime'][_0x55fbe1(0xf3)]}),_0x2a46ac=_0x2c4a8f[_0x55fbe1(0x1ee)],_0x30288f=_0x2070b8['m1Prime'];}_0x2a46ac=_0x481080[_0x55fbe1(0x19b)](_0x3bd2b4[_0x55fbe1(0x11f)][0x0]),_0x30288f=_0x481080[_0x55fbe1(0x19b)](_0x3bd2b4[_0x55fbe1(0x11f)][0x0]);for(let _0x11ad39=_0xf355e4[_0x55fbe1(0x13d)]-0x1;_0x11ad39>=0x0;_0x11ad39--){const _0x248bb0={'id':_0x55fbe1(0x1f6),'params':{'unitId':_0xf355e4[_0x11ad39][_0x55fbe1(0x115)],..._0xf355e4[_0x11ad39][_0x55fbe1(0x13c)]}},_0x392be7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf355e4[_0x11ad39][_0x55fbe1(0x115)],..._0xf355e4[_0x11ad39]['redoState']}},_0x172846=this[_0x55fbe1(0x153)][_0x55fbe1(0x270)](_0x2a46ac,_0x248bb0,!0x1),_0x5545a0=this[_0x55fbe1(0x153)][_0x55fbe1(0x270)](_0x30288f,_0x392be7,!0x1);if(_0xffda3b(_0x172846))throw _0x172846[_0x55fbe1(0x1bd)];if(_0xffda3b(_0x5545a0))throw _0x5545a0['error'];_0x23ef7c[_0x55fbe1(0x28f)]({..._0xf355e4[_0x11ad39],'undoState':_0x172846[_0x55fbe1(0x1db)][_0x55fbe1(0xf3)],'redoState':_0x5545a0[_0x55fbe1(0x1db)][_0x55fbe1(0xf3)]}),_0x2a46ac=_0x172846[_0x55fbe1(0x1ee)],_0x30288f=_0x5545a0[_0x55fbe1(0x1ee)];}this[_0x55fbe1(0x119)][_0x55fbe1(0x28b)](_0x1b6781,{'history':_0x3d8401,'collaboration':_0x23ef7c});}};oe=_n([Ee(0x0,_0x2b29b5(_0x2e7518)),Ee(0x1,_0x5fd2c6),Ee(0x2,_0x2b29b5(_0x283fa4))],oe);var hn=Object[_0x8a45ae(0x122)],un=(_0x417a0d,_0x3ded56,_0x1a7220,_0x4cd064)=>{const _0x34f15b=_0x8a45ae;for(var _0x355a3c=_0x4cd064>0x1?void 0x0:_0x4cd064?hn(_0x3ded56,_0x1a7220):_0x3ded56,_0x5d9a06=_0x417a0d[_0x34f15b(0x13d)]-0x1,_0x1395fb;_0x5d9a06>=0x0;_0x5d9a06--)(_0x1395fb=_0x417a0d[_0x5d9a06])&&(_0x355a3c=_0x1395fb(_0x355a3c)||_0x355a3c);return _0x355a3c;},it=(_0x483bc5,_0x228211)=>(_0x25adb9,_0x48c410)=>_0x228211(_0x25adb9,_0x48c410,_0x483bc5);let ae=class{constructor(_0x3d07af,_0x43c88b){const _0x18889f=_0x8a45ae;this[_0x18889f(0x110)]=_0x3d07af,this[_0x18889f(0x153)]=_0x43c88b;}['transformSelections'](_0x5ae0b6){const _0x58bed4=_0x8a45ae;var _0x110c30;const _0x3de4b3=this[_0x58bed4(0x110)][_0x58bed4(0x273)](_0x31e6a8),_0x5505d4=(_0x110c30=_0x3de4b3[_0x58bed4(0x1a7)]())!=null?_0x110c30:[];if(_0x5505d4['length']===0x0)return;const _0x2f7447=_0x5ae0b6[_0x58bed4(0x126)],_0x4cd1dd=[{'id':_0x58bed4(0x1f6),'params':{'unitId':_0x2f7447,'actions':null,'textRanges':_0x5505d4}}],_0xbd2647=this[_0x58bed4(0x153)][_0x58bed4(0x148)](_0x5ae0b6,_0x4cd1dd);if(!_0xbc10d8(_0xbd2647))throw _0xbd2647[_0x58bed4(0x1bd)];const _0x39c5a8=_0xbd2647[_0x58bed4(0x1db)][0x0][_0x58bed4(0xf3)][_0x58bed4(0xb5)];Array[_0x58bed4(0xad)](_0x39c5a8)&&_0x39c5a8[_0x58bed4(0x13d)]&&_0x3de4b3[_0x58bed4(0x135)](_0x39c5a8,{'unitId':_0x2f7447,'subUnitId':_0x2f7447},!0x1);}};ae=un([it(0x0,_0x2b29b5(_0x2e7518)),it(0x1,_0x5fd2c6)],ae);var dn=Object['getOwnPropertyDescriptor'],fn=(_0x37fcd5,_0x1b4fe6,_0x20e1e4,_0x18cd16)=>{for(var _0x33b7fa=_0x18cd16>0x1?void 0x0:_0x18cd16?dn(_0x1b4fe6,_0x20e1e4):_0x1b4fe6,_0x3fcf25=_0x37fcd5['length']-0x1,_0x4ad776;_0x3fcf25>=0x0;_0x3fcf25--)(_0x4ad776=_0x37fcd5[_0x3fcf25])&&(_0x33b7fa=_0x4ad776(_0x33b7fa)||_0x33b7fa);return _0x33b7fa;},U=(_0x1d0c4a,_0x1a2a33)=>(_0x5875f9,_0x2d36ab)=>_0x1a2a33(_0x5875f9,_0x2d36ab,_0x1d0c4a);let ce=class extends _0xa082c6{constructor(_0x5bd4e5,_0x3f492e,_0x2f5705,_0x4fed66,_0x423b7d,_0x52f1da,_0x44b5f4,_0x12f7b6){const _0x2764de=_0x8a45ae;super(),_(this,'_status$',new _0x20d1b4(_0x460ca5[_0x2764de(0x142)])),(this[_0x2764de(0x119)]=_0x5bd4e5,this[_0x2764de(0x9f)]=_0x3f492e,this[_0x2764de(0x180)]=_0x2f5705,this['_docTransformStateCacheService']=_0x4fed66,this['_docTransformSelectionsService']=_0x423b7d,this[_0x2764de(0x15f)]=_0x52f1da,this[_0x2764de(0xf4)]=_0x44b5f4,this['_localeService']=_0x12f7b6,this[_0x2764de(0x1d4)]());}[_0x8a45ae(0x1d4)](){const _0x28ae2c=_0x8a45ae;this['disposeWithMe'](this['_collaborationController']['entityInit$'][_0x28ae2c(0x276)](_0x495b39=>{const _0x1095a3=_0x28ae2c,_0x2d9d30=this[_0x1095a3(0x119)][_0x1095a3(0x1bf)][_0x1095a3(0x276)](_0xfbc022=>{const _0x21210d=_0x1095a3;if(_0xfbc022==null)return;const {unitId:_0x14e735,redoState:_0x2beac7,commandId:_0x1e53bb}=_0xfbc022;if(_0x14e735!==_0x495b39[_0x21210d(0x126)])return;const _0x3d0302={'id':_0x1e53bb,'type':_0x5232af[_0x21210d(0x28c)],'params':{'unitId':_0x14e735,'actions':_0x2beac7['actions'],'textRanges':null}};_0x495b39[_0x21210d(0x22e)](_0x3d0302);});if(_0x495b39[_0x1095a3(0xcc)](_0x2d9d30),_0x495b39 instanceof _0x450601){const _0x2c417e={'onTransformIME':_0x303726=>this[_0x1095a3(0x180)][_0x1095a3(0xdc)](_0x303726),'onTransformState':_0x16f501=>this['_docTransformStateCacheService']['transformStateCache'](_0x16f501),'onTransformSelections':_0x5339f0=>this[_0x1095a3(0xc5)][_0x1095a3(0xdf)](_0x5339f0),'onSyncEditingCollabCursor':_0x5bfc3e=>this[_0x1095a3(0x15f)]['syncEditingCollabCursor'](_0x5bfc3e),'onTransformRemoteChangesetByIMECache':_0x536b9a=>this[_0x1095a3(0x180)][_0x1095a3(0x1fb)](_0x536b9a),'onTransformRemoteChangesetByStateCache':_0x413e81=>this[_0x1095a3(0xa1)][_0x1095a3(0x1fb)](_0x413e81)};_0x495b39[_0x1095a3(0x12d)](_0x2c417e);}}));}};ce=fn([U(0x0,_0x2b29b5(_0x283fa4)),U(0x1,_0x2b29b5(_0x932fa4)),U(0x2,_0x2b29b5(re)),U(0x3,_0x2b29b5(oe)),U(0x4,_0x2b29b5(ae)),U(0x5,_0x2b29b5(je)),U(0x6,_0x1aa895),U(0x7,_0x2b29b5(_0x37d948))],ce);var Sn=Object[_0x8a45ae(0x122)],mn=(_0x593c9e,_0x438cae,_0x10758b,_0x1c2e46)=>{for(var _0x15c230=_0x1c2e46>0x1?void 0x0:_0x1c2e46?Sn(_0x438cae,_0x10758b):_0x438cae,_0x52141c=_0x593c9e['length']-0x1,_0x2533f7;_0x52141c>=0x0;_0x52141c--)(_0x2533f7=_0x593c9e[_0x52141c])&&(_0x15c230=_0x2533f7(_0x15c230)||_0x15c230);return _0x15c230;},be=(_0x4c6563,_0x4eda50)=>(_0x1ce62e,_0x5ceba4)=>_0x4eda50(_0x1ce62e,_0x5ceba4,_0x4c6563);let Ae=class extends _0xa082c6{constructor(_0x416aa5,_0x30de7c,_0x4f9498){const _0x3d9936=_0x8a45ae;super(),_(this,_0x3d9936(0x18c),new Map()),_(this,_0x3d9936(0x1f3),new Map()),_(this,'_disabled',!0x1),(this[_0x3d9936(0x12b)]=_0x416aa5,this[_0x3d9936(0x1b0)]=_0x30de7c,this[_0x3d9936(0x133)]=_0x4f9498);}[_0x8a45ae(0xd7)](){const _0x46ee73=_0x8a45ae;this[_0x46ee73(0x27b)]=!0x0;}[_0x8a45ae(0xbe)](){this['_disabled']=!0x1;}get[_0x8a45ae(0x272)](){const _0x2e448f=_0x8a45ae;return this[_0x2e448f(0x1f3)];}[_0x8a45ae(0x1e7)](){const _0x34e8de=_0x8a45ae;this[_0x34e8de(0xc3)]()['then'](()=>super[_0x34e8de(0x1e7)]());}async[_0x8a45ae(0x108)](_0x1f8480){const _0x23a69e=_0x8a45ae;return this[_0x23a69e(0x27b)]?null:this['_localStorageService'][_0x23a69e(0x154)](_0x7e3bae(_0x1f8480));}async[_0x8a45ae(0x282)](_0x18f5d6,_0x19ecff){const _0x1f9bc4=_0x8a45ae;return!!this[_0x1f9bc4(0x1b0)]['setItem'](_0x18f5d6,_0x19ecff);}[_0x8a45ae(0x252)](_0x2067db,_0x372e92,_0x4c6ce2,_0x47ab8c){const _0x83b2cb=_0x8a45ae,_0x53635e=this['_revisionService']['getCurrentRevOfUnit'](_0x2067db);this[_0x83b2cb(0x18c)][_0x83b2cb(0x19e)](_0x2067db,{'unitID':_0x2067db,'type':_0x372e92,'awaitingChangeset':_0x4c6ce2,'mutations':_0x47ab8c,'rev':_0x53635e}),this['_saveTaskMap'][_0x83b2cb(0x250)](_0x2067db)||this['_scheduleSaving'](_0x2067db);}[_0x8a45ae(0x27c)](_0x505c0f){const _0x50885e=_0x8a45ae,_0x1abd98=this[_0x50885e(0x27f)]();_0x1abd98===0x0?this['_saveCache'](_0x505c0f):this[_0x50885e(0x1f3)][_0x50885e(0x19e)](_0x505c0f,setTimeout(()=>this[_0x50885e(0x231)](_0x505c0f),_0x1abd98));}['_getSaveTimeout'](){const _0x4cbf62=_0x8a45ae;var _0x51ba6e;return(_0x51ba6e=this[_0x4cbf62(0x12b)][_0x4cbf62(0x125)](_0x4b9d1b))!=null?_0x51ba6e:_0xc29c80;}[_0x8a45ae(0x231)](_0x138f07){const _0x1ce5e7=_0x8a45ae,_0x402ec5=this['_saveTaskMap'][_0x1ce5e7(0x273)](_0x138f07);return _0x402ec5!==void 0x0&&window[_0x1ce5e7(0x1ad)](_0x402ec5),this[_0x1ce5e7(0x1b0)]['setItem'](_0x7e3bae(_0x138f07),this[_0x1ce5e7(0x18c)][_0x1ce5e7(0x273)](_0x138f07))['then'](()=>this[_0x1ce5e7(0x1f3)][_0x1ce5e7(0x156)](_0x138f07));}async[_0x8a45ae(0xc3)](){const _0x54f7a8=_0x8a45ae,_0xdfcb7d=[];this[_0x54f7a8(0x1f3)]['forEach']((_0x1c3e94,_0x43168d)=>{const _0x109a67=_0x54f7a8;window['clearTimeout'](_0x1c3e94),_0xdfcb7d[_0x109a67(0xe0)](this[_0x109a67(0x231)](_0x43168d)[_0x109a67(0x24d)](()=>{const _0x52886c=_0x109a67;this['_saveTaskMap'][_0x52886c(0x156)](_0x43168d);}));}),await Promise['all'](_0xdfcb7d);}};Ae=mn([be(0x0,_0x1e088a),be(0x1,_0x2cd436),be(0x2,_0x2b29b5(_0xbdef))],Ae);class gn extends _0x4ddb4d{constructor(){const _0x5669f3=_0x8a45ae;super(),_(this,_0x5669f3(0x198)),this[_0x5669f3(0x198)]=_0x19cc2d(window,'popstate')[_0x5669f3(0x207)](_0x250db3(this[_0x5669f3(0xfc)]),_0xdae981(0x1),_0x5e7255(void 0x0));}[_0x8a45ae(0x264)](_0x317b89,_0x24686e,_0x5a43e2=!0x1){const _0x1b4c3c=_0x8a45ae,_0x563f9a=new URL(window['location']['href']);_0x563f9a['searchParams'][_0x1b4c3c(0x19e)](_0x317b89,_0x24686e),_0x5a43e2?window[_0x1b4c3c(0x25d)][_0x1b4c3c(0x13e)]('','',_0x563f9a[_0x1b4c3c(0x26f)]()):window['history'][_0x1b4c3c(0xbc)]('','',_0x563f9a[_0x1b4c3c(0x26f)]());}['removeParam'](_0x42a461,_0x3f60bd=!0x1){const _0x24db72=_0x8a45ae,_0x336a38=new URL(window[_0x24db72(0x1eb)][_0x24db72(0xe4)]);_0x336a38[_0x24db72(0x229)][_0x24db72(0x156)](_0x42a461),_0x3f60bd?window[_0x24db72(0x25d)][_0x24db72(0x13e)]('','',_0x336a38[_0x24db72(0x26f)]()):window['history'][_0x24db72(0xbc)]('','',_0x336a38[_0x24db72(0x26f)]());}[_0x8a45ae(0x102)](_0x5e37b3){const _0x20a2de=_0x8a45ae;var _0x3abc96;return(_0x3abc96=new URL(window[_0x20a2de(0x1eb)][_0x20a2de(0xe4)])[_0x20a2de(0x229)]['get'](_0x5e37b3))!=null?_0x3abc96:void 0x0;}}var vn=Object[_0x8a45ae(0x24a)],In=Object[_0x8a45ae(0x122)],pn=(_0x46389a,_0x12574c,_0x5628c2)=>_0x12574c in _0x46389a?vn(_0x46389a,_0x12574c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5628c2}):_0x46389a[_0x12574c]=_0x5628c2,Cn=(_0x255c9a,_0x62d7e4,_0x767996,_0x1d0c0c)=>{const _0x19a189=_0x8a45ae;for(var _0x23e25c=_0x1d0c0c>0x1?void 0x0:_0x1d0c0c?In(_0x62d7e4,_0x767996):_0x62d7e4,_0x50b125=_0x255c9a[_0x19a189(0x13d)]-0x1,_0x328b5b;_0x50b125>=0x0;_0x50b125--)(_0x328b5b=_0x255c9a[_0x50b125])&&(_0x23e25c=_0x328b5b(_0x23e25c)||_0x23e25c);return _0x23e25c;},Oe=(_0x3cd52c,_0x573b4b)=>(_0x33a459,_0x351e51)=>_0x573b4b(_0x33a459,_0x351e51,_0x3cd52c),En=(_0x30b5e3,_0x4b0bce,_0x2aef34)=>pn(_0x30b5e3,_0x4b0bce+'',_0x2aef34);const bn=_0x8a45ae(0xf9);let ye=class extends _0x4a13b9{constructor(_0x1f5314=st,_0x5266b9,_0x1220b9,_0x377913){const _0x1138a0=_0x8a45ae;super(),this[_0x1138a0(0x105)]=_0x1f5314,this[_0x1138a0(0x9d)]=_0x5266b9,this['_injector']=_0x1220b9,this[_0x1138a0(0x12b)]=_0x377913;const {..._0x15ee6d}=_0x3aa292({},st,this[_0x1138a0(0x105)]);this['_configService'][_0x1138a0(0x152)](nn,_0x15ee6d);}[_0x8a45ae(0x1b8)](){const _0x2804fa=_0x8a45ae;this[_0x2804fa(0x1a5)](),this[_0x2804fa(0x22c)]();}[_0x8a45ae(0x101)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x11741a=_0x8a45ae;var _0x5acd3e;const _0x32bc90=[[He],[ae],[re],[oe],[je],[Pt,{'useClass':gn}],[_0x7242ab,{'useClass':_0x209a8c}],[_0x135604,{'useClass':Ae}],[se],[ce],[ie],[H],[Ue],[ne]];_0x2a50b9(this[_0x11741a(0x110)],_0x2a2089(_0x32bc90,(_0x5acd3e=this[_0x11741a(0x105)])==null?void 0x0:_0x5acd3e[_0x11741a(0x21f)]));}['_registerRenderDependencies'](){const _0x581fd8=_0x8a45ae;this[_0x581fd8(0xcc)](this['_renderManagerService'][_0x581fd8(0x212)](_0x5e7335['UNIVER_DOC'],[we])),this[_0x581fd8(0xcc)](this[_0x581fd8(0x9d)][_0x581fd8(0x212)](_0x5e7335[_0x581fd8(0x23b)],[Le]));}[_0x8a45ae(0x22c)](){_0x12a5a3(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x8a45ae(0xea),bn),ye=Cn([_0x7b066b(_0xccc148),Oe(0x1,_0x21e07d),Oe(0x2,_0x2b29b5(_0x2e7518)),Oe(0x3,_0x1e088a)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0x5589e3,_0x2d8989,_0x2dca2f,_0x26a0bc)=>{for(var _0x9008dc=_0x26a0bc>0x1?void 0x0:_0x26a0bc?On(_0x2d8989,_0x2dca2f):_0x2d8989,_0x14078a=_0x5589e3['length']-0x1,_0x5074f2;_0x14078a>=0x0;_0x14078a--)(_0x5074f2=_0x5589e3[_0x14078a])&&(_0x9008dc=_0x5074f2(_0x9008dc)||_0x9008dc);return _0x9008dc;},z=(_0x2688ee,_0x369431)=>(_0x460e8d,_0x4511df)=>_0x369431(_0x460e8d,_0x4511df,_0x2688ee);let nt=class extends _0x525153{constructor(_0xec4d8,_0x19cc92,_0x28d326,_0x30104e,_0x4b56a9){super(_0xec4d8,_0x19cc92,_0x28d326,_0x30104e,_0x4b56a9);}async['createSocket'](_0x374dac){const _0x3ba9e6=_0x8a45ae,_0x69481d=await this[_0x3ba9e6(0x259)](),_0x47553c=this[_0x3ba9e6(0x228)](_0x374dac,_0x69481d);return this[_0x3ba9e6(0x299)](_0x47553c);}[_0x8a45ae(0x228)](_0x43e602,_0x11d8f7){const _0x50ef68=_0x8a45ae,_0x34c1ff=typeof window>'u'?new URL(_0x43e602):new URL(_0x43e602,window[_0x50ef68(0x1eb)]['origin']);_0x34c1ff['searchParams'][_0x50ef68(0x19e)](_0x50ef68(0x14d),_0x11d8f7);const _0x52e814=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50ef68(0x1eb)][_0x50ef68(0x21c)]);return _0x52e814['get'](_0x50ef68(0x205))&&_0x34c1ff['searchParams']['set'](_0x50ef68(0x205),_0x52e814['get'](_0x50ef68(0x205))),_0x34c1ff['toString']();}async[_0x8a45ae(0x259)](){const _0x58c4ca=_0x8a45ae;var _0x2e78cf,_0x164450,_0x4fff78;const _0x1ac099=this[_0x58c4ca(0x12b)][_0x58c4ca(0x125)](_0x38daa0),_0x1bea34=(_0x2e78cf=_0x1ac099==null?void 0x0:_0x1ac099[_0x58c4ca(0x17f)])!=null?_0x2e78cf:_0x37551d;return(_0x4fff78=(_0x164450=(await this[_0x58c4ca(0xcd)]['get'](_0x1bea34,{'headers':{'Content-Type':_0x58c4ca(0x13f)}}))[_0x58c4ca(0xf5)])==null?void 0x0:_0x164450[_0x58c4ca(0x173)])!=null?_0x4fff78:'';}};nt=Tn([z(0x0,_0x2b29b5(_0x2e7518)),z(0x1,_0x2b29b5(_0x7c70a1)),z(0x2,_0x1e088a),z(0x3,_0x51df1a),z(0x4,_0x1fb2dd)],nt);const rt=0x7530,ot='ACTIVE_UNIT_EVENT_CHANNEL';class Gn extends _0xa082c6{constructor(){const _0x2e8a5a=_0x8a45ae;super(),_(this,'_id',_0x241725()),_(this,_0x2e8a5a(0x20a),new Set()),_(this,_0x2e8a5a(0xda),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x2e8a5a(0x271),new Map()),_(this,_0x2e8a5a(0x1fd),new Map()),this['_init']();}[_0x8a45ae(0x1e7)](){const _0x3c9316=_0x8a45ae;super['dispose'](),this['_clearOtherTimers'][_0x3c9316(0xbd)]((_0x1bcc0b,_0x8cee11)=>this[_0x3c9316(0x16d)](_0x8cee11)),this['_heartbeatTimer']&&window[_0x3c9316(0xc7)](this[_0x3c9316(0x114)]);}[_0x8a45ae(0x17b)](_0x421eb4){const _0x8fab82=_0x8a45ae;return this[_0x8fab82(0x1b1)](_0x421eb4)[_0x8fab82(0x207)](_0x314756());}['editingUnit'](_0xaa8c2b){const _0x304051=_0x8a45ae;this[_0x304051(0x20a)]['size']===0x0&&this[_0x304051(0x1dd)](),this['_selfUnitIDs'][_0x304051(0x283)](_0xaa8c2b),this[_0x304051(0x16b)]({'type':0x0,'memberID':this[_0x304051(0x118)],'unitIDs':[_0xaa8c2b],'isForwarded':!0x1});}[_0x8a45ae(0x281)](_0x4699f2){const _0x1392fc=_0x8a45ae;this[_0x1392fc(0x20a)][_0x1392fc(0x156)](_0x4699f2),this[_0x1392fc(0x20a)][_0x1392fc(0x1da)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x1392fc(0x114)]);}[_0x8a45ae(0x1a3)](){const _0x5d4eb9=_0x8a45ae;this['disposeWithMe'](_0x2bea03(_0x19cc2d(window,_0x5d4eb9(0x23f))['subscribe'](_0x127d0e=>{const _0xdaf8ba=_0x5d4eb9;if(_0x127d0e[_0xdaf8ba(0x15e)]!==ot||!_0x127d0e[_0xdaf8ba(0x12a)])return;const _0x150655=JSON[_0xdaf8ba(0x241)](_0x127d0e[_0xdaf8ba(0x12a)]);this[_0xdaf8ba(0x216)](_0x150655);}))),window[_0x5d4eb9(0x9c)](_0x5d4eb9(0x1f1),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x5d4eb9(0x20a)])}));}['_handleEvent'](_0x17809f){const _0x4610d3=_0x8a45ae;switch(_0x17809f[_0x4610d3(0x204)]){case 0x0:this['_handleJoinEvent'](_0x17809f);break;case 0x1:this[_0x4610d3(0x193)](_0x17809f);break;case 0x2:this[_0x4610d3(0x211)](_0x17809f);break;}}[_0x8a45ae(0x185)](_0x310ad3){const _0x467b08=_0x8a45ae,{unitIDs:_0x1942f9,memberID:_0x4ea489,isForwarded:_0x34026c}=_0x310ad3;_0x1942f9[_0x467b08(0xbd)](_0x451cec=>{const _0x1dc45d=_0x467b08;if(!_0x34026c&&this[_0x1dc45d(0xda)][_0x1dc45d(0x250)](_0x451cec)&&this[_0x1dc45d(0x1b1)](_0x451cec)[_0x1dc45d(0x15b)](_0x1f3ed9[_0x1dc45d(0xc8)]),!this[_0x1dc45d(0xda)]['has'](_0x451cec)||!this['_unitOnClients']['get'](_0x451cec)[_0x1dc45d(0x250)](_0x4ea489)){const _0x49a241=this[_0x1dc45d(0xda)][_0x1dc45d(0x273)](_0x451cec)||new Set();_0x49a241['add'](_0x4ea489),this['_unitOnClients']['set'](_0x451cec,_0x49a241),this['_scheduleClearOtherTimer'](_0x4ea489);}}),_0x34026c||this[_0x467b08(0x16b)]({'type':0x0,'memberID':this[_0x467b08(0x118)],'unitIDs':[...this[_0x467b08(0x20a)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x177c82){const _0x27fc8f=_0x8a45ae;this['_removeClearOtherTimer'](_0x177c82);const _0x2d0be1=window[_0x27fc8f(0x25f)](()=>{const _0x583689=_0x27fc8f;this[_0x583689(0xda)][_0x583689(0xbd)](_0x346433=>{const _0x45df87=_0x583689;_0x346433[_0x45df87(0x156)](_0x177c82);});},rt*0x2);this[_0x27fc8f(0x271)][_0x27fc8f(0x19e)](_0x177c82,_0x2d0be1);}[_0x8a45ae(0x16d)](_0x343454){const _0x47133b=_0x8a45ae;if(this[_0x47133b(0x271)][_0x47133b(0x250)](_0x343454)){const _0x1b94db=this[_0x47133b(0x271)][_0x47133b(0x273)](_0x343454);_0x1b94db&&window[_0x47133b(0x1ad)](_0x1b94db),this[_0x47133b(0x271)][_0x47133b(0x19e)](_0x343454,null);}}['_handleLeaveEvent'](_0xa84875){const _0x4e2f32=_0x8a45ae,{memberID:_0x5b3557,unitIDs:_0x595695}=_0xa84875;_0x595695[_0x4e2f32(0xbd)](_0x5a4210=>{const _0x256a42=_0x4e2f32;var _0x2697a1;const _0x586db9=this['_unitOnClients'][_0x256a42(0x273)](_0x5a4210);_0x586db9&&(_0x586db9[_0x256a42(0x156)](_0x5b3557),(_0x2697a1=this['_ensureSubject'](_0x5a4210))==null||_0x2697a1[_0x256a42(0x15b)](_0x586db9[_0x256a42(0x1da)]===0x0?_0x1f3ed9[_0x256a42(0x274)]:_0x1f3ed9['OTHER_CLIENTS_EDITING']));}),this[_0x4e2f32(0x16d)](_0x5b3557);}[_0x8a45ae(0x211)](_0x54f899){const _0x81b71=_0x8a45ae;this[_0x81b71(0x141)](_0x54f899[_0x81b71(0x240)]);}['_send'](_0x3890d5){const _0x24acee=_0x8a45ae;localStorage[_0x24acee(0xf2)](ot,JSON[_0x24acee(0x107)](_0x3890d5));}[_0x8a45ae(0x1dd)](){const _0x5b63c1=_0x8a45ae;this['_heartbeatTimer']=window[_0x5b63c1(0x236)](()=>{const _0x1a4d13=_0x5b63c1;this[_0x1a4d13(0x16b)]({'type':0x2,'memberID':this['_id']});},rt);}['_ensureSubject'](_0x1cb2c2){const _0x429f06=_0x8a45ae;return this[_0x429f06(0x1fd)][_0x429f06(0x250)](_0x1cb2c2)||this[_0x429f06(0x1fd)][_0x429f06(0x19e)](_0x1cb2c2,new _0x20d1b4(_0x1f3ed9[_0x429f06(0x274)])),this[_0x429f06(0x1fd)]['get'](_0x1cb2c2);}}var wt=(_0xd3bd85=>(_0xd3bd85[_0xd3bd85['UNDEFINED']=0x0]=_0x8a45ae(0x11d),_0xd3bd85[_0xd3bd85['OK']=0x1]='OK',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ed)]=0x2]='INTERNAL_ERROR',_0xd3bd85[_0xd3bd85['PERMISSION_DENIED']=0x3]=_0x8a45ae(0x237),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x124)]=0x4]=_0x8a45ae(0x124),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x29c)]=0x5]=_0x8a45ae(0x29c),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ae)]=0x6]='ALREADY_EXISTS',_0xd3bd85[_0xd3bd85['INVALID_ARGUMENT']=0x7]=_0x8a45ae(0x113),_0xd3bd85[_0xd3bd85['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0xd3bd85[_0xd3bd85['COMPLETION_FINISHED']=0x9]=_0x8a45ae(0x292),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ca)]=0xa]=_0x8a45ae(0x1ca),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1fa)]=0x1389]=_0x8a45ae(0x1fa),_0xd3bd85[_0xd3bd85['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xd3bd85[_0xd3bd85[_0x8a45ae(0xeb)]=0x1772]=_0x8a45ae(0xeb),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x147)]=0x1773]=_0x8a45ae(0x147),_0xd3bd85[_0xd3bd85['APPLY_REJECT']=0x1b59]=_0x8a45ae(0xb1),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x217)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xd3bd85[_0xd3bd85['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0xd3bd85[_0xd3bd85[_0x8a45ae(0xd6)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ab)]=0x1b5d]='APPLY_DUPLICATED',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x116)]=0x1f41]=_0x8a45ae(0x116),_0xd3bd85[_0xd3bd85[_0x8a45ae(0xc6)]=0x2329]=_0x8a45ae(0xc6),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x189)]=0x232a]=_0x8a45ae(0x189),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1ec)]=0x232b]=_0x8a45ae(0x1ec),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x132)]=0x232c]=_0x8a45ae(0x132),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x181)]=0x232d]=_0x8a45ae(0x181),_0xd3bd85[_0xd3bd85['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x18d)]=0x2712]=_0x8a45ae(0x18d),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x121)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x288)]=0x2714]=_0x8a45ae(0x288),_0xd3bd85[_0xd3bd85['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x8a45ae(0x29e),_0xd3bd85[_0xd3bd85[_0x8a45ae(0xc9)]=0x271b]=_0x8a45ae(0xc9),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x25a)]=0x2af9]=_0x8a45ae(0x25a),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x190)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0xd3bd85[_0xd3bd85['INVALID_INVITE_CODE']=0x2ee2]=_0x8a45ae(0x14e),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x215)]=0x2ee3]=_0x8a45ae(0x215),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x1e2)]=0x2ee4]=_0x8a45ae(0x1e2),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x176)]=0x2ee5]=_0x8a45ae(0x176),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x186)]=0x32c9]=_0x8a45ae(0x186),_0xd3bd85[_0xd3bd85[_0x8a45ae(0x249)]=0x32ca]=_0x8a45ae(0x249),_0xd3bd85[_0xd3bd85['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xd3bd85[_0xd3bd85[_0x8a45ae(0x23c)]=-0x1]=_0x8a45ae(0x23c),_0xd3bd85))(wt||{}),Rn=Object[_0x8a45ae(0x122)],Dn=(_0x13161c,_0x2bd8dc,_0x5e9148,_0x3b4169)=>{const _0x478153=_0x8a45ae;for(var _0x4f99b5=_0x3b4169>0x1?void 0x0:_0x3b4169?Rn(_0x2bd8dc,_0x5e9148):_0x2bd8dc,_0x34f091=_0x13161c[_0x478153(0x13d)]-0x1,_0x19cf52;_0x34f091>=0x0;_0x34f091--)(_0x19cf52=_0x13161c[_0x34f091])&&(_0x4f99b5=_0x19cf52(_0x4f99b5)||_0x4f99b5);return _0x4f99b5;},Te=(_0x4a3f79,_0x442ffc)=>(_0x29060e,_0x2f8a99)=>_0x442ffc(_0x29060e,_0x2f8a99,_0x4a3f79);let at=class extends _0xa082c6{constructor(_0x108148,_0x415b71,_0x1a8fab){const _0x11e8d5=_0x8a45ae;super(),this[_0x11e8d5(0x19a)]=_0x108148,this['_httpService']=_0x415b71,this[_0x11e8d5(0x12b)]=_0x1a8fab;}async['runOnServer'](_0x105e45,_0x574ff1,_0x722579,..._0x2ef44f){const _0x306fd6=_0x8a45ae;var _0x3e692e,_0x4758b8,_0x5cb5ed,_0x18e39d;const _0x4a392c=this[_0x306fd6(0x19a)][_0x306fd6(0x17c)]();if(!_0x4a392c)throw new Error(_0x306fd6(0x243));const _0x430d0d=((_0x3e692e=this['_configService'][_0x306fd6(0x125)](_0x3f6d9a))!=null?_0x3e692e:_0x58c253)+'/'+_0x105e45+_0x306fd6(0x1c4)+_0x574ff1,_0x1f9bc9=new URL(window[_0x306fd6(0x1eb)][_0x306fd6(0xe4)]),_0x5a48fb={'scriptId':_0x105e45,'runId':(_0x4758b8=_0x1f9bc9[_0x306fd6(0x229)][_0x306fd6(0x273)](_0x306fd6(0x205)))!=null?_0x4758b8:'','function':_0x574ff1,'unitId':_0x4a392c[_0x306fd6(0x23d)](),'argsOfFunction':JSON[_0x306fd6(0x107)](_0x2ef44f),'invokeId':(_0x5cb5ed=_0x722579['invokeId'])!=null?_0x5cb5ed:'','executionId':(_0x18e39d=_0x722579[_0x306fd6(0x214)])!=null?_0x18e39d:''};try{const _0x4797b2=await this['_httpService'][_0x306fd6(0x177)](_0x430d0d,{'body':_0x5a48fb});return _0x4797b2[_0x306fd6(0xf5)]['error']&&_0x4797b2[_0x306fd6(0xf5)]['error'][_0x306fd6(0x1bc)]!==wt['OK']?'Failed':_0x4797b2[_0x306fd6(0xf5)][_0x306fd6(0x268)];}catch{return'Failed';}}};at=Dn([Te(0x0,_0x4f4b20),Te(0x1,_0x2b29b5(_0x7c70a1)),Te(0x2,_0x1e088a)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,Pt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -1 +1 @@
1
- const _0x183c46=_0x1fe8;function _0x1d7f(){const _0x3624f4=['126961EuJLJB','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Syncing...','1307385KPzJQm','6nBvBrI','Local\x20file','1032409jdNcYu','Authentication\x20Error','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Synced','36405OdgwJG','Collaboration\x20Conflict','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','198960OLhVwD','130SwbyUD','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','732556zIaUsK','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','682516TYfWfy','Click\x20to\x20Reconnect','Edit\x20conflicts','Syncing\x20server\x20data...','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.','416tZvIcU','3WCXyts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x1d7f=function(){return _0x3624f4;};return _0x1d7f();}(function(_0x5ec5b4,_0x305471){const _0x2129b2=_0x1fe8,_0x5396d7=_0x5ec5b4();while(!![]){try{const _0x4418da=-parseInt(_0x2129b2(0xf4))/0x1+-parseInt(_0x2129b2(0xe7))/0x2+parseInt(_0x2129b2(0xf2))/0x3*(parseInt(_0x2129b2(0xec))/0x4)+-parseInt(_0x2129b2(0xdc))/0x5+-parseInt(_0x2129b2(0xdd))/0x6*(parseInt(_0x2129b2(0xdf))/0x7)+-parseInt(_0x2129b2(0xf1))/0x8*(parseInt(_0x2129b2(0xe4))/0x9)+-parseInt(_0x2129b2(0xe8))/0xa*(-parseInt(_0x2129b2(0xea))/0xb);if(_0x4418da===_0x305471)break;else _0x5396d7['push'](_0x5396d7['shift']());}catch(_0x73f3cd){_0x5396d7['push'](_0x5396d7['shift']());}}}(_0x1d7f,0x2e8a8));const e={'collab-client':{'tooltip':{'reconnect':_0x183c46(0xed)}},'collabStatus':{'fetchMiss':_0x183c46(0xef),'conflict':_0x183c46(0xee),'notCollab':_0x183c46(0xde),'synced':_0x183c46(0xe3),'syncing':_0x183c46(0xdb),'offline':_0x183c46(0xeb)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x183c46(0xf3),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x183c46(0xe1)},'conflict':{'title':_0x183c46(0xe5),'content':_0x183c46(0xf0)},'permission':{'title':_0x183c46(0xe0),'content':_0x183c46(0xe9)},'collaboration':{'single-unit':{'warning':_0x183c46(0xe6)},'closeRoom':_0x183c46(0xe2)},'auth':{'needGotoLoginAlert':_0x183c46(0xda)}};function _0x1fe8(_0x54d30e,_0xf9c301){const _0x1d7f76=_0x1d7f();return _0x1fe8=function(_0x1fe86f,_0x52a7b2){_0x1fe86f=_0x1fe86f-0xda;let _0x1b0af2=_0x1d7f76[_0x1fe86f];return _0x1b0af2;},_0x1fe8(_0x54d30e,_0xf9c301);}export{e as default};
1
+ const _0x273988=_0x823e;(function(_0x28d98c,_0x38f4cd){const _0x324f0a=_0x823e,_0x2375e7=_0x28d98c();while(!![]){try{const _0x4a2551=parseInt(_0x324f0a(0xe4))/0x1*(-parseInt(_0x324f0a(0xd5))/0x2)+-parseInt(_0x324f0a(0xdb))/0x3+parseInt(_0x324f0a(0xda))/0x4+parseInt(_0x324f0a(0xd7))/0x5+-parseInt(_0x324f0a(0xdf))/0x6*(parseInt(_0x324f0a(0xd8))/0x7)+-parseInt(_0x324f0a(0xe3))/0x8*(-parseInt(_0x324f0a(0xde))/0x9)+parseInt(_0x324f0a(0xe1))/0xa;if(_0x4a2551===_0x38f4cd)break;else _0x2375e7['push'](_0x2375e7['shift']());}catch(_0x20b9ae){_0x2375e7['push'](_0x2375e7['shift']());}}}(_0x4913,0xba7e8));const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0x273988(0xcf),'conflict':'Edit\x20conflicts','notCollab':_0x273988(0xdd),'synced':_0x273988(0xd2),'syncing':_0x273988(0xe0),'offline':_0x273988(0xce)},'session':{'connection-failed':_0x273988(0xd6),'will-retry':_0x273988(0xd9),'room-full':_0x273988(0xdc),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x273988(0xd0),'content':_0x273988(0xe5)},'permission':{'title':_0x273988(0xd4),'content':_0x273988(0xd1)},'collaboration':{'single-unit':{'warning':_0x273988(0xd3)},'closeRoom':_0x273988(0xcd)},'auth':{'needGotoLoginAlert':_0x273988(0xe2)}};function _0x823e(_0x45c54d,_0x206e2c){const _0x491321=_0x4913();return _0x823e=function(_0x823e99,_0xa5b23d){_0x823e99=_0x823e99-0xcd;let _0x572f1b=_0x491321[_0x823e99];return _0x572f1b;},_0x823e(_0x45c54d,_0x206e2c);}export{e as default};function _0x4913(){const _0x56b755=['259VjRhxS','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','3723996SDJrRK','1328061qWkacm','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','60246uJAchu','85704Venxgn','Syncing...','2092230CmimYp','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','1240gNdDjn','2965zjIGQx','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Synced','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Authentication\x20Error','478czWIjs','Connection\x20failed,\x20please\x20check\x20your\x20network.','1329590arVlOw'];_0x4913=function(){return _0x56b755;};return _0x4913();}
@@ -1 +1 @@
1
- const _0x255da4=_0x2f95;function _0x2f95(_0x542995,_0x197bde){const _0xcb8ecf=_0xcb8e();return _0x2f95=function(_0x2f950d,_0x3b1589){_0x2f950d=_0x2f950d-0x137;let _0x5ad81d=_0xcb8ecf[_0x2f950d];return _0x5ad81d;},_0x2f95(_0x542995,_0x197bde);}(function(_0x2d8c3a,_0x2d85da){const _0x180626=_0x2f95,_0x2c58a0=_0x2d8c3a();while(!![]){try{const _0xfd7521=-parseInt(_0x180626(0x138))/0x1*(-parseInt(_0x180626(0x139))/0x2)+-parseInt(_0x180626(0x142))/0x3*(-parseInt(_0x180626(0x13b))/0x4)+-parseInt(_0x180626(0x140))/0x5+-parseInt(_0x180626(0x141))/0x6*(parseInt(_0x180626(0x151))/0x7)+parseInt(_0x180626(0x14e))/0x8*(parseInt(_0x180626(0x13f))/0x9)+parseInt(_0x180626(0x147))/0xa+-parseInt(_0x180626(0x14b))/0xb*(parseInt(_0x180626(0x146))/0xc);if(_0xfd7521===_0x2d85da)break;else _0x2c58a0['push'](_0x2c58a0['shift']());}catch(_0x512fc3){_0x2c58a0['push'](_0x2c58a0['shift']());}}}(_0xcb8e,0x32598));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':_0x255da4(0x13e),'conflict':_0x255da4(0x14c),'notCollab':_0x255da4(0x145),'synced':_0x255da4(0x148),'syncing':_0x255da4(0x13d),'offline':_0x255da4(0x152)},'session':{'connection-failed':_0x255da4(0x143),'will-retry':_0x255da4(0x137),'room-full':_0x255da4(0x13a),'collaboration-timeout':_0x255da4(0x14d)},'conflict':{'title':_0x255da4(0x144),'content':_0x255da4(0x14f)},'permission':{'title':_0x255da4(0x14a),'content':_0x255da4(0x150)},'collaboration':{'single-unit':{'warning':_0x255da4(0x149)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x255da4(0x13c)}};export{o as default};function _0xcb8e(){const _0x576d29=['سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','2272qNdrwE','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','855239rwGvEK','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','1877yPgPkn','208lSUyRt','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','4kHauxV','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی...','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','3465SDNQTd','264760JHrKdv','12ybdadI','153201JdtYWb','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','تداخل\x20همکاری','پرونده\x20محلی','218844FZFwQv','3850040YfgDtr','همگام\x20سازی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','خطای\x20اعتبارسنجی','143vWwAsW','تداخل\x20ویرایش'];_0xcb8e=function(){return _0x576d29;};return _0xcb8e();}
1
+ function _0x363d(_0x45c7c6,_0x38858e){const _0x365b99=_0x365b();return _0x363d=function(_0x363d4b,_0x3b8928){_0x363d4b=_0x363d4b-0xcd;let _0x22193c=_0x365b99[_0x363d4b];return _0x22193c;},_0x363d(_0x45c7c6,_0x38858e);}const _0x224c52=_0x363d;(function(_0x32f002,_0x8e125){const _0x1b0090=_0x363d,_0x37c718=_0x32f002();while(!![]){try{const _0x48f801=-parseInt(_0x1b0090(0xd5))/0x1+parseInt(_0x1b0090(0xdc))/0x2+-parseInt(_0x1b0090(0xd7))/0x3+parseInt(_0x1b0090(0xd1))/0x4*(parseInt(_0x1b0090(0xd8))/0x5)+-parseInt(_0x1b0090(0xdd))/0x6*(parseInt(_0x1b0090(0xd4))/0x7)+parseInt(_0x1b0090(0xd9))/0x8+parseInt(_0x1b0090(0xce))/0x9;if(_0x48f801===_0x8e125)break;else _0x37c718['push'](_0x37c718['shift']());}catch(_0x3625a5){_0x37c718['push'](_0x37c718['shift']());}}}(_0x365b,0x2a59b));const o={'collab-client':{'tooltip':{'reconnect':_0x224c52(0xcf)}},'collabStatus':{'fetchMiss':_0x224c52(0xd3),'conflict':'تداخل\x20ویرایش','notCollab':_0x224c52(0xcd),'synced':'همگام\x20سازی','syncing':_0x224c52(0xd6),'offline':_0x224c52(0xdb)},'session':{'connection-failed':_0x224c52(0xda),'will-retry':_0x224c52(0xe2),'room-full':_0x224c52(0xe3),'collaboration-timeout':_0x224c52(0xe0)},'conflict':{'title':_0x224c52(0xe1),'content':_0x224c52(0xe4)},'permission':{'title':_0x224c52(0xd0),'content':_0x224c52(0xdf)},'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':_0x224c52(0xd2)},'auth':{'needGotoLoginAlert':_0x224c52(0xde)}};function _0x365b(){const _0x229d1b=['20dSpjUy','114504OOMOme','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','451194aJKRAk','1722vKfpCu','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','تداخل\x20همکاری','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','پرونده\x20محلی','1528731RGiacd','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','خطای\x20اعتبارسنجی','307872YfhZBM','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','7917xjMxQe','51952lAhRvl','در\x20حال\x20همگام\x20سازی...','502875VeQrqg'];_0x365b=function(){return _0x229d1b;};return _0x365b();}export{o as default};