@univerjs-pro/collaboration-client-ui 0.8.1-nightly.202506171607 → 0.8.1-nightly.202506181607

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 _0x252217=_0x1ea5;(function(_0x2ac325,_0x3c3ea9){const _0x24ab00=_0x1ea5,_0x1412f3=_0x2ac325();while(!![]){try{const _0x15a6e0=-parseInt(_0x24ab00(0x1fa))/0x1+-parseInt(_0x24ab00(0x19e))/0x2*(parseInt(_0x24ab00(0x343))/0x3)+-parseInt(_0x24ab00(0x319))/0x4+parseInt(_0x24ab00(0x339))/0x5*(parseInt(_0x24ab00(0x352))/0x6)+-parseInt(_0x24ab00(0x2f4))/0x7+parseInt(_0x24ab00(0x226))/0x8*(parseInt(_0x24ab00(0x1ba))/0x9)+parseInt(_0x24ab00(0x315))/0xa;if(_0x15a6e0===_0x3c3ea9)break;else _0x1412f3['push'](_0x1412f3['shift']());}catch(_0x3ec558){_0x1412f3['push'](_0x1412f3['shift']());}}}(_0x1cf4,0x823b2));var $t=Object[_0x252217(0x35a)],xt=(_0x3cdfa9,_0x3be9aa,_0x3ffbac)=>_0x3be9aa in _0x3cdfa9?$t(_0x3cdfa9,_0x3be9aa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ffbac}):_0x3cdfa9[_0x3be9aa]=_0x3ffbac,_=(_0x4f8816,_0x30094a,_0x1c0a62)=>xt(_0x4f8816,typeof _0x30094a!=_0x252217(0x22b)?_0x30094a+'':_0x30094a,_0x1c0a62);import{MemberService as _0x4742b5,SessionStatus as _0x14840a,CollaborationSessionService as _0x158b64,CollaborationStatus as _0x3eac87,CollaborationController as _0xd0ad51,ILocalCacheService as _0x2d2aa5,CollaborationUIEventService as _0x1c6f84,CollaborationUIEventId as _0x583ad6,DataLoaderService as _0x33a7f6,DocCollaborationEntity as _0x58a2ff,getLocalCacheKey as _0x5ac624,LOCAL_CACHE_INTERVAL as _0x4dd31f,LOCAL_CACHE_INTERVAL_KEY as _0x202da9,UniverCollaborationClientPlugin as _0x515576,CollaborationSocketService as _0x196c88,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x187f1d,DEFAULT_WS_SESSION_TICKET_URL as _0x4ee07e,UnitStatus as _0x59fbcc,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x2c1c0e,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0xfdc127}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x402deb,Disposable as _0x271547,DOC_RANGE_TYPE as _0x37f902,Inject as _0x473849,Injector as _0x25a4c0,IUniverInstanceService as _0x1ba300,ICommandService as _0x192617,debounce as _0x30c378,Rectangle as _0x35b3ef,DisposableCollection as _0x1c3441,toDisposable as _0x50b6ce,UniverInstanceType as _0x1a81f3,Tools as _0xde0aa9,COLORS as _0x5e612c,ColorKit as _0x1c73bd,ThemeService as _0x261a17,fromEventSubject as _0x47b532,LocaleService as _0x2371b9,createIdentifier as _0x3878eb,ILogService as _0x49ab64,Optional as _0x3e1f2d,Workbook as _0x414d66,CommandType as _0x2019a3,IConfigService as _0x541aa1,ILocalStorageService as _0x3cbbfd,DependentOn as _0x3c0369,Plugin as _0x129955,merge as _0x2eb7a4,registerDependencies as _0xe33591,mergeOverrideWithDependencies as _0x202bf1,touchDependencies as _0x2fc7f7,generateRandomId as _0x663e96}from'@univerjs/core';import{Shape as _0x44b883,Rect as _0x25cb14,getColor as _0x55d726,RegularPolygon as _0x316b52,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x21e5b4,Vector2 as _0x4e75d0,SHEET_VIEWPORT_KEY as _0x4a6af8,IRenderManagerService as _0x4c7bc5}from'@univerjs/engine-render';import{ISocketService as _0x14bea5,WebSocketService as _0x5644fe,HTTPService as _0x4f8f19}from'@univerjs/network';import{IDocClipboardService as _0xc74a47,NodePositionConvertToCursor as _0x47b29e,NodePositionConvertToRectRange as _0x5f2b9e,TEXT_RANGE_LAYER_INDEX as _0x311489,SetDocZoomRatioOperation as _0x4c74f8,DocIMEInputManagerService as _0x233890,DocStateChangeManagerService as _0x54e3f0}from'@univerjs/docs-ui';import{IImageIoService as _0x44ab7b}from'@univerjs/drawing';import{BehaviorSubject as _0x88603b,debounceTime as _0x1e78a7,takeUntil as _0x46b83f,Subject as _0x5da22c,filter as _0x13130b,switchMap as _0x14092f,merge as _0x3e635e,combineLatest as _0x569e06,of as _0x583da3,fromEvent as _0x2922f1,shareReplay as _0x11aefe,mapTo as _0x321369,distinctUntilChanged as _0x4f6056}from'rxjs';import{SetTextSelectionsOperation as _0x2c3b54,RichTextEditingMutation as _0x3e5575,DocSelectionManagerService as _0x865cc4,DocSkeletonManagerService as _0x1ee09e}from'@univerjs/docs';import{ITransformService as _0x409fe5,CollaborationEvent as _0x1ae4a0,isTransformMutationFailure as _0x41ed2e,isTransformMutationsWithChangesetSuccess as _0x18ec12,RevisionService as _0x47a4ee,ISnapshotServerService as _0x102f3f}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x404216,serializeRangeWithSheet as _0x159cae}from'@univerjs/engine-formula';import{RefRangeService as _0x3d8b4b,SetSelectionsOperation as _0x5c95cb,SheetsSelectionsService as _0x5fa197,EffectRefRangId as _0x3ec484,handleIRemoveRow as _0x515831,handleIRemoveCol as _0x4fe2a9,handleMoveRange as _0x1a5872,handleInsertRow as _0x5641d7,handleInsertRangeMoveRight as _0x5612f2,handleInsertRangeMoveDown as _0x4fb699,handleInsertCol as _0x3367cf,handleDeleteRangeMoveUp as _0x1f2c87,handleDeleteRangeMoveLeft as _0x5509a6,runRefRangeMutations as _0x1ab6c9,SetWorksheetActivateCommand as _0x30ccf7}from'@univerjs/sheets';import{map as _0x5d9611,filter as _0x27c7c4,throttleTime as _0x124d51,takeUntil as _0x11b56a,switchMap as _0x539d0f}from'rxjs/operators';import{SheetSkeletonManagerService as _0x298d79,getCoordByCell as _0x4645fe,getSheetObject as _0xb5a9df}from'@univerjs/sheets-ui';import{jsx as _0xd21116,jsxs as _0x26b6bc}from'react/jsx-runtime';import{useObservable as _0x59a373,useDependency as _0x280a05,IUIPartsService as _0x1c0f1d,BuiltInUIPart as _0x1aca9a,connectInjector as _0x393173,IBeforeCloseService as _0x5e0be0,IMessageService as _0x408bbf,INotificationService as _0xb77896}from'@univerjs/ui';import{Tooltip as _0x1651d9,clsx as _0x19f69f,MessageType as _0x483245}from'@univerjs/design';import{forwardRef as _0x778632,useRef as _0x22f287,createElement as _0x5e898e,useCallback as _0x47d919}from'react';import{IRemoteInstanceService as _0x331246}from'@univerjs/rpc';var ci=Object[_0x252217(0x34f)],li=(_0x30f98c,_0x115e5b,_0xc10634,_0x31b81f)=>{const _0xb8a993=_0x252217;for(var _0x41a688=_0x31b81f>0x1?void 0x0:_0x31b81f?ci(_0x115e5b,_0xc10634):_0x115e5b,_0x4fd65c=_0x30f98c[_0xb8a993(0x259)]-0x1,_0x39c7b1;_0x4fd65c>=0x0;_0x4fd65c--)(_0x39c7b1=_0x30f98c[_0x4fd65c])&&(_0x41a688=_0x39c7b1(_0x41a688)||_0x41a688);return _0x41a688;},Je=(_0x3e4e73,_0x589fba)=>(_0x6ba1d0,_0x254983)=>_0x589fba(_0x6ba1d0,_0x254983,_0x3e4e73);let Ne=class extends _0x402deb{constructor(_0x4cbca9,_0x56b17c){const _0x309dc7=_0x252217;super(),this[_0x309dc7(0x35b)]=_0x4cbca9,this[_0x309dc7(0x23b)]=_0x56b17c,this[_0x309dc7(0x183)]();}['_init'](){const _0x1ed86e=_0x252217,_0x3063f2=this;this[_0x1ed86e(0x29b)](this[_0x1ed86e(0x35b)][_0x1ed86e(0x2b7)]({'onBeforePasteImage':async _0x58be9f=>{const _0x359d6c=_0x1ed86e,_0x45c148=await _0x3063f2[_0x359d6c(0x23b)]['saveImage'](_0x58be9f);return _0x45c148?{'source':_0x45c148[_0x359d6c(0x27b)],'imageSourceType':_0x45c148[_0x359d6c(0x182)]}:null;}}));}};Ne=li([Je(0x0,_0xc74a47),Je(0x1,_0x44ab7b)],Ne);const Ze=[_0x252217(0x2e1),_0x252217(0x34e),_0x252217(0x2d5),'red.300','blue.400',_0x252217(0x369)];class ke extends _0x271547{constructor(){const _0x5836bb=_0x252217;super(...arguments),_(this,_0x5836bb(0x21b),new Map()),_(this,_0x5836bb(0x20c),0x0);}[_0x252217(0x1ce)](_0x284c61){const _0x3502fc=_0x252217;if(this['_assignedColors']['has'](_0x284c61))return this[_0x3502fc(0x21b)][_0x3502fc(0x302)](_0x284c61);const _0x269d6c=Ze[this['_colorIndex']];return this[_0x3502fc(0x20c)]=(this[_0x3502fc(0x20c)]+0x1)%Ze[_0x3502fc(0x259)],this[_0x3502fc(0x21b)]['set'](_0x284c61,_0x269d6c),_0x269d6c;}}function Tt(_0x23e28d){const _0x2de94d=_0x252217;let _0x90fb7a='';for(const _0x3e5e5f of _0x23e28d){const {startOffset:_0x484711,endOffset:_0x20df22,isActive:_0x4c701e,rangeType:_0x4dec6f,segmentId:_0xdd88,segmentPage:_0x216004}=_0x3e5e5f;_0x90fb7a[_0x2de94d(0x259)]&&(_0x90fb7a+=','),_0x90fb7a+=_0x484711+':'+_0x20df22+':'+(_0x4c701e?'1':'0')+':'+_0x4dec6f+':'+_0xdd88+':'+_0x216004;}return _0x90fb7a;}function _i(_0x3c77ef){const _0x14d8dd=_0x252217,_0x2b50fc=_0x3c77ef[_0x14d8dd(0x1ad)](','),_0x40657c=[];for(const _0x5785a5 of _0x2b50fc){const [_0x529b65,_0x205e48,_0x22d9d1,_0x45d9a9,_0x5959d3,_0x56b199]=_0x5785a5['split'](':');_0x40657c['push']({'startOffset':Number(_0x529b65),'endOffset':Number(_0x205e48),'collapsed':_0x529b65===_0x205e48,'isActive':_0x22d9d1==='1','rangeType':_0x45d9a9===_0x37f902['TEXT']?_0x37f902[_0x14d8dd(0x2c8)]:_0x37f902['RECT'],'segmentId':typeof _0x5959d3==_0x14d8dd(0x347)?String(_0x5959d3):'','segmentPage':Number(_0x56b199!=null?_0x56b199:-0x1)});}return _0x40657c['some'](_0x285f19=>_0x285f19[_0x14d8dd(0x21e)])||(_0x40657c[0x0][_0x14d8dd(0x21e)]=!0x0),_0x40657c;}class He extends _0x402deb{constructor(){const _0x122351=_0x252217;super(...arguments),_(this,_0x122351(0x291),new _0x88603b(null)),_(this,'collabCursorState$',this[_0x122351(0x291)][_0x122351(0x28a)]());}[_0x252217(0x17b)](_0xe5f560){const _0xbc317d=_0x252217,{unitID:_0x13a916,memberID:_0x33e8f1,textRanges:_0x1b39f9}=_0xe5f560,_0x30e0fc=Tt(_0x1b39f9);if(_0x30e0fc==='')return;const _0x187f62={'unitID':_0x13a916,'memberID':_0x33e8f1,'selection':_0x30e0fc};this[_0xbc317d(0x291)]['next'](_0x187f62);}}var hi=Object[_0x252217(0x34f)],ui=(_0x479605,_0x391c82,_0x2babf6,_0x2a3589)=>{const _0x328855=_0x252217;for(var _0x173d1f=_0x2a3589>0x1?void 0x0:_0x2a3589?hi(_0x391c82,_0x2babf6):_0x391c82,_0x17d1a7=_0x479605[_0x328855(0x259)]-0x1,_0x3a6f0e;_0x17d1a7>=0x0;_0x17d1a7--)(_0x3a6f0e=_0x479605[_0x17d1a7])&&(_0x173d1f=_0x3a6f0e(_0x173d1f)||_0x173d1f);return _0x173d1f;},P=(_0x35f231,_0x2eaf95)=>(_0x50912c,_0xa6c381)=>_0x2eaf95(_0x50912c,_0xa6c381,_0x35f231);const di=0x12c,fi=0x64;function _0x1ea5(_0x454afd,_0x41ea16){const _0x1cf4a4=_0x1cf4();return _0x1ea5=function(_0x1ea558,_0x4c2101){_0x1ea558=_0x1ea558-0x170;let _0x10f78d=_0x1cf4a4[_0x1ea558];return _0x10f78d;},_0x1ea5(_0x454afd,_0x41ea16);}let Ue=class extends _0x402deb{constructor(_0x2a0300,_0x23396d,_0x3f0364,_0x3986f3,_0x331b20,_0x5ddd12,_0x298e6f,_0x53e9eb,_0xd719b7){const _0x43edfe=_0x252217;super(),_(this,'_online',!0x1),_(this,_0x43edfe(0x183),!0x1),_(this,'_cursorInfo$',new _0x88603b(new Map())),_(this,_0x43edfe(0x198),this[_0x43edfe(0x201)][_0x43edfe(0x28a)]()),_(this,_0x43edfe(0x209),new _0x88603b([])),_(this,_0x43edfe(0x267),this[_0x43edfe(0x209)][_0x43edfe(0x1be)](_0x1e78a7(di))),_(this,_0x43edfe(0x227),_0x30c378(_0x41ee63=>{const _0x310325=_0x43edfe,_0x5ee0cb={'eventID':_0x1ae4a0['UPDATE_CURSOR'],'data':{'unitID':this[_0x310325(0x1d8)],'memberID':this['_session'][_0x310325(0x1f6)](),'selection':Tt(_0x41ee63)}};this[_0x310325(0x354)][_0x310325(0x240)](_0x5ee0cb,this[_0x310325(0x1d8)]);},fi)),(this['unitID']=_0x2a0300,this['_session']=_0x23396d,this[_0x43edfe(0x2e5)]=_0x3f0364,this[_0x43edfe(0x26d)]=_0x3986f3,this[_0x43edfe(0x36a)]=_0x331b20,this[_0x43edfe(0x2e6)]=_0x5ddd12,this[_0x43edfe(0x286)]=_0x298e6f,this['_univerInstanceService']=_0x53e9eb,this[_0x43edfe(0x367)]=_0xd719b7);}get[_0x252217(0x17c)](){const _0x570b54=_0x252217;return this[_0x570b54(0x201)]['getValue']();}get[_0x252217(0x34a)](){const _0x1bef9a=_0x252217;return this[_0x1bef9a(0x209)][_0x1bef9a(0x18b)]();}['dispose'](){const _0x151bea=_0x252217;super[_0x151bea(0x248)](),this[_0x151bea(0x201)][_0x151bea(0x278)](new Map()),this[_0x151bea(0x201)][_0x151bea(0x180)](),this['_roomMembers$'][_0x151bea(0x278)]([]),this[_0x151bea(0x209)]['complete']();}[_0x252217(0x1f0)](){const _0x36db9f=_0x252217;this[_0x36db9f(0x183)]||(this[_0x36db9f(0x183)]=!0x0,this[_0x36db9f(0x354)][_0x36db9f(0x205)][_0x36db9f(0x1be)](_0x46b83f(this[_0x36db9f(0x22f)]))[_0x36db9f(0x26e)](_0x5f063f=>{const _0x590eda=_0x36db9f;_0x5f063f===_0x14840a['ONLINE']?this[_0x590eda(0x1d3)]():this[_0x590eda(0x328)]();}),this['_session'][_0x36db9f(0x222)][_0x36db9f(0x1be)](_0x46b83f(this[_0x36db9f(0x22f)]))[_0x36db9f(0x26e)](_0x36a58b=>{const _0xdcc767=_0x36db9f,_0x5975c8=_0x36a58b[_0xdcc767(0x192)];_0x5975c8===_0x1ae4a0[_0xdcc767(0x346)]&&this[_0xdcc767(0x1d7)](_0x36a58b),_0x5975c8===_0x1ae4a0[_0xdcc767(0x24c)]&&this[_0xdcc767(0x300)](_0x36a58b);}),this['disposeWithMe'](this[_0x36db9f(0x367)][_0x36db9f(0x295)](_0x1c3ba2=>{const _0x4199aa=_0x36db9f,_0x172c2d=_0x1c3ba2[_0x4199aa(0x35e)];_0x172c2d!=null&&this['_online']&&_0x1c3ba2['id']===_0x2c3b54['id']&&_0x172c2d[_0x4199aa(0x28e)]===this[_0x4199aa(0x1d8)]&&_0x172c2d[_0x4199aa(0x2d1)]===!0x1&&_0x172c2d['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x172c2d[_0x4199aa(0x20e)]);})),this[_0x36db9f(0x2e6)][_0x36db9f(0x338)][_0x36db9f(0x1be)](_0x46b83f(this['dispose$']))['subscribe'](_0x114284=>{const _0x1eddd3=_0x36db9f;if((_0x114284==null?void 0x0:_0x114284['unitID'])!==this[_0x1eddd3(0x1d8)])return;const _0x504769={'eventID':_0x1ae4a0[_0x1eddd3(0x346)],'data':_0x114284};this['_onCursorUpdate'](_0x504769);}),this[_0x36db9f(0x29b)](this[_0x36db9f(0x367)][_0x36db9f(0x295)](_0x2a64df=>{const _0x940697=_0x36db9f;if(_0x2a64df[_0x940697(0x35e)]==null)return;const _0x2147fb=_0x2a64df[_0x940697(0x35e)];if(_0x2a64df['id']!==_0x3e5575['id']||_0x2147fb[_0x940697(0x28e)]!==this[_0x940697(0x1d8)])return;const _0x32d429={'id':_0x940697(0x249),'params':_0x2147fb},_0x59d513=this[_0x940697(0x17c)];for(const [_0x13fdbd,_0x5f09c5]of _0x59d513){const _0x32226e={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x940697(0x1d8)],'actions':null,'textRanges':_0x5f09c5[_0x940697(0x20e)]}},_0x4d7f47=this[_0x940697(0x286)][_0x940697(0x1a3)](_0x32d429,_0x32226e,!0x1);if(_0x41ed2e(_0x4d7f47))throw _0x4d7f47[_0x940697(0x1e1)];_0x59d513['set'](_0x13fdbd,{..._0x5f09c5,'ranges':_0x4d7f47[_0x940697(0x363)]['params']['textRanges']});}queueMicrotask(()=>{const _0x154c60=_0x940697;this[_0x154c60(0x201)][_0x154c60(0x278)](_0x59d513);});})));}['_onCursorUpdate'](_0x2369bd){const _0x27609c=_0x252217;var _0x503280,_0x366a0b;const {memberID:_0x3bb5fe,selection:_0x19bdc6}=_0x2369bd[_0x27609c(0x2ea)],_0x4e84a2=_i(_0x19bdc6),_0x43663a=(_0x366a0b=(_0x503280=this['_memberService'][_0x27609c(0x29a)](this[_0x27609c(0x1d8)],_0x3bb5fe))==null?void 0x0:_0x503280[_0x27609c(0x202)])!=null?_0x366a0b:_0x27609c(0x1fe),_0x5eaa8d={'color':this[_0x27609c(0x26d)][_0x27609c(0x1ce)](_0x3bb5fe),'name':_0x43663a,'ranges':_0x4e84a2},_0x5851f7=this[_0x27609c(0x17c)];_0x5851f7[_0x27609c(0x1c5)](_0x3bb5fe,_0x5eaa8d),this['_cursorInfo$'][_0x27609c(0x278)](_0x5851f7);}[_0x252217(0x300)](_0x32ba6a){const _0x47c934=_0x252217,{memberID:_0x559fa1}=_0x32ba6a[_0x47c934(0x2ea)],_0x28ca1c=this[_0x47c934(0x17c)];_0x28ca1c[_0x47c934(0x2ce)](_0x559fa1),this[_0x47c934(0x201)][_0x47c934(0x278)](_0x28ca1c);}[_0x252217(0x1d3)](){const _0x5939b0=_0x252217;var _0x42f3fe;if(this[_0x5939b0(0x2da)]=!0x0,((_0x42f3fe=this[_0x5939b0(0x24a)]['getFocusedUnit']())==null?void 0x0:_0x42f3fe[_0x5939b0(0x190)]())!==this['unitID'])return;const _0x5a033f=this[_0x5939b0(0x2e5)][_0x5939b0(0x302)](_0x865cc4)['getDocRanges']();Array[_0x5939b0(0x345)](_0x5a033f)&&_0x5a033f[_0x5939b0(0x259)]>0x0&&this[_0x5939b0(0x227)](_0x5a033f);}[_0x252217(0x328)](){const _0x4523b0=_0x252217;this[_0x4523b0(0x2da)]=!0x1;}};Ue=ui([P(0x2,_0x473849(_0x25a4c0)),P(0x3,_0x473849(ke)),P(0x4,_0x473849(_0x4742b5)),P(0x5,_0x473849(He)),P(0x6,_0x409fe5),P(0x7,_0x1ba300),P(0x8,_0x192617)],Ue);var Si=Object[_0x252217(0x34f)],mi=(_0x21e5fe,_0x55379b,_0x53a258,_0x2cde88)=>{for(var _0x11f28d=_0x2cde88>0x1?void 0x0:_0x2cde88?Si(_0x55379b,_0x53a258):_0x55379b,_0x307f9b=_0x21e5fe['length']-0x1,_0x2c11cf;_0x307f9b>=0x0;_0x307f9b--)(_0x2c11cf=_0x21e5fe[_0x307f9b])&&(_0x11f28d=_0x2c11cf(_0x11f28d)||_0x11f28d);return _0x11f28d;},x=(_0x19a4c3,_0x68bcad)=>(_0xf6dd92,_0x3f962c)=>_0x68bcad(_0xf6dd92,_0x3f962c,_0x19a4c3);const Ii=0x12c,gi=0x64,vi=()=>{let _0x39ff58=[],_0x21c1ec=!0x1;return _0x2fa99a=>{const _0x1095ed=_0x1ea5;_0x39ff58[_0x1095ed(0x2eb)](_0x2fa99a),_0x21c1ec||(_0x21c1ec=!0x0,setTimeout(()=>{const _0x5bda98=_0x1095ed;_0x39ff58[_0x5bda98(0x1f3)](_0x164d19=>_0x164d19()),_0x39ff58=[],_0x21c1ec=!0x1;}));};};let Me=class extends _0x402deb{constructor(_0x199963,_0x38a430,_0x54298b,_0x43ec47,_0x3c09b4,_0x3b37ac,_0x2b9d61,_0x21aaab){const _0xd98d8f=_0x252217;super(),_(this,_0xd98d8f(0x2da),!0x1),_(this,_0xd98d8f(0x183),!0x1),_(this,_0xd98d8f(0x201),new _0x88603b(new Map())),_(this,_0xd98d8f(0x198),this['_cursorInfo$'][_0xd98d8f(0x28a)]()),_(this,'_roomMembers$',new _0x88603b([])),_(this,_0xd98d8f(0x267),this[_0xd98d8f(0x209)][_0xd98d8f(0x1be)](_0x1e78a7(Ii))),_(this,_0xd98d8f(0x227),_0x30c378((_0x1e2688,_0x4e9d5c)=>{const _0x2a353e=_0xd98d8f,_0xeb969e={'eventID':_0x1ae4a0[_0x2a353e(0x346)],'data':{'unitID':this[_0x2a353e(0x1d8)],'memberID':this[_0x2a353e(0x354)][_0x2a353e(0x1f6)](),'selection':_0x159cae(_0x1e2688,_0x4e9d5c['range'])}};this[_0x2a353e(0x354)]['send'](_0xeb969e,this[_0x2a353e(0x1d8)]);},gi)),(this[_0xd98d8f(0x1d8)]=_0x199963,this[_0xd98d8f(0x354)]=_0x38a430,this['_injector']=_0x54298b,this['_colorAssignService']=_0x43ec47,this[_0xd98d8f(0x36a)]=_0x3c09b4,this[_0xd98d8f(0x24a)]=_0x3b37ac,this['_commandService']=_0x2b9d61,this[_0xd98d8f(0x244)]=_0x21aaab);}get['cursorInfo'](){const _0x4e249e=_0x252217;return this[_0x4e249e(0x201)][_0x4e249e(0x18b)]();}get[_0x252217(0x34a)](){const _0x15a382=_0x252217;return this[_0x15a382(0x209)][_0x15a382(0x18b)]();}[_0x252217(0x248)](){const _0xd17124=_0x252217;super[_0xd17124(0x248)](),this[_0xd17124(0x201)][_0xd17124(0x278)](new Map()),this[_0xd17124(0x201)][_0xd17124(0x180)](),this['_roomMembers$']['next']([]),this['_roomMembers$'][_0xd17124(0x180)]();}[_0x252217(0x1f0)](){const _0x1964e6=_0x252217;this[_0x1964e6(0x183)]||(this[_0x1964e6(0x183)]=!0x0,this['_session']['sessionStatus$'][_0x1964e6(0x1be)](_0x46b83f(this[_0x1964e6(0x22f)]))['subscribe'](_0x27dfea=>{const _0x4669a9=_0x1964e6;_0x27dfea===_0x14840a[_0x4669a9(0x296)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x1964e6(0x354)][_0x1964e6(0x222)][_0x1964e6(0x1be)](_0x46b83f(this[_0x1964e6(0x22f)]))[_0x1964e6(0x26e)](_0x6f39f6=>{const _0x36f159=_0x1964e6,_0x11c220=_0x6f39f6[_0x36f159(0x192)];_0x11c220===_0x1ae4a0[_0x36f159(0x346)]&&this['_onCursorUpdate'](_0x6f39f6),_0x11c220===_0x1ae4a0[_0x36f159(0x24c)]&&this[_0x36f159(0x300)](_0x6f39f6);}),this['_onRefRangeChange'](),this[_0x1964e6(0x29b)](this['_commandService'][_0x1964e6(0x295)](_0x480e5b=>{const _0x1838e9=_0x1964e6;if(this[_0x1838e9(0x2da)]&&_0x480e5b['id']===_0x5c95cb['id']&&_0x480e5b['params'][_0x1838e9(0x28e)]===this[_0x1838e9(0x1d8)]){const _0x553f18=_0x480e5b[_0x1838e9(0x35e)];this[_0x1838e9(0x227)](_0x553f18[_0x1838e9(0x284)],_0x553f18[_0x1838e9(0x33d)][0x0]);}})));}[_0x252217(0x1d7)](_0x13f249){const _0x380c92=_0x252217;var _0x3a3f75,_0x3ddb57;const {memberID:_0x2bed27,selection:_0x2c41bf}=_0x13f249[_0x380c92(0x2ea)],{sheetName:_0xe41ecc,range:_0x429605}=_0x404216(_0x2c41bf),_0x827059={'name':(_0x3ddb57=(_0x3a3f75=this[_0x380c92(0x36a)]['getMember'](this[_0x380c92(0x1d8)],_0x2bed27))==null?void 0x0:_0x3a3f75['name'])!=null?_0x3ddb57:_0x380c92(0x1fe),'range':this[_0x380c92(0x24e)](_0xe41ecc,_0x429605),'sheetID':_0xe41ecc,'color':this[_0x380c92(0x26d)][_0x380c92(0x1ce)](_0x2bed27),'selection':_0x2c41bf},_0x3036c7=this[_0x380c92(0x17c)];_0x3036c7[_0x380c92(0x1c5)](_0x2bed27,_0x827059),this[_0x380c92(0x201)][_0x380c92(0x278)](_0x3036c7);}['_onCursorDelete'](_0x327921){const _0x23e74d=_0x252217,{memberID:_0x20f0a0}=_0x327921[_0x23e74d(0x2ea)],_0x380873=this[_0x23e74d(0x17c)];_0x380873[_0x23e74d(0x2ce)](_0x20f0a0),this['_cursorInfo$'][_0x23e74d(0x278)](_0x380873);}[_0x252217(0x24e)](_0x2176c7,_0x5a1e37){const _0xc63a41=_0x252217;var _0x5a3369,_0x2a2d63;const _0x44e2fd=(_0x2a2d63=(_0x5a3369=this[_0xc63a41(0x24a)]['getUniverSheetInstance'](this[_0xc63a41(0x1d8)]))==null?void 0x0:_0x5a3369[_0xc63a41(0x275)](_0x2176c7))==null?void 0x0:_0x2a2d63[_0xc63a41(0x31d)]();return(_0x44e2fd==null?void 0x0:_0x44e2fd[_0xc63a41(0x2a1)](_0x496cac=>_0x35b3ef[_0xc63a41(0x231)](_0x496cac,_0x5a1e37)))||_0x5a1e37;}[_0x252217(0x1d0)](){const _0x2b2d40=_0x252217,_0x1a355d=new _0x1c3441(),_0x5e2942=vi(),_0x1e8f7e=()=>{const _0x5578ff=_0x1ea5;_0x1a355d[_0x5578ff(0x248)]();const _0x1fd94b=(_0x40daf6,_0x669a65,_0x54813e,_0x9899f3)=>{const _0x1aab7c=_0x5578ff;let _0x2f619e=[];switch(_0x40daf6['id']){case _0x3ec484['DeleteRangeMoveLeftCommandId']:{_0x2f619e=_0x5509a6(_0x40daf6,_0x9899f3);break;}case _0x3ec484['DeleteRangeMoveUpCommandId']:{_0x2f619e=_0x1f2c87(_0x40daf6,_0x9899f3);break;}case _0x3ec484[_0x1aab7c(0x1c6)]:{_0x2f619e=_0x3367cf(_0x40daf6,_0x9899f3);break;}case _0x3ec484[_0x1aab7c(0x187)]:{_0x2f619e=_0x4fb699(_0x40daf6,_0x9899f3);break;}case _0x3ec484[_0x1aab7c(0x18a)]:{_0x2f619e=_0x5612f2(_0x40daf6,_0x9899f3);break;}case _0x3ec484[_0x1aab7c(0x1e2)]:{_0x2f619e=_0x5641d7(_0x40daf6,_0x9899f3);break;}case _0x3ec484['MoveRangeCommandId']:{_0x2f619e=_0x1a5872(_0x40daf6,_0x9899f3);break;}case _0x3ec484[_0x1aab7c(0x321)]:{_0x2f619e=_0x4fe2a9(_0x40daf6,_0x9899f3);break;}case _0x3ec484[_0x1aab7c(0x20d)]:{_0x2f619e=_0x515831(_0x40daf6,_0x9899f3);break;}}const _0x461203=_0x1ab6c9(_0x2f619e,_0x9899f3),_0x590626=this[_0x1aab7c(0x17c)]['get'](_0x669a65);if(_0x590626&&_0x461203){const _0x1ce1cd={..._0x590626,'range':_0x461203};this[_0x1aab7c(0x17c)][_0x1aab7c(0x1c5)](_0x669a65,_0x1ce1cd),_0x5e2942(()=>{const _0x5716b6=_0x1aab7c,_0x292728=this[_0x5716b6(0x244)][_0x5716b6(0x2c4)](_0x461203,_0x38be8=>(_0x292728[_0x5716b6(0x248)](),_0x1fd94b(_0x38be8,_0x669a65,_0x54813e,_0x461203)));_0x1a355d['add'](_0x292728);});}return{'redos':[],'undos':[]};};this[_0x5578ff(0x17c)][_0x5578ff(0x1f3)]((_0x51653b,_0x59d13a)=>{const _0x2a4d87=_0x5578ff,{range:_0xc424d2,sheetID:_0x13aead}=_0x51653b,_0x493699=this[_0x2a4d87(0x244)]['registerRefRange'](_0xc424d2,_0x524e8e=>(_0x493699[_0x2a4d87(0x248)](),_0x1fd94b(_0x524e8e,_0x59d13a,_0x13aead,_0xc424d2)));_0x1a355d[_0x2a4d87(0x31c)](_0x493699);});};this[_0x2b2d40(0x29b)](_0x50b6ce(this['_cursorInfo$'][_0x2b2d40(0x26e)](()=>{_0x1e8f7e();})));}[_0x252217(0x1d3)](){const _0x28f223=_0x252217;var _0x430851,_0x303351;if(this['_online']=!0x0,((_0x430851=this[_0x28f223(0x24a)]['getFocusedUnit']())==null?void 0x0:_0x430851['getUnitId']())!==this[_0x28f223(0x1d8)])return;const _0x425e3c=(_0x303351=this['_injector'][_0x28f223(0x302)](_0x5fa197)['getCurrentSelections']())==null?void 0x0:_0x303351[0x0],_0x4151af=this[_0x28f223(0x24a)]['getCurrentUnitForType'](_0x1a81f3[_0x28f223(0x2fb)])[_0x28f223(0x232)]();_0x425e3c&&_0x4151af&&this['_updateLocalCursor'](_0x4151af[_0x28f223(0x1e3)](),_0x425e3c);}['_toggleOffline'](){const _0x2bd1cb=_0x252217;this[_0x2bd1cb(0x2da)]=!0x1;}};Me=mi([x(0x2,_0x473849(_0x25a4c0)),x(0x3,_0x473849(ke)),x(0x4,_0x473849(_0x4742b5)),x(0x5,_0x1ba300),x(0x6,_0x192617),x(0x7,_0x473849(_0x3d8b4b))],Me);var pi=Object[_0x252217(0x34f)],Ci=(_0x3f471c,_0x4a250a,_0x19e172,_0x52cfa0)=>{const _0x1b923f=_0x252217;for(var _0x32dcf2=_0x52cfa0>0x1?void 0x0:_0x52cfa0?pi(_0x4a250a,_0x19e172):_0x4a250a,_0xe4fab2=_0x3f471c[_0x1b923f(0x259)]-0x1,_0x524060;_0xe4fab2>=0x0;_0xe4fab2--)(_0x524060=_0x3f471c[_0xe4fab2])&&(_0x32dcf2=_0x524060(_0x32dcf2)||_0x32dcf2);return _0x32dcf2;},Se=(_0x22b47b,_0x2690ff)=>(_0x45e5de,_0x3a0f93)=>_0x2690ff(_0x45e5de,_0x3a0f93,_0x22b47b);let H=class extends _0x402deb{constructor(_0x15d818,_0x1cb8c3,_0x23fbf5){const _0x30ca35=_0x252217;super(),_(this,'_entities',new Map()),_(this,_0x30ca35(0x36d),new _0x5da22c()),(this[_0x30ca35(0x24a)]=_0x15d818,this['_injector']=_0x1cb8c3,this[_0x30ca35(0x32b)]=_0x23fbf5,this['_init']());}[_0x252217(0x248)](){const _0x1613bf=_0x252217;super[_0x1613bf(0x248)](),this['_entityInit$'][_0x1613bf(0x180)](),this[_0x1613bf(0x270)][_0x1613bf(0x1f3)](_0x279d79=>_0x279d79['dispose']());}[_0x252217(0x247)](_0x51ccf9){const _0x3dcbc0=_0x252217;return this[_0x3dcbc0(0x270)][_0x3dcbc0(0x1b9)](_0x51ccf9)?this['_entities']['get'](_0x51ccf9)['cursorInfo$']:this[_0x3dcbc0(0x36d)]['pipe'](_0x13130b(_0x13867e=>_0x13867e['unitID']===_0x51ccf9),_0x14092f(_0x4389f3=>_0x4389f3[_0x3dcbc0(0x198)]));}[_0x252217(0x183)](){const _0x78648a=_0x252217;this[_0x78648a(0x24a)]['getTypeOfUnitAdded$'](_0x1a81f3['UNIVER_SHEET'])['pipe'](_0x46b83f(this[_0x78648a(0x22f)]))[_0x78648a(0x26e)](async _0x307207=>{const _0x10df5d=_0x78648a,_0x3bee11=_0x307207[_0x10df5d(0x190)](),_0x3f821b=await this['_startSheetCollabCursor'](_0x3bee11);this[_0x10df5d(0x36d)]['next'](_0x3f821b),this[_0x10df5d(0x270)][_0x10df5d(0x1c5)](_0x3bee11,_0x3f821b);}),this[_0x78648a(0x24a)][_0x78648a(0x314)](_0x1a81f3[_0x78648a(0x2fc)])['pipe'](_0x46b83f(this['dispose$']))[_0x78648a(0x1be)](_0x13130b(_0x4c9fe4=>!_0x4c9fe4[_0x78648a(0x190)]()[_0x78648a(0x306)]('__')))[_0x78648a(0x26e)](async _0x2de227=>{const _0x233a46=_0x78648a,_0x4d80e5=_0x2de227[_0x233a46(0x190)](),_0x8ffb8a=await this[_0x233a46(0x1f2)](_0x4d80e5);this[_0x233a46(0x36d)][_0x233a46(0x278)](_0x8ffb8a),this['_entities'][_0x233a46(0x1c5)](_0x4d80e5,_0x8ffb8a);}),_0x3e635e(this[_0x78648a(0x24a)][_0x78648a(0x353)](_0x1a81f3['UNIVER_DOC']),this[_0x78648a(0x24a)][_0x78648a(0x353)](_0x1a81f3[_0x78648a(0x2fb)]))['pipe'](_0x46b83f(this[_0x78648a(0x22f)]))[_0x78648a(0x26e)](_0x15058f=>{const _0x5752e9=_0x78648a,_0x8ef674=_0x15058f['getUnitId'](),_0x1f78b5=this[_0x5752e9(0x270)]['get'](_0x8ef674);_0x1f78b5&&(_0x1f78b5[_0x5752e9(0x248)](),this[_0x5752e9(0x270)][_0x5752e9(0x2ce)](_0x8ef674));});}async[_0x252217(0x2a5)](_0x53b7d7){const _0x58be1b=_0x252217,_0x54d640=await this['_collabSessionService'][_0x58be1b(0x21f)](_0x53b7d7),_0x55cdbd=this['_injector']['createInstance'](Me,_0x53b7d7,_0x54d640);return _0x55cdbd[_0x58be1b(0x1f0)](),_0x55cdbd;}async[_0x252217(0x1f2)](_0x408480){const _0x50a3f4=_0x252217,_0x16e8bc=await this[_0x50a3f4(0x32b)][_0x50a3f4(0x21f)](_0x408480),_0x538eef=this[_0x50a3f4(0x2e5)]['createInstance'](Ue,_0x408480,_0x16e8bc);return _0x538eef[_0x50a3f4(0x1f0)](),_0x538eef;}};H=Ci([Se(0x0,_0x1ba300),Se(0x1,_0x473849(_0x25a4c0)),Se(0x2,_0x473849(_0x158b64))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x50b863,_0x5ed69d){const _0xb4f2d=_0x252217;let {radius:_0x522847,width:_0x2df486,height:_0x354317}=_0x5ed69d;_0x522847=_0x522847!=null?_0x522847:0x0,_0x2df486=_0x2df486!=null?_0x2df486:0x1e,_0x354317=_0x354317!=null?_0x354317:0x1e;let _0x5e5cb2=0x0,_0x38e2e0=0x0,_0x48eda8=0x0;_0x5e5cb2=_0x38e2e0=_0x48eda8=Math[_0xb4f2d(0x325)](_0x522847,_0x2df486/0x2,_0x354317/0x2),_0x50b863['beginPath'](),_0x50b863[_0xb4f2d(0x25f)](_0x5e5cb2,0x0),_0x50b863[_0xb4f2d(0x2e8)](_0x2df486-_0x38e2e0,0x0),_0x50b863[_0xb4f2d(0x2ef)](_0x2df486-_0x38e2e0,_0x38e2e0,_0x38e2e0,Math['PI']*0x3/0x2,0x0,!0x1),_0x50b863[_0xb4f2d(0x2e8)](_0x2df486,_0x354317-_0x48eda8),_0x50b863[_0xb4f2d(0x2ef)](_0x2df486-_0x48eda8,_0x354317-_0x48eda8,_0x48eda8,0x0,Math['PI']/0x2,!0x1),_0x50b863[_0xb4f2d(0x2e8)](0x0,_0x354317),_0x50b863[_0xb4f2d(0x2e8)](0x0,_0x5e5cb2),_0x50b863[_0xb4f2d(0x2ef)](_0x5e5cb2,_0x5e5cb2,_0x5e5cb2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x50b863[_0xb4f2d(0x173)](),_0x5ed69d[_0xb4f2d(0x305)]&&(_0x50b863[_0xb4f2d(0x256)](),_0x50b863[_0xb4f2d(0x358)]=_0x5ed69d['fill'],_0x5ed69d['fillRule']===_0xb4f2d(0x2a9)?_0x50b863[_0xb4f2d(0x305)](_0xb4f2d(0x2a9)):_0x50b863['fill'](),_0x50b863[_0xb4f2d(0x1d9)]());}class he extends _0x44b883{constructor(_0x3be06b,_0x2cf484){const _0xb137ba=_0x252217;super(_0x3be06b,_0x2cf484),_(this,_0xb137ba(0x1cc)),_(this,_0xb137ba(0x2b4)),(this[_0xb137ba(0x1cc)]=_0x2cf484==null?void 0x0:_0x2cf484[_0xb137ba(0x1cc)],this[_0xb137ba(0x2b4)]=_0x2cf484==null?void 0x0:_0x2cf484['text']);}static[_0x252217(0x336)](_0x114adf,_0x43bf0c){const _0x42add7=_0x252217,{text:_0x28d384,color:_0x5defff}=_0x43bf0c;_0x114adf[_0x42add7(0x256)](),_0x114adf['font']=_0x42add7(0x340);const _0x5e9f6b=_0x114adf[_0x42add7(0x309)](_0x28d384)[_0x42add7(0x253)],_0x561729=Math[_0x42add7(0x325)](_0x5e9f6b+0x2*me,Qe);Oi(_0x114adf,{'height':ee,'radius':0x4,'width':_0x561729,'fill':_0x5defff}),_0x114adf[_0x42add7(0x358)]='#FFF';const _0x3fa13e=me,_0x5eb251=ee-Ei,_0xf2666c=Qe-0x2*me;if(_0x5e9f6b>_0xf2666c){let _0x2c2a72='',_0x519c24=0x0;for(const _0x720073 of _0x28d384){const _0x104b92=_0x114adf['measureText'](_0x720073)[_0x42add7(0x253)];if(_0x519c24+_0x104b92<=_0xf2666c-_0x114adf[_0x42add7(0x309)](_0x42add7(0x206))[_0x42add7(0x253)])_0x2c2a72+=_0x720073,_0x519c24+=_0x104b92;else{_0x2c2a72+=_0x42add7(0x206);break;}}_0x114adf['fillText'](_0x2c2a72,_0x3fa13e,_0x5eb251);}else _0x114adf[_0x42add7(0x219)](_0x28d384,_0x3fa13e,_0x5eb251);_0x114adf[_0x42add7(0x1d9)]();}['_draw'](_0x9c6dd8){const _0x436600=_0x252217;he[_0x436600(0x336)](_0x9c6dd8,this);}}const Ie='collab-text-anchor-',bi=_0x252217(0x2e3),Ti=_0x252217(0x258),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x252217(0x362);class qe{constructor(_0x340f6f,_0x4899b7,_0x56a284,_0x559e60){const _0x23bd2f=_0x252217;_(this,'_shapes',[]),_(this,_0x23bd2f(0x208),null),_(this,_0x23bd2f(0x1a0),null),_(this,_0x23bd2f(0x1b3),null),_(this,_0x23bd2f(0x1d5),null),_(this,_0x23bd2f(0x195),null),(this['_cursor']=_0x340f6f,this[_0x23bd2f(0x31a)]=_0x4899b7,this[_0x23bd2f(0x17f)]=_0x56a284,this[_0x23bd2f(0x1c9)]=_0x559e60,this[_0x23bd2f(0x34d)]());}set[_0x252217(0x2f9)](_0x59aaf0){const _0x1c86c4=_0x252217;_0x59aaf0?(this[_0x1c86c4(0x1b3)]&&this[_0x1c86c4(0x1b3)][_0x1c86c4(0x299)](),this['_textBubble']&&this[_0x1c86c4(0x1a0)][_0x1c86c4(0x2d8)]()):(this[_0x1c86c4(0x1b3)]&&this[_0x1c86c4(0x1b3)]['show'](),this[_0x1c86c4(0x1a0)]&&this['_textBubble'][_0x1c86c4(0x299)]());}[_0x252217(0x248)](){const _0x284198=_0x252217;for(const _0x95a9e7 of this['_shapes'])_0x95a9e7[_0x284198(0x248)]();this[_0x284198(0x1a0)]&&this[_0x284198(0x1a0)][_0x284198(0x248)](),this[_0x284198(0x1b3)]&&this[_0x284198(0x1b3)][_0x284198(0x248)](),this[_0x284198(0x208)]&&this['_anchor'][_0x284198(0x248)](),this[_0x284198(0x195)]&&this['_eventUnsubscribe']();}['_render'](){const _0x5acb0d=_0x252217;var _0x8b1058;const {_docSkeleton:_0x47f994,_document:_0x32ef75}=this,{color:_0x285985,name:_0x2b5550,ranges:_0x564402}=this['_cursor'],_0x28f94a=_0x32ef75[_0x5acb0d(0x27c)](),{docsLeft:_0x30d4cf,docsTop:_0x5f1183}=_0x28f94a,_0x2564ef=new _0x47b29e(_0x28f94a,_0x47f994);for(const {startOffset:_0xc4f01e,endOffset:_0x345b39,rangeType:_0x3e0f6c,segmentId:_0x1f8d99,segmentPage:_0x28735a,collapsed:_0x536d68,isActive:_0x90b4ec}of _0x564402){const _0x3721a8=_0x47f994[_0x5acb0d(0x1e4)](_0xc4f01e,!0x0,_0x1f8d99,_0x28735a);let _0x5dec20=_0x47f994[_0x5acb0d(0x1e4)](_0x345b39,!0x0,_0x1f8d99,_0x28735a);if(_0x5dec20==null&&(_0x5dec20=_0x47f994[_0x5acb0d(0x1e4)](_0x345b39-0x1,!0x1,_0x1f8d99,_0x28735a)),_0x90b4ec){const {contentBoxPointGroup:_0x31e09c}=_0x2564ef[_0x5acb0d(0x29f)](_0x5dec20,_0x5dec20);if(_0x31e09c['length']===0x0)continue;this[_0x5acb0d(0x332)](_0x285985,_0x31e09c,_0x30d4cf,_0x5f1183,_0x2b5550),this[_0x5acb0d(0x195)]=this['_handleHover']();}if(_0x3721a8&&_0x5dec20){if(_0x3e0f6c===_0x37f902[_0x5acb0d(0x285)]){const _0x24dbf8=new _0x5f2b9e(_0x28f94a,_0x47f994),{pointGroup:_0x524474}=(_0x8b1058=_0x24dbf8[_0x5acb0d(0x29f)](_0x3721a8,_0x5dec20))!=null?_0x8b1058:{};if(_0x524474==null||_0x524474[_0x5acb0d(0x259)]===0x0)continue;this[_0x5acb0d(0x27f)](_0x285985,_0x524474,_0x30d4cf,_0x5f1183);}else{if(!_0x536d68){const {borderBoxPointGroup:_0x579d65}=_0x2564ef[_0x5acb0d(0x29f)](_0x3721a8,_0x5dec20);if(_0x579d65[_0x5acb0d(0x259)]===0x0)continue;this[_0x5acb0d(0x1f7)](_0x285985,_0x579d65,_0x30d4cf,_0x5f1183);}}}}}[_0x252217(0x332)](_0x2ea5d1,_0x4113f8,_0x6a6ab4,_0x26225c,_0x1805aa){const _0x10dd53=_0x252217,_0x942ebd=this[_0x10dd53(0x2cd)](_0x4113f8),{left:_0x51fa0e,top:_0x12bcdf,height:_0x5edbe1}=_0x942ebd,_0x37d152=this[_0x10dd53(0x193)](),_0x1776a3=Di/_0x37d152,_0x2b22d4=new _0x25cb14(Ie+_0xde0aa9[_0x10dd53(0x238)](X),{'left':_0x51fa0e+_0x6a6ab4-_0x1776a3,'top':_0x12bcdf+_0x26225c,'height':_0x5edbe1,'width':Ri,'fill':_0x2ea5d1||_0x55d726(_0x5e612c['black'],0x0),'strokeWidth':_0x1776a3,'stroke':Ni,'evented':!0x0});this[_0x10dd53(0x208)]=_0x2b22d4,this[_0x10dd53(0x31a)][_0x10dd53(0x356)](_0x2b22d4,_0x311489);const _0x593476=new _0x25cb14(Ie+_0xde0aa9[_0x10dd53(0x238)](X),{'left':_0x51fa0e+_0x6a6ab4-_0x1776a3,'top':_0x12bcdf+_0x26225c-ge/0x2,'height':ge,'width':ge,'fill':_0x2ea5d1||_0x55d726(_0x5e612c[_0x10dd53(0x2d2)],0x0),'strokeWidth':0x0,'stroke':_0x2ea5d1||_0x55d726(_0x5e612c[_0x10dd53(0x2d2)],0x0),'evented':!0x1});this[_0x10dd53(0x1b3)]=_0x593476,this['_scene']['addObject'](_0x593476,_0x311489);const _0x854e21=new he(Ie+_0xde0aa9[_0x10dd53(0x238)](X),{'left':_0x51fa0e+_0x6a6ab4-_0x1776a3,'top':_0x12bcdf+_0x26225c-ee,'text':_0x1805aa,'color':_0x2ea5d1});this[_0x10dd53(0x1a0)]=_0x854e21,this[_0x10dd53(0x31a)][_0x10dd53(0x356)](_0x854e21,_0x311489),this[_0x10dd53(0x2f9)]=!0x1;}[_0x252217(0x185)](){const _0x47c330=_0x252217,_0x18964d=this[_0x47c330(0x208)][_0x47c330(0x1e0)]['subscribeEvent'](()=>{const _0x503d09=_0x47c330;this[_0x503d09(0x2f9)]=!0x0;}),_0x59f22d=this[_0x47c330(0x208)]['onPointerLeave$'][_0x47c330(0x257)](()=>{const _0x4d8a26=_0x47c330;this[_0x4d8a26(0x1d5)]&&clearTimeout(this['_hideTimer']),this[_0x4d8a26(0x1d5)]=setTimeout(()=>{const _0x408723=_0x4d8a26;this[_0x408723(0x2f9)]=!0x1;},0x7d0);});return()=>{const _0x51400c=_0x47c330;_0x18964d[_0x51400c(0x2b6)](),_0x59f22d[_0x51400c(0x2b6)]();};}['_drawTextRange'](_0x22d893,_0x365d8b,_0x4852b2,_0x2a8ccc){const _0x42282e=_0x252217,_0x428bb5=new _0x1c73bd(_0x22d893)['setAlpha'](0.2)[_0x42282e(0x368)](),_0x339425=new _0x316b52(bi+_0xde0aa9['generateRandomId'](X),{'pointsGroup':_0x365d8b,'fill':_0x428bb5||_0x55d726(_0x5e612c[_0x42282e(0x2d2)],0.2),'left':_0x4852b2,'top':_0x2a8ccc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x42282e(0x245)][_0x42282e(0x2eb)](_0x339425),this[_0x42282e(0x31a)][_0x42282e(0x356)](_0x339425,_0x311489);}['_drawRectRange'](_0x2f5c53,_0x5e15bb,_0x3dae5d,_0x550a07){const _0x4073c6=_0x252217,_0x13ae68=new _0x1c73bd(_0x2f5c53)[_0x4073c6(0x17d)](0.2)[_0x4073c6(0x368)](),_0xbed499=new _0x316b52(Ti+_0xde0aa9[_0x4073c6(0x238)](X),{'pointsGroup':_0x5e15bb,'fill':_0x13ae68||_0x55d726(_0x5e612c[_0x4073c6(0x2d2)],0.2),'left':_0x3dae5d,'top':_0x550a07,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4073c6(0x245)][_0x4073c6(0x2eb)](_0xbed499),this['_scene']['addObject'](_0xbed499,_0x311489);}['_getAnchorBounding'](_0xa91521){const _0x40c9bc=_0xa91521[0x0],_0x2d3c6e=_0x40c9bc[0x0],_0x9214bc=_0x40c9bc[0x2],{x:_0x22b0bf,y:_0x384cd0}=_0x2d3c6e,{x:_0x32e040,y:_0x3edf89}=_0x9214bc;return{'left':_0x22b0bf,'top':_0x384cd0,'width':_0x32e040-_0x22b0bf,'height':_0x3edf89-_0x384cd0};}['_getScale'](){const _0x11e3f3=_0x252217,{scaleX:_0x4b543c,scaleY:_0x42a4f5}=this[_0x11e3f3(0x31a)][_0x11e3f3(0x176)]();return Math['max'](_0x4b543c,_0x42a4f5);}}var Ui=Object[_0x252217(0x34f)],Mi=(_0x249831,_0x2b9be8,_0x31bcf0,_0x5cca54)=>{for(var _0x56a5cf=_0x5cca54>0x1?void 0x0:_0x5cca54?Ui(_0x2b9be8,_0x31bcf0):_0x2b9be8,_0x4a1378=_0x249831['length']-0x1,_0x1a23f9;_0x4a1378>=0x0;_0x4a1378--)(_0x1a23f9=_0x249831[_0x4a1378])&&(_0x56a5cf=_0x1a23f9(_0x56a5cf)||_0x56a5cf);return _0x56a5cf;},Z=(_0x952718,_0x13b059)=>(_0xc0ef4e,_0x3830be)=>_0x13b059(_0xc0ef4e,_0x3830be,_0x952718);let we=class extends _0x402deb{constructor(_0x51aa98,_0x5c989d,_0x50dde7,_0x47ab34,_0x19b1a7){const _0x18c821=_0x252217;super(),_(this,_0x18c821(0x2bd),[]),_(this,_0x18c821(0x1f1),[]),(this[_0x18c821(0x181)]=_0x51aa98,this[_0x18c821(0x186)]=_0x5c989d,this[_0x18c821(0x31f)]=_0x50dde7,this[_0x18c821(0x367)]=_0x47ab34,this['_themeService']=_0x19b1a7,this[_0x18c821(0x183)]());}[_0x252217(0x183)](){const _0x401f09=_0x252217,_0x206330=this[_0x401f09(0x181)][_0x401f09(0x28e)],_0x1cbcc4=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x569e06([this[_0x401f09(0x31f)][_0x401f09(0x247)](_0x206330),this[_0x401f09(0x1e9)][_0x401f09(0x1cb)]])[_0x401f09(0x1be)](_0x5d9611(([_0x300713,_0x427ff9])=>({'skeleton':_0x1cbcc4['getSkeleton'](),'cursors':[..._0x300713[_0x401f09(0x1b0)]()]['flatMap'](_0x12bc4f=>({..._0x12bc4f,'color':this['_themeService'][_0x401f09(0x289)](_0x12bc4f[_0x401f09(0x1cc)])}))})))[_0x401f09(0x26e)](_0x297e72=>{const _0x12fe7f=_0x401f09;if(this[_0x12fe7f(0x2e0)](),_0x297e72){const {skeleton:_0x4d1173,cursors:_0x44cede}=_0x297e72;this['_updateCollabCursors'](_0x4d1173,_0x44cede);}})),this[_0x401f09(0x2b5)](),this[_0x401f09(0x2a6)]();}[_0x252217(0x365)](_0x20334f,_0x3d3f51){const _0x59f098=_0x252217,{scene:_0x1aefd1,mainComponent:_0xd7d2f0}=this[_0x59f098(0x181)],_0x27a7cc=_0x3d3f51['map'](_0x511f22=>new qe(_0x511f22,_0x1aefd1,_0x20334f,_0xd7d2f0));this[_0x59f098(0x2bd)]=_0x27a7cc,this['_cursors']=_0x3d3f51;}[_0x252217(0x1f5)](){const _0x670690=_0x252217;this[_0x670690(0x2e0)]();const {scene:_0x1a65cd,mainComponent:_0x4e0606}=this[_0x670690(0x181)],_0x1316c3=this[_0x670690(0x186)]['getSkeleton'](),_0xe3ee10=this[_0x670690(0x1f1)]['map'](_0x443032=>new qe(_0x443032,_0x1a65cd,_0x1316c3,_0x4e0606));this['_cursorShapes']=_0xe3ee10;}[_0x252217(0x2e0)](){const _0x292999=_0x252217;this['_cursorShapes'][_0x292999(0x1f3)](_0x45eebd=>_0x45eebd[_0x292999(0x248)]()),this[_0x292999(0x2bd)]=[];}['_initCommandExecutedListener'](){const _0x19ff0c=_0x252217,_0x576120=[_0x4c74f8['id']];this[_0x19ff0c(0x29b)](this[_0x19ff0c(0x367)][_0x19ff0c(0x295)](_0x3fc3b4=>{const _0x31f862=_0x19ff0c;_0x576120[_0x31f862(0x17a)](_0x3fc3b4['id'])&&_0x3fc3b4[_0x31f862(0x35e)][_0x31f862(0x28e)]===this['_context'][_0x31f862(0x28e)]&&this['_refreshCollabCursors']();}));}[_0x252217(0x2b5)](){const _0x141912=_0x252217;this[_0x141912(0x29b)](_0x47b532(this[_0x141912(0x181)][_0x141912(0x22a)][_0x141912(0x308)])[_0x141912(0x1be)](_0x27c7c4(_0x46657f=>_0x46657f[_0x141912(0x196)]===_0x21e5b4[_0x141912(0x242)]),_0x124d51(0x10))[_0x141912(0x26e)](()=>{this['_refreshCollabCursors']();}));}};we=Mi([Z(0x1,_0x473849(_0x1ee09e)),Z(0x2,_0x473849(H)),Z(0x3,_0x192617),Z(0x4,_0x473849(_0x261a17))],we);const wi=0x1,Pi=1.5;class Li extends _0x44b883{constructor(_0x2b7eaf,_0x121433){const _0x34cd59=_0x252217;super(_0x2b7eaf,_0x121433),_(this,_0x34cd59(0x30c)),_(this,'_hovered',!0x1),_(this,_0x34cd59(0x348)),_(this,_0x34cd59(0x366),''),_(this,_0x34cd59(0x33a),_0x34cd59(0x335)),_(this,_0x34cd59(0x33b)),(_0x121433&&this[_0x34cd59(0x1ca)](_0x121433),this[_0x34cd59(0x1e0)][_0x34cd59(0x257)](()=>this[_0x34cd59(0x1ca)]({'hovered':!0x0})),this[_0x34cd59(0x27a)][_0x34cd59(0x257)](()=>this[_0x34cd59(0x1ca)]({'hovered':!0x1})));}[_0x252217(0x1ca)](_0x145695){const _0xbb5011=_0x252217;var _0x249e87,_0x2cd3d8,_0x214ef5,_0x4e819e,_0x39d4d3,_0x1c7e9f;this[_0xbb5011(0x30c)]=(_0x249e87=_0x145695[_0xbb5011(0x1cc)])!=null?_0x249e87:this['_color'],this[_0xbb5011(0x25a)]=(_0x2cd3d8=_0x145695[_0xbb5011(0x236)])!=null?_0x2cd3d8:this[_0xbb5011(0x25a)],this[_0xbb5011(0x348)]=(_0x214ef5=_0x145695[_0xbb5011(0x21c)])!=null?_0x214ef5:this[_0xbb5011(0x348)],this[_0xbb5011(0x366)]=(_0x4e819e=_0x145695[_0xbb5011(0x202)])!=null?_0x4e819e:this[_0xbb5011(0x366)],this[_0xbb5011(0x33a)]=(_0x39d4d3=_0x145695[_0xbb5011(0x24f)])!=null?_0x39d4d3:this['_labelPosition'],this[_0xbb5011(0x33b)]=(_0x1c7e9f=_0x145695['backgroundColor'])!=null?_0x1c7e9f:this[_0xbb5011(0x33b)],this[_0xbb5011(0x1ed)]({'width':_0x145695['width'],'height':_0x145695[_0xbb5011(0x1a4)]});}['onMouseMove'](_0x339d84){const _0x523e52=_0x252217,{row:_0x53f5a0,column:_0x560069}=_0x339d84;if(_0x53f5a0>=this['_range'][_0x523e52(0x31e)]&&_0x53f5a0<=this[_0x523e52(0x348)][_0x523e52(0x251)]&&_0x560069>=this[_0x523e52(0x348)]['startColumn']&&_0x560069<=this[_0x523e52(0x348)][_0x523e52(0x2bf)]){this[_0x523e52(0x1ca)]({'hovered':!0x0});return;}this[_0x523e52(0x1ca)]({'hovered':!0x1});}[_0x252217(0x25d)](_0x37a92b){return!0x1;}['_draw'](_0x8f68b3){const _0x394842=_0x252217;_0x25cb14[_0x394842(0x336)](_0x8f68b3,{'width':this[_0x394842(0x253)],'height':this['height'],'strokeWidth':Pi,'stroke':this[_0x394842(0x30c)],'evented':!0x1,'fill':this[_0x394842(0x33b)]}),this[_0x394842(0x25a)]&&(_0x8f68b3[_0x394842(0x256)](),_0x8f68b3['transform'](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x394842(0x237)?0x0:-0x14),he[_0x394842(0x336)](_0x8f68b3,{'text':this[_0x394842(0x366)],'color':this[_0x394842(0x30c)]}),_0x8f68b3['restore']());}}var Ai=Object[_0x252217(0x34f)],yi=(_0x54bca5,_0x48fdce,_0x424b55,_0x9a710a)=>{const _0x18261c=_0x252217;for(var _0x1ec631=_0x9a710a>0x1?void 0x0:_0x9a710a?Ai(_0x48fdce,_0x424b55):_0x48fdce,_0x1e2124=_0x54bca5[_0x18261c(0x259)]-0x1,_0x27d1ed;_0x1e2124>=0x0;_0x1e2124--)(_0x27d1ed=_0x54bca5[_0x1e2124])&&(_0x1ec631=_0x27d1ed(_0x1ec631)||_0x1ec631);return _0x1ec631;},ve=(_0x938789,_0x2198cc)=>(_0x50f544,_0x902cb8)=>_0x2198cc(_0x50f544,_0x902cb8,_0x938789);const $i=0x1389;let Pe=class extends _0x402deb{constructor(_0x13b073,_0x17a5b2,_0x2276f7,_0x5c64db){const _0x2c2736=_0x252217;super(),_(this,_0x2c2736(0x1f1),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x13b073,this[_0x2c2736(0x2f8)]=_0x17a5b2,this[_0x2c2736(0x31f)]=_0x2276f7,this[_0x2c2736(0x1e9)]=_0x5c64db,this[_0x2c2736(0x183)]());}[_0x252217(0x183)](){const _0x4acf05=_0x252217;this[_0x4acf05(0x2f8)][_0x4acf05(0x2d6)][_0x4acf05(0x1be)](_0x11b56a(this[_0x4acf05(0x22f)]),_0x539d0f(_0x388d81=>{const _0x2c02c1=_0x4acf05;if(_0x388d81){const _0xfb38c1=_0x388d81[_0x2c02c1(0x2c0)];return _0x569e06(this[_0x2c02c1(0x31f)][_0x2c02c1(0x247)](this[_0x2c02c1(0x181)][_0x2c02c1(0x28e)]),this[_0x2c02c1(0x1e9)][_0x2c02c1(0x1cb)])[_0x2c02c1(0x1be)](_0x5d9611(([_0x463f16,_0x32aa56])=>{const _0x1706a1=new Map();return _0x463f16['forEach']((_0xcc8ce3,_0x4eebf8)=>{const _0x4d443e=_0x1ea5;if(_0xcc8ce3[_0x4d443e(0x333)]===_0xfb38c1){const _0x34cf74={..._0xcc8ce3};_0x34cf74[_0x4d443e(0x1cc)]=this[_0x4d443e(0x1e9)][_0x4d443e(0x289)](_0xcc8ce3[_0x4d443e(0x1cc)]),_0x1706a1['set'](_0x4eebf8,_0x34cf74);}}),{'skeleton':_0x388d81,'cursors':_0x1706a1};}));}return _0x583da3({'skeleton':null,'cursors':new Map()});}))[_0x4acf05(0x26e)](({skeleton:_0x57b0ad,cursors:_0x3604a2})=>{const _0x724ac7=_0x4acf05;this[_0x724ac7(0x2e0)](),_0x57b0ad&&this[_0x724ac7(0x365)](_0x57b0ad,_0x3604a2);}),this[_0x4acf05(0x2f8)][_0x4acf05(0x2d6)]['subscribe'](_0x1dbcbf=>{const _0x30bb16=_0x4acf05;if(_0x1dbcbf==null)return;const {skeleton:_0x265b42}=_0x1dbcbf,{scene:_0x385724}=this[_0x30bb16(0x181)];_0x385724['onPointerMove$'][_0x30bb16(0x257)](_0x30c378(_0x27573a=>{const _0x4c887c=_0x30bb16;var _0x414e13,_0x15f88a;const {offsetX:_0x52670e,offsetY:_0x38840f}=_0x27573a,{x:_0x583e15,y:_0x495270}=_0x385724[_0x4c887c(0x2bc)](_0x4e75d0[_0x4c887c(0x2e4)]([_0x52670e,_0x38840f])),{scaleX:_0x5b613c,scaleY:_0x8b6195}=_0x385724['getAncestorScale'](),_0xfee464=_0x385724[_0x4c887c(0x2b9)](_0x4a6af8['VIEW_MAIN']),_0x44f817=_0x385724[_0x4c887c(0x210)](_0x4e75d0[_0x4c887c(0x2e4)]([_0x583e15,_0x495270]),_0xfee464),_0x202b4e=_0x265b42['getCellPositionByOffset'](_0x52670e,_0x38840f,_0x5b613c,_0x8b6195,_0x44f817);((_0x414e13=this[_0x4c887c(0x28b)])==null?void 0x0:_0x414e13['column'])===_0x202b4e[_0x4c887c(0x17e)]&&((_0x15f88a=this[_0x4c887c(0x28b)])==null?void 0x0:_0x15f88a['row'])===_0x202b4e[_0x4c887c(0x2ba)]||this[_0x4c887c(0x1f1)][_0x4c887c(0x1f3)](_0x15ff04=>{_0x15ff04['onMouseMove'](_0x202b4e);});},0x64));});}[_0x252217(0x365)](_0x364a7b,_0x53974c){const _0x57c30a=_0x252217;var _0x437654;const _0x3137c3=(_0x437654=this[_0x57c30a(0x2f8)][_0x57c30a(0x255)]())==null?void 0x0:_0x437654['skeleton'];if(!_0x3137c3)return;const _0x5c651d=this[_0x57c30a(0x18e)]();if(!_0x5c651d)return;this['_cursors']['forEach'](_0x12d2b6=>{const _0x7d9ca3=_0x57c30a;_0x12d2b6[_0x7d9ca3(0x341)]();});const {scene:_0x53ad4f}=_0x5c651d,_0x81a025=xi(Array[_0x57c30a(0x355)](_0x53974c[_0x57c30a(0x1b0)]()))[_0x57c30a(0x2dd)](_0x44e347=>{const _0x225f47=_0x57c30a,{color:_0x3d05e2,range:_0x3e8063,name:_0x2a75cb,selection:_0x4779f2,sheetID:_0x3798e7}=_0x44e347,{startColumn:_0x8b8fe7,startRow:_0x1bf858,endColumn:_0x641601,endRow:_0x3868c2}=_0x3e8063,_0x4146a8=_0x4645fe(_0x1bf858,_0x8b8fe7,_0x53ad4f,_0x3137c3),_0x558ddb=_0x4645fe(_0x3868c2,_0x641601,_0x53ad4f,_0x3137c3),{columnHeaderHeightAndMarginTop:_0x3e7c9e}=_0x3137c3,{startX:_0x42752a,startY:_0x3a2a7e}=_0x4146a8,{endX:_0x1f5b76,endY:_0x20abd6}=_0x558ddb,_0x564251=_0x1f5b76-_0x42752a,_0x35250a=_0x20abd6-_0x3a2a7e,_0x25180d={'labelPosition':_0x3a2a7e-_0x3e7c9e>=ee?_0x225f47(0x335):_0x225f47(0x237),'sheetID':_0x3798e7,'range':_0x3e8063,'color':_0x3d05e2,'name':_0x2a75cb,'selection':_0x4779f2,'left':_0x42752a,'top':_0x3a2a7e,'width':_0x564251,'height':_0x35250a,'evented':!0x1,'zIndex':$i};return new Li(_0x2a75cb,_0x25180d);});_0x53ad4f[_0x57c30a(0x18f)](_0x81a025,wi),this[_0x57c30a(0x1f1)]=new Set(_0x81a025);}[_0x252217(0x2e0)](){const _0x5984a4=_0x252217;var _0x37230e;(_0x37230e=this[_0x5984a4(0x1f1)])==null||_0x37230e[_0x5984a4(0x1f3)](_0x2d8d0e=>_0x2d8d0e[_0x5984a4(0x248)]());}[_0x252217(0x18e)](){const _0x4b2af8=_0x252217;return _0xb5a9df(this['_context'][_0x4b2af8(0x246)],this[_0x4b2af8(0x181)]);}};Pe=yi([ve(0x1,_0x473849(_0x298d79)),ve(0x2,_0x473849(H)),ve(0x3,_0x473849(_0x261a17))],Pe);function xi(_0x5baf4d){const _0x3598dd=_0x252217,_0x1be8ed=new Map();return _0x5baf4d['forEach'](_0x1fec2b=>{const _0x4b8c38=_0x1ea5;if(_0x1be8ed[_0x4b8c38(0x1b9)](_0x1fec2b['selection'])){const _0x48a06d=_0x1be8ed[_0x4b8c38(0x302)](_0x1fec2b['selection']);_0x48a06d['name']+=',\x20'+_0x1fec2b[_0x4b8c38(0x202)];}else _0x1be8ed[_0x4b8c38(0x1c5)](_0x1fec2b[_0x4b8c38(0x1d4)],_0x1fec2b);}),Array[_0x3598dd(0x355)](_0x1be8ed[_0x3598dd(0x1b0)]());}var v=function(){return v=Object['assign']||function(_0x45fe62){const _0x4b0d33=_0x1ea5;for(var _0x47847b,_0x2436e1=0x1,_0xc72a24=arguments['length'];_0x2436e1<_0xc72a24;_0x2436e1++){_0x47847b=arguments[_0x2436e1];for(var _0x3aa814 in _0x47847b)Object['prototype']['hasOwnProperty'][_0x4b0d33(0x1c2)](_0x47847b,_0x3aa814)&&(_0x45fe62[_0x3aa814]=_0x47847b[_0x3aa814]);}return _0x45fe62;},v['apply'](this,arguments);},Bi=function(_0x37781c,_0x91489d){const _0x2add7d=_0x252217;var _0x573dd1={};for(var _0x161c2b in _0x37781c)Object['prototype'][_0x2add7d(0x2c3)][_0x2add7d(0x1c2)](_0x37781c,_0x161c2b)&&_0x91489d[_0x2add7d(0x2c5)](_0x161c2b)<0x0&&(_0x573dd1[_0x161c2b]=_0x37781c[_0x161c2b]);if(_0x37781c!=null&&typeof Object[_0x2add7d(0x1b2)]==_0x2add7d(0x212)){for(var _0x407a26=0x0,_0x161c2b=Object[_0x2add7d(0x1b2)](_0x37781c);_0x407a26<_0x161c2b[_0x2add7d(0x259)];_0x407a26++)_0x91489d[_0x2add7d(0x2c5)](_0x161c2b[_0x407a26])<0x0&&Object['prototype'][_0x2add7d(0x2d9)][_0x2add7d(0x1c2)](_0x37781c,_0x161c2b[_0x407a26])&&(_0x573dd1[_0x161c2b[_0x407a26]]=_0x37781c[_0x161c2b[_0x407a26]]);}return _0x573dd1;},je=_0x778632(function(_0x36f369,_0x4ef582){const _0x44f92b=_0x252217;var _0x5235b0=_0x36f369[_0x44f92b(0x23e)],_0x455af1=_0x36f369['id'],_0x41f11d=_0x36f369[_0x44f92b(0x254)],_0x26a0cf=_0x36f369[_0x44f92b(0x18d)],_0x4cc91e=Bi(_0x36f369,[_0x44f92b(0x23e),'id',_0x44f92b(0x254),_0x44f92b(0x18d)]),_0xd9c906=_0x44f92b(0x1ec)[_0x44f92b(0x311)](_0x455af1,'\x20')[_0x44f92b(0x311)](_0x41f11d||'')['trim'](),_0xcf7f8=_0x22f287('_'[_0x44f92b(0x311)](ji()));return Rt(_0x5235b0,''[_0x44f92b(0x311)](_0x455af1),{'defIds':_0x5235b0[_0x44f92b(0x221)],'idSuffix':_0xcf7f8[_0x44f92b(0x177)]},v({'ref':_0x4ef582,'className':_0xd9c906},_0x4cc91e),_0x26a0cf);});function Rt(_0x138685,_0x1311ae,_0x287bc5,_0xf95c1f,_0x119348){const _0x5c0b1f=_0x252217;return _0x5e898e(_0x138685['tag'],v(v({'key':_0x1311ae},ki(_0x138685,_0x287bc5,_0x119348)),_0xf95c1f),(Hi(_0x138685,_0x287bc5)['children']||[])[_0x5c0b1f(0x2dd)](function(_0x113c60,_0x4cfe07){const _0x34a174=_0x5c0b1f;return Rt(_0x113c60,''[_0x34a174(0x311)](_0x1311ae,'-')[_0x34a174(0x311)](_0x138685[_0x34a174(0x2c9)],'-')['concat'](_0x4cfe07),_0x287bc5,void 0x0,_0x119348);}));}function ki(_0x415ba9,_0x29e78d,_0x3d76d2){const _0x500508=_0x252217;var _0x16318c=v({},_0x415ba9[_0x500508(0x290)]);_0x3d76d2!=null&&_0x3d76d2[_0x500508(0x204)]&&_0x16318c[_0x500508(0x305)]===_0x500508(0x204)&&(_0x16318c[_0x500508(0x305)]=_0x3d76d2['colorChannel1']),_0x415ba9[_0x500508(0x2c9)]==='mask'&&_0x16318c['id']&&(_0x16318c['id']=_0x16318c['id']+_0x29e78d[_0x500508(0x33f)]),Object[_0x500508(0x30d)](_0x16318c)[_0x500508(0x1f3)](function(_0x10b7fb){const _0x13d0ff=_0x500508;var _0x146787=_0x10b7fb[0x0],_0x566883=_0x10b7fb[0x1];_0x146787===_0x13d0ff(0x19c)&&typeof _0x566883==_0x13d0ff(0x347)&&(_0x16318c[_0x146787]=_0x566883[_0x13d0ff(0x20f)](/url\(#(.*)\)/,'url(#$1'[_0x13d0ff(0x311)](_0x29e78d[_0x13d0ff(0x33f)],')')));});var _0x5cee9b=_0x29e78d['defIds'];return!_0x5cee9b||_0x5cee9b['length']===0x0||(_0x415ba9[_0x500508(0x2c9)]===_0x500508(0x2f0)&&_0x16318c['xlink:href']&&(_0x16318c[_0x500508(0x2a8)]=_0x16318c['xlink:href']+_0x29e78d[_0x500508(0x33f)]),Object[_0x500508(0x30d)](_0x16318c)[_0x500508(0x1f3)](function(_0x3b4b5e){const _0x134951=_0x500508;var _0x51e620=_0x3b4b5e[0x0],_0x2904e2=_0x3b4b5e[0x1];typeof _0x2904e2==_0x134951(0x347)&&(_0x16318c[_0x51e620]=_0x2904e2[_0x134951(0x20f)](/url\(#(.*)\)/,'url(#$1'[_0x134951(0x311)](_0x29e78d[_0x134951(0x33f)],')')));})),_0x16318c;}function Hi(_0x118cb9,_0x28cb29){const _0x3ca7bb=_0x252217;var _0x3e370b,_0x587899=_0x28cb29[_0x3ca7bb(0x221)];return!_0x587899||_0x587899[_0x3ca7bb(0x259)]===0x0?_0x118cb9:_0x118cb9[_0x3ca7bb(0x2c9)]===_0x3ca7bb(0x1f8)&&(!((_0x3e370b=_0x118cb9[_0x3ca7bb(0x234)])===null||_0x3e370b===void 0x0)&&_0x3e370b[_0x3ca7bb(0x259)])?v(v({},_0x118cb9),{'children':_0x118cb9['children'][_0x3ca7bb(0x2dd)](function(_0x45b8e5){const _0x3e0981=_0x3ca7bb;return typeof _0x45b8e5[_0x3e0981(0x290)]['id']==_0x3e0981(0x347)&&_0x587899&&_0x587899[_0x3e0981(0x17a)](_0x45b8e5[_0x3e0981(0x290)]['id'])?v(v({},_0x45b8e5),{'attrs':v(v({},_0x45b8e5[_0x3e0981(0x290)]),{'id':_0x45b8e5[_0x3e0981(0x290)]['id']+_0x28cb29[_0x3e0981(0x33f)]})}):_0x45b8e5;})}):_0x118cb9;}function ji(){const _0x4497e0=_0x252217;return Math['random']()['toString'](0x24)[_0x4497e0(0x2c7)](0x2,0x8);}je[_0x252217(0x29c)]=_0x252217(0x1df);var Yi={'tag':_0x252217(0x235),'attrs':{'xmlns':_0x252217(0x32f),'fill':_0x252217(0x199),'viewBox':_0x252217(0x323),'width':_0x252217(0x200),'height':_0x252217(0x200)},'children':[{'tag':'g','attrs':{'clipPath':_0x252217(0x334)},'children':[{'tag':_0x252217(0x1bd),'attrs':{'stroke':_0x252217(0x207),'d':_0x252217(0x1a6),'strokeLinecap':'round','strokeLinejoin':_0x252217(0x2fa),'strokeWidth':1.2}}]},{'tag':_0x252217(0x1f8),'attrs':{},'children':[{'tag':_0x252217(0x297),'attrs':{'id':_0x252217(0x287)},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x252217(0x287)]},Dt=_0x778632(function(_0x132c97,_0x1a4e89){const _0x5e4f60=_0x252217;return _0x5e898e(je,Object[_0x5e4f60(0x30e)]({},_0x132c97,{'id':'off-line-icon','ref':_0x1a4e89,'icon':Yi}));});function _0x1cf4(){const _0x4ee6e0=['Failed','_assignedColors','range','_docTransformSelectionsService','isActive','requireSession','clearInterval','defIds','event$','_docTransformIMECacheService','loadOfflineData','replaceDocRanges','72zokcol','_updateLocalCursor','YUUMI_RATE_OVER_LIMIT','_localeService','engine','symbol','AWAITING_WITH_PENDING','YUUMI_NO_CUBOID_FOR_QUESTION','_disabled','dispose$','APPLY_REVISION_CONFILICT','contains','getActiveSheet','UNDEFINED','children','svg','hovered','bottom','generateRandomId','collabStatus.conflict','INVITE_CODE_REQUIRED','_imageIoService','m1Prime','searchParams','icon','activeSheet$','send','registerComponent','resize','_collaborationController','_refRangeService','_shapes','unit','getCollabCursors$','dispose','doc.mutation.rich-text-editing','_univerInstanceService','_handleJoinEvent','USERS_LEAVE','_status$','_getMergeRange','labelPosition','collaboration-client-ui.config','endRow','Error','width','className','getCurrent','save','subscribeEvent','collab-rect-range-','length','_hovered','OFFLINE','_selfUnitIDs','triggerDblclick','_registerRenderDependencies','moveTo','_uiPartsService','on-line-icon_clip0_910_349','disposeUnit','0\x200\x2017\x2016','_send','APPLY_NON_SEQUENTIAL_REVISION','Warning','roomMembers$','executeCommand','LICENSE_EXPORT_SIZE_EXCEEDED','NOT_COLLAB','_setupSubUnitSync','_config','_colorAssignService','subscribe','OTHER_CLIENTS_EDITING','_entities','_initEvent','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_docStateChangeManagerService','setInterval','getSheetBySheetId','OTHER_CLIENT_EDITING','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','next','deepClone','onPointerLeave$','source','getOffsetConfig','clearTimeout','SNAPSHOT_INVALID_SNAPSHOT','_drawRectRange','enableLocalCache','_transformPreviousActiveRange','addEventListener','_unitOnClients','subUnitId','RECT','_transformService','off-line-icon_clip0_910_343','NO_OTHER_CLIENTS_EDITING','getColorFromTheme','asObservable','_lastPointer','white','_ensureSubject','unitId','_getSessionTicket','attrs','_collabCursorState$','_revisionService','_initStatusListener','_updateSubUnitFromURLParams','onCommandExecuted','ONLINE','clipPath','_beforeCloseService','hide','getMember','disposeWithMe','displayName','body','_docSyncEditingCollabCursorService','getRangePointData','registerBeforeClose','find','debug','url(#on-line-icon_clip0_910_349)','actions','_startSheetCollabCursor','_initCommandExecutedListener','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','xlink:href','evenodd','LICENSE_IMPORT_SIZE_EXCEEDED','redoState','_localCacheService','transformMutationsWithChangeset','exhaustSavingTask','result','transformStateCache','_instanceService','UNAUTHENTICATED','getRenderById','text','_initResize','unsubscribe','addClipboardHook','search','getViewport','row','CHANGESET_REVISION_CONFILICT','getRelativeToViewportCoord','_cursorShapes','_collaborationUIEventService','endColumn','sheetId','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getActiveRange','hasOwnProperty','registerRefRange','indexOf','setTimeout','substring','TEXT','tag','WECHAT_HAS_BEEN_BOUND','then','INTERNAL_ERROR','_getAnchorBounding','delete','size','/run/','isEditing','black','[RemoteUniscriptService]:\x20no\x20focused\x20unit','post','green.600','currentSkeleton$','INVITE_CODE_HAS_BEEN_UES','show','propertyIsEnumerable','_online','disableLocalCache','_localStorageService','map','PENDING','OffLineIcon','_removeCollabCursors','purple.300','getDocRanges','collab-text-range-','FromArray','_injector','_syncEditingCollabCursorService','INVITE_CODE_ALREADY_BOUND','lineTo','_updateURLWithCurrentState','data','push','_transformUndoRedoStack','runId','ALREADY_EXISTS','arc','use','HEADER_MENU','_handleEvent','collabStatus.synced','1354535lYAuer','toString','_initStatusComponent','stringify','_sheetSkeletonManagerService','_hover','round','UNIVER_SHEET','UNIVER_DOC','location','_dataLoaderService','executionId','_onCursorDelete','setConfig','get','SNAPSHOT_HAS_BEEN_REMOVED','history','fill','startsWith','textRanges','onTransformChange$','measureText','_handleHeartbeatEvent','YUUMI_AI_RUN_FAILED','_color','entries','assign','setStateCache','subunit','concat','mutations','JOIN_ROOM_FAILED','getTypeOfUnitAdded$','11484190mnYppv','ACTIVE_UNIT_EVENT_CHANNEL','_registerDependencies','_createSocketURL','2616316fWbVPu','_scene','permission.title','add','getMergeData','startRow','_collabCursorController','univer-mr-2\x20univer-flex\x20univer-text-xl','RemoveColCommandId','getFocusedUnit','0\x200\x2016\x2016','getConfig','min','_removeClearOtherTimer','_transformHistoryAndStateStack','_toggleOffline','parse','NOT_FOUND','_collabSessionService','transformIMECache','transformRemoteChangeset','MOBILE_HAS_BEEN_BOUND','http://www.w3.org/2000/svg','translate(.97)','pushState','_drawAnchor','sheetID','url(#off-line-icon_clip0_910_343)','top','drawWith','_unitStatus','collabCursorState$','5RDYymF','_labelPosition','_backgroundColor','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','selections','uni.network.url-service','idSuffix','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','makeDirty','storage','23334ohNzhB','PY_RUNTIME_SCRIPT_ERROR','isArray','UPDATE_CURSOR','string','_range','ENSURE_SNAPSHOT_EXECUTION','roomMembers','unload','_docTransformStateCacheService','_render','jiqing.500','getOwnPropertyDescriptor','setActiveRange','APPLY_REJECT','5249694OvJrkB','getTypeOfUnitDisposed$','_session','from','addObject','_logService','fillStyle','_saveCache','defineProperty','_docClipboardService','CONFLICT','origin','params','removeParam','setItem','SUBMIT_CHANGESET_TIMEOUT','rgba(255,\x20255,\x20255,\x200.01)','m2Prime','newValue','_updateCollabCursors','_name','_commandService','toRgbString','yellow.400','_memberService','_notificationService','div','_entityInit$','_messageService','session.connection-failed','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','AWAITING','closePath','_getSaveTimeout','key','getAncestorScale','current','YUUMI_ALL_TABLES_IS_INVALID','_initEntityListener','includes','syncEditingCollabCursor','cursorInfo','setAlpha','column','_docSkeleton','complete','_context','imageSourceType','_init','collaboration.closeRoom','_handleHover','_docSkeletonManagerService','InsertRangeMoveDownCommandId','replaceState','EMAIL_HAS_BEEN_BOUND','InsertRangeMoveRightCommandId','getValue','_heartbeatTimer','extend','_getSheetObject','addObjects','getUnitId','_id','eventID','_getScale','COMPLETION_FINISHED','_eventUnsubscribe','type','with','cursorInfo$','none','FETCH_MISS','_scheduleClearOtherTimer','mask','LICENSE_DISTRO_REJECTED','136BCLHAD','LOGIN_FAILED','_textBubble','onRendered','collaboration.single-unit.warning','transformMutation','height','_scheduleSaving','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','_cachedData','registerRenderModule','PERMISSION_DENIED','getUndoRedoMutationParamsCache','href','UNRECOGNIZED','split','_configService','_saveTaskMap','values','getStateCache','getOwnPropertySymbols','_anchorDot','pluginName','saveTaskMap','_httpService','sessionTicket','INVALID_ARGUMENT','has','948501RGvCAX','_renderManagerService','_clearOtherTimers','path','pipe','collabStatus.notCollab','_handleLeaveEvent','_setupBeforeClosingHandler','call','SOCKET_FAILED_RETRY','code','set','InsertColCommandId','MUTATION','CONNECTOR_DATA_TOO_LARGE','_document','setShapeProps','currentTheme$','color','application/json','assignAColorForMemberID','on-line-icon','_onRefRangeChange','focused$','getParam','_toggleOnline','selection','_hideTimer','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_onCursorUpdate','unitID','restore','editingUnit','APPLY_PERMISSION_DENIED','YUUMI_URL_COL_OUT_OF_RANGE','collabStatus.syncing','YUUMI_SUBSCRIPTION_NOT_FOUND','UniverIcon','onPointerEnter$','error','InsertRowCommandId','getSheetId','findNodePositionByCharIndex','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getCurrentRevOfUnit','unshift','permission.content','_themeService','_scheduleHeartbeat','status$','univerjs-icon\x20univerjs-icon-','transformByState','addHandlerCallback','all','init','_cursors','_startDocCollabCursor','forEach','_initDependencies','_refreshCollabCursors','getMemberID','_drawTextRange','defs','collabStatus.offline','1061955tBBURi','ticket','getUnitStatus$','univer-flex\x20univer-items-center','Unknown\x20user','CLOSE_ROOM','1em','_cursorInfo$','name','USER_NOT_INVITED_CODE','colorChannel1','sessionStatus$','...','currentColor','_anchor','_roomMembers$','YUUMI_ASYNCIO_CANCELLED','docStateChange$','_colorIndex','RemoveRowCommandId','ranges','replace','getVpScrollXYInfoByPosToVp','_urlService','function','TOO_MANY_REQUESTS','urlChange$','INVALID_INVITE_CODE','entityInit$','[CollaborationDataLoaderController]','runOnServer','fillText'];_0x1cf4=function(){return _0x4ee6e0;};return _0x1cf4();}Dt[_0x252217(0x29c)]=_0x252217(0x2df);var Fi={'tag':_0x252217(0x235),'attrs':{'xmlns':_0x252217(0x32f),'fill':_0x252217(0x199),'viewBox':_0x252217(0x263),'width':_0x252217(0x200),'height':_0x252217(0x200)},'children':[{'tag':'g','attrs':{'clipPath':_0x252217(0x2a3)},'children':[{'tag':_0x252217(0x1bd),'attrs':{'stroke':_0x252217(0x207),'d':_0x252217(0x171),'strokeLinecap':_0x252217(0x2fa),'strokeLinejoin':_0x252217(0x2fa),'strokeWidth':1.2}}]},{'tag':_0x252217(0x1f8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x252217(0x261)},'children':[{'tag':_0x252217(0x1bd),'attrs':{'fill':_0x252217(0x28c),'d':'M0\x200H16V16H0z','transform':_0x252217(0x330)}}]}]}],'defIds':[_0x252217(0x261)]},Nt=_0x778632(function(_0x3ddc5c,_0x4eab65){const _0x3365cb=_0x252217;return _0x5e898e(je,Object['assign']({},_0x3ddc5c,{'id':_0x3365cb(0x1cf),'ref':_0x4eab65,'icon':Fi}));});Nt[_0x252217(0x29c)]='OnLineIcon';function Wi(_0x29e2ca){const _0x16c9ba=_0x252217;switch(_0x29e2ca){case _0x3eac87['OFFLINE']:return _0x16c9ba(0x1f9);case _0x3eac87[_0x16c9ba(0x35c)]:return _0x16c9ba(0x239);case _0x3eac87[_0x16c9ba(0x19a)]:return'collabStatus.fetchMiss';case _0x3eac87[_0x16c9ba(0x26a)]:return _0x16c9ba(0x1bf);case _0x3eac87[_0x16c9ba(0x172)]:case _0x3eac87[_0x16c9ba(0x22c)]:return _0x16c9ba(0x1dd);case _0x3eac87['SYNCED']:case _0x3eac87[_0x16c9ba(0x2de)]:return _0x16c9ba(0x2f3);}}function Vi(_0x27aefc){const _0x39aade=_0x252217,{status$:_0x40126f}=_0x27aefc,_0x3eec24=_0x59a373(_0x40126f,_0x3eac87[_0x39aade(0x26a)]),_0x2c0ee4=_0x280a05(_0x2371b9),_0x3fdb06=_0x280a05(_0x158b64),_0x37acf0=_0x3eec24!==_0x3eac87[_0x39aade(0x25b)],_0x3aae01=_0x2c0ee4['t'](Wi(_0x3eec24)),_0x3010c0=_0x37acf0?_0xd21116(Nt,{}):_0xd21116(Dt,{}),_0x325c1f=_0x47d919(()=>{_0x37acf0||_0x3fdb06['reconnect']();},[_0x37acf0,_0x3fdb06]);function _0x39ff00(){const _0x40f2f0=_0x39aade;return _0x26b6bc('div',{'className':_0x40f2f0(0x1fd),'onClick':_0x325c1f,'children':[_0xd21116(_0x40f2f0(0x36c),{'className':_0x19f69f(_0x40f2f0(0x320),{'univer-text-green-500':_0x37acf0,'univer-text-red-500':!_0x37acf0}),'children':_0x3010c0}),_0xd21116(_0x40f2f0(0x36c),{'className':_0x40f2f0(0x277),'children':_0x3aae01})]});}return _0x37acf0?_0x39ff00():_0xd21116(_0x1651d9,{'title':_0x2c0ee4['t']('collab-client.tooltip.reconnect'),'children':_0x39ff00()});}var Xi=Object[_0x252217(0x34f)],Gi=(_0x3bc042,_0x5c8f17,_0x456f67,_0x40e849)=>{for(var _0x306c16=_0x40e849>0x1?void 0x0:_0x40e849?Xi(_0x5c8f17,_0x456f67):_0x5c8f17,_0x280083=_0x3bc042['length']-0x1,_0x3bedd2;_0x280083>=0x0;_0x280083--)(_0x3bedd2=_0x3bc042[_0x280083])&&(_0x306c16=_0x3bedd2(_0x306c16)||_0x306c16);return _0x306c16;},Q=(_0x289abd,_0x50b832)=>(_0x2e77eb,_0x2b4dc3)=>_0x50b832(_0x2e77eb,_0x2b4dc3,_0x289abd);let te=class extends _0x271547{constructor(_0x55a85a,_0x1a13cc,_0x2a0953,_0x14b4db){const _0x11d66a=_0x252217;super(),_(this,_0x11d66a(0x24d),new _0x88603b(_0x3eac87['NOT_COLLAB'])),(this[_0x11d66a(0x24a)]=_0x55a85a,this[_0x11d66a(0x2e5)]=_0x1a13cc,this[_0x11d66a(0x243)]=_0x2a0953,this[_0x11d66a(0x260)]=_0x14b4db,this[_0x11d66a(0x2f6)](),this[_0x11d66a(0x293)]());}['_initStatusListener'](){const _0x4678e3=_0x252217;this[_0x4678e3(0x29b)](this['_univerInstanceService'][_0x4678e3(0x1d1)][_0x4678e3(0x1be)](_0x14092f(()=>{const _0x4b8cd8=_0x4678e3,_0x319c47=this[_0x4b8cd8(0x24a)][_0x4b8cd8(0x322)]();return _0x319c47?this[_0x4b8cd8(0x243)]['getCollabEntity$'](_0x319c47[_0x4b8cd8(0x190)]()):_0x583da3(null);}),_0x14092f(_0x1a4e5a=>_0x1a4e5a?_0x1a4e5a[_0x4678e3(0x1eb)]:_0x583da3(_0x3eac87[_0x4678e3(0x26a)])))[_0x4678e3(0x26e)](_0x29c750=>{const _0x1c0472=_0x4678e3;this[_0x1c0472(0x24d)][_0x1c0472(0x278)](_0x29c750);}));}[_0x252217(0x2f6)](){const _0x28c33b=_0x252217;this['disposeWithMe'](this['_uiPartsService'][_0x28c33b(0x241)](_0x1aca9a[_0x28c33b(0x2f1)],()=>_0x393173(Ki({'status$':this['_status$'][_0x28c33b(0x28a)]()}),this['_injector'])));}};te=Gi([Q(0x0,_0x1ba300),Q(0x1,_0x473849(_0x25a4c0)),Q(0x2,_0x473849(_0xd0ad51)),Q(0x3,_0x1c0f1d)],te);function Ki(_0x374acb){const {status$:_0x87b2fd}=_0x374acb;return function(){return _0xd21116(Vi,{'status$':_0x87b2fd});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x5a75a0,_0x2b131f,_0x17ff88,_0x1da43b)=>{const _0x40f0aa=_0x252217;for(var _0x2c6000=_0x1da43b>0x1?void 0x0:_0x1da43b?zi(_0x2b131f,_0x17ff88):_0x2b131f,_0x550923=_0x5a75a0[_0x40f0aa(0x259)]-0x1,_0x203264;_0x550923>=0x0;_0x550923--)(_0x203264=_0x5a75a0[_0x550923])&&(_0x2c6000=_0x203264(_0x2c6000)||_0x2c6000);return _0x2c6000;},B=(_0x14de99,_0x15a27f)=>(_0x7d520c,_0x82d3)=>_0x15a27f(_0x7d520c,_0x82d3,_0x14de99);let se=class extends _0x271547{constructor(_0x3372fb,_0x5ce8c3,_0x2ce704,_0x2e923b,_0xd30034,_0xa346dc){const _0x353b85=_0x252217;super(),this[_0x353b85(0x298)]=_0x3372fb,this[_0x353b85(0x2ac)]=_0x5ce8c3,this['_collaborationUIEventService']=_0x2ce704,this[_0x353b85(0x36e)]=_0x2e923b,this[_0x353b85(0x36b)]=_0xd30034,this[_0x353b85(0x229)]=_0xa346dc,this[_0x353b85(0x1c1)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x4500f1=_0x252217;this['disposeWithMe'](this[_0x4500f1(0x298)][_0x4500f1(0x2a0)](()=>{const _0x260eb4=_0x4500f1;if(this[_0x260eb4(0x2ac)][_0x260eb4(0x1b5)][_0x260eb4(0x2cf)])return this[_0x260eb4(0x229)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x252217(0x271)](){const _0x456a8c=_0x252217;this[_0x456a8c(0x29b)](this[_0x456a8c(0x2be)][_0x456a8c(0x222)][_0x456a8c(0x26e)](_0x14a85d=>{const _0x562c0a=_0x456a8c;_0x14a85d['id']===_0x583ad6[_0x562c0a(0x276)]&&this['_messageService'][_0x562c0a(0x2d8)]({'type':_0x483245[_0x562c0a(0x266)],'content':this[_0x562c0a(0x229)]['t'](_0x562c0a(0x1a2))}),_0x14a85d['id']===_0x583ad6[_0x562c0a(0x1ff)]&&this[_0x562c0a(0x36e)][_0x562c0a(0x2d8)]({'type':_0x483245[_0x562c0a(0x266)],'content':this[_0x562c0a(0x229)]['t'](_0x562c0a(0x184))}),_0x14a85d['id']===_0x583ad6[_0x562c0a(0x1a9)]&&this[_0x562c0a(0x36b)][_0x562c0a(0x2d8)]({'title':this[_0x562c0a(0x229)]['t'](_0x562c0a(0x31b)),'content':this[_0x562c0a(0x229)]['t'](_0x562c0a(0x1e8)),'type':'error','duration':0x0}),_0x14a85d['id']===_0x583ad6[_0x562c0a(0x35c)]&&this[_0x562c0a(0x36e)][_0x562c0a(0x2d8)]({'type':_0x483245['Error'],'content':this[_0x562c0a(0x229)]['t'](_0x562c0a(0x184))+'('+_0x14a85d[_0x562c0a(0x2ea)]+')'}),_0x14a85d['id']===_0x583ad6[_0x562c0a(0x313)]&&this['_messageService'][_0x562c0a(0x2d8)]({'type':_0x483245[_0x562c0a(0x266)],'content':this[_0x562c0a(0x229)]['t'](_0x14a85d['data']||'')}),_0x14a85d['id']===_0x583ad6[_0x562c0a(0x1c3)]&&this[_0x562c0a(0x36e)]['show']({'type':_0x483245[_0x562c0a(0x266)],'content':this[_0x562c0a(0x229)]['t']('session.will-retry')}),_0x14a85d['id']===_0x583ad6['SOCKET_FAILED']&&this[_0x562c0a(0x36e)][_0x562c0a(0x2d8)]({'type':_0x483245['Error'],'content':this[_0x562c0a(0x229)]['t'](_0x562c0a(0x170))}),_0x14a85d['id']===_0x583ad6[_0x562c0a(0x361)]&&this[_0x562c0a(0x36e)][_0x562c0a(0x2d8)]({'type':_0x483245[_0x562c0a(0x252)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};se=Ji([B(0x0,_0x5e0be0),B(0x1,_0x2d2aa5),B(0x2,_0x473849(_0x1c6f84)),B(0x3,_0x408bbf),B(0x4,_0xb77896),B(0x5,_0x473849(_0x2371b9))],se);const Zi=_0x252217(0x250),et={},Ut=_0x3878eb(_0x252217(0x33e));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x48729e,_0x444104,_0x47a168,_0x3082a7)=>{const _0x313261=_0x252217;for(var _0x210989=_0x3082a7>0x1?void 0x0:_0x3082a7?Qi(_0x444104,_0x47a168):_0x444104,_0x605457=_0x48729e[_0x313261(0x259)]-0x1,_0x4c7677;_0x605457>=0x0;_0x605457--)(_0x4c7677=_0x48729e[_0x605457])&&(_0x210989=_0x4c7677(_0x210989)||_0x210989);return _0x210989;},G=(_0x59decc,_0x1d401f)=>(_0x197ffb,_0x527c73)=>_0x1d401f(_0x197ffb,_0x527c73,_0x59decc);let ie=class extends _0x402deb{constructor(_0x9e8f6d,_0x4a5a1a,_0x23bbf1,_0x1318fd,_0xdd14a3){const _0x18f66b=_0x252217;super(),this[_0x18f66b(0x211)]=_0x9e8f6d,this[_0x18f66b(0x357)]=_0x4a5a1a,this[_0x18f66b(0x367)]=_0x23bbf1,this[_0x18f66b(0x2fe)]=_0x1318fd,_0xdd14a3?_0xdd14a3==null||_0xdd14a3['whenReady']()[_0x18f66b(0x2cb)](()=>this['_init']()):(this[_0x18f66b(0x357)][_0x18f66b(0x2a2)](_0x18f66b(0x217),_0x18f66b(0x2a7)),this['_init']());}async[_0x252217(0x183)](){const _0x14582f=_0x252217,_0x56c003=this[_0x14582f(0x211)][_0x14582f(0x1d2)](_0x14582f(0x246)),_0x6c2a39=this[_0x14582f(0x211)][_0x14582f(0x1d2)]('type'),_0x2d78e2=this[_0x14582f(0x211)][_0x14582f(0x1d2)](_0x14582f(0x310));if(!_0x56c003||!_0x6c2a39){this[_0x14582f(0x357)][_0x14582f(0x2a2)]('[CollaborationDataLoaderController]',_0x14582f(0x33c));return;}const _0x4d05a7=await this[_0x14582f(0x2fe)]['loadUnit'](_0x56c003,Number(_0x6c2a39),_0x2d78e2);_0x4d05a7&&_0x4d05a7 instanceof _0x414d66&&this['_setupSubUnitSync'](_0x4d05a7);}async[_0x252217(0x26b)](_0x177463){const _0x5782ea=_0x252217;await this[_0x5782ea(0x294)](_0x177463),_0x177463[_0x5782ea(0x23f)][_0x5782ea(0x1be)](_0x46b83f(this['dispose$']))[_0x5782ea(0x26e)](_0x5da30c=>{const _0x4f994e=_0x5782ea;_0x5da30c&&this[_0x4f994e(0x2e9)](_0x5da30c);}),this[_0x5782ea(0x211)][_0x5782ea(0x214)][_0x5782ea(0x1be)](_0x46b83f(this[_0x5782ea(0x22f)]))[_0x5782ea(0x26e)](()=>this[_0x5782ea(0x294)](_0x177463));}[_0x252217(0x2e9)](_0x35624c,_0x503e47=!0x1){const _0x3a6eea=_0x252217,_0x595bd1=this['_urlService']['getParam'](_0x3a6eea(0x310));_0x35624c[_0x3a6eea(0x1e3)]()!==_0x595bd1&&this[_0x3a6eea(0x211)]['setParam']('subunit',_0x35624c[_0x3a6eea(0x1e3)](),_0x503e47);}async[_0x252217(0x294)](_0x35f951){const _0xba51ff=_0x252217;var _0x2bd892;const _0x1b3a52=this[_0xba51ff(0x211)][_0xba51ff(0x1d2)](_0xba51ff(0x310));if(!_0x1b3a52||!_0x35f951[_0xba51ff(0x275)](_0x1b3a52)){const _0xddda91=_0x35f951['getUnhiddenWorksheets']()[0x0],_0x516f62=_0x35f951['getSheetBySheetId'](_0xddda91);if(!_0x516f62)return;this[_0xba51ff(0x2e9)](_0x516f62,!0x0),await this['_commandService'][_0xba51ff(0x268)](_0x30ccf7['id'],{'unitId':_0x35f951['getUnitId'](),'subUnitId':_0xddda91});return;}((_0x2bd892=_0x35f951[_0xba51ff(0x232)]())==null?void 0x0:_0x2bd892[_0xba51ff(0x1e3)]())!==_0x1b3a52&&await this[_0xba51ff(0x367)][_0xba51ff(0x268)](_0x30ccf7['id'],{'unitId':_0x35f951[_0xba51ff(0x190)](),'subUnitId':_0x1b3a52});}};ie=qi([G(0x0,Ut),G(0x1,_0x49ab64),G(0x2,_0x192617),G(0x3,_0x473849(_0x33a7f6)),G(0x4,_0x3e1f2d(_0x331246))],ie);var en=Object[_0x252217(0x34f)],tn=(_0x2b6e6f,_0xca91c8,_0x15cefa,_0xe06e97)=>{for(var _0x21741a=_0xe06e97>0x1?void 0x0:_0xe06e97?en(_0xca91c8,_0x15cefa):_0xca91c8,_0x42a2cf=_0x2b6e6f['length']-0x1,_0xb2b51b;_0x42a2cf>=0x0;_0x42a2cf--)(_0xb2b51b=_0x2b6e6f[_0x42a2cf])&&(_0x21741a=_0xb2b51b(_0x21741a)||_0x21741a);return _0x21741a;},pe=(_0x235801,_0x27286c)=>(_0x377dc9,_0x1bc084)=>_0x27286c(_0x377dc9,_0x1bc084,_0x235801);let ne=class{constructor(_0x51f609,_0x421f6d,_0x3d5c15){const _0xf98437=_0x252217;this[_0xf98437(0x2e5)]=_0x51f609,this[_0xf98437(0x286)]=_0x421f6d,this['_renderManagerService']=_0x3d5c15;}[_0x252217(0x32c)](_0xe5b39a){const _0x3aff6f=_0x252217;this[_0x3aff6f(0x2ec)](_0xe5b39a),this[_0x3aff6f(0x281)](_0xe5b39a);}[_0x252217(0x32d)](_0x3f1fb7){const _0xb567bc=_0x252217,{unitID:_0x22af24}=_0x3f1fb7,_0x1a5423=this['_renderManagerService'][_0xb567bc(0x2b3)](_0x22af24)['with'](_0x233890),{redoCache:_0x5907ad}=_0x1a5423[_0xb567bc(0x1aa)]();if(_0x5907ad[_0xb567bc(0x259)]===0x0)return _0x3f1fb7;let _0x1eb030=_0xde0aa9[_0xb567bc(0x279)](_0x3f1fb7[_0xb567bc(0x312)][0x0]);for(let _0x1996da=0x0;_0x1996da<_0x5907ad[_0xb567bc(0x259)];_0x1996da++){const _0x2a3767={'id':_0xb567bc(0x249),'params':{..._0x5907ad[_0x1996da]}},_0x14e8c=this['_transformService'][_0xb567bc(0x1a3)](_0x1eb030,_0x2a3767,!0x1);if(_0x41ed2e(_0x14e8c))throw _0x14e8c[_0xb567bc(0x1e1)];_0x1eb030=_0x14e8c[_0xb567bc(0x23c)];}return{..._0xde0aa9['deepClone'](_0x3f1fb7),'mutations':[_0x1eb030]};}[_0x252217(0x2ec)](_0x5547b2){const _0x2b9c61=_0x252217,{unitID:_0x218aea}=_0x5547b2,_0x2d1e6a=this['_renderManagerService'][_0x2b9c61(0x2b3)](_0x218aea)[_0x2b9c61(0x197)](_0x233890),{undoCache:_0x1dfcae,redoCache:_0x4d896d}=_0x2d1e6a[_0x2b9c61(0x1aa)]();if(_0x1dfcae[_0x2b9c61(0x259)]===0x0||_0x4d896d[_0x2b9c61(0x259)]===0x0)return;const _0x2c57a1=[],_0x245ce5=[];let _0x45ac1f=_0xde0aa9[_0x2b9c61(0x279)](_0x5547b2['mutations'][0x0]),_0x564361=_0xde0aa9[_0x2b9c61(0x279)](_0x5547b2[_0x2b9c61(0x312)][0x0]);for(let _0x20db31=_0x1dfcae[_0x2b9c61(0x259)]-0x1;_0x20db31>=0x0;_0x20db31--){const _0x52139a={'id':'doc.mutation.rich-text-editing','params':{..._0x1dfcae[_0x20db31]}},_0x3db09d={'id':_0x2b9c61(0x249),'params':{..._0x4d896d[_0x20db31]}},_0xab6cb8=this[_0x2b9c61(0x286)]['transformMutation'](_0x45ac1f,_0x52139a,!0x1),_0x7f66b6=this['_transformService']['transformMutation'](_0x564361,_0x3db09d,!0x1);if(_0x41ed2e(_0xab6cb8))throw _0xab6cb8['error'];if(_0x41ed2e(_0x7f66b6))throw _0x7f66b6[_0x2b9c61(0x1e1)];_0x2c57a1[_0x2b9c61(0x1e7)](_0xab6cb8[_0x2b9c61(0x363)]['params']),_0x245ce5[_0x2b9c61(0x1e7)](_0x7f66b6[_0x2b9c61(0x363)]['params']),_0x45ac1f=_0xab6cb8['m1Prime'],_0x564361=_0x7f66b6[_0x2b9c61(0x23c)];}_0x2d1e6a['setUndoRedoMutationParamsCache']({'undoCache':_0x2c57a1,'redoCache':_0x245ce5});}['_transformPreviousActiveRange'](_0x4f576f){const _0x1d6a3d=_0x252217,{unitID:_0x59786f}=_0x4f576f,_0x5e179d=this[_0x1d6a3d(0x1bb)][_0x1d6a3d(0x2b3)](_0x59786f)[_0x1d6a3d(0x197)](_0x233890),_0x3e4d19=_0x5e179d[_0x1d6a3d(0x2c2)]();if(_0x3e4d19==null)return;const _0x4b186c=[{'id':_0x1d6a3d(0x249),'params':{'unitId':_0x4f576f[_0x1d6a3d(0x1d8)],'actions':null,'textRanges':[_0x3e4d19]}}],_0x16f63d=this['_transformService'][_0x1d6a3d(0x2ad)](_0x4f576f,_0x4b186c);if(!_0x18ec12(_0x16f63d))throw _0x16f63d[_0x1d6a3d(0x1e1)];const _0x19ee86=_0x16f63d['m2Prime'][0x0][_0x1d6a3d(0x35e)][_0x1d6a3d(0x307)];Array['isArray'](_0x19ee86)&&_0x19ee86[_0x1d6a3d(0x259)]&&_0x5e179d[_0x1d6a3d(0x350)](_0x19ee86[0x0]);}};ne=tn([pe(0x0,_0x473849(_0x25a4c0)),pe(0x1,_0x409fe5),pe(0x2,_0x4c7bc5)],ne);var sn=Object[_0x252217(0x34f)],nn=(_0x41ac93,_0x5457e3,_0x286f38,_0x413ffd)=>{const _0x7ce854=_0x252217;for(var _0x4e800a=_0x413ffd>0x1?void 0x0:_0x413ffd?sn(_0x5457e3,_0x286f38):_0x5457e3,_0x5c11c0=_0x41ac93[_0x7ce854(0x259)]-0x1,_0x1d4fee;_0x5c11c0>=0x0;_0x5c11c0--)(_0x1d4fee=_0x41ac93[_0x5c11c0])&&(_0x4e800a=_0x1d4fee(_0x4e800a)||_0x4e800a);return _0x4e800a;},Ce=(_0x2e2cc3,_0x3c1a78)=>(_0x4bcbd1,_0x10c06c)=>_0x3c1a78(_0x4bcbd1,_0x10c06c,_0x2e2cc3);let re=class{constructor(_0x160cdc,_0x5cdcab,_0x15f894){const _0x10439a=_0x252217;this[_0x10439a(0x2e5)]=_0x160cdc,this[_0x10439a(0x286)]=_0x5cdcab,this[_0x10439a(0x273)]=_0x15f894;}[_0x252217(0x2b0)](_0x150c2c){const _0x23690c=_0x252217;this[_0x23690c(0x327)](_0x150c2c);}[_0x252217(0x32d)](_0x7c8b98){const _0x2d691f=_0x252217,{unitID:_0x530307}=_0x7c8b98,{collaboration:_0x15ec0d}=this[_0x2d691f(0x273)][_0x2d691f(0x1b1)](_0x530307);if(_0x15ec0d[_0x2d691f(0x259)]===0x0)return _0x7c8b98;let _0xdb5366=_0xde0aa9[_0x2d691f(0x279)](_0x7c8b98['mutations'][0x0]);for(let _0x4b66a2=0x0;_0x4b66a2<_0x15ec0d[_0x2d691f(0x259)];_0x4b66a2++){const _0xb10b81={'id':_0x2d691f(0x249),'params':{'unitId':_0x15ec0d[_0x4b66a2][_0x2d691f(0x28e)],..._0x15ec0d[_0x4b66a2][_0x2d691f(0x2ab)]}},_0x42b026=this['_transformService']['transformMutation'](_0xdb5366,_0xb10b81,!0x1);if(_0x41ed2e(_0x42b026))throw _0x42b026['error'];_0xdb5366=_0x42b026[_0x2d691f(0x23c)];}return{..._0xde0aa9[_0x2d691f(0x279)](_0x7c8b98),'mutations':[_0xdb5366]};}['_transformHistoryAndStateStack'](_0x5587f7){const _0x5808c2=_0x252217,{unitID:_0x13b114}=_0x5587f7,{history:_0x42c191,collaboration:_0x594dcd}=this[_0x5808c2(0x273)][_0x5808c2(0x1b1)](_0x13b114);if(_0x42c191[_0x5808c2(0x259)]===0x0&&_0x594dcd['length']===0x0)return;const _0x44f70e=[],_0x41ae31=[];let _0x1557c1=_0xde0aa9['deepClone'](_0x5587f7['mutations'][0x0]),_0x14e5bd=_0xde0aa9['deepClone'](_0x5587f7[_0x5808c2(0x312)][0x0]);for(let _0x2fbdc7=_0x42c191[_0x5808c2(0x259)]-0x1;_0x2fbdc7>=0x0;_0x2fbdc7--){const _0x43d82d={'id':_0x5808c2(0x249),'params':{'unitId':_0x42c191[_0x2fbdc7]['unitId'],..._0x42c191[_0x2fbdc7]['undoState']}},_0x5ccbc2={'id':_0x5808c2(0x249),'params':{'unitId':_0x42c191[_0x2fbdc7]['unitId'],..._0x42c191[_0x2fbdc7][_0x5808c2(0x2ab)]}},_0x3989a8=this[_0x5808c2(0x286)]['transformMutation'](_0x1557c1,_0x43d82d,!0x1),_0x4ccea1=this['_transformService']['transformMutation'](_0x14e5bd,_0x5ccbc2,!0x1);if(_0x41ed2e(_0x3989a8))throw _0x3989a8['error'];if(_0x41ed2e(_0x4ccea1))throw _0x4ccea1[_0x5808c2(0x1e1)];_0x44f70e[_0x5808c2(0x1e7)]({..._0x42c191[_0x2fbdc7],'undoState':_0x3989a8['m2Prime'][_0x5808c2(0x35e)],'redoState':_0x4ccea1[_0x5808c2(0x363)][_0x5808c2(0x35e)]}),_0x1557c1=_0x3989a8[_0x5808c2(0x23c)],_0x14e5bd=_0x4ccea1[_0x5808c2(0x23c)];}_0x1557c1=_0xde0aa9[_0x5808c2(0x279)](_0x5587f7[_0x5808c2(0x312)][0x0]),_0x14e5bd=_0xde0aa9[_0x5808c2(0x279)](_0x5587f7['mutations'][0x0]);for(let _0x5d6296=_0x594dcd[_0x5808c2(0x259)]-0x1;_0x5d6296>=0x0;_0x5d6296--){const _0x587dc9={'id':_0x5808c2(0x249),'params':{'unitId':_0x594dcd[_0x5d6296][_0x5808c2(0x28e)],..._0x594dcd[_0x5d6296]['undoState']}},_0x477371={'id':_0x5808c2(0x249),'params':{'unitId':_0x594dcd[_0x5d6296][_0x5808c2(0x28e)],..._0x594dcd[_0x5d6296]['redoState']}},_0x1bd1ed=this[_0x5808c2(0x286)][_0x5808c2(0x1a3)](_0x1557c1,_0x587dc9,!0x1),_0x46d2d6=this[_0x5808c2(0x286)]['transformMutation'](_0x14e5bd,_0x477371,!0x1);if(_0x41ed2e(_0x1bd1ed))throw _0x1bd1ed['error'];if(_0x41ed2e(_0x46d2d6))throw _0x46d2d6[_0x5808c2(0x1e1)];_0x41ae31[_0x5808c2(0x1e7)]({..._0x594dcd[_0x5d6296],'undoState':_0x1bd1ed[_0x5808c2(0x363)][_0x5808c2(0x35e)],'redoState':_0x46d2d6[_0x5808c2(0x363)][_0x5808c2(0x35e)]}),_0x1557c1=_0x1bd1ed[_0x5808c2(0x23c)],_0x14e5bd=_0x46d2d6[_0x5808c2(0x23c)];}this[_0x5808c2(0x273)][_0x5808c2(0x30f)](_0x13b114,{'history':_0x44f70e,'collaboration':_0x41ae31});}};re=nn([Ce(0x0,_0x473849(_0x25a4c0)),Ce(0x1,_0x409fe5),Ce(0x2,_0x473849(_0x54e3f0))],re);var rn=Object[_0x252217(0x34f)],on=(_0x3af47d,_0x507d6a,_0x42e081,_0x2043aa)=>{const _0x1afe4e=_0x252217;for(var _0xec61a9=_0x2043aa>0x1?void 0x0:_0x2043aa?rn(_0x507d6a,_0x42e081):_0x507d6a,_0xcbdac9=_0x3af47d[_0x1afe4e(0x259)]-0x1,_0x2dc97b;_0xcbdac9>=0x0;_0xcbdac9--)(_0x2dc97b=_0x3af47d[_0xcbdac9])&&(_0xec61a9=_0x2dc97b(_0xec61a9)||_0xec61a9);return _0xec61a9;},tt=(_0x23e840,_0x3a68e0)=>(_0x1ad1cf,_0x98462e)=>_0x3a68e0(_0x1ad1cf,_0x98462e,_0x23e840);let oe=class{constructor(_0x26fa70,_0x3a36e0){const _0x3e5305=_0x252217;this['_injector']=_0x26fa70,this[_0x3e5305(0x286)]=_0x3a36e0;}['transformSelections'](_0x3f0abf){const _0x1148c5=_0x252217;var _0x392e10;const _0xc93e9c=this[_0x1148c5(0x2e5)][_0x1148c5(0x302)](_0x865cc4),_0x45d6c1=(_0x392e10=_0xc93e9c[_0x1148c5(0x2e2)]())!=null?_0x392e10:[];if(_0x45d6c1[_0x1148c5(0x259)]===0x0)return;const _0x20c034=_0x3f0abf['unitID'],_0x476a37=[{'id':_0x1148c5(0x249),'params':{'unitId':_0x20c034,'actions':null,'textRanges':_0x45d6c1}}],_0x1c650e=this[_0x1148c5(0x286)][_0x1148c5(0x2ad)](_0x3f0abf,_0x476a37);if(!_0x18ec12(_0x1c650e))throw _0x1c650e['error'];const _0x153f0f=_0x1c650e['m2Prime'][0x0][_0x1148c5(0x35e)]['textRanges'];Array[_0x1148c5(0x345)](_0x153f0f)&&_0x153f0f['length']&&_0xc93e9c[_0x1148c5(0x225)](_0x153f0f,{'unitId':_0x20c034,'subUnitId':_0x20c034},!0x1);}};oe=on([tt(0x0,_0x473849(_0x25a4c0)),tt(0x1,_0x409fe5)],oe);var an=Object[_0x252217(0x34f)],cn=(_0xebe9bd,_0x26ff51,_0x6a4b34,_0x4c528c)=>{for(var _0x4f10e4=_0x4c528c>0x1?void 0x0:_0x4c528c?an(_0x26ff51,_0x6a4b34):_0x26ff51,_0x15732c=_0xebe9bd['length']-0x1,_0x18ac3b;_0x15732c>=0x0;_0x15732c--)(_0x18ac3b=_0xebe9bd[_0x15732c])&&(_0x4f10e4=_0x18ac3b(_0x4f10e4)||_0x4f10e4);return _0x4f10e4;},U=(_0x4a04d0,_0x486be6)=>(_0x29766b,_0x7fef3d)=>_0x486be6(_0x29766b,_0x7fef3d,_0x4a04d0);let ae=class extends _0x271547{constructor(_0x577a63,_0xd8ea2a,_0xf38689,_0x4258f3,_0x26e590,_0x1de791,_0x52d323,_0x538ddc){const _0x438634=_0x252217;super(),_(this,_0x438634(0x24d),new _0x88603b(_0x3eac87[_0x438634(0x26a)])),(this[_0x438634(0x273)]=_0x577a63,this[_0x438634(0x243)]=_0xd8ea2a,this[_0x438634(0x223)]=_0xf38689,this[_0x438634(0x34c)]=_0x4258f3,this['_docTransformSelectionsService']=_0x26e590,this[_0x438634(0x29e)]=_0x1de791,this[_0x438634(0x36e)]=_0x52d323,this[_0x438634(0x229)]=_0x538ddc,this['_initEntityListener']());}[_0x252217(0x179)](){const _0x150ac3=_0x252217;this[_0x150ac3(0x29b)](this[_0x150ac3(0x243)][_0x150ac3(0x216)][_0x150ac3(0x26e)](_0x5d3227=>{const _0x334c01=_0x150ac3,_0xbb4d4=this[_0x334c01(0x273)][_0x334c01(0x20b)][_0x334c01(0x26e)](_0x34f745=>{const _0x9bf294=_0x334c01;if(_0x34f745==null)return;const {unitId:_0x400a7e,redoState:_0x2901af,commandId:_0x3ad654}=_0x34f745;if(_0x400a7e!==_0x5d3227['unitID'])return;const _0x2eec4e={'id':_0x3ad654,'type':_0x2019a3[_0x9bf294(0x1c7)],'params':{'unitId':_0x400a7e,'actions':_0x2901af[_0x9bf294(0x2a4)],'textRanges':null}};_0x5d3227['onLocalMutation'](_0x2eec4e);});if(_0x5d3227[_0x334c01(0x29b)](_0xbb4d4),_0x5d3227 instanceof _0x58a2ff){const _0x496e30={'onTransformIME':_0x38a827=>this['_docTransformIMECacheService'][_0x334c01(0x32c)](_0x38a827),'onTransformState':_0x487842=>this['_docTransformStateCacheService'][_0x334c01(0x2b0)](_0x487842),'onTransformSelections':_0x4ca410=>this[_0x334c01(0x21d)]['transformSelections'](_0x4ca410),'onSyncEditingCollabCursor':_0x364daa=>this[_0x334c01(0x29e)][_0x334c01(0x17b)](_0x364daa),'onTransformRemoteChangesetByIMECache':_0x2d4e42=>this['_docTransformIMECacheService'][_0x334c01(0x32d)](_0x2d4e42),'onTransformRemoteChangesetByStateCache':_0x29e74c=>this[_0x334c01(0x34c)]['transformRemoteChangeset'](_0x29e74c)};_0x5d3227[_0x334c01(0x1ee)](_0x496e30);}}));}};ae=cn([U(0x0,_0x473849(_0x54e3f0)),U(0x1,_0x473849(_0xd0ad51)),U(0x2,_0x473849(ne)),U(0x3,_0x473849(re)),U(0x4,_0x473849(oe)),U(0x5,_0x473849(He)),U(0x6,_0x408bbf),U(0x7,_0x473849(_0x2371b9))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x2d534f,_0x28194d,_0x1f81bf,_0x268498)=>{const _0x1af91d=_0x252217;for(var _0x5e1c23=_0x268498>0x1?void 0x0:_0x268498?ln(_0x28194d,_0x1f81bf):_0x28194d,_0x4e3db9=_0x2d534f[_0x1af91d(0x259)]-0x1,_0x4f19e4;_0x4e3db9>=0x0;_0x4e3db9--)(_0x4f19e4=_0x2d534f[_0x4e3db9])&&(_0x5e1c23=_0x4f19e4(_0x5e1c23)||_0x5e1c23);return _0x5e1c23;},Ee=(_0x306445,_0x188828)=>(_0x2be75a,_0x4059f3)=>_0x188828(_0x2be75a,_0x4059f3,_0x306445);let Le=class extends _0x271547{constructor(_0x1c65ae,_0x1037e7,_0x5dbd3b){const _0xf4b2d=_0x252217;super(),_(this,'_cachedData',new Map()),_(this,_0xf4b2d(0x1af),new Map()),_(this,_0xf4b2d(0x22e),!0x1),(this[_0xf4b2d(0x1ae)]=_0x1c65ae,this[_0xf4b2d(0x2dc)]=_0x1037e7,this[_0xf4b2d(0x292)]=_0x5dbd3b);}[_0x252217(0x2db)](){const _0x22e62b=_0x252217;this[_0x22e62b(0x22e)]=!0x0;}[_0x252217(0x280)](){const _0x1cae5b=_0x252217;this[_0x1cae5b(0x22e)]=!0x1;}get[_0x252217(0x1b5)](){const _0xd89844=_0x252217;return this[_0xd89844(0x1af)];}[_0x252217(0x248)](){const _0x4b38e1=_0x252217;this[_0x4b38e1(0x2ae)]()['then'](()=>super[_0x4b38e1(0x248)]());}async[_0x252217(0x224)](_0x62d9d8){const _0x12b36e=_0x252217;return this[_0x12b36e(0x22e)]?null:this[_0x12b36e(0x2dc)]['getItem'](_0x5ac624(_0x62d9d8));}async['saveOfflineData'](_0x43a144,_0x959693){const _0x514144=_0x252217;return!!this[_0x514144(0x2dc)][_0x514144(0x360)](_0x43a144,_0x959693);}['updateOfflineData'](_0x2bd30b,_0x451793,_0x2a1376,_0x18a2ef){const _0x3a27f0=_0x252217,_0x250958=this['_revisionService'][_0x3a27f0(0x1e6)](_0x2bd30b);this[_0x3a27f0(0x1a7)][_0x3a27f0(0x1c5)](_0x2bd30b,{'unitID':_0x2bd30b,'type':_0x451793,'awaitingChangeset':_0x2a1376,'mutations':_0x18a2ef,'rev':_0x250958}),this[_0x3a27f0(0x1af)][_0x3a27f0(0x1b9)](_0x2bd30b)||this[_0x3a27f0(0x1a5)](_0x2bd30b);}['_scheduleSaving'](_0xa271de){const _0x19d6ec=_0x252217,_0x531462=this[_0x19d6ec(0x174)]();_0x531462===0x0?this[_0x19d6ec(0x359)](_0xa271de):this[_0x19d6ec(0x1af)][_0x19d6ec(0x1c5)](_0xa271de,setTimeout(()=>this[_0x19d6ec(0x359)](_0xa271de),_0x531462));}[_0x252217(0x174)](){const _0x161a7d=_0x252217;var _0x13de64;return(_0x13de64=this[_0x161a7d(0x1ae)]['getConfig'](_0x202da9))!=null?_0x13de64:_0x4dd31f;}[_0x252217(0x359)](_0x1f5b16){const _0x1d6387=_0x252217,_0x2d7dfd=this['_saveTaskMap'][_0x1d6387(0x302)](_0x1f5b16);return _0x2d7dfd!==void 0x0&&window[_0x1d6387(0x27d)](_0x2d7dfd),this[_0x1d6387(0x2dc)][_0x1d6387(0x360)](_0x5ac624(_0x1f5b16),this[_0x1d6387(0x1a7)][_0x1d6387(0x302)](_0x1f5b16))[_0x1d6387(0x2cb)](()=>this['_saveTaskMap'][_0x1d6387(0x2ce)](_0x1f5b16));}async[_0x252217(0x2ae)](){const _0x432101=_0x252217,_0x3f06bb=[];this[_0x432101(0x1af)][_0x432101(0x1f3)]((_0x6b35d8,_0x2c5cdf)=>{const _0xd84a31=_0x432101;window['clearTimeout'](_0x6b35d8),_0x3f06bb[_0xd84a31(0x2eb)](this['_saveCache'](_0x2c5cdf)[_0xd84a31(0x2cb)](()=>{const _0x838662=_0xd84a31;this[_0x838662(0x1af)][_0x838662(0x2ce)](_0x2c5cdf);}));}),await Promise[_0x432101(0x1ef)](_0x3f06bb);}};Le=_n([Ee(0x0,_0x541aa1),Ee(0x1,_0x3cbbfd),Ee(0x2,_0x473849(_0x47a4ee))],Le);class hn extends _0x402deb{constructor(){const _0x295b13=_0x252217;super(),_(this,_0x295b13(0x214)),this[_0x295b13(0x214)]=_0x2922f1(window,'popstate')[_0x295b13(0x1be)](_0x46b83f(this[_0x295b13(0x22f)]),_0x11aefe(0x1),_0x321369(void 0x0));}['setParam'](_0x4635b1,_0x572c76,_0x47af55=!0x1){const _0x545232=_0x252217,_0x53a157=new URL(window[_0x545232(0x2fd)][_0x545232(0x1ab)]);_0x53a157[_0x545232(0x23d)]['set'](_0x4635b1,_0x572c76),_0x47af55?window[_0x545232(0x304)][_0x545232(0x188)]('','',_0x53a157[_0x545232(0x2f5)]()):window[_0x545232(0x304)][_0x545232(0x331)]('','',_0x53a157[_0x545232(0x2f5)]());}[_0x252217(0x35f)](_0xf4100c,_0x36a35e=!0x1){const _0x58afd5=_0x252217,_0x253de5=new URL(window[_0x58afd5(0x2fd)][_0x58afd5(0x1ab)]);_0x253de5['searchParams']['delete'](_0xf4100c),_0x36a35e?window[_0x58afd5(0x304)][_0x58afd5(0x188)]('','',_0x253de5[_0x58afd5(0x2f5)]()):window[_0x58afd5(0x304)][_0x58afd5(0x331)]('','',_0x253de5[_0x58afd5(0x2f5)]());}[_0x252217(0x1d2)](_0x59fe1b){const _0x24019a=_0x252217;var _0x23f9fd;return(_0x23f9fd=new URL(window[_0x24019a(0x2fd)][_0x24019a(0x1ab)])['searchParams'][_0x24019a(0x302)](_0x59fe1b))!=null?_0x23f9fd:void 0x0;}}var un=Object['defineProperty'],dn=Object[_0x252217(0x34f)],fn=(_0x57c082,_0x459e21,_0x30a33a)=>_0x459e21 in _0x57c082?un(_0x57c082,_0x459e21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x30a33a}):_0x57c082[_0x459e21]=_0x30a33a,Sn=(_0x47ff91,_0x42678c,_0x522830,_0x538b2d)=>{const _0xc50f3e=_0x252217;for(var _0x30cd45=_0x538b2d>0x1?void 0x0:_0x538b2d?dn(_0x42678c,_0x522830):_0x42678c,_0x386142=_0x47ff91[_0xc50f3e(0x259)]-0x1,_0x4b176d;_0x386142>=0x0;_0x386142--)(_0x4b176d=_0x47ff91[_0x386142])&&(_0x30cd45=_0x4b176d(_0x30cd45)||_0x30cd45);return _0x30cd45;},Oe=(_0x4a8dd3,_0x1439fe)=>(_0x3b30d3,_0x481460)=>_0x1439fe(_0x3b30d3,_0x481460,_0x4a8dd3),mn=(_0xb62edf,_0x34cc3f,_0x5d32d3)=>fn(_0xb62edf,_0x34cc3f+'',_0x5d32d3);const In=_0x252217(0x272);let Ae=class extends _0x129955{constructor(_0x2e4d26=et,_0x27273d,_0x45f143,_0x492e99){const _0x54ccce=_0x252217;super(),this[_0x54ccce(0x26c)]=_0x2e4d26,this[_0x54ccce(0x1bb)]=_0x27273d,this['_injector']=_0x45f143,this[_0x54ccce(0x1ae)]=_0x492e99;const {..._0x2c1c9c}=_0x2eb7a4({},et,this[_0x54ccce(0x26c)]);this[_0x54ccce(0x1ae)][_0x54ccce(0x301)](Zi,_0x2c1c9c);}['onStarting'](){const _0x234e09=_0x252217;this[_0x234e09(0x317)](),this['_initDependencies']();}[_0x252217(0x1a1)](){const _0x45731b=_0x252217;this[_0x45731b(0x25e)]();}[_0x252217(0x317)](){const _0x14c6e1=_0x252217;var _0x55e081;const _0x1af432=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x14bea5,{'useClass':_0x5644fe}],[_0x2d2aa5,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0xe33591(this[_0x14c6e1(0x2e5)],_0x202bf1(_0x1af432,(_0x55e081=this['_config'])==null?void 0x0:_0x55e081['override']));}['_registerRenderDependencies'](){const _0x8a864e=_0x252217;this[_0x8a864e(0x29b)](this[_0x8a864e(0x1bb)]['registerRenderModule'](_0x1a81f3[_0x8a864e(0x2fc)],[we])),this[_0x8a864e(0x29b)](this[_0x8a864e(0x1bb)][_0x8a864e(0x1a8)](_0x1a81f3[_0x8a864e(0x2fb)],[Pe]));}[_0x252217(0x1f4)](){_0x2fc7f7(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x252217(0x1b4),In),Ae=Sn([_0x3c0369(_0x515576),Oe(0x1,_0x4c7bc5),Oe(0x2,_0x473849(_0x25a4c0)),Oe(0x3,_0x541aa1)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x5562ec,_0x385fd1,_0x505e28,_0x3051fa)=>{const _0x260153=_0x252217;for(var _0x15bd61=_0x3051fa>0x1?void 0x0:_0x3051fa?gn(_0x385fd1,_0x505e28):_0x385fd1,_0x5dfdea=_0x5562ec[_0x260153(0x259)]-0x1,_0x8e2af8;_0x5dfdea>=0x0;_0x5dfdea--)(_0x8e2af8=_0x5562ec[_0x5dfdea])&&(_0x15bd61=_0x8e2af8(_0x15bd61)||_0x15bd61);return _0x15bd61;},K=(_0x232066,_0x44401b)=>(_0x5ebc7e,_0xdfed7e)=>_0x44401b(_0x5ebc7e,_0xdfed7e,_0x232066);let st=class extends _0x196c88{constructor(_0xc29405,_0x22380f,_0x355ad2,_0x42c290,_0x1d03c8){super(_0xc29405,_0x22380f,_0x355ad2,_0x42c290,_0x1d03c8);}async['createSocket'](_0x2172d8){const _0x1e1f3c=_0x252217,_0xa86754=await this[_0x1e1f3c(0x28f)](),_0x1fc836=this['_createSocketURL'](_0x2172d8,_0xa86754);return this['_doCreateSocket'](_0x1fc836);}[_0x252217(0x318)](_0x2b44fc,_0x4051c5){const _0x4b4557=_0x252217,_0x1e43ba=typeof window>'u'?new URL(_0x2b44fc):new URL(_0x2b44fc,window['location'][_0x4b4557(0x35d)]);_0x1e43ba[_0x4b4557(0x23d)][_0x4b4557(0x1c5)](_0x4b4557(0x1b7),_0x4051c5);const _0x5882e7=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4b4557(0x2b8)]);return _0x5882e7[_0x4b4557(0x302)](_0x4b4557(0x2ed))&&_0x1e43ba['searchParams']['set']('runId',_0x5882e7['get'](_0x4b4557(0x2ed))),_0x1e43ba[_0x4b4557(0x2f5)]();}async[_0x252217(0x28f)](){const _0x39e87c=_0x252217;var _0x5412c6,_0xdfec88,_0x400e8b;const _0x28e980=this[_0x39e87c(0x1ae)][_0x39e87c(0x324)](_0x187f1d),_0x5f4766=(_0x5412c6=_0x28e980==null?void 0x0:_0x28e980['wsSessionTicketUrl'])!=null?_0x5412c6:_0x4ee07e;return(_0x400e8b=(_0xdfec88=(await this[_0x39e87c(0x1b6)]['get'](_0x5f4766,{'headers':{'Content-Type':_0x39e87c(0x1cd)}}))[_0x39e87c(0x29d)])==null?void 0x0:_0xdfec88[_0x39e87c(0x1fb)])!=null?_0x400e8b:'';}};st=vn([K(0x0,_0x473849(_0x25a4c0)),K(0x1,_0x473849(_0x4f8f19)),K(0x2,_0x541aa1),K(0x3,_0x49ab64),K(0x4,_0x102f3f)],st);const it=0x7530,nt=_0x252217(0x316);class jn extends _0x271547{constructor(){const _0x3d2dd9=_0x252217;super(),_(this,'_id',_0x663e96()),_(this,_0x3d2dd9(0x25c),new Set()),_(this,_0x3d2dd9(0x283),new Map()),_(this,_0x3d2dd9(0x18c),null),_(this,'_clearOtherTimers',new Map()),_(this,_0x3d2dd9(0x337),new Map()),this['_init']();}[_0x252217(0x248)](){const _0x417bed=_0x252217;super[_0x417bed(0x248)](),this[_0x417bed(0x1bc)][_0x417bed(0x1f3)]((_0x164f4b,_0x4856f1)=>this['_removeClearOtherTimer'](_0x4856f1)),this[_0x417bed(0x18c)]&&window['clearInterval'](this[_0x417bed(0x18c)]);}[_0x252217(0x1fc)](_0x374a9c){const _0x3e88c1=_0x252217;return this[_0x3e88c1(0x28d)](_0x374a9c)[_0x3e88c1(0x1be)](_0x4f6056());}[_0x252217(0x1da)](_0x10ab21){const _0x5736e6=_0x252217;this[_0x5736e6(0x25c)][_0x5736e6(0x2cf)]===0x0&&this[_0x5736e6(0x1ea)](),this['_selfUnitIDs'][_0x5736e6(0x31c)](_0x10ab21),this[_0x5736e6(0x264)]({'type':0x0,'memberID':this[_0x5736e6(0x191)],'unitIDs':[_0x10ab21],'isForwarded':!0x1});}[_0x252217(0x262)](_0x48f36d){const _0x296318=_0x252217;this[_0x296318(0x25c)][_0x296318(0x2ce)](_0x48f36d),this['_selfUnitIDs']['size']===0x0&&this[_0x296318(0x18c)]&&window[_0x296318(0x220)](this[_0x296318(0x18c)]);}[_0x252217(0x183)](){const _0x3fc9bc=_0x252217;this['disposeWithMe'](_0x50b6ce(_0x2922f1(window,_0x3fc9bc(0x342))[_0x3fc9bc(0x26e)](_0x4901a6=>{const _0x4abfb7=_0x3fc9bc;if(_0x4901a6[_0x4abfb7(0x175)]!==nt||!_0x4901a6[_0x4abfb7(0x364)])return;const _0x2e911b=JSON[_0x4abfb7(0x329)](_0x4901a6[_0x4abfb7(0x364)]);this[_0x4abfb7(0x2f2)](_0x2e911b);}))),window[_0x3fc9bc(0x282)](_0x3fc9bc(0x34b),()=>this[_0x3fc9bc(0x264)]({'type':0x1,'memberID':this[_0x3fc9bc(0x191)],'unitIDs':Array[_0x3fc9bc(0x355)](this[_0x3fc9bc(0x25c)])}));}['_handleEvent'](_0x442037){const _0x60374e=_0x252217;switch(_0x442037[_0x60374e(0x196)]){case 0x0:this['_handleJoinEvent'](_0x442037);break;case 0x1:this[_0x60374e(0x1c0)](_0x442037);break;case 0x2:this[_0x60374e(0x30a)](_0x442037);break;}}[_0x252217(0x24b)](_0x2c20c1){const _0x5f0eb2=_0x252217,{unitIDs:_0x3722f9,memberID:_0x172b4f,isForwarded:_0x514e72}=_0x2c20c1;_0x3722f9[_0x5f0eb2(0x1f3)](_0x377db9=>{const _0x1a7a5c=_0x5f0eb2;if(!_0x514e72&&this['_unitOnClients'][_0x1a7a5c(0x1b9)](_0x377db9)&&this[_0x1a7a5c(0x28d)](_0x377db9)[_0x1a7a5c(0x278)](_0x59fbcc[_0x1a7a5c(0x26f)]),!this['_unitOnClients'][_0x1a7a5c(0x1b9)](_0x377db9)||!this[_0x1a7a5c(0x283)]['get'](_0x377db9)['has'](_0x172b4f)){const _0x48c993=this[_0x1a7a5c(0x283)][_0x1a7a5c(0x302)](_0x377db9)||new Set();_0x48c993[_0x1a7a5c(0x31c)](_0x172b4f),this['_unitOnClients'][_0x1a7a5c(0x1c5)](_0x377db9,_0x48c993),this[_0x1a7a5c(0x19b)](_0x172b4f);}}),_0x514e72||this[_0x5f0eb2(0x264)]({'type':0x0,'memberID':this[_0x5f0eb2(0x191)],'unitIDs':[...this[_0x5f0eb2(0x25c)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5c94f0){const _0x84bd1d=_0x252217;this[_0x84bd1d(0x326)](_0x5c94f0);const _0x3547d7=window[_0x84bd1d(0x2c6)](()=>{const _0x97628b=_0x84bd1d;this[_0x97628b(0x283)][_0x97628b(0x1f3)](_0x3a8ed8=>{const _0x53ab5e=_0x97628b;_0x3a8ed8[_0x53ab5e(0x2ce)](_0x5c94f0);});},it*0x2);this[_0x84bd1d(0x1bc)][_0x84bd1d(0x1c5)](_0x5c94f0,_0x3547d7);}['_removeClearOtherTimer'](_0x523fea){const _0x5b23a0=_0x252217;if(this[_0x5b23a0(0x1bc)][_0x5b23a0(0x1b9)](_0x523fea)){const _0x2597e0=this['_clearOtherTimers'][_0x5b23a0(0x302)](_0x523fea);_0x2597e0&&window[_0x5b23a0(0x27d)](_0x2597e0),this[_0x5b23a0(0x1bc)]['set'](_0x523fea,null);}}['_handleLeaveEvent'](_0x3d9c73){const _0x83e287=_0x252217,{memberID:_0x2f9554,unitIDs:_0x3fa3d0}=_0x3d9c73;_0x3fa3d0[_0x83e287(0x1f3)](_0x22b00b=>{const _0x53894=_0x83e287;var _0x352df7;const _0x4fda38=this['_unitOnClients'][_0x53894(0x302)](_0x22b00b);_0x4fda38&&(_0x4fda38[_0x53894(0x2ce)](_0x2f9554),(_0x352df7=this[_0x53894(0x28d)](_0x22b00b))==null||_0x352df7['next'](_0x4fda38['size']===0x0?_0x59fbcc['NO_OTHER_CLIENTS_EDITING']:_0x59fbcc['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x2f9554);}[_0x252217(0x30a)](_0x41ff02){const _0x35282d=_0x252217;this[_0x35282d(0x19b)](_0x41ff02['memberID']);}[_0x252217(0x264)](_0x3b793f){const _0x4a2454=_0x252217;localStorage[_0x4a2454(0x360)](nt,JSON[_0x4a2454(0x2f7)](_0x3b793f));}[_0x252217(0x1ea)](){const _0xe5ad09=_0x252217;this[_0xe5ad09(0x18c)]=window[_0xe5ad09(0x274)](()=>{const _0x40ca33=_0xe5ad09;this['_send']({'type':0x2,'memberID':this[_0x40ca33(0x191)]});},it);}[_0x252217(0x28d)](_0x210d9e){const _0x56c1f3=_0x252217;return this[_0x56c1f3(0x337)]['has'](_0x210d9e)||this[_0x56c1f3(0x337)][_0x56c1f3(0x1c5)](_0x210d9e,new _0x88603b(_0x59fbcc[_0x56c1f3(0x288)])),this[_0x56c1f3(0x337)][_0x56c1f3(0x302)](_0x210d9e);}}var Mt=(_0x5c3547=>(_0x5c3547[_0x5c3547['UNDEFINED']=0x0]=_0x252217(0x233),_0x5c3547[_0x5c3547['OK']=0x1]='OK',_0x5c3547[_0x5c3547['INTERNAL_ERROR']=0x2]=_0x252217(0x2cc),_0x5c3547[_0x5c3547[_0x252217(0x1a9)]=0x3]=_0x252217(0x1a9),_0x5c3547[_0x5c3547['NOT_FOUND']=0x4]=_0x252217(0x32a),_0x5c3547[_0x5c3547[_0x252217(0x2b2)]=0x5]=_0x252217(0x2b2),_0x5c3547[_0x5c3547[_0x252217(0x2ee)]=0x6]=_0x252217(0x2ee),_0x5c3547[_0x5c3547[_0x252217(0x1b8)]=0x7]=_0x252217(0x1b8),_0x5c3547[_0x5c3547[_0x252217(0x213)]=0x8]=_0x252217(0x213),_0x5c3547[_0x5c3547[_0x252217(0x194)]=0x9]=_0x252217(0x194),_0x5c3547[_0x5c3547[_0x252217(0x19f)]=0xa]='LOGIN_FAILED',_0x5c3547[_0x5c3547[_0x252217(0x2bb)]=0x1389]=_0x252217(0x2bb),_0x5c3547[_0x5c3547[_0x252217(0x27e)]=0x1771]=_0x252217(0x27e),_0x5c3547[_0x5c3547[_0x252217(0x303)]=0x1772]=_0x252217(0x303),_0x5c3547[_0x5c3547[_0x252217(0x349)]=0x1773]=_0x252217(0x349),_0x5c3547[_0x5c3547[_0x252217(0x351)]=0x1b59]='APPLY_REJECT',_0x5c3547[_0x5c3547[_0x252217(0x265)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5c3547[_0x5c3547['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x252217(0x230),_0x5c3547[_0x5c3547[_0x252217(0x1db)]=0x1b5c]=_0x252217(0x1db),_0x5c3547[_0x5c3547['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5c3547[_0x5c3547['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x252217(0x1c8),_0x5c3547[_0x5c3547['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5c3547[_0x5c3547[_0x252217(0x1e5)]=0x232a]=_0x252217(0x1e5),_0x5c3547[_0x5c3547['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x252217(0x2aa),_0x5c3547[_0x5c3547[_0x252217(0x269)]=0x232c]=_0x252217(0x269),_0x5c3547[_0x5c3547[_0x252217(0x19d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5c3547[_0x5c3547['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5c3547[_0x5c3547['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x252217(0x1dc),_0x5c3547[_0x5c3547[_0x252217(0x228)]=0x2713]=_0x252217(0x228),_0x5c3547[_0x5c3547['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x252217(0x1de),_0x5c3547[_0x5c3547[_0x252217(0x22d)]=0x271a]=_0x252217(0x22d),_0x5c3547[_0x5c3547[_0x252217(0x20a)]=0x271b]=_0x252217(0x20a),_0x5c3547[_0x5c3547[_0x252217(0x1d6)]=0x271c]=_0x252217(0x1d6),_0x5c3547[_0x5c3547[_0x252217(0x178)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5c3547[_0x5c3547[_0x252217(0x2c1)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5c3547[_0x5c3547[_0x252217(0x30b)]=0x271f]=_0x252217(0x30b),_0x5c3547[_0x5c3547[_0x252217(0x344)]=0x2af9]=_0x252217(0x344),_0x5c3547[_0x5c3547['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x252217(0x2d7),_0x5c3547[_0x5c3547[_0x252217(0x215)]=0x2ee2]=_0x252217(0x215),_0x5c3547[_0x5c3547[_0x252217(0x23a)]=0x2ee3]=_0x252217(0x23a),_0x5c3547[_0x5c3547[_0x252217(0x203)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5c3547[_0x5c3547[_0x252217(0x2e7)]=0x2ee5]=_0x252217(0x2e7),_0x5c3547[_0x5c3547[_0x252217(0x2ca)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5c3547[_0x5c3547[_0x252217(0x32e)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5c3547[_0x5c3547[_0x252217(0x189)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5c3547[_0x5c3547[_0x252217(0x1ac)]=-0x1]=_0x252217(0x1ac),_0x5c3547))(Mt||{}),pn=Object[_0x252217(0x34f)],Cn=(_0x12cc0d,_0x39fb7e,_0x3bb906,_0x7101ef)=>{const _0x484cbc=_0x252217;for(var _0x20b379=_0x7101ef>0x1?void 0x0:_0x7101ef?pn(_0x39fb7e,_0x3bb906):_0x39fb7e,_0x5e1fac=_0x12cc0d[_0x484cbc(0x259)]-0x1,_0x2b5f48;_0x5e1fac>=0x0;_0x5e1fac--)(_0x2b5f48=_0x12cc0d[_0x5e1fac])&&(_0x20b379=_0x2b5f48(_0x20b379)||_0x20b379);return _0x20b379;},be=(_0xb7c386,_0x4ed9bd)=>(_0x175b45,_0x49bc56)=>_0x4ed9bd(_0x175b45,_0x49bc56,_0xb7c386);let rt=class extends _0x271547{constructor(_0x46a67e,_0x2cf153,_0x221316){const _0x2a9f09=_0x252217;super(),this[_0x2a9f09(0x2b1)]=_0x46a67e,this['_httpService']=_0x2cf153,this[_0x2a9f09(0x1ae)]=_0x221316;}async[_0x252217(0x218)](_0xa55a14,_0x5123f7,_0x2837c9,..._0x1a8ffa){const _0x3a5873=_0x252217;var _0x4fd0f3,_0x3f87e7,_0x2a44e1,_0x36ec29;const _0x31054a=this[_0x3a5873(0x2b1)][_0x3a5873(0x322)]();if(!_0x31054a)throw new Error(_0x3a5873(0x2d3));const _0x300456=((_0x4fd0f3=this['_configService'][_0x3a5873(0x324)](_0x2c1c0e))!=null?_0x4fd0f3:_0xfdc127)+'/'+_0xa55a14+_0x3a5873(0x2d0)+_0x5123f7,_0x49949f=new URL(window['location']['href']),_0x55c030={'scriptId':_0xa55a14,'runId':(_0x3f87e7=_0x49949f[_0x3a5873(0x23d)]['get'](_0x3a5873(0x2ed)))!=null?_0x3f87e7:'','function':_0x5123f7,'unitId':_0x31054a[_0x3a5873(0x190)](),'argsOfFunction':JSON[_0x3a5873(0x2f7)](_0x1a8ffa),'invokeId':(_0x2a44e1=_0x2837c9['invokeId'])!=null?_0x2a44e1:'','executionId':(_0x36ec29=_0x2837c9[_0x3a5873(0x2ff)])!=null?_0x36ec29:''};try{const _0x51b8d0=await this[_0x3a5873(0x1b6)][_0x3a5873(0x2d4)](_0x300456,{'body':_0x55c030});return _0x51b8d0[_0x3a5873(0x29d)][_0x3a5873(0x1e1)]&&_0x51b8d0[_0x3a5873(0x29d)][_0x3a5873(0x1e1)][_0x3a5873(0x1c4)]!==Mt['OK']?_0x3a5873(0x21a):_0x51b8d0[_0x3a5873(0x29d)][_0x3a5873(0x2af)];}catch{return _0x3a5873(0x21a);}}};rt=Cn([be(0x0,_0x1ba300),be(0x1,_0x473849(_0x4f8f19)),be(0x2,_0x541aa1)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x69e053=_0x2094;(function(_0x2125b9,_0x102664){const _0x580a11=_0x2094,_0x3506d2=_0x2125b9();while(!![]){try{const _0x132877=-parseInt(_0x580a11(0x308))/0x1*(-parseInt(_0x580a11(0x1e7))/0x2)+parseInt(_0x580a11(0x33b))/0x3*(-parseInt(_0x580a11(0x1ad))/0x4)+parseInt(_0x580a11(0x352))/0x5*(-parseInt(_0x580a11(0x26e))/0x6)+parseInt(_0x580a11(0x30c))/0x7+parseInt(_0x580a11(0x31b))/0x8*(parseInt(_0x580a11(0x23b))/0x9)+parseInt(_0x580a11(0x2ff))/0xa*(parseInt(_0x580a11(0x2ee))/0xb)+-parseInt(_0x580a11(0x286))/0xc;if(_0x132877===_0x102664)break;else _0x3506d2['push'](_0x3506d2['shift']());}catch(_0xaf429c){_0x3506d2['push'](_0x3506d2['shift']());}}}(_0xc62b,0x747db));var $t=Object[_0x69e053(0x303)],xt=(_0x1fb132,_0x2bba00,_0x220689)=>_0x2bba00 in _0x1fb132?$t(_0x1fb132,_0x2bba00,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x220689}):_0x1fb132[_0x2bba00]=_0x220689,_=(_0x50ed74,_0x2b7cc0,_0xf9a151)=>xt(_0x50ed74,typeof _0x2b7cc0!=_0x69e053(0x2c2)?_0x2b7cc0+'':_0x2b7cc0,_0xf9a151);import{MemberService as _0x4a74af,SessionStatus as _0x81ca18,CollaborationSessionService as _0x544921,CollaborationStatus as _0x2c5ad0,CollaborationController as _0x226cfe,ILocalCacheService as _0x25f3f0,CollaborationUIEventService as _0xae6817,CollaborationUIEventId as _0x17f4d0,DataLoaderService as _0x2186e2,DocCollaborationEntity as _0x4dd820,getLocalCacheKey as _0x4d1854,LOCAL_CACHE_INTERVAL as _0x1fa765,LOCAL_CACHE_INTERVAL_KEY as _0xa37187,UniverCollaborationClientPlugin as _0x3084ce,CollaborationSocketService as _0x441d7a,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3801a2,DEFAULT_WS_SESSION_TICKET_URL as _0x40221c,UnitStatus as _0x14fa32,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x23f086,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x3f2c2f}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x2e9bdd,Disposable as _0x404876,DOC_RANGE_TYPE as _0x5c07ca,Inject as _0x1edcbc,Injector as _0x30157b,IUniverInstanceService as _0x72afad,ICommandService as _0x2bd5c6,debounce as _0x255206,Rectangle as _0x4e0777,DisposableCollection as _0x2a2f84,toDisposable as _0x35e3cc,UniverInstanceType as _0xb39e56,Tools as _0x469588,COLORS as _0x3995cb,ColorKit as _0x50846d,ThemeService as _0x669f82,fromEventSubject as _0x68d662,LocaleService as _0x7c2e8c,createIdentifier as _0x30c947,ILogService as _0x501a2f,Optional as _0x166217,Workbook as _0x5c97a8,CommandType as _0x326183,IConfigService as _0x4c46e3,ILocalStorageService as _0x324daf,DependentOn as _0x10f61f,Plugin as _0x29f8cb,merge as _0x5a8922,registerDependencies as _0x3c1be9,mergeOverrideWithDependencies as _0x268866,touchDependencies as _0x4e6fb0,generateRandomId as _0x301c9e}from'@univerjs/core';import{Shape as _0x5a67bd,Rect as _0x4c78f6,getColor as _0x4b2883,RegularPolygon as _0x1d218e,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x44d47e,Vector2 as _0x462525,SHEET_VIEWPORT_KEY as _0x5b0074,IRenderManagerService as _0x364408}from'@univerjs/engine-render';import{ISocketService as _0xfcca70,WebSocketService as _0x4a7658,HTTPService as _0x3f722f}from'@univerjs/network';import{IDocClipboardService as _0x263301,NodePositionConvertToCursor as _0xe67241,NodePositionConvertToRectRange as _0x573a8f,TEXT_RANGE_LAYER_INDEX as _0x43d054,SetDocZoomRatioOperation as _0x2c60ef,DocIMEInputManagerService as _0x40ad3c,DocStateChangeManagerService as _0x4204ce}from'@univerjs/docs-ui';import{IImageIoService as _0x29cbfb}from'@univerjs/drawing';import{BehaviorSubject as _0x69ec1c,debounceTime as _0x31b0de,takeUntil as _0x44ca8,Subject as _0x51c9dc,filter as _0x552ef5,switchMap as _0x60c435,merge as _0x103602,combineLatest as _0xd72e73,of as _0xd879b8,fromEvent as _0x1b944e,shareReplay as _0x345a65,mapTo as _0x37148e,distinctUntilChanged as _0x3814c9}from'rxjs';import{SetTextSelectionsOperation as _0xdd06aa,RichTextEditingMutation as _0x593f34,DocSelectionManagerService as _0x3bfb9b,DocSkeletonManagerService as _0x36f904}from'@univerjs/docs';import{ITransformService as _0x50f90f,CollaborationEvent as _0x2a2437,isTransformMutationFailure as _0x472ce9,isTransformMutationsWithChangesetSuccess as _0x3f31fc,RevisionService as _0x55dc2e,ISnapshotServerService as _0x5bd623}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x246cfb,serializeRangeWithSheet as _0x304c66}from'@univerjs/engine-formula';import{RefRangeService as _0xb95e43,SetSelectionsOperation as _0x55a42c,SheetsSelectionsService as _0x113517,EffectRefRangId as _0x33d190,handleIRemoveRow as _0x126d27,handleIRemoveCol as _0x42644f,handleMoveRange as _0x3c6acf,handleInsertRow as _0x367e59,handleInsertRangeMoveRight as _0x508845,handleInsertRangeMoveDown as _0x29e748,handleInsertCol as _0x38ecfb,handleDeleteRangeMoveUp as _0x24a714,handleDeleteRangeMoveLeft as _0x9e2cc1,runRefRangeMutations as _0x7172f3,SetWorksheetActivateCommand as _0x26159f}from'@univerjs/sheets';import{map as _0x1f7c41,filter as _0x38db37,throttleTime as _0x562977,takeUntil as _0x55354a,switchMap as _0x279d5a}from'rxjs/operators';import{SheetSkeletonManagerService as _0xa14f88,getCoordByCell as _0x2efb09,getSheetObject as _0x461c8d}from'@univerjs/sheets-ui';import{jsx as _0x130579,jsxs as _0x55e4d8}from'react/jsx-runtime';import{useObservable as _0x5211a7,useDependency as _0x4d6731,IUIPartsService as _0x17e2dc,BuiltInUIPart as _0x4cf15d,connectInjector as _0x5cc765,IBeforeCloseService as _0x3aca32,IMessageService as _0x4d61bb,INotificationService as _0x5b6f74}from'@univerjs/ui';import{Tooltip as _0x30c09d,clsx as _0x25b0bb,MessageType as _0x585ede}from'@univerjs/design';import{forwardRef as _0x4f8fed,useRef as _0x13e355,createElement as _0x567240,useCallback as _0x18a898}from'react';import{IRemoteInstanceService as _0x3bfd4b}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x24e984,_0x85150e,_0xac1cc0,_0x137e2e)=>{for(var _0xf8bb9f=_0x137e2e>0x1?void 0x0:_0x137e2e?ci(_0x85150e,_0xac1cc0):_0x85150e,_0x4c0cfb=_0x24e984['length']-0x1,_0xff10da;_0x4c0cfb>=0x0;_0x4c0cfb--)(_0xff10da=_0x24e984[_0x4c0cfb])&&(_0xf8bb9f=_0xff10da(_0xf8bb9f)||_0xf8bb9f);return _0xf8bb9f;},Je=(_0x320578,_0x39fa7b)=>(_0x592692,_0x2ae97a)=>_0x39fa7b(_0x592692,_0x2ae97a,_0x320578);let Ne=class extends _0x2e9bdd{constructor(_0x45e2c2,_0x54ad32){const _0xad8944=_0x69e053;super(),this[_0xad8944(0x1b2)]=_0x45e2c2,this[_0xad8944(0x2b4)]=_0x54ad32,this[_0xad8944(0x344)]();}[_0x69e053(0x344)](){const _0xdb040d=_0x69e053,_0x34310e=this;this[_0xdb040d(0x18c)](this[_0xdb040d(0x1b2)][_0xdb040d(0x243)]({'onBeforePasteImage':async _0x3a3675=>{const _0x1ec26d=_0xdb040d,_0x3f8451=await _0x34310e[_0x1ec26d(0x2b4)]['saveImage'](_0x3a3675);return _0x3f8451?{'source':_0x3f8451['source'],'imageSourceType':_0x3f8451['imageSourceType']}:null;}}));}};Ne=li([Je(0x0,_0x263301),Je(0x1,_0x29cbfb)],Ne);const Ze=[_0x69e053(0x27b),_0x69e053(0x229),'green.600',_0x69e053(0x357),_0x69e053(0x31d),'yellow.400'];class ke extends _0x404876{constructor(){const _0x3708d8=_0x69e053;super(...arguments),_(this,_0x3708d8(0x169),new Map()),_(this,_0x3708d8(0x16f),0x0);}[_0x69e053(0x184)](_0xbe449c){const _0x2a7a74=_0x69e053;if(this[_0x2a7a74(0x169)][_0x2a7a74(0x289)](_0xbe449c))return this['_assignedColors'][_0x2a7a74(0x2a0)](_0xbe449c);const _0x125e3c=Ze[this[_0x2a7a74(0x16f)]];return this[_0x2a7a74(0x16f)]=(this[_0x2a7a74(0x16f)]+0x1)%Ze[_0x2a7a74(0x306)],this['_assignedColors'][_0x2a7a74(0x2e7)](_0xbe449c,_0x125e3c),_0x125e3c;}}function Tt(_0x203166){const _0x39b7fa=_0x69e053;let _0x5e7fee='';for(const _0x2d4fa3 of _0x203166){const {startOffset:_0x1c3544,endOffset:_0x518316,isActive:_0x167c68,rangeType:_0x39e952,segmentId:_0x150e0b,segmentPage:_0x135ade}=_0x2d4fa3;_0x5e7fee[_0x39b7fa(0x306)]&&(_0x5e7fee+=','),_0x5e7fee+=_0x1c3544+':'+_0x518316+':'+(_0x167c68?'1':'0')+':'+_0x39e952+':'+_0x150e0b+':'+_0x135ade;}return _0x5e7fee;}function _i(_0x47b3da){const _0x59af73=_0x69e053,_0x504e35=_0x47b3da[_0x59af73(0x1c1)](','),_0xd714fd=[];for(const _0x55a601 of _0x504e35){const [_0x220d5f,_0x50ff34,_0x1c53f6,_0x4841d6,_0x132ec0,_0x3c1de4]=_0x55a601[_0x59af73(0x1c1)](':');_0xd714fd[_0x59af73(0x1a5)]({'startOffset':Number(_0x220d5f),'endOffset':Number(_0x50ff34),'collapsed':_0x220d5f===_0x50ff34,'isActive':_0x1c53f6==='1','rangeType':_0x4841d6===_0x5c07ca[_0x59af73(0x2d7)]?_0x5c07ca['TEXT']:_0x5c07ca['RECT'],'segmentId':typeof _0x132ec0==_0x59af73(0x21b)?String(_0x132ec0):'','segmentPage':Number(_0x3c1de4!=null?_0x3c1de4:-0x1)});}return _0xd714fd[_0x59af73(0x1e3)](_0x2fe536=>_0x2fe536['isActive'])||(_0xd714fd[0x0][_0x59af73(0x165)]=!0x0),_0xd714fd;}class He extends _0x2e9bdd{constructor(){const _0x16392d=_0x69e053;super(...arguments),_(this,'_collabCursorState$',new _0x69ec1c(null)),_(this,_0x16392d(0x2c1),this[_0x16392d(0x24b)]['asObservable']());}['syncEditingCollabCursor'](_0x2a4b4e){const _0x381475=_0x69e053,{unitID:_0x22ff9c,memberID:_0x4872e7,textRanges:_0x46bd32}=_0x2a4b4e,_0x2f1266=Tt(_0x46bd32);if(_0x2f1266==='')return;const _0x5a1871={'unitID':_0x22ff9c,'memberID':_0x4872e7,'selection':_0x2f1266};this[_0x381475(0x24b)][_0x381475(0x309)](_0x5a1871);}}var hi=Object['getOwnPropertyDescriptor'],ui=(_0xeaabf2,_0x230312,_0x41dfb7,_0x226134)=>{const _0x20acd4=_0x69e053;for(var _0x488e2f=_0x226134>0x1?void 0x0:_0x226134?hi(_0x230312,_0x41dfb7):_0x230312,_0x432535=_0xeaabf2[_0x20acd4(0x306)]-0x1,_0x5c038c;_0x432535>=0x0;_0x432535--)(_0x5c038c=_0xeaabf2[_0x432535])&&(_0x488e2f=_0x5c038c(_0x488e2f)||_0x488e2f);return _0x488e2f;},P=(_0x24671c,_0x385f6f)=>(_0x1d3c56,_0x2ab3d0)=>_0x385f6f(_0x1d3c56,_0x2ab3d0,_0x24671c);const di=0x12c,fi=0x64;function _0x2094(_0x2d8b4f,_0x1d559d){const _0xc62b24=_0xc62b();return _0x2094=function(_0x209418,_0x4e1a56){_0x209418=_0x209418-0x14e;let _0x1da181=_0xc62b24[_0x209418];return _0x1da181;},_0x2094(_0x2d8b4f,_0x1d559d);}let Ue=class extends _0x2e9bdd{constructor(_0x4c9387,_0x733276,_0x5bba5c,_0x30bd44,_0x33d00a,_0x19c73c,_0x50cb54,_0x438e59,_0xfd6994){const _0x3c219b=_0x69e053;super(),_(this,_0x3c219b(0x2a6),!0x1),_(this,_0x3c219b(0x344),!0x1),_(this,_0x3c219b(0x209),new _0x69ec1c(new Map())),_(this,_0x3c219b(0x28f),this[_0x3c219b(0x209)][_0x3c219b(0x31a)]()),_(this,_0x3c219b(0x164),new _0x69ec1c([])),_(this,_0x3c219b(0x235),this[_0x3c219b(0x164)][_0x3c219b(0x21d)](_0x31b0de(di))),_(this,_0x3c219b(0x1f6),_0x255206(_0x4523b5=>{const _0x137195=_0x3c219b,_0x44fe54={'eventID':_0x2a2437[_0x137195(0x2cc)],'data':{'unitID':this[_0x137195(0x319)],'memberID':this[_0x137195(0x2f2)][_0x137195(0x2ef)](),'selection':Tt(_0x4523b5)}};this[_0x137195(0x2f2)][_0x137195(0x316)](_0x44fe54,this[_0x137195(0x319)]);},fi)),(this[_0x3c219b(0x319)]=_0x4c9387,this[_0x3c219b(0x2f2)]=_0x733276,this['_injector']=_0x5bba5c,this[_0x3c219b(0x268)]=_0x30bd44,this[_0x3c219b(0x2de)]=_0x33d00a,this[_0x3c219b(0x1dd)]=_0x19c73c,this[_0x3c219b(0x247)]=_0x50cb54,this['_univerInstanceService']=_0x438e59,this[_0x3c219b(0x2fd)]=_0xfd6994);}get['cursorInfo'](){const _0x3b6bbc=_0x69e053;return this[_0x3b6bbc(0x209)]['getValue']();}get['roomMembers'](){const _0x20c8ea=_0x69e053;return this[_0x20c8ea(0x164)][_0x20c8ea(0x356)]();}['dispose'](){const _0x5f49f9=_0x69e053;super[_0x5f49f9(0x2d4)](),this['_cursorInfo$'][_0x5f49f9(0x309)](new Map()),this[_0x5f49f9(0x209)][_0x5f49f9(0x33e)](),this[_0x5f49f9(0x164)][_0x5f49f9(0x309)]([]),this['_roomMembers$'][_0x5f49f9(0x33e)]();}[_0x69e053(0x1e4)](){const _0x4d3a47=_0x69e053;this[_0x4d3a47(0x344)]||(this['_init']=!0x0,this[_0x4d3a47(0x2f2)][_0x4d3a47(0x1f8)][_0x4d3a47(0x21d)](_0x44ca8(this[_0x4d3a47(0x347)]))['subscribe'](_0x3c655b=>{const _0x90147c=_0x4d3a47;_0x3c655b===_0x81ca18[_0x90147c(0x28e)]?this[_0x90147c(0x1e5)]():this[_0x90147c(0x21a)]();}),this[_0x4d3a47(0x2f2)][_0x4d3a47(0x1a3)][_0x4d3a47(0x21d)](_0x44ca8(this['dispose$']))['subscribe'](_0x338755=>{const _0x1078dc=_0x4d3a47,_0x6dfdf2=_0x338755[_0x1078dc(0x321)];_0x6dfdf2===_0x2a2437[_0x1078dc(0x2cc)]&&this['_onCursorUpdate'](_0x338755),_0x6dfdf2===_0x2a2437[_0x1078dc(0x19d)]&&this[_0x1078dc(0x22b)](_0x338755);}),this['disposeWithMe'](this['_commandService'][_0x4d3a47(0x32f)](_0x44a9b3=>{const _0xb5c7a4=_0x4d3a47,_0x34d3ce=_0x44a9b3[_0xb5c7a4(0x210)];_0x34d3ce!=null&&this['_online']&&_0x44a9b3['id']===_0xdd06aa['id']&&_0x34d3ce[_0xb5c7a4(0x228)]===this['unitID']&&_0x34d3ce[_0xb5c7a4(0x208)]===!0x1&&_0x34d3ce[_0xb5c7a4(0x304)][_0xb5c7a4(0x306)]>0x0&&this[_0xb5c7a4(0x1f6)](_0x34d3ce['ranges']);})),this[_0x4d3a47(0x1dd)]['collabCursorState$']['pipe'](_0x44ca8(this[_0x4d3a47(0x347)]))[_0x4d3a47(0x20d)](_0x3481a9=>{const _0x5da0b9=_0x4d3a47;if((_0x3481a9==null?void 0x0:_0x3481a9[_0x5da0b9(0x319)])!==this['unitID'])return;const _0x368416={'eventID':_0x2a2437['UPDATE_CURSOR'],'data':_0x3481a9};this[_0x5da0b9(0x2c6)](_0x368416);}),this['disposeWithMe'](this[_0x4d3a47(0x2fd)][_0x4d3a47(0x32f)](_0x450ed2=>{const _0x40e28e=_0x4d3a47;if(_0x450ed2[_0x40e28e(0x210)]==null)return;const _0x570c9a=_0x450ed2[_0x40e28e(0x210)];if(_0x450ed2['id']!==_0x593f34['id']||_0x570c9a[_0x40e28e(0x228)]!==this['unitID'])return;const _0x346175={'id':_0x40e28e(0x163),'params':_0x570c9a},_0x2fbefd=this[_0x40e28e(0x2e8)];for(const [_0x40bd6c,_0x1c8603]of _0x2fbefd){const _0x26586c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x40e28e(0x319)],'actions':null,'textRanges':_0x1c8603['ranges']}},_0x28a6c5=this['_transformService']['transformMutation'](_0x346175,_0x26586c,!0x1);if(_0x472ce9(_0x28a6c5))throw _0x28a6c5[_0x40e28e(0x216)];_0x2fbefd[_0x40e28e(0x2e7)](_0x40bd6c,{..._0x1c8603,'ranges':_0x28a6c5[_0x40e28e(0x2f7)][_0x40e28e(0x210)][_0x40e28e(0x307)]});}queueMicrotask(()=>{const _0x3861b0=_0x40e28e;this[_0x3861b0(0x209)][_0x3861b0(0x309)](_0x2fbefd);});})));}[_0x69e053(0x2c6)](_0x3ee9d0){const _0x4f7fac=_0x69e053;var _0x4bb829,_0x45c4c1;const {memberID:_0x2f2c04,selection:_0x37d98e}=_0x3ee9d0['data'],_0x21e94c=_i(_0x37d98e),_0x2a03ac=(_0x45c4c1=(_0x4bb829=this[_0x4f7fac(0x2de)][_0x4f7fac(0x195)](this['unitID'],_0x2f2c04))==null?void 0x0:_0x4bb829['name'])!=null?_0x45c4c1:_0x4f7fac(0x26a),_0x40a7bd={'color':this[_0x4f7fac(0x268)][_0x4f7fac(0x184)](_0x2f2c04),'name':_0x2a03ac,'ranges':_0x21e94c},_0x3e44b6=this['cursorInfo'];_0x3e44b6['set'](_0x2f2c04,_0x40a7bd),this[_0x4f7fac(0x209)][_0x4f7fac(0x309)](_0x3e44b6);}[_0x69e053(0x22b)](_0x40689a){const _0xfca5fa=_0x69e053,{memberID:_0x4d9f51}=_0x40689a['data'],_0x3f43e6=this[_0xfca5fa(0x2e8)];_0x3f43e6[_0xfca5fa(0x20b)](_0x4d9f51),this[_0xfca5fa(0x209)]['next'](_0x3f43e6);}[_0x69e053(0x1e5)](){const _0x3ec1f0=_0x69e053;var _0x25d7a5;if(this[_0x3ec1f0(0x2a6)]=!0x0,((_0x25d7a5=this[_0x3ec1f0(0x30a)][_0x3ec1f0(0x348)]())==null?void 0x0:_0x25d7a5['getUnitId']())!==this[_0x3ec1f0(0x319)])return;const _0xd86dfe=this['_injector']['get'](_0x3bfb9b)[_0x3ec1f0(0x161)]();Array[_0x3ec1f0(0x227)](_0xd86dfe)&&_0xd86dfe[_0x3ec1f0(0x306)]>0x0&&this[_0x3ec1f0(0x1f6)](_0xd86dfe);}[_0x69e053(0x21a)](){const _0x595a9d=_0x69e053;this[_0x595a9d(0x2a6)]=!0x1;}};Ue=ui([P(0x2,_0x1edcbc(_0x30157b)),P(0x3,_0x1edcbc(ke)),P(0x4,_0x1edcbc(_0x4a74af)),P(0x5,_0x1edcbc(He)),P(0x6,_0x50f90f),P(0x7,_0x72afad),P(0x8,_0x2bd5c6)],Ue);var Si=Object[_0x69e053(0x221)],mi=(_0x3a6765,_0x3badae,_0x56d437,_0x3b8dbf)=>{const _0x3cde66=_0x69e053;for(var _0xb87c1=_0x3b8dbf>0x1?void 0x0:_0x3b8dbf?Si(_0x3badae,_0x56d437):_0x3badae,_0x75c04c=_0x3a6765[_0x3cde66(0x306)]-0x1,_0x4fc8cb;_0x75c04c>=0x0;_0x75c04c--)(_0x4fc8cb=_0x3a6765[_0x75c04c])&&(_0xb87c1=_0x4fc8cb(_0xb87c1)||_0xb87c1);return _0xb87c1;},x=(_0x97c715,_0x2a7cf4)=>(_0x2e3b43,_0x2289f8)=>_0x2a7cf4(_0x2e3b43,_0x2289f8,_0x97c715);const Ii=0x12c,gi=0x64,vi=()=>{let _0x48e032=[],_0x550666=!0x1;return _0x1b519d=>{const _0x21bd6d=_0x2094;_0x48e032[_0x21bd6d(0x1a5)](_0x1b519d),_0x550666||(_0x550666=!0x0,setTimeout(()=>{const _0x455f63=_0x21bd6d;_0x48e032[_0x455f63(0x2b5)](_0x516ed1=>_0x516ed1()),_0x48e032=[],_0x550666=!0x1;}));};};let Me=class extends _0x2e9bdd{constructor(_0x5c27e5,_0x17664f,_0x3e0877,_0x4fc799,_0x356cd0,_0x4f24fa,_0x1ba172,_0x46970d){const _0x29a2ca=_0x69e053;super(),_(this,_0x29a2ca(0x2a6),!0x1),_(this,_0x29a2ca(0x344),!0x1),_(this,_0x29a2ca(0x209),new _0x69ec1c(new Map())),_(this,_0x29a2ca(0x28f),this[_0x29a2ca(0x209)]['asObservable']()),_(this,_0x29a2ca(0x164),new _0x69ec1c([])),_(this,_0x29a2ca(0x235),this[_0x29a2ca(0x164)][_0x29a2ca(0x21d)](_0x31b0de(Ii))),_(this,_0x29a2ca(0x1f6),_0x255206((_0x55f6c3,_0x4ec27c)=>{const _0x24a705=_0x29a2ca,_0x11432d={'eventID':_0x2a2437[_0x24a705(0x2cc)],'data':{'unitID':this[_0x24a705(0x319)],'memberID':this[_0x24a705(0x2f2)][_0x24a705(0x2ef)](),'selection':_0x304c66(_0x55f6c3,_0x4ec27c[_0x24a705(0x14e)])}};this[_0x24a705(0x2f2)]['send'](_0x11432d,this['unitID']);},gi)),(this['unitID']=_0x5c27e5,this[_0x29a2ca(0x2f2)]=_0x17664f,this[_0x29a2ca(0x248)]=_0x3e0877,this[_0x29a2ca(0x268)]=_0x4fc799,this[_0x29a2ca(0x2de)]=_0x356cd0,this['_univerInstanceService']=_0x4f24fa,this['_commandService']=_0x1ba172,this[_0x29a2ca(0x1ff)]=_0x46970d);}get[_0x69e053(0x2e8)](){const _0x4f0d96=_0x69e053;return this[_0x4f0d96(0x209)][_0x4f0d96(0x356)]();}get[_0x69e053(0x224)](){const _0x787040=_0x69e053;return this['_roomMembers$'][_0x787040(0x356)]();}[_0x69e053(0x2d4)](){const _0x4665e1=_0x69e053;super['dispose'](),this[_0x4665e1(0x209)][_0x4665e1(0x309)](new Map()),this[_0x4665e1(0x209)][_0x4665e1(0x33e)](),this['_roomMembers$']['next']([]),this[_0x4665e1(0x164)]['complete']();}['init'](){const _0xf04d27=_0x69e053;this[_0xf04d27(0x344)]||(this[_0xf04d27(0x344)]=!0x0,this['_session'][_0xf04d27(0x1f8)]['pipe'](_0x44ca8(this[_0xf04d27(0x347)]))[_0xf04d27(0x20d)](_0x3c5988=>{const _0x544d81=_0xf04d27;_0x3c5988===_0x81ca18[_0x544d81(0x28e)]?this[_0x544d81(0x1e5)]():this[_0x544d81(0x21a)]();}),this[_0xf04d27(0x2f2)][_0xf04d27(0x1a3)][_0xf04d27(0x21d)](_0x44ca8(this[_0xf04d27(0x347)]))[_0xf04d27(0x20d)](_0x2779b2=>{const _0x630f95=_0xf04d27,_0x3f8452=_0x2779b2[_0x630f95(0x321)];_0x3f8452===_0x2a2437[_0x630f95(0x2cc)]&&this[_0x630f95(0x2c6)](_0x2779b2),_0x3f8452===_0x2a2437[_0x630f95(0x19d)]&&this[_0x630f95(0x22b)](_0x2779b2);}),this[_0xf04d27(0x264)](),this['disposeWithMe'](this[_0xf04d27(0x2fd)][_0xf04d27(0x32f)](_0x30f6f9=>{const _0x3c802c=_0xf04d27;if(this['_online']&&_0x30f6f9['id']===_0x55a42c['id']&&_0x30f6f9['params'][_0x3c802c(0x228)]===this['unitID']){const _0x40a353=_0x30f6f9[_0x3c802c(0x210)];this[_0x3c802c(0x1f6)](_0x40a353[_0x3c802c(0x2e5)],_0x40a353[_0x3c802c(0x2bc)][0x0]);}})));}['_onCursorUpdate'](_0x8d01bd){const _0x46c9aa=_0x69e053;var _0x3d0fec,_0x1716fb;const {memberID:_0x2cd0da,selection:_0x1faa39}=_0x8d01bd[_0x46c9aa(0x1ea)],{sheetName:_0x22e5aa,range:_0x5a30b0}=_0x246cfb(_0x1faa39),_0xa528df={'name':(_0x1716fb=(_0x3d0fec=this[_0x46c9aa(0x2de)]['getMember'](this['unitID'],_0x2cd0da))==null?void 0x0:_0x3d0fec[_0x46c9aa(0x338)])!=null?_0x1716fb:_0x46c9aa(0x26a),'range':this[_0x46c9aa(0x1b1)](_0x22e5aa,_0x5a30b0),'sheetID':_0x22e5aa,'color':this[_0x46c9aa(0x268)]['assignAColorForMemberID'](_0x2cd0da),'selection':_0x1faa39},_0x589c6f=this['cursorInfo'];_0x589c6f['set'](_0x2cd0da,_0xa528df),this[_0x46c9aa(0x209)][_0x46c9aa(0x309)](_0x589c6f);}[_0x69e053(0x22b)](_0x37d520){const _0x481ee5=_0x69e053,{memberID:_0x27f6bf}=_0x37d520[_0x481ee5(0x1ea)],_0x433ead=this[_0x481ee5(0x2e8)];_0x433ead[_0x481ee5(0x20b)](_0x27f6bf),this[_0x481ee5(0x209)][_0x481ee5(0x309)](_0x433ead);}[_0x69e053(0x1b1)](_0x38e9a0,_0xc10ca3){const _0x44e891=_0x69e053;var _0x340b24,_0xf018d4;const _0x31b4a2=(_0xf018d4=(_0x340b24=this[_0x44e891(0x30a)][_0x44e891(0x349)](this['unitID']))==null?void 0x0:_0x340b24[_0x44e891(0x158)](_0x38e9a0))==null?void 0x0:_0xf018d4[_0x44e891(0x18b)]();return(_0x31b4a2==null?void 0x0:_0x31b4a2[_0x44e891(0x2e3)](_0xe90a69=>_0x4e0777['contains'](_0xe90a69,_0xc10ca3)))||_0xc10ca3;}[_0x69e053(0x264)](){const _0x454862=_0x69e053,_0x8d42c2=new _0x2a2f84(),_0x2ec031=vi(),_0x1ada35=()=>{const _0xf72433=_0x2094;_0x8d42c2[_0xf72433(0x2d4)]();const _0x15d5ef=(_0x286b3d,_0x17a302,_0x5d7bbd,_0x20a13f)=>{const _0x505663=_0xf72433;let _0x8fdcd9=[];switch(_0x286b3d['id']){case _0x33d190[_0x505663(0x2e2)]:{_0x8fdcd9=_0x9e2cc1(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x234)]:{_0x8fdcd9=_0x24a714(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x332)]:{_0x8fdcd9=_0x38ecfb(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x182)]:{_0x8fdcd9=_0x29e748(_0x286b3d,_0x20a13f);break;}case _0x33d190['InsertRangeMoveRightCommandId']:{_0x8fdcd9=_0x508845(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x27f)]:{_0x8fdcd9=_0x367e59(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x21c)]:{_0x8fdcd9=_0x3c6acf(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x1dc)]:{_0x8fdcd9=_0x42644f(_0x286b3d,_0x20a13f);break;}case _0x33d190[_0x505663(0x28d)]:{_0x8fdcd9=_0x126d27(_0x286b3d,_0x20a13f);break;}}const _0x453d8e=_0x7172f3(_0x8fdcd9,_0x20a13f),_0x439b4d=this[_0x505663(0x2e8)][_0x505663(0x2a0)](_0x17a302);if(_0x439b4d&&_0x453d8e){const _0x26e737={..._0x439b4d,'range':_0x453d8e};this[_0x505663(0x2e8)][_0x505663(0x2e7)](_0x17a302,_0x26e737),_0x2ec031(()=>{const _0xcae58d=_0x505663,_0x4c3bf5=this[_0xcae58d(0x1ff)]['registerRefRange'](_0x453d8e,_0x4cc757=>(_0x4c3bf5[_0xcae58d(0x2d4)](),_0x15d5ef(_0x4cc757,_0x17a302,_0x5d7bbd,_0x453d8e)));_0x8d42c2[_0xcae58d(0x185)](_0x4c3bf5);});}return{'redos':[],'undos':[]};};this[_0xf72433(0x2e8)]['forEach']((_0x263521,_0x147b78)=>{const _0x3c9fd0=_0xf72433,{range:_0x4753e0,sheetID:_0x28a471}=_0x263521,_0x3d028e=this['_refRangeService'][_0x3c9fd0(0x1f3)](_0x4753e0,_0x207b3e=>(_0x3d028e[_0x3c9fd0(0x2d4)](),_0x15d5ef(_0x207b3e,_0x147b78,_0x28a471,_0x4753e0)));_0x8d42c2[_0x3c9fd0(0x185)](_0x3d028e);});};this[_0x454862(0x18c)](_0x35e3cc(this['_cursorInfo$'][_0x454862(0x20d)](()=>{_0x1ada35();})));}[_0x69e053(0x1e5)](){const _0x13d3f5=_0x69e053;var _0x296235,_0x512312;if(this[_0x13d3f5(0x2a6)]=!0x0,((_0x296235=this[_0x13d3f5(0x30a)]['getFocusedUnit']())==null?void 0x0:_0x296235['getUnitId']())!==this['unitID'])return;const _0x25a529=(_0x512312=this[_0x13d3f5(0x248)][_0x13d3f5(0x2a0)](_0x113517)[_0x13d3f5(0x1bf)]())==null?void 0x0:_0x512312[0x0],_0x49d892=this[_0x13d3f5(0x30a)]['getCurrentUnitForType'](_0xb39e56['UNIVER_SHEET'])[_0x13d3f5(0x253)]();_0x25a529&&_0x49d892&&this['_updateLocalCursor'](_0x49d892[_0x13d3f5(0x226)](),_0x25a529);}['_toggleOffline'](){const _0x1cdb11=_0x69e053;this[_0x1cdb11(0x2a6)]=!0x1;}};Me=mi([x(0x2,_0x1edcbc(_0x30157b)),x(0x3,_0x1edcbc(ke)),x(0x4,_0x1edcbc(_0x4a74af)),x(0x5,_0x72afad),x(0x6,_0x2bd5c6),x(0x7,_0x1edcbc(_0xb95e43))],Me);var pi=Object[_0x69e053(0x221)],Ci=(_0x25679d,_0x19d4e9,_0x24999b,_0x4b756e)=>{const _0x4a6ddb=_0x69e053;for(var _0x3a598e=_0x4b756e>0x1?void 0x0:_0x4b756e?pi(_0x19d4e9,_0x24999b):_0x19d4e9,_0x4e570d=_0x25679d[_0x4a6ddb(0x306)]-0x1,_0x3b48dd;_0x4e570d>=0x0;_0x4e570d--)(_0x3b48dd=_0x25679d[_0x4e570d])&&(_0x3a598e=_0x3b48dd(_0x3a598e)||_0x3a598e);return _0x3a598e;},Se=(_0x5613c3,_0x204215)=>(_0x54fbce,_0x5a6544)=>_0x204215(_0x54fbce,_0x5a6544,_0x5613c3);let H=class extends _0x2e9bdd{constructor(_0x15ee33,_0x456ddd,_0x434120){const _0x4a5800=_0x69e053;super(),_(this,_0x4a5800(0x2c9),new Map()),_(this,_0x4a5800(0x23d),new _0x51c9dc()),(this[_0x4a5800(0x30a)]=_0x15ee33,this[_0x4a5800(0x248)]=_0x456ddd,this['_collabSessionService']=_0x434120,this[_0x4a5800(0x344)]());}[_0x69e053(0x2d4)](){const _0x20173b=_0x69e053;super['dispose'](),this[_0x20173b(0x23d)][_0x20173b(0x33e)](),this[_0x20173b(0x2c9)][_0x20173b(0x2b5)](_0x52226f=>_0x52226f[_0x20173b(0x2d4)]());}['getCollabCursors$'](_0x1e8158){const _0x5654f4=_0x69e053;return this[_0x5654f4(0x2c9)][_0x5654f4(0x289)](_0x1e8158)?this[_0x5654f4(0x2c9)][_0x5654f4(0x2a0)](_0x1e8158)[_0x5654f4(0x28f)]:this['_entityInit$']['pipe'](_0x552ef5(_0x4bad70=>_0x4bad70[_0x5654f4(0x319)]===_0x1e8158),_0x60c435(_0x4d5ce3=>_0x4d5ce3[_0x5654f4(0x28f)]));}[_0x69e053(0x344)](){const _0x1ac6b4=_0x69e053;this[_0x1ac6b4(0x30a)][_0x1ac6b4(0x1be)](_0xb39e56[_0x1ac6b4(0x20c)])['pipe'](_0x44ca8(this[_0x1ac6b4(0x347)]))[_0x1ac6b4(0x20d)](async _0x5a3360=>{const _0xf55543=_0x1ac6b4,_0x338b73=_0x5a3360[_0xf55543(0x213)](),_0x4dc865=await this['_startSheetCollabCursor'](_0x338b73);this[_0xf55543(0x23d)]['next'](_0x4dc865),this[_0xf55543(0x2c9)][_0xf55543(0x2e7)](_0x338b73,_0x4dc865);}),this[_0x1ac6b4(0x30a)][_0x1ac6b4(0x1be)](_0xb39e56[_0x1ac6b4(0x1f5)])[_0x1ac6b4(0x21d)](_0x44ca8(this[_0x1ac6b4(0x347)]))[_0x1ac6b4(0x21d)](_0x552ef5(_0x3e0678=>!_0x3e0678['getUnitId']()[_0x1ac6b4(0x359)]('__')))[_0x1ac6b4(0x20d)](async _0x51f6f0=>{const _0x4f416b=_0x1ac6b4,_0x35b8c9=_0x51f6f0['getUnitId'](),_0x4496de=await this[_0x4f416b(0x33f)](_0x35b8c9);this['_entityInit$']['next'](_0x4496de),this[_0x4f416b(0x2c9)][_0x4f416b(0x2e7)](_0x35b8c9,_0x4496de);}),_0x103602(this[_0x1ac6b4(0x30a)][_0x1ac6b4(0x2e4)](_0xb39e56['UNIVER_DOC']),this['_univerInstanceService'][_0x1ac6b4(0x2e4)](_0xb39e56[_0x1ac6b4(0x20c)]))[_0x1ac6b4(0x21d)](_0x44ca8(this[_0x1ac6b4(0x347)]))[_0x1ac6b4(0x20d)](_0x237391=>{const _0x2fff44=_0x1ac6b4,_0x3d271a=_0x237391[_0x2fff44(0x213)](),_0x315aa9=this['_entities'][_0x2fff44(0x2a0)](_0x3d271a);_0x315aa9&&(_0x315aa9[_0x2fff44(0x2d4)](),this['_entities'][_0x2fff44(0x20b)](_0x3d271a));});}async[_0x69e053(0x2b8)](_0x1201e1){const _0x2f237a=_0x69e053,_0x1663e0=await this['_collabSessionService'][_0x2f237a(0x1ac)](_0x1201e1),_0x1e36a1=this[_0x2f237a(0x248)]['createInstance'](Me,_0x1201e1,_0x1663e0);return _0x1e36a1[_0x2f237a(0x1e4)](),_0x1e36a1;}async[_0x69e053(0x33f)](_0x4cb750){const _0x531e39=_0x69e053,_0x5c463a=await this['_collabSessionService'][_0x531e39(0x1ac)](_0x4cb750),_0x4c61ac=this['_injector'][_0x531e39(0x1c9)](Ue,_0x4cb750,_0x5c463a);return _0x4c61ac['init'](),_0x4c61ac;}};H=Ci([Se(0x0,_0x72afad),Se(0x1,_0x1edcbc(_0x30157b)),Se(0x2,_0x1edcbc(_0x544921))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function Oi(_0x436f87,_0x5c727f){const _0x3595bd=_0x69e053;let {radius:_0x368a10,width:_0x2849ce,height:_0x2558cf}=_0x5c727f;_0x368a10=_0x368a10!=null?_0x368a10:0x0,_0x2849ce=_0x2849ce!=null?_0x2849ce:0x1e,_0x2558cf=_0x2558cf!=null?_0x2558cf:0x1e;let _0x400b62=0x0,_0x1fc650=0x0,_0x35f7bb=0x0;_0x400b62=_0x1fc650=_0x35f7bb=Math[_0x3595bd(0x24c)](_0x368a10,_0x2849ce/0x2,_0x2558cf/0x2),_0x436f87[_0x3595bd(0x150)](),_0x436f87[_0x3595bd(0x212)](_0x400b62,0x0),_0x436f87[_0x3595bd(0x16d)](_0x2849ce-_0x1fc650,0x0),_0x436f87[_0x3595bd(0x301)](_0x2849ce-_0x1fc650,_0x1fc650,_0x1fc650,Math['PI']*0x3/0x2,0x0,!0x1),_0x436f87[_0x3595bd(0x16d)](_0x2849ce,_0x2558cf-_0x35f7bb),_0x436f87[_0x3595bd(0x301)](_0x2849ce-_0x35f7bb,_0x2558cf-_0x35f7bb,_0x35f7bb,0x0,Math['PI']/0x2,!0x1),_0x436f87['lineTo'](0x0,_0x2558cf),_0x436f87[_0x3595bd(0x16d)](0x0,_0x400b62),_0x436f87['arc'](_0x400b62,_0x400b62,_0x400b62,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x436f87['closePath'](),_0x5c727f[_0x3595bd(0x284)]&&(_0x436f87[_0x3595bd(0x298)](),_0x436f87[_0x3595bd(0x1a2)]=_0x5c727f[_0x3595bd(0x284)],_0x5c727f[_0x3595bd(0x236)]===_0x3595bd(0x1cb)?_0x436f87['fill'](_0x3595bd(0x1cb)):_0x436f87[_0x3595bd(0x284)](),_0x436f87['restore']());}class he extends _0x5a67bd{constructor(_0x5e3b8e,_0x1d15a7){const _0x26a209=_0x69e053;super(_0x5e3b8e,_0x1d15a7),_(this,_0x26a209(0x300)),_(this,_0x26a209(0x2e0)),(this[_0x26a209(0x300)]=_0x1d15a7==null?void 0x0:_0x1d15a7['color'],this[_0x26a209(0x2e0)]=_0x1d15a7==null?void 0x0:_0x1d15a7[_0x26a209(0x2e0)]);}static['drawWith'](_0x752809,_0x4c03cb){const _0x3b1ce6=_0x69e053,{text:_0x12842e,color:_0x58360c}=_0x4c03cb;_0x752809[_0x3b1ce6(0x298)](),_0x752809[_0x3b1ce6(0x345)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x14a3cd=_0x752809['measureText'](_0x12842e)[_0x3b1ce6(0x23c)],_0x538f82=Math['min'](_0x14a3cd+0x2*me,Qe);Oi(_0x752809,{'height':ee,'radius':0x4,'width':_0x538f82,'fill':_0x58360c}),_0x752809[_0x3b1ce6(0x1a2)]=_0x3b1ce6(0x280);const _0x5c999b=me,_0x3549fe=ee-Ei,_0x5c3a76=Qe-0x2*me;if(_0x14a3cd>_0x5c3a76){let _0x297d63='',_0x5b1f67=0x0;for(const _0x1a05e5 of _0x12842e){const _0x42ad5b=_0x752809[_0x3b1ce6(0x246)](_0x1a05e5)[_0x3b1ce6(0x23c)];if(_0x5b1f67+_0x42ad5b<=_0x5c3a76-_0x752809[_0x3b1ce6(0x246)]('...')['width'])_0x297d63+=_0x1a05e5,_0x5b1f67+=_0x42ad5b;else{_0x297d63+=_0x3b1ce6(0x215);break;}}_0x752809['fillText'](_0x297d63,_0x5c999b,_0x3549fe);}else _0x752809[_0x3b1ce6(0x198)](_0x12842e,_0x5c999b,_0x3549fe);_0x752809[_0x3b1ce6(0x32a)]();}[_0x69e053(0x2c0)](_0x5beb9b){const _0x4069c8=_0x69e053;he[_0x4069c8(0x2dc)](_0x5beb9b,this);}}const Ie=_0x69e053(0x328),bi=_0x69e053(0x1e0),Ti=_0x69e053(0x2a3),X=0x6,Ri=1.5,ge=0x4,Di=1.5,Ni=_0x69e053(0x1b4);class qe{constructor(_0x51be3f,_0x58189a,_0x2b8aa6,_0x13242c){const _0x3b721c=_0x69e053;_(this,'_shapes',[]),_(this,'_anchor',null),_(this,'_textBubble',null),_(this,_0x3b721c(0x167),null),_(this,_0x3b721c(0x274),null),_(this,'_eventUnsubscribe',null),(this[_0x3b721c(0x17c)]=_0x51be3f,this[_0x3b721c(0x26c)]=_0x58189a,this[_0x3b721c(0x22f)]=_0x2b8aa6,this[_0x3b721c(0x19a)]=_0x13242c,this[_0x3b721c(0x1db)]());}set[_0x69e053(0x260)](_0x3e258c){const _0x578046=_0x69e053;_0x3e258c?(this['_anchorDot']&&this[_0x578046(0x167)][_0x578046(0x19b)](),this['_textBubble']&&this[_0x578046(0x17b)][_0x578046(0x1d5)]()):(this['_anchorDot']&&this[_0x578046(0x167)][_0x578046(0x1d5)](),this['_textBubble']&&this[_0x578046(0x17b)]['hide']());}[_0x69e053(0x2d4)](){const _0x33b3bf=_0x69e053;for(const _0x4b5f16 of this['_shapes'])_0x4b5f16[_0x33b3bf(0x2d4)]();this[_0x33b3bf(0x17b)]&&this[_0x33b3bf(0x17b)]['dispose'](),this[_0x33b3bf(0x167)]&&this['_anchorDot'][_0x33b3bf(0x2d4)](),this[_0x33b3bf(0x1ca)]&&this[_0x33b3bf(0x1ca)][_0x33b3bf(0x2d4)](),this['_eventUnsubscribe']&&this[_0x33b3bf(0x244)]();}[_0x69e053(0x1db)](){const _0x49f7cf=_0x69e053;var _0x50c2de;const {_docSkeleton:_0x76ffbb,_document:_0x1d60cb}=this,{color:_0x16ca17,name:_0x4e302c,ranges:_0x1d669a}=this[_0x49f7cf(0x17c)],_0x2976e5=_0x1d60cb[_0x49f7cf(0x15b)](),{docsLeft:_0x32a617,docsTop:_0x26a7f0}=_0x2976e5,_0x26b3c8=new _0xe67241(_0x2976e5,_0x76ffbb);for(const {startOffset:_0x2af2bc,endOffset:_0x2bc5de,rangeType:_0x235bff,segmentId:_0x54d790,segmentPage:_0x280c11,collapsed:_0x48d985,isActive:_0x35d4af}of _0x1d669a){const _0x5e5a79=_0x76ffbb[_0x49f7cf(0x174)](_0x2af2bc,!0x0,_0x54d790,_0x280c11);let _0x265f66=_0x76ffbb['findNodePositionByCharIndex'](_0x2bc5de,!0x0,_0x54d790,_0x280c11);if(_0x265f66==null&&(_0x265f66=_0x76ffbb['findNodePositionByCharIndex'](_0x2bc5de-0x1,!0x1,_0x54d790,_0x280c11)),_0x35d4af){const {contentBoxPointGroup:_0x324c43}=_0x26b3c8[_0x49f7cf(0x230)](_0x265f66,_0x265f66);if(_0x324c43[_0x49f7cf(0x306)]===0x0)continue;this['_drawAnchor'](_0x16ca17,_0x324c43,_0x32a617,_0x26a7f0,_0x4e302c),this[_0x49f7cf(0x244)]=this[_0x49f7cf(0x2df)]();}if(_0x5e5a79&&_0x265f66){if(_0x235bff===_0x5c07ca[_0x49f7cf(0x296)]){const _0x2514ba=new _0x573a8f(_0x2976e5,_0x76ffbb),{pointGroup:_0x2bc578}=(_0x50c2de=_0x2514ba[_0x49f7cf(0x230)](_0x5e5a79,_0x265f66))!=null?_0x50c2de:{};if(_0x2bc578==null||_0x2bc578['length']===0x0)continue;this[_0x49f7cf(0x327)](_0x16ca17,_0x2bc578,_0x32a617,_0x26a7f0);}else{if(!_0x48d985){const {borderBoxPointGroup:_0x16460e}=_0x26b3c8[_0x49f7cf(0x230)](_0x5e5a79,_0x265f66);if(_0x16460e[_0x49f7cf(0x306)]===0x0)continue;this[_0x49f7cf(0x2d5)](_0x16ca17,_0x16460e,_0x32a617,_0x26a7f0);}}}}}[_0x69e053(0x1c7)](_0x6cdc88,_0x57ff4,_0x282f36,_0x2779ba,_0x45351c){const _0x226ab2=_0x69e053,_0x177a63=this['_getAnchorBounding'](_0x57ff4),{left:_0x3d37ac,top:_0x2020f4,height:_0x2a4c00}=_0x177a63,_0x1ee162=this[_0x226ab2(0x180)](),_0x5e205c=Di/_0x1ee162,_0x1a5446=new _0x4c78f6(Ie+_0x469588[_0x226ab2(0x2fa)](X),{'left':_0x3d37ac+_0x282f36-_0x5e205c,'top':_0x2020f4+_0x2779ba,'height':_0x2a4c00,'width':Ri,'fill':_0x6cdc88||_0x4b2883(_0x3995cb['black'],0x0),'strokeWidth':_0x5e205c,'stroke':Ni,'evented':!0x0});this[_0x226ab2(0x1ca)]=_0x1a5446,this['_scene'][_0x226ab2(0x270)](_0x1a5446,_0x43d054);const _0x878bf8=new _0x4c78f6(Ie+_0x469588[_0x226ab2(0x2fa)](X),{'left':_0x3d37ac+_0x282f36-_0x5e205c,'top':_0x2020f4+_0x2779ba-ge/0x2,'height':ge,'width':ge,'fill':_0x6cdc88||_0x4b2883(_0x3995cb[_0x226ab2(0x18f)],0x0),'strokeWidth':0x0,'stroke':_0x6cdc88||_0x4b2883(_0x3995cb[_0x226ab2(0x18f)],0x0),'evented':!0x1});this['_anchorDot']=_0x878bf8,this[_0x226ab2(0x26c)][_0x226ab2(0x270)](_0x878bf8,_0x43d054);const _0x5b4cbc=new he(Ie+_0x469588[_0x226ab2(0x2fa)](X),{'left':_0x3d37ac+_0x282f36-_0x5e205c,'top':_0x2020f4+_0x2779ba-ee,'text':_0x45351c,'color':_0x6cdc88});this[_0x226ab2(0x17b)]=_0x5b4cbc,this[_0x226ab2(0x26c)]['addObject'](_0x5b4cbc,_0x43d054),this[_0x226ab2(0x260)]=!0x1;}[_0x69e053(0x2df)](){const _0xd7c36a=_0x69e053,_0x1152cd=this[_0xd7c36a(0x1ca)][_0xd7c36a(0x162)][_0xd7c36a(0x287)](()=>{this['_hover']=!0x0;}),_0x4d7268=this[_0xd7c36a(0x1ca)][_0xd7c36a(0x19f)][_0xd7c36a(0x287)](()=>{const _0x3f77bd=_0xd7c36a;this[_0x3f77bd(0x274)]&&clearTimeout(this[_0x3f77bd(0x274)]),this['_hideTimer']=setTimeout(()=>{const _0x13e244=_0x3f77bd;this[_0x13e244(0x260)]=!0x1;},0x7d0);});return()=>{_0x1152cd['unsubscribe'](),_0x4d7268['unsubscribe']();};}[_0x69e053(0x2d5)](_0x5c283f,_0x3a292d,_0x45f33f,_0x55d620){const _0x32ef45=_0x69e053,_0x3e3b7a=new _0x50846d(_0x5c283f)[_0x32ef45(0x211)](0.2)[_0x32ef45(0x17a)](),_0x461712=new _0x1d218e(bi+_0x469588[_0x32ef45(0x2fa)](X),{'pointsGroup':_0x3a292d,'fill':_0x3e3b7a||_0x4b2883(_0x3995cb[_0x32ef45(0x18f)],0.2),'left':_0x45f33f,'top':_0x55d620,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x32ef45(0x1a5)](_0x461712),this['_scene'][_0x32ef45(0x270)](_0x461712,_0x43d054);}[_0x69e053(0x327)](_0x1dc69f,_0xf6c089,_0x579bf1,_0x82538c){const _0x445fe7=_0x69e053,_0x9f898c=new _0x50846d(_0x1dc69f)['setAlpha'](0.2)[_0x445fe7(0x17a)](),_0x2a1c86=new _0x1d218e(Ti+_0x469588['generateRandomId'](X),{'pointsGroup':_0xf6c089,'fill':_0x9f898c||_0x4b2883(_0x3995cb[_0x445fe7(0x18f)],0.2),'left':_0x579bf1,'top':_0x82538c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x445fe7(0x292)]['push'](_0x2a1c86),this[_0x445fe7(0x26c)][_0x445fe7(0x270)](_0x2a1c86,_0x43d054);}['_getAnchorBounding'](_0x3bc28d){const _0x3dba2c=_0x3bc28d[0x0],_0x409425=_0x3dba2c[0x0],_0x29a110=_0x3dba2c[0x2],{x:_0x468b7f,y:_0x27bf1b}=_0x409425,{x:_0x3cbbaf,y:_0x23893f}=_0x29a110;return{'left':_0x468b7f,'top':_0x27bf1b,'width':_0x3cbbaf-_0x468b7f,'height':_0x23893f-_0x27bf1b};}[_0x69e053(0x180)](){const _0x54b5d6=_0x69e053,{scaleX:_0x2d2502,scaleY:_0x540393}=this['_scene']['getAncestorScale']();return Math[_0x54b5d6(0x237)](_0x2d2502,_0x540393);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x14ded8,_0x2bec5c,_0x325c54,_0x1edeaa)=>{const _0x35eead=_0x69e053;for(var _0x31bf06=_0x1edeaa>0x1?void 0x0:_0x1edeaa?Ui(_0x2bec5c,_0x325c54):_0x2bec5c,_0x20b312=_0x14ded8[_0x35eead(0x306)]-0x1,_0x4ea702;_0x20b312>=0x0;_0x20b312--)(_0x4ea702=_0x14ded8[_0x20b312])&&(_0x31bf06=_0x4ea702(_0x31bf06)||_0x31bf06);return _0x31bf06;},Z=(_0x47c7fe,_0x12eb7f)=>(_0x3721b0,_0x5e9d86)=>_0x12eb7f(_0x3721b0,_0x5e9d86,_0x47c7fe);let we=class extends _0x2e9bdd{constructor(_0x2f6eda,_0x530c29,_0x4da2a4,_0x46e424,_0xac1193){const _0x17a7ef=_0x69e053;super(),_(this,_0x17a7ef(0x355),[]),_(this,_0x17a7ef(0x2f5),[]),(this[_0x17a7ef(0x2ae)]=_0x2f6eda,this['_docSkeletonManagerService']=_0x530c29,this[_0x17a7ef(0x238)]=_0x4da2a4,this[_0x17a7ef(0x2fd)]=_0x46e424,this[_0x17a7ef(0x1b7)]=_0xac1193,this['_init']());}['_init'](){const _0x3b416e=_0x69e053,_0x1eec07=this[_0x3b416e(0x2ae)][_0x3b416e(0x228)],_0x4d5d44=this[_0x3b416e(0x15e)];this[_0x3b416e(0x18c)](_0xd72e73([this[_0x3b416e(0x238)]['getCollabCursors$'](_0x1eec07),this['_themeService'][_0x3b416e(0x299)]])[_0x3b416e(0x21d)](_0x1f7c41(([_0x577273,_0x2c7a17])=>({'skeleton':_0x4d5d44[_0x3b416e(0x172)](),'cursors':[..._0x577273[_0x3b416e(0x25b)]()][_0x3b416e(0x1d6)](_0x1d44e3=>({..._0x1d44e3,'color':this['_themeService'][_0x3b416e(0x250)](_0x1d44e3[_0x3b416e(0x300)])}))})))[_0x3b416e(0x20d)](_0x4fed2c=>{const _0x4c0786=_0x3b416e;if(this[_0x4c0786(0x31f)](),_0x4fed2c){const {skeleton:_0x4813ee,cursors:_0x28e4bb}=_0x4fed2c;this['_updateCollabCursors'](_0x4813ee,_0x28e4bb);}})),this[_0x3b416e(0x27a)](),this[_0x3b416e(0x322)]();}[_0x69e053(0x1a1)](_0x530d5b,_0x7421ab){const _0x146376=_0x69e053,{scene:_0xe2e1d2,mainComponent:_0x566289}=this[_0x146376(0x2ae)],_0x1e58bb=_0x7421ab['map'](_0xd53f98=>new qe(_0xd53f98,_0xe2e1d2,_0x530d5b,_0x566289));this[_0x146376(0x355)]=_0x1e58bb,this[_0x146376(0x2f5)]=_0x7421ab;}['_refreshCollabCursors'](){const _0xe636a0=_0x69e053;this[_0xe636a0(0x31f)]();const {scene:_0x5fc96c,mainComponent:_0x20e5a1}=this[_0xe636a0(0x2ae)],_0x358717=this['_docSkeletonManagerService'][_0xe636a0(0x172)](),_0x3667c8=this[_0xe636a0(0x2f5)][_0xe636a0(0x2b7)](_0x20dee6=>new qe(_0x20dee6,_0x5fc96c,_0x358717,_0x20e5a1));this['_cursorShapes']=_0x3667c8;}['_removeCollabCursors'](){const _0x226d5c=_0x69e053;this[_0x226d5c(0x355)][_0x226d5c(0x2b5)](_0x479771=>_0x479771['dispose']()),this[_0x226d5c(0x355)]=[];}[_0x69e053(0x322)](){const _0x1a303c=_0x69e053,_0x34d862=[_0x2c60ef['id']];this[_0x1a303c(0x18c)](this['_commandService'][_0x1a303c(0x32f)](_0x20ec91=>{const _0x3be2a5=_0x1a303c;_0x34d862[_0x3be2a5(0x16a)](_0x20ec91['id'])&&_0x20ec91[_0x3be2a5(0x210)][_0x3be2a5(0x228)]===this['_context'][_0x3be2a5(0x228)]&&this[_0x3be2a5(0x189)]();}));}[_0x69e053(0x27a)](){const _0x2e7b75=_0x69e053;this[_0x2e7b75(0x18c)](_0x68d662(this[_0x2e7b75(0x2ae)][_0x2e7b75(0x32e)][_0x2e7b75(0x154)])[_0x2e7b75(0x21d)](_0x38db37(_0x5cf04b=>_0x5cf04b['type']===_0x44d47e[_0x2e7b75(0x2db)]),_0x562977(0x10))[_0x2e7b75(0x20d)](()=>{const _0x101d51=_0x2e7b75;this[_0x101d51(0x189)]();}));}};we=Mi([Z(0x1,_0x1edcbc(_0x36f904)),Z(0x2,_0x1edcbc(H)),Z(0x3,_0x2bd5c6),Z(0x4,_0x1edcbc(_0x669f82))],we);const wi=0x1,Pi=1.5;class Li extends _0x5a67bd{constructor(_0x5e93aa,_0x204815){const _0x2a82a5=_0x69e053;super(_0x5e93aa,_0x204815),_(this,_0x2a82a5(0x2f1)),_(this,_0x2a82a5(0x2af),!0x1),_(this,_0x2a82a5(0x32c)),_(this,_0x2a82a5(0x1c5),''),_(this,'_labelPosition','top'),_(this,_0x2a82a5(0x2f4)),(_0x204815&&this[_0x2a82a5(0x1f7)](_0x204815),this[_0x2a82a5(0x162)]['subscribeEvent'](()=>this[_0x2a82a5(0x1f7)]({'hovered':!0x0})),this[_0x2a82a5(0x19f)][_0x2a82a5(0x287)](()=>this[_0x2a82a5(0x1f7)]({'hovered':!0x1})));}[_0x69e053(0x1f7)](_0x4722e4){const _0x105b43=_0x69e053;var _0x5b461f,_0x5cfb0b,_0x4b2033,_0x2f85ee,_0x406748,_0x5948fe;this['_color']=(_0x5b461f=_0x4722e4['color'])!=null?_0x5b461f:this['_color'],this['_hovered']=(_0x5cfb0b=_0x4722e4[_0x105b43(0x351)])!=null?_0x5cfb0b:this[_0x105b43(0x2af)],this['_range']=(_0x4b2033=_0x4722e4['range'])!=null?_0x4b2033:this[_0x105b43(0x32c)],this[_0x105b43(0x1c5)]=(_0x2f85ee=_0x4722e4['name'])!=null?_0x2f85ee:this[_0x105b43(0x1c5)],this[_0x105b43(0x34c)]=(_0x406748=_0x4722e4[_0x105b43(0x1d2)])!=null?_0x406748:this['_labelPosition'],this[_0x105b43(0x2f4)]=(_0x5948fe=_0x4722e4[_0x105b43(0x17e)])!=null?_0x5948fe:this[_0x105b43(0x2f4)],this[_0x105b43(0x1af)]({'width':_0x4722e4['width'],'height':_0x4722e4[_0x105b43(0x311)]});}[_0x69e053(0x242)](_0x52e3a4){const _0x1298bd=_0x69e053,{row:_0x55984e,column:_0x2dcf38}=_0x52e3a4;if(_0x55984e>=this[_0x1298bd(0x32c)][_0x1298bd(0x205)]&&_0x55984e<=this[_0x1298bd(0x32c)][_0x1298bd(0x1a9)]&&_0x2dcf38>=this[_0x1298bd(0x32c)][_0x1298bd(0x334)]&&_0x2dcf38<=this[_0x1298bd(0x32c)]['endColumn']){this[_0x1298bd(0x1f7)]({'hovered':!0x0});return;}this[_0x1298bd(0x1f7)]({'hovered':!0x1});}[_0x69e053(0x18d)](_0x48e105){return!0x1;}['_draw'](_0x25735d){const _0x31d4b7=_0x69e053;_0x4c78f6['drawWith'](_0x25735d,{'width':this['width'],'height':this[_0x31d4b7(0x311)],'strokeWidth':Pi,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x31d4b7(0x2af)]&&(_0x25735d['save'](),_0x25735d[_0x31d4b7(0x1ce)](0x1,0x0,0x0,0x1,this[_0x31d4b7(0x23c)],this[_0x31d4b7(0x34c)]===_0x31d4b7(0x16c)?0x0:-0x14),he[_0x31d4b7(0x2dc)](_0x25735d,{'text':this[_0x31d4b7(0x1c5)],'color':this['_color']}),_0x25735d[_0x31d4b7(0x32a)]());}}var Ai=Object[_0x69e053(0x221)],yi=(_0x396a39,_0x38da40,_0x9109bb,_0x4f2bbf)=>{const _0x525817=_0x69e053;for(var _0xf109e6=_0x4f2bbf>0x1?void 0x0:_0x4f2bbf?Ai(_0x38da40,_0x9109bb):_0x38da40,_0x10de49=_0x396a39[_0x525817(0x306)]-0x1,_0x3b998c;_0x10de49>=0x0;_0x10de49--)(_0x3b998c=_0x396a39[_0x10de49])&&(_0xf109e6=_0x3b998c(_0xf109e6)||_0xf109e6);return _0xf109e6;},ve=(_0x573e3a,_0x1d69c5)=>(_0x1e1b73,_0x5bd5f7)=>_0x1d69c5(_0x1e1b73,_0x5bd5f7,_0x573e3a);const $i=0x1389;let Pe=class extends _0x2e9bdd{constructor(_0x594234,_0x24831a,_0x582ad9,_0x55bc81){const _0x6e78d6=_0x69e053;super(),_(this,_0x6e78d6(0x2f5),new Set()),_(this,_0x6e78d6(0x1ee),null),(this[_0x6e78d6(0x2ae)]=_0x594234,this[_0x6e78d6(0x29a)]=_0x24831a,this[_0x6e78d6(0x238)]=_0x582ad9,this['_themeService']=_0x55bc81,this[_0x6e78d6(0x344)]());}[_0x69e053(0x344)](){const _0x4523fa=_0x69e053;this['_sheetSkeletonManagerService'][_0x4523fa(0x24a)][_0x4523fa(0x21d)](_0x55354a(this[_0x4523fa(0x347)]),_0x279d5a(_0x452572=>{const _0x270f75=_0x4523fa;if(_0x452572){const _0xcb7b5d=_0x452572[_0x270f75(0x2a7)];return _0xd72e73(this[_0x270f75(0x238)][_0x270f75(0x1c0)](this[_0x270f75(0x2ae)]['unitId']),this[_0x270f75(0x1b7)][_0x270f75(0x299)])[_0x270f75(0x21d)](_0x1f7c41(([_0x128d31,_0x2645d8])=>{const _0x1520a4=new Map();return _0x128d31['forEach']((_0x124181,_0x12b771)=>{const _0x24d6ae=_0x2094;if(_0x124181[_0x24d6ae(0x23e)]===_0xcb7b5d){const _0x421205={..._0x124181};_0x421205[_0x24d6ae(0x300)]=this['_themeService'][_0x24d6ae(0x250)](_0x124181[_0x24d6ae(0x300)]),_0x1520a4['set'](_0x12b771,_0x421205);}}),{'skeleton':_0x452572,'cursors':_0x1520a4};}));}return _0xd879b8({'skeleton':null,'cursors':new Map()});}))[_0x4523fa(0x20d)](({skeleton:_0x44f3b4,cursors:_0x29be4a})=>{const _0x23d7fc=_0x4523fa;this[_0x23d7fc(0x31f)](),_0x44f3b4&&this[_0x23d7fc(0x1a1)](_0x44f3b4,_0x29be4a);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4523fa(0x20d)](_0x69616e=>{const _0x1b9b67=_0x4523fa;if(_0x69616e==null)return;const {skeleton:_0x28ebc4}=_0x69616e,{scene:_0xbff414}=this[_0x1b9b67(0x2ae)];_0xbff414[_0x1b9b67(0x2fc)][_0x1b9b67(0x287)](_0x255206(_0x16387d=>{const _0x4faab3=_0x1b9b67;var _0x576761,_0x474911;const {offsetX:_0x20c048,offsetY:_0xb327a5}=_0x16387d,{x:_0x3449dd,y:_0x503ffe}=_0xbff414[_0x4faab3(0x203)](_0x462525[_0x4faab3(0x2dd)]([_0x20c048,_0xb327a5])),{scaleX:_0xab24e4,scaleY:_0x2e76f1}=_0xbff414[_0x4faab3(0x258)](),_0x4407d5=_0xbff414[_0x4faab3(0x1da)](_0x5b0074['VIEW_MAIN']),_0x112330=_0xbff414[_0x4faab3(0x2d2)](_0x462525[_0x4faab3(0x2dd)]([_0x3449dd,_0x503ffe]),_0x4407d5),_0x684dc3=_0x28ebc4[_0x4faab3(0x2d1)](_0x20c048,_0xb327a5,_0xab24e4,_0x2e76f1,_0x112330);((_0x576761=this[_0x4faab3(0x1ee)])==null?void 0x0:_0x576761[_0x4faab3(0x320)])===_0x684dc3[_0x4faab3(0x320)]&&((_0x474911=this['_lastPointer'])==null?void 0x0:_0x474911[_0x4faab3(0x23f)])===_0x684dc3[_0x4faab3(0x23f)]||this[_0x4faab3(0x2f5)]['forEach'](_0x250b84=>{const _0x17a6af=_0x4faab3;_0x250b84[_0x17a6af(0x242)](_0x684dc3);});},0x64));});}[_0x69e053(0x1a1)](_0x552ed8,_0xafafaf){const _0x560c93=_0x69e053;var _0x4472a8;const _0x3c0b78=(_0x4472a8=this[_0x560c93(0x29a)][_0x560c93(0x272)]())==null?void 0x0:_0x4472a8[_0x560c93(0x29e)];if(!_0x3c0b78)return;const _0xc13618=this[_0x560c93(0x2a5)]();if(!_0xc13618)return;this[_0x560c93(0x2f5)][_0x560c93(0x2b5)](_0xdbd2d7=>{const _0x48dc65=_0x560c93;_0xdbd2d7[_0x48dc65(0x188)]();});const {scene:_0x15d9d2}=_0xc13618,_0x20d0ef=xi(Array[_0x560c93(0x341)](_0xafafaf['values']()))['map'](_0x13f27a=>{const _0x312f41=_0x560c93,{color:_0x52f77f,range:_0x2f6108,name:_0x410668,selection:_0x57360c,sheetID:_0x9cac7}=_0x13f27a,{startColumn:_0x19e071,startRow:_0x570acd,endColumn:_0x4025f7,endRow:_0x22ebca}=_0x2f6108,_0x5b210b=_0x2efb09(_0x570acd,_0x19e071,_0x15d9d2,_0x3c0b78),_0x3badaa=_0x2efb09(_0x22ebca,_0x4025f7,_0x15d9d2,_0x3c0b78),{columnHeaderHeightAndMarginTop:_0x18eee2}=_0x3c0b78,{startX:_0x4b392f,startY:_0xb52c6d}=_0x5b210b,{endX:_0x14e3f0,endY:_0x3d9b2b}=_0x3badaa,_0x3e087f=_0x14e3f0-_0x4b392f,_0x2ec4de=_0x3d9b2b-_0xb52c6d,_0x40cec9={'labelPosition':_0xb52c6d-_0x18eee2>=ee?_0x312f41(0x2c8):_0x312f41(0x16c),'sheetID':_0x9cac7,'range':_0x2f6108,'color':_0x52f77f,'name':_0x410668,'selection':_0x57360c,'left':_0x4b392f,'top':_0xb52c6d,'width':_0x3e087f,'height':_0x2ec4de,'evented':!0x1,'zIndex':$i};return new Li(_0x410668,_0x40cec9);});_0x15d9d2[_0x560c93(0x214)](_0x20d0ef,wi),this[_0x560c93(0x2f5)]=new Set(_0x20d0ef);}['_removeCollabCursors'](){const _0x448567=_0x69e053;var _0x5f595f;(_0x5f595f=this['_cursors'])==null||_0x5f595f[_0x448567(0x2b5)](_0x5603c0=>_0x5603c0[_0x448567(0x2d4)]());}[_0x69e053(0x2a5)](){return _0x461c8d(this['_context']['unit'],this['_context']);}};Pe=yi([ve(0x1,_0x1edcbc(_0xa14f88)),ve(0x2,_0x1edcbc(H)),ve(0x3,_0x1edcbc(_0x669f82))],Pe);function xi(_0x2a0742){const _0x1248ef=_0x69e053,_0x238b3f=new Map();return _0x2a0742[_0x1248ef(0x2b5)](_0x18822a=>{const _0xc35c44=_0x1248ef;if(_0x238b3f[_0xc35c44(0x289)](_0x18822a[_0xc35c44(0x2ec)])){const _0x2277e2=_0x238b3f[_0xc35c44(0x2a0)](_0x18822a[_0xc35c44(0x2ec)]);_0x2277e2['name']+=',\x20'+_0x18822a[_0xc35c44(0x338)];}else _0x238b3f['set'](_0x18822a[_0xc35c44(0x2ec)],_0x18822a);}),Array[_0x1248ef(0x341)](_0x238b3f[_0x1248ef(0x25b)]());}var v=function(){const _0x323005=_0x69e053;return v=Object[_0x323005(0x278)]||function(_0x3a8681){const _0x3df1fd=_0x323005;for(var _0x52fc82,_0x2dff1b=0x1,_0x59d0e9=arguments[_0x3df1fd(0x306)];_0x2dff1b<_0x59d0e9;_0x2dff1b++){_0x52fc82=arguments[_0x2dff1b];for(var _0x32c00f in _0x52fc82)Object[_0x3df1fd(0x200)][_0x3df1fd(0x25c)]['call'](_0x52fc82,_0x32c00f)&&(_0x3a8681[_0x32c00f]=_0x52fc82[_0x32c00f]);}return _0x3a8681;},v['apply'](this,arguments);},Bi=function(_0x4dd70b,_0x2c5cfe){const _0x127fb0=_0x69e053;var _0x395975={};for(var _0x68e85e in _0x4dd70b)Object[_0x127fb0(0x200)][_0x127fb0(0x25c)][_0x127fb0(0x1d9)](_0x4dd70b,_0x68e85e)&&_0x2c5cfe[_0x127fb0(0x263)](_0x68e85e)<0x0&&(_0x395975[_0x68e85e]=_0x4dd70b[_0x68e85e]);if(_0x4dd70b!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x1ab9d3=0x0,_0x68e85e=Object[_0x127fb0(0x192)](_0x4dd70b);_0x1ab9d3<_0x68e85e['length'];_0x1ab9d3++)_0x2c5cfe[_0x127fb0(0x263)](_0x68e85e[_0x1ab9d3])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x4dd70b,_0x68e85e[_0x1ab9d3])&&(_0x395975[_0x68e85e[_0x1ab9d3]]=_0x4dd70b[_0x68e85e[_0x1ab9d3]]);}return _0x395975;},je=_0x4f8fed(function(_0x38c511,_0x2ac0a2){const _0x30598f=_0x69e053;var _0x16fcc7=_0x38c511[_0x30598f(0x333)],_0x41de81=_0x38c511['id'],_0x56cca3=_0x38c511[_0x30598f(0x318)],_0x24207b=_0x38c511[_0x30598f(0x220)],_0x2e8f1a=Bi(_0x38c511,['icon','id',_0x30598f(0x318),_0x30598f(0x220)]),_0xbb9c50=_0x30598f(0x239)[_0x30598f(0x21f)](_0x41de81,'\x20')[_0x30598f(0x21f)](_0x56cca3||'')['trim'](),_0x31dbb4=_0x13e355('_'[_0x30598f(0x21f)](ji()));return Rt(_0x16fcc7,''[_0x30598f(0x21f)](_0x41de81),{'defIds':_0x16fcc7[_0x30598f(0x2eb)],'idSuffix':_0x31dbb4[_0x30598f(0x24f)]},v({'ref':_0x2ac0a2,'className':_0xbb9c50},_0x2e8f1a),_0x24207b);});function Rt(_0x2e2365,_0x31ad57,_0x7b915d,_0x198c7a,_0x1d9be2){const _0x1fd9f4=_0x69e053;return _0x567240(_0x2e2365[_0x1fd9f4(0x2a8)],v(v({'key':_0x31ad57},ki(_0x2e2365,_0x7b915d,_0x1d9be2)),_0x198c7a),(Hi(_0x2e2365,_0x7b915d)['children']||[])[_0x1fd9f4(0x2b7)](function(_0x147cb9,_0x4acceb){const _0x6bd6f9=_0x1fd9f4;return Rt(_0x147cb9,''[_0x6bd6f9(0x21f)](_0x31ad57,'-')['concat'](_0x2e2365['tag'],'-')[_0x6bd6f9(0x21f)](_0x4acceb),_0x7b915d,void 0x0,_0x1d9be2);}));}function ki(_0x6f5f50,_0x56c187,_0x332fd3){const _0x595b0a=_0x69e053;var _0x3b0fae=v({},_0x6f5f50[_0x595b0a(0x1e1)]);_0x332fd3!=null&&_0x332fd3[_0x595b0a(0x2f0)]&&_0x3b0fae[_0x595b0a(0x284)]==='colorChannel1'&&(_0x3b0fae[_0x595b0a(0x284)]=_0x332fd3[_0x595b0a(0x2f0)]),_0x6f5f50[_0x595b0a(0x2a8)]===_0x595b0a(0x1d7)&&_0x3b0fae['id']&&(_0x3b0fae['id']=_0x3b0fae['id']+_0x56c187['idSuffix']),Object[_0x595b0a(0x34d)](_0x3b0fae)[_0x595b0a(0x2b5)](function(_0x326e4f){const _0x3ac33d=_0x595b0a;var _0x1316f0=_0x326e4f[0x0],_0x318de0=_0x326e4f[0x1];_0x1316f0===_0x3ac33d(0x1d7)&&typeof _0x318de0==_0x3ac33d(0x21b)&&(_0x3b0fae[_0x1316f0]=_0x318de0[_0x3ac33d(0x31c)](/url\(#(.*)\)/,_0x3ac33d(0x1a4)['concat'](_0x56c187[_0x3ac33d(0x358)],')')));});var _0x3cf7b3=_0x56c187[_0x595b0a(0x2eb)];return!_0x3cf7b3||_0x3cf7b3[_0x595b0a(0x306)]===0x0||(_0x6f5f50[_0x595b0a(0x2a8)]===_0x595b0a(0x271)&&_0x3b0fae[_0x595b0a(0x256)]&&(_0x3b0fae[_0x595b0a(0x256)]=_0x3b0fae[_0x595b0a(0x256)]+_0x56c187[_0x595b0a(0x358)]),Object[_0x595b0a(0x34d)](_0x3b0fae)['forEach'](function(_0x446bd7){const _0x430b82=_0x595b0a;var _0x10a148=_0x446bd7[0x0],_0x502229=_0x446bd7[0x1];typeof _0x502229==_0x430b82(0x21b)&&(_0x3b0fae[_0x10a148]=_0x502229[_0x430b82(0x31c)](/url\(#(.*)\)/,'url(#$1'[_0x430b82(0x21f)](_0x56c187['idSuffix'],')')));})),_0x3b0fae;}function Hi(_0x4b3d7f,_0x1f33e4){const _0x9178e=_0x69e053;var _0x4dc356,_0x1a46b4=_0x1f33e4['defIds'];return!_0x1a46b4||_0x1a46b4[_0x9178e(0x306)]===0x0?_0x4b3d7f:_0x4b3d7f[_0x9178e(0x2a8)]===_0x9178e(0x23a)&&(!((_0x4dc356=_0x4b3d7f[_0x9178e(0x16b)])===null||_0x4dc356===void 0x0)&&_0x4dc356[_0x9178e(0x306)])?v(v({},_0x4b3d7f),{'children':_0x4b3d7f[_0x9178e(0x16b)][_0x9178e(0x2b7)](function(_0x22ec9a){const _0x56d13b=_0x9178e;return typeof _0x22ec9a[_0x56d13b(0x1e1)]['id']==_0x56d13b(0x21b)&&_0x1a46b4&&_0x1a46b4[_0x56d13b(0x16a)](_0x22ec9a['attrs']['id'])?v(v({},_0x22ec9a),{'attrs':v(v({},_0x22ec9a[_0x56d13b(0x1e1)]),{'id':_0x22ec9a[_0x56d13b(0x1e1)]['id']+_0x1f33e4[_0x56d13b(0x358)]})}):_0x22ec9a;})}):_0x4b3d7f;}function ji(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}je[_0x69e053(0x2f8)]=_0x69e053(0x34b);var Yi={'tag':_0x69e053(0x20e),'attrs':{'xmlns':_0x69e053(0x267),'fill':_0x69e053(0x159),'viewBox':_0x69e053(0x2a9),'width':_0x69e053(0x22c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x69e053(0x15f)},'children':[{'tag':_0x69e053(0x2ea),'attrs':{'stroke':_0x69e053(0x2ad),'d':_0x69e053(0x2ab),'strokeLinecap':_0x69e053(0x1ab),'strokeLinejoin':_0x69e053(0x1ab),'strokeWidth':1.2}}]},{'tag':_0x69e053(0x23a),'attrs':{},'children':[{'tag':_0x69e053(0x2ce),'attrs':{'id':_0x69e053(0x231)},'children':[{'tag':_0x69e053(0x2ea),'attrs':{'fill':_0x69e053(0x14f),'d':_0x69e053(0x329)}}]}]}],'defIds':[_0x69e053(0x231)]},Dt=_0x4f8fed(function(_0xa1bb46,_0x38abab){const _0x15cd76=_0x69e053;return _0x567240(je,Object['assign']({},_0xa1bb46,{'id':_0x15cd76(0x34a),'ref':_0x38abab,'icon':Yi}));});Dt[_0x69e053(0x2f8)]='OffLineIcon';var Fi={'tag':'svg','attrs':{'xmlns':_0x69e053(0x267),'fill':_0x69e053(0x159),'viewBox':_0x69e053(0x315),'width':_0x69e053(0x22c),'height':_0x69e053(0x22c)},'children':[{'tag':'g','attrs':{'clipPath':_0x69e053(0x2b1)},'children':[{'tag':_0x69e053(0x2ea),'attrs':{'stroke':_0x69e053(0x2ad),'d':_0x69e053(0x2b9),'strokeLinecap':_0x69e053(0x1ab),'strokeLinejoin':_0x69e053(0x1ab),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x69e053(0x2ce),'attrs':{'id':_0x69e053(0x2cb)},'children':[{'tag':_0x69e053(0x2ea),'attrs':{'fill':_0x69e053(0x14f),'d':'M0\x200H16V16H0z','transform':_0x69e053(0x196)}}]}]}],'defIds':[_0x69e053(0x2cb)]},Nt=_0x4f8fed(function(_0x4436e0,_0x3e785d){const _0x53ad48=_0x69e053;return _0x567240(je,Object[_0x53ad48(0x278)]({},_0x4436e0,{'id':'on-line-icon','ref':_0x3e785d,'icon':Fi}));});Nt['displayName']=_0x69e053(0x305);function Wi(_0x324681){const _0x3c36e2=_0x69e053;switch(_0x324681){case _0x2c5ad0['OFFLINE']:return'collabStatus.offline';case _0x2c5ad0[_0x3c36e2(0x176)]:return _0x3c36e2(0x1fa);case _0x2c5ad0['FETCH_MISS']:return _0x3c36e2(0x2c7);case _0x2c5ad0['NOT_COLLAB']:return _0x3c36e2(0x22a);case _0x2c5ad0[_0x3c36e2(0x1cd)]:case _0x2c5ad0[_0x3c36e2(0x2a4)]:return _0x3c36e2(0x1f4);case _0x2c5ad0[_0x3c36e2(0x32b)]:case _0x2c5ad0[_0x3c36e2(0x2d6)]:return _0x3c36e2(0x34f);}}function Vi(_0x4aff99){const _0x2bcb9c=_0x69e053,{status$:_0x120312}=_0x4aff99,_0x384912=_0x5211a7(_0x120312,_0x2c5ad0[_0x2bcb9c(0x1ef)]),_0x481319=_0x4d6731(_0x7c2e8c),_0x5e3dca=_0x4d6731(_0x544921),_0x2f5fb1=_0x384912!==_0x2c5ad0[_0x2bcb9c(0x1bd)],_0x5b5a34=_0x481319['t'](Wi(_0x384912)),_0x2e57b6=_0x2f5fb1?_0x130579(Nt,{}):_0x130579(Dt,{}),_0x429bdb=_0x18a898(()=>{const _0x35cf3f=_0x2bcb9c;_0x2f5fb1||_0x5e3dca[_0x35cf3f(0x157)]();},[_0x2f5fb1,_0x5e3dca]);function _0x3977f7(){const _0x57f833=_0x2bcb9c;return _0x55e4d8('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x429bdb,'children':[_0x130579('div',{'className':_0x25b0bb(_0x57f833(0x317),{'univer-text-green-500':_0x2f5fb1,'univer-text-red-500':!_0x2f5fb1}),'children':_0x2e57b6}),_0x130579(_0x57f833(0x17d),{'className':_0x57f833(0x240),'children':_0x5b5a34})]});}return _0x2f5fb1?_0x3977f7():_0x130579(_0x30c09d,{'title':_0x481319['t'](_0x2bcb9c(0x206)),'children':_0x3977f7()});}var Xi=Object[_0x69e053(0x221)],Gi=(_0x564122,_0x872c21,_0x298b11,_0x2b1301)=>{const _0xa5bfdc=_0x69e053;for(var _0x5f4f0d=_0x2b1301>0x1?void 0x0:_0x2b1301?Xi(_0x872c21,_0x298b11):_0x872c21,_0x451011=_0x564122[_0xa5bfdc(0x306)]-0x1,_0x153b5e;_0x451011>=0x0;_0x451011--)(_0x153b5e=_0x564122[_0x451011])&&(_0x5f4f0d=_0x153b5e(_0x5f4f0d)||_0x5f4f0d);return _0x5f4f0d;},Q=(_0x33161b,_0x258d03)=>(_0x1d6867,_0x321902)=>_0x258d03(_0x1d6867,_0x321902,_0x33161b);let te=class extends _0x404876{constructor(_0x4de84d,_0x171a07,_0x5a275d,_0x68a1a5){const _0x154198=_0x69e053;super(),_(this,'_status$',new _0x69ec1c(_0x2c5ad0[_0x154198(0x1ef)])),(this[_0x154198(0x30a)]=_0x4de84d,this[_0x154198(0x248)]=_0x171a07,this[_0x154198(0x194)]=_0x5a275d,this[_0x154198(0x273)]=_0x68a1a5,this[_0x154198(0x173)](),this[_0x154198(0x336)]());}[_0x69e053(0x336)](){const _0x2e7535=_0x69e053;this[_0x2e7535(0x18c)](this[_0x2e7535(0x30a)]['focused$']['pipe'](_0x60c435(()=>{const _0x1ef458=_0x2e7535,_0x29b741=this[_0x1ef458(0x30a)][_0x1ef458(0x348)]();return _0x29b741?this['_collaborationController'][_0x1ef458(0x1d1)](_0x29b741['getUnitId']()):_0xd879b8(null);}),_0x60c435(_0x528248=>_0x528248?_0x528248[_0x2e7535(0x257)]:_0xd879b8(_0x2c5ad0[_0x2e7535(0x1ef)])))['subscribe'](_0x360d50=>{const _0x11d959=_0x2e7535;this[_0x11d959(0x218)][_0x11d959(0x309)](_0x360d50);}));}[_0x69e053(0x173)](){const _0x3e48b8=_0x69e053;this['disposeWithMe'](this['_uiPartsService'][_0x3e48b8(0x28c)](_0x4cf15d['HEADER_MENU'],()=>_0x5cc765(Ki({'status$':this[_0x3e48b8(0x218)]['asObservable']()}),this[_0x3e48b8(0x248)])));}};te=Gi([Q(0x0,_0x72afad),Q(0x1,_0x1edcbc(_0x30157b)),Q(0x2,_0x1edcbc(_0x226cfe)),Q(0x3,_0x17e2dc)],te);function Ki(_0x4b95b6){const {status$:_0x5287d8}=_0x4b95b6;return function(){return _0x130579(Vi,{'status$':_0x5287d8});};}var zi=Object['getOwnPropertyDescriptor'],Ji=(_0x44d548,_0x1ea1ec,_0x5ee2ad,_0x405915)=>{const _0x1abcfb=_0x69e053;for(var _0x556886=_0x405915>0x1?void 0x0:_0x405915?zi(_0x1ea1ec,_0x5ee2ad):_0x1ea1ec,_0x185cab=_0x44d548[_0x1abcfb(0x306)]-0x1,_0x3c6563;_0x185cab>=0x0;_0x185cab--)(_0x3c6563=_0x44d548[_0x185cab])&&(_0x556886=_0x3c6563(_0x556886)||_0x556886);return _0x556886;},B=(_0x3b6fe3,_0x46955b)=>(_0xaae7c5,_0x47a29f)=>_0x46955b(_0xaae7c5,_0x47a29f,_0x3b6fe3);let se=class extends _0x404876{constructor(_0x5289b4,_0x47bf8e,_0x12140f,_0x26a30d,_0x191da7,_0x3a30e0){const _0x2d077a=_0x69e053;super(),this['_beforeCloseService']=_0x5289b4,this[_0x2d077a(0x20f)]=_0x47bf8e,this[_0x2d077a(0x2a1)]=_0x12140f,this[_0x2d077a(0x2d3)]=_0x26a30d,this[_0x2d077a(0x26d)]=_0x191da7,this[_0x2d077a(0x193)]=_0x3a30e0,this[_0x2d077a(0x27c)](),this[_0x2d077a(0x313)]();}[_0x69e053(0x27c)](){const _0x6d8deb=_0x69e053;this[_0x6d8deb(0x18c)](this[_0x6d8deb(0x2d9)]['registerBeforeClose'](()=>{const _0x545b4c=_0x6d8deb;if(this[_0x545b4c(0x20f)][_0x545b4c(0x1c4)][_0x545b4c(0x266)])return this[_0x545b4c(0x193)]['t'](_0x545b4c(0x178));}));}[_0x69e053(0x313)](){const _0x5f08a6=_0x69e053;this[_0x5f08a6(0x18c)](this[_0x5f08a6(0x2a1)][_0x5f08a6(0x1a3)][_0x5f08a6(0x20d)](_0x20f83e=>{const _0x54eb96=_0x5f08a6;_0x20f83e['id']===_0x17f4d0['OTHER_CLIENT_EDITING']&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x2f6)],'content':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x2aa))}),_0x20f83e['id']===_0x17f4d0['CLOSE_ROOM']&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x2f6)],'content':this['_localeService']['t'](_0x54eb96(0x2f9))}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x156)]&&this['_notificationService'][_0x54eb96(0x1d5)]({'title':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x160)),'content':this[_0x54eb96(0x193)]['t']('permission.content'),'type':_0x54eb96(0x216),'duration':0x0}),_0x20f83e['id']===_0x17f4d0['CONFLICT']&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x25e)],'content':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x2f9))+'('+_0x20f83e[_0x54eb96(0x1ea)]+')'}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x20a)]&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x2f6)],'content':this[_0x54eb96(0x193)]['t'](_0x20f83e[_0x54eb96(0x1ea)]||'')}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x181)]&&this[_0x54eb96(0x2d3)]['show']({'type':_0x585ede[_0x54eb96(0x2f6)],'content':this[_0x54eb96(0x193)]['t']('session.will-retry')}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x2c5)]&&this[_0x54eb96(0x2d3)][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x25e)],'content':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x324))}),_0x20f83e['id']===_0x17f4d0[_0x54eb96(0x179)]&&this['_messageService'][_0x54eb96(0x1d5)]({'type':_0x585ede[_0x54eb96(0x25e)],'content':this[_0x54eb96(0x193)]['t'](_0x54eb96(0x1f2))});}));}};se=Ji([B(0x0,_0x3aca32),B(0x1,_0x25f3f0),B(0x2,_0x1edcbc(_0xae6817)),B(0x3,_0x4d61bb),B(0x4,_0x5b6f74),B(0x5,_0x1edcbc(_0x7c2e8c))],se);const Zi=_0x69e053(0x1d3),et={},Ut=_0x30c947(_0x69e053(0x30f));var Qi=Object['getOwnPropertyDescriptor'],qi=(_0x334619,_0x2017fe,_0x1b31aa,_0x3d840c)=>{const _0x1effd6=_0x69e053;for(var _0x1e2fc0=_0x3d840c>0x1?void 0x0:_0x3d840c?Qi(_0x2017fe,_0x1b31aa):_0x2017fe,_0xb542c=_0x334619[_0x1effd6(0x306)]-0x1,_0x5362e5;_0xb542c>=0x0;_0xb542c--)(_0x5362e5=_0x334619[_0xb542c])&&(_0x1e2fc0=_0x5362e5(_0x1e2fc0)||_0x1e2fc0);return _0x1e2fc0;},G=(_0x114ad5,_0x41a75b)=>(_0x41c025,_0x31e7c6)=>_0x41a75b(_0x41c025,_0x31e7c6,_0x114ad5);let ie=class extends _0x2e9bdd{constructor(_0x5b1295,_0x58664e,_0x21613b,_0x1ccf20,_0x1ac008){const _0x58def2=_0x69e053;super(),this['_urlService']=_0x5b1295,this[_0x58def2(0x2d0)]=_0x58664e,this[_0x58def2(0x2fd)]=_0x21613b,this[_0x58def2(0x275)]=_0x1ccf20,_0x1ac008?_0x1ac008==null||_0x1ac008['whenReady']()[_0x58def2(0x15a)](()=>this[_0x58def2(0x344)]()):(this[_0x58def2(0x2d0)][_0x58def2(0x2f3)](_0x58def2(0x1fd),_0x58def2(0x28a)),this[_0x58def2(0x344)]());}async[_0x69e053(0x344)](){const _0x2d8d81=_0x69e053,_0x4b0fd9=this[_0x2d8d81(0x2fb)][_0x2d8d81(0x33d)](_0x2d8d81(0x16e)),_0xd5139b=this['_urlService']['getParam'](_0x2d8d81(0x241)),_0x54a36f=this[_0x2d8d81(0x2fb)][_0x2d8d81(0x33d)](_0x2d8d81(0x22e));if(!_0x4b0fd9||!_0xd5139b){this['_logService'][_0x2d8d81(0x2f3)](_0x2d8d81(0x1fd),_0x2d8d81(0x25d));return;}const _0x2d7c0a=await this[_0x2d8d81(0x275)][_0x2d8d81(0x30d)](_0x4b0fd9,Number(_0xd5139b),_0x54a36f);_0x2d7c0a&&_0x2d7c0a instanceof _0x5c97a8&&this[_0x2d8d81(0x1aa)](_0x2d7c0a);}async['_setupSubUnitSync'](_0x259805){const _0x510d96=_0x69e053;await this[_0x510d96(0x255)](_0x259805),_0x259805[_0x510d96(0x2e1)][_0x510d96(0x21d)](_0x44ca8(this[_0x510d96(0x347)]))['subscribe'](_0x1b19c9=>{const _0x1be9c7=_0x510d96;_0x1b19c9&&this[_0x1be9c7(0x1c8)](_0x1b19c9);}),this[_0x510d96(0x2fb)]['urlChange$'][_0x510d96(0x21d)](_0x44ca8(this[_0x510d96(0x347)]))[_0x510d96(0x20d)](()=>this['_updateSubUnitFromURLParams'](_0x259805));}[_0x69e053(0x1c8)](_0x39e153,_0x6e03f7=!0x1){const _0x15c646=_0x69e053,_0x4e89c1=this[_0x15c646(0x2fb)][_0x15c646(0x33d)](_0x15c646(0x22e));_0x39e153['getSheetId']()!==_0x4e89c1&&this[_0x15c646(0x2fb)][_0x15c646(0x18a)](_0x15c646(0x22e),_0x39e153[_0x15c646(0x226)](),_0x6e03f7);}async[_0x69e053(0x255)](_0x407e0f){const _0x11057a=_0x69e053;var _0x32fb63;const _0xd85834=this[_0x11057a(0x2fb)][_0x11057a(0x33d)](_0x11057a(0x22e));if(!_0xd85834||!_0x407e0f[_0x11057a(0x158)](_0xd85834)){const _0x4c5d52=_0x407e0f['getUnhiddenWorksheets']()[0x0],_0x35c62c=_0x407e0f[_0x11057a(0x158)](_0x4c5d52);if(!_0x35c62c)return;this['_updateURLWithCurrentState'](_0x35c62c,!0x0),await this[_0x11057a(0x2fd)]['executeCommand'](_0x26159f['id'],{'unitId':_0x407e0f['getUnitId'](),'subUnitId':_0x4c5d52});return;}((_0x32fb63=_0x407e0f['getActiveSheet']())==null?void 0x0:_0x32fb63[_0x11057a(0x226)]())!==_0xd85834&&await this[_0x11057a(0x2fd)]['executeCommand'](_0x26159f['id'],{'unitId':_0x407e0f[_0x11057a(0x213)](),'subUnitId':_0xd85834});}};ie=qi([G(0x0,Ut),G(0x1,_0x501a2f),G(0x2,_0x2bd5c6),G(0x3,_0x1edcbc(_0x2186e2)),G(0x4,_0x166217(_0x3bfd4b))],ie);var en=Object[_0x69e053(0x221)],tn=(_0x3e44fd,_0x59e251,_0x5b7e0b,_0x297bc9)=>{const _0x122b8c=_0x69e053;for(var _0x56a053=_0x297bc9>0x1?void 0x0:_0x297bc9?en(_0x59e251,_0x5b7e0b):_0x59e251,_0x486dab=_0x3e44fd[_0x122b8c(0x306)]-0x1,_0x12ba94;_0x486dab>=0x0;_0x486dab--)(_0x12ba94=_0x3e44fd[_0x486dab])&&(_0x56a053=_0x12ba94(_0x56a053)||_0x56a053);return _0x56a053;},pe=(_0x2892c7,_0x346382)=>(_0x26a080,_0x31e06f)=>_0x346382(_0x26a080,_0x31e06f,_0x2892c7);let ne=class{constructor(_0x2cbfe7,_0x3ea270,_0x21e010){this['_injector']=_0x2cbfe7,this['_transformService']=_0x3ea270,this['_renderManagerService']=_0x21e010;}[_0x69e053(0x223)](_0x3d28fe){const _0x2c37fc=_0x69e053;this[_0x2c37fc(0x1eb)](_0x3d28fe),this[_0x2c37fc(0x254)](_0x3d28fe);}[_0x69e053(0x1c6)](_0x4f98ce){const _0xc0d20b=_0x69e053,{unitID:_0x36eded}=_0x4f98ce,_0x5c6391=this[_0xc0d20b(0x302)][_0xc0d20b(0x190)](_0x36eded)[_0xc0d20b(0x28b)](_0x40ad3c),{redoCache:_0x29b1ae}=_0x5c6391['getUndoRedoMutationParamsCache']();if(_0x29b1ae[_0xc0d20b(0x306)]===0x0)return _0x4f98ce;let _0x325de3=_0x469588[_0xc0d20b(0x17f)](_0x4f98ce[_0xc0d20b(0x282)][0x0]);for(let _0x29597f=0x0;_0x29597f<_0x29b1ae['length'];_0x29597f++){const _0x556d01={'id':_0xc0d20b(0x163),'params':{..._0x29b1ae[_0x29597f]}},_0x4ca053=this[_0xc0d20b(0x247)][_0xc0d20b(0x19e)](_0x325de3,_0x556d01,!0x1);if(_0x472ce9(_0x4ca053))throw _0x4ca053['error'];_0x325de3=_0x4ca053[_0xc0d20b(0x291)];}return{..._0x469588[_0xc0d20b(0x17f)](_0x4f98ce),'mutations':[_0x325de3]};}['_transformUndoRedoStack'](_0x426a14){const _0x46e3a9=_0x69e053,{unitID:_0x56ed66}=_0x426a14,_0x3d1624=this[_0x46e3a9(0x302)][_0x46e3a9(0x190)](_0x56ed66)[_0x46e3a9(0x28b)](_0x40ad3c),{undoCache:_0x23aff9,redoCache:_0x5ef4e2}=_0x3d1624[_0x46e3a9(0x335)]();if(_0x23aff9[_0x46e3a9(0x306)]===0x0||_0x5ef4e2[_0x46e3a9(0x306)]===0x0)return;const _0x632dfc=[],_0x57c2bf=[];let _0x7118be=_0x469588[_0x46e3a9(0x17f)](_0x426a14[_0x46e3a9(0x282)][0x0]),_0x50993f=_0x469588[_0x46e3a9(0x17f)](_0x426a14['mutations'][0x0]);for(let _0x3b2217=_0x23aff9[_0x46e3a9(0x306)]-0x1;_0x3b2217>=0x0;_0x3b2217--){const _0x2f4455={'id':_0x46e3a9(0x163),'params':{..._0x23aff9[_0x3b2217]}},_0x128aed={'id':_0x46e3a9(0x163),'params':{..._0x5ef4e2[_0x3b2217]}},_0x51c468=this[_0x46e3a9(0x247)][_0x46e3a9(0x19e)](_0x7118be,_0x2f4455,!0x1),_0x48d9c3=this[_0x46e3a9(0x247)][_0x46e3a9(0x19e)](_0x50993f,_0x128aed,!0x1);if(_0x472ce9(_0x51c468))throw _0x51c468[_0x46e3a9(0x216)];if(_0x472ce9(_0x48d9c3))throw _0x48d9c3[_0x46e3a9(0x216)];_0x632dfc['unshift'](_0x51c468[_0x46e3a9(0x2f7)][_0x46e3a9(0x210)]),_0x57c2bf[_0x46e3a9(0x31e)](_0x48d9c3[_0x46e3a9(0x2f7)][_0x46e3a9(0x210)]),_0x7118be=_0x51c468[_0x46e3a9(0x291)],_0x50993f=_0x48d9c3[_0x46e3a9(0x291)];}_0x3d1624['setUndoRedoMutationParamsCache']({'undoCache':_0x632dfc,'redoCache':_0x57c2bf});}[_0x69e053(0x254)](_0x1f5a65){const _0x4c8a91=_0x69e053,{unitID:_0x1d8cd8}=_0x1f5a65,_0x204fb2=this[_0x4c8a91(0x302)][_0x4c8a91(0x190)](_0x1d8cd8)[_0x4c8a91(0x28b)](_0x40ad3c),_0xe6409d=_0x204fb2[_0x4c8a91(0x33c)]();if(_0xe6409d==null)return;const _0xaf6e53=[{'id':_0x4c8a91(0x163),'params':{'unitId':_0x1f5a65[_0x4c8a91(0x319)],'actions':null,'textRanges':[_0xe6409d]}}],_0x2d2459=this[_0x4c8a91(0x247)][_0x4c8a91(0x1b3)](_0x1f5a65,_0xaf6e53);if(!_0x3f31fc(_0x2d2459))throw _0x2d2459[_0x4c8a91(0x216)];const _0x4c4390=_0x2d2459['m2Prime'][0x0][_0x4c8a91(0x210)]['textRanges'];Array[_0x4c8a91(0x227)](_0x4c4390)&&_0x4c4390[_0x4c8a91(0x306)]&&_0x204fb2[_0x4c8a91(0x201)](_0x4c4390[0x0]);}};ne=tn([pe(0x0,_0x1edcbc(_0x30157b)),pe(0x1,_0x50f90f),pe(0x2,_0x364408)],ne);var sn=Object[_0x69e053(0x221)],nn=(_0x513aee,_0x1b314f,_0x391691,_0x20ba5d)=>{const _0xaccee=_0x69e053;for(var _0x48d3f7=_0x20ba5d>0x1?void 0x0:_0x20ba5d?sn(_0x1b314f,_0x391691):_0x1b314f,_0x561aed=_0x513aee[_0xaccee(0x306)]-0x1,_0x859e15;_0x561aed>=0x0;_0x561aed--)(_0x859e15=_0x513aee[_0x561aed])&&(_0x48d3f7=_0x859e15(_0x48d3f7)||_0x48d3f7);return _0x48d3f7;},Ce=(_0x4aade9,_0x5e6b1e)=>(_0x25bcec,_0x5d7558)=>_0x5e6b1e(_0x25bcec,_0x5d7558,_0x4aade9);let re=class{constructor(_0xa1d77,_0x1755d7,_0x24e3ee){const _0x47ee4b=_0x69e053;this[_0x47ee4b(0x248)]=_0xa1d77,this[_0x47ee4b(0x247)]=_0x1755d7,this['_docStateChangeManagerService']=_0x24e3ee;}['transformStateCache'](_0x1cba6a){const _0x1c9b10=_0x69e053;this[_0x1c9b10(0x232)](_0x1cba6a);}[_0x69e053(0x1c6)](_0x49b454){const _0xea4429=_0x69e053,{unitID:_0x5415bc}=_0x49b454,{collaboration:_0x3c16f7}=this[_0xea4429(0x197)][_0xea4429(0x27e)](_0x5415bc);if(_0x3c16f7[_0xea4429(0x306)]===0x0)return _0x49b454;let _0x50e861=_0x469588[_0xea4429(0x17f)](_0x49b454[_0xea4429(0x282)][0x0]);for(let _0x1e18ba=0x0;_0x1e18ba<_0x3c16f7[_0xea4429(0x306)];_0x1e18ba++){const _0x109d9e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3c16f7[_0x1e18ba][_0xea4429(0x228)],..._0x3c16f7[_0x1e18ba][_0xea4429(0x2b0)]}},_0x5bd64=this[_0xea4429(0x247)][_0xea4429(0x19e)](_0x50e861,_0x109d9e,!0x1);if(_0x472ce9(_0x5bd64))throw _0x5bd64[_0xea4429(0x216)];_0x50e861=_0x5bd64['m1Prime'];}return{..._0x469588[_0xea4429(0x17f)](_0x49b454),'mutations':[_0x50e861]};}[_0x69e053(0x232)](_0x419011){const _0x2984e1=_0x69e053,{unitID:_0x383f17}=_0x419011,{history:_0x3293f1,collaboration:_0x1538bf}=this[_0x2984e1(0x197)][_0x2984e1(0x27e)](_0x383f17);if(_0x3293f1[_0x2984e1(0x306)]===0x0&&_0x1538bf[_0x2984e1(0x306)]===0x0)return;const _0x1f8d75=[],_0x13a10a=[];let _0x2e5278=_0x469588['deepClone'](_0x419011[_0x2984e1(0x282)][0x0]),_0x985b8b=_0x469588[_0x2984e1(0x17f)](_0x419011[_0x2984e1(0x282)][0x0]);for(let _0x25bab0=_0x3293f1[_0x2984e1(0x306)]-0x1;_0x25bab0>=0x0;_0x25bab0--){const _0x4c31a8={'id':_0x2984e1(0x163),'params':{'unitId':_0x3293f1[_0x25bab0][_0x2984e1(0x228)],..._0x3293f1[_0x25bab0]['undoState']}},_0x246a2b={'id':_0x2984e1(0x163),'params':{'unitId':_0x3293f1[_0x25bab0][_0x2984e1(0x228)],..._0x3293f1[_0x25bab0]['redoState']}},_0x2bf0c5=this['_transformService'][_0x2984e1(0x19e)](_0x2e5278,_0x4c31a8,!0x1),_0x2785b5=this['_transformService'][_0x2984e1(0x19e)](_0x985b8b,_0x246a2b,!0x1);if(_0x472ce9(_0x2bf0c5))throw _0x2bf0c5['error'];if(_0x472ce9(_0x2785b5))throw _0x2785b5['error'];_0x1f8d75[_0x2984e1(0x31e)]({..._0x3293f1[_0x25bab0],'undoState':_0x2bf0c5[_0x2984e1(0x2f7)][_0x2984e1(0x210)],'redoState':_0x2785b5[_0x2984e1(0x2f7)][_0x2984e1(0x210)]}),_0x2e5278=_0x2bf0c5[_0x2984e1(0x291)],_0x985b8b=_0x2785b5[_0x2984e1(0x291)];}_0x2e5278=_0x469588[_0x2984e1(0x17f)](_0x419011['mutations'][0x0]),_0x985b8b=_0x469588['deepClone'](_0x419011[_0x2984e1(0x282)][0x0]);for(let _0x32d876=_0x1538bf[_0x2984e1(0x306)]-0x1;_0x32d876>=0x0;_0x32d876--){const _0x5cec92={'id':_0x2984e1(0x163),'params':{'unitId':_0x1538bf[_0x32d876][_0x2984e1(0x228)],..._0x1538bf[_0x32d876]['undoState']}},_0x30d72d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1538bf[_0x32d876][_0x2984e1(0x228)],..._0x1538bf[_0x32d876][_0x2984e1(0x2b0)]}},_0x4cbcd2=this[_0x2984e1(0x247)][_0x2984e1(0x19e)](_0x2e5278,_0x5cec92,!0x1),_0x21c195=this['_transformService'][_0x2984e1(0x19e)](_0x985b8b,_0x30d72d,!0x1);if(_0x472ce9(_0x4cbcd2))throw _0x4cbcd2[_0x2984e1(0x216)];if(_0x472ce9(_0x21c195))throw _0x21c195[_0x2984e1(0x216)];_0x13a10a[_0x2984e1(0x31e)]({..._0x1538bf[_0x32d876],'undoState':_0x4cbcd2['m2Prime'][_0x2984e1(0x210)],'redoState':_0x21c195[_0x2984e1(0x2f7)][_0x2984e1(0x210)]}),_0x2e5278=_0x4cbcd2['m1Prime'],_0x985b8b=_0x21c195['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x383f17,{'history':_0x1f8d75,'collaboration':_0x13a10a});}};re=nn([Ce(0x0,_0x1edcbc(_0x30157b)),Ce(0x1,_0x50f90f),Ce(0x2,_0x1edcbc(_0x4204ce))],re);var rn=Object[_0x69e053(0x221)],on=(_0x276966,_0x5ba050,_0x16e100,_0x5e2cde)=>{const _0x3dd91a=_0x69e053;for(var _0x344184=_0x5e2cde>0x1?void 0x0:_0x5e2cde?rn(_0x5ba050,_0x16e100):_0x5ba050,_0x2936c8=_0x276966[_0x3dd91a(0x306)]-0x1,_0x578625;_0x2936c8>=0x0;_0x2936c8--)(_0x578625=_0x276966[_0x2936c8])&&(_0x344184=_0x578625(_0x344184)||_0x344184);return _0x344184;},tt=(_0x51349e,_0x3f43d6)=>(_0x1ac126,_0x56ecb1)=>_0x3f43d6(_0x1ac126,_0x56ecb1,_0x51349e);let oe=class{constructor(_0x35a222,_0x3e330d){const _0x4ccf6b=_0x69e053;this[_0x4ccf6b(0x248)]=_0x35a222,this[_0x4ccf6b(0x247)]=_0x3e330d;}['transformSelections'](_0x53bce6){const _0x3159ee=_0x69e053;var _0x2b0b21;const _0xace7f1=this[_0x3159ee(0x248)]['get'](_0x3bfb9b),_0x1b8916=(_0x2b0b21=_0xace7f1[_0x3159ee(0x161)]())!=null?_0x2b0b21:[];if(_0x1b8916[_0x3159ee(0x306)]===0x0)return;const _0x5d799f=_0x53bce6[_0x3159ee(0x319)],_0x11698e=[{'id':_0x3159ee(0x163),'params':{'unitId':_0x5d799f,'actions':null,'textRanges':_0x1b8916}}],_0x208ea4=this['_transformService'][_0x3159ee(0x1b3)](_0x53bce6,_0x11698e);if(!_0x3f31fc(_0x208ea4))throw _0x208ea4['error'];const _0x33ddca=_0x208ea4[_0x3159ee(0x2f7)][0x0][_0x3159ee(0x210)][_0x3159ee(0x307)];Array['isArray'](_0x33ddca)&&_0x33ddca[_0x3159ee(0x306)]&&_0xace7f1['replaceDocRanges'](_0x33ddca,{'unitId':_0x5d799f,'subUnitId':_0x5d799f},!0x1);}};oe=on([tt(0x0,_0x1edcbc(_0x30157b)),tt(0x1,_0x50f90f)],oe);var an=Object[_0x69e053(0x221)],cn=(_0x343c78,_0x46d9b7,_0x2a2d8a,_0x3f8d80)=>{for(var _0x195b76=_0x3f8d80>0x1?void 0x0:_0x3f8d80?an(_0x46d9b7,_0x2a2d8a):_0x46d9b7,_0x3b8fe7=_0x343c78['length']-0x1,_0x2bd588;_0x3b8fe7>=0x0;_0x3b8fe7--)(_0x2bd588=_0x343c78[_0x3b8fe7])&&(_0x195b76=_0x2bd588(_0x195b76)||_0x195b76);return _0x195b76;},U=(_0x10bae1,_0x332c00)=>(_0x2ec969,_0x16db65)=>_0x332c00(_0x2ec969,_0x16db65,_0x10bae1);function _0xc62b(){const _0x403d03=['sheetId','tag','0\x200\x2016\x2016','collaboration.single-unit.warning','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','YUUMI_SUBSCRIPTION_NOT_FOUND','currentColor','_context','_hovered','redoState','url(#on-line-icon_clip0_910_349)','_docTransformSelectionsService','sessionTicket','_imageIoService','forEach','_handleLeaveEvent','map','_startSheetCollabCursor','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','LICENSE_EXPORT_SIZE_EXCEEDED','setConfig','selections','YUUMI_ASYNCIO_CANCELLED','_instanceService','body','_draw','collabCursorState$','symbol','_unitOnClients','wsSessionTicketUrl','SOCKET_FAILED','_onCursorUpdate','collabStatus.fetchMiss','top','_entities','override','on-line-icon_clip0_910_349','UPDATE_CURSOR','invokeId','clipPath','ENSURE_SNAPSHOT_EXECUTION','_logService','getCellPositionByOffset','getVpScrollXYInfoByPosToVp','_messageService','dispose','_drawTextRange','PENDING','TEXT','LICENSE_IMPORT_SIZE_EXCEEDED','_beforeCloseService','_saveCache','resize','drawWith','FromArray','_memberService','_handleHover','text','activeSheet$','DeleteRangeMoveLeftCommandId','find','getTypeOfUnitDisposed$','subUnitId','UNRECOGNIZED','set','cursorInfo','APPLY_DUPLICATED','path','defIds','selection','_heartbeatTimer','253CSsVlP','getMemberID','colorChannel1','_color','_session','debug','_backgroundColor','_cursors','Warning','m2Prime','displayName','collaboration.closeRoom','generateRandomId','_urlService','onPointerMove$','_commandService','_clearOtherTimers','20330DSFCDP','color','arc','_renderManagerService','defineProperty','ranges','OnLineIcon','length','textRanges','15072ghMIwC','next','_univerInstanceService','COMPLETION_FINISHED','3284533tjudAg','loadUnit','searchParams','uni.network.url-service','_initDependencies','height','transformSelections','_initEvent','YUUMI_NO_CUBOID_FOR_QUESTION','0\x200\x2017\x2016','send','univer-mr-2\x20univer-flex\x20univer-text-xl','className','unitID','asObservable','40IWEgvb','replace','blue.400','unshift','_removeCollabCursors','column','eventID','_initCommandExecutedListener','replaceState','session.connection-failed','MOBILE_HAS_BEEN_BOUND','_removeClearOtherTimer','_drawRectRange','collab-text-anchor-','M0\x200H16V16H0z','restore','SYNCED','_range','_scheduleHeartbeat','engine','onCommandExecuted','Failed','_createSocketURL','InsertColCommandId','icon','startColumn','getUndoRedoMutationParamsCache','_initStatusListener','_handleEvent','name','origin','NOT_FOUND','126diTufh','getActiveRange','getParam','complete','_startDocCollabCursor','NO_OTHER_CLIENTS_EDITING','from','INVALID_INVITE_CODE','APPLY_REJECT','_init','font','runOnServer','dispose$','getFocusedUnit','getUniverSheetInstance','off-line-icon','UniverIcon','_labelPosition','entries','code','collabStatus.synced','_scheduleSaving','hovered','1485JsnXaX','UNDEFINED','_id','_cursorShapes','getValue','red.300','idSuffix','startsWith','range','white','beginPath','_cachedData','WECHAT_HAS_BEEN_BOUND','clearInterval','onTransformChange$','_localStorageService','PERMISSION_DENIED','reconnect','getSheetBySheetId','none','then','getOffsetConfig','registerRenderModule','_send','_docSkeletonManagerService','url(#off-line-icon_clip0_910_343)','permission.title','getDocRanges','onPointerEnter$','doc.mutation.rich-text-editing','_roomMembers$','isActive','all','_anchorDot','disableLocalCache','_assignedColors','includes','children','bottom','lineTo','unit','_colorIndex','newValue','OTHER_CLIENTS_EDITING','getSkeleton','_initStatusComponent','findNodePositionByCharIndex','INVITE_CODE_REQUIRED','CONFLICT','LICENSE_MAX_UNITS_EXCEEDED','collaboration-client.offline-data-not-saved','SUBMIT_CHANGESET_TIMEOUT','toRgbString','_textBubble','_cursor','div','backgroundColor','deepClone','_getScale','SOCKET_FAILED_RETRY','InsertRangeMoveDownCommandId','clearTimeout','assignAColorForMemberID','add','actions','YUUMI_TABLE_NOT_FOUND_IN_UNIT','makeDirty','_refreshCollabCursors','setParam','getMergeData','disposeWithMe','triggerDblclick','key','black','getRenderById','_initEntityListener','getOwnPropertySymbols','_localeService','_collaborationController','getMember','translate(.97)','_docStateChangeManagerService','fillText','_config','_document','hide','exhaustSavingTask','USERS_LEAVE','transformMutation','onPointerLeave$','_docSyncEditingCollabCursorService','_updateCollabCursors','fillStyle','event$','url(#$1','push','saveOfflineData','YUUMI_RATE_OVER_LIMIT','ALREADY_EXISTS','endRow','_setupSubUnitSync','round','requireSession','452BWfHGu','urlChange$','transformByState','YUUMI_URL_COL_OUT_OF_RANGE','_getMergeRange','_docClipboardService','transformMutationsWithChangeset','rgba(255,\x20255,\x20255,\x200.01)','toString','disposeUnit','_themeService','memberID','loadOfflineData','createSocket','pluginName','_docTransformStateCacheService','OFFLINE','getTypeOfUnitAdded$','getCurrentSelections','getCollabCursors$','split','_disabled','_selfUnitIDs','saveTaskMap','_name','transformRemoteChangeset','_drawAnchor','_updateURLWithCurrentState','createInstance','_anchor','evenodd','transformStateCache','AWAITING','transform','TOO_MANY_REQUESTS','unload','getCollabEntity$','labelPosition','collaboration-client-ui.config','history','show','flatMap','mask','CONNECTOR_DATA_TOO_LARGE','call','getViewport','_render','RemoveColCommandId','_syncEditingCollabCursorService','getUnitStatus$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collab-text-range-','attrs','SNAPSHOT_INVALID_SNAPSHOT','some','init','_toggleOnline','ticket','82KnXkIE','_configService','onRendered','data','_transformUndoRedoStack','onLocalMutation','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_lastPointer','NOT_COLLAB','enableLocalCache','href','session.collaboration-timeout','registerRefRange','collabStatus.syncing','UNIVER_DOC','_updateLocalCursor','setShapeProps','sessionStatus$','CHANGESET_REVISION_CONFILICT','collabStatus.conflict','_scheduleClearOtherTimer','INVITE_CODE_ALREADY_BOUND','[CollaborationDataLoaderController]','getItem','_refRangeService','prototype','setActiveRange','_getSessionTicket','getRelativeToViewportCoord','INTERNAL_ERROR','startRow','collab-client.tooltip.reconnect','SNAPSHOT_HAS_BEEN_REMOVED','isEditing','_cursorInfo$','JOIN_ROOM_FAILED','delete','UNIVER_SHEET','subscribe','svg','_localCacheService','params','setAlpha','moveTo','getUnitId','addObjects','...','error','APPLY_REVISION_CONFILICT','_status$','_docTransformIMECacheService','_toggleOffline','string','MoveRangeCommandId','pipe','_unitStatus','concat','extend','getOwnPropertyDescriptor','application/json','transformIMECache','roomMembers','getConfig','getSheetId','isArray','unitId','jiqing.500','collabStatus.notCollab','_onCursorDelete','1em','location','subunit','_docSkeleton','getRangePointData','off-line-icon_clip0_910_343','_transformHistoryAndStateStack','PY_RUNTIME_SCRIPT_ERROR','DeleteRangeMoveUpCommandId','roomMembers$','fillRule','max','_collabCursorController','univerjs-icon\x20univerjs-icon-','defs','446274WVwlin','width','_entityInit$','sheetID','row','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','type','onMouseMove','addClipboardHook','_eventUnsubscribe','_ensureSubject','measureText','_transformService','_injector','pushState','currentSkeleton$','_collabCursorState$','min','_registerDependencies','updateOfflineData','current','getColorFromTheme','LOGIN_FAILED','removeParam','getActiveSheet','_transformPreviousActiveRange','_updateSubUnitFromURLParams','xlink:href','status$','getAncestorScale','APPLY_NON_SEQUENTIAL_REVISION','ACTIVE_UNIT_EVENT_CHANNEL','values','hasOwnProperty','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Error','post','_hover','_saveTaskMap','entityInit$','indexOf','_onRefRangeChange','getCurrentRevOfUnit','size','http://www.w3.org/2000/svg','_colorAssignService','MUTATION','Unknown\x20user','runId','_scene','_notificationService','450rrqLBz','USER_NOT_INVITED_CODE','addObject','use','getCurrent','_uiPartsService','_hideTimer','_dataLoaderService','editingUnit','_httpService','assign','_registerRenderDependencies','_initResize','purple.300','_setupBeforeClosingHandler','APPLY_PERMISSION_DENIED','getStateCache','InsertRowCommandId','#FFF','YUUMI_ALL_TABLES_IS_INVALID','mutations','onStarting','fill','setItem','10532304bvhIMb','subscribeEvent','EMAIL_HAS_BEEN_BOUND','has','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','with','registerComponent','RemoveRowCommandId','ONLINE','cursorInfo$','setTimeout','m1Prime','_shapes','_handleJoinEvent','YUUMI_UNABLE_LOAD_URL','YUUMI_AI_RUN_FAILED','RECT','syncEditingCollabCursor','save','currentTheme$','_sheetSkeletonManagerService','LICENSE_DISTRO_REJECTED','INVITE_CODE_HAS_BEEN_UES','INVALID_ARGUMENT','skeleton','UNAUTHENTICATED','get','_collaborationUIEventService','_handleHeartbeatEvent','collab-rect-range-','AWAITING_WITH_PENDING','_getSheetObject','_online'];_0xc62b=function(){return _0x403d03;};return _0xc62b();}let ae=class extends _0x404876{constructor(_0x420c48,_0x5f3224,_0x321b04,_0x3331b2,_0x555d4a,_0x1c6687,_0xc0e121,_0x44cdc4){const _0x14b66d=_0x69e053;super(),_(this,_0x14b66d(0x218),new _0x69ec1c(_0x2c5ad0[_0x14b66d(0x1ef)])),(this[_0x14b66d(0x197)]=_0x420c48,this[_0x14b66d(0x194)]=_0x5f3224,this[_0x14b66d(0x219)]=_0x321b04,this['_docTransformStateCacheService']=_0x3331b2,this[_0x14b66d(0x2b2)]=_0x555d4a,this[_0x14b66d(0x1a0)]=_0x1c6687,this[_0x14b66d(0x2d3)]=_0xc0e121,this['_localeService']=_0x44cdc4,this[_0x14b66d(0x191)]());}[_0x69e053(0x191)](){const _0x50ba0a=_0x69e053;this[_0x50ba0a(0x18c)](this['_collaborationController'][_0x50ba0a(0x262)][_0x50ba0a(0x20d)](_0x40f02d=>{const _0x2f702b=_0x50ba0a,_0x25e009=this[_0x2f702b(0x197)]['docStateChange$'][_0x2f702b(0x20d)](_0x4b6d7a=>{const _0x3de02d=_0x2f702b;if(_0x4b6d7a==null)return;const {unitId:_0x2d1cd1,redoState:_0x50dfc9,commandId:_0xc6e2bd}=_0x4b6d7a;if(_0x2d1cd1!==_0x40f02d[_0x3de02d(0x319)])return;const _0x34be10={'id':_0xc6e2bd,'type':_0x326183[_0x3de02d(0x269)],'params':{'unitId':_0x2d1cd1,'actions':_0x50dfc9[_0x3de02d(0x186)],'textRanges':null}};_0x40f02d[_0x3de02d(0x1ec)](_0x34be10);});if(_0x40f02d[_0x2f702b(0x18c)](_0x25e009),_0x40f02d instanceof _0x4dd820){const _0x585821={'onTransformIME':_0x44db53=>this[_0x2f702b(0x219)][_0x2f702b(0x223)](_0x44db53),'onTransformState':_0x285d6e=>this['_docTransformStateCacheService'][_0x2f702b(0x1cc)](_0x285d6e),'onTransformSelections':_0x57986d=>this[_0x2f702b(0x2b2)][_0x2f702b(0x312)](_0x57986d),'onSyncEditingCollabCursor':_0x4309c7=>this['_docSyncEditingCollabCursorService'][_0x2f702b(0x297)](_0x4309c7),'onTransformRemoteChangesetByIMECache':_0xccd202=>this[_0x2f702b(0x219)]['transformRemoteChangeset'](_0xccd202),'onTransformRemoteChangesetByStateCache':_0x25e481=>this[_0x2f702b(0x1bc)][_0x2f702b(0x1c6)](_0x25e481)};_0x40f02d['addHandlerCallback'](_0x585821);}}));}};ae=cn([U(0x0,_0x1edcbc(_0x4204ce)),U(0x1,_0x1edcbc(_0x226cfe)),U(0x2,_0x1edcbc(ne)),U(0x3,_0x1edcbc(re)),U(0x4,_0x1edcbc(oe)),U(0x5,_0x1edcbc(He)),U(0x6,_0x4d61bb),U(0x7,_0x1edcbc(_0x7c2e8c))],ae);var ln=Object[_0x69e053(0x221)],_n=(_0x5b9034,_0x3f4a2a,_0x48e380,_0x3ca32b)=>{const _0x579bc0=_0x69e053;for(var _0x1ec30b=_0x3ca32b>0x1?void 0x0:_0x3ca32b?ln(_0x3f4a2a,_0x48e380):_0x3f4a2a,_0x11ade5=_0x5b9034[_0x579bc0(0x306)]-0x1,_0x21f5ef;_0x11ade5>=0x0;_0x11ade5--)(_0x21f5ef=_0x5b9034[_0x11ade5])&&(_0x1ec30b=_0x21f5ef(_0x1ec30b)||_0x1ec30b);return _0x1ec30b;},Ee=(_0x22cfe9,_0x1f3033)=>(_0x468eee,_0x549cae)=>_0x1f3033(_0x468eee,_0x549cae,_0x22cfe9);let Le=class extends _0x404876{constructor(_0x4a92d1,_0x55dad7,_0x1753c6){const _0x32d243=_0x69e053;super(),_(this,_0x32d243(0x151),new Map()),_(this,_0x32d243(0x261),new Map()),_(this,_0x32d243(0x1c2),!0x1),(this[_0x32d243(0x1e8)]=_0x4a92d1,this[_0x32d243(0x155)]=_0x55dad7,this['_revisionService']=_0x1753c6);}[_0x69e053(0x168)](){const _0x257e6c=_0x69e053;this[_0x257e6c(0x1c2)]=!0x0;}[_0x69e053(0x1f0)](){const _0x27abae=_0x69e053;this[_0x27abae(0x1c2)]=!0x1;}get[_0x69e053(0x1c4)](){const _0x47ccb0=_0x69e053;return this[_0x47ccb0(0x261)];}[_0x69e053(0x2d4)](){const _0x3a5318=_0x69e053;this[_0x3a5318(0x19c)]()['then'](()=>super[_0x3a5318(0x2d4)]());}async[_0x69e053(0x1b9)](_0x5587ab){const _0x18c840=_0x69e053;return this[_0x18c840(0x1c2)]?null:this[_0x18c840(0x155)][_0x18c840(0x1fe)](_0x4d1854(_0x5587ab));}async[_0x69e053(0x1a6)](_0x2c53a0,_0x3cf166){const _0x1559c3=_0x69e053;return!!this[_0x1559c3(0x155)][_0x1559c3(0x285)](_0x2c53a0,_0x3cf166);}[_0x69e053(0x24e)](_0x45649b,_0x392d97,_0x14b9e0,_0x2f76d3){const _0x581c69=_0x69e053,_0x34797a=this['_revisionService'][_0x581c69(0x265)](_0x45649b);this['_cachedData']['set'](_0x45649b,{'unitID':_0x45649b,'type':_0x392d97,'awaitingChangeset':_0x14b9e0,'mutations':_0x2f76d3,'rev':_0x34797a}),this[_0x581c69(0x261)]['has'](_0x45649b)||this[_0x581c69(0x350)](_0x45649b);}['_scheduleSaving'](_0x4703eb){const _0x4a5d32=_0x69e053,_0x1abc5a=this['_getSaveTimeout']();_0x1abc5a===0x0?this[_0x4a5d32(0x2da)](_0x4703eb):this[_0x4a5d32(0x261)][_0x4a5d32(0x2e7)](_0x4703eb,setTimeout(()=>this['_saveCache'](_0x4703eb),_0x1abc5a));}['_getSaveTimeout'](){const _0x391b1c=_0x69e053;var _0x386230;return(_0x386230=this[_0x391b1c(0x1e8)]['getConfig'](_0xa37187))!=null?_0x386230:_0x1fa765;}[_0x69e053(0x2da)](_0x1d3928){const _0x11b1ca=_0x69e053,_0x1ff83d=this[_0x11b1ca(0x261)][_0x11b1ca(0x2a0)](_0x1d3928);return _0x1ff83d!==void 0x0&&window[_0x11b1ca(0x183)](_0x1ff83d),this[_0x11b1ca(0x155)]['setItem'](_0x4d1854(_0x1d3928),this[_0x11b1ca(0x151)][_0x11b1ca(0x2a0)](_0x1d3928))[_0x11b1ca(0x15a)](()=>this[_0x11b1ca(0x261)][_0x11b1ca(0x20b)](_0x1d3928));}async[_0x69e053(0x19c)](){const _0x18caa9=_0x69e053,_0x1b2d84=[];this[_0x18caa9(0x261)][_0x18caa9(0x2b5)]((_0x537705,_0xf13559)=>{const _0x883dbf=_0x18caa9;window[_0x883dbf(0x183)](_0x537705),_0x1b2d84['push'](this[_0x883dbf(0x2da)](_0xf13559)['then'](()=>{const _0x428613=_0x883dbf;this[_0x428613(0x261)][_0x428613(0x20b)](_0xf13559);}));}),await Promise[_0x18caa9(0x166)](_0x1b2d84);}};Le=_n([Ee(0x0,_0x4c46e3),Ee(0x1,_0x324daf),Ee(0x2,_0x1edcbc(_0x55dc2e))],Le);class hn extends _0x2e9bdd{constructor(){const _0x331110=_0x69e053;super(),_(this,_0x331110(0x1ae)),this[_0x331110(0x1ae)]=_0x1b944e(window,'popstate')[_0x331110(0x21d)](_0x44ca8(this['dispose$']),_0x345a65(0x1),_0x37148e(void 0x0));}[_0x69e053(0x18a)](_0x5d5fcd,_0x3eff51,_0x20a193=!0x1){const _0x290b03=_0x69e053,_0x1104af=new URL(window[_0x290b03(0x22d)][_0x290b03(0x1f1)]);_0x1104af['searchParams'][_0x290b03(0x2e7)](_0x5d5fcd,_0x3eff51),_0x20a193?window[_0x290b03(0x1d4)][_0x290b03(0x323)]('','',_0x1104af['toString']()):window[_0x290b03(0x1d4)][_0x290b03(0x249)]('','',_0x1104af[_0x290b03(0x1b5)]());}[_0x69e053(0x252)](_0x29d187,_0x1107b0=!0x1){const _0x3763cf=_0x69e053,_0x264abf=new URL(window[_0x3763cf(0x22d)][_0x3763cf(0x1f1)]);_0x264abf[_0x3763cf(0x30e)][_0x3763cf(0x20b)](_0x29d187),_0x1107b0?window['history'][_0x3763cf(0x323)]('','',_0x264abf[_0x3763cf(0x1b5)]()):window[_0x3763cf(0x1d4)]['pushState']('','',_0x264abf[_0x3763cf(0x1b5)]());}['getParam'](_0x1474e0){const _0x1f2f1b=_0x69e053;var _0x2b7a10;return(_0x2b7a10=new URL(window['location']['href'])[_0x1f2f1b(0x30e)]['get'](_0x1474e0))!=null?_0x2b7a10:void 0x0;}}var un=Object['defineProperty'],dn=Object['getOwnPropertyDescriptor'],fn=(_0x3e6731,_0x3c923b,_0x1b0e7c)=>_0x3c923b in _0x3e6731?un(_0x3e6731,_0x3c923b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1b0e7c}):_0x3e6731[_0x3c923b]=_0x1b0e7c,Sn=(_0x18a979,_0x2edfcb,_0xaac4d9,_0x2a1134)=>{const _0x482119=_0x69e053;for(var _0x5689fe=_0x2a1134>0x1?void 0x0:_0x2a1134?dn(_0x2edfcb,_0xaac4d9):_0x2edfcb,_0x37ab61=_0x18a979[_0x482119(0x306)]-0x1,_0x2e9f94;_0x37ab61>=0x0;_0x37ab61--)(_0x2e9f94=_0x18a979[_0x37ab61])&&(_0x5689fe=_0x2e9f94(_0x5689fe)||_0x5689fe);return _0x5689fe;},Oe=(_0x569148,_0x2af74f)=>(_0x56f69d,_0x2110f7)=>_0x2af74f(_0x56f69d,_0x2110f7,_0x569148),mn=(_0x484a8c,_0x291e7b,_0x51b17d)=>fn(_0x484a8c,_0x291e7b+'',_0x51b17d);const In='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ae=class extends _0x29f8cb{constructor(_0x5a643d=et,_0x2ec57f,_0x4579b1,_0x5cf0db){const _0x569c7c=_0x69e053;super(),this['_config']=_0x5a643d,this['_renderManagerService']=_0x2ec57f,this[_0x569c7c(0x248)]=_0x4579b1,this['_configService']=_0x5cf0db;const {..._0x2f48af}=_0x5a8922({},et,this[_0x569c7c(0x199)]);this[_0x569c7c(0x1e8)][_0x569c7c(0x2bb)](Zi,_0x2f48af);}[_0x69e053(0x283)](){const _0x1e240c=_0x69e053;this[_0x1e240c(0x24d)](),this[_0x1e240c(0x310)]();}[_0x69e053(0x1e9)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x48f908=_0x69e053;var _0x463ebe;const _0x56e243=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0xfcca70,{'useClass':_0x4a7658}],[_0x25f3f0,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x3c1be9(this[_0x48f908(0x248)],_0x268866(_0x56e243,(_0x463ebe=this['_config'])==null?void 0x0:_0x463ebe[_0x48f908(0x2ca)]));}[_0x69e053(0x279)](){const _0x31bf14=_0x69e053;this[_0x31bf14(0x18c)](this[_0x31bf14(0x302)][_0x31bf14(0x15c)](_0xb39e56[_0x31bf14(0x1f5)],[we])),this[_0x31bf14(0x18c)](this[_0x31bf14(0x302)]['registerRenderModule'](_0xb39e56[_0x31bf14(0x20c)],[Pe]));}[_0x69e053(0x310)](){_0x4e6fb0(this['_injector'],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,_0x69e053(0x1bb),In),Ae=Sn([_0x10f61f(_0x3084ce),Oe(0x1,_0x364408),Oe(0x2,_0x1edcbc(_0x30157b)),Oe(0x3,_0x4c46e3)],Ae);var gn=Object['getOwnPropertyDescriptor'],vn=(_0x2c7dd1,_0x81eb24,_0x43fa4b,_0x2cb5e7)=>{for(var _0x35e4fd=_0x2cb5e7>0x1?void 0x0:_0x2cb5e7?gn(_0x81eb24,_0x43fa4b):_0x81eb24,_0xe2ac82=_0x2c7dd1['length']-0x1,_0x41b844;_0xe2ac82>=0x0;_0xe2ac82--)(_0x41b844=_0x2c7dd1[_0xe2ac82])&&(_0x35e4fd=_0x41b844(_0x35e4fd)||_0x35e4fd);return _0x35e4fd;},K=(_0x1e73d2,_0x591bf5)=>(_0x117184,_0x338f95)=>_0x591bf5(_0x117184,_0x338f95,_0x1e73d2);let st=class extends _0x441d7a{constructor(_0x32c674,_0x325572,_0xf613b3,_0x1138bf,_0xa6921b){super(_0x32c674,_0x325572,_0xf613b3,_0x1138bf,_0xa6921b);}async[_0x69e053(0x1ba)](_0x517c87){const _0x4576c9=_0x69e053,_0xada789=await this['_getSessionTicket'](),_0x9e98a5=this[_0x4576c9(0x331)](_0x517c87,_0xada789);return this['_doCreateSocket'](_0x9e98a5);}['_createSocketURL'](_0x299806,_0x2be28f){const _0x22968e=_0x69e053,_0x23e5a5=typeof window>'u'?new URL(_0x299806):new URL(_0x299806,window['location'][_0x22968e(0x339)]);_0x23e5a5[_0x22968e(0x30e)][_0x22968e(0x2e7)](_0x22968e(0x2b3),_0x2be28f);const _0x8ac6df=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x8ac6df['get'](_0x22968e(0x26b))&&_0x23e5a5[_0x22968e(0x30e)]['set'](_0x22968e(0x26b),_0x8ac6df[_0x22968e(0x2a0)](_0x22968e(0x26b))),_0x23e5a5[_0x22968e(0x1b5)]();}async[_0x69e053(0x202)](){const _0x518e61=_0x69e053;var _0x25aefa,_0x3424bf,_0x87e106;const _0x41e0f7=this['_configService']['getConfig'](_0x3801a2),_0x22a15a=(_0x25aefa=_0x41e0f7==null?void 0x0:_0x41e0f7[_0x518e61(0x2c4)])!=null?_0x25aefa:_0x40221c;return(_0x87e106=(_0x3424bf=(await this[_0x518e61(0x277)]['get'](_0x22a15a,{'headers':{'Content-Type':_0x518e61(0x222)}}))[_0x518e61(0x2bf)])==null?void 0x0:_0x3424bf[_0x518e61(0x1e6)])!=null?_0x87e106:'';}};st=vn([K(0x0,_0x1edcbc(_0x30157b)),K(0x1,_0x1edcbc(_0x3f722f)),K(0x2,_0x4c46e3),K(0x3,_0x501a2f),K(0x4,_0x5bd623)],st);const it=0x7530,nt=_0x69e053(0x25a);class jn extends _0x404876{constructor(){const _0x2ae5c5=_0x69e053;super(),_(this,'_id',_0x301c9e()),_(this,_0x2ae5c5(0x1c3),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x2ae5c5(0x2ed),null),_(this,_0x2ae5c5(0x2fe),new Map()),_(this,_0x2ae5c5(0x21e),new Map()),this[_0x2ae5c5(0x344)]();}['dispose'](){const _0x5d66dc=_0x69e053;super['dispose'](),this[_0x5d66dc(0x2fe)]['forEach']((_0x4b2519,_0x40bdd9)=>this['_removeClearOtherTimer'](_0x40bdd9)),this[_0x5d66dc(0x2ed)]&&window[_0x5d66dc(0x153)](this[_0x5d66dc(0x2ed)]);}[_0x69e053(0x1de)](_0x523716){const _0x5d6440=_0x69e053;return this[_0x5d6440(0x245)](_0x523716)[_0x5d6440(0x21d)](_0x3814c9());}[_0x69e053(0x276)](_0x33b2b9){const _0x3d968e=_0x69e053;this['_selfUnitIDs'][_0x3d968e(0x266)]===0x0&&this[_0x3d968e(0x32d)](),this['_selfUnitIDs']['add'](_0x33b2b9),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x33b2b9],'isForwarded':!0x1});}[_0x69e053(0x1b6)](_0x360ace){const _0x19a85c=_0x69e053;this[_0x19a85c(0x1c3)]['delete'](_0x360ace),this[_0x19a85c(0x1c3)][_0x19a85c(0x266)]===0x0&&this[_0x19a85c(0x2ed)]&&window[_0x19a85c(0x153)](this['_heartbeatTimer']);}[_0x69e053(0x344)](){const _0x293b64=_0x69e053;this['disposeWithMe'](_0x35e3cc(_0x1b944e(window,'storage')['subscribe'](_0x4037fa=>{const _0x4d8246=_0x2094;if(_0x4037fa[_0x4d8246(0x18e)]!==nt||!_0x4037fa[_0x4d8246(0x170)])return;const _0x5a5a9c=JSON['parse'](_0x4037fa[_0x4d8246(0x170)]);this[_0x4d8246(0x337)](_0x5a5a9c);}))),window['addEventListener'](_0x293b64(0x1d0),()=>this['_send']({'type':0x1,'memberID':this[_0x293b64(0x354)],'unitIDs':Array[_0x293b64(0x341)](this['_selfUnitIDs'])}));}[_0x69e053(0x337)](_0x40d68d){const _0x533d81=_0x69e053;switch(_0x40d68d[_0x533d81(0x241)]){case 0x0:this[_0x533d81(0x293)](_0x40d68d);break;case 0x1:this[_0x533d81(0x2b6)](_0x40d68d);break;case 0x2:this[_0x533d81(0x2a2)](_0x40d68d);break;}}[_0x69e053(0x293)](_0x137f44){const _0x2a795d=_0x69e053,{unitIDs:_0x413d12,memberID:_0x34e0c5,isForwarded:_0x4d665}=_0x137f44;_0x413d12[_0x2a795d(0x2b5)](_0x5e1031=>{const _0x2ab1fd=_0x2a795d;if(!_0x4d665&&this[_0x2ab1fd(0x2c3)][_0x2ab1fd(0x289)](_0x5e1031)&&this[_0x2ab1fd(0x245)](_0x5e1031)[_0x2ab1fd(0x309)](_0x14fa32[_0x2ab1fd(0x171)]),!this[_0x2ab1fd(0x2c3)][_0x2ab1fd(0x289)](_0x5e1031)||!this[_0x2ab1fd(0x2c3)][_0x2ab1fd(0x2a0)](_0x5e1031)[_0x2ab1fd(0x289)](_0x34e0c5)){const _0x3a7ff7=this[_0x2ab1fd(0x2c3)][_0x2ab1fd(0x2a0)](_0x5e1031)||new Set();_0x3a7ff7[_0x2ab1fd(0x185)](_0x34e0c5),this[_0x2ab1fd(0x2c3)]['set'](_0x5e1031,_0x3a7ff7),this[_0x2ab1fd(0x1fb)](_0x34e0c5);}}),_0x4d665||this[_0x2a795d(0x15d)]({'type':0x0,'memberID':this[_0x2a795d(0x354)],'unitIDs':[...this[_0x2a795d(0x1c3)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x39dbc8){const _0x59b109=_0x69e053;this['_removeClearOtherTimer'](_0x39dbc8);const _0x1990c=window[_0x59b109(0x290)](()=>{const _0x14963f=_0x59b109;this[_0x14963f(0x2c3)][_0x14963f(0x2b5)](_0x272ade=>{const _0x328335=_0x14963f;_0x272ade[_0x328335(0x20b)](_0x39dbc8);});},it*0x2);this['_clearOtherTimers'][_0x59b109(0x2e7)](_0x39dbc8,_0x1990c);}[_0x69e053(0x326)](_0x12b83d){const _0x3652c4=_0x69e053;if(this['_clearOtherTimers']['has'](_0x12b83d)){const _0x44adf4=this['_clearOtherTimers'][_0x3652c4(0x2a0)](_0x12b83d);_0x44adf4&&window[_0x3652c4(0x183)](_0x44adf4),this['_clearOtherTimers'][_0x3652c4(0x2e7)](_0x12b83d,null);}}[_0x69e053(0x2b6)](_0x12276d){const _0x163679=_0x69e053,{memberID:_0x850be3,unitIDs:_0x14166c}=_0x12276d;_0x14166c[_0x163679(0x2b5)](_0x1eb9d8=>{const _0x17b31a=_0x163679;var _0x184d87;const _0x17ab3b=this[_0x17b31a(0x2c3)]['get'](_0x1eb9d8);_0x17ab3b&&(_0x17ab3b[_0x17b31a(0x20b)](_0x850be3),(_0x184d87=this['_ensureSubject'](_0x1eb9d8))==null||_0x184d87[_0x17b31a(0x309)](_0x17ab3b[_0x17b31a(0x266)]===0x0?_0x14fa32['NO_OTHER_CLIENTS_EDITING']:_0x14fa32[_0x17b31a(0x171)]));}),this['_removeClearOtherTimer'](_0x850be3);}[_0x69e053(0x2a2)](_0x4d8ee4){const _0x1ac2e7=_0x69e053;this['_scheduleClearOtherTimer'](_0x4d8ee4[_0x1ac2e7(0x1b8)]);}[_0x69e053(0x15d)](_0xc57bbb){const _0x5b3ced=_0x69e053;localStorage[_0x5b3ced(0x285)](nt,JSON['stringify'](_0xc57bbb));}[_0x69e053(0x32d)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x4ba248=_0x2094;this[_0x4ba248(0x15d)]({'type':0x2,'memberID':this[_0x4ba248(0x354)]});},it);}[_0x69e053(0x245)](_0x3c2c0d){const _0xebbafc=_0x69e053;return this[_0xebbafc(0x21e)][_0xebbafc(0x289)](_0x3c2c0d)||this['_unitStatus'][_0xebbafc(0x2e7)](_0x3c2c0d,new _0x69ec1c(_0x14fa32[_0xebbafc(0x340)])),this[_0xebbafc(0x21e)][_0xebbafc(0x2a0)](_0x3c2c0d);}}var Mt=(_0x5c47ea=>(_0x5c47ea[_0x5c47ea[_0x69e053(0x353)]=0x0]=_0x69e053(0x353),_0x5c47ea[_0x5c47ea['OK']=0x1]='OK',_0x5c47ea[_0x5c47ea[_0x69e053(0x204)]=0x2]=_0x69e053(0x204),_0x5c47ea[_0x5c47ea[_0x69e053(0x156)]=0x3]=_0x69e053(0x156),_0x5c47ea[_0x5c47ea[_0x69e053(0x33a)]=0x4]=_0x69e053(0x33a),_0x5c47ea[_0x5c47ea[_0x69e053(0x29f)]=0x5]=_0x69e053(0x29f),_0x5c47ea[_0x5c47ea[_0x69e053(0x1a8)]=0x6]=_0x69e053(0x1a8),_0x5c47ea[_0x5c47ea[_0x69e053(0x29d)]=0x7]='INVALID_ARGUMENT',_0x5c47ea[_0x5c47ea['TOO_MANY_REQUESTS']=0x8]=_0x69e053(0x1cf),_0x5c47ea[_0x5c47ea[_0x69e053(0x30b)]=0x9]=_0x69e053(0x30b),_0x5c47ea[_0x5c47ea[_0x69e053(0x251)]=0xa]='LOGIN_FAILED',_0x5c47ea[_0x5c47ea['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x69e053(0x1f9),_0x5c47ea[_0x5c47ea[_0x69e053(0x1e2)]=0x1771]=_0x69e053(0x1e2),_0x5c47ea[_0x5c47ea[_0x69e053(0x207)]=0x1772]=_0x69e053(0x207),_0x5c47ea[_0x5c47ea[_0x69e053(0x2cf)]=0x1773]=_0x69e053(0x2cf),_0x5c47ea[_0x5c47ea[_0x69e053(0x343)]=0x1b59]=_0x69e053(0x343),_0x5c47ea[_0x5c47ea['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x69e053(0x259),_0x5c47ea[_0x5c47ea[_0x69e053(0x217)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5c47ea[_0x5c47ea['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x69e053(0x27d),_0x5c47ea[_0x5c47ea[_0x69e053(0x2e9)]=0x1b5d]=_0x69e053(0x2e9),_0x5c47ea[_0x5c47ea['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x69e053(0x1d8),_0x5c47ea[_0x5c47ea[_0x69e053(0x177)]=0x2329]=_0x69e053(0x177),_0x5c47ea[_0x5c47ea['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5c47ea[_0x5c47ea['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x69e053(0x2d8),_0x5c47ea[_0x5c47ea[_0x69e053(0x2ba)]=0x232c]=_0x69e053(0x2ba),_0x5c47ea[_0x5c47ea[_0x69e053(0x29b)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5c47ea[_0x5c47ea[_0x69e053(0x294)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x5c47ea[_0x5c47ea[_0x69e053(0x1b0)]=0x2712]=_0x69e053(0x1b0),_0x5c47ea[_0x5c47ea['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x69e053(0x1a7),_0x5c47ea[_0x5c47ea[_0x69e053(0x2ac)]=0x2714]=_0x69e053(0x2ac),_0x5c47ea[_0x5c47ea[_0x69e053(0x314)]=0x271a]=_0x69e053(0x314),_0x5c47ea[_0x5c47ea[_0x69e053(0x2bd)]=0x271b]=_0x69e053(0x2bd),_0x5c47ea[_0x5c47ea[_0x69e053(0x187)]=0x271c]=_0x69e053(0x187),_0x5c47ea[_0x5c47ea[_0x69e053(0x281)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5c47ea[_0x5c47ea[_0x69e053(0x1df)]=0x271e]=_0x69e053(0x1df),_0x5c47ea[_0x5c47ea[_0x69e053(0x295)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5c47ea[_0x5c47ea[_0x69e053(0x233)]=0x2af9]=_0x69e053(0x233),_0x5c47ea[_0x5c47ea[_0x69e053(0x29c)]=0x2ee1]=_0x69e053(0x29c),_0x5c47ea[_0x5c47ea['INVALID_INVITE_CODE']=0x2ee2]=_0x69e053(0x342),_0x5c47ea[_0x5c47ea['INVITE_CODE_REQUIRED']=0x2ee3]=_0x69e053(0x175),_0x5c47ea[_0x5c47ea[_0x69e053(0x26f)]=0x2ee4]=_0x69e053(0x26f),_0x5c47ea[_0x5c47ea[_0x69e053(0x1fc)]=0x2ee5]=_0x69e053(0x1fc),_0x5c47ea[_0x5c47ea[_0x69e053(0x152)]=0x32c9]=_0x69e053(0x152),_0x5c47ea[_0x5c47ea[_0x69e053(0x325)]=0x32ca]=_0x69e053(0x325),_0x5c47ea[_0x5c47ea[_0x69e053(0x288)]=0x32cb]=_0x69e053(0x288),_0x5c47ea[_0x5c47ea[_0x69e053(0x2e6)]=-0x1]=_0x69e053(0x2e6),_0x5c47ea))(Mt||{}),pn=Object[_0x69e053(0x221)],Cn=(_0x54c862,_0x436081,_0x6d84b8,_0xc6b6db)=>{const _0x19a9e7=_0x69e053;for(var _0x70990f=_0xc6b6db>0x1?void 0x0:_0xc6b6db?pn(_0x436081,_0x6d84b8):_0x436081,_0x25e002=_0x54c862[_0x19a9e7(0x306)]-0x1,_0x33bfc1;_0x25e002>=0x0;_0x25e002--)(_0x33bfc1=_0x54c862[_0x25e002])&&(_0x70990f=_0x33bfc1(_0x70990f)||_0x70990f);return _0x70990f;},be=(_0x5b46a0,_0x56ab5e)=>(_0x289f7d,_0x16958d)=>_0x56ab5e(_0x289f7d,_0x16958d,_0x5b46a0);let rt=class extends _0x404876{constructor(_0x507cbb,_0x1db523,_0x596858){const _0xf123c4=_0x69e053;super(),this[_0xf123c4(0x2be)]=_0x507cbb,this[_0xf123c4(0x277)]=_0x1db523,this[_0xf123c4(0x1e8)]=_0x596858;}async[_0x69e053(0x346)](_0x252e74,_0x3a3adb,_0x522581,..._0x4cbcd9){const _0x51a00a=_0x69e053;var _0x3c2961,_0x591e89,_0xb1d45f,_0x2f8197;const _0xf5780=this[_0x51a00a(0x2be)][_0x51a00a(0x348)]();if(!_0xf5780)throw new Error(_0x51a00a(0x1ed));const _0x252f2f=((_0x3c2961=this[_0x51a00a(0x1e8)][_0x51a00a(0x225)](_0x23f086))!=null?_0x3c2961:_0x3f2c2f)+'/'+_0x252e74+'/run/'+_0x3a3adb,_0x32e77b=new URL(window[_0x51a00a(0x22d)][_0x51a00a(0x1f1)]),_0x43f535={'scriptId':_0x252e74,'runId':(_0x591e89=_0x32e77b['searchParams'][_0x51a00a(0x2a0)](_0x51a00a(0x26b)))!=null?_0x591e89:'','function':_0x3a3adb,'unitId':_0xf5780[_0x51a00a(0x213)](),'argsOfFunction':JSON['stringify'](_0x4cbcd9),'invokeId':(_0xb1d45f=_0x522581[_0x51a00a(0x2cd)])!=null?_0xb1d45f:'','executionId':(_0x2f8197=_0x522581['executionId'])!=null?_0x2f8197:''};try{const _0x16cd3e=await this[_0x51a00a(0x277)][_0x51a00a(0x25f)](_0x252f2f,{'body':_0x43f535});return _0x16cd3e[_0x51a00a(0x2bf)][_0x51a00a(0x216)]&&_0x16cd3e[_0x51a00a(0x2bf)][_0x51a00a(0x216)][_0x51a00a(0x34e)]!==Mt['OK']?_0x51a00a(0x330):_0x16cd3e[_0x51a00a(0x2bf)]['result'];}catch{return _0x51a00a(0x330);}}};rt=Cn([be(0x0,_0x72afad),be(0x1,_0x1edcbc(_0x3f722f)),be(0x2,_0x4c46e3)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- const _0xf1f171=_0x262e;(function(_0x5e6851,_0x235860){const _0x4a991d=_0x262e,_0xe0f690=_0x5e6851();while(!![]){try{const _0x230ba5=parseInt(_0x4a991d(0x194))/0x1+-parseInt(_0x4a991d(0x19b))/0x2+parseInt(_0x4a991d(0x192))/0x3*(parseInt(_0x4a991d(0x19c))/0x4)+parseInt(_0x4a991d(0x18e))/0x5*(parseInt(_0x4a991d(0x198))/0x6)+-parseInt(_0x4a991d(0x19e))/0x7+parseInt(_0x4a991d(0x19d))/0x8*(-parseInt(_0x4a991d(0x195))/0x9)+parseInt(_0x4a991d(0x19f))/0xa;if(_0x230ba5===_0x235860)break;else _0xe0f690['push'](_0xe0f690['shift']());}catch(_0x2e3f20){_0xe0f690['push'](_0xe0f690['shift']());}}}(_0x2782,0x6908c));function _0x2782(){const _0x3c1981=['69tUGgNT','Collaboration\x20Conflict','499867YXeqJo','3498993MrkgQl','Synced','Authentication\x20Error','30HjfTIW','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Syncing...','1218648lzCEdO','4756xaAZub','8eacsKd','3945340weNXHE','11304470hDEOAg','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','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.','334280nohqsP','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'];_0x2782=function(){return _0x3c1981;};return _0x2782();}function _0x262e(_0x306d78,_0x5132d5){const _0x2782bc=_0x2782();return _0x262e=function(_0x262e4d,_0x1ae045){_0x262e4d=_0x262e4d-0x18d;let _0xa48982=_0x2782bc[_0x262e4d];return _0xa48982;},_0x262e(_0x306d78,_0x5132d5);}const e={'collab-client':{'tooltip':{'reconnect':'Click\x20to\x20Reconnect'}},'collabStatus':{'fetchMiss':_0xf1f171(0x18f),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0xf1f171(0x196),'syncing':_0xf1f171(0x19a),'offline':_0xf1f171(0x199)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0xf1f171(0x190),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0xf1f171(0x1a1)},'conflict':{'title':_0xf1f171(0x193),'content':_0xf1f171(0x18d)},'permission':{'title':_0xf1f171(0x197),'content':_0xf1f171(0x1a3)},'collaboration':{'single-unit':{'warning':_0xf1f171(0x1a0)},'closeRoom':_0xf1f171(0x1a2)},'auth':{'needGotoLoginAlert':_0xf1f171(0x191)}};export{e as default};
1
+ const _0xa9a884=_0x1594;(function(_0xd47594,_0x144438){const _0x3277bb=_0x1594,_0xf96d21=_0xd47594();while(!![]){try{const _0x4c573f=parseInt(_0x3277bb(0xa1))/0x1*(-parseInt(_0x3277bb(0xad))/0x2)+parseInt(_0x3277bb(0xae))/0x3+parseInt(_0x3277bb(0xa5))/0x4*(-parseInt(_0x3277bb(0xb4))/0x5)+parseInt(_0x3277bb(0xa4))/0x6+-parseInt(_0x3277bb(0xaf))/0x7+-parseInt(_0x3277bb(0xab))/0x8+parseInt(_0x3277bb(0xb1))/0x9;if(_0x4c573f===_0x144438)break;else _0xf96d21['push'](_0xf96d21['shift']());}catch(_0x138856){_0xf96d21['push'](_0xf96d21['shift']());}}}(_0x3652,0x6241b));function _0x1594(_0x11ba16,_0x6ad076){const _0x365279=_0x3652();return _0x1594=function(_0x1594a9,_0x39449e){_0x1594a9=_0x1594a9-0x9f;let _0x436886=_0x365279[_0x1594a9];return _0x436886;},_0x1594(_0x11ba16,_0x6ad076);}const e={'collab-client':{'tooltip':{'reconnect':_0xa9a884(0xb3)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0xa9a884(0xa6),'notCollab':'Local\x20file','synced':'Synced','syncing':_0xa9a884(0xa3),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0xa9a884(0xa7),'room-full':_0xa9a884(0xa9),'collaboration-timeout':_0xa9a884(0xa0)},'conflict':{'title':_0xa9a884(0xac),'content':_0xa9a884(0xa2)},'permission':{'title':_0xa9a884(0xa8),'content':_0xa9a884(0x9f)},'collaboration':{'single-unit':{'warning':_0xa9a884(0xaa)},'closeRoom':_0xa9a884(0xb2)},'auth':{'needGotoLoginAlert':_0xa9a884(0xb0)}};export{e as default};function _0x3652(){const _0x3e1933=['2142282DaMOvS','4128292pwiKog','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','6734187FSFltR','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Click\x20to\x20Reconnect','10NvADvk','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','332413VSJrFN','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...','3275982iDFnap','218872NPOyZS','Edit\x20conflicts','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Authentication\x20Error','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1934856IPizWb','Collaboration\x20Conflict','4DbenUQ'];_0x3652=function(){return _0x3e1933;};return _0x3652();}
@@ -1 +1 @@
1
- function _0x2305(_0x554dda,_0x5da839){const _0x2dab15=_0x2dab();return _0x2305=function(_0x2305f6,_0x5c02fd){_0x2305f6=_0x2305f6-0x113;let _0x334e99=_0x2dab15[_0x2305f6];return _0x334e99;},_0x2305(_0x554dda,_0x5da839);}const _0x396b65=_0x2305;(function(_0x497907,_0x26ff38){const _0x102485=_0x2305,_0x3cb272=_0x497907();while(!![]){try{const _0x484d64=parseInt(_0x102485(0x119))/0x1*(-parseInt(_0x102485(0x116))/0x2)+-parseInt(_0x102485(0x113))/0x3+parseInt(_0x102485(0x120))/0x4+-parseInt(_0x102485(0x115))/0x5+parseInt(_0x102485(0x126))/0x6*(parseInt(_0x102485(0x124))/0x7)+parseInt(_0x102485(0x123))/0x8+-parseInt(_0x102485(0x114))/0x9*(parseInt(_0x102485(0x11e))/0xa);if(_0x484d64===_0x26ff38)break;else _0x3cb272['push'](_0x3cb272['shift']());}catch(_0x2215c7){_0x3cb272['push'](_0x3cb272['shift']());}}}(_0x2dab,0xe8ac7));const o={'collab-client':{'tooltip':{'reconnect':_0x396b65(0x127)}},'collabStatus':{'fetchMiss':_0x396b65(0x11b),'conflict':_0x396b65(0x125),'notCollab':'پرونده\x20محلی','synced':'همگام\x20سازی','syncing':_0x396b65(0x129),'offline':_0x396b65(0x122)},'session':{'connection-failed':_0x396b65(0x11a),'will-retry':_0x396b65(0x11c),'room-full':_0x396b65(0x118),'collaboration-timeout':'سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.'},'conflict':{'title':_0x396b65(0x117),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x396b65(0x11d),'content':_0x396b65(0x121)},'collaboration':{'single-unit':{'warning':_0x396b65(0x11f)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x396b65(0x128)}};function _0x2dab(){const _0x43aec1=['اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','3412lwTHnq','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','خطای\x20اعتبارسنجی','120mUEMEG','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','5042880bUzWmg','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','12175824rWrKtt','7PFQrhS','تداخل\x20ویرایش','2583018mnVxNn','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','در\x20حال\x20همگام\x20سازی...','1974576qwHAtY','589122RBOddB','2785850PZzEAX','152ZQALCs','تداخل\x20همکاری'];_0x2dab=function(){return _0x43aec1;};return _0x2dab();}export{o as default};
1
+ const _0x3872d1=_0x468b;function _0x28f0(){const _0x52d67a=['برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','تداخل\x20ویرایش','در\x20حال\x20همگام\x20سازی...','688928GpPxdD','10969ezQndT','468oghfhe','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','1LvkeGe','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','1314566pscTwg','همگام\x20سازی','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','خطای\x20اعتبارسنجی','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','4161820omYfGR','2452176tcKEZU','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','17785YNehox','1277730HhBHxj','480fLxZmF','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','تداخل\x20همکاری','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'];_0x28f0=function(){return _0x52d67a;};return _0x28f0();}function _0x468b(_0xcc501a,_0x9a5b59){const _0x28f08f=_0x28f0();return _0x468b=function(_0x468bc0,_0x54afcc){_0x468bc0=_0x468bc0-0x187;let _0x3a06c3=_0x28f08f[_0x468bc0];return _0x3a06c3;},_0x468b(_0xcc501a,_0x9a5b59);}(function(_0x5a438f,_0x5d4797){const _0x5bc303=_0x468b,_0x4c0831=_0x5a438f();while(!![]){try{const _0x2116c1=parseInt(_0x5bc303(0x18c))/0x1*(parseInt(_0x5bc303(0x18e))/0x2)+parseInt(_0x5bc303(0x198))/0x3+-parseInt(_0x5bc303(0x187))/0x4+-parseInt(_0x5bc303(0x197))/0x5*(parseInt(_0x5bc303(0x189))/0x6)+-parseInt(_0x5bc303(0x188))/0x7*(parseInt(_0x5bc303(0x199))/0x8)+parseInt(_0x5bc303(0x195))/0x9+-parseInt(_0x5bc303(0x194))/0xa;if(_0x2116c1===_0x5d4797)break;else _0x4c0831['push'](_0x4c0831['shift']());}catch(_0x10fb0a){_0x4c0831['push'](_0x4c0831['shift']());}}}(_0x28f0,0x60a01));const o={'collab-client':{'tooltip':{'reconnect':_0x3872d1(0x19d)}},'collabStatus':{'fetchMiss':_0x3872d1(0x18d),'conflict':_0x3872d1(0x19e),'notCollab':'پرونده\x20محلی','synced':_0x3872d1(0x18f),'syncing':_0x3872d1(0x19f),'offline':_0x3872d1(0x18a)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x3872d1(0x190),'room-full':_0x3872d1(0x196),'collaboration-timeout':_0x3872d1(0x192)},'conflict':{'title':_0x3872d1(0x19b),'content':_0x3872d1(0x18b)},'permission':{'title':_0x3872d1(0x191),'content':_0x3872d1(0x19c)},'collaboration':{'single-unit':{'warning':_0x3872d1(0x19a)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':_0x3872d1(0x193)}};export{o as default};