@univerjs-pro/collaboration-client-ui 0.19.0 → 0.20.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.
Files changed (57) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/sk-SK.js +1 -1
  12. package/lib/cjs/locale/vi-VN.js +1 -1
  13. package/lib/cjs/locale/zh-CN.js +1 -1
  14. package/lib/cjs/locale/zh-TW.js +1 -1
  15. package/lib/es/facade.js +1 -1
  16. package/lib/es/index.js +1 -1
  17. package/lib/es/locale/ca-ES.js +1 -1
  18. package/lib/es/locale/en-US.js +1 -1
  19. package/lib/es/locale/es-ES.js +1 -1
  20. package/lib/es/locale/fa-IR.js +1 -1
  21. package/lib/es/locale/fr-FR.js +1 -1
  22. package/lib/es/locale/ja-JP.js +1 -1
  23. package/lib/es/locale/ko-KR.js +1 -1
  24. package/lib/es/locale/ru-RU.js +1 -1
  25. package/lib/es/locale/sk-SK.js +1 -1
  26. package/lib/es/locale/vi-VN.js +1 -1
  27. package/lib/es/locale/zh-CN.js +1 -1
  28. package/lib/es/locale/zh-TW.js +1 -1
  29. package/lib/facade.js +1 -1
  30. package/lib/index.js +1 -1
  31. package/lib/locale/ca-ES.js +1 -1
  32. package/lib/locale/en-US.js +1 -1
  33. package/lib/locale/es-ES.js +1 -1
  34. package/lib/locale/fa-IR.js +1 -1
  35. package/lib/locale/fr-FR.js +1 -1
  36. package/lib/locale/ja-JP.js +1 -1
  37. package/lib/locale/ko-KR.js +1 -1
  38. package/lib/locale/ru-RU.js +1 -1
  39. package/lib/locale/sk-SK.js +1 -1
  40. package/lib/locale/vi-VN.js +1 -1
  41. package/lib/locale/zh-CN.js +1 -1
  42. package/lib/locale/zh-TW.js +1 -1
  43. package/lib/umd/facade.js +1 -1
  44. package/lib/umd/index.js +1 -1
  45. package/lib/umd/locale/ca-ES.js +1 -1
  46. package/lib/umd/locale/en-US.js +1 -1
  47. package/lib/umd/locale/es-ES.js +1 -1
  48. package/lib/umd/locale/fa-IR.js +1 -1
  49. package/lib/umd/locale/fr-FR.js +1 -1
  50. package/lib/umd/locale/ja-JP.js +1 -1
  51. package/lib/umd/locale/ko-KR.js +1 -1
  52. package/lib/umd/locale/ru-RU.js +1 -1
  53. package/lib/umd/locale/sk-SK.js +1 -1
  54. package/lib/umd/locale/vi-VN.js +1 -1
  55. package/lib/umd/locale/zh-CN.js +1 -1
  56. package/lib/umd/locale/zh-TW.js +1 -1
  57. package/package.json +16 -16
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x5ab0c7=_0x1554;(function(_0xd06101,_0x3aa98f){const _0x514b0a=_0x1554,_0x23152e=_0xd06101();while(!![]){try{const _0x365444=parseInt(_0x514b0a(0x273))/0x1*(parseInt(_0x514b0a(0x224))/0x2)+-parseInt(_0x514b0a(0x1ea))/0x3+parseInt(_0x514b0a(0x282))/0x4+parseInt(_0x514b0a(0x104))/0x5*(parseInt(_0x514b0a(0x174))/0x6)+-parseInt(_0x514b0a(0x230))/0x7*(-parseInt(_0x514b0a(0x1ab))/0x8)+-parseInt(_0x514b0a(0x2b0))/0x9+parseInt(_0x514b0a(0x23e))/0xa*(-parseInt(_0x514b0a(0xf4))/0xb);if(_0x365444===_0x3aa98f)break;else _0x23152e['push'](_0x23152e['shift']());}catch(_0x3b9f74){_0x23152e['push'](_0x23152e['shift']());}}}(_0x234f,0x5f225));import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x4073a2,CollaborationController as _0x6954ab,CollaborationSessionService as _0x1e4eb2,CollaborationSocketService as _0x5991bb,CollaborationStatus as _0x57d63d,CollaborationUIEventId as _0x52d70c,CollaborationUIEventService as _0x1b28cf,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x4af44c,DEFAULT_WS_SESSION_TICKET_URL as _0x570daa,DataLoaderService as _0x540d84,DocCollaborationEntity as _0x367a83,ILocalCacheService as _0x2e3f80,LOCAL_CACHE_INTERVAL as _0x8adfa0,LOCAL_CACHE_INTERVAL_KEY as _0x5df1d4,MemberService as _0x15c022,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x44f5c3,SessionStatus as _0x246e28,UnitStatus as _0x493098,UniverCollaborationClientPlugin as _0x3c9aa5,getLocalCacheKey as _0x4aee08}from'@univerjs-pro/collaboration-client';import{COLORS as _0xf39947,CanceledError as _0x3cdefa,ColorKit as _0x44845e,CommandType as _0x148cf4,DOC_RANGE_TYPE as _0x1db158,DependentOn as _0x13e920,Disposable as _0x523128,DisposableCollection as _0x1ac409,ICommandService as _0x3a0b46,IConfigService as _0x3f0750,ILocalStorageService as _0x14af55,ILogService as _0x52d5a0,IUniverInstanceService as _0x158dbd,Inject as _0x385466,Injector as _0x12dd3a,LocaleService as _0x10cfad,Optional as _0x4100aa,Plugin as _0x2e878b,Rectangle as _0x423a28,RxDisposable as _0x3e00b1,ThemeService as _0x150735,Tools as _0xf8f71f,UniverInstanceType as _0x3597f4,Workbook as _0x50b55c,createIdentifier as _0x370def,debounce as _0x2a29a2,fromEventSubject as _0x2fb84e,generateRandomId as _0x4fc970,isFormulaId as _0x28931b,isFormulaString as _0x45b340,merge as _0x579330,mergeOverrideWithDependencies as _0x197ea8,registerDependencies as _0x2c45fc,toDisposable as _0x235225,touchDependencies as _0x139dab}from'@univerjs/core';import{BuiltInUIPart as _0x1b3183,IBeforeCloseService as _0x2073af,IMessageService as _0x109677,INotificationService as _0x4abf70,IUIPartsService as _0x37888f,connectInjector as _0x5b66b7,useDependency as _0x5921e2,useObservable as _0x478d1f}from'@univerjs/ui';import{BehaviorSubject as _0x4da081,Subject as _0x58e841,combineLatest as _0xc7a6b,debounceTime as _0x540cab,distinctUntilChanged as _0x11786c,filter as _0x29463f,fromEvent as _0x34458e,mapTo as _0x5274ec,merge as _0x7fc7c3,of as _0x137210,shareReplay as _0x5d8cd1,switchMap as _0x546add,takeUntil as _0x1507cd}from'rxjs';import{MessageType as _0x440a35,Tooltip as _0x564d1f,clsx as _0x326efd}from'@univerjs/design';import{OffLineIcon as _0x12f17c,OnLineIcon as _0x34980b}from'@univerjs/icons';import{useCallback as _0x297645}from'react';import{jsx as _0x2cf521,jsxs as _0x3fc5f5}from'react/jsx-runtime';import{IRemoteInstanceService as _0x3d792d}from'@univerjs/rpc';import{EffectRefRangId as _0x2fed12,RefRangeService as _0x8f9d9e,SetSelectionsOperation as _0x4e7b63,SetWorksheetActivateCommand as _0x46f924,SheetsSelectionsService as _0x1d79be,handleDeleteRangeMoveLeft as _0x24304e,handleDeleteRangeMoveUp as _0x3268cb,handleIRemoveCol as _0x59a55a,handleIRemoveRow as _0x977488,handleInsertCol as _0x1d78e8,handleInsertRangeMoveDown as _0x2d51bc,handleInsertRangeMoveRight as _0x21c04d,handleInsertRow as _0x34a3ff,handleMoveRange as _0xfd1dd5,runRefRangeMutations as _0x35f219}from'@univerjs/sheets';import{IRenderManagerService as _0x468c4a,Rect as _0x26b045,RegularPolygon as _0x3874c2,SHEET_VIEWPORT_KEY as _0x2a68ed,Shape as _0x1d8b45,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1c0499,Vector2 as _0x395357,getColor as _0x13aa2d}from'@univerjs/engine-render';import{HTTPService as _0x2c96c7,ISocketService as _0x43a017,WebSocketService as _0x153cb5}from'@univerjs/network';import{DocIMEInputManagerService as _0x129a3b,DocStateChangeManagerService as _0x18c255,IDocClipboardService as _0x25a48e,NodePositionConvertToCursor as _0x51c7ea,NodePositionConvertToRectRange as _0x4b470b,SetDocZoomRatioOperation as _0x3ba361,TEXT_RANGE_LAYER_INDEX as _0x224bae}from'@univerjs/docs-ui';import{IImageIoService as _0x3b9090}from'@univerjs/drawing';import{CollaborationEvent as _0x1d4fb4,ISnapshotServerService as _0x26b1be,ITransformService as _0x9c92b6,RevisionService as _0x412652,isTransformMutationFailure as _0xd0f140,isTransformMutationsWithChangesetSuccess as _0xbf2597}from'@univerjs-pro/collaboration';import{DocSelectionManagerService as _0x31c9a8,DocSkeletonManagerService as _0x5da90f,RichTextEditingMutation as _0x59ea1a,SetTextSelectionsOperation as _0xfbae2b}from'@univerjs/docs';import{FormulaExecuteStageType as _0x18a09b,FormulaExecutedStateType as _0x33d79d,SetFormulaCalculationNotificationMutation as _0x48ad80,SetFormulaCalculationStartMutation as _0x1c5a0e,deserializeRangeWithSheet as _0x2da882,serializeRangeWithSheet as _0x4b9482}from'@univerjs/engine-formula';import{filter as _0x20ea52,map as _0x162b30,switchMap as _0x48c50b,takeUntil as _0x539e6a,throttleTime as _0xa8ea04}from'rxjs/operators';import{SheetSkeletonManagerService as _0x525013,getCoordByCell as _0x455eac,getSheetObject as _0x2601bd}from'@univerjs/sheets-ui';import{ErrorCode as _0x59693a}from'@univerjs/protocol';function qt(_0x49e7e3){const _0x2b8f0f=_0x1554;switch(_0x49e7e3){case _0x57d63d[_0x2b8f0f(0x1ac)]:return _0x2b8f0f(0x25b);case _0x57d63d[_0x2b8f0f(0xda)]:return _0x2b8f0f(0x27a);case _0x57d63d[_0x2b8f0f(0x2a0)]:return _0x2b8f0f(0x2ae);case _0x57d63d[_0x2b8f0f(0x152)]:return'collabStatus.notCollab';case _0x57d63d[_0x2b8f0f(0x223)]:case _0x57d63d['AWAITING_WITH_PENDING']:return _0x2b8f0f(0x25e);case _0x57d63d[_0x2b8f0f(0x295)]:case _0x57d63d[_0x2b8f0f(0x1fc)]:return'collabStatus.synced';}}function Jt(_0x110eee){const _0x485bd8=_0x1554;let {status$:_0x36749a}=_0x110eee,_0x144e0e=_0x478d1f(_0x36749a,_0x57d63d[_0x485bd8(0x152)]),_0x83495b=_0x5921e2(_0x10cfad),_0x157676=_0x5921e2(_0x1e4eb2),_0x40847e=_0x144e0e!==_0x57d63d[_0x485bd8(0x1ac)],_0x70b569=_0x83495b['t'](qt(_0x144e0e)),_0x24caf2=_0x2cf521(_0x40847e?_0x34980b:_0x12f17c,{}),_0x5188f6=_0x297645(()=>{const _0x7cf816=_0x485bd8;_0x40847e||_0x157676[_0x7cf816(0x12f)]();},[_0x40847e,_0x157676]);function _0x55e39c(){const _0x12d12f=_0x485bd8;return _0x3fc5f5(_0x12d12f(0x1ba),{'className':_0x12d12f(0x298),'onClick':_0x5188f6,'children':[_0x2cf521(_0x12d12f(0x1ba),{'className':_0x326efd(_0x12d12f(0x270),{'univer-text-green-500':_0x40847e,'univer-text-red-500':!_0x40847e}),'children':_0x24caf2}),_0x2cf521('div',{'className':_0x12d12f(0xfb),'children':_0x70b569})]});}return _0x40847e?_0x55e39c():_0x2cf521(_0x564d1f,{'title':_0x83495b['t'](_0x485bd8(0x16a)),'children':_0x55e39c()});}function U(_0x404127){'@babel/helpers - typeof';const _0xc885ad=_0x1554;return U=typeof Symbol=='function'&&typeof Symbol[_0xc885ad(0x10f)]==_0xc885ad(0x12b)?function(_0x5f5d3e){return typeof _0x5f5d3e;}:function(_0x5261ca){const _0x444a0c=_0xc885ad;return _0x5261ca&&typeof Symbol==_0x444a0c(0x236)&&_0x5261ca[_0x444a0c(0x1d1)]===Symbol&&_0x5261ca!==Symbol[_0x444a0c(0x2d1)]?'symbol':typeof _0x5261ca;},U(_0x404127);}function Yt(_0x219bb5,_0x5947db){const _0x563a52=_0x1554;if(U(_0x219bb5)!=_0x563a52(0x201)||!_0x219bb5)return _0x219bb5;var _0x528c2d=_0x219bb5[Symbol[_0x563a52(0x24a)]];if(_0x528c2d!==void 0x0){var _0x5311b2=_0x528c2d['call'](_0x219bb5,_0x5947db||_0x563a52(0x15f));if(U(_0x5311b2)!='object')return _0x5311b2;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x5947db===_0x563a52(0x119)?String:Number)(_0x219bb5);}function Xt(_0x376b7c){const _0x5b8390=_0x1554;var _0x5cd86e=Yt(_0x376b7c,_0x5b8390(0x119));return U(_0x5cd86e)==_0x5b8390(0x12b)?_0x5cd86e:_0x5cd86e+'';}function W(_0x59446b,_0x5ddcab,_0x233fee){const _0x3f4e34=_0x1554;return(_0x5ddcab=Xt(_0x5ddcab))in _0x59446b?Object[_0x3f4e34(0x164)](_0x59446b,_0x5ddcab,{'value':_0x233fee,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x59446b[_0x5ddcab]=_0x233fee,_0x59446b;}function G(_0x32bd1f,_0x564424){return function(_0xdab904,_0x28892c){_0x564424(_0xdab904,_0x28892c,_0x32bd1f);};}function K(_0x3aa7d0,_0x41fff3,_0x32357b,_0x2c70a1){const _0x9fa138=_0x1554;var _0x3b13e1=arguments[_0x9fa138(0xdd)],_0x5c6426=_0x3b13e1<0x3?_0x41fff3:_0x2c70a1===null?_0x2c70a1=Object[_0x9fa138(0x13d)](_0x41fff3,_0x32357b):_0x2c70a1,_0x16636e;if(typeof Reflect==_0x9fa138(0x201)&&typeof Reflect['decorate']==_0x9fa138(0x236))_0x5c6426=Reflect[_0x9fa138(0x14a)](_0x3aa7d0,_0x41fff3,_0x32357b,_0x2c70a1);else{for(var _0x5a6f3f=_0x3aa7d0['length']-0x1;_0x5a6f3f>=0x0;_0x5a6f3f--)(_0x16636e=_0x3aa7d0[_0x5a6f3f])&&(_0x5c6426=(_0x3b13e1<0x3?_0x16636e(_0x5c6426):_0x3b13e1>0x3?_0x16636e(_0x41fff3,_0x32357b,_0x5c6426):_0x16636e(_0x41fff3,_0x32357b))||_0x5c6426);}return _0x3b13e1>0x3&&_0x5c6426&&Object['defineProperty'](_0x41fff3,_0x32357b,_0x5c6426),_0x5c6426;}let q=class extends _0x523128{constructor(_0xa8519,_0x3d57c2,_0x23971c,_0x1367eb){const _0x1c01c0=_0x1554;super(),this[_0x1c01c0(0x188)]=_0xa8519,this[_0x1c01c0(0x2be)]=_0x3d57c2,this[_0x1c01c0(0x1d3)]=_0x23971c,this[_0x1c01c0(0x1c1)]=_0x1367eb,W(this,_0x1c01c0(0x1f4),new _0x4da081(_0x57d63d[_0x1c01c0(0x152)])),this[_0x1c01c0(0x124)](),this['_initStatusListener']();}[_0x5ab0c7(0x2cc)](){const _0x5efdaa=_0x5ab0c7;this[_0x5efdaa(0x258)](this['_univerInstanceService']['focused$']['pipe'](_0x546add(()=>{const _0x10a2b8=_0x5efdaa;let _0x425da7=this['_univerInstanceService']['getFocusedUnit']();return _0x425da7?this[_0x10a2b8(0x1d3)][_0x10a2b8(0x210)](_0x425da7[_0x10a2b8(0x1b2)]()):_0x137210(null);}),_0x546add(_0x3106a9=>_0x3106a9?_0x3106a9[_0x5efdaa(0x135)]:_0x137210(_0x57d63d[_0x5efdaa(0x152)])))[_0x5efdaa(0x1c4)](_0x1815fa=>{const _0x3e7574=_0x5efdaa;this[_0x3e7574(0x1f4)][_0x3e7574(0x213)](_0x1815fa);}));}[_0x5ab0c7(0x124)](){const _0x1e1bc2=_0x5ab0c7;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x1b3183['HEADER_MENU'],()=>_0x5b66b7(Zt({'status$':this[_0x1e1bc2(0x1f4)][_0x1e1bc2(0x287)]()}),this['_injector'])));}};q=K([G(0x0,_0x158dbd),G(0x1,_0x385466(_0x12dd3a)),G(0x2,_0x385466(_0x6954ab)),G(0x3,_0x37888f)],q);function Zt(_0x61f2a5){let {status$:_0x429187}=_0x61f2a5;return function(){return _0x2cf521(Jt,{'status$':_0x429187});};}const Qt=_0x370def(_0x5ab0c7(0x2d2));let J=class extends _0x3e00b1{constructor(_0x280163,_0x5c635a,_0x5e14b3,_0x3b3edd,_0x4e13b0){const _0x9c7274=_0x5ab0c7;super(),this[_0x9c7274(0xd4)]=_0x280163,this[_0x9c7274(0x154)]=_0x5c635a,this[_0x9c7274(0x142)]=_0x5e14b3,this[_0x9c7274(0x22b)]=_0x3b3edd,_0x4e13b0?_0x4e13b0==null||_0x4e13b0[_0x9c7274(0xc6)]()['then'](()=>this['_init']()):(this[_0x9c7274(0x154)]['debug'](_0x9c7274(0x279),_0x9c7274(0x220)),this[_0x9c7274(0x168)]());}async[_0x5ab0c7(0x168)](){const _0x393576=_0x5ab0c7;let _0x1aea33=this[_0x393576(0xd4)]['getParam'](_0x393576(0x151)),_0x2ba151=this[_0x393576(0xd4)][_0x393576(0x27e)](_0x393576(0xde)),_0x31c7aa=this[_0x393576(0xd4)][_0x393576(0x27e)](_0x393576(0x2c0));if(!_0x1aea33||!_0x2ba151){this[_0x393576(0x154)][_0x393576(0x1d7)](_0x393576(0x279),_0x393576(0x17c));return;}let _0x259754=await this[_0x393576(0x22b)][_0x393576(0x1a4)](_0x1aea33,Number(_0x2ba151),_0x31c7aa);_0x259754&&_0x259754 instanceof _0x50b55c&&this[_0x393576(0xee)](_0x259754);}async[_0x5ab0c7(0xee)](_0x44f416){const _0x1173b5=_0x5ab0c7;await this[_0x1173b5(0x1e3)](_0x44f416),_0x44f416['activeSheet$'][_0x1173b5(0x2a8)](_0x1507cd(this[_0x1173b5(0x139)]))[_0x1173b5(0x1c4)](_0x2657e0=>{_0x2657e0&&this['_updateURLWithCurrentState'](_0x2657e0);}),this[_0x1173b5(0xd4)][_0x1173b5(0x1aa)][_0x1173b5(0x2a8)](_0x1507cd(this['dispose$']))[_0x1173b5(0x1c4)](()=>this['_updateSubUnitFromURLParams'](_0x44f416));}[_0x5ab0c7(0x28e)](_0xbda27,_0x3eda24=!0x1){const _0x4aabe6=_0x5ab0c7;let _0x4584c9=this[_0x4aabe6(0xd4)]['getParam']('subunit');_0xbda27[_0x4aabe6(0x110)]()!==_0x4584c9&&this[_0x4aabe6(0xd4)][_0x4aabe6(0xfc)]('subunit',_0xbda27[_0x4aabe6(0x110)](),_0x3eda24);}async[_0x5ab0c7(0x1e3)](_0x476bfc){const _0x472cb9=_0x5ab0c7;var _0x3e6f70;let _0x51b775=this[_0x472cb9(0xd4)][_0x472cb9(0x27e)](_0x472cb9(0x2c0));if(!_0x51b775||!_0x476bfc[_0x472cb9(0x1ce)](_0x51b775)){let _0x1c2ead=_0x476bfc['getUnhiddenWorksheets']()[0x0],_0xce4e29=_0x476bfc['getSheetBySheetId'](_0x1c2ead);if(!_0xce4e29)return;this['_updateURLWithCurrentState'](_0xce4e29,!0x0),await this[_0x472cb9(0x142)][_0x472cb9(0x16c)](_0x46f924['id'],{'unitId':_0x476bfc['getUnitId'](),'subUnitId':_0x1c2ead});return;}((_0x3e6f70=_0x476bfc[_0x472cb9(0x241)]())==null?void 0x0:_0x3e6f70[_0x472cb9(0x110)]())!==_0x51b775&&await this[_0x472cb9(0x142)]['executeCommand'](_0x46f924['id'],{'unitId':_0x476bfc[_0x472cb9(0x1b2)](),'subUnitId':_0x51b775});}};J=K([G(0x0,Qt),G(0x1,_0x52d5a0),G(0x2,_0x3a0b46),G(0x3,_0x385466(_0x540d84)),G(0x4,_0x4100aa(_0x3d792d))],J);var $t=_0x5ab0c7(0x117),en=_0x5ab0c7(0x13e);function _0x234f(){const _0x5d4e5d=['_scene','_themeService','session.collaboration-timeout','DeleteRangeMoveLeftCommandId','getCollabCursors$','RemoveRowCommandId','_roomMembers$','_docStateChangeManagerService','_showText','_unitOnClients','transformMutation','closePath','_onRefRangeChange','transform','onPointerEnter$','_transformHistoryAndStateStack','stageInfo','show','isArray','flatMap','startFormulaLimitUrl','complete','sheetID','_blinkTimer','toRgbString','loadUnit','doc.mutation.rich-text-editing','_handleEvent','_localeService','_revisionService','transformIMECache','urlChange$','2601416UlxLQW','OFFLINE','transformByState','/run/','releaseFormulaLimitUrl','find','location','getUnitId',',\x200.2)','_collabCursorState$','backgroundColor','UPDATE_CURSOR','findNodePositionByCharIndex','UNIVER_DOC','_showGuardMessage','div','setOffsetY','_isBlinkVisible','cursorInfo$','sessionStatus$','addHandlerCallback','event$','_uiPartsService','_getSessionTicket','maxFormulaLimit','subscribe','shift','MUTATION','_offsetY','onTransformChange$','join','push','\x20at\x20','ONLINE','_disabled','getSheetBySheetId','_anchorDot','with','constructor','slice','_collaborationController','[Window\x20Error]:\x20','_memberService','_initCommandInterceptor','debug','_renderManagerService','result','_cursorInfo$','purple.300','dispose','transformMutationsWithChangeset','_localStorageService','setAlpha','collab-text-range-','_collaborationSessionService','HEARTBEAT','_updateSubUnitFromURLParams','getItem','hide','addEventListener','toString','_initCommandExecutedListener','_localCacheService','1795890dXbHEr','_checkCalculationAvailable','_shapes','key','JOIN','startColumn','registerRefRange','then','unshift','isEditing','_status$','FromArray','_collaborationUIEventService','unload','unhandledrejection','_doCreateSocket','_refreshCollabCursors','setTimeout','PENDING','highlightSecond','collaboration-client-ui.config','unitId','sheetId','object','_send','endRow','m2Prime','collabCursorState$','_currentUsage','evenodd','setInterval','_name','addObjects','_blinkIntervalTimer','makeDirty','clearInterval','highlight','entityInit$','getCollabEntity$','onPointerMove$','contains','next','m1Prime','DeleteRangeMoveUpCommandId','newValue','save','lineno','_initUnhandledRejectionListener','socket$','redoState','_toggleOnline','all','_docSyncEditingCollabCursorService','_drawAnchor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_heartbeatTimer','onMouseMove','AWAITING','65638kenEMY','permission.content','fillStyle','error','_docSkeletonManagerService','_messageService','send','_dataLoaderService','assignAColorForMemberID','LEAVE','getCurrentRevOfUnit','now','14SiDFPF','skeleton','_registerRenderDependencies','_colorIndex','parseInt','data','function','onRendered','deepClone','runId','_docTransformSelectionsService','_lastPointer','sessionTicket','delete','2138510ExyMNp','column','_backgroundColor','getActiveSheet','getValue','onCommandExecuted','offsetY','_startCalculationLimit','transformSelections','getTypeOfUnitAdded$','_id','_docClipboardService','toPrimitive','ticket','_initWindowErrorListener','params','_applyCommand','beforeCommandExecuted','fillText','getRangePointData','_removeCollabCursors','name','getConfig','_initResize','ranges','_getAnchorBounding','disposeWithMe','_draw','_handleLeaveEvent','collabStatus.offline','pushState','_ensureSubject','collabStatus.syncing','_httpService','onStarting','collaboration.offline-data-not-saved','_imageIoService','override','RECT','_updateCollabCursors','SUCCESS','has','color','selection','getMemberID','getRelativeToViewportCoord','enableLocalCache','black','catch','code','univer-mr-2\x20univer-flex\x20univer-text-xl','stringify','init','5TohpjR','stage','unsubscribe','Active','syncEditingCollabCursor','_color','[CollaborationDataLoaderController]','collabStatus.conflict','subscribeEvent','currentUsage','_notificationService','getParam','hovered','Success','from','578716HzUELE','_memberID','getDocRanges','session.connection-failed','exhaustSavingTask','asObservable','_cursor','_getFormulaLimitStatus','_range','setConfig','docStateChange$','RemoveColCommandId','_updateURLWithCurrentState','moveTo','engine','getCellMatrix','Error','_startSheetCollabCursor','_saveCache','SYNCED','InsertColCommandId','map','univer-flex\x20univer-items-center','arc','_removeClearOtherTimer','strokeWidth','_highlight','getTypeOfUnitDisposed$','_initDependencies','UNIVER_SHEET','FETCH_MISS','message','getRenderById','permission.title','stack','addObject','_onCursorDelete','_highlightSecond','pipe','max','currentSkeleton$','_clearOtherTimers','_updateLocalCursor','get','collabStatus.fetchMiss','saveTaskMap','2398743rtMUHU','enableFrontendLog','_entities','_registerDependencies','_hovered','_online','rgba(','replaceState','_assignedColors','getSkeleton','functionsExecutedState','editingUnit','endColumn','undoState','_injector','_eventUnsubscribe','subunit','_pollingInterval','/universer-api/license/formula/limit/done','setShapeProps','selections','limitInfo','_hideTimer','_saveTaskMap','_config','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_stopBlinking','currentTheme$','_initStatusListener','createInstance','Warning','isActive','...','prototype','uni.network.url-service','session.will-retry','showText','whenReady','roomMembers$','_scheduleHeartbeat','_entityInit$','rgba(255,\x20255,\x20255,\x200.01)','origin','collaboration.closeRoom','addClipboardHook','bottom','memberID','onLocalMutation','Unknown\x20user','_getLighterColor','eventID','_urlService','cursorInfo','values','getColorFromTheme','getMember','_checkAndWaitForCalculationPermission','CONFLICT','formula.calculation.unable','_handleHeartbeatEvent','length','type','Failed','requireSession','pluginName','setStateCache','registerBeforeClose','_getMergeRange','getStateCache','_startBlinking','_hasFormulaInDirtyRanges','PERMISSION_DENIED','startsWith','searchParams','search','_sheetSkeletonManagerService','_clearPolling','_setupSubUnitSync','add','some','top','_collabCursorController','rgba','11KegQIU','[Unhandled\x20Rejection]:\x20','_render','_createSocketURL','MoveRangeCommandId','bind','wsSessionTicketUrl','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','setParam','_scheduleClearOtherTimer','updateOfflineData','_maxFormulaLimit','getUndoRedoMutationParamsCache','_selfUnitIDs','packageName','font','2547745QFZYMD','VIEW_MAIN','removeEventListener','roomMembers','parse','_beforeCloseService','source','_toggleOffline','post','_getSheetObject','clearTimeout','iterator','getSheetId','getUnit','body','getViewport','unitID','_releaseCalculationLimit','formula.calculation.waiting','@univerjs-pro/collaboration-client-ui','height','string','_session','_cachedData','filename','START_CALCULATION','_instanceService','getCurrentUnitForType','OTHER_CLIENTS_EDITING','min','imageSourceType','_scheduleSaving','_initStatusComponent','_setFormulaLimitStatus','href','_lastResponseTimestamp','_configService','InsertRowCommandId','_setupBeforeClosingHandler','symbol','CLOSE_ROOM','totalFormulasToCalculate','_anchor','reconnect','setItem','_drawRectRange','_context','_transformUndoRedoStack','getAncestorScale','status$','_cursors','SOCKET_FAILED_RETRY','transformRemoteChangeset','dispose$','_transformService','textRanges','TEXT','getOwnPropertyDescriptor','0.19.0','_handleHover','getUnitStatus$','_drawTextRange','_commandService','_uploadLog','?taskId=','collab-rect-range-','getCellPositionByOffset','beginPath','replaceDocRanges','getMergeData','decorate','_cursorShapes','_initEntityListener','replace','_monkeyPatchLogService','_initUserListener','fillRule','unit','NOT_COLLAB','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_logService','_textBubble','range','mutations','_onCursorUpdate','/universer-api/license/formula/limit/start','set','_labelPosition','lineTo','rgb','_hover','default','split','_docTransformIMECacheService','drawWith','measureText','defineProperty','blue.400','InsertRangeMoveRightCommandId','fill','_init','Inactive','collab-client.tooltip.reconnect','restore','executeCommand','history','_document','forEach','storage','dirtyRanges','yellow.400','_syncEditingCollabCursorService','6FpnTWr','onPointerLeave$','loadOfflineData','text','size','_handleJoinEvent','_getSaveTimeout','_refRangeService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_taskIds','_unitStatus','_collabSessionService','getFocusedUnit','collab-text-anchor-','startRow','NO_OTHER_CLIENTS_EDITING','getActiveRange','_getScale','getVpScrollXYInfoByPosToVp','_colorAssignService','_univerInstanceService','_transformPreviousActiveRange','width'];_0x234f=function(){return _0x5d4e5d;};return _0x234f();}let tn=class extends _0x3e00b1{constructor(_0x23e5c3,_0x353729){const _0xdd6b38=_0x5ab0c7;super(),this[_0xdd6b38(0x249)]=_0x23e5c3,this[_0xdd6b38(0x262)]=_0x353729,this[_0xdd6b38(0x168)]();}[_0x5ab0c7(0x168)](){const _0x39c854=_0x5ab0c7;let _0x26a829=this;this[_0x39c854(0x258)](this['_docClipboardService'][_0x39c854(0xcd)]({'onBeforePasteImage':async _0x3cec54=>{const _0x2afbd1=_0x39c854;let _0x11c3f4=await _0x26a829[_0x2afbd1(0x262)]['saveImage'](_0x3cec54);return _0x11c3f4?{'source':_0x11c3f4[_0x2afbd1(0x10a)],'imageSourceType':_0x11c3f4[_0x2afbd1(0x122)]}:null;}}));}};tn=K([G(0x0,_0x25a48e),G(0x1,_0x3b9090)],tn);const nn=[_0x5ab0c7(0x1db),'jiqing.500','green.600','red.300',_0x5ab0c7(0x165),_0x5ab0c7(0x172)];var rn=class extends _0x523128{constructor(..._0x18dbf5){const _0xbfa945=_0x5ab0c7;super(..._0x18dbf5),W(this,'_assignedColors',new Map()),W(this,_0xbfa945(0x233),0x0);}[_0x5ab0c7(0x22c)](_0x26308a){const _0x433bb9=_0x5ab0c7;if(this[_0x433bb9(0x2b8)][_0x433bb9(0x267)](_0x26308a))return this[_0x433bb9(0x2b8)][_0x433bb9(0x2ad)](_0x26308a);let _0x55fb34=nn[this[_0x433bb9(0x233)]];return this['_colorIndex']=(this[_0x433bb9(0x233)]+0x1)%nn[_0x433bb9(0xdd)],this[_0x433bb9(0x2b8)][_0x433bb9(0x15a)](_0x26308a,_0x55fb34),_0x55fb34;}},an=function(_0x4d7735){const _0x2b5b98=_0x5ab0c7;return _0x4d7735[_0x2b5b98(0x276)]='1',_0x4d7735[_0x2b5b98(0x169)]='0',_0x4d7735;}(an||{});function on(_0x17bc85){const _0x280aeb=_0x5ab0c7;let _0x571dcc='';for(let _0xb9334e of _0x17bc85){let {startOffset:_0x55abc0,endOffset:_0x109e99,isActive:_0x5f5d52,rangeType:_0x27cef2,segmentId:_0x165114,segmentPage:_0x18bd9a}=_0xb9334e;_0x571dcc[_0x280aeb(0xdd)]&&(_0x571dcc+=','),_0x571dcc+=_0x55abc0+':'+_0x109e99+':'+(_0x5f5d52?an[_0x280aeb(0x276)]:an[_0x280aeb(0x169)])+':'+_0x27cef2+':'+_0x165114+':'+_0x18bd9a;}return _0x571dcc;}function _0x1554(_0xebb015,_0xebb5fe){_0xebb015=_0xebb015-0xc6;const _0x234faa=_0x234f();let _0x15541d=_0x234faa[_0xebb015];return _0x15541d;}function sn(_0x2a82e9){const _0xd7e8aa=_0x5ab0c7;let _0x706758=_0x2a82e9['split'](','),_0x33b11b=[];for(let _0x4ec584 of _0x706758){let [_0x2fd406,_0x3af1e2,_0x2875dd,_0xd32d38,_0x263e83,_0x3664a1]=_0x4ec584[_0xd7e8aa(0x160)](':');_0x33b11b[_0xd7e8aa(0x1ca)]({'startOffset':Number(_0x2fd406),'endOffset':Number(_0x3af1e2),'collapsed':_0x2fd406===_0x3af1e2,'isActive':_0x2875dd===an[_0xd7e8aa(0x276)],'rangeType':_0xd32d38===_0x1db158[_0xd7e8aa(0x13c)]?_0x1db158[_0xd7e8aa(0x13c)]:_0x1db158[_0xd7e8aa(0x264)],'segmentId':typeof _0x263e83==_0xd7e8aa(0x119)?String(_0x263e83):'','segmentPage':Number(_0x3664a1==null?-0x1:_0x3664a1)});}return _0x33b11b[_0xd7e8aa(0xf0)](_0x1cb628=>_0x1cb628[_0xd7e8aa(0x2cf)])||(_0x33b11b[0x0][_0xd7e8aa(0x2cf)]=!0x0),_0x33b11b;}var cn=class extends _0x3e00b1{constructor(..._0x16c76e){const _0x15cbd8=_0x5ab0c7;super(..._0x16c76e),W(this,'_collabCursorState$',new _0x4da081(null)),W(this,_0x15cbd8(0x205),this[_0x15cbd8(0x1b4)][_0x15cbd8(0x287)]());}[_0x5ab0c7(0x277)](_0x524a1d){const _0x5a0f3a=_0x5ab0c7;let {unitID:_0x1dcbb3,memberID:_0x56d4ef,textRanges:_0x3de02a}=_0x524a1d,_0xe4cc22=on(_0x3de02a);if(_0xe4cc22==='')return;let _0x45447c={'unitID':_0x1dcbb3,'memberID':_0x56d4ef,'selection':_0xe4cc22};this[_0x5a0f3a(0x1b4)][_0x5a0f3a(0x213)](_0x45447c);}};let ln=class extends _0x3e00b1{get[_0x5ab0c7(0xd5)](){const _0x7f4701=_0x5ab0c7;return this['_cursorInfo$'][_0x7f4701(0x242)]();}get[_0x5ab0c7(0x107)](){const _0x3b95a7=_0x5ab0c7;return this[_0x3b95a7(0x191)][_0x3b95a7(0x242)]();}constructor(_0x33e45f,_0x26f30e,_0x1e9144,_0x5d1539,_0x2ccee7,_0x19d611,_0x230be3,_0x411a10,_0x37064a){const _0x8bb2c1=_0x5ab0c7;super(),this['unitID']=_0x33e45f,this['_session']=_0x26f30e,this[_0x8bb2c1(0x2be)]=_0x1e9144,this[_0x8bb2c1(0x187)]=_0x5d1539,this[_0x8bb2c1(0x1d5)]=_0x2ccee7,this['_syncEditingCollabCursorService']=_0x19d611,this[_0x8bb2c1(0x13a)]=_0x230be3,this[_0x8bb2c1(0x188)]=_0x411a10,this['_commandService']=_0x37064a,W(this,_0x8bb2c1(0x2b5),!0x1),W(this,_0x8bb2c1(0x168),!0x1),W(this,'_cursorInfo$',new _0x4da081(new Map())),W(this,'cursorInfo$',this[_0x8bb2c1(0x1da)][_0x8bb2c1(0x287)]()),W(this,'_roomMembers$',new _0x4da081([])),W(this,_0x8bb2c1(0xc7),this['_roomMembers$'][_0x8bb2c1(0x2a8)](_0x540cab(0x12c))),W(this,'_updateLocalCursor',_0x2a29a2(_0x30bc9c=>{const _0x181f24=_0x8bb2c1;let _0x435df9={'eventID':_0x1d4fb4[_0x181f24(0x1b6)],'data':{'unitID':this[_0x181f24(0x114)],'memberID':this['_session'][_0x181f24(0x26a)](),'selection':on(_0x30bc9c)}};this[_0x181f24(0x11a)][_0x181f24(0x22a)](_0x435df9,this['unitID']);},0x64));}[_0x5ab0c7(0x1dc)](){const _0x3932e6=_0x5ab0c7;super['dispose'](),this[_0x3932e6(0x1da)][_0x3932e6(0x213)](new Map()),this['_cursorInfo$'][_0x3932e6(0x1a0)](),this[_0x3932e6(0x191)][_0x3932e6(0x213)]([]),this[_0x3932e6(0x191)]['complete']();}['init'](){const _0x5e4d45=_0x5ab0c7;this[_0x5e4d45(0x168)]||(this[_0x5e4d45(0x168)]=!0x0,this['_session'][_0x5e4d45(0x1be)][_0x5e4d45(0x2a8)](_0x1507cd(this[_0x5e4d45(0x139)]))[_0x5e4d45(0x1c4)](_0x4f2133=>{const _0x4d3a97=_0x5e4d45;_0x4f2133===_0x246e28[_0x4d3a97(0x1cc)]?this[_0x4d3a97(0x21c)]():this[_0x4d3a97(0x10b)]();}),this[_0x5e4d45(0x11a)][_0x5e4d45(0x1c0)][_0x5e4d45(0x2a8)](_0x1507cd(this[_0x5e4d45(0x139)]))['subscribe'](_0x33d584=>{const _0xe3323=_0x5e4d45;let _0x1832b3=_0x33d584[_0xe3323(0xd3)];_0x1832b3===_0x1d4fb4[_0xe3323(0x1b6)]&&this[_0xe3323(0x158)](_0x33d584),_0x1832b3===_0x1d4fb4['USERS_LEAVE']&&this['_onCursorDelete'](_0x33d584);}),this[_0x5e4d45(0x258)](this[_0x5e4d45(0x142)]['onCommandExecuted'](_0x3ab663=>{const _0x5dd16c=_0x5e4d45;let _0x2d2128=_0x3ab663[_0x5dd16c(0x24d)];_0x2d2128!=null&&this['_online']&&_0x3ab663['id']===_0xfbae2b['id']&&_0x2d2128[_0x5dd16c(0x1ff)]===this[_0x5dd16c(0x114)]&&_0x2d2128[_0x5dd16c(0x1f3)]===!0x1&&_0x2d2128['ranges'][_0x5dd16c(0xdd)]>0x0&&this[_0x5dd16c(0x2ac)](_0x2d2128[_0x5dd16c(0x256)]);})),this[_0x5e4d45(0x173)][_0x5e4d45(0x205)]['pipe'](_0x1507cd(this[_0x5e4d45(0x139)]))[_0x5e4d45(0x1c4)](_0xe96ac3=>{const _0x417362=_0x5e4d45;if((_0xe96ac3==null?void 0x0:_0xe96ac3[_0x417362(0x114)])!==this[_0x417362(0x114)])return;let _0x451fef={'eventID':_0x1d4fb4[_0x417362(0x1b6)],'data':_0xe96ac3};this[_0x417362(0x158)](_0x451fef);}),this[_0x5e4d45(0x258)](this[_0x5e4d45(0x142)]['onCommandExecuted'](_0x5b7ec7=>{const _0x7f8738=_0x5e4d45;if(_0x5b7ec7[_0x7f8738(0x24d)]==null)return;let _0x230893=_0x5b7ec7[_0x7f8738(0x24d)];if(_0x5b7ec7['id']!==_0x59ea1a['id']||_0x230893['unitId']!==this[_0x7f8738(0x114)])return;let _0x20fdb2={'id':_0x7f8738(0x1a5),'params':_0x230893},_0x3581e7=this['cursorInfo'];for(let [_0x17acfb,_0x1ae56b]of _0x3581e7){let _0x53d0ac={'id':_0x7f8738(0x1a5),'params':{'unitId':this[_0x7f8738(0x114)],'actions':null,'textRanges':_0x1ae56b['ranges']}},_0x396729=this['_transformService']['transformMutation'](_0x20fdb2,_0x53d0ac,!0x1);if(_0xd0f140(_0x396729))throw _0x396729[_0x7f8738(0x227)];_0x3581e7[_0x7f8738(0x15a)](_0x17acfb,{..._0x1ae56b,'ranges':_0x396729[_0x7f8738(0x204)][_0x7f8738(0x24d)][_0x7f8738(0x13b)]});}queueMicrotask(()=>{const _0x29fe13=_0x7f8738;this[_0x29fe13(0x1da)][_0x29fe13(0x213)](_0x3581e7);});})));}[_0x5ab0c7(0x158)](_0x59b600){const _0x262bc4=_0x5ab0c7;var _0x12e4b5,_0x59f1d7;let {memberID:_0x23f243,selection:_0x2fdea0}=_0x59b600[_0x262bc4(0x235)],_0x63a007=sn(_0x2fdea0),_0x2594a7=(_0x12e4b5=(_0x59f1d7=this[_0x262bc4(0x1d5)][_0x262bc4(0xd8)](this['unitID'],_0x23f243))==null?void 0x0:_0x59f1d7[_0x262bc4(0x253)])==null?'Unknown\x20user':_0x12e4b5,_0x4f0b90={'color':this[_0x262bc4(0x187)]['assignAColorForMemberID'](_0x23f243),'name':_0x2594a7,'ranges':_0x63a007},_0x1d6588=this[_0x262bc4(0xd5)];_0x1d6588[_0x262bc4(0x15a)](_0x23f243,_0x4f0b90),this[_0x262bc4(0x1da)][_0x262bc4(0x213)](_0x1d6588);}['_onCursorDelete'](_0x110f5a){const _0x44b7de=_0x5ab0c7;let {memberID:_0xd97e11}=_0x110f5a[_0x44b7de(0x235)],_0x2dc107=this['cursorInfo'];_0x2dc107[_0x44b7de(0x23d)](_0xd97e11),this[_0x44b7de(0x1da)][_0x44b7de(0x213)](_0x2dc107);}[_0x5ab0c7(0x21c)](){const _0xb3101c=_0x5ab0c7;var _0x22f039;if(this[_0xb3101c(0x2b5)]=!0x0,((_0x22f039=this[_0xb3101c(0x188)]['getFocusedUnit']())==null?void 0x0:_0x22f039[_0xb3101c(0x1b2)]())!==this[_0xb3101c(0x114)])return;let _0x529d34=this[_0xb3101c(0x2be)][_0xb3101c(0x2ad)](_0x31c9a8)[_0xb3101c(0x284)]();Array[_0xb3101c(0x19d)](_0x529d34)&&_0x529d34[_0xb3101c(0xdd)]>0x0&&this['_updateLocalCursor'](_0x529d34);}[_0x5ab0c7(0x10b)](){const _0x2062d3=_0x5ab0c7;this[_0x2062d3(0x2b5)]=!0x1;}};ln=K([G(0x2,_0x385466(_0x12dd3a)),G(0x3,_0x385466(rn)),G(0x4,_0x385466(_0x15c022)),G(0x5,_0x385466(cn)),G(0x6,_0x9c92b6),G(0x7,_0x158dbd),G(0x8,_0x3a0b46)],ln);const un=()=>{let _0x570710=[],_0x5c5901=!0x1;return _0x1c38df=>{_0x570710['push'](_0x1c38df),_0x5c5901||(_0x5c5901=!0x0,setTimeout(()=>{const _0x29a7a6=_0x1554;_0x570710[_0x29a7a6(0x16f)](_0x2e9ee9=>_0x2e9ee9()),_0x570710=[],_0x5c5901=!0x1;}));};};let dn=class extends _0x3e00b1{get[_0x5ab0c7(0xd5)](){return this['_cursorInfo$']['getValue']();}get[_0x5ab0c7(0x107)](){const _0x22a7f2=_0x5ab0c7;return this[_0x22a7f2(0x191)][_0x22a7f2(0x242)]();}constructor(_0x5ef841,_0x49443b,_0x1271d0,_0x234832,_0x2c13e8,_0x11f97f,_0x328d39,_0x1b9b99){const _0xe0cef=_0x5ab0c7;super(),this['unitID']=_0x5ef841,this['_session']=_0x49443b,this[_0xe0cef(0x2be)]=_0x1271d0,this[_0xe0cef(0x187)]=_0x234832,this[_0xe0cef(0x1d5)]=_0x2c13e8,this[_0xe0cef(0x188)]=_0x11f97f,this[_0xe0cef(0x142)]=_0x328d39,this[_0xe0cef(0x17b)]=_0x1b9b99,W(this,'_online',!0x1),W(this,'_init',!0x1),W(this,_0xe0cef(0x1da),new _0x4da081(new Map())),W(this,_0xe0cef(0x1bd),this[_0xe0cef(0x1da)][_0xe0cef(0x287)]()),W(this,'_roomMembers$',new _0x4da081([])),W(this,_0xe0cef(0xc7),this[_0xe0cef(0x191)][_0xe0cef(0x2a8)](_0x540cab(0x12c))),W(this,'_updateLocalCursor',_0x2a29a2((_0x2b223b,_0x2b1979)=>{const _0x34247a=_0xe0cef;let _0x52f505={'eventID':_0x1d4fb4['UPDATE_CURSOR'],'data':{'unitID':this[_0x34247a(0x114)],'memberID':this[_0x34247a(0x11a)]['getMemberID'](),'selection':_0x4b9482(_0x2b223b,_0x2b1979['range'])}};this[_0x34247a(0x11a)][_0x34247a(0x22a)](_0x52f505,this[_0x34247a(0x114)]);},0x64));}[_0x5ab0c7(0x1dc)](){const _0x4b2965=_0x5ab0c7;super[_0x4b2965(0x1dc)](),this[_0x4b2965(0x1da)][_0x4b2965(0x213)](new Map()),this[_0x4b2965(0x1da)]['complete'](),this[_0x4b2965(0x191)][_0x4b2965(0x213)]([]),this[_0x4b2965(0x191)][_0x4b2965(0x1a0)]();}[_0x5ab0c7(0x272)](){const _0x4c81db=_0x5ab0c7;this[_0x4c81db(0x168)]||(this[_0x4c81db(0x168)]=!0x0,this[_0x4c81db(0x11a)][_0x4c81db(0x1be)]['pipe'](_0x1507cd(this['dispose$']))[_0x4c81db(0x1c4)](_0x2cdc0a=>{const _0x3b99a1=_0x4c81db;_0x2cdc0a===_0x246e28[_0x3b99a1(0x1cc)]?this['_toggleOnline']():this[_0x3b99a1(0x10b)]();}),this['_session'][_0x4c81db(0x1c0)][_0x4c81db(0x2a8)](_0x1507cd(this['dispose$']))[_0x4c81db(0x1c4)](_0xe088af=>{const _0x322bb2=_0x4c81db;let _0x2597ff=_0xe088af[_0x322bb2(0xd3)];_0x2597ff===_0x1d4fb4[_0x322bb2(0x1b6)]&&this['_onCursorUpdate'](_0xe088af),_0x2597ff===_0x1d4fb4['USERS_LEAVE']&&this['_onCursorDelete'](_0xe088af);}),this[_0x4c81db(0x197)](),this[_0x4c81db(0x258)](this[_0x4c81db(0x142)][_0x4c81db(0x243)](_0x5b0c71=>{const _0x39d68d=_0x4c81db;if(this[_0x39d68d(0x2b5)]&&_0x5b0c71['id']===_0x4e7b63['id']&&_0x5b0c71[_0x39d68d(0x24d)]['unitId']===this[_0x39d68d(0x114)]){let _0x350299=_0x5b0c71[_0x39d68d(0x24d)];this[_0x39d68d(0x2ac)](_0x350299['subUnitId'],_0x350299[_0x39d68d(0x2c4)][0x0]);}})));}[_0x5ab0c7(0x158)](_0x355461){const _0x1fc65c=_0x5ab0c7;var _0x346a88,_0x58919f;let {memberID:_0x19475d,selection:_0x351292}=_0x355461[_0x1fc65c(0x235)],{sheetName:_0x4f3a76,range:_0x132e24}=_0x2da882(_0x351292),_0x5e4747={'name':(_0x346a88=(_0x58919f=this['_memberService'][_0x1fc65c(0xd8)](this[_0x1fc65c(0x114)],_0x19475d))==null?void 0x0:_0x58919f[_0x1fc65c(0x253)])==null?_0x1fc65c(0xd1):_0x346a88,'range':this[_0x1fc65c(0xe4)](_0x4f3a76,_0x132e24),'sheetID':_0x4f3a76,'color':this['_colorAssignService'][_0x1fc65c(0x22c)](_0x19475d),'selection':_0x351292},_0x151d59=this[_0x1fc65c(0xd5)];_0x151d59['set'](_0x19475d,_0x5e4747),this[_0x1fc65c(0x1da)]['next'](_0x151d59);}[_0x5ab0c7(0x2a6)](_0x4327eb){const _0x501747=_0x5ab0c7;let {memberID:_0x1ea6f1}=_0x4327eb[_0x501747(0x235)],_0x1c9656=this['cursorInfo'];_0x1c9656[_0x501747(0x23d)](_0x1ea6f1),this[_0x501747(0x1da)][_0x501747(0x213)](_0x1c9656);}['_getMergeRange'](_0x2bb742,_0x3feff9){const _0x112af7=_0x5ab0c7;var _0x130c00;let _0x4966fd=(_0x130c00=this[_0x112af7(0x188)]['getUniverSheetInstance'](this['unitID']))==null||(_0x130c00=_0x130c00[_0x112af7(0x1ce)](_0x2bb742))==null?void 0x0:_0x130c00[_0x112af7(0x149)]();return(_0x4966fd==null?void 0x0:_0x4966fd[_0x112af7(0x1b0)](_0xab3fd4=>_0x423a28[_0x112af7(0x212)](_0xab3fd4,_0x3feff9)))||_0x3feff9;}[_0x5ab0c7(0x197)](){const _0x371d1b=_0x5ab0c7;let _0x523b14=new _0x1ac409(),_0x343012=un(),_0x2927c1=()=>{const _0x44eeb0=_0x1554;_0x523b14[_0x44eeb0(0x1dc)]();let _0x3d13a8=(_0xf0c971,_0x4c5a56,_0x4c325f,_0x25f886)=>{const _0x144e1f=_0x44eeb0;let _0x3fb8f2=[];switch(_0xf0c971['id']){case _0x2fed12[_0x144e1f(0x18e)]:_0x3fb8f2=_0x24304e(_0xf0c971,_0x25f886);break;case _0x2fed12[_0x144e1f(0x215)]:_0x3fb8f2=_0x3268cb(_0xf0c971,_0x25f886);break;case _0x2fed12[_0x144e1f(0x296)]:_0x3fb8f2=_0x1d78e8(_0xf0c971,_0x25f886);break;case _0x2fed12['InsertRangeMoveDownCommandId']:_0x3fb8f2=_0x2d51bc(_0xf0c971,_0x25f886);break;case _0x2fed12[_0x144e1f(0x166)]:_0x3fb8f2=_0x21c04d(_0xf0c971,_0x25f886);break;case _0x2fed12[_0x144e1f(0x129)]:_0x3fb8f2=_0x34a3ff(_0xf0c971,_0x25f886);break;case _0x2fed12[_0x144e1f(0xf8)]:_0x3fb8f2=_0xfd1dd5(_0xf0c971,_0x25f886);break;case _0x2fed12[_0x144e1f(0x28d)]:_0x3fb8f2=_0x59a55a(_0xf0c971,_0x25f886);break;case _0x2fed12[_0x144e1f(0x190)]:_0x3fb8f2=_0x977488(_0xf0c971,_0x25f886);break;}let _0x491632=_0x35f219(_0x3fb8f2,_0x25f886),_0x272253=this[_0x144e1f(0xd5)][_0x144e1f(0x2ad)](_0x4c5a56);if(_0x272253&&_0x491632){let _0x19c223={..._0x272253,'range':_0x491632};this[_0x144e1f(0xd5)][_0x144e1f(0x15a)](_0x4c5a56,_0x19c223),_0x343012(()=>{const _0x58ce1b=_0x144e1f;let _0x52f717=this[_0x58ce1b(0x17b)]['registerRefRange'](_0x491632,_0x331d9d=>(_0x52f717[_0x58ce1b(0x1dc)](),_0x3d13a8(_0x331d9d,_0x4c5a56,_0x4c325f,_0x491632)));_0x523b14[_0x58ce1b(0xef)](_0x52f717);});}return{'redos':[],'undos':[]};};this[_0x44eeb0(0xd5)][_0x44eeb0(0x16f)]((_0x13e48f,_0x7c95f2)=>{const _0x4ddf3b=_0x44eeb0;let {range:_0x9f188,sheetID:_0x37316}=_0x13e48f,_0x56ed84=this[_0x4ddf3b(0x17b)][_0x4ddf3b(0x1f0)](_0x9f188,_0x726ad7=>(_0x56ed84[_0x4ddf3b(0x1dc)](),_0x3d13a8(_0x726ad7,_0x7c95f2,_0x37316,_0x9f188)));_0x523b14[_0x4ddf3b(0xef)](_0x56ed84);});};this[_0x371d1b(0x258)](_0x235225(this['_cursorInfo$'][_0x371d1b(0x1c4)](()=>{_0x2927c1();})));}[_0x5ab0c7(0x21c)](){const _0x28b7a2=_0x5ab0c7;var _0x3c311e,_0x522cf3;if(this['_online']=!0x0,((_0x3c311e=this[_0x28b7a2(0x188)]['getFocusedUnit']())==null?void 0x0:_0x3c311e[_0x28b7a2(0x1b2)]())!==this[_0x28b7a2(0x114)])return;let _0x4ad64e=(_0x522cf3=this[_0x28b7a2(0x2be)][_0x28b7a2(0x2ad)](_0x1d79be)['getCurrentSelections']())==null?void 0x0:_0x522cf3[0x0],_0x470434=this['_univerInstanceService'][_0x28b7a2(0x11f)](_0x3597f4[_0x28b7a2(0x29f)])[_0x28b7a2(0x241)]();_0x4ad64e&&_0x470434&&this[_0x28b7a2(0x2ac)](_0x470434[_0x28b7a2(0x110)](),_0x4ad64e);}['_toggleOffline'](){const _0x5d3871=_0x5ab0c7;this[_0x5d3871(0x2b5)]=!0x1;}};dn=K([G(0x2,_0x385466(_0x12dd3a)),G(0x3,_0x385466(rn)),G(0x4,_0x385466(_0x15c022)),G(0x5,_0x158dbd),G(0x6,_0x3a0b46),G(0x7,_0x385466(_0x8f9d9e))],dn);let Y=class extends _0x3e00b1{constructor(_0x59603c,_0xa841b4,_0x172586){const _0x548db9=_0x5ab0c7;super(),this[_0x548db9(0x188)]=_0x59603c,this[_0x548db9(0x2be)]=_0xa841b4,this[_0x548db9(0x17f)]=_0x172586,W(this,_0x548db9(0x2b2),new Map()),W(this,'_entityInit$',new _0x58e841()),this[_0x548db9(0x168)]();}['dispose'](){const _0x36f675=_0x5ab0c7;super[_0x36f675(0x1dc)](),this['_entityInit$'][_0x36f675(0x1a0)](),this[_0x36f675(0x2b2)][_0x36f675(0x16f)](_0x225d3a=>_0x225d3a['dispose']());}['getCollabCursors$'](_0x3b6d41){const _0x197ad8=_0x5ab0c7;return this[_0x197ad8(0x2b2)][_0x197ad8(0x267)](_0x3b6d41)?this[_0x197ad8(0x2b2)][_0x197ad8(0x2ad)](_0x3b6d41)[_0x197ad8(0x1bd)]:this[_0x197ad8(0xc9)][_0x197ad8(0x2a8)](_0x29463f(_0x1465ad=>_0x1465ad['unitID']===_0x3b6d41),_0x546add(_0x4533ec=>_0x4533ec[_0x197ad8(0x1bd)]));}[_0x5ab0c7(0x168)](){const _0x27c9fd=_0x5ab0c7;this[_0x27c9fd(0x188)][_0x27c9fd(0x247)](_0x3597f4['UNIVER_SHEET'])[_0x27c9fd(0x2a8)](_0x1507cd(this[_0x27c9fd(0x139)]))[_0x27c9fd(0x1c4)](async _0x3a7a92=>{const _0x27f795=_0x27c9fd;let _0x5357fe=_0x3a7a92['getUnitId'](),_0x27c020=await this[_0x27f795(0x293)](_0x5357fe);this[_0x27f795(0xc9)][_0x27f795(0x213)](_0x27c020),this[_0x27f795(0x2b2)][_0x27f795(0x15a)](_0x5357fe,_0x27c020);}),this[_0x27c9fd(0x188)][_0x27c9fd(0x247)](_0x3597f4['UNIVER_DOC'])[_0x27c9fd(0x2a8)](_0x1507cd(this[_0x27c9fd(0x139)]))[_0x27c9fd(0x2a8)](_0x29463f(_0x3170c2=>!_0x3170c2[_0x27c9fd(0x1b2)]()[_0x27c9fd(0xe9)]('__')))[_0x27c9fd(0x1c4)](async _0x3f6b91=>{const _0x512dfc=_0x27c9fd;let _0xd10977=_0x3f6b91[_0x512dfc(0x1b2)](),_0xbfa2cf=await this['_startDocCollabCursor'](_0xd10977);this['_entityInit$']['next'](_0xbfa2cf),this['_entities'][_0x512dfc(0x15a)](_0xd10977,_0xbfa2cf);}),_0x7fc7c3(this['_univerInstanceService'][_0x27c9fd(0x29d)](_0x3597f4[_0x27c9fd(0x1b8)]),this[_0x27c9fd(0x188)]['getTypeOfUnitDisposed$'](_0x3597f4['UNIVER_SHEET']))['pipe'](_0x1507cd(this[_0x27c9fd(0x139)]))[_0x27c9fd(0x1c4)](_0x40fe0f=>{const _0x38e2d8=_0x27c9fd;let _0x43e5ff=_0x40fe0f['getUnitId'](),_0x33946a=this[_0x38e2d8(0x2b2)][_0x38e2d8(0x2ad)](_0x43e5ff);_0x33946a&&(_0x33946a['dispose'](),this[_0x38e2d8(0x2b2)][_0x38e2d8(0x23d)](_0x43e5ff));});}async[_0x5ab0c7(0x293)](_0x57df9){const _0x3ec65e=_0x5ab0c7;let _0x4e69fe=await this[_0x3ec65e(0x17f)]['requireSession'](_0x57df9),_0x444025=this[_0x3ec65e(0x2be)][_0x3ec65e(0x2cd)](dn,_0x57df9,_0x4e69fe);return _0x444025[_0x3ec65e(0x272)](),_0x444025;}async['_startDocCollabCursor'](_0x18fe11){const _0x5b767f=_0x5ab0c7;let _0x573635=await this[_0x5b767f(0x17f)][_0x5b767f(0xe0)](_0x18fe11),_0x3cf3ab=this[_0x5b767f(0x2be)][_0x5b767f(0x2cd)](ln,_0x18fe11,_0x573635);return _0x3cf3ab[_0x5b767f(0x272)](),_0x3cf3ab;}};Y=K([G(0x0,_0x158dbd),G(0x1,_0x385466(_0x12dd3a)),G(0x2,_0x385466(_0x1e4eb2))],Y);function fn(_0x9fbbde,_0x5361e0){const _0x508835=_0x5ab0c7;var _0x20763a,_0x347249,_0x4f0477;let {radius:_0x1633d5,width:_0x51a6f8,height:_0x381214}=_0x5361e0;_0x1633d5=(_0x20763a=_0x1633d5)==null?0x0:_0x20763a,_0x51a6f8=(_0x347249=_0x51a6f8)==null?0x1e:_0x347249,_0x381214=(_0x4f0477=_0x381214)==null?0x1e:_0x4f0477;let _0x214515=0x0,_0x2c9c2e=0x0,_0x338109=0x0;_0x214515=_0x2c9c2e=_0x338109=Math['min'](_0x1633d5,_0x51a6f8/0x2,_0x381214/0x2),_0x9fbbde[_0x508835(0x147)](),_0x9fbbde[_0x508835(0x28f)](_0x214515,0x0),_0x9fbbde[_0x508835(0x15c)](_0x51a6f8-_0x2c9c2e,0x0),_0x9fbbde[_0x508835(0x299)](_0x51a6f8-_0x2c9c2e,_0x2c9c2e,_0x2c9c2e,Math['PI']*0x3/0x2,0x0,!0x1),_0x9fbbde['lineTo'](_0x51a6f8,_0x381214-_0x338109),_0x9fbbde[_0x508835(0x299)](_0x51a6f8-_0x338109,_0x381214-_0x338109,_0x338109,0x0,Math['PI']/0x2,!0x1),_0x9fbbde['lineTo'](0x0,_0x381214),_0x9fbbde['lineTo'](0x0,_0x214515),_0x9fbbde[_0x508835(0x299)](_0x214515,_0x214515,_0x214515,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x9fbbde[_0x508835(0x196)](),_0x5361e0[_0x508835(0x167)]&&(_0x9fbbde[_0x508835(0x217)](),_0x9fbbde[_0x508835(0x226)]=_0x5361e0[_0x508835(0x167)],_0x5361e0[_0x508835(0x150)]==='evenodd'?_0x9fbbde[_0x508835(0x167)](_0x508835(0x207)):_0x9fbbde['fill'](),_0x9fbbde[_0x508835(0x16b)]());}var pn=class e extends _0x1d8b45{constructor(_0x961412,_0x4f7028){const _0x597df0=_0x5ab0c7;super(_0x961412,_0x4f7028),W(this,'color',void 0x0),W(this,_0x597df0(0x177),void 0x0),this[_0x597df0(0x268)]=_0x4f7028==null?void 0x0:_0x4f7028['color'],this[_0x597df0(0x177)]=_0x4f7028==null?void 0x0:_0x4f7028[_0x597df0(0x177)];}static[_0x5ab0c7(0x162)](_0x40048a,_0x25df9c){const _0x536fef=_0x5ab0c7;let {text:_0x40ae7b,color:_0x53bf7f}=_0x25df9c;_0x40048a[_0x536fef(0x217)](),_0x40048a[_0x536fef(0x103)]=_0x536fef(0x2c9);let _0x2e494a=_0x40048a[_0x536fef(0x163)](_0x40ae7b)[_0x536fef(0x18a)];if(fn(_0x40048a,{'height':0x14,'radius':0x4,'width':Math[_0x536fef(0x121)](_0x2e494a+0x8,0xc8),'fill':_0x53bf7f,'evented':!0x1}),_0x40048a['fillStyle']='#FFF',_0x2e494a>0xc0){let _0x5c8fb1='',_0x2baa71=0x0;for(let _0x40e981 of _0x40ae7b){let _0x582eec=_0x40048a[_0x536fef(0x163)](_0x40e981)[_0x536fef(0x18a)];if(_0x2baa71+_0x582eec<=0xc0-_0x40048a[_0x536fef(0x163)](_0x536fef(0x2d0))[_0x536fef(0x18a)])_0x5c8fb1+=_0x40e981,_0x2baa71+=_0x582eec;else{_0x5c8fb1+=_0x536fef(0x2d0);break;}}_0x40048a[_0x536fef(0x250)](_0x5c8fb1,0x4,0xf);}else _0x40048a[_0x536fef(0x250)](_0x40ae7b,0x4,0xf);_0x40048a[_0x536fef(0x16b)]();}[_0x5ab0c7(0x259)](_0x4cde4b){const _0x9bf051=_0x5ab0c7;e[_0x9bf051(0x162)](_0x4cde4b,this);}};const mn=_0x5ab0c7(0x181);var hn=class{constructor(_0xc0b413,_0x23a873,_0x5ad990,_0xc10b47){const _0x2431e0=_0x5ab0c7;this[_0x2431e0(0x288)]=_0xc0b413,this[_0x2431e0(0x18b)]=_0x23a873,this['_docSkeleton']=_0x5ad990,this[_0x2431e0(0x16e)]=_0xc10b47,W(this,_0x2431e0(0x1ec),[]),W(this,_0x2431e0(0x12e),null),W(this,_0x2431e0(0x155),null),W(this,_0x2431e0(0x1cf),null),W(this,'_hideTimer',null),W(this,_0x2431e0(0x2bf),null),this[_0x2431e0(0xf6)]();}set[_0x5ab0c7(0x15e)](_0x1e1bba){const _0x1bd0dc=_0x5ab0c7;_0x1e1bba?(this[_0x1bd0dc(0x1cf)]&&this['_anchorDot']['hide'](),this[_0x1bd0dc(0x155)]&&this['_textBubble'][_0x1bd0dc(0x19c)]()):(this[_0x1bd0dc(0x1cf)]&&this[_0x1bd0dc(0x1cf)][_0x1bd0dc(0x19c)](),this['_textBubble']&&this[_0x1bd0dc(0x155)][_0x1bd0dc(0x1e5)]());}[_0x5ab0c7(0x1dc)](){const _0x16152d=_0x5ab0c7;for(let _0x223028 of this[_0x16152d(0x1ec)])_0x223028[_0x16152d(0x1dc)]();this[_0x16152d(0x155)]&&this[_0x16152d(0x155)]['dispose'](),this['_anchorDot']&&this[_0x16152d(0x1cf)]['dispose'](),this['_anchor']&&this[_0x16152d(0x12e)]['dispose'](),this[_0x16152d(0x2bf)]&&this[_0x16152d(0x2bf)]();}['_render'](){const _0x51c68f=_0x5ab0c7;let {_docSkeleton:_0x426199,_document:_0x81ec10}=this,{color:_0x2cbb1c,name:_0x15c785,ranges:_0x4686fe}=this[_0x51c68f(0x288)],_0x3772de=_0x81ec10['getOffsetConfig'](),{docsLeft:_0x23cce3,docsTop:_0x1e560b}=_0x3772de,_0x7fde65=new _0x51c7ea(_0x3772de,_0x426199);for(let {startOffset:_0x4edb93,endOffset:_0x1c5e5f,rangeType:_0x3f6598,segmentId:_0x3b302d,segmentPage:_0xaef747,collapsed:_0x346ec9,isActive:_0x355c8c}of _0x4686fe){let _0x5bea39=_0x426199[_0x51c68f(0x1b7)](_0x4edb93,!0x0,_0x3b302d,_0xaef747),_0x26c60a=_0x426199[_0x51c68f(0x1b7)](_0x1c5e5f,!0x0,_0x3b302d,_0xaef747);if(_0x26c60a==null&&(_0x26c60a=_0x426199['findNodePositionByCharIndex'](_0x1c5e5f-0x1,!0x1,_0x3b302d,_0xaef747)),_0x355c8c){let {contentBoxPointGroup:_0x154883}=_0x7fde65['getRangePointData'](_0x26c60a,_0x26c60a);if(_0x154883[_0x51c68f(0xdd)]===0x0)continue;this[_0x51c68f(0x21f)](_0x2cbb1c,_0x154883,_0x23cce3,_0x1e560b,_0x15c785),this['_eventUnsubscribe']=this[_0x51c68f(0x13f)]();}if(_0x5bea39&&_0x26c60a){if(_0x3f6598===_0x1db158['RECT']){var _0x4a3df0;let {pointGroup:_0x180b79}=(_0x4a3df0=new _0x4b470b(_0x3772de,_0x426199)[_0x51c68f(0x251)](_0x5bea39,_0x26c60a))==null?{}:_0x4a3df0;if(_0x180b79==null||_0x180b79[_0x51c68f(0xdd)]===0x0)continue;this[_0x51c68f(0x131)](_0x2cbb1c,_0x180b79,_0x23cce3,_0x1e560b);}else{if(!_0x346ec9){let {borderBoxPointGroup:_0x5b93a9}=_0x7fde65['getRangePointData'](_0x5bea39,_0x26c60a);if(_0x5b93a9[_0x51c68f(0xdd)]===0x0)continue;this[_0x51c68f(0x141)](_0x2cbb1c,_0x5b93a9,_0x23cce3,_0x1e560b);}}}}}['_drawAnchor'](_0x68741d,_0xd0e4a6,_0x896b3d,_0x5c34ed,_0x29523a){const _0x599973=_0x5ab0c7;let {left:_0x914406,top:_0x1f2baa,height:_0x517f6e}=this['_getAnchorBounding'](_0xd0e4a6),_0x3d7c7b=1.5/this[_0x599973(0x185)](),_0x426bd0=new _0x26b045(mn+_0x4fc970(0x6),{'left':_0x914406+_0x896b3d-_0x3d7c7b,'top':_0x1f2baa+_0x5c34ed,'height':_0x517f6e,'width':1.5,'fill':_0x68741d||_0x13aa2d(_0xf39947[_0x599973(0x26d)],0x0),'strokeWidth':_0x3d7c7b,'stroke':_0x599973(0xca),'evented':!0x0});this['_anchor']=_0x426bd0,this[_0x599973(0x18b)][_0x599973(0x2a5)](_0x426bd0,_0x224bae);let _0x469f98=new _0x26b045(mn+_0x4fc970(0x6),{'left':_0x914406+_0x896b3d-_0x3d7c7b,'top':_0x1f2baa+_0x5c34ed-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x68741d||_0x13aa2d(_0xf39947[_0x599973(0x26d)],0x0),'strokeWidth':0x0,'stroke':_0x68741d||_0x13aa2d(_0xf39947[_0x599973(0x26d)],0x0),'evented':!0x1});this[_0x599973(0x1cf)]=_0x469f98,this[_0x599973(0x18b)][_0x599973(0x2a5)](_0x469f98,_0x224bae);let _0x2372f2=new pn(mn+_0x4fc970(0x6),{'left':_0x914406+_0x896b3d-_0x3d7c7b,'top':_0x1f2baa+_0x5c34ed-0x14,'text':_0x29523a,'color':_0x68741d});this[_0x599973(0x155)]=_0x2372f2,this[_0x599973(0x18b)][_0x599973(0x2a5)](_0x2372f2,_0x224bae),this[_0x599973(0x15e)]=!0x1;}[_0x5ab0c7(0x13f)](){const _0x546d23=_0x5ab0c7;let _0x30c241=this[_0x546d23(0x12e)][_0x546d23(0x199)][_0x546d23(0x27b)](()=>{const _0x306eac=_0x546d23;this[_0x306eac(0x15e)]=!0x0;}),_0x2a75d2=this[_0x546d23(0x12e)][_0x546d23(0x175)][_0x546d23(0x27b)](()=>{const _0x52d1aa=_0x546d23;this[_0x52d1aa(0x2c6)]&&clearTimeout(this[_0x52d1aa(0x2c6)]),this[_0x52d1aa(0x2c6)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4eea3d=_0x546d23;_0x30c241[_0x4eea3d(0x275)](),_0x2a75d2[_0x4eea3d(0x275)]();};}[_0x5ab0c7(0x141)](_0x395305,_0x268ddd,_0x50eca7,_0x1d582b){const _0xbcd5e=_0x5ab0c7;let _0x52d37c=0.2,_0xf049f4=new _0x44845e(_0x395305)[_0xbcd5e(0x1df)](_0x52d37c)[_0xbcd5e(0x1a3)](),_0x51ed02=new _0x3874c2(_0xbcd5e(0x1e0)+_0x4fc970(0x6),{'pointsGroup':_0x268ddd,'fill':_0xf049f4||_0x13aa2d(_0xf39947[_0xbcd5e(0x26d)],_0x52d37c),'left':_0x50eca7,'top':_0x1d582b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xbcd5e(0x1ca)](_0x51ed02),this['_scene'][_0xbcd5e(0x2a5)](_0x51ed02,_0x224bae);}[_0x5ab0c7(0x131)](_0x25eb83,_0x710670,_0x353f2e,_0x2419f1){const _0x1c4a81=_0x5ab0c7;let _0x555d05=0.2,_0x25afb7=new _0x44845e(_0x25eb83)[_0x1c4a81(0x1df)](_0x555d05)['toRgbString'](),_0x343b2=new _0x3874c2(_0x1c4a81(0x145)+_0x4fc970(0x6),{'pointsGroup':_0x710670,'fill':_0x25afb7||_0x13aa2d(_0xf39947[_0x1c4a81(0x26d)],_0x555d05),'left':_0x353f2e,'top':_0x2419f1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1c4a81(0x1ec)][_0x1c4a81(0x1ca)](_0x343b2),this[_0x1c4a81(0x18b)][_0x1c4a81(0x2a5)](_0x343b2,_0x224bae);}[_0x5ab0c7(0x257)](_0x293513){let _0x30d23f=_0x293513[0x0],_0x2af814=_0x30d23f[0x0],_0x590d8e=_0x30d23f[0x2],{x:_0x2c5665,y:_0x476457}=_0x2af814,{x:_0x621d91,y:_0x85a4f}=_0x590d8e;return{'left':_0x2c5665,'top':_0x476457,'width':_0x621d91-_0x2c5665,'height':_0x85a4f-_0x476457};}[_0x5ab0c7(0x185)](){const _0x2ab409=_0x5ab0c7;let {scaleX:_0x3efb3b,scaleY:_0x44e61c}=this[_0x2ab409(0x18b)][_0x2ab409(0x134)]();return Math[_0x2ab409(0x2a9)](_0x3efb3b,_0x44e61c);}};let gn=class extends _0x3e00b1{constructor(_0x5d43cd,_0x19a22d,_0x1bb09f,_0x26030f,_0x2831ed){const _0x5ed77f=_0x5ab0c7;super(),this[_0x5ed77f(0x132)]=_0x5d43cd,this[_0x5ed77f(0x228)]=_0x19a22d,this[_0x5ed77f(0xf2)]=_0x1bb09f,this[_0x5ed77f(0x142)]=_0x26030f,this['_themeService']=_0x2831ed,W(this,_0x5ed77f(0x14b),[]),W(this,_0x5ed77f(0x136),[]),this[_0x5ed77f(0x168)]();}[_0x5ab0c7(0x168)](){const _0x3f5b1a=_0x5ab0c7;let _0x3c217b=this[_0x3f5b1a(0x132)][_0x3f5b1a(0x1ff)],_0x9f826a=this[_0x3f5b1a(0x228)];this['disposeWithMe'](_0xc7a6b([this[_0x3f5b1a(0xf2)][_0x3f5b1a(0x18f)](_0x3c217b),this['_themeService'][_0x3f5b1a(0x2cb)]])[_0x3f5b1a(0x2a8)](_0x162b30(([_0xc87248,_0x293524])=>({'skeleton':_0x9f826a[_0x3f5b1a(0x2b9)](),'cursors':[..._0xc87248[_0x3f5b1a(0xd6)]()][_0x3f5b1a(0x19e)](_0x534d68=>({..._0x534d68,'color':this['_themeService'][_0x3f5b1a(0xd7)](_0x534d68[_0x3f5b1a(0x268)])}))})))['subscribe'](_0xf3783e=>{if(this['_removeCollabCursors'](),_0xf3783e){let {skeleton:_0x50f782,cursors:_0x4e4285}=_0xf3783e;this['_updateCollabCursors'](_0x50f782,_0x4e4285);}})),this[_0x3f5b1a(0x255)](),this[_0x3f5b1a(0x1e8)]();}[_0x5ab0c7(0x265)](_0x1df8f4,_0x539242){const _0x3687ef=_0x5ab0c7;let {scene:_0x5c292d,mainComponent:_0x2b812e}=this[_0x3687ef(0x132)];this[_0x3687ef(0x14b)]=_0x539242['map'](_0x3b854e=>new hn(_0x3b854e,_0x5c292d,_0x1df8f4,_0x2b812e)),this[_0x3687ef(0x136)]=_0x539242;}[_0x5ab0c7(0x1fa)](){const _0x46cfa7=_0x5ab0c7;this[_0x46cfa7(0x252)]();let {scene:_0x59349c,mainComponent:_0x4412e4}=this[_0x46cfa7(0x132)],_0x21b0b1=this[_0x46cfa7(0x228)][_0x46cfa7(0x2b9)]();this[_0x46cfa7(0x14b)]=this['_cursors'][_0x46cfa7(0x297)](_0x2b0884=>new hn(_0x2b0884,_0x59349c,_0x21b0b1,_0x4412e4));}[_0x5ab0c7(0x252)](){const _0x28b272=_0x5ab0c7;this[_0x28b272(0x14b)][_0x28b272(0x16f)](_0x244015=>_0x244015[_0x28b272(0x1dc)]()),this['_cursorShapes']=[];}[_0x5ab0c7(0x1e8)](){const _0x153e2f=_0x5ab0c7;let _0x2d0757=[_0x3ba361['id']];this[_0x153e2f(0x258)](this[_0x153e2f(0x142)][_0x153e2f(0x243)](_0x52aa37=>{const _0x289f5f=_0x153e2f;_0x2d0757['includes'](_0x52aa37['id'])&&_0x52aa37[_0x289f5f(0x24d)][_0x289f5f(0x1ff)]===this[_0x289f5f(0x132)][_0x289f5f(0x1ff)]&&this[_0x289f5f(0x1fa)]();}));}[_0x5ab0c7(0x255)](){const _0x358463=_0x5ab0c7;this[_0x358463(0x258)](_0x2fb84e(this[_0x358463(0x132)][_0x358463(0x290)][_0x358463(0x1c8)])['pipe'](_0x20ea52(_0x1e558d=>_0x1e558d[_0x358463(0xde)]===_0x1c0499['resize']),_0xa8ea04(0x10))[_0x358463(0x1c4)](()=>{const _0x2ff4cf=_0x358463;this[_0x2ff4cf(0x1fa)]();}));}};gn=K([G(0x1,_0x385466(_0x5da90f)),G(0x2,_0x385466(Y)),G(0x3,_0x3a0b46),G(0x4,_0x385466(_0x150735))],gn);var _n=class extends _0x1d8b45{constructor(_0x4484e1,_0x38cb4b){const _0x5ee857=_0x5ab0c7;if(super(_0x4484e1,_0x38cb4b),W(this,_0x5ee857(0x278),void 0x0),W(this,'_hovered',!0x1),W(this,_0x5ee857(0x28a),void 0x0),W(this,_0x5ee857(0x209),''),W(this,_0x5ee857(0x15b),_0x5ee857(0xf1)),W(this,'_backgroundColor',void 0x0),W(this,_0x5ee857(0x193),void 0x0),W(this,_0x5ee857(0x29c),void 0x0),W(this,_0x5ee857(0x2a7),0x4),W(this,'_blinkTimer',void 0x0),W(this,_0x5ee857(0x20b),void 0x0),W(this,_0x5ee857(0x1bc),!0x0),W(this,'_offsetY',0x0),_0x38cb4b){var _0x99157b;if(this[_0x5ee857(0x2c3)](_0x38cb4b),_0x38cb4b[_0x5ee857(0x20e)]&&((_0x99157b=_0x38cb4b[_0x5ee857(0x1fd)])==null?this[_0x5ee857(0x2a7)]:_0x99157b)){var _0x5c06ef;this[_0x5ee857(0xe6)]((_0x5c06ef=_0x38cb4b[_0x5ee857(0x1fd)])==null?this[_0x5ee857(0x2a7)]:_0x5c06ef);}}this[_0x5ee857(0x199)]['subscribeEvent'](()=>this[_0x5ee857(0x2c3)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5ee857(0x27b)](()=>this[_0x5ee857(0x2c3)]({'hovered':!0x1}));}[_0x5ab0c7(0x1bb)](_0xddc5aa){this['_offsetY']=_0xddc5aa;}[_0x5ab0c7(0x2c3)](_0x57e33b){const _0x43c265=_0x5ab0c7;var _0x50e1b6,_0x10930a,_0x258434,_0x3e59f0,_0xfaae2e,_0xa01bc2,_0x17681d;this[_0x43c265(0x278)]=(_0x50e1b6=_0x57e33b[_0x43c265(0x268)])==null?this[_0x43c265(0x278)]:_0x50e1b6,this['_hovered']=(_0x10930a=_0x57e33b[_0x43c265(0x27f)])==null?this['_hovered']:_0x10930a,this[_0x43c265(0x28a)]=(_0x258434=_0x57e33b[_0x43c265(0x156)])==null?this[_0x43c265(0x28a)]:_0x258434,this[_0x43c265(0x209)]=(_0x3e59f0=_0x57e33b[_0x43c265(0x253)])==null?this[_0x43c265(0x209)]:_0x3e59f0,this['_labelPosition']=(_0xfaae2e=_0x57e33b['labelPosition'])==null?this[_0x43c265(0x15b)]:_0xfaae2e,this['_backgroundColor']=(_0xa01bc2=_0x57e33b[_0x43c265(0x1b5)])==null?this[_0x43c265(0x240)]:_0xa01bc2,this['_showText']=(_0x17681d=_0x57e33b[_0x43c265(0x2d4)])==null?this['_showText']:_0x17681d,_0x57e33b['highlightSecond']!==void 0x0&&(this[_0x43c265(0x2a7)]=_0x57e33b[_0x43c265(0x1fd)]),_0x57e33b['highlight']!==void 0x0&&(this[_0x43c265(0x29c)]=_0x57e33b[_0x43c265(0x20e)]),_0x57e33b[_0x43c265(0x244)]!==void 0x0&&(this['_offsetY']=_0x57e33b[_0x43c265(0x244)]),this[_0x43c265(0x1ad)]({'width':_0x57e33b[_0x43c265(0x18a)],'height':_0x57e33b[_0x43c265(0x118)]});}[_0x5ab0c7(0x222)](_0x3e7a49){const _0x13553c=_0x5ab0c7;let {row:_0x534030,column:_0x55dd4b}=_0x3e7a49;if(_0x534030>=this['_range'][_0x13553c(0x182)]&&_0x534030<=this['_range']['endRow']&&_0x55dd4b>=this['_range'][_0x13553c(0x1ef)]&&_0x55dd4b<=this[_0x13553c(0x28a)][_0x13553c(0x2bc)]){this[_0x13553c(0x2c3)]({'hovered':!0x0});return;}this[_0x13553c(0x2c3)]({'hovered':!0x1});}['_startBlinking'](_0x1eb427){const _0x3c3fdc=_0x5ab0c7;this['_stopBlinking'](),this['_isBlinkVisible']=!0x0,this[_0x3c3fdc(0x20b)]=window[_0x3c3fdc(0x208)](()=>{const _0x28e06b=_0x3c3fdc;this[_0x28e06b(0x1bc)]=!this['_isBlinkVisible'],this[_0x28e06b(0x20c)](!0x0);},0x1f4),this[_0x3c3fdc(0x1a2)]=window[_0x3c3fdc(0x1fb)](()=>{const _0x2effce=_0x3c3fdc;this['_stopBlinking'](),this[_0x2effce(0x1bc)]=!0x0,this[_0x2effce(0x20c)](!0x0);},_0x1eb427*0x3e8);}[_0x5ab0c7(0x2ca)](){const _0x402ad5=_0x5ab0c7;this[_0x402ad5(0x20b)]&&(window[_0x402ad5(0x20d)](this[_0x402ad5(0x20b)]),this[_0x402ad5(0x20b)]=void 0x0),this['_blinkTimer']&&(window[_0x402ad5(0x10e)](this[_0x402ad5(0x1a2)]),this['_blinkTimer']=void 0x0);}['triggerDblclick'](_0x391228){return!0x1;}[_0x5ab0c7(0x1dc)](){const _0x1ecad8=_0x5ab0c7;this[_0x1ecad8(0x2ca)](),super[_0x1ecad8(0x1dc)]();}[_0x5ab0c7(0x259)](_0x3abefb){const _0x4f51e1=_0x5ab0c7;var _0x16d2f3;let _0x770eb2=this[_0x4f51e1(0x278)],_0x2d9400=this['_backgroundColor'];if(this[_0x4f51e1(0x29c)]&&!this[_0x4f51e1(0x1bc)]&&(_0x770eb2=this[_0x4f51e1(0xd2)](this[_0x4f51e1(0x278)]),_0x2d9400=this[_0x4f51e1(0x240)]?this[_0x4f51e1(0xd2)](this[_0x4f51e1(0x240)]):void 0x0),_0x26b045[_0x4f51e1(0x162)](_0x3abefb,{'width':this[_0x4f51e1(0x18a)],'height':this['height'],'strokeWidth':(_0x16d2f3=this[_0x4f51e1(0x29b)])==null?1.5:_0x16d2f3,'stroke':_0x770eb2,'evented':!0x1,'fill':_0x2d9400}),this[_0x4f51e1(0x2b4)]||this[_0x4f51e1(0x193)]){var _0x37198a;_0x3abefb[_0x4f51e1(0x217)](),_0x3abefb[_0x4f51e1(0x198)](0x1,0x0,0x0,0x1,this[_0x4f51e1(0x18a)],(this['_labelPosition']===_0x4f51e1(0xce)?0x0:-0x14)+((_0x37198a=this[_0x4f51e1(0x1c7)])==null?0x0:_0x37198a)),pn[_0x4f51e1(0x162)](_0x3abefb,{'text':this[_0x4f51e1(0x209)],'color':_0x770eb2}),_0x3abefb[_0x4f51e1(0x16b)]();}}[_0x5ab0c7(0xd2)](_0x3eef73){const _0x495929=_0x5ab0c7;return _0x3eef73[_0x495929(0xe9)]('#')?_0x495929(0x2b6)+Number[_0x495929(0x234)](_0x3eef73[_0x495929(0x1d2)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x3eef73[_0x495929(0x1d2)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x3eef73['slice'](0x5,0x7),0x10)+',\x200.2)':_0x3eef73['startsWith'](_0x495929(0xf3))?_0x3eef73[_0x495929(0x14d)](/[\d.]+\)$/g,'0.2)'):_0x3eef73[_0x495929(0xe9)]('rgb')?_0x3eef73['replace'](_0x495929(0x15d),'rgba')['replace'](')',_0x495929(0x1b3)):_0x3eef73;}};let vn=class extends _0x3e00b1{constructor(_0x4698aa,_0x5b897f,_0x1a921e,_0x33523c){const _0x1b5078=_0x5ab0c7;super(),this[_0x1b5078(0x132)]=_0x4698aa,this[_0x1b5078(0xec)]=_0x5b897f,this[_0x1b5078(0xf2)]=_0x1a921e,this[_0x1b5078(0x18c)]=_0x33523c,W(this,_0x1b5078(0x136),new Set()),W(this,_0x1b5078(0x23b),null),this['_init']();}[_0x5ab0c7(0x168)](){const _0x1c1202=_0x5ab0c7;this[_0x1c1202(0xec)]['currentSkeleton$']['pipe'](_0x539e6a(this[_0x1c1202(0x139)]),_0x48c50b(_0x4d26d7=>{const _0x18e8b5=_0x1c1202;if(_0x4d26d7){let _0x5847b0=_0x4d26d7[_0x18e8b5(0x200)];return _0xc7a6b(this[_0x18e8b5(0xf2)]['getCollabCursors$'](this['_context'][_0x18e8b5(0x1ff)]),this[_0x18e8b5(0x18c)][_0x18e8b5(0x2cb)])[_0x18e8b5(0x2a8)](_0x162b30(([_0x268b80,_0x540dc1])=>{let _0x152991=new Map();return _0x268b80['forEach']((_0x1e6a06,_0xb7d984)=>{const _0x1d9d0c=_0x1554;if(_0x1e6a06[_0x1d9d0c(0x1a1)]===_0x5847b0){let _0x48dc9e={..._0x1e6a06};_0x48dc9e[_0x1d9d0c(0x268)]=this['_themeService'][_0x1d9d0c(0xd7)](_0x1e6a06[_0x1d9d0c(0x268)]),_0x152991[_0x1d9d0c(0x15a)](_0xb7d984,_0x48dc9e);}}),{'skeleton':_0x4d26d7,'cursors':_0x152991};}));}return _0x137210({'skeleton':null,'cursors':new Map()});}))[_0x1c1202(0x1c4)](({skeleton:_0x568344,cursors:_0x3f6ee3})=>{const _0x5d802a=_0x1c1202;this[_0x5d802a(0x252)](),_0x568344&&this[_0x5d802a(0x265)](_0x568344,_0x3f6ee3);}),this['_sheetSkeletonManagerService'][_0x1c1202(0x2aa)][_0x1c1202(0x1c4)](_0x24b6b0=>{const _0x50018a=_0x1c1202;if(_0x24b6b0==null)return;let {skeleton:_0x4890f3}=_0x24b6b0,{scene:_0x538ed0}=this[_0x50018a(0x132)];_0x538ed0[_0x50018a(0x211)][_0x50018a(0x27b)](_0x2a29a2(_0x3c0ca2=>{const _0x146eaf=_0x50018a;var _0x28b290,_0x1447ea;let {offsetX:_0x28977a,offsetY:_0x512a6a}=_0x3c0ca2,{x:_0x3ffb6f,y:_0x2de65d}=_0x538ed0[_0x146eaf(0x26b)](_0x395357[_0x146eaf(0x1f5)]([_0x28977a,_0x512a6a])),{scaleX:_0x57ce58,scaleY:_0x35a280}=_0x538ed0['getAncestorScale'](),_0x489a7d=_0x538ed0[_0x146eaf(0x113)](_0x2a68ed[_0x146eaf(0x105)]),_0x5b851c=_0x538ed0[_0x146eaf(0x186)](_0x395357[_0x146eaf(0x1f5)]([_0x3ffb6f,_0x2de65d]),_0x489a7d),_0x638230=_0x4890f3[_0x146eaf(0x146)](_0x28977a,_0x512a6a,_0x57ce58,_0x35a280,_0x5b851c);((_0x28b290=this[_0x146eaf(0x23b)])==null?void 0x0:_0x28b290[_0x146eaf(0x23f)])===_0x638230[_0x146eaf(0x23f)]&&((_0x1447ea=this[_0x146eaf(0x23b)])==null?void 0x0:_0x1447ea['row'])===_0x638230['row']||this[_0x146eaf(0x136)]['forEach'](_0x5d6fa8=>{const _0x2bec47=_0x146eaf;_0x5d6fa8[_0x2bec47(0x222)](_0x638230);});},0x64));});}[_0x5ab0c7(0x265)](_0x4ce5dd,_0x29a2a9){const _0xbf02de=_0x5ab0c7;var _0x4be213;let _0x59ae0e=(_0x4be213=this[_0xbf02de(0xec)]['getCurrent']())==null?void 0x0:_0x4be213[_0xbf02de(0x231)];if(!_0x59ae0e)return;let _0x2f532e=this[_0xbf02de(0x10d)]();if(!_0x2f532e)return;this[_0xbf02de(0x136)]['forEach'](_0x2af290=>{const _0x39fd8e=_0xbf02de;_0x2af290[_0x39fd8e(0x20c)]();});let {scene:_0x176fdc}=_0x2f532e,_0x3b78fb=yn(Array[_0xbf02de(0x281)](_0x29a2a9[_0xbf02de(0xd6)]()))[_0xbf02de(0x297)](_0x403b8e=>{const _0x2bc156=_0xbf02de;let {color:_0x47ec75,range:_0x11445a,name:_0x3eac5d,selection:_0x262db0,sheetID:_0x351738}=_0x403b8e,{startColumn:_0x178c79,startRow:_0x24c31a,endColumn:_0x3b57e5,endRow:_0x197bb1}=_0x11445a,_0x1b34ab=_0x455eac(_0x24c31a,_0x178c79,_0x176fdc,_0x59ae0e),_0x6b08df=_0x455eac(_0x197bb1,_0x3b57e5,_0x176fdc,_0x59ae0e),{columnHeaderHeightAndMarginTop:_0x5a6cc6}=_0x59ae0e,{startX:_0x56300d,startY:_0x14c696}=_0x1b34ab,{endX:_0x434f19,endY:_0x46c007}=_0x6b08df,_0x12b56c=_0x434f19-_0x56300d,_0x5367ce=_0x46c007-_0x14c696;return new _n(_0x3eac5d,{'labelPosition':_0x14c696-_0x5a6cc6>=0x14?_0x2bc156(0xf1):_0x2bc156(0xce),'sheetID':_0x351738,'range':_0x11445a,'color':_0x47ec75,'name':_0x3eac5d,'selection':_0x262db0,'left':_0x56300d,'top':_0x14c696,'width':_0x12b56c,'height':_0x5367ce,'evented':!0x1,'zIndex':0x1389});});_0x176fdc[_0xbf02de(0x20a)](_0x3b78fb,0x1),this[_0xbf02de(0x136)]=new Set(_0x3b78fb);}[_0x5ab0c7(0x252)](){const _0x244f33=_0x5ab0c7;var _0x1d090e;(_0x1d090e=this[_0x244f33(0x136)])==null||_0x1d090e['forEach'](_0x5bd921=>_0x5bd921[_0x244f33(0x1dc)]());}[_0x5ab0c7(0x10d)](){const _0x4a0591=_0x5ab0c7;return _0x2601bd(this[_0x4a0591(0x132)]['unit'],this[_0x4a0591(0x132)]);}};vn=K([G(0x1,_0x385466(_0x525013)),G(0x2,_0x385466(Y)),G(0x3,_0x385466(_0x150735))],vn);function yn(_0x20cdf3){const _0x2307e9=_0x5ab0c7;let _0x18aaef=new Map();return _0x20cdf3[_0x2307e9(0x16f)](_0x373a14=>{const _0x51d51b=_0x2307e9;if(_0x18aaef[_0x51d51b(0x267)](_0x373a14['selection'])){let _0x1b7aa7=_0x18aaef['get'](_0x373a14[_0x51d51b(0x269)]);_0x1b7aa7['name']+=',\x20'+_0x373a14[_0x51d51b(0x253)];}else _0x18aaef[_0x51d51b(0x15a)](_0x373a14[_0x51d51b(0x269)],_0x373a14);}),Array[_0x2307e9(0x281)](_0x18aaef[_0x2307e9(0xd6)]());}let bn=class extends _0x523128{constructor(_0x44029,_0x2ace24,_0x56d2ec,_0x2ae607,_0x53dec1,_0x3aa610){const _0x2f81c=_0x5ab0c7;super(),this[_0x2f81c(0x109)]=_0x44029,this['_localCacheService']=_0x2ace24,this[_0x2f81c(0x1f6)]=_0x56d2ec,this[_0x2f81c(0x229)]=_0x2ae607,this[_0x2f81c(0x27d)]=_0x53dec1,this[_0x2f81c(0x1a7)]=_0x3aa610,this[_0x2f81c(0x12a)](),this['_initEvent']();}[_0x5ab0c7(0x12a)](){const _0x20f584=_0x5ab0c7;this[_0x20f584(0x258)](this['_beforeCloseService'][_0x20f584(0xe3)](()=>{const _0x4fa2ee=_0x20f584;if(this[_0x4fa2ee(0x1e9)]['saveTaskMap'][_0x4fa2ee(0x178)])return this[_0x4fa2ee(0x1a7)]['t'](_0x4fa2ee(0x261));}));}['_initEvent'](){const _0x5dd89b=_0x5ab0c7;this[_0x5dd89b(0x258)](this[_0x5dd89b(0x1f6)][_0x5dd89b(0x1c0)][_0x5dd89b(0x1c4)](_0xaccd92=>{const _0x46a08f=_0x5dd89b;_0xaccd92['id']===_0x52d70c['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x46a08f(0x19c)]({'type':_0x440a35[_0x46a08f(0x2ce)],'content':this[_0x46a08f(0x1a7)]['t']('collaboration.single-unit.warning')}),_0xaccd92['id']===_0x52d70c[_0x46a08f(0x12c)]&&this[_0x46a08f(0x229)][_0x46a08f(0x19c)]({'type':_0x440a35[_0x46a08f(0x2ce)],'content':this[_0x46a08f(0x1a7)]['t'](_0x46a08f(0xcc))}),_0xaccd92['id']===_0x52d70c[_0x46a08f(0xe8)]&&this['_notificationService']['show']({'title':this[_0x46a08f(0x1a7)]['t'](_0x46a08f(0x2a3)),'content':this[_0x46a08f(0x1a7)]['t'](_0x46a08f(0x225)),'type':_0x46a08f(0x227),'duration':0x0}),_0xaccd92['id']===_0x52d70c['CONFLICT']&&this[_0x46a08f(0x229)]['show']({'type':_0x440a35['Error'],'content':this[_0x46a08f(0x1a7)]['t'](_0x46a08f(0xcc))+'('+_0xaccd92['data']+')'}),_0xaccd92['id']===_0x52d70c['JOIN_ROOM_FAILED']&&this[_0x46a08f(0x229)][_0x46a08f(0x19c)]({'type':_0x440a35[_0x46a08f(0x2ce)],'content':this[_0x46a08f(0x1a7)]['t'](_0xaccd92['data']||'')}),_0xaccd92['id']===_0x52d70c[_0x46a08f(0x137)]&&this[_0x46a08f(0x229)][_0x46a08f(0x19c)]({'type':_0x440a35['Warning'],'content':this[_0x46a08f(0x1a7)]['t'](_0x46a08f(0x2d3))}),_0xaccd92['id']===_0x52d70c['SOCKET_FAILED']&&this[_0x46a08f(0x229)][_0x46a08f(0x19c)]({'type':_0x440a35['Error'],'content':this[_0x46a08f(0x1a7)]['t'](_0x46a08f(0x285))}),_0xaccd92['id']===_0x52d70c['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x46a08f(0x229)][_0x46a08f(0x19c)]({'type':_0x440a35['Error'],'content':this[_0x46a08f(0x1a7)]['t'](_0x46a08f(0x18d))});}));}};bn=K([G(0x0,_0x2073af),G(0x1,_0x2e3f80),G(0x2,_0x385466(_0x1b28cf)),G(0x3,_0x109677),G(0x4,_0x4abf70),G(0x5,_0x385466(_0x10cfad))],bn);const xn=_0x5ab0c7(0x1fe);Symbol(xn);const Sn={};let X=class{constructor(_0x3cc079,_0x1e33dc){const _0x2c3fa3=_0x5ab0c7;this[_0x2c3fa3(0x13a)]=_0x3cc079,this[_0x2c3fa3(0x1d8)]=_0x1e33dc;}[_0x5ab0c7(0x1a9)](_0xb5f1ea){const _0x4a9b65=_0x5ab0c7;this[_0x4a9b65(0x133)](_0xb5f1ea),this[_0x4a9b65(0x189)](_0xb5f1ea);}[_0x5ab0c7(0x138)](_0x510723){const _0x26762c=_0x5ab0c7;let {unitID:_0x32b065}=_0x510723,{redoCache:_0x42aa7a}=this['_renderManagerService'][_0x26762c(0x2a2)](_0x32b065)[_0x26762c(0x1d0)](_0x129a3b)[_0x26762c(0x100)]();if(_0x42aa7a[_0x26762c(0xdd)]===0x0)return _0x510723;let _0x430cef=_0xf8f71f[_0x26762c(0x238)](_0x510723['mutations'][0x0]);for(let _0x2b90b7=0x0;_0x2b90b7<_0x42aa7a[_0x26762c(0xdd)];_0x2b90b7++){let _0x1b38aa={'id':'doc.mutation.rich-text-editing','params':{..._0x42aa7a[_0x2b90b7]}},_0x376530=this[_0x26762c(0x13a)][_0x26762c(0x195)](_0x430cef,_0x1b38aa,!0x1);if(_0xd0f140(_0x376530))throw _0x376530[_0x26762c(0x227)];_0x430cef=_0x376530[_0x26762c(0x214)];}return{..._0xf8f71f[_0x26762c(0x238)](_0x510723),'mutations':[_0x430cef]};}[_0x5ab0c7(0x133)](_0x340859){const _0xc18182=_0x5ab0c7;let {unitID:_0x2c745b}=_0x340859,_0x5c9129=this[_0xc18182(0x1d8)][_0xc18182(0x2a2)](_0x2c745b)['with'](_0x129a3b),{undoCache:_0x48c237,redoCache:_0x577335}=_0x5c9129[_0xc18182(0x100)]();if(_0x48c237[_0xc18182(0xdd)]===0x0||_0x577335[_0xc18182(0xdd)]===0x0)return;let _0x357684=[],_0x2217ac=[],_0x3e8313=_0xf8f71f['deepClone'](_0x340859['mutations'][0x0]),_0x264b57=_0xf8f71f[_0xc18182(0x238)](_0x340859['mutations'][0x0]);for(let _0x14441d=_0x48c237[_0xc18182(0xdd)]-0x1;_0x14441d>=0x0;_0x14441d--){let _0x253d14={'id':_0xc18182(0x1a5),'params':{..._0x48c237[_0x14441d]}},_0x435112={'id':_0xc18182(0x1a5),'params':{..._0x577335[_0x14441d]}},_0x5942ef=this[_0xc18182(0x13a)][_0xc18182(0x195)](_0x3e8313,_0x253d14,!0x1),_0xf049bb=this[_0xc18182(0x13a)][_0xc18182(0x195)](_0x264b57,_0x435112,!0x1);if(_0xd0f140(_0x5942ef))throw _0x5942ef['error'];if(_0xd0f140(_0xf049bb))throw _0xf049bb[_0xc18182(0x227)];_0x357684[_0xc18182(0x1f2)](_0x5942ef[_0xc18182(0x204)][_0xc18182(0x24d)]),_0x2217ac[_0xc18182(0x1f2)](_0xf049bb[_0xc18182(0x204)]['params']),_0x3e8313=_0x5942ef[_0xc18182(0x214)],_0x264b57=_0xf049bb[_0xc18182(0x214)];}_0x5c9129['setUndoRedoMutationParamsCache']({'undoCache':_0x357684,'redoCache':_0x2217ac});}['_transformPreviousActiveRange'](_0x565454){const _0x540e3b=_0x5ab0c7;let {unitID:_0x142289}=_0x565454,_0x4c6f5e=this[_0x540e3b(0x1d8)][_0x540e3b(0x2a2)](_0x142289)[_0x540e3b(0x1d0)](_0x129a3b),_0x452482=_0x4c6f5e[_0x540e3b(0x184)]();if(_0x452482==null)return;let _0x144fce=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x565454[_0x540e3b(0x114)],'actions':null,'textRanges':[_0x452482]}}],_0x16dbb1=this[_0x540e3b(0x13a)][_0x540e3b(0x1dd)](_0x565454,_0x144fce);if(!_0xbf2597(_0x16dbb1))throw _0x16dbb1[_0x540e3b(0x227)];let _0x203d25=_0x16dbb1['m2Prime'][0x0]['params'][_0x540e3b(0x13b)];Array[_0x540e3b(0x19d)](_0x203d25)&&_0x203d25[_0x540e3b(0xdd)]&&_0x4c6f5e['setActiveRange'](_0x203d25[0x0]);}};X=K([G(0x0,_0x9c92b6),G(0x1,_0x468c4a)],X);let Cn=class{constructor(_0x3e9a36,_0x2d9eee,_0x4e2d21){const _0x389a1a=_0x5ab0c7;this['_injector']=_0x3e9a36,this[_0x389a1a(0x13a)]=_0x2d9eee,this[_0x389a1a(0x192)]=_0x4e2d21;}['transformStateCache'](_0x1b5e67){const _0x1454f1=_0x5ab0c7;this[_0x1454f1(0x19a)](_0x1b5e67);}[_0x5ab0c7(0x138)](_0x37a706){const _0x1e72ef=_0x5ab0c7;let {unitID:_0x5ec692}=_0x37a706,{collaboration:_0x3b73c0}=this[_0x1e72ef(0x192)][_0x1e72ef(0xe5)](_0x5ec692);if(_0x3b73c0[_0x1e72ef(0xdd)]===0x0)return _0x37a706;let _0x1adfe2=_0xf8f71f['deepClone'](_0x37a706[_0x1e72ef(0x157)][0x0]);for(let _0x28b062=0x0;_0x28b062<_0x3b73c0[_0x1e72ef(0xdd)];_0x28b062++){let _0x2a1452={'id':_0x1e72ef(0x1a5),'params':{'unitId':_0x3b73c0[_0x28b062][_0x1e72ef(0x1ff)],..._0x3b73c0[_0x28b062]['redoState']}},_0x4cc92d=this[_0x1e72ef(0x13a)][_0x1e72ef(0x195)](_0x1adfe2,_0x2a1452,!0x1);if(_0xd0f140(_0x4cc92d))throw _0x4cc92d['error'];_0x1adfe2=_0x4cc92d['m1Prime'];}return{..._0xf8f71f[_0x1e72ef(0x238)](_0x37a706),'mutations':[_0x1adfe2]};}[_0x5ab0c7(0x19a)](_0x41da47){const _0x4a123d=_0x5ab0c7;let {unitID:_0x33083e}=_0x41da47,{history:_0x53bafb,collaboration:_0x3843c2}=this[_0x4a123d(0x192)][_0x4a123d(0xe5)](_0x33083e);if(_0x53bafb[_0x4a123d(0xdd)]===0x0&&_0x3843c2[_0x4a123d(0xdd)]===0x0)return;let _0x490622=[],_0x4a311d=[],_0x1b216c=_0xf8f71f[_0x4a123d(0x238)](_0x41da47[_0x4a123d(0x157)][0x0]),_0x15e870=_0xf8f71f[_0x4a123d(0x238)](_0x41da47[_0x4a123d(0x157)][0x0]);for(let _0x4ba5e8=_0x53bafb['length']-0x1;_0x4ba5e8>=0x0;_0x4ba5e8--){let _0x3d74e3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x53bafb[_0x4ba5e8][_0x4a123d(0x1ff)],..._0x53bafb[_0x4ba5e8][_0x4a123d(0x2bd)]}},_0x7ab6e1={'id':_0x4a123d(0x1a5),'params':{'unitId':_0x53bafb[_0x4ba5e8][_0x4a123d(0x1ff)],..._0x53bafb[_0x4ba5e8][_0x4a123d(0x21b)]}},_0x2627fe=this['_transformService'][_0x4a123d(0x195)](_0x1b216c,_0x3d74e3,!0x1),_0x289a73=this['_transformService'][_0x4a123d(0x195)](_0x15e870,_0x7ab6e1,!0x1);if(_0xd0f140(_0x2627fe))throw _0x2627fe[_0x4a123d(0x227)];if(_0xd0f140(_0x289a73))throw _0x289a73['error'];_0x490622[_0x4a123d(0x1f2)]({..._0x53bafb[_0x4ba5e8],'undoState':_0x2627fe[_0x4a123d(0x204)][_0x4a123d(0x24d)],'redoState':_0x289a73[_0x4a123d(0x204)][_0x4a123d(0x24d)]}),_0x1b216c=_0x2627fe[_0x4a123d(0x214)],_0x15e870=_0x289a73['m1Prime'];}_0x1b216c=_0xf8f71f[_0x4a123d(0x238)](_0x41da47[_0x4a123d(0x157)][0x0]),_0x15e870=_0xf8f71f[_0x4a123d(0x238)](_0x41da47[_0x4a123d(0x157)][0x0]);for(let _0x4ebd13=_0x3843c2[_0x4a123d(0xdd)]-0x1;_0x4ebd13>=0x0;_0x4ebd13--){let _0xeff19f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3843c2[_0x4ebd13][_0x4a123d(0x1ff)],..._0x3843c2[_0x4ebd13][_0x4a123d(0x2bd)]}},_0xa109c2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3843c2[_0x4ebd13][_0x4a123d(0x1ff)],..._0x3843c2[_0x4ebd13][_0x4a123d(0x21b)]}},_0x192701=this[_0x4a123d(0x13a)][_0x4a123d(0x195)](_0x1b216c,_0xeff19f,!0x1),_0x483b9f=this[_0x4a123d(0x13a)][_0x4a123d(0x195)](_0x15e870,_0xa109c2,!0x1);if(_0xd0f140(_0x192701))throw _0x192701[_0x4a123d(0x227)];if(_0xd0f140(_0x483b9f))throw _0x483b9f[_0x4a123d(0x227)];_0x4a311d['unshift']({..._0x3843c2[_0x4ebd13],'undoState':_0x192701['m2Prime'][_0x4a123d(0x24d)],'redoState':_0x483b9f[_0x4a123d(0x204)][_0x4a123d(0x24d)]}),_0x1b216c=_0x192701[_0x4a123d(0x214)],_0x15e870=_0x483b9f[_0x4a123d(0x214)];}this[_0x4a123d(0x192)][_0x4a123d(0xe2)](_0x33083e,{'history':_0x490622,'collaboration':_0x4a311d});}};Cn=K([G(0x0,_0x385466(_0x12dd3a)),G(0x1,_0x9c92b6),G(0x2,_0x385466(_0x18c255))],Cn);let wn=class{constructor(_0x46b2d,_0x43e0ac){const _0x3d726c=_0x5ab0c7;this[_0x3d726c(0x2be)]=_0x46b2d,this[_0x3d726c(0x13a)]=_0x43e0ac;}[_0x5ab0c7(0x246)](_0x4ab583){const _0x438ab9=_0x5ab0c7;var _0x518eb7;let _0x1a9732=this[_0x438ab9(0x2be)][_0x438ab9(0x2ad)](_0x31c9a8),_0x2c8f38=(_0x518eb7=_0x1a9732[_0x438ab9(0x284)]())==null?[]:_0x518eb7;if(_0x2c8f38[_0x438ab9(0xdd)]===0x0)return;let _0x1d90ea=_0x4ab583['unitID'],_0x4d5d8c=[{'id':_0x438ab9(0x1a5),'params':{'unitId':_0x1d90ea,'actions':null,'textRanges':_0x2c8f38}}],_0x3cc76d=this['_transformService']['transformMutationsWithChangeset'](_0x4ab583,_0x4d5d8c);if(!_0xbf2597(_0x3cc76d))throw _0x3cc76d[_0x438ab9(0x227)];let _0x2373f7=_0x3cc76d[_0x438ab9(0x204)][0x0][_0x438ab9(0x24d)][_0x438ab9(0x13b)];Array['isArray'](_0x2373f7)&&_0x2373f7['length']&&_0x1a9732[_0x438ab9(0x148)](_0x2373f7,{'unitId':_0x1d90ea,'subUnitId':_0x1d90ea},!0x1);}};wn=K([G(0x0,_0x385466(_0x12dd3a)),G(0x1,_0x9c92b6)],wn);let Tn=class extends _0x523128{constructor(_0x30aa52,_0x5ab41d,_0x257be8,_0x28e2cd,_0x5679b5,_0x336746,_0x98d16e,_0x2243c8){const _0x363f76=_0x5ab0c7;super(),this[_0x363f76(0x192)]=_0x30aa52,this[_0x363f76(0x1d3)]=_0x5ab41d,this[_0x363f76(0x161)]=_0x257be8,this['_docTransformStateCacheService']=_0x28e2cd,this[_0x363f76(0x23a)]=_0x5679b5,this[_0x363f76(0x21e)]=_0x336746,this['_messageService']=_0x98d16e,this['_localeService']=_0x2243c8,W(this,_0x363f76(0x1f4),new _0x4da081(_0x57d63d[_0x363f76(0x152)])),this[_0x363f76(0x14c)]();}[_0x5ab0c7(0x14c)](){const _0x550ef0=_0x5ab0c7;this[_0x550ef0(0x258)](this[_0x550ef0(0x1d3)][_0x550ef0(0x20f)][_0x550ef0(0x1c4)](_0x23235b=>{const _0x3acb39=_0x550ef0;let _0x59100a=this[_0x3acb39(0x192)][_0x3acb39(0x28c)][_0x3acb39(0x1c4)](_0x3c3ecd=>{const _0x95bec2=_0x3acb39;if(_0x3c3ecd==null)return;let {unitId:_0x466fb9,redoState:_0x5923c2,commandId:_0x48ca0b}=_0x3c3ecd;if(_0x466fb9!==_0x23235b[_0x95bec2(0x114)])return;let _0x3019d9={'id':_0x48ca0b,'type':_0x148cf4[_0x95bec2(0x1c6)],'params':{'unitId':_0x466fb9,'actions':_0x5923c2['actions'],'textRanges':null}};_0x23235b[_0x95bec2(0xd0)](_0x3019d9);});_0x23235b[_0x3acb39(0x258)](_0x59100a),_0x23235b instanceof _0x367a83&&_0x23235b[_0x3acb39(0x1bf)]({'onTransformIME':_0x439c92=>this[_0x3acb39(0x161)][_0x3acb39(0x1a9)](_0x439c92),'onTransformState':_0x476b63=>this['_docTransformStateCacheService']['transformStateCache'](_0x476b63),'onTransformSelections':_0x59c2aa=>this[_0x3acb39(0x23a)][_0x3acb39(0x246)](_0x59c2aa),'onSyncEditingCollabCursor':_0x5e08fa=>this[_0x3acb39(0x21e)]['syncEditingCollabCursor'](_0x5e08fa),'onTransformRemoteChangesetByIMECache':_0x21d62b=>this[_0x3acb39(0x161)]['transformRemoteChangeset'](_0x21d62b),'onTransformRemoteChangesetByStateCache':_0x33138f=>this['_docTransformStateCacheService'][_0x3acb39(0x138)](_0x33138f)});}));}};Tn=K([G(0x0,_0x385466(_0x18c255)),G(0x1,_0x385466(_0x6954ab)),G(0x2,_0x385466(X)),G(0x3,_0x385466(Cn)),G(0x4,_0x385466(wn)),G(0x5,_0x385466(cn)),G(0x6,_0x109677),G(0x7,_0x385466(_0x10cfad))],Tn);let En=class extends _0x523128{constructor(_0x4c7b16,_0x20db6a,_0x1962f4,_0x558347){const _0x48f424=_0x5ab0c7;super(),this[_0x48f424(0x2be)]=_0x4c7b16,this['_httpService']=_0x20db6a,this[_0x48f424(0x154)]=_0x1962f4,this[_0x48f424(0x1e1)]=_0x558347,W(this,_0x48f424(0x283),void 0x0),this[_0x48f424(0x168)]();}[_0x5ab0c7(0x168)](){const _0x26e163=_0x5ab0c7;this[_0x26e163(0x24c)](),this[_0x26e163(0x219)](),this[_0x26e163(0x14e)](),this[_0x26e163(0x14f)]();}['_initUserListener'](){const _0x267f24=_0x5ab0c7;this['disposeWithMe'](this[_0x267f24(0x1e1)][_0x267f24(0x21a)][_0x267f24(0x1c4)](_0x4e5977=>{const _0x3c0f14=_0x267f24;this['_memberID']=_0x4e5977==null?void 0x0:_0x4e5977[_0x3c0f14(0xcf)];}));}[_0x5ab0c7(0x24c)](){const _0xdc4110=_0x5ab0c7;let _0x3aef29=_0x5d32ef=>{const _0x4fa75d=_0x1554;var _0x43893f;this[_0x4fa75d(0x143)](_0x4fa75d(0x227),_0x4fa75d(0x1d4)+_0x5d32ef[_0x4fa75d(0x2a1)]+_0x4fa75d(0x1cb)+_0x5d32ef[_0x4fa75d(0x11c)]+':'+_0x5d32ef[_0x4fa75d(0x218)]+':'+_0x5d32ef['colno']+'\x0a'+(((_0x43893f=_0x5d32ef[_0x4fa75d(0x227)])==null?void 0x0:_0x43893f['stack'])||''));};window[_0xdc4110(0x1e6)]('error',_0x3aef29),this[_0xdc4110(0x258)](()=>{const _0x3c127e=_0xdc4110;window[_0x3c127e(0x106)]('error',_0x3aef29);});}['_initUnhandledRejectionListener'](){const _0x271566=_0x5ab0c7;let _0x2f958e=_0x13514b=>{const _0x5d0f70=_0x1554;this[_0x5d0f70(0x143)](_0x5d0f70(0x227),_0x5d0f70(0xf5)+_0x13514b['reason']);};window[_0x271566(0x1e6)](_0x271566(0x1f8),_0x2f958e),this[_0x271566(0x258)](()=>{const _0x3928b7=_0x271566;window[_0x3928b7(0x106)]('unhandledrejection',_0x2f958e);});}[_0x5ab0c7(0x14e)](){const _0x2149a4=_0x5ab0c7;let _0x181e38=this[_0x2149a4(0x154)][_0x2149a4(0x227)][_0x2149a4(0xf9)](this[_0x2149a4(0x154)]);this['_logService'][_0x2149a4(0x227)]=(..._0x3cc670)=>{const _0x48b29f=_0x2149a4;let _0x30b18b=_0x3cc670[_0x48b29f(0x297)](_0x2635dc=>_0x2635dc instanceof Error?_0x2635dc[_0x48b29f(0x2a1)]+'\x0a'+_0x2635dc[_0x48b29f(0x2a4)]:String(_0x2635dc))[_0x48b29f(0x1c9)]('\x20');this[_0x48b29f(0x143)]('error','[LogService\x20Error]:\x20'+_0x30b18b),_0x181e38(..._0x3cc670);},this['disposeWithMe'](()=>{const _0x29a75a=_0x2149a4;this['_logService'][_0x29a75a(0x227)]=_0x181e38;});}[_0x5ab0c7(0x143)](_0x143093,_0x9d6497){const _0x6cbcc5=_0x5ab0c7;try{let _0x4ac240={'userId':this['_memberID'],'logLabel':_0x143093,'content':_0x9d6497};this[_0x6cbcc5(0x25f)]['post']('/universer-api/frontend/logs',{'body':_0x4ac240})[_0x6cbcc5(0x26e)](()=>{});}catch{}}};En=K([G(0x0,_0x385466(_0x12dd3a)),G(0x1,_0x385466(_0x2c96c7)),G(0x2,_0x52d5a0),G(0x3,_0x385466(_0x1e4eb2))],En);function Dn(_0x3156dc){const _0x1db8da=_0x5ab0c7;var _0x4848c5,_0x48e817;let _0x1bdd7b=(_0x4848c5=_0x3156dc[_0x1db8da(0x19b)])==null?void 0x0:_0x4848c5[_0x1db8da(0x274)],_0x336f06=((_0x48e817=_0x3156dc[_0x1db8da(0x19b)])==null?void 0x0:_0x48e817[_0x1db8da(0x12d)])||0x0;return _0x1bdd7b===_0x18a09b[_0x1db8da(0x11d)]&&_0x336f06>0x0;}function On(_0x3e8bee){const _0x1cc106=_0x5ab0c7;return _0x3e8bee[_0x1cc106(0x2ba)]===_0x33d79d[_0x1cc106(0x266)];}let Z=class extends _0x523128{constructor(_0x427d85,_0x264361,_0x514c5d,_0x21f1e1,_0x25b292,_0x5c6637,_0x48197f){const _0x4822e3=_0x5ab0c7;super(),this['_messageService']=_0x427d85,this['_commandService']=_0x264361,this['_configService']=_0x514c5d,this[_0x4822e3(0x25f)]=_0x21f1e1,this[_0x4822e3(0x188)]=_0x25b292,this[_0x4822e3(0x154)]=_0x5c6637,this[_0x4822e3(0x1a7)]=_0x48197f,W(this,'_pollingInterval',null),W(this,_0x4822e3(0xff),0x0),W(this,_0x4822e3(0x206),0x0),W(this,_0x4822e3(0x17d),[]),W(this,_0x4822e3(0x127),0x0),this[_0x4822e3(0x1d6)]();}['_initCommandInterceptor'](){const _0x375af4=_0x5ab0c7;this[_0x375af4(0x258)](this[_0x375af4(0x142)][_0x375af4(0x24f)]((_0x26cf4f,_0x55b501)=>{const _0x41234f=_0x375af4;var _0x329052;if(_0x26cf4f['id']!==_0x1c5a0e['id'])return;let _0x4fc556=_0x26cf4f['params'];if(this[_0x41234f(0xe7)]((_0x329052=_0x4fc556[_0x41234f(0x171)])==null?[]:_0x329052)&&!this[_0x41234f(0x1eb)]())throw this[_0x41234f(0xd9)](_0x26cf4f,_0x55b501),this[_0x41234f(0x1b9)](),new _0x3cdefa();})),this[_0x375af4(0x258)](this[_0x375af4(0x142)][_0x375af4(0x243)]((_0xfe65ab,_0xb988a9)=>{const _0x3e6492=_0x375af4;if(_0xfe65ab['id']!==_0x48ad80['id'])return;let _0x53fb8f=_0xfe65ab[_0x3e6492(0x24d)];if(Dn(_0x53fb8f)){let _0x29e52f=_0x4fc970();this[_0x3e6492(0x17d)][_0x3e6492(0x1ca)](_0x29e52f),this[_0x3e6492(0x245)](_0x29e52f);}else{if(On(_0x53fb8f)&&this[_0x3e6492(0x17d)][_0x3e6492(0xdd)]>0x0){let _0x3233a9=this[_0x3e6492(0x17d)][_0x3e6492(0x1c5)]();this[_0x3e6492(0x115)](_0x3233a9);}}}));}['dispose'](){const _0x1c2184=_0x5ab0c7;super[_0x1c2184(0x1dc)](),this[_0x1c2184(0xed)](),this['_taskIds']=[],this[_0x1c2184(0x206)]=0x0,this[_0x1c2184(0xff)]=0x0,this[_0x1c2184(0x127)]=0x0;}async[_0x5ab0c7(0xd9)](_0x201cbe,_0x1c244d){const _0x2ad794=_0x5ab0c7;for(let _0x4dcb58=0x0;_0x4dcb58<0x1e;_0x4dcb58++)try{if(await this[_0x2ad794(0x289)](),this['_checkCalculationAvailable']()){this[_0x2ad794(0x24e)](_0x201cbe,_0x1c244d),this['_messageService'][_0x2ad794(0x19c)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x440a35[_0x2ad794(0x280)]});return;}await new Promise(_0x480f9e=>{const _0x17b303=_0x2ad794;this[_0x17b303(0x2c1)]=window['setTimeout'](_0x480f9e,0x3e8);});}catch(_0x4555c7){this[_0x2ad794(0x154)][_0x2ad794(0x227)](_0x4555c7);}this['_messageService'][_0x2ad794(0x19c)]({'content':this[_0x2ad794(0x1a7)]['t'](_0x2ad794(0xdb)),'type':_0x440a35[_0x2ad794(0x292)]});}[_0x5ab0c7(0x24e)](_0x30c3cf,_0x42ac01){const _0x23a570=_0x5ab0c7;try{this['_commandService'][_0x23a570(0x16c)](_0x30c3cf['id'],_0x30c3cf[_0x23a570(0x24d)],_0x42ac01);}catch(_0x34309d){this[_0x23a570(0x154)][_0x23a570(0x227)](_0x34309d);}}[_0x5ab0c7(0x125)](_0x15ffc0,_0x30a662){const _0xb1808d=_0x5ab0c7;_0x30a662<this[_0xb1808d(0x127)]||(this['_lastResponseTimestamp']=_0x30a662,this[_0xb1808d(0xff)]=Number[_0xb1808d(0x234)](_0x15ffc0[_0xb1808d(0x1c3)]),this[_0xb1808d(0x206)]=Number[_0xb1808d(0x234)](_0x15ffc0[_0xb1808d(0x27c)]));}async[_0x5ab0c7(0x245)](_0x5ccfbf){const _0xa048d4=_0x5ab0c7;let _0x54aac9=Date['now']();try{var _0x4ded5d,_0x161e67;let _0x39c298=((_0x4ded5d=this[_0xa048d4(0x128)][_0xa048d4(0x254)](_0x4073a2))==null?void 0x0:_0x4ded5d[_0xa048d4(0x19f)])||_0xa048d4(0x159),_0x2db183=(await this[_0xa048d4(0x25f)][_0xa048d4(0x10c)](_0x39c298,{'body':JSON[_0xa048d4(0x271)]({'taskId':_0x5ccfbf})}))[_0xa048d4(0x112)];if(((_0x161e67=_0x2db183['error'])==null?void 0x0:_0x161e67['code'])!==_0x59693a['OK'])return;this[_0xa048d4(0x125)](_0x2db183[_0xa048d4(0x2c5)],_0x54aac9);}catch(_0x460c90){this[_0xa048d4(0x154)]['error'](_0x460c90);}}async[_0x5ab0c7(0x289)](_0x5791c5){const _0x19defe=_0x5ab0c7;let _0xbffc50=Date['now']();try{var _0x4a0847,_0xb7cc38;let _0xb7f617=((_0x4a0847=this[_0x19defe(0x128)]['getConfig'](_0x4073a2))==null?void 0x0:_0x4a0847['getFormulaLimitStatusUrl'])||'/universer-api/license/formula/limit/status',_0x31ffa7=_0x5791c5?_0xb7f617+_0x19defe(0x144)+encodeURIComponent(_0x5791c5):_0xb7f617,_0x452bf5=(await this[_0x19defe(0x25f)][_0x19defe(0x2ad)](_0x31ffa7))['body'];if(((_0xb7cc38=_0x452bf5[_0x19defe(0x227)])==null?void 0x0:_0xb7cc38[_0x19defe(0x26f)])!==_0x59693a['OK'])return;this['_setFormulaLimitStatus'](_0x452bf5[_0x19defe(0x2c5)],_0xbffc50);}catch(_0x16bcf5){this['_logService'][_0x19defe(0x227)](_0x16bcf5);}}async[_0x5ab0c7(0x115)](_0x5c4b50){const _0x53a465=_0x5ab0c7;let _0xd49602=Date[_0x53a465(0x22f)]();try{var _0x2afbf3,_0x1fbdec;let _0x56404e=((_0x2afbf3=this[_0x53a465(0x128)][_0x53a465(0x254)](_0x4073a2))==null?void 0x0:_0x2afbf3[_0x53a465(0x1af)])||_0x53a465(0x2c2),_0x8e6cfe=(await this[_0x53a465(0x25f)][_0x53a465(0x10c)](_0x56404e,{'body':JSON[_0x53a465(0x271)]({'taskId':_0x5c4b50})}))[_0x53a465(0x112)];if(((_0x1fbdec=_0x8e6cfe['error'])==null?void 0x0:_0x1fbdec['code'])!==_0x59693a['OK'])return;this[_0x53a465(0x125)](_0x8e6cfe[_0x53a465(0x2c5)],_0xd49602);}catch(_0x3ec04c){this[_0x53a465(0x154)][_0x53a465(0x227)](_0x3ec04c);}}[_0x5ab0c7(0x1eb)](){const _0x41f036=_0x5ab0c7;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x41f036(0xff)]-this[_0x41f036(0x206)]>0x0;}[_0x5ab0c7(0xed)](){const _0x12861b=_0x5ab0c7;this[_0x12861b(0x2c1)]&&(clearTimeout(this[_0x12861b(0x2c1)]),this[_0x12861b(0x2c1)]=null);}['_showGuardMessage'](){const _0x49148d=_0x5ab0c7;this[_0x49148d(0x229)][_0x49148d(0x19c)]({'content':this[_0x49148d(0x1a7)]['t'](_0x49148d(0x116)),'type':_0x440a35['Loading']});}[_0x5ab0c7(0xe7)](_0x27d3b5){const _0xf1e39e=_0x5ab0c7;for(let _0x3600a2 of _0x27d3b5){let {unitId:_0x4f8ef0,sheetId:_0x25dd6f,range:_0x4a6c21}=_0x3600a2,_0x1a7d7a=this[_0xf1e39e(0x188)][_0xf1e39e(0x111)](_0x4f8ef0);if(!_0x1a7d7a)continue;let _0x46b81f=_0x1a7d7a[_0xf1e39e(0x1ce)](_0x25dd6f);if(!_0x46b81f)continue;let _0xa580c8=_0x46b81f[_0xf1e39e(0x291)]();for(let _0x5a9089=_0x4a6c21[_0xf1e39e(0x182)];_0x5a9089<=_0x4a6c21[_0xf1e39e(0x203)];_0x5a9089++)for(let _0x404893=_0x4a6c21[_0xf1e39e(0x1ef)];_0x404893<=_0x4a6c21[_0xf1e39e(0x2bc)];_0x404893++){let _0x4dc5dd=_0xa580c8[_0xf1e39e(0x242)](_0x5a9089,_0x404893);if(_0x4dc5dd&&(_0x45b340(_0x4dc5dd['f'])||_0x28931b(_0x4dc5dd['si'])))return!0x0;}}return!0x1;}};Z=K([G(0x0,_0x385466(_0x109677)),G(0x1,_0x3a0b46),G(0x2,_0x3f0750),G(0x3,_0x385466(_0x2c96c7)),G(0x4,_0x158dbd),G(0x5,_0x52d5a0),G(0x6,_0x385466(_0x10cfad))],Z);let kn=class extends _0x523128{constructor(_0x5ac629,_0x41c1a5,_0x54cecf){const _0x6ebd12=_0x5ab0c7;super(),this[_0x6ebd12(0x128)]=_0x5ac629,this['_localStorageService']=_0x41c1a5,this[_0x6ebd12(0x1a8)]=_0x54cecf,W(this,_0x6ebd12(0x11b),new Map()),W(this,_0x6ebd12(0x2c7),new Map()),W(this,'_disabled',!0x1);}['disableLocalCache'](){const _0x5ebe0d=_0x5ab0c7;this[_0x5ebe0d(0x1cd)]=!0x0;}[_0x5ab0c7(0x26c)](){const _0x57a82c=_0x5ab0c7;this[_0x57a82c(0x1cd)]=!0x1;}get[_0x5ab0c7(0x2af)](){const _0x239c81=_0x5ab0c7;return this[_0x239c81(0x2c7)];}[_0x5ab0c7(0x1dc)](){const _0x4b600c=_0x5ab0c7;this[_0x4b600c(0x286)]()['then'](()=>super[_0x4b600c(0x1dc)]());}async[_0x5ab0c7(0x176)](_0x425a5b){const _0x46589a=_0x5ab0c7;return this[_0x46589a(0x1cd)]?null:this['_localStorageService'][_0x46589a(0x1e4)](_0x4aee08(_0x425a5b));}async['saveOfflineData'](_0x423667,_0x4ca111){const _0x252df8=_0x5ab0c7;return!!this[_0x252df8(0x1de)][_0x252df8(0x130)](_0x423667,_0x4ca111);}[_0x5ab0c7(0xfe)](_0x1af60e,_0x2bc891,_0x307116,_0x4101a0){const _0x57d7ef=_0x5ab0c7;let _0x54f77c=this[_0x57d7ef(0x1a8)][_0x57d7ef(0x22e)](_0x1af60e);this[_0x57d7ef(0x11b)][_0x57d7ef(0x15a)](_0x1af60e,{'unitID':_0x1af60e,'type':_0x2bc891,'awaitingChangeset':_0x307116,'mutations':_0x4101a0,'rev':_0x54f77c}),this[_0x57d7ef(0x2c7)][_0x57d7ef(0x267)](_0x1af60e)||this['_scheduleSaving'](_0x1af60e);}[_0x5ab0c7(0x123)](_0x5a2a68){const _0x1bd96a=_0x5ab0c7;let _0x1ece40=this[_0x1bd96a(0x17a)]();_0x1ece40===0x0?this[_0x1bd96a(0x294)](_0x5a2a68):this['_saveTaskMap'][_0x1bd96a(0x15a)](_0x5a2a68,setTimeout(()=>this[_0x1bd96a(0x294)](_0x5a2a68),_0x1ece40));}[_0x5ab0c7(0x17a)](){const _0x58550c=_0x5ab0c7;var _0xf630ed;return(_0xf630ed=this[_0x58550c(0x128)]['getConfig'](_0x5df1d4))==null?_0x8adfa0:_0xf630ed;}[_0x5ab0c7(0x294)](_0x50cd86){const _0x42b765=_0x5ab0c7;let _0x408782=this[_0x42b765(0x2c7)][_0x42b765(0x2ad)](_0x50cd86);return _0x408782!==void 0x0&&window['clearTimeout'](_0x408782),this['_localStorageService'][_0x42b765(0x130)](_0x4aee08(_0x50cd86),this[_0x42b765(0x11b)][_0x42b765(0x2ad)](_0x50cd86))[_0x42b765(0x1f1)](()=>this['_saveTaskMap'][_0x42b765(0x23d)](_0x50cd86));}async[_0x5ab0c7(0x286)](){const _0xc4a97=_0x5ab0c7;let _0x55ec1d=[];this[_0xc4a97(0x2c7)][_0xc4a97(0x16f)]((_0x1e44d2,_0x2fb8b3)=>{const _0x2a3b7a=_0xc4a97;window[_0x2a3b7a(0x10e)](_0x1e44d2),_0x55ec1d[_0x2a3b7a(0x1ca)](this[_0x2a3b7a(0x294)](_0x2fb8b3)[_0x2a3b7a(0x1f1)](()=>{const _0x32f0c5=_0x2a3b7a;this[_0x32f0c5(0x2c7)][_0x32f0c5(0x23d)](_0x2fb8b3);}));}),await Promise[_0xc4a97(0x21d)](_0x55ec1d);}};kn=K([G(0x0,_0x3f0750),G(0x1,_0x14af55),G(0x2,_0x385466(_0x412652))],kn);var An=class extends _0x3e00b1{constructor(){const _0x4fa35d=_0x5ab0c7;super(),W(this,'urlChange$',void 0x0),this[_0x4fa35d(0x1aa)]=_0x34458e(window,'popstate')['pipe'](_0x1507cd(this[_0x4fa35d(0x139)]),_0x5d8cd1(0x1),_0x5274ec(void 0x0));}['setParam'](_0x50dbf7,_0xcfd2a0,_0x5cdf81=!0x1){const _0x44b683=_0x5ab0c7;let _0x4ae0e7=new URL(window['location'][_0x44b683(0x126)]);_0x4ae0e7[_0x44b683(0xea)][_0x44b683(0x15a)](_0x50dbf7,_0xcfd2a0),_0x5cdf81?window['history'][_0x44b683(0x2b7)]('','',_0x4ae0e7['toString']()):window[_0x44b683(0x16d)][_0x44b683(0x25c)]('','',_0x4ae0e7[_0x44b683(0x1e7)]());}['removeParam'](_0x129118,_0x190c48=!0x1){const _0x2a18b4=_0x5ab0c7;let _0x3d3e65=new URL(window['location'][_0x2a18b4(0x126)]);_0x3d3e65[_0x2a18b4(0xea)]['delete'](_0x129118),_0x190c48?window[_0x2a18b4(0x16d)][_0x2a18b4(0x2b7)]('','',_0x3d3e65[_0x2a18b4(0x1e7)]()):window[_0x2a18b4(0x16d)]['pushState']('','',_0x3d3e65[_0x2a18b4(0x1e7)]());}['getParam'](_0x11e8e6){const _0x26377d=_0x5ab0c7;var _0x173b68;return(_0x173b68=new URL(window[_0x26377d(0x1b1)][_0x26377d(0x126)])[_0x26377d(0xea)][_0x26377d(0x2ad)](_0x11e8e6))==null?void 0x0:_0x173b68;}};let Q=class extends _0x2e878b{constructor(_0xa798e4=Sn,_0x5aead6,_0x2f0be9,_0x30d847){const _0x3a98f1=_0x5ab0c7;super(),this[_0x3a98f1(0x2c8)]=_0xa798e4,this[_0x3a98f1(0x1d8)]=_0x5aead6,this[_0x3a98f1(0x2be)]=_0x2f0be9,this['_configService']=_0x30d847;let {..._0x5cc573}=_0x579330({},Sn,this[_0x3a98f1(0x2c8)]);this[_0x3a98f1(0x128)][_0x3a98f1(0x28b)](xn,_0x5cc573);}[_0x5ab0c7(0x260)](){const _0x14513e=_0x5ab0c7;this[_0x14513e(0x2b3)](),this['_initDependencies']();}[_0x5ab0c7(0x237)](){const _0x2658cc=_0x5ab0c7;this[_0x2658cc(0x232)]();}[_0x5ab0c7(0x2b3)](){const _0x295b01=_0x5ab0c7;var _0x11e95a;let _0x3880df=[[rn],[Z],[wn],[X],[Cn],[cn],[Qt,{'useClass':An}],[_0x43a017,{'useClass':_0x153cb5}],[_0x2e3f80,{'useClass':kn}],[q],[Tn],[bn],[Y],[tn],[J]];this[_0x295b01(0x2c8)][_0x295b01(0x2b1)]&&_0x3880df['push']([En]),_0x2c45fc(this[_0x295b01(0x2be)],_0x197ea8(_0x3880df,(_0x11e95a=this[_0x295b01(0x2c8)])==null?void 0x0:_0x11e95a[_0x295b01(0x263)]));}[_0x5ab0c7(0x232)](){const _0x32dbc5=_0x5ab0c7;this['disposeWithMe'](this[_0x32dbc5(0x1d8)]['registerRenderModule'](_0x3597f4[_0x32dbc5(0x1b8)],[gn])),this['disposeWithMe'](this[_0x32dbc5(0x1d8)]['registerRenderModule'](_0x3597f4[_0x32dbc5(0x29f)],[vn]));}[_0x5ab0c7(0x29e)](){const _0x508389=_0x5ab0c7;_0x139dab(this['_injector'],[[Y],[q],[Tn],[bn],[J],[Z]]),this[_0x508389(0x2c8)][_0x508389(0x2b1)]&&_0x139dab(this[_0x508389(0x2be)],[[En]]);}};W(Q,_0x5ab0c7(0xe1),_0x5ab0c7(0x153)),W(Q,_0x5ab0c7(0x102),$t),W(Q,'version',en),Q=K([_0x13e920(_0x3c9aa5),G(0x1,_0x468c4a),G(0x2,_0x385466(_0x12dd3a)),G(0x3,_0x3f0750)],Q);let jn=class extends _0x5991bb{constructor(_0x3d06bd,_0x4e8620,_0x3daea9,_0x2591e8,_0x37c06a){super(_0x3d06bd,_0x4e8620,_0x3daea9,_0x2591e8,_0x37c06a);}async['createSocket'](_0x3b1b0b){const _0x5ec50b=_0x5ab0c7;let _0x381e69=await this[_0x5ec50b(0x1c2)](),_0x33fcb8=this[_0x5ec50b(0xf7)](_0x3b1b0b,_0x381e69);return this[_0x5ec50b(0x1f9)](_0x33fcb8);}[_0x5ab0c7(0xf7)](_0x22fc15,_0x5d64d1){const _0x29f82c=_0x5ab0c7;let _0x147e88=typeof window>'u'?new URL(_0x22fc15):new URL(_0x22fc15,window[_0x29f82c(0x1b1)][_0x29f82c(0xcb)]);_0x147e88[_0x29f82c(0xea)]['set'](_0x29f82c(0x23c),_0x5d64d1);let _0x384aff=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x29f82c(0x1b1)][_0x29f82c(0xeb)]);return _0x384aff[_0x29f82c(0x2ad)]('runId')&&_0x147e88[_0x29f82c(0xea)][_0x29f82c(0x15a)](_0x29f82c(0x239),_0x384aff[_0x29f82c(0x2ad)](_0x29f82c(0x239))),_0x147e88[_0x29f82c(0x1e7)]();}async[_0x5ab0c7(0x1c2)](){const _0x3abe1f=_0x5ab0c7;var _0x15ae45,_0x2507f6,_0x3f5d46;let _0x507925=this['_configService'][_0x3abe1f(0x254)](_0x4073a2),_0x4460b0=(_0x15ae45=_0x507925==null?void 0x0:_0x507925[_0x3abe1f(0xfa)])==null?_0x570daa:_0x15ae45;return(_0x2507f6=(_0x3f5d46=(await this[_0x3abe1f(0x25f)][_0x3abe1f(0x2ad)](_0x4460b0,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x3f5d46[_0x3abe1f(0x24b)])==null?'':_0x2507f6;}};jn=K([G(0x0,_0x385466(_0x12dd3a)),G(0x1,_0x385466(_0x2c96c7)),G(0x2,_0x3f0750),G(0x3,_0x52d5a0),G(0x4,_0x26b1be)],jn);let Mn=class extends _0x523128{constructor(_0x521c7a,_0x10f355,_0x3ebaac){const _0x103fc0=_0x5ab0c7;super(),this[_0x103fc0(0x11e)]=_0x521c7a,this[_0x103fc0(0x25f)]=_0x10f355,this['_configService']=_0x3ebaac;}async['runOnServer'](_0x3f7e17,_0x38fb5c,_0x5c7aab,..._0x566928){const _0xe2eafc=_0x5ab0c7;var _0x475f58,_0x4faa1e,_0x447780,_0x114043;let _0xb2392d=this[_0xe2eafc(0x11e)][_0xe2eafc(0x180)]();if(!_0xb2392d)throw Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');let _0x24eacd=((_0x475f58=this['_configService'][_0xe2eafc(0x254)](_0x44f5c3))==null?_0x4af44c:_0x475f58)+'/'+_0x3f7e17+_0xe2eafc(0x1ae)+_0x38fb5c,_0x36590e={'scriptId':_0x3f7e17,'runId':(_0x4faa1e=new URL(window[_0xe2eafc(0x1b1)][_0xe2eafc(0x126)])['searchParams'][_0xe2eafc(0x2ad)]('runId'))==null?'':_0x4faa1e,'function':_0x38fb5c,'unitId':_0xb2392d[_0xe2eafc(0x1b2)](),'argsOfFunction':JSON[_0xe2eafc(0x271)](_0x566928),'invokeId':(_0x447780=_0x5c7aab['invokeId'])==null?'':_0x447780,'executionId':(_0x114043=_0x5c7aab['executionId'])==null?'':_0x114043};try{let _0x32245b=await this[_0xe2eafc(0x25f)]['post'](_0x24eacd,{'body':_0x36590e});return _0x32245b[_0xe2eafc(0x112)][_0xe2eafc(0x227)]&&_0x32245b[_0xe2eafc(0x112)][_0xe2eafc(0x227)][_0xe2eafc(0x26f)]!==_0x59693a['OK']?_0xe2eafc(0xdf):_0x32245b['body'][_0xe2eafc(0x1d9)];}catch{return _0xe2eafc(0xdf);}}};Mn=K([G(0x0,_0x158dbd),G(0x1,_0x385466(_0x2c96c7)),G(0x2,_0x3f0750)],Mn);var $=function(_0x305cc6){const _0x3cca25=_0x5ab0c7;return _0x305cc6[_0x305cc6[_0x3cca25(0x1ee)]=0x0]='JOIN',_0x305cc6[_0x305cc6[_0x3cca25(0x22d)]=0x1]='LEAVE',_0x305cc6[_0x305cc6[_0x3cca25(0x1e2)]=0x2]=_0x3cca25(0x1e2),_0x305cc6;}($||{});const Nn=0x7530,Pn='ACTIVE_UNIT_EVENT_CHANNEL';var Fn=class extends _0x523128{constructor(){const _0x1b8505=_0x5ab0c7;super(),W(this,'_id',_0x4fc970()),W(this,_0x1b8505(0x101),new Set()),W(this,'_unitOnClients',new Map()),W(this,_0x1b8505(0x221),null),W(this,'_clearOtherTimers',new Map()),W(this,'_unitStatus',new Map()),this['_init']();}[_0x5ab0c7(0x1dc)](){const _0x37a5c5=_0x5ab0c7;super[_0x37a5c5(0x1dc)](),this[_0x37a5c5(0x2ab)][_0x37a5c5(0x16f)]((_0x58599b,_0x317b5a)=>this[_0x37a5c5(0x29a)](_0x317b5a)),this[_0x37a5c5(0x221)]&&window[_0x37a5c5(0x20d)](this['_heartbeatTimer']);}[_0x5ab0c7(0x140)](_0x9c90b7){const _0x10de5c=_0x5ab0c7;return this[_0x10de5c(0x25d)](_0x9c90b7)[_0x10de5c(0x2a8)](_0x11786c());}[_0x5ab0c7(0x2bb)](_0x3a659b){const _0x361960=_0x5ab0c7;this['_selfUnitIDs'][_0x361960(0x178)]===0x0&&this[_0x361960(0xc8)](),this[_0x361960(0x101)]['add'](_0x3a659b),this[_0x361960(0x202)]({'type':$[_0x361960(0x1ee)],'memberID':this[_0x361960(0x248)],'unitIDs':[_0x3a659b],'isForwarded':!0x1});}['disposeUnit'](_0x31bb79){const _0x519537=_0x5ab0c7;this[_0x519537(0x101)][_0x519537(0x23d)](_0x31bb79),this[_0x519537(0x101)][_0x519537(0x178)]===0x0&&this[_0x519537(0x221)]&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x3d9885=_0x5ab0c7;this[_0x3d9885(0x258)](_0x235225(_0x34458e(window,_0x3d9885(0x170))[_0x3d9885(0x1c4)](_0x508db8=>{const _0x3bcde2=_0x3d9885;if(_0x508db8[_0x3bcde2(0x1ed)]!==Pn||!_0x508db8[_0x3bcde2(0x216)])return;let _0x100114=JSON[_0x3bcde2(0x108)](_0x508db8[_0x3bcde2(0x216)]);this[_0x3bcde2(0x1a6)](_0x100114);}))),window[_0x3d9885(0x1e6)](_0x3d9885(0x1f7),()=>this[_0x3d9885(0x202)]({'type':$[_0x3d9885(0x22d)],'memberID':this[_0x3d9885(0x248)],'unitIDs':Array['from'](this[_0x3d9885(0x101)])}));}[_0x5ab0c7(0x1a6)](_0xa8e538){const _0x32f354=_0x5ab0c7;switch(_0xa8e538[_0x32f354(0xde)]){case $[_0x32f354(0x1ee)]:this[_0x32f354(0x179)](_0xa8e538);break;case $[_0x32f354(0x22d)]:this['_handleLeaveEvent'](_0xa8e538);break;case $['HEARTBEAT']:this['_handleHeartbeatEvent'](_0xa8e538);break;}}['_handleJoinEvent'](_0x271682){const _0x572d56=_0x5ab0c7;let {unitIDs:_0x58ce61,memberID:_0x581c78,isForwarded:_0x340405}=_0x271682;_0x58ce61['forEach'](_0x1d4bdc=>{const _0x798b34=_0x1554;if(!_0x340405&&this['_unitOnClients'][_0x798b34(0x267)](_0x1d4bdc)&&this[_0x798b34(0x25d)](_0x1d4bdc)[_0x798b34(0x213)](_0x493098[_0x798b34(0x120)]),!this[_0x798b34(0x194)][_0x798b34(0x267)](_0x1d4bdc)||!this[_0x798b34(0x194)][_0x798b34(0x2ad)](_0x1d4bdc)[_0x798b34(0x267)](_0x581c78)){let _0x769a03=this[_0x798b34(0x194)][_0x798b34(0x2ad)](_0x1d4bdc)||new Set();_0x769a03[_0x798b34(0xef)](_0x581c78),this[_0x798b34(0x194)][_0x798b34(0x15a)](_0x1d4bdc,_0x769a03),this[_0x798b34(0xfd)](_0x581c78);}}),_0x340405||this[_0x572d56(0x202)]({'type':$[_0x572d56(0x1ee)],'memberID':this[_0x572d56(0x248)],'unitIDs':[...this[_0x572d56(0x101)]],'isForwarded':!0x0});}[_0x5ab0c7(0xfd)](_0x42e530){const _0x203508=_0x5ab0c7;this[_0x203508(0x29a)](_0x42e530);let _0x315b0f=window['setTimeout'](()=>{const _0x3226f0=_0x203508;this[_0x3226f0(0x194)]['forEach'](_0x3b65b4=>{const _0x2147ed=_0x3226f0;_0x3b65b4[_0x2147ed(0x23d)](_0x42e530);});},Nn*0x2);this[_0x203508(0x2ab)]['set'](_0x42e530,_0x315b0f);}['_removeClearOtherTimer'](_0x122485){const _0x1f519e=_0x5ab0c7;if(this['_clearOtherTimers'][_0x1f519e(0x267)](_0x122485)){let _0x58a8c6=this[_0x1f519e(0x2ab)][_0x1f519e(0x2ad)](_0x122485);_0x58a8c6&&window[_0x1f519e(0x10e)](_0x58a8c6),this[_0x1f519e(0x2ab)][_0x1f519e(0x15a)](_0x122485,null);}}[_0x5ab0c7(0x25a)](_0x30d7de){const _0x10b16b=_0x5ab0c7;let {memberID:_0x162f2f,unitIDs:_0x58df4b}=_0x30d7de;_0x58df4b['forEach'](_0x56b00c=>{const _0x115965=_0x1554;var _0x2d5a45;let _0x1728ba=this[_0x115965(0x194)][_0x115965(0x2ad)](_0x56b00c);_0x1728ba&&(_0x1728ba[_0x115965(0x23d)](_0x162f2f),(_0x2d5a45=this[_0x115965(0x25d)](_0x56b00c))==null||_0x2d5a45['next'](_0x1728ba[_0x115965(0x178)]===0x0?_0x493098[_0x115965(0x183)]:_0x493098[_0x115965(0x120)]));}),this[_0x10b16b(0x29a)](_0x162f2f);}[_0x5ab0c7(0xdc)](_0x58d3f5){const _0x5d5326=_0x5ab0c7;this[_0x5d5326(0xfd)](_0x58d3f5[_0x5d5326(0xcf)]);}[_0x5ab0c7(0x202)](_0x523d36){const _0x44775f=_0x5ab0c7;localStorage[_0x44775f(0x130)](Pn,JSON[_0x44775f(0x271)](_0x523d36));}[_0x5ab0c7(0xc8)](){const _0x2bd500=_0x5ab0c7;this[_0x2bd500(0x221)]=window['setInterval'](()=>{const _0x12c682=_0x2bd500;this[_0x12c682(0x202)]({'type':$['HEARTBEAT'],'memberID':this[_0x12c682(0x248)]});},Nn);}[_0x5ab0c7(0x25d)](_0x70e2e6){const _0x13cac1=_0x5ab0c7;return this['_unitStatus'][_0x13cac1(0x267)](_0x70e2e6)||this[_0x13cac1(0x17e)][_0x13cac1(0x15a)](_0x70e2e6,new _0x4da081(_0x493098[_0x13cac1(0x183)])),this[_0x13cac1(0x17e)]['get'](_0x70e2e6);}};export{jn as BrowserCollaborationSocketService,J as CollaborationDataLoaderController,q as DesktopCollaborationStatusDisplayController,Qt as IURLService,Mn as RemoteUniscriptService,_n as SheetCollabCursorShape,Q as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,An as WebURLService};
1
+ const _0x22a835=_0x3898;(function(_0x47d336,_0x7ce001){const _0x5693b2=_0x3898,_0xc47b8c=_0x47d336();while(!![]){try{const _0x44f7ee=parseInt(_0x5693b2(0x313))/0x1+-parseInt(_0x5693b2(0x1d6))/0x2+-parseInt(_0x5693b2(0x31d))/0x3*(parseInt(_0x5693b2(0x2e1))/0x4)+parseInt(_0x5693b2(0x1a4))/0x5*(-parseInt(_0x5693b2(0x14c))/0x6)+parseInt(_0x5693b2(0x305))/0x7+-parseInt(_0x5693b2(0x336))/0x8*(parseInt(_0x5693b2(0x1ae))/0x9)+parseInt(_0x5693b2(0x324))/0xa;if(_0x44f7ee===_0x7ce001)break;else _0xc47b8c['push'](_0xc47b8c['shift']());}catch(_0x2bb799){_0xc47b8c['push'](_0xc47b8c['shift']());}}}(_0x7ab2,0x96f1a));import{COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x2d9981,CollaborationController as _0x29256f,CollaborationSessionService as _0x3c17ed,CollaborationSocketService as _0x4c8956,CollaborationStatus as _0x2a8726,CollaborationUIEventId as _0x41bd6a,CollaborationUIEventService as _0x1c4a1c,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x18d7a9,DEFAULT_WS_SESSION_TICKET_URL as _0x24f5b0,DataLoaderService as _0x4c830e,DocCollaborationEntity as _0x5eaf27,ILocalCacheService as _0x9b710f,LOCAL_CACHE_INTERVAL as _0x1a56b1,LOCAL_CACHE_INTERVAL_KEY as _0x419c95,MemberService as _0x234994,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x77be54,SessionStatus as _0xd51b6f,UnitStatus as _0x245373,UniverCollaborationClientPlugin as _0x2bdc44,getLocalCacheKey as _0x235cf9}from'@univerjs-pro/collaboration-client';import{COLORS as _0x3918d4,CanceledError as _0x2c780a,ColorKit as _0x2ca839,CommandType as _0x5286b3,DOC_RANGE_TYPE as _0x966944,DependentOn as _0x4eed79,Disposable as _0x1c837b,DisposableCollection as _0x28d11e,ICommandService as _0x22e463,IConfigService as _0xdb0050,ILocalStorageService as _0x44ec5e,ILogService as _0x1cd8f8,IUniverInstanceService as _0x24d1f0,Inject as _0x59973f,Injector as _0x597616,LocaleService as _0x589381,Optional as _0x14fa31,Plugin as _0x2c34fa,Rectangle as _0x13999c,RxDisposable as _0x1a4d48,ThemeService as _0x1f1965,Tools as _0xc2e31b,UniverInstanceType as _0x148bd6,Workbook as _0x3ac2bf,createIdentifier as _0x65f004,debounce as _0x2cb628,fromEventSubject as _0x13d72e,generateRandomId as _0x8c3b74,isFormulaId as _0x36458e,isFormulaString as _0x479fbb,merge as _0x537075,mergeOverrideWithDependencies as _0x4b4a9b,registerDependencies as _0x2df223,toDisposable as _0x42a06b,touchDependencies as _0x48b00b}from'@univerjs/core';import{BuiltInUIPart as _0x359bdb,IBeforeCloseService as _0x33ee24,IMessageService as _0x1b516d,INotificationService as _0x32b7c1,IUIPartsService as _0x2dcc65,connectInjector as _0x95a887,useDependency as _0xb649aa,useObservable as _0x179240}from'@univerjs/ui';import{BehaviorSubject as _0x57803d,Subject as _0x1d3787,combineLatest as _0x5c8424,debounceTime as _0xcfa875,distinctUntilChanged as _0x2f1f45,filter as _0x1f07b8,fromEvent as _0xf87eee,mapTo as _0x3cc54b,merge as _0x77c41,of as _0x4ff7c1,shareReplay as _0x108f1c,switchMap as _0x9b582d,takeUntil as _0x4eeae1}from'rxjs';import{MessageType as _0x20dc80,Tooltip as _0x31d83e,clsx as _0x41e16d}from'@univerjs/design';import{OffLineIcon as _0x3d13e4,OnLineIcon as _0x16864f}from'@univerjs/icons';import{useCallback as _0x16a12a}from'react';import{jsx as _0x2f1b8e,jsxs as _0x4540ee}from'react/jsx-runtime';import{IRemoteInstanceService as _0x239137}from'@univerjs/rpc';import{EffectRefRangId as _0x41fcf2,RefRangeService as _0x347bbe,SetSelectionsOperation as _0x5c3332,SetWorksheetActivateCommand as _0xdb49cf,SheetsSelectionsService as _0x280499,handleDeleteRangeMoveLeft as _0x337566,handleDeleteRangeMoveUp as _0x5acbea,handleIRemoveCol as _0x2e54eb,handleIRemoveRow as _0x2cc89a,handleInsertCol as _0x366e17,handleInsertRangeMoveDown as _0x2554c9,handleInsertRangeMoveRight as _0x54f1b8,handleInsertRow as _0x4dcf16,handleMoveRange as _0x360003,runRefRangeMutations as _0x109378}from'@univerjs/sheets';import{IRenderManagerService as _0x226a05,Rect as _0x33f8ec,RegularPolygon as _0x1d60a7,SHEET_VIEWPORT_KEY as _0x599f0e,Shape as _0x3dee42,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x560b31,Vector2 as _0x23e961,getColor as _0x1869dd}from'@univerjs/engine-render';import{HTTPService as _0x275cbb,ISocketService as _0x4c5b8c,WebSocketService as _0x2cb44e}from'@univerjs/network';import{DocIMEInputManagerService as _0x49a8d3,DocStateChangeManagerService as _0x12fb62,IDocClipboardService as _0xc5eeae,NodePositionConvertToCursor as _0x3bfbf6,NodePositionConvertToRectRange as _0x5f0630,SetDocZoomRatioOperation as _0x3cb881,TEXT_RANGE_LAYER_INDEX as _0x7347bc}from'@univerjs/docs-ui';import{IImageIoService as _0x11c692}from'@univerjs/drawing';import{CollaborationEvent as _0x516830,ISnapshotServerService as _0x2fde9b,ITransformService as _0x15f1bd,RevisionService as _0xacb3f0,isTransformMutationFailure as _0x325703,isTransformMutationsWithChangesetSuccess as _0x5eb34e}from'@univerjs-pro/collaboration';import{DocSelectionManagerService as _0x295ab9,DocSkeletonManagerService as _0x55c49f,RichTextEditingMutation as _0x54cec4,SetTextSelectionsOperation as _0xa8b71f}from'@univerjs/docs';import{FormulaExecuteStageType as _0x1884d8,FormulaExecutedStateType as _0xcc1090,SetFormulaCalculationNotificationMutation as _0x237812,SetFormulaCalculationStartMutation as _0xf00c33,deserializeRangeWithSheet as _0x47619b,serializeRangeWithSheet as _0x467466}from'@univerjs/engine-formula';import{filter as _0x51defb,map as _0xd5f2b8,switchMap as _0x470c06,takeUntil as _0x17c78c,throttleTime as _0x1291bb}from'rxjs/operators';import{SheetSkeletonManagerService as _0xcd5bf7,getCoordByCell as _0x3b6b04,getSheetObject as _0x2bbac5}from'@univerjs/sheets-ui';import{ErrorCode as _0x37cb64}from'@univerjs/protocol';function qt(_0x42d793){const _0x16c8ab=_0x3898;switch(_0x42d793){case _0x2a8726[_0x16c8ab(0x231)]:return _0x16c8ab(0x2e8);case _0x2a8726[_0x16c8ab(0x2c5)]:return _0x16c8ab(0x1bc);case _0x2a8726['FETCH_MISS']:return _0x16c8ab(0x30c);case _0x2a8726[_0x16c8ab(0x165)]:return'collabStatus.notCollab';case _0x2a8726[_0x16c8ab(0x208)]:case _0x2a8726['AWAITING_WITH_PENDING']:return _0x16c8ab(0x228);case _0x2a8726[_0x16c8ab(0x176)]:case _0x2a8726[_0x16c8ab(0x2ac)]:return _0x16c8ab(0x255);}}function Jt(_0x11b471){const _0x1458eb=_0x3898;let {status$:_0x407179}=_0x11b471,_0x3071c2=_0x179240(_0x407179,_0x2a8726[_0x1458eb(0x165)]),_0x56af8a=_0xb649aa(_0x589381),_0x1c14bc=_0xb649aa(_0x3c17ed),_0x5681ad=_0x3071c2!==_0x2a8726['OFFLINE'],_0x515598=_0x56af8a['t'](qt(_0x3071c2)),_0x436e4f=_0x2f1b8e(_0x5681ad?_0x16864f:_0x3d13e4,{}),_0x704dd2=_0x16a12a(()=>{const _0x57598f=_0x1458eb;_0x5681ad||_0x1c14bc[_0x57598f(0x1b0)]();},[_0x5681ad,_0x1c14bc]);function _0x4c53e0(){const _0x34ad5e=_0x1458eb;return _0x4540ee(_0x34ad5e(0x230),{'className':_0x34ad5e(0x2fb),'onClick':_0x704dd2,'children':[_0x2f1b8e(_0x34ad5e(0x230),{'className':_0x41e16d('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5681ad,'univer-text-red-500':!_0x5681ad}),'children':_0x436e4f}),_0x2f1b8e(_0x34ad5e(0x230),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x515598})]});}return _0x5681ad?_0x4c53e0():_0x2f1b8e(_0x31d83e,{'title':_0x56af8a['t'](_0x1458eb(0x2ca)),'children':_0x4c53e0()});}function U(_0x4d5279){'@babel/helpers - typeof';const _0x1aa84a=_0x3898;return U=typeof Symbol==_0x1aa84a(0x319)&&typeof Symbol[_0x1aa84a(0x2f5)]==_0x1aa84a(0x27b)?function(_0x2e9e70){return typeof _0x2e9e70;}:function(_0xd9681b){const _0x4be2f2=_0x1aa84a;return _0xd9681b&&typeof Symbol==_0x4be2f2(0x319)&&_0xd9681b['constructor']===Symbol&&_0xd9681b!==Symbol[_0x4be2f2(0x1f1)]?_0x4be2f2(0x27b):typeof _0xd9681b;},U(_0x4d5279);}function Yt(_0xebdd40,_0x26b12b){const _0x295f63=_0x3898;if(U(_0xebdd40)!=_0x295f63(0x239)||!_0xebdd40)return _0xebdd40;var _0x2a3b3b=_0xebdd40[Symbol[_0x295f63(0x2ee)]];if(_0x2a3b3b!==void 0x0){var _0x500bc5=_0x2a3b3b['call'](_0xebdd40,_0x26b12b||_0x295f63(0x1e8));if(U(_0x500bc5)!=_0x295f63(0x239))return _0x500bc5;throw TypeError(_0x295f63(0x206));}return(_0x26b12b==='string'?String:Number)(_0xebdd40);}function Xt(_0x3fb8a7){const _0x3c14da=_0x3898;var _0x41b1f1=Yt(_0x3fb8a7,'string');return U(_0x41b1f1)==_0x3c14da(0x27b)?_0x41b1f1:_0x41b1f1+'';}function W(_0xa80e63,_0x4f533b,_0x286d8f){const _0x55e040=_0x3898;return(_0x4f533b=Xt(_0x4f533b))in _0xa80e63?Object[_0x55e040(0x1f8)](_0xa80e63,_0x4f533b,{'value':_0x286d8f,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xa80e63[_0x4f533b]=_0x286d8f,_0xa80e63;}function G(_0x937b38,_0x498904){return function(_0x2d872c,_0x553f21){_0x498904(_0x2d872c,_0x553f21,_0x937b38);};}function K(_0x3c3700,_0x5847dd,_0x34009c,_0x130b25){const _0x3dc97e=_0x3898;var _0x1c161b=arguments[_0x3dc97e(0x243)],_0xc440d9=_0x1c161b<0x3?_0x5847dd:_0x130b25===null?_0x130b25=Object[_0x3dc97e(0x247)](_0x5847dd,_0x34009c):_0x130b25,_0x3e75cc;if(typeof Reflect==_0x3dc97e(0x239)&&typeof Reflect[_0x3dc97e(0x26f)]==_0x3dc97e(0x319))_0xc440d9=Reflect[_0x3dc97e(0x26f)](_0x3c3700,_0x5847dd,_0x34009c,_0x130b25);else{for(var _0x1059da=_0x3c3700[_0x3dc97e(0x243)]-0x1;_0x1059da>=0x0;_0x1059da--)(_0x3e75cc=_0x3c3700[_0x1059da])&&(_0xc440d9=(_0x1c161b<0x3?_0x3e75cc(_0xc440d9):_0x1c161b>0x3?_0x3e75cc(_0x5847dd,_0x34009c,_0xc440d9):_0x3e75cc(_0x5847dd,_0x34009c))||_0xc440d9);}return _0x1c161b>0x3&&_0xc440d9&&Object['defineProperty'](_0x5847dd,_0x34009c,_0xc440d9),_0xc440d9;}let q=class extends _0x1c837b{constructor(_0x1fdcfc,_0xf56aa5,_0x1b177f,_0x275a08){const _0x5a6983=_0x3898;super(),this['_univerInstanceService']=_0x1fdcfc,this[_0x5a6983(0x23d)]=_0xf56aa5,this['_collaborationController']=_0x1b177f,this[_0x5a6983(0x1bb)]=_0x275a08,W(this,_0x5a6983(0x1c2),new _0x57803d(_0x2a8726[_0x5a6983(0x165)])),this[_0x5a6983(0x1f6)](),this[_0x5a6983(0x34f)]();}['_initStatusListener'](){const _0x2b63a9=_0x3898;this[_0x2b63a9(0x2bc)](this[_0x2b63a9(0x29e)][_0x2b63a9(0x25c)][_0x2b63a9(0x315)](_0x9b582d(()=>{const _0x14156e=_0x2b63a9;let _0x5688b8=this[_0x14156e(0x29e)][_0x14156e(0x345)]();return _0x5688b8?this['_collaborationController']['getCollabEntity$'](_0x5688b8['getUnitId']()):_0x4ff7c1(null);}),_0x9b582d(_0x167616=>_0x167616?_0x167616[_0x2b63a9(0x292)]:_0x4ff7c1(_0x2a8726[_0x2b63a9(0x165)])))[_0x2b63a9(0x291)](_0x262692=>{const _0x350430=_0x2b63a9;this[_0x350430(0x1c2)]['next'](_0x262692);}));}[_0x22a835(0x1f6)](){const _0x3da49a=_0x22a835;this[_0x3da49a(0x2bc)](this[_0x3da49a(0x1bb)]['registerComponent'](_0x359bdb[_0x3da49a(0x219)],()=>_0x95a887(Zt({'status$':this['_status$'][_0x3da49a(0x18d)]()}),this[_0x3da49a(0x23d)])));}};q=K([G(0x0,_0x24d1f0),G(0x1,_0x59973f(_0x597616)),G(0x2,_0x59973f(_0x29256f)),G(0x3,_0x2dcc65)],q);function Zt(_0x2be306){let {status$:_0xd0ec7c}=_0x2be306;return function(){return _0x2f1b8e(Jt,{'status$':_0xd0ec7c});};}const Qt=_0x65f004('uni.network.url-service');let J=class extends _0x1a4d48{constructor(_0x1c14cd,_0x5ba247,_0x2a7dda,_0xe07e64,_0x112031){const _0x358276=_0x22a835;super(),this['_urlService']=_0x1c14cd,this[_0x358276(0x23c)]=_0x5ba247,this[_0x358276(0x151)]=_0x2a7dda,this[_0x358276(0x25d)]=_0xe07e64,_0x112031?_0x112031==null||_0x112031[_0x358276(0x27d)]()[_0x358276(0x299)](()=>this['_init']()):(this['_logService'][_0x358276(0x15a)](_0x358276(0x25a),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x358276(0x1ed)]());}async['_init'](){const _0x2a33f7=_0x22a835;let _0x32a9f0=this[_0x2a33f7(0x2a4)][_0x2a33f7(0x1d3)](_0x2a33f7(0x19d)),_0x27da23=this[_0x2a33f7(0x2a4)][_0x2a33f7(0x1d3)]('type'),_0x4d44a0=this[_0x2a33f7(0x2a4)][_0x2a33f7(0x1d3)](_0x2a33f7(0x226));if(!_0x32a9f0||!_0x27da23){this['_logService'][_0x2a33f7(0x15a)](_0x2a33f7(0x25a),_0x2a33f7(0x2b3));return;}let _0x199f45=await this['_dataLoaderService'][_0x2a33f7(0x18e)](_0x32a9f0,Number(_0x27da23),_0x4d44a0);_0x199f45&&_0x199f45 instanceof _0x3ac2bf&&this[_0x2a33f7(0x185)](_0x199f45);}async[_0x22a835(0x185)](_0x208072){const _0x440045=_0x22a835;await this[_0x440045(0x168)](_0x208072),_0x208072[_0x440045(0x2ed)][_0x440045(0x315)](_0x4eeae1(this[_0x440045(0x24b)]))[_0x440045(0x291)](_0x2801b3=>{const _0x3a2542=_0x440045;_0x2801b3&&this[_0x3a2542(0x271)](_0x2801b3);}),this[_0x440045(0x2a4)][_0x440045(0x21a)]['pipe'](_0x4eeae1(this['dispose$']))[_0x440045(0x291)](()=>this['_updateSubUnitFromURLParams'](_0x208072));}[_0x22a835(0x271)](_0x1595fc,_0x5f00e=!0x1){const _0x738f58=_0x22a835;let _0x38f4bc=this[_0x738f58(0x2a4)]['getParam'](_0x738f58(0x226));_0x1595fc[_0x738f58(0x227)]()!==_0x38f4bc&&this[_0x738f58(0x2a4)][_0x738f58(0x149)](_0x738f58(0x226),_0x1595fc[_0x738f58(0x227)](),_0x5f00e);}async[_0x22a835(0x168)](_0x1c193){const _0x456810=_0x22a835;var _0x12b55a;let _0x354206=this[_0x456810(0x2a4)][_0x456810(0x1d3)](_0x456810(0x226));if(!_0x354206||!_0x1c193[_0x456810(0x31e)](_0x354206)){let _0x48286f=_0x1c193[_0x456810(0x212)]()[0x0],_0x5b91fd=_0x1c193[_0x456810(0x31e)](_0x48286f);if(!_0x5b91fd)return;this[_0x456810(0x271)](_0x5b91fd,!0x0),await this['_commandService'][_0x456810(0x1ff)](_0xdb49cf['id'],{'unitId':_0x1c193[_0x456810(0x1cc)](),'subUnitId':_0x48286f});return;}((_0x12b55a=_0x1c193[_0x456810(0x2be)]())==null?void 0x0:_0x12b55a['getSheetId']())!==_0x354206&&await this['_commandService'][_0x456810(0x1ff)](_0xdb49cf['id'],{'unitId':_0x1c193[_0x456810(0x1cc)](),'subUnitId':_0x354206});}};J=K([G(0x0,Qt),G(0x1,_0x1cd8f8),G(0x2,_0x22e463),G(0x3,_0x59973f(_0x4c830e)),G(0x4,_0x14fa31(_0x239137))],J);var $t=_0x22a835(0x357),en=_0x22a835(0x179);let tn=class extends _0x1a4d48{constructor(_0x1bef16,_0x27d15f){const _0x56c78f=_0x22a835;super(),this[_0x56c78f(0x214)]=_0x1bef16,this[_0x56c78f(0x330)]=_0x27d15f,this[_0x56c78f(0x1ed)]();}[_0x22a835(0x1ed)](){const _0x41aac3=_0x22a835;let _0x48c068=this;this['disposeWithMe'](this[_0x41aac3(0x214)]['addClipboardHook']({'onBeforePasteImage':async _0x1a369e=>{const _0xc9fb90=_0x41aac3;let _0xd6e5e1=await _0x48c068[_0xc9fb90(0x330)][_0xc9fb90(0x19c)](_0x1a369e);return _0xd6e5e1?{'source':_0xd6e5e1[_0xc9fb90(0x17f)],'imageSourceType':_0xd6e5e1[_0xc9fb90(0x1ba)]}:null;}}));}};function _0x7ab2(){const _0xdef63f=['max','complete','_scheduleClearOtherTimer','disposeUnit','_univerInstanceService','_collabCursorController','cursorInfo$','OTHER_CLIENTS_EDITING','jiqing.500','getOffsetConfig','_urlService','save','_hasFormulaInDirtyRanges','font','bottom','_themeService','parse','Active','PENDING','ONLINE','_drawRectRange','newValue','next','_entityInit$','forEach','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_releaseCalculationLimit','_ensureSubject','range','hovered','_registerRenderDependencies','_monkeyPatchLogService','_drawAnchor','addEventListener','disposeWithMe','rgba','getActiveSheet','_name','_initEvent','fillText','sessionTicket','actions','_draw','CONFLICT','top','_lastResponseTimestamp','_getMergeRange','green.600','collab-client.tooltip.reconnect','transformMutationsWithChangeset','closePath','parseInt','UPDATE_CURSOR','_session','_getLighterColor','application/json','_showGuardMessage','limitInfo','endColumn','_roomMembers$','flatMap','subUnitId','_initUserListener','NO_OTHER_CLIENTS_EDITING','_cursorShapes','addObjects','selections','_lastPointer','origin','_clearPolling','transformMutation','20TrEBcE','lineno','_getScale','unsubscribe','fillRule','ranges','map','collabStatus.offline','getConfig','_createSocketURL','_notificationService','unhandledrejection','activeSheet$','toPrimitive','getMergeData','InsertRangeMoveDownCommandId','dispose','_handleHover','/universer-api/frontend/logs','black','iterator','message','_refreshCollabCursors','_docTransformSelectionsService','START_CALCULATION','_disabled','univer-flex\x20univer-items-center','#FFF','updateOfflineData','_send','_anchorDot','cursorInfo','beforeCommandExecuted','onPointerLeave$','startFormulaLimitUrl','onCommandExecuted','6887454gfqdeq','pluginName','_revisionService','memberID','join','onPointerEnter$','formula.calculation.unable','collabStatus.fetchMiss','VIEW_MAIN','split','getColorFromTheme','saveTaskMap','_removeCollabCursors','post','1174688ZdGUvs','_initResize','pipe','stringify','error','getCellPositionByOffset','function','_scheduleHeartbeat','_startBlinking','Success','535920HpKfHT','getSheetBySheetId','_initEntityListener','stage','runOnServer','Failed','registerRefRange','2726570okqxij','setTimeout','getValue','_textBubble','_docSkeletonManagerService','values','_unitStatus','getCurrentRevOfUnit','data','_selfUnitIDs','_onRefRangeChange','_toggleOffline','_imageIoService','LEAVE','_collaborationSessionService','_initCommandExecutedListener','_memberService','_scene','38384XCpDVV','onTransformChange$','executionId','_collaborationUIEventService','_configService','_maxFormulaLimit','RemoveRowCommandId','_docSyncEditingCollabCursorService','createSocket',',\x200.2)','_clearOtherTimers','/universer-api/license/formula/limit/start','_hideTimer','getTypeOfUnitAdded$','find','getFocusedUnit','getTypeOfUnitDisposed$','_colorAssignService','_startCalculationLimit','location','functionsExecutedState','includes','_instanceService','DeleteRangeMoveUpCommandId','roomMembers','_initStatusListener','showText','arc','history','_setFormulaLimitStatus','_initWindowErrorListener','endRow','RECT','@univerjs-pro/collaboration-client-ui','with','CLOSE_ROOM','_docTransformIMECacheService','_checkAndWaitForCalculationPermission','setParam','all','removeEventListener','1334916jMkUcB','highlightSecond','collab-text-anchor-','_saveTaskMap','_applyCommand','_commandService','_getFormulaLimitStatus','TEXT','getRenderById','_cachedData','type','Unknown\x20user','redoState','MoveRangeCommandId','debug','\x20at\x20','string','setConfig','hide','_transformHistoryAndStateStack','_docTransformStateCacheService','_handleJoinEvent','runId','onMouseMove','syncEditingCollabCursor','NOT_COLLAB','_currentUsage','purple.300','_updateSubUnitFromURLParams','dirtyRanges','getCurrentSkeleton','SOCKET_FAILED_RETRY','[Window\x20Error]:\x20','now','[LogService\x20Error]:\x20','assignAColorForMemberID','roomMembers$','Loading','_highlightSecond','_unitOnClients','addHandlerCallback','_cursors','SYNCED','getActiveRange','highlight','0.20.0','getFormulaLimitStatusUrl','_docSkeleton','_setupBeforeClosingHandler','UNIVER_SHEET','_collaborationController','source','getStateCache','restore','transformByState','deepClone','isArray','_setupSubUnitSync','_updateCollabCursors','filename','HEARTBEAT','_collabSessionService','moveTo','_getAnchorBounding','_docStateChangeManagerService','asObservable','loadUnit','packageName','_messageService','releaseFormulaLimitUrl','version','from','_syncEditingCollabCursorService','_transformUndoRedoStack','engine','fillStyle','Warning','collab-text-range-','entityInit$','event$','saveImage','unit','_transformService','name','formula.calculation.waiting','isEditing','setUndoRedoMutationParamsCache','get','10gjpFcb','sheetID','triggerDblclick','transformIMECache','_assignedColors','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getRangePointData','_online','offsetY','_taskIds','333goFPjt','_labelPosition','reconnect','_refRangeService','pushState','formula.calculation.started','text','setShapeProps','_initCommandInterceptor','undoState','SUBMIT_CHANGESET_TIMEOUT','_startDocCollabCursor','imageSourceType','_uiPartsService','collabStatus.conflict','collaboration-client-ui.config','searchParams','startColumn','_getSheetObject','collabCursorState$','_status$','rgb','_uploadLog','_id','unshift','OTHER_CLIENT_EDITING','_getSaveTimeout','delete','clearInterval','SUCCESS','getUnitId','m1Prime','saveOfflineData','eventID','enableLocalCache','_entities','InsertColCommandId','getParam','_sheetSkeletonManagerService','slice','594606CZgMwB','loadOfflineData','blue.400','totalFormulasToCalculate','_initUnhandledRejectionListener','_backgroundColor','_render','collaboration.offline-data-not-saved','show','startsWith','maxFormulaLimit','rgba(','setInterval','_initDependencies','yellow.400','storage','toString','onPointerMove$','default','_collabCursorState$','params','sheetId','clearTimeout','_init','/run/','textRanges','_beforeCloseService','prototype','color','_handleLeaveEvent','key','_handleHeartbeatEvent','_initStatusComponent','exhaustSavingTask','defineProperty','width','InsertRangeMoveRightCommandId','replaceState','_blinkTimer','unitID','doc.mutation.rich-text-editing','executeCommand','getUniverSheetInstance','_eventUnsubscribe','createInstance','removeParam','result','fill','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_localStorageService','AWAITING','editingUnit','sessionStatus$','_removeClearOtherTimer','_handleEvent','setStateCache','drawWith','UNIVER_DOC','_cursorInfo$','_localeService','getUnhiddenWorksheets','makeDirty','_docClipboardService','m2Prime','invokeId','addObject','getAncestorScale','HEADER_MENU','urlChange$','beginPath','lineTo','_isBlinkVisible','transformStateCache','has','currentTheme$','_doCreateSocket','column','JOIN','measureText','row','subunit','getSheetId','collabStatus.syncing','enableFrontendLog','_startSheetCollabCursor','size','replace','collaboration.closeRoom','[Unhandled\x20Rejection]:\x20','getDocRanges','div','OFFLINE','_color','push','_range','getMemberID','shift','_showText','_heartbeatTimer','object','mutations','selection','_logService','_injector','_hovered','Inactive','some','body','_memberID','length','getVpScrollXYInfoByPosToVp','findNodePositionByCharIndex','setItem','getOwnPropertyDescriptor','getUndoRedoMutationParamsCache','/universer-api/license/formula/limit/status','requireSession','dispose$','_updateLocalCursor','isActive','transform','rgba(255,\x20255,\x20255,\x200.01)','labelPosition','_hover','stageInfo','_blinkIntervalTimer','subscribeEvent','collabStatus.synced','init','_colorIndex','/universer-api/license/formula/limit/done','_drawTextRange','[CollaborationDataLoaderController]','_onCursorDelete','focused$','_dataLoaderService','collaboration.single-unit.warning','getCurrentUnitForType','strokeWidth','setAlpha','unload','unitId','href','_anchor','getRelativeToViewportCoord','getUnit','_httpService','permission.content','ACTIVE_UNIT_EVENT_CHANNEL','set','_scheduleSaving','Error','FromArray','decorate','getCellMatrix','_updateURLWithCurrentState','_stopBlinking','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_offsetY','_context','colno','_pollingInterval','_toggleOnline','onRendered','registerRenderModule','symbol','?taskId=','whenReady','resize','...','_checkCalculationAvailable','_highlight','getMember','session.collaboration-timeout','MUTATION','code','_config','_document','getCollabCursors$','getItem','_saveCache','add','stack','_shapes','_cursor','min','getSkeleton','subscribe','status$','_renderManagerService','_transformPreviousActiveRange','toRgbString','getViewport','evenodd','_onCursorUpdate','then'];_0x7ab2=function(){return _0xdef63f;};return _0x7ab2();}tn=K([G(0x0,_0xc5eeae),G(0x1,_0x11c692)],tn);const nn=[_0x22a835(0x167),_0x22a835(0x2a2),_0x22a835(0x2c9),'red.300',_0x22a835(0x1d8),_0x22a835(0x1e4)];var rn=class extends _0x1c837b{constructor(..._0x41ee53){const _0x3a3ff7=_0x22a835;super(..._0x41ee53),W(this,_0x3a3ff7(0x1a8),new Map()),W(this,_0x3a3ff7(0x257),0x0);}[_0x22a835(0x16f)](_0x493d38){const _0x3e492f=_0x22a835;if(this['_assignedColors'][_0x3e492f(0x21f)](_0x493d38))return this[_0x3e492f(0x1a8)]['get'](_0x493d38);let _0x12c7be=nn[this[_0x3e492f(0x257)]];return this[_0x3e492f(0x257)]=(this[_0x3e492f(0x257)]+0x1)%nn[_0x3e492f(0x243)],this[_0x3e492f(0x1a8)][_0x3e492f(0x26b)](_0x493d38,_0x12c7be),_0x12c7be;}},an=function(_0x2a6b59){const _0x451a40=_0x22a835;return _0x2a6b59['Active']='1',_0x2a6b59[_0x451a40(0x23f)]='0',_0x2a6b59;}(an||{});function on(_0xf0cd48){const _0x1907e3=_0x22a835;let _0x520880='';for(let _0x5445f0 of _0xf0cd48){let {startOffset:_0x5606d4,endOffset:_0x294879,isActive:_0x2f5af0,rangeType:_0x164262,segmentId:_0x56936d,segmentPage:_0x223b84}=_0x5445f0;_0x520880[_0x1907e3(0x243)]&&(_0x520880+=','),_0x520880+=_0x5606d4+':'+_0x294879+':'+(_0x2f5af0?an[_0x1907e3(0x2ab)]:an[_0x1907e3(0x23f)])+':'+_0x164262+':'+_0x56936d+':'+_0x223b84;}return _0x520880;}function sn(_0x35a8a5){const _0x45c13b=_0x22a835;let _0x3b65a5=_0x35a8a5[_0x45c13b(0x30e)](','),_0x32ed84=[];for(let _0x2f2c4d of _0x3b65a5){let [_0x9faf4f,_0x3c24f2,_0x38dd40,_0x1bf569,_0x1c2659,_0x42e6e3]=_0x2f2c4d[_0x45c13b(0x30e)](':');_0x32ed84[_0x45c13b(0x233)]({'startOffset':Number(_0x9faf4f),'endOffset':Number(_0x3c24f2),'collapsed':_0x9faf4f===_0x3c24f2,'isActive':_0x38dd40===an[_0x45c13b(0x2ab)],'rangeType':_0x1bf569===_0x966944[_0x45c13b(0x153)]?_0x966944['TEXT']:_0x966944[_0x45c13b(0x356)],'segmentId':typeof _0x1c2659==_0x45c13b(0x15c)?String(_0x1c2659):'','segmentPage':Number(_0x42e6e3==null?-0x1:_0x42e6e3)});}return _0x32ed84[_0x45c13b(0x240)](_0xac66ea=>_0xac66ea[_0x45c13b(0x24d)])||(_0x32ed84[0x0]['isActive']=!0x0),_0x32ed84;}var cn=class extends _0x1a4d48{constructor(..._0x3d1171){const _0x15d83c=_0x22a835;super(..._0x3d1171),W(this,'_collabCursorState$',new _0x57803d(null)),W(this,_0x15d83c(0x1c1),this[_0x15d83c(0x1e9)][_0x15d83c(0x18d)]());}['syncEditingCollabCursor'](_0x4ca9d7){const _0x2c42a6=_0x22a835;let {unitID:_0x587ac7,memberID:_0x5274e5,textRanges:_0x1fac52}=_0x4ca9d7,_0x538f13=on(_0x1fac52);if(_0x538f13==='')return;let _0x2bdab2={'unitID':_0x587ac7,'memberID':_0x5274e5,'selection':_0x538f13};this[_0x2c42a6(0x1e9)][_0x2c42a6(0x2b0)](_0x2bdab2);}};let ln=class extends _0x1a4d48{get[_0x22a835(0x300)](){const _0x5ce0d8=_0x22a835;return this[_0x5ce0d8(0x210)][_0x5ce0d8(0x326)]();}get[_0x22a835(0x34e)](){const _0x4fb269=_0x22a835;return this[_0x4fb269(0x2d5)][_0x4fb269(0x326)]();}constructor(_0x13fd62,_0x44a787,_0x1136e0,_0x43794c,_0x1fe076,_0x419910,_0x5b51aa,_0x52a445,_0x2ab8ad){const _0x201999=_0x22a835;super(),this[_0x201999(0x1fd)]=_0x13fd62,this[_0x201999(0x2cf)]=_0x44a787,this[_0x201999(0x23d)]=_0x1136e0,this[_0x201999(0x347)]=_0x43794c,this[_0x201999(0x334)]=_0x1fe076,this[_0x201999(0x194)]=_0x419910,this[_0x201999(0x19e)]=_0x5b51aa,this['_univerInstanceService']=_0x52a445,this[_0x201999(0x151)]=_0x2ab8ad,W(this,'_online',!0x1),W(this,_0x201999(0x1ed),!0x1),W(this,'_cursorInfo$',new _0x57803d(new Map())),W(this,_0x201999(0x2a0),this[_0x201999(0x210)][_0x201999(0x18d)]()),W(this,_0x201999(0x2d5),new _0x57803d([])),W(this,_0x201999(0x170),this[_0x201999(0x2d5)][_0x201999(0x315)](_0xcfa875(0x12c))),W(this,_0x201999(0x24c),_0x2cb628(_0x109cae=>{const _0x4070d3=_0x201999;let _0x29b7cc={'eventID':_0x516830[_0x4070d3(0x2ce)],'data':{'unitID':this[_0x4070d3(0x1fd)],'memberID':this[_0x4070d3(0x2cf)][_0x4070d3(0x235)](),'selection':on(_0x109cae)}};this[_0x4070d3(0x2cf)]['send'](_0x29b7cc,this[_0x4070d3(0x1fd)]);},0x64));}[_0x22a835(0x2f1)](){const _0x1904b0=_0x22a835;super[_0x1904b0(0x2f1)](),this[_0x1904b0(0x210)][_0x1904b0(0x2b0)](new Map()),this[_0x1904b0(0x210)][_0x1904b0(0x29b)](),this[_0x1904b0(0x2d5)][_0x1904b0(0x2b0)]([]),this[_0x1904b0(0x2d5)][_0x1904b0(0x29b)]();}[_0x22a835(0x256)](){const _0x1855e6=_0x22a835;this[_0x1855e6(0x1ed)]||(this[_0x1855e6(0x1ed)]=!0x0,this[_0x1855e6(0x2cf)][_0x1855e6(0x20a)]['pipe'](_0x4eeae1(this['dispose$']))[_0x1855e6(0x291)](_0x5b6a34=>{const _0x4df7ee=_0x1855e6;_0x5b6a34===_0xd51b6f[_0x4df7ee(0x2ad)]?this[_0x4df7ee(0x278)]():this[_0x4df7ee(0x32f)]();}),this[_0x1855e6(0x2cf)][_0x1855e6(0x19b)][_0x1855e6(0x315)](_0x4eeae1(this[_0x1855e6(0x24b)]))['subscribe'](_0x28e8e9=>{const _0x2becdc=_0x1855e6;let _0x2a4f14=_0x28e8e9[_0x2becdc(0x1cf)];_0x2a4f14===_0x516830[_0x2becdc(0x2ce)]&&this['_onCursorUpdate'](_0x28e8e9),_0x2a4f14===_0x516830['USERS_LEAVE']&&this[_0x2becdc(0x25b)](_0x28e8e9);}),this[_0x1855e6(0x2bc)](this['_commandService'][_0x1855e6(0x304)](_0x371b7b=>{const _0x395153=_0x1855e6;let _0x3c87a4=_0x371b7b[_0x395153(0x1ea)];_0x3c87a4!=null&&this[_0x395153(0x1ab)]&&_0x371b7b['id']===_0xa8b71f['id']&&_0x3c87a4[_0x395153(0x263)]===this[_0x395153(0x1fd)]&&_0x3c87a4[_0x395153(0x1a1)]===!0x1&&_0x3c87a4[_0x395153(0x2e6)][_0x395153(0x243)]>0x0&&this['_updateLocalCursor'](_0x3c87a4[_0x395153(0x2e6)]);})),this[_0x1855e6(0x194)][_0x1855e6(0x1c1)]['pipe'](_0x4eeae1(this[_0x1855e6(0x24b)]))[_0x1855e6(0x291)](_0x160e2d=>{const _0x4623e5=_0x1855e6;if((_0x160e2d==null?void 0x0:_0x160e2d[_0x4623e5(0x1fd)])!==this[_0x4623e5(0x1fd)])return;let _0xc47886={'eventID':_0x516830[_0x4623e5(0x2ce)],'data':_0x160e2d};this['_onCursorUpdate'](_0xc47886);}),this[_0x1855e6(0x2bc)](this[_0x1855e6(0x151)]['onCommandExecuted'](_0x4b73be=>{const _0x1bde11=_0x1855e6;if(_0x4b73be[_0x1bde11(0x1ea)]==null)return;let _0x5e4c7a=_0x4b73be['params'];if(_0x4b73be['id']!==_0x54cec4['id']||_0x5e4c7a['unitId']!==this['unitID'])return;let _0x5cf488={'id':_0x1bde11(0x1fe),'params':_0x5e4c7a},_0x362127=this[_0x1bde11(0x300)];for(let [_0x37a865,_0x37032e]of _0x362127){let _0x3d04f1={'id':_0x1bde11(0x1fe),'params':{'unitId':this[_0x1bde11(0x1fd)],'actions':null,'textRanges':_0x37032e[_0x1bde11(0x2e6)]}},_0xcf7753=this[_0x1bde11(0x19e)][_0x1bde11(0x2e0)](_0x5cf488,_0x3d04f1,!0x1);if(_0x325703(_0xcf7753))throw _0xcf7753[_0x1bde11(0x317)];_0x362127['set'](_0x37a865,{..._0x37032e,'ranges':_0xcf7753['m2Prime'][_0x1bde11(0x1ea)][_0x1bde11(0x1ef)]});}queueMicrotask(()=>{const _0x115ecb=_0x1bde11;this[_0x115ecb(0x210)][_0x115ecb(0x2b0)](_0x362127);});})));}['_onCursorUpdate'](_0x25f379){const _0x4fc929=_0x22a835;var _0x515c53,_0x594258;let {memberID:_0x4e3a09,selection:_0x5a2fb2}=_0x25f379[_0x4fc929(0x32c)],_0x5c26cf=sn(_0x5a2fb2),_0x218b3a=(_0x515c53=(_0x594258=this[_0x4fc929(0x334)][_0x4fc929(0x282)](this[_0x4fc929(0x1fd)],_0x4e3a09))==null?void 0x0:_0x594258[_0x4fc929(0x19f)])==null?'Unknown\x20user':_0x515c53,_0x4cb9c5={'color':this[_0x4fc929(0x347)][_0x4fc929(0x16f)](_0x4e3a09),'name':_0x218b3a,'ranges':_0x5c26cf},_0x361a06=this[_0x4fc929(0x300)];_0x361a06['set'](_0x4e3a09,_0x4cb9c5),this['_cursorInfo$'][_0x4fc929(0x2b0)](_0x361a06);}[_0x22a835(0x25b)](_0x4d7a84){const _0x57bf53=_0x22a835;let {memberID:_0x5333e2}=_0x4d7a84['data'],_0x54163b=this['cursorInfo'];_0x54163b[_0x57bf53(0x1c9)](_0x5333e2),this[_0x57bf53(0x210)]['next'](_0x54163b);}['_toggleOnline'](){const _0x5469bb=_0x22a835;var _0x554585;if(this[_0x5469bb(0x1ab)]=!0x0,((_0x554585=this['_univerInstanceService'][_0x5469bb(0x345)]())==null?void 0x0:_0x554585[_0x5469bb(0x1cc)]())!==this[_0x5469bb(0x1fd)])return;let _0x1183ac=this[_0x5469bb(0x23d)][_0x5469bb(0x1a3)](_0x295ab9)[_0x5469bb(0x22f)]();Array[_0x5469bb(0x184)](_0x1183ac)&&_0x1183ac['length']>0x0&&this['_updateLocalCursor'](_0x1183ac);}['_toggleOffline'](){const _0x3c651e=_0x22a835;this[_0x3c651e(0x1ab)]=!0x1;}};ln=K([G(0x2,_0x59973f(_0x597616)),G(0x3,_0x59973f(rn)),G(0x4,_0x59973f(_0x234994)),G(0x5,_0x59973f(cn)),G(0x6,_0x15f1bd),G(0x7,_0x24d1f0),G(0x8,_0x22e463)],ln);const un=()=>{let _0x23f8f0=[],_0x38392c=!0x1;return _0x4188eb=>{_0x23f8f0['push'](_0x4188eb),_0x38392c||(_0x38392c=!0x0,setTimeout(()=>{const _0x41f5a7=_0x3898;_0x23f8f0[_0x41f5a7(0x2b2)](_0x5391d3=>_0x5391d3()),_0x23f8f0=[],_0x38392c=!0x1;}));};};let dn=class extends _0x1a4d48{get[_0x22a835(0x300)](){const _0x296365=_0x22a835;return this['_cursorInfo$'][_0x296365(0x326)]();}get['roomMembers'](){const _0x3a75b5=_0x22a835;return this[_0x3a75b5(0x2d5)]['getValue']();}constructor(_0x5635b4,_0x7eedd0,_0xeb8158,_0x231a18,_0x2963f9,_0x56b776,_0x3b833e,_0x18782f){const _0x47f2b6=_0x22a835;super(),this['unitID']=_0x5635b4,this[_0x47f2b6(0x2cf)]=_0x7eedd0,this[_0x47f2b6(0x23d)]=_0xeb8158,this[_0x47f2b6(0x347)]=_0x231a18,this['_memberService']=_0x2963f9,this['_univerInstanceService']=_0x56b776,this[_0x47f2b6(0x151)]=_0x3b833e,this[_0x47f2b6(0x1b1)]=_0x18782f,W(this,_0x47f2b6(0x1ab),!0x1),W(this,_0x47f2b6(0x1ed),!0x1),W(this,_0x47f2b6(0x210),new _0x57803d(new Map())),W(this,_0x47f2b6(0x2a0),this[_0x47f2b6(0x210)][_0x47f2b6(0x18d)]()),W(this,'_roomMembers$',new _0x57803d([])),W(this,_0x47f2b6(0x170),this[_0x47f2b6(0x2d5)][_0x47f2b6(0x315)](_0xcfa875(0x12c))),W(this,'_updateLocalCursor',_0x2cb628((_0x37fa29,_0x19af28)=>{const _0x1feb74=_0x47f2b6;let _0x2e77b6={'eventID':_0x516830[_0x1feb74(0x2ce)],'data':{'unitID':this['unitID'],'memberID':this[_0x1feb74(0x2cf)][_0x1feb74(0x235)](),'selection':_0x467466(_0x37fa29,_0x19af28[_0x1feb74(0x2b6)])}};this['_session']['send'](_0x2e77b6,this[_0x1feb74(0x1fd)]);},0x64));}[_0x22a835(0x2f1)](){const _0x1a634e=_0x22a835;super['dispose'](),this[_0x1a634e(0x210)][_0x1a634e(0x2b0)](new Map()),this[_0x1a634e(0x210)][_0x1a634e(0x29b)](),this[_0x1a634e(0x2d5)][_0x1a634e(0x2b0)]([]),this[_0x1a634e(0x2d5)][_0x1a634e(0x29b)]();}[_0x22a835(0x256)](){const _0x801c00=_0x22a835;this[_0x801c00(0x1ed)]||(this[_0x801c00(0x1ed)]=!0x0,this[_0x801c00(0x2cf)]['sessionStatus$'][_0x801c00(0x315)](_0x4eeae1(this['dispose$']))['subscribe'](_0x3dc98b=>{const _0xb423fd=_0x801c00;_0x3dc98b===_0xd51b6f[_0xb423fd(0x2ad)]?this[_0xb423fd(0x278)]():this['_toggleOffline']();}),this[_0x801c00(0x2cf)]['event$'][_0x801c00(0x315)](_0x4eeae1(this[_0x801c00(0x24b)]))['subscribe'](_0x3a2cbc=>{const _0x2fe864=_0x801c00;let _0x420e02=_0x3a2cbc[_0x2fe864(0x1cf)];_0x420e02===_0x516830[_0x2fe864(0x2ce)]&&this[_0x2fe864(0x298)](_0x3a2cbc),_0x420e02===_0x516830['USERS_LEAVE']&&this[_0x2fe864(0x25b)](_0x3a2cbc);}),this['_onRefRangeChange'](),this[_0x801c00(0x2bc)](this[_0x801c00(0x151)][_0x801c00(0x304)](_0x8009b6=>{const _0x30c21d=_0x801c00;if(this['_online']&&_0x8009b6['id']===_0x5c3332['id']&&_0x8009b6[_0x30c21d(0x1ea)][_0x30c21d(0x263)]===this[_0x30c21d(0x1fd)]){let _0x5f0660=_0x8009b6[_0x30c21d(0x1ea)];this[_0x30c21d(0x24c)](_0x5f0660[_0x30c21d(0x2d7)],_0x5f0660[_0x30c21d(0x2dc)][0x0]);}})));}[_0x22a835(0x298)](_0x3cf1e8){const _0xad51eb=_0x22a835;var _0x889f1c,_0xf4847b;let {memberID:_0x399d2a,selection:_0x34130d}=_0x3cf1e8[_0xad51eb(0x32c)],{sheetName:_0xd5d818,range:_0x59d6d5}=_0x47619b(_0x34130d),_0x814ff2={'name':(_0x889f1c=(_0xf4847b=this[_0xad51eb(0x334)]['getMember'](this[_0xad51eb(0x1fd)],_0x399d2a))==null?void 0x0:_0xf4847b['name'])==null?_0xad51eb(0x157):_0x889f1c,'range':this[_0xad51eb(0x2c8)](_0xd5d818,_0x59d6d5),'sheetID':_0xd5d818,'color':this[_0xad51eb(0x347)][_0xad51eb(0x16f)](_0x399d2a),'selection':_0x34130d},_0x30e0a0=this['cursorInfo'];_0x30e0a0['set'](_0x399d2a,_0x814ff2),this[_0xad51eb(0x210)][_0xad51eb(0x2b0)](_0x30e0a0);}[_0x22a835(0x25b)](_0x2351f8){const _0x2eaa24=_0x22a835;let {memberID:_0x25c703}=_0x2351f8[_0x2eaa24(0x32c)],_0x2cf6d8=this[_0x2eaa24(0x300)];_0x2cf6d8[_0x2eaa24(0x1c9)](_0x25c703),this[_0x2eaa24(0x210)][_0x2eaa24(0x2b0)](_0x2cf6d8);}['_getMergeRange'](_0x719b52,_0x33cc2d){const _0x595d43=_0x22a835;var _0x40ff29;let _0xb28958=(_0x40ff29=this['_univerInstanceService'][_0x595d43(0x200)](this[_0x595d43(0x1fd)]))==null||(_0x40ff29=_0x40ff29[_0x595d43(0x31e)](_0x719b52))==null?void 0x0:_0x40ff29[_0x595d43(0x2ef)]();return(_0xb28958==null?void 0x0:_0xb28958[_0x595d43(0x344)](_0x365029=>_0x13999c['contains'](_0x365029,_0x33cc2d)))||_0x33cc2d;}[_0x22a835(0x32e)](){const _0x287eb2=_0x22a835;let _0x351855=new _0x28d11e(),_0x56af0c=un(),_0x31259c=()=>{const _0x11253a=_0x3898;_0x351855[_0x11253a(0x2f1)]();let _0x3dcb20=(_0x5c11ef,_0x24f909,_0x33e89c,_0x11364e)=>{const _0x332599=_0x11253a;let _0xeb18f9=[];switch(_0x5c11ef['id']){case _0x41fcf2['DeleteRangeMoveLeftCommandId']:_0xeb18f9=_0x337566(_0x5c11ef,_0x11364e);break;case _0x41fcf2[_0x332599(0x34d)]:_0xeb18f9=_0x5acbea(_0x5c11ef,_0x11364e);break;case _0x41fcf2[_0x332599(0x1d2)]:_0xeb18f9=_0x366e17(_0x5c11ef,_0x11364e);break;case _0x41fcf2[_0x332599(0x2f0)]:_0xeb18f9=_0x2554c9(_0x5c11ef,_0x11364e);break;case _0x41fcf2[_0x332599(0x1fa)]:_0xeb18f9=_0x54f1b8(_0x5c11ef,_0x11364e);break;case _0x41fcf2['InsertRowCommandId']:_0xeb18f9=_0x4dcf16(_0x5c11ef,_0x11364e);break;case _0x41fcf2[_0x332599(0x159)]:_0xeb18f9=_0x360003(_0x5c11ef,_0x11364e);break;case _0x41fcf2['RemoveColCommandId']:_0xeb18f9=_0x2e54eb(_0x5c11ef,_0x11364e);break;case _0x41fcf2[_0x332599(0x33c)]:_0xeb18f9=_0x2cc89a(_0x5c11ef,_0x11364e);break;}let _0x8e275f=_0x109378(_0xeb18f9,_0x11364e),_0x54608c=this[_0x332599(0x300)][_0x332599(0x1a3)](_0x24f909);if(_0x54608c&&_0x8e275f){let _0x17f528={..._0x54608c,'range':_0x8e275f};this['cursorInfo'][_0x332599(0x26b)](_0x24f909,_0x17f528),_0x56af0c(()=>{const _0x4635a5=_0x332599;let _0x296e89=this['_refRangeService'][_0x4635a5(0x323)](_0x8e275f,_0xdcbc81=>(_0x296e89[_0x4635a5(0x2f1)](),_0x3dcb20(_0xdcbc81,_0x24f909,_0x33e89c,_0x8e275f)));_0x351855[_0x4635a5(0x28b)](_0x296e89);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x11253a(0x2b2)]((_0x3d5425,_0x5a80f6)=>{const _0x154ded=_0x11253a;let {range:_0x253cad,sheetID:_0x44280c}=_0x3d5425,_0x46dc84=this[_0x154ded(0x1b1)][_0x154ded(0x323)](_0x253cad,_0x4becfd=>(_0x46dc84[_0x154ded(0x2f1)](),_0x3dcb20(_0x4becfd,_0x5a80f6,_0x44280c,_0x253cad)));_0x351855[_0x154ded(0x28b)](_0x46dc84);});};this[_0x287eb2(0x2bc)](_0x42a06b(this['_cursorInfo$'][_0x287eb2(0x291)](()=>{_0x31259c();})));}[_0x22a835(0x278)](){const _0xd82f50=_0x22a835;var _0x4dc927,_0xb0ec06;if(this[_0xd82f50(0x1ab)]=!0x0,((_0x4dc927=this['_univerInstanceService'][_0xd82f50(0x345)]())==null?void 0x0:_0x4dc927['getUnitId']())!==this[_0xd82f50(0x1fd)])return;let _0x2eb095=(_0xb0ec06=this[_0xd82f50(0x23d)][_0xd82f50(0x1a3)](_0x280499)['getCurrentSelections']())==null?void 0x0:_0xb0ec06[0x0],_0x34cad5=this[_0xd82f50(0x29e)][_0xd82f50(0x25f)](_0x148bd6[_0xd82f50(0x17d)])['getActiveSheet']();_0x2eb095&&_0x34cad5&&this[_0xd82f50(0x24c)](_0x34cad5[_0xd82f50(0x227)](),_0x2eb095);}[_0x22a835(0x32f)](){const _0x41ca16=_0x22a835;this[_0x41ca16(0x1ab)]=!0x1;}};dn=K([G(0x2,_0x59973f(_0x597616)),G(0x3,_0x59973f(rn)),G(0x4,_0x59973f(_0x234994)),G(0x5,_0x24d1f0),G(0x6,_0x22e463),G(0x7,_0x59973f(_0x347bbe))],dn);let Y=class extends _0x1a4d48{constructor(_0x33fd66,_0x344c4a,_0x256a4b){const _0x25011a=_0x22a835;super(),this['_univerInstanceService']=_0x33fd66,this[_0x25011a(0x23d)]=_0x344c4a,this['_collabSessionService']=_0x256a4b,W(this,_0x25011a(0x1d1),new Map()),W(this,'_entityInit$',new _0x1d3787()),this['_init']();}['dispose'](){const _0x21d4d0=_0x22a835;super[_0x21d4d0(0x2f1)](),this[_0x21d4d0(0x2b1)][_0x21d4d0(0x29b)](),this['_entities'][_0x21d4d0(0x2b2)](_0x120f0f=>_0x120f0f[_0x21d4d0(0x2f1)]());}[_0x22a835(0x288)](_0x1946c2){const _0x73d0eb=_0x22a835;return this['_entities']['has'](_0x1946c2)?this[_0x73d0eb(0x1d1)][_0x73d0eb(0x1a3)](_0x1946c2)['cursorInfo$']:this['_entityInit$']['pipe'](_0x1f07b8(_0x4841d8=>_0x4841d8[_0x73d0eb(0x1fd)]===_0x1946c2),_0x9b582d(_0x22308a=>_0x22308a[_0x73d0eb(0x2a0)]));}[_0x22a835(0x1ed)](){const _0x2bd783=_0x22a835;this[_0x2bd783(0x29e)][_0x2bd783(0x343)](_0x148bd6[_0x2bd783(0x17d)])[_0x2bd783(0x315)](_0x4eeae1(this[_0x2bd783(0x24b)]))[_0x2bd783(0x291)](async _0x1b51e2=>{const _0x104919=_0x2bd783;let _0x38e1ad=_0x1b51e2[_0x104919(0x1cc)](),_0x4cc5b3=await this[_0x104919(0x22a)](_0x38e1ad);this[_0x104919(0x2b1)]['next'](_0x4cc5b3),this[_0x104919(0x1d1)]['set'](_0x38e1ad,_0x4cc5b3);}),this[_0x2bd783(0x29e)][_0x2bd783(0x343)](_0x148bd6['UNIVER_DOC'])['pipe'](_0x4eeae1(this['dispose$']))['pipe'](_0x1f07b8(_0x18db92=>!_0x18db92[_0x2bd783(0x1cc)]()[_0x2bd783(0x1df)]('__')))[_0x2bd783(0x291)](async _0x101a7a=>{const _0x7125a1=_0x2bd783;let _0x3e6671=_0x101a7a[_0x7125a1(0x1cc)](),_0x2d9e8b=await this['_startDocCollabCursor'](_0x3e6671);this[_0x7125a1(0x2b1)][_0x7125a1(0x2b0)](_0x2d9e8b),this[_0x7125a1(0x1d1)][_0x7125a1(0x26b)](_0x3e6671,_0x2d9e8b);}),_0x77c41(this['_univerInstanceService'][_0x2bd783(0x346)](_0x148bd6[_0x2bd783(0x20f)]),this[_0x2bd783(0x29e)][_0x2bd783(0x346)](_0x148bd6[_0x2bd783(0x17d)]))['pipe'](_0x4eeae1(this[_0x2bd783(0x24b)]))[_0x2bd783(0x291)](_0x2dfd59=>{const _0x712b0f=_0x2bd783;let _0x49ce48=_0x2dfd59[_0x712b0f(0x1cc)](),_0x655115=this[_0x712b0f(0x1d1)][_0x712b0f(0x1a3)](_0x49ce48);_0x655115&&(_0x655115[_0x712b0f(0x2f1)](),this[_0x712b0f(0x1d1)][_0x712b0f(0x1c9)](_0x49ce48));});}async['_startSheetCollabCursor'](_0x5f00b7){const _0x4d4adc=_0x22a835;let _0x5cd906=await this[_0x4d4adc(0x189)][_0x4d4adc(0x24a)](_0x5f00b7),_0x2bc470=this[_0x4d4adc(0x23d)][_0x4d4adc(0x202)](dn,_0x5f00b7,_0x5cd906);return _0x2bc470['init'](),_0x2bc470;}async[_0x22a835(0x1b9)](_0x43c3eb){const _0x157a48=_0x22a835;let _0x26cfbc=await this['_collabSessionService']['requireSession'](_0x43c3eb),_0x2a70c3=this['_injector'][_0x157a48(0x202)](ln,_0x43c3eb,_0x26cfbc);return _0x2a70c3[_0x157a48(0x256)](),_0x2a70c3;}};Y=K([G(0x0,_0x24d1f0),G(0x1,_0x59973f(_0x597616)),G(0x2,_0x59973f(_0x3c17ed))],Y);function fn(_0x31004b,_0x5d312b){const _0x15475f=_0x22a835;var _0x5b1d6e,_0x2ac03f,_0x459717;let {radius:_0x2afac4,width:_0xc0615,height:_0x517d55}=_0x5d312b;_0x2afac4=(_0x5b1d6e=_0x2afac4)==null?0x0:_0x5b1d6e,_0xc0615=(_0x2ac03f=_0xc0615)==null?0x1e:_0x2ac03f,_0x517d55=(_0x459717=_0x517d55)==null?0x1e:_0x459717;let _0x54a56d=0x0,_0x426495=0x0,_0x9506b0=0x0;_0x54a56d=_0x426495=_0x9506b0=Math[_0x15475f(0x28f)](_0x2afac4,_0xc0615/0x2,_0x517d55/0x2),_0x31004b[_0x15475f(0x21b)](),_0x31004b[_0x15475f(0x18a)](_0x54a56d,0x0),_0x31004b['lineTo'](_0xc0615-_0x426495,0x0),_0x31004b[_0x15475f(0x351)](_0xc0615-_0x426495,_0x426495,_0x426495,Math['PI']*0x3/0x2,0x0,!0x1),_0x31004b[_0x15475f(0x21c)](_0xc0615,_0x517d55-_0x9506b0),_0x31004b[_0x15475f(0x351)](_0xc0615-_0x9506b0,_0x517d55-_0x9506b0,_0x9506b0,0x0,Math['PI']/0x2,!0x1),_0x31004b[_0x15475f(0x21c)](0x0,_0x517d55),_0x31004b['lineTo'](0x0,_0x54a56d),_0x31004b[_0x15475f(0x351)](_0x54a56d,_0x54a56d,_0x54a56d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x31004b[_0x15475f(0x2cc)](),_0x5d312b[_0x15475f(0x205)]&&(_0x31004b[_0x15475f(0x2a5)](),_0x31004b[_0x15475f(0x197)]=_0x5d312b['fill'],_0x5d312b[_0x15475f(0x2e5)]===_0x15475f(0x297)?_0x31004b[_0x15475f(0x205)]('evenodd'):_0x31004b[_0x15475f(0x205)](),_0x31004b[_0x15475f(0x181)]());}function _0x3898(_0x3d2ec5,_0x3e5a26){_0x3d2ec5=_0x3d2ec5-0x146;const _0x7ab215=_0x7ab2();let _0x389895=_0x7ab215[_0x3d2ec5];return _0x389895;}var pn=class e extends _0x3dee42{constructor(_0x43461a,_0x24a5a0){const _0x40b24d=_0x22a835;super(_0x43461a,_0x24a5a0),W(this,'color',void 0x0),W(this,_0x40b24d(0x1b4),void 0x0),this['color']=_0x24a5a0==null?void 0x0:_0x24a5a0[_0x40b24d(0x1f2)],this['text']=_0x24a5a0==null?void 0x0:_0x24a5a0[_0x40b24d(0x1b4)];}static[_0x22a835(0x20e)](_0x28e5ba,_0x32a719){const _0x1171a4=_0x22a835;let {text:_0x50df0a,color:_0x1cc469}=_0x32a719;_0x28e5ba['save'](),_0x28e5ba[_0x1171a4(0x2a7)]=_0x1171a4(0x1a9);let _0x500e7f=_0x28e5ba[_0x1171a4(0x224)](_0x50df0a)['width'];if(fn(_0x28e5ba,{'height':0x14,'radius':0x4,'width':Math[_0x1171a4(0x28f)](_0x500e7f+0x8,0xc8),'fill':_0x1cc469,'evented':!0x1}),_0x28e5ba['fillStyle']=_0x1171a4(0x2fc),_0x500e7f>0xc0){let _0x6fb6ed='',_0x29194f=0x0;for(let _0x1312a8 of _0x50df0a){let _0x576d82=_0x28e5ba[_0x1171a4(0x224)](_0x1312a8)[_0x1171a4(0x1f9)];if(_0x29194f+_0x576d82<=0xc0-_0x28e5ba[_0x1171a4(0x224)](_0x1171a4(0x27f))['width'])_0x6fb6ed+=_0x1312a8,_0x29194f+=_0x576d82;else{_0x6fb6ed+='...';break;}}_0x28e5ba['fillText'](_0x6fb6ed,0x4,0xf);}else _0x28e5ba[_0x1171a4(0x2c1)](_0x50df0a,0x4,0xf);_0x28e5ba[_0x1171a4(0x181)]();}[_0x22a835(0x2c4)](_0x1ff48d){const _0x2a1221=_0x22a835;e[_0x2a1221(0x20e)](_0x1ff48d,this);}};const mn=_0x22a835(0x14e);var hn=class{constructor(_0x53fe68,_0x84b791,_0xfbae55,_0x4aed9f){const _0x3a685f=_0x22a835;this[_0x3a685f(0x28e)]=_0x53fe68,this[_0x3a685f(0x335)]=_0x84b791,this[_0x3a685f(0x17b)]=_0xfbae55,this[_0x3a685f(0x287)]=_0x4aed9f,W(this,_0x3a685f(0x28d),[]),W(this,_0x3a685f(0x265),null),W(this,_0x3a685f(0x327),null),W(this,'_anchorDot',null),W(this,_0x3a685f(0x342),null),W(this,_0x3a685f(0x201),null),this[_0x3a685f(0x1dc)]();}set[_0x22a835(0x251)](_0x30bf21){const _0x1e6dfe=_0x22a835;_0x30bf21?(this[_0x1e6dfe(0x2ff)]&&this['_anchorDot']['hide'](),this['_textBubble']&&this[_0x1e6dfe(0x327)]['show']()):(this[_0x1e6dfe(0x2ff)]&&this[_0x1e6dfe(0x2ff)]['show'](),this['_textBubble']&&this[_0x1e6dfe(0x327)][_0x1e6dfe(0x15e)]());}['dispose'](){const _0x4a6370=_0x22a835;for(let _0x4382a1 of this[_0x4a6370(0x28d)])_0x4382a1['dispose']();this[_0x4a6370(0x327)]&&this['_textBubble']['dispose'](),this[_0x4a6370(0x2ff)]&&this[_0x4a6370(0x2ff)][_0x4a6370(0x2f1)](),this['_anchor']&&this[_0x4a6370(0x265)][_0x4a6370(0x2f1)](),this[_0x4a6370(0x201)]&&this[_0x4a6370(0x201)]();}[_0x22a835(0x1dc)](){const _0x4e9118=_0x22a835;let {_docSkeleton:_0x17cf25,_document:_0x3c21ae}=this,{color:_0x204238,name:_0x377f57,ranges:_0x1c6db6}=this[_0x4e9118(0x28e)],_0x290208=_0x3c21ae[_0x4e9118(0x2a3)](),{docsLeft:_0x187231,docsTop:_0xe85192}=_0x290208,_0x1226cc=new _0x3bfbf6(_0x290208,_0x17cf25);for(let {startOffset:_0xd6ec02,endOffset:_0x3f165f,rangeType:_0x354758,segmentId:_0x32eca9,segmentPage:_0x4e9da6,collapsed:_0x47056a,isActive:_0x320806}of _0x1c6db6){let _0x3d46dd=_0x17cf25[_0x4e9118(0x245)](_0xd6ec02,!0x0,_0x32eca9,_0x4e9da6),_0x4d9aa0=_0x17cf25[_0x4e9118(0x245)](_0x3f165f,!0x0,_0x32eca9,_0x4e9da6);if(_0x4d9aa0==null&&(_0x4d9aa0=_0x17cf25[_0x4e9118(0x245)](_0x3f165f-0x1,!0x1,_0x32eca9,_0x4e9da6)),_0x320806){let {contentBoxPointGroup:_0xc64935}=_0x1226cc[_0x4e9118(0x1aa)](_0x4d9aa0,_0x4d9aa0);if(_0xc64935[_0x4e9118(0x243)]===0x0)continue;this[_0x4e9118(0x2ba)](_0x204238,_0xc64935,_0x187231,_0xe85192,_0x377f57),this[_0x4e9118(0x201)]=this['_handleHover']();}if(_0x3d46dd&&_0x4d9aa0){if(_0x354758===_0x966944['RECT']){var _0x28f1b7;let {pointGroup:_0x2b4ce0}=(_0x28f1b7=new _0x5f0630(_0x290208,_0x17cf25)['getRangePointData'](_0x3d46dd,_0x4d9aa0))==null?{}:_0x28f1b7;if(_0x2b4ce0==null||_0x2b4ce0[_0x4e9118(0x243)]===0x0)continue;this[_0x4e9118(0x2ae)](_0x204238,_0x2b4ce0,_0x187231,_0xe85192);}else{if(!_0x47056a){let {borderBoxPointGroup:_0x287978}=_0x1226cc[_0x4e9118(0x1aa)](_0x3d46dd,_0x4d9aa0);if(_0x287978[_0x4e9118(0x243)]===0x0)continue;this[_0x4e9118(0x259)](_0x204238,_0x287978,_0x187231,_0xe85192);}}}}}[_0x22a835(0x2ba)](_0x139f72,_0x3cfaeb,_0x529444,_0x4f8ca8,_0x5ab4c0){const _0x1d8f4b=_0x22a835;let {left:_0x2d71e9,top:_0x566a2e,height:_0x506432}=this['_getAnchorBounding'](_0x3cfaeb),_0xfaffe9=1.5/this[_0x1d8f4b(0x2e3)](),_0x1609d6=new _0x33f8ec(mn+_0x8c3b74(0x6),{'left':_0x2d71e9+_0x529444-_0xfaffe9,'top':_0x566a2e+_0x4f8ca8,'height':_0x506432,'width':1.5,'fill':_0x139f72||_0x1869dd(_0x3918d4['black'],0x0),'strokeWidth':_0xfaffe9,'stroke':_0x1d8f4b(0x24f),'evented':!0x0});this[_0x1d8f4b(0x265)]=_0x1609d6,this[_0x1d8f4b(0x335)]['addObject'](_0x1609d6,_0x7347bc);let _0x2a1dde=new _0x33f8ec(mn+_0x8c3b74(0x6),{'left':_0x2d71e9+_0x529444-_0xfaffe9,'top':_0x566a2e+_0x4f8ca8-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x139f72||_0x1869dd(_0x3918d4[_0x1d8f4b(0x2f4)],0x0),'strokeWidth':0x0,'stroke':_0x139f72||_0x1869dd(_0x3918d4['black'],0x0),'evented':!0x1});this[_0x1d8f4b(0x2ff)]=_0x2a1dde,this['_scene'][_0x1d8f4b(0x217)](_0x2a1dde,_0x7347bc);let _0x252d26=new pn(mn+_0x8c3b74(0x6),{'left':_0x2d71e9+_0x529444-_0xfaffe9,'top':_0x566a2e+_0x4f8ca8-0x14,'text':_0x5ab4c0,'color':_0x139f72});this['_textBubble']=_0x252d26,this[_0x1d8f4b(0x335)]['addObject'](_0x252d26,_0x7347bc),this[_0x1d8f4b(0x251)]=!0x1;}[_0x22a835(0x2f2)](){const _0x3db804=_0x22a835;let _0x57966c=this[_0x3db804(0x265)][_0x3db804(0x30a)][_0x3db804(0x254)](()=>{const _0x176e4a=_0x3db804;this[_0x176e4a(0x251)]=!0x0;}),_0x3732bc=this[_0x3db804(0x265)][_0x3db804(0x302)][_0x3db804(0x254)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x2eb865=_0x3898;this[_0x2eb865(0x251)]=!0x1;},0x7d0);});return()=>{const _0x2dc34e=_0x3db804;_0x57966c[_0x2dc34e(0x2e4)](),_0x3732bc[_0x2dc34e(0x2e4)]();};}['_drawTextRange'](_0x9592ed,_0x1a67e9,_0x2cb8ad,_0x2b4d42){const _0x4324ca=_0x22a835;let _0x3a5bc7=0.2,_0x219676=new _0x2ca839(_0x9592ed)[_0x4324ca(0x261)](_0x3a5bc7)[_0x4324ca(0x295)](),_0x42ff01=new _0x1d60a7(_0x4324ca(0x199)+_0x8c3b74(0x6),{'pointsGroup':_0x1a67e9,'fill':_0x219676||_0x1869dd(_0x3918d4[_0x4324ca(0x2f4)],_0x3a5bc7),'left':_0x2cb8ad,'top':_0x2b4d42,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4324ca(0x28d)][_0x4324ca(0x233)](_0x42ff01),this['_scene'][_0x4324ca(0x217)](_0x42ff01,_0x7347bc);}[_0x22a835(0x2ae)](_0x4aa19c,_0x1b5715,_0x5dfe18,_0x43af34){const _0x3b8475=_0x22a835;let _0x41259d=0.2,_0x4e2a43=new _0x2ca839(_0x4aa19c)[_0x3b8475(0x261)](_0x41259d)['toRgbString'](),_0x43d3e5=new _0x1d60a7('collab-rect-range-'+_0x8c3b74(0x6),{'pointsGroup':_0x1b5715,'fill':_0x4e2a43||_0x1869dd(_0x3918d4[_0x3b8475(0x2f4)],_0x41259d),'left':_0x5dfe18,'top':_0x43af34,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3b8475(0x233)](_0x43d3e5),this[_0x3b8475(0x335)]['addObject'](_0x43d3e5,_0x7347bc);}[_0x22a835(0x18b)](_0x146548){let _0x2b9a47=_0x146548[0x0],_0x8f64b6=_0x2b9a47[0x0],_0x5eaf9a=_0x2b9a47[0x2],{x:_0x1ab353,y:_0x4947be}=_0x8f64b6,{x:_0x80edbc,y:_0x2b13b8}=_0x5eaf9a;return{'left':_0x1ab353,'top':_0x4947be,'width':_0x80edbc-_0x1ab353,'height':_0x2b13b8-_0x4947be};}['_getScale'](){const _0x61f119=_0x22a835;let {scaleX:_0x5dee60,scaleY:_0x26f6f5}=this[_0x61f119(0x335)][_0x61f119(0x218)]();return Math[_0x61f119(0x29a)](_0x5dee60,_0x26f6f5);}};let gn=class extends _0x1a4d48{constructor(_0x217fd7,_0x12f7c6,_0x24fa35,_0xc3f229,_0x5ef5b4){const _0x24098d=_0x22a835;super(),this[_0x24098d(0x275)]=_0x217fd7,this[_0x24098d(0x328)]=_0x12f7c6,this[_0x24098d(0x29f)]=_0x24fa35,this[_0x24098d(0x151)]=_0xc3f229,this['_themeService']=_0x5ef5b4,W(this,_0x24098d(0x2da),[]),W(this,'_cursors',[]),this[_0x24098d(0x1ed)]();}[_0x22a835(0x1ed)](){const _0x275b82=_0x22a835;let _0x7e7ecf=this[_0x275b82(0x275)]['unitId'],_0x455685=this[_0x275b82(0x328)];this[_0x275b82(0x2bc)](_0x5c8424([this[_0x275b82(0x29f)][_0x275b82(0x288)](_0x7e7ecf),this[_0x275b82(0x2a9)][_0x275b82(0x220)]])['pipe'](_0xd5f2b8(([_0x2aaf59,_0x682b13])=>({'skeleton':_0x455685[_0x275b82(0x290)](),'cursors':[..._0x2aaf59[_0x275b82(0x329)]()][_0x275b82(0x2d6)](_0x48d69a=>({..._0x48d69a,'color':this[_0x275b82(0x2a9)][_0x275b82(0x30f)](_0x48d69a[_0x275b82(0x1f2)])}))})))['subscribe'](_0x160d88=>{const _0x2cb8f6=_0x275b82;if(this[_0x2cb8f6(0x311)](),_0x160d88){let {skeleton:_0x22319f,cursors:_0x4cee28}=_0x160d88;this[_0x2cb8f6(0x186)](_0x22319f,_0x4cee28);}})),this[_0x275b82(0x314)](),this[_0x275b82(0x333)]();}['_updateCollabCursors'](_0x308559,_0x3d795a){const _0x422615=_0x22a835;let {scene:_0x2eae8e,mainComponent:_0x5c8e3c}=this[_0x422615(0x275)];this[_0x422615(0x2da)]=_0x3d795a[_0x422615(0x2e7)](_0x554eb9=>new hn(_0x554eb9,_0x2eae8e,_0x308559,_0x5c8e3c)),this['_cursors']=_0x3d795a;}['_refreshCollabCursors'](){const _0x15c243=_0x22a835;this[_0x15c243(0x311)]();let {scene:_0x294ac1,mainComponent:_0x530156}=this[_0x15c243(0x275)],_0x2d1437=this[_0x15c243(0x328)][_0x15c243(0x290)]();this[_0x15c243(0x2da)]=this[_0x15c243(0x175)][_0x15c243(0x2e7)](_0x26671c=>new hn(_0x26671c,_0x294ac1,_0x2d1437,_0x530156));}[_0x22a835(0x311)](){const _0x11cd5b=_0x22a835;this[_0x11cd5b(0x2da)][_0x11cd5b(0x2b2)](_0x2c7c9d=>_0x2c7c9d['dispose']()),this[_0x11cd5b(0x2da)]=[];}[_0x22a835(0x333)](){const _0x591154=_0x22a835;let _0x2050ea=[_0x3cb881['id']];this['disposeWithMe'](this[_0x591154(0x151)][_0x591154(0x304)](_0x19b891=>{const _0x42730d=_0x591154;_0x2050ea[_0x42730d(0x34b)](_0x19b891['id'])&&_0x19b891[_0x42730d(0x1ea)]['unitId']===this[_0x42730d(0x275)][_0x42730d(0x263)]&&this[_0x42730d(0x2f7)]();}));}[_0x22a835(0x314)](){const _0x5d6af7=_0x22a835;this[_0x5d6af7(0x2bc)](_0x13d72e(this[_0x5d6af7(0x275)][_0x5d6af7(0x196)][_0x5d6af7(0x337)])['pipe'](_0x51defb(_0x2f1b9a=>_0x2f1b9a[_0x5d6af7(0x156)]===_0x560b31[_0x5d6af7(0x27e)]),_0x1291bb(0x10))[_0x5d6af7(0x291)](()=>{const _0x5cbb83=_0x5d6af7;this[_0x5cbb83(0x2f7)]();}));}};gn=K([G(0x1,_0x59973f(_0x55c49f)),G(0x2,_0x59973f(Y)),G(0x3,_0x22e463),G(0x4,_0x59973f(_0x1f1965))],gn);var _n=class extends _0x3dee42{constructor(_0x47b178,_0x2e0372){const _0x1f2c52=_0x22a835;if(super(_0x47b178,_0x2e0372),W(this,'_color',void 0x0),W(this,_0x1f2c52(0x23e),!0x1),W(this,_0x1f2c52(0x234),void 0x0),W(this,_0x1f2c52(0x2bf),''),W(this,'_labelPosition',_0x1f2c52(0x2c6)),W(this,_0x1f2c52(0x1db),void 0x0),W(this,_0x1f2c52(0x237),void 0x0),W(this,_0x1f2c52(0x281),void 0x0),W(this,_0x1f2c52(0x172),0x4),W(this,_0x1f2c52(0x1fc),void 0x0),W(this,_0x1f2c52(0x253),void 0x0),W(this,_0x1f2c52(0x21d),!0x0),W(this,_0x1f2c52(0x274),0x0),_0x2e0372){var _0x5e2e5c;if(this['setShapeProps'](_0x2e0372),_0x2e0372[_0x1f2c52(0x178)]&&((_0x5e2e5c=_0x2e0372['highlightSecond'])==null?this[_0x1f2c52(0x172)]:_0x5e2e5c)){var _0xd0898;this[_0x1f2c52(0x31b)]((_0xd0898=_0x2e0372['highlightSecond'])==null?this[_0x1f2c52(0x172)]:_0xd0898);}}this['onPointerEnter$']['subscribeEvent'](()=>this[_0x1f2c52(0x1b5)]({'hovered':!0x0})),this[_0x1f2c52(0x302)]['subscribeEvent'](()=>this[_0x1f2c52(0x1b5)]({'hovered':!0x1}));}['setOffsetY'](_0x2c7321){this['_offsetY']=_0x2c7321;}[_0x22a835(0x1b5)](_0x5d8fec){const _0xc23ed7=_0x22a835;var _0x20a2d2,_0x1b8a4d,_0x173955,_0xfbb0f6,_0x11d42d,_0x3c34db,_0x3d5bab;this[_0xc23ed7(0x232)]=(_0x20a2d2=_0x5d8fec[_0xc23ed7(0x1f2)])==null?this[_0xc23ed7(0x232)]:_0x20a2d2,this[_0xc23ed7(0x23e)]=(_0x1b8a4d=_0x5d8fec[_0xc23ed7(0x2b7)])==null?this['_hovered']:_0x1b8a4d,this[_0xc23ed7(0x234)]=(_0x173955=_0x5d8fec[_0xc23ed7(0x2b6)])==null?this[_0xc23ed7(0x234)]:_0x173955,this[_0xc23ed7(0x2bf)]=(_0xfbb0f6=_0x5d8fec['name'])==null?this['_name']:_0xfbb0f6,this[_0xc23ed7(0x1af)]=(_0x11d42d=_0x5d8fec[_0xc23ed7(0x250)])==null?this[_0xc23ed7(0x1af)]:_0x11d42d,this['_backgroundColor']=(_0x3c34db=_0x5d8fec['backgroundColor'])==null?this['_backgroundColor']:_0x3c34db,this[_0xc23ed7(0x237)]=(_0x3d5bab=_0x5d8fec[_0xc23ed7(0x350)])==null?this[_0xc23ed7(0x237)]:_0x3d5bab,_0x5d8fec['highlightSecond']!==void 0x0&&(this['_highlightSecond']=_0x5d8fec[_0xc23ed7(0x14d)]),_0x5d8fec[_0xc23ed7(0x178)]!==void 0x0&&(this[_0xc23ed7(0x281)]=_0x5d8fec['highlight']),_0x5d8fec[_0xc23ed7(0x1ac)]!==void 0x0&&(this[_0xc23ed7(0x274)]=_0x5d8fec[_0xc23ed7(0x1ac)]),this[_0xc23ed7(0x182)]({'width':_0x5d8fec[_0xc23ed7(0x1f9)],'height':_0x5d8fec['height']});}[_0x22a835(0x163)](_0xca7f1a){const _0x1e6d64=_0x22a835;let {row:_0x3e2cf1,column:_0x36e37a}=_0xca7f1a;if(_0x3e2cf1>=this[_0x1e6d64(0x234)]['startRow']&&_0x3e2cf1<=this[_0x1e6d64(0x234)][_0x1e6d64(0x355)]&&_0x36e37a>=this['_range'][_0x1e6d64(0x1bf)]&&_0x36e37a<=this['_range'][_0x1e6d64(0x2d4)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1e6d64(0x1b5)]({'hovered':!0x1});}['_startBlinking'](_0x170c08){const _0x333e07=_0x22a835;this[_0x333e07(0x272)](),this[_0x333e07(0x21d)]=!0x0,this[_0x333e07(0x253)]=window[_0x333e07(0x1e2)](()=>{const _0x5b0224=_0x333e07;this[_0x5b0224(0x21d)]=!this[_0x5b0224(0x21d)],this['makeDirty'](!0x0);},0x1f4),this[_0x333e07(0x1fc)]=window[_0x333e07(0x325)](()=>{const _0x5b1c44=_0x333e07;this[_0x5b1c44(0x272)](),this['_isBlinkVisible']=!0x0,this[_0x5b1c44(0x213)](!0x0);},_0x170c08*0x3e8);}[_0x22a835(0x272)](){const _0x56a226=_0x22a835;this['_blinkIntervalTimer']&&(window[_0x56a226(0x1ca)](this[_0x56a226(0x253)]),this[_0x56a226(0x253)]=void 0x0),this[_0x56a226(0x1fc)]&&(window[_0x56a226(0x1ec)](this[_0x56a226(0x1fc)]),this[_0x56a226(0x1fc)]=void 0x0);}[_0x22a835(0x1a6)](_0x3bec2c){return!0x1;}[_0x22a835(0x2f1)](){const _0x185987=_0x22a835;this[_0x185987(0x272)](),super[_0x185987(0x2f1)]();}[_0x22a835(0x2c4)](_0x481553){const _0x39c10c=_0x22a835;var _0x15cb42;let _0x1b15d0=this[_0x39c10c(0x232)],_0x4f9abd=this[_0x39c10c(0x1db)];if(this[_0x39c10c(0x281)]&&!this[_0x39c10c(0x21d)]&&(_0x1b15d0=this[_0x39c10c(0x2d0)](this[_0x39c10c(0x232)]),_0x4f9abd=this['_backgroundColor']?this[_0x39c10c(0x2d0)](this[_0x39c10c(0x1db)]):void 0x0),_0x33f8ec[_0x39c10c(0x20e)](_0x481553,{'width':this[_0x39c10c(0x1f9)],'height':this['height'],'strokeWidth':(_0x15cb42=this[_0x39c10c(0x260)])==null?1.5:_0x15cb42,'stroke':_0x1b15d0,'evented':!0x1,'fill':_0x4f9abd}),this[_0x39c10c(0x23e)]||this[_0x39c10c(0x237)]){var _0x3eae09;_0x481553[_0x39c10c(0x2a5)](),_0x481553[_0x39c10c(0x24e)](0x1,0x0,0x0,0x1,this[_0x39c10c(0x1f9)],(this[_0x39c10c(0x1af)]==='bottom'?0x0:-0x14)+((_0x3eae09=this[_0x39c10c(0x274)])==null?0x0:_0x3eae09)),pn['drawWith'](_0x481553,{'text':this[_0x39c10c(0x2bf)],'color':_0x1b15d0}),_0x481553[_0x39c10c(0x181)]();}}[_0x22a835(0x2d0)](_0x59e5bf){const _0x22c66c=_0x22a835;return _0x59e5bf[_0x22c66c(0x1df)]('#')?_0x22c66c(0x1e1)+Number[_0x22c66c(0x2cd)](_0x59e5bf['slice'](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x59e5bf[_0x22c66c(0x1d5)](0x3,0x5),0x10)+',\x20'+Number[_0x22c66c(0x2cd)](_0x59e5bf[_0x22c66c(0x1d5)](0x5,0x7),0x10)+_0x22c66c(0x33f):_0x59e5bf[_0x22c66c(0x1df)](_0x22c66c(0x2bd))?_0x59e5bf[_0x22c66c(0x22c)](/[\d.]+\)$/g,'0.2)'):_0x59e5bf['startsWith'](_0x22c66c(0x1c3))?_0x59e5bf[_0x22c66c(0x22c)](_0x22c66c(0x1c3),'rgba')[_0x22c66c(0x22c)](')',_0x22c66c(0x33f)):_0x59e5bf;}};let vn=class extends _0x1a4d48{constructor(_0x3b4586,_0x303d00,_0x17ff30,_0x45a58f){const _0x576714=_0x22a835;super(),this['_context']=_0x3b4586,this['_sheetSkeletonManagerService']=_0x303d00,this['_collabCursorController']=_0x17ff30,this[_0x576714(0x2a9)]=_0x45a58f,W(this,_0x576714(0x175),new Set()),W(this,_0x576714(0x2dd),null),this[_0x576714(0x1ed)]();}[_0x22a835(0x1ed)](){const _0x364537=_0x22a835;this[_0x364537(0x1d4)]['currentSkeleton$'][_0x364537(0x315)](_0x17c78c(this[_0x364537(0x24b)]),_0x470c06(_0x225689=>{const _0x3d13ab=_0x364537;if(_0x225689){let _0x3a852e=_0x225689[_0x3d13ab(0x1eb)];return _0x5c8424(this['_collabCursorController'][_0x3d13ab(0x288)](this['_context'][_0x3d13ab(0x263)]),this[_0x3d13ab(0x2a9)][_0x3d13ab(0x220)])[_0x3d13ab(0x315)](_0xd5f2b8(([_0x14cfbe,_0x208687])=>{const _0xa7c893=_0x3d13ab;let _0x3f55ea=new Map();return _0x14cfbe[_0xa7c893(0x2b2)]((_0x214410,_0x48f898)=>{const _0x184bbe=_0xa7c893;if(_0x214410[_0x184bbe(0x1a5)]===_0x3a852e){let _0x4add57={..._0x214410};_0x4add57['color']=this[_0x184bbe(0x2a9)][_0x184bbe(0x30f)](_0x214410[_0x184bbe(0x1f2)]),_0x3f55ea['set'](_0x48f898,_0x4add57);}}),{'skeleton':_0x225689,'cursors':_0x3f55ea};}));}return _0x4ff7c1({'skeleton':null,'cursors':new Map()});}))[_0x364537(0x291)](({skeleton:_0xa3cdec,cursors:_0x185e17})=>{const _0x4d52e5=_0x364537;this[_0x4d52e5(0x311)](),_0xa3cdec&&this[_0x4d52e5(0x186)](_0xa3cdec,_0x185e17);}),this[_0x364537(0x1d4)]['currentSkeleton$'][_0x364537(0x291)](_0x5a97e5=>{const _0x69f41e=_0x364537;if(_0x5a97e5==null)return;let {skeleton:_0x599bf4}=_0x5a97e5,{scene:_0x582286}=this[_0x69f41e(0x275)];_0x582286[_0x69f41e(0x1e7)][_0x69f41e(0x254)](_0x2cb628(_0x1d7813=>{const _0x2685f4=_0x69f41e;var _0x18b402,_0x2137aa;let {offsetX:_0x59fe9e,offsetY:_0x488018}=_0x1d7813,{x:_0x9f15a7,y:_0x4a1339}=_0x582286[_0x2685f4(0x266)](_0x23e961['FromArray']([_0x59fe9e,_0x488018])),{scaleX:_0x2ebdb7,scaleY:_0x164662}=_0x582286[_0x2685f4(0x218)](),_0x8513c9=_0x582286[_0x2685f4(0x296)](_0x599f0e[_0x2685f4(0x30d)]),_0x2cb75e=_0x582286[_0x2685f4(0x244)](_0x23e961[_0x2685f4(0x26e)]([_0x9f15a7,_0x4a1339]),_0x8513c9),_0x34d333=_0x599bf4[_0x2685f4(0x318)](_0x59fe9e,_0x488018,_0x2ebdb7,_0x164662,_0x2cb75e);((_0x18b402=this[_0x2685f4(0x2dd)])==null?void 0x0:_0x18b402['column'])===_0x34d333[_0x2685f4(0x222)]&&((_0x2137aa=this[_0x2685f4(0x2dd)])==null?void 0x0:_0x2137aa['row'])===_0x34d333[_0x2685f4(0x225)]||this[_0x2685f4(0x175)][_0x2685f4(0x2b2)](_0x1a3073=>{_0x1a3073['onMouseMove'](_0x34d333);});},0x64));});}[_0x22a835(0x186)](_0x442651,_0x358d00){const _0x7a9484=_0x22a835;let _0x45da07=this[_0x7a9484(0x1d4)][_0x7a9484(0x16a)]();if(!_0x45da07)return;let _0x294a3b=this['_getSheetObject']();if(!_0x294a3b)return;this[_0x7a9484(0x175)][_0x7a9484(0x2b2)](_0x3b234e=>{const _0x343023=_0x7a9484;_0x3b234e[_0x343023(0x213)]();});let {scene:_0x3f2dd5}=_0x294a3b,_0x4fb2e6=yn(Array[_0x7a9484(0x193)](_0x358d00['values']()))[_0x7a9484(0x2e7)](_0x35aa47=>{const _0x1b4a22=_0x7a9484;let {color:_0x4af3de,range:_0x2b21bf,name:_0xd0dc17,selection:_0xbd7b2e,sheetID:_0x5309ea}=_0x35aa47,{startColumn:_0x3c16d4,startRow:_0x553c07,endColumn:_0x28964b,endRow:_0x2c1b89}=_0x2b21bf,_0x5a1b7c=_0x3b6b04(_0x553c07,_0x3c16d4,_0x3f2dd5,_0x45da07),_0x57c779=_0x3b6b04(_0x2c1b89,_0x28964b,_0x3f2dd5,_0x45da07),{columnHeaderHeightAndMarginTop:_0x5187bd}=_0x45da07,{startX:_0x3b77e5,startY:_0x5c1654}=_0x5a1b7c,{endX:_0x3ce80d,endY:_0x2c2418}=_0x57c779,_0x3c9442=_0x3ce80d-_0x3b77e5,_0x1d8b7b=_0x2c2418-_0x5c1654;return new _n(_0xd0dc17,{'labelPosition':_0x5c1654-_0x5187bd>=0x14?'top':_0x1b4a22(0x2a8),'sheetID':_0x5309ea,'range':_0x2b21bf,'color':_0x4af3de,'name':_0xd0dc17,'selection':_0xbd7b2e,'left':_0x3b77e5,'top':_0x5c1654,'width':_0x3c9442,'height':_0x1d8b7b,'evented':!0x1,'zIndex':0x1389});});_0x3f2dd5[_0x7a9484(0x2db)](_0x4fb2e6,0x1),this[_0x7a9484(0x175)]=new Set(_0x4fb2e6);}[_0x22a835(0x311)](){const _0x3b9386=_0x22a835;var _0x56644f;(_0x56644f=this[_0x3b9386(0x175)])==null||_0x56644f['forEach'](_0x7cdaa5=>_0x7cdaa5[_0x3b9386(0x2f1)]());}[_0x22a835(0x1c0)](){const _0x5a09c6=_0x22a835;return _0x2bbac5(this['_context'][_0x5a09c6(0x19d)],this[_0x5a09c6(0x275)]);}};vn=K([G(0x1,_0x59973f(_0xcd5bf7)),G(0x2,_0x59973f(Y)),G(0x3,_0x59973f(_0x1f1965))],vn);function yn(_0x262005){const _0x196655=_0x22a835;let _0x2d7915=new Map();return _0x262005[_0x196655(0x2b2)](_0x52263f=>{const _0x4125bd=_0x196655;if(_0x2d7915[_0x4125bd(0x21f)](_0x52263f[_0x4125bd(0x23b)])){let _0x5233c6=_0x2d7915['get'](_0x52263f[_0x4125bd(0x23b)]);_0x5233c6[_0x4125bd(0x19f)]+=',\x20'+_0x52263f['name'];}else _0x2d7915[_0x4125bd(0x26b)](_0x52263f['selection'],_0x52263f);}),Array[_0x196655(0x193)](_0x2d7915[_0x196655(0x329)]());}let bn=class extends _0x1c837b{constructor(_0x576580,_0x3e7017,_0x15fdce,_0x331e47,_0x56d648,_0x27509c){const _0x4045aa=_0x22a835;super(),this[_0x4045aa(0x1f0)]=_0x576580,this['_localCacheService']=_0x3e7017,this[_0x4045aa(0x339)]=_0x15fdce,this['_messageService']=_0x331e47,this['_notificationService']=_0x56d648,this[_0x4045aa(0x211)]=_0x27509c,this[_0x4045aa(0x17c)](),this['_initEvent']();}[_0x22a835(0x17c)](){const _0x13d53c=_0x22a835;this[_0x13d53c(0x2bc)](this[_0x13d53c(0x1f0)]['registerBeforeClose'](()=>{const _0x224c69=_0x13d53c;if(this['_localCacheService']['saveTaskMap'][_0x224c69(0x22b)])return this['_localeService']['t'](_0x224c69(0x1dd));}));}[_0x22a835(0x2c0)](){const _0x6c336c=_0x22a835;this[_0x6c336c(0x2bc)](this['_collaborationUIEventService'][_0x6c336c(0x19b)][_0x6c336c(0x291)](_0x45a885=>{const _0x527738=_0x6c336c;_0x45a885['id']===_0x41bd6a[_0x527738(0x1c7)]&&this['_messageService'][_0x527738(0x1de)]({'type':_0x20dc80[_0x527738(0x198)],'content':this['_localeService']['t'](_0x527738(0x25e))}),_0x45a885['id']===_0x41bd6a[_0x527738(0x146)]&&this['_messageService'][_0x527738(0x1de)]({'type':_0x20dc80[_0x527738(0x198)],'content':this[_0x527738(0x211)]['t'](_0x527738(0x22d))}),_0x45a885['id']===_0x41bd6a['PERMISSION_DENIED']&&this[_0x527738(0x2eb)][_0x527738(0x1de)]({'title':this[_0x527738(0x211)]['t']('permission.title'),'content':this[_0x527738(0x211)]['t'](_0x527738(0x269)),'type':_0x527738(0x317),'duration':0x0}),_0x45a885['id']===_0x41bd6a['CONFLICT']&&this[_0x527738(0x190)][_0x527738(0x1de)]({'type':_0x20dc80[_0x527738(0x26d)],'content':this[_0x527738(0x211)]['t'](_0x527738(0x22d))+'('+_0x45a885[_0x527738(0x32c)]+')'}),_0x45a885['id']===_0x41bd6a['JOIN_ROOM_FAILED']&&this[_0x527738(0x190)][_0x527738(0x1de)]({'type':_0x20dc80['Warning'],'content':this['_localeService']['t'](_0x45a885[_0x527738(0x32c)]||'')}),_0x45a885['id']===_0x41bd6a[_0x527738(0x16b)]&&this['_messageService'][_0x527738(0x1de)]({'type':_0x20dc80[_0x527738(0x198)],'content':this[_0x527738(0x211)]['t']('session.will-retry')}),_0x45a885['id']===_0x41bd6a['SOCKET_FAILED']&&this[_0x527738(0x190)][_0x527738(0x1de)]({'type':_0x20dc80[_0x527738(0x26d)],'content':this[_0x527738(0x211)]['t']('session.connection-failed')}),_0x45a885['id']===_0x41bd6a[_0x527738(0x1b8)]&&this[_0x527738(0x190)][_0x527738(0x1de)]({'type':_0x20dc80[_0x527738(0x26d)],'content':this[_0x527738(0x211)]['t'](_0x527738(0x283))});}));}};bn=K([G(0x0,_0x33ee24),G(0x1,_0x9b710f),G(0x2,_0x59973f(_0x1c4a1c)),G(0x3,_0x1b516d),G(0x4,_0x32b7c1),G(0x5,_0x59973f(_0x589381))],bn);const xn=_0x22a835(0x1bd);Symbol(xn);const Sn={};let X=class{constructor(_0x557f99,_0x5dd410){const _0xe1a019=_0x22a835;this[_0xe1a019(0x19e)]=_0x557f99,this[_0xe1a019(0x293)]=_0x5dd410;}[_0x22a835(0x1a7)](_0x934cc0){const _0x13a2dc=_0x22a835;this[_0x13a2dc(0x195)](_0x934cc0),this[_0x13a2dc(0x294)](_0x934cc0);}['transformRemoteChangeset'](_0x16cf5e){const _0x494a5b=_0x22a835;let {unitID:_0x2319f0}=_0x16cf5e,{redoCache:_0x5c9feb}=this[_0x494a5b(0x293)][_0x494a5b(0x154)](_0x2319f0)['with'](_0x49a8d3)[_0x494a5b(0x248)]();if(_0x5c9feb['length']===0x0)return _0x16cf5e;let _0x394144=_0xc2e31b['deepClone'](_0x16cf5e[_0x494a5b(0x23a)][0x0]);for(let _0x383250=0x0;_0x383250<_0x5c9feb[_0x494a5b(0x243)];_0x383250++){let _0xb03813={'id':_0x494a5b(0x1fe),'params':{..._0x5c9feb[_0x383250]}},_0x4574ef=this[_0x494a5b(0x19e)][_0x494a5b(0x2e0)](_0x394144,_0xb03813,!0x1);if(_0x325703(_0x4574ef))throw _0x4574ef['error'];_0x394144=_0x4574ef[_0x494a5b(0x1cd)];}return{..._0xc2e31b[_0x494a5b(0x183)](_0x16cf5e),'mutations':[_0x394144]};}[_0x22a835(0x195)](_0x1de7ae){const _0x224460=_0x22a835;let {unitID:_0x312a2a}=_0x1de7ae,_0x5a6171=this['_renderManagerService'][_0x224460(0x154)](_0x312a2a)[_0x224460(0x358)](_0x49a8d3),{undoCache:_0x22eb5e,redoCache:_0x551fd7}=_0x5a6171[_0x224460(0x248)]();if(_0x22eb5e[_0x224460(0x243)]===0x0||_0x551fd7['length']===0x0)return;let _0x304eaf=[],_0x2ceb06=[],_0x306119=_0xc2e31b[_0x224460(0x183)](_0x1de7ae[_0x224460(0x23a)][0x0]),_0xb15d27=_0xc2e31b[_0x224460(0x183)](_0x1de7ae[_0x224460(0x23a)][0x0]);for(let _0x58d7d5=_0x22eb5e[_0x224460(0x243)]-0x1;_0x58d7d5>=0x0;_0x58d7d5--){let _0x4820db={'id':_0x224460(0x1fe),'params':{..._0x22eb5e[_0x58d7d5]}},_0x3f0bcc={'id':_0x224460(0x1fe),'params':{..._0x551fd7[_0x58d7d5]}},_0x22fdde=this[_0x224460(0x19e)][_0x224460(0x2e0)](_0x306119,_0x4820db,!0x1),_0x42c4a8=this[_0x224460(0x19e)]['transformMutation'](_0xb15d27,_0x3f0bcc,!0x1);if(_0x325703(_0x22fdde))throw _0x22fdde['error'];if(_0x325703(_0x42c4a8))throw _0x42c4a8[_0x224460(0x317)];_0x304eaf['unshift'](_0x22fdde[_0x224460(0x215)][_0x224460(0x1ea)]),_0x2ceb06[_0x224460(0x1c6)](_0x42c4a8[_0x224460(0x215)][_0x224460(0x1ea)]),_0x306119=_0x22fdde[_0x224460(0x1cd)],_0xb15d27=_0x42c4a8[_0x224460(0x1cd)];}_0x5a6171[_0x224460(0x1a2)]({'undoCache':_0x304eaf,'redoCache':_0x2ceb06});}[_0x22a835(0x294)](_0x516302){const _0x3ec655=_0x22a835;let {unitID:_0x307211}=_0x516302,_0x2e35f1=this[_0x3ec655(0x293)][_0x3ec655(0x154)](_0x307211)[_0x3ec655(0x358)](_0x49a8d3),_0x461f3f=_0x2e35f1[_0x3ec655(0x177)]();if(_0x461f3f==null)return;let _0x31e4e4=[{'id':_0x3ec655(0x1fe),'params':{'unitId':_0x516302['unitID'],'actions':null,'textRanges':[_0x461f3f]}}],_0x3f57b7=this[_0x3ec655(0x19e)][_0x3ec655(0x2cb)](_0x516302,_0x31e4e4);if(!_0x5eb34e(_0x3f57b7))throw _0x3f57b7[_0x3ec655(0x317)];let _0x4edb01=_0x3f57b7['m2Prime'][0x0][_0x3ec655(0x1ea)][_0x3ec655(0x1ef)];Array['isArray'](_0x4edb01)&&_0x4edb01['length']&&_0x2e35f1['setActiveRange'](_0x4edb01[0x0]);}};X=K([G(0x0,_0x15f1bd),G(0x1,_0x226a05)],X);let Cn=class{constructor(_0x1f71bf,_0x315122,_0xb5f7f8){const _0x39c68=_0x22a835;this[_0x39c68(0x23d)]=_0x1f71bf,this[_0x39c68(0x19e)]=_0x315122,this[_0x39c68(0x18c)]=_0xb5f7f8;}[_0x22a835(0x21e)](_0xcf2a65){const _0x54a5b8=_0x22a835;this[_0x54a5b8(0x15f)](_0xcf2a65);}['transformRemoteChangeset'](_0x2462ca){const _0x4b6c0b=_0x22a835;let {unitID:_0x2a60b1}=_0x2462ca,{collaboration:_0x3b1052}=this[_0x4b6c0b(0x18c)][_0x4b6c0b(0x180)](_0x2a60b1);if(_0x3b1052[_0x4b6c0b(0x243)]===0x0)return _0x2462ca;let _0x4fedb3=_0xc2e31b[_0x4b6c0b(0x183)](_0x2462ca[_0x4b6c0b(0x23a)][0x0]);for(let _0x3145ba=0x0;_0x3145ba<_0x3b1052[_0x4b6c0b(0x243)];_0x3145ba++){let _0x2a2a8c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3b1052[_0x3145ba][_0x4b6c0b(0x263)],..._0x3b1052[_0x3145ba]['redoState']}},_0x28731c=this[_0x4b6c0b(0x19e)]['transformMutation'](_0x4fedb3,_0x2a2a8c,!0x1);if(_0x325703(_0x28731c))throw _0x28731c['error'];_0x4fedb3=_0x28731c[_0x4b6c0b(0x1cd)];}return{..._0xc2e31b[_0x4b6c0b(0x183)](_0x2462ca),'mutations':[_0x4fedb3]};}[_0x22a835(0x15f)](_0x159922){const _0x399070=_0x22a835;let {unitID:_0x59eb74}=_0x159922,{history:_0x423f7f,collaboration:_0x1a13fa}=this[_0x399070(0x18c)][_0x399070(0x180)](_0x59eb74);if(_0x423f7f[_0x399070(0x243)]===0x0&&_0x1a13fa[_0x399070(0x243)]===0x0)return;let _0x295bc7=[],_0x1d7ebc=[],_0x5443ae=_0xc2e31b[_0x399070(0x183)](_0x159922[_0x399070(0x23a)][0x0]),_0x52712f=_0xc2e31b['deepClone'](_0x159922[_0x399070(0x23a)][0x0]);for(let _0x101d53=_0x423f7f['length']-0x1;_0x101d53>=0x0;_0x101d53--){let _0x6cf7a5={'id':_0x399070(0x1fe),'params':{'unitId':_0x423f7f[_0x101d53][_0x399070(0x263)],..._0x423f7f[_0x101d53][_0x399070(0x1b7)]}},_0x1a5a1c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x423f7f[_0x101d53][_0x399070(0x263)],..._0x423f7f[_0x101d53][_0x399070(0x158)]}},_0x1f98db=this[_0x399070(0x19e)][_0x399070(0x2e0)](_0x5443ae,_0x6cf7a5,!0x1),_0x499994=this['_transformService'][_0x399070(0x2e0)](_0x52712f,_0x1a5a1c,!0x1);if(_0x325703(_0x1f98db))throw _0x1f98db['error'];if(_0x325703(_0x499994))throw _0x499994['error'];_0x295bc7[_0x399070(0x1c6)]({..._0x423f7f[_0x101d53],'undoState':_0x1f98db[_0x399070(0x215)][_0x399070(0x1ea)],'redoState':_0x499994[_0x399070(0x215)][_0x399070(0x1ea)]}),_0x5443ae=_0x1f98db['m1Prime'],_0x52712f=_0x499994['m1Prime'];}_0x5443ae=_0xc2e31b[_0x399070(0x183)](_0x159922[_0x399070(0x23a)][0x0]),_0x52712f=_0xc2e31b[_0x399070(0x183)](_0x159922[_0x399070(0x23a)][0x0]);for(let _0x3de703=_0x1a13fa[_0x399070(0x243)]-0x1;_0x3de703>=0x0;_0x3de703--){let _0x498f64={'id':_0x399070(0x1fe),'params':{'unitId':_0x1a13fa[_0x3de703][_0x399070(0x263)],..._0x1a13fa[_0x3de703][_0x399070(0x1b7)]}},_0x92e346={'id':_0x399070(0x1fe),'params':{'unitId':_0x1a13fa[_0x3de703][_0x399070(0x263)],..._0x1a13fa[_0x3de703][_0x399070(0x158)]}},_0x312bf0=this[_0x399070(0x19e)][_0x399070(0x2e0)](_0x5443ae,_0x498f64,!0x1),_0x22d9e5=this['_transformService'][_0x399070(0x2e0)](_0x52712f,_0x92e346,!0x1);if(_0x325703(_0x312bf0))throw _0x312bf0[_0x399070(0x317)];if(_0x325703(_0x22d9e5))throw _0x22d9e5[_0x399070(0x317)];_0x1d7ebc[_0x399070(0x1c6)]({..._0x1a13fa[_0x3de703],'undoState':_0x312bf0[_0x399070(0x215)]['params'],'redoState':_0x22d9e5[_0x399070(0x215)][_0x399070(0x1ea)]}),_0x5443ae=_0x312bf0['m1Prime'],_0x52712f=_0x22d9e5[_0x399070(0x1cd)];}this[_0x399070(0x18c)][_0x399070(0x20d)](_0x59eb74,{'history':_0x295bc7,'collaboration':_0x1d7ebc});}};Cn=K([G(0x0,_0x59973f(_0x597616)),G(0x1,_0x15f1bd),G(0x2,_0x59973f(_0x12fb62))],Cn);let wn=class{constructor(_0x4b71ea,_0x355f69){const _0x199508=_0x22a835;this[_0x199508(0x23d)]=_0x4b71ea,this[_0x199508(0x19e)]=_0x355f69;}['transformSelections'](_0x1522b2){const _0x4692f7=_0x22a835;var _0x3a27a6;let _0x3e07f5=this['_injector'][_0x4692f7(0x1a3)](_0x295ab9),_0x3d5b2b=(_0x3a27a6=_0x3e07f5[_0x4692f7(0x22f)]())==null?[]:_0x3a27a6;if(_0x3d5b2b[_0x4692f7(0x243)]===0x0)return;let _0xca01fe=_0x1522b2['unitID'],_0x85c2f3=[{'id':_0x4692f7(0x1fe),'params':{'unitId':_0xca01fe,'actions':null,'textRanges':_0x3d5b2b}}],_0x30d583=this[_0x4692f7(0x19e)][_0x4692f7(0x2cb)](_0x1522b2,_0x85c2f3);if(!_0x5eb34e(_0x30d583))throw _0x30d583['error'];let _0xa814fb=_0x30d583['m2Prime'][0x0][_0x4692f7(0x1ea)][_0x4692f7(0x1ef)];Array[_0x4692f7(0x184)](_0xa814fb)&&_0xa814fb[_0x4692f7(0x243)]&&_0x3e07f5['replaceDocRanges'](_0xa814fb,{'unitId':_0xca01fe,'subUnitId':_0xca01fe},!0x1);}};wn=K([G(0x0,_0x59973f(_0x597616)),G(0x1,_0x15f1bd)],wn);let Tn=class extends _0x1c837b{constructor(_0x389161,_0x1ed230,_0x40e78d,_0x475e13,_0x1cabdf,_0x5044f5,_0x203ae3,_0x24daf7){const _0x55484a=_0x22a835;super(),this[_0x55484a(0x18c)]=_0x389161,this[_0x55484a(0x17e)]=_0x1ed230,this[_0x55484a(0x147)]=_0x40e78d,this[_0x55484a(0x160)]=_0x475e13,this[_0x55484a(0x2f8)]=_0x1cabdf,this[_0x55484a(0x33d)]=_0x5044f5,this['_messageService']=_0x203ae3,this[_0x55484a(0x211)]=_0x24daf7,W(this,'_status$',new _0x57803d(_0x2a8726[_0x55484a(0x165)])),this[_0x55484a(0x31f)]();}[_0x22a835(0x31f)](){const _0x1829eb=_0x22a835;this[_0x1829eb(0x2bc)](this[_0x1829eb(0x17e)][_0x1829eb(0x19a)][_0x1829eb(0x291)](_0x32c3a5=>{const _0x3fe03f=_0x1829eb;let _0x249286=this[_0x3fe03f(0x18c)]['docStateChange$'][_0x3fe03f(0x291)](_0x358ac7=>{const _0x3f18ea=_0x3fe03f;if(_0x358ac7==null)return;let {unitId:_0x40d7b0,redoState:_0x37e63d,commandId:_0xeb2b36}=_0x358ac7;if(_0x40d7b0!==_0x32c3a5[_0x3f18ea(0x1fd)])return;let _0x17291c={'id':_0xeb2b36,'type':_0x5286b3[_0x3f18ea(0x284)],'params':{'unitId':_0x40d7b0,'actions':_0x37e63d[_0x3f18ea(0x2c3)],'textRanges':null}};_0x32c3a5['onLocalMutation'](_0x17291c);});_0x32c3a5[_0x3fe03f(0x2bc)](_0x249286),_0x32c3a5 instanceof _0x5eaf27&&_0x32c3a5[_0x3fe03f(0x174)]({'onTransformIME':_0x25b1b0=>this['_docTransformIMECacheService']['transformIMECache'](_0x25b1b0),'onTransformState':_0x53fd70=>this['_docTransformStateCacheService'][_0x3fe03f(0x21e)](_0x53fd70),'onTransformSelections':_0x5b8fa9=>this[_0x3fe03f(0x2f8)]['transformSelections'](_0x5b8fa9),'onSyncEditingCollabCursor':_0x9553f0=>this[_0x3fe03f(0x33d)][_0x3fe03f(0x164)](_0x9553f0),'onTransformRemoteChangesetByIMECache':_0x57f687=>this[_0x3fe03f(0x147)]['transformRemoteChangeset'](_0x57f687),'onTransformRemoteChangesetByStateCache':_0x29325e=>this[_0x3fe03f(0x160)]['transformRemoteChangeset'](_0x29325e)});}));}};Tn=K([G(0x0,_0x59973f(_0x12fb62)),G(0x1,_0x59973f(_0x29256f)),G(0x2,_0x59973f(X)),G(0x3,_0x59973f(Cn)),G(0x4,_0x59973f(wn)),G(0x5,_0x59973f(cn)),G(0x6,_0x1b516d),G(0x7,_0x59973f(_0x589381))],Tn);let En=class extends _0x1c837b{constructor(_0x5913b3,_0x47224c,_0x268cfb,_0xbf9a48){const _0x22f7b5=_0x22a835;super(),this['_injector']=_0x5913b3,this[_0x22f7b5(0x268)]=_0x47224c,this[_0x22f7b5(0x23c)]=_0x268cfb,this[_0x22f7b5(0x332)]=_0xbf9a48,W(this,'_memberID',void 0x0),this['_init']();}[_0x22a835(0x1ed)](){const _0x567168=_0x22a835;this[_0x567168(0x354)](),this[_0x567168(0x1da)](),this['_monkeyPatchLogService'](),this['_initUserListener']();}[_0x22a835(0x2d8)](){const _0x202f09=_0x22a835;this[_0x202f09(0x2bc)](this['_collaborationSessionService']['socket$'][_0x202f09(0x291)](_0x19bcbf=>{const _0x4d2f22=_0x202f09;this[_0x4d2f22(0x242)]=_0x19bcbf==null?void 0x0:_0x19bcbf[_0x4d2f22(0x308)];}));}[_0x22a835(0x354)](){const _0x1ed1a5=_0x22a835;let _0x559067=_0x18bffc=>{const _0x44d7e7=_0x3898;var _0x11abea;this[_0x44d7e7(0x1c4)](_0x44d7e7(0x317),_0x44d7e7(0x16c)+_0x18bffc[_0x44d7e7(0x2f6)]+_0x44d7e7(0x15b)+_0x18bffc[_0x44d7e7(0x187)]+':'+_0x18bffc[_0x44d7e7(0x2e2)]+':'+_0x18bffc[_0x44d7e7(0x276)]+'\x0a'+(((_0x11abea=_0x18bffc[_0x44d7e7(0x317)])==null?void 0x0:_0x11abea[_0x44d7e7(0x28c)])||''));};window['addEventListener'](_0x1ed1a5(0x317),_0x559067),this[_0x1ed1a5(0x2bc)](()=>{const _0x532d97=_0x1ed1a5;window[_0x532d97(0x14b)](_0x532d97(0x317),_0x559067);});}[_0x22a835(0x1da)](){const _0xd7aebb=_0x22a835;let _0x438b0d=_0xb7011f=>{const _0x1b632b=_0x3898;this[_0x1b632b(0x1c4)](_0x1b632b(0x317),_0x1b632b(0x22e)+_0xb7011f['reason']);};window[_0xd7aebb(0x2bb)]('unhandledrejection',_0x438b0d),this[_0xd7aebb(0x2bc)](()=>{const _0x3b0335=_0xd7aebb;window['removeEventListener'](_0x3b0335(0x2ec),_0x438b0d);});}[_0x22a835(0x2b9)](){const _0x8eb8d5=_0x22a835;let _0x411cff=this['_logService']['error']['bind'](this[_0x8eb8d5(0x23c)]);this[_0x8eb8d5(0x23c)]['error']=(..._0x31c7cd)=>{const _0x1c8bd7=_0x8eb8d5;let _0x45a340=_0x31c7cd[_0x1c8bd7(0x2e7)](_0x548d35=>_0x548d35 instanceof Error?_0x548d35[_0x1c8bd7(0x2f6)]+'\x0a'+_0x548d35['stack']:String(_0x548d35))[_0x1c8bd7(0x309)]('\x20');this[_0x1c8bd7(0x1c4)](_0x1c8bd7(0x317),_0x1c8bd7(0x16e)+_0x45a340),_0x411cff(..._0x31c7cd);},this[_0x8eb8d5(0x2bc)](()=>{const _0x3e67de=_0x8eb8d5;this['_logService'][_0x3e67de(0x317)]=_0x411cff;});}['_uploadLog'](_0x32c090,_0x41908a){const _0x440df4=_0x22a835;try{let _0x306d6f={'userId':this[_0x440df4(0x242)],'logLabel':_0x32c090,'content':_0x41908a};this[_0x440df4(0x268)][_0x440df4(0x312)](_0x440df4(0x2f3),{'body':_0x306d6f})['catch'](()=>{});}catch{}}};En=K([G(0x0,_0x59973f(_0x597616)),G(0x1,_0x59973f(_0x275cbb)),G(0x2,_0x1cd8f8),G(0x3,_0x59973f(_0x3c17ed))],En);function Dn(_0x278027){const _0xa402bc=_0x22a835;var _0x51ed5b,_0x4ed06f;let _0x3415e1=(_0x51ed5b=_0x278027[_0xa402bc(0x252)])==null?void 0x0:_0x51ed5b[_0xa402bc(0x320)],_0x19ec4b=((_0x4ed06f=_0x278027['stageInfo'])==null?void 0x0:_0x4ed06f[_0xa402bc(0x1d9)])||0x0;return _0x3415e1===_0x1884d8[_0xa402bc(0x2f9)]&&_0x19ec4b>0x0;}function On(_0x51b23b){const _0x22cc83=_0x22a835;return _0x51b23b[_0x22cc83(0x34a)]===_0xcc1090[_0x22cc83(0x1cb)];}let Z=class extends _0x1c837b{constructor(_0x4884b1,_0x3e50af,_0x3224e8,_0x441004,_0x3ce7e4,_0x43dae3,_0x12d42c){const _0x13e592=_0x22a835;super(),this[_0x13e592(0x190)]=_0x4884b1,this['_commandService']=_0x3e50af,this[_0x13e592(0x33a)]=_0x3224e8,this[_0x13e592(0x268)]=_0x441004,this['_univerInstanceService']=_0x3ce7e4,this['_logService']=_0x43dae3,this[_0x13e592(0x211)]=_0x12d42c,W(this,_0x13e592(0x277),null),W(this,_0x13e592(0x33b),0x0),W(this,_0x13e592(0x166),0x0),W(this,_0x13e592(0x1ad),[]),W(this,_0x13e592(0x2c7),0x0),this[_0x13e592(0x1b6)]();}[_0x22a835(0x1b6)](){const _0x614616=_0x22a835;this[_0x614616(0x2bc)](this['_commandService'][_0x614616(0x301)]((_0x5d0c07,_0xa57843)=>{const _0x4de639=_0x614616;var _0x25870a;if(_0x5d0c07['id']!==_0xf00c33['id'])return;let _0x51457f=_0x5d0c07['params'];if(this[_0x4de639(0x2a6)]((_0x25870a=_0x51457f[_0x4de639(0x169)])==null?[]:_0x25870a)&&!this[_0x4de639(0x280)]())throw this[_0x4de639(0x148)](_0x5d0c07,_0xa57843),this[_0x4de639(0x2d2)](),new _0x2c780a();})),this[_0x614616(0x2bc)](this[_0x614616(0x151)][_0x614616(0x304)]((_0x1f5660,_0x301d03)=>{const _0x4dec4a=_0x614616;if(_0x1f5660['id']!==_0x237812['id'])return;let _0x502cf4=_0x1f5660[_0x4dec4a(0x1ea)];if(Dn(_0x502cf4)){let _0x80475c=_0x8c3b74();this[_0x4dec4a(0x1ad)][_0x4dec4a(0x233)](_0x80475c),this[_0x4dec4a(0x348)](_0x80475c);}else{if(On(_0x502cf4)&&this[_0x4dec4a(0x1ad)][_0x4dec4a(0x243)]>0x0){let _0x83bbac=this[_0x4dec4a(0x1ad)][_0x4dec4a(0x236)]();this[_0x4dec4a(0x2b4)](_0x83bbac);}}}));}[_0x22a835(0x2f1)](){const _0x2c1e6b=_0x22a835;super[_0x2c1e6b(0x2f1)](),this[_0x2c1e6b(0x2df)](),this[_0x2c1e6b(0x1ad)]=[],this[_0x2c1e6b(0x166)]=0x0,this[_0x2c1e6b(0x33b)]=0x0,this[_0x2c1e6b(0x2c7)]=0x0;}async[_0x22a835(0x148)](_0x1a433c,_0x17dde7){const _0x57e948=_0x22a835;for(let _0x2c7e33=0x0;_0x2c7e33<0x1e;_0x2c7e33++)try{if(await this['_getFormulaLimitStatus'](),this[_0x57e948(0x280)]()){this[_0x57e948(0x150)](_0x1a433c,_0x17dde7),this['_messageService'][_0x57e948(0x1de)]({'content':this[_0x57e948(0x211)]['t'](_0x57e948(0x1b3)),'type':_0x20dc80[_0x57e948(0x31c)]});return;}await new Promise(_0x4d58bd=>{const _0x4b7ad7=_0x57e948;this[_0x4b7ad7(0x277)]=window[_0x4b7ad7(0x325)](_0x4d58bd,0x3e8);});}catch(_0x41f234){this[_0x57e948(0x23c)]['error'](_0x41f234);}this[_0x57e948(0x190)][_0x57e948(0x1de)]({'content':this[_0x57e948(0x211)]['t'](_0x57e948(0x30b)),'type':_0x20dc80[_0x57e948(0x26d)]});}[_0x22a835(0x150)](_0x4ad007,_0x57e360){const _0x54a680=_0x22a835;try{this[_0x54a680(0x151)][_0x54a680(0x1ff)](_0x4ad007['id'],_0x4ad007['params'],_0x57e360);}catch(_0x271fb0){this[_0x54a680(0x23c)][_0x54a680(0x317)](_0x271fb0);}}[_0x22a835(0x353)](_0x380c5e,_0x40729c){const _0x10885c=_0x22a835;_0x40729c<this[_0x10885c(0x2c7)]||(this[_0x10885c(0x2c7)]=_0x40729c,this[_0x10885c(0x33b)]=Number[_0x10885c(0x2cd)](_0x380c5e[_0x10885c(0x1e0)]),this[_0x10885c(0x166)]=Number[_0x10885c(0x2cd)](_0x380c5e['currentUsage']));}async['_startCalculationLimit'](_0x4c7020){const _0x3bf8d0=_0x22a835;let _0x592f58=Date[_0x3bf8d0(0x16d)]();try{var _0x2572d2,_0x2a9f48;let _0x5ef896=((_0x2572d2=this[_0x3bf8d0(0x33a)][_0x3bf8d0(0x2e9)](_0x2d9981))==null?void 0x0:_0x2572d2[_0x3bf8d0(0x303)])||_0x3bf8d0(0x341),_0x1372c7=(await this[_0x3bf8d0(0x268)][_0x3bf8d0(0x312)](_0x5ef896,{'body':JSON[_0x3bf8d0(0x316)]({'taskId':_0x4c7020})}))[_0x3bf8d0(0x241)];if(((_0x2a9f48=_0x1372c7[_0x3bf8d0(0x317)])==null?void 0x0:_0x2a9f48[_0x3bf8d0(0x285)])!==_0x37cb64['OK'])return;this[_0x3bf8d0(0x353)](_0x1372c7[_0x3bf8d0(0x2d3)],_0x592f58);}catch(_0x54bfae){this[_0x3bf8d0(0x23c)][_0x3bf8d0(0x317)](_0x54bfae);}}async[_0x22a835(0x152)](_0x4afba0){const _0x1a9123=_0x22a835;let _0x308b05=Date[_0x1a9123(0x16d)]();try{var _0xece65c,_0x7fa4d;let _0x47ae69=((_0xece65c=this[_0x1a9123(0x33a)]['getConfig'](_0x2d9981))==null?void 0x0:_0xece65c[_0x1a9123(0x17a)])||_0x1a9123(0x249),_0x16330d=_0x4afba0?_0x47ae69+_0x1a9123(0x27c)+encodeURIComponent(_0x4afba0):_0x47ae69,_0x57bda3=(await this[_0x1a9123(0x268)][_0x1a9123(0x1a3)](_0x16330d))[_0x1a9123(0x241)];if(((_0x7fa4d=_0x57bda3['error'])==null?void 0x0:_0x7fa4d[_0x1a9123(0x285)])!==_0x37cb64['OK'])return;this[_0x1a9123(0x353)](_0x57bda3[_0x1a9123(0x2d3)],_0x308b05);}catch(_0x29726b){this[_0x1a9123(0x23c)][_0x1a9123(0x317)](_0x29726b);}}async[_0x22a835(0x2b4)](_0x37190d){const _0x4c495b=_0x22a835;let _0xfaa185=Date[_0x4c495b(0x16d)]();try{var _0x53d7d9,_0x3c11a5;let _0x53b0a9=((_0x53d7d9=this[_0x4c495b(0x33a)][_0x4c495b(0x2e9)](_0x2d9981))==null?void 0x0:_0x53d7d9[_0x4c495b(0x191)])||_0x4c495b(0x258),_0x27511b=(await this[_0x4c495b(0x268)][_0x4c495b(0x312)](_0x53b0a9,{'body':JSON[_0x4c495b(0x316)]({'taskId':_0x37190d})}))[_0x4c495b(0x241)];if(((_0x3c11a5=_0x27511b[_0x4c495b(0x317)])==null?void 0x0:_0x3c11a5[_0x4c495b(0x285)])!==_0x37cb64['OK'])return;this[_0x4c495b(0x353)](_0x27511b[_0x4c495b(0x2d3)],_0xfaa185);}catch(_0x527332){this[_0x4c495b(0x23c)][_0x4c495b(0x317)](_0x527332);}}[_0x22a835(0x280)](){const _0x177738=_0x22a835;return this[_0x177738(0x33b)]===0x0?!0x0:this[_0x177738(0x33b)]-this[_0x177738(0x166)]>0x0;}['_clearPolling'](){const _0x48a1fd=_0x22a835;this[_0x48a1fd(0x277)]&&(clearTimeout(this[_0x48a1fd(0x277)]),this['_pollingInterval']=null);}[_0x22a835(0x2d2)](){const _0xfa7ea=_0x22a835;this[_0xfa7ea(0x190)]['show']({'content':this[_0xfa7ea(0x211)]['t'](_0xfa7ea(0x1a0)),'type':_0x20dc80[_0xfa7ea(0x171)]});}[_0x22a835(0x2a6)](_0x283f3c){const _0x5869bf=_0x22a835;for(let _0x1d004a of _0x283f3c){let {unitId:_0x32d2a1,sheetId:_0x401a23,range:_0x5350df}=_0x1d004a,_0x2f49c6=this['_univerInstanceService'][_0x5869bf(0x267)](_0x32d2a1);if(!_0x2f49c6)continue;let _0x4630b9=_0x2f49c6['getSheetBySheetId'](_0x401a23);if(!_0x4630b9)continue;let _0x261fea=_0x4630b9[_0x5869bf(0x270)]();for(let _0xc8b721=_0x5350df['startRow'];_0xc8b721<=_0x5350df['endRow'];_0xc8b721++)for(let _0x5be3a8=_0x5350df[_0x5869bf(0x1bf)];_0x5be3a8<=_0x5350df[_0x5869bf(0x2d4)];_0x5be3a8++){let _0x1ddd4b=_0x261fea['getValue'](_0xc8b721,_0x5be3a8);if(_0x1ddd4b&&(_0x479fbb(_0x1ddd4b['f'])||_0x36458e(_0x1ddd4b['si'])))return!0x0;}}return!0x1;}};Z=K([G(0x0,_0x59973f(_0x1b516d)),G(0x1,_0x22e463),G(0x2,_0xdb0050),G(0x3,_0x59973f(_0x275cbb)),G(0x4,_0x24d1f0),G(0x5,_0x1cd8f8),G(0x6,_0x59973f(_0x589381))],Z);let kn=class extends _0x1c837b{constructor(_0x5c28fa,_0x441e5a,_0x537775){const _0x1283f0=_0x22a835;super(),this['_configService']=_0x5c28fa,this[_0x1283f0(0x207)]=_0x441e5a,this[_0x1283f0(0x307)]=_0x537775,W(this,'_cachedData',new Map()),W(this,_0x1283f0(0x14f),new Map()),W(this,_0x1283f0(0x2fa),!0x1);}['disableLocalCache'](){const _0x1afb20=_0x22a835;this[_0x1afb20(0x2fa)]=!0x0;}[_0x22a835(0x1d0)](){const _0x4d475c=_0x22a835;this[_0x4d475c(0x2fa)]=!0x1;}get[_0x22a835(0x310)](){return this['_saveTaskMap'];}[_0x22a835(0x2f1)](){const _0x945ee1=_0x22a835;this[_0x945ee1(0x1f7)]()[_0x945ee1(0x299)](()=>super[_0x945ee1(0x2f1)]());}async[_0x22a835(0x1d7)](_0x3ce04d){const _0x48176c=_0x22a835;return this[_0x48176c(0x2fa)]?null:this[_0x48176c(0x207)][_0x48176c(0x289)](_0x235cf9(_0x3ce04d));}async[_0x22a835(0x1ce)](_0x5b723f,_0x27ba39){return!!this['_localStorageService']['setItem'](_0x5b723f,_0x27ba39);}[_0x22a835(0x2fd)](_0xe9ad5a,_0x4a12f1,_0x4ad711,_0x39b0d0){const _0x59fe13=_0x22a835;let _0x3a4c26=this['_revisionService'][_0x59fe13(0x32b)](_0xe9ad5a);this[_0x59fe13(0x155)][_0x59fe13(0x26b)](_0xe9ad5a,{'unitID':_0xe9ad5a,'type':_0x4a12f1,'awaitingChangeset':_0x4ad711,'mutations':_0x39b0d0,'rev':_0x3a4c26}),this[_0x59fe13(0x14f)][_0x59fe13(0x21f)](_0xe9ad5a)||this[_0x59fe13(0x26c)](_0xe9ad5a);}[_0x22a835(0x26c)](_0xcbcc50){const _0x376400=_0x22a835;let _0x466d7d=this[_0x376400(0x1c8)]();_0x466d7d===0x0?this[_0x376400(0x28a)](_0xcbcc50):this[_0x376400(0x14f)]['set'](_0xcbcc50,setTimeout(()=>this['_saveCache'](_0xcbcc50),_0x466d7d));}[_0x22a835(0x1c8)](){const _0x29022d=_0x22a835;var _0x2eb38d;return(_0x2eb38d=this['_configService'][_0x29022d(0x2e9)](_0x419c95))==null?_0x1a56b1:_0x2eb38d;}['_saveCache'](_0x1165c7){const _0x3af9d1=_0x22a835;let _0x2840e6=this['_saveTaskMap']['get'](_0x1165c7);return _0x2840e6!==void 0x0&&window[_0x3af9d1(0x1ec)](_0x2840e6),this[_0x3af9d1(0x207)][_0x3af9d1(0x246)](_0x235cf9(_0x1165c7),this[_0x3af9d1(0x155)][_0x3af9d1(0x1a3)](_0x1165c7))[_0x3af9d1(0x299)](()=>this['_saveTaskMap']['delete'](_0x1165c7));}async[_0x22a835(0x1f7)](){const _0x17dc6b=_0x22a835;let _0x29ae9a=[];this['_saveTaskMap']['forEach']((_0x505574,_0x1c84ef)=>{const _0x386c94=_0x3898;window['clearTimeout'](_0x505574),_0x29ae9a[_0x386c94(0x233)](this[_0x386c94(0x28a)](_0x1c84ef)['then'](()=>{const _0x45e3a4=_0x386c94;this[_0x45e3a4(0x14f)][_0x45e3a4(0x1c9)](_0x1c84ef);}));}),await Promise[_0x17dc6b(0x14a)](_0x29ae9a);}};kn=K([G(0x0,_0xdb0050),G(0x1,_0x44ec5e),G(0x2,_0x59973f(_0xacb3f0))],kn);var An=class extends _0x1a4d48{constructor(){const _0x27bd12=_0x22a835;super(),W(this,_0x27bd12(0x21a),void 0x0),this[_0x27bd12(0x21a)]=_0xf87eee(window,'popstate')[_0x27bd12(0x315)](_0x4eeae1(this['dispose$']),_0x108f1c(0x1),_0x3cc54b(void 0x0));}['setParam'](_0x3f85a1,_0x17a4ef,_0x528037=!0x1){const _0x4ee4bd=_0x22a835;let _0x32e067=new URL(window[_0x4ee4bd(0x349)][_0x4ee4bd(0x264)]);_0x32e067['searchParams'][_0x4ee4bd(0x26b)](_0x3f85a1,_0x17a4ef),_0x528037?window[_0x4ee4bd(0x352)][_0x4ee4bd(0x1fb)]('','',_0x32e067['toString']()):window[_0x4ee4bd(0x352)]['pushState']('','',_0x32e067[_0x4ee4bd(0x1e6)]());}[_0x22a835(0x203)](_0x4722d8,_0xc73ca=!0x1){const _0x464983=_0x22a835;let _0x4031d5=new URL(window['location'][_0x464983(0x264)]);_0x4031d5[_0x464983(0x1be)]['delete'](_0x4722d8),_0xc73ca?window['history']['replaceState']('','',_0x4031d5[_0x464983(0x1e6)]()):window[_0x464983(0x352)][_0x464983(0x1b2)]('','',_0x4031d5[_0x464983(0x1e6)]());}['getParam'](_0x2aec8e){const _0x5ef9e2=_0x22a835;var _0x2432ea;return(_0x2432ea=new URL(window[_0x5ef9e2(0x349)]['href'])[_0x5ef9e2(0x1be)][_0x5ef9e2(0x1a3)](_0x2aec8e))==null?void 0x0:_0x2432ea;}};let Q=class extends _0x2c34fa{constructor(_0x2265a9=Sn,_0xbce300,_0x1447d7,_0x4e24c1){const _0x2120fb=_0x22a835;super(),this[_0x2120fb(0x286)]=_0x2265a9,this[_0x2120fb(0x293)]=_0xbce300,this['_injector']=_0x1447d7,this[_0x2120fb(0x33a)]=_0x4e24c1;let {..._0xedc564}=_0x537075({},Sn,this['_config']);this[_0x2120fb(0x33a)][_0x2120fb(0x15d)](xn,_0xedc564);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x22a835(0x279)](){const _0x124689=_0x22a835;this[_0x124689(0x2b8)]();}['_registerDependencies'](){const _0x2ce566=_0x22a835;var _0x49662a;let _0x3c5eba=[[rn],[Z],[wn],[X],[Cn],[cn],[Qt,{'useClass':An}],[_0x4c5b8c,{'useClass':_0x2cb44e}],[_0x9b710f,{'useClass':kn}],[q],[Tn],[bn],[Y],[tn],[J]];this['_config'][_0x2ce566(0x229)]&&_0x3c5eba[_0x2ce566(0x233)]([En]),_0x2df223(this[_0x2ce566(0x23d)],_0x4b4a9b(_0x3c5eba,(_0x49662a=this[_0x2ce566(0x286)])==null?void 0x0:_0x49662a['override']));}[_0x22a835(0x2b8)](){const _0xe36682=_0x22a835;this[_0xe36682(0x2bc)](this[_0xe36682(0x293)][_0xe36682(0x27a)](_0x148bd6[_0xe36682(0x20f)],[gn])),this[_0xe36682(0x2bc)](this[_0xe36682(0x293)][_0xe36682(0x27a)](_0x148bd6[_0xe36682(0x17d)],[vn]));}[_0x22a835(0x1e3)](){const _0x13d5bf=_0x22a835;_0x48b00b(this[_0x13d5bf(0x23d)],[[Y],[q],[Tn],[bn],[J],[Z]]),this[_0x13d5bf(0x286)][_0x13d5bf(0x229)]&&_0x48b00b(this['_injector'],[[En]]);}};W(Q,_0x22a835(0x306),_0x22a835(0x273)),W(Q,_0x22a835(0x18f),$t),W(Q,_0x22a835(0x192),en),Q=K([_0x4eed79(_0x2bdc44),G(0x1,_0x226a05),G(0x2,_0x59973f(_0x597616)),G(0x3,_0xdb0050)],Q);let jn=class extends _0x4c8956{constructor(_0x3ccd8b,_0x752d38,_0x55aa91,_0xe03ca,_0x333ba6){super(_0x3ccd8b,_0x752d38,_0x55aa91,_0xe03ca,_0x333ba6);}async[_0x22a835(0x33e)](_0x187901){const _0x49290b=_0x22a835;let _0x51a2ab=await this['_getSessionTicket'](),_0xb6a8d4=this[_0x49290b(0x2ea)](_0x187901,_0x51a2ab);return this[_0x49290b(0x221)](_0xb6a8d4);}[_0x22a835(0x2ea)](_0x2a23dd,_0x4ed918){const _0x253a18=_0x22a835;let _0x4dcbc4=typeof window>'u'?new URL(_0x2a23dd):new URL(_0x2a23dd,window[_0x253a18(0x349)][_0x253a18(0x2de)]);_0x4dcbc4[_0x253a18(0x1be)][_0x253a18(0x26b)](_0x253a18(0x2c2),_0x4ed918);let _0x4ddc6d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x253a18(0x349)]['search']);return _0x4ddc6d[_0x253a18(0x1a3)](_0x253a18(0x162))&&_0x4dcbc4[_0x253a18(0x1be)][_0x253a18(0x26b)](_0x253a18(0x162),_0x4ddc6d[_0x253a18(0x1a3)](_0x253a18(0x162))),_0x4dcbc4[_0x253a18(0x1e6)]();}async['_getSessionTicket'](){const _0x1e7e58=_0x22a835;var _0x1c402b,_0x33ea96,_0x36ea17;let _0x5ded26=this[_0x1e7e58(0x33a)][_0x1e7e58(0x2e9)](_0x2d9981),_0x5361ff=(_0x1c402b=_0x5ded26==null?void 0x0:_0x5ded26['wsSessionTicketUrl'])==null?_0x24f5b0:_0x1c402b;return(_0x33ea96=(_0x36ea17=(await this['_httpService']['get'](_0x5361ff,{'headers':{'Content-Type':_0x1e7e58(0x2d1)}}))['body'])==null?void 0x0:_0x36ea17['ticket'])==null?'':_0x33ea96;}};jn=K([G(0x0,_0x59973f(_0x597616)),G(0x1,_0x59973f(_0x275cbb)),G(0x2,_0xdb0050),G(0x3,_0x1cd8f8),G(0x4,_0x2fde9b)],jn);let Mn=class extends _0x1c837b{constructor(_0x2432b8,_0xf014df,_0x3766aa){const _0x346358=_0x22a835;super(),this[_0x346358(0x34c)]=_0x2432b8,this[_0x346358(0x268)]=_0xf014df,this[_0x346358(0x33a)]=_0x3766aa;}async[_0x22a835(0x321)](_0x229c87,_0x29c992,_0xa5d436,..._0x57c4a6){const _0x338db1=_0x22a835;var _0x55add5,_0x85fe2f,_0x1ef02f,_0x434211;let _0x14ae16=this[_0x338db1(0x34c)][_0x338db1(0x345)]();if(!_0x14ae16)throw Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');let _0x225f9a=((_0x55add5=this[_0x338db1(0x33a)][_0x338db1(0x2e9)](_0x77be54))==null?_0x18d7a9:_0x55add5)+'/'+_0x229c87+_0x338db1(0x1ee)+_0x29c992,_0x2b1115={'scriptId':_0x229c87,'runId':(_0x85fe2f=new URL(window[_0x338db1(0x349)][_0x338db1(0x264)])['searchParams']['get'](_0x338db1(0x162)))==null?'':_0x85fe2f,'function':_0x29c992,'unitId':_0x14ae16['getUnitId'](),'argsOfFunction':JSON[_0x338db1(0x316)](_0x57c4a6),'invokeId':(_0x1ef02f=_0xa5d436[_0x338db1(0x216)])==null?'':_0x1ef02f,'executionId':(_0x434211=_0xa5d436[_0x338db1(0x338)])==null?'':_0x434211};try{let _0x5b5da1=await this[_0x338db1(0x268)][_0x338db1(0x312)](_0x225f9a,{'body':_0x2b1115});return _0x5b5da1[_0x338db1(0x241)]['error']&&_0x5b5da1[_0x338db1(0x241)]['error']['code']!==_0x37cb64['OK']?_0x338db1(0x322):_0x5b5da1['body'][_0x338db1(0x204)];}catch{return _0x338db1(0x322);}}};Mn=K([G(0x0,_0x24d1f0),G(0x1,_0x59973f(_0x275cbb)),G(0x2,_0xdb0050)],Mn);var $=function(_0x612671){const _0x30f1c8=_0x22a835;return _0x612671[_0x612671[_0x30f1c8(0x223)]=0x0]=_0x30f1c8(0x223),_0x612671[_0x612671[_0x30f1c8(0x331)]=0x1]=_0x30f1c8(0x331),_0x612671[_0x612671[_0x30f1c8(0x188)]=0x2]=_0x30f1c8(0x188),_0x612671;}($||{});const Nn=0x7530,Pn=_0x22a835(0x26a);var Fn=class extends _0x1c837b{constructor(){const _0x167af8=_0x22a835;super(),W(this,_0x167af8(0x1c5),_0x8c3b74()),W(this,_0x167af8(0x32d),new Set()),W(this,_0x167af8(0x173),new Map()),W(this,_0x167af8(0x238),null),W(this,_0x167af8(0x340),new Map()),W(this,_0x167af8(0x32a),new Map()),this[_0x167af8(0x1ed)]();}[_0x22a835(0x2f1)](){const _0x324b41=_0x22a835;super[_0x324b41(0x2f1)](),this['_clearOtherTimers'][_0x324b41(0x2b2)]((_0x53b401,_0x23a798)=>this[_0x324b41(0x20b)](_0x23a798)),this[_0x324b41(0x238)]&&window[_0x324b41(0x1ca)](this[_0x324b41(0x238)]);}['getUnitStatus$'](_0x49f33a){const _0x444548=_0x22a835;return this[_0x444548(0x2b5)](_0x49f33a)[_0x444548(0x315)](_0x2f1f45());}[_0x22a835(0x209)](_0x476d8a){const _0x13075f=_0x22a835;this[_0x13075f(0x32d)][_0x13075f(0x22b)]===0x0&&this[_0x13075f(0x31a)](),this['_selfUnitIDs'][_0x13075f(0x28b)](_0x476d8a),this[_0x13075f(0x2fe)]({'type':$[_0x13075f(0x223)],'memberID':this[_0x13075f(0x1c5)],'unitIDs':[_0x476d8a],'isForwarded':!0x1});}[_0x22a835(0x29d)](_0x160a02){const _0x4c0acd=_0x22a835;this['_selfUnitIDs']['delete'](_0x160a02),this[_0x4c0acd(0x32d)][_0x4c0acd(0x22b)]===0x0&&this[_0x4c0acd(0x238)]&&window['clearInterval'](this[_0x4c0acd(0x238)]);}[_0x22a835(0x1ed)](){const _0x2223f7=_0x22a835;this[_0x2223f7(0x2bc)](_0x42a06b(_0xf87eee(window,_0x2223f7(0x1e5))[_0x2223f7(0x291)](_0x57889d=>{const _0x4a7c73=_0x2223f7;if(_0x57889d[_0x4a7c73(0x1f4)]!==Pn||!_0x57889d[_0x4a7c73(0x2af)])return;let _0x3dd199=JSON[_0x4a7c73(0x2aa)](_0x57889d[_0x4a7c73(0x2af)]);this[_0x4a7c73(0x20c)](_0x3dd199);}))),window[_0x2223f7(0x2bb)](_0x2223f7(0x262),()=>this[_0x2223f7(0x2fe)]({'type':$[_0x2223f7(0x331)],'memberID':this[_0x2223f7(0x1c5)],'unitIDs':Array[_0x2223f7(0x193)](this[_0x2223f7(0x32d)])}));}[_0x22a835(0x20c)](_0x5345ba){const _0x5bfa5c=_0x22a835;switch(_0x5345ba[_0x5bfa5c(0x156)]){case $['JOIN']:this[_0x5bfa5c(0x161)](_0x5345ba);break;case $[_0x5bfa5c(0x331)]:this[_0x5bfa5c(0x1f3)](_0x5345ba);break;case $['HEARTBEAT']:this[_0x5bfa5c(0x1f5)](_0x5345ba);break;}}[_0x22a835(0x161)](_0x5c0bef){const _0x4834b0=_0x22a835;let {unitIDs:_0x3c3cad,memberID:_0x1c3938,isForwarded:_0x595517}=_0x5c0bef;_0x3c3cad[_0x4834b0(0x2b2)](_0x25c133=>{const _0x59239c=_0x4834b0;if(!_0x595517&&this[_0x59239c(0x173)][_0x59239c(0x21f)](_0x25c133)&&this['_ensureSubject'](_0x25c133)[_0x59239c(0x2b0)](_0x245373[_0x59239c(0x2a1)]),!this[_0x59239c(0x173)]['has'](_0x25c133)||!this['_unitOnClients'][_0x59239c(0x1a3)](_0x25c133)[_0x59239c(0x21f)](_0x1c3938)){let _0x7094fb=this[_0x59239c(0x173)][_0x59239c(0x1a3)](_0x25c133)||new Set();_0x7094fb[_0x59239c(0x28b)](_0x1c3938),this[_0x59239c(0x173)][_0x59239c(0x26b)](_0x25c133,_0x7094fb),this[_0x59239c(0x29c)](_0x1c3938);}}),_0x595517||this[_0x4834b0(0x2fe)]({'type':$[_0x4834b0(0x223)],'memberID':this[_0x4834b0(0x1c5)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x22a835(0x29c)](_0x26c088){const _0x4b4eea=_0x22a835;this[_0x4b4eea(0x20b)](_0x26c088);let _0xda378f=window['setTimeout'](()=>{const _0x7d21da=_0x4b4eea;this[_0x7d21da(0x173)][_0x7d21da(0x2b2)](_0x16c9a6=>{const _0x33c39e=_0x7d21da;_0x16c9a6[_0x33c39e(0x1c9)](_0x26c088);});},Nn*0x2);this[_0x4b4eea(0x340)][_0x4b4eea(0x26b)](_0x26c088,_0xda378f);}[_0x22a835(0x20b)](_0x279cbe){const _0x3aee44=_0x22a835;if(this[_0x3aee44(0x340)]['has'](_0x279cbe)){let _0x402ba4=this['_clearOtherTimers'][_0x3aee44(0x1a3)](_0x279cbe);_0x402ba4&&window[_0x3aee44(0x1ec)](_0x402ba4),this[_0x3aee44(0x340)][_0x3aee44(0x26b)](_0x279cbe,null);}}[_0x22a835(0x1f3)](_0x549277){const _0x3600d2=_0x22a835;let {memberID:_0x18b31b,unitIDs:_0x572b75}=_0x549277;_0x572b75[_0x3600d2(0x2b2)](_0x7ba460=>{const _0x3ebcf5=_0x3600d2;var _0x2d0bbe;let _0x2fbc78=this[_0x3ebcf5(0x173)]['get'](_0x7ba460);_0x2fbc78&&(_0x2fbc78['delete'](_0x18b31b),(_0x2d0bbe=this[_0x3ebcf5(0x2b5)](_0x7ba460))==null||_0x2d0bbe['next'](_0x2fbc78[_0x3ebcf5(0x22b)]===0x0?_0x245373[_0x3ebcf5(0x2d9)]:_0x245373['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x18b31b);}[_0x22a835(0x1f5)](_0x34b437){const _0x2a428a=_0x22a835;this[_0x2a428a(0x29c)](_0x34b437[_0x2a428a(0x308)]);}['_send'](_0x2d22d0){const _0x9d524d=_0x22a835;localStorage[_0x9d524d(0x246)](Pn,JSON['stringify'](_0x2d22d0));}[_0x22a835(0x31a)](){const _0x4c10ba=_0x22a835;this[_0x4c10ba(0x238)]=window[_0x4c10ba(0x1e2)](()=>{const _0x583bce=_0x4c10ba;this['_send']({'type':$[_0x583bce(0x188)],'memberID':this[_0x583bce(0x1c5)]});},Nn);}['_ensureSubject'](_0x2bc744){const _0x288f50=_0x22a835;return this[_0x288f50(0x32a)][_0x288f50(0x21f)](_0x2bc744)||this[_0x288f50(0x32a)][_0x288f50(0x26b)](_0x2bc744,new _0x57803d(_0x245373[_0x288f50(0x2d9)])),this[_0x288f50(0x32a)]['get'](_0x2bc744);}};export{jn as BrowserCollaborationSocketService,J as CollaborationDataLoaderController,q as DesktopCollaborationStatusDisplayController,Qt as IURLService,Mn as RemoteUniscriptService,_n as SheetCollabCursorShape,Q as UniverCollaborationClientUIPlugin,Fn as WebBrowserSingleActiveUnitService,An as WebURLService};
@@ -1 +1 @@
1
- function _0x350d(){const _0x202850=['Click\x20to\x20Reconnect','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Collaboration\x20Conflict','2098494XpZLzF','1237581rHYDBc','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Local\x20file','2589522eDYfoT','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','1834042rEENtK','Syncing\x20server\x20data...','23267299UleBIr','2563127NtLGoN','Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.','You\x20have\x20offline\x20edits\x20that\x20have\x20not\x20been\x20saved\x20to\x20the\x20server.\x20Please\x20check\x20your\x20network\x20and\x20try\x20again.','Edit\x20conflicts','16yuwpPt','Synced','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','Formula\x20calculation\x20started.','2388zqvjQy','There\x20is\x20a\x20conflict\x20between\x20your\x20local\x20copy\x20and\x20the\x20copy\x20on\x20the\x20server.\x20Please\x20save\x20your\x20local\x20edits,\x20because\x20they\x20will\x20be\x20lost\x20when\x20you\x20reload\x20the\x20page.','Syncing...','1FxjvDE','Connection\x20failed,\x20please\x20check\x20your\x20network.','Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','Authentication\x20Error','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','20RtzoFg','3595KLwSNU'];_0x350d=function(){return _0x202850;};return _0x350d();}const _0x4a6435=_0x5978;(function(_0x5667fb,_0x4d7841){const _0x4d52a1=_0x5978,_0x5d593f=_0x5667fb();while(!![]){try{const _0x48bf64=-parseInt(_0x4d52a1(0xf7))/0x1*(-parseInt(_0x4d52a1(0xe9))/0x2)+parseInt(_0x4d52a1(0x101))/0x3+-parseInt(_0x4d52a1(0xf4))/0x4*(-parseInt(_0x4d52a1(0xfd))/0x5)+-parseInt(_0x4d52a1(0xe7))/0x6+-parseInt(_0x4d52a1(0xec))/0x7*(-parseInt(_0x4d52a1(0xf0))/0x8)+parseInt(_0x4d52a1(0x102))/0x9*(parseInt(_0x4d52a1(0xfc))/0xa)+-parseInt(_0x4d52a1(0xeb))/0xb;if(_0x48bf64===_0x4d7841)break;else _0x5d593f['push'](_0x5d593f['shift']());}catch(_0x4e7a9d){_0x5d593f['push'](_0x5d593f['shift']());}}}(_0x350d,0x7b9c2));function _0x5978(_0x270191,_0x45eb7c){_0x270191=_0x270191-0xe6;const _0x350d8c=_0x350d();let _0x5978a0=_0x350d8c[_0x270191];return _0x5978a0;}const e={'collab-client':{'tooltip':{'reconnect':_0x4a6435(0xfe)}},'collabStatus':{'fetchMiss':_0x4a6435(0xea),'conflict':_0x4a6435(0xef),'notCollab':_0x4a6435(0xe6),'synced':_0x4a6435(0xf1),'syncing':_0x4a6435(0xf6),'offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x4a6435(0xf8),'will-retry':_0x4a6435(0xff),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x4a6435(0xfb)},'conflict':{'title':_0x4a6435(0x100),'content':_0x4a6435(0xf5)},'permission':{'title':_0x4a6435(0xfa),'content':'Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'},'collaboration':{'offline-data-not-saved':_0x4a6435(0xee),'single-unit':{'warning':_0x4a6435(0xe8)},'closeRoom':_0x4a6435(0x103)},'auth':{'needGotoLoginAlert':_0x4a6435(0xf2)},'formula':{'calculation':{'started':_0x4a6435(0xf3),'waiting':_0x4a6435(0xf9),'unable':_0x4a6435(0xed)}}};export{e as default};
1
+ const _0xc5b397=_0x4323;function _0x4323(_0x35757b,_0x2b41a3){_0x35757b=_0x35757b-0xf7;const _0x30c6df=_0x30c6();let _0x4323f7=_0x30c6df[_0x35757b];return _0x4323f7;}(function(_0x2f8d02,_0x2784fd){const _0x3593a3=_0x4323,_0x41f8ee=_0x2f8d02();while(!![]){try{const _0x384a74=parseInt(_0x3593a3(0x10f))/0x1*(-parseInt(_0x3593a3(0x10a))/0x2)+parseInt(_0x3593a3(0x10c))/0x3*(parseInt(_0x3593a3(0x110))/0x4)+-parseInt(_0x3593a3(0x109))/0x5+parseInt(_0x3593a3(0xf9))/0x6*(-parseInt(_0x3593a3(0x111))/0x7)+parseInt(_0x3593a3(0x108))/0x8*(-parseInt(_0x3593a3(0xf7))/0x9)+parseInt(_0x3593a3(0xff))/0xa+parseInt(_0x3593a3(0x10d))/0xb;if(_0x384a74===_0x2784fd)break;else _0x41f8ee['push'](_0x41f8ee['shift']());}catch(_0x40eaf1){_0x41f8ee['push'](_0x41f8ee['shift']());}}}(_0x30c6,0x4ca25));const e={'collab-client':{'tooltip':{'reconnect':_0xc5b397(0xfc)}},'collabStatus':{'fetchMiss':_0xc5b397(0x105),'conflict':'Edit\x20conflicts','notCollab':_0xc5b397(0x101),'synced':_0xc5b397(0x103),'syncing':_0xc5b397(0xf8),'offline':_0xc5b397(0x102)},'session':{'connection-failed':_0xc5b397(0xfa),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':_0xc5b397(0x114),'collaboration-timeout':_0xc5b397(0x104)},'conflict':{'title':_0xc5b397(0x113),'content':_0xc5b397(0x107)},'permission':{'title':_0xc5b397(0x10b),'content':_0xc5b397(0xfe)},'collaboration':{'offline-data-not-saved':_0xc5b397(0x100),'single-unit':{'warning':_0xc5b397(0x112)},'closeRoom':_0xc5b397(0x106)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'},'formula':{'calculation':{'started':_0xc5b397(0xfd),'waiting':_0xc5b397(0xfb),'unable':_0xc5b397(0x10e)}}};function _0x30c6(){const _0x42788e=['Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','27HWJyMD','Syncing...','672ywctxK','Connection\x20failed,\x20please\x20check\x20your\x20network.','Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','Click\x20to\x20Reconnect','Formula\x20calculation\x20started.','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','3795320Mkixuu','You\x20have\x20offline\x20edits\x20that\x20have\x20not\x20been\x20saved\x20to\x20the\x20server.\x20Please\x20check\x20your\x20network\x20and\x20try\x20again.','Local\x20file','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','Synced','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Syncing\x20server\x20data...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','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.','1031960rfXznR','2237015MizZTN','218BtPQbk','Authentication\x20Error','6DWUKSn','17008002cdNGjl','Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.','5503FtQFEz','24020wDmbnH','11851XGAacR','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20Conflict'];_0x30c6=function(){return _0x42788e;};return _0x30c6();}export{e as default};
@@ -1 +1 @@
1
- const _0x536780=_0x4433;function _0x1096(){const _0x4ad632=['Syncing\x20server\x20data...','4432122sAYwjJ','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','924GOANbA','Authentication\x20Error','Formula\x20calculation\x20started.','Click\x20to\x20Reconnect','Edit\x20conflicts','5532237ymttvp','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','Collaboration\x20Conflict','20NdWoym','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','124yCbege','Synced','Connection\x20failed,\x20please\x20check\x20your\x20network.','3642520suHjmW','2297920fBTHNm','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.','277109OOKHYl','1898gERipe','You\x20have\x20offline\x20edits\x20that\x20have\x20not\x20been\x20saved\x20to\x20the\x20server.\x20Please\x20check\x20your\x20network\x20and\x20try\x20again.','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','136845rZfIch','Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Syncing...'];_0x1096=function(){return _0x4ad632;};return _0x1096();}(function(_0x27a05b,_0xdee870){const _0xce6e0d=_0x4433,_0x26b871=_0x27a05b();while(!![]){try{const _0xb2a628=parseInt(_0xce6e0d(0xac))/0x1+parseInt(_0xce6e0d(0xad))/0x2*(parseInt(_0xce6e0d(0x9c))/0x3)+parseInt(_0xce6e0d(0xa6))/0x4*(-parseInt(_0xce6e0d(0xb0))/0x5)+-parseInt(_0xce6e0d(0xb5))/0x6+parseInt(_0xce6e0d(0xa9))/0x7+-parseInt(_0xce6e0d(0xaa))/0x8+parseInt(_0xce6e0d(0xa1))/0x9*(parseInt(_0xce6e0d(0xa4))/0xa);if(_0xb2a628===_0xdee870)break;else _0x26b871['push'](_0x26b871['shift']());}catch(_0x45cd46){_0x26b871['push'](_0x26b871['shift']());}}}(_0x1096,0x6c96d));function _0x4433(_0x3a2c6c,_0x49d8e4){_0x3a2c6c=_0x3a2c6c-0x9b;const _0x10968b=_0x1096();let _0x443347=_0x10968b[_0x3a2c6c];return _0x443347;}const e={'collab-client':{'tooltip':{'reconnect':_0x536780(0x9f)}},'collabStatus':{'fetchMiss':_0x536780(0xb4),'conflict':_0x536780(0xa0),'notCollab':'Local\x20file','synced':_0x536780(0xa7),'syncing':_0x536780(0xb3),'offline':_0x536780(0x9b)},'session':{'connection-failed':_0x536780(0xa8),'will-retry':'Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':_0x536780(0xaf)},'conflict':{'title':_0x536780(0xa3),'content':_0x536780(0xab)},'permission':{'title':_0x536780(0x9d),'content':_0x536780(0xa5)},'collaboration':{'offline-data-not-saved':_0x536780(0xae),'single-unit':{'warning':_0x536780(0xa2)},'closeRoom':_0x536780(0xb2)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'},'formula':{'calculation':{'started':_0x536780(0x9e),'waiting':_0x536780(0xb1),'unable':'Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.'}}};export{e as default};
1
+ const _0x1ca106=_0x5cdb;(function(_0x440a0e,_0x5a4930){const _0x2d0795=_0x5cdb,_0x1f0af3=_0x440a0e();while(!![]){try{const _0x41beb5=-parseInt(_0x2d0795(0x1a1))/0x1*(-parseInt(_0x2d0795(0x18a))/0x2)+parseInt(_0x2d0795(0x192))/0x3+parseInt(_0x2d0795(0x197))/0x4*(parseInt(_0x2d0795(0x18b))/0x5)+parseInt(_0x2d0795(0x19b))/0x6+-parseInt(_0x2d0795(0x18e))/0x7*(parseInt(_0x2d0795(0x1a0))/0x8)+parseInt(_0x2d0795(0x18f))/0x9+-parseInt(_0x2d0795(0x189))/0xa*(parseInt(_0x2d0795(0x198))/0xb);if(_0x41beb5===_0x5a4930)break;else _0x1f0af3['push'](_0x1f0af3['shift']());}catch(_0x2bfc65){_0x1f0af3['push'](_0x1f0af3['shift']());}}}(_0x17c5,0xdae31));function _0x17c5(){const _0x4c852a=['Connection\x20failed,\x20please\x20check\x20your\x20network.','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.','996TegRfw','2586661BGcgqI','You\x20have\x20offline\x20edits\x20that\x20have\x20not\x20been\x20saved\x20to\x20the\x20server.\x20Please\x20check\x20your\x20network\x20and\x20try\x20again.','Authentication\x20Error','9350562nNkLan','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Synced','Syncing\x20server\x20data...','You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.','9472pGfOKd','549655CheByL','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','180aOihKL','4CbOTUc','2995OlCIhe','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','238kdDnLh','10855161UdRKWC','Collaboration\x20Conflict','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','3469554mtejKk','Click\x20to\x20Reconnect','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.'];_0x17c5=function(){return _0x4c852a;};return _0x17c5();}const e={'collab-client':{'tooltip':{'reconnect':_0x1ca106(0x193)}},'collabStatus':{'fetchMiss':_0x1ca106(0x19e),'conflict':'Edit\x20conflicts','notCollab':'Local\x20file','synced':_0x1ca106(0x19d),'syncing':'Syncing...','offline':_0x1ca106(0x1a2)},'session':{'connection-failed':_0x1ca106(0x195),'will-retry':_0x1ca106(0x19c),'room-full':_0x1ca106(0x18c),'collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':_0x1ca106(0x190),'content':_0x1ca106(0x196)},'permission':{'title':_0x1ca106(0x19a),'content':_0x1ca106(0x194)},'collaboration':{'offline-data-not-saved':_0x1ca106(0x199),'single-unit':{'warning':_0x1ca106(0x19f)},'closeRoom':_0x1ca106(0x191)},'auth':{'needGotoLoginAlert':_0x1ca106(0x18d)},'formula':{'calculation':{'started':'Formula\x20calculation\x20started.','waiting':'Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','unable':'Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.'}}};function _0x5cdb(_0x1e096f,_0x53ff0a){_0x1e096f=_0x1e096f-0x189;const _0x17c5d1=_0x17c5();let _0x5cdb77=_0x17c5d1[_0x1e096f];return _0x5cdb77;}export{e as default};
@@ -1 +1 @@
1
- const _0x28a7ce=_0x409a;function _0x409a(_0x119ea6,_0x2c3180){_0x119ea6=_0x119ea6-0x1c4;const _0x5d58a0=_0x5d58();let _0x409a27=_0x5d58a0[_0x119ea6];return _0x409a27;}(function(_0x41b15d,_0x4fbbed){const _0x39b5a0=_0x409a,_0x51d70c=_0x41b15d();while(!![]){try{const _0x31a6ed=-parseInt(_0x39b5a0(0x1d8))/0x1+parseInt(_0x39b5a0(0x1d5))/0x2*(parseInt(_0x39b5a0(0x1dc))/0x3)+parseInt(_0x39b5a0(0x1cc))/0x4+-parseInt(_0x39b5a0(0x1c9))/0x5*(-parseInt(_0x39b5a0(0x1cd))/0x6)+-parseInt(_0x39b5a0(0x1d6))/0x7*(-parseInt(_0x39b5a0(0x1c7))/0x8)+-parseInt(_0x39b5a0(0x1d3))/0x9*(-parseInt(_0x39b5a0(0x1d9))/0xa)+-parseInt(_0x39b5a0(0x1cf))/0xb;if(_0x31a6ed===_0x4fbbed)break;else _0x51d70c['push'](_0x51d70c['shift']());}catch(_0x118eb3){_0x51d70c['push'](_0x51d70c['shift']());}}}(_0x5d58,0xec6a3));const e={'collab-client':{'tooltip':{'reconnect':_0x28a7ce(0x1cb)}},'collabStatus':{'fetchMiss':_0x28a7ce(0x1d1),'conflict':_0x28a7ce(0x1c4),'notCollab':'Local\x20file','synced':_0x28a7ce(0x1da),'syncing':_0x28a7ce(0x1c5),'offline':_0x28a7ce(0x1c8)},'session':{'connection-failed':'Connection\x20failed,\x20please\x20check\x20your\x20network.','will-retry':_0x28a7ce(0x1ca),'room-full':'Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','collaboration-timeout':'The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.'},'conflict':{'title':'Collaboration\x20Conflict','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':_0x28a7ce(0x1c6),'content':_0x28a7ce(0x1d7)},'collaboration':{'offline-data-not-saved':_0x28a7ce(0x1ce),'single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x28a7ce(0x1dd)},'auth':{'needGotoLoginAlert':_0x28a7ce(0x1db)},'formula':{'calculation':{'started':_0x28a7ce(0x1d0),'waiting':_0x28a7ce(0x1d4),'unable':_0x28a7ce(0x1d2)}}};function _0x5d58(){const _0x2368fc=['Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.','12uJYRQp','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Edit\x20conflicts','Syncing...','Authentication\x20Error','8hzAqAd','Offline,\x20edits\x20would\x20be\x20save\x20on\x20local','15qmRBfp','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','Click\x20to\x20Reconnect','4796488YWAzwx','1937514gbvdHV','You\x20have\x20offline\x20edits\x20that\x20have\x20not\x20been\x20saved\x20to\x20the\x20server.\x20Please\x20check\x20your\x20network\x20and\x20try\x20again.','60885011IWFrJL','Formula\x20calculation\x20started.','Syncing\x20server\x20data...','Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.','9QQRyID','Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','829734sdnHzJ','8619674SZIXXp','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','360140HGktVV','18047670EnqcWO','Synced'];_0x5d58=function(){return _0x2368fc;};return _0x5d58();}export{e as default};
1
+ const _0x4f8a60=_0x34df;function _0x49ad(){const _0x58fe6c=['18258230qDLGZK','Click\x20to\x20Reconnect','Authentication\x20Error','819ppeEtd','Your\x20actions\x20are\x20conflicting\x20with\x20the\x20server\x27s\x20permissions.\x20Please\x20save\x20your\x20local\x20edits\x20elsewhere\x20as\x20they\x20will\x20be\x20discarded\x20after\x20refreshing\x20the\x20page.','Syncing\x20server\x20data...','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.','Editing\x20privileges\x20were\x20revoked\x20because\x20the\x20collaborative\x20room\x20was\x20closed.','Collaboration\x20room\x20is\x20full.\x20You\x20edits\x20would\x20be\x20saved\x20locally.','Collaboration\x20Conflict','796088HiQEyQ','Connection\x20failed,\x20please\x20check\x20your\x20network.','4510pSDIxU','The\x20server\x20is\x20not\x20responding\x20to\x20your\x20collaboration\x20request.\x20Your\x20edits\x20would\x20be\x20saved\x20locally.','Formula\x20calculation\x20queue\x20is\x20full,\x20waiting\x20for\x20available\x20slot...','Synced','1268787OUaIIr','1333194JziXRU','Formula\x20calculation\x20started.','559552VfnpZb','Connection\x20failed,\x20we\x20retry\x20in\x20a\x20while.','1436VIrYgg','15240MzQyGo','Local\x20file','4DIyucv'];_0x49ad=function(){return _0x58fe6c;};return _0x49ad();}(function(_0x4bf78a,_0x25a27a){const _0x2fb205=_0x34df,_0x4ef861=_0x4bf78a();while(!![]){try{const _0x399552=parseInt(_0x2fb205(0x1dc))/0x1+parseInt(_0x2fb205(0x1d1))/0x2*(parseInt(_0x2fb205(0x1c9))/0x3)+-parseInt(_0x2fb205(0x1ce))/0x4*(-parseInt(_0x2fb205(0x1de))/0x5)+parseInt(_0x2fb205(0x1ca))/0x6+-parseInt(_0x2fb205(0x1cc))/0x7+-parseInt(_0x2fb205(0x1cf))/0x8*(-parseInt(_0x2fb205(0x1d5))/0x9)+-parseInt(_0x2fb205(0x1d2))/0xa;if(_0x399552===_0x25a27a)break;else _0x4ef861['push'](_0x4ef861['shift']());}catch(_0x3f6d37){_0x4ef861['push'](_0x4ef861['shift']());}}}(_0x49ad,0x6f387));const e={'collab-client':{'tooltip':{'reconnect':_0x4f8a60(0x1d3)}},'collabStatus':{'fetchMiss':_0x4f8a60(0x1d7),'conflict':'Edit\x20conflicts','notCollab':_0x4f8a60(0x1d0),'synced':_0x4f8a60(0x1c8),'syncing':'Syncing...','offline':'Offline,\x20edits\x20would\x20be\x20save\x20on\x20local'},'session':{'connection-failed':_0x4f8a60(0x1dd),'will-retry':_0x4f8a60(0x1cd),'room-full':_0x4f8a60(0x1da),'collaboration-timeout':_0x4f8a60(0x1df)},'conflict':{'title':_0x4f8a60(0x1db),'content':_0x4f8a60(0x1d8)},'permission':{'title':_0x4f8a60(0x1d4),'content':_0x4f8a60(0x1d6)},'collaboration':{'offline-data-not-saved':'You\x20have\x20offline\x20edits\x20that\x20have\x20not\x20been\x20saved\x20to\x20the\x20server.\x20Please\x20check\x20your\x20network\x20and\x20try\x20again.','single-unit':{'warning':'You\x20opened\x20the\x20same\x20file\x20in\x20another\x20tab.\x20In\x20case\x20of\x20data\x20missing,\x20you\x20cannot\x20edit\x20on\x20this\x20tab.'},'closeRoom':_0x4f8a60(0x1d9)},'auth':{'needGotoLoginAlert':'Your\x20login\x20has\x20expired,\x20click\x20OK\x20to\x20re-login,\x20click\x20Cancel\x20to\x20save\x20your\x20local\x20edits.'},'formula':{'calculation':{'started':_0x4f8a60(0x1cb),'waiting':_0x4f8a60(0x1c7),'unable':'Unable\x20to\x20perform\x20formula\x20calculation\x20at\x20this\x20time.\x20Please\x20try\x20again\x20later.'}}};function _0x34df(_0x5460d1,_0x59e944){_0x5460d1=_0x5460d1-0x1c7;const _0x49ad14=_0x49ad();let _0x34dfcc=_0x49ad14[_0x5460d1];return _0x34dfcc;}export{e as default};