@univerjs-pro/collaboration-client-ui 0.13.0-insiders.20251215-64041bb → 0.13.0-insiders.20251218-2062647

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 (53) 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/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
package/lib/es/index.js CHANGED
@@ -1 +1 @@
1
- const _0x17441=_0x5a49;(function(_0x311a78,_0x1e25bc){const _0x5ace7=_0x5a49,_0x28f027=_0x311a78();while(!![]){try{const _0x4c079b=-parseInt(_0x5ace7(0x223))/0x1+-parseInt(_0x5ace7(0x1e4))/0x2*(-parseInt(_0x5ace7(0x2bf))/0x3)+parseInt(_0x5ace7(0x31b))/0x4*(parseInt(_0x5ace7(0x3ee))/0x5)+parseInt(_0x5ace7(0x24c))/0x6*(parseInt(_0x5ace7(0x400))/0x7)+-parseInt(_0x5ace7(0x284))/0x8+-parseInt(_0x5ace7(0x3b0))/0x9*(-parseInt(_0x5ace7(0x2a5))/0xa)+-parseInt(_0x5ace7(0x24e))/0xb;if(_0x4c079b===_0x1e25bc)break;else _0x28f027['push'](_0x28f027['shift']());}catch(_0x3441a2){_0x28f027['push'](_0x28f027['shift']());}}}(_0xda8c,0xa11a9));var Yt=Object[_0x17441(0x3af)],Wt=(_0x492e5b,_0x2e221a,_0x1f4de7)=>_0x2e221a in _0x492e5b?Yt(_0x492e5b,_0x2e221a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f4de7}):_0x492e5b[_0x2e221a]=_0x1f4de7,_=(_0x487493,_0x2e2064,_0x3b66db)=>Wt(_0x487493,typeof _0x2e2064!=_0x17441(0x418)?_0x2e2064+'':_0x2e2064,_0x3b66db);import{jsx as _0x36930a,jsxs as _0x5884b9}from'react/jsx-runtime';import{CollaborationStatus as _0x5dfcae,CollaborationSessionService as _0x423098,CollaborationController as _0x38930c,DataLoaderService as _0x73657c,MemberService as _0x1250f9,SessionStatus as _0x5fe212,ILocalCacheService as _0x4cad26,CollaborationUIEventService as _0x2e2785,CollaborationUIEventId as _0x259c4a,DocCollaborationEntity as _0x1f0a78,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x40385d,getLocalCacheKey as _0x4ab006,LOCAL_CACHE_INTERVAL as _0x1fbd43,LOCAL_CACHE_INTERVAL_KEY as _0x238b74,UniverCollaborationClientPlugin as _0x3e83e5,CollaborationSocketService as _0x34ecf8,DEFAULT_WS_SESSION_TICKET_URL as _0x2ef114,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x36870b,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x46003c,UnitStatus as _0x3fed34}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x29ab17,IUniverInstanceService as _0x55fada,Inject as _0x52728a,Injector as _0x54baa5,Disposable as _0x5152e2,createIdentifier as _0x44ee77,ILogService as _0x3d294c,ICommandService as _0x38a819,Optional as _0x46e480,RxDisposable as _0x3983c8,Workbook as _0x8e5c05,DOC_RANGE_TYPE as _0x59be1c,debounce as _0x97d37a,Rectangle as _0x3ec7fc,DisposableCollection as _0x31de3f,toDisposable as _0xce90d1,UniverInstanceType as _0x5bd1dc,generateRandomId as _0x19061a,COLORS as _0x24d0be,ColorKit as _0x3077ba,ThemeService as _0x24adad,fromEventSubject as _0x5b3639,Tools as _0x2d5aaf,CommandType as _0x13e38e,IConfigService as _0x341ccd,CanceledError as _0x1ec590,isFormulaString as _0x15e1cc,isFormulaId as _0x1feb23,ILocalStorageService as _0x16882a,DependentOn as _0x19ba42,Plugin as _0x3db8b0,merge as _0x4a47cd,registerDependencies as _0x256da2,mergeOverrideWithDependencies as _0x3259f4,touchDependencies as _0x28b697}from'@univerjs/core';import{useObservable as _0x856abe,useDependency as _0x2cafbd,IUIPartsService as _0x5bd826,BuiltInUIPart as _0x46ef44,connectInjector as _0x22917e,IBeforeCloseService as _0x448cc3,IMessageService as _0x4a1a2a,INotificationService as _0x175601}from'@univerjs/ui';import{BehaviorSubject as _0x1eaaea,switchMap as _0xe943a0,of as _0x2e1bc9,takeUntil as _0x497016,debounceTime as _0x3e56f7,Subject as _0x45036d,filter as _0x5d415e,merge as _0x56525b,combineLatest as _0x2856f5,fromEvent as _0x11182a,shareReplay as _0x2fd4fa,mapTo as _0x30b4e3,distinctUntilChanged as _0x4ba585}from'rxjs';import{Tooltip as _0x7025eb,clsx as _0x211e75,MessageType as _0x1d1199}from'@univerjs/design';import{useRef as _0x20d6da,createElement as _0x55fe7d,forwardRef as _0x303afd,useCallback as _0x520d91}from'react';import{IRemoteInstanceService as _0x532237}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x17f682,RefRangeService as _0x3a9eda,SetSelectionsOperation as _0x69609b,SheetsSelectionsService as _0x3c55f6,EffectRefRangId as _0x22ed62,handleIRemoveRow as _0x28852d,handleIRemoveCol as _0xfbbb6e,handleMoveRange as _0x4a3251,handleInsertRow as _0x39ac36,handleInsertRangeMoveRight as _0x2405c2,handleInsertRangeMoveDown as _0x170ce4,handleInsertCol as _0x1edabd,handleDeleteRangeMoveUp as _0x4084f1,handleDeleteRangeMoveLeft as _0xf28166,runRefRangeMutations as _0x56ce14}from'@univerjs/sheets';import{Shape as _0x2201af,Rect as _0xfc853d,getColor as _0x506237,RegularPolygon as _0x21bd70,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x5dd3a2,Vector2 as _0x4aff26,SHEET_VIEWPORT_KEY as _0x38f6bd,IRenderManagerService as _0x3ef114}from'@univerjs/engine-render';import{HTTPService as _0x1c17b1,ISocketService as _0xfdf094,WebSocketService as _0x2f6dc6}from'@univerjs/network';import{IDocClipboardService as _0x4ed688,NodePositionConvertToCursor as _0x2c074d,NodePositionConvertToRectRange as _0x555723,TEXT_RANGE_LAYER_INDEX as _0x18affc,SetDocZoomRatioOperation as _0x4d39a8,DocIMEInputManagerService as _0x17d1c5,DocStateChangeManagerService as _0x379fa4}from'@univerjs/docs-ui';import{IImageIoService as _0x5d2bc2}from'@univerjs/drawing';import{ITransformService as _0x2e9b71,CollaborationEvent as _0x51fb20,isTransformMutationFailure as _0x4a621a,isTransformMutationsWithChangesetSuccess as _0x1c2e6f,RevisionService as _0x34fcd7,ISnapshotServerService as _0x3fb56a}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x4b2c3f,RichTextEditingMutation as _0xdbf875,DocSelectionManagerService as _0x1f1d95,DocSkeletonManagerService as _0x44e57b}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x212cb7,serializeRangeWithSheet as _0x3e2320,FormulaExecuteStageType as _0x58e767,FormulaExecutedStateType as _0x1c21b0,SetFormulaCalculationStartMutation as _0x38732c,SetFormulaCalculationNotificationMutation as _0x2f2f85}from'@univerjs/engine-formula';import{map as _0x595000,filter as _0x51ff29,throttleTime as _0x1f2676,takeUntil as _0x54819d,switchMap as _0x421e17}from'rxjs/operators';import{SheetSkeletonManagerService as _0x143a1d,getCoordByCell as _0xbf0559,getSheetObject as _0x5d6885}from'@univerjs/sheets-ui';function _0x5a49(_0x196a4f,_0x35eb4c){_0x196a4f=_0x196a4f-0x1d7;const _0xda8c5d=_0xda8c();let _0x5a4992=_0xda8c5d[_0x196a4f];return _0x5a4992;}function Ge({ref:_0x124f89,..._0x21825c}){const _0x300e94=_0x17441,{icon:_0x26cdd1,id:_0x2ae8db,className:_0x5b0377,extend:_0x51954e,..._0xeb9193}=_0x21825c,_0x269e1b=(_0x300e94(0x2f0)+_0x2ae8db+'\x20'+(_0x5b0377||''))[_0x300e94(0x26b)](),_0x4d03d3=_0x20d6da('_'+vi());return At(_0x26cdd1,''+_0x2ae8db,{'defIds':_0x26cdd1[_0x300e94(0x33d)],'idSuffix':_0x4d03d3[_0x300e94(0x1ee)]},{'ref':_0x124f89,'className':_0x269e1b,..._0xeb9193},_0x51954e);}function At(_0x15993b,_0x9719b0,_0x1044ac,_0x96756a,_0x9662d9){const _0x592050=_0x17441;return _0x55fe7d(_0x15993b[_0x592050(0x224)],{'key':_0x9719b0,...gi(_0x15993b,_0x1044ac,_0x9662d9),..._0x96756a},(Ei(_0x15993b,_0x1044ac)['children']||[])[_0x592050(0x2ae)]((_0x3fa640,_0x4156be)=>At(_0x3fa640,_0x9719b0+'-'+_0x15993b[_0x592050(0x224)]+'-'+_0x4156be,_0x1044ac,void 0x0,_0x9662d9)));}function gi(_0x53dbe6,_0x429eb7,_0x4c6df2){const _0x1bd4bd=_0x17441,_0x5d3022={..._0x53dbe6['attrs']};_0x4c6df2!=null&&_0x4c6df2['colorChannel1']&&_0x5d3022[_0x1bd4bd(0x2b8)]==='colorChannel1'&&(_0x5d3022[_0x1bd4bd(0x2b8)]=_0x4c6df2['colorChannel1']),_0x53dbe6[_0x1bd4bd(0x224)]===_0x1bd4bd(0x2ad)&&_0x5d3022['id']&&(_0x5d3022['id']=_0x5d3022['id']+_0x429eb7['idSuffix']),Object[_0x1bd4bd(0x208)](_0x5d3022)[_0x1bd4bd(0x1f0)](([_0x4ed9bc,_0x210fe0])=>{const _0x589261=_0x1bd4bd;_0x4ed9bc==='mask'&&typeof _0x210fe0==_0x589261(0x26e)&&(_0x5d3022[_0x4ed9bc]=_0x210fe0[_0x589261(0x35d)](/url\(#(.*)\)/,'url(#$1'+_0x429eb7[_0x589261(0x243)]+')'));});const {defIds:_0x4c7070}=_0x429eb7;return!_0x4c7070||_0x4c7070[_0x1bd4bd(0x408)]===0x0||(_0x53dbe6[_0x1bd4bd(0x224)]==='use'&&_0x5d3022[_0x1bd4bd(0x3d4)]&&(_0x5d3022[_0x1bd4bd(0x3d4)]=_0x5d3022[_0x1bd4bd(0x3d4)]+_0x429eb7['idSuffix']),Object[_0x1bd4bd(0x208)](_0x5d3022)[_0x1bd4bd(0x1f0)](([_0x1ae662,_0x1ecdf6])=>{const _0x4bd04b=_0x1bd4bd;typeof _0x1ecdf6==_0x4bd04b(0x26e)&&(_0x5d3022[_0x1ae662]=_0x1ecdf6[_0x4bd04b(0x35d)](/url\(#(.*)\)/,_0x4bd04b(0x3f9)+_0x429eb7[_0x4bd04b(0x243)]+')'));})),_0x5d3022;}function Ei(_0x5beef2,_0x139833){const _0x25e0c5=_0x17441;var _0x25d872;const {defIds:_0x2b7935}=_0x139833;return!_0x2b7935||_0x2b7935[_0x25e0c5(0x408)]===0x0?_0x5beef2:_0x5beef2[_0x25e0c5(0x224)]===_0x25e0c5(0x308)&&((_0x25d872=_0x5beef2[_0x25e0c5(0x337)])!=null&&_0x25d872[_0x25e0c5(0x408)])?{..._0x5beef2,'children':_0x5beef2['children'][_0x25e0c5(0x2ae)](_0xd238c8=>typeof _0xd238c8[_0x25e0c5(0x2a3)]['id']=='string'&&_0x2b7935&&_0x2b7935[_0x25e0c5(0x30a)](_0xd238c8[_0x25e0c5(0x2a3)]['id'])?{..._0xd238c8,'attrs':{..._0xd238c8[_0x25e0c5(0x2a3)],'id':_0xd238c8[_0x25e0c5(0x2a3)]['id']+_0x139833[_0x25e0c5(0x243)]}}:_0xd238c8)}:_0x5beef2;}function vi(){const _0x3ba1cb=_0x17441;return Math[_0x3ba1cb(0x203)]()[_0x3ba1cb(0x23a)](0x24)[_0x3ba1cb(0x3d7)](0x2,0x8);}Ge[_0x17441(0x28e)]=_0x17441(0x3bd);const pi={'tag':'svg','attrs':{'xmlns':_0x17441(0x2aa),'fill':_0x17441(0x3b1),'viewBox':_0x17441(0x2a8),'width':_0x17441(0x2fb),'height':_0x17441(0x2fb)},'children':[{'tag':'g','attrs':{'clipPath':_0x17441(0x210)},'children':[{'tag':_0x17441(0x254),'attrs':{'stroke':_0x17441(0x23c),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x17441(0x2bd),'strokeLinejoin':_0x17441(0x2bd),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x17441(0x296)},'children':[{'tag':_0x17441(0x254),'attrs':{'fill':'white','d':_0x17441(0x2bc)}}]}]}],'defIds':[_0x17441(0x296)]},Pt=_0x303afd(function(_0x4a2faa,_0x58e8fc){const _0x2bb057=_0x17441;return _0x55fe7d(Ge,Object[_0x2bb057(0x2b3)]({},_0x4a2faa,{'id':_0x2bb057(0x237),'ref':_0x58e8fc,'icon':pi}));});Pt['displayName']='OffLineIcon';const Oi={'tag':_0x17441(0x29d),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x17441(0x2fb)},'children':[{'tag':'g','attrs':{'clipPath':_0x17441(0x327)},'children':[{'tag':_0x17441(0x254),'attrs':{'stroke':_0x17441(0x23c),'d':_0x17441(0x36f),'strokeLinecap':_0x17441(0x2bd),'strokeLinejoin':_0x17441(0x2bd),'strokeWidth':1.2}}]},{'tag':_0x17441(0x308),'attrs':{},'children':[{'tag':_0x17441(0x351),'attrs':{'id':_0x17441(0x24d)},'children':[{'tag':_0x17441(0x254),'attrs':{'fill':_0x17441(0x3d0),'d':_0x17441(0x2bc),'transform':_0x17441(0x309)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},wt=_0x303afd(function(_0x587362,_0x367079){const _0x609d82=_0x17441;return _0x55fe7d(Ge,Object[_0x609d82(0x2b3)]({},_0x587362,{'id':_0x609d82(0x289),'ref':_0x367079,'icon':Oi}));});wt[_0x17441(0x28e)]=_0x17441(0x37d);function Ti(_0x77187e){const _0x2f9940=_0x17441;switch(_0x77187e){case _0x5dfcae[_0x2f9940(0x3f5)]:return'collabStatus.offline';case _0x5dfcae[_0x2f9940(0x27c)]:return _0x2f9940(0x31e);case _0x5dfcae[_0x2f9940(0x3b8)]:return _0x2f9940(0x2e1);case _0x5dfcae[_0x2f9940(0x354)]:return _0x2f9940(0x365);case _0x5dfcae[_0x2f9940(0x229)]:case _0x5dfcae[_0x2f9940(0x1de)]:return'collabStatus.syncing';case _0x5dfcae[_0x2f9940(0x40a)]:case _0x5dfcae['PENDING']:return _0x2f9940(0x369);}}function Ci(_0x7cd981){const _0x127364=_0x17441,{status$:_0xbfe227}=_0x7cd981,_0x4cb840=_0x856abe(_0xbfe227,_0x5dfcae['NOT_COLLAB']),_0x38d029=_0x2cafbd(_0x29ab17),_0x59e3e1=_0x2cafbd(_0x423098),_0xa187ca=_0x4cb840!==_0x5dfcae[_0x127364(0x3f5)],_0x57efc4=_0x38d029['t'](Ti(_0x4cb840)),_0x2143d=_0xa187ca?_0x36930a(wt,{}):_0x36930a(Pt,{}),_0x39477c=_0x520d91(()=>{_0xa187ca||_0x59e3e1['reconnect']();},[_0xa187ca,_0x59e3e1]);function _0x162815(){const _0x58b401=_0x127364;return _0x5884b9('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x39477c,'children':[_0x36930a(_0x58b401(0x213),{'className':_0x211e75('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0xa187ca,'univer-text-red-500':!_0xa187ca}),'children':_0x2143d}),_0x36930a(_0x58b401(0x213),{'className':_0x58b401(0x2ed),'children':_0x57efc4})]});}return _0xa187ca?_0x162815():_0x36930a(_0x7025eb,{'title':_0x38d029['t'](_0x127364(0x228)),'children':_0x162815()});}var Ri=Object[_0x17441(0x421)],Di=(_0x29fb63,_0xcfbc39,_0x4768b4,_0x472574)=>{for(var _0x1234e1=_0x472574>0x1?void 0x0:_0x472574?Ri(_0xcfbc39,_0x4768b4):_0xcfbc39,_0x1e1d5c=_0x29fb63['length']-0x1,_0x40d6ef;_0x1e1d5c>=0x0;_0x1e1d5c--)(_0x40d6ef=_0x29fb63[_0x1e1d5c])&&(_0x1234e1=_0x40d6ef(_0x1234e1)||_0x1234e1);return _0x1234e1;},se=(_0x58f63f,_0x5ef1df)=>(_0x39e384,_0x3051d3)=>_0x5ef1df(_0x39e384,_0x3051d3,_0x58f63f);let ae=class extends _0x5152e2{constructor(_0x51292e,_0x5619ef,_0xb9876c,_0x523be6){const _0x58781b=_0x17441;super(),_(this,_0x58781b(0x28b),new _0x1eaaea(_0x5dfcae[_0x58781b(0x354)])),(this[_0x58781b(0x41e)]=_0x51292e,this[_0x58781b(0x3ab)]=_0x5619ef,this[_0x58781b(0x290)]=_0xb9876c,this[_0x58781b(0x3eb)]=_0x523be6,this[_0x58781b(0x1ea)](),this[_0x58781b(0x23d)]());}[_0x17441(0x23d)](){const _0x23c852=_0x17441;this[_0x23c852(0x380)](this[_0x23c852(0x41e)][_0x23c852(0x298)][_0x23c852(0x38a)](_0xe943a0(()=>{const _0x34d706=_0x23c852,_0x5910a1=this[_0x34d706(0x41e)]['getFocusedUnit']();return _0x5910a1?this[_0x34d706(0x290)][_0x34d706(0x3ae)](_0x5910a1[_0x34d706(0x211)]()):_0x2e1bc9(null);}),_0xe943a0(_0x54813e=>_0x54813e?_0x54813e[_0x23c852(0x2dc)]:_0x2e1bc9(_0x5dfcae['NOT_COLLAB'])))[_0x23c852(0x404)](_0x37bc64=>{const _0x55294c=_0x23c852;this[_0x55294c(0x28b)][_0x55294c(0x3a2)](_0x37bc64);}));}[_0x17441(0x1ea)](){const _0xc36d3d=_0x17441;this[_0xc36d3d(0x380)](this['_uiPartsService'][_0xc36d3d(0x330)](_0x46ef44['HEADER_MENU'],()=>_0x22917e(Ni({'status$':this[_0xc36d3d(0x28b)][_0xc36d3d(0x342)]()}),this['_injector'])));}};ae=Di([se(0x0,_0x55fada),se(0x1,_0x52728a(_0x54baa5)),se(0x2,_0x52728a(_0x38930c)),se(0x3,_0x5bd826)],ae);function Ni(_0x424454){const {status$:_0xa84762}=_0x424454;return function(){return _0x36930a(Ci,{'status$':_0xa84762});};}const yt=_0x44ee77(_0x17441(0x3bb));var bi=Object['getOwnPropertyDescriptor'],Li=(_0x26a433,_0x28bfaa,_0x582add,_0x319790)=>{for(var _0x4d328b=_0x319790>0x1?void 0x0:_0x319790?bi(_0x28bfaa,_0x582add):_0x28bfaa,_0x16951a=_0x26a433['length']-0x1,_0xac0fe8;_0x16951a>=0x0;_0x16951a--)(_0xac0fe8=_0x26a433[_0x16951a])&&(_0x4d328b=_0xac0fe8(_0x4d328b)||_0x4d328b);return _0x4d328b;},K=(_0x578a30,_0x940b61)=>(_0x2ce1f6,_0x51d77b)=>_0x940b61(_0x2ce1f6,_0x51d77b,_0x578a30);let ce=class extends _0x3983c8{constructor(_0x32103d,_0x4c418e,_0x2d41b5,_0xf07d99,_0xa0d73b){const _0x5d19f0=_0x17441;super(),this['_urlService']=_0x32103d,this[_0x5d19f0(0x34b)]=_0x4c418e,this['_commandService']=_0x2d41b5,this[_0x5d19f0(0x2d2)]=_0xf07d99,_0xa0d73b?_0xa0d73b==null||_0xa0d73b[_0x5d19f0(0x3b9)]()[_0x5d19f0(0x3d9)](()=>this[_0x5d19f0(0x21e)]()):(this[_0x5d19f0(0x34b)]['debug']('[CollaborationDataLoaderController]',_0x5d19f0(0x217)),this[_0x5d19f0(0x21e)]());}async[_0x17441(0x21e)](){const _0xe8d5ad=_0x17441,_0x119370=this[_0xe8d5ad(0x219)]['getParam'](_0xe8d5ad(0x350)),_0x387982=this[_0xe8d5ad(0x219)][_0xe8d5ad(0x364)]('type'),_0x4983fb=this[_0xe8d5ad(0x219)][_0xe8d5ad(0x364)]('subunit');if(!_0x119370||!_0x387982){this[_0xe8d5ad(0x34b)]['debug']('[CollaborationDataLoaderController]',_0xe8d5ad(0x285));return;}const _0x320ced=await this['_dataLoaderService'][_0xe8d5ad(0x214)](_0x119370,Number(_0x387982),_0x4983fb);_0x320ced&&_0x320ced instanceof _0x8e5c05&&this[_0xe8d5ad(0x360)](_0x320ced);}async[_0x17441(0x360)](_0xd4fa85){const _0x2ee22f=_0x17441;await this['_updateSubUnitFromURLParams'](_0xd4fa85),_0xd4fa85['activeSheet$'][_0x2ee22f(0x38a)](_0x497016(this['dispose$']))['subscribe'](_0x352db6=>{_0x352db6&&this['_updateURLWithCurrentState'](_0x352db6);}),this[_0x2ee22f(0x219)][_0x2ee22f(0x2df)]['pipe'](_0x497016(this[_0x2ee22f(0x1e3)]))[_0x2ee22f(0x404)](()=>this[_0x2ee22f(0x3e0)](_0xd4fa85));}[_0x17441(0x236)](_0x40f2b1,_0x1cb63d=!0x1){const _0x21d52f=_0x17441,_0x2d13d3=this[_0x21d52f(0x219)][_0x21d52f(0x364)](_0x21d52f(0x2fe));_0x40f2b1[_0x21d52f(0x2f6)]()!==_0x2d13d3&&this[_0x21d52f(0x219)][_0x21d52f(0x34a)](_0x21d52f(0x2fe),_0x40f2b1[_0x21d52f(0x2f6)](),_0x1cb63d);}async['_updateSubUnitFromURLParams'](_0x1d6f8c){const _0x1f2fb7=_0x17441;var _0x5e62b5;const _0x35d105=this[_0x1f2fb7(0x219)][_0x1f2fb7(0x364)](_0x1f2fb7(0x2fe));if(!_0x35d105||!_0x1d6f8c[_0x1f2fb7(0x338)](_0x35d105)){const _0x4a1e4e=_0x1d6f8c[_0x1f2fb7(0x2de)]()[0x0],_0x34b576=_0x1d6f8c[_0x1f2fb7(0x338)](_0x4a1e4e);if(!_0x34b576)return;this[_0x1f2fb7(0x236)](_0x34b576,!0x0),await this[_0x1f2fb7(0x419)][_0x1f2fb7(0x3e7)](_0x17f682['id'],{'unitId':_0x1d6f8c['getUnitId'](),'subUnitId':_0x4a1e4e});return;}((_0x5e62b5=_0x1d6f8c[_0x1f2fb7(0x274)]())==null?void 0x0:_0x5e62b5['getSheetId']())!==_0x35d105&&await this[_0x1f2fb7(0x419)][_0x1f2fb7(0x3e7)](_0x17f682['id'],{'unitId':_0x1d6f8c['getUnitId'](),'subUnitId':_0x35d105});}};ce=Li([K(0x0,yt),K(0x1,_0x3d294c),K(0x2,_0x38a819),K(0x3,_0x52728a(_0x73657c)),K(0x4,_0x46e480(_0x532237))],ce);var Ui=Object[_0x17441(0x421)],Mi=(_0x4d7c91,_0x189f4a,_0x2f2d9f,_0xda7728)=>{const _0x51486e=_0x17441;for(var _0x15867d=_0xda7728>0x1?void 0x0:_0xda7728?Ui(_0x189f4a,_0x2f2d9f):_0x189f4a,_0x5aa1c6=_0x4d7c91[_0x51486e(0x408)]-0x1,_0x7b1144;_0x5aa1c6>=0x0;_0x5aa1c6--)(_0x7b1144=_0x4d7c91[_0x5aa1c6])&&(_0x15867d=_0x7b1144(_0x15867d)||_0x15867d);return _0x15867d;},rt=(_0x48ea8d,_0xd0050b)=>(_0x5a34a7,_0x838344)=>_0xd0050b(_0x5a34a7,_0x838344,_0x48ea8d);let $e=class extends _0x3983c8{constructor(_0x643b2e,_0x2b703f){const _0x59a45a=_0x17441;super(),this[_0x59a45a(0x25a)]=_0x643b2e,this[_0x59a45a(0x2e3)]=_0x2b703f,this['_init']();}[_0x17441(0x21e)](){const _0x5f1e07=_0x17441,_0x2ff939=this;this['disposeWithMe'](this[_0x5f1e07(0x25a)][_0x5f1e07(0x2cf)]({'onBeforePasteImage':async _0x321fb0=>{const _0x129ec8=_0x5f1e07,_0x31be87=await _0x2ff939[_0x129ec8(0x2e3)]['saveImage'](_0x321fb0);return _0x31be87?{'source':_0x31be87[_0x129ec8(0x1e9)],'imageSourceType':_0x31be87['imageSourceType']}:null;}}));}};$e=Mi([rt(0x0,_0x4ed688),rt(0x1,_0x5d2bc2)],$e);const ot=['purple.300',_0x17441(0x393),'green.600',_0x17441(0x3b3),'blue.400',_0x17441(0x293)];class Ke extends _0x5152e2{constructor(){const _0x36e40c=_0x17441;super(...arguments),_(this,_0x36e40c(0x315),new Map()),_(this,_0x36e40c(0x29e),0x0);}[_0x17441(0x304)](_0x5aa754){const _0x4acfda=_0x17441;if(this[_0x4acfda(0x315)]['has'](_0x5aa754))return this[_0x4acfda(0x315)][_0x4acfda(0x2ef)](_0x5aa754);const _0x1f2fdb=ot[this[_0x4acfda(0x29e)]];return this[_0x4acfda(0x29e)]=(this[_0x4acfda(0x29e)]+0x1)%ot[_0x4acfda(0x408)],this[_0x4acfda(0x315)][_0x4acfda(0x397)](_0x5aa754,_0x1f2fdb),_0x1f2fdb;}}function $t(_0x1b84bf){const _0x41663c=_0x17441;let _0x464939='';for(const _0xbaecd0 of _0x1b84bf){const {startOffset:_0x1996da,endOffset:_0x498c4f,isActive:_0x13ecba,rangeType:_0x453090,segmentId:_0x3c0e14,segmentPage:_0x561f77}=_0xbaecd0;_0x464939[_0x41663c(0x408)]&&(_0x464939+=','),_0x464939+=_0x1996da+':'+_0x498c4f+':'+(_0x13ecba?'1':'0')+':'+_0x453090+':'+_0x3c0e14+':'+_0x561f77;}return _0x464939;}function Ai(_0x522f70){const _0xbac337=_0x17441,_0x342de1=_0x522f70[_0xbac337(0x251)](','),_0x1aca32=[];for(const _0x24ea49 of _0x342de1){const [_0x4c78d2,_0x5282f2,_0x2807c2,_0xeb55a4,_0x487515,_0x518955]=_0x24ea49[_0xbac337(0x251)](':');_0x1aca32[_0xbac337(0x216)]({'startOffset':Number(_0x4c78d2),'endOffset':Number(_0x5282f2),'collapsed':_0x4c78d2===_0x5282f2,'isActive':_0x2807c2==='1','rangeType':_0xeb55a4===_0x59be1c[_0xbac337(0x386)]?_0x59be1c[_0xbac337(0x386)]:_0x59be1c['RECT'],'segmentId':typeof _0x487515==_0xbac337(0x26e)?String(_0x487515):'','segmentPage':Number(_0x518955!=null?_0x518955:-0x1)});}return _0x1aca32[_0xbac337(0x202)](_0xb211c4=>_0xb211c4[_0xbac337(0x32d)])||(_0x1aca32[0x0][_0xbac337(0x32d)]=!0x0),_0x1aca32;}class ze extends _0x3983c8{constructor(){const _0x4a1a21=_0x17441;super(...arguments),_(this,_0x4a1a21(0x3aa),new _0x1eaaea(null)),_(this,_0x4a1a21(0x28c),this['_collabCursorState$'][_0x4a1a21(0x342)]());}[_0x17441(0x3fb)](_0x44e136){const {unitID:_0x298a92,memberID:_0x3c2434,textRanges:_0x412993}=_0x44e136,_0x181802=$t(_0x412993);if(_0x181802==='')return;const _0x4d3112={'unitID':_0x298a92,'memberID':_0x3c2434,'selection':_0x181802};this['_collabCursorState$']['next'](_0x4d3112);}}var Pi=Object['getOwnPropertyDescriptor'],wi=(_0x37a4b5,_0x24d0e7,_0x1fc606,_0xea3ea8)=>{const _0xfb82f6=_0x17441;for(var _0x179add=_0xea3ea8>0x1?void 0x0:_0xea3ea8?Pi(_0x24d0e7,_0x1fc606):_0x24d0e7,_0x459c33=_0x37a4b5[_0xfb82f6(0x408)]-0x1,_0xad91d;_0x459c33>=0x0;_0x459c33--)(_0xad91d=_0x37a4b5[_0x459c33])&&(_0x179add=_0xad91d(_0x179add)||_0x179add);return _0x179add;},A=(_0x5594e7,_0x226f1e)=>(_0x58a408,_0x3b4a8c)=>_0x226f1e(_0x58a408,_0x3b4a8c,_0x5594e7);const yi=0x12c,$i=0x64;let xe=class extends _0x3983c8{constructor(_0x2dd24a,_0x1a95b2,_0x40e3ad,_0x1a3fad,_0x52b1cc,_0x125ccc,_0x33ee3e,_0xa84a5e,_0x3c0f95){const _0x1effdf=_0x17441;super(),_(this,_0x1effdf(0x39c),!0x1),_(this,_0x1effdf(0x21e),!0x1),_(this,_0x1effdf(0x374),new _0x1eaaea(new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x1effdf(0x342)]()),_(this,'_roomMembers$',new _0x1eaaea([])),_(this,'roomMembers$',this['_roomMembers$'][_0x1effdf(0x38a)](_0x3e56f7(yi))),_(this,_0x1effdf(0x21d),_0x97d37a(_0x2d7afd=>{const _0x2cb486=_0x1effdf,_0xf23d67={'eventID':_0x51fb20['UPDATE_CURSOR'],'data':{'unitID':this[_0x2cb486(0x38c)],'memberID':this[_0x2cb486(0x3c0)][_0x2cb486(0x218)](),'selection':$t(_0x2d7afd)}};this[_0x2cb486(0x3c0)][_0x2cb486(0x247)](_0xf23d67,this[_0x2cb486(0x38c)]);},$i)),(this[_0x1effdf(0x38c)]=_0x2dd24a,this[_0x1effdf(0x3c0)]=_0x1a95b2,this[_0x1effdf(0x3ab)]=_0x40e3ad,this[_0x1effdf(0x275)]=_0x1a3fad,this[_0x1effdf(0x26f)]=_0x52b1cc,this[_0x1effdf(0x207)]=_0x125ccc,this[_0x1effdf(0x1eb)]=_0x33ee3e,this[_0x1effdf(0x41e)]=_0xa84a5e,this[_0x1effdf(0x419)]=_0x3c0f95);}get[_0x17441(0x239)](){const _0x4feb8f=_0x17441;return this['_cursorInfo$'][_0x4feb8f(0x2e0)]();}get[_0x17441(0x40e)](){const _0x19e434=_0x17441;return this[_0x19e434(0x416)][_0x19e434(0x2e0)]();}[_0x17441(0x2e2)](){const _0x5740f7=_0x17441;super[_0x5740f7(0x2e2)](),this['_cursorInfo$'][_0x5740f7(0x3a2)](new Map()),this[_0x5740f7(0x374)]['complete'](),this[_0x5740f7(0x416)][_0x5740f7(0x3a2)]([]),this[_0x5740f7(0x416)][_0x5740f7(0x417)]();}[_0x17441(0x2b0)](){const _0x601328=_0x17441;this['_init']||(this[_0x601328(0x21e)]=!0x0,this[_0x601328(0x3c0)][_0x601328(0x23b)][_0x601328(0x38a)](_0x497016(this[_0x601328(0x1e3)]))[_0x601328(0x404)](_0x56eeee=>{const _0x52bf70=_0x601328;_0x56eeee===_0x5fe212[_0x52bf70(0x273)]?this[_0x52bf70(0x3df)]():this[_0x52bf70(0x415)]();}),this[_0x601328(0x3c0)]['event$'][_0x601328(0x38a)](_0x497016(this['dispose$']))[_0x601328(0x404)](_0x4e164f=>{const _0x3c2c47=_0x601328,_0x413889=_0x4e164f[_0x3c2c47(0x3c4)];_0x413889===_0x51fb20[_0x3c2c47(0x206)]&&this['_onCursorUpdate'](_0x4e164f),_0x413889===_0x51fb20[_0x3c2c47(0x22b)]&&this[_0x3c2c47(0x3d2)](_0x4e164f);}),this[_0x601328(0x380)](this['_commandService']['onCommandExecuted'](_0x48a32a=>{const _0x53a70b=_0x601328,_0x401458=_0x48a32a[_0x53a70b(0x39d)];_0x401458!=null&&this[_0x53a70b(0x39c)]&&_0x48a32a['id']===_0x4b2c3f['id']&&_0x401458[_0x53a70b(0x388)]===this['unitID']&&_0x401458[_0x53a70b(0x36e)]===!0x1&&_0x401458[_0x53a70b(0x377)][_0x53a70b(0x408)]>0x0&&this[_0x53a70b(0x21d)](_0x401458[_0x53a70b(0x377)]);})),this[_0x601328(0x207)][_0x601328(0x28c)][_0x601328(0x38a)](_0x497016(this['dispose$']))[_0x601328(0x404)](_0x3539f4=>{const _0xa979a1=_0x601328;if((_0x3539f4==null?void 0x0:_0x3539f4[_0xa979a1(0x38c)])!==this[_0xa979a1(0x38c)])return;const _0x17f94f={'eventID':_0x51fb20[_0xa979a1(0x206)],'data':_0x3539f4};this['_onCursorUpdate'](_0x17f94f);}),this[_0x601328(0x380)](this['_commandService'][_0x601328(0x413)](_0x9781ff=>{const _0x43b3c0=_0x601328;if(_0x9781ff[_0x43b3c0(0x39d)]==null)return;const _0x1e67fd=_0x9781ff[_0x43b3c0(0x39d)];if(_0x9781ff['id']!==_0xdbf875['id']||_0x1e67fd['unitId']!==this['unitID'])return;const _0x213a2c={'id':_0x43b3c0(0x245),'params':_0x1e67fd},_0x1eb45d=this[_0x43b3c0(0x239)];for(const [_0x2d49fa,_0x357fb8]of _0x1eb45d){const _0x3ec10a={'id':_0x43b3c0(0x245),'params':{'unitId':this[_0x43b3c0(0x38c)],'actions':null,'textRanges':_0x357fb8[_0x43b3c0(0x377)]}},_0x8ba518=this[_0x43b3c0(0x1eb)][_0x43b3c0(0x24a)](_0x213a2c,_0x3ec10a,!0x1);if(_0x4a621a(_0x8ba518))throw _0x8ba518[_0x43b3c0(0x3f0)];_0x1eb45d[_0x43b3c0(0x397)](_0x2d49fa,{..._0x357fb8,'ranges':_0x8ba518[_0x43b3c0(0x3ce)][_0x43b3c0(0x39d)][_0x43b3c0(0x22f)]});}queueMicrotask(()=>{const _0x545973=_0x43b3c0;this[_0x545973(0x374)][_0x545973(0x3a2)](_0x1eb45d);});})));}[_0x17441(0x295)](_0x1227c8){const _0xc1e732=_0x17441;var _0x250573,_0x1be77b;const {memberID:_0x5a5965,selection:_0x23dfa1}=_0x1227c8[_0xc1e732(0x1ff)],_0x2994ee=Ai(_0x23dfa1),_0x3fd2f7=(_0x1be77b=(_0x250573=this[_0xc1e732(0x26f)][_0xc1e732(0x21b)](this[_0xc1e732(0x38c)],_0x5a5965))==null?void 0x0:_0x250573[_0xc1e732(0x2d1)])!=null?_0x1be77b:_0xc1e732(0x1f4),_0x57ab9f={'color':this[_0xc1e732(0x275)][_0xc1e732(0x304)](_0x5a5965),'name':_0x3fd2f7,'ranges':_0x2994ee},_0x191dc2=this[_0xc1e732(0x239)];_0x191dc2[_0xc1e732(0x397)](_0x5a5965,_0x57ab9f),this[_0xc1e732(0x374)]['next'](_0x191dc2);}[_0x17441(0x3d2)](_0x202ae8){const _0x58da51=_0x17441,{memberID:_0x11c6f2}=_0x202ae8[_0x58da51(0x1ff)],_0x27b2e3=this[_0x58da51(0x239)];_0x27b2e3[_0x58da51(0x366)](_0x11c6f2),this[_0x58da51(0x374)][_0x58da51(0x3a2)](_0x27b2e3);}[_0x17441(0x3df)](){const _0x358978=_0x17441;var _0x5519a5;if(this[_0x358978(0x39c)]=!0x0,((_0x5519a5=this[_0x358978(0x41e)][_0x358978(0x428)]())==null?void 0x0:_0x5519a5[_0x358978(0x211)]())!==this[_0x358978(0x38c)])return;const _0x388495=this[_0x358978(0x3ab)][_0x358978(0x2ef)](_0x1f1d95)[_0x358978(0x31f)]();Array[_0x358978(0x2d7)](_0x388495)&&_0x388495['length']>0x0&&this['_updateLocalCursor'](_0x388495);}[_0x17441(0x415)](){const _0x24bc94=_0x17441;this[_0x24bc94(0x39c)]=!0x1;}};xe=wi([A(0x2,_0x52728a(_0x54baa5)),A(0x3,_0x52728a(Ke)),A(0x4,_0x52728a(_0x1250f9)),A(0x5,_0x52728a(ze)),A(0x6,_0x2e9b71),A(0x7,_0x55fada),A(0x8,_0x38a819)],xe);var xi=Object[_0x17441(0x421)],Bi=(_0x4ebca2,_0x4f6bd4,_0x48cb16,_0x900268)=>{const _0x55ab34=_0x17441;for(var _0x40f7a9=_0x900268>0x1?void 0x0:_0x900268?xi(_0x4f6bd4,_0x48cb16):_0x4f6bd4,_0x3eb090=_0x4ebca2[_0x55ab34(0x408)]-0x1,_0x3743c1;_0x3eb090>=0x0;_0x3eb090--)(_0x3743c1=_0x4ebca2[_0x3eb090])&&(_0x40f7a9=_0x3743c1(_0x40f7a9)||_0x40f7a9);return _0x40f7a9;},B=(_0x4b5d48,_0x1fffe4)=>(_0x15fca4,_0x5bb05e)=>_0x1fffe4(_0x15fca4,_0x5bb05e,_0x4b5d48);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x28608f=[],_0x297e43=!0x1;return _0x22dc7a=>{const _0x42ed05=_0x5a49;_0x28608f[_0x42ed05(0x216)](_0x22dc7a),_0x297e43||(_0x297e43=!0x0,setTimeout(()=>{_0x28608f['forEach'](_0x5cc92f=>_0x5cc92f()),_0x28608f=[],_0x297e43=!0x1;}));};};let Be=class extends _0x3983c8{constructor(_0x56c15a,_0x11fa33,_0x31d126,_0x5b94bd,_0x19c79c,_0x422a5d,_0x4e815a,_0x201d78){const _0xa7c3ad=_0x17441;super(),_(this,_0xa7c3ad(0x39c),!0x1),_(this,_0xa7c3ad(0x21e),!0x1),_(this,_0xa7c3ad(0x374),new _0x1eaaea(new Map())),_(this,'cursorInfo$',this[_0xa7c3ad(0x374)]['asObservable']()),_(this,_0xa7c3ad(0x416),new _0x1eaaea([])),_(this,'roomMembers$',this['_roomMembers$'][_0xa7c3ad(0x38a)](_0x3e56f7(Fi))),_(this,_0xa7c3ad(0x21d),_0x97d37a((_0x1ff126,_0x3cf690)=>{const _0x5ca615=_0xa7c3ad,_0x251a99={'eventID':_0x51fb20[_0x5ca615(0x206)],'data':{'unitID':this[_0x5ca615(0x38c)],'memberID':this[_0x5ca615(0x3c0)][_0x5ca615(0x218)](),'selection':_0x3e2320(_0x1ff126,_0x3cf690[_0x5ca615(0x367)])}};this[_0x5ca615(0x3c0)][_0x5ca615(0x247)](_0x251a99,this[_0x5ca615(0x38c)]);},ki)),(this[_0xa7c3ad(0x38c)]=_0x56c15a,this['_session']=_0x11fa33,this[_0xa7c3ad(0x3ab)]=_0x31d126,this[_0xa7c3ad(0x275)]=_0x5b94bd,this[_0xa7c3ad(0x26f)]=_0x19c79c,this[_0xa7c3ad(0x41e)]=_0x422a5d,this['_commandService']=_0x4e815a,this[_0xa7c3ad(0x331)]=_0x201d78);}get['cursorInfo'](){const _0x5d4bb5=_0x17441;return this[_0x5d4bb5(0x374)]['getValue']();}get[_0x17441(0x40e)](){const _0x36d15c=_0x17441;return this['_roomMembers$'][_0x36d15c(0x2e0)]();}[_0x17441(0x2e2)](){const _0x271fc9=_0x17441;super[_0x271fc9(0x2e2)](),this[_0x271fc9(0x374)][_0x271fc9(0x3a2)](new Map()),this[_0x271fc9(0x374)][_0x271fc9(0x417)](),this[_0x271fc9(0x416)]['next']([]),this['_roomMembers$']['complete']();}[_0x17441(0x2b0)](){const _0x3cf922=_0x17441;this[_0x3cf922(0x21e)]||(this[_0x3cf922(0x21e)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x497016(this[_0x3cf922(0x1e3)]))['subscribe'](_0x5d5004=>{const _0x3e3359=_0x3cf922;_0x5d5004===_0x5fe212[_0x3e3359(0x273)]?this['_toggleOnline']():this[_0x3e3359(0x415)]();}),this[_0x3cf922(0x3c0)][_0x3cf922(0x420)]['pipe'](_0x497016(this['dispose$']))[_0x3cf922(0x404)](_0x5416f2=>{const _0x354c16=_0x3cf922,_0x482402=_0x5416f2[_0x354c16(0x3c4)];_0x482402===_0x51fb20[_0x354c16(0x206)]&&this[_0x354c16(0x295)](_0x5416f2),_0x482402===_0x51fb20['USERS_LEAVE']&&this[_0x354c16(0x3d2)](_0x5416f2);}),this[_0x3cf922(0x2c9)](),this[_0x3cf922(0x380)](this[_0x3cf922(0x419)][_0x3cf922(0x413)](_0x782f92=>{const _0x56ab0c=_0x3cf922;if(this[_0x56ab0c(0x39c)]&&_0x782f92['id']===_0x69609b['id']&&_0x782f92[_0x56ab0c(0x39d)]['unitId']===this[_0x56ab0c(0x38c)]){const _0x53176f=_0x782f92[_0x56ab0c(0x39d)];this[_0x56ab0c(0x21d)](_0x53176f['subUnitId'],_0x53176f['selections'][0x0]);}})));}['_onCursorUpdate'](_0x4cac29){const _0x47899f=_0x17441;var _0x5028c4,_0x4fb749;const {memberID:_0x4f84c7,selection:_0x2ab4f2}=_0x4cac29[_0x47899f(0x1ff)],{sheetName:_0x5a70bb,range:_0x18cfb2}=_0x212cb7(_0x2ab4f2),_0x587269={'name':(_0x4fb749=(_0x5028c4=this[_0x47899f(0x26f)][_0x47899f(0x21b)](this[_0x47899f(0x38c)],_0x4f84c7))==null?void 0x0:_0x5028c4['name'])!=null?_0x4fb749:_0x47899f(0x1f4),'range':this[_0x47899f(0x212)](_0x5a70bb,_0x18cfb2),'sheetID':_0x5a70bb,'color':this[_0x47899f(0x275)][_0x47899f(0x304)](_0x4f84c7),'selection':_0x2ab4f2},_0x425044=this[_0x47899f(0x239)];_0x425044[_0x47899f(0x397)](_0x4f84c7,_0x587269),this[_0x47899f(0x374)][_0x47899f(0x3a2)](_0x425044);}[_0x17441(0x3d2)](_0x24afcb){const _0xb8594c=_0x17441,{memberID:_0x4289b4}=_0x24afcb[_0xb8594c(0x1ff)],_0x181dc2=this['cursorInfo'];_0x181dc2[_0xb8594c(0x366)](_0x4289b4),this[_0xb8594c(0x374)][_0xb8594c(0x3a2)](_0x181dc2);}[_0x17441(0x212)](_0x4c0145,_0x4892f4){const _0x5d81d1=_0x17441;var _0x1b6715,_0x330290;const _0x5a516e=(_0x330290=(_0x1b6715=this[_0x5d81d1(0x41e)][_0x5d81d1(0x2d6)](this[_0x5d81d1(0x38c)]))==null?void 0x0:_0x1b6715['getSheetBySheetId'](_0x4c0145))==null?void 0x0:_0x330290['getMergeData']();return(_0x5a516e==null?void 0x0:_0x5a516e[_0x5d81d1(0x3a4)](_0xe806ac=>_0x3ec7fc['contains'](_0xe806ac,_0x4892f4)))||_0x4892f4;}[_0x17441(0x2c9)](){const _0x1cf2cf=_0x17441,_0x4df4ae=new _0x31de3f(),_0x2f4097=Hi(),_0x3d1f9b=()=>{const _0x16fbbe=_0x5a49;_0x4df4ae[_0x16fbbe(0x2e2)]();const _0x133821=(_0x5e8afe,_0x467fac,_0x1786e6,_0x5e1f43)=>{const _0x29a534=_0x16fbbe;let _0x578832=[];switch(_0x5e8afe['id']){case _0x22ed62[_0x29a534(0x32c)]:{_0x578832=_0xf28166(_0x5e8afe,_0x5e1f43);break;}case _0x22ed62[_0x29a534(0x261)]:{_0x578832=_0x4084f1(_0x5e8afe,_0x5e1f43);break;}case _0x22ed62[_0x29a534(0x341)]:{_0x578832=_0x1edabd(_0x5e8afe,_0x5e1f43);break;}case _0x22ed62[_0x29a534(0x2ac)]:{_0x578832=_0x170ce4(_0x5e8afe,_0x5e1f43);break;}case _0x22ed62['InsertRangeMoveRightCommandId']:{_0x578832=_0x2405c2(_0x5e8afe,_0x5e1f43);break;}case _0x22ed62[_0x29a534(0x3fc)]:{_0x578832=_0x39ac36(_0x5e8afe,_0x5e1f43);break;}case _0x22ed62[_0x29a534(0x25f)]:{_0x578832=_0x4a3251(_0x5e8afe,_0x5e1f43);break;}case _0x22ed62['RemoveColCommandId']:{_0x578832=_0xfbbb6e(_0x5e8afe,_0x5e1f43);break;}case _0x22ed62[_0x29a534(0x424)]:{_0x578832=_0x28852d(_0x5e8afe,_0x5e1f43);break;}}const _0x433b0f=_0x56ce14(_0x578832,_0x5e1f43),_0x24fda2=this['cursorInfo'][_0x29a534(0x2ef)](_0x467fac);if(_0x24fda2&&_0x433b0f){const _0x29da0e={..._0x24fda2,'range':_0x433b0f};this[_0x29a534(0x239)][_0x29a534(0x397)](_0x467fac,_0x29da0e),_0x2f4097(()=>{const _0x13fcaa=_0x29a534,_0x3efe89=this[_0x13fcaa(0x331)][_0x13fcaa(0x2a7)](_0x433b0f,_0x3fdb81=>(_0x3efe89[_0x13fcaa(0x2e2)](),_0x133821(_0x3fdb81,_0x467fac,_0x1786e6,_0x433b0f)));_0x4df4ae[_0x13fcaa(0x20e)](_0x3efe89);});}return{'redos':[],'undos':[]};};this[_0x16fbbe(0x239)][_0x16fbbe(0x1f0)]((_0x128a6e,_0x19a3b9)=>{const _0xcb6927=_0x16fbbe,{range:_0x399dab,sheetID:_0xad71bd}=_0x128a6e,_0x142287=this[_0xcb6927(0x331)]['registerRefRange'](_0x399dab,_0x5e49ab=>(_0x142287['dispose'](),_0x133821(_0x5e49ab,_0x19a3b9,_0xad71bd,_0x399dab)));_0x4df4ae[_0xcb6927(0x20e)](_0x142287);});};this[_0x1cf2cf(0x380)](_0xce90d1(this['_cursorInfo$'][_0x1cf2cf(0x404)](()=>{_0x3d1f9b();})));}[_0x17441(0x3df)](){const _0x371d27=_0x17441;var _0xa6b8cb,_0x4ae0a5;if(this[_0x371d27(0x39c)]=!0x0,((_0xa6b8cb=this[_0x371d27(0x41e)][_0x371d27(0x428)]())==null?void 0x0:_0xa6b8cb[_0x371d27(0x211)]())!==this[_0x371d27(0x38c)])return;const _0x2a62a1=(_0x4ae0a5=this[_0x371d27(0x3ab)]['get'](_0x3c55f6)[_0x371d27(0x220)]())==null?void 0x0:_0x4ae0a5[0x0],_0x1a2f83=this['_univerInstanceService']['getCurrentUnitForType'](_0x5bd1dc['UNIVER_SHEET'])[_0x371d27(0x274)]();_0x2a62a1&&_0x1a2f83&&this[_0x371d27(0x21d)](_0x1a2f83['getSheetId'](),_0x2a62a1);}['_toggleOffline'](){const _0x406a51=_0x17441;this[_0x406a51(0x39c)]=!0x1;}};Be=Bi([B(0x2,_0x52728a(_0x54baa5)),B(0x3,_0x52728a(Ke)),B(0x4,_0x52728a(_0x1250f9)),B(0x5,_0x55fada),B(0x6,_0x38a819),B(0x7,_0x52728a(_0x3a9eda))],Be);var Yi=Object[_0x17441(0x421)],Wi=(_0x566252,_0x51e543,_0x4a5d41,_0x4c803f)=>{const _0x5c3192=_0x17441;for(var _0x27f04b=_0x4c803f>0x1?void 0x0:_0x4c803f?Yi(_0x51e543,_0x4a5d41):_0x51e543,_0x2b8a82=_0x566252[_0x5c3192(0x408)]-0x1,_0x599932;_0x2b8a82>=0x0;_0x2b8a82--)(_0x599932=_0x566252[_0x2b8a82])&&(_0x27f04b=_0x599932(_0x27f04b)||_0x27f04b);return _0x27f04b;},Ce=(_0x14bc57,_0x5ea3cc)=>(_0x5ac1bd,_0x2544cd)=>_0x5ea3cc(_0x5ac1bd,_0x2544cd,_0x14bc57);let H=class extends _0x3983c8{constructor(_0x184d75,_0x43d749,_0x332409){const _0x122316=_0x17441;super(),_(this,'_entities',new Map()),_(this,_0x122316(0x379),new _0x45036d()),(this['_univerInstanceService']=_0x184d75,this[_0x122316(0x3ab)]=_0x43d749,this['_collabSessionService']=_0x332409,this[_0x122316(0x21e)]());}[_0x17441(0x2e2)](){const _0x5f22fc=_0x17441;super[_0x5f22fc(0x2e2)](),this[_0x5f22fc(0x379)]['complete'](),this['_entities'][_0x5f22fc(0x1f0)](_0x46a680=>_0x46a680['dispose']());}[_0x17441(0x371)](_0x4cb837){const _0x86f589=_0x17441;return this[_0x86f589(0x255)][_0x86f589(0x37b)](_0x4cb837)?this['_entities'][_0x86f589(0x2ef)](_0x4cb837)[_0x86f589(0x26c)]:this[_0x86f589(0x379)][_0x86f589(0x38a)](_0x5d415e(_0x2f03c5=>_0x2f03c5[_0x86f589(0x38c)]===_0x4cb837),_0xe943a0(_0x5b9e53=>_0x5b9e53['cursorInfo$']));}[_0x17441(0x21e)](){const _0xcfa572=_0x17441;this[_0xcfa572(0x41e)][_0xcfa572(0x412)](_0x5bd1dc['UNIVER_SHEET'])[_0xcfa572(0x38a)](_0x497016(this[_0xcfa572(0x1e3)]))[_0xcfa572(0x404)](async _0x106e17=>{const _0x30ec0e=_0xcfa572,_0x3c69c4=_0x106e17[_0x30ec0e(0x211)](),_0x492f95=await this['_startSheetCollabCursor'](_0x3c69c4);this[_0x30ec0e(0x379)][_0x30ec0e(0x3a2)](_0x492f95),this[_0x30ec0e(0x255)][_0x30ec0e(0x397)](_0x3c69c4,_0x492f95);}),this[_0xcfa572(0x41e)][_0xcfa572(0x412)](_0x5bd1dc[_0xcfa572(0x2c4)])[_0xcfa572(0x38a)](_0x497016(this[_0xcfa572(0x1e3)]))[_0xcfa572(0x38a)](_0x5d415e(_0x1b274c=>!_0x1b274c[_0xcfa572(0x211)]()['startsWith']('__')))[_0xcfa572(0x404)](async _0x32c93d=>{const _0x52611c=_0xcfa572,_0x337085=_0x32c93d[_0x52611c(0x211)](),_0x276973=await this[_0x52611c(0x3fa)](_0x337085);this[_0x52611c(0x379)][_0x52611c(0x3a2)](_0x276973),this[_0x52611c(0x255)][_0x52611c(0x397)](_0x337085,_0x276973);}),_0x56525b(this[_0xcfa572(0x41e)][_0xcfa572(0x294)](_0x5bd1dc[_0xcfa572(0x2c4)]),this[_0xcfa572(0x41e)][_0xcfa572(0x294)](_0x5bd1dc[_0xcfa572(0x2e4)]))[_0xcfa572(0x38a)](_0x497016(this[_0xcfa572(0x1e3)]))[_0xcfa572(0x404)](_0x439b6c=>{const _0x315935=_0xcfa572,_0x231384=_0x439b6c[_0x315935(0x211)](),_0x6649c5=this['_entities']['get'](_0x231384);_0x6649c5&&(_0x6649c5['dispose'](),this[_0x315935(0x255)]['delete'](_0x231384));});}async[_0x17441(0x357)](_0xd57e3b){const _0x117360=_0x17441,_0x36a47b=await this['_collabSessionService'][_0x117360(0x322)](_0xd57e3b),_0x4e8f95=this[_0x117360(0x3ab)][_0x117360(0x1df)](Be,_0xd57e3b,_0x36a47b);return _0x4e8f95[_0x117360(0x2b0)](),_0x4e8f95;}async[_0x17441(0x3fa)](_0x1263e5){const _0x1ffb15=_0x17441,_0x2d21c8=await this['_collabSessionService'][_0x1ffb15(0x322)](_0x1263e5),_0x370efd=this['_injector'][_0x1ffb15(0x1df)](xe,_0x1263e5,_0x2d21c8);return _0x370efd[_0x1ffb15(0x2b0)](),_0x370efd;}};H=Wi([Ce(0x0,_0x55fada),Ce(0x1,_0x52728a(_0x54baa5)),Ce(0x2,_0x52728a(_0x423098))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x3593a4,_0x1ca1bc){const _0x158a91=_0x17441;let {radius:_0x57cd70,width:_0x39ba3d,height:_0x27650d}=_0x1ca1bc;_0x57cd70=_0x57cd70!=null?_0x57cd70:0x0,_0x39ba3d=_0x39ba3d!=null?_0x39ba3d:0x1e,_0x27650d=_0x27650d!=null?_0x27650d:0x1e;let _0x585f07=0x0,_0x7a81e7=0x0,_0x195f58=0x0;_0x585f07=_0x7a81e7=_0x195f58=Math[_0x158a91(0x30b)](_0x57cd70,_0x39ba3d/0x2,_0x27650d/0x2),_0x3593a4[_0x158a91(0x2f2)](),_0x3593a4[_0x158a91(0x1f7)](_0x585f07,0x0),_0x3593a4['lineTo'](_0x39ba3d-_0x7a81e7,0x0),_0x3593a4['arc'](_0x39ba3d-_0x7a81e7,_0x7a81e7,_0x7a81e7,Math['PI']*0x3/0x2,0x0,!0x1),_0x3593a4[_0x158a91(0x303)](_0x39ba3d,_0x27650d-_0x195f58),_0x3593a4[_0x158a91(0x2f9)](_0x39ba3d-_0x195f58,_0x27650d-_0x195f58,_0x195f58,0x0,Math['PI']/0x2,!0x1),_0x3593a4[_0x158a91(0x303)](0x0,_0x27650d),_0x3593a4[_0x158a91(0x303)](0x0,_0x585f07),_0x3593a4[_0x158a91(0x2f9)](_0x585f07,_0x585f07,_0x585f07,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3593a4['closePath'](),_0x1ca1bc[_0x158a91(0x2b8)]&&(_0x3593a4[_0x158a91(0x38f)](),_0x3593a4[_0x158a91(0x41b)]=_0x1ca1bc[_0x158a91(0x2b8)],_0x1ca1bc['fillRule']===_0x158a91(0x1ec)?_0x3593a4[_0x158a91(0x2b8)]('evenodd'):_0x3593a4[_0x158a91(0x2b8)](),_0x3593a4[_0x158a91(0x2ba)]());}class ve extends _0x2201af{constructor(_0x4e3461,_0x267845){const _0x136c43=_0x17441;super(_0x4e3461,_0x267845),_(this,_0x136c43(0x20c)),_(this,_0x136c43(0x41c)),(this[_0x136c43(0x20c)]=_0x267845==null?void 0x0:_0x267845[_0x136c43(0x20c)],this['text']=_0x267845==null?void 0x0:_0x267845['text']);}static[_0x17441(0x34c)](_0x418ece,_0x323fba){const _0x1701e4=_0x17441,{text:_0x17a579,color:_0x4f32e2}=_0x323fba;_0x418ece['save'](),_0x418ece[_0x1701e4(0x25b)]=_0x1701e4(0x373);const _0x420c35=_0x418ece[_0x1701e4(0x2ea)](_0x17a579)[_0x1701e4(0x40d)],_0x2bdd76=Math[_0x1701e4(0x30b)](_0x420c35+0x2*Re,at);ji(_0x418ece,{'height':Q,'radius':0x4,'width':_0x2bdd76,'fill':_0x4f32e2}),_0x418ece[_0x1701e4(0x41b)]=_0x1701e4(0x288);const _0x2566e3=Re,_0x3c9ab8=Q-Vi,_0x4a3597=at-0x2*Re;if(_0x420c35>_0x4a3597){let _0x517107='',_0x3eee1b=0x0;for(const _0x3afb04 of _0x17a579){const _0x143bec=_0x418ece['measureText'](_0x3afb04)[_0x1701e4(0x40d)];if(_0x3eee1b+_0x143bec<=_0x4a3597-_0x418ece[_0x1701e4(0x2ea)](_0x1701e4(0x3f7))['width'])_0x517107+=_0x3afb04,_0x3eee1b+=_0x143bec;else{_0x517107+=_0x1701e4(0x3f7);break;}}_0x418ece[_0x1701e4(0x3f4)](_0x517107,_0x2566e3,_0x3c9ab8);}else _0x418ece['fillText'](_0x17a579,_0x2566e3,_0x3c9ab8);_0x418ece['restore']();}['_draw'](_0x4ea97c){const _0x2c3374=_0x17441;ve[_0x2c3374(0x34c)](_0x4ea97c,this);}}const De='collab-text-anchor-',Xi='collab-text-range-',Gi='collab-rect-range-',z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x17441(0x2a9);class ct{constructor(_0x105818,_0x414b5d,_0x360a15,_0x6be468){const _0x1cfef0=_0x17441;_(this,_0x1cfef0(0x3de),[]),_(this,_0x1cfef0(0x300),null),_(this,_0x1cfef0(0x262),null),_(this,'_anchorDot',null),_(this,_0x1cfef0(0x3f2),null),_(this,_0x1cfef0(0x3f8),null),(this[_0x1cfef0(0x325)]=_0x105818,this['_scene']=_0x414b5d,this[_0x1cfef0(0x3e8)]=_0x360a15,this[_0x1cfef0(0x1ef)]=_0x6be468,this[_0x1cfef0(0x30d)]());}set[_0x17441(0x34f)](_0x2ce549){const _0x3b938d=_0x17441;_0x2ce549?(this[_0x3b938d(0x3ad)]&&this[_0x3b938d(0x3ad)][_0x3b938d(0x21f)](),this[_0x3b938d(0x262)]&&this[_0x3b938d(0x262)][_0x3b938d(0x3b7)]()):(this[_0x3b938d(0x3ad)]&&this[_0x3b938d(0x3ad)][_0x3b938d(0x3b7)](),this[_0x3b938d(0x262)]&&this[_0x3b938d(0x262)][_0x3b938d(0x21f)]());}[_0x17441(0x2e2)](){const _0x565e84=_0x17441;for(const _0x589023 of this['_shapes'])_0x589023['dispose']();this[_0x565e84(0x262)]&&this['_textBubble'][_0x565e84(0x2e2)](),this[_0x565e84(0x3ad)]&&this[_0x565e84(0x3ad)]['dispose'](),this['_anchor']&&this['_anchor'][_0x565e84(0x2e2)](),this['_eventUnsubscribe']&&this[_0x565e84(0x3f8)]();}[_0x17441(0x30d)](){const _0x203df5=_0x17441;var _0xb1781e;const {_docSkeleton:_0x419a85,_document:_0x312ab7}=this,{color:_0xa848e4,name:_0x19cca9,ranges:_0x409c73}=this[_0x203df5(0x325)],_0x5a88b8=_0x312ab7[_0x203df5(0x20d)](),{docsLeft:_0xeafd9c,docsTop:_0x4eb930}=_0x5a88b8,_0x54c3e5=new _0x2c074d(_0x5a88b8,_0x419a85);for(const {startOffset:_0x4973c1,endOffset:_0x51c605,rangeType:_0x4aad0d,segmentId:_0x467693,segmentPage:_0x212cfd,collapsed:_0x2c839b,isActive:_0xba0585}of _0x409c73){const _0x20c093=_0x419a85['findNodePositionByCharIndex'](_0x4973c1,!0x0,_0x467693,_0x212cfd);let _0x5b62b3=_0x419a85[_0x203df5(0x361)](_0x51c605,!0x0,_0x467693,_0x212cfd);if(_0x5b62b3==null&&(_0x5b62b3=_0x419a85[_0x203df5(0x361)](_0x51c605-0x1,!0x1,_0x467693,_0x212cfd)),_0xba0585){const {contentBoxPointGroup:_0x1cc88e}=_0x54c3e5[_0x203df5(0x301)](_0x5b62b3,_0x5b62b3);if(_0x1cc88e[_0x203df5(0x408)]===0x0)continue;this[_0x203df5(0x406)](_0xa848e4,_0x1cc88e,_0xeafd9c,_0x4eb930,_0x19cca9),this[_0x203df5(0x3f8)]=this[_0x203df5(0x201)]();}if(_0x20c093&&_0x5b62b3){if(_0x4aad0d===_0x59be1c[_0x203df5(0x2b7)]){const _0x5c86e7=new _0x555723(_0x5a88b8,_0x419a85),{pointGroup:_0x4df753}=(_0xb1781e=_0x5c86e7['getRangePointData'](_0x20c093,_0x5b62b3))!=null?_0xb1781e:{};if(_0x4df753==null||_0x4df753[_0x203df5(0x408)]===0x0)continue;this[_0x203df5(0x30c)](_0xa848e4,_0x4df753,_0xeafd9c,_0x4eb930);}else{if(!_0x2c839b){const {borderBoxPointGroup:_0x1846b0}=_0x54c3e5['getRangePointData'](_0x20c093,_0x5b62b3);if(_0x1846b0['length']===0x0)continue;this[_0x203df5(0x35a)](_0xa848e4,_0x1846b0,_0xeafd9c,_0x4eb930);}}}}}[_0x17441(0x406)](_0x4694ee,_0x29c920,_0x4417a3,_0x2ee10d,_0x5d48dc){const _0xfce317=_0x17441,_0x486b7e=this[_0xfce317(0x3ea)](_0x29c920),{left:_0x2ee5a2,top:_0x4119f5,height:_0x2e4954}=_0x486b7e,_0x304d65=this[_0xfce317(0x38e)](),_0x3dc66b=zi/_0x304d65,_0x32576d=new _0xfc853d(De+_0x19061a(z),{'left':_0x2ee5a2+_0x4417a3-_0x3dc66b,'top':_0x4119f5+_0x2ee10d,'height':_0x2e4954,'width':Ki,'fill':_0x4694ee||_0x506237(_0x24d0be[_0xfce317(0x221)],0x0),'strokeWidth':_0x3dc66b,'stroke':Ji,'evented':!0x0});this[_0xfce317(0x300)]=_0x32576d,this['_scene'][_0xfce317(0x394)](_0x32576d,_0x18affc);const _0x3e0576=new _0xfc853d(De+_0x19061a(z),{'left':_0x2ee5a2+_0x4417a3-_0x3dc66b,'top':_0x4119f5+_0x2ee10d-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x4694ee||_0x506237(_0x24d0be[_0xfce317(0x221)],0x0),'strokeWidth':0x0,'stroke':_0x4694ee||_0x506237(_0x24d0be[_0xfce317(0x221)],0x0),'evented':!0x1});this[_0xfce317(0x3ad)]=_0x3e0576,this[_0xfce317(0x349)]['addObject'](_0x3e0576,_0x18affc);const _0x488bd7=new ve(De+_0x19061a(z),{'left':_0x2ee5a2+_0x4417a3-_0x3dc66b,'top':_0x4119f5+_0x2ee10d-Q,'text':_0x5d48dc,'color':_0x4694ee});this[_0xfce317(0x262)]=_0x488bd7,this[_0xfce317(0x349)][_0xfce317(0x394)](_0x488bd7,_0x18affc),this[_0xfce317(0x34f)]=!0x1;}['_handleHover'](){const _0x1c9583=_0x17441,_0x4afb25=this[_0x1c9583(0x300)][_0x1c9583(0x200)]['subscribeEvent'](()=>{const _0x1707a1=_0x1c9583;this[_0x1707a1(0x34f)]=!0x0;}),_0x662e19=this[_0x1c9583(0x300)][_0x1c9583(0x1d9)][_0x1c9583(0x2c3)](()=>{const _0x5e5df4=_0x1c9583;this[_0x5e5df4(0x3f2)]&&clearTimeout(this[_0x5e5df4(0x3f2)]),this[_0x5e5df4(0x3f2)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x36ba40=_0x1c9583;_0x4afb25[_0x36ba40(0x2cc)](),_0x662e19['unsubscribe']();};}['_drawTextRange'](_0x218c93,_0x2da3c9,_0x129729,_0x35880b){const _0x336126=_0x17441,_0x1f1dc1=new _0x3077ba(_0x218c93)[_0x336126(0x279)](0.2)[_0x336126(0x3cf)](),_0x71efaa=new _0x21bd70(Xi+_0x19061a(z),{'pointsGroup':_0x2da3c9,'fill':_0x1f1dc1||_0x506237(_0x24d0be['black'],0.2),'left':_0x129729,'top':_0x35880b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x336126(0x3de)][_0x336126(0x216)](_0x71efaa),this['_scene'][_0x336126(0x394)](_0x71efaa,_0x18affc);}[_0x17441(0x30c)](_0x39179a,_0x2e6918,_0x346e7c,_0x279d16){const _0x3c5f50=_0x17441,_0x4c0056=new _0x3077ba(_0x39179a)[_0x3c5f50(0x279)](0.2)['toRgbString'](),_0x34a3bd=new _0x21bd70(Gi+_0x19061a(z),{'pointsGroup':_0x2e6918,'fill':_0x4c0056||_0x506237(_0x24d0be[_0x3c5f50(0x221)],0.2),'left':_0x346e7c,'top':_0x279d16,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3c5f50(0x216)](_0x34a3bd),this[_0x3c5f50(0x349)][_0x3c5f50(0x394)](_0x34a3bd,_0x18affc);}[_0x17441(0x3ea)](_0x3d17da){const _0xe48be3=_0x3d17da[0x0],_0x46266d=_0xe48be3[0x0],_0x55789b=_0xe48be3[0x2],{x:_0x5e59e1,y:_0x306fc2}=_0x46266d,{x:_0x3abf51,y:_0x31ade3}=_0x55789b;return{'left':_0x5e59e1,'top':_0x306fc2,'width':_0x3abf51-_0x5e59e1,'height':_0x31ade3-_0x306fc2};}[_0x17441(0x38e)](){const _0x57f348=_0x17441,{scaleX:_0x91009f,scaleY:_0xe76ef9}=this['_scene'][_0x57f348(0x329)]();return Math[_0x57f348(0x333)](_0x91009f,_0xe76ef9);}}var Zi=Object[_0x17441(0x421)],Qi=(_0x5c966b,_0x491aad,_0x1d5807,_0xba56c9)=>{const _0x5a9909=_0x17441;for(var _0x1559dd=_0xba56c9>0x1?void 0x0:_0xba56c9?Zi(_0x491aad,_0x1d5807):_0x491aad,_0x20c54f=_0x5c966b[_0x5a9909(0x408)]-0x1,_0xbe4ea9;_0x20c54f>=0x0;_0x20c54f--)(_0xbe4ea9=_0x5c966b[_0x20c54f])&&(_0x1559dd=_0xbe4ea9(_0x1559dd)||_0x1559dd);return _0x1559dd;},ie=(_0x56666a,_0x49d7c0)=>(_0x44b558,_0x2f813d)=>_0x49d7c0(_0x44b558,_0x2f813d,_0x56666a);let Fe=class extends _0x3983c8{constructor(_0xf4feb1,_0x11692d,_0xae46f0,_0x4ff4c4,_0x232489){const _0x490172=_0x17441;super(),_(this,'_cursorShapes',[]),_(this,_0x490172(0x28d),[]),(this['_context']=_0xf4feb1,this[_0x490172(0x3c2)]=_0x11692d,this[_0x490172(0x1f8)]=_0xae46f0,this['_commandService']=_0x4ff4c4,this['_themeService']=_0x232489,this[_0x490172(0x21e)]());}[_0x17441(0x21e)](){const _0x56e39b=_0x17441,_0x350a9f=this[_0x56e39b(0x1fd)][_0x56e39b(0x388)],_0x59e227=this[_0x56e39b(0x3c2)];this[_0x56e39b(0x380)](_0x2856f5([this[_0x56e39b(0x1f8)][_0x56e39b(0x371)](_0x350a9f),this[_0x56e39b(0x32e)][_0x56e39b(0x29a)]])[_0x56e39b(0x38a)](_0x595000(([_0x5a29fd,_0x5e1ba2])=>({'skeleton':_0x59e227['getSkeleton'](),'cursors':[..._0x5a29fd[_0x56e39b(0x1fb)]()][_0x56e39b(0x3d5)](_0x3e9f27=>({..._0x3e9f27,'color':this['_themeService'][_0x56e39b(0x2f3)](_0x3e9f27[_0x56e39b(0x20c)])}))})))[_0x56e39b(0x404)](_0x5577dd=>{const _0x578d2d=_0x56e39b;if(this[_0x578d2d(0x3e4)](),_0x5577dd){const {skeleton:_0x54ef63,cursors:_0x56eba0}=_0x5577dd;this[_0x578d2d(0x328)](_0x54ef63,_0x56eba0);}})),this[_0x56e39b(0x248)](),this[_0x56e39b(0x40c)]();}['_updateCollabCursors'](_0x44f4d9,_0x2b67f6){const _0x18e6fc=_0x17441,{scene:_0x51d0f3,mainComponent:_0x160a3d}=this['_context'],_0x38bacc=_0x2b67f6[_0x18e6fc(0x2ae)](_0x3c89bb=>new ct(_0x3c89bb,_0x51d0f3,_0x44f4d9,_0x160a3d));this[_0x18e6fc(0x271)]=_0x38bacc,this[_0x18e6fc(0x28d)]=_0x2b67f6;}[_0x17441(0x40b)](){const _0x48bfbd=_0x17441;this['_removeCollabCursors']();const {scene:_0x3580d9,mainComponent:_0x3706c5}=this[_0x48bfbd(0x1fd)],_0x11f3fa=this[_0x48bfbd(0x3c2)][_0x48bfbd(0x409)](),_0x303f26=this['_cursors']['map'](_0x30efb1=>new ct(_0x30efb1,_0x3580d9,_0x11f3fa,_0x3706c5));this[_0x48bfbd(0x271)]=_0x303f26;}[_0x17441(0x3e4)](){const _0x52e5e6=_0x17441;this[_0x52e5e6(0x271)]['forEach'](_0x39ad5e=>_0x39ad5e[_0x52e5e6(0x2e2)]()),this[_0x52e5e6(0x271)]=[];}[_0x17441(0x40c)](){const _0x46955c=_0x17441,_0x574351=[_0x4d39a8['id']];this[_0x46955c(0x380)](this[_0x46955c(0x419)]['onCommandExecuted'](_0x261f50=>{const _0x13dc7f=_0x46955c;_0x574351[_0x13dc7f(0x30a)](_0x261f50['id'])&&_0x261f50[_0x13dc7f(0x39d)][_0x13dc7f(0x388)]===this['_context']['unitId']&&this[_0x13dc7f(0x40b)]();}));}[_0x17441(0x248)](){const _0x370ff8=_0x17441;this[_0x370ff8(0x380)](_0x5b3639(this[_0x370ff8(0x1fd)][_0x370ff8(0x3ff)][_0x370ff8(0x2fd)])[_0x370ff8(0x38a)](_0x51ff29(_0x277f7c=>_0x277f7c[_0x370ff8(0x253)]===_0x5dd3a2[_0x370ff8(0x38d)]),_0x1f2676(0x10))[_0x370ff8(0x404)](()=>{this['_refreshCollabCursors']();}));}};Fe=Qi([ie(0x1,_0x52728a(_0x44e57b)),ie(0x2,_0x52728a(H)),ie(0x3,_0x38a819),ie(0x4,_0x52728a(_0x24adad))],Fe);const qi=0x1,en=1.5;function _0xda8c(){const _0x4292ba=['measureText','getUnit','size','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','YUUMI_TABLE_NOT_FOUND_IN_UNIT','get','univerjs-icon\x20univerjs-icon-','transformMutationsWithChangeset','beginPath','getColorFromTheme','YUUMI_RATE_OVER_LIMIT','_transformUndoRedoStack','getSheetId','loadOfflineData','CHANGESET_REVISION_CONFILICT','arc','_docSyncEditingCollabCursorService','1em','collaboration.offline-data-not-saved','onTransformChange$','subunit','_collaborationUIEventService','_anchor','getRangePointData','formula.calculation.started','lineTo','assignAColorForMemberID','_getSheetObject','result','PY_RUNTIME_SCRIPT_ERROR','defs','translate(.97)','includes','min','_drawRectRange','_render','_checkAndWaitForCalculationPermission','_hovered','LOGIN_TOKEN_PROCESSING_FAILED','setShapeProps','docStateChange$','getCellPositionByOffset','_startCalculationLimit','_assignedColors','_initEvent','YUUMI_UNABLE_LOAD_URL','ENTITLE_NEED_BILLING_ADDRESS','newValue','_clearOtherTimers','184696vkCFZE','setConfig','getConfig','collabStatus.conflict','getDocRanges','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','memberID','requireSession','MOBILE_HAS_BEEN_BOUND','enableLocalCache','_cursor','onMouseMove','url(#on-line-icon_clip0_910_349)','_updateCollabCursors','getAncestorScale','_messageService','limitInfo','DeleteRangeMoveLeftCommandId','isActive','_themeService','UNAUTHENTICATED','registerComponent','_refRangeService','_applyCommand','max','REDEMPTION_CODE_INACTIVE','INVITE_CODE_HAS_BEEN_UES','YUUMI_ALL_TABLES_IS_INVALID','children','getSheetBySheetId','SUCCESS','YUUMI_CONNECTOR_URL_NOT_FOUND','Failed','_initWindowErrorListener','defIds','YUUMI_SUBSCRIPTION_NOT_FOUND','from','beforeCommandExecuted','InsertColCommandId','asObservable','dirtyRanges','_send','_backgroundColor','_setFormulaLimitStatus','_revisionService','ticket','_scene','setParam','_logService','drawWith','Error','_unitOnClients','_hover','unit','clipPath','INVALID_ARGUMENT','getViewport','NOT_COLLAB','APPLY_REVISION_CONFILICT','replaceDocRanges','_startSheetCollabCursor','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_taskIds','_drawTextRange','enableFrontendLog','[Unhandled\x20Rejection]:\x20','replace','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_NO_CUBOID_FOR_QUESTION','_setupSubUnitSync','findNodePositionByCharIndex','stringify','REDEMPTION_USER_NOT_ELIGIBLE','getParam','collabStatus.notCollab','delete','range','TOO_MANY_REQUESTS','collabStatus.synced','REDEMPTION_CODE_HAS_BEEN_CREATED','onLocalMutation','collaboration-client-ui.config','_lastPointer','isEditing','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','endColumn','getCollabCursors$','setItem','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_cursorInfo$','startFormulaLimitUrl','COMPLETION_FINISHED','ranges','pluginName','_entityInit$','registerRenderModule','has','YUUMI_AI_RUN_FAILED','OnLineIcon','endRow','?taskId=','disposeWithMe','_checkCalculationAvailable','_uploadLog','JOIN_ROOM_FAILED','NOT_FOUND','entityInit$','TEXT','key','unitId','REDEMPTION_INVALID_CODE','pipe','setTimeout','unitID','resize','_getScale','save','UNRECOGNIZED','getRelativeToViewportCoord','APPLY_NON_SEQUENTIAL_REVISION','jiqing.500','addObject','ENTITLE_COUPON_EXPIRED','history','set','_getFormulaLimitStatus','ENTITLE_DUP_SUBSCRIPTION','pushState','_ensureSubject','_online','params','USER_NOT_FOUND','makeDirty','_setupBeforeClosingHandler','executionId','next','_renderManagerService','find','top','permission.title','_transformPreviousActiveRange','_disabled','SNAPSHOT_INVALID_SNAPSHOT','_collabCursorState$','_injector','_createSocketURL','_anchorDot','getCollabEntity$','defineProperty','1818URIvWz','none','createSocket','red.300','exhaustSavingTask','ENTITLE_CHAT_LIMIT_EXCEED','currentUsage','show','FETCH_MISS','whenReady','UNDEFINED','uni.network.url-service','_config','UniverIcon','transformStateCache','triggerDblclick','_session','LICENSE_EXPORT_SIZE_EXCEEDED','_docSkeletonManagerService','setActiveRange','eventID','transformSelections','getStateCache','_registerRenderDependencies','totalFormulasToCalculate','_beforeCloseService','INVITE_CODE_ALREADY_BOUND','replaceState','_id','transformIMECache','m2Prime','toRgbString','white','startColumn','_onCursorDelete','/universer-api/frontend/logs','xlink:href','flatMap','_removeClearOtherTimer','substring','skeleton','then','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','APPLY_PERMISSION_DENIED','/universer-api/license/formula/limit/status','shift','_shapes','_toggleOnline','_updateSubUnitFromURLParams','mutations','clearTimeout','_unitStatus','_removeCollabCursors','LICENSE_IMPORT_SIZE_EXCEEDED','_handleEvent','executeCommand','_docSkeleton','_collaborationSessionService','_getAnchorBounding','_uiPartsService','undoState','CONNECTOR_DATA_TOO_LARGE','120fVhKHp','selection','error','_scheduleClearOtherTimer','_hideTimer','collaboration.single-unit.warning','fillText','OFFLINE','_releaseCalculationLimit','...','_eventUnsubscribe','url(#$1','_startDocCollabCursor','syncEditingCollabCursor','InsertRowCommandId','WECHAT_HAS_BEEN_BOUND','hovered','engine','7QxOIcF','session.collaboration-timeout','_currentUsage','getUnitStatus$','subscribe','_cachedData','_drawAnchor','_docTransformStateCacheService','length','getSkeleton','SYNCED','_refreshCollabCursors','_initCommandExecutedListener','width','roomMembers','_initCommandInterceptor','EMAIL_HAS_BEEN_BOUND','onStarting','getTypeOfUnitAdded$','onCommandExecuted','REDEMPTION_CODE_NOT_STARTED','_toggleOffline','_roomMembers$','complete','symbol','_commandService','_handleJoinEvent','fillStyle','text','_handleHeartbeatEvent','_univerInstanceService','deepClone','event$','getOwnPropertyDescriptor','addHandlerCallback','_localeService','RemoveRowCommandId','USER_NOT_INVITED_CODE','ACTIVE_UNIT_EVENT_CHANNEL','formula.calculation.waiting','getFocusedUnit','labelPosition','body','onPointerLeave$','_range','runId','getUndoRedoMutationParamsCache','MOBILE_VERIFY_CODE_MISMATCH','AWAITING_WITH_PENDING','createInstance','join','now','[RemoteUniscriptService]:\x20no\x20focused\x20unit','dispose$','2480726IELEWG','_heartbeatTimer','sheetID','location','MUTATION','source','_initStatusComponent','_transformService','evenodd','height','current','_document','forEach','transform','CURRENT_STATUS_CANNOT_OPERATE','stageInfo','Unknown\x20user','AUTHORIZE_CODE_ILLEGAL','getCurrent','moveTo','_collabCursorController','removeEventListener','unshift','values','FromArray','_context','START_CALCULATION','data','onPointerEnter$','_handleHover','some','random','_monkeyPatchLogService','\x20at\x20','UPDATE_CURSOR','_syncEditingCollabCursorService','entries','startRow','/universer-api/license/formula/limit/done','_registerDependencies','color','getOffsetConfig','add','filename','url(#off-line-icon_clip0_910_343)','getUnitId','_getMergeRange','div','loadUnit','ENTITLE_REPORT_LIMIT_EXCEED','push','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getMemberID','_urlService','_pollingInterval','getMember','ENTITLE_INSUFFICIENT_QUOTA','_updateLocalCursor','_init','hide','getCurrentSelections','black','href','286276xDLckF','tag','_lastResponseTimestamp','bottom','_scheduleSaving','collab-client.tooltip.reconnect','AWAITING','saveOfflineData','USERS_LEAVE','m1Prime','SOCKET_FAILED_RETRY','_hasFormulaInDirtyRanges','textRanges','_draw','LICENSE_DISTRO_REJECTED','row','REDEMPTION_CODE_FULLY_REDEEMED','clearInterval','addObjects','_updateURLWithCurrentState','off-line-icon','message','cursorInfo','toString','sessionStatus$','currentColor','_initStatusListener','_clearPolling','post','_labelPosition','PAYMENT_CHANNEL_NOT_SUPPORT','_docStateChangeManagerService','idSuffix','NO_OTHER_CLIENTS_EDITING','doc.mutation.rich-text-editing','LOGIN_FAILED','send','_initResize','OTHER_CLIENTS_EDITING','transformMutation','PERMISSION_DENIED','5660346LIXuVe','on-line-icon_clip0_910_349','15921411gZTDgJ','_transformHistoryAndStateStack','USER_IS_ANONYMOUS','split','_name','type','path','_entities','SNAPSHOT_HAS_BEEN_REMOVED','collaboration.closeRoom','reason','with','_docClipboardService','font','_selfUnitIDs','sheetId','_color','MoveRangeCommandId','socket$','DeleteRangeMoveUpCommandId','_textBubble','EMAIL_VERIFY_CODE_MISMATCH','setInterval','Loading','_initUnhandledRejectionListener','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_ASYNCIO_CANCELLED','ALREADY_EXISTS','backgroundColor','trim','cursorInfo$','unhandledrejection','string','_memberService','code','_cursorShapes','_configService','ONLINE','getActiveSheet','_colorAssignService','all','_scheduleHeartbeat','_httpService','setAlpha','_instanceService','INVALID_INVITE_CODE','CONFLICT','_localStorageService','_maxFormulaLimit','storage','ERROR_AGAIN','setStateCache','permission.content','_notificationService','7204752WmZwSz','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_initUserListener','ENTITLE_USE_COUPON_NOT_1ST_TRADE','#FFF','on-line-icon','[Window\x20Error]:\x20','_status$','collabCursorState$','_cursors','displayName','INTERNAL_ERROR','_collaborationController','setUndoRedoMutationParamsCache','/run/','yellow.400','getTypeOfUnitDisposed$','_onCursorUpdate','off-line-icon_clip0_910_343','_saveCache','focused$','YUUMI_URL_COL_OUT_OF_RANGE','currentTheme$','_memberID','actions','svg','_colorIndex','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','OTHER_CLIENT_EDITING','session.connection-failed','_docTransformIMECacheService','attrs','formula.calculation.unable','110hqLGgE','transformByState','registerRefRange','0\x200\x2016\x2016','rgba(255,\x20255,\x20255,\x200.01)','http://www.w3.org/2000/svg','ENTITLE_COUPON_USED_UP','InsertRangeMoveDownCommandId','mask','map','_handleLeaveEvent','init','[LogService\x20Error]:\x20','getRenderById','assign','parseInt','popstate','Warning','RECT','fill','_sheetSkeletonManagerService','restore','ENSURE_SNAPSHOT_EXECUTION','M0\x200H16V16H0z','round','_initDependencies','3HNJcjJ','SUBMIT_CHANGESET_TIMEOUT','searchParams','_showGuardMessage','subscribeEvent','UNIVER_DOC','releaseFormulaLimitUrl','saveTaskMap','_initEntityListener','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_onRefRangeChange','APPLY_REJECT','getItem','unsubscribe','APPLY_DUPLICATED','_getSessionTicket','addClipboardHook','onRendered','name','_dataLoaderService','catch','currentSkeleton$','application/json','getUniverSheetInstance','isArray','wsSessionTicketUrl','_docTransformSelectionsService','INVITE_CODE_REQUIRED','column','status$','transformRemoteChangeset','getUnhiddenWorksheets','urlChange$','getValue','collabStatus.fetchMiss','dispose','_imageIoService','UNIVER_SHEET','_saveTaskMap','maxFormulaLimit','VIEW_MAIN','DATA_SOURCE_TOO_LARGE','redoState'];_0xda8c=function(){return _0x4292ba;};return _0xda8c();}class tn extends _0x2201af{constructor(_0x1b257f,_0x354849){const _0x23e1db=_0x17441;super(_0x1b257f,_0x354849),_(this,_0x23e1db(0x25e)),_(this,'_hovered',!0x1),_(this,_0x23e1db(0x1da)),_(this,'_name',''),_(this,'_labelPosition',_0x23e1db(0x3a5)),_(this,'_backgroundColor'),(_0x354849&&this[_0x23e1db(0x311)](_0x354849),this['onPointerEnter$'][_0x23e1db(0x2c3)](()=>this[_0x23e1db(0x311)]({'hovered':!0x0})),this['onPointerLeave$'][_0x23e1db(0x2c3)](()=>this[_0x23e1db(0x311)]({'hovered':!0x1})));}['setShapeProps'](_0x17382b){const _0x14b464=_0x17441;var _0x56cf49,_0x46de5e,_0x24c93c,_0x11c9c9,_0xfc3c0b,_0x38fc43;this[_0x14b464(0x25e)]=(_0x56cf49=_0x17382b[_0x14b464(0x20c)])!=null?_0x56cf49:this[_0x14b464(0x25e)],this['_hovered']=(_0x46de5e=_0x17382b[_0x14b464(0x3fe)])!=null?_0x46de5e:this[_0x14b464(0x30f)],this[_0x14b464(0x1da)]=(_0x24c93c=_0x17382b[_0x14b464(0x367)])!=null?_0x24c93c:this['_range'],this[_0x14b464(0x252)]=(_0x11c9c9=_0x17382b[_0x14b464(0x2d1)])!=null?_0x11c9c9:this[_0x14b464(0x252)],this[_0x14b464(0x240)]=(_0xfc3c0b=_0x17382b[_0x14b464(0x1d7)])!=null?_0xfc3c0b:this[_0x14b464(0x240)],this[_0x14b464(0x345)]=(_0x38fc43=_0x17382b[_0x14b464(0x26a)])!=null?_0x38fc43:this['_backgroundColor'],this[_0x14b464(0x2a6)]({'width':_0x17382b[_0x14b464(0x40d)],'height':_0x17382b[_0x14b464(0x1ed)]});}[_0x17441(0x326)](_0x3e045d){const _0x4db719=_0x17441,{row:_0x5d59f4,column:_0x2f4c39}=_0x3e045d;if(_0x5d59f4>=this['_range'][_0x4db719(0x209)]&&_0x5d59f4<=this[_0x4db719(0x1da)][_0x4db719(0x37e)]&&_0x2f4c39>=this[_0x4db719(0x1da)]['startColumn']&&_0x2f4c39<=this['_range'][_0x4db719(0x370)]){this[_0x4db719(0x311)]({'hovered':!0x0});return;}this[_0x4db719(0x311)]({'hovered':!0x1});}[_0x17441(0x3bf)](_0x45dbd5){return!0x1;}[_0x17441(0x230)](_0x154fdc){const _0x377826=_0x17441;_0xfc853d[_0x377826(0x34c)](_0x154fdc,{'width':this[_0x377826(0x40d)],'height':this[_0x377826(0x1ed)],'strokeWidth':en,'stroke':this[_0x377826(0x25e)],'evented':!0x1,'fill':this[_0x377826(0x345)]}),this['_hovered']&&(_0x154fdc[_0x377826(0x38f)](),_0x154fdc[_0x377826(0x1f1)](0x1,0x0,0x0,0x1,this['width'],this[_0x377826(0x240)]===_0x377826(0x226)?0x0:-Q),ve[_0x377826(0x34c)](_0x154fdc,{'text':this[_0x377826(0x252)],'color':this[_0x377826(0x25e)]}),_0x154fdc[_0x377826(0x2ba)]());}}var sn=Object['getOwnPropertyDescriptor'],nn=(_0x3c7708,_0x134dfc,_0x3c1475,_0x9c4daf)=>{for(var _0x440c02=_0x9c4daf>0x1?void 0x0:_0x9c4daf?sn(_0x134dfc,_0x3c1475):_0x134dfc,_0x21b127=_0x3c7708['length']-0x1,_0xb6c471;_0x21b127>=0x0;_0x21b127--)(_0xb6c471=_0x3c7708[_0x21b127])&&(_0x440c02=_0xb6c471(_0x440c02)||_0x440c02);return _0x440c02;},be=(_0x149281,_0x1606d1)=>(_0x47387b,_0x85e974)=>_0x1606d1(_0x47387b,_0x85e974,_0x149281);const rn=0x1389;let ke=class extends _0x3983c8{constructor(_0x362b40,_0x4ae6cf,_0x40321f,_0x4126ee){const _0x34ad9e=_0x17441;super(),_(this,_0x34ad9e(0x28d),new Set()),_(this,_0x34ad9e(0x36d),null),(this[_0x34ad9e(0x1fd)]=_0x362b40,this[_0x34ad9e(0x2b9)]=_0x4ae6cf,this[_0x34ad9e(0x1f8)]=_0x40321f,this[_0x34ad9e(0x32e)]=_0x4126ee,this[_0x34ad9e(0x21e)]());}['_init'](){const _0x544d72=_0x17441;this['_sheetSkeletonManagerService'][_0x544d72(0x2d4)]['pipe'](_0x54819d(this[_0x544d72(0x1e3)]),_0x421e17(_0x2c65d7=>{const _0x1bc48d=_0x544d72;if(_0x2c65d7){const _0x1a6900=_0x2c65d7[_0x1bc48d(0x25d)];return _0x2856f5(this[_0x1bc48d(0x1f8)]['getCollabCursors$'](this[_0x1bc48d(0x1fd)][_0x1bc48d(0x388)]),this[_0x1bc48d(0x32e)]['currentTheme$'])[_0x1bc48d(0x38a)](_0x595000(([_0x1887b1,_0x3f7841])=>{const _0x51ffda=new Map();return _0x1887b1['forEach']((_0x1a985a,_0x472ab2)=>{const _0x2f75af=_0x5a49;if(_0x1a985a[_0x2f75af(0x1e6)]===_0x1a6900){const _0x3d0d27={..._0x1a985a};_0x3d0d27[_0x2f75af(0x20c)]=this['_themeService'][_0x2f75af(0x2f3)](_0x1a985a[_0x2f75af(0x20c)]),_0x51ffda[_0x2f75af(0x397)](_0x472ab2,_0x3d0d27);}}),{'skeleton':_0x2c65d7,'cursors':_0x51ffda};}));}return _0x2e1bc9({'skeleton':null,'cursors':new Map()});}))[_0x544d72(0x404)](({skeleton:_0x53c5a8,cursors:_0x44ac07})=>{const _0x39dba9=_0x544d72;this[_0x39dba9(0x3e4)](),_0x53c5a8&&this['_updateCollabCursors'](_0x53c5a8,_0x44ac07);}),this[_0x544d72(0x2b9)][_0x544d72(0x2d4)][_0x544d72(0x404)](_0x238492=>{const _0x4857d4=_0x544d72;if(_0x238492==null)return;const {skeleton:_0xfa3dc7}=_0x238492,{scene:_0x17e813}=this['_context'];_0x17e813['onPointerMove$'][_0x4857d4(0x2c3)](_0x97d37a(_0x63553=>{const _0x44c2a1=_0x4857d4;var _0x4f8b7a,_0x5dad98;const {offsetX:_0x1ab2fc,offsetY:_0x13e448}=_0x63553,{x:_0x1b9665,y:_0x4b7969}=_0x17e813[_0x44c2a1(0x391)](_0x4aff26[_0x44c2a1(0x1fc)]([_0x1ab2fc,_0x13e448])),{scaleX:_0x1398e4,scaleY:_0x90bd74}=_0x17e813[_0x44c2a1(0x329)](),_0x3c659e=_0x17e813[_0x44c2a1(0x353)](_0x38f6bd[_0x44c2a1(0x2e7)]),_0x44d5e9=_0x17e813['getVpScrollXYInfoByPosToVp'](_0x4aff26[_0x44c2a1(0x1fc)]([_0x1b9665,_0x4b7969]),_0x3c659e),_0x3a790e=_0xfa3dc7[_0x44c2a1(0x313)](_0x1ab2fc,_0x13e448,_0x1398e4,_0x90bd74,_0x44d5e9);((_0x4f8b7a=this[_0x44c2a1(0x36d)])==null?void 0x0:_0x4f8b7a['column'])===_0x3a790e[_0x44c2a1(0x2db)]&&((_0x5dad98=this['_lastPointer'])==null?void 0x0:_0x5dad98[_0x44c2a1(0x232)])===_0x3a790e[_0x44c2a1(0x232)]||this[_0x44c2a1(0x28d)]['forEach'](_0x18b887=>{const _0x3ec6e4=_0x44c2a1;_0x18b887[_0x3ec6e4(0x326)](_0x3a790e);});},0x64));});}[_0x17441(0x328)](_0x1499ec,_0x5ac802){const _0x3b852c=_0x17441;var _0x2ae8c3;const _0xcf4680=(_0x2ae8c3=this[_0x3b852c(0x2b9)][_0x3b852c(0x1f6)]())==null?void 0x0:_0x2ae8c3[_0x3b852c(0x3d8)];if(!_0xcf4680)return;const _0x50dfcf=this[_0x3b852c(0x305)]();if(!_0x50dfcf)return;this[_0x3b852c(0x28d)][_0x3b852c(0x1f0)](_0x467553=>{const _0x376971=_0x3b852c;_0x467553[_0x376971(0x39f)]();});const {scene:_0x48352d}=_0x50dfcf,_0x22f985=on(Array[_0x3b852c(0x33f)](_0x5ac802[_0x3b852c(0x1fb)]()))[_0x3b852c(0x2ae)](_0x53a5bb=>{const _0x280001=_0x3b852c,{color:_0x588354,range:_0x2ed067,name:_0x2ae6b8,selection:_0x19de9c,sheetID:_0x4943d9}=_0x53a5bb,{startColumn:_0x3e8c4d,startRow:_0x137cbb,endColumn:_0x99e3ed,endRow:_0x2a6e7b}=_0x2ed067,_0x5b7aa7=_0xbf0559(_0x137cbb,_0x3e8c4d,_0x48352d,_0xcf4680),_0x2e9f25=_0xbf0559(_0x2a6e7b,_0x99e3ed,_0x48352d,_0xcf4680),{columnHeaderHeightAndMarginTop:_0x4374fd}=_0xcf4680,{startX:_0x5dc888,startY:_0x16cea3}=_0x5b7aa7,{endX:_0x6047f1,endY:_0xfbea8b}=_0x2e9f25,_0x29a49e=_0x6047f1-_0x5dc888,_0x3c9dd0=_0xfbea8b-_0x16cea3,_0x3947ad={'labelPosition':_0x16cea3-_0x4374fd>=Q?_0x280001(0x3a5):'bottom','sheetID':_0x4943d9,'range':_0x2ed067,'color':_0x588354,'name':_0x2ae6b8,'selection':_0x19de9c,'left':_0x5dc888,'top':_0x16cea3,'width':_0x29a49e,'height':_0x3c9dd0,'evented':!0x1,'zIndex':rn};return new tn(_0x2ae6b8,_0x3947ad);});_0x48352d[_0x3b852c(0x235)](_0x22f985,qi),this[_0x3b852c(0x28d)]=new Set(_0x22f985);}['_removeCollabCursors'](){const _0x513551=_0x17441;var _0x1b9760;(_0x1b9760=this[_0x513551(0x28d)])==null||_0x1b9760['forEach'](_0x4aa51c=>_0x4aa51c[_0x513551(0x2e2)]());}[_0x17441(0x305)](){const _0x53ca3a=_0x17441;return _0x5d6885(this[_0x53ca3a(0x1fd)][_0x53ca3a(0x350)],this['_context']);}};ke=nn([be(0x1,_0x52728a(_0x143a1d)),be(0x2,_0x52728a(H)),be(0x3,_0x52728a(_0x24adad))],ke);function on(_0x575368){const _0x521c03=_0x17441,_0x3e3b98=new Map();return _0x575368[_0x521c03(0x1f0)](_0x5afdab=>{const _0x2ec330=_0x521c03;if(_0x3e3b98[_0x2ec330(0x37b)](_0x5afdab[_0x2ec330(0x3ef)])){const _0x5ddffb=_0x3e3b98['get'](_0x5afdab[_0x2ec330(0x3ef)]);_0x5ddffb[_0x2ec330(0x2d1)]+=',\x20'+_0x5afdab['name'];}else _0x3e3b98[_0x2ec330(0x397)](_0x5afdab[_0x2ec330(0x3ef)],_0x5afdab);}),Array[_0x521c03(0x33f)](_0x3e3b98[_0x521c03(0x1fb)]());}var an=Object[_0x17441(0x421)],cn=(_0x2d2549,_0x44cf1f,_0x571809,_0x47d128)=>{const _0xb31cca=_0x17441;for(var _0x1e1ec0=_0x47d128>0x1?void 0x0:_0x47d128?an(_0x44cf1f,_0x571809):_0x44cf1f,_0x16451e=_0x2d2549[_0xb31cca(0x408)]-0x1,_0x34766f;_0x16451e>=0x0;_0x16451e--)(_0x34766f=_0x2d2549[_0x16451e])&&(_0x1e1ec0=_0x34766f(_0x1e1ec0)||_0x1e1ec0);return _0x1e1ec0;},F=(_0x1dcdf4,_0x2ef360)=>(_0x306818,_0x31dd85)=>_0x2ef360(_0x306818,_0x31dd85,_0x1dcdf4);let _e=class extends _0x5152e2{constructor(_0x1a466d,_0x3bbf58,_0x122a4c,_0x5f2135,_0xcabb78,_0x58bc26){const _0x2d384c=_0x17441;super(),this[_0x2d384c(0x3c9)]=_0x1a466d,this['_localCacheService']=_0x3bbf58,this[_0x2d384c(0x2ff)]=_0x122a4c,this[_0x2d384c(0x32a)]=_0x5f2135,this[_0x2d384c(0x283)]=_0xcabb78,this[_0x2d384c(0x423)]=_0x58bc26,this['_setupBeforeClosingHandler'](),this[_0x2d384c(0x316)]();}[_0x17441(0x3a0)](){const _0x425a29=_0x17441;this[_0x425a29(0x380)](this[_0x425a29(0x3c9)]['registerBeforeClose'](()=>{const _0x6cdee7=_0x425a29;if(this['_localCacheService'][_0x6cdee7(0x2c6)][_0x6cdee7(0x2ec)])return this[_0x6cdee7(0x423)]['t'](_0x6cdee7(0x2fc));}));}[_0x17441(0x316)](){const _0x28e42d=_0x17441;this['disposeWithMe'](this[_0x28e42d(0x2ff)][_0x28e42d(0x420)][_0x28e42d(0x404)](_0x3f2b25=>{const _0x3a202d=_0x28e42d;_0x3f2b25['id']===_0x259c4a[_0x3a202d(0x2a0)]&&this[_0x3a202d(0x32a)][_0x3a202d(0x3b7)]({'type':_0x1d1199[_0x3a202d(0x2b6)],'content':this[_0x3a202d(0x423)]['t'](_0x3a202d(0x3f3))}),_0x3f2b25['id']===_0x259c4a['CLOSE_ROOM']&&this[_0x3a202d(0x32a)][_0x3a202d(0x3b7)]({'type':_0x1d1199['Warning'],'content':this[_0x3a202d(0x423)]['t']('collaboration.closeRoom')}),_0x3f2b25['id']===_0x259c4a[_0x3a202d(0x24b)]&&this['_notificationService'][_0x3a202d(0x3b7)]({'title':this['_localeService']['t'](_0x3a202d(0x3a6)),'content':this[_0x3a202d(0x423)]['t'](_0x3a202d(0x282)),'type':_0x3a202d(0x3f0),'duration':0x0}),_0x3f2b25['id']===_0x259c4a[_0x3a202d(0x27c)]&&this[_0x3a202d(0x32a)][_0x3a202d(0x3b7)]({'type':_0x1d1199['Error'],'content':this[_0x3a202d(0x423)]['t'](_0x3a202d(0x257))+'('+_0x3f2b25[_0x3a202d(0x1ff)]+')'}),_0x3f2b25['id']===_0x259c4a[_0x3a202d(0x383)]&&this[_0x3a202d(0x32a)][_0x3a202d(0x3b7)]({'type':_0x1d1199['Warning'],'content':this[_0x3a202d(0x423)]['t'](_0x3f2b25[_0x3a202d(0x1ff)]||'')}),_0x3f2b25['id']===_0x259c4a[_0x3a202d(0x22d)]&&this[_0x3a202d(0x32a)][_0x3a202d(0x3b7)]({'type':_0x1d1199[_0x3a202d(0x2b6)],'content':this[_0x3a202d(0x423)]['t']('session.will-retry')}),_0x3f2b25['id']===_0x259c4a['SOCKET_FAILED']&&this[_0x3a202d(0x32a)][_0x3a202d(0x3b7)]({'type':_0x1d1199['Error'],'content':this[_0x3a202d(0x423)]['t'](_0x3a202d(0x2a1))}),_0x3f2b25['id']===_0x259c4a[_0x3a202d(0x2c0)]&&this[_0x3a202d(0x32a)]['show']({'type':_0x1d1199[_0x3a202d(0x34d)],'content':this[_0x3a202d(0x423)]['t'](_0x3a202d(0x401))});}));}};_e=cn([F(0x0,_0x448cc3),F(0x1,_0x4cad26),F(0x2,_0x52728a(_0x2e2785)),F(0x3,_0x4a1a2a),F(0x4,_0x175601),F(0x5,_0x52728a(_0x29ab17))],_e);var _n=Object['getOwnPropertyDescriptor'],ln=(_0x4aaa77,_0x679a8f,_0x26be2a,_0x450a33)=>{for(var _0x35a5dd=_0x450a33>0x1?void 0x0:_0x450a33?_n(_0x679a8f,_0x26be2a):_0x679a8f,_0x5ebbf0=_0x4aaa77['length']-0x1,_0x22736d;_0x5ebbf0>=0x0;_0x5ebbf0--)(_0x22736d=_0x4aaa77[_0x5ebbf0])&&(_0x35a5dd=_0x22736d(_0x35a5dd)||_0x35a5dd);return _0x35a5dd;},ne=(_0x30632f,_0x2f9aab)=>(_0x319ccb,_0x195198)=>_0x2f9aab(_0x319ccb,_0x195198,_0x30632f);let le=class extends _0x5152e2{constructor(_0x34a8dd,_0x5f4032,_0x219cee,_0x16be65){const _0x417261=_0x17441;super(),_(this,_0x417261(0x29b)),(this[_0x417261(0x3ab)]=_0x34a8dd,this[_0x417261(0x278)]=_0x5f4032,this[_0x417261(0x34b)]=_0x219cee,this['_collaborationSessionService']=_0x16be65,this['_init']());}[_0x17441(0x21e)](){const _0x9187cd=_0x17441;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this[_0x9187cd(0x204)](),this[_0x9187cd(0x286)]();}[_0x17441(0x286)](){const _0x1dc7b3=_0x17441;this[_0x1dc7b3(0x380)](this[_0x1dc7b3(0x3e9)][_0x1dc7b3(0x260)][_0x1dc7b3(0x404)](_0x44df68=>{const _0x2f3224=_0x1dc7b3;this[_0x2f3224(0x29b)]=_0x44df68==null?void 0x0:_0x44df68[_0x2f3224(0x321)];}));}[_0x17441(0x33c)](){const _0x477a40=_0x17441,_0x363866=_0x12e1fe=>{const _0x36cec9=_0x5a49;var _0x4f5f32;this['_uploadLog'](_0x36cec9(0x3f0),_0x36cec9(0x28a)+_0x12e1fe[_0x36cec9(0x238)]+_0x36cec9(0x205)+_0x12e1fe[_0x36cec9(0x20f)]+':'+_0x12e1fe['lineno']+':'+_0x12e1fe['colno']+'\x0a'+(((_0x4f5f32=_0x12e1fe[_0x36cec9(0x3f0)])==null?void 0x0:_0x4f5f32['stack'])||''));};window['addEventListener'](_0x477a40(0x3f0),_0x363866),this[_0x477a40(0x380)](()=>{const _0x3e18bb=_0x477a40;window[_0x3e18bb(0x1f9)](_0x3e18bb(0x3f0),_0x363866);});}[_0x17441(0x266)](){const _0x164f40=_0x17441,_0x4abfb3=_0x58eb77=>{const _0x12388f=_0x5a49;this[_0x12388f(0x382)](_0x12388f(0x3f0),_0x12388f(0x35c)+_0x58eb77[_0x12388f(0x258)]);};window['addEventListener'](_0x164f40(0x26d),_0x4abfb3),this[_0x164f40(0x380)](()=>{window['removeEventListener']('unhandledrejection',_0x4abfb3);});}[_0x17441(0x204)](){const _0x201a35=_0x17441,_0x5a89a9=this[_0x201a35(0x34b)][_0x201a35(0x3f0)]['bind'](this[_0x201a35(0x34b)]);this[_0x201a35(0x34b)][_0x201a35(0x3f0)]=(..._0x35b780)=>{const _0x181274=_0x201a35,_0x47b592=_0x35b780['map'](_0x5b1dcd=>_0x5b1dcd instanceof Error?_0x5b1dcd[_0x181274(0x238)]+'\x0a'+_0x5b1dcd['stack']:String(_0x5b1dcd))[_0x181274(0x1e0)]('\x20');this[_0x181274(0x382)](_0x181274(0x3f0),_0x181274(0x2b1)+_0x47b592),_0x5a89a9(..._0x35b780);},this[_0x201a35(0x380)](()=>{const _0x428a30=_0x201a35;this[_0x428a30(0x34b)][_0x428a30(0x3f0)]=_0x5a89a9;});}[_0x17441(0x382)](_0x5101a9,_0x16a877){const _0x5321a5=_0x17441;try{const _0x2ffa64={'userId':this[_0x5321a5(0x29b)],'logLabel':_0x5101a9,'content':_0x16a877};this['_httpService'][_0x5321a5(0x23f)](_0x5321a5(0x3d3),{'body':_0x2ffa64})[_0x5321a5(0x2d3)](()=>{});}catch{}}};le=ln([ne(0x0,_0x52728a(_0x54baa5)),ne(0x1,_0x52728a(_0x1c17b1)),ne(0x2,_0x3d294c),ne(0x3,_0x52728a(_0x423098))],le);const hn=_0x17441(0x36c),_t={};var un=Object[_0x17441(0x421)],dn=(_0x65db25,_0x50156c,_0x3de5de,_0x403fa9)=>{for(var _0x41d1ef=_0x403fa9>0x1?void 0x0:_0x403fa9?un(_0x50156c,_0x3de5de):_0x50156c,_0x20358f=_0x65db25['length']-0x1,_0x42e5d0;_0x20358f>=0x0;_0x20358f--)(_0x42e5d0=_0x65db25[_0x20358f])&&(_0x41d1ef=_0x42e5d0(_0x41d1ef)||_0x41d1ef);return _0x41d1ef;},lt=(_0x5a44c6,_0x562e99)=>(_0x233701,_0x4c28b2)=>_0x562e99(_0x233701,_0x4c28b2,_0x5a44c6);let he=class{constructor(_0x1b5bba,_0x25b5fd){const _0x41f3c2=_0x17441;this[_0x41f3c2(0x1eb)]=_0x1b5bba,this[_0x41f3c2(0x3a3)]=_0x25b5fd;}[_0x17441(0x3cd)](_0x5a4c48){const _0x5b8a2c=_0x17441;this[_0x5b8a2c(0x2f5)](_0x5a4c48),this[_0x5b8a2c(0x3a7)](_0x5a4c48);}[_0x17441(0x2dd)](_0x583870){const _0x1bf223=_0x17441,{unitID:_0x356add}=_0x583870,_0xd50d15=this['_renderManagerService']['getRenderById'](_0x356add)['with'](_0x17d1c5),{redoCache:_0x35a2b1}=_0xd50d15[_0x1bf223(0x1dc)]();if(_0x35a2b1[_0x1bf223(0x408)]===0x0)return _0x583870;let _0x4abf9c=_0x2d5aaf['deepClone'](_0x583870[_0x1bf223(0x3e1)][0x0]);for(let _0x51aa5e=0x0;_0x51aa5e<_0x35a2b1['length'];_0x51aa5e++){const _0x30b6ad={'id':'doc.mutation.rich-text-editing','params':{..._0x35a2b1[_0x51aa5e]}},_0x232d59=this[_0x1bf223(0x1eb)][_0x1bf223(0x24a)](_0x4abf9c,_0x30b6ad,!0x1);if(_0x4a621a(_0x232d59))throw _0x232d59[_0x1bf223(0x3f0)];_0x4abf9c=_0x232d59[_0x1bf223(0x22c)];}return{..._0x2d5aaf[_0x1bf223(0x41f)](_0x583870),'mutations':[_0x4abf9c]};}[_0x17441(0x2f5)](_0x4a1071){const _0x56b95f=_0x17441,{unitID:_0x2f64fd}=_0x4a1071,_0x18d5d9=this[_0x56b95f(0x3a3)][_0x56b95f(0x2b2)](_0x2f64fd)[_0x56b95f(0x259)](_0x17d1c5),{undoCache:_0x59af4c,redoCache:_0x4e0777}=_0x18d5d9[_0x56b95f(0x1dc)]();if(_0x59af4c['length']===0x0||_0x4e0777['length']===0x0)return;const _0xe8dde6=[],_0x3c40e5=[];let _0x4202bd=_0x2d5aaf['deepClone'](_0x4a1071[_0x56b95f(0x3e1)][0x0]),_0x3a669d=_0x2d5aaf['deepClone'](_0x4a1071[_0x56b95f(0x3e1)][0x0]);for(let _0x28d7ac=_0x59af4c[_0x56b95f(0x408)]-0x1;_0x28d7ac>=0x0;_0x28d7ac--){const _0x4f71da={'id':'doc.mutation.rich-text-editing','params':{..._0x59af4c[_0x28d7ac]}},_0x13261c={'id':_0x56b95f(0x245),'params':{..._0x4e0777[_0x28d7ac]}},_0x3c3f72=this['_transformService'][_0x56b95f(0x24a)](_0x4202bd,_0x4f71da,!0x1),_0x4bbaeb=this['_transformService'][_0x56b95f(0x24a)](_0x3a669d,_0x13261c,!0x1);if(_0x4a621a(_0x3c3f72))throw _0x3c3f72['error'];if(_0x4a621a(_0x4bbaeb))throw _0x4bbaeb['error'];_0xe8dde6[_0x56b95f(0x1fa)](_0x3c3f72['m2Prime'][_0x56b95f(0x39d)]),_0x3c40e5['unshift'](_0x4bbaeb[_0x56b95f(0x3ce)][_0x56b95f(0x39d)]),_0x4202bd=_0x3c3f72[_0x56b95f(0x22c)],_0x3a669d=_0x4bbaeb[_0x56b95f(0x22c)];}_0x18d5d9[_0x56b95f(0x291)]({'undoCache':_0xe8dde6,'redoCache':_0x3c40e5});}[_0x17441(0x3a7)](_0x3a2ed0){const _0x313a8f=_0x17441,{unitID:_0x152d5a}=_0x3a2ed0,_0x401d8e=this['_renderManagerService'][_0x313a8f(0x2b2)](_0x152d5a)[_0x313a8f(0x259)](_0x17d1c5),_0x183e01=_0x401d8e['getActiveRange']();if(_0x183e01==null)return;const _0x509243=[{'id':_0x313a8f(0x245),'params':{'unitId':_0x3a2ed0['unitID'],'actions':null,'textRanges':[_0x183e01]}}],_0x29d6fb=this[_0x313a8f(0x1eb)][_0x313a8f(0x2f1)](_0x3a2ed0,_0x509243);if(!_0x1c2e6f(_0x29d6fb))throw _0x29d6fb[_0x313a8f(0x3f0)];const _0x3aca95=_0x29d6fb[_0x313a8f(0x3ce)][0x0]['params'][_0x313a8f(0x22f)];Array[_0x313a8f(0x2d7)](_0x3aca95)&&_0x3aca95[_0x313a8f(0x408)]&&_0x401d8e[_0x313a8f(0x3c3)](_0x3aca95[0x0]);}};he=dn([lt(0x0,_0x2e9b71),lt(0x1,_0x3ef114)],he);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x406546,_0x5c2c4c,_0x102941,_0x35730e)=>{for(var _0x1e7379=_0x35730e>0x1?void 0x0:_0x35730e?Sn(_0x5c2c4c,_0x102941):_0x5c2c4c,_0x5edf97=_0x406546['length']-0x1,_0x5d4ff4;_0x5edf97>=0x0;_0x5edf97--)(_0x5d4ff4=_0x406546[_0x5edf97])&&(_0x1e7379=_0x5d4ff4(_0x1e7379)||_0x1e7379);return _0x1e7379;},Le=(_0x5010c7,_0x3c7a6a)=>(_0x356611,_0x1d97d0)=>_0x3c7a6a(_0x356611,_0x1d97d0,_0x5010c7);let ue=class{constructor(_0x1014e1,_0x769b0c,_0x5f1746){const _0x47f445=_0x17441;this[_0x47f445(0x3ab)]=_0x1014e1,this[_0x47f445(0x1eb)]=_0x769b0c,this[_0x47f445(0x242)]=_0x5f1746;}[_0x17441(0x3be)](_0x56b364){const _0xf4387a=_0x17441;this[_0xf4387a(0x24f)](_0x56b364);}[_0x17441(0x2dd)](_0x33c0c8){const _0x34a065=_0x17441,{unitID:_0x45484f}=_0x33c0c8,{collaboration:_0x4b5633}=this['_docStateChangeManagerService'][_0x34a065(0x3c6)](_0x45484f);if(_0x4b5633[_0x34a065(0x408)]===0x0)return _0x33c0c8;let _0x176ba0=_0x2d5aaf[_0x34a065(0x41f)](_0x33c0c8[_0x34a065(0x3e1)][0x0]);for(let _0x11c7d8=0x0;_0x11c7d8<_0x4b5633[_0x34a065(0x408)];_0x11c7d8++){const _0x4f5a69={'id':_0x34a065(0x245),'params':{'unitId':_0x4b5633[_0x11c7d8][_0x34a065(0x388)],..._0x4b5633[_0x11c7d8]['redoState']}},_0x375ac4=this[_0x34a065(0x1eb)]['transformMutation'](_0x176ba0,_0x4f5a69,!0x1);if(_0x4a621a(_0x375ac4))throw _0x375ac4[_0x34a065(0x3f0)];_0x176ba0=_0x375ac4['m1Prime'];}return{..._0x2d5aaf[_0x34a065(0x41f)](_0x33c0c8),'mutations':[_0x176ba0]};}['_transformHistoryAndStateStack'](_0x1617be){const _0x2312ae=_0x17441,{unitID:_0x52d855}=_0x1617be,{history:_0x197b16,collaboration:_0x175ffc}=this[_0x2312ae(0x242)]['getStateCache'](_0x52d855);if(_0x197b16[_0x2312ae(0x408)]===0x0&&_0x175ffc[_0x2312ae(0x408)]===0x0)return;const _0x47b980=[],_0x5a1564=[];let _0x12a9d7=_0x2d5aaf['deepClone'](_0x1617be[_0x2312ae(0x3e1)][0x0]),_0x3c3604=_0x2d5aaf[_0x2312ae(0x41f)](_0x1617be[_0x2312ae(0x3e1)][0x0]);for(let _0x3b4835=_0x197b16[_0x2312ae(0x408)]-0x1;_0x3b4835>=0x0;_0x3b4835--){const _0x44c798={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x197b16[_0x3b4835][_0x2312ae(0x388)],..._0x197b16[_0x3b4835][_0x2312ae(0x3ec)]}},_0x80bfed={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x197b16[_0x3b4835][_0x2312ae(0x388)],..._0x197b16[_0x3b4835]['redoState']}},_0x1313d4=this[_0x2312ae(0x1eb)][_0x2312ae(0x24a)](_0x12a9d7,_0x44c798,!0x1),_0x20d38c=this[_0x2312ae(0x1eb)][_0x2312ae(0x24a)](_0x3c3604,_0x80bfed,!0x1);if(_0x4a621a(_0x1313d4))throw _0x1313d4[_0x2312ae(0x3f0)];if(_0x4a621a(_0x20d38c))throw _0x20d38c[_0x2312ae(0x3f0)];_0x47b980[_0x2312ae(0x1fa)]({..._0x197b16[_0x3b4835],'undoState':_0x1313d4[_0x2312ae(0x3ce)][_0x2312ae(0x39d)],'redoState':_0x20d38c[_0x2312ae(0x3ce)]['params']}),_0x12a9d7=_0x1313d4[_0x2312ae(0x22c)],_0x3c3604=_0x20d38c[_0x2312ae(0x22c)];}_0x12a9d7=_0x2d5aaf['deepClone'](_0x1617be[_0x2312ae(0x3e1)][0x0]),_0x3c3604=_0x2d5aaf[_0x2312ae(0x41f)](_0x1617be['mutations'][0x0]);for(let _0x56cf63=_0x175ffc[_0x2312ae(0x408)]-0x1;_0x56cf63>=0x0;_0x56cf63--){const _0x3121cc={'id':_0x2312ae(0x245),'params':{'unitId':_0x175ffc[_0x56cf63]['unitId'],..._0x175ffc[_0x56cf63]['undoState']}},_0x1c4e8c={'id':_0x2312ae(0x245),'params':{'unitId':_0x175ffc[_0x56cf63][_0x2312ae(0x388)],..._0x175ffc[_0x56cf63][_0x2312ae(0x2e9)]}},_0x4e6b9d=this[_0x2312ae(0x1eb)][_0x2312ae(0x24a)](_0x12a9d7,_0x3121cc,!0x1),_0x14067a=this['_transformService'][_0x2312ae(0x24a)](_0x3c3604,_0x1c4e8c,!0x1);if(_0x4a621a(_0x4e6b9d))throw _0x4e6b9d['error'];if(_0x4a621a(_0x14067a))throw _0x14067a[_0x2312ae(0x3f0)];_0x5a1564[_0x2312ae(0x1fa)]({..._0x175ffc[_0x56cf63],'undoState':_0x4e6b9d[_0x2312ae(0x3ce)][_0x2312ae(0x39d)],'redoState':_0x14067a[_0x2312ae(0x3ce)]['params']}),_0x12a9d7=_0x4e6b9d['m1Prime'],_0x3c3604=_0x14067a[_0x2312ae(0x22c)];}this[_0x2312ae(0x242)][_0x2312ae(0x281)](_0x52d855,{'history':_0x47b980,'collaboration':_0x5a1564});}};ue=In([Le(0x0,_0x52728a(_0x54baa5)),Le(0x1,_0x2e9b71),Le(0x2,_0x52728a(_0x379fa4))],ue);var mn=Object[_0x17441(0x421)],fn=(_0x6e0ed2,_0x420b24,_0x3705c9,_0x395fd0)=>{for(var _0x420508=_0x395fd0>0x1?void 0x0:_0x395fd0?mn(_0x420b24,_0x3705c9):_0x420b24,_0x380f6c=_0x6e0ed2['length']-0x1,_0x19db0b;_0x380f6c>=0x0;_0x380f6c--)(_0x19db0b=_0x6e0ed2[_0x380f6c])&&(_0x420508=_0x19db0b(_0x420508)||_0x420508);return _0x420508;},ht=(_0x407e89,_0x20df6d)=>(_0x3842bb,_0x312322)=>_0x20df6d(_0x3842bb,_0x312322,_0x407e89);let de=class{constructor(_0x5ce0ca,_0x26e4c8){const _0x3e00f3=_0x17441;this[_0x3e00f3(0x3ab)]=_0x5ce0ca,this[_0x3e00f3(0x1eb)]=_0x26e4c8;}[_0x17441(0x3c5)](_0x21f576){const _0x584b1f=_0x17441;var _0x5c9ef8;const _0xf49616=this[_0x584b1f(0x3ab)]['get'](_0x1f1d95),_0x37230d=(_0x5c9ef8=_0xf49616[_0x584b1f(0x31f)]())!=null?_0x5c9ef8:[];if(_0x37230d[_0x584b1f(0x408)]===0x0)return;const _0x448092=_0x21f576[_0x584b1f(0x38c)],_0x385f31=[{'id':_0x584b1f(0x245),'params':{'unitId':_0x448092,'actions':null,'textRanges':_0x37230d}}],_0x4628a8=this[_0x584b1f(0x1eb)][_0x584b1f(0x2f1)](_0x21f576,_0x385f31);if(!_0x1c2e6f(_0x4628a8))throw _0x4628a8[_0x584b1f(0x3f0)];const _0x224d7e=_0x4628a8['m2Prime'][0x0]['params'][_0x584b1f(0x22f)];Array[_0x584b1f(0x2d7)](_0x224d7e)&&_0x224d7e[_0x584b1f(0x408)]&&_0xf49616[_0x584b1f(0x356)](_0x224d7e,{'unitId':_0x448092,'subUnitId':_0x448092},!0x1);}};de=fn([ht(0x0,_0x52728a(_0x54baa5)),ht(0x1,_0x2e9b71)],de);var gn=Object[_0x17441(0x421)],En=(_0x460ee1,_0x28582e,_0x1630e8,_0x17878a)=>{const _0x2aee15=_0x17441;for(var _0x337ff7=_0x17878a>0x1?void 0x0:_0x17878a?gn(_0x28582e,_0x1630e8):_0x28582e,_0x540e6e=_0x460ee1[_0x2aee15(0x408)]-0x1,_0x52f0c3;_0x540e6e>=0x0;_0x540e6e--)(_0x52f0c3=_0x460ee1[_0x540e6e])&&(_0x337ff7=_0x52f0c3(_0x337ff7)||_0x337ff7);return _0x337ff7;},U=(_0x3e5e04,_0x226c78)=>(_0x4bded3,_0x35ff57)=>_0x226c78(_0x4bded3,_0x35ff57,_0x3e5e04);let Se=class extends _0x5152e2{constructor(_0x4e82d1,_0x4769b0,_0x1c954a,_0x1badd5,_0x2b343c,_0x51e754,_0x13ff21,_0x449503){const _0xa5e2c5=_0x17441;super(),_(this,_0xa5e2c5(0x28b),new _0x1eaaea(_0x5dfcae[_0xa5e2c5(0x354)])),(this['_docStateChangeManagerService']=_0x4e82d1,this[_0xa5e2c5(0x290)]=_0x4769b0,this[_0xa5e2c5(0x2a2)]=_0x1c954a,this[_0xa5e2c5(0x407)]=_0x1badd5,this[_0xa5e2c5(0x2d9)]=_0x2b343c,this[_0xa5e2c5(0x2fa)]=_0x51e754,this[_0xa5e2c5(0x32a)]=_0x13ff21,this['_localeService']=_0x449503,this[_0xa5e2c5(0x2c7)]());}[_0x17441(0x2c7)](){const _0x311932=_0x17441;this[_0x311932(0x380)](this['_collaborationController'][_0x311932(0x385)][_0x311932(0x404)](_0x1f63f4=>{const _0x4389f7=_0x311932,_0x29ae32=this[_0x4389f7(0x242)][_0x4389f7(0x312)]['subscribe'](_0x4dc80d=>{const _0x1af781=_0x4389f7;if(_0x4dc80d==null)return;const {unitId:_0x16403e,redoState:_0x3a0497,commandId:_0x2bcfe4}=_0x4dc80d;if(_0x16403e!==_0x1f63f4[_0x1af781(0x38c)])return;const _0x9821c6={'id':_0x2bcfe4,'type':_0x13e38e[_0x1af781(0x1e8)],'params':{'unitId':_0x16403e,'actions':_0x3a0497[_0x1af781(0x29c)],'textRanges':null}};_0x1f63f4[_0x1af781(0x36b)](_0x9821c6);});if(_0x1f63f4[_0x4389f7(0x380)](_0x29ae32),_0x1f63f4 instanceof _0x1f0a78){const _0x3bce27={'onTransformIME':_0x49e8ac=>this[_0x4389f7(0x2a2)]['transformIMECache'](_0x49e8ac),'onTransformState':_0x597799=>this[_0x4389f7(0x407)][_0x4389f7(0x3be)](_0x597799),'onTransformSelections':_0x4f5968=>this[_0x4389f7(0x2d9)][_0x4389f7(0x3c5)](_0x4f5968),'onSyncEditingCollabCursor':_0x706f0=>this[_0x4389f7(0x2fa)][_0x4389f7(0x3fb)](_0x706f0),'onTransformRemoteChangesetByIMECache':_0x10fa5d=>this[_0x4389f7(0x2a2)]['transformRemoteChangeset'](_0x10fa5d),'onTransformRemoteChangesetByStateCache':_0x27b082=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x27b082)};_0x1f63f4[_0x4389f7(0x422)](_0x3bce27);}}));}};Se=En([U(0x0,_0x52728a(_0x379fa4)),U(0x1,_0x52728a(_0x38930c)),U(0x2,_0x52728a(he)),U(0x3,_0x52728a(ue)),U(0x4,_0x52728a(de)),U(0x5,_0x52728a(ze)),U(0x6,_0x4a1a2a),U(0x7,_0x52728a(_0x29ab17))],Se);var Z=(_0x424005=>(_0x424005[_0x424005['UNDEFINED']=0x0]=_0x17441(0x3ba),_0x424005[_0x424005['OK']=0x1]='OK',_0x424005[_0x424005[_0x17441(0x28f)]=0x2]='INTERNAL_ERROR',_0x424005[_0x424005[_0x17441(0x24b)]=0x3]=_0x17441(0x24b),_0x424005[_0x424005[_0x17441(0x384)]=0x4]=_0x17441(0x384),_0x424005[_0x424005[_0x17441(0x32f)]=0x5]=_0x17441(0x32f),_0x424005[_0x424005[_0x17441(0x269)]=0x6]=_0x17441(0x269),_0x424005[_0x424005[_0x17441(0x352)]=0x7]=_0x17441(0x352),_0x424005[_0x424005[_0x17441(0x368)]=0x8]=_0x17441(0x368),_0x424005[_0x424005['COMPLETION_FINISHED']=0x9]=_0x17441(0x376),_0x424005[_0x424005[_0x17441(0x246)]=0xa]=_0x17441(0x246),_0x424005[_0x424005[_0x17441(0x1dd)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x424005[_0x424005[_0x17441(0x3da)]=0xc]=_0x17441(0x3da),_0x424005[_0x424005['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x17441(0x263),_0x424005[_0x424005[_0x17441(0x35e)]=0xe]=_0x17441(0x35e),_0x424005[_0x424005[_0x17441(0x1f5)]=0xf]=_0x17441(0x1f5),_0x424005[_0x424005[_0x17441(0x310)]=0x10]=_0x17441(0x310),_0x424005[_0x424005[_0x17441(0x1f2)]=0x64]=_0x17441(0x1f2),_0x424005[_0x424005['ERROR_AGAIN']=0x65]=_0x17441(0x280),_0x424005[_0x424005[_0x17441(0x39e)]=0xc9]=_0x17441(0x39e),_0x424005[_0x424005[_0x17441(0x250)]=0xca]='USER_IS_ANONYMOUS',_0x424005[_0x424005[_0x17441(0x2f8)]=0x1389]=_0x17441(0x2f8),_0x424005[_0x424005[_0x17441(0x3a9)]=0x1771]=_0x17441(0x3a9),_0x424005[_0x424005['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x17441(0x256),_0x424005[_0x424005[_0x17441(0x2bb)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x424005[_0x424005[_0x17441(0x2ca)]=0x1b59]=_0x17441(0x2ca),_0x424005[_0x424005['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x17441(0x392),_0x424005[_0x424005[_0x17441(0x355)]=0x1b5b]=_0x17441(0x355),_0x424005[_0x424005[_0x17441(0x3db)]=0x1b5c]=_0x17441(0x3db),_0x424005[_0x424005['APPLY_DUPLICATED']=0x1b5d]=_0x17441(0x2cd),_0x424005[_0x424005[_0x17441(0x3ed)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x424005[_0x424005[_0x17441(0x267)]=0x2329]=_0x17441(0x267),_0x424005[_0x424005['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x424005[_0x424005[_0x17441(0x3e5)]=0x232b]=_0x17441(0x3e5),_0x424005[_0x424005['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x17441(0x3c1),_0x424005[_0x424005[_0x17441(0x231)]=0x232d]=_0x17441(0x231),_0x424005[_0x424005[_0x17441(0x317)]=0x2711]=_0x17441(0x317),_0x424005[_0x424005[_0x17441(0x299)]=0x2712]=_0x17441(0x299),_0x424005[_0x424005['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x17441(0x2f4),_0x424005[_0x424005['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x17441(0x33e),_0x424005[_0x424005[_0x17441(0x35f)]=0x271a]=_0x17441(0x35f),_0x424005[_0x424005[_0x17441(0x268)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x424005[_0x424005[_0x17441(0x2ee)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x424005[_0x424005[_0x17441(0x336)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x424005[_0x424005['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x17441(0x2c8),_0x424005[_0x424005[_0x17441(0x37c)]=0x271f]=_0x17441(0x37c),_0x424005[_0x424005[_0x17441(0x33a)]=0x2720]=_0x17441(0x33a),_0x424005[_0x424005[_0x17441(0x307)]=0x2af9]=_0x17441(0x307),_0x424005[_0x424005['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x17441(0x335),_0x424005[_0x424005['INVALID_INVITE_CODE']=0x2ee2]=_0x17441(0x27b),_0x424005[_0x424005[_0x17441(0x2da)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x424005[_0x424005[_0x17441(0x425)]=0x2ee4]=_0x17441(0x425),_0x424005[_0x424005['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x17441(0x3ca),_0x424005[_0x424005[_0x17441(0x3fd)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x424005[_0x424005['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x17441(0x323),_0x424005[_0x424005[_0x17441(0x410)]=0x32cb]=_0x17441(0x410),_0x424005[_0x424005['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x424005[_0x424005[_0x17441(0x29f)]=0x36b2]=_0x17441(0x29f),_0x424005[_0x424005['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x17441(0x399),_0x424005[_0x424005[_0x17441(0x241)]=0x36b4]=_0x17441(0x241),_0x424005[_0x424005['ENTITLE_INVALID_COUPON_CODE']=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x424005[_0x424005[_0x17441(0x395)]=0x36b6]=_0x17441(0x395),_0x424005[_0x424005[_0x17441(0x2ab)]=0x36b7]=_0x17441(0x2ab),_0x424005[_0x424005[_0x17441(0x287)]=0x36b8]=_0x17441(0x287),_0x424005[_0x424005[_0x17441(0x3b5)]=0x3715]=_0x17441(0x3b5),_0x424005[_0x424005[_0x17441(0x215)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x424005[_0x424005[_0x17441(0x21c)]=0x3717]=_0x17441(0x21c),_0x424005[_0x424005[_0x17441(0x318)]=0x37dd]=_0x17441(0x318),_0x424005[_0x424005[_0x17441(0x389)]=0x3a99]=_0x17441(0x389),_0x424005[_0x424005[_0x17441(0x334)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x424005[_0x424005[_0x17441(0x233)]=0x3a9b]=_0x17441(0x233),_0x424005[_0x424005[_0x17441(0x414)]=0x3a9c]=_0x17441(0x414),_0x424005[_0x424005[_0x17441(0x363)]=0x3a9d]=_0x17441(0x363),_0x424005[_0x424005[_0x17441(0x358)]=0x3a9e]=_0x17441(0x358),_0x424005[_0x424005[_0x17441(0x36a)]=0x3a9f]=_0x17441(0x36a),_0x424005[_0x424005[_0x17441(0x2e8)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x424005[_0x424005[_0x17441(0x390)]=-0x1]=_0x17441(0x390),_0x424005))(Z||{});function vn(_0x3786e5){const _0x48073d=_0x17441;var _0x31ba08,_0x5a5d90;const _0x33d78f=(_0x31ba08=_0x3786e5[_0x48073d(0x1f3)])==null?void 0x0:_0x31ba08['stage'],_0xb42b62=((_0x5a5d90=_0x3786e5[_0x48073d(0x1f3)])==null?void 0x0:_0x5a5d90[_0x48073d(0x3c8)])||0x0;return _0x33d78f===_0x58e767[_0x48073d(0x1fe)]&&_0xb42b62>0x0;}function pn(_0x426eb3){const _0x35a404=_0x17441;return _0x426eb3['functionsExecutedState']===_0x1c21b0[_0x35a404(0x339)];}var On=Object[_0x17441(0x421)],Tn=(_0x38f11d,_0x4b52aa,_0x2341e3,_0x210df6)=>{const _0x170356=_0x17441;for(var _0x279c46=_0x210df6>0x1?void 0x0:_0x210df6?On(_0x4b52aa,_0x2341e3):_0x4b52aa,_0x5def8f=_0x38f11d[_0x170356(0x408)]-0x1,_0x1b7c50;_0x5def8f>=0x0;_0x5def8f--)(_0x1b7c50=_0x38f11d[_0x5def8f])&&(_0x279c46=_0x1b7c50(_0x279c46)||_0x279c46);return _0x279c46;},P=(_0x466b02,_0x288d9e)=>(_0x281bbd,_0x186023)=>_0x288d9e(_0x281bbd,_0x186023,_0x466b02);const Cn=_0x17441(0x3dc),Rn='/universer-api/license/formula/limit/start',Dn=_0x17441(0x20a);let Ie=class extends _0x5152e2{constructor(_0x5abb55,_0x15f92c,_0x2b357b,_0x2739d7,_0x39c5a0,_0x460367,_0x1846cd){const _0x23f9b3=_0x17441;super(),_(this,'_pollingInterval',null),_(this,_0x23f9b3(0x27e),0x0),_(this,'_currentUsage',0x0),_(this,_0x23f9b3(0x359),[]),_(this,_0x23f9b3(0x225),0x0),(this[_0x23f9b3(0x32a)]=_0x5abb55,this[_0x23f9b3(0x419)]=_0x15f92c,this[_0x23f9b3(0x272)]=_0x2b357b,this[_0x23f9b3(0x278)]=_0x2739d7,this['_univerInstanceService']=_0x39c5a0,this[_0x23f9b3(0x34b)]=_0x460367,this['_localeService']=_0x1846cd,this[_0x23f9b3(0x40f)]());}[_0x17441(0x40f)](){const _0x5c6439=_0x17441;this[_0x5c6439(0x380)](this['_commandService'][_0x5c6439(0x340)]((_0xe3bf5d,_0x437e48)=>{const _0x5bd41d=_0x5c6439;var _0x2496de;if(_0xe3bf5d['id']!==_0x38732c['id'])return;const _0x37aa0b=_0xe3bf5d[_0x5bd41d(0x39d)];if(!this[_0x5bd41d(0x22e)]((_0x2496de=_0x37aa0b[_0x5bd41d(0x343)])!=null?_0x2496de:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x5bd41d(0x30e)](_0xe3bf5d,_0x437e48),this[_0x5bd41d(0x2c2)](),new _0x1ec590();})),this[_0x5c6439(0x380)](this[_0x5c6439(0x419)][_0x5c6439(0x413)]((_0x2f7db8,_0x1951f4)=>{const _0xaac175=_0x5c6439;if(_0x2f7db8['id']!==_0x2f2f85['id'])return;const _0x22f16e=_0x2f7db8['params'];if(vn(_0x22f16e)){const _0x497987=_0x19061a();this[_0xaac175(0x359)][_0xaac175(0x216)](_0x497987),this['_startCalculationLimit'](_0x497987);}else{if(pn(_0x22f16e)&&this['_taskIds'][_0xaac175(0x408)]>0x0){const _0x32204d=this['_taskIds'][_0xaac175(0x3dd)]();this[_0xaac175(0x3f6)](_0x32204d);}}}));}[_0x17441(0x2e2)](){const _0x25c033=_0x17441;super[_0x25c033(0x2e2)](),this['_clearPolling'](),this['_taskIds']=[],this[_0x25c033(0x402)]=0x0,this[_0x25c033(0x27e)]=0x0,this[_0x25c033(0x225)]=0x0;}async[_0x17441(0x30e)](_0x1ec5c0,_0x1994d4){const _0x1565b1=_0x17441;for(let _0x828355=0x0;_0x828355<0x1e;_0x828355++)try{if(await this[_0x1565b1(0x398)](),this[_0x1565b1(0x381)]()){this[_0x1565b1(0x332)](_0x1ec5c0,_0x1994d4),this[_0x1565b1(0x32a)][_0x1565b1(0x3b7)]({'content':this['_localeService']['t'](_0x1565b1(0x302)),'type':_0x1d1199['Success']});return;}await new Promise(_0x552c9f=>{const _0x50f4b7=_0x1565b1;this['_pollingInterval']=window[_0x50f4b7(0x38b)](_0x552c9f,0x3e8);});}catch(_0x420904){this['_logService']['error'](_0x420904);}this['_messageService'][_0x1565b1(0x3b7)]({'content':this[_0x1565b1(0x423)]['t'](_0x1565b1(0x2a4)),'type':_0x1d1199[_0x1565b1(0x34d)]});}['_applyCommand'](_0x52ae96,_0x57d9a4){const _0x512d83=_0x17441;try{this[_0x512d83(0x419)][_0x512d83(0x3e7)](_0x52ae96['id'],_0x52ae96[_0x512d83(0x39d)],_0x57d9a4);}catch(_0x20e361){this[_0x512d83(0x34b)]['error'](_0x20e361);}}[_0x17441(0x346)](_0x21b31d,_0x1a8c6c){const _0x329399=_0x17441;_0x1a8c6c<this[_0x329399(0x225)]||(this['_lastResponseTimestamp']=_0x1a8c6c,this[_0x329399(0x27e)]=Number[_0x329399(0x2b4)](_0x21b31d[_0x329399(0x2e6)]),this[_0x329399(0x402)]=Number['parseInt'](_0x21b31d[_0x329399(0x3b6)]));}async[_0x17441(0x314)](_0x340422){const _0x5217b3=_0x17441;var _0x5dc710,_0x561358;const _0x2ae3bb=Date[_0x5217b3(0x1e1)]();try{const _0x5a1f2f=((_0x5dc710=this[_0x5217b3(0x272)][_0x5217b3(0x31d)](_0x40385d))==null?void 0x0:_0x5dc710[_0x5217b3(0x375)])||Rn,_0x395889=(await this['_httpService'][_0x5217b3(0x23f)](_0x5a1f2f,{'body':JSON[_0x5217b3(0x362)]({'taskId':_0x340422})}))[_0x5217b3(0x1d8)];if(((_0x561358=_0x395889[_0x5217b3(0x3f0)])==null?void 0x0:_0x561358[_0x5217b3(0x270)])!==Z['OK'])return;this[_0x5217b3(0x346)](_0x395889['limitInfo'],_0x2ae3bb);}catch(_0x508f0a){this['_logService'][_0x5217b3(0x3f0)](_0x508f0a);}}async[_0x17441(0x398)](_0xb61955){const _0x5e88d3=_0x17441;var _0x2f55e8,_0x289b2b;const _0x4efa5a=Date[_0x5e88d3(0x1e1)]();try{const _0x402835=((_0x2f55e8=this[_0x5e88d3(0x272)][_0x5e88d3(0x31d)](_0x40385d))==null?void 0x0:_0x2f55e8['getformulaLimitStatusUrl'])||Cn,_0x1e0a73=_0xb61955?_0x402835+_0x5e88d3(0x37f)+encodeURIComponent(_0xb61955):_0x402835,_0x1a5bb1=(await this[_0x5e88d3(0x278)]['get'](_0x1e0a73))['body'];if(((_0x289b2b=_0x1a5bb1['error'])==null?void 0x0:_0x289b2b[_0x5e88d3(0x270)])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x1a5bb1[_0x5e88d3(0x32b)],_0x4efa5a);}catch(_0x22581b){this[_0x5e88d3(0x34b)]['error'](_0x22581b);}}async[_0x17441(0x3f6)](_0x4701a2){const _0x5444bc=_0x17441;var _0x41ff05,_0x51983a;const _0x41fc6a=Date[_0x5444bc(0x1e1)]();try{const _0x2d1035=((_0x41ff05=this[_0x5444bc(0x272)][_0x5444bc(0x31d)](_0x40385d))==null?void 0x0:_0x41ff05[_0x5444bc(0x2c5)])||Dn,_0x29b1ec=(await this[_0x5444bc(0x278)]['post'](_0x2d1035,{'body':JSON['stringify']({'taskId':_0x4701a2})}))['body'];if(((_0x51983a=_0x29b1ec[_0x5444bc(0x3f0)])==null?void 0x0:_0x51983a[_0x5444bc(0x270)])!==Z['OK'])return;this[_0x5444bc(0x346)](_0x29b1ec[_0x5444bc(0x32b)],_0x41fc6a);}catch(_0x5ba357){this[_0x5444bc(0x34b)]['error'](_0x5ba357);}}[_0x17441(0x381)](){const _0x4fd506=_0x17441;return this[_0x4fd506(0x27e)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x4fd506(0x402)]>0x0;}[_0x17441(0x23e)](){const _0x237a6e=_0x17441;this['_pollingInterval']&&(clearTimeout(this[_0x237a6e(0x21a)]),this[_0x237a6e(0x21a)]=null);}[_0x17441(0x2c2)](){const _0xacac2a=_0x17441;this[_0xacac2a(0x32a)]['show']({'content':this['_localeService']['t'](_0xacac2a(0x427)),'type':_0x1d1199[_0xacac2a(0x265)]});}[_0x17441(0x22e)](_0x2fc255){const _0x307f27=_0x17441;for(const _0x91d2d3 of _0x2fc255){const {unitId:_0x4d0683,sheetId:_0x5da098,range:_0x2a08c7}=_0x91d2d3,_0x14d6b0=this[_0x307f27(0x41e)][_0x307f27(0x2eb)](_0x4d0683);if(!_0x14d6b0)continue;const _0x38ec95=_0x14d6b0[_0x307f27(0x338)](_0x5da098);if(!_0x38ec95)continue;const _0x1b893b=_0x38ec95['getCellMatrix']();for(let _0x387bcc=_0x2a08c7[_0x307f27(0x209)];_0x387bcc<=_0x2a08c7[_0x307f27(0x37e)];_0x387bcc++)for(let _0x44608b=_0x2a08c7[_0x307f27(0x3d1)];_0x44608b<=_0x2a08c7[_0x307f27(0x370)];_0x44608b++){const _0x59888f=_0x1b893b[_0x307f27(0x2e0)](_0x387bcc,_0x44608b);if(_0x59888f&&(_0x15e1cc(_0x59888f['f'])||_0x1feb23(_0x59888f['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x52728a(_0x4a1a2a)),P(0x1,_0x38a819),P(0x2,_0x341ccd),P(0x3,_0x52728a(_0x1c17b1)),P(0x4,_0x55fada),P(0x5,_0x3d294c),P(0x6,_0x52728a(_0x29ab17))],Ie);var Nn=Object[_0x17441(0x421)],bn=(_0x313050,_0x433ab9,_0x4e2e65,_0x5c710b)=>{const _0x41d412=_0x17441;for(var _0x29de44=_0x5c710b>0x1?void 0x0:_0x5c710b?Nn(_0x433ab9,_0x4e2e65):_0x433ab9,_0x2d30f4=_0x313050[_0x41d412(0x408)]-0x1,_0x33d172;_0x2d30f4>=0x0;_0x2d30f4--)(_0x33d172=_0x313050[_0x2d30f4])&&(_0x29de44=_0x33d172(_0x29de44)||_0x29de44);return _0x29de44;},Ue=(_0x5cba01,_0x3a970b)=>(_0x194f37,_0x3dfc01)=>_0x3a970b(_0x194f37,_0x3dfc01,_0x5cba01);let He=class extends _0x5152e2{constructor(_0x1065f9,_0x4fe78b,_0x419651){const _0xce1723=_0x17441;super(),_(this,_0xce1723(0x405),new Map()),_(this,_0xce1723(0x2e5),new Map()),_(this,_0xce1723(0x3a8),!0x1),(this[_0xce1723(0x272)]=_0x1065f9,this[_0xce1723(0x27d)]=_0x4fe78b,this[_0xce1723(0x347)]=_0x419651);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x17441(0x324)](){this['_disabled']=!0x1;}get[_0x17441(0x2c6)](){const _0x2fd969=_0x17441;return this[_0x2fd969(0x2e5)];}[_0x17441(0x2e2)](){const _0x523f75=_0x17441;this['exhaustSavingTask']()[_0x523f75(0x3d9)](()=>super[_0x523f75(0x2e2)]());}async[_0x17441(0x2f7)](_0x6773b2){const _0x5ccbdf=_0x17441;return this['_disabled']?null:this[_0x5ccbdf(0x27d)][_0x5ccbdf(0x2cb)](_0x4ab006(_0x6773b2));}async[_0x17441(0x22a)](_0x1c6316,_0x5a17f9){const _0x45262c=_0x17441;return!!this[_0x45262c(0x27d)][_0x45262c(0x372)](_0x1c6316,_0x5a17f9);}['updateOfflineData'](_0x43170c,_0x46599c,_0x12a135,_0x44cec6){const _0x5b548c=_0x17441,_0x2d8163=this[_0x5b548c(0x347)]['getCurrentRevOfUnit'](_0x43170c);this[_0x5b548c(0x405)][_0x5b548c(0x397)](_0x43170c,{'unitID':_0x43170c,'type':_0x46599c,'awaitingChangeset':_0x12a135,'mutations':_0x44cec6,'rev':_0x2d8163}),this[_0x5b548c(0x2e5)][_0x5b548c(0x37b)](_0x43170c)||this[_0x5b548c(0x227)](_0x43170c);}[_0x17441(0x227)](_0x4611ac){const _0x52835a=_0x17441,_0x20c336=this['_getSaveTimeout']();_0x20c336===0x0?this[_0x52835a(0x297)](_0x4611ac):this[_0x52835a(0x2e5)][_0x52835a(0x397)](_0x4611ac,setTimeout(()=>this[_0x52835a(0x297)](_0x4611ac),_0x20c336));}['_getSaveTimeout'](){var _0x793e56;return(_0x793e56=this['_configService']['getConfig'](_0x238b74))!=null?_0x793e56:_0x1fbd43;}[_0x17441(0x297)](_0x25b848){const _0x5ea394=_0x17441,_0x5bdf5b=this[_0x5ea394(0x2e5)][_0x5ea394(0x2ef)](_0x25b848);return _0x5bdf5b!==void 0x0&&window['clearTimeout'](_0x5bdf5b),this[_0x5ea394(0x27d)][_0x5ea394(0x372)](_0x4ab006(_0x25b848),this[_0x5ea394(0x405)][_0x5ea394(0x2ef)](_0x25b848))[_0x5ea394(0x3d9)](()=>this['_saveTaskMap']['delete'](_0x25b848));}async[_0x17441(0x3b4)](){const _0x49323c=_0x17441,_0x295a84=[];this[_0x49323c(0x2e5)][_0x49323c(0x1f0)]((_0x2d4f0a,_0x42b89c)=>{const _0x21ce0d=_0x49323c;window[_0x21ce0d(0x3e2)](_0x2d4f0a),_0x295a84[_0x21ce0d(0x216)](this[_0x21ce0d(0x297)](_0x42b89c)[_0x21ce0d(0x3d9)](()=>{const _0x2ac555=_0x21ce0d;this[_0x2ac555(0x2e5)][_0x2ac555(0x366)](_0x42b89c);}));}),await Promise[_0x49323c(0x276)](_0x295a84);}};He=bn([Ue(0x0,_0x341ccd),Ue(0x1,_0x16882a),Ue(0x2,_0x52728a(_0x34fcd7))],He);class Ln extends _0x3983c8{constructor(){const _0x2aa873=_0x17441;super(),_(this,_0x2aa873(0x2df)),this[_0x2aa873(0x2df)]=_0x11182a(window,_0x2aa873(0x2b5))[_0x2aa873(0x38a)](_0x497016(this[_0x2aa873(0x1e3)]),_0x2fd4fa(0x1),_0x30b4e3(void 0x0));}[_0x17441(0x34a)](_0x2b5536,_0x4711e2,_0x3a8d31=!0x1){const _0x5c7168=_0x17441,_0x57e2d9=new URL(window['location'][_0x5c7168(0x222)]);_0x57e2d9[_0x5c7168(0x2c1)][_0x5c7168(0x397)](_0x2b5536,_0x4711e2),_0x3a8d31?window[_0x5c7168(0x396)]['replaceState']('','',_0x57e2d9[_0x5c7168(0x23a)]()):window['history'][_0x5c7168(0x39a)]('','',_0x57e2d9['toString']());}['removeParam'](_0x497478,_0x2da35d=!0x1){const _0x490c2b=_0x17441,_0x4ce672=new URL(window[_0x490c2b(0x1e7)][_0x490c2b(0x222)]);_0x4ce672['searchParams'][_0x490c2b(0x366)](_0x497478),_0x2da35d?window[_0x490c2b(0x396)][_0x490c2b(0x3cb)]('','',_0x4ce672['toString']()):window['history'][_0x490c2b(0x39a)]('','',_0x4ce672['toString']());}[_0x17441(0x364)](_0x5bc3e9){const _0x4c9d7c=_0x17441;var _0x15be5b;return(_0x15be5b=new URL(window['location'][_0x4c9d7c(0x222)])[_0x4c9d7c(0x2c1)][_0x4c9d7c(0x2ef)](_0x5bc3e9))!=null?_0x15be5b:void 0x0;}}var Un=Object[_0x17441(0x3af)],Mn=Object[_0x17441(0x421)],An=(_0x379987,_0x32bb5b,_0x903fd7)=>_0x32bb5b in _0x379987?Un(_0x379987,_0x32bb5b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x903fd7}):_0x379987[_0x32bb5b]=_0x903fd7,Pn=(_0x397fd8,_0x493849,_0x3b0fe1,_0x24ee87)=>{const _0xb17294=_0x17441;for(var _0x1ddf25=_0x24ee87>0x1?void 0x0:_0x24ee87?Mn(_0x493849,_0x3b0fe1):_0x493849,_0x295b30=_0x397fd8[_0xb17294(0x408)]-0x1,_0x4daf70;_0x295b30>=0x0;_0x295b30--)(_0x4daf70=_0x397fd8[_0x295b30])&&(_0x1ddf25=_0x4daf70(_0x1ddf25)||_0x1ddf25);return _0x1ddf25;},Me=(_0x409e4a,_0x20358d)=>(_0x9035c5,_0x583272)=>_0x20358d(_0x9035c5,_0x583272,_0x409e4a),wn=(_0x1782ef,_0x30f56c,_0x379595)=>An(_0x1782ef,_0x30f56c+'',_0x379595);const yn=_0x17441(0x320);let Ye=class extends _0x3db8b0{constructor(_0x2a581d=_t,_0x2487f1,_0x4d5ccb,_0x32c505){const _0x374247=_0x17441;super(),this['_config']=_0x2a581d,this['_renderManagerService']=_0x2487f1,this[_0x374247(0x3ab)]=_0x4d5ccb,this[_0x374247(0x272)]=_0x32c505;const {..._0x3f42bc}=_0x4a47cd({},_t,this['_config']);this[_0x374247(0x272)][_0x374247(0x31c)](hn,_0x3f42bc);}[_0x17441(0x411)](){const _0x5163c6=_0x17441;this[_0x5163c6(0x20b)](),this[_0x5163c6(0x2be)]();}[_0x17441(0x2d0)](){const _0x111566=_0x17441;this[_0x111566(0x3c7)]();}[_0x17441(0x20b)](){const _0x3b8f8a=_0x17441;var _0x36eb3f;const _0x200569=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0xfdf094,{'useClass':_0x2f6dc6}],[_0x4cad26,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x3b8f8a(0x3bc)][_0x3b8f8a(0x35b)]&&_0x200569[_0x3b8f8a(0x216)]([le]),_0x256da2(this[_0x3b8f8a(0x3ab)],_0x3259f4(_0x200569,(_0x36eb3f=this['_config'])==null?void 0x0:_0x36eb3f['override']));}[_0x17441(0x3c7)](){const _0x58bd54=_0x17441;this['disposeWithMe'](this[_0x58bd54(0x3a3)][_0x58bd54(0x37a)](_0x5bd1dc[_0x58bd54(0x2c4)],[Fe])),this[_0x58bd54(0x380)](this[_0x58bd54(0x3a3)][_0x58bd54(0x37a)](_0x5bd1dc[_0x58bd54(0x2e4)],[ke]));}[_0x17441(0x2be)](){const _0x1ce514=_0x17441;_0x28b697(this[_0x1ce514(0x3ab)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x1ce514(0x3bc)]['enableFrontendLog']&&_0x28b697(this[_0x1ce514(0x3ab)],[[le]]);}};wn(Ye,_0x17441(0x378),yn),Ye=Pn([_0x19ba42(_0x3e83e5),Me(0x1,_0x3ef114),Me(0x2,_0x52728a(_0x54baa5)),Me(0x3,_0x341ccd)],Ye);var $n=Object[_0x17441(0x421)],xn=(_0x169a18,_0xa36554,_0x870e00,_0x377053)=>{const _0x454d7e=_0x17441;for(var _0x11af31=_0x377053>0x1?void 0x0:_0x377053?$n(_0xa36554,_0x870e00):_0xa36554,_0x2a8614=_0x169a18[_0x454d7e(0x408)]-0x1,_0x4fc1af;_0x2a8614>=0x0;_0x2a8614--)(_0x4fc1af=_0x169a18[_0x2a8614])&&(_0x11af31=_0x4fc1af(_0x11af31)||_0x11af31);return _0x11af31;},J=(_0x34b05d,_0x304ad3)=>(_0x323a1a,_0x9ec793)=>_0x304ad3(_0x323a1a,_0x9ec793,_0x34b05d);let ut=class extends _0x34ecf8{constructor(_0x2d72da,_0x2d18f7,_0x2de3bf,_0x3d9167,_0x367b2c){super(_0x2d72da,_0x2d18f7,_0x2de3bf,_0x3d9167,_0x367b2c);}async[_0x17441(0x3b2)](_0x4f2efa){const _0x1b54e8=_0x17441,_0x592024=await this[_0x1b54e8(0x2ce)](),_0x37b31a=this[_0x1b54e8(0x3ac)](_0x4f2efa,_0x592024);return this['_doCreateSocket'](_0x37b31a);}[_0x17441(0x3ac)](_0x3264aa,_0x4d41da){const _0x3375d=_0x17441,_0x48447c=typeof window>'u'?new URL(_0x3264aa):new URL(_0x3264aa,window[_0x3375d(0x1e7)]['origin']);_0x48447c[_0x3375d(0x2c1)][_0x3375d(0x397)]('sessionTicket',_0x4d41da);const _0x3ece1b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3375d(0x1e7)]['search']);return _0x3ece1b[_0x3375d(0x2ef)]('runId')&&_0x48447c[_0x3375d(0x2c1)]['set'](_0x3375d(0x1db),_0x3ece1b[_0x3375d(0x2ef)](_0x3375d(0x1db))),_0x48447c[_0x3375d(0x23a)]();}async[_0x17441(0x2ce)](){const _0x1347dd=_0x17441;var _0x4ef94f,_0x581c33,_0x56ad2d;const _0x4c6bd8=this[_0x1347dd(0x272)][_0x1347dd(0x31d)](_0x40385d),_0x258742=(_0x4ef94f=_0x4c6bd8==null?void 0x0:_0x4c6bd8[_0x1347dd(0x2d8)])!=null?_0x4ef94f:_0x2ef114;return(_0x56ad2d=(_0x581c33=(await this['_httpService']['get'](_0x258742,{'headers':{'Content-Type':_0x1347dd(0x2d5)}}))[_0x1347dd(0x1d8)])==null?void 0x0:_0x581c33[_0x1347dd(0x348)])!=null?_0x56ad2d:'';}};ut=xn([J(0x0,_0x52728a(_0x54baa5)),J(0x1,_0x52728a(_0x1c17b1)),J(0x2,_0x341ccd),J(0x3,_0x3d294c),J(0x4,_0x3fb56a)],ut);var Bn=Object[_0x17441(0x421)],Fn=(_0xb490c7,_0x2e6bdd,_0xaf95bc,_0x3885d1)=>{const _0x3cebe0=_0x17441;for(var _0x233b36=_0x3885d1>0x1?void 0x0:_0x3885d1?Bn(_0x2e6bdd,_0xaf95bc):_0x2e6bdd,_0x4f9d04=_0xb490c7[_0x3cebe0(0x408)]-0x1,_0x4df532;_0x4f9d04>=0x0;_0x4f9d04--)(_0x4df532=_0xb490c7[_0x4f9d04])&&(_0x233b36=_0x4df532(_0x233b36)||_0x233b36);return _0x233b36;},Ae=(_0x590f57,_0x39e2bd)=>(_0x347218,_0x3778ad)=>_0x39e2bd(_0x347218,_0x3778ad,_0x590f57);let dt=class extends _0x5152e2{constructor(_0xaa0a80,_0x82fd87,_0x4e9cac){const _0x3917ad=_0x17441;super(),this['_instanceService']=_0xaa0a80,this[_0x3917ad(0x278)]=_0x82fd87,this['_configService']=_0x4e9cac;}async['runOnServer'](_0x6d7cfd,_0xd00ad7,_0x42e2ae,..._0x9b2ee3){const _0x176130=_0x17441;var _0x27db7f,_0x5e2bf5,_0x105c04,_0x41fb0d;const _0x1b10da=this[_0x176130(0x27a)][_0x176130(0x428)]();if(!_0x1b10da)throw new Error(_0x176130(0x1e2));const _0x17611f=((_0x27db7f=this[_0x176130(0x272)][_0x176130(0x31d)](_0x36870b))!=null?_0x27db7f:_0x46003c)+'/'+_0x6d7cfd+_0x176130(0x292)+_0xd00ad7,_0xaeade=new URL(window[_0x176130(0x1e7)][_0x176130(0x222)]),_0x818428={'scriptId':_0x6d7cfd,'runId':(_0x5e2bf5=_0xaeade['searchParams']['get']('runId'))!=null?_0x5e2bf5:'','function':_0xd00ad7,'unitId':_0x1b10da[_0x176130(0x211)](),'argsOfFunction':JSON[_0x176130(0x362)](_0x9b2ee3),'invokeId':(_0x105c04=_0x42e2ae['invokeId'])!=null?_0x105c04:'','executionId':(_0x41fb0d=_0x42e2ae[_0x176130(0x3a1)])!=null?_0x41fb0d:''};try{const _0xa04506=await this[_0x176130(0x278)][_0x176130(0x23f)](_0x17611f,{'body':_0x818428});return _0xa04506[_0x176130(0x1d8)][_0x176130(0x3f0)]&&_0xa04506[_0x176130(0x1d8)][_0x176130(0x3f0)]['code']!==Z['OK']?_0x176130(0x33b):_0xa04506[_0x176130(0x1d8)][_0x176130(0x306)];}catch{return _0x176130(0x33b);}}};dt=Fn([Ae(0x0,_0x55fada),Ae(0x1,_0x52728a(_0x1c17b1)),Ae(0x2,_0x341ccd)],dt);const St=0x7530,It=_0x17441(0x426);class rr extends _0x5152e2{constructor(){const _0x2e6849=_0x17441;super(),_(this,_0x2e6849(0x3cc),_0x19061a()),_(this,_0x2e6849(0x25c),new Set()),_(this,_0x2e6849(0x34e),new Map()),_(this,'_heartbeatTimer',null),_(this,_0x2e6849(0x31a),new Map()),_(this,_0x2e6849(0x3e3),new Map()),this[_0x2e6849(0x21e)]();}['dispose'](){const _0x46b10d=_0x17441;super[_0x46b10d(0x2e2)](),this[_0x46b10d(0x31a)]['forEach']((_0x190ff0,_0x25bfb6)=>this[_0x46b10d(0x3d6)](_0x25bfb6)),this[_0x46b10d(0x1e5)]&&window[_0x46b10d(0x234)](this[_0x46b10d(0x1e5)]);}[_0x17441(0x403)](_0x1f1239){const _0x3994ba=_0x17441;return this[_0x3994ba(0x39b)](_0x1f1239)['pipe'](_0x4ba585());}['editingUnit'](_0x43f198){const _0x599ed3=_0x17441;this['_selfUnitIDs'][_0x599ed3(0x2ec)]===0x0&&this[_0x599ed3(0x277)](),this[_0x599ed3(0x25c)]['add'](_0x43f198),this['_send']({'type':0x0,'memberID':this[_0x599ed3(0x3cc)],'unitIDs':[_0x43f198],'isForwarded':!0x1});}['disposeUnit'](_0x195e9f){const _0x4e4ffd=_0x17441;this[_0x4e4ffd(0x25c)][_0x4e4ffd(0x366)](_0x195e9f),this['_selfUnitIDs'][_0x4e4ffd(0x2ec)]===0x0&&this['_heartbeatTimer']&&window[_0x4e4ffd(0x234)](this['_heartbeatTimer']);}[_0x17441(0x21e)](){const _0x2036e7=_0x17441;this[_0x2036e7(0x380)](_0xce90d1(_0x11182a(window,_0x2036e7(0x27f))[_0x2036e7(0x404)](_0x4bcea8=>{const _0x1c9b7f=_0x2036e7;if(_0x4bcea8[_0x1c9b7f(0x387)]!==It||!_0x4bcea8[_0x1c9b7f(0x319)])return;const _0x1cfe81=JSON['parse'](_0x4bcea8[_0x1c9b7f(0x319)]);this['_handleEvent'](_0x1cfe81);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x2036e7(0x3cc)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x17441(0x3e6)](_0x552406){const _0x1083f5=_0x17441;switch(_0x552406[_0x1083f5(0x253)]){case 0x0:this[_0x1083f5(0x41a)](_0x552406);break;case 0x1:this[_0x1083f5(0x2af)](_0x552406);break;case 0x2:this['_handleHeartbeatEvent'](_0x552406);break;}}[_0x17441(0x41a)](_0x10586d){const _0x53c4a8=_0x17441,{unitIDs:_0xe632bb,memberID:_0x308b56,isForwarded:_0x202221}=_0x10586d;_0xe632bb[_0x53c4a8(0x1f0)](_0x1e61e6=>{const _0x3894e9=_0x53c4a8;if(!_0x202221&&this[_0x3894e9(0x34e)][_0x3894e9(0x37b)](_0x1e61e6)&&this[_0x3894e9(0x39b)](_0x1e61e6)[_0x3894e9(0x3a2)](_0x3fed34[_0x3894e9(0x249)]),!this[_0x3894e9(0x34e)][_0x3894e9(0x37b)](_0x1e61e6)||!this['_unitOnClients'][_0x3894e9(0x2ef)](_0x1e61e6)[_0x3894e9(0x37b)](_0x308b56)){const _0x41f614=this['_unitOnClients'][_0x3894e9(0x2ef)](_0x1e61e6)||new Set();_0x41f614[_0x3894e9(0x20e)](_0x308b56),this[_0x3894e9(0x34e)][_0x3894e9(0x397)](_0x1e61e6,_0x41f614),this[_0x3894e9(0x3f1)](_0x308b56);}}),_0x202221||this[_0x53c4a8(0x344)]({'type':0x0,'memberID':this[_0x53c4a8(0x3cc)],'unitIDs':[...this[_0x53c4a8(0x25c)]],'isForwarded':!0x0});}[_0x17441(0x3f1)](_0x4038d6){const _0x17b18b=_0x17441;this['_removeClearOtherTimer'](_0x4038d6);const _0x1cb4a0=window[_0x17b18b(0x38b)](()=>{const _0x445d30=_0x17b18b;this[_0x445d30(0x34e)][_0x445d30(0x1f0)](_0x557169=>{const _0x30d66e=_0x445d30;_0x557169[_0x30d66e(0x366)](_0x4038d6);});},St*0x2);this[_0x17b18b(0x31a)][_0x17b18b(0x397)](_0x4038d6,_0x1cb4a0);}[_0x17441(0x3d6)](_0x196c10){const _0x29275f=_0x17441;if(this[_0x29275f(0x31a)][_0x29275f(0x37b)](_0x196c10)){const _0xba7e2=this[_0x29275f(0x31a)][_0x29275f(0x2ef)](_0x196c10);_0xba7e2&&window['clearTimeout'](_0xba7e2),this['_clearOtherTimers'][_0x29275f(0x397)](_0x196c10,null);}}[_0x17441(0x2af)](_0x465e02){const {memberID:_0xb13fda,unitIDs:_0x2b6f56}=_0x465e02;_0x2b6f56['forEach'](_0x52e1d1=>{const _0x288ada=_0x5a49;var _0x524e37;const _0x3a43d7=this[_0x288ada(0x34e)][_0x288ada(0x2ef)](_0x52e1d1);_0x3a43d7&&(_0x3a43d7[_0x288ada(0x366)](_0xb13fda),(_0x524e37=this[_0x288ada(0x39b)](_0x52e1d1))==null||_0x524e37[_0x288ada(0x3a2)](_0x3a43d7['size']===0x0?_0x3fed34['NO_OTHER_CLIENTS_EDITING']:_0x3fed34['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0xb13fda);}[_0x17441(0x41d)](_0x293d2a){const _0x5f40dd=_0x17441;this[_0x5f40dd(0x3f1)](_0x293d2a[_0x5f40dd(0x321)]);}['_send'](_0x1c00e0){const _0x2d1b0f=_0x17441;localStorage['setItem'](It,JSON[_0x2d1b0f(0x362)](_0x1c00e0));}['_scheduleHeartbeat'](){const _0x53debc=_0x17441;this[_0x53debc(0x1e5)]=window[_0x53debc(0x264)](()=>{const _0x1972fa=_0x53debc;this['_send']({'type':0x2,'memberID':this[_0x1972fa(0x3cc)]});},St);}[_0x17441(0x39b)](_0x3ae3ab){const _0x1041e8=_0x17441;return this['_unitStatus'][_0x1041e8(0x37b)](_0x3ae3ab)||this[_0x1041e8(0x3e3)][_0x1041e8(0x397)](_0x3ae3ab,new _0x1eaaea(_0x3fed34[_0x1041e8(0x244)])),this[_0x1041e8(0x3e3)][_0x1041e8(0x2ef)](_0x3ae3ab);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};
1
+ const _0x3c7b1f=_0x61c7;(function(_0x358705,_0x2cd8f1){const _0x345325=_0x61c7,_0x1ccb76=_0x358705();while(!![]){try{const _0x4e3b70=parseInt(_0x345325(0x13a))/0x1*(-parseInt(_0x345325(0x24e))/0x2)+-parseInt(_0x345325(0x1da))/0x3+-parseInt(_0x345325(0x2e6))/0x4*(parseInt(_0x345325(0x17a))/0x5)+parseInt(_0x345325(0x187))/0x6*(-parseInt(_0x345325(0x289))/0x7)+parseInt(_0x345325(0x2d5))/0x8*(-parseInt(_0x345325(0xa9))/0x9)+-parseInt(_0x345325(0x101))/0xa*(parseInt(_0x345325(0x15f))/0xb)+parseInt(_0x345325(0x26a))/0xc*(parseInt(_0x345325(0x153))/0xd);if(_0x4e3b70===_0x2cd8f1)break;else _0x1ccb76['push'](_0x1ccb76['shift']());}catch(_0x499d4f){_0x1ccb76['push'](_0x1ccb76['shift']());}}}(_0x24f8,0x653fc));var Yt=Object[_0x3c7b1f(0x265)],Wt=(_0xf5b3d3,_0xaea960,_0x56bcad)=>_0xaea960 in _0xf5b3d3?Yt(_0xf5b3d3,_0xaea960,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x56bcad}):_0xf5b3d3[_0xaea960]=_0x56bcad,_=(_0x2a8b02,_0xf814a5,_0x35ce4e)=>Wt(_0x2a8b02,typeof _0xf814a5!=_0x3c7b1f(0x1ee)?_0xf814a5+'':_0xf814a5,_0x35ce4e);import{jsx as _0x5c493a,jsxs as _0x9d853f}from'react/jsx-runtime';import{CollaborationStatus as _0x141886,CollaborationSessionService as _0x1a5b2a,CollaborationController as _0x426370,DataLoaderService as _0x4bc602,MemberService as _0x5ceda6,SessionStatus as _0x541599,ILocalCacheService as _0x309c86,CollaborationUIEventService as _0x16d26b,CollaborationUIEventId as _0x21dafd,DocCollaborationEntity as _0x6a3959,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x44040f,getLocalCacheKey as _0x302c22,LOCAL_CACHE_INTERVAL as _0x3611ae,LOCAL_CACHE_INTERVAL_KEY as _0x354af4,UniverCollaborationClientPlugin as _0x182dd1,CollaborationSocketService as _0x4e7629,DEFAULT_WS_SESSION_TICKET_URL as _0x348b04,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x296ed0,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x1d204b,UnitStatus as _0x3136a3}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x1540cb,IUniverInstanceService as _0x4e733f,Inject as _0xb035d2,Injector as _0x5d1f7b,Disposable as _0x3c56e8,createIdentifier as _0x1578e0,ILogService as _0x2d6c13,ICommandService as _0x356dc6,Optional as _0x3583ca,RxDisposable as _0x372795,Workbook as _0x3a8d6b,DOC_RANGE_TYPE as _0x26dd7c,debounce as _0x4c19ca,Rectangle as _0xf8082a,DisposableCollection as _0x4b31b9,toDisposable as _0x2d366c,UniverInstanceType as _0x4c566a,generateRandomId as _0x4794df,COLORS as _0x3ac715,ColorKit as _0x39b707,ThemeService as _0x5f55bf,fromEventSubject as _0x43e5e5,Tools as _0xa4698,CommandType as _0x4145f9,IConfigService as _0x436ec0,CanceledError as _0x1e5c67,isFormulaString as _0x1e4430,isFormulaId as _0x38426f,ILocalStorageService as _0x4007a3,DependentOn as _0x1ae528,Plugin as _0x9085a2,merge as _0x572501,registerDependencies as _0x35501a,mergeOverrideWithDependencies as _0x3d5149,touchDependencies as _0x1aba22}from'@univerjs/core';import{useObservable as _0x4fb62f,useDependency as _0x159e48,IUIPartsService as _0x5c4e76,BuiltInUIPart as _0x220af0,connectInjector as _0x2ebddc,IBeforeCloseService as _0xc47512,IMessageService as _0x181eb1,INotificationService as _0x692ba5}from'@univerjs/ui';import{BehaviorSubject as _0x496d01,switchMap as _0x4568f5,of as _0x831dda,takeUntil as _0x30d8cf,debounceTime as _0x3d8623,Subject as _0x1ae6c0,filter as _0x1176eb,merge as _0x1f5a58,combineLatest as _0x17be24,fromEvent as _0x2b596f,shareReplay as _0x3e0bbe,mapTo as _0x45c2f1,distinctUntilChanged as _0xe3f352}from'rxjs';import{Tooltip as _0x134057,clsx as _0x336e65,MessageType as _0x27aa9f}from'@univerjs/design';import{useRef as _0x3dcd16,createElement as _0x173d2f,forwardRef as _0x3343e3,useCallback as _0x3f9a21}from'react';import{IRemoteInstanceService as _0x56d4c3}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x396edb,RefRangeService as _0x459274,SetSelectionsOperation as _0x2d415b,SheetsSelectionsService as _0x92bfad,EffectRefRangId as _0x298261,handleIRemoveRow as _0x585315,handleIRemoveCol as _0x21177e,handleMoveRange as _0x2e20f1,handleInsertRow as _0x2941ce,handleInsertRangeMoveRight as _0x588a87,handleInsertRangeMoveDown as _0x1604f2,handleInsertCol as _0x4697c6,handleDeleteRangeMoveUp as _0x9f96cb,handleDeleteRangeMoveLeft as _0x37ab2b,runRefRangeMutations as _0x505425}from'@univerjs/sheets';import{Shape as _0x2d4d93,Rect as _0x5c0619,getColor as _0x5a676f,RegularPolygon as _0x48575,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x1e0460,Vector2 as _0x55f17b,SHEET_VIEWPORT_KEY as _0xf4b208,IRenderManagerService as _0x351fd6}from'@univerjs/engine-render';import{HTTPService as _0x54558b,ISocketService as _0x5a9ce3,WebSocketService as _0x5b9eef}from'@univerjs/network';import{IDocClipboardService as _0x4a9908,NodePositionConvertToCursor as _0x5db6ed,NodePositionConvertToRectRange as _0x3b79e5,TEXT_RANGE_LAYER_INDEX as _0x37fd5f,SetDocZoomRatioOperation as _0x59f0cd,DocIMEInputManagerService as _0x1ae0a5,DocStateChangeManagerService as _0x28e8a9}from'@univerjs/docs-ui';import{IImageIoService as _0x1dcdae}from'@univerjs/drawing';import{ITransformService as _0x5f0329,CollaborationEvent as _0x2ebe54,isTransformMutationFailure as _0x47489f,isTransformMutationsWithChangesetSuccess as _0x595d67,RevisionService as _0xfa0090,ISnapshotServerService as _0xd17e35}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x1c49a5,RichTextEditingMutation as _0x39e328,DocSelectionManagerService as _0x2375b3,DocSkeletonManagerService as _0x1c008a}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x2b4d1e,serializeRangeWithSheet as _0x2cc035,FormulaExecuteStageType as _0x5f3cf0,FormulaExecutedStateType as _0x8a035,SetFormulaCalculationStartMutation as _0x2c055e,SetFormulaCalculationNotificationMutation as _0x4dc3b7}from'@univerjs/engine-formula';function _0x61c7(_0x404cd4,_0x350401){_0x404cd4=_0x404cd4-0xa3;const _0x24f830=_0x24f8();let _0x61c7fb=_0x24f830[_0x404cd4];return _0x61c7fb;}import{map as _0xcc8ca1,filter as _0x3c64d9,throttleTime as _0x320e9f,takeUntil as _0x15b103,switchMap as _0x21ceef}from'rxjs/operators';import{SheetSkeletonManagerService as _0x4e0beb,getCoordByCell as _0x3472a8,getSheetObject as _0x4b0c39}from'@univerjs/sheets-ui';function Ge({ref:_0x4d3cc0,..._0x55d315}){const _0x23f608=_0x3c7b1f,{icon:_0x447fbb,id:_0x4af427,className:_0x4da9aa,extend:_0x53244b,..._0x51fc6a}=_0x55d315,_0x2ed93f=(_0x23f608(0xe4)+_0x4af427+'\x20'+(_0x4da9aa||''))[_0x23f608(0x111)](),_0x1760a4=_0x3dcd16('_'+vi());return At(_0x447fbb,''+_0x4af427,{'defIds':_0x447fbb[_0x23f608(0x126)],'idSuffix':_0x1760a4[_0x23f608(0x218)]},{'ref':_0x4d3cc0,'className':_0x2ed93f,..._0x51fc6a},_0x53244b);}function At(_0x313663,_0x1a8243,_0x4d69f4,_0x3551f2,_0x14fca3){const _0x4a8ce7=_0x3c7b1f;return _0x173d2f(_0x313663[_0x4a8ce7(0x2b0)],{'key':_0x1a8243,...gi(_0x313663,_0x4d69f4,_0x14fca3),..._0x3551f2},(Ei(_0x313663,_0x4d69f4)['children']||[])['map']((_0x2b9181,_0x55fc32)=>At(_0x2b9181,_0x1a8243+'-'+_0x313663[_0x4a8ce7(0x2b0)]+'-'+_0x55fc32,_0x4d69f4,void 0x0,_0x14fca3)));}function gi(_0x567954,_0xe4a6d2,_0x44d8c2){const _0x437bbb=_0x3c7b1f,_0x3df2de={..._0x567954[_0x437bbb(0x27d)]};_0x44d8c2!=null&&_0x44d8c2[_0x437bbb(0xf0)]&&_0x3df2de[_0x437bbb(0x260)]===_0x437bbb(0xf0)&&(_0x3df2de[_0x437bbb(0x260)]=_0x44d8c2['colorChannel1']),_0x567954[_0x437bbb(0x2b0)]===_0x437bbb(0x25e)&&_0x3df2de['id']&&(_0x3df2de['id']=_0x3df2de['id']+_0xe4a6d2[_0x437bbb(0xba)]),Object[_0x437bbb(0x119)](_0x3df2de)[_0x437bbb(0xde)](([_0x1924d3,_0xf220c7])=>{const _0x211fa0=_0x437bbb;_0x1924d3===_0x211fa0(0x25e)&&typeof _0xf220c7==_0x211fa0(0x246)&&(_0x3df2de[_0x1924d3]=_0xf220c7[_0x211fa0(0xf8)](/url\(#(.*)\)/,_0x211fa0(0x2db)+_0xe4a6d2[_0x211fa0(0xba)]+')'));});const {defIds:_0x560bd9}=_0xe4a6d2;return!_0x560bd9||_0x560bd9[_0x437bbb(0x2df)]===0x0||(_0x567954[_0x437bbb(0x2b0)]===_0x437bbb(0x25a)&&_0x3df2de['xlink:href']&&(_0x3df2de[_0x437bbb(0xc8)]=_0x3df2de[_0x437bbb(0xc8)]+_0xe4a6d2[_0x437bbb(0xba)]),Object['entries'](_0x3df2de)[_0x437bbb(0xde)](([_0x1a46c5,_0x1409f1])=>{const _0x300cb0=_0x437bbb;typeof _0x1409f1==_0x300cb0(0x246)&&(_0x3df2de[_0x1a46c5]=_0x1409f1[_0x300cb0(0xf8)](/url\(#(.*)\)/,_0x300cb0(0x2db)+_0xe4a6d2[_0x300cb0(0xba)]+')'));})),_0x3df2de;}function Ei(_0x4e093e,_0x39ca62){const _0x4e1d46=_0x3c7b1f;var _0x2f6380;const {defIds:_0x5ae957}=_0x39ca62;return!_0x5ae957||_0x5ae957[_0x4e1d46(0x2df)]===0x0?_0x4e093e:_0x4e093e[_0x4e1d46(0x2b0)]===_0x4e1d46(0xae)&&((_0x2f6380=_0x4e093e[_0x4e1d46(0x203)])!=null&&_0x2f6380['length'])?{..._0x4e093e,'children':_0x4e093e[_0x4e1d46(0x203)][_0x4e1d46(0x2e0)](_0x116d5c=>typeof _0x116d5c[_0x4e1d46(0x27d)]['id']=='string'&&_0x5ae957&&_0x5ae957[_0x4e1d46(0x1d8)](_0x116d5c[_0x4e1d46(0x27d)]['id'])?{..._0x116d5c,'attrs':{..._0x116d5c[_0x4e1d46(0x27d)],'id':_0x116d5c['attrs']['id']+_0x39ca62['idSuffix']}}:_0x116d5c)}:_0x4e093e;}function vi(){const _0x560244=_0x3c7b1f;return Math[_0x560244(0x19f)]()[_0x560244(0xc1)](0x24)['substring'](0x2,0x8);}Ge[_0x3c7b1f(0x1f7)]=_0x3c7b1f(0xb1);const pi={'tag':'svg','attrs':{'xmlns':_0x3c7b1f(0x2de),'fill':_0x3c7b1f(0x13d),'viewBox':_0x3c7b1f(0x247),'width':_0x3c7b1f(0x15c),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3c7b1f(0x1ef)},'children':[{'tag':_0x3c7b1f(0x1f3),'attrs':{'stroke':_0x3c7b1f(0x27e),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x3c7b1f(0x285),'strokeLinejoin':_0x3c7b1f(0x285),'strokeWidth':1.2}}]},{'tag':_0x3c7b1f(0xae),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3c7b1f(0x1df)},'children':[{'tag':_0x3c7b1f(0x1f3),'attrs':{'fill':_0x3c7b1f(0x1b4),'d':_0x3c7b1f(0x1cc)}}]}]}],'defIds':[_0x3c7b1f(0x1df)]},Pt=_0x3343e3(function(_0x42ed2f,_0x20a988){const _0x516970=_0x3c7b1f;return _0x173d2f(Ge,Object[_0x516970(0x1f0)]({},_0x42ed2f,{'id':_0x516970(0x196),'ref':_0x20a988,'icon':pi}));});Pt[_0x3c7b1f(0x1f7)]=_0x3c7b1f(0xcd);const Oi={'tag':_0x3c7b1f(0x113),'attrs':{'xmlns':_0x3c7b1f(0x2de),'fill':_0x3c7b1f(0x13d),'viewBox':'0\x200\x2017\x2016','width':_0x3c7b1f(0x15c),'height':_0x3c7b1f(0x15c)},'children':[{'tag':'g','attrs':{'clipPath':_0x3c7b1f(0xad)},'children':[{'tag':_0x3c7b1f(0x1f3),'attrs':{'stroke':_0x3c7b1f(0x27e),'d':_0x3c7b1f(0x2ad),'strokeLinecap':'round','strokeLinejoin':_0x3c7b1f(0x285),'strokeWidth':1.2}}]},{'tag':_0x3c7b1f(0xae),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x3c7b1f(0x1f3),'attrs':{'fill':'white','d':_0x3c7b1f(0x1cc),'transform':_0x3c7b1f(0x257)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},wt=_0x3343e3(function(_0x556e34,_0x372614){const _0x32952b=_0x3c7b1f;return _0x173d2f(Ge,Object['assign']({},_0x556e34,{'id':_0x32952b(0x197),'ref':_0x372614,'icon':Oi}));});wt['displayName']=_0x3c7b1f(0x2a4);function Ti(_0x49fbe0){const _0x5920eb=_0x3c7b1f;switch(_0x49fbe0){case _0x141886[_0x5920eb(0x110)]:return _0x5920eb(0x288);case _0x141886[_0x5920eb(0x28d)]:return _0x5920eb(0x251);case _0x141886[_0x5920eb(0x142)]:return _0x5920eb(0x298);case _0x141886[_0x5920eb(0x14e)]:return _0x5920eb(0x278);case _0x141886[_0x5920eb(0xfb)]:case _0x141886[_0x5920eb(0x1be)]:return _0x5920eb(0x190);case _0x141886[_0x5920eb(0xb7)]:case _0x141886[_0x5920eb(0x1e8)]:return _0x5920eb(0x21c);}}function Ci(_0x5e03e7){const _0x570225=_0x3c7b1f,{status$:_0x5ee006}=_0x5e03e7,_0x24637e=_0x4fb62f(_0x5ee006,_0x141886[_0x570225(0x14e)]),_0x4a14b6=_0x159e48(_0x1540cb),_0x3ce543=_0x159e48(_0x1a5b2a),_0x425cd0=_0x24637e!==_0x141886[_0x570225(0x110)],_0x5b214f=_0x4a14b6['t'](Ti(_0x24637e)),_0x570059=_0x425cd0?_0x5c493a(wt,{}):_0x5c493a(Pt,{}),_0x3779d1=_0x3f9a21(()=>{_0x425cd0||_0x3ce543['reconnect']();},[_0x425cd0,_0x3ce543]);function _0x1ce461(){const _0x51b04d=_0x570225;return _0x9d853f(_0x51b04d(0x2ac),{'className':_0x51b04d(0x14d),'onClick':_0x3779d1,'children':[_0x5c493a(_0x51b04d(0x2ac),{'className':_0x336e65(_0x51b04d(0x11c),{'univer-text-green-500':_0x425cd0,'univer-text-red-500':!_0x425cd0}),'children':_0x570059}),_0x5c493a(_0x51b04d(0x2ac),{'className':_0x51b04d(0x1a0),'children':_0x5b214f})]});}return _0x425cd0?_0x1ce461():_0x5c493a(_0x134057,{'title':_0x4a14b6['t'](_0x570225(0x263)),'children':_0x1ce461()});}var Ri=Object[_0x3c7b1f(0x176)],Di=(_0x4b4768,_0x3ccd28,_0x188c93,_0xac0b6e)=>{const _0x2584b0=_0x3c7b1f;for(var _0x50da3f=_0xac0b6e>0x1?void 0x0:_0xac0b6e?Ri(_0x3ccd28,_0x188c93):_0x3ccd28,_0x13cde2=_0x4b4768[_0x2584b0(0x2df)]-0x1,_0x262798;_0x13cde2>=0x0;_0x13cde2--)(_0x262798=_0x4b4768[_0x13cde2])&&(_0x50da3f=_0x262798(_0x50da3f)||_0x50da3f);return _0x50da3f;},se=(_0x311643,_0x41bb6a)=>(_0x1f8c1e,_0x16dd22)=>_0x41bb6a(_0x1f8c1e,_0x16dd22,_0x311643);let ae=class extends _0x3c56e8{constructor(_0x575038,_0x3d23f3,_0x56008b,_0x24a60d){const _0x38af38=_0x3c7b1f;super(),_(this,_0x38af38(0x207),new _0x496d01(_0x141886[_0x38af38(0x14e)])),(this[_0x38af38(0x25b)]=_0x575038,this[_0x38af38(0x2a5)]=_0x3d23f3,this['_collaborationController']=_0x56008b,this[_0x38af38(0x167)]=_0x24a60d,this[_0x38af38(0x20b)](),this[_0x38af38(0x1dd)]());}['_initStatusListener'](){const _0x29bcdf=_0x3c7b1f;this[_0x29bcdf(0x1f4)](this[_0x29bcdf(0x25b)]['focused$'][_0x29bcdf(0x1ab)](_0x4568f5(()=>{const _0x2934fc=_0x29bcdf,_0x38b8ab=this[_0x2934fc(0x25b)]['getFocusedUnit']();return _0x38b8ab?this[_0x2934fc(0xdf)]['getCollabEntity$'](_0x38b8ab[_0x2934fc(0x2ec)]()):_0x831dda(null);}),_0x4568f5(_0x372827=>_0x372827?_0x372827[_0x29bcdf(0x189)]:_0x831dda(_0x141886['NOT_COLLAB'])))[_0x29bcdf(0x243)](_0x330014=>{this['_status$']['next'](_0x330014);}));}['_initStatusComponent'](){const _0x3dd2d3=_0x3c7b1f;this[_0x3dd2d3(0x1f4)](this['_uiPartsService']['registerComponent'](_0x220af0[_0x3dd2d3(0x121)],()=>_0x2ebddc(Ni({'status$':this['_status$'][_0x3dd2d3(0x182)]()}),this[_0x3dd2d3(0x2a5)])));}};ae=Di([se(0x0,_0x4e733f),se(0x1,_0xb035d2(_0x5d1f7b)),se(0x2,_0xb035d2(_0x426370)),se(0x3,_0x5c4e76)],ae);function Ni(_0x25d2b7){const {status$:_0x15c23b}=_0x25d2b7;return function(){return _0x5c493a(Ci,{'status$':_0x15c23b});};}const yt=_0x1578e0(_0x3c7b1f(0xc9));var bi=Object[_0x3c7b1f(0x176)],Li=(_0x10a59a,_0x24abe9,_0x3baab9,_0x1887cf)=>{const _0x53a20e=_0x3c7b1f;for(var _0x463c6e=_0x1887cf>0x1?void 0x0:_0x1887cf?bi(_0x24abe9,_0x3baab9):_0x24abe9,_0x55b8b4=_0x10a59a[_0x53a20e(0x2df)]-0x1,_0x4b7a3c;_0x55b8b4>=0x0;_0x55b8b4--)(_0x4b7a3c=_0x10a59a[_0x55b8b4])&&(_0x463c6e=_0x4b7a3c(_0x463c6e)||_0x463c6e);return _0x463c6e;},K=(_0x41dd2c,_0x74ba4d)=>(_0x5333b9,_0x3d84d2)=>_0x74ba4d(_0x5333b9,_0x3d84d2,_0x41dd2c);let ce=class extends _0x372795{constructor(_0x29e363,_0x1f5188,_0xe0f330,_0x1bb5d2,_0x180e0b){const _0x56b8af=_0x3c7b1f;super(),this[_0x56b8af(0x24a)]=_0x29e363,this['_logService']=_0x1f5188,this[_0x56b8af(0xd0)]=_0xe0f330,this[_0x56b8af(0x2cb)]=_0x1bb5d2,_0x180e0b?_0x180e0b==null||_0x180e0b['whenReady']()[_0x56b8af(0x2d6)](()=>this[_0x56b8af(0x28e)]()):(this[_0x56b8af(0x2c8)][_0x56b8af(0x14f)](_0x56b8af(0x194),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x56b8af(0x28e)]());}async[_0x3c7b1f(0x28e)](){const _0x41ecbe=_0x3c7b1f,_0x2fa077=this[_0x41ecbe(0x24a)][_0x41ecbe(0x2e9)](_0x41ecbe(0x266)),_0x304a98=this['_urlService']['getParam'](_0x41ecbe(0x195)),_0x1a735e=this[_0x41ecbe(0x24a)][_0x41ecbe(0x2e9)](_0x41ecbe(0x227));if(!_0x2fa077||!_0x304a98){this[_0x41ecbe(0x2c8)][_0x41ecbe(0x14f)]('[CollaborationDataLoaderController]',_0x41ecbe(0x2a0));return;}const _0x9ce34=await this[_0x41ecbe(0x2cb)][_0x41ecbe(0x282)](_0x2fa077,Number(_0x304a98),_0x1a735e);_0x9ce34&&_0x9ce34 instanceof _0x3a8d6b&&this[_0x41ecbe(0x2ce)](_0x9ce34);}async['_setupSubUnitSync'](_0x2be37d){const _0x15f2eb=_0x3c7b1f;await this['_updateSubUnitFromURLParams'](_0x2be37d),_0x2be37d[_0x15f2eb(0x1fe)][_0x15f2eb(0x1ab)](_0x30d8cf(this['dispose$']))[_0x15f2eb(0x243)](_0x4ffd12=>{const _0x42b527=_0x15f2eb;_0x4ffd12&&this[_0x42b527(0xff)](_0x4ffd12);}),this[_0x15f2eb(0x24a)]['urlChange$'][_0x15f2eb(0x1ab)](_0x30d8cf(this[_0x15f2eb(0x141)]))[_0x15f2eb(0x243)](()=>this[_0x15f2eb(0xb6)](_0x2be37d));}['_updateURLWithCurrentState'](_0x316f35,_0x4d3e9c=!0x1){const _0x24c8cf=_0x3c7b1f,_0x270989=this[_0x24c8cf(0x24a)][_0x24c8cf(0x2e9)](_0x24c8cf(0x227));_0x316f35[_0x24c8cf(0x1c3)]()!==_0x270989&&this[_0x24c8cf(0x24a)]['setParam'](_0x24c8cf(0x227),_0x316f35[_0x24c8cf(0x1c3)](),_0x4d3e9c);}async[_0x3c7b1f(0xb6)](_0x2155aa){const _0x97ce82=_0x3c7b1f;var _0x586863;const _0x4eabc=this['_urlService'][_0x97ce82(0x2e9)](_0x97ce82(0x227));if(!_0x4eabc||!_0x2155aa[_0x97ce82(0x2bd)](_0x4eabc)){const _0x153d3d=_0x2155aa['getUnhiddenWorksheets']()[0x0],_0x41683a=_0x2155aa[_0x97ce82(0x2bd)](_0x153d3d);if(!_0x41683a)return;this[_0x97ce82(0xff)](_0x41683a,!0x0),await this['_commandService'][_0x97ce82(0x21d)](_0x396edb['id'],{'unitId':_0x2155aa[_0x97ce82(0x2ec)](),'subUnitId':_0x153d3d});return;}((_0x586863=_0x2155aa[_0x97ce82(0xf4)]())==null?void 0x0:_0x586863[_0x97ce82(0x1c3)]())!==_0x4eabc&&await this[_0x97ce82(0xd0)][_0x97ce82(0x21d)](_0x396edb['id'],{'unitId':_0x2155aa['getUnitId'](),'subUnitId':_0x4eabc});}};ce=Li([K(0x0,yt),K(0x1,_0x2d6c13),K(0x2,_0x356dc6),K(0x3,_0xb035d2(_0x4bc602)),K(0x4,_0x3583ca(_0x56d4c3))],ce);var Ui=Object[_0x3c7b1f(0x176)],Mi=(_0x29b831,_0x28720f,_0x54f1a1,_0x87406c)=>{for(var _0x43c31f=_0x87406c>0x1?void 0x0:_0x87406c?Ui(_0x28720f,_0x54f1a1):_0x28720f,_0x4e8491=_0x29b831['length']-0x1,_0x4f303c;_0x4e8491>=0x0;_0x4e8491--)(_0x4f303c=_0x29b831[_0x4e8491])&&(_0x43c31f=_0x4f303c(_0x43c31f)||_0x43c31f);return _0x43c31f;},rt=(_0x288899,_0x1cc4d2)=>(_0x4b56ec,_0x2a5944)=>_0x1cc4d2(_0x4b56ec,_0x2a5944,_0x288899);function _0x24f8(){const _0x526219=['addClipboardHook','YUUMI_AI_RUN_FAILED','urlChange$','18702vwOriT','_transformService','status$','_docTransformSelectionsService','redoState','transformStateCache','_createSocketURL','_instanceService','transformSelections','collabStatus.syncing','UNRECOGNIZED','_startSheetCollabCursor','range','[CollaborationDataLoaderController]','type','off-line-icon','on-line-icon','data','unshift','_unitStatus','_unitOnClients','INVALID_INVITE_CODE','_httpService','_config','random','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','width','ENTITLE_INSUFFICIENT_QUOTA','from','APPLY_PERMISSION_DENIED','NO_OTHER_CLIENTS_EDITING','InsertRangeMoveDownCommandId','Failed','totalFormulasToCalculate','fillText','YUUMI_ASYNCIO_CANCELLED','pipe','setStateCache','setShapeProps','_draw','roomMembers','formula.calculation.waiting','collabCursorState$','USER_IS_ANONYMOUS','ENTITLE_COUPON_USED_UP','white','_messageService','_scheduleHeartbeat','bottom','popstate','getConfig','drawWith','stageInfo','ENTITLE_CHAT_LIMIT_EXCEED','colno','AWAITING_WITH_PENDING','enableLocalCache','onTransformChange$','sheetID','setItem','getSheetId','eventID','COMPLETION_FINISHED','size','TEXT','REDEMPTION_CODE_FULLY_REDEEMED','unitId','_initResize','_localStorageService','M0\x200H16V16H0z','getCollabCursors$','ranges','evenodd','InsertRangeMoveRightCommandId','purple.300','parseInt','_initDependencies','_context','_removeClearOtherTimer','getCurrentRevOfUnit','selection','includes','_onRefRangeChange','1313598ncgyUY','_saveCache','/universer-api/license/formula/limit/start','_initStatusListener','_transformHistoryAndStateStack','off-line-icon_clip0_910_343','getCurrentUnitForType','_drawTextRange','_render','_clearPolling','pushState','_configService','TOO_MANY_REQUESTS','_getMergeRange','PENDING','font','event$','startRow','editingUnit','save','symbol','url(#off-line-icon_clip0_910_343)','assign','_entities','DATA_SOURCE_TOO_LARGE','path','disposeWithMe','Unknown\x20user','_entityInit$','displayName','green.600','getStateCache','getRangePointData','disposeUnit','assignAColorForMemberID','_drawRectRange','activeSheet$','YUUMI_SUBSCRIPTION_NOT_FOUND','_docStateChangeManagerService','_color','_saveTaskMap','children','endRow','onMouseMove','registerRefRange','_status$','YUUMI_NO_CUBOID_FOR_QUESTION','Loading','transformIMECache','_initStatusComponent','YUUMI_ALL_TABLES_IS_INVALID','_toggleOnline','complete','contains','_eventUnsubscribe','closePath','NOT_FOUND','MOBILE_VERIFY_CODE_MISMATCH','onPointerLeave$','_syncEditingCollabCursorService','transform','EMAIL_HAS_BEEN_BOUND','current','now','runOnServer','UNIVER_DOC','collabStatus.synced','executeCommand','has','CHANGESET_REVISION_CONFILICT','_refRangeService','_setFormulaLimitStatus','stringify','_getFormulaLimitStatus','getValue','_collaborationUIEventService','RECT','subunit','onStarting','transformMutationsWithChangeset','...','registerRenderModule','APPLY_REVISION_CONFILICT','LICENSE_IMPORT_SIZE_EXCEEDED','startsWith','_uploadLog','collaboration.single-unit.warning','_docSkeleton','LOGIN_FAILED','YUUMI_URL_COL_OUT_OF_RANGE','transformRemoteChangeset','INVITE_CODE_HAS_BEEN_UES','measureText','name','_initWindowErrorListener','_cursorInfo$','error','setUndoRedoMutationParamsCache','reason','getCellMatrix','text','INVALID_ARGUMENT','_ensureSubject','_lastResponseTimestamp','setAlpha','subscribe','startFormulaLimitUrl','triggerDblclick','string','0\x200\x2016\x2016','_revisionService','_getAnchorBounding','_urlService','sessionTicket','onPointerMove$','_releaseCalculationLimit','2yQtemA','init','hide','collabStatus.conflict','UNAUTHENTICATED','permission.title','addObjects','RemoveColCommandId','SOCKET_FAILED_RETRY','translate(.97)','removeEventListener','currentTheme$','use','_univerInstanceService','arc','formula.calculation.unable','mask','addObject','fill','doc.mutation.rich-text-editing','collab-text-range-','collab-client.tooltip.reconnect','UNIVER_SHEET','defineProperty','unit','ENSURE_SNAPSHOT_EXECUTION','/universer-api/license/formula/limit/status','INTERNAL_ERROR','17825556SdGLGU','_session','setTimeout','source','REDEMPTION_CODE_INACTIVE','_anchor','subscribeEvent','LICENSE_DISTRO_REJECTED','values','getViewport','USER_NOT_FOUND','_shapes','USER_NOT_INVITED_CODE','_online','collabStatus.notCollab','getSkeleton','search','_checkCalculationAvailable','endColumn','attrs','currentColor','stack','ONLINE','getUniverSheetInstance','loadUnit','VIEW_MAIN','Success','round','roomMembers$','some','collabStatus.offline','140nMOCnZ','runId','[Window\x20Error]:\x20','_docSyncEditingCollabCursorService','CONFLICT','_init','syncEditingCollabCursor','_updateCollabCursors','skeleton','getMember','_doCreateSocket','permission.content','_scene','rgba(255,\x20255,\x20255,\x200.01)','_disabled','collabStatus.fetchMiss','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ALREADY_EXISTS','all','min','_removeCollabCursors','setConfig','PAYMENT_CHANNEL_NOT_SUPPORT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','lineTo','getOffsetConfig','_handleJoinEvent','OnLineIcon','_injector','dirtyRanges','_getScale','_localeService','REDEMPTION_USER_NOT_ELIGIBLE','_onCursorUpdate','textRanges','div','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','ENTITLE_COUPON_EXPIRED','SUBMIT_CHANGESET_TIMEOUT','tag','collaboration.closeRoom','newValue','max','_clearOtherTimers','loadOfflineData','ACTIVE_UNIT_EVENT_CHANNEL','_startDocCollabCursor','YUUMI_CONNECTOR_URL_NOT_FOUND','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_hideTimer','DeleteRangeMoveLeftCommandId','resize','getSheetBySheetId','_themeService','_maxFormulaLimit','_monkeyPatchLogService','_notificationService','InsertRowCommandId','_setupBeforeClosingHandler','column','getCellPositionByOffset','ENTITLE_DUP_SUBSCRIPTION','onRendered','_logService','_backgroundColor','setParam','_dataLoaderService','_pollingInterval','origin','_setupSubUnitSync','filename','cursorInfo','getRenderById','deepClone','_heartbeatTimer','fillRule','8FgNvzo','then','_cachedData','OTHER_CLIENTS_EDITING','_collabCursorState$','APPLY_DUPLICATED','url(#$1','getTypeOfUnitDisposed$','INVITE_CODE_REQUIRED','http://www.w3.org/2000/svg','length','map','OTHER_CLIENT_EDITING','storage','_toggleOffline','dispose','ENTITLE_USE_COUPON_NOT_1ST_TRADE','64tzHDqt','_send','/run/','getParam','_handleHeartbeatEvent','_collabCursorController','getUnitId','createInstance','restore','catch','[LogService\x20Error]:\x20','_initCommandExecutedListener','createSocket','beforeCommandExecuted','currentSkeleton$','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_name','USERS_LEAVE','row','_onCursorDelete','6147531nHvrjB','YUUMI_RATE_OVER_LIMIT','REDEMPTION_INVALID_CODE','findNodePositionByCharIndex','url(#on-line-icon_clip0_910_349)','defs','_hover','location','UniverIcon','_renderManagerService','get','_hasFormulaInDirtyRanges','_cursorShapes','_updateSubUnitFromURLParams','SYNCED','color','mutations','idSuffix','code','MOBILE_HAS_BEEN_BOUND','ticket','registerBeforeClose','unhandledrejection','_cursor','toString','_cursors','_anchorDot','_memberID','ERROR_AGAIN','getUnitStatus$','JOIN_ROOM_FAILED','xlink:href','uni.network.url-service','getColorFromTheme','_id','href','OffLineIcon','getAncestorScale','show','_commandService','next','searchParams','requireSession','fillStyle','_registerDependencies','#FFF','_sheetSkeletonManagerService','flatMap','_handleHover','APPLY_NON_SEQUENTIAL_REVISION','add','body','CLOSE_ROOM','forEach','_collaborationController','_colorIndex','getUndoRedoMutationParamsCache','_transformUndoRedoStack','sessionStatus$','univerjs-icon\x20univerjs-icon-','yellow.400','undoState','_drawAnchor','session.will-retry','collaboration.offline-data-not-saved','APPLY_REJECT','_range','_imageIoService','_assignedColors','getDocRanges','AUTHORIZE_CODE_ILLEGAL','colorChannel1','_selfUnitIDs','_scheduleSaving','CURRENT_STATUS_CANNOT_OPERATE','getActiveSheet','_hovered','_memberService','getformulaLimitStatusUrl','replace','_registerRenderDependencies','imageSourceType','AWAITING','saveTaskMap','_currentUsage','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_updateURLWithCurrentState','getMergeData','6519190SkYiLS','history','split','_startCalculationLimit','REDEMPTION_CODE_NOT_STARTED','_handleEvent','currentUsage','_refreshCollabCursors','_labelPosition','_docClipboardService','executionId','YUUMI_UNABLE_LOAD_URL','_taskIds','_getSaveTimeout','LICENSE_EXPORT_SIZE_EXCEEDED','OFFLINE','trim','onCommandExecuted','svg','red.300','replaceState','_showGuardMessage','height','WECHAT_HAS_BEEN_BOUND','entries','_getSessionTicket','collaboration-client-ui.config','univer-mr-2\x20univer-flex\x20univer-text-xl','clearInterval','pluginName','_docSkeletonManagerService','UPDATE_CURSOR','HEADER_MENU','transformMutation','hovered','_getSheetObject','_applyCommand','defIds','params','memberID','with','_initUserListener','isActive','FromArray','LOGIN_TOKEN_PROCESSING_FAILED','REDEMPTION_CODE_HAS_BEEN_CREATED','Error','_docTransformStateCacheService','removeParam','isArray','_lastPointer','shift','ENTITLE_NEED_BILLING_ADDRESS','unitID','post','PY_RUNTIME_SCRIPT_ERROR','getVpScrollXYInfoByPosToVp','299106rFcXiM','_colorAssignService','push','none','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getItem','getTypeOfUnitAdded$','dispose$','FETCH_MISS','m2Prime','getFocusedUnit','getMemberID','message','_localCacheService','onPointerEnter$','socket$','black','m1Prime','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','univer-flex\x20univer-items-center','NOT_COLLAB','debug','stage','bind','invokeId','26OJvqeR','ENTITLE_REPORT_LIMIT_EXCEED','saveOfflineData','_checkAndWaitForCalculationPermission','beginPath','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','maxFormulaLimit','toRgbString','cursorInfo$','1em','startColumn','parse','11JJZEEA','limitInfo','getActiveRange','onLocalMutation','_handleLeaveEvent','_initEvent','clearTimeout','subUnitId','_uiPartsService','ENTITLE_INVALID_COUPON_CODE','_textBubble','PERMISSION_DENIED','_beforeCloseService','_initEntityListener','getRelativeToViewportCoord','delete','LICENSE_MAX_UNITS_EXCEEDED','_initUnhandledRejectionListener','CONNECTOR_DATA_TOO_LARGE','_docTransformIMECacheService','_collabSessionService','_roomMembers$','exhaustSavingTask','getOwnPropertyDescriptor','_transformPreviousActiveRange','_scheduleClearOtherTimer','send','131850DVYVbR','addEventListener','docStateChange$','unsubscribe','Warning','_updateLocalCursor','selections','SNAPSHOT_INVALID_SNAPSHOT','asObservable','set'];_0x24f8=function(){return _0x526219;};return _0x24f8();}let $e=class extends _0x372795{constructor(_0x59f040,_0x58a6f5){const _0x341097=_0x3c7b1f;super(),this[_0x341097(0x10a)]=_0x59f040,this['_imageIoService']=_0x58a6f5,this[_0x341097(0x28e)]();}[_0x3c7b1f(0x28e)](){const _0xaeb9e2=_0x3c7b1f,_0x57f7e3=this;this['disposeWithMe'](this[_0xaeb9e2(0x10a)][_0xaeb9e2(0x184)]({'onBeforePasteImage':async _0x3ecc56=>{const _0x35e7dc=_0xaeb9e2,_0x441e8f=await _0x57f7e3[_0x35e7dc(0xec)]['saveImage'](_0x3ecc56);return _0x441e8f?{'source':_0x441e8f[_0x35e7dc(0x26d)],'imageSourceType':_0x441e8f[_0x35e7dc(0xfa)]}:null;}}));}};$e=Mi([rt(0x0,_0x4a9908),rt(0x1,_0x1dcdae)],$e);const ot=[_0x3c7b1f(0x1d1),'jiqing.500',_0x3c7b1f(0x1f8),_0x3c7b1f(0x114),'blue.400',_0x3c7b1f(0xe5)];class Ke extends _0x3c56e8{constructor(){const _0x7249fe=_0x3c7b1f;super(...arguments),_(this,_0x7249fe(0xed),new Map()),_(this,_0x7249fe(0xe0),0x0);}['assignAColorForMemberID'](_0x184eb7){const _0x33be81=_0x3c7b1f;if(this['_assignedColors']['has'](_0x184eb7))return this['_assignedColors']['get'](_0x184eb7);const _0x34dde4=ot[this[_0x33be81(0xe0)]];return this[_0x33be81(0xe0)]=(this[_0x33be81(0xe0)]+0x1)%ot[_0x33be81(0x2df)],this[_0x33be81(0xed)][_0x33be81(0x183)](_0x184eb7,_0x34dde4),_0x34dde4;}}function $t(_0x4ba445){const _0x25bd3a=_0x3c7b1f;let _0x294692='';for(const _0x47a94e of _0x4ba445){const {startOffset:_0x4bca0a,endOffset:_0x18972b,isActive:_0x38371e,rangeType:_0x4b0e65,segmentId:_0x4aa928,segmentPage:_0x2ddb27}=_0x47a94e;_0x294692[_0x25bd3a(0x2df)]&&(_0x294692+=','),_0x294692+=_0x4bca0a+':'+_0x18972b+':'+(_0x38371e?'1':'0')+':'+_0x4b0e65+':'+_0x4aa928+':'+_0x2ddb27;}return _0x294692;}function Ai(_0x45c30c){const _0x37ab59=_0x3c7b1f,_0x3f4cf1=_0x45c30c[_0x37ab59(0x103)](','),_0x34dfca=[];for(const _0x4fd454 of _0x3f4cf1){const [_0x165bab,_0x374022,_0xaf8a3c,_0x170f9d,_0x46a01a,_0x4902da]=_0x4fd454[_0x37ab59(0x103)](':');_0x34dfca[_0x37ab59(0x13c)]({'startOffset':Number(_0x165bab),'endOffset':Number(_0x374022),'collapsed':_0x165bab===_0x374022,'isActive':_0xaf8a3c==='1','rangeType':_0x170f9d===_0x26dd7c[_0x37ab59(0x1c7)]?_0x26dd7c['TEXT']:_0x26dd7c['RECT'],'segmentId':typeof _0x46a01a==_0x37ab59(0x246)?String(_0x46a01a):'','segmentPage':Number(_0x4902da!=null?_0x4902da:-0x1)});}return _0x34dfca[_0x37ab59(0x287)](_0x36a55e=>_0x36a55e[_0x37ab59(0x12b)])||(_0x34dfca[0x0]['isActive']=!0x0),_0x34dfca;}class ze extends _0x372795{constructor(){const _0x152fa9=_0x3c7b1f;super(...arguments),_(this,_0x152fa9(0x2d9),new _0x496d01(null)),_(this,_0x152fa9(0x1b1),this[_0x152fa9(0x2d9)][_0x152fa9(0x182)]());}[_0x3c7b1f(0x28f)](_0x178ea4){const _0x18df81=_0x3c7b1f,{unitID:_0x25230f,memberID:_0x2f6901,textRanges:_0x384b0b}=_0x178ea4,_0x2ac48e=$t(_0x384b0b);if(_0x2ac48e==='')return;const _0x3767c1={'unitID':_0x25230f,'memberID':_0x2f6901,'selection':_0x2ac48e};this[_0x18df81(0x2d9)]['next'](_0x3767c1);}}var Pi=Object[_0x3c7b1f(0x176)],wi=(_0x48504f,_0x1381f5,_0x41c72e,_0x4cdf38)=>{for(var _0xf19b82=_0x4cdf38>0x1?void 0x0:_0x4cdf38?Pi(_0x1381f5,_0x41c72e):_0x1381f5,_0x1642dc=_0x48504f['length']-0x1,_0x4042c7;_0x1642dc>=0x0;_0x1642dc--)(_0x4042c7=_0x48504f[_0x1642dc])&&(_0xf19b82=_0x4042c7(_0xf19b82)||_0xf19b82);return _0xf19b82;},A=(_0x22f300,_0x480c65)=>(_0x19f918,_0x350b26)=>_0x480c65(_0x19f918,_0x350b26,_0x22f300);const yi=0x12c,$i=0x64;let xe=class extends _0x372795{constructor(_0x41bfc5,_0x3d5977,_0x33f429,_0x2ef623,_0xec567,_0x1c2c90,_0x5bbd5d,_0x2f7a41,_0x9fcb9f){const _0x369bc4=_0x3c7b1f;super(),_(this,_0x369bc4(0x277),!0x1),_(this,_0x369bc4(0x28e),!0x1),_(this,'_cursorInfo$',new _0x496d01(new Map())),_(this,_0x369bc4(0x15b),this[_0x369bc4(0x239)][_0x369bc4(0x182)]()),_(this,_0x369bc4(0x174),new _0x496d01([])),_(this,_0x369bc4(0x286),this[_0x369bc4(0x174)][_0x369bc4(0x1ab)](_0x3d8623(yi))),_(this,_0x369bc4(0x17f),_0x4c19ca(_0x36b68e=>{const _0x1847f8=_0x369bc4,_0x2c64ad={'eventID':_0x2ebe54['UPDATE_CURSOR'],'data':{'unitID':this[_0x1847f8(0x136)],'memberID':this[_0x1847f8(0x26b)][_0x1847f8(0x145)](),'selection':$t(_0x36b68e)}};this['_session'][_0x1847f8(0x179)](_0x2c64ad,this['unitID']);},$i)),(this['unitID']=_0x41bfc5,this[_0x369bc4(0x26b)]=_0x3d5977,this['_injector']=_0x33f429,this[_0x369bc4(0x13b)]=_0x2ef623,this['_memberService']=_0xec567,this[_0x369bc4(0x215)]=_0x1c2c90,this[_0x369bc4(0x188)]=_0x5bbd5d,this[_0x369bc4(0x25b)]=_0x2f7a41,this[_0x369bc4(0xd0)]=_0x9fcb9f);}get[_0x3c7b1f(0x2d0)](){const _0x774d75=_0x3c7b1f;return this[_0x774d75(0x239)][_0x774d75(0x224)]();}get[_0x3c7b1f(0x1af)](){const _0x3bf9cc=_0x3c7b1f;return this[_0x3bf9cc(0x174)][_0x3bf9cc(0x224)]();}[_0x3c7b1f(0x2e4)](){const _0x14ca11=_0x3c7b1f;super[_0x14ca11(0x2e4)](),this[_0x14ca11(0x239)][_0x14ca11(0xd1)](new Map()),this[_0x14ca11(0x239)][_0x14ca11(0x20e)](),this[_0x14ca11(0x174)]['next']([]),this[_0x14ca11(0x174)][_0x14ca11(0x20e)]();}[_0x3c7b1f(0x24f)](){const _0xe589c9=_0x3c7b1f;this[_0xe589c9(0x28e)]||(this['_init']=!0x0,this['_session'][_0xe589c9(0xe3)][_0xe589c9(0x1ab)](_0x30d8cf(this[_0xe589c9(0x141)]))[_0xe589c9(0x243)](_0x452e28=>{const _0x4e4af4=_0xe589c9;_0x452e28===_0x541599[_0x4e4af4(0x280)]?this['_toggleOnline']():this[_0x4e4af4(0x2e3)]();}),this[_0xe589c9(0x26b)][_0xe589c9(0x1ea)][_0xe589c9(0x1ab)](_0x30d8cf(this['dispose$']))[_0xe589c9(0x243)](_0x3da604=>{const _0x1d0165=_0xe589c9,_0x41baf0=_0x3da604[_0x1d0165(0x1c4)];_0x41baf0===_0x2ebe54[_0x1d0165(0x120)]&&this[_0x1d0165(0x2aa)](_0x3da604),_0x41baf0===_0x2ebe54[_0x1d0165(0xa6)]&&this[_0x1d0165(0xa8)](_0x3da604);}),this[_0xe589c9(0x1f4)](this['_commandService'][_0xe589c9(0x112)](_0x3274a3=>{const _0x9da49=_0xe589c9,_0x56b8fe=_0x3274a3[_0x9da49(0x127)];_0x56b8fe!=null&&this[_0x9da49(0x277)]&&_0x3274a3['id']===_0x1c49a5['id']&&_0x56b8fe[_0x9da49(0x1c9)]===this[_0x9da49(0x136)]&&_0x56b8fe['isEditing']===!0x1&&_0x56b8fe[_0x9da49(0x1ce)]['length']>0x0&&this[_0x9da49(0x17f)](_0x56b8fe[_0x9da49(0x1ce)]);})),this[_0xe589c9(0x215)][_0xe589c9(0x1b1)][_0xe589c9(0x1ab)](_0x30d8cf(this[_0xe589c9(0x141)]))[_0xe589c9(0x243)](_0x12f4f5=>{const _0x246372=_0xe589c9;if((_0x12f4f5==null?void 0x0:_0x12f4f5[_0x246372(0x136)])!==this['unitID'])return;const _0x265205={'eventID':_0x2ebe54['UPDATE_CURSOR'],'data':_0x12f4f5};this[_0x246372(0x2aa)](_0x265205);}),this[_0xe589c9(0x1f4)](this[_0xe589c9(0xd0)][_0xe589c9(0x112)](_0x127e0b=>{const _0x281af0=_0xe589c9;if(_0x127e0b[_0x281af0(0x127)]==null)return;const _0x5101be=_0x127e0b['params'];if(_0x127e0b['id']!==_0x39e328['id']||_0x5101be['unitId']!==this[_0x281af0(0x136)])return;const _0x19104e={'id':_0x281af0(0x261),'params':_0x5101be},_0x5a1bd6=this[_0x281af0(0x2d0)];for(const [_0x36df38,_0x5b4565]of _0x5a1bd6){const _0x1e744e={'id':_0x281af0(0x261),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5b4565[_0x281af0(0x1ce)]}},_0xe5c9eb=this[_0x281af0(0x188)][_0x281af0(0x122)](_0x19104e,_0x1e744e,!0x1);if(_0x47489f(_0xe5c9eb))throw _0xe5c9eb[_0x281af0(0x23a)];_0x5a1bd6[_0x281af0(0x183)](_0x36df38,{..._0x5b4565,'ranges':_0xe5c9eb[_0x281af0(0x143)]['params'][_0x281af0(0x2ab)]});}queueMicrotask(()=>{const _0x1b087c=_0x281af0;this[_0x1b087c(0x239)][_0x1b087c(0xd1)](_0x5a1bd6);});})));}[_0x3c7b1f(0x2aa)](_0x2656c7){const _0x56e0a1=_0x3c7b1f;var _0x2f83f7,_0x3035a8;const {memberID:_0x280f3b,selection:_0x29dcbc}=_0x2656c7[_0x56e0a1(0x198)],_0x2b4e02=Ai(_0x29dcbc),_0x11edb1=(_0x3035a8=(_0x2f83f7=this[_0x56e0a1(0xf6)][_0x56e0a1(0x292)](this[_0x56e0a1(0x136)],_0x280f3b))==null?void 0x0:_0x2f83f7[_0x56e0a1(0x237)])!=null?_0x3035a8:_0x56e0a1(0x1f5),_0x3da34d={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x280f3b),'name':_0x11edb1,'ranges':_0x2b4e02},_0x530095=this[_0x56e0a1(0x2d0)];_0x530095[_0x56e0a1(0x183)](_0x280f3b,_0x3da34d),this[_0x56e0a1(0x239)]['next'](_0x530095);}[_0x3c7b1f(0xa8)](_0x1704fc){const _0x12efa3=_0x3c7b1f,{memberID:_0x301ec0}=_0x1704fc[_0x12efa3(0x198)],_0x31176b=this[_0x12efa3(0x2d0)];_0x31176b[_0x12efa3(0x16e)](_0x301ec0),this['_cursorInfo$'][_0x12efa3(0xd1)](_0x31176b);}[_0x3c7b1f(0x20d)](){const _0x3f1115=_0x3c7b1f;var _0x2a1830;if(this[_0x3f1115(0x277)]=!0x0,((_0x2a1830=this[_0x3f1115(0x25b)]['getFocusedUnit']())==null?void 0x0:_0x2a1830[_0x3f1115(0x2ec)]())!==this[_0x3f1115(0x136)])return;const _0x189a1b=this[_0x3f1115(0x2a5)]['get'](_0x2375b3)[_0x3f1115(0xee)]();Array[_0x3f1115(0x132)](_0x189a1b)&&_0x189a1b[_0x3f1115(0x2df)]>0x0&&this[_0x3f1115(0x17f)](_0x189a1b);}[_0x3c7b1f(0x2e3)](){const _0x4048b6=_0x3c7b1f;this[_0x4048b6(0x277)]=!0x1;}};xe=wi([A(0x2,_0xb035d2(_0x5d1f7b)),A(0x3,_0xb035d2(Ke)),A(0x4,_0xb035d2(_0x5ceda6)),A(0x5,_0xb035d2(ze)),A(0x6,_0x5f0329),A(0x7,_0x4e733f),A(0x8,_0x356dc6)],xe);var xi=Object['getOwnPropertyDescriptor'],Bi=(_0x26913e,_0x5b44ca,_0x5ead84,_0x1290db)=>{for(var _0xec4d96=_0x1290db>0x1?void 0x0:_0x1290db?xi(_0x5b44ca,_0x5ead84):_0x5b44ca,_0x78fca1=_0x26913e['length']-0x1,_0x452136;_0x78fca1>=0x0;_0x78fca1--)(_0x452136=_0x26913e[_0x78fca1])&&(_0xec4d96=_0x452136(_0xec4d96)||_0xec4d96);return _0xec4d96;},B=(_0x4ca0b6,_0x23b8fb)=>(_0x288cb8,_0x90d5bf)=>_0x23b8fb(_0x288cb8,_0x90d5bf,_0x4ca0b6);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x4c5379=[],_0x9073c0=!0x1;return _0x5e027a=>{const _0x4411d5=_0x61c7;_0x4c5379[_0x4411d5(0x13c)](_0x5e027a),_0x9073c0||(_0x9073c0=!0x0,setTimeout(()=>{const _0x2e73c2=_0x4411d5;_0x4c5379[_0x2e73c2(0xde)](_0x22c8ea=>_0x22c8ea()),_0x4c5379=[],_0x9073c0=!0x1;}));};};let Be=class extends _0x372795{constructor(_0x30c786,_0x525d58,_0x69d737,_0x2af5e0,_0x1fb910,_0x1a76b3,_0x35e967,_0xc1598f){const _0x385b7b=_0x3c7b1f;super(),_(this,_0x385b7b(0x277),!0x1),_(this,'_init',!0x1),_(this,_0x385b7b(0x239),new _0x496d01(new Map())),_(this,_0x385b7b(0x15b),this[_0x385b7b(0x239)][_0x385b7b(0x182)]()),_(this,_0x385b7b(0x174),new _0x496d01([])),_(this,_0x385b7b(0x286),this[_0x385b7b(0x174)][_0x385b7b(0x1ab)](_0x3d8623(Fi))),_(this,'_updateLocalCursor',_0x4c19ca((_0x7846b,_0x114ef2)=>{const _0x4ec2ca=_0x385b7b,_0x531df9={'eventID':_0x2ebe54[_0x4ec2ca(0x120)],'data':{'unitID':this[_0x4ec2ca(0x136)],'memberID':this[_0x4ec2ca(0x26b)][_0x4ec2ca(0x145)](),'selection':_0x2cc035(_0x7846b,_0x114ef2[_0x4ec2ca(0x193)])}};this[_0x4ec2ca(0x26b)][_0x4ec2ca(0x179)](_0x531df9,this[_0x4ec2ca(0x136)]);},ki)),(this[_0x385b7b(0x136)]=_0x30c786,this[_0x385b7b(0x26b)]=_0x525d58,this['_injector']=_0x69d737,this[_0x385b7b(0x13b)]=_0x2af5e0,this['_memberService']=_0x1fb910,this[_0x385b7b(0x25b)]=_0x1a76b3,this[_0x385b7b(0xd0)]=_0x35e967,this[_0x385b7b(0x220)]=_0xc1598f);}get[_0x3c7b1f(0x2d0)](){const _0x1f6c92=_0x3c7b1f;return this['_cursorInfo$'][_0x1f6c92(0x224)]();}get[_0x3c7b1f(0x1af)](){const _0x1bcc58=_0x3c7b1f;return this[_0x1bcc58(0x174)][_0x1bcc58(0x224)]();}[_0x3c7b1f(0x2e4)](){const _0x3687c1=_0x3c7b1f;super[_0x3687c1(0x2e4)](),this[_0x3687c1(0x239)][_0x3687c1(0xd1)](new Map()),this[_0x3687c1(0x239)][_0x3687c1(0x20e)](),this[_0x3687c1(0x174)][_0x3687c1(0xd1)]([]),this['_roomMembers$'][_0x3687c1(0x20e)]();}[_0x3c7b1f(0x24f)](){const _0x57c4b9=_0x3c7b1f;this['_init']||(this[_0x57c4b9(0x28e)]=!0x0,this[_0x57c4b9(0x26b)][_0x57c4b9(0xe3)]['pipe'](_0x30d8cf(this[_0x57c4b9(0x141)]))[_0x57c4b9(0x243)](_0x20958b=>{const _0x262211=_0x57c4b9;_0x20958b===_0x541599[_0x262211(0x280)]?this['_toggleOnline']():this[_0x262211(0x2e3)]();}),this[_0x57c4b9(0x26b)][_0x57c4b9(0x1ea)][_0x57c4b9(0x1ab)](_0x30d8cf(this[_0x57c4b9(0x141)]))[_0x57c4b9(0x243)](_0x5180a8=>{const _0x32927a=_0x57c4b9,_0x530e7a=_0x5180a8[_0x32927a(0x1c4)];_0x530e7a===_0x2ebe54[_0x32927a(0x120)]&&this[_0x32927a(0x2aa)](_0x5180a8),_0x530e7a===_0x2ebe54[_0x32927a(0xa6)]&&this['_onCursorDelete'](_0x5180a8);}),this[_0x57c4b9(0x1d9)](),this['disposeWithMe'](this[_0x57c4b9(0xd0)][_0x57c4b9(0x112)](_0x5b8620=>{const _0x3ba7af=_0x57c4b9;if(this[_0x3ba7af(0x277)]&&_0x5b8620['id']===_0x2d415b['id']&&_0x5b8620[_0x3ba7af(0x127)]['unitId']===this['unitID']){const _0x1f8519=_0x5b8620[_0x3ba7af(0x127)];this[_0x3ba7af(0x17f)](_0x1f8519[_0x3ba7af(0x166)],_0x1f8519[_0x3ba7af(0x180)][0x0]);}})));}[_0x3c7b1f(0x2aa)](_0x4f1a7b){const _0x37f944=_0x3c7b1f;var _0x31d859,_0x3e7ce1;const {memberID:_0x3c20aa,selection:_0x34afa9}=_0x4f1a7b[_0x37f944(0x198)],{sheetName:_0x197a02,range:_0x1d3354}=_0x2b4d1e(_0x34afa9),_0x20dde6={'name':(_0x3e7ce1=(_0x31d859=this[_0x37f944(0xf6)][_0x37f944(0x292)](this[_0x37f944(0x136)],_0x3c20aa))==null?void 0x0:_0x31d859[_0x37f944(0x237)])!=null?_0x3e7ce1:_0x37f944(0x1f5),'range':this[_0x37f944(0x1e7)](_0x197a02,_0x1d3354),'sheetID':_0x197a02,'color':this[_0x37f944(0x13b)][_0x37f944(0x1fc)](_0x3c20aa),'selection':_0x34afa9},_0x330e70=this[_0x37f944(0x2d0)];_0x330e70[_0x37f944(0x183)](_0x3c20aa,_0x20dde6),this['_cursorInfo$'][_0x37f944(0xd1)](_0x330e70);}[_0x3c7b1f(0xa8)](_0x1c44e5){const _0x7edda8=_0x3c7b1f,{memberID:_0x3f204f}=_0x1c44e5[_0x7edda8(0x198)],_0x1613f3=this[_0x7edda8(0x2d0)];_0x1613f3[_0x7edda8(0x16e)](_0x3f204f),this[_0x7edda8(0x239)]['next'](_0x1613f3);}[_0x3c7b1f(0x1e7)](_0x59a1fd,_0x1c86eb){const _0x3a0513=_0x3c7b1f;var _0x544c79,_0x2d1831;const _0x5e6d85=(_0x2d1831=(_0x544c79=this[_0x3a0513(0x25b)][_0x3a0513(0x281)](this[_0x3a0513(0x136)]))==null?void 0x0:_0x544c79[_0x3a0513(0x2bd)](_0x59a1fd))==null?void 0x0:_0x2d1831[_0x3a0513(0x100)]();return(_0x5e6d85==null?void 0x0:_0x5e6d85['find'](_0x412376=>_0xf8082a[_0x3a0513(0x20f)](_0x412376,_0x1c86eb)))||_0x1c86eb;}['_onRefRangeChange'](){const _0x1f479e=_0x3c7b1f,_0x4a6462=new _0x4b31b9(),_0x11fb55=Hi(),_0x11b90b=()=>{const _0x343589=_0x61c7;_0x4a6462[_0x343589(0x2e4)]();const _0x2fbed5=(_0x4370b1,_0x143bf5,_0x38bfb2,_0xb9ae68)=>{const _0x29931c=_0x343589;let _0x25a1fe=[];switch(_0x4370b1['id']){case _0x298261[_0x29931c(0x2bb)]:{_0x25a1fe=_0x37ab2b(_0x4370b1,_0xb9ae68);break;}case _0x298261['DeleteRangeMoveUpCommandId']:{_0x25a1fe=_0x9f96cb(_0x4370b1,_0xb9ae68);break;}case _0x298261['InsertColCommandId']:{_0x25a1fe=_0x4697c6(_0x4370b1,_0xb9ae68);break;}case _0x298261[_0x29931c(0x1a6)]:{_0x25a1fe=_0x1604f2(_0x4370b1,_0xb9ae68);break;}case _0x298261[_0x29931c(0x1d0)]:{_0x25a1fe=_0x588a87(_0x4370b1,_0xb9ae68);break;}case _0x298261[_0x29931c(0x2c2)]:{_0x25a1fe=_0x2941ce(_0x4370b1,_0xb9ae68);break;}case _0x298261['MoveRangeCommandId']:{_0x25a1fe=_0x2e20f1(_0x4370b1,_0xb9ae68);break;}case _0x298261[_0x29931c(0x255)]:{_0x25a1fe=_0x21177e(_0x4370b1,_0xb9ae68);break;}case _0x298261['RemoveRowCommandId']:{_0x25a1fe=_0x585315(_0x4370b1,_0xb9ae68);break;}}const _0x50d731=_0x505425(_0x25a1fe,_0xb9ae68),_0x264a32=this['cursorInfo']['get'](_0x143bf5);if(_0x264a32&&_0x50d731){const _0x22dc41={..._0x264a32,'range':_0x50d731};this[_0x29931c(0x2d0)][_0x29931c(0x183)](_0x143bf5,_0x22dc41),_0x11fb55(()=>{const _0x164858=_0x29931c,_0x3eb374=this['_refRangeService'][_0x164858(0x206)](_0x50d731,_0x500be9=>(_0x3eb374['dispose'](),_0x2fbed5(_0x500be9,_0x143bf5,_0x38bfb2,_0x50d731)));_0x4a6462[_0x164858(0xdb)](_0x3eb374);});}return{'redos':[],'undos':[]};};this[_0x343589(0x2d0)][_0x343589(0xde)]((_0x5ec5dd,_0x95f209)=>{const _0x534c44=_0x343589,{range:_0x328755,sheetID:_0x2312b0}=_0x5ec5dd,_0x1f8f22=this[_0x534c44(0x220)][_0x534c44(0x206)](_0x328755,_0x7c72f3=>(_0x1f8f22[_0x534c44(0x2e4)](),_0x2fbed5(_0x7c72f3,_0x95f209,_0x2312b0,_0x328755)));_0x4a6462[_0x534c44(0xdb)](_0x1f8f22);});};this[_0x1f479e(0x1f4)](_0x2d366c(this[_0x1f479e(0x239)][_0x1f479e(0x243)](()=>{_0x11b90b();})));}['_toggleOnline'](){const _0x556efa=_0x3c7b1f;var _0x555905,_0x49c280;if(this[_0x556efa(0x277)]=!0x0,((_0x555905=this[_0x556efa(0x25b)]['getFocusedUnit']())==null?void 0x0:_0x555905[_0x556efa(0x2ec)]())!==this[_0x556efa(0x136)])return;const _0x59d78a=(_0x49c280=this[_0x556efa(0x2a5)][_0x556efa(0xb3)](_0x92bfad)['getCurrentSelections']())==null?void 0x0:_0x49c280[0x0],_0x3f6a6b=this[_0x556efa(0x25b)][_0x556efa(0x1e0)](_0x4c566a['UNIVER_SHEET'])[_0x556efa(0xf4)]();_0x59d78a&&_0x3f6a6b&&this[_0x556efa(0x17f)](_0x3f6a6b['getSheetId'](),_0x59d78a);}['_toggleOffline'](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0xb035d2(_0x5d1f7b)),B(0x3,_0xb035d2(Ke)),B(0x4,_0xb035d2(_0x5ceda6)),B(0x5,_0x4e733f),B(0x6,_0x356dc6),B(0x7,_0xb035d2(_0x459274))],Be);var Yi=Object['getOwnPropertyDescriptor'],Wi=(_0x2d98ee,_0x5c72fb,_0x1ae6aa,_0xfdad7c)=>{const _0x51b378=_0x3c7b1f;for(var _0x46c3a9=_0xfdad7c>0x1?void 0x0:_0xfdad7c?Yi(_0x5c72fb,_0x1ae6aa):_0x5c72fb,_0x29ac23=_0x2d98ee[_0x51b378(0x2df)]-0x1,_0x3df1bc;_0x29ac23>=0x0;_0x29ac23--)(_0x3df1bc=_0x2d98ee[_0x29ac23])&&(_0x46c3a9=_0x3df1bc(_0x46c3a9)||_0x46c3a9);return _0x46c3a9;},Ce=(_0x427dc2,_0x35a1d5)=>(_0x321ddb,_0x249c30)=>_0x35a1d5(_0x321ddb,_0x249c30,_0x427dc2);let H=class extends _0x372795{constructor(_0x16dc72,_0x27f9a1,_0x5dd67f){const _0x17d1b=_0x3c7b1f;super(),_(this,'_entities',new Map()),_(this,_0x17d1b(0x1f6),new _0x1ae6c0()),(this[_0x17d1b(0x25b)]=_0x16dc72,this[_0x17d1b(0x2a5)]=_0x27f9a1,this[_0x17d1b(0x173)]=_0x5dd67f,this['_init']());}[_0x3c7b1f(0x2e4)](){const _0x376527=_0x3c7b1f;super[_0x376527(0x2e4)](),this[_0x376527(0x1f6)][_0x376527(0x20e)](),this[_0x376527(0x1f1)][_0x376527(0xde)](_0x37618c=>_0x37618c['dispose']());}['getCollabCursors$'](_0x26803b){const _0x438e6d=_0x3c7b1f;return this['_entities'][_0x438e6d(0x21e)](_0x26803b)?this[_0x438e6d(0x1f1)][_0x438e6d(0xb3)](_0x26803b)[_0x438e6d(0x15b)]:this[_0x438e6d(0x1f6)][_0x438e6d(0x1ab)](_0x1176eb(_0x304f96=>_0x304f96[_0x438e6d(0x136)]===_0x26803b),_0x4568f5(_0x14926f=>_0x14926f[_0x438e6d(0x15b)]));}[_0x3c7b1f(0x28e)](){const _0x11b904=_0x3c7b1f;this[_0x11b904(0x25b)][_0x11b904(0x140)](_0x4c566a[_0x11b904(0x264)])[_0x11b904(0x1ab)](_0x30d8cf(this[_0x11b904(0x141)]))[_0x11b904(0x243)](async _0xeee66c=>{const _0x329f8d=_0x11b904,_0x141b4b=_0xeee66c[_0x329f8d(0x2ec)](),_0x1b6e3c=await this[_0x329f8d(0x192)](_0x141b4b);this[_0x329f8d(0x1f6)][_0x329f8d(0xd1)](_0x1b6e3c),this[_0x329f8d(0x1f1)][_0x329f8d(0x183)](_0x141b4b,_0x1b6e3c);}),this[_0x11b904(0x25b)][_0x11b904(0x140)](_0x4c566a['UNIVER_DOC'])[_0x11b904(0x1ab)](_0x30d8cf(this[_0x11b904(0x141)]))[_0x11b904(0x1ab)](_0x1176eb(_0x2ae03d=>!_0x2ae03d[_0x11b904(0x2ec)]()[_0x11b904(0x22e)]('__')))['subscribe'](async _0x4f6eeb=>{const _0x30af18=_0x11b904,_0x41c43b=_0x4f6eeb['getUnitId'](),_0x35bda7=await this[_0x30af18(0x2b7)](_0x41c43b);this[_0x30af18(0x1f6)]['next'](_0x35bda7),this[_0x30af18(0x1f1)][_0x30af18(0x183)](_0x41c43b,_0x35bda7);}),_0x1f5a58(this[_0x11b904(0x25b)][_0x11b904(0x2dc)](_0x4c566a[_0x11b904(0x21b)]),this[_0x11b904(0x25b)][_0x11b904(0x2dc)](_0x4c566a[_0x11b904(0x264)]))[_0x11b904(0x1ab)](_0x30d8cf(this[_0x11b904(0x141)]))[_0x11b904(0x243)](_0x26bd7e=>{const _0x1e2cfb=_0x11b904,_0x1f64dc=_0x26bd7e['getUnitId'](),_0x8ec8d1=this[_0x1e2cfb(0x1f1)][_0x1e2cfb(0xb3)](_0x1f64dc);_0x8ec8d1&&(_0x8ec8d1[_0x1e2cfb(0x2e4)](),this['_entities'][_0x1e2cfb(0x16e)](_0x1f64dc));});}async[_0x3c7b1f(0x192)](_0x22b287){const _0x4c5e4a=_0x3c7b1f,_0x4fd70d=await this[_0x4c5e4a(0x173)][_0x4c5e4a(0xd3)](_0x22b287),_0x336970=this[_0x4c5e4a(0x2a5)]['createInstance'](Be,_0x22b287,_0x4fd70d);return _0x336970['init'](),_0x336970;}async[_0x3c7b1f(0x2b7)](_0x3a9a1b){const _0x1e7f91=_0x3c7b1f,_0x3f2a17=await this[_0x1e7f91(0x173)][_0x1e7f91(0xd3)](_0x3a9a1b),_0x4e29c4=this[_0x1e7f91(0x2a5)][_0x1e7f91(0x2ed)](xe,_0x3a9a1b,_0x3f2a17);return _0x4e29c4[_0x1e7f91(0x24f)](),_0x4e29c4;}};H=Wi([Ce(0x0,_0x4e733f),Ce(0x1,_0xb035d2(_0x5d1f7b)),Ce(0x2,_0xb035d2(_0x1a5b2a))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x409880,_0x3cc08c){const _0x4f371d=_0x3c7b1f;let {radius:_0xe0595f,width:_0x4ba364,height:_0x4911f8}=_0x3cc08c;_0xe0595f=_0xe0595f!=null?_0xe0595f:0x0,_0x4ba364=_0x4ba364!=null?_0x4ba364:0x1e,_0x4911f8=_0x4911f8!=null?_0x4911f8:0x1e;let _0x19f6cd=0x0,_0x5bf832=0x0,_0x5e8439=0x0;_0x19f6cd=_0x5bf832=_0x5e8439=Math[_0x4f371d(0x29c)](_0xe0595f,_0x4ba364/0x2,_0x4911f8/0x2),_0x409880[_0x4f371d(0x157)](),_0x409880['moveTo'](_0x19f6cd,0x0),_0x409880[_0x4f371d(0x2a1)](_0x4ba364-_0x5bf832,0x0),_0x409880[_0x4f371d(0x25c)](_0x4ba364-_0x5bf832,_0x5bf832,_0x5bf832,Math['PI']*0x3/0x2,0x0,!0x1),_0x409880[_0x4f371d(0x2a1)](_0x4ba364,_0x4911f8-_0x5e8439),_0x409880[_0x4f371d(0x25c)](_0x4ba364-_0x5e8439,_0x4911f8-_0x5e8439,_0x5e8439,0x0,Math['PI']/0x2,!0x1),_0x409880['lineTo'](0x0,_0x4911f8),_0x409880[_0x4f371d(0x2a1)](0x0,_0x19f6cd),_0x409880[_0x4f371d(0x25c)](_0x19f6cd,_0x19f6cd,_0x19f6cd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x409880[_0x4f371d(0x211)](),_0x3cc08c['fill']&&(_0x409880[_0x4f371d(0x1ed)](),_0x409880['fillStyle']=_0x3cc08c[_0x4f371d(0x260)],_0x3cc08c[_0x4f371d(0x2d4)]==='evenodd'?_0x409880[_0x4f371d(0x260)](_0x4f371d(0x1cf)):_0x409880[_0x4f371d(0x260)](),_0x409880[_0x4f371d(0x2ee)]());}class ve extends _0x2d4d93{constructor(_0x294525,_0x4b079d){const _0x3e2818=_0x3c7b1f;super(_0x294525,_0x4b079d),_(this,_0x3e2818(0xb8)),_(this,_0x3e2818(0x23e)),(this['color']=_0x4b079d==null?void 0x0:_0x4b079d['color'],this[_0x3e2818(0x23e)]=_0x4b079d==null?void 0x0:_0x4b079d[_0x3e2818(0x23e)]);}static[_0x3c7b1f(0x1ba)](_0xccebca,_0x27b82e){const _0x52432=_0x3c7b1f,{text:_0x6ed12b,color:_0x4e443a}=_0x27b82e;_0xccebca[_0x52432(0x1ed)](),_0xccebca[_0x52432(0x1e9)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xdb23d7=_0xccebca[_0x52432(0x236)](_0x6ed12b)['width'],_0x20cc31=Math['min'](_0xdb23d7+0x2*Re,at);ji(_0xccebca,{'height':Q,'radius':0x4,'width':_0x20cc31,'fill':_0x4e443a}),_0xccebca[_0x52432(0xd4)]=_0x52432(0xd6);const _0x32bc58=Re,_0x9def1=Q-Vi,_0x5008a1=at-0x2*Re;if(_0xdb23d7>_0x5008a1){let _0x5b76ec='',_0x1d3aaa=0x0;for(const _0x4e19ee of _0x6ed12b){const _0x2bcbdb=_0xccebca[_0x52432(0x236)](_0x4e19ee)['width'];if(_0x1d3aaa+_0x2bcbdb<=_0x5008a1-_0xccebca[_0x52432(0x236)](_0x52432(0x22a))[_0x52432(0x1a1)])_0x5b76ec+=_0x4e19ee,_0x1d3aaa+=_0x2bcbdb;else{_0x5b76ec+=_0x52432(0x22a);break;}}_0xccebca[_0x52432(0x1a9)](_0x5b76ec,_0x32bc58,_0x9def1);}else _0xccebca[_0x52432(0x1a9)](_0x6ed12b,_0x32bc58,_0x9def1);_0xccebca[_0x52432(0x2ee)]();}[_0x3c7b1f(0x1ae)](_0x199a9f){ve['drawWith'](_0x199a9f,this);}}const De='collab-text-anchor-',Xi=_0x3c7b1f(0x262),Gi='collab-rect-range-',z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x3c7b1f(0x296);class ct{constructor(_0x557a14,_0x223c81,_0x3995ba,_0xbfb2c7){const _0x1e01db=_0x3c7b1f;_(this,_0x1e01db(0x275),[]),_(this,'_anchor',null),_(this,_0x1e01db(0x169),null),_(this,_0x1e01db(0xc3),null),_(this,_0x1e01db(0x2ba),null),_(this,_0x1e01db(0x210),null),(this[_0x1e01db(0xc0)]=_0x557a14,this['_scene']=_0x223c81,this[_0x1e01db(0x231)]=_0x3995ba,this['_document']=_0xbfb2c7,this[_0x1e01db(0x1e2)]());}set['_hover'](_0x3e1450){const _0x51a3ac=_0x3c7b1f;_0x3e1450?(this[_0x51a3ac(0xc3)]&&this[_0x51a3ac(0xc3)][_0x51a3ac(0x250)](),this['_textBubble']&&this[_0x51a3ac(0x169)][_0x51a3ac(0xcf)]()):(this[_0x51a3ac(0xc3)]&&this[_0x51a3ac(0xc3)][_0x51a3ac(0xcf)](),this['_textBubble']&&this[_0x51a3ac(0x169)][_0x51a3ac(0x250)]());}[_0x3c7b1f(0x2e4)](){const _0x121fd9=_0x3c7b1f;for(const _0x21046e of this[_0x121fd9(0x275)])_0x21046e[_0x121fd9(0x2e4)]();this[_0x121fd9(0x169)]&&this[_0x121fd9(0x169)]['dispose'](),this[_0x121fd9(0xc3)]&&this[_0x121fd9(0xc3)][_0x121fd9(0x2e4)](),this['_anchor']&&this['_anchor'][_0x121fd9(0x2e4)](),this[_0x121fd9(0x210)]&&this[_0x121fd9(0x210)]();}['_render'](){const _0x3f98b0=_0x3c7b1f;var _0x55bf74;const {_docSkeleton:_0x5d33a2,_document:_0x4c62ad}=this,{color:_0x3f558c,name:_0x4f93e7,ranges:_0xe66bcc}=this[_0x3f98b0(0xc0)],_0x3ac055=_0x4c62ad[_0x3f98b0(0x2a2)](),{docsLeft:_0x48d0ff,docsTop:_0x421d5c}=_0x3ac055,_0x589594=new _0x5db6ed(_0x3ac055,_0x5d33a2);for(const {startOffset:_0x15042e,endOffset:_0x5e9034,rangeType:_0x1eaa04,segmentId:_0x3dfe89,segmentPage:_0x50a204,collapsed:_0x349817,isActive:_0x518322}of _0xe66bcc){const _0x276f6a=_0x5d33a2['findNodePositionByCharIndex'](_0x15042e,!0x0,_0x3dfe89,_0x50a204);let _0x3e47d4=_0x5d33a2[_0x3f98b0(0xac)](_0x5e9034,!0x0,_0x3dfe89,_0x50a204);if(_0x3e47d4==null&&(_0x3e47d4=_0x5d33a2[_0x3f98b0(0xac)](_0x5e9034-0x1,!0x1,_0x3dfe89,_0x50a204)),_0x518322){const {contentBoxPointGroup:_0x1f8143}=_0x589594['getRangePointData'](_0x3e47d4,_0x3e47d4);if(_0x1f8143[_0x3f98b0(0x2df)]===0x0)continue;this['_drawAnchor'](_0x3f558c,_0x1f8143,_0x48d0ff,_0x421d5c,_0x4f93e7),this['_eventUnsubscribe']=this[_0x3f98b0(0xd9)]();}if(_0x276f6a&&_0x3e47d4){if(_0x1eaa04===_0x26dd7c[_0x3f98b0(0x226)]){const _0x3388e5=new _0x3b79e5(_0x3ac055,_0x5d33a2),{pointGroup:_0xcc8e85}=(_0x55bf74=_0x3388e5[_0x3f98b0(0x1fa)](_0x276f6a,_0x3e47d4))!=null?_0x55bf74:{};if(_0xcc8e85==null||_0xcc8e85[_0x3f98b0(0x2df)]===0x0)continue;this[_0x3f98b0(0x1fd)](_0x3f558c,_0xcc8e85,_0x48d0ff,_0x421d5c);}else{if(!_0x349817){const {borderBoxPointGroup:_0xce4508}=_0x589594[_0x3f98b0(0x1fa)](_0x276f6a,_0x3e47d4);if(_0xce4508[_0x3f98b0(0x2df)]===0x0)continue;this[_0x3f98b0(0x1e1)](_0x3f558c,_0xce4508,_0x48d0ff,_0x421d5c);}}}}}[_0x3c7b1f(0xe7)](_0x32467f,_0x29e058,_0x791848,_0x4b2ef5,_0x29fcd1){const _0x554ae8=_0x3c7b1f,_0x98438e=this[_0x554ae8(0x249)](_0x29e058),{left:_0x1d082f,top:_0x482401,height:_0x328656}=_0x98438e,_0x56da46=this[_0x554ae8(0x2a7)](),_0x1eb8b9=zi/_0x56da46,_0x5aa3f3=new _0x5c0619(De+_0x4794df(z),{'left':_0x1d082f+_0x791848-_0x1eb8b9,'top':_0x482401+_0x4b2ef5,'height':_0x328656,'width':Ki,'fill':_0x32467f||_0x5a676f(_0x3ac715[_0x554ae8(0x14a)],0x0),'strokeWidth':_0x1eb8b9,'stroke':Ji,'evented':!0x0});this[_0x554ae8(0x26f)]=_0x5aa3f3,this[_0x554ae8(0x295)]['addObject'](_0x5aa3f3,_0x37fd5f);const _0x2c5d5b=new _0x5c0619(De+_0x4794df(z),{'left':_0x1d082f+_0x791848-_0x1eb8b9,'top':_0x482401+_0x4b2ef5-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x32467f||_0x5a676f(_0x3ac715['black'],0x0),'strokeWidth':0x0,'stroke':_0x32467f||_0x5a676f(_0x3ac715['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x2c5d5b,this[_0x554ae8(0x295)][_0x554ae8(0x25f)](_0x2c5d5b,_0x37fd5f);const _0x291d3e=new ve(De+_0x4794df(z),{'left':_0x1d082f+_0x791848-_0x1eb8b9,'top':_0x482401+_0x4b2ef5-Q,'text':_0x29fcd1,'color':_0x32467f});this['_textBubble']=_0x291d3e,this[_0x554ae8(0x295)][_0x554ae8(0x25f)](_0x291d3e,_0x37fd5f),this['_hover']=!0x1;}[_0x3c7b1f(0xd9)](){const _0xcef7e5=_0x3c7b1f,_0x26e5ae=this[_0xcef7e5(0x26f)]['onPointerEnter$'][_0xcef7e5(0x270)](()=>{const _0xa53011=_0xcef7e5;this[_0xa53011(0xaf)]=!0x0;}),_0x527e64=this['_anchor'][_0xcef7e5(0x214)][_0xcef7e5(0x270)](()=>{const _0x581ac9=_0xcef7e5;this[_0x581ac9(0x2ba)]&&clearTimeout(this[_0x581ac9(0x2ba)]),this['_hideTimer']=setTimeout(()=>{const _0x27ade4=_0x581ac9;this[_0x27ade4(0xaf)]=!0x1;},0x7d0);});return()=>{const _0x35c99f=_0xcef7e5;_0x26e5ae[_0x35c99f(0x17d)](),_0x527e64[_0x35c99f(0x17d)]();};}[_0x3c7b1f(0x1e1)](_0x1a30a0,_0x1b88d6,_0x5481f8,_0x3b4706){const _0x13cb9c=_0x3c7b1f,_0x32f2c6=new _0x39b707(_0x1a30a0)[_0x13cb9c(0x242)](0.2)[_0x13cb9c(0x15a)](),_0x849789=new _0x48575(Xi+_0x4794df(z),{'pointsGroup':_0x1b88d6,'fill':_0x32f2c6||_0x5a676f(_0x3ac715['black'],0.2),'left':_0x5481f8,'top':_0x3b4706,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x13cb9c(0x13c)](_0x849789),this[_0x13cb9c(0x295)]['addObject'](_0x849789,_0x37fd5f);}[_0x3c7b1f(0x1fd)](_0x4d15ec,_0x38cc04,_0x44271f,_0x22964f){const _0x109e7a=_0x3c7b1f,_0x24adc9=new _0x39b707(_0x4d15ec)['setAlpha'](0.2)[_0x109e7a(0x15a)](),_0x505bff=new _0x48575(Gi+_0x4794df(z),{'pointsGroup':_0x38cc04,'fill':_0x24adc9||_0x5a676f(_0x3ac715[_0x109e7a(0x14a)],0.2),'left':_0x44271f,'top':_0x22964f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x109e7a(0x275)][_0x109e7a(0x13c)](_0x505bff),this[_0x109e7a(0x295)]['addObject'](_0x505bff,_0x37fd5f);}['_getAnchorBounding'](_0x35f6a2){const _0x2df2ab=_0x35f6a2[0x0],_0x7d77fa=_0x2df2ab[0x0],_0x4c5923=_0x2df2ab[0x2],{x:_0x18377a,y:_0x4f3875}=_0x7d77fa,{x:_0x39c0da,y:_0x1b8ad3}=_0x4c5923;return{'left':_0x18377a,'top':_0x4f3875,'width':_0x39c0da-_0x18377a,'height':_0x1b8ad3-_0x4f3875};}[_0x3c7b1f(0x2a7)](){const _0x2ff61c=_0x3c7b1f,{scaleX:_0x1164ee,scaleY:_0x4b7b36}=this[_0x2ff61c(0x295)][_0x2ff61c(0xce)]();return Math[_0x2ff61c(0x2b3)](_0x1164ee,_0x4b7b36);}}var Zi=Object[_0x3c7b1f(0x176)],Qi=(_0x9c8772,_0x53e876,_0x28b01b,_0x56e54f)=>{const _0xacc884=_0x3c7b1f;for(var _0x520a1d=_0x56e54f>0x1?void 0x0:_0x56e54f?Zi(_0x53e876,_0x28b01b):_0x53e876,_0x222ca8=_0x9c8772[_0xacc884(0x2df)]-0x1,_0x3cf882;_0x222ca8>=0x0;_0x222ca8--)(_0x3cf882=_0x9c8772[_0x222ca8])&&(_0x520a1d=_0x3cf882(_0x520a1d)||_0x520a1d);return _0x520a1d;},ie=(_0x5d3ed3,_0x127a03)=>(_0xa2e5eb,_0x226916)=>_0x127a03(_0xa2e5eb,_0x226916,_0x5d3ed3);let Fe=class extends _0x372795{constructor(_0x405161,_0x32e5b3,_0x10ae0f,_0x14bb39,_0x3d556){const _0xf47bf3=_0x3c7b1f;super(),_(this,_0xf47bf3(0xb5),[]),_(this,'_cursors',[]),(this[_0xf47bf3(0x1d4)]=_0x405161,this[_0xf47bf3(0x11f)]=_0x32e5b3,this[_0xf47bf3(0x2eb)]=_0x10ae0f,this[_0xf47bf3(0xd0)]=_0x14bb39,this['_themeService']=_0x3d556,this[_0xf47bf3(0x28e)]());}[_0x3c7b1f(0x28e)](){const _0x384ad9=_0x3c7b1f,_0x556d20=this[_0x384ad9(0x1d4)][_0x384ad9(0x1c9)],_0x281197=this[_0x384ad9(0x11f)];this[_0x384ad9(0x1f4)](_0x17be24([this['_collabCursorController'][_0x384ad9(0x1cd)](_0x556d20),this[_0x384ad9(0x2be)][_0x384ad9(0x259)]])[_0x384ad9(0x1ab)](_0xcc8ca1(([_0x36ecaf,_0x2ff7b6])=>({'skeleton':_0x281197[_0x384ad9(0x279)](),'cursors':[..._0x36ecaf[_0x384ad9(0x272)]()][_0x384ad9(0xd8)](_0x45204e=>({..._0x45204e,'color':this[_0x384ad9(0x2be)]['getColorFromTheme'](_0x45204e[_0x384ad9(0xb8)])}))})))[_0x384ad9(0x243)](_0x586139=>{const _0x38e474=_0x384ad9;if(this[_0x38e474(0x29d)](),_0x586139){const {skeleton:_0x24b6c7,cursors:_0x3fdebc}=_0x586139;this['_updateCollabCursors'](_0x24b6c7,_0x3fdebc);}})),this['_initResize'](),this[_0x384ad9(0x2f1)]();}[_0x3c7b1f(0x290)](_0x4328c3,_0x23294b){const _0x3819d7=_0x3c7b1f,{scene:_0x522555,mainComponent:_0x6f8bc8}=this[_0x3819d7(0x1d4)],_0x1f30af=_0x23294b[_0x3819d7(0x2e0)](_0x27b3ed=>new ct(_0x27b3ed,_0x522555,_0x4328c3,_0x6f8bc8));this[_0x3819d7(0xb5)]=_0x1f30af,this[_0x3819d7(0xc2)]=_0x23294b;}['_refreshCollabCursors'](){const _0x25199b=_0x3c7b1f;this[_0x25199b(0x29d)]();const {scene:_0x46458a,mainComponent:_0x36dee4}=this['_context'],_0x5f4449=this['_docSkeletonManagerService'][_0x25199b(0x279)](),_0xe6b689=this[_0x25199b(0xc2)]['map'](_0x13c241=>new ct(_0x13c241,_0x46458a,_0x5f4449,_0x36dee4));this['_cursorShapes']=_0xe6b689;}[_0x3c7b1f(0x29d)](){const _0x4314ce=_0x3c7b1f;this[_0x4314ce(0xb5)][_0x4314ce(0xde)](_0x218ac7=>_0x218ac7[_0x4314ce(0x2e4)]()),this[_0x4314ce(0xb5)]=[];}[_0x3c7b1f(0x2f1)](){const _0x4b31b5=_0x3c7b1f,_0x132beb=[_0x59f0cd['id']];this['disposeWithMe'](this[_0x4b31b5(0xd0)]['onCommandExecuted'](_0x4ecb54=>{const _0x1f7095=_0x4b31b5;_0x132beb[_0x1f7095(0x1d8)](_0x4ecb54['id'])&&_0x4ecb54[_0x1f7095(0x127)][_0x1f7095(0x1c9)]===this[_0x1f7095(0x1d4)][_0x1f7095(0x1c9)]&&this[_0x1f7095(0x108)]();}));}[_0x3c7b1f(0x1ca)](){const _0x4f42d3=_0x3c7b1f;this[_0x4f42d3(0x1f4)](_0x43e5e5(this[_0x4f42d3(0x1d4)]['engine'][_0x4f42d3(0x1c0)])[_0x4f42d3(0x1ab)](_0x3c64d9(_0x476e70=>_0x476e70[_0x4f42d3(0x195)]===_0x1e0460[_0x4f42d3(0x2bc)]),_0x320e9f(0x10))[_0x4f42d3(0x243)](()=>{const _0x25bd8c=_0x4f42d3;this[_0x25bd8c(0x108)]();}));}};Fe=Qi([ie(0x1,_0xb035d2(_0x1c008a)),ie(0x2,_0xb035d2(H)),ie(0x3,_0x356dc6),ie(0x4,_0xb035d2(_0x5f55bf))],Fe);const qi=0x1,en=1.5;class tn extends _0x2d4d93{constructor(_0xb67f8e,_0x4d9049){const _0x18ddc9=_0x3c7b1f;super(_0xb67f8e,_0x4d9049),_(this,'_color'),_(this,_0x18ddc9(0xf5),!0x1),_(this,_0x18ddc9(0xeb)),_(this,'_name',''),_(this,'_labelPosition','top'),_(this,_0x18ddc9(0x2c9)),(_0x4d9049&&this[_0x18ddc9(0x1ad)](_0x4d9049),this[_0x18ddc9(0x148)][_0x18ddc9(0x270)](()=>this[_0x18ddc9(0x1ad)]({'hovered':!0x0})),this[_0x18ddc9(0x214)][_0x18ddc9(0x270)](()=>this[_0x18ddc9(0x1ad)]({'hovered':!0x1})));}[_0x3c7b1f(0x1ad)](_0x4c27af){const _0x39fda2=_0x3c7b1f;var _0x387abb,_0x41877e,_0x5d8d50,_0x3642d8,_0x2b2f7c,_0x1bdbc4;this[_0x39fda2(0x201)]=(_0x387abb=_0x4c27af['color'])!=null?_0x387abb:this[_0x39fda2(0x201)],this[_0x39fda2(0xf5)]=(_0x41877e=_0x4c27af[_0x39fda2(0x123)])!=null?_0x41877e:this[_0x39fda2(0xf5)],this[_0x39fda2(0xeb)]=(_0x5d8d50=_0x4c27af[_0x39fda2(0x193)])!=null?_0x5d8d50:this[_0x39fda2(0xeb)],this[_0x39fda2(0xa5)]=(_0x3642d8=_0x4c27af['name'])!=null?_0x3642d8:this[_0x39fda2(0xa5)],this[_0x39fda2(0x109)]=(_0x2b2f7c=_0x4c27af['labelPosition'])!=null?_0x2b2f7c:this['_labelPosition'],this[_0x39fda2(0x2c9)]=(_0x1bdbc4=_0x4c27af['backgroundColor'])!=null?_0x1bdbc4:this[_0x39fda2(0x2c9)],this['transformByState']({'width':_0x4c27af[_0x39fda2(0x1a1)],'height':_0x4c27af[_0x39fda2(0x117)]});}[_0x3c7b1f(0x205)](_0x16b559){const _0x2fbdc1=_0x3c7b1f,{row:_0x31f9f6,column:_0x2828d2}=_0x16b559;if(_0x31f9f6>=this[_0x2fbdc1(0xeb)][_0x2fbdc1(0x1eb)]&&_0x31f9f6<=this[_0x2fbdc1(0xeb)][_0x2fbdc1(0x204)]&&_0x2828d2>=this[_0x2fbdc1(0xeb)][_0x2fbdc1(0x15d)]&&_0x2828d2<=this[_0x2fbdc1(0xeb)][_0x2fbdc1(0x27c)]){this[_0x2fbdc1(0x1ad)]({'hovered':!0x0});return;}this[_0x2fbdc1(0x1ad)]({'hovered':!0x1});}[_0x3c7b1f(0x245)](_0x581a70){return!0x1;}[_0x3c7b1f(0x1ae)](_0x5c228b){const _0x4c2b60=_0x3c7b1f;_0x5c0619[_0x4c2b60(0x1ba)](_0x5c228b,{'width':this[_0x4c2b60(0x1a1)],'height':this['height'],'strokeWidth':en,'stroke':this[_0x4c2b60(0x201)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x4c2b60(0xf5)]&&(_0x5c228b[_0x4c2b60(0x1ed)](),_0x5c228b[_0x4c2b60(0x216)](0x1,0x0,0x0,0x1,this[_0x4c2b60(0x1a1)],this[_0x4c2b60(0x109)]===_0x4c2b60(0x1b7)?0x0:-Q),ve[_0x4c2b60(0x1ba)](_0x5c228b,{'text':this['_name'],'color':this['_color']}),_0x5c228b[_0x4c2b60(0x2ee)]());}}var sn=Object[_0x3c7b1f(0x176)],nn=(_0x210ce7,_0x15b78e,_0x5274e0,_0x18a338)=>{for(var _0x1ff2f2=_0x18a338>0x1?void 0x0:_0x18a338?sn(_0x15b78e,_0x5274e0):_0x15b78e,_0x40bdff=_0x210ce7['length']-0x1,_0x535194;_0x40bdff>=0x0;_0x40bdff--)(_0x535194=_0x210ce7[_0x40bdff])&&(_0x1ff2f2=_0x535194(_0x1ff2f2)||_0x1ff2f2);return _0x1ff2f2;},be=(_0x14a81e,_0x48fb1a)=>(_0x322368,_0x276243)=>_0x48fb1a(_0x322368,_0x276243,_0x14a81e);const rn=0x1389;let ke=class extends _0x372795{constructor(_0x3d23c9,_0x2ea00c,_0x1ed28d,_0x458171){const _0x5156dd=_0x3c7b1f;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this['_context']=_0x3d23c9,this[_0x5156dd(0xd7)]=_0x2ea00c,this[_0x5156dd(0x2eb)]=_0x1ed28d,this[_0x5156dd(0x2be)]=_0x458171,this[_0x5156dd(0x28e)]());}[_0x3c7b1f(0x28e)](){const _0x46d00=_0x3c7b1f;this[_0x46d00(0xd7)]['currentSkeleton$'][_0x46d00(0x1ab)](_0x15b103(this['dispose$']),_0x21ceef(_0x192102=>{const _0x101cbd=_0x46d00;if(_0x192102){const _0x4fa65f=_0x192102['sheetId'];return _0x17be24(this['_collabCursorController'][_0x101cbd(0x1cd)](this[_0x101cbd(0x1d4)][_0x101cbd(0x1c9)]),this[_0x101cbd(0x2be)][_0x101cbd(0x259)])[_0x101cbd(0x1ab)](_0xcc8ca1(([_0x41e1fd,_0x5e32d7])=>{const _0x526190=new Map();return _0x41e1fd['forEach']((_0x493a60,_0x1dbbe5)=>{const _0x35e55c=_0x61c7;if(_0x493a60[_0x35e55c(0x1c1)]===_0x4fa65f){const _0x220415={..._0x493a60};_0x220415[_0x35e55c(0xb8)]=this['_themeService'][_0x35e55c(0xca)](_0x493a60[_0x35e55c(0xb8)]),_0x526190[_0x35e55c(0x183)](_0x1dbbe5,_0x220415);}}),{'skeleton':_0x192102,'cursors':_0x526190};}));}return _0x831dda({'skeleton':null,'cursors':new Map()});}))[_0x46d00(0x243)](({skeleton:_0x38f1c8,cursors:_0x24cd79})=>{const _0x535d70=_0x46d00;this[_0x535d70(0x29d)](),_0x38f1c8&&this['_updateCollabCursors'](_0x38f1c8,_0x24cd79);}),this[_0x46d00(0xd7)][_0x46d00(0x2f4)]['subscribe'](_0x17d2f6=>{const _0x4f3845=_0x46d00;if(_0x17d2f6==null)return;const {skeleton:_0x329530}=_0x17d2f6,{scene:_0x594e75}=this['_context'];_0x594e75[_0x4f3845(0x24c)][_0x4f3845(0x270)](_0x4c19ca(_0x1c516f=>{const _0x2c96bc=_0x4f3845;var _0x34178a,_0x7bb4b6;const {offsetX:_0x5a75a6,offsetY:_0x5db1ea}=_0x1c516f,{x:_0x394a25,y:_0x142c40}=_0x594e75[_0x2c96bc(0x16d)](_0x55f17b[_0x2c96bc(0x12c)]([_0x5a75a6,_0x5db1ea])),{scaleX:_0x148bea,scaleY:_0x1854c7}=_0x594e75[_0x2c96bc(0xce)](),_0x1af974=_0x594e75[_0x2c96bc(0x273)](_0xf4b208[_0x2c96bc(0x283)]),_0x293c07=_0x594e75[_0x2c96bc(0x139)](_0x55f17b['FromArray']([_0x394a25,_0x142c40]),_0x1af974),_0x829606=_0x329530[_0x2c96bc(0x2c5)](_0x5a75a6,_0x5db1ea,_0x148bea,_0x1854c7,_0x293c07);((_0x34178a=this['_lastPointer'])==null?void 0x0:_0x34178a[_0x2c96bc(0x2c4)])===_0x829606[_0x2c96bc(0x2c4)]&&((_0x7bb4b6=this[_0x2c96bc(0x133)])==null?void 0x0:_0x7bb4b6[_0x2c96bc(0xa7)])===_0x829606['row']||this[_0x2c96bc(0xc2)][_0x2c96bc(0xde)](_0x47107f=>{_0x47107f['onMouseMove'](_0x829606);});},0x64));});}[_0x3c7b1f(0x290)](_0x2a2f24,_0x2a4f84){const _0x206d1f=_0x3c7b1f;var _0x156eb9;const _0x5989a1=(_0x156eb9=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x156eb9[_0x206d1f(0x291)];if(!_0x5989a1)return;const _0x8c93bd=this[_0x206d1f(0x124)]();if(!_0x8c93bd)return;this[_0x206d1f(0xc2)][_0x206d1f(0xde)](_0x502a07=>{_0x502a07['makeDirty']();});const {scene:_0x4ffa8c}=_0x8c93bd,_0x4ca9f3=on(Array[_0x206d1f(0x1a3)](_0x2a4f84[_0x206d1f(0x272)]()))[_0x206d1f(0x2e0)](_0x344f63=>{const {color:_0x421a21,range:_0x457ec5,name:_0xe91f72,selection:_0x367e00,sheetID:_0x3fb626}=_0x344f63,{startColumn:_0x31b7c9,startRow:_0x2acffa,endColumn:_0x3c0a7c,endRow:_0x38a920}=_0x457ec5,_0x101145=_0x3472a8(_0x2acffa,_0x31b7c9,_0x4ffa8c,_0x5989a1),_0x48ef05=_0x3472a8(_0x38a920,_0x3c0a7c,_0x4ffa8c,_0x5989a1),{columnHeaderHeightAndMarginTop:_0x1d2628}=_0x5989a1,{startX:_0x490033,startY:_0x2ec6e5}=_0x101145,{endX:_0x4aadf7,endY:_0x26d0e5}=_0x48ef05,_0x1a5153=_0x4aadf7-_0x490033,_0x5169ab=_0x26d0e5-_0x2ec6e5,_0x39b3ee={'labelPosition':_0x2ec6e5-_0x1d2628>=Q?'top':'bottom','sheetID':_0x3fb626,'range':_0x457ec5,'color':_0x421a21,'name':_0xe91f72,'selection':_0x367e00,'left':_0x490033,'top':_0x2ec6e5,'width':_0x1a5153,'height':_0x5169ab,'evented':!0x1,'zIndex':rn};return new tn(_0xe91f72,_0x39b3ee);});_0x4ffa8c[_0x206d1f(0x254)](_0x4ca9f3,qi),this[_0x206d1f(0xc2)]=new Set(_0x4ca9f3);}[_0x3c7b1f(0x29d)](){const _0x244fdd=_0x3c7b1f;var _0x58026a;(_0x58026a=this[_0x244fdd(0xc2)])==null||_0x58026a[_0x244fdd(0xde)](_0x346ab6=>_0x346ab6[_0x244fdd(0x2e4)]());}[_0x3c7b1f(0x124)](){const _0x136058=_0x3c7b1f;return _0x4b0c39(this[_0x136058(0x1d4)][_0x136058(0x266)],this[_0x136058(0x1d4)]);}};ke=nn([be(0x1,_0xb035d2(_0x4e0beb)),be(0x2,_0xb035d2(H)),be(0x3,_0xb035d2(_0x5f55bf))],ke);function on(_0x2d07b4){const _0x3d46f2=_0x3c7b1f,_0x533264=new Map();return _0x2d07b4[_0x3d46f2(0xde)](_0x3c06a7=>{const _0x25c94e=_0x3d46f2;if(_0x533264[_0x25c94e(0x21e)](_0x3c06a7['selection'])){const _0x506219=_0x533264[_0x25c94e(0xb3)](_0x3c06a7[_0x25c94e(0x1d7)]);_0x506219[_0x25c94e(0x237)]+=',\x20'+_0x3c06a7[_0x25c94e(0x237)];}else _0x533264[_0x25c94e(0x183)](_0x3c06a7[_0x25c94e(0x1d7)],_0x3c06a7);}),Array[_0x3d46f2(0x1a3)](_0x533264[_0x3d46f2(0x272)]());}var an=Object[_0x3c7b1f(0x176)],cn=(_0x349426,_0x530863,_0x348ecd,_0x449dba)=>{for(var _0x1cfe90=_0x449dba>0x1?void 0x0:_0x449dba?an(_0x530863,_0x348ecd):_0x530863,_0x164ed4=_0x349426['length']-0x1,_0x31cdd0;_0x164ed4>=0x0;_0x164ed4--)(_0x31cdd0=_0x349426[_0x164ed4])&&(_0x1cfe90=_0x31cdd0(_0x1cfe90)||_0x1cfe90);return _0x1cfe90;},F=(_0x4fbf4a,_0x354ee5)=>(_0x12da9d,_0x16825b)=>_0x354ee5(_0x12da9d,_0x16825b,_0x4fbf4a);let _e=class extends _0x3c56e8{constructor(_0x4398e5,_0x8690da,_0x5022c7,_0x426d84,_0x592dfd,_0x5847b2){const _0x49ba69=_0x3c7b1f;super(),this[_0x49ba69(0x16b)]=_0x4398e5,this[_0x49ba69(0x147)]=_0x8690da,this['_collaborationUIEventService']=_0x5022c7,this[_0x49ba69(0x1b5)]=_0x426d84,this['_notificationService']=_0x592dfd,this['_localeService']=_0x5847b2,this[_0x49ba69(0x2c3)](),this[_0x49ba69(0x164)]();}[_0x3c7b1f(0x2c3)](){const _0x2bfe76=_0x3c7b1f;this[_0x2bfe76(0x1f4)](this[_0x2bfe76(0x16b)][_0x2bfe76(0xbe)](()=>{const _0x20783f=_0x2bfe76;if(this['_localCacheService'][_0x20783f(0xfc)][_0x20783f(0x1c6)])return this[_0x20783f(0x2a8)]['t'](_0x20783f(0xe9));}));}[_0x3c7b1f(0x164)](){const _0x562242=_0x3c7b1f;this['disposeWithMe'](this[_0x562242(0x225)]['event$'][_0x562242(0x243)](_0x4b7e48=>{const _0x44d13b=_0x562242;_0x4b7e48['id']===_0x21dafd[_0x44d13b(0x2e1)]&&this[_0x44d13b(0x1b5)][_0x44d13b(0xcf)]({'type':_0x27aa9f[_0x44d13b(0x17e)],'content':this[_0x44d13b(0x2a8)]['t'](_0x44d13b(0x230))}),_0x4b7e48['id']===_0x21dafd[_0x44d13b(0xdd)]&&this[_0x44d13b(0x1b5)][_0x44d13b(0xcf)]({'type':_0x27aa9f[_0x44d13b(0x17e)],'content':this['_localeService']['t'](_0x44d13b(0x2b1))}),_0x4b7e48['id']===_0x21dafd[_0x44d13b(0x16a)]&&this[_0x44d13b(0x2c1)][_0x44d13b(0xcf)]({'title':this['_localeService']['t'](_0x44d13b(0x253)),'content':this[_0x44d13b(0x2a8)]['t'](_0x44d13b(0x294)),'type':_0x44d13b(0x23a),'duration':0x0}),_0x4b7e48['id']===_0x21dafd[_0x44d13b(0x28d)]&&this[_0x44d13b(0x1b5)][_0x44d13b(0xcf)]({'type':_0x27aa9f[_0x44d13b(0x12f)],'content':this[_0x44d13b(0x2a8)]['t'](_0x44d13b(0x2b1))+'('+_0x4b7e48[_0x44d13b(0x198)]+')'}),_0x4b7e48['id']===_0x21dafd[_0x44d13b(0xc7)]&&this[_0x44d13b(0x1b5)][_0x44d13b(0xcf)]({'type':_0x27aa9f[_0x44d13b(0x17e)],'content':this[_0x44d13b(0x2a8)]['t'](_0x4b7e48[_0x44d13b(0x198)]||'')}),_0x4b7e48['id']===_0x21dafd[_0x44d13b(0x256)]&&this[_0x44d13b(0x1b5)][_0x44d13b(0xcf)]({'type':_0x27aa9f[_0x44d13b(0x17e)],'content':this['_localeService']['t'](_0x44d13b(0xe8))}),_0x4b7e48['id']===_0x21dafd['SOCKET_FAILED']&&this[_0x44d13b(0x1b5)]['show']({'type':_0x27aa9f[_0x44d13b(0x12f)],'content':this['_localeService']['t']('session.connection-failed')}),_0x4b7e48['id']===_0x21dafd[_0x44d13b(0x2af)]&&this[_0x44d13b(0x1b5)][_0x44d13b(0xcf)]({'type':_0x27aa9f[_0x44d13b(0x12f)],'content':this[_0x44d13b(0x2a8)]['t']('session.collaboration-timeout')});}));}};_e=cn([F(0x0,_0xc47512),F(0x1,_0x309c86),F(0x2,_0xb035d2(_0x16d26b)),F(0x3,_0x181eb1),F(0x4,_0x692ba5),F(0x5,_0xb035d2(_0x1540cb))],_e);var _n=Object['getOwnPropertyDescriptor'],ln=(_0x54e088,_0x11f3d5,_0x4723a0,_0x1a4e76)=>{const _0x402e68=_0x3c7b1f;for(var _0x2c2819=_0x1a4e76>0x1?void 0x0:_0x1a4e76?_n(_0x11f3d5,_0x4723a0):_0x11f3d5,_0x142627=_0x54e088[_0x402e68(0x2df)]-0x1,_0x1a8211;_0x142627>=0x0;_0x142627--)(_0x1a8211=_0x54e088[_0x142627])&&(_0x2c2819=_0x1a8211(_0x2c2819)||_0x2c2819);return _0x2c2819;},ne=(_0x2dcb1b,_0x1aa366)=>(_0x18f084,_0x474c97)=>_0x1aa366(_0x18f084,_0x474c97,_0x2dcb1b);let le=class extends _0x3c56e8{constructor(_0x5a6431,_0xeaf502,_0xc59e0d,_0x563047){const _0x2ce544=_0x3c7b1f;super(),_(this,_0x2ce544(0xc4)),(this[_0x2ce544(0x2a5)]=_0x5a6431,this['_httpService']=_0xeaf502,this[_0x2ce544(0x2c8)]=_0xc59e0d,this['_collaborationSessionService']=_0x563047,this[_0x2ce544(0x28e)]());}['_init'](){const _0x57742c=_0x3c7b1f;this[_0x57742c(0x238)](),this[_0x57742c(0x170)](),this['_monkeyPatchLogService'](),this[_0x57742c(0x12a)]();}[_0x3c7b1f(0x12a)](){const _0x571c88=_0x3c7b1f;this[_0x571c88(0x1f4)](this['_collaborationSessionService'][_0x571c88(0x149)][_0x571c88(0x243)](_0x3b3f09=>{const _0x21d9ad=_0x571c88;this[_0x21d9ad(0xc4)]=_0x3b3f09==null?void 0x0:_0x3b3f09[_0x21d9ad(0x128)];}));}['_initWindowErrorListener'](){const _0xfd8413=_0x3c7b1f,_0x42a77d=_0x11d437=>{const _0x1c2210=_0x61c7;var _0x582292;this[_0x1c2210(0x22f)]('error',_0x1c2210(0x28b)+_0x11d437[_0x1c2210(0x146)]+'\x20at\x20'+_0x11d437[_0x1c2210(0x2cf)]+':'+_0x11d437['lineno']+':'+_0x11d437[_0x1c2210(0x1bd)]+'\x0a'+(((_0x582292=_0x11d437[_0x1c2210(0x23a)])==null?void 0x0:_0x582292[_0x1c2210(0x27f)])||''));};window[_0xfd8413(0x17b)](_0xfd8413(0x23a),_0x42a77d),this[_0xfd8413(0x1f4)](()=>{const _0x3e0fd4=_0xfd8413;window['removeEventListener'](_0x3e0fd4(0x23a),_0x42a77d);});}['_initUnhandledRejectionListener'](){const _0x331706=_0x3c7b1f,_0xa21f3=_0x306877=>{const _0x467b84=_0x61c7;this[_0x467b84(0x22f)](_0x467b84(0x23a),'[Unhandled\x20Rejection]:\x20'+_0x306877[_0x467b84(0x23c)]);};window[_0x331706(0x17b)](_0x331706(0xbf),_0xa21f3),this[_0x331706(0x1f4)](()=>{const _0x24b180=_0x331706;window[_0x24b180(0x258)](_0x24b180(0xbf),_0xa21f3);});}[_0x3c7b1f(0x2c0)](){const _0x4ed221=_0x3c7b1f,_0x7f741d=this['_logService']['error'][_0x4ed221(0x151)](this['_logService']);this[_0x4ed221(0x2c8)][_0x4ed221(0x23a)]=(..._0x48bfd8)=>{const _0x125318=_0x4ed221,_0x37428f=_0x48bfd8[_0x125318(0x2e0)](_0x23f504=>_0x23f504 instanceof Error?_0x23f504['message']+'\x0a'+_0x23f504[_0x125318(0x27f)]:String(_0x23f504))['join']('\x20');this[_0x125318(0x22f)](_0x125318(0x23a),_0x125318(0x2f0)+_0x37428f),_0x7f741d(..._0x48bfd8);},this['disposeWithMe'](()=>{const _0x8e054=_0x4ed221;this[_0x8e054(0x2c8)][_0x8e054(0x23a)]=_0x7f741d;});}['_uploadLog'](_0x4c6681,_0x26ee71){const _0x40c4b4=_0x3c7b1f;try{const _0x23e4b5={'userId':this[_0x40c4b4(0xc4)],'logLabel':_0x4c6681,'content':_0x26ee71};this[_0x40c4b4(0x19d)]['post']('/universer-api/frontend/logs',{'body':_0x23e4b5})[_0x40c4b4(0x2ef)](()=>{});}catch{}}};le=ln([ne(0x0,_0xb035d2(_0x5d1f7b)),ne(0x1,_0xb035d2(_0x54558b)),ne(0x2,_0x2d6c13),ne(0x3,_0xb035d2(_0x1a5b2a))],le);const hn=_0x3c7b1f(0x11b),_t={};var un=Object['getOwnPropertyDescriptor'],dn=(_0x6331f,_0x4a6388,_0x7a6de6,_0x4bba17)=>{const _0x15981c=_0x3c7b1f;for(var _0x184a4d=_0x4bba17>0x1?void 0x0:_0x4bba17?un(_0x4a6388,_0x7a6de6):_0x4a6388,_0x161991=_0x6331f[_0x15981c(0x2df)]-0x1,_0x2c593f;_0x161991>=0x0;_0x161991--)(_0x2c593f=_0x6331f[_0x161991])&&(_0x184a4d=_0x2c593f(_0x184a4d)||_0x184a4d);return _0x184a4d;},lt=(_0x59380c,_0x1ac483)=>(_0x2b47bb,_0x45c35e)=>_0x1ac483(_0x2b47bb,_0x45c35e,_0x59380c);let he=class{constructor(_0x2668c5,_0x2eea86){const _0x545dfe=_0x3c7b1f;this[_0x545dfe(0x188)]=_0x2668c5,this[_0x545dfe(0xb2)]=_0x2eea86;}['transformIMECache'](_0x3c3064){const _0x183aab=_0x3c7b1f;this[_0x183aab(0xe2)](_0x3c3064),this[_0x183aab(0x177)](_0x3c3064);}['transformRemoteChangeset'](_0x170a1f){const _0x283c36=_0x3c7b1f,{unitID:_0x1993c5}=_0x170a1f,_0x1990f7=this[_0x283c36(0xb2)][_0x283c36(0x2d1)](_0x1993c5)[_0x283c36(0x129)](_0x1ae0a5),{redoCache:_0x360ac3}=_0x1990f7[_0x283c36(0xe1)]();if(_0x360ac3[_0x283c36(0x2df)]===0x0)return _0x170a1f;let _0x29a5e7=_0xa4698[_0x283c36(0x2d2)](_0x170a1f['mutations'][0x0]);for(let _0x1c9091=0x0;_0x1c9091<_0x360ac3[_0x283c36(0x2df)];_0x1c9091++){const _0x2632a5={'id':_0x283c36(0x261),'params':{..._0x360ac3[_0x1c9091]}},_0x695a86=this['_transformService'][_0x283c36(0x122)](_0x29a5e7,_0x2632a5,!0x1);if(_0x47489f(_0x695a86))throw _0x695a86[_0x283c36(0x23a)];_0x29a5e7=_0x695a86[_0x283c36(0x14b)];}return{..._0xa4698[_0x283c36(0x2d2)](_0x170a1f),'mutations':[_0x29a5e7]};}['_transformUndoRedoStack'](_0x2a8739){const _0x39884f=_0x3c7b1f,{unitID:_0xd5c417}=_0x2a8739,_0x2cacff=this[_0x39884f(0xb2)][_0x39884f(0x2d1)](_0xd5c417)[_0x39884f(0x129)](_0x1ae0a5),{undoCache:_0xb36bf0,redoCache:_0x2f5845}=_0x2cacff[_0x39884f(0xe1)]();if(_0xb36bf0[_0x39884f(0x2df)]===0x0||_0x2f5845[_0x39884f(0x2df)]===0x0)return;const _0x44d540=[],_0x4d9f48=[];let _0xbf3018=_0xa4698[_0x39884f(0x2d2)](_0x2a8739[_0x39884f(0xb9)][0x0]),_0x4f692e=_0xa4698[_0x39884f(0x2d2)](_0x2a8739[_0x39884f(0xb9)][0x0]);for(let _0x492db5=_0xb36bf0['length']-0x1;_0x492db5>=0x0;_0x492db5--){const _0x1e3ae0={'id':_0x39884f(0x261),'params':{..._0xb36bf0[_0x492db5]}},_0x3fa0f1={'id':_0x39884f(0x261),'params':{..._0x2f5845[_0x492db5]}},_0x3439ef=this[_0x39884f(0x188)][_0x39884f(0x122)](_0xbf3018,_0x1e3ae0,!0x1),_0x33d5f7=this[_0x39884f(0x188)][_0x39884f(0x122)](_0x4f692e,_0x3fa0f1,!0x1);if(_0x47489f(_0x3439ef))throw _0x3439ef[_0x39884f(0x23a)];if(_0x47489f(_0x33d5f7))throw _0x33d5f7[_0x39884f(0x23a)];_0x44d540[_0x39884f(0x199)](_0x3439ef[_0x39884f(0x143)][_0x39884f(0x127)]),_0x4d9f48['unshift'](_0x33d5f7[_0x39884f(0x143)]['params']),_0xbf3018=_0x3439ef[_0x39884f(0x14b)],_0x4f692e=_0x33d5f7[_0x39884f(0x14b)];}_0x2cacff[_0x39884f(0x23b)]({'undoCache':_0x44d540,'redoCache':_0x4d9f48});}[_0x3c7b1f(0x177)](_0x585343){const _0x1493a5=_0x3c7b1f,{unitID:_0x3d2ee9}=_0x585343,_0x490041=this[_0x1493a5(0xb2)]['getRenderById'](_0x3d2ee9)[_0x1493a5(0x129)](_0x1ae0a5),_0x370f2d=_0x490041[_0x1493a5(0x161)]();if(_0x370f2d==null)return;const _0x5d420b=[{'id':_0x1493a5(0x261),'params':{'unitId':_0x585343[_0x1493a5(0x136)],'actions':null,'textRanges':[_0x370f2d]}}],_0x47dfaf=this[_0x1493a5(0x188)][_0x1493a5(0x229)](_0x585343,_0x5d420b);if(!_0x595d67(_0x47dfaf))throw _0x47dfaf[_0x1493a5(0x23a)];const _0xa2ff=_0x47dfaf[_0x1493a5(0x143)][0x0][_0x1493a5(0x127)]['textRanges'];Array[_0x1493a5(0x132)](_0xa2ff)&&_0xa2ff[_0x1493a5(0x2df)]&&_0x490041['setActiveRange'](_0xa2ff[0x0]);}};he=dn([lt(0x0,_0x5f0329),lt(0x1,_0x351fd6)],he);var Sn=Object[_0x3c7b1f(0x176)],In=(_0x4c5018,_0x442611,_0x27e8e0,_0x270e12)=>{for(var _0x314540=_0x270e12>0x1?void 0x0:_0x270e12?Sn(_0x442611,_0x27e8e0):_0x442611,_0x485957=_0x4c5018['length']-0x1,_0x394c8c;_0x485957>=0x0;_0x485957--)(_0x394c8c=_0x4c5018[_0x485957])&&(_0x314540=_0x394c8c(_0x314540)||_0x314540);return _0x314540;},Le=(_0x72525,_0x45add8)=>(_0x303be6,_0x19f023)=>_0x45add8(_0x303be6,_0x19f023,_0x72525);let ue=class{constructor(_0x39a264,_0x2b8f1c,_0x1f2717){const _0xe8a154=_0x3c7b1f;this['_injector']=_0x39a264,this[_0xe8a154(0x188)]=_0x2b8f1c,this['_docStateChangeManagerService']=_0x1f2717;}[_0x3c7b1f(0x18c)](_0x46e65b){const _0x4af499=_0x3c7b1f;this[_0x4af499(0x1de)](_0x46e65b);}[_0x3c7b1f(0x234)](_0x5af7da){const _0x585f0b=_0x3c7b1f,{unitID:_0x42b91c}=_0x5af7da,{collaboration:_0x524748}=this[_0x585f0b(0x200)][_0x585f0b(0x1f9)](_0x42b91c);if(_0x524748['length']===0x0)return _0x5af7da;let _0x2466f8=_0xa4698[_0x585f0b(0x2d2)](_0x5af7da['mutations'][0x0]);for(let _0x38e6b9=0x0;_0x38e6b9<_0x524748[_0x585f0b(0x2df)];_0x38e6b9++){const _0xf6ed41={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x524748[_0x38e6b9]['unitId'],..._0x524748[_0x38e6b9][_0x585f0b(0x18b)]}},_0x58c26a=this[_0x585f0b(0x188)][_0x585f0b(0x122)](_0x2466f8,_0xf6ed41,!0x1);if(_0x47489f(_0x58c26a))throw _0x58c26a['error'];_0x2466f8=_0x58c26a['m1Prime'];}return{..._0xa4698[_0x585f0b(0x2d2)](_0x5af7da),'mutations':[_0x2466f8]};}[_0x3c7b1f(0x1de)](_0x379c59){const _0x15c1cc=_0x3c7b1f,{unitID:_0x171225}=_0x379c59,{history:_0x1fec7a,collaboration:_0x246abd}=this[_0x15c1cc(0x200)][_0x15c1cc(0x1f9)](_0x171225);if(_0x1fec7a['length']===0x0&&_0x246abd['length']===0x0)return;const _0x4e0a6a=[],_0x1195a4=[];let _0x5ccd43=_0xa4698[_0x15c1cc(0x2d2)](_0x379c59[_0x15c1cc(0xb9)][0x0]),_0xb2ae6a=_0xa4698[_0x15c1cc(0x2d2)](_0x379c59[_0x15c1cc(0xb9)][0x0]);for(let _0x5640e6=_0x1fec7a[_0x15c1cc(0x2df)]-0x1;_0x5640e6>=0x0;_0x5640e6--){const _0x33a8d8={'id':_0x15c1cc(0x261),'params':{'unitId':_0x1fec7a[_0x5640e6][_0x15c1cc(0x1c9)],..._0x1fec7a[_0x5640e6][_0x15c1cc(0xe6)]}},_0x1abdb4={'id':_0x15c1cc(0x261),'params':{'unitId':_0x1fec7a[_0x5640e6][_0x15c1cc(0x1c9)],..._0x1fec7a[_0x5640e6][_0x15c1cc(0x18b)]}},_0x596975=this[_0x15c1cc(0x188)][_0x15c1cc(0x122)](_0x5ccd43,_0x33a8d8,!0x1),_0x2de490=this[_0x15c1cc(0x188)][_0x15c1cc(0x122)](_0xb2ae6a,_0x1abdb4,!0x1);if(_0x47489f(_0x596975))throw _0x596975[_0x15c1cc(0x23a)];if(_0x47489f(_0x2de490))throw _0x2de490[_0x15c1cc(0x23a)];_0x4e0a6a['unshift']({..._0x1fec7a[_0x5640e6],'undoState':_0x596975['m2Prime'][_0x15c1cc(0x127)],'redoState':_0x2de490['m2Prime'][_0x15c1cc(0x127)]}),_0x5ccd43=_0x596975['m1Prime'],_0xb2ae6a=_0x2de490['m1Prime'];}_0x5ccd43=_0xa4698[_0x15c1cc(0x2d2)](_0x379c59['mutations'][0x0]),_0xb2ae6a=_0xa4698['deepClone'](_0x379c59['mutations'][0x0]);for(let _0x3641fa=_0x246abd[_0x15c1cc(0x2df)]-0x1;_0x3641fa>=0x0;_0x3641fa--){const _0x44c58a={'id':_0x15c1cc(0x261),'params':{'unitId':_0x246abd[_0x3641fa][_0x15c1cc(0x1c9)],..._0x246abd[_0x3641fa][_0x15c1cc(0xe6)]}},_0xebcc5b={'id':_0x15c1cc(0x261),'params':{'unitId':_0x246abd[_0x3641fa]['unitId'],..._0x246abd[_0x3641fa][_0x15c1cc(0x18b)]}},_0x341d56=this[_0x15c1cc(0x188)][_0x15c1cc(0x122)](_0x5ccd43,_0x44c58a,!0x1),_0x619d3b=this['_transformService']['transformMutation'](_0xb2ae6a,_0xebcc5b,!0x1);if(_0x47489f(_0x341d56))throw _0x341d56[_0x15c1cc(0x23a)];if(_0x47489f(_0x619d3b))throw _0x619d3b['error'];_0x1195a4[_0x15c1cc(0x199)]({..._0x246abd[_0x3641fa],'undoState':_0x341d56[_0x15c1cc(0x143)][_0x15c1cc(0x127)],'redoState':_0x619d3b[_0x15c1cc(0x143)]['params']}),_0x5ccd43=_0x341d56[_0x15c1cc(0x14b)],_0xb2ae6a=_0x619d3b[_0x15c1cc(0x14b)];}this[_0x15c1cc(0x200)][_0x15c1cc(0x1ac)](_0x171225,{'history':_0x4e0a6a,'collaboration':_0x1195a4});}};ue=In([Le(0x0,_0xb035d2(_0x5d1f7b)),Le(0x1,_0x5f0329),Le(0x2,_0xb035d2(_0x28e8a9))],ue);var mn=Object[_0x3c7b1f(0x176)],fn=(_0x5a61b3,_0x38b1ba,_0x2fb997,_0x4b4f7)=>{const _0x4b926b=_0x3c7b1f;for(var _0x587e1a=_0x4b4f7>0x1?void 0x0:_0x4b4f7?mn(_0x38b1ba,_0x2fb997):_0x38b1ba,_0x514698=_0x5a61b3[_0x4b926b(0x2df)]-0x1,_0xd16b11;_0x514698>=0x0;_0x514698--)(_0xd16b11=_0x5a61b3[_0x514698])&&(_0x587e1a=_0xd16b11(_0x587e1a)||_0x587e1a);return _0x587e1a;},ht=(_0x54648a,_0x9ed348)=>(_0x13dd15,_0x305973)=>_0x9ed348(_0x13dd15,_0x305973,_0x54648a);let de=class{constructor(_0x2b6709,_0x5e43d8){const _0x4e9bd0=_0x3c7b1f;this[_0x4e9bd0(0x2a5)]=_0x2b6709,this[_0x4e9bd0(0x188)]=_0x5e43d8;}['transformSelections'](_0xa65dc1){const _0x42cdf1=_0x3c7b1f;var _0x582bd2;const _0x4a1d3f=this['_injector'][_0x42cdf1(0xb3)](_0x2375b3),_0x45c497=(_0x582bd2=_0x4a1d3f[_0x42cdf1(0xee)]())!=null?_0x582bd2:[];if(_0x45c497[_0x42cdf1(0x2df)]===0x0)return;const _0x5c2951=_0xa65dc1[_0x42cdf1(0x136)],_0x5c86a1=[{'id':_0x42cdf1(0x261),'params':{'unitId':_0x5c2951,'actions':null,'textRanges':_0x45c497}}],_0x4c026f=this[_0x42cdf1(0x188)][_0x42cdf1(0x229)](_0xa65dc1,_0x5c86a1);if(!_0x595d67(_0x4c026f))throw _0x4c026f[_0x42cdf1(0x23a)];const _0x539d99=_0x4c026f[_0x42cdf1(0x143)][0x0][_0x42cdf1(0x127)]['textRanges'];Array[_0x42cdf1(0x132)](_0x539d99)&&_0x539d99['length']&&_0x4a1d3f['replaceDocRanges'](_0x539d99,{'unitId':_0x5c2951,'subUnitId':_0x5c2951},!0x1);}};de=fn([ht(0x0,_0xb035d2(_0x5d1f7b)),ht(0x1,_0x5f0329)],de);var gn=Object[_0x3c7b1f(0x176)],En=(_0x566b68,_0x3eae91,_0x654a41,_0x169b92)=>{for(var _0x1fcde5=_0x169b92>0x1?void 0x0:_0x169b92?gn(_0x3eae91,_0x654a41):_0x3eae91,_0x8a8d80=_0x566b68['length']-0x1,_0x3d2915;_0x8a8d80>=0x0;_0x8a8d80--)(_0x3d2915=_0x566b68[_0x8a8d80])&&(_0x1fcde5=_0x3d2915(_0x1fcde5)||_0x1fcde5);return _0x1fcde5;},U=(_0x93658f,_0x587382)=>(_0x3cbc56,_0xef2d7a)=>_0x587382(_0x3cbc56,_0xef2d7a,_0x93658f);let Se=class extends _0x3c56e8{constructor(_0x43de53,_0x45f0bb,_0x3c1df8,_0x4b791a,_0x4be357,_0x338ae8,_0x348629,_0x17bd63){const _0x3e30f9=_0x3c7b1f;super(),_(this,_0x3e30f9(0x207),new _0x496d01(_0x141886[_0x3e30f9(0x14e)])),(this[_0x3e30f9(0x200)]=_0x43de53,this['_collaborationController']=_0x45f0bb,this[_0x3e30f9(0x172)]=_0x3c1df8,this['_docTransformStateCacheService']=_0x4b791a,this['_docTransformSelectionsService']=_0x4be357,this[_0x3e30f9(0x28c)]=_0x338ae8,this[_0x3e30f9(0x1b5)]=_0x348629,this[_0x3e30f9(0x2a8)]=_0x17bd63,this[_0x3e30f9(0x16c)]());}[_0x3c7b1f(0x16c)](){const _0x1fd84c=_0x3c7b1f;this[_0x1fd84c(0x1f4)](this[_0x1fd84c(0xdf)]['entityInit$'][_0x1fd84c(0x243)](_0x2726d0=>{const _0x51ffdd=_0x1fd84c,_0x2ba25d=this[_0x51ffdd(0x200)][_0x51ffdd(0x17c)][_0x51ffdd(0x243)](_0x21e2e4=>{const _0x396e92=_0x51ffdd;if(_0x21e2e4==null)return;const {unitId:_0xf7d438,redoState:_0x24b375,commandId:_0x3d8e54}=_0x21e2e4;if(_0xf7d438!==_0x2726d0['unitID'])return;const _0x20b66d={'id':_0x3d8e54,'type':_0x4145f9['MUTATION'],'params':{'unitId':_0xf7d438,'actions':_0x24b375['actions'],'textRanges':null}};_0x2726d0[_0x396e92(0x162)](_0x20b66d);});if(_0x2726d0['disposeWithMe'](_0x2ba25d),_0x2726d0 instanceof _0x6a3959){const _0x526567={'onTransformIME':_0x30c988=>this['_docTransformIMECacheService'][_0x51ffdd(0x20a)](_0x30c988),'onTransformState':_0x2747ff=>this[_0x51ffdd(0x130)][_0x51ffdd(0x18c)](_0x2747ff),'onTransformSelections':_0x4749b4=>this[_0x51ffdd(0x18a)][_0x51ffdd(0x18f)](_0x4749b4),'onSyncEditingCollabCursor':_0x2fdd78=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x2fdd78),'onTransformRemoteChangesetByIMECache':_0x3ff02a=>this[_0x51ffdd(0x172)]['transformRemoteChangeset'](_0x3ff02a),'onTransformRemoteChangesetByStateCache':_0x46cc7e=>this[_0x51ffdd(0x130)][_0x51ffdd(0x234)](_0x46cc7e)};_0x2726d0['addHandlerCallback'](_0x526567);}}));}};Se=En([U(0x0,_0xb035d2(_0x28e8a9)),U(0x1,_0xb035d2(_0x426370)),U(0x2,_0xb035d2(he)),U(0x3,_0xb035d2(ue)),U(0x4,_0xb035d2(de)),U(0x5,_0xb035d2(ze)),U(0x6,_0x181eb1),U(0x7,_0xb035d2(_0x1540cb))],Se);var Z=(_0x1602ff=>(_0x1602ff[_0x1602ff['UNDEFINED']=0x0]='UNDEFINED',_0x1602ff[_0x1602ff['OK']=0x1]='OK',_0x1602ff[_0x1602ff[_0x3c7b1f(0x269)]=0x2]=_0x3c7b1f(0x269),_0x1602ff[_0x1602ff[_0x3c7b1f(0x16a)]=0x3]=_0x3c7b1f(0x16a),_0x1602ff[_0x1602ff[_0x3c7b1f(0x212)]=0x4]='NOT_FOUND',_0x1602ff[_0x1602ff[_0x3c7b1f(0x252)]=0x5]=_0x3c7b1f(0x252),_0x1602ff[_0x1602ff[_0x3c7b1f(0x29a)]=0x6]=_0x3c7b1f(0x29a),_0x1602ff[_0x1602ff[_0x3c7b1f(0x23f)]=0x7]=_0x3c7b1f(0x23f),_0x1602ff[_0x1602ff['TOO_MANY_REQUESTS']=0x8]=_0x3c7b1f(0x1e6),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1c5)]=0x9]='COMPLETION_FINISHED',_0x1602ff[_0x1602ff[_0x3c7b1f(0x232)]=0xa]=_0x3c7b1f(0x232),_0x1602ff[_0x1602ff[_0x3c7b1f(0x213)]=0xb]=_0x3c7b1f(0x213),_0x1602ff[_0x1602ff[_0x3c7b1f(0x14c)]=0xc]=_0x3c7b1f(0x14c),_0x1602ff[_0x1602ff[_0x3c7b1f(0xa3)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x1602ff[_0x1602ff[_0x3c7b1f(0x158)]=0xe]=_0x3c7b1f(0x158),_0x1602ff[_0x1602ff['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x3c7b1f(0xef),_0x1602ff[_0x1602ff[_0x3c7b1f(0x12d)]=0x10]=_0x3c7b1f(0x12d),_0x1602ff[_0x1602ff[_0x3c7b1f(0xf3)]=0x64]=_0x3c7b1f(0xf3),_0x1602ff[_0x1602ff['ERROR_AGAIN']=0x65]=_0x3c7b1f(0xc5),_0x1602ff[_0x1602ff[_0x3c7b1f(0x274)]=0xc9]=_0x3c7b1f(0x274),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1b2)]=0xca]=_0x3c7b1f(0x1b2),_0x1602ff[_0x1602ff[_0x3c7b1f(0x21f)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1602ff[_0x1602ff[_0x3c7b1f(0x181)]=0x1771]=_0x3c7b1f(0x181),_0x1602ff[_0x1602ff['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1602ff[_0x1602ff[_0x3c7b1f(0x267)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1602ff[_0x1602ff['APPLY_REJECT']=0x1b59]=_0x3c7b1f(0xea),_0x1602ff[_0x1602ff[_0x3c7b1f(0xda)]=0x1b5a]=_0x3c7b1f(0xda),_0x1602ff[_0x1602ff['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x3c7b1f(0x22c),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1a4)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x1602ff[_0x1602ff[_0x3c7b1f(0x2da)]=0x1b5d]=_0x3c7b1f(0x2da),_0x1602ff[_0x1602ff[_0x3c7b1f(0x171)]=0x1f41]=_0x3c7b1f(0x171),_0x1602ff[_0x1602ff['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3c7b1f(0x16f),_0x1602ff[_0x1602ff[_0x3c7b1f(0x13e)]=0x232a]=_0x3c7b1f(0x13e),_0x1602ff[_0x1602ff['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x3c7b1f(0x22d),_0x1602ff[_0x1602ff[_0x3c7b1f(0x10f)]=0x232c]=_0x3c7b1f(0x10f),_0x1602ff[_0x1602ff[_0x3c7b1f(0x271)]=0x232d]=_0x3c7b1f(0x271),_0x1602ff[_0x1602ff[_0x3c7b1f(0x10c)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1602ff[_0x1602ff['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3c7b1f(0x233),_0x1602ff[_0x1602ff[_0x3c7b1f(0xaa)]=0x2713]=_0x3c7b1f(0xaa),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1ff)]=0x2714]=_0x3c7b1f(0x1ff),_0x1602ff[_0x1602ff[_0x3c7b1f(0x208)]=0x271a]=_0x3c7b1f(0x208),_0x1602ff[_0x1602ff['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3c7b1f(0x1aa),_0x1602ff[_0x1602ff['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3c7b1f(0xa4),_0x1602ff[_0x1602ff[_0x3c7b1f(0x20c)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1602ff[_0x1602ff['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1602ff[_0x1602ff[_0x3c7b1f(0x185)]=0x271f]=_0x3c7b1f(0x185),_0x1602ff[_0x1602ff[_0x3c7b1f(0x2b8)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x1602ff[_0x1602ff[_0x3c7b1f(0x138)]=0x2af9]=_0x3c7b1f(0x138),_0x1602ff[_0x1602ff[_0x3c7b1f(0x235)]=0x2ee1]=_0x3c7b1f(0x235),_0x1602ff[_0x1602ff[_0x3c7b1f(0x19c)]=0x2ee2]='INVALID_INVITE_CODE',_0x1602ff[_0x1602ff['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3c7b1f(0x2dd),_0x1602ff[_0x1602ff[_0x3c7b1f(0x276)]=0x2ee4]=_0x3c7b1f(0x276),_0x1602ff[_0x1602ff['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x1602ff[_0x1602ff[_0x3c7b1f(0x118)]=0x32c9]=_0x3c7b1f(0x118),_0x1602ff[_0x1602ff['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3c7b1f(0xbc),_0x1602ff[_0x1602ff[_0x3c7b1f(0x217)]=0x32cb]=_0x3c7b1f(0x217),_0x1602ff[_0x1602ff['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x1602ff[_0x1602ff[_0x3c7b1f(0xfe)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x1602ff[_0x1602ff[_0x3c7b1f(0x2c6)]=0x36b3]=_0x3c7b1f(0x2c6),_0x1602ff[_0x1602ff[_0x3c7b1f(0x29f)]=0x36b4]=_0x3c7b1f(0x29f),_0x1602ff[_0x1602ff['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x3c7b1f(0x168),_0x1602ff[_0x1602ff[_0x3c7b1f(0x2ae)]=0x36b6]=_0x3c7b1f(0x2ae),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1b3)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x1602ff[_0x1602ff['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x3c7b1f(0x2e5),_0x1602ff[_0x1602ff['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x3c7b1f(0x1bc),_0x1602ff[_0x1602ff[_0x3c7b1f(0x154)]=0x3716]=_0x3c7b1f(0x154),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1a2)]=0x3717]=_0x3c7b1f(0x1a2),_0x1602ff[_0x1602ff[_0x3c7b1f(0x135)]=0x37dd]=_0x3c7b1f(0x135),_0x1602ff[_0x1602ff['REDEMPTION_INVALID_CODE']=0x3a99]=_0x3c7b1f(0xab),_0x1602ff[_0x1602ff[_0x3c7b1f(0x26e)]=0x3a9a]=_0x3c7b1f(0x26e),_0x1602ff[_0x1602ff[_0x3c7b1f(0x1c8)]=0x3a9b]=_0x3c7b1f(0x1c8),_0x1602ff[_0x1602ff[_0x3c7b1f(0x105)]=0x3a9c]=_0x3c7b1f(0x105),_0x1602ff[_0x1602ff[_0x3c7b1f(0x2a9)]=0x3a9d]=_0x3c7b1f(0x2a9),_0x1602ff[_0x1602ff[_0x3c7b1f(0x2b9)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1602ff[_0x1602ff[_0x3c7b1f(0x12e)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1602ff[_0x1602ff[_0x3c7b1f(0x1f2)]=0x3e81]=_0x3c7b1f(0x1f2),_0x1602ff[_0x1602ff[_0x3c7b1f(0x191)]=-0x1]=_0x3c7b1f(0x191),_0x1602ff))(Z||{});function vn(_0x12819b){const _0x2bd617=_0x3c7b1f;var _0x1b6273,_0x50f79e;const _0x3dc1e7=(_0x1b6273=_0x12819b[_0x2bd617(0x1bb)])==null?void 0x0:_0x1b6273[_0x2bd617(0x150)],_0x161f96=((_0x50f79e=_0x12819b['stageInfo'])==null?void 0x0:_0x50f79e[_0x2bd617(0x1a8)])||0x0;return _0x3dc1e7===_0x5f3cf0['START_CALCULATION']&&_0x161f96>0x0;}function pn(_0x4a2531){return _0x4a2531['functionsExecutedState']===_0x8a035['SUCCESS'];}var On=Object['getOwnPropertyDescriptor'],Tn=(_0x15c437,_0x31a7a6,_0x54b794,_0x5966e4)=>{const _0x20fa1c=_0x3c7b1f;for(var _0x190a98=_0x5966e4>0x1?void 0x0:_0x5966e4?On(_0x31a7a6,_0x54b794):_0x31a7a6,_0xb3492d=_0x15c437[_0x20fa1c(0x2df)]-0x1,_0x1c52b3;_0xb3492d>=0x0;_0xb3492d--)(_0x1c52b3=_0x15c437[_0xb3492d])&&(_0x190a98=_0x1c52b3(_0x190a98)||_0x190a98);return _0x190a98;},P=(_0x380a3e,_0x416a60)=>(_0x72b97b,_0x5d09ac)=>_0x416a60(_0x72b97b,_0x5d09ac,_0x380a3e);const Cn=_0x3c7b1f(0x268),Rn=_0x3c7b1f(0x1dc),Dn='/universer-api/license/formula/limit/done';let Ie=class extends _0x3c56e8{constructor(_0x423c40,_0x50b41e,_0x2f1e18,_0x41e0dc,_0x5425d2,_0x3ab4ba,_0x195392){const _0x8b816a=_0x3c7b1f;super(),_(this,_0x8b816a(0x2cc),null),_(this,_0x8b816a(0x2bf),0x0),_(this,_0x8b816a(0xfd),0x0),_(this,'_taskIds',[]),_(this,_0x8b816a(0x241),0x0),(this[_0x8b816a(0x1b5)]=_0x423c40,this[_0x8b816a(0xd0)]=_0x50b41e,this['_configService']=_0x2f1e18,this[_0x8b816a(0x19d)]=_0x41e0dc,this['_univerInstanceService']=_0x5425d2,this[_0x8b816a(0x2c8)]=_0x3ab4ba,this[_0x8b816a(0x2a8)]=_0x195392,this['_initCommandInterceptor']());}['_initCommandInterceptor'](){const _0x4d98d5=_0x3c7b1f;this[_0x4d98d5(0x1f4)](this['_commandService'][_0x4d98d5(0x2f3)]((_0x360d9e,_0x4bf74e)=>{const _0x25f43e=_0x4d98d5;var _0x7e4c0f;if(_0x360d9e['id']!==_0x2c055e['id'])return;const _0x7481ae=_0x360d9e[_0x25f43e(0x127)];if(!this[_0x25f43e(0xb4)]((_0x7e4c0f=_0x7481ae[_0x25f43e(0x2a6)])!=null?_0x7e4c0f:[]))return;if(!this[_0x25f43e(0x27b)]())throw this[_0x25f43e(0x156)](_0x360d9e,_0x4bf74e),this['_showGuardMessage'](),new _0x1e5c67();})),this[_0x4d98d5(0x1f4)](this[_0x4d98d5(0xd0)][_0x4d98d5(0x112)]((_0x3c047d,_0x3d3f2f)=>{const _0x6ab84a=_0x4d98d5;if(_0x3c047d['id']!==_0x4dc3b7['id'])return;const _0x15ab1d=_0x3c047d[_0x6ab84a(0x127)];if(vn(_0x15ab1d)){const _0xd0e10c=_0x4794df();this[_0x6ab84a(0x10d)][_0x6ab84a(0x13c)](_0xd0e10c),this[_0x6ab84a(0x104)](_0xd0e10c);}else{if(pn(_0x15ab1d)&&this[_0x6ab84a(0x10d)][_0x6ab84a(0x2df)]>0x0){const _0x482f4c=this[_0x6ab84a(0x10d)][_0x6ab84a(0x134)]();this[_0x6ab84a(0x24d)](_0x482f4c);}}}));}[_0x3c7b1f(0x2e4)](){const _0x55bf80=_0x3c7b1f;super[_0x55bf80(0x2e4)](),this[_0x55bf80(0x1e3)](),this[_0x55bf80(0x10d)]=[],this[_0x55bf80(0xfd)]=0x0,this[_0x55bf80(0x2bf)]=0x0,this[_0x55bf80(0x241)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x3c8f11,_0x21f5c8){const _0x49b89f=_0x3c7b1f;for(let _0x590d70=0x0;_0x590d70<0x1e;_0x590d70++)try{if(await this[_0x49b89f(0x223)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x3c8f11,_0x21f5c8),this[_0x49b89f(0x1b5)][_0x49b89f(0xcf)]({'content':this[_0x49b89f(0x2a8)]['t']('formula.calculation.started'),'type':_0x27aa9f[_0x49b89f(0x284)]});return;}await new Promise(_0x4b358b=>{const _0x1c4cc8=_0x49b89f;this[_0x1c4cc8(0x2cc)]=window[_0x1c4cc8(0x26c)](_0x4b358b,0x3e8);});}catch(_0x2246ed){this[_0x49b89f(0x2c8)][_0x49b89f(0x23a)](_0x2246ed);}this['_messageService'][_0x49b89f(0xcf)]({'content':this[_0x49b89f(0x2a8)]['t'](_0x49b89f(0x25d)),'type':_0x27aa9f[_0x49b89f(0x12f)]});}[_0x3c7b1f(0x125)](_0x52c814,_0x3146dd){const _0x5396de=_0x3c7b1f;try{this['_commandService'][_0x5396de(0x21d)](_0x52c814['id'],_0x52c814[_0x5396de(0x127)],_0x3146dd);}catch(_0x163d87){this[_0x5396de(0x2c8)][_0x5396de(0x23a)](_0x163d87);}}[_0x3c7b1f(0x221)](_0x13263f,_0x229f68){const _0x2b5979=_0x3c7b1f;_0x229f68<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x229f68,this['_maxFormulaLimit']=Number['parseInt'](_0x13263f[_0x2b5979(0x159)]),this[_0x2b5979(0xfd)]=Number[_0x2b5979(0x1d2)](_0x13263f[_0x2b5979(0x107)]));}async['_startCalculationLimit'](_0x43df49){const _0x5eb517=_0x3c7b1f;var _0x225d44,_0x57a3b8;const _0x4ff8e0=Date[_0x5eb517(0x219)]();try{const _0x22e5a8=((_0x225d44=this[_0x5eb517(0x1e5)]['getConfig'](_0x44040f))==null?void 0x0:_0x225d44[_0x5eb517(0x244)])||Rn,_0x3ba9ae=(await this[_0x5eb517(0x19d)][_0x5eb517(0x137)](_0x22e5a8,{'body':JSON[_0x5eb517(0x222)]({'taskId':_0x43df49})}))[_0x5eb517(0xdc)];if(((_0x57a3b8=_0x3ba9ae[_0x5eb517(0x23a)])==null?void 0x0:_0x57a3b8[_0x5eb517(0xbb)])!==Z['OK'])return;this[_0x5eb517(0x221)](_0x3ba9ae['limitInfo'],_0x4ff8e0);}catch(_0x22559b){this[_0x5eb517(0x2c8)][_0x5eb517(0x23a)](_0x22559b);}}async[_0x3c7b1f(0x223)](_0x2c0013){const _0x52866f=_0x3c7b1f;var _0x2aeb9c,_0x300fe5;const _0x2a485d=Date['now']();try{const _0x2e60ce=((_0x2aeb9c=this[_0x52866f(0x1e5)][_0x52866f(0x1b9)](_0x44040f))==null?void 0x0:_0x2aeb9c[_0x52866f(0xf7)])||Cn,_0x48c30d=_0x2c0013?_0x2e60ce+'?taskId='+encodeURIComponent(_0x2c0013):_0x2e60ce,_0x4b7814=(await this['_httpService']['get'](_0x48c30d))[_0x52866f(0xdc)];if(((_0x300fe5=_0x4b7814[_0x52866f(0x23a)])==null?void 0x0:_0x300fe5['code'])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x4b7814['limitInfo'],_0x2a485d);}catch(_0x8e3bc4){this[_0x52866f(0x2c8)][_0x52866f(0x23a)](_0x8e3bc4);}}async[_0x3c7b1f(0x24d)](_0x27419e){const _0x1d0806=_0x3c7b1f;var _0x20d72c,_0x148d4a;const _0x12abfc=Date['now']();try{const _0x226eae=((_0x20d72c=this['_configService'][_0x1d0806(0x1b9)](_0x44040f))==null?void 0x0:_0x20d72c['releaseFormulaLimitUrl'])||Dn,_0x90e4e9=(await this[_0x1d0806(0x19d)]['post'](_0x226eae,{'body':JSON[_0x1d0806(0x222)]({'taskId':_0x27419e})}))[_0x1d0806(0xdc)];if(((_0x148d4a=_0x90e4e9[_0x1d0806(0x23a)])==null?void 0x0:_0x148d4a[_0x1d0806(0xbb)])!==Z['OK'])return;this[_0x1d0806(0x221)](_0x90e4e9[_0x1d0806(0x160)],_0x12abfc);}catch(_0x434b18){this[_0x1d0806(0x2c8)]['error'](_0x434b18);}}[_0x3c7b1f(0x27b)](){const _0x633175=_0x3c7b1f;return this[_0x633175(0x2bf)]===0x0?!0x0:this[_0x633175(0x2bf)]-this[_0x633175(0xfd)]>0x0;}[_0x3c7b1f(0x1e3)](){const _0x357cf9=_0x3c7b1f;this[_0x357cf9(0x2cc)]&&(clearTimeout(this[_0x357cf9(0x2cc)]),this[_0x357cf9(0x2cc)]=null);}[_0x3c7b1f(0x116)](){const _0x312180=_0x3c7b1f;this[_0x312180(0x1b5)][_0x312180(0xcf)]({'content':this[_0x312180(0x2a8)]['t'](_0x312180(0x1b0)),'type':_0x27aa9f[_0x312180(0x209)]});}[_0x3c7b1f(0xb4)](_0x56b64e){const _0x1f1585=_0x3c7b1f;for(const _0x1c2e20 of _0x56b64e){const {unitId:_0x30929e,sheetId:_0x4c3a02,range:_0xfea032}=_0x1c2e20,_0x546fee=this[_0x1f1585(0x25b)]['getUnit'](_0x30929e);if(!_0x546fee)continue;const _0x2258e6=_0x546fee['getSheetBySheetId'](_0x4c3a02);if(!_0x2258e6)continue;const _0x684369=_0x2258e6[_0x1f1585(0x23d)]();for(let _0x3c32b0=_0xfea032[_0x1f1585(0x1eb)];_0x3c32b0<=_0xfea032[_0x1f1585(0x204)];_0x3c32b0++)for(let _0x396345=_0xfea032['startColumn'];_0x396345<=_0xfea032[_0x1f1585(0x27c)];_0x396345++){const _0x18c66b=_0x684369[_0x1f1585(0x224)](_0x3c32b0,_0x396345);if(_0x18c66b&&(_0x1e4430(_0x18c66b['f'])||_0x38426f(_0x18c66b['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0xb035d2(_0x181eb1)),P(0x1,_0x356dc6),P(0x2,_0x436ec0),P(0x3,_0xb035d2(_0x54558b)),P(0x4,_0x4e733f),P(0x5,_0x2d6c13),P(0x6,_0xb035d2(_0x1540cb))],Ie);var Nn=Object['getOwnPropertyDescriptor'],bn=(_0x4c15ee,_0xb6193a,_0x218a5f,_0x432240)=>{const _0x4a5d66=_0x3c7b1f;for(var _0x2ef645=_0x432240>0x1?void 0x0:_0x432240?Nn(_0xb6193a,_0x218a5f):_0xb6193a,_0x22d1d1=_0x4c15ee[_0x4a5d66(0x2df)]-0x1,_0x4a7f63;_0x22d1d1>=0x0;_0x22d1d1--)(_0x4a7f63=_0x4c15ee[_0x22d1d1])&&(_0x2ef645=_0x4a7f63(_0x2ef645)||_0x2ef645);return _0x2ef645;},Ue=(_0x4be38f,_0x48d506)=>(_0x5b93db,_0x52f053)=>_0x48d506(_0x5b93db,_0x52f053,_0x4be38f);let He=class extends _0x3c56e8{constructor(_0x4b96de,_0x243f67,_0x1bc523){const _0x4f4f0b=_0x3c7b1f;super(),_(this,_0x4f4f0b(0x2d7),new Map()),_(this,_0x4f4f0b(0x202),new Map()),_(this,_0x4f4f0b(0x297),!0x1),(this[_0x4f4f0b(0x1e5)]=_0x4b96de,this['_localStorageService']=_0x243f67,this['_revisionService']=_0x1bc523);}['disableLocalCache'](){const _0x8efd83=_0x3c7b1f;this[_0x8efd83(0x297)]=!0x0;}[_0x3c7b1f(0x1bf)](){const _0x157151=_0x3c7b1f;this[_0x157151(0x297)]=!0x1;}get[_0x3c7b1f(0xfc)](){const _0x53b045=_0x3c7b1f;return this[_0x53b045(0x202)];}[_0x3c7b1f(0x2e4)](){const _0x2b5962=_0x3c7b1f;this[_0x2b5962(0x175)]()[_0x2b5962(0x2d6)](()=>super['dispose']());}async[_0x3c7b1f(0x2b5)](_0x50268e){const _0x2fc09f=_0x3c7b1f;return this[_0x2fc09f(0x297)]?null:this['_localStorageService'][_0x2fc09f(0x13f)](_0x302c22(_0x50268e));}async[_0x3c7b1f(0x155)](_0x166f31,_0x4d66a){const _0x3095c8=_0x3c7b1f;return!!this[_0x3095c8(0x1cb)][_0x3095c8(0x1c2)](_0x166f31,_0x4d66a);}['updateOfflineData'](_0x4e597b,_0x21433d,_0x120ddf,_0x29616b){const _0x3cd495=_0x3c7b1f,_0x2211ba=this[_0x3cd495(0x248)][_0x3cd495(0x1d6)](_0x4e597b);this[_0x3cd495(0x2d7)][_0x3cd495(0x183)](_0x4e597b,{'unitID':_0x4e597b,'type':_0x21433d,'awaitingChangeset':_0x120ddf,'mutations':_0x29616b,'rev':_0x2211ba}),this[_0x3cd495(0x202)][_0x3cd495(0x21e)](_0x4e597b)||this[_0x3cd495(0xf2)](_0x4e597b);}[_0x3c7b1f(0xf2)](_0x5395b5){const _0x1c28b2=_0x3c7b1f,_0x4f256a=this[_0x1c28b2(0x10e)]();_0x4f256a===0x0?this['_saveCache'](_0x5395b5):this['_saveTaskMap'][_0x1c28b2(0x183)](_0x5395b5,setTimeout(()=>this[_0x1c28b2(0x1db)](_0x5395b5),_0x4f256a));}[_0x3c7b1f(0x10e)](){const _0x414065=_0x3c7b1f;var _0x174505;return(_0x174505=this[_0x414065(0x1e5)][_0x414065(0x1b9)](_0x354af4))!=null?_0x174505:_0x3611ae;}[_0x3c7b1f(0x1db)](_0x3b1b00){const _0x1cd36f=_0x3c7b1f,_0x18d050=this[_0x1cd36f(0x202)][_0x1cd36f(0xb3)](_0x3b1b00);return _0x18d050!==void 0x0&&window[_0x1cd36f(0x165)](_0x18d050),this['_localStorageService'][_0x1cd36f(0x1c2)](_0x302c22(_0x3b1b00),this[_0x1cd36f(0x2d7)]['get'](_0x3b1b00))['then'](()=>this['_saveTaskMap'][_0x1cd36f(0x16e)](_0x3b1b00));}async[_0x3c7b1f(0x175)](){const _0x4840a6=_0x3c7b1f,_0xcee5da=[];this[_0x4840a6(0x202)][_0x4840a6(0xde)]((_0x2bbc92,_0x14658d)=>{const _0x34076c=_0x4840a6;window[_0x34076c(0x165)](_0x2bbc92),_0xcee5da[_0x34076c(0x13c)](this[_0x34076c(0x1db)](_0x14658d)[_0x34076c(0x2d6)](()=>{const _0x3a1c22=_0x34076c;this[_0x3a1c22(0x202)][_0x3a1c22(0x16e)](_0x14658d);}));}),await Promise[_0x4840a6(0x29b)](_0xcee5da);}};He=bn([Ue(0x0,_0x436ec0),Ue(0x1,_0x4007a3),Ue(0x2,_0xb035d2(_0xfa0090))],He);class Ln extends _0x372795{constructor(){const _0x2ce18a=_0x3c7b1f;super(),_(this,_0x2ce18a(0x186)),this[_0x2ce18a(0x186)]=_0x2b596f(window,_0x2ce18a(0x1b8))[_0x2ce18a(0x1ab)](_0x30d8cf(this[_0x2ce18a(0x141)]),_0x3e0bbe(0x1),_0x45c2f1(void 0x0));}[_0x3c7b1f(0x2ca)](_0x108677,_0x5b45bc,_0x3bde53=!0x1){const _0x13abde=_0x3c7b1f,_0x43d571=new URL(window[_0x13abde(0xb0)]['href']);_0x43d571[_0x13abde(0xd2)]['set'](_0x108677,_0x5b45bc),_0x3bde53?window[_0x13abde(0x102)]['replaceState']('','',_0x43d571[_0x13abde(0xc1)]()):window['history'][_0x13abde(0x1e4)]('','',_0x43d571[_0x13abde(0xc1)]());}[_0x3c7b1f(0x131)](_0x5aacac,_0x1306d5=!0x1){const _0x23c5fb=_0x3c7b1f,_0xc58630=new URL(window[_0x23c5fb(0xb0)]['href']);_0xc58630['searchParams'][_0x23c5fb(0x16e)](_0x5aacac),_0x1306d5?window[_0x23c5fb(0x102)][_0x23c5fb(0x115)]('','',_0xc58630[_0x23c5fb(0xc1)]()):window['history'][_0x23c5fb(0x1e4)]('','',_0xc58630[_0x23c5fb(0xc1)]());}[_0x3c7b1f(0x2e9)](_0x17ce70){const _0x2c2995=_0x3c7b1f;var _0x19a89b;return(_0x19a89b=new URL(window['location'][_0x2c2995(0xcc)])['searchParams']['get'](_0x17ce70))!=null?_0x19a89b:void 0x0;}}var Un=Object[_0x3c7b1f(0x265)],Mn=Object[_0x3c7b1f(0x176)],An=(_0x44dffc,_0x4662db,_0x3025cb)=>_0x4662db in _0x44dffc?Un(_0x44dffc,_0x4662db,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3025cb}):_0x44dffc[_0x4662db]=_0x3025cb,Pn=(_0x5e1686,_0x4dd99e,_0x1fd9a2,_0xb467d0)=>{const _0x307f75=_0x3c7b1f;for(var _0x38ef6b=_0xb467d0>0x1?void 0x0:_0xb467d0?Mn(_0x4dd99e,_0x1fd9a2):_0x4dd99e,_0x436fb7=_0x5e1686[_0x307f75(0x2df)]-0x1,_0xc666d7;_0x436fb7>=0x0;_0x436fb7--)(_0xc666d7=_0x5e1686[_0x436fb7])&&(_0x38ef6b=_0xc666d7(_0x38ef6b)||_0x38ef6b);return _0x38ef6b;},Me=(_0x1dc233,_0x3bd23d)=>(_0x2aacd7,_0x4cedca)=>_0x3bd23d(_0x2aacd7,_0x4cedca,_0x1dc233),wn=(_0x27e5ed,_0x1de797,_0x2137d0)=>An(_0x27e5ed,_0x1de797+'',_0x2137d0);const yn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ye=class extends _0x9085a2{constructor(_0x3cdd51=_t,_0x5cfb8d,_0xd03569,_0x1d653c){const _0x156b16=_0x3c7b1f;super(),this[_0x156b16(0x19e)]=_0x3cdd51,this['_renderManagerService']=_0x5cfb8d,this[_0x156b16(0x2a5)]=_0xd03569,this[_0x156b16(0x1e5)]=_0x1d653c;const {..._0x594028}=_0x572501({},_t,this['_config']);this[_0x156b16(0x1e5)][_0x156b16(0x29e)](hn,_0x594028);}[_0x3c7b1f(0x228)](){const _0x512d22=_0x3c7b1f;this['_registerDependencies'](),this[_0x512d22(0x1d3)]();}[_0x3c7b1f(0x2c7)](){const _0x39ed07=_0x3c7b1f;this[_0x39ed07(0xf9)]();}[_0x3c7b1f(0xd5)](){const _0x53e65b=_0x3c7b1f;var _0x3d5c92;const _0x25ebc3=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x5a9ce3,{'useClass':_0x5b9eef}],[_0x309c86,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x53e65b(0x19e)]['enableFrontendLog']&&_0x25ebc3[_0x53e65b(0x13c)]([le]),_0x35501a(this[_0x53e65b(0x2a5)],_0x3d5149(_0x25ebc3,(_0x3d5c92=this[_0x53e65b(0x19e)])==null?void 0x0:_0x3d5c92['override']));}[_0x3c7b1f(0xf9)](){const _0x579608=_0x3c7b1f;this['disposeWithMe'](this[_0x579608(0xb2)][_0x579608(0x22b)](_0x4c566a[_0x579608(0x21b)],[Fe])),this['disposeWithMe'](this[_0x579608(0xb2)][_0x579608(0x22b)](_0x4c566a['UNIVER_SHEET'],[ke]));}['_initDependencies'](){const _0x5a2ae9=_0x3c7b1f;_0x1aba22(this[_0x5a2ae9(0x2a5)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x5a2ae9(0x19e)]['enableFrontendLog']&&_0x1aba22(this[_0x5a2ae9(0x2a5)],[[le]]);}};wn(Ye,_0x3c7b1f(0x11e),yn),Ye=Pn([_0x1ae528(_0x182dd1),Me(0x1,_0x351fd6),Me(0x2,_0xb035d2(_0x5d1f7b)),Me(0x3,_0x436ec0)],Ye);var $n=Object['getOwnPropertyDescriptor'],xn=(_0x5bef89,_0x2a0720,_0x16cdd3,_0x1d26ca)=>{const _0x298620=_0x3c7b1f;for(var _0x4c1911=_0x1d26ca>0x1?void 0x0:_0x1d26ca?$n(_0x2a0720,_0x16cdd3):_0x2a0720,_0x4992d8=_0x5bef89[_0x298620(0x2df)]-0x1,_0x4847fd;_0x4992d8>=0x0;_0x4992d8--)(_0x4847fd=_0x5bef89[_0x4992d8])&&(_0x4c1911=_0x4847fd(_0x4c1911)||_0x4c1911);return _0x4c1911;},J=(_0x35d6d8,_0x36acb7)=>(_0x2b82dd,_0x1409a0)=>_0x36acb7(_0x2b82dd,_0x1409a0,_0x35d6d8);let ut=class extends _0x4e7629{constructor(_0xc313eb,_0x14efeb,_0x5c2d62,_0x3c95bc,_0x4edcb0){super(_0xc313eb,_0x14efeb,_0x5c2d62,_0x3c95bc,_0x4edcb0);}async[_0x3c7b1f(0x2f2)](_0x5b51b8){const _0x165f61=_0x3c7b1f,_0x5cc353=await this[_0x165f61(0x11a)](),_0x814cd3=this[_0x165f61(0x18d)](_0x5b51b8,_0x5cc353);return this[_0x165f61(0x293)](_0x814cd3);}[_0x3c7b1f(0x18d)](_0x2fa870,_0x1e8dff){const _0x3aecc2=_0x3c7b1f,_0x5ba3b6=typeof window>'u'?new URL(_0x2fa870):new URL(_0x2fa870,window['location'][_0x3aecc2(0x2cd)]);_0x5ba3b6['searchParams']['set'](_0x3aecc2(0x24b),_0x1e8dff);const _0x36974a=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3aecc2(0xb0)][_0x3aecc2(0x27a)]);return _0x36974a[_0x3aecc2(0xb3)]('runId')&&_0x5ba3b6[_0x3aecc2(0xd2)][_0x3aecc2(0x183)]('runId',_0x36974a[_0x3aecc2(0xb3)]('runId')),_0x5ba3b6[_0x3aecc2(0xc1)]();}async[_0x3c7b1f(0x11a)](){const _0x5684c0=_0x3c7b1f;var _0x1923ee,_0x563d53,_0x4946df;const _0x5770f3=this[_0x5684c0(0x1e5)]['getConfig'](_0x44040f),_0x411864=(_0x1923ee=_0x5770f3==null?void 0x0:_0x5770f3['wsSessionTicketUrl'])!=null?_0x1923ee:_0x348b04;return(_0x4946df=(_0x563d53=(await this[_0x5684c0(0x19d)]['get'](_0x411864,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x563d53[_0x5684c0(0xbd)])!=null?_0x4946df:'';}};ut=xn([J(0x0,_0xb035d2(_0x5d1f7b)),J(0x1,_0xb035d2(_0x54558b)),J(0x2,_0x436ec0),J(0x3,_0x2d6c13),J(0x4,_0xd17e35)],ut);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x39b213,_0x530e6e,_0x100d4e,_0x10883c)=>{const _0x33e869=_0x3c7b1f;for(var _0x17a9d8=_0x10883c>0x1?void 0x0:_0x10883c?Bn(_0x530e6e,_0x100d4e):_0x530e6e,_0x225a3b=_0x39b213[_0x33e869(0x2df)]-0x1,_0x36e1c9;_0x225a3b>=0x0;_0x225a3b--)(_0x36e1c9=_0x39b213[_0x225a3b])&&(_0x17a9d8=_0x36e1c9(_0x17a9d8)||_0x17a9d8);return _0x17a9d8;},Ae=(_0x30c586,_0x3e870b)=>(_0x43be71,_0x1b55a0)=>_0x3e870b(_0x43be71,_0x1b55a0,_0x30c586);let dt=class extends _0x3c56e8{constructor(_0x408d79,_0xad0f06,_0x349f92){const _0x18d9b5=_0x3c7b1f;super(),this[_0x18d9b5(0x18e)]=_0x408d79,this[_0x18d9b5(0x19d)]=_0xad0f06,this[_0x18d9b5(0x1e5)]=_0x349f92;}async[_0x3c7b1f(0x21a)](_0x221da9,_0x4ca38c,_0x31a3cb,..._0x30fc28){const _0x142ae6=_0x3c7b1f;var _0x1c640f,_0x1d6b77,_0xe7b8f2,_0x497bfc;const _0x2ef918=this[_0x142ae6(0x18e)][_0x142ae6(0x144)]();if(!_0x2ef918)throw new Error(_0x142ae6(0x299));const _0x4adfff=((_0x1c640f=this['_configService']['getConfig'](_0x296ed0))!=null?_0x1c640f:_0x1d204b)+'/'+_0x221da9+_0x142ae6(0x2e8)+_0x4ca38c,_0x487cfa=new URL(window[_0x142ae6(0xb0)][_0x142ae6(0xcc)]),_0x2b7ee2={'scriptId':_0x221da9,'runId':(_0x1d6b77=_0x487cfa['searchParams'][_0x142ae6(0xb3)](_0x142ae6(0x28a)))!=null?_0x1d6b77:'','function':_0x4ca38c,'unitId':_0x2ef918[_0x142ae6(0x2ec)](),'argsOfFunction':JSON[_0x142ae6(0x222)](_0x30fc28),'invokeId':(_0xe7b8f2=_0x31a3cb[_0x142ae6(0x152)])!=null?_0xe7b8f2:'','executionId':(_0x497bfc=_0x31a3cb[_0x142ae6(0x10b)])!=null?_0x497bfc:''};try{const _0x4c37f9=await this['_httpService'][_0x142ae6(0x137)](_0x4adfff,{'body':_0x2b7ee2});return _0x4c37f9[_0x142ae6(0xdc)][_0x142ae6(0x23a)]&&_0x4c37f9['body'][_0x142ae6(0x23a)][_0x142ae6(0xbb)]!==Z['OK']?_0x142ae6(0x1a7):_0x4c37f9[_0x142ae6(0xdc)]['result'];}catch{return'Failed';}}};dt=Fn([Ae(0x0,_0x4e733f),Ae(0x1,_0xb035d2(_0x54558b)),Ae(0x2,_0x436ec0)],dt);const St=0x7530,It=_0x3c7b1f(0x2b6);class rr extends _0x3c56e8{constructor(){const _0x5aac29=_0x3c7b1f;super(),_(this,_0x5aac29(0xcb),_0x4794df()),_(this,_0x5aac29(0xf1),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x5aac29(0x2d3),null),_(this,_0x5aac29(0x2b4),new Map()),_(this,_0x5aac29(0x19a),new Map()),this[_0x5aac29(0x28e)]();}[_0x3c7b1f(0x2e4)](){const _0x37e5c1=_0x3c7b1f;super['dispose'](),this[_0x37e5c1(0x2b4)][_0x37e5c1(0xde)]((_0x44974e,_0x4d4fd2)=>this[_0x37e5c1(0x1d5)](_0x4d4fd2)),this['_heartbeatTimer']&&window[_0x37e5c1(0x11d)](this[_0x37e5c1(0x2d3)]);}[_0x3c7b1f(0xc6)](_0x214b22){const _0x150f73=_0x3c7b1f;return this[_0x150f73(0x240)](_0x214b22)['pipe'](_0xe3f352());}[_0x3c7b1f(0x1ec)](_0x3913d7){const _0x37dca5=_0x3c7b1f;this['_selfUnitIDs'][_0x37dca5(0x1c6)]===0x0&&this[_0x37dca5(0x1b6)](),this['_selfUnitIDs']['add'](_0x3913d7),this[_0x37dca5(0x2e7)]({'type':0x0,'memberID':this[_0x37dca5(0xcb)],'unitIDs':[_0x3913d7],'isForwarded':!0x1});}[_0x3c7b1f(0x1fb)](_0x42b3d4){const _0x35a2a2=_0x3c7b1f;this['_selfUnitIDs'][_0x35a2a2(0x16e)](_0x42b3d4),this[_0x35a2a2(0xf1)][_0x35a2a2(0x1c6)]===0x0&&this[_0x35a2a2(0x2d3)]&&window['clearInterval'](this[_0x35a2a2(0x2d3)]);}[_0x3c7b1f(0x28e)](){const _0x4fc354=_0x3c7b1f;this[_0x4fc354(0x1f4)](_0x2d366c(_0x2b596f(window,_0x4fc354(0x2e2))[_0x4fc354(0x243)](_0xb3a642=>{const _0x34d61f=_0x4fc354;if(_0xb3a642['key']!==It||!_0xb3a642[_0x34d61f(0x2b2)])return;const _0x542e58=JSON[_0x34d61f(0x15e)](_0xb3a642[_0x34d61f(0x2b2)]);this[_0x34d61f(0x106)](_0x542e58);}))),window[_0x4fc354(0x17b)]('unload',()=>this[_0x4fc354(0x2e7)]({'type':0x1,'memberID':this[_0x4fc354(0xcb)],'unitIDs':Array[_0x4fc354(0x1a3)](this['_selfUnitIDs'])}));}[_0x3c7b1f(0x106)](_0x58accf){const _0x465a00=_0x3c7b1f;switch(_0x58accf[_0x465a00(0x195)]){case 0x0:this[_0x465a00(0x2a3)](_0x58accf);break;case 0x1:this[_0x465a00(0x163)](_0x58accf);break;case 0x2:this[_0x465a00(0x2ea)](_0x58accf);break;}}[_0x3c7b1f(0x2a3)](_0x1eb73d){const _0x1eb031=_0x3c7b1f,{unitIDs:_0x59ccde,memberID:_0x39e49f,isForwarded:_0x405424}=_0x1eb73d;_0x59ccde[_0x1eb031(0xde)](_0x1e587b=>{const _0x44ca02=_0x1eb031;if(!_0x405424&&this['_unitOnClients']['has'](_0x1e587b)&&this[_0x44ca02(0x240)](_0x1e587b)[_0x44ca02(0xd1)](_0x3136a3[_0x44ca02(0x2d8)]),!this[_0x44ca02(0x19b)]['has'](_0x1e587b)||!this[_0x44ca02(0x19b)][_0x44ca02(0xb3)](_0x1e587b)['has'](_0x39e49f)){const _0xb9fca0=this[_0x44ca02(0x19b)][_0x44ca02(0xb3)](_0x1e587b)||new Set();_0xb9fca0[_0x44ca02(0xdb)](_0x39e49f),this[_0x44ca02(0x19b)]['set'](_0x1e587b,_0xb9fca0),this[_0x44ca02(0x178)](_0x39e49f);}}),_0x405424||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x1eb031(0xf1)]],'isForwarded':!0x0});}[_0x3c7b1f(0x178)](_0x35e9b8){const _0x7a2d30=_0x3c7b1f;this[_0x7a2d30(0x1d5)](_0x35e9b8);const _0x16f56a=window[_0x7a2d30(0x26c)](()=>{this['_unitOnClients']['forEach'](_0x3bca54=>{const _0x2de115=_0x61c7;_0x3bca54[_0x2de115(0x16e)](_0x35e9b8);});},St*0x2);this[_0x7a2d30(0x2b4)][_0x7a2d30(0x183)](_0x35e9b8,_0x16f56a);}[_0x3c7b1f(0x1d5)](_0x29e98a){const _0x34c344=_0x3c7b1f;if(this[_0x34c344(0x2b4)]['has'](_0x29e98a)){const _0x49d54a=this[_0x34c344(0x2b4)][_0x34c344(0xb3)](_0x29e98a);_0x49d54a&&window[_0x34c344(0x165)](_0x49d54a),this[_0x34c344(0x2b4)][_0x34c344(0x183)](_0x29e98a,null);}}[_0x3c7b1f(0x163)](_0x4d370c){const {memberID:_0x3c1e1b,unitIDs:_0x2fef7d}=_0x4d370c;_0x2fef7d['forEach'](_0x1ed359=>{const _0x4bc63e=_0x61c7;var _0xf98d58;const _0xdaac4e=this['_unitOnClients']['get'](_0x1ed359);_0xdaac4e&&(_0xdaac4e[_0x4bc63e(0x16e)](_0x3c1e1b),(_0xf98d58=this[_0x4bc63e(0x240)](_0x1ed359))==null||_0xf98d58[_0x4bc63e(0xd1)](_0xdaac4e[_0x4bc63e(0x1c6)]===0x0?_0x3136a3[_0x4bc63e(0x1a5)]:_0x3136a3[_0x4bc63e(0x2d8)]));}),this['_removeClearOtherTimer'](_0x3c1e1b);}[_0x3c7b1f(0x2ea)](_0x21f0da){const _0x4217ab=_0x3c7b1f;this[_0x4217ab(0x178)](_0x21f0da[_0x4217ab(0x128)]);}[_0x3c7b1f(0x2e7)](_0x38dc62){const _0x481d54=_0x3c7b1f;localStorage['setItem'](It,JSON[_0x481d54(0x222)](_0x38dc62));}[_0x3c7b1f(0x1b6)](){const _0x5713ba=_0x3c7b1f;this[_0x5713ba(0x2d3)]=window['setInterval'](()=>{const _0x51a1e6=_0x5713ba;this[_0x51a1e6(0x2e7)]({'type':0x2,'memberID':this['_id']});},St);}[_0x3c7b1f(0x240)](_0x435870){const _0x536819=_0x3c7b1f;return this[_0x536819(0x19a)][_0x536819(0x21e)](_0x435870)||this[_0x536819(0x19a)][_0x536819(0x183)](_0x435870,new _0x496d01(_0x3136a3[_0x536819(0x1a5)])),this[_0x536819(0x19a)][_0x536819(0xb3)](_0x435870);}}export{ut as BrowserCollaborationSocketService,ce as CollaborationDataLoaderController,ae as DesktopCollaborationStatusDisplayController,yt as IURLService,dt as RemoteUniscriptService,tn as SheetCollabCursorShape,Ye as UniverCollaborationClientUIPlugin,rr as WebBrowserSingleActiveUnitService,Ln as WebURLService};