@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505151607 → 0.7.0-nightly.202505161607

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 _0x2d1e0d=_0x9c36;(function(_0x431f0f,_0x210b30){const _0x23f27f=_0x9c36,_0x266e8e=_0x431f0f();while(!![]){try{const _0x17d7ec=parseInt(_0x23f27f(0x2bc))/0x1+parseInt(_0x23f27f(0x18b))/0x2*(parseInt(_0x23f27f(0x182))/0x3)+parseInt(_0x23f27f(0x1eb))/0x4+parseInt(_0x23f27f(0x235))/0x5*(-parseInt(_0x23f27f(0x1ce))/0x6)+-parseInt(_0x23f27f(0x233))/0x7+-parseInt(_0x23f27f(0x2a1))/0x8+-parseInt(_0x23f27f(0x19a))/0x9*(-parseInt(_0x23f27f(0x15a))/0xa);if(_0x17d7ec===_0x210b30)break;else _0x266e8e['push'](_0x266e8e['shift']());}catch(_0x5d6990){_0x266e8e['push'](_0x266e8e['shift']());}}}(_0x4aa8,0x6b5c9));var $t=Object[_0x2d1e0d(0x103)],xt=(_0x3f1757,_0x2af876,_0x1cddf7)=>_0x2af876 in _0x3f1757?$t(_0x3f1757,_0x2af876,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cddf7}):_0x3f1757[_0x2af876]=_0x1cddf7,_=(_0x48c4df,_0xbffe19,_0x305a47)=>xt(_0x48c4df,typeof _0xbffe19!='symbol'?_0xbffe19+'':_0xbffe19,_0x305a47);import{MemberService as _0x40f5b7,SessionStatus as _0x18afc4,CollaborationSessionService as _0x19cce4,CollaborationStatus as _0x3a7ac4,CollaborationController as _0x33b552,ILocalCacheService as _0x354de5,CollaborationUIEventService as _0x5763f7,CollaborationUIEventId as _0x1e850d,DataLoaderService as _0x4fc34d,DocCollaborationEntity as _0x1fdf28,getLocalCacheKey as _0x122a3b,LOCAL_CACHE_INTERVAL as _0x38b8ff,LOCAL_CACHE_INTERVAL_KEY as _0x371bc3,UniverCollaborationClientPlugin as _0x48d1d2,CollaborationSocketService as _0x21c1eb,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0xa9adfa,DEFAULT_WS_SESSION_TICKET_URL as _0x19cc08,UnitStatus as _0xb5ed02,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x5c58df,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x51ffba}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4816c8,Disposable as _0xe3d2d0,DOC_RANGE_TYPE as _0x5e1a1b,Inject as _0x4696e6,Injector as _0x473ccb,IUniverInstanceService as _0x39864d,ICommandService as _0x1f0391,debounce as _0x6bbf58,Rectangle as _0x5b9ce7,DisposableCollection as _0x32f5f5,toDisposable as _0x33e419,UniverInstanceType as _0x359705,Tools as _0x33e698,COLORS as _0x3f046d,ColorKit as _0x50c0c8,ThemeService as _0x1396b0,fromEventSubject as _0x2734c3,LocaleService as _0x263891,createIdentifier as _0x4b61bd,ILogService as _0x3c411e,Optional as _0x580dda,Workbook as _0x50c246,CommandType as _0x579014,IConfigService as _0x5cc26d,ILocalStorageService as _0x19c7c0,DependentOn as _0x210159,Plugin as _0x2a33d6,merge as _0x1e00fc,registerDependencies as _0x248ab5,mergeOverrideWithDependencies as _0x1a29a1,touchDependencies as _0x3ae79a,generateRandomId as _0x3f77ac}from'@univerjs/core';import{Shape as _0x4a6a7a,Rect as _0xa2a47e,getColor as _0x45fc58,RegularPolygon as _0x4bf661,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4aea0d,Vector2 as _0x4365ac,SHEET_VIEWPORT_KEY as _0x57db24,IRenderManagerService as _0x2a15f4}from'@univerjs/engine-render';import{ISocketService as _0x541585,WebSocketService as _0x2e3deb,HTTPService as _0x140e45}from'@univerjs/network';import{IDocClipboardService as _0x8a8141,NodePositionConvertToCursor as _0x1ebb31,NodePositionConvertToRectRange as _0x4363ee,TEXT_RANGE_LAYER_INDEX as _0x21aff3,SetDocZoomRatioOperation as _0x46200a,DocIMEInputManagerService as _0x3e670c,DocStateChangeManagerService as _0x4cdbb7}from'@univerjs/docs-ui';import{IImageIoService as _0x329a9e}from'@univerjs/drawing';import{BehaviorSubject as _0x116689,debounceTime as _0x22646c,takeUntil as _0x168710,Subject as _0x569fa7,filter as _0x4c953b,switchMap as _0x34f066,merge as _0x5f4469,combineLatest as _0x5f10bd,of as _0x1e1ccc,fromEvent as _0x2ed682,shareReplay as _0xe4f59,mapTo as _0x297f40,distinctUntilChanged as _0x66832b}from'rxjs';import{SetTextSelectionsOperation as _0xb5f8dc,RichTextEditingMutation as _0xba9233,DocSelectionManagerService as _0x4e4407,DocSkeletonManagerService as _0x52cab7}from'@univerjs/docs';import{ITransformService as _0x3318a0,CollaborationEvent as _0x1a8e37,isTransformMutationFailure as _0x17ada0,isTransformMutationsWithChangesetSuccess as _0x4a4bec,RevisionService as _0x14f278,ISnapshotServerService as _0x381529}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x539592,serializeRangeWithSheet as _0xbdc6d0}from'@univerjs/engine-formula';import{RefRangeService as _0x1a36ad,SetSelectionsOperation as _0x55d9e0,SheetsSelectionsService as _0x2d4820,EffectRefRangId as _0x4ca10f,handleIRemoveRow as _0x5a6648,handleIRemoveCol as _0x255ff3,handleMoveRange as _0x2e38fc,handleInsertRow as _0x57cbc8,handleInsertRangeMoveRight as _0x1d91b4,handleInsertRangeMoveDown as _0x310147,handleInsertCol as _0x487b96,handleDeleteRangeMoveUp as _0x1dfe3b,handleDeleteRangeMoveLeft as _0x395147,runRefRangeMutations as _0x6b11c7,SetWorksheetActivateCommand as _0x194e65}from'@univerjs/sheets';import{map as _0x29aeaa,filter as _0x21e45b,throttleTime as _0x2ca1ae,takeUntil as _0x2494c9,switchMap as _0x30573a}from'rxjs/operators';import{SheetSkeletonManagerService as _0x136caa,getCoordByCell as _0x591d24,getSheetObject as _0x4cf0ad}from'@univerjs/sheets-ui';import{jsx as _0x522296,jsxs as _0x396bfb}from'react/jsx-runtime';import{useObservable as _0x2df445,useDependency as _0x5a8dc8,IUIPartsService as _0x5cacb5,BuiltInUIPart as _0x232fa7,connectInjector as _0x5eeafa,IBeforeCloseService as _0x1510ff,IMessageService as _0x123b71,INotificationService as _0xba05fe}from'@univerjs/ui';import{Tooltip as _0x43659a,clsx as _0x57284f,MessageType as _0x23b682}from'@univerjs/design';import{forwardRef as _0x2a50b5,useRef as _0x4a71d4,createElement as _0xa539aa,useCallback as _0x1dc6e9}from'react';import{IRemoteInstanceService as _0x5ed250}from'@univerjs/rpc';var ci=Object[_0x2d1e0d(0x116)],li=(_0x521e36,_0x1c77c3,_0x64a9e3,_0x546da3)=>{const _0x419330=_0x2d1e0d;for(var _0x466407=_0x546da3>0x1?void 0x0:_0x546da3?ci(_0x1c77c3,_0x64a9e3):_0x1c77c3,_0x48a9ef=_0x521e36[_0x419330(0x23b)]-0x1,_0x330b7e;_0x48a9ef>=0x0;_0x48a9ef--)(_0x330b7e=_0x521e36[_0x48a9ef])&&(_0x466407=_0x330b7e(_0x466407)||_0x466407);return _0x466407;},Je=(_0x289090,_0x2e75c4)=>(_0x2f7d2b,_0x47b390)=>_0x2e75c4(_0x2f7d2b,_0x47b390,_0x289090);let Ne=class extends _0x4816c8{constructor(_0x37abc3,_0x57d4ba){const _0xc36383=_0x2d1e0d;super(),this[_0xc36383(0x1ec)]=_0x37abc3,this[_0xc36383(0xe6)]=_0x57d4ba,this['_init']();}[_0x2d1e0d(0x206)](){const _0x7221e9=_0x2d1e0d,_0x4bd289=this;this['disposeWithMe'](this[_0x7221e9(0x1ec)][_0x7221e9(0xe0)]({'onBeforePasteImage':async _0x2ed5a1=>{const _0x43a557=_0x7221e9,_0x252dc4=await _0x4bd289[_0x43a557(0xe6)]['saveImage'](_0x2ed5a1);return _0x252dc4?{'source':_0x252dc4[_0x43a557(0x2bb)],'imageSourceType':_0x252dc4[_0x43a557(0x194)]}:null;}}));}};Ne=li([Je(0x0,_0x8a8141),Je(0x1,_0x329a9e)],Ne);const Ze=[_0x2d1e0d(0x173),_0x2d1e0d(0x232),_0x2d1e0d(0xd3),_0x2d1e0d(0x28a),_0x2d1e0d(0x120),'yellow.400'];class ke extends _0xe3d2d0{constructor(){const _0x4e9df0=_0x2d1e0d;super(...arguments),_(this,_0x4e9df0(0x249),new Map()),_(this,_0x4e9df0(0xf1),0x0);}[_0x2d1e0d(0x219)](_0x10098c){const _0x9e3537=_0x2d1e0d;if(this[_0x9e3537(0x249)][_0x9e3537(0x19c)](_0x10098c))return this['_assignedColors'][_0x9e3537(0x296)](_0x10098c);const _0x25e607=Ze[this[_0x9e3537(0xf1)]];return this[_0x9e3537(0xf1)]=(this['_colorIndex']+0x1)%Ze[_0x9e3537(0x23b)],this[_0x9e3537(0x249)][_0x9e3537(0xd2)](_0x10098c,_0x25e607),_0x25e607;}}function Tt(_0x58671d){const _0x1a08cd=_0x2d1e0d;let _0x403794='';for(const _0x2d1e69 of _0x58671d){const {startOffset:_0x3fd620,endOffset:_0x56e0e9,isActive:_0x43d9ab,rangeType:_0x47f712,segmentId:_0x3befd0,segmentPage:_0x4253f2}=_0x2d1e69;_0x403794[_0x1a08cd(0x23b)]&&(_0x403794+=','),_0x403794+=_0x3fd620+':'+_0x56e0e9+':'+(_0x43d9ab?'1':'0')+':'+_0x47f712+':'+_0x3befd0+':'+_0x4253f2;}return _0x403794;}function _i(_0x1014fc){const _0x14185d=_0x2d1e0d,_0x102915=_0x1014fc[_0x14185d(0x128)](','),_0x1fd730=[];for(const _0x56758b of _0x102915){const [_0x3e4567,_0x321672,_0x7e2f58,_0x3cd4ba,_0x4b8d79,_0x4b8fd9]=_0x56758b[_0x14185d(0x128)](':');_0x1fd730[_0x14185d(0xc6)]({'startOffset':Number(_0x3e4567),'endOffset':Number(_0x321672),'collapsed':_0x3e4567===_0x321672,'isActive':_0x7e2f58==='1','rangeType':_0x3cd4ba===_0x5e1a1b['TEXT']?_0x5e1a1b[_0x14185d(0x19e)]:_0x5e1a1b[_0x14185d(0x11b)],'segmentId':typeof _0x4b8d79==_0x14185d(0x254)?String(_0x4b8d79):'','segmentPage':Number(_0x4b8fd9!=null?_0x4b8fd9:-0x1)});}return _0x1fd730[_0x14185d(0x220)](_0x424657=>_0x424657[_0x14185d(0xc3)])||(_0x1fd730[0x0][_0x14185d(0xc3)]=!0x0),_0x1fd730;}class He extends _0x4816c8{constructor(){const _0x509628=_0x2d1e0d;super(...arguments),_(this,_0x509628(0x29f),new _0x116689(null)),_(this,'collabCursorState$',this[_0x509628(0x29f)][_0x509628(0x1f1)]());}[_0x2d1e0d(0x283)](_0x5b982f){const _0x474c39=_0x2d1e0d,{unitID:_0x13232e,memberID:_0x248eeb,textRanges:_0x2f951e}=_0x5b982f,_0x41e7cf=Tt(_0x2f951e);if(_0x41e7cf==='')return;const _0x49367a={'unitID':_0x13232e,'memberID':_0x248eeb,'selection':_0x41e7cf};this[_0x474c39(0x29f)]['next'](_0x49367a);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0x14ce80,_0xe5271f,_0x2c4132,_0x56f6ec)=>{const _0x510669=_0x2d1e0d;for(var _0x8cd078=_0x56f6ec>0x1?void 0x0:_0x56f6ec?hi(_0xe5271f,_0x2c4132):_0xe5271f,_0x586ac7=_0x14ce80[_0x510669(0x23b)]-0x1,_0x2d4f6e;_0x586ac7>=0x0;_0x586ac7--)(_0x2d4f6e=_0x14ce80[_0x586ac7])&&(_0x8cd078=_0x2d4f6e(_0x8cd078)||_0x8cd078);return _0x8cd078;},L=(_0x43995d,_0x1597ee)=>(_0x3e6357,_0x1a5e8e)=>_0x1597ee(_0x3e6357,_0x1a5e8e,_0x43995d);const di=0x12c,fi=0x64;let Ue=class extends _0x4816c8{constructor(_0x41ea40,_0x5ea3ef,_0x16ea66,_0x1cc75b,_0x1be3c9,_0x403f2e,_0x410b28,_0x376537,_0x5b3ed4){const _0x5ea817=_0x2d1e0d;super(),_(this,_0x5ea817(0x1aa),!0x1),_(this,_0x5ea817(0x206),!0x1),_(this,_0x5ea817(0x226),new _0x116689(new Map())),_(this,'cursorInfo$',this[_0x5ea817(0x226)][_0x5ea817(0x1f1)]()),_(this,_0x5ea817(0xce),new _0x116689([])),_(this,'roomMembers$',this[_0x5ea817(0xce)][_0x5ea817(0x193)](_0x22646c(di))),_(this,_0x5ea817(0x28c),_0x6bbf58(_0x4c9d7a=>{const _0x5d5453=_0x5ea817,_0x3dc078={'eventID':_0x1a8e37[_0x5d5453(0x2c0)],'data':{'unitID':this[_0x5d5453(0x176)],'memberID':this[_0x5d5453(0x29d)][_0x5d5453(0x204)](),'selection':Tt(_0x4c9d7a)}};this[_0x5d5453(0x29d)]['send'](_0x3dc078,this[_0x5d5453(0x176)]);},fi)),(this[_0x5ea817(0x176)]=_0x41ea40,this[_0x5ea817(0x29d)]=_0x5ea3ef,this[_0x5ea817(0x1b6)]=_0x16ea66,this[_0x5ea817(0x273)]=_0x1cc75b,this[_0x5ea817(0x178)]=_0x1be3c9,this[_0x5ea817(0x24c)]=_0x403f2e,this[_0x5ea817(0x265)]=_0x410b28,this[_0x5ea817(0x24a)]=_0x376537,this[_0x5ea817(0xcb)]=_0x5b3ed4);}get['cursorInfo'](){const _0x224851=_0x2d1e0d;return this['_cursorInfo$'][_0x224851(0x11a)]();}get[_0x2d1e0d(0x17c)](){const _0x15197f=_0x2d1e0d;return this['_roomMembers$'][_0x15197f(0x11a)]();}[_0x2d1e0d(0x1bf)](){const _0x5774a2=_0x2d1e0d;super[_0x5774a2(0x1bf)](),this[_0x5774a2(0x226)][_0x5774a2(0x28f)](new Map()),this[_0x5774a2(0x226)]['complete'](),this[_0x5774a2(0xce)][_0x5774a2(0x28f)]([]),this['_roomMembers$']['complete']();}[_0x2d1e0d(0x2b1)](){const _0x181ae2=_0x2d1e0d;this[_0x181ae2(0x206)]||(this[_0x181ae2(0x206)]=!0x0,this[_0x181ae2(0x29d)][_0x181ae2(0x10b)][_0x181ae2(0x193)](_0x168710(this['dispose$']))[_0x181ae2(0x207)](_0x44f31a=>{const _0x28644c=_0x181ae2;_0x44f31a===_0x18afc4['ONLINE']?this[_0x28644c(0x15e)]():this[_0x28644c(0x118)]();}),this[_0x181ae2(0x29d)][_0x181ae2(0x127)][_0x181ae2(0x193)](_0x168710(this[_0x181ae2(0x2c6)]))['subscribe'](_0x45b246=>{const _0x5a258c=_0x181ae2,_0xc64930=_0x45b246[_0x5a258c(0x1fd)];_0xc64930===_0x1a8e37[_0x5a258c(0x2c0)]&&this[_0x5a258c(0x1b9)](_0x45b246),_0xc64930===_0x1a8e37[_0x5a258c(0x25d)]&&this[_0x5a258c(0x17d)](_0x45b246);}),this['disposeWithMe'](this[_0x181ae2(0xcb)][_0x181ae2(0xd5)](_0x3a0b75=>{const _0x2b913d=_0x181ae2,_0x401aa2=_0x3a0b75[_0x2b913d(0x189)];_0x401aa2!=null&&this[_0x2b913d(0x1aa)]&&_0x3a0b75['id']===_0xb5f8dc['id']&&_0x401aa2[_0x2b913d(0x157)]===this['unitID']&&_0x401aa2[_0x2b913d(0xe1)]===!0x1&&_0x401aa2[_0x2b913d(0x160)][_0x2b913d(0x23b)]>0x0&&this[_0x2b913d(0x28c)](_0x401aa2[_0x2b913d(0x160)]);})),this[_0x181ae2(0x24c)]['collabCursorState$'][_0x181ae2(0x193)](_0x168710(this['dispose$']))[_0x181ae2(0x207)](_0x2cc5f9=>{const _0x53182a=_0x181ae2;if((_0x2cc5f9==null?void 0x0:_0x2cc5f9['unitID'])!==this[_0x53182a(0x176)])return;const _0x371cd5={'eventID':_0x1a8e37[_0x53182a(0x2c0)],'data':_0x2cc5f9};this['_onCursorUpdate'](_0x371cd5);}),this[_0x181ae2(0x267)](this[_0x181ae2(0xcb)]['onCommandExecuted'](_0x1a9bf9=>{const _0x5bcd43=_0x181ae2;if(_0x1a9bf9[_0x5bcd43(0x189)]==null)return;const _0x38258e=_0x1a9bf9[_0x5bcd43(0x189)];if(_0x1a9bf9['id']!==_0xba9233['id']||_0x38258e[_0x5bcd43(0x157)]!==this[_0x5bcd43(0x176)])return;const _0xf87f0e={'id':_0x5bcd43(0x1fe),'params':_0x38258e},_0x3c9744=this['cursorInfo'];for(const [_0x5dc930,_0x1560b9]of _0x3c9744){const _0x3b40a4={'id':_0x5bcd43(0x1fe),'params':{'unitId':this[_0x5bcd43(0x176)],'actions':null,'textRanges':_0x1560b9[_0x5bcd43(0x160)]}},_0xa9490c=this[_0x5bcd43(0x265)][_0x5bcd43(0x1a5)](_0xf87f0e,_0x3b40a4,!0x1);if(_0x17ada0(_0xa9490c))throw _0xa9490c[_0x5bcd43(0x2a5)];_0x3c9744[_0x5bcd43(0xd2)](_0x5dc930,{..._0x1560b9,'ranges':_0xa9490c[_0x5bcd43(0xec)]['params'][_0x5bcd43(0x1e6)]});}queueMicrotask(()=>{const _0x258e53=_0x5bcd43;this['_cursorInfo$'][_0x258e53(0x28f)](_0x3c9744);});})));}[_0x2d1e0d(0x1b9)](_0x3b58fb){const _0xb02984=_0x2d1e0d;var _0x3daae2,_0x51cc39;const {memberID:_0x4354c7,selection:_0x526c4d}=_0x3b58fb['data'],_0x5c98bc=_i(_0x526c4d),_0x1821b2=(_0x51cc39=(_0x3daae2=this[_0xb02984(0x178)][_0xb02984(0x16e)](this[_0xb02984(0x176)],_0x4354c7))==null?void 0x0:_0x3daae2[_0xb02984(0x154)])!=null?_0x51cc39:_0xb02984(0x1d2),_0x326423={'color':this[_0xb02984(0x273)]['assignAColorForMemberID'](_0x4354c7),'name':_0x1821b2,'ranges':_0x5c98bc},_0x57f216=this[_0xb02984(0x2a8)];_0x57f216[_0xb02984(0xd2)](_0x4354c7,_0x326423),this[_0xb02984(0x226)]['next'](_0x57f216);}['_onCursorDelete'](_0x128728){const _0x5b9d8e=_0x2d1e0d,{memberID:_0xde28ae}=_0x128728[_0x5b9d8e(0x1c6)],_0x588479=this[_0x5b9d8e(0x2a8)];_0x588479[_0x5b9d8e(0x1c7)](_0xde28ae),this[_0x5b9d8e(0x226)][_0x5b9d8e(0x28f)](_0x588479);}[_0x2d1e0d(0x15e)](){const _0x3fa60a=_0x2d1e0d;var _0x105113;if(this[_0x3fa60a(0x1aa)]=!0x0,((_0x105113=this[_0x3fa60a(0x24a)][_0x3fa60a(0x1a1)]())==null?void 0x0:_0x105113[_0x3fa60a(0x257)]())!==this[_0x3fa60a(0x176)])return;const _0xd1e0ca=this[_0x3fa60a(0x1b6)][_0x3fa60a(0x296)](_0x4e4407)[_0x3fa60a(0x2c3)]();Array[_0x3fa60a(0x153)](_0xd1e0ca)&&_0xd1e0ca[_0x3fa60a(0x23b)]>0x0&&this[_0x3fa60a(0x28c)](_0xd1e0ca);}[_0x2d1e0d(0x118)](){const _0x2bf3a6=_0x2d1e0d;this[_0x2bf3a6(0x1aa)]=!0x1;}};Ue=ui([L(0x2,_0x4696e6(_0x473ccb)),L(0x3,_0x4696e6(ke)),L(0x4,_0x4696e6(_0x40f5b7)),L(0x5,_0x4696e6(He)),L(0x6,_0x3318a0),L(0x7,_0x39864d),L(0x8,_0x1f0391)],Ue);var Si=Object[_0x2d1e0d(0x116)],mi=(_0xef77c,_0x251288,_0x5ca0fa,_0xf706a6)=>{const _0x97eea1=_0x2d1e0d;for(var _0x1baece=_0xf706a6>0x1?void 0x0:_0xf706a6?Si(_0x251288,_0x5ca0fa):_0x251288,_0x3a7315=_0xef77c[_0x97eea1(0x23b)]-0x1,_0x2f8b5e;_0x3a7315>=0x0;_0x3a7315--)(_0x2f8b5e=_0xef77c[_0x3a7315])&&(_0x1baece=_0x2f8b5e(_0x1baece)||_0x1baece);return _0x1baece;},x=(_0x4edda3,_0x4b37ea)=>(_0x62e1bf,_0x1b014d)=>_0x4b37ea(_0x62e1bf,_0x1b014d,_0x4edda3);const gi=0x12c,Ii=0x64,vi=()=>{let _0x58db51=[],_0x136497=!0x1;return _0x10ffb3=>{const _0x19faac=_0x9c36;_0x58db51[_0x19faac(0xc6)](_0x10ffb3),_0x136497||(_0x136497=!0x0,setTimeout(()=>{const _0x4e20f7=_0x19faac;_0x58db51[_0x4e20f7(0xf7)](_0x20b45f=>_0x20b45f()),_0x58db51=[],_0x136497=!0x1;}));};};let Me=class extends _0x4816c8{constructor(_0x21357b,_0x575af5,_0x2208c4,_0x38d89d,_0x5ac202,_0x4130da,_0x10e767,_0x4a8a59){const _0x2745c1=_0x2d1e0d;super(),_(this,_0x2745c1(0x1aa),!0x1),_(this,_0x2745c1(0x206),!0x1),_(this,_0x2745c1(0x226),new _0x116689(new Map())),_(this,_0x2745c1(0x1e1),this[_0x2745c1(0x226)]['asObservable']()),_(this,'_roomMembers$',new _0x116689([])),_(this,'roomMembers$',this[_0x2745c1(0xce)][_0x2745c1(0x193)](_0x22646c(gi))),_(this,'_updateLocalCursor',_0x6bbf58((_0x28c3e9,_0x5f15bc)=>{const _0xfd12e5=_0x2745c1,_0x51ae6a={'eventID':_0x1a8e37[_0xfd12e5(0x2c0)],'data':{'unitID':this[_0xfd12e5(0x176)],'memberID':this['_session'][_0xfd12e5(0x204)](),'selection':_0xbdc6d0(_0x28c3e9,_0x5f15bc[_0xfd12e5(0x29e)])}};this['_session'][_0xfd12e5(0xee)](_0x51ae6a,this[_0xfd12e5(0x176)]);},Ii)),(this[_0x2745c1(0x176)]=_0x21357b,this[_0x2745c1(0x29d)]=_0x575af5,this[_0x2745c1(0x1b6)]=_0x2208c4,this[_0x2745c1(0x273)]=_0x38d89d,this['_memberService']=_0x5ac202,this[_0x2745c1(0x24a)]=_0x4130da,this[_0x2745c1(0xcb)]=_0x10e767,this['_refRangeService']=_0x4a8a59);}get[_0x2d1e0d(0x2a8)](){const _0x54a801=_0x2d1e0d;return this[_0x54a801(0x226)][_0x54a801(0x11a)]();}get[_0x2d1e0d(0x17c)](){return this['_roomMembers$']['getValue']();}[_0x2d1e0d(0x1bf)](){const _0x35dbe5=_0x2d1e0d;super['dispose'](),this[_0x35dbe5(0x226)][_0x35dbe5(0x28f)](new Map()),this[_0x35dbe5(0x226)][_0x35dbe5(0x25e)](),this['_roomMembers$'][_0x35dbe5(0x28f)]([]),this[_0x35dbe5(0xce)][_0x35dbe5(0x25e)]();}[_0x2d1e0d(0x2b1)](){const _0x4d4a4c=_0x2d1e0d;this['_init']||(this[_0x4d4a4c(0x206)]=!0x0,this['_session'][_0x4d4a4c(0x10b)][_0x4d4a4c(0x193)](_0x168710(this['dispose$']))[_0x4d4a4c(0x207)](_0x24c0a7=>{const _0x8c9bb1=_0x4d4a4c;_0x24c0a7===_0x18afc4[_0x8c9bb1(0x15b)]?this[_0x8c9bb1(0x15e)]():this[_0x8c9bb1(0x118)]();}),this['_session'][_0x4d4a4c(0x127)][_0x4d4a4c(0x193)](_0x168710(this[_0x4d4a4c(0x2c6)]))['subscribe'](_0x3f76f4=>{const _0x189b08=_0x4d4a4c,_0x3fc47a=_0x3f76f4[_0x189b08(0x1fd)];_0x3fc47a===_0x1a8e37[_0x189b08(0x2c0)]&&this[_0x189b08(0x1b9)](_0x3f76f4),_0x3fc47a===_0x1a8e37[_0x189b08(0x25d)]&&this[_0x189b08(0x17d)](_0x3f76f4);}),this[_0x4d4a4c(0x2c7)](),this[_0x4d4a4c(0x267)](this[_0x4d4a4c(0xcb)][_0x4d4a4c(0xd5)](_0x142dc0=>{const _0x2fb246=_0x4d4a4c;if(this['_online']&&_0x142dc0['id']===_0x55d9e0['id']&&_0x142dc0['params']['unitId']===this[_0x2fb246(0x176)]){const _0x16a927=_0x142dc0[_0x2fb246(0x189)];this[_0x2fb246(0x28c)](_0x16a927[_0x2fb246(0x13b)],_0x16a927[_0x2fb246(0x1e0)][0x0]);}})));}[_0x2d1e0d(0x1b9)](_0x54290b){const _0x5bd733=_0x2d1e0d;var _0x359f2e,_0x1684a9;const {memberID:_0x4fe5e6,selection:_0x176780}=_0x54290b[_0x5bd733(0x1c6)],{sheetName:_0x253296,range:_0x2f2249}=_0x539592(_0x176780),_0x2d5e10={'name':(_0x1684a9=(_0x359f2e=this['_memberService']['getMember'](this[_0x5bd733(0x176)],_0x4fe5e6))==null?void 0x0:_0x359f2e[_0x5bd733(0x154)])!=null?_0x1684a9:'Unknown\x20user','range':this['_getMergeRange'](_0x253296,_0x2f2249),'sheetID':_0x253296,'color':this[_0x5bd733(0x273)][_0x5bd733(0x219)](_0x4fe5e6),'selection':_0x176780},_0x5772f3=this[_0x5bd733(0x2a8)];_0x5772f3[_0x5bd733(0xd2)](_0x4fe5e6,_0x2d5e10),this[_0x5bd733(0x226)][_0x5bd733(0x28f)](_0x5772f3);}[_0x2d1e0d(0x17d)](_0x2b2799){const _0x3cd99c=_0x2d1e0d,{memberID:_0x293882}=_0x2b2799[_0x3cd99c(0x1c6)],_0x4183d1=this[_0x3cd99c(0x2a8)];_0x4183d1['delete'](_0x293882),this[_0x3cd99c(0x226)][_0x3cd99c(0x28f)](_0x4183d1);}[_0x2d1e0d(0x223)](_0x444f95,_0x57ec1a){const _0x340e7a=_0x2d1e0d;var _0x57a2fe,_0x12d557;const _0x2777bd=(_0x12d557=(_0x57a2fe=this['_univerInstanceService'][_0x340e7a(0x1fb)](this[_0x340e7a(0x176)]))==null?void 0x0:_0x57a2fe[_0x340e7a(0x1fc)](_0x444f95))==null?void 0x0:_0x12d557['getMergeData']();return(_0x2777bd==null?void 0x0:_0x2777bd['find'](_0x466c7b=>_0x5b9ce7[_0x340e7a(0x299)](_0x466c7b,_0x57ec1a)))||_0x57ec1a;}[_0x2d1e0d(0x2c7)](){const _0x4b0340=_0x2d1e0d,_0x3f1f95=new _0x32f5f5(),_0x19a5eb=vi(),_0x1d714e=()=>{const _0x53f7d9=_0x9c36;_0x3f1f95[_0x53f7d9(0x1bf)]();const _0x1361d2=(_0x116578,_0x4c6147,_0x3b82ca,_0x57d446)=>{const _0x1bfbb1=_0x53f7d9;let _0x26b742=[];switch(_0x116578['id']){case _0x4ca10f[_0x1bfbb1(0x199)]:{_0x26b742=_0x395147(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0x288)]:{_0x26b742=_0x1dfe3b(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0x230)]:{_0x26b742=_0x487b96(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0x11d)]:{_0x26b742=_0x310147(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0x213)]:{_0x26b742=_0x1d91b4(_0x116578,_0x57d446);break;}case _0x4ca10f['InsertRowCommandId']:{_0x26b742=_0x57cbc8(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0x2ca)]:{_0x26b742=_0x2e38fc(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0xf2)]:{_0x26b742=_0x255ff3(_0x116578,_0x57d446);break;}case _0x4ca10f[_0x1bfbb1(0xcf)]:{_0x26b742=_0x5a6648(_0x116578,_0x57d446);break;}}const _0x2bb169=_0x6b11c7(_0x26b742,_0x57d446),_0x4cad88=this[_0x1bfbb1(0x2a8)]['get'](_0x4c6147);if(_0x4cad88&&_0x2bb169){const _0x7850dd={..._0x4cad88,'range':_0x2bb169};this['cursorInfo'][_0x1bfbb1(0xd2)](_0x4c6147,_0x7850dd),_0x19a5eb(()=>{const _0x5a6d83=_0x1bfbb1,_0x5abf78=this[_0x5a6d83(0x1d6)][_0x5a6d83(0xe2)](_0x2bb169,_0x41646c=>(_0x5abf78[_0x5a6d83(0x1bf)](),_0x1361d2(_0x41646c,_0x4c6147,_0x3b82ca,_0x2bb169)));_0x3f1f95[_0x5a6d83(0x18d)](_0x5abf78);});}return{'redos':[],'undos':[]};};this[_0x53f7d9(0x2a8)][_0x53f7d9(0xf7)]((_0x2ba828,_0x4e6d93)=>{const _0x33e6fe=_0x53f7d9,{range:_0x46f567,sheetID:_0x346115}=_0x2ba828,_0x4a199e=this['_refRangeService'][_0x33e6fe(0xe2)](_0x46f567,_0x3827fb=>(_0x4a199e[_0x33e6fe(0x1bf)](),_0x1361d2(_0x3827fb,_0x4e6d93,_0x346115,_0x46f567)));_0x3f1f95[_0x33e6fe(0x18d)](_0x4a199e);});};this[_0x4b0340(0x267)](_0x33e419(this[_0x4b0340(0x226)][_0x4b0340(0x207)](()=>{_0x1d714e();})));}['_toggleOnline'](){const _0x11edec=_0x2d1e0d;var _0x14ceca,_0x3c38ae;if(this[_0x11edec(0x1aa)]=!0x0,((_0x14ceca=this[_0x11edec(0x24a)][_0x11edec(0x1a1)]())==null?void 0x0:_0x14ceca['getUnitId']())!==this[_0x11edec(0x176)])return;const _0x4e3eea=(_0x3c38ae=this['_injector'][_0x11edec(0x296)](_0x2d4820)[_0x11edec(0x1bb)]())==null?void 0x0:_0x3c38ae[0x0],_0x19f233=this[_0x11edec(0x24a)]['getCurrentUnitForType'](_0x359705['UNIVER_SHEET'])[_0x11edec(0x29c)]();_0x4e3eea&&_0x19f233&&this[_0x11edec(0x28c)](_0x19f233['getSheetId'](),_0x4e3eea);}['_toggleOffline'](){const _0x29646d=_0x2d1e0d;this[_0x29646d(0x1aa)]=!0x1;}};Me=mi([x(0x2,_0x4696e6(_0x473ccb)),x(0x3,_0x4696e6(ke)),x(0x4,_0x4696e6(_0x40f5b7)),x(0x5,_0x39864d),x(0x6,_0x1f0391),x(0x7,_0x4696e6(_0x1a36ad))],Me);var pi=Object[_0x2d1e0d(0x116)],Ci=(_0x568ef1,_0x4f2674,_0x107dcd,_0x2bfa2c)=>{const _0x27c3e5=_0x2d1e0d;for(var _0x5cdb29=_0x2bfa2c>0x1?void 0x0:_0x2bfa2c?pi(_0x4f2674,_0x107dcd):_0x4f2674,_0x9d03e8=_0x568ef1[_0x27c3e5(0x23b)]-0x1,_0x595b7d;_0x9d03e8>=0x0;_0x9d03e8--)(_0x595b7d=_0x568ef1[_0x9d03e8])&&(_0x5cdb29=_0x595b7d(_0x5cdb29)||_0x5cdb29);return _0x5cdb29;},Se=(_0x59c1a6,_0x488cc8)=>(_0x23d415,_0x2b9e4b)=>_0x488cc8(_0x23d415,_0x2b9e4b,_0x59c1a6);let H=class extends _0x4816c8{constructor(_0x9bbdf6,_0x270f46,_0x27f014){const _0x22c5bc=_0x2d1e0d;super(),_(this,_0x22c5bc(0x279),new Map()),_(this,_0x22c5bc(0x1ef),new _0x569fa7()),(this['_univerInstanceService']=_0x9bbdf6,this[_0x22c5bc(0x1b6)]=_0x270f46,this[_0x22c5bc(0x149)]=_0x27f014,this['_init']());}[_0x2d1e0d(0x1bf)](){const _0x428a61=_0x2d1e0d;super['dispose'](),this[_0x428a61(0x1ef)]['complete'](),this[_0x428a61(0x279)]['forEach'](_0x2d7a4e=>_0x2d7a4e[_0x428a61(0x1bf)]());}[_0x2d1e0d(0x115)](_0x376047){const _0x51ae8e=_0x2d1e0d;return this[_0x51ae8e(0x279)]['has'](_0x376047)?this[_0x51ae8e(0x279)][_0x51ae8e(0x296)](_0x376047)[_0x51ae8e(0x1e1)]:this[_0x51ae8e(0x1ef)]['pipe'](_0x4c953b(_0xb04c9e=>_0xb04c9e[_0x51ae8e(0x176)]===_0x376047),_0x34f066(_0x8355fa=>_0x8355fa[_0x51ae8e(0x1e1)]));}[_0x2d1e0d(0x206)](){const _0x444d09=_0x2d1e0d;this[_0x444d09(0x24a)][_0x444d09(0x252)](_0x359705['UNIVER_SHEET'])[_0x444d09(0x193)](_0x168710(this[_0x444d09(0x2c6)]))[_0x444d09(0x207)](async _0x490b24=>{const _0x589f97=_0x444d09,_0x417d21=_0x490b24[_0x589f97(0x257)](),_0xaf0a3f=await this[_0x589f97(0x175)](_0x417d21);this[_0x589f97(0x1ef)][_0x589f97(0x28f)](_0xaf0a3f),this[_0x589f97(0x279)][_0x589f97(0xd2)](_0x417d21,_0xaf0a3f);}),this[_0x444d09(0x24a)][_0x444d09(0x252)](_0x359705[_0x444d09(0xfb)])[_0x444d09(0x193)](_0x168710(this[_0x444d09(0x2c6)]))[_0x444d09(0x193)](_0x4c953b(_0x5e26ad=>!_0x5e26ad[_0x444d09(0x257)]()['startsWith']('__')))['subscribe'](async _0x22308a=>{const _0x38eab7=_0x444d09,_0x58e255=_0x22308a[_0x38eab7(0x257)](),_0x5e083c=await this[_0x38eab7(0x1a2)](_0x58e255);this[_0x38eab7(0x1ef)][_0x38eab7(0x28f)](_0x5e083c),this[_0x38eab7(0x279)][_0x38eab7(0xd2)](_0x58e255,_0x5e083c);}),_0x5f4469(this[_0x444d09(0x24a)][_0x444d09(0x276)](_0x359705['UNIVER_DOC']),this[_0x444d09(0x24a)][_0x444d09(0x276)](_0x359705[_0x444d09(0x1f7)]))['pipe'](_0x168710(this['dispose$']))[_0x444d09(0x207)](_0x4362dc=>{const _0x1340c9=_0x444d09,_0x3b2e06=_0x4362dc['getUnitId'](),_0x2c69af=this[_0x1340c9(0x279)]['get'](_0x3b2e06);_0x2c69af&&(_0x2c69af[_0x1340c9(0x1bf)](),this[_0x1340c9(0x279)]['delete'](_0x3b2e06));});}async[_0x2d1e0d(0x175)](_0x469bfe){const _0x133cb9=_0x2d1e0d,_0x3343dd=await this['_collabSessionService'][_0x133cb9(0x20d)](_0x469bfe),_0x33477c=this['_injector']['createInstance'](Me,_0x469bfe,_0x3343dd);return _0x33477c[_0x133cb9(0x2b1)](),_0x33477c;}async[_0x2d1e0d(0x1a2)](_0x47aa6f){const _0x237732=_0x2d1e0d,_0x596541=await this[_0x237732(0x149)][_0x237732(0x20d)](_0x47aa6f),_0xb3878=this[_0x237732(0x1b6)][_0x237732(0x1f6)](Ue,_0x47aa6f,_0x596541);return _0xb3878[_0x237732(0x2b1)](),_0xb3878;}};H=Ci([Se(0x0,_0x39864d),Se(0x1,_0x4696e6(_0x473ccb)),Se(0x2,_0x4696e6(_0x19cce4))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x1b6d74,_0x499edf){const _0x173ef7=_0x2d1e0d;let {radius:_0x1eb791,width:_0x3491fe,height:_0x5e93fe}=_0x499edf;_0x1eb791=_0x1eb791!=null?_0x1eb791:0x0,_0x3491fe=_0x3491fe!=null?_0x3491fe:0x1e,_0x5e93fe=_0x5e93fe!=null?_0x5e93fe:0x1e;let _0x43f8ce=0x0,_0x1c05ae=0x0,_0x524d9f=0x0;_0x43f8ce=_0x1c05ae=_0x524d9f=Math['min'](_0x1eb791,_0x3491fe/0x2,_0x5e93fe/0x2),_0x1b6d74['beginPath'](),_0x1b6d74[_0x173ef7(0x290)](_0x43f8ce,0x0),_0x1b6d74[_0x173ef7(0x1fa)](_0x3491fe-_0x1c05ae,0x0),_0x1b6d74[_0x173ef7(0x1ca)](_0x3491fe-_0x1c05ae,_0x1c05ae,_0x1c05ae,Math['PI']*0x3/0x2,0x0,!0x1),_0x1b6d74[_0x173ef7(0x1fa)](_0x3491fe,_0x5e93fe-_0x524d9f),_0x1b6d74[_0x173ef7(0x1ca)](_0x3491fe-_0x524d9f,_0x5e93fe-_0x524d9f,_0x524d9f,0x0,Math['PI']/0x2,!0x1),_0x1b6d74[_0x173ef7(0x1fa)](0x0,_0x5e93fe),_0x1b6d74[_0x173ef7(0x1fa)](0x0,_0x43f8ce),_0x1b6d74[_0x173ef7(0x1ca)](_0x43f8ce,_0x43f8ce,_0x43f8ce,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1b6d74[_0x173ef7(0x256)](),_0x499edf['fill']&&(_0x1b6d74[_0x173ef7(0x2bf)](),_0x1b6d74[_0x173ef7(0x187)]=_0x499edf['fill'],_0x499edf[_0x173ef7(0x13a)]===_0x173ef7(0x24e)?_0x1b6d74[_0x173ef7(0x174)](_0x173ef7(0x24e)):_0x1b6d74['fill'](),_0x1b6d74[_0x173ef7(0xda)]());}class he extends _0x4a6a7a{constructor(_0x25e1bc,_0x533b7d){const _0x41560a=_0x2d1e0d;super(_0x25e1bc,_0x533b7d),_(this,_0x41560a(0xff)),_(this,_0x41560a(0x298)),(this[_0x41560a(0xff)]=_0x533b7d==null?void 0x0:_0x533b7d[_0x41560a(0xff)],this['text']=_0x533b7d==null?void 0x0:_0x533b7d['text']);}static[_0x2d1e0d(0x246)](_0x3e22f0,_0x1d9b06){const _0x556037=_0x2d1e0d,{text:_0x51adfb,color:_0x368be4}=_0x1d9b06;_0x3e22f0[_0x556037(0x2bf)](),_0x3e22f0[_0x556037(0x269)]=_0x556037(0x22c);const _0x9c5cf7=_0x3e22f0['measureText'](_0x51adfb)[_0x556037(0x1cc)],_0xdefb04=Math['min'](_0x9c5cf7+0x2*me,Qe);Oi(_0x3e22f0,{'height':ee,'radius':0x4,'width':_0xdefb04,'fill':_0x368be4}),_0x3e22f0[_0x556037(0x187)]=_0x556037(0xe5);const _0x45fb21=me,_0x540e0a=ee-Ei,_0x7adcd0=Qe-0x2*me;if(_0x9c5cf7>_0x7adcd0){let _0x1b11c0='',_0xb1fac3=0x0;for(const _0x1ba699 of _0x51adfb){const _0x1e9a29=_0x3e22f0[_0x556037(0x282)](_0x1ba699)[_0x556037(0x1cc)];if(_0xb1fac3+_0x1e9a29<=_0x7adcd0-_0x3e22f0[_0x556037(0x282)]('...')['width'])_0x1b11c0+=_0x1ba699,_0xb1fac3+=_0x1e9a29;else{_0x1b11c0+=_0x556037(0xd1);break;}}_0x3e22f0['fillText'](_0x1b11c0,_0x45fb21,_0x540e0a);}else _0x3e22f0[_0x556037(0x26b)](_0x51adfb,_0x45fb21,_0x540e0a);_0x3e22f0['restore']();}[_0x2d1e0d(0x1a9)](_0x55e0a7){he['drawWith'](_0x55e0a7,this);}}const ge=_0x2d1e0d(0x247),bi=_0x2d1e0d(0x12f),Ti=_0x2d1e0d(0x27b),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni='rgba(255,\x20255,\x20255,\x200.01)';class qe{constructor(_0x227d1d,_0x59cfd6,_0x5f4904,_0x5a5391){const _0x395629=_0x2d1e0d;_(this,'_shapes',[]),_(this,_0x395629(0x2c4),null),_(this,'_textBubble',null),_(this,'_anchorDot',null),_(this,'_hideTimer',null),_(this,'_eventUnsubscribe',null),(this[_0x395629(0xc5)]=_0x227d1d,this['_scene']=_0x59cfd6,this[_0x395629(0x2b0)]=_0x5f4904,this[_0x395629(0x16c)]=_0x5a5391,this[_0x395629(0x2c5)]());}set[_0x2d1e0d(0xdd)](_0x1ffad5){const _0x121637=_0x2d1e0d;_0x1ffad5?(this[_0x121637(0x1bc)]&&this[_0x121637(0x1bc)][_0x121637(0x293)](),this[_0x121637(0x241)]&&this[_0x121637(0x241)][_0x121637(0x262)]()):(this[_0x121637(0x1bc)]&&this['_anchorDot'][_0x121637(0x262)](),this[_0x121637(0x241)]&&this['_textBubble']['hide']());}[_0x2d1e0d(0x1bf)](){const _0x27b4dc=_0x2d1e0d;for(const _0x8cbbb6 of this[_0x27b4dc(0x131)])_0x8cbbb6['dispose']();this[_0x27b4dc(0x241)]&&this[_0x27b4dc(0x241)]['dispose'](),this[_0x27b4dc(0x1bc)]&&this[_0x27b4dc(0x1bc)][_0x27b4dc(0x1bf)](),this[_0x27b4dc(0x2c4)]&&this[_0x27b4dc(0x2c4)][_0x27b4dc(0x1bf)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x2d1e0d(0x2c5)](){const _0x1e54e6=_0x2d1e0d;var _0x18e254;const {_docSkeleton:_0x9fa461,_document:_0x361103}=this,{color:_0x15cb8e,name:_0x4b3075,ranges:_0x373938}=this['_cursor'],_0x519030=_0x361103[_0x1e54e6(0xdc)](),{docsLeft:_0x3332a8,docsTop:_0x244612}=_0x519030,_0x25c87a=new _0x1ebb31(_0x519030,_0x9fa461);for(const {startOffset:_0xf54450,endOffset:_0x2236aa,rangeType:_0xa57162,segmentId:_0x3332f7,segmentPage:_0xdae268,collapsed:_0x421f6b,isActive:_0x2bd483}of _0x373938){const _0x14a9ed=_0x9fa461[_0x1e54e6(0x22b)](_0xf54450,!0x0,_0x3332f7,_0xdae268);let _0xa72055=_0x9fa461[_0x1e54e6(0x22b)](_0x2236aa,!0x0,_0x3332f7,_0xdae268);if(_0xa72055==null&&(_0xa72055=_0x9fa461[_0x1e54e6(0x22b)](_0x2236aa-0x1,!0x1,_0x3332f7,_0xdae268)),_0x2bd483){const {contentBoxPointGroup:_0x1da7b4}=_0x25c87a[_0x1e54e6(0x2b3)](_0xa72055,_0xa72055);if(_0x1da7b4[_0x1e54e6(0x23b)]===0x0)continue;this[_0x1e54e6(0x2cb)](_0x15cb8e,_0x1da7b4,_0x3332a8,_0x244612,_0x4b3075),this[_0x1e54e6(0x228)]=this[_0x1e54e6(0x1db)]();}if(_0x14a9ed&&_0xa72055){if(_0xa57162===_0x5e1a1b[_0x1e54e6(0x11b)]){const _0x2a0dc6=new _0x4363ee(_0x519030,_0x9fa461),{pointGroup:_0x4ae2fd}=(_0x18e254=_0x2a0dc6['getRangePointData'](_0x14a9ed,_0xa72055))!=null?_0x18e254:{};if(_0x4ae2fd==null||_0x4ae2fd[_0x1e54e6(0x23b)]===0x0)continue;this[_0x1e54e6(0x250)](_0x15cb8e,_0x4ae2fd,_0x3332a8,_0x244612);}else{if(!_0x421f6b){const {borderBoxPointGroup:_0x34a32a}=_0x25c87a[_0x1e54e6(0x2b3)](_0x14a9ed,_0xa72055);if(_0x34a32a[_0x1e54e6(0x23b)]===0x0)continue;this['_drawTextRange'](_0x15cb8e,_0x34a32a,_0x3332a8,_0x244612);}}}}}[_0x2d1e0d(0x2cb)](_0x32bf46,_0x1a1f0f,_0x36b9e4,_0x341b29,_0x1cc2f6){const _0x4c1ffc=_0x2d1e0d,_0x404557=this[_0x4c1ffc(0xe8)](_0x1a1f0f),{left:_0x166e4b,top:_0x1bfaa1,height:_0x17ed41}=_0x404557,_0x2e33a5=this['_getScale'](),_0x2ac141=Di/_0x2e33a5,_0x4afa13=new _0xa2a47e(ge+_0x33e698[_0x4c1ffc(0x2aa)](X),{'left':_0x166e4b+_0x36b9e4-_0x2ac141,'top':_0x1bfaa1+_0x341b29,'height':_0x17ed41,'width':Ri,'fill':_0x32bf46||_0x45fc58(_0x3f046d[_0x4c1ffc(0x1d0)],0x0),'strokeWidth':_0x2ac141,'stroke':Ni,'evented':!0x0});this[_0x4c1ffc(0x2c4)]=_0x4afa13,this[_0x4c1ffc(0x180)][_0x4c1ffc(0x231)](_0x4afa13,_0x21aff3);const _0x41d202=new _0xa2a47e(ge+_0x33e698['generateRandomId'](X),{'left':_0x166e4b+_0x36b9e4-_0x2ac141,'top':_0x1bfaa1+_0x341b29-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x32bf46||_0x45fc58(_0x3f046d[_0x4c1ffc(0x1d0)],0x0),'strokeWidth':0x0,'stroke':_0x32bf46||_0x45fc58(_0x3f046d[_0x4c1ffc(0x1d0)],0x0),'evented':!0x1});this[_0x4c1ffc(0x1bc)]=_0x41d202,this['_scene'][_0x4c1ffc(0x231)](_0x41d202,_0x21aff3);const _0x1495e9=new he(ge+_0x33e698['generateRandomId'](X),{'left':_0x166e4b+_0x36b9e4-_0x2ac141,'top':_0x1bfaa1+_0x341b29-ee,'text':_0x1cc2f6,'color':_0x32bf46});this['_textBubble']=_0x1495e9,this['_scene'][_0x4c1ffc(0x231)](_0x1495e9,_0x21aff3),this['_hover']=!0x1;}[_0x2d1e0d(0x1db)](){const _0x7e6883=_0x2d1e0d,_0x1705de=this[_0x7e6883(0x2c4)][_0x7e6883(0x1bd)][_0x7e6883(0x26c)](()=>{const _0x1e6225=_0x7e6883;this[_0x1e6225(0xdd)]=!0x0;}),_0x596353=this[_0x7e6883(0x2c4)]['onPointerLeave$'][_0x7e6883(0x26c)](()=>{const _0x2c000c=_0x7e6883;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x2c000c(0x135)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x555f4f=_0x7e6883;_0x1705de[_0x555f4f(0xf4)](),_0x596353[_0x555f4f(0xf4)]();};}[_0x2d1e0d(0x1d5)](_0x3561b0,_0x15d3b3,_0x152f41,_0x2dd018){const _0x2eb89a=_0x2d1e0d,_0x20eef1=new _0x50c0c8(_0x3561b0)['setAlpha'](0.2)['toRgbString'](),_0x3377c8=new _0x4bf661(bi+_0x33e698['generateRandomId'](X),{'pointsGroup':_0x15d3b3,'fill':_0x20eef1||_0x45fc58(_0x3f046d[_0x2eb89a(0x1d0)],0.2),'left':_0x152f41,'top':_0x2dd018,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2eb89a(0xc6)](_0x3377c8),this[_0x2eb89a(0x180)][_0x2eb89a(0x231)](_0x3377c8,_0x21aff3);}[_0x2d1e0d(0x250)](_0x4a91e9,_0x47e46a,_0x2f6d00,_0x5dc552){const _0x2a3b40=_0x2d1e0d,_0x3adf97=new _0x50c0c8(_0x4a91e9)[_0x2a3b40(0x22e)](0.2)[_0x2a3b40(0x1a6)](),_0x1c8d7c=new _0x4bf661(Ti+_0x33e698[_0x2a3b40(0x2aa)](X),{'pointsGroup':_0x47e46a,'fill':_0x3adf97||_0x45fc58(_0x3f046d[_0x2a3b40(0x1d0)],0.2),'left':_0x2f6d00,'top':_0x5dc552,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2a3b40(0x131)][_0x2a3b40(0xc6)](_0x1c8d7c),this['_scene'][_0x2a3b40(0x231)](_0x1c8d7c,_0x21aff3);}[_0x2d1e0d(0xe8)](_0x47b7eb){const _0x46343e=_0x47b7eb[0x0],_0x1f4ee7=_0x46343e[0x0],_0x13513e=_0x46343e[0x2],{x:_0x55d106,y:_0x11ae45}=_0x1f4ee7,{x:_0x4bacc6,y:_0x10cb50}=_0x13513e;return{'left':_0x55d106,'top':_0x11ae45,'width':_0x4bacc6-_0x55d106,'height':_0x10cb50-_0x11ae45};}[_0x2d1e0d(0xef)](){const _0x263881=_0x2d1e0d,{scaleX:_0x5d6ce4,scaleY:_0x13cc38}=this[_0x263881(0x180)][_0x263881(0x271)]();return Math['max'](_0x5d6ce4,_0x13cc38);}}var Ui=Object[_0x2d1e0d(0x116)],Mi=(_0x2ef7d0,_0x2be926,_0x160514,_0x3d0baa)=>{const _0x22472f=_0x2d1e0d;for(var _0x23bea8=_0x3d0baa>0x1?void 0x0:_0x3d0baa?Ui(_0x2be926,_0x160514):_0x2be926,_0x42ae74=_0x2ef7d0[_0x22472f(0x23b)]-0x1,_0x15224a;_0x42ae74>=0x0;_0x42ae74--)(_0x15224a=_0x2ef7d0[_0x42ae74])&&(_0x23bea8=_0x15224a(_0x23bea8)||_0x23bea8);return _0x23bea8;},Z=(_0x80d081,_0x58ceee)=>(_0xf8bca5,_0x60b51f)=>_0x58ceee(_0xf8bca5,_0x60b51f,_0x80d081);let Pe=class extends _0x4816c8{constructor(_0x43f1bc,_0x39863f,_0x2bf8d7,_0x1f3c4b,_0x251d42){const _0x1771f8=_0x2d1e0d;super(),_(this,'_cursorShapes',[]),_(this,_0x1771f8(0x1d8),[]),(this[_0x1771f8(0xd8)]=_0x43f1bc,this[_0x1771f8(0x1d7)]=_0x39863f,this[_0x1771f8(0x1ae)]=_0x2bf8d7,this[_0x1771f8(0xcb)]=_0x1f3c4b,this['_themeService']=_0x251d42,this[_0x1771f8(0x206)]());}[_0x2d1e0d(0x206)](){const _0x46fcc7=_0x2d1e0d,_0x17fe02=this[_0x46fcc7(0xd8)][_0x46fcc7(0x157)],_0x32b53e=this[_0x46fcc7(0x1d7)];this[_0x46fcc7(0x267)](_0x5f10bd([this[_0x46fcc7(0x1ae)][_0x46fcc7(0x115)](_0x17fe02),this[_0x46fcc7(0x196)][_0x46fcc7(0x210)]])['pipe'](_0x29aeaa(([_0x49a53d,_0x13c15d])=>({'skeleton':_0x32b53e[_0x46fcc7(0x1f5)](),'cursors':[..._0x49a53d[_0x46fcc7(0x140)]()][_0x46fcc7(0xd6)](_0x295103=>({..._0x295103,'color':this[_0x46fcc7(0x196)][_0x46fcc7(0xf8)](_0x295103['color'])}))})))['subscribe'](_0x41270b=>{const _0x4ddb93=_0x46fcc7;if(this['_removeCollabCursors'](),_0x41270b){const {skeleton:_0x3ced10,cursors:_0x299ee4}=_0x41270b;this[_0x4ddb93(0x211)](_0x3ced10,_0x299ee4);}})),this['_initResize'](),this[_0x46fcc7(0x145)]();}[_0x2d1e0d(0x211)](_0xef01c,_0xc3a0f4){const _0x40f6d8=_0x2d1e0d,{scene:_0x5c5e06,mainComponent:_0xd61262}=this[_0x40f6d8(0xd8)],_0x223663=_0xc3a0f4[_0x40f6d8(0x132)](_0x524701=>new qe(_0x524701,_0x5c5e06,_0xef01c,_0xd61262));this['_cursorShapes']=_0x223663,this[_0x40f6d8(0x1d8)]=_0xc3a0f4;}[_0x2d1e0d(0x1b3)](){const _0x1d6b36=_0x2d1e0d;this['_removeCollabCursors']();const {scene:_0x339962,mainComponent:_0x4a0aa3}=this[_0x1d6b36(0xd8)],_0x5041f2=this['_docSkeletonManagerService'][_0x1d6b36(0x1f5)](),_0x566550=this['_cursors'][_0x1d6b36(0x132)](_0x51f8fd=>new qe(_0x51f8fd,_0x339962,_0x5041f2,_0x4a0aa3));this['_cursorShapes']=_0x566550;}[_0x2d1e0d(0x1dd)](){const _0x4f9340=_0x2d1e0d;this[_0x4f9340(0x214)][_0x4f9340(0xf7)](_0x4e4e28=>_0x4e4e28[_0x4f9340(0x1bf)]()),this[_0x4f9340(0x214)]=[];}['_initCommandExecutedListener'](){const _0x452e7a=_0x2d1e0d,_0x52725c=[_0x46200a['id']];this[_0x452e7a(0x267)](this['_commandService']['onCommandExecuted'](_0x76dc50=>{const _0xeb2554=_0x452e7a;_0x52725c[_0xeb2554(0x1e7)](_0x76dc50['id'])&&_0x76dc50[_0xeb2554(0x189)][_0xeb2554(0x157)]===this['_context'][_0xeb2554(0x157)]&&this['_refreshCollabCursors']();}));}[_0x2d1e0d(0x280)](){const _0x484196=_0x2d1e0d;this[_0x484196(0x267)](_0x2734c3(this['_context'][_0x484196(0x291)][_0x484196(0x202)])[_0x484196(0x193)](_0x21e45b(_0x12b5d8=>_0x12b5d8[_0x484196(0x1c5)]===_0x4aea0d[_0x484196(0x27a)]),_0x2ca1ae(0x10))[_0x484196(0x207)](()=>{this['_refreshCollabCursors']();}));}};Pe=Mi([Z(0x1,_0x4696e6(_0x52cab7)),Z(0x2,_0x4696e6(H)),Z(0x3,_0x1f0391),Z(0x4,_0x4696e6(_0x1396b0))],Pe);function _0x9c36(_0x20d0e1,_0x21e266){const _0x4aa8c0=_0x4aa8();return _0x9c36=function(_0x9c3692,_0x409592){_0x9c3692=_0x9c3692-0xc2;let _0x14bfc5=_0x4aa8c0[_0x9c3692];return _0x14bfc5;},_0x9c36(_0x20d0e1,_0x21e266);}const Pi=0x1,Li=1.5;class wi extends _0x4a6a7a{constructor(_0x1f579b,_0x196d5c){const _0x3680be=_0x2d1e0d;super(_0x1f579b,_0x196d5c),_(this,'_color'),_(this,_0x3680be(0x1e3),!0x1),_(this,_0x3680be(0x1de)),_(this,_0x3680be(0x2be),''),_(this,_0x3680be(0x20f),'top'),_(this,_0x3680be(0x238)),(_0x196d5c&&this[_0x3680be(0x111)](_0x196d5c),this[_0x3680be(0x1bd)]['subscribeEvent'](()=>this[_0x3680be(0x111)]({'hovered':!0x0})),this[_0x3680be(0x28d)][_0x3680be(0x26c)](()=>this[_0x3680be(0x111)]({'hovered':!0x1})));}[_0x2d1e0d(0x111)](_0x4d1958){const _0x5e84d0=_0x2d1e0d;var _0x56ac30,_0x7efbb6,_0x313150,_0x5c5ae0,_0xecda15,_0x372e24;this['_color']=(_0x56ac30=_0x4d1958['color'])!=null?_0x56ac30:this['_color'],this[_0x5e84d0(0x1e3)]=(_0x7efbb6=_0x4d1958[_0x5e84d0(0x18a)])!=null?_0x7efbb6:this[_0x5e84d0(0x1e3)],this['_range']=(_0x313150=_0x4d1958[_0x5e84d0(0x29e)])!=null?_0x313150:this[_0x5e84d0(0x1de)],this[_0x5e84d0(0x2be)]=(_0x5c5ae0=_0x4d1958['name'])!=null?_0x5c5ae0:this['_name'],this['_labelPosition']=(_0xecda15=_0x4d1958[_0x5e84d0(0x217)])!=null?_0xecda15:this['_labelPosition'],this['_backgroundColor']=(_0x372e24=_0x4d1958[_0x5e84d0(0x1c0)])!=null?_0x372e24:this[_0x5e84d0(0x238)],this[_0x5e84d0(0x258)]({'width':_0x4d1958[_0x5e84d0(0x1cc)],'height':_0x4d1958[_0x5e84d0(0x15f)]});}[_0x2d1e0d(0x292)](_0x3e8849){const _0x214ca9=_0x2d1e0d,{row:_0x43fe32,column:_0x3fb27d}=_0x3e8849;if(_0x43fe32>=this[_0x214ca9(0x1de)]['startRow']&&_0x43fe32<=this[_0x214ca9(0x1de)]['endRow']&&_0x3fb27d>=this[_0x214ca9(0x1de)]['startColumn']&&_0x3fb27d<=this['_range'][_0x214ca9(0x216)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x214ca9(0x111)]({'hovered':!0x1});}[_0x2d1e0d(0x1e8)](_0x2fba16){return!0x1;}[_0x2d1e0d(0x1a9)](_0x167082){const _0x922e73=_0x2d1e0d;_0xa2a47e[_0x922e73(0x246)](_0x167082,{'width':this[_0x922e73(0x1cc)],'height':this['height'],'strokeWidth':Li,'stroke':this[_0x922e73(0x2c9)],'evented':!0x1,'fill':this[_0x922e73(0x238)]}),this[_0x922e73(0x1e3)]&&(_0x167082[_0x922e73(0x2bf)](),_0x167082[_0x922e73(0x1cd)](0x1,0x0,0x0,0x1,this[_0x922e73(0x1cc)],this['_labelPosition']===_0x922e73(0x159)?0x0:-0x14),he[_0x922e73(0x246)](_0x167082,{'text':this[_0x922e73(0x2be)],'color':this['_color']}),_0x167082[_0x922e73(0xda)]());}}var Ai=Object[_0x2d1e0d(0x116)],yi=(_0x535484,_0x12b5cf,_0x4e507b,_0x362745)=>{const _0xaddcc6=_0x2d1e0d;for(var _0x405c5b=_0x362745>0x1?void 0x0:_0x362745?Ai(_0x12b5cf,_0x4e507b):_0x12b5cf,_0x20269a=_0x535484[_0xaddcc6(0x23b)]-0x1,_0x38204e;_0x20269a>=0x0;_0x20269a--)(_0x38204e=_0x535484[_0x20269a])&&(_0x405c5b=_0x38204e(_0x405c5b)||_0x405c5b);return _0x405c5b;},ve=(_0x45abbf,_0x2e0ac1)=>(_0x5e23ef,_0x3b1323)=>_0x2e0ac1(_0x5e23ef,_0x3b1323,_0x45abbf);const $i=0x1389;let Le=class extends _0x4816c8{constructor(_0x307b66,_0x42fe19,_0x405cce,_0x475f05){const _0x3d7be4=_0x2d1e0d;super(),_(this,_0x3d7be4(0x1d8),new Set()),_(this,_0x3d7be4(0x26e),null),(this[_0x3d7be4(0xd8)]=_0x307b66,this['_sheetSkeletonManagerService']=_0x42fe19,this['_collabCursorController']=_0x405cce,this[_0x3d7be4(0x196)]=_0x475f05,this[_0x3d7be4(0x206)]());}[_0x2d1e0d(0x206)](){const _0x42061a=_0x2d1e0d;this[_0x42061a(0x278)][_0x42061a(0x179)][_0x42061a(0x193)](_0x2494c9(this['dispose$']),_0x30573a(_0x35c7fa=>{const _0x55acba=_0x42061a;if(_0x35c7fa){const _0x4c420c=_0x35c7fa[_0x55acba(0x133)];return _0x5f10bd(this['_collabCursorController']['getCollabCursors$'](this[_0x55acba(0xd8)]['unitId']),this[_0x55acba(0x196)]['currentTheme$'])[_0x55acba(0x193)](_0x29aeaa(([_0x113f0d,_0x2d0900])=>{const _0x5a0935=_0x55acba,_0x20635d=new Map();return _0x113f0d[_0x5a0935(0xf7)]((_0x1a6b9d,_0xa6c2d2)=>{const _0x2d5f45=_0x5a0935;if(_0x1a6b9d[_0x2d5f45(0xcd)]===_0x4c420c){const _0x5ba02e={..._0x1a6b9d};_0x5ba02e[_0x2d5f45(0xff)]=this[_0x2d5f45(0x196)]['getColorFromTheme'](_0x1a6b9d[_0x2d5f45(0xff)]),_0x20635d[_0x2d5f45(0xd2)](_0xa6c2d2,_0x5ba02e);}}),{'skeleton':_0x35c7fa,'cursors':_0x20635d};}));}return _0x1e1ccc({'skeleton':null,'cursors':new Map()});}))[_0x42061a(0x207)](({skeleton:_0x232fdd,cursors:_0x217fda})=>{const _0x3670a6=_0x42061a;this['_removeCollabCursors'](),_0x232fdd&&this[_0x3670a6(0x211)](_0x232fdd,_0x217fda);}),this[_0x42061a(0x278)][_0x42061a(0x179)][_0x42061a(0x207)](_0x571658=>{const _0x48308a=_0x42061a;if(_0x571658==null)return;const {skeleton:_0x9a3854}=_0x571658,{scene:_0xbedae2}=this['_context'];_0xbedae2[_0x48308a(0x240)][_0x48308a(0x26c)](_0x6bbf58(_0x20e911=>{const _0x11341a=_0x48308a;var _0x56c434,_0x41429f;const {offsetX:_0x365862,offsetY:_0x479419}=_0x20e911,{x:_0x210acb,y:_0x35cbb2}=_0xbedae2[_0x11341a(0x21f)](_0x4365ac[_0x11341a(0x1e5)]([_0x365862,_0x479419])),{scaleX:_0x427c6f,scaleY:_0x21c833}=_0xbedae2['getAncestorScale'](),_0x1e5734=_0xbedae2[_0x11341a(0x14a)](_0x57db24[_0x11341a(0x1a3)]),_0x1c53ab=_0xbedae2['getVpScrollXYInfoByPosToVp'](_0x4365ac['FromArray']([_0x210acb,_0x35cbb2]),_0x1e5734),_0xdaf7b2=_0x9a3854['getCellPositionByOffset'](_0x365862,_0x479419,_0x427c6f,_0x21c833,_0x1c53ab);((_0x56c434=this[_0x11341a(0x26e)])==null?void 0x0:_0x56c434[_0x11341a(0x17b)])===_0xdaf7b2['column']&&((_0x41429f=this[_0x11341a(0x26e)])==null?void 0x0:_0x41429f[_0x11341a(0xf3)])===_0xdaf7b2[_0x11341a(0xf3)]||this[_0x11341a(0x1d8)][_0x11341a(0xf7)](_0x32eaf0=>{const _0x512ee0=_0x11341a;_0x32eaf0[_0x512ee0(0x292)](_0xdaf7b2);});},0x64));});}['_updateCollabCursors'](_0x5be6d2,_0x2d591a){const _0x566cec=_0x2d1e0d;var _0x128def;const _0x9b81fc=(_0x128def=this[_0x566cec(0x278)][_0x566cec(0xc7)]())==null?void 0x0:_0x128def[_0x566cec(0x102)];if(!_0x9b81fc)return;const _0x4d26af=this[_0x566cec(0x18e)]();if(!_0x4d26af)return;this[_0x566cec(0x1d8)]['forEach'](_0x535ee2=>{_0x535ee2['makeDirty']();});const {scene:_0x505e42}=_0x4d26af,_0x20b644=xi(Array[_0x566cec(0xc9)](_0x2d591a[_0x566cec(0x140)]()))['map'](_0x25f833=>{const _0x76c6a3=_0x566cec,{color:_0x419e13,range:_0x25a082,name:_0x46c2c6,selection:_0x45d9e9,sheetID:_0x360eb1}=_0x25f833,{startColumn:_0x2066e1,startRow:_0x145ace,endColumn:_0x25b626,endRow:_0x1e33c5}=_0x25a082,_0x37127f=_0x591d24(_0x145ace,_0x2066e1,_0x505e42,_0x9b81fc),_0x4ec4cb=_0x591d24(_0x1e33c5,_0x25b626,_0x505e42,_0x9b81fc),{columnHeaderHeightAndMarginTop:_0x44b8a7}=_0x9b81fc,{startX:_0x3bb4c1,startY:_0x14b590}=_0x37127f,{endX:_0x2f6890,endY:_0x31606e}=_0x4ec4cb,_0x462c92=_0x2f6890-_0x3bb4c1,_0xfe5f4f=_0x31606e-_0x14b590,_0x5637b8={'labelPosition':_0x14b590-_0x44b8a7>=ee?_0x76c6a3(0x242):_0x76c6a3(0x159),'sheetID':_0x360eb1,'range':_0x25a082,'color':_0x419e13,'name':_0x46c2c6,'selection':_0x45d9e9,'left':_0x3bb4c1,'top':_0x14b590,'width':_0x462c92,'height':_0xfe5f4f,'evented':!0x1,'zIndex':$i};return new wi(_0x46c2c6,_0x5637b8);});_0x505e42['addObjects'](_0x20b644,Pi),this['_cursors']=new Set(_0x20b644);}[_0x2d1e0d(0x1dd)](){const _0x22e8f0=_0x2d1e0d;var _0x47e204;(_0x47e204=this[_0x22e8f0(0x1d8)])==null||_0x47e204[_0x22e8f0(0xf7)](_0x4c94fa=>_0x4c94fa[_0x22e8f0(0x1bf)]());}[_0x2d1e0d(0x18e)](){const _0x5f5927=_0x2d1e0d;return _0x4cf0ad(this[_0x5f5927(0xd8)]['unit'],this[_0x5f5927(0xd8)]);}};Le=yi([ve(0x1,_0x4696e6(_0x136caa)),ve(0x2,_0x4696e6(H)),ve(0x3,_0x4696e6(_0x1396b0))],Le);function xi(_0x4a201d){const _0x506971=_0x2d1e0d,_0x28350a=new Map();return _0x4a201d['forEach'](_0x50f368=>{const _0x3b6829=_0x9c36;if(_0x28350a[_0x3b6829(0x19c)](_0x50f368[_0x3b6829(0x237)])){const _0x5126c1=_0x28350a[_0x3b6829(0x296)](_0x50f368[_0x3b6829(0x237)]);_0x5126c1[_0x3b6829(0x154)]+=',\x20'+_0x50f368[_0x3b6829(0x154)];}else _0x28350a[_0x3b6829(0xd2)](_0x50f368[_0x3b6829(0x237)],_0x50f368);}),Array['from'](_0x28350a[_0x506971(0x140)]());}var v=function(){const _0x1561d1=_0x2d1e0d;return v=Object[_0x1561d1(0x130)]||function(_0x3ce8c0){const _0x31527e=_0x1561d1;for(var _0x5c6dbd,_0x3b9d17=0x1,_0x30d40a=arguments[_0x31527e(0x23b)];_0x3b9d17<_0x30d40a;_0x3b9d17++){_0x5c6dbd=arguments[_0x3b9d17];for(var _0x4d4bac in _0x5c6dbd)Object[_0x31527e(0x2b9)][_0x31527e(0x14e)][_0x31527e(0x16b)](_0x5c6dbd,_0x4d4bac)&&(_0x3ce8c0[_0x4d4bac]=_0x5c6dbd[_0x4d4bac]);}return _0x3ce8c0;},v['apply'](this,arguments);},Bi=function(_0x1f38a9,_0x9676dc){const _0xd48f17=_0x2d1e0d;var _0x385a35={};for(var _0x3302fd in _0x1f38a9)Object['prototype'][_0xd48f17(0x14e)][_0xd48f17(0x16b)](_0x1f38a9,_0x3302fd)&&_0x9676dc[_0xd48f17(0x1f2)](_0x3302fd)<0x0&&(_0x385a35[_0x3302fd]=_0x1f38a9[_0x3302fd]);if(_0x1f38a9!=null&&typeof Object[_0xd48f17(0x22f)]==_0xd48f17(0x11f)){for(var _0x477fa8=0x0,_0x3302fd=Object[_0xd48f17(0x22f)](_0x1f38a9);_0x477fa8<_0x3302fd[_0xd48f17(0x23b)];_0x477fa8++)_0x9676dc[_0xd48f17(0x1f2)](_0x3302fd[_0x477fa8])<0x0&&Object['prototype'][_0xd48f17(0xed)][_0xd48f17(0x16b)](_0x1f38a9,_0x3302fd[_0x477fa8])&&(_0x385a35[_0x3302fd[_0x477fa8]]=_0x1f38a9[_0x3302fd[_0x477fa8]]);}return _0x385a35;},je=_0x2a50b5(function(_0x1946d6,_0x3812c8){const _0x5dcb0e=_0x2d1e0d;var _0x2244e5=_0x1946d6['icon'],_0x354bbc=_0x1946d6['id'],_0x242a5f=_0x1946d6[_0x5dcb0e(0x107)],_0x46f595=_0x1946d6[_0x5dcb0e(0x19b)],_0x5f0580=Bi(_0x1946d6,['icon','id','className',_0x5dcb0e(0x19b)]),_0x59dbe1='univerjs-icon\x20univerjs-icon-'[_0x5dcb0e(0x13c)](_0x354bbc,'\x20')[_0x5dcb0e(0x13c)](_0x242a5f||'')[_0x5dcb0e(0x1c1)](),_0xf8ea3f=_0x4a71d4('_'['concat'](ji()));return Rt(_0x2244e5,''[_0x5dcb0e(0x13c)](_0x354bbc),{'defIds':_0x2244e5[_0x5dcb0e(0x100)],'idSuffix':_0xf8ea3f[_0x5dcb0e(0x121)]},v({'ref':_0x3812c8,'className':_0x59dbe1},_0x5f0580),_0x46f595);});function Rt(_0x1c7cec,_0x430a10,_0x1a2ac7,_0x3f3adc,_0x5f38c9){const _0x41d505=_0x2d1e0d;return _0xa539aa(_0x1c7cec[_0x41d505(0x1ff)],v(v({'key':_0x430a10},ki(_0x1c7cec,_0x1a2ac7,_0x5f38c9)),_0x3f3adc),(Hi(_0x1c7cec,_0x1a2ac7)[_0x41d505(0x191)]||[])[_0x41d505(0x132)](function(_0x169b81,_0x242d2c){const _0x50f1d0=_0x41d505;return Rt(_0x169b81,''[_0x50f1d0(0x13c)](_0x430a10,'-')[_0x50f1d0(0x13c)](_0x1c7cec[_0x50f1d0(0x1ff)],'-')[_0x50f1d0(0x13c)](_0x242d2c),_0x1a2ac7,void 0x0,_0x5f38c9);}));}function ki(_0x28afc6,_0x1e5d60,_0x2e499c){const _0x42c928=_0x2d1e0d;var _0x582542=v({},_0x28afc6[_0x42c928(0x205)]);_0x2e499c!=null&&_0x2e499c[_0x42c928(0x2a0)]&&_0x582542[_0x42c928(0x174)]===_0x42c928(0x2a0)&&(_0x582542[_0x42c928(0x174)]=_0x2e499c[_0x42c928(0x2a0)]),_0x28afc6[_0x42c928(0x1ff)]===_0x42c928(0x27c)&&_0x582542['id']&&(_0x582542['id']=_0x582542['id']+_0x1e5d60[_0x42c928(0x13e)]),Object[_0x42c928(0x27e)](_0x582542)['forEach'](function(_0x36ca85){const _0x3089a6=_0x42c928;var _0x466868=_0x36ca85[0x0],_0x27c62d=_0x36ca85[0x1];_0x466868===_0x3089a6(0x27c)&&typeof _0x27c62d=='string'&&(_0x582542[_0x466868]=_0x27c62d[_0x3089a6(0x146)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x1e5d60[_0x3089a6(0x13e)],')')));});var _0x182cf5=_0x1e5d60[_0x42c928(0x100)];return!_0x182cf5||_0x182cf5['length']===0x0||(_0x28afc6[_0x42c928(0x1ff)]===_0x42c928(0x11e)&&_0x582542['xlink:href']&&(_0x582542['xlink:href']=_0x582542[_0x42c928(0x18f)]+_0x1e5d60['idSuffix']),Object['entries'](_0x582542)[_0x42c928(0xf7)](function(_0x194d4a){const _0x46c70d=_0x42c928;var _0x1d3fcd=_0x194d4a[0x0],_0x289f7a=_0x194d4a[0x1];typeof _0x289f7a==_0x46c70d(0x254)&&(_0x582542[_0x1d3fcd]=_0x289f7a[_0x46c70d(0x146)](/url\(#(.*)\)/,_0x46c70d(0x1f3)[_0x46c70d(0x13c)](_0x1e5d60[_0x46c70d(0x13e)],')')));})),_0x582542;}function Hi(_0xbfdd72,_0x5a3965){const _0x5fe2aa=_0x2d1e0d;var _0x6916f6,_0x92519c=_0x5a3965['defIds'];return!_0x92519c||_0x92519c[_0x5fe2aa(0x23b)]===0x0?_0xbfdd72:_0xbfdd72[_0x5fe2aa(0x1ff)]===_0x5fe2aa(0xd4)&&(!((_0x6916f6=_0xbfdd72[_0x5fe2aa(0x191)])===null||_0x6916f6===void 0x0)&&_0x6916f6[_0x5fe2aa(0x23b)])?v(v({},_0xbfdd72),{'children':_0xbfdd72[_0x5fe2aa(0x191)][_0x5fe2aa(0x132)](function(_0x5eb79e){const _0x4f8ea9=_0x5fe2aa;return typeof _0x5eb79e['attrs']['id']==_0x4f8ea9(0x254)&&_0x92519c&&_0x92519c['indexOf'](_0x5eb79e[_0x4f8ea9(0x205)]['id'])>-0x1?v(v({},_0x5eb79e),{'attrs':v(v({},_0x5eb79e[_0x4f8ea9(0x205)]),{'id':_0x5eb79e[_0x4f8ea9(0x205)]['id']+_0x5a3965[_0x4f8ea9(0x13e)]})}):_0x5eb79e;})}):_0xbfdd72;}function ji(){const _0x105046=_0x2d1e0d;return Math[_0x105046(0x1ad)]()[_0x105046(0x221)](0x24)[_0x105046(0x1ee)](0x2,0x8);}je[_0x2d1e0d(0x23f)]=_0x2d1e0d(0x20b);var Yi={'tag':_0x2d1e0d(0xd0),'attrs':{'fill':'none','viewBox':_0x2d1e0d(0x209),'width':_0x2d1e0d(0x15d),'height':_0x2d1e0d(0x15d)},'children':[{'tag':'g','attrs':{'clipPath':_0x2d1e0d(0x161)},'children':[{'tag':'path','attrs':{'stroke':_0x2d1e0d(0xd7),'d':_0x2d1e0d(0x218),'strokeLinecap':_0x2d1e0d(0x1df),'strokeLinejoin':_0x2d1e0d(0x1df),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2d1e0d(0x186),'attrs':{'id':_0x2d1e0d(0x243)},'children':[{'tag':_0x2d1e0d(0x165),'attrs':{'fill':_0x2d1e0d(0x1e2),'d':_0x2d1e0d(0x192)}}]}]}],'defIds':[_0x2d1e0d(0x243)]},Dt=_0x2a50b5(function(_0x444dee,_0x19bedd){const _0x4a5b4f=_0x2d1e0d;return _0xa539aa(je,Object[_0x4a5b4f(0x130)]({},_0x444dee,{'id':_0x4a5b4f(0x21c),'ref':_0x19bedd,'icon':Yi}));});Dt[_0x2d1e0d(0x23f)]=_0x2d1e0d(0x138);var Fi={'tag':'svg','attrs':{'fill':_0x2d1e0d(0x248),'viewBox':_0x2d1e0d(0x272),'width':_0x2d1e0d(0x15d),'height':_0x2d1e0d(0x15d)},'children':[{'tag':'g','attrs':{'clipPath':_0x2d1e0d(0xdb)},'children':[{'tag':_0x2d1e0d(0x165),'attrs':{'stroke':_0x2d1e0d(0xd7),'d':_0x2d1e0d(0x158),'strokeLinecap':'round','strokeLinejoin':_0x2d1e0d(0x1df),'strokeWidth':1.2}}]},{'tag':_0x2d1e0d(0xd4),'attrs':{},'children':[{'tag':_0x2d1e0d(0x186),'attrs':{'id':_0x2d1e0d(0x14f)},'children':[{'tag':'path','attrs':{'fill':_0x2d1e0d(0x1e2),'d':_0x2d1e0d(0x192),'transform':_0x2d1e0d(0x113)}}]}]}],'defIds':[_0x2d1e0d(0x14f)]},Nt=_0x2a50b5(function(_0x37a29d,_0x1edf4a){const _0x3842f5=_0x2d1e0d;return _0xa539aa(je,Object[_0x3842f5(0x130)]({},_0x37a29d,{'id':_0x3842f5(0x270),'ref':_0x1edf4a,'icon':Fi}));});Nt['displayName']=_0x2d1e0d(0x123);function Wi(_0x2450a6){const _0x519081=_0x2d1e0d;switch(_0x2450a6){case _0x3a7ac4[_0x519081(0x18c)]:return _0x519081(0x15c);case _0x3a7ac4[_0x519081(0x2b2)]:return _0x519081(0x27d);case _0x3a7ac4['FETCH_MISS']:return _0x519081(0x23a);case _0x3a7ac4[_0x519081(0x112)]:return _0x519081(0x2ac);case _0x3a7ac4[_0x519081(0x24f)]:case _0x3a7ac4[_0x519081(0x10a)]:return'collabStatus.syncing';case _0x3a7ac4[_0x519081(0x286)]:case _0x3a7ac4[_0x519081(0x2a3)]:return'collabStatus.synced';}}function Vi(_0x34bdc1){const _0x4e0457=_0x2d1e0d,{status$:_0x4f9109}=_0x34bdc1,_0x36578f=_0x2df445(_0x4f9109,_0x3a7ac4[_0x4e0457(0x112)]),_0x3eac91=_0x5a8dc8(_0x263891),_0x562710=_0x5a8dc8(_0x19cce4),_0x213816=_0x36578f!==_0x3a7ac4['OFFLINE'],_0x3cfea9=_0x3eac91['t'](Wi(_0x36578f)),_0x16f459=_0x213816?_0x522296(Nt,{}):_0x522296(Dt,{}),_0x190e99=_0x1dc6e9(()=>{const _0x67cab2=_0x4e0457;_0x213816||_0x562710[_0x67cab2(0x1f4)]();},[_0x213816,_0x562710]);function _0x1aa41e(){const _0x3429de=_0x4e0457;return _0x396bfb('div',{'className':_0x3429de(0x108),'onClick':_0x190e99,'children':[_0x522296(_0x3429de(0x117),{'className':_0x57284f(_0x3429de(0x152),{'univer-text-green-500':_0x213816,'univer-text-red-500':!_0x213816}),'children':_0x16f459}),_0x522296(_0x3429de(0x117),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3cfea9})]});}return _0x213816?_0x1aa41e():_0x522296(_0x43659a,{'title':_0x3eac91['t'](_0x4e0457(0x1ab)),'children':_0x1aa41e()});}var Xi=Object['getOwnPropertyDescriptor'],Gi=(_0x3e8b8f,_0x11655e,_0x2e55c4,_0x3d7814)=>{for(var _0x4861fb=_0x3d7814>0x1?void 0x0:_0x3d7814?Xi(_0x11655e,_0x2e55c4):_0x11655e,_0x3f7b37=_0x3e8b8f['length']-0x1,_0x4f37df;_0x3f7b37>=0x0;_0x3f7b37--)(_0x4f37df=_0x3e8b8f[_0x3f7b37])&&(_0x4861fb=_0x4f37df(_0x4861fb)||_0x4861fb);return _0x4861fb;},Q=(_0x28dd78,_0x20c3fc)=>(_0xb131d4,_0x315694)=>_0x20c3fc(_0xb131d4,_0x315694,_0x28dd78);let te=class extends _0xe3d2d0{constructor(_0x293e63,_0x8eb9d,_0x17787d,_0x224c3e){const _0x4dbd87=_0x2d1e0d;super(),_(this,'_status$',new _0x116689(_0x3a7ac4[_0x4dbd87(0x112)])),(this[_0x4dbd87(0x24a)]=_0x293e63,this['_injector']=_0x8eb9d,this['_collaborationController']=_0x17787d,this[_0x4dbd87(0x2ad)]=_0x224c3e,this[_0x4dbd87(0x20a)](),this['_initStatusListener']());}[_0x2d1e0d(0x203)](){const _0x155fff=_0x2d1e0d;this[_0x155fff(0x267)](this[_0x155fff(0x24a)][_0x155fff(0x24d)]['pipe'](_0x34f066(()=>{const _0xeb776c=_0x155fff,_0x55bc6d=this['_univerInstanceService'][_0xeb776c(0x1a1)]();return _0x55bc6d?this[_0xeb776c(0xf0)][_0xeb776c(0x1ba)](_0x55bc6d[_0xeb776c(0x257)]()):_0x1e1ccc(null);}),_0x34f066(_0x4faca1=>_0x4faca1?_0x4faca1['status$']:_0x1e1ccc(_0x3a7ac4[_0x155fff(0x112)])))[_0x155fff(0x207)](_0x2786e1=>{const _0x141f27=_0x155fff;this['_status$'][_0x141f27(0x28f)](_0x2786e1);}));}['_initStatusComponent'](){const _0x2115b4=_0x2d1e0d;this[_0x2115b4(0x267)](this[_0x2115b4(0x2ad)][_0x2115b4(0x25c)](_0x232fa7[_0x2115b4(0x195)],()=>_0x5eeafa(Ki({'status$':this[_0x2115b4(0x19d)][_0x2115b4(0x1f1)]()}),this[_0x2115b4(0x1b6)])));}};te=Gi([Q(0x0,_0x39864d),Q(0x1,_0x4696e6(_0x473ccb)),Q(0x2,_0x4696e6(_0x33b552)),Q(0x3,_0x5cacb5)],te);function Ki(_0x27fd64){const {status$:_0x40f693}=_0x27fd64;return function(){return _0x522296(Vi,{'status$':_0x40f693});};}var zi=Object[_0x2d1e0d(0x116)],Ji=(_0x185ed0,_0x2d3265,_0x50b150,_0x2e4cc5)=>{const _0xf96db2=_0x2d1e0d;for(var _0x293437=_0x2e4cc5>0x1?void 0x0:_0x2e4cc5?zi(_0x2d3265,_0x50b150):_0x2d3265,_0x2ebeba=_0x185ed0[_0xf96db2(0x23b)]-0x1,_0x33e177;_0x2ebeba>=0x0;_0x2ebeba--)(_0x33e177=_0x185ed0[_0x2ebeba])&&(_0x293437=_0x33e177(_0x293437)||_0x293437);return _0x293437;},B=(_0x49e5df,_0x3a921d)=>(_0x74455f,_0x5119b6)=>_0x3a921d(_0x74455f,_0x5119b6,_0x49e5df);let se=class extends _0xe3d2d0{constructor(_0x14f7fc,_0x16a49a,_0x35ef73,_0x311b4e,_0x266826,_0x491d19){const _0x2dd9a5=_0x2d1e0d;super(),this['_beforeCloseService']=_0x14f7fc,this[_0x2dd9a5(0x172)]=_0x16a49a,this[_0x2dd9a5(0x1ea)]=_0x35ef73,this[_0x2dd9a5(0x2b4)]=_0x311b4e,this[_0x2dd9a5(0x10d)]=_0x266826,this['_localeService']=_0x491d19,this[_0x2dd9a5(0x2a2)](),this[_0x2dd9a5(0x1d3)]();}[_0x2d1e0d(0x2a2)](){const _0x5c39eb=_0x2d1e0d;this['disposeWithMe'](this['_beforeCloseService'][_0x5c39eb(0x184)](()=>{const _0x36661b=_0x5c39eb;if(this[_0x36661b(0x172)]['saveTaskMap']['size'])return this[_0x36661b(0x253)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x2d1e0d(0x1d3)](){const _0x40153c=_0x2d1e0d;this[_0x40153c(0x267)](this[_0x40153c(0x1ea)]['event$'][_0x40153c(0x207)](_0x397b1b=>{const _0x9bc5cb=_0x40153c;_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0x17a)]&&this[_0x9bc5cb(0x2b4)][_0x9bc5cb(0x262)]({'type':_0x23b682[_0x9bc5cb(0x22a)],'content':this[_0x9bc5cb(0x253)]['t']('collaboration.single-unit.warning')}),_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0x28b)]&&this[_0x9bc5cb(0x2b4)][_0x9bc5cb(0x262)]({'type':_0x23b682['Warning'],'content':this[_0x9bc5cb(0x253)]['t'](_0x9bc5cb(0x212))}),_0x397b1b['id']===_0x1e850d['PERMISSION_DENIED']&&this['_notificationService'][_0x9bc5cb(0x262)]({'title':this[_0x9bc5cb(0x253)]['t'](_0x9bc5cb(0x294)),'content':this[_0x9bc5cb(0x253)]['t'](_0x9bc5cb(0x2a6)),'type':_0x9bc5cb(0x2a5),'duration':0x0}),_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0x2b2)]&&this[_0x9bc5cb(0x2b4)][_0x9bc5cb(0x262)]({'type':_0x23b682[_0x9bc5cb(0x185)],'content':this['_localeService']['t'](_0x9bc5cb(0x212))+'('+_0x397b1b[_0x9bc5cb(0x1c6)]+')'}),_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0x27f)]&&this[_0x9bc5cb(0x2b4)][_0x9bc5cb(0x262)]({'type':_0x23b682['Warning'],'content':this[_0x9bc5cb(0x253)]['t'](_0x397b1b['data']||'')}),_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0xe9)]&&this[_0x9bc5cb(0x2b4)]['show']({'type':_0x23b682[_0x9bc5cb(0x22a)],'content':this[_0x9bc5cb(0x253)]['t']('session.will-retry')}),_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0x17e)]&&this[_0x9bc5cb(0x2b4)]['show']({'type':_0x23b682['Error'],'content':this[_0x9bc5cb(0x253)]['t'](_0x9bc5cb(0xe3))}),_0x397b1b['id']===_0x1e850d[_0x9bc5cb(0x1d1)]&&this[_0x9bc5cb(0x2b4)][_0x9bc5cb(0x262)]({'type':_0x23b682['Error'],'content':this['_localeService']['t'](_0x9bc5cb(0x139))});}));}};se=Ji([B(0x0,_0x1510ff),B(0x1,_0x354de5),B(0x2,_0x4696e6(_0x5763f7)),B(0x3,_0x123b71),B(0x4,_0xba05fe),B(0x5,_0x4696e6(_0x263891))],se);const Zi=_0x2d1e0d(0xcc),et={},Ut=_0x4b61bd(_0x2d1e0d(0x1cb));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x5dfe1b,_0x4e02ec,_0x37feb0,_0x2544f0)=>{const _0xf7e080=_0x2d1e0d;for(var _0x2e5371=_0x2544f0>0x1?void 0x0:_0x2544f0?Qi(_0x4e02ec,_0x37feb0):_0x4e02ec,_0x2fc9fb=_0x5dfe1b[_0xf7e080(0x23b)]-0x1,_0x13be0f;_0x2fc9fb>=0x0;_0x2fc9fb--)(_0x13be0f=_0x5dfe1b[_0x2fc9fb])&&(_0x2e5371=_0x13be0f(_0x2e5371)||_0x2e5371);return _0x2e5371;},G=(_0x5db328,_0x24efe1)=>(_0x446dca,_0x39e35b)=>_0x24efe1(_0x446dca,_0x39e35b,_0x5db328);let ie=class extends _0x4816c8{constructor(_0x1f3fd9,_0x3cb938,_0x3f6717,_0x119b6a,_0x35b806){const _0xf47b27=_0x2d1e0d;super(),this[_0xf47b27(0x2ba)]=_0x1f3fd9,this[_0xf47b27(0x197)]=_0x3cb938,this['_commandService']=_0x3f6717,this[_0xf47b27(0x2ab)]=_0x119b6a,_0x35b806?_0x35b806==null||_0x35b806['whenReady']()['then'](()=>this[_0xf47b27(0x206)]()):(this['_logService'][_0xf47b27(0x2ae)](_0xf47b27(0x137),_0xf47b27(0x1a4)),this['_init']());}async['_init'](){const _0x14cec8=_0x2d1e0d,_0x1343d1=this[_0x14cec8(0x2ba)]['getParam']('unit'),_0x37bb5d=this[_0x14cec8(0x2ba)][_0x14cec8(0x255)](_0x14cec8(0x1c5)),_0x2ca64e=this['_urlService']['getParam'](_0x14cec8(0x156));if(!_0x1343d1||!_0x37bb5d){this[_0x14cec8(0x197)]['debug'](_0x14cec8(0x137),_0x14cec8(0x284));return;}const _0x5905b0=await this['_dataLoaderService'][_0x14cec8(0xdf)](_0x1343d1,Number(_0x37bb5d),_0x2ca64e);_0x5905b0&&_0x5905b0 instanceof _0x50c246&&this[_0x14cec8(0x26d)](_0x5905b0);}async['_setupSubUnitSync'](_0x21d4ae){const _0xfe0754=_0x2d1e0d;await this[_0xfe0754(0x166)](_0x21d4ae),_0x21d4ae['activeSheet$'][_0xfe0754(0x193)](_0x168710(this[_0xfe0754(0x2c6)]))[_0xfe0754(0x207)](_0x1c2972=>{const _0x2bac73=_0xfe0754;_0x1c2972&&this[_0x2bac73(0x16a)](_0x1c2972);}),this[_0xfe0754(0x2ba)]['urlChange$'][_0xfe0754(0x193)](_0x168710(this[_0xfe0754(0x2c6)]))[_0xfe0754(0x207)](()=>this['_updateSubUnitFromURLParams'](_0x21d4ae));}[_0x2d1e0d(0x16a)](_0x5e0cf0,_0x119296=!0x1){const _0xb6e364=_0x2d1e0d,_0x7b2f57=this['_urlService'][_0xb6e364(0x255)](_0xb6e364(0x156));_0x5e0cf0[_0xb6e364(0x12b)]()!==_0x7b2f57&&this[_0xb6e364(0x2ba)][_0xb6e364(0x281)](_0xb6e364(0x156),_0x5e0cf0[_0xb6e364(0x12b)](),_0x119296);}async[_0x2d1e0d(0x166)](_0x377e7c){const _0x3ca7f5=_0x2d1e0d;var _0x1c6588;const _0x43f217=this['_urlService'][_0x3ca7f5(0x255)](_0x3ca7f5(0x156));if(!_0x43f217||!_0x377e7c[_0x3ca7f5(0x1fc)](_0x43f217)){const _0x30dfb6=_0x377e7c[_0x3ca7f5(0x147)]()[0x0],_0x26a9d3=_0x377e7c[_0x3ca7f5(0x1fc)](_0x30dfb6);if(!_0x26a9d3)return;this[_0x3ca7f5(0x16a)](_0x26a9d3,!0x0),await this[_0x3ca7f5(0xcb)][_0x3ca7f5(0x2b5)](_0x194e65['id'],{'unitId':_0x377e7c['getUnitId'](),'subUnitId':_0x30dfb6});return;}((_0x1c6588=_0x377e7c['getActiveSheet']())==null?void 0x0:_0x1c6588[_0x3ca7f5(0x12b)]())!==_0x43f217&&await this[_0x3ca7f5(0xcb)][_0x3ca7f5(0x2b5)](_0x194e65['id'],{'unitId':_0x377e7c[_0x3ca7f5(0x257)](),'subUnitId':_0x43f217});}};ie=qi([G(0x0,Ut),G(0x1,_0x3c411e),G(0x2,_0x1f0391),G(0x3,_0x4696e6(_0x4fc34d)),G(0x4,_0x580dda(_0x5ed250))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x39af9d,_0x3a69b8,_0xbe3d57,_0x37d91d)=>{const _0x14d36c=_0x2d1e0d;for(var _0x3a2e63=_0x37d91d>0x1?void 0x0:_0x37d91d?en(_0x3a69b8,_0xbe3d57):_0x3a69b8,_0x36e59c=_0x39af9d[_0x14d36c(0x23b)]-0x1,_0x12029c;_0x36e59c>=0x0;_0x36e59c--)(_0x12029c=_0x39af9d[_0x36e59c])&&(_0x3a2e63=_0x12029c(_0x3a2e63)||_0x3a2e63);return _0x3a2e63;},pe=(_0x4ea71f,_0xbdfcb4)=>(_0x12c721,_0x565520)=>_0xbdfcb4(_0x12c721,_0x565520,_0x4ea71f);let ne=class{constructor(_0x119eb0,_0xb3e3a,_0xf2d61e){const _0x43ec2e=_0x2d1e0d;this['_injector']=_0x119eb0,this['_transformService']=_0xb3e3a,this[_0x43ec2e(0x263)]=_0xf2d61e;}[_0x2d1e0d(0x227)](_0x35a90f){const _0x137d88=_0x2d1e0d;this[_0x137d88(0x277)](_0x35a90f),this[_0x137d88(0x1f0)](_0x35a90f);}['transformRemoteChangeset'](_0x258234){const _0x598831=_0x2d1e0d,{unitID:_0x2f8c6e}=_0x258234,_0x4d16b7=this[_0x598831(0x263)][_0x598831(0x1e4)](_0x2f8c6e)[_0x598831(0x142)](_0x3e670c),{redoCache:_0x3003f6}=_0x4d16b7[_0x598831(0xeb)]();if(_0x3003f6['length']===0x0)return _0x258234;let _0x4be51b=_0x33e698[_0x598831(0x1be)](_0x258234[_0x598831(0x225)][0x0]);for(let _0x2ac987=0x0;_0x2ac987<_0x3003f6[_0x598831(0x23b)];_0x2ac987++){const _0x3eb5ab={'id':_0x598831(0x1fe),'params':{..._0x3003f6[_0x2ac987]}},_0x189877=this[_0x598831(0x265)][_0x598831(0x1a5)](_0x4be51b,_0x3eb5ab,!0x1);if(_0x17ada0(_0x189877))throw _0x189877[_0x598831(0x2a5)];_0x4be51b=_0x189877[_0x598831(0x224)];}return{..._0x33e698[_0x598831(0x1be)](_0x258234),'mutations':[_0x4be51b]};}[_0x2d1e0d(0x277)](_0x464da6){const _0x531731=_0x2d1e0d,{unitID:_0x32b61d}=_0x464da6,_0x3b0f36=this[_0x531731(0x263)][_0x531731(0x1e4)](_0x32b61d)[_0x531731(0x142)](_0x3e670c),{undoCache:_0x2d022f,redoCache:_0x3c304d}=_0x3b0f36[_0x531731(0xeb)]();if(_0x2d022f[_0x531731(0x23b)]===0x0||_0x3c304d[_0x531731(0x23b)]===0x0)return;const _0x35a9ad=[],_0x117853=[];let _0x148195=_0x33e698['deepClone'](_0x464da6[_0x531731(0x225)][0x0]),_0x333057=_0x33e698['deepClone'](_0x464da6[_0x531731(0x225)][0x0]);for(let _0x3e4d27=_0x2d022f[_0x531731(0x23b)]-0x1;_0x3e4d27>=0x0;_0x3e4d27--){const _0x127e1b={'id':_0x531731(0x1fe),'params':{..._0x2d022f[_0x3e4d27]}},_0x4e96c4={'id':'doc.mutation.rich-text-editing','params':{..._0x3c304d[_0x3e4d27]}},_0x1fd811=this['_transformService'][_0x531731(0x1a5)](_0x148195,_0x127e1b,!0x1),_0x147e33=this[_0x531731(0x265)][_0x531731(0x1a5)](_0x333057,_0x4e96c4,!0x1);if(_0x17ada0(_0x1fd811))throw _0x1fd811[_0x531731(0x2a5)];if(_0x17ada0(_0x147e33))throw _0x147e33[_0x531731(0x2a5)];_0x35a9ad[_0x531731(0x244)](_0x1fd811[_0x531731(0xec)]['params']),_0x117853[_0x531731(0x244)](_0x147e33[_0x531731(0xec)][_0x531731(0x189)]),_0x148195=_0x1fd811[_0x531731(0x224)],_0x333057=_0x147e33[_0x531731(0x224)];}_0x3b0f36[_0x531731(0xf5)]({'undoCache':_0x35a9ad,'redoCache':_0x117853});}[_0x2d1e0d(0x1f0)](_0x76c1a8){const _0x59132f=_0x2d1e0d,{unitID:_0x1379f0}=_0x76c1a8,_0x122991=this[_0x59132f(0x263)][_0x59132f(0x1e4)](_0x1379f0)[_0x59132f(0x142)](_0x3e670c),_0x2454fb=_0x122991[_0x59132f(0x119)]();if(_0x2454fb==null)return;const _0x102055=[{'id':_0x59132f(0x1fe),'params':{'unitId':_0x76c1a8[_0x59132f(0x176)],'actions':null,'textRanges':[_0x2454fb]}}],_0x4dfad7=this[_0x59132f(0x265)][_0x59132f(0x251)](_0x76c1a8,_0x102055);if(!_0x4a4bec(_0x4dfad7))throw _0x4dfad7[_0x59132f(0x2a5)];const _0x5c9c51=_0x4dfad7[_0x59132f(0xec)][0x0][_0x59132f(0x189)][_0x59132f(0x1e6)];Array[_0x59132f(0x153)](_0x5c9c51)&&_0x5c9c51['length']&&_0x122991[_0x59132f(0x2c1)](_0x5c9c51[0x0]);}};ne=tn([pe(0x0,_0x4696e6(_0x473ccb)),pe(0x1,_0x3318a0),pe(0x2,_0x2a15f4)],ne);var sn=Object['getOwnPropertyDescriptor'],nn=(_0x5c8b26,_0x36d84e,_0x48faa8,_0x593436)=>{const _0x56e741=_0x2d1e0d;for(var _0x155510=_0x593436>0x1?void 0x0:_0x593436?sn(_0x36d84e,_0x48faa8):_0x36d84e,_0x1b2728=_0x5c8b26[_0x56e741(0x23b)]-0x1,_0x2b8afe;_0x1b2728>=0x0;_0x1b2728--)(_0x2b8afe=_0x5c8b26[_0x1b2728])&&(_0x155510=_0x2b8afe(_0x155510)||_0x155510);return _0x155510;},Ce=(_0x27abd8,_0x1aa39b)=>(_0x22b599,_0x255cb8)=>_0x1aa39b(_0x22b599,_0x255cb8,_0x27abd8);let re=class{constructor(_0x389b39,_0x26ed71,_0x58164d){const _0x14a6a6=_0x2d1e0d;this['_injector']=_0x389b39,this[_0x14a6a6(0x265)]=_0x26ed71,this[_0x14a6a6(0x266)]=_0x58164d;}['transformStateCache'](_0xfd79d){const _0x5b35c8=_0x2d1e0d;this[_0x5b35c8(0x16f)](_0xfd79d);}[_0x2d1e0d(0x12a)](_0x3afc9b){const _0x4840d3=_0x2d1e0d,{unitID:_0x1ab2d9}=_0x3afc9b,{collaboration:_0xdac75b}=this[_0x4840d3(0x266)][_0x4840d3(0x1a8)](_0x1ab2d9);if(_0xdac75b[_0x4840d3(0x23b)]===0x0)return _0x3afc9b;let _0x2903b8=_0x33e698[_0x4840d3(0x1be)](_0x3afc9b[_0x4840d3(0x225)][0x0]);for(let _0x2682a5=0x0;_0x2682a5<_0xdac75b['length'];_0x2682a5++){const _0x505876={'id':_0x4840d3(0x1fe),'params':{'unitId':_0xdac75b[_0x2682a5][_0x4840d3(0x157)],..._0xdac75b[_0x2682a5][_0x4840d3(0xde)]}},_0x2421c5=this[_0x4840d3(0x265)][_0x4840d3(0x1a5)](_0x2903b8,_0x505876,!0x1);if(_0x17ada0(_0x2421c5))throw _0x2421c5[_0x4840d3(0x2a5)];_0x2903b8=_0x2421c5[_0x4840d3(0x224)];}return{..._0x33e698['deepClone'](_0x3afc9b),'mutations':[_0x2903b8]};}[_0x2d1e0d(0x16f)](_0x4ab1d9){const _0x54b264=_0x2d1e0d,{unitID:_0x1b8e0a}=_0x4ab1d9,{history:_0x1a2f06,collaboration:_0x1eed0c}=this[_0x54b264(0x266)]['getStateCache'](_0x1b8e0a);if(_0x1a2f06[_0x54b264(0x23b)]===0x0&&_0x1eed0c[_0x54b264(0x23b)]===0x0)return;const _0x595617=[],_0x3d3d0e=[];let _0x19879e=_0x33e698[_0x54b264(0x1be)](_0x4ab1d9[_0x54b264(0x225)][0x0]),_0x407ff8=_0x33e698[_0x54b264(0x1be)](_0x4ab1d9['mutations'][0x0]);for(let _0xa52254=_0x1a2f06[_0x54b264(0x23b)]-0x1;_0xa52254>=0x0;_0xa52254--){const _0xd49e87={'id':_0x54b264(0x1fe),'params':{'unitId':_0x1a2f06[_0xa52254][_0x54b264(0x157)],..._0x1a2f06[_0xa52254]['undoState']}},_0x372fb3={'id':_0x54b264(0x1fe),'params':{'unitId':_0x1a2f06[_0xa52254][_0x54b264(0x157)],..._0x1a2f06[_0xa52254]['redoState']}},_0x452ef6=this[_0x54b264(0x265)][_0x54b264(0x1a5)](_0x19879e,_0xd49e87,!0x1),_0x4a437b=this['_transformService'][_0x54b264(0x1a5)](_0x407ff8,_0x372fb3,!0x1);if(_0x17ada0(_0x452ef6))throw _0x452ef6[_0x54b264(0x2a5)];if(_0x17ada0(_0x4a437b))throw _0x4a437b[_0x54b264(0x2a5)];_0x595617['unshift']({..._0x1a2f06[_0xa52254],'undoState':_0x452ef6[_0x54b264(0xec)]['params'],'redoState':_0x4a437b[_0x54b264(0xec)]['params']}),_0x19879e=_0x452ef6[_0x54b264(0x224)],_0x407ff8=_0x4a437b['m1Prime'];}_0x19879e=_0x33e698[_0x54b264(0x1be)](_0x4ab1d9['mutations'][0x0]),_0x407ff8=_0x33e698[_0x54b264(0x1be)](_0x4ab1d9['mutations'][0x0]);for(let _0x209bc7=_0x1eed0c[_0x54b264(0x23b)]-0x1;_0x209bc7>=0x0;_0x209bc7--){const _0x2ad336={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1eed0c[_0x209bc7][_0x54b264(0x157)],..._0x1eed0c[_0x209bc7][_0x54b264(0xd9)]}},_0x1f6afb={'id':_0x54b264(0x1fe),'params':{'unitId':_0x1eed0c[_0x209bc7][_0x54b264(0x157)],..._0x1eed0c[_0x209bc7][_0x54b264(0xde)]}},_0x3a7d1c=this[_0x54b264(0x265)]['transformMutation'](_0x19879e,_0x2ad336,!0x1),_0x391c0d=this['_transformService'][_0x54b264(0x1a5)](_0x407ff8,_0x1f6afb,!0x1);if(_0x17ada0(_0x3a7d1c))throw _0x3a7d1c['error'];if(_0x17ada0(_0x391c0d))throw _0x391c0d[_0x54b264(0x2a5)];_0x3d3d0e[_0x54b264(0x244)]({..._0x1eed0c[_0x209bc7],'undoState':_0x3a7d1c['m2Prime'][_0x54b264(0x189)],'redoState':_0x391c0d[_0x54b264(0xec)][_0x54b264(0x189)]}),_0x19879e=_0x3a7d1c['m1Prime'],_0x407ff8=_0x391c0d[_0x54b264(0x224)];}this[_0x54b264(0x266)]['setStateCache'](_0x1b8e0a,{'history':_0x595617,'collaboration':_0x3d3d0e});}};re=nn([Ce(0x0,_0x4696e6(_0x473ccb)),Ce(0x1,_0x3318a0),Ce(0x2,_0x4696e6(_0x4cdbb7))],re);var rn=Object[_0x2d1e0d(0x116)],on=(_0x4d5bfc,_0x364a44,_0x2f0bb7,_0x33f7c9)=>{for(var _0x5d46d4=_0x33f7c9>0x1?void 0x0:_0x33f7c9?rn(_0x364a44,_0x2f0bb7):_0x364a44,_0x33f8fd=_0x4d5bfc['length']-0x1,_0xe9e5c7;_0x33f8fd>=0x0;_0x33f8fd--)(_0xe9e5c7=_0x4d5bfc[_0x33f8fd])&&(_0x5d46d4=_0xe9e5c7(_0x5d46d4)||_0x5d46d4);return _0x5d46d4;},tt=(_0x348f97,_0x2b9576)=>(_0x19a31a,_0x59f26b)=>_0x2b9576(_0x19a31a,_0x59f26b,_0x348f97);let oe=class{constructor(_0x43f922,_0x4e3756){const _0x5dfd96=_0x2d1e0d;this['_injector']=_0x43f922,this[_0x5dfd96(0x265)]=_0x4e3756;}[_0x2d1e0d(0x268)](_0xb95e58){const _0x4f5e5a=_0x2d1e0d;var _0x215918;const _0x5c9890=this[_0x4f5e5a(0x1b6)][_0x4f5e5a(0x296)](_0x4e4407),_0x10dbab=(_0x215918=_0x5c9890[_0x4f5e5a(0x2c3)]())!=null?_0x215918:[];if(_0x10dbab['length']===0x0)return;const _0x421d7b=_0xb95e58[_0x4f5e5a(0x176)],_0x3ef756=[{'id':_0x4f5e5a(0x1fe),'params':{'unitId':_0x421d7b,'actions':null,'textRanges':_0x10dbab}}],_0x551711=this[_0x4f5e5a(0x265)]['transformMutationsWithChangeset'](_0xb95e58,_0x3ef756);if(!_0x4a4bec(_0x551711))throw _0x551711['error'];const _0x3c39b9=_0x551711['m2Prime'][0x0][_0x4f5e5a(0x189)]['textRanges'];Array[_0x4f5e5a(0x153)](_0x3c39b9)&&_0x3c39b9[_0x4f5e5a(0x23b)]&&_0x5c9890['replaceDocRanges'](_0x3c39b9,{'unitId':_0x421d7b,'subUnitId':_0x421d7b},!0x1);}};oe=on([tt(0x0,_0x4696e6(_0x473ccb)),tt(0x1,_0x3318a0)],oe);function _0x4aa8(){const _0x5cc0d4=['getRelativeToViewportCoord','some','toString','then','_getMergeRange','m1Prime','mutations','_cursorInfo$','transformIMECache','_eventUnsubscribe','addHandlerCallback','Warning','findNodePositionByCharIndex','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getConfig','setAlpha','getOwnPropertySymbols','InsertColCommandId','addObject','jiqing.500','5567233grMLKb','YUUMI_ALL_TABLES_IS_INVALID','9995yDmPOT','_getSaveTimeout','selection','_backgroundColor','APPLY_REJECT','collabStatus.fetchMiss','length','urlChange$','_scheduleHeartbeat','_cachedData','displayName','onPointerMove$','_textBubble','top','off-line-single_clip0_910_343','unshift','_unitOnClients','drawWith','collab-text-anchor-','none','_assignedColors','_univerInstanceService','override','_syncEditingCollabCursorService','focused$','evenodd','AWAITING','_drawRectRange','transformMutationsWithChangeset','getTypeOfUnitAdded$','_localeService','string','getParam','closePath','getUnitId','transformByState','INTERNAL_ERROR','CONNECTOR_DATA_TOO_LARGE','INVITE_CODE_ALREADY_BOUND','registerComponent','USERS_LEAVE','complete','APPLY_NON_SEQUENTIAL_REVISION','setInterval','COMPLETION_FINISHED','show','_renderManagerService','_handleHeartbeatEvent','_transformService','_docStateChangeManagerService','disposeWithMe','transformSelections','font','SNAPSHOT_INVALID_SNAPSHOT','fillText','subscribeEvent','_setupSubUnitSync','_lastPointer','YUUMI_SUBSCRIPTION_NOT_FOUND','on-line-single','getAncestorScale','0\x200\x2017\x2016','_colorAssignService','_config','_saveTaskMap','getTypeOfUnitDisposed$','_transformUndoRedoStack','_sheetSkeletonManagerService','_entities','resize','collab-rect-range-','mask','collabStatus.conflict','entries','JOIN_ROOM_FAILED','_initResize','setParam','measureText','syncEditingCollabCursor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadOfflineData','SYNCED','_ensureSubject','DeleteRangeMoveUpCommandId','LICENSE_MAX_UNITS_EXCEEDED','red.300','CLOSE_ROOM','_updateLocalCursor','onPointerLeave$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','next','moveTo','engine','onMouseMove','hide','permission.title','onRendered','get','clearTimeout','text','contains','_initEntityListener','body','getActiveSheet','_session','range','_collabCursorState$','colorChannel1','1204528jGffyk','_setupBeforeClosingHandler','PENDING','disableLocalCache','error','permission.content','PERMISSION_DENIED','cursorInfo','href','generateRandomId','_dataLoaderService','collabStatus.notCollab','_uiPartsService','debug','/run/','_docSkeleton','init','CONFLICT','getRangePointData','_messageService','executeCommand','_handleEvent','editingUnit','_send','prototype','_urlService','source','799722tEDuag','LOGIN_FAILED','_name','save','UPDATE_CURSOR','setActiveRange','LICENSE_DISTRO_REJECTED','getDocRanges','_anchor','_render','dispose$','_onRefRangeChange','MUTATION','_color','MoveRangeCommandId','_drawAnchor','docStateChange$','isActive','history','_cursor','push','getCurrent','disposeUnit','from','TOO_MANY_REQUESTS','_commandService','collaboration-client-ui.config','sheetID','_roomMembers$','RemoveRowCommandId','svg','...','set','green.600','defs','onCommandExecuted','flatMap','currentColor','_context','undoState','restore','url(#on-line-single_clip0_910_349)','getOffsetConfig','_hover','redoState','loadUnit','addClipboardHook','isEditing','registerRefRange','session.connection-failed','pluginName','#FFF','_imageIoService','APPLY_DUPLICATED','_getAnchorBounding','SOCKET_FAILED_RETRY','removeParam','getUndoRedoMutationParamsCache','m2Prime','propertyIsEnumerable','send','_getScale','_collaborationController','_colorIndex','RemoveColCommandId','row','unsubscribe','setUndoRedoMutationParamsCache','INVITE_CODE_REQUIRED','forEach','getColorFromTheme','newValue','setConfig','UNIVER_DOC','storage','location','_clearOtherTimers','color','defIds','saveTaskMap','skeleton','defineProperty','all','_localStorageService','_revisionService','className','univer-flex\x20univer-items-center','LICENSE_IMPORT_SIZE_EXCEEDED','AWAITING_WITH_PENDING','sessionStatus$','UNAUTHENTICATED','_notificationService','runId','_saveCache','APPLY_REVISION_CONFILICT','setShapeProps','NOT_COLLAB','translate(.97)','YUUMI_URL_COL_OUT_OF_RANGE','getCollabCursors$','getOwnPropertyDescriptor','div','_toggleOffline','getActiveRange','getValue','RECT','replaceState','InsertRangeMoveDownCommandId','use','function','blue.400','current','_createSocketURL','OnLineSingle','Failed','stringify','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','event$','split','_registerRenderDependencies','transformRemoteChangeset','getSheetId','NOT_FOUND','onStarting','result','collab-text-range-','assign','_shapes','map','sheetId','_heartbeatTimer','_hideTimer','sessionTicket','[CollaborationDataLoaderController]','OffLineSingle','session.collaboration-timeout','fillRule','subUnitId','concat','getCurrentRevOfUnit','idSuffix','SNAPSHOT_HAS_BEEN_REMOVED','values','createSocket','with','_id','search','_initCommandExecutedListener','replace','getUnhiddenWorksheets','registerRenderModule','_collabSessionService','getViewport','_docTransformIMECacheService','addEventListener','clearInterval','hasOwnProperty','on-line-single_clip0_910_349','[RemoteUniscriptService]:\x20no\x20focused\x20unit','YUUMI_NO_CUBOID_FOR_QUESTION','univer-flex\x20univer-mr-2\x20univer-text-xl','isArray','name','_unitStatus','subunit','unitId','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','bottom','10bggway','ONLINE','collabStatus.offline','1em','_toggleOnline','height','ranges','url(#off-line-single_clip0_910_343)','onLocalMutation','popstate','INVALID_ARGUMENT','path','_updateSubUnitFromURLParams','YUUMI_ASYNCIO_CANCELLED','USER_NOT_INVITED_CODE','UNDEFINED','_updateURLWithCurrentState','call','_document','pushState','getMember','_transformHistoryAndStateStack','_configService','_httpService','_localCacheService','purple.300','fill','_startSheetCollabCursor','unitID','PY_RUNTIME_SCRIPT_ERROR','_memberService','currentSkeleton$','OTHER_CLIENT_EDITING','column','roomMembers','_onCursorDelete','SOCKET_FAILED','ticket','_scene','enableLocalCache','30BRngxx','_disabled','registerBeforeClose','Error','clipPath','fillStyle','origin','params','hovered','5006RIbGVh','OFFLINE','add','_getSheetObject','xlink:href','LICENSE_EXPORT_SIZE_EXCEEDED','children','M0\x200H16V16H0z','pipe','imageSourceType','HEADER_MENU','_themeService','_logService','_initDependencies','DeleteRangeMoveLeftCommandId','1007145cTASCi','extend','has','_status$','TEXT','INVALID_INVITE_CODE','runOnServer','getFocusedUnit','_startDocCollabCursor','VIEW_MAIN','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','transformMutation','toRgbString','actions','getStateCache','_draw','_online','collab-client.tooltip.reconnect','MOBILE_HAS_BEEN_BOUND','random','_collabCursorController','_selfUnitIDs','CHANGESET_REVISION_CONFILICT','_docSyncEditingCollabCursorService','setItem','_refreshCollabCursors','NO_OTHER_CLIENTS_EDITING','_scheduleSaving','_injector','_instanceService','_handleLeaveEvent','_onCursorUpdate','getCollabEntity$','getCurrentSelections','_anchorDot','onPointerEnter$','deepClone','dispose','backgroundColor','trim','_docTransformSelectionsService','application/json','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','type','data','delete','OTHER_CLIENTS_EDITING','updateOfflineData','arc','uni.network.url-service','width','transform','390oQoXQT','wsSessionTicketUrl','black','SUBMIT_CHANGESET_TIMEOUT','Unknown\x20user','_initEvent','key','_drawTextRange','_refRangeService','_docSkeletonManagerService','_cursors','saveOfflineData','ENSURE_SNAPSHOT_EXECUTION','_handleHover','transformStateCache','_removeCollabCursors','_range','round','selections','cursorInfo$','#fff','_hovered','getRenderById','FromArray','textRanges','includes','triggerDblclick','ACTIVE_UNIT_EVENT_CHANNEL','_collaborationUIEventService','2315664UzCwaV','_docClipboardService','searchParams','substring','_entityInit$','_transformPreviousActiveRange','asObservable','indexOf','url(#$1','reconnect','getSkeleton','createInstance','UNIVER_SHEET','_docTransformStateCacheService','post','lineTo','getUniverSheetInstance','getSheetBySheetId','eventID','doc.mutation.rich-text-editing','tag','INVITE_CODE_HAS_BEEN_UES','YUUMI_AI_RUN_FAILED','onTransformChange$','_initStatusListener','getMemberID','attrs','_init','subscribe','_registerDependencies','0\x200\x2016\x2016','_initStatusComponent','UniverIcon','WECHAT_HAS_BEEN_BOUND','requireSession','EMAIL_HAS_BEEN_BOUND','_labelPosition','currentTheme$','_updateCollabCursors','collaboration.closeRoom','InsertRangeMoveRightCommandId','_cursorShapes','UNRECOGNIZED','endColumn','labelPosition','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','assignAColorForMemberID','_handleJoinEvent','_getSessionTicket','off-line-single','YUUMI_RATE_OVER_LIMIT','_removeClearOtherTimer'];_0x4aa8=function(){return _0x5cc0d4;};return _0x4aa8();}var an=Object[_0x2d1e0d(0x116)],cn=(_0x1a50c7,_0x1a866a,_0x237724,_0xdfaef8)=>{const _0x257b1d=_0x2d1e0d;for(var _0x5215a7=_0xdfaef8>0x1?void 0x0:_0xdfaef8?an(_0x1a866a,_0x237724):_0x1a866a,_0x4360bd=_0x1a50c7[_0x257b1d(0x23b)]-0x1,_0xbb52e9;_0x4360bd>=0x0;_0x4360bd--)(_0xbb52e9=_0x1a50c7[_0x4360bd])&&(_0x5215a7=_0xbb52e9(_0x5215a7)||_0x5215a7);return _0x5215a7;},U=(_0x1272e7,_0x37e7d2)=>(_0xee63e6,_0x5dd568)=>_0x37e7d2(_0xee63e6,_0x5dd568,_0x1272e7);let ae=class extends _0xe3d2d0{constructor(_0x21bafa,_0x455609,_0x4bb228,_0x4ed601,_0x26be79,_0x545890,_0x2432df,_0xea85f2){const _0x5106eb=_0x2d1e0d;super(),_(this,'_status$',new _0x116689(_0x3a7ac4[_0x5106eb(0x112)])),(this[_0x5106eb(0x266)]=_0x21bafa,this[_0x5106eb(0xf0)]=_0x455609,this[_0x5106eb(0x14b)]=_0x4bb228,this[_0x5106eb(0x1f8)]=_0x4ed601,this[_0x5106eb(0x1c2)]=_0x26be79,this[_0x5106eb(0x1b1)]=_0x545890,this[_0x5106eb(0x2b4)]=_0x2432df,this[_0x5106eb(0x253)]=_0xea85f2,this['_initEntityListener']());}[_0x2d1e0d(0x29a)](){const _0x16b10c=_0x2d1e0d;this[_0x16b10c(0x267)](this['_collaborationController']['entityInit$'][_0x16b10c(0x207)](_0x46f8ab=>{const _0x10139b=_0x16b10c,_0x33595a=this['_docStateChangeManagerService'][_0x10139b(0xc2)][_0x10139b(0x207)](_0x2455df=>{const _0x5b250c=_0x10139b;if(_0x2455df==null)return;const {unitId:_0x544800,redoState:_0x3b7365,commandId:_0x30a93e}=_0x2455df;if(_0x544800!==_0x46f8ab[_0x5b250c(0x176)])return;const _0x6214d4={'id':_0x30a93e,'type':_0x579014[_0x5b250c(0x2c8)],'params':{'unitId':_0x544800,'actions':_0x3b7365[_0x5b250c(0x1a7)],'textRanges':null}};_0x46f8ab[_0x5b250c(0x162)](_0x6214d4);});if(_0x46f8ab[_0x10139b(0x267)](_0x33595a),_0x46f8ab instanceof _0x1fdf28){const _0x5c407d={'onTransformIME':_0x43c5f9=>this[_0x10139b(0x14b)]['transformIMECache'](_0x43c5f9),'onTransformState':_0x4c92fa=>this['_docTransformStateCacheService'][_0x10139b(0x1dc)](_0x4c92fa),'onTransformSelections':_0x329418=>this[_0x10139b(0x1c2)][_0x10139b(0x268)](_0x329418),'onSyncEditingCollabCursor':_0x4e5310=>this[_0x10139b(0x1b1)][_0x10139b(0x283)](_0x4e5310),'onTransformRemoteChangesetByIMECache':_0x3f3d13=>this[_0x10139b(0x14b)][_0x10139b(0x12a)](_0x3f3d13),'onTransformRemoteChangesetByStateCache':_0x3eca4a=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x3eca4a)};_0x46f8ab[_0x10139b(0x229)](_0x5c407d);}}));}};ae=cn([U(0x0,_0x4696e6(_0x4cdbb7)),U(0x1,_0x4696e6(_0x33b552)),U(0x2,_0x4696e6(ne)),U(0x3,_0x4696e6(re)),U(0x4,_0x4696e6(oe)),U(0x5,_0x4696e6(He)),U(0x6,_0x123b71),U(0x7,_0x4696e6(_0x263891))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0xec3ddb,_0x45d2c9,_0x338aad,_0x3106cc)=>{const _0xb0b612=_0x2d1e0d;for(var _0x121956=_0x3106cc>0x1?void 0x0:_0x3106cc?ln(_0x45d2c9,_0x338aad):_0x45d2c9,_0x3c8822=_0xec3ddb[_0xb0b612(0x23b)]-0x1,_0xb14299;_0x3c8822>=0x0;_0x3c8822--)(_0xb14299=_0xec3ddb[_0x3c8822])&&(_0x121956=_0xb14299(_0x121956)||_0x121956);return _0x121956;},Ee=(_0x33e467,_0x54561f)=>(_0x589849,_0x17c0bb)=>_0x54561f(_0x589849,_0x17c0bb,_0x33e467);let we=class extends _0xe3d2d0{constructor(_0x3750e3,_0x56973b,_0x47a40d){const _0xf9ded3=_0x2d1e0d;super(),_(this,_0xf9ded3(0x23e),new Map()),_(this,_0xf9ded3(0x275),new Map()),_(this,'_disabled',!0x1),(this[_0xf9ded3(0x170)]=_0x3750e3,this[_0xf9ded3(0x105)]=_0x56973b,this[_0xf9ded3(0x106)]=_0x47a40d);}[_0x2d1e0d(0x2a4)](){const _0x2bc2c0=_0x2d1e0d;this[_0x2bc2c0(0x183)]=!0x0;}[_0x2d1e0d(0x181)](){const _0x537b03=_0x2d1e0d;this[_0x537b03(0x183)]=!0x1;}get[_0x2d1e0d(0x101)](){const _0x10811d=_0x2d1e0d;return this[_0x10811d(0x275)];}[_0x2d1e0d(0x1bf)](){const _0x4f969f=_0x2d1e0d;this['exhaustSavingTask']()['then'](()=>super[_0x4f969f(0x1bf)]());}async[_0x2d1e0d(0x285)](_0x5ee14a){const _0x4a7def=_0x2d1e0d;return this[_0x4a7def(0x183)]?null:this[_0x4a7def(0x105)]['getItem'](_0x122a3b(_0x5ee14a));}async[_0x2d1e0d(0x1d9)](_0x3ca625,_0x1851fb){const _0x3f1b3f=_0x2d1e0d;return!!this[_0x3f1b3f(0x105)][_0x3f1b3f(0x1b2)](_0x3ca625,_0x1851fb);}[_0x2d1e0d(0x1c9)](_0x396a25,_0x4af1cb,_0x26d60b,_0x4b9295){const _0x3d6c08=_0x2d1e0d,_0x53f229=this[_0x3d6c08(0x106)][_0x3d6c08(0x13d)](_0x396a25);this[_0x3d6c08(0x23e)][_0x3d6c08(0xd2)](_0x396a25,{'unitID':_0x396a25,'type':_0x4af1cb,'awaitingChangeset':_0x26d60b,'mutations':_0x4b9295,'rev':_0x53f229}),this['_saveTaskMap'][_0x3d6c08(0x19c)](_0x396a25)||this[_0x3d6c08(0x1b5)](_0x396a25);}['_scheduleSaving'](_0x1004bf){const _0x2f7650=_0x2d1e0d,_0x22d532=this[_0x2f7650(0x236)]();_0x22d532===0x0?this[_0x2f7650(0x10f)](_0x1004bf):this[_0x2f7650(0x275)][_0x2f7650(0xd2)](_0x1004bf,setTimeout(()=>this[_0x2f7650(0x10f)](_0x1004bf),_0x22d532));}[_0x2d1e0d(0x236)](){const _0x2cb631=_0x2d1e0d;var _0x394cfc;return(_0x394cfc=this[_0x2cb631(0x170)][_0x2cb631(0x22d)](_0x371bc3))!=null?_0x394cfc:_0x38b8ff;}[_0x2d1e0d(0x10f)](_0x24b3c4){const _0x191bee=_0x2d1e0d,_0x2f5d33=this[_0x191bee(0x275)][_0x191bee(0x296)](_0x24b3c4);return _0x2f5d33!==void 0x0&&window['clearTimeout'](_0x2f5d33),this['_localStorageService'][_0x191bee(0x1b2)](_0x122a3b(_0x24b3c4),this[_0x191bee(0x23e)][_0x191bee(0x296)](_0x24b3c4))['then'](()=>this[_0x191bee(0x275)]['delete'](_0x24b3c4));}async['exhaustSavingTask'](){const _0x291ffe=_0x2d1e0d,_0x1cd817=[];this[_0x291ffe(0x275)][_0x291ffe(0xf7)]((_0x3c2a78,_0x51708e)=>{const _0x387184=_0x291ffe;window[_0x387184(0x297)](_0x3c2a78),_0x1cd817[_0x387184(0xc6)](this[_0x387184(0x10f)](_0x51708e)[_0x387184(0x222)](()=>{const _0x51ffde=_0x387184;this['_saveTaskMap'][_0x51ffde(0x1c7)](_0x51708e);}));}),await Promise[_0x291ffe(0x104)](_0x1cd817);}};we=_n([Ee(0x0,_0x5cc26d),Ee(0x1,_0x19c7c0),Ee(0x2,_0x4696e6(_0x14f278))],we);class hn extends _0x4816c8{constructor(){const _0xed361e=_0x2d1e0d;super(),_(this,_0xed361e(0x23c)),this[_0xed361e(0x23c)]=_0x2ed682(window,_0xed361e(0x163))['pipe'](_0x168710(this[_0xed361e(0x2c6)]),_0xe4f59(0x1),_0x297f40(void 0x0));}[_0x2d1e0d(0x281)](_0x226443,_0x3b8414,_0x13e4ce=!0x1){const _0x293ab7=_0x2d1e0d,_0x1ed777=new URL(window['location'][_0x293ab7(0x2a9)]);_0x1ed777[_0x293ab7(0x1ed)][_0x293ab7(0xd2)](_0x226443,_0x3b8414),_0x13e4ce?window[_0x293ab7(0xc4)][_0x293ab7(0x11c)]('','',_0x1ed777['toString']()):window[_0x293ab7(0xc4)][_0x293ab7(0x16d)]('','',_0x1ed777[_0x293ab7(0x221)]());}[_0x2d1e0d(0xea)](_0x3cbe08,_0x1ff5a1=!0x1){const _0x4be0b8=_0x2d1e0d,_0x3f9679=new URL(window[_0x4be0b8(0xfd)][_0x4be0b8(0x2a9)]);_0x3f9679[_0x4be0b8(0x1ed)][_0x4be0b8(0x1c7)](_0x3cbe08),_0x1ff5a1?window[_0x4be0b8(0xc4)][_0x4be0b8(0x11c)]('','',_0x3f9679[_0x4be0b8(0x221)]()):window[_0x4be0b8(0xc4)][_0x4be0b8(0x16d)]('','',_0x3f9679[_0x4be0b8(0x221)]());}[_0x2d1e0d(0x255)](_0x59755a){const _0x26995b=_0x2d1e0d;var _0x12a510;return(_0x12a510=new URL(window[_0x26995b(0xfd)][_0x26995b(0x2a9)])[_0x26995b(0x1ed)]['get'](_0x59755a))!=null?_0x12a510:void 0x0;}}var un=Object[_0x2d1e0d(0x103)],dn=Object[_0x2d1e0d(0x116)],fn=(_0x4c002a,_0x10b669,_0x2ed863)=>_0x10b669 in _0x4c002a?un(_0x4c002a,_0x10b669,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ed863}):_0x4c002a[_0x10b669]=_0x2ed863,Sn=(_0x1598a3,_0x5e6722,_0x46ea79,_0x260f2e)=>{const _0x533d24=_0x2d1e0d;for(var _0x3e2a3f=_0x260f2e>0x1?void 0x0:_0x260f2e?dn(_0x5e6722,_0x46ea79):_0x5e6722,_0x5ed877=_0x1598a3[_0x533d24(0x23b)]-0x1,_0x369c9f;_0x5ed877>=0x0;_0x5ed877--)(_0x369c9f=_0x1598a3[_0x5ed877])&&(_0x3e2a3f=_0x369c9f(_0x3e2a3f)||_0x3e2a3f);return _0x3e2a3f;},Oe=(_0x39d212,_0x17b294)=>(_0x2d718f,_0x47a071)=>_0x17b294(_0x2d718f,_0x47a071,_0x39d212),mn=(_0x338a48,_0x259b53,_0x5db779)=>fn(_0x338a48,_0x259b53+'',_0x5db779);const gn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x2a33d6{constructor(_0x4b3a6=et,_0x1f3700,_0x5e23c1,_0x2d10f4){const _0xd1adc6=_0x2d1e0d;super(),this[_0xd1adc6(0x274)]=_0x4b3a6,this[_0xd1adc6(0x263)]=_0x1f3700,this['_injector']=_0x5e23c1,this[_0xd1adc6(0x170)]=_0x2d10f4;const {..._0x20be78}=_0x1e00fc({},et,this[_0xd1adc6(0x274)]);this['_configService'][_0xd1adc6(0xfa)](Zi,_0x20be78);}[_0x2d1e0d(0x12d)](){const _0x4ac146=_0x2d1e0d;this[_0x4ac146(0x208)](),this[_0x4ac146(0x198)]();}[_0x2d1e0d(0x295)](){this['_registerRenderDependencies']();}[_0x2d1e0d(0x208)](){const _0x5d0d1f=_0x2d1e0d;var _0x98de10;const _0x3fcdfd=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x541585,{'useClass':_0x2e3deb}],[_0x354de5,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x248ab5(this[_0x5d0d1f(0x1b6)],_0x1a29a1(_0x3fcdfd,(_0x98de10=this[_0x5d0d1f(0x274)])==null?void 0x0:_0x98de10[_0x5d0d1f(0x24b)]));}[_0x2d1e0d(0x129)](){const _0x2da7c6=_0x2d1e0d;this[_0x2da7c6(0x267)](this[_0x2da7c6(0x263)]['registerRenderModule'](_0x359705[_0x2da7c6(0xfb)],[Pe])),this[_0x2da7c6(0x267)](this[_0x2da7c6(0x263)][_0x2da7c6(0x148)](_0x359705[_0x2da7c6(0x1f7)],[Le]));}[_0x2d1e0d(0x198)](){const _0x18f506=_0x2d1e0d;_0x3ae79a(this[_0x18f506(0x1b6)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x2d1e0d(0xe4),gn),Ae=Sn([_0x210159(_0x48d1d2),Oe(0x1,_0x2a15f4),Oe(0x2,_0x4696e6(_0x473ccb)),Oe(0x3,_0x5cc26d)],Ae);var In=Object[_0x2d1e0d(0x116)],vn=(_0xf5783b,_0x4c6b28,_0x1442d1,_0x5d08c8)=>{const _0x54b248=_0x2d1e0d;for(var _0x161c44=_0x5d08c8>0x1?void 0x0:_0x5d08c8?In(_0x4c6b28,_0x1442d1):_0x4c6b28,_0x9677b2=_0xf5783b[_0x54b248(0x23b)]-0x1,_0x382340;_0x9677b2>=0x0;_0x9677b2--)(_0x382340=_0xf5783b[_0x9677b2])&&(_0x161c44=_0x382340(_0x161c44)||_0x161c44);return _0x161c44;},K=(_0x3e27a7,_0x55b66a)=>(_0x15a353,_0x267920)=>_0x55b66a(_0x15a353,_0x267920,_0x3e27a7);let st=class extends _0x21c1eb{constructor(_0x19c015,_0x36691e,_0xc94b8d,_0x278da4,_0x38b718){super(_0x19c015,_0x36691e,_0xc94b8d,_0x278da4,_0x38b718);}async[_0x2d1e0d(0x141)](_0x5ea660){const _0x59e08f=_0x2d1e0d,_0x51bda2=await this[_0x59e08f(0x21b)](),_0x2d46d5=this[_0x59e08f(0x122)](_0x5ea660,_0x51bda2);return this['_doCreateSocket'](_0x2d46d5);}[_0x2d1e0d(0x122)](_0x3bcac3,_0x1c0d16){const _0x408a86=_0x2d1e0d,_0x29742d=typeof window>'u'?new URL(_0x3bcac3):new URL(_0x3bcac3,window[_0x408a86(0xfd)][_0x408a86(0x188)]);_0x29742d[_0x408a86(0x1ed)][_0x408a86(0xd2)](_0x408a86(0x136),_0x1c0d16);const _0x4b2cac=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x408a86(0xfd)][_0x408a86(0x144)]);return _0x4b2cac[_0x408a86(0x296)]('runId')&&_0x29742d['searchParams']['set'](_0x408a86(0x10e),_0x4b2cac[_0x408a86(0x296)](_0x408a86(0x10e))),_0x29742d[_0x408a86(0x221)]();}async['_getSessionTicket'](){const _0x29b18d=_0x2d1e0d;var _0xf0909a,_0xb9a1bb,_0x1ccdec;const _0x5c0c73=this[_0x29b18d(0x170)][_0x29b18d(0x22d)](_0xa9adfa),_0x2b08f0=(_0xf0909a=_0x5c0c73==null?void 0x0:_0x5c0c73[_0x29b18d(0x1cf)])!=null?_0xf0909a:_0x19cc08;return(_0x1ccdec=(_0xb9a1bb=(await this[_0x29b18d(0x171)][_0x29b18d(0x296)](_0x2b08f0,{'headers':{'Content-Type':_0x29b18d(0x1c3)}}))[_0x29b18d(0x29b)])==null?void 0x0:_0xb9a1bb[_0x29b18d(0x17f)])!=null?_0x1ccdec:'';}};st=vn([K(0x0,_0x4696e6(_0x473ccb)),K(0x1,_0x4696e6(_0x140e45)),K(0x2,_0x5cc26d),K(0x3,_0x3c411e),K(0x4,_0x381529)],st);const it=0x7530,nt=_0x2d1e0d(0x1e9);class jn extends _0xe3d2d0{constructor(){const _0x40600b=_0x2d1e0d;super(),_(this,'_id',_0x3f77ac()),_(this,'_selfUnitIDs',new Set()),_(this,_0x40600b(0x245),new Map()),_(this,_0x40600b(0x134),null),_(this,_0x40600b(0xfe),new Map()),_(this,_0x40600b(0x155),new Map()),this[_0x40600b(0x206)]();}['dispose'](){const _0x411733=_0x2d1e0d;super['dispose'](),this['_clearOtherTimers'][_0x411733(0xf7)]((_0x24e208,_0x5afd59)=>this[_0x411733(0x21e)](_0x5afd59)),this[_0x411733(0x134)]&&window[_0x411733(0x14d)](this[_0x411733(0x134)]);}['getUnitStatus$'](_0x2eec7e){const _0x4a4ea5=_0x2d1e0d;return this['_ensureSubject'](_0x2eec7e)[_0x4a4ea5(0x193)](_0x66832b());}[_0x2d1e0d(0x2b7)](_0x1cc971){const _0x3de7fc=_0x2d1e0d;this[_0x3de7fc(0x1af)]['size']===0x0&&this[_0x3de7fc(0x23d)](),this['_selfUnitIDs'][_0x3de7fc(0x18d)](_0x1cc971),this[_0x3de7fc(0x2b8)]({'type':0x0,'memberID':this[_0x3de7fc(0x143)],'unitIDs':[_0x1cc971],'isForwarded':!0x1});}[_0x2d1e0d(0xc8)](_0x1d59f0){const _0x366b64=_0x2d1e0d;this[_0x366b64(0x1af)][_0x366b64(0x1c7)](_0x1d59f0),this[_0x366b64(0x1af)]['size']===0x0&&this[_0x366b64(0x134)]&&window[_0x366b64(0x14d)](this['_heartbeatTimer']);}[_0x2d1e0d(0x206)](){const _0x31c7d5=_0x2d1e0d;this[_0x31c7d5(0x267)](_0x33e419(_0x2ed682(window,_0x31c7d5(0xfc))[_0x31c7d5(0x207)](_0x4527e8=>{const _0x2a8d80=_0x31c7d5;if(_0x4527e8[_0x2a8d80(0x1d4)]!==nt||!_0x4527e8['newValue'])return;const _0x3bbdd9=JSON['parse'](_0x4527e8[_0x2a8d80(0xf9)]);this[_0x2a8d80(0x2b6)](_0x3bbdd9);}))),window[_0x31c7d5(0x14c)]('unload',()=>this[_0x31c7d5(0x2b8)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x31c7d5(0xc9)](this[_0x31c7d5(0x1af)])}));}[_0x2d1e0d(0x2b6)](_0x2570cc){const _0x44b12f=_0x2d1e0d;switch(_0x2570cc[_0x44b12f(0x1c5)]){case 0x0:this[_0x44b12f(0x21a)](_0x2570cc);break;case 0x1:this[_0x44b12f(0x1b8)](_0x2570cc);break;case 0x2:this['_handleHeartbeatEvent'](_0x2570cc);break;}}[_0x2d1e0d(0x21a)](_0xec9c48){const _0x30ea1a=_0x2d1e0d,{unitIDs:_0x8cf90,memberID:_0x5c6d80,isForwarded:_0x4cc580}=_0xec9c48;_0x8cf90['forEach'](_0x520d7a=>{const _0x543c3f=_0x9c36;if(!_0x4cc580&&this[_0x543c3f(0x245)][_0x543c3f(0x19c)](_0x520d7a)&&this[_0x543c3f(0x287)](_0x520d7a)[_0x543c3f(0x28f)](_0xb5ed02[_0x543c3f(0x1c8)]),!this[_0x543c3f(0x245)][_0x543c3f(0x19c)](_0x520d7a)||!this[_0x543c3f(0x245)][_0x543c3f(0x296)](_0x520d7a)[_0x543c3f(0x19c)](_0x5c6d80)){const _0x4c7d5b=this[_0x543c3f(0x245)]['get'](_0x520d7a)||new Set();_0x4c7d5b[_0x543c3f(0x18d)](_0x5c6d80),this[_0x543c3f(0x245)]['set'](_0x520d7a,_0x4c7d5b),this['_scheduleClearOtherTimer'](_0x5c6d80);}}),_0x4cc580||this[_0x30ea1a(0x2b8)]({'type':0x0,'memberID':this[_0x30ea1a(0x143)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x50888e){const _0xb91f50=_0x2d1e0d;this[_0xb91f50(0x21e)](_0x50888e);const _0x50fb5a=window['setTimeout'](()=>{const _0x5df9f5=_0xb91f50;this[_0x5df9f5(0x245)][_0x5df9f5(0xf7)](_0x188396=>{const _0x57f5e4=_0x5df9f5;_0x188396[_0x57f5e4(0x1c7)](_0x50888e);});},it*0x2);this[_0xb91f50(0xfe)][_0xb91f50(0xd2)](_0x50888e,_0x50fb5a);}['_removeClearOtherTimer'](_0x354d7b){const _0x4f8c65=_0x2d1e0d;if(this[_0x4f8c65(0xfe)][_0x4f8c65(0x19c)](_0x354d7b)){const _0x2691b6=this[_0x4f8c65(0xfe)][_0x4f8c65(0x296)](_0x354d7b);_0x2691b6&&window[_0x4f8c65(0x297)](_0x2691b6),this[_0x4f8c65(0xfe)][_0x4f8c65(0xd2)](_0x354d7b,null);}}[_0x2d1e0d(0x1b8)](_0xb09b64){const {memberID:_0x1cc669,unitIDs:_0x3ba8c6}=_0xb09b64;_0x3ba8c6['forEach'](_0x339f7a=>{const _0x17d7ce=_0x9c36;var _0x405146;const _0x15551c=this[_0x17d7ce(0x245)][_0x17d7ce(0x296)](_0x339f7a);_0x15551c&&(_0x15551c[_0x17d7ce(0x1c7)](_0x1cc669),(_0x405146=this['_ensureSubject'](_0x339f7a))==null||_0x405146['next'](_0x15551c['size']===0x0?_0xb5ed02['NO_OTHER_CLIENTS_EDITING']:_0xb5ed02['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x1cc669);}[_0x2d1e0d(0x264)](_0x34e6ae){this['_scheduleClearOtherTimer'](_0x34e6ae['memberID']);}['_send'](_0x134297){const _0x3cf848=_0x2d1e0d;localStorage[_0x3cf848(0x1b2)](nt,JSON[_0x3cf848(0x125)](_0x134297));}[_0x2d1e0d(0x23d)](){const _0x13265b=_0x2d1e0d;this[_0x13265b(0x134)]=window[_0x13265b(0x260)](()=>{const _0x92b58a=_0x13265b;this[_0x92b58a(0x2b8)]({'type':0x2,'memberID':this[_0x92b58a(0x143)]});},it);}[_0x2d1e0d(0x287)](_0x95fceb){const _0x2be0bb=_0x2d1e0d;return this[_0x2be0bb(0x155)][_0x2be0bb(0x19c)](_0x95fceb)||this[_0x2be0bb(0x155)][_0x2be0bb(0xd2)](_0x95fceb,new _0x116689(_0xb5ed02[_0x2be0bb(0x1b4)])),this[_0x2be0bb(0x155)]['get'](_0x95fceb);}}var Mt=(_0xc3e32e=>(_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x169)]=0x0]='UNDEFINED',_0xc3e32e[_0xc3e32e['OK']=0x1]='OK',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x259)]=0x2]=_0x2d1e0d(0x259),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x2a7)]=0x3]=_0x2d1e0d(0x2a7),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x12c)]=0x4]=_0x2d1e0d(0x12c),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x10c)]=0x5]=_0x2d1e0d(0x10c),_0xc3e32e[_0xc3e32e['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x164)]=0x7]=_0x2d1e0d(0x164),_0xc3e32e[_0xc3e32e['TOO_MANY_REQUESTS']=0x8]=_0x2d1e0d(0xca),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x261)]=0x9]=_0x2d1e0d(0x261),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x2bd)]=0xa]=_0x2d1e0d(0x2bd),_0xc3e32e[_0xc3e32e['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2d1e0d(0x1b0),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x26a)]=0x1771]=_0x2d1e0d(0x26a),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x13f)]=0x1772]=_0x2d1e0d(0x13f),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x1da)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x239)]=0x1b59]=_0x2d1e0d(0x239),_0xc3e32e[_0xc3e32e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2d1e0d(0x25f),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x110)]=0x1b5b]=_0x2d1e0d(0x110),_0xc3e32e[_0xc3e32e['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0xe7)]=0x1b5d]=_0x2d1e0d(0xe7),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x25a)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x289)]=0x2329]=_0x2d1e0d(0x289),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x1c4)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x109)]=0x232b]=_0x2d1e0d(0x109),_0xc3e32e[_0xc3e32e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2d1e0d(0x190),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x2c2)]=0x232d]=_0x2d1e0d(0x2c2),_0xc3e32e[_0xc3e32e['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x114)]=0x2712]=_0x2d1e0d(0x114),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x21d)]=0x2713]=_0x2d1e0d(0x21d),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x26f)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x151)]=0x271a]=_0x2d1e0d(0x151),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x167)]=0x271b]=_0x2d1e0d(0x167),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x28e)]=0x271c]=_0x2d1e0d(0x28e),_0xc3e32e[_0xc3e32e['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2d1e0d(0x234),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x126)]=0x271e]=_0x2d1e0d(0x126),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x201)]=0x271f]=_0x2d1e0d(0x201),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x177)]=0x2af9]=_0x2d1e0d(0x177),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x200)]=0x2ee1]=_0x2d1e0d(0x200),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x19f)]=0x2ee2]=_0x2d1e0d(0x19f),_0xc3e32e[_0xc3e32e['INVITE_CODE_REQUIRED']=0x2ee3]=_0x2d1e0d(0xf6),_0xc3e32e[_0xc3e32e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2d1e0d(0x168),_0xc3e32e[_0xc3e32e['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2d1e0d(0x25b),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x20c)]=0x32c9]=_0x2d1e0d(0x20c),_0xc3e32e[_0xc3e32e['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2d1e0d(0x1ac),_0xc3e32e[_0xc3e32e['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2d1e0d(0x20e),_0xc3e32e[_0xc3e32e[_0x2d1e0d(0x215)]=-0x1]='UNRECOGNIZED',_0xc3e32e))(Mt||{}),pn=Object[_0x2d1e0d(0x116)],Cn=(_0x5899ad,_0x55fc02,_0x38e977,_0x5878e1)=>{const _0x380429=_0x2d1e0d;for(var _0x37023b=_0x5878e1>0x1?void 0x0:_0x5878e1?pn(_0x55fc02,_0x38e977):_0x55fc02,_0x1528af=_0x5899ad[_0x380429(0x23b)]-0x1,_0x176283;_0x1528af>=0x0;_0x1528af--)(_0x176283=_0x5899ad[_0x1528af])&&(_0x37023b=_0x176283(_0x37023b)||_0x37023b);return _0x37023b;},be=(_0x5ec8cf,_0x35238f)=>(_0x5928e6,_0x3c5b2a)=>_0x35238f(_0x5928e6,_0x3c5b2a,_0x5ec8cf);let rt=class extends _0xe3d2d0{constructor(_0x17914b,_0x2033f2,_0x4b348){const _0x35aca8=_0x2d1e0d;super(),this[_0x35aca8(0x1b7)]=_0x17914b,this[_0x35aca8(0x171)]=_0x2033f2,this[_0x35aca8(0x170)]=_0x4b348;}async[_0x2d1e0d(0x1a0)](_0x4c3d9b,_0x278bf3,_0x5cca0b,..._0x342e97){const _0x293ecf=_0x2d1e0d;var _0x4a9129,_0x1e7c4a,_0x388d3d,_0x1d9fed;const _0x47a3af=this['_instanceService']['getFocusedUnit']();if(!_0x47a3af)throw new Error(_0x293ecf(0x150));const _0x57c4af=((_0x4a9129=this['_configService'][_0x293ecf(0x22d)](_0x5c58df))!=null?_0x4a9129:_0x51ffba)+'/'+_0x4c3d9b+_0x293ecf(0x2af)+_0x278bf3,_0x4d8447=new URL(window[_0x293ecf(0xfd)]['href']),_0x2be376={'scriptId':_0x4c3d9b,'runId':(_0x1e7c4a=_0x4d8447[_0x293ecf(0x1ed)]['get'](_0x293ecf(0x10e)))!=null?_0x1e7c4a:'','function':_0x278bf3,'unitId':_0x47a3af[_0x293ecf(0x257)](),'argsOfFunction':JSON[_0x293ecf(0x125)](_0x342e97),'invokeId':(_0x388d3d=_0x5cca0b['invokeId'])!=null?_0x388d3d:'','executionId':(_0x1d9fed=_0x5cca0b['executionId'])!=null?_0x1d9fed:''};try{const _0x5103ca=await this[_0x293ecf(0x171)][_0x293ecf(0x1f9)](_0x57c4af,{'body':_0x2be376});return _0x5103ca[_0x293ecf(0x29b)][_0x293ecf(0x2a5)]&&_0x5103ca[_0x293ecf(0x29b)][_0x293ecf(0x2a5)]['code']!==Mt['OK']?_0x293ecf(0x124):_0x5103ca['body'][_0x293ecf(0x12e)];}catch{return _0x293ecf(0x124);}}};rt=Cn([be(0x0,_0x39864d),be(0x1,_0x4696e6(_0x140e45)),be(0x2,_0x5cc26d)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x331f18=_0x3ab1;(function(_0x1232a4,_0x4e2768){const _0x106970=_0x3ab1,_0x2e3a62=_0x1232a4();while(!![]){try{const _0x2ee41b=parseInt(_0x106970(0x324))/0x1*(parseInt(_0x106970(0x361))/0x2)+parseInt(_0x106970(0x1bd))/0x3*(parseInt(_0x106970(0x390))/0x4)+parseInt(_0x106970(0x26b))/0x5*(parseInt(_0x106970(0x39e))/0x6)+parseInt(_0x106970(0x30c))/0x7+-parseInt(_0x106970(0x29d))/0x8*(parseInt(_0x106970(0x233))/0x9)+parseInt(_0x106970(0x1d4))/0xa*(-parseInt(_0x106970(0x2af))/0xb)+parseInt(_0x106970(0x1f0))/0xc*(-parseInt(_0x106970(0x1ec))/0xd);if(_0x2ee41b===_0x4e2768)break;else _0x2e3a62['push'](_0x2e3a62['shift']());}catch(_0x5a9778){_0x2e3a62['push'](_0x2e3a62['shift']());}}}(_0x3b8e,0x1c870));var $t=Object[_0x331f18(0x223)],xt=(_0x2a7b75,_0x369486,_0x25bb1c)=>_0x369486 in _0x2a7b75?$t(_0x2a7b75,_0x369486,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25bb1c}):_0x2a7b75[_0x369486]=_0x25bb1c,_=(_0xcf2daa,_0x445de5,_0x5fb7ef)=>xt(_0xcf2daa,typeof _0x445de5!=_0x331f18(0x210)?_0x445de5+'':_0x445de5,_0x5fb7ef);import{MemberService as _0x575115,SessionStatus as _0x569f54,CollaborationSessionService as _0x2fb176,CollaborationStatus as _0x449a58,CollaborationController as _0x32338b,ILocalCacheService as _0x1f8fe6,CollaborationUIEventService as _0x41e737,CollaborationUIEventId as _0x59e9cb,DataLoaderService as _0x1228b9,DocCollaborationEntity as _0xcc6f1d,getLocalCacheKey as _0x39065e,LOCAL_CACHE_INTERVAL as _0x24837d,LOCAL_CACHE_INTERVAL_KEY as _0x11b28d,UniverCollaborationClientPlugin as _0x53113a,CollaborationSocketService as _0x33c9fc,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x530dc3,DEFAULT_WS_SESSION_TICKET_URL as _0x28f62b,UnitStatus as _0xdb3837,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x453588,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x880da3}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x580921,Disposable as _0x241117,DOC_RANGE_TYPE as _0x21e73b,Inject as _0x4d7f15,Injector as _0x5c9129,IUniverInstanceService as _0x2a3bfe,ICommandService as _0x52aaba,debounce as _0x36bab2,Rectangle as _0x41753d,DisposableCollection as _0xac6973,toDisposable as _0x2b4792,UniverInstanceType as _0x1213d9,Tools as _0x36f5f4,COLORS as _0x44fe91,ColorKit as _0x425e1e,ThemeService as _0x5a9426,fromEventSubject as _0x14c4c7,LocaleService as _0x332a86,createIdentifier as _0x5ca8a4,ILogService as _0x57bd66,Optional as _0x2e8312,Workbook as _0x157873,CommandType as _0x5db251,IConfigService as _0x9ec538,ILocalStorageService as _0x28dc77,DependentOn as _0x1f51c3,Plugin as _0x33a716,merge as _0x317109,registerDependencies as _0x2a2fdf,mergeOverrideWithDependencies as _0x420f1d,touchDependencies as _0x168a7f,generateRandomId as _0x1e472d}from'@univerjs/core';import{Shape as _0x47b695,Rect as _0x4a67f8,getColor as _0x5571f1,RegularPolygon as _0x482429,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x45fd01,Vector2 as _0x430260,SHEET_VIEWPORT_KEY as _0x1bf9e0,IRenderManagerService as _0x33433a}from'@univerjs/engine-render';import{ISocketService as _0x2b549f,WebSocketService as _0x3a4cf3,HTTPService as _0x5e48a6}from'@univerjs/network';import{IDocClipboardService as _0x39d6cc,NodePositionConvertToCursor as _0x56d029,NodePositionConvertToRectRange as _0xf0a6d9,TEXT_RANGE_LAYER_INDEX as _0x4e8051,SetDocZoomRatioOperation as _0x228418,DocIMEInputManagerService as _0x48cb1b,DocStateChangeManagerService as _0x38120d}from'@univerjs/docs-ui';import{IImageIoService as _0x59a72d}from'@univerjs/drawing';import{BehaviorSubject as _0x19d59e,debounceTime as _0x1eae7c,takeUntil as _0x26bd25,Subject as _0x5d514d,filter as _0x3ea0a3,switchMap as _0x46629d,merge as _0x1ebad6,combineLatest as _0x5cd157,of as _0x582b9f,fromEvent as _0x1737c3,shareReplay as _0x5713be,mapTo as _0x2f24e5,distinctUntilChanged as _0x1d603e}from'rxjs';import{SetTextSelectionsOperation as _0x1d17c3,RichTextEditingMutation as _0x1e94eb,DocSelectionManagerService as _0x18ac6b,DocSkeletonManagerService as _0x2c6235}from'@univerjs/docs';import{ITransformService as _0x5566ba,CollaborationEvent as _0x53fec1,isTransformMutationFailure as _0x4f139f,isTransformMutationsWithChangesetSuccess as _0x2d23ed,RevisionService as _0x4b2b9e,ISnapshotServerService as _0x1113b2}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x297465,serializeRangeWithSheet as _0x4246b5}from'@univerjs/engine-formula';import{RefRangeService as _0x2b0687,SetSelectionsOperation as _0x181bae,SheetsSelectionsService as _0x182111,EffectRefRangId as _0x2cf85a,handleIRemoveRow as _0x20d599,handleIRemoveCol as _0x5bc151,handleMoveRange as _0x2d6d36,handleInsertRow as _0x5c094c,handleInsertRangeMoveRight as _0x42eb0a,handleInsertRangeMoveDown as _0xc8f099,handleInsertCol as _0x534256,handleDeleteRangeMoveUp as _0x242641,handleDeleteRangeMoveLeft as _0x411401,runRefRangeMutations as _0x39927a,SetWorksheetActivateCommand as _0x1a64c0}from'@univerjs/sheets';import{map as _0x436a37,filter as _0x8d18a5,throttleTime as _0x1fca42,takeUntil as _0x5bf7d3,switchMap as _0x28cc9b}from'rxjs/operators';import{SheetSkeletonManagerService as _0x451e32,getCoordByCell as _0x49fb4d,getSheetObject as _0x45f6ba}from'@univerjs/sheets-ui';import{jsx as _0x4b27b9,jsxs as _0x22a7fb}from'react/jsx-runtime';import{useObservable as _0x25a19a,useDependency as _0x5696ef,IUIPartsService as _0x2120e9,BuiltInUIPart as _0x17ca04,connectInjector as _0x5ecf67,IBeforeCloseService as _0x1d3722,IMessageService as _0xcead9f,INotificationService as _0x36fb2a}from'@univerjs/ui';import{Tooltip as _0x1e775c,clsx as _0x1be29b,MessageType as _0xeb4c69}from'@univerjs/design';import{forwardRef as _0x1a1f9a,useRef as _0x2f922b,createElement as _0x564d3a,useCallback as _0x337eb9}from'react';import{IRemoteInstanceService as _0x308816}from'@univerjs/rpc';var ci=Object[_0x331f18(0x26f)],li=(_0x4c886e,_0x3dccef,_0x303ffa,_0xf265c0)=>{const _0x47e7e9=_0x331f18;for(var _0x49857=_0xf265c0>0x1?void 0x0:_0xf265c0?ci(_0x3dccef,_0x303ffa):_0x3dccef,_0x500561=_0x4c886e[_0x47e7e9(0x203)]-0x1,_0x379a4a;_0x500561>=0x0;_0x500561--)(_0x379a4a=_0x4c886e[_0x500561])&&(_0x49857=_0x379a4a(_0x49857)||_0x49857);return _0x49857;},Je=(_0x15edc0,_0xd7feb7)=>(_0x10c13c,_0x374449)=>_0xd7feb7(_0x10c13c,_0x374449,_0x15edc0);let Ne=class extends _0x580921{constructor(_0x413616,_0x4b3cd3){const _0x1f9710=_0x331f18;super(),this[_0x1f9710(0x31a)]=_0x413616,this[_0x1f9710(0x354)]=_0x4b3cd3,this[_0x1f9710(0x39a)]();}['_init'](){const _0x581492=_0x331f18,_0x93f8a2=this;this[_0x581492(0x2ee)](this[_0x581492(0x31a)][_0x581492(0x298)]({'onBeforePasteImage':async _0x2105a3=>{const _0x372c9b=_0x581492,_0x501a63=await _0x93f8a2['_imageIoService']['saveImage'](_0x2105a3);return _0x501a63?{'source':_0x501a63['source'],'imageSourceType':_0x501a63[_0x372c9b(0x38c)]}:null;}}));}};Ne=li([Je(0x0,_0x39d6cc),Je(0x1,_0x59a72d)],Ne);const Ze=[_0x331f18(0x202),'jiqing.500',_0x331f18(0x3bb),_0x331f18(0x2cf),'blue.400',_0x331f18(0x32a)];class ke extends _0x241117{constructor(){const _0x4a979b=_0x331f18;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x4a979b(0x2f7),0x0);}['assignAColorForMemberID'](_0x4b8667){const _0x2930d2=_0x331f18;if(this['_assignedColors'][_0x2930d2(0x1c5)](_0x4b8667))return this[_0x2930d2(0x3ad)][_0x2930d2(0x2dd)](_0x4b8667);const _0xe9b95c=Ze[this[_0x2930d2(0x2f7)]];return this['_colorIndex']=(this[_0x2930d2(0x2f7)]+0x1)%Ze[_0x2930d2(0x203)],this['_assignedColors'][_0x2930d2(0x2b0)](_0x4b8667,_0xe9b95c),_0xe9b95c;}}function Tt(_0x12f383){const _0x1bf1f1=_0x331f18;let _0xb7a040='';for(const _0x4c62e3 of _0x12f383){const {startOffset:_0x55f4eb,endOffset:_0x432326,isActive:_0x2e73b5,rangeType:_0x5203a0,segmentId:_0x148c64,segmentPage:_0x5940ed}=_0x4c62e3;_0xb7a040[_0x1bf1f1(0x203)]&&(_0xb7a040+=','),_0xb7a040+=_0x55f4eb+':'+_0x432326+':'+(_0x2e73b5?'1':'0')+':'+_0x5203a0+':'+_0x148c64+':'+_0x5940ed;}return _0xb7a040;}function _i(_0x36cdd7){const _0x3191c2=_0x331f18,_0x224b0b=_0x36cdd7[_0x3191c2(0x25e)](','),_0x591e81=[];for(const _0x9fc327 of _0x224b0b){const [_0x276512,_0x2d7a85,_0x2f4354,_0x116fd5,_0x5a0172,_0x2a84d0]=_0x9fc327[_0x3191c2(0x25e)](':');_0x591e81[_0x3191c2(0x23c)]({'startOffset':Number(_0x276512),'endOffset':Number(_0x2d7a85),'collapsed':_0x276512===_0x2d7a85,'isActive':_0x2f4354==='1','rangeType':_0x116fd5===_0x21e73b['TEXT']?_0x21e73b['TEXT']:_0x21e73b[_0x3191c2(0x2a5)],'segmentId':typeof _0x5a0172==_0x3191c2(0x1f1)?String(_0x5a0172):'','segmentPage':Number(_0x2a84d0!=null?_0x2a84d0:-0x1)});}return _0x591e81['some'](_0x1b967c=>_0x1b967c[_0x3191c2(0x34e)])||(_0x591e81[0x0][_0x3191c2(0x34e)]=!0x0),_0x591e81;}class He extends _0x580921{constructor(){const _0x38336c=_0x331f18;super(...arguments),_(this,_0x38336c(0x2ca),new _0x19d59e(null)),_(this,_0x38336c(0x37e),this['_collabCursorState$']['asObservable']());}[_0x331f18(0x3b8)](_0x53cabc){const _0x18bda7=_0x331f18,{unitID:_0xddd5e0,memberID:_0x4229ef,textRanges:_0x30143d}=_0x53cabc,_0x58a7be=Tt(_0x30143d);if(_0x58a7be==='')return;const _0x5bb306={'unitID':_0xddd5e0,'memberID':_0x4229ef,'selection':_0x58a7be};this['_collabCursorState$'][_0x18bda7(0x2f2)](_0x5bb306);}}var hi=Object[_0x331f18(0x26f)],ui=(_0x4c4e5f,_0x4f4494,_0x365465,_0x57384f)=>{const _0x14d3e6=_0x331f18;for(var _0xebef70=_0x57384f>0x1?void 0x0:_0x57384f?hi(_0x4f4494,_0x365465):_0x4f4494,_0x226847=_0x4c4e5f[_0x14d3e6(0x203)]-0x1,_0x2cef50;_0x226847>=0x0;_0x226847--)(_0x2cef50=_0x4c4e5f[_0x226847])&&(_0xebef70=_0x2cef50(_0xebef70)||_0xebef70);return _0xebef70;},L=(_0x50894a,_0x449c45)=>(_0x157935,_0x162d6d)=>_0x449c45(_0x157935,_0x162d6d,_0x50894a);const di=0x12c,fi=0x64;let Ue=class extends _0x580921{constructor(_0x17a11e,_0x46340d,_0x2354a5,_0x1b6dba,_0x2692d4,_0x1ee25a,_0x1123cb,_0x329211,_0xb50504){const _0x399c0c=_0x331f18;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x399c0c(0x39d),new _0x19d59e(new Map())),_(this,_0x399c0c(0x3ae),this['_cursorInfo$'][_0x399c0c(0x2fb)]()),_(this,'_roomMembers$',new _0x19d59e([])),_(this,_0x399c0c(0x2b7),this[_0x399c0c(0x1bf)]['pipe'](_0x1eae7c(di))),_(this,_0x399c0c(0x339),_0x36bab2(_0x348170=>{const _0x16ffbd=_0x399c0c,_0x339edd={'eventID':_0x53fec1[_0x16ffbd(0x248)],'data':{'unitID':this[_0x16ffbd(0x350)],'memberID':this['_session'][_0x16ffbd(0x369)](),'selection':Tt(_0x348170)}};this[_0x16ffbd(0x329)][_0x16ffbd(0x289)](_0x339edd,this['unitID']);},fi)),(this[_0x399c0c(0x350)]=_0x17a11e,this[_0x399c0c(0x329)]=_0x46340d,this[_0x399c0c(0x363)]=_0x2354a5,this['_colorAssignService']=_0x1b6dba,this[_0x399c0c(0x2df)]=_0x2692d4,this[_0x399c0c(0x3a4)]=_0x1ee25a,this[_0x399c0c(0x286)]=_0x1123cb,this[_0x399c0c(0x23a)]=_0x329211,this[_0x399c0c(0x378)]=_0xb50504);}get[_0x331f18(0x26d)](){const _0x3240a3=_0x331f18;return this[_0x3240a3(0x39d)]['getValue']();}get[_0x331f18(0x340)](){const _0x429c75=_0x331f18;return this['_roomMembers$'][_0x429c75(0x330)]();}[_0x331f18(0x1fe)](){const _0x108100=_0x331f18;super[_0x108100(0x1fe)](),this[_0x108100(0x39d)][_0x108100(0x2f2)](new Map()),this[_0x108100(0x39d)][_0x108100(0x27d)](),this[_0x108100(0x1bf)]['next']([]),this[_0x108100(0x1bf)][_0x108100(0x27d)]();}['init'](){const _0x332697=_0x331f18;this['_init']||(this[_0x332697(0x39a)]=!0x0,this[_0x332697(0x329)][_0x332697(0x21e)]['pipe'](_0x26bd25(this[_0x332697(0x35c)]))[_0x332697(0x1ed)](_0x4d845d=>{_0x4d845d===_0x569f54['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x332697(0x303)](_0x26bd25(this['dispose$']))[_0x332697(0x1ed)](_0x3a52c5=>{const _0x1b953c=_0x332697,_0x376eb5=_0x3a52c5[_0x1b953c(0x2cd)];_0x376eb5===_0x53fec1['UPDATE_CURSOR']&&this[_0x1b953c(0x315)](_0x3a52c5),_0x376eb5===_0x53fec1['USERS_LEAVE']&&this[_0x1b953c(0x34b)](_0x3a52c5);}),this['disposeWithMe'](this[_0x332697(0x378)][_0x332697(0x2a7)](_0x1d76c2=>{const _0x3d1333=_0x332697,_0x52b8c8=_0x1d76c2[_0x3d1333(0x395)];_0x52b8c8!=null&&this[_0x3d1333(0x334)]&&_0x1d76c2['id']===_0x1d17c3['id']&&_0x52b8c8[_0x3d1333(0x21b)]===this[_0x3d1333(0x350)]&&_0x52b8c8['isEditing']===!0x1&&_0x52b8c8[_0x3d1333(0x273)]['length']>0x0&&this['_updateLocalCursor'](_0x52b8c8[_0x3d1333(0x273)]);})),this[_0x332697(0x3a4)][_0x332697(0x37e)]['pipe'](_0x26bd25(this['dispose$']))[_0x332697(0x1ed)](_0x464b1d=>{const _0x2ad223=_0x332697;if((_0x464b1d==null?void 0x0:_0x464b1d['unitID'])!==this[_0x2ad223(0x350)])return;const _0x372f85={'eventID':_0x53fec1[_0x2ad223(0x248)],'data':_0x464b1d};this[_0x2ad223(0x315)](_0x372f85);}),this[_0x332697(0x2ee)](this[_0x332697(0x378)]['onCommandExecuted'](_0x1583bc=>{const _0x75d765=_0x332697;if(_0x1583bc[_0x75d765(0x395)]==null)return;const _0x4515d0=_0x1583bc[_0x75d765(0x395)];if(_0x1583bc['id']!==_0x1e94eb['id']||_0x4515d0[_0x75d765(0x21b)]!==this['unitID'])return;const _0x2b1df7={'id':_0x75d765(0x1f8),'params':_0x4515d0},_0x422e16=this[_0x75d765(0x26d)];for(const [_0x3269c1,_0xc5310e]of _0x422e16){const _0x2d7d53={'id':_0x75d765(0x1f8),'params':{'unitId':this[_0x75d765(0x350)],'actions':null,'textRanges':_0xc5310e[_0x75d765(0x273)]}},_0x42eaec=this[_0x75d765(0x286)][_0x75d765(0x38a)](_0x2b1df7,_0x2d7d53,!0x1);if(_0x4f139f(_0x42eaec))throw _0x42eaec[_0x75d765(0x27f)];_0x422e16[_0x75d765(0x2b0)](_0x3269c1,{..._0xc5310e,'ranges':_0x42eaec[_0x75d765(0x2fa)][_0x75d765(0x395)][_0x75d765(0x2eb)]});}queueMicrotask(()=>{const _0x405c2e=_0x75d765;this[_0x405c2e(0x39d)]['next'](_0x422e16);});})));}[_0x331f18(0x315)](_0x5c32fd){const _0x1d51eb=_0x331f18;var _0x432011,_0x3c82e4;const {memberID:_0x443d1a,selection:_0x5e6d06}=_0x5c32fd[_0x1d51eb(0x35b)],_0x2eda19=_i(_0x5e6d06),_0x45e507=(_0x3c82e4=(_0x432011=this['_memberService'][_0x1d51eb(0x1fd)](this[_0x1d51eb(0x350)],_0x443d1a))==null?void 0x0:_0x432011[_0x1d51eb(0x3ba)])!=null?_0x3c82e4:_0x1d51eb(0x1d8),_0x149e1a={'color':this['_colorAssignService'][_0x1d51eb(0x2ff)](_0x443d1a),'name':_0x45e507,'ranges':_0x2eda19},_0x50b5df=this[_0x1d51eb(0x26d)];_0x50b5df['set'](_0x443d1a,_0x149e1a),this['_cursorInfo$'][_0x1d51eb(0x2f2)](_0x50b5df);}[_0x331f18(0x34b)](_0x4afdcd){const _0x542070=_0x331f18,{memberID:_0x5b7fc0}=_0x4afdcd[_0x542070(0x35b)],_0x2c5770=this['cursorInfo'];_0x2c5770[_0x542070(0x265)](_0x5b7fc0),this['_cursorInfo$']['next'](_0x2c5770);}[_0x331f18(0x1fa)](){const _0x295616=_0x331f18;var _0x2c59ec;if(this['_online']=!0x0,((_0x2c59ec=this[_0x295616(0x23a)][_0x295616(0x1e8)]())==null?void 0x0:_0x2c59ec[_0x295616(0x24f)]())!==this[_0x295616(0x350)])return;const _0x46c53a=this[_0x295616(0x363)][_0x295616(0x2dd)](_0x18ac6b)[_0x295616(0x348)]();Array[_0x295616(0x1df)](_0x46c53a)&&_0x46c53a[_0x295616(0x203)]>0x0&&this[_0x295616(0x339)](_0x46c53a);}[_0x331f18(0x3a1)](){const _0xf6863=_0x331f18;this[_0xf6863(0x334)]=!0x1;}};Ue=ui([L(0x2,_0x4d7f15(_0x5c9129)),L(0x3,_0x4d7f15(ke)),L(0x4,_0x4d7f15(_0x575115)),L(0x5,_0x4d7f15(He)),L(0x6,_0x5566ba),L(0x7,_0x2a3bfe),L(0x8,_0x52aaba)],Ue);var Si=Object[_0x331f18(0x26f)],mi=(_0x356d27,_0x462b84,_0x4c1a6c,_0x5c68f5)=>{const _0x32d46a=_0x331f18;for(var _0x61b87b=_0x5c68f5>0x1?void 0x0:_0x5c68f5?Si(_0x462b84,_0x4c1a6c):_0x462b84,_0x3c0743=_0x356d27[_0x32d46a(0x203)]-0x1,_0x8136de;_0x3c0743>=0x0;_0x3c0743--)(_0x8136de=_0x356d27[_0x3c0743])&&(_0x61b87b=_0x8136de(_0x61b87b)||_0x61b87b);return _0x61b87b;},x=(_0x50212f,_0x3d5c01)=>(_0x643ad0,_0xf03e1)=>_0x3d5c01(_0x643ad0,_0xf03e1,_0x50212f);const gi=0x12c,Ii=0x64,vi=()=>{let _0x8f3c18=[],_0x16904f=!0x1;return _0x18d45a=>{_0x8f3c18['push'](_0x18d45a),_0x16904f||(_0x16904f=!0x0,setTimeout(()=>{const _0x1dc3da=_0x3ab1;_0x8f3c18[_0x1dc3da(0x1ef)](_0x18ce02=>_0x18ce02()),_0x8f3c18=[],_0x16904f=!0x1;}));};};let Me=class extends _0x580921{constructor(_0x20085f,_0x3209ad,_0x183555,_0x3b0009,_0x4defdb,_0x571377,_0x267068,_0x53d2ec){const _0x52899f=_0x331f18;super(),_(this,'_online',!0x1),_(this,_0x52899f(0x39a),!0x1),_(this,_0x52899f(0x39d),new _0x19d59e(new Map())),_(this,_0x52899f(0x3ae),this[_0x52899f(0x39d)][_0x52899f(0x2fb)]()),_(this,_0x52899f(0x1bf),new _0x19d59e([])),_(this,'roomMembers$',this[_0x52899f(0x1bf)][_0x52899f(0x303)](_0x1eae7c(gi))),_(this,_0x52899f(0x339),_0x36bab2((_0x570b95,_0x1c8c57)=>{const _0x15fa2e=_0x52899f,_0x473c55={'eventID':_0x53fec1[_0x15fa2e(0x248)],'data':{'unitID':this[_0x15fa2e(0x350)],'memberID':this[_0x15fa2e(0x329)]['getMemberID'](),'selection':_0x4246b5(_0x570b95,_0x1c8c57[_0x15fa2e(0x2ef)])}};this['_session'][_0x15fa2e(0x289)](_0x473c55,this[_0x15fa2e(0x350)]);},Ii)),(this['unitID']=_0x20085f,this[_0x52899f(0x329)]=_0x3209ad,this[_0x52899f(0x363)]=_0x183555,this[_0x52899f(0x234)]=_0x3b0009,this[_0x52899f(0x2df)]=_0x4defdb,this[_0x52899f(0x23a)]=_0x571377,this['_commandService']=_0x267068,this[_0x52899f(0x2d7)]=_0x53d2ec);}get[_0x331f18(0x26d)](){const _0x50ae89=_0x331f18;return this['_cursorInfo$'][_0x50ae89(0x330)]();}get[_0x331f18(0x340)](){return this['_roomMembers$']['getValue']();}[_0x331f18(0x1fe)](){const _0x5a6daa=_0x331f18;super['dispose'](),this[_0x5a6daa(0x39d)]['next'](new Map()),this[_0x5a6daa(0x39d)][_0x5a6daa(0x27d)](),this[_0x5a6daa(0x1bf)][_0x5a6daa(0x2f2)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x4de9d5=_0x331f18;this[_0x4de9d5(0x39a)]||(this['_init']=!0x0,this[_0x4de9d5(0x329)][_0x4de9d5(0x21e)][_0x4de9d5(0x303)](_0x26bd25(this['dispose$']))[_0x4de9d5(0x1ed)](_0x3012bb=>{const _0x4bf897=_0x4de9d5;_0x3012bb===_0x569f54[_0x4bf897(0x1ca)]?this['_toggleOnline']():this[_0x4bf897(0x3a1)]();}),this[_0x4de9d5(0x329)]['event$'][_0x4de9d5(0x303)](_0x26bd25(this['dispose$']))['subscribe'](_0x36a42c=>{const _0xc97ccc=_0x4de9d5,_0x5dc6f6=_0x36a42c[_0xc97ccc(0x2cd)];_0x5dc6f6===_0x53fec1[_0xc97ccc(0x248)]&&this[_0xc97ccc(0x315)](_0x36a42c),_0x5dc6f6===_0x53fec1[_0xc97ccc(0x380)]&&this[_0xc97ccc(0x34b)](_0x36a42c);}),this[_0x4de9d5(0x398)](),this[_0x4de9d5(0x2ee)](this[_0x4de9d5(0x378)][_0x4de9d5(0x2a7)](_0x20fa94=>{const _0x40fd82=_0x4de9d5;if(this[_0x40fd82(0x334)]&&_0x20fa94['id']===_0x181bae['id']&&_0x20fa94['params']['unitId']===this[_0x40fd82(0x350)]){const _0x33c054=_0x20fa94[_0x40fd82(0x395)];this[_0x40fd82(0x339)](_0x33c054[_0x40fd82(0x31b)],_0x33c054[_0x40fd82(0x1db)][0x0]);}})));}['_onCursorUpdate'](_0x1c72d8){const _0x6247c4=_0x331f18;var _0x4c7d20,_0x501dcc;const {memberID:_0x27af14,selection:_0x581161}=_0x1c72d8[_0x6247c4(0x35b)],{sheetName:_0x38ce5f,range:_0xa21499}=_0x297465(_0x581161),_0x435e6b={'name':(_0x501dcc=(_0x4c7d20=this[_0x6247c4(0x2df)][_0x6247c4(0x1fd)](this[_0x6247c4(0x350)],_0x27af14))==null?void 0x0:_0x4c7d20[_0x6247c4(0x3ba)])!=null?_0x501dcc:_0x6247c4(0x1d8),'range':this[_0x6247c4(0x1f9)](_0x38ce5f,_0xa21499),'sheetID':_0x38ce5f,'color':this[_0x6247c4(0x234)][_0x6247c4(0x2ff)](_0x27af14),'selection':_0x581161},_0x1c4025=this['cursorInfo'];_0x1c4025[_0x6247c4(0x2b0)](_0x27af14,_0x435e6b),this[_0x6247c4(0x39d)][_0x6247c4(0x2f2)](_0x1c4025);}[_0x331f18(0x34b)](_0x4b60da){const _0x340b56=_0x331f18,{memberID:_0x46da62}=_0x4b60da[_0x340b56(0x35b)],_0x1525d1=this[_0x340b56(0x26d)];_0x1525d1[_0x340b56(0x265)](_0x46da62),this[_0x340b56(0x39d)][_0x340b56(0x2f2)](_0x1525d1);}[_0x331f18(0x1f9)](_0x3d6023,_0x43b9f7){const _0x1e58e6=_0x331f18;var _0xcfe0f4,_0x298335;const _0x174cc4=(_0x298335=(_0xcfe0f4=this[_0x1e58e6(0x23a)][_0x1e58e6(0x29c)](this[_0x1e58e6(0x350)]))==null?void 0x0:_0xcfe0f4[_0x1e58e6(0x2f3)](_0x3d6023))==null?void 0x0:_0x298335[_0x1e58e6(0x1e2)]();return(_0x174cc4==null?void 0x0:_0x174cc4[_0x1e58e6(0x292)](_0x5536e8=>_0x41753d['contains'](_0x5536e8,_0x43b9f7)))||_0x43b9f7;}[_0x331f18(0x398)](){const _0x361f11=_0x331f18,_0x4f4a0d=new _0xac6973(),_0x47caa2=vi(),_0x3e8c4d=()=>{const _0x81d24e=_0x3ab1;_0x4f4a0d['dispose']();const _0x2f08d0=(_0x3a9901,_0x1e4f20,_0x1fd57e,_0x165ba4)=>{const _0x5e35b6=_0x3ab1;let _0x46cec6=[];switch(_0x3a9901['id']){case _0x2cf85a[_0x5e35b6(0x2a8)]:{_0x46cec6=_0x411401(_0x3a9901,_0x165ba4);break;}case _0x2cf85a[_0x5e35b6(0x3a6)]:{_0x46cec6=_0x242641(_0x3a9901,_0x165ba4);break;}case _0x2cf85a[_0x5e35b6(0x365)]:{_0x46cec6=_0x534256(_0x3a9901,_0x165ba4);break;}case _0x2cf85a[_0x5e35b6(0x245)]:{_0x46cec6=_0xc8f099(_0x3a9901,_0x165ba4);break;}case _0x2cf85a[_0x5e35b6(0x2b9)]:{_0x46cec6=_0x42eb0a(_0x3a9901,_0x165ba4);break;}case _0x2cf85a[_0x5e35b6(0x30a)]:{_0x46cec6=_0x5c094c(_0x3a9901,_0x165ba4);break;}case _0x2cf85a['MoveRangeCommandId']:{_0x46cec6=_0x2d6d36(_0x3a9901,_0x165ba4);break;}case _0x2cf85a['RemoveColCommandId']:{_0x46cec6=_0x5bc151(_0x3a9901,_0x165ba4);break;}case _0x2cf85a[_0x5e35b6(0x310)]:{_0x46cec6=_0x20d599(_0x3a9901,_0x165ba4);break;}}const _0x48b114=_0x39927a(_0x46cec6,_0x165ba4),_0x4fc6d4=this[_0x5e35b6(0x26d)]['get'](_0x1e4f20);if(_0x4fc6d4&&_0x48b114){const _0x495d96={..._0x4fc6d4,'range':_0x48b114};this[_0x5e35b6(0x26d)][_0x5e35b6(0x2b0)](_0x1e4f20,_0x495d96),_0x47caa2(()=>{const _0x37988d=_0x5e35b6,_0x12a84d=this['_refRangeService'][_0x37988d(0x367)](_0x48b114,_0x257fc3=>(_0x12a84d[_0x37988d(0x1fe)](),_0x2f08d0(_0x257fc3,_0x1e4f20,_0x1fd57e,_0x48b114)));_0x4f4a0d['add'](_0x12a84d);});}return{'redos':[],'undos':[]};};this[_0x81d24e(0x26d)][_0x81d24e(0x1ef)]((_0x37441c,_0x1f0a91)=>{const _0x48c9bb=_0x81d24e,{range:_0x2a19f3,sheetID:_0x5e46bc}=_0x37441c,_0x12505c=this[_0x48c9bb(0x2d7)][_0x48c9bb(0x367)](_0x2a19f3,_0xe5081b=>(_0x12505c[_0x48c9bb(0x1fe)](),_0x2f08d0(_0xe5081b,_0x1f0a91,_0x5e46bc,_0x2a19f3)));_0x4f4a0d[_0x48c9bb(0x319)](_0x12505c);});};this[_0x361f11(0x2ee)](_0x2b4792(this[_0x361f11(0x39d)][_0x361f11(0x1ed)](()=>{_0x3e8c4d();})));}[_0x331f18(0x1fa)](){const _0x3e8e36=_0x331f18;var _0x374331,_0x40f053;if(this['_online']=!0x0,((_0x374331=this[_0x3e8e36(0x23a)][_0x3e8e36(0x1e8)]())==null?void 0x0:_0x374331['getUnitId']())!==this['unitID'])return;const _0x3cefec=(_0x40f053=this[_0x3e8e36(0x363)][_0x3e8e36(0x2dd)](_0x182111)['getCurrentSelections']())==null?void 0x0:_0x40f053[0x0],_0x3f4f18=this[_0x3e8e36(0x23a)][_0x3e8e36(0x2b2)](_0x1213d9['UNIVER_SHEET'])[_0x3e8e36(0x20f)]();_0x3cefec&&_0x3f4f18&&this[_0x3e8e36(0x339)](_0x3f4f18[_0x3e8e36(0x32e)](),_0x3cefec);}[_0x331f18(0x3a1)](){const _0x12e055=_0x331f18;this[_0x12e055(0x334)]=!0x1;}};Me=mi([x(0x2,_0x4d7f15(_0x5c9129)),x(0x3,_0x4d7f15(ke)),x(0x4,_0x4d7f15(_0x575115)),x(0x5,_0x2a3bfe),x(0x6,_0x52aaba),x(0x7,_0x4d7f15(_0x2b0687))],Me);var pi=Object[_0x331f18(0x26f)],Ci=(_0x1aade9,_0x3b3e07,_0x4147fa,_0x1a6844)=>{const _0x50e464=_0x331f18;for(var _0x3f4864=_0x1a6844>0x1?void 0x0:_0x1a6844?pi(_0x3b3e07,_0x4147fa):_0x3b3e07,_0x2a0586=_0x1aade9[_0x50e464(0x203)]-0x1,_0x2fdac9;_0x2a0586>=0x0;_0x2a0586--)(_0x2fdac9=_0x1aade9[_0x2a0586])&&(_0x3f4864=_0x2fdac9(_0x3f4864)||_0x3f4864);return _0x3f4864;},Se=(_0x475a11,_0x135466)=>(_0x3cf3b7,_0x237559)=>_0x135466(_0x3cf3b7,_0x237559,_0x475a11);let H=class extends _0x580921{constructor(_0x2ba653,_0xeee1cb,_0x55f205){const _0x595d2a=_0x331f18;super(),_(this,_0x595d2a(0x272),new Map()),_(this,_0x595d2a(0x1bb),new _0x5d514d()),(this[_0x595d2a(0x23a)]=_0x2ba653,this[_0x595d2a(0x363)]=_0xeee1cb,this[_0x595d2a(0x345)]=_0x55f205,this[_0x595d2a(0x39a)]());}[_0x331f18(0x1fe)](){const _0x58897=_0x331f18;super['dispose'](),this[_0x58897(0x1bb)][_0x58897(0x27d)](),this[_0x58897(0x272)]['forEach'](_0x1a02bc=>_0x1a02bc[_0x58897(0x1fe)]());}[_0x331f18(0x341)](_0x5b74b6){const _0x347a0=_0x331f18;return this[_0x347a0(0x272)]['has'](_0x5b74b6)?this[_0x347a0(0x272)][_0x347a0(0x2dd)](_0x5b74b6)[_0x347a0(0x3ae)]:this[_0x347a0(0x1bb)][_0x347a0(0x303)](_0x3ea0a3(_0xcd7a9d=>_0xcd7a9d[_0x347a0(0x350)]===_0x5b74b6),_0x46629d(_0x716393=>_0x716393[_0x347a0(0x3ae)]));}[_0x331f18(0x39a)](){const _0x2e1060=_0x331f18;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1213d9[_0x2e1060(0x3a5)])[_0x2e1060(0x303)](_0x26bd25(this['dispose$']))[_0x2e1060(0x1ed)](async _0x170c15=>{const _0x575efe=_0x2e1060,_0x6cf8d1=_0x170c15['getUnitId'](),_0x3d3273=await this[_0x575efe(0x2ce)](_0x6cf8d1);this[_0x575efe(0x1bb)]['next'](_0x3d3273),this[_0x575efe(0x272)][_0x575efe(0x2b0)](_0x6cf8d1,_0x3d3273);}),this[_0x2e1060(0x23a)][_0x2e1060(0x28a)](_0x1213d9[_0x2e1060(0x29a)])['pipe'](_0x26bd25(this[_0x2e1060(0x35c)]))[_0x2e1060(0x303)](_0x3ea0a3(_0x146e8d=>!_0x146e8d['getUnitId']()[_0x2e1060(0x36b)]('__')))[_0x2e1060(0x1ed)](async _0x5a71de=>{const _0x3c5680=_0x2e1060,_0x3cda7a=_0x5a71de[_0x3c5680(0x24f)](),_0x14c605=await this[_0x3c5680(0x3b7)](_0x3cda7a);this[_0x3c5680(0x1bb)][_0x3c5680(0x2f2)](_0x14c605),this['_entities']['set'](_0x3cda7a,_0x14c605);}),_0x1ebad6(this[_0x2e1060(0x23a)]['getTypeOfUnitDisposed$'](_0x1213d9['UNIVER_DOC']),this[_0x2e1060(0x23a)][_0x2e1060(0x2da)](_0x1213d9[_0x2e1060(0x3a5)]))[_0x2e1060(0x303)](_0x26bd25(this[_0x2e1060(0x35c)]))[_0x2e1060(0x1ed)](_0x2f952e=>{const _0x4b9953=_0x2e1060,_0x203897=_0x2f952e[_0x4b9953(0x24f)](),_0x882586=this[_0x4b9953(0x272)]['get'](_0x203897);_0x882586&&(_0x882586['dispose'](),this[_0x4b9953(0x272)][_0x4b9953(0x265)](_0x203897));});}async[_0x331f18(0x2ce)](_0x4066d0){const _0x15a82c=_0x331f18,_0x521bd3=await this['_collabSessionService'][_0x15a82c(0x3ab)](_0x4066d0),_0x156364=this[_0x15a82c(0x363)][_0x15a82c(0x344)](Me,_0x4066d0,_0x521bd3);return _0x156364['init'](),_0x156364;}async['_startDocCollabCursor'](_0x278f4d){const _0x4093bb=_0x331f18,_0x4c3036=await this[_0x4093bb(0x345)][_0x4093bb(0x3ab)](_0x278f4d),_0x45ebca=this['_injector'][_0x4093bb(0x344)](Ue,_0x278f4d,_0x4c3036);return _0x45ebca['init'](),_0x45ebca;}};H=Ci([Se(0x0,_0x2a3bfe),Se(0x1,_0x4d7f15(_0x5c9129)),Se(0x2,_0x4d7f15(_0x2fb176))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x580c7f,_0x5c4b29){const _0x39da3f=_0x331f18;let {radius:_0x1580f3,width:_0x321956,height:_0x482114}=_0x5c4b29;_0x1580f3=_0x1580f3!=null?_0x1580f3:0x0,_0x321956=_0x321956!=null?_0x321956:0x1e,_0x482114=_0x482114!=null?_0x482114:0x1e;let _0x224550=0x0,_0x2e6367=0x0,_0x1f2672=0x0;_0x224550=_0x2e6367=_0x1f2672=Math[_0x39da3f(0x204)](_0x1580f3,_0x321956/0x2,_0x482114/0x2),_0x580c7f[_0x39da3f(0x280)](),_0x580c7f['moveTo'](_0x224550,0x0),_0x580c7f['lineTo'](_0x321956-_0x2e6367,0x0),_0x580c7f[_0x39da3f(0x21d)](_0x321956-_0x2e6367,_0x2e6367,_0x2e6367,Math['PI']*0x3/0x2,0x0,!0x1),_0x580c7f['lineTo'](_0x321956,_0x482114-_0x1f2672),_0x580c7f[_0x39da3f(0x21d)](_0x321956-_0x1f2672,_0x482114-_0x1f2672,_0x1f2672,0x0,Math['PI']/0x2,!0x1),_0x580c7f[_0x39da3f(0x22f)](0x0,_0x482114),_0x580c7f[_0x39da3f(0x22f)](0x0,_0x224550),_0x580c7f[_0x39da3f(0x21d)](_0x224550,_0x224550,_0x224550,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x580c7f[_0x39da3f(0x326)](),_0x5c4b29[_0x39da3f(0x299)]&&(_0x580c7f[_0x39da3f(0x2a2)](),_0x580c7f[_0x39da3f(0x36f)]=_0x5c4b29['fill'],_0x5c4b29['fillRule']==='evenodd'?_0x580c7f[_0x39da3f(0x299)](_0x39da3f(0x26a)):_0x580c7f[_0x39da3f(0x299)](),_0x580c7f[_0x39da3f(0x232)]());}class he extends _0x47b695{constructor(_0x21b798,_0x59866c){const _0x5b9a0f=_0x331f18;super(_0x21b798,_0x59866c),_(this,'color'),_(this,_0x5b9a0f(0x1f3)),(this[_0x5b9a0f(0x1e3)]=_0x59866c==null?void 0x0:_0x59866c[_0x5b9a0f(0x1e3)],this[_0x5b9a0f(0x1f3)]=_0x59866c==null?void 0x0:_0x59866c[_0x5b9a0f(0x1f3)]);}static[_0x331f18(0x21a)](_0x462c20,_0x2d85b5){const _0x2c7002=_0x331f18,{text:_0x7f41,color:_0x10a36b}=_0x2d85b5;_0x462c20[_0x2c7002(0x2a2)](),_0x462c20[_0x2c7002(0x262)]=_0x2c7002(0x2e9);const _0x47dfe8=_0x462c20[_0x2c7002(0x218)](_0x7f41)[_0x2c7002(0x2e3)],_0x5015cd=Math['min'](_0x47dfe8+0x2*me,Qe);Oi(_0x462c20,{'height':ee,'radius':0x4,'width':_0x5015cd,'fill':_0x10a36b}),_0x462c20[_0x2c7002(0x36f)]=_0x2c7002(0x215);const _0x375850=me,_0x257680=ee-Ei,_0x464d12=Qe-0x2*me;if(_0x47dfe8>_0x464d12){let _0x40dc4b='',_0x1f10ac=0x0;for(const _0x5ced77 of _0x7f41){const _0x3193c8=_0x462c20[_0x2c7002(0x218)](_0x5ced77)[_0x2c7002(0x2e3)];if(_0x1f10ac+_0x3193c8<=_0x464d12-_0x462c20[_0x2c7002(0x218)](_0x2c7002(0x25a))['width'])_0x40dc4b+=_0x5ced77,_0x1f10ac+=_0x3193c8;else{_0x40dc4b+=_0x2c7002(0x25a);break;}}_0x462c20['fillText'](_0x40dc4b,_0x375850,_0x257680);}else _0x462c20[_0x2c7002(0x25c)](_0x7f41,_0x375850,_0x257680);_0x462c20[_0x2c7002(0x232)]();}[_0x331f18(0x1d3)](_0x3a40cf){he['drawWith'](_0x3a40cf,this);}}const ge='collab-text-anchor-',bi='collab-text-range-',Ti=_0x331f18(0x1f4),X=0x6,Ri=1.5,Ie=0x4,Di=1.5,Ni=_0x331f18(0x217);class qe{constructor(_0xec8d3,_0x12e607,_0x7fbe54,_0x2c8340){const _0x3f1d5a=_0x331f18;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,_0x3f1d5a(0x253),null),_(this,_0x3f1d5a(0x1fb),null),_(this,_0x3f1d5a(0x251),null),_(this,_0x3f1d5a(0x216),null),(this[_0x3f1d5a(0x320)]=_0xec8d3,this[_0x3f1d5a(0x26c)]=_0x12e607,this['_docSkeleton']=_0x7fbe54,this[_0x3f1d5a(0x22d)]=_0x2c8340,this[_0x3f1d5a(0x2f8)]());}set[_0x331f18(0x3a3)](_0x33216f){const _0x3280ea=_0x331f18;_0x33216f?(this['_anchorDot']&&this[_0x3280ea(0x1fb)][_0x3280ea(0x22b)](),this[_0x3280ea(0x253)]&&this[_0x3280ea(0x253)][_0x3280ea(0x2ec)]()):(this[_0x3280ea(0x1fb)]&&this[_0x3280ea(0x1fb)][_0x3280ea(0x2ec)](),this['_textBubble']&&this[_0x3280ea(0x253)][_0x3280ea(0x22b)]());}[_0x331f18(0x1fe)](){const _0x1adc59=_0x331f18;for(const _0x5a8b1b of this['_shapes'])_0x5a8b1b[_0x1adc59(0x1fe)]();this['_textBubble']&&this[_0x1adc59(0x253)][_0x1adc59(0x1fe)](),this[_0x1adc59(0x1fb)]&&this[_0x1adc59(0x1fb)][_0x1adc59(0x1fe)](),this[_0x1adc59(0x34c)]&&this['_anchor'][_0x1adc59(0x1fe)](),this[_0x1adc59(0x216)]&&this[_0x1adc59(0x216)]();}[_0x331f18(0x2f8)](){const _0x378d7c=_0x331f18;var _0x35d356;const {_docSkeleton:_0x34946f,_document:_0x5ab166}=this,{color:_0x1a2407,name:_0x1854f4,ranges:_0x452955}=this[_0x378d7c(0x320)],_0x333587=_0x5ab166['getOffsetConfig'](),{docsLeft:_0x55c246,docsTop:_0xd4fd80}=_0x333587,_0x1fd655=new _0x56d029(_0x333587,_0x34946f);for(const {startOffset:_0x104829,endOffset:_0x5cb67a,rangeType:_0x3e9836,segmentId:_0x1bacb5,segmentPage:_0x466737,collapsed:_0x4400bf,isActive:_0x26c6ef}of _0x452955){const _0x1cbcee=_0x34946f['findNodePositionByCharIndex'](_0x104829,!0x0,_0x1bacb5,_0x466737);let _0x203297=_0x34946f[_0x378d7c(0x372)](_0x5cb67a,!0x0,_0x1bacb5,_0x466737);if(_0x203297==null&&(_0x203297=_0x34946f[_0x378d7c(0x372)](_0x5cb67a-0x1,!0x1,_0x1bacb5,_0x466737)),_0x26c6ef){const {contentBoxPointGroup:_0x3afff1}=_0x1fd655[_0x378d7c(0x1ea)](_0x203297,_0x203297);if(_0x3afff1['length']===0x0)continue;this[_0x378d7c(0x1d5)](_0x1a2407,_0x3afff1,_0x55c246,_0xd4fd80,_0x1854f4),this[_0x378d7c(0x216)]=this[_0x378d7c(0x1be)]();}if(_0x1cbcee&&_0x203297){if(_0x3e9836===_0x21e73b['RECT']){const _0x413c8c=new _0xf0a6d9(_0x333587,_0x34946f),{pointGroup:_0x15096a}=(_0x35d356=_0x413c8c[_0x378d7c(0x1ea)](_0x1cbcee,_0x203297))!=null?_0x35d356:{};if(_0x15096a==null||_0x15096a[_0x378d7c(0x203)]===0x0)continue;this['_drawRectRange'](_0x1a2407,_0x15096a,_0x55c246,_0xd4fd80);}else{if(!_0x4400bf){const {borderBoxPointGroup:_0x24cd7c}=_0x1fd655[_0x378d7c(0x1ea)](_0x1cbcee,_0x203297);if(_0x24cd7c['length']===0x0)continue;this[_0x378d7c(0x29e)](_0x1a2407,_0x24cd7c,_0x55c246,_0xd4fd80);}}}}}[_0x331f18(0x1d5)](_0x2822d2,_0x3a7dec,_0x2b5d2c,_0x46704e,_0x120f96){const _0x5dc7d0=_0x331f18,_0x577c2b=this[_0x5dc7d0(0x1c1)](_0x3a7dec),{left:_0x5c1e40,top:_0x2be0c3,height:_0x53cfa8}=_0x577c2b,_0x485864=this[_0x5dc7d0(0x346)](),_0x2a675c=Di/_0x485864,_0x4cb0da=new _0x4a67f8(ge+_0x36f5f4[_0x5dc7d0(0x250)](X),{'left':_0x5c1e40+_0x2b5d2c-_0x2a675c,'top':_0x2be0c3+_0x46704e,'height':_0x53cfa8,'width':Ri,'fill':_0x2822d2||_0x5571f1(_0x44fe91[_0x5dc7d0(0x2bc)],0x0),'strokeWidth':_0x2a675c,'stroke':Ni,'evented':!0x0});this[_0x5dc7d0(0x34c)]=_0x4cb0da,this[_0x5dc7d0(0x26c)][_0x5dc7d0(0x236)](_0x4cb0da,_0x4e8051);const _0x53646c=new _0x4a67f8(ge+_0x36f5f4[_0x5dc7d0(0x250)](X),{'left':_0x5c1e40+_0x2b5d2c-_0x2a675c,'top':_0x2be0c3+_0x46704e-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x2822d2||_0x5571f1(_0x44fe91[_0x5dc7d0(0x2bc)],0x0),'strokeWidth':0x0,'stroke':_0x2822d2||_0x5571f1(_0x44fe91[_0x5dc7d0(0x2bc)],0x0),'evented':!0x1});this[_0x5dc7d0(0x1fb)]=_0x53646c,this[_0x5dc7d0(0x26c)][_0x5dc7d0(0x236)](_0x53646c,_0x4e8051);const _0x299809=new he(ge+_0x36f5f4[_0x5dc7d0(0x250)](X),{'left':_0x5c1e40+_0x2b5d2c-_0x2a675c,'top':_0x2be0c3+_0x46704e-ee,'text':_0x120f96,'color':_0x2822d2});this[_0x5dc7d0(0x253)]=_0x299809,this[_0x5dc7d0(0x26c)][_0x5dc7d0(0x236)](_0x299809,_0x4e8051),this[_0x5dc7d0(0x3a3)]=!0x1;}[_0x331f18(0x1be)](){const _0x365c00=_0x331f18,_0xf14071=this['_anchor'][_0x365c00(0x2b1)][_0x365c00(0x27a)](()=>{this['_hover']=!0x0;}),_0xb97734=this[_0x365c00(0x34c)][_0x365c00(0x2d2)][_0x365c00(0x27a)](()=>{const _0x7552b2=_0x365c00;this['_hideTimer']&&clearTimeout(this[_0x7552b2(0x251)]),this[_0x7552b2(0x251)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x42b0ff=_0x365c00;_0xf14071['unsubscribe'](),_0xb97734[_0x42b0ff(0x275)]();};}[_0x331f18(0x29e)](_0xf82926,_0x895c17,_0x5ca812,_0x6b1078){const _0x4bffe5=_0x331f18,_0x22d1f1=new _0x425e1e(_0xf82926)['setAlpha'](0.2)['toRgbString'](),_0x241267=new _0x482429(bi+_0x36f5f4[_0x4bffe5(0x250)](X),{'pointsGroup':_0x895c17,'fill':_0x22d1f1||_0x5571f1(_0x44fe91[_0x4bffe5(0x2bc)],0.2),'left':_0x5ca812,'top':_0x6b1078,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4bffe5(0x23c)](_0x241267),this['_scene'][_0x4bffe5(0x236)](_0x241267,_0x4e8051);}[_0x331f18(0x1de)](_0x302af4,_0x540448,_0x1f331f,_0x3bb0a0){const _0xf23db1=_0x331f18,_0x2b703d=new _0x425e1e(_0x302af4)['setAlpha'](0.2)[_0xf23db1(0x375)](),_0x56f646=new _0x482429(Ti+_0x36f5f4['generateRandomId'](X),{'pointsGroup':_0x540448,'fill':_0x2b703d||_0x5571f1(_0x44fe91[_0xf23db1(0x2bc)],0.2),'left':_0x1f331f,'top':_0x3bb0a0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xf23db1(0x3af)][_0xf23db1(0x23c)](_0x56f646),this[_0xf23db1(0x26c)][_0xf23db1(0x236)](_0x56f646,_0x4e8051);}[_0x331f18(0x1c1)](_0x1d50c3){const _0x57d71b=_0x1d50c3[0x0],_0x288a69=_0x57d71b[0x0],_0x1fb8d8=_0x57d71b[0x2],{x:_0xe12b81,y:_0x445a1a}=_0x288a69,{x:_0x3abcb2,y:_0x1a843d}=_0x1fb8d8;return{'left':_0xe12b81,'top':_0x445a1a,'width':_0x3abcb2-_0xe12b81,'height':_0x1a843d-_0x445a1a};}['_getScale'](){const _0x1d755b=_0x331f18,{scaleX:_0x37eb3e,scaleY:_0x29eaea}=this['_scene'][_0x1d755b(0x2c6)]();return Math[_0x1d755b(0x30f)](_0x37eb3e,_0x29eaea);}}var Ui=Object[_0x331f18(0x26f)],Mi=(_0x5ddaaf,_0x8e16a2,_0x21c47e,_0x2945fe)=>{const _0x2d7c56=_0x331f18;for(var _0x5f1fd2=_0x2945fe>0x1?void 0x0:_0x2945fe?Ui(_0x8e16a2,_0x21c47e):_0x8e16a2,_0x198614=_0x5ddaaf[_0x2d7c56(0x203)]-0x1,_0x2675cf;_0x198614>=0x0;_0x198614--)(_0x2675cf=_0x5ddaaf[_0x198614])&&(_0x5f1fd2=_0x2675cf(_0x5f1fd2)||_0x5f1fd2);return _0x5f1fd2;},Z=(_0x5b9d00,_0xeb6c96)=>(_0x5438c3,_0x4359a1)=>_0xeb6c96(_0x5438c3,_0x4359a1,_0x5b9d00);let Pe=class extends _0x580921{constructor(_0x3b3e2d,_0x206257,_0x6ffa81,_0x5a8146,_0xb5f368){const _0xc886dd=_0x331f18;super(),_(this,_0xc886dd(0x385),[]),_(this,_0xc886dd(0x2b3),[]),(this[_0xc886dd(0x2db)]=_0x3b3e2d,this[_0xc886dd(0x2d8)]=_0x206257,this['_collabCursorController']=_0x6ffa81,this[_0xc886dd(0x378)]=_0x5a8146,this['_themeService']=_0xb5f368,this[_0xc886dd(0x39a)]());}[_0x331f18(0x39a)](){const _0x37e2ae=_0x331f18,_0x3d847f=this['_context'][_0x37e2ae(0x21b)],_0x217c85=this['_docSkeletonManagerService'];this[_0x37e2ae(0x2ee)](_0x5cd157([this[_0x37e2ae(0x2d9)][_0x37e2ae(0x341)](_0x3d847f),this['_themeService'][_0x37e2ae(0x35d)]])['pipe'](_0x436a37(([_0x315fde,_0x45d713])=>({'skeleton':_0x217c85['getSkeleton'](),'cursors':[..._0x315fde['values']()]['flatMap'](_0x109a6a=>({..._0x109a6a,'color':this[_0x37e2ae(0x24c)][_0x37e2ae(0x1e6)](_0x109a6a[_0x37e2ae(0x1e3)])}))})))[_0x37e2ae(0x1ed)](_0x5cf54a=>{const _0x475e42=_0x37e2ae;if(this[_0x475e42(0x356)](),_0x5cf54a){const {skeleton:_0x3ea227,cursors:_0x35ed01}=_0x5cf54a;this[_0x475e42(0x2a4)](_0x3ea227,_0x35ed01);}})),this[_0x37e2ae(0x297)](),this['_initCommandExecutedListener']();}[_0x331f18(0x2a4)](_0x3d4a77,_0x3836fc){const _0xbe1bb=_0x331f18,{scene:_0x3d68ec,mainComponent:_0x16aa69}=this[_0xbe1bb(0x2db)],_0xc95526=_0x3836fc[_0xbe1bb(0x1eb)](_0x350039=>new qe(_0x350039,_0x3d68ec,_0x3d4a77,_0x16aa69));this['_cursorShapes']=_0xc95526,this[_0xbe1bb(0x2b3)]=_0x3836fc;}[_0x331f18(0x3b9)](){const _0x17f1b5=_0x331f18;this['_removeCollabCursors']();const {scene:_0x20c42a,mainComponent:_0x2d64eb}=this[_0x17f1b5(0x2db)],_0x52ca4f=this[_0x17f1b5(0x2d8)][_0x17f1b5(0x296)](),_0x43ca77=this[_0x17f1b5(0x2b3)][_0x17f1b5(0x1eb)](_0xa55225=>new qe(_0xa55225,_0x20c42a,_0x52ca4f,_0x2d64eb));this[_0x17f1b5(0x385)]=_0x43ca77;}['_removeCollabCursors'](){const _0x6439c2=_0x331f18;this[_0x6439c2(0x385)][_0x6439c2(0x1ef)](_0x1ca1d2=>_0x1ca1d2[_0x6439c2(0x1fe)]()),this[_0x6439c2(0x385)]=[];}[_0x331f18(0x2bf)](){const _0x125851=_0x331f18,_0x2d3d77=[_0x228418['id']];this[_0x125851(0x2ee)](this[_0x125851(0x378)][_0x125851(0x2a7)](_0x17a505=>{const _0x453d96=_0x125851;_0x2d3d77[_0x453d96(0x3b1)](_0x17a505['id'])&&_0x17a505[_0x453d96(0x395)]['unitId']===this[_0x453d96(0x2db)][_0x453d96(0x21b)]&&this[_0x453d96(0x3b9)]();}));}['_initResize'](){const _0x5de04a=_0x331f18;this[_0x5de04a(0x2ee)](_0x14c4c7(this['_context'][_0x5de04a(0x1d0)]['onTransformChange$'])[_0x5de04a(0x303)](_0x8d18a5(_0x35ca8f=>_0x35ca8f[_0x5de04a(0x337)]===_0x45fd01[_0x5de04a(0x24a)]),_0x1fca42(0x10))[_0x5de04a(0x1ed)](()=>{const _0xa260a1=_0x5de04a;this[_0xa260a1(0x3b9)]();}));}};Pe=Mi([Z(0x1,_0x4d7f15(_0x2c6235)),Z(0x2,_0x4d7f15(H)),Z(0x3,_0x52aaba),Z(0x4,_0x4d7f15(_0x5a9426))],Pe);function _0x3b8e(){const _0x1f6769=['setParam','setActiveRange','onMouseMove','227590JZVxgN','set','onPointerEnter$','getCurrentUnitForType','_cursors','_initDependencies','_beforeCloseService','transformStateCache','roomMembers$','YUUMI_SUBSCRIPTION_NOT_FOUND','InsertRangeMoveRightCommandId','_hovered','status$','black','attrs','COMPLETION_FINISHED','_initCommandExecutedListener','_sheetSkeletonManagerService','APPLY_PERMISSION_DENIED','href','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','SNAPSHOT_HAS_BEEN_REMOVED','className','getAncestorScale','INVALID_ARGUMENT','HEADER_MENU','code','_collabCursorState$','apply','on-line-single','eventID','_startSheetCollabCursor','red.300','actions','pushState','onPointerLeave$','1em','location','APPLY_NON_SEQUENTIAL_REVISION','setStateCache','_refRangeService','_docSkeletonManagerService','_collabCursorController','getTypeOfUnitDisposed$','_context','[CollaborationDataLoaderController]','get','_initEntityListener','_memberService','colorChannel1','pluginName','_docStateChangeManagerService','width','UNRECOGNIZED','_updateURLWithCurrentState','_collaborationUIEventService','trim','body','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','searchParams','textRanges','show','height','disposeWithMe','range','newValue','_localStorageService','next','getSheetBySheetId','endColumn','subunit','override','_colorIndex','_render','translate(.97)','m2Prime','asObservable','setUndoRedoMutationParamsCache','_getSheetObject','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','assignAColorForMemberID','0\x200\x2016\x2016','getConfig','transformMutationsWithChangeset','pipe','0\x200\x2017\x2016','none','univer-flex\x20univer-items-center','all','_messageService','clearInterval','InsertRowCommandId','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','786415qmmJSE','_config','_send','max','RemoveRowCommandId','undoState','_urlService','concat','runId','_onCursorUpdate','_initStatusListener','getVpScrollXYInfoByPosToVp','ticket','add','_docClipboardService','subUnitId','_name','collaboration.single-unit.warning','mutations','transform','_cursor','getRenderById','makeDirty','YUUMI_AI_RUN_FAILED','1WMKloo','[RemoteUniscriptService]:\x20no\x20focused\x20unit','closePath','urlChange$','_revisionService','_session','yellow.400','_removeClearOtherTimer','ACTIVE_UNIT_EVENT_CHANNEL','memberID','getSheetId','_initStatusComponent','getValue','exhaustSavingTask','registerComponent','INTERNAL_ERROR','_online','_localeService','currentSkeleton$','type','_setupSubUnitSync','_updateLocalCursor','call','collab-client.tooltip.reconnect','replace','idSuffix','bottom','FromArray','roomMembers','getCollabCursors$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','popstate','createInstance','_collabSessionService','_getScale','_selfUnitIDs','getDocRanges','_transformPreviousActiveRange','url(#on-line-single_clip0_910_349)','_onCursorDelete','_anchor','path','isActive','_backgroundColor','unitID','function','_unitStatus','YUUMI_UNABLE_LOAD_URL','_imageIoService','getCellPositionByOffset','_removeCollabCursors','_docTransformSelectionsService','LICENSE_EXPORT_SIZE_EXCEEDED','collaboration.closeRoom','SYNCED','data','dispose$','currentTheme$','top','CONFLICT','OTHER_CLIENT_EDITING','103330XaNIrX','removeParam','_injector','collabStatus.notCollab','InsertColCommandId','collabStatus.syncing','registerRefRange','_httpService','getMemberID','PERMISSION_DENIED','startsWith','_initEvent','children','assign','fillStyle','MOBILE_HAS_BEEN_BOUND','Failed','findNodePositionByCharIndex','CHANGESET_REVISION_CONFILICT','_updateSubUnitFromURLParams','toRgbString','_unitOnClients','collaboration-client-ui.config','_commandService','UNAUTHENTICATED','_handleJoinEvent','search','_status$','prototype','collabCursorState$','storage','USERS_LEAVE','xlink:href','_collaborationController','sessionTicket','UniverIcon','_cursorShapes','_getSaveTimeout','substring','extend','disableLocalCache','transformMutation','from','imageSourceType','addEventListener','transformIMECache','onLocalMutation','27892EVkKOv','event$','/run/','_notificationService','replaceDocRanges','params','registerRenderModule','uni.network.url-service','_onRefRangeChange','INVITE_CODE_ALREADY_BOUND','_init','svg','APPLY_DUPLICATED','_cursorInfo$','6ZYZSJl','session.collaboration-timeout','disposeUnit','_toggleOffline','_ensureSubject','_hover','_syncEditingCollabCursorService','UNIVER_SHEET','DeleteRangeMoveUpCommandId','OFFLINE','_instanceService','defs','transformByState','requireSession','startColumn','_assignedColors','cursorInfo$','_shapes','_handleEvent','includes','collabStatus.conflict','hovered','_id','SOCKET_FAILED_RETRY','_cachedData','_startDocCollabCursor','syncEditingCollabCursor','_refreshCollabCursors','name','green.600','APPLY_REVISION_CONFILICT','_entityInit$','addObjects','51owvQRY','_handleHover','_roomMembers$','LICENSE_DISTRO_REJECTED','_getAnchorBounding','addHandlerCallback','_heartbeatTimer','indexOf','has','_scheduleClearOtherTimer','off-line-single_clip0_910_343','values','editingUnit','ONLINE','labelPosition','#fff','defIds','_getSessionTicket','_docTransformIMECacheService','engine','getItem','NOT_COLLAB','_draw','70XcIfRi','_drawAnchor','univer-flex\x20univer-mr-2\x20univer-text-xl','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Unknown\x20user','selection','_color','selections','YUUMI_URL_COL_OUT_OF_RANGE','getStateCache','_drawRectRange','isArray','_lastPointer','stringify','getMergeData','color','SUBMIT_CHANGESET_TIMEOUT','application/json','getColorFromTheme','mask','getFocusedUnit','_handleHeartbeatEvent','getRangePointData','map','1038661wcHxNW','subscribe','hasOwnProperty','forEach','12vVNHBA','string','_docTransformStateCacheService','text','collab-rect-range-','NO_OTHER_CLIENTS_EDITING','size','round','doc.mutation.rich-text-editing','_getMergeRange','_toggleOnline','_anchorDot','m1Prime','getMember','dispose','current','_range','getOwnPropertySymbols','purple.300','length','min','unit','onRendered','setTimeout','endRow','OnLineSingle','setItem','USER_NOT_INVITED_CODE','deepClone','NOT_FOUND','on-line-single_clip0_910_349','getActiveSheet','symbol','EMAIL_HAS_BEEN_BOUND','_createSocketURL','OffLineSingle','ALREADY_EXISTS','#FFF','_eventUnsubscribe','rgba(255,\x20255,\x20255,\x200.01)','measureText','off-line-single','drawWith','unitId','icon','arc','sessionStatus$','session.connection-failed','_disabled','getParam','row','defineProperty','_transformHistoryAndStateStack','_transformUndoRedoStack','YUUMI_RATE_OVER_LIMIT','collabStatus.fetchMiss','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','with','getActiveRange','hide','OTHER_CLIENTS_EDITING','_document','whenReady','lineTo','_scheduleHeartbeat','_saveTaskMap','restore','279neBfHU','_colorAssignService','TOO_MANY_REQUESTS','addObject','column','div','registerBeforeClose','_univerInstanceService','collabStatus.synced','push','_uiPartsService','_renderManagerService','toString','saveTaskMap','_setupBeforeClosingHandler','collaboration-client.offline-data-not-saved','then','transformRemoteChangeset','InsertRangeMoveDownCommandId','getUndoRedoMutationParamsCache','SNAPSHOT_INVALID_SNAPSHOT','UPDATE_CURSOR','history','resize','JOIN_ROOM_FAILED','_themeService','url(#off-line-single_clip0_910_343)','use','getUnitId','generateRandomId','_hideTimer','getCurrentRevOfUnit','_textBubble','sheetID','post','LICENSE_MAX_UNITS_EXCEEDED','result','LICENSE_IMPORT_SIZE_EXCEEDED','_doCreateSocket','...','tag','fillText','YUUMI_NO_CUBOID_FOR_QUESTION','split','LOGIN_FAILED','origin','WECHAT_HAS_BEEN_BOUND','font','PY_RUNTIME_SCRIPT_ERROR','clipPath','delete','_handleLeaveEvent','setShapeProps','skeleton','loadUnit','evenodd','897915HcojVa','_scene','cursorInfo','executeCommand','getOwnPropertyDescriptor','UNDEFINED','YUUMI_ASYNCIO_CANCELLED','_entities','ranges','focused$','unsubscribe','INVALID_INVITE_CODE','_docSyncEditingCollabCursorService','debug','entries','subscribeEvent','getUnitStatus$','CONNECTOR_DATA_TOO_LARGE','complete','univerjs-icon\x20univerjs-icon-','error','beginPath','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_scheduleSaving','_logService','ENSURE_SNAPSHOT_EXECUTION','unshift','_transformService','_saveCache','_localCacheService','send','getTypeOfUnitAdded$','Warning','replaceState','M0\x200H16V16H0z','key','INVITE_CODE_REQUIRED','loadOfflineData','url(#$1','find','redoState','onPointerMove$','collabStatus.offline','getSkeleton','_initResize','addClipboardHook','fill','UNIVER_DOC','Error','getUniverSheetInstance','31112TBAqPA','_drawTextRange','_labelPosition','_configService','clearTimeout','save','APPLY_REJECT','_updateCollabCursors','RECT','parse','onCommandExecuted','DeleteRangeMoveLeftCommandId','_registerRenderDependencies','_clearOtherTimers','displayName'];_0x3b8e=function(){return _0x1f6769;};return _0x3b8e();}const Pi=0x1,Li=1.5;class wi extends _0x47b695{constructor(_0x3300a1,_0x144ab1){const _0x12c737=_0x331f18;super(_0x3300a1,_0x144ab1),_(this,_0x12c737(0x1da)),_(this,_0x12c737(0x2ba),!0x1),_(this,_0x12c737(0x200)),_(this,'_name',''),_(this,'_labelPosition',_0x12c737(0x35e)),_(this,_0x12c737(0x34f)),(_0x144ab1&&this[_0x12c737(0x267)](_0x144ab1),this[_0x12c737(0x2b1)][_0x12c737(0x27a)](()=>this[_0x12c737(0x267)]({'hovered':!0x0})),this['onPointerLeave$'][_0x12c737(0x27a)](()=>this[_0x12c737(0x267)]({'hovered':!0x1})));}['setShapeProps'](_0x2bd598){const _0x3d1c81=_0x331f18;var _0x1761fe,_0x5414f0,_0x501441,_0x4e6aae,_0x242b91,_0x571a9a;this[_0x3d1c81(0x1da)]=(_0x1761fe=_0x2bd598[_0x3d1c81(0x1e3)])!=null?_0x1761fe:this[_0x3d1c81(0x1da)],this['_hovered']=(_0x5414f0=_0x2bd598[_0x3d1c81(0x3b3)])!=null?_0x5414f0:this[_0x3d1c81(0x2ba)],this[_0x3d1c81(0x200)]=(_0x501441=_0x2bd598['range'])!=null?_0x501441:this['_range'],this[_0x3d1c81(0x31c)]=(_0x4e6aae=_0x2bd598[_0x3d1c81(0x3ba)])!=null?_0x4e6aae:this[_0x3d1c81(0x31c)],this[_0x3d1c81(0x29f)]=(_0x242b91=_0x2bd598[_0x3d1c81(0x1cb)])!=null?_0x242b91:this[_0x3d1c81(0x29f)],this[_0x3d1c81(0x34f)]=(_0x571a9a=_0x2bd598['backgroundColor'])!=null?_0x571a9a:this['_backgroundColor'],this[_0x3d1c81(0x3aa)]({'width':_0x2bd598[_0x3d1c81(0x2e3)],'height':_0x2bd598[_0x3d1c81(0x2ed)]});}[_0x331f18(0x2ae)](_0x3a1fe8){const _0x18a4a6=_0x331f18,{row:_0x1cd24,column:_0x3a1d0b}=_0x3a1fe8;if(_0x1cd24>=this[_0x18a4a6(0x200)]['startRow']&&_0x1cd24<=this[_0x18a4a6(0x200)][_0x18a4a6(0x208)]&&_0x3a1d0b>=this[_0x18a4a6(0x200)][_0x18a4a6(0x3ac)]&&_0x3a1d0b<=this['_range'][_0x18a4a6(0x2f4)]){this[_0x18a4a6(0x267)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x3be509){return!0x1;}[_0x331f18(0x1d3)](_0xc1df66){const _0x1f6add=_0x331f18;_0x4a67f8[_0x1f6add(0x21a)](_0xc1df66,{'width':this[_0x1f6add(0x2e3)],'height':this['height'],'strokeWidth':Li,'stroke':this[_0x1f6add(0x1da)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x1f6add(0x2ba)]&&(_0xc1df66[_0x1f6add(0x2a2)](),_0xc1df66[_0x1f6add(0x31f)](0x1,0x0,0x0,0x1,this[_0x1f6add(0x2e3)],this['_labelPosition']==='bottom'?0x0:-0x14),he[_0x1f6add(0x21a)](_0xc1df66,{'text':this[_0x1f6add(0x31c)],'color':this['_color']}),_0xc1df66[_0x1f6add(0x232)]());}}var Ai=Object[_0x331f18(0x26f)],yi=(_0x538ccd,_0x56a4de,_0x31d10b,_0x300b60)=>{const _0x1ec4d6=_0x331f18;for(var _0x5e21a6=_0x300b60>0x1?void 0x0:_0x300b60?Ai(_0x56a4de,_0x31d10b):_0x56a4de,_0x2ea2cf=_0x538ccd[_0x1ec4d6(0x203)]-0x1,_0x2040b9;_0x2ea2cf>=0x0;_0x2ea2cf--)(_0x2040b9=_0x538ccd[_0x2ea2cf])&&(_0x5e21a6=_0x2040b9(_0x5e21a6)||_0x5e21a6);return _0x5e21a6;},ve=(_0x177d34,_0x57859c)=>(_0x3a3d11,_0x339c5c)=>_0x57859c(_0x3a3d11,_0x339c5c,_0x177d34);const $i=0x1389;let Le=class extends _0x580921{constructor(_0xae6965,_0x1a1a22,_0x20c72b,_0x2b8194){const _0x2c3315=_0x331f18;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this['_context']=_0xae6965,this[_0x2c3315(0x2c0)]=_0x1a1a22,this[_0x2c3315(0x2d9)]=_0x20c72b,this['_themeService']=_0x2b8194,this[_0x2c3315(0x39a)]());}[_0x331f18(0x39a)](){const _0x4b54db=_0x331f18;this[_0x4b54db(0x2c0)][_0x4b54db(0x336)][_0x4b54db(0x303)](_0x5bf7d3(this['dispose$']),_0x28cc9b(_0x3cc3e6=>{const _0x22d4e5=_0x4b54db;if(_0x3cc3e6){const _0x13d747=_0x3cc3e6['sheetId'];return _0x5cd157(this[_0x22d4e5(0x2d9)]['getCollabCursors$'](this[_0x22d4e5(0x2db)][_0x22d4e5(0x21b)]),this['_themeService'][_0x22d4e5(0x35d)])[_0x22d4e5(0x303)](_0x436a37(([_0x3c895a,_0x14c633])=>{const _0x41321b=_0x22d4e5,_0x4ab22f=new Map();return _0x3c895a[_0x41321b(0x1ef)]((_0x74201d,_0x2f4459)=>{const _0x2aa392=_0x41321b;if(_0x74201d[_0x2aa392(0x254)]===_0x13d747){const _0x5d3ff6={..._0x74201d};_0x5d3ff6['color']=this[_0x2aa392(0x24c)][_0x2aa392(0x1e6)](_0x74201d[_0x2aa392(0x1e3)]),_0x4ab22f['set'](_0x2f4459,_0x5d3ff6);}}),{'skeleton':_0x3cc3e6,'cursors':_0x4ab22f};}));}return _0x582b9f({'skeleton':null,'cursors':new Map()});}))[_0x4b54db(0x1ed)](({skeleton:_0x51d816,cursors:_0x434ab9})=>{const _0x337f79=_0x4b54db;this[_0x337f79(0x356)](),_0x51d816&&this[_0x337f79(0x2a4)](_0x51d816,_0x434ab9);}),this[_0x4b54db(0x2c0)][_0x4b54db(0x336)][_0x4b54db(0x1ed)](_0x50eca0=>{const _0x5d9285=_0x4b54db;if(_0x50eca0==null)return;const {skeleton:_0x177bd9}=_0x50eca0,{scene:_0x108089}=this[_0x5d9285(0x2db)];_0x108089[_0x5d9285(0x294)][_0x5d9285(0x27a)](_0x36bab2(_0x29f2c7=>{const _0x459e16=_0x5d9285;var _0x392b4a,_0x1e24ec;const {offsetX:_0x1ad1cd,offsetY:_0x1a81a5}=_0x29f2c7,{x:_0x6c2ce2,y:_0xbb194d}=_0x108089['getRelativeToViewportCoord'](_0x430260[_0x459e16(0x33f)]([_0x1ad1cd,_0x1a81a5])),{scaleX:_0x492599,scaleY:_0x2ee20d}=_0x108089['getAncestorScale'](),_0x2baadf=_0x108089['getViewport'](_0x1bf9e0['VIEW_MAIN']),_0x13200e=_0x108089[_0x459e16(0x317)](_0x430260[_0x459e16(0x33f)]([_0x6c2ce2,_0xbb194d]),_0x2baadf),_0x31f26c=_0x177bd9[_0x459e16(0x355)](_0x1ad1cd,_0x1a81a5,_0x492599,_0x2ee20d,_0x13200e);((_0x392b4a=this[_0x459e16(0x1e0)])==null?void 0x0:_0x392b4a[_0x459e16(0x237)])===_0x31f26c[_0x459e16(0x237)]&&((_0x1e24ec=this[_0x459e16(0x1e0)])==null?void 0x0:_0x1e24ec['row'])===_0x31f26c[_0x459e16(0x222)]||this[_0x459e16(0x2b3)]['forEach'](_0x2c880c=>{const _0xc87f4b=_0x459e16;_0x2c880c[_0xc87f4b(0x2ae)](_0x31f26c);});},0x64));});}[_0x331f18(0x2a4)](_0x343bf3,_0xae5cde){const _0x3f1618=_0x331f18;var _0x1318d9;const _0x233b30=(_0x1318d9=this[_0x3f1618(0x2c0)]['getCurrent']())==null?void 0x0:_0x1318d9[_0x3f1618(0x268)];if(!_0x233b30)return;const _0x9216c0=this[_0x3f1618(0x2fd)]();if(!_0x9216c0)return;this[_0x3f1618(0x2b3)][_0x3f1618(0x1ef)](_0x50e5be=>{const _0x855e5c=_0x3f1618;_0x50e5be[_0x855e5c(0x322)]();});const {scene:_0x2f4541}=_0x9216c0,_0x5e75bb=xi(Array[_0x3f1618(0x38b)](_0xae5cde[_0x3f1618(0x1c8)]()))['map'](_0x314da7=>{const _0x444746=_0x3f1618,{color:_0x2c5fb3,range:_0x5010d2,name:_0x3fbdcf,selection:_0x238afb,sheetID:_0x5abb78}=_0x314da7,{startColumn:_0x3d4e3d,startRow:_0x170c41,endColumn:_0x584c24,endRow:_0x11d2e6}=_0x5010d2,_0x3589a7=_0x49fb4d(_0x170c41,_0x3d4e3d,_0x2f4541,_0x233b30),_0x4618cb=_0x49fb4d(_0x11d2e6,_0x584c24,_0x2f4541,_0x233b30),{columnHeaderHeightAndMarginTop:_0x4f5a15}=_0x233b30,{startX:_0x4430b9,startY:_0x4f1b2f}=_0x3589a7,{endX:_0x1b616f,endY:_0x2fb593}=_0x4618cb,_0x5cb277=_0x1b616f-_0x4430b9,_0x55f26a=_0x2fb593-_0x4f1b2f,_0x3c16a8={'labelPosition':_0x4f1b2f-_0x4f5a15>=ee?_0x444746(0x35e):_0x444746(0x33e),'sheetID':_0x5abb78,'range':_0x5010d2,'color':_0x2c5fb3,'name':_0x3fbdcf,'selection':_0x238afb,'left':_0x4430b9,'top':_0x4f1b2f,'width':_0x5cb277,'height':_0x55f26a,'evented':!0x1,'zIndex':$i};return new wi(_0x3fbdcf,_0x3c16a8);});_0x2f4541[_0x3f1618(0x1bc)](_0x5e75bb,Pi),this['_cursors']=new Set(_0x5e75bb);}['_removeCollabCursors'](){const _0x13a2f0=_0x331f18;var _0xfcd639;(_0xfcd639=this[_0x13a2f0(0x2b3)])==null||_0xfcd639[_0x13a2f0(0x1ef)](_0x1a5a9f=>_0x1a5a9f[_0x13a2f0(0x1fe)]());}['_getSheetObject'](){const _0x533a24=_0x331f18;return _0x45f6ba(this[_0x533a24(0x2db)][_0x533a24(0x205)],this[_0x533a24(0x2db)]);}};Le=yi([ve(0x1,_0x4d7f15(_0x451e32)),ve(0x2,_0x4d7f15(H)),ve(0x3,_0x4d7f15(_0x5a9426))],Le);function xi(_0x39f69e){const _0x3e69ef=_0x331f18,_0x4c4325=new Map();return _0x39f69e[_0x3e69ef(0x1ef)](_0x20b20e=>{const _0x295a1f=_0x3e69ef;if(_0x4c4325['has'](_0x20b20e[_0x295a1f(0x1d9)])){const _0xc15332=_0x4c4325[_0x295a1f(0x2dd)](_0x20b20e[_0x295a1f(0x1d9)]);_0xc15332['name']+=',\x20'+_0x20b20e['name'];}else _0x4c4325[_0x295a1f(0x2b0)](_0x20b20e[_0x295a1f(0x1d9)],_0x20b20e);}),Array['from'](_0x4c4325[_0x3e69ef(0x1c8)]());}var v=function(){const _0x1a08d5=_0x331f18;return v=Object[_0x1a08d5(0x36e)]||function(_0x69828a){const _0x38f5e5=_0x1a08d5;for(var _0x224a27,_0x35348c=0x1,_0x12d426=arguments[_0x38f5e5(0x203)];_0x35348c<_0x12d426;_0x35348c++){_0x224a27=arguments[_0x35348c];for(var _0x8c8835 in _0x224a27)Object[_0x38f5e5(0x37d)]['hasOwnProperty'][_0x38f5e5(0x33a)](_0x224a27,_0x8c8835)&&(_0x69828a[_0x8c8835]=_0x224a27[_0x8c8835]);}return _0x69828a;},v[_0x1a08d5(0x2cb)](this,arguments);},Bi=function(_0x122f1d,_0x3ee818){const _0x206616=_0x331f18;var _0x463434={};for(var _0xc4df00 in _0x122f1d)Object[_0x206616(0x37d)][_0x206616(0x1ee)][_0x206616(0x33a)](_0x122f1d,_0xc4df00)&&_0x3ee818[_0x206616(0x1c4)](_0xc4df00)<0x0&&(_0x463434[_0xc4df00]=_0x122f1d[_0xc4df00]);if(_0x122f1d!=null&&typeof Object['getOwnPropertySymbols']==_0x206616(0x351)){for(var _0x48d277=0x0,_0xc4df00=Object[_0x206616(0x201)](_0x122f1d);_0x48d277<_0xc4df00[_0x206616(0x203)];_0x48d277++)_0x3ee818[_0x206616(0x1c4)](_0xc4df00[_0x48d277])<0x0&&Object[_0x206616(0x37d)]['propertyIsEnumerable'][_0x206616(0x33a)](_0x122f1d,_0xc4df00[_0x48d277])&&(_0x463434[_0xc4df00[_0x48d277]]=_0x122f1d[_0xc4df00[_0x48d277]]);}return _0x463434;},je=_0x1a1f9a(function(_0x1811cc,_0x3eeab3){const _0x2d16e2=_0x331f18;var _0x19e5ef=_0x1811cc['icon'],_0x242c75=_0x1811cc['id'],_0x384d65=_0x1811cc[_0x2d16e2(0x2c5)],_0x103b55=_0x1811cc[_0x2d16e2(0x388)],_0x28cec2=Bi(_0x1811cc,[_0x2d16e2(0x21c),'id',_0x2d16e2(0x2c5),_0x2d16e2(0x388)]),_0xdbc2ed=_0x2d16e2(0x27e)[_0x2d16e2(0x313)](_0x242c75,'\x20')['concat'](_0x384d65||'')[_0x2d16e2(0x2e7)](),_0x13cb2b=_0x2f922b('_'[_0x2d16e2(0x313)](ji()));return Rt(_0x19e5ef,''[_0x2d16e2(0x313)](_0x242c75),{'defIds':_0x19e5ef[_0x2d16e2(0x1cd)],'idSuffix':_0x13cb2b[_0x2d16e2(0x1ff)]},v({'ref':_0x3eeab3,'className':_0xdbc2ed},_0x28cec2),_0x103b55);});function Rt(_0x297833,_0x3eb88a,_0x267891,_0x136cb6,_0x2abf75){const _0x100bf4=_0x331f18;return _0x564d3a(_0x297833[_0x100bf4(0x25b)],v(v({'key':_0x3eb88a},ki(_0x297833,_0x267891,_0x2abf75)),_0x136cb6),(Hi(_0x297833,_0x267891)[_0x100bf4(0x36d)]||[])[_0x100bf4(0x1eb)](function(_0x128d36,_0xcf4b1d){const _0x8e6efe=_0x100bf4;return Rt(_0x128d36,''[_0x8e6efe(0x313)](_0x3eb88a,'-')[_0x8e6efe(0x313)](_0x297833[_0x8e6efe(0x25b)],'-')[_0x8e6efe(0x313)](_0xcf4b1d),_0x267891,void 0x0,_0x2abf75);}));}function ki(_0x4389a7,_0x305cba,_0x1a4102){const _0x1ed03f=_0x331f18;var _0x99c3ad=v({},_0x4389a7['attrs']);_0x1a4102!=null&&_0x1a4102[_0x1ed03f(0x2e0)]&&_0x99c3ad[_0x1ed03f(0x299)]===_0x1ed03f(0x2e0)&&(_0x99c3ad[_0x1ed03f(0x299)]=_0x1a4102[_0x1ed03f(0x2e0)]),_0x4389a7['tag']===_0x1ed03f(0x1e7)&&_0x99c3ad['id']&&(_0x99c3ad['id']=_0x99c3ad['id']+_0x305cba['idSuffix']),Object[_0x1ed03f(0x279)](_0x99c3ad)[_0x1ed03f(0x1ef)](function(_0x3fe65b){const _0x5d45a2=_0x1ed03f;var _0x221038=_0x3fe65b[0x0],_0xd8fe27=_0x3fe65b[0x1];_0x221038===_0x5d45a2(0x1e7)&&typeof _0xd8fe27==_0x5d45a2(0x1f1)&&(_0x99c3ad[_0x221038]=_0xd8fe27[_0x5d45a2(0x33c)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x305cba['idSuffix'],')')));});var _0x24ace8=_0x305cba['defIds'];return!_0x24ace8||_0x24ace8[_0x1ed03f(0x203)]===0x0||(_0x4389a7[_0x1ed03f(0x25b)]===_0x1ed03f(0x24e)&&_0x99c3ad[_0x1ed03f(0x381)]&&(_0x99c3ad[_0x1ed03f(0x381)]=_0x99c3ad['xlink:href']+_0x305cba['idSuffix']),Object[_0x1ed03f(0x279)](_0x99c3ad)[_0x1ed03f(0x1ef)](function(_0x138a1c){const _0x292ceb=_0x1ed03f;var _0x533c35=_0x138a1c[0x0],_0x1c51d4=_0x138a1c[0x1];typeof _0x1c51d4=='string'&&(_0x99c3ad[_0x533c35]=_0x1c51d4[_0x292ceb(0x33c)](/url\(#(.*)\)/,_0x292ceb(0x291)[_0x292ceb(0x313)](_0x305cba['idSuffix'],')')));})),_0x99c3ad;}function Hi(_0x13799c,_0x244b03){const _0x35c0a7=_0x331f18;var _0x20414f,_0x523cb6=_0x244b03[_0x35c0a7(0x1cd)];return!_0x523cb6||_0x523cb6[_0x35c0a7(0x203)]===0x0?_0x13799c:_0x13799c[_0x35c0a7(0x25b)]===_0x35c0a7(0x3a9)&&(!((_0x20414f=_0x13799c['children'])===null||_0x20414f===void 0x0)&&_0x20414f['length'])?v(v({},_0x13799c),{'children':_0x13799c['children'][_0x35c0a7(0x1eb)](function(_0x4dde03){const _0xb8e018=_0x35c0a7;return typeof _0x4dde03[_0xb8e018(0x2bd)]['id']==_0xb8e018(0x1f1)&&_0x523cb6&&_0x523cb6[_0xb8e018(0x1c4)](_0x4dde03[_0xb8e018(0x2bd)]['id'])>-0x1?v(v({},_0x4dde03),{'attrs':v(v({},_0x4dde03['attrs']),{'id':_0x4dde03[_0xb8e018(0x2bd)]['id']+_0x244b03[_0xb8e018(0x33d)]})}):_0x4dde03;})}):_0x13799c;}function ji(){const _0x367b80=_0x331f18;return Math['random']()[_0x367b80(0x23f)](0x24)[_0x367b80(0x387)](0x2,0x8);}je['displayName']=_0x331f18(0x384);var Yi={'tag':_0x331f18(0x39b),'attrs':{'fill':_0x331f18(0x305),'viewBox':_0x331f18(0x300),'width':_0x331f18(0x2d3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x331f18(0x24d)},'children':[{'tag':_0x331f18(0x34d),'attrs':{'stroke':'currentColor','d':_0x331f18(0x228),'strokeLinecap':_0x331f18(0x1f7),'strokeLinejoin':_0x331f18(0x1f7),'strokeWidth':1.2}}]},{'tag':_0x331f18(0x3a9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x331f18(0x1c7)},'children':[{'tag':_0x331f18(0x34d),'attrs':{'fill':'#fff','d':_0x331f18(0x28d)}}]}]}],'defIds':[_0x331f18(0x1c7)]},Dt=_0x1a1f9a(function(_0x3f2b6b,_0x8c7b52){const _0x4e5602=_0x331f18;return _0x564d3a(je,Object[_0x4e5602(0x36e)]({},_0x3f2b6b,{'id':_0x4e5602(0x219),'ref':_0x8c7b52,'icon':Yi}));});Dt[_0x331f18(0x2ab)]=_0x331f18(0x213);var Fi={'tag':_0x331f18(0x39b),'attrs':{'fill':_0x331f18(0x305),'viewBox':_0x331f18(0x304),'width':_0x331f18(0x2d3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x331f18(0x34a)},'children':[{'tag':_0x331f18(0x34d),'attrs':{'stroke':'currentColor','d':_0x331f18(0x2c3),'strokeLinecap':'round','strokeLinejoin':_0x331f18(0x1f7),'strokeWidth':1.2}}]},{'tag':_0x331f18(0x3a9),'attrs':{},'children':[{'tag':_0x331f18(0x264),'attrs':{'id':_0x331f18(0x20e)},'children':[{'tag':_0x331f18(0x34d),'attrs':{'fill':_0x331f18(0x1cc),'d':_0x331f18(0x28d),'transform':_0x331f18(0x2f9)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Nt=_0x1a1f9a(function(_0x1fde65,_0x3229c7){const _0x300215=_0x331f18;return _0x564d3a(je,Object[_0x300215(0x36e)]({},_0x1fde65,{'id':_0x300215(0x2cc),'ref':_0x3229c7,'icon':Fi}));});Nt['displayName']=_0x331f18(0x209);function Wi(_0x2d596a){const _0x436446=_0x331f18;switch(_0x2d596a){case _0x449a58['OFFLINE']:return _0x436446(0x295);case _0x449a58['CONFLICT']:return _0x436446(0x3b2);case _0x449a58['FETCH_MISS']:return _0x436446(0x227);case _0x449a58[_0x436446(0x1d2)]:return _0x436446(0x364);case _0x449a58['AWAITING']:case _0x449a58['AWAITING_WITH_PENDING']:return _0x436446(0x366);case _0x449a58[_0x436446(0x35a)]:case _0x449a58['PENDING']:return _0x436446(0x23b);}}function Vi(_0xb3f059){const _0x3fa92b=_0x331f18,{status$:_0x4d5767}=_0xb3f059,_0xf75fcc=_0x25a19a(_0x4d5767,_0x449a58['NOT_COLLAB']),_0x1b7498=_0x5696ef(_0x332a86),_0xaee12c=_0x5696ef(_0x2fb176),_0x43cf84=_0xf75fcc!==_0x449a58[_0x3fa92b(0x3a7)],_0xe2de01=_0x1b7498['t'](Wi(_0xf75fcc)),_0x3a1b9f=_0x43cf84?_0x4b27b9(Nt,{}):_0x4b27b9(Dt,{}),_0x35cf7d=_0x337eb9(()=>{_0x43cf84||_0xaee12c['reconnect']();},[_0x43cf84,_0xaee12c]);function _0x30e0ad(){const _0x1dcae4=_0x3fa92b;return _0x22a7fb('div',{'className':_0x1dcae4(0x306),'onClick':_0x35cf7d,'children':[_0x4b27b9('div',{'className':_0x1be29b(_0x1dcae4(0x1d6),{'univer-text-green-500':_0x43cf84,'univer-text-red-500':!_0x43cf84}),'children':_0x3a1b9f}),_0x4b27b9(_0x1dcae4(0x238),{'className':_0x1dcae4(0x1d7),'children':_0xe2de01})]});}return _0x43cf84?_0x30e0ad():_0x4b27b9(_0x1e775c,{'title':_0x1b7498['t'](_0x3fa92b(0x33b)),'children':_0x30e0ad()});}var Xi=Object[_0x331f18(0x26f)],Gi=(_0x113fe7,_0x235a84,_0x3fafa2,_0x45f5b1)=>{const _0x37760c=_0x331f18;for(var _0x48e311=_0x45f5b1>0x1?void 0x0:_0x45f5b1?Xi(_0x235a84,_0x3fafa2):_0x235a84,_0x58725c=_0x113fe7[_0x37760c(0x203)]-0x1,_0x7db6c1;_0x58725c>=0x0;_0x58725c--)(_0x7db6c1=_0x113fe7[_0x58725c])&&(_0x48e311=_0x7db6c1(_0x48e311)||_0x48e311);return _0x48e311;},Q=(_0x2b1ce1,_0x422cd6)=>(_0x3020b3,_0x3add1b)=>_0x422cd6(_0x3020b3,_0x3add1b,_0x2b1ce1);let te=class extends _0x241117{constructor(_0x1cfdf3,_0x3aea65,_0x41b614,_0x32f2aa){const _0x27e570=_0x331f18;super(),_(this,_0x27e570(0x37c),new _0x19d59e(_0x449a58[_0x27e570(0x1d2)])),(this[_0x27e570(0x23a)]=_0x1cfdf3,this[_0x27e570(0x363)]=_0x3aea65,this[_0x27e570(0x382)]=_0x41b614,this['_uiPartsService']=_0x32f2aa,this['_initStatusComponent'](),this[_0x27e570(0x316)]());}[_0x331f18(0x316)](){const _0x5a80f5=_0x331f18;this['disposeWithMe'](this[_0x5a80f5(0x23a)][_0x5a80f5(0x274)][_0x5a80f5(0x303)](_0x46629d(()=>{const _0x5bd1b4=_0x5a80f5,_0x9f7bf5=this['_univerInstanceService'][_0x5bd1b4(0x1e8)]();return _0x9f7bf5?this[_0x5bd1b4(0x382)]['getCollabEntity$'](_0x9f7bf5[_0x5bd1b4(0x24f)]()):_0x582b9f(null);}),_0x46629d(_0x51cd47=>_0x51cd47?_0x51cd47[_0x5a80f5(0x2bb)]:_0x582b9f(_0x449a58[_0x5a80f5(0x1d2)])))['subscribe'](_0x1bce82=>{const _0x2010c6=_0x5a80f5;this[_0x2010c6(0x37c)]['next'](_0x1bce82);}));}[_0x331f18(0x32f)](){const _0x592708=_0x331f18;this['disposeWithMe'](this[_0x592708(0x23d)][_0x592708(0x332)](_0x17ca04[_0x592708(0x2c8)],()=>_0x5ecf67(Ki({'status$':this[_0x592708(0x37c)][_0x592708(0x2fb)]()}),this[_0x592708(0x363)])));}};te=Gi([Q(0x0,_0x2a3bfe),Q(0x1,_0x4d7f15(_0x5c9129)),Q(0x2,_0x4d7f15(_0x32338b)),Q(0x3,_0x2120e9)],te);function Ki(_0x51aec4){const {status$:_0x1e65c4}=_0x51aec4;return function(){return _0x4b27b9(Vi,{'status$':_0x1e65c4});};}var zi=Object[_0x331f18(0x26f)],Ji=(_0x2bded3,_0x4aa44b,_0x23e2df,_0x107425)=>{for(var _0x2b0423=_0x107425>0x1?void 0x0:_0x107425?zi(_0x4aa44b,_0x23e2df):_0x4aa44b,_0x313b8a=_0x2bded3['length']-0x1,_0x36baf7;_0x313b8a>=0x0;_0x313b8a--)(_0x36baf7=_0x2bded3[_0x313b8a])&&(_0x2b0423=_0x36baf7(_0x2b0423)||_0x2b0423);return _0x2b0423;},B=(_0x1a9596,_0x1b88e6)=>(_0x5a4e14,_0x4f5af4)=>_0x1b88e6(_0x5a4e14,_0x4f5af4,_0x1a9596);let se=class extends _0x241117{constructor(_0x2d41f1,_0x166044,_0x190e0b,_0x1f6170,_0xfb7d64,_0x4250ed){const _0x360ba3=_0x331f18;super(),this[_0x360ba3(0x2b5)]=_0x2d41f1,this[_0x360ba3(0x288)]=_0x166044,this[_0x360ba3(0x2e6)]=_0x190e0b,this[_0x360ba3(0x308)]=_0x1f6170,this[_0x360ba3(0x393)]=_0xfb7d64,this['_localeService']=_0x4250ed,this[_0x360ba3(0x241)](),this['_initEvent']();}[_0x331f18(0x241)](){const _0x5193f9=_0x331f18;this['disposeWithMe'](this['_beforeCloseService'][_0x5193f9(0x239)](()=>{const _0x3fa468=_0x5193f9;if(this[_0x3fa468(0x288)][_0x3fa468(0x240)][_0x3fa468(0x1f6)])return this['_localeService']['t'](_0x3fa468(0x242));}));}[_0x331f18(0x36c)](){const _0xd62867=_0x331f18;this['disposeWithMe'](this[_0xd62867(0x2e6)][_0xd62867(0x391)][_0xd62867(0x1ed)](_0xc6921e=>{const _0x318ac4=_0xd62867;_0xc6921e['id']===_0x59e9cb[_0x318ac4(0x360)]&&this[_0x318ac4(0x308)][_0x318ac4(0x2ec)]({'type':_0xeb4c69[_0x318ac4(0x28b)],'content':this[_0x318ac4(0x335)]['t'](_0x318ac4(0x31d))}),_0xc6921e['id']===_0x59e9cb['CLOSE_ROOM']&&this[_0x318ac4(0x308)][_0x318ac4(0x2ec)]({'type':_0xeb4c69[_0x318ac4(0x28b)],'content':this[_0x318ac4(0x335)]['t'](_0x318ac4(0x359))}),_0xc6921e['id']===_0x59e9cb['PERMISSION_DENIED']&&this[_0x318ac4(0x393)]['show']({'title':this[_0x318ac4(0x335)]['t']('permission.title'),'content':this[_0x318ac4(0x335)]['t']('permission.content'),'type':_0x318ac4(0x27f),'duration':0x0}),_0xc6921e['id']===_0x59e9cb[_0x318ac4(0x35f)]&&this['_messageService'][_0x318ac4(0x2ec)]({'type':_0xeb4c69[_0x318ac4(0x29b)],'content':this[_0x318ac4(0x335)]['t'](_0x318ac4(0x359))+'('+_0xc6921e['data']+')'}),_0xc6921e['id']===_0x59e9cb[_0x318ac4(0x24b)]&&this[_0x318ac4(0x308)][_0x318ac4(0x2ec)]({'type':_0xeb4c69['Warning'],'content':this[_0x318ac4(0x335)]['t'](_0xc6921e[_0x318ac4(0x35b)]||'')}),_0xc6921e['id']===_0x59e9cb[_0x318ac4(0x3b5)]&&this[_0x318ac4(0x308)][_0x318ac4(0x2ec)]({'type':_0xeb4c69[_0x318ac4(0x28b)],'content':this[_0x318ac4(0x335)]['t']('session.will-retry')}),_0xc6921e['id']===_0x59e9cb['SOCKET_FAILED']&&this[_0x318ac4(0x308)][_0x318ac4(0x2ec)]({'type':_0xeb4c69[_0x318ac4(0x29b)],'content':this['_localeService']['t'](_0x318ac4(0x21f))}),_0xc6921e['id']===_0x59e9cb[_0x318ac4(0x1e4)]&&this[_0x318ac4(0x308)][_0x318ac4(0x2ec)]({'type':_0xeb4c69['Error'],'content':this[_0x318ac4(0x335)]['t'](_0x318ac4(0x39f))});}));}};se=Ji([B(0x0,_0x1d3722),B(0x1,_0x1f8fe6),B(0x2,_0x4d7f15(_0x41e737)),B(0x3,_0xcead9f),B(0x4,_0x36fb2a),B(0x5,_0x4d7f15(_0x332a86))],se);const Zi=_0x331f18(0x377),et={},Ut=_0x5ca8a4(_0x331f18(0x397));var Qi=Object[_0x331f18(0x26f)],qi=(_0x48e264,_0x1b5413,_0x19c1ea,_0x2c66f3)=>{const _0x25b44a=_0x331f18;for(var _0x5278ee=_0x2c66f3>0x1?void 0x0:_0x2c66f3?Qi(_0x1b5413,_0x19c1ea):_0x1b5413,_0x2e7219=_0x48e264[_0x25b44a(0x203)]-0x1,_0x2d0ade;_0x2e7219>=0x0;_0x2e7219--)(_0x2d0ade=_0x48e264[_0x2e7219])&&(_0x5278ee=_0x2d0ade(_0x5278ee)||_0x5278ee);return _0x5278ee;},G=(_0x20a3de,_0x285fe2)=>(_0x1fbc4c,_0x2238fd)=>_0x285fe2(_0x1fbc4c,_0x2238fd,_0x20a3de);let ie=class extends _0x580921{constructor(_0x57b4f7,_0x3eb1d6,_0x28d3a5,_0x430f77,_0x2314d){const _0x253c4d=_0x331f18;super(),this[_0x253c4d(0x312)]=_0x57b4f7,this[_0x253c4d(0x283)]=_0x3eb1d6,this[_0x253c4d(0x378)]=_0x28d3a5,this['_dataLoaderService']=_0x430f77,_0x2314d?_0x2314d==null||_0x2314d[_0x253c4d(0x22e)]()[_0x253c4d(0x243)](()=>this[_0x253c4d(0x39a)]()):(this[_0x253c4d(0x283)][_0x253c4d(0x278)](_0x253c4d(0x2dc),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x253c4d(0x39a)]());}async['_init'](){const _0x11caff=_0x331f18,_0x140426=this[_0x11caff(0x312)][_0x11caff(0x221)](_0x11caff(0x205)),_0x2b667e=this[_0x11caff(0x312)][_0x11caff(0x221)]('type'),_0x49bbd9=this[_0x11caff(0x312)][_0x11caff(0x221)](_0x11caff(0x2f5));if(!_0x140426||!_0x2b667e){this[_0x11caff(0x283)][_0x11caff(0x278)](_0x11caff(0x2dc),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2f2b91=await this['_dataLoaderService'][_0x11caff(0x269)](_0x140426,Number(_0x2b667e),_0x49bbd9);_0x2f2b91&&_0x2f2b91 instanceof _0x157873&&this[_0x11caff(0x338)](_0x2f2b91);}async[_0x331f18(0x338)](_0xcd2621){const _0x73a16=_0x331f18;await this[_0x73a16(0x374)](_0xcd2621),_0xcd2621['activeSheet$'][_0x73a16(0x303)](_0x26bd25(this[_0x73a16(0x35c)]))[_0x73a16(0x1ed)](_0x528bcb=>{_0x528bcb&&this['_updateURLWithCurrentState'](_0x528bcb);}),this[_0x73a16(0x312)][_0x73a16(0x327)][_0x73a16(0x303)](_0x26bd25(this[_0x73a16(0x35c)]))[_0x73a16(0x1ed)](()=>this['_updateSubUnitFromURLParams'](_0xcd2621));}['_updateURLWithCurrentState'](_0x38646f,_0x14335c=!0x1){const _0xbc55da=_0x331f18,_0xabe0dc=this['_urlService']['getParam']('subunit');_0x38646f[_0xbc55da(0x32e)]()!==_0xabe0dc&&this[_0xbc55da(0x312)]['setParam'](_0xbc55da(0x2f5),_0x38646f[_0xbc55da(0x32e)](),_0x14335c);}async[_0x331f18(0x374)](_0x46c6da){const _0x11910e=_0x331f18;var _0x4c7a58;const _0x14d7f9=this['_urlService'][_0x11910e(0x221)](_0x11910e(0x2f5));if(!_0x14d7f9||!_0x46c6da['getSheetBySheetId'](_0x14d7f9)){const _0x25ecd0=_0x46c6da['getUnhiddenWorksheets']()[0x0],_0x2331fc=_0x46c6da[_0x11910e(0x2f3)](_0x25ecd0);if(!_0x2331fc)return;this[_0x11910e(0x2e5)](_0x2331fc,!0x0),await this[_0x11910e(0x378)]['executeCommand'](_0x1a64c0['id'],{'unitId':_0x46c6da[_0x11910e(0x24f)](),'subUnitId':_0x25ecd0});return;}((_0x4c7a58=_0x46c6da['getActiveSheet']())==null?void 0x0:_0x4c7a58[_0x11910e(0x32e)]())!==_0x14d7f9&&await this[_0x11910e(0x378)][_0x11910e(0x26e)](_0x1a64c0['id'],{'unitId':_0x46c6da['getUnitId'](),'subUnitId':_0x14d7f9});}};ie=qi([G(0x0,Ut),G(0x1,_0x57bd66),G(0x2,_0x52aaba),G(0x3,_0x4d7f15(_0x1228b9)),G(0x4,_0x2e8312(_0x308816))],ie);var en=Object['getOwnPropertyDescriptor'],tn=(_0x7e35e2,_0x4048dd,_0x2b3743,_0x2aa0f5)=>{const _0x1c69b1=_0x331f18;for(var _0x45cd2d=_0x2aa0f5>0x1?void 0x0:_0x2aa0f5?en(_0x4048dd,_0x2b3743):_0x4048dd,_0x4d73e1=_0x7e35e2[_0x1c69b1(0x203)]-0x1,_0x212d6f;_0x4d73e1>=0x0;_0x4d73e1--)(_0x212d6f=_0x7e35e2[_0x4d73e1])&&(_0x45cd2d=_0x212d6f(_0x45cd2d)||_0x45cd2d);return _0x45cd2d;},pe=(_0xad69d4,_0x52f9d7)=>(_0x4de4ca,_0x43b32f)=>_0x52f9d7(_0x4de4ca,_0x43b32f,_0xad69d4);let ne=class{constructor(_0x34a534,_0x15aeb4,_0x5669e3){const _0x54233d=_0x331f18;this[_0x54233d(0x363)]=_0x34a534,this[_0x54233d(0x286)]=_0x15aeb4,this['_renderManagerService']=_0x5669e3;}['transformIMECache'](_0x5617af){const _0x41f11f=_0x331f18;this['_transformUndoRedoStack'](_0x5617af),this[_0x41f11f(0x349)](_0x5617af);}[_0x331f18(0x244)](_0x517d3c){const _0x5d914c=_0x331f18,{unitID:_0x1acebc}=_0x517d3c,_0x2c2518=this[_0x5d914c(0x23e)][_0x5d914c(0x321)](_0x1acebc)[_0x5d914c(0x229)](_0x48cb1b),{redoCache:_0xa59a60}=_0x2c2518[_0x5d914c(0x246)]();if(_0xa59a60[_0x5d914c(0x203)]===0x0)return _0x517d3c;let _0x456dc9=_0x36f5f4[_0x5d914c(0x20c)](_0x517d3c[_0x5d914c(0x31e)][0x0]);for(let _0x3cf5b3=0x0;_0x3cf5b3<_0xa59a60[_0x5d914c(0x203)];_0x3cf5b3++){const _0x254141={'id':_0x5d914c(0x1f8),'params':{..._0xa59a60[_0x3cf5b3]}},_0x376317=this['_transformService'][_0x5d914c(0x38a)](_0x456dc9,_0x254141,!0x1);if(_0x4f139f(_0x376317))throw _0x376317[_0x5d914c(0x27f)];_0x456dc9=_0x376317[_0x5d914c(0x1fc)];}return{..._0x36f5f4[_0x5d914c(0x20c)](_0x517d3c),'mutations':[_0x456dc9]};}[_0x331f18(0x225)](_0x342d13){const _0x5888da=_0x331f18,{unitID:_0x5d58fe}=_0x342d13,_0x65ff47=this[_0x5888da(0x23e)]['getRenderById'](_0x5d58fe)[_0x5888da(0x229)](_0x48cb1b),{undoCache:_0x57cdc4,redoCache:_0x5360a7}=_0x65ff47[_0x5888da(0x246)]();if(_0x57cdc4[_0x5888da(0x203)]===0x0||_0x5360a7[_0x5888da(0x203)]===0x0)return;const _0x51ecbc=[],_0x322b01=[];let _0x19eee0=_0x36f5f4[_0x5888da(0x20c)](_0x342d13[_0x5888da(0x31e)][0x0]),_0x15d76f=_0x36f5f4[_0x5888da(0x20c)](_0x342d13[_0x5888da(0x31e)][0x0]);for(let _0x4388db=_0x57cdc4[_0x5888da(0x203)]-0x1;_0x4388db>=0x0;_0x4388db--){const _0x3c6079={'id':'doc.mutation.rich-text-editing','params':{..._0x57cdc4[_0x4388db]}},_0x1ac677={'id':'doc.mutation.rich-text-editing','params':{..._0x5360a7[_0x4388db]}},_0xf6adb2=this['_transformService'][_0x5888da(0x38a)](_0x19eee0,_0x3c6079,!0x1),_0x1c2e5a=this['_transformService'][_0x5888da(0x38a)](_0x15d76f,_0x1ac677,!0x1);if(_0x4f139f(_0xf6adb2))throw _0xf6adb2['error'];if(_0x4f139f(_0x1c2e5a))throw _0x1c2e5a[_0x5888da(0x27f)];_0x51ecbc['unshift'](_0xf6adb2[_0x5888da(0x2fa)]['params']),_0x322b01[_0x5888da(0x285)](_0x1c2e5a[_0x5888da(0x2fa)][_0x5888da(0x395)]),_0x19eee0=_0xf6adb2[_0x5888da(0x1fc)],_0x15d76f=_0x1c2e5a['m1Prime'];}_0x65ff47[_0x5888da(0x2fc)]({'undoCache':_0x51ecbc,'redoCache':_0x322b01});}['_transformPreviousActiveRange'](_0x4d1111){const _0x346337=_0x331f18,{unitID:_0x25ce7d}=_0x4d1111,_0x257988=this[_0x346337(0x23e)][_0x346337(0x321)](_0x25ce7d)[_0x346337(0x229)](_0x48cb1b),_0x344a96=_0x257988[_0x346337(0x22a)]();if(_0x344a96==null)return;const _0x111464=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d1111[_0x346337(0x350)],'actions':null,'textRanges':[_0x344a96]}}],_0x4271b9=this['_transformService'][_0x346337(0x302)](_0x4d1111,_0x111464);if(!_0x2d23ed(_0x4271b9))throw _0x4271b9[_0x346337(0x27f)];const _0x2176d7=_0x4271b9[_0x346337(0x2fa)][0x0]['params'][_0x346337(0x2eb)];Array[_0x346337(0x1df)](_0x2176d7)&&_0x2176d7[_0x346337(0x203)]&&_0x257988[_0x346337(0x2ad)](_0x2176d7[0x0]);}};ne=tn([pe(0x0,_0x4d7f15(_0x5c9129)),pe(0x1,_0x5566ba),pe(0x2,_0x33433a)],ne);var sn=Object[_0x331f18(0x26f)],nn=(_0x55ca19,_0x27f1c4,_0x5312a1,_0x1590cb)=>{const _0x3873a7=_0x331f18;for(var _0x3c2d1e=_0x1590cb>0x1?void 0x0:_0x1590cb?sn(_0x27f1c4,_0x5312a1):_0x27f1c4,_0x22393b=_0x55ca19[_0x3873a7(0x203)]-0x1,_0x34583e;_0x22393b>=0x0;_0x22393b--)(_0x34583e=_0x55ca19[_0x22393b])&&(_0x3c2d1e=_0x34583e(_0x3c2d1e)||_0x3c2d1e);return _0x3c2d1e;},Ce=(_0x45b456,_0xef4206)=>(_0x21faa6,_0x75872c)=>_0xef4206(_0x21faa6,_0x75872c,_0x45b456);let re=class{constructor(_0x59fd9c,_0x2a7d96,_0x18f02a){const _0x6cec6d=_0x331f18;this['_injector']=_0x59fd9c,this[_0x6cec6d(0x286)]=_0x2a7d96,this[_0x6cec6d(0x2e2)]=_0x18f02a;}[_0x331f18(0x2b6)](_0x27922d){this['_transformHistoryAndStateStack'](_0x27922d);}[_0x331f18(0x244)](_0x1edd39){const _0x2ce80b=_0x331f18,{unitID:_0x23d37f}=_0x1edd39,{collaboration:_0x573a73}=this[_0x2ce80b(0x2e2)][_0x2ce80b(0x1dd)](_0x23d37f);if(_0x573a73['length']===0x0)return _0x1edd39;let _0x354b9d=_0x36f5f4[_0x2ce80b(0x20c)](_0x1edd39[_0x2ce80b(0x31e)][0x0]);for(let _0x36167f=0x0;_0x36167f<_0x573a73[_0x2ce80b(0x203)];_0x36167f++){const _0xd0de9c={'id':_0x2ce80b(0x1f8),'params':{'unitId':_0x573a73[_0x36167f][_0x2ce80b(0x21b)],..._0x573a73[_0x36167f][_0x2ce80b(0x293)]}},_0x14129b=this[_0x2ce80b(0x286)][_0x2ce80b(0x38a)](_0x354b9d,_0xd0de9c,!0x1);if(_0x4f139f(_0x14129b))throw _0x14129b['error'];_0x354b9d=_0x14129b[_0x2ce80b(0x1fc)];}return{..._0x36f5f4['deepClone'](_0x1edd39),'mutations':[_0x354b9d]};}[_0x331f18(0x224)](_0x59d169){const _0x58a741=_0x331f18,{unitID:_0x1716be}=_0x59d169,{history:_0x352da9,collaboration:_0x3c7627}=this[_0x58a741(0x2e2)][_0x58a741(0x1dd)](_0x1716be);if(_0x352da9[_0x58a741(0x203)]===0x0&&_0x3c7627[_0x58a741(0x203)]===0x0)return;const _0x56cc47=[],_0x4c6c6b=[];let _0x4ff6ef=_0x36f5f4[_0x58a741(0x20c)](_0x59d169[_0x58a741(0x31e)][0x0]),_0x10e10b=_0x36f5f4[_0x58a741(0x20c)](_0x59d169['mutations'][0x0]);for(let _0x43da52=_0x352da9['length']-0x1;_0x43da52>=0x0;_0x43da52--){const _0x31f7f0={'id':_0x58a741(0x1f8),'params':{'unitId':_0x352da9[_0x43da52][_0x58a741(0x21b)],..._0x352da9[_0x43da52][_0x58a741(0x311)]}},_0x5c7977={'id':_0x58a741(0x1f8),'params':{'unitId':_0x352da9[_0x43da52][_0x58a741(0x21b)],..._0x352da9[_0x43da52][_0x58a741(0x293)]}},_0x3ff454=this[_0x58a741(0x286)]['transformMutation'](_0x4ff6ef,_0x31f7f0,!0x1),_0x1a2cc2=this[_0x58a741(0x286)][_0x58a741(0x38a)](_0x10e10b,_0x5c7977,!0x1);if(_0x4f139f(_0x3ff454))throw _0x3ff454[_0x58a741(0x27f)];if(_0x4f139f(_0x1a2cc2))throw _0x1a2cc2['error'];_0x56cc47[_0x58a741(0x285)]({..._0x352da9[_0x43da52],'undoState':_0x3ff454[_0x58a741(0x2fa)][_0x58a741(0x395)],'redoState':_0x1a2cc2[_0x58a741(0x2fa)][_0x58a741(0x395)]}),_0x4ff6ef=_0x3ff454[_0x58a741(0x1fc)],_0x10e10b=_0x1a2cc2[_0x58a741(0x1fc)];}_0x4ff6ef=_0x36f5f4['deepClone'](_0x59d169[_0x58a741(0x31e)][0x0]),_0x10e10b=_0x36f5f4[_0x58a741(0x20c)](_0x59d169[_0x58a741(0x31e)][0x0]);for(let _0x33a1bf=_0x3c7627[_0x58a741(0x203)]-0x1;_0x33a1bf>=0x0;_0x33a1bf--){const _0x42e7f3={'id':_0x58a741(0x1f8),'params':{'unitId':_0x3c7627[_0x33a1bf]['unitId'],..._0x3c7627[_0x33a1bf][_0x58a741(0x311)]}},_0x4aed67={'id':_0x58a741(0x1f8),'params':{'unitId':_0x3c7627[_0x33a1bf]['unitId'],..._0x3c7627[_0x33a1bf][_0x58a741(0x293)]}},_0x1a4c90=this['_transformService'][_0x58a741(0x38a)](_0x4ff6ef,_0x42e7f3,!0x1),_0xcc964e=this[_0x58a741(0x286)][_0x58a741(0x38a)](_0x10e10b,_0x4aed67,!0x1);if(_0x4f139f(_0x1a4c90))throw _0x1a4c90[_0x58a741(0x27f)];if(_0x4f139f(_0xcc964e))throw _0xcc964e['error'];_0x4c6c6b[_0x58a741(0x285)]({..._0x3c7627[_0x33a1bf],'undoState':_0x1a4c90[_0x58a741(0x2fa)][_0x58a741(0x395)],'redoState':_0xcc964e[_0x58a741(0x2fa)][_0x58a741(0x395)]}),_0x4ff6ef=_0x1a4c90[_0x58a741(0x1fc)],_0x10e10b=_0xcc964e[_0x58a741(0x1fc)];}this[_0x58a741(0x2e2)][_0x58a741(0x2d6)](_0x1716be,{'history':_0x56cc47,'collaboration':_0x4c6c6b});}};re=nn([Ce(0x0,_0x4d7f15(_0x5c9129)),Ce(0x1,_0x5566ba),Ce(0x2,_0x4d7f15(_0x38120d))],re);var rn=Object[_0x331f18(0x26f)],on=(_0x5a5d44,_0x2267c2,_0x47ea5c,_0xc3b5a2)=>{for(var _0x19b959=_0xc3b5a2>0x1?void 0x0:_0xc3b5a2?rn(_0x2267c2,_0x47ea5c):_0x2267c2,_0x1ef027=_0x5a5d44['length']-0x1,_0x510fc2;_0x1ef027>=0x0;_0x1ef027--)(_0x510fc2=_0x5a5d44[_0x1ef027])&&(_0x19b959=_0x510fc2(_0x19b959)||_0x19b959);return _0x19b959;},tt=(_0x2e83ed,_0x3f9545)=>(_0x8fcd91,_0x57df1a)=>_0x3f9545(_0x8fcd91,_0x57df1a,_0x2e83ed);let oe=class{constructor(_0x4a4941,_0x2ddf3f){const _0x49ac3b=_0x331f18;this[_0x49ac3b(0x363)]=_0x4a4941,this[_0x49ac3b(0x286)]=_0x2ddf3f;}['transformSelections'](_0xc8b0c3){const _0x5dfaf3=_0x331f18;var _0x157648;const _0x501c00=this[_0x5dfaf3(0x363)][_0x5dfaf3(0x2dd)](_0x18ac6b),_0x109ddf=(_0x157648=_0x501c00[_0x5dfaf3(0x348)]())!=null?_0x157648:[];if(_0x109ddf['length']===0x0)return;const _0xcee620=_0xc8b0c3[_0x5dfaf3(0x350)],_0x38c305=[{'id':_0x5dfaf3(0x1f8),'params':{'unitId':_0xcee620,'actions':null,'textRanges':_0x109ddf}}],_0x330518=this[_0x5dfaf3(0x286)][_0x5dfaf3(0x302)](_0xc8b0c3,_0x38c305);if(!_0x2d23ed(_0x330518))throw _0x330518[_0x5dfaf3(0x27f)];const _0x536199=_0x330518[_0x5dfaf3(0x2fa)][0x0][_0x5dfaf3(0x395)]['textRanges'];Array[_0x5dfaf3(0x1df)](_0x536199)&&_0x536199['length']&&_0x501c00[_0x5dfaf3(0x394)](_0x536199,{'unitId':_0xcee620,'subUnitId':_0xcee620},!0x1);}};oe=on([tt(0x0,_0x4d7f15(_0x5c9129)),tt(0x1,_0x5566ba)],oe);var an=Object['getOwnPropertyDescriptor'],cn=(_0x97850e,_0x5f245e,_0x2cb49d,_0x3aba84)=>{const _0x315897=_0x331f18;for(var _0x2dd275=_0x3aba84>0x1?void 0x0:_0x3aba84?an(_0x5f245e,_0x2cb49d):_0x5f245e,_0x2889eb=_0x97850e[_0x315897(0x203)]-0x1,_0x4867b4;_0x2889eb>=0x0;_0x2889eb--)(_0x4867b4=_0x97850e[_0x2889eb])&&(_0x2dd275=_0x4867b4(_0x2dd275)||_0x2dd275);return _0x2dd275;},U=(_0x528365,_0xde8870)=>(_0x50471f,_0x2716cf)=>_0xde8870(_0x50471f,_0x2716cf,_0x528365);let ae=class extends _0x241117{constructor(_0x2afd4a,_0x14cf91,_0x417bab,_0x284642,_0x2ff904,_0x299629,_0x25bb05,_0xa503af){const _0x1fa017=_0x331f18;super(),_(this,_0x1fa017(0x37c),new _0x19d59e(_0x449a58[_0x1fa017(0x1d2)])),(this['_docStateChangeManagerService']=_0x2afd4a,this[_0x1fa017(0x382)]=_0x14cf91,this[_0x1fa017(0x1cf)]=_0x417bab,this[_0x1fa017(0x1f2)]=_0x284642,this[_0x1fa017(0x357)]=_0x2ff904,this[_0x1fa017(0x277)]=_0x299629,this[_0x1fa017(0x308)]=_0x25bb05,this[_0x1fa017(0x335)]=_0xa503af,this[_0x1fa017(0x2de)]());}[_0x331f18(0x2de)](){const _0x213433=_0x331f18;this[_0x213433(0x2ee)](this['_collaborationController']['entityInit$'][_0x213433(0x1ed)](_0x3ad621=>{const _0x40b69b=_0x213433,_0x18523b=this[_0x40b69b(0x2e2)]['docStateChange$'][_0x40b69b(0x1ed)](_0x5ee0ef=>{const _0x4b6a5f=_0x40b69b;if(_0x5ee0ef==null)return;const {unitId:_0x334fb7,redoState:_0x58e55a,commandId:_0x275a16}=_0x5ee0ef;if(_0x334fb7!==_0x3ad621[_0x4b6a5f(0x350)])return;const _0x5b9f77={'id':_0x275a16,'type':_0x5db251['MUTATION'],'params':{'unitId':_0x334fb7,'actions':_0x58e55a[_0x4b6a5f(0x2d0)],'textRanges':null}};_0x3ad621[_0x4b6a5f(0x38f)](_0x5b9f77);});if(_0x3ad621[_0x40b69b(0x2ee)](_0x18523b),_0x3ad621 instanceof _0xcc6f1d){const _0x973f81={'onTransformIME':_0x25af13=>this['_docTransformIMECacheService'][_0x40b69b(0x38e)](_0x25af13),'onTransformState':_0x26d1fd=>this[_0x40b69b(0x1f2)][_0x40b69b(0x2b6)](_0x26d1fd),'onTransformSelections':_0x5efbf6=>this[_0x40b69b(0x357)]['transformSelections'](_0x5efbf6),'onSyncEditingCollabCursor':_0x34642e=>this[_0x40b69b(0x277)][_0x40b69b(0x3b8)](_0x34642e),'onTransformRemoteChangesetByIMECache':_0x44c36d=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x44c36d),'onTransformRemoteChangesetByStateCache':_0x50a390=>this['_docTransformStateCacheService'][_0x40b69b(0x244)](_0x50a390)};_0x3ad621[_0x40b69b(0x1c2)](_0x973f81);}}));}};ae=cn([U(0x0,_0x4d7f15(_0x38120d)),U(0x1,_0x4d7f15(_0x32338b)),U(0x2,_0x4d7f15(ne)),U(0x3,_0x4d7f15(re)),U(0x4,_0x4d7f15(oe)),U(0x5,_0x4d7f15(He)),U(0x6,_0xcead9f),U(0x7,_0x4d7f15(_0x332a86))],ae);var ln=Object[_0x331f18(0x26f)],_n=(_0x50c9be,_0x5d6dc6,_0x180213,_0x196096)=>{const _0x3ba57f=_0x331f18;for(var _0x200c46=_0x196096>0x1?void 0x0:_0x196096?ln(_0x5d6dc6,_0x180213):_0x5d6dc6,_0x5d3acd=_0x50c9be[_0x3ba57f(0x203)]-0x1,_0x268b49;_0x5d3acd>=0x0;_0x5d3acd--)(_0x268b49=_0x50c9be[_0x5d3acd])&&(_0x200c46=_0x268b49(_0x200c46)||_0x200c46);return _0x200c46;},Ee=(_0x441237,_0x4343b4)=>(_0x1684cb,_0x310a05)=>_0x4343b4(_0x1684cb,_0x310a05,_0x441237);let we=class extends _0x241117{constructor(_0x268cd7,_0x52fa84,_0x1b160c){const _0x5ee274=_0x331f18;super(),_(this,_0x5ee274(0x3b6),new Map()),_(this,_0x5ee274(0x231),new Map()),_(this,_0x5ee274(0x220),!0x1),(this[_0x5ee274(0x2a0)]=_0x268cd7,this[_0x5ee274(0x2f1)]=_0x52fa84,this['_revisionService']=_0x1b160c);}[_0x331f18(0x389)](){const _0x10133e=_0x331f18;this[_0x10133e(0x220)]=!0x0;}['enableLocalCache'](){const _0x4ea64c=_0x331f18;this[_0x4ea64c(0x220)]=!0x1;}get[_0x331f18(0x240)](){const _0xf12524=_0x331f18;return this[_0xf12524(0x231)];}[_0x331f18(0x1fe)](){const _0x6bcee5=_0x331f18;this[_0x6bcee5(0x331)]()['then'](()=>super[_0x6bcee5(0x1fe)]());}async[_0x331f18(0x290)](_0x5f1e5e){const _0x3c327c=_0x331f18;return this[_0x3c327c(0x220)]?null:this[_0x3c327c(0x2f1)][_0x3c327c(0x1d1)](_0x39065e(_0x5f1e5e));}async['saveOfflineData'](_0x2a4747,_0x4c494b){const _0x3c57bd=_0x331f18;return!!this[_0x3c57bd(0x2f1)][_0x3c57bd(0x20a)](_0x2a4747,_0x4c494b);}['updateOfflineData'](_0x183276,_0x23ca95,_0x55f379,_0x139dfd){const _0x33b8c0=_0x331f18,_0x50aa7b=this[_0x33b8c0(0x328)][_0x33b8c0(0x252)](_0x183276);this[_0x33b8c0(0x3b6)][_0x33b8c0(0x2b0)](_0x183276,{'unitID':_0x183276,'type':_0x23ca95,'awaitingChangeset':_0x55f379,'mutations':_0x139dfd,'rev':_0x50aa7b}),this[_0x33b8c0(0x231)][_0x33b8c0(0x1c5)](_0x183276)||this[_0x33b8c0(0x282)](_0x183276);}['_scheduleSaving'](_0x1cdf4b){const _0x46346f=_0x331f18,_0x27d35e=this[_0x46346f(0x386)]();_0x27d35e===0x0?this['_saveCache'](_0x1cdf4b):this[_0x46346f(0x231)][_0x46346f(0x2b0)](_0x1cdf4b,setTimeout(()=>this[_0x46346f(0x287)](_0x1cdf4b),_0x27d35e));}['_getSaveTimeout'](){const _0x4ee4d2=_0x331f18;var _0x2d5f16;return(_0x2d5f16=this[_0x4ee4d2(0x2a0)][_0x4ee4d2(0x301)](_0x11b28d))!=null?_0x2d5f16:_0x24837d;}['_saveCache'](_0x15c315){const _0x415b16=_0x331f18,_0x3e732c=this[_0x415b16(0x231)][_0x415b16(0x2dd)](_0x15c315);return _0x3e732c!==void 0x0&&window['clearTimeout'](_0x3e732c),this[_0x415b16(0x2f1)][_0x415b16(0x20a)](_0x39065e(_0x15c315),this['_cachedData'][_0x415b16(0x2dd)](_0x15c315))['then'](()=>this[_0x415b16(0x231)][_0x415b16(0x265)](_0x15c315));}async[_0x331f18(0x331)](){const _0x3e32de=_0x331f18,_0x1dae04=[];this[_0x3e32de(0x231)][_0x3e32de(0x1ef)]((_0x47dfaa,_0x35e88f)=>{const _0x5d2c87=_0x3e32de;window[_0x5d2c87(0x2a1)](_0x47dfaa),_0x1dae04[_0x5d2c87(0x23c)](this[_0x5d2c87(0x287)](_0x35e88f)[_0x5d2c87(0x243)](()=>{const _0x528351=_0x5d2c87;this['_saveTaskMap'][_0x528351(0x265)](_0x35e88f);}));}),await Promise[_0x3e32de(0x307)](_0x1dae04);}};we=_n([Ee(0x0,_0x9ec538),Ee(0x1,_0x28dc77),Ee(0x2,_0x4d7f15(_0x4b2b9e))],we);class hn extends _0x580921{constructor(){const _0x3b811=_0x331f18;super(),_(this,_0x3b811(0x327)),this[_0x3b811(0x327)]=_0x1737c3(window,_0x3b811(0x343))[_0x3b811(0x303)](_0x26bd25(this[_0x3b811(0x35c)]),_0x5713be(0x1),_0x2f24e5(void 0x0));}[_0x331f18(0x2ac)](_0x5229ca,_0x51cc55,_0x214207=!0x1){const _0x1bdd8d=_0x331f18,_0x1ab77b=new URL(window['location'][_0x1bdd8d(0x2c2)]);_0x1ab77b['searchParams']['set'](_0x5229ca,_0x51cc55),_0x214207?window[_0x1bdd8d(0x249)]['replaceState']('','',_0x1ab77b[_0x1bdd8d(0x23f)]()):window[_0x1bdd8d(0x249)]['pushState']('','',_0x1ab77b[_0x1bdd8d(0x23f)]());}[_0x331f18(0x362)](_0x3c717c,_0x1edc59=!0x1){const _0x46c5bd=_0x331f18,_0x54d81c=new URL(window[_0x46c5bd(0x2d4)][_0x46c5bd(0x2c2)]);_0x54d81c[_0x46c5bd(0x2ea)][_0x46c5bd(0x265)](_0x3c717c),_0x1edc59?window[_0x46c5bd(0x249)][_0x46c5bd(0x28c)]('','',_0x54d81c[_0x46c5bd(0x23f)]()):window[_0x46c5bd(0x249)][_0x46c5bd(0x2d1)]('','',_0x54d81c['toString']());}['getParam'](_0x286752){const _0x473111=_0x331f18;var _0x11a081;return(_0x11a081=new URL(window[_0x473111(0x2d4)][_0x473111(0x2c2)])[_0x473111(0x2ea)][_0x473111(0x2dd)](_0x286752))!=null?_0x11a081:void 0x0;}}var un=Object[_0x331f18(0x223)],dn=Object['getOwnPropertyDescriptor'],fn=(_0x35e7cd,_0xd3de27,_0x203ba9)=>_0xd3de27 in _0x35e7cd?un(_0x35e7cd,_0xd3de27,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x203ba9}):_0x35e7cd[_0xd3de27]=_0x203ba9,Sn=(_0x4c8a81,_0x32ebcf,_0x59a8f1,_0x20b391)=>{const _0x276def=_0x331f18;for(var _0x13fe1a=_0x20b391>0x1?void 0x0:_0x20b391?dn(_0x32ebcf,_0x59a8f1):_0x32ebcf,_0x3b5ca2=_0x4c8a81[_0x276def(0x203)]-0x1,_0xe9c7a4;_0x3b5ca2>=0x0;_0x3b5ca2--)(_0xe9c7a4=_0x4c8a81[_0x3b5ca2])&&(_0x13fe1a=_0xe9c7a4(_0x13fe1a)||_0x13fe1a);return _0x13fe1a;},Oe=(_0x219579,_0x45978e)=>(_0x5c3ce7,_0x5970d5)=>_0x45978e(_0x5c3ce7,_0x5970d5,_0x219579),mn=(_0x17d2de,_0x32cbbd,_0x35e576)=>fn(_0x17d2de,_0x32cbbd+'',_0x35e576);function _0x3ab1(_0x1a279f,_0x2722ae){const _0x3b8eaa=_0x3b8e();return _0x3ab1=function(_0x3ab15d,_0x59ac7a){_0x3ab15d=_0x3ab15d-0x1ba;let _0x2b1b98=_0x3b8eaa[_0x3ab15d];return _0x2b1b98;},_0x3ab1(_0x1a279f,_0x2722ae);}const gn=_0x331f18(0x2fe);let Ae=class extends _0x33a716{constructor(_0x149f17=et,_0x52c8a7,_0x21a265,_0x76a516){const _0x3135b8=_0x331f18;super(),this['_config']=_0x149f17,this['_renderManagerService']=_0x52c8a7,this[_0x3135b8(0x363)]=_0x21a265,this[_0x3135b8(0x2a0)]=_0x76a516;const {..._0x5745c1}=_0x317109({},et,this[_0x3135b8(0x30d)]);this['_configService']['setConfig'](Zi,_0x5745c1);}['onStarting'](){const _0x2eba23=_0x331f18;this['_registerDependencies'](),this[_0x2eba23(0x2b4)]();}[_0x331f18(0x206)](){const _0x331f89=_0x331f18;this[_0x331f89(0x2a9)]();}['_registerDependencies'](){const _0x48e003=_0x331f18;var _0x3bf27c;const _0x4a330b=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x2b549f,{'useClass':_0x3a4cf3}],[_0x1f8fe6,{'useClass':we}],[te],[ae],[se],[H],[Ne],[ie]];_0x2a2fdf(this['_injector'],_0x420f1d(_0x4a330b,(_0x3bf27c=this[_0x48e003(0x30d)])==null?void 0x0:_0x3bf27c[_0x48e003(0x2f6)]));}[_0x331f18(0x2a9)](){const _0x550819=_0x331f18;this[_0x550819(0x2ee)](this[_0x550819(0x23e)][_0x550819(0x396)](_0x1213d9[_0x550819(0x29a)],[Pe])),this[_0x550819(0x2ee)](this[_0x550819(0x23e)][_0x550819(0x396)](_0x1213d9[_0x550819(0x3a5)],[Le]));}[_0x331f18(0x2b4)](){_0x168a7f(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x331f18(0x2e1),gn),Ae=Sn([_0x1f51c3(_0x53113a),Oe(0x1,_0x33433a),Oe(0x2,_0x4d7f15(_0x5c9129)),Oe(0x3,_0x9ec538)],Ae);var In=Object['getOwnPropertyDescriptor'],vn=(_0x452085,_0x3c7f08,_0x24d2af,_0x306a5a)=>{const _0x3ccaec=_0x331f18;for(var _0x1e71ad=_0x306a5a>0x1?void 0x0:_0x306a5a?In(_0x3c7f08,_0x24d2af):_0x3c7f08,_0x1341ed=_0x452085[_0x3ccaec(0x203)]-0x1,_0x1abfc2;_0x1341ed>=0x0;_0x1341ed--)(_0x1abfc2=_0x452085[_0x1341ed])&&(_0x1e71ad=_0x1abfc2(_0x1e71ad)||_0x1e71ad);return _0x1e71ad;},K=(_0xe2595a,_0x258a7f)=>(_0xed8319,_0x5ec662)=>_0x258a7f(_0xed8319,_0x5ec662,_0xe2595a);let st=class extends _0x33c9fc{constructor(_0x4e20b5,_0x2d9c1a,_0x14da64,_0x44d034,_0x5e903d){super(_0x4e20b5,_0x2d9c1a,_0x14da64,_0x44d034,_0x5e903d);}async['createSocket'](_0xfb2ece){const _0x31a606=_0x331f18,_0x37cef9=await this['_getSessionTicket'](),_0x27fd1f=this[_0x31a606(0x212)](_0xfb2ece,_0x37cef9);return this[_0x31a606(0x259)](_0x27fd1f);}['_createSocketURL'](_0x2fcc96,_0x14755c){const _0x15a5a4=_0x331f18,_0x486cf8=typeof window>'u'?new URL(_0x2fcc96):new URL(_0x2fcc96,window['location'][_0x15a5a4(0x260)]);_0x486cf8['searchParams'][_0x15a5a4(0x2b0)](_0x15a5a4(0x383),_0x14755c);const _0x43dbc8=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x15a5a4(0x37b)]);return _0x43dbc8['get'](_0x15a5a4(0x314))&&_0x486cf8[_0x15a5a4(0x2ea)][_0x15a5a4(0x2b0)](_0x15a5a4(0x314),_0x43dbc8[_0x15a5a4(0x2dd)](_0x15a5a4(0x314))),_0x486cf8[_0x15a5a4(0x23f)]();}async[_0x331f18(0x1ce)](){const _0x3a30f2=_0x331f18;var _0x440128,_0x24969c,_0x283abd;const _0x429f1c=this[_0x3a30f2(0x2a0)]['getConfig'](_0x530dc3),_0x47d090=(_0x440128=_0x429f1c==null?void 0x0:_0x429f1c['wsSessionTicketUrl'])!=null?_0x440128:_0x28f62b;return(_0x283abd=(_0x24969c=(await this['_httpService'][_0x3a30f2(0x2dd)](_0x47d090,{'headers':{'Content-Type':_0x3a30f2(0x1e5)}}))[_0x3a30f2(0x2e8)])==null?void 0x0:_0x24969c[_0x3a30f2(0x318)])!=null?_0x283abd:'';}};st=vn([K(0x0,_0x4d7f15(_0x5c9129)),K(0x1,_0x4d7f15(_0x5e48a6)),K(0x2,_0x9ec538),K(0x3,_0x57bd66),K(0x4,_0x1113b2)],st);const it=0x7530,nt=_0x331f18(0x32c);class jn extends _0x241117{constructor(){const _0x231d7a=_0x331f18;super(),_(this,'_id',_0x1e472d()),_(this,_0x231d7a(0x347),new Set()),_(this,_0x231d7a(0x376),new Map()),_(this,_0x231d7a(0x1c3),null),_(this,_0x231d7a(0x2aa),new Map()),_(this,_0x231d7a(0x352),new Map()),this['_init']();}['dispose'](){const _0x1f1b04=_0x331f18;super['dispose'](),this['_clearOtherTimers'][_0x1f1b04(0x1ef)]((_0x3f49aa,_0xecf434)=>this[_0x1f1b04(0x32b)](_0xecf434)),this[_0x1f1b04(0x1c3)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x331f18(0x27b)](_0x4509a8){const _0x4c1392=_0x331f18;return this[_0x4c1392(0x3a2)](_0x4509a8)[_0x4c1392(0x303)](_0x1d603e());}[_0x331f18(0x1c9)](_0x191b06){const _0x287aed=_0x331f18;this['_selfUnitIDs']['size']===0x0&&this[_0x287aed(0x230)](),this['_selfUnitIDs'][_0x287aed(0x319)](_0x191b06),this[_0x287aed(0x30e)]({'type':0x0,'memberID':this[_0x287aed(0x3b4)],'unitIDs':[_0x191b06],'isForwarded':!0x1});}[_0x331f18(0x3a0)](_0xc91570){const _0x320b93=_0x331f18;this[_0x320b93(0x347)]['delete'](_0xc91570),this[_0x320b93(0x347)][_0x320b93(0x1f6)]===0x0&&this['_heartbeatTimer']&&window[_0x320b93(0x309)](this['_heartbeatTimer']);}['_init'](){const _0x1920cc=_0x331f18;this[_0x1920cc(0x2ee)](_0x2b4792(_0x1737c3(window,_0x1920cc(0x37f))[_0x1920cc(0x1ed)](_0x1e42de=>{const _0xdf2c6f=_0x1920cc;if(_0x1e42de[_0xdf2c6f(0x28e)]!==nt||!_0x1e42de[_0xdf2c6f(0x2f0)])return;const _0x497f91=JSON[_0xdf2c6f(0x2a6)](_0x1e42de['newValue']);this[_0xdf2c6f(0x3b0)](_0x497f91);}))),window[_0x1920cc(0x38d)]('unload',()=>this[_0x1920cc(0x30e)]({'type':0x1,'memberID':this[_0x1920cc(0x3b4)],'unitIDs':Array[_0x1920cc(0x38b)](this[_0x1920cc(0x347)])}));}[_0x331f18(0x3b0)](_0x18dfad){const _0x3fb947=_0x331f18;switch(_0x18dfad[_0x3fb947(0x337)]){case 0x0:this[_0x3fb947(0x37a)](_0x18dfad);break;case 0x1:this[_0x3fb947(0x266)](_0x18dfad);break;case 0x2:this[_0x3fb947(0x1e9)](_0x18dfad);break;}}[_0x331f18(0x37a)](_0x4f9c8d){const _0x53513f=_0x331f18,{unitIDs:_0xdd5c0f,memberID:_0x403bec,isForwarded:_0x178102}=_0x4f9c8d;_0xdd5c0f[_0x53513f(0x1ef)](_0x8b4360=>{const _0x121ff0=_0x53513f;if(!_0x178102&&this[_0x121ff0(0x376)][_0x121ff0(0x1c5)](_0x8b4360)&&this[_0x121ff0(0x3a2)](_0x8b4360)[_0x121ff0(0x2f2)](_0xdb3837[_0x121ff0(0x22c)]),!this['_unitOnClients']['has'](_0x8b4360)||!this[_0x121ff0(0x376)][_0x121ff0(0x2dd)](_0x8b4360)[_0x121ff0(0x1c5)](_0x403bec)){const _0x55b509=this[_0x121ff0(0x376)][_0x121ff0(0x2dd)](_0x8b4360)||new Set();_0x55b509[_0x121ff0(0x319)](_0x403bec),this[_0x121ff0(0x376)][_0x121ff0(0x2b0)](_0x8b4360,_0x55b509),this[_0x121ff0(0x1c6)](_0x403bec);}}),_0x178102||this[_0x53513f(0x30e)]({'type':0x0,'memberID':this[_0x53513f(0x3b4)],'unitIDs':[...this[_0x53513f(0x347)]],'isForwarded':!0x0});}[_0x331f18(0x1c6)](_0x18699a){const _0x1002e7=_0x331f18;this[_0x1002e7(0x32b)](_0x18699a);const _0x3cdc20=window[_0x1002e7(0x207)](()=>{const _0x2c5cb6=_0x1002e7;this[_0x2c5cb6(0x376)][_0x2c5cb6(0x1ef)](_0x3167ae=>{_0x3167ae['delete'](_0x18699a);});},it*0x2);this[_0x1002e7(0x2aa)][_0x1002e7(0x2b0)](_0x18699a,_0x3cdc20);}[_0x331f18(0x32b)](_0x12fe4e){const _0x3602b2=_0x331f18;if(this[_0x3602b2(0x2aa)][_0x3602b2(0x1c5)](_0x12fe4e)){const _0x1a5f29=this[_0x3602b2(0x2aa)][_0x3602b2(0x2dd)](_0x12fe4e);_0x1a5f29&&window['clearTimeout'](_0x1a5f29),this[_0x3602b2(0x2aa)][_0x3602b2(0x2b0)](_0x12fe4e,null);}}[_0x331f18(0x266)](_0x414454){const _0x9e15f=_0x331f18,{memberID:_0x648f08,unitIDs:_0xe2d3af}=_0x414454;_0xe2d3af['forEach'](_0x21a041=>{const _0x302683=_0x3ab1;var _0x45e25d;const _0x30df1f=this[_0x302683(0x376)][_0x302683(0x2dd)](_0x21a041);_0x30df1f&&(_0x30df1f['delete'](_0x648f08),(_0x45e25d=this[_0x302683(0x3a2)](_0x21a041))==null||_0x45e25d['next'](_0x30df1f[_0x302683(0x1f6)]===0x0?_0xdb3837[_0x302683(0x1f5)]:_0xdb3837['OTHER_CLIENTS_EDITING']));}),this[_0x9e15f(0x32b)](_0x648f08);}[_0x331f18(0x1e9)](_0x4f1e59){const _0x566b68=_0x331f18;this[_0x566b68(0x1c6)](_0x4f1e59[_0x566b68(0x32d)]);}[_0x331f18(0x30e)](_0x479312){const _0x437a6b=_0x331f18;localStorage[_0x437a6b(0x20a)](nt,JSON[_0x437a6b(0x1e1)](_0x479312));}[_0x331f18(0x230)](){const _0x55141f=_0x331f18;this[_0x55141f(0x1c3)]=window['setInterval'](()=>{const _0x3d942a=_0x55141f;this[_0x3d942a(0x30e)]({'type':0x2,'memberID':this[_0x3d942a(0x3b4)]});},it);}[_0x331f18(0x3a2)](_0x11fed4){const _0x4e44cf=_0x331f18;return this[_0x4e44cf(0x352)][_0x4e44cf(0x1c5)](_0x11fed4)||this['_unitStatus'][_0x4e44cf(0x2b0)](_0x11fed4,new _0x19d59e(_0xdb3837[_0x4e44cf(0x1f5)])),this['_unitStatus'][_0x4e44cf(0x2dd)](_0x11fed4);}}var Mt=(_0x2a3cbc=>(_0x2a3cbc[_0x2a3cbc['UNDEFINED']=0x0]=_0x331f18(0x270),_0x2a3cbc[_0x2a3cbc['OK']=0x1]='OK',_0x2a3cbc[_0x2a3cbc[_0x331f18(0x333)]=0x2]=_0x331f18(0x333),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x36a)]=0x3]='PERMISSION_DENIED',_0x2a3cbc[_0x2a3cbc[_0x331f18(0x20d)]=0x4]='NOT_FOUND',_0x2a3cbc[_0x2a3cbc[_0x331f18(0x379)]=0x5]=_0x331f18(0x379),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x214)]=0x6]=_0x331f18(0x214),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x2c7)]=0x7]=_0x331f18(0x2c7),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x235)]=0x8]=_0x331f18(0x235),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x2be)]=0x9]=_0x331f18(0x2be),_0x2a3cbc[_0x2a3cbc['LOGIN_FAILED']=0xa]=_0x331f18(0x25f),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x373)]=0x1389]=_0x331f18(0x373),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x247)]=0x1771]=_0x331f18(0x247),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x2c4)]=0x1772]=_0x331f18(0x2c4),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x284)]=0x1773]=_0x331f18(0x284),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x2a3)]=0x1b59]=_0x331f18(0x2a3),_0x2a3cbc[_0x2a3cbc['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x331f18(0x2d5),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x1ba)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2a3cbc[_0x2a3cbc[_0x331f18(0x2c1)]=0x1b5c]=_0x331f18(0x2c1),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x39c)]=0x1b5d]=_0x331f18(0x39c),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x27c)]=0x1f41]=_0x331f18(0x27c),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x256)]=0x2329]=_0x331f18(0x256),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x30b)]=0x232a]=_0x331f18(0x30b),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x258)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2a3cbc[_0x2a3cbc[_0x331f18(0x358)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2a3cbc[_0x2a3cbc['LICENSE_DISTRO_REJECTED']=0x232d]=_0x331f18(0x1c0),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x353)]=0x2711]=_0x331f18(0x353),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x1dc)]=0x2712]=_0x331f18(0x1dc),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x226)]=0x2713]=_0x331f18(0x226),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x2b8)]=0x2714]=_0x331f18(0x2b8),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x25d)]=0x271a]=_0x331f18(0x25d),_0x2a3cbc[_0x2a3cbc['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x331f18(0x271),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x342)]=0x271c]=_0x331f18(0x342),_0x2a3cbc[_0x2a3cbc['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2a3cbc[_0x2a3cbc[_0x331f18(0x281)]=0x271e]=_0x331f18(0x281),_0x2a3cbc[_0x2a3cbc['YUUMI_AI_RUN_FAILED']=0x271f]=_0x331f18(0x323),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x263)]=0x2af9]=_0x331f18(0x263),_0x2a3cbc[_0x2a3cbc['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2a3cbc[_0x2a3cbc[_0x331f18(0x276)]=0x2ee2]=_0x331f18(0x276),_0x2a3cbc[_0x2a3cbc['INVITE_CODE_REQUIRED']=0x2ee3]=_0x331f18(0x28f),_0x2a3cbc[_0x2a3cbc['USER_NOT_INVITED_CODE']=0x2ee4]=_0x331f18(0x20b),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x399)]=0x2ee5]=_0x331f18(0x399),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x261)]=0x32c9]=_0x331f18(0x261),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x370)]=0x32ca]=_0x331f18(0x370),_0x2a3cbc[_0x2a3cbc[_0x331f18(0x211)]=0x32cb]=_0x331f18(0x211),_0x2a3cbc[_0x2a3cbc['UNRECOGNIZED']=-0x1]=_0x331f18(0x2e4),_0x2a3cbc))(Mt||{}),pn=Object[_0x331f18(0x26f)],Cn=(_0x452640,_0x33df1b,_0x3780f3,_0x3fbe69)=>{const _0x53014c=_0x331f18;for(var _0x1b67a2=_0x3fbe69>0x1?void 0x0:_0x3fbe69?pn(_0x33df1b,_0x3780f3):_0x33df1b,_0x328f6f=_0x452640[_0x53014c(0x203)]-0x1,_0x57f2ab;_0x328f6f>=0x0;_0x328f6f--)(_0x57f2ab=_0x452640[_0x328f6f])&&(_0x1b67a2=_0x57f2ab(_0x1b67a2)||_0x1b67a2);return _0x1b67a2;},be=(_0x24a7f0,_0x452338)=>(_0x45681e,_0x95a52a)=>_0x452338(_0x45681e,_0x95a52a,_0x24a7f0);let rt=class extends _0x241117{constructor(_0x59308b,_0x2ad205,_0x106993){const _0x5886b2=_0x331f18;super(),this[_0x5886b2(0x3a8)]=_0x59308b,this[_0x5886b2(0x368)]=_0x2ad205,this[_0x5886b2(0x2a0)]=_0x106993;}async['runOnServer'](_0x3468db,_0x3a6970,_0x13a276,..._0x3822eb){const _0x2874b7=_0x331f18;var _0x4b454e,_0x260701,_0x421260,_0x3a8e13;const _0xf084ca=this['_instanceService']['getFocusedUnit']();if(!_0xf084ca)throw new Error(_0x2874b7(0x325));const _0x52b537=((_0x4b454e=this[_0x2874b7(0x2a0)]['getConfig'](_0x453588))!=null?_0x4b454e:_0x880da3)+'/'+_0x3468db+_0x2874b7(0x392)+_0x3a6970,_0x53fdee=new URL(window[_0x2874b7(0x2d4)][_0x2874b7(0x2c2)]),_0x59f62e={'scriptId':_0x3468db,'runId':(_0x260701=_0x53fdee[_0x2874b7(0x2ea)][_0x2874b7(0x2dd)](_0x2874b7(0x314)))!=null?_0x260701:'','function':_0x3a6970,'unitId':_0xf084ca[_0x2874b7(0x24f)](),'argsOfFunction':JSON[_0x2874b7(0x1e1)](_0x3822eb),'invokeId':(_0x421260=_0x13a276['invokeId'])!=null?_0x421260:'','executionId':(_0x3a8e13=_0x13a276['executionId'])!=null?_0x3a8e13:''};try{const _0x597d9e=await this[_0x2874b7(0x368)][_0x2874b7(0x255)](_0x52b537,{'body':_0x59f62e});return _0x597d9e[_0x2874b7(0x2e8)][_0x2874b7(0x27f)]&&_0x597d9e[_0x2874b7(0x2e8)][_0x2874b7(0x27f)][_0x2874b7(0x2c9)]!==Mt['OK']?_0x2874b7(0x371):_0x597d9e['body'][_0x2874b7(0x257)];}catch{return _0x2874b7(0x371);}}};rt=Cn([be(0x0,_0x2a3bfe),be(0x1,_0x4d7f15(_0x5e48a6)),be(0x2,_0x9ec538)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,wi as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0x4161(){const _0xdd75f3=['Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','2611485cemWSK','Click\x20to\x20Reconnect','2766532BSCqpt','Synced','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','3377VaxeYy','66DTRdNf','Authentication\x20Error','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Syncing\x20server\x20data...','138300oYNMun','228405hvNhyx','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','35dNvbvp','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','5GOdQdi','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Connection\x20failed,\x20please\x20check\x20your\x20network.','399912hXhDPX','38580fSsOPL','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Local\x20file','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','288IvZKqS','Syncing...','329964PxAghE'];_0x4161=function(){return _0xdd75f3;};return _0x4161();}function _0x1192(_0x17071f,_0x367279){const _0x416130=_0x4161();return _0x1192=function(_0x11926d,_0x4069f0){_0x11926d=_0x11926d-0xcb;let _0x4ae9ac=_0x416130[_0x11926d];return _0x4ae9ac;},_0x1192(_0x17071f,_0x367279);}const _0x272b98=_0x1192;(function(_0x5e145d,_0x407340){const _0x2f2a03=_0x1192,_0xe2e810=_0x5e145d();while(!![]){try{const _0x4b4869=-parseInt(_0x2f2a03(0xd6))/0x1*(-parseInt(_0x2f2a03(0xe0))/0x2)+-parseInt(_0x2f2a03(0xe3))/0x3+parseInt(_0x2f2a03(0xe5))/0x4+parseInt(_0x2f2a03(0xd1))/0x5*(-parseInt(_0x2f2a03(0xcc))/0x6)+-parseInt(_0x2f2a03(0xd3))/0x7*(parseInt(_0x2f2a03(0xd9))/0x8)+parseInt(_0x2f2a03(0xde))/0x9*(-parseInt(_0x2f2a03(0xd0))/0xa)+-parseInt(_0x2f2a03(0xcb))/0xb*(-parseInt(_0x2f2a03(0xda))/0xc);if(_0x4b4869===_0x407340)break;else _0xe2e810['push'](_0xe2e810['shift']());}catch(_0x4ce5fa){_0xe2e810['push'](_0xe2e810['shift']());}}}(_0x4161,0x6af29));const e={'collab-client':{'tooltip':{'reconnect':_0x272b98(0xe4)}},'collabStatus':{'fetchMiss':_0x272b98(0xcf),'conflict':_0x272b98(0xe2),'notCollab':_0x272b98(0xdc),'synced':_0x272b98(0xe6),'syncing':_0x272b98(0xdf),'offline':_0x272b98(0xd5)},'session':{'connection-failed':_0x272b98(0xd8),'will-retry':_0x272b98(0xe7),'room-full':_0x272b98(0xd2),'collaboration-timeout':_0x272b98(0xdb)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x272b98(0xce)},'permission':{'title':_0x272b98(0xcd),'content':_0x272b98(0xd4)},'collaboration':{'single-unit':{'warning':_0x272b98(0xdd)},'closeRoom':_0x272b98(0xe1)},'auth':{'needGotoLoginAlert':_0x272b98(0xd7)}};export{e as default};
1
+ function _0x34b8(){const _0x165d2e=['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.','Click\x20to\x20Reconnect','Local\x20file','12lywWBE','11crmOGo','160UCwLbg','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','235102RGJMfX','2102490CrSfkT','Collaboration\x20Conflict','24sgpDtl','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','199596QXPzBZ','Syncing...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','112JFcboH','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Connection\x20failed,\x20please\x20check\x20your\x20network.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','10565slaPDa','4998660QRgUBo','163044CISTTf','292635EwHTrN','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.'];_0x34b8=function(){return _0x165d2e;};return _0x34b8();}function _0x50f4(_0x3a35b6,_0x1ccd9c){const _0x34b836=_0x34b8();return _0x50f4=function(_0x50f4ee,_0x2cb532){_0x50f4ee=_0x50f4ee-0x1b9;let _0x225dd8=_0x34b836[_0x50f4ee];return _0x225dd8;},_0x50f4(_0x3a35b6,_0x1ccd9c);}const _0x4e4897=_0x50f4;(function(_0x1a2700,_0x16bcfa){const _0x1b2064=_0x50f4,_0x3905cc=_0x1a2700();while(!![]){try{const _0x41ebef=parseInt(_0x1b2064(0x1cd))/0x1*(parseInt(_0x1b2064(0x1c3))/0x2)+parseInt(_0x1b2064(0x1bc))/0x3*(parseInt(_0x1b2064(0x1c5))/0x4)+-parseInt(_0x1b2064(0x1d0))/0x5+-parseInt(_0x1b2064(0x1c1))/0x6+-parseInt(_0x1b2064(0x1c0))/0x7*(-parseInt(_0x1b2064(0x1c8))/0x8)+-parseInt(_0x1b2064(0x1cf))/0x9*(-parseInt(_0x1b2064(0x1be))/0xa)+-parseInt(_0x1b2064(0x1bd))/0xb*(parseInt(_0x1b2064(0x1ce))/0xc);if(_0x41ebef===_0x16bcfa)break;else _0x3905cc['push'](_0x3905cc['shift']());}catch(_0x17010d){_0x3905cc['push'](_0x3905cc['shift']());}}}(_0x34b8,0x3fb4b));const e={'collab-client':{'tooltip':{'reconnect':_0x4e4897(0x1ba)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':'Edit\x20conflicts','notCollab':_0x4e4897(0x1bb),'synced':'Synced','syncing':_0x4e4897(0x1c6),'offline':_0x4e4897(0x1c7)},'session':{'connection-failed':_0x4e4897(0x1ca),'will-retry':_0x4e4897(0x1d2),'room-full':_0x4e4897(0x1bf),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x4e4897(0x1c2),'content':_0x4e4897(0x1b9)},'permission':{'title':_0x4e4897(0x1cc),'content':_0x4e4897(0x1d1)},'collaboration':{'single-unit':{'warning':_0x4e4897(0x1c9)},'closeRoom':_0x4e4897(0x1cb)},'auth':{'needGotoLoginAlert':_0x4e4897(0x1c4)}};export{e as default};
@@ -1 +1 @@
1
- function _0x1321(){const _0x41d3ca=['6bbnxcG','7842023XBunYQ','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','32HQZvkN','7943240dExsYf','3970LriJTH','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','همگام\x20سازی','تداخل\x20ویرایش','392QhSQFL','در\x20حال\x20همگام\x20سازی...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','6WYiQUm','67109JZTfxY','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','پرونده\x20محلی','320979CIBAiM','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','22595529okOHLQ','1378656KNcLyq','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'];_0x1321=function(){return _0x41d3ca;};return _0x1321();}const _0x1cdd3b=_0x23b6;(function(_0x137982,_0x1ac03e){const _0x451424=_0x23b6,_0x3c5157=_0x137982();while(!![]){try{const _0x1b8855=-parseInt(_0x451424(0x195))/0x1*(parseInt(_0x451424(0x194))/0x2)+parseInt(_0x451424(0x182))/0x3+-parseInt(_0x451424(0x191))/0x4*(parseInt(_0x451424(0x18d))/0x5)+-parseInt(_0x451424(0x187))/0x6*(parseInt(_0x451424(0x188))/0x7)+-parseInt(_0x451424(0x18b))/0x8*(-parseInt(_0x451424(0x185))/0x9)+-parseInt(_0x451424(0x18c))/0xa+parseInt(_0x451424(0x184))/0xb;if(_0x1b8855===_0x1ac03e)break;else _0x3c5157['push'](_0x3c5157['shift']());}catch(_0x349029){_0x3c5157['push'](_0x3c5157['shift']());}}}(_0x1321,0x8da14));const o={'collab-client':{'tooltip':{'reconnect':_0x1cdd3b(0x189)}},'collabStatus':{'fetchMiss':'در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','conflict':_0x1cdd3b(0x190),'notCollab':_0x1cdd3b(0x198),'synced':_0x1cdd3b(0x18f),'syncing':_0x1cdd3b(0x192),'offline':_0x1cdd3b(0x197)},'session':{'connection-failed':_0x1cdd3b(0x18e),'will-retry':_0x1cdd3b(0x18a),'room-full':_0x1cdd3b(0x193),'collaboration-timeout':_0x1cdd3b(0x186)},'conflict':{'title':'تداخل\x20همکاری','content':_0x1cdd3b(0x183)},'permission':{'title':'خطای\x20اعتبارسنجی','content':_0x1cdd3b(0x196)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};function _0x23b6(_0x1fec56,_0x49cfb8){const _0x132137=_0x1321();return _0x23b6=function(_0x23b606,_0x117bf4){_0x23b606=_0x23b606-0x182;let _0x4037d3=_0x132137[_0x23b606];return _0x4037d3;},_0x23b6(_0x1fec56,_0x49cfb8);}export{o as default};
1
+ const _0x1c6735=_0xb694;function _0xb694(_0x320de,_0x5476af){const _0x47e34b=_0x47e3();return _0xb694=function(_0xb6940f,_0x3798b8){_0xb6940f=_0xb6940f-0x145;let _0x597824=_0x47e34b[_0xb6940f];return _0x597824;},_0xb694(_0x320de,_0x5476af);}function _0x47e3(){const _0x55b637=['خطای\x20اعتبارسنجی','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','9spQSRX','45srHOek','7WguTQX','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','1375228OKMtLj','همگام\x20سازی','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','197934zHPVlQ','تداخل\x20همکاری','809238lIFTCj','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','2490792gaUzSI','در\x20حال\x20همگام\x20سازی...','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','4539832xHJuuQ','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','26263410BZAdVU','291378WEOtoA'];_0x47e3=function(){return _0x55b637;};return _0x47e3();}(function(_0x4f1c6b,_0x423ac9){const _0x2e8f99=_0xb694,_0x57d467=_0x4f1c6b();while(!![]){try{const _0x5055e7=parseInt(_0x2e8f99(0x15b))/0x1+parseInt(_0x2e8f99(0x156))/0x2+-parseInt(_0x2e8f99(0x159))/0x3+parseInt(_0x2e8f99(0x148))/0x4+-parseInt(_0x2e8f99(0x152))/0x5*(-parseInt(_0x2e8f99(0x14c))/0x6)+parseInt(_0x2e8f99(0x153))/0x7*(parseInt(_0x2e8f99(0x15d))/0x8)+-parseInt(_0x2e8f99(0x151))/0x9*(parseInt(_0x2e8f99(0x14b))/0xa);if(_0x5055e7===_0x423ac9)break;else _0x57d467['push'](_0x57d467['shift']());}catch(_0x59a61a){_0x57d467['push'](_0x57d467['shift']());}}}(_0x47e3,0xa7f23));const o={'collab-client':{'tooltip':{'reconnect':_0x1c6735(0x154)}},'collabStatus':{'fetchMiss':_0x1c6735(0x14e),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x1c6735(0x157),'syncing':_0x1c6735(0x145),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':_0x1c6735(0x150),'will-retry':_0x1c6735(0x155),'room-full':_0x1c6735(0x14f),'collaboration-timeout':_0x1c6735(0x147)},'conflict':{'title':_0x1c6735(0x15a),'content':_0x1c6735(0x146)},'permission':{'title':_0x1c6735(0x14d),'content':_0x1c6735(0x14a)},'collaboration':{'single-unit':{'warning':_0x1c6735(0x149)},'closeRoom':_0x1c6735(0x15c)},'auth':{'needGotoLoginAlert':_0x1c6735(0x158)}};export{o as default};