@univerjs-pro/collaboration-client-ui 0.6.10-nightly.202504281607 → 0.7.0-beta.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x989fca=_0x20af;(function(_0x70b5b1,_0x19feb8){const _0x458f85=_0x20af,_0x4e0be7=_0x70b5b1();while(!![]){try{const _0x54e441=-parseInt(_0x458f85(0x188))/0x1+-parseInt(_0x458f85(0x13e))/0x2+-parseInt(_0x458f85(0x1d9))/0x3+parseInt(_0x458f85(0xa0))/0x4+-parseInt(_0x458f85(0x257))/0x5+parseInt(_0x458f85(0x1c0))/0x6*(-parseInt(_0x458f85(0x253))/0x7)+-parseInt(_0x458f85(0x1f7))/0x8*(-parseInt(_0x458f85(0x11e))/0x9);if(_0x54e441===_0x19feb8)break;else _0x4e0be7['push'](_0x4e0be7['shift']());}catch(_0x5e4d31){_0x4e0be7['push'](_0x4e0be7['shift']());}}}(_0xaf35,0x200dd));var $t=Object[_0x989fca(0xc3)],xt=(_0x14cc47,_0x4c7be4,_0x449f59)=>_0x4c7be4 in _0x14cc47?$t(_0x14cc47,_0x4c7be4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x449f59}):_0x14cc47[_0x4c7be4]=_0x449f59,_=(_0x104c4b,_0x5a4aa1,_0x18255c)=>xt(_0x104c4b,typeof _0x5a4aa1!=_0x989fca(0x13d)?_0x5a4aa1+'':_0x5a4aa1,_0x18255c);import{MemberService as _0x43c796,SessionStatus as _0x5ba384,CollaborationSessionService as _0x5ece21,CollaborationStatus as _0x54df20,CollaborationController as _0x9f0db8,ILocalCacheService as _0x543569,CollaborationUIEventService as _0x1dc644,CollaborationUIEventId as _0x388f51,DataLoaderService as _0x49e58e,DocCollaborationEntity as _0x1f620d,getLocalCacheKey as _0x34f41a,LOCAL_CACHE_INTERVAL as _0x5ce63f,LOCAL_CACHE_INTERVAL_KEY as _0x59ea5d,UniverCollaborationClientPlugin as _0x3addc0,CollaborationSocketService as _0x1faba7,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2b9f09,DEFAULT_WS_SESSION_TICKET_URL as _0x1db4ea,UnitStatus as _0x26269e,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x7f89b6,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1c1d6c}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x5c3cd6,Disposable as _0x13eb4b,DOC_RANGE_TYPE as _0x4f660f,Inject as _0x57fbba,Injector as _0x4ad95e,IUniverInstanceService as _0x2844bb,ICommandService as _0x3771c6,debounce as _0x350852,Rectangle as _0x51e76b,DisposableCollection as _0x3ffede,toDisposable as _0x5b0cc1,UniverInstanceType as _0x5a554e,Tools as _0x13a68d,COLORS as _0x415b02,ColorKit as _0xefe396,ThemeService as _0x2149c0,fromEventSubject as _0x4c17cc,LocaleService as _0x15277a,createIdentifier as _0x354636,ILogService as _0x4bd942,Optional as _0x355fc5,Workbook as _0x55727c,CommandType as _0x2a2be4,IConfigService as _0x7fd8c8,ILocalStorageService as _0x3e9d49,DependentOn as _0x2fa566,Plugin as _0x26cf55,merge as _0x3f6db5,registerDependencies as _0x7b861d,mergeOverrideWithDependencies as _0x5248f5,touchDependencies as _0x2c0a79,generateRandomId as _0x4476da}from'@univerjs/core';import{Shape as _0xae135c,Rect as _0x38ea81,getColor as _0x55e9ad,RegularPolygon as _0x3407fa,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1d65e2,Vector2 as _0x59d279,SHEET_VIEWPORT_KEY as _0x48bc96,IRenderManagerService as _0x8b70ca}from'@univerjs/engine-render';import{ISocketService as _0x2a5132,WebSocketService as _0x796951,HTTPService as _0x58b575}from'@univerjs/network';import{IDocClipboardService as _0x1fbbe9,NodePositionConvertToCursor as _0x1a424d,NodePositionConvertToRectRange as _0x1f101c,TEXT_RANGE_LAYER_INDEX as _0x3131b1,SetDocZoomRatioOperation as _0x33fa92,DocIMEInputManagerService as _0x140742,DocStateChangeManagerService as _0x378cfb}from'@univerjs/docs-ui';import{IImageIoService as _0x4d3021}from'@univerjs/drawing';import{BehaviorSubject as _0x139555,debounceTime as _0x351b82,takeUntil as _0xdd7600,Subject as _0x597c59,filter as _0x29f3eb,switchMap as _0x4fd599,merge as _0x2731fa,combineLatest as _0x4d9839,of as _0x5b1fce,fromEvent as _0x53231d,shareReplay as _0x133603,mapTo as _0x37d42e,distinctUntilChanged as _0x44d665}from'rxjs';import{SetTextSelectionsOperation as _0x2f0a29,RichTextEditingMutation as _0x3ea81e,DocSelectionManagerService as _0x17fdd8,DocSkeletonManagerService as _0x526abb}from'@univerjs/docs';import{ITransformService as _0x3633e6,CollaborationEvent as _0x303067,isTransformMutationFailure as _0x2eef86,isTransformMutationsWithChangesetSuccess as _0x2d9162,RevisionService as _0x5cedde,ISnapshotServerService as _0x43bb1a}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x48935f,serializeRangeWithSheet as _0x187238}from'@univerjs/engine-formula';import{RefRangeService as _0x726455,SetSelectionsOperation as _0x394a52,SheetsSelectionsService as _0x3f96e6,EffectRefRangId as _0x5651eb,handleIRemoveRow as _0x4fe54f,handleIRemoveCol as _0xcfa26f,handleMoveRange as _0x347b65,handleInsertRow as _0x56cb36,handleInsertRangeMoveRight as _0xf7d30f,handleInsertRangeMoveDown as _0x576435,handleInsertCol as _0x54000b,handleDeleteRangeMoveUp as _0x55074a,handleDeleteRangeMoveLeft as _0x4db94a,runRefRangeMutations as _0x380c36,SetWorksheetActivateCommand as _0x6074db}from'@univerjs/sheets';import{map as _0x13182b,filter as _0x2af558,throttleTime as _0x405d7b,takeUntil as _0x4051ad,switchMap as _0x43e0d5}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3825db,getCoordByCell as _0x11bbc3,getSheetObject as _0x46f3ee}from'@univerjs/sheets-ui';import{jsx as _0x5d6da8,jsxs as _0x490309}from'react/jsx-runtime';import{useObservable as _0x511b92,useDependency as _0x361a52,IUIPartsService as _0x2966af,BuiltInUIPart as _0x5541e9,connectInjector as _0x492f4c,IBeforeCloseService as _0x472038,IMessageService as _0x108e76,INotificationService as _0xdf20a6}from'@univerjs/ui';import{Tooltip as _0x6e752d,clsx as _0x24ecfd,MessageType as _0x339cf3}from'@univerjs/design';import{forwardRef as _0x16e3b0,useRef as _0x3088c6,createElement as _0x2c40f,useCallback as _0x32e065}from'react';import{IRemoteInstanceService as _0x26c1c6}from'@univerjs/rpc';var ci=Object['getOwnPropertyDescriptor'],li=(_0x2f7e98,_0x441131,_0x312d07,_0x26437e)=>{for(var _0x127ce5=_0x26437e>0x1?void 0x0:_0x26437e?ci(_0x441131,_0x312d07):_0x441131,_0x423d87=_0x2f7e98['length']-0x1,_0x5d8f37;_0x423d87>=0x0;_0x423d87--)(_0x5d8f37=_0x2f7e98[_0x423d87])&&(_0x127ce5=_0x5d8f37(_0x127ce5)||_0x127ce5);return _0x127ce5;},Je=(_0x5d55f5,_0x2e1563)=>(_0x1951ae,_0x42734d)=>_0x2e1563(_0x1951ae,_0x42734d,_0x5d55f5);let Ne=class extends _0x5c3cd6{constructor(_0x4d7619,_0x529438){const _0x16f32e=_0x989fca;super(),this[_0x16f32e(0x8a)]=_0x4d7619,this[_0x16f32e(0xf2)]=_0x529438,this[_0x16f32e(0x232)]();}[_0x989fca(0x232)](){const _0x331968=_0x989fca,_0xa69d52=this;this['disposeWithMe'](this['_docClipboardService'][_0x331968(0x156)]({'onBeforePasteImage':async _0x137262=>{const _0x48a2a4=_0x331968,_0x47cef5=await _0xa69d52['_imageIoService'][_0x48a2a4(0x198)](_0x137262);return _0x47cef5?{'source':_0x47cef5[_0x48a2a4(0x176)],'imageSourceType':_0x47cef5[_0x48a2a4(0x139)]}:null;}}));}};Ne=li([Je(0x0,_0x1fbbe9),Je(0x1,_0x4d3021)],Ne);const Ze=[_0x989fca(0x10f),_0x989fca(0x85),_0x989fca(0xe5),_0x989fca(0x25d),_0x989fca(0x9b),_0x989fca(0x1e1)];class ke extends _0x13eb4b{constructor(){const _0x3df0fe=_0x989fca;super(...arguments),_(this,'_assignedColors',new Map()),_(this,_0x3df0fe(0xbf),0x0);}[_0x989fca(0x93)](_0x5831c5){const _0x68d54b=_0x989fca;if(this[_0x68d54b(0x1f9)]['has'](_0x5831c5))return this[_0x68d54b(0x1f9)][_0x68d54b(0x175)](_0x5831c5);const _0x376d14=Ze[this[_0x68d54b(0xbf)]];return this[_0x68d54b(0xbf)]=(this['_colorIndex']+0x1)%Ze[_0x68d54b(0x10c)],this[_0x68d54b(0x1f9)][_0x68d54b(0x8d)](_0x5831c5,_0x376d14),_0x376d14;}}function Tt(_0x714d7b){let _0xc74d66='';for(const _0x2c01fe of _0x714d7b){const {startOffset:_0x257dec,endOffset:_0x169eef,isActive:_0x677886,rangeType:_0x2de30d,segmentId:_0x4197e6,segmentPage:_0x5ac2c6}=_0x2c01fe;_0xc74d66['length']&&(_0xc74d66+=','),_0xc74d66+=_0x257dec+':'+_0x169eef+':'+(_0x677886?'1':'0')+':'+_0x2de30d+':'+_0x4197e6+':'+_0x5ac2c6;}return _0xc74d66;}function _0x20af(_0x48fdc9,_0x3e5a6c){const _0xaf3558=_0xaf35();return _0x20af=function(_0x20af43,_0x51a738){_0x20af43=_0x20af43-0x7b;let _0x1d4b85=_0xaf3558[_0x20af43];return _0x1d4b85;},_0x20af(_0x48fdc9,_0x3e5a6c);}function _i(_0x1f6202){const _0x111407=_0x989fca,_0x552cf5=_0x1f6202[_0x111407(0x112)](','),_0x42cff0=[];for(const _0x107e0b of _0x552cf5){const [_0x41acf5,_0x40ca41,_0xa96bfb,_0x3620ea,_0x28d146,_0x55d928]=_0x107e0b[_0x111407(0x112)](':');_0x42cff0[_0x111407(0x9e)]({'startOffset':Number(_0x41acf5),'endOffset':Number(_0x40ca41),'collapsed':_0x41acf5===_0x40ca41,'isActive':_0xa96bfb==='1','rangeType':_0x3620ea===_0x4f660f[_0x111407(0x221)]?_0x4f660f['TEXT']:_0x4f660f[_0x111407(0x25b)],'segmentId':typeof _0x28d146==_0x111407(0x111)?String(_0x28d146):'','segmentPage':Number(_0x55d928!=null?_0x55d928:-0x1)});}return _0x42cff0['some'](_0xe8a8fb=>_0xe8a8fb[_0x111407(0xec)])||(_0x42cff0[0x0][_0x111407(0xec)]=!0x0),_0x42cff0;}class He extends _0x5c3cd6{constructor(){const _0x47de20=_0x989fca;super(...arguments),_(this,_0x47de20(0x262),new _0x139555(null)),_(this,_0x47de20(0x248),this[_0x47de20(0x262)][_0x47de20(0x1ae)]());}[_0x989fca(0x1ce)](_0x365009){const _0x338498=_0x989fca,{unitID:_0x224b74,memberID:_0x1ac31d,textRanges:_0x290276}=_0x365009,_0x58c134=Tt(_0x290276);if(_0x58c134==='')return;const _0xfb53c9={'unitID':_0x224b74,'memberID':_0x1ac31d,'selection':_0x58c134};this[_0x338498(0x262)]['next'](_0xfb53c9);}}var hi=Object[_0x989fca(0x185)],ui=(_0x1cd384,_0x395b28,_0xf89217,_0x3db624)=>{const _0x382724=_0x989fca;for(var _0x202a99=_0x3db624>0x1?void 0x0:_0x3db624?hi(_0x395b28,_0xf89217):_0x395b28,_0x137d09=_0x1cd384[_0x382724(0x10c)]-0x1,_0x41b4d2;_0x137d09>=0x0;_0x137d09--)(_0x41b4d2=_0x1cd384[_0x137d09])&&(_0x202a99=_0x41b4d2(_0x202a99)||_0x202a99);return _0x202a99;},w=(_0x11a405,_0x5aed3d)=>(_0x453259,_0x3e150d)=>_0x5aed3d(_0x453259,_0x3e150d,_0x11a405);const di=0x12c,fi=0x64;let Ue=class extends _0x5c3cd6{constructor(_0x54df4b,_0x4bc0a7,_0x58fde5,_0x241e1c,_0x466721,_0x158dda,_0x38a5dd,_0x5111e2,_0x380116){const _0x2fea89=_0x989fca;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x2fea89(0x1e4),new _0x139555(new Map())),_(this,_0x2fea89(0x101),this['_cursorInfo$']['asObservable']()),_(this,_0x2fea89(0x7c),new _0x139555([])),_(this,_0x2fea89(0x16b),this['_roomMembers$'][_0x2fea89(0x27c)](_0x351b82(di))),_(this,_0x2fea89(0x1d3),_0x350852(_0x3251e6=>{const _0x1e7f48=_0x2fea89,_0x26311d={'eventID':_0x303067[_0x1e7f48(0xde)],'data':{'unitID':this[_0x1e7f48(0x1df)],'memberID':this[_0x1e7f48(0x92)]['getMemberID'](),'selection':Tt(_0x3251e6)}};this[_0x1e7f48(0x92)][_0x1e7f48(0xc6)](_0x26311d,this['unitID']);},fi)),(this[_0x2fea89(0x1df)]=_0x54df4b,this[_0x2fea89(0x92)]=_0x4bc0a7,this[_0x2fea89(0x1e7)]=_0x58fde5,this[_0x2fea89(0x1db)]=_0x241e1c,this[_0x2fea89(0x1ef)]=_0x466721,this[_0x2fea89(0xf7)]=_0x158dda,this[_0x2fea89(0x160)]=_0x38a5dd,this[_0x2fea89(0x26e)]=_0x5111e2,this[_0x2fea89(0x16a)]=_0x380116);}get[_0x989fca(0xa7)](){const _0x15ddca=_0x989fca;return this[_0x15ddca(0x1e4)][_0x15ddca(0x1e6)]();}get['roomMembers'](){const _0x124e24=_0x989fca;return this[_0x124e24(0x7c)][_0x124e24(0x1e6)]();}[_0x989fca(0x1fc)](){const _0x5b640d=_0x989fca;super[_0x5b640d(0x1fc)](),this['_cursorInfo$'][_0x5b640d(0x250)](new Map()),this[_0x5b640d(0x1e4)][_0x5b640d(0x11f)](),this['_roomMembers$'][_0x5b640d(0x250)]([]),this['_roomMembers$'][_0x5b640d(0x11f)]();}[_0x989fca(0x24f)](){const _0x1c0b16=_0x989fca;this[_0x1c0b16(0x232)]||(this[_0x1c0b16(0x232)]=!0x0,this[_0x1c0b16(0x92)][_0x1c0b16(0x1f1)]['pipe'](_0xdd7600(this[_0x1c0b16(0x224)]))[_0x1c0b16(0xa9)](_0x4606e9=>{const _0x383dc9=_0x1c0b16;_0x4606e9===_0x5ba384[_0x383dc9(0x13b)]?this['_toggleOnline']():this[_0x383dc9(0x266)]();}),this[_0x1c0b16(0x92)]['event$']['pipe'](_0xdd7600(this[_0x1c0b16(0x224)]))['subscribe'](_0x118910=>{const _0x4c6e80=_0x1c0b16,_0x312942=_0x118910[_0x4c6e80(0x206)];_0x312942===_0x303067[_0x4c6e80(0xde)]&&this[_0x4c6e80(0x15d)](_0x118910),_0x312942===_0x303067[_0x4c6e80(0x23c)]&&this[_0x4c6e80(0x261)](_0x118910);}),this['disposeWithMe'](this[_0x1c0b16(0x16a)][_0x1c0b16(0x1a1)](_0x3f5033=>{const _0x520ab8=_0x1c0b16,_0x11a484=_0x3f5033[_0x520ab8(0x1a0)];_0x11a484!=null&&this['_online']&&_0x3f5033['id']===_0x2f0a29['id']&&_0x11a484['unitId']===this[_0x520ab8(0x1df)]&&_0x11a484[_0x520ab8(0x137)]===!0x1&&_0x11a484['ranges'][_0x520ab8(0x10c)]>0x0&&this[_0x520ab8(0x1d3)](_0x11a484[_0x520ab8(0x1b6)]);})),this['_syncEditingCollabCursorService'][_0x1c0b16(0x248)][_0x1c0b16(0x27c)](_0xdd7600(this[_0x1c0b16(0x224)]))[_0x1c0b16(0xa9)](_0x5193e3=>{const _0x3fa3f0=_0x1c0b16;if((_0x5193e3==null?void 0x0:_0x5193e3['unitID'])!==this[_0x3fa3f0(0x1df)])return;const _0x5bfd92={'eventID':_0x303067[_0x3fa3f0(0xde)],'data':_0x5193e3};this[_0x3fa3f0(0x15d)](_0x5bfd92);}),this[_0x1c0b16(0x80)](this[_0x1c0b16(0x16a)][_0x1c0b16(0x1a1)](_0x254d51=>{const _0x4b2e01=_0x1c0b16;if(_0x254d51['params']==null)return;const _0x2f524a=_0x254d51[_0x4b2e01(0x1a0)];if(_0x254d51['id']!==_0x3ea81e['id']||_0x2f524a[_0x4b2e01(0x27d)]!==this['unitID'])return;const _0x362c3b={'id':_0x4b2e01(0x130),'params':_0x2f524a},_0x40eb31=this[_0x4b2e01(0xa7)];for(const [_0x2e52ff,_0x21212c]of _0x40eb31){const _0x3cf8b5={'id':_0x4b2e01(0x130),'params':{'unitId':this[_0x4b2e01(0x1df)],'actions':null,'textRanges':_0x21212c[_0x4b2e01(0x1b6)]}},_0x2da8cc=this[_0x4b2e01(0x160)][_0x4b2e01(0x165)](_0x362c3b,_0x3cf8b5,!0x1);if(_0x2eef86(_0x2da8cc))throw _0x2da8cc[_0x4b2e01(0x1dd)];_0x40eb31[_0x4b2e01(0x8d)](_0x2e52ff,{..._0x21212c,'ranges':_0x2da8cc[_0x4b2e01(0x24c)]['params'][_0x4b2e01(0x251)]});}queueMicrotask(()=>{const _0x3a9b7a=_0x4b2e01;this[_0x3a9b7a(0x1e4)][_0x3a9b7a(0x250)](_0x40eb31);});})));}[_0x989fca(0x15d)](_0x4ab2f1){const _0x57c73e=_0x989fca;var _0x293a13,_0x2faed4;const {memberID:_0xd5480,selection:_0x8a411e}=_0x4ab2f1['data'],_0x4ca4a8=_i(_0x8a411e),_0x1e76dc=(_0x2faed4=(_0x293a13=this[_0x57c73e(0x1ef)][_0x57c73e(0x23b)](this[_0x57c73e(0x1df)],_0xd5480))==null?void 0x0:_0x293a13[_0x57c73e(0x17e)])!=null?_0x2faed4:_0x57c73e(0xcc),_0x4649ed={'color':this[_0x57c73e(0x1db)]['assignAColorForMemberID'](_0xd5480),'name':_0x1e76dc,'ranges':_0x4ca4a8},_0x61fd11=this[_0x57c73e(0xa7)];_0x61fd11['set'](_0xd5480,_0x4649ed),this['_cursorInfo$'][_0x57c73e(0x250)](_0x61fd11);}[_0x989fca(0x261)](_0xbb4eb0){const _0xdf279e=_0x989fca,{memberID:_0xeba332}=_0xbb4eb0[_0xdf279e(0x200)],_0x2eaf2c=this[_0xdf279e(0xa7)];_0x2eaf2c['delete'](_0xeba332),this[_0xdf279e(0x1e4)][_0xdf279e(0x250)](_0x2eaf2c);}[_0x989fca(0x16f)](){const _0x250bfe=_0x989fca;var _0x18c7c4;if(this['_online']=!0x0,((_0x18c7c4=this['_univerInstanceService'][_0x250bfe(0x109)]())==null?void 0x0:_0x18c7c4[_0x250bfe(0x11c)]())!==this[_0x250bfe(0x1df)])return;const _0xfc779b=this[_0x250bfe(0x1e7)][_0x250bfe(0x175)](_0x17fdd8)['getDocRanges']();Array[_0x250bfe(0x1bf)](_0xfc779b)&&_0xfc779b[_0x250bfe(0x10c)]>0x0&&this['_updateLocalCursor'](_0xfc779b);}[_0x989fca(0x266)](){const _0x8e1d13=_0x989fca;this[_0x8e1d13(0x21c)]=!0x1;}};Ue=ui([w(0x2,_0x57fbba(_0x4ad95e)),w(0x3,_0x57fbba(ke)),w(0x4,_0x57fbba(_0x43c796)),w(0x5,_0x57fbba(He)),w(0x6,_0x3633e6),w(0x7,_0x2844bb),w(0x8,_0x3771c6)],Ue);var Si=Object[_0x989fca(0x185)],mi=(_0x14c72e,_0x468df2,_0x54111b,_0x56b238)=>{for(var _0x47111e=_0x56b238>0x1?void 0x0:_0x56b238?Si(_0x468df2,_0x54111b):_0x468df2,_0x1e6823=_0x14c72e['length']-0x1,_0x4201d7;_0x1e6823>=0x0;_0x1e6823--)(_0x4201d7=_0x14c72e[_0x1e6823])&&(_0x47111e=_0x4201d7(_0x47111e)||_0x47111e);return _0x47111e;},x=(_0x1c328c,_0x401d5e)=>(_0x3e87fd,_0x3db288)=>_0x401d5e(_0x3e87fd,_0x3db288,_0x1c328c);const gi=0x12c,vi=0x64,Ii=()=>{let _0xcb69f0=[],_0x149530=!0x1;return _0x471c3c=>{const _0x1adf14=_0x20af;_0xcb69f0[_0x1adf14(0x9e)](_0x471c3c),_0x149530||(_0x149530=!0x0,setTimeout(()=>{const _0x2daa1e=_0x1adf14;_0xcb69f0[_0x2daa1e(0x20f)](_0x59f837=>_0x59f837()),_0xcb69f0=[],_0x149530=!0x1;}));};};let Me=class extends _0x5c3cd6{constructor(_0x1f1201,_0x4d0ce7,_0x592458,_0x3073ae,_0x11c3f6,_0x3ff682,_0x1053e6,_0x244d3c){const _0x25ebc1=_0x989fca;super(),_(this,_0x25ebc1(0x21c),!0x1),_(this,_0x25ebc1(0x232),!0x1),_(this,'_cursorInfo$',new _0x139555(new Map())),_(this,_0x25ebc1(0x101),this[_0x25ebc1(0x1e4)][_0x25ebc1(0x1ae)]()),_(this,'_roomMembers$',new _0x139555([])),_(this,_0x25ebc1(0x16b),this['_roomMembers$'][_0x25ebc1(0x27c)](_0x351b82(gi))),_(this,_0x25ebc1(0x1d3),_0x350852((_0x58b950,_0x5d34ad)=>{const _0xe7eab2=_0x25ebc1,_0x137745={'eventID':_0x303067['UPDATE_CURSOR'],'data':{'unitID':this[_0xe7eab2(0x1df)],'memberID':this[_0xe7eab2(0x92)]['getMemberID'](),'selection':_0x187238(_0x58b950,_0x5d34ad[_0xe7eab2(0xc2)])}};this[_0xe7eab2(0x92)]['send'](_0x137745,this[_0xe7eab2(0x1df)]);},vi)),(this['unitID']=_0x1f1201,this[_0x25ebc1(0x92)]=_0x4d0ce7,this['_injector']=_0x592458,this[_0x25ebc1(0x1db)]=_0x3073ae,this[_0x25ebc1(0x1ef)]=_0x11c3f6,this[_0x25ebc1(0x26e)]=_0x3ff682,this[_0x25ebc1(0x16a)]=_0x1053e6,this[_0x25ebc1(0x17c)]=_0x244d3c);}get[_0x989fca(0xa7)](){const _0x478727=_0x989fca;return this[_0x478727(0x1e4)]['getValue']();}get[_0x989fca(0xea)](){const _0x486903=_0x989fca;return this[_0x486903(0x7c)]['getValue']();}[_0x989fca(0x1fc)](){const _0x22a4e0=_0x989fca;super[_0x22a4e0(0x1fc)](),this[_0x22a4e0(0x1e4)][_0x22a4e0(0x250)](new Map()),this[_0x22a4e0(0x1e4)][_0x22a4e0(0x11f)](),this[_0x22a4e0(0x7c)]['next']([]),this[_0x22a4e0(0x7c)][_0x22a4e0(0x11f)]();}[_0x989fca(0x24f)](){const _0x16621f=_0x989fca;this[_0x16621f(0x232)]||(this[_0x16621f(0x232)]=!0x0,this[_0x16621f(0x92)][_0x16621f(0x1f1)][_0x16621f(0x27c)](_0xdd7600(this['dispose$']))[_0x16621f(0xa9)](_0xe2d976=>{const _0x247a3e=_0x16621f;_0xe2d976===_0x5ba384[_0x247a3e(0x13b)]?this['_toggleOnline']():this[_0x247a3e(0x266)]();}),this['_session']['event$']['pipe'](_0xdd7600(this['dispose$']))[_0x16621f(0xa9)](_0x30632a=>{const _0x234358=_0x16621f,_0x1c76e4=_0x30632a['eventID'];_0x1c76e4===_0x303067[_0x234358(0xde)]&&this[_0x234358(0x15d)](_0x30632a),_0x1c76e4===_0x303067['USERS_LEAVE']&&this[_0x234358(0x261)](_0x30632a);}),this['_onRefRangeChange'](),this[_0x16621f(0x80)](this[_0x16621f(0x16a)][_0x16621f(0x1a1)](_0x5ed056=>{const _0x2f39d3=_0x16621f;if(this[_0x2f39d3(0x21c)]&&_0x5ed056['id']===_0x394a52['id']&&_0x5ed056['params'][_0x2f39d3(0x27d)]===this[_0x2f39d3(0x1df)]){const _0x40d7fc=_0x5ed056[_0x2f39d3(0x1a0)];this[_0x2f39d3(0x1d3)](_0x40d7fc['subUnitId'],_0x40d7fc[_0x2f39d3(0x223)][0x0]);}})));}[_0x989fca(0x15d)](_0x4f465e){const _0x20d07a=_0x989fca;var _0x242a2e,_0x42fcc0;const {memberID:_0x4fefa2,selection:_0x320b91}=_0x4f465e[_0x20d07a(0x200)],{sheetName:_0x11c33f,range:_0x180e62}=_0x48935f(_0x320b91),_0x1db1a2={'name':(_0x42fcc0=(_0x242a2e=this[_0x20d07a(0x1ef)][_0x20d07a(0x23b)](this[_0x20d07a(0x1df)],_0x4fefa2))==null?void 0x0:_0x242a2e[_0x20d07a(0x17e)])!=null?_0x42fcc0:'Unknown\x20user','range':this[_0x20d07a(0xc4)](_0x11c33f,_0x180e62),'sheetID':_0x11c33f,'color':this[_0x20d07a(0x1db)][_0x20d07a(0x93)](_0x4fefa2),'selection':_0x320b91},_0x124264=this['cursorInfo'];_0x124264[_0x20d07a(0x8d)](_0x4fefa2,_0x1db1a2),this['_cursorInfo$'][_0x20d07a(0x250)](_0x124264);}[_0x989fca(0x261)](_0x44670c){const _0x51c7c0=_0x989fca,{memberID:_0x19f89a}=_0x44670c['data'],_0x596ec6=this[_0x51c7c0(0xa7)];_0x596ec6['delete'](_0x19f89a),this[_0x51c7c0(0x1e4)]['next'](_0x596ec6);}[_0x989fca(0xc4)](_0x5ddb3f,_0x53a1d2){const _0x132267=_0x989fca;var _0x1d5e58,_0x17d7c3;const _0x5638ea=(_0x17d7c3=(_0x1d5e58=this[_0x132267(0x26e)][_0x132267(0x1e2)](this[_0x132267(0x1df)]))==null?void 0x0:_0x1d5e58['getSheetBySheetId'](_0x5ddb3f))==null?void 0x0:_0x17d7c3[_0x132267(0x226)]();return(_0x5638ea==null?void 0x0:_0x5638ea[_0x132267(0x1b0)](_0x54c8cc=>_0x51e76b[_0x132267(0x1ab)](_0x54c8cc,_0x53a1d2)))||_0x53a1d2;}[_0x989fca(0x98)](){const _0x521b01=_0x989fca,_0x574f6c=new _0x3ffede(),_0x46e553=Ii(),_0x12a3b7=()=>{const _0x25d913=_0x20af;_0x574f6c['dispose']();const _0x1230cb=(_0x43e0d8,_0x6ebda5,_0x4a8e3b,_0x107314)=>{const _0x170852=_0x20af;let _0x529621=[];switch(_0x43e0d8['id']){case _0x5651eb[_0x170852(0x278)]:{_0x529621=_0x4db94a(_0x43e0d8,_0x107314);break;}case _0x5651eb[_0x170852(0x1eb)]:{_0x529621=_0x55074a(_0x43e0d8,_0x107314);break;}case _0x5651eb['InsertColCommandId']:{_0x529621=_0x54000b(_0x43e0d8,_0x107314);break;}case _0x5651eb[_0x170852(0x20a)]:{_0x529621=_0x576435(_0x43e0d8,_0x107314);break;}case _0x5651eb['InsertRangeMoveRightCommandId']:{_0x529621=_0xf7d30f(_0x43e0d8,_0x107314);break;}case _0x5651eb[_0x170852(0x193)]:{_0x529621=_0x56cb36(_0x43e0d8,_0x107314);break;}case _0x5651eb[_0x170852(0x1f0)]:{_0x529621=_0x347b65(_0x43e0d8,_0x107314);break;}case _0x5651eb[_0x170852(0x230)]:{_0x529621=_0xcfa26f(_0x43e0d8,_0x107314);break;}case _0x5651eb[_0x170852(0xdd)]:{_0x529621=_0x4fe54f(_0x43e0d8,_0x107314);break;}}const _0x3697f0=_0x380c36(_0x529621,_0x107314),_0x55c255=this['cursorInfo'][_0x170852(0x175)](_0x6ebda5);if(_0x55c255&&_0x3697f0){const _0x2ef0cd={..._0x55c255,'range':_0x3697f0};this['cursorInfo']['set'](_0x6ebda5,_0x2ef0cd),_0x46e553(()=>{const _0x2c78a6=_0x170852,_0x204831=this[_0x2c78a6(0x17c)]['registerRefRange'](_0x3697f0,_0x6256e1=>(_0x204831[_0x2c78a6(0x1fc)](),_0x1230cb(_0x6256e1,_0x6ebda5,_0x4a8e3b,_0x3697f0)));_0x574f6c['add'](_0x204831);});}return{'redos':[],'undos':[]};};this[_0x25d913(0xa7)][_0x25d913(0x20f)]((_0x39f8de,_0x28b4cc)=>{const _0x4c6ab3=_0x25d913,{range:_0x46cc49,sheetID:_0x574db6}=_0x39f8de,_0x1e731f=this[_0x4c6ab3(0x17c)]['registerRefRange'](_0x46cc49,_0x5cf785=>(_0x1e731f['dispose'](),_0x1230cb(_0x5cf785,_0x28b4cc,_0x574db6,_0x46cc49)));_0x574f6c[_0x4c6ab3(0x254)](_0x1e731f);});};this['disposeWithMe'](_0x5b0cc1(this[_0x521b01(0x1e4)]['subscribe'](()=>{_0x12a3b7();})));}[_0x989fca(0x16f)](){const _0x13c91b=_0x989fca;var _0x323374,_0x512aec;if(this['_online']=!0x0,((_0x323374=this[_0x13c91b(0x26e)]['getFocusedUnit']())==null?void 0x0:_0x323374[_0x13c91b(0x11c)]())!==this[_0x13c91b(0x1df)])return;const _0x4759eb=(_0x512aec=this[_0x13c91b(0x1e7)][_0x13c91b(0x175)](_0x3f96e6)['getCurrentSelections']())==null?void 0x0:_0x512aec[0x0],_0x55295b=this[_0x13c91b(0x26e)]['getCurrentUnitForType'](_0x5a554e[_0x13c91b(0x120)])['getActiveSheet']();_0x4759eb&&_0x55295b&&this[_0x13c91b(0x1d3)](_0x55295b['getSheetId'](),_0x4759eb);}[_0x989fca(0x266)](){this['_online']=!0x1;}};Me=mi([x(0x2,_0x57fbba(_0x4ad95e)),x(0x3,_0x57fbba(ke)),x(0x4,_0x57fbba(_0x43c796)),x(0x5,_0x2844bb),x(0x6,_0x3771c6),x(0x7,_0x57fbba(_0x726455))],Me);var pi=Object[_0x989fca(0x185)],Ci=(_0x407329,_0x3a7be9,_0x340967,_0x4a7544)=>{const _0x23795d=_0x989fca;for(var _0x1f4bc2=_0x4a7544>0x1?void 0x0:_0x4a7544?pi(_0x3a7be9,_0x340967):_0x3a7be9,_0x105181=_0x407329[_0x23795d(0x10c)]-0x1,_0x23d8b0;_0x105181>=0x0;_0x105181--)(_0x23d8b0=_0x407329[_0x105181])&&(_0x1f4bc2=_0x23d8b0(_0x1f4bc2)||_0x1f4bc2);return _0x1f4bc2;},Se=(_0x4915e6,_0x337fcf)=>(_0x4582d5,_0x53461a)=>_0x337fcf(_0x4582d5,_0x53461a,_0x4915e6);let H=class extends _0x5c3cd6{constructor(_0x704d73,_0x59235f,_0x54bd79){const _0xdc3434=_0x989fca;super(),_(this,_0xdc3434(0x1b4),new Map()),_(this,'_entityInit$',new _0x597c59()),(this[_0xdc3434(0x26e)]=_0x704d73,this[_0xdc3434(0x1e7)]=_0x59235f,this[_0xdc3434(0x15a)]=_0x54bd79,this[_0xdc3434(0x232)]());}[_0x989fca(0x1fc)](){const _0x27ef37=_0x989fca;super[_0x27ef37(0x1fc)](),this[_0x27ef37(0x183)][_0x27ef37(0x11f)](),this[_0x27ef37(0x1b4)][_0x27ef37(0x20f)](_0x4e109e=>_0x4e109e[_0x27ef37(0x1fc)]());}[_0x989fca(0x1cc)](_0x4d09ff){const _0x4894ac=_0x989fca;return this['_entities'][_0x4894ac(0x173)](_0x4d09ff)?this['_entities'][_0x4894ac(0x175)](_0x4d09ff)[_0x4894ac(0x101)]:this[_0x4894ac(0x183)]['pipe'](_0x29f3eb(_0x2defa3=>_0x2defa3[_0x4894ac(0x1df)]===_0x4d09ff),_0x4fd599(_0x3b11a5=>_0x3b11a5[_0x4894ac(0x101)]));}['_init'](){const _0x487d76=_0x989fca;this[_0x487d76(0x26e)][_0x487d76(0x7f)](_0x5a554e[_0x487d76(0x120)])[_0x487d76(0x27c)](_0xdd7600(this['dispose$']))[_0x487d76(0xa9)](async _0x3ec6ad=>{const _0x4eb9c0=_0x487d76,_0x4fb5d2=_0x3ec6ad[_0x4eb9c0(0x11c)](),_0x1510c0=await this[_0x4eb9c0(0x1aa)](_0x4fb5d2);this['_entityInit$'][_0x4eb9c0(0x250)](_0x1510c0),this['_entities'][_0x4eb9c0(0x8d)](_0x4fb5d2,_0x1510c0);}),this[_0x487d76(0x26e)]['getTypeOfUnitAdded$'](_0x5a554e[_0x487d76(0x161)])[_0x487d76(0x27c)](_0xdd7600(this[_0x487d76(0x224)]))['pipe'](_0x29f3eb(_0x55c575=>!_0x55c575[_0x487d76(0x11c)]()[_0x487d76(0xee)]('__')))[_0x487d76(0xa9)](async _0x16e5d6=>{const _0x3d6651=_0x487d76,_0x2fbd9c=_0x16e5d6['getUnitId'](),_0x1a1ed4=await this[_0x3d6651(0x86)](_0x2fbd9c);this['_entityInit$'][_0x3d6651(0x250)](_0x1a1ed4),this['_entities'][_0x3d6651(0x8d)](_0x2fbd9c,_0x1a1ed4);}),_0x2731fa(this[_0x487d76(0x26e)][_0x487d76(0x1c8)](_0x5a554e[_0x487d76(0x161)]),this[_0x487d76(0x26e)][_0x487d76(0x1c8)](_0x5a554e[_0x487d76(0x120)]))[_0x487d76(0x27c)](_0xdd7600(this['dispose$']))['subscribe'](_0x53b9ee=>{const _0x52ed15=_0x487d76,_0x15e0c6=_0x53b9ee[_0x52ed15(0x11c)](),_0x166659=this[_0x52ed15(0x1b4)][_0x52ed15(0x175)](_0x15e0c6);_0x166659&&(_0x166659[_0x52ed15(0x1fc)](),this[_0x52ed15(0x1b4)][_0x52ed15(0x240)](_0x15e0c6));});}async['_startSheetCollabCursor'](_0x32eb05){const _0x67395e=_0x989fca,_0x231d12=await this[_0x67395e(0x15a)][_0x67395e(0x1d0)](_0x32eb05),_0x2241b0=this[_0x67395e(0x1e7)][_0x67395e(0x16c)](Me,_0x32eb05,_0x231d12);return _0x2241b0[_0x67395e(0x24f)](),_0x2241b0;}async[_0x989fca(0x86)](_0x32e974){const _0x5ce740=_0x989fca,_0x5f5cf9=await this[_0x5ce740(0x15a)][_0x5ce740(0x1d0)](_0x32e974),_0x4a56ba=this[_0x5ce740(0x1e7)][_0x5ce740(0x16c)](Ue,_0x32e974,_0x5f5cf9);return _0x4a56ba['init'](),_0x4a56ba;}};H=Ci([Se(0x0,_0x2844bb),Se(0x1,_0x57fbba(_0x4ad95e)),Se(0x2,_0x57fbba(_0x5ece21))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x2a7109,_0x57de0d){const _0x5d6198=_0x989fca;let {radius:_0x5b5da1,width:_0x50d2eb,height:_0x2e7d0b}=_0x57de0d;_0x5b5da1=_0x5b5da1!=null?_0x5b5da1:0x0,_0x50d2eb=_0x50d2eb!=null?_0x50d2eb:0x1e,_0x2e7d0b=_0x2e7d0b!=null?_0x2e7d0b:0x1e;let _0x2bc8d1=0x0,_0x37e646=0x0,_0x565c5e=0x0;_0x2bc8d1=_0x37e646=_0x565c5e=Math[_0x5d6198(0x146)](_0x5b5da1,_0x50d2eb/0x2,_0x2e7d0b/0x2),_0x2a7109[_0x5d6198(0x205)](),_0x2a7109[_0x5d6198(0x27a)](_0x2bc8d1,0x0),_0x2a7109['lineTo'](_0x50d2eb-_0x37e646,0x0),_0x2a7109[_0x5d6198(0x1a3)](_0x50d2eb-_0x37e646,_0x37e646,_0x37e646,Math['PI']*0x3/0x2,0x0,!0x1),_0x2a7109[_0x5d6198(0x12c)](_0x50d2eb,_0x2e7d0b-_0x565c5e),_0x2a7109[_0x5d6198(0x1a3)](_0x50d2eb-_0x565c5e,_0x2e7d0b-_0x565c5e,_0x565c5e,0x0,Math['PI']/0x2,!0x1),_0x2a7109[_0x5d6198(0x12c)](0x0,_0x2e7d0b),_0x2a7109['lineTo'](0x0,_0x2bc8d1),_0x2a7109[_0x5d6198(0x1a3)](_0x2bc8d1,_0x2bc8d1,_0x2bc8d1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2a7109[_0x5d6198(0x196)](),_0x57de0d['fill']&&(_0x2a7109[_0x5d6198(0x102)](),_0x2a7109[_0x5d6198(0x26d)]=_0x57de0d[_0x5d6198(0x1de)],_0x57de0d[_0x5d6198(0x117)]===_0x5d6198(0x149)?_0x2a7109[_0x5d6198(0x1de)](_0x5d6198(0x149)):_0x2a7109[_0x5d6198(0x1de)](),_0x2a7109[_0x5d6198(0x122)]());}class he extends _0xae135c{constructor(_0x19a791,_0x13c0c9){const _0x543202=_0x989fca;super(_0x19a791,_0x13c0c9),_(this,'color'),_(this,_0x543202(0x272)),(this[_0x543202(0x16e)]=_0x13c0c9==null?void 0x0:_0x13c0c9[_0x543202(0x16e)],this[_0x543202(0x272)]=_0x13c0c9==null?void 0x0:_0x13c0c9[_0x543202(0x272)]);}static[_0x989fca(0xa8)](_0x10eeaa,_0x139fc0){const _0x427201=_0x989fca,{text:_0x2ee7a6,color:_0x424e1d}=_0x139fc0;_0x10eeaa['save'](),_0x10eeaa[_0x427201(0xf1)]=_0x427201(0x26b);const _0x3978dd=_0x10eeaa['measureText'](_0x2ee7a6)['width'],_0x5a8c31=Math['min'](_0x3978dd+0x2*me,Qe);bi(_0x10eeaa,{'height':ee,'radius':0x4,'width':_0x5a8c31,'fill':_0x424e1d}),_0x10eeaa[_0x427201(0x26d)]=_0x427201(0xe3);const _0x101d1d=me,_0x262cb4=ee-Ei,_0x43a8e1=Qe-0x2*me;if(_0x3978dd>_0x43a8e1){let _0x5405e4='',_0x22d37b=0x0;for(const _0x5a8210 of _0x2ee7a6){const _0x1dd1e2=_0x10eeaa['measureText'](_0x5a8210)[_0x427201(0x19f)];if(_0x22d37b+_0x1dd1e2<=_0x43a8e1-_0x10eeaa[_0x427201(0x201)]('...')[_0x427201(0x19f)])_0x5405e4+=_0x5a8210,_0x22d37b+=_0x1dd1e2;else{_0x5405e4+=_0x427201(0x263);break;}}_0x10eeaa['fillText'](_0x5405e4,_0x101d1d,_0x262cb4);}else _0x10eeaa[_0x427201(0x19e)](_0x2ee7a6,_0x101d1d,_0x262cb4);_0x10eeaa[_0x427201(0x122)]();}[_0x989fca(0xab)](_0x289bed){he['drawWith'](_0x289bed,this);}}const ge=_0x989fca(0x168),Oi='collab-text-range-',Ti=_0x989fca(0x1d5),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x989fca(0x22b);class qe{constructor(_0x8c6c86,_0x36beb0,_0x593dca,_0x153966){const _0x4bfc67=_0x989fca;_(this,_0x4bfc67(0x12d),[]),_(this,_0x4bfc67(0x142),null),_(this,_0x4bfc67(0x14b),null),_(this,_0x4bfc67(0xca),null),_(this,_0x4bfc67(0x113),null),_(this,_0x4bfc67(0xcb),null),(this[_0x4bfc67(0x108)]=_0x8c6c86,this['_scene']=_0x36beb0,this[_0x4bfc67(0x121)]=_0x593dca,this['_document']=_0x153966,this[_0x4bfc67(0x276)]());}set['_hover'](_0x11530f){const _0x5a7a66=_0x989fca;_0x11530f?(this[_0x5a7a66(0xca)]&&this['_anchorDot'][_0x5a7a66(0x242)](),this['_textBubble']&&this[_0x5a7a66(0x14b)][_0x5a7a66(0x7e)]()):(this['_anchorDot']&&this['_anchorDot']['show'](),this[_0x5a7a66(0x14b)]&&this[_0x5a7a66(0x14b)][_0x5a7a66(0x242)]());}[_0x989fca(0x1fc)](){const _0x262841=_0x989fca;for(const _0x3030aa of this[_0x262841(0x12d)])_0x3030aa['dispose']();this[_0x262841(0x14b)]&&this[_0x262841(0x14b)]['dispose'](),this['_anchorDot']&&this[_0x262841(0xca)][_0x262841(0x1fc)](),this[_0x262841(0x142)]&&this[_0x262841(0x142)][_0x262841(0x1fc)](),this['_eventUnsubscribe']&&this[_0x262841(0xcb)]();}[_0x989fca(0x276)](){const _0x4538bd=_0x989fca;var _0x4207c3;const {_docSkeleton:_0x57763a,_document:_0x422b3f}=this,{color:_0x1585b2,name:_0x2ea8c3,ranges:_0x395028}=this[_0x4538bd(0x108)],_0x2d9819=_0x422b3f[_0x4538bd(0x255)](),{docsLeft:_0x1d2abd,docsTop:_0x54e641}=_0x2d9819,_0x17e026=new _0x1a424d(_0x2d9819,_0x57763a);for(const {startOffset:_0x3b0c3b,endOffset:_0x508619,rangeType:_0x50326f,segmentId:_0x2ee13a,segmentPage:_0x1bb9ee,collapsed:_0x59db91,isActive:_0x3bde45}of _0x395028){const _0x4b8030=_0x57763a['findNodePositionByCharIndex'](_0x3b0c3b,!0x0,_0x2ee13a,_0x1bb9ee);let _0x112a54=_0x57763a['findNodePositionByCharIndex'](_0x508619,!0x0,_0x2ee13a,_0x1bb9ee);if(_0x112a54==null&&(_0x112a54=_0x57763a[_0x4538bd(0x222)](_0x508619-0x1,!0x1,_0x2ee13a,_0x1bb9ee)),_0x3bde45){const {contentBoxPointGroup:_0x53b3ea}=_0x17e026[_0x4538bd(0x153)](_0x112a54,_0x112a54);if(_0x53b3ea['length']===0x0)continue;this['_drawAnchor'](_0x1585b2,_0x53b3ea,_0x1d2abd,_0x54e641,_0x2ea8c3),this[_0x4538bd(0xcb)]=this[_0x4538bd(0x22a)]();}if(_0x4b8030&&_0x112a54){if(_0x50326f===_0x4f660f['RECT']){const _0x2aa5e5=new _0x1f101c(_0x2d9819,_0x57763a),{pointGroup:_0xaa5513}=(_0x4207c3=_0x2aa5e5[_0x4538bd(0x153)](_0x4b8030,_0x112a54))!=null?_0x4207c3:{};if(_0xaa5513==null||_0xaa5513[_0x4538bd(0x10c)]===0x0)continue;this[_0x4538bd(0x243)](_0x1585b2,_0xaa5513,_0x1d2abd,_0x54e641);}else{if(!_0x59db91){const {borderBoxPointGroup:_0x3be460}=_0x17e026['getRangePointData'](_0x4b8030,_0x112a54);if(_0x3be460[_0x4538bd(0x10c)]===0x0)continue;this[_0x4538bd(0x26a)](_0x1585b2,_0x3be460,_0x1d2abd,_0x54e641);}}}}}[_0x989fca(0x195)](_0x10de3b,_0x1df151,_0x542f24,_0x1a9026,_0x3042a4){const _0x5e72db=_0x989fca,_0xcc0e4a=this['_getAnchorBounding'](_0x1df151),{left:_0x122927,top:_0x426ff0,height:_0x3b7480}=_0xcc0e4a,_0x120b99=this['_getScale'](),_0x48340c=Di/_0x120b99,_0x4942a9=new _0x38ea81(ge+_0x13a68d[_0x5e72db(0xd5)](X),{'left':_0x122927+_0x542f24-_0x48340c,'top':_0x426ff0+_0x1a9026,'height':_0x3b7480,'width':Ri,'fill':_0x10de3b||_0x55e9ad(_0x415b02[_0x5e72db(0x1a5)],0x0),'strokeWidth':_0x48340c,'stroke':Ni,'evented':!0x0});this[_0x5e72db(0x142)]=_0x4942a9,this[_0x5e72db(0x11b)][_0x5e72db(0xf0)](_0x4942a9,_0x3131b1);const _0x1b26aa=new _0x38ea81(ge+_0x13a68d[_0x5e72db(0xd5)](X),{'left':_0x122927+_0x542f24-_0x48340c,'top':_0x426ff0+_0x1a9026-ve/0x2,'height':ve,'width':ve,'fill':_0x10de3b||_0x55e9ad(_0x415b02[_0x5e72db(0x1a5)],0x0),'strokeWidth':0x0,'stroke':_0x10de3b||_0x55e9ad(_0x415b02[_0x5e72db(0x1a5)],0x0),'evented':!0x1});this['_anchorDot']=_0x1b26aa,this[_0x5e72db(0x11b)]['addObject'](_0x1b26aa,_0x3131b1);const _0x48ee1a=new he(ge+_0x13a68d[_0x5e72db(0xd5)](X),{'left':_0x122927+_0x542f24-_0x48340c,'top':_0x426ff0+_0x1a9026-ee,'text':_0x3042a4,'color':_0x10de3b});this[_0x5e72db(0x14b)]=_0x48ee1a,this[_0x5e72db(0x11b)][_0x5e72db(0xf0)](_0x48ee1a,_0x3131b1),this[_0x5e72db(0x187)]=!0x1;}[_0x989fca(0x22a)](){const _0x1d6309=_0x989fca,_0x2eb0df=this[_0x1d6309(0x142)][_0x1d6309(0x1b5)][_0x1d6309(0x1c3)](()=>{const _0x5f090f=_0x1d6309;this[_0x5f090f(0x187)]=!0x0;}),_0x5a3b3c=this[_0x1d6309(0x142)][_0x1d6309(0x1c5)][_0x1d6309(0x1c3)](()=>{const _0x33d853=_0x1d6309;this[_0x33d853(0x113)]&&clearTimeout(this[_0x33d853(0x113)]),this[_0x33d853(0x113)]=setTimeout(()=>{const _0x5a960b=_0x33d853;this[_0x5a960b(0x187)]=!0x1;},0x7d0);});return()=>{const _0x498c74=_0x1d6309;_0x2eb0df[_0x498c74(0x1ed)](),_0x5a3b3c[_0x498c74(0x1ed)]();};}[_0x989fca(0x26a)](_0x20d848,_0x14c2ea,_0x308e89,_0x384427){const _0x439c92=_0x989fca,_0x4761c1=new _0xefe396(_0x20d848)['setAlpha'](0.2)['toRgbString'](),_0x5dfb0b=new _0x3407fa(Oi+_0x13a68d[_0x439c92(0xd5)](X),{'pointsGroup':_0x14c2ea,'fill':_0x4761c1||_0x55e9ad(_0x415b02[_0x439c92(0x1a5)],0.2),'left':_0x308e89,'top':_0x384427,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x439c92(0x12d)][_0x439c92(0x9e)](_0x5dfb0b),this[_0x439c92(0x11b)][_0x439c92(0xf0)](_0x5dfb0b,_0x3131b1);}['_drawRectRange'](_0x23ab10,_0x2360b7,_0x631c0e,_0x47bb38){const _0x3e3689=_0x989fca,_0x3024fa=new _0xefe396(_0x23ab10)['setAlpha'](0.2)['toRgbString'](),_0xd664b4=new _0x3407fa(Ti+_0x13a68d['generateRandomId'](X),{'pointsGroup':_0x2360b7,'fill':_0x3024fa||_0x55e9ad(_0x415b02[_0x3e3689(0x1a5)],0.2),'left':_0x631c0e,'top':_0x47bb38,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0xd664b4),this[_0x3e3689(0x11b)][_0x3e3689(0xf0)](_0xd664b4,_0x3131b1);}['_getAnchorBounding'](_0x671ef3){const _0x5c42f4=_0x671ef3[0x0],_0x52d743=_0x5c42f4[0x0],_0x108b97=_0x5c42f4[0x2],{x:_0x5653f3,y:_0x2a5bb0}=_0x52d743,{x:_0x4a4af3,y:_0x23278d}=_0x108b97;return{'left':_0x5653f3,'top':_0x2a5bb0,'width':_0x4a4af3-_0x5653f3,'height':_0x23278d-_0x2a5bb0};}[_0x989fca(0x95)](){const _0x21e735=_0x989fca,{scaleX:_0x18f0a0,scaleY:_0x5947ac}=this[_0x21e735(0x11b)][_0x21e735(0xe8)]();return Math[_0x21e735(0x87)](_0x18f0a0,_0x5947ac);}}var Ui=Object['getOwnPropertyDescriptor'],Mi=(_0x4dd8a4,_0x5a1e98,_0x32d244,_0x155000)=>{const _0x4fbf57=_0x989fca;for(var _0x4b78a5=_0x155000>0x1?void 0x0:_0x155000?Ui(_0x5a1e98,_0x32d244):_0x5a1e98,_0x4ca243=_0x4dd8a4[_0x4fbf57(0x10c)]-0x1,_0x255b8c;_0x4ca243>=0x0;_0x4ca243--)(_0x255b8c=_0x4dd8a4[_0x4ca243])&&(_0x4b78a5=_0x255b8c(_0x4b78a5)||_0x4b78a5);return _0x4b78a5;},Z=(_0x350c91,_0x41a7d3)=>(_0x56f478,_0x33fbfe)=>_0x41a7d3(_0x56f478,_0x33fbfe,_0x350c91);let Pe=class extends _0x5c3cd6{constructor(_0x517fc2,_0x3c72a6,_0x1cb8c8,_0x492518,_0x23465e){const _0x417348=_0x989fca;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x417348(0xf3)]=_0x517fc2,this['_docSkeletonManagerService']=_0x3c72a6,this[_0x417348(0x10d)]=_0x1cb8c8,this[_0x417348(0x16a)]=_0x492518,this['_themeService']=_0x23465e,this[_0x417348(0x232)]());}[_0x989fca(0x232)](){const _0x48dd92=_0x989fca,_0x1981a9=this[_0x48dd92(0xf3)][_0x48dd92(0x27d)],_0x2256a2=this[_0x48dd92(0x124)];this[_0x48dd92(0x80)](_0x4d9839([this[_0x48dd92(0x10d)][_0x48dd92(0x1cc)](_0x1981a9),this[_0x48dd92(0xd7)]['currentTheme$']])[_0x48dd92(0x27c)](_0x13182b(([_0x21f3ca,_0x23e402])=>({'skeleton':_0x2256a2[_0x48dd92(0x264)](),'cursors':[..._0x21f3ca['values']()][_0x48dd92(0xc9)](_0xeeda9c=>({..._0xeeda9c,'color':_0x23e402[_0xeeda9c['color']]}))})))[_0x48dd92(0xa9)](_0x3abb54=>{const _0x4d18c3=_0x48dd92;if(this[_0x4d18c3(0x245)](),_0x3abb54){const {skeleton:_0x4ccf5c,cursors:_0x1471fb}=_0x3abb54;this[_0x4d18c3(0x27e)](_0x4ccf5c,_0x1471fb);}})),this[_0x48dd92(0x219)](),this[_0x48dd92(0x94)]();}[_0x989fca(0x27e)](_0x1b8c46,_0x5aa387){const _0x40792e=_0x989fca,{scene:_0xc79f58,mainComponent:_0x2decc8}=this[_0x40792e(0xf3)],_0x172cfb=_0x5aa387[_0x40792e(0x190)](_0x1ece5f=>new qe(_0x1ece5f,_0xc79f58,_0x1b8c46,_0x2decc8));this[_0x40792e(0x135)]=_0x172cfb,this[_0x40792e(0x20d)]=_0x5aa387;}['_refreshCollabCursors'](){const _0x254469=_0x989fca;this['_removeCollabCursors']();const {scene:_0x152983,mainComponent:_0x155122}=this[_0x254469(0xf3)],_0x255260=this[_0x254469(0x124)][_0x254469(0x264)](),_0x45eae1=this[_0x254469(0x20d)][_0x254469(0x190)](_0x2c2e0b=>new qe(_0x2c2e0b,_0x152983,_0x255260,_0x155122));this[_0x254469(0x135)]=_0x45eae1;}[_0x989fca(0x245)](){const _0x3b048b=_0x989fca;this[_0x3b048b(0x135)][_0x3b048b(0x20f)](_0x5c42e8=>_0x5c42e8[_0x3b048b(0x1fc)]()),this[_0x3b048b(0x135)]=[];}[_0x989fca(0x94)](){const _0x4a160f=_0x989fca,_0x12b9e3=[_0x33fa92['id']];this[_0x4a160f(0x80)](this[_0x4a160f(0x16a)][_0x4a160f(0x1a1)](_0x3be760=>{const _0x561bf9=_0x4a160f;_0x12b9e3['includes'](_0x3be760['id'])&&_0x3be760[_0x561bf9(0x1a0)][_0x561bf9(0x27d)]===this['_context'][_0x561bf9(0x27d)]&&this['_refreshCollabCursors']();}));}[_0x989fca(0x219)](){const _0x172b6a=_0x989fca;this['disposeWithMe'](_0x4c17cc(this[_0x172b6a(0xf3)][_0x172b6a(0x1d6)][_0x172b6a(0xe2)])[_0x172b6a(0x27c)](_0x2af558(_0x5c91b6=>_0x5c91b6[_0x172b6a(0x177)]===_0x1d65e2[_0x172b6a(0x217)]),_0x405d7b(0x10))[_0x172b6a(0xa9)](()=>{const _0x1e1a24=_0x172b6a;this[_0x1e1a24(0x279)]();}));}};Pe=Mi([Z(0x1,_0x57fbba(_0x526abb)),Z(0x2,_0x57fbba(H)),Z(0x3,_0x3771c6),Z(0x4,_0x57fbba(_0x2149c0))],Pe);const Pi=0x1,wi=1.5;class Li extends _0xae135c{constructor(_0x284209,_0x54d33b){const _0x15a261=_0x989fca;super(_0x284209,_0x54d33b),_(this,_0x15a261(0xd3)),_(this,_0x15a261(0x151),!0x1),_(this,_0x15a261(0x203)),_(this,'_name',''),_(this,'_labelPosition','top'),_(this,_0x15a261(0x8e)),(_0x54d33b&&this['setShapeProps'](_0x54d33b),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x15a261(0x152)]({'hovered':!0x0})),this[_0x15a261(0x1c5)]['subscribeEvent'](()=>this[_0x15a261(0x152)]({'hovered':!0x1})));}['setShapeProps'](_0x4db565){const _0x20b627=_0x989fca;var _0x4a5ee5,_0x4deb66,_0x13cdb9,_0x1735fc,_0x5e28d1,_0x5881d8;this[_0x20b627(0xd3)]=(_0x4a5ee5=_0x4db565[_0x20b627(0x16e)])!=null?_0x4a5ee5:this[_0x20b627(0xd3)],this[_0x20b627(0x151)]=(_0x4deb66=_0x4db565[_0x20b627(0xb4)])!=null?_0x4deb66:this[_0x20b627(0x151)],this['_range']=(_0x13cdb9=_0x4db565['range'])!=null?_0x13cdb9:this[_0x20b627(0x203)],this[_0x20b627(0x1c2)]=(_0x1735fc=_0x4db565[_0x20b627(0x17e)])!=null?_0x1735fc:this[_0x20b627(0x1c2)],this[_0x20b627(0xb3)]=(_0x5e28d1=_0x4db565[_0x20b627(0x192)])!=null?_0x5e28d1:this[_0x20b627(0xb3)],this['_backgroundColor']=(_0x5881d8=_0x4db565['backgroundColor'])!=null?_0x5881d8:this['_backgroundColor'],this[_0x20b627(0x259)]({'width':_0x4db565[_0x20b627(0x19f)],'height':_0x4db565[_0x20b627(0x123)]});}[_0x989fca(0x125)](_0x43c5ba){const _0x7cfb69=_0x989fca,{row:_0x1c2a22,column:_0x1c0588}=_0x43c5ba;if(_0x1c2a22>=this[_0x7cfb69(0x203)][_0x7cfb69(0x207)]&&_0x1c2a22<=this[_0x7cfb69(0x203)][_0x7cfb69(0xdc)]&&_0x1c0588>=this[_0x7cfb69(0x203)]['startColumn']&&_0x1c0588<=this[_0x7cfb69(0x203)]['endColumn']){this[_0x7cfb69(0x152)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x989fca(0x174)](_0x41d4f6){return!0x1;}[_0x989fca(0xab)](_0x1f5331){const _0xe27738=_0x989fca;_0x38ea81[_0xe27738(0xa8)](_0x1f5331,{'width':this[_0xe27738(0x19f)],'height':this['height'],'strokeWidth':wi,'stroke':this[_0xe27738(0xd3)],'evented':!0x1,'fill':this[_0xe27738(0x8e)]}),this[_0xe27738(0x151)]&&(_0x1f5331['save'](),_0x1f5331[_0xe27738(0x147)](0x1,0x0,0x0,0x1,this[_0xe27738(0x19f)],this[_0xe27738(0xb3)]===_0xe27738(0xed)?0x0:-0x14),he[_0xe27738(0xa8)](_0x1f5331,{'text':this[_0xe27738(0x1c2)],'color':this['_color']}),_0x1f5331[_0xe27738(0x122)]());}}var Ai=Object['getOwnPropertyDescriptor'],yi=(_0x30e6c1,_0x950e60,_0x69cef8,_0x2b6473)=>{const _0x4d3fc4=_0x989fca;for(var _0x2daa4a=_0x2b6473>0x1?void 0x0:_0x2b6473?Ai(_0x950e60,_0x69cef8):_0x950e60,_0x24f861=_0x30e6c1[_0x4d3fc4(0x10c)]-0x1,_0x33326d;_0x24f861>=0x0;_0x24f861--)(_0x33326d=_0x30e6c1[_0x24f861])&&(_0x2daa4a=_0x33326d(_0x2daa4a)||_0x2daa4a);return _0x2daa4a;},Ie=(_0x6ab307,_0x423f31)=>(_0x3534c4,_0x4d4168)=>_0x423f31(_0x3534c4,_0x4d4168,_0x6ab307);const $i=0x1389;let we=class extends _0x5c3cd6{constructor(_0x5d9a10,_0x344122,_0x18097c,_0x3f040e){const _0x13ff33=_0x989fca;super(),_(this,'_cursors',new Set()),_(this,_0x13ff33(0x204),null),(this['_context']=_0x5d9a10,this['_sheetSkeletonManagerService']=_0x344122,this[_0x13ff33(0x10d)]=_0x18097c,this[_0x13ff33(0xd7)]=_0x3f040e,this[_0x13ff33(0x232)]());}[_0x989fca(0x232)](){const _0x9bca26=_0x989fca;this[_0x9bca26(0x11d)][_0x9bca26(0x1cf)]['pipe'](_0x4051ad(this[_0x9bca26(0x224)]),_0x43e0d5(_0x342aac=>{const _0x38ff62=_0x9bca26;if(_0x342aac){const _0x55e43a=_0x342aac[_0x38ff62(0x178)];return _0x4d9839(this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x38ff62(0x27d)]),this['_themeService'][_0x38ff62(0x24e)])[_0x38ff62(0x27c)](_0x13182b(([_0x170794,_0x554e34])=>{const _0x183795=_0x38ff62,_0x16fb6d=new Map();return _0x170794[_0x183795(0x20f)]((_0x4522c0,_0x3d99d9)=>{const _0x124908=_0x183795;if(_0x4522c0[_0x124908(0x1ba)]===_0x55e43a){const _0x1556fa={..._0x4522c0};_0x1556fa[_0x124908(0x16e)]=_0x554e34[_0x4522c0['color']],_0x16fb6d['set'](_0x3d99d9,_0x1556fa);}}),{'skeleton':_0x342aac,'cursors':_0x16fb6d};}));}return _0x5b1fce({'skeleton':null,'cursors':new Map()});}))[_0x9bca26(0xa9)](({skeleton:_0x3bac5a,cursors:_0x4643dc})=>{this['_removeCollabCursors'](),_0x3bac5a&&this['_updateCollabCursors'](_0x3bac5a,_0x4643dc);}),this[_0x9bca26(0x11d)]['currentSkeleton$']['subscribe'](_0x14afb8=>{const _0x535799=_0x9bca26;if(_0x14afb8==null)return;const {skeleton:_0x8c7f4c}=_0x14afb8,{scene:_0x2a411c}=this['_context'];_0x2a411c['onPointerMove$'][_0x535799(0x1c3)](_0x350852(_0x2b90af=>{const _0x467b3f=_0x535799;var _0x7ee19,_0x2d0616;const {offsetX:_0x4621b6,offsetY:_0x5aea6f}=_0x2b90af,{x:_0x913e87,y:_0x59d6f5}=_0x2a411c[_0x467b3f(0x104)](_0x59d279['FromArray']([_0x4621b6,_0x5aea6f])),{scaleX:_0x56651a,scaleY:_0x32e2de}=_0x2a411c['getAncestorScale'](),_0x1c21ec=_0x2a411c[_0x467b3f(0x218)](_0x48bc96['VIEW_MAIN']),_0x3f76aa=_0x2a411c[_0x467b3f(0x1ff)](_0x59d279['FromArray']([_0x913e87,_0x59d6f5]),_0x1c21ec),_0x49cd0f=_0x8c7f4c['getCellPositionByOffset'](_0x4621b6,_0x5aea6f,_0x56651a,_0x32e2de,_0x3f76aa);((_0x7ee19=this[_0x467b3f(0x204)])==null?void 0x0:_0x7ee19[_0x467b3f(0x134)])===_0x49cd0f['column']&&((_0x2d0616=this[_0x467b3f(0x204)])==null?void 0x0:_0x2d0616[_0x467b3f(0x227)])===_0x49cd0f[_0x467b3f(0x227)]||this[_0x467b3f(0x20d)]['forEach'](_0x33b1f8=>{_0x33b1f8['onMouseMove'](_0x49cd0f);});},0x64));});}['_updateCollabCursors'](_0x321d9f,_0xbd8ec6){const _0x30baa2=_0x989fca;var _0x2a3966;const _0x1e541b=(_0x2a3966=this['_sheetSkeletonManagerService'][_0x30baa2(0x1d1)]())==null?void 0x0:_0x2a3966[_0x30baa2(0xd1)];if(!_0x1e541b)return;const _0x5213bd=this[_0x30baa2(0x129)]();if(!_0x5213bd)return;this[_0x30baa2(0x20d)]['forEach'](_0x367b4d=>{const _0x17b5ba=_0x30baa2;_0x367b4d[_0x17b5ba(0x14f)]();});const {scene:_0xc1cc66}=_0x5213bd,_0x24437c=xi(Array[_0x30baa2(0x20c)](_0xbd8ec6[_0x30baa2(0x1d2)]()))[_0x30baa2(0x190)](_0x4aca37=>{const _0x1cd20e=_0x30baa2,{color:_0x3e225a,range:_0xbe494,name:_0xec9455,selection:_0x14cc23,sheetID:_0xd73226}=_0x4aca37,{startColumn:_0x8e3116,startRow:_0x2b28b7,endColumn:_0x54c10e,endRow:_0x30b2d3}=_0xbe494,_0x43818b=_0x11bbc3(_0x2b28b7,_0x8e3116,_0xc1cc66,_0x1e541b),_0x47cd40=_0x11bbc3(_0x30b2d3,_0x54c10e,_0xc1cc66,_0x1e541b),{columnHeaderHeightAndMarginTop:_0x27cc1d}=_0x1e541b,{startX:_0x576037,startY:_0x161e5d}=_0x43818b,{endX:_0xe82938,endY:_0x53be34}=_0x47cd40,_0x304486=_0xe82938-_0x576037,_0x2bc58a=_0x53be34-_0x161e5d,_0x483ea5={'labelPosition':_0x161e5d-_0x27cc1d>=ee?_0x1cd20e(0x9a):_0x1cd20e(0xed),'sheetID':_0xd73226,'range':_0xbe494,'color':_0x3e225a,'name':_0xec9455,'selection':_0x14cc23,'left':_0x576037,'top':_0x161e5d,'width':_0x304486,'height':_0x2bc58a,'evented':!0x1,'zIndex':$i};return new Li(_0xec9455,_0x483ea5);});_0xc1cc66[_0x30baa2(0x1e3)](_0x24437c,Pi),this['_cursors']=new Set(_0x24437c);}[_0x989fca(0x245)](){const _0x3b2ad7=_0x989fca;var _0x271651;(_0x271651=this['_cursors'])==null||_0x271651[_0x3b2ad7(0x20f)](_0x17d72e=>_0x17d72e[_0x3b2ad7(0x1fc)]());}[_0x989fca(0x129)](){const _0x210f0f=_0x989fca;return _0x46f3ee(this[_0x210f0f(0xf3)][_0x210f0f(0xd2)],this['_context']);}};we=yi([Ie(0x1,_0x57fbba(_0x3825db)),Ie(0x2,_0x57fbba(H)),Ie(0x3,_0x57fbba(_0x2149c0))],we);function xi(_0x50f0c6){const _0x123b24=_0x989fca,_0x1b3b0c=new Map();return _0x50f0c6[_0x123b24(0x20f)](_0xf06d0=>{const _0x43ac8b=_0x123b24;if(_0x1b3b0c[_0x43ac8b(0x173)](_0xf06d0[_0x43ac8b(0x184)])){const _0xb6e8dc=_0x1b3b0c[_0x43ac8b(0x175)](_0xf06d0[_0x43ac8b(0x184)]);_0xb6e8dc['name']+=',\x20'+_0xf06d0[_0x43ac8b(0x17e)];}else _0x1b3b0c[_0x43ac8b(0x8d)](_0xf06d0[_0x43ac8b(0x184)],_0xf06d0);}),Array['from'](_0x1b3b0c[_0x123b24(0x1d2)]());}var I=function(){return I=Object['assign']||function(_0x5de0fc){const _0x426785=_0x20af;for(var _0x40b187,_0x72df07=0x1,_0x3f0d6a=arguments[_0x426785(0x10c)];_0x72df07<_0x3f0d6a;_0x72df07++){_0x40b187=arguments[_0x72df07];for(var _0x43b6ea in _0x40b187)Object['prototype']['hasOwnProperty'][_0x426785(0x25f)](_0x40b187,_0x43b6ea)&&(_0x5de0fc[_0x43b6ea]=_0x40b187[_0x43b6ea]);}return _0x5de0fc;},I['apply'](this,arguments);},Bi=function(_0x1cc1ad,_0x24d1f2){const _0x1d885d=_0x989fca;var _0x3df206={};for(var _0x3da752 in _0x1cc1ad)Object[_0x1d885d(0xdb)]['hasOwnProperty']['call'](_0x1cc1ad,_0x3da752)&&_0x24d1f2[_0x1d885d(0xf8)](_0x3da752)<0x0&&(_0x3df206[_0x3da752]=_0x1cc1ad[_0x3da752]);if(_0x1cc1ad!=null&&typeof Object['getOwnPropertySymbols']==_0x1d885d(0x271)){for(var _0x1a1a0c=0x0,_0x3da752=Object[_0x1d885d(0xb0)](_0x1cc1ad);_0x1a1a0c<_0x3da752[_0x1d885d(0x10c)];_0x1a1a0c++)_0x24d1f2[_0x1d885d(0xf8)](_0x3da752[_0x1a1a0c])<0x0&&Object[_0x1d885d(0xdb)][_0x1d885d(0x189)][_0x1d885d(0x25f)](_0x1cc1ad,_0x3da752[_0x1a1a0c])&&(_0x3df206[_0x3da752[_0x1a1a0c]]=_0x1cc1ad[_0x3da752[_0x1a1a0c]]);}return _0x3df206;},je=_0x16e3b0(function(_0x1cdf3e,_0x1868b5){const _0x154334=_0x989fca;var _0xc47176=_0x1cdf3e[_0x154334(0xb9)],_0x53a580=_0x1cdf3e['id'],_0x452b2c=_0x1cdf3e[_0x154334(0x1a4)],_0x37fd0a=_0x1cdf3e['extend'],_0x3864e9=Bi(_0x1cdf3e,[_0x154334(0xb9),'id',_0x154334(0x1a4),_0x154334(0x1e8)]),_0xdd430f=_0x154334(0x14d)[_0x154334(0x14a)](_0x53a580,'\x20')[_0x154334(0x14a)](_0x452b2c||'')[_0x154334(0x128)](),_0x51d55f=_0x3088c6('_'[_0x154334(0x14a)](ji()));return Rt(_0xc47176,''[_0x154334(0x14a)](_0x53a580),{'defIds':_0xc47176[_0x154334(0x1f3)],'idSuffix':_0x51d55f['current']},I({'ref':_0x1868b5,'className':_0xdd430f},_0x3864e9),_0x37fd0a);});function Rt(_0x4fd65f,_0x5813e3,_0x4d7d36,_0x56eaeb,_0x5852ad){const _0x2fcbf0=_0x989fca;return _0x2c40f(_0x4fd65f[_0x2fcbf0(0xbb)],I(I({'key':_0x5813e3},ki(_0x4fd65f,_0x4d7d36,_0x5852ad)),_0x56eaeb),(Hi(_0x4fd65f,_0x4d7d36)[_0x2fcbf0(0x12a)]||[])[_0x2fcbf0(0x190)](function(_0x41b167,_0x4ee5d5){const _0x1b87e7=_0x2fcbf0;return Rt(_0x41b167,''[_0x1b87e7(0x14a)](_0x5813e3,'-')[_0x1b87e7(0x14a)](_0x4fd65f[_0x1b87e7(0xbb)],'-')[_0x1b87e7(0x14a)](_0x4ee5d5),_0x4d7d36,void 0x0,_0x5852ad);}));}function ki(_0x5544e2,_0x34ffd7,_0x304014){const _0x3d1fff=_0x989fca;var _0x5f4ee7=I({},_0x5544e2['attrs']);_0x304014!=null&&_0x304014[_0x3d1fff(0x171)]&&_0x5f4ee7[_0x3d1fff(0x1de)]===_0x3d1fff(0x171)&&(_0x5f4ee7[_0x3d1fff(0x1de)]=_0x304014['colorChannel1']),_0x5544e2[_0x3d1fff(0xbb)]==='mask'&&_0x5f4ee7['id']&&(_0x5f4ee7['id']=_0x5f4ee7['id']+_0x34ffd7[_0x3d1fff(0x1ee)]),Object[_0x3d1fff(0x96)](_0x5f4ee7)[_0x3d1fff(0x20f)](function(_0x3bf501){const _0x36eb94=_0x3d1fff;var _0x5307d5=_0x3bf501[0x0],_0x2fa73c=_0x3bf501[0x1];_0x5307d5===_0x36eb94(0x8f)&&typeof _0x2fa73c==_0x36eb94(0x111)&&(_0x5f4ee7[_0x5307d5]=_0x2fa73c['replace'](/url\(#(.*)\)/,'url(#$1'[_0x36eb94(0x14a)](_0x34ffd7[_0x36eb94(0x1ee)],')')));});var _0x1591a7=_0x34ffd7[_0x3d1fff(0x1f3)];return!_0x1591a7||_0x1591a7[_0x3d1fff(0x10c)]===0x0||(_0x5544e2[_0x3d1fff(0xbb)]===_0x3d1fff(0x265)&&_0x5f4ee7[_0x3d1fff(0xfc)]&&(_0x5f4ee7[_0x3d1fff(0xfc)]=_0x5f4ee7['xlink:href']+_0x34ffd7['idSuffix']),Object[_0x3d1fff(0x96)](_0x5f4ee7)[_0x3d1fff(0x20f)](function(_0x81be76){const _0x49d1ed=_0x3d1fff;var _0xa69b37=_0x81be76[0x0],_0xe465fc=_0x81be76[0x1];typeof _0xe465fc==_0x49d1ed(0x111)&&(_0x5f4ee7[_0xa69b37]=_0xe465fc[_0x49d1ed(0x14c)](/url\(#(.*)\)/,_0x49d1ed(0x23e)[_0x49d1ed(0x14a)](_0x34ffd7[_0x49d1ed(0x1ee)],')')));})),_0x5f4ee7;}function Hi(_0x5c9736,_0xe50f01){const _0x4022bc=_0x989fca;var _0x273cdd,_0x1b388e=_0xe50f01[_0x4022bc(0x1f3)];return!_0x1b388e||_0x1b388e[_0x4022bc(0x10c)]===0x0?_0x5c9736:_0x5c9736[_0x4022bc(0xbb)]===_0x4022bc(0x1fa)&&(!((_0x273cdd=_0x5c9736[_0x4022bc(0x12a)])===null||_0x273cdd===void 0x0)&&_0x273cdd['length'])?I(I({},_0x5c9736),{'children':_0x5c9736[_0x4022bc(0x12a)][_0x4022bc(0x190)](function(_0x28681a){const _0x479997=_0x4022bc;return typeof _0x28681a[_0x479997(0x10e)]['id']==_0x479997(0x111)&&_0x1b388e&&_0x1b388e[_0x479997(0xf8)](_0x28681a[_0x479997(0x10e)]['id'])>-0x1?I(I({},_0x28681a),{'attrs':I(I({},_0x28681a[_0x479997(0x10e)]),{'id':_0x28681a[_0x479997(0x10e)]['id']+_0xe50f01[_0x479997(0x1ee)]})}):_0x28681a;})}):_0x5c9736;}function ji(){const _0x22f6ee=_0x989fca;return Math[_0x22f6ee(0x1bc)]()[_0x22f6ee(0x164)](0x24)['substring'](0x2,0x8);}je['displayName']='UniverIcon';var Wi={'tag':_0x989fca(0xce),'attrs':{'fill':'none','viewBox':_0x989fca(0x1c4),'width':_0x989fca(0xe4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x989fca(0x10b)},'children':[{'tag':'path','attrs':{'stroke':_0x989fca(0xd9),'d':_0x989fca(0x22e),'strokeLinecap':_0x989fca(0x269),'strokeLinejoin':_0x989fca(0x269),'strokeWidth':1.2}}]},{'tag':_0x989fca(0x1fa),'attrs':{},'children':[{'tag':_0x989fca(0x106),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x989fca(0x105),'attrs':{'fill':_0x989fca(0x213),'d':_0x989fca(0x275)}}]}]}],'defIds':['off-line-single_clip0_910_343']},Dt=_0x16e3b0(function(_0x446b55,_0x4ba0d3){const _0xe92f42=_0x989fca;return _0x2c40f(je,Object[_0xe92f42(0x1bb)]({},_0x446b55,{'id':_0xe92f42(0xf9),'ref':_0x4ba0d3,'icon':Wi}));});Dt[_0x989fca(0x7d)]='OffLineSingle';var Fi={'tag':_0x989fca(0xce),'attrs':{'fill':_0x989fca(0x1c9),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x989fca(0xe4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x989fca(0x105),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x989fca(0x269),'strokeLinejoin':_0x989fca(0x269),'strokeWidth':1.2}}]},{'tag':_0x989fca(0x1fa),'attrs':{},'children':[{'tag':_0x989fca(0x106),'attrs':{'id':_0x989fca(0x1a6)},'children':[{'tag':'path','attrs':{'fill':_0x989fca(0x213),'d':'M0\x200H16V16H0z','transform':_0x989fca(0x23a)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Nt=_0x16e3b0(function(_0x43b7cb,_0x47ca87){const _0x1dece2=_0x989fca;return _0x2c40f(je,Object[_0x1dece2(0x1bb)]({},_0x43b7cb,{'id':_0x1dece2(0x1fd),'ref':_0x47ca87,'icon':Fi}));});Nt[_0x989fca(0x7d)]='OnLineSingle';function Yi(_0x259ead){const _0x21ecd=_0x989fca;switch(_0x259ead){case _0x54df20['OFFLINE']:return _0x21ecd(0x81);case _0x54df20['CONFLICT']:return _0x21ecd(0xa6);case _0x54df20[_0x21ecd(0x83)]:return _0x21ecd(0x228);case _0x54df20[_0x21ecd(0x157)]:return _0x21ecd(0x22c);case _0x54df20[_0x21ecd(0x17b)]:case _0x54df20[_0x21ecd(0xb6)]:return'collabStatus.syncing';case _0x54df20[_0x21ecd(0x127)]:case _0x54df20['PENDING']:return _0x21ecd(0x19d);}}function Vi(_0x4c9561){const _0x2b620b=_0x989fca,{status$:_0x5cedd0}=_0x4c9561,_0x49e15f=_0x511b92(_0x5cedd0,_0x54df20[_0x2b620b(0x157)]),_0x19835a=_0x361a52(_0x15277a),_0x43b294=_0x361a52(_0x5ece21),_0x3eddf8=_0x49e15f!==_0x54df20[_0x2b620b(0x247)],_0x8d15db=_0x19835a['t'](Yi(_0x49e15f)),_0x2c3365=_0x3eddf8?_0x5d6da8(Nt,{}):_0x5d6da8(Dt,{}),_0x26e23d=_0x32e065(()=>{const _0x5582c9=_0x2b620b;_0x3eddf8||_0x43b294[_0x5582c9(0x166)]();},[_0x3eddf8,_0x43b294]);function _0x297702(){const _0x20dc3f=_0x2b620b;return _0x490309(_0x20dc3f(0x268),{'className':_0x20dc3f(0xcf),'onClick':_0x26e23d,'children':[_0x5d6da8(_0x20dc3f(0x268),{'className':_0x24ecfd('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x3eddf8?_0x20dc3f(0x88):'univer-text-red-500'),'children':_0x2c3365}),_0x5d6da8(_0x20dc3f(0x268),{'className':_0x20dc3f(0x110),'children':_0x8d15db})]});}return _0x3eddf8?_0x297702():_0x5d6da8(_0x6e752d,{'title':_0x19835a['t'](_0x2b620b(0x8b)),'children':_0x297702()});}var Xi=Object[_0x989fca(0x185)],Gi=(_0x30b869,_0x2c1076,_0x186424,_0x3bd7c5)=>{for(var _0x338d1b=_0x3bd7c5>0x1?void 0x0:_0x3bd7c5?Xi(_0x2c1076,_0x186424):_0x2c1076,_0x28676e=_0x30b869['length']-0x1,_0x1e852a;_0x28676e>=0x0;_0x28676e--)(_0x1e852a=_0x30b869[_0x28676e])&&(_0x338d1b=_0x1e852a(_0x338d1b)||_0x338d1b);return _0x338d1b;},Q=(_0x33165c,_0x5173d8)=>(_0x1d1023,_0x5d5ac9)=>_0x5173d8(_0x1d1023,_0x5d5ac9,_0x33165c);let te=class extends _0x13eb4b{constructor(_0x4eb6be,_0x535d90,_0x3873b3,_0x2d5a76){const _0x550e72=_0x989fca;super(),_(this,'_status$',new _0x139555(_0x54df20[_0x550e72(0x157)])),(this[_0x550e72(0x26e)]=_0x4eb6be,this[_0x550e72(0x1e7)]=_0x535d90,this[_0x550e72(0x1b1)]=_0x3873b3,this[_0x550e72(0x20e)]=_0x2d5a76,this[_0x550e72(0x235)](),this[_0x550e72(0xf6)]());}['_initStatusListener'](){const _0x584679=_0x989fca;this[_0x584679(0x80)](this[_0x584679(0x26e)]['focused$'][_0x584679(0x27c)](_0x4fd599(()=>{const _0x24c089=_0x584679,_0x2f386a=this['_univerInstanceService'][_0x24c089(0x109)]();return _0x2f386a?this[_0x24c089(0x1b1)]['getCollabEntity$'](_0x2f386a['getUnitId']()):_0x5b1fce(null);}),_0x4fd599(_0x5de690=>_0x5de690?_0x5de690[_0x584679(0x1f5)]:_0x5b1fce(_0x54df20[_0x584679(0x157)])))[_0x584679(0xa9)](_0x9d916f=>{const _0x504d76=_0x584679;this[_0x504d76(0x1af)]['next'](_0x9d916f);}));}[_0x989fca(0x235)](){const _0x3538fa=_0x989fca;this[_0x3538fa(0x80)](this[_0x3538fa(0x20e)][_0x3538fa(0xe0)](_0x5541e9[_0x3538fa(0x1a7)],()=>_0x492f4c(Ki({'status$':this['_status$'][_0x3538fa(0x1ae)]()}),this[_0x3538fa(0x1e7)])));}};te=Gi([Q(0x0,_0x2844bb),Q(0x1,_0x57fbba(_0x4ad95e)),Q(0x2,_0x57fbba(_0x9f0db8)),Q(0x3,_0x2966af)],te);function Ki(_0x458222){const {status$:_0x94b07c}=_0x458222;return function(){return _0x5d6da8(Vi,{'status$':_0x94b07c});};}var zi=Object[_0x989fca(0x185)],Ji=(_0x2f1263,_0x379ef7,_0x3073a9,_0x4d01fd)=>{const _0x5ad1b2=_0x989fca;for(var _0x72ac28=_0x4d01fd>0x1?void 0x0:_0x4d01fd?zi(_0x379ef7,_0x3073a9):_0x379ef7,_0x1f4ecd=_0x2f1263[_0x5ad1b2(0x10c)]-0x1,_0x59388a;_0x1f4ecd>=0x0;_0x1f4ecd--)(_0x59388a=_0x2f1263[_0x1f4ecd])&&(_0x72ac28=_0x59388a(_0x72ac28)||_0x72ac28);return _0x72ac28;},B=(_0x53e11d,_0x5572c4)=>(_0x3d400a,_0x10b724)=>_0x5572c4(_0x3d400a,_0x10b724,_0x53e11d);let se=class extends _0x13eb4b{constructor(_0x5dceba,_0x570162,_0x2f61e1,_0x338b6e,_0xa9a15,_0x4d7794){const _0xc7c2b7=_0x989fca;super(),this[_0xc7c2b7(0xa5)]=_0x5dceba,this['_localCacheService']=_0x570162,this[_0xc7c2b7(0x172)]=_0x2f61e1,this[_0xc7c2b7(0x1a8)]=_0x338b6e,this[_0xc7c2b7(0x141)]=_0xa9a15,this[_0xc7c2b7(0x179)]=_0x4d7794,this[_0xc7c2b7(0x1a2)](),this[_0xc7c2b7(0x126)]();}[_0x989fca(0x1a2)](){const _0x5500f3=_0x989fca;this[_0x5500f3(0x80)](this[_0x5500f3(0xa5)][_0x5500f3(0xfe)](()=>{const _0x4ebf5a=_0x5500f3;if(this[_0x4ebf5a(0x216)][_0x4ebf5a(0x18a)][_0x4ebf5a(0x9d)])return this[_0x4ebf5a(0x179)]['t'](_0x4ebf5a(0x1d4));}));}[_0x989fca(0x126)](){const _0x1e2d77=_0x989fca;this[_0x1e2d77(0x80)](this['_collaborationUIEventService'][_0x1e2d77(0x12f)][_0x1e2d77(0xa9)](_0x30b8c4=>{const _0x8d1d6b=_0x1e2d77;_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x19b)]&&this[_0x8d1d6b(0x1a8)][_0x8d1d6b(0x7e)]({'type':_0x339cf3[_0x8d1d6b(0x167)],'content':this[_0x8d1d6b(0x179)]['t'](_0x8d1d6b(0x1fe))}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x1c6)]&&this[_0x8d1d6b(0x1a8)][_0x8d1d6b(0x7e)]({'type':_0x339cf3[_0x8d1d6b(0x167)],'content':this[_0x8d1d6b(0x179)]['t'](_0x8d1d6b(0x13c))}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x17d)]&&this[_0x8d1d6b(0x141)]['show']({'title':this[_0x8d1d6b(0x179)]['t'](_0x8d1d6b(0xae)),'content':this[_0x8d1d6b(0x179)]['t'](_0x8d1d6b(0xe7)),'type':_0x8d1d6b(0x1dd),'duration':0x0}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0xa3)]&&this[_0x8d1d6b(0x1a8)][_0x8d1d6b(0x7e)]({'type':_0x339cf3[_0x8d1d6b(0x209)],'content':this[_0x8d1d6b(0x179)]['t']('collaboration.closeRoom')+'('+_0x30b8c4[_0x8d1d6b(0x200)]+')'}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x148)]&&this[_0x8d1d6b(0x1a8)]['show']({'type':_0x339cf3['Warning'],'content':this[_0x8d1d6b(0x179)]['t'](_0x30b8c4[_0x8d1d6b(0x200)]||'')}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x1c7)]&&this['_messageService'][_0x8d1d6b(0x7e)]({'type':_0x339cf3[_0x8d1d6b(0x167)],'content':this[_0x8d1d6b(0x179)]['t'](_0x8d1d6b(0x212))}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x1ca)]&&this[_0x8d1d6b(0x1a8)][_0x8d1d6b(0x7e)]({'type':_0x339cf3['Error'],'content':this[_0x8d1d6b(0x179)]['t']('session.connection-failed')}),_0x30b8c4['id']===_0x388f51[_0x8d1d6b(0x237)]&&this[_0x8d1d6b(0x1a8)][_0x8d1d6b(0x7e)]({'type':_0x339cf3[_0x8d1d6b(0x209)],'content':this[_0x8d1d6b(0x179)]['t'](_0x8d1d6b(0xd8))});}));}};se=Ji([B(0x0,_0x472038),B(0x1,_0x543569),B(0x2,_0x57fbba(_0x1dc644)),B(0x3,_0x108e76),B(0x4,_0xdf20a6),B(0x5,_0x57fbba(_0x15277a))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x354636(_0x989fca(0x116));var Qi=Object[_0x989fca(0x185)],qi=(_0x4a80ad,_0x48bbae,_0x4fd7d0,_0x564a2d)=>{const _0x4449b2=_0x989fca;for(var _0x3bd240=_0x564a2d>0x1?void 0x0:_0x564a2d?Qi(_0x48bbae,_0x4fd7d0):_0x48bbae,_0x3e3d0e=_0x4a80ad[_0x4449b2(0x10c)]-0x1,_0x4ac241;_0x3e3d0e>=0x0;_0x3e3d0e--)(_0x4ac241=_0x4a80ad[_0x3e3d0e])&&(_0x3bd240=_0x4ac241(_0x3bd240)||_0x3bd240);return _0x3bd240;},G=(_0x1d2378,_0x43d765)=>(_0x2458d9,_0x3af754)=>_0x43d765(_0x2458d9,_0x3af754,_0x1d2378);let ie=class extends _0x5c3cd6{constructor(_0x4f52b5,_0x2cfd45,_0x10753b,_0x446822,_0x64247d){const _0x59459a=_0x989fca;super(),this[_0x59459a(0x186)]=_0x4f52b5,this[_0x59459a(0x16d)]=_0x2cfd45,this[_0x59459a(0x16a)]=_0x10753b,this[_0x59459a(0x9f)]=_0x446822,_0x64247d?_0x64247d==null||_0x64247d[_0x59459a(0x238)]()[_0x59459a(0x13a)](()=>this[_0x59459a(0x232)]()):(this[_0x59459a(0x16d)][_0x59459a(0xc8)](_0x59459a(0xeb),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x989fca(0x232)](){const _0x1ea636=_0x989fca,_0x55d783=this['_urlService'][_0x1ea636(0xad)](_0x1ea636(0xd2)),_0x15f3de=this['_urlService'][_0x1ea636(0xad)](_0x1ea636(0x177)),_0x1b2f2e=this[_0x1ea636(0x186)][_0x1ea636(0xad)](_0x1ea636(0xc1));if(!_0x55d783||!_0x15f3de){this['_logService'][_0x1ea636(0xc8)]('[CollaborationDataLoaderController]',_0x1ea636(0x210));return;}const _0x374191=await this['_dataLoaderService']['loadUnit'](_0x55d783,Number(_0x15f3de),_0x1b2f2e);_0x374191&&_0x374191 instanceof _0x55727c&&this[_0x1ea636(0x1d8)](_0x374191);}async[_0x989fca(0x1d8)](_0x4800dd){const _0x537bb6=_0x989fca;await this[_0x537bb6(0x158)](_0x4800dd),_0x4800dd[_0x537bb6(0x24d)][_0x537bb6(0x27c)](_0xdd7600(this[_0x537bb6(0x224)]))[_0x537bb6(0xa9)](_0x532011=>{_0x532011&&this['_updateURLWithCurrentState'](_0x532011);}),this[_0x537bb6(0x186)][_0x537bb6(0x231)][_0x537bb6(0x27c)](_0xdd7600(this['dispose$']))[_0x537bb6(0xa9)](()=>this[_0x537bb6(0x158)](_0x4800dd));}[_0x989fca(0x24b)](_0x308893,_0x308ad0=!0x1){const _0x24c644=_0x989fca,_0x147eda=this[_0x24c644(0x186)][_0x24c644(0xad)](_0x24c644(0xc1));_0x308893[_0x24c644(0xb1)]()!==_0x147eda&&this['_urlService'][_0x24c644(0xe1)]('subunit',_0x308893[_0x24c644(0xb1)](),_0x308ad0);}async['_updateSubUnitFromURLParams'](_0x3d5914){const _0x3b37a9=_0x989fca;var _0x46c7a5;const _0x3dd94c=this[_0x3b37a9(0x186)][_0x3b37a9(0xad)](_0x3b37a9(0xc1));if(!_0x3dd94c||!_0x3d5914[_0x3b37a9(0x138)](_0x3dd94c)){const _0x9321ab=_0x3d5914[_0x3b37a9(0x260)]()[0x0],_0xd50046=_0x3d5914[_0x3b37a9(0x138)](_0x9321ab);if(!_0xd50046)return;this[_0x3b37a9(0x24b)](_0xd50046,!0x0),await this['_commandService'][_0x3b37a9(0xb8)](_0x6074db['id'],{'unitId':_0x3d5914['getUnitId'](),'subUnitId':_0x9321ab});return;}((_0x46c7a5=_0x3d5914[_0x3b37a9(0x22f)]())==null?void 0x0:_0x46c7a5[_0x3b37a9(0xb1)]())!==_0x3dd94c&&await this[_0x3b37a9(0x16a)]['executeCommand'](_0x6074db['id'],{'unitId':_0x3d5914[_0x3b37a9(0x11c)](),'subUnitId':_0x3dd94c});}};ie=qi([G(0x0,Ut),G(0x1,_0x4bd942),G(0x2,_0x3771c6),G(0x3,_0x57fbba(_0x49e58e)),G(0x4,_0x355fc5(_0x26c1c6))],ie);var en=Object[_0x989fca(0x185)],tn=(_0xfd310,_0x5a88e6,_0x41977e,_0x4fc999)=>{for(var _0x12bdd9=_0x4fc999>0x1?void 0x0:_0x4fc999?en(_0x5a88e6,_0x41977e):_0x5a88e6,_0x332700=_0xfd310['length']-0x1,_0x60d165;_0x332700>=0x0;_0x332700--)(_0x60d165=_0xfd310[_0x332700])&&(_0x12bdd9=_0x60d165(_0x12bdd9)||_0x12bdd9);return _0x12bdd9;},pe=(_0x17d46a,_0x111d29)=>(_0x43b4d6,_0x224955)=>_0x111d29(_0x43b4d6,_0x224955,_0x17d46a);let ne=class{constructor(_0x4227fa,_0x201325,_0x4b60dd){const _0x236b9a=_0x989fca;this['_injector']=_0x4227fa,this[_0x236b9a(0x160)]=_0x201325,this[_0x236b9a(0x18f)]=_0x4b60dd;}[_0x989fca(0x143)](_0x4fd2dd){const _0x5b92a5=_0x989fca;this[_0x5b92a5(0x194)](_0x4fd2dd),this[_0x5b92a5(0x214)](_0x4fd2dd);}[_0x989fca(0x89)](_0x5f08c0){const _0x359e33=_0x989fca,{unitID:_0x53c4c1}=_0x5f08c0,_0x47e81d=this[_0x359e33(0x18f)]['getRenderById'](_0x53c4c1)['with'](_0x140742),{redoCache:_0x7c4667}=_0x47e81d[_0x359e33(0xaa)]();if(_0x7c4667['length']===0x0)return _0x5f08c0;let _0x523b07=_0x13a68d[_0x359e33(0x19a)](_0x5f08c0[_0x359e33(0x163)][0x0]);for(let _0x19f5dc=0x0;_0x19f5dc<_0x7c4667[_0x359e33(0x10c)];_0x19f5dc++){const _0x5271d1={'id':_0x359e33(0x130),'params':{..._0x7c4667[_0x19f5dc]}},_0x359ce6=this[_0x359e33(0x160)][_0x359e33(0x165)](_0x523b07,_0x5271d1,!0x1);if(_0x2eef86(_0x359ce6))throw _0x359ce6[_0x359e33(0x1dd)];_0x523b07=_0x359ce6[_0x359e33(0xa4)];}return{..._0x13a68d[_0x359e33(0x19a)](_0x5f08c0),'mutations':[_0x523b07]};}[_0x989fca(0x194)](_0x47e237){const _0x3cc6c7=_0x989fca,{unitID:_0xd84361}=_0x47e237,_0x4187a8=this[_0x3cc6c7(0x18f)][_0x3cc6c7(0x225)](_0xd84361)[_0x3cc6c7(0x12e)](_0x140742),{undoCache:_0x1a0ad4,redoCache:_0x15b0e4}=_0x4187a8[_0x3cc6c7(0xaa)]();if(_0x1a0ad4['length']===0x0||_0x15b0e4['length']===0x0)return;const _0x609ece=[],_0x1aa27c=[];let _0x34e68a=_0x13a68d['deepClone'](_0x47e237['mutations'][0x0]),_0x2cd7c4=_0x13a68d['deepClone'](_0x47e237['mutations'][0x0]);for(let _0x10a831=_0x1a0ad4['length']-0x1;_0x10a831>=0x0;_0x10a831--){const _0x2654b8={'id':'doc.mutation.rich-text-editing','params':{..._0x1a0ad4[_0x10a831]}},_0x6a50d0={'id':'doc.mutation.rich-text-editing','params':{..._0x15b0e4[_0x10a831]}},_0x8145b4=this[_0x3cc6c7(0x160)]['transformMutation'](_0x34e68a,_0x2654b8,!0x1),_0x150b14=this['_transformService'][_0x3cc6c7(0x165)](_0x2cd7c4,_0x6a50d0,!0x1);if(_0x2eef86(_0x8145b4))throw _0x8145b4[_0x3cc6c7(0x1dd)];if(_0x2eef86(_0x150b14))throw _0x150b14[_0x3cc6c7(0x1dd)];_0x609ece[_0x3cc6c7(0x136)](_0x8145b4[_0x3cc6c7(0x24c)][_0x3cc6c7(0x1a0)]),_0x1aa27c['unshift'](_0x150b14[_0x3cc6c7(0x24c)][_0x3cc6c7(0x1a0)]),_0x34e68a=_0x8145b4[_0x3cc6c7(0xa4)],_0x2cd7c4=_0x150b14[_0x3cc6c7(0xa4)];}_0x4187a8[_0x3cc6c7(0x115)]({'undoCache':_0x609ece,'redoCache':_0x1aa27c});}['_transformPreviousActiveRange'](_0x40fbbe){const _0x29ebb9=_0x989fca,{unitID:_0x40c675}=_0x40fbbe,_0x28d5ec=this[_0x29ebb9(0x18f)][_0x29ebb9(0x225)](_0x40c675)[_0x29ebb9(0x12e)](_0x140742),_0x34eb2b=_0x28d5ec[_0x29ebb9(0x15c)]();if(_0x34eb2b==null)return;const _0x4512d3=[{'id':_0x29ebb9(0x130),'params':{'unitId':_0x40fbbe[_0x29ebb9(0x1df)],'actions':null,'textRanges':[_0x34eb2b]}}],_0x5a533a=this[_0x29ebb9(0x160)]['transformMutationsWithChangeset'](_0x40fbbe,_0x4512d3);if(!_0x2d9162(_0x5a533a))throw _0x5a533a[_0x29ebb9(0x1dd)];const _0x93871=_0x5a533a[_0x29ebb9(0x24c)][0x0][_0x29ebb9(0x1a0)][_0x29ebb9(0x251)];Array[_0x29ebb9(0x1bf)](_0x93871)&&_0x93871[_0x29ebb9(0x10c)]&&_0x28d5ec[_0x29ebb9(0x1fb)](_0x93871[0x0]);}};ne=tn([pe(0x0,_0x57fbba(_0x4ad95e)),pe(0x1,_0x3633e6),pe(0x2,_0x8b70ca)],ne);var sn=Object[_0x989fca(0x185)],nn=(_0x345793,_0x14c00b,_0x2512c8,_0x42bec4)=>{const _0x4204d4=_0x989fca;for(var _0x158e4c=_0x42bec4>0x1?void 0x0:_0x42bec4?sn(_0x14c00b,_0x2512c8):_0x14c00b,_0x44b54a=_0x345793[_0x4204d4(0x10c)]-0x1,_0x50a00a;_0x44b54a>=0x0;_0x44b54a--)(_0x50a00a=_0x345793[_0x44b54a])&&(_0x158e4c=_0x50a00a(_0x158e4c)||_0x158e4c);return _0x158e4c;},Ce=(_0xe0b78a,_0x2ee958)=>(_0x41d61c,_0x53b0e4)=>_0x2ee958(_0x41d61c,_0x53b0e4,_0xe0b78a);let re=class{constructor(_0x44ef64,_0x9c0dca,_0x48c920){const _0x55725a=_0x989fca;this[_0x55725a(0x1e7)]=_0x44ef64,this['_transformService']=_0x9c0dca,this[_0x55725a(0x1be)]=_0x48c920;}[_0x989fca(0xe9)](_0x1ee643){const _0x2f10fb=_0x989fca;this[_0x2f10fb(0x118)](_0x1ee643);}['transformRemoteChangeset'](_0x404c10){const _0x12dd0d=_0x989fca,{unitID:_0x43b6cf}=_0x404c10,{collaboration:_0x163848}=this[_0x12dd0d(0x1be)][_0x12dd0d(0x19c)](_0x43b6cf);if(_0x163848[_0x12dd0d(0x10c)]===0x0)return _0x404c10;let _0x404695=_0x13a68d[_0x12dd0d(0x19a)](_0x404c10['mutations'][0x0]);for(let _0x410f9d=0x0;_0x410f9d<_0x163848['length'];_0x410f9d++){const _0x4c4e79={'id':_0x12dd0d(0x130),'params':{'unitId':_0x163848[_0x410f9d]['unitId'],..._0x163848[_0x410f9d][_0x12dd0d(0xda)]}},_0xb890b=this[_0x12dd0d(0x160)]['transformMutation'](_0x404695,_0x4c4e79,!0x1);if(_0x2eef86(_0xb890b))throw _0xb890b[_0x12dd0d(0x1dd)];_0x404695=_0xb890b[_0x12dd0d(0xa4)];}return{..._0x13a68d[_0x12dd0d(0x19a)](_0x404c10),'mutations':[_0x404695]};}[_0x989fca(0x118)](_0x18d9c2){const _0xb62ecf=_0x989fca,{unitID:_0x3fb1c1}=_0x18d9c2,{history:_0x1abb48,collaboration:_0xb97218}=this['_docStateChangeManagerService'][_0xb62ecf(0x19c)](_0x3fb1c1);if(_0x1abb48['length']===0x0&&_0xb97218[_0xb62ecf(0x10c)]===0x0)return;const _0x5ddadf=[],_0x365e0e=[];let _0x5d0274=_0x13a68d[_0xb62ecf(0x19a)](_0x18d9c2[_0xb62ecf(0x163)][0x0]),_0x129aff=_0x13a68d['deepClone'](_0x18d9c2[_0xb62ecf(0x163)][0x0]);for(let _0x5f7bf0=_0x1abb48[_0xb62ecf(0x10c)]-0x1;_0x5f7bf0>=0x0;_0x5f7bf0--){const _0x42f490={'id':_0xb62ecf(0x130),'params':{'unitId':_0x1abb48[_0x5f7bf0][_0xb62ecf(0x27d)],..._0x1abb48[_0x5f7bf0][_0xb62ecf(0xbd)]}},_0x101c5c={'id':_0xb62ecf(0x130),'params':{'unitId':_0x1abb48[_0x5f7bf0][_0xb62ecf(0x27d)],..._0x1abb48[_0x5f7bf0][_0xb62ecf(0xda)]}},_0x3b3a36=this['_transformService']['transformMutation'](_0x5d0274,_0x42f490,!0x1),_0x482cbe=this[_0xb62ecf(0x160)][_0xb62ecf(0x165)](_0x129aff,_0x101c5c,!0x1);if(_0x2eef86(_0x3b3a36))throw _0x3b3a36[_0xb62ecf(0x1dd)];if(_0x2eef86(_0x482cbe))throw _0x482cbe[_0xb62ecf(0x1dd)];_0x5ddadf[_0xb62ecf(0x136)]({..._0x1abb48[_0x5f7bf0],'undoState':_0x3b3a36['m2Prime'][_0xb62ecf(0x1a0)],'redoState':_0x482cbe[_0xb62ecf(0x24c)][_0xb62ecf(0x1a0)]}),_0x5d0274=_0x3b3a36['m1Prime'],_0x129aff=_0x482cbe[_0xb62ecf(0xa4)];}_0x5d0274=_0x13a68d[_0xb62ecf(0x19a)](_0x18d9c2[_0xb62ecf(0x163)][0x0]),_0x129aff=_0x13a68d['deepClone'](_0x18d9c2[_0xb62ecf(0x163)][0x0]);for(let _0x5ec96e=_0xb97218['length']-0x1;_0x5ec96e>=0x0;_0x5ec96e--){const _0x5f8674={'id':_0xb62ecf(0x130),'params':{'unitId':_0xb97218[_0x5ec96e][_0xb62ecf(0x27d)],..._0xb97218[_0x5ec96e][_0xb62ecf(0xbd)]}},_0x396bee={'id':_0xb62ecf(0x130),'params':{'unitId':_0xb97218[_0x5ec96e][_0xb62ecf(0x27d)],..._0xb97218[_0x5ec96e][_0xb62ecf(0xda)]}},_0x1e28e4=this[_0xb62ecf(0x160)][_0xb62ecf(0x165)](_0x5d0274,_0x5f8674,!0x1),_0x13822e=this[_0xb62ecf(0x160)][_0xb62ecf(0x165)](_0x129aff,_0x396bee,!0x1);if(_0x2eef86(_0x1e28e4))throw _0x1e28e4[_0xb62ecf(0x1dd)];if(_0x2eef86(_0x13822e))throw _0x13822e['error'];_0x365e0e[_0xb62ecf(0x136)]({..._0xb97218[_0x5ec96e],'undoState':_0x1e28e4[_0xb62ecf(0x24c)]['params'],'redoState':_0x13822e[_0xb62ecf(0x24c)][_0xb62ecf(0x1a0)]}),_0x5d0274=_0x1e28e4[_0xb62ecf(0xa4)],_0x129aff=_0x13822e[_0xb62ecf(0xa4)];}this[_0xb62ecf(0x1be)]['setStateCache'](_0x3fb1c1,{'history':_0x5ddadf,'collaboration':_0x365e0e});}};re=nn([Ce(0x0,_0x57fbba(_0x4ad95e)),Ce(0x1,_0x3633e6),Ce(0x2,_0x57fbba(_0x378cfb))],re);var rn=Object[_0x989fca(0x185)],on=(_0x111a02,_0x1d31f4,_0x5a7a87,_0x2e2b48)=>{const _0x52ea5a=_0x989fca;for(var _0x131871=_0x2e2b48>0x1?void 0x0:_0x2e2b48?rn(_0x1d31f4,_0x5a7a87):_0x1d31f4,_0x4e936f=_0x111a02[_0x52ea5a(0x10c)]-0x1,_0x2e76b5;_0x4e936f>=0x0;_0x4e936f--)(_0x2e76b5=_0x111a02[_0x4e936f])&&(_0x131871=_0x2e76b5(_0x131871)||_0x131871);return _0x131871;},tt=(_0x309779,_0x6068a5)=>(_0x4dd33e,_0x363fda)=>_0x6068a5(_0x4dd33e,_0x363fda,_0x309779);let oe=class{constructor(_0xd2d9d6,_0x45d126){const _0x20bfdf=_0x989fca;this[_0x20bfdf(0x1e7)]=_0xd2d9d6,this[_0x20bfdf(0x160)]=_0x45d126;}[_0x989fca(0x241)](_0x1493c4){const _0x3c3626=_0x989fca;var _0xcc2704;const _0x229a07=this[_0x3c3626(0x1e7)][_0x3c3626(0x175)](_0x17fdd8),_0xb532f2=(_0xcc2704=_0x229a07[_0x3c3626(0x233)]())!=null?_0xcc2704:[];if(_0xb532f2['length']===0x0)return;const _0x571653=_0x1493c4[_0x3c3626(0x1df)],_0x30331e=[{'id':_0x3c3626(0x130),'params':{'unitId':_0x571653,'actions':null,'textRanges':_0xb532f2}}],_0x4e8022=this[_0x3c3626(0x160)][_0x3c3626(0x1a9)](_0x1493c4,_0x30331e);if(!_0x2d9162(_0x4e8022))throw _0x4e8022[_0x3c3626(0x1dd)];const _0x56fb7d=_0x4e8022['m2Prime'][0x0][_0x3c3626(0x1a0)][_0x3c3626(0x251)];Array[_0x3c3626(0x1bf)](_0x56fb7d)&&_0x56fb7d[_0x3c3626(0x10c)]&&_0x229a07[_0x3c3626(0xfd)](_0x56fb7d,{'unitId':_0x571653,'subUnitId':_0x571653},!0x1);}};oe=on([tt(0x0,_0x57fbba(_0x4ad95e)),tt(0x1,_0x3633e6)],oe);var an=Object[_0x989fca(0x185)],cn=(_0x57cceb,_0x1afb1c,_0x5cedf3,_0x3aea48)=>{const _0x1b27f9=_0x989fca;for(var _0x12299c=_0x3aea48>0x1?void 0x0:_0x3aea48?an(_0x1afb1c,_0x5cedf3):_0x1afb1c,_0x8e3441=_0x57cceb[_0x1b27f9(0x10c)]-0x1,_0x85c3e4;_0x8e3441>=0x0;_0x8e3441--)(_0x85c3e4=_0x57cceb[_0x8e3441])&&(_0x12299c=_0x85c3e4(_0x12299c)||_0x12299c);return _0x12299c;},U=(_0x1eaa8c,_0x3bdb69)=>(_0x53e102,_0x5465f3)=>_0x3bdb69(_0x53e102,_0x5465f3,_0x1eaa8c);let ae=class extends _0x13eb4b{constructor(_0x3a6714,_0x3e248f,_0x17f51a,_0x2746d9,_0x231818,_0x3821c1,_0x4f7ed6,_0x27b60f){const _0x10df25=_0x989fca;super(),_(this,'_status$',new _0x139555(_0x54df20[_0x10df25(0x157)])),(this[_0x10df25(0x1be)]=_0x3a6714,this['_collaborationController']=_0x3e248f,this[_0x10df25(0x12b)]=_0x17f51a,this[_0x10df25(0x25e)]=_0x2746d9,this[_0x10df25(0x23f)]=_0x231818,this[_0x10df25(0x1f8)]=_0x3821c1,this['_messageService']=_0x4f7ed6,this[_0x10df25(0x179)]=_0x27b60f,this[_0x10df25(0x21b)]());}[_0x989fca(0x21b)](){const _0x5af5ab=_0x989fca;this['disposeWithMe'](this[_0x5af5ab(0x1b1)][_0x5af5ab(0x273)]['subscribe'](_0x30fd13=>{const _0x4b293e=_0x5af5ab,_0x2e45c6=this[_0x4b293e(0x1be)][_0x4b293e(0x1b2)][_0x4b293e(0xa9)](_0x4745f6=>{const _0x49ff25=_0x4b293e;if(_0x4745f6==null)return;const {unitId:_0x59ebc3,redoState:_0x3d1a42,commandId:_0x8fc968}=_0x4745f6;if(_0x59ebc3!==_0x30fd13[_0x49ff25(0x1df)])return;const _0xb90b6b={'id':_0x8fc968,'type':_0x2a2be4['MUTATION'],'params':{'unitId':_0x59ebc3,'actions':_0x3d1a42[_0x49ff25(0xf5)],'textRanges':null}};_0x30fd13[_0x49ff25(0x21e)](_0xb90b6b);});if(_0x30fd13[_0x4b293e(0x80)](_0x2e45c6),_0x30fd13 instanceof _0x1f620d){const _0x5df56a={'onTransformIME':_0x5ef07e=>this[_0x4b293e(0x12b)][_0x4b293e(0x143)](_0x5ef07e),'onTransformState':_0x311c94=>this[_0x4b293e(0x25e)][_0x4b293e(0xe9)](_0x311c94),'onTransformSelections':_0x5010c1=>this['_docTransformSelectionsService'][_0x4b293e(0x241)](_0x5010c1),'onSyncEditingCollabCursor':_0x42b3b4=>this[_0x4b293e(0x1f8)][_0x4b293e(0x1ce)](_0x42b3b4),'onTransformRemoteChangesetByIMECache':_0x3e725b=>this['_docTransformIMECacheService'][_0x4b293e(0x89)](_0x3e725b),'onTransformRemoteChangesetByStateCache':_0x2020c3=>this['_docTransformStateCacheService'][_0x4b293e(0x89)](_0x2020c3)};_0x30fd13[_0x4b293e(0x131)](_0x5df56a);}}));}};ae=cn([U(0x0,_0x57fbba(_0x378cfb)),U(0x1,_0x57fbba(_0x9f0db8)),U(0x2,_0x57fbba(ne)),U(0x3,_0x57fbba(re)),U(0x4,_0x57fbba(oe)),U(0x5,_0x57fbba(He)),U(0x6,_0x108e76),U(0x7,_0x57fbba(_0x15277a))],ae);var ln=Object['getOwnPropertyDescriptor'],_n=(_0x465e4e,_0x197b64,_0x1950af,_0x566a28)=>{const _0x2c2167=_0x989fca;for(var _0xa04e2e=_0x566a28>0x1?void 0x0:_0x566a28?ln(_0x197b64,_0x1950af):_0x197b64,_0x3425a4=_0x465e4e[_0x2c2167(0x10c)]-0x1,_0x304252;_0x3425a4>=0x0;_0x3425a4--)(_0x304252=_0x465e4e[_0x3425a4])&&(_0xa04e2e=_0x304252(_0xa04e2e)||_0xa04e2e);return _0xa04e2e;},Ee=(_0x4427a0,_0x4a9c71)=>(_0x30d3a2,_0xbb0cd3)=>_0x4a9c71(_0x30d3a2,_0xbb0cd3,_0x4427a0);let Le=class extends _0x13eb4b{constructor(_0x3e72a6,_0x43f073,_0x5246fc){const _0x2b7cde=_0x989fca;super(),_(this,_0x2b7cde(0x1c1),new Map()),_(this,_0x2b7cde(0x244),new Map()),_(this,_0x2b7cde(0x18b),!0x1),(this[_0x2b7cde(0xc7)]=_0x3e72a6,this[_0x2b7cde(0x15e)]=_0x43f073,this[_0x2b7cde(0x22d)]=_0x5246fc);}[_0x989fca(0x277)](){this['_disabled']=!0x0;}[_0x989fca(0xa1)](){const _0x277807=_0x989fca;this[_0x277807(0x18b)]=!0x1;}get[_0x989fca(0x18a)](){return this['_saveTaskMap'];}[_0x989fca(0x1fc)](){const _0x912d0d=_0x989fca;this[_0x912d0d(0xb2)]()[_0x912d0d(0x13a)](()=>super['dispose']());}async['loadOfflineData'](_0x3908cd){const _0x5a9c7d=_0x989fca;return this['_disabled']?null:this[_0x5a9c7d(0x15e)][_0x5a9c7d(0x197)](_0x34f41a(_0x3908cd));}async[_0x989fca(0xd6)](_0x1c8bce,_0x32eddb){const _0x300657=_0x989fca;return!!this[_0x300657(0x15e)][_0x300657(0x1f4)](_0x1c8bce,_0x32eddb);}[_0x989fca(0x114)](_0x5d5467,_0x59e780,_0x50c93b,_0x141ee1){const _0xe57aa8=_0x989fca,_0x1300a3=this['_revisionService'][_0xe57aa8(0x24a)](_0x5d5467);this[_0xe57aa8(0x1c1)][_0xe57aa8(0x8d)](_0x5d5467,{'unitID':_0x5d5467,'type':_0x59e780,'awaitingChangeset':_0x50c93b,'mutations':_0x141ee1,'rev':_0x1300a3}),this[_0xe57aa8(0x244)][_0xe57aa8(0x173)](_0x5d5467)||this[_0xe57aa8(0x1b9)](_0x5d5467);}['_scheduleSaving'](_0x3c0929){const _0x2a41b2=_0x989fca,_0x46ee31=this[_0x2a41b2(0x18c)]();_0x46ee31===0x0?this[_0x2a41b2(0xac)](_0x3c0929):this[_0x2a41b2(0x244)][_0x2a41b2(0x8d)](_0x3c0929,setTimeout(()=>this[_0x2a41b2(0xac)](_0x3c0929),_0x46ee31));}['_getSaveTimeout'](){const _0x330f9b=_0x989fca;var _0x2a2298;return(_0x2a2298=this[_0x330f9b(0xc7)][_0x330f9b(0x155)](_0x59ea5d))!=null?_0x2a2298:_0x5ce63f;}[_0x989fca(0xac)](_0x56a29d){const _0x2a0fb8=_0x989fca,_0x261f12=this[_0x2a0fb8(0x244)][_0x2a0fb8(0x175)](_0x56a29d);return _0x261f12!==void 0x0&&window[_0x2a0fb8(0xdf)](_0x261f12),this['_localStorageService'][_0x2a0fb8(0x1f4)](_0x34f41a(_0x56a29d),this[_0x2a0fb8(0x1c1)]['get'](_0x56a29d))[_0x2a0fb8(0x13a)](()=>this['_saveTaskMap'][_0x2a0fb8(0x240)](_0x56a29d));}async[_0x989fca(0xb2)](){const _0x29fd9a=_0x989fca,_0x11b7e7=[];this[_0x29fd9a(0x244)][_0x29fd9a(0x20f)]((_0xc2ad02,_0x1cdc25)=>{const _0x410fbc=_0x29fd9a;window[_0x410fbc(0xdf)](_0xc2ad02),_0x11b7e7[_0x410fbc(0x9e)](this[_0x410fbc(0xac)](_0x1cdc25)[_0x410fbc(0x13a)](()=>{const _0x4753e3=_0x410fbc;this[_0x4753e3(0x244)]['delete'](_0x1cdc25);}));}),await Promise['all'](_0x11b7e7);}};Le=_n([Ee(0x0,_0x7fd8c8),Ee(0x1,_0x3e9d49),Ee(0x2,_0x57fbba(_0x5cedde))],Le);class hn extends _0x5c3cd6{constructor(){const _0x829950=_0x989fca;super(),_(this,_0x829950(0x231)),this[_0x829950(0x231)]=_0x53231d(window,_0x829950(0x252))['pipe'](_0xdd7600(this[_0x829950(0x224)]),_0x133603(0x1),_0x37d42e(void 0x0));}[_0x989fca(0xe1)](_0x151ec6,_0x4ed142,_0x4dbc05=!0x1){const _0x5929ef=_0x989fca,_0x10ef0c=new URL(window[_0x5929ef(0x270)][_0x5929ef(0x144)]);_0x10ef0c['searchParams'][_0x5929ef(0x8d)](_0x151ec6,_0x4ed142),_0x4dbc05?window[_0x5929ef(0x199)][_0x5929ef(0x1cd)]('','',_0x10ef0c[_0x5929ef(0x164)]()):window[_0x5929ef(0x199)]['pushState']('','',_0x10ef0c['toString']());}[_0x989fca(0x119)](_0x31c40d,_0x1552aa=!0x1){const _0x53d5a3=_0x989fca,_0x52687a=new URL(window[_0x53d5a3(0x270)][_0x53d5a3(0x144)]);_0x52687a[_0x53d5a3(0x100)][_0x53d5a3(0x240)](_0x31c40d),_0x1552aa?window[_0x53d5a3(0x199)][_0x53d5a3(0x1cd)]('','',_0x52687a[_0x53d5a3(0x164)]()):window[_0x53d5a3(0x199)][_0x53d5a3(0x1ad)]('','',_0x52687a[_0x53d5a3(0x164)]());}[_0x989fca(0xad)](_0x35137d){const _0x503fd7=_0x989fca;var _0x3c61dc;return(_0x3c61dc=new URL(window[_0x503fd7(0x270)]['href'])[_0x503fd7(0x100)][_0x503fd7(0x175)](_0x35137d))!=null?_0x3c61dc:void 0x0;}}var un=Object[_0x989fca(0xc3)],dn=Object[_0x989fca(0x185)],fn=(_0x17e377,_0x4e3b62,_0xe836d)=>_0x4e3b62 in _0x17e377?un(_0x17e377,_0x4e3b62,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe836d}):_0x17e377[_0x4e3b62]=_0xe836d,Sn=(_0x5b56c9,_0x5ace1e,_0x5cc956,_0x60709)=>{const _0x557ea2=_0x989fca;for(var _0x5e55df=_0x60709>0x1?void 0x0:_0x60709?dn(_0x5ace1e,_0x5cc956):_0x5ace1e,_0x195d5c=_0x5b56c9[_0x557ea2(0x10c)]-0x1,_0x270c2b;_0x195d5c>=0x0;_0x195d5c--)(_0x270c2b=_0x5b56c9[_0x195d5c])&&(_0x5e55df=_0x270c2b(_0x5e55df)||_0x5e55df);return _0x5e55df;},be=(_0x53eae5,_0x45c7cf)=>(_0x5171c8,_0x184587)=>_0x45c7cf(_0x5171c8,_0x184587,_0x53eae5),mn=(_0x4c76c8,_0x48c781,_0x4859ca)=>fn(_0x4c76c8,_0x48c781+'',_0x4859ca);const gn=_0x989fca(0x229);let Ae=class extends _0x26cf55{constructor(_0x20ae8f=et,_0x1f3e11,_0x2d0198,_0x1c1d5a){const _0x439587=_0x989fca;super(),this[_0x439587(0x11a)]=_0x20ae8f,this[_0x439587(0x18f)]=_0x1f3e11,this[_0x439587(0x1e7)]=_0x2d0198,this[_0x439587(0xc7)]=_0x1c1d5a;const {..._0x1f56be}=_0x3f6db5({},et,this[_0x439587(0x11a)]);this[_0x439587(0xc7)][_0x439587(0x150)](Zi,_0x1f56be);}[_0x989fca(0x25c)](){const _0x8540b9=_0x989fca;this[_0x8540b9(0x211)](),this[_0x8540b9(0x1cb)]();}[_0x989fca(0xfb)](){const _0x3b13c3=_0x989fca;this[_0x3b13c3(0xb5)]();}[_0x989fca(0x211)](){const _0x4600e5=_0x989fca;var _0x1ee40b;const _0x4a9d7f=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x2a5132,{'useClass':_0x796951}],[_0x543569,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x7b861d(this[_0x4600e5(0x1e7)],_0x5248f5(_0x4a9d7f,(_0x1ee40b=this[_0x4600e5(0x11a)])==null?void 0x0:_0x1ee40b['override']));}[_0x989fca(0xb5)](){const _0x5087fa=_0x989fca;this['disposeWithMe'](this[_0x5087fa(0x18f)][_0x5087fa(0x258)](_0x5a554e[_0x5087fa(0x161)],[Pe])),this['disposeWithMe'](this[_0x5087fa(0x18f)][_0x5087fa(0x258)](_0x5a554e[_0x5087fa(0x120)],[we]));}['_initDependencies'](){const _0x42d8db=_0x989fca;_0x2c0a79(this[_0x42d8db(0x1e7)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x2fa566(_0x3addc0),be(0x1,_0x8b70ca),be(0x2,_0x57fbba(_0x4ad95e)),be(0x3,_0x7fd8c8)],Ae);var vn=Object[_0x989fca(0x185)],In=(_0x35258a,_0x57cfef,_0x5167b0,_0x3ad7d8)=>{const _0x598eb5=_0x989fca;for(var _0x1d9fd2=_0x3ad7d8>0x1?void 0x0:_0x3ad7d8?vn(_0x57cfef,_0x5167b0):_0x57cfef,_0x1ea5ae=_0x35258a[_0x598eb5(0x10c)]-0x1,_0x1d9170;_0x1ea5ae>=0x0;_0x1ea5ae--)(_0x1d9170=_0x35258a[_0x1ea5ae])&&(_0x1d9fd2=_0x1d9170(_0x1d9fd2)||_0x1d9fd2);return _0x1d9fd2;},K=(_0x345d29,_0x15cad6)=>(_0x4a172d,_0x30f555)=>_0x15cad6(_0x4a172d,_0x30f555,_0x345d29);function _0xaf35(){const _0x130c01=['unshift','isEditing','getSheetBySheetId','imageSourceType','then','ONLINE','collaboration.closeRoom','symbol','449716WcuOFq','executionId','INVITE_CODE_ALREADY_BOUND','_notificationService','_anchor','transformIMECache','href','USER_NOT_INVITED_CODE','min','transform','JOIN_ROOM_FAILED','evenodd','concat','_textBubble','replace','univerjs-icon\x20univerjs-icon-','_handleLeaveEvent','makeDirty','setConfig','_hovered','setShapeProps','getRangePointData','LOGIN_FAILED','getConfig','addClipboardHook','NOT_COLLAB','_updateSubUnitFromURLParams','origin','_collabSessionService','APPLY_REJECT','getActiveRange','_onCursorUpdate','_localStorageService','APPLY_PERMISSION_DENIED','_transformService','UNIVER_DOC','_handleJoinEvent','mutations','toString','transformMutation','reconnect','Warning','collab-text-anchor-','getUnitStatus$','_commandService','roomMembers$','createInstance','_logService','color','_toggleOnline','INVALID_INVITE_CODE','colorChannel1','_collaborationUIEventService','has','triggerDblclick','get','source','type','sheetId','_localeService','SNAPSHOT_INVALID_SNAPSHOT','AWAITING','_refRangeService','PERMISSION_DENIED','name','Failed','YUUMI_SUBSCRIPTION_NOT_FOUND','setInterval','PY_RUNTIME_SCRIPT_ERROR','_entityInit$','selection','getOwnPropertyDescriptor','_urlService','_hover','205934itwiYL','propertyIsEnumerable','saveTaskMap','_disabled','_getSaveTimeout','_heartbeatTimer','stringify','_renderManagerService','map','UNDEFINED','labelPosition','InsertRowCommandId','_transformUndoRedoStack','_drawAnchor','closePath','getItem','saveImage','history','deepClone','OTHER_CLIENT_EDITING','getStateCache','collabStatus.synced','fillText','width','params','onCommandExecuted','_setupBeforeClosingHandler','arc','className','black','on-line-single_clip0_910_349','HEADER_MENU','_messageService','transformMutationsWithChangeset','_startSheetCollabCursor','contains','runOnServer','pushState','asObservable','_status$','find','_collaborationController','docStateChange$','_handleHeartbeatEvent','_entities','onPointerEnter$','ranges','OTHER_CLIENTS_EDITING','key','_scheduleSaving','sheetID','assign','random','LICENSE_IMPORT_SIZE_EXCEEDED','_docStateChangeManagerService','isArray','61026BOIwaz','_cachedData','_name','subscribeEvent','0\x200\x2016\x2016','onPointerLeave$','CLOSE_ROOM','SOCKET_FAILED_RETRY','getTypeOfUnitDisposed$','none','SOCKET_FAILED','_initDependencies','getCollabCursors$','replaceState','syncEditingCollabCursor','currentSkeleton$','requireSession','getCurrent','values','_updateLocalCursor','collaboration-client.offline-data-not-saved','collab-rect-range-','engine','invokeId','_setupSubUnitSync','272691amjYMr','runId','_colorAssignService','parse','error','fill','unitID','addEventListener','gold400','getUniverSheetInstance','addObjects','_cursorInfo$','YUUMI_RATE_OVER_LIMIT','getValue','_injector','extend','SNAPSHOT_HAS_BEEN_REMOVED','_handleEvent','DeleteRangeMoveUpCommandId','disposeUnit','unsubscribe','idSuffix','_memberService','MoveRangeCommandId','sessionStatus$','UNAUTHENTICATED','defIds','setItem','status$','unload','56wgKxTp','_docSyncEditingCollabCursorService','_assignedColors','defs','setActiveRange','dispose','on-line-single','collaboration.single-unit.warning','getVpScrollXYInfoByPosToVp','data','measureText','newValue','_range','_lastPointer','beginPath','eventID','startRow','YUUMI_URL_COL_OUT_OF_RANGE','Error','InsertRangeMoveDownCommandId','INVALID_ARGUMENT','from','_cursors','_uiPartsService','forEach','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_registerDependencies','session.will-retry','#fff','_transformPreviousActiveRange','NO_OTHER_CLIENTS_EDITING','_localCacheService','resize','getViewport','_initResize','sessionTicket','_initEntityListener','_online','YUUMI_ASYNCIO_CANCELLED','onLocalMutation','application/json','APPLY_REVISION_CONFILICT','TEXT','findNodePositionByCharIndex','selections','dispose$','getRenderById','getMergeData','row','collabStatus.fetchMiss','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_handleHover','rgba(255,\x20255,\x20255,\x200.01)','collabStatus.notCollab','_revisionService','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','getActiveSheet','RemoveColCommandId','urlChange$','_init','getDocRanges','INVITE_CODE_HAS_BEEN_UES','_initStatusComponent','NOT_FOUND','SUBMIT_CHANGESET_TIMEOUT','whenReady','LICENSE_EXPORT_SIZE_EXCEEDED','translate(.97)','getMember','USERS_LEAVE','YUUMI_NO_CUBOID_FOR_QUESTION','url(#$1','_docTransformSelectionsService','delete','transformSelections','hide','_drawRectRange','_saveTaskMap','_removeCollabCursors','LICENSE_DISTRO_REJECTED','OFFLINE','collabCursorState$','_selfUnitIDs','getCurrentRevOfUnit','_updateURLWithCurrentState','m2Prime','activeSheet$','currentTheme$','init','next','textRanges','popstate','119WUKwyc','add','getOffsetConfig','YUUMI_UNABLE_LOAD_URL','1105795YCzWxm','registerRenderModule','transformByState','_send','RECT','onStarting','red300','_docTransformStateCacheService','call','getUnhiddenWorksheets','_onCursorDelete','_collabCursorState$','...','getSkeleton','use','_toggleOffline','INVITE_CODE_REQUIRED','div','round','_drawTextRange','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_unitStatus','fillStyle','_univerInstanceService','_doCreateSocket','location','function','text','entityInit$','post','M0\x200H16V16H0z','_render','disableLocalCache','DeleteRangeMoveLeftCommandId','_refreshCollabCursors','moveTo','COMPLETION_FINISHED','pipe','unitId','_updateCollabCursors','CHANGESET_REVISION_CONFILICT','_roomMembers$','displayName','show','getTypeOfUnitAdded$','disposeWithMe','collabStatus.offline','APPLY_DUPLICATED','FETCH_MISS','ALREADY_EXISTS','jiqing500','_startDocCollabCursor','max','univer-text-green-500','transformRemoteChangeset','_docClipboardService','collab-client.tooltip.reconnect','_httpService','set','_backgroundColor','mask','INTERNAL_ERROR','body','_session','assignAColorForMemberID','_initCommandExecutedListener','_getScale','entries','ENSURE_SNAPSHOT_EXECUTION','_onRefRangeChange','TOO_MANY_REQUESTS','top','blue400','_ensureSubject','size','push','_dataLoaderService','611836ARCchV','enableLocalCache','CONNECTOR_DATA_TOO_LARGE','CONFLICT','m1Prime','_beforeCloseService','collabStatus.conflict','cursorInfo','drawWith','subscribe','getUndoRedoMutationParamsCache','_draw','_saveCache','getParam','permission.title','createSocket','getOwnPropertySymbols','getSheetId','exhaustSavingTask','_labelPosition','hovered','_registerRenderDependencies','AWAITING_WITH_PENDING','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','executeCommand','icon','UNRECOGNIZED','tag','code','undoState','_clearOtherTimers','_colorIndex','[RemoteUniscriptService]:\x20no\x20focused\x20unit','subunit','range','defineProperty','_getMergeRange','_getSessionTicket','send','_configService','debug','flatMap','_anchorDot','_eventUnsubscribe','Unknown\x20user','_createSocketURL','svg','univer-flex\x20univer-items-center','result','skeleton','unit','_color','LICENSE_MAX_UNITS_EXCEEDED','generateRandomId','saveOfflineData','_themeService','session.collaboration-timeout','currentColor','redoState','prototype','endRow','RemoveRowCommandId','UPDATE_CURSOR','clearTimeout','registerComponent','setParam','onTransformChange$','#FFF','1em','verdancy600','_scheduleClearOtherTimer','permission.content','getAncestorScale','transformStateCache','roomMembers','[CollaborationDataLoaderController]','isActive','bottom','startsWith','WECHAT_HAS_BEEN_BOUND','addObject','font','_imageIoService','_context','APPLY_NON_SEQUENTIAL_REVISION','actions','_initStatusListener','_syncEditingCollabCursorService','indexOf','off-line-single','search','onRendered','xlink:href','replaceDocRanges','registerBeforeClose','MOBILE_HAS_BEEN_BOUND','searchParams','cursorInfo$','save','_removeClearOtherTimer','getRelativeToViewportCoord','path','clipPath','_id','_cursor','getFocusedUnit','_unitOnClients','url(#off-line-single_clip0_910_343)','length','_collabCursorController','attrs','purple300','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','string','split','_hideTimer','updateOfflineData','setUndoRedoMutationParamsCache','uni.network.url-service','fillRule','_transformHistoryAndStateStack','removeParam','_config','_scene','getUnitId','_sheetSkeletonManagerService','1149543xojaha','complete','UNIVER_SHEET','_docSkeleton','restore','height','_docSkeletonManagerService','onMouseMove','_initEvent','SYNCED','trim','_getSheetObject','children','_docTransformIMECacheService','lineTo','_shapes','with','event$','doc.mutation.rich-text-editing','addHandlerCallback','EMAIL_HAS_BEEN_BOUND','_instanceService','column','_cursorShapes'];_0xaf35=function(){return _0x130c01;};return _0xaf35();}let st=class extends _0x1faba7{constructor(_0x233d5c,_0x5431b7,_0x20128f,_0x3c0ec3,_0x4010d8){super(_0x233d5c,_0x5431b7,_0x20128f,_0x3c0ec3,_0x4010d8);}async[_0x989fca(0xaf)](_0x2b9f3a){const _0x8e8af1=_0x989fca,_0xaecbf4=await this[_0x8e8af1(0xc5)](),_0x14e2eb=this[_0x8e8af1(0xcd)](_0x2b9f3a,_0xaecbf4);return this[_0x8e8af1(0x26f)](_0x14e2eb);}[_0x989fca(0xcd)](_0x31c8bb,_0x1a132a){const _0xeb66d4=_0x989fca,_0x50c6bf=typeof window>'u'?new URL(_0x31c8bb):new URL(_0x31c8bb,window[_0xeb66d4(0x270)][_0xeb66d4(0x159)]);_0x50c6bf['searchParams'][_0xeb66d4(0x8d)](_0xeb66d4(0x21a),_0x1a132a);const _0x406a9b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xeb66d4(0xfa)]);return _0x406a9b[_0xeb66d4(0x175)](_0xeb66d4(0x1da))&&_0x50c6bf[_0xeb66d4(0x100)][_0xeb66d4(0x8d)]('runId',_0x406a9b[_0xeb66d4(0x175)](_0xeb66d4(0x1da))),_0x50c6bf['toString']();}async['_getSessionTicket'](){const _0x3f12c6=_0x989fca;var _0x41c90f,_0x58c7c8,_0x5b2880;const _0x1b8e23=this[_0x3f12c6(0xc7)][_0x3f12c6(0x155)](_0x2b9f09),_0x2c8196=(_0x41c90f=_0x1b8e23==null?void 0x0:_0x1b8e23['wsSessionTicketUrl'])!=null?_0x41c90f:_0x1db4ea;return(_0x5b2880=(_0x58c7c8=(await this[_0x3f12c6(0x8c)][_0x3f12c6(0x175)](_0x2c8196,{'headers':{'Content-Type':_0x3f12c6(0x21f)}}))[_0x3f12c6(0x91)])==null?void 0x0:_0x58c7c8['ticket'])!=null?_0x5b2880:'';}};st=In([K(0x0,_0x57fbba(_0x4ad95e)),K(0x1,_0x57fbba(_0x58b575)),K(0x2,_0x7fd8c8),K(0x3,_0x4bd942),K(0x4,_0x43bb1a)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x13eb4b{constructor(){const _0x4f3e70=_0x989fca;super(),_(this,'_id',_0x4476da()),_(this,_0x4f3e70(0x249),new Set()),_(this,_0x4f3e70(0x10a),new Map()),_(this,_0x4f3e70(0x18d),null),_(this,_0x4f3e70(0xbe),new Map()),_(this,_0x4f3e70(0x26c),new Map()),this[_0x4f3e70(0x232)]();}[_0x989fca(0x1fc)](){const _0x29c64c=_0x989fca;super['dispose'](),this['_clearOtherTimers']['forEach']((_0x1ca6ad,_0x1abf09)=>this[_0x29c64c(0x103)](_0x1abf09)),this[_0x29c64c(0x18d)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x989fca(0x169)](_0x113cab){const _0x316ad9=_0x989fca;return this[_0x316ad9(0x9c)](_0x113cab)[_0x316ad9(0x27c)](_0x44d665());}['editingUnit'](_0x55e050){const _0x5d3133=_0x989fca;this[_0x5d3133(0x249)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x5d3133(0x249)]['add'](_0x55e050),this['_send']({'type':0x0,'memberID':this[_0x5d3133(0x107)],'unitIDs':[_0x55e050],'isForwarded':!0x1});}[_0x989fca(0x1ec)](_0x5a6f3a){const _0x5a093b=_0x989fca;this[_0x5a093b(0x249)][_0x5a093b(0x240)](_0x5a6f3a),this[_0x5a093b(0x249)][_0x5a093b(0x9d)]===0x0&&this[_0x5a093b(0x18d)]&&window['clearInterval'](this[_0x5a093b(0x18d)]);}[_0x989fca(0x232)](){const _0x46c319=_0x989fca;this[_0x46c319(0x80)](_0x5b0cc1(_0x53231d(window,'storage')[_0x46c319(0xa9)](_0x49c2b2=>{const _0x10646d=_0x46c319;if(_0x49c2b2[_0x10646d(0x1b8)]!==nt||!_0x49c2b2[_0x10646d(0x202)])return;const _0x6b6ea0=JSON[_0x10646d(0x1dc)](_0x49c2b2['newValue']);this['_handleEvent'](_0x6b6ea0);}))),window[_0x46c319(0x1e0)](_0x46c319(0x1f6),()=>this[_0x46c319(0x25a)]({'type':0x1,'memberID':this[_0x46c319(0x107)],'unitIDs':Array[_0x46c319(0x20c)](this['_selfUnitIDs'])}));}[_0x989fca(0x1ea)](_0x276201){const _0xebe2fc=_0x989fca;switch(_0x276201[_0xebe2fc(0x177)]){case 0x0:this[_0xebe2fc(0x162)](_0x276201);break;case 0x1:this[_0xebe2fc(0x14e)](_0x276201);break;case 0x2:this['_handleHeartbeatEvent'](_0x276201);break;}}[_0x989fca(0x162)](_0x4d93a1){const _0x3fad65=_0x989fca,{unitIDs:_0x17859d,memberID:_0x247102,isForwarded:_0x4dd110}=_0x4d93a1;_0x17859d[_0x3fad65(0x20f)](_0x1a2f74=>{const _0x52002f=_0x3fad65;if(!_0x4dd110&&this[_0x52002f(0x10a)]['has'](_0x1a2f74)&&this[_0x52002f(0x9c)](_0x1a2f74)[_0x52002f(0x250)](_0x26269e[_0x52002f(0x1b7)]),!this[_0x52002f(0x10a)]['has'](_0x1a2f74)||!this['_unitOnClients'][_0x52002f(0x175)](_0x1a2f74)[_0x52002f(0x173)](_0x247102)){const _0x149310=this[_0x52002f(0x10a)][_0x52002f(0x175)](_0x1a2f74)||new Set();_0x149310['add'](_0x247102),this[_0x52002f(0x10a)][_0x52002f(0x8d)](_0x1a2f74,_0x149310),this['_scheduleClearOtherTimer'](_0x247102);}}),_0x4dd110||this['_send']({'type':0x0,'memberID':this[_0x3fad65(0x107)],'unitIDs':[...this[_0x3fad65(0x249)]],'isForwarded':!0x0});}[_0x989fca(0xe6)](_0x404f8c){const _0x51ea36=_0x989fca;this[_0x51ea36(0x103)](_0x404f8c);const _0x48f868=window['setTimeout'](()=>{const _0x2ba141=_0x51ea36;this[_0x2ba141(0x10a)][_0x2ba141(0x20f)](_0x36b36e=>{_0x36b36e['delete'](_0x404f8c);});},it*0x2);this['_clearOtherTimers']['set'](_0x404f8c,_0x48f868);}['_removeClearOtherTimer'](_0x4d438e){const _0x55a945=_0x989fca;if(this['_clearOtherTimers'][_0x55a945(0x173)](_0x4d438e)){const _0x5c50f0=this[_0x55a945(0xbe)][_0x55a945(0x175)](_0x4d438e);_0x5c50f0&&window[_0x55a945(0xdf)](_0x5c50f0),this['_clearOtherTimers'][_0x55a945(0x8d)](_0x4d438e,null);}}['_handleLeaveEvent'](_0x4b98ad){const _0x52ac6c=_0x989fca,{memberID:_0xce438,unitIDs:_0x2c5410}=_0x4b98ad;_0x2c5410['forEach'](_0x24c5b4=>{const _0x56e18a=_0x20af;var _0x4e4fa0;const _0x32fc13=this[_0x56e18a(0x10a)][_0x56e18a(0x175)](_0x24c5b4);_0x32fc13&&(_0x32fc13['delete'](_0xce438),(_0x4e4fa0=this['_ensureSubject'](_0x24c5b4))==null||_0x4e4fa0['next'](_0x32fc13[_0x56e18a(0x9d)]===0x0?_0x26269e['NO_OTHER_CLIENTS_EDITING']:_0x26269e[_0x56e18a(0x1b7)]));}),this[_0x52ac6c(0x103)](_0xce438);}[_0x989fca(0x1b3)](_0x2d14d2){const _0xb3d12a=_0x989fca;this[_0xb3d12a(0xe6)](_0x2d14d2['memberID']);}[_0x989fca(0x25a)](_0x7f8c24){const _0x598fef=_0x989fca;localStorage[_0x598fef(0x1f4)](nt,JSON[_0x598fef(0x18e)](_0x7f8c24));}['_scheduleHeartbeat'](){const _0x1ce7aa=_0x989fca;this[_0x1ce7aa(0x18d)]=window[_0x1ce7aa(0x181)](()=>{const _0x56c3f1=_0x1ce7aa;this[_0x56c3f1(0x25a)]({'type':0x2,'memberID':this[_0x56c3f1(0x107)]});},it);}[_0x989fca(0x9c)](_0x2f54d9){const _0x279b44=_0x989fca;return this[_0x279b44(0x26c)][_0x279b44(0x173)](_0x2f54d9)||this[_0x279b44(0x26c)][_0x279b44(0x8d)](_0x2f54d9,new _0x139555(_0x26269e[_0x279b44(0x215)])),this[_0x279b44(0x26c)][_0x279b44(0x175)](_0x2f54d9);}}var Mt=(_0x4dfc83=>(_0x4dfc83[_0x4dfc83['UNDEFINED']=0x0]=_0x989fca(0x191),_0x4dfc83[_0x4dfc83['OK']=0x1]='OK',_0x4dfc83[_0x4dfc83[_0x989fca(0x90)]=0x2]=_0x989fca(0x90),_0x4dfc83[_0x4dfc83[_0x989fca(0x17d)]=0x3]=_0x989fca(0x17d),_0x4dfc83[_0x4dfc83[_0x989fca(0x236)]=0x4]=_0x989fca(0x236),_0x4dfc83[_0x4dfc83[_0x989fca(0x1f2)]=0x5]=_0x989fca(0x1f2),_0x4dfc83[_0x4dfc83['ALREADY_EXISTS']=0x6]=_0x989fca(0x84),_0x4dfc83[_0x4dfc83[_0x989fca(0x20b)]=0x7]='INVALID_ARGUMENT',_0x4dfc83[_0x4dfc83[_0x989fca(0x99)]=0x8]=_0x989fca(0x99),_0x4dfc83[_0x4dfc83[_0x989fca(0x27b)]=0x9]=_0x989fca(0x27b),_0x4dfc83[_0x4dfc83['LOGIN_FAILED']=0xa]=_0x989fca(0x154),_0x4dfc83[_0x4dfc83[_0x989fca(0x7b)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4dfc83[_0x4dfc83[_0x989fca(0x17a)]=0x1771]=_0x989fca(0x17a),_0x4dfc83[_0x4dfc83[_0x989fca(0x1e9)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4dfc83[_0x4dfc83[_0x989fca(0x97)]=0x1773]=_0x989fca(0x97),_0x4dfc83[_0x4dfc83['APPLY_REJECT']=0x1b59]=_0x989fca(0x15b),_0x4dfc83[_0x4dfc83[_0x989fca(0xf4)]=0x1b5a]=_0x989fca(0xf4),_0x4dfc83[_0x4dfc83[_0x989fca(0x220)]=0x1b5b]=_0x989fca(0x220),_0x4dfc83[_0x4dfc83[_0x989fca(0x15f)]=0x1b5c]=_0x989fca(0x15f),_0x4dfc83[_0x4dfc83[_0x989fca(0x82)]=0x1b5d]=_0x989fca(0x82),_0x4dfc83[_0x4dfc83[_0x989fca(0xa2)]=0x1f41]=_0x989fca(0xa2),_0x4dfc83[_0x4dfc83[_0x989fca(0xd4)]=0x2329]=_0x989fca(0xd4),_0x4dfc83[_0x4dfc83[_0x989fca(0xb7)]=0x232a]=_0x989fca(0xb7),_0x4dfc83[_0x4dfc83[_0x989fca(0x1bd)]=0x232b]=_0x989fca(0x1bd),_0x4dfc83[_0x4dfc83['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x989fca(0x239),_0x4dfc83[_0x4dfc83[_0x989fca(0x246)]=0x232d]=_0x989fca(0x246),_0x4dfc83[_0x4dfc83[_0x989fca(0x256)]=0x2711]=_0x989fca(0x256),_0x4dfc83[_0x4dfc83[_0x989fca(0x208)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4dfc83[_0x4dfc83[_0x989fca(0x1e5)]=0x2713]=_0x989fca(0x1e5),_0x4dfc83[_0x4dfc83[_0x989fca(0x180)]=0x2714]=_0x989fca(0x180),_0x4dfc83[_0x4dfc83[_0x989fca(0x23d)]=0x271a]=_0x989fca(0x23d),_0x4dfc83[_0x4dfc83[_0x989fca(0x21d)]=0x271b]=_0x989fca(0x21d),_0x4dfc83[_0x4dfc83[_0x989fca(0x182)]=0x2af9]=_0x989fca(0x182),_0x4dfc83[_0x4dfc83[_0x989fca(0x234)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4dfc83[_0x4dfc83[_0x989fca(0x170)]=0x2ee2]=_0x989fca(0x170),_0x4dfc83[_0x4dfc83[_0x989fca(0x267)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4dfc83[_0x4dfc83[_0x989fca(0x145)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x4dfc83[_0x4dfc83[_0x989fca(0x140)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4dfc83[_0x4dfc83[_0x989fca(0xef)]=0x32c9]=_0x989fca(0xef),_0x4dfc83[_0x4dfc83['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x989fca(0xff),_0x4dfc83[_0x4dfc83[_0x989fca(0x132)]=0x32cb]=_0x989fca(0x132),_0x4dfc83[_0x4dfc83[_0x989fca(0xba)]=-0x1]=_0x989fca(0xba),_0x4dfc83))(Mt||{}),pn=Object[_0x989fca(0x185)],Cn=(_0x4e44ad,_0x4b5bb9,_0x4eace5,_0x33d232)=>{const _0x4dd6c0=_0x989fca;for(var _0x8b94ef=_0x33d232>0x1?void 0x0:_0x33d232?pn(_0x4b5bb9,_0x4eace5):_0x4b5bb9,_0x16fd6b=_0x4e44ad[_0x4dd6c0(0x10c)]-0x1,_0x2ff2ee;_0x16fd6b>=0x0;_0x16fd6b--)(_0x2ff2ee=_0x4e44ad[_0x16fd6b])&&(_0x8b94ef=_0x2ff2ee(_0x8b94ef)||_0x8b94ef);return _0x8b94ef;},Oe=(_0x53c1ec,_0x421654)=>(_0x2d46e2,_0x5942b1)=>_0x421654(_0x2d46e2,_0x5942b1,_0x53c1ec);let rt=class extends _0x13eb4b{constructor(_0x589307,_0x4b5aec,_0x468a1f){const _0x8dc1ca=_0x989fca;super(),this[_0x8dc1ca(0x133)]=_0x589307,this[_0x8dc1ca(0x8c)]=_0x4b5aec,this['_configService']=_0x468a1f;}async[_0x989fca(0x1ac)](_0x45d64b,_0x2df45b,_0x2cce30,..._0x57fadb){const _0x11f8e4=_0x989fca;var _0x465c9e,_0x23f184,_0xdc8301,_0x6be45b;const _0x31d031=this['_instanceService'][_0x11f8e4(0x109)]();if(!_0x31d031)throw new Error(_0x11f8e4(0xc0));const _0x253b35=((_0x465c9e=this['_configService'][_0x11f8e4(0x155)](_0x7f89b6))!=null?_0x465c9e:_0x1c1d6c)+'/'+_0x45d64b+'/run/'+_0x2df45b,_0x181484=new URL(window['location']['href']),_0x337fc8={'scriptId':_0x45d64b,'runId':(_0x23f184=_0x181484['searchParams'][_0x11f8e4(0x175)](_0x11f8e4(0x1da)))!=null?_0x23f184:'','function':_0x2df45b,'unitId':_0x31d031[_0x11f8e4(0x11c)](),'argsOfFunction':JSON['stringify'](_0x57fadb),'invokeId':(_0xdc8301=_0x2cce30[_0x11f8e4(0x1d7)])!=null?_0xdc8301:'','executionId':(_0x6be45b=_0x2cce30[_0x11f8e4(0x13f)])!=null?_0x6be45b:''};try{const _0x54c1dc=await this['_httpService'][_0x11f8e4(0x274)](_0x253b35,{'body':_0x337fc8});return _0x54c1dc[_0x11f8e4(0x91)]['error']&&_0x54c1dc[_0x11f8e4(0x91)][_0x11f8e4(0x1dd)][_0x11f8e4(0xbc)]!==Mt['OK']?_0x11f8e4(0x17f):_0x54c1dc['body'][_0x11f8e4(0xd0)];}catch{return _0x11f8e4(0x17f);}}};rt=Cn([Oe(0x0,_0x2844bb),Oe(0x1,_0x57fbba(_0x58b575)),Oe(0x2,_0x7fd8c8)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
1
+ const _0x563413=_0x129d;(function(_0x83b066,_0x264422){const _0x39c51f=_0x129d,_0x4d426c=_0x83b066();while(!![]){try{const _0x1989f5=-parseInt(_0x39c51f(0x21b))/0x1*(parseInt(_0x39c51f(0x2bd))/0x2)+parseInt(_0x39c51f(0x36a))/0x3*(-parseInt(_0x39c51f(0x263))/0x4)+-parseInt(_0x39c51f(0x22f))/0x5+parseInt(_0x39c51f(0x201))/0x6*(-parseInt(_0x39c51f(0x2cd))/0x7)+-parseInt(_0x39c51f(0x1f0))/0x8+parseInt(_0x39c51f(0x2fb))/0x9*(parseInt(_0x39c51f(0x22d))/0xa)+-parseInt(_0x39c51f(0x337))/0xb*(-parseInt(_0x39c51f(0x3ca))/0xc);if(_0x1989f5===_0x264422)break;else _0x4d426c['push'](_0x4d426c['shift']());}catch(_0x472d1e){_0x4d426c['push'](_0x4d426c['shift']());}}}(_0x5b78,0x3129f));var $t=Object[_0x563413(0x30c)],xt=(_0x19a72c,_0x432db7,_0x3523aa)=>_0x432db7 in _0x19a72c?$t(_0x19a72c,_0x432db7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3523aa}):_0x19a72c[_0x432db7]=_0x3523aa,_=(_0x466be1,_0xe765d0,_0x351866)=>xt(_0x466be1,typeof _0xe765d0!=_0x563413(0x247)?_0xe765d0+'':_0xe765d0,_0x351866);import{MemberService as _0x54d944,SessionStatus as _0x33fce3,CollaborationSessionService as _0x3919e6,CollaborationStatus as _0x254eb8,CollaborationController as _0x203fc8,ILocalCacheService as _0x1400ec,CollaborationUIEventService as _0x3a9063,CollaborationUIEventId as _0x2adb1f,DataLoaderService as _0xdfc05f,DocCollaborationEntity as _0x487f85,getLocalCacheKey as _0x3b0baa,LOCAL_CACHE_INTERVAL as _0x5223b0,LOCAL_CACHE_INTERVAL_KEY as _0x433e18,UniverCollaborationClientPlugin as _0x26d327,CollaborationSocketService as _0x59ef4b,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3b788b,DEFAULT_WS_SESSION_TICKET_URL as _0x153ab7,UnitStatus as _0x5080da,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x41e7a3,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x31124b}from'@univerjs-pro/collaboration-client';import{RxDisposable as _0x4b74ae,Disposable as _0x1fbc6b,DOC_RANGE_TYPE as _0x245254,Inject as _0x5c6460,Injector as _0x1d66e7,IUniverInstanceService as _0x31a664,ICommandService as _0x3117b8,debounce as _0x26c543,Rectangle as _0xc52910,DisposableCollection as _0x150cba,toDisposable as _0x3e0e70,UniverInstanceType as _0x1eb9e8,Tools as _0x17cd4d,COLORS as _0x2a7dc9,ColorKit as _0x3eb592,ThemeService as _0x1ee369,fromEventSubject as _0x4c5485,LocaleService as _0x3ffe22,createIdentifier as _0x54cac1,ILogService as _0x3c1e89,Optional as _0x5e513a,Workbook as _0x2bc3eb,CommandType as _0x444386,IConfigService as _0x395855,ILocalStorageService as _0x35e3cf,DependentOn as _0x2f89ac,Plugin as _0x1131fa,merge as _0x3fdaeb,registerDependencies as _0x2722ea,mergeOverrideWithDependencies as _0x4d57b5,touchDependencies as _0x5c554b,generateRandomId as _0x214fa4}from'@univerjs/core';import{Shape as _0x1c8015,Rect as _0x17081d,getColor as _0x50666a,RegularPolygon as _0x5d7fb6,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x51a3cb,Vector2 as _0x22f062,SHEET_VIEWPORT_KEY as _0x6d020d,IRenderManagerService as _0x2bfa89}from'@univerjs/engine-render';import{ISocketService as _0x4ec03e,WebSocketService as _0x2e732f,HTTPService as _0x3fb791}from'@univerjs/network';import{IDocClipboardService as _0x1c730e,NodePositionConvertToCursor as _0x57941f,NodePositionConvertToRectRange as _0xdf1a59,TEXT_RANGE_LAYER_INDEX as _0x3fc072,SetDocZoomRatioOperation as _0x3963d1,DocIMEInputManagerService as _0x18d55f,DocStateChangeManagerService as _0x56216d}from'@univerjs/docs-ui';import{IImageIoService as _0x11b12f}from'@univerjs/drawing';import{BehaviorSubject as _0x4621a1,debounceTime as _0x222885,takeUntil as _0x16b897,Subject as _0x4ee0db,filter as _0x509117,switchMap as _0xc5480d,merge as _0x1b83cd,combineLatest as _0x10706b,of as _0x1ce394,fromEvent as _0x2974a5,shareReplay as _0x3f389a,mapTo as _0x36eff5,distinctUntilChanged as _0x5718a3}from'rxjs';import{SetTextSelectionsOperation as _0x50d8d7,RichTextEditingMutation as _0x2337f3,DocSelectionManagerService as _0x25e9f8,DocSkeletonManagerService as _0x4f1317}from'@univerjs/docs';import{ITransformService as _0x136ed5,CollaborationEvent as _0x41691e,isTransformMutationFailure as _0x2432f7,isTransformMutationsWithChangesetSuccess as _0x1002c8,RevisionService as _0x5ec55b,ISnapshotServerService as _0x2d5160}from'@univerjs-pro/collaboration';import{deserializeRangeWithSheet as _0x2789b1,serializeRangeWithSheet as _0x563c71}from'@univerjs/engine-formula';import{RefRangeService as _0x4e379b,SetSelectionsOperation as _0x1613e4,SheetsSelectionsService as _0x12cd03,EffectRefRangId as _0x43c3b2,handleIRemoveRow as _0x5bf4b9,handleIRemoveCol as _0x218885,handleMoveRange as _0x5ad331,handleInsertRow as _0x4d47b6,handleInsertRangeMoveRight as _0x4f3441,handleInsertRangeMoveDown as _0xf47617,handleInsertCol as _0x4871a0,handleDeleteRangeMoveUp as _0x41f848,handleDeleteRangeMoveLeft as _0x207f2e,runRefRangeMutations as _0x2738a6,SetWorksheetActivateCommand as _0xc628f2}from'@univerjs/sheets';import{map as _0x1ba986,filter as _0x397e46,throttleTime as _0x1d7bc4,takeUntil as _0x53e4ae,switchMap as _0x13823e}from'rxjs/operators';import{SheetSkeletonManagerService as _0x3ea723,getCoordByCell as _0x58b02a,getSheetObject as _0x2f0b6e}from'@univerjs/sheets-ui';import{jsx as _0x427501,jsxs as _0x44e5b1}from'react/jsx-runtime';import{useObservable as _0x3d4560,useDependency as _0x47de98,IUIPartsService as _0x4c7f9b,BuiltInUIPart as _0x505fa7,connectInjector as _0x313f2b,IBeforeCloseService as _0x27e5c6,IMessageService as _0x4acaae,INotificationService as _0x275910}from'@univerjs/ui';import{Tooltip as _0x561183,clsx as _0x2ab1f2,MessageType as _0x5c8d3f}from'@univerjs/design';import{forwardRef as _0x75af45,useRef as _0x16e5d0,createElement as _0x2072fd,useCallback as _0x571220}from'react';function _0x129d(_0x4e40bc,_0xb90122){const _0x5b78b4=_0x5b78();return _0x129d=function(_0x129daf,_0x47c868){_0x129daf=_0x129daf-0x1d3;let _0x450094=_0x5b78b4[_0x129daf];return _0x450094;},_0x129d(_0x4e40bc,_0xb90122);}import{IRemoteInstanceService as _0xfedf20}from'@univerjs/rpc';var ci=Object[_0x563413(0x350)],li=(_0x5ed6ba,_0x1b4c7e,_0x369e4f,_0x559632)=>{const _0x4fe5b4=_0x563413;for(var _0x3708f9=_0x559632>0x1?void 0x0:_0x559632?ci(_0x1b4c7e,_0x369e4f):_0x1b4c7e,_0x16af55=_0x5ed6ba[_0x4fe5b4(0x37f)]-0x1,_0x578121;_0x16af55>=0x0;_0x16af55--)(_0x578121=_0x5ed6ba[_0x16af55])&&(_0x3708f9=_0x578121(_0x3708f9)||_0x3708f9);return _0x3708f9;},Je=(_0x381a98,_0x2f4cfc)=>(_0x1e7ed3,_0x898088)=>_0x2f4cfc(_0x1e7ed3,_0x898088,_0x381a98);let Ne=class extends _0x4b74ae{constructor(_0x16b16e,_0x3a05c8){const _0x19b986=_0x563413;super(),this[_0x19b986(0x3d9)]=_0x16b16e,this['_imageIoService']=_0x3a05c8,this[_0x19b986(0x2c6)]();}[_0x563413(0x2c6)](){const _0x440c16=_0x563413,_0x45a0e9=this;this[_0x440c16(0x1f8)](this[_0x440c16(0x3d9)][_0x440c16(0x24e)]({'onBeforePasteImage':async _0x4bffc4=>{const _0x35af93=_0x440c16,_0x190d9d=await _0x45a0e9[_0x35af93(0x3b1)][_0x35af93(0x2b9)](_0x4bffc4);return _0x190d9d?{'source':_0x190d9d[_0x35af93(0x255)],'imageSourceType':_0x190d9d[_0x35af93(0x28f)]}:null;}}));}};Ne=li([Je(0x0,_0x1c730e),Je(0x1,_0x11b12f)],Ne);const Ze=[_0x563413(0x2a4),_0x563413(0x38b),_0x563413(0x229),_0x563413(0x219),_0x563413(0x26f),_0x563413(0x1db)];class ke extends _0x1fbc6b{constructor(){super(...arguments),_(this,'_assignedColors',new Map()),_(this,'_colorIndex',0x0);}[_0x563413(0x235)](_0x27d927){const _0x25fda6=_0x563413;if(this[_0x25fda6(0x329)]['has'](_0x27d927))return this[_0x25fda6(0x329)]['get'](_0x27d927);const _0x45c59a=Ze[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ze[_0x25fda6(0x37f)],this[_0x25fda6(0x329)][_0x25fda6(0x3a1)](_0x27d927,_0x45c59a),_0x45c59a;}}function Tt(_0x4885e7){let _0x20ab8a='';for(const _0x732c72 of _0x4885e7){const {startOffset:_0x2e8eb8,endOffset:_0x5db308,isActive:_0x5dcd01,rangeType:_0x18deec,segmentId:_0x51308b,segmentPage:_0x5f0fc0}=_0x732c72;_0x20ab8a['length']&&(_0x20ab8a+=','),_0x20ab8a+=_0x2e8eb8+':'+_0x5db308+':'+(_0x5dcd01?'1':'0')+':'+_0x18deec+':'+_0x51308b+':'+_0x5f0fc0;}return _0x20ab8a;}function _i(_0x1dbddc){const _0x1965b6=_0x563413,_0x10480e=_0x1dbddc[_0x1965b6(0x2b4)](','),_0x2d9159=[];for(const _0x151f65 of _0x10480e){const [_0x3223eb,_0x455df0,_0x265def,_0x12a2ed,_0x26170c,_0x490d22]=_0x151f65['split'](':');_0x2d9159[_0x1965b6(0x2ca)]({'startOffset':Number(_0x3223eb),'endOffset':Number(_0x455df0),'collapsed':_0x3223eb===_0x455df0,'isActive':_0x265def==='1','rangeType':_0x12a2ed===_0x245254[_0x1965b6(0x284)]?_0x245254['TEXT']:_0x245254[_0x1965b6(0x37a)],'segmentId':typeof _0x26170c==_0x1965b6(0x32c)?String(_0x26170c):'','segmentPage':Number(_0x490d22!=null?_0x490d22:-0x1)});}return _0x2d9159[_0x1965b6(0x3b7)](_0x24983e=>_0x24983e['isActive'])||(_0x2d9159[0x0][_0x1965b6(0x3b4)]=!0x0),_0x2d9159;}class He extends _0x4b74ae{constructor(){const _0x21dfd1=_0x563413;super(...arguments),_(this,_0x21dfd1(0x1df),new _0x4621a1(null)),_(this,_0x21dfd1(0x3d2),this[_0x21dfd1(0x1df)][_0x21dfd1(0x307)]());}['syncEditingCollabCursor'](_0x39bb19){const _0x2df5ad=_0x563413,{unitID:_0x551f0f,memberID:_0x5b8b6b,textRanges:_0x3c545a}=_0x39bb19,_0x1480bd=Tt(_0x3c545a);if(_0x1480bd==='')return;const _0x572d64={'unitID':_0x551f0f,'memberID':_0x5b8b6b,'selection':_0x1480bd};this[_0x2df5ad(0x1df)][_0x2df5ad(0x241)](_0x572d64);}}var hi=Object[_0x563413(0x350)],ui=(_0x3ed27f,_0x116e0a,_0x8d2f9,_0x284565)=>{for(var _0x5dfc13=_0x284565>0x1?void 0x0:_0x284565?hi(_0x116e0a,_0x8d2f9):_0x116e0a,_0x5987b1=_0x3ed27f['length']-0x1,_0xc7b137;_0x5987b1>=0x0;_0x5987b1--)(_0xc7b137=_0x3ed27f[_0x5987b1])&&(_0x5dfc13=_0xc7b137(_0x5dfc13)||_0x5dfc13);return _0x5dfc13;},w=(_0x3e30f8,_0x244845)=>(_0x224fd7,_0x53ab00)=>_0x244845(_0x224fd7,_0x53ab00,_0x3e30f8);const di=0x12c,fi=0x64;let Ue=class extends _0x4b74ae{constructor(_0x270cb8,_0x64b8b8,_0x5522c3,_0x472787,_0x4987c2,_0x399fb5,_0x5a9f7b,_0x4fc202,_0x2282e7){const _0x4803e8=_0x563413;super(),_(this,_0x4803e8(0x209),!0x1),_(this,'_init',!0x1),_(this,_0x4803e8(0x34e),new _0x4621a1(new Map())),_(this,_0x4803e8(0x340),this[_0x4803e8(0x34e)][_0x4803e8(0x307)]()),_(this,'_roomMembers$',new _0x4621a1([])),_(this,_0x4803e8(0x3cf),this[_0x4803e8(0x1fa)]['pipe'](_0x222885(di))),_(this,_0x4803e8(0x365),_0x26c543(_0x51e3e0=>{const _0x384623=_0x4803e8,_0x17ab96={'eventID':_0x41691e[_0x384623(0x376)],'data':{'unitID':this[_0x384623(0x375)],'memberID':this[_0x384623(0x31d)][_0x384623(0x22b)](),'selection':Tt(_0x51e3e0)}};this[_0x384623(0x31d)][_0x384623(0x339)](_0x17ab96,this[_0x384623(0x375)]);},fi)),(this[_0x4803e8(0x375)]=_0x270cb8,this[_0x4803e8(0x31d)]=_0x64b8b8,this[_0x4803e8(0x2fa)]=_0x5522c3,this[_0x4803e8(0x1f5)]=_0x472787,this[_0x4803e8(0x228)]=_0x4987c2,this[_0x4803e8(0x39b)]=_0x399fb5,this['_transformService']=_0x5a9f7b,this[_0x4803e8(0x31f)]=_0x4fc202,this[_0x4803e8(0x30f)]=_0x2282e7);}get[_0x563413(0x35f)](){const _0x4f8697=_0x563413;return this[_0x4f8697(0x34e)]['getValue']();}get['roomMembers'](){const _0x273c36=_0x563413;return this[_0x273c36(0x1fa)][_0x273c36(0x2f5)]();}['dispose'](){const _0x2f87d5=_0x563413;super[_0x2f87d5(0x37b)](),this[_0x2f87d5(0x34e)][_0x2f87d5(0x241)](new Map()),this[_0x2f87d5(0x34e)][_0x2f87d5(0x342)](),this[_0x2f87d5(0x1fa)][_0x2f87d5(0x241)]([]),this[_0x2f87d5(0x1fa)][_0x2f87d5(0x342)]();}['init'](){const _0x4089df=_0x563413;this[_0x4089df(0x2c6)]||(this[_0x4089df(0x2c6)]=!0x0,this['_session'][_0x4089df(0x2dd)][_0x4089df(0x3bf)](_0x16b897(this['dispose$']))[_0x4089df(0x240)](_0x160eba=>{const _0x5f5755=_0x4089df;_0x160eba===_0x33fce3[_0x5f5755(0x2a3)]?this[_0x5f5755(0x3cc)]():this[_0x5f5755(0x3d3)]();}),this['_session'][_0x4089df(0x2af)][_0x4089df(0x3bf)](_0x16b897(this['dispose$']))[_0x4089df(0x240)](_0x3b07fe=>{const _0x12e29e=_0x4089df,_0x5a95dc=_0x3b07fe[_0x12e29e(0x2f0)];_0x5a95dc===_0x41691e[_0x12e29e(0x376)]&&this[_0x12e29e(0x2f3)](_0x3b07fe),_0x5a95dc===_0x41691e[_0x12e29e(0x213)]&&this[_0x12e29e(0x30e)](_0x3b07fe);}),this[_0x4089df(0x1f8)](this['_commandService'][_0x4089df(0x1d3)](_0x322bc8=>{const _0x2533f2=_0x4089df,_0x17c9a4=_0x322bc8['params'];_0x17c9a4!=null&&this['_online']&&_0x322bc8['id']===_0x50d8d7['id']&&_0x17c9a4[_0x2533f2(0x35c)]===this[_0x2533f2(0x375)]&&_0x17c9a4[_0x2533f2(0x297)]===!0x1&&_0x17c9a4[_0x2533f2(0x2cf)][_0x2533f2(0x37f)]>0x0&&this[_0x2533f2(0x365)](_0x17c9a4[_0x2533f2(0x2cf)]);})),this['_syncEditingCollabCursorService'][_0x4089df(0x3d2)][_0x4089df(0x3bf)](_0x16b897(this[_0x4089df(0x301)]))[_0x4089df(0x240)](_0x169d82=>{const _0x55e470=_0x4089df;if((_0x169d82==null?void 0x0:_0x169d82['unitID'])!==this[_0x55e470(0x375)])return;const _0x1d7ce2={'eventID':_0x41691e[_0x55e470(0x376)],'data':_0x169d82};this['_onCursorUpdate'](_0x1d7ce2);}),this[_0x4089df(0x1f8)](this['_commandService']['onCommandExecuted'](_0x548adf=>{const _0x505f29=_0x4089df;if(_0x548adf[_0x505f29(0x2ac)]==null)return;const _0xfeb95=_0x548adf[_0x505f29(0x2ac)];if(_0x548adf['id']!==_0x2337f3['id']||_0xfeb95[_0x505f29(0x35c)]!==this[_0x505f29(0x375)])return;const _0x4e2fde={'id':_0x505f29(0x286),'params':_0xfeb95},_0x3aad4e=this[_0x505f29(0x35f)];for(const [_0x30057c,_0x380a62]of _0x3aad4e){const _0x284a76={'id':_0x505f29(0x286),'params':{'unitId':this[_0x505f29(0x375)],'actions':null,'textRanges':_0x380a62[_0x505f29(0x2cf)]}},_0x1a40e4=this[_0x505f29(0x2ba)]['transformMutation'](_0x4e2fde,_0x284a76,!0x1);if(_0x2432f7(_0x1a40e4))throw _0x1a40e4['error'];_0x3aad4e['set'](_0x30057c,{..._0x380a62,'ranges':_0x1a40e4[_0x505f29(0x1f3)]['params'][_0x505f29(0x252)]});}queueMicrotask(()=>{const _0x36a63a=_0x505f29;this[_0x36a63a(0x34e)][_0x36a63a(0x241)](_0x3aad4e);});})));}[_0x563413(0x2f3)](_0x543dab){const _0x3f331c=_0x563413;var _0x351168,_0x24a42a;const {memberID:_0x2ea807,selection:_0x2cc932}=_0x543dab[_0x3f331c(0x395)],_0x2a26fd=_i(_0x2cc932),_0x3678a3=(_0x24a42a=(_0x351168=this[_0x3f331c(0x228)][_0x3f331c(0x23c)](this[_0x3f331c(0x375)],_0x2ea807))==null?void 0x0:_0x351168[_0x3f331c(0x359)])!=null?_0x24a42a:_0x3f331c(0x2a1),_0x1fe169={'color':this[_0x3f331c(0x1f5)][_0x3f331c(0x235)](_0x2ea807),'name':_0x3678a3,'ranges':_0x2a26fd},_0xe71dd0=this[_0x3f331c(0x35f)];_0xe71dd0[_0x3f331c(0x3a1)](_0x2ea807,_0x1fe169),this[_0x3f331c(0x34e)]['next'](_0xe71dd0);}[_0x563413(0x30e)](_0xa9dc6a){const _0x3ac795=_0x563413,{memberID:_0x5b2f10}=_0xa9dc6a[_0x3ac795(0x395)],_0x470b19=this[_0x3ac795(0x35f)];_0x470b19[_0x3ac795(0x1e8)](_0x5b2f10),this['_cursorInfo$'][_0x3ac795(0x241)](_0x470b19);}[_0x563413(0x3cc)](){const _0x24fff0=_0x563413;var _0x38b386;if(this[_0x24fff0(0x209)]=!0x0,((_0x38b386=this[_0x24fff0(0x31f)][_0x24fff0(0x30d)]())==null?void 0x0:_0x38b386[_0x24fff0(0x279)]())!==this[_0x24fff0(0x375)])return;const _0x16ed5a=this[_0x24fff0(0x2fa)][_0x24fff0(0x32e)](_0x25e9f8)[_0x24fff0(0x1ee)]();Array[_0x24fff0(0x312)](_0x16ed5a)&&_0x16ed5a[_0x24fff0(0x37f)]>0x0&&this['_updateLocalCursor'](_0x16ed5a);}[_0x563413(0x3d3)](){const _0x25e7ee=_0x563413;this[_0x25e7ee(0x209)]=!0x1;}};Ue=ui([w(0x2,_0x5c6460(_0x1d66e7)),w(0x3,_0x5c6460(ke)),w(0x4,_0x5c6460(_0x54d944)),w(0x5,_0x5c6460(He)),w(0x6,_0x136ed5),w(0x7,_0x31a664),w(0x8,_0x3117b8)],Ue);var Si=Object[_0x563413(0x350)],mi=(_0x4f41d1,_0x1e198b,_0x22fdd8,_0xae19ad)=>{const _0x46bfd4=_0x563413;for(var _0x4b7479=_0xae19ad>0x1?void 0x0:_0xae19ad?Si(_0x1e198b,_0x22fdd8):_0x1e198b,_0x48977e=_0x4f41d1[_0x46bfd4(0x37f)]-0x1,_0x189afa;_0x48977e>=0x0;_0x48977e--)(_0x189afa=_0x4f41d1[_0x48977e])&&(_0x4b7479=_0x189afa(_0x4b7479)||_0x4b7479);return _0x4b7479;},x=(_0x1142f0,_0x16e221)=>(_0x10d671,_0x1b3f99)=>_0x16e221(_0x10d671,_0x1b3f99,_0x1142f0);const gi=0x12c,vi=0x64,Ii=()=>{let _0x194c94=[],_0x4a979d=!0x1;return _0x5c1ca8=>{const _0x1d51a9=_0x129d;_0x194c94[_0x1d51a9(0x2ca)](_0x5c1ca8),_0x4a979d||(_0x4a979d=!0x0,setTimeout(()=>{const _0x19ac9c=_0x1d51a9;_0x194c94[_0x19ac9c(0x29b)](_0x19fd2d=>_0x19fd2d()),_0x194c94=[],_0x4a979d=!0x1;}));};};let Me=class extends _0x4b74ae{constructor(_0x5d3936,_0x1a87ee,_0x5682b4,_0x42ee72,_0x492abe,_0x37e47a,_0x3b4c6b,_0x30ea8b){const _0x356729=_0x563413;super(),_(this,_0x356729(0x209),!0x1),_(this,'_init',!0x1),_(this,_0x356729(0x34e),new _0x4621a1(new Map())),_(this,_0x356729(0x340),this['_cursorInfo$'][_0x356729(0x307)]()),_(this,_0x356729(0x1fa),new _0x4621a1([])),_(this,_0x356729(0x3cf),this[_0x356729(0x1fa)][_0x356729(0x3bf)](_0x222885(gi))),_(this,_0x356729(0x365),_0x26c543((_0x3d6089,_0x4a5105)=>{const _0x3c7984=_0x356729,_0x8a61ba={'eventID':_0x41691e['UPDATE_CURSOR'],'data':{'unitID':this[_0x3c7984(0x375)],'memberID':this[_0x3c7984(0x31d)][_0x3c7984(0x22b)](),'selection':_0x563c71(_0x3d6089,_0x4a5105[_0x3c7984(0x2c5)])}};this[_0x3c7984(0x31d)][_0x3c7984(0x339)](_0x8a61ba,this[_0x3c7984(0x375)]);},vi)),(this[_0x356729(0x375)]=_0x5d3936,this['_session']=_0x1a87ee,this['_injector']=_0x5682b4,this[_0x356729(0x1f5)]=_0x42ee72,this[_0x356729(0x228)]=_0x492abe,this[_0x356729(0x31f)]=_0x37e47a,this[_0x356729(0x30f)]=_0x3b4c6b,this['_refRangeService']=_0x30ea8b);}get[_0x563413(0x35f)](){const _0x1d7f24=_0x563413;return this[_0x1d7f24(0x34e)][_0x1d7f24(0x2f5)]();}get[_0x563413(0x2de)](){const _0x266793=_0x563413;return this['_roomMembers$'][_0x266793(0x2f5)]();}[_0x563413(0x37b)](){const _0x15d49c=_0x563413;super[_0x15d49c(0x37b)](),this[_0x15d49c(0x34e)][_0x15d49c(0x241)](new Map()),this[_0x15d49c(0x34e)]['complete'](),this['_roomMembers$'][_0x15d49c(0x241)]([]),this[_0x15d49c(0x1fa)][_0x15d49c(0x342)]();}[_0x563413(0x37c)](){const _0x1c2e3f=_0x563413;this[_0x1c2e3f(0x2c6)]||(this[_0x1c2e3f(0x2c6)]=!0x0,this['_session'][_0x1c2e3f(0x2dd)][_0x1c2e3f(0x3bf)](_0x16b897(this[_0x1c2e3f(0x301)]))[_0x1c2e3f(0x240)](_0x4fb3b3=>{const _0xb55deb=_0x1c2e3f;_0x4fb3b3===_0x33fce3[_0xb55deb(0x2a3)]?this[_0xb55deb(0x3cc)]():this[_0xb55deb(0x3d3)]();}),this[_0x1c2e3f(0x31d)][_0x1c2e3f(0x2af)]['pipe'](_0x16b897(this[_0x1c2e3f(0x301)]))[_0x1c2e3f(0x240)](_0x5c0d9b=>{const _0x33386b=_0x1c2e3f,_0x368def=_0x5c0d9b[_0x33386b(0x2f0)];_0x368def===_0x41691e['UPDATE_CURSOR']&&this[_0x33386b(0x2f3)](_0x5c0d9b),_0x368def===_0x41691e[_0x33386b(0x213)]&&this[_0x33386b(0x30e)](_0x5c0d9b);}),this[_0x1c2e3f(0x1f7)](),this[_0x1c2e3f(0x1f8)](this[_0x1c2e3f(0x30f)][_0x1c2e3f(0x1d3)](_0x42e677=>{const _0x56f701=_0x1c2e3f;if(this[_0x56f701(0x209)]&&_0x42e677['id']===_0x1613e4['id']&&_0x42e677[_0x56f701(0x2ac)][_0x56f701(0x35c)]===this[_0x56f701(0x375)]){const _0x4ca4e5=_0x42e677[_0x56f701(0x2ac)];this['_updateLocalCursor'](_0x4ca4e5[_0x56f701(0x2fc)],_0x4ca4e5['selections'][0x0]);}})));}[_0x563413(0x2f3)](_0x4d26e2){const _0x176435=_0x563413;var _0x31690b,_0x22ba29;const {memberID:_0xec8f05,selection:_0x5efa6f}=_0x4d26e2['data'],{sheetName:_0x447294,range:_0xcc0388}=_0x2789b1(_0x5efa6f),_0x351400={'name':(_0x22ba29=(_0x31690b=this[_0x176435(0x228)][_0x176435(0x23c)](this[_0x176435(0x375)],_0xec8f05))==null?void 0x0:_0x31690b[_0x176435(0x359)])!=null?_0x22ba29:_0x176435(0x2a1),'range':this[_0x176435(0x35a)](_0x447294,_0xcc0388),'sheetID':_0x447294,'color':this[_0x176435(0x1f5)][_0x176435(0x235)](_0xec8f05),'selection':_0x5efa6f},_0x392401=this['cursorInfo'];_0x392401[_0x176435(0x3a1)](_0xec8f05,_0x351400),this[_0x176435(0x34e)]['next'](_0x392401);}[_0x563413(0x30e)](_0x242921){const _0x4431b8=_0x563413,{memberID:_0x37182a}=_0x242921[_0x4431b8(0x395)],_0x525963=this[_0x4431b8(0x35f)];_0x525963[_0x4431b8(0x1e8)](_0x37182a),this[_0x4431b8(0x34e)]['next'](_0x525963);}['_getMergeRange'](_0x8a1137,_0x1931b1){const _0x56b587=_0x563413;var _0x5af1bf,_0x458a09;const _0x49da27=(_0x458a09=(_0x5af1bf=this[_0x56b587(0x31f)]['getUniverSheetInstance'](this[_0x56b587(0x375)]))==null?void 0x0:_0x5af1bf[_0x56b587(0x386)](_0x8a1137))==null?void 0x0:_0x458a09[_0x56b587(0x2d2)]();return(_0x49da27==null?void 0x0:_0x49da27[_0x56b587(0x3a0)](_0x420532=>_0xc52910[_0x56b587(0x332)](_0x420532,_0x1931b1)))||_0x1931b1;}['_onRefRangeChange'](){const _0x228ec7=_0x563413,_0x656931=new _0x150cba(),_0x5ae6ad=Ii(),_0x451cf2=()=>{const _0x1b49b4=_0x129d;_0x656931[_0x1b49b4(0x37b)]();const _0x1c2716=(_0x12a654,_0x5aba06,_0x41cbd6,_0x37ee1a)=>{const _0x6f9cb7=_0x1b49b4;let _0x12912a=[];switch(_0x12a654['id']){case _0x43c3b2['DeleteRangeMoveLeftCommandId']:{_0x12912a=_0x207f2e(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x3a2)]:{_0x12912a=_0x41f848(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x2d4)]:{_0x12912a=_0x4871a0(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x3af)]:{_0x12912a=_0xf47617(_0x12a654,_0x37ee1a);break;}case _0x43c3b2['InsertRangeMoveRightCommandId']:{_0x12912a=_0x4f3441(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x21d)]:{_0x12912a=_0x4d47b6(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x3a5)]:{_0x12912a=_0x5ad331(_0x12a654,_0x37ee1a);break;}case _0x43c3b2[_0x6f9cb7(0x28d)]:{_0x12912a=_0x218885(_0x12a654,_0x37ee1a);break;}case _0x43c3b2['RemoveRowCommandId']:{_0x12912a=_0x5bf4b9(_0x12a654,_0x37ee1a);break;}}const _0x4e165f=_0x2738a6(_0x12912a,_0x37ee1a),_0x2af7d1=this[_0x6f9cb7(0x35f)][_0x6f9cb7(0x32e)](_0x5aba06);if(_0x2af7d1&&_0x4e165f){const _0x390e0f={..._0x2af7d1,'range':_0x4e165f};this['cursorInfo'][_0x6f9cb7(0x3a1)](_0x5aba06,_0x390e0f),_0x5ae6ad(()=>{const _0x74d187=_0x6f9cb7,_0x5127b9=this[_0x74d187(0x22a)]['registerRefRange'](_0x4e165f,_0x596cdf=>(_0x5127b9['dispose'](),_0x1c2716(_0x596cdf,_0x5aba06,_0x41cbd6,_0x4e165f)));_0x656931[_0x74d187(0x308)](_0x5127b9);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x3d362b,_0x3c78ef)=>{const _0xdf2cc7=_0x1b49b4,{range:_0xc66a9d,sheetID:_0x31d3fd}=_0x3d362b,_0xc1f764=this['_refRangeService'][_0xdf2cc7(0x2bb)](_0xc66a9d,_0x5114cd=>(_0xc1f764['dispose'](),_0x1c2716(_0x5114cd,_0x3c78ef,_0x31d3fd,_0xc66a9d)));_0x656931[_0xdf2cc7(0x308)](_0xc1f764);});};this[_0x228ec7(0x1f8)](_0x3e0e70(this[_0x228ec7(0x34e)]['subscribe'](()=>{_0x451cf2();})));}[_0x563413(0x3cc)](){const _0x3a8763=_0x563413;var _0x40ba35,_0x19654b;if(this[_0x3a8763(0x209)]=!0x0,((_0x40ba35=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x40ba35[_0x3a8763(0x279)]())!==this[_0x3a8763(0x375)])return;const _0x4ba818=(_0x19654b=this[_0x3a8763(0x2fa)]['get'](_0x12cd03)[_0x3a8763(0x254)]())==null?void 0x0:_0x19654b[0x0],_0x4801a2=this[_0x3a8763(0x31f)]['getCurrentUnitForType'](_0x1eb9e8[_0x3a8763(0x394)])[_0x3a8763(0x372)]();_0x4ba818&&_0x4801a2&&this[_0x3a8763(0x365)](_0x4801a2[_0x3a8763(0x2f8)](),_0x4ba818);}['_toggleOffline'](){const _0x4f32e9=_0x563413;this[_0x4f32e9(0x209)]=!0x1;}};Me=mi([x(0x2,_0x5c6460(_0x1d66e7)),x(0x3,_0x5c6460(ke)),x(0x4,_0x5c6460(_0x54d944)),x(0x5,_0x31a664),x(0x6,_0x3117b8),x(0x7,_0x5c6460(_0x4e379b))],Me);var pi=Object[_0x563413(0x350)],Ci=(_0x18cd94,_0x4d715b,_0x17076f,_0x48f933)=>{const _0x495795=_0x563413;for(var _0x55be50=_0x48f933>0x1?void 0x0:_0x48f933?pi(_0x4d715b,_0x17076f):_0x4d715b,_0x4845d8=_0x18cd94[_0x495795(0x37f)]-0x1,_0x41a0df;_0x4845d8>=0x0;_0x4845d8--)(_0x41a0df=_0x18cd94[_0x4845d8])&&(_0x55be50=_0x41a0df(_0x55be50)||_0x55be50);return _0x55be50;},Se=(_0x28c001,_0x56dfcd)=>(_0x39be53,_0x3f82f9)=>_0x56dfcd(_0x39be53,_0x3f82f9,_0x28c001);let H=class extends _0x4b74ae{constructor(_0x110132,_0x1719cd,_0x5897cf){const _0x67fceb=_0x563413;super(),_(this,_0x67fceb(0x3bc),new Map()),_(this,_0x67fceb(0x356),new _0x4ee0db()),(this[_0x67fceb(0x31f)]=_0x110132,this['_injector']=_0x1719cd,this[_0x67fceb(0x223)]=_0x5897cf,this[_0x67fceb(0x2c6)]());}[_0x563413(0x37b)](){const _0x1a6808=_0x563413;super[_0x1a6808(0x37b)](),this[_0x1a6808(0x356)][_0x1a6808(0x342)](),this['_entities'][_0x1a6808(0x29b)](_0x5c9581=>_0x5c9581[_0x1a6808(0x37b)]());}['getCollabCursors$'](_0x57a125){const _0x549bad=_0x563413;return this[_0x549bad(0x3bc)][_0x549bad(0x3b6)](_0x57a125)?this[_0x549bad(0x3bc)][_0x549bad(0x32e)](_0x57a125)[_0x549bad(0x340)]:this[_0x549bad(0x356)][_0x549bad(0x3bf)](_0x509117(_0x5ab78e=>_0x5ab78e[_0x549bad(0x375)]===_0x57a125),_0xc5480d(_0x4043a1=>_0x4043a1[_0x549bad(0x340)]));}[_0x563413(0x2c6)](){const _0x1b3f3c=_0x563413;this[_0x1b3f3c(0x31f)][_0x1b3f3c(0x2ae)](_0x1eb9e8[_0x1b3f3c(0x394)])[_0x1b3f3c(0x3bf)](_0x16b897(this['dispose$']))[_0x1b3f3c(0x240)](async _0x58dd6c=>{const _0x42f35a=_0x1b3f3c,_0x4b69ef=_0x58dd6c['getUnitId'](),_0x1c0292=await this[_0x42f35a(0x382)](_0x4b69ef);this['_entityInit$'][_0x42f35a(0x241)](_0x1c0292),this[_0x42f35a(0x3bc)][_0x42f35a(0x3a1)](_0x4b69ef,_0x1c0292);}),this[_0x1b3f3c(0x31f)][_0x1b3f3c(0x2ae)](_0x1eb9e8[_0x1b3f3c(0x233)])[_0x1b3f3c(0x3bf)](_0x16b897(this['dispose$']))[_0x1b3f3c(0x3bf)](_0x509117(_0x4042ac=>!_0x4042ac[_0x1b3f3c(0x279)]()['startsWith']('__')))[_0x1b3f3c(0x240)](async _0x98011f=>{const _0x3dd452=_0x1b3f3c,_0x4e689e=_0x98011f['getUnitId'](),_0x3bfad0=await this['_startDocCollabCursor'](_0x4e689e);this['_entityInit$'][_0x3dd452(0x241)](_0x3bfad0),this[_0x3dd452(0x3bc)][_0x3dd452(0x3a1)](_0x4e689e,_0x3bfad0);}),_0x1b83cd(this[_0x1b3f3c(0x31f)][_0x1b3f3c(0x2d9)](_0x1eb9e8[_0x1b3f3c(0x233)]),this[_0x1b3f3c(0x31f)][_0x1b3f3c(0x2d9)](_0x1eb9e8[_0x1b3f3c(0x394)]))[_0x1b3f3c(0x3bf)](_0x16b897(this[_0x1b3f3c(0x301)]))['subscribe'](_0x1dbcd9=>{const _0x6a6da6=_0x1b3f3c,_0xd059b0=_0x1dbcd9[_0x6a6da6(0x279)](),_0xc6b947=this['_entities'][_0x6a6da6(0x32e)](_0xd059b0);_0xc6b947&&(_0xc6b947[_0x6a6da6(0x37b)](),this['_entities'][_0x6a6da6(0x1e8)](_0xd059b0));});}async[_0x563413(0x382)](_0x1592b5){const _0x20866f=_0x563413,_0x7dfee8=await this[_0x20866f(0x223)]['requireSession'](_0x1592b5),_0x1f2393=this[_0x20866f(0x2fa)][_0x20866f(0x388)](Me,_0x1592b5,_0x7dfee8);return _0x1f2393['init'](),_0x1f2393;}async[_0x563413(0x26b)](_0x2ade84){const _0x55bb08=_0x563413,_0x1aa25d=await this[_0x55bb08(0x223)][_0x55bb08(0x1ea)](_0x2ade84),_0x55e6bd=this[_0x55bb08(0x2fa)]['createInstance'](Ue,_0x2ade84,_0x1aa25d);return _0x55e6bd[_0x55bb08(0x37c)](),_0x55e6bd;}};H=Ci([Se(0x0,_0x31a664),Se(0x1,_0x5c6460(_0x1d66e7)),Se(0x2,_0x5c6460(_0x3919e6))],H);const ee=0x14,Qe=0xc8,me=0x4,Ei=0x5;function bi(_0x56c44b,_0xd5134a){const _0x47dbbc=_0x563413;let {radius:_0x1add1a,width:_0x7ea163,height:_0x1efe9b}=_0xd5134a;_0x1add1a=_0x1add1a!=null?_0x1add1a:0x0,_0x7ea163=_0x7ea163!=null?_0x7ea163:0x1e,_0x1efe9b=_0x1efe9b!=null?_0x1efe9b:0x1e;let _0x2f6a53=0x0,_0x5d5211=0x0,_0x264202=0x0;_0x2f6a53=_0x5d5211=_0x264202=Math[_0x47dbbc(0x23b)](_0x1add1a,_0x7ea163/0x2,_0x1efe9b/0x2),_0x56c44b[_0x47dbbc(0x264)](),_0x56c44b[_0x47dbbc(0x2e6)](_0x2f6a53,0x0),_0x56c44b[_0x47dbbc(0x3d8)](_0x7ea163-_0x5d5211,0x0),_0x56c44b[_0x47dbbc(0x27f)](_0x7ea163-_0x5d5211,_0x5d5211,_0x5d5211,Math['PI']*0x3/0x2,0x0,!0x1),_0x56c44b[_0x47dbbc(0x3d8)](_0x7ea163,_0x1efe9b-_0x264202),_0x56c44b[_0x47dbbc(0x27f)](_0x7ea163-_0x264202,_0x1efe9b-_0x264202,_0x264202,0x0,Math['PI']/0x2,!0x1),_0x56c44b[_0x47dbbc(0x3d8)](0x0,_0x1efe9b),_0x56c44b['lineTo'](0x0,_0x2f6a53),_0x56c44b[_0x47dbbc(0x27f)](_0x2f6a53,_0x2f6a53,_0x2f6a53,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x56c44b[_0x47dbbc(0x33e)](),_0xd5134a[_0x47dbbc(0x2e0)]&&(_0x56c44b[_0x47dbbc(0x243)](),_0x56c44b['fillStyle']=_0xd5134a[_0x47dbbc(0x2e0)],_0xd5134a[_0x47dbbc(0x3bd)]==='evenodd'?_0x56c44b[_0x47dbbc(0x2e0)](_0x47dbbc(0x389)):_0x56c44b[_0x47dbbc(0x2e0)](),_0x56c44b[_0x47dbbc(0x3c2)]());}class he extends _0x1c8015{constructor(_0x2c5276,_0x5c2ecf){const _0x55f35b=_0x563413;super(_0x2c5276,_0x5c2ecf),_(this,'color'),_(this,_0x55f35b(0x2d0)),(this[_0x55f35b(0x2a9)]=_0x5c2ecf==null?void 0x0:_0x5c2ecf['color'],this[_0x55f35b(0x2d0)]=_0x5c2ecf==null?void 0x0:_0x5c2ecf[_0x55f35b(0x2d0)]);}static[_0x563413(0x323)](_0x455f50,_0x4733b3){const _0x386c60=_0x563413,{text:_0x51b0be,color:_0x114074}=_0x4733b3;_0x455f50[_0x386c60(0x243)](),_0x455f50[_0x386c60(0x227)]=_0x386c60(0x348);const _0x5ef6f8=_0x455f50[_0x386c60(0x2f4)](_0x51b0be)['width'],_0x1f8952=Math[_0x386c60(0x23b)](_0x5ef6f8+0x2*me,Qe);bi(_0x455f50,{'height':ee,'radius':0x4,'width':_0x1f8952,'fill':_0x114074}),_0x455f50[_0x386c60(0x341)]=_0x386c60(0x205);const _0x1c6ec7=me,_0x4ad808=ee-Ei,_0x2a1529=Qe-0x2*me;if(_0x5ef6f8>_0x2a1529){let _0x4f3fff='',_0x4ad3a3=0x0;for(const _0x35211b of _0x51b0be){const _0x27c1dc=_0x455f50[_0x386c60(0x2f4)](_0x35211b)[_0x386c60(0x385)];if(_0x4ad3a3+_0x27c1dc<=_0x2a1529-_0x455f50[_0x386c60(0x2f4)](_0x386c60(0x355))['width'])_0x4f3fff+=_0x35211b,_0x4ad3a3+=_0x27c1dc;else{_0x4f3fff+=_0x386c60(0x355);break;}}_0x455f50[_0x386c60(0x2a7)](_0x4f3fff,_0x1c6ec7,_0x4ad808);}else _0x455f50[_0x386c60(0x2a7)](_0x51b0be,_0x1c6ec7,_0x4ad808);_0x455f50['restore']();}[_0x563413(0x370)](_0x29a275){const _0x13502a=_0x563413;he[_0x13502a(0x323)](_0x29a275,this);}}const ge=_0x563413(0x2a8),Oi=_0x563413(0x393),Ti=_0x563413(0x29c),X=0x6,Ri=1.5,ve=0x4,Di=1.5,Ni=_0x563413(0x360);class qe{constructor(_0x2d77ff,_0x5e8f12,_0x2f833c,_0x152faf){const _0x1f39dd=_0x563413;_(this,_0x1f39dd(0x336),[]),_(this,_0x1f39dd(0x1ed),null),_(this,_0x1f39dd(0x2f2),null),_(this,'_anchorDot',null),_(this,_0x1f39dd(0x1eb),null),_(this,'_eventUnsubscribe',null),(this[_0x1f39dd(0x23e)]=_0x2d77ff,this[_0x1f39dd(0x218)]=_0x5e8f12,this[_0x1f39dd(0x390)]=_0x2f833c,this[_0x1f39dd(0x1d7)]=_0x152faf,this['_render']());}set[_0x563413(0x285)](_0x5b2a98){const _0x5bd146=_0x563413;_0x5b2a98?(this[_0x5bd146(0x324)]&&this[_0x5bd146(0x324)]['hide'](),this[_0x5bd146(0x2f2)]&&this['_textBubble'][_0x5bd146(0x244)]()):(this[_0x5bd146(0x324)]&&this[_0x5bd146(0x324)]['show'](),this['_textBubble']&&this[_0x5bd146(0x2f2)][_0x5bd146(0x3ba)]());}['dispose'](){const _0xa47711=_0x563413;for(const _0x592bc9 of this[_0xa47711(0x336)])_0x592bc9[_0xa47711(0x37b)]();this[_0xa47711(0x2f2)]&&this[_0xa47711(0x2f2)][_0xa47711(0x37b)](),this[_0xa47711(0x324)]&&this[_0xa47711(0x324)][_0xa47711(0x37b)](),this[_0xa47711(0x1ed)]&&this[_0xa47711(0x1ed)][_0xa47711(0x37b)](),this['_eventUnsubscribe']&&this[_0xa47711(0x3c0)]();}[_0x563413(0x28c)](){const _0x664114=_0x563413;var _0x59365c;const {_docSkeleton:_0x53abf1,_document:_0x19cec7}=this,{color:_0x3c38a4,name:_0x11962d,ranges:_0x40a600}=this[_0x664114(0x23e)],_0x2e8375=_0x19cec7[_0x664114(0x27d)](),{docsLeft:_0x3435af,docsTop:_0x31395c}=_0x2e8375,_0x3a4a5a=new _0x57941f(_0x2e8375,_0x53abf1);for(const {startOffset:_0x262eda,endOffset:_0x2128a3,rangeType:_0x16b71c,segmentId:_0x116a88,segmentPage:_0x58583d,collapsed:_0x12034a,isActive:_0x15d1a5}of _0x40a600){const _0x5e8f01=_0x53abf1[_0x664114(0x248)](_0x262eda,!0x0,_0x116a88,_0x58583d);let _0x3d117c=_0x53abf1[_0x664114(0x248)](_0x2128a3,!0x0,_0x116a88,_0x58583d);if(_0x3d117c==null&&(_0x3d117c=_0x53abf1[_0x664114(0x248)](_0x2128a3-0x1,!0x1,_0x116a88,_0x58583d)),_0x15d1a5){const {contentBoxPointGroup:_0x3061f0}=_0x3a4a5a[_0x664114(0x296)](_0x3d117c,_0x3d117c);if(_0x3061f0[_0x664114(0x37f)]===0x0)continue;this[_0x664114(0x39f)](_0x3c38a4,_0x3061f0,_0x3435af,_0x31395c,_0x11962d),this['_eventUnsubscribe']=this[_0x664114(0x34d)]();}if(_0x5e8f01&&_0x3d117c){if(_0x16b71c===_0x245254[_0x664114(0x37a)]){const _0x591f86=new _0xdf1a59(_0x2e8375,_0x53abf1),{pointGroup:_0x268e71}=(_0x59365c=_0x591f86[_0x664114(0x296)](_0x5e8f01,_0x3d117c))!=null?_0x59365c:{};if(_0x268e71==null||_0x268e71[_0x664114(0x37f)]===0x0)continue;this['_drawRectRange'](_0x3c38a4,_0x268e71,_0x3435af,_0x31395c);}else{if(!_0x12034a){const {borderBoxPointGroup:_0xad8a27}=_0x3a4a5a['getRangePointData'](_0x5e8f01,_0x3d117c);if(_0xad8a27[_0x664114(0x37f)]===0x0)continue;this[_0x664114(0x3a7)](_0x3c38a4,_0xad8a27,_0x3435af,_0x31395c);}}}}}[_0x563413(0x39f)](_0x82bd8a,_0x1c685d,_0x343a3e,_0x565a90,_0x5a010b){const _0x14cda1=_0x563413,_0x2558dd=this[_0x14cda1(0x287)](_0x1c685d),{left:_0x82a818,top:_0x34038b,height:_0x407633}=_0x2558dd,_0x2d8c90=this[_0x14cda1(0x211)](),_0x32c829=Di/_0x2d8c90,_0x14eb5d=new _0x17081d(ge+_0x17cd4d[_0x14cda1(0x290)](X),{'left':_0x82a818+_0x343a3e-_0x32c829,'top':_0x34038b+_0x565a90,'height':_0x407633,'width':Ri,'fill':_0x82bd8a||_0x50666a(_0x2a7dc9[_0x14cda1(0x327)],0x0),'strokeWidth':_0x32c829,'stroke':Ni,'evented':!0x0});this[_0x14cda1(0x1ed)]=_0x14eb5d,this[_0x14cda1(0x218)][_0x14cda1(0x27c)](_0x14eb5d,_0x3fc072);const _0x20ac59=new _0x17081d(ge+_0x17cd4d['generateRandomId'](X),{'left':_0x82a818+_0x343a3e-_0x32c829,'top':_0x34038b+_0x565a90-ve/0x2,'height':ve,'width':ve,'fill':_0x82bd8a||_0x50666a(_0x2a7dc9[_0x14cda1(0x327)],0x0),'strokeWidth':0x0,'stroke':_0x82bd8a||_0x50666a(_0x2a7dc9['black'],0x0),'evented':!0x1});this[_0x14cda1(0x324)]=_0x20ac59,this[_0x14cda1(0x218)][_0x14cda1(0x27c)](_0x20ac59,_0x3fc072);const _0x10662a=new he(ge+_0x17cd4d[_0x14cda1(0x290)](X),{'left':_0x82a818+_0x343a3e-_0x32c829,'top':_0x34038b+_0x565a90-ee,'text':_0x5a010b,'color':_0x82bd8a});this[_0x14cda1(0x2f2)]=_0x10662a,this['_scene'][_0x14cda1(0x27c)](_0x10662a,_0x3fc072),this[_0x14cda1(0x285)]=!0x1;}[_0x563413(0x34d)](){const _0x2cc88a=_0x563413,_0x520e41=this['_anchor']['onPointerEnter$'][_0x2cc88a(0x313)](()=>{this['_hover']=!0x0;}),_0x49f332=this['_anchor'][_0x2cc88a(0x3c1)][_0x2cc88a(0x313)](()=>{const _0x43e450=_0x2cc88a;this[_0x43e450(0x1eb)]&&clearTimeout(this[_0x43e450(0x1eb)]),this[_0x43e450(0x1eb)]=setTimeout(()=>{const _0x5859cd=_0x43e450;this[_0x5859cd(0x285)]=!0x1;},0x7d0);});return()=>{const _0x31cca7=_0x2cc88a;_0x520e41[_0x31cca7(0x272)](),_0x49f332['unsubscribe']();};}[_0x563413(0x3a7)](_0x354607,_0x4afd98,_0x3177f1,_0x5f06d8){const _0x259e7a=_0x563413,_0x18f8e0=new _0x3eb592(_0x354607)[_0x259e7a(0x20d)](0.2)[_0x259e7a(0x2ab)](),_0x3590ff=new _0x5d7fb6(Oi+_0x17cd4d[_0x259e7a(0x290)](X),{'pointsGroup':_0x4afd98,'fill':_0x18f8e0||_0x50666a(_0x2a7dc9[_0x259e7a(0x327)],0.2),'left':_0x3177f1,'top':_0x5f06d8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x259e7a(0x336)]['push'](_0x3590ff),this[_0x259e7a(0x218)][_0x259e7a(0x27c)](_0x3590ff,_0x3fc072);}[_0x563413(0x26d)](_0x1ff831,_0x421a6a,_0x193aa7,_0x31fba2){const _0x178896=_0x563413,_0x3e3815=new _0x3eb592(_0x1ff831)[_0x178896(0x20d)](0.2)[_0x178896(0x2ab)](),_0x32f0be=new _0x5d7fb6(Ti+_0x17cd4d['generateRandomId'](X),{'pointsGroup':_0x421a6a,'fill':_0x3e3815||_0x50666a(_0x2a7dc9[_0x178896(0x327)],0.2),'left':_0x193aa7,'top':_0x31fba2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x178896(0x336)]['push'](_0x32f0be),this[_0x178896(0x218)][_0x178896(0x27c)](_0x32f0be,_0x3fc072);}[_0x563413(0x287)](_0xba4ce7){const _0x120f54=_0xba4ce7[0x0],_0xab921a=_0x120f54[0x0],_0x234117=_0x120f54[0x2],{x:_0xa1e062,y:_0x56261d}=_0xab921a,{x:_0x25f522,y:_0x1182e4}=_0x234117;return{'left':_0xa1e062,'top':_0x56261d,'width':_0x25f522-_0xa1e062,'height':_0x1182e4-_0x56261d};}[_0x563413(0x211)](){const _0x1bb65d=_0x563413,{scaleX:_0x1f683e,scaleY:_0x2d2ba9}=this[_0x1bb65d(0x218)][_0x1bb65d(0x3d0)]();return Math[_0x1bb65d(0x306)](_0x1f683e,_0x2d2ba9);}}var Ui=Object[_0x563413(0x350)],Mi=(_0xc658b0,_0x30ef01,_0x1cf7fe,_0x23b1a5)=>{const _0x1006ff=_0x563413;for(var _0x2f48da=_0x23b1a5>0x1?void 0x0:_0x23b1a5?Ui(_0x30ef01,_0x1cf7fe):_0x30ef01,_0x244f91=_0xc658b0[_0x1006ff(0x37f)]-0x1,_0x492eba;_0x244f91>=0x0;_0x244f91--)(_0x492eba=_0xc658b0[_0x244f91])&&(_0x2f48da=_0x492eba(_0x2f48da)||_0x2f48da);return _0x2f48da;},Z=(_0x5b8f1e,_0x24f4bd)=>(_0xa8cc56,_0x5c6ced)=>_0x24f4bd(_0xa8cc56,_0x5c6ced,_0x5b8f1e);let Pe=class extends _0x4b74ae{constructor(_0x283581,_0x3b0a65,_0x5aeee9,_0x199704,_0x24fff3){const _0x1f13e3=_0x563413;super(),_(this,'_cursorShapes',[]),_(this,_0x1f13e3(0x273),[]),(this[_0x1f13e3(0x1f1)]=_0x283581,this['_docSkeletonManagerService']=_0x3b0a65,this[_0x1f13e3(0x31c)]=_0x5aeee9,this[_0x1f13e3(0x30f)]=_0x199704,this[_0x1f13e3(0x32b)]=_0x24fff3,this[_0x1f13e3(0x2c6)]());}[_0x563413(0x2c6)](){const _0x18cd0e=_0x563413,_0x314930=this[_0x18cd0e(0x1f1)]['unitId'],_0x2603e0=this[_0x18cd0e(0x315)];this[_0x18cd0e(0x1f8)](_0x10706b([this[_0x18cd0e(0x31c)][_0x18cd0e(0x26c)](_0x314930),this[_0x18cd0e(0x32b)]['currentTheme$']])[_0x18cd0e(0x3bf)](_0x1ba986(([_0x141ac7,_0x47e242])=>({'skeleton':_0x2603e0[_0x18cd0e(0x2d7)](),'cursors':[..._0x141ac7[_0x18cd0e(0x1de)]()][_0x18cd0e(0x23a)](_0x43c532=>({..._0x43c532,'color':_0x47e242[_0x43c532['color']]}))})))[_0x18cd0e(0x240)](_0x373158=>{const _0x3abaa9=_0x18cd0e;if(this[_0x3abaa9(0x34c)](),_0x373158){const {skeleton:_0x417bf0,cursors:_0x32ef90}=_0x373158;this[_0x3abaa9(0x2ea)](_0x417bf0,_0x32ef90);}})),this[_0x18cd0e(0x1e1)](),this[_0x18cd0e(0x1ef)]();}[_0x563413(0x2ea)](_0x32cd3a,_0x81a2cf){const _0x307bcd=_0x563413,{scene:_0x542865,mainComponent:_0x1788dd}=this['_context'],_0x2d685b=_0x81a2cf[_0x307bcd(0x314)](_0x2abbac=>new qe(_0x2abbac,_0x542865,_0x32cd3a,_0x1788dd));this[_0x307bcd(0x1d5)]=_0x2d685b,this[_0x307bcd(0x273)]=_0x81a2cf;}['_refreshCollabCursors'](){const _0x3ec478=_0x563413;this[_0x3ec478(0x34c)]();const {scene:_0x13be9a,mainComponent:_0x382e95}=this['_context'],_0x462204=this['_docSkeletonManagerService'][_0x3ec478(0x2d7)](),_0x1799fd=this['_cursors']['map'](_0x3cf7ee=>new qe(_0x3cf7ee,_0x13be9a,_0x462204,_0x382e95));this[_0x3ec478(0x1d5)]=_0x1799fd;}['_removeCollabCursors'](){const _0x5c9747=_0x563413;this[_0x5c9747(0x1d5)]['forEach'](_0x482978=>_0x482978[_0x5c9747(0x37b)]()),this[_0x5c9747(0x1d5)]=[];}[_0x563413(0x1ef)](){const _0xc0fbc4=_0x563413,_0x55b599=[_0x3963d1['id']];this['disposeWithMe'](this[_0xc0fbc4(0x30f)][_0xc0fbc4(0x1d3)](_0x5b28d6=>{const _0x19c940=_0xc0fbc4;_0x55b599[_0x19c940(0x24f)](_0x5b28d6['id'])&&_0x5b28d6[_0x19c940(0x2ac)]['unitId']===this[_0x19c940(0x1f1)][_0x19c940(0x35c)]&&this[_0x19c940(0x29f)]();}));}['_initResize'](){const _0x259f9c=_0x563413;this['disposeWithMe'](_0x4c5485(this[_0x259f9c(0x1f1)][_0x259f9c(0x24b)][_0x259f9c(0x399)])[_0x259f9c(0x3bf)](_0x397e46(_0x268737=>_0x268737[_0x259f9c(0x3b0)]===_0x51a3cb[_0x259f9c(0x3c8)]),_0x1d7bc4(0x10))[_0x259f9c(0x240)](()=>{const _0x3e1149=_0x259f9c;this[_0x3e1149(0x29f)]();}));}};Pe=Mi([Z(0x1,_0x5c6460(_0x4f1317)),Z(0x2,_0x5c6460(H)),Z(0x3,_0x3117b8),Z(0x4,_0x5c6460(_0x1ee369))],Pe);const Pi=0x1,wi=1.5;function _0x5b78(){const _0x214693=['3616XOnJoX','beginPath','APPLY_REVISION_CONFILICT','_status$','LICENSE_MAX_UNITS_EXCEEDED','collaboration-client.offline-data-not-saved','_transformPreviousActiveRange','colorChannel1','_startDocCollabCursor','getCollabCursors$','_drawRectRange','whenReady','blue400','_createSocketURL','runId','unsubscribe','_cursors','mask','OTHER_CLIENT_EDITING','LOGIN_FAILED','_beforeCloseService','ticket','getUnitId','univer-flex\x20univer-items-center','origin','addObject','getOffsetConfig','debug','arc','getUnitStatus$','clearTimeout','code','_ensureSubject','TEXT','_hover','doc.mutation.rich-text-editing','_getAnchorBounding','UNRECOGNIZED','unshift','collabStatus.offline','unload','_render','RemoveColCommandId','_heartbeatTimer','imageSourceType','generateRandomId','_logService','_uiPartsService','setConfig','off-line-single','on-line-single_clip0_910_349','getRangePointData','isEditing','_localeService','with','mutations','forEach','collab-rect-range-','activeSheet$','NOT_FOUND','_refreshCollabCursors','_setupBeforeClosingHandler','Unknown\x20user','session.connection-failed','ONLINE','purple300','clearInterval','_send','fillText','collab-text-anchor-','color','_name','toRgbString','params','getParam','getTypeOfUnitAdded$','event$','height','UNDEFINED','path','_range','split','WECHAT_HAS_BEEN_BOUND','makeDirty','currentColor','searchParams','saveImage','_transformService','registerRefRange','setInterval','5066nHjdoR','selection','div','transformMutationsWithChangeset','univer-text-red-500','_unitOnClients','INVITE_CODE_REQUIRED','LICENSE_EXPORT_SIZE_EXCEEDED','range','_init','_sheetSkeletonManagerService','idSuffix','univerjs-icon\x20univerjs-icon-','push','none','propertyIsEnumerable','23597EoKrGu','invokeId','ranges','text','_handleJoinEvent','getMergeData','transformIMECache','InsertColCommandId','currentTheme$','transformRemoteChangeset','getSkeleton','uni.network.url-service','getTypeOfUnitDisposed$','tag','url(#off-line-single_clip0_910_343)','getStateCache','sessionStatus$','roomMembers','all','fill','getCurrentRevOfUnit','substring','random','_getSaveTimeout','UNAUTHENTICATED','moveTo','USER_NOT_INVITED_CODE','onMouseMove','location','_updateCollabCursors','APPLY_PERMISSION_DENIED','unit','getUnhiddenWorksheets','setShapeProps','collaboration.single-unit.warning','eventID','APPLY_REJECT','_textBubble','_onCursorUpdate','measureText','getValue','storage','PERMISSION_DENIED','getSheetId','INVALID_INVITE_CODE','_injector','2262744WhBsrz','subUnitId','UniverIcon','_initEvent','column','CLOSE_ROOM','dispose$','result','disableLocalCache','translate(.97)','_selfUnitIDs','max','asObservable','add','[RemoteUniscriptService]:\x20no\x20focused\x20unit','YUUMI_URL_COL_OUT_OF_RANGE','attrs','defineProperty','getFocusedUnit','_onCursorDelete','_commandService','m1Prime','_labelPosition','isArray','subscribeEvent','map','_docSkeletonManagerService','extend','triggerDblclick','reconnect','_scheduleHeartbeat','application/json','CONNECTOR_DATA_TOO_LARGE','_collabCursorController','_session','MOBILE_HAS_BEEN_BOUND','_univerInstanceService','M0\x200H16V16H0z','startRow','redoState','drawWith','_anchorDot','INVITE_CODE_HAS_BEEN_UES','_saveTaskMap','black','on-line-single','_assignedColors','_disabled','_themeService','string','HEADER_MENU','get','_urlService','JOIN_ROOM_FAILED','_lastPointer','contains','YUUMI_UNABLE_LOAD_URL','popstate','_revisionService','_shapes','4392652prdnmk','_config','send','_updateSubUnitFromURLParams','univer-flex\x20univer-mr-2\x20univer-text-[20px]','setStateCache','undoState','closePath','exhaustSavingTask','cursorInfo$','fillStyle','complete','syncEditingCollabCursor','1em','_notificationService','addHandlerCallback','transformSelections','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','from','hasOwnProperty','then','_removeCollabCursors','_handleHover','_cursorInfo$','entries','getOwnPropertyDescriptor','_messageService','#fff','registerBeforeClose','editingUnit','...','_entityInit$','toString','_localStorageService','name','_getMergeRange','url(#$1','unitId','transformStateCache','AWAITING','cursorInfo','rgba(255,\x20255,\x20255,\x200.01)','history','collaboration.closeRoom','OTHER_CLIENTS_EDITING','disposeUnit','_updateLocalCursor','_configService','transformMutation','OffLineSingle','Warning','96qgqTdJ','_localCacheService','YUUMI_RATE_OVER_LIMIT','size','off-line-single_clip0_910_343','use','_draw','YUUMI_SUBSCRIPTION_NOT_FOUND','getActiveSheet','_transformHistoryAndStateStack','getRelativeToViewportCoord','unitID','UPDATE_CURSOR','_docTransformSelectionsService','onRendered','/run/','RECT','dispose','init','_docTransformStateCacheService','prototype','length','NO_OTHER_CLIENTS_EDITING','focused$','_startSheetCollabCursor','sessionTicket','FromArray','width','getSheetBySheetId','onPointerEnter$','createInstance','evenodd','_handleLeaveEvent','jiqing500','replace','sheetId','SNAPSHOT_INVALID_SNAPSHOT','round','_docSkeleton','_hovered','_saveCache','collab-text-range-','UNIVER_SHEET','data','_cachedData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','defs','onTransformChange$','PY_RUNTIME_SCRIPT_ERROR','_syncEditingCollabCursorService','currentSkeleton$','_scheduleClearOtherTimer','removeParam','_drawAnchor','find','set','DeleteRangeMoveUpCommandId','assign','getItem','MoveRangeCommandId','OFFLINE','_drawTextRange','registerComponent','runOnServer','collabStatus.fetchMiss','_instanceService','_color','_id','setUndoRedoMutationParamsCache','InsertRangeMoveDownCommandId','type','_imageIoService','replaceState','_doCreateSocket','isActive','setActiveRange','has','some','parse','_scheduleSaving','hide','_docTransformIMECacheService','_entities','fillRule','transform','pipe','_eventUnsubscribe','onPointerLeave$','restore','_setupSubUnitSync','url(#on-line-single_clip0_910_349)','LICENSE_DISTRO_REJECTED','deepClone','getActiveRange','resize','session.collaboration-timeout','12yzvzLW','_collaborationController','_toggleOnline','_initStatusListener','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','roomMembers$','getAncestorScale','onLocalMutation','collabCursorState$','_toggleOffline','defIds','EMAIL_HAS_BEEN_BOUND','_removeClearOtherTimer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','lineTo','_docClipboardService','icon','getCollabEntity$','onCommandExecuted','apply','_cursorShapes','SOCKET_FAILED_RETRY','_document','permission.content','bottom','getConfig','gold400','_dataLoaderService','subunit','values','_collabCursorState$','executionId','_initResize','body','_collaborationUIEventService','xlink:href','_initStatusComponent','trim','TOO_MANY_REQUESTS','delete','_handleEvent','requireSession','_hideTimer','getVpScrollXYInfoByPosToVp','_anchor','getDocRanges','_initCommandExecutedListener','1670056jKBCUO','_context','setParam','m2Prime','_docStateChangeManagerService','_colorAssignService','indexOf','_onRefRangeChange','disposeWithMe','createSocket','_roomMembers$','collabStatus.conflict','_initDependencies','_docSyncEditingCollabCursorService','setTimeout','pushState','_httpService','42xGWAve','sheetID','_getSheetObject','NOT_COLLAB','#FFF','FETCH_MISS','_getSessionTicket','SOCKET_FAILED','_online','YUUMI_NO_CUBOID_FOR_QUESTION','LICENSE_IMPORT_SIZE_EXCEEDED','href','setAlpha','addEventListener','labelPosition','setItem','_getScale','INVITE_CODE_ALREADY_BOUND','USERS_LEAVE','APPLY_NON_SEQUENTIAL_REVISION','getOwnPropertySymbols','function','displayName','_scene','red300','_clearOtherTimers','47AVZTJf','status$','InsertRowCommandId','SNAPSHOT_HAS_BEEN_REMOVED','getCellPositionByOffset','newValue','replaceDocRanges','_transformUndoRedoStack','_collabSessionService','_unitStatus','collab-client.tooltip.reconnect','CHANGESET_REVISION_CONFILICT','font','_memberService','verdancy600','_refRangeService','getMemberID','Error','10MXhljq','_registerRenderDependencies','345200UGMHSj','COMPLETION_FINISHED','call','_backgroundColor','UNIVER_DOC','ALREADY_EXISTS','assignAColorForMemberID','[CollaborationDataLoaderController]','permission.title','getRenderById','ENSURE_SNAPSHOT_EXECUTION','flatMap','min','getMember','_updateURLWithCurrentState','_cursor','_initEntityListener','subscribe','next','_handleHeartbeatEvent','save','show','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformByState','symbol','findNodePositionByCharIndex','concat','_renderManagerService','engine','YUUMI_ASYNCIO_CANCELLED','Failed','addClipboardHook','includes','svg','collabStatus.syncing','textRanges','executeCommand','getCurrentSelections','source','CONFLICT','urlChange$','key','APPLY_DUPLICATED','override','top','saveTaskMap','error','hovered','endColumn','clipPath','className','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.'];_0x5b78=function(){return _0x214693;};return _0x5b78();}class Li extends _0x1c8015{constructor(_0x21554e,_0x2278a5){const _0x7e552b=_0x563413;super(_0x21554e,_0x2278a5),_(this,_0x7e552b(0x3ac)),_(this,'_hovered',!0x1),_(this,_0x7e552b(0x2b3)),_(this,_0x7e552b(0x2aa),''),_(this,_0x7e552b(0x311),_0x7e552b(0x25b)),_(this,_0x7e552b(0x232)),(_0x2278a5&&this[_0x7e552b(0x2ee)](_0x2278a5),this[_0x7e552b(0x387)][_0x7e552b(0x313)](()=>this[_0x7e552b(0x2ee)]({'hovered':!0x0})),this[_0x7e552b(0x3c1)][_0x7e552b(0x313)](()=>this[_0x7e552b(0x2ee)]({'hovered':!0x1})));}[_0x563413(0x2ee)](_0x44c8af){const _0x19be65=_0x563413;var _0x115600,_0x30c869,_0x58161b,_0x4b32d6,_0x5ee06b,_0x60b211;this[_0x19be65(0x3ac)]=(_0x115600=_0x44c8af[_0x19be65(0x2a9)])!=null?_0x115600:this[_0x19be65(0x3ac)],this[_0x19be65(0x391)]=(_0x30c869=_0x44c8af[_0x19be65(0x25e)])!=null?_0x30c869:this['_hovered'],this[_0x19be65(0x2b3)]=(_0x58161b=_0x44c8af[_0x19be65(0x2c5)])!=null?_0x58161b:this[_0x19be65(0x2b3)],this[_0x19be65(0x2aa)]=(_0x4b32d6=_0x44c8af['name'])!=null?_0x4b32d6:this[_0x19be65(0x2aa)],this[_0x19be65(0x311)]=(_0x5ee06b=_0x44c8af[_0x19be65(0x20f)])!=null?_0x5ee06b:this[_0x19be65(0x311)],this[_0x19be65(0x232)]=(_0x60b211=_0x44c8af['backgroundColor'])!=null?_0x60b211:this[_0x19be65(0x232)],this[_0x19be65(0x246)]({'width':_0x44c8af[_0x19be65(0x385)],'height':_0x44c8af[_0x19be65(0x2b0)]});}[_0x563413(0x2e8)](_0xd949d3){const _0x4c855d=_0x563413,{row:_0x53370d,column:_0x58632a}=_0xd949d3;if(_0x53370d>=this[_0x4c855d(0x2b3)][_0x4c855d(0x321)]&&_0x53370d<=this['_range']['endRow']&&_0x58632a>=this[_0x4c855d(0x2b3)]['startColumn']&&_0x58632a<=this['_range'][_0x4c855d(0x25f)]){this[_0x4c855d(0x2ee)]({'hovered':!0x0});return;}this[_0x4c855d(0x2ee)]({'hovered':!0x1});}[_0x563413(0x317)](_0x595e7b){return!0x1;}[_0x563413(0x370)](_0x27270d){const _0xdf0931=_0x563413;_0x17081d[_0xdf0931(0x323)](_0x27270d,{'width':this[_0xdf0931(0x385)],'height':this[_0xdf0931(0x2b0)],'strokeWidth':wi,'stroke':this['_color'],'evented':!0x1,'fill':this[_0xdf0931(0x232)]}),this[_0xdf0931(0x391)]&&(_0x27270d['save'](),_0x27270d[_0xdf0931(0x3be)](0x1,0x0,0x0,0x1,this[_0xdf0931(0x385)],this[_0xdf0931(0x311)]===_0xdf0931(0x1d9)?0x0:-0x14),he['drawWith'](_0x27270d,{'text':this['_name'],'color':this['_color']}),_0x27270d[_0xdf0931(0x3c2)]());}}var Ai=Object[_0x563413(0x350)],yi=(_0x508a11,_0x2204f9,_0x415fd4,_0x5e769d)=>{const _0x31d862=_0x563413;for(var _0x91e644=_0x5e769d>0x1?void 0x0:_0x5e769d?Ai(_0x2204f9,_0x415fd4):_0x2204f9,_0x1349c1=_0x508a11[_0x31d862(0x37f)]-0x1,_0x3366c3;_0x1349c1>=0x0;_0x1349c1--)(_0x3366c3=_0x508a11[_0x1349c1])&&(_0x91e644=_0x3366c3(_0x91e644)||_0x91e644);return _0x91e644;},Ie=(_0x3ec7f8,_0x45621e)=>(_0x321475,_0x1e7f58)=>_0x45621e(_0x321475,_0x1e7f58,_0x3ec7f8);const $i=0x1389;let we=class extends _0x4b74ae{constructor(_0x5f4ba8,_0x5cb72a,_0x46e3be,_0x393070){const _0x31a4de=_0x563413;super(),_(this,_0x31a4de(0x273),new Set()),_(this,_0x31a4de(0x331),null),(this[_0x31a4de(0x1f1)]=_0x5f4ba8,this[_0x31a4de(0x2c7)]=_0x5cb72a,this[_0x31a4de(0x31c)]=_0x46e3be,this[_0x31a4de(0x32b)]=_0x393070,this[_0x31a4de(0x2c6)]());}[_0x563413(0x2c6)](){const _0x20b8be=_0x563413;this[_0x20b8be(0x2c7)][_0x20b8be(0x39c)][_0x20b8be(0x3bf)](_0x53e4ae(this[_0x20b8be(0x301)]),_0x13823e(_0x4b1530=>{const _0x205f8b=_0x20b8be;if(_0x4b1530){const _0x1c4d3c=_0x4b1530[_0x205f8b(0x38d)];return _0x10706b(this[_0x205f8b(0x31c)]['getCollabCursors$'](this[_0x205f8b(0x1f1)][_0x205f8b(0x35c)]),this[_0x205f8b(0x32b)][_0x205f8b(0x2d5)])[_0x205f8b(0x3bf)](_0x1ba986(([_0x576e7f,_0x3360fc])=>{const _0xfeb563=_0x205f8b,_0x18febb=new Map();return _0x576e7f[_0xfeb563(0x29b)]((_0x1243fc,_0x2d8547)=>{const _0x59fc34=_0xfeb563;if(_0x1243fc[_0x59fc34(0x202)]===_0x1c4d3c){const _0x3d1125={..._0x1243fc};_0x3d1125['color']=_0x3360fc[_0x1243fc[_0x59fc34(0x2a9)]],_0x18febb[_0x59fc34(0x3a1)](_0x2d8547,_0x3d1125);}}),{'skeleton':_0x4b1530,'cursors':_0x18febb};}));}return _0x1ce394({'skeleton':null,'cursors':new Map()});}))[_0x20b8be(0x240)](({skeleton:_0x43c9c2,cursors:_0x1fdf69})=>{const _0x5957ed=_0x20b8be;this[_0x5957ed(0x34c)](),_0x43c9c2&&this[_0x5957ed(0x2ea)](_0x43c9c2,_0x1fdf69);}),this[_0x20b8be(0x2c7)][_0x20b8be(0x39c)][_0x20b8be(0x240)](_0x470046=>{const _0x40dafc=_0x20b8be;if(_0x470046==null)return;const {skeleton:_0x22a24e}=_0x470046,{scene:_0x4c7901}=this['_context'];_0x4c7901['onPointerMove$'][_0x40dafc(0x313)](_0x26c543(_0x466eef=>{const _0xe61bde=_0x40dafc;var _0x5d374a,_0x5183cd;const {offsetX:_0x5b6889,offsetY:_0x377326}=_0x466eef,{x:_0x5e0522,y:_0x4326d8}=_0x4c7901[_0xe61bde(0x374)](_0x22f062[_0xe61bde(0x384)]([_0x5b6889,_0x377326])),{scaleX:_0x1e3bb,scaleY:_0x2ecdc0}=_0x4c7901[_0xe61bde(0x3d0)](),_0x3a01e4=_0x4c7901['getViewport'](_0x6d020d['VIEW_MAIN']),_0x5b380f=_0x4c7901[_0xe61bde(0x1ec)](_0x22f062['FromArray']([_0x5e0522,_0x4326d8]),_0x3a01e4),_0xff5102=_0x22a24e[_0xe61bde(0x21f)](_0x5b6889,_0x377326,_0x1e3bb,_0x2ecdc0,_0x5b380f);((_0x5d374a=this[_0xe61bde(0x331)])==null?void 0x0:_0x5d374a['column'])===_0xff5102[_0xe61bde(0x2ff)]&&((_0x5183cd=this['_lastPointer'])==null?void 0x0:_0x5183cd['row'])===_0xff5102['row']||this[_0xe61bde(0x273)][_0xe61bde(0x29b)](_0xc53e54=>{const _0x4ae01f=_0xe61bde;_0xc53e54[_0x4ae01f(0x2e8)](_0xff5102);});},0x64));});}[_0x563413(0x2ea)](_0x254f03,_0x2007d9){const _0x36570b=_0x563413;var _0x27c72c;const _0x1375d3=(_0x27c72c=this[_0x36570b(0x2c7)]['getCurrent']())==null?void 0x0:_0x27c72c['skeleton'];if(!_0x1375d3)return;const _0xe61c54=this[_0x36570b(0x203)]();if(!_0xe61c54)return;this[_0x36570b(0x273)][_0x36570b(0x29b)](_0xa160f8=>{const _0xc30c60=_0x36570b;_0xa160f8[_0xc30c60(0x2b6)]();});const {scene:_0x41f9f1}=_0xe61c54,_0x2e8fb=xi(Array[_0x36570b(0x349)](_0x2007d9[_0x36570b(0x1de)]()))[_0x36570b(0x314)](_0xa94087=>{const _0x3cb362=_0x36570b,{color:_0x5488dd,range:_0x499f5b,name:_0x499ac4,selection:_0x3c5c90,sheetID:_0x11eb4d}=_0xa94087,{startColumn:_0x1437b6,startRow:_0x4c90ab,endColumn:_0x9402c1,endRow:_0x5b68af}=_0x499f5b,_0x44974e=_0x58b02a(_0x4c90ab,_0x1437b6,_0x41f9f1,_0x1375d3),_0x1115c4=_0x58b02a(_0x5b68af,_0x9402c1,_0x41f9f1,_0x1375d3),{columnHeaderHeightAndMarginTop:_0x6ef1b1}=_0x1375d3,{startX:_0x573b7b,startY:_0x26710d}=_0x44974e,{endX:_0x1a01c9,endY:_0x4cfd8d}=_0x1115c4,_0x3288c9=_0x1a01c9-_0x573b7b,_0x4a6daa=_0x4cfd8d-_0x26710d,_0x506403={'labelPosition':_0x26710d-_0x6ef1b1>=ee?_0x3cb362(0x25b):'bottom','sheetID':_0x11eb4d,'range':_0x499f5b,'color':_0x5488dd,'name':_0x499ac4,'selection':_0x3c5c90,'left':_0x573b7b,'top':_0x26710d,'width':_0x3288c9,'height':_0x4a6daa,'evented':!0x1,'zIndex':$i};return new Li(_0x499ac4,_0x506403);});_0x41f9f1['addObjects'](_0x2e8fb,Pi),this[_0x36570b(0x273)]=new Set(_0x2e8fb);}['_removeCollabCursors'](){const _0x4b2b67=_0x563413;var _0x15e071;(_0x15e071=this[_0x4b2b67(0x273)])==null||_0x15e071[_0x4b2b67(0x29b)](_0x2f2e64=>_0x2f2e64[_0x4b2b67(0x37b)]());}['_getSheetObject'](){const _0x292a25=_0x563413;return _0x2f0b6e(this[_0x292a25(0x1f1)][_0x292a25(0x2ec)],this[_0x292a25(0x1f1)]);}};we=yi([Ie(0x1,_0x5c6460(_0x3ea723)),Ie(0x2,_0x5c6460(H)),Ie(0x3,_0x5c6460(_0x1ee369))],we);function xi(_0x46890e){const _0x50a159=_0x563413,_0x79ae45=new Map();return _0x46890e['forEach'](_0x4ca32b=>{const _0x11cabf=_0x129d;if(_0x79ae45['has'](_0x4ca32b[_0x11cabf(0x2be)])){const _0x5df262=_0x79ae45[_0x11cabf(0x32e)](_0x4ca32b['selection']);_0x5df262[_0x11cabf(0x359)]+=',\x20'+_0x4ca32b['name'];}else _0x79ae45['set'](_0x4ca32b[_0x11cabf(0x2be)],_0x4ca32b);}),Array[_0x50a159(0x349)](_0x79ae45[_0x50a159(0x1de)]());}var I=function(){const _0x46a80b=_0x563413;return I=Object[_0x46a80b(0x3a3)]||function(_0x2774f2){const _0x4c18d3=_0x46a80b;for(var _0xc4d2be,_0x56e151=0x1,_0x22240c=arguments[_0x4c18d3(0x37f)];_0x56e151<_0x22240c;_0x56e151++){_0xc4d2be=arguments[_0x56e151];for(var _0x17ef70 in _0xc4d2be)Object[_0x4c18d3(0x37e)][_0x4c18d3(0x34a)]['call'](_0xc4d2be,_0x17ef70)&&(_0x2774f2[_0x17ef70]=_0xc4d2be[_0x17ef70]);}return _0x2774f2;},I[_0x46a80b(0x1d4)](this,arguments);},Bi=function(_0x488b00,_0x42afd5){const _0x5a303d=_0x563413;var _0x7e3192={};for(var _0x2fc5a9 in _0x488b00)Object['prototype']['hasOwnProperty'][_0x5a303d(0x231)](_0x488b00,_0x2fc5a9)&&_0x42afd5[_0x5a303d(0x1f6)](_0x2fc5a9)<0x0&&(_0x7e3192[_0x2fc5a9]=_0x488b00[_0x2fc5a9]);if(_0x488b00!=null&&typeof Object[_0x5a303d(0x215)]==_0x5a303d(0x216)){for(var _0x2d71fd=0x0,_0x2fc5a9=Object[_0x5a303d(0x215)](_0x488b00);_0x2d71fd<_0x2fc5a9[_0x5a303d(0x37f)];_0x2d71fd++)_0x42afd5[_0x5a303d(0x1f6)](_0x2fc5a9[_0x2d71fd])<0x0&&Object[_0x5a303d(0x37e)][_0x5a303d(0x2cc)]['call'](_0x488b00,_0x2fc5a9[_0x2d71fd])&&(_0x7e3192[_0x2fc5a9[_0x2d71fd]]=_0x488b00[_0x2fc5a9[_0x2d71fd]]);}return _0x7e3192;},je=_0x75af45(function(_0x13b585,_0x225399){const _0x41442d=_0x563413;var _0x5ee1ab=_0x13b585[_0x41442d(0x3da)],_0x2a284e=_0x13b585['id'],_0x5e4a05=_0x13b585[_0x41442d(0x261)],_0x42a337=_0x13b585[_0x41442d(0x316)],_0x50572b=Bi(_0x13b585,['icon','id',_0x41442d(0x261),_0x41442d(0x316)]),_0x247fbf=_0x41442d(0x2c9)[_0x41442d(0x249)](_0x2a284e,'\x20')[_0x41442d(0x249)](_0x5e4a05||'')[_0x41442d(0x1e6)](),_0x417ebe=_0x16e5d0('_'[_0x41442d(0x249)](ji()));return Rt(_0x5ee1ab,''[_0x41442d(0x249)](_0x2a284e),{'defIds':_0x5ee1ab['defIds'],'idSuffix':_0x417ebe['current']},I({'ref':_0x225399,'className':_0x247fbf},_0x50572b),_0x42a337);});function Rt(_0x1896c8,_0x293dc5,_0x7d180c,_0x50d6cb,_0x4bb102){return _0x2072fd(_0x1896c8['tag'],I(I({'key':_0x293dc5},ki(_0x1896c8,_0x7d180c,_0x4bb102)),_0x50d6cb),(Hi(_0x1896c8,_0x7d180c)['children']||[])['map'](function(_0x52efd6,_0x128d72){const _0x352268=_0x129d;return Rt(_0x52efd6,''[_0x352268(0x249)](_0x293dc5,'-')[_0x352268(0x249)](_0x1896c8['tag'],'-')[_0x352268(0x249)](_0x128d72),_0x7d180c,void 0x0,_0x4bb102);}));}function ki(_0x1d397d,_0xb2f9c2,_0x109cfc){const _0x2f6182=_0x563413;var _0x3d71ba=I({},_0x1d397d[_0x2f6182(0x30b)]);_0x109cfc!=null&&_0x109cfc[_0x2f6182(0x26a)]&&_0x3d71ba[_0x2f6182(0x2e0)]==='colorChannel1'&&(_0x3d71ba[_0x2f6182(0x2e0)]=_0x109cfc[_0x2f6182(0x26a)]),_0x1d397d['tag']===_0x2f6182(0x274)&&_0x3d71ba['id']&&(_0x3d71ba['id']=_0x3d71ba['id']+_0xb2f9c2[_0x2f6182(0x2c8)]),Object[_0x2f6182(0x34f)](_0x3d71ba)['forEach'](function(_0x15e05e){const _0x31a6cf=_0x2f6182;var _0x445829=_0x15e05e[0x0],_0x519187=_0x15e05e[0x1];_0x445829===_0x31a6cf(0x274)&&typeof _0x519187=='string'&&(_0x3d71ba[_0x445829]=_0x519187[_0x31a6cf(0x38c)](/url\(#(.*)\)/,_0x31a6cf(0x35b)[_0x31a6cf(0x249)](_0xb2f9c2[_0x31a6cf(0x2c8)],')')));});var _0x204d72=_0xb2f9c2[_0x2f6182(0x3d4)];return!_0x204d72||_0x204d72[_0x2f6182(0x37f)]===0x0||(_0x1d397d['tag']===_0x2f6182(0x36f)&&_0x3d71ba[_0x2f6182(0x1e4)]&&(_0x3d71ba[_0x2f6182(0x1e4)]=_0x3d71ba[_0x2f6182(0x1e4)]+_0xb2f9c2[_0x2f6182(0x2c8)]),Object[_0x2f6182(0x34f)](_0x3d71ba)['forEach'](function(_0x14be20){const _0x5e31ac=_0x2f6182;var _0x524b48=_0x14be20[0x0],_0x4b1ae0=_0x14be20[0x1];typeof _0x4b1ae0==_0x5e31ac(0x32c)&&(_0x3d71ba[_0x524b48]=_0x4b1ae0['replace'](/url\(#(.*)\)/,_0x5e31ac(0x35b)[_0x5e31ac(0x249)](_0xb2f9c2[_0x5e31ac(0x2c8)],')')));})),_0x3d71ba;}function Hi(_0x4f6727,_0x4c8ebd){const _0x31b924=_0x563413;var _0x1cdb4f,_0x2e3f9d=_0x4c8ebd['defIds'];return!_0x2e3f9d||_0x2e3f9d[_0x31b924(0x37f)]===0x0?_0x4f6727:_0x4f6727[_0x31b924(0x2da)]===_0x31b924(0x398)&&(!((_0x1cdb4f=_0x4f6727['children'])===null||_0x1cdb4f===void 0x0)&&_0x1cdb4f[_0x31b924(0x37f)])?I(I({},_0x4f6727),{'children':_0x4f6727['children'][_0x31b924(0x314)](function(_0x7b9b8d){const _0x580e4f=_0x31b924;return typeof _0x7b9b8d[_0x580e4f(0x30b)]['id']==_0x580e4f(0x32c)&&_0x2e3f9d&&_0x2e3f9d['indexOf'](_0x7b9b8d[_0x580e4f(0x30b)]['id'])>-0x1?I(I({},_0x7b9b8d),{'attrs':I(I({},_0x7b9b8d['attrs']),{'id':_0x7b9b8d[_0x580e4f(0x30b)]['id']+_0x4c8ebd[_0x580e4f(0x2c8)]})}):_0x7b9b8d;})}):_0x4f6727;}function ji(){const _0x47f3c9=_0x563413;return Math[_0x47f3c9(0x2e3)]()[_0x47f3c9(0x357)](0x24)[_0x47f3c9(0x2e2)](0x2,0x8);}je[_0x563413(0x217)]=_0x563413(0x2fd);var Wi={'tag':_0x563413(0x250),'attrs':{'fill':_0x563413(0x2cb),'viewBox':'0\x200\x2016\x2016','width':_0x563413(0x344),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x563413(0x2db)},'children':[{'tag':'path','attrs':{'stroke':_0x563413(0x2b7),'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':_0x563413(0x38f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x563413(0x398),'attrs':{},'children':[{'tag':_0x563413(0x260),'attrs':{'id':_0x563413(0x36e)},'children':[{'tag':_0x563413(0x2b2),'attrs':{'fill':_0x563413(0x352),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x563413(0x36e)]},Dt=_0x75af45(function(_0x4b5795,_0x85ba40){const _0x40b1d6=_0x563413;return _0x2072fd(je,Object[_0x40b1d6(0x3a3)]({},_0x4b5795,{'id':_0x40b1d6(0x294),'ref':_0x85ba40,'icon':Wi}));});Dt['displayName']=_0x563413(0x368);var Fi={'tag':'svg','attrs':{'fill':_0x563413(0x2cb),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x563413(0x344)},'children':[{'tag':'g','attrs':{'clipPath':_0x563413(0x3c4)},'children':[{'tag':_0x563413(0x2b2),'attrs':{'stroke':_0x563413(0x2b7),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x563413(0x38f),'strokeLinejoin':_0x563413(0x38f),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x563413(0x260),'attrs':{'id':_0x563413(0x295)},'children':[{'tag':_0x563413(0x2b2),'attrs':{'fill':_0x563413(0x352),'d':_0x563413(0x320),'transform':_0x563413(0x304)}}]}]}],'defIds':['on-line-single_clip0_910_349']},Nt=_0x75af45(function(_0x25f709,_0x5af88d){const _0x41b567=_0x563413;return _0x2072fd(je,Object[_0x41b567(0x3a3)]({},_0x25f709,{'id':_0x41b567(0x328),'ref':_0x5af88d,'icon':Fi}));});Nt[_0x563413(0x217)]='OnLineSingle';function Yi(_0x166a81){const _0x3827b8=_0x563413;switch(_0x166a81){case _0x254eb8[_0x3827b8(0x3a6)]:return _0x3827b8(0x28a);case _0x254eb8['CONFLICT']:return _0x3827b8(0x1fb);case _0x254eb8[_0x3827b8(0x206)]:return _0x3827b8(0x3aa);case _0x254eb8[_0x3827b8(0x204)]:return'collabStatus.notCollab';case _0x254eb8[_0x3827b8(0x35e)]:case _0x254eb8['AWAITING_WITH_PENDING']:return _0x3827b8(0x251);case _0x254eb8['SYNCED']:case _0x254eb8['PENDING']:return'collabStatus.synced';}}function Vi(_0x1dc291){const _0x2f467c=_0x563413,{status$:_0x111fbb}=_0x1dc291,_0x5a2d8c=_0x3d4560(_0x111fbb,_0x254eb8['NOT_COLLAB']),_0x3f15be=_0x47de98(_0x3ffe22),_0x3c15e4=_0x47de98(_0x3919e6),_0x1d85c8=_0x5a2d8c!==_0x254eb8[_0x2f467c(0x3a6)],_0x3ff53b=_0x3f15be['t'](Yi(_0x5a2d8c)),_0x2bc5d0=_0x1d85c8?_0x427501(Nt,{}):_0x427501(Dt,{}),_0x46c727=_0x571220(()=>{const _0x10230b=_0x2f467c;_0x1d85c8||_0x3c15e4[_0x10230b(0x318)]();},[_0x1d85c8,_0x3c15e4]);function _0x5a0b9e(){const _0x41d757=_0x2f467c;return _0x44e5b1(_0x41d757(0x2bf),{'className':_0x41d757(0x27a),'onClick':_0x46c727,'children':[_0x427501('div',{'className':_0x2ab1f2(_0x41d757(0x33b),_0x1d85c8?'univer-text-green-500':_0x41d757(0x2c1)),'children':_0x2bc5d0}),_0x427501(_0x41d757(0x2bf),{'className':_0x41d757(0x3ce),'children':_0x3ff53b})]});}return _0x1d85c8?_0x5a0b9e():_0x427501(_0x561183,{'title':_0x3f15be['t'](_0x2f467c(0x225)),'children':_0x5a0b9e()});}var Xi=Object[_0x563413(0x350)],Gi=(_0x4f7d11,_0x23d4ee,_0x19beeb,_0x321b45)=>{const _0x250229=_0x563413;for(var _0x2dab2b=_0x321b45>0x1?void 0x0:_0x321b45?Xi(_0x23d4ee,_0x19beeb):_0x23d4ee,_0x2b5b52=_0x4f7d11[_0x250229(0x37f)]-0x1,_0x173e0f;_0x2b5b52>=0x0;_0x2b5b52--)(_0x173e0f=_0x4f7d11[_0x2b5b52])&&(_0x2dab2b=_0x173e0f(_0x2dab2b)||_0x2dab2b);return _0x2dab2b;},Q=(_0x2d185b,_0x45aef3)=>(_0x4df2dc,_0xb3e56a)=>_0x45aef3(_0x4df2dc,_0xb3e56a,_0x2d185b);let te=class extends _0x1fbc6b{constructor(_0x1fdc4e,_0x36670a,_0x403802,_0x524881){const _0x40de45=_0x563413;super(),_(this,'_status$',new _0x4621a1(_0x254eb8[_0x40de45(0x204)])),(this['_univerInstanceService']=_0x1fdc4e,this['_injector']=_0x36670a,this[_0x40de45(0x3cb)]=_0x403802,this[_0x40de45(0x292)]=_0x524881,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x563413(0x3cd)](){const _0x5e6691=_0x563413;this['disposeWithMe'](this[_0x5e6691(0x31f)][_0x5e6691(0x381)]['pipe'](_0xc5480d(()=>{const _0xca7a91=_0x5e6691,_0x31e675=this[_0xca7a91(0x31f)][_0xca7a91(0x30d)]();return _0x31e675?this[_0xca7a91(0x3cb)][_0xca7a91(0x3db)](_0x31e675[_0xca7a91(0x279)]()):_0x1ce394(null);}),_0xc5480d(_0x8fdefd=>_0x8fdefd?_0x8fdefd[_0x5e6691(0x21c)]:_0x1ce394(_0x254eb8[_0x5e6691(0x204)])))[_0x5e6691(0x240)](_0x5c2f7c=>{const _0x533894=_0x5e6691;this[_0x533894(0x266)][_0x533894(0x241)](_0x5c2f7c);}));}[_0x563413(0x1e5)](){const _0x5ed6e1=_0x563413;this[_0x5ed6e1(0x1f8)](this['_uiPartsService'][_0x5ed6e1(0x3a8)](_0x505fa7[_0x5ed6e1(0x32d)],()=>_0x313f2b(Ki({'status$':this[_0x5ed6e1(0x266)]['asObservable']()}),this['_injector'])));}};te=Gi([Q(0x0,_0x31a664),Q(0x1,_0x5c6460(_0x1d66e7)),Q(0x2,_0x5c6460(_0x203fc8)),Q(0x3,_0x4c7f9b)],te);function Ki(_0x2cbce9){const {status$:_0x22f601}=_0x2cbce9;return function(){return _0x427501(Vi,{'status$':_0x22f601});};}var zi=Object[_0x563413(0x350)],Ji=(_0xe95e5e,_0xb14d9a,_0x3200c5,_0xc2f5a2)=>{const _0x5f335d=_0x563413;for(var _0x246cab=_0xc2f5a2>0x1?void 0x0:_0xc2f5a2?zi(_0xb14d9a,_0x3200c5):_0xb14d9a,_0x4d7f48=_0xe95e5e[_0x5f335d(0x37f)]-0x1,_0x5d7c01;_0x4d7f48>=0x0;_0x4d7f48--)(_0x5d7c01=_0xe95e5e[_0x4d7f48])&&(_0x246cab=_0x5d7c01(_0x246cab)||_0x246cab);return _0x246cab;},B=(_0x2c4b98,_0x4fda1d)=>(_0x13b5b5,_0x1816a2)=>_0x4fda1d(_0x13b5b5,_0x1816a2,_0x2c4b98);let se=class extends _0x1fbc6b{constructor(_0x3c4391,_0x3d2f9d,_0x595eb6,_0x42e55e,_0x22aa5b,_0x106cdc){const _0x43e252=_0x563413;super(),this[_0x43e252(0x277)]=_0x3c4391,this[_0x43e252(0x36b)]=_0x3d2f9d,this[_0x43e252(0x1e3)]=_0x595eb6,this[_0x43e252(0x351)]=_0x42e55e,this[_0x43e252(0x345)]=_0x22aa5b,this[_0x43e252(0x298)]=_0x106cdc,this[_0x43e252(0x2a0)](),this[_0x43e252(0x2fe)]();}[_0x563413(0x2a0)](){const _0x556ff1=_0x563413;this['disposeWithMe'](this['_beforeCloseService'][_0x556ff1(0x353)](()=>{const _0x1c393d=_0x556ff1;if(this[_0x1c393d(0x36b)]['saveTaskMap']['size'])return this[_0x1c393d(0x298)]['t'](_0x1c393d(0x268));}));}[_0x563413(0x2fe)](){const _0x3815b4=_0x563413;this['disposeWithMe'](this[_0x3815b4(0x1e3)][_0x3815b4(0x2af)]['subscribe'](_0x4b2d46=>{const _0x43ea38=_0x3815b4;_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x275)]&&this[_0x43ea38(0x351)]['show']({'type':_0x5c8d3f[_0x43ea38(0x369)],'content':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x2ef))}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x300)]&&this['_messageService']['show']({'type':_0x5c8d3f[_0x43ea38(0x369)],'content':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x362))}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x2f7)]&&this[_0x43ea38(0x345)][_0x43ea38(0x244)]({'title':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x237)),'content':this['_localeService']['t'](_0x43ea38(0x1d8)),'type':'error','duration':0x0}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x256)]&&this[_0x43ea38(0x351)][_0x43ea38(0x244)]({'type':_0x5c8d3f[_0x43ea38(0x22c)],'content':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x362))+'('+_0x4b2d46[_0x43ea38(0x395)]+')'}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x330)]&&this[_0x43ea38(0x351)][_0x43ea38(0x244)]({'type':_0x5c8d3f[_0x43ea38(0x369)],'content':this[_0x43ea38(0x298)]['t'](_0x4b2d46[_0x43ea38(0x395)]||'')}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x1d6)]&&this[_0x43ea38(0x351)]['show']({'type':_0x5c8d3f[_0x43ea38(0x369)],'content':this[_0x43ea38(0x298)]['t']('session.will-retry')}),_0x4b2d46['id']===_0x2adb1f[_0x43ea38(0x208)]&&this['_messageService'][_0x43ea38(0x244)]({'type':_0x5c8d3f[_0x43ea38(0x22c)],'content':this['_localeService']['t'](_0x43ea38(0x2a2))}),_0x4b2d46['id']===_0x2adb1f['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x43ea38(0x351)][_0x43ea38(0x244)]({'type':_0x5c8d3f[_0x43ea38(0x22c)],'content':this[_0x43ea38(0x298)]['t'](_0x43ea38(0x3c9))});}));}};se=Ji([B(0x0,_0x27e5c6),B(0x1,_0x1400ec),B(0x2,_0x5c6460(_0x3a9063)),B(0x3,_0x4acaae),B(0x4,_0x275910),B(0x5,_0x5c6460(_0x3ffe22))],se);const Zi='collaboration-client-ui.config',et={},Ut=_0x54cac1(_0x563413(0x2d8));var Qi=Object[_0x563413(0x350)],qi=(_0x5bc5d7,_0x382709,_0x1a9187,_0xaea137)=>{const _0x34343c=_0x563413;for(var _0x13aa9a=_0xaea137>0x1?void 0x0:_0xaea137?Qi(_0x382709,_0x1a9187):_0x382709,_0x3ddfc8=_0x5bc5d7[_0x34343c(0x37f)]-0x1,_0x1c4339;_0x3ddfc8>=0x0;_0x3ddfc8--)(_0x1c4339=_0x5bc5d7[_0x3ddfc8])&&(_0x13aa9a=_0x1c4339(_0x13aa9a)||_0x13aa9a);return _0x13aa9a;},G=(_0x5615d5,_0x5ecda9)=>(_0x29c92c,_0x1ec59c)=>_0x5ecda9(_0x29c92c,_0x1ec59c,_0x5615d5);let ie=class extends _0x4b74ae{constructor(_0x2380ad,_0x39c411,_0x310a21,_0x54ab2a,_0x2f656a){const _0x437018=_0x563413;super(),this[_0x437018(0x32f)]=_0x2380ad,this[_0x437018(0x291)]=_0x39c411,this[_0x437018(0x30f)]=_0x310a21,this[_0x437018(0x1dc)]=_0x54ab2a,_0x2f656a?_0x2f656a==null||_0x2f656a[_0x437018(0x26e)]()[_0x437018(0x34b)](()=>this[_0x437018(0x2c6)]()):(this[_0x437018(0x291)][_0x437018(0x27e)](_0x437018(0x236),_0x437018(0x397)),this['_init']());}async[_0x563413(0x2c6)](){const _0x5e52b5=_0x563413,_0x20ca9e=this[_0x5e52b5(0x32f)][_0x5e52b5(0x2ad)](_0x5e52b5(0x2ec)),_0x389ce7=this[_0x5e52b5(0x32f)][_0x5e52b5(0x2ad)](_0x5e52b5(0x3b0)),_0x3fb223=this[_0x5e52b5(0x32f)]['getParam'](_0x5e52b5(0x1dd));if(!_0x20ca9e||!_0x389ce7){this[_0x5e52b5(0x291)][_0x5e52b5(0x27e)](_0x5e52b5(0x236),_0x5e52b5(0x262));return;}const _0x2488bc=await this[_0x5e52b5(0x1dc)]['loadUnit'](_0x20ca9e,Number(_0x389ce7),_0x3fb223);_0x2488bc&&_0x2488bc instanceof _0x2bc3eb&&this[_0x5e52b5(0x3c3)](_0x2488bc);}async[_0x563413(0x3c3)](_0x33bbb5){const _0x2b5c40=_0x563413;await this[_0x2b5c40(0x33a)](_0x33bbb5),_0x33bbb5[_0x2b5c40(0x29d)][_0x2b5c40(0x3bf)](_0x16b897(this['dispose$']))[_0x2b5c40(0x240)](_0x1ec019=>{const _0x5d4c2e=_0x2b5c40;_0x1ec019&&this[_0x5d4c2e(0x23d)](_0x1ec019);}),this['_urlService'][_0x2b5c40(0x257)][_0x2b5c40(0x3bf)](_0x16b897(this[_0x2b5c40(0x301)]))[_0x2b5c40(0x240)](()=>this[_0x2b5c40(0x33a)](_0x33bbb5));}[_0x563413(0x23d)](_0x1fd6ba,_0x1fb4c6=!0x1){const _0x3631fa=_0x563413,_0x1c14a6=this['_urlService']['getParam'](_0x3631fa(0x1dd));_0x1fd6ba[_0x3631fa(0x2f8)]()!==_0x1c14a6&&this[_0x3631fa(0x32f)][_0x3631fa(0x1f2)](_0x3631fa(0x1dd),_0x1fd6ba[_0x3631fa(0x2f8)](),_0x1fb4c6);}async[_0x563413(0x33a)](_0x4e749e){const _0x4553bf=_0x563413;var _0x173b8f;const _0x2803a2=this[_0x4553bf(0x32f)][_0x4553bf(0x2ad)](_0x4553bf(0x1dd));if(!_0x2803a2||!_0x4e749e[_0x4553bf(0x386)](_0x2803a2)){const _0x3121c5=_0x4e749e[_0x4553bf(0x2ed)]()[0x0],_0x1a7185=_0x4e749e[_0x4553bf(0x386)](_0x3121c5);if(!_0x1a7185)return;this['_updateURLWithCurrentState'](_0x1a7185,!0x0),await this['_commandService'][_0x4553bf(0x253)](_0xc628f2['id'],{'unitId':_0x4e749e[_0x4553bf(0x279)](),'subUnitId':_0x3121c5});return;}((_0x173b8f=_0x4e749e[_0x4553bf(0x372)]())==null?void 0x0:_0x173b8f[_0x4553bf(0x2f8)]())!==_0x2803a2&&await this['_commandService'][_0x4553bf(0x253)](_0xc628f2['id'],{'unitId':_0x4e749e[_0x4553bf(0x279)](),'subUnitId':_0x2803a2});}};ie=qi([G(0x0,Ut),G(0x1,_0x3c1e89),G(0x2,_0x3117b8),G(0x3,_0x5c6460(_0xdfc05f)),G(0x4,_0x5e513a(_0xfedf20))],ie);var en=Object[_0x563413(0x350)],tn=(_0x72d6d6,_0xf4ec8f,_0x5b35f6,_0x419101)=>{const _0x56980b=_0x563413;for(var _0x1048be=_0x419101>0x1?void 0x0:_0x419101?en(_0xf4ec8f,_0x5b35f6):_0xf4ec8f,_0x5ae1b8=_0x72d6d6[_0x56980b(0x37f)]-0x1,_0x187e32;_0x5ae1b8>=0x0;_0x5ae1b8--)(_0x187e32=_0x72d6d6[_0x5ae1b8])&&(_0x1048be=_0x187e32(_0x1048be)||_0x1048be);return _0x1048be;},pe=(_0x1a5550,_0xdd8109)=>(_0x597391,_0xf8f072)=>_0xdd8109(_0x597391,_0xf8f072,_0x1a5550);let ne=class{constructor(_0x519743,_0x451c61,_0x55b623){const _0x58089a=_0x563413;this[_0x58089a(0x2fa)]=_0x519743,this['_transformService']=_0x451c61,this['_renderManagerService']=_0x55b623;}[_0x563413(0x2d3)](_0x4bd717){const _0x4e9679=_0x563413;this[_0x4e9679(0x222)](_0x4bd717),this['_transformPreviousActiveRange'](_0x4bd717);}[_0x563413(0x2d6)](_0x19500c){const _0x4dadd8=_0x563413,{unitID:_0x34eb79}=_0x19500c,_0x401e91=this['_renderManagerService'][_0x4dadd8(0x238)](_0x34eb79)[_0x4dadd8(0x299)](_0x18d55f),{redoCache:_0x323ce4}=_0x401e91['getUndoRedoMutationParamsCache']();if(_0x323ce4['length']===0x0)return _0x19500c;let _0x3c7f04=_0x17cd4d[_0x4dadd8(0x3c6)](_0x19500c[_0x4dadd8(0x29a)][0x0]);for(let _0x493a6c=0x0;_0x493a6c<_0x323ce4[_0x4dadd8(0x37f)];_0x493a6c++){const _0xe2a20f={'id':_0x4dadd8(0x286),'params':{..._0x323ce4[_0x493a6c]}},_0x2e5ad6=this[_0x4dadd8(0x2ba)][_0x4dadd8(0x367)](_0x3c7f04,_0xe2a20f,!0x1);if(_0x2432f7(_0x2e5ad6))throw _0x2e5ad6[_0x4dadd8(0x25d)];_0x3c7f04=_0x2e5ad6[_0x4dadd8(0x310)];}return{..._0x17cd4d[_0x4dadd8(0x3c6)](_0x19500c),'mutations':[_0x3c7f04]};}['_transformUndoRedoStack'](_0x6b9dc3){const _0x3fbdce=_0x563413,{unitID:_0x28ef14}=_0x6b9dc3,_0x40fef0=this['_renderManagerService']['getRenderById'](_0x28ef14)[_0x3fbdce(0x299)](_0x18d55f),{undoCache:_0x183f13,redoCache:_0x4e561e}=_0x40fef0['getUndoRedoMutationParamsCache']();if(_0x183f13[_0x3fbdce(0x37f)]===0x0||_0x4e561e[_0x3fbdce(0x37f)]===0x0)return;const _0x150d2a=[],_0x1f7e65=[];let _0x415935=_0x17cd4d[_0x3fbdce(0x3c6)](_0x6b9dc3[_0x3fbdce(0x29a)][0x0]),_0x152eeb=_0x17cd4d['deepClone'](_0x6b9dc3[_0x3fbdce(0x29a)][0x0]);for(let _0x1f583b=_0x183f13[_0x3fbdce(0x37f)]-0x1;_0x1f583b>=0x0;_0x1f583b--){const _0x46a62f={'id':'doc.mutation.rich-text-editing','params':{..._0x183f13[_0x1f583b]}},_0xcc6c84={'id':_0x3fbdce(0x286),'params':{..._0x4e561e[_0x1f583b]}},_0x35ecdd=this[_0x3fbdce(0x2ba)]['transformMutation'](_0x415935,_0x46a62f,!0x1),_0x42be41=this['_transformService'][_0x3fbdce(0x367)](_0x152eeb,_0xcc6c84,!0x1);if(_0x2432f7(_0x35ecdd))throw _0x35ecdd[_0x3fbdce(0x25d)];if(_0x2432f7(_0x42be41))throw _0x42be41[_0x3fbdce(0x25d)];_0x150d2a[_0x3fbdce(0x289)](_0x35ecdd[_0x3fbdce(0x1f3)][_0x3fbdce(0x2ac)]),_0x1f7e65['unshift'](_0x42be41[_0x3fbdce(0x1f3)][_0x3fbdce(0x2ac)]),_0x415935=_0x35ecdd['m1Prime'],_0x152eeb=_0x42be41[_0x3fbdce(0x310)];}_0x40fef0[_0x3fbdce(0x3ae)]({'undoCache':_0x150d2a,'redoCache':_0x1f7e65});}[_0x563413(0x269)](_0x242a63){const _0x2bdec5=_0x563413,{unitID:_0x594cf9}=_0x242a63,_0x29953c=this['_renderManagerService'][_0x2bdec5(0x238)](_0x594cf9)[_0x2bdec5(0x299)](_0x18d55f),_0x413dd1=_0x29953c[_0x2bdec5(0x3c7)]();if(_0x413dd1==null)return;const _0x4abe0c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x242a63['unitID'],'actions':null,'textRanges':[_0x413dd1]}}],_0x3b0ee5=this['_transformService'][_0x2bdec5(0x2c0)](_0x242a63,_0x4abe0c);if(!_0x1002c8(_0x3b0ee5))throw _0x3b0ee5['error'];const _0x164abb=_0x3b0ee5[_0x2bdec5(0x1f3)][0x0][_0x2bdec5(0x2ac)][_0x2bdec5(0x252)];Array[_0x2bdec5(0x312)](_0x164abb)&&_0x164abb[_0x2bdec5(0x37f)]&&_0x29953c[_0x2bdec5(0x3b5)](_0x164abb[0x0]);}};ne=tn([pe(0x0,_0x5c6460(_0x1d66e7)),pe(0x1,_0x136ed5),pe(0x2,_0x2bfa89)],ne);var sn=Object[_0x563413(0x350)],nn=(_0x332d1d,_0xb703e8,_0x324b97,_0x282e8c)=>{const _0x38d64f=_0x563413;for(var _0x40c597=_0x282e8c>0x1?void 0x0:_0x282e8c?sn(_0xb703e8,_0x324b97):_0xb703e8,_0xb16b57=_0x332d1d[_0x38d64f(0x37f)]-0x1,_0x249a0a;_0xb16b57>=0x0;_0xb16b57--)(_0x249a0a=_0x332d1d[_0xb16b57])&&(_0x40c597=_0x249a0a(_0x40c597)||_0x40c597);return _0x40c597;},Ce=(_0x1e67d9,_0x1f9b82)=>(_0x2e5163,_0x19214e)=>_0x1f9b82(_0x2e5163,_0x19214e,_0x1e67d9);let re=class{constructor(_0x157ae9,_0x43414c,_0x3f27e2){const _0xc64ee5=_0x563413;this[_0xc64ee5(0x2fa)]=_0x157ae9,this[_0xc64ee5(0x2ba)]=_0x43414c,this[_0xc64ee5(0x1f4)]=_0x3f27e2;}[_0x563413(0x35d)](_0x2c2526){const _0x162e64=_0x563413;this[_0x162e64(0x373)](_0x2c2526);}[_0x563413(0x2d6)](_0x377ddc){const _0x504019=_0x563413,{unitID:_0x4dda5f}=_0x377ddc,{collaboration:_0x54f9ce}=this[_0x504019(0x1f4)][_0x504019(0x2dc)](_0x4dda5f);if(_0x54f9ce[_0x504019(0x37f)]===0x0)return _0x377ddc;let _0x4439fe=_0x17cd4d[_0x504019(0x3c6)](_0x377ddc[_0x504019(0x29a)][0x0]);for(let _0x44b1fe=0x0;_0x44b1fe<_0x54f9ce[_0x504019(0x37f)];_0x44b1fe++){const _0x3c1dd8={'id':_0x504019(0x286),'params':{'unitId':_0x54f9ce[_0x44b1fe][_0x504019(0x35c)],..._0x54f9ce[_0x44b1fe]['redoState']}},_0x4a7179=this[_0x504019(0x2ba)][_0x504019(0x367)](_0x4439fe,_0x3c1dd8,!0x1);if(_0x2432f7(_0x4a7179))throw _0x4a7179[_0x504019(0x25d)];_0x4439fe=_0x4a7179['m1Prime'];}return{..._0x17cd4d['deepClone'](_0x377ddc),'mutations':[_0x4439fe]};}[_0x563413(0x373)](_0x3d27d0){const _0x26da56=_0x563413,{unitID:_0x27b18c}=_0x3d27d0,{history:_0x24c389,collaboration:_0x3f009d}=this['_docStateChangeManagerService'][_0x26da56(0x2dc)](_0x27b18c);if(_0x24c389['length']===0x0&&_0x3f009d[_0x26da56(0x37f)]===0x0)return;const _0x2e4064=[],_0x3cee83=[];let _0x3894f7=_0x17cd4d['deepClone'](_0x3d27d0[_0x26da56(0x29a)][0x0]),_0x44badb=_0x17cd4d[_0x26da56(0x3c6)](_0x3d27d0[_0x26da56(0x29a)][0x0]);for(let _0x18cca9=_0x24c389[_0x26da56(0x37f)]-0x1;_0x18cca9>=0x0;_0x18cca9--){const _0x520714={'id':_0x26da56(0x286),'params':{'unitId':_0x24c389[_0x18cca9][_0x26da56(0x35c)],..._0x24c389[_0x18cca9][_0x26da56(0x33d)]}},_0x5df6c1={'id':_0x26da56(0x286),'params':{'unitId':_0x24c389[_0x18cca9][_0x26da56(0x35c)],..._0x24c389[_0x18cca9]['redoState']}},_0x2f5f9c=this['_transformService'][_0x26da56(0x367)](_0x3894f7,_0x520714,!0x1),_0x44098e=this[_0x26da56(0x2ba)][_0x26da56(0x367)](_0x44badb,_0x5df6c1,!0x1);if(_0x2432f7(_0x2f5f9c))throw _0x2f5f9c[_0x26da56(0x25d)];if(_0x2432f7(_0x44098e))throw _0x44098e['error'];_0x2e4064['unshift']({..._0x24c389[_0x18cca9],'undoState':_0x2f5f9c['m2Prime'][_0x26da56(0x2ac)],'redoState':_0x44098e['m2Prime'][_0x26da56(0x2ac)]}),_0x3894f7=_0x2f5f9c['m1Prime'],_0x44badb=_0x44098e['m1Prime'];}_0x3894f7=_0x17cd4d[_0x26da56(0x3c6)](_0x3d27d0[_0x26da56(0x29a)][0x0]),_0x44badb=_0x17cd4d[_0x26da56(0x3c6)](_0x3d27d0['mutations'][0x0]);for(let _0x206195=_0x3f009d[_0x26da56(0x37f)]-0x1;_0x206195>=0x0;_0x206195--){const _0xcbd335={'id':_0x26da56(0x286),'params':{'unitId':_0x3f009d[_0x206195][_0x26da56(0x35c)],..._0x3f009d[_0x206195][_0x26da56(0x33d)]}},_0x5626ec={'id':_0x26da56(0x286),'params':{'unitId':_0x3f009d[_0x206195][_0x26da56(0x35c)],..._0x3f009d[_0x206195][_0x26da56(0x322)]}},_0x3fea79=this[_0x26da56(0x2ba)][_0x26da56(0x367)](_0x3894f7,_0xcbd335,!0x1),_0x9fa955=this[_0x26da56(0x2ba)][_0x26da56(0x367)](_0x44badb,_0x5626ec,!0x1);if(_0x2432f7(_0x3fea79))throw _0x3fea79['error'];if(_0x2432f7(_0x9fa955))throw _0x9fa955[_0x26da56(0x25d)];_0x3cee83[_0x26da56(0x289)]({..._0x3f009d[_0x206195],'undoState':_0x3fea79[_0x26da56(0x1f3)][_0x26da56(0x2ac)],'redoState':_0x9fa955[_0x26da56(0x1f3)][_0x26da56(0x2ac)]}),_0x3894f7=_0x3fea79[_0x26da56(0x310)],_0x44badb=_0x9fa955[_0x26da56(0x310)];}this[_0x26da56(0x1f4)][_0x26da56(0x33c)](_0x27b18c,{'history':_0x2e4064,'collaboration':_0x3cee83});}};re=nn([Ce(0x0,_0x5c6460(_0x1d66e7)),Ce(0x1,_0x136ed5),Ce(0x2,_0x5c6460(_0x56216d))],re);var rn=Object[_0x563413(0x350)],on=(_0x424151,_0x4b1177,_0x2c1840,_0x2b4b62)=>{const _0x12cb8c=_0x563413;for(var _0x4dc882=_0x2b4b62>0x1?void 0x0:_0x2b4b62?rn(_0x4b1177,_0x2c1840):_0x4b1177,_0x24dfc4=_0x424151[_0x12cb8c(0x37f)]-0x1,_0x289659;_0x24dfc4>=0x0;_0x24dfc4--)(_0x289659=_0x424151[_0x24dfc4])&&(_0x4dc882=_0x289659(_0x4dc882)||_0x4dc882);return _0x4dc882;},tt=(_0x29092f,_0x2996af)=>(_0x2afaef,_0x147d56)=>_0x2996af(_0x2afaef,_0x147d56,_0x29092f);let oe=class{constructor(_0x1f2399,_0x484d66){const _0x2f1f1d=_0x563413;this['_injector']=_0x1f2399,this[_0x2f1f1d(0x2ba)]=_0x484d66;}['transformSelections'](_0x1abcac){const _0x8eded8=_0x563413;var _0x357e29;const _0x103eb4=this[_0x8eded8(0x2fa)][_0x8eded8(0x32e)](_0x25e9f8),_0x478a0c=(_0x357e29=_0x103eb4[_0x8eded8(0x1ee)]())!=null?_0x357e29:[];if(_0x478a0c[_0x8eded8(0x37f)]===0x0)return;const _0x57b2cf=_0x1abcac[_0x8eded8(0x375)],_0x1e8b91=[{'id':_0x8eded8(0x286),'params':{'unitId':_0x57b2cf,'actions':null,'textRanges':_0x478a0c}}],_0x471338=this['_transformService'][_0x8eded8(0x2c0)](_0x1abcac,_0x1e8b91);if(!_0x1002c8(_0x471338))throw _0x471338[_0x8eded8(0x25d)];const _0x5f31db=_0x471338[_0x8eded8(0x1f3)][0x0][_0x8eded8(0x2ac)][_0x8eded8(0x252)];Array['isArray'](_0x5f31db)&&_0x5f31db[_0x8eded8(0x37f)]&&_0x103eb4[_0x8eded8(0x221)](_0x5f31db,{'unitId':_0x57b2cf,'subUnitId':_0x57b2cf},!0x1);}};oe=on([tt(0x0,_0x5c6460(_0x1d66e7)),tt(0x1,_0x136ed5)],oe);var an=Object[_0x563413(0x350)],cn=(_0x55bbf8,_0x242253,_0x38d870,_0x2fe9dd)=>{for(var _0x4f4bbe=_0x2fe9dd>0x1?void 0x0:_0x2fe9dd?an(_0x242253,_0x38d870):_0x242253,_0x1875c4=_0x55bbf8['length']-0x1,_0x4681bd;_0x1875c4>=0x0;_0x1875c4--)(_0x4681bd=_0x55bbf8[_0x1875c4])&&(_0x4f4bbe=_0x4681bd(_0x4f4bbe)||_0x4f4bbe);return _0x4f4bbe;},U=(_0x110b19,_0x19a556)=>(_0x25c532,_0x7a263b)=>_0x19a556(_0x25c532,_0x7a263b,_0x110b19);let ae=class extends _0x1fbc6b{constructor(_0xf963b0,_0x51422c,_0x43c982,_0x3085e6,_0x59112c,_0x2e1003,_0x2cc786,_0x40ac75){const _0x29825f=_0x563413;super(),_(this,_0x29825f(0x266),new _0x4621a1(_0x254eb8[_0x29825f(0x204)])),(this['_docStateChangeManagerService']=_0xf963b0,this[_0x29825f(0x3cb)]=_0x51422c,this['_docTransformIMECacheService']=_0x43c982,this[_0x29825f(0x37d)]=_0x3085e6,this[_0x29825f(0x377)]=_0x59112c,this['_docSyncEditingCollabCursorService']=_0x2e1003,this['_messageService']=_0x2cc786,this[_0x29825f(0x298)]=_0x40ac75,this[_0x29825f(0x23f)]());}['_initEntityListener'](){const _0x21013f=_0x563413;this['disposeWithMe'](this[_0x21013f(0x3cb)]['entityInit$']['subscribe'](_0x2948f1=>{const _0x585b1f=_0x21013f,_0x432ebc=this[_0x585b1f(0x1f4)]['docStateChange$'][_0x585b1f(0x240)](_0x346c8b=>{const _0x902a26=_0x585b1f;if(_0x346c8b==null)return;const {unitId:_0x3e63de,redoState:_0x19a24a,commandId:_0x251364}=_0x346c8b;if(_0x3e63de!==_0x2948f1['unitID'])return;const _0x37881b={'id':_0x251364,'type':_0x444386['MUTATION'],'params':{'unitId':_0x3e63de,'actions':_0x19a24a['actions'],'textRanges':null}};_0x2948f1[_0x902a26(0x3d1)](_0x37881b);});if(_0x2948f1[_0x585b1f(0x1f8)](_0x432ebc),_0x2948f1 instanceof _0x487f85){const _0x2acf7f={'onTransformIME':_0x3d84a5=>this[_0x585b1f(0x3bb)][_0x585b1f(0x2d3)](_0x3d84a5),'onTransformState':_0x29d1d2=>this[_0x585b1f(0x37d)][_0x585b1f(0x35d)](_0x29d1d2),'onTransformSelections':_0x5ba299=>this[_0x585b1f(0x377)][_0x585b1f(0x347)](_0x5ba299),'onSyncEditingCollabCursor':_0x43bce2=>this[_0x585b1f(0x1fd)][_0x585b1f(0x343)](_0x43bce2),'onTransformRemoteChangesetByIMECache':_0x1bdf16=>this[_0x585b1f(0x3bb)]['transformRemoteChangeset'](_0x1bdf16),'onTransformRemoteChangesetByStateCache':_0x343990=>this['_docTransformStateCacheService'][_0x585b1f(0x2d6)](_0x343990)};_0x2948f1[_0x585b1f(0x346)](_0x2acf7f);}}));}};ae=cn([U(0x0,_0x5c6460(_0x56216d)),U(0x1,_0x5c6460(_0x203fc8)),U(0x2,_0x5c6460(ne)),U(0x3,_0x5c6460(re)),U(0x4,_0x5c6460(oe)),U(0x5,_0x5c6460(He)),U(0x6,_0x4acaae),U(0x7,_0x5c6460(_0x3ffe22))],ae);var ln=Object[_0x563413(0x350)],_n=(_0x615fb6,_0x46f468,_0x3ef348,_0x856d1c)=>{const _0x1a501e=_0x563413;for(var _0x49e2af=_0x856d1c>0x1?void 0x0:_0x856d1c?ln(_0x46f468,_0x3ef348):_0x46f468,_0x5ae908=_0x615fb6[_0x1a501e(0x37f)]-0x1,_0x19fe05;_0x5ae908>=0x0;_0x5ae908--)(_0x19fe05=_0x615fb6[_0x5ae908])&&(_0x49e2af=_0x19fe05(_0x49e2af)||_0x49e2af);return _0x49e2af;},Ee=(_0x5eb82f,_0x813cf9)=>(_0x2dfb3f,_0x5f43db)=>_0x813cf9(_0x2dfb3f,_0x5f43db,_0x5eb82f);let Le=class extends _0x1fbc6b{constructor(_0x83cd8b,_0x2a950f,_0x3a5039){const _0x4f3812=_0x563413;super(),_(this,_0x4f3812(0x396),new Map()),_(this,_0x4f3812(0x326),new Map()),_(this,_0x4f3812(0x32a),!0x1),(this[_0x4f3812(0x366)]=_0x83cd8b,this[_0x4f3812(0x358)]=_0x2a950f,this[_0x4f3812(0x335)]=_0x3a5039);}[_0x563413(0x303)](){const _0x2df63c=_0x563413;this[_0x2df63c(0x32a)]=!0x0;}['enableLocalCache'](){const _0x572b4d=_0x563413;this[_0x572b4d(0x32a)]=!0x1;}get[_0x563413(0x25c)](){return this['_saveTaskMap'];}[_0x563413(0x37b)](){const _0x121d5d=_0x563413;this[_0x121d5d(0x33f)]()[_0x121d5d(0x34b)](()=>super[_0x121d5d(0x37b)]());}async['loadOfflineData'](_0x309101){const _0x45bf90=_0x563413;return this[_0x45bf90(0x32a)]?null:this[_0x45bf90(0x358)][_0x45bf90(0x3a4)](_0x3b0baa(_0x309101));}async['saveOfflineData'](_0x7e17a0,_0x159d9f){const _0x2b94e6=_0x563413;return!!this[_0x2b94e6(0x358)]['setItem'](_0x7e17a0,_0x159d9f);}['updateOfflineData'](_0x404faf,_0x36d1aa,_0x32cae4,_0x5c3e96){const _0x4d1188=_0x563413,_0x5ac810=this[_0x4d1188(0x335)][_0x4d1188(0x2e1)](_0x404faf);this[_0x4d1188(0x396)][_0x4d1188(0x3a1)](_0x404faf,{'unitID':_0x404faf,'type':_0x36d1aa,'awaitingChangeset':_0x32cae4,'mutations':_0x5c3e96,'rev':_0x5ac810}),this[_0x4d1188(0x326)][_0x4d1188(0x3b6)](_0x404faf)||this[_0x4d1188(0x3b9)](_0x404faf);}[_0x563413(0x3b9)](_0x17d203){const _0x240073=_0x563413,_0x1c0f8e=this['_getSaveTimeout']();_0x1c0f8e===0x0?this[_0x240073(0x392)](_0x17d203):this[_0x240073(0x326)]['set'](_0x17d203,setTimeout(()=>this[_0x240073(0x392)](_0x17d203),_0x1c0f8e));}[_0x563413(0x2e4)](){const _0x569fb9=_0x563413;var _0x3cd5d0;return(_0x3cd5d0=this['_configService'][_0x569fb9(0x1da)](_0x433e18))!=null?_0x3cd5d0:_0x5223b0;}[_0x563413(0x392)](_0x4ede80){const _0x2fb7e0=_0x563413,_0x5e77b5=this['_saveTaskMap'][_0x2fb7e0(0x32e)](_0x4ede80);return _0x5e77b5!==void 0x0&&window[_0x2fb7e0(0x281)](_0x5e77b5),this[_0x2fb7e0(0x358)]['setItem'](_0x3b0baa(_0x4ede80),this[_0x2fb7e0(0x396)][_0x2fb7e0(0x32e)](_0x4ede80))[_0x2fb7e0(0x34b)](()=>this[_0x2fb7e0(0x326)][_0x2fb7e0(0x1e8)](_0x4ede80));}async[_0x563413(0x33f)](){const _0x3ff0e1=_0x563413,_0x4d087a=[];this[_0x3ff0e1(0x326)][_0x3ff0e1(0x29b)]((_0x1bb1b2,_0x7bc9d)=>{const _0xe97bc3=_0x3ff0e1;window[_0xe97bc3(0x281)](_0x1bb1b2),_0x4d087a['push'](this[_0xe97bc3(0x392)](_0x7bc9d)[_0xe97bc3(0x34b)](()=>{const _0x2c9b72=_0xe97bc3;this[_0x2c9b72(0x326)]['delete'](_0x7bc9d);}));}),await Promise[_0x3ff0e1(0x2df)](_0x4d087a);}};Le=_n([Ee(0x0,_0x395855),Ee(0x1,_0x35e3cf),Ee(0x2,_0x5c6460(_0x5ec55b))],Le);class hn extends _0x4b74ae{constructor(){const _0x262c56=_0x563413;super(),_(this,_0x262c56(0x257)),this[_0x262c56(0x257)]=_0x2974a5(window,_0x262c56(0x334))[_0x262c56(0x3bf)](_0x16b897(this[_0x262c56(0x301)]),_0x3f389a(0x1),_0x36eff5(void 0x0));}[_0x563413(0x1f2)](_0x3057f6,_0x3a6d28,_0x5f01ca=!0x1){const _0x53578=_0x563413,_0x2ee5d8=new URL(window[_0x53578(0x2e9)][_0x53578(0x20c)]);_0x2ee5d8[_0x53578(0x2b8)][_0x53578(0x3a1)](_0x3057f6,_0x3a6d28),_0x5f01ca?window['history'][_0x53578(0x3b2)]('','',_0x2ee5d8['toString']()):window[_0x53578(0x361)]['pushState']('','',_0x2ee5d8[_0x53578(0x357)]());}[_0x563413(0x39e)](_0x219835,_0x55d53d=!0x1){const _0x2f7a5b=_0x563413,_0x5b9b50=new URL(window['location']['href']);_0x5b9b50['searchParams'][_0x2f7a5b(0x1e8)](_0x219835),_0x55d53d?window[_0x2f7a5b(0x361)][_0x2f7a5b(0x3b2)]('','',_0x5b9b50[_0x2f7a5b(0x357)]()):window['history'][_0x2f7a5b(0x1ff)]('','',_0x5b9b50[_0x2f7a5b(0x357)]());}[_0x563413(0x2ad)](_0xbc84fe){const _0x2b0b68=_0x563413;var _0x7567b1;return(_0x7567b1=new URL(window[_0x2b0b68(0x2e9)][_0x2b0b68(0x20c)])[_0x2b0b68(0x2b8)][_0x2b0b68(0x32e)](_0xbc84fe))!=null?_0x7567b1:void 0x0;}}var un=Object[_0x563413(0x30c)],dn=Object[_0x563413(0x350)],fn=(_0x5551bb,_0x991a22,_0x24ffba)=>_0x991a22 in _0x5551bb?un(_0x5551bb,_0x991a22,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x24ffba}):_0x5551bb[_0x991a22]=_0x24ffba,Sn=(_0x41eda1,_0x66bdac,_0xd8afb7,_0x1ce6c4)=>{const _0x58d6c7=_0x563413;for(var _0x1fb284=_0x1ce6c4>0x1?void 0x0:_0x1ce6c4?dn(_0x66bdac,_0xd8afb7):_0x66bdac,_0x35752f=_0x41eda1[_0x58d6c7(0x37f)]-0x1,_0x40d9e;_0x35752f>=0x0;_0x35752f--)(_0x40d9e=_0x41eda1[_0x35752f])&&(_0x1fb284=_0x40d9e(_0x1fb284)||_0x1fb284);return _0x1fb284;},be=(_0x1b9606,_0x266ffb)=>(_0xc5a6bb,_0x44095c)=>_0x266ffb(_0xc5a6bb,_0x44095c,_0x1b9606),mn=(_0x27562d,_0x12f128,_0x428035)=>fn(_0x27562d,_0x12f128+'',_0x428035);const gn=_0x563413(0x245);let Ae=class extends _0x1131fa{constructor(_0x4d8057=et,_0x51f0e2,_0x2a1945,_0x3ca2b1){const _0x5ef260=_0x563413;super(),this['_config']=_0x4d8057,this[_0x5ef260(0x24a)]=_0x51f0e2,this[_0x5ef260(0x2fa)]=_0x2a1945,this['_configService']=_0x3ca2b1;const {..._0xc19c85}=_0x3fdaeb({},et,this['_config']);this[_0x5ef260(0x366)][_0x5ef260(0x293)](Zi,_0xc19c85);}['onStarting'](){const _0xcdabde=_0x563413;this['_registerDependencies'](),this[_0xcdabde(0x1fc)]();}[_0x563413(0x378)](){const _0x5a2807=_0x563413;this[_0x5a2807(0x22e)]();}['_registerDependencies'](){const _0x223e63=_0x563413;var _0x5adf96;const _0x351f83=[[ke],[oe],[ne],[re],[He],[Ut,{'useClass':hn}],[_0x4ec03e,{'useClass':_0x2e732f}],[_0x1400ec,{'useClass':Le}],[te],[ae],[se],[H],[Ne],[ie]];_0x2722ea(this[_0x223e63(0x2fa)],_0x4d57b5(_0x351f83,(_0x5adf96=this[_0x223e63(0x338)])==null?void 0x0:_0x5adf96[_0x223e63(0x25a)]));}['_registerRenderDependencies'](){const _0x33a140=_0x563413;this[_0x33a140(0x1f8)](this['_renderManagerService']['registerRenderModule'](_0x1eb9e8[_0x33a140(0x233)],[Pe])),this['disposeWithMe'](this[_0x33a140(0x24a)]['registerRenderModule'](_0x1eb9e8['UNIVER_SHEET'],[we]));}[_0x563413(0x1fc)](){const _0x5885be=_0x563413;_0x5c554b(this[_0x5885be(0x2fa)],[[H],[te],[ae],[se],[ie]]);}};mn(Ae,'pluginName',gn),Ae=Sn([_0x2f89ac(_0x26d327),be(0x1,_0x2bfa89),be(0x2,_0x5c6460(_0x1d66e7)),be(0x3,_0x395855)],Ae);var vn=Object[_0x563413(0x350)],In=(_0x45581f,_0x151e42,_0x27039c,_0x5b1253)=>{for(var _0x8fef1d=_0x5b1253>0x1?void 0x0:_0x5b1253?vn(_0x151e42,_0x27039c):_0x151e42,_0x201aa9=_0x45581f['length']-0x1,_0x36973e;_0x201aa9>=0x0;_0x201aa9--)(_0x36973e=_0x45581f[_0x201aa9])&&(_0x8fef1d=_0x36973e(_0x8fef1d)||_0x8fef1d);return _0x8fef1d;},K=(_0x359ca8,_0x10130e)=>(_0x3d1f9e,_0x1b1291)=>_0x10130e(_0x3d1f9e,_0x1b1291,_0x359ca8);let st=class extends _0x59ef4b{constructor(_0x2d2dd5,_0x4242e1,_0x928b92,_0x100063,_0xc16b8){super(_0x2d2dd5,_0x4242e1,_0x928b92,_0x100063,_0xc16b8);}async[_0x563413(0x1f9)](_0x270130){const _0x21633f=_0x563413,_0x2fd82d=await this[_0x21633f(0x207)](),_0x5d07e5=this[_0x21633f(0x270)](_0x270130,_0x2fd82d);return this[_0x21633f(0x3b3)](_0x5d07e5);}['_createSocketURL'](_0x469505,_0x15d939){const _0x10f38e=_0x563413,_0x549226=typeof window>'u'?new URL(_0x469505):new URL(_0x469505,window[_0x10f38e(0x2e9)][_0x10f38e(0x27b)]);_0x549226[_0x10f38e(0x2b8)][_0x10f38e(0x3a1)](_0x10f38e(0x383),_0x15d939);const _0x3d75ff=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x10f38e(0x2e9)]['search']);return _0x3d75ff[_0x10f38e(0x32e)](_0x10f38e(0x271))&&_0x549226[_0x10f38e(0x2b8)]['set']('runId',_0x3d75ff['get'](_0x10f38e(0x271))),_0x549226[_0x10f38e(0x357)]();}async['_getSessionTicket'](){const _0x6fa66a=_0x563413;var _0x9c3f78,_0x2368f7,_0x15132f;const _0xa4facf=this[_0x6fa66a(0x366)][_0x6fa66a(0x1da)](_0x3b788b),_0x20b2e0=(_0x9c3f78=_0xa4facf==null?void 0x0:_0xa4facf['wsSessionTicketUrl'])!=null?_0x9c3f78:_0x153ab7;return(_0x15132f=(_0x2368f7=(await this[_0x6fa66a(0x200)]['get'](_0x20b2e0,{'headers':{'Content-Type':_0x6fa66a(0x31a)}}))[_0x6fa66a(0x1e2)])==null?void 0x0:_0x2368f7[_0x6fa66a(0x278)])!=null?_0x15132f:'';}};st=In([K(0x0,_0x5c6460(_0x1d66e7)),K(0x1,_0x5c6460(_0x3fb791)),K(0x2,_0x395855),K(0x3,_0x3c1e89),K(0x4,_0x2d5160)],st);const it=0x7530,nt='ACTIVE_UNIT_EVENT_CHANNEL';class jn extends _0x1fbc6b{constructor(){const _0x50e002=_0x563413;super(),_(this,_0x50e002(0x3ad),_0x214fa4()),_(this,'_selfUnitIDs',new Set()),_(this,_0x50e002(0x2c2),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x50e002(0x21a),new Map()),_(this,'_unitStatus',new Map()),this[_0x50e002(0x2c6)]();}['dispose'](){const _0x5839ec=_0x563413;super[_0x5839ec(0x37b)](),this[_0x5839ec(0x21a)][_0x5839ec(0x29b)]((_0x3cbd62,_0x2d2a22)=>this[_0x5839ec(0x3d6)](_0x2d2a22)),this[_0x5839ec(0x28e)]&&window[_0x5839ec(0x2a5)](this[_0x5839ec(0x28e)]);}[_0x563413(0x280)](_0x3b3961){const _0x317653=_0x563413;return this[_0x317653(0x283)](_0x3b3961)['pipe'](_0x5718a3());}[_0x563413(0x354)](_0x14c9b1){const _0x5eaa7f=_0x563413;this[_0x5eaa7f(0x305)][_0x5eaa7f(0x36d)]===0x0&&this[_0x5eaa7f(0x319)](),this['_selfUnitIDs'][_0x5eaa7f(0x308)](_0x14c9b1),this[_0x5eaa7f(0x2a6)]({'type':0x0,'memberID':this[_0x5eaa7f(0x3ad)],'unitIDs':[_0x14c9b1],'isForwarded':!0x1});}[_0x563413(0x364)](_0x567283){const _0x3c411f=_0x563413;this[_0x3c411f(0x305)]['delete'](_0x567283),this[_0x3c411f(0x305)][_0x3c411f(0x36d)]===0x0&&this[_0x3c411f(0x28e)]&&window['clearInterval'](this[_0x3c411f(0x28e)]);}['_init'](){const _0xacc9e2=_0x563413;this[_0xacc9e2(0x1f8)](_0x3e0e70(_0x2974a5(window,_0xacc9e2(0x2f6))[_0xacc9e2(0x240)](_0x1c7b40=>{const _0x13537e=_0xacc9e2;if(_0x1c7b40[_0x13537e(0x258)]!==nt||!_0x1c7b40[_0x13537e(0x220)])return;const _0x3312d5=JSON[_0x13537e(0x3b8)](_0x1c7b40['newValue']);this[_0x13537e(0x1e9)](_0x3312d5);}))),window[_0xacc9e2(0x20e)](_0xacc9e2(0x28b),()=>this['_send']({'type':0x1,'memberID':this[_0xacc9e2(0x3ad)],'unitIDs':Array[_0xacc9e2(0x349)](this[_0xacc9e2(0x305)])}));}[_0x563413(0x1e9)](_0x357cd0){const _0x414232=_0x563413;switch(_0x357cd0[_0x414232(0x3b0)]){case 0x0:this['_handleJoinEvent'](_0x357cd0);break;case 0x1:this[_0x414232(0x38a)](_0x357cd0);break;case 0x2:this[_0x414232(0x242)](_0x357cd0);break;}}[_0x563413(0x2d1)](_0x21b945){const _0x217eb4=_0x563413,{unitIDs:_0x48a886,memberID:_0x3685aa,isForwarded:_0x419ff0}=_0x21b945;_0x48a886['forEach'](_0x8cda78=>{const _0x16425a=_0x129d;if(!_0x419ff0&&this['_unitOnClients'][_0x16425a(0x3b6)](_0x8cda78)&&this[_0x16425a(0x283)](_0x8cda78)[_0x16425a(0x241)](_0x5080da[_0x16425a(0x363)]),!this[_0x16425a(0x2c2)][_0x16425a(0x3b6)](_0x8cda78)||!this[_0x16425a(0x2c2)][_0x16425a(0x32e)](_0x8cda78)['has'](_0x3685aa)){const _0x5660de=this[_0x16425a(0x2c2)]['get'](_0x8cda78)||new Set();_0x5660de[_0x16425a(0x308)](_0x3685aa),this[_0x16425a(0x2c2)][_0x16425a(0x3a1)](_0x8cda78,_0x5660de),this['_scheduleClearOtherTimer'](_0x3685aa);}}),_0x419ff0||this[_0x217eb4(0x2a6)]({'type':0x0,'memberID':this[_0x217eb4(0x3ad)],'unitIDs':[...this[_0x217eb4(0x305)]],'isForwarded':!0x0});}[_0x563413(0x39d)](_0x277685){const _0x5fcac2=_0x563413;this[_0x5fcac2(0x3d6)](_0x277685);const _0x4f9aee=window[_0x5fcac2(0x1fe)](()=>{const _0x25a055=_0x5fcac2;this['_unitOnClients'][_0x25a055(0x29b)](_0x1f4cb5=>{_0x1f4cb5['delete'](_0x277685);});},it*0x2);this[_0x5fcac2(0x21a)][_0x5fcac2(0x3a1)](_0x277685,_0x4f9aee);}['_removeClearOtherTimer'](_0x5eee82){const _0x81b353=_0x563413;if(this[_0x81b353(0x21a)]['has'](_0x5eee82)){const _0x554b7c=this[_0x81b353(0x21a)][_0x81b353(0x32e)](_0x5eee82);_0x554b7c&&window['clearTimeout'](_0x554b7c),this[_0x81b353(0x21a)][_0x81b353(0x3a1)](_0x5eee82,null);}}[_0x563413(0x38a)](_0x5c95db){const _0x5b8291=_0x563413,{memberID:_0x3862d4,unitIDs:_0x2751f1}=_0x5c95db;_0x2751f1[_0x5b8291(0x29b)](_0x5c44d6=>{const _0x1f934a=_0x5b8291;var _0x59a8c6;const _0x3d7bf=this[_0x1f934a(0x2c2)][_0x1f934a(0x32e)](_0x5c44d6);_0x3d7bf&&(_0x3d7bf[_0x1f934a(0x1e8)](_0x3862d4),(_0x59a8c6=this[_0x1f934a(0x283)](_0x5c44d6))==null||_0x59a8c6[_0x1f934a(0x241)](_0x3d7bf['size']===0x0?_0x5080da[_0x1f934a(0x380)]:_0x5080da[_0x1f934a(0x363)]));}),this[_0x5b8291(0x3d6)](_0x3862d4);}[_0x563413(0x242)](_0x41acfd){const _0x5baf1d=_0x563413;this[_0x5baf1d(0x39d)](_0x41acfd['memberID']);}[_0x563413(0x2a6)](_0x163fb0){const _0x4a7b63=_0x563413;localStorage[_0x4a7b63(0x210)](nt,JSON['stringify'](_0x163fb0));}['_scheduleHeartbeat'](){const _0x4b415d=_0x563413;this[_0x4b415d(0x28e)]=window[_0x4b415d(0x2bc)](()=>{const _0x278451=_0x4b415d;this[_0x278451(0x2a6)]({'type':0x2,'memberID':this[_0x278451(0x3ad)]});},it);}['_ensureSubject'](_0x312359){const _0xa5b96=_0x563413;return this[_0xa5b96(0x224)][_0xa5b96(0x3b6)](_0x312359)||this[_0xa5b96(0x224)][_0xa5b96(0x3a1)](_0x312359,new _0x4621a1(_0x5080da[_0xa5b96(0x380)])),this[_0xa5b96(0x224)]['get'](_0x312359);}}var Mt=(_0x5196f8=>(_0x5196f8[_0x5196f8['UNDEFINED']=0x0]=_0x563413(0x2b1),_0x5196f8[_0x5196f8['OK']=0x1]='OK',_0x5196f8[_0x5196f8['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x5196f8[_0x5196f8['PERMISSION_DENIED']=0x3]=_0x563413(0x2f7),_0x5196f8[_0x5196f8[_0x563413(0x29e)]=0x4]='NOT_FOUND',_0x5196f8[_0x5196f8['UNAUTHENTICATED']=0x5]=_0x563413(0x2e5),_0x5196f8[_0x5196f8[_0x563413(0x234)]=0x6]='ALREADY_EXISTS',_0x5196f8[_0x5196f8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x5196f8[_0x5196f8[_0x563413(0x1e7)]=0x8]='TOO_MANY_REQUESTS',_0x5196f8[_0x5196f8[_0x563413(0x230)]=0x9]='COMPLETION_FINISHED',_0x5196f8[_0x5196f8[_0x563413(0x276)]=0xa]=_0x563413(0x276),_0x5196f8[_0x5196f8['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x563413(0x226),_0x5196f8[_0x5196f8[_0x563413(0x38e)]=0x1771]=_0x563413(0x38e),_0x5196f8[_0x5196f8[_0x563413(0x21e)]=0x1772]=_0x563413(0x21e),_0x5196f8[_0x5196f8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x563413(0x239),_0x5196f8[_0x5196f8[_0x563413(0x2f1)]=0x1b59]=_0x563413(0x2f1),_0x5196f8[_0x5196f8[_0x563413(0x214)]=0x1b5a]=_0x563413(0x214),_0x5196f8[_0x5196f8['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x563413(0x265),_0x5196f8[_0x5196f8[_0x563413(0x2eb)]=0x1b5c]=_0x563413(0x2eb),_0x5196f8[_0x5196f8['APPLY_DUPLICATED']=0x1b5d]=_0x563413(0x259),_0x5196f8[_0x5196f8[_0x563413(0x31b)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5196f8[_0x5196f8[_0x563413(0x267)]=0x2329]=_0x563413(0x267),_0x5196f8[_0x5196f8[_0x563413(0x3d7)]=0x232a]=_0x563413(0x3d7),_0x5196f8[_0x5196f8[_0x563413(0x20b)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5196f8[_0x5196f8[_0x563413(0x2c4)]=0x232c]=_0x563413(0x2c4),_0x5196f8[_0x5196f8[_0x563413(0x3c5)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5196f8[_0x5196f8['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x563413(0x333),_0x5196f8[_0x5196f8[_0x563413(0x30a)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5196f8[_0x5196f8[_0x563413(0x36c)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5196f8[_0x5196f8[_0x563413(0x371)]=0x2714]=_0x563413(0x371),_0x5196f8[_0x5196f8['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x563413(0x20a),_0x5196f8[_0x5196f8[_0x563413(0x24c)]=0x271b]=_0x563413(0x24c),_0x5196f8[_0x5196f8[_0x563413(0x39a)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5196f8[_0x5196f8[_0x563413(0x325)]=0x2ee1]=_0x563413(0x325),_0x5196f8[_0x5196f8[_0x563413(0x2f9)]=0x2ee2]='INVALID_INVITE_CODE',_0x5196f8[_0x5196f8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x563413(0x2c3),_0x5196f8[_0x5196f8[_0x563413(0x2e7)]=0x2ee4]=_0x563413(0x2e7),_0x5196f8[_0x5196f8[_0x563413(0x212)]=0x2ee5]=_0x563413(0x212),_0x5196f8[_0x5196f8[_0x563413(0x2b5)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x5196f8[_0x5196f8[_0x563413(0x31e)]=0x32ca]=_0x563413(0x31e),_0x5196f8[_0x5196f8[_0x563413(0x3d5)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5196f8[_0x5196f8[_0x563413(0x288)]=-0x1]=_0x563413(0x288),_0x5196f8))(Mt||{}),pn=Object[_0x563413(0x350)],Cn=(_0xfea313,_0x2e9963,_0x31bdf9,_0x2d0cb9)=>{for(var _0x4fbb1d=_0x2d0cb9>0x1?void 0x0:_0x2d0cb9?pn(_0x2e9963,_0x31bdf9):_0x2e9963,_0x11686d=_0xfea313['length']-0x1,_0x242cb9;_0x11686d>=0x0;_0x11686d--)(_0x242cb9=_0xfea313[_0x11686d])&&(_0x4fbb1d=_0x242cb9(_0x4fbb1d)||_0x4fbb1d);return _0x4fbb1d;},Oe=(_0x416b24,_0x3f8577)=>(_0x3ed0ce,_0x48bd52)=>_0x3f8577(_0x3ed0ce,_0x48bd52,_0x416b24);let rt=class extends _0x1fbc6b{constructor(_0x223cd9,_0x5a4cf2,_0x5a7486){const _0x4c7426=_0x563413;super(),this[_0x4c7426(0x3ab)]=_0x223cd9,this['_httpService']=_0x5a4cf2,this[_0x4c7426(0x366)]=_0x5a7486;}async[_0x563413(0x3a9)](_0x55b471,_0x315d4b,_0x8f3d0d,..._0x182666){const _0x322e4f=_0x563413;var _0x18f6fb,_0x188aa4,_0xa1394e,_0x6fbe2;const _0x4bc79b=this[_0x322e4f(0x3ab)]['getFocusedUnit']();if(!_0x4bc79b)throw new Error(_0x322e4f(0x309));const _0x1995a5=((_0x18f6fb=this[_0x322e4f(0x366)][_0x322e4f(0x1da)](_0x41e7a3))!=null?_0x18f6fb:_0x31124b)+'/'+_0x55b471+_0x322e4f(0x379)+_0x315d4b,_0xb24270=new URL(window[_0x322e4f(0x2e9)][_0x322e4f(0x20c)]),_0x38a005={'scriptId':_0x55b471,'runId':(_0x188aa4=_0xb24270['searchParams'][_0x322e4f(0x32e)](_0x322e4f(0x271)))!=null?_0x188aa4:'','function':_0x315d4b,'unitId':_0x4bc79b[_0x322e4f(0x279)](),'argsOfFunction':JSON['stringify'](_0x182666),'invokeId':(_0xa1394e=_0x8f3d0d[_0x322e4f(0x2ce)])!=null?_0xa1394e:'','executionId':(_0x6fbe2=_0x8f3d0d[_0x322e4f(0x1e0)])!=null?_0x6fbe2:''};try{const _0xcb66b3=await this[_0x322e4f(0x200)]['post'](_0x1995a5,{'body':_0x38a005});return _0xcb66b3['body']['error']&&_0xcb66b3['body'][_0x322e4f(0x25d)][_0x322e4f(0x282)]!==Mt['OK']?'Failed':_0xcb66b3[_0x322e4f(0x1e2)][_0x322e4f(0x302)];}catch{return _0x322e4f(0x24d);}}};rt=Cn([Oe(0x0,_0x31a664),Oe(0x1,_0x5c6460(_0x3fb791)),Oe(0x2,_0x395855)],rt);export{st as BrowserCollaborationSocketService,ie as CollaborationDataLoaderController,Vi as CollaborationStatusDisplay,te as DesktopCollaborationStatusDisplayController,Ut as IURLService,rt as RemoteUniscriptService,Li as SheetCollabCursorShape,Ae as UniverCollaborationClientUIPlugin,jn as WebBrowserSingleActiveUnitService,hn as WebURLService};
@@ -1 +1 @@
1
- function _0x4178(_0x12473f,_0x4517d8){const _0x2c8173=_0x2c81();return _0x4178=function(_0x4178f1,_0xfe49cd){_0x4178f1=_0x4178f1-0x76;let _0x4b06f6=_0x2c8173[_0x4178f1];return _0x4b06f6;},_0x4178(_0x12473f,_0x4517d8);}const _0x4f40ae=_0x4178;(function(_0x4f158a,_0x3d39c4){const _0x53914c=_0x4178,_0x3fab1c=_0x4f158a();while(!![]){try{const _0x44838b=-parseInt(_0x53914c(0x7d))/0x1*(-parseInt(_0x53914c(0x8f))/0x2)+parseInt(_0x53914c(0x87))/0x3+-parseInt(_0x53914c(0x88))/0x4*(-parseInt(_0x53914c(0x8b))/0x5)+-parseInt(_0x53914c(0x85))/0x6+parseInt(_0x53914c(0x76))/0x7+-parseInt(_0x53914c(0x78))/0x8*(parseInt(_0x53914c(0x89))/0x9)+parseInt(_0x53914c(0x7b))/0xa*(-parseInt(_0x53914c(0x8d))/0xb);if(_0x44838b===_0x3d39c4)break;else _0x3fab1c['push'](_0x3fab1c['shift']());}catch(_0x4a8bc8){_0x3fab1c['push'](_0x3fab1c['shift']());}}}(_0x2c81,0x43778));const e={'collab-client':{'tooltip':{'reconnect':_0x4f40ae(0x8c)}},'collabStatus':{'fetchMiss':_0x4f40ae(0x7e),'conflict':_0x4f40ae(0x8a),'notCollab':_0x4f40ae(0x7c),'synced':_0x4f40ae(0x81),'syncing':'Syncing...','offline':_0x4f40ae(0x8e)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x4f40ae(0x7f),'room-full':_0x4f40ae(0x80),'collaboration-timeout':_0x4f40ae(0x82)},'conflict':{'title':_0x4f40ae(0x83),'content':_0x4f40ae(0x7a)},'permission':{'title':_0x4f40ae(0x77),'content':_0x4f40ae(0x79)},'collaboration':{'single-unit':{'warning':_0x4f40ae(0x84)},'closeRoom':_0x4f40ae(0x86)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x2c81(){const _0x4a99a9=['Click\x20to\x20Reconnect','319zGABlE','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','486UQgXKw','1487647DLZTxq','Authentication\x20Error','1264ryQGVl','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','32510TMsUtP','Local\x20file','2193ZWCNYD','Syncing\x20server\x20data...','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1399554KXPdAy','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','170952wrtgKQ','8eWljHf','23346NsrVXL','Edit\x20conflicts','528325SDPeRv'];_0x2c81=function(){return _0x4a99a9;};return _0x2c81();}export{e as default};
1
+ function _0x4eb3(){const _0x1b46fe=['Edit\x20conflicts','3396726oYOLgr','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','40iaZnXa','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','6lGGvLv','303940HZPhFA','Syncing...','Connection\x20failed,\x20please\x20check\x20your\x20network.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','68180CSeIiO','5XYlqZh','10580614rKYyRe','Collaboration\x20Conflict','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Authentication\x20Error','Click\x20to\x20Reconnect','8217965UGYuVy','16eDhjsK','344422TokoDE','1856070IWuzsM'];_0x4eb3=function(){return _0x1b46fe;};return _0x4eb3();}const _0x4310a1=_0x36d0;(function(_0x1e011d,_0x180089){const _0x110d4c=_0x36d0,_0x56b492=_0x1e011d();while(!![]){try{const _0x192698=-parseInt(_0x110d4c(0xb4))/0x1*(parseInt(_0x110d4c(0xa7))/0x2)+parseInt(_0x110d4c(0xa8))/0x3+parseInt(_0x110d4c(0xac))/0x4*(-parseInt(_0x110d4c(0xb3))/0x5)+-parseInt(_0x110d4c(0xae))/0x6*(-parseInt(_0x110d4c(0xa5))/0x7)+-parseInt(_0x110d4c(0xa6))/0x8*(-parseInt(_0x110d4c(0xaa))/0x9)+parseInt(_0x110d4c(0xaf))/0xa+-parseInt(_0x110d4c(0xb5))/0xb;if(_0x192698===_0x180089)break;else _0x56b492['push'](_0x56b492['shift']());}catch(_0x39d389){_0x56b492['push'](_0x56b492['shift']());}}}(_0x4eb3,0x9707a));const e={'collab-client':{'tooltip':{'reconnect':_0x4310a1(0xa4)}},'collabStatus':{'fetchMiss':'Syncing\x20server\x20data...','conflict':_0x4310a1(0xa9),'notCollab':'Local\x20file','synced':'Synced','syncing':_0x4310a1(0xb0),'offline':_0x4310a1(0xad)},'session':{'connection-failed':_0x4310a1(0xb1),'will-retry':_0x4310a1(0xab),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x4310a1(0xb2)},'conflict':{'title':_0x4310a1(0xb6),'content':'There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.'},'permission':{'title':_0x4310a1(0xa3),'content':_0x4310a1(0xa1)},'collaboration':{'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x4310a1(0xa2)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'}};function _0x36d0(_0x4799df,_0x4094e6){const _0x4eb3bf=_0x4eb3();return _0x36d0=function(_0x36d034,_0x5b613d){_0x36d034=_0x36d034-0xa1;let _0xe3f28d=_0x4eb3bf[_0x36d034];return _0xe3f28d;},_0x36d0(_0x4799df,_0x4094e6);}export{e as default};
@@ -1 +1 @@
1
- const _0x3b0576=_0x3780;function _0x3780(_0x284875,_0x1de682){const _0x73f521=_0x73f5();return _0x3780=function(_0x378066,_0x38fc33){_0x378066=_0x378066-0x7f;let _0x3b9e9e=_0x73f521[_0x378066];return _0x3b9e9e;},_0x3780(_0x284875,_0x1de682);}(function(_0xb1a1fa,_0x4c3f05){const _0x2b3ea4=_0x3780,_0x54cbd8=_0xb1a1fa();while(!![]){try{const _0x36acc2=-parseInt(_0x2b3ea4(0x94))/0x1*(parseInt(_0x2b3ea4(0x97))/0x2)+parseInt(_0x2b3ea4(0x89))/0x3*(-parseInt(_0x2b3ea4(0x9a))/0x4)+parseInt(_0x2b3ea4(0x98))/0x5*(parseInt(_0x2b3ea4(0x8e))/0x6)+-parseInt(_0x2b3ea4(0x87))/0x7*(-parseInt(_0x2b3ea4(0x90))/0x8)+-parseInt(_0x2b3ea4(0x99))/0x9*(-parseInt(_0x2b3ea4(0x96))/0xa)+parseInt(_0x2b3ea4(0x88))/0xb+-parseInt(_0x2b3ea4(0x8f))/0xc*(parseInt(_0x2b3ea4(0x85))/0xd);if(_0x36acc2===_0x4c3f05)break;else _0x54cbd8['push'](_0x54cbd8['shift']());}catch(_0x341e40){_0x54cbd8['push'](_0x54cbd8['shift']());}}}(_0x73f5,0xd34ed));const o={'collab-client':{'tooltip':{'reconnect':_0x3b0576(0x80)}},'collabStatus':{'fetchMiss':_0x3b0576(0x8d),'conflict':_0x3b0576(0x81),'notCollab':'پرونده\x20محلی','synced':_0x3b0576(0x82),'syncing':_0x3b0576(0x8a),'offline':'آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند'},'session':{'connection-failed':'اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','will-retry':_0x3b0576(0x8b),'room-full':_0x3b0576(0x92),'collaboration-timeout':_0x3b0576(0x86)},'conflict':{'title':_0x3b0576(0x7f),'content':_0x3b0576(0x91)},'permission':{'title':_0x3b0576(0x83),'content':_0x3b0576(0x84)},'collaboration':{'single-unit':{'warning':_0x3b0576(0x8c)},'closeRoom':_0x3b0576(0x95)},'auth':{'needGotoLoginAlert':_0x3b0576(0x93)}};export{o as default};function _0x73f5(){const _0x4c7044=['شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','15870ABxBsa','12VixEbZ','10855136HwPIwO','یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.','1DrGhha','امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.','466190FbRZMK','173666nhpGdn','625LDqlTf','189LAuwNB','124quSxvq','تداخل\x20همکاری','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','تداخل\x20ویرایش','همگام\x20سازی','خطای\x20اعتبارسنجی','اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','29039335qhPgOK','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','7rxdhlh','6505334XsxoJB','6945uAXAIx','در\x20حال\x20همگام\x20سازی...','اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.'];_0x73f5=function(){return _0x4c7044;};return _0x73f5();}
1
+ const _0x5b08a2=_0x1c53;(function(_0x235f06,_0x141861){const _0x90fbc3=_0x1c53,_0x48b83e=_0x235f06();while(!![]){try{const _0x5c65e2=-parseInt(_0x90fbc3(0x15e))/0x1+-parseInt(_0x90fbc3(0x16f))/0x2+parseInt(_0x90fbc3(0x15f))/0x3+-parseInt(_0x90fbc3(0x171))/0x4*(parseInt(_0x90fbc3(0x165))/0x5)+parseInt(_0x90fbc3(0x163))/0x6+parseInt(_0x90fbc3(0x16b))/0x7+parseInt(_0x90fbc3(0x16c))/0x8;if(_0x5c65e2===_0x141861)break;else _0x48b83e['push'](_0x48b83e['shift']());}catch(_0x586661){_0x48b83e['push'](_0x48b83e['shift']());}}}(_0x4b75,0x29f9d));function _0x1c53(_0x385f3c,_0x23a267){const _0x4b7546=_0x4b75();return _0x1c53=function(_0x1c531b,_0x7ea2ce){_0x1c531b=_0x1c531b-0x15e;let _0x4c1206=_0x4b7546[_0x1c531b];return _0x4c1206;},_0x1c53(_0x385f3c,_0x23a267);}function _0x4b75(){const _0x5cbcbf=['اعمال\x20شما\x20با\x20مجوزهای\x20سرور\x20تداخل\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20در\x20جای\x20دیگر\x20ذخیره\x20کنید\x20زیرا\x20پس\x20از\x20تازه\x20سازی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.','شما\x20همان\x20پرونده\x20را\x20در\x20یک\x20تب\x20دیگر\x20باز\x20کرده\x20اید.\x20در\x20صورت\x20عدم\x20وجود\x20داده،\x20نمی\x20توانید\x20در\x20این\x20تب\x20ویرایش\x20کنید.','در\x20حال\x20همگام\x20سازی\x20داده\x20های\x20سرور...','در\x20حال\x20همگام\x20سازی...','برای\x20اتصال\x20مجدد\x20کلیک\x20کنید','240849uHEKnv','2417912iQwNlu','خطای\x20اعتبارسنجی','تداخل\x20ویرایش','430044hjCfje','همگام\x20سازی','36tSTBWK','تداخل\x20همکاری','63222TnTnFX','660225nLUpTU','سرور\x20به\x20درخواست\x20همکاری\x20شما\x20پاسخ\x20نمی\x20دهد.\x20ویرایش\x20های\x20شما\x20در\x20محلی\x20ذخیره\x20می\x20شوند.','اتصال\x20ناموفق\x20بود،\x20لطفا\x20شبکه\x20خود\x20را\x20بررسی\x20کنید.','اتاق\x20همکاری\x20پر\x20است.\x20شما\x20ویرایش\x20های\x20خود\x20را\x20در\x20محلی\x20ذخیره\x20خواهید\x20کرد.','1394322PUluYi','آفلاین،\x20ویرایش\x20ها\x20در\x20محلی\x20ذخیره\x20می\x20شوند','188295BKWnVW'];_0x4b75=function(){return _0x5cbcbf;};return _0x4b75();}const o={'collab-client':{'tooltip':{'reconnect':_0x5b08a2(0x16a)}},'collabStatus':{'fetchMiss':_0x5b08a2(0x168),'conflict':_0x5b08a2(0x16e),'notCollab':'پرونده\x20محلی','synced':_0x5b08a2(0x170),'syncing':_0x5b08a2(0x169),'offline':_0x5b08a2(0x164)},'session':{'connection-failed':_0x5b08a2(0x161),'will-retry':'اتصال\x20ناموفق\x20بود،\x20ما\x20بعداً\x20دوباره\x20تلاش\x20می\x20کنیم.','room-full':_0x5b08a2(0x162),'collaboration-timeout':_0x5b08a2(0x160)},'conflict':{'title':_0x5b08a2(0x172),'content':'یک\x20تداخل\x20بین\x20نسخه\x20محلی\x20شما\x20و\x20نسخه\x20در\x20سرور\x20وجود\x20دارد.\x20لطفاً\x20ویرایش\x20های\x20محلی\x20خود\x20را\x20ذخیره\x20کنید،\x20زیرا\x20آنها\x20پس\x20از\x20بازیابی\x20صفحه\x20از\x20بین\x20خواهند\x20رفت.'},'permission':{'title':_0x5b08a2(0x16d),'content':_0x5b08a2(0x166)},'collaboration':{'single-unit':{'warning':_0x5b08a2(0x167)},'closeRoom':'امتیازات\x20ویرایش\x20به\x20دلیل\x20بسته\x20شدن\x20اتاق\x20همکاری\x20لغو\x20شد.'},'auth':{'needGotoLoginAlert':'ورود\x20شما\x20منقضی\x20شده\x20است،\x20برای\x20ورود\x20مجدد\x20کلیک\x20کنید،\x20برای\x20ذخیره\x20ویرایش\x20های\x20محلی\x20خود\x20کلیک\x20کنید.'}};export{o as default};