@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504121606 → 0.6.10-nightly.202504141607

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5c442e=_0x41de;(function(_0x6c48ab,_0x573ade){const _0x39b962=_0x41de,_0x110f54=_0x6c48ab();while(!![]){try{const _0x40dca8=parseInt(_0x39b962(0x301))/0x1+parseInt(_0x39b962(0x39b))/0x2+parseInt(_0x39b962(0x387))/0x3+-parseInt(_0x39b962(0x1ff))/0x4*(-parseInt(_0x39b962(0x2f2))/0x5)+parseInt(_0x39b962(0x1f6))/0x6*(parseInt(_0x39b962(0x36a))/0x7)+parseInt(_0x39b962(0x3e3))/0x8*(parseInt(_0x39b962(0x348))/0x9)+-parseInt(_0x39b962(0x399))/0xa*(parseInt(_0x39b962(0x3ba))/0xb);if(_0x40dca8===_0x573ade)break;else _0x110f54['push'](_0x110f54['shift']());}catch(_0x3bdd52){_0x110f54['push'](_0x110f54['shift']());}}}(_0x4036,0xab2ef));var Bt=Object[_0x5c442e(0x3bf)],kt=(_0x4afc2c,_0x3af619,_0x447d0e)=>_0x3af619 in _0x4afc2c?Bt(_0x4afc2c,_0x3af619,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x447d0e}):_0x4afc2c[_0x3af619]=_0x447d0e,_=(_0x1abf16,_0x1182bf,_0x160319)=>kt(_0x1abf16,typeof _0x1182bf!=_0x5c442e(0x36e)?_0x1182bf+'':_0x1182bf,_0x160319);import{MemberService as _0x16dab7,SessionStatus as _0x3671a2,CollaborationSessionService as _0x5b14fa,CollaborationStatus as _0x489ce8,CollaborationController as _0x463191,ILocalCacheService as _0x4d85cc,CollaborationUIEventService as _0x3e3068,CollaborationUIEventId as _0x1d287d,DataLoaderService as _0x58b956,DocCollaborationEntity as _0x28b913,getLocalCacheKey as _0x4bb7b6,LOCAL_CACHE_INTERVAL as _0x1fe3f6,LOCAL_CACHE_INTERVAL_KEY as _0x59baa0,UniverCollaborationClientPlugin as _0x3c74ab,CollaborationSocketService as _0x5632af,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x516fad,DEFAULT_WS_SESSION_TICKET_URL as _0x105910,UnitStatus as _0x2cb0a2,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x350002,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x33bd17}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x59c25d,Disposable as _0x5f3f2f,DOC_RANGE_TYPE as _0x5a650e,Inject as _0x478204,Injector as _0x3dbb38,IUniverInstanceService as _0x1f3f2e,ICommandService as _0x254139,debounce as _0x5e5d13,Rectangle as _0xb6bb6a,DisposableCollection as _0x355d0d,toDisposable as _0x1a0025,UniverInstanceType as _0x297e5f,Tools as _0x4b4694,COLORS as _0x4a5104,ColorKit as _0xb18e43,ThemeService as _0x54f2da,fromEventSubject as _0x3692bf,LocaleService as _0x1f5e8a,createIdentifier as _0x306a25,ILogService as _0x483410,Optional as _0x25cae1,Workbook as _0xe7e700,CommandType as _0x909ee7,IConfigService as _0xa465bd,ILocalStorageService as _0x74b4a8,DependentOn as _0x20dc6a,Plugin as _0x688c44,merge as _0x1ad029,registerDependencies as _0x52ef03,mergeOverrideWithDependencies as _0x4aa8dc,touchDependencies as _0x7bb5e7,generateRandomId as _0x4e0c9c}from'@univerjs/core';import{Shape as _0xef90e2,Rect as _0x5e83e1,getColor as _0x6b07af,RegularPolygon as _0x41c661,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1c104d,Vector2 as _0x3004a5,SHEET_VIEWPORT_KEY as _0x506e87,IRenderManagerService as _0x5e1429}from'@univerjs/engine-render';import{ISocketService as _0x27cb43,WebSocketService as _0x56e66a,HTTPService as _0xdc1343}from'@univerjs/network';function _0x41de(_0x2e4329,_0x541d2e){const _0x40369a=_0x4036();return _0x41de=function(_0x41de4e,_0x3fd53b){_0x41de4e=_0x41de4e-0x1e1;let _0x246a49=_0x40369a[_0x41de4e];return _0x246a49;},_0x41de(_0x2e4329,_0x541d2e);}import{IDocClipboardService as _0x29f9ac,NodePositionConvertToCursor as _0x2e327b,NodePositionConvertToRectRange as _0x50765e,TEXT_RANGE_LAYER_INDEX as _0x134672,SetDocZoomRatioOperation as _0x544121,DocIMEInputManagerService as _0x2e5d36,DocStateChangeManagerService as _0x49674d}from'@univerjs/docs-ui';import{IImageIoService as _0x5622fa}from'@univerjs/drawing';import{BehaviorSubject as _0x16ba86,debounceTime as _0x149ad6,takeUntil as _0xd3b1b6,Subject as _0xe120fa,filter as _0x202113,switchMap as _0x3978d8,merge as _0xc76edd,combineLatest as _0x1edce4,of as _0x493a14,fromEvent as _0x3451be,shareReplay as _0x5ac987,mapTo as _0x4000dc,distinctUntilChanged as _0x1da516}from'rxjs';import{SetTextSelectionsOperation as _0x26ce66,RichTextEditingMutation as _0x4486ba,DocSelectionManagerService as _0x3af7b0,DocSkeletonManagerService as _0x12b59e}from'@univerjs/docs';import{ITransformService as _0x39ef5a,CollaborationEvent as _0xd2f0dd,isTransformMutationFailure as _0x106b8b,isTransformMutationsWithChangesetSuccess as _0xd20ae6,RevisionService as _0x8a1b34,ISnapshotServerService as _0x43b01a}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x4513b4,serializeRangeWithSheet as _0xa93c9b}from'@univerjs/engine-formula';import{RefRangeService as _0x2472cb,SetSelectionsOperation as _0x894ad0,SheetsSelectionsService as _0x25094e,EffectRefRangId as _0x58b1ac,handleIRemoveRow as _0x4a1401,handleIRemoveCol as _0xe3e826,handleMoveRange as _0x1d27fd,handleInsertRow as _0x4309b5,handleInsertRangeMoveRight as _0x2c2c00,handleInsertRangeMoveDown as _0x34c803,handleInsertCol as _0x5e7ea6,handleDeleteRangeMoveUp as _0x33020c,handleDeleteRangeMoveLeft as _0x4748ed,runRefRangeMutations as _0x86e216,SetWorksheetActivateCommand as _0x2dd931}from'@univerjs/sheets';import{map as _0x132ff7,filter as _0x476fc3,throttleTime as _0x32793b,takeUntil as _0x3ada0c,switchMap as _0x29fe7a}from'rxjs/operators';import{SheetSkeletonManagerService as _0x905506,getCoordByCell as _0x35416c,getSheetObject as _0x2099cb}from'@univerjs/sheets-ui';import{jsx as _0x4b671a,jsxs as _0x111e0e}from'react/jsx-runtime';import{useObservable as _0x5c2835,useDependency as _0x123f3d,IUIPartsService as _0x48f5d5,BuiltInUIPart as _0x2bc1c7,connectInjector as _0x475ae0,IBeforeCloseService as _0x5dcae0,IMessageService as _0x40cde9,INotificationService as _0x2a0184}from'@univerjs/ui';import{clsx as _0x445f6c,Tooltip as _0x2726ad,MessageType as _0x42e3b7}from'@univerjs/design';import{forwardRef as _0x54a1ce,useRef as _0x3aab57,createElement as _0x93be4b,useCallback as _0x2a76fe}from'react';import{IRemoteInstanceService as _0x7f2bc6}from'@univerjs/rpc';var li=Object['getOwnPropertyDescriptor'],_i=(_0x425392,_0x361e1d,_0x37f54f,_0x546e0a)=>{const _0x233e9a=_0x5c442e;for(var _0x4dae07=_0x546e0a>0x1?void 0x0:_0x546e0a?li(_0x361e1d,_0x37f54f):_0x361e1d,_0x5895ae=_0x425392[_0x233e9a(0x264)]-0x1,_0x5f0739;_0x5895ae>=0x0;_0x5895ae--)(_0x5f0739=_0x425392[_0x5895ae])&&(_0x4dae07=_0x5f0739(_0x4dae07)||_0x4dae07);return _0x4dae07;},Qe=(_0x2e0b6b,_0x39957f)=>(_0x59aa19,_0x56a36a)=>_0x39957f(_0x59aa19,_0x56a36a,_0x2e0b6b);let Me=class extends _0x59c25d{constructor(_0xecb111,_0x13cab8){const _0x57b910=_0x5c442e;super(),this[_0x57b910(0x2a1)]=_0xecb111,this[_0x57b910(0x280)]=_0x13cab8,this[_0x57b910(0x206)]();}[_0x5c442e(0x206)](){const _0x5ccab3=_0x5c442e,_0x2fed23=this;this[_0x5ccab3(0x2b1)](this[_0x5ccab3(0x2a1)][_0x5ccab3(0x3cd)]({'onBeforePasteImage':async _0x839f1=>{const _0x4709c8=_0x5ccab3,_0x53b616=await _0x2fed23['_imageIoService']['saveImage'](_0x839f1);return _0x53b616?{'source':_0x53b616[_0x4709c8(0x3ad)],'imageSourceType':_0x53b616[_0x4709c8(0x1ed)]}:null;}}));}};Me=_i([Qe(0x0,_0x29f9ac),Qe(0x1,_0x5622fa)],Me);const qe=[_0x5c442e(0x250),_0x5c442e(0x2ea),_0x5c442e(0x329),_0x5c442e(0x344),'blue400',_0x5c442e(0x34f)];class He extends _0x5f3f2f{constructor(){const _0x1cdaa4=_0x5c442e;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x1cdaa4(0x2c3),0x0);}[_0x5c442e(0x3d5)](_0x22f5ec){const _0x5b105b=_0x5c442e;if(this['_assignedColors']['has'](_0x22f5ec))return this[_0x5b105b(0x1f3)][_0x5b105b(0x2ad)](_0x22f5ec);const _0x143f4d=qe[this[_0x5b105b(0x2c3)]];return this[_0x5b105b(0x2c3)]=(this[_0x5b105b(0x2c3)]+0x1)%qe[_0x5b105b(0x264)],this['_assignedColors'][_0x5b105b(0x2e8)](_0x22f5ec,_0x143f4d),_0x143f4d;}}function Dt(_0x40ca7b){const _0x6e1779=_0x5c442e;let _0x1393b4='';for(const _0x25d6fd of _0x40ca7b){const {startOffset:_0x5a6fbc,endOffset:_0x48adc3,isActive:_0x402339,rangeType:_0x1bc8d7,segmentId:_0x4f7704,segmentPage:_0x185bec}=_0x25d6fd;_0x1393b4[_0x6e1779(0x264)]&&(_0x1393b4+=','),_0x1393b4+=_0x5a6fbc+':'+_0x48adc3+':'+(_0x402339?'1':'0')+':'+_0x1bc8d7+':'+_0x4f7704+':'+_0x185bec;}return _0x1393b4;}function hi(_0x14cf5f){const _0x48202d=_0x5c442e,_0x3060c1=_0x14cf5f[_0x48202d(0x339)](','),_0x4ac7e3=[];for(const _0x379a14 of _0x3060c1){const [_0x58797e,_0x37d445,_0x1e1094,_0x353a74,_0x329af5,_0x4e92dc]=_0x379a14[_0x48202d(0x339)](':');_0x4ac7e3[_0x48202d(0x30c)]({'startOffset':Number(_0x58797e),'endOffset':Number(_0x37d445),'collapsed':_0x58797e===_0x37d445,'isActive':_0x1e1094==='1','rangeType':_0x353a74===_0x5a650e['TEXT']?_0x5a650e[_0x48202d(0x2eb)]:_0x5a650e['RECT'],'segmentId':typeof _0x329af5==_0x48202d(0x37d)?String(_0x329af5):'','segmentPage':Number(_0x4e92dc!=null?_0x4e92dc:-0x1)});}return _0x4ac7e3[_0x48202d(0x3a4)](_0x181377=>_0x181377[_0x48202d(0x26f)])||(_0x4ac7e3[0x0]['isActive']=!0x0),_0x4ac7e3;}class je extends _0x59c25d{constructor(){const _0xc5d383=_0x5c442e;super(...arguments),_(this,_0xc5d383(0x253),new _0x16ba86(null)),_(this,_0xc5d383(0x255),this['_collabCursorState$'][_0xc5d383(0x3b9)]());}[_0x5c442e(0x204)](_0x3735bd){const _0x4657a2=_0x5c442e,{unitID:_0x51a7b8,memberID:_0x267832,textRanges:_0x1ae778}=_0x3735bd,_0x223b20=Dt(_0x1ae778);if(_0x223b20==='')return;const _0x3e13f4={'unitID':_0x51a7b8,'memberID':_0x267832,'selection':_0x223b20};this['_collabCursorState$'][_0x4657a2(0x247)](_0x3e13f4);}}var ui=Object[_0x5c442e(0x382)],di=(_0x31ab18,_0x3bb743,_0x4548eb,_0x12bbad)=>{const _0x54867d=_0x5c442e;for(var _0x1c34b3=_0x12bbad>0x1?void 0x0:_0x12bbad?ui(_0x3bb743,_0x4548eb):_0x3bb743,_0x36fd1b=_0x31ab18[_0x54867d(0x264)]-0x1,_0xe08014;_0x36fd1b>=0x0;_0x36fd1b--)(_0xe08014=_0x31ab18[_0x36fd1b])&&(_0x1c34b3=_0xe08014(_0x1c34b3)||_0x1c34b3);return _0x1c34b3;},U=(_0x56f820,_0x528cc8)=>(_0x2d4c19,_0x33dc53)=>_0x528cc8(_0x2d4c19,_0x33dc53,_0x56f820);const fi=0x12c,Si=0x64;let Pe=class extends _0x59c25d{constructor(_0xc6bfa4,_0x8355d5,_0x3e7866,_0x18606d,_0xaea9c5,_0x25a521,_0x181b53,_0x135fc9,_0x554bc6){const _0x36576a=_0x5c442e;super(),_(this,'_online',!0x1),_(this,_0x36576a(0x206),!0x1),_(this,_0x36576a(0x215),new _0x16ba86(new Map())),_(this,'cursorInfo$',this[_0x36576a(0x215)][_0x36576a(0x3b9)]()),_(this,_0x36576a(0x3a2),new _0x16ba86([])),_(this,_0x36576a(0x35c),this[_0x36576a(0x3a2)][_0x36576a(0x2da)](_0x149ad6(fi))),_(this,_0x36576a(0x350),_0x5e5d13(_0x1d462c=>{const _0x4e8815=_0x36576a,_0xd25a32={'eventID':_0xd2f0dd[_0x4e8815(0x254)],'data':{'unitID':this[_0x4e8815(0x3c6)],'memberID':this[_0x4e8815(0x2d9)][_0x4e8815(0x316)](),'selection':Dt(_0x1d462c)}};this[_0x4e8815(0x2d9)][_0x4e8815(0x2f9)](_0xd25a32,this[_0x4e8815(0x3c6)]);},Si)),(this[_0x36576a(0x3c6)]=_0xc6bfa4,this['_session']=_0x8355d5,this['_injector']=_0x3e7866,this[_0x36576a(0x25c)]=_0x18606d,this['_memberService']=_0xaea9c5,this[_0x36576a(0x39c)]=_0x25a521,this[_0x36576a(0x35b)]=_0x181b53,this[_0x36576a(0x2fa)]=_0x135fc9,this[_0x36576a(0x3c8)]=_0x554bc6);}get['cursorInfo'](){const _0x19d9b0=_0x5c442e;return this[_0x19d9b0(0x215)][_0x19d9b0(0x20d)]();}get[_0x5c442e(0x3e1)](){const _0x2b7f8f=_0x5c442e;return this[_0x2b7f8f(0x3a2)][_0x2b7f8f(0x20d)]();}[_0x5c442e(0x333)](){const _0x3fa119=_0x5c442e;super[_0x3fa119(0x333)](),this['_cursorInfo$'][_0x3fa119(0x247)](new Map()),this[_0x3fa119(0x215)][_0x3fa119(0x1f2)](),this[_0x3fa119(0x3a2)][_0x3fa119(0x247)]([]),this[_0x3fa119(0x3a2)][_0x3fa119(0x1f2)]();}[_0x5c442e(0x2d5)](){const _0x14e074=_0x5c442e;this[_0x14e074(0x206)]||(this[_0x14e074(0x206)]=!0x0,this['_session'][_0x14e074(0x279)][_0x14e074(0x2da)](_0xd3b1b6(this[_0x14e074(0x2a2)]))[_0x14e074(0x35d)](_0x29bb9f=>{const _0x173767=_0x14e074;_0x29bb9f===_0x3671a2[_0x173767(0x335)]?this[_0x173767(0x364)]():this[_0x173767(0x257)]();}),this[_0x14e074(0x2d9)][_0x14e074(0x318)][_0x14e074(0x2da)](_0xd3b1b6(this[_0x14e074(0x2a2)]))['subscribe'](_0xd89f54=>{const _0x53c08a=_0x14e074,_0x329817=_0xd89f54['eventID'];_0x329817===_0xd2f0dd[_0x53c08a(0x254)]&&this[_0x53c08a(0x210)](_0xd89f54),_0x329817===_0xd2f0dd['USERS_LEAVE']&&this['_onCursorDelete'](_0xd89f54);}),this['disposeWithMe'](this[_0x14e074(0x3c8)][_0x14e074(0x26d)](_0x7e61f2=>{const _0x5d70db=_0x14e074,_0x4ae72e=_0x7e61f2['params'];_0x4ae72e!=null&&this['_online']&&_0x7e61f2['id']===_0x26ce66['id']&&_0x4ae72e[_0x5d70db(0x35e)]===this['unitID']&&_0x4ae72e['isEditing']===!0x1&&_0x4ae72e[_0x5d70db(0x267)][_0x5d70db(0x264)]>0x0&&this['_updateLocalCursor'](_0x4ae72e[_0x5d70db(0x267)]);})),this[_0x14e074(0x39c)]['collabCursorState$'][_0x14e074(0x2da)](_0xd3b1b6(this[_0x14e074(0x2a2)]))['subscribe'](_0xa0562a=>{const _0x34f140=_0x14e074;if((_0xa0562a==null?void 0x0:_0xa0562a[_0x34f140(0x3c6)])!==this['unitID'])return;const _0x52dc2c={'eventID':_0xd2f0dd[_0x34f140(0x254)],'data':_0xa0562a};this['_onCursorUpdate'](_0x52dc2c);}),this[_0x14e074(0x2b1)](this[_0x14e074(0x3c8)][_0x14e074(0x26d)](_0x47978d=>{const _0x585ef5=_0x14e074;if(_0x47978d[_0x585ef5(0x238)]==null)return;const _0x5dd469=_0x47978d[_0x585ef5(0x238)];if(_0x47978d['id']!==_0x4486ba['id']||_0x5dd469['unitId']!==this['unitID'])return;const _0x2cae57={'id':'doc.mutation.rich-text-editing','params':_0x5dd469},_0x24e077=this[_0x585ef5(0x360)];for(const [_0x53fd45,_0x3927aa]of _0x24e077){const _0x134874={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3927aa[_0x585ef5(0x267)]}},_0xb24b46=this[_0x585ef5(0x35b)][_0x585ef5(0x2bd)](_0x2cae57,_0x134874,!0x1);if(_0x106b8b(_0xb24b46))throw _0xb24b46['error'];_0x24e077[_0x585ef5(0x2e8)](_0x53fd45,{..._0x3927aa,'ranges':_0xb24b46[_0x585ef5(0x32d)]['params'][_0x585ef5(0x32b)]});}queueMicrotask(()=>{const _0x4bb95d=_0x585ef5;this[_0x4bb95d(0x215)][_0x4bb95d(0x247)](_0x24e077);});})));}[_0x5c442e(0x210)](_0x25cefc){const _0x240726=_0x5c442e;var _0x5b72de,_0xc8df66;const {memberID:_0x1e13fc,selection:_0x3c335e}=_0x25cefc[_0x240726(0x3b8)],_0x21f538=hi(_0x3c335e),_0x6d0b=(_0xc8df66=(_0x5b72de=this['_memberService'][_0x240726(0x3aa)](this[_0x240726(0x3c6)],_0x1e13fc))==null?void 0x0:_0x5b72de['name'])!=null?_0xc8df66:_0x240726(0x380),_0x5c22d8={'color':this[_0x240726(0x25c)][_0x240726(0x3d5)](_0x1e13fc),'name':_0x6d0b,'ranges':_0x21f538},_0x36e3b6=this[_0x240726(0x360)];_0x36e3b6[_0x240726(0x2e8)](_0x1e13fc,_0x5c22d8),this[_0x240726(0x215)][_0x240726(0x247)](_0x36e3b6);}[_0x5c442e(0x3bc)](_0x3f1b97){const _0x46bcc1=_0x5c442e,{memberID:_0x10274b}=_0x3f1b97[_0x46bcc1(0x3b8)],_0x503c3e=this[_0x46bcc1(0x360)];_0x503c3e[_0x46bcc1(0x25d)](_0x10274b),this['_cursorInfo$'][_0x46bcc1(0x247)](_0x503c3e);}['_toggleOnline'](){const _0x26a7ee=_0x5c442e;var _0x48e55a;if(this[_0x26a7ee(0x2e6)]=!0x0,((_0x48e55a=this['_univerInstanceService'][_0x26a7ee(0x355)]())==null?void 0x0:_0x48e55a[_0x26a7ee(0x23f)]())!==this[_0x26a7ee(0x3c6)])return;const _0x41a9d5=this[_0x26a7ee(0x229)][_0x26a7ee(0x2ad)](_0x3af7b0)[_0x26a7ee(0x29e)]();Array[_0x26a7ee(0x284)](_0x41a9d5)&&_0x41a9d5[_0x26a7ee(0x264)]>0x0&&this[_0x26a7ee(0x350)](_0x41a9d5);}[_0x5c442e(0x257)](){const _0x33a282=_0x5c442e;this[_0x33a282(0x2e6)]=!0x1;}};Pe=di([U(0x2,_0x478204(_0x3dbb38)),U(0x3,_0x478204(He)),U(0x4,_0x478204(_0x16dab7)),U(0x5,_0x478204(je)),U(0x6,_0x39ef5a),U(0x7,_0x1f3f2e),U(0x8,_0x254139)],Pe);var mi=Object[_0x5c442e(0x382)],gi=(_0x28f296,_0x35d180,_0x1f1471,_0x4392d9)=>{for(var _0x4dbaaa=_0x4392d9>0x1?void 0x0:_0x4392d9?mi(_0x35d180,_0x1f1471):_0x35d180,_0x459da8=_0x28f296['length']-0x1,_0x11a629;_0x459da8>=0x0;_0x459da8--)(_0x11a629=_0x28f296[_0x459da8])&&(_0x4dbaaa=_0x11a629(_0x4dbaaa)||_0x4dbaaa);return _0x4dbaaa;},x=(_0x63b602,_0x188dbc)=>(_0x2826c5,_0x51bfc8)=>_0x188dbc(_0x2826c5,_0x51bfc8,_0x63b602);const vi=0x12c,Ii=0x64,pi=()=>{let _0x51ba82=[],_0x2c0fc5=!0x1;return _0x4d48fc=>{const _0xb0634f=_0x41de;_0x51ba82[_0xb0634f(0x30c)](_0x4d48fc),_0x2c0fc5||(_0x2c0fc5=!0x0,setTimeout(()=>{_0x51ba82['forEach'](_0x287ea0=>_0x287ea0()),_0x51ba82=[],_0x2c0fc5=!0x1;}));};};function _0x4036(){const _0x4faaf2=['_startDocCollabCursor','m1Prime','startsWith','bottom','session.connection-failed','_disabled','params','_getSheetObject','storage','getUnhiddenWorksheets','getUnitStatus$','collab-client.tooltip.reconnect','sheetId','getUnitId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','addObject','_selfUnitIDs','setConfig','_hovered','loadUnit','Warning','next','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','OnLineSingle','function','APPLY_DUPLICATED','doc.mutation.rich-text-editing','RemoveColCommandId','INVITE_CODE_ALREADY_BOUND','_heartbeatTimer','purple300','univer-flex\x20univer-items-center','NOT_COLLAB','_collabCursorState$','UPDATE_CURSOR','collabCursorState$','_anchor','_toggleOffline','trim','getParam','YUUMI_UNABLE_LOAD_URL','_cachedData','_colorAssignService','delete','_initDependencies','defs','error','show','YUUMI_SUBSCRIPTION_NOT_FOUND','url(#off-line-single_clip0_910_343)','length','clearInterval','unsubscribe','ranges','disableLocalCache','selection','getViewport','_collaborationUIEventService','setAlpha','onCommandExecuted','WECHAT_HAS_BEEN_BOUND','isActive','_transformUndoRedoStack','from','_urlService','_createSocketURL','restore','SNAPSHOT_INVALID_SNAPSHOT','transformIMECache','CHANGESET_REVISION_CONFILICT','univer-online','sessionStatus$','exhaustSavingTask','displayName','session.collaboration-timeout','INVITE_CODE_REQUIRED','_initResize','setUndoRedoMutationParamsCache','_imageIoService','transform','transformByState','currentTheme$','isArray','call','loadOfflineData','measureText','M0\x200H16V16H0z','toRgbString','triggerDblclick','session.will-retry','_backgroundColor','addObjects','getRenderById','_document','_localeService','_labelPosition','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','online','CONNECTOR_DATA_TOO_LARGE','getConfig','OTHER_CLIENT_EDITING','_docTransformSelectionsService','_dataLoaderService','_docSkeletonManagerService','RECT','skeleton','collabStatus.offline','InsertRowCommandId','getDocRanges','_notificationService','children','_docClipboardService','dispose$','redoState','INVITE_CODE_HAS_BEEN_UES','getOwnPropertySymbols','getCollabCursors$','addEventListener','_initEntityListener','off-line-single','_updateSubUnitFromURLParams','_drawTextRange','YUUMI_URL_COL_OUT_OF_RANGE','get','_range','InsertColCommandId','text','disposeWithMe','_getSaveTimeout','ENSURE_SNAPSHOT_EXECUTION','USER_NOT_INVITED_CODE','ticket','unit','_themeService','CONFLICT','override','uni.network.url-service','toString','fillText','transformMutation','PERMISSION_DENIED','find','CLOSE_ROOM','startColumn','disposeUnit','_colorIndex','url(#$1','getVpScrollXYInfoByPosToVp','...','makeDirty','stringify','_handleEvent','evenodd','drawWith','#fff','_saveCache','_setupSubUnitSync','div','svg','all','_hideTimer','_sheetSkeletonManagerService','SOCKET_FAILED_RETRY','init','DeleteRangeMoveUpCommandId','defIds','0\x200\x2017\x2016','_session','pipe','className','transformSelections','collaboration.single-unit.warning','color','_eventUnsubscribe','onMouseMove','forEach','_beforeCloseService','type','getSheetId','collabStatus.synced','_online','LICENSE_IMPORT_SIZE_EXCEEDED','set','top','jiqing500','TEXT','subscribeEvent','body','_docTransformIMECacheService','_removeClearOtherTimer','onPointerEnter$','UNAUTHENTICATED','15oUyYKu','map','SOCKET_FAILED','univer-online-status-title','runId','on-line-single_clip0_910_349','updateOfflineData','send','_univerInstanceService','APPLY_NON_SEQUENTIAL_REVISION','max','COMPLETION_FINISHED','permission.title','indexOf','_initCommandExecutedListener','328812TMgHNv','OTHER_CLIENTS_EDITING','_draw','LOGIN_FAILED','_memberService','_renderManagerService','apply','_updateCollabCursors','off-line-single_clip0_910_343','_setupBeforeClosingHandler','getCurrentRevOfUnit','push','replaceDocRanges','onlineStatusIcon','_shapes','subUnitId','fill','_docStateChangeManagerService','_logService','hide','LICENSE_EXPORT_SIZE_EXCEEDED','getMemberID','icon','event$','_handleLeaveEvent','transformMutationsWithChangeset','assign','font','_entityInit$','_transformPreviousActiveRange','MoveRangeCommandId','_render','debug','collabStatus.syncing','extend','undoState','lineTo','engine','urlChange$','_collaborationController','verdancy600','_name','textRanges','JOIN_ROOM_FAILED','m2Prime','result','_entities','values','onRendered','_uiPartsService','dispose','focused$','ONLINE','substring','idSuffix','_clearOtherTimers','split','transformStateCache','current','_config','PENDING','registerBeforeClose','status$','hovered','rgba(255,\x20255,\x20255,\x200.01)','setItem','_registerRenderDependencies','red300','APPLY_REVISION_CONFILICT','_handleHeartbeatEvent','executionId','697887tTNLyL','closePath','getActiveSheet','_getSessionTicket','_initEvent','executeCommand','_refRangeService','gold400','_updateLocalCursor','_updateURLWithCurrentState','univer-online-status','range','whenReady','getFocusedUnit','_textBubble','backgroundColor','searchParams','_refreshCollabCursors','memberID','_transformService','roomMembers$','subscribe','unitId','_ensureSubject','cursorInfo','onPointerMove$','none','AWAITING','_toggleOnline','setParam','_scene','getUndoRedoMutationParamsCache','_drawRectRange','unshift','189ouBCVX','location','replace','Failed','symbol','_onRefRangeChange','requireSession','_hover','UNRECOGNIZED','_send','/run/','_transformHistoryAndStateStack','_messageService','1em','APPLY_REJECT','key','InsertRangeMoveDownCommandId','has','sessionTicket','string','addHandlerCallback','black','Unknown\x20user','clipPath','getOwnPropertyDescriptor','_drawAnchor','PY_RUNTIME_SCRIPT_ERROR','YUUMI_RATE_OVER_LIMIT','xlink:href','767820ADBvST','UNIVER_SHEET','registerRefRange','getCurrentUnitForType','collabStatus.fetchMiss','concat','getTypeOfUnitDisposed$','_cursorShapes','entries','UNDEFINED','_lastPointer','reconnect','actions','_unitStatus','removeParam','subunit','translate(.97)','enableLocalCache','50UNhdQu','collab-rect-range-','253870ePQqlY','_syncEditingCollabCursorService','mask','origin','_collabSessionService','_getScale','HEADER_MENU','_roomMembers$','selections','some','runOnServer','flatMap','_collabCursorController','NO_OTHER_CLIENTS_EDITING','_initStatusListener','getMember','getTypeOfUnitAdded$','_initStatusComponent','source','width','getStateCache','getSkeleton','UNIVER_DOC','path','MOBILE_HAS_BEEN_BOUND','_startSheetCollabCursor','onlineStatusTitle','FETCH_MISS','INTERNAL_ERROR','data','asObservable','5654836ayynJS','APPLY_PERMISSION_DENIED','_onCursorDelete','min','NOT_FOUND','defineProperty','getRelativeToViewportCoord','setInterval','EMAIL_HAS_BEEN_BOUND','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getAnchorBounding','search','unitID','_color','_commandService','newValue','onLocalMutation','FromArray','_handleHover','addClipboardHook','getCellPositionByOffset','getCurrent','unload','colorChannel1','TOO_MANY_REQUESTS','round','OFFLINE','assignAColorForMemberID','_revisionService','pushState','history','collab-text-anchor-','transformRemoteChangeset','hasOwnProperty','Error','pluginName','with','#FFF','getMergeData','roomMembers','_unitOnClients','56yELTXx','_cursors','tag','add','deepClone','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getUniverSheetInstance','INVALID_INVITE_CODE','getItem','column','docStateChange$','LICENSE_DISTRO_REJECTED','generateRandomId','clearTimeout','[CollaborationDataLoaderController]','createInstance','moveTo','_removeCollabCursors','name','_docSyncEditingCollabCursorService','random','setShapeProps','_localCacheService','_httpService','row','imageSourceType','resize','includes','findNodePositionByCharIndex','_docTransformStateCacheService','complete','_assignedColors','getAncestorScale','entityInit$','277434xJYBxf','_status$','univer-offline','wsSessionTicketUrl','_scheduleClearOtherTimer','_id','RemoveRowCommandId','prototype','post','1024808ITMsTx','univer-online-status-icon','eventID','ALREADY_EXISTS','LICENSE_MAX_UNITS_EXCEEDED','syncEditingCollabCursor','mutations','_init','_configService','DeleteRangeMoveLeftCommandId','ACTIVE_UNIT_EVENT_CHANNEL','_saveTaskMap','_instanceService','UniverIcon','getValue','USERS_LEAVE','save','_onCursorUpdate','href','fillStyle','use','saveOfflineData','_cursorInfo$','_localStorageService','_anchorDot','getRangePointData','_context','saveTaskMap','currentSkeleton$','currentColor','startRow','SNAPSHOT_HAS_BEEN_REMOVED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','arc','application/json','_getMergeRange','attrs','_scheduleSaving','replaceState','labelPosition','collaboration-client.offline-data-not-saved','height','_injector','getCollabEntity$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','cursorInfo$','createSocket','onTransformChange$','_scheduleHeartbeat','collaboration.closeRoom','on-line-single'];_0x4036=function(){return _0x4faaf2;};return _0x4036();}let we=class extends _0x59c25d{constructor(_0x3d5df8,_0x4d11e0,_0x3f5f34,_0x1ff21d,_0x16c09c,_0x1ab88f,_0x54cf10,_0x389815){const _0x260d52=_0x5c442e;super(),_(this,_0x260d52(0x2e6),!0x1),_(this,_0x260d52(0x206),!0x1),_(this,_0x260d52(0x215),new _0x16ba86(new Map())),_(this,_0x260d52(0x22c),this[_0x260d52(0x215)][_0x260d52(0x3b9)]()),_(this,_0x260d52(0x3a2),new _0x16ba86([])),_(this,'roomMembers$',this['_roomMembers$'][_0x260d52(0x2da)](_0x149ad6(vi))),_(this,_0x260d52(0x350),_0x5e5d13((_0x2b6d81,_0xa0f142)=>{const _0x514396=_0x260d52,_0x275bd6={'eventID':_0xd2f0dd[_0x514396(0x254)],'data':{'unitID':this[_0x514396(0x3c6)],'memberID':this['_session'][_0x514396(0x316)](),'selection':_0xa93c9b(_0x2b6d81,_0xa0f142[_0x514396(0x353)])}};this[_0x514396(0x2d9)][_0x514396(0x2f9)](_0x275bd6,this[_0x514396(0x3c6)]);},Ii)),(this['unitID']=_0x3d5df8,this['_session']=_0x4d11e0,this[_0x260d52(0x229)]=_0x3f5f34,this[_0x260d52(0x25c)]=_0x1ff21d,this[_0x260d52(0x305)]=_0x16c09c,this['_univerInstanceService']=_0x1ab88f,this['_commandService']=_0x54cf10,this[_0x260d52(0x34e)]=_0x389815);}get['cursorInfo'](){const _0x3e8e66=_0x5c442e;return this[_0x3e8e66(0x215)][_0x3e8e66(0x20d)]();}get[_0x5c442e(0x3e1)](){const _0x12eeac=_0x5c442e;return this[_0x12eeac(0x3a2)][_0x12eeac(0x20d)]();}[_0x5c442e(0x333)](){const _0x4a8c86=_0x5c442e;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this[_0x4a8c86(0x215)]['complete'](),this['_roomMembers$'][_0x4a8c86(0x247)]([]),this[_0x4a8c86(0x3a2)]['complete']();}[_0x5c442e(0x2d5)](){const _0x2a1141=_0x5c442e;this['_init']||(this[_0x2a1141(0x206)]=!0x0,this[_0x2a1141(0x2d9)]['sessionStatus$']['pipe'](_0xd3b1b6(this['dispose$']))[_0x2a1141(0x35d)](_0x1083e=>{const _0xc6b66b=_0x2a1141;_0x1083e===_0x3671a2['ONLINE']?this[_0xc6b66b(0x364)]():this['_toggleOffline']();}),this[_0x2a1141(0x2d9)][_0x2a1141(0x318)][_0x2a1141(0x2da)](_0xd3b1b6(this['dispose$']))[_0x2a1141(0x35d)](_0x8fafec=>{const _0x381bbb=_0x2a1141,_0x72b64c=_0x8fafec[_0x381bbb(0x201)];_0x72b64c===_0xd2f0dd[_0x381bbb(0x254)]&&this[_0x381bbb(0x210)](_0x8fafec),_0x72b64c===_0xd2f0dd[_0x381bbb(0x20e)]&&this[_0x381bbb(0x3bc)](_0x8fafec);}),this['_onRefRangeChange'](),this[_0x2a1141(0x2b1)](this['_commandService'][_0x2a1141(0x26d)](_0x377184=>{const _0x979057=_0x2a1141;if(this['_online']&&_0x377184['id']===_0x894ad0['id']&&_0x377184[_0x979057(0x238)][_0x979057(0x35e)]===this[_0x979057(0x3c6)]){const _0x3efc9e=_0x377184['params'];this[_0x979057(0x350)](_0x3efc9e[_0x979057(0x310)],_0x3efc9e[_0x979057(0x3a3)][0x0]);}})));}[_0x5c442e(0x210)](_0xfd48d2){const _0x3a1a4a=_0x5c442e;var _0x202c1f,_0x43f3ba;const {memberID:_0x402266,selection:_0x2fe253}=_0xfd48d2[_0x3a1a4a(0x3b8)],{sheetName:_0x235f87,range:_0x213491}=_0x4513b4(_0x2fe253),_0x448dba={'name':(_0x43f3ba=(_0x202c1f=this[_0x3a1a4a(0x305)][_0x3a1a4a(0x3aa)](this[_0x3a1a4a(0x3c6)],_0x402266))==null?void 0x0:_0x202c1f[_0x3a1a4a(0x1e6)])!=null?_0x43f3ba:_0x3a1a4a(0x380),'range':this[_0x3a1a4a(0x222)](_0x235f87,_0x213491),'sheetID':_0x235f87,'color':this['_colorAssignService'][_0x3a1a4a(0x3d5)](_0x402266),'selection':_0x2fe253},_0x156487=this[_0x3a1a4a(0x360)];_0x156487[_0x3a1a4a(0x2e8)](_0x402266,_0x448dba),this[_0x3a1a4a(0x215)]['next'](_0x156487);}['_onCursorDelete'](_0x51f0af){const _0x3cc340=_0x5c442e,{memberID:_0x2e7cda}=_0x51f0af[_0x3cc340(0x3b8)],_0x4bcd47=this[_0x3cc340(0x360)];_0x4bcd47['delete'](_0x2e7cda),this[_0x3cc340(0x215)][_0x3cc340(0x247)](_0x4bcd47);}[_0x5c442e(0x222)](_0x2afe42,_0x1c5157){const _0x463cc5=_0x5c442e;var _0x575073,_0x4ffc9c;const _0x3a2335=(_0x4ffc9c=(_0x575073=this['_univerInstanceService'][_0x463cc5(0x3e9)](this[_0x463cc5(0x3c6)]))==null?void 0x0:_0x575073['getSheetBySheetId'](_0x2afe42))==null?void 0x0:_0x4ffc9c[_0x463cc5(0x3e0)]();return(_0x3a2335==null?void 0x0:_0x3a2335[_0x463cc5(0x2bf)](_0xf6d01f=>_0xb6bb6a['contains'](_0xf6d01f,_0x1c5157)))||_0x1c5157;}[_0x5c442e(0x36f)](){const _0x4fef4a=_0x5c442e,_0x28dd56=new _0x355d0d(),_0x38b87d=pi(),_0x236ee7=()=>{const _0x427e4e=_0x41de;_0x28dd56[_0x427e4e(0x333)]();const _0x5a3d4c=(_0x147e46,_0x3d6621,_0x52f3ae,_0x578c7c)=>{const _0x2f0d7b=_0x427e4e;let _0x5b1208=[];switch(_0x147e46['id']){case _0x58b1ac[_0x2f0d7b(0x208)]:{_0x5b1208=_0x4748ed(_0x147e46,_0x578c7c);break;}case _0x58b1ac[_0x2f0d7b(0x2d6)]:{_0x5b1208=_0x33020c(_0x147e46,_0x578c7c);break;}case _0x58b1ac[_0x2f0d7b(0x2af)]:{_0x5b1208=_0x5e7ea6(_0x147e46,_0x578c7c);break;}case _0x58b1ac[_0x2f0d7b(0x37a)]:{_0x5b1208=_0x34c803(_0x147e46,_0x578c7c);break;}case _0x58b1ac['InsertRangeMoveRightCommandId']:{_0x5b1208=_0x2c2c00(_0x147e46,_0x578c7c);break;}case _0x58b1ac[_0x2f0d7b(0x29d)]:{_0x5b1208=_0x4309b5(_0x147e46,_0x578c7c);break;}case _0x58b1ac[_0x2f0d7b(0x31f)]:{_0x5b1208=_0x1d27fd(_0x147e46,_0x578c7c);break;}case _0x58b1ac[_0x2f0d7b(0x24d)]:{_0x5b1208=_0xe3e826(_0x147e46,_0x578c7c);break;}case _0x58b1ac[_0x2f0d7b(0x1fc)]:{_0x5b1208=_0x4a1401(_0x147e46,_0x578c7c);break;}}const _0x2ceb32=_0x86e216(_0x5b1208,_0x578c7c),_0x513174=this[_0x2f0d7b(0x360)][_0x2f0d7b(0x2ad)](_0x3d6621);if(_0x513174&&_0x2ceb32){const _0x543da2={..._0x513174,'range':_0x2ceb32};this[_0x2f0d7b(0x360)][_0x2f0d7b(0x2e8)](_0x3d6621,_0x543da2),_0x38b87d(()=>{const _0x3ee99e=_0x2f0d7b,_0x3d6a55=this[_0x3ee99e(0x34e)][_0x3ee99e(0x389)](_0x2ceb32,_0x5704da=>(_0x3d6a55['dispose'](),_0x5a3d4c(_0x5704da,_0x3d6621,_0x52f3ae,_0x2ceb32)));_0x28dd56[_0x3ee99e(0x3e6)](_0x3d6a55);});}return{'redos':[],'undos':[]};};this[_0x427e4e(0x360)][_0x427e4e(0x2e1)]((_0xca0c3f,_0xf55f4f)=>{const _0x59e69e=_0x427e4e,{range:_0x2f7edb,sheetID:_0x18ec42}=_0xca0c3f,_0x1b892b=this[_0x59e69e(0x34e)][_0x59e69e(0x389)](_0x2f7edb,_0x20e006=>(_0x1b892b[_0x59e69e(0x333)](),_0x5a3d4c(_0x20e006,_0xf55f4f,_0x18ec42,_0x2f7edb)));_0x28dd56['add'](_0x1b892b);});};this[_0x4fef4a(0x2b1)](_0x1a0025(this[_0x4fef4a(0x215)][_0x4fef4a(0x35d)](()=>{_0x236ee7();})));}['_toggleOnline'](){const _0x357f84=_0x5c442e;var _0x2b4d85,_0x535425;if(this['_online']=!0x0,((_0x2b4d85=this[_0x357f84(0x2fa)]['getFocusedUnit']())==null?void 0x0:_0x2b4d85['getUnitId']())!==this[_0x357f84(0x3c6)])return;const _0x561563=(_0x535425=this[_0x357f84(0x229)][_0x357f84(0x2ad)](_0x25094e)['getCurrentSelections']())==null?void 0x0:_0x535425[0x0],_0x5c4673=this[_0x357f84(0x2fa)][_0x357f84(0x38a)](_0x297e5f[_0x357f84(0x388)])['getActiveSheet']();_0x561563&&_0x5c4673&&this[_0x357f84(0x350)](_0x5c4673[_0x357f84(0x2e4)](),_0x561563);}['_toggleOffline'](){const _0x18a879=_0x5c442e;this[_0x18a879(0x2e6)]=!0x1;}};we=gi([x(0x2,_0x478204(_0x3dbb38)),x(0x3,_0x478204(He)),x(0x4,_0x478204(_0x16dab7)),x(0x5,_0x1f3f2e),x(0x6,_0x254139),x(0x7,_0x478204(_0x2472cb))],we);var Ci=Object[_0x5c442e(0x382)],Ei=(_0x50809d,_0x230933,_0x49c87a,_0x3f12d6)=>{const _0x5eeb3e=_0x5c442e;for(var _0x5e2124=_0x3f12d6>0x1?void 0x0:_0x3f12d6?Ci(_0x230933,_0x49c87a):_0x230933,_0x47f715=_0x50809d[_0x5eeb3e(0x264)]-0x1,_0x3989e1;_0x47f715>=0x0;_0x47f715--)(_0x3989e1=_0x50809d[_0x47f715])&&(_0x5e2124=_0x3989e1(_0x5e2124)||_0x5e2124);return _0x5e2124;},me=(_0x4c8f6f,_0x212afe)=>(_0x1c4c99,_0x12c6f7)=>_0x212afe(_0x1c4c99,_0x12c6f7,_0x4c8f6f);let H=class extends _0x59c25d{constructor(_0x221ac2,_0x5df09a,_0x585f59){const _0x4d2084=_0x5c442e;super(),_(this,_0x4d2084(0x32f),new Map()),_(this,_0x4d2084(0x31d),new _0xe120fa()),(this['_univerInstanceService']=_0x221ac2,this[_0x4d2084(0x229)]=_0x5df09a,this['_collabSessionService']=_0x585f59,this[_0x4d2084(0x206)]());}[_0x5c442e(0x333)](){const _0x479ee1=_0x5c442e;super[_0x479ee1(0x333)](),this[_0x479ee1(0x31d)][_0x479ee1(0x1f2)](),this[_0x479ee1(0x32f)][_0x479ee1(0x2e1)](_0xf79b3=>_0xf79b3[_0x479ee1(0x333)]());}[_0x5c442e(0x2a6)](_0x232419){const _0x146770=_0x5c442e;return this[_0x146770(0x32f)]['has'](_0x232419)?this[_0x146770(0x32f)]['get'](_0x232419)[_0x146770(0x22c)]:this[_0x146770(0x31d)][_0x146770(0x2da)](_0x202113(_0x569d45=>_0x569d45[_0x146770(0x3c6)]===_0x232419),_0x3978d8(_0xc0660e=>_0xc0660e[_0x146770(0x22c)]));}[_0x5c442e(0x206)](){const _0x632dcd=_0x5c442e;this['_univerInstanceService'][_0x632dcd(0x3ab)](_0x297e5f['UNIVER_SHEET'])['pipe'](_0xd3b1b6(this['dispose$']))[_0x632dcd(0x35d)](async _0x532a6a=>{const _0x47cde5=_0x632dcd,_0x4d9388=_0x532a6a[_0x47cde5(0x23f)](),_0x23d030=await this[_0x47cde5(0x3b4)](_0x4d9388);this[_0x47cde5(0x31d)][_0x47cde5(0x247)](_0x23d030),this[_0x47cde5(0x32f)][_0x47cde5(0x2e8)](_0x4d9388,_0x23d030);}),this[_0x632dcd(0x2fa)]['getTypeOfUnitAdded$'](_0x297e5f[_0x632dcd(0x3b1)])[_0x632dcd(0x2da)](_0xd3b1b6(this[_0x632dcd(0x2a2)]))[_0x632dcd(0x2da)](_0x202113(_0x416105=>!_0x416105['getUnitId']()[_0x632dcd(0x234)]('__')))['subscribe'](async _0x3333d9=>{const _0x53f2df=_0x632dcd,_0x56afd8=_0x3333d9[_0x53f2df(0x23f)](),_0x504dbf=await this[_0x53f2df(0x232)](_0x56afd8);this[_0x53f2df(0x31d)][_0x53f2df(0x247)](_0x504dbf),this[_0x53f2df(0x32f)][_0x53f2df(0x2e8)](_0x56afd8,_0x504dbf);}),_0xc76edd(this[_0x632dcd(0x2fa)][_0x632dcd(0x38d)](_0x297e5f['UNIVER_DOC']),this['_univerInstanceService'][_0x632dcd(0x38d)](_0x297e5f[_0x632dcd(0x388)]))[_0x632dcd(0x2da)](_0xd3b1b6(this[_0x632dcd(0x2a2)]))[_0x632dcd(0x35d)](_0x280663=>{const _0x1b94be=_0x632dcd,_0x5e1f89=_0x280663[_0x1b94be(0x23f)](),_0x341b98=this['_entities'][_0x1b94be(0x2ad)](_0x5e1f89);_0x341b98&&(_0x341b98[_0x1b94be(0x333)](),this[_0x1b94be(0x32f)][_0x1b94be(0x25d)](_0x5e1f89));});}async[_0x5c442e(0x3b4)](_0x1d6316){const _0x3e73f8=_0x5c442e,_0x2ce040=await this[_0x3e73f8(0x39f)][_0x3e73f8(0x370)](_0x1d6316),_0xf93111=this[_0x3e73f8(0x229)][_0x3e73f8(0x1e3)](we,_0x1d6316,_0x2ce040);return _0xf93111['init'](),_0xf93111;}async['_startDocCollabCursor'](_0x4502f4){const _0x1708cc=_0x5c442e,_0x2226fb=await this[_0x1708cc(0x39f)][_0x1708cc(0x370)](_0x4502f4),_0xce66d3=this[_0x1708cc(0x229)][_0x1708cc(0x1e3)](Pe,_0x4502f4,_0x2226fb);return _0xce66d3[_0x1708cc(0x2d5)](),_0xce66d3;}};H=Ei([me(0x0,_0x1f3f2e),me(0x1,_0x478204(_0x3dbb38)),me(0x2,_0x478204(_0x5b14fa))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x476f12,_0x4e8d42){const _0x51095b=_0x5c442e;let {radius:_0x2293f3,width:_0x56d8ee,height:_0x17dd63}=_0x4e8d42;_0x2293f3=_0x2293f3!=null?_0x2293f3:0x0,_0x56d8ee=_0x56d8ee!=null?_0x56d8ee:0x1e,_0x17dd63=_0x17dd63!=null?_0x17dd63:0x1e;let _0x21cbd4=0x0,_0x12c712=0x0,_0x9636fb=0x0;_0x21cbd4=_0x12c712=_0x9636fb=Math[_0x51095b(0x3bd)](_0x2293f3,_0x56d8ee/0x2,_0x17dd63/0x2),_0x476f12['beginPath'](),_0x476f12[_0x51095b(0x1e4)](_0x21cbd4,0x0),_0x476f12[_0x51095b(0x325)](_0x56d8ee-_0x12c712,0x0),_0x476f12[_0x51095b(0x220)](_0x56d8ee-_0x12c712,_0x12c712,_0x12c712,Math['PI']*0x3/0x2,0x0,!0x1),_0x476f12[_0x51095b(0x325)](_0x56d8ee,_0x17dd63-_0x9636fb),_0x476f12[_0x51095b(0x220)](_0x56d8ee-_0x9636fb,_0x17dd63-_0x9636fb,_0x9636fb,0x0,Math['PI']/0x2,!0x1),_0x476f12[_0x51095b(0x325)](0x0,_0x17dd63),_0x476f12[_0x51095b(0x325)](0x0,_0x21cbd4),_0x476f12[_0x51095b(0x220)](_0x21cbd4,_0x21cbd4,_0x21cbd4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x476f12[_0x51095b(0x349)](),_0x4e8d42[_0x51095b(0x311)]&&(_0x476f12['save'](),_0x476f12[_0x51095b(0x212)]=_0x4e8d42[_0x51095b(0x311)],_0x4e8d42['fillRule']===_0x51095b(0x2ca)?_0x476f12[_0x51095b(0x311)](_0x51095b(0x2ca)):_0x476f12['fill'](),_0x476f12['restore']());}class ue extends _0xef90e2{constructor(_0x6e8d98,_0x524956){const _0x4f5a53=_0x5c442e;super(_0x6e8d98,_0x524956),_(this,_0x4f5a53(0x2de)),_(this,_0x4f5a53(0x2b0)),(this[_0x4f5a53(0x2de)]=_0x524956==null?void 0x0:_0x524956[_0x4f5a53(0x2de)],this[_0x4f5a53(0x2b0)]=_0x524956==null?void 0x0:_0x524956[_0x4f5a53(0x2b0)]);}static[_0x5c442e(0x2cb)](_0x3088f8,_0xd5e96e){const _0x1b9c90=_0x5c442e,{text:_0x3ef669,color:_0x59bdb0}=_0xd5e96e;_0x3088f8[_0x1b9c90(0x20f)](),_0x3088f8[_0x1b9c90(0x31c)]=_0x1b9c90(0x240);const _0x46299e=_0x3088f8[_0x1b9c90(0x287)](_0x3ef669)[_0x1b9c90(0x3ae)],_0x34310a=Math[_0x1b9c90(0x3bd)](_0x46299e+0x2*ge,et);Oi(_0x3088f8,{'height':te,'radius':0x4,'width':_0x34310a,'fill':_0x59bdb0}),_0x3088f8['fillStyle']=_0x1b9c90(0x3df);const _0x22fb25=ge,_0x4a3c3e=te-bi,_0x1b91c7=et-0x2*ge;if(_0x46299e>_0x1b91c7){let _0x34dce9='',_0x4a2142=0x0;for(const _0x118a4a of _0x3ef669){const _0x4966af=_0x3088f8['measureText'](_0x118a4a)[_0x1b9c90(0x3ae)];if(_0x4a2142+_0x4966af<=_0x1b91c7-_0x3088f8[_0x1b9c90(0x287)](_0x1b9c90(0x2c6))[_0x1b9c90(0x3ae)])_0x34dce9+=_0x118a4a,_0x4a2142+=_0x4966af;else{_0x34dce9+=_0x1b9c90(0x2c6);break;}}_0x3088f8[_0x1b9c90(0x2bc)](_0x34dce9,_0x22fb25,_0x4a3c3e);}else _0x3088f8[_0x1b9c90(0x2bc)](_0x3ef669,_0x22fb25,_0x4a3c3e);_0x3088f8[_0x1b9c90(0x274)]();}[_0x5c442e(0x303)](_0x34faee){const _0x272c7a=_0x5c442e;ue[_0x272c7a(0x2cb)](_0x34faee,this);}}const ve=_0x5c442e(0x3d9),Ti='collab-text-range-',Ri=_0x5c442e(0x39a),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x5c442e(0x341);class tt{constructor(_0x20f55a,_0x1ed3ee,_0x552977,_0x15bca5){const _0x79fdc7=_0x5c442e;_(this,'_shapes',[]),_(this,_0x79fdc7(0x256),null),_(this,'_textBubble',null),_(this,_0x79fdc7(0x217),null),_(this,'_hideTimer',null),_(this,_0x79fdc7(0x2df),null),(this['_cursor']=_0x20f55a,this['_scene']=_0x1ed3ee,this['_docSkeleton']=_0x552977,this[_0x79fdc7(0x28f)]=_0x15bca5,this[_0x79fdc7(0x320)]());}set[_0x5c442e(0x371)](_0x1cdfa1){const _0x24d3db=_0x5c442e;_0x1cdfa1?(this[_0x24d3db(0x217)]&&this[_0x24d3db(0x217)][_0x24d3db(0x314)](),this[_0x24d3db(0x356)]&&this[_0x24d3db(0x356)][_0x24d3db(0x261)]()):(this[_0x24d3db(0x217)]&&this[_0x24d3db(0x217)][_0x24d3db(0x261)](),this[_0x24d3db(0x356)]&&this[_0x24d3db(0x356)][_0x24d3db(0x314)]());}[_0x5c442e(0x333)](){const _0x49eb25=_0x5c442e;for(const _0x521f4d of this[_0x49eb25(0x30f)])_0x521f4d[_0x49eb25(0x333)]();this['_textBubble']&&this[_0x49eb25(0x356)][_0x49eb25(0x333)](),this['_anchorDot']&&this[_0x49eb25(0x217)][_0x49eb25(0x333)](),this[_0x49eb25(0x256)]&&this[_0x49eb25(0x256)][_0x49eb25(0x333)](),this[_0x49eb25(0x2df)]&&this[_0x49eb25(0x2df)]();}['_render'](){const _0x31ca8b=_0x5c442e;var _0x28c0a2;const {_docSkeleton:_0x4cef0f,_document:_0x19569c}=this,{color:_0x216694,name:_0x126beb,ranges:_0x18f660}=this['_cursor'],_0x2d003b=_0x19569c['getOffsetConfig'](),{docsLeft:_0x4f3380,docsTop:_0x4d0fd5}=_0x2d003b,_0x54e57d=new _0x2e327b(_0x2d003b,_0x4cef0f);for(const {startOffset:_0x9fd007,endOffset:_0x2b1b02,rangeType:_0x1678e9,segmentId:_0x474b75,segmentPage:_0x5a270a,collapsed:_0x1634cd,isActive:_0x798e6a}of _0x18f660){const _0x2c3660=_0x4cef0f[_0x31ca8b(0x1f0)](_0x9fd007,!0x0,_0x474b75,_0x5a270a);let _0x6d5a1=_0x4cef0f[_0x31ca8b(0x1f0)](_0x2b1b02,!0x0,_0x474b75,_0x5a270a);if(_0x6d5a1==null&&(_0x6d5a1=_0x4cef0f['findNodePositionByCharIndex'](_0x2b1b02-0x1,!0x1,_0x474b75,_0x5a270a)),_0x798e6a){const {contentBoxPointGroup:_0x472d6e}=_0x54e57d[_0x31ca8b(0x218)](_0x6d5a1,_0x6d5a1);if(_0x472d6e[_0x31ca8b(0x264)]===0x0)continue;this['_drawAnchor'](_0x216694,_0x472d6e,_0x4f3380,_0x4d0fd5,_0x126beb),this[_0x31ca8b(0x2df)]=this[_0x31ca8b(0x3cc)]();}if(_0x2c3660&&_0x6d5a1){if(_0x1678e9===_0x5a650e[_0x31ca8b(0x29a)]){const _0x597c44=new _0x50765e(_0x2d003b,_0x4cef0f),{pointGroup:_0xe9269d}=(_0x28c0a2=_0x597c44[_0x31ca8b(0x218)](_0x2c3660,_0x6d5a1))!=null?_0x28c0a2:{};if(_0xe9269d==null||_0xe9269d[_0x31ca8b(0x264)]===0x0)continue;this['_drawRectRange'](_0x216694,_0xe9269d,_0x4f3380,_0x4d0fd5);}else{if(!_0x1634cd){const {borderBoxPointGroup:_0x4831a8}=_0x54e57d[_0x31ca8b(0x218)](_0x2c3660,_0x6d5a1);if(_0x4831a8[_0x31ca8b(0x264)]===0x0)continue;this[_0x31ca8b(0x2ab)](_0x216694,_0x4831a8,_0x4f3380,_0x4d0fd5);}}}}}[_0x5c442e(0x383)](_0x1bec24,_0x4386b9,_0x552bda,_0x35d880,_0x4714c9){const _0x96dad=_0x5c442e,_0x70806b=this['_getAnchorBounding'](_0x4386b9),{left:_0x3d240e,top:_0x1b61aa,height:_0x13d32e}=_0x70806b,_0x24b6c1=this['_getScale'](),_0x594ebb=Ni/_0x24b6c1,_0x271146=new _0x5e83e1(ve+_0x4b4694[_0x96dad(0x3ef)](X),{'left':_0x3d240e+_0x552bda-_0x594ebb,'top':_0x1b61aa+_0x35d880,'height':_0x13d32e,'width':Di,'fill':_0x1bec24||_0x6b07af(_0x4a5104[_0x96dad(0x37f)],0x0),'strokeWidth':_0x594ebb,'stroke':Mi,'evented':!0x0});this['_anchor']=_0x271146,this[_0x96dad(0x366)][_0x96dad(0x241)](_0x271146,_0x134672);const _0x31983d=new _0x5e83e1(ve+_0x4b4694[_0x96dad(0x3ef)](X),{'left':_0x3d240e+_0x552bda-_0x594ebb,'top':_0x1b61aa+_0x35d880-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x1bec24||_0x6b07af(_0x4a5104[_0x96dad(0x37f)],0x0),'strokeWidth':0x0,'stroke':_0x1bec24||_0x6b07af(_0x4a5104['black'],0x0),'evented':!0x1});this[_0x96dad(0x217)]=_0x31983d,this[_0x96dad(0x366)][_0x96dad(0x241)](_0x31983d,_0x134672);const _0x3681f5=new ue(ve+_0x4b4694[_0x96dad(0x3ef)](X),{'left':_0x3d240e+_0x552bda-_0x594ebb,'top':_0x1b61aa+_0x35d880-te,'text':_0x4714c9,'color':_0x1bec24});this[_0x96dad(0x356)]=_0x3681f5,this[_0x96dad(0x366)]['addObject'](_0x3681f5,_0x134672),this[_0x96dad(0x371)]=!0x1;}[_0x5c442e(0x3cc)](){const _0x53179d=_0x5c442e,_0x432b4c=this[_0x53179d(0x256)][_0x53179d(0x2f0)][_0x53179d(0x2ec)](()=>{const _0x8a1192=_0x53179d;this[_0x8a1192(0x371)]=!0x0;}),_0x4dd30e=this['_anchor']['onPointerLeave$'][_0x53179d(0x2ec)](()=>{const _0x57f116=_0x53179d;this[_0x57f116(0x2d2)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x1bc1c5=_0x57f116;this[_0x1bc1c5(0x371)]=!0x1;},0x7d0);});return()=>{const _0x276efb=_0x53179d;_0x432b4c[_0x276efb(0x266)](),_0x4dd30e[_0x276efb(0x266)]();};}[_0x5c442e(0x2ab)](_0x520e46,_0xd06f2b,_0x4b01b9,_0x141422){const _0x25841b=_0x5c442e,_0x465fa1=new _0xb18e43(_0x520e46)[_0x25841b(0x26c)](0.2)[_0x25841b(0x289)](),_0x386c51=new _0x41c661(Ti+_0x4b4694[_0x25841b(0x3ef)](X),{'pointsGroup':_0xd06f2b,'fill':_0x465fa1||_0x6b07af(_0x4a5104[_0x25841b(0x37f)],0.2),'left':_0x4b01b9,'top':_0x141422,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x25841b(0x30f)]['push'](_0x386c51),this[_0x25841b(0x366)][_0x25841b(0x241)](_0x386c51,_0x134672);}[_0x5c442e(0x368)](_0x3ba6ae,_0x54c88f,_0x126f45,_0x3f07ab){const _0x357755=_0x5c442e,_0x528688=new _0xb18e43(_0x3ba6ae)[_0x357755(0x26c)](0.2)[_0x357755(0x289)](),_0x5728b6=new _0x41c661(Ri+_0x4b4694[_0x357755(0x3ef)](X),{'pointsGroup':_0x54c88f,'fill':_0x528688||_0x6b07af(_0x4a5104[_0x357755(0x37f)],0.2),'left':_0x126f45,'top':_0x3f07ab,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5728b6),this['_scene'][_0x357755(0x241)](_0x5728b6,_0x134672);}[_0x5c442e(0x3c4)](_0x3d0101){const _0x3c09d9=_0x3d0101[0x0],_0x1c8eb4=_0x3c09d9[0x0],_0x1db67e=_0x3c09d9[0x2],{x:_0x4481c,y:_0x20e6b2}=_0x1c8eb4,{x:_0x2cff33,y:_0x225389}=_0x1db67e;return{'left':_0x4481c,'top':_0x20e6b2,'width':_0x2cff33-_0x4481c,'height':_0x225389-_0x20e6b2};}[_0x5c442e(0x3a0)](){const _0x1545ac=_0x5c442e,{scaleX:_0x3ea6af,scaleY:_0x50a0fa}=this[_0x1545ac(0x366)][_0x1545ac(0x1f4)]();return Math[_0x1545ac(0x2fc)](_0x3ea6af,_0x50a0fa);}}var Pi=Object[_0x5c442e(0x382)],wi=(_0x4ef1db,_0x49b964,_0x149533,_0x242aa5)=>{const _0x3c30d=_0x5c442e;for(var _0x4d4643=_0x242aa5>0x1?void 0x0:_0x242aa5?Pi(_0x49b964,_0x149533):_0x49b964,_0x46b4bb=_0x4ef1db[_0x3c30d(0x264)]-0x1,_0xf65d81;_0x46b4bb>=0x0;_0x46b4bb--)(_0xf65d81=_0x4ef1db[_0x46b4bb])&&(_0x4d4643=_0xf65d81(_0x4d4643)||_0x4d4643);return _0x4d4643;},Q=(_0x5ca15e,_0x182d9f)=>(_0x3654c1,_0x5a77ff)=>_0x182d9f(_0x3654c1,_0x5a77ff,_0x5ca15e);let Ue=class extends _0x59c25d{constructor(_0x376eea,_0x33bb8e,_0xaf85b3,_0x5f0a95,_0x57e1e3){const _0x5da716=_0x5c442e;super(),_(this,_0x5da716(0x38e),[]),_(this,_0x5da716(0x3e4),[]),(this['_context']=_0x376eea,this['_docSkeletonManagerService']=_0x33bb8e,this['_collabCursorController']=_0xaf85b3,this[_0x5da716(0x3c8)]=_0x5f0a95,this[_0x5da716(0x2b7)]=_0x57e1e3,this[_0x5da716(0x206)]());}[_0x5c442e(0x206)](){const _0xe4dddb=_0x5c442e,_0x85da98=this[_0xe4dddb(0x219)][_0xe4dddb(0x35e)],_0x36dbc0=this[_0xe4dddb(0x299)];this[_0xe4dddb(0x2b1)](_0x1edce4([this[_0xe4dddb(0x3a7)][_0xe4dddb(0x2a6)](_0x85da98),this[_0xe4dddb(0x2b7)][_0xe4dddb(0x283)]])[_0xe4dddb(0x2da)](_0x132ff7(([_0x5a69c3,_0x429f4a])=>({'skeleton':_0x36dbc0[_0xe4dddb(0x3b0)](),'cursors':[..._0x5a69c3[_0xe4dddb(0x330)]()][_0xe4dddb(0x3a6)](_0x52d8dc=>({..._0x52d8dc,'color':_0x429f4a[_0x52d8dc[_0xe4dddb(0x2de)]]}))})))[_0xe4dddb(0x35d)](_0x4b2cad=>{const _0x204cd5=_0xe4dddb;if(this[_0x204cd5(0x1e5)](),_0x4b2cad){const {skeleton:_0x3374d0,cursors:_0x360fb5}=_0x4b2cad;this[_0x204cd5(0x308)](_0x3374d0,_0x360fb5);}})),this[_0xe4dddb(0x27e)](),this[_0xe4dddb(0x300)]();}[_0x5c442e(0x308)](_0x384d28,_0x340465){const _0x36111d=_0x5c442e,{scene:_0x2e6e81,mainComponent:_0x191d54}=this[_0x36111d(0x219)],_0x54394d=_0x340465[_0x36111d(0x2f3)](_0x5c93d5=>new tt(_0x5c93d5,_0x2e6e81,_0x384d28,_0x191d54));this[_0x36111d(0x38e)]=_0x54394d,this[_0x36111d(0x3e4)]=_0x340465;}[_0x5c442e(0x359)](){const _0x212079=_0x5c442e;this[_0x212079(0x1e5)]();const {scene:_0xd17e0b,mainComponent:_0x3d2f71}=this[_0x212079(0x219)],_0x51a7a1=this[_0x212079(0x299)][_0x212079(0x3b0)](),_0x347a8b=this[_0x212079(0x3e4)][_0x212079(0x2f3)](_0x47d341=>new tt(_0x47d341,_0xd17e0b,_0x51a7a1,_0x3d2f71));this[_0x212079(0x38e)]=_0x347a8b;}[_0x5c442e(0x1e5)](){const _0x305d7a=_0x5c442e;this[_0x305d7a(0x38e)][_0x305d7a(0x2e1)](_0x47b4ef=>_0x47b4ef[_0x305d7a(0x333)]()),this[_0x305d7a(0x38e)]=[];}[_0x5c442e(0x300)](){const _0x444d29=_0x5c442e,_0x234a68=[_0x544121['id']];this[_0x444d29(0x2b1)](this[_0x444d29(0x3c8)]['onCommandExecuted'](_0xca4987=>{const _0x3d586a=_0x444d29;_0x234a68[_0x3d586a(0x1ef)](_0xca4987['id'])&&_0xca4987[_0x3d586a(0x238)][_0x3d586a(0x35e)]===this['_context'][_0x3d586a(0x35e)]&&this['_refreshCollabCursors']();}));}[_0x5c442e(0x27e)](){const _0x630a16=_0x5c442e;this[_0x630a16(0x2b1)](_0x3692bf(this[_0x630a16(0x219)][_0x630a16(0x326)][_0x630a16(0x22e)])[_0x630a16(0x2da)](_0x476fc3(_0x4aa433=>_0x4aa433[_0x630a16(0x2e3)]===_0x1c104d[_0x630a16(0x1ee)]),_0x32793b(0x10))[_0x630a16(0x35d)](()=>{const _0x446471=_0x630a16;this[_0x446471(0x359)]();}));}};Ue=wi([Q(0x1,_0x478204(_0x12b59e)),Q(0x2,_0x478204(H)),Q(0x3,_0x254139),Q(0x4,_0x478204(_0x54f2da))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0xef90e2{constructor(_0x4d4116,_0x41c602){const _0x5df3c1=_0x5c442e;super(_0x4d4116,_0x41c602),_(this,_0x5df3c1(0x3c7)),_(this,_0x5df3c1(0x244),!0x1),_(this,_0x5df3c1(0x2ae)),_(this,_0x5df3c1(0x32a),''),_(this,_0x5df3c1(0x291),_0x5df3c1(0x2e9)),_(this,_0x5df3c1(0x28c)),(_0x41c602&&this[_0x5df3c1(0x1e9)](_0x41c602),this['onPointerEnter$'][_0x5df3c1(0x2ec)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x5df3c1(0x2ec)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5c442e(0x1e9)](_0x1d5257){const _0x3d6068=_0x5c442e;var _0x12b803,_0x52c88c,_0xa3f8f7,_0x2cb4ec,_0x4d82f7,_0x57131d;this[_0x3d6068(0x3c7)]=(_0x12b803=_0x1d5257[_0x3d6068(0x2de)])!=null?_0x12b803:this['_color'],this[_0x3d6068(0x244)]=(_0x52c88c=_0x1d5257[_0x3d6068(0x340)])!=null?_0x52c88c:this[_0x3d6068(0x244)],this[_0x3d6068(0x2ae)]=(_0xa3f8f7=_0x1d5257[_0x3d6068(0x353)])!=null?_0xa3f8f7:this[_0x3d6068(0x2ae)],this[_0x3d6068(0x32a)]=(_0x2cb4ec=_0x1d5257[_0x3d6068(0x1e6)])!=null?_0x2cb4ec:this[_0x3d6068(0x32a)],this[_0x3d6068(0x291)]=(_0x4d82f7=_0x1d5257[_0x3d6068(0x226)])!=null?_0x4d82f7:this[_0x3d6068(0x291)],this[_0x3d6068(0x28c)]=(_0x57131d=_0x1d5257[_0x3d6068(0x357)])!=null?_0x57131d:this[_0x3d6068(0x28c)],this[_0x3d6068(0x282)]({'width':_0x1d5257[_0x3d6068(0x3ae)],'height':_0x1d5257[_0x3d6068(0x228)]});}['onMouseMove'](_0x137d09){const _0x525522=_0x5c442e,{row:_0x4be761,column:_0x36495e}=_0x137d09;if(_0x4be761>=this['_range'][_0x525522(0x21d)]&&_0x4be761<=this['_range']['endRow']&&_0x36495e>=this[_0x525522(0x2ae)][_0x525522(0x2c1)]&&_0x36495e<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x525522(0x1e9)]({'hovered':!0x1});}[_0x5c442e(0x28a)](_0x1894ef){return!0x1;}[_0x5c442e(0x303)](_0x1b3bcb){const _0x578777=_0x5c442e;_0x5e83e1[_0x578777(0x2cb)](_0x1b3bcb,{'width':this[_0x578777(0x3ae)],'height':this[_0x578777(0x228)],'strokeWidth':Li,'stroke':this[_0x578777(0x3c7)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x1b3bcb[_0x578777(0x20f)](),_0x1b3bcb[_0x578777(0x281)](0x1,0x0,0x0,0x1,this[_0x578777(0x3ae)],this[_0x578777(0x291)]==='bottom'?0x0:-0x14),ue['drawWith'](_0x1b3bcb,{'text':this[_0x578777(0x32a)],'color':this['_color']}),_0x1b3bcb['restore']());}}var yi=Object[_0x5c442e(0x382)],$i=(_0x47e9e8,_0x70b7e4,_0x444eeb,_0x4f8c6e)=>{const _0x219f92=_0x5c442e;for(var _0x7eab60=_0x4f8c6e>0x1?void 0x0:_0x4f8c6e?yi(_0x70b7e4,_0x444eeb):_0x70b7e4,_0x120607=_0x47e9e8[_0x219f92(0x264)]-0x1,_0x159dd6;_0x120607>=0x0;_0x120607--)(_0x159dd6=_0x47e9e8[_0x120607])&&(_0x7eab60=_0x159dd6(_0x7eab60)||_0x7eab60);return _0x7eab60;},pe=(_0x251e4d,_0x11ce6c)=>(_0x5e70ba,_0x36e13f)=>_0x11ce6c(_0x5e70ba,_0x36e13f,_0x251e4d);const xi=0x1389;let Le=class extends _0x59c25d{constructor(_0x4e91d0,_0x460714,_0x179237,_0x578469){const _0x317f33=_0x5c442e;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x317f33(0x219)]=_0x4e91d0,this[_0x317f33(0x2d3)]=_0x460714,this[_0x317f33(0x3a7)]=_0x179237,this[_0x317f33(0x2b7)]=_0x578469,this[_0x317f33(0x206)]());}[_0x5c442e(0x206)](){const _0x33cafe=_0x5c442e;this[_0x33cafe(0x2d3)]['currentSkeleton$']['pipe'](_0x3ada0c(this[_0x33cafe(0x2a2)]),_0x29fe7a(_0x44adde=>{const _0x2810b0=_0x33cafe;if(_0x44adde){const _0x27da8d=_0x44adde[_0x2810b0(0x23e)];return _0x1edce4(this[_0x2810b0(0x3a7)][_0x2810b0(0x2a6)](this[_0x2810b0(0x219)][_0x2810b0(0x35e)]),this[_0x2810b0(0x2b7)][_0x2810b0(0x283)])[_0x2810b0(0x2da)](_0x132ff7(([_0x39f03a,_0x396f64])=>{const _0x5b3b05=_0x2810b0,_0x278ebb=new Map();return _0x39f03a[_0x5b3b05(0x2e1)]((_0xfd1a70,_0x338edc)=>{const _0x3d86c9=_0x5b3b05;if(_0xfd1a70['sheetID']===_0x27da8d){const _0x57f5a2={..._0xfd1a70};_0x57f5a2[_0x3d86c9(0x2de)]=_0x396f64[_0xfd1a70[_0x3d86c9(0x2de)]],_0x278ebb[_0x3d86c9(0x2e8)](_0x338edc,_0x57f5a2);}}),{'skeleton':_0x44adde,'cursors':_0x278ebb};}));}return _0x493a14({'skeleton':null,'cursors':new Map()});}))[_0x33cafe(0x35d)](({skeleton:_0x525d57,cursors:_0x553720})=>{const _0x15031a=_0x33cafe;this['_removeCollabCursors'](),_0x525d57&&this[_0x15031a(0x308)](_0x525d57,_0x553720);}),this[_0x33cafe(0x2d3)][_0x33cafe(0x21b)][_0x33cafe(0x35d)](_0x2f154f=>{const _0x562566=_0x33cafe;if(_0x2f154f==null)return;const {skeleton:_0x5e4af9}=_0x2f154f,{scene:_0x2fac7c}=this[_0x562566(0x219)];_0x2fac7c[_0x562566(0x361)]['subscribeEvent'](_0x5e5d13(_0x3721cf=>{const _0x27e6f0=_0x562566;var _0x4148f4,_0x2dfe37;const {offsetX:_0x24e75b,offsetY:_0x5a520d}=_0x3721cf,{x:_0x1da0a2,y:_0x203d23}=_0x2fac7c[_0x27e6f0(0x3c0)](_0x3004a5[_0x27e6f0(0x3cb)]([_0x24e75b,_0x5a520d])),{scaleX:_0x2d85c2,scaleY:_0x2daebd}=_0x2fac7c[_0x27e6f0(0x1f4)](),_0x446e1a=_0x2fac7c[_0x27e6f0(0x26a)](_0x506e87['VIEW_MAIN']),_0x3ce71b=_0x2fac7c[_0x27e6f0(0x2c5)](_0x3004a5[_0x27e6f0(0x3cb)]([_0x1da0a2,_0x203d23]),_0x446e1a),_0x25d10c=_0x5e4af9[_0x27e6f0(0x3ce)](_0x24e75b,_0x5a520d,_0x2d85c2,_0x2daebd,_0x3ce71b);((_0x4148f4=this[_0x27e6f0(0x391)])==null?void 0x0:_0x4148f4[_0x27e6f0(0x3ec)])===_0x25d10c[_0x27e6f0(0x3ec)]&&((_0x2dfe37=this['_lastPointer'])==null?void 0x0:_0x2dfe37[_0x27e6f0(0x1ec)])===_0x25d10c['row']||this[_0x27e6f0(0x3e4)]['forEach'](_0x150439=>{const _0x1b266a=_0x27e6f0;_0x150439[_0x1b266a(0x2e0)](_0x25d10c);});},0x64));});}[_0x5c442e(0x308)](_0x93a006,_0x6af680){const _0x5cef29=_0x5c442e;var _0x2f6aba;const _0x38a84c=(_0x2f6aba=this[_0x5cef29(0x2d3)][_0x5cef29(0x3cf)]())==null?void 0x0:_0x2f6aba[_0x5cef29(0x29b)];if(!_0x38a84c)return;const _0xad0ab2=this[_0x5cef29(0x239)]();if(!_0xad0ab2)return;this[_0x5cef29(0x3e4)]['forEach'](_0x522c19=>{const _0x450354=_0x5cef29;_0x522c19[_0x450354(0x2c7)]();});const {scene:_0x5ed92b}=_0xad0ab2,_0x410c7f=Bi(Array['from'](_0x6af680['values']()))[_0x5cef29(0x2f3)](_0x153d01=>{const _0xd61970=_0x5cef29,{color:_0x4e3cb8,range:_0x3449af,name:_0x4e6137,selection:_0x217f8c,sheetID:_0x1a4311}=_0x153d01,{startColumn:_0x4ddb00,startRow:_0x52e62,endColumn:_0x8483fd,endRow:_0x53dfef}=_0x3449af,_0x1d19bc=_0x35416c(_0x52e62,_0x4ddb00,_0x5ed92b,_0x38a84c),_0x1414d0=_0x35416c(_0x53dfef,_0x8483fd,_0x5ed92b,_0x38a84c),{columnHeaderHeightAndMarginTop:_0xb77249}=_0x38a84c,{startX:_0x286d66,startY:_0x2c03ec}=_0x1d19bc,{endX:_0x563a9a,endY:_0x571a1b}=_0x1414d0,_0x1b7a25=_0x563a9a-_0x286d66,_0x3c5abd=_0x571a1b-_0x2c03ec,_0x434029={'labelPosition':_0x2c03ec-_0xb77249>=te?_0xd61970(0x2e9):_0xd61970(0x235),'sheetID':_0x1a4311,'range':_0x3449af,'color':_0x4e3cb8,'name':_0x4e6137,'selection':_0x217f8c,'left':_0x286d66,'top':_0x2c03ec,'width':_0x1b7a25,'height':_0x3c5abd,'evented':!0x1,'zIndex':xi};return new Ai(_0x4e6137,_0x434029);});_0x5ed92b[_0x5cef29(0x28d)](_0x410c7f,Ui),this['_cursors']=new Set(_0x410c7f);}[_0x5c442e(0x1e5)](){const _0x353a60=_0x5c442e;var _0x85a8f6;(_0x85a8f6=this['_cursors'])==null||_0x85a8f6[_0x353a60(0x2e1)](_0x4b1c02=>_0x4b1c02[_0x353a60(0x333)]());}[_0x5c442e(0x239)](){const _0x35a36c=_0x5c442e;return _0x2099cb(this[_0x35a36c(0x219)][_0x35a36c(0x2b6)],this[_0x35a36c(0x219)]);}};Le=$i([pe(0x1,_0x478204(_0x905506)),pe(0x2,_0x478204(H)),pe(0x3,_0x478204(_0x54f2da))],Le);function Bi(_0x3b3c9b){const _0x305fdf=_0x5c442e,_0x14c8b5=new Map();return _0x3b3c9b[_0x305fdf(0x2e1)](_0x42b680=>{const _0x15921e=_0x305fdf;if(_0x14c8b5['has'](_0x42b680[_0x15921e(0x269)])){const _0x553cc4=_0x14c8b5['get'](_0x42b680[_0x15921e(0x269)]);_0x553cc4[_0x15921e(0x1e6)]+=',\x20'+_0x42b680[_0x15921e(0x1e6)];}else _0x14c8b5['set'](_0x42b680[_0x15921e(0x269)],_0x42b680);}),Array['from'](_0x14c8b5[_0x305fdf(0x330)]());}var I=function(){const _0x39ae83=_0x5c442e;return I=Object['assign']||function(_0x2950cc){const _0x4c08e5=_0x41de;for(var _0x5881fb,_0x1b9fd3=0x1,_0x4eedff=arguments[_0x4c08e5(0x264)];_0x1b9fd3<_0x4eedff;_0x1b9fd3++){_0x5881fb=arguments[_0x1b9fd3];for(var _0x5788cc in _0x5881fb)Object[_0x4c08e5(0x1fd)][_0x4c08e5(0x3db)][_0x4c08e5(0x285)](_0x5881fb,_0x5788cc)&&(_0x2950cc[_0x5788cc]=_0x5881fb[_0x5788cc]);}return _0x2950cc;},I[_0x39ae83(0x307)](this,arguments);},ki=function(_0x22dbf9,_0x224f5b){const _0x4f04d0=_0x5c442e;var _0x5311dc={};for(var _0x350c81 in _0x22dbf9)Object[_0x4f04d0(0x1fd)][_0x4f04d0(0x3db)][_0x4f04d0(0x285)](_0x22dbf9,_0x350c81)&&_0x224f5b['indexOf'](_0x350c81)<0x0&&(_0x5311dc[_0x350c81]=_0x22dbf9[_0x350c81]);if(_0x22dbf9!=null&&typeof Object[_0x4f04d0(0x2a5)]==_0x4f04d0(0x24a)){for(var _0x2837b4=0x0,_0x350c81=Object[_0x4f04d0(0x2a5)](_0x22dbf9);_0x2837b4<_0x350c81[_0x4f04d0(0x264)];_0x2837b4++)_0x224f5b[_0x4f04d0(0x2ff)](_0x350c81[_0x2837b4])<0x0&&Object[_0x4f04d0(0x1fd)]['propertyIsEnumerable']['call'](_0x22dbf9,_0x350c81[_0x2837b4])&&(_0x5311dc[_0x350c81[_0x2837b4]]=_0x22dbf9[_0x350c81[_0x2837b4]]);}return _0x5311dc;},We=_0x54a1ce(function(_0x31289b,_0x484bcd){const _0x165c14=_0x5c442e;var _0x329401=_0x31289b[_0x165c14(0x317)],_0x277bb1=_0x31289b['id'],_0x252238=_0x31289b[_0x165c14(0x2db)],_0xa30dc4=_0x31289b['extend'],_0x5f5914=ki(_0x31289b,[_0x165c14(0x317),'id','className',_0x165c14(0x323)]),_0x5b7381='univerjs-icon\x20univerjs-icon-'['concat'](_0x277bb1,'\x20')[_0x165c14(0x38c)](_0x252238||'')[_0x165c14(0x258)](),_0xcbc6b1=_0x3aab57('_'[_0x165c14(0x38c)](Wi()));return Nt(_0x329401,''[_0x165c14(0x38c)](_0x277bb1),{'defIds':_0x329401[_0x165c14(0x2d7)],'idSuffix':_0xcbc6b1[_0x165c14(0x33b)]},I({'ref':_0x484bcd,'className':_0x5b7381},_0x5f5914),_0xa30dc4);});function Nt(_0x321ae5,_0x1e85d0,_0x56957f,_0x582a74,_0x1aa776){const _0x475015=_0x5c442e;return _0x93be4b(_0x321ae5[_0x475015(0x3e5)],I(I({'key':_0x1e85d0},Hi(_0x321ae5,_0x56957f,_0x1aa776)),_0x582a74),(ji(_0x321ae5,_0x56957f)['children']||[])[_0x475015(0x2f3)](function(_0x5096c4,_0x2ddbd7){const _0x191a90=_0x475015;return Nt(_0x5096c4,''[_0x191a90(0x38c)](_0x1e85d0,'-')['concat'](_0x321ae5[_0x191a90(0x3e5)],'-')[_0x191a90(0x38c)](_0x2ddbd7),_0x56957f,void 0x0,_0x1aa776);}));}function Hi(_0xc0db63,_0x137f65,_0x396695){const _0x512a51=_0x5c442e;var _0x1543cd=I({},_0xc0db63[_0x512a51(0x223)]);_0x396695!=null&&_0x396695[_0x512a51(0x3d1)]&&_0x1543cd[_0x512a51(0x311)]==='colorChannel1'&&(_0x1543cd[_0x512a51(0x311)]=_0x396695[_0x512a51(0x3d1)]),_0xc0db63[_0x512a51(0x3e5)]===_0x512a51(0x39d)&&_0x1543cd['id']&&(_0x1543cd['id']=_0x1543cd['id']+_0x137f65[_0x512a51(0x337)]),Object[_0x512a51(0x38f)](_0x1543cd)[_0x512a51(0x2e1)](function(_0x47dd0e){const _0x37fb41=_0x512a51;var _0x4f7fdb=_0x47dd0e[0x0],_0x5a2e71=_0x47dd0e[0x1];_0x4f7fdb===_0x37fb41(0x39d)&&typeof _0x5a2e71==_0x37fb41(0x37d)&&(_0x1543cd[_0x4f7fdb]=_0x5a2e71[_0x37fb41(0x36c)](/url\(#(.*)\)/,_0x37fb41(0x2c4)[_0x37fb41(0x38c)](_0x137f65[_0x37fb41(0x337)],')')));});var _0x355ccf=_0x137f65[_0x512a51(0x2d7)];return!_0x355ccf||_0x355ccf[_0x512a51(0x264)]===0x0||(_0xc0db63[_0x512a51(0x3e5)]===_0x512a51(0x213)&&_0x1543cd[_0x512a51(0x386)]&&(_0x1543cd[_0x512a51(0x386)]=_0x1543cd[_0x512a51(0x386)]+_0x137f65[_0x512a51(0x337)]),Object[_0x512a51(0x38f)](_0x1543cd)['forEach'](function(_0x58838d){const _0x4cd08d=_0x512a51;var _0x58efcd=_0x58838d[0x0],_0x591009=_0x58838d[0x1];typeof _0x591009==_0x4cd08d(0x37d)&&(_0x1543cd[_0x58efcd]=_0x591009[_0x4cd08d(0x36c)](/url\(#(.*)\)/,_0x4cd08d(0x2c4)[_0x4cd08d(0x38c)](_0x137f65[_0x4cd08d(0x337)],')')));})),_0x1543cd;}function ji(_0xa7a744,_0x1fea61){const _0x1d23a4=_0x5c442e;var _0x4a058b,_0x745115=_0x1fea61[_0x1d23a4(0x2d7)];return!_0x745115||_0x745115[_0x1d23a4(0x264)]===0x0?_0xa7a744:_0xa7a744[_0x1d23a4(0x3e5)]===_0x1d23a4(0x25f)&&(!((_0x4a058b=_0xa7a744['children'])===null||_0x4a058b===void 0x0)&&_0x4a058b[_0x1d23a4(0x264)])?I(I({},_0xa7a744),{'children':_0xa7a744[_0x1d23a4(0x2a0)]['map'](function(_0x26fc9e){const _0x2a001a=_0x1d23a4;return typeof _0x26fc9e[_0x2a001a(0x223)]['id']==_0x2a001a(0x37d)&&_0x745115&&_0x745115[_0x2a001a(0x2ff)](_0x26fc9e[_0x2a001a(0x223)]['id'])>-0x1?I(I({},_0x26fc9e),{'attrs':I(I({},_0x26fc9e['attrs']),{'id':_0x26fc9e[_0x2a001a(0x223)]['id']+_0x1fea61['idSuffix']})}):_0x26fc9e;})}):_0xa7a744;}function Wi(){const _0x3d003e=_0x5c442e;return Math[_0x3d003e(0x1e8)]()['toString'](0x24)[_0x3d003e(0x336)](0x2,0x8);}We[_0x5c442e(0x27b)]=_0x5c442e(0x20c);var Fi={'tag':'svg','attrs':{'fill':_0x5c442e(0x362),'viewBox':'0\x200\x2016\x2016','width':_0x5c442e(0x377),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5c442e(0x263)},'children':[{'tag':_0x5c442e(0x3b2),'attrs':{'stroke':_0x5c442e(0x21c),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x5c442e(0x3d3),'strokeLinejoin':_0x5c442e(0x3d3),'strokeWidth':1.2}}]},{'tag':_0x5c442e(0x25f),'attrs':{},'children':[{'tag':_0x5c442e(0x381),'attrs':{'id':_0x5c442e(0x309)},'children':[{'tag':_0x5c442e(0x3b2),'attrs':{'fill':_0x5c442e(0x2cc),'d':_0x5c442e(0x288)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Mt=_0x54a1ce(function(_0x317af0,_0x266222){const _0x2dc3cc=_0x5c442e;return _0x93be4b(We,Object[_0x2dc3cc(0x31b)]({},_0x317af0,{'id':_0x2dc3cc(0x2a9),'ref':_0x266222,'icon':Fi}));});Mt['displayName']='OffLineSingle';var Vi={'tag':_0x5c442e(0x2d0),'attrs':{'fill':_0x5c442e(0x362),'viewBox':_0x5c442e(0x2d8),'width':_0x5c442e(0x377),'height':_0x5c442e(0x377)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x5c442e(0x3b2),'attrs':{'stroke':_0x5c442e(0x21c),'d':_0x5c442e(0x292),'strokeLinecap':_0x5c442e(0x3d3),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5c442e(0x25f),'attrs':{},'children':[{'tag':_0x5c442e(0x381),'attrs':{'id':_0x5c442e(0x2f7)},'children':[{'tag':_0x5c442e(0x3b2),'attrs':{'fill':'#fff','d':'M0\x200H16V16H0z','transform':_0x5c442e(0x397)}}]}]}],'defIds':[_0x5c442e(0x2f7)]},Pt=_0x54a1ce(function(_0x25ccb6,_0x3966a9){const _0x2ce9e4=_0x5c442e;return _0x93be4b(We,Object[_0x2ce9e4(0x31b)]({},_0x25ccb6,{'id':_0x2ce9e4(0x231),'ref':_0x3966a9,'icon':Vi}));});Pt[_0x5c442e(0x27b)]=_0x5c442e(0x249);const Yi=_0x5c442e(0x200),Xi=_0x5c442e(0x2f5),Gi=_0x5c442e(0x352),Ki=_0x5c442e(0x278),zi=_0x5c442e(0x1f8),G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x59f9ef){const _0x1c6667=_0x5c442e;switch(_0x59f9ef){case _0x489ce8[_0x1c6667(0x3d4)]:return _0x1c6667(0x29c);case _0x489ce8[_0x1c6667(0x2b8)]:return'collabStatus.conflict';case _0x489ce8[_0x1c6667(0x3b6)]:return _0x1c6667(0x38b);case _0x489ce8[_0x1c6667(0x252)]:return'collabStatus.notCollab';case _0x489ce8[_0x1c6667(0x363)]:case _0x489ce8['AWAITING_WITH_PENDING']:return _0x1c6667(0x322);case _0x489ce8['SYNCED']:case _0x489ce8[_0x1c6667(0x33d)]:return _0x1c6667(0x2e5);}}function Zi(_0x49bd5f){const _0x5b7527=_0x5c442e,{status$:_0x54510d}=_0x49bd5f,_0x36cb55=_0x5c2835(_0x54510d,_0x489ce8[_0x5b7527(0x252)]),_0x52a986=_0x123f3d(_0x1f5e8a),_0x1fd101=_0x123f3d(_0x5b14fa),_0x348a55=_0x36cb55!==_0x489ce8[_0x5b7527(0x3d4)],_0x1a197b=_0x52a986['t'](Ji(_0x36cb55)),_0x1a2dc9=_0x445f6c(G['onlineStatus'],{[G[_0x5b7527(0x293)]]:_0x348a55,[G['offline']]:!_0x348a55}),_0x57017e=_0x348a55?_0x4b671a(Pt,{}):_0x4b671a(Mt,{}),_0x1529ae=_0x2a76fe(()=>{const _0x5e8741=_0x5b7527;_0x348a55||_0x1fd101[_0x5e8741(0x392)]();},[_0x348a55,_0x1fd101]);function _0x56aca8(){const _0x1143bf=_0x5b7527;return _0x111e0e(_0x1143bf(0x2cf),{'className':_0x445f6c(_0x1a2dc9,_0x1143bf(0x251)),'onClick':_0x1529ae,'children':[_0x4b671a(_0x1143bf(0x2cf),{'className':G[_0x1143bf(0x30e)],'children':_0x57017e}),_0x4b671a('div',{'className':G[_0x1143bf(0x3b5)],'children':_0x1a197b})]});}return _0x348a55?_0x56aca8():_0x4b671a(_0x2726ad,{'title':_0x52a986['t'](_0x5b7527(0x23d)),'children':_0x56aca8()});}var Qi=Object[_0x5c442e(0x382)],qi=(_0x40cc87,_0x9b9e2e,_0x4f1f16,_0x5872d1)=>{const _0x6cd542=_0x5c442e;for(var _0x50c38e=_0x5872d1>0x1?void 0x0:_0x5872d1?Qi(_0x9b9e2e,_0x4f1f16):_0x9b9e2e,_0x3993b4=_0x40cc87[_0x6cd542(0x264)]-0x1,_0x288677;_0x3993b4>=0x0;_0x3993b4--)(_0x288677=_0x40cc87[_0x3993b4])&&(_0x50c38e=_0x288677(_0x50c38e)||_0x50c38e);return _0x50c38e;},q=(_0x138563,_0x239935)=>(_0x338ae5,_0x304892)=>_0x239935(_0x338ae5,_0x304892,_0x138563);let se=class extends _0x5f3f2f{constructor(_0x10171f,_0x342639,_0x449660,_0x223f7c){const _0x4f2f3f=_0x5c442e;super(),_(this,_0x4f2f3f(0x1f7),new _0x16ba86(_0x489ce8[_0x4f2f3f(0x252)])),(this[_0x4f2f3f(0x2fa)]=_0x10171f,this['_injector']=_0x342639,this[_0x4f2f3f(0x328)]=_0x449660,this[_0x4f2f3f(0x332)]=_0x223f7c,this[_0x4f2f3f(0x3ac)](),this['_initStatusListener']());}[_0x5c442e(0x3a9)](){const _0x414c37=_0x5c442e;this[_0x414c37(0x2b1)](this['_univerInstanceService'][_0x414c37(0x334)][_0x414c37(0x2da)](_0x3978d8(()=>{const _0x1ee316=_0x414c37,_0xd1daca=this[_0x1ee316(0x2fa)][_0x1ee316(0x355)]();return _0xd1daca?this['_collaborationController'][_0x1ee316(0x22a)](_0xd1daca[_0x1ee316(0x23f)]()):_0x493a14(null);}),_0x3978d8(_0x2e6001=>_0x2e6001?_0x2e6001[_0x414c37(0x33f)]:_0x493a14(_0x489ce8[_0x414c37(0x252)])))[_0x414c37(0x35d)](_0x4bb606=>{const _0x134f50=_0x414c37;this[_0x134f50(0x1f7)][_0x134f50(0x247)](_0x4bb606);}));}[_0x5c442e(0x3ac)](){const _0x59e745=_0x5c442e;this[_0x59e745(0x2b1)](this[_0x59e745(0x332)]['registerComponent'](_0x2bc1c7[_0x59e745(0x3a1)],()=>_0x475ae0(en({'status$':this['_status$'][_0x59e745(0x3b9)]()}),this[_0x59e745(0x229)])));}};se=qi([q(0x0,_0x1f3f2e),q(0x1,_0x478204(_0x3dbb38)),q(0x2,_0x478204(_0x463191)),q(0x3,_0x48f5d5)],se);function en(_0x66565e){const {status$:_0x1f4d3d}=_0x66565e;return function(){return _0x4b671a(Zi,{'status$':_0x1f4d3d});};}var tn=Object[_0x5c442e(0x382)],sn=(_0x1fa190,_0x227c8d,_0x4451cd,_0x3771d7)=>{const _0x341aad=_0x5c442e;for(var _0x409abb=_0x3771d7>0x1?void 0x0:_0x3771d7?tn(_0x227c8d,_0x4451cd):_0x227c8d,_0x3fef43=_0x1fa190[_0x341aad(0x264)]-0x1,_0x48fee4;_0x3fef43>=0x0;_0x3fef43--)(_0x48fee4=_0x1fa190[_0x3fef43])&&(_0x409abb=_0x48fee4(_0x409abb)||_0x409abb);return _0x409abb;},B=(_0x521cb6,_0x56620f)=>(_0x405a42,_0x1974e7)=>_0x56620f(_0x405a42,_0x1974e7,_0x521cb6);let ie=class extends _0x5f3f2f{constructor(_0x3894ad,_0x32f792,_0xdbfb1f,_0x154ea5,_0x54caa1,_0x4e1057){const _0x71b265=_0x5c442e;super(),this[_0x71b265(0x2e2)]=_0x3894ad,this['_localCacheService']=_0x32f792,this[_0x71b265(0x26b)]=_0xdbfb1f,this[_0x71b265(0x376)]=_0x154ea5,this[_0x71b265(0x29f)]=_0x54caa1,this[_0x71b265(0x290)]=_0x4e1057,this[_0x71b265(0x30a)](),this[_0x71b265(0x34c)]();}[_0x5c442e(0x30a)](){const _0x420ed2=_0x5c442e;this[_0x420ed2(0x2b1)](this[_0x420ed2(0x2e2)][_0x420ed2(0x33e)](()=>{const _0x148ccf=_0x420ed2;if(this[_0x148ccf(0x1ea)][_0x148ccf(0x21a)]['size'])return this[_0x148ccf(0x290)]['t'](_0x148ccf(0x227));}));}[_0x5c442e(0x34c)](){const _0x3dc5f4=_0x5c442e;this['disposeWithMe'](this[_0x3dc5f4(0x26b)][_0x3dc5f4(0x318)][_0x3dc5f4(0x35d)](_0x15c37c=>{const _0x45a7fa=_0x3dc5f4;_0x15c37c['id']===_0x1d287d[_0x45a7fa(0x296)]&&this[_0x45a7fa(0x376)][_0x45a7fa(0x261)]({'type':_0x42e3b7['Warning'],'content':this[_0x45a7fa(0x290)]['t'](_0x45a7fa(0x2dd))}),_0x15c37c['id']===_0x1d287d[_0x45a7fa(0x2c0)]&&this[_0x45a7fa(0x376)][_0x45a7fa(0x261)]({'type':_0x42e3b7['Warning'],'content':this[_0x45a7fa(0x290)]['t'](_0x45a7fa(0x230))}),_0x15c37c['id']===_0x1d287d[_0x45a7fa(0x2be)]&&this[_0x45a7fa(0x29f)]['show']({'title':this[_0x45a7fa(0x290)]['t'](_0x45a7fa(0x2fe)),'content':this['_localeService']['t']('permission.content'),'type':_0x45a7fa(0x260),'duration':0x0}),_0x15c37c['id']===_0x1d287d[_0x45a7fa(0x2b8)]&&this['_messageService'][_0x45a7fa(0x261)]({'type':_0x42e3b7['Error'],'content':this[_0x45a7fa(0x290)]['t'](_0x45a7fa(0x230))+'('+_0x15c37c['data']+')'}),_0x15c37c['id']===_0x1d287d[_0x45a7fa(0x32c)]&&this['_messageService']['show']({'type':_0x42e3b7['Warning'],'content':this[_0x45a7fa(0x290)]['t'](_0x15c37c[_0x45a7fa(0x3b8)]||'')}),_0x15c37c['id']===_0x1d287d[_0x45a7fa(0x2d4)]&&this[_0x45a7fa(0x376)]['show']({'type':_0x42e3b7[_0x45a7fa(0x246)],'content':this['_localeService']['t'](_0x45a7fa(0x28b))}),_0x15c37c['id']===_0x1d287d[_0x45a7fa(0x2f4)]&&this[_0x45a7fa(0x376)][_0x45a7fa(0x261)]({'type':_0x42e3b7[_0x45a7fa(0x3dc)],'content':this['_localeService']['t'](_0x45a7fa(0x236))}),_0x15c37c['id']===_0x1d287d['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x45a7fa(0x376)]['show']({'type':_0x42e3b7[_0x45a7fa(0x3dc)],'content':this[_0x45a7fa(0x290)]['t'](_0x45a7fa(0x27c))});}));}};ie=sn([B(0x0,_0x5dcae0),B(0x1,_0x4d85cc),B(0x2,_0x478204(_0x3e3068)),B(0x3,_0x40cde9),B(0x4,_0x2a0184),B(0x5,_0x478204(_0x1f5e8a))],ie);const nn='collaboration-client-ui.config',st={},wt=_0x306a25(_0x5c442e(0x2ba));var rn=Object[_0x5c442e(0x382)],on=(_0x5d66e7,_0x2386db,_0x16687e,_0x157742)=>{const _0x140ea3=_0x5c442e;for(var _0x481dd8=_0x157742>0x1?void 0x0:_0x157742?rn(_0x2386db,_0x16687e):_0x2386db,_0x48776a=_0x5d66e7[_0x140ea3(0x264)]-0x1,_0x52798e;_0x48776a>=0x0;_0x48776a--)(_0x52798e=_0x5d66e7[_0x48776a])&&(_0x481dd8=_0x52798e(_0x481dd8)||_0x481dd8);return _0x481dd8;},K=(_0xc4ecf1,_0x116cff)=>(_0x1e6eb6,_0x512013)=>_0x116cff(_0x1e6eb6,_0x512013,_0xc4ecf1);let ne=class extends _0x59c25d{constructor(_0x2210ae,_0x5de612,_0x2bc721,_0x7d60d4,_0x290987){const _0x31662e=_0x5c442e;super(),this['_urlService']=_0x2210ae,this['_logService']=_0x5de612,this[_0x31662e(0x3c8)]=_0x2bc721,this[_0x31662e(0x298)]=_0x7d60d4,_0x290987?_0x290987==null||_0x290987[_0x31662e(0x354)]()['then'](()=>this[_0x31662e(0x206)]()):(this[_0x31662e(0x313)]['debug'](_0x31662e(0x1e2),_0x31662e(0x248)),this['_init']());}async[_0x5c442e(0x206)](){const _0x41048b=_0x5c442e,_0x4f2626=this[_0x41048b(0x272)][_0x41048b(0x259)](_0x41048b(0x2b6)),_0x40028e=this[_0x41048b(0x272)][_0x41048b(0x259)](_0x41048b(0x2e3)),_0x2b8596=this[_0x41048b(0x272)][_0x41048b(0x259)](_0x41048b(0x396));if(!_0x4f2626||!_0x40028e){this[_0x41048b(0x313)][_0x41048b(0x321)](_0x41048b(0x1e2),_0x41048b(0x21f));return;}const _0x16cdd9=await this['_dataLoaderService'][_0x41048b(0x245)](_0x4f2626,Number(_0x40028e),_0x2b8596);_0x16cdd9&&_0x16cdd9 instanceof _0xe7e700&&this[_0x41048b(0x2ce)](_0x16cdd9);}async[_0x5c442e(0x2ce)](_0x456040){const _0x5f5511=_0x5c442e;await this['_updateSubUnitFromURLParams'](_0x456040),_0x456040['activeSheet$'][_0x5f5511(0x2da)](_0xd3b1b6(this[_0x5f5511(0x2a2)]))[_0x5f5511(0x35d)](_0x393070=>{_0x393070&&this['_updateURLWithCurrentState'](_0x393070);}),this[_0x5f5511(0x272)]['urlChange$'][_0x5f5511(0x2da)](_0xd3b1b6(this['dispose$']))['subscribe'](()=>this[_0x5f5511(0x2aa)](_0x456040));}[_0x5c442e(0x351)](_0x4b1190,_0x2a80e4=!0x1){const _0x250c27=_0x5c442e,_0x31eac7=this[_0x250c27(0x272)][_0x250c27(0x259)](_0x250c27(0x396));_0x4b1190[_0x250c27(0x2e4)]()!==_0x31eac7&&this[_0x250c27(0x272)]['setParam'](_0x250c27(0x396),_0x4b1190[_0x250c27(0x2e4)](),_0x2a80e4);}async[_0x5c442e(0x2aa)](_0x33b993){const _0x5aef05=_0x5c442e;var _0xdf7642;const _0x24d774=this['_urlService']['getParam']('subunit');if(!_0x24d774||!_0x33b993['getSheetBySheetId'](_0x24d774)){const _0x47fcb2=_0x33b993[_0x5aef05(0x23b)]()[0x0],_0x33ced8=_0x33b993['getSheetBySheetId'](_0x47fcb2);if(!_0x33ced8)return;this[_0x5aef05(0x351)](_0x33ced8,!0x0),await this[_0x5aef05(0x3c8)][_0x5aef05(0x34d)](_0x2dd931['id'],{'unitId':_0x33b993['getUnitId'](),'subUnitId':_0x47fcb2});return;}((_0xdf7642=_0x33b993[_0x5aef05(0x34a)]())==null?void 0x0:_0xdf7642[_0x5aef05(0x2e4)]())!==_0x24d774&&await this[_0x5aef05(0x3c8)][_0x5aef05(0x34d)](_0x2dd931['id'],{'unitId':_0x33b993[_0x5aef05(0x23f)](),'subUnitId':_0x24d774});}};ne=on([K(0x0,wt),K(0x1,_0x483410),K(0x2,_0x254139),K(0x3,_0x478204(_0x58b956)),K(0x4,_0x25cae1(_0x7f2bc6))],ne);var an=Object[_0x5c442e(0x382)],cn=(_0x402c8,_0x54c4a,_0xf1919c,_0x3b2cad)=>{for(var _0x414bd5=_0x3b2cad>0x1?void 0x0:_0x3b2cad?an(_0x54c4a,_0xf1919c):_0x54c4a,_0x2669d8=_0x402c8['length']-0x1,_0x2c9d39;_0x2669d8>=0x0;_0x2669d8--)(_0x2c9d39=_0x402c8[_0x2669d8])&&(_0x414bd5=_0x2c9d39(_0x414bd5)||_0x414bd5);return _0x414bd5;},Ce=(_0x268a20,_0x2cd2c2)=>(_0x191930,_0x1e6f8a)=>_0x2cd2c2(_0x191930,_0x1e6f8a,_0x268a20);let re=class{constructor(_0x45c4c9,_0x2b8373,_0x3b0ba3){const _0x1cff6b=_0x5c442e;this['_injector']=_0x45c4c9,this['_transformService']=_0x2b8373,this[_0x1cff6b(0x306)]=_0x3b0ba3;}[_0x5c442e(0x276)](_0x570f59){const _0x55dba0=_0x5c442e;this[_0x55dba0(0x270)](_0x570f59),this[_0x55dba0(0x31e)](_0x570f59);}[_0x5c442e(0x3da)](_0x2fe35b){const _0x47eaa9=_0x5c442e,{unitID:_0x1054d6}=_0x2fe35b,_0x503130=this['_renderManagerService'][_0x47eaa9(0x28e)](_0x1054d6)[_0x47eaa9(0x3de)](_0x2e5d36),{redoCache:_0x1801b8}=_0x503130[_0x47eaa9(0x367)]();if(_0x1801b8['length']===0x0)return _0x2fe35b;let _0x517a1d=_0x4b4694['deepClone'](_0x2fe35b[_0x47eaa9(0x205)][0x0]);for(let _0x410efc=0x0;_0x410efc<_0x1801b8[_0x47eaa9(0x264)];_0x410efc++){const _0x3918f1={'id':_0x47eaa9(0x24c),'params':{..._0x1801b8[_0x410efc]}},_0x28756e=this[_0x47eaa9(0x35b)]['transformMutation'](_0x517a1d,_0x3918f1,!0x1);if(_0x106b8b(_0x28756e))throw _0x28756e[_0x47eaa9(0x260)];_0x517a1d=_0x28756e[_0x47eaa9(0x233)];}return{..._0x4b4694[_0x47eaa9(0x3e7)](_0x2fe35b),'mutations':[_0x517a1d]};}[_0x5c442e(0x270)](_0x4522e8){const _0x3abbcf=_0x5c442e,{unitID:_0x17acae}=_0x4522e8,_0x45f92d=this[_0x3abbcf(0x306)][_0x3abbcf(0x28e)](_0x17acae)[_0x3abbcf(0x3de)](_0x2e5d36),{undoCache:_0x59d4f0,redoCache:_0xeb26d7}=_0x45f92d[_0x3abbcf(0x367)]();if(_0x59d4f0['length']===0x0||_0xeb26d7['length']===0x0)return;const _0x514b23=[],_0x24abbe=[];let _0x2cf742=_0x4b4694[_0x3abbcf(0x3e7)](_0x4522e8[_0x3abbcf(0x205)][0x0]),_0x1c60ff=_0x4b4694['deepClone'](_0x4522e8[_0x3abbcf(0x205)][0x0]);for(let _0x397843=_0x59d4f0[_0x3abbcf(0x264)]-0x1;_0x397843>=0x0;_0x397843--){const _0x550c6a={'id':_0x3abbcf(0x24c),'params':{..._0x59d4f0[_0x397843]}},_0x48d655={'id':_0x3abbcf(0x24c),'params':{..._0xeb26d7[_0x397843]}},_0x3343ff=this[_0x3abbcf(0x35b)]['transformMutation'](_0x2cf742,_0x550c6a,!0x1),_0x41c187=this[_0x3abbcf(0x35b)][_0x3abbcf(0x2bd)](_0x1c60ff,_0x48d655,!0x1);if(_0x106b8b(_0x3343ff))throw _0x3343ff['error'];if(_0x106b8b(_0x41c187))throw _0x41c187[_0x3abbcf(0x260)];_0x514b23[_0x3abbcf(0x369)](_0x3343ff[_0x3abbcf(0x32d)][_0x3abbcf(0x238)]),_0x24abbe[_0x3abbcf(0x369)](_0x41c187[_0x3abbcf(0x32d)][_0x3abbcf(0x238)]),_0x2cf742=_0x3343ff[_0x3abbcf(0x233)],_0x1c60ff=_0x41c187[_0x3abbcf(0x233)];}_0x45f92d[_0x3abbcf(0x27f)]({'undoCache':_0x514b23,'redoCache':_0x24abbe});}['_transformPreviousActiveRange'](_0x4780eb){const _0x216e4e=_0x5c442e,{unitID:_0x4b03dc}=_0x4780eb,_0x3aa2a9=this[_0x216e4e(0x306)]['getRenderById'](_0x4b03dc)[_0x216e4e(0x3de)](_0x2e5d36),_0x158185=_0x3aa2a9['getActiveRange']();if(_0x158185==null)return;const _0x36c67f=[{'id':_0x216e4e(0x24c),'params':{'unitId':_0x4780eb[_0x216e4e(0x3c6)],'actions':null,'textRanges':[_0x158185]}}],_0x404a30=this[_0x216e4e(0x35b)][_0x216e4e(0x31a)](_0x4780eb,_0x36c67f);if(!_0xd20ae6(_0x404a30))throw _0x404a30[_0x216e4e(0x260)];const _0x2aa47c=_0x404a30['m2Prime'][0x0]['params'][_0x216e4e(0x32b)];Array[_0x216e4e(0x284)](_0x2aa47c)&&_0x2aa47c[_0x216e4e(0x264)]&&_0x3aa2a9['setActiveRange'](_0x2aa47c[0x0]);}};re=cn([Ce(0x0,_0x478204(_0x3dbb38)),Ce(0x1,_0x39ef5a),Ce(0x2,_0x5e1429)],re);var ln=Object[_0x5c442e(0x382)],_n=(_0x56cdab,_0x131c72,_0x22ecb7,_0x43aa50)=>{const _0x259ce0=_0x5c442e;for(var _0xb0b65=_0x43aa50>0x1?void 0x0:_0x43aa50?ln(_0x131c72,_0x22ecb7):_0x131c72,_0x48eed0=_0x56cdab[_0x259ce0(0x264)]-0x1,_0x4d6ab0;_0x48eed0>=0x0;_0x48eed0--)(_0x4d6ab0=_0x56cdab[_0x48eed0])&&(_0xb0b65=_0x4d6ab0(_0xb0b65)||_0xb0b65);return _0xb0b65;},Ee=(_0x33f0ce,_0x3a4dcf)=>(_0x3fef1f,_0x521c56)=>_0x3a4dcf(_0x3fef1f,_0x521c56,_0x33f0ce);let oe=class{constructor(_0x195d19,_0x398da3,_0x37c487){const _0x35d4fd=_0x5c442e;this[_0x35d4fd(0x229)]=_0x195d19,this[_0x35d4fd(0x35b)]=_0x398da3,this['_docStateChangeManagerService']=_0x37c487;}[_0x5c442e(0x33a)](_0x99e19){const _0x2d1803=_0x5c442e;this[_0x2d1803(0x375)](_0x99e19);}['transformRemoteChangeset'](_0x41f680){const _0xa7a35d=_0x5c442e,{unitID:_0x5bbe55}=_0x41f680,{collaboration:_0x43e8b7}=this[_0xa7a35d(0x312)][_0xa7a35d(0x3af)](_0x5bbe55);if(_0x43e8b7[_0xa7a35d(0x264)]===0x0)return _0x41f680;let _0x298175=_0x4b4694['deepClone'](_0x41f680[_0xa7a35d(0x205)][0x0]);for(let _0x5ce88b=0x0;_0x5ce88b<_0x43e8b7[_0xa7a35d(0x264)];_0x5ce88b++){const _0x5a6cf7={'id':_0xa7a35d(0x24c),'params':{'unitId':_0x43e8b7[_0x5ce88b][_0xa7a35d(0x35e)],..._0x43e8b7[_0x5ce88b]['redoState']}},_0x2cf3f6=this[_0xa7a35d(0x35b)]['transformMutation'](_0x298175,_0x5a6cf7,!0x1);if(_0x106b8b(_0x2cf3f6))throw _0x2cf3f6[_0xa7a35d(0x260)];_0x298175=_0x2cf3f6['m1Prime'];}return{..._0x4b4694[_0xa7a35d(0x3e7)](_0x41f680),'mutations':[_0x298175]};}[_0x5c442e(0x375)](_0x308221){const _0xeafb2b=_0x5c442e,{unitID:_0x44376a}=_0x308221,{history:_0x1946ae,collaboration:_0x1e8508}=this[_0xeafb2b(0x312)][_0xeafb2b(0x3af)](_0x44376a);if(_0x1946ae['length']===0x0&&_0x1e8508[_0xeafb2b(0x264)]===0x0)return;const _0x109f56=[],_0x54a53e=[];let _0x3e444d=_0x4b4694[_0xeafb2b(0x3e7)](_0x308221[_0xeafb2b(0x205)][0x0]),_0x43f184=_0x4b4694['deepClone'](_0x308221[_0xeafb2b(0x205)][0x0]);for(let _0x3362c2=_0x1946ae['length']-0x1;_0x3362c2>=0x0;_0x3362c2--){const _0x4804da={'id':_0xeafb2b(0x24c),'params':{'unitId':_0x1946ae[_0x3362c2][_0xeafb2b(0x35e)],..._0x1946ae[_0x3362c2][_0xeafb2b(0x324)]}},_0x5f370d={'id':_0xeafb2b(0x24c),'params':{'unitId':_0x1946ae[_0x3362c2]['unitId'],..._0x1946ae[_0x3362c2]['redoState']}},_0x2d2d4c=this[_0xeafb2b(0x35b)][_0xeafb2b(0x2bd)](_0x3e444d,_0x4804da,!0x1),_0x76077=this['_transformService']['transformMutation'](_0x43f184,_0x5f370d,!0x1);if(_0x106b8b(_0x2d2d4c))throw _0x2d2d4c[_0xeafb2b(0x260)];if(_0x106b8b(_0x76077))throw _0x76077[_0xeafb2b(0x260)];_0x109f56[_0xeafb2b(0x369)]({..._0x1946ae[_0x3362c2],'undoState':_0x2d2d4c[_0xeafb2b(0x32d)][_0xeafb2b(0x238)],'redoState':_0x76077[_0xeafb2b(0x32d)][_0xeafb2b(0x238)]}),_0x3e444d=_0x2d2d4c[_0xeafb2b(0x233)],_0x43f184=_0x76077[_0xeafb2b(0x233)];}_0x3e444d=_0x4b4694[_0xeafb2b(0x3e7)](_0x308221[_0xeafb2b(0x205)][0x0]),_0x43f184=_0x4b4694['deepClone'](_0x308221['mutations'][0x0]);for(let _0x3c8bbe=_0x1e8508[_0xeafb2b(0x264)]-0x1;_0x3c8bbe>=0x0;_0x3c8bbe--){const _0x3545d5={'id':_0xeafb2b(0x24c),'params':{'unitId':_0x1e8508[_0x3c8bbe][_0xeafb2b(0x35e)],..._0x1e8508[_0x3c8bbe]['undoState']}},_0x5d1752={'id':_0xeafb2b(0x24c),'params':{'unitId':_0x1e8508[_0x3c8bbe]['unitId'],..._0x1e8508[_0x3c8bbe][_0xeafb2b(0x2a3)]}},_0x47de4f=this['_transformService'][_0xeafb2b(0x2bd)](_0x3e444d,_0x3545d5,!0x1),_0x1f9310=this[_0xeafb2b(0x35b)][_0xeafb2b(0x2bd)](_0x43f184,_0x5d1752,!0x1);if(_0x106b8b(_0x47de4f))throw _0x47de4f[_0xeafb2b(0x260)];if(_0x106b8b(_0x1f9310))throw _0x1f9310['error'];_0x54a53e[_0xeafb2b(0x369)]({..._0x1e8508[_0x3c8bbe],'undoState':_0x47de4f[_0xeafb2b(0x32d)][_0xeafb2b(0x238)],'redoState':_0x1f9310[_0xeafb2b(0x32d)]['params']}),_0x3e444d=_0x47de4f[_0xeafb2b(0x233)],_0x43f184=_0x1f9310[_0xeafb2b(0x233)];}this[_0xeafb2b(0x312)]['setStateCache'](_0x44376a,{'history':_0x109f56,'collaboration':_0x54a53e});}};oe=_n([Ee(0x0,_0x478204(_0x3dbb38)),Ee(0x1,_0x39ef5a),Ee(0x2,_0x478204(_0x49674d))],oe);var hn=Object[_0x5c442e(0x382)],un=(_0x13c30f,_0xd0f7e3,_0x26ebbb,_0x177a1b)=>{for(var _0x4b1118=_0x177a1b>0x1?void 0x0:_0x177a1b?hn(_0xd0f7e3,_0x26ebbb):_0xd0f7e3,_0x36ea01=_0x13c30f['length']-0x1,_0x194058;_0x36ea01>=0x0;_0x36ea01--)(_0x194058=_0x13c30f[_0x36ea01])&&(_0x4b1118=_0x194058(_0x4b1118)||_0x4b1118);return _0x4b1118;},it=(_0x2481d5,_0x5b735a)=>(_0x58a578,_0x4c4006)=>_0x5b735a(_0x58a578,_0x4c4006,_0x2481d5);let ae=class{constructor(_0x233bda,_0x294646){const _0x5e99b0=_0x5c442e;this[_0x5e99b0(0x229)]=_0x233bda,this[_0x5e99b0(0x35b)]=_0x294646;}['transformSelections'](_0x2f2fd9){const _0x293399=_0x5c442e;var _0x2f201c;const _0x5b9277=this['_injector'][_0x293399(0x2ad)](_0x3af7b0),_0x1d78a8=(_0x2f201c=_0x5b9277[_0x293399(0x29e)]())!=null?_0x2f201c:[];if(_0x1d78a8[_0x293399(0x264)]===0x0)return;const _0xe0f9fb=_0x2f2fd9['unitID'],_0x165ca5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe0f9fb,'actions':null,'textRanges':_0x1d78a8}}],_0x2a36b5=this[_0x293399(0x35b)][_0x293399(0x31a)](_0x2f2fd9,_0x165ca5);if(!_0xd20ae6(_0x2a36b5))throw _0x2a36b5[_0x293399(0x260)];const _0x2f47e4=_0x2a36b5[_0x293399(0x32d)][0x0][_0x293399(0x238)][_0x293399(0x32b)];Array[_0x293399(0x284)](_0x2f47e4)&&_0x2f47e4[_0x293399(0x264)]&&_0x5b9277[_0x293399(0x30d)](_0x2f47e4,{'unitId':_0xe0f9fb,'subUnitId':_0xe0f9fb},!0x1);}};ae=un([it(0x0,_0x478204(_0x3dbb38)),it(0x1,_0x39ef5a)],ae);var dn=Object[_0x5c442e(0x382)],fn=(_0x118ff3,_0x7cf3b0,_0x17e697,_0x592d0e)=>{const _0x2b57e3=_0x5c442e;for(var _0x313454=_0x592d0e>0x1?void 0x0:_0x592d0e?dn(_0x7cf3b0,_0x17e697):_0x7cf3b0,_0xcb5310=_0x118ff3[_0x2b57e3(0x264)]-0x1,_0x7a0866;_0xcb5310>=0x0;_0xcb5310--)(_0x7a0866=_0x118ff3[_0xcb5310])&&(_0x313454=_0x7a0866(_0x313454)||_0x313454);return _0x313454;},M=(_0xae3a24,_0x188635)=>(_0x41b81c,_0x18cd84)=>_0x188635(_0x41b81c,_0x18cd84,_0xae3a24);let ce=class extends _0x5f3f2f{constructor(_0x4a1313,_0x298b11,_0x354a6d,_0x1e4910,_0x5de720,_0x4a842b,_0x4e1d51,_0x4b16f1){const _0x48fc8a=_0x5c442e;super(),_(this,_0x48fc8a(0x1f7),new _0x16ba86(_0x489ce8[_0x48fc8a(0x252)])),(this[_0x48fc8a(0x312)]=_0x4a1313,this[_0x48fc8a(0x328)]=_0x298b11,this[_0x48fc8a(0x2ee)]=_0x354a6d,this[_0x48fc8a(0x1f1)]=_0x1e4910,this['_docTransformSelectionsService']=_0x5de720,this[_0x48fc8a(0x1e7)]=_0x4a842b,this[_0x48fc8a(0x376)]=_0x4e1d51,this[_0x48fc8a(0x290)]=_0x4b16f1,this[_0x48fc8a(0x2a8)]());}[_0x5c442e(0x2a8)](){const _0x36752f=_0x5c442e;this[_0x36752f(0x2b1)](this[_0x36752f(0x328)][_0x36752f(0x1f5)][_0x36752f(0x35d)](_0x530618=>{const _0x20b658=_0x36752f,_0xb00296=this[_0x20b658(0x312)][_0x20b658(0x3ed)][_0x20b658(0x35d)](_0x45f055=>{const _0x568bf3=_0x20b658;if(_0x45f055==null)return;const {unitId:_0x52a7c0,redoState:_0x1ac2c7,commandId:_0x58ed45}=_0x45f055;if(_0x52a7c0!==_0x530618[_0x568bf3(0x3c6)])return;const _0x164fa1={'id':_0x58ed45,'type':_0x909ee7['MUTATION'],'params':{'unitId':_0x52a7c0,'actions':_0x1ac2c7[_0x568bf3(0x393)],'textRanges':null}};_0x530618[_0x568bf3(0x3ca)](_0x164fa1);});if(_0x530618['disposeWithMe'](_0xb00296),_0x530618 instanceof _0x28b913){const _0x337fa5={'onTransformIME':_0x4413a3=>this[_0x20b658(0x2ee)][_0x20b658(0x276)](_0x4413a3),'onTransformState':_0x4303a1=>this[_0x20b658(0x1f1)][_0x20b658(0x33a)](_0x4303a1),'onTransformSelections':_0x3f9874=>this[_0x20b658(0x297)][_0x20b658(0x2dc)](_0x3f9874),'onSyncEditingCollabCursor':_0x3d61c3=>this[_0x20b658(0x1e7)][_0x20b658(0x204)](_0x3d61c3),'onTransformRemoteChangesetByIMECache':_0x50ce39=>this[_0x20b658(0x2ee)][_0x20b658(0x3da)](_0x50ce39),'onTransformRemoteChangesetByStateCache':_0x59b856=>this[_0x20b658(0x1f1)][_0x20b658(0x3da)](_0x59b856)};_0x530618[_0x20b658(0x37e)](_0x337fa5);}}));}};ce=fn([M(0x0,_0x478204(_0x49674d)),M(0x1,_0x478204(_0x463191)),M(0x2,_0x478204(re)),M(0x3,_0x478204(oe)),M(0x4,_0x478204(ae)),M(0x5,_0x478204(je)),M(0x6,_0x40cde9),M(0x7,_0x478204(_0x1f5e8a))],ce);var Sn=Object[_0x5c442e(0x382)],mn=(_0x3ccad7,_0x2866ad,_0xf5d7ae,_0x553464)=>{const _0xa13be6=_0x5c442e;for(var _0x1c20b=_0x553464>0x1?void 0x0:_0x553464?Sn(_0x2866ad,_0xf5d7ae):_0x2866ad,_0x1a05c8=_0x3ccad7[_0xa13be6(0x264)]-0x1,_0x4b5855;_0x1a05c8>=0x0;_0x1a05c8--)(_0x4b5855=_0x3ccad7[_0x1a05c8])&&(_0x1c20b=_0x4b5855(_0x1c20b)||_0x1c20b);return _0x1c20b;},be=(_0xf19bab,_0x2f071d)=>(_0x495567,_0x4199e9)=>_0x2f071d(_0x495567,_0x4199e9,_0xf19bab);let Ae=class extends _0x5f3f2f{constructor(_0x341d34,_0x58466d,_0x443685){const _0x352401=_0x5c442e;super(),_(this,_0x352401(0x25b),new Map()),_(this,'_saveTaskMap',new Map()),_(this,'_disabled',!0x1),(this[_0x352401(0x207)]=_0x341d34,this[_0x352401(0x216)]=_0x58466d,this[_0x352401(0x3d6)]=_0x443685);}[_0x5c442e(0x268)](){const _0x8e636=_0x5c442e;this[_0x8e636(0x237)]=!0x0;}[_0x5c442e(0x398)](){const _0x53fbfd=_0x5c442e;this[_0x53fbfd(0x237)]=!0x1;}get[_0x5c442e(0x21a)](){const _0x133ee7=_0x5c442e;return this[_0x133ee7(0x20a)];}[_0x5c442e(0x333)](){const _0x59f1a5=_0x5c442e;this[_0x59f1a5(0x27a)]()['then'](()=>super['dispose']());}async[_0x5c442e(0x286)](_0x201969){const _0x33c445=_0x5c442e;return this[_0x33c445(0x237)]?null:this[_0x33c445(0x216)][_0x33c445(0x3eb)](_0x4bb7b6(_0x201969));}async[_0x5c442e(0x214)](_0x58ba09,_0x33b599){const _0x2f2505=_0x5c442e;return!!this['_localStorageService'][_0x2f2505(0x342)](_0x58ba09,_0x33b599);}[_0x5c442e(0x2f8)](_0x31bf5b,_0x2563b8,_0x19bc24,_0xa78c73){const _0x37e697=_0x5c442e,_0x168384=this['_revisionService'][_0x37e697(0x30b)](_0x31bf5b);this[_0x37e697(0x25b)][_0x37e697(0x2e8)](_0x31bf5b,{'unitID':_0x31bf5b,'type':_0x2563b8,'awaitingChangeset':_0x19bc24,'mutations':_0xa78c73,'rev':_0x168384}),this['_saveTaskMap'][_0x37e697(0x37b)](_0x31bf5b)||this[_0x37e697(0x224)](_0x31bf5b);}[_0x5c442e(0x224)](_0x4c7b45){const _0x4a8f32=_0x5c442e,_0x240f49=this[_0x4a8f32(0x2b2)]();_0x240f49===0x0?this[_0x4a8f32(0x2cd)](_0x4c7b45):this['_saveTaskMap']['set'](_0x4c7b45,setTimeout(()=>this[_0x4a8f32(0x2cd)](_0x4c7b45),_0x240f49));}['_getSaveTimeout'](){const _0x483fd1=_0x5c442e;var _0x4ba09c;return(_0x4ba09c=this[_0x483fd1(0x207)][_0x483fd1(0x295)](_0x59baa0))!=null?_0x4ba09c:_0x1fe3f6;}[_0x5c442e(0x2cd)](_0x4e4da8){const _0x33f376=_0x5c442e,_0x416af6=this[_0x33f376(0x20a)][_0x33f376(0x2ad)](_0x4e4da8);return _0x416af6!==void 0x0&&window['clearTimeout'](_0x416af6),this[_0x33f376(0x216)][_0x33f376(0x342)](_0x4bb7b6(_0x4e4da8),this['_cachedData'][_0x33f376(0x2ad)](_0x4e4da8))['then'](()=>this[_0x33f376(0x20a)]['delete'](_0x4e4da8));}async[_0x5c442e(0x27a)](){const _0x4deb4e=_0x5c442e,_0xd751cd=[];this[_0x4deb4e(0x20a)][_0x4deb4e(0x2e1)]((_0x5e50fb,_0x1886a8)=>{const _0x4f320e=_0x4deb4e;window[_0x4f320e(0x1e1)](_0x5e50fb),_0xd751cd['push'](this['_saveCache'](_0x1886a8)['then'](()=>{const _0x1c0261=_0x4f320e;this[_0x1c0261(0x20a)]['delete'](_0x1886a8);}));}),await Promise[_0x4deb4e(0x2d1)](_0xd751cd);}};Ae=mn([be(0x0,_0xa465bd),be(0x1,_0x74b4a8),be(0x2,_0x478204(_0x8a1b34))],Ae);class gn extends _0x59c25d{constructor(){const _0x5a89c7=_0x5c442e;super(),_(this,_0x5a89c7(0x327)),this[_0x5a89c7(0x327)]=_0x3451be(window,'popstate')[_0x5a89c7(0x2da)](_0xd3b1b6(this[_0x5a89c7(0x2a2)]),_0x5ac987(0x1),_0x4000dc(void 0x0));}[_0x5c442e(0x365)](_0x5aac95,_0x577fbb,_0x442eed=!0x1){const _0x417334=_0x5c442e,_0x4f19ce=new URL(window[_0x417334(0x36b)][_0x417334(0x211)]);_0x4f19ce[_0x417334(0x358)]['set'](_0x5aac95,_0x577fbb),_0x442eed?window['history'][_0x417334(0x225)]('','',_0x4f19ce['toString']()):window[_0x417334(0x3d8)][_0x417334(0x3d7)]('','',_0x4f19ce['toString']());}[_0x5c442e(0x395)](_0x5683a6,_0x214488=!0x1){const _0x5bf807=_0x5c442e,_0x2d6ad5=new URL(window['location'][_0x5bf807(0x211)]);_0x2d6ad5[_0x5bf807(0x358)][_0x5bf807(0x25d)](_0x5683a6),_0x214488?window[_0x5bf807(0x3d8)][_0x5bf807(0x225)]('','',_0x2d6ad5[_0x5bf807(0x2bb)]()):window[_0x5bf807(0x3d8)][_0x5bf807(0x3d7)]('','',_0x2d6ad5['toString']());}[_0x5c442e(0x259)](_0x52867d){const _0x274af0=_0x5c442e;var _0x2d033d;return(_0x2d033d=new URL(window[_0x274af0(0x36b)][_0x274af0(0x211)])[_0x274af0(0x358)][_0x274af0(0x2ad)](_0x52867d))!=null?_0x2d033d:void 0x0;}}var vn=Object['defineProperty'],In=Object['getOwnPropertyDescriptor'],pn=(_0x1c600d,_0x1d6afd,_0x2e0ebf)=>_0x1d6afd in _0x1c600d?vn(_0x1c600d,_0x1d6afd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2e0ebf}):_0x1c600d[_0x1d6afd]=_0x2e0ebf,Cn=(_0x27747b,_0x5e55b1,_0x5681ff,_0x475239)=>{const _0x3a6fee=_0x5c442e;for(var _0x5b839d=_0x475239>0x1?void 0x0:_0x475239?In(_0x5e55b1,_0x5681ff):_0x5e55b1,_0x42d5ef=_0x27747b[_0x3a6fee(0x264)]-0x1,_0x1160fe;_0x42d5ef>=0x0;_0x42d5ef--)(_0x1160fe=_0x27747b[_0x42d5ef])&&(_0x5b839d=_0x1160fe(_0x5b839d)||_0x5b839d);return _0x5b839d;},Oe=(_0x1e2e24,_0x428db4)=>(_0x3c85a8,_0x379857)=>_0x428db4(_0x3c85a8,_0x379857,_0x1e2e24),En=(_0x1dc7c9,_0x20fb87,_0x37b6aa)=>pn(_0x1dc7c9,_0x20fb87+'',_0x37b6aa);const bn=_0x5c442e(0x22b);let ye=class extends _0x688c44{constructor(_0x3026d3=st,_0x4ba276,_0x21028d,_0x9b704e){const _0x4d92b8=_0x5c442e;super(),this[_0x4d92b8(0x33c)]=_0x3026d3,this['_renderManagerService']=_0x4ba276,this['_injector']=_0x21028d,this[_0x4d92b8(0x207)]=_0x9b704e;const {..._0x31cdad}=_0x1ad029({},st,this[_0x4d92b8(0x33c)]);this[_0x4d92b8(0x207)][_0x4d92b8(0x243)](nn,_0x31cdad);}['onStarting'](){const _0x147b0b=_0x5c442e;this['_registerDependencies'](),this[_0x147b0b(0x25e)]();}[_0x5c442e(0x331)](){const _0x5d45c9=_0x5c442e;this[_0x5d45c9(0x343)]();}['_registerDependencies'](){const _0x14cf53=_0x5c442e;var _0x5355e4;const _0x14c78f=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x27cb43,{'useClass':_0x56e66a}],[_0x4d85cc,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x52ef03(this[_0x14cf53(0x229)],_0x4aa8dc(_0x14c78f,(_0x5355e4=this[_0x14cf53(0x33c)])==null?void 0x0:_0x5355e4[_0x14cf53(0x2b9)]));}[_0x5c442e(0x343)](){const _0x44bbcd=_0x5c442e;this[_0x44bbcd(0x2b1)](this['_renderManagerService']['registerRenderModule'](_0x297e5f[_0x44bbcd(0x3b1)],[Ue])),this[_0x44bbcd(0x2b1)](this[_0x44bbcd(0x306)]['registerRenderModule'](_0x297e5f['UNIVER_SHEET'],[Le]));}[_0x5c442e(0x25e)](){const _0x29048d=_0x5c442e;_0x7bb5e7(this[_0x29048d(0x229)],[[H],[se],[ce],[ie],[ne]]);}};En(ye,_0x5c442e(0x3dd),bn),ye=Cn([_0x20dc6a(_0x3c74ab),Oe(0x1,_0x5e1429),Oe(0x2,_0x478204(_0x3dbb38)),Oe(0x3,_0xa465bd)],ye);var On=Object['getOwnPropertyDescriptor'],Tn=(_0xa2ae92,_0x1d0e62,_0x426d5e,_0x4ab885)=>{const _0x2bd086=_0x5c442e;for(var _0x5c762f=_0x4ab885>0x1?void 0x0:_0x4ab885?On(_0x1d0e62,_0x426d5e):_0x1d0e62,_0x3c8181=_0xa2ae92[_0x2bd086(0x264)]-0x1,_0x3f9ba3;_0x3c8181>=0x0;_0x3c8181--)(_0x3f9ba3=_0xa2ae92[_0x3c8181])&&(_0x5c762f=_0x3f9ba3(_0x5c762f)||_0x5c762f);return _0x5c762f;},z=(_0x343cd6,_0x438cae)=>(_0x4b32ef,_0x3d4e39)=>_0x438cae(_0x4b32ef,_0x3d4e39,_0x343cd6);let nt=class extends _0x5632af{constructor(_0xe496fb,_0x5d15a7,_0x34189e,_0x233356,_0x24789c){super(_0xe496fb,_0x5d15a7,_0x34189e,_0x233356,_0x24789c);}async[_0x5c442e(0x22d)](_0x634e51){const _0x59b958=_0x5c442e,_0x12c3d5=await this[_0x59b958(0x34b)](),_0x54356f=this[_0x59b958(0x273)](_0x634e51,_0x12c3d5);return this['_doCreateSocket'](_0x54356f);}['_createSocketURL'](_0x4f341e,_0x1a0b4f){const _0x30d254=_0x5c442e,_0x5b24b8=typeof window>'u'?new URL(_0x4f341e):new URL(_0x4f341e,window[_0x30d254(0x36b)][_0x30d254(0x39e)]);_0x5b24b8[_0x30d254(0x358)][_0x30d254(0x2e8)](_0x30d254(0x37c),_0x1a0b4f);const _0x5d56b1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x30d254(0x36b)][_0x30d254(0x3c5)]);return _0x5d56b1['get'](_0x30d254(0x2f6))&&_0x5b24b8['searchParams'][_0x30d254(0x2e8)](_0x30d254(0x2f6),_0x5d56b1[_0x30d254(0x2ad)](_0x30d254(0x2f6))),_0x5b24b8['toString']();}async[_0x5c442e(0x34b)](){const _0x1e7b10=_0x5c442e;var _0x31f39a,_0x1bfa38,_0x593bdd;const _0x147325=this[_0x1e7b10(0x207)][_0x1e7b10(0x295)](_0x516fad),_0x421033=(_0x31f39a=_0x147325==null?void 0x0:_0x147325[_0x1e7b10(0x1f9)])!=null?_0x31f39a:_0x105910;return(_0x593bdd=(_0x1bfa38=(await this[_0x1e7b10(0x1eb)][_0x1e7b10(0x2ad)](_0x421033,{'headers':{'Content-Type':_0x1e7b10(0x221)}}))[_0x1e7b10(0x2ed)])==null?void 0x0:_0x1bfa38[_0x1e7b10(0x2b5)])!=null?_0x593bdd:'';}};nt=Tn([z(0x0,_0x478204(_0x3dbb38)),z(0x1,_0x478204(_0xdc1343)),z(0x2,_0xa465bd),z(0x3,_0x483410),z(0x4,_0x43b01a)],nt);const rt=0x7530,ot=_0x5c442e(0x209);class Gn extends _0x5f3f2f{constructor(){const _0x4c6fb7=_0x5c442e;super(),_(this,_0x4c6fb7(0x1fb),_0x4e0c9c()),_(this,_0x4c6fb7(0x242),new Set()),_(this,_0x4c6fb7(0x3e2),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x4c6fb7(0x338),new Map()),_(this,_0x4c6fb7(0x394),new Map()),this[_0x4c6fb7(0x206)]();}['dispose'](){const _0x53e0ec=_0x5c442e;super[_0x53e0ec(0x333)](),this[_0x53e0ec(0x338)][_0x53e0ec(0x2e1)]((_0x432834,_0x535348)=>this['_removeClearOtherTimer'](_0x535348)),this[_0x53e0ec(0x24f)]&&window['clearInterval'](this[_0x53e0ec(0x24f)]);}[_0x5c442e(0x23c)](_0x3c926d){const _0x5c4ea3=_0x5c442e;return this['_ensureSubject'](_0x3c926d)[_0x5c4ea3(0x2da)](_0x1da516());}['editingUnit'](_0x447166){const _0x37a803=_0x5c442e;this['_selfUnitIDs']['size']===0x0&&this[_0x37a803(0x22f)](),this[_0x37a803(0x242)]['add'](_0x447166),this[_0x37a803(0x373)]({'type':0x0,'memberID':this[_0x37a803(0x1fb)],'unitIDs':[_0x447166],'isForwarded':!0x1});}[_0x5c442e(0x2c2)](_0xab2d3b){const _0x30bc05=_0x5c442e;this[_0x30bc05(0x242)][_0x30bc05(0x25d)](_0xab2d3b),this[_0x30bc05(0x242)]['size']===0x0&&this[_0x30bc05(0x24f)]&&window[_0x30bc05(0x265)](this[_0x30bc05(0x24f)]);}[_0x5c442e(0x206)](){const _0x5cd9e7=_0x5c442e;this[_0x5cd9e7(0x2b1)](_0x1a0025(_0x3451be(window,_0x5cd9e7(0x23a))[_0x5cd9e7(0x35d)](_0xb835da=>{const _0x4486fb=_0x5cd9e7;if(_0xb835da[_0x4486fb(0x379)]!==ot||!_0xb835da[_0x4486fb(0x3c9)])return;const _0x1d9bf1=JSON['parse'](_0xb835da[_0x4486fb(0x3c9)]);this['_handleEvent'](_0x1d9bf1);}))),window[_0x5cd9e7(0x2a7)](_0x5cd9e7(0x3d0),()=>this[_0x5cd9e7(0x373)]({'type':0x1,'memberID':this[_0x5cd9e7(0x1fb)],'unitIDs':Array[_0x5cd9e7(0x271)](this['_selfUnitIDs'])}));}[_0x5c442e(0x2c9)](_0x4bfde4){const _0x412fb8=_0x5c442e;switch(_0x4bfde4['type']){case 0x0:this['_handleJoinEvent'](_0x4bfde4);break;case 0x1:this[_0x412fb8(0x319)](_0x4bfde4);break;case 0x2:this[_0x412fb8(0x346)](_0x4bfde4);break;}}['_handleJoinEvent'](_0x296350){const _0x2ce2e2=_0x5c442e,{unitIDs:_0x38312c,memberID:_0x44db40,isForwarded:_0x2108f5}=_0x296350;_0x38312c['forEach'](_0x1bf8ac=>{const _0x38beb1=_0x41de;if(!_0x2108f5&&this[_0x38beb1(0x3e2)][_0x38beb1(0x37b)](_0x1bf8ac)&&this[_0x38beb1(0x35f)](_0x1bf8ac)[_0x38beb1(0x247)](_0x2cb0a2[_0x38beb1(0x302)]),!this['_unitOnClients']['has'](_0x1bf8ac)||!this[_0x38beb1(0x3e2)][_0x38beb1(0x2ad)](_0x1bf8ac)[_0x38beb1(0x37b)](_0x44db40)){const _0x5b1ad2=this[_0x38beb1(0x3e2)][_0x38beb1(0x2ad)](_0x1bf8ac)||new Set();_0x5b1ad2[_0x38beb1(0x3e6)](_0x44db40),this[_0x38beb1(0x3e2)][_0x38beb1(0x2e8)](_0x1bf8ac,_0x5b1ad2),this[_0x38beb1(0x1fa)](_0x44db40);}}),_0x2108f5||this['_send']({'type':0x0,'memberID':this[_0x2ce2e2(0x1fb)],'unitIDs':[...this[_0x2ce2e2(0x242)]],'isForwarded':!0x0});}[_0x5c442e(0x1fa)](_0x36e80f){const _0x262b35=_0x5c442e;this['_removeClearOtherTimer'](_0x36e80f);const _0x3df30a=window['setTimeout'](()=>{const _0x2ec37c=_0x41de;this[_0x2ec37c(0x3e2)][_0x2ec37c(0x2e1)](_0x5bb145=>{_0x5bb145['delete'](_0x36e80f);});},rt*0x2);this[_0x262b35(0x338)][_0x262b35(0x2e8)](_0x36e80f,_0x3df30a);}[_0x5c442e(0x2ef)](_0x1fa231){const _0x58cb3e=_0x5c442e;if(this[_0x58cb3e(0x338)]['has'](_0x1fa231)){const _0x535998=this[_0x58cb3e(0x338)]['get'](_0x1fa231);_0x535998&&window[_0x58cb3e(0x1e1)](_0x535998),this[_0x58cb3e(0x338)]['set'](_0x1fa231,null);}}[_0x5c442e(0x319)](_0x18b9c4){const _0x1c6820=_0x5c442e,{memberID:_0x2871f0,unitIDs:_0x5236ae}=_0x18b9c4;_0x5236ae['forEach'](_0x392333=>{const _0x83b03e=_0x41de;var _0x4bddae;const _0x2c170b=this['_unitOnClients'][_0x83b03e(0x2ad)](_0x392333);_0x2c170b&&(_0x2c170b[_0x83b03e(0x25d)](_0x2871f0),(_0x4bddae=this[_0x83b03e(0x35f)](_0x392333))==null||_0x4bddae['next'](_0x2c170b['size']===0x0?_0x2cb0a2[_0x83b03e(0x3a8)]:_0x2cb0a2[_0x83b03e(0x302)]));}),this[_0x1c6820(0x2ef)](_0x2871f0);}[_0x5c442e(0x346)](_0x316977){const _0x3f6a02=_0x5c442e;this['_scheduleClearOtherTimer'](_0x316977[_0x3f6a02(0x35a)]);}[_0x5c442e(0x373)](_0x3a738a){const _0x11a0c3=_0x5c442e;localStorage['setItem'](ot,JSON[_0x11a0c3(0x2c8)](_0x3a738a));}[_0x5c442e(0x22f)](){const _0x1c9b39=_0x5c442e;this[_0x1c9b39(0x24f)]=window[_0x1c9b39(0x3c1)](()=>{const _0x46404e=_0x1c9b39;this[_0x46404e(0x373)]({'type':0x2,'memberID':this[_0x46404e(0x1fb)]});},rt);}[_0x5c442e(0x35f)](_0x3e02db){const _0x21ae7a=_0x5c442e;return this['_unitStatus'][_0x21ae7a(0x37b)](_0x3e02db)||this[_0x21ae7a(0x394)]['set'](_0x3e02db,new _0x16ba86(_0x2cb0a2[_0x21ae7a(0x3a8)])),this['_unitStatus'][_0x21ae7a(0x2ad)](_0x3e02db);}}var Ut=(_0x24d838=>(_0x24d838[_0x24d838['UNDEFINED']=0x0]=_0x5c442e(0x390),_0x24d838[_0x24d838['OK']=0x1]='OK',_0x24d838[_0x24d838[_0x5c442e(0x3b7)]=0x2]='INTERNAL_ERROR',_0x24d838[_0x24d838[_0x5c442e(0x2be)]=0x3]=_0x5c442e(0x2be),_0x24d838[_0x24d838[_0x5c442e(0x3be)]=0x4]=_0x5c442e(0x3be),_0x24d838[_0x24d838[_0x5c442e(0x2f1)]=0x5]=_0x5c442e(0x2f1),_0x24d838[_0x24d838[_0x5c442e(0x202)]=0x6]=_0x5c442e(0x202),_0x24d838[_0x24d838['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x24d838[_0x24d838[_0x5c442e(0x3d2)]=0x8]='TOO_MANY_REQUESTS',_0x24d838[_0x24d838['COMPLETION_FINISHED']=0x9]=_0x5c442e(0x2fd),_0x24d838[_0x24d838[_0x5c442e(0x304)]=0xa]=_0x5c442e(0x304),_0x24d838[_0x24d838['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5c442e(0x277),_0x24d838[_0x24d838[_0x5c442e(0x275)]=0x1771]=_0x5c442e(0x275),_0x24d838[_0x24d838[_0x5c442e(0x21e)]=0x1772]=_0x5c442e(0x21e),_0x24d838[_0x24d838[_0x5c442e(0x2b3)]=0x1773]=_0x5c442e(0x2b3),_0x24d838[_0x24d838['APPLY_REJECT']=0x1b59]=_0x5c442e(0x378),_0x24d838[_0x24d838['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5c442e(0x2fb),_0x24d838[_0x24d838[_0x5c442e(0x345)]=0x1b5b]=_0x5c442e(0x345),_0x24d838[_0x24d838['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5c442e(0x3bb),_0x24d838[_0x24d838[_0x5c442e(0x24b)]=0x1b5d]=_0x5c442e(0x24b),_0x24d838[_0x24d838[_0x5c442e(0x294)]=0x1f41]=_0x5c442e(0x294),_0x24d838[_0x24d838['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5c442e(0x203),_0x24d838[_0x24d838[_0x5c442e(0x3c3)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x24d838[_0x24d838[_0x5c442e(0x2e7)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x24d838[_0x24d838[_0x5c442e(0x315)]=0x232c]=_0x5c442e(0x315),_0x24d838[_0x24d838[_0x5c442e(0x3ee)]=0x232d]=_0x5c442e(0x3ee),_0x24d838[_0x24d838[_0x5c442e(0x25a)]=0x2711]=_0x5c442e(0x25a),_0x24d838[_0x24d838[_0x5c442e(0x2ac)]=0x2712]=_0x5c442e(0x2ac),_0x24d838[_0x24d838[_0x5c442e(0x385)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x24d838[_0x24d838[_0x5c442e(0x262)]=0x2714]=_0x5c442e(0x262),_0x24d838[_0x24d838[_0x5c442e(0x384)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x24d838[_0x24d838[_0x5c442e(0x2a4)]=0x2ee1]=_0x5c442e(0x2a4),_0x24d838[_0x24d838[_0x5c442e(0x3ea)]=0x2ee2]=_0x5c442e(0x3ea),_0x24d838[_0x24d838[_0x5c442e(0x27d)]=0x2ee3]=_0x5c442e(0x27d),_0x24d838[_0x24d838[_0x5c442e(0x2b4)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x24d838[_0x24d838[_0x5c442e(0x24e)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x24d838[_0x24d838['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5c442e(0x26e),_0x24d838[_0x24d838[_0x5c442e(0x3b3)]=0x32ca]=_0x5c442e(0x3b3),_0x24d838[_0x24d838[_0x5c442e(0x3c2)]=0x32cb]=_0x5c442e(0x3c2),_0x24d838[_0x24d838[_0x5c442e(0x372)]=-0x1]=_0x5c442e(0x372),_0x24d838))(Ut||{}),Rn=Object[_0x5c442e(0x382)],Dn=(_0x49eb57,_0xca9e6e,_0x666156,_0x4f974d)=>{const _0x28ffb1=_0x5c442e;for(var _0xf80273=_0x4f974d>0x1?void 0x0:_0x4f974d?Rn(_0xca9e6e,_0x666156):_0xca9e6e,_0x2b04cb=_0x49eb57[_0x28ffb1(0x264)]-0x1,_0x144bd7;_0x2b04cb>=0x0;_0x2b04cb--)(_0x144bd7=_0x49eb57[_0x2b04cb])&&(_0xf80273=_0x144bd7(_0xf80273)||_0xf80273);return _0xf80273;},Te=(_0x438a2f,_0x5b8c95)=>(_0x1cff35,_0x40e748)=>_0x5b8c95(_0x1cff35,_0x40e748,_0x438a2f);let at=class extends _0x5f3f2f{constructor(_0x894581,_0xa4ee7a,_0x2688a9){const _0xcbd6cd=_0x5c442e;super(),this[_0xcbd6cd(0x20b)]=_0x894581,this[_0xcbd6cd(0x1eb)]=_0xa4ee7a,this[_0xcbd6cd(0x207)]=_0x2688a9;}async[_0x5c442e(0x3a5)](_0x5a4e2c,_0x5d6378,_0x189f12,..._0x2f56a1){const _0x248232=_0x5c442e;var _0x491ed4,_0x7d13d8,_0x15e1c2,_0x511932;const _0x5dcef1=this[_0x248232(0x20b)][_0x248232(0x355)]();if(!_0x5dcef1)throw new Error(_0x248232(0x3e8));const _0x22b5fc=((_0x491ed4=this[_0x248232(0x207)][_0x248232(0x295)](_0x350002))!=null?_0x491ed4:_0x33bd17)+'/'+_0x5a4e2c+_0x248232(0x374)+_0x5d6378,_0x1e4c59=new URL(window[_0x248232(0x36b)][_0x248232(0x211)]),_0x5cb9d5={'scriptId':_0x5a4e2c,'runId':(_0x7d13d8=_0x1e4c59['searchParams'][_0x248232(0x2ad)](_0x248232(0x2f6)))!=null?_0x7d13d8:'','function':_0x5d6378,'unitId':_0x5dcef1['getUnitId'](),'argsOfFunction':JSON[_0x248232(0x2c8)](_0x2f56a1),'invokeId':(_0x15e1c2=_0x189f12['invokeId'])!=null?_0x15e1c2:'','executionId':(_0x511932=_0x189f12[_0x248232(0x347)])!=null?_0x511932:''};try{const _0x1b8f5f=await this[_0x248232(0x1eb)][_0x248232(0x1fe)](_0x22b5fc,{'body':_0x5cb9d5});return _0x1b8f5f[_0x248232(0x2ed)][_0x248232(0x260)]&&_0x1b8f5f[_0x248232(0x2ed)][_0x248232(0x260)]['code']!==Ut['OK']?_0x248232(0x36d):_0x1b8f5f['body'][_0x248232(0x32e)];}catch{return _0x248232(0x36d);}}};at=Dn([Te(0x0,_0x1f3f2e),Te(0x1,_0x478204(_0xdc1343)),Te(0x2,_0xa465bd)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
1
+ const _0x306380=_0x5f42;(function(_0x2b6f05,_0x43984d){const _0x5a9fb4=_0x5f42,_0x2d0284=_0x2b6f05();while(!![]){try{const _0x62b7d=parseInt(_0x5a9fb4(0x150))/0x1+parseInt(_0x5a9fb4(0x2ce))/0x2+-parseInt(_0x5a9fb4(0x258))/0x3*(parseInt(_0x5a9fb4(0x2b3))/0x4)+-parseInt(_0x5a9fb4(0x2bd))/0x5+parseInt(_0x5a9fb4(0x24c))/0x6*(parseInt(_0x5a9fb4(0x10a))/0x7)+-parseInt(_0x5a9fb4(0x189))/0x8+parseInt(_0x5a9fb4(0x1a9))/0x9;if(_0x62b7d===_0x43984d)break;else _0x2d0284['push'](_0x2d0284['shift']());}catch(_0x19340a){_0x2d0284['push'](_0x2d0284['shift']());}}}(_0x4b50,0xa7062));var Bt=Object[_0x306380(0xfd)],kt=(_0x131475,_0x4609d0,_0xcd055b)=>_0x4609d0 in _0x131475?Bt(_0x131475,_0x4609d0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xcd055b}):_0x131475[_0x4609d0]=_0xcd055b,_=(_0x5cf098,_0x574a31,_0x281220)=>kt(_0x5cf098,typeof _0x574a31!=_0x306380(0x27c)?_0x574a31+'':_0x574a31,_0x281220);import{MemberService as _0x58ec07,SessionStatus as _0x4739f2,CollaborationSessionService as _0x3f2fe9,CollaborationStatus as _0x344fd8,CollaborationController as _0x354dfa,ILocalCacheService as _0x2f27fe,CollaborationUIEventService as _0x27dc93,CollaborationUIEventId as _0x5532f5,DataLoaderService as _0x2f7e52,DocCollaborationEntity as _0x530020,getLocalCacheKey as _0x1ae124,LOCAL_CACHE_INTERVAL as _0xc97530,LOCAL_CACHE_INTERVAL_KEY as _0x4ab531,UniverCollaborationClientPlugin as _0x5bbdcb,CollaborationSocketService as _0x1b0c2c,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x533465,DEFAULT_WS_SESSION_TICKET_URL as _0xa647e2,UnitStatus as _0x26192f,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x4c2332,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1238ce}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x105c1b,Disposable as _0x212855,DOC_RANGE_TYPE as _0x56ed71,Inject as _0x3afd9e,Injector as _0x4b117,IUniverInstanceService as _0x5f5751,ICommandService as _0x459a93,debounce as _0xbbae5d,Rectangle as _0x507ca4,DisposableCollection as _0x5a6464,toDisposable as _0x360a92,UniverInstanceType as _0x1cd4b1,Tools as _0x322f9c,COLORS as _0x295266,ColorKit as _0x424f5f,ThemeService as _0x5a99a8,fromEventSubject as _0x18902a,LocaleService as _0x4d2fab,createIdentifier as _0x59fe85,ILogService as _0x3120e3,Optional as _0x1c9169,Workbook as _0x2e84fd,CommandType as _0x1846a2,IConfigService as _0xc0ea31,ILocalStorageService as _0x5971f0,DependentOn as _0x20d232,Plugin as _0x90d560,merge as _0x2d7b3e,registerDependencies as _0x1e658b,mergeOverrideWithDependencies as _0x3021db,touchDependencies as _0x2f0202,generateRandomId as _0xe28911}from'@univerjs/core';import{Shape as _0x4f35e0,Rect as _0x5327b6,getColor as _0x225e7c,RegularPolygon as _0x5b3fa0,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5ed841,Vector2 as _0x53eff0,SHEET_VIEWPORT_KEY as _0x591dad,IRenderManagerService as _0x177c33}from'@univerjs/engine-render';import{ISocketService as _0x1c152f,WebSocketService as _0x1ad0bd,HTTPService as _0x6f80c5}from'@univerjs/network';import{IDocClipboardService as _0x137d1b,NodePositionConvertToCursor as _0x5dc671,NodePositionConvertToRectRange as _0x1cf8c7,TEXT_RANGE_LAYER_INDEX as _0x26434a,SetDocZoomRatioOperation as _0x4f7111,DocIMEInputManagerService as _0x369c07,DocStateChangeManagerService as _0x3d861c}from'@univerjs/docs-ui';import{IImageIoService as _0x189d5f}from'@univerjs/drawing';import{BehaviorSubject as _0x39027c,debounceTime as _0x4994e9,takeUntil as _0x49b09f,Subject as _0x33a3b3,filter as _0xf328a7,switchMap as _0x3181cc,merge as _0x28bbdf,combineLatest as _0x2619b0,of as _0x5bba0d,fromEvent as _0x1b2312,shareReplay as _0x51a7e2,mapTo as _0x33a373,distinctUntilChanged as _0x26e109}from'rxjs';import{SetTextSelectionsOperation as _0x13c439,RichTextEditingMutation as _0xfd7e7b,DocSelectionManagerService as _0x512101,DocSkeletonManagerService as _0x23a42f}from'@univerjs/docs';import{ITransformService as _0x7bf59f,CollaborationEvent as _0x16c4e7,isTransformMutationFailure as _0x321bf4,isTransformMutationsWithChangesetSuccess as _0x2157ba,RevisionService as _0x15ca61,ISnapshotServerService as _0x11ed14}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x4ec294,serializeRangeWithSheet as _0x39053c}from'@univerjs/engine-formula';import{RefRangeService as _0x3fd995,SetSelectionsOperation as _0x776421,SheetsSelectionsService as _0x150107,EffectRefRangId as _0xc1ea65,handleIRemoveRow as _0x195556,handleIRemoveCol as _0x1e0c6d,handleMoveRange as _0x1eb516,handleInsertRow as _0x3b7722,handleInsertRangeMoveRight as _0x4e2884,handleInsertRangeMoveDown as _0x5f221d,handleInsertCol as _0x48cddb,handleDeleteRangeMoveUp as _0x123231,handleDeleteRangeMoveLeft as _0x34b7ca,runRefRangeMutations as _0x5d7082,SetWorksheetActivateCommand as _0x481dfe}from'@univerjs/sheets';import{map as _0x30e61e,filter as _0x11ec65,throttleTime as _0x1f4720,takeUntil as _0x5ae3f6,switchMap as _0x58e5da}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3e80f5,getCoordByCell as _0x5d8da6,getSheetObject as _0x1912c1}from'@univerjs/sheets-ui';import{jsx as _0x436a04,jsxs as _0x233a53}from'react/jsx-runtime';import{useObservable as _0x17463e,useDependency as _0x9b66f4,IUIPartsService as _0x294510,BuiltInUIPart as _0x567b99,connectInjector as _0x3afacf,IBeforeCloseService as _0xee54a5,IMessageService as _0x555e39,INotificationService as _0x278379}from'@univerjs/ui';import{clsx as _0x1fe989,Tooltip as _0x177b87,MessageType as _0x172d80}from'@univerjs/design';import{forwardRef as _0xce2410,useRef as _0x5407f6,createElement as _0x58e742,useCallback as _0x277056}from'react';import{IRemoteInstanceService as _0x33cba8}from'@univerjs/rpc';var li=Object[_0x306380(0x295)],_i=(_0x9f0370,_0x23a242,_0x385083,_0x451fd2)=>{const _0x30438d=_0x306380;for(var _0x1f4049=_0x451fd2>0x1?void 0x0:_0x451fd2?li(_0x23a242,_0x385083):_0x23a242,_0x1349a2=_0x9f0370[_0x30438d(0x2e0)]-0x1,_0x4153d4;_0x1349a2>=0x0;_0x1349a2--)(_0x4153d4=_0x9f0370[_0x1349a2])&&(_0x1f4049=_0x4153d4(_0x1f4049)||_0x1f4049);return _0x1f4049;},Qe=(_0x251118,_0xa631c4)=>(_0x1eca0a,_0x55301d)=>_0xa631c4(_0x1eca0a,_0x55301d,_0x251118);let Me=class extends _0x105c1b{constructor(_0x5a20fc,_0x16c35a){const _0x4177a6=_0x306380;super(),this['_docClipboardService']=_0x5a20fc,this['_imageIoService']=_0x16c35a,this[_0x4177a6(0x18a)]();}[_0x306380(0x18a)](){const _0x36585b=_0x306380,_0x5cfa00=this;this['disposeWithMe'](this['_docClipboardService'][_0x36585b(0x22e)]({'onBeforePasteImage':async _0x2c3a1f=>{const _0x5a852a=_0x36585b,_0x1e4444=await _0x5cfa00['_imageIoService']['saveImage'](_0x2c3a1f);return _0x1e4444?{'source':_0x1e4444[_0x5a852a(0x1ad)],'imageSourceType':_0x1e4444[_0x5a852a(0x2e8)]}:null;}}));}};Me=_i([Qe(0x0,_0x137d1b),Qe(0x1,_0x189d5f)],Me);const qe=[_0x306380(0x2d0),_0x306380(0x15f),_0x306380(0x252),'red300',_0x306380(0x166),'gold400'];class He extends _0x212855{constructor(){const _0xdea3fd=_0x306380;super(...arguments),_(this,_0xdea3fd(0x18f),new Map()),_(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x593853){const _0x939159=_0x306380;if(this[_0x939159(0x18f)][_0x939159(0x291)](_0x593853))return this[_0x939159(0x18f)][_0x939159(0x1b8)](_0x593853);const _0x13a6bd=qe[this[_0x939159(0x2f2)]];return this[_0x939159(0x2f2)]=(this[_0x939159(0x2f2)]+0x1)%qe['length'],this[_0x939159(0x18f)]['set'](_0x593853,_0x13a6bd),_0x13a6bd;}}function Dt(_0x283dda){const _0x10df53=_0x306380;let _0xc66af3='';for(const _0xbe55cb of _0x283dda){const {startOffset:_0x47a69e,endOffset:_0x54f787,isActive:_0xebc776,rangeType:_0x22cacb,segmentId:_0x8e1e03,segmentPage:_0x4ab185}=_0xbe55cb;_0xc66af3[_0x10df53(0x2e0)]&&(_0xc66af3+=','),_0xc66af3+=_0x47a69e+':'+_0x54f787+':'+(_0xebc776?'1':'0')+':'+_0x22cacb+':'+_0x8e1e03+':'+_0x4ab185;}return _0xc66af3;}function hi(_0x1cd2af){const _0x3b127e=_0x306380,_0x58d181=_0x1cd2af[_0x3b127e(0x13a)](','),_0x454546=[];for(const _0x132e72 of _0x58d181){const [_0x29996a,_0x43277a,_0x1dcc91,_0xd5aadc,_0x5cd95c,_0x3357a0]=_0x132e72[_0x3b127e(0x13a)](':');_0x454546[_0x3b127e(0x11e)]({'startOffset':Number(_0x29996a),'endOffset':Number(_0x43277a),'collapsed':_0x29996a===_0x43277a,'isActive':_0x1dcc91==='1','rangeType':_0xd5aadc===_0x56ed71[_0x3b127e(0x1ed)]?_0x56ed71[_0x3b127e(0x1ed)]:_0x56ed71[_0x3b127e(0x1d3)],'segmentId':typeof _0x5cd95c==_0x3b127e(0x29b)?String(_0x5cd95c):'','segmentPage':Number(_0x3357a0!=null?_0x3357a0:-0x1)});}return _0x454546['some'](_0x3c2043=>_0x3c2043[_0x3b127e(0x15e)])||(_0x454546[0x0][_0x3b127e(0x15e)]=!0x0),_0x454546;}class je extends _0x105c1b{constructor(){const _0x466eef=_0x306380;super(...arguments),_(this,_0x466eef(0x12f),new _0x39027c(null)),_(this,_0x466eef(0x107),this[_0x466eef(0x12f)][_0x466eef(0x2af)]());}[_0x306380(0x210)](_0x413cd0){const _0x29af09=_0x306380,{unitID:_0x31990b,memberID:_0x578f77,textRanges:_0x2b3b27}=_0x413cd0,_0x2196bd=Dt(_0x2b3b27);if(_0x2196bd==='')return;const _0x33a069={'unitID':_0x31990b,'memberID':_0x578f77,'selection':_0x2196bd};this[_0x29af09(0x12f)][_0x29af09(0x157)](_0x33a069);}}var ui=Object[_0x306380(0x295)],di=(_0x3b586f,_0x5414f4,_0xb81e14,_0x5646e2)=>{const _0x537366=_0x306380;for(var _0x556555=_0x5646e2>0x1?void 0x0:_0x5646e2?ui(_0x5414f4,_0xb81e14):_0x5414f4,_0x55fb8e=_0x3b586f[_0x537366(0x2e0)]-0x1,_0x304b2e;_0x55fb8e>=0x0;_0x55fb8e--)(_0x304b2e=_0x3b586f[_0x55fb8e])&&(_0x556555=_0x304b2e(_0x556555)||_0x556555);return _0x556555;},U=(_0x4d32f9,_0x1a6e15)=>(_0x5127f5,_0x142c25)=>_0x1a6e15(_0x5127f5,_0x142c25,_0x4d32f9);const fi=0x12c,Si=0x64;let Pe=class extends _0x105c1b{constructor(_0x3a6867,_0x3e8cfe,_0x57848c,_0x2f839f,_0xc54b9,_0x39d743,_0x1efd33,_0x1da787,_0x57ff2c){const _0x12dd66=_0x306380;super(),_(this,_0x12dd66(0x22f),!0x1),_(this,'_init',!0x1),_(this,_0x12dd66(0x140),new _0x39027c(new Map())),_(this,_0x12dd66(0x172),this[_0x12dd66(0x140)][_0x12dd66(0x2af)]()),_(this,_0x12dd66(0x16f),new _0x39027c([])),_(this,_0x12dd66(0x243),this[_0x12dd66(0x16f)][_0x12dd66(0x17b)](_0x4994e9(fi))),_(this,_0x12dd66(0xf7),_0xbbae5d(_0x423499=>{const _0x53627a=_0x12dd66,_0x50cc7a={'eventID':_0x16c4e7['UPDATE_CURSOR'],'data':{'unitID':this[_0x53627a(0x1ea)],'memberID':this[_0x53627a(0x161)]['getMemberID'](),'selection':Dt(_0x423499)}};this[_0x53627a(0x161)][_0x53627a(0x174)](_0x50cc7a,this[_0x53627a(0x1ea)]);},Si)),(this['unitID']=_0x3a6867,this['_session']=_0x3e8cfe,this['_injector']=_0x57848c,this[_0x12dd66(0x239)]=_0x2f839f,this['_memberService']=_0xc54b9,this[_0x12dd66(0xfb)]=_0x39d743,this[_0x12dd66(0x23b)]=_0x1efd33,this[_0x12dd66(0x1e8)]=_0x1da787,this['_commandService']=_0x57ff2c);}get['cursorInfo'](){const _0x1223b6=_0x306380;return this['_cursorInfo$'][_0x1223b6(0x242)]();}get[_0x306380(0x2be)](){const _0x473f83=_0x306380;return this[_0x473f83(0x16f)][_0x473f83(0x242)]();}['dispose'](){const _0x372c68=_0x306380;super[_0x372c68(0x211)](),this[_0x372c68(0x140)][_0x372c68(0x157)](new Map()),this['_cursorInfo$'][_0x372c68(0x191)](),this['_roomMembers$'][_0x372c68(0x157)]([]),this[_0x372c68(0x16f)]['complete']();}['init'](){const _0xa8c786=_0x306380;this[_0xa8c786(0x18a)]||(this[_0xa8c786(0x18a)]=!0x0,this['_session'][_0xa8c786(0x11d)][_0xa8c786(0x17b)](_0x49b09f(this[_0xa8c786(0x2cb)]))[_0xa8c786(0x126)](_0x1fd76a=>{const _0x8d2d82=_0xa8c786;_0x1fd76a===_0x4739f2[_0x8d2d82(0x2b2)]?this[_0x8d2d82(0x114)]():this[_0x8d2d82(0x118)]();}),this['_session'][_0xa8c786(0x1e9)][_0xa8c786(0x17b)](_0x49b09f(this[_0xa8c786(0x2cb)]))[_0xa8c786(0x126)](_0x14eec4=>{const _0x5eb650=_0xa8c786,_0x1070ef=_0x14eec4[_0x5eb650(0x253)];_0x1070ef===_0x16c4e7[_0x5eb650(0x224)]&&this['_onCursorUpdate'](_0x14eec4),_0x1070ef===_0x16c4e7[_0x5eb650(0x1fb)]&&this['_onCursorDelete'](_0x14eec4);}),this[_0xa8c786(0x1a6)](this['_commandService']['onCommandExecuted'](_0x309962=>{const _0x587603=_0xa8c786,_0x336373=_0x309962[_0x587603(0x18c)];_0x336373!=null&&this[_0x587603(0x22f)]&&_0x309962['id']===_0x13c439['id']&&_0x336373['unitId']===this[_0x587603(0x1ea)]&&_0x336373[_0x587603(0x1ce)]===!0x1&&_0x336373[_0x587603(0x25d)]['length']>0x0&&this[_0x587603(0xf7)](_0x336373[_0x587603(0x25d)]);})),this[_0xa8c786(0xfb)][_0xa8c786(0x107)][_0xa8c786(0x17b)](_0x49b09f(this[_0xa8c786(0x2cb)]))[_0xa8c786(0x126)](_0x225f2e=>{const _0x35255f=_0xa8c786;if((_0x225f2e==null?void 0x0:_0x225f2e['unitID'])!==this[_0x35255f(0x1ea)])return;const _0x2dbf46={'eventID':_0x16c4e7[_0x35255f(0x224)],'data':_0x225f2e};this[_0x35255f(0x165)](_0x2dbf46);}),this['disposeWithMe'](this[_0xa8c786(0x179)][_0xa8c786(0x287)](_0x1e16ec=>{const _0x3920b1=_0xa8c786;if(_0x1e16ec[_0x3920b1(0x18c)]==null)return;const _0xa60090=_0x1e16ec[_0x3920b1(0x18c)];if(_0x1e16ec['id']!==_0xfd7e7b['id']||_0xa60090[_0x3920b1(0x1f1)]!==this['unitID'])return;const _0x1e47f6={'id':_0x3920b1(0x117),'params':_0xa60090},_0x756dd9=this['cursorInfo'];for(const [_0x2bf78e,_0x13a282]of _0x756dd9){const _0x57a166={'id':_0x3920b1(0x117),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x13a282['ranges']}},_0x307e3c=this['_transformService']['transformMutation'](_0x1e47f6,_0x57a166,!0x1);if(_0x321bf4(_0x307e3c))throw _0x307e3c[_0x3920b1(0x282)];_0x756dd9[_0x3920b1(0x1d4)](_0x2bf78e,{..._0x13a282,'ranges':_0x307e3c[_0x3920b1(0x137)][_0x3920b1(0x18c)][_0x3920b1(0x204)]});}queueMicrotask(()=>{const _0x15658d=_0x3920b1;this['_cursorInfo$'][_0x15658d(0x157)](_0x756dd9);});})));}[_0x306380(0x165)](_0x26c1b9){const _0x289f7d=_0x306380;var _0xa41783,_0x1148ac;const {memberID:_0x591965,selection:_0x23c153}=_0x26c1b9['data'],_0x1bf309=hi(_0x23c153),_0x5a47ca=(_0x1148ac=(_0xa41783=this['_memberService']['getMember'](this['unitID'],_0x591965))==null?void 0x0:_0xa41783['name'])!=null?_0x1148ac:_0x289f7d(0x2df),_0x2a8c63={'color':this[_0x289f7d(0x239)][_0x289f7d(0x10b)](_0x591965),'name':_0x5a47ca,'ranges':_0x1bf309},_0x41f7de=this[_0x289f7d(0x24e)];_0x41f7de[_0x289f7d(0x1d4)](_0x591965,_0x2a8c63),this[_0x289f7d(0x140)][_0x289f7d(0x157)](_0x41f7de);}['_onCursorDelete'](_0x52d56b){const _0x25366c=_0x306380,{memberID:_0xdde4c}=_0x52d56b[_0x25366c(0x220)],_0x48eb00=this[_0x25366c(0x24e)];_0x48eb00[_0x25366c(0x1ae)](_0xdde4c),this[_0x25366c(0x140)][_0x25366c(0x157)](_0x48eb00);}[_0x306380(0x114)](){const _0x4a9997=_0x306380;var _0x47c3d4;if(this[_0x4a9997(0x22f)]=!0x0,((_0x47c3d4=this[_0x4a9997(0x1e8)][_0x4a9997(0x2d3)]())==null?void 0x0:_0x47c3d4[_0x4a9997(0x2a6)]())!==this['unitID'])return;const _0x1d5f81=this[_0x4a9997(0x1b9)][_0x4a9997(0x1b8)](_0x512101)['getDocRanges']();Array[_0x4a9997(0x2cf)](_0x1d5f81)&&_0x1d5f81['length']>0x0&&this[_0x4a9997(0xf7)](_0x1d5f81);}['_toggleOffline'](){const _0xa39840=_0x306380;this[_0xa39840(0x22f)]=!0x1;}};Pe=di([U(0x2,_0x3afd9e(_0x4b117)),U(0x3,_0x3afd9e(He)),U(0x4,_0x3afd9e(_0x58ec07)),U(0x5,_0x3afd9e(je)),U(0x6,_0x7bf59f),U(0x7,_0x5f5751),U(0x8,_0x459a93)],Pe);var mi=Object[_0x306380(0x295)],gi=(_0x32ef9d,_0x5447d1,_0x18cf65,_0x4e2c90)=>{const _0x353a9b=_0x306380;for(var _0x5e8a3d=_0x4e2c90>0x1?void 0x0:_0x4e2c90?mi(_0x5447d1,_0x18cf65):_0x5447d1,_0x197fa9=_0x32ef9d[_0x353a9b(0x2e0)]-0x1,_0x47db28;_0x197fa9>=0x0;_0x197fa9--)(_0x47db28=_0x32ef9d[_0x197fa9])&&(_0x5e8a3d=_0x47db28(_0x5e8a3d)||_0x5e8a3d);return _0x5e8a3d;},x=(_0x119f80,_0x13ab02)=>(_0x195e81,_0x5e9b04)=>_0x13ab02(_0x195e81,_0x5e9b04,_0x119f80);const vi=0x12c,Ii=0x64,pi=()=>{let _0x4e1dac=[],_0x5eec4b=!0x1;return _0x5a5050=>{const _0xd61343=_0x5f42;_0x4e1dac[_0xd61343(0x11e)](_0x5a5050),_0x5eec4b||(_0x5eec4b=!0x0,setTimeout(()=>{const _0x22c38d=_0xd61343;_0x4e1dac[_0x22c38d(0x159)](_0x1b75ad=>_0x1b75ad()),_0x4e1dac=[],_0x5eec4b=!0x1;}));};};let we=class extends _0x105c1b{constructor(_0x4576e4,_0x3ead83,_0x4915c1,_0x4b4eb4,_0x4046d6,_0x3fa45b,_0x47cab6,_0x6df795){const _0x225d77=_0x306380;super(),_(this,_0x225d77(0x22f),!0x1),_(this,'_init',!0x1),_(this,'_cursorInfo$',new _0x39027c(new Map())),_(this,_0x225d77(0x172),this[_0x225d77(0x140)][_0x225d77(0x2af)]()),_(this,'_roomMembers$',new _0x39027c([])),_(this,_0x225d77(0x243),this[_0x225d77(0x16f)]['pipe'](_0x4994e9(vi))),_(this,_0x225d77(0xf7),_0xbbae5d((_0x303898,_0x396be6)=>{const _0x31388b=_0x225d77,_0x51bfed={'eventID':_0x16c4e7['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x31388b(0x161)][_0x31388b(0x1bf)](),'selection':_0x39053c(_0x303898,_0x396be6[_0x31388b(0x143)])}};this[_0x31388b(0x161)]['send'](_0x51bfed,this[_0x31388b(0x1ea)]);},Ii)),(this[_0x225d77(0x1ea)]=_0x4576e4,this[_0x225d77(0x161)]=_0x3ead83,this[_0x225d77(0x1b9)]=_0x4915c1,this['_colorAssignService']=_0x4b4eb4,this[_0x225d77(0x2d2)]=_0x4046d6,this[_0x225d77(0x1e8)]=_0x3fa45b,this['_commandService']=_0x47cab6,this[_0x225d77(0x23e)]=_0x6df795);}get[_0x306380(0x24e)](){return this['_cursorInfo$']['getValue']();}get[_0x306380(0x2be)](){const _0xc22387=_0x306380;return this[_0xc22387(0x16f)][_0xc22387(0x242)]();}[_0x306380(0x211)](){const _0x276cf6=_0x306380;super[_0x276cf6(0x211)](),this[_0x276cf6(0x140)][_0x276cf6(0x157)](new Map()),this[_0x276cf6(0x140)]['complete'](),this[_0x276cf6(0x16f)]['next']([]),this[_0x276cf6(0x16f)][_0x276cf6(0x191)]();}[_0x306380(0x25e)](){const _0x584d5b=_0x306380;this['_init']||(this[_0x584d5b(0x18a)]=!0x0,this['_session'][_0x584d5b(0x11d)]['pipe'](_0x49b09f(this[_0x584d5b(0x2cb)]))[_0x584d5b(0x126)](_0x31ff86=>{_0x31ff86===_0x4739f2['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x584d5b(0x161)][_0x584d5b(0x1e9)][_0x584d5b(0x17b)](_0x49b09f(this['dispose$']))['subscribe'](_0x52a06d=>{const _0x168465=_0x584d5b,_0x35ee7e=_0x52a06d['eventID'];_0x35ee7e===_0x16c4e7[_0x168465(0x224)]&&this[_0x168465(0x165)](_0x52a06d),_0x35ee7e===_0x16c4e7[_0x168465(0x1fb)]&&this['_onCursorDelete'](_0x52a06d);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x584d5b(0x287)](_0x5a1c99=>{const _0x4e323c=_0x584d5b;if(this['_online']&&_0x5a1c99['id']===_0x776421['id']&&_0x5a1c99[_0x4e323c(0x18c)][_0x4e323c(0x1f1)]===this[_0x4e323c(0x1ea)]){const _0x57394c=_0x5a1c99[_0x4e323c(0x18c)];this['_updateLocalCursor'](_0x57394c[_0x4e323c(0x2ea)],_0x57394c[_0x4e323c(0x1c9)][0x0]);}})));}[_0x306380(0x165)](_0x403bb0){const _0x562fcb=_0x306380;var _0x23619e,_0x4c755b;const {memberID:_0xbf9057,selection:_0x225068}=_0x403bb0['data'],{sheetName:_0x2fc6f9,range:_0x31c163}=_0x4ec294(_0x225068),_0x5d70d2={'name':(_0x4c755b=(_0x23619e=this[_0x562fcb(0x2d2)][_0x562fcb(0x14a)](this[_0x562fcb(0x1ea)],_0xbf9057))==null?void 0x0:_0x23619e[_0x562fcb(0x147)])!=null?_0x4c755b:_0x562fcb(0x2df),'range':this[_0x562fcb(0x1d5)](_0x2fc6f9,_0x31c163),'sheetID':_0x2fc6f9,'color':this['_colorAssignService'][_0x562fcb(0x10b)](_0xbf9057),'selection':_0x225068},_0x3ac67a=this[_0x562fcb(0x24e)];_0x3ac67a[_0x562fcb(0x1d4)](_0xbf9057,_0x5d70d2),this['_cursorInfo$'][_0x562fcb(0x157)](_0x3ac67a);}['_onCursorDelete'](_0x5a5a88){const _0x4f6163=_0x306380,{memberID:_0x3546d6}=_0x5a5a88[_0x4f6163(0x220)],_0x33c606=this[_0x4f6163(0x24e)];_0x33c606[_0x4f6163(0x1ae)](_0x3546d6),this[_0x4f6163(0x140)][_0x4f6163(0x157)](_0x33c606);}[_0x306380(0x1d5)](_0x3edcd5,_0x4d991a){const _0x53363b=_0x306380;var _0x1e9c6b,_0x324fec;const _0x159f43=(_0x324fec=(_0x1e9c6b=this[_0x53363b(0x1e8)][_0x53363b(0x108)](this[_0x53363b(0x1ea)]))==null?void 0x0:_0x1e9c6b[_0x53363b(0x288)](_0x3edcd5))==null?void 0x0:_0x324fec['getMergeData']();return(_0x159f43==null?void 0x0:_0x159f43['find'](_0x49f230=>_0x507ca4[_0x53363b(0x276)](_0x49f230,_0x4d991a)))||_0x4d991a;}[_0x306380(0x129)](){const _0x328cd2=_0x306380,_0x2f848b=new _0x5a6464(),_0x1469d4=pi(),_0x1537b1=()=>{const _0x2a44dc=_0x5f42;_0x2f848b['dispose']();const _0x244a01=(_0x4391b9,_0x575005,_0x1494a3,_0x21a93b)=>{const _0x1fbec3=_0x5f42;let _0x529158=[];switch(_0x4391b9['id']){case _0xc1ea65[_0x1fbec3(0x2e5)]:{_0x529158=_0x34b7ca(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x15a)]:{_0x529158=_0x123231(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x262)]:{_0x529158=_0x48cddb(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x1fe)]:{_0x529158=_0x5f221d(_0x4391b9,_0x21a93b);break;}case _0xc1ea65['InsertRangeMoveRightCommandId']:{_0x529158=_0x4e2884(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x2b4)]:{_0x529158=_0x3b7722(_0x4391b9,_0x21a93b);break;}case _0xc1ea65[_0x1fbec3(0x1dc)]:{_0x529158=_0x1eb516(_0x4391b9,_0x21a93b);break;}case _0xc1ea65['RemoveColCommandId']:{_0x529158=_0x1e0c6d(_0x4391b9,_0x21a93b);break;}case _0xc1ea65['RemoveRowCommandId']:{_0x529158=_0x195556(_0x4391b9,_0x21a93b);break;}}const _0x26eb8c=_0x5d7082(_0x529158,_0x21a93b),_0x2e5531=this[_0x1fbec3(0x24e)][_0x1fbec3(0x1b8)](_0x575005);if(_0x2e5531&&_0x26eb8c){const _0x2fc3a0={..._0x2e5531,'range':_0x26eb8c};this[_0x1fbec3(0x24e)][_0x1fbec3(0x1d4)](_0x575005,_0x2fc3a0),_0x1469d4(()=>{const _0x427444=_0x1fbec3,_0x2d719d=this[_0x427444(0x23e)]['registerRefRange'](_0x26eb8c,_0x15c90a=>(_0x2d719d[_0x427444(0x211)](),_0x244a01(_0x15c90a,_0x575005,_0x1494a3,_0x26eb8c)));_0x2f848b[_0x427444(0x184)](_0x2d719d);});}return{'redos':[],'undos':[]};};this[_0x2a44dc(0x24e)][_0x2a44dc(0x159)]((_0x2cb3bd,_0x5817b9)=>{const _0x4fb849=_0x2a44dc,{range:_0x34fbcd,sheetID:_0x5f4fb7}=_0x2cb3bd,_0x230a9c=this[_0x4fb849(0x23e)][_0x4fb849(0x105)](_0x34fbcd,_0x9a3eca=>(_0x230a9c['dispose'](),_0x244a01(_0x9a3eca,_0x5817b9,_0x5f4fb7,_0x34fbcd)));_0x2f848b[_0x4fb849(0x184)](_0x230a9c);});};this[_0x328cd2(0x1a6)](_0x360a92(this[_0x328cd2(0x140)]['subscribe'](()=>{_0x1537b1();})));}['_toggleOnline'](){const _0x29de14=_0x306380;var _0x4ca51b,_0x1638cb;if(this[_0x29de14(0x22f)]=!0x0,((_0x4ca51b=this[_0x29de14(0x1e8)][_0x29de14(0x2d3)]())==null?void 0x0:_0x4ca51b[_0x29de14(0x2a6)]())!==this['unitID'])return;const _0x30e1e7=(_0x1638cb=this['_injector'][_0x29de14(0x1b8)](_0x150107)[_0x29de14(0x16b)]())==null?void 0x0:_0x1638cb[0x0],_0x22a797=this[_0x29de14(0x1e8)][_0x29de14(0x249)](_0x1cd4b1['UNIVER_SHEET'])[_0x29de14(0x111)]();_0x30e1e7&&_0x22a797&&this['_updateLocalCursor'](_0x22a797[_0x29de14(0x2f6)](),_0x30e1e7);}[_0x306380(0x118)](){const _0x1b35af=_0x306380;this[_0x1b35af(0x22f)]=!0x1;}};we=gi([x(0x2,_0x3afd9e(_0x4b117)),x(0x3,_0x3afd9e(He)),x(0x4,_0x3afd9e(_0x58ec07)),x(0x5,_0x5f5751),x(0x6,_0x459a93),x(0x7,_0x3afd9e(_0x3fd995))],we);var Ci=Object[_0x306380(0x295)],Ei=(_0x268ded,_0x3ecd75,_0x2fc5e1,_0x4e0bbe)=>{const _0x20adf3=_0x306380;for(var _0x198b66=_0x4e0bbe>0x1?void 0x0:_0x4e0bbe?Ci(_0x3ecd75,_0x2fc5e1):_0x3ecd75,_0x3c9191=_0x268ded[_0x20adf3(0x2e0)]-0x1,_0xd240cf;_0x3c9191>=0x0;_0x3c9191--)(_0xd240cf=_0x268ded[_0x3c9191])&&(_0x198b66=_0xd240cf(_0x198b66)||_0x198b66);return _0x198b66;},me=(_0x5d1a2d,_0x3fb523)=>(_0x5b7c39,_0x414a19)=>_0x3fb523(_0x5b7c39,_0x414a19,_0x5d1a2d);let H=class extends _0x105c1b{constructor(_0x3c810e,_0x26cce3,_0x395e1e){const _0x14bf17=_0x306380;super(),_(this,'_entities',new Map()),_(this,_0x14bf17(0x2e9),new _0x33a3b3()),(this[_0x14bf17(0x1e8)]=_0x3c810e,this[_0x14bf17(0x1b9)]=_0x26cce3,this['_collabSessionService']=_0x395e1e,this['_init']());}[_0x306380(0x211)](){const _0x8a1bfb=_0x306380;super[_0x8a1bfb(0x211)](),this[_0x8a1bfb(0x2e9)][_0x8a1bfb(0x191)](),this['_entities'][_0x8a1bfb(0x159)](_0x26bc98=>_0x26bc98[_0x8a1bfb(0x211)]());}['getCollabCursors$'](_0x54ebb0){const _0x5f10e3=_0x306380;return this['_entities'][_0x5f10e3(0x291)](_0x54ebb0)?this[_0x5f10e3(0x14d)]['get'](_0x54ebb0)[_0x5f10e3(0x172)]:this['_entityInit$'][_0x5f10e3(0x17b)](_0xf328a7(_0x2218b0=>_0x2218b0[_0x5f10e3(0x1ea)]===_0x54ebb0),_0x3181cc(_0x5ab419=>_0x5ab419[_0x5f10e3(0x172)]));}['_init'](){const _0x291b68=_0x306380;this[_0x291b68(0x1e8)]['getTypeOfUnitAdded$'](_0x1cd4b1['UNIVER_SHEET'])[_0x291b68(0x17b)](_0x49b09f(this[_0x291b68(0x2cb)]))['subscribe'](async _0x4c1eb7=>{const _0x337d38=_0x291b68,_0x4f3523=_0x4c1eb7['getUnitId'](),_0xd9f3cb=await this[_0x337d38(0x1db)](_0x4f3523);this['_entityInit$'][_0x337d38(0x157)](_0xd9f3cb),this[_0x337d38(0x14d)][_0x337d38(0x1d4)](_0x4f3523,_0xd9f3cb);}),this[_0x291b68(0x1e8)]['getTypeOfUnitAdded$'](_0x1cd4b1[_0x291b68(0x1ac)])[_0x291b68(0x17b)](_0x49b09f(this[_0x291b68(0x2cb)]))[_0x291b68(0x17b)](_0xf328a7(_0x450915=>!_0x450915[_0x291b68(0x2a6)]()[_0x291b68(0x25c)]('__')))[_0x291b68(0x126)](async _0x15f012=>{const _0x16c7cd=_0x291b68,_0x194986=_0x15f012[_0x16c7cd(0x2a6)](),_0x35db0c=await this[_0x16c7cd(0x124)](_0x194986);this[_0x16c7cd(0x2e9)][_0x16c7cd(0x157)](_0x35db0c),this[_0x16c7cd(0x14d)][_0x16c7cd(0x1d4)](_0x194986,_0x35db0c);}),_0x28bbdf(this[_0x291b68(0x1e8)][_0x291b68(0x215)](_0x1cd4b1[_0x291b68(0x1ac)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x1cd4b1[_0x291b68(0x1cd)]))['pipe'](_0x49b09f(this['dispose$']))[_0x291b68(0x126)](_0x3bf898=>{const _0x5bd334=_0x291b68,_0x48aaab=_0x3bf898['getUnitId'](),_0x19324f=this[_0x5bd334(0x14d)][_0x5bd334(0x1b8)](_0x48aaab);_0x19324f&&(_0x19324f[_0x5bd334(0x211)](),this['_entities'][_0x5bd334(0x1ae)](_0x48aaab));});}async[_0x306380(0x1db)](_0x860831){const _0x191711=_0x306380,_0x34dce6=await this[_0x191711(0x16a)][_0x191711(0x2d5)](_0x860831),_0xfa6f44=this['_injector'][_0x191711(0x2e2)](we,_0x860831,_0x34dce6);return _0xfa6f44[_0x191711(0x25e)](),_0xfa6f44;}async[_0x306380(0x124)](_0x1ce8c5){const _0x103040=_0x306380,_0x1a3a9c=await this[_0x103040(0x16a)][_0x103040(0x2d5)](_0x1ce8c5),_0xc36b86=this[_0x103040(0x1b9)][_0x103040(0x2e2)](Pe,_0x1ce8c5,_0x1a3a9c);return _0xc36b86['init'](),_0xc36b86;}};H=Ei([me(0x0,_0x5f5751),me(0x1,_0x3afd9e(_0x4b117)),me(0x2,_0x3afd9e(_0x3f2fe9))],H);const te=0x14,et=0xc8,ge=0x4,bi=0x5;function Oi(_0x2445ab,_0x4e40d7){const _0x148cc2=_0x306380;let {radius:_0x50e65d,width:_0x549034,height:_0x4ceffc}=_0x4e40d7;_0x50e65d=_0x50e65d!=null?_0x50e65d:0x0,_0x549034=_0x549034!=null?_0x549034:0x1e,_0x4ceffc=_0x4ceffc!=null?_0x4ceffc:0x1e;let _0x1fda8b=0x0,_0x3ee556=0x0,_0x1316cc=0x0;_0x1fda8b=_0x3ee556=_0x1316cc=Math['min'](_0x50e65d,_0x549034/0x2,_0x4ceffc/0x2),_0x2445ab[_0x148cc2(0x142)](),_0x2445ab[_0x148cc2(0x1e2)](_0x1fda8b,0x0),_0x2445ab[_0x148cc2(0x16e)](_0x549034-_0x3ee556,0x0),_0x2445ab[_0x148cc2(0x1a7)](_0x549034-_0x3ee556,_0x3ee556,_0x3ee556,Math['PI']*0x3/0x2,0x0,!0x1),_0x2445ab[_0x148cc2(0x16e)](_0x549034,_0x4ceffc-_0x1316cc),_0x2445ab['arc'](_0x549034-_0x1316cc,_0x4ceffc-_0x1316cc,_0x1316cc,0x0,Math['PI']/0x2,!0x1),_0x2445ab[_0x148cc2(0x16e)](0x0,_0x4ceffc),_0x2445ab[_0x148cc2(0x16e)](0x0,_0x1fda8b),_0x2445ab[_0x148cc2(0x1a7)](_0x1fda8b,_0x1fda8b,_0x1fda8b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2445ab[_0x148cc2(0x1b4)](),_0x4e40d7[_0x148cc2(0x1ca)]&&(_0x2445ab[_0x148cc2(0x156)](),_0x2445ab[_0x148cc2(0x20c)]=_0x4e40d7[_0x148cc2(0x1ca)],_0x4e40d7[_0x148cc2(0x2e3)]===_0x148cc2(0x2bb)?_0x2445ab[_0x148cc2(0x1ca)](_0x148cc2(0x2bb)):_0x2445ab[_0x148cc2(0x1ca)](),_0x2445ab['restore']());}class ue extends _0x4f35e0{constructor(_0x5b7a84,_0x37bcd3){const _0x4ea9d2=_0x306380;super(_0x5b7a84,_0x37bcd3),_(this,'color'),_(this,'text'),(this[_0x4ea9d2(0x27b)]=_0x37bcd3==null?void 0x0:_0x37bcd3[_0x4ea9d2(0x27b)],this[_0x4ea9d2(0x2e4)]=_0x37bcd3==null?void 0x0:_0x37bcd3[_0x4ea9d2(0x2e4)]);}static[_0x306380(0x10c)](_0x3805cb,_0xcbe71b){const _0x354eec=_0x306380,{text:_0x7b502d,color:_0x32fdaa}=_0xcbe71b;_0x3805cb['save'](),_0x3805cb['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1726bb=_0x3805cb[_0x354eec(0x125)](_0x7b502d)['width'],_0x4d835a=Math[_0x354eec(0x2dd)](_0x1726bb+0x2*ge,et);Oi(_0x3805cb,{'height':te,'radius':0x4,'width':_0x4d835a,'fill':_0x32fdaa}),_0x3805cb[_0x354eec(0x20c)]=_0x354eec(0x1a3);const _0x319e85=ge,_0x21861b=te-bi,_0x59fed5=et-0x2*ge;if(_0x1726bb>_0x59fed5){let _0x3f4635='',_0x1cec20=0x0;for(const _0x41e1e1 of _0x7b502d){const _0x4470fa=_0x3805cb[_0x354eec(0x125)](_0x41e1e1)[_0x354eec(0x14f)];if(_0x1cec20+_0x4470fa<=_0x59fed5-_0x3805cb[_0x354eec(0x125)](_0x354eec(0x2d7))[_0x354eec(0x14f)])_0x3f4635+=_0x41e1e1,_0x1cec20+=_0x4470fa;else{_0x3f4635+='...';break;}}_0x3805cb[_0x354eec(0x151)](_0x3f4635,_0x319e85,_0x21861b);}else _0x3805cb[_0x354eec(0x151)](_0x7b502d,_0x319e85,_0x21861b);_0x3805cb[_0x354eec(0x2c8)]();}[_0x306380(0x15c)](_0x53f14a){const _0x24dcda=_0x306380;ue[_0x24dcda(0x10c)](_0x53f14a,this);}}const ve=_0x306380(0x19a),Ti=_0x306380(0x1f9),Ri=_0x306380(0x11f),X=0x6,Di=1.5,Ie=0x4,Ni=1.5,Mi=_0x306380(0x1de);class tt{constructor(_0x7c45bc,_0x1f6f5f,_0x1050aa,_0xacffb2){const _0x79f0e4=_0x306380;_(this,_0x79f0e4(0x28b),[]),_(this,_0x79f0e4(0x269),null),_(this,_0x79f0e4(0x2db),null),_(this,'_anchorDot',null),_(this,_0x79f0e4(0x286),null),_(this,_0x79f0e4(0x207),null),(this[_0x79f0e4(0x1f4)]=_0x7c45bc,this[_0x79f0e4(0x255)]=_0x1f6f5f,this[_0x79f0e4(0x228)]=_0x1050aa,this['_document']=_0xacffb2,this[_0x79f0e4(0x138)]());}set[_0x306380(0x2b0)](_0x1358ff){const _0x552770=_0x306380;_0x1358ff?(this[_0x552770(0x198)]&&this['_anchorDot'][_0x552770(0x2fa)](),this[_0x552770(0x2db)]&&this[_0x552770(0x2db)]['show']()):(this[_0x552770(0x198)]&&this[_0x552770(0x198)][_0x552770(0x292)](),this['_textBubble']&&this['_textBubble'][_0x552770(0x2fa)]());}['dispose'](){const _0x57e89b=_0x306380;for(const _0x1d3ede of this[_0x57e89b(0x28b)])_0x1d3ede[_0x57e89b(0x211)]();this[_0x57e89b(0x2db)]&&this[_0x57e89b(0x2db)][_0x57e89b(0x211)](),this[_0x57e89b(0x198)]&&this[_0x57e89b(0x198)]['dispose'](),this['_anchor']&&this[_0x57e89b(0x269)][_0x57e89b(0x211)](),this[_0x57e89b(0x207)]&&this[_0x57e89b(0x207)]();}[_0x306380(0x138)](){const _0xb90352=_0x306380;var _0x325bde;const {_docSkeleton:_0x38d41a,_document:_0x107246}=this,{color:_0x3d2b46,name:_0xcb23b4,ranges:_0x5e366b}=this[_0xb90352(0x1f4)],_0x22a25d=_0x107246[_0xb90352(0x17d)](),{docsLeft:_0x314aa5,docsTop:_0x2f7996}=_0x22a25d,_0x5a88a2=new _0x5dc671(_0x22a25d,_0x38d41a);for(const {startOffset:_0x5904b9,endOffset:_0x2e4639,rangeType:_0x358a2f,segmentId:_0x365daf,segmentPage:_0x590090,collapsed:_0x1ef8c2,isActive:_0x2e7d23}of _0x5e366b){const _0x5a866f=_0x38d41a['findNodePositionByCharIndex'](_0x5904b9,!0x0,_0x365daf,_0x590090);let _0x250a17=_0x38d41a[_0xb90352(0x158)](_0x2e4639,!0x0,_0x365daf,_0x590090);if(_0x250a17==null&&(_0x250a17=_0x38d41a['findNodePositionByCharIndex'](_0x2e4639-0x1,!0x1,_0x365daf,_0x590090)),_0x2e7d23){const {contentBoxPointGroup:_0x572fe7}=_0x5a88a2[_0xb90352(0x251)](_0x250a17,_0x250a17);if(_0x572fe7[_0xb90352(0x2e0)]===0x0)continue;this['_drawAnchor'](_0x3d2b46,_0x572fe7,_0x314aa5,_0x2f7996,_0xcb23b4),this['_eventUnsubscribe']=this[_0xb90352(0x285)]();}if(_0x5a866f&&_0x250a17){if(_0x358a2f===_0x56ed71['RECT']){const _0x3568f7=new _0x1cf8c7(_0x22a25d,_0x38d41a),{pointGroup:_0x10f6ac}=(_0x325bde=_0x3568f7[_0xb90352(0x251)](_0x5a866f,_0x250a17))!=null?_0x325bde:{};if(_0x10f6ac==null||_0x10f6ac[_0xb90352(0x2e0)]===0x0)continue;this[_0xb90352(0x1ab)](_0x3d2b46,_0x10f6ac,_0x314aa5,_0x2f7996);}else{if(!_0x1ef8c2){const {borderBoxPointGroup:_0x5d9b4f}=_0x5a88a2['getRangePointData'](_0x5a866f,_0x250a17);if(_0x5d9b4f[_0xb90352(0x2e0)]===0x0)continue;this[_0xb90352(0x1e5)](_0x3d2b46,_0x5d9b4f,_0x314aa5,_0x2f7996);}}}}}['_drawAnchor'](_0x21357b,_0x2d600d,_0x5a336a,_0x1a4900,_0x284138){const _0x2b22a7=_0x306380,_0x1d9762=this['_getAnchorBounding'](_0x2d600d),{left:_0xbd8a90,top:_0x47e5e0,height:_0xab9f57}=_0x1d9762,_0x252fb3=this[_0x2b22a7(0x283)](),_0x101b59=Ni/_0x252fb3,_0x4a4acf=new _0x5327b6(ve+_0x322f9c['generateRandomId'](X),{'left':_0xbd8a90+_0x5a336a-_0x101b59,'top':_0x47e5e0+_0x1a4900,'height':_0xab9f57,'width':Di,'fill':_0x21357b||_0x225e7c(_0x295266['black'],0x0),'strokeWidth':_0x101b59,'stroke':Mi,'evented':!0x0});this['_anchor']=_0x4a4acf,this[_0x2b22a7(0x255)][_0x2b22a7(0x182)](_0x4a4acf,_0x26434a);const _0x1d15dc=new _0x5327b6(ve+_0x322f9c[_0x2b22a7(0x194)](X),{'left':_0xbd8a90+_0x5a336a-_0x101b59,'top':_0x47e5e0+_0x1a4900-Ie/0x2,'height':Ie,'width':Ie,'fill':_0x21357b||_0x225e7c(_0x295266[_0x2b22a7(0x1f0)],0x0),'strokeWidth':0x0,'stroke':_0x21357b||_0x225e7c(_0x295266[_0x2b22a7(0x1f0)],0x0),'evented':!0x1});this[_0x2b22a7(0x198)]=_0x1d15dc,this[_0x2b22a7(0x255)][_0x2b22a7(0x182)](_0x1d15dc,_0x26434a);const _0x23dc8c=new ue(ve+_0x322f9c[_0x2b22a7(0x194)](X),{'left':_0xbd8a90+_0x5a336a-_0x101b59,'top':_0x47e5e0+_0x1a4900-te,'text':_0x284138,'color':_0x21357b});this[_0x2b22a7(0x2db)]=_0x23dc8c,this[_0x2b22a7(0x255)][_0x2b22a7(0x182)](_0x23dc8c,_0x26434a),this[_0x2b22a7(0x2b0)]=!0x1;}[_0x306380(0x285)](){const _0x15614b=_0x306380,_0x287f2b=this[_0x15614b(0x269)][_0x15614b(0x231)][_0x15614b(0x1b7)](()=>{this['_hover']=!0x0;}),_0x1f692a=this[_0x15614b(0x269)][_0x15614b(0x1cb)][_0x15614b(0x1b7)](()=>{const _0x525dd1=_0x15614b;this[_0x525dd1(0x286)]&&clearTimeout(this['_hideTimer']),this[_0x525dd1(0x286)]=setTimeout(()=>{const _0x33feef=_0x525dd1;this[_0x33feef(0x2b0)]=!0x1;},0x7d0);});return()=>{const _0x5156b9=_0x15614b;_0x287f2b[_0x5156b9(0x188)](),_0x1f692a[_0x5156b9(0x188)]();};}[_0x306380(0x1e5)](_0x29d272,_0x1538dd,_0x51b94b,_0xe83a3){const _0x2cccb1=_0x306380,_0x4c115b=new _0x424f5f(_0x29d272)['setAlpha'](0.2)[_0x2cccb1(0x110)](),_0x372021=new _0x5b3fa0(Ti+_0x322f9c[_0x2cccb1(0x194)](X),{'pointsGroup':_0x1538dd,'fill':_0x4c115b||_0x225e7c(_0x295266['black'],0.2),'left':_0x51b94b,'top':_0xe83a3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cccb1(0x28b)][_0x2cccb1(0x11e)](_0x372021),this['_scene']['addObject'](_0x372021,_0x26434a);}['_drawRectRange'](_0x36de9e,_0x16ddd8,_0x3d998a,_0x5d4be7){const _0x3d8888=_0x306380,_0x15cd67=new _0x424f5f(_0x36de9e)[_0x3d8888(0x162)](0.2)[_0x3d8888(0x110)](),_0x7d632b=new _0x5b3fa0(Ri+_0x322f9c[_0x3d8888(0x194)](X),{'pointsGroup':_0x16ddd8,'fill':_0x15cd67||_0x225e7c(_0x295266['black'],0.2),'left':_0x3d998a,'top':_0x5d4be7,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3d8888(0x28b)][_0x3d8888(0x11e)](_0x7d632b),this[_0x3d8888(0x255)][_0x3d8888(0x182)](_0x7d632b,_0x26434a);}['_getAnchorBounding'](_0x58ffde){const _0x4722a0=_0x58ffde[0x0],_0x351e20=_0x4722a0[0x0],_0x107c34=_0x4722a0[0x2],{x:_0x268274,y:_0xb63af8}=_0x351e20,{x:_0x26f3d1,y:_0x48f6a6}=_0x107c34;return{'left':_0x268274,'top':_0xb63af8,'width':_0x26f3d1-_0x268274,'height':_0x48f6a6-_0xb63af8};}[_0x306380(0x283)](){const _0x319b78=_0x306380,{scaleX:_0x579d9b,scaleY:_0x2e28aa}=this[_0x319b78(0x255)][_0x319b78(0x10d)]();return Math[_0x319b78(0x20a)](_0x579d9b,_0x2e28aa);}}var Pi=Object[_0x306380(0x295)],wi=(_0x577a48,_0x2079a2,_0x143da8,_0x2e31bf)=>{const _0x3a8c68=_0x306380;for(var _0xb880f9=_0x2e31bf>0x1?void 0x0:_0x2e31bf?Pi(_0x2079a2,_0x143da8):_0x2079a2,_0xd21418=_0x577a48[_0x3a8c68(0x2e0)]-0x1,_0x5c1bba;_0xd21418>=0x0;_0xd21418--)(_0x5c1bba=_0x577a48[_0xd21418])&&(_0xb880f9=_0x5c1bba(_0xb880f9)||_0xb880f9);return _0xb880f9;},Q=(_0x44e1b6,_0x1b9011)=>(_0x3bdd3b,_0x31ea26)=>_0x1b9011(_0x3bdd3b,_0x31ea26,_0x44e1b6);function _0x4b50(){const _0x4301f6=['getOwnPropertyDescriptor','_refreshCollabCursors','_cursors','undoState','setStateCache','post','string','UNAUTHENTICATED','_revisionService','random','NOT_FOUND','call','endRow','extend','_heartbeatTimer','engine','reconnect','getUnitId','translate(.97)','setTimeout','startColumn','_initDependencies','_localeService','actions','NOT_COLLAB','_collaborationController','asObservable','_hover','M0\x200H16V16H0z','ONLINE','4AIAueA','InsertRowCommandId','APPLY_NON_SEQUENTIAL_REVISION','_handleJoinEvent','urlChange$','getVpScrollXYInfoByPosToVp','then','invokeId','evenodd','univer-online-status-icon','1895785EwKAHv','roomMembers','exhaustSavingTask','INTERNAL_ERROR','_createSocketURL','_send','_sheetSkeletonManagerService','endColumn','propertyIsEnumerable','_docTransformIMECacheService','_disabled','restore','_handleHeartbeatEvent','_scheduleClearOtherTimer','dispose$','concat','0\x200\x2016\x2016','1083248zLVkOP','isArray','purple300','debug','_memberService','getFocusedUnit','memberID','requireSession','INVITE_CODE_HAS_BEEN_UES','...','_saveCache','transformSelections','idSuffix','_textBubble','_uiPartsService','min','_transformHistoryAndStateStack','Unknown\x20user','length','getCurrent','createInstance','fillRule','text','DeleteRangeMoveLeftCommandId','transform','_scheduleHeartbeat','imageSourceType','_entityInit$','subUnitId','_beforeCloseService','sheetId','_logService','_registerDependencies','saveOfflineData','transformByState','_setupBeforeClosingHandler','_colorIndex','_labelPosition','makeDirty','flatMap','getSheetId','_ensureSubject','MUTATION','clipPath','hide','_updateLocalCursor','_localStorageService','Error','_collaborationUIEventService','_syncEditingCollabCursorService','YUUMI_RATE_OVER_LIMIT','defineProperty','_dataLoaderService','use','onRendered','collabStatus.synced','round','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','none','registerRefRange','prototype','collabCursorState$','getUniverSheetInstance','on-line-single_clip0_910_349','756623PdVJdD','assignAColorForMemberID','drawWith','getAncestorScale','_renderManagerService','popstate','toRgbString','getActiveSheet','size','currentSkeleton$','_toggleOnline','removeParam','currentTheme$','doc.mutation.rich-text-editing','_toggleOffline','#fff','onlineStatus','_initEvent','getOwnPropertySymbols','sessionStatus$','push','collab-rect-range-','_updateURLWithCurrentState','updateOfflineData','WECHAT_HAS_BEEN_BOUND','_docTransformStateCacheService','_startDocCollabCursor','measureText','subscribe','collab-client.tooltip.reconnect','_transformPreviousActiveRange','_onRefRangeChange','deepClone','uni.network.url-service','YUUMI_URL_COL_OUT_OF_RANGE','1em','saveTaskMap','_collabCursorState$','top','replace','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','univer-flex\x20univer-items-center','setShapeProps','_context','COMPLETION_FINISHED','m2Prime','_render','onPointerMove$','split','[CollaborationDataLoaderController]','PERMISSION_DENIED','_cachedData','row','registerBeforeClose','_cursorInfo$','defs','beginPath','range','_range','newValue','_removeClearOtherTimer','name','_clearOtherTimers','onLocalMutation','getMember','values','_docStateChangeManagerService','_entities','_hovered','width','385153vWyGoR','fillText','replaceState','svg','_status$','_notificationService','save','next','findNodePositionByCharIndex','forEach','DeleteRangeMoveUpCommandId','focused$','_draw','redoState','isActive','jiqing500','ALREADY_EXISTS','_session','setAlpha','_getSaveTimeout','apply','_onCursorUpdate','blue400','_handleLeaveEvent','_color','univer-online-status-title','_collabSessionService','getCurrentSelections','session.connection-failed','mask','lineTo','_roomMembers$','session.collaboration-timeout','collabStatus.notCollab','cursorInfo$','SNAPSHOT_INVALID_SNAPSHOT','send','clearTimeout','getUndoRedoMutationParamsCache','USER_NOT_INVITED_CODE','AWAITING','_commandService','icon','pipe','EMAIL_HAS_BEEN_BOUND','getOffsetConfig','addHandlerCallback','off-line-single_clip0_910_343','APPLY_PERMISSION_DENIED','map','addObject','transformStateCache','add','_backgroundColor','div','addObjects','unsubscribe','2174544pYTnlH','_init','column','params','univer-online-status','getCurrentRevOfUnit','_assignedColors','univerjs-icon\x20univerjs-icon-','complete','parse','LICENSE_DISTRO_REJECTED','generateRandomId','onMouseMove','unshift','_lastPointer','_anchorDot','UNRECOGNIZED','collab-text-anchor-','LOGIN_FAILED','ticket','_initStatusListener','key','HEADER_MENU','_registerRenderDependencies','NO_OTHER_CLIENTS_EDITING','APPLY_DUPLICATED','#FFF','unit','transformMutation','disposeWithMe','arc','ENSURE_SNAPSHOT_EXECUTION','10500318NSPcUn','docStateChange$','_drawRectRange','UNIVER_DOC','source','delete','selection','SNAPSHOT_HAS_BEEN_REMOVED','_handleEvent','_getSessionTicket','hasOwnProperty','closePath','_initStatusComponent','OTHER_CLIENT_EDITING','subscribeEvent','get','_injector','_getSheetObject','mutations','setUndoRedoMutationParamsCache','getParam','session.will-retry','getMemberID','SOCKET_FAILED_RETRY','colorChannel1','getSkeleton','_unitStatus','_messageService','getRenderById','result','url(#off-line-single_clip0_910_343)','getUnhiddenWorksheets','selections','fill','onPointerLeave$','replaceDocRanges','UNIVER_SHEET','isEditing','with','INVALID_INVITE_CODE','toString','defIds','RECT','set','_getMergeRange','m1Prime','searchParams','setInterval','PY_RUNTIME_SCRIPT_ERROR','FromArray','_startSheetCollabCursor','MoveRangeCommandId','loadUnit','rgba(255,\x20255,\x20255,\x200.01)','_initEntityListener','OTHER_CLIENTS_EDITING','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','moveTo','Failed','OFFLINE','_drawTextRange','VIEW_MAIN','collaboration.closeRoom','_univerInstanceService','event$','unitID','path','0\x200\x2017\x2016','TEXT','pushState','CHANGESET_REVISION_CONFILICT','black','unitId','SOCKET_FAILED','_id','_cursor','_selfUnitIDs','onlineStatusTitle','transformRemoteChangeset','sheetID','collab-text-range-','disposeUnit','USERS_LEAVE','APPLY_REJECT','from','InsertRangeMoveDownCommandId','INVITE_CODE_ALREADY_BOUND','_updateCollabCursors','_updateSubUnitFromURLParams','_removeCollabCursors','enableLocalCache','textRanges','transformIMECache','body','_eventUnsubscribe','current','APPLY_REVISION_CONFILICT','max','createSocket','fillStyle','LICENSE_EXPORT_SIZE_EXCEEDED','AWAITING_WITH_PENDING','_themeService','syncEditingCollabCursor','dispose','getCollabEntity$','YUUMI_SUBSCRIPTION_NOT_FOUND','override','getTypeOfUnitDisposed$','setParam','_initResize','on-line-single','getStateCache','tag','xlink:href','function','_scheduleSaving','hovered','CONFLICT','data','runId','assign','executeCommand','UPDATE_CURSOR','_docSkeletonManagerService','_cursorShapes','setConfig','_docSkeleton','CONNECTOR_DATA_TOO_LARGE','registerRenderModule','getCollabCursors$','SUBMIT_CHANGESET_TIMEOUT','collabStatus.fetchMiss','addClipboardHook','_online','/run/','onPointerEnter$','ACTIVE_UNIT_EVENT_CHANNEL','_localCacheService','getConfig','getItem','height','_instanceService','online','_colorAssignService','entries','_transformService','indexOf','transformMutationsWithChangeset','_refRangeService','YUUMI_UNABLE_LOAD_URL','_setupSubUnitSync','getRelativeToViewportCoord','getValue','roomMembers$','onTransformChange$','_httpService','offline','children','_collabCursorController','getCurrentUnitForType','storage','location','30wsEnuy','_initCommandExecutedListener','cursorInfo','startRow','type','getRangePointData','verdancy600','eventID','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_scene','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_transformUndoRedoStack','3896457DqbPlB','setItem','url(#on-line-single_clip0_910_349)','currentColor','startsWith','ranges','init','Warning','LICENSE_IMPORT_SIZE_EXCEEDED','getViewport','InsertColCommandId','addEventListener','attrs','FETCH_MISS','INVALID_ARGUMENT','OffLineSingle','collaboration.single-unit.warning','_anchor','trim','displayName','_configService','_urlService','_unitOnClients','className','onlineStatusIcon','getUnitStatus$','MOBILE_HAS_BEEN_BOUND','INVITE_CODE_REQUIRED','href','executionId','contains','subunit','_docTransformSelectionsService','history','_name','color','symbol','_doCreateSocket','LICENSE_MAX_UNITS_EXCEEDED','_saveTaskMap','runOnServer','onStarting','error','_getScale','TOO_MANY_REQUESTS','_handleHover','_hideTimer','onCommandExecuted','getSheetBySheetId','all','bottom','_shapes','entityInit$','UNDEFINED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','registerComponent','_docSyncEditingCollabCursorService','has','show','whenReady','_config'];_0x4b50=function(){return _0x4301f6;};return _0x4b50();}let Ue=class extends _0x105c1b{constructor(_0x39822f,_0x6dcf0a,_0x317a29,_0x172236,_0x475b74){const _0x384447=_0x306380;super(),_(this,'_cursorShapes',[]),_(this,_0x384447(0x297),[]),(this[_0x384447(0x135)]=_0x39822f,this[_0x384447(0x225)]=_0x6dcf0a,this['_collabCursorController']=_0x317a29,this[_0x384447(0x179)]=_0x172236,this[_0x384447(0x20f)]=_0x475b74,this[_0x384447(0x18a)]());}[_0x306380(0x18a)](){const _0x5529c7=_0x306380,_0x564d59=this[_0x5529c7(0x135)][_0x5529c7(0x1f1)],_0x175870=this[_0x5529c7(0x225)];this[_0x5529c7(0x1a6)](_0x2619b0([this[_0x5529c7(0x248)]['getCollabCursors$'](_0x564d59),this[_0x5529c7(0x20f)][_0x5529c7(0x116)]])[_0x5529c7(0x17b)](_0x30e61e(([_0x1f6338,_0x3cbfa5])=>({'skeleton':_0x175870[_0x5529c7(0x1c2)](),'cursors':[..._0x1f6338[_0x5529c7(0x14b)]()][_0x5529c7(0x2f5)](_0x40adf7=>({..._0x40adf7,'color':_0x3cbfa5[_0x40adf7['color']]}))})))[_0x5529c7(0x126)](_0x3fa891=>{const _0x4d78ec=_0x5529c7;if(this[_0x4d78ec(0x202)](),_0x3fa891){const {skeleton:_0x521253,cursors:_0x20443c}=_0x3fa891;this[_0x4d78ec(0x200)](_0x521253,_0x20443c);}})),this[_0x5529c7(0x217)](),this[_0x5529c7(0x24d)]();}[_0x306380(0x200)](_0x3c1fb8,_0x299ae9){const _0x2143d6=_0x306380,{scene:_0x24046b,mainComponent:_0x40bb03}=this[_0x2143d6(0x135)],_0x339606=_0x299ae9['map'](_0x613f62=>new tt(_0x613f62,_0x24046b,_0x3c1fb8,_0x40bb03));this[_0x2143d6(0x226)]=_0x339606,this[_0x2143d6(0x297)]=_0x299ae9;}[_0x306380(0x296)](){const _0xa3e5da=_0x306380;this['_removeCollabCursors']();const {scene:_0x545118,mainComponent:_0xdc8acb}=this['_context'],_0xaced44=this[_0xa3e5da(0x225)][_0xa3e5da(0x1c2)](),_0x299e42=this[_0xa3e5da(0x297)][_0xa3e5da(0x181)](_0x18a778=>new tt(_0x18a778,_0x545118,_0xaced44,_0xdc8acb));this['_cursorShapes']=_0x299e42;}[_0x306380(0x202)](){const _0x5cf876=_0x306380;this[_0x5cf876(0x226)]['forEach'](_0x84345d=>_0x84345d['dispose']()),this[_0x5cf876(0x226)]=[];}['_initCommandExecutedListener'](){const _0x24862f=_0x306380,_0x213c86=[_0x4f7111['id']];this[_0x24862f(0x1a6)](this['_commandService'][_0x24862f(0x287)](_0x1e47c3=>{const _0x27c2e0=_0x24862f;_0x213c86['includes'](_0x1e47c3['id'])&&_0x1e47c3[_0x27c2e0(0x18c)][_0x27c2e0(0x1f1)]===this[_0x27c2e0(0x135)][_0x27c2e0(0x1f1)]&&this[_0x27c2e0(0x296)]();}));}['_initResize'](){const _0x51a2b1=_0x306380;this[_0x51a2b1(0x1a6)](_0x18902a(this[_0x51a2b1(0x135)][_0x51a2b1(0x2a4)][_0x51a2b1(0x244)])[_0x51a2b1(0x17b)](_0x11ec65(_0x96cf30=>_0x96cf30['type']===_0x5ed841['resize']),_0x1f4720(0x10))[_0x51a2b1(0x126)](()=>{this['_refreshCollabCursors']();}));}};Ue=wi([Q(0x1,_0x3afd9e(_0x23a42f)),Q(0x2,_0x3afd9e(H)),Q(0x3,_0x459a93),Q(0x4,_0x3afd9e(_0x5a99a8))],Ue);const Ui=0x1,Li=1.5;class Ai extends _0x4f35e0{constructor(_0x497bdc,_0x46754a){const _0xdfcb97=_0x306380;super(_0x497bdc,_0x46754a),_(this,'_color'),_(this,_0xdfcb97(0x14e),!0x1),_(this,_0xdfcb97(0x144)),_(this,_0xdfcb97(0x27a),''),_(this,_0xdfcb97(0x2f3),_0xdfcb97(0x130)),_(this,_0xdfcb97(0x185)),(_0x46754a&&this[_0xdfcb97(0x134)](_0x46754a),this[_0xdfcb97(0x231)][_0xdfcb97(0x1b7)](()=>this[_0xdfcb97(0x134)]({'hovered':!0x0})),this[_0xdfcb97(0x1cb)][_0xdfcb97(0x1b7)](()=>this[_0xdfcb97(0x134)]({'hovered':!0x1})));}[_0x306380(0x134)](_0x59f89d){const _0x2140ea=_0x306380;var _0x38c1c0,_0x4ffb7d,_0x5797f2,_0x50b0b1,_0x2b4971,_0x3dedc6;this[_0x2140ea(0x168)]=(_0x38c1c0=_0x59f89d[_0x2140ea(0x27b)])!=null?_0x38c1c0:this[_0x2140ea(0x168)],this['_hovered']=(_0x4ffb7d=_0x59f89d[_0x2140ea(0x21e)])!=null?_0x4ffb7d:this[_0x2140ea(0x14e)],this['_range']=(_0x5797f2=_0x59f89d[_0x2140ea(0x143)])!=null?_0x5797f2:this[_0x2140ea(0x144)],this[_0x2140ea(0x27a)]=(_0x50b0b1=_0x59f89d[_0x2140ea(0x147)])!=null?_0x50b0b1:this[_0x2140ea(0x27a)],this['_labelPosition']=(_0x2b4971=_0x59f89d['labelPosition'])!=null?_0x2b4971:this['_labelPosition'],this[_0x2140ea(0x185)]=(_0x3dedc6=_0x59f89d['backgroundColor'])!=null?_0x3dedc6:this[_0x2140ea(0x185)],this[_0x2140ea(0x2f0)]({'width':_0x59f89d[_0x2140ea(0x14f)],'height':_0x59f89d[_0x2140ea(0x236)]});}[_0x306380(0x195)](_0x21e97b){const _0x4bd78c=_0x306380,{row:_0x5c2c98,column:_0x23d33c}=_0x21e97b;if(_0x5c2c98>=this['_range'][_0x4bd78c(0x24f)]&&_0x5c2c98<=this['_range'][_0x4bd78c(0x2a1)]&&_0x23d33c>=this[_0x4bd78c(0x144)][_0x4bd78c(0x2a9)]&&_0x23d33c<=this[_0x4bd78c(0x144)][_0x4bd78c(0x2c4)]){this[_0x4bd78c(0x134)]({'hovered':!0x0});return;}this[_0x4bd78c(0x134)]({'hovered':!0x1});}['triggerDblclick'](_0x45d975){return!0x1;}[_0x306380(0x15c)](_0x3e274c){const _0x54a289=_0x306380;_0x5327b6[_0x54a289(0x10c)](_0x3e274c,{'width':this[_0x54a289(0x14f)],'height':this[_0x54a289(0x236)],'strokeWidth':Li,'stroke':this[_0x54a289(0x168)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x3e274c[_0x54a289(0x156)](),_0x3e274c[_0x54a289(0x2e6)](0x1,0x0,0x0,0x1,this['width'],this[_0x54a289(0x2f3)]===_0x54a289(0x28a)?0x0:-0x14),ue[_0x54a289(0x10c)](_0x3e274c,{'text':this[_0x54a289(0x27a)],'color':this[_0x54a289(0x168)]}),_0x3e274c['restore']());}}var yi=Object[_0x306380(0x295)],$i=(_0x44c496,_0x5d8313,_0x2d6365,_0x3fea5e)=>{const _0xeb2e1=_0x306380;for(var _0x3d954a=_0x3fea5e>0x1?void 0x0:_0x3fea5e?yi(_0x5d8313,_0x2d6365):_0x5d8313,_0x198642=_0x44c496[_0xeb2e1(0x2e0)]-0x1,_0x3a6d5f;_0x198642>=0x0;_0x198642--)(_0x3a6d5f=_0x44c496[_0x198642])&&(_0x3d954a=_0x3a6d5f(_0x3d954a)||_0x3d954a);return _0x3d954a;},pe=(_0x3b0dbe,_0x370e34)=>(_0x598eb2,_0x1d3b0f)=>_0x370e34(_0x598eb2,_0x1d3b0f,_0x3b0dbe);const xi=0x1389;let Le=class extends _0x105c1b{constructor(_0x10351b,_0x69152b,_0x1a65d7,_0x256e09){const _0x27733a=_0x306380;super(),_(this,'_cursors',new Set()),_(this,_0x27733a(0x197),null),(this['_context']=_0x10351b,this['_sheetSkeletonManagerService']=_0x69152b,this['_collabCursorController']=_0x1a65d7,this[_0x27733a(0x20f)]=_0x256e09,this[_0x27733a(0x18a)]());}['_init'](){const _0x42ad86=_0x306380;this[_0x42ad86(0x2c3)][_0x42ad86(0x113)][_0x42ad86(0x17b)](_0x5ae3f6(this[_0x42ad86(0x2cb)]),_0x58e5da(_0x445998=>{const _0xfac379=_0x42ad86;if(_0x445998){const _0x2689a4=_0x445998[_0xfac379(0x2ec)];return _0x2619b0(this[_0xfac379(0x248)][_0xfac379(0x22b)](this['_context']['unitId']),this['_themeService'][_0xfac379(0x116)])['pipe'](_0x30e61e(([_0x3afed7,_0x4aafab])=>{const _0x457ab6=_0xfac379,_0x40f159=new Map();return _0x3afed7[_0x457ab6(0x159)]((_0x804e68,_0x250b5c)=>{const _0xdb204f=_0x457ab6;if(_0x804e68[_0xdb204f(0x1f8)]===_0x2689a4){const _0x24e5c1={..._0x804e68};_0x24e5c1[_0xdb204f(0x27b)]=_0x4aafab[_0x804e68['color']],_0x40f159[_0xdb204f(0x1d4)](_0x250b5c,_0x24e5c1);}}),{'skeleton':_0x445998,'cursors':_0x40f159};}));}return _0x5bba0d({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x37e807,cursors:_0x10b842})=>{const _0x3cbd0c=_0x42ad86;this[_0x3cbd0c(0x202)](),_0x37e807&&this[_0x3cbd0c(0x200)](_0x37e807,_0x10b842);}),this[_0x42ad86(0x2c3)]['currentSkeleton$'][_0x42ad86(0x126)](_0x358a1d=>{const _0x520682=_0x42ad86;if(_0x358a1d==null)return;const {skeleton:_0x3cfc67}=_0x358a1d,{scene:_0x3cdff2}=this[_0x520682(0x135)];_0x3cdff2[_0x520682(0x139)]['subscribeEvent'](_0xbbae5d(_0x5b6e40=>{const _0x224469=_0x520682;var _0x10df28,_0xafca19;const {offsetX:_0x2aa8b8,offsetY:_0x27dcc3}=_0x5b6e40,{x:_0x4eaf21,y:_0x2a642b}=_0x3cdff2[_0x224469(0x241)](_0x53eff0[_0x224469(0x1da)]([_0x2aa8b8,_0x27dcc3])),{scaleX:_0x20a5ea,scaleY:_0x49a159}=_0x3cdff2['getAncestorScale'](),_0x9d3bbc=_0x3cdff2[_0x224469(0x261)](_0x591dad[_0x224469(0x1e6)]),_0x53a7c4=_0x3cdff2[_0x224469(0x2b8)](_0x53eff0[_0x224469(0x1da)]([_0x4eaf21,_0x2a642b]),_0x9d3bbc),_0x2cf6c9=_0x3cfc67['getCellPositionByOffset'](_0x2aa8b8,_0x27dcc3,_0x20a5ea,_0x49a159,_0x53a7c4);((_0x10df28=this[_0x224469(0x197)])==null?void 0x0:_0x10df28[_0x224469(0x18b)])===_0x2cf6c9[_0x224469(0x18b)]&&((_0xafca19=this[_0x224469(0x197)])==null?void 0x0:_0xafca19[_0x224469(0x13e)])===_0x2cf6c9[_0x224469(0x13e)]||this[_0x224469(0x297)][_0x224469(0x159)](_0x216bb6=>{_0x216bb6['onMouseMove'](_0x2cf6c9);});},0x64));});}[_0x306380(0x200)](_0x60a44e,_0x1af887){const _0x279560=_0x306380;var _0x31f219;const _0x7ba51e=(_0x31f219=this[_0x279560(0x2c3)][_0x279560(0x2e1)]())==null?void 0x0:_0x31f219['skeleton'];if(!_0x7ba51e)return;const _0x381813=this[_0x279560(0x1ba)]();if(!_0x381813)return;this[_0x279560(0x297)]['forEach'](_0x522db7=>{const _0x5b09e5=_0x279560;_0x522db7[_0x5b09e5(0x2f4)]();});const {scene:_0x3a2d55}=_0x381813,_0x1e5f0f=Bi(Array[_0x279560(0x1fd)](_0x1af887[_0x279560(0x14b)]()))[_0x279560(0x181)](_0x165fe5=>{const _0x4693f2=_0x279560,{color:_0x1499ea,range:_0x47bbc5,name:_0x1a2b92,selection:_0x1a6a4a,sheetID:_0x46615e}=_0x165fe5,{startColumn:_0x1f23b8,startRow:_0x9fb652,endColumn:_0x290274,endRow:_0x1cf1f6}=_0x47bbc5,_0x227c07=_0x5d8da6(_0x9fb652,_0x1f23b8,_0x3a2d55,_0x7ba51e),_0x4f8810=_0x5d8da6(_0x1cf1f6,_0x290274,_0x3a2d55,_0x7ba51e),{columnHeaderHeightAndMarginTop:_0x495d0c}=_0x7ba51e,{startX:_0x3fcdc6,startY:_0x4ce0ce}=_0x227c07,{endX:_0x1d6d9c,endY:_0x5c5626}=_0x4f8810,_0x59892c=_0x1d6d9c-_0x3fcdc6,_0x43fb27=_0x5c5626-_0x4ce0ce,_0x5d5597={'labelPosition':_0x4ce0ce-_0x495d0c>=te?_0x4693f2(0x130):'bottom','sheetID':_0x46615e,'range':_0x47bbc5,'color':_0x1499ea,'name':_0x1a2b92,'selection':_0x1a6a4a,'left':_0x3fcdc6,'top':_0x4ce0ce,'width':_0x59892c,'height':_0x43fb27,'evented':!0x1,'zIndex':xi};return new Ai(_0x1a2b92,_0x5d5597);});_0x3a2d55[_0x279560(0x187)](_0x1e5f0f,Ui),this[_0x279560(0x297)]=new Set(_0x1e5f0f);}[_0x306380(0x202)](){const _0x592c4e=_0x306380;var _0x38a64e;(_0x38a64e=this[_0x592c4e(0x297)])==null||_0x38a64e['forEach'](_0x31e68f=>_0x31e68f[_0x592c4e(0x211)]());}[_0x306380(0x1ba)](){const _0x2acf87=_0x306380;return _0x1912c1(this[_0x2acf87(0x135)][_0x2acf87(0x1a4)],this[_0x2acf87(0x135)]);}};Le=$i([pe(0x1,_0x3afd9e(_0x3e80f5)),pe(0x2,_0x3afd9e(H)),pe(0x3,_0x3afd9e(_0x5a99a8))],Le);function Bi(_0x366d3c){const _0x54231c=_0x306380,_0x2495f2=new Map();return _0x366d3c[_0x54231c(0x159)](_0x3b3a8d=>{const _0x1df2d5=_0x54231c;if(_0x2495f2['has'](_0x3b3a8d[_0x1df2d5(0x1af)])){const _0x2257f2=_0x2495f2[_0x1df2d5(0x1b8)](_0x3b3a8d[_0x1df2d5(0x1af)]);_0x2257f2['name']+=',\x20'+_0x3b3a8d[_0x1df2d5(0x147)];}else _0x2495f2[_0x1df2d5(0x1d4)](_0x3b3a8d[_0x1df2d5(0x1af)],_0x3b3a8d);}),Array[_0x54231c(0x1fd)](_0x2495f2[_0x54231c(0x14b)]());}var I=function(){const _0x2658d4=_0x306380;return I=Object[_0x2658d4(0x222)]||function(_0x5b9226){const _0xc10e1d=_0x2658d4;for(var _0x1e5a38,_0x438f1f=0x1,_0x53a828=arguments[_0xc10e1d(0x2e0)];_0x438f1f<_0x53a828;_0x438f1f++){_0x1e5a38=arguments[_0x438f1f];for(var _0x1cdfbc in _0x1e5a38)Object[_0xc10e1d(0x106)][_0xc10e1d(0x1b3)][_0xc10e1d(0x2a0)](_0x1e5a38,_0x1cdfbc)&&(_0x5b9226[_0x1cdfbc]=_0x1e5a38[_0x1cdfbc]);}return _0x5b9226;},I[_0x2658d4(0x164)](this,arguments);},ki=function(_0x366648,_0x35f734){const _0x5a0424=_0x306380;var _0x1278cc={};for(var _0x5c1c4a in _0x366648)Object[_0x5a0424(0x106)][_0x5a0424(0x1b3)][_0x5a0424(0x2a0)](_0x366648,_0x5c1c4a)&&_0x35f734[_0x5a0424(0x23c)](_0x5c1c4a)<0x0&&(_0x1278cc[_0x5c1c4a]=_0x366648[_0x5c1c4a]);if(_0x366648!=null&&typeof Object[_0x5a0424(0x11c)]==_0x5a0424(0x21c)){for(var _0x34bc38=0x0,_0x5c1c4a=Object[_0x5a0424(0x11c)](_0x366648);_0x34bc38<_0x5c1c4a[_0x5a0424(0x2e0)];_0x34bc38++)_0x35f734[_0x5a0424(0x23c)](_0x5c1c4a[_0x34bc38])<0x0&&Object[_0x5a0424(0x106)][_0x5a0424(0x2c5)][_0x5a0424(0x2a0)](_0x366648,_0x5c1c4a[_0x34bc38])&&(_0x1278cc[_0x5c1c4a[_0x34bc38]]=_0x366648[_0x5c1c4a[_0x34bc38]]);}return _0x1278cc;},We=_0xce2410(function(_0x27f7e2,_0xd6ec60){const _0x542ca4=_0x306380;var _0x4a53dc=_0x27f7e2[_0x542ca4(0x17a)],_0x161c90=_0x27f7e2['id'],_0x3a05be=_0x27f7e2['className'],_0x1eaa2a=_0x27f7e2[_0x542ca4(0x2a2)],_0x17ee7e=ki(_0x27f7e2,[_0x542ca4(0x17a),'id',_0x542ca4(0x26f),_0x542ca4(0x2a2)]),_0x3be5e7=_0x542ca4(0x190)['concat'](_0x161c90,'\x20')[_0x542ca4(0x2cc)](_0x3a05be||'')[_0x542ca4(0x26a)](),_0x396bc4=_0x5407f6('_'[_0x542ca4(0x2cc)](Wi()));return Nt(_0x4a53dc,''['concat'](_0x161c90),{'defIds':_0x4a53dc['defIds'],'idSuffix':_0x396bc4[_0x542ca4(0x208)]},I({'ref':_0xd6ec60,'className':_0x3be5e7},_0x17ee7e),_0x1eaa2a);});function Nt(_0x3cd6ec,_0x488d72,_0x38b07,_0x202d79,_0x3f7435){const _0x177217=_0x306380;return _0x58e742(_0x3cd6ec[_0x177217(0x21a)],I(I({'key':_0x488d72},Hi(_0x3cd6ec,_0x38b07,_0x3f7435)),_0x202d79),(ji(_0x3cd6ec,_0x38b07)[_0x177217(0x247)]||[])[_0x177217(0x181)](function(_0x3a6904,_0x2de3e0){const _0x582a4d=_0x177217;return Nt(_0x3a6904,''[_0x582a4d(0x2cc)](_0x488d72,'-')[_0x582a4d(0x2cc)](_0x3cd6ec['tag'],'-')[_0x582a4d(0x2cc)](_0x2de3e0),_0x38b07,void 0x0,_0x3f7435);}));}function Hi(_0x4bc236,_0x3ad4bd,_0x72c441){const _0x17bd7c=_0x306380;var _0x1655a1=I({},_0x4bc236[_0x17bd7c(0x264)]);_0x72c441!=null&&_0x72c441[_0x17bd7c(0x1c1)]&&_0x1655a1[_0x17bd7c(0x1ca)]===_0x17bd7c(0x1c1)&&(_0x1655a1[_0x17bd7c(0x1ca)]=_0x72c441[_0x17bd7c(0x1c1)]),_0x4bc236['tag']===_0x17bd7c(0x16d)&&_0x1655a1['id']&&(_0x1655a1['id']=_0x1655a1['id']+_0x3ad4bd[_0x17bd7c(0x2da)]),Object[_0x17bd7c(0x23a)](_0x1655a1)[_0x17bd7c(0x159)](function(_0x5da4d1){const _0x3ffbbc=_0x17bd7c;var _0x1b8412=_0x5da4d1[0x0],_0x44babd=_0x5da4d1[0x1];_0x1b8412===_0x3ffbbc(0x16d)&&typeof _0x44babd==_0x3ffbbc(0x29b)&&(_0x1655a1[_0x1b8412]=_0x44babd[_0x3ffbbc(0x131)](/url\(#(.*)\)/,'url(#$1'[_0x3ffbbc(0x2cc)](_0x3ad4bd[_0x3ffbbc(0x2da)],')')));});var _0x43f6d3=_0x3ad4bd[_0x17bd7c(0x1d2)];return!_0x43f6d3||_0x43f6d3[_0x17bd7c(0x2e0)]===0x0||(_0x4bc236[_0x17bd7c(0x21a)]===_0x17bd7c(0xff)&&_0x1655a1['xlink:href']&&(_0x1655a1[_0x17bd7c(0x21b)]=_0x1655a1[_0x17bd7c(0x21b)]+_0x3ad4bd[_0x17bd7c(0x2da)]),Object[_0x17bd7c(0x23a)](_0x1655a1)['forEach'](function(_0x308477){const _0x529c37=_0x17bd7c;var _0x91094e=_0x308477[0x0],_0x4efcb8=_0x308477[0x1];typeof _0x4efcb8==_0x529c37(0x29b)&&(_0x1655a1[_0x91094e]=_0x4efcb8['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3ad4bd['idSuffix'],')')));})),_0x1655a1;}function ji(_0x1eea27,_0x28d0a7){const _0x21b3f4=_0x306380;var _0x37ee19,_0x1a7ca=_0x28d0a7[_0x21b3f4(0x1d2)];return!_0x1a7ca||_0x1a7ca[_0x21b3f4(0x2e0)]===0x0?_0x1eea27:_0x1eea27[_0x21b3f4(0x21a)]===_0x21b3f4(0x141)&&(!((_0x37ee19=_0x1eea27[_0x21b3f4(0x247)])===null||_0x37ee19===void 0x0)&&_0x37ee19[_0x21b3f4(0x2e0)])?I(I({},_0x1eea27),{'children':_0x1eea27[_0x21b3f4(0x247)][_0x21b3f4(0x181)](function(_0x21fd6a){const _0x44f18e=_0x21b3f4;return typeof _0x21fd6a[_0x44f18e(0x264)]['id']==_0x44f18e(0x29b)&&_0x1a7ca&&_0x1a7ca['indexOf'](_0x21fd6a['attrs']['id'])>-0x1?I(I({},_0x21fd6a),{'attrs':I(I({},_0x21fd6a[_0x44f18e(0x264)]),{'id':_0x21fd6a[_0x44f18e(0x264)]['id']+_0x28d0a7[_0x44f18e(0x2da)]})}):_0x21fd6a;})}):_0x1eea27;}function Wi(){const _0xd48968=_0x306380;return Math[_0xd48968(0x29e)]()[_0xd48968(0x1d1)](0x24)['substring'](0x2,0x8);}We[_0x306380(0x26b)]='UniverIcon';var Fi={'tag':_0x306380(0x153),'attrs':{'fill':_0x306380(0x104),'viewBox':_0x306380(0x2cd),'width':_0x306380(0x12d),'height':_0x306380(0x12d)},'children':[{'tag':'g','attrs':{'clipPath':_0x306380(0x1c7)},'children':[{'tag':_0x306380(0x1eb),'attrs':{'stroke':_0x306380(0x25b),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x306380(0x102),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x306380(0x141),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x306380(0x1eb),'attrs':{'fill':_0x306380(0x119),'d':_0x306380(0x2b1)}}]}]}],'defIds':[_0x306380(0x17f)]},Mt=_0xce2410(function(_0xf31a3f,_0x426331){return _0x58e742(We,Object['assign']({},_0xf31a3f,{'id':'off-line-single','ref':_0x426331,'icon':Fi}));});Mt[_0x306380(0x26b)]=_0x306380(0x267);var Vi={'tag':_0x306380(0x153),'attrs':{'fill':'none','viewBox':_0x306380(0x1ec),'width':'1em','height':_0x306380(0x12d)},'children':[{'tag':'g','attrs':{'clipPath':_0x306380(0x25a)},'children':[{'tag':_0x306380(0x1eb),'attrs':{'stroke':_0x306380(0x25b),'d':_0x306380(0x103),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x306380(0x141),'attrs':{},'children':[{'tag':_0x306380(0x2f9),'attrs':{'id':_0x306380(0x109)},'children':[{'tag':_0x306380(0x1eb),'attrs':{'fill':_0x306380(0x119),'d':_0x306380(0x2b1),'transform':_0x306380(0x2a7)}}]}]}],'defIds':[_0x306380(0x109)]},Pt=_0xce2410(function(_0x162c52,_0x41ad67){const _0x32d7f6=_0x306380;return _0x58e742(We,Object[_0x32d7f6(0x222)]({},_0x162c52,{'id':_0x32d7f6(0x218),'ref':_0x41ad67,'icon':Vi}));});Pt['displayName']='OnLineSingle';const Yi=_0x306380(0x2bc),Xi=_0x306380(0x169),Gi=_0x306380(0x18d),Ki='univer-online',zi='univer-offline',G={'onlineStatusIcon':Yi,'onlineStatusTitle':Xi,'onlineStatus':Gi,'online':Ki,'offline':zi};function Ji(_0x5bd2e2){const _0x1835ab=_0x306380;switch(_0x5bd2e2){case _0x344fd8[_0x1835ab(0x1e4)]:return'collabStatus.offline';case _0x344fd8[_0x1835ab(0x21f)]:return'collabStatus.conflict';case _0x344fd8[_0x1835ab(0x265)]:return _0x1835ab(0x22d);case _0x344fd8[_0x1835ab(0x2ad)]:return _0x1835ab(0x171);case _0x344fd8[_0x1835ab(0x178)]:case _0x344fd8[_0x1835ab(0x20e)]:return'collabStatus.syncing';case _0x344fd8['SYNCED']:case _0x344fd8['PENDING']:return _0x1835ab(0x101);}}function Zi(_0x3e7155){const _0x184906=_0x306380,{status$:_0x450851}=_0x3e7155,_0x74fc53=_0x17463e(_0x450851,_0x344fd8[_0x184906(0x2ad)]),_0x4e4d44=_0x9b66f4(_0x4d2fab),_0x200e54=_0x9b66f4(_0x3f2fe9),_0x2caf36=_0x74fc53!==_0x344fd8['OFFLINE'],_0x481aad=_0x4e4d44['t'](Ji(_0x74fc53)),_0x19e9a6=_0x1fe989(G[_0x184906(0x11a)],{[G[_0x184906(0x238)]]:_0x2caf36,[G[_0x184906(0x246)]]:!_0x2caf36}),_0x579c02=_0x2caf36?_0x436a04(Pt,{}):_0x436a04(Mt,{}),_0x4ef737=_0x277056(()=>{const _0x3215ec=_0x184906;_0x2caf36||_0x200e54[_0x3215ec(0x2a5)]();},[_0x2caf36,_0x200e54]);function _0x1dc4d3(){const _0x144c0b=_0x184906;return _0x233a53(_0x144c0b(0x186),{'className':_0x1fe989(_0x19e9a6,_0x144c0b(0x133)),'onClick':_0x4ef737,'children':[_0x436a04(_0x144c0b(0x186),{'className':G[_0x144c0b(0x270)],'children':_0x579c02}),_0x436a04(_0x144c0b(0x186),{'className':G[_0x144c0b(0x1f6)],'children':_0x481aad})]});}return _0x2caf36?_0x1dc4d3():_0x436a04(_0x177b87,{'title':_0x4e4d44['t'](_0x184906(0x127)),'children':_0x1dc4d3()});}var Qi=Object[_0x306380(0x295)],qi=(_0x5db617,_0x2e8173,_0x5545e8,_0x520313)=>{const _0xabb644=_0x306380;for(var _0xdb4e8d=_0x520313>0x1?void 0x0:_0x520313?Qi(_0x2e8173,_0x5545e8):_0x2e8173,_0x3ed90b=_0x5db617[_0xabb644(0x2e0)]-0x1,_0xb4e8a6;_0x3ed90b>=0x0;_0x3ed90b--)(_0xb4e8a6=_0x5db617[_0x3ed90b])&&(_0xdb4e8d=_0xb4e8a6(_0xdb4e8d)||_0xdb4e8d);return _0xdb4e8d;},q=(_0x4253ce,_0x5f4651)=>(_0x445246,_0x4d9a9e)=>_0x5f4651(_0x445246,_0x4d9a9e,_0x4253ce);let se=class extends _0x212855{constructor(_0x515c93,_0x3d7e4d,_0x544bb4,_0x1d0d0b){const _0x186b11=_0x306380;super(),_(this,_0x186b11(0x154),new _0x39027c(_0x344fd8[_0x186b11(0x2ad)])),(this['_univerInstanceService']=_0x515c93,this[_0x186b11(0x1b9)]=_0x3d7e4d,this[_0x186b11(0x2ae)]=_0x544bb4,this['_uiPartsService']=_0x1d0d0b,this[_0x186b11(0x1b5)](),this[_0x186b11(0x19d)]());}[_0x306380(0x19d)](){const _0x2f949c=_0x306380;this['disposeWithMe'](this[_0x2f949c(0x1e8)][_0x2f949c(0x15b)][_0x2f949c(0x17b)](_0x3181cc(()=>{const _0x45d96a=_0x2f949c,_0x3dee5b=this[_0x45d96a(0x1e8)][_0x45d96a(0x2d3)]();return _0x3dee5b?this[_0x45d96a(0x2ae)][_0x45d96a(0x212)](_0x3dee5b['getUnitId']()):_0x5bba0d(null);}),_0x3181cc(_0x10c9c5=>_0x10c9c5?_0x10c9c5['status$']:_0x5bba0d(_0x344fd8['NOT_COLLAB'])))[_0x2f949c(0x126)](_0x419ffe=>{const _0x3fe1e8=_0x2f949c;this[_0x3fe1e8(0x154)]['next'](_0x419ffe);}));}[_0x306380(0x1b5)](){const _0x4c54d7=_0x306380;this[_0x4c54d7(0x1a6)](this[_0x4c54d7(0x2dc)][_0x4c54d7(0x28f)](_0x567b99[_0x4c54d7(0x19f)],()=>_0x3afacf(en({'status$':this[_0x4c54d7(0x154)]['asObservable']()}),this['_injector'])));}};se=qi([q(0x0,_0x5f5751),q(0x1,_0x3afd9e(_0x4b117)),q(0x2,_0x3afd9e(_0x354dfa)),q(0x3,_0x294510)],se);function en(_0x138790){const {status$:_0x663ee8}=_0x138790;return function(){return _0x436a04(Zi,{'status$':_0x663ee8});};}var tn=Object['getOwnPropertyDescriptor'],sn=(_0x3f3e7e,_0x5cc22d,_0x2b8508,_0x169924)=>{for(var _0x270d31=_0x169924>0x1?void 0x0:_0x169924?tn(_0x5cc22d,_0x2b8508):_0x5cc22d,_0x264715=_0x3f3e7e['length']-0x1,_0x2a22be;_0x264715>=0x0;_0x264715--)(_0x2a22be=_0x3f3e7e[_0x264715])&&(_0x270d31=_0x2a22be(_0x270d31)||_0x270d31);return _0x270d31;},B=(_0x3ff09c,_0x1003ec)=>(_0x3a6b50,_0x1e7411)=>_0x1003ec(_0x3a6b50,_0x1e7411,_0x3ff09c);let ie=class extends _0x212855{constructor(_0x31e968,_0x34550d,_0xc6c6d1,_0x5acc10,_0x30e725,_0x418b7b){const _0x322ef2=_0x306380;super(),this['_beforeCloseService']=_0x31e968,this[_0x322ef2(0x233)]=_0x34550d,this['_collaborationUIEventService']=_0xc6c6d1,this[_0x322ef2(0x1c4)]=_0x5acc10,this[_0x322ef2(0x155)]=_0x30e725,this[_0x322ef2(0x2ab)]=_0x418b7b,this[_0x322ef2(0x2f1)](),this['_initEvent']();}[_0x306380(0x2f1)](){const _0x3d8b0f=_0x306380;this['disposeWithMe'](this[_0x3d8b0f(0x2eb)][_0x3d8b0f(0x13f)](()=>{const _0x45fd60=_0x3d8b0f;if(this[_0x45fd60(0x233)][_0x45fd60(0x12e)][_0x45fd60(0x112)])return this[_0x45fd60(0x2ab)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x306380(0x11b)](){const _0x50c85b=_0x306380;this[_0x50c85b(0x1a6)](this[_0x50c85b(0xfa)][_0x50c85b(0x1e9)][_0x50c85b(0x126)](_0x29bf94=>{const _0x1a911e=_0x50c85b;_0x29bf94['id']===_0x5532f5[_0x1a911e(0x1b6)]&&this[_0x1a911e(0x1c4)][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0x25f)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x268))}),_0x29bf94['id']===_0x5532f5['CLOSE_ROOM']&&this['_messageService'][_0x1a911e(0x292)]({'type':_0x172d80['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x13c)]&&this['_notificationService'][_0x1a911e(0x292)]({'title':this[_0x1a911e(0x2ab)]['t']('permission.title'),'content':this[_0x1a911e(0x2ab)]['t']('permission.content'),'type':_0x1a911e(0x282),'duration':0x0}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x21f)]&&this[_0x1a911e(0x1c4)][_0x1a911e(0x292)]({'type':_0x172d80['Error'],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x1e7))+'('+_0x29bf94[_0x1a911e(0x220)]+')'}),_0x29bf94['id']===_0x5532f5['JOIN_ROOM_FAILED']&&this[_0x1a911e(0x1c4)]['show']({'type':_0x172d80['Warning'],'content':this[_0x1a911e(0x2ab)]['t'](_0x29bf94[_0x1a911e(0x220)]||'')}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x1c0)]&&this['_messageService'][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0x25f)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x1be))}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x1f2)]&&this[_0x1a911e(0x1c4)][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0xf9)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x16c))}),_0x29bf94['id']===_0x5532f5[_0x1a911e(0x22c)]&&this['_messageService'][_0x1a911e(0x292)]({'type':_0x172d80[_0x1a911e(0xf9)],'content':this[_0x1a911e(0x2ab)]['t'](_0x1a911e(0x170))});}));}};ie=sn([B(0x0,_0xee54a5),B(0x1,_0x2f27fe),B(0x2,_0x3afd9e(_0x27dc93)),B(0x3,_0x555e39),B(0x4,_0x278379),B(0x5,_0x3afd9e(_0x4d2fab))],ie);const nn='collaboration-client-ui.config',st={},wt=_0x59fe85(_0x306380(0x12b));var rn=Object[_0x306380(0x295)],on=(_0x137ece,_0x43df47,_0x554251,_0x51bcfc)=>{const _0x4606cf=_0x306380;for(var _0x3c633b=_0x51bcfc>0x1?void 0x0:_0x51bcfc?rn(_0x43df47,_0x554251):_0x43df47,_0x31ffcf=_0x137ece[_0x4606cf(0x2e0)]-0x1,_0x46616b;_0x31ffcf>=0x0;_0x31ffcf--)(_0x46616b=_0x137ece[_0x31ffcf])&&(_0x3c633b=_0x46616b(_0x3c633b)||_0x3c633b);return _0x3c633b;},K=(_0xfff79f,_0x19f39e)=>(_0x321415,_0x11fd35)=>_0x19f39e(_0x321415,_0x11fd35,_0xfff79f);let ne=class extends _0x105c1b{constructor(_0x5db183,_0x1ac51e,_0x17e9d0,_0x25f071,_0x2f57c3){const _0x2fd740=_0x306380;super(),this['_urlService']=_0x5db183,this[_0x2fd740(0x2ed)]=_0x1ac51e,this[_0x2fd740(0x179)]=_0x17e9d0,this[_0x2fd740(0xfe)]=_0x25f071,_0x2f57c3?_0x2f57c3==null||_0x2f57c3[_0x2fd740(0x293)]()[_0x2fd740(0x2b9)](()=>this[_0x2fd740(0x18a)]()):(this['_logService'][_0x2fd740(0x2d1)](_0x2fd740(0x13b),_0x2fd740(0x254)),this[_0x2fd740(0x18a)]());}async[_0x306380(0x18a)](){const _0x231f9e=_0x306380,_0x1464bb=this[_0x231f9e(0x26d)]['getParam']('unit'),_0x4cbd2d=this['_urlService'][_0x231f9e(0x1bd)](_0x231f9e(0x250)),_0x1f6de6=this['_urlService'][_0x231f9e(0x1bd)](_0x231f9e(0x277));if(!_0x1464bb||!_0x4cbd2d){this[_0x231f9e(0x2ed)]['debug'](_0x231f9e(0x13b),_0x231f9e(0x1e1));return;}const _0xf0264=await this[_0x231f9e(0xfe)][_0x231f9e(0x1dd)](_0x1464bb,Number(_0x4cbd2d),_0x1f6de6);_0xf0264&&_0xf0264 instanceof _0x2e84fd&&this[_0x231f9e(0x240)](_0xf0264);}async[_0x306380(0x240)](_0x33e071){const _0x5dc777=_0x306380;await this[_0x5dc777(0x201)](_0x33e071),_0x33e071['activeSheet$'][_0x5dc777(0x17b)](_0x49b09f(this[_0x5dc777(0x2cb)]))[_0x5dc777(0x126)](_0xe3e86=>{_0xe3e86&&this['_updateURLWithCurrentState'](_0xe3e86);}),this[_0x5dc777(0x26d)][_0x5dc777(0x2b7)][_0x5dc777(0x17b)](_0x49b09f(this[_0x5dc777(0x2cb)]))[_0x5dc777(0x126)](()=>this[_0x5dc777(0x201)](_0x33e071));}[_0x306380(0x120)](_0x431ce7,_0x2bb391=!0x1){const _0x48b88b=_0x306380,_0x37b854=this[_0x48b88b(0x26d)][_0x48b88b(0x1bd)](_0x48b88b(0x277));_0x431ce7[_0x48b88b(0x2f6)]()!==_0x37b854&&this[_0x48b88b(0x26d)][_0x48b88b(0x216)](_0x48b88b(0x277),_0x431ce7[_0x48b88b(0x2f6)](),_0x2bb391);}async[_0x306380(0x201)](_0x41e3c2){const _0x3ffce6=_0x306380;var _0x2b8cfc;const _0x53ec31=this[_0x3ffce6(0x26d)][_0x3ffce6(0x1bd)]('subunit');if(!_0x53ec31||!_0x41e3c2['getSheetBySheetId'](_0x53ec31)){const _0x121b5e=_0x41e3c2[_0x3ffce6(0x1c8)]()[0x0],_0x16598c=_0x41e3c2[_0x3ffce6(0x288)](_0x121b5e);if(!_0x16598c)return;this[_0x3ffce6(0x120)](_0x16598c,!0x0),await this[_0x3ffce6(0x179)][_0x3ffce6(0x223)](_0x481dfe['id'],{'unitId':_0x41e3c2[_0x3ffce6(0x2a6)](),'subUnitId':_0x121b5e});return;}((_0x2b8cfc=_0x41e3c2[_0x3ffce6(0x111)]())==null?void 0x0:_0x2b8cfc[_0x3ffce6(0x2f6)]())!==_0x53ec31&&await this[_0x3ffce6(0x179)][_0x3ffce6(0x223)](_0x481dfe['id'],{'unitId':_0x41e3c2[_0x3ffce6(0x2a6)](),'subUnitId':_0x53ec31});}};ne=on([K(0x0,wt),K(0x1,_0x3120e3),K(0x2,_0x459a93),K(0x3,_0x3afd9e(_0x2f7e52)),K(0x4,_0x1c9169(_0x33cba8))],ne);var an=Object[_0x306380(0x295)],cn=(_0x1d5fc8,_0x4ae2c7,_0x66ab27,_0x294c31)=>{const _0x39c03f=_0x306380;for(var _0x58ed4a=_0x294c31>0x1?void 0x0:_0x294c31?an(_0x4ae2c7,_0x66ab27):_0x4ae2c7,_0x4279a7=_0x1d5fc8[_0x39c03f(0x2e0)]-0x1,_0x5ef3fe;_0x4279a7>=0x0;_0x4279a7--)(_0x5ef3fe=_0x1d5fc8[_0x4279a7])&&(_0x58ed4a=_0x5ef3fe(_0x58ed4a)||_0x58ed4a);return _0x58ed4a;},Ce=(_0x137953,_0x5b551f)=>(_0x4d5def,_0x4fee70)=>_0x5b551f(_0x4d5def,_0x4fee70,_0x137953);let re=class{constructor(_0x5375e0,_0x114fa9,_0x2333ca){const _0xf17f26=_0x306380;this[_0xf17f26(0x1b9)]=_0x5375e0,this[_0xf17f26(0x23b)]=_0x114fa9,this[_0xf17f26(0x10e)]=_0x2333ca;}['transformIMECache'](_0x133c1b){const _0x409057=_0x306380;this[_0x409057(0x257)](_0x133c1b),this[_0x409057(0x128)](_0x133c1b);}[_0x306380(0x1f7)](_0x425852){const _0x8f627b=_0x306380,{unitID:_0x2a7325}=_0x425852,_0x1a6cdd=this[_0x8f627b(0x10e)][_0x8f627b(0x1c5)](_0x2a7325)['with'](_0x369c07),{redoCache:_0xf4980d}=_0x1a6cdd[_0x8f627b(0x176)]();if(_0xf4980d[_0x8f627b(0x2e0)]===0x0)return _0x425852;let _0x411fe3=_0x322f9c['deepClone'](_0x425852[_0x8f627b(0x1bb)][0x0]);for(let _0x63f9c1=0x0;_0x63f9c1<_0xf4980d['length'];_0x63f9c1++){const _0x2e3940={'id':_0x8f627b(0x117),'params':{..._0xf4980d[_0x63f9c1]}},_0x1e0b23=this[_0x8f627b(0x23b)]['transformMutation'](_0x411fe3,_0x2e3940,!0x1);if(_0x321bf4(_0x1e0b23))throw _0x1e0b23[_0x8f627b(0x282)];_0x411fe3=_0x1e0b23['m1Prime'];}return{..._0x322f9c[_0x8f627b(0x12a)](_0x425852),'mutations':[_0x411fe3]};}[_0x306380(0x257)](_0x12ab8b){const _0x3927f4=_0x306380,{unitID:_0x85626}=_0x12ab8b,_0x5bbd97=this[_0x3927f4(0x10e)][_0x3927f4(0x1c5)](_0x85626)[_0x3927f4(0x1cf)](_0x369c07),{undoCache:_0x2d4da0,redoCache:_0x142f9c}=_0x5bbd97['getUndoRedoMutationParamsCache']();if(_0x2d4da0[_0x3927f4(0x2e0)]===0x0||_0x142f9c[_0x3927f4(0x2e0)]===0x0)return;const _0x175479=[],_0x1aad48=[];let _0x452568=_0x322f9c[_0x3927f4(0x12a)](_0x12ab8b['mutations'][0x0]),_0x17cee1=_0x322f9c[_0x3927f4(0x12a)](_0x12ab8b[_0x3927f4(0x1bb)][0x0]);for(let _0x116b3f=_0x2d4da0[_0x3927f4(0x2e0)]-0x1;_0x116b3f>=0x0;_0x116b3f--){const _0x1dd24c={'id':_0x3927f4(0x117),'params':{..._0x2d4da0[_0x116b3f]}},_0x483202={'id':_0x3927f4(0x117),'params':{..._0x142f9c[_0x116b3f]}},_0x180b8c=this[_0x3927f4(0x23b)][_0x3927f4(0x1a5)](_0x452568,_0x1dd24c,!0x1),_0x57848d=this[_0x3927f4(0x23b)]['transformMutation'](_0x17cee1,_0x483202,!0x1);if(_0x321bf4(_0x180b8c))throw _0x180b8c[_0x3927f4(0x282)];if(_0x321bf4(_0x57848d))throw _0x57848d['error'];_0x175479[_0x3927f4(0x196)](_0x180b8c['m2Prime'][_0x3927f4(0x18c)]),_0x1aad48[_0x3927f4(0x196)](_0x57848d[_0x3927f4(0x137)]['params']),_0x452568=_0x180b8c['m1Prime'],_0x17cee1=_0x57848d[_0x3927f4(0x1d6)];}_0x5bbd97[_0x3927f4(0x1bc)]({'undoCache':_0x175479,'redoCache':_0x1aad48});}[_0x306380(0x128)](_0x86ddcb){const _0x298518=_0x306380,{unitID:_0x11b421}=_0x86ddcb,_0x5712af=this['_renderManagerService'][_0x298518(0x1c5)](_0x11b421)[_0x298518(0x1cf)](_0x369c07),_0x11904a=_0x5712af['getActiveRange']();if(_0x11904a==null)return;const _0x5313e8=[{'id':_0x298518(0x117),'params':{'unitId':_0x86ddcb[_0x298518(0x1ea)],'actions':null,'textRanges':[_0x11904a]}}],_0x124675=this[_0x298518(0x23b)]['transformMutationsWithChangeset'](_0x86ddcb,_0x5313e8);if(!_0x2157ba(_0x124675))throw _0x124675[_0x298518(0x282)];const _0x5d6ca2=_0x124675[_0x298518(0x137)][0x0][_0x298518(0x18c)][_0x298518(0x204)];Array[_0x298518(0x2cf)](_0x5d6ca2)&&_0x5d6ca2[_0x298518(0x2e0)]&&_0x5712af['setActiveRange'](_0x5d6ca2[0x0]);}};re=cn([Ce(0x0,_0x3afd9e(_0x4b117)),Ce(0x1,_0x7bf59f),Ce(0x2,_0x177c33)],re);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x1a60ad,_0x1d4814,_0x18f0fb,_0x4868e7)=>{const _0xe19d2f=_0x306380;for(var _0x30709c=_0x4868e7>0x1?void 0x0:_0x4868e7?ln(_0x1d4814,_0x18f0fb):_0x1d4814,_0xba1704=_0x1a60ad[_0xe19d2f(0x2e0)]-0x1,_0x7f0164;_0xba1704>=0x0;_0xba1704--)(_0x7f0164=_0x1a60ad[_0xba1704])&&(_0x30709c=_0x7f0164(_0x30709c)||_0x30709c);return _0x30709c;},Ee=(_0x5726fd,_0x284a40)=>(_0xb203ad,_0x17edaf)=>_0x284a40(_0xb203ad,_0x17edaf,_0x5726fd);let oe=class{constructor(_0x4d2a88,_0xfd729,_0x360081){const _0x1c5d1c=_0x306380;this[_0x1c5d1c(0x1b9)]=_0x4d2a88,this[_0x1c5d1c(0x23b)]=_0xfd729,this[_0x1c5d1c(0x14c)]=_0x360081;}[_0x306380(0x183)](_0x31f776){const _0x144dcd=_0x306380;this[_0x144dcd(0x2de)](_0x31f776);}[_0x306380(0x1f7)](_0x4c796f){const _0x436a98=_0x306380,{unitID:_0x41ea11}=_0x4c796f,{collaboration:_0x30b55b}=this[_0x436a98(0x14c)][_0x436a98(0x219)](_0x41ea11);if(_0x30b55b[_0x436a98(0x2e0)]===0x0)return _0x4c796f;let _0xecfa47=_0x322f9c[_0x436a98(0x12a)](_0x4c796f[_0x436a98(0x1bb)][0x0]);for(let _0x4765c8=0x0;_0x4765c8<_0x30b55b[_0x436a98(0x2e0)];_0x4765c8++){const _0x5476e0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x30b55b[_0x4765c8][_0x436a98(0x1f1)],..._0x30b55b[_0x4765c8]['redoState']}},_0x2cdfe4=this['_transformService'][_0x436a98(0x1a5)](_0xecfa47,_0x5476e0,!0x1);if(_0x321bf4(_0x2cdfe4))throw _0x2cdfe4[_0x436a98(0x282)];_0xecfa47=_0x2cdfe4[_0x436a98(0x1d6)];}return{..._0x322f9c[_0x436a98(0x12a)](_0x4c796f),'mutations':[_0xecfa47]};}[_0x306380(0x2de)](_0x10f425){const _0x1f4820=_0x306380,{unitID:_0x1998fe}=_0x10f425,{history:_0x70fc5,collaboration:_0x19201c}=this['_docStateChangeManagerService'][_0x1f4820(0x219)](_0x1998fe);if(_0x70fc5['length']===0x0&&_0x19201c[_0x1f4820(0x2e0)]===0x0)return;const _0x563ef4=[],_0x49d2f4=[];let _0x462df3=_0x322f9c['deepClone'](_0x10f425[_0x1f4820(0x1bb)][0x0]),_0x37310f=_0x322f9c['deepClone'](_0x10f425[_0x1f4820(0x1bb)][0x0]);for(let _0x1a18a5=_0x70fc5[_0x1f4820(0x2e0)]-0x1;_0x1a18a5>=0x0;_0x1a18a5--){const _0x5e0dbe={'id':_0x1f4820(0x117),'params':{'unitId':_0x70fc5[_0x1a18a5]['unitId'],..._0x70fc5[_0x1a18a5][_0x1f4820(0x298)]}},_0x579e49={'id':_0x1f4820(0x117),'params':{'unitId':_0x70fc5[_0x1a18a5][_0x1f4820(0x1f1)],..._0x70fc5[_0x1a18a5][_0x1f4820(0x15d)]}},_0x48863d=this['_transformService'][_0x1f4820(0x1a5)](_0x462df3,_0x5e0dbe,!0x1),_0x2ff7eb=this[_0x1f4820(0x23b)]['transformMutation'](_0x37310f,_0x579e49,!0x1);if(_0x321bf4(_0x48863d))throw _0x48863d[_0x1f4820(0x282)];if(_0x321bf4(_0x2ff7eb))throw _0x2ff7eb[_0x1f4820(0x282)];_0x563ef4[_0x1f4820(0x196)]({..._0x70fc5[_0x1a18a5],'undoState':_0x48863d[_0x1f4820(0x137)][_0x1f4820(0x18c)],'redoState':_0x2ff7eb[_0x1f4820(0x137)][_0x1f4820(0x18c)]}),_0x462df3=_0x48863d[_0x1f4820(0x1d6)],_0x37310f=_0x2ff7eb[_0x1f4820(0x1d6)];}_0x462df3=_0x322f9c['deepClone'](_0x10f425[_0x1f4820(0x1bb)][0x0]),_0x37310f=_0x322f9c[_0x1f4820(0x12a)](_0x10f425[_0x1f4820(0x1bb)][0x0]);for(let _0x4f471e=_0x19201c[_0x1f4820(0x2e0)]-0x1;_0x4f471e>=0x0;_0x4f471e--){const _0x3402d5={'id':_0x1f4820(0x117),'params':{'unitId':_0x19201c[_0x4f471e]['unitId'],..._0x19201c[_0x4f471e][_0x1f4820(0x298)]}},_0x5dd02b={'id':_0x1f4820(0x117),'params':{'unitId':_0x19201c[_0x4f471e]['unitId'],..._0x19201c[_0x4f471e][_0x1f4820(0x15d)]}},_0x2e8557=this[_0x1f4820(0x23b)][_0x1f4820(0x1a5)](_0x462df3,_0x3402d5,!0x1),_0x3cbd89=this[_0x1f4820(0x23b)][_0x1f4820(0x1a5)](_0x37310f,_0x5dd02b,!0x1);if(_0x321bf4(_0x2e8557))throw _0x2e8557[_0x1f4820(0x282)];if(_0x321bf4(_0x3cbd89))throw _0x3cbd89[_0x1f4820(0x282)];_0x49d2f4['unshift']({..._0x19201c[_0x4f471e],'undoState':_0x2e8557['m2Prime'][_0x1f4820(0x18c)],'redoState':_0x3cbd89['m2Prime'][_0x1f4820(0x18c)]}),_0x462df3=_0x2e8557[_0x1f4820(0x1d6)],_0x37310f=_0x3cbd89[_0x1f4820(0x1d6)];}this['_docStateChangeManagerService'][_0x1f4820(0x299)](_0x1998fe,{'history':_0x563ef4,'collaboration':_0x49d2f4});}};oe=_n([Ee(0x0,_0x3afd9e(_0x4b117)),Ee(0x1,_0x7bf59f),Ee(0x2,_0x3afd9e(_0x3d861c))],oe);var hn=Object[_0x306380(0x295)],un=(_0x3463ae,_0x150ecd,_0x3980ab,_0xbddcac)=>{const _0x1b0f79=_0x306380;for(var _0x959cf5=_0xbddcac>0x1?void 0x0:_0xbddcac?hn(_0x150ecd,_0x3980ab):_0x150ecd,_0xb9f0de=_0x3463ae[_0x1b0f79(0x2e0)]-0x1,_0x539c80;_0xb9f0de>=0x0;_0xb9f0de--)(_0x539c80=_0x3463ae[_0xb9f0de])&&(_0x959cf5=_0x539c80(_0x959cf5)||_0x959cf5);return _0x959cf5;},it=(_0x42711a,_0x4c06be)=>(_0x2608e1,_0x2ac2c6)=>_0x4c06be(_0x2608e1,_0x2ac2c6,_0x42711a);let ae=class{constructor(_0x248992,_0x402260){const _0x5d2739=_0x306380;this[_0x5d2739(0x1b9)]=_0x248992,this[_0x5d2739(0x23b)]=_0x402260;}['transformSelections'](_0x377380){const _0x29d80b=_0x306380;var _0x5f797;const _0xdf5d4a=this[_0x29d80b(0x1b9)][_0x29d80b(0x1b8)](_0x512101),_0xd98f1c=(_0x5f797=_0xdf5d4a['getDocRanges']())!=null?_0x5f797:[];if(_0xd98f1c[_0x29d80b(0x2e0)]===0x0)return;const _0x11fe1e=_0x377380['unitID'],_0x19fcf9=[{'id':_0x29d80b(0x117),'params':{'unitId':_0x11fe1e,'actions':null,'textRanges':_0xd98f1c}}],_0x4d71a9=this[_0x29d80b(0x23b)][_0x29d80b(0x23d)](_0x377380,_0x19fcf9);if(!_0x2157ba(_0x4d71a9))throw _0x4d71a9[_0x29d80b(0x282)];const _0x3ab2ed=_0x4d71a9[_0x29d80b(0x137)][0x0][_0x29d80b(0x18c)]['textRanges'];Array['isArray'](_0x3ab2ed)&&_0x3ab2ed['length']&&_0xdf5d4a[_0x29d80b(0x1cc)](_0x3ab2ed,{'unitId':_0x11fe1e,'subUnitId':_0x11fe1e},!0x1);}};ae=un([it(0x0,_0x3afd9e(_0x4b117)),it(0x1,_0x7bf59f)],ae);var dn=Object[_0x306380(0x295)],fn=(_0x4ae8a7,_0x515976,_0x48cb61,_0x11dde6)=>{const _0x194f81=_0x306380;for(var _0x32d922=_0x11dde6>0x1?void 0x0:_0x11dde6?dn(_0x515976,_0x48cb61):_0x515976,_0x4ea486=_0x4ae8a7[_0x194f81(0x2e0)]-0x1,_0x79be08;_0x4ea486>=0x0;_0x4ea486--)(_0x79be08=_0x4ae8a7[_0x4ea486])&&(_0x32d922=_0x79be08(_0x32d922)||_0x32d922);return _0x32d922;},M=(_0xba34d2,_0x4d410e)=>(_0x1c06e6,_0x43fe72)=>_0x4d410e(_0x1c06e6,_0x43fe72,_0xba34d2);let ce=class extends _0x212855{constructor(_0x35c4fa,_0x53bd8e,_0x49d381,_0x43d913,_0x38fb2b,_0x294169,_0x28d9b7,_0x342100){const _0x529c6c=_0x306380;super(),_(this,_0x529c6c(0x154),new _0x39027c(_0x344fd8['NOT_COLLAB'])),(this[_0x529c6c(0x14c)]=_0x35c4fa,this[_0x529c6c(0x2ae)]=_0x53bd8e,this[_0x529c6c(0x2c6)]=_0x49d381,this[_0x529c6c(0x123)]=_0x43d913,this[_0x529c6c(0x278)]=_0x38fb2b,this[_0x529c6c(0x290)]=_0x294169,this[_0x529c6c(0x1c4)]=_0x28d9b7,this[_0x529c6c(0x2ab)]=_0x342100,this[_0x529c6c(0x1df)]());}[_0x306380(0x1df)](){const _0x80f84a=_0x306380;this[_0x80f84a(0x1a6)](this[_0x80f84a(0x2ae)][_0x80f84a(0x28c)]['subscribe'](_0x2c1d62=>{const _0x3ecf4c=_0x80f84a,_0x433b06=this['_docStateChangeManagerService'][_0x3ecf4c(0x1aa)][_0x3ecf4c(0x126)](_0x231709=>{const _0x5956de=_0x3ecf4c;if(_0x231709==null)return;const {unitId:_0xc42a03,redoState:_0x36c3c7,commandId:_0x2306e5}=_0x231709;if(_0xc42a03!==_0x2c1d62[_0x5956de(0x1ea)])return;const _0x4a439d={'id':_0x2306e5,'type':_0x1846a2[_0x5956de(0x2f8)],'params':{'unitId':_0xc42a03,'actions':_0x36c3c7[_0x5956de(0x2ac)],'textRanges':null}};_0x2c1d62[_0x5956de(0x149)](_0x4a439d);});if(_0x2c1d62[_0x3ecf4c(0x1a6)](_0x433b06),_0x2c1d62 instanceof _0x530020){const _0x20c5a6={'onTransformIME':_0x5b5d21=>this[_0x3ecf4c(0x2c6)][_0x3ecf4c(0x205)](_0x5b5d21),'onTransformState':_0x48c2c4=>this[_0x3ecf4c(0x123)][_0x3ecf4c(0x183)](_0x48c2c4),'onTransformSelections':_0x417459=>this[_0x3ecf4c(0x278)][_0x3ecf4c(0x2d9)](_0x417459),'onSyncEditingCollabCursor':_0x362dd5=>this[_0x3ecf4c(0x290)][_0x3ecf4c(0x210)](_0x362dd5),'onTransformRemoteChangesetByIMECache':_0x1f8149=>this['_docTransformIMECacheService'][_0x3ecf4c(0x1f7)](_0x1f8149),'onTransformRemoteChangesetByStateCache':_0x169d36=>this[_0x3ecf4c(0x123)]['transformRemoteChangeset'](_0x169d36)};_0x2c1d62[_0x3ecf4c(0x17e)](_0x20c5a6);}}));}};ce=fn([M(0x0,_0x3afd9e(_0x3d861c)),M(0x1,_0x3afd9e(_0x354dfa)),M(0x2,_0x3afd9e(re)),M(0x3,_0x3afd9e(oe)),M(0x4,_0x3afd9e(ae)),M(0x5,_0x3afd9e(je)),M(0x6,_0x555e39),M(0x7,_0x3afd9e(_0x4d2fab))],ce);var Sn=Object[_0x306380(0x295)],mn=(_0x558ef0,_0x4b59bf,_0x56a666,_0x4fc549)=>{const _0x184afe=_0x306380;for(var _0x27919e=_0x4fc549>0x1?void 0x0:_0x4fc549?Sn(_0x4b59bf,_0x56a666):_0x4b59bf,_0x3c4f89=_0x558ef0[_0x184afe(0x2e0)]-0x1,_0x44dd11;_0x3c4f89>=0x0;_0x3c4f89--)(_0x44dd11=_0x558ef0[_0x3c4f89])&&(_0x27919e=_0x44dd11(_0x27919e)||_0x27919e);return _0x27919e;},be=(_0x2e7e58,_0x58c07a)=>(_0x4f4ddb,_0x66bc50)=>_0x58c07a(_0x4f4ddb,_0x66bc50,_0x2e7e58);let Ae=class extends _0x212855{constructor(_0x3f93f2,_0x11fa74,_0x277811){const _0x397773=_0x306380;super(),_(this,_0x397773(0x13d),new Map()),_(this,_0x397773(0x27f),new Map()),_(this,_0x397773(0x2c7),!0x1),(this[_0x397773(0x26c)]=_0x3f93f2,this[_0x397773(0xf8)]=_0x11fa74,this[_0x397773(0x29d)]=_0x277811);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x306380(0x203)](){this['_disabled']=!0x1;}get[_0x306380(0x12e)](){return this['_saveTaskMap'];}[_0x306380(0x211)](){const _0x429b2a=_0x306380;this[_0x429b2a(0x2bf)]()['then'](()=>super[_0x429b2a(0x211)]());}async['loadOfflineData'](_0xe7b16d){const _0x23f34c=_0x306380;return this[_0x23f34c(0x2c7)]?null:this[_0x23f34c(0xf8)][_0x23f34c(0x235)](_0x1ae124(_0xe7b16d));}async[_0x306380(0x2ef)](_0x320e70,_0x17cbf6){const _0x1d501c=_0x306380;return!!this[_0x1d501c(0xf8)]['setItem'](_0x320e70,_0x17cbf6);}[_0x306380(0x121)](_0x263ab1,_0x54c751,_0x1b632a,_0x186f8b){const _0x5e342c=_0x306380,_0x36846a=this[_0x5e342c(0x29d)][_0x5e342c(0x18e)](_0x263ab1);this['_cachedData'][_0x5e342c(0x1d4)](_0x263ab1,{'unitID':_0x263ab1,'type':_0x54c751,'awaitingChangeset':_0x1b632a,'mutations':_0x186f8b,'rev':_0x36846a}),this[_0x5e342c(0x27f)][_0x5e342c(0x291)](_0x263ab1)||this[_0x5e342c(0x21d)](_0x263ab1);}[_0x306380(0x21d)](_0x221e3b){const _0x246fff=_0x306380,_0x58fb67=this[_0x246fff(0x163)]();_0x58fb67===0x0?this[_0x246fff(0x2d8)](_0x221e3b):this[_0x246fff(0x27f)][_0x246fff(0x1d4)](_0x221e3b,setTimeout(()=>this[_0x246fff(0x2d8)](_0x221e3b),_0x58fb67));}[_0x306380(0x163)](){const _0x1f66d6=_0x306380;var _0x43f1d8;return(_0x43f1d8=this[_0x1f66d6(0x26c)][_0x1f66d6(0x234)](_0x4ab531))!=null?_0x43f1d8:_0xc97530;}[_0x306380(0x2d8)](_0x2242d6){const _0x2eca1e=_0x306380,_0x109f30=this[_0x2eca1e(0x27f)][_0x2eca1e(0x1b8)](_0x2242d6);return _0x109f30!==void 0x0&&window[_0x2eca1e(0x175)](_0x109f30),this[_0x2eca1e(0xf8)]['setItem'](_0x1ae124(_0x2242d6),this[_0x2eca1e(0x13d)][_0x2eca1e(0x1b8)](_0x2242d6))[_0x2eca1e(0x2b9)](()=>this['_saveTaskMap']['delete'](_0x2242d6));}async['exhaustSavingTask'](){const _0x1f76de=_0x306380,_0x3d368b=[];this[_0x1f76de(0x27f)][_0x1f76de(0x159)]((_0x54b11e,_0x4751a4)=>{const _0xad21b0=_0x1f76de;window[_0xad21b0(0x175)](_0x54b11e),_0x3d368b['push'](this[_0xad21b0(0x2d8)](_0x4751a4)[_0xad21b0(0x2b9)](()=>{const _0x45224c=_0xad21b0;this[_0x45224c(0x27f)][_0x45224c(0x1ae)](_0x4751a4);}));}),await Promise[_0x1f76de(0x289)](_0x3d368b);}};Ae=mn([be(0x0,_0xc0ea31),be(0x1,_0x5971f0),be(0x2,_0x3afd9e(_0x15ca61))],Ae);class gn extends _0x105c1b{constructor(){const _0x1efaa0=_0x306380;super(),_(this,_0x1efaa0(0x2b7)),this[_0x1efaa0(0x2b7)]=_0x1b2312(window,_0x1efaa0(0x10f))[_0x1efaa0(0x17b)](_0x49b09f(this[_0x1efaa0(0x2cb)]),_0x51a7e2(0x1),_0x33a373(void 0x0));}['setParam'](_0x891271,_0x282fbe,_0xe4140a=!0x1){const _0x19ed70=_0x306380,_0x301c81=new URL(window[_0x19ed70(0x24b)]['href']);_0x301c81[_0x19ed70(0x1d7)][_0x19ed70(0x1d4)](_0x891271,_0x282fbe),_0xe4140a?window['history'][_0x19ed70(0x152)]('','',_0x301c81[_0x19ed70(0x1d1)]()):window['history'][_0x19ed70(0x1ee)]('','',_0x301c81[_0x19ed70(0x1d1)]());}[_0x306380(0x115)](_0x340b4a,_0x130e90=!0x1){const _0x24d728=_0x306380,_0x37a95c=new URL(window[_0x24d728(0x24b)][_0x24d728(0x274)]);_0x37a95c[_0x24d728(0x1d7)]['delete'](_0x340b4a),_0x130e90?window[_0x24d728(0x279)][_0x24d728(0x152)]('','',_0x37a95c[_0x24d728(0x1d1)]()):window[_0x24d728(0x279)][_0x24d728(0x1ee)]('','',_0x37a95c[_0x24d728(0x1d1)]());}[_0x306380(0x1bd)](_0xa3c4a4){const _0x5b3bcd=_0x306380;var _0x6c9200;return(_0x6c9200=new URL(window['location'][_0x5b3bcd(0x274)])[_0x5b3bcd(0x1d7)]['get'](_0xa3c4a4))!=null?_0x6c9200:void 0x0;}}var vn=Object[_0x306380(0xfd)],In=Object['getOwnPropertyDescriptor'],pn=(_0x14262,_0x261fe4,_0x3ed8e2)=>_0x261fe4 in _0x14262?vn(_0x14262,_0x261fe4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ed8e2}):_0x14262[_0x261fe4]=_0x3ed8e2,Cn=(_0x31e64b,_0x22fda8,_0x36257a,_0x82c00)=>{const _0x3f8b1e=_0x306380;for(var _0x2ca7e9=_0x82c00>0x1?void 0x0:_0x82c00?In(_0x22fda8,_0x36257a):_0x22fda8,_0x2af5e4=_0x31e64b[_0x3f8b1e(0x2e0)]-0x1,_0x58d56a;_0x2af5e4>=0x0;_0x2af5e4--)(_0x58d56a=_0x31e64b[_0x2af5e4])&&(_0x2ca7e9=_0x58d56a(_0x2ca7e9)||_0x2ca7e9);return _0x2ca7e9;},Oe=(_0x1c561f,_0x5a2db1)=>(_0x172962,_0x5a1205)=>_0x5a2db1(_0x172962,_0x5a1205,_0x1c561f),En=(_0x579895,_0x2054c4,_0x11bb44)=>pn(_0x579895,_0x2054c4+'',_0x11bb44);const bn=_0x306380(0x132);let ye=class extends _0x90d560{constructor(_0x551e75=st,_0x1b2b55,_0xdd102a,_0x2872e1){const _0x57c648=_0x306380;super(),this[_0x57c648(0x294)]=_0x551e75,this[_0x57c648(0x10e)]=_0x1b2b55,this[_0x57c648(0x1b9)]=_0xdd102a,this[_0x57c648(0x26c)]=_0x2872e1;const {..._0x4cf0ce}=_0x2d7b3e({},st,this[_0x57c648(0x294)]);this['_configService'][_0x57c648(0x227)](nn,_0x4cf0ce);}[_0x306380(0x281)](){const _0x42dada=_0x306380;this[_0x42dada(0x2ee)](),this[_0x42dada(0x2aa)]();}[_0x306380(0x100)](){const _0x43a6f3=_0x306380;this[_0x43a6f3(0x1a0)]();}['_registerDependencies'](){const _0x3784d0=_0x306380;var _0x5c6ba1;const _0x225202=[[He],[ae],[re],[oe],[je],[wt,{'useClass':gn}],[_0x1c152f,{'useClass':_0x1ad0bd}],[_0x2f27fe,{'useClass':Ae}],[se],[ce],[ie],[H],[Me],[ne]];_0x1e658b(this[_0x3784d0(0x1b9)],_0x3021db(_0x225202,(_0x5c6ba1=this[_0x3784d0(0x294)])==null?void 0x0:_0x5c6ba1[_0x3784d0(0x214)]));}[_0x306380(0x1a0)](){const _0x257579=_0x306380;this['disposeWithMe'](this['_renderManagerService'][_0x257579(0x22a)](_0x1cd4b1['UNIVER_DOC'],[Ue])),this[_0x257579(0x1a6)](this[_0x257579(0x10e)][_0x257579(0x22a)](_0x1cd4b1[_0x257579(0x1cd)],[Le]));}[_0x306380(0x2aa)](){_0x2f0202(this['_injector'],[[H],[se],[ce],[ie],[ne]]);}};En(ye,'pluginName',bn),ye=Cn([_0x20d232(_0x5bbdcb),Oe(0x1,_0x177c33),Oe(0x2,_0x3afd9e(_0x4b117)),Oe(0x3,_0xc0ea31)],ye);var On=Object[_0x306380(0x295)],Tn=(_0x158ea8,_0x1a6f01,_0x5650ca,_0x3f9b9c)=>{const _0x3047c4=_0x306380;for(var _0x2771f9=_0x3f9b9c>0x1?void 0x0:_0x3f9b9c?On(_0x1a6f01,_0x5650ca):_0x1a6f01,_0x4c0afb=_0x158ea8[_0x3047c4(0x2e0)]-0x1,_0x3299fa;_0x4c0afb>=0x0;_0x4c0afb--)(_0x3299fa=_0x158ea8[_0x4c0afb])&&(_0x2771f9=_0x3299fa(_0x2771f9)||_0x2771f9);return _0x2771f9;},z=(_0xd51696,_0x41f16b)=>(_0x1687b0,_0x442244)=>_0x41f16b(_0x1687b0,_0x442244,_0xd51696);let nt=class extends _0x1b0c2c{constructor(_0x3f7fa0,_0x1b6ac3,_0x3ddc83,_0x4b85ab,_0x50be22){super(_0x3f7fa0,_0x1b6ac3,_0x3ddc83,_0x4b85ab,_0x50be22);}async[_0x306380(0x20b)](_0xebd338){const _0x361353=_0x306380,_0x4d9076=await this[_0x361353(0x1b2)](),_0x128fef=this[_0x361353(0x2c1)](_0xebd338,_0x4d9076);return this[_0x361353(0x27d)](_0x128fef);}[_0x306380(0x2c1)](_0x5404b9,_0x5ad75b){const _0x521b6a=_0x306380,_0x4d5625=typeof window>'u'?new URL(_0x5404b9):new URL(_0x5404b9,window['location']['origin']);_0x4d5625[_0x521b6a(0x1d7)][_0x521b6a(0x1d4)]('sessionTicket',_0x5ad75b);const _0x12ca2b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x12ca2b[_0x521b6a(0x1b8)]('runId')&&_0x4d5625['searchParams'][_0x521b6a(0x1d4)](_0x521b6a(0x221),_0x12ca2b[_0x521b6a(0x1b8)](_0x521b6a(0x221))),_0x4d5625['toString']();}async[_0x306380(0x1b2)](){const _0x222b9e=_0x306380;var _0x447af1,_0x540313,_0x3bfc1b;const _0x5eb770=this['_configService'][_0x222b9e(0x234)](_0x533465),_0x55af49=(_0x447af1=_0x5eb770==null?void 0x0:_0x5eb770['wsSessionTicketUrl'])!=null?_0x447af1:_0xa647e2;return(_0x3bfc1b=(_0x540313=(await this[_0x222b9e(0x245)][_0x222b9e(0x1b8)](_0x55af49,{'headers':{'Content-Type':'application/json'}}))[_0x222b9e(0x206)])==null?void 0x0:_0x540313[_0x222b9e(0x19c)])!=null?_0x3bfc1b:'';}};nt=Tn([z(0x0,_0x3afd9e(_0x4b117)),z(0x1,_0x3afd9e(_0x6f80c5)),z(0x2,_0xc0ea31),z(0x3,_0x3120e3),z(0x4,_0x11ed14)],nt);const rt=0x7530,ot=_0x306380(0x232);class Gn extends _0x212855{constructor(){const _0x55074a=_0x306380;super(),_(this,_0x55074a(0x1f3),_0xe28911()),_(this,_0x55074a(0x1f5),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x55074a(0x2a3),null),_(this,_0x55074a(0x148),new Map()),_(this,_0x55074a(0x1c3),new Map()),this[_0x55074a(0x18a)]();}[_0x306380(0x211)](){const _0x5798a6=_0x306380;super[_0x5798a6(0x211)](),this[_0x5798a6(0x148)][_0x5798a6(0x159)]((_0x23a908,_0x3b8c18)=>this['_removeClearOtherTimer'](_0x3b8c18)),this['_heartbeatTimer']&&window['clearInterval'](this[_0x5798a6(0x2a3)]);}[_0x306380(0x271)](_0x412a82){const _0x59a341=_0x306380;return this[_0x59a341(0x2f7)](_0x412a82)['pipe'](_0x26e109());}['editingUnit'](_0x11914e){const _0xfa1bef=_0x306380;this[_0xfa1bef(0x1f5)][_0xfa1bef(0x112)]===0x0&&this[_0xfa1bef(0x2e7)](),this[_0xfa1bef(0x1f5)][_0xfa1bef(0x184)](_0x11914e),this[_0xfa1bef(0x2c2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x11914e],'isForwarded':!0x1});}[_0x306380(0x1fa)](_0x19e465){const _0x13fdac=_0x306380;this[_0x13fdac(0x1f5)][_0x13fdac(0x1ae)](_0x19e465),this[_0x13fdac(0x1f5)][_0x13fdac(0x112)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x306380(0x18a)](){const _0x1d7488=_0x306380;this['disposeWithMe'](_0x360a92(_0x1b2312(window,_0x1d7488(0x24a))[_0x1d7488(0x126)](_0x36cb0f=>{const _0x2fea29=_0x1d7488;if(_0x36cb0f[_0x2fea29(0x19e)]!==ot||!_0x36cb0f[_0x2fea29(0x145)])return;const _0x34b156=JSON[_0x2fea29(0x192)](_0x36cb0f[_0x2fea29(0x145)]);this[_0x2fea29(0x1b1)](_0x34b156);}))),window[_0x1d7488(0x263)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x1d7488(0x1fd)](this[_0x1d7488(0x1f5)])}));}[_0x306380(0x1b1)](_0x1520af){const _0x24f193=_0x306380;switch(_0x1520af[_0x24f193(0x250)]){case 0x0:this['_handleJoinEvent'](_0x1520af);break;case 0x1:this['_handleLeaveEvent'](_0x1520af);break;case 0x2:this[_0x24f193(0x2c9)](_0x1520af);break;}}[_0x306380(0x2b6)](_0x596af1){const _0x5e6698=_0x306380,{unitIDs:_0x38504b,memberID:_0x40b2a5,isForwarded:_0x56ec9e}=_0x596af1;_0x38504b[_0x5e6698(0x159)](_0xb4e42f=>{const _0x4e1aa1=_0x5e6698;if(!_0x56ec9e&&this['_unitOnClients']['has'](_0xb4e42f)&&this['_ensureSubject'](_0xb4e42f)[_0x4e1aa1(0x157)](_0x26192f['OTHER_CLIENTS_EDITING']),!this[_0x4e1aa1(0x26e)][_0x4e1aa1(0x291)](_0xb4e42f)||!this['_unitOnClients']['get'](_0xb4e42f)[_0x4e1aa1(0x291)](_0x40b2a5)){const _0x258f8b=this[_0x4e1aa1(0x26e)]['get'](_0xb4e42f)||new Set();_0x258f8b[_0x4e1aa1(0x184)](_0x40b2a5),this[_0x4e1aa1(0x26e)][_0x4e1aa1(0x1d4)](_0xb4e42f,_0x258f8b),this[_0x4e1aa1(0x2ca)](_0x40b2a5);}}),_0x56ec9e||this[_0x5e6698(0x2c2)]({'type':0x0,'memberID':this[_0x5e6698(0x1f3)],'unitIDs':[...this[_0x5e6698(0x1f5)]],'isForwarded':!0x0});}[_0x306380(0x2ca)](_0x74003c){const _0xf6bd2a=_0x306380;this[_0xf6bd2a(0x146)](_0x74003c);const _0x344e1f=window[_0xf6bd2a(0x2a8)](()=>{const _0x4530b4=_0xf6bd2a;this[_0x4530b4(0x26e)]['forEach'](_0x56e242=>{const _0x35e276=_0x4530b4;_0x56e242[_0x35e276(0x1ae)](_0x74003c);});},rt*0x2);this[_0xf6bd2a(0x148)][_0xf6bd2a(0x1d4)](_0x74003c,_0x344e1f);}[_0x306380(0x146)](_0x53616b){const _0x241241=_0x306380;if(this[_0x241241(0x148)][_0x241241(0x291)](_0x53616b)){const _0x74c6ea=this[_0x241241(0x148)][_0x241241(0x1b8)](_0x53616b);_0x74c6ea&&window['clearTimeout'](_0x74c6ea),this[_0x241241(0x148)][_0x241241(0x1d4)](_0x53616b,null);}}[_0x306380(0x167)](_0x414385){const _0x42523d=_0x306380,{memberID:_0x16804a,unitIDs:_0x352d1a}=_0x414385;_0x352d1a[_0x42523d(0x159)](_0x2dd0b2=>{const _0x96cb2d=_0x42523d;var _0x1f3953;const _0x34f618=this[_0x96cb2d(0x26e)][_0x96cb2d(0x1b8)](_0x2dd0b2);_0x34f618&&(_0x34f618[_0x96cb2d(0x1ae)](_0x16804a),(_0x1f3953=this[_0x96cb2d(0x2f7)](_0x2dd0b2))==null||_0x1f3953[_0x96cb2d(0x157)](_0x34f618[_0x96cb2d(0x112)]===0x0?_0x26192f[_0x96cb2d(0x1a1)]:_0x26192f[_0x96cb2d(0x1e0)]));}),this[_0x42523d(0x146)](_0x16804a);}[_0x306380(0x2c9)](_0x530796){const _0x3228b2=_0x306380;this[_0x3228b2(0x2ca)](_0x530796[_0x3228b2(0x2d4)]);}[_0x306380(0x2c2)](_0x2933b5){const _0x3278df=_0x306380;localStorage[_0x3278df(0x259)](ot,JSON['stringify'](_0x2933b5));}[_0x306380(0x2e7)](){const _0x4443bc=_0x306380;this[_0x4443bc(0x2a3)]=window[_0x4443bc(0x1d8)](()=>{const _0x1f3af7=_0x4443bc;this[_0x1f3af7(0x2c2)]({'type':0x2,'memberID':this['_id']});},rt);}[_0x306380(0x2f7)](_0x45cdfb){const _0x4495ef=_0x306380;return this[_0x4495ef(0x1c3)][_0x4495ef(0x291)](_0x45cdfb)||this[_0x4495ef(0x1c3)][_0x4495ef(0x1d4)](_0x45cdfb,new _0x39027c(_0x26192f['NO_OTHER_CLIENTS_EDITING'])),this[_0x4495ef(0x1c3)][_0x4495ef(0x1b8)](_0x45cdfb);}}var Ut=(_0x4730d0=>(_0x4730d0[_0x4730d0[_0x306380(0x28d)]=0x0]='UNDEFINED',_0x4730d0[_0x4730d0['OK']=0x1]='OK',_0x4730d0[_0x4730d0['INTERNAL_ERROR']=0x2]=_0x306380(0x2c0),_0x4730d0[_0x4730d0[_0x306380(0x13c)]=0x3]='PERMISSION_DENIED',_0x4730d0[_0x4730d0['NOT_FOUND']=0x4]=_0x306380(0x29f),_0x4730d0[_0x4730d0[_0x306380(0x29c)]=0x5]='UNAUTHENTICATED',_0x4730d0[_0x4730d0[_0x306380(0x160)]=0x6]=_0x306380(0x160),_0x4730d0[_0x4730d0['INVALID_ARGUMENT']=0x7]=_0x306380(0x266),_0x4730d0[_0x4730d0['TOO_MANY_REQUESTS']=0x8]=_0x306380(0x284),_0x4730d0[_0x4730d0[_0x306380(0x136)]=0x9]='COMPLETION_FINISHED',_0x4730d0[_0x4730d0['LOGIN_FAILED']=0xa]=_0x306380(0x19b),_0x4730d0[_0x4730d0['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x306380(0x1ef),_0x4730d0[_0x4730d0[_0x306380(0x173)]=0x1771]=_0x306380(0x173),_0x4730d0[_0x4730d0[_0x306380(0x1b0)]=0x1772]=_0x306380(0x1b0),_0x4730d0[_0x4730d0[_0x306380(0x1a8)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4730d0[_0x4730d0[_0x306380(0x1fc)]=0x1b59]='APPLY_REJECT',_0x4730d0[_0x4730d0[_0x306380(0x2b5)]=0x1b5a]=_0x306380(0x2b5),_0x4730d0[_0x4730d0[_0x306380(0x209)]=0x1b5b]=_0x306380(0x209),_0x4730d0[_0x4730d0[_0x306380(0x180)]=0x1b5c]=_0x306380(0x180),_0x4730d0[_0x4730d0[_0x306380(0x1a2)]=0x1b5d]=_0x306380(0x1a2),_0x4730d0[_0x4730d0[_0x306380(0x229)]=0x1f41]=_0x306380(0x229),_0x4730d0[_0x4730d0['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x306380(0x27e),_0x4730d0[_0x4730d0[_0x306380(0x256)]=0x232a]=_0x306380(0x256),_0x4730d0[_0x4730d0[_0x306380(0x260)]=0x232b]=_0x306380(0x260),_0x4730d0[_0x4730d0[_0x306380(0x20d)]=0x232c]=_0x306380(0x20d),_0x4730d0[_0x4730d0[_0x306380(0x193)]=0x232d]=_0x306380(0x193),_0x4730d0[_0x4730d0[_0x306380(0x23f)]=0x2711]=_0x306380(0x23f),_0x4730d0[_0x4730d0[_0x306380(0x12c)]=0x2712]=_0x306380(0x12c),_0x4730d0[_0x4730d0['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x306380(0xfc),_0x4730d0[_0x4730d0[_0x306380(0x213)]=0x2714]=_0x306380(0x213),_0x4730d0[_0x4730d0[_0x306380(0x1d9)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4730d0[_0x4730d0[_0x306380(0x2d6)]=0x2ee1]=_0x306380(0x2d6),_0x4730d0[_0x4730d0['INVALID_INVITE_CODE']=0x2ee2]=_0x306380(0x1d0),_0x4730d0[_0x4730d0[_0x306380(0x273)]=0x2ee3]=_0x306380(0x273),_0x4730d0[_0x4730d0[_0x306380(0x177)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4730d0[_0x4730d0[_0x306380(0x1ff)]=0x2ee5]=_0x306380(0x1ff),_0x4730d0[_0x4730d0[_0x306380(0x122)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4730d0[_0x4730d0[_0x306380(0x272)]=0x32ca]=_0x306380(0x272),_0x4730d0[_0x4730d0['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x306380(0x17c),_0x4730d0[_0x4730d0['UNRECOGNIZED']=-0x1]=_0x306380(0x199),_0x4730d0))(Ut||{}),Rn=Object['getOwnPropertyDescriptor'],Dn=(_0x232ef5,_0x43b50b,_0x589066,_0x467341)=>{const _0x34e8a0=_0x306380;for(var _0x1a9202=_0x467341>0x1?void 0x0:_0x467341?Rn(_0x43b50b,_0x589066):_0x43b50b,_0x2f98fd=_0x232ef5[_0x34e8a0(0x2e0)]-0x1,_0x102be9;_0x2f98fd>=0x0;_0x2f98fd--)(_0x102be9=_0x232ef5[_0x2f98fd])&&(_0x1a9202=_0x102be9(_0x1a9202)||_0x1a9202);return _0x1a9202;},Te=(_0xa7d7bd,_0xc1adde)=>(_0x916aa,_0x5cd54a)=>_0xc1adde(_0x916aa,_0x5cd54a,_0xa7d7bd);function _0x5f42(_0x54fe83,_0x588624){const _0x4b500d=_0x4b50();return _0x5f42=function(_0x5f42cc,_0x355242){_0x5f42cc=_0x5f42cc-0xf7;let _0x2b47d0=_0x4b500d[_0x5f42cc];return _0x2b47d0;},_0x5f42(_0x54fe83,_0x588624);}let at=class extends _0x212855{constructor(_0xa74cbd,_0x216e25,_0x3281f7){const _0x2b1cad=_0x306380;super(),this[_0x2b1cad(0x237)]=_0xa74cbd,this[_0x2b1cad(0x245)]=_0x216e25,this['_configService']=_0x3281f7;}async[_0x306380(0x280)](_0x4258ec,_0x150119,_0x17a88d,..._0x5e78cf){const _0x9e5a65=_0x306380;var _0x592be8,_0x5aaad2,_0x13ee79,_0x544a82;const _0x5839f4=this[_0x9e5a65(0x237)]['getFocusedUnit']();if(!_0x5839f4)throw new Error(_0x9e5a65(0x28e));const _0x523f8e=((_0x592be8=this[_0x9e5a65(0x26c)]['getConfig'](_0x4c2332))!=null?_0x592be8:_0x1238ce)+'/'+_0x4258ec+_0x9e5a65(0x230)+_0x150119,_0x267f50=new URL(window[_0x9e5a65(0x24b)][_0x9e5a65(0x274)]),_0xcb36d4={'scriptId':_0x4258ec,'runId':(_0x5aaad2=_0x267f50[_0x9e5a65(0x1d7)][_0x9e5a65(0x1b8)](_0x9e5a65(0x221)))!=null?_0x5aaad2:'','function':_0x150119,'unitId':_0x5839f4[_0x9e5a65(0x2a6)](),'argsOfFunction':JSON['stringify'](_0x5e78cf),'invokeId':(_0x13ee79=_0x17a88d[_0x9e5a65(0x2ba)])!=null?_0x13ee79:'','executionId':(_0x544a82=_0x17a88d[_0x9e5a65(0x275)])!=null?_0x544a82:''};try{const _0x58c348=await this[_0x9e5a65(0x245)][_0x9e5a65(0x29a)](_0x523f8e,{'body':_0xcb36d4});return _0x58c348[_0x9e5a65(0x206)][_0x9e5a65(0x282)]&&_0x58c348['body'][_0x9e5a65(0x282)]['code']!==Ut['OK']?_0x9e5a65(0x1e3):_0x58c348[_0x9e5a65(0x206)][_0x9e5a65(0x1c6)];}catch{return _0x9e5a65(0x1e3);}}};at=Dn([Te(0x0,_0x5f5751),Te(0x1,_0x3afd9e(_0x6f80c5)),Te(0x2,_0xc0ea31)],at);export{nt as BrowserCollaborationSocketService,ne as CollaborationDataLoaderController,Zi as CollaborationStatusDisplay,se as DesktopCollaborationStatusDisplayController,wt as IURLService,at as RemoteUniscriptService,Ai as SheetCollabCursorShape,ye as UniverCollaborationClientUIPlugin,Gn as WebBrowserSingleActiveUnitService,gn as WebURLService};
@@ -1 +1 @@
1
- const _0x3e5fdd=_0x3d44;(function(_0x2302bd,_0x5b5704){const _0xa39f2a=_0x3d44,_0x155407=_0x2302bd();while(!![]){try{const _0x345a91=-parseInt(_0xa39f2a(0x162))/0x1+parseInt(_0xa39f2a(0x165))/0x2*(-parseInt(_0xa39f2a(0x16c))/0x3)+parseInt(_0xa39f2a(0x160))/0x4+parseInt(_0xa39f2a(0x16a))/0x5*(parseInt(_0xa39f2a(0x168))/0x6)+-parseInt(_0xa39f2a(0x15b))/0x7*(parseInt(_0xa39f2a(0x15c))/0x8)+-parseInt(_0xa39f2a(0x161))/0x9*(-parseInt(_0xa39f2a(0x166))/0xa)+-parseInt(_0xa39f2a(0x16d))/0xb;if(_0x345a91===_0x5b5704)break;else _0x155407['push'](_0x155407['shift']());}catch(_0x136f4c){_0x155407['push'](_0x155407['shift']());}}}(_0x39fc,0xb9969));const e={'collab-client':{'tooltip':{'reconnect':_0x3e5fdd(0x170)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x3e5fdd(0x15a),'notCollab':_0x3e5fdd(0x16f),'synced':'Synced','syncing':'Syncing...','offline':_0x3e5fdd(0x167)},'session':{'connection-failed':_0x3e5fdd(0x15f),'will-retry':_0x3e5fdd(0x16b),'room-full':_0x3e5fdd(0x163),'collaboration-timeout':_0x3e5fdd(0x164)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x3e5fdd(0x15d)},'permission':{'title':_0x3e5fdd(0x15e),'content':_0x3e5fdd(0x169)},'collaboration':{'single-unit':{'warning':_0x3e5fdd(0x16e)},'closeRoom':_0x3e5fdd(0x159)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x3d44(_0x3e8240,_0x1cf060){const _0x39fcb0=_0x39fc();return _0x3d44=function(_0x3d4463,_0x923771){_0x3d4463=_0x3d4463-0x159;let _0x29c687=_0x39fcb0[_0x3d4463];return _0x29c687;},_0x3d44(_0x3e8240,_0x1cf060);}export{e as default};function _0x39fc(){const _0x31dec3=['Edit\x20conflicts','6789237xOPBqj','8OQMpAN','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.','Authentication\x20Error','Connection\x20failed,\x20please\x20check\x20your\x20network.','5990716IgbBlK','117qJsDFS','121360GLwlUL','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','20ycfhKx','691970VXpFtl','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','110892jyqwWC','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','140cxQlmZ','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','71265rQCeGV','9083426DonYxF','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Local\x20file','Click\x20to\x20Reconnect','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.'];_0x39fc=function(){return _0x31dec3;};return _0x39fc();}
1
+ function _0x5cee(){const _0x27d556=['The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','1061478YQJCLE','Click\x20to\x20Reconnect','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.','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','4925350knvcKP','Syncing...','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Edit\x20conflicts','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','2592121AUrMlB','6BQfKSG','11786064VEAHcg','234831PKJWoa','Syncing\x20server\x20data...','2154654hRuNLM','Authentication\x20Error','578796qEItaN'];_0x5cee=function(){return _0x27d556;};return _0x5cee();}const _0x49f747=_0x5286;(function(_0x4db0e6,_0x35794a){const _0x49180b=_0x5286,_0x3b7671=_0x4db0e6();while(!![]){try{const _0x140f79=parseInt(_0x49180b(0x189))/0x1+-parseInt(_0x49180b(0x195))/0x2*(-parseInt(_0x49180b(0x183))/0x3)+-parseInt(_0x49180b(0x187))/0x4+parseInt(_0x49180b(0x18d))/0x5+-parseInt(_0x49180b(0x185))/0x6+parseInt(_0x49180b(0x194))/0x7+-parseInt(_0x49180b(0x182))/0x8;if(_0x140f79===_0x35794a)break;else _0x3b7671['push'](_0x3b7671['shift']());}catch(_0x35555d){_0x3b7671['push'](_0x3b7671['shift']());}}}(_0x5cee,0xa4b38));function _0x5286(_0xe42111,_0x1040ce){const _0x5cee20=_0x5cee();return _0x5286=function(_0x5286a4,_0x465567){_0x5286a4=_0x5286a4-0x182;let _0x311b09=_0x5cee20[_0x5286a4];return _0x311b09;},_0x5286(_0xe42111,_0x1040ce);}const e={'collab-client':{'tooltip':{'reconnect':_0x49f747(0x18a)}},'collabStatus':{'fetchMiss':_0x49f747(0x184),'conflict':_0x49f747(0x190),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x49f747(0x18e),'offline':_0x49f747(0x18f)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x49f747(0x18c),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x49f747(0x188)},'conflict':{'title':'Collaboration\x20Conflict','content':_0x49f747(0x18b)},'permission':{'title':_0x49f747(0x186),'content':_0x49f747(0x191)},'collaboration':{'single-unit':{'warning':_0x49f747(0x192)},'closeRoom':_0x49f747(0x193)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};export{e as default};
@@ -1 +1 @@
1
- function _0x1d85(_0x4ea0e1,_0x33ea18){const _0x4621cc=_0x4621();return _0x1d85=function(_0x1d85a6,_0x104bd2){_0x1d85a6=_0x1d85a6-0x191;let _0x5cea42=_0x4621cc[_0x1d85a6];return _0x5cea42;},_0x1d85(_0x4ea0e1,_0x33ea18);}const _0x2f3293=_0x1d85;(function(_0x412a23,_0x1ddda9){const _0x214e17=_0x1d85,_0x423120=_0x412a23();while(!![]){try{const _0x103d2a=parseInt(_0x214e17(0x19a))/0x1+-parseInt(_0x214e17(0x1a1))/0x2+parseInt(_0x214e17(0x1a0))/0x3+parseInt(_0x214e17(0x195))/0x4+parseInt(_0x214e17(0x1a6))/0x5+-parseInt(_0x214e17(0x198))/0x6+-parseInt(_0x214e17(0x197))/0x7*(parseInt(_0x214e17(0x191))/0x8);if(_0x103d2a===_0x1ddda9)break;else _0x423120['push'](_0x423120['shift']());}catch(_0x4eb947){_0x423120['push'](_0x423120['shift']());}}}(_0x4621,0x272fb));const o={'collab-client':{'tooltip':{'reconnect':_0x2f3293(0x196)}},'collabStatus':{'fetchMiss':_0x2f3293(0x194),'conflict':_0x2f3293(0x19c),'notCollab':'پرونده\x20محلی','synced':_0x2f3293(0x19e),'syncing':_0x2f3293(0x19d),'offline':_0x2f3293(0x1a3)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x2f3293(0x19b),'room-full':'اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','collaboration-timeout':_0x2f3293(0x1a5)},'conflict':{'title':_0x2f3293(0x19f),'content':_0x2f3293(0x1a2)},'permission':{'title':_0x2f3293(0x199),'content':_0x2f3293(0x193)},'collaboration':{'single-unit':{'warning':'شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.'},'closeRoom':_0x2f3293(0x192)},'auth':{'needGotoLoginAlert':_0x2f3293(0x1a4)}};export{o as default};function _0x4621(){const _0x559a26=['اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','تداخل\x20ویرایش','در\x20حال\x20همگام\x20سازی...','همگام\x20سازی','تداخل\x20همکاری','97410KNvyPV','296780SSObTH','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','1298635yvHuCW','1552LvhmTe','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','921364npKEae','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','11984umeCif','909942TwafsT','خطای\x20اعتبارسنجی','270144xzYRfU'];_0x4621=function(){return _0x559a26;};return _0x4621();}
1
+ const _0x1b3fd3=_0x3027;function _0x3027(_0x134266,_0x58ecbc){const _0x38d1fb=_0x38d1();return _0x3027=function(_0x302726,_0x2b524e){_0x302726=_0x302726-0x1ee;let _0x27a4f9=_0x38d1fb[_0x302726];return _0x27a4f9;},_0x3027(_0x134266,_0x58ecbc);}function _0x38d1(){const _0x249b13=['9237WLWwlu','46PYpqbP','931563eyhxGw','خطای\x20اعتبارسنجی','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','586859PEMJAe','37342bzrzSi','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','18pfRHtx','24shxvpO','12IvcYOJ','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','17003206EZxLTe','همگام\x20سازی','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','615790OSQhoL','696hykJFP','4425865yTZWCx','در\x20حال\x20همگام\x20سازی...','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'];_0x38d1=function(){return _0x249b13;};return _0x38d1();}(function(_0x205b74,_0x2bb629){const _0x41b02e=_0x3027,_0x131c28=_0x205b74();while(!![]){try{const _0x49f99a=-parseInt(_0x41b02e(0x1fe))/0x1*(-parseInt(_0x41b02e(0x1f6))/0x2)+parseInt(_0x41b02e(0x1f5))/0x3*(-parseInt(_0x41b02e(0x1f0))/0x4)+-parseInt(_0x41b02e(0x1f1))/0x5+-parseInt(_0x41b02e(0x200))/0x6*(parseInt(_0x41b02e(0x1fd))/0x7)+parseInt(_0x41b02e(0x201))/0x8*(parseInt(_0x41b02e(0x1f7))/0x9)+-parseInt(_0x41b02e(0x1ef))/0xa+parseInt(_0x41b02e(0x204))/0xb*(parseInt(_0x41b02e(0x202))/0xc);if(_0x49f99a===_0x2bb629)break;else _0x131c28['push'](_0x131c28['shift']());}catch(_0x4fbaa7){_0x131c28['push'](_0x131c28['shift']());}}}(_0x38d1,0xef884));const o={'collab-client':{'tooltip':{'reconnect':_0x1b3fd3(0x203)}},'collabStatus':{'fetchMiss':_0x1b3fd3(0x1ee),'conflict':'تداخل\x20ویرایش','notCollab':'پرونده\x20محلی','synced':_0x1b3fd3(0x205),'syncing':_0x1b3fd3(0x1f2),'offline':_0x1b3fd3(0x1fa)},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x1b3fd3(0x1ff),'collaboration-timeout':_0x1b3fd3(0x1f9)},'conflict':{'title':'تداخل\x20همکاری','content':_0x1b3fd3(0x1f4)},'permission':{'title':_0x1b3fd3(0x1f8),'content':_0x1b3fd3(0x1fc)},'collaboration':{'single-unit':{'warning':_0x1b3fd3(0x206)},'closeRoom':_0x1b3fd3(0x1fb)},'auth':{'needGotoLoginAlert':_0x1b3fd3(0x1f3)}};export{o as default};