@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506121607 → 0.8.1-nightly.202506141606

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 _0x24c8f1=_0x51d8;(function(_0x26c4e3,_0x38264b){const _0x486148=_0x51d8,_0x38a017=_0x26c4e3();while(!![]){try{const _0x394ba9=-parseInt(_0x486148(0x289))/0x1*(-parseInt(_0x486148(0x3f2))/0x2)+-parseInt(_0x486148(0x345))/0x3*(parseInt(_0x486148(0x2cd))/0x4)+parseInt(_0x486148(0x2ab))/0x5*(-parseInt(_0x486148(0x364))/0x6)+parseInt(_0x486148(0x358))/0x7+parseInt(_0x486148(0x361))/0x8+-parseInt(_0x486148(0x2a6))/0x9*(parseInt(_0x486148(0x388))/0xa)+-parseInt(_0x486148(0x22a))/0xb;if(_0x394ba9===_0x38264b)break;else _0x38a017['push'](_0x38a017['shift']());}catch(_0x33ff8e){_0x38a017['push'](_0x38a017['shift']());}}}(_0x300b,0xdebec));var $t=Object[_0x24c8f1(0x246)],xt=(_0x2ad2f7,_0x14fa14,_0x9c7679)=>_0x14fa14 in _0x2ad2f7?$t(_0x2ad2f7,_0x14fa14,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x9c7679}):_0x2ad2f7[_0x14fa14]=_0x9c7679,_=(_0x3bad9a,_0x56b93e,_0x3af2bc)=>xt(_0x3bad9a,typeof _0x56b93e!=_0x24c8f1(0x214)?_0x56b93e+'':_0x56b93e,_0x3af2bc);import{MemberService as _0x3dfe79,SessionStatus as _0x3f43f5,CollaborationSessionService as _0x42d5ba,CollaborationStatus as _0x371c48,CollaborationController as _0x107053,ILocalCacheService as _0x3599ae,CollaborationUIEventService as _0x1991f9,CollaborationUIEventId as _0x401ac8,DataLoaderService as _0x19e5bf,DocCollaborationEntity as _0x277af0,getLocalCacheKey as _0x5e7e6b,LOCAL_CACHE_INTERVAL as _0x35010f,LOCAL_CACHE_INTERVAL_KEY as _0x1e8fc9,UniverCollaborationClientPlugin as _0x5e96d1,CollaborationSocketService as _0x3cda3f,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x35cca0,DEFAULT_WS_SESSION_TICKET_URL as _0x4b6aea,UnitStatus as _0x194558,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x53d621,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0xc0a4c7}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5300c6,Disposable as _0x2a8588,DOC_RANGE_TYPE as _0x3908e6,Inject as _0x8a88d2,Injector as _0x589b5d,IUniverInstanceService as _0x476330,ICommandService as _0x49494e,debounce as _0x211642,Rectangle as _0x7954b4,DisposableCollection as _0x38632b,toDisposable as _0x39503f,UniverInstanceType as _0x206590,Tools as _0x1062ac,COLORS as _0x16348d,ColorKit as _0x5a1558,ThemeService as _0x172e8d,fromEventSubject as _0x15d583,LocaleService as _0x542281,createIdentifier as _0x8bd7ae,ILogService as _0x48bcd0,Optional as _0x54e44a,Workbook as _0x5e8abe,CommandType as _0x196408,IConfigService as _0x372ab5,ILocalStorageService as _0x4217b4,DependentOn as _0x38310e,Plugin as _0x78352,merge as _0x2a84d7,registerDependencies as _0x464524,mergeOverrideWithDependencies as _0x207744,touchDependencies as _0x1a3f31,generateRandomId as _0x41d045}from'@univerjs/core';import{Shape as _0x413705,Rect as _0x442643,getColor as _0x22ca56,RegularPolygon as _0x3d34a0,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x56e68e,Vector2 as _0x572d27,SHEET_VIEWPORT_KEY as _0x30f63f,IRenderManagerService as _0xffe82a}from'@univerjs/engine-render';import{ISocketService as _0x286d4a,WebSocketService as _0x2080ce,HTTPService as _0x212bd3}from'@univerjs/network';import{IDocClipboardService as _0x3887f4,NodePositionConvertToCursor as _0x5095f0,NodePositionConvertToRectRange as _0x597e66,TEXT_RANGE_LAYER_INDEX as _0x5a23a9,SetDocZoomRatioOperation as _0x424980,DocIMEInputManagerService as _0x3be206,DocStateChangeManagerService as _0x4e5926}from'@univerjs/docs-ui';import{IImageIoService as _0x121ca0}from'@univerjs/drawing';import{BehaviorSubject as _0x4305c6,debounceTime as _0x2bef90,takeUntil as _0x3eca63,Subject as _0x9c6b2,filter as _0x47b9bf,switchMap as _0x41e784,merge as _0x1de77e,combineLatest as _0x1d1cd7,of as _0x44af89,fromEvent as _0x2d1bb9,shareReplay as _0x1dec65,mapTo as _0x361845,distinctUntilChanged as _0x1d5687}from'rxjs';import{SetTextSelectionsOperation as _0x40cb4d,RichTextEditingMutation as _0x4cecb8,DocSelectionManagerService as _0x7df925,DocSkeletonManagerService as _0x59d51f}from'@univerjs/docs';import{ITransformService as _0x2f5a82,CollaborationEvent as _0x56942f,isTransformMutationFailure as _0x24aeba,isTransformMutationsWithChangesetSuccess as _0xe6f62,RevisionService as _0x20a5ba,ISnapshotServerService as _0x46a565}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x46c6fa,serializeRangeWithSheet as _0x581837}from'@univerjs/engine-formula';import{RefRangeService as _0x5f336d,SetSelectionsOperation as _0x3e6b96,SheetsSelectionsService as _0x1378e3,EffectRefRangId as _0x8164b6,handleIRemoveRow as _0x48c364,handleIRemoveCol as _0x561b4d,handleMoveRange as _0x3fc2b2,handleInsertRow as _0x5c667c,handleInsertRangeMoveRight as _0xf19e5d,handleInsertRangeMoveDown as _0x15f3ef,handleInsertCol as _0x3e0412,handleDeleteRangeMoveUp as _0x110091,handleDeleteRangeMoveLeft as _0x8493d7,runRefRangeMutations as _0x16ed71,SetWorksheetActivateCommand as _0x3f02cf}from'@univerjs/sheets';import{map as _0x5c9784,filter as _0x4d1771,throttleTime as _0x4c63e3,takeUntil as _0x30af04,switchMap as _0x1fa334}from'rxjs/operators';import{SheetSkeletonManagerService as _0x26903c,getCoordByCell as _0xa0a066,getSheetObject as _0x4cd6ff}from'@univerjs/sheets-ui';import{jsx as _0x2e338a,jsxs as _0x19294d}from'react/jsx-runtime';import{useObservable as _0x1f0353,useDependency as _0x103fb,IUIPartsService as _0x3ebd78,BuiltInUIPart as _0xc45b08,connectInjector as _0x589ad6,IBeforeCloseService as _0x34d224,IMessageService as _0x2db5fd,INotificationService as _0x56a70e}from'@univerjs/ui';import{Tooltip as _0x4d5af3,clsx as _0x2379fe,MessageType as _0x572f9f}from'@univerjs/design';import{forwardRef as _0x1a92bb,useRef as _0x2b68e3,createElement as _0x4fc800,useCallback as _0x506f8a}from'react';import{IRemoteInstanceService as _0x474023}from'@univerjs/rpc';var ci=Object[_0x24c8f1(0x3e1)],li=(_0x40de5c,_0x4ccbcf,_0x2d112b,_0x5ee172)=>{for(var _0x54ea38=_0x5ee172>0x1?void 0x0:_0x5ee172?ci(_0x4ccbcf,_0x2d112b):_0x4ccbcf,_0xac12f5=_0x40de5c['length']-0x1,_0x29e394;_0xac12f5>=0x0;_0xac12f5--)(_0x29e394=_0x40de5c[_0xac12f5])&&(_0x54ea38=_0x29e394(_0x54ea38)||_0x54ea38);return _0x54ea38;},Je=(_0x532b7f,_0x3c8a98)=>(_0x58317b,_0x5f2c5f)=>_0x3c8a98(_0x58317b,_0x5f2c5f,_0x532b7f);let Ne=class extends _0x5300c6{constructor(_0x11d7c1,_0x192a6c){const _0x55f47b=_0x24c8f1;super(),this[_0x55f47b(0x3c9)]=_0x11d7c1,this[_0x55f47b(0x257)]=_0x192a6c,this['_init']();}[_0x24c8f1(0x3b2)](){const _0x43a4a7=_0x24c8f1,_0x3c8b26=this;this[_0x43a4a7(0x1ee)](this[_0x43a4a7(0x3c9)][_0x43a4a7(0x350)]({'onBeforePasteImage':async _0x41532e=>{const _0x5b1d73=_0x43a4a7,_0x39cfb6=await _0x3c8b26['_imageIoService']['saveImage'](_0x41532e);return _0x39cfb6?{'source':_0x39cfb6['source'],'imageSourceType':_0x39cfb6[_0x5b1d73(0x2fa)]}:null;}}));}};Ne=li([Je(0x0,_0x3887f4),Je(0x1,_0x121ca0)],Ne);const Ze=[_0x24c8f1(0x264),_0x24c8f1(0x3a7),_0x24c8f1(0x29c),_0x24c8f1(0x346),_0x24c8f1(0x23a),_0x24c8f1(0x31e)];class ke extends _0x2a8588{constructor(){const _0x5b4c97=_0x24c8f1;super(...arguments),_(this,_0x5b4c97(0x373),new Map()),_(this,_0x5b4c97(0x36a),0x0);}['assignAColorForMemberID'](_0x23c138){const _0x5991a4=_0x24c8f1;if(this['_assignedColors'][_0x5991a4(0x380)](_0x23c138))return this[_0x5991a4(0x373)][_0x5991a4(0x267)](_0x23c138);const _0x4bf067=Ze[this[_0x5991a4(0x36a)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze['length'],this[_0x5991a4(0x373)][_0x5991a4(0x2e5)](_0x23c138,_0x4bf067),_0x4bf067;}}function Tt(_0x486fec){const _0x469845=_0x24c8f1;let _0x2795b9='';for(const _0x62b2b8 of _0x486fec){const {startOffset:_0x4e0081,endOffset:_0x5d281f,isActive:_0xbe6e19,rangeType:_0x1670bd,segmentId:_0x48d63a,segmentPage:_0x27ade1}=_0x62b2b8;_0x2795b9[_0x469845(0x268)]&&(_0x2795b9+=','),_0x2795b9+=_0x4e0081+':'+_0x5d281f+':'+(_0xbe6e19?'1':'0')+':'+_0x1670bd+':'+_0x48d63a+':'+_0x27ade1;}return _0x2795b9;}function _i(_0x573429){const _0x3ae930=_0x24c8f1,_0x422f42=_0x573429[_0x3ae930(0x24d)](','),_0x47d65e=[];for(const _0xcbdd82 of _0x422f42){const [_0x560f91,_0x269d31,_0x19e7a2,_0x28fad1,_0x5dd842,_0x3f152a]=_0xcbdd82[_0x3ae930(0x24d)](':');_0x47d65e['push']({'startOffset':Number(_0x560f91),'endOffset':Number(_0x269d31),'collapsed':_0x560f91===_0x269d31,'isActive':_0x19e7a2==='1','rangeType':_0x28fad1===_0x3908e6[_0x3ae930(0x333)]?_0x3908e6[_0x3ae930(0x333)]:_0x3908e6[_0x3ae930(0x271)],'segmentId':typeof _0x5dd842==_0x3ae930(0x2c4)?String(_0x5dd842):'','segmentPage':Number(_0x3f152a!=null?_0x3f152a:-0x1)});}return _0x47d65e[_0x3ae930(0x237)](_0x23e554=>_0x23e554[_0x3ae930(0x303)])||(_0x47d65e[0x0][_0x3ae930(0x303)]=!0x0),_0x47d65e;}class He extends _0x5300c6{constructor(){const _0x448fa7=_0x24c8f1;super(...arguments),_(this,_0x448fa7(0x285),new _0x4305c6(null)),_(this,_0x448fa7(0x37a),this['_collabCursorState$'][_0x448fa7(0x39c)]());}[_0x24c8f1(0x21d)](_0x365433){const _0x23396d=_0x24c8f1,{unitID:_0xfd975c,memberID:_0x2825ac,textRanges:_0x52400f}=_0x365433,_0x30ed57=Tt(_0x52400f);if(_0x30ed57==='')return;const _0x44e8d5={'unitID':_0xfd975c,'memberID':_0x2825ac,'selection':_0x30ed57};this['_collabCursorState$'][_0x23396d(0x3ab)](_0x44e8d5);}}var hi=Object[_0x24c8f1(0x3e1)],ui=(_0x11b043,_0x3a8c60,_0x36b382,_0x2f5123)=>{const _0x522333=_0x24c8f1;for(var _0x42de4f=_0x2f5123>0x1?void 0x0:_0x2f5123?hi(_0x3a8c60,_0x36b382):_0x3a8c60,_0x320047=_0x11b043[_0x522333(0x268)]-0x1,_0xde768a;_0x320047>=0x0;_0x320047--)(_0xde768a=_0x11b043[_0x320047])&&(_0x42de4f=_0xde768a(_0x42de4f)||_0x42de4f);return _0x42de4f;},P=(_0x4b60f4,_0x360285)=>(_0x8875f1,_0x187d59)=>_0x360285(_0x8875f1,_0x187d59,_0x4b60f4);const di=0x12c,fi=0x64;let Ue=class extends _0x5300c6{constructor(_0x5df3c9,_0x26882a,_0x3d2d03,_0x1726f5,_0x2c67f7,_0x1b57da,_0x34ca1d,_0x1c46e5,_0x987e19){const _0x6b4409=_0x24c8f1;super(),_(this,_0x6b4409(0x26a),!0x1),_(this,_0x6b4409(0x3b2),!0x1),_(this,_0x6b4409(0x2b3),new _0x4305c6(new Map())),_(this,_0x6b4409(0x387),this[_0x6b4409(0x2b3)]['asObservable']()),_(this,'_roomMembers$',new _0x4305c6([])),_(this,_0x6b4409(0x223),this[_0x6b4409(0x282)][_0x6b4409(0x3db)](_0x2bef90(di))),_(this,_0x6b4409(0x1e8),_0x211642(_0x1b4800=>{const _0x18229d=_0x6b4409,_0x51fe09={'eventID':_0x56942f['UPDATE_CURSOR'],'data':{'unitID':this[_0x18229d(0x3f0)],'memberID':this['_session'][_0x18229d(0x3ea)](),'selection':Tt(_0x1b4800)}};this[_0x18229d(0x3b6)]['send'](_0x51fe09,this[_0x18229d(0x3f0)]);},fi)),(this[_0x6b4409(0x3f0)]=_0x5df3c9,this[_0x6b4409(0x3b6)]=_0x26882a,this[_0x6b4409(0x2e8)]=_0x3d2d03,this[_0x6b4409(0x36f)]=_0x1726f5,this[_0x6b4409(0x25d)]=_0x2c67f7,this[_0x6b4409(0x2a4)]=_0x1b57da,this[_0x6b4409(0x3bd)]=_0x34ca1d,this[_0x6b4409(0x2c0)]=_0x1c46e5,this[_0x6b4409(0x305)]=_0x987e19);}get[_0x24c8f1(0x3a0)](){const _0xa27269=_0x24c8f1;return this[_0xa27269(0x2b3)][_0xa27269(0x1e6)]();}get[_0x24c8f1(0x220)](){const _0x4773eb=_0x24c8f1;return this[_0x4773eb(0x282)]['getValue']();}[_0x24c8f1(0x39f)](){const _0x43f892=_0x24c8f1;super[_0x43f892(0x39f)](),this[_0x43f892(0x2b3)][_0x43f892(0x3ab)](new Map()),this[_0x43f892(0x2b3)][_0x43f892(0x262)](),this['_roomMembers$'][_0x43f892(0x3ab)]([]),this[_0x43f892(0x282)][_0x43f892(0x262)]();}[_0x24c8f1(0x296)](){const _0x1cd7a9=_0x24c8f1;this[_0x1cd7a9(0x3b2)]||(this['_init']=!0x0,this[_0x1cd7a9(0x3b6)][_0x1cd7a9(0x37c)][_0x1cd7a9(0x3db)](_0x3eca63(this[_0x1cd7a9(0x363)]))[_0x1cd7a9(0x227)](_0x328ec1=>{const _0x1db8ce=_0x1cd7a9;_0x328ec1===_0x3f43f5[_0x1db8ce(0x3f4)]?this[_0x1db8ce(0x26b)]():this[_0x1db8ce(0x3c5)]();}),this[_0x1cd7a9(0x3b6)]['event$'][_0x1cd7a9(0x3db)](_0x3eca63(this[_0x1cd7a9(0x363)]))[_0x1cd7a9(0x227)](_0x73aeb1=>{const _0x2681e1=_0x1cd7a9,_0x452931=_0x73aeb1['eventID'];_0x452931===_0x56942f[_0x2681e1(0x332)]&&this[_0x2681e1(0x258)](_0x73aeb1),_0x452931===_0x56942f[_0x2681e1(0x3eb)]&&this['_onCursorDelete'](_0x73aeb1);}),this[_0x1cd7a9(0x1ee)](this[_0x1cd7a9(0x305)][_0x1cd7a9(0x27c)](_0x3f6533=>{const _0x3636f9=_0x1cd7a9,_0x3bbd34=_0x3f6533[_0x3636f9(0x3df)];_0x3bbd34!=null&&this['_online']&&_0x3f6533['id']===_0x40cb4d['id']&&_0x3bbd34[_0x3636f9(0x2b7)]===this[_0x3636f9(0x3f0)]&&_0x3bbd34[_0x3636f9(0x38b)]===!0x1&&_0x3bbd34[_0x3636f9(0x217)][_0x3636f9(0x268)]>0x0&&this[_0x3636f9(0x1e8)](_0x3bbd34[_0x3636f9(0x217)]);})),this[_0x1cd7a9(0x2a4)][_0x1cd7a9(0x37a)]['pipe'](_0x3eca63(this[_0x1cd7a9(0x363)]))['subscribe'](_0x45e137=>{const _0x25fbc8=_0x1cd7a9;if((_0x45e137==null?void 0x0:_0x45e137[_0x25fbc8(0x3f0)])!==this[_0x25fbc8(0x3f0)])return;const _0x169b3e={'eventID':_0x56942f[_0x25fbc8(0x332)],'data':_0x45e137};this['_onCursorUpdate'](_0x169b3e);}),this[_0x1cd7a9(0x1ee)](this[_0x1cd7a9(0x305)]['onCommandExecuted'](_0x3f7f09=>{const _0x7ba9b7=_0x1cd7a9;if(_0x3f7f09['params']==null)return;const _0x589070=_0x3f7f09[_0x7ba9b7(0x3df)];if(_0x3f7f09['id']!==_0x4cecb8['id']||_0x589070['unitId']!==this['unitID'])return;const _0x1dced9={'id':'doc.mutation.rich-text-editing','params':_0x589070},_0xe72295=this['cursorInfo'];for(const [_0x5effed,_0x2972b5]of _0xe72295){const _0x5f09ae={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x7ba9b7(0x3f0)],'actions':null,'textRanges':_0x2972b5['ranges']}},_0x4ea732=this[_0x7ba9b7(0x3bd)][_0x7ba9b7(0x3b4)](_0x1dced9,_0x5f09ae,!0x1);if(_0x24aeba(_0x4ea732))throw _0x4ea732[_0x7ba9b7(0x344)];_0xe72295['set'](_0x5effed,{..._0x2972b5,'ranges':_0x4ea732['m2Prime'][_0x7ba9b7(0x3df)]['textRanges']});}queueMicrotask(()=>{const _0x7b77d3=_0x7ba9b7;this[_0x7b77d3(0x2b3)][_0x7b77d3(0x3ab)](_0xe72295);});})));}[_0x24c8f1(0x258)](_0x4d72b8){const _0x32adf4=_0x24c8f1;var _0x4d2533,_0x3248dc;const {memberID:_0x4719ff,selection:_0x28a040}=_0x4d72b8[_0x32adf4(0x2be)],_0x4d4e70=_i(_0x28a040),_0xc687ac=(_0x3248dc=(_0x4d2533=this[_0x32adf4(0x25d)][_0x32adf4(0x3c4)](this[_0x32adf4(0x3f0)],_0x4719ff))==null?void 0x0:_0x4d2533['name'])!=null?_0x3248dc:'Unknown\x20user',_0x7fc2ae={'color':this['_colorAssignService'][_0x32adf4(0x2ca)](_0x4719ff),'name':_0xc687ac,'ranges':_0x4d4e70},_0x6c84a1=this[_0x32adf4(0x3a0)];_0x6c84a1[_0x32adf4(0x2e5)](_0x4719ff,_0x7fc2ae),this[_0x32adf4(0x2b3)][_0x32adf4(0x3ab)](_0x6c84a1);}['_onCursorDelete'](_0xa1be43){const _0x760a1d=_0x24c8f1,{memberID:_0x51dee4}=_0xa1be43[_0x760a1d(0x2be)],_0x1d7946=this[_0x760a1d(0x3a0)];_0x1d7946[_0x760a1d(0x234)](_0x51dee4),this[_0x760a1d(0x2b3)][_0x760a1d(0x3ab)](_0x1d7946);}[_0x24c8f1(0x26b)](){const _0x24f3ec=_0x24c8f1;var _0x5ae8d5;if(this['_online']=!0x0,((_0x5ae8d5=this[_0x24f3ec(0x2c0)][_0x24f3ec(0x3a6)]())==null?void 0x0:_0x5ae8d5['getUnitId']())!==this[_0x24f3ec(0x3f0)])return;const _0x2b783c=this[_0x24f3ec(0x2e8)]['get'](_0x7df925)[_0x24f3ec(0x3af)]();Array[_0x24f3ec(0x2f4)](_0x2b783c)&&_0x2b783c[_0x24f3ec(0x268)]>0x0&&this[_0x24f3ec(0x1e8)](_0x2b783c);}[_0x24c8f1(0x3c5)](){const _0x4aedb6=_0x24c8f1;this[_0x4aedb6(0x26a)]=!0x1;}};Ue=ui([P(0x2,_0x8a88d2(_0x589b5d)),P(0x3,_0x8a88d2(ke)),P(0x4,_0x8a88d2(_0x3dfe79)),P(0x5,_0x8a88d2(He)),P(0x6,_0x2f5a82),P(0x7,_0x476330),P(0x8,_0x49494e)],Ue);var Si=Object[_0x24c8f1(0x3e1)],mi=(_0x4028ca,_0x3f9097,_0x1918a4,_0x110700)=>{const _0x538e1c=_0x24c8f1;for(var _0x105b80=_0x110700>0x1?void 0x0:_0x110700?Si(_0x3f9097,_0x1918a4):_0x3f9097,_0x30afd6=_0x4028ca[_0x538e1c(0x268)]-0x1,_0x4ff476;_0x30afd6>=0x0;_0x30afd6--)(_0x4ff476=_0x4028ca[_0x30afd6])&&(_0x105b80=_0x4ff476(_0x105b80)||_0x105b80);return _0x105b80;},x=(_0x327cbe,_0xd16fb5)=>(_0x359b9e,_0x5a8ce1)=>_0xd16fb5(_0x359b9e,_0x5a8ce1,_0x327cbe);const Ii=0x12c,gi=0x64,vi=()=>{let _0x38291c=[],_0x48e2a4=!0x1;return _0x2baf51=>{const _0x431213=_0x51d8;_0x38291c[_0x431213(0x390)](_0x2baf51),_0x48e2a4||(_0x48e2a4=!0x0,setTimeout(()=>{const _0x198960=_0x431213;_0x38291c[_0x198960(0x304)](_0x5d05cd=>_0x5d05cd()),_0x38291c=[],_0x48e2a4=!0x1;}));};};let Me=class extends _0x5300c6{constructor(_0x4bc940,_0x5f1621,_0xf049fb,_0x4e864,_0x2fbbf5,_0x3280ce,_0x2b973f,_0x31ab43){const _0x39af0b=_0x24c8f1;super(),_(this,_0x39af0b(0x26a),!0x1),_(this,_0x39af0b(0x3b2),!0x1),_(this,_0x39af0b(0x2b3),new _0x4305c6(new Map())),_(this,'cursorInfo$',this[_0x39af0b(0x2b3)][_0x39af0b(0x39c)]()),_(this,_0x39af0b(0x282),new _0x4305c6([])),_(this,_0x39af0b(0x223),this[_0x39af0b(0x282)]['pipe'](_0x2bef90(Ii))),_(this,'_updateLocalCursor',_0x211642((_0x4e667e,_0x534811)=>{const _0x22062b=_0x39af0b,_0x210919={'eventID':_0x56942f[_0x22062b(0x332)],'data':{'unitID':this[_0x22062b(0x3f0)],'memberID':this[_0x22062b(0x3b6)]['getMemberID'](),'selection':_0x581837(_0x4e667e,_0x534811[_0x22062b(0x31b)])}};this[_0x22062b(0x3b6)][_0x22062b(0x3f6)](_0x210919,this[_0x22062b(0x3f0)]);},gi)),(this[_0x39af0b(0x3f0)]=_0x4bc940,this[_0x39af0b(0x3b6)]=_0x5f1621,this[_0x39af0b(0x2e8)]=_0xf049fb,this[_0x39af0b(0x36f)]=_0x4e864,this[_0x39af0b(0x25d)]=_0x2fbbf5,this['_univerInstanceService']=_0x3280ce,this[_0x39af0b(0x305)]=_0x2b973f,this[_0x39af0b(0x328)]=_0x31ab43);}get[_0x24c8f1(0x3a0)](){const _0x1a0076=_0x24c8f1;return this[_0x1a0076(0x2b3)][_0x1a0076(0x1e6)]();}get[_0x24c8f1(0x220)](){const _0x3b0dd2=_0x24c8f1;return this[_0x3b0dd2(0x282)][_0x3b0dd2(0x1e6)]();}[_0x24c8f1(0x39f)](){const _0x3a6233=_0x24c8f1;super[_0x3a6233(0x39f)](),this[_0x3a6233(0x2b3)][_0x3a6233(0x3ab)](new Map()),this[_0x3a6233(0x2b3)][_0x3a6233(0x262)](),this[_0x3a6233(0x282)][_0x3a6233(0x3ab)]([]),this['_roomMembers$'][_0x3a6233(0x262)]();}[_0x24c8f1(0x296)](){const _0x1be2cc=_0x24c8f1;this['_init']||(this[_0x1be2cc(0x3b2)]=!0x0,this[_0x1be2cc(0x3b6)][_0x1be2cc(0x37c)]['pipe'](_0x3eca63(this[_0x1be2cc(0x363)]))[_0x1be2cc(0x227)](_0x40c3f4=>{const _0x24c5e9=_0x1be2cc;_0x40c3f4===_0x3f43f5[_0x24c5e9(0x3f4)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x1be2cc(0x3b6)][_0x1be2cc(0x355)]['pipe'](_0x3eca63(this[_0x1be2cc(0x363)]))[_0x1be2cc(0x227)](_0x6fdf7f=>{const _0xff3dc5=_0x1be2cc,_0x15d44c=_0x6fdf7f['eventID'];_0x15d44c===_0x56942f[_0xff3dc5(0x332)]&&this[_0xff3dc5(0x258)](_0x6fdf7f),_0x15d44c===_0x56942f[_0xff3dc5(0x3eb)]&&this[_0xff3dc5(0x3d5)](_0x6fdf7f);}),this[_0x1be2cc(0x2e0)](),this[_0x1be2cc(0x1ee)](this[_0x1be2cc(0x305)][_0x1be2cc(0x27c)](_0x1318e5=>{const _0x3a2cfd=_0x1be2cc;if(this[_0x3a2cfd(0x26a)]&&_0x1318e5['id']===_0x3e6b96['id']&&_0x1318e5[_0x3a2cfd(0x3df)][_0x3a2cfd(0x2b7)]===this[_0x3a2cfd(0x3f0)]){const _0x26d0ed=_0x1318e5['params'];this[_0x3a2cfd(0x1e8)](_0x26d0ed[_0x3a2cfd(0x357)],_0x26d0ed[_0x3a2cfd(0x2d5)][0x0]);}})));}[_0x24c8f1(0x258)](_0x47241a){const _0x410587=_0x24c8f1;var _0x5b6219,_0x4866d2;const {memberID:_0x51c9b9,selection:_0x4e6d85}=_0x47241a[_0x410587(0x2be)],{sheetName:_0x14d4a4,range:_0x1d490e}=_0x46c6fa(_0x4e6d85),_0x1b3155={'name':(_0x4866d2=(_0x5b6219=this[_0x410587(0x25d)][_0x410587(0x3c4)](this[_0x410587(0x3f0)],_0x51c9b9))==null?void 0x0:_0x5b6219[_0x410587(0x280)])!=null?_0x4866d2:'Unknown\x20user','range':this['_getMergeRange'](_0x14d4a4,_0x1d490e),'sheetID':_0x14d4a4,'color':this[_0x410587(0x36f)][_0x410587(0x2ca)](_0x51c9b9),'selection':_0x4e6d85},_0x5b1db1=this[_0x410587(0x3a0)];_0x5b1db1[_0x410587(0x2e5)](_0x51c9b9,_0x1b3155),this[_0x410587(0x2b3)][_0x410587(0x3ab)](_0x5b1db1);}[_0x24c8f1(0x3d5)](_0x3a2d0b){const _0x51df14=_0x24c8f1,{memberID:_0x3aa695}=_0x3a2d0b['data'],_0x2757d5=this[_0x51df14(0x3a0)];_0x2757d5['delete'](_0x3aa695),this['_cursorInfo$'][_0x51df14(0x3ab)](_0x2757d5);}['_getMergeRange'](_0x1994ad,_0x335ab5){const _0x3d73bc=_0x24c8f1;var _0x8b80ea,_0x271119;const _0x41ca7e=(_0x271119=(_0x8b80ea=this[_0x3d73bc(0x2c0)]['getUniverSheetInstance'](this[_0x3d73bc(0x3f0)]))==null?void 0x0:_0x8b80ea['getSheetBySheetId'](_0x1994ad))==null?void 0x0:_0x271119[_0x3d73bc(0x2ff)]();return(_0x41ca7e==null?void 0x0:_0x41ca7e[_0x3d73bc(0x2b2)](_0x1f2da3=>_0x7954b4['contains'](_0x1f2da3,_0x335ab5)))||_0x335ab5;}[_0x24c8f1(0x2e0)](){const _0x39be16=_0x24c8f1,_0x4ecbf1=new _0x38632b(),_0x431916=vi(),_0x431364=()=>{const _0x118510=_0x51d8;_0x4ecbf1[_0x118510(0x39f)]();const _0x1e41ea=(_0x3644c5,_0x13bd27,_0x245a9d,_0x2c87ef)=>{const _0x3ce54f=_0x118510;let _0x3c10e3=[];switch(_0x3644c5['id']){case _0x8164b6[_0x3ce54f(0x2ef)]:{_0x3c10e3=_0x8493d7(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x383)]:{_0x3c10e3=_0x110091(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x22f)]:{_0x3c10e3=_0x3e0412(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x349)]:{_0x3c10e3=_0x15f3ef(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x2f0)]:{_0x3c10e3=_0xf19e5d(_0x3644c5,_0x2c87ef);break;}case _0x8164b6['InsertRowCommandId']:{_0x3c10e3=_0x5c667c(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x27e)]:{_0x3c10e3=_0x3fc2b2(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x2d8)]:{_0x3c10e3=_0x561b4d(_0x3644c5,_0x2c87ef);break;}case _0x8164b6[_0x3ce54f(0x213)]:{_0x3c10e3=_0x48c364(_0x3644c5,_0x2c87ef);break;}}const _0x1c887d=_0x16ed71(_0x3c10e3,_0x2c87ef),_0x3632d0=this[_0x3ce54f(0x3a0)][_0x3ce54f(0x267)](_0x13bd27);if(_0x3632d0&&_0x1c887d){const _0x16c328={..._0x3632d0,'range':_0x1c887d};this[_0x3ce54f(0x3a0)][_0x3ce54f(0x2e5)](_0x13bd27,_0x16c328),_0x431916(()=>{const _0x90f3c=_0x3ce54f,_0x507b75=this[_0x90f3c(0x328)]['registerRefRange'](_0x1c887d,_0x1bc855=>(_0x507b75[_0x90f3c(0x39f)](),_0x1e41ea(_0x1bc855,_0x13bd27,_0x245a9d,_0x1c887d)));_0x4ecbf1[_0x90f3c(0x2df)](_0x507b75);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x118510(0x304)]((_0x4628c4,_0x8f483)=>{const _0x24f1ba=_0x118510,{range:_0x599153,sheetID:_0x1f8daa}=_0x4628c4,_0x12b52b=this[_0x24f1ba(0x328)][_0x24f1ba(0x2de)](_0x599153,_0x1f9cc9=>(_0x12b52b['dispose'](),_0x1e41ea(_0x1f9cc9,_0x8f483,_0x1f8daa,_0x599153)));_0x4ecbf1[_0x24f1ba(0x2df)](_0x12b52b);});};this[_0x39be16(0x1ee)](_0x39503f(this[_0x39be16(0x2b3)][_0x39be16(0x227)](()=>{_0x431364();})));}[_0x24c8f1(0x26b)](){const _0x1e3f9f=_0x24c8f1;var _0x2444b2,_0x23dece;if(this['_online']=!0x0,((_0x2444b2=this[_0x1e3f9f(0x2c0)][_0x1e3f9f(0x3a6)]())==null?void 0x0:_0x2444b2[_0x1e3f9f(0x20f)]())!==this[_0x1e3f9f(0x3f0)])return;const _0x214173=(_0x23dece=this['_injector'][_0x1e3f9f(0x267)](_0x1378e3)[_0x1e3f9f(0x233)]())==null?void 0x0:_0x23dece[0x0],_0x16ef66=this[_0x1e3f9f(0x2c0)][_0x1e3f9f(0x3ce)](_0x206590[_0x1e3f9f(0x1f8)])[_0x1e3f9f(0x26e)]();_0x214173&&_0x16ef66&&this['_updateLocalCursor'](_0x16ef66[_0x1e3f9f(0x22e)](),_0x214173);}[_0x24c8f1(0x3c5)](){const _0x5225ce=_0x24c8f1;this[_0x5225ce(0x26a)]=!0x1;}};Me=mi([x(0x2,_0x8a88d2(_0x589b5d)),x(0x3,_0x8a88d2(ke)),x(0x4,_0x8a88d2(_0x3dfe79)),x(0x5,_0x476330),x(0x6,_0x49494e),x(0x7,_0x8a88d2(_0x5f336d))],Me);var pi=Object[_0x24c8f1(0x3e1)],Ci=(_0xe86cd2,_0x3c343b,_0x5656a3,_0x5810ba)=>{for(var _0x17808d=_0x5810ba>0x1?void 0x0:_0x5810ba?pi(_0x3c343b,_0x5656a3):_0x3c343b,_0xe186b7=_0xe86cd2['length']-0x1,_0x101767;_0xe186b7>=0x0;_0xe186b7--)(_0x101767=_0xe86cd2[_0xe186b7])&&(_0x17808d=_0x101767(_0x17808d)||_0x17808d);return _0x17808d;},Se=(_0x28ca74,_0x19c86e)=>(_0x584c91,_0x4cf71d)=>_0x19c86e(_0x584c91,_0x4cf71d,_0x28ca74);let H=class extends _0x5300c6{constructor(_0x51d313,_0x1800c0,_0x5eeab7){const _0x418303=_0x24c8f1;super(),_(this,'_entities',new Map()),_(this,'_entityInit$',new _0x9c6b2()),(this[_0x418303(0x2c0)]=_0x51d313,this[_0x418303(0x2e8)]=_0x1800c0,this[_0x418303(0x38a)]=_0x5eeab7,this[_0x418303(0x3b2)]());}[_0x24c8f1(0x39f)](){const _0x5ca50f=_0x24c8f1;super['dispose'](),this[_0x5ca50f(0x238)][_0x5ca50f(0x262)](),this['_entities'][_0x5ca50f(0x304)](_0x5c2f05=>_0x5c2f05[_0x5ca50f(0x39f)]());}[_0x24c8f1(0x31f)](_0x4d6d18){const _0xbfc8a5=_0x24c8f1;return this[_0xbfc8a5(0x36e)][_0xbfc8a5(0x380)](_0x4d6d18)?this[_0xbfc8a5(0x36e)][_0xbfc8a5(0x267)](_0x4d6d18)[_0xbfc8a5(0x387)]:this['_entityInit$'][_0xbfc8a5(0x3db)](_0x47b9bf(_0x523784=>_0x523784[_0xbfc8a5(0x3f0)]===_0x4d6d18),_0x41e784(_0x40eed8=>_0x40eed8['cursorInfo$']));}[_0x24c8f1(0x3b2)](){const _0x7dd519=_0x24c8f1;this[_0x7dd519(0x2c0)]['getTypeOfUnitAdded$'](_0x206590['UNIVER_SHEET'])[_0x7dd519(0x3db)](_0x3eca63(this[_0x7dd519(0x363)]))[_0x7dd519(0x227)](async _0x509cf2=>{const _0x2fcbcf=_0x7dd519,_0x1fa11c=_0x509cf2[_0x2fcbcf(0x20f)](),_0x19235b=await this[_0x2fcbcf(0x2b8)](_0x1fa11c);this[_0x2fcbcf(0x238)][_0x2fcbcf(0x3ab)](_0x19235b),this['_entities'][_0x2fcbcf(0x2e5)](_0x1fa11c,_0x19235b);}),this['_univerInstanceService'][_0x7dd519(0x381)](_0x206590[_0x7dd519(0x325)])['pipe'](_0x3eca63(this[_0x7dd519(0x363)]))[_0x7dd519(0x3db)](_0x47b9bf(_0x385ac4=>!_0x385ac4[_0x7dd519(0x20f)]()[_0x7dd519(0x252)]('__')))[_0x7dd519(0x227)](async _0x258661=>{const _0x5e05be=_0x7dd519,_0x3816a4=_0x258661[_0x5e05be(0x20f)](),_0x67922=await this[_0x5e05be(0x339)](_0x3816a4);this[_0x5e05be(0x238)][_0x5e05be(0x3ab)](_0x67922),this[_0x5e05be(0x36e)][_0x5e05be(0x2e5)](_0x3816a4,_0x67922);}),_0x1de77e(this[_0x7dd519(0x2c0)][_0x7dd519(0x356)](_0x206590['UNIVER_DOC']),this[_0x7dd519(0x2c0)][_0x7dd519(0x356)](_0x206590[_0x7dd519(0x1f8)]))['pipe'](_0x3eca63(this[_0x7dd519(0x363)]))[_0x7dd519(0x227)](_0x22401c=>{const _0x9a6151=_0x7dd519,_0x158ff7=_0x22401c[_0x9a6151(0x20f)](),_0x54614d=this['_entities'][_0x9a6151(0x267)](_0x158ff7);_0x54614d&&(_0x54614d[_0x9a6151(0x39f)](),this[_0x9a6151(0x36e)]['delete'](_0x158ff7));});}async[_0x24c8f1(0x2b8)](_0x15c270){const _0x4198b1=_0x24c8f1,_0x48d10d=await this[_0x4198b1(0x38a)][_0x4198b1(0x3d0)](_0x15c270),_0x1e76ed=this[_0x4198b1(0x2e8)][_0x4198b1(0x3ae)](Me,_0x15c270,_0x48d10d);return _0x1e76ed[_0x4198b1(0x296)](),_0x1e76ed;}async[_0x24c8f1(0x339)](_0x4d6e85){const _0x333768=_0x24c8f1,_0x1f2143=await this[_0x333768(0x38a)][_0x333768(0x3d0)](_0x4d6e85),_0x45f1b6=this[_0x333768(0x2e8)]['createInstance'](Ue,_0x4d6e85,_0x1f2143);return _0x45f1b6[_0x333768(0x296)](),_0x45f1b6;}};H=Ci([Se(0x0,_0x476330),Se(0x1,_0x8a88d2(_0x589b5d)),Se(0x2,_0x8a88d2(_0x42d5ba))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x3191ea,_0x25835d){const _0x153723=_0x24c8f1;let {radius:_0x898f70,width:_0xe5a78c,height:_0x2d2a40}=_0x25835d;_0x898f70=_0x898f70!=null?_0x898f70:0x0,_0xe5a78c=_0xe5a78c!=null?_0xe5a78c:0x1e,_0x2d2a40=_0x2d2a40!=null?_0x2d2a40:0x1e;let _0x929f0a=0x0,_0x7caf14=0x0,_0x5dbe36=0x0;_0x929f0a=_0x7caf14=_0x5dbe36=Math['min'](_0x898f70,_0xe5a78c/0x2,_0x2d2a40/0x2),_0x3191ea[_0x153723(0x330)](),_0x3191ea[_0x153723(0x302)](_0x929f0a,0x0),_0x3191ea[_0x153723(0x239)](_0xe5a78c-_0x7caf14,0x0),_0x3191ea['arc'](_0xe5a78c-_0x7caf14,_0x7caf14,_0x7caf14,Math['PI']*0x3/0x2,0x0,!0x1),_0x3191ea['lineTo'](_0xe5a78c,_0x2d2a40-_0x5dbe36),_0x3191ea[_0x153723(0x395)](_0xe5a78c-_0x5dbe36,_0x2d2a40-_0x5dbe36,_0x5dbe36,0x0,Math['PI']/0x2,!0x1),_0x3191ea[_0x153723(0x239)](0x0,_0x2d2a40),_0x3191ea[_0x153723(0x239)](0x0,_0x929f0a),_0x3191ea[_0x153723(0x395)](_0x929f0a,_0x929f0a,_0x929f0a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3191ea[_0x153723(0x292)](),_0x25835d[_0x153723(0x2c2)]&&(_0x3191ea[_0x153723(0x1f7)](),_0x3191ea[_0x153723(0x396)]=_0x25835d[_0x153723(0x2c2)],_0x25835d[_0x153723(0x3e7)]===_0x153723(0x2f1)?_0x3191ea[_0x153723(0x2c2)]('evenodd'):_0x3191ea[_0x153723(0x2c2)](),_0x3191ea[_0x153723(0x299)]());}class he extends _0x413705{constructor(_0x54ac0b,_0x3f8bb8){const _0xb0663=_0x24c8f1;super(_0x54ac0b,_0x3f8bb8),_(this,'color'),_(this,_0xb0663(0x36d)),(this[_0xb0663(0x31c)]=_0x3f8bb8==null?void 0x0:_0x3f8bb8[_0xb0663(0x31c)],this['text']=_0x3f8bb8==null?void 0x0:_0x3f8bb8['text']);}static[_0x24c8f1(0x3ee)](_0x3e8b72,_0x34a4cb){const _0x36c135=_0x24c8f1,{text:_0x1a8487,color:_0x537744}=_0x34a4cb;_0x3e8b72[_0x36c135(0x1f7)](),_0x3e8b72[_0x36c135(0x3f3)]=_0x36c135(0x219);const _0x2eedd4=_0x3e8b72[_0x36c135(0x25e)](_0x1a8487)[_0x36c135(0x202)],_0x4718b5=Math[_0x36c135(0x297)](_0x2eedd4+0x2*me,Qe);Oi(_0x3e8b72,{'height':ee,'radius':0x4,'width':_0x4718b5,'fill':_0x537744}),_0x3e8b72[_0x36c135(0x396)]=_0x36c135(0x34d);const _0x4e519c=me,_0x301e02=ee-Ei,_0x549725=Qe-0x2*me;if(_0x2eedd4>_0x549725){let _0x4195bc='',_0x39687d=0x0;for(const _0x192d0b of _0x1a8487){const _0x5c5f1a=_0x3e8b72[_0x36c135(0x25e)](_0x192d0b)[_0x36c135(0x202)];if(_0x39687d+_0x5c5f1a<=_0x549725-_0x3e8b72[_0x36c135(0x25e)](_0x36c135(0x263))['width'])_0x4195bc+=_0x192d0b,_0x39687d+=_0x5c5f1a;else{_0x4195bc+=_0x36c135(0x263);break;}}_0x3e8b72[_0x36c135(0x322)](_0x4195bc,_0x4e519c,_0x301e02);}else _0x3e8b72[_0x36c135(0x322)](_0x1a8487,_0x4e519c,_0x301e02);_0x3e8b72['restore']();}[_0x24c8f1(0x351)](_0x3cb565){const _0x5d8931=_0x24c8f1;he[_0x5d8931(0x3ee)](_0x3cb565,this);}}const Ie=_0x24c8f1(0x259),bi=_0x24c8f1(0x3aa),Ti=_0x24c8f1(0x3ac),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x24c8f1(0x370);class qe{constructor(_0x592373,_0x4495fb,_0x376550,_0x333189){const _0x4c500d=_0x24c8f1;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x4c500d(0x34c),null),_(this,_0x4c500d(0x2cf),null),_(this,_0x4c500d(0x29e),null),_(this,_0x4c500d(0x327),null),(this[_0x4c500d(0x242)]=_0x592373,this[_0x4c500d(0x2f6)]=_0x4495fb,this[_0x4c500d(0x362)]=_0x376550,this[_0x4c500d(0x3a9)]=_0x333189,this[_0x4c500d(0x1f6)]());}set[_0x24c8f1(0x25f)](_0x157d0a){const _0x15f474=_0x24c8f1;_0x157d0a?(this[_0x15f474(0x2cf)]&&this['_anchorDot'][_0x15f474(0x284)](),this['_textBubble']&&this[_0x15f474(0x34c)][_0x15f474(0x29d)]()):(this['_anchorDot']&&this[_0x15f474(0x2cf)]['show'](),this[_0x15f474(0x34c)]&&this[_0x15f474(0x34c)]['hide']());}[_0x24c8f1(0x39f)](){const _0x5d29fa=_0x24c8f1;for(const _0x416bbf of this['_shapes'])_0x416bbf['dispose']();this[_0x5d29fa(0x34c)]&&this[_0x5d29fa(0x34c)][_0x5d29fa(0x39f)](),this['_anchorDot']&&this['_anchorDot'][_0x5d29fa(0x39f)](),this[_0x5d29fa(0x3d9)]&&this[_0x5d29fa(0x3d9)][_0x5d29fa(0x39f)](),this[_0x5d29fa(0x327)]&&this['_eventUnsubscribe']();}[_0x24c8f1(0x1f6)](){const _0xfae46=_0x24c8f1;var _0x2ac4f5;const {_docSkeleton:_0x31e662,_document:_0x20bd64}=this,{color:_0x16a0ce,name:_0x1f6cb1,ranges:_0x28de9f}=this['_cursor'],_0x33b49b=_0x20bd64['getOffsetConfig'](),{docsLeft:_0x5441a6,docsTop:_0x173f3b}=_0x33b49b,_0xd0827e=new _0x5095f0(_0x33b49b,_0x31e662);for(const {startOffset:_0x115b0a,endOffset:_0x4352ce,rangeType:_0x26102b,segmentId:_0x2eeb55,segmentPage:_0xaeab8a,collapsed:_0x4c777c,isActive:_0x59a8f0}of _0x28de9f){const _0x26f3ac=_0x31e662[_0xfae46(0x247)](_0x115b0a,!0x0,_0x2eeb55,_0xaeab8a);let _0xdc0c36=_0x31e662[_0xfae46(0x247)](_0x4352ce,!0x0,_0x2eeb55,_0xaeab8a);if(_0xdc0c36==null&&(_0xdc0c36=_0x31e662[_0xfae46(0x247)](_0x4352ce-0x1,!0x1,_0x2eeb55,_0xaeab8a)),_0x59a8f0){const {contentBoxPointGroup:_0x2147a4}=_0xd0827e[_0xfae46(0x293)](_0xdc0c36,_0xdc0c36);if(_0x2147a4['length']===0x0)continue;this[_0xfae46(0x2d4)](_0x16a0ce,_0x2147a4,_0x5441a6,_0x173f3b,_0x1f6cb1),this[_0xfae46(0x327)]=this['_handleHover']();}if(_0x26f3ac&&_0xdc0c36){if(_0x26102b===_0x3908e6[_0xfae46(0x271)]){const _0x152bdd=new _0x597e66(_0x33b49b,_0x31e662),{pointGroup:_0x4b5f9e}=(_0x2ac4f5=_0x152bdd[_0xfae46(0x293)](_0x26f3ac,_0xdc0c36))!=null?_0x2ac4f5:{};if(_0x4b5f9e==null||_0x4b5f9e[_0xfae46(0x268)]===0x0)continue;this['_drawRectRange'](_0x16a0ce,_0x4b5f9e,_0x5441a6,_0x173f3b);}else{if(!_0x4c777c){const {borderBoxPointGroup:_0x18d349}=_0xd0827e[_0xfae46(0x293)](_0x26f3ac,_0xdc0c36);if(_0x18d349[_0xfae46(0x268)]===0x0)continue;this['_drawTextRange'](_0x16a0ce,_0x18d349,_0x5441a6,_0x173f3b);}}}}}[_0x24c8f1(0x2d4)](_0x406572,_0x30652e,_0x572935,_0x4e8e2e,_0x129ca0){const _0x1841cb=_0x24c8f1,_0x4d629e=this[_0x1841cb(0x283)](_0x30652e),{left:_0x59a0df,top:_0x320de5,height:_0x3f492d}=_0x4d629e,_0x2796c7=this[_0x1841cb(0x248)](),_0x3b1422=Di/_0x2796c7,_0x5501fc=new _0x442643(Ie+_0x1062ac[_0x1841cb(0x2d6)](X),{'left':_0x59a0df+_0x572935-_0x3b1422,'top':_0x320de5+_0x4e8e2e,'height':_0x3f492d,'width':Ri,'fill':_0x406572||_0x22ca56(_0x16348d[_0x1841cb(0x275)],0x0),'strokeWidth':_0x3b1422,'stroke':Ni,'evented':!0x0});this[_0x1841cb(0x3d9)]=_0x5501fc,this[_0x1841cb(0x2f6)][_0x1841cb(0x261)](_0x5501fc,_0x5a23a9);const _0x5a09ed=new _0x442643(Ie+_0x1062ac[_0x1841cb(0x2d6)](X),{'left':_0x59a0df+_0x572935-_0x3b1422,'top':_0x320de5+_0x4e8e2e-ge/0x2,'height':ge,'width':ge,'fill':_0x406572||_0x22ca56(_0x16348d[_0x1841cb(0x275)],0x0),'strokeWidth':0x0,'stroke':_0x406572||_0x22ca56(_0x16348d[_0x1841cb(0x275)],0x0),'evented':!0x1});this[_0x1841cb(0x2cf)]=_0x5a09ed,this[_0x1841cb(0x2f6)][_0x1841cb(0x261)](_0x5a09ed,_0x5a23a9);const _0x1c4cc6=new he(Ie+_0x1062ac['generateRandomId'](X),{'left':_0x59a0df+_0x572935-_0x3b1422,'top':_0x320de5+_0x4e8e2e-ee,'text':_0x129ca0,'color':_0x406572});this[_0x1841cb(0x34c)]=_0x1c4cc6,this[_0x1841cb(0x2f6)][_0x1841cb(0x261)](_0x1c4cc6,_0x5a23a9),this[_0x1841cb(0x25f)]=!0x1;}[_0x24c8f1(0x3c3)](){const _0x5be9e2=_0x24c8f1,_0x145ddd=this[_0x5be9e2(0x3d9)][_0x5be9e2(0x22c)][_0x5be9e2(0x353)](()=>{const _0x5f19de=_0x5be9e2;this[_0x5f19de(0x25f)]=!0x0;}),_0x3600cb=this[_0x5be9e2(0x3d9)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x27a4af=_0x5be9e2;this[_0x27a4af(0x29e)]&&clearTimeout(this['_hideTimer']),this[_0x27a4af(0x29e)]=setTimeout(()=>{const _0x404d6d=_0x27a4af;this[_0x404d6d(0x25f)]=!0x1;},0x7d0);});return()=>{const _0x339737=_0x5be9e2;_0x145ddd[_0x339737(0x32b)](),_0x3600cb[_0x339737(0x32b)]();};}[_0x24c8f1(0x2f2)](_0x2d3c54,_0x216997,_0x5eb2f3,_0x1ad3f5){const _0x317b86=_0x24c8f1,_0xa3c954=new _0x5a1558(_0x2d3c54)[_0x317b86(0x2bf)](0.2)['toRgbString'](),_0x588e45=new _0x3d34a0(bi+_0x1062ac[_0x317b86(0x2d6)](X),{'pointsGroup':_0x216997,'fill':_0xa3c954||_0x22ca56(_0x16348d[_0x317b86(0x275)],0.2),'left':_0x5eb2f3,'top':_0x1ad3f5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x317b86(0x32f)][_0x317b86(0x390)](_0x588e45),this[_0x317b86(0x2f6)]['addObject'](_0x588e45,_0x5a23a9);}[_0x24c8f1(0x201)](_0x306373,_0xe16a05,_0x3b9663,_0x42725b){const _0x391cb3=_0x24c8f1,_0x516c80=new _0x5a1558(_0x306373)['setAlpha'](0.2)['toRgbString'](),_0x2207a4=new _0x3d34a0(Ti+_0x1062ac['generateRandomId'](X),{'pointsGroup':_0xe16a05,'fill':_0x516c80||_0x22ca56(_0x16348d['black'],0.2),'left':_0x3b9663,'top':_0x42725b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x391cb3(0x32f)][_0x391cb3(0x390)](_0x2207a4),this[_0x391cb3(0x2f6)][_0x391cb3(0x261)](_0x2207a4,_0x5a23a9);}[_0x24c8f1(0x283)](_0x438d58){const _0x48ef7f=_0x438d58[0x0],_0x461ae5=_0x48ef7f[0x0],_0x502568=_0x48ef7f[0x2],{x:_0x1252d5,y:_0x55a120}=_0x461ae5,{x:_0x4d93fa,y:_0x1aaf2b}=_0x502568;return{'left':_0x1252d5,'top':_0x55a120,'width':_0x4d93fa-_0x1252d5,'height':_0x1aaf2b-_0x55a120};}[_0x24c8f1(0x248)](){const _0x264026=_0x24c8f1,{scaleX:_0xb8378e,scaleY:_0x408a19}=this[_0x264026(0x2f6)][_0x264026(0x2ed)]();return Math[_0x264026(0x279)](_0xb8378e,_0x408a19);}}var Ui=Object[_0x24c8f1(0x3e1)],Mi=(_0x477788,_0x5e3766,_0x512142,_0x29f10a)=>{const _0xecc1c0=_0x24c8f1;for(var _0x4ba81b=_0x29f10a>0x1?void 0x0:_0x29f10a?Ui(_0x5e3766,_0x512142):_0x5e3766,_0x466511=_0x477788[_0xecc1c0(0x268)]-0x1,_0x5ebeac;_0x466511>=0x0;_0x466511--)(_0x5ebeac=_0x477788[_0x466511])&&(_0x4ba81b=_0x5ebeac(_0x4ba81b)||_0x4ba81b);return _0x4ba81b;},Z=(_0x21de90,_0x2082fa)=>(_0x152f3f,_0x81d00a)=>_0x2082fa(_0x152f3f,_0x81d00a,_0x21de90);let we=class extends _0x5300c6{constructor(_0x1262e8,_0xa9e9f7,_0x342570,_0x5236e3,_0x1a3289){const _0x71fa96=_0x24c8f1;super(),_(this,_0x71fa96(0x2a5),[]),_(this,'_cursors',[]),(this[_0x71fa96(0x317)]=_0x1262e8,this['_docSkeletonManagerService']=_0xa9e9f7,this[_0x71fa96(0x287)]=_0x342570,this[_0x71fa96(0x305)]=_0x5236e3,this['_themeService']=_0x1a3289,this[_0x71fa96(0x3b2)]());}[_0x24c8f1(0x3b2)](){const _0x4c7218=_0x24c8f1,_0x424bd4=this['_context'][_0x4c7218(0x2b7)],_0x2ad730=this[_0x4c7218(0x365)];this[_0x4c7218(0x1ee)](_0x1d1cd7([this[_0x4c7218(0x287)][_0x4c7218(0x31f)](_0x424bd4),this[_0x4c7218(0x3d6)][_0x4c7218(0x3be)]])['pipe'](_0x5c9784(([_0x520319,_0x1e8602])=>({'skeleton':_0x2ad730['getSkeleton'](),'cursors':[..._0x520319[_0x4c7218(0x2b9)]()][_0x4c7218(0x2c1)](_0x29becc=>({..._0x29becc,'color':this[_0x4c7218(0x3d6)][_0x4c7218(0x2c9)](_0x29becc[_0x4c7218(0x31c)])}))})))[_0x4c7218(0x227)](_0x4277ad=>{const _0x433791=_0x4c7218;if(this[_0x433791(0x36b)](),_0x4277ad){const {skeleton:_0x315ec6,cursors:_0x4a2272}=_0x4277ad;this[_0x433791(0x2fb)](_0x315ec6,_0x4a2272);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x24c8f1(0x2fb)](_0xeb8c48,_0x52325e){const _0x7235ba=_0x24c8f1,{scene:_0xffbbc0,mainComponent:_0x597574}=this[_0x7235ba(0x317)],_0x5dea23=_0x52325e[_0x7235ba(0x24b)](_0x2dec71=>new qe(_0x2dec71,_0xffbbc0,_0xeb8c48,_0x597574));this[_0x7235ba(0x2a5)]=_0x5dea23,this[_0x7235ba(0x3d4)]=_0x52325e;}[_0x24c8f1(0x2b4)](){const _0x4fd23f=_0x24c8f1;this['_removeCollabCursors']();const {scene:_0x4ef021,mainComponent:_0x4d4c86}=this[_0x4fd23f(0x317)],_0x78f81a=this[_0x4fd23f(0x365)]['getSkeleton'](),_0x195e28=this[_0x4fd23f(0x3d4)][_0x4fd23f(0x24b)](_0x2f3425=>new qe(_0x2f3425,_0x4ef021,_0x78f81a,_0x4d4c86));this[_0x4fd23f(0x2a5)]=_0x195e28;}[_0x24c8f1(0x36b)](){const _0x14870e=_0x24c8f1;this[_0x14870e(0x2a5)][_0x14870e(0x304)](_0x9ba20d=>_0x9ba20d['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x4279a1=_0x24c8f1,_0x5d2975=[_0x424980['id']];this[_0x4279a1(0x1ee)](this[_0x4279a1(0x305)][_0x4279a1(0x27c)](_0x35a847=>{const _0x30b643=_0x4279a1;_0x5d2975[_0x30b643(0x3d7)](_0x35a847['id'])&&_0x35a847['params'][_0x30b643(0x2b7)]===this[_0x30b643(0x317)][_0x30b643(0x2b7)]&&this[_0x30b643(0x2b4)]();}));}['_initResize'](){const _0x424a87=_0x24c8f1;this['disposeWithMe'](_0x15d583(this[_0x424a87(0x317)][_0x424a87(0x2d0)][_0x424a87(0x3b0)])['pipe'](_0x4d1771(_0x2735af=>_0x2735af['type']===_0x56e68e['resize']),_0x4c63e3(0x10))['subscribe'](()=>{const _0x4a975a=_0x424a87;this[_0x4a975a(0x2b4)]();}));}};we=Mi([Z(0x1,_0x8a88d2(_0x59d51f)),Z(0x2,_0x8a88d2(H)),Z(0x3,_0x49494e),Z(0x4,_0x8a88d2(_0x172e8d))],we);const wi=0x1,Pi=1.5;class Li extends _0x413705{constructor(_0x1e89ab,_0x285038){const _0x27ddcc=_0x24c8f1;super(_0x1e89ab,_0x285038),_(this,_0x27ddcc(0x1f2)),_(this,_0x27ddcc(0x2ea),!0x1),_(this,_0x27ddcc(0x2dc)),_(this,_0x27ddcc(0x324),''),_(this,_0x27ddcc(0x273),'top'),_(this,_0x27ddcc(0x24e)),(_0x285038&&this['setShapeProps'](_0x285038),this['onPointerEnter$'][_0x27ddcc(0x353)](()=>this[_0x27ddcc(0x34a)]({'hovered':!0x0})),this[_0x27ddcc(0x200)]['subscribeEvent'](()=>this[_0x27ddcc(0x34a)]({'hovered':!0x1})));}[_0x24c8f1(0x34a)](_0x16c4bb){const _0x2161bd=_0x24c8f1;var _0x44d1fd,_0x3e4862,_0x7e101f,_0x1ff02a,_0x3074b7,_0x137ede;this['_color']=(_0x44d1fd=_0x16c4bb['color'])!=null?_0x44d1fd:this[_0x2161bd(0x1f2)],this[_0x2161bd(0x2ea)]=(_0x3e4862=_0x16c4bb[_0x2161bd(0x35a)])!=null?_0x3e4862:this[_0x2161bd(0x2ea)],this[_0x2161bd(0x2dc)]=(_0x7e101f=_0x16c4bb['range'])!=null?_0x7e101f:this[_0x2161bd(0x2dc)],this[_0x2161bd(0x324)]=(_0x1ff02a=_0x16c4bb['name'])!=null?_0x1ff02a:this[_0x2161bd(0x324)],this['_labelPosition']=(_0x3074b7=_0x16c4bb[_0x2161bd(0x1fb)])!=null?_0x3074b7:this[_0x2161bd(0x273)],this[_0x2161bd(0x24e)]=(_0x137ede=_0x16c4bb[_0x2161bd(0x37d)])!=null?_0x137ede:this[_0x2161bd(0x24e)],this[_0x2161bd(0x2d7)]({'width':_0x16c4bb['width'],'height':_0x16c4bb['height']});}[_0x24c8f1(0x26d)](_0x1b8225){const _0x58cc9=_0x24c8f1,{row:_0x2bd4cf,column:_0x417d9b}=_0x1b8225;if(_0x2bd4cf>=this[_0x58cc9(0x2dc)][_0x58cc9(0x1e7)]&&_0x2bd4cf<=this['_range'][_0x58cc9(0x371)]&&_0x417d9b>=this[_0x58cc9(0x2dc)][_0x58cc9(0x3bb)]&&_0x417d9b<=this[_0x58cc9(0x2dc)][_0x58cc9(0x3e9)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x58cc9(0x34a)]({'hovered':!0x1});}[_0x24c8f1(0x3b1)](_0x292b22){return!0x1;}['_draw'](_0x5bdd2d){const _0x20cd85=_0x24c8f1;_0x442643['drawWith'](_0x5bdd2d,{'width':this['width'],'height':this[_0x20cd85(0x32d)],'strokeWidth':Pi,'stroke':this[_0x20cd85(0x1f2)],'evented':!0x1,'fill':this[_0x20cd85(0x24e)]}),this[_0x20cd85(0x2ea)]&&(_0x5bdd2d[_0x20cd85(0x1f7)](),_0x5bdd2d[_0x20cd85(0x253)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x20cd85(0x270)?0x0:-0x14),he[_0x20cd85(0x3ee)](_0x5bdd2d,{'text':this[_0x20cd85(0x324)],'color':this[_0x20cd85(0x1f2)]}),_0x5bdd2d[_0x20cd85(0x299)]());}}var Ai=Object[_0x24c8f1(0x3e1)],yi=(_0x743a51,_0x161324,_0x15504e,_0x5a05e0)=>{const _0x37b506=_0x24c8f1;for(var _0x1b97d5=_0x5a05e0>0x1?void 0x0:_0x5a05e0?Ai(_0x161324,_0x15504e):_0x161324,_0x26859a=_0x743a51[_0x37b506(0x268)]-0x1,_0x1e3d09;_0x26859a>=0x0;_0x26859a--)(_0x1e3d09=_0x743a51[_0x26859a])&&(_0x1b97d5=_0x1e3d09(_0x1b97d5)||_0x1b97d5);return _0x1b97d5;},ve=(_0x170787,_0x5e670b)=>(_0xeca2d3,_0xcd5bfc)=>_0x5e670b(_0xeca2d3,_0xcd5bfc,_0x170787);const $i=0x1389;let Pe=class extends _0x5300c6{constructor(_0x43027d,_0x2984fa,_0x5bd4b9,_0x32eb7b){const _0x47de22=_0x24c8f1;super(),_(this,_0x47de22(0x3d4),new Set()),_(this,'_lastPointer',null),(this[_0x47de22(0x317)]=_0x43027d,this[_0x47de22(0x34b)]=_0x2984fa,this[_0x47de22(0x287)]=_0x5bd4b9,this[_0x47de22(0x3d6)]=_0x32eb7b,this[_0x47de22(0x3b2)]());}[_0x24c8f1(0x3b2)](){const _0x16b5d9=_0x24c8f1;this['_sheetSkeletonManagerService'][_0x16b5d9(0x27d)][_0x16b5d9(0x3db)](_0x30af04(this[_0x16b5d9(0x363)]),_0x1fa334(_0x2858ee=>{const _0x306d6e=_0x16b5d9;if(_0x2858ee){const _0x183b3c=_0x2858ee['sheetId'];return _0x1d1cd7(this['_collabCursorController'][_0x306d6e(0x31f)](this[_0x306d6e(0x317)][_0x306d6e(0x2b7)]),this['_themeService'][_0x306d6e(0x3be)])[_0x306d6e(0x3db)](_0x5c9784(([_0x189862,_0x3b4468])=>{const _0x1bbf18=_0x306d6e,_0x1c261a=new Map();return _0x189862[_0x1bbf18(0x304)]((_0x2ece4d,_0x3d5504)=>{const _0x53a332=_0x1bbf18;if(_0x2ece4d[_0x53a332(0x25a)]===_0x183b3c){const _0x19da1d={..._0x2ece4d};_0x19da1d[_0x53a332(0x31c)]=this[_0x53a332(0x3d6)]['getColorFromTheme'](_0x2ece4d[_0x53a332(0x31c)]),_0x1c261a[_0x53a332(0x2e5)](_0x3d5504,_0x19da1d);}}),{'skeleton':_0x2858ee,'cursors':_0x1c261a};}));}return _0x44af89({'skeleton':null,'cursors':new Map()});}))[_0x16b5d9(0x227)](({skeleton:_0xd805cd,cursors:_0x153d00})=>{const _0x33c6a7=_0x16b5d9;this[_0x33c6a7(0x36b)](),_0xd805cd&&this[_0x33c6a7(0x2fb)](_0xd805cd,_0x153d00);}),this[_0x16b5d9(0x34b)][_0x16b5d9(0x27d)][_0x16b5d9(0x227)](_0x1b4f8b=>{const _0x2d6746=_0x16b5d9;if(_0x1b4f8b==null)return;const {skeleton:_0x4cdf94}=_0x1b4f8b,{scene:_0x4ab910}=this[_0x2d6746(0x317)];_0x4ab910[_0x2d6746(0x354)][_0x2d6746(0x353)](_0x211642(_0x2ca753=>{const _0x2742ec=_0x2d6746;var _0x1de9c9,_0x4adcdd;const {offsetX:_0x2759d7,offsetY:_0x6ab019}=_0x2ca753,{x:_0x110b04,y:_0xf2d1be}=_0x4ab910[_0x2742ec(0x300)](_0x572d27[_0x2742ec(0x313)]([_0x2759d7,_0x6ab019])),{scaleX:_0xfcddeb,scaleY:_0x44857c}=_0x4ab910[_0x2742ec(0x2ed)](),_0x2fd00a=_0x4ab910[_0x2742ec(0x374)](_0x30f63f[_0x2742ec(0x27b)]),_0x167b0b=_0x4ab910[_0x2742ec(0x3bc)](_0x572d27[_0x2742ec(0x313)]([_0x110b04,_0xf2d1be]),_0x2fd00a),_0x3285c6=_0x4cdf94[_0x2742ec(0x260)](_0x2759d7,_0x6ab019,_0xfcddeb,_0x44857c,_0x167b0b);((_0x1de9c9=this['_lastPointer'])==null?void 0x0:_0x1de9c9['column'])===_0x3285c6[_0x2742ec(0x397)]&&((_0x4adcdd=this[_0x2742ec(0x2bc)])==null?void 0x0:_0x4adcdd[_0x2742ec(0x243)])===_0x3285c6[_0x2742ec(0x243)]||this[_0x2742ec(0x3d4)]['forEach'](_0x23c58b=>{const _0x3cdc03=_0x2742ec;_0x23c58b[_0x3cdc03(0x26d)](_0x3285c6);});},0x64));});}[_0x24c8f1(0x2fb)](_0xbe8ae4,_0x1c5024){const _0x27040b=_0x24c8f1;var _0x502ed1;const _0x1e9332=(_0x502ed1=this[_0x27040b(0x34b)][_0x27040b(0x1e5)]())==null?void 0x0:_0x502ed1['skeleton'];if(!_0x1e9332)return;const _0x530bfc=this[_0x27040b(0x307)]();if(!_0x530bfc)return;this[_0x27040b(0x3d4)][_0x27040b(0x304)](_0x2a835d=>{const _0x2ad91d=_0x27040b;_0x2a835d[_0x2ad91d(0x399)]();});const {scene:_0x17cabe}=_0x530bfc,_0x42a554=xi(Array[_0x27040b(0x306)](_0x1c5024[_0x27040b(0x2b9)]()))[_0x27040b(0x24b)](_0x26360f=>{const _0x59de05=_0x27040b,{color:_0x5bb964,range:_0x237cd8,name:_0x537a73,selection:_0x2f2cc2,sheetID:_0x2faec0}=_0x26360f,{startColumn:_0x3c621d,startRow:_0x499990,endColumn:_0x5b5ead,endRow:_0x54dec3}=_0x237cd8,_0x24dde4=_0xa0a066(_0x499990,_0x3c621d,_0x17cabe,_0x1e9332),_0x29387d=_0xa0a066(_0x54dec3,_0x5b5ead,_0x17cabe,_0x1e9332),{columnHeaderHeightAndMarginTop:_0x54108a}=_0x1e9332,{startX:_0x414620,startY:_0x2ae31d}=_0x24dde4,{endX:_0x17257e,endY:_0x9c7daa}=_0x29387d,_0x5a0de5=_0x17257e-_0x414620,_0x54cf20=_0x9c7daa-_0x2ae31d,_0x5142be={'labelPosition':_0x2ae31d-_0x54108a>=ee?_0x59de05(0x266):'bottom','sheetID':_0x2faec0,'range':_0x237cd8,'color':_0x5bb964,'name':_0x537a73,'selection':_0x2f2cc2,'left':_0x414620,'top':_0x2ae31d,'width':_0x5a0de5,'height':_0x54cf20,'evented':!0x1,'zIndex':$i};return new Li(_0x537a73,_0x5142be);});_0x17cabe[_0x27040b(0x1f3)](_0x42a554,wi),this[_0x27040b(0x3d4)]=new Set(_0x42a554);}[_0x24c8f1(0x36b)](){const _0x2823b5=_0x24c8f1;var _0x937981;(_0x937981=this[_0x2823b5(0x3d4)])==null||_0x937981[_0x2823b5(0x304)](_0x53efd1=>_0x53efd1[_0x2823b5(0x39f)]());}[_0x24c8f1(0x307)](){const _0x5574c9=_0x24c8f1;return _0x4cd6ff(this[_0x5574c9(0x317)][_0x5574c9(0x229)],this[_0x5574c9(0x317)]);}};function _0x51d8(_0x207441,_0x24c632){const _0x300bb8=_0x300b();return _0x51d8=function(_0x51d8ee,_0x2012dd){_0x51d8ee=_0x51d8ee-0x1e5;let _0x2a3945=_0x300bb8[_0x51d8ee];return _0x2a3945;},_0x51d8(_0x207441,_0x24c632);}Pe=yi([ve(0x1,_0x8a88d2(_0x26903c)),ve(0x2,_0x8a88d2(H)),ve(0x3,_0x8a88d2(_0x172e8d))],Pe);function xi(_0x517b1c){const _0x4649fa=_0x24c8f1,_0x4c3da1=new Map();return _0x517b1c[_0x4649fa(0x304)](_0x4679e2=>{const _0x26aa49=_0x4649fa;if(_0x4c3da1[_0x26aa49(0x380)](_0x4679e2[_0x26aa49(0x3e5)])){const _0x175c2f=_0x4c3da1[_0x26aa49(0x267)](_0x4679e2[_0x26aa49(0x3e5)]);_0x175c2f['name']+=',\x20'+_0x4679e2[_0x26aa49(0x280)];}else _0x4c3da1['set'](_0x4679e2[_0x26aa49(0x3e5)],_0x4679e2);}),Array[_0x4649fa(0x306)](_0x4c3da1['values']());}function _0x300b(){const _0x1edb87=['evenodd','_drawTextRange','_id','isArray','OTHER_CLIENTS_EDITING','_scene','_docStateChangeManagerService','_handleEvent','div','imageSourceType','_updateCollabCursors','PENDING','MOBILE_HAS_BEEN_BOUND','INVALID_INVITE_CODE','getMergeData','getRelativeToViewportCoord','LICENSE_MAX_UNITS_EXCEEDED','moveTo','isActive','forEach','_commandService','from','_getSheetObject','createSocket','runOnServer','currentColor','defIds','prototype','_handleLeaveEvent','NOT_COLLAB','_docTransformStateCacheService','svg','SUBMIT_CHANGESET_TIMEOUT','INVITE_CODE_ALREADY_BOUND','FromArray','TOO_MANY_REQUESTS','UNAUTHENTICATED','toString','_context','_docTransformSelectionsService','Warning','UNRECOGNIZED','range','color','_initEvent','yellow.400','getCollabCursors$','YUUMI_UNABLE_LOAD_URL','m1Prime','fillText','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_name','UNIVER_DOC','_uiPartsService','_eventUnsubscribe','_refRangeService','trim','tag','unsubscribe','extend','height','replaceDocRanges','_shapes','beginPath','_unitOnClients','UPDATE_CURSOR','TEXT','exhaustSavingTask','on-line-icon','_status$','substring','registerBeforeClose','_startDocCollabCursor','/run/','assign','getUnitStatus$','_updateURLWithCurrentState','SOCKET_FAILED_RETRY','permission.content','activeSheet$','_registerDependencies','SOCKET_FAILED','_localStorageService','error','157749zxVRYY','red.300','getCurrentRevOfUnit','href','InsertRangeMoveDownCommandId','setShapeProps','_sheetSkeletonManagerService','_textBubble','#FFF','collabStatus.conflict','pushState','addClipboardHook','_draw','getActiveRange','subscribeEvent','onPointerMove$','event$','getTypeOfUnitDisposed$','subUnitId','4440100ysberW','search','hovered','deepClone','path','_clearOtherTimers','_renderManagerService','univerjs-icon\x20univerjs-icon-','PY_RUNTIME_SCRIPT_ERROR','5374304JJetXC','_docSkeleton','dispose$','84QBTuCo','_docSkeletonManagerService','_scheduleHeartbeat','redoState','xlink:href','_localCacheService','_colorIndex','_removeCollabCursors','CONFLICT','text','_entities','_colorAssignService','rgba(255,\x20255,\x20255,\x200.01)','endRow','ticket','_assignedColors','getViewport','storage','editingUnit','icon','unload','url(#off-line-icon_clip0_910_343)','collabCursorState$','_notificationService','sessionStatus$','backgroundColor','_initStatusComponent','idSuffix','has','getTypeOfUnitAdded$','[CollaborationDataLoaderController]','DeleteRangeMoveUpCommandId','undoState','INVITE_CODE_HAS_BEEN_UES','SNAPSHOT_INVALID_SNAPSHOT','cursorInfo$','890keTJLD','APPLY_PERMISSION_DENIED','_collabSessionService','isEditing','collaboration.closeRoom','invokeId','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_heartbeatTimer','push','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getParam','JOIN_ROOM_FAILED','post','arc','fillStyle','column','none','makeDirty','_disabled','MUTATION','asObservable','reconnect','attrs','dispose','cursorInfo','transformMutationsWithChangeset','session.collaboration-timeout','_handleJoinEvent','runId','result','getFocusedUnit','jiqing.500','clearTimeout','_document','collab-text-range-','next','collab-rect-range-','OFFLINE','createInstance','getDocRanges','onTransformChange$','triggerDblclick','_init','status$','transformMutation','UniverIcon','_session','current','ENSURE_SNAPSHOT_EXECUTION','YUUMI_AI_RUN_FAILED','setActiveRange','startColumn','getVpScrollXYInfoByPosToVp','_transformService','currentTheme$','FETCH_MISS','use','INVITE_CODE_REQUIRED','YUUMI_RATE_OVER_LIMIT','_handleHover','getMember','_toggleOffline','size','INVALID_ARGUMENT','displayName','_docClipboardService','_selfUnitIDs','body','_collaborationController','UNDEFINED','getCurrentUnitForType','YUUMI_NO_CUBOID_FOR_QUESTION','requireSession','getStateCache','collabStatus.syncing','actions','_cursors','_onCursorDelete','_themeService','includes','YUUMI_ASYNCIO_CANCELLED','_anchor','getConfig','pipe','_getSessionTicket','YUUMI_ALL_TABLES_IS_INVALID','_updateSubUnitFromURLParams','params','url(#on-line-icon_clip0_910_349)','getOwnPropertyDescriptor','saveOfflineData','entityInit$','APPLY_REJECT','selection','AWAITING','fillRule','indexOf','endColumn','getMemberID','USERS_LEAVE','_saveTaskMap','LICENSE_EXPORT_SIZE_EXCEEDED','drawWith','_transformUndoRedoStack','unitID','_unitStatus','3575900TPVVdZ','font','ONLINE','_scheduleClearOtherTimer','send','debug','getCurrent','getValue','startRow','_updateLocalCursor','replace','getUndoRedoMutationParamsCache','0\x200\x2016\x2016','location','CHANGESET_REVISION_CONFILICT','disposeWithMe','collabStatus.notCollab','WECHAT_HAS_BEEN_BOUND','setInterval','_color','addObjects','_localeService','on-line-icon_clip0_910_349','_render','save','UNIVER_SHEET','Error','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','labelPosition','saveTaskMap','code','newValue','key','onPointerLeave$','_drawRectRange','width','textRanges','USER_NOT_INVITED_CODE','updateOfflineData','apply','translate(.97)','onStarting','1em','OnLineIcon','Failed','_revisionService','_cachedData','getOwnPropertySymbols','getUnitId','EMAIL_HAS_BEEN_BOUND','off-line-icon','_ensureSubject','RemoveRowCommandId','symbol','APPLY_NON_SEQUENTIAL_REVISION','APPLY_REVISION_CONFILICT','ranges','_dataLoaderService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_initStatusListener','executionId','syncEditingCollabCursor','disableLocalCache','_urlService','roomMembers','round','doc.mutation.rich-text-editing','roomMembers$','_messageService','_transformHistoryAndStateStack','session.will-retry','subscribe','transformSelections','unit','19493111kVkNyK','focused$','onPointerEnter$','SNAPSHOT_HAS_BEEN_REMOVED','getSheetId','InsertColCommandId','_initDependencies','m2Prime','transformRemoteChangeset','getCurrentSelections','delete','white','YUUMI_TABLE_NOT_FOUND_IN_UNIT','some','_entityInit$','lineTo','blue.400','history','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','ACTIVE_UNIT_EVENT_CHANNEL','wsSessionTicketUrl','getRenderById','sessionTicket','_cursor','row','_doCreateSocket','onRendered','defineProperty','findNodePositionByCharIndex','_getScale','_httpService','collabStatus.fetchMiss','map','_handleHeartbeatEvent','split','_backgroundColor','_getSaveTimeout','_initEntityListener','type','startsWith','transform','ALREADY_EXISTS','entries','colorChannel1','_imageIoService','_onCursorUpdate','collab-text-anchor-','sheetID','univer-mr-2\x20univer-flex\x20univer-text-xl','off-line-icon_clip0_910_343','_memberService','measureText','_hover','getCellPositionByOffset','addObject','complete','...','purple.300','replaceState','top','get','length','_saveCache','_online','_toggleOnline','YUUMI_SUBSCRIPTION_NOT_FOUND','onMouseMove','getActiveSheet','hasOwnProperty','bottom','RECT','_registerRenderDependencies','_labelPosition','OffLineIcon','black','className','registerComponent','INTERNAL_ERROR','max','origin','VIEW_MAIN','onCommandExecuted','currentSkeleton$','MoveRangeCommandId','transformStateCache','name','setUndoRedoMutationParamsCache','_roomMembers$','_getAnchorBounding','hide','_collabCursorState$','setConfig','_collabCursorController','LOGIN_FAILED','1TnsMFb','_removeClearOtherTimer','mutations','LICENSE_IMPORT_SIZE_EXCEEDED','clipPath','function','children','permission.title','concat','closePath','getRangePointData','collaboration.single-unit.warning','loadOfflineData','init','min','propertyIsEnumerable','restore','unshift','_configService','green.600','show','_hideTimer','setItem','parse','getUnhiddenWorksheets','removeParam','collabStatus.synced','_syncEditingCollabCursorService','_cursorShapes','16515AmIrTY','random','HEADER_MENU','popstate','COMPLETION_FINISHED','50390VyHMUW','override','url(#$1','setParam','_transformPreviousActiveRange','LICENSE_DISTRO_REJECTED','getCollabEntity$','find','_cursorInfo$','_refreshCollabCursors','with','clearInterval','unitId','_startSheetCollabCursor','values','_scheduleSaving','_docTransformIMECacheService','_lastPointer','APPLY_DUPLICATED','data','setAlpha','_univerInstanceService','flatMap','fill','_setupBeforeClosingHandler','string','_docSyncEditingCollabCursorService','call','defs','_logService','getColorFromTheme','assignAColorForMemberID','NO_OTHER_CLIENTS_EDITING','_config','8YlnICI','transformIMECache','_anchorDot','engine','_instanceService','YUUMI_URL_COL_OUT_OF_RANGE','subunit','_drawAnchor','selections','generateRandomId','transformByState','RemoveColCommandId','_createSocketURL','disposeUnit','_collaborationUIEventService','_range','http://www.w3.org/2000/svg','registerRefRange','add','_onRefRangeChange','session.connection-failed','NOT_FOUND','PERMISSION_DENIED','_setupSubUnitSync','set','onLocalMutation','_send','_injector','searchParams','_hovered','addEventListener','getSheetBySheetId','getAncestorScale','then','DeleteRangeMoveLeftCommandId','InsertRangeMoveRightCommandId'];_0x300b=function(){return _0x1edb87;};return _0x300b();}var v=function(){const _0x471fe3=_0x24c8f1;return v=Object[_0x471fe3(0x33b)]||function(_0x45dee7){const _0x4b67a3=_0x471fe3;for(var _0x26f4f8,_0xf79c65=0x1,_0x2d2425=arguments[_0x4b67a3(0x268)];_0xf79c65<_0x2d2425;_0xf79c65++){_0x26f4f8=arguments[_0xf79c65];for(var _0x374224 in _0x26f4f8)Object['prototype']['hasOwnProperty'][_0x4b67a3(0x2c6)](_0x26f4f8,_0x374224)&&(_0x45dee7[_0x374224]=_0x26f4f8[_0x374224]);}return _0x45dee7;},v[_0x471fe3(0x206)](this,arguments);},Bi=function(_0x51c345,_0x42399f){const _0x2e697f=_0x24c8f1;var _0x34e7c2={};for(var _0x1dd7f5 in _0x51c345)Object[_0x2e697f(0x30c)][_0x2e697f(0x26f)]['call'](_0x51c345,_0x1dd7f5)&&_0x42399f[_0x2e697f(0x3e8)](_0x1dd7f5)<0x0&&(_0x34e7c2[_0x1dd7f5]=_0x51c345[_0x1dd7f5]);if(_0x51c345!=null&&typeof Object[_0x2e697f(0x20e)]==_0x2e697f(0x28e)){for(var _0x164778=0x0,_0x1dd7f5=Object[_0x2e697f(0x20e)](_0x51c345);_0x164778<_0x1dd7f5[_0x2e697f(0x268)];_0x164778++)_0x42399f[_0x2e697f(0x3e8)](_0x1dd7f5[_0x164778])<0x0&&Object['prototype'][_0x2e697f(0x298)][_0x2e697f(0x2c6)](_0x51c345,_0x1dd7f5[_0x164778])&&(_0x34e7c2[_0x1dd7f5[_0x164778]]=_0x51c345[_0x1dd7f5[_0x164778]]);}return _0x34e7c2;},je=_0x1a92bb(function(_0x5ad832,_0x2c7137){const _0xba7e49=_0x24c8f1;var _0x17843e=_0x5ad832['icon'],_0x23f6f7=_0x5ad832['id'],_0x2b0b17=_0x5ad832[_0xba7e49(0x276)],_0x5a692e=_0x5ad832[_0xba7e49(0x32c)],_0x2b2eb8=Bi(_0x5ad832,[_0xba7e49(0x377),'id',_0xba7e49(0x276),_0xba7e49(0x32c)]),_0x5dcbb5=_0xba7e49(0x35f)[_0xba7e49(0x291)](_0x23f6f7,'\x20')['concat'](_0x2b0b17||'')[_0xba7e49(0x329)](),_0x4d230e=_0x2b68e3('_'['concat'](ji()));return Rt(_0x17843e,''[_0xba7e49(0x291)](_0x23f6f7),{'defIds':_0x17843e[_0xba7e49(0x30b)],'idSuffix':_0x4d230e[_0xba7e49(0x3b7)]},v({'ref':_0x2c7137,'className':_0x5dcbb5},_0x2b2eb8),_0x5a692e);});function Rt(_0x123662,_0x3ffa9e,_0x196c40,_0x4ebe22,_0x47d2c2){const _0x1e1e80=_0x24c8f1;return _0x4fc800(_0x123662['tag'],v(v({'key':_0x3ffa9e},ki(_0x123662,_0x196c40,_0x47d2c2)),_0x4ebe22),(Hi(_0x123662,_0x196c40)[_0x1e1e80(0x28f)]||[])[_0x1e1e80(0x24b)](function(_0x2e6862,_0x57ef47){const _0x50fe9d=_0x1e1e80;return Rt(_0x2e6862,''['concat'](_0x3ffa9e,'-')[_0x50fe9d(0x291)](_0x123662[_0x50fe9d(0x32a)],'-')[_0x50fe9d(0x291)](_0x57ef47),_0x196c40,void 0x0,_0x47d2c2);}));}function ki(_0x34f502,_0xc46a4c,_0x449730){const _0x240fe5=_0x24c8f1;var _0x169010=v({},_0x34f502[_0x240fe5(0x39e)]);_0x449730!=null&&_0x449730[_0x240fe5(0x256)]&&_0x169010[_0x240fe5(0x2c2)]===_0x240fe5(0x256)&&(_0x169010[_0x240fe5(0x2c2)]=_0x449730['colorChannel1']),_0x34f502[_0x240fe5(0x32a)]==='mask'&&_0x169010['id']&&(_0x169010['id']=_0x169010['id']+_0xc46a4c[_0x240fe5(0x37f)]),Object[_0x240fe5(0x255)](_0x169010)['forEach'](function(_0x127192){const _0x3917ae=_0x240fe5;var _0x3058a1=_0x127192[0x0],_0x5ef8a1=_0x127192[0x1];_0x3058a1==='mask'&&typeof _0x5ef8a1==_0x3917ae(0x2c4)&&(_0x169010[_0x3058a1]=_0x5ef8a1[_0x3917ae(0x1e9)](/url\(#(.*)\)/,_0x3917ae(0x2ad)[_0x3917ae(0x291)](_0xc46a4c[_0x3917ae(0x37f)],')')));});var _0x320d6e=_0xc46a4c[_0x240fe5(0x30b)];return!_0x320d6e||_0x320d6e['length']===0x0||(_0x34f502[_0x240fe5(0x32a)]===_0x240fe5(0x3c0)&&_0x169010['xlink:href']&&(_0x169010['xlink:href']=_0x169010[_0x240fe5(0x368)]+_0xc46a4c[_0x240fe5(0x37f)]),Object[_0x240fe5(0x255)](_0x169010)[_0x240fe5(0x304)](function(_0x53ea46){const _0x38739c=_0x240fe5;var _0x28238e=_0x53ea46[0x0],_0x914ab5=_0x53ea46[0x1];typeof _0x914ab5=='string'&&(_0x169010[_0x28238e]=_0x914ab5[_0x38739c(0x1e9)](/url\(#(.*)\)/,'url(#$1'[_0x38739c(0x291)](_0xc46a4c['idSuffix'],')')));})),_0x169010;}function Hi(_0x488263,_0x2d77cd){const _0x217a63=_0x24c8f1;var _0x481329,_0x1de9ae=_0x2d77cd[_0x217a63(0x30b)];return!_0x1de9ae||_0x1de9ae[_0x217a63(0x268)]===0x0?_0x488263:_0x488263[_0x217a63(0x32a)]===_0x217a63(0x2c7)&&(!((_0x481329=_0x488263[_0x217a63(0x28f)])===null||_0x481329===void 0x0)&&_0x481329[_0x217a63(0x268)])?v(v({},_0x488263),{'children':_0x488263[_0x217a63(0x28f)][_0x217a63(0x24b)](function(_0x13afdf){const _0x1aefbf=_0x217a63;return typeof _0x13afdf['attrs']['id']==_0x1aefbf(0x2c4)&&_0x1de9ae&&_0x1de9ae['includes'](_0x13afdf[_0x1aefbf(0x39e)]['id'])?v(v({},_0x13afdf),{'attrs':v(v({},_0x13afdf[_0x1aefbf(0x39e)]),{'id':_0x13afdf[_0x1aefbf(0x39e)]['id']+_0x2d77cd['idSuffix']})}):_0x13afdf;})}):_0x488263;}function ji(){const _0x82b530=_0x24c8f1;return Math[_0x82b530(0x2a7)]()['toString'](0x24)[_0x82b530(0x337)](0x2,0x8);}je['displayName']=_0x24c8f1(0x3b5);var Yi={'tag':_0x24c8f1(0x310),'attrs':{'xmlns':_0x24c8f1(0x2dd),'fill':_0x24c8f1(0x398),'viewBox':_0x24c8f1(0x1eb),'width':_0x24c8f1(0x209),'height':_0x24c8f1(0x209)},'children':[{'tag':'g','attrs':{'clipPath':_0x24c8f1(0x379)},'children':[{'tag':_0x24c8f1(0x35c),'attrs':{'stroke':_0x24c8f1(0x30a),'d':_0x24c8f1(0x23d),'strokeLinecap':'round','strokeLinejoin':_0x24c8f1(0x221),'strokeWidth':1.2}}]},{'tag':_0x24c8f1(0x2c7),'attrs':{},'children':[{'tag':_0x24c8f1(0x28d),'attrs':{'id':_0x24c8f1(0x25c)},'children':[{'tag':'path','attrs':{'fill':_0x24c8f1(0x235),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},Dt=_0x1a92bb(function(_0x4891ca,_0x68373b){const _0x3d61a7=_0x24c8f1;return _0x4fc800(je,Object[_0x3d61a7(0x33b)]({},_0x4891ca,{'id':_0x3d61a7(0x211),'ref':_0x68373b,'icon':Yi}));});Dt[_0x24c8f1(0x3c8)]=_0x24c8f1(0x274);var Fi={'tag':_0x24c8f1(0x310),'attrs':{'xmlns':_0x24c8f1(0x2dd),'fill':_0x24c8f1(0x398),'viewBox':'0\x200\x2017\x2016','width':_0x24c8f1(0x209),'height':_0x24c8f1(0x209)},'children':[{'tag':'g','attrs':{'clipPath':_0x24c8f1(0x3e0)},'children':[{'tag':'path','attrs':{'stroke':_0x24c8f1(0x30a),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x24c8f1(0x221),'strokeLinejoin':_0x24c8f1(0x221),'strokeWidth':1.2}}]},{'tag':_0x24c8f1(0x2c7),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x24c8f1(0x1f5)},'children':[{'tag':_0x24c8f1(0x35c),'attrs':{'fill':_0x24c8f1(0x235),'d':'M0\x200H16V16H0z','transform':_0x24c8f1(0x207)}}]}]}],'defIds':[_0x24c8f1(0x1f5)]},Nt=_0x1a92bb(function(_0x8f1e70,_0xea92ca){const _0x4db191=_0x24c8f1;return _0x4fc800(je,Object[_0x4db191(0x33b)]({},_0x8f1e70,{'id':_0x4db191(0x335),'ref':_0xea92ca,'icon':Fi}));});Nt[_0x24c8f1(0x3c8)]=_0x24c8f1(0x20a);function Wi(_0x3edfe7){const _0x5d1598=_0x24c8f1;switch(_0x3edfe7){case _0x371c48['OFFLINE']:return'collabStatus.offline';case _0x371c48[_0x5d1598(0x36c)]:return _0x5d1598(0x34e);case _0x371c48[_0x5d1598(0x3bf)]:return _0x5d1598(0x24a);case _0x371c48[_0x5d1598(0x30e)]:return _0x5d1598(0x1ef);case _0x371c48[_0x5d1598(0x3e6)]:case _0x371c48['AWAITING_WITH_PENDING']:return _0x5d1598(0x3d2);case _0x371c48['SYNCED']:case _0x371c48[_0x5d1598(0x2fc)]:return _0x5d1598(0x2a3);}}function Vi(_0x3f906e){const _0x399ba2=_0x24c8f1,{status$:_0x5a5ccb}=_0x3f906e,_0x5a05cd=_0x1f0353(_0x5a5ccb,_0x371c48[_0x399ba2(0x30e)]),_0x5e4377=_0x103fb(_0x542281),_0x21bf57=_0x103fb(_0x42d5ba),_0x33a7fa=_0x5a05cd!==_0x371c48[_0x399ba2(0x3ad)],_0xc80ffd=_0x5e4377['t'](Wi(_0x5a05cd)),_0x1f600a=_0x33a7fa?_0x2e338a(Nt,{}):_0x2e338a(Dt,{}),_0x3261e0=_0x506f8a(()=>{const _0x441bd8=_0x399ba2;_0x33a7fa||_0x21bf57[_0x441bd8(0x39d)]();},[_0x33a7fa,_0x21bf57]);function _0x2a051a(){const _0x42b575=_0x399ba2;return _0x19294d('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x3261e0,'children':[_0x2e338a(_0x42b575(0x2f9),{'className':_0x2379fe(_0x42b575(0x25b),{'univer-text-green-500':_0x33a7fa,'univer-text-red-500':!_0x33a7fa}),'children':_0x1f600a}),_0x2e338a('div',{'className':_0x42b575(0x21a),'children':_0xc80ffd})]});}return _0x33a7fa?_0x2a051a():_0x2e338a(_0x4d5af3,{'title':_0x5e4377['t']('collab-client.tooltip.reconnect'),'children':_0x2a051a()});}var Xi=Object[_0x24c8f1(0x3e1)],Gi=(_0x10af9e,_0x4af0d0,_0x5988bb,_0x3ff299)=>{const _0x1e2c4b=_0x24c8f1;for(var _0x1f484f=_0x3ff299>0x1?void 0x0:_0x3ff299?Xi(_0x4af0d0,_0x5988bb):_0x4af0d0,_0x19df1a=_0x10af9e[_0x1e2c4b(0x268)]-0x1,_0x19134c;_0x19df1a>=0x0;_0x19df1a--)(_0x19134c=_0x10af9e[_0x19df1a])&&(_0x1f484f=_0x19134c(_0x1f484f)||_0x1f484f);return _0x1f484f;},Q=(_0x35250c,_0x3a54d7)=>(_0x2cfd80,_0x3aeebd)=>_0x3a54d7(_0x2cfd80,_0x3aeebd,_0x35250c);let te=class extends _0x2a8588{constructor(_0x4aac05,_0x10b230,_0x145e99,_0x1ba8a0){const _0x59b8ca=_0x24c8f1;super(),_(this,_0x59b8ca(0x336),new _0x4305c6(_0x371c48[_0x59b8ca(0x30e)])),(this[_0x59b8ca(0x2c0)]=_0x4aac05,this['_injector']=_0x10b230,this['_collaborationController']=_0x145e99,this[_0x59b8ca(0x326)]=_0x1ba8a0,this[_0x59b8ca(0x37e)](),this['_initStatusListener']());}[_0x24c8f1(0x21b)](){const _0x25d055=_0x24c8f1;this[_0x25d055(0x1ee)](this[_0x25d055(0x2c0)][_0x25d055(0x22b)][_0x25d055(0x3db)](_0x41e784(()=>{const _0x16f788=_0x25d055,_0x3946cf=this[_0x16f788(0x2c0)][_0x16f788(0x3a6)]();return _0x3946cf?this[_0x16f788(0x3cc)][_0x16f788(0x2b1)](_0x3946cf['getUnitId']()):_0x44af89(null);}),_0x41e784(_0x32e903=>_0x32e903?_0x32e903[_0x25d055(0x3b3)]:_0x44af89(_0x371c48[_0x25d055(0x30e)])))[_0x25d055(0x227)](_0x1770fb=>{const _0x307a85=_0x25d055;this[_0x307a85(0x336)][_0x307a85(0x3ab)](_0x1770fb);}));}[_0x24c8f1(0x37e)](){const _0x2a9e0e=_0x24c8f1;this[_0x2a9e0e(0x1ee)](this[_0x2a9e0e(0x326)][_0x2a9e0e(0x277)](_0xc45b08[_0x2a9e0e(0x2a8)],()=>_0x589ad6(Ki({'status$':this[_0x2a9e0e(0x336)][_0x2a9e0e(0x39c)]()}),this[_0x2a9e0e(0x2e8)])));}};te=Gi([Q(0x0,_0x476330),Q(0x1,_0x8a88d2(_0x589b5d)),Q(0x2,_0x8a88d2(_0x107053)),Q(0x3,_0x3ebd78)],te);function Ki(_0x24144c){const {status$:_0x5ad2b4}=_0x24144c;return function(){return _0x2e338a(Vi,{'status$':_0x5ad2b4});};}var zi=Object[_0x24c8f1(0x3e1)],Ji=(_0x38650b,_0xd9cca9,_0x33cf8a,_0x325e5f)=>{const _0x53288e=_0x24c8f1;for(var _0x950baa=_0x325e5f>0x1?void 0x0:_0x325e5f?zi(_0xd9cca9,_0x33cf8a):_0xd9cca9,_0x1a6562=_0x38650b[_0x53288e(0x268)]-0x1,_0x286f6a;_0x1a6562>=0x0;_0x1a6562--)(_0x286f6a=_0x38650b[_0x1a6562])&&(_0x950baa=_0x286f6a(_0x950baa)||_0x950baa);return _0x950baa;},B=(_0x25c603,_0x41b88b)=>(_0x2f02e3,_0x4a83e6)=>_0x41b88b(_0x2f02e3,_0x4a83e6,_0x25c603);let se=class extends _0x2a8588{constructor(_0x41e465,_0x167a0e,_0x217065,_0x45e534,_0x41ddd4,_0x1fb29b){const _0x39f105=_0x24c8f1;super(),this['_beforeCloseService']=_0x41e465,this[_0x39f105(0x369)]=_0x167a0e,this[_0x39f105(0x2db)]=_0x217065,this[_0x39f105(0x224)]=_0x45e534,this['_notificationService']=_0x41ddd4,this[_0x39f105(0x1f4)]=_0x1fb29b,this[_0x39f105(0x2c3)](),this['_initEvent']();}[_0x24c8f1(0x2c3)](){const _0x293212=_0x24c8f1;this[_0x293212(0x1ee)](this['_beforeCloseService'][_0x293212(0x338)](()=>{const _0x1bbcc7=_0x293212;if(this[_0x1bbcc7(0x369)][_0x1bbcc7(0x1fc)][_0x1bbcc7(0x3c6)])return this[_0x1bbcc7(0x1f4)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x24c8f1(0x31d)](){const _0x2fd106=_0x24c8f1;this['disposeWithMe'](this[_0x2fd106(0x2db)][_0x2fd106(0x355)]['subscribe'](_0x250ef5=>{const _0x58845d=_0x2fd106;_0x250ef5['id']===_0x401ac8['OTHER_CLIENT_EDITING']&&this[_0x58845d(0x224)][_0x58845d(0x29d)]({'type':_0x572f9f[_0x58845d(0x319)],'content':this[_0x58845d(0x1f4)]['t'](_0x58845d(0x294))}),_0x250ef5['id']===_0x401ac8['CLOSE_ROOM']&&this[_0x58845d(0x224)][_0x58845d(0x29d)]({'type':_0x572f9f[_0x58845d(0x319)],'content':this[_0x58845d(0x1f4)]['t'](_0x58845d(0x38c))}),_0x250ef5['id']===_0x401ac8[_0x58845d(0x2e3)]&&this[_0x58845d(0x37b)][_0x58845d(0x29d)]({'title':this['_localeService']['t'](_0x58845d(0x290)),'content':this[_0x58845d(0x1f4)]['t'](_0x58845d(0x33f)),'type':_0x58845d(0x344),'duration':0x0}),_0x250ef5['id']===_0x401ac8['CONFLICT']&&this[_0x58845d(0x224)][_0x58845d(0x29d)]({'type':_0x572f9f['Error'],'content':this[_0x58845d(0x1f4)]['t'](_0x58845d(0x38c))+'('+_0x250ef5[_0x58845d(0x2be)]+')'}),_0x250ef5['id']===_0x401ac8[_0x58845d(0x393)]&&this[_0x58845d(0x224)][_0x58845d(0x29d)]({'type':_0x572f9f['Warning'],'content':this[_0x58845d(0x1f4)]['t'](_0x250ef5['data']||'')}),_0x250ef5['id']===_0x401ac8[_0x58845d(0x33e)]&&this[_0x58845d(0x224)][_0x58845d(0x29d)]({'type':_0x572f9f[_0x58845d(0x319)],'content':this[_0x58845d(0x1f4)]['t'](_0x58845d(0x226))}),_0x250ef5['id']===_0x401ac8[_0x58845d(0x342)]&&this['_messageService']['show']({'type':_0x572f9f[_0x58845d(0x1f9)],'content':this[_0x58845d(0x1f4)]['t'](_0x58845d(0x2e1))}),_0x250ef5['id']===_0x401ac8[_0x58845d(0x311)]&&this[_0x58845d(0x224)][_0x58845d(0x29d)]({'type':_0x572f9f[_0x58845d(0x1f9)],'content':this['_localeService']['t'](_0x58845d(0x3a2))});}));}};se=Ji([B(0x0,_0x34d224),B(0x1,_0x3599ae),B(0x2,_0x8a88d2(_0x1991f9)),B(0x3,_0x2db5fd),B(0x4,_0x56a70e),B(0x5,_0x8a88d2(_0x542281))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x8bd7ae('uni.network.url-service');var Qi=Object[_0x24c8f1(0x3e1)],qi=(_0x223a35,_0x53c022,_0x24ec3a,_0xbd9c9f)=>{const _0x47fd73=_0x24c8f1;for(var _0x137448=_0xbd9c9f>0x1?void 0x0:_0xbd9c9f?Qi(_0x53c022,_0x24ec3a):_0x53c022,_0x28f00d=_0x223a35[_0x47fd73(0x268)]-0x1,_0x54d263;_0x28f00d>=0x0;_0x28f00d--)(_0x54d263=_0x223a35[_0x28f00d])&&(_0x137448=_0x54d263(_0x137448)||_0x137448);return _0x137448;},G=(_0x46f387,_0x1ee64e)=>(_0x1e08de,_0x4524a0)=>_0x1ee64e(_0x1e08de,_0x4524a0,_0x46f387);let ie=class extends _0x5300c6{constructor(_0x3cf29d,_0x233253,_0x5b6a05,_0x52aff3,_0x1b0b66){const _0x3c8b2c=_0x24c8f1;super(),this[_0x3c8b2c(0x21f)]=_0x3cf29d,this['_logService']=_0x233253,this[_0x3c8b2c(0x305)]=_0x5b6a05,this[_0x3c8b2c(0x218)]=_0x52aff3,_0x1b0b66?_0x1b0b66==null||_0x1b0b66['whenReady']()[_0x3c8b2c(0x2ee)](()=>this[_0x3c8b2c(0x3b2)]()):(this[_0x3c8b2c(0x2c8)][_0x3c8b2c(0x3f7)](_0x3c8b2c(0x382),_0x3c8b2c(0x38e)),this[_0x3c8b2c(0x3b2)]());}async[_0x24c8f1(0x3b2)](){const _0x12ada4=_0x24c8f1,_0xedd92b=this['_urlService'][_0x12ada4(0x392)](_0x12ada4(0x229)),_0x667bfc=this[_0x12ada4(0x21f)][_0x12ada4(0x392)]('type'),_0xbffc0=this[_0x12ada4(0x21f)][_0x12ada4(0x392)](_0x12ada4(0x2d3));if(!_0xedd92b||!_0x667bfc){this[_0x12ada4(0x2c8)][_0x12ada4(0x3f7)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x5177e2=await this[_0x12ada4(0x218)]['loadUnit'](_0xedd92b,Number(_0x667bfc),_0xbffc0);_0x5177e2&&_0x5177e2 instanceof _0x5e8abe&&this[_0x12ada4(0x2e4)](_0x5177e2);}async['_setupSubUnitSync'](_0x38a0df){const _0x2acff8=_0x24c8f1;await this['_updateSubUnitFromURLParams'](_0x38a0df),_0x38a0df[_0x2acff8(0x340)]['pipe'](_0x3eca63(this[_0x2acff8(0x363)]))[_0x2acff8(0x227)](_0x2fcc58=>{const _0x5b5e76=_0x2acff8;_0x2fcc58&&this[_0x5b5e76(0x33d)](_0x2fcc58);}),this[_0x2acff8(0x21f)]['urlChange$'][_0x2acff8(0x3db)](_0x3eca63(this[_0x2acff8(0x363)]))[_0x2acff8(0x227)](()=>this[_0x2acff8(0x3de)](_0x38a0df));}[_0x24c8f1(0x33d)](_0x1e7efc,_0x5d1a48=!0x1){const _0x3417dd=_0x24c8f1,_0x84fd73=this[_0x3417dd(0x21f)][_0x3417dd(0x392)](_0x3417dd(0x2d3));_0x1e7efc['getSheetId']()!==_0x84fd73&&this[_0x3417dd(0x21f)][_0x3417dd(0x2ae)](_0x3417dd(0x2d3),_0x1e7efc[_0x3417dd(0x22e)](),_0x5d1a48);}async[_0x24c8f1(0x3de)](_0x4e1a94){const _0x3182a8=_0x24c8f1;var _0x58d1eb;const _0xdb521a=this[_0x3182a8(0x21f)]['getParam'](_0x3182a8(0x2d3));if(!_0xdb521a||!_0x4e1a94[_0x3182a8(0x2ec)](_0xdb521a)){const _0x461174=_0x4e1a94[_0x3182a8(0x2a1)]()[0x0],_0x1cea66=_0x4e1a94[_0x3182a8(0x2ec)](_0x461174);if(!_0x1cea66)return;this[_0x3182a8(0x33d)](_0x1cea66,!0x0),await this[_0x3182a8(0x305)]['executeCommand'](_0x3f02cf['id'],{'unitId':_0x4e1a94[_0x3182a8(0x20f)](),'subUnitId':_0x461174});return;}((_0x58d1eb=_0x4e1a94[_0x3182a8(0x26e)]())==null?void 0x0:_0x58d1eb[_0x3182a8(0x22e)]())!==_0xdb521a&&await this[_0x3182a8(0x305)]['executeCommand'](_0x3f02cf['id'],{'unitId':_0x4e1a94[_0x3182a8(0x20f)](),'subUnitId':_0xdb521a});}};ie=qi([G(0x0,Ut),G(0x1,_0x48bcd0),G(0x2,_0x49494e),G(0x3,_0x8a88d2(_0x19e5bf)),G(0x4,_0x54e44a(_0x474023))],ie);var en=Object[_0x24c8f1(0x3e1)],tn=(_0x31be00,_0x48309d,_0x45cc36,_0x204b80)=>{const _0x23efcc=_0x24c8f1;for(var _0x17a351=_0x204b80>0x1?void 0x0:_0x204b80?en(_0x48309d,_0x45cc36):_0x48309d,_0x56fb3d=_0x31be00[_0x23efcc(0x268)]-0x1,_0x18ab7f;_0x56fb3d>=0x0;_0x56fb3d--)(_0x18ab7f=_0x31be00[_0x56fb3d])&&(_0x17a351=_0x18ab7f(_0x17a351)||_0x17a351);return _0x17a351;},pe=(_0x4f921a,_0x16c570)=>(_0x54853b,_0x1b0f48)=>_0x16c570(_0x54853b,_0x1b0f48,_0x4f921a);let ne=class{constructor(_0x2cfc99,_0xd2867d,_0x64de57){const _0x58c1db=_0x24c8f1;this[_0x58c1db(0x2e8)]=_0x2cfc99,this[_0x58c1db(0x3bd)]=_0xd2867d,this[_0x58c1db(0x35e)]=_0x64de57;}[_0x24c8f1(0x2ce)](_0x565f40){const _0x3b93db=_0x24c8f1;this[_0x3b93db(0x3ef)](_0x565f40),this[_0x3b93db(0x2af)](_0x565f40);}[_0x24c8f1(0x232)](_0x334202){const _0x2eedca=_0x24c8f1,{unitID:_0x141c2a}=_0x334202,_0x3c9a70=this[_0x2eedca(0x35e)][_0x2eedca(0x240)](_0x141c2a)[_0x2eedca(0x2b5)](_0x3be206),{redoCache:_0x583f7f}=_0x3c9a70[_0x2eedca(0x1ea)]();if(_0x583f7f[_0x2eedca(0x268)]===0x0)return _0x334202;let _0xfbb0e7=_0x1062ac[_0x2eedca(0x35b)](_0x334202[_0x2eedca(0x28b)][0x0]);for(let _0x39ce7e=0x0;_0x39ce7e<_0x583f7f[_0x2eedca(0x268)];_0x39ce7e++){const _0x56b945={'id':_0x2eedca(0x222),'params':{..._0x583f7f[_0x39ce7e]}},_0x31621c=this[_0x2eedca(0x3bd)]['transformMutation'](_0xfbb0e7,_0x56b945,!0x1);if(_0x24aeba(_0x31621c))throw _0x31621c[_0x2eedca(0x344)];_0xfbb0e7=_0x31621c[_0x2eedca(0x321)];}return{..._0x1062ac[_0x2eedca(0x35b)](_0x334202),'mutations':[_0xfbb0e7]};}[_0x24c8f1(0x3ef)](_0x1e4d47){const _0x2077c7=_0x24c8f1,{unitID:_0x1951e6}=_0x1e4d47,_0x45f7ec=this[_0x2077c7(0x35e)][_0x2077c7(0x240)](_0x1951e6)[_0x2077c7(0x2b5)](_0x3be206),{undoCache:_0x41cbfe,redoCache:_0x33ecc4}=_0x45f7ec['getUndoRedoMutationParamsCache']();if(_0x41cbfe[_0x2077c7(0x268)]===0x0||_0x33ecc4[_0x2077c7(0x268)]===0x0)return;const _0x1bf7f8=[],_0x585dae=[];let _0x220c2a=_0x1062ac['deepClone'](_0x1e4d47[_0x2077c7(0x28b)][0x0]),_0x73335d=_0x1062ac[_0x2077c7(0x35b)](_0x1e4d47['mutations'][0x0]);for(let _0x4c4852=_0x41cbfe['length']-0x1;_0x4c4852>=0x0;_0x4c4852--){const _0x4efa8e={'id':_0x2077c7(0x222),'params':{..._0x41cbfe[_0x4c4852]}},_0x25d7ae={'id':_0x2077c7(0x222),'params':{..._0x33ecc4[_0x4c4852]}},_0x45d7d5=this[_0x2077c7(0x3bd)]['transformMutation'](_0x220c2a,_0x4efa8e,!0x1),_0x239406=this[_0x2077c7(0x3bd)]['transformMutation'](_0x73335d,_0x25d7ae,!0x1);if(_0x24aeba(_0x45d7d5))throw _0x45d7d5['error'];if(_0x24aeba(_0x239406))throw _0x239406['error'];_0x1bf7f8[_0x2077c7(0x29a)](_0x45d7d5['m2Prime'][_0x2077c7(0x3df)]),_0x585dae[_0x2077c7(0x29a)](_0x239406[_0x2077c7(0x231)]['params']),_0x220c2a=_0x45d7d5[_0x2077c7(0x321)],_0x73335d=_0x239406[_0x2077c7(0x321)];}_0x45f7ec[_0x2077c7(0x281)]({'undoCache':_0x1bf7f8,'redoCache':_0x585dae});}[_0x24c8f1(0x2af)](_0x598db9){const _0x1314ac=_0x24c8f1,{unitID:_0x4ece50}=_0x598db9,_0xca339b=this['_renderManagerService']['getRenderById'](_0x4ece50)[_0x1314ac(0x2b5)](_0x3be206),_0x46c53f=_0xca339b[_0x1314ac(0x352)]();if(_0x46c53f==null)return;const _0x240282=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x598db9[_0x1314ac(0x3f0)],'actions':null,'textRanges':[_0x46c53f]}}],_0x2d3a92=this[_0x1314ac(0x3bd)][_0x1314ac(0x3a1)](_0x598db9,_0x240282);if(!_0xe6f62(_0x2d3a92))throw _0x2d3a92[_0x1314ac(0x344)];const _0x46dcdc=_0x2d3a92[_0x1314ac(0x231)][0x0][_0x1314ac(0x3df)][_0x1314ac(0x203)];Array['isArray'](_0x46dcdc)&&_0x46dcdc[_0x1314ac(0x268)]&&_0xca339b[_0x1314ac(0x3ba)](_0x46dcdc[0x0]);}};ne=tn([pe(0x0,_0x8a88d2(_0x589b5d)),pe(0x1,_0x2f5a82),pe(0x2,_0xffe82a)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x3bf0c8,_0x2eb1a9,_0x2d976e,_0x4649f8)=>{const _0x54884c=_0x24c8f1;for(var _0x50ef78=_0x4649f8>0x1?void 0x0:_0x4649f8?sn(_0x2eb1a9,_0x2d976e):_0x2eb1a9,_0x5801a0=_0x3bf0c8[_0x54884c(0x268)]-0x1,_0x1edb52;_0x5801a0>=0x0;_0x5801a0--)(_0x1edb52=_0x3bf0c8[_0x5801a0])&&(_0x50ef78=_0x1edb52(_0x50ef78)||_0x50ef78);return _0x50ef78;},Ce=(_0x25ef5a,_0x59253a)=>(_0xb83976,_0x35f6c6)=>_0x59253a(_0xb83976,_0x35f6c6,_0x25ef5a);let re=class{constructor(_0x4bf23b,_0x15a6af,_0x5d992a){const _0x175b7b=_0x24c8f1;this['_injector']=_0x4bf23b,this[_0x175b7b(0x3bd)]=_0x15a6af,this[_0x175b7b(0x2f7)]=_0x5d992a;}['transformStateCache'](_0x4c3b65){this['_transformHistoryAndStateStack'](_0x4c3b65);}[_0x24c8f1(0x232)](_0x3d98ee){const _0x174c78=_0x24c8f1,{unitID:_0x173308}=_0x3d98ee,{collaboration:_0x2dd661}=this[_0x174c78(0x2f7)][_0x174c78(0x3d1)](_0x173308);if(_0x2dd661[_0x174c78(0x268)]===0x0)return _0x3d98ee;let _0x55aefd=_0x1062ac[_0x174c78(0x35b)](_0x3d98ee[_0x174c78(0x28b)][0x0]);for(let _0x235233=0x0;_0x235233<_0x2dd661[_0x174c78(0x268)];_0x235233++){const _0x1f61f7={'id':_0x174c78(0x222),'params':{'unitId':_0x2dd661[_0x235233][_0x174c78(0x2b7)],..._0x2dd661[_0x235233][_0x174c78(0x367)]}},_0x3e96b2=this['_transformService'][_0x174c78(0x3b4)](_0x55aefd,_0x1f61f7,!0x1);if(_0x24aeba(_0x3e96b2))throw _0x3e96b2['error'];_0x55aefd=_0x3e96b2[_0x174c78(0x321)];}return{..._0x1062ac[_0x174c78(0x35b)](_0x3d98ee),'mutations':[_0x55aefd]};}[_0x24c8f1(0x225)](_0x4a28d9){const _0x3eece1=_0x24c8f1,{unitID:_0x538980}=_0x4a28d9,{history:_0x2ab59d,collaboration:_0x515469}=this[_0x3eece1(0x2f7)]['getStateCache'](_0x538980);if(_0x2ab59d[_0x3eece1(0x268)]===0x0&&_0x515469[_0x3eece1(0x268)]===0x0)return;const _0x212acf=[],_0x2dfa88=[];let _0x5c8051=_0x1062ac[_0x3eece1(0x35b)](_0x4a28d9[_0x3eece1(0x28b)][0x0]),_0x130558=_0x1062ac[_0x3eece1(0x35b)](_0x4a28d9[_0x3eece1(0x28b)][0x0]);for(let _0x2dfdfa=_0x2ab59d[_0x3eece1(0x268)]-0x1;_0x2dfdfa>=0x0;_0x2dfdfa--){const _0x14ce16={'id':_0x3eece1(0x222),'params':{'unitId':_0x2ab59d[_0x2dfdfa][_0x3eece1(0x2b7)],..._0x2ab59d[_0x2dfdfa][_0x3eece1(0x384)]}},_0x199fe3={'id':_0x3eece1(0x222),'params':{'unitId':_0x2ab59d[_0x2dfdfa][_0x3eece1(0x2b7)],..._0x2ab59d[_0x2dfdfa]['redoState']}},_0x25d76c=this['_transformService']['transformMutation'](_0x5c8051,_0x14ce16,!0x1),_0x5ce330=this[_0x3eece1(0x3bd)][_0x3eece1(0x3b4)](_0x130558,_0x199fe3,!0x1);if(_0x24aeba(_0x25d76c))throw _0x25d76c[_0x3eece1(0x344)];if(_0x24aeba(_0x5ce330))throw _0x5ce330[_0x3eece1(0x344)];_0x212acf[_0x3eece1(0x29a)]({..._0x2ab59d[_0x2dfdfa],'undoState':_0x25d76c['m2Prime']['params'],'redoState':_0x5ce330[_0x3eece1(0x231)][_0x3eece1(0x3df)]}),_0x5c8051=_0x25d76c[_0x3eece1(0x321)],_0x130558=_0x5ce330['m1Prime'];}_0x5c8051=_0x1062ac[_0x3eece1(0x35b)](_0x4a28d9[_0x3eece1(0x28b)][0x0]),_0x130558=_0x1062ac[_0x3eece1(0x35b)](_0x4a28d9[_0x3eece1(0x28b)][0x0]);for(let _0x16c3d6=_0x515469[_0x3eece1(0x268)]-0x1;_0x16c3d6>=0x0;_0x16c3d6--){const _0x284102={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x515469[_0x16c3d6][_0x3eece1(0x2b7)],..._0x515469[_0x16c3d6]['undoState']}},_0xe72bfd={'id':_0x3eece1(0x222),'params':{'unitId':_0x515469[_0x16c3d6][_0x3eece1(0x2b7)],..._0x515469[_0x16c3d6][_0x3eece1(0x367)]}},_0x210b2a=this['_transformService'][_0x3eece1(0x3b4)](_0x5c8051,_0x284102,!0x1),_0x52956c=this[_0x3eece1(0x3bd)][_0x3eece1(0x3b4)](_0x130558,_0xe72bfd,!0x1);if(_0x24aeba(_0x210b2a))throw _0x210b2a[_0x3eece1(0x344)];if(_0x24aeba(_0x52956c))throw _0x52956c[_0x3eece1(0x344)];_0x2dfa88[_0x3eece1(0x29a)]({..._0x515469[_0x16c3d6],'undoState':_0x210b2a[_0x3eece1(0x231)][_0x3eece1(0x3df)],'redoState':_0x52956c[_0x3eece1(0x231)][_0x3eece1(0x3df)]}),_0x5c8051=_0x210b2a[_0x3eece1(0x321)],_0x130558=_0x52956c['m1Prime'];}this[_0x3eece1(0x2f7)]['setStateCache'](_0x538980,{'history':_0x212acf,'collaboration':_0x2dfa88});}};re=nn([Ce(0x0,_0x8a88d2(_0x589b5d)),Ce(0x1,_0x2f5a82),Ce(0x2,_0x8a88d2(_0x4e5926))],re);var rn=Object[_0x24c8f1(0x3e1)],on=(_0x19b9b0,_0x13bb40,_0x33ecd6,_0x1d5c45)=>{for(var _0x4b2591=_0x1d5c45>0x1?void 0x0:_0x1d5c45?rn(_0x13bb40,_0x33ecd6):_0x13bb40,_0x484f41=_0x19b9b0['length']-0x1,_0x2cfb32;_0x484f41>=0x0;_0x484f41--)(_0x2cfb32=_0x19b9b0[_0x484f41])&&(_0x4b2591=_0x2cfb32(_0x4b2591)||_0x4b2591);return _0x4b2591;},tt=(_0x252fb5,_0x387840)=>(_0x45b978,_0x2f6961)=>_0x387840(_0x45b978,_0x2f6961,_0x252fb5);let oe=class{constructor(_0x242dac,_0xc1ea5){const _0x4e23d7=_0x24c8f1;this[_0x4e23d7(0x2e8)]=_0x242dac,this[_0x4e23d7(0x3bd)]=_0xc1ea5;}[_0x24c8f1(0x228)](_0x2b27ed){const _0x310173=_0x24c8f1;var _0x2faef0;const _0x526213=this['_injector']['get'](_0x7df925),_0x3c2896=(_0x2faef0=_0x526213[_0x310173(0x3af)]())!=null?_0x2faef0:[];if(_0x3c2896['length']===0x0)return;const _0x3ea2ea=_0x2b27ed[_0x310173(0x3f0)],_0x4143f6=[{'id':_0x310173(0x222),'params':{'unitId':_0x3ea2ea,'actions':null,'textRanges':_0x3c2896}}],_0x1730cf=this[_0x310173(0x3bd)][_0x310173(0x3a1)](_0x2b27ed,_0x4143f6);if(!_0xe6f62(_0x1730cf))throw _0x1730cf[_0x310173(0x344)];const _0x5a872f=_0x1730cf[_0x310173(0x231)][0x0][_0x310173(0x3df)]['textRanges'];Array[_0x310173(0x2f4)](_0x5a872f)&&_0x5a872f['length']&&_0x526213[_0x310173(0x32e)](_0x5a872f,{'unitId':_0x3ea2ea,'subUnitId':_0x3ea2ea},!0x1);}};oe=on([tt(0x0,_0x8a88d2(_0x589b5d)),tt(0x1,_0x2f5a82)],oe);var an=Object[_0x24c8f1(0x3e1)],cn=(_0x2be476,_0x40d4f0,_0x544212,_0x549dfd)=>{for(var _0x5ed6ff=_0x549dfd>0x1?void 0x0:_0x549dfd?an(_0x40d4f0,_0x544212):_0x40d4f0,_0x787352=_0x2be476['length']-0x1,_0x32398f;_0x787352>=0x0;_0x787352--)(_0x32398f=_0x2be476[_0x787352])&&(_0x5ed6ff=_0x32398f(_0x5ed6ff)||_0x5ed6ff);return _0x5ed6ff;},U=(_0x140055,_0x44b196)=>(_0x4d1f64,_0x25cf5e)=>_0x44b196(_0x4d1f64,_0x25cf5e,_0x140055);let ae=class extends _0x2a8588{constructor(_0x53691d,_0x165f02,_0xf5d810,_0x2948b5,_0xe86cf2,_0x38a9b0,_0x1afa85,_0x229ae6){const _0x3472dd=_0x24c8f1;super(),_(this,_0x3472dd(0x336),new _0x4305c6(_0x371c48[_0x3472dd(0x30e)])),(this[_0x3472dd(0x2f7)]=_0x53691d,this[_0x3472dd(0x3cc)]=_0x165f02,this['_docTransformIMECacheService']=_0xf5d810,this[_0x3472dd(0x30f)]=_0x2948b5,this[_0x3472dd(0x318)]=_0xe86cf2,this['_docSyncEditingCollabCursorService']=_0x38a9b0,this['_messageService']=_0x1afa85,this[_0x3472dd(0x1f4)]=_0x229ae6,this[_0x3472dd(0x250)]());}[_0x24c8f1(0x250)](){const _0x5af9d7=_0x24c8f1;this[_0x5af9d7(0x1ee)](this[_0x5af9d7(0x3cc)][_0x5af9d7(0x3e3)]['subscribe'](_0x2e6e0e=>{const _0x3c253b=_0x5af9d7,_0x3ad8bf=this[_0x3c253b(0x2f7)][_0x3c253b(0x23c)][_0x3c253b(0x227)](_0x49182f=>{const _0x55b1e0=_0x3c253b;if(_0x49182f==null)return;const {unitId:_0x2f3f7a,redoState:_0x2e3d01,commandId:_0x135dd4}=_0x49182f;if(_0x2f3f7a!==_0x2e6e0e[_0x55b1e0(0x3f0)])return;const _0x1a3144={'id':_0x135dd4,'type':_0x196408[_0x55b1e0(0x39b)],'params':{'unitId':_0x2f3f7a,'actions':_0x2e3d01[_0x55b1e0(0x3d3)],'textRanges':null}};_0x2e6e0e[_0x55b1e0(0x2e6)](_0x1a3144);});if(_0x2e6e0e[_0x3c253b(0x1ee)](_0x3ad8bf),_0x2e6e0e instanceof _0x277af0){const _0x5c3a24={'onTransformIME':_0x15451c=>this[_0x3c253b(0x2bb)][_0x3c253b(0x2ce)](_0x15451c),'onTransformState':_0x416537=>this[_0x3c253b(0x30f)][_0x3c253b(0x27f)](_0x416537),'onTransformSelections':_0xcbbabe=>this[_0x3c253b(0x318)]['transformSelections'](_0xcbbabe),'onSyncEditingCollabCursor':_0x7846d8=>this[_0x3c253b(0x2c5)][_0x3c253b(0x21d)](_0x7846d8),'onTransformRemoteChangesetByIMECache':_0x6dfd28=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x6dfd28),'onTransformRemoteChangesetByStateCache':_0x5bb994=>this[_0x3c253b(0x30f)][_0x3c253b(0x232)](_0x5bb994)};_0x2e6e0e['addHandlerCallback'](_0x5c3a24);}}));}};ae=cn([U(0x0,_0x8a88d2(_0x4e5926)),U(0x1,_0x8a88d2(_0x107053)),U(0x2,_0x8a88d2(ne)),U(0x3,_0x8a88d2(re)),U(0x4,_0x8a88d2(oe)),U(0x5,_0x8a88d2(He)),U(0x6,_0x2db5fd),U(0x7,_0x8a88d2(_0x542281))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x3d2d6b,_0x105d3a,_0x502ac9,_0x2a1de0)=>{const _0x325e89=_0x24c8f1;for(var _0x4f8445=_0x2a1de0>0x1?void 0x0:_0x2a1de0?ln(_0x105d3a,_0x502ac9):_0x105d3a,_0x4b80e5=_0x3d2d6b[_0x325e89(0x268)]-0x1,_0x29de73;_0x4b80e5>=0x0;_0x4b80e5--)(_0x29de73=_0x3d2d6b[_0x4b80e5])&&(_0x4f8445=_0x29de73(_0x4f8445)||_0x4f8445);return _0x4f8445;},Ee=(_0x5c9a66,_0x9d9188)=>(_0x9f439a,_0x24e3f9)=>_0x9d9188(_0x9f439a,_0x24e3f9,_0x5c9a66);let Le=class extends _0x2a8588{constructor(_0x548309,_0x5ac1ad,_0x4b8428){const _0x1c7f8=_0x24c8f1;super(),_(this,_0x1c7f8(0x20d),new Map()),_(this,_0x1c7f8(0x3ec),new Map()),_(this,'_disabled',!0x1),(this['_configService']=_0x548309,this[_0x1c7f8(0x343)]=_0x5ac1ad,this['_revisionService']=_0x4b8428);}[_0x24c8f1(0x21e)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x184dc3=_0x24c8f1;this[_0x184dc3(0x39a)]=!0x1;}get[_0x24c8f1(0x1fc)](){return this['_saveTaskMap'];}['dispose'](){const _0x12ac59=_0x24c8f1;this[_0x12ac59(0x334)]()['then'](()=>super[_0x12ac59(0x39f)]());}async[_0x24c8f1(0x295)](_0x2bdfbb){const _0x312e89=_0x24c8f1;return this[_0x312e89(0x39a)]?null:this['_localStorageService']['getItem'](_0x5e7e6b(_0x2bdfbb));}async[_0x24c8f1(0x3e2)](_0xde5d2f,_0x18f633){return!!this['_localStorageService']['setItem'](_0xde5d2f,_0x18f633);}[_0x24c8f1(0x205)](_0xfc2f10,_0x1777b7,_0x2917a7,_0x1890fc){const _0x537f5a=_0x24c8f1,_0x33b856=this[_0x537f5a(0x20c)][_0x537f5a(0x347)](_0xfc2f10);this[_0x537f5a(0x20d)]['set'](_0xfc2f10,{'unitID':_0xfc2f10,'type':_0x1777b7,'awaitingChangeset':_0x2917a7,'mutations':_0x1890fc,'rev':_0x33b856}),this[_0x537f5a(0x3ec)][_0x537f5a(0x380)](_0xfc2f10)||this['_scheduleSaving'](_0xfc2f10);}[_0x24c8f1(0x2ba)](_0x5c5ef5){const _0x25cbe1=_0x24c8f1,_0x388063=this[_0x25cbe1(0x24f)]();_0x388063===0x0?this[_0x25cbe1(0x269)](_0x5c5ef5):this['_saveTaskMap'][_0x25cbe1(0x2e5)](_0x5c5ef5,setTimeout(()=>this['_saveCache'](_0x5c5ef5),_0x388063));}[_0x24c8f1(0x24f)](){const _0x4d0eea=_0x24c8f1;var _0x1fa666;return(_0x1fa666=this[_0x4d0eea(0x29b)][_0x4d0eea(0x3da)](_0x1e8fc9))!=null?_0x1fa666:_0x35010f;}[_0x24c8f1(0x269)](_0x37102f){const _0x235b0d=_0x24c8f1,_0x3a0220=this[_0x235b0d(0x3ec)][_0x235b0d(0x267)](_0x37102f);return _0x3a0220!==void 0x0&&window[_0x235b0d(0x3a8)](_0x3a0220),this[_0x235b0d(0x343)]['setItem'](_0x5e7e6b(_0x37102f),this['_cachedData'][_0x235b0d(0x267)](_0x37102f))[_0x235b0d(0x2ee)](()=>this[_0x235b0d(0x3ec)]['delete'](_0x37102f));}async[_0x24c8f1(0x334)](){const _0x3667b1=_0x24c8f1,_0x51e8b1=[];this[_0x3667b1(0x3ec)][_0x3667b1(0x304)]((_0x3f4a93,_0x1a4a97)=>{const _0x51db76=_0x3667b1;window[_0x51db76(0x3a8)](_0x3f4a93),_0x51e8b1[_0x51db76(0x390)](this['_saveCache'](_0x1a4a97)[_0x51db76(0x2ee)](()=>{const _0x27628e=_0x51db76;this['_saveTaskMap'][_0x27628e(0x234)](_0x1a4a97);}));}),await Promise['all'](_0x51e8b1);}};Le=_n([Ee(0x0,_0x372ab5),Ee(0x1,_0x4217b4),Ee(0x2,_0x8a88d2(_0x20a5ba))],Le);class hn extends _0x5300c6{constructor(){const _0x53ff2c=_0x24c8f1;super(),_(this,'urlChange$'),this['urlChange$']=_0x2d1bb9(window,_0x53ff2c(0x2a9))[_0x53ff2c(0x3db)](_0x3eca63(this[_0x53ff2c(0x363)]),_0x1dec65(0x1),_0x361845(void 0x0));}[_0x24c8f1(0x2ae)](_0xbab13a,_0xc6c7a8,_0x3aa78c=!0x1){const _0x1b8293=_0x24c8f1,_0x4b8f7c=new URL(window[_0x1b8293(0x1ec)][_0x1b8293(0x348)]);_0x4b8f7c[_0x1b8293(0x2e9)][_0x1b8293(0x2e5)](_0xbab13a,_0xc6c7a8),_0x3aa78c?window['history']['replaceState']('','',_0x4b8f7c[_0x1b8293(0x316)]()):window[_0x1b8293(0x23b)][_0x1b8293(0x34f)]('','',_0x4b8f7c[_0x1b8293(0x316)]());}[_0x24c8f1(0x2a2)](_0xd42a3b,_0x167c69=!0x1){const _0x59da4f=_0x24c8f1,_0x37cdea=new URL(window[_0x59da4f(0x1ec)][_0x59da4f(0x348)]);_0x37cdea['searchParams'][_0x59da4f(0x234)](_0xd42a3b),_0x167c69?window[_0x59da4f(0x23b)][_0x59da4f(0x265)]('','',_0x37cdea[_0x59da4f(0x316)]()):window[_0x59da4f(0x23b)][_0x59da4f(0x34f)]('','',_0x37cdea['toString']());}[_0x24c8f1(0x392)](_0x391764){const _0x430eb7=_0x24c8f1;var _0x245b09;return(_0x245b09=new URL(window[_0x430eb7(0x1ec)][_0x430eb7(0x348)])[_0x430eb7(0x2e9)]['get'](_0x391764))!=null?_0x245b09:void 0x0;}}var un=Object[_0x24c8f1(0x246)],dn=Object[_0x24c8f1(0x3e1)],fn=(_0x12d430,_0x4a227c,_0xbbff86)=>_0x4a227c in _0x12d430?un(_0x12d430,_0x4a227c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbbff86}):_0x12d430[_0x4a227c]=_0xbbff86,Sn=(_0x5329b5,_0x5ce3a3,_0x3e1f27,_0x507993)=>{for(var _0x36f470=_0x507993>0x1?void 0x0:_0x507993?dn(_0x5ce3a3,_0x3e1f27):_0x5ce3a3,_0x324f8d=_0x5329b5['length']-0x1,_0x25f5de;_0x324f8d>=0x0;_0x324f8d--)(_0x25f5de=_0x5329b5[_0x324f8d])&&(_0x36f470=_0x25f5de(_0x36f470)||_0x36f470);return _0x36f470;},Oe=(_0x5cc7a4,_0x2c992b)=>(_0x4e4d16,_0xfcd4bb)=>_0x2c992b(_0x4e4d16,_0xfcd4bb,_0x5cc7a4),mn=(_0x59c1d8,_0x401866,_0x5ab038)=>fn(_0x59c1d8,_0x401866+'',_0x5ab038);const In=_0x24c8f1(0x323);let Ae=class extends _0x78352{constructor(_0x38beb5=et,_0x3b6e3b,_0x32b472,_0xae8f9e){const _0x3b14d9=_0x24c8f1;super(),this[_0x3b14d9(0x2cc)]=_0x38beb5,this[_0x3b14d9(0x35e)]=_0x3b6e3b,this['_injector']=_0x32b472,this['_configService']=_0xae8f9e;const {..._0x423cfb}=_0x2a84d7({},et,this[_0x3b14d9(0x2cc)]);this[_0x3b14d9(0x29b)][_0x3b14d9(0x286)](Zi,_0x423cfb);}[_0x24c8f1(0x208)](){const _0x2e25dd=_0x24c8f1;this[_0x2e25dd(0x341)](),this[_0x2e25dd(0x230)]();}[_0x24c8f1(0x245)](){const _0x30966a=_0x24c8f1;this[_0x30966a(0x272)]();}[_0x24c8f1(0x341)](){const _0x248810=_0x24c8f1;var _0x37a138;const _0x4a2e28=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x286d4a,{'useClass':_0x2080ce}],[_0x3599ae,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x464524(this[_0x248810(0x2e8)],_0x207744(_0x4a2e28,(_0x37a138=this[_0x248810(0x2cc)])==null?void 0x0:_0x37a138[_0x248810(0x2ac)]));}[_0x24c8f1(0x272)](){const _0x199839=_0x24c8f1;this[_0x199839(0x1ee)](this[_0x199839(0x35e)]['registerRenderModule'](_0x206590[_0x199839(0x325)],[we])),this[_0x199839(0x1ee)](this[_0x199839(0x35e)]['registerRenderModule'](_0x206590['UNIVER_SHEET'],[Pe]));}[_0x24c8f1(0x230)](){_0x1a3f31(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',In),Ae=Sn([_0x38310e(_0x5e96d1),Oe(0x1,_0xffe82a),Oe(0x2,_0x8a88d2(_0x589b5d)),Oe(0x3,_0x372ab5)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x1aac91,_0x3f858c,_0x5913e6,_0x5f49c)=>{const _0x3d6c1a=_0x24c8f1;for(var _0x255f4a=_0x5f49c>0x1?void 0x0:_0x5f49c?gn(_0x3f858c,_0x5913e6):_0x3f858c,_0x811995=_0x1aac91[_0x3d6c1a(0x268)]-0x1,_0x35c6bc;_0x811995>=0x0;_0x811995--)(_0x35c6bc=_0x1aac91[_0x811995])&&(_0x255f4a=_0x35c6bc(_0x255f4a)||_0x255f4a);return _0x255f4a;},K=(_0x417221,_0x41df62)=>(_0x487837,_0x4e674a)=>_0x41df62(_0x487837,_0x4e674a,_0x417221);let st=class extends _0x3cda3f{constructor(_0x313f7e,_0x59f0df,_0x5861e3,_0x40ab63,_0x1be6c0){super(_0x313f7e,_0x59f0df,_0x5861e3,_0x40ab63,_0x1be6c0);}async[_0x24c8f1(0x308)](_0x37dbe1){const _0x4ed7e3=_0x24c8f1,_0x476554=await this[_0x4ed7e3(0x3dc)](),_0x5ac773=this[_0x4ed7e3(0x2d9)](_0x37dbe1,_0x476554);return this[_0x4ed7e3(0x244)](_0x5ac773);}['_createSocketURL'](_0x39ed7d,_0x39caef){const _0x6f5a0e=_0x24c8f1,_0x2d2567=typeof window>'u'?new URL(_0x39ed7d):new URL(_0x39ed7d,window['location'][_0x6f5a0e(0x27a)]);_0x2d2567[_0x6f5a0e(0x2e9)][_0x6f5a0e(0x2e5)](_0x6f5a0e(0x241),_0x39caef);const _0x2111ca=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x6f5a0e(0x1ec)][_0x6f5a0e(0x359)]);return _0x2111ca[_0x6f5a0e(0x267)](_0x6f5a0e(0x3a4))&&_0x2d2567[_0x6f5a0e(0x2e9)][_0x6f5a0e(0x2e5)](_0x6f5a0e(0x3a4),_0x2111ca[_0x6f5a0e(0x267)](_0x6f5a0e(0x3a4))),_0x2d2567[_0x6f5a0e(0x316)]();}async[_0x24c8f1(0x3dc)](){const _0x3b2bcb=_0x24c8f1;var _0x1e2a2a,_0x1e3e56,_0x2de84c;const _0x2702df=this['_configService']['getConfig'](_0x35cca0),_0x44d356=(_0x1e2a2a=_0x2702df==null?void 0x0:_0x2702df[_0x3b2bcb(0x23f)])!=null?_0x1e2a2a:_0x4b6aea;return(_0x2de84c=(_0x1e3e56=(await this[_0x3b2bcb(0x249)][_0x3b2bcb(0x267)](_0x44d356,{'headers':{'Content-Type':'application/json'}}))[_0x3b2bcb(0x3cb)])==null?void 0x0:_0x1e3e56[_0x3b2bcb(0x372)])!=null?_0x2de84c:'';}};st=vn([K(0x0,_0x8a88d2(_0x589b5d)),K(0x1,_0x8a88d2(_0x212bd3)),K(0x2,_0x372ab5),K(0x3,_0x48bcd0),K(0x4,_0x46a565)],st);const it=0x7530,nt=_0x24c8f1(0x23e);class jn extends _0x2a8588{constructor(){const _0x3c421f=_0x24c8f1;super(),_(this,'_id',_0x41d045()),_(this,_0x3c421f(0x3ca),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x3c421f(0x38f),null),_(this,_0x3c421f(0x35d),new Map()),_(this,_0x3c421f(0x3f1),new Map()),this[_0x3c421f(0x3b2)]();}[_0x24c8f1(0x39f)](){const _0x17c759=_0x24c8f1;super[_0x17c759(0x39f)](),this['_clearOtherTimers'][_0x17c759(0x304)]((_0x5154f6,_0x58312e)=>this['_removeClearOtherTimer'](_0x58312e)),this[_0x17c759(0x38f)]&&window[_0x17c759(0x2b6)](this['_heartbeatTimer']);}[_0x24c8f1(0x33c)](_0x4f2e07){const _0x179e0a=_0x24c8f1;return this[_0x179e0a(0x212)](_0x4f2e07)[_0x179e0a(0x3db)](_0x1d5687());}[_0x24c8f1(0x376)](_0x1e11ea){const _0x327f32=_0x24c8f1;this[_0x327f32(0x3ca)][_0x327f32(0x3c6)]===0x0&&this[_0x327f32(0x366)](),this[_0x327f32(0x3ca)][_0x327f32(0x2df)](_0x1e11ea),this[_0x327f32(0x2e7)]({'type':0x0,'memberID':this[_0x327f32(0x2f3)],'unitIDs':[_0x1e11ea],'isForwarded':!0x1});}[_0x24c8f1(0x2da)](_0x282923){const _0x3bb650=_0x24c8f1;this[_0x3bb650(0x3ca)][_0x3bb650(0x234)](_0x282923),this[_0x3bb650(0x3ca)][_0x3bb650(0x3c6)]===0x0&&this['_heartbeatTimer']&&window[_0x3bb650(0x2b6)](this[_0x3bb650(0x38f)]);}[_0x24c8f1(0x3b2)](){const _0x37e9ef=_0x24c8f1;this['disposeWithMe'](_0x39503f(_0x2d1bb9(window,_0x37e9ef(0x375))[_0x37e9ef(0x227)](_0x2c04d1=>{const _0x128dd7=_0x37e9ef;if(_0x2c04d1[_0x128dd7(0x1ff)]!==nt||!_0x2c04d1[_0x128dd7(0x1fe)])return;const _0x402fbb=JSON[_0x128dd7(0x2a0)](_0x2c04d1['newValue']);this['_handleEvent'](_0x402fbb);}))),window[_0x37e9ef(0x2eb)](_0x37e9ef(0x378),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x37e9ef(0x306)](this[_0x37e9ef(0x3ca)])}));}[_0x24c8f1(0x2f8)](_0x3617da){const _0x24e452=_0x24c8f1;switch(_0x3617da[_0x24e452(0x251)]){case 0x0:this[_0x24e452(0x3a3)](_0x3617da);break;case 0x1:this[_0x24e452(0x30d)](_0x3617da);break;case 0x2:this['_handleHeartbeatEvent'](_0x3617da);break;}}[_0x24c8f1(0x3a3)](_0x1a6732){const _0x444efb=_0x24c8f1,{unitIDs:_0x63069b,memberID:_0x13bc51,isForwarded:_0x1656d7}=_0x1a6732;_0x63069b['forEach'](_0x487e3d=>{const _0x4e2f40=_0x51d8;if(!_0x1656d7&&this['_unitOnClients'][_0x4e2f40(0x380)](_0x487e3d)&&this[_0x4e2f40(0x212)](_0x487e3d)[_0x4e2f40(0x3ab)](_0x194558[_0x4e2f40(0x2f5)]),!this[_0x4e2f40(0x331)]['has'](_0x487e3d)||!this[_0x4e2f40(0x331)][_0x4e2f40(0x267)](_0x487e3d)[_0x4e2f40(0x380)](_0x13bc51)){const _0x2df99b=this[_0x4e2f40(0x331)][_0x4e2f40(0x267)](_0x487e3d)||new Set();_0x2df99b['add'](_0x13bc51),this['_unitOnClients'][_0x4e2f40(0x2e5)](_0x487e3d,_0x2df99b),this[_0x4e2f40(0x3f5)](_0x13bc51);}}),_0x1656d7||this['_send']({'type':0x0,'memberID':this[_0x444efb(0x2f3)],'unitIDs':[...this[_0x444efb(0x3ca)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3050ab){this['_removeClearOtherTimer'](_0x3050ab);const _0x45afdb=window['setTimeout'](()=>{const _0x163d3b=_0x51d8;this['_unitOnClients'][_0x163d3b(0x304)](_0x421442=>{const _0x578783=_0x163d3b;_0x421442[_0x578783(0x234)](_0x3050ab);});},it*0x2);this['_clearOtherTimers']['set'](_0x3050ab,_0x45afdb);}[_0x24c8f1(0x28a)](_0x422c63){const _0x51038d=_0x24c8f1;if(this[_0x51038d(0x35d)][_0x51038d(0x380)](_0x422c63)){const _0x40c9dc=this[_0x51038d(0x35d)]['get'](_0x422c63);_0x40c9dc&&window[_0x51038d(0x3a8)](_0x40c9dc),this[_0x51038d(0x35d)][_0x51038d(0x2e5)](_0x422c63,null);}}[_0x24c8f1(0x30d)](_0xb3469b){const _0x415e05=_0x24c8f1,{memberID:_0x45dd00,unitIDs:_0xd8a032}=_0xb3469b;_0xd8a032[_0x415e05(0x304)](_0x5a2f1b=>{const _0x3efe10=_0x415e05;var _0x1ad932;const _0x554222=this[_0x3efe10(0x331)][_0x3efe10(0x267)](_0x5a2f1b);_0x554222&&(_0x554222[_0x3efe10(0x234)](_0x45dd00),(_0x1ad932=this[_0x3efe10(0x212)](_0x5a2f1b))==null||_0x1ad932[_0x3efe10(0x3ab)](_0x554222[_0x3efe10(0x3c6)]===0x0?_0x194558[_0x3efe10(0x2cb)]:_0x194558[_0x3efe10(0x2f5)]));}),this[_0x415e05(0x28a)](_0x45dd00);}[_0x24c8f1(0x24c)](_0x5a0828){this['_scheduleClearOtherTimer'](_0x5a0828['memberID']);}[_0x24c8f1(0x2e7)](_0x39b0bc){const _0xab4cd4=_0x24c8f1;localStorage[_0xab4cd4(0x29f)](nt,JSON['stringify'](_0x39b0bc));}['_scheduleHeartbeat'](){const _0x4eca2f=_0x24c8f1;this[_0x4eca2f(0x38f)]=window[_0x4eca2f(0x1f1)](()=>{const _0x580f76=_0x4eca2f;this[_0x580f76(0x2e7)]({'type':0x2,'memberID':this[_0x580f76(0x2f3)]});},it);}[_0x24c8f1(0x212)](_0xacb075){const _0x2f38f8=_0x24c8f1;return this['_unitStatus'][_0x2f38f8(0x380)](_0xacb075)||this[_0x2f38f8(0x3f1)]['set'](_0xacb075,new _0x4305c6(_0x194558['NO_OTHER_CLIENTS_EDITING'])),this[_0x2f38f8(0x3f1)][_0x2f38f8(0x267)](_0xacb075);}}var Mt=(_0x23e291=>(_0x23e291[_0x23e291[_0x24c8f1(0x3cd)]=0x0]=_0x24c8f1(0x3cd),_0x23e291[_0x23e291['OK']=0x1]='OK',_0x23e291[_0x23e291[_0x24c8f1(0x278)]=0x2]=_0x24c8f1(0x278),_0x23e291[_0x23e291[_0x24c8f1(0x2e3)]=0x3]='PERMISSION_DENIED',_0x23e291[_0x23e291[_0x24c8f1(0x2e2)]=0x4]='NOT_FOUND',_0x23e291[_0x23e291[_0x24c8f1(0x315)]=0x5]=_0x24c8f1(0x315),_0x23e291[_0x23e291['ALREADY_EXISTS']=0x6]=_0x24c8f1(0x254),_0x23e291[_0x23e291[_0x24c8f1(0x3c7)]=0x7]=_0x24c8f1(0x3c7),_0x23e291[_0x23e291['TOO_MANY_REQUESTS']=0x8]=_0x24c8f1(0x314),_0x23e291[_0x23e291['COMPLETION_FINISHED']=0x9]=_0x24c8f1(0x2aa),_0x23e291[_0x23e291[_0x24c8f1(0x288)]=0xa]=_0x24c8f1(0x288),_0x23e291[_0x23e291['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x24c8f1(0x1ed),_0x23e291[_0x23e291[_0x24c8f1(0x386)]=0x1771]=_0x24c8f1(0x386),_0x23e291[_0x23e291[_0x24c8f1(0x22d)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x23e291[_0x23e291[_0x24c8f1(0x3b8)]=0x1773]=_0x24c8f1(0x3b8),_0x23e291[_0x23e291[_0x24c8f1(0x3e4)]=0x1b59]=_0x24c8f1(0x3e4),_0x23e291[_0x23e291[_0x24c8f1(0x215)]=0x1b5a]=_0x24c8f1(0x215),_0x23e291[_0x23e291[_0x24c8f1(0x216)]=0x1b5b]=_0x24c8f1(0x216),_0x23e291[_0x23e291[_0x24c8f1(0x389)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x23e291[_0x23e291[_0x24c8f1(0x2bd)]=0x1b5d]='APPLY_DUPLICATED',_0x23e291[_0x23e291['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x23e291[_0x23e291['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x24c8f1(0x301),_0x23e291[_0x23e291[_0x24c8f1(0x391)]=0x232a]=_0x24c8f1(0x391),_0x23e291[_0x23e291[_0x24c8f1(0x28c)]=0x232b]=_0x24c8f1(0x28c),_0x23e291[_0x23e291[_0x24c8f1(0x3ed)]=0x232c]=_0x24c8f1(0x3ed),_0x23e291[_0x23e291[_0x24c8f1(0x2b0)]=0x232d]=_0x24c8f1(0x2b0),_0x23e291[_0x23e291[_0x24c8f1(0x320)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x23e291[_0x23e291[_0x24c8f1(0x2d2)]=0x2712]=_0x24c8f1(0x2d2),_0x23e291[_0x23e291[_0x24c8f1(0x3c2)]=0x2713]=_0x24c8f1(0x3c2),_0x23e291[_0x23e291['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x24c8f1(0x26c),_0x23e291[_0x23e291['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x24c8f1(0x3cf),_0x23e291[_0x23e291[_0x24c8f1(0x3d8)]=0x271b]=_0x24c8f1(0x3d8),_0x23e291[_0x23e291['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x24c8f1(0x236),_0x23e291[_0x23e291[_0x24c8f1(0x3dd)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x23e291[_0x23e291[_0x24c8f1(0x1fa)]=0x271e]=_0x24c8f1(0x1fa),_0x23e291[_0x23e291[_0x24c8f1(0x3b9)]=0x271f]=_0x24c8f1(0x3b9),_0x23e291[_0x23e291[_0x24c8f1(0x360)]=0x2af9]=_0x24c8f1(0x360),_0x23e291[_0x23e291[_0x24c8f1(0x385)]=0x2ee1]=_0x24c8f1(0x385),_0x23e291[_0x23e291[_0x24c8f1(0x2fe)]=0x2ee2]=_0x24c8f1(0x2fe),_0x23e291[_0x23e291[_0x24c8f1(0x3c1)]=0x2ee3]=_0x24c8f1(0x3c1),_0x23e291[_0x23e291[_0x24c8f1(0x204)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x23e291[_0x23e291[_0x24c8f1(0x312)]=0x2ee5]=_0x24c8f1(0x312),_0x23e291[_0x23e291[_0x24c8f1(0x1f0)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x23e291[_0x23e291[_0x24c8f1(0x2fd)]=0x32ca]=_0x24c8f1(0x2fd),_0x23e291[_0x23e291[_0x24c8f1(0x210)]=0x32cb]=_0x24c8f1(0x210),_0x23e291[_0x23e291[_0x24c8f1(0x31a)]=-0x1]='UNRECOGNIZED',_0x23e291))(Mt||{}),pn=Object[_0x24c8f1(0x3e1)],Cn=(_0x1634c4,_0x175121,_0x5bed3b,_0x2b0ca9)=>{const _0x3a6b67=_0x24c8f1;for(var _0x33dd5c=_0x2b0ca9>0x1?void 0x0:_0x2b0ca9?pn(_0x175121,_0x5bed3b):_0x175121,_0x512952=_0x1634c4[_0x3a6b67(0x268)]-0x1,_0x583521;_0x512952>=0x0;_0x512952--)(_0x583521=_0x1634c4[_0x512952])&&(_0x33dd5c=_0x583521(_0x33dd5c)||_0x33dd5c);return _0x33dd5c;},be=(_0x134c67,_0x38131a)=>(_0x121ff5,_0x5e08a6)=>_0x38131a(_0x121ff5,_0x5e08a6,_0x134c67);let rt=class extends _0x2a8588{constructor(_0x16bfc7,_0x285eca,_0xeb96f3){const _0x36c953=_0x24c8f1;super(),this['_instanceService']=_0x16bfc7,this[_0x36c953(0x249)]=_0x285eca,this[_0x36c953(0x29b)]=_0xeb96f3;}async[_0x24c8f1(0x309)](_0x4e2805,_0x4a8bc9,_0x182145,..._0x19a12f){const _0x56bd3d=_0x24c8f1;var _0x2dd082,_0xc4b583,_0x339dc5,_0x506bd6;const _0x5c1efb=this[_0x56bd3d(0x2d1)][_0x56bd3d(0x3a6)]();if(!_0x5c1efb)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x43a6be=((_0x2dd082=this[_0x56bd3d(0x29b)]['getConfig'](_0x53d621))!=null?_0x2dd082:_0xc0a4c7)+'/'+_0x4e2805+_0x56bd3d(0x33a)+_0x4a8bc9,_0x38ddf4=new URL(window[_0x56bd3d(0x1ec)][_0x56bd3d(0x348)]),_0x53d752={'scriptId':_0x4e2805,'runId':(_0xc4b583=_0x38ddf4[_0x56bd3d(0x2e9)]['get'](_0x56bd3d(0x3a4)))!=null?_0xc4b583:'','function':_0x4a8bc9,'unitId':_0x5c1efb[_0x56bd3d(0x20f)](),'argsOfFunction':JSON['stringify'](_0x19a12f),'invokeId':(_0x339dc5=_0x182145[_0x56bd3d(0x38d)])!=null?_0x339dc5:'','executionId':(_0x506bd6=_0x182145[_0x56bd3d(0x21c)])!=null?_0x506bd6:''};try{const _0x1c855a=await this[_0x56bd3d(0x249)][_0x56bd3d(0x394)](_0x43a6be,{'body':_0x53d752});return _0x1c855a['body'][_0x56bd3d(0x344)]&&_0x1c855a['body']['error'][_0x56bd3d(0x1fd)]!==Mt['OK']?_0x56bd3d(0x20b):_0x1c855a['body'][_0x56bd3d(0x3a5)];}catch{return _0x56bd3d(0x20b);}}};rt=Cn([be(0x0,_0x476330),be(0x1,_0x8a88d2(_0x212bd3)),be(0x2,_0x372ab5)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x34ed68=_0x3f61;(function(_0x530b85,_0x206c27){const _0x6d27e7=_0x3f61,_0x55fbca=_0x530b85();while(!![]){try{const _0x24dadd=-parseInt(_0x6d27e7(0x1d3))/0x1+-parseInt(_0x6d27e7(0x1c8))/0x2+parseInt(_0x6d27e7(0x399))/0x3*(-parseInt(_0x6d27e7(0x311))/0x4)+-parseInt(_0x6d27e7(0x2fc))/0x5+-parseInt(_0x6d27e7(0x372))/0x6+-parseInt(_0x6d27e7(0x213))/0x7*(parseInt(_0x6d27e7(0x3ad))/0x8)+parseInt(_0x6d27e7(0x201))/0x9;if(_0x24dadd===_0x206c27)break;else _0x55fbca['push'](_0x55fbca['shift']());}catch(_0x59baa1){_0x55fbca['push'](_0x55fbca['shift']());}}}(_0x3aff,0xf3de5));var $t=Object[_0x34ed68(0x3b6)],xt=(_0x356861,_0x5637e2,_0x450287)=>_0x5637e2 in _0x356861?$t(_0x356861,_0x5637e2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x450287}):_0x356861[_0x5637e2]=_0x450287,_=(_0xe44249,_0x15ac05,_0x12529f)=>xt(_0xe44249,typeof _0x15ac05!=_0x34ed68(0x1c5)?_0x15ac05+'':_0x15ac05,_0x12529f);import{MemberService as _0x511bc4,SessionStatus as _0x3356d6,CollaborationSessionService as _0x32a5b1,CollaborationStatus as _0x30563d,CollaborationController as _0x5a4ad7,ILocalCacheService as _0x4082ad,CollaborationUIEventService as _0x2f6d4b,CollaborationUIEventId as _0x298404,DataLoaderService as _0x3fb6d3,DocCollaborationEntity as _0x7aa0e1,getLocalCacheKey as _0x4e2dba,LOCAL_CACHE_INTERVAL as _0x4357ab,LOCAL_CACHE_INTERVAL_KEY as _0x1050d5,UniverCollaborationClientPlugin as _0xbeac30,CollaborationSocketService as _0x16eadb,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x73282a,DEFAULT_WS_SESSION_TICKET_URL as _0x41d0c0,UnitStatus as _0x1e770f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x7ef3e7,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x5409f9}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x357e51,Disposable as _0x466226,DOC_RANGE_TYPE as _0x29b674,Inject as _0x14dbb1,Injector as _0x254573,IUniverInstanceService as _0x7852ac,ICommandService as _0xf52f51,debounce as _0x29d2b0,Rectangle as _0x25c167,DisposableCollection as _0x59d886,toDisposable as _0xf63787,UniverInstanceType as _0x14c742,Tools as _0x1124dc,COLORS as _0x2b2234,ColorKit as _0x4d463a,ThemeService as _0x48ae9c,fromEventSubject as _0x4dba5e,LocaleService as _0x2c38b4,createIdentifier as _0x2d0a07,ILogService as _0x1d711d,Optional as _0x4c0cd6,Workbook as _0x14434d,CommandType as _0x21034a,IConfigService as _0x1b7196,ILocalStorageService as _0x3c16fd,DependentOn as _0x511b42,Plugin as _0x33eb34,merge as _0x2ac937,registerDependencies as _0x3e6c5b,mergeOverrideWithDependencies as _0x11f0f4,touchDependencies as _0x295860,generateRandomId as _0x7eb256}from'@univerjs/core';import{Shape as _0xb1dcef,Rect as _0x361494,getColor as _0x50621e,RegularPolygon as _0x370b12,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x370ab6,Vector2 as _0x3b2abe,SHEET_VIEWPORT_KEY as _0x5d12ac,IRenderManagerService as _0x341aca}from'@univerjs/engine-render';import{ISocketService as _0x4a6b10,WebSocketService as _0x21c824,HTTPService as _0x18f0fc}from'@univerjs/network';import{IDocClipboardService as _0x5998eb,NodePositionConvertToCursor as _0x4b3b50,NodePositionConvertToRectRange as _0x4139c0,TEXT_RANGE_LAYER_INDEX as _0x55754d,SetDocZoomRatioOperation as _0x51c23d,DocIMEInputManagerService as _0x26a869,DocStateChangeManagerService as _0x1a5179}from'@univerjs/docs-ui';import{IImageIoService as _0x2ca86b}from'@univerjs/drawing';import{BehaviorSubject as _0x521682,debounceTime as _0x58bc95,takeUntil as _0x52624f,Subject as _0x203e67,filter as _0x2c52fd,switchMap as _0x5077c3,merge as _0xbe31fa,combineLatest as _0x4ca38a,of as _0x212c6d,fromEvent as _0x476b58,shareReplay as _0x1e462d,mapTo as _0x570181,distinctUntilChanged as _0x218faf}from'rxjs';import{SetTextSelectionsOperation as _0x2924da,RichTextEditingMutation as _0x5e4498,DocSelectionManagerService as _0x5bf28a,DocSkeletonManagerService as _0x2bb693}from'@univerjs/docs';import{ITransformService as _0x492e54,CollaborationEvent as _0x460509,isTransformMutationFailure as _0xae92ad,isTransformMutationsWithChangesetSuccess as _0x500b59,RevisionService as _0x5c6617,ISnapshotServerService as _0x4db001}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x4a6307,serializeRangeWithSheet as _0x5982f5}from'@univerjs/engine-formula';import{RefRangeService as _0x249d2f,SetSelectionsOperation as _0x472c34,SheetsSelectionsService as _0x3e361d,EffectRefRangId as _0x85a259,handleIRemoveRow as _0xddadfb,handleIRemoveCol as _0x1fa6e5,handleMoveRange as _0x68c5f4,handleInsertRow as _0x26bfb3,handleInsertRangeMoveRight as _0x3c4557,handleInsertRangeMoveDown as _0x372d97,handleInsertCol as _0x381261,handleDeleteRangeMoveUp as _0x2f17a6,handleDeleteRangeMoveLeft as _0x28d3fa,runRefRangeMutations as _0x1bd779,SetWorksheetActivateCommand as _0x577d96}from'@univerjs/sheets';import{map as _0xb58826,filter as _0x3f8add,throttleTime as _0x398b3d,takeUntil as _0x44d3de,switchMap as _0x4c4506}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4d797a,getCoordByCell as _0x235103,getSheetObject as _0x30948f}from'@univerjs/sheets-ui';import{jsx as _0x546db3,jsxs as _0x39aa16}from'react/jsx-runtime';import{useObservable as _0x309a37,useDependency as _0x2f7d34,IUIPartsService as _0x3f86df,BuiltInUIPart as _0xb35168,connectInjector as _0x123d13,IBeforeCloseService as _0x5f527f,IMessageService as _0x561b1b,INotificationService as _0x521b77}from'@univerjs/ui';import{Tooltip as _0x1acaca,clsx as _0x596fff,MessageType as _0x5bf09c}from'@univerjs/design';import{forwardRef as _0x668588,useRef as _0x447bc7,createElement as _0x1bd3ff,useCallback as _0x132172}from'react';import{IRemoteInstanceService as _0x2791c9}from'@univerjs/rpc';var ci=Object[_0x34ed68(0x348)],li=(_0x4ed194,_0x260e91,_0x475d01,_0x448628)=>{const _0x380909=_0x34ed68;for(var _0xb57f55=_0x448628>0x1?void 0x0:_0x448628?ci(_0x260e91,_0x475d01):_0x260e91,_0x3eea0e=_0x4ed194[_0x380909(0x276)]-0x1,_0x318736;_0x3eea0e>=0x0;_0x3eea0e--)(_0x318736=_0x4ed194[_0x3eea0e])&&(_0xb57f55=_0x318736(_0xb57f55)||_0xb57f55);return _0xb57f55;},Je=(_0x48cdc9,_0x5117a8)=>(_0x237a30,_0x421068)=>_0x5117a8(_0x237a30,_0x421068,_0x48cdc9);let Ne=class extends _0x357e51{constructor(_0x8575df,_0x46e30d){const _0x18b0c2=_0x34ed68;super(),this[_0x18b0c2(0x2b2)]=_0x8575df,this[_0x18b0c2(0x31d)]=_0x46e30d,this['_init']();}[_0x34ed68(0x2d1)](){const _0x24b032=_0x34ed68,_0x51bb62=this;this[_0x24b032(0x33c)](this[_0x24b032(0x2b2)][_0x24b032(0x230)]({'onBeforePasteImage':async _0x1f964a=>{const _0x34b330=_0x24b032,_0x1997bb=await _0x51bb62[_0x34b330(0x31d)][_0x34b330(0x28c)](_0x1f964a);return _0x1997bb?{'source':_0x1997bb['source'],'imageSourceType':_0x1997bb[_0x34b330(0x2c0)]}:null;}}));}};Ne=li([Je(0x0,_0x5998eb),Je(0x1,_0x2ca86b)],Ne);const Ze=[_0x34ed68(0x3b5),_0x34ed68(0x219),_0x34ed68(0x1bd),_0x34ed68(0x292),_0x34ed68(0x25b),_0x34ed68(0x2db)];class ke extends _0x466226{constructor(){const _0x5660ed=_0x34ed68;super(...arguments),_(this,_0x5660ed(0x338),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x572fdb){const _0x115146=_0x34ed68;if(this[_0x115146(0x338)][_0x115146(0x2b4)](_0x572fdb))return this['_assignedColors'][_0x115146(0x374)](_0x572fdb);const _0x2dc5b3=Ze[this[_0x115146(0x3b4)]];return this[_0x115146(0x3b4)]=(this[_0x115146(0x3b4)]+0x1)%Ze[_0x115146(0x276)],this['_assignedColors'][_0x115146(0x22c)](_0x572fdb,_0x2dc5b3),_0x2dc5b3;}}function Tt(_0xb08751){const _0x268b83=_0x34ed68;let _0x3f3a03='';for(const _0x1f00a6 of _0xb08751){const {startOffset:_0x5e7c51,endOffset:_0x544120,isActive:_0x3ff252,rangeType:_0x5107eb,segmentId:_0x28e7d7,segmentPage:_0x364ae6}=_0x1f00a6;_0x3f3a03[_0x268b83(0x276)]&&(_0x3f3a03+=','),_0x3f3a03+=_0x5e7c51+':'+_0x544120+':'+(_0x3ff252?'1':'0')+':'+_0x5107eb+':'+_0x28e7d7+':'+_0x364ae6;}return _0x3f3a03;}function _i(_0x1ab905){const _0x169725=_0x34ed68,_0x31f836=_0x1ab905[_0x169725(0x23e)](','),_0x3889e9=[];for(const _0x281ccc of _0x31f836){const [_0x5010ca,_0x32f730,_0xab38ff,_0x25918f,_0x6dfb7c,_0x1fbb38]=_0x281ccc[_0x169725(0x23e)](':');_0x3889e9[_0x169725(0x2e8)]({'startOffset':Number(_0x5010ca),'endOffset':Number(_0x32f730),'collapsed':_0x5010ca===_0x32f730,'isActive':_0xab38ff==='1','rangeType':_0x25918f===_0x29b674['TEXT']?_0x29b674[_0x169725(0x36e)]:_0x29b674[_0x169725(0x1ef)],'segmentId':typeof _0x6dfb7c==_0x169725(0x3ba)?String(_0x6dfb7c):'','segmentPage':Number(_0x1fbb38!=null?_0x1fbb38:-0x1)});}return _0x3889e9[_0x169725(0x2b0)](_0x39ba78=>_0x39ba78['isActive'])||(_0x3889e9[0x0]['isActive']=!0x0),_0x3889e9;}class He extends _0x357e51{constructor(){const _0x269b6d=_0x34ed68;super(...arguments),_(this,_0x269b6d(0x20d),new _0x521682(null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x269b6d(0x39d)]());}['syncEditingCollabCursor'](_0x4151f4){const _0x10fef3=_0x34ed68,{unitID:_0x21f869,memberID:_0x323a52,textRanges:_0x52da97}=_0x4151f4,_0x47abbb=Tt(_0x52da97);if(_0x47abbb==='')return;const _0x1f45b6={'unitID':_0x21f869,'memberID':_0x323a52,'selection':_0x47abbb};this[_0x10fef3(0x20d)][_0x10fef3(0x203)](_0x1f45b6);}}var hi=Object[_0x34ed68(0x348)],ui=(_0x391c60,_0x534a81,_0x2c871e,_0x3bab0a)=>{const _0x5c96fa=_0x34ed68;for(var _0x3b4c51=_0x3bab0a>0x1?void 0x0:_0x3bab0a?hi(_0x534a81,_0x2c871e):_0x534a81,_0x13c92f=_0x391c60[_0x5c96fa(0x276)]-0x1,_0x479b26;_0x13c92f>=0x0;_0x13c92f--)(_0x479b26=_0x391c60[_0x13c92f])&&(_0x3b4c51=_0x479b26(_0x3b4c51)||_0x3b4c51);return _0x3b4c51;},P=(_0x4a19cb,_0x1ef2d8)=>(_0x3b0530,_0x1cacbd)=>_0x1ef2d8(_0x3b0530,_0x1cacbd,_0x4a19cb);const di=0x12c,fi=0x64;let Ue=class extends _0x357e51{constructor(_0x52a386,_0x5e2a82,_0x465b08,_0x91c265,_0x47425d,_0x5a213b,_0x39b0c7,_0x46e8a0,_0xe90a2a){const _0x54ea4e=_0x34ed68;super(),_(this,_0x54ea4e(0x28f),!0x1),_(this,'_init',!0x1),_(this,_0x54ea4e(0x29c),new _0x521682(new Map())),_(this,_0x54ea4e(0x1bc),this[_0x54ea4e(0x29c)][_0x54ea4e(0x39d)]()),_(this,'_roomMembers$',new _0x521682([])),_(this,_0x54ea4e(0x24e),this[_0x54ea4e(0x25a)]['pipe'](_0x58bc95(di))),_(this,'_updateLocalCursor',_0x29d2b0(_0x2a7715=>{const _0x208470=_0x54ea4e,_0x2b3f42={'eventID':_0x460509[_0x208470(0x354)],'data':{'unitID':this[_0x208470(0x2bb)],'memberID':this[_0x208470(0x331)][_0x208470(0x391)](),'selection':Tt(_0x2a7715)}};this[_0x208470(0x331)][_0x208470(0x1e7)](_0x2b3f42,this[_0x208470(0x2bb)]);},fi)),(this[_0x54ea4e(0x2bb)]=_0x52a386,this[_0x54ea4e(0x331)]=_0x5e2a82,this[_0x54ea4e(0x279)]=_0x465b08,this[_0x54ea4e(0x388)]=_0x91c265,this[_0x54ea4e(0x1c6)]=_0x47425d,this[_0x54ea4e(0x2a9)]=_0x5a213b,this[_0x54ea4e(0x2d6)]=_0x39b0c7,this['_univerInstanceService']=_0x46e8a0,this[_0x54ea4e(0x1eb)]=_0xe90a2a);}get[_0x34ed68(0x263)](){const _0x5e1b73=_0x34ed68;return this[_0x5e1b73(0x29c)][_0x5e1b73(0x235)]();}get[_0x34ed68(0x336)](){const _0x8bf68f=_0x34ed68;return this[_0x8bf68f(0x25a)]['getValue']();}[_0x34ed68(0x274)](){const _0x556b46=_0x34ed68;super[_0x556b46(0x274)](),this[_0x556b46(0x29c)]['next'](new Map()),this[_0x556b46(0x29c)][_0x556b46(0x1f4)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0x556b46(0x1f4)]();}[_0x34ed68(0x2d9)](){const _0x17eacd=_0x34ed68;this['_init']||(this[_0x17eacd(0x2d1)]=!0x0,this['_session'][_0x17eacd(0x2ef)][_0x17eacd(0x367)](_0x52624f(this['dispose$']))[_0x17eacd(0x319)](_0x5a5686=>{const _0x2a273a=_0x17eacd;_0x5a5686===_0x3356d6[_0x2a273a(0x250)]?this[_0x2a273a(0x1d6)]():this['_toggleOffline']();}),this[_0x17eacd(0x331)]['event$'][_0x17eacd(0x367)](_0x52624f(this[_0x17eacd(0x3a6)]))[_0x17eacd(0x319)](_0x2ca11b=>{const _0x43bd46=_0x17eacd,_0x55f582=_0x2ca11b[_0x43bd46(0x370)];_0x55f582===_0x460509[_0x43bd46(0x354)]&&this[_0x43bd46(0x1fd)](_0x2ca11b),_0x55f582===_0x460509[_0x43bd46(0x2c2)]&&this[_0x43bd46(0x21a)](_0x2ca11b);}),this[_0x17eacd(0x33c)](this[_0x17eacd(0x1eb)]['onCommandExecuted'](_0x1721d2=>{const _0x54706a=_0x17eacd,_0x2cb932=_0x1721d2[_0x54706a(0x1d2)];_0x2cb932!=null&&this[_0x54706a(0x28f)]&&_0x1721d2['id']===_0x2924da['id']&&_0x2cb932[_0x54706a(0x2b3)]===this[_0x54706a(0x2bb)]&&_0x2cb932[_0x54706a(0x37f)]===!0x1&&_0x2cb932[_0x54706a(0x393)][_0x54706a(0x276)]>0x0&&this[_0x54706a(0x1c2)](_0x2cb932['ranges']);})),this[_0x17eacd(0x2a9)]['collabCursorState$'][_0x17eacd(0x367)](_0x52624f(this[_0x17eacd(0x3a6)]))[_0x17eacd(0x319)](_0x5764e6=>{const _0x1a3f3b=_0x17eacd;if((_0x5764e6==null?void 0x0:_0x5764e6[_0x1a3f3b(0x2bb)])!==this[_0x1a3f3b(0x2bb)])return;const _0x3a8b36={'eventID':_0x460509[_0x1a3f3b(0x354)],'data':_0x5764e6};this[_0x1a3f3b(0x1fd)](_0x3a8b36);}),this[_0x17eacd(0x33c)](this[_0x17eacd(0x1eb)][_0x17eacd(0x2fb)](_0x26df33=>{const _0x9e6cb0=_0x17eacd;if(_0x26df33[_0x9e6cb0(0x1d2)]==null)return;const _0x2314cd=_0x26df33[_0x9e6cb0(0x1d2)];if(_0x26df33['id']!==_0x5e4498['id']||_0x2314cd[_0x9e6cb0(0x2b3)]!==this[_0x9e6cb0(0x2bb)])return;const _0x110c26={'id':_0x9e6cb0(0x346),'params':_0x2314cd},_0x37bc3a=this[_0x9e6cb0(0x263)];for(const [_0x4fd5b4,_0x37b52f]of _0x37bc3a){const _0x5d0f7b={'id':_0x9e6cb0(0x346),'params':{'unitId':this[_0x9e6cb0(0x2bb)],'actions':null,'textRanges':_0x37b52f[_0x9e6cb0(0x393)]}},_0x4101c2=this[_0x9e6cb0(0x2d6)]['transformMutation'](_0x110c26,_0x5d0f7b,!0x1);if(_0xae92ad(_0x4101c2))throw _0x4101c2[_0x9e6cb0(0x347)];_0x37bc3a['set'](_0x4fd5b4,{..._0x37b52f,'ranges':_0x4101c2[_0x9e6cb0(0x2dd)]['params'][_0x9e6cb0(0x36b)]});}queueMicrotask(()=>{const _0x2011aa=_0x9e6cb0;this[_0x2011aa(0x29c)][_0x2011aa(0x203)](_0x37bc3a);});})));}[_0x34ed68(0x1fd)](_0x16be61){const _0x4d3bc9=_0x34ed68;var _0x5c13f2,_0x43b954;const {memberID:_0x205a66,selection:_0x464133}=_0x16be61[_0x4d3bc9(0x2e9)],_0x2b8414=_i(_0x464133),_0x44267e=(_0x43b954=(_0x5c13f2=this[_0x4d3bc9(0x1c6)][_0x4d3bc9(0x22b)](this['unitID'],_0x205a66))==null?void 0x0:_0x5c13f2[_0x4d3bc9(0x24a)])!=null?_0x43b954:_0x4d3bc9(0x307),_0x3878ef={'color':this[_0x4d3bc9(0x388)]['assignAColorForMemberID'](_0x205a66),'name':_0x44267e,'ranges':_0x2b8414},_0x28ca54=this[_0x4d3bc9(0x263)];_0x28ca54['set'](_0x205a66,_0x3878ef),this['_cursorInfo$'][_0x4d3bc9(0x203)](_0x28ca54);}[_0x34ed68(0x21a)](_0x4d4dd2){const _0x16868b=_0x34ed68,{memberID:_0x1aebea}=_0x4d4dd2[_0x16868b(0x2e9)],_0xc70912=this[_0x16868b(0x263)];_0xc70912[_0x16868b(0x30b)](_0x1aebea),this['_cursorInfo$'][_0x16868b(0x203)](_0xc70912);}[_0x34ed68(0x1d6)](){const _0xe0560=_0x34ed68;var _0x1fda0a;if(this[_0xe0560(0x28f)]=!0x0,((_0x1fda0a=this[_0xe0560(0x2de)][_0xe0560(0x3b0)]())==null?void 0x0:_0x1fda0a[_0xe0560(0x38d)]())!==this['unitID'])return;const _0x950645=this['_injector']['get'](_0x5bf28a)[_0xe0560(0x35a)]();Array[_0xe0560(0x34d)](_0x950645)&&_0x950645[_0xe0560(0x276)]>0x0&&this['_updateLocalCursor'](_0x950645);}[_0x34ed68(0x37d)](){const _0x53540a=_0x34ed68;this[_0x53540a(0x28f)]=!0x1;}};Ue=ui([P(0x2,_0x14dbb1(_0x254573)),P(0x3,_0x14dbb1(ke)),P(0x4,_0x14dbb1(_0x511bc4)),P(0x5,_0x14dbb1(He)),P(0x6,_0x492e54),P(0x7,_0x7852ac),P(0x8,_0xf52f51)],Ue);var Si=Object['getOwnPropertyDescriptor'],mi=(_0x14e05e,_0x1ffbcc,_0x5d4f1d,_0x1f3328)=>{const _0x408e4e=_0x34ed68;for(var _0x49c6b4=_0x1f3328>0x1?void 0x0:_0x1f3328?Si(_0x1ffbcc,_0x5d4f1d):_0x1ffbcc,_0x5a86ed=_0x14e05e[_0x408e4e(0x276)]-0x1,_0xb20f85;_0x5a86ed>=0x0;_0x5a86ed--)(_0xb20f85=_0x14e05e[_0x5a86ed])&&(_0x49c6b4=_0xb20f85(_0x49c6b4)||_0x49c6b4);return _0x49c6b4;},x=(_0x2e60d9,_0x3aa4fb)=>(_0x1e8e9d,_0x121e48)=>_0x3aa4fb(_0x1e8e9d,_0x121e48,_0x2e60d9);const Ii=0x12c,gi=0x64,vi=()=>{let _0x5531e6=[],_0x40befa=!0x1;return _0x86c7e8=>{const _0x53552d=_0x3f61;_0x5531e6[_0x53552d(0x2e8)](_0x86c7e8),_0x40befa||(_0x40befa=!0x0,setTimeout(()=>{const _0x28e2b5=_0x53552d;_0x5531e6[_0x28e2b5(0x271)](_0x1ffd53=>_0x1ffd53()),_0x5531e6=[],_0x40befa=!0x1;}));};};let Me=class extends _0x357e51{constructor(_0x29f02e,_0x3b176f,_0x447329,_0x1a46a2,_0x1c8e28,_0x534c8d,_0x3ead87,_0x2f505f){const _0x37a7e0=_0x34ed68;super(),_(this,_0x37a7e0(0x28f),!0x1),_(this,_0x37a7e0(0x2d1),!0x1),_(this,'_cursorInfo$',new _0x521682(new Map())),_(this,'cursorInfo$',this[_0x37a7e0(0x29c)][_0x37a7e0(0x39d)]()),_(this,_0x37a7e0(0x25a),new _0x521682([])),_(this,_0x37a7e0(0x24e),this[_0x37a7e0(0x25a)][_0x37a7e0(0x367)](_0x58bc95(Ii))),_(this,_0x37a7e0(0x1c2),_0x29d2b0((_0x3664cc,_0x50efd4)=>{const _0x45fe5e=_0x37a7e0,_0x3eb2a5={'eventID':_0x460509[_0x45fe5e(0x354)],'data':{'unitID':this[_0x45fe5e(0x2bb)],'memberID':this[_0x45fe5e(0x331)][_0x45fe5e(0x391)](),'selection':_0x5982f5(_0x3664cc,_0x50efd4[_0x45fe5e(0x330)])}};this[_0x45fe5e(0x331)]['send'](_0x3eb2a5,this[_0x45fe5e(0x2bb)]);},gi)),(this['unitID']=_0x29f02e,this[_0x37a7e0(0x331)]=_0x3b176f,this[_0x37a7e0(0x279)]=_0x447329,this['_colorAssignService']=_0x1a46a2,this['_memberService']=_0x1c8e28,this[_0x37a7e0(0x2de)]=_0x534c8d,this['_commandService']=_0x3ead87,this[_0x37a7e0(0x208)]=_0x2f505f);}get[_0x34ed68(0x263)](){const _0x254b9c=_0x34ed68;return this[_0x254b9c(0x29c)][_0x254b9c(0x235)]();}get[_0x34ed68(0x336)](){const _0x2831ab=_0x34ed68;return this[_0x2831ab(0x25a)][_0x2831ab(0x235)]();}[_0x34ed68(0x274)](){const _0x40dea0=_0x34ed68;super[_0x40dea0(0x274)](),this[_0x40dea0(0x29c)]['next'](new Map()),this[_0x40dea0(0x29c)][_0x40dea0(0x1f4)](),this[_0x40dea0(0x25a)][_0x40dea0(0x203)]([]),this[_0x40dea0(0x25a)][_0x40dea0(0x1f4)]();}[_0x34ed68(0x2d9)](){const _0x121b85=_0x34ed68;this[_0x121b85(0x2d1)]||(this[_0x121b85(0x2d1)]=!0x0,this[_0x121b85(0x331)][_0x121b85(0x2ef)][_0x121b85(0x367)](_0x52624f(this[_0x121b85(0x3a6)]))[_0x121b85(0x319)](_0x56bb4f=>{const _0x1bf65e=_0x121b85;_0x56bb4f===_0x3356d6[_0x1bf65e(0x250)]?this['_toggleOnline']():this[_0x1bf65e(0x37d)]();}),this[_0x121b85(0x331)][_0x121b85(0x38a)][_0x121b85(0x367)](_0x52624f(this['dispose$']))[_0x121b85(0x319)](_0x4ca734=>{const _0x547cd3=_0x121b85,_0x41935c=_0x4ca734[_0x547cd3(0x370)];_0x41935c===_0x460509[_0x547cd3(0x354)]&&this[_0x547cd3(0x1fd)](_0x4ca734),_0x41935c===_0x460509[_0x547cd3(0x2c2)]&&this[_0x547cd3(0x21a)](_0x4ca734);}),this['_onRefRangeChange'](),this[_0x121b85(0x33c)](this[_0x121b85(0x1eb)][_0x121b85(0x2fb)](_0x5d57a7=>{const _0x57d0fa=_0x121b85;if(this['_online']&&_0x5d57a7['id']===_0x472c34['id']&&_0x5d57a7['params'][_0x57d0fa(0x2b3)]===this[_0x57d0fa(0x2bb)]){const _0x210046=_0x5d57a7[_0x57d0fa(0x1d2)];this['_updateLocalCursor'](_0x210046[_0x57d0fa(0x376)],_0x210046['selections'][0x0]);}})));}[_0x34ed68(0x1fd)](_0x2af5d7){const _0x202b4f=_0x34ed68;var _0x36002a,_0xd978e3;const {memberID:_0x38a801,selection:_0x1e5f00}=_0x2af5d7[_0x202b4f(0x2e9)],{sheetName:_0x5f5053,range:_0x1d1031}=_0x4a6307(_0x1e5f00),_0x521b01={'name':(_0xd978e3=(_0x36002a=this[_0x202b4f(0x1c6)][_0x202b4f(0x22b)](this[_0x202b4f(0x2bb)],_0x38a801))==null?void 0x0:_0x36002a[_0x202b4f(0x24a)])!=null?_0xd978e3:'Unknown\x20user','range':this[_0x202b4f(0x32d)](_0x5f5053,_0x1d1031),'sheetID':_0x5f5053,'color':this[_0x202b4f(0x388)][_0x202b4f(0x2d5)](_0x38a801),'selection':_0x1e5f00},_0xf06891=this['cursorInfo'];_0xf06891[_0x202b4f(0x22c)](_0x38a801,_0x521b01),this[_0x202b4f(0x29c)][_0x202b4f(0x203)](_0xf06891);}[_0x34ed68(0x21a)](_0x4d44d1){const _0x3ed03d=_0x34ed68,{memberID:_0x25af98}=_0x4d44d1[_0x3ed03d(0x2e9)],_0x1acae7=this[_0x3ed03d(0x263)];_0x1acae7['delete'](_0x25af98),this['_cursorInfo$']['next'](_0x1acae7);}['_getMergeRange'](_0x4fd9cb,_0x12dd63){const _0x6c4698=_0x34ed68;var _0x5b30dc,_0x52e1f5;const _0x1b8e81=(_0x52e1f5=(_0x5b30dc=this[_0x6c4698(0x2de)][_0x6c4698(0x2af)](this[_0x6c4698(0x2bb)]))==null?void 0x0:_0x5b30dc[_0x6c4698(0x27c)](_0x4fd9cb))==null?void 0x0:_0x52e1f5['getMergeData']();return(_0x1b8e81==null?void 0x0:_0x1b8e81['find'](_0x36ef45=>_0x25c167[_0x6c4698(0x20f)](_0x36ef45,_0x12dd63)))||_0x12dd63;}[_0x34ed68(0x321)](){const _0x11dfa4=_0x34ed68,_0x2e9e5f=new _0x59d886(),_0x1a1945=vi(),_0x167c33=()=>{_0x2e9e5f['dispose']();const _0x45cf7d=(_0x1b8465,_0x37b88b,_0x156a20,_0x4cd0e0)=>{const _0x2f339d=_0x3f61;let _0x3cd770=[];switch(_0x1b8465['id']){case _0x85a259[_0x2f339d(0x260)]:{_0x3cd770=_0x28d3fa(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x3ae)]:{_0x3cd770=_0x2f17a6(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x320)]:{_0x3cd770=_0x381261(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x20b)]:{_0x3cd770=_0x372d97(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x2fe)]:{_0x3cd770=_0x3c4557(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x20c)]:{_0x3cd770=_0x26bfb3(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x243)]:{_0x3cd770=_0x68c5f4(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x1dd)]:{_0x3cd770=_0x1fa6e5(_0x1b8465,_0x4cd0e0);break;}case _0x85a259[_0x2f339d(0x221)]:{_0x3cd770=_0xddadfb(_0x1b8465,_0x4cd0e0);break;}}const _0x147a74=_0x1bd779(_0x3cd770,_0x4cd0e0),_0x138775=this['cursorInfo'][_0x2f339d(0x374)](_0x37b88b);if(_0x138775&&_0x147a74){const _0x5207c6={..._0x138775,'range':_0x147a74};this[_0x2f339d(0x263)][_0x2f339d(0x22c)](_0x37b88b,_0x5207c6),_0x1a1945(()=>{const _0x536bdb=_0x2f339d,_0x12fc18=this[_0x536bdb(0x208)][_0x536bdb(0x23b)](_0x147a74,_0x8835a7=>(_0x12fc18[_0x536bdb(0x274)](),_0x45cf7d(_0x8835a7,_0x37b88b,_0x156a20,_0x147a74)));_0x2e9e5f['add'](_0x12fc18);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4131cf,_0x3cb777)=>{const _0x57f87c=_0x3f61,{range:_0x4de700,sheetID:_0x231e38}=_0x4131cf,_0x1a8df9=this[_0x57f87c(0x208)][_0x57f87c(0x23b)](_0x4de700,_0x1e506e=>(_0x1a8df9[_0x57f87c(0x274)](),_0x45cf7d(_0x1e506e,_0x3cb777,_0x231e38,_0x4de700)));_0x2e9e5f[_0x57f87c(0x29b)](_0x1a8df9);});};this['disposeWithMe'](_0xf63787(this['_cursorInfo$'][_0x11dfa4(0x319)](()=>{_0x167c33();})));}[_0x34ed68(0x1d6)](){const _0x2b05ce=_0x34ed68;var _0x3dfea7,_0x3d3ab4;if(this['_online']=!0x0,((_0x3dfea7=this[_0x2b05ce(0x2de)][_0x2b05ce(0x3b0)]())==null?void 0x0:_0x3dfea7[_0x2b05ce(0x38d)]())!==this[_0x2b05ce(0x2bb)])return;const _0x3c74ec=(_0x3d3ab4=this[_0x2b05ce(0x279)]['get'](_0x3e361d)[_0x2b05ce(0x204)]())==null?void 0x0:_0x3d3ab4[0x0],_0x630f99=this[_0x2b05ce(0x2de)][_0x2b05ce(0x268)](_0x14c742[_0x2b05ce(0x249)])[_0x2b05ce(0x293)]();_0x3c74ec&&_0x630f99&&this[_0x2b05ce(0x1c2)](_0x630f99[_0x2b05ce(0x386)](),_0x3c74ec);}[_0x34ed68(0x37d)](){const _0x43f8be=_0x34ed68;this[_0x43f8be(0x28f)]=!0x1;}};Me=mi([x(0x2,_0x14dbb1(_0x254573)),x(0x3,_0x14dbb1(ke)),x(0x4,_0x14dbb1(_0x511bc4)),x(0x5,_0x7852ac),x(0x6,_0xf52f51),x(0x7,_0x14dbb1(_0x249d2f))],Me);var pi=Object[_0x34ed68(0x348)],Ci=(_0x385b36,_0xdadf1c,_0x58e587,_0x1145c6)=>{const _0x168dac=_0x34ed68;for(var _0x1fd478=_0x1145c6>0x1?void 0x0:_0x1145c6?pi(_0xdadf1c,_0x58e587):_0xdadf1c,_0x3bd6a0=_0x385b36[_0x168dac(0x276)]-0x1,_0x8fa333;_0x3bd6a0>=0x0;_0x3bd6a0--)(_0x8fa333=_0x385b36[_0x3bd6a0])&&(_0x1fd478=_0x8fa333(_0x1fd478)||_0x1fd478);return _0x1fd478;},Se=(_0x37a64d,_0x92a80a)=>(_0x2faed5,_0x6b61b9)=>_0x92a80a(_0x2faed5,_0x6b61b9,_0x37a64d);let H=class extends _0x357e51{constructor(_0x350bd9,_0x2b97f5,_0x38048e){const _0x301f53=_0x34ed68;super(),_(this,_0x301f53(0x1da),new Map()),_(this,_0x301f53(0x290),new _0x203e67()),(this['_univerInstanceService']=_0x350bd9,this['_injector']=_0x2b97f5,this[_0x301f53(0x389)]=_0x38048e,this[_0x301f53(0x2d1)]());}[_0x34ed68(0x274)](){const _0x420218=_0x34ed68;super[_0x420218(0x274)](),this[_0x420218(0x290)]['complete'](),this['_entities'][_0x420218(0x271)](_0x4791db=>_0x4791db[_0x420218(0x274)]());}[_0x34ed68(0x22d)](_0x143e28){const _0xc347da=_0x34ed68;return this['_entities'][_0xc347da(0x2b4)](_0x143e28)?this[_0xc347da(0x1da)][_0xc347da(0x374)](_0x143e28)['cursorInfo$']:this['_entityInit$']['pipe'](_0x2c52fd(_0x18b043=>_0x18b043['unitID']===_0x143e28),_0x5077c3(_0x11bcc3=>_0x11bcc3[_0xc347da(0x1bc)]));}['_init'](){const _0xa43ec3=_0x34ed68;this[_0xa43ec3(0x2de)][_0xa43ec3(0x2fd)](_0x14c742[_0xa43ec3(0x249)])[_0xa43ec3(0x367)](_0x52624f(this['dispose$']))[_0xa43ec3(0x319)](async _0x1b6f6a=>{const _0x5c7205=_0xa43ec3,_0x3c51a4=_0x1b6f6a[_0x5c7205(0x38d)](),_0x23db83=await this[_0x5c7205(0x281)](_0x3c51a4);this['_entityInit$'][_0x5c7205(0x203)](_0x23db83),this[_0x5c7205(0x1da)]['set'](_0x3c51a4,_0x23db83);}),this[_0xa43ec3(0x2de)][_0xa43ec3(0x2fd)](_0x14c742['UNIVER_DOC'])[_0xa43ec3(0x367)](_0x52624f(this[_0xa43ec3(0x3a6)]))[_0xa43ec3(0x367)](_0x2c52fd(_0x5b87b7=>!_0x5b87b7[_0xa43ec3(0x38d)]()['startsWith']('__')))['subscribe'](async _0x1c6b1b=>{const _0x476d9e=_0xa43ec3,_0x22a97c=_0x1c6b1b[_0x476d9e(0x38d)](),_0x102f39=await this['_startDocCollabCursor'](_0x22a97c);this[_0x476d9e(0x290)][_0x476d9e(0x203)](_0x102f39),this[_0x476d9e(0x1da)][_0x476d9e(0x22c)](_0x22a97c,_0x102f39);}),_0xbe31fa(this[_0xa43ec3(0x2de)][_0xa43ec3(0x37e)](_0x14c742[_0xa43ec3(0x322)]),this[_0xa43ec3(0x2de)][_0xa43ec3(0x37e)](_0x14c742[_0xa43ec3(0x249)]))[_0xa43ec3(0x367)](_0x52624f(this[_0xa43ec3(0x3a6)]))['subscribe'](_0x737bd4=>{const _0x4fe423=_0xa43ec3,_0x5e8704=_0x737bd4[_0x4fe423(0x38d)](),_0x52d6e2=this[_0x4fe423(0x1da)][_0x4fe423(0x374)](_0x5e8704);_0x52d6e2&&(_0x52d6e2[_0x4fe423(0x274)](),this['_entities']['delete'](_0x5e8704));});}async[_0x34ed68(0x281)](_0x442409){const _0x7a93c0=_0x34ed68,_0x11a63a=await this['_collabSessionService'][_0x7a93c0(0x1ec)](_0x442409),_0x444a91=this[_0x7a93c0(0x279)]['createInstance'](Me,_0x442409,_0x11a63a);return _0x444a91[_0x7a93c0(0x2d9)](),_0x444a91;}async['_startDocCollabCursor'](_0x47cc4e){const _0x5aa6c7=_0x34ed68,_0x1b80a2=await this[_0x5aa6c7(0x389)][_0x5aa6c7(0x1ec)](_0x47cc4e),_0x23ed58=this[_0x5aa6c7(0x279)]['createInstance'](Ue,_0x47cc4e,_0x1b80a2);return _0x23ed58[_0x5aa6c7(0x2d9)](),_0x23ed58;}};H=Ci([Se(0x0,_0x7852ac),Se(0x1,_0x14dbb1(_0x254573)),Se(0x2,_0x14dbb1(_0x32a5b1))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x5306b6,_0x30df92){const _0x291db2=_0x34ed68;let {radius:_0x3112bb,width:_0x30eff7,height:_0x3b8c46}=_0x30df92;_0x3112bb=_0x3112bb!=null?_0x3112bb:0x0,_0x30eff7=_0x30eff7!=null?_0x30eff7:0x1e,_0x3b8c46=_0x3b8c46!=null?_0x3b8c46:0x1e;let _0x2a89f3=0x0,_0x560232=0x0,_0x2d60b5=0x0;_0x2a89f3=_0x560232=_0x2d60b5=Math[_0x291db2(0x2c1)](_0x3112bb,_0x30eff7/0x2,_0x3b8c46/0x2),_0x5306b6['beginPath'](),_0x5306b6[_0x291db2(0x2dc)](_0x2a89f3,0x0),_0x5306b6[_0x291db2(0x2d7)](_0x30eff7-_0x560232,0x0),_0x5306b6[_0x291db2(0x2e5)](_0x30eff7-_0x560232,_0x560232,_0x560232,Math['PI']*0x3/0x2,0x0,!0x1),_0x5306b6[_0x291db2(0x2d7)](_0x30eff7,_0x3b8c46-_0x2d60b5),_0x5306b6[_0x291db2(0x2e5)](_0x30eff7-_0x2d60b5,_0x3b8c46-_0x2d60b5,_0x2d60b5,0x0,Math['PI']/0x2,!0x1),_0x5306b6[_0x291db2(0x2d7)](0x0,_0x3b8c46),_0x5306b6[_0x291db2(0x2d7)](0x0,_0x2a89f3),_0x5306b6[_0x291db2(0x2e5)](_0x2a89f3,_0x2a89f3,_0x2a89f3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5306b6[_0x291db2(0x2f8)](),_0x30df92[_0x291db2(0x2b5)]&&(_0x5306b6[_0x291db2(0x2b7)](),_0x5306b6[_0x291db2(0x212)]=_0x30df92[_0x291db2(0x2b5)],_0x30df92[_0x291db2(0x28a)]==='evenodd'?_0x5306b6['fill'](_0x291db2(0x217)):_0x5306b6[_0x291db2(0x2b5)](),_0x5306b6['restore']());}class he extends _0xb1dcef{constructor(_0x249053,_0x54c559){const _0x5142d5=_0x34ed68;super(_0x249053,_0x54c559),_(this,_0x5142d5(0x1fa)),_(this,_0x5142d5(0x277)),(this[_0x5142d5(0x1fa)]=_0x54c559==null?void 0x0:_0x54c559['color'],this[_0x5142d5(0x277)]=_0x54c559==null?void 0x0:_0x54c559[_0x5142d5(0x277)]);}static[_0x34ed68(0x238)](_0x1c2815,_0x7d3f25){const _0xf1ffd5=_0x34ed68,{text:_0x4de38d,color:_0x4c3667}=_0x7d3f25;_0x1c2815[_0xf1ffd5(0x2b7)](),_0x1c2815[_0xf1ffd5(0x2ac)]=_0xf1ffd5(0x2e1);const _0x473bc5=_0x1c2815[_0xf1ffd5(0x317)](_0x4de38d)[_0xf1ffd5(0x21f)],_0x2335f2=Math[_0xf1ffd5(0x2c1)](_0x473bc5+0x2*me,Qe);Oi(_0x1c2815,{'height':ee,'radius':0x4,'width':_0x2335f2,'fill':_0x4c3667}),_0x1c2815[_0xf1ffd5(0x212)]=_0xf1ffd5(0x270);const _0x92863f=me,_0x53bb1c=ee-Ei,_0x1b50a9=Qe-0x2*me;if(_0x473bc5>_0x1b50a9){let _0x1aadfe='',_0x506de7=0x0;for(const _0x1e49ea of _0x4de38d){const _0x5c86e9=_0x1c2815[_0xf1ffd5(0x317)](_0x1e49ea)['width'];if(_0x506de7+_0x5c86e9<=_0x1b50a9-_0x1c2815[_0xf1ffd5(0x317)](_0xf1ffd5(0x1d8))[_0xf1ffd5(0x21f)])_0x1aadfe+=_0x1e49ea,_0x506de7+=_0x5c86e9;else{_0x1aadfe+='...';break;}}_0x1c2815[_0xf1ffd5(0x2a7)](_0x1aadfe,_0x92863f,_0x53bb1c);}else _0x1c2815[_0xf1ffd5(0x2a7)](_0x4de38d,_0x92863f,_0x53bb1c);_0x1c2815['restore']();}['_draw'](_0x3f4efb){he['drawWith'](_0x3f4efb,this);}}const Ie='collab-text-anchor-',bi=_0x34ed68(0x2f7),Ti=_0x34ed68(0x323),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x34ed68(0x2e4);class qe{constructor(_0x3b8136,_0x664482,_0x132e20,_0x5501b3){const _0x3a101f=_0x34ed68;_(this,_0x3a101f(0x30c),[]),_(this,'_anchor',null),_(this,_0x3a101f(0x24d),null),_(this,'_anchorDot',null),_(this,_0x3a101f(0x299),null),_(this,_0x3a101f(0x31c),null),(this['_cursor']=_0x3b8136,this[_0x3a101f(0x2cc)]=_0x664482,this['_docSkeleton']=_0x132e20,this['_document']=_0x5501b3,this[_0x3a101f(0x361)]());}set[_0x34ed68(0x1f7)](_0x360733){const _0x319102=_0x34ed68;_0x360733?(this[_0x319102(0x261)]&&this[_0x319102(0x261)][_0x319102(0x2b9)](),this[_0x319102(0x24d)]&&this[_0x319102(0x24d)]['show']()):(this['_anchorDot']&&this[_0x319102(0x261)][_0x319102(0x3a8)](),this[_0x319102(0x24d)]&&this[_0x319102(0x24d)][_0x319102(0x2b9)]());}[_0x34ed68(0x274)](){const _0x2ebb90=_0x34ed68;for(const _0x54a279 of this[_0x2ebb90(0x30c)])_0x54a279[_0x2ebb90(0x274)]();this[_0x2ebb90(0x24d)]&&this[_0x2ebb90(0x24d)]['dispose'](),this['_anchorDot']&&this[_0x2ebb90(0x261)][_0x2ebb90(0x274)](),this['_anchor']&&this[_0x2ebb90(0x2a0)][_0x2ebb90(0x274)](),this[_0x2ebb90(0x31c)]&&this['_eventUnsubscribe']();}['_render'](){const _0x4506de=_0x34ed68;var _0x21391c;const {_docSkeleton:_0x6641f4,_document:_0x18b58f}=this,{color:_0x3b78cf,name:_0x3d27de,ranges:_0x2a7e0c}=this['_cursor'],_0x29907a=_0x18b58f['getOffsetConfig'](),{docsLeft:_0x9ed0bf,docsTop:_0x3de633}=_0x29907a,_0x198c4e=new _0x4b3b50(_0x29907a,_0x6641f4);for(const {startOffset:_0x17593a,endOffset:_0x5da8d7,rangeType:_0x5b3e6a,segmentId:_0x2c7472,segmentPage:_0x3f0d39,collapsed:_0x594be7,isActive:_0x893015}of _0x2a7e0c){const _0x31c5a4=_0x6641f4[_0x4506de(0x21c)](_0x17593a,!0x0,_0x2c7472,_0x3f0d39);let _0x17207e=_0x6641f4[_0x4506de(0x21c)](_0x5da8d7,!0x0,_0x2c7472,_0x3f0d39);if(_0x17207e==null&&(_0x17207e=_0x6641f4[_0x4506de(0x21c)](_0x5da8d7-0x1,!0x1,_0x2c7472,_0x3f0d39)),_0x893015){const {contentBoxPointGroup:_0x2f7d2a}=_0x198c4e['getRangePointData'](_0x17207e,_0x17207e);if(_0x2f7d2a[_0x4506de(0x276)]===0x0)continue;this[_0x4506de(0x2c7)](_0x3b78cf,_0x2f7d2a,_0x9ed0bf,_0x3de633,_0x3d27de),this[_0x4506de(0x31c)]=this[_0x4506de(0x397)]();}if(_0x31c5a4&&_0x17207e){if(_0x5b3e6a===_0x29b674['RECT']){const _0x54e7e7=new _0x4139c0(_0x29907a,_0x6641f4),{pointGroup:_0x2dddda}=(_0x21391c=_0x54e7e7[_0x4506de(0x253)](_0x31c5a4,_0x17207e))!=null?_0x21391c:{};if(_0x2dddda==null||_0x2dddda['length']===0x0)continue;this[_0x4506de(0x236)](_0x3b78cf,_0x2dddda,_0x9ed0bf,_0x3de633);}else{if(!_0x594be7){const {borderBoxPointGroup:_0x559f8c}=_0x198c4e[_0x4506de(0x253)](_0x31c5a4,_0x17207e);if(_0x559f8c[_0x4506de(0x276)]===0x0)continue;this[_0x4506de(0x356)](_0x3b78cf,_0x559f8c,_0x9ed0bf,_0x3de633);}}}}}['_drawAnchor'](_0x814a17,_0x252b15,_0x1d306e,_0x70ee85,_0x595b24){const _0x741b75=_0x34ed68,_0x13f861=this['_getAnchorBounding'](_0x252b15),{left:_0x537d9d,top:_0x50abde,height:_0x3c03a7}=_0x13f861,_0x38acbe=this[_0x741b75(0x2c8)](),_0x33519c=Di/_0x38acbe,_0x47427d=new _0x361494(Ie+_0x1124dc['generateRandomId'](X),{'left':_0x537d9d+_0x1d306e-_0x33519c,'top':_0x50abde+_0x70ee85,'height':_0x3c03a7,'width':Ri,'fill':_0x814a17||_0x50621e(_0x2b2234[_0x741b75(0x30e)],0x0),'strokeWidth':_0x33519c,'stroke':Ni,'evented':!0x0});this[_0x741b75(0x2a0)]=_0x47427d,this[_0x741b75(0x2cc)][_0x741b75(0x224)](_0x47427d,_0x55754d);const _0xa50493=new _0x361494(Ie+_0x1124dc[_0x741b75(0x32b)](X),{'left':_0x537d9d+_0x1d306e-_0x33519c,'top':_0x50abde+_0x70ee85-ge/0x2,'height':ge,'width':ge,'fill':_0x814a17||_0x50621e(_0x2b2234[_0x741b75(0x30e)],0x0),'strokeWidth':0x0,'stroke':_0x814a17||_0x50621e(_0x2b2234[_0x741b75(0x30e)],0x0),'evented':!0x1});this[_0x741b75(0x261)]=_0xa50493,this[_0x741b75(0x2cc)][_0x741b75(0x224)](_0xa50493,_0x55754d);const _0x58402f=new he(Ie+_0x1124dc[_0x741b75(0x32b)](X),{'left':_0x537d9d+_0x1d306e-_0x33519c,'top':_0x50abde+_0x70ee85-ee,'text':_0x595b24,'color':_0x814a17});this['_textBubble']=_0x58402f,this[_0x741b75(0x2cc)][_0x741b75(0x224)](_0x58402f,_0x55754d),this[_0x741b75(0x1f7)]=!0x1;}[_0x34ed68(0x397)](){const _0x32e897=_0x34ed68,_0x468952=this[_0x32e897(0x2a0)][_0x32e897(0x225)][_0x32e897(0x329)](()=>{const _0x2b5793=_0x32e897;this[_0x2b5793(0x1f7)]=!0x0;}),_0x42d029=this[_0x32e897(0x2a0)][_0x32e897(0x1be)][_0x32e897(0x329)](()=>{const _0x328c84=_0x32e897;this[_0x328c84(0x299)]&&clearTimeout(this[_0x328c84(0x299)]),this[_0x328c84(0x299)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x55128c=_0x32e897;_0x468952[_0x55128c(0x310)](),_0x42d029['unsubscribe']();};}['_drawTextRange'](_0x2d2b70,_0x4d6688,_0x4e042e,_0x45ef95){const _0x415f59=_0x34ed68,_0x1ccae6=new _0x4d463a(_0x2d2b70)['setAlpha'](0.2)[_0x415f59(0x1bf)](),_0xfe9ef2=new _0x370b12(bi+_0x1124dc['generateRandomId'](X),{'pointsGroup':_0x4d6688,'fill':_0x1ccae6||_0x50621e(_0x2b2234[_0x415f59(0x30e)],0.2),'left':_0x4e042e,'top':_0x45ef95,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x415f59(0x2e8)](_0xfe9ef2),this['_scene']['addObject'](_0xfe9ef2,_0x55754d);}[_0x34ed68(0x236)](_0xbb173,_0x47de6d,_0x872926,_0x50a028){const _0x3f9324=_0x34ed68,_0x4b926a=new _0x4d463a(_0xbb173)[_0x3f9324(0x24f)](0.2)[_0x3f9324(0x1bf)](),_0x25ce27=new _0x370b12(Ti+_0x1124dc[_0x3f9324(0x32b)](X),{'pointsGroup':_0x47de6d,'fill':_0x4b926a||_0x50621e(_0x2b2234['black'],0.2),'left':_0x872926,'top':_0x50a028,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3f9324(0x30c)][_0x3f9324(0x2e8)](_0x25ce27),this[_0x3f9324(0x2cc)][_0x3f9324(0x224)](_0x25ce27,_0x55754d);}['_getAnchorBounding'](_0x19ba78){const _0x2f9d8f=_0x19ba78[0x0],_0x4f4591=_0x2f9d8f[0x0],_0x3c356c=_0x2f9d8f[0x2],{x:_0x58e47d,y:_0x38eb31}=_0x4f4591,{x:_0x5cb5a1,y:_0x45140d}=_0x3c356c;return{'left':_0x58e47d,'top':_0x38eb31,'width':_0x5cb5a1-_0x58e47d,'height':_0x45140d-_0x38eb31};}[_0x34ed68(0x2c8)](){const _0x3258f1=_0x34ed68,{scaleX:_0x45db6e,scaleY:_0x4de8bd}=this[_0x3258f1(0x2cc)][_0x3258f1(0x21b)]();return Math[_0x3258f1(0x21e)](_0x45db6e,_0x4de8bd);}}var Ui=Object[_0x34ed68(0x348)],Mi=(_0x29e889,_0x46953f,_0x353e61,_0x11395f)=>{for(var _0x18fbd7=_0x11395f>0x1?void 0x0:_0x11395f?Ui(_0x46953f,_0x353e61):_0x46953f,_0x3ef2be=_0x29e889['length']-0x1,_0x39302d;_0x3ef2be>=0x0;_0x3ef2be--)(_0x39302d=_0x29e889[_0x3ef2be])&&(_0x18fbd7=_0x39302d(_0x18fbd7)||_0x18fbd7);return _0x18fbd7;},Z=(_0x4c94a4,_0x3ba7e6)=>(_0x3efb80,_0x4f903b)=>_0x3ba7e6(_0x3efb80,_0x4f903b,_0x4c94a4);let we=class extends _0x357e51{constructor(_0x556603,_0x4fe209,_0x15a7b3,_0x3d4d92,_0x28aae2){const _0x1d49b9=_0x34ed68;super(),_(this,_0x1d49b9(0x255),[]),_(this,_0x1d49b9(0x33d),[]),(this[_0x1d49b9(0x349)]=_0x556603,this['_docSkeletonManagerService']=_0x4fe209,this['_collabCursorController']=_0x15a7b3,this[_0x1d49b9(0x1eb)]=_0x3d4d92,this[_0x1d49b9(0x394)]=_0x28aae2,this['_init']());}[_0x34ed68(0x2d1)](){const _0x2d8d94=_0x34ed68,_0x55e095=this[_0x2d8d94(0x349)][_0x2d8d94(0x2b3)],_0x1149fb=this['_docSkeletonManagerService'];this[_0x2d8d94(0x33c)](_0x4ca38a([this[_0x2d8d94(0x3b9)][_0x2d8d94(0x22d)](_0x55e095),this[_0x2d8d94(0x394)][_0x2d8d94(0x392)]])[_0x2d8d94(0x367)](_0xb58826(([_0x507944,_0x5aaa14])=>({'skeleton':_0x1149fb[_0x2d8d94(0x2be)](),'cursors':[..._0x507944[_0x2d8d94(0x328)]()]['flatMap'](_0x29edc4=>({..._0x29edc4,'color':this[_0x2d8d94(0x394)][_0x2d8d94(0x32f)](_0x29edc4[_0x2d8d94(0x1fa)])}))})))[_0x2d8d94(0x319)](_0x4d2215=>{const _0x513c3e=_0x2d8d94;if(this[_0x513c3e(0x273)](),_0x4d2215){const {skeleton:_0x231838,cursors:_0x335e47}=_0x4d2215;this[_0x513c3e(0x345)](_0x231838,_0x335e47);}})),this[_0x2d8d94(0x2bc)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x3abd47,_0x10175b){const _0x1dc3fb=_0x34ed68,{scene:_0x317eeb,mainComponent:_0x326154}=this[_0x1dc3fb(0x349)],_0x489bd7=_0x10175b['map'](_0x1a3fb7=>new qe(_0x1a3fb7,_0x317eeb,_0x3abd47,_0x326154));this[_0x1dc3fb(0x255)]=_0x489bd7,this[_0x1dc3fb(0x33d)]=_0x10175b;}['_refreshCollabCursors'](){const _0x2684a6=_0x34ed68;this[_0x2684a6(0x273)]();const {scene:_0x2193e0,mainComponent:_0x216ca6}=this[_0x2684a6(0x349)],_0x2010cd=this['_docSkeletonManagerService'][_0x2684a6(0x2be)](),_0x5d2131=this[_0x2684a6(0x33d)][_0x2684a6(0x2d0)](_0x4e009d=>new qe(_0x4e009d,_0x2193e0,_0x2010cd,_0x216ca6));this[_0x2684a6(0x255)]=_0x5d2131;}[_0x34ed68(0x273)](){const _0x28796f=_0x34ed68;this[_0x28796f(0x255)][_0x28796f(0x271)](_0x15b299=>_0x15b299['dispose']()),this[_0x28796f(0x255)]=[];}[_0x34ed68(0x2b1)](){const _0x4b2ef7=_0x34ed68,_0x5ea195=[_0x51c23d['id']];this[_0x4b2ef7(0x33c)](this[_0x4b2ef7(0x1eb)][_0x4b2ef7(0x2fb)](_0x29ca32=>{const _0x293308=_0x4b2ef7;_0x5ea195[_0x293308(0x39c)](_0x29ca32['id'])&&_0x29ca32['params'][_0x293308(0x2b3)]===this[_0x293308(0x349)][_0x293308(0x2b3)]&&this['_refreshCollabCursors']();}));}[_0x34ed68(0x2bc)](){const _0x355b2e=_0x34ed68;this[_0x355b2e(0x33c)](_0x4dba5e(this[_0x355b2e(0x349)][_0x355b2e(0x256)][_0x355b2e(0x1b7)])[_0x355b2e(0x367)](_0x3f8add(_0x5c7104=>_0x5c7104[_0x355b2e(0x294)]===_0x370ab6['resize']),_0x398b3d(0x10))[_0x355b2e(0x319)](()=>{this['_refreshCollabCursors']();}));}};we=Mi([Z(0x1,_0x14dbb1(_0x2bb693)),Z(0x2,_0x14dbb1(H)),Z(0x3,_0xf52f51),Z(0x4,_0x14dbb1(_0x48ae9c))],we);const wi=0x1,Pi=1.5;class Li extends _0xb1dcef{constructor(_0x4d06ca,_0x2a6bbb){const _0x53ec8c=_0x34ed68;super(_0x4d06ca,_0x2a6bbb),_(this,_0x53ec8c(0x264)),_(this,_0x53ec8c(0x242),!0x1),_(this,_0x53ec8c(0x252)),_(this,_0x53ec8c(0x35c),''),_(this,_0x53ec8c(0x1db),'top'),_(this,_0x53ec8c(0x2c3)),(_0x2a6bbb&&this[_0x53ec8c(0x27b)](_0x2a6bbb),this[_0x53ec8c(0x225)][_0x53ec8c(0x329)](()=>this[_0x53ec8c(0x27b)]({'hovered':!0x0})),this[_0x53ec8c(0x1be)][_0x53ec8c(0x329)](()=>this[_0x53ec8c(0x27b)]({'hovered':!0x1})));}[_0x34ed68(0x27b)](_0x4364d2){const _0x2b6765=_0x34ed68;var _0x46901e,_0x2cdf55,_0x2ae38e,_0x2aeeb1,_0x2c45c1,_0x3d90ea;this[_0x2b6765(0x264)]=(_0x46901e=_0x4364d2[_0x2b6765(0x1fa)])!=null?_0x46901e:this[_0x2b6765(0x264)],this['_hovered']=(_0x2cdf55=_0x4364d2[_0x2b6765(0x1c9)])!=null?_0x2cdf55:this[_0x2b6765(0x242)],this[_0x2b6765(0x252)]=(_0x2ae38e=_0x4364d2[_0x2b6765(0x330)])!=null?_0x2ae38e:this['_range'],this[_0x2b6765(0x35c)]=(_0x2aeeb1=_0x4364d2[_0x2b6765(0x24a)])!=null?_0x2aeeb1:this[_0x2b6765(0x35c)],this[_0x2b6765(0x1db)]=(_0x2c45c1=_0x4364d2[_0x2b6765(0x267)])!=null?_0x2c45c1:this[_0x2b6765(0x1db)],this[_0x2b6765(0x2c3)]=(_0x3d90ea=_0x4364d2['backgroundColor'])!=null?_0x3d90ea:this[_0x2b6765(0x2c3)],this[_0x2b6765(0x1cc)]({'width':_0x4364d2[_0x2b6765(0x21f)],'height':_0x4364d2[_0x2b6765(0x30f)]});}[_0x34ed68(0x1d9)](_0x162545){const _0x5891f0=_0x34ed68,{row:_0x5eb826,column:_0x487b53}=_0x162545;if(_0x5eb826>=this[_0x5891f0(0x252)][_0x5891f0(0x232)]&&_0x5eb826<=this[_0x5891f0(0x252)][_0x5891f0(0x3a0)]&&_0x487b53>=this[_0x5891f0(0x252)][_0x5891f0(0x38f)]&&_0x487b53<=this[_0x5891f0(0x252)][_0x5891f0(0x2cd)]){this[_0x5891f0(0x27b)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x34ed68(0x1e1)](_0x1d4f0e){return!0x1;}[_0x34ed68(0x2f3)](_0x171a1e){const _0x43a93f=_0x34ed68;_0x361494['drawWith'](_0x171a1e,{'width':this[_0x43a93f(0x21f)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x43a93f(0x264)],'evented':!0x1,'fill':this[_0x43a93f(0x2c3)]}),this[_0x43a93f(0x242)]&&(_0x171a1e[_0x43a93f(0x2b7)](),_0x171a1e[_0x43a93f(0x3b1)](0x1,0x0,0x0,0x1,this[_0x43a93f(0x21f)],this[_0x43a93f(0x1db)]===_0x43a93f(0x1b8)?0x0:-0x14),he['drawWith'](_0x171a1e,{'text':this[_0x43a93f(0x35c)],'color':this[_0x43a93f(0x264)]}),_0x171a1e[_0x43a93f(0x30d)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x10667a,_0x482185,_0x324d85,_0x116176)=>{const _0x42889c=_0x34ed68;for(var _0x5bdec8=_0x116176>0x1?void 0x0:_0x116176?Ai(_0x482185,_0x324d85):_0x482185,_0x33671b=_0x10667a[_0x42889c(0x276)]-0x1,_0x4d5a8c;_0x33671b>=0x0;_0x33671b--)(_0x4d5a8c=_0x10667a[_0x33671b])&&(_0x5bdec8=_0x4d5a8c(_0x5bdec8)||_0x5bdec8);return _0x5bdec8;},ve=(_0x1d7115,_0x2840f0)=>(_0x45c242,_0x2cd60b)=>_0x2840f0(_0x45c242,_0x2cd60b,_0x1d7115);const $i=0x1389;let Pe=class extends _0x357e51{constructor(_0x543b05,_0x470da3,_0x5e1302,_0x529f45){const _0x1d2f24=_0x34ed68;super(),_(this,_0x1d2f24(0x33d),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x543b05,this['_sheetSkeletonManagerService']=_0x470da3,this[_0x1d2f24(0x3b9)]=_0x5e1302,this[_0x1d2f24(0x394)]=_0x529f45,this['_init']());}['_init'](){const _0x1b78aa=_0x34ed68;this[_0x1b78aa(0x352)][_0x1b78aa(0x385)]['pipe'](_0x44d3de(this[_0x1b78aa(0x3a6)]),_0x4c4506(_0x45ffad=>{const _0x38d1ac=_0x1b78aa;if(_0x45ffad){const _0x30dace=_0x45ffad[_0x38d1ac(0x3a3)];return _0x4ca38a(this[_0x38d1ac(0x3b9)][_0x38d1ac(0x22d)](this[_0x38d1ac(0x349)][_0x38d1ac(0x2b3)]),this['_themeService'][_0x38d1ac(0x392)])['pipe'](_0xb58826(([_0x5ee7a4,_0x465504])=>{const _0x23bbf7=_0x38d1ac,_0x1256f6=new Map();return _0x5ee7a4[_0x23bbf7(0x271)]((_0x523793,_0x3080f9)=>{const _0x35f006=_0x23bbf7;if(_0x523793[_0x35f006(0x2ec)]===_0x30dace){const _0x19c5b5={..._0x523793};_0x19c5b5['color']=this[_0x35f006(0x394)][_0x35f006(0x32f)](_0x523793[_0x35f006(0x1fa)]),_0x1256f6['set'](_0x3080f9,_0x19c5b5);}}),{'skeleton':_0x45ffad,'cursors':_0x1256f6};}));}return _0x212c6d({'skeleton':null,'cursors':new Map()});}))[_0x1b78aa(0x319)](({skeleton:_0x274b66,cursors:_0x233d12})=>{const _0x28f1e2=_0x1b78aa;this[_0x28f1e2(0x273)](),_0x274b66&&this[_0x28f1e2(0x345)](_0x274b66,_0x233d12);}),this[_0x1b78aa(0x352)][_0x1b78aa(0x385)][_0x1b78aa(0x319)](_0x5f377c=>{const _0x3b8ed5=_0x1b78aa;if(_0x5f377c==null)return;const {skeleton:_0x13f37}=_0x5f377c,{scene:_0x1322c0}=this[_0x3b8ed5(0x349)];_0x1322c0['onPointerMove$'][_0x3b8ed5(0x329)](_0x29d2b0(_0x180981=>{const _0x3ef8ad=_0x3b8ed5;var _0x5e567b,_0x4242c9;const {offsetX:_0x370b1b,offsetY:_0x1816a3}=_0x180981,{x:_0x53dc06,y:_0x5e0bfe}=_0x1322c0['getRelativeToViewportCoord'](_0x3b2abe[_0x3ef8ad(0x381)]([_0x370b1b,_0x1816a3])),{scaleX:_0x4ec3b5,scaleY:_0x2fb3df}=_0x1322c0[_0x3ef8ad(0x21b)](),_0x100d31=_0x1322c0['getViewport'](_0x5d12ac[_0x3ef8ad(0x25e)]),_0x28f523=_0x1322c0[_0x3ef8ad(0x1ce)](_0x3b2abe[_0x3ef8ad(0x381)]([_0x53dc06,_0x5e0bfe]),_0x100d31),_0x34e90e=_0x13f37['getCellPositionByOffset'](_0x370b1b,_0x1816a3,_0x4ec3b5,_0x2fb3df,_0x28f523);((_0x5e567b=this[_0x3ef8ad(0x2a3)])==null?void 0x0:_0x5e567b[_0x3ef8ad(0x1cb)])===_0x34e90e[_0x3ef8ad(0x1cb)]&&((_0x4242c9=this[_0x3ef8ad(0x2a3)])==null?void 0x0:_0x4242c9[_0x3ef8ad(0x1f9)])===_0x34e90e['row']||this['_cursors']['forEach'](_0x42436b=>{const _0x5ca6c6=_0x3ef8ad;_0x42436b[_0x5ca6c6(0x1d9)](_0x34e90e);});},0x64));});}[_0x34ed68(0x345)](_0x49765d,_0x49221e){const _0x2ca629=_0x34ed68;var _0x3ff4e3;const _0x2a1e02=(_0x3ff4e3=this[_0x2ca629(0x352)][_0x2ca629(0x228)]())==null?void 0x0:_0x3ff4e3['skeleton'];if(!_0x2a1e02)return;const _0x25b277=this[_0x2ca629(0x353)]();if(!_0x25b277)return;this['_cursors'][_0x2ca629(0x271)](_0x169ead=>{const _0xe787a=_0x2ca629;_0x169ead[_0xe787a(0x33e)]();});const {scene:_0x2ff062}=_0x25b277,_0x1ac7c2=xi(Array[_0x2ca629(0x350)](_0x49221e['values']()))[_0x2ca629(0x2d0)](_0x3bf93f=>{const _0xaab40d=_0x2ca629,{color:_0x5b3462,range:_0xb3bb70,name:_0x5a6d50,selection:_0x18b5ed,sheetID:_0x8076cd}=_0x3bf93f,{startColumn:_0x1774f9,startRow:_0x1a0783,endColumn:_0x4e2d73,endRow:_0x25320b}=_0xb3bb70,_0x542ed2=_0x235103(_0x1a0783,_0x1774f9,_0x2ff062,_0x2a1e02),_0x3818cf=_0x235103(_0x25320b,_0x4e2d73,_0x2ff062,_0x2a1e02),{columnHeaderHeightAndMarginTop:_0x11128b}=_0x2a1e02,{startX:_0x28422d,startY:_0x3ba866}=_0x542ed2,{endX:_0x32122f,endY:_0x4262d8}=_0x3818cf,_0x4a706d=_0x32122f-_0x28422d,_0x2efcd9=_0x4262d8-_0x3ba866,_0x3503d7={'labelPosition':_0x3ba866-_0x11128b>=ee?_0xaab40d(0x1d5):_0xaab40d(0x1b8),'sheetID':_0x8076cd,'range':_0xb3bb70,'color':_0x5b3462,'name':_0x5a6d50,'selection':_0x18b5ed,'left':_0x28422d,'top':_0x3ba866,'width':_0x4a706d,'height':_0x2efcd9,'evented':!0x1,'zIndex':$i};return new Li(_0x5a6d50,_0x3503d7);});_0x2ff062[_0x2ca629(0x340)](_0x1ac7c2,wi),this[_0x2ca629(0x33d)]=new Set(_0x1ac7c2);}[_0x34ed68(0x273)](){const _0x1864fe=_0x34ed68;var _0xe878e2;(_0xe878e2=this['_cursors'])==null||_0xe878e2[_0x1864fe(0x271)](_0x11e30c=>_0x11e30c[_0x1864fe(0x274)]());}['_getSheetObject'](){const _0x245d3f=_0x34ed68;return _0x30948f(this[_0x245d3f(0x349)]['unit'],this[_0x245d3f(0x349)]);}};Pe=yi([ve(0x1,_0x14dbb1(_0x4d797a)),ve(0x2,_0x14dbb1(H)),ve(0x3,_0x14dbb1(_0x48ae9c))],Pe);function xi(_0x2da78d){const _0x510d86=_0x34ed68,_0x2f59b6=new Map();return _0x2da78d[_0x510d86(0x271)](_0x11d880=>{const _0x143102=_0x510d86;if(_0x2f59b6[_0x143102(0x2b4)](_0x11d880[_0x143102(0x382)])){const _0x3d7740=_0x2f59b6[_0x143102(0x374)](_0x11d880[_0x143102(0x382)]);_0x3d7740[_0x143102(0x24a)]+=',\x20'+_0x11d880['name'];}else _0x2f59b6[_0x143102(0x22c)](_0x11d880['selection'],_0x11d880);}),Array[_0x510d86(0x350)](_0x2f59b6['values']());}var v=function(){const _0x2b6776=_0x34ed68;return v=Object[_0x2b6776(0x2a6)]||function(_0x1ecaa2){const _0x50a004=_0x2b6776;for(var _0x131289,_0x5776ad=0x1,_0xe2c185=arguments[_0x50a004(0x276)];_0x5776ad<_0xe2c185;_0x5776ad++){_0x131289=arguments[_0x5776ad];for(var _0x1973aa in _0x131289)Object[_0x50a004(0x26e)][_0x50a004(0x38c)]['call'](_0x131289,_0x1973aa)&&(_0x1ecaa2[_0x1973aa]=_0x131289[_0x1973aa]);}return _0x1ecaa2;},v[_0x2b6776(0x30a)](this,arguments);},Bi=function(_0x582b32,_0x52013d){const _0x355836=_0x34ed68;var _0x198522={};for(var _0x768ca6 in _0x582b32)Object[_0x355836(0x26e)][_0x355836(0x38c)][_0x355836(0x33b)](_0x582b32,_0x768ca6)&&_0x52013d[_0x355836(0x29d)](_0x768ca6)<0x0&&(_0x198522[_0x768ca6]=_0x582b32[_0x768ca6]);if(_0x582b32!=null&&typeof Object[_0x355836(0x1e4)]==_0x355836(0x214)){for(var _0x5b7049=0x0,_0x768ca6=Object['getOwnPropertySymbols'](_0x582b32);_0x5b7049<_0x768ca6[_0x355836(0x276)];_0x5b7049++)_0x52013d[_0x355836(0x29d)](_0x768ca6[_0x5b7049])<0x0&&Object[_0x355836(0x26e)][_0x355836(0x284)][_0x355836(0x33b)](_0x582b32,_0x768ca6[_0x5b7049])&&(_0x198522[_0x768ca6[_0x5b7049]]=_0x582b32[_0x768ca6[_0x5b7049]]);}return _0x198522;},je=_0x668588(function(_0x1beab4,_0x47f5cc){const _0x26d9fb=_0x34ed68;var _0x3a9c03=_0x1beab4[_0x26d9fb(0x2f6)],_0x2cb122=_0x1beab4['id'],_0x446e08=_0x1beab4['className'],_0x4e4128=_0x1beab4[_0x26d9fb(0x1e5)],_0x182aed=Bi(_0x1beab4,['icon','id',_0x26d9fb(0x325),'extend']),_0x13d984=_0x26d9fb(0x3a2)[_0x26d9fb(0x1f5)](_0x2cb122,'\x20')[_0x26d9fb(0x1f5)](_0x446e08||'')['trim'](),_0x3fd5cc=_0x447bc7('_'[_0x26d9fb(0x1f5)](ji()));return Rt(_0x3a9c03,''[_0x26d9fb(0x1f5)](_0x2cb122),{'defIds':_0x3a9c03[_0x26d9fb(0x38b)],'idSuffix':_0x3fd5cc[_0x26d9fb(0x314)]},v({'ref':_0x47f5cc,'className':_0x13d984},_0x182aed),_0x4e4128);});function Rt(_0xf52498,_0x5758c4,_0x15683e,_0x121d3a,_0x15f860){const _0x25ff78=_0x34ed68;return _0x1bd3ff(_0xf52498[_0x25ff78(0x36f)],v(v({'key':_0x5758c4},ki(_0xf52498,_0x15683e,_0x15f860)),_0x121d3a),(Hi(_0xf52498,_0x15683e)['children']||[])[_0x25ff78(0x2d0)](function(_0x2fb588,_0x5ad27f){const _0x3fc27a=_0x25ff78;return Rt(_0x2fb588,''[_0x3fc27a(0x1f5)](_0x5758c4,'-')[_0x3fc27a(0x1f5)](_0xf52498['tag'],'-')[_0x3fc27a(0x1f5)](_0x5ad27f),_0x15683e,void 0x0,_0x15f860);}));}function ki(_0x13a29a,_0x4b6f42,_0x1bbb3d){const _0xffff7e=_0x34ed68;var _0x48bdcf=v({},_0x13a29a[_0xffff7e(0x363)]);_0x1bbb3d!=null&&_0x1bbb3d[_0xffff7e(0x383)]&&_0x48bdcf['fill']==='colorChannel1'&&(_0x48bdcf[_0xffff7e(0x2b5)]=_0x1bbb3d[_0xffff7e(0x383)]),_0x13a29a[_0xffff7e(0x36f)]===_0xffff7e(0x379)&&_0x48bdcf['id']&&(_0x48bdcf['id']=_0x48bdcf['id']+_0x4b6f42['idSuffix']),Object[_0xffff7e(0x23a)](_0x48bdcf)[_0xffff7e(0x271)](function(_0x46c8cb){const _0x340f33=_0xffff7e;var _0xe2651d=_0x46c8cb[0x0],_0x33d53c=_0x46c8cb[0x1];_0xe2651d===_0x340f33(0x379)&&typeof _0x33d53c==_0x340f33(0x3ba)&&(_0x48bdcf[_0xe2651d]=_0x33d53c[_0x340f33(0x318)](/url\(#(.*)\)/,'url(#$1'[_0x340f33(0x1f5)](_0x4b6f42['idSuffix'],')')));});var _0x4ccd95=_0x4b6f42[_0xffff7e(0x38b)];return!_0x4ccd95||_0x4ccd95[_0xffff7e(0x276)]===0x0||(_0x13a29a['tag']===_0xffff7e(0x2b8)&&_0x48bdcf[_0xffff7e(0x34a)]&&(_0x48bdcf['xlink:href']=_0x48bdcf['xlink:href']+_0x4b6f42['idSuffix']),Object[_0xffff7e(0x23a)](_0x48bdcf)['forEach'](function(_0x83e407){const _0x53e439=_0xffff7e;var _0x3ba28a=_0x83e407[0x0],_0x2b1bfb=_0x83e407[0x1];typeof _0x2b1bfb==_0x53e439(0x3ba)&&(_0x48bdcf[_0x3ba28a]=_0x2b1bfb[_0x53e439(0x318)](/url\(#(.*)\)/,_0x53e439(0x304)[_0x53e439(0x1f5)](_0x4b6f42['idSuffix'],')')));})),_0x48bdcf;}function Hi(_0x1f3c28,_0x490fcd){const _0x8fac34=_0x34ed68;var _0x4ac97a,_0x43aed1=_0x490fcd[_0x8fac34(0x38b)];return!_0x43aed1||_0x43aed1[_0x8fac34(0x276)]===0x0?_0x1f3c28:_0x1f3c28[_0x8fac34(0x36f)]===_0x8fac34(0x1d0)&&(!((_0x4ac97a=_0x1f3c28[_0x8fac34(0x26a)])===null||_0x4ac97a===void 0x0)&&_0x4ac97a[_0x8fac34(0x276)])?v(v({},_0x1f3c28),{'children':_0x1f3c28[_0x8fac34(0x26a)][_0x8fac34(0x2d0)](function(_0x1ceb75){const _0x1e2941=_0x8fac34;return typeof _0x1ceb75[_0x1e2941(0x363)]['id']=='string'&&_0x43aed1&&_0x43aed1[_0x1e2941(0x39c)](_0x1ceb75[_0x1e2941(0x363)]['id'])?v(v({},_0x1ceb75),{'attrs':v(v({},_0x1ceb75[_0x1e2941(0x363)]),{'id':_0x1ceb75[_0x1e2941(0x363)]['id']+_0x490fcd[_0x1e2941(0x1f2)]})}):_0x1ceb75;})}):_0x1f3c28;}function ji(){const _0x957638=_0x34ed68;return Math[_0x957638(0x26f)]()['toString'](0x24)[_0x957638(0x39b)](0x2,0x8);}je[_0x34ed68(0x1c1)]=_0x34ed68(0x262);var Yi={'tag':_0x34ed68(0x377),'attrs':{'xmlns':_0x34ed68(0x244),'fill':_0x34ed68(0x335),'viewBox':'0\x200\x2016\x2016','width':_0x34ed68(0x390),'height':_0x34ed68(0x390)},'children':[{'tag':'g','attrs':{'clipPath':_0x34ed68(0x2aa)},'children':[{'tag':_0x34ed68(0x301),'attrs':{'stroke':_0x34ed68(0x396),'d':_0x34ed68(0x2ad),'strokeLinecap':'round','strokeLinejoin':_0x34ed68(0x25f),'strokeWidth':1.2}}]},{'tag':_0x34ed68(0x1d0),'attrs':{},'children':[{'tag':_0x34ed68(0x39a),'attrs':{'id':_0x34ed68(0x305)},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x34ed68(0x305)]},Dt=_0x668588(function(_0x1550a8,_0x4f39e4){const _0x461b56=_0x34ed68;return _0x1bd3ff(je,Object[_0x461b56(0x2a6)]({},_0x1550a8,{'id':_0x461b56(0x358),'ref':_0x4f39e4,'icon':Yi}));});Dt[_0x34ed68(0x1c1)]=_0x34ed68(0x20e);var Fi={'tag':_0x34ed68(0x377),'attrs':{'xmlns':_0x34ed68(0x244),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x34ed68(0x390),'height':_0x34ed68(0x390)},'children':[{'tag':'g','attrs':{'clipPath':_0x34ed68(0x26d)},'children':[{'tag':_0x34ed68(0x301),'attrs':{'stroke':_0x34ed68(0x396),'d':_0x34ed68(0x3a5),'strokeLinecap':_0x34ed68(0x25f),'strokeLinejoin':_0x34ed68(0x25f),'strokeWidth':1.2}}]},{'tag':_0x34ed68(0x1d0),'attrs':{},'children':[{'tag':_0x34ed68(0x39a),'attrs':{'id':_0x34ed68(0x247)},'children':[{'tag':_0x34ed68(0x301),'attrs':{'fill':_0x34ed68(0x387),'d':_0x34ed68(0x3af),'transform':_0x34ed68(0x1fb)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},Nt=_0x668588(function(_0x322a40,_0x409a49){const _0x576911=_0x34ed68;return _0x1bd3ff(je,Object['assign']({},_0x322a40,{'id':_0x576911(0x371),'ref':_0x409a49,'icon':Fi}));});Nt[_0x34ed68(0x1c1)]=_0x34ed68(0x2f9);function Wi(_0x1349d1){const _0x5801aa=_0x34ed68;switch(_0x1349d1){case _0x30563d['OFFLINE']:return _0x5801aa(0x1d4);case _0x30563d[_0x5801aa(0x339)]:return _0x5801aa(0x373);case _0x30563d[_0x5801aa(0x2c6)]:return _0x5801aa(0x31f);case _0x30563d[_0x5801aa(0x1fe)]:return _0x5801aa(0x245);case _0x30563d[_0x5801aa(0x36c)]:case _0x30563d[_0x5801aa(0x1c7)]:return _0x5801aa(0x237);case _0x30563d[_0x5801aa(0x34e)]:case _0x30563d[_0x5801aa(0x342)]:return _0x5801aa(0x2f5);}}function Vi(_0x54bffb){const _0x12370f=_0x34ed68,{status$:_0x285ed5}=_0x54bffb,_0x59c86e=_0x309a37(_0x285ed5,_0x30563d[_0x12370f(0x1fe)]),_0x164ee2=_0x2f7d34(_0x2c38b4),_0x1d02f7=_0x2f7d34(_0x32a5b1),_0x2ceb32=_0x59c86e!==_0x30563d[_0x12370f(0x207)],_0x252aba=_0x164ee2['t'](Wi(_0x59c86e)),_0x247401=_0x2ceb32?_0x546db3(Nt,{}):_0x546db3(Dt,{}),_0x93723=_0x132172(()=>{const _0x1bae10=_0x12370f;_0x2ceb32||_0x1d02f7[_0x1bae10(0x1f8)]();},[_0x2ceb32,_0x1d02f7]);function _0x3c4ec1(){const _0x4fca52=_0x12370f;return _0x39aa16('div',{'className':_0x4fca52(0x343),'onClick':_0x93723,'children':[_0x546db3(_0x4fca52(0x202),{'className':_0x596fff('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2ceb32,'univer-text-red-500':!_0x2ceb32}),'children':_0x247401}),_0x546db3(_0x4fca52(0x202),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x252aba})]});}return _0x2ceb32?_0x3c4ec1():_0x546db3(_0x1acaca,{'title':_0x164ee2['t'](_0x12370f(0x25d)),'children':_0x3c4ec1()});}var Xi=Object[_0x34ed68(0x348)],Gi=(_0x4044ac,_0x4ad14a,_0xeb80bb,_0x54298e)=>{const _0x23f390=_0x34ed68;for(var _0x424eee=_0x54298e>0x1?void 0x0:_0x54298e?Xi(_0x4ad14a,_0xeb80bb):_0x4ad14a,_0x555eb4=_0x4044ac[_0x23f390(0x276)]-0x1,_0x5e4306;_0x555eb4>=0x0;_0x555eb4--)(_0x5e4306=_0x4044ac[_0x555eb4])&&(_0x424eee=_0x5e4306(_0x424eee)||_0x424eee);return _0x424eee;},Q=(_0x4f7003,_0x409d10)=>(_0x3ee9ad,_0x17a28d)=>_0x409d10(_0x3ee9ad,_0x17a28d,_0x4f7003);let te=class extends _0x466226{constructor(_0x189f69,_0x1d6d6c,_0x4f7ee2,_0x36ade6){const _0x491ed5=_0x34ed68;super(),_(this,'_status$',new _0x521682(_0x30563d[_0x491ed5(0x1fe)])),(this[_0x491ed5(0x2de)]=_0x189f69,this['_injector']=_0x1d6d6c,this[_0x491ed5(0x275)]=_0x4f7ee2,this[_0x491ed5(0x2bd)]=_0x36ade6,this[_0x491ed5(0x306)](),this[_0x491ed5(0x33a)]());}[_0x34ed68(0x33a)](){const _0x276b22=_0x34ed68;this['disposeWithMe'](this['_univerInstanceService'][_0x276b22(0x2ab)][_0x276b22(0x367)](_0x5077c3(()=>{const _0x36f2bc=_0x276b22,_0x5b09a7=this[_0x36f2bc(0x2de)]['getFocusedUnit']();return _0x5b09a7?this[_0x36f2bc(0x275)][_0x36f2bc(0x312)](_0x5b09a7[_0x36f2bc(0x38d)]()):_0x212c6d(null);}),_0x5077c3(_0x549e53=>_0x549e53?_0x549e53[_0x276b22(0x31b)]:_0x212c6d(_0x30563d[_0x276b22(0x1fe)])))['subscribe'](_0x1bf4da=>{const _0x32a0b2=_0x276b22;this[_0x32a0b2(0x20a)][_0x32a0b2(0x203)](_0x1bf4da);}));}[_0x34ed68(0x306)](){const _0x34c072=_0x34ed68;this[_0x34c072(0x33c)](this[_0x34c072(0x2bd)][_0x34c072(0x37a)](_0xb35168[_0x34c072(0x2eb)],()=>_0x123d13(Ki({'status$':this['_status$'][_0x34c072(0x39d)]()}),this[_0x34c072(0x279)])));}};te=Gi([Q(0x0,_0x7852ac),Q(0x1,_0x14dbb1(_0x254573)),Q(0x2,_0x14dbb1(_0x5a4ad7)),Q(0x3,_0x3f86df)],te);function _0x3aff(){const _0x58deca=['startRow','runId','ALREADY_EXISTS','getValue','_drawRectRange','collabStatus.syncing','drawWith','USER_NOT_INVITED_CODE','entries','registerRefRange','_transformHistoryAndStateStack','searchParams','split','activeSheet$','INTERNAL_ERROR','Failed','_hovered','MoveRangeCommandId','http://www.w3.org/2000/svg','collabStatus.notCollab','_docStateChangeManagerService','on-line-icon_clip0_910_349','_initEntityListener','UNIVER_SHEET','name','SNAPSHOT_INVALID_SNAPSHOT','LICENSE_DISTRO_REJECTED','_textBubble','roomMembers$','setAlpha','ONLINE','ENSURE_SNAPSHOT_EXECUTION','_range','getRangePointData','_messageService','_cursorShapes','engine','unload','undoState','_setupSubUnitSync','_roomMembers$','blue.400','pluginName','collab-client.tooltip.reconnect','VIEW_MAIN','round','DeleteRangeMoveLeftCommandId','_anchorDot','UniverIcon','cursorInfo','_color','WECHAT_HAS_BEEN_BOUND','_id','labelPosition','getCurrentUnitForType','PERMISSION_DENIED','children','TOO_MANY_REQUESTS','SUBMIT_CHANGESET_TIMEOUT','url(#on-line-icon_clip0_910_349)','prototype','random','#FFF','forEach','registerBeforeClose','_removeCollabCursors','dispose','_collaborationController','length','text','executionId','_injector','INVALID_INVITE_CODE','setShapeProps','getSheetBySheetId','onStarting','_selfUnitIDs','INVITE_CODE_ALREADY_BOUND','invokeId','_startSheetCollabCursor','_setupBeforeClosingHandler','LOGIN_FAILED','propertyIsEnumerable','m1Prime','sessionTicket','CONNECTOR_DATA_TOO_LARGE','collaboration.closeRoom','_unitStatus','fillRule','replaceState','saveImage','_initEvent','exhaustSavingTask','_online','_entityInit$','_createSocketURL','red.300','getActiveSheet','type','LICENSE_EXPORT_SIZE_EXCEEDED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_unitOnClients','_heartbeatTimer','_hideTimer','mutations','add','_cursorInfo$','indexOf','_beforeCloseService','_getSessionTicket','_anchor','APPLY_REJECT','getUndoRedoMutationParamsCache','_lastPointer','loadUnit','collaboration-client.offline-data-not-saved','assign','fillText','executeCommand','_syncEditingCollabCursorService','url(#off-line-icon_clip0_910_343)','focused$','font','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','debug','getUniverSheetInstance','some','_initCommandExecutedListener','_docClipboardService','unitId','has','fill','getStateCache','save','use','hide','LICENSE_IMPORT_SIZE_EXCEEDED','unitID','_initResize','_uiPartsService','getSkeleton','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','imageSourceType','min','USERS_LEAVE','_backgroundColor','_scheduleClearOtherTimer','_handleJoinEvent','FETCH_MISS','_drawAnchor','_getScale','pushState','permission.content','origin','_scene','endColumn','_urlService','session.collaboration-timeout','map','_init','clearTimeout','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setParam','assignAColorForMemberID','_transformService','lineTo','syncEditingCollabCursor','init','_getSaveTimeout','yellow.400','moveTo','m2Prime','_univerInstanceService','SOCKET_FAILED_RETRY','getCurrentRevOfUnit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','EMAIL_HAS_BEEN_BOUND','result','rgba(255,\x20255,\x20255,\x200.01)','arc','_localeService','stringify','push','data','createSocket','HEADER_MENU','sheetID','YUUMI_ASYNCIO_CANCELLED','entityInit$','sessionStatus$','_cachedData','_httpService','LICENSE_MAX_UNITS_EXCEEDED','_draw','_dataLoaderService','collabStatus.synced','icon','collab-text-range-','closePath','OnLineIcon','uni.network.url-service','onCommandExecuted','4408660IxGQrh','getTypeOfUnitAdded$','InsertRangeMoveRightCommandId','disposeUnit','_collaborationUIEventService','path','wsSessionTicketUrl','unshift','url(#$1','off-line-icon_clip0_910_343','_initStatusComponent','Unknown\x20user','_updateURLWithCurrentState','onRendered','apply','delete','_shapes','restore','black','height','unsubscribe','5185724TppPKd','getCollabEntity$','loadOfflineData','current','setTimeout','docStateChange$','measureText','replace','subscribe','urlChange$','status$','_eventUnsubscribe','_imageIoService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','collabStatus.fetchMiss','InsertColCommandId','_onRefRangeChange','UNIVER_DOC','collab-rect-range-','_logService','className','_localStorageService','UNAUTHENTICATED','values','subscribeEvent','getActiveRange','generateRandomId','setUndoRedoMutationParamsCache','_getMergeRange','SOCKET_FAILED','getColorFromTheme','range','_session','subunit','memberID','_saveTaskMap','none','roomMembers','_registerRenderDependencies','_assignedColors','CONFLICT','_initStatusListener','call','disposeWithMe','_cursors','makeDirty','_registerDependencies','addObjects','INVITE_CODE_REQUIRED','PENDING','univer-flex\x20univer-items-center','getItem','_updateCollabCursors','doc.mutation.rich-text-editing','error','getOwnPropertyDescriptor','_context','xlink:href','location','href','isArray','SYNCED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','from','_configService','_sheetSkeletonManagerService','_getSheetObject','UPDATE_CURSOR','[CollaborationDataLoaderController]','_drawTextRange','_localCacheService','off-line-icon','size','getDocRanges','Error','_name','getUnhiddenWorksheets','with','_config','NO_OTHER_CLIENTS_EDITING','_render','INVALID_ARGUMENT','attrs','UNDEFINED','_notificationService','_clearOtherTimers','pipe','session.will-retry','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collaboration-client-ui.config','textRanges','AWAITING','_revisionService','TEXT','tag','eventID','on-line-icon','1074738WwiEes','collabStatus.conflict','get','history','subUnitId','svg','setConfig','mask','registerComponent','then','Warning','_toggleOffline','getTypeOfUnitDisposed$','isEditing','_handleLeaveEvent','FromArray','selection','colorChannel1','runOnServer','currentSkeleton$','getSheetId','white','_colorAssignService','_collabSessionService','event$','defIds','hasOwnProperty','getUnitId','APPLY_REVISION_CONFILICT','startColumn','1em','getMemberID','currentTheme$','ranges','_themeService','_scheduleSaving','currentColor','_handleHover','_transformPreviousActiveRange','3vKXBsV','clipPath','substring','includes','asObservable','permission.title','setItem','endRow','_docTransformIMECacheService','univerjs-icon\x20univerjs-icon-','sheetId','transformSelections','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','dispose$','YUUMI_RATE_OVER_LIMIT','show','redoState','NOT_FOUND','MUTATION','OTHER_CLIENTS_EDITING','528936wVdCIA','DeleteRangeMoveUpCommandId','M0\x200H16V16H0z','getFocusedUnit','transform','_handleHeartbeatEvent','SNAPSHOT_HAS_BEEN_REMOVED','_colorIndex','purple.300','defineProperty','editingUnit','_saveCache','_collabCursorController','string','_ensureSubject','onTransformChange$','bottom','UNRECOGNIZED','getUnitStatus$','replaceDocRanges','cursorInfo$','green.600','onPointerLeave$','toRgbString','APPLY_DUPLICATED','displayName','_updateLocalCursor','clearInterval','_renderManagerService','symbol','_memberService','AWAITING_WITH_PENDING','33542YnADyS','hovered','getParam','column','transformByState','getRenderById','getVpScrollXYInfoByPosToVp','getConfig','defs','YUUMI_NO_CUBOID_FOR_QUESTION','params','1551610KbNAak','collabStatus.offline','top','_toggleOnline','_updateSubUnitFromURLParams','...','onMouseMove','_entities','_labelPosition','setStateCache','RemoveColCommandId','APPLY_PERMISSION_DENIED','onLocalMutation','toString','triggerDblclick','_handleEvent','_docTransformStateCacheService','getOwnPropertySymbols','extend','_docTransformSelectionsService','send','_scheduleHeartbeat','parse','_doCreateSocket','_commandService','requireSession','MOBILE_HAS_BEEN_BOUND','saveOfflineData','RECT','unit','_instanceService','idSuffix','CHANGESET_REVISION_CONFILICT','complete','concat','newValue','_hover','reconnect','row','color','translate(.97)','registerRenderModule','_onCursorUpdate','NOT_COLLAB','transformRemoteChangeset','setActiveRange','55626975BAJMiL','div','next','getCurrentSelections','COMPLETION_FINISHED','enableLocalCache','OFFLINE','_refRangeService','YUUMI_SUBSCRIPTION_NOT_FOUND','_status$','InsertRangeMoveDownCommandId','InsertRowCommandId','_collabCursorState$','OffLineIcon','contains','_initDependencies','APPLY_NON_SEQUENTIAL_REVISION','fillStyle','133eyEpGU','function','YUUMI_ALL_TABLES_IS_INVALID','transformStateCache','evenodd','ACTIVE_UNIT_EVENT_CHANNEL','jiqing.500','_onCursorDelete','getAncestorScale','findNodePositionByCharIndex','_transformUndoRedoStack','max','width','all','RemoveRowCommandId','_disabled','transformMutation','addObject','onPointerEnter$','_send','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getCurrent','_docSyncEditingCollabCursorService','body','getMember','set','getCollabCursors$','YUUMI_URL_COL_OUT_OF_RANGE','deepClone','addClipboardHook','YUUMI_UNABLE_LOAD_URL'];_0x3aff=function(){return _0x58deca;};return _0x3aff();}function Ki(_0x38c39f){const {status$:_0x3fe6ff}=_0x38c39f;return function(){return _0x546db3(Vi,{'status$':_0x3fe6ff});};}var zi=Object[_0x34ed68(0x348)],Ji=(_0x4348df,_0x15c054,_0x2217fb,_0xcd7d0c)=>{const _0x459540=_0x34ed68;for(var _0x3b6bf8=_0xcd7d0c>0x1?void 0x0:_0xcd7d0c?zi(_0x15c054,_0x2217fb):_0x15c054,_0x3b032e=_0x4348df[_0x459540(0x276)]-0x1,_0x9dfa0f;_0x3b032e>=0x0;_0x3b032e--)(_0x9dfa0f=_0x4348df[_0x3b032e])&&(_0x3b6bf8=_0x9dfa0f(_0x3b6bf8)||_0x3b6bf8);return _0x3b6bf8;},B=(_0x260947,_0x17928d)=>(_0x1f06f9,_0xd0b548)=>_0x17928d(_0x1f06f9,_0xd0b548,_0x260947);let se=class extends _0x466226{constructor(_0x52513e,_0x461233,_0x28053b,_0x393ce3,_0x4750c6,_0x151e4e){const _0x458967=_0x34ed68;super(),this['_beforeCloseService']=_0x52513e,this[_0x458967(0x357)]=_0x461233,this[_0x458967(0x300)]=_0x28053b,this[_0x458967(0x254)]=_0x393ce3,this[_0x458967(0x365)]=_0x4750c6,this['_localeService']=_0x151e4e,this[_0x458967(0x282)](),this[_0x458967(0x28d)]();}[_0x34ed68(0x282)](){const _0x348357=_0x34ed68;this['disposeWithMe'](this[_0x348357(0x29e)][_0x348357(0x272)](()=>{const _0x3c6a24=_0x348357;if(this['_localCacheService']['saveTaskMap']['size'])return this[_0x3c6a24(0x2e6)]['t'](_0x3c6a24(0x2a5));}));}[_0x34ed68(0x28d)](){const _0x40b8ee=_0x34ed68;this['disposeWithMe'](this[_0x40b8ee(0x300)][_0x40b8ee(0x38a)][_0x40b8ee(0x319)](_0x15a391=>{const _0x3ae2cc=_0x40b8ee;_0x15a391['id']===_0x298404['OTHER_CLIENT_EDITING']&&this[_0x3ae2cc(0x254)][_0x3ae2cc(0x3a8)]({'type':_0x5bf09c[_0x3ae2cc(0x37c)],'content':this[_0x3ae2cc(0x2e6)]['t']('collaboration.single-unit.warning')}),_0x15a391['id']===_0x298404['CLOSE_ROOM']&&this[_0x3ae2cc(0x254)][_0x3ae2cc(0x3a8)]({'type':_0x5bf09c[_0x3ae2cc(0x37c)],'content':this['_localeService']['t'](_0x3ae2cc(0x288))}),_0x15a391['id']===_0x298404['PERMISSION_DENIED']&&this[_0x3ae2cc(0x365)][_0x3ae2cc(0x3a8)]({'title':this['_localeService']['t'](_0x3ae2cc(0x39e)),'content':this[_0x3ae2cc(0x2e6)]['t'](_0x3ae2cc(0x2ca)),'type':_0x3ae2cc(0x347),'duration':0x0}),_0x15a391['id']===_0x298404['CONFLICT']&&this[_0x3ae2cc(0x254)][_0x3ae2cc(0x3a8)]({'type':_0x5bf09c[_0x3ae2cc(0x35b)],'content':this['_localeService']['t'](_0x3ae2cc(0x288))+'('+_0x15a391[_0x3ae2cc(0x2e9)]+')'}),_0x15a391['id']===_0x298404['JOIN_ROOM_FAILED']&&this[_0x3ae2cc(0x254)][_0x3ae2cc(0x3a8)]({'type':_0x5bf09c[_0x3ae2cc(0x37c)],'content':this[_0x3ae2cc(0x2e6)]['t'](_0x15a391[_0x3ae2cc(0x2e9)]||'')}),_0x15a391['id']===_0x298404[_0x3ae2cc(0x2df)]&&this[_0x3ae2cc(0x254)][_0x3ae2cc(0x3a8)]({'type':_0x5bf09c[_0x3ae2cc(0x37c)],'content':this[_0x3ae2cc(0x2e6)]['t'](_0x3ae2cc(0x368))}),_0x15a391['id']===_0x298404[_0x3ae2cc(0x32e)]&&this[_0x3ae2cc(0x254)][_0x3ae2cc(0x3a8)]({'type':_0x5bf09c[_0x3ae2cc(0x35b)],'content':this['_localeService']['t']('session.connection-failed')}),_0x15a391['id']===_0x298404[_0x3ae2cc(0x26c)]&&this[_0x3ae2cc(0x254)]['show']({'type':_0x5bf09c['Error'],'content':this[_0x3ae2cc(0x2e6)]['t'](_0x3ae2cc(0x2cf))});}));}};se=Ji([B(0x0,_0x5f527f),B(0x1,_0x4082ad),B(0x2,_0x14dbb1(_0x2f6d4b)),B(0x3,_0x561b1b),B(0x4,_0x521b77),B(0x5,_0x14dbb1(_0x2c38b4))],se);const Zi=_0x34ed68(0x36a),et={},Ut=_0x2d0a07(_0x34ed68(0x2fa));var Qi=Object[_0x34ed68(0x348)],qi=(_0x4d1db2,_0x3b8a4c,_0x36af73,_0x18f44f)=>{for(var _0x3fe7b9=_0x18f44f>0x1?void 0x0:_0x18f44f?Qi(_0x3b8a4c,_0x36af73):_0x3b8a4c,_0xc75c21=_0x4d1db2['length']-0x1,_0x9e9f1;_0xc75c21>=0x0;_0xc75c21--)(_0x9e9f1=_0x4d1db2[_0xc75c21])&&(_0x3fe7b9=_0x9e9f1(_0x3fe7b9)||_0x3fe7b9);return _0x3fe7b9;},G=(_0x23b231,_0x3fc625)=>(_0x23f3c5,_0x4a0b4b)=>_0x3fc625(_0x23f3c5,_0x4a0b4b,_0x23b231);let ie=class extends _0x357e51{constructor(_0x2548e7,_0x3ccb44,_0x3184fc,_0x24fd36,_0x23865c){const _0x13a758=_0x34ed68;super(),this[_0x13a758(0x2ce)]=_0x2548e7,this[_0x13a758(0x324)]=_0x3ccb44,this[_0x13a758(0x1eb)]=_0x3184fc,this[_0x13a758(0x2f4)]=_0x24fd36,_0x23865c?_0x23865c==null||_0x23865c['whenReady']()[_0x13a758(0x37b)](()=>this['_init']()):(this['_logService'][_0x13a758(0x2ae)](_0x13a758(0x355),_0x13a758(0x34f)),this[_0x13a758(0x2d1)]());}async[_0x34ed68(0x2d1)](){const _0x43b019=_0x34ed68,_0x6bf0e=this[_0x43b019(0x2ce)]['getParam'](_0x43b019(0x1f0)),_0x8df5de=this[_0x43b019(0x2ce)]['getParam'](_0x43b019(0x294)),_0x359d45=this[_0x43b019(0x2ce)]['getParam']('subunit');if(!_0x6bf0e||!_0x8df5de){this['_logService'][_0x43b019(0x2ae)](_0x43b019(0x355),_0x43b019(0x2d3));return;}const _0x1c570c=await this['_dataLoaderService'][_0x43b019(0x2a4)](_0x6bf0e,Number(_0x8df5de),_0x359d45);_0x1c570c&&_0x1c570c instanceof _0x14434d&&this[_0x43b019(0x259)](_0x1c570c);}async[_0x34ed68(0x259)](_0x19ef12){const _0x2afc43=_0x34ed68;await this[_0x2afc43(0x1d7)](_0x19ef12),_0x19ef12[_0x2afc43(0x23f)]['pipe'](_0x52624f(this['dispose$']))[_0x2afc43(0x319)](_0xf4ce40=>{_0xf4ce40&&this['_updateURLWithCurrentState'](_0xf4ce40);}),this[_0x2afc43(0x2ce)][_0x2afc43(0x31a)]['pipe'](_0x52624f(this[_0x2afc43(0x3a6)]))[_0x2afc43(0x319)](()=>this[_0x2afc43(0x1d7)](_0x19ef12));}[_0x34ed68(0x308)](_0x100a74,_0x520dd8=!0x1){const _0x1df800=_0x34ed68,_0xad39ed=this[_0x1df800(0x2ce)]['getParam'](_0x1df800(0x332));_0x100a74[_0x1df800(0x386)]()!==_0xad39ed&&this[_0x1df800(0x2ce)][_0x1df800(0x2d4)](_0x1df800(0x332),_0x100a74['getSheetId'](),_0x520dd8);}async[_0x34ed68(0x1d7)](_0x1d50f4){const _0x34a769=_0x34ed68;var _0x156b1e;const _0xc7aae6=this[_0x34a769(0x2ce)][_0x34a769(0x1ca)](_0x34a769(0x332));if(!_0xc7aae6||!_0x1d50f4[_0x34a769(0x27c)](_0xc7aae6)){const _0x27b925=_0x1d50f4[_0x34a769(0x35d)]()[0x0],_0x2f1886=_0x1d50f4[_0x34a769(0x27c)](_0x27b925);if(!_0x2f1886)return;this[_0x34a769(0x308)](_0x2f1886,!0x0),await this[_0x34a769(0x1eb)][_0x34a769(0x2a8)](_0x577d96['id'],{'unitId':_0x1d50f4[_0x34a769(0x38d)](),'subUnitId':_0x27b925});return;}((_0x156b1e=_0x1d50f4[_0x34a769(0x293)]())==null?void 0x0:_0x156b1e['getSheetId']())!==_0xc7aae6&&await this[_0x34a769(0x1eb)][_0x34a769(0x2a8)](_0x577d96['id'],{'unitId':_0x1d50f4[_0x34a769(0x38d)](),'subUnitId':_0xc7aae6});}};ie=qi([G(0x0,Ut),G(0x1,_0x1d711d),G(0x2,_0xf52f51),G(0x3,_0x14dbb1(_0x3fb6d3)),G(0x4,_0x4c0cd6(_0x2791c9))],ie);var en=Object[_0x34ed68(0x348)],tn=(_0x3af09c,_0x2a5b68,_0x3cddf0,_0x500ebd)=>{const _0x86f88=_0x34ed68;for(var _0x5dcdb0=_0x500ebd>0x1?void 0x0:_0x500ebd?en(_0x2a5b68,_0x3cddf0):_0x2a5b68,_0x253db3=_0x3af09c[_0x86f88(0x276)]-0x1,_0x3f7d8d;_0x253db3>=0x0;_0x253db3--)(_0x3f7d8d=_0x3af09c[_0x253db3])&&(_0x5dcdb0=_0x3f7d8d(_0x5dcdb0)||_0x5dcdb0);return _0x5dcdb0;},pe=(_0x4f4563,_0x3dfe45)=>(_0x4864cc,_0x1dbfb2)=>_0x3dfe45(_0x4864cc,_0x1dbfb2,_0x4f4563);let ne=class{constructor(_0x100b2b,_0x4e72d4,_0x448610){const _0x28c1d1=_0x34ed68;this['_injector']=_0x100b2b,this[_0x28c1d1(0x2d6)]=_0x4e72d4,this['_renderManagerService']=_0x448610;}['transformIMECache'](_0x40228b){const _0x3c28fc=_0x34ed68;this[_0x3c28fc(0x21d)](_0x40228b),this['_transformPreviousActiveRange'](_0x40228b);}[_0x34ed68(0x1ff)](_0x24acd5){const _0x1a52f3=_0x34ed68,{unitID:_0x53e587}=_0x24acd5,_0x4e92b5=this['_renderManagerService'][_0x1a52f3(0x1cd)](_0x53e587)[_0x1a52f3(0x35e)](_0x26a869),{redoCache:_0x4c8883}=_0x4e92b5[_0x1a52f3(0x2a2)]();if(_0x4c8883[_0x1a52f3(0x276)]===0x0)return _0x24acd5;let _0x791d1a=_0x1124dc[_0x1a52f3(0x22f)](_0x24acd5[_0x1a52f3(0x29a)][0x0]);for(let _0x2f2369=0x0;_0x2f2369<_0x4c8883[_0x1a52f3(0x276)];_0x2f2369++){const _0x3af846={'id':_0x1a52f3(0x346),'params':{..._0x4c8883[_0x2f2369]}},_0x13145c=this[_0x1a52f3(0x2d6)][_0x1a52f3(0x223)](_0x791d1a,_0x3af846,!0x1);if(_0xae92ad(_0x13145c))throw _0x13145c['error'];_0x791d1a=_0x13145c[_0x1a52f3(0x285)];}return{..._0x1124dc[_0x1a52f3(0x22f)](_0x24acd5),'mutations':[_0x791d1a]};}[_0x34ed68(0x21d)](_0x538e6){const _0x22d667=_0x34ed68,{unitID:_0x1d4bf5}=_0x538e6,_0x3de346=this[_0x22d667(0x1c4)][_0x22d667(0x1cd)](_0x1d4bf5)[_0x22d667(0x35e)](_0x26a869),{undoCache:_0x5838f8,redoCache:_0x461cc0}=_0x3de346[_0x22d667(0x2a2)]();if(_0x5838f8['length']===0x0||_0x461cc0[_0x22d667(0x276)]===0x0)return;const _0x723669=[],_0x809d3c=[];let _0x707c2=_0x1124dc[_0x22d667(0x22f)](_0x538e6['mutations'][0x0]),_0x109e9b=_0x1124dc[_0x22d667(0x22f)](_0x538e6[_0x22d667(0x29a)][0x0]);for(let _0x204d3e=_0x5838f8['length']-0x1;_0x204d3e>=0x0;_0x204d3e--){const _0x104ff9={'id':'doc.mutation.rich-text-editing','params':{..._0x5838f8[_0x204d3e]}},_0x331252={'id':'doc.mutation.rich-text-editing','params':{..._0x461cc0[_0x204d3e]}},_0x2b4fc8=this[_0x22d667(0x2d6)][_0x22d667(0x223)](_0x707c2,_0x104ff9,!0x1),_0x1bf040=this[_0x22d667(0x2d6)]['transformMutation'](_0x109e9b,_0x331252,!0x1);if(_0xae92ad(_0x2b4fc8))throw _0x2b4fc8[_0x22d667(0x347)];if(_0xae92ad(_0x1bf040))throw _0x1bf040[_0x22d667(0x347)];_0x723669[_0x22d667(0x303)](_0x2b4fc8['m2Prime'][_0x22d667(0x1d2)]),_0x809d3c[_0x22d667(0x303)](_0x1bf040[_0x22d667(0x2dd)][_0x22d667(0x1d2)]),_0x707c2=_0x2b4fc8[_0x22d667(0x285)],_0x109e9b=_0x1bf040[_0x22d667(0x285)];}_0x3de346[_0x22d667(0x32c)]({'undoCache':_0x723669,'redoCache':_0x809d3c});}[_0x34ed68(0x398)](_0x342725){const _0x19ecb1=_0x34ed68,{unitID:_0x371274}=_0x342725,_0x1afaf7=this[_0x19ecb1(0x1c4)][_0x19ecb1(0x1cd)](_0x371274)['with'](_0x26a869),_0x8926b7=_0x1afaf7[_0x19ecb1(0x32a)]();if(_0x8926b7==null)return;const _0x3e9dd4=[{'id':_0x19ecb1(0x346),'params':{'unitId':_0x342725[_0x19ecb1(0x2bb)],'actions':null,'textRanges':[_0x8926b7]}}],_0x3e73f7=this[_0x19ecb1(0x2d6)]['transformMutationsWithChangeset'](_0x342725,_0x3e9dd4);if(!_0x500b59(_0x3e73f7))throw _0x3e73f7['error'];const _0x16d5f1=_0x3e73f7[_0x19ecb1(0x2dd)][0x0]['params'][_0x19ecb1(0x36b)];Array['isArray'](_0x16d5f1)&&_0x16d5f1[_0x19ecb1(0x276)]&&_0x1afaf7[_0x19ecb1(0x200)](_0x16d5f1[0x0]);}};ne=tn([pe(0x0,_0x14dbb1(_0x254573)),pe(0x1,_0x492e54),pe(0x2,_0x341aca)],ne);var sn=Object[_0x34ed68(0x348)],nn=(_0x1c873b,_0x5370f3,_0x36988a,_0x4db1b4)=>{const _0x1bd576=_0x34ed68;for(var _0xc0cdc6=_0x4db1b4>0x1?void 0x0:_0x4db1b4?sn(_0x5370f3,_0x36988a):_0x5370f3,_0x513998=_0x1c873b[_0x1bd576(0x276)]-0x1,_0x17bbd0;_0x513998>=0x0;_0x513998--)(_0x17bbd0=_0x1c873b[_0x513998])&&(_0xc0cdc6=_0x17bbd0(_0xc0cdc6)||_0xc0cdc6);return _0xc0cdc6;},Ce=(_0xbc925e,_0x445c1c)=>(_0x4661ab,_0x190406)=>_0x445c1c(_0x4661ab,_0x190406,_0xbc925e);let re=class{constructor(_0xed8640,_0xa8e535,_0x211f36){const _0xf08d4c=_0x34ed68;this[_0xf08d4c(0x279)]=_0xed8640,this[_0xf08d4c(0x2d6)]=_0xa8e535,this['_docStateChangeManagerService']=_0x211f36;}['transformStateCache'](_0x43b7a5){const _0x4dcaca=_0x34ed68;this[_0x4dcaca(0x23c)](_0x43b7a5);}[_0x34ed68(0x1ff)](_0x33213c){const _0x4bc47f=_0x34ed68,{unitID:_0x24eb57}=_0x33213c,{collaboration:_0x513a9f}=this[_0x4bc47f(0x246)][_0x4bc47f(0x2b6)](_0x24eb57);if(_0x513a9f['length']===0x0)return _0x33213c;let _0x30425f=_0x1124dc['deepClone'](_0x33213c['mutations'][0x0]);for(let _0x36082b=0x0;_0x36082b<_0x513a9f[_0x4bc47f(0x276)];_0x36082b++){const _0x552ee5={'id':_0x4bc47f(0x346),'params':{'unitId':_0x513a9f[_0x36082b][_0x4bc47f(0x2b3)],..._0x513a9f[_0x36082b]['redoState']}},_0x181857=this[_0x4bc47f(0x2d6)]['transformMutation'](_0x30425f,_0x552ee5,!0x1);if(_0xae92ad(_0x181857))throw _0x181857['error'];_0x30425f=_0x181857[_0x4bc47f(0x285)];}return{..._0x1124dc[_0x4bc47f(0x22f)](_0x33213c),'mutations':[_0x30425f]};}['_transformHistoryAndStateStack'](_0x48b773){const _0x3f6633=_0x34ed68,{unitID:_0x5f4b1e}=_0x48b773,{history:_0xf1b116,collaboration:_0xa01664}=this[_0x3f6633(0x246)][_0x3f6633(0x2b6)](_0x5f4b1e);if(_0xf1b116['length']===0x0&&_0xa01664['length']===0x0)return;const _0x31ba66=[],_0x5c16f7=[];let _0x222bed=_0x1124dc[_0x3f6633(0x22f)](_0x48b773['mutations'][0x0]),_0x15933c=_0x1124dc[_0x3f6633(0x22f)](_0x48b773[_0x3f6633(0x29a)][0x0]);for(let _0x94e5cb=_0xf1b116['length']-0x1;_0x94e5cb>=0x0;_0x94e5cb--){const _0x3d4693={'id':_0x3f6633(0x346),'params':{'unitId':_0xf1b116[_0x94e5cb][_0x3f6633(0x2b3)],..._0xf1b116[_0x94e5cb][_0x3f6633(0x258)]}},_0x213dac={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf1b116[_0x94e5cb][_0x3f6633(0x2b3)],..._0xf1b116[_0x94e5cb][_0x3f6633(0x3a9)]}},_0x27114d=this['_transformService'][_0x3f6633(0x223)](_0x222bed,_0x3d4693,!0x1),_0x483f8d=this[_0x3f6633(0x2d6)]['transformMutation'](_0x15933c,_0x213dac,!0x1);if(_0xae92ad(_0x27114d))throw _0x27114d[_0x3f6633(0x347)];if(_0xae92ad(_0x483f8d))throw _0x483f8d['error'];_0x31ba66[_0x3f6633(0x303)]({..._0xf1b116[_0x94e5cb],'undoState':_0x27114d[_0x3f6633(0x2dd)][_0x3f6633(0x1d2)],'redoState':_0x483f8d[_0x3f6633(0x2dd)][_0x3f6633(0x1d2)]}),_0x222bed=_0x27114d['m1Prime'],_0x15933c=_0x483f8d[_0x3f6633(0x285)];}_0x222bed=_0x1124dc[_0x3f6633(0x22f)](_0x48b773[_0x3f6633(0x29a)][0x0]),_0x15933c=_0x1124dc[_0x3f6633(0x22f)](_0x48b773[_0x3f6633(0x29a)][0x0]);for(let _0x3306a7=_0xa01664[_0x3f6633(0x276)]-0x1;_0x3306a7>=0x0;_0x3306a7--){const _0x5da889={'id':_0x3f6633(0x346),'params':{'unitId':_0xa01664[_0x3306a7]['unitId'],..._0xa01664[_0x3306a7][_0x3f6633(0x258)]}},_0x4a3806={'id':_0x3f6633(0x346),'params':{'unitId':_0xa01664[_0x3306a7][_0x3f6633(0x2b3)],..._0xa01664[_0x3306a7]['redoState']}},_0x20f471=this['_transformService']['transformMutation'](_0x222bed,_0x5da889,!0x1),_0xd12e98=this[_0x3f6633(0x2d6)][_0x3f6633(0x223)](_0x15933c,_0x4a3806,!0x1);if(_0xae92ad(_0x20f471))throw _0x20f471[_0x3f6633(0x347)];if(_0xae92ad(_0xd12e98))throw _0xd12e98[_0x3f6633(0x347)];_0x5c16f7[_0x3f6633(0x303)]({..._0xa01664[_0x3306a7],'undoState':_0x20f471[_0x3f6633(0x2dd)][_0x3f6633(0x1d2)],'redoState':_0xd12e98[_0x3f6633(0x2dd)][_0x3f6633(0x1d2)]}),_0x222bed=_0x20f471[_0x3f6633(0x285)],_0x15933c=_0xd12e98[_0x3f6633(0x285)];}this[_0x3f6633(0x246)][_0x3f6633(0x1dc)](_0x5f4b1e,{'history':_0x31ba66,'collaboration':_0x5c16f7});}};re=nn([Ce(0x0,_0x14dbb1(_0x254573)),Ce(0x1,_0x492e54),Ce(0x2,_0x14dbb1(_0x1a5179))],re);var rn=Object[_0x34ed68(0x348)],on=(_0x29475b,_0x556055,_0x1555d0,_0x26b481)=>{const _0x22911d=_0x34ed68;for(var _0x195959=_0x26b481>0x1?void 0x0:_0x26b481?rn(_0x556055,_0x1555d0):_0x556055,_0x356b94=_0x29475b[_0x22911d(0x276)]-0x1,_0x4801a7;_0x356b94>=0x0;_0x356b94--)(_0x4801a7=_0x29475b[_0x356b94])&&(_0x195959=_0x4801a7(_0x195959)||_0x195959);return _0x195959;},tt=(_0x248b35,_0xe26214)=>(_0x6c3e79,_0x53ddf8)=>_0xe26214(_0x6c3e79,_0x53ddf8,_0x248b35);let oe=class{constructor(_0x4a50e7,_0x4c4e6c){const _0x11fe23=_0x34ed68;this[_0x11fe23(0x279)]=_0x4a50e7,this[_0x11fe23(0x2d6)]=_0x4c4e6c;}[_0x34ed68(0x3a4)](_0x6db8e2){const _0xdf23e2=_0x34ed68;var _0x4fa862;const _0x23e620=this[_0xdf23e2(0x279)][_0xdf23e2(0x374)](_0x5bf28a),_0x6fc93b=(_0x4fa862=_0x23e620[_0xdf23e2(0x35a)]())!=null?_0x4fa862:[];if(_0x6fc93b['length']===0x0)return;const _0x398a46=_0x6db8e2[_0xdf23e2(0x2bb)],_0x43192c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x398a46,'actions':null,'textRanges':_0x6fc93b}}],_0x1e0439=this[_0xdf23e2(0x2d6)]['transformMutationsWithChangeset'](_0x6db8e2,_0x43192c);if(!_0x500b59(_0x1e0439))throw _0x1e0439[_0xdf23e2(0x347)];const _0x40ad86=_0x1e0439[_0xdf23e2(0x2dd)][0x0][_0xdf23e2(0x1d2)][_0xdf23e2(0x36b)];Array['isArray'](_0x40ad86)&&_0x40ad86[_0xdf23e2(0x276)]&&_0x23e620[_0xdf23e2(0x1bb)](_0x40ad86,{'unitId':_0x398a46,'subUnitId':_0x398a46},!0x1);}};oe=on([tt(0x0,_0x14dbb1(_0x254573)),tt(0x1,_0x492e54)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0xd88578,_0x50e57b,_0x407f6b,_0x5a014a)=>{const _0x141944=_0x34ed68;for(var _0x4a7618=_0x5a014a>0x1?void 0x0:_0x5a014a?an(_0x50e57b,_0x407f6b):_0x50e57b,_0xc05e4d=_0xd88578[_0x141944(0x276)]-0x1,_0xa6b4f4;_0xc05e4d>=0x0;_0xc05e4d--)(_0xa6b4f4=_0xd88578[_0xc05e4d])&&(_0x4a7618=_0xa6b4f4(_0x4a7618)||_0x4a7618);return _0x4a7618;},U=(_0x4668bb,_0x52042d)=>(_0x4fc1d6,_0x1df8d0)=>_0x52042d(_0x4fc1d6,_0x1df8d0,_0x4668bb);let ae=class extends _0x466226{constructor(_0x10ba0d,_0x2c533f,_0x232a69,_0xfe8b03,_0x30434c,_0x5c4103,_0x4c48ad,_0x6f8478){const _0x3f2c67=_0x34ed68;super(),_(this,_0x3f2c67(0x20a),new _0x521682(_0x30563d[_0x3f2c67(0x1fe)])),(this['_docStateChangeManagerService']=_0x10ba0d,this[_0x3f2c67(0x275)]=_0x2c533f,this['_docTransformIMECacheService']=_0x232a69,this[_0x3f2c67(0x1e3)]=_0xfe8b03,this[_0x3f2c67(0x1e6)]=_0x30434c,this[_0x3f2c67(0x229)]=_0x5c4103,this[_0x3f2c67(0x254)]=_0x4c48ad,this[_0x3f2c67(0x2e6)]=_0x6f8478,this[_0x3f2c67(0x248)]());}[_0x34ed68(0x248)](){const _0x24b5e2=_0x34ed68;this['disposeWithMe'](this[_0x24b5e2(0x275)][_0x24b5e2(0x2ee)][_0x24b5e2(0x319)](_0x353123=>{const _0x2cdf75=_0x24b5e2,_0x50f087=this[_0x2cdf75(0x246)][_0x2cdf75(0x316)][_0x2cdf75(0x319)](_0x2b0976=>{const _0x281ab2=_0x2cdf75;if(_0x2b0976==null)return;const {unitId:_0x419727,redoState:_0xb27460,commandId:_0x141548}=_0x2b0976;if(_0x419727!==_0x353123[_0x281ab2(0x2bb)])return;const _0xdc48be={'id':_0x141548,'type':_0x21034a[_0x281ab2(0x3ab)],'params':{'unitId':_0x419727,'actions':_0xb27460['actions'],'textRanges':null}};_0x353123[_0x281ab2(0x1df)](_0xdc48be);});if(_0x353123[_0x2cdf75(0x33c)](_0x50f087),_0x353123 instanceof _0x7aa0e1){const _0x3a5ee3={'onTransformIME':_0x4db177=>this[_0x2cdf75(0x3a1)]['transformIMECache'](_0x4db177),'onTransformState':_0x4bf5c8=>this[_0x2cdf75(0x1e3)][_0x2cdf75(0x216)](_0x4bf5c8),'onTransformSelections':_0x5e2217=>this[_0x2cdf75(0x1e6)][_0x2cdf75(0x3a4)](_0x5e2217),'onSyncEditingCollabCursor':_0xee29b=>this[_0x2cdf75(0x229)][_0x2cdf75(0x2d8)](_0xee29b),'onTransformRemoteChangesetByIMECache':_0x3fc64a=>this[_0x2cdf75(0x3a1)]['transformRemoteChangeset'](_0x3fc64a),'onTransformRemoteChangesetByStateCache':_0x1e49ef=>this[_0x2cdf75(0x1e3)][_0x2cdf75(0x1ff)](_0x1e49ef)};_0x353123['addHandlerCallback'](_0x3a5ee3);}}));}};ae=cn([U(0x0,_0x14dbb1(_0x1a5179)),U(0x1,_0x14dbb1(_0x5a4ad7)),U(0x2,_0x14dbb1(ne)),U(0x3,_0x14dbb1(re)),U(0x4,_0x14dbb1(oe)),U(0x5,_0x14dbb1(He)),U(0x6,_0x561b1b),U(0x7,_0x14dbb1(_0x2c38b4))],ae);var ln=Object[_0x34ed68(0x348)],_n=(_0x30f18a,_0x34c117,_0x299a48,_0x219afc)=>{const _0x4493d3=_0x34ed68;for(var _0x808cfa=_0x219afc>0x1?void 0x0:_0x219afc?ln(_0x34c117,_0x299a48):_0x34c117,_0x219c0a=_0x30f18a[_0x4493d3(0x276)]-0x1,_0xac6b0a;_0x219c0a>=0x0;_0x219c0a--)(_0xac6b0a=_0x30f18a[_0x219c0a])&&(_0x808cfa=_0xac6b0a(_0x808cfa)||_0x808cfa);return _0x808cfa;},Ee=(_0x534e8d,_0x47be40)=>(_0x3d2acc,_0x2a9554)=>_0x47be40(_0x3d2acc,_0x2a9554,_0x534e8d);let Le=class extends _0x466226{constructor(_0x2b3431,_0x1fe0db,_0x47d74a){const _0x264ce0=_0x34ed68;super(),_(this,_0x264ce0(0x2f0),new Map()),_(this,_0x264ce0(0x334),new Map()),_(this,_0x264ce0(0x222),!0x1),(this[_0x264ce0(0x351)]=_0x2b3431,this[_0x264ce0(0x326)]=_0x1fe0db,this[_0x264ce0(0x36d)]=_0x47d74a);}['disableLocalCache'](){const _0x2b30a0=_0x34ed68;this[_0x2b30a0(0x222)]=!0x0;}[_0x34ed68(0x206)](){const _0x54f3e5=_0x34ed68;this[_0x54f3e5(0x222)]=!0x1;}get['saveTaskMap'](){const _0x244edb=_0x34ed68;return this[_0x244edb(0x334)];}[_0x34ed68(0x274)](){const _0x176d26=_0x34ed68;this[_0x176d26(0x28e)]()['then'](()=>super[_0x176d26(0x274)]());}async[_0x34ed68(0x313)](_0x5d627d){const _0x1bffe6=_0x34ed68;return this[_0x1bffe6(0x222)]?null:this['_localStorageService'][_0x1bffe6(0x344)](_0x4e2dba(_0x5d627d));}async[_0x34ed68(0x1ee)](_0x3f11d3,_0x91ca5a){const _0x5466cb=_0x34ed68;return!!this['_localStorageService'][_0x5466cb(0x39f)](_0x3f11d3,_0x91ca5a);}['updateOfflineData'](_0x302b6b,_0x40abc4,_0xde99ad,_0x1dbc40){const _0x4b3cbc=_0x34ed68,_0x47174e=this[_0x4b3cbc(0x36d)][_0x4b3cbc(0x2e0)](_0x302b6b);this['_cachedData'][_0x4b3cbc(0x22c)](_0x302b6b,{'unitID':_0x302b6b,'type':_0x40abc4,'awaitingChangeset':_0xde99ad,'mutations':_0x1dbc40,'rev':_0x47174e}),this[_0x4b3cbc(0x334)][_0x4b3cbc(0x2b4)](_0x302b6b)||this[_0x4b3cbc(0x395)](_0x302b6b);}[_0x34ed68(0x395)](_0x196086){const _0x481ebe=_0x34ed68,_0x336dba=this[_0x481ebe(0x2da)]();_0x336dba===0x0?this['_saveCache'](_0x196086):this['_saveTaskMap'][_0x481ebe(0x22c)](_0x196086,setTimeout(()=>this[_0x481ebe(0x3b8)](_0x196086),_0x336dba));}[_0x34ed68(0x2da)](){const _0x516a62=_0x34ed68;var _0x28af60;return(_0x28af60=this[_0x516a62(0x351)]['getConfig'](_0x1050d5))!=null?_0x28af60:_0x4357ab;}['_saveCache'](_0xc004c9){const _0x10fd26=_0x34ed68,_0x368f6d=this[_0x10fd26(0x334)][_0x10fd26(0x374)](_0xc004c9);return _0x368f6d!==void 0x0&&window[_0x10fd26(0x2d2)](_0x368f6d),this[_0x10fd26(0x326)]['setItem'](_0x4e2dba(_0xc004c9),this[_0x10fd26(0x2f0)][_0x10fd26(0x374)](_0xc004c9))['then'](()=>this[_0x10fd26(0x334)]['delete'](_0xc004c9));}async[_0x34ed68(0x28e)](){const _0x5c67d3=_0x34ed68,_0x38d0f1=[];this[_0x5c67d3(0x334)][_0x5c67d3(0x271)]((_0x4e3ac0,_0x482f3c)=>{const _0x165c5d=_0x5c67d3;window[_0x165c5d(0x2d2)](_0x4e3ac0),_0x38d0f1[_0x165c5d(0x2e8)](this[_0x165c5d(0x3b8)](_0x482f3c)[_0x165c5d(0x37b)](()=>{const _0x46b751=_0x165c5d;this[_0x46b751(0x334)]['delete'](_0x482f3c);}));}),await Promise[_0x5c67d3(0x220)](_0x38d0f1);}};Le=_n([Ee(0x0,_0x1b7196),Ee(0x1,_0x3c16fd),Ee(0x2,_0x14dbb1(_0x5c6617))],Le);class hn extends _0x357e51{constructor(){const _0x3d801b=_0x34ed68;super(),_(this,_0x3d801b(0x31a)),this[_0x3d801b(0x31a)]=_0x476b58(window,'popstate')[_0x3d801b(0x367)](_0x52624f(this[_0x3d801b(0x3a6)]),_0x1e462d(0x1),_0x570181(void 0x0));}[_0x34ed68(0x2d4)](_0x147f5e,_0x4ab656,_0x3eb68b=!0x1){const _0xdcfb6=_0x34ed68,_0x27e584=new URL(window[_0xdcfb6(0x34b)][_0xdcfb6(0x34c)]);_0x27e584[_0xdcfb6(0x23d)]['set'](_0x147f5e,_0x4ab656),_0x3eb68b?window[_0xdcfb6(0x375)][_0xdcfb6(0x28b)]('','',_0x27e584[_0xdcfb6(0x1e0)]()):window['history'][_0xdcfb6(0x2c9)]('','',_0x27e584[_0xdcfb6(0x1e0)]());}['removeParam'](_0x118dc3,_0x3238fd=!0x1){const _0x47c16f=_0x34ed68,_0x22e214=new URL(window[_0x47c16f(0x34b)]['href']);_0x22e214['searchParams'][_0x47c16f(0x30b)](_0x118dc3),_0x3238fd?window[_0x47c16f(0x375)][_0x47c16f(0x28b)]('','',_0x22e214['toString']()):window['history'][_0x47c16f(0x2c9)]('','',_0x22e214[_0x47c16f(0x1e0)]());}[_0x34ed68(0x1ca)](_0x23ed7e){const _0x17325d=_0x34ed68;var _0x437c7c;return(_0x437c7c=new URL(window['location'][_0x17325d(0x34c)])[_0x17325d(0x23d)][_0x17325d(0x374)](_0x23ed7e))!=null?_0x437c7c:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x2b86dc,_0xdeab13,_0x1098bf)=>_0xdeab13 in _0x2b86dc?un(_0x2b86dc,_0xdeab13,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1098bf}):_0x2b86dc[_0xdeab13]=_0x1098bf,Sn=(_0x4e7e95,_0x552094,_0x395616,_0x499e30)=>{const _0x43c1a4=_0x34ed68;for(var _0x3a182d=_0x499e30>0x1?void 0x0:_0x499e30?dn(_0x552094,_0x395616):_0x552094,_0x2b3c51=_0x4e7e95[_0x43c1a4(0x276)]-0x1,_0x319b38;_0x2b3c51>=0x0;_0x2b3c51--)(_0x319b38=_0x4e7e95[_0x2b3c51])&&(_0x3a182d=_0x319b38(_0x3a182d)||_0x3a182d);return _0x3a182d;},Oe=(_0x5af53d,_0x378750)=>(_0x2e9ad6,_0x142fba)=>_0x378750(_0x2e9ad6,_0x142fba,_0x5af53d),mn=(_0x50e206,_0x15d5ae,_0x446135)=>fn(_0x50e206,_0x15d5ae+'',_0x446135);const In=_0x34ed68(0x2bf);let Ae=class extends _0x33eb34{constructor(_0x177172=et,_0x9c3815,_0x1bb123,_0x42592b){const _0x4db7a0=_0x34ed68;super(),this[_0x4db7a0(0x35f)]=_0x177172,this[_0x4db7a0(0x1c4)]=_0x9c3815,this[_0x4db7a0(0x279)]=_0x1bb123,this[_0x4db7a0(0x351)]=_0x42592b;const {..._0x531511}=_0x2ac937({},et,this[_0x4db7a0(0x35f)]);this[_0x4db7a0(0x351)][_0x4db7a0(0x378)](Zi,_0x531511);}[_0x34ed68(0x27d)](){const _0x2f0b53=_0x34ed68;this[_0x2f0b53(0x33f)](),this[_0x2f0b53(0x210)]();}[_0x34ed68(0x309)](){const _0x577591=_0x34ed68;this[_0x577591(0x337)]();}[_0x34ed68(0x33f)](){const _0x28f36e=_0x34ed68;var _0x18cf28;const _0x130d89=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4a6b10,{'useClass':_0x21c824}],[_0x4082ad,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x3e6c5b(this[_0x28f36e(0x279)],_0x11f0f4(_0x130d89,(_0x18cf28=this[_0x28f36e(0x35f)])==null?void 0x0:_0x18cf28['override']));}['_registerRenderDependencies'](){const _0x596e16=_0x34ed68;this[_0x596e16(0x33c)](this[_0x596e16(0x1c4)][_0x596e16(0x1fc)](_0x14c742['UNIVER_DOC'],[we])),this[_0x596e16(0x33c)](this[_0x596e16(0x1c4)][_0x596e16(0x1fc)](_0x14c742[_0x596e16(0x249)],[Pe]));}[_0x34ed68(0x210)](){const _0x34615f=_0x34ed68;_0x295860(this[_0x34615f(0x279)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x34ed68(0x25c),In),Ae=Sn([_0x511b42(_0xbeac30),Oe(0x1,_0x341aca),Oe(0x2,_0x14dbb1(_0x254573)),Oe(0x3,_0x1b7196)],Ae);var gn=Object[_0x34ed68(0x348)],vn=(_0x2494a5,_0x458d8b,_0x2a04aa,_0x42ba79)=>{const _0x18057a=_0x34ed68;for(var _0x53ece5=_0x42ba79>0x1?void 0x0:_0x42ba79?gn(_0x458d8b,_0x2a04aa):_0x458d8b,_0x24af18=_0x2494a5[_0x18057a(0x276)]-0x1,_0x4816aa;_0x24af18>=0x0;_0x24af18--)(_0x4816aa=_0x2494a5[_0x24af18])&&(_0x53ece5=_0x4816aa(_0x53ece5)||_0x53ece5);return _0x53ece5;},K=(_0x59e17c,_0x5418a8)=>(_0x4895e5,_0x279e00)=>_0x5418a8(_0x4895e5,_0x279e00,_0x59e17c);let st=class extends _0x16eadb{constructor(_0x44335c,_0x897d0a,_0x4359a6,_0x1a8dea,_0xea4e8){super(_0x44335c,_0x897d0a,_0x4359a6,_0x1a8dea,_0xea4e8);}async[_0x34ed68(0x2ea)](_0x1cfc0a){const _0x2b4bb6=_0x34ed68,_0x10cbd7=await this[_0x2b4bb6(0x29f)](),_0x38daf4=this[_0x2b4bb6(0x291)](_0x1cfc0a,_0x10cbd7);return this[_0x2b4bb6(0x1ea)](_0x38daf4);}[_0x34ed68(0x291)](_0x30c743,_0x1180ae){const _0x4cd647=_0x34ed68,_0x1a3b32=typeof window>'u'?new URL(_0x30c743):new URL(_0x30c743,window[_0x4cd647(0x34b)][_0x4cd647(0x2cb)]);_0x1a3b32[_0x4cd647(0x23d)][_0x4cd647(0x22c)](_0x4cd647(0x286),_0x1180ae);const _0x3b93ba=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4cd647(0x34b)]['search']);return _0x3b93ba[_0x4cd647(0x374)](_0x4cd647(0x233))&&_0x1a3b32[_0x4cd647(0x23d)][_0x4cd647(0x22c)](_0x4cd647(0x233),_0x3b93ba[_0x4cd647(0x374)](_0x4cd647(0x233))),_0x1a3b32[_0x4cd647(0x1e0)]();}async[_0x34ed68(0x29f)](){const _0x24c118=_0x34ed68;var _0x2ba0a7,_0x353e20,_0x31a6ec;const _0x3efcd8=this[_0x24c118(0x351)][_0x24c118(0x1cf)](_0x73282a),_0x2a855e=(_0x2ba0a7=_0x3efcd8==null?void 0x0:_0x3efcd8[_0x24c118(0x302)])!=null?_0x2ba0a7:_0x41d0c0;return(_0x31a6ec=(_0x353e20=(await this[_0x24c118(0x2f1)]['get'](_0x2a855e,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x353e20['ticket'])!=null?_0x31a6ec:'';}};st=vn([K(0x0,_0x14dbb1(_0x254573)),K(0x1,_0x14dbb1(_0x18f0fc)),K(0x2,_0x1b7196),K(0x3,_0x1d711d),K(0x4,_0x4db001)],st);const it=0x7530,nt=_0x34ed68(0x218);class jn extends _0x466226{constructor(){const _0x52a0a3=_0x34ed68;super(),_(this,_0x52a0a3(0x266),_0x7eb256()),_(this,_0x52a0a3(0x27e),new Set()),_(this,_0x52a0a3(0x297),new Map()),_(this,_0x52a0a3(0x298),null),_(this,_0x52a0a3(0x366),new Map()),_(this,_0x52a0a3(0x289),new Map()),this[_0x52a0a3(0x2d1)]();}['dispose'](){const _0x5cd320=_0x34ed68;super[_0x5cd320(0x274)](),this['_clearOtherTimers'][_0x5cd320(0x271)]((_0x54b4ba,_0x1b151c)=>this['_removeClearOtherTimer'](_0x1b151c)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x34ed68(0x1ba)](_0x17770f){const _0x5e85b6=_0x34ed68;return this[_0x5e85b6(0x3bb)](_0x17770f)['pipe'](_0x218faf());}[_0x34ed68(0x3b7)](_0x3c05ef){const _0x5bb35a=_0x34ed68;this[_0x5bb35a(0x27e)][_0x5bb35a(0x359)]===0x0&&this[_0x5bb35a(0x1e8)](),this[_0x5bb35a(0x27e)][_0x5bb35a(0x29b)](_0x3c05ef),this['_send']({'type':0x0,'memberID':this[_0x5bb35a(0x266)],'unitIDs':[_0x3c05ef],'isForwarded':!0x1});}[_0x34ed68(0x2ff)](_0xe677eb){const _0xfdc03b=_0x34ed68;this[_0xfdc03b(0x27e)]['delete'](_0xe677eb),this[_0xfdc03b(0x27e)][_0xfdc03b(0x359)]===0x0&&this[_0xfdc03b(0x298)]&&window[_0xfdc03b(0x1c3)](this[_0xfdc03b(0x298)]);}[_0x34ed68(0x2d1)](){const _0x46d462=_0x34ed68;this[_0x46d462(0x33c)](_0xf63787(_0x476b58(window,'storage')[_0x46d462(0x319)](_0x10ccff=>{const _0x45e1be=_0x46d462;if(_0x10ccff['key']!==nt||!_0x10ccff[_0x45e1be(0x1f6)])return;const _0x43e094=JSON[_0x45e1be(0x1e9)](_0x10ccff[_0x45e1be(0x1f6)]);this['_handleEvent'](_0x43e094);}))),window['addEventListener'](_0x46d462(0x257),()=>this[_0x46d462(0x226)]({'type':0x1,'memberID':this[_0x46d462(0x266)],'unitIDs':Array['from'](this[_0x46d462(0x27e)])}));}[_0x34ed68(0x1e2)](_0x3e4595){const _0x59df57=_0x34ed68;switch(_0x3e4595[_0x59df57(0x294)]){case 0x0:this['_handleJoinEvent'](_0x3e4595);break;case 0x1:this[_0x59df57(0x380)](_0x3e4595);break;case 0x2:this[_0x59df57(0x3b2)](_0x3e4595);break;}}[_0x34ed68(0x2c5)](_0x41228a){const {unitIDs:_0x59dd30,memberID:_0x3a2569,isForwarded:_0x259828}=_0x41228a;_0x59dd30['forEach'](_0x1936b7=>{const _0x3831e9=_0x3f61;if(!_0x259828&&this[_0x3831e9(0x297)]['has'](_0x1936b7)&&this[_0x3831e9(0x3bb)](_0x1936b7)['next'](_0x1e770f[_0x3831e9(0x3ac)]),!this['_unitOnClients'][_0x3831e9(0x2b4)](_0x1936b7)||!this[_0x3831e9(0x297)][_0x3831e9(0x374)](_0x1936b7)[_0x3831e9(0x2b4)](_0x3a2569)){const _0x56fb26=this[_0x3831e9(0x297)][_0x3831e9(0x374)](_0x1936b7)||new Set();_0x56fb26[_0x3831e9(0x29b)](_0x3a2569),this['_unitOnClients'][_0x3831e9(0x22c)](_0x1936b7,_0x56fb26),this[_0x3831e9(0x2c4)](_0x3a2569);}}),_0x259828||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x34ed68(0x2c4)](_0x173e38){const _0x203ee4=_0x34ed68;this['_removeClearOtherTimer'](_0x173e38);const _0x36245a=window[_0x203ee4(0x315)](()=>{const _0x16e558=_0x203ee4;this[_0x16e558(0x297)][_0x16e558(0x271)](_0x2d4a73=>{const _0x121975=_0x16e558;_0x2d4a73[_0x121975(0x30b)](_0x173e38);});},it*0x2);this[_0x203ee4(0x366)][_0x203ee4(0x22c)](_0x173e38,_0x36245a);}['_removeClearOtherTimer'](_0x23f8ef){const _0x385849=_0x34ed68;if(this[_0x385849(0x366)]['has'](_0x23f8ef)){const _0x5c4aee=this[_0x385849(0x366)][_0x385849(0x374)](_0x23f8ef);_0x5c4aee&&window['clearTimeout'](_0x5c4aee),this[_0x385849(0x366)]['set'](_0x23f8ef,null);}}[_0x34ed68(0x380)](_0x582dce){const _0x13738a=_0x34ed68,{memberID:_0x36606d,unitIDs:_0x4a5251}=_0x582dce;_0x4a5251[_0x13738a(0x271)](_0x41455e=>{const _0x5aef49=_0x13738a;var _0x1ded5c;const _0x425701=this[_0x5aef49(0x297)]['get'](_0x41455e);_0x425701&&(_0x425701[_0x5aef49(0x30b)](_0x36606d),(_0x1ded5c=this['_ensureSubject'](_0x41455e))==null||_0x1ded5c[_0x5aef49(0x203)](_0x425701[_0x5aef49(0x359)]===0x0?_0x1e770f[_0x5aef49(0x360)]:_0x1e770f['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x36606d);}[_0x34ed68(0x3b2)](_0x32a1d4){const _0x344ec3=_0x34ed68;this[_0x344ec3(0x2c4)](_0x32a1d4[_0x344ec3(0x333)]);}['_send'](_0x177e95){const _0x115337=_0x34ed68;localStorage[_0x115337(0x39f)](nt,JSON[_0x115337(0x2e7)](_0x177e95));}[_0x34ed68(0x1e8)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x55613a=_0x3f61;this[_0x55613a(0x226)]({'type':0x2,'memberID':this[_0x55613a(0x266)]});},it);}['_ensureSubject'](_0x479371){const _0x19afad=_0x34ed68;return this['_unitStatus']['has'](_0x479371)||this[_0x19afad(0x289)][_0x19afad(0x22c)](_0x479371,new _0x521682(_0x1e770f[_0x19afad(0x360)])),this[_0x19afad(0x289)][_0x19afad(0x374)](_0x479371);}}var Mt=(_0x3629a6=>(_0x3629a6[_0x3629a6[_0x34ed68(0x364)]=0x0]=_0x34ed68(0x364),_0x3629a6[_0x3629a6['OK']=0x1]='OK',_0x3629a6[_0x3629a6['INTERNAL_ERROR']=0x2]=_0x34ed68(0x240),_0x3629a6[_0x3629a6['PERMISSION_DENIED']=0x3]=_0x34ed68(0x269),_0x3629a6[_0x3629a6['NOT_FOUND']=0x4]=_0x34ed68(0x3aa),_0x3629a6[_0x3629a6['UNAUTHENTICATED']=0x5]=_0x34ed68(0x327),_0x3629a6[_0x3629a6['ALREADY_EXISTS']=0x6]=_0x34ed68(0x234),_0x3629a6[_0x3629a6['INVALID_ARGUMENT']=0x7]=_0x34ed68(0x362),_0x3629a6[_0x3629a6[_0x34ed68(0x26b)]=0x8]=_0x34ed68(0x26b),_0x3629a6[_0x3629a6[_0x34ed68(0x205)]=0x9]='COMPLETION_FINISHED',_0x3629a6[_0x3629a6[_0x34ed68(0x283)]=0xa]=_0x34ed68(0x283),_0x3629a6[_0x3629a6[_0x34ed68(0x1f3)]=0x1389]=_0x34ed68(0x1f3),_0x3629a6[_0x3629a6[_0x34ed68(0x24b)]=0x1771]=_0x34ed68(0x24b),_0x3629a6[_0x3629a6[_0x34ed68(0x3b3)]=0x1772]=_0x34ed68(0x3b3),_0x3629a6[_0x3629a6[_0x34ed68(0x251)]=0x1773]=_0x34ed68(0x251),_0x3629a6[_0x3629a6[_0x34ed68(0x2a1)]=0x1b59]='APPLY_REJECT',_0x3629a6[_0x3629a6[_0x34ed68(0x211)]=0x1b5a]=_0x34ed68(0x211),_0x3629a6[_0x3629a6[_0x34ed68(0x38e)]=0x1b5b]=_0x34ed68(0x38e),_0x3629a6[_0x3629a6[_0x34ed68(0x1de)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x3629a6[_0x3629a6[_0x34ed68(0x1c0)]=0x1b5d]='APPLY_DUPLICATED',_0x3629a6[_0x3629a6[_0x34ed68(0x287)]=0x1f41]=_0x34ed68(0x287),_0x3629a6[_0x3629a6[_0x34ed68(0x2f2)]=0x2329]=_0x34ed68(0x2f2),_0x3629a6[_0x3629a6['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x34ed68(0x31e),_0x3629a6[_0x3629a6[_0x34ed68(0x2ba)]=0x232b]=_0x34ed68(0x2ba),_0x3629a6[_0x3629a6[_0x34ed68(0x295)]=0x232c]=_0x34ed68(0x295),_0x3629a6[_0x3629a6[_0x34ed68(0x24c)]=0x232d]=_0x34ed68(0x24c),_0x3629a6[_0x3629a6[_0x34ed68(0x231)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x3629a6[_0x3629a6[_0x34ed68(0x22e)]=0x2712]=_0x34ed68(0x22e),_0x3629a6[_0x3629a6['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x34ed68(0x3a7),_0x3629a6[_0x3629a6[_0x34ed68(0x209)]=0x2714]=_0x34ed68(0x209),_0x3629a6[_0x3629a6[_0x34ed68(0x1d1)]=0x271a]=_0x34ed68(0x1d1),_0x3629a6[_0x3629a6[_0x34ed68(0x2ed)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x3629a6[_0x3629a6[_0x34ed68(0x369)]=0x271c]=_0x34ed68(0x369),_0x3629a6[_0x3629a6[_0x34ed68(0x215)]=0x271d]=_0x34ed68(0x215),_0x3629a6[_0x3629a6['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x34ed68(0x296),_0x3629a6[_0x3629a6['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x3629a6[_0x3629a6['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x3629a6[_0x3629a6['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x3629a6[_0x3629a6[_0x34ed68(0x27a)]=0x2ee2]=_0x34ed68(0x27a),_0x3629a6[_0x3629a6[_0x34ed68(0x341)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3629a6[_0x3629a6[_0x34ed68(0x239)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x3629a6[_0x3629a6[_0x34ed68(0x27f)]=0x2ee5]=_0x34ed68(0x27f),_0x3629a6[_0x3629a6[_0x34ed68(0x265)]=0x32c9]=_0x34ed68(0x265),_0x3629a6[_0x3629a6[_0x34ed68(0x1ed)]=0x32ca]=_0x34ed68(0x1ed),_0x3629a6[_0x3629a6[_0x34ed68(0x2e2)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x3629a6[_0x3629a6[_0x34ed68(0x1b9)]=-0x1]=_0x34ed68(0x1b9),_0x3629a6))(Mt||{}),pn=Object[_0x34ed68(0x348)],Cn=(_0x3cc3d5,_0x33ae1f,_0x2a584c,_0x21fe94)=>{const _0x3eb9e2=_0x34ed68;for(var _0x4c21d1=_0x21fe94>0x1?void 0x0:_0x21fe94?pn(_0x33ae1f,_0x2a584c):_0x33ae1f,_0x1c5300=_0x3cc3d5[_0x3eb9e2(0x276)]-0x1,_0x56a235;_0x1c5300>=0x0;_0x1c5300--)(_0x56a235=_0x3cc3d5[_0x1c5300])&&(_0x4c21d1=_0x56a235(_0x4c21d1)||_0x4c21d1);return _0x4c21d1;},be=(_0x14da78,_0x1d77f0)=>(_0x4f43ae,_0x4d4cd4)=>_0x1d77f0(_0x4f43ae,_0x4d4cd4,_0x14da78);function _0x3f61(_0x3aa639,_0x2a6a76){const _0x3aff8b=_0x3aff();return _0x3f61=function(_0x3f6185,_0x5256e5){_0x3f6185=_0x3f6185-0x1b7;let _0x5e5cf7=_0x3aff8b[_0x3f6185];return _0x5e5cf7;},_0x3f61(_0x3aa639,_0x2a6a76);}let rt=class extends _0x466226{constructor(_0x23a1c3,_0x39988e,_0x38a7ad){const _0x1558b6=_0x34ed68;super(),this[_0x1558b6(0x1f1)]=_0x23a1c3,this[_0x1558b6(0x2f1)]=_0x39988e,this[_0x1558b6(0x351)]=_0x38a7ad;}async[_0x34ed68(0x384)](_0x57f5f5,_0x364f9,_0x137fdc,..._0x31ce44){const _0x4aaf70=_0x34ed68;var _0x443be8,_0x74281,_0x11b519,_0x27c338;const _0x4339f0=this[_0x4aaf70(0x1f1)][_0x4aaf70(0x3b0)]();if(!_0x4339f0)throw new Error(_0x4aaf70(0x227));const _0x27e7e8=((_0x443be8=this[_0x4aaf70(0x351)]['getConfig'](_0x7ef3e7))!=null?_0x443be8:_0x5409f9)+'/'+_0x57f5f5+'/run/'+_0x364f9,_0xd6e867=new URL(window[_0x4aaf70(0x34b)][_0x4aaf70(0x34c)]),_0xde521b={'scriptId':_0x57f5f5,'runId':(_0x74281=_0xd6e867['searchParams'][_0x4aaf70(0x374)](_0x4aaf70(0x233)))!=null?_0x74281:'','function':_0x364f9,'unitId':_0x4339f0[_0x4aaf70(0x38d)](),'argsOfFunction':JSON[_0x4aaf70(0x2e7)](_0x31ce44),'invokeId':(_0x11b519=_0x137fdc[_0x4aaf70(0x280)])!=null?_0x11b519:'','executionId':(_0x27c338=_0x137fdc[_0x4aaf70(0x278)])!=null?_0x27c338:''};try{const _0x4a19b0=await this[_0x4aaf70(0x2f1)]['post'](_0x27e7e8,{'body':_0xde521b});return _0x4a19b0[_0x4aaf70(0x22a)][_0x4aaf70(0x347)]&&_0x4a19b0[_0x4aaf70(0x22a)][_0x4aaf70(0x347)]['code']!==Mt['OK']?'Failed':_0x4a19b0[_0x4aaf70(0x22a)][_0x4aaf70(0x2e3)];}catch{return _0x4aaf70(0x241);}}};rt=Cn([be(0x0,_0x7852ac),be(0x1,_0x14dbb1(_0x18f0fc)),be(0x2,_0x1b7196)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0x2b717d=_0x252f;function _0x252f(_0x2391e8,_0x4d2ad1){const _0x3018dc=_0x3018();return _0x252f=function(_0x252fdd,_0x96211f){_0x252fdd=_0x252fdd-0x1e8;let _0x1cd122=_0x3018dc[_0x252fdd];return _0x1cd122;},_0x252f(_0x2391e8,_0x4d2ad1);}(function(_0x4121fc,_0x13889c){const _0x21cffb=_0x252f,_0x52093e=_0x4121fc();while(!![]){try{const _0x17fdad=parseInt(_0x21cffb(0x1ed))/0x1*(parseInt(_0x21cffb(0x1ea))/0x2)+parseInt(_0x21cffb(0x1ec))/0x3*(parseInt(_0x21cffb(0x203))/0x4)+-parseInt(_0x21cffb(0x1f7))/0x5*(-parseInt(_0x21cffb(0x201))/0x6)+parseInt(_0x21cffb(0x1fc))/0x7*(-parseInt(_0x21cffb(0x1f6))/0x8)+parseInt(_0x21cffb(0x1fa))/0x9*(-parseInt(_0x21cffb(0x1fe))/0xa)+parseInt(_0x21cffb(0x1eb))/0xb+-parseInt(_0x21cffb(0x200))/0xc*(parseInt(_0x21cffb(0x1f5))/0xd);if(_0x17fdad===_0x13889c)break;else _0x52093e['push'](_0x52093e['shift']());}catch(_0x1d3239){_0x52093e['push'](_0x52093e['shift']());}}}(_0x3018,0x1a64c));const e={'collab-client':{'tooltip':{'reconnect':_0x2b717d(0x1f8)}},'collabStatus':{'fetchMiss':_0x2b717d(0x1f9),'conflict':_0x2b717d(0x202),'notCollab':_0x2b717d(0x1fb),'synced':_0x2b717d(0x1e8),'syncing':_0x2b717d(0x1f0),'offline':_0x2b717d(0x1f4)},'session':{'connection-failed':_0x2b717d(0x1f1),'will-retry':_0x2b717d(0x1fd),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x2b717d(0x1e9)},'conflict':{'title':_0x2b717d(0x1ee),'content':_0x2b717d(0x1ff)},'permission':{'title':_0x2b717d(0x1ef),'content':_0x2b717d(0x1f3)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x2b717d(0x1f2)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x3018(){const _0x5059af=['436060PvdNuH','Click\x20to\x20Reconnect','Syncing\x20server\x20data...','59490xtJRDq','Local\x20file','7uuMxha','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','90COAgwx','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.','442812lcWOus','12hjaToP','Edit\x20conflicts','4qJDhWT','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','82oPUqVu','1237709YpbMXk','396759JWDVvG','3153WHSsLm','Collaboration\x20Conflict','Authentication\x20Error','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','104hzElTD','685304ZiELkY'];_0x3018=function(){return _0x5059af;};return _0x3018();}export{e as default};
1
+ const _0x14e789=_0x1475;function _0x1475(_0x578999,_0x4da2a3){const _0x2f3e55=_0x2f3e();return _0x1475=function(_0x147572,_0x583f56){_0x147572=_0x147572-0x83;let _0x25d4fb=_0x2f3e55[_0x147572];return _0x25d4fb;},_0x1475(_0x578999,_0x4da2a3);}(function(_0x22f893,_0x346c41){const _0x19b2c4=_0x1475,_0x449b18=_0x22f893();while(!![]){try{const _0x59e2c7=-parseInt(_0x19b2c4(0x92))/0x1+-parseInt(_0x19b2c4(0x8d))/0x2*(-parseInt(_0x19b2c4(0x86))/0x3)+parseInt(_0x19b2c4(0x8c))/0x4+-parseInt(_0x19b2c4(0x87))/0x5+-parseInt(_0x19b2c4(0x90))/0x6+parseInt(_0x19b2c4(0x84))/0x7+parseInt(_0x19b2c4(0x96))/0x8;if(_0x59e2c7===_0x346c41)break;else _0x449b18['push'](_0x449b18['shift']());}catch(_0x24171c){_0x449b18['push'](_0x449b18['shift']());}}}(_0x2f3e,0xca160));const e={'collab-client':{'tooltip':{'reconnect':_0x14e789(0x88)}},'collabStatus':{'fetchMiss':_0x14e789(0x94),'conflict':_0x14e789(0x9a),'notCollab':_0x14e789(0x95),'synced':_0x14e789(0x89),'syncing':_0x14e789(0x8f),'offline':_0x14e789(0x93)},'session':{'connection-failed':_0x14e789(0x85),'will-retry':_0x14e789(0x98),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x14e789(0x8e)},'conflict':{'title':_0x14e789(0x97),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x14e789(0x91),'content':_0x14e789(0x83)},'collaboration':{'single-unit':{'warning':_0x14e789(0x8b)},'closeRoom':_0x14e789(0x99)},'auth':{'needGotoLoginAlert':_0x14e789(0x8a)}};export{e as default};function _0x2f3e(){const _0x81df04=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing...','8777970NwkaDe','Authentication\x20Error','460479aHjiXx','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing\x20server\x20data...','Local\x20file','18866456cNqojQ','Collaboration\x20Conflict','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','2001720MeFoAV','Connection\x20failed,\x20please\x20check\x20your\x20network.','3RISEkV','6746175XCpDOv','Click\x20to\x20Reconnect','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','5487708iszXdY','168518mkJyAV'];_0x2f3e=function(){return _0x81df04;};return _0x2f3e();}
@@ -1 +1 @@
1
- const _0x36549f=_0x1702;function _0x1702(_0x4d5c15,_0x2040d2){const _0x12bd77=_0x12bd();return _0x1702=function(_0x1702e2,_0x1176a3){_0x1702e2=_0x1702e2-0x1bf;let _0x1c621e=_0x12bd77[_0x1702e2];return _0x1c621e;},_0x1702(_0x4d5c15,_0x2040d2);}(function(_0x119804,_0x46c635){const _0x5a2a16=_0x1702,_0x4c0867=_0x119804();while(!![]){try{const _0x4ac579=parseInt(_0x5a2a16(0x1c6))/0x1*(parseInt(_0x5a2a16(0x1d3))/0x2)+parseInt(_0x5a2a16(0x1d0))/0x3+parseInt(_0x5a2a16(0x1c7))/0x4+-parseInt(_0x5a2a16(0x1bf))/0x5+parseInt(_0x5a2a16(0x1c8))/0x6*(parseInt(_0x5a2a16(0x1d6))/0x7)+parseInt(_0x5a2a16(0x1ca))/0x8*(parseInt(_0x5a2a16(0x1cb))/0x9)+parseInt(_0x5a2a16(0x1d4))/0xa*(-parseInt(_0x5a2a16(0x1c9))/0xb);if(_0x4ac579===_0x46c635)break;else _0x4c0867['push'](_0x4c0867['shift']());}catch(_0x433e80){_0x4c0867['push'](_0x4c0867['shift']());}}}(_0x12bd,0x7b309));const o={'collab-client':{'tooltip':{'reconnect':'برای\x20اتصال\x20مجدد\x20کلیک\x20کنید'}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':'تداخل\x20ویرایش','notCollab':_0x36549f(0x1c0),'synced':_0x36549f(0x1cc),'syncing':_0x36549f(0x1cd),'offline':_0x36549f(0x1c4)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x36549f(0x1d1),'room-full':_0x36549f(0x1ce),'collaboration-timeout':_0x36549f(0x1cf)},'conflict':{'title':_0x36549f(0x1c5),'content':_0x36549f(0x1c1)},'permission':{'title':_0x36549f(0x1d5),'content':_0x36549f(0x1c3)},'collaboration':{'single-unit':{'warning':_0x36549f(0x1d7)},'closeRoom':_0x36549f(0x1c2)},'auth':{'needGotoLoginAlert':_0x36549f(0x1d2)}};function _0x12bd(){const _0x4bb917=['اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','2ORwLFX','18210mVPDIN','خطای\x20اعتبارسنجی','7ufAUPY','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','1457945iQNsVq','پرونده\x20محلی','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','تداخل\x20همکاری','233728kBfFDT','1767732KFIXgC','4055676eniKMQ','7667vinYXn','4056QXsVDP','3285LbYCoF','همگام\x20سازی','در\x20حال\x20همگام\x20سازی...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','1586247SKCyYa'];_0x12bd=function(){return _0x4bb917;};return _0x12bd();}export{o as default};
1
+ function _0x805a(_0x53df11,_0x37e553){const _0x3065a3=_0x3065();return _0x805a=function(_0x805af0,_0x535916){_0x805af0=_0x805af0-0x7e;let _0x53793b=_0x3065a3[_0x805af0];return _0x53793b;},_0x805a(_0x53df11,_0x37e553);}function _0x3065(){const _0x32acd7=['146156wJGgxD','تداخل\x20همکاری','1144635zZWmDK','4153936qGZRsC','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','1199ScZtaW','2884563MwrUde','475595qgfgct','13820MrLwis','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','6eZphwe','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','10KiHvbr','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','9732edwcLJ','7gXWEvL','در\x20حال\x20همگام\x20سازی...','165GbcFct'];_0x3065=function(){return _0x32acd7;};return _0x3065();}const _0x5ef9b4=_0x805a;(function(_0x135e22,_0x571fbd){const _0x58a299=_0x805a,_0x14bce=_0x135e22();while(!![]){try{const _0x64d4d4=-parseInt(_0x58a299(0x8a))/0x1+parseInt(_0x58a299(0x8b))/0x2*(parseInt(_0x58a299(0x82))/0x3)+parseInt(_0x58a299(0x83))/0x4+parseInt(_0x58a299(0x85))/0x5*(parseInt(_0x58a299(0x91))/0x6)+-parseInt(_0x58a299(0x80))/0x7*(-parseInt(_0x58a299(0x86))/0x8)+parseInt(_0x58a299(0x89))/0x9*(-parseInt(_0x58a299(0x94))/0xa)+parseInt(_0x58a299(0x88))/0xb*(-parseInt(_0x58a299(0x7f))/0xc);if(_0x64d4d4===_0x571fbd)break;else _0x14bce['push'](_0x14bce['shift']());}catch(_0xc0d7ad){_0x14bce['push'](_0x14bce['shift']());}}}(_0x3065,0x446c1));const o={'collab-client':{'tooltip':{'reconnect':_0x5ef9b4(0x90)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':'همگام\x20سازی','syncing':_0x5ef9b4(0x81),'offline':_0x5ef9b4(0x8f)},'session':{'connection-failed':_0x5ef9b4(0x8e),'will-retry':_0x5ef9b4(0x8d),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x5ef9b4(0x93)},'conflict':{'title':_0x5ef9b4(0x84),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x5ef9b4(0x8c)},'collaboration':{'single-unit':{'warning':_0x5ef9b4(0x7e)},'closeRoom':_0x5ef9b4(0x92)},'auth':{'needGotoLoginAlert':_0x5ef9b4(0x87)}};export{o as default};