@univerjs-pro/collaboration-client-ui 0.12.4-experimental.20251210-29c379a → 0.12.4-experimental.20251211-e01e32a

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 _0x183824=_0x3e21;(function(_0x89c818,_0x4f4ae5){const _0x1d4227=_0x3e21,_0x34c134=_0x89c818();while(!![]){try{const _0x4751da=parseInt(_0x1d4227(0x19c))/0x1*(parseInt(_0x1d4227(0x283))/0x2)+parseInt(_0x1d4227(0x16f))/0x3*(-parseInt(_0x1d4227(0x22a))/0x4)+-parseInt(_0x1d4227(0x37c))/0x5+-parseInt(_0x1d4227(0x33d))/0x6*(parseInt(_0x1d4227(0x2eb))/0x7)+-parseInt(_0x1d4227(0x1ae))/0x8*(parseInt(_0x1d4227(0x33a))/0x9)+-parseInt(_0x1d4227(0x321))/0xa*(parseInt(_0x1d4227(0x372))/0xb)+-parseInt(_0x1d4227(0x297))/0xc*(-parseInt(_0x1d4227(0x37f))/0xd);if(_0x4751da===_0x4f4ae5)break;else _0x34c134['push'](_0x34c134['shift']());}catch(_0x253716){_0x34c134['push'](_0x34c134['shift']());}}}(_0x1ee4,0x6710d));var Yt=Object[_0x183824(0x18c)],Wt=(_0x37a0b7,_0x45ac4d,_0x2b9e87)=>_0x45ac4d in _0x37a0b7?Yt(_0x37a0b7,_0x45ac4d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b9e87}):_0x37a0b7[_0x45ac4d]=_0x2b9e87,_=(_0x2d7863,_0x5365c6,_0x56e0a0)=>Wt(_0x2d7863,typeof _0x5365c6!='symbol'?_0x5365c6+'':_0x5365c6,_0x56e0a0);import{jsx as _0x43bbc2,jsxs as _0x467c85}from'react/jsx-runtime';import{CollaborationStatus as _0x38fa40,CollaborationSessionService as _0x559838,CollaborationController as _0x4a450b,DataLoaderService as _0x2c4faf,MemberService as _0x13b0a1,SessionStatus as _0x4dbdc0,ILocalCacheService as _0x2e19a0,CollaborationUIEventService as _0x528420,CollaborationUIEventId as _0x34d050,DocCollaborationEntity as _0x2b0221,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x68d877,getLocalCacheKey as _0x1c255b,LOCAL_CACHE_INTERVAL as _0x298f94,LOCAL_CACHE_INTERVAL_KEY as _0x1258b3,UniverCollaborationClientPlugin as _0xa208a1,CollaborationSocketService as _0xf3eea5,DEFAULT_WS_SESSION_TICKET_URL as _0x4005a6,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0xabb55c,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x19611c,UnitStatus as _0x2b4a63}from'@univerjs-pro/collaboration-client';import{LocaleService as _0x458508,IUniverInstanceService as _0x3adc76,Inject as _0x2b5bcf,Injector as _0x138ef1,Disposable as _0x37986f,createIdentifier as _0x5a817b,ILogService as _0x2c105d,ICommandService as _0x3bba43,Optional as _0x3eb80e,RxDisposable as _0x289c93,Workbook as _0x4019e7,DOC_RANGE_TYPE as _0x42a564,debounce as _0x2fc487,Rectangle as _0x275224,DisposableCollection as _0x3ffc95,toDisposable as _0x280f44,UniverInstanceType as _0x51f35a,generateRandomId as _0xdf4fd1,COLORS as _0x1a02b1,ColorKit as _0x4a9f36,ThemeService as _0xae25d3,fromEventSubject as _0x405042,Tools as _0x4e99de,CommandType as _0x1de221,IConfigService as _0x5a715b,CanceledError as _0x2face4,isFormulaString as _0x285a32,isFormulaId as _0x20ed39,ILocalStorageService as _0x1aff3a,DependentOn as _0x5067b5,Plugin as _0x3f2545,merge as _0x5588c4,registerDependencies as _0x56fd22,mergeOverrideWithDependencies as _0x445df2,touchDependencies as _0x2e6558}from'@univerjs/core';import{useObservable as _0x262c9b,useDependency as _0x482fa5,IUIPartsService as _0x3d91c3,BuiltInUIPart as _0xb08968,connectInjector as _0x55fa04,IBeforeCloseService as _0x14d125,IMessageService as _0x1024be,INotificationService as _0x4e66ae}from'@univerjs/ui';import{BehaviorSubject as _0x58e817,switchMap as _0x14ecc2,of as _0x4ccce2,takeUntil as _0x43c088,debounceTime as _0x33ba2d,Subject as _0x1089f4,filter as _0x19723f,merge as _0x59d32a,combineLatest as _0xd7fb49,fromEvent as _0x542828,shareReplay as _0x105eb7,mapTo as _0x357ae7,distinctUntilChanged as _0x3ef097}from'rxjs';import{Tooltip as _0x4bc5b4,clsx as _0x387383,MessageType as _0x4eb2af}from'@univerjs/design';import{useRef as _0x1b106f,createElement as _0x2cf868,forwardRef as _0x2c48ac,useCallback as _0x59bce1}from'react';import{IRemoteInstanceService as _0x4ef30a}from'@univerjs/rpc';import{SetWorksheetActivateCommand as _0x403d76,RefRangeService as _0x527b6d,SetSelectionsOperation as _0x90d8d,SheetsSelectionsService as _0x2b8294,EffectRefRangId as _0x50d064,handleIRemoveRow as _0x214da7,handleIRemoveCol as _0x51bf44,handleMoveRange as _0x5d05cb,handleInsertRow as _0x3bd833,handleInsertRangeMoveRight as _0x293533,handleInsertRangeMoveDown as _0x147fb7,handleInsertCol as _0x6cc1b6,handleDeleteRangeMoveUp as _0x401ff2,handleDeleteRangeMoveLeft as _0x5d37c3,runRefRangeMutations as _0x5806f8}from'@univerjs/sheets';import{Shape as _0x19cbf1,Rect as _0x598e21,getColor as _0x2a9dd4,RegularPolygon as _0x47da19,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x4e63d7,Vector2 as _0x1346de,SHEET_VIEWPORT_KEY as _0x2a915a,IRenderManagerService as _0x34ab27}from'@univerjs/engine-render';import{HTTPService as _0x2e6660,ISocketService as _0x3e8ff8,WebSocketService as _0x23ef53}from'@univerjs/network';import{IDocClipboardService as _0xb829cb,NodePositionConvertToCursor as _0x4e52e4,NodePositionConvertToRectRange as _0x388c2f,TEXT_RANGE_LAYER_INDEX as _0x4767d4,SetDocZoomRatioOperation as _0x286594,DocIMEInputManagerService as _0xbd1bcc,DocStateChangeManagerService as _0x19214e}from'@univerjs/docs-ui';import{IImageIoService as _0x1176b4}from'@univerjs/drawing';import{ITransformService as _0x869e11,CollaborationEvent as _0x545a72,isTransformMutationFailure as _0x5b0c3f,isTransformMutationsWithChangesetSuccess as _0x44a5c9,RevisionService as _0x558811,ISnapshotServerService as _0x205c61}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x8a0bd9,RichTextEditingMutation as _0x3ce191,DocSelectionManagerService as _0x151bee,DocSkeletonManagerService as _0x3b8cbc}from'@univerjs/docs';import{deserializeRangeWithSheet as _0x57943d,serializeRangeWithSheet as _0x10a826,FormulaExecuteStageType as _0x426bd1,FormulaExecutedStateType as _0x3c1877,SetFormulaCalculationStartMutation as _0x263bc7,SetFormulaCalculationNotificationMutation as _0x14d924}from'@univerjs/engine-formula';import{map as _0x2ebebf,filter as _0x28ac8d,throttleTime as _0x13ce25,takeUntil as _0x302d5b,switchMap as _0x2821fd}from'rxjs/operators';import{SheetSkeletonManagerService as _0x411cb9,getCoordByCell as _0x47997a,getSheetObject as _0x3a482f}from'@univerjs/sheets-ui';function Ge({ref:_0x270683,..._0x4e653c}){const _0x5dd8d8=_0x183824,{icon:_0x30fd6d,id:_0x68eb00,className:_0x917468,extend:_0x416251,..._0x2009fa}=_0x4e653c,_0x331685=('univerjs-icon\x20univerjs-icon-'+_0x68eb00+'\x20'+(_0x917468||''))['trim'](),_0x3eaea8=_0x1b106f('_'+vi());return At(_0x30fd6d,''+_0x68eb00,{'defIds':_0x30fd6d[_0x5dd8d8(0x2d5)],'idSuffix':_0x3eaea8[_0x5dd8d8(0x29a)]},{'ref':_0x270683,'className':_0x331685,..._0x2009fa},_0x416251);}function At(_0x2865f6,_0x30e6de,_0x2719d9,_0x2fbf56,_0xc1809d){const _0x58d509=_0x183824;return _0x2cf868(_0x2865f6[_0x58d509(0x1b2)],{'key':_0x30e6de,...gi(_0x2865f6,_0x2719d9,_0xc1809d),..._0x2fbf56},(Ei(_0x2865f6,_0x2719d9)[_0x58d509(0x1e7)]||[])['map']((_0x38571e,_0x49ed10)=>At(_0x38571e,_0x30e6de+'-'+_0x2865f6[_0x58d509(0x1b2)]+'-'+_0x49ed10,_0x2719d9,void 0x0,_0xc1809d)));}function gi(_0x174357,_0x2f5e10,_0x44dbb0){const _0x535592=_0x183824,_0x209cd1={..._0x174357[_0x535592(0x1f6)]};_0x44dbb0!=null&&_0x44dbb0[_0x535592(0x184)]&&_0x209cd1[_0x535592(0x327)]===_0x535592(0x184)&&(_0x209cd1[_0x535592(0x327)]=_0x44dbb0[_0x535592(0x184)]),_0x174357['tag']==='mask'&&_0x209cd1['id']&&(_0x209cd1['id']=_0x209cd1['id']+_0x2f5e10[_0x535592(0x313)]),Object[_0x535592(0x2d1)](_0x209cd1)[_0x535592(0x28a)](([_0x482a0b,_0x1a6a7a])=>{const _0x209ea3=_0x535592;_0x482a0b===_0x209ea3(0x363)&&typeof _0x1a6a7a==_0x209ea3(0x17f)&&(_0x209cd1[_0x482a0b]=_0x1a6a7a[_0x209ea3(0x344)](/url\(#(.*)\)/,_0x209ea3(0x239)+_0x2f5e10['idSuffix']+')'));});const {defIds:_0x4383ea}=_0x2f5e10;return!_0x4383ea||_0x4383ea[_0x535592(0x2ad)]===0x0||(_0x174357['tag']===_0x535592(0x168)&&_0x209cd1[_0x535592(0x24c)]&&(_0x209cd1[_0x535592(0x24c)]=_0x209cd1[_0x535592(0x24c)]+_0x2f5e10['idSuffix']),Object[_0x535592(0x2d1)](_0x209cd1)[_0x535592(0x28a)](([_0x59ccf7,_0x110d71])=>{const _0x3bf59d=_0x535592;typeof _0x110d71==_0x3bf59d(0x17f)&&(_0x209cd1[_0x59ccf7]=_0x110d71[_0x3bf59d(0x344)](/url\(#(.*)\)/,_0x3bf59d(0x239)+_0x2f5e10[_0x3bf59d(0x313)]+')'));})),_0x209cd1;}function Ei(_0xee2cdc,_0x152b0a){const _0x5b69dc=_0x183824;var _0x5c0625;const {defIds:_0x3d223d}=_0x152b0a;return!_0x3d223d||_0x3d223d[_0x5b69dc(0x2ad)]===0x0?_0xee2cdc:_0xee2cdc[_0x5b69dc(0x1b2)]===_0x5b69dc(0x349)&&((_0x5c0625=_0xee2cdc[_0x5b69dc(0x1e7)])!=null&&_0x5c0625[_0x5b69dc(0x2ad)])?{..._0xee2cdc,'children':_0xee2cdc[_0x5b69dc(0x1e7)][_0x5b69dc(0x357)](_0x59be0d=>typeof _0x59be0d[_0x5b69dc(0x1f6)]['id']==_0x5b69dc(0x17f)&&_0x3d223d&&_0x3d223d[_0x5b69dc(0x34f)](_0x59be0d['attrs']['id'])?{..._0x59be0d,'attrs':{..._0x59be0d['attrs'],'id':_0x59be0d[_0x5b69dc(0x1f6)]['id']+_0x152b0a[_0x5b69dc(0x313)]}}:_0x59be0d)}:_0xee2cdc;}function vi(){const _0x24ccfe=_0x183824;return Math[_0x24ccfe(0x1a6)]()[_0x24ccfe(0x1e4)](0x24)[_0x24ccfe(0x15c)](0x2,0x8);}Ge[_0x183824(0x33c)]=_0x183824(0x338);const pi={'tag':_0x183824(0x392),'attrs':{'xmlns':_0x183824(0x334),'fill':_0x183824(0x314),'viewBox':_0x183824(0x19a),'width':'1em','height':_0x183824(0x159)},'children':[{'tag':'g','attrs':{'clipPath':_0x183824(0x1ba)},'children':[{'tag':_0x183824(0x215),'attrs':{'stroke':_0x183824(0x2a9),'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':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x183824(0x349),'attrs':{},'children':[{'tag':_0x183824(0x339),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x183824(0x27a),'d':_0x183824(0x1a2)}}]}]}],'defIds':[_0x183824(0x393)]},Pt=_0x2c48ac(function(_0x177a43,_0x2cb5c4){const _0x1e8f2c=_0x183824;return _0x2cf868(Ge,Object[_0x1e8f2c(0x160)]({},_0x177a43,{'id':_0x1e8f2c(0x191),'ref':_0x2cb5c4,'icon':pi}));});Pt[_0x183824(0x33c)]=_0x183824(0x1a3);const Oi={'tag':_0x183824(0x392),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x183824(0x314),'viewBox':_0x183824(0x259),'width':_0x183824(0x159),'height':_0x183824(0x159)},'children':[{'tag':'g','attrs':{'clipPath':_0x183824(0x301)},'children':[{'tag':_0x183824(0x215),'attrs':{'stroke':_0x183824(0x2a9),'d':_0x183824(0x1ef),'strokeLinecap':_0x183824(0x306),'strokeLinejoin':_0x183824(0x306),'strokeWidth':1.2}}]},{'tag':_0x183824(0x349),'attrs':{},'children':[{'tag':_0x183824(0x339),'attrs':{'id':_0x183824(0x1df)},'children':[{'tag':_0x183824(0x215),'attrs':{'fill':_0x183824(0x27a),'d':_0x183824(0x1a2),'transform':'translate(.97)'}}]}]}],'defIds':[_0x183824(0x1df)]},wt=_0x2c48ac(function(_0x33c163,_0x266616){const _0x3bac6e=_0x183824;return _0x2cf868(Ge,Object[_0x3bac6e(0x160)]({},_0x33c163,{'id':_0x3bac6e(0x38c),'ref':_0x266616,'icon':Oi}));});wt[_0x183824(0x33c)]=_0x183824(0x1fe);function Ti(_0xfaf33b){const _0x2e1603=_0x183824;switch(_0xfaf33b){case _0x38fa40[_0x2e1603(0x187)]:return _0x2e1603(0x212);case _0x38fa40[_0x2e1603(0x19d)]:return _0x2e1603(0x277);case _0x38fa40['FETCH_MISS']:return _0x2e1603(0x175);case _0x38fa40[_0x2e1603(0x173)]:return _0x2e1603(0x15a);case _0x38fa40['AWAITING']:case _0x38fa40[_0x2e1603(0x27e)]:return _0x2e1603(0x249);case _0x38fa40['SYNCED']:case _0x38fa40[_0x2e1603(0x22b)]:return'collabStatus.synced';}}function Ci(_0x46db7e){const _0x2eaff2=_0x183824,{status$:_0xd6339}=_0x46db7e,_0x46152b=_0x262c9b(_0xd6339,_0x38fa40[_0x2eaff2(0x173)]),_0x104435=_0x482fa5(_0x458508),_0x3bfc76=_0x482fa5(_0x559838),_0x3b3d84=_0x46152b!==_0x38fa40[_0x2eaff2(0x187)],_0x5855cd=_0x104435['t'](Ti(_0x46152b)),_0x9ae804=_0x3b3d84?_0x43bbc2(wt,{}):_0x43bbc2(Pt,{}),_0x1084ab=_0x59bce1(()=>{_0x3b3d84||_0x3bfc76['reconnect']();},[_0x3b3d84,_0x3bfc76]);function _0x2191c5(){const _0x533b51=_0x2eaff2;return _0x467c85('div',{'className':_0x533b51(0x271),'onClick':_0x1084ab,'children':[_0x43bbc2('div',{'className':_0x387383(_0x533b51(0x1bd),{'univer-text-green-500':_0x3b3d84,'univer-text-red-500':!_0x3b3d84}),'children':_0x9ae804}),_0x43bbc2(_0x533b51(0x2c1),{'className':_0x533b51(0x299),'children':_0x5855cd})]});}return _0x3b3d84?_0x2191c5():_0x43bbc2(_0x4bc5b4,{'title':_0x104435['t'](_0x2eaff2(0x36e)),'children':_0x2191c5()});}var Ri=Object[_0x183824(0x32e)],Di=(_0x39ceca,_0x3a01fa,_0xf219b3,_0x40acf1)=>{for(var _0x501755=_0x40acf1>0x1?void 0x0:_0x40acf1?Ri(_0x3a01fa,_0xf219b3):_0x3a01fa,_0x52bf53=_0x39ceca['length']-0x1,_0x5da5ab;_0x52bf53>=0x0;_0x52bf53--)(_0x5da5ab=_0x39ceca[_0x52bf53])&&(_0x501755=_0x5da5ab(_0x501755)||_0x501755);return _0x501755;},se=(_0x1270db,_0x5b3815)=>(_0x3783e4,_0x4e132a)=>_0x5b3815(_0x3783e4,_0x4e132a,_0x1270db);let ae=class extends _0x37986f{constructor(_0x326d15,_0x29384c,_0x520014,_0x169ec2){const _0x6cb385=_0x183824;super(),_(this,_0x6cb385(0x318),new _0x58e817(_0x38fa40[_0x6cb385(0x173)])),(this[_0x6cb385(0x21a)]=_0x326d15,this[_0x6cb385(0x384)]=_0x29384c,this['_collaborationController']=_0x520014,this[_0x6cb385(0x1fd)]=_0x169ec2,this[_0x6cb385(0x15e)](),this['_initStatusListener']());}[_0x183824(0x1c2)](){const _0x654de0=_0x183824;this['disposeWithMe'](this['_univerInstanceService'][_0x654de0(0x2a8)][_0x654de0(0x273)](_0x14ecc2(()=>{const _0x1d21cf=_0x654de0,_0x1739a9=this['_univerInstanceService'][_0x1d21cf(0x2bf)]();return _0x1739a9?this[_0x1d21cf(0x1ec)][_0x1d21cf(0x1ab)](_0x1739a9[_0x1d21cf(0x2c6)]()):_0x4ccce2(null);}),_0x14ecc2(_0x246794=>_0x246794?_0x246794[_0x654de0(0x2fc)]:_0x4ccce2(_0x38fa40[_0x654de0(0x173)])))[_0x654de0(0x2dc)](_0x28ef0c=>{const _0x1ad572=_0x654de0;this['_status$'][_0x1ad572(0x1ac)](_0x28ef0c);}));}[_0x183824(0x15e)](){const _0x1792a5=_0x183824;this[_0x1792a5(0x1f4)](this[_0x1792a5(0x1fd)][_0x1792a5(0x226)](_0xb08968['HEADER_MENU'],()=>_0x55fa04(Ni({'status$':this[_0x1792a5(0x318)][_0x1792a5(0x333)]()}),this[_0x1792a5(0x384)])));}};ae=Di([se(0x0,_0x3adc76),se(0x1,_0x2b5bcf(_0x138ef1)),se(0x2,_0x2b5bcf(_0x4a450b)),se(0x3,_0x3d91c3)],ae);function Ni(_0x1e35d1){const {status$:_0x257d83}=_0x1e35d1;return function(){return _0x43bbc2(Ci,{'status$':_0x257d83});};}const yt=_0x5a817b(_0x183824(0x25b));var bi=Object[_0x183824(0x32e)],Li=(_0x569f29,_0x34caa9,_0x5ac9aa,_0x4988b3)=>{const _0x43a62a=_0x183824;for(var _0x4f9e15=_0x4988b3>0x1?void 0x0:_0x4988b3?bi(_0x34caa9,_0x5ac9aa):_0x34caa9,_0x5df0a6=_0x569f29[_0x43a62a(0x2ad)]-0x1,_0x6f692d;_0x5df0a6>=0x0;_0x5df0a6--)(_0x6f692d=_0x569f29[_0x5df0a6])&&(_0x4f9e15=_0x6f692d(_0x4f9e15)||_0x4f9e15);return _0x4f9e15;},K=(_0x3b79d3,_0x5e7891)=>(_0x31b444,_0x20e0fe)=>_0x5e7891(_0x31b444,_0x20e0fe,_0x3b79d3);let ce=class extends _0x289c93{constructor(_0x422f39,_0x524049,_0x565d4c,_0x336e0b,_0x37ab04){const _0x2a0b83=_0x183824;super(),this[_0x2a0b83(0x370)]=_0x422f39,this[_0x2a0b83(0x213)]=_0x524049,this[_0x2a0b83(0x368)]=_0x565d4c,this[_0x2a0b83(0x24d)]=_0x336e0b,_0x37ab04?_0x37ab04==null||_0x37ab04[_0x2a0b83(0x276)]()[_0x2a0b83(0x355)](()=>this[_0x2a0b83(0x193)]()):(this[_0x2a0b83(0x213)][_0x2a0b83(0x30b)](_0x2a0b83(0x185),_0x2a0b83(0x20c)),this[_0x2a0b83(0x193)]());}async[_0x183824(0x193)](){const _0x3309e8=_0x183824,_0x18cb1c=this[_0x3309e8(0x370)][_0x3309e8(0x280)](_0x3309e8(0x315)),_0x175643=this['_urlService'][_0x3309e8(0x280)](_0x3309e8(0x28c)),_0x4e2e3a=this[_0x3309e8(0x370)]['getParam'](_0x3309e8(0x304));if(!_0x18cb1c||!_0x175643){this[_0x3309e8(0x213)]['debug'](_0x3309e8(0x185),_0x3309e8(0x364));return;}const _0x31ba44=await this['_dataLoaderService'][_0x3309e8(0x1eb)](_0x18cb1c,Number(_0x175643),_0x4e2e3a);_0x31ba44&&_0x31ba44 instanceof _0x4019e7&&this[_0x3309e8(0x1de)](_0x31ba44);}async[_0x183824(0x1de)](_0x3c8fba){const _0xc63933=_0x183824;await this[_0xc63933(0x291)](_0x3c8fba),_0x3c8fba[_0xc63933(0x18b)][_0xc63933(0x273)](_0x43c088(this[_0xc63933(0x322)]))[_0xc63933(0x2dc)](_0x4fd624=>{const _0x559187=_0xc63933;_0x4fd624&&this[_0x559187(0x1bf)](_0x4fd624);}),this[_0xc63933(0x370)][_0xc63933(0x25e)][_0xc63933(0x273)](_0x43c088(this[_0xc63933(0x322)]))[_0xc63933(0x2dc)](()=>this[_0xc63933(0x291)](_0x3c8fba));}[_0x183824(0x1bf)](_0x5d2940,_0x1b450f=!0x1){const _0x339d10=_0x183824,_0x43bcf9=this[_0x339d10(0x370)]['getParam'](_0x339d10(0x304));_0x5d2940[_0x339d10(0x279)]()!==_0x43bcf9&&this[_0x339d10(0x370)]['setParam']('subunit',_0x5d2940[_0x339d10(0x279)](),_0x1b450f);}async[_0x183824(0x291)](_0x417a89){const _0x496924=_0x183824;var _0x1e9f67;const _0xf9a2d=this[_0x496924(0x370)]['getParam'](_0x496924(0x304));if(!_0xf9a2d||!_0x417a89[_0x496924(0x30a)](_0xf9a2d)){const _0x53bb47=_0x417a89[_0x496924(0x148)]()[0x0],_0x4788a4=_0x417a89[_0x496924(0x30a)](_0x53bb47);if(!_0x4788a4)return;this[_0x496924(0x1bf)](_0x4788a4,!0x0),await this['_commandService']['executeCommand'](_0x403d76['id'],{'unitId':_0x417a89['getUnitId'](),'subUnitId':_0x53bb47});return;}((_0x1e9f67=_0x417a89[_0x496924(0x17d)]())==null?void 0x0:_0x1e9f67[_0x496924(0x279)]())!==_0xf9a2d&&await this['_commandService']['executeCommand'](_0x403d76['id'],{'unitId':_0x417a89[_0x496924(0x2c6)](),'subUnitId':_0xf9a2d});}};ce=Li([K(0x0,yt),K(0x1,_0x2c105d),K(0x2,_0x3bba43),K(0x3,_0x2b5bcf(_0x2c4faf)),K(0x4,_0x3eb80e(_0x4ef30a))],ce);var Ui=Object[_0x183824(0x32e)],Mi=(_0x434276,_0x163cc2,_0x69a241,_0x1c4536)=>{const _0x9cb2a0=_0x183824;for(var _0x45fec3=_0x1c4536>0x1?void 0x0:_0x1c4536?Ui(_0x163cc2,_0x69a241):_0x163cc2,_0x355030=_0x434276[_0x9cb2a0(0x2ad)]-0x1,_0x45043f;_0x355030>=0x0;_0x355030--)(_0x45043f=_0x434276[_0x355030])&&(_0x45fec3=_0x45043f(_0x45fec3)||_0x45fec3);return _0x45fec3;},rt=(_0x18b3ee,_0x25ba0d)=>(_0x1eca31,_0x1c5150)=>_0x25ba0d(_0x1eca31,_0x1c5150,_0x18b3ee);let $e=class extends _0x289c93{constructor(_0x57d85b,_0xa4e99c){const _0x47df41=_0x183824;super(),this[_0x47df41(0x337)]=_0x57d85b,this[_0x47df41(0x232)]=_0xa4e99c,this[_0x47df41(0x193)]();}[_0x183824(0x193)](){const _0x127c42=_0x183824,_0x5617ba=this;this[_0x127c42(0x1f4)](this[_0x127c42(0x337)]['addClipboardHook']({'onBeforePasteImage':async _0x3460ad=>{const _0x579d53=_0x127c42,_0x699433=await _0x5617ba[_0x579d53(0x232)][_0x579d53(0x31f)](_0x3460ad);return _0x699433?{'source':_0x699433['source'],'imageSourceType':_0x699433['imageSourceType']}:null;}}));}};$e=Mi([rt(0x0,_0xb829cb),rt(0x1,_0x1176b4)],$e);const ot=[_0x183824(0x198),_0x183824(0x361),'green.600',_0x183824(0x1c7),_0x183824(0x34d),'yellow.400'];class Ke extends _0x37986f{constructor(){const _0x10f772=_0x183824;super(...arguments),_(this,_0x10f772(0x28b),new Map()),_(this,_0x10f772(0x172),0x0);}[_0x183824(0x2d7)](_0xfb2130){const _0x1f4bec=_0x183824;if(this['_assignedColors'][_0x1f4bec(0x1f5)](_0xfb2130))return this['_assignedColors']['get'](_0xfb2130);const _0x4b517a=ot[this[_0x1f4bec(0x172)]];return this['_colorIndex']=(this[_0x1f4bec(0x172)]+0x1)%ot[_0x1f4bec(0x2ad)],this[_0x1f4bec(0x28b)]['set'](_0xfb2130,_0x4b517a),_0x4b517a;}}function $t(_0x2a8333){const _0x49797d=_0x183824;let _0x268140='';for(const _0x86bfe0 of _0x2a8333){const {startOffset:_0x2ccb82,endOffset:_0x4bff4a,isActive:_0x38f723,rangeType:_0xd32529,segmentId:_0x548142,segmentPage:_0x40963c}=_0x86bfe0;_0x268140[_0x49797d(0x2ad)]&&(_0x268140+=','),_0x268140+=_0x2ccb82+':'+_0x4bff4a+':'+(_0x38f723?'1':'0')+':'+_0xd32529+':'+_0x548142+':'+_0x40963c;}return _0x268140;}function Ai(_0x1a4467){const _0x44eb9c=_0x183824,_0xccde31=_0x1a4467[_0x44eb9c(0x288)](','),_0x564cb2=[];for(const _0x145f65 of _0xccde31){const [_0x5155b1,_0x27b1e2,_0x247d4e,_0x26f57e,_0x46e0de,_0x45594a]=_0x145f65[_0x44eb9c(0x288)](':');_0x564cb2[_0x44eb9c(0x320)]({'startOffset':Number(_0x5155b1),'endOffset':Number(_0x27b1e2),'collapsed':_0x5155b1===_0x27b1e2,'isActive':_0x247d4e==='1','rangeType':_0x26f57e===_0x42a564['TEXT']?_0x42a564[_0x44eb9c(0x2b6)]:_0x42a564['RECT'],'segmentId':typeof _0x46e0de==_0x44eb9c(0x17f)?String(_0x46e0de):'','segmentPage':Number(_0x45594a!=null?_0x45594a:-0x1)});}return _0x564cb2[_0x44eb9c(0x28e)](_0x34d4de=>_0x34d4de['isActive'])||(_0x564cb2[0x0]['isActive']=!0x0),_0x564cb2;}class ze extends _0x289c93{constructor(){const _0x2047c1=_0x183824;super(...arguments),_(this,_0x2047c1(0x2cc),new _0x58e817(null)),_(this,_0x2047c1(0x248),this[_0x2047c1(0x2cc)][_0x2047c1(0x333)]());}[_0x183824(0x37e)](_0x2dc592){const {unitID:_0x1b7ba4,memberID:_0x34df81,textRanges:_0x52fac8}=_0x2dc592,_0x11ea6a=$t(_0x52fac8);if(_0x11ea6a==='')return;const _0x47abfa={'unitID':_0x1b7ba4,'memberID':_0x34df81,'selection':_0x11ea6a};this['_collabCursorState$']['next'](_0x47abfa);}}var Pi=Object[_0x183824(0x32e)],wi=(_0x112f46,_0x5990f3,_0x15c29c,_0x55bcb7)=>{const _0x51da58=_0x183824;for(var _0x1a1ace=_0x55bcb7>0x1?void 0x0:_0x55bcb7?Pi(_0x5990f3,_0x15c29c):_0x5990f3,_0x1ef75e=_0x112f46[_0x51da58(0x2ad)]-0x1,_0xd0254e;_0x1ef75e>=0x0;_0x1ef75e--)(_0xd0254e=_0x112f46[_0x1ef75e])&&(_0x1a1ace=_0xd0254e(_0x1a1ace)||_0x1a1ace);return _0x1a1ace;},A=(_0xff2aa2,_0x5b1569)=>(_0x3de7e3,_0x302fdf)=>_0x5b1569(_0x3de7e3,_0x302fdf,_0xff2aa2);function _0x3e21(_0x12d4e9,_0x328a56){_0x12d4e9=_0x12d4e9-0x148;const _0x1ee4f5=_0x1ee4();let _0x3e2195=_0x1ee4f5[_0x12d4e9];return _0x3e2195;}const yi=0x12c,$i=0x64;let xe=class extends _0x289c93{constructor(_0x5302d0,_0x5bb812,_0x521fea,_0xdb4226,_0x32051f,_0x3b102a,_0xfc2b8d,_0x39234e,_0xa7ede4){const _0x23b616=_0x183824;super(),_(this,_0x23b616(0x167),!0x1),_(this,'_init',!0x1),_(this,_0x23b616(0x1d3),new _0x58e817(new Map())),_(this,'cursorInfo$',this[_0x23b616(0x1d3)]['asObservable']()),_(this,_0x23b616(0x229),new _0x58e817([])),_(this,'roomMembers$',this[_0x23b616(0x229)][_0x23b616(0x273)](_0x33ba2d(yi))),_(this,_0x23b616(0x290),_0x2fc487(_0x5876b2=>{const _0x137821=_0x23b616,_0x4637b5={'eventID':_0x545a72['UPDATE_CURSOR'],'data':{'unitID':this[_0x137821(0x36a)],'memberID':this[_0x137821(0x1da)][_0x137821(0x25a)](),'selection':$t(_0x5876b2)}};this['_session']['send'](_0x4637b5,this['unitID']);},$i)),(this[_0x23b616(0x36a)]=_0x5302d0,this[_0x23b616(0x1da)]=_0x5bb812,this[_0x23b616(0x384)]=_0x521fea,this[_0x23b616(0x211)]=_0xdb4226,this['_memberService']=_0x32051f,this[_0x23b616(0x340)]=_0x3b102a,this[_0x23b616(0x27b)]=_0xfc2b8d,this[_0x23b616(0x21a)]=_0x39234e,this[_0x23b616(0x368)]=_0xa7ede4);}get[_0x183824(0x1fb)](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){const _0x4eb0b4=_0x183824;return this['_roomMembers$'][_0x4eb0b4(0x2f9)]();}[_0x183824(0x2e6)](){const _0x2c49e1=_0x183824;super[_0x2c49e1(0x2e6)](),this[_0x2c49e1(0x1d3)][_0x2c49e1(0x1ac)](new Map()),this[_0x2c49e1(0x1d3)][_0x2c49e1(0x257)](),this[_0x2c49e1(0x229)][_0x2c49e1(0x1ac)]([]),this['_roomMembers$']['complete']();}[_0x183824(0x269)](){const _0x3d5f3e=_0x183824;this['_init']||(this[_0x3d5f3e(0x193)]=!0x0,this[_0x3d5f3e(0x1da)][_0x3d5f3e(0x38f)][_0x3d5f3e(0x273)](_0x43c088(this[_0x3d5f3e(0x322)]))['subscribe'](_0x1a17ea=>{const _0x42c22f=_0x3d5f3e;_0x1a17ea===_0x4dbdc0[_0x42c22f(0x2f1)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0x3d5f3e(0x264)][_0x3d5f3e(0x273)](_0x43c088(this[_0x3d5f3e(0x322)]))[_0x3d5f3e(0x2dc)](_0x241461=>{const _0x406118=_0x3d5f3e,_0x4f769e=_0x241461['eventID'];_0x4f769e===_0x545a72[_0x406118(0x23d)]&&this[_0x406118(0x377)](_0x241461),_0x4f769e===_0x545a72[_0x406118(0x31c)]&&this[_0x406118(0x246)](_0x241461);}),this[_0x3d5f3e(0x1f4)](this[_0x3d5f3e(0x368)]['onCommandExecuted'](_0x56e307=>{const _0x4239ed=_0x3d5f3e,_0x346a29=_0x56e307[_0x4239ed(0x2e7)];_0x346a29!=null&&this[_0x4239ed(0x167)]&&_0x56e307['id']===_0x8a0bd9['id']&&_0x346a29[_0x4239ed(0x14b)]===this[_0x4239ed(0x36a)]&&_0x346a29['isEditing']===!0x1&&_0x346a29['ranges'][_0x4239ed(0x2ad)]>0x0&&this[_0x4239ed(0x290)](_0x346a29[_0x4239ed(0x15d)]);})),this[_0x3d5f3e(0x340)]['collabCursorState$'][_0x3d5f3e(0x273)](_0x43c088(this['dispose$']))[_0x3d5f3e(0x2dc)](_0xd1df14=>{const _0x41b631=_0x3d5f3e;if((_0xd1df14==null?void 0x0:_0xd1df14[_0x41b631(0x36a)])!==this[_0x41b631(0x36a)])return;const _0x4d7da0={'eventID':_0x545a72[_0x41b631(0x23d)],'data':_0xd1df14};this[_0x41b631(0x377)](_0x4d7da0);}),this['disposeWithMe'](this[_0x3d5f3e(0x368)][_0x3d5f3e(0x1f3)](_0x2413b9=>{const _0x49ac87=_0x3d5f3e;if(_0x2413b9[_0x49ac87(0x2e7)]==null)return;const _0x33ec6e=_0x2413b9[_0x49ac87(0x2e7)];if(_0x2413b9['id']!==_0x3ce191['id']||_0x33ec6e['unitId']!==this['unitID'])return;const _0x447df8={'id':'doc.mutation.rich-text-editing','params':_0x33ec6e},_0x6e25a=this['cursorInfo'];for(const [_0x3c5941,_0x2f8dd3]of _0x6e25a){const _0x3130de={'id':_0x49ac87(0x261),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2f8dd3[_0x49ac87(0x15d)]}},_0x286203=this[_0x49ac87(0x27b)][_0x49ac87(0x155)](_0x447df8,_0x3130de,!0x1);if(_0x5b0c3f(_0x286203))throw _0x286203[_0x49ac87(0x17b)];_0x6e25a[_0x49ac87(0x317)](_0x3c5941,{..._0x2f8dd3,'ranges':_0x286203[_0x49ac87(0x24f)][_0x49ac87(0x2e7)][_0x49ac87(0x2ef)]});}queueMicrotask(()=>{const _0x531513=_0x49ac87;this['_cursorInfo$'][_0x531513(0x1ac)](_0x6e25a);});})));}[_0x183824(0x377)](_0x3efe78){const _0x186991=_0x183824;var _0x47105e,_0x4d9f67;const {memberID:_0x5a279c,selection:_0x3a03d5}=_0x3efe78[_0x186991(0x2bd)],_0x2c5e77=Ai(_0x3a03d5),_0x364a73=(_0x4d9f67=(_0x47105e=this[_0x186991(0x32c)][_0x186991(0x2b2)](this['unitID'],_0x5a279c))==null?void 0x0:_0x47105e[_0x186991(0x24e)])!=null?_0x4d9f67:_0x186991(0x253),_0x29346f={'color':this[_0x186991(0x211)][_0x186991(0x2d7)](_0x5a279c),'name':_0x364a73,'ranges':_0x2c5e77},_0x4fa826=this['cursorInfo'];_0x4fa826['set'](_0x5a279c,_0x29346f),this[_0x186991(0x1d3)][_0x186991(0x1ac)](_0x4fa826);}[_0x183824(0x246)](_0x187b73){const _0x3fe9d5=_0x183824,{memberID:_0x2c4ce6}=_0x187b73[_0x3fe9d5(0x2bd)],_0x3fafd3=this[_0x3fe9d5(0x1fb)];_0x3fafd3[_0x3fe9d5(0x324)](_0x2c4ce6),this['_cursorInfo$'][_0x3fe9d5(0x1ac)](_0x3fafd3);}['_toggleOnline'](){const _0x45753a=_0x183824;var _0x3fb381;if(this[_0x45753a(0x167)]=!0x0,((_0x3fb381=this[_0x45753a(0x21a)][_0x45753a(0x2bf)]())==null?void 0x0:_0x3fb381[_0x45753a(0x2c6)]())!==this[_0x45753a(0x36a)])return;const _0x4228b4=this[_0x45753a(0x384)]['get'](_0x151bee)['getDocRanges']();Array[_0x45753a(0x17c)](_0x4228b4)&&_0x4228b4['length']>0x0&&this[_0x45753a(0x290)](_0x4228b4);}['_toggleOffline'](){const _0x357331=_0x183824;this[_0x357331(0x167)]=!0x1;}};xe=wi([A(0x2,_0x2b5bcf(_0x138ef1)),A(0x3,_0x2b5bcf(Ke)),A(0x4,_0x2b5bcf(_0x13b0a1)),A(0x5,_0x2b5bcf(ze)),A(0x6,_0x869e11),A(0x7,_0x3adc76),A(0x8,_0x3bba43)],xe);var xi=Object[_0x183824(0x32e)],Bi=(_0xa30120,_0x4281ae,_0x2e4a11,_0x86dd58)=>{for(var _0x445db4=_0x86dd58>0x1?void 0x0:_0x86dd58?xi(_0x4281ae,_0x2e4a11):_0x4281ae,_0x33b34e=_0xa30120['length']-0x1,_0x52afe1;_0x33b34e>=0x0;_0x33b34e--)(_0x52afe1=_0xa30120[_0x33b34e])&&(_0x445db4=_0x52afe1(_0x445db4)||_0x445db4);return _0x445db4;},B=(_0x3365d7,_0x2dab44)=>(_0x525f05,_0x37ce2d)=>_0x2dab44(_0x525f05,_0x37ce2d,_0x3365d7);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x102710=[],_0x4e4fda=!0x1;return _0x4d218e=>{_0x102710['push'](_0x4d218e),_0x4e4fda||(_0x4e4fda=!0x0,setTimeout(()=>{const _0x143ac4=_0x3e21;_0x102710[_0x143ac4(0x28a)](_0x47a23e=>_0x47a23e()),_0x102710=[],_0x4e4fda=!0x1;}));};};let Be=class extends _0x289c93{constructor(_0x4eb8b6,_0x482a1e,_0x4c34b2,_0x59134c,_0xdf62f3,_0x132ad6,_0x27b214,_0x1f78d9){const _0x42c7d4=_0x183824;super(),_(this,_0x42c7d4(0x167),!0x1),_(this,_0x42c7d4(0x193),!0x1),_(this,'_cursorInfo$',new _0x58e817(new Map())),_(this,_0x42c7d4(0x208),this[_0x42c7d4(0x1d3)]['asObservable']()),_(this,_0x42c7d4(0x229),new _0x58e817([])),_(this,'roomMembers$',this[_0x42c7d4(0x229)][_0x42c7d4(0x273)](_0x33ba2d(Fi))),_(this,_0x42c7d4(0x290),_0x2fc487((_0x355ee0,_0xe8e864)=>{const _0x16ef02=_0x42c7d4,_0x4098a5={'eventID':_0x545a72['UPDATE_CURSOR'],'data':{'unitID':this[_0x16ef02(0x36a)],'memberID':this[_0x16ef02(0x1da)][_0x16ef02(0x25a)](),'selection':_0x10a826(_0x355ee0,_0xe8e864[_0x16ef02(0x151)])}};this[_0x16ef02(0x1da)][_0x16ef02(0x2d3)](_0x4098a5,this[_0x16ef02(0x36a)]);},ki)),(this[_0x42c7d4(0x36a)]=_0x4eb8b6,this[_0x42c7d4(0x1da)]=_0x482a1e,this[_0x42c7d4(0x384)]=_0x4c34b2,this[_0x42c7d4(0x211)]=_0x59134c,this['_memberService']=_0xdf62f3,this[_0x42c7d4(0x21a)]=_0x132ad6,this[_0x42c7d4(0x368)]=_0x27b214,this['_refRangeService']=_0x1f78d9);}get[_0x183824(0x1fb)](){const _0x2be9f5=_0x183824;return this[_0x2be9f5(0x1d3)]['getValue']();}get[_0x183824(0x240)](){return this['_roomMembers$']['getValue']();}[_0x183824(0x2e6)](){const _0x1ac523=_0x183824;super[_0x1ac523(0x2e6)](),this[_0x1ac523(0x1d3)][_0x1ac523(0x1ac)](new Map()),this[_0x1ac523(0x1d3)]['complete'](),this[_0x1ac523(0x229)]['next']([]),this[_0x1ac523(0x229)][_0x1ac523(0x257)]();}[_0x183824(0x269)](){const _0x582a08=_0x183824;this[_0x582a08(0x193)]||(this[_0x582a08(0x193)]=!0x0,this[_0x582a08(0x1da)][_0x582a08(0x38f)][_0x582a08(0x273)](_0x43c088(this[_0x582a08(0x322)]))['subscribe'](_0x20a98a=>{const _0x532b2e=_0x582a08;_0x20a98a===_0x4dbdc0[_0x532b2e(0x2f1)]?this[_0x532b2e(0x206)]():this[_0x532b2e(0x2e1)]();}),this['_session']['event$']['pipe'](_0x43c088(this[_0x582a08(0x322)]))['subscribe'](_0x26a946=>{const _0x5a69d9=_0x582a08,_0x3ff8a4=_0x26a946[_0x5a69d9(0x1aa)];_0x3ff8a4===_0x545a72[_0x5a69d9(0x23d)]&&this['_onCursorUpdate'](_0x26a946),_0x3ff8a4===_0x545a72[_0x5a69d9(0x31c)]&&this[_0x5a69d9(0x246)](_0x26a946);}),this[_0x582a08(0x2ea)](),this[_0x582a08(0x1f4)](this['_commandService'][_0x582a08(0x1f3)](_0x192b3d=>{const _0xd809f=_0x582a08;if(this[_0xd809f(0x167)]&&_0x192b3d['id']===_0x90d8d['id']&&_0x192b3d['params'][_0xd809f(0x14b)]===this['unitID']){const _0x2588cc=_0x192b3d['params'];this[_0xd809f(0x290)](_0x2588cc['subUnitId'],_0x2588cc['selections'][0x0]);}})));}['_onCursorUpdate'](_0x316986){const _0x3806ca=_0x183824;var _0x2e69c3,_0x31d331;const {memberID:_0x4d6e67,selection:_0x5d6903}=_0x316986['data'],{sheetName:_0xcde732,range:_0x4855f5}=_0x57943d(_0x5d6903),_0x516a36={'name':(_0x31d331=(_0x2e69c3=this['_memberService']['getMember'](this[_0x3806ca(0x36a)],_0x4d6e67))==null?void 0x0:_0x2e69c3[_0x3806ca(0x24e)])!=null?_0x31d331:_0x3806ca(0x253),'range':this[_0x3806ca(0x20a)](_0xcde732,_0x4855f5),'sheetID':_0xcde732,'color':this[_0x3806ca(0x211)][_0x3806ca(0x2d7)](_0x4d6e67),'selection':_0x5d6903},_0x21a9ff=this[_0x3806ca(0x1fb)];_0x21a9ff['set'](_0x4d6e67,_0x516a36),this['_cursorInfo$']['next'](_0x21a9ff);}['_onCursorDelete'](_0xc482c){const _0x126002=_0x183824,{memberID:_0x16b7ea}=_0xc482c[_0x126002(0x2bd)],_0x2410fa=this[_0x126002(0x1fb)];_0x2410fa['delete'](_0x16b7ea),this[_0x126002(0x1d3)]['next'](_0x2410fa);}[_0x183824(0x20a)](_0x5b30d9,_0x234eb0){const _0x5c3962=_0x183824;var _0x3f7ec2,_0x466820;const _0x165a25=(_0x466820=(_0x3f7ec2=this['_univerInstanceService'][_0x5c3962(0x200)](this[_0x5c3962(0x36a)]))==null?void 0x0:_0x3f7ec2[_0x5c3962(0x30a)](_0x5b30d9))==null?void 0x0:_0x466820[_0x5c3962(0x1e1)]();return(_0x165a25==null?void 0x0:_0x165a25['find'](_0xf84a29=>_0x275224[_0x5c3962(0x36b)](_0xf84a29,_0x234eb0)))||_0x234eb0;}['_onRefRangeChange'](){const _0x3e3f99=_0x183824,_0x1f3316=new _0x3ffc95(),_0x45a5c4=Hi(),_0x49d529=()=>{const _0x4e1564=_0x3e21;_0x1f3316[_0x4e1564(0x2e6)]();const _0x51f331=(_0x337637,_0x4a91ab,_0x593d24,_0xea7e3d)=>{const _0x47a23f=_0x4e1564;let _0x4c4515=[];switch(_0x337637['id']){case _0x50d064['DeleteRangeMoveLeftCommandId']:{_0x4c4515=_0x5d37c3(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x15b)]:{_0x4c4515=_0x401ff2(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x170)]:{_0x4c4515=_0x6cc1b6(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x1ff)]:{_0x4c4515=_0x147fb7(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x202)]:{_0x4c4515=_0x293533(_0x337637,_0xea7e3d);break;}case _0x50d064['InsertRowCommandId']:{_0x4c4515=_0x3bd833(_0x337637,_0xea7e3d);break;}case _0x50d064[_0x47a23f(0x35e)]:{_0x4c4515=_0x5d05cb(_0x337637,_0xea7e3d);break;}case _0x50d064['RemoveColCommandId']:{_0x4c4515=_0x51bf44(_0x337637,_0xea7e3d);break;}case _0x50d064['RemoveRowCommandId']:{_0x4c4515=_0x214da7(_0x337637,_0xea7e3d);break;}}const _0x35ddd2=_0x5806f8(_0x4c4515,_0xea7e3d),_0xa0ae0e=this[_0x47a23f(0x1fb)][_0x47a23f(0x2ee)](_0x4a91ab);if(_0xa0ae0e&&_0x35ddd2){const _0x42fc55={..._0xa0ae0e,'range':_0x35ddd2};this[_0x47a23f(0x1fb)][_0x47a23f(0x317)](_0x4a91ab,_0x42fc55),_0x45a5c4(()=>{const _0x590092=_0x47a23f,_0x4f0303=this[_0x590092(0x328)][_0x590092(0x352)](_0x35ddd2,_0x29846c=>(_0x4f0303[_0x590092(0x2e6)](),_0x51f331(_0x29846c,_0x4a91ab,_0x593d24,_0x35ddd2)));_0x1f3316[_0x590092(0x298)](_0x4f0303);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4e1564(0x28a)]((_0x4c1cd4,_0x5d9adc)=>{const _0x37a334=_0x4e1564,{range:_0x238a1e,sheetID:_0x46d0b7}=_0x4c1cd4,_0x1bb5f3=this['_refRangeService']['registerRefRange'](_0x238a1e,_0x166fb2=>(_0x1bb5f3[_0x37a334(0x2e6)](),_0x51f331(_0x166fb2,_0x5d9adc,_0x46d0b7,_0x238a1e)));_0x1f3316[_0x37a334(0x298)](_0x1bb5f3);});};this['disposeWithMe'](_0x280f44(this[_0x3e3f99(0x1d3)]['subscribe'](()=>{_0x49d529();})));}['_toggleOnline'](){const _0x228ac0=_0x183824;var _0x3ad0a4,_0x3c4dfb;if(this['_online']=!0x0,((_0x3ad0a4=this[_0x228ac0(0x21a)][_0x228ac0(0x2bf)]())==null?void 0x0:_0x3ad0a4[_0x228ac0(0x2c6)]())!==this[_0x228ac0(0x36a)])return;const _0x1c3d33=(_0x3c4dfb=this[_0x228ac0(0x384)][_0x228ac0(0x2ee)](_0x2b8294)[_0x228ac0(0x21e)]())==null?void 0x0:_0x3c4dfb[0x0],_0x4f98f4=this['_univerInstanceService'][_0x228ac0(0x2ca)](_0x51f35a[_0x228ac0(0x32b)])[_0x228ac0(0x17d)]();_0x1c3d33&&_0x4f98f4&&this['_updateLocalCursor'](_0x4f98f4[_0x228ac0(0x279)](),_0x1c3d33);}['_toggleOffline'](){this['_online']=!0x1;}};Be=Bi([B(0x2,_0x2b5bcf(_0x138ef1)),B(0x3,_0x2b5bcf(Ke)),B(0x4,_0x2b5bcf(_0x13b0a1)),B(0x5,_0x3adc76),B(0x6,_0x3bba43),B(0x7,_0x2b5bcf(_0x527b6d))],Be);var Yi=Object[_0x183824(0x32e)],Wi=(_0x136b83,_0x26fee1,_0x56ca96,_0x4e380e)=>{const _0x46839f=_0x183824;for(var _0x565529=_0x4e380e>0x1?void 0x0:_0x4e380e?Yi(_0x26fee1,_0x56ca96):_0x26fee1,_0x36ac5b=_0x136b83[_0x46839f(0x2ad)]-0x1,_0x590a77;_0x36ac5b>=0x0;_0x36ac5b--)(_0x590a77=_0x136b83[_0x36ac5b])&&(_0x565529=_0x590a77(_0x565529)||_0x565529);return _0x565529;},Ce=(_0x1f9bf3,_0x190143)=>(_0xf927c8,_0x3ebc0a)=>_0x190143(_0xf927c8,_0x3ebc0a,_0x1f9bf3);let H=class extends _0x289c93{constructor(_0x56383e,_0x2e4af9,_0x1195bd){const _0x51e8ff=_0x183824;super(),_(this,'_entities',new Map()),_(this,_0x51e8ff(0x1c6),new _0x1089f4()),(this[_0x51e8ff(0x21a)]=_0x56383e,this[_0x51e8ff(0x384)]=_0x2e4af9,this[_0x51e8ff(0x210)]=_0x1195bd,this[_0x51e8ff(0x193)]());}[_0x183824(0x2e6)](){const _0x17477f=_0x183824;super[_0x17477f(0x2e6)](),this[_0x17477f(0x1c6)][_0x17477f(0x257)](),this[_0x17477f(0x2e9)]['forEach'](_0x47afee=>_0x47afee[_0x17477f(0x2e6)]());}[_0x183824(0x197)](_0x1fffe0){const _0x2cb244=_0x183824;return this[_0x2cb244(0x2e9)]['has'](_0x1fffe0)?this[_0x2cb244(0x2e9)][_0x2cb244(0x2ee)](_0x1fffe0)[_0x2cb244(0x208)]:this[_0x2cb244(0x1c6)]['pipe'](_0x19723f(_0x5e99eb=>_0x5e99eb[_0x2cb244(0x36a)]===_0x1fffe0),_0x14ecc2(_0x44a729=>_0x44a729[_0x2cb244(0x208)]));}[_0x183824(0x193)](){const _0x179093=_0x183824;this[_0x179093(0x21a)]['getTypeOfUnitAdded$'](_0x51f35a[_0x179093(0x32b)])[_0x179093(0x273)](_0x43c088(this[_0x179093(0x322)]))[_0x179093(0x2dc)](async _0x3e7f5b=>{const _0x49ea1f=_0x179093,_0xde727d=_0x3e7f5b[_0x49ea1f(0x2c6)](),_0x3a3fd7=await this[_0x49ea1f(0x381)](_0xde727d);this[_0x49ea1f(0x1c6)]['next'](_0x3a3fd7),this[_0x49ea1f(0x2e9)][_0x49ea1f(0x317)](_0xde727d,_0x3a3fd7);}),this['_univerInstanceService'][_0x179093(0x38a)](_0x51f35a['UNIVER_DOC'])[_0x179093(0x273)](_0x43c088(this[_0x179093(0x322)]))[_0x179093(0x273)](_0x19723f(_0x270581=>!_0x270581[_0x179093(0x2c6)]()['startsWith']('__')))[_0x179093(0x2dc)](async _0x2d09f6=>{const _0x545e94=_0x179093,_0x2ebe48=_0x2d09f6['getUnitId'](),_0x92d5fa=await this['_startDocCollabCursor'](_0x2ebe48);this['_entityInit$']['next'](_0x92d5fa),this[_0x545e94(0x2e9)][_0x545e94(0x317)](_0x2ebe48,_0x92d5fa);}),_0x59d32a(this[_0x179093(0x21a)][_0x179093(0x2aa)](_0x51f35a[_0x179093(0x2a6)]),this[_0x179093(0x21a)]['getTypeOfUnitDisposed$'](_0x51f35a[_0x179093(0x32b)]))[_0x179093(0x273)](_0x43c088(this[_0x179093(0x322)]))[_0x179093(0x2dc)](_0x4bbce5=>{const _0x5b9a2d=_0x179093,_0x4fc56a=_0x4bbce5[_0x5b9a2d(0x2c6)](),_0x50f015=this[_0x5b9a2d(0x2e9)][_0x5b9a2d(0x2ee)](_0x4fc56a);_0x50f015&&(_0x50f015[_0x5b9a2d(0x2e6)](),this[_0x5b9a2d(0x2e9)][_0x5b9a2d(0x324)](_0x4fc56a));});}async['_startSheetCollabCursor'](_0x3c9648){const _0x1c0f56=_0x183824,_0x32578a=await this[_0x1c0f56(0x210)][_0x1c0f56(0x2ba)](_0x3c9648),_0x8afedf=this['_injector'][_0x1c0f56(0x311)](Be,_0x3c9648,_0x32578a);return _0x8afedf[_0x1c0f56(0x269)](),_0x8afedf;}async[_0x183824(0x16c)](_0x489fec){const _0x2d7e4d=_0x183824,_0x552666=await this['_collabSessionService']['requireSession'](_0x489fec),_0x1a43c3=this[_0x2d7e4d(0x384)][_0x2d7e4d(0x311)](xe,_0x489fec,_0x552666);return _0x1a43c3['init'](),_0x1a43c3;}};H=Wi([Ce(0x0,_0x3adc76),Ce(0x1,_0x2b5bcf(_0x138ef1)),Ce(0x2,_0x2b5bcf(_0x559838))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x6b72c,_0x46204d){const _0x465ce2=_0x183824;let {radius:_0x329134,width:_0x34fca1,height:_0x5f3fa5}=_0x46204d;_0x329134=_0x329134!=null?_0x329134:0x0,_0x34fca1=_0x34fca1!=null?_0x34fca1:0x1e,_0x5f3fa5=_0x5f3fa5!=null?_0x5f3fa5:0x1e;let _0x3ec101=0x0,_0x36e790=0x0,_0x24934e=0x0;_0x3ec101=_0x36e790=_0x24934e=Math[_0x465ce2(0x163)](_0x329134,_0x34fca1/0x2,_0x5f3fa5/0x2),_0x6b72c['beginPath'](),_0x6b72c[_0x465ce2(0x2be)](_0x3ec101,0x0),_0x6b72c['lineTo'](_0x34fca1-_0x36e790,0x0),_0x6b72c[_0x465ce2(0x1f2)](_0x34fca1-_0x36e790,_0x36e790,_0x36e790,Math['PI']*0x3/0x2,0x0,!0x1),_0x6b72c['lineTo'](_0x34fca1,_0x5f3fa5-_0x24934e),_0x6b72c[_0x465ce2(0x1f2)](_0x34fca1-_0x24934e,_0x5f3fa5-_0x24934e,_0x24934e,0x0,Math['PI']/0x2,!0x1),_0x6b72c['lineTo'](0x0,_0x5f3fa5),_0x6b72c[_0x465ce2(0x335)](0x0,_0x3ec101),_0x6b72c[_0x465ce2(0x1f2)](_0x3ec101,_0x3ec101,_0x3ec101,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6b72c[_0x465ce2(0x190)](),_0x46204d[_0x465ce2(0x327)]&&(_0x6b72c[_0x465ce2(0x360)](),_0x6b72c[_0x465ce2(0x30f)]=_0x46204d[_0x465ce2(0x327)],_0x46204d[_0x465ce2(0x36f)]===_0x465ce2(0x332)?_0x6b72c['fill']('evenodd'):_0x6b72c[_0x465ce2(0x327)](),_0x6b72c['restore']());}class ve extends _0x19cbf1{constructor(_0x15d91a,_0x169b3c){const _0x409065=_0x183824;super(_0x15d91a,_0x169b3c),_(this,_0x409065(0x281)),_(this,_0x409065(0x24a)),(this['color']=_0x169b3c==null?void 0x0:_0x169b3c[_0x409065(0x281)],this[_0x409065(0x24a)]=_0x169b3c==null?void 0x0:_0x169b3c[_0x409065(0x24a)]);}static['drawWith'](_0x441c18,_0x122011){const _0x10c2e0=_0x183824,{text:_0xe48b83,color:_0x4befb2}=_0x122011;_0x441c18['save'](),_0x441c18[_0x10c2e0(0x2e2)]=_0x10c2e0(0x16d);const _0x1237d1=_0x441c18[_0x10c2e0(0x1d9)](_0xe48b83)[_0x10c2e0(0x1a8)],_0x47f136=Math[_0x10c2e0(0x163)](_0x1237d1+0x2*Re,at);ji(_0x441c18,{'height':Q,'radius':0x4,'width':_0x47f136,'fill':_0x4befb2}),_0x441c18['fillStyle']=_0x10c2e0(0x396);const _0x3aacaf=Re,_0x554f91=Q-Vi,_0x36c992=at-0x2*Re;if(_0x1237d1>_0x36c992){let _0x3d653d='',_0x4c85e5=0x0;for(const _0x13b128 of _0xe48b83){const _0x5905ca=_0x441c18['measureText'](_0x13b128)[_0x10c2e0(0x1a8)];if(_0x4c85e5+_0x5905ca<=_0x36c992-_0x441c18['measureText'](_0x10c2e0(0x20e))[_0x10c2e0(0x1a8)])_0x3d653d+=_0x13b128,_0x4c85e5+=_0x5905ca;else{_0x3d653d+=_0x10c2e0(0x20e);break;}}_0x441c18[_0x10c2e0(0x39b)](_0x3d653d,_0x3aacaf,_0x554f91);}else _0x441c18[_0x10c2e0(0x39b)](_0xe48b83,_0x3aacaf,_0x554f91);_0x441c18[_0x10c2e0(0x254)]();}['_draw'](_0x1c379a){const _0x28c8e6=_0x183824;ve[_0x28c8e6(0x325)](_0x1c379a,this);}}const De='collab-text-anchor-',Xi=_0x183824(0x348),Gi=_0x183824(0x27c),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x183824(0x2fb);class ct{constructor(_0x272364,_0x565535,_0x525e8a,_0x54f8e8){const _0x186185=_0x183824;_(this,_0x186185(0x1d6),[]),_(this,_0x186185(0x2b4),null),_(this,_0x186185(0x224),null),_(this,_0x186185(0x265),null),_(this,_0x186185(0x15f),null),_(this,'_eventUnsubscribe',null),(this[_0x186185(0x203)]=_0x272364,this['_scene']=_0x565535,this[_0x186185(0x222)]=_0x525e8a,this[_0x186185(0x2b1)]=_0x54f8e8,this['_render']());}set[_0x183824(0x1a4)](_0x31f6db){const _0x252dcb=_0x183824;_0x31f6db?(this[_0x252dcb(0x265)]&&this[_0x252dcb(0x265)][_0x252dcb(0x30c)](),this[_0x252dcb(0x224)]&&this[_0x252dcb(0x224)]['show']()):(this[_0x252dcb(0x265)]&&this[_0x252dcb(0x265)][_0x252dcb(0x18a)](),this[_0x252dcb(0x224)]&&this['_textBubble'][_0x252dcb(0x30c)]());}['dispose'](){const _0x4bc2db=_0x183824;for(const _0xbb0081 of this[_0x4bc2db(0x1d6)])_0xbb0081[_0x4bc2db(0x2e6)]();this[_0x4bc2db(0x224)]&&this['_textBubble']['dispose'](),this[_0x4bc2db(0x265)]&&this[_0x4bc2db(0x265)][_0x4bc2db(0x2e6)](),this[_0x4bc2db(0x2b4)]&&this[_0x4bc2db(0x2b4)][_0x4bc2db(0x2e6)](),this[_0x4bc2db(0x21d)]&&this[_0x4bc2db(0x21d)]();}[_0x183824(0x27f)](){const _0x536d77=_0x183824;var _0x165943;const {_docSkeleton:_0x5e5386,_document:_0x3c4905}=this,{color:_0x27432d,name:_0x17970b,ranges:_0x4e20f3}=this[_0x536d77(0x203)],_0x37f47b=_0x3c4905[_0x536d77(0x2fd)](),{docsLeft:_0x295e53,docsTop:_0x418c41}=_0x37f47b,_0xcfdd6b=new _0x4e52e4(_0x37f47b,_0x5e5386);for(const {startOffset:_0x16a541,endOffset:_0x4ab763,rangeType:_0x41b7b5,segmentId:_0x239262,segmentPage:_0x12fc62,collapsed:_0x532dce,isActive:_0x14deed}of _0x4e20f3){const _0x41b6db=_0x5e5386['findNodePositionByCharIndex'](_0x16a541,!0x0,_0x239262,_0x12fc62);let _0x98dce9=_0x5e5386[_0x536d77(0x1d4)](_0x4ab763,!0x0,_0x239262,_0x12fc62);if(_0x98dce9==null&&(_0x98dce9=_0x5e5386[_0x536d77(0x1d4)](_0x4ab763-0x1,!0x1,_0x239262,_0x12fc62)),_0x14deed){const {contentBoxPointGroup:_0x4ee3e3}=_0xcfdd6b[_0x536d77(0x186)](_0x98dce9,_0x98dce9);if(_0x4ee3e3[_0x536d77(0x2ad)]===0x0)continue;this[_0x536d77(0x380)](_0x27432d,_0x4ee3e3,_0x295e53,_0x418c41,_0x17970b),this[_0x536d77(0x21d)]=this[_0x536d77(0x164)]();}if(_0x41b6db&&_0x98dce9){if(_0x41b7b5===_0x42a564[_0x536d77(0x270)]){const _0x48e5ba=new _0x388c2f(_0x37f47b,_0x5e5386),{pointGroup:_0x18f6c6}=(_0x165943=_0x48e5ba[_0x536d77(0x186)](_0x41b6db,_0x98dce9))!=null?_0x165943:{};if(_0x18f6c6==null||_0x18f6c6['length']===0x0)continue;this['_drawRectRange'](_0x27432d,_0x18f6c6,_0x295e53,_0x418c41);}else{if(!_0x532dce){const {borderBoxPointGroup:_0x46dd88}=_0xcfdd6b[_0x536d77(0x186)](_0x41b6db,_0x98dce9);if(_0x46dd88[_0x536d77(0x2ad)]===0x0)continue;this[_0x536d77(0x388)](_0x27432d,_0x46dd88,_0x295e53,_0x418c41);}}}}}['_drawAnchor'](_0x665039,_0x48906b,_0x3dee62,_0x3093de,_0x5d2287){const _0x27a53f=_0x183824,_0x948ddc=this[_0x27a53f(0x336)](_0x48906b),{left:_0x17b700,top:_0x1e1755,height:_0x378b67}=_0x948ddc,_0x4f0f01=this[_0x27a53f(0x209)](),_0x2b3bab=zi/_0x4f0f01,_0x5de501=new _0x598e21(De+_0xdf4fd1(z),{'left':_0x17b700+_0x3dee62-_0x2b3bab,'top':_0x1e1755+_0x3093de,'height':_0x378b67,'width':Ki,'fill':_0x665039||_0x2a9dd4(_0x1a02b1[_0x27a53f(0x272)],0x0),'strokeWidth':_0x2b3bab,'stroke':Ji,'evented':!0x0});this['_anchor']=_0x5de501,this['_scene']['addObject'](_0x5de501,_0x4767d4);const _0x5b5f38=new _0x598e21(De+_0xdf4fd1(z),{'left':_0x17b700+_0x3dee62-_0x2b3bab,'top':_0x1e1755+_0x3093de-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x665039||_0x2a9dd4(_0x1a02b1[_0x27a53f(0x272)],0x0),'strokeWidth':0x0,'stroke':_0x665039||_0x2a9dd4(_0x1a02b1[_0x27a53f(0x272)],0x0),'evented':!0x1});this['_anchorDot']=_0x5b5f38,this[_0x27a53f(0x343)][_0x27a53f(0x26e)](_0x5b5f38,_0x4767d4);const _0x3ca02e=new ve(De+_0xdf4fd1(z),{'left':_0x17b700+_0x3dee62-_0x2b3bab,'top':_0x1e1755+_0x3093de-Q,'text':_0x5d2287,'color':_0x665039});this['_textBubble']=_0x3ca02e,this[_0x27a53f(0x343)][_0x27a53f(0x26e)](_0x3ca02e,_0x4767d4),this['_hover']=!0x1;}[_0x183824(0x164)](){const _0x513feb=_0x183824,_0x15c126=this[_0x513feb(0x2b4)][_0x513feb(0x274)][_0x513feb(0x22c)](()=>{const _0x5eef07=_0x513feb;this[_0x5eef07(0x1a4)]=!0x0;}),_0x30e5cd=this['_anchor'][_0x513feb(0x21c)][_0x513feb(0x22c)](()=>{const _0x1a91d3=_0x513feb;this[_0x1a91d3(0x15f)]&&clearTimeout(this[_0x1a91d3(0x15f)]),this['_hideTimer']=setTimeout(()=>{const _0x237df4=_0x1a91d3;this[_0x237df4(0x1a4)]=!0x1;},0x7d0);});return()=>{const _0xf717c3=_0x513feb;_0x15c126[_0xf717c3(0x242)](),_0x30e5cd[_0xf717c3(0x242)]();};}[_0x183824(0x388)](_0x3217fa,_0x52dfb1,_0x238098,_0x353f7f){const _0xf66c2f=_0x183824,_0x1ffa9b=new _0x4a9f36(_0x3217fa)[_0xf66c2f(0x289)](0.2)[_0xf66c2f(0x149)](),_0x4ffbd2=new _0x47da19(Xi+_0xdf4fd1(z),{'pointsGroup':_0x52dfb1,'fill':_0x1ffa9b||_0x2a9dd4(_0x1a02b1[_0xf66c2f(0x272)],0.2),'left':_0x238098,'top':_0x353f7f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xf66c2f(0x320)](_0x4ffbd2),this[_0xf66c2f(0x343)][_0xf66c2f(0x26e)](_0x4ffbd2,_0x4767d4);}[_0x183824(0x233)](_0x292b62,_0x1d68a4,_0x149ace,_0x4b34ca){const _0x5b33fd=_0x183824,_0x12cb78=new _0x4a9f36(_0x292b62)[_0x5b33fd(0x289)](0.2)['toRgbString'](),_0x5c17be=new _0x47da19(Gi+_0xdf4fd1(z),{'pointsGroup':_0x1d68a4,'fill':_0x12cb78||_0x2a9dd4(_0x1a02b1['black'],0.2),'left':_0x149ace,'top':_0x4b34ca,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b33fd(0x1d6)][_0x5b33fd(0x320)](_0x5c17be),this['_scene'][_0x5b33fd(0x26e)](_0x5c17be,_0x4767d4);}[_0x183824(0x336)](_0x3b2e99){const _0x18875c=_0x3b2e99[0x0],_0xefe599=_0x18875c[0x0],_0x506bfc=_0x18875c[0x2],{x:_0x4f69fe,y:_0x19fe02}=_0xefe599,{x:_0x3c8cff,y:_0x975f1e}=_0x506bfc;return{'left':_0x4f69fe,'top':_0x19fe02,'width':_0x3c8cff-_0x4f69fe,'height':_0x975f1e-_0x19fe02};}['_getScale'](){const _0x135e97=_0x183824,{scaleX:_0x415735,scaleY:_0x208a76}=this['_scene'][_0x135e97(0x183)]();return Math[_0x135e97(0x2d4)](_0x415735,_0x208a76);}}var Zi=Object['getOwnPropertyDescriptor'],Qi=(_0x517cfd,_0x308e5d,_0x4721c7,_0x34cfb9)=>{const _0x1b771c=_0x183824;for(var _0x14c276=_0x34cfb9>0x1?void 0x0:_0x34cfb9?Zi(_0x308e5d,_0x4721c7):_0x308e5d,_0x1d44d6=_0x517cfd[_0x1b771c(0x2ad)]-0x1,_0x55e86a;_0x1d44d6>=0x0;_0x1d44d6--)(_0x55e86a=_0x517cfd[_0x1d44d6])&&(_0x14c276=_0x55e86a(_0x14c276)||_0x14c276);return _0x14c276;},ie=(_0x47b977,_0x442431)=>(_0x3731d9,_0x5ef2ae)=>_0x442431(_0x3731d9,_0x5ef2ae,_0x47b977);let Fe=class extends _0x289c93{constructor(_0x4d85b4,_0x1365aa,_0x424fe5,_0x2501c5,_0x1155ea){const _0x3eb235=_0x183824;super(),_(this,_0x3eb235(0x2d8),[]),_(this,_0x3eb235(0x174),[]),(this[_0x3eb235(0x331)]=_0x4d85b4,this[_0x3eb235(0x2ae)]=_0x1365aa,this[_0x3eb235(0x2e3)]=_0x424fe5,this[_0x3eb235(0x368)]=_0x2501c5,this[_0x3eb235(0x1ea)]=_0x1155ea,this[_0x3eb235(0x193)]());}[_0x183824(0x193)](){const _0x513187=_0x183824,_0x71bbf1=this[_0x513187(0x331)]['unitId'],_0x461506=this['_docSkeletonManagerService'];this[_0x513187(0x1f4)](_0xd7fb49([this[_0x513187(0x2e3)][_0x513187(0x197)](_0x71bbf1),this[_0x513187(0x1ea)]['currentTheme$']])[_0x513187(0x273)](_0x2ebebf(([_0x2859a9,_0x3040d8])=>({'skeleton':_0x461506[_0x513187(0x345)](),'cursors':[..._0x2859a9['values']()][_0x513187(0x1d0)](_0x2491dc=>({..._0x2491dc,'color':this['_themeService']['getColorFromTheme'](_0x2491dc[_0x513187(0x281)])}))})))[_0x513187(0x2dc)](_0x34de67=>{const _0x3a7b1a=_0x513187;if(this[_0x3a7b1a(0x26a)](),_0x34de67){const {skeleton:_0x672a0f,cursors:_0x419be5}=_0x34de67;this[_0x3a7b1a(0x33e)](_0x672a0f,_0x419be5);}})),this[_0x513187(0x369)](),this[_0x513187(0x2af)]();}['_updateCollabCursors'](_0x5c10f2,_0x9beb90){const _0x533414=_0x183824,{scene:_0x31e14e,mainComponent:_0x50ddc8}=this[_0x533414(0x331)],_0x2a02d5=_0x9beb90[_0x533414(0x357)](_0x2363c5=>new ct(_0x2363c5,_0x31e14e,_0x5c10f2,_0x50ddc8));this[_0x533414(0x2d8)]=_0x2a02d5,this[_0x533414(0x174)]=_0x9beb90;}['_refreshCollabCursors'](){const _0x5e9f58=_0x183824;this[_0x5e9f58(0x26a)]();const {scene:_0x16aba5,mainComponent:_0x35ebc6}=this['_context'],_0x329fc4=this['_docSkeletonManagerService'][_0x5e9f58(0x345)](),_0x5a2555=this[_0x5e9f58(0x174)][_0x5e9f58(0x357)](_0x3d8b0f=>new ct(_0x3d8b0f,_0x16aba5,_0x329fc4,_0x35ebc6));this[_0x5e9f58(0x2d8)]=_0x5a2555;}[_0x183824(0x26a)](){const _0x2a7a4f=_0x183824;this['_cursorShapes'][_0x2a7a4f(0x28a)](_0x3b2e66=>_0x3b2e66['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x17a7e1=_0x183824,_0x2e0d48=[_0x286594['id']];this['disposeWithMe'](this[_0x17a7e1(0x368)][_0x17a7e1(0x1f3)](_0x2b59ee=>{const _0x5eaaf5=_0x17a7e1;_0x2e0d48['includes'](_0x2b59ee['id'])&&_0x2b59ee[_0x5eaaf5(0x2e7)]['unitId']===this['_context'][_0x5eaaf5(0x14b)]&&this[_0x5eaaf5(0x28f)]();}));}[_0x183824(0x369)](){const _0x1e5944=_0x183824;this[_0x1e5944(0x1f4)](_0x405042(this['_context']['engine']['onTransformChange$'])[_0x1e5944(0x273)](_0x28ac8d(_0x528b62=>_0x528b62[_0x1e5944(0x28c)]===_0x4e63d7[_0x1e5944(0x23c)]),_0x13ce25(0x10))[_0x1e5944(0x2dc)](()=>{const _0xabc15b=_0x1e5944;this[_0xabc15b(0x28f)]();}));}};Fe=Qi([ie(0x1,_0x2b5bcf(_0x3b8cbc)),ie(0x2,_0x2b5bcf(H)),ie(0x3,_0x3bba43),ie(0x4,_0x2b5bcf(_0xae25d3))],Fe);const qi=0x1,en=1.5;class tn extends _0x19cbf1{constructor(_0x38c202,_0x4c4219){const _0xa100f6=_0x183824;super(_0x38c202,_0x4c4219),_(this,'_color'),_(this,'_hovered',!0x1),_(this,_0xa100f6(0x399)),_(this,_0xa100f6(0x1a5),''),_(this,_0xa100f6(0x382),'top'),_(this,_0xa100f6(0x162)),(_0x4c4219&&this['setShapeProps'](_0x4c4219),this[_0xa100f6(0x274)][_0xa100f6(0x22c)](()=>this[_0xa100f6(0x30e)]({'hovered':!0x0})),this[_0xa100f6(0x21c)]['subscribeEvent'](()=>this[_0xa100f6(0x30e)]({'hovered':!0x1})));}['setShapeProps'](_0x16d717){const _0x516cd2=_0x183824;var _0x21fd21,_0x15d175,_0x279c7b,_0x4e4012,_0x213642,_0x5d5184;this['_color']=(_0x21fd21=_0x16d717[_0x516cd2(0x281)])!=null?_0x21fd21:this[_0x516cd2(0x32d)],this['_hovered']=(_0x15d175=_0x16d717['hovered'])!=null?_0x15d175:this[_0x516cd2(0x256)],this['_range']=(_0x279c7b=_0x16d717['range'])!=null?_0x279c7b:this[_0x516cd2(0x399)],this[_0x516cd2(0x1a5)]=(_0x4e4012=_0x16d717[_0x516cd2(0x24e)])!=null?_0x4e4012:this['_name'],this[_0x516cd2(0x382)]=(_0x213642=_0x16d717[_0x516cd2(0x300)])!=null?_0x213642:this['_labelPosition'],this['_backgroundColor']=(_0x5d5184=_0x16d717[_0x516cd2(0x1b5)])!=null?_0x5d5184:this['_backgroundColor'],this[_0x516cd2(0x166)]({'width':_0x16d717[_0x516cd2(0x1a8)],'height':_0x16d717[_0x516cd2(0x1ad)]});}[_0x183824(0x398)](_0x27fc4a){const _0x2da737=_0x183824,{row:_0x52a9ec,column:_0x1463fa}=_0x27fc4a;if(_0x52a9ec>=this['_range'][_0x2da737(0x262)]&&_0x52a9ec<=this[_0x2da737(0x399)]['endRow']&&_0x1463fa>=this['_range'][_0x2da737(0x181)]&&_0x1463fa<=this[_0x2da737(0x399)][_0x2da737(0x20f)]){this[_0x2da737(0x30e)]({'hovered':!0x0});return;}this[_0x2da737(0x30e)]({'hovered':!0x1});}[_0x183824(0x231)](_0x32a93c){return!0x1;}['_draw'](_0x42be7c){const _0x53ef61=_0x183824;_0x598e21[_0x53ef61(0x325)](_0x42be7c,{'width':this['width'],'height':this[_0x53ef61(0x1ad)],'strokeWidth':en,'stroke':this[_0x53ef61(0x32d)],'evented':!0x1,'fill':this[_0x53ef61(0x162)]}),this['_hovered']&&(_0x42be7c[_0x53ef61(0x360)](),_0x42be7c[_0x53ef61(0x29e)](0x1,0x0,0x0,0x1,this[_0x53ef61(0x1a8)],this[_0x53ef61(0x382)]===_0x53ef61(0x394)?0x0:-Q),ve[_0x53ef61(0x325)](_0x42be7c,{'text':this[_0x53ef61(0x1a5)],'color':this[_0x53ef61(0x32d)]}),_0x42be7c['restore']());}}var sn=Object['getOwnPropertyDescriptor'],nn=(_0x5c7395,_0x5a4204,_0x26db95,_0xf421fb)=>{for(var _0x4726d0=_0xf421fb>0x1?void 0x0:_0xf421fb?sn(_0x5a4204,_0x26db95):_0x5a4204,_0x5f0eb4=_0x5c7395['length']-0x1,_0x595bb4;_0x5f0eb4>=0x0;_0x5f0eb4--)(_0x595bb4=_0x5c7395[_0x5f0eb4])&&(_0x4726d0=_0x595bb4(_0x4726d0)||_0x4726d0);return _0x4726d0;},be=(_0x13633a,_0x27be77)=>(_0x275fab,_0x206285)=>_0x27be77(_0x275fab,_0x206285,_0x13633a);const rn=0x1389;let ke=class extends _0x289c93{constructor(_0x31039b,_0x4c07bc,_0x37300a,_0x37880d){const _0x359e65=_0x183824;super(),_(this,'_cursors',new Set()),_(this,'_lastPointer',null),(this[_0x359e65(0x331)]=_0x31039b,this['_sheetSkeletonManagerService']=_0x4c07bc,this['_collabCursorController']=_0x37300a,this[_0x359e65(0x1ea)]=_0x37880d,this['_init']());}[_0x183824(0x193)](){const _0x3fd464=_0x183824;this['_sheetSkeletonManagerService'][_0x3fd464(0x35b)][_0x3fd464(0x273)](_0x302d5b(this['dispose$']),_0x2821fd(_0x3ac86a=>{const _0x1bebb5=_0x3fd464;if(_0x3ac86a){const _0x3a8370=_0x3ac86a[_0x1bebb5(0x178)];return _0xd7fb49(this['_collabCursorController'][_0x1bebb5(0x197)](this[_0x1bebb5(0x331)][_0x1bebb5(0x14b)]),this[_0x1bebb5(0x1ea)][_0x1bebb5(0x296)])['pipe'](_0x2ebebf(([_0x5829d5,_0x39f9af])=>{const _0x5d6042=_0x1bebb5,_0x455264=new Map();return _0x5829d5[_0x5d6042(0x28a)]((_0x1cd63c,_0x229d08)=>{const _0x4b065e=_0x5d6042;if(_0x1cd63c['sheetID']===_0x3a8370){const _0x28d2b9={..._0x1cd63c};_0x28d2b9[_0x4b065e(0x281)]=this[_0x4b065e(0x1ea)][_0x4b065e(0x14e)](_0x1cd63c[_0x4b065e(0x281)]),_0x455264[_0x4b065e(0x317)](_0x229d08,_0x28d2b9);}}),{'skeleton':_0x3ac86a,'cursors':_0x455264};}));}return _0x4ccce2({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5c967a,cursors:_0x5c6701})=>{const _0x38229d=_0x3fd464;this[_0x38229d(0x26a)](),_0x5c967a&&this['_updateCollabCursors'](_0x5c967a,_0x5c6701);}),this[_0x3fd464(0x2c2)][_0x3fd464(0x35b)][_0x3fd464(0x2dc)](_0x334bac=>{const _0x114eda=_0x3fd464;if(_0x334bac==null)return;const {skeleton:_0x23ce90}=_0x334bac,{scene:_0x424e8b}=this['_context'];_0x424e8b[_0x114eda(0x1a0)]['subscribeEvent'](_0x2fc487(_0x3fbc13=>{const _0x592816=_0x114eda;var _0x2abe4c,_0x212395;const {offsetX:_0x1e5877,offsetY:_0x2a06dd}=_0x3fbc13,{x:_0x26b964,y:_0x56ce59}=_0x424e8b[_0x592816(0x214)](_0x1346de[_0x592816(0x1dd)]([_0x1e5877,_0x2a06dd])),{scaleX:_0x419369,scaleY:_0x57924d}=_0x424e8b['getAncestorScale'](),_0x1a89ff=_0x424e8b[_0x592816(0x389)](_0x2a915a[_0x592816(0x2a4)]),_0x410770=_0x424e8b[_0x592816(0x391)](_0x1346de[_0x592816(0x1dd)]([_0x26b964,_0x56ce59]),_0x1a89ff),_0x310726=_0x23ce90[_0x592816(0x23b)](_0x1e5877,_0x2a06dd,_0x419369,_0x57924d,_0x410770);((_0x2abe4c=this[_0x592816(0x2f4)])==null?void 0x0:_0x2abe4c[_0x592816(0x230)])===_0x310726['column']&&((_0x212395=this[_0x592816(0x2f4)])==null?void 0x0:_0x212395[_0x592816(0x2e8)])===_0x310726[_0x592816(0x2e8)]||this[_0x592816(0x174)]['forEach'](_0x5807bd=>{const _0xac479b=_0x592816;_0x5807bd[_0xac479b(0x398)](_0x310726);});},0x64));});}[_0x183824(0x33e)](_0x2505c9,_0x1eb7b8){const _0x228eeb=_0x183824;var _0x1014e5;const _0x4a7b00=(_0x1014e5=this[_0x228eeb(0x2c2)][_0x228eeb(0x2ff)]())==null?void 0x0:_0x1014e5[_0x228eeb(0x326)];if(!_0x4a7b00)return;const _0x585950=this[_0x228eeb(0x302)]();if(!_0x585950)return;this[_0x228eeb(0x174)][_0x228eeb(0x28a)](_0x49210e=>{const _0x22c527=_0x228eeb;_0x49210e[_0x22c527(0x23f)]();});const {scene:_0x3d95d0}=_0x585950,_0x3fecfd=on(Array['from'](_0x1eb7b8[_0x228eeb(0x205)]()))['map'](_0x592c20=>{const _0x185d43=_0x228eeb,{color:_0x170fa7,range:_0x307173,name:_0x3a39c8,selection:_0x3a4a16,sheetID:_0x9243ff}=_0x592c20,{startColumn:_0x70e28a,startRow:_0x3c30cb,endColumn:_0x1ad86b,endRow:_0xb10368}=_0x307173,_0x45e8cf=_0x47997a(_0x3c30cb,_0x70e28a,_0x3d95d0,_0x4a7b00),_0x11bfb7=_0x47997a(_0xb10368,_0x1ad86b,_0x3d95d0,_0x4a7b00),{columnHeaderHeightAndMarginTop:_0x5a479e}=_0x4a7b00,{startX:_0x1937c6,startY:_0xd28fe0}=_0x45e8cf,{endX:_0x32c0d2,endY:_0x312af3}=_0x11bfb7,_0x4a8e4f=_0x32c0d2-_0x1937c6,_0x2cb5dd=_0x312af3-_0xd28fe0,_0x338b4b={'labelPosition':_0xd28fe0-_0x5a479e>=Q?_0x185d43(0x30d):_0x185d43(0x394),'sheetID':_0x9243ff,'range':_0x307173,'color':_0x170fa7,'name':_0x3a39c8,'selection':_0x3a4a16,'left':_0x1937c6,'top':_0xd28fe0,'width':_0x4a8e4f,'height':_0x2cb5dd,'evented':!0x1,'zIndex':rn};return new tn(_0x3a39c8,_0x338b4b);});_0x3d95d0[_0x228eeb(0x38b)](_0x3fecfd,qi),this['_cursors']=new Set(_0x3fecfd);}[_0x183824(0x26a)](){const _0x488cd3=_0x183824;var _0x12d6ae;(_0x12d6ae=this[_0x488cd3(0x174)])==null||_0x12d6ae[_0x488cd3(0x28a)](_0x1fdeea=>_0x1fdeea[_0x488cd3(0x2e6)]());}[_0x183824(0x302)](){const _0x2b6757=_0x183824;return _0x3a482f(this[_0x2b6757(0x331)][_0x2b6757(0x315)],this['_context']);}};ke=nn([be(0x1,_0x2b5bcf(_0x411cb9)),be(0x2,_0x2b5bcf(H)),be(0x3,_0x2b5bcf(_0xae25d3))],ke);function on(_0x43bf85){const _0x4238e6=_0x183824,_0x3aac45=new Map();return _0x43bf85[_0x4238e6(0x28a)](_0x47e411=>{const _0x3e5e02=_0x4238e6;if(_0x3aac45['has'](_0x47e411['selection'])){const _0x430b6b=_0x3aac45[_0x3e5e02(0x2ee)](_0x47e411[_0x3e5e02(0x14d)]);_0x430b6b[_0x3e5e02(0x24e)]+=',\x20'+_0x47e411[_0x3e5e02(0x24e)];}else _0x3aac45['set'](_0x47e411[_0x3e5e02(0x14d)],_0x47e411);}),Array['from'](_0x3aac45['values']());}var an=Object[_0x183824(0x32e)],cn=(_0x25f108,_0x2027d4,_0x5318d7,_0x18af7b)=>{const _0x33af7a=_0x183824;for(var _0x3113b5=_0x18af7b>0x1?void 0x0:_0x18af7b?an(_0x2027d4,_0x5318d7):_0x2027d4,_0x2e233a=_0x25f108[_0x33af7a(0x2ad)]-0x1,_0x53de12;_0x2e233a>=0x0;_0x2e233a--)(_0x53de12=_0x25f108[_0x2e233a])&&(_0x3113b5=_0x53de12(_0x3113b5)||_0x3113b5);return _0x3113b5;},F=(_0x13c849,_0x232a5f)=>(_0x5ac9ac,_0x3bf1d1)=>_0x232a5f(_0x5ac9ac,_0x3bf1d1,_0x13c849);let _e=class extends _0x37986f{constructor(_0x1960f5,_0x1a64c5,_0x5c2bb1,_0x50c2b5,_0x14bc4d,_0x42ee82){const _0x61b07b=_0x183824;super(),this[_0x61b07b(0x192)]=_0x1960f5,this[_0x61b07b(0x2d0)]=_0x1a64c5,this['_collaborationUIEventService']=_0x5c2bb1,this[_0x61b07b(0x350)]=_0x50c2b5,this[_0x61b07b(0x2e5)]=_0x14bc4d,this['_localeService']=_0x42ee82,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x183824(0x26c)](){const _0x3bbe5c=_0x183824;this[_0x3bbe5c(0x1f4)](this[_0x3bbe5c(0x192)][_0x3bbe5c(0x26b)](()=>{const _0x51fcf2=_0x3bbe5c;if(this[_0x51fcf2(0x2d0)][_0x51fcf2(0x1c1)][_0x51fcf2(0x25c)])return this[_0x51fcf2(0x275)]['t']('collaboration.offline-data-not-saved');}));}[_0x183824(0x329)](){const _0x2ff2e1=_0x183824;this[_0x2ff2e1(0x1f4)](this[_0x2ff2e1(0x2a5)][_0x2ff2e1(0x264)][_0x2ff2e1(0x2dc)](_0x2a7785=>{const _0x2bd6a1=_0x2ff2e1;_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x36c)]&&this[_0x2bd6a1(0x350)][_0x2bd6a1(0x18a)]({'type':_0x4eb2af['Warning'],'content':this['_localeService']['t'](_0x2bd6a1(0x194))}),_0x2a7785['id']===_0x34d050['CLOSE_ROOM']&&this[_0x2bd6a1(0x350)][_0x2bd6a1(0x18a)]({'type':_0x4eb2af['Warning'],'content':this[_0x2bd6a1(0x275)]['t'](_0x2bd6a1(0x1d7))}),_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x1b7)]&&this[_0x2bd6a1(0x2e5)][_0x2bd6a1(0x18a)]({'title':this[_0x2bd6a1(0x275)]['t']('permission.title'),'content':this[_0x2bd6a1(0x275)]['t'](_0x2bd6a1(0x390)),'type':_0x2bd6a1(0x17b),'duration':0x0}),_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x19d)]&&this[_0x2bd6a1(0x350)][_0x2bd6a1(0x18a)]({'type':_0x4eb2af[_0x2bd6a1(0x358)],'content':this[_0x2bd6a1(0x275)]['t'](_0x2bd6a1(0x1d7))+'('+_0x2a7785[_0x2bd6a1(0x2bd)]+')'}),_0x2a7785['id']===_0x34d050['JOIN_ROOM_FAILED']&&this[_0x2bd6a1(0x350)][_0x2bd6a1(0x18a)]({'type':_0x4eb2af['Warning'],'content':this[_0x2bd6a1(0x275)]['t'](_0x2a7785[_0x2bd6a1(0x2bd)]||'')}),_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x14c)]&&this[_0x2bd6a1(0x350)]['show']({'type':_0x4eb2af['Warning'],'content':this['_localeService']['t']('session.will-retry')}),_0x2a7785['id']===_0x34d050['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x4eb2af['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0x2a7785['id']===_0x34d050[_0x2bd6a1(0x2ed)]&&this['_messageService'][_0x2bd6a1(0x18a)]({'type':_0x4eb2af[_0x2bd6a1(0x358)],'content':this[_0x2bd6a1(0x275)]['t'](_0x2bd6a1(0x312))});}));}};_e=cn([F(0x0,_0x14d125),F(0x1,_0x2e19a0),F(0x2,_0x2b5bcf(_0x528420)),F(0x3,_0x1024be),F(0x4,_0x4e66ae),F(0x5,_0x2b5bcf(_0x458508))],_e);var _n=Object['getOwnPropertyDescriptor'],ln=(_0xb2a1e9,_0x2d2d72,_0x456def,_0x110d6f)=>{for(var _0xdc3405=_0x110d6f>0x1?void 0x0:_0x110d6f?_n(_0x2d2d72,_0x456def):_0x2d2d72,_0x236941=_0xb2a1e9['length']-0x1,_0x3cf1e5;_0x236941>=0x0;_0x236941--)(_0x3cf1e5=_0xb2a1e9[_0x236941])&&(_0xdc3405=_0x3cf1e5(_0xdc3405)||_0xdc3405);return _0xdc3405;},ne=(_0x40b19d,_0x19eda7)=>(_0x59f225,_0x33c26a)=>_0x19eda7(_0x59f225,_0x33c26a,_0x40b19d);let le=class extends _0x37986f{constructor(_0x42a874,_0x972f33,_0x4fb599,_0x44e41f){const _0x48099f=_0x183824;super(),_(this,_0x48099f(0x220)),(this[_0x48099f(0x384)]=_0x42a874,this[_0x48099f(0x1af)]=_0x972f33,this[_0x48099f(0x213)]=_0x4fb599,this[_0x48099f(0x359)]=_0x44e41f,this[_0x48099f(0x193)]());}['_init'](){const _0x591edd=_0x183824;this[_0x591edd(0x2ac)](),this[_0x591edd(0x2db)](),this['_monkeyPatchLogService'](),this[_0x591edd(0x16a)]();}[_0x183824(0x16a)](){const _0x12334b=_0x183824;this['disposeWithMe'](this['_collaborationSessionService']['socket$'][_0x12334b(0x2dc)](_0x50a6de=>{const _0x2e508c=_0x12334b;this[_0x2e508c(0x220)]=_0x50a6de==null?void 0x0:_0x50a6de['memberID'];}));}[_0x183824(0x2ac)](){const _0x52ad32=_0x183824,_0x1b5c7e=_0x54eb4d=>{const _0xbc81ec=_0x3e21;var _0x30b82c;this['_uploadLog']('error',_0xbc81ec(0x29f)+_0x54eb4d[_0xbc81ec(0x1c3)]+'\x20at\x20'+_0x54eb4d['filename']+':'+_0x54eb4d[_0xbc81ec(0x21b)]+':'+_0x54eb4d[_0xbc81ec(0x1c0)]+'\x0a'+(((_0x30b82c=_0x54eb4d[_0xbc81ec(0x17b)])==null?void 0x0:_0x30b82c[_0xbc81ec(0x266)])||''));};window[_0x52ad32(0x22e)](_0x52ad32(0x17b),_0x1b5c7e),this[_0x52ad32(0x1f4)](()=>{const _0x16539a=_0x52ad32;window[_0x16539a(0x2e4)](_0x16539a(0x17b),_0x1b5c7e);});}[_0x183824(0x2db)](){const _0x104e17=_0x183824,_0x58430c=_0x289c34=>{const _0x28b225=_0x3e21;this['_uploadLog'](_0x28b225(0x17b),_0x28b225(0x292)+_0x289c34['reason']);};window['addEventListener'](_0x104e17(0x365),_0x58430c),this[_0x104e17(0x1f4)](()=>{const _0x141e66=_0x104e17;window[_0x141e66(0x2e4)](_0x141e66(0x365),_0x58430c);});}[_0x183824(0x268)](){const _0x48ea9c=_0x183824,_0x5dd205=this[_0x48ea9c(0x213)][_0x48ea9c(0x17b)]['bind'](this[_0x48ea9c(0x213)]);this['_logService'][_0x48ea9c(0x17b)]=(..._0x9a065d)=>{const _0x5ae5e8=_0x48ea9c,_0x395fe9=_0x9a065d['map'](_0x581551=>_0x581551 instanceof Error?_0x581551[_0x5ae5e8(0x1c3)]+'\x0a'+_0x581551['stack']:String(_0x581551))[_0x5ae5e8(0x1db)]('\x20');this[_0x5ae5e8(0x1cf)]('error',_0x5ae5e8(0x227)+_0x395fe9),_0x5dd205(..._0x9a065d);},this[_0x48ea9c(0x1f4)](()=>{const _0x4c33ed=_0x48ea9c;this[_0x4c33ed(0x213)][_0x4c33ed(0x17b)]=_0x5dd205;});}[_0x183824(0x1cf)](_0xbc56a4,_0x2f41be){const _0x360373=_0x183824;try{const _0x4dd2bf={'userId':this[_0x360373(0x220)],'logLabel':_0xbc56a4,'content':_0x2f41be};this[_0x360373(0x1af)][_0x360373(0x176)]('/universer-api/frontend/logs',{'body':_0x4dd2bf})[_0x360373(0x307)](()=>{});}catch{}}};le=ln([ne(0x0,_0x2b5bcf(_0x138ef1)),ne(0x1,_0x2b5bcf(_0x2e6660)),ne(0x2,_0x2c105d),ne(0x3,_0x2b5bcf(_0x559838))],le);const hn=_0x183824(0x386),_t={};var un=Object[_0x183824(0x32e)],dn=(_0x3d6b3c,_0x1fcba8,_0x19160d,_0x484e20)=>{const _0x54a282=_0x183824;for(var _0x157d76=_0x484e20>0x1?void 0x0:_0x484e20?un(_0x1fcba8,_0x19160d):_0x1fcba8,_0x557bdc=_0x3d6b3c[_0x54a282(0x2ad)]-0x1,_0x4cefbd;_0x557bdc>=0x0;_0x557bdc--)(_0x4cefbd=_0x3d6b3c[_0x557bdc])&&(_0x157d76=_0x4cefbd(_0x157d76)||_0x157d76);return _0x157d76;},lt=(_0x5e924b,_0x15480b)=>(_0x28a9ac,_0x12a3bf)=>_0x15480b(_0x28a9ac,_0x12a3bf,_0x5e924b);let he=class{constructor(_0x5d62b4,_0x494e59){const _0x26a4d7=_0x183824;this[_0x26a4d7(0x27b)]=_0x5d62b4,this[_0x26a4d7(0x22d)]=_0x494e59;}[_0x183824(0x2df)](_0x2e51c5){const _0x580da7=_0x183824;this[_0x580da7(0x309)](_0x2e51c5),this[_0x580da7(0x225)](_0x2e51c5);}['transformRemoteChangeset'](_0x59368f){const _0x10ea5f=_0x183824,{unitID:_0x2d21b6}=_0x59368f,_0x4d8562=this[_0x10ea5f(0x22d)][_0x10ea5f(0x20b)](_0x2d21b6)[_0x10ea5f(0x2dd)](_0xbd1bcc),{redoCache:_0xdade00}=_0x4d8562['getUndoRedoMutationParamsCache']();if(_0xdade00[_0x10ea5f(0x2ad)]===0x0)return _0x59368f;let _0x1ce6e2=_0x4e99de['deepClone'](_0x59368f[_0x10ea5f(0x2ec)][0x0]);for(let _0x3b4f8e=0x0;_0x3b4f8e<_0xdade00['length'];_0x3b4f8e++){const _0x2be705={'id':_0x10ea5f(0x261),'params':{..._0xdade00[_0x3b4f8e]}},_0x3261c7=this[_0x10ea5f(0x27b)]['transformMutation'](_0x1ce6e2,_0x2be705,!0x1);if(_0x5b0c3f(_0x3261c7))throw _0x3261c7[_0x10ea5f(0x17b)];_0x1ce6e2=_0x3261c7[_0x10ea5f(0x2a2)];}return{..._0x4e99de[_0x10ea5f(0x371)](_0x59368f),'mutations':[_0x1ce6e2]};}[_0x183824(0x309)](_0x4c3d4b){const _0x2d56b7=_0x183824,{unitID:_0x5f26ff}=_0x4c3d4b,_0x46dad1=this[_0x2d56b7(0x22d)][_0x2d56b7(0x20b)](_0x5f26ff)['with'](_0xbd1bcc),{undoCache:_0x252eb9,redoCache:_0x306b70}=_0x46dad1[_0x2d56b7(0x22f)]();if(_0x252eb9['length']===0x0||_0x306b70['length']===0x0)return;const _0x4413e2=[],_0x6dcf4f=[];let _0x554e3e=_0x4e99de[_0x2d56b7(0x371)](_0x4c3d4b[_0x2d56b7(0x2ec)][0x0]),_0x3e9b12=_0x4e99de['deepClone'](_0x4c3d4b[_0x2d56b7(0x2ec)][0x0]);for(let _0x1c1589=_0x252eb9[_0x2d56b7(0x2ad)]-0x1;_0x1c1589>=0x0;_0x1c1589--){const _0x4b3410={'id':'doc.mutation.rich-text-editing','params':{..._0x252eb9[_0x1c1589]}},_0x4e73d9={'id':_0x2d56b7(0x261),'params':{..._0x306b70[_0x1c1589]}},_0x3071c4=this[_0x2d56b7(0x27b)][_0x2d56b7(0x155)](_0x554e3e,_0x4b3410,!0x1),_0xae01f1=this[_0x2d56b7(0x27b)][_0x2d56b7(0x155)](_0x3e9b12,_0x4e73d9,!0x1);if(_0x5b0c3f(_0x3071c4))throw _0x3071c4[_0x2d56b7(0x17b)];if(_0x5b0c3f(_0xae01f1))throw _0xae01f1[_0x2d56b7(0x17b)];_0x4413e2[_0x2d56b7(0x157)](_0x3071c4[_0x2d56b7(0x24f)][_0x2d56b7(0x2e7)]),_0x6dcf4f[_0x2d56b7(0x157)](_0xae01f1[_0x2d56b7(0x24f)][_0x2d56b7(0x2e7)]),_0x554e3e=_0x3071c4['m1Prime'],_0x3e9b12=_0xae01f1[_0x2d56b7(0x2a2)];}_0x46dad1[_0x2d56b7(0x2f7)]({'undoCache':_0x4413e2,'redoCache':_0x6dcf4f});}[_0x183824(0x225)](_0x3ce3ef){const _0x2cc25d=_0x183824,{unitID:_0x17eaa5}=_0x3ce3ef,_0x579c8e=this[_0x2cc25d(0x22d)][_0x2cc25d(0x20b)](_0x17eaa5)[_0x2cc25d(0x2dd)](_0xbd1bcc),_0x505030=_0x579c8e[_0x2cc25d(0x219)]();if(_0x505030==null)return;const _0x19cbfd=[{'id':_0x2cc25d(0x261),'params':{'unitId':_0x3ce3ef[_0x2cc25d(0x36a)],'actions':null,'textRanges':[_0x505030]}}],_0x2780de=this[_0x2cc25d(0x27b)][_0x2cc25d(0x305)](_0x3ce3ef,_0x19cbfd);if(!_0x44a5c9(_0x2780de))throw _0x2780de[_0x2cc25d(0x17b)];const _0x2d878e=_0x2780de[_0x2cc25d(0x24f)][0x0]['params'][_0x2cc25d(0x2ef)];Array[_0x2cc25d(0x17c)](_0x2d878e)&&_0x2d878e[_0x2cc25d(0x2ad)]&&_0x579c8e[_0x2cc25d(0x37a)](_0x2d878e[0x0]);}};he=dn([lt(0x0,_0x869e11),lt(0x1,_0x34ab27)],he);var Sn=Object[_0x183824(0x32e)],In=(_0x4f63bc,_0x2028d0,_0x22e1c9,_0x808c11)=>{const _0x543cb3=_0x183824;for(var _0xdd175c=_0x808c11>0x1?void 0x0:_0x808c11?Sn(_0x2028d0,_0x22e1c9):_0x2028d0,_0x112ee8=_0x4f63bc[_0x543cb3(0x2ad)]-0x1,_0x34b8d1;_0x112ee8>=0x0;_0x112ee8--)(_0x34b8d1=_0x4f63bc[_0x112ee8])&&(_0xdd175c=_0x34b8d1(_0xdd175c)||_0xdd175c);return _0xdd175c;},Le=(_0xf71681,_0x3f99c6)=>(_0x361b68,_0x8af45d)=>_0x3f99c6(_0x361b68,_0x8af45d,_0xf71681);let ue=class{constructor(_0x558a88,_0x3dad2e,_0x448749){const _0x3386fe=_0x183824;this[_0x3386fe(0x384)]=_0x558a88,this[_0x3386fe(0x27b)]=_0x3dad2e,this['_docStateChangeManagerService']=_0x448749;}[_0x183824(0x2c7)](_0x5055f3){const _0x4e9a00=_0x183824;this[_0x4e9a00(0x1c4)](_0x5055f3);}[_0x183824(0x21f)](_0x1900be){const _0xbbe9db=_0x183824,{unitID:_0x4f409d}=_0x1900be,{collaboration:_0x1248c7}=this['_docStateChangeManagerService'][_0xbbe9db(0x35c)](_0x4f409d);if(_0x1248c7[_0xbbe9db(0x2ad)]===0x0)return _0x1900be;let _0x2c4e03=_0x4e99de['deepClone'](_0x1900be[_0xbbe9db(0x2ec)][0x0]);for(let _0x40e772=0x0;_0x40e772<_0x1248c7['length'];_0x40e772++){const _0x662dbb={'id':_0xbbe9db(0x261),'params':{'unitId':_0x1248c7[_0x40e772]['unitId'],..._0x1248c7[_0x40e772][_0xbbe9db(0x2f0)]}},_0x4c0fcb=this[_0xbbe9db(0x27b)][_0xbbe9db(0x155)](_0x2c4e03,_0x662dbb,!0x1);if(_0x5b0c3f(_0x4c0fcb))throw _0x4c0fcb[_0xbbe9db(0x17b)];_0x2c4e03=_0x4c0fcb[_0xbbe9db(0x2a2)];}return{..._0x4e99de[_0xbbe9db(0x371)](_0x1900be),'mutations':[_0x2c4e03]};}[_0x183824(0x1c4)](_0x37570c){const _0x248569=_0x183824,{unitID:_0x49ded3}=_0x37570c,{history:_0x3e8eaf,collaboration:_0x95a890}=this[_0x248569(0x1f7)][_0x248569(0x35c)](_0x49ded3);if(_0x3e8eaf[_0x248569(0x2ad)]===0x0&&_0x95a890['length']===0x0)return;const _0x47bfa1=[],_0x5cdbcb=[];let _0x29c066=_0x4e99de['deepClone'](_0x37570c[_0x248569(0x2ec)][0x0]),_0x4bec0c=_0x4e99de['deepClone'](_0x37570c[_0x248569(0x2ec)][0x0]);for(let _0x82581d=_0x3e8eaf[_0x248569(0x2ad)]-0x1;_0x82581d>=0x0;_0x82581d--){const _0x4b34b2={'id':_0x248569(0x261),'params':{'unitId':_0x3e8eaf[_0x82581d][_0x248569(0x14b)],..._0x3e8eaf[_0x82581d][_0x248569(0x342)]}},_0xb374ac={'id':_0x248569(0x261),'params':{'unitId':_0x3e8eaf[_0x82581d]['unitId'],..._0x3e8eaf[_0x82581d][_0x248569(0x2f0)]}},_0x52b7a6=this[_0x248569(0x27b)][_0x248569(0x155)](_0x29c066,_0x4b34b2,!0x1),_0x51a9e6=this[_0x248569(0x27b)][_0x248569(0x155)](_0x4bec0c,_0xb374ac,!0x1);if(_0x5b0c3f(_0x52b7a6))throw _0x52b7a6[_0x248569(0x17b)];if(_0x5b0c3f(_0x51a9e6))throw _0x51a9e6[_0x248569(0x17b)];_0x47bfa1[_0x248569(0x157)]({..._0x3e8eaf[_0x82581d],'undoState':_0x52b7a6[_0x248569(0x24f)][_0x248569(0x2e7)],'redoState':_0x51a9e6['m2Prime'][_0x248569(0x2e7)]}),_0x29c066=_0x52b7a6[_0x248569(0x2a2)],_0x4bec0c=_0x51a9e6[_0x248569(0x2a2)];}_0x29c066=_0x4e99de[_0x248569(0x371)](_0x37570c['mutations'][0x0]),_0x4bec0c=_0x4e99de[_0x248569(0x371)](_0x37570c[_0x248569(0x2ec)][0x0]);for(let _0x360cfb=_0x95a890[_0x248569(0x2ad)]-0x1;_0x360cfb>=0x0;_0x360cfb--){const _0x51152e={'id':_0x248569(0x261),'params':{'unitId':_0x95a890[_0x360cfb][_0x248569(0x14b)],..._0x95a890[_0x360cfb]['undoState']}},_0x1fa8ab={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x95a890[_0x360cfb][_0x248569(0x14b)],..._0x95a890[_0x360cfb][_0x248569(0x2f0)]}},_0x2fe8aa=this[_0x248569(0x27b)][_0x248569(0x155)](_0x29c066,_0x51152e,!0x1),_0x385eb0=this[_0x248569(0x27b)][_0x248569(0x155)](_0x4bec0c,_0x1fa8ab,!0x1);if(_0x5b0c3f(_0x2fe8aa))throw _0x2fe8aa['error'];if(_0x5b0c3f(_0x385eb0))throw _0x385eb0[_0x248569(0x17b)];_0x5cdbcb[_0x248569(0x157)]({..._0x95a890[_0x360cfb],'undoState':_0x2fe8aa['m2Prime'][_0x248569(0x2e7)],'redoState':_0x385eb0['m2Prime']['params']}),_0x29c066=_0x2fe8aa[_0x248569(0x2a2)],_0x4bec0c=_0x385eb0[_0x248569(0x2a2)];}this['_docStateChangeManagerService']['setStateCache'](_0x49ded3,{'history':_0x47bfa1,'collaboration':_0x5cdbcb});}};ue=In([Le(0x0,_0x2b5bcf(_0x138ef1)),Le(0x1,_0x869e11),Le(0x2,_0x2b5bcf(_0x19214e))],ue);var mn=Object[_0x183824(0x32e)],fn=(_0x35defe,_0x121e38,_0x10a219,_0x237ecc)=>{const _0x5e05bf=_0x183824;for(var _0x53b8b1=_0x237ecc>0x1?void 0x0:_0x237ecc?mn(_0x121e38,_0x10a219):_0x121e38,_0x37c26e=_0x35defe[_0x5e05bf(0x2ad)]-0x1,_0x54cef5;_0x37c26e>=0x0;_0x37c26e--)(_0x54cef5=_0x35defe[_0x37c26e])&&(_0x53b8b1=_0x54cef5(_0x53b8b1)||_0x53b8b1);return _0x53b8b1;},ht=(_0x355deb,_0x384b32)=>(_0x3613d3,_0x165c51)=>_0x384b32(_0x3613d3,_0x165c51,_0x355deb);let de=class{constructor(_0x2cfa31,_0x4ed11c){const _0x202e30=_0x183824;this[_0x202e30(0x384)]=_0x2cfa31,this[_0x202e30(0x27b)]=_0x4ed11c;}[_0x183824(0x1f9)](_0xd3e10a){const _0x11c47a=_0x183824;var _0x1697ac;const _0x468efb=this[_0x11c47a(0x384)]['get'](_0x151bee),_0x3833ce=(_0x1697ac=_0x468efb[_0x11c47a(0x199)]())!=null?_0x1697ac:[];if(_0x3833ce[_0x11c47a(0x2ad)]===0x0)return;const _0x4a5157=_0xd3e10a['unitID'],_0x4bfcf8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4a5157,'actions':null,'textRanges':_0x3833ce}}],_0xa4c070=this[_0x11c47a(0x27b)]['transformMutationsWithChangeset'](_0xd3e10a,_0x4bfcf8);if(!_0x44a5c9(_0xa4c070))throw _0xa4c070['error'];const _0x254b35=_0xa4c070[_0x11c47a(0x24f)][0x0][_0x11c47a(0x2e7)]['textRanges'];Array[_0x11c47a(0x17c)](_0x254b35)&&_0x254b35[_0x11c47a(0x2ad)]&&_0x468efb['replaceDocRanges'](_0x254b35,{'unitId':_0x4a5157,'subUnitId':_0x4a5157},!0x1);}};de=fn([ht(0x0,_0x2b5bcf(_0x138ef1)),ht(0x1,_0x869e11)],de);var gn=Object[_0x183824(0x32e)],En=(_0x529e48,_0x23d4f1,_0x56b8c6,_0x420242)=>{const _0x5188a0=_0x183824;for(var _0x4b6d02=_0x420242>0x1?void 0x0:_0x420242?gn(_0x23d4f1,_0x56b8c6):_0x23d4f1,_0x33bdbb=_0x529e48[_0x5188a0(0x2ad)]-0x1,_0x64ef4c;_0x33bdbb>=0x0;_0x33bdbb--)(_0x64ef4c=_0x529e48[_0x33bdbb])&&(_0x4b6d02=_0x64ef4c(_0x4b6d02)||_0x4b6d02);return _0x4b6d02;},U=(_0x55eab9,_0x1d4ccd)=>(_0x4a0345,_0x34f851)=>_0x1d4ccd(_0x4a0345,_0x34f851,_0x55eab9);let Se=class extends _0x37986f{constructor(_0x2400c8,_0x8c06ac,_0xf79696,_0x5dbecf,_0x13884b,_0x18592a,_0x429016,_0x5d23f7){const _0x3174b8=_0x183824;super(),_(this,'_status$',new _0x58e817(_0x38fa40['NOT_COLLAB'])),(this[_0x3174b8(0x1f7)]=_0x2400c8,this[_0x3174b8(0x1ec)]=_0x8c06ac,this[_0x3174b8(0x1e9)]=_0xf79696,this[_0x3174b8(0x1cd)]=_0x5dbecf,this[_0x3174b8(0x28d)]=_0x13884b,this['_docSyncEditingCollabCursorService']=_0x18592a,this[_0x3174b8(0x350)]=_0x429016,this[_0x3174b8(0x275)]=_0x5d23f7,this[_0x3174b8(0x1d8)]());}[_0x183824(0x1d8)](){const _0x2b0a27=_0x183824;this[_0x2b0a27(0x1f4)](this[_0x2b0a27(0x1ec)][_0x2b0a27(0x2ab)][_0x2b0a27(0x2dc)](_0x4de352=>{const _0x4401db=_0x2b0a27,_0x4dad19=this[_0x4401db(0x1f7)][_0x4401db(0x17e)][_0x4401db(0x2dc)](_0x124812=>{const _0x25a76e=_0x4401db;if(_0x124812==null)return;const {unitId:_0x3dabe2,redoState:_0x3c2b90,commandId:_0x584340}=_0x124812;if(_0x3dabe2!==_0x4de352[_0x25a76e(0x36a)])return;const _0x19363e={'id':_0x584340,'type':_0x1de221[_0x25a76e(0x367)],'params':{'unitId':_0x3dabe2,'actions':_0x3c2b90[_0x25a76e(0x35d)],'textRanges':null}};_0x4de352[_0x25a76e(0x2da)](_0x19363e);});if(_0x4de352[_0x4401db(0x1f4)](_0x4dad19),_0x4de352 instanceof _0x2b0221){const _0x13bdb={'onTransformIME':_0x2312a8=>this[_0x4401db(0x1e9)]['transformIMECache'](_0x2312a8),'onTransformState':_0x511499=>this[_0x4401db(0x1cd)][_0x4401db(0x2c7)](_0x511499),'onTransformSelections':_0x5997aa=>this[_0x4401db(0x28d)][_0x4401db(0x1f9)](_0x5997aa),'onSyncEditingCollabCursor':_0x37898f=>this[_0x4401db(0x19e)][_0x4401db(0x37e)](_0x37898f),'onTransformRemoteChangesetByIMECache':_0x5dc7cc=>this[_0x4401db(0x1e9)][_0x4401db(0x21f)](_0x5dc7cc),'onTransformRemoteChangesetByStateCache':_0x3eaa9c=>this[_0x4401db(0x1cd)]['transformRemoteChangeset'](_0x3eaa9c)};_0x4de352[_0x4401db(0x25d)](_0x13bdb);}}));}};Se=En([U(0x0,_0x2b5bcf(_0x19214e)),U(0x1,_0x2b5bcf(_0x4a450b)),U(0x2,_0x2b5bcf(he)),U(0x3,_0x2b5bcf(ue)),U(0x4,_0x2b5bcf(de)),U(0x5,_0x2b5bcf(ze)),U(0x6,_0x1024be),U(0x7,_0x2b5bcf(_0x458508))],Se);var Z=(_0x3d6d42=>(_0x3d6d42[_0x3d6d42[_0x183824(0x1e2)]=0x0]='UNDEFINED',_0x3d6d42[_0x3d6d42['OK']=0x1]='OK',_0x3d6d42[_0x3d6d42[_0x183824(0x373)]=0x2]=_0x183824(0x373),_0x3d6d42[_0x3d6d42[_0x183824(0x1b7)]=0x3]='PERMISSION_DENIED',_0x3d6d42[_0x3d6d42[_0x183824(0x32f)]=0x4]=_0x183824(0x32f),_0x3d6d42[_0x3d6d42[_0x183824(0x17a)]=0x5]=_0x183824(0x17a),_0x3d6d42[_0x3d6d42[_0x183824(0x287)]=0x6]=_0x183824(0x287),_0x3d6d42[_0x3d6d42['INVALID_ARGUMENT']=0x7]=_0x183824(0x1fc),_0x3d6d42[_0x3d6d42['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x3d6d42[_0x3d6d42[_0x183824(0x1fa)]=0x9]=_0x183824(0x1fa),_0x3d6d42[_0x3d6d42['LOGIN_FAILED']=0xa]=_0x183824(0x1ee),_0x3d6d42[_0x3d6d42[_0x183824(0x196)]=0xb]=_0x183824(0x196),_0x3d6d42[_0x3d6d42['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x183824(0x2fe),_0x3d6d42[_0x3d6d42[_0x183824(0x1b6)]=0xd]=_0x183824(0x1b6),_0x3d6d42[_0x3d6d42[_0x183824(0x1ed)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3d6d42[_0x3d6d42[_0x183824(0x16b)]=0xf]=_0x183824(0x16b),_0x3d6d42[_0x3d6d42[_0x183824(0x267)]=0x10]=_0x183824(0x267),_0x3d6d42[_0x3d6d42['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x3d6d42[_0x3d6d42[_0x183824(0x2b5)]=0x65]=_0x183824(0x2b5),_0x3d6d42[_0x3d6d42[_0x183824(0x2bc)]=0xc9]='USER_NOT_FOUND',_0x3d6d42[_0x3d6d42[_0x183824(0x19b)]=0xca]=_0x183824(0x19b),_0x3d6d42[_0x3d6d42[_0x183824(0x38e)]=0x1389]=_0x183824(0x38e),_0x3d6d42[_0x3d6d42[_0x183824(0x31e)]=0x1771]=_0x183824(0x31e),_0x3d6d42[_0x3d6d42['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x183824(0x376),_0x3d6d42[_0x3d6d42[_0x183824(0x1ce)]=0x1773]=_0x183824(0x1ce),_0x3d6d42[_0x3d6d42['APPLY_REJECT']=0x1b59]=_0x183824(0x25f),_0x3d6d42[_0x3d6d42[_0x183824(0x29c)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x3d6d42[_0x3d6d42[_0x183824(0x2c4)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x3d6d42[_0x3d6d42[_0x183824(0x2de)]=0x1b5c]=_0x183824(0x2de),_0x3d6d42[_0x3d6d42[_0x183824(0x2fa)]=0x1b5d]=_0x183824(0x2fa),_0x3d6d42[_0x3d6d42['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x183824(0x31a),_0x3d6d42[_0x3d6d42['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x183824(0x33f),_0x3d6d42[_0x3d6d42[_0x183824(0x395)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3d6d42[_0x3d6d42[_0x183824(0x161)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3d6d42[_0x3d6d42[_0x183824(0x1ca)]=0x232c]=_0x183824(0x1ca),_0x3d6d42[_0x3d6d42[_0x183824(0x284)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x3d6d42[_0x3d6d42['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x183824(0x295),_0x3d6d42[_0x3d6d42[_0x183824(0x1d5)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x3d6d42[_0x3d6d42[_0x183824(0x235)]=0x2713]=_0x183824(0x235),_0x3d6d42[_0x3d6d42[_0x183824(0x385)]=0x2714]=_0x183824(0x385),_0x3d6d42[_0x3d6d42[_0x183824(0x1e5)]=0x271a]=_0x183824(0x1e5),_0x3d6d42[_0x3d6d42[_0x183824(0x2cf)]=0x271b]=_0x183824(0x2cf),_0x3d6d42[_0x3d6d42[_0x183824(0x234)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x3d6d42[_0x3d6d42[_0x183824(0x1d2)]=0x271d]=_0x183824(0x1d2),_0x3d6d42[_0x3d6d42[_0x183824(0x1c9)]=0x271e]=_0x183824(0x1c9),_0x3d6d42[_0x3d6d42[_0x183824(0x255)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x3d6d42[_0x3d6d42[_0x183824(0x1b8)]=0x2720]=_0x183824(0x1b8),_0x3d6d42[_0x3d6d42[_0x183824(0x2c0)]=0x2af9]=_0x183824(0x2c0),_0x3d6d42[_0x3d6d42[_0x183824(0x1dc)]=0x2ee1]=_0x183824(0x1dc),_0x3d6d42[_0x3d6d42[_0x183824(0x34e)]=0x2ee2]='INVALID_INVITE_CODE',_0x3d6d42[_0x3d6d42[_0x183824(0x37d)]=0x2ee3]=_0x183824(0x37d),_0x3d6d42[_0x3d6d42['USER_NOT_INVITED_CODE']=0x2ee4]=_0x183824(0x387),_0x3d6d42[_0x3d6d42['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x183824(0x308),_0x3d6d42[_0x3d6d42[_0x183824(0x216)]=0x32c9]=_0x183824(0x216),_0x3d6d42[_0x3d6d42[_0x183824(0x165)]=0x32ca]=_0x183824(0x165),_0x3d6d42[_0x3d6d42['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x183824(0x1b4),_0x3d6d42[_0x3d6d42[_0x183824(0x150)]=0x36b1]=_0x183824(0x150),_0x3d6d42[_0x3d6d42['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x3d6d42[_0x3d6d42[_0x183824(0x397)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x3d6d42[_0x3d6d42[_0x183824(0x39a)]=0x36b4]=_0x183824(0x39a),_0x3d6d42[_0x3d6d42[_0x183824(0x247)]=0x36b5]=_0x183824(0x247),_0x3d6d42[_0x3d6d42[_0x183824(0x171)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x3d6d42[_0x3d6d42['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x183824(0x26f),_0x3d6d42[_0x3d6d42[_0x183824(0x351)]=0x36b8]=_0x183824(0x351),_0x3d6d42[_0x3d6d42[_0x183824(0x2d2)]=0x3715]=_0x183824(0x2d2),_0x3d6d42[_0x3d6d42[_0x183824(0x23e)]=0x3716]=_0x183824(0x23e),_0x3d6d42[_0x3d6d42[_0x183824(0x2c8)]=0x3717]=_0x183824(0x2c8),_0x3d6d42[_0x3d6d42['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x183824(0x1a9),_0x3d6d42[_0x3d6d42[_0x183824(0x158)]=0x3a99]=_0x183824(0x158),_0x3d6d42[_0x3d6d42[_0x183824(0x29b)]=0x3a9a]=_0x183824(0x29b),_0x3d6d42[_0x3d6d42[_0x183824(0x1cb)]=0x3a9b]=_0x183824(0x1cb),_0x3d6d42[_0x3d6d42[_0x183824(0x34b)]=0x3a9c]=_0x183824(0x34b),_0x3d6d42[_0x3d6d42['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x183824(0x14f),_0x3d6d42[_0x3d6d42['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x183824(0x354),_0x3d6d42[_0x3d6d42[_0x183824(0x330)]=0x3a9f]=_0x183824(0x330),_0x3d6d42[_0x3d6d42[_0x183824(0x1b0)]=0x3e81]=_0x183824(0x1b0),_0x3d6d42[_0x3d6d42[_0x183824(0x293)]=-0x1]=_0x183824(0x293),_0x3d6d42))(Z||{});function vn(_0x4f6210){const _0x4618e8=_0x183824;var _0x575d9f,_0x323327;const _0x2ce024=(_0x575d9f=_0x4f6210['stageInfo'])==null?void 0x0:_0x575d9f[_0x4618e8(0x356)],_0x22b63c=((_0x323327=_0x4f6210['stageInfo'])==null?void 0x0:_0x323327[_0x4618e8(0x204)])||0x0;return _0x2ce024===_0x426bd1[_0x4618e8(0x20d)]&&_0x22b63c>0x0;}function pn(_0x2bc3e8){const _0x27a466=_0x183824;return _0x2bc3e8[_0x27a466(0x2ce)]===_0x3c1877['SUCCESS'];}var On=Object['getOwnPropertyDescriptor'],Tn=(_0x4f2029,_0xa6b22e,_0x3fd6fa,_0x18113e)=>{for(var _0x11a529=_0x18113e>0x1?void 0x0:_0x18113e?On(_0xa6b22e,_0x3fd6fa):_0xa6b22e,_0x255c42=_0x4f2029['length']-0x1,_0x5d8aae;_0x255c42>=0x0;_0x255c42--)(_0x5d8aae=_0x4f2029[_0x255c42])&&(_0x11a529=_0x5d8aae(_0x11a529)||_0x11a529);return _0x11a529;},P=(_0x2b7bf9,_0x224e34)=>(_0x2fa5e6,_0x2136ca)=>_0x224e34(_0x2fa5e6,_0x2136ca,_0x2b7bf9);const Cn=_0x183824(0x383),Rn=_0x183824(0x238),Dn=_0x183824(0x34c);let Ie=class extends _0x37986f{constructor(_0x5cdadc,_0x1d8a5e,_0x2adde9,_0x157d4e,_0x2b1925,_0x4a226c,_0x282f0b){const _0x1396f4=_0x183824;super(),_(this,_0x1396f4(0x341),null),_(this,_0x1396f4(0x347),0x0),_(this,_0x1396f4(0x1f1),0x0),_(this,'_taskIds',[]),_(this,_0x1396f4(0x218),0x0),(this[_0x1396f4(0x350)]=_0x5cdadc,this['_commandService']=_0x1d8a5e,this[_0x1396f4(0x2a7)]=_0x2adde9,this['_httpService']=_0x157d4e,this[_0x1396f4(0x21a)]=_0x2b1925,this[_0x1396f4(0x213)]=_0x4a226c,this['_localeService']=_0x282f0b,this['_initCommandInterceptor']());}[_0x183824(0x2a3)](){const _0x1b4b81=_0x183824;this[_0x1b4b81(0x1f4)](this[_0x1b4b81(0x368)][_0x1b4b81(0x2c3)]((_0x4d8b9a,_0x12deb3)=>{const _0x1851f1=_0x1b4b81;var _0x47a518;if(_0x4d8b9a['id']!==_0x263bc7['id'])return;const _0x18f0c0=_0x4d8b9a[_0x1851f1(0x2e7)];if(!this[_0x1851f1(0x236)]((_0x47a518=_0x18f0c0[_0x1851f1(0x14a)])!=null?_0x47a518:[]))return;if(!this[_0x1851f1(0x33b)]())throw this[_0x1851f1(0x182)](_0x4d8b9a,_0x12deb3),this[_0x1851f1(0x1a1)](),new _0x2face4();})),this['disposeWithMe'](this[_0x1b4b81(0x368)][_0x1b4b81(0x1f3)]((_0xc5cdcb,_0x55f55b)=>{const _0xd5658f=_0x1b4b81;if(_0xc5cdcb['id']!==_0x14d924['id'])return;const _0x575eb8=_0xc5cdcb[_0xd5658f(0x2e7)];if(vn(_0x575eb8)){const _0x2ea701=_0xdf4fd1();this['_taskIds'][_0xd5658f(0x320)](_0x2ea701),this[_0xd5658f(0x1a7)](_0x2ea701);}else{if(pn(_0x575eb8)&&this[_0xd5658f(0x319)][_0xd5658f(0x2ad)]>0x0){const _0x13e2b6=this['_taskIds']['shift']();this[_0xd5658f(0x201)](_0x13e2b6);}}}));}[_0x183824(0x2e6)](){const _0x5916c4=_0x183824;super['dispose'](),this[_0x5916c4(0x2c5)](),this[_0x5916c4(0x319)]=[],this[_0x5916c4(0x1f1)]=0x0,this[_0x5916c4(0x347)]=0x0,this[_0x5916c4(0x218)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x5bf0f5,_0x69765f){const _0x16bd6d=_0x183824;for(let _0x1541bb=0x0;_0x1541bb<0x1e;_0x1541bb++)try{if(await this[_0x16bd6d(0x1bc)](),this[_0x16bd6d(0x33b)]()){this[_0x16bd6d(0x1bb)](_0x5bf0f5,_0x69765f),this[_0x16bd6d(0x350)][_0x16bd6d(0x18a)]({'content':this[_0x16bd6d(0x275)]['t'](_0x16bd6d(0x1e8)),'type':_0x4eb2af[_0x16bd6d(0x379)]});return;}await new Promise(_0x563b9e=>{const _0x2390e4=_0x16bd6d;this[_0x2390e4(0x341)]=window[_0x2390e4(0x316)](_0x563b9e,0x3e8);});}catch(_0x53942c){this[_0x16bd6d(0x213)][_0x16bd6d(0x17b)](_0x53942c);}this['_messageService'][_0x16bd6d(0x18a)]({'content':this[_0x16bd6d(0x275)]['t']('formula.calculation.unable'),'type':_0x4eb2af[_0x16bd6d(0x358)]});}['_applyCommand'](_0x28706d,_0x21213b){const _0x1181f7=_0x183824;try{this[_0x1181f7(0x368)]['executeCommand'](_0x28706d['id'],_0x28706d['params'],_0x21213b);}catch(_0x115491){this[_0x1181f7(0x213)][_0x1181f7(0x17b)](_0x115491);}}[_0x183824(0x180)](_0x1f71f7,_0x5b5708){const _0x23611d=_0x183824;_0x5b5708<this[_0x23611d(0x218)]||(this[_0x23611d(0x218)]=_0x5b5708,this[_0x23611d(0x347)]=Number['parseInt'](_0x1f71f7[_0x23611d(0x378)]),this[_0x23611d(0x1f1)]=Number[_0x23611d(0x2b7)](_0x1f71f7[_0x23611d(0x2f5)]));}async[_0x183824(0x1a7)](_0x41f29c){const _0x7cefa2=_0x183824;var _0x3ff0c2,_0xa2b673;const _0x1c79ff=Date[_0x7cefa2(0x251)]();try{const _0x97f1dc=((_0x3ff0c2=this[_0x7cefa2(0x2a7)]['getConfig'](_0x68d877))==null?void 0x0:_0x3ff0c2['startFormulaLimitUrl'])||Rn,_0x54e592=(await this[_0x7cefa2(0x1af)]['post'](_0x97f1dc,{'body':JSON[_0x7cefa2(0x37b)]({'taskId':_0x41f29c})}))[_0x7cefa2(0x374)];if(((_0xa2b673=_0x54e592[_0x7cefa2(0x17b)])==null?void 0x0:_0xa2b673[_0x7cefa2(0x2cd)])!==Z['OK'])return;this[_0x7cefa2(0x180)](_0x54e592[_0x7cefa2(0x1c8)],_0x1c79ff);}catch(_0x2b2bb3){this[_0x7cefa2(0x213)][_0x7cefa2(0x17b)](_0x2b2bb3);}}async[_0x183824(0x1bc)](_0x1221e3){const _0xdd557a=_0x183824;var _0x17efef,_0x5c08b6;const _0xa5da90=Date[_0xdd557a(0x251)]();try{const _0x2b5185=((_0x17efef=this[_0xdd557a(0x2a7)][_0xdd557a(0x285)](_0x68d877))==null?void 0x0:_0x17efef[_0xdd557a(0x2f6)])||Cn,_0xb6862c=_0x1221e3?_0x2b5185+'?taskId='+encodeURIComponent(_0x1221e3):_0x2b5185,_0x286519=(await this[_0xdd557a(0x1af)]['get'](_0xb6862c))[_0xdd557a(0x374)];if(((_0x5c08b6=_0x286519[_0xdd557a(0x17b)])==null?void 0x0:_0x5c08b6[_0xdd557a(0x2cd)])!==Z['OK'])return;this[_0xdd557a(0x180)](_0x286519['limitInfo'],_0xa5da90);}catch(_0x84aa58){this[_0xdd557a(0x213)][_0xdd557a(0x17b)](_0x84aa58);}}async[_0x183824(0x201)](_0x5e0002){const _0x1488e2=_0x183824;var _0x6b2510,_0x2c5d48;const _0x20e068=Date[_0x1488e2(0x251)]();try{const _0x1b27a5=((_0x6b2510=this[_0x1488e2(0x2a7)][_0x1488e2(0x285)](_0x68d877))==null?void 0x0:_0x6b2510[_0x1488e2(0x154)])||Dn,_0x386d99=(await this[_0x1488e2(0x1af)][_0x1488e2(0x176)](_0x1b27a5,{'body':JSON[_0x1488e2(0x37b)]({'taskId':_0x5e0002})}))['body'];if(((_0x2c5d48=_0x386d99['error'])==null?void 0x0:_0x2c5d48[_0x1488e2(0x2cd)])!==Z['OK'])return;this[_0x1488e2(0x180)](_0x386d99[_0x1488e2(0x1c8)],_0x20e068);}catch(_0x355d05){this[_0x1488e2(0x213)][_0x1488e2(0x17b)](_0x355d05);}}[_0x183824(0x33b)](){const _0x99d00c=_0x183824;return this[_0x99d00c(0x347)]===0x0?!0x0:this[_0x99d00c(0x347)]-this[_0x99d00c(0x1f1)]>0x0;}['_clearPolling'](){const _0x24ef59=_0x183824;this[_0x24ef59(0x341)]&&(clearTimeout(this[_0x24ef59(0x341)]),this['_pollingInterval']=null);}[_0x183824(0x1a1)](){const _0x2d9a51=_0x183824;this[_0x2d9a51(0x350)][_0x2d9a51(0x18a)]({'content':this[_0x2d9a51(0x275)]['t'](_0x2d9a51(0x241)),'type':_0x4eb2af[_0x2d9a51(0x245)]});}[_0x183824(0x236)](_0x423dcd){const _0x49686b=_0x183824;for(const _0x501f60 of _0x423dcd){const {unitId:_0xd997f,sheetId:_0x2e0b3d,range:_0x100df5}=_0x501f60,_0x45b80e=this[_0x49686b(0x21a)][_0x49686b(0x38d)](_0xd997f);if(!_0x45b80e)continue;const _0x2a46a8=_0x45b80e['getSheetBySheetId'](_0x2e0b3d);if(!_0x2a46a8)continue;const _0x73fd15=_0x2a46a8[_0x49686b(0x2c9)]();for(let _0x2a8d02=_0x100df5['startRow'];_0x2a8d02<=_0x100df5[_0x49686b(0x310)];_0x2a8d02++)for(let _0x401ed8=_0x100df5[_0x49686b(0x181)];_0x401ed8<=_0x100df5[_0x49686b(0x20f)];_0x401ed8++){const _0x1f455c=_0x73fd15[_0x49686b(0x2f9)](_0x2a8d02,_0x401ed8);if(_0x1f455c&&(_0x285a32(_0x1f455c['f'])||_0x20ed39(_0x1f455c['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x2b5bcf(_0x1024be)),P(0x1,_0x3bba43),P(0x2,_0x5a715b),P(0x3,_0x2b5bcf(_0x2e6660)),P(0x4,_0x3adc76),P(0x5,_0x2c105d),P(0x6,_0x2b5bcf(_0x458508))],Ie);var Nn=Object[_0x183824(0x32e)],bn=(_0x3391eb,_0x50d377,_0x3f9de9,_0x31a996)=>{const _0x3a01d1=_0x183824;for(var _0x3cbf07=_0x31a996>0x1?void 0x0:_0x31a996?Nn(_0x50d377,_0x3f9de9):_0x50d377,_0x55a90f=_0x3391eb[_0x3a01d1(0x2ad)]-0x1,_0x172727;_0x55a90f>=0x0;_0x55a90f--)(_0x172727=_0x3391eb[_0x55a90f])&&(_0x3cbf07=_0x172727(_0x3cbf07)||_0x3cbf07);return _0x3cbf07;},Ue=(_0x29d94c,_0x307d22)=>(_0x2ad884,_0x1c9176)=>_0x307d22(_0x2ad884,_0x1c9176,_0x29d94c);let He=class extends _0x37986f{constructor(_0x38d5f8,_0x54bf67,_0x2b5133){const _0x453fa2=_0x183824;super(),_(this,_0x453fa2(0x189),new Map()),_(this,_0x453fa2(0x169),new Map()),_(this,_0x453fa2(0x177),!0x1),(this[_0x453fa2(0x2a7)]=_0x38d5f8,this[_0x453fa2(0x24b)]=_0x54bf67,this[_0x453fa2(0x2d6)]=_0x2b5133);}['disableLocalCache'](){const _0xecc054=_0x183824;this[_0xecc054(0x177)]=!0x0;}[_0x183824(0x2f8)](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x3f3fa1=_0x183824;return this[_0x3f3fa1(0x169)];}['dispose'](){const _0x336fca=_0x183824;this[_0x336fca(0x243)]()[_0x336fca(0x355)](()=>super[_0x336fca(0x2e6)]());}async[_0x183824(0x1e0)](_0x540123){const _0x2699d1=_0x183824;return this['_disabled']?null:this['_localStorageService'][_0x2699d1(0x278)](_0x1c255b(_0x540123));}async[_0x183824(0x23a)](_0x59787c,_0x5c3bf1){const _0x46ea1f=_0x183824;return!!this[_0x46ea1f(0x24b)][_0x46ea1f(0x32a)](_0x59787c,_0x5c3bf1);}[_0x183824(0x1c5)](_0x5a00eb,_0xdc0367,_0x5b2724,_0x1b90bf){const _0x46ff3e=_0x183824,_0x22b2c3=this['_revisionService'][_0x46ff3e(0x252)](_0x5a00eb);this['_cachedData'][_0x46ff3e(0x317)](_0x5a00eb,{'unitID':_0x5a00eb,'type':_0xdc0367,'awaitingChangeset':_0x5b2724,'mutations':_0x1b90bf,'rev':_0x22b2c3}),this['_saveTaskMap'][_0x46ff3e(0x1f5)](_0x5a00eb)||this[_0x46ff3e(0x263)](_0x5a00eb);}['_scheduleSaving'](_0x3a976f){const _0x49d163=_0x183824,_0x16abac=this[_0x49d163(0x303)]();_0x16abac===0x0?this[_0x49d163(0x250)](_0x3a976f):this['_saveTaskMap'][_0x49d163(0x317)](_0x3a976f,setTimeout(()=>this[_0x49d163(0x250)](_0x3a976f),_0x16abac));}[_0x183824(0x303)](){const _0x2c01f6=_0x183824;var _0x17e703;return(_0x17e703=this[_0x2c01f6(0x2a7)]['getConfig'](_0x1258b3))!=null?_0x17e703:_0x298f94;}[_0x183824(0x250)](_0x28423c){const _0x2fa4f1=_0x183824,_0x51f9ef=this['_saveTaskMap']['get'](_0x28423c);return _0x51f9ef!==void 0x0&&window[_0x2fa4f1(0x36d)](_0x51f9ef),this[_0x2fa4f1(0x24b)]['setItem'](_0x1c255b(_0x28423c),this[_0x2fa4f1(0x189)][_0x2fa4f1(0x2ee)](_0x28423c))[_0x2fa4f1(0x355)](()=>this['_saveTaskMap'][_0x2fa4f1(0x324)](_0x28423c));}async[_0x183824(0x243)](){const _0x17aefe=_0x183824,_0x90c646=[];this[_0x17aefe(0x169)][_0x17aefe(0x28a)]((_0x3e5609,_0x14d1db)=>{const _0x3ff839=_0x17aefe;window[_0x3ff839(0x36d)](_0x3e5609),_0x90c646['push'](this[_0x3ff839(0x250)](_0x14d1db)['then'](()=>{const _0x5ed224=_0x3ff839;this['_saveTaskMap'][_0x5ed224(0x324)](_0x14d1db);}));}),await Promise['all'](_0x90c646);}};He=bn([Ue(0x0,_0x5a715b),Ue(0x1,_0x1aff3a),Ue(0x2,_0x2b5bcf(_0x558811))],He);class Ln extends _0x289c93{constructor(){const _0x517474=_0x183824;super(),_(this,_0x517474(0x25e)),this[_0x517474(0x25e)]=_0x542828(window,_0x517474(0x282))[_0x517474(0x273)](_0x43c088(this[_0x517474(0x322)]),_0x105eb7(0x1),_0x357ae7(void 0x0));}[_0x183824(0x207)](_0x165e53,_0x259fb3,_0x47e7c5=!0x1){const _0x5d081d=_0x183824,_0x13c43a=new URL(window['location'][_0x5d081d(0x195)]);_0x13c43a[_0x5d081d(0x26d)][_0x5d081d(0x317)](_0x165e53,_0x259fb3),_0x47e7c5?window[_0x5d081d(0x1f0)][_0x5d081d(0x2e0)]('','',_0x13c43a[_0x5d081d(0x1e4)]()):window[_0x5d081d(0x1f0)]['pushState']('','',_0x13c43a[_0x5d081d(0x1e4)]());}['removeParam'](_0x396358,_0x4d5112=!0x1){const _0xeceae3=_0x183824,_0x4f76e1=new URL(window['location'][_0xeceae3(0x195)]);_0x4f76e1[_0xeceae3(0x26d)][_0xeceae3(0x324)](_0x396358),_0x4d5112?window[_0xeceae3(0x1f0)][_0xeceae3(0x2e0)]('','',_0x4f76e1[_0xeceae3(0x1e4)]()):window[_0xeceae3(0x1f0)][_0xeceae3(0x223)]('','',_0x4f76e1[_0xeceae3(0x1e4)]());}[_0x183824(0x280)](_0x176784){const _0x47156e=_0x183824;var _0x5a9aa8;return(_0x5a9aa8=new URL(window[_0x47156e(0x19f)][_0x47156e(0x195)])[_0x47156e(0x26d)]['get'](_0x176784))!=null?_0x5a9aa8:void 0x0;}}var Un=Object[_0x183824(0x18c)],Mn=Object[_0x183824(0x32e)],An=(_0x2c99e3,_0x5c0262,_0x343b5a)=>_0x5c0262 in _0x2c99e3?Un(_0x2c99e3,_0x5c0262,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x343b5a}):_0x2c99e3[_0x5c0262]=_0x343b5a,Pn=(_0x29853d,_0x59c3e0,_0x40b932,_0x28812b)=>{const _0x3cf0c6=_0x183824;for(var _0x1c6527=_0x28812b>0x1?void 0x0:_0x28812b?Mn(_0x59c3e0,_0x40b932):_0x59c3e0,_0xe60545=_0x29853d[_0x3cf0c6(0x2ad)]-0x1,_0x172c6d;_0xe60545>=0x0;_0xe60545--)(_0x172c6d=_0x29853d[_0xe60545])&&(_0x1c6527=_0x172c6d(_0x1c6527)||_0x1c6527);return _0x1c6527;},Me=(_0x1f2f80,_0x4e427d)=>(_0x646dd9,_0x4fefe9)=>_0x4e427d(_0x646dd9,_0x4fefe9,_0x1f2f80),wn=(_0x500ed1,_0x5f08c7,_0x344e3c)=>An(_0x500ed1,_0x5f08c7+'',_0x344e3c);const yn=_0x183824(0x29d);let Ye=class extends _0x3f2545{constructor(_0x1a9287=_t,_0x51da1b,_0xbb6ac0,_0xa77d25){const _0xccbce9=_0x183824;super(),this[_0xccbce9(0x27d)]=_0x1a9287,this[_0xccbce9(0x22d)]=_0x51da1b,this[_0xccbce9(0x384)]=_0xbb6ac0,this[_0xccbce9(0x2a7)]=_0xa77d25;const {..._0xe050d9}=_0x5588c4({},_t,this['_config']);this[_0xccbce9(0x2a7)][_0xccbce9(0x2f3)](hn,_0xe050d9);}[_0x183824(0x18e)](){const _0x5181a2=_0x183824;this['_registerDependencies'](),this[_0x5181a2(0x323)]();}[_0x183824(0x35f)](){const _0x5b393a=_0x183824;this[_0x5b393a(0x294)]();}['_registerDependencies'](){const _0x2459df=_0x183824;var _0x38dbe0;const _0xbcb974=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x3e8ff8,{'useClass':_0x23ef53}],[_0x2e19a0,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x2459df(0x27d)][_0x2459df(0x188)]&&_0xbcb974[_0x2459df(0x320)]([le]),_0x56fd22(this[_0x2459df(0x384)],_0x445df2(_0xbcb974,(_0x38dbe0=this['_config'])==null?void 0x0:_0x38dbe0['override']));}[_0x183824(0x294)](){const _0x35e527=_0x183824;this[_0x35e527(0x1f4)](this[_0x35e527(0x22d)][_0x35e527(0x228)](_0x51f35a[_0x35e527(0x2a6)],[Fe])),this[_0x35e527(0x1f4)](this[_0x35e527(0x22d)]['registerRenderModule'](_0x51f35a[_0x35e527(0x32b)],[ke]));}[_0x183824(0x323)](){const _0x2f6aa8=_0x183824;_0x2e6558(this[_0x2f6aa8(0x384)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this['_config'][_0x2f6aa8(0x188)]&&_0x2e6558(this['_injector'],[[le]]);}};wn(Ye,_0x183824(0x31d),yn),Ye=Pn([_0x5067b5(_0xa208a1),Me(0x1,_0x34ab27),Me(0x2,_0x2b5bcf(_0x138ef1)),Me(0x3,_0x5a715b)],Ye);var $n=Object[_0x183824(0x32e)],xn=(_0xb9cfa6,_0x387f03,_0x4b958b,_0xb36f67)=>{const _0x4b3e8d=_0x183824;for(var _0x47689f=_0xb36f67>0x1?void 0x0:_0xb36f67?$n(_0x387f03,_0x4b958b):_0x387f03,_0x3dbba0=_0xb9cfa6[_0x4b3e8d(0x2ad)]-0x1,_0x3bfffa;_0x3dbba0>=0x0;_0x3dbba0--)(_0x3bfffa=_0xb9cfa6[_0x3dbba0])&&(_0x47689f=_0x3bfffa(_0x47689f)||_0x47689f);return _0x47689f;},J=(_0x53a756,_0xdb616b)=>(_0x499e7c,_0x31ac5e)=>_0xdb616b(_0x499e7c,_0x31ac5e,_0x53a756);let ut=class extends _0xf3eea5{constructor(_0x52fe22,_0x13ee47,_0x144fe5,_0x47e223,_0x566b25){super(_0x52fe22,_0x13ee47,_0x144fe5,_0x47e223,_0x566b25);}async[_0x183824(0x346)](_0x40b48f){const _0x4cf083=_0x183824,_0x3d1c14=await this[_0x4cf083(0x1cc)](),_0x102b6d=this[_0x4cf083(0x2b0)](_0x40b48f,_0x3d1c14);return this['_doCreateSocket'](_0x102b6d);}[_0x183824(0x2b0)](_0x25faeb,_0x2ee258){const _0x2f0837=_0x183824,_0x48bfb6=typeof window>'u'?new URL(_0x25faeb):new URL(_0x25faeb,window[_0x2f0837(0x19f)][_0x2f0837(0x156)]);_0x48bfb6[_0x2f0837(0x26d)]['set'](_0x2f0837(0x366),_0x2ee258);const _0x6101c3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2f0837(0x19f)][_0x2f0837(0x1b3)]);return _0x6101c3[_0x2f0837(0x2ee)](_0x2f0837(0x2cb))&&_0x48bfb6[_0x2f0837(0x26d)][_0x2f0837(0x317)]('runId',_0x6101c3[_0x2f0837(0x2ee)](_0x2f0837(0x2cb))),_0x48bfb6[_0x2f0837(0x1e4)]();}async['_getSessionTicket'](){const _0x6776c=_0x183824;var _0x4153bb,_0x2d38ea,_0x55b6d4;const _0x516d16=this['_configService'][_0x6776c(0x285)](_0x68d877),_0x5ea54f=(_0x4153bb=_0x516d16==null?void 0x0:_0x516d16[_0x6776c(0x362)])!=null?_0x4153bb:_0x4005a6;return(_0x55b6d4=(_0x2d38ea=(await this[_0x6776c(0x1af)][_0x6776c(0x2ee)](_0x5ea54f,{'headers':{'Content-Type':_0x6776c(0x1e6)}}))['body'])==null?void 0x0:_0x2d38ea['ticket'])!=null?_0x55b6d4:'';}};ut=xn([J(0x0,_0x2b5bcf(_0x138ef1)),J(0x1,_0x2b5bcf(_0x2e6660)),J(0x2,_0x5a715b),J(0x3,_0x2c105d),J(0x4,_0x205c61)],ut);var Bn=Object['getOwnPropertyDescriptor'],Fn=(_0x13476b,_0x22e633,_0x3be9ba,_0x320766)=>{const _0x1a596d=_0x183824;for(var _0xe5a469=_0x320766>0x1?void 0x0:_0x320766?Bn(_0x22e633,_0x3be9ba):_0x22e633,_0x383238=_0x13476b[_0x1a596d(0x2ad)]-0x1,_0x2998ca;_0x383238>=0x0;_0x383238--)(_0x2998ca=_0x13476b[_0x383238])&&(_0xe5a469=_0x2998ca(_0xe5a469)||_0xe5a469);return _0xe5a469;},Ae=(_0x2f0a69,_0x35d9a7)=>(_0x2c9708,_0x1ceea1)=>_0x35d9a7(_0x2c9708,_0x1ceea1,_0x2f0a69);function _0x1ee4(){const _0xf11bc4=['SUBMIT_CHANGESET_TIMEOUT','get','textRanges','redoState','ONLINE','_selfUnitIDs','setConfig','_lastPointer','currentUsage','getformulaLimitStatusUrl','setUndoRedoMutationParamsCache','enableLocalCache','getValue','APPLY_DUPLICATED','rgba(255,\x20255,\x20255,\x200.01)','status$','getOffsetConfig','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCurrent','labelPosition','url(#on-line-icon_clip0_910_349)','_getSheetObject','_getSaveTimeout','subunit','transformMutationsWithChangeset','round','catch','INVITE_CODE_ALREADY_BOUND','_transformUndoRedoStack','getSheetBySheetId','debug','hide','top','setShapeProps','fillStyle','endRow','createInstance','session.collaboration-timeout','idSuffix','none','unit','setTimeout','set','_status$','_taskIds','CONNECTOR_DATA_TOO_LARGE','NO_OTHER_CLIENTS_EDITING','USERS_LEAVE','pluginName','SNAPSHOT_INVALID_SNAPSHOT','saveImage','push','790TEiFOG','dispose$','_initDependencies','delete','drawWith','skeleton','fill','_refRangeService','_initEvent','setItem','UNIVER_SHEET','_memberService','_color','getOwnPropertyDescriptor','NOT_FOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','_context','evenodd','asObservable','http://www.w3.org/2000/svg','lineTo','_getAnchorBounding','_docClipboardService','UniverIcon','clipPath','9VxyBYQ','_checkCalculationAvailable','displayName','30tmezAT','_updateCollabCursors','LICENSE_MAX_UNITS_EXCEEDED','_syncEditingCollabCursorService','_pollingInterval','undoState','_scene','replace','getSkeleton','createSocket','_maxFormulaLimit','collab-text-range-','defs','_clearOtherTimers','REDEMPTION_CODE_NOT_STARTED','/universer-api/license/formula/limit/done','blue.400','INVALID_INVITE_CODE','includes','_messageService','ENTITLE_USE_COUPON_NOT_1ST_TRADE','registerRefRange','getUnitStatus$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','then','stage','map','Error','_collaborationSessionService','_handleLeaveEvent','currentSkeleton$','getStateCache','actions','MoveRangeCommandId','onRendered','save','jiqing.500','wsSessionTicketUrl','mask','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','unhandledrejection','sessionTicket','MUTATION','_commandService','_initResize','unitID','contains','OTHER_CLIENT_EDITING','clearTimeout','collab-client.tooltip.reconnect','fillRule','_urlService','deepClone','21274jzQixt','INTERNAL_ERROR','body','Failed','SNAPSHOT_HAS_BEEN_REMOVED','_onCursorUpdate','maxFormulaLimit','Success','setActiveRange','stringify','1805010bKryLH','INVITE_CODE_REQUIRED','syncEditingCollabCursor','102843OeOEYk','_drawAnchor','_startSheetCollabCursor','_labelPosition','/universer-api/license/formula/limit/status','_injector','YUUMI_SUBSCRIPTION_NOT_FOUND','collaboration-client-ui.config','USER_NOT_INVITED_CODE','_drawTextRange','getViewport','getTypeOfUnitAdded$','addObjects','on-line-icon','getUnit','CHANGESET_REVISION_CONFILICT','sessionStatus$','permission.content','getVpScrollXYInfoByPosToVp','svg','off-line-icon_clip0_910_343','bottom','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','#FFF','ENTITLE_DUP_SUBSCRIPTION','onMouseMove','_range','PAYMENT_CHANNEL_NOT_SUPPORT','fillText','getUnhiddenWorksheets','toRgbString','dirtyRanges','unitId','SOCKET_FAILED_RETRY','selection','getColorFromTheme','REDEMPTION_USER_NOT_ELIGIBLE','ENTITLE_CAN_NOT_BUY_LOWER_OTP','range','[RemoteUniscriptService]:\x20no\x20focused\x20unit','newValue','releaseFormulaLimitUrl','transformMutation','origin','unshift','REDEMPTION_INVALID_CODE','1em','collabStatus.notCollab','DeleteRangeMoveUpCommandId','substring','ranges','_initStatusComponent','_hideTimer','assign','LICENSE_IMPORT_SIZE_EXCEEDED','_backgroundColor','min','_handleHover','MOBILE_HAS_BEEN_BOUND','transformByState','_online','use','_saveTaskMap','_initUserListener','AUTHORIZE_CODE_ILLEGAL','_startDocCollabCursor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_instanceService','33PSRtkW','InsertColCommandId','ENTITLE_COUPON_EXPIRED','_colorIndex','NOT_COLLAB','_cursors','collabStatus.fetchMiss','post','_disabled','sheetId','memberID','UNAUTHENTICATED','error','isArray','getActiveSheet','docStateChange$','string','_setFormulaLimitStatus','startColumn','_checkAndWaitForCalculationPermission','getAncestorScale','colorChannel1','[CollaborationDataLoaderController]','getRangePointData','OFFLINE','enableFrontendLog','_cachedData','show','activeSheet$','defineProperty','_handleHeartbeatEvent','onStarting','disposeUnit','closePath','off-line-icon','_beforeCloseService','_init','collaboration.single-unit.warning','href','MOBILE_VERIFY_CODE_MISMATCH','getCollabCursors$','purple.300','getDocRanges','0\x200\x2016\x2016','USER_IS_ANONYMOUS','979qgcPlL','CONFLICT','_docSyncEditingCollabCursorService','location','onPointerMove$','_showGuardMessage','M0\x200H16V16H0z','OffLineIcon','_hover','_name','random','_startCalculationLimit','width','ENTITLE_NEED_BILLING_ADDRESS','eventID','getCollabEntity$','next','height','1233136ZYuvaK','_httpService','DATA_SOURCE_TOO_LARGE','OTHER_CLIENTS_EDITING','tag','search','EMAIL_HAS_BEEN_BOUND','backgroundColor','EMAIL_VERIFY_CODE_MISMATCH','PERMISSION_DENIED','YUUMI_CONNECTOR_URL_NOT_FOUND','runOnServer','url(#off-line-icon_clip0_910_343)','_applyCommand','_getFormulaLimitStatus','univer-mr-2\x20univer-flex\x20univer-text-xl','clearInterval','_updateURLWithCurrentState','colno','saveTaskMap','_initStatusListener','message','_transformHistoryAndStateStack','updateOfflineData','_entityInit$','red.300','limitInfo','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_EXPORT_SIZE_EXCEEDED','REDEMPTION_CODE_FULLY_REDEEMED','_getSessionTicket','_docTransformStateCacheService','ENSURE_SNAPSHOT_EXECUTION','_uploadLog','flatMap','_handleEvent','YUUMI_ALL_TABLES_IS_INVALID','_cursorInfo$','findNodePositionByCharIndex','YUUMI_URL_COL_OUT_OF_RANGE','_shapes','collaboration.closeRoom','_initEntityListener','measureText','_session','join','INVITE_CODE_HAS_BEEN_UES','FromArray','_setupSubUnitSync','on-line-icon_clip0_910_349','loadOfflineData','getMergeData','UNDEFINED','parse','toString','YUUMI_NO_CUBOID_FOR_QUESTION','application/json','children','formula.calculation.started','_docTransformIMECacheService','_themeService','loadUnit','_collaborationController','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LOGIN_FAILED','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','history','_currentUsage','arc','onCommandExecuted','disposeWithMe','has','attrs','_docStateChangeManagerService','invokeId','transformSelections','COMPLETION_FINISHED','cursorInfo','INVALID_ARGUMENT','_uiPartsService','OnLineIcon','InsertRangeMoveDownCommandId','getUniverSheetInstance','_releaseCalculationLimit','InsertRangeMoveRightCommandId','_cursor','totalFormulasToCalculate','values','_toggleOnline','setParam','cursorInfo$','_getScale','_getMergeRange','getRenderById','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','START_CALCULATION','...','endColumn','_collabSessionService','_colorAssignService','collabStatus.offline','_logService','getRelativeToViewportCoord','path','WECHAT_HAS_BEEN_BOUND','unload','_lastResponseTimestamp','getActiveRange','_univerInstanceService','lineno','onPointerLeave$','_eventUnsubscribe','getCurrentSelections','transformRemoteChangeset','_memberID','_heartbeatTimer','_docSkeleton','pushState','_textBubble','_transformPreviousActiveRange','registerComponent','[LogService\x20Error]:\x20','registerRenderModule','_roomMembers$','149900wOFtMM','PENDING','subscribeEvent','_renderManagerService','addEventListener','getUndoRedoMutationParamsCache','column','triggerDblclick','_imageIoService','_drawRectRange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','YUUMI_RATE_OVER_LIMIT','_hasFormulaInDirtyRanges','storage','/universer-api/license/formula/limit/start','url(#$1','saveOfflineData','getCellPositionByOffset','resize','UPDATE_CURSOR','ENTITLE_REPORT_LIMIT_EXCEED','makeDirty','roomMembers','formula.calculation.waiting','unsubscribe','exhaustSavingTask','_send','Loading','_onCursorDelete','ENTITLE_INVALID_COUPON_CODE','collabCursorState$','collabStatus.syncing','text','_localStorageService','xlink:href','_dataLoaderService','name','m2Prime','_saveCache','now','getCurrentRevOfUnit','Unknown\x20user','restore','YUUMI_AI_RUN_FAILED','_hovered','complete','_unitOnClients','0\x200\x2017\x2016','getMemberID','uni.network.url-service','size','addHandlerCallback','urlChange$','APPLY_REJECT','executionId','doc.mutation.rich-text-editing','startRow','_scheduleSaving','event$','_anchorDot','stack','LOGIN_TOKEN_PROCESSING_FAILED','_monkeyPatchLogService','init','_removeCollabCursors','registerBeforeClose','_setupBeforeClosingHandler','searchParams','addObject','ENTITLE_COUPON_USED_UP','RECT','univer-flex\x20univer-items-center','black','pipe','onPointerEnter$','_localeService','whenReady','collabStatus.conflict','getItem','getSheetId','white','_transformService','collab-rect-range-','_config','AWAITING_WITH_PENDING','_render','getParam','color','popstate','1530FqjMsU','LICENSE_DISTRO_REJECTED','getConfig','_removeClearOtherTimer','ALREADY_EXISTS','split','setAlpha','forEach','_assignedColors','type','_docTransformSelectionsService','some','_refreshCollabCursors','_updateLocalCursor','_updateSubUnitFromURLParams','[Unhandled\x20Rejection]:\x20','UNRECOGNIZED','_registerRenderDependencies','YUUMI_UNABLE_LOAD_URL','currentTheme$','1884nngcDv','add','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','current','REDEMPTION_CODE_INACTIVE','APPLY_NON_SEQUENTIAL_REVISION','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transform','[Window\x20Error]:\x20','setInterval','_scheduleClearOtherTimer','m1Prime','_initCommandInterceptor','VIEW_MAIN','_collaborationUIEventService','UNIVER_DOC','_configService','focused$','currentColor','getTypeOfUnitDisposed$','entityInit$','_initWindowErrorListener','length','_docSkeletonManagerService','_initCommandExecutedListener','_createSocketURL','_document','getMember','_ensureSubject','_anchor','ERROR_AGAIN','TEXT','parseInt','_unitStatus','ACTIVE_UNIT_EVENT_CHANNEL','requireSession','_id','USER_NOT_FOUND','data','moveTo','getFocusedUnit','PY_RUNTIME_SCRIPT_ERROR','div','_sheetSkeletonManagerService','beforeCommandExecuted','APPLY_REVISION_CONFILICT','_clearPolling','getUnitId','transformStateCache','ENTITLE_INSUFFICIENT_QUOTA','getCellMatrix','getCurrentUnitForType','runId','_collabCursorState$','code','functionsExecutedState','YUUMI_ASYNCIO_CANCELLED','_localCacheService','entries','ENTITLE_CHAT_LIMIT_EXCEED','send','max','defIds','_revisionService','assignAColorForMemberID','_cursorShapes','_scheduleHeartbeat','onLocalMutation','_initUnhandledRejectionListener','subscribe','with','APPLY_PERMISSION_DENIED','transformIMECache','replaceState','_toggleOffline','font','_collabCursorController','removeEventListener','_notificationService','dispose','params','row','_entities','_onRefRangeChange','684110lavMCE','mutations'];_0x1ee4=function(){return _0xf11bc4;};return _0x1ee4();}let dt=class extends _0x37986f{constructor(_0xe63e35,_0x14da8a,_0x390ea2){const _0x3dd29e=_0x183824;super(),this[_0x3dd29e(0x16e)]=_0xe63e35,this['_httpService']=_0x14da8a,this[_0x3dd29e(0x2a7)]=_0x390ea2;}async[_0x183824(0x1b9)](_0x2cb068,_0xe9fee4,_0x197af9,..._0x1b7f38){const _0x4c5543=_0x183824;var _0xd36922,_0x1c5898,_0x34edc2,_0x4b2bc8;const _0x4bbe5a=this[_0x4c5543(0x16e)][_0x4c5543(0x2bf)]();if(!_0x4bbe5a)throw new Error(_0x4c5543(0x152));const _0x162082=((_0xd36922=this[_0x4c5543(0x2a7)][_0x4c5543(0x285)](_0xabb55c))!=null?_0xd36922:_0x19611c)+'/'+_0x2cb068+'/run/'+_0xe9fee4,_0x54151=new URL(window[_0x4c5543(0x19f)][_0x4c5543(0x195)]),_0x54c190={'scriptId':_0x2cb068,'runId':(_0x1c5898=_0x54151[_0x4c5543(0x26d)][_0x4c5543(0x2ee)](_0x4c5543(0x2cb)))!=null?_0x1c5898:'','function':_0xe9fee4,'unitId':_0x4bbe5a[_0x4c5543(0x2c6)](),'argsOfFunction':JSON[_0x4c5543(0x37b)](_0x1b7f38),'invokeId':(_0x34edc2=_0x197af9[_0x4c5543(0x1f8)])!=null?_0x34edc2:'','executionId':(_0x4b2bc8=_0x197af9[_0x4c5543(0x260)])!=null?_0x4b2bc8:''};try{const _0x5d1d8d=await this[_0x4c5543(0x1af)][_0x4c5543(0x176)](_0x162082,{'body':_0x54c190});return _0x5d1d8d[_0x4c5543(0x374)][_0x4c5543(0x17b)]&&_0x5d1d8d[_0x4c5543(0x374)][_0x4c5543(0x17b)][_0x4c5543(0x2cd)]!==Z['OK']?'Failed':_0x5d1d8d[_0x4c5543(0x374)]['result'];}catch{return _0x4c5543(0x375);}}};dt=Fn([Ae(0x0,_0x3adc76),Ae(0x1,_0x2b5bcf(_0x2e6660)),Ae(0x2,_0x5a715b)],dt);const St=0x7530,It=_0x183824(0x2b9);class rr extends _0x37986f{constructor(){const _0xb916c1=_0x183824;super(),_(this,_0xb916c1(0x2bb),_0xdf4fd1()),_(this,'_selfUnitIDs',new Set()),_(this,_0xb916c1(0x258),new Map()),_(this,_0xb916c1(0x221),null),_(this,_0xb916c1(0x34a),new Map()),_(this,_0xb916c1(0x2b8),new Map()),this[_0xb916c1(0x193)]();}[_0x183824(0x2e6)](){const _0x22054e=_0x183824;super['dispose'](),this[_0x22054e(0x34a)][_0x22054e(0x28a)]((_0xf408ef,_0x19849f)=>this[_0x22054e(0x286)](_0x19849f)),this[_0x22054e(0x221)]&&window['clearInterval'](this[_0x22054e(0x221)]);}[_0x183824(0x353)](_0x21ad1f){const _0xf9032d=_0x183824;return this[_0xf9032d(0x2b3)](_0x21ad1f)['pipe'](_0x3ef097());}['editingUnit'](_0x5827cc){const _0x16e6f7=_0x183824;this['_selfUnitIDs'][_0x16e6f7(0x25c)]===0x0&&this[_0x16e6f7(0x2d9)](),this[_0x16e6f7(0x2f2)][_0x16e6f7(0x298)](_0x5827cc),this[_0x16e6f7(0x244)]({'type':0x0,'memberID':this[_0x16e6f7(0x2bb)],'unitIDs':[_0x5827cc],'isForwarded':!0x1});}[_0x183824(0x18f)](_0x85aaa){const _0x1a6a9d=_0x183824;this[_0x1a6a9d(0x2f2)][_0x1a6a9d(0x324)](_0x85aaa),this[_0x1a6a9d(0x2f2)][_0x1a6a9d(0x25c)]===0x0&&this['_heartbeatTimer']&&window[_0x1a6a9d(0x1be)](this['_heartbeatTimer']);}[_0x183824(0x193)](){const _0x1f3ede=_0x183824;this[_0x1f3ede(0x1f4)](_0x280f44(_0x542828(window,_0x1f3ede(0x237))[_0x1f3ede(0x2dc)](_0x43dc99=>{const _0x382d3f=_0x1f3ede;if(_0x43dc99['key']!==It||!_0x43dc99[_0x382d3f(0x153)])return;const _0x1c20d1=JSON[_0x382d3f(0x1e3)](_0x43dc99['newValue']);this[_0x382d3f(0x1d1)](_0x1c20d1);}))),window[_0x1f3ede(0x22e)](_0x1f3ede(0x217),()=>this[_0x1f3ede(0x244)]({'type':0x1,'memberID':this[_0x1f3ede(0x2bb)],'unitIDs':Array['from'](this[_0x1f3ede(0x2f2)])}));}[_0x183824(0x1d1)](_0x3308b5){const _0x427644=_0x183824;switch(_0x3308b5[_0x427644(0x28c)]){case 0x0:this['_handleJoinEvent'](_0x3308b5);break;case 0x1:this[_0x427644(0x35a)](_0x3308b5);break;case 0x2:this[_0x427644(0x18d)](_0x3308b5);break;}}['_handleJoinEvent'](_0x288dd0){const _0x23d140=_0x183824,{unitIDs:_0x146c23,memberID:_0x34be9f,isForwarded:_0x234a4b}=_0x288dd0;_0x146c23[_0x23d140(0x28a)](_0x6a0cac=>{const _0x58b7ec=_0x23d140;if(!_0x234a4b&&this[_0x58b7ec(0x258)][_0x58b7ec(0x1f5)](_0x6a0cac)&&this[_0x58b7ec(0x2b3)](_0x6a0cac)[_0x58b7ec(0x1ac)](_0x2b4a63[_0x58b7ec(0x1b1)]),!this[_0x58b7ec(0x258)][_0x58b7ec(0x1f5)](_0x6a0cac)||!this[_0x58b7ec(0x258)][_0x58b7ec(0x2ee)](_0x6a0cac)[_0x58b7ec(0x1f5)](_0x34be9f)){const _0x4b46a3=this[_0x58b7ec(0x258)][_0x58b7ec(0x2ee)](_0x6a0cac)||new Set();_0x4b46a3['add'](_0x34be9f),this[_0x58b7ec(0x258)]['set'](_0x6a0cac,_0x4b46a3),this[_0x58b7ec(0x2a1)](_0x34be9f);}}),_0x234a4b||this[_0x23d140(0x244)]({'type':0x0,'memberID':this[_0x23d140(0x2bb)],'unitIDs':[...this[_0x23d140(0x2f2)]],'isForwarded':!0x0});}[_0x183824(0x2a1)](_0x509de6){const _0x26e803=_0x183824;this[_0x26e803(0x286)](_0x509de6);const _0x13974f=window[_0x26e803(0x316)](()=>{const _0xf7c0d8=_0x26e803;this[_0xf7c0d8(0x258)]['forEach'](_0x207c25=>{const _0x571dee=_0xf7c0d8;_0x207c25[_0x571dee(0x324)](_0x509de6);});},St*0x2);this[_0x26e803(0x34a)][_0x26e803(0x317)](_0x509de6,_0x13974f);}[_0x183824(0x286)](_0x129c29){const _0x33044b=_0x183824;if(this['_clearOtherTimers'][_0x33044b(0x1f5)](_0x129c29)){const _0x2959ba=this['_clearOtherTimers'][_0x33044b(0x2ee)](_0x129c29);_0x2959ba&&window[_0x33044b(0x36d)](_0x2959ba),this['_clearOtherTimers'][_0x33044b(0x317)](_0x129c29,null);}}['_handleLeaveEvent'](_0x102303){const _0x40e518=_0x183824,{memberID:_0x2753b3,unitIDs:_0x215a37}=_0x102303;_0x215a37[_0x40e518(0x28a)](_0x540c62=>{const _0x22c080=_0x40e518;var _0x3ae66b;const _0x1103d4=this['_unitOnClients'][_0x22c080(0x2ee)](_0x540c62);_0x1103d4&&(_0x1103d4[_0x22c080(0x324)](_0x2753b3),(_0x3ae66b=this[_0x22c080(0x2b3)](_0x540c62))==null||_0x3ae66b[_0x22c080(0x1ac)](_0x1103d4[_0x22c080(0x25c)]===0x0?_0x2b4a63['NO_OTHER_CLIENTS_EDITING']:_0x2b4a63[_0x22c080(0x1b1)]));}),this[_0x40e518(0x286)](_0x2753b3);}['_handleHeartbeatEvent'](_0x888c6b){const _0x144ff4=_0x183824;this[_0x144ff4(0x2a1)](_0x888c6b[_0x144ff4(0x179)]);}[_0x183824(0x244)](_0x51fc82){const _0x25afd2=_0x183824;localStorage[_0x25afd2(0x32a)](It,JSON[_0x25afd2(0x37b)](_0x51fc82));}[_0x183824(0x2d9)](){const _0x14ea40=_0x183824;this[_0x14ea40(0x221)]=window[_0x14ea40(0x2a0)](()=>{const _0x55dfe3=_0x14ea40;this[_0x55dfe3(0x244)]({'type':0x2,'memberID':this[_0x55dfe3(0x2bb)]});},St);}['_ensureSubject'](_0x3ded51){const _0x4c1050=_0x183824;return this['_unitStatus'][_0x4c1050(0x1f5)](_0x3ded51)||this[_0x4c1050(0x2b8)][_0x4c1050(0x317)](_0x3ded51,new _0x58e817(_0x2b4a63[_0x4c1050(0x31b)])),this[_0x4c1050(0x2b8)][_0x4c1050(0x2ee)](_0x3ded51);}}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 _0x3fd5ef=_0x3680;(function(_0x56e791,_0x4f42f7){const _0xb07d77=_0x3680,_0x433119=_0x56e791();while(!![]){try{const _0x3cfe0f=parseInt(_0xb07d77(0x32e))/0x1*(parseInt(_0xb07d77(0x258))/0x2)+-parseInt(_0xb07d77(0x145))/0x3+-parseInt(_0xb07d77(0x2c7))/0x4+parseInt(_0xb07d77(0x14f))/0x5*(-parseInt(_0xb07d77(0x1b0))/0x6)+parseInt(_0xb07d77(0x305))/0x7*(-parseInt(_0xb07d77(0x2ad))/0x8)+-parseInt(_0xb07d77(0x116))/0x9*(parseInt(_0xb07d77(0x275))/0xa)+parseInt(_0xb07d77(0x130))/0xb;if(_0x3cfe0f===_0x4f42f7)break;else _0x433119['push'](_0x433119['shift']());}catch(_0x3437bf){_0x433119['push'](_0x433119['shift']());}}}(_0x11c5,0xd2028));var Yt=Object['defineProperty'],Wt=(_0x2cf54a,_0x238243,_0x537bfb)=>_0x238243 in _0x2cf54a?Yt(_0x2cf54a,_0x238243,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x537bfb}):_0x2cf54a[_0x238243]=_0x537bfb,_=(_0x3bf5e3,_0x429641,_0x1c303e)=>Wt(_0x3bf5e3,typeof _0x429641!=_0x3fd5ef(0x2dd)?_0x429641+'':_0x429641,_0x1c303e);import{jsx as _0x483ff2,jsxs as _0x5153a5}from'react/jsx-runtime';import{CollaborationStatus as _0x1c9331,CollaborationSessionService as _0x4b2370,CollaborationController as _0x2d6c5e,DataLoaderService as _0x46419b,MemberService as _0x21ac54,SessionStatus as _0x2c6b0c,ILocalCacheService as _0x2d1fcf,CollaborationUIEventService as _0x18654a,CollaborationUIEventId as _0x334803,DocCollaborationEntity as _0x1609bb,COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY as _0x3b3566,getLocalCacheKey as _0x41c94c,LOCAL_CACHE_INTERVAL as _0x222c32,LOCAL_CACHE_INTERVAL_KEY as _0x3bfdc4,UniverCollaborationClientPlugin as _0x45f3f2,CollaborationSocketService as _0x108e7d,DEFAULT_WS_SESSION_TICKET_URL as _0xbe5095,REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY as _0x3dc8dc,DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT as _0x39e636,UnitStatus as _0x608ac7}from'@univerjs-pro/collaboration-client';import{LocaleService as _0xf97bb8,IUniverInstanceService as _0x2ad077,Inject as _0x5be279,Injector as _0x4442ad,Disposable as _0x4f00b7,createIdentifier as _0x3a372c,ILogService as _0x25626e,ICommandService as _0x52fbf7,Optional as _0x17d6fa,RxDisposable as _0x54976c,Workbook as _0x36a522,DOC_RANGE_TYPE as _0x4944de,debounce as _0x23fefb,Rectangle as _0x23054e,DisposableCollection as _0xe7f0b,toDisposable as _0x2e8f72,UniverInstanceType as _0x1d3b10,generateRandomId as _0xba23d8,COLORS as _0x3b0bff,ColorKit as _0x4ee345,ThemeService as _0x27077f,fromEventSubject as _0xe44c5,Tools as _0x2b2135,CommandType as _0x5419f7,IConfigService as _0x35b32a,CanceledError as _0x42ff66,isFormulaString as _0x535a76,isFormulaId as _0x415212,ILocalStorageService as _0x494af5,DependentOn as _0x4fbb73,Plugin as _0x28d2ed,merge as _0x3e7f1c,registerDependencies as _0x28bcb4,mergeOverrideWithDependencies as _0x4720d5,touchDependencies as _0x4626f1}from'@univerjs/core';import{useObservable as _0x3b6c37,useDependency as _0x3e5812,IUIPartsService as _0x1f3df8,BuiltInUIPart as _0x5e93fc,connectInjector as _0x27af71,IBeforeCloseService as _0x420154,IMessageService as _0x968e7c,INotificationService as _0x27058d}from'@univerjs/ui';import{BehaviorSubject as _0x35a309,switchMap as _0x4773fc,of as _0x35ec2a,takeUntil as _0x5e42cd,debounceTime as _0x2b68b5,Subject as _0x227c19,filter as _0x3935fb,merge as _0xa1f736,combineLatest as _0x41494d,fromEvent as _0x22a663,shareReplay as _0x1d7304,mapTo as _0x1d3877,distinctUntilChanged as _0x2ed732}from'rxjs';import{Tooltip as _0xa6af63,clsx as _0x3a332a,MessageType as _0x5db869}from'@univerjs/design';import{useRef as _0x438dba,createElement as _0x1df529,forwardRef as _0x1d8c0b,useCallback as _0x399c7b}from'react';import{IRemoteInstanceService as _0x45dee2}from'@univerjs/rpc';function _0x3680(_0x591f56,_0x54452d){_0x591f56=_0x591f56-0xf9;const _0x11c516=_0x11c5();let _0x36800d=_0x11c516[_0x591f56];return _0x36800d;}import{SetWorksheetActivateCommand as _0x46f4df,RefRangeService as _0x185a02,SetSelectionsOperation as _0x49a9fc,SheetsSelectionsService as _0x3b49f0,EffectRefRangId as _0x1b53c3,handleIRemoveRow as _0x309a40,handleIRemoveCol as _0x237126,handleMoveRange as _0x33eaa9,handleInsertRow as _0x1af6cf,handleInsertRangeMoveRight as _0x86c9c9,handleInsertRangeMoveDown as _0x4bffa8,handleInsertCol as _0xf25669,handleDeleteRangeMoveUp as _0x4292a9,handleDeleteRangeMoveLeft as _0x883b5a,runRefRangeMutations as _0x3b1589}from'@univerjs/sheets';import{Shape as _0x112b79,Rect as _0x4403cb,getColor as _0x444fcb,RegularPolygon as _0x138f58,TRANSFORM_CHANGE_OBSERVABLE_TYPE as _0x723e00,Vector2 as _0x1244fe,SHEET_VIEWPORT_KEY as _0x2ecadb,IRenderManagerService as _0x19555c}from'@univerjs/engine-render';import{HTTPService as _0x35064f,ISocketService as _0x2737a6,WebSocketService as _0x1e7bcc}from'@univerjs/network';import{IDocClipboardService as _0x87c54e,NodePositionConvertToCursor as _0x5e5b38,NodePositionConvertToRectRange as _0x1fc4d2,TEXT_RANGE_LAYER_INDEX as _0x95aa8b,SetDocZoomRatioOperation as _0xf95019,DocIMEInputManagerService as _0x5c8d42,DocStateChangeManagerService as _0x580a14}from'@univerjs/docs-ui';import{IImageIoService as _0x1cec28}from'@univerjs/drawing';import{ITransformService as _0x4be4b1,CollaborationEvent as _0x3c97cb,isTransformMutationFailure as _0x3758a8,isTransformMutationsWithChangesetSuccess as _0x463bb2,RevisionService as _0x3c1008,ISnapshotServerService as _0x20bd4a}from'@univerjs-pro/collaboration';import{SetTextSelectionsOperation as _0x13360e,RichTextEditingMutation as _0x4d93a5,DocSelectionManagerService as _0x2d3f04,DocSkeletonManagerService as _0x168684}from'@univerjs/docs';import{deserializeRangeWithSheet as _0xfaeb74,serializeRangeWithSheet as _0xb57860,FormulaExecuteStageType as _0x533e75,FormulaExecutedStateType as _0x16f1fc,SetFormulaCalculationStartMutation as _0x2753de,SetFormulaCalculationNotificationMutation as _0x58be3c}from'@univerjs/engine-formula';import{map as _0x3ecce4,filter as _0x254313,throttleTime as _0x6ae5f3,takeUntil as _0x51cdc5,switchMap as _0x5769c7}from'rxjs/operators';function _0x11c5(){const _0x14de88=['SUCCESS','loadUnit','some','getCurrent','univer-flex\x20univer-items-center','stack','Loading','getConfig','22384QNWeQH','InsertRangeMoveRightCommandId','_getSheetObject','LOGIN_TOKEN_PROCESSING_FAILED','setParam','_docSyncEditingCollabCursorService','fillRule','urlChange$','post','getCurrentRevOfUnit','_color','isArray','path','getAncestorScale','DATA_SOURCE_TOO_LARGE','_cursors','red.300','_transformPreviousActiveRange','registerComponent','flatMap','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_getFormulaLimitStatus','docStateChange$','NO_OTHER_CLIENTS_EDITING','ENTITLE_CAN_NOT_BUY_LOWER_OTP','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','_initCommandExecutedListener','labelPosition','_uploadLog','1564010SCdNKx','_currentUsage','USERS_LEAVE','getUnitStatus$','REDEMPTION_USER_REDEEM_TIMES_EXCEED','send','_registerRenderDependencies','executionId','entries','UNIVER_SHEET','_configService','override','_toggleOffline','url(#$1','COMPLETION_FINISHED','_config','_anchorDot','_memberService','getActiveSheet','map','?taskId=','_getMergeRange','onPointerLeave$','MoveRangeCommandId','setUndoRedoMutationParamsCache','imageSourceType','_cursor','newValue','getOwnPropertyDescriptor','setConfig','_handleLeaveEvent','DeleteRangeMoveUpCommandId','get','getMemberID','_dataLoaderService','AWAITING','bottom','_hasFormulaInDirtyRanges','setAlpha','getTypeOfUnitAdded$','_refreshCollabCursors','defs','on-line-icon_clip0_910_349','_docTransformStateCacheService','editingUnit','collabStatus.conflict','setTimeout','getVpScrollXYInfoByPosToVp','roomMembers$','_sheetSkeletonManagerService','...','transformIMECache','_initDependencies','off-line-icon_clip0_910_343','onStarting','DeleteRangeMoveLeftCommandId','1313168csvtDb','INVITE_CODE_REQUIRED','selection','APPLY_DUPLICATED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','actions','_drawTextRange','_ensureSubject','INVALID_INVITE_CODE','ENTITLE_REPORT_LIMIT_EXCEED','shift','clipPath','unshift','mutations','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','_hideTimer','collaboration.offline-data-not-saved','getCellMatrix','OffLineIcon','_pollingInterval','_showGuardMessage','_updateCollabCursors','complete','engine','FromArray','APPLY_REJECT','4155240pmklyA','_roomMembers$','APPLY_REVISION_CONFILICT','getMergeData','SOCKET_FAILED_RETRY','_localStorageService','_name','_onRefRangeChange','debug','tag','Success','_lastResponseTimestamp','_initStatusListener','_transformService','UPDATE_CURSOR','disposeUnit','0\x200\x2016\x2016','none','popstate','asObservable','createInstance','forEach','symbol','_collaborationSessionService','_hover','YUUMI_ASYNCIO_CANCELLED','AUTHORIZE_CODE_ILLEGAL','_uiPartsService','onTransformChange$','univer-mr-2\x20univer-flex\x20univer-text-xl','_httpService','_docClipboardService','PENDING','lineTo','_syncEditingCollabCursorService','collabCursorState$','contains','_eventUnsubscribe','M0\x200H16V16H0z','MUTATION','YUUMI_ALL_TABLES_IS_INVALID','_context','currentTheme$','_renderManagerService','cursorInfo','SNAPSHOT_INVALID_SNAPSHOT','[LogService\x20Error]:\x20','OFFLINE','_urlService','unit','session.connection-failed','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformByState','_drawRectRange','CURRENT_STATUS_CANNOT_OPERATE','moveTo','_handleJoinEvent','_id','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','code','Error','REDEMPTION_CODE_INACTIVE','7nhGWZc','_selfUnitIDs','onPointerEnter$','_initEntityListener','_injector','disableLocalCache','TOO_MANY_REQUESTS','replaceState','catch','_collaborationController','endColumn','backgroundColor','getFocusedUnit','_cursorShapes','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','doc.mutation.rich-text-editing','_removeClearOtherTimer','_docSkeletonManagerService','_startSheetCollabCursor','getUndoRedoMutationParamsCache','_document','_registerDependencies','removeEventListener','toString','_labelPosition','color','_docTransformSelectionsService','_scene','max','memberID','[Unhandled\x20Rejection]:\x20','ENTITLE_CHAT_LIMIT_EXCEED','_textBubble','reason','syncEditingCollabCursor','getValue','INVITE_CODE_ALREADY_BOUND','collab-client.tooltip.reconnect','children','column','getStateCache','8euSjhe','getTypeOfUnitDisposed$','_localeService','unload','_createSocketURL','_init','UNDEFINED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','LOGIN_FAILED','getCurrentSelections','assign','_saveTaskMap','_cachedData','LICENSE_DISTRO_REJECTED','_removeCollabCursors','saveOfflineData','saveTaskMap','Warning','RemoveRowCommandId','history','_releaseCalculationLimit','save','onCommandExecuted','REDEMPTION_CODE_NOT_STARTED','disposeWithMe','registerRefRange','_getSessionTicket','collab-text-range-','_draw','_range','LICENSE_EXPORT_SIZE_EXCEEDED','message','height','_collabCursorState$','green.600','PY_RUNTIME_SCRIPT_ERROR','currentUsage','addHandlerCallback','_send','_backgroundColor','YUUMI_URL_COL_OUT_OF_RANGE','CONFLICT','MOBILE_HAS_BEEN_BOUND','assignAColorForMemberID','subscribe','transform','ALREADY_EXISTS','REDEMPTION_CODE_FULLY_REDEEMED','status$','body','SNAPSHOT_HAS_BEEN_REMOVED','string','_session','registerRenderModule','rgba(255,\x20255,\x20255,\x200.01)','ENTITLE_DUP_SUBSCRIPTION','OnLineIcon','InsertColCommandId','_memberID','startFormulaLimitUrl','setStateCache','searchParams','_colorAssignService','length','getSheetId','origin','restore','INVALID_ARGUMENT','APPLY_PERMISSION_DENIED','USER_IS_ANONYMOUS','_setupBeforeClosingHandler','_maxFormulaLimit','_handleEvent','9nIjzEa','LICENSE_IMPORT_SIZE_EXCEEDED','_initResize','REDEMPTION_USER_NOT_ELIGIBLE','transformSelections','[Window\x20Error]:\x20','runOnServer','trim','exhaustSavingTask','subscribeEvent','LICENSE_MAX_UNITS_EXCEEDED','getformulaLimitStatusUrl','ERROR_AGAIN','getOffsetConfig','/universer-api/license/formula/limit/status','permission.title','_getAnchorBounding','YUUMI_RATE_OVER_LIMIT','NOT_COLLAB','now','key','unhandledrejection','lineno','arc','translate(.97)','_scheduleClearOtherTimer','38896154qdcDUA','selections','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_unitOnClients','div','url(#off-line-icon_clip0_910_343)','from','getParam','_doCreateSocket','includes','split','type','_transformUndoRedoStack','_messageService','filename','RECT','onLocalMutation','runId','REDEMPTION_INVALID_CODE','has','_setupSubUnitSync','814242abvxZr','focused$','collabStatus.synced','_startDocCollabCursor','/universer-api/frontend/logs','session.will-retry','collab-rect-range-','REDEMPTION_CODE_HAS_BEEN_CREATED','_heartbeatTimer','setInterval','5yUDRFy','stage','getUnitId','getCollabEntity$','_scheduleHeartbeat','then','roomMembers','_onCursorDelete','href','/universer-api/license/formula/limit/done','enableLocalCache','getRelativeToViewportCoord','EMAIL_HAS_BEEN_BOUND','0\x200\x2017\x2016','transformRemoteChangeset','setItem','_colorIndex','unitId','fillStyle','idSuffix','source','_initCommandInterceptor','ENSURE_SNAPSHOT_EXECUTION','add','_clearPolling','_online','defIds','SYNCED','measureText','YUUMI_SUBSCRIPTION_NOT_FOUND','onMouseMove','_applyCommand','pipe','formula.calculation.started','registerBeforeClose','data','random','collabStatus.offline','SUBMIT_CHANGESET_TIMEOUT','subunit','activeSheet$','isEditing','loadOfflineData','_entities','cursorInfo$','getDocRanges','colorChannel1','_taskIds','USER_NOT_FOUND','dirtyRanges','getRangePointData','INVITE_CODE_HAS_BEEN_UES','OTHER_CLIENTS_EDITING','addEventListener','executeCommand','endRow','Failed','_clearOtherTimers','_cursorInfo$','displayName','getItem','addClipboardHook','enableFrontendLog','TEXT','storage','set','getCellPositionByOffset','next','white','ENTITLE_COUPON_USED_UP','PERMISSION_DENIED','_docStateChangeManagerService','/run/','getActiveRange','getCurrentUnitForType','ticket','subUnitId','_setFormulaLimitStatus','find','UNIVER_DOC','RemoveColCommandId','stageInfo','currentColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','skeleton','_collaborationUIEventService','_univerInstanceService','NOT_FOUND','substring','params','row','_initEvent','event$','beginPath','1em','maxFormulaLimit','attrs','6807474LciQJv','textRanges','search','width','ONLINE','isActive','top','sessionStatus$','_initUnhandledRejectionListener','_commandService','_refRangeService','getRenderById','_handleHover','m1Prime','fill','collabStatus.fetchMiss','collabStatus.notCollab','clearInterval','round','_lastPointer','ENTITLE_INSUFFICIENT_QUOTA','_saveCache','parseInt','_onCursorUpdate','_imageIoService','_revisionService','hovered','drawWith','_notificationService','wsSessionTicketUrl','replace','OTHER_CLIENT_EDITING','YUUMI_UNABLE_LOAD_URL','_checkAndWaitForCalculationPermission','bind','jiqing.500','getCollabCursors$','getColorFromTheme','sessionTicket','totalFormulasToCalculate','_disabled','startColumn','ENTITLE_INVALID_COUPON_CODE','_updateSubUnitFromURLParams','on-line-icon','transformStateCache','unsubscribe','_handleHeartbeatEvent','ENTITLE_COUPON_EXPIRED','getSheetBySheetId','socket$','evenodd','YUUMI_AI_RUN_FAILED','_collabCursorController','makeDirty','_docTransformIMECacheService','_logService','_shapes','getViewport','collaboration.single-unit.warning','\x20at\x20','UNRECOGNIZED','_beforeCloseService','reconnect','_instanceService','Unknown\x20user','dispose','_initStatusComponent','_render','findNodePositionByCharIndex','ENTITLE_NEED_BILLING_ADDRESS','startRow','url(#on-line-icon_clip0_910_349)','_updateLocalCursor','toRgbString','_collabSessionService','EMAIL_VERIFY_CODE_MISMATCH','releaseFormulaLimitUrl','CHANGESET_REVISION_CONFILICT','beforeCommandExecuted','SOCKET_FAILED','mask','uni.network.url-service','dispose$','FETCH_MISS','unitID','getUniverSheetInstance','with','_entityInit$','_localCacheService','_toggleOnline','_assignedColors','off-line-icon','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_updateURLWithCurrentState','show','_monkeyPatchLogService','WECHAT_HAS_BEEN_BOUND','_drawAnchor','_checkCalculationAvailable','xlink:href','YUUMI_CONNECTOR_URL_NOT_FOUND','startsWith','stringify','eventID','closePath','updateOfflineData','ACTIVE_UNIT_EVENT_CHANNEL','name','collaboration-client-ui.config','UNAUTHENTICATED','_initWindowErrorListener','http://www.w3.org/2000/svg','push','requireSession','black','formula.calculation.unable','entityInit$','_initUserListener','getSkeleton','_themeService','_status$','size','AWAITING_WITH_PENDING','colno','sheetId','svg','_unitStatus','_getSaveTimeout','transformMutationsWithChangeset','error','deepClone','limitInfo','pushState','delete','InsertRowCommandId','fillText','ranges','getMember','hide','setShapeProps','values','_hovered','current','USER_NOT_INVITED_CODE','_getScale','transformMutation','init','_startCalculationLimit','_anchor','_docSkeleton','CONNECTOR_DATA_TOO_LARGE','m2Prime','addObject','location','redoState','text','INTERNAL_ERROR','undoState','START_CALCULATION'];_0x11c5=function(){return _0x14de88;};return _0x11c5();}import{SheetSkeletonManagerService as _0x103263,getCoordByCell as _0x3294e3,getSheetObject as _0x59fce6}from'@univerjs/sheets-ui';function Ge({ref:_0x86f595,..._0x43e13e}){const _0x54290f=_0x3fd5ef,{icon:_0x13eb18,id:_0x17fd6c,className:_0x28f08e,extend:_0x334875,..._0x3989f2}=_0x43e13e,_0x2d43bd=('univerjs-icon\x20univerjs-icon-'+_0x17fd6c+'\x20'+(_0x28f08e||''))[_0x54290f(0x11d)](),_0x3f5728=_0x438dba('_'+vi());return At(_0x13eb18,''+_0x17fd6c,{'defIds':_0x13eb18[_0x54290f(0x169)],'idSuffix':_0x3f5728[_0x54290f(0x23f)]},{'ref':_0x86f595,'className':_0x2d43bd,..._0x3989f2},_0x334875);}function At(_0x3296d0,_0x30c765,_0x326bee,_0x83d4d7,_0x17bb04){const _0x27b907=_0x3fd5ef;return _0x1df529(_0x3296d0[_0x27b907(0x2d0)],{'key':_0x30c765,...gi(_0x3296d0,_0x326bee,_0x17bb04),..._0x83d4d7},(Ei(_0x3296d0,_0x326bee)[_0x27b907(0x32b)]||[])[_0x27b907(0x288)]((_0x4cbc35,_0x2ac765)=>At(_0x4cbc35,_0x30c765+'-'+_0x3296d0[_0x27b907(0x2d0)]+'-'+_0x2ac765,_0x326bee,void 0x0,_0x17bb04)));}function gi(_0x2bd2ae,_0xfae266,_0xe6fd7b){const _0x2a9d45=_0x3fd5ef,_0x148adb={..._0x2bd2ae[_0x2a9d45(0x1af)]};_0xe6fd7b!=null&&_0xe6fd7b[_0x2a9d45(0x17d)]&&_0x148adb[_0x2a9d45(0x1be)]===_0x2a9d45(0x17d)&&(_0x148adb[_0x2a9d45(0x1be)]=_0xe6fd7b[_0x2a9d45(0x17d)]),_0x2bd2ae['tag']===_0x2a9d45(0x201)&&_0x148adb['id']&&(_0x148adb['id']=_0x148adb['id']+_0xfae266['idSuffix']),Object[_0x2a9d45(0x27d)](_0x148adb)[_0x2a9d45(0x2dc)](([_0x372771,_0x42ac39])=>{const _0x6986f=_0x2a9d45;_0x372771===_0x6986f(0x201)&&typeof _0x42ac39==_0x6986f(0x100)&&(_0x148adb[_0x372771]=_0x42ac39[_0x6986f(0x1ce)](/url\(#(.*)\)/,_0x6986f(0x282)+_0xfae266[_0x6986f(0x162)]+')'));});const {defIds:_0x4e56b6}=_0xfae266;return!_0x4e56b6||_0x4e56b6[_0x2a9d45(0x10c)]===0x0||(_0x2bd2ae[_0x2a9d45(0x2d0)]==='use'&&_0x148adb['xlink:href']&&(_0x148adb[_0x2a9d45(0x214)]=_0x148adb['xlink:href']+_0xfae266[_0x2a9d45(0x162)]),Object['entries'](_0x148adb)[_0x2a9d45(0x2dc)](([_0x3ef5d5,_0xb3fac7])=>{const _0x1283e9=_0x2a9d45;typeof _0xb3fac7==_0x1283e9(0x100)&&(_0x148adb[_0x3ef5d5]=_0xb3fac7[_0x1283e9(0x1ce)](/url\(#(.*)\)/,_0x1283e9(0x282)+_0xfae266[_0x1283e9(0x162)]+')'));})),_0x148adb;}function Ei(_0x4c14fa,_0x28fa47){const _0x5f3784=_0x3fd5ef;var _0x2c8e32;const {defIds:_0x325bfa}=_0x28fa47;return!_0x325bfa||_0x325bfa[_0x5f3784(0x10c)]===0x0?_0x4c14fa:_0x4c14fa['tag']===_0x5f3784(0x29e)&&((_0x2c8e32=_0x4c14fa['children'])!=null&&_0x2c8e32[_0x5f3784(0x10c)])?{..._0x4c14fa,'children':_0x4c14fa[_0x5f3784(0x32b)][_0x5f3784(0x288)](_0x42bc1c=>typeof _0x42bc1c['attrs']['id']=='string'&&_0x325bfa&&_0x325bfa[_0x5f3784(0x139)](_0x42bc1c[_0x5f3784(0x1af)]['id'])?{..._0x42bc1c,'attrs':{..._0x42bc1c[_0x5f3784(0x1af)],'id':_0x42bc1c['attrs']['id']+_0x28fa47['idSuffix']}}:_0x42bc1c)}:_0x4c14fa;}function vi(){const _0x27f713=_0x3fd5ef;return Math[_0x27f713(0x173)]()[_0x27f713(0x31c)](0x24)[_0x27f713(0x1a7)](0x2,0x8);}Ge[_0x3fd5ef(0x18a)]='UniverIcon';const pi={'tag':_0x3fd5ef(0x22e),'attrs':{'xmlns':_0x3fd5ef(0x220),'fill':_0x3fd5ef(0x2d8),'viewBox':_0x3fd5ef(0x2d7),'width':_0x3fd5ef(0x1ad),'height':_0x3fd5ef(0x1ad)},'children':[{'tag':'g','attrs':{'clipPath':_0x3fd5ef(0x135)},'children':[{'tag':_0x3fd5ef(0x264),'attrs':{'stroke':_0x3fd5ef(0x1a1),'d':_0x3fd5ef(0x271),'strokeLinecap':_0x3fd5ef(0x1c2),'strokeLinejoin':_0x3fd5ef(0x1c2),'strokeWidth':1.2}}]},{'tag':_0x3fd5ef(0x29e),'attrs':{},'children':[{'tag':_0x3fd5ef(0x2b8),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x3fd5ef(0x193),'d':_0x3fd5ef(0x2ed)}}]}]}],'defIds':[_0x3fd5ef(0x2aa)]},Pt=_0x1d8c0b(function(_0x484aff,_0x5c43b4){const _0x219ce4=_0x3fd5ef;return _0x1df529(Ge,Object[_0x219ce4(0x338)]({},_0x484aff,{'id':_0x219ce4(0x20c),'ref':_0x5c43b4,'icon':pi}));});Pt[_0x3fd5ef(0x18a)]=_0x3fd5ef(0x2bf);const Oi={'tag':_0x3fd5ef(0x22e),'attrs':{'xmlns':_0x3fd5ef(0x220),'fill':'none','viewBox':_0x3fd5ef(0x15c),'width':_0x3fd5ef(0x1ad),'height':_0x3fd5ef(0x1ad)},'children':[{'tag':'g','attrs':{'clipPath':_0x3fd5ef(0x1f8)},'children':[{'tag':_0x3fd5ef(0x264),'attrs':{'stroke':_0x3fd5ef(0x1a1),'d':_0x3fd5ef(0x2bb),'strokeLinecap':_0x3fd5ef(0x1c2),'strokeLinejoin':_0x3fd5ef(0x1c2),'strokeWidth':1.2}}]},{'tag':_0x3fd5ef(0x29e),'attrs':{},'children':[{'tag':_0x3fd5ef(0x2b8),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x3fd5ef(0x264),'attrs':{'fill':_0x3fd5ef(0x193),'d':_0x3fd5ef(0x2ed),'transform':_0x3fd5ef(0x12e)}}]}]}],'defIds':[_0x3fd5ef(0x29f)]},wt=_0x1d8c0b(function(_0x580db5,_0x5b513b){const _0x99472e=_0x3fd5ef;return _0x1df529(Ge,Object[_0x99472e(0x338)]({},_0x580db5,{'id':_0x99472e(0x1dc),'ref':_0x5b513b,'icon':Oi}));});wt['displayName']=_0x3fd5ef(0x105);function Ti(_0x126a0a){const _0x5b6539=_0x3fd5ef;switch(_0x126a0a){case _0x1c9331[_0x5b6539(0x2f6)]:return _0x5b6539(0x174);case _0x1c9331[_0x5b6539(0x357)]:return _0x5b6539(0x2a2);case _0x1c9331[_0x5b6539(0x204)]:return _0x5b6539(0x1bf);case _0x1c9331[_0x5b6539(0x128)]:return _0x5b6539(0x1c0);case _0x1c9331[_0x5b6539(0x298)]:case _0x1c9331[_0x5b6539(0x22b)]:return'collabStatus.syncing';case _0x1c9331[_0x5b6539(0x16a)]:case _0x1c9331[_0x5b6539(0x2e7)]:return _0x5b6539(0x147);}}function Ci(_0x53eb24){const _0xfff541=_0x3fd5ef,{status$:_0x2ae42e}=_0x53eb24,_0x1c7161=_0x3b6c37(_0x2ae42e,_0x1c9331[_0xfff541(0x128)]),_0x247da8=_0x3e5812(_0xf97bb8),_0x6aff8a=_0x3e5812(_0x4b2370),_0x1c0b7a=_0x1c7161!==_0x1c9331['OFFLINE'],_0x4456f2=_0x247da8['t'](Ti(_0x1c7161)),_0x1e73a9=_0x1c0b7a?_0x483ff2(wt,{}):_0x483ff2(Pt,{}),_0x13dd8d=_0x399c7b(()=>{const _0x572045=_0xfff541;_0x1c0b7a||_0x6aff8a[_0x572045(0x1ef)]();},[_0x1c0b7a,_0x6aff8a]);function _0x3bd6a0(){const _0x222712=_0xfff541;return _0x5153a5(_0x222712(0x134),{'className':_0x222712(0x254),'onClick':_0x13dd8d,'children':[_0x483ff2(_0x222712(0x134),{'className':_0x3a332a(_0x222712(0x2e4),{'univer-text-green-500':_0x1c0b7a,'univer-text-red-500':!_0x1c0b7a}),'children':_0x1e73a9}),_0x483ff2(_0x222712(0x134),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x4456f2})]});}return _0x1c0b7a?_0x3bd6a0():_0x483ff2(_0xa6af63,{'title':_0x247da8['t'](_0xfff541(0x32a)),'children':_0x3bd6a0()});}var Ri=Object['getOwnPropertyDescriptor'],Di=(_0x5b1278,_0x8c5b7d,_0x2c61f3,_0x599af7)=>{const _0x44b6c3=_0x3fd5ef;for(var _0x1d5c92=_0x599af7>0x1?void 0x0:_0x599af7?Ri(_0x8c5b7d,_0x2c61f3):_0x8c5b7d,_0x3712b4=_0x5b1278[_0x44b6c3(0x10c)]-0x1,_0x37a264;_0x3712b4>=0x0;_0x3712b4--)(_0x37a264=_0x5b1278[_0x3712b4])&&(_0x1d5c92=_0x37a264(_0x1d5c92)||_0x1d5c92);return _0x1d5c92;},se=(_0x1ce305,_0x114786)=>(_0x586456,_0x319c2e)=>_0x114786(_0x586456,_0x319c2e,_0x1ce305);let ae=class extends _0x4f00b7{constructor(_0x3b0a9f,_0x51201d,_0x18d5d6,_0x3fe0bd){const _0x45dd26=_0x3fd5ef;super(),_(this,_0x45dd26(0x229),new _0x35a309(_0x1c9331[_0x45dd26(0x128)])),(this['_univerInstanceService']=_0x3b0a9f,this[_0x45dd26(0x309)]=_0x51201d,this[_0x45dd26(0x30e)]=_0x18d5d6,this[_0x45dd26(0x2e2)]=_0x3fe0bd,this[_0x45dd26(0x1f3)](),this['_initStatusListener']());}[_0x3fd5ef(0x2d3)](){const _0x3a7838=_0x3fd5ef;this['disposeWithMe'](this[_0x3a7838(0x1a5)][_0x3a7838(0x146)][_0x3a7838(0x16f)](_0x4773fc(()=>{const _0x185998=_0x3a7838,_0x26eb73=this[_0x185998(0x1a5)][_0x185998(0x311)]();return _0x26eb73?this[_0x185998(0x30e)][_0x185998(0x152)](_0x26eb73[_0x185998(0x151)]()):_0x35ec2a(null);}),_0x4773fc(_0x540928=>_0x540928?_0x540928[_0x3a7838(0xfd)]:_0x35ec2a(_0x1c9331[_0x3a7838(0x128)])))[_0x3a7838(0xf9)](_0xee58c7=>{const _0x4133ec=_0x3a7838;this[_0x4133ec(0x229)][_0x4133ec(0x192)](_0xee58c7);}));}['_initStatusComponent'](){const _0x5d5ed2=_0x3fd5ef;this[_0x5d5ed2(0x346)](this['_uiPartsService'][_0x5d5ed2(0x26a)](_0x5e93fc['HEADER_MENU'],()=>_0x27af71(Ni({'status$':this[_0x5d5ed2(0x229)][_0x5d5ed2(0x2da)]()}),this[_0x5d5ed2(0x309)])));}};ae=Di([se(0x0,_0x2ad077),se(0x1,_0x5be279(_0x4442ad)),se(0x2,_0x5be279(_0x2d6c5e)),se(0x3,_0x1f3df8)],ae);function Ni(_0x35bc1d){const {status$:_0x378dcd}=_0x35bc1d;return function(){return _0x483ff2(Ci,{'status$':_0x378dcd});};}const yt=_0x3a372c(_0x3fd5ef(0x202));var bi=Object['getOwnPropertyDescriptor'],Li=(_0x54948e,_0x5f4b17,_0x53dc25,_0x4223b3)=>{const _0x15ee98=_0x3fd5ef;for(var _0x4c6f60=_0x4223b3>0x1?void 0x0:_0x4223b3?bi(_0x5f4b17,_0x53dc25):_0x5f4b17,_0x13e45c=_0x54948e[_0x15ee98(0x10c)]-0x1,_0x233495;_0x13e45c>=0x0;_0x13e45c--)(_0x233495=_0x54948e[_0x13e45c])&&(_0x4c6f60=_0x233495(_0x4c6f60)||_0x4c6f60);return _0x4c6f60;},K=(_0x4dbba2,_0x5cad9b)=>(_0x318eb4,_0x274365)=>_0x5cad9b(_0x318eb4,_0x274365,_0x4dbba2);let ce=class extends _0x54976c{constructor(_0x2a8b1e,_0xf0042f,_0x1e0faf,_0x763352,_0x24686a){const _0x566a61=_0x3fd5ef;super(),this[_0x566a61(0x2f7)]=_0x2a8b1e,this['_logService']=_0xf0042f,this[_0x566a61(0x1b9)]=_0x1e0faf,this[_0x566a61(0x297)]=_0x763352,_0x24686a?_0x24686a==null||_0x24686a['whenReady']()[_0x566a61(0x154)](()=>this[_0x566a61(0x333)]()):(this[_0x566a61(0x1e8)][_0x566a61(0x2cf)]('[CollaborationDataLoaderController]',_0x566a61(0x132)),this[_0x566a61(0x333)]());}async[_0x3fd5ef(0x333)](){const _0x3273a8=_0x3fd5ef,_0x546db8=this[_0x3273a8(0x2f7)][_0x3273a8(0x137)](_0x3273a8(0x2f8)),_0x346d29=this[_0x3273a8(0x2f7)]['getParam'](_0x3273a8(0x13b)),_0x49091d=this[_0x3273a8(0x2f7)]['getParam'](_0x3273a8(0x176));if(!_0x546db8||!_0x346d29){this[_0x3273a8(0x1e8)]['debug']('[CollaborationDataLoaderController]',_0x3273a8(0x20d));return;}const _0x1fe2f5=await this[_0x3273a8(0x297)][_0x3273a8(0x251)](_0x546db8,Number(_0x346d29),_0x49091d);_0x1fe2f5&&_0x1fe2f5 instanceof _0x36a522&&this[_0x3273a8(0x144)](_0x1fe2f5);}async[_0x3fd5ef(0x144)](_0x41a9e4){const _0x56c2f4=_0x3fd5ef;await this[_0x56c2f4(0x1db)](_0x41a9e4),_0x41a9e4[_0x56c2f4(0x177)]['pipe'](_0x5e42cd(this[_0x56c2f4(0x203)]))[_0x56c2f4(0xf9)](_0x478495=>{const _0x5b4a86=_0x56c2f4;_0x478495&&this[_0x5b4a86(0x20e)](_0x478495);}),this[_0x56c2f4(0x2f7)]['urlChange$'][_0x56c2f4(0x16f)](_0x5e42cd(this[_0x56c2f4(0x203)]))[_0x56c2f4(0xf9)](()=>this['_updateSubUnitFromURLParams'](_0x41a9e4));}[_0x3fd5ef(0x20e)](_0x504a56,_0x38db87=!0x1){const _0x1633dc=_0x3fd5ef,_0x1f56c3=this['_urlService'][_0x1633dc(0x137)](_0x1633dc(0x176));_0x504a56[_0x1633dc(0x10d)]()!==_0x1f56c3&&this[_0x1633dc(0x2f7)][_0x1633dc(0x25c)](_0x1633dc(0x176),_0x504a56[_0x1633dc(0x10d)](),_0x38db87);}async[_0x3fd5ef(0x1db)](_0x44c8ab){const _0x3acc5c=_0x3fd5ef;var _0x485893;const _0xb4270e=this[_0x3acc5c(0x2f7)][_0x3acc5c(0x137)]('subunit');if(!_0xb4270e||!_0x44c8ab['getSheetBySheetId'](_0xb4270e)){const _0xe1dc07=_0x44c8ab['getUnhiddenWorksheets']()[0x0],_0x7d2a1b=_0x44c8ab[_0x3acc5c(0x1e1)](_0xe1dc07);if(!_0x7d2a1b)return;this['_updateURLWithCurrentState'](_0x7d2a1b,!0x0),await this[_0x3acc5c(0x1b9)][_0x3acc5c(0x185)](_0x46f4df['id'],{'unitId':_0x44c8ab[_0x3acc5c(0x151)](),'subUnitId':_0xe1dc07});return;}((_0x485893=_0x44c8ab[_0x3acc5c(0x287)]())==null?void 0x0:_0x485893[_0x3acc5c(0x10d)]())!==_0xb4270e&&await this[_0x3acc5c(0x1b9)][_0x3acc5c(0x185)](_0x46f4df['id'],{'unitId':_0x44c8ab['getUnitId'](),'subUnitId':_0xb4270e});}};ce=Li([K(0x0,yt),K(0x1,_0x25626e),K(0x2,_0x52fbf7),K(0x3,_0x5be279(_0x46419b)),K(0x4,_0x17d6fa(_0x45dee2))],ce);var Ui=Object[_0x3fd5ef(0x291)],Mi=(_0x58bd3d,_0x58cdb3,_0x269dc8,_0x43e18e)=>{const _0x3a5209=_0x3fd5ef;for(var _0x130044=_0x43e18e>0x1?void 0x0:_0x43e18e?Ui(_0x58cdb3,_0x269dc8):_0x58cdb3,_0x8d005c=_0x58bd3d[_0x3a5209(0x10c)]-0x1,_0x3fd5be;_0x8d005c>=0x0;_0x8d005c--)(_0x3fd5be=_0x58bd3d[_0x8d005c])&&(_0x130044=_0x3fd5be(_0x130044)||_0x130044);return _0x130044;},rt=(_0x68e218,_0x4f53df)=>(_0x77d139,_0x15c35b)=>_0x4f53df(_0x77d139,_0x15c35b,_0x68e218);let $e=class extends _0x54976c{constructor(_0x13d4e3,_0x1ab985){const _0x1ed2bc=_0x3fd5ef;super(),this[_0x1ed2bc(0x2e6)]=_0x13d4e3,this[_0x1ed2bc(0x1c8)]=_0x1ab985,this['_init']();}['_init'](){const _0x3dfc84=_0x3fd5ef,_0x1d80cc=this;this[_0x3dfc84(0x346)](this[_0x3dfc84(0x2e6)][_0x3dfc84(0x18c)]({'onBeforePasteImage':async _0x155949=>{const _0x18777c=_0x3dfc84,_0x1d581f=await _0x1d80cc[_0x18777c(0x1c8)]['saveImage'](_0x155949);return _0x1d581f?{'source':_0x1d581f[_0x18777c(0x163)],'imageSourceType':_0x1d581f[_0x18777c(0x28e)]}:null;}}));}};$e=Mi([rt(0x0,_0x87c54e),rt(0x1,_0x1cec28)],$e);const ot=['purple.300',_0x3fd5ef(0x1d3),_0x3fd5ef(0x350),_0x3fd5ef(0x268),'blue.400','yellow.400'];class Ke extends _0x4f00b7{constructor(){const _0x5b27cc=_0x3fd5ef;super(...arguments),_(this,_0x5b27cc(0x20b),new Map()),_(this,'_colorIndex',0x0);}[_0x3fd5ef(0x359)](_0x110801){const _0x8df7df=_0x3fd5ef;if(this[_0x8df7df(0x20b)][_0x8df7df(0x143)](_0x110801))return this['_assignedColors']['get'](_0x110801);const _0x3b8a35=ot[this[_0x8df7df(0x15f)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%ot[_0x8df7df(0x10c)],this[_0x8df7df(0x20b)][_0x8df7df(0x190)](_0x110801,_0x3b8a35),_0x3b8a35;}}function $t(_0x18f357){let _0x3de91c='';for(const _0x45e21d of _0x18f357){const {startOffset:_0x5f4bca,endOffset:_0x121099,isActive:_0x2eb448,rangeType:_0x2755cd,segmentId:_0xd919c4,segmentPage:_0x564cc}=_0x45e21d;_0x3de91c['length']&&(_0x3de91c+=','),_0x3de91c+=_0x5f4bca+':'+_0x121099+':'+(_0x2eb448?'1':'0')+':'+_0x2755cd+':'+_0xd919c4+':'+_0x564cc;}return _0x3de91c;}function Ai(_0x5709fc){const _0x3d2830=_0x3fd5ef,_0x3d47bf=_0x5709fc[_0x3d2830(0x13a)](','),_0x58e0e8=[];for(const _0x1b7422 of _0x3d47bf){const [_0x3b6f6e,_0x21edd8,_0x360e7c,_0x186c47,_0x35a291,_0x46927c]=_0x1b7422[_0x3d2830(0x13a)](':');_0x58e0e8[_0x3d2830(0x221)]({'startOffset':Number(_0x3b6f6e),'endOffset':Number(_0x21edd8),'collapsed':_0x3b6f6e===_0x21edd8,'isActive':_0x360e7c==='1','rangeType':_0x186c47===_0x4944de[_0x3d2830(0x18e)]?_0x4944de[_0x3d2830(0x18e)]:_0x4944de[_0x3d2830(0x13f)],'segmentId':typeof _0x35a291==_0x3d2830(0x100)?String(_0x35a291):'','segmentPage':Number(_0x46927c!=null?_0x46927c:-0x1)});}return _0x58e0e8[_0x3d2830(0x252)](_0x3be3f7=>_0x3be3f7[_0x3d2830(0x1b5)])||(_0x58e0e8[0x0][_0x3d2830(0x1b5)]=!0x0),_0x58e0e8;}class ze extends _0x54976c{constructor(){const _0xb09b06=_0x3fd5ef;super(...arguments),_(this,_0xb09b06(0x34f),new _0x35a309(null)),_(this,'collabCursorState$',this[_0xb09b06(0x34f)][_0xb09b06(0x2da)]());}[_0x3fd5ef(0x327)](_0x475380){const _0x45ab52=_0x3fd5ef,{unitID:_0x59c384,memberID:_0x469c19,textRanges:_0x2b0b65}=_0x475380,_0x223021=$t(_0x2b0b65);if(_0x223021==='')return;const _0x2dd059={'unitID':_0x59c384,'memberID':_0x469c19,'selection':_0x223021};this['_collabCursorState$'][_0x45ab52(0x192)](_0x2dd059);}}var Pi=Object[_0x3fd5ef(0x291)],wi=(_0x55d91d,_0x55e47f,_0x5d7ce4,_0x5e0e0c)=>{const _0x518a29=_0x3fd5ef;for(var _0x144125=_0x5e0e0c>0x1?void 0x0:_0x5e0e0c?Pi(_0x55e47f,_0x5d7ce4):_0x55e47f,_0x306ce7=_0x55d91d[_0x518a29(0x10c)]-0x1,_0x577286;_0x306ce7>=0x0;_0x306ce7--)(_0x577286=_0x55d91d[_0x306ce7])&&(_0x144125=_0x577286(_0x144125)||_0x144125);return _0x144125;},A=(_0x24e6ee,_0x4e843d)=>(_0xed2bae,_0x136fc2)=>_0x4e843d(_0xed2bae,_0x136fc2,_0x24e6ee);const yi=0x12c,$i=0x64;let xe=class extends _0x54976c{constructor(_0x58c24f,_0x384927,_0x1dd750,_0x54e35b,_0x1bb591,_0x55f521,_0x243e48,_0x5d09db,_0x177cd0){const _0x12539b=_0x3fd5ef;super(),_(this,_0x12539b(0x168),!0x1),_(this,_0x12539b(0x333),!0x1),_(this,'_cursorInfo$',new _0x35a309(new Map())),_(this,_0x12539b(0x17b),this[_0x12539b(0x189)]['asObservable']()),_(this,_0x12539b(0x2c8),new _0x35a309([])),_(this,_0x12539b(0x2a5),this[_0x12539b(0x2c8)][_0x12539b(0x16f)](_0x2b68b5(yi))),_(this,_0x12539b(0x1f9),_0x23fefb(_0x81deab=>{const _0x21f9a1=_0x12539b,_0x5d3f89={'eventID':_0x3c97cb[_0x21f9a1(0x2d5)],'data':{'unitID':this[_0x21f9a1(0x205)],'memberID':this[_0x21f9a1(0x101)][_0x21f9a1(0x296)](),'selection':$t(_0x81deab)}};this['_session'][_0x21f9a1(0x27a)](_0x5d3f89,this[_0x21f9a1(0x205)]);},$i)),(this['unitID']=_0x58c24f,this['_session']=_0x384927,this['_injector']=_0x1dd750,this[_0x12539b(0x10b)]=_0x54e35b,this['_memberService']=_0x1bb591,this[_0x12539b(0x2e9)]=_0x55f521,this['_transformService']=_0x243e48,this[_0x12539b(0x1a5)]=_0x5d09db,this['_commandService']=_0x177cd0);}get['cursorInfo'](){const _0x3bf632=_0x3fd5ef;return this[_0x3bf632(0x189)][_0x3bf632(0x328)]();}get[_0x3fd5ef(0x155)](){const _0x2ae22f=_0x3fd5ef;return this[_0x2ae22f(0x2c8)][_0x2ae22f(0x328)]();}[_0x3fd5ef(0x1f2)](){const _0x35d242=_0x3fd5ef;super[_0x35d242(0x1f2)](),this[_0x35d242(0x189)][_0x35d242(0x192)](new Map()),this['_cursorInfo$'][_0x35d242(0x2c3)](),this['_roomMembers$'][_0x35d242(0x192)]([]),this['_roomMembers$'][_0x35d242(0x2c3)]();}[_0x3fd5ef(0x243)](){const _0x5b92c3=_0x3fd5ef;this[_0x5b92c3(0x333)]||(this['_init']=!0x0,this[_0x5b92c3(0x101)][_0x5b92c3(0x1b7)][_0x5b92c3(0x16f)](_0x5e42cd(this[_0x5b92c3(0x203)]))[_0x5b92c3(0xf9)](_0xc4ad02=>{const _0xf96dfb=_0x5b92c3;_0xc4ad02===_0x2c6b0c[_0xf96dfb(0x1b4)]?this[_0xf96dfb(0x20a)]():this[_0xf96dfb(0x281)]();}),this['_session'][_0x5b92c3(0x1ab)]['pipe'](_0x5e42cd(this[_0x5b92c3(0x203)]))['subscribe'](_0xf47dd4=>{const _0x534d86=_0x5b92c3,_0x555192=_0xf47dd4[_0x534d86(0x218)];_0x555192===_0x3c97cb['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xf47dd4),_0x555192===_0x3c97cb[_0x534d86(0x277)]&&this[_0x534d86(0x156)](_0xf47dd4);}),this[_0x5b92c3(0x346)](this[_0x5b92c3(0x1b9)][_0x5b92c3(0x344)](_0x19c546=>{const _0x43d47e=_0x5b92c3,_0x50033a=_0x19c546[_0x43d47e(0x1a8)];_0x50033a!=null&&this['_online']&&_0x19c546['id']===_0x13360e['id']&&_0x50033a['unitId']===this[_0x43d47e(0x205)]&&_0x50033a[_0x43d47e(0x178)]===!0x1&&_0x50033a['ranges'][_0x43d47e(0x10c)]>0x0&&this['_updateLocalCursor'](_0x50033a['ranges']);})),this[_0x5b92c3(0x2e9)][_0x5b92c3(0x2ea)]['pipe'](_0x5e42cd(this['dispose$']))['subscribe'](_0xf7b7c2=>{const _0x15796c=_0x5b92c3;if((_0xf7b7c2==null?void 0x0:_0xf7b7c2['unitID'])!==this['unitID'])return;const _0x22b2bc={'eventID':_0x3c97cb['UPDATE_CURSOR'],'data':_0xf7b7c2};this[_0x15796c(0x1c7)](_0x22b2bc);}),this[_0x5b92c3(0x346)](this[_0x5b92c3(0x1b9)][_0x5b92c3(0x344)](_0xddbe46=>{const _0x4f6e94=_0x5b92c3;if(_0xddbe46['params']==null)return;const _0x5778dc=_0xddbe46[_0x4f6e94(0x1a8)];if(_0xddbe46['id']!==_0x4d93a5['id']||_0x5778dc['unitId']!==this[_0x4f6e94(0x205)])return;const _0xa335bf={'id':_0x4f6e94(0x314),'params':_0x5778dc},_0x1a1679=this[_0x4f6e94(0x2f3)];for(const [_0x22a35a,_0x292f93]of _0x1a1679){const _0x115b2e={'id':_0x4f6e94(0x314),'params':{'unitId':this[_0x4f6e94(0x205)],'actions':null,'textRanges':_0x292f93[_0x4f6e94(0x239)]}},_0x53aa1f=this[_0x4f6e94(0x2d4)][_0x4f6e94(0x242)](_0xa335bf,_0x115b2e,!0x1);if(_0x3758a8(_0x53aa1f))throw _0x53aa1f['error'];_0x1a1679[_0x4f6e94(0x190)](_0x22a35a,{..._0x292f93,'ranges':_0x53aa1f[_0x4f6e94(0x248)]['params']['textRanges']});}queueMicrotask(()=>{const _0x444ee6=_0x4f6e94;this['_cursorInfo$'][_0x444ee6(0x192)](_0x1a1679);});})));}[_0x3fd5ef(0x1c7)](_0x2fafd2){const _0x3e4708=_0x3fd5ef;var _0x47e666,_0x550882;const {memberID:_0xf2b15c,selection:_0x5dcfc4}=_0x2fafd2[_0x3e4708(0x172)],_0x3fa161=Ai(_0x5dcfc4),_0x3bd98c=(_0x550882=(_0x47e666=this['_memberService']['getMember'](this[_0x3e4708(0x205)],_0xf2b15c))==null?void 0x0:_0x47e666[_0x3e4708(0x21c)])!=null?_0x550882:_0x3e4708(0x1f1),_0x4ef845={'color':this['_colorAssignService']['assignAColorForMemberID'](_0xf2b15c),'name':_0x3bd98c,'ranges':_0x3fa161},_0x2a48f8=this[_0x3e4708(0x2f3)];_0x2a48f8['set'](_0xf2b15c,_0x4ef845),this[_0x3e4708(0x189)][_0x3e4708(0x192)](_0x2a48f8);}[_0x3fd5ef(0x156)](_0x1b5a0f){const _0xbb72e0=_0x3fd5ef,{memberID:_0x4b3f9c}=_0x1b5a0f[_0xbb72e0(0x172)],_0xa91edc=this['cursorInfo'];_0xa91edc[_0xbb72e0(0x236)](_0x4b3f9c),this[_0xbb72e0(0x189)][_0xbb72e0(0x192)](_0xa91edc);}[_0x3fd5ef(0x20a)](){const _0x428084=_0x3fd5ef;var _0x372859;if(this[_0x428084(0x168)]=!0x0,((_0x372859=this[_0x428084(0x1a5)]['getFocusedUnit']())==null?void 0x0:_0x372859['getUnitId']())!==this[_0x428084(0x205)])return;const _0x5dcc34=this[_0x428084(0x309)][_0x428084(0x295)](_0x2d3f04)[_0x428084(0x17c)]();Array['isArray'](_0x5dcc34)&&_0x5dcc34[_0x428084(0x10c)]>0x0&&this[_0x428084(0x1f9)](_0x5dcc34);}['_toggleOffline'](){this['_online']=!0x1;}};xe=wi([A(0x2,_0x5be279(_0x4442ad)),A(0x3,_0x5be279(Ke)),A(0x4,_0x5be279(_0x21ac54)),A(0x5,_0x5be279(ze)),A(0x6,_0x4be4b1),A(0x7,_0x2ad077),A(0x8,_0x52fbf7)],xe);var xi=Object[_0x3fd5ef(0x291)],Bi=(_0x5e815a,_0x16c29f,_0x54aa8d,_0x3f10c7)=>{const _0x540420=_0x3fd5ef;for(var _0x563144=_0x3f10c7>0x1?void 0x0:_0x3f10c7?xi(_0x16c29f,_0x54aa8d):_0x16c29f,_0x30d882=_0x5e815a[_0x540420(0x10c)]-0x1,_0x30dc2d;_0x30d882>=0x0;_0x30d882--)(_0x30dc2d=_0x5e815a[_0x30d882])&&(_0x563144=_0x30dc2d(_0x563144)||_0x563144);return _0x563144;},B=(_0x414595,_0xb53762)=>(_0x404a0e,_0x20812d)=>_0xb53762(_0x404a0e,_0x20812d,_0x414595);const Fi=0x12c,ki=0x64,Hi=()=>{let _0x266263=[],_0x25ded7=!0x1;return _0xc460ef=>{const _0x1a3692=_0x3680;_0x266263[_0x1a3692(0x221)](_0xc460ef),_0x25ded7||(_0x25ded7=!0x0,setTimeout(()=>{const _0x156ac7=_0x1a3692;_0x266263[_0x156ac7(0x2dc)](_0x2be879=>_0x2be879()),_0x266263=[],_0x25ded7=!0x1;}));};};let Be=class extends _0x54976c{constructor(_0x2bcf2d,_0x217dd8,_0x48d814,_0x1d29a9,_0x417e31,_0x230093,_0x28262f,_0x1cf6d8){const _0x4fe897=_0x3fd5ef;super(),_(this,_0x4fe897(0x168),!0x1),_(this,_0x4fe897(0x333),!0x1),_(this,'_cursorInfo$',new _0x35a309(new Map())),_(this,_0x4fe897(0x17b),this[_0x4fe897(0x189)][_0x4fe897(0x2da)]()),_(this,_0x4fe897(0x2c8),new _0x35a309([])),_(this,_0x4fe897(0x2a5),this['_roomMembers$'][_0x4fe897(0x16f)](_0x2b68b5(Fi))),_(this,'_updateLocalCursor',_0x23fefb((_0x580b34,_0x51772f)=>{const _0x43eebd=_0x4fe897,_0x28eae4={'eventID':_0x3c97cb['UPDATE_CURSOR'],'data':{'unitID':this[_0x43eebd(0x205)],'memberID':this[_0x43eebd(0x101)]['getMemberID'](),'selection':_0xb57860(_0x580b34,_0x51772f['range'])}};this[_0x43eebd(0x101)][_0x43eebd(0x27a)](_0x28eae4,this[_0x43eebd(0x205)]);},ki)),(this['unitID']=_0x2bcf2d,this['_session']=_0x217dd8,this[_0x4fe897(0x309)]=_0x48d814,this['_colorAssignService']=_0x1d29a9,this[_0x4fe897(0x286)]=_0x417e31,this[_0x4fe897(0x1a5)]=_0x230093,this[_0x4fe897(0x1b9)]=_0x28262f,this[_0x4fe897(0x1ba)]=_0x1cf6d8);}get[_0x3fd5ef(0x2f3)](){const _0x1e0025=_0x3fd5ef;return this[_0x1e0025(0x189)][_0x1e0025(0x328)]();}get[_0x3fd5ef(0x155)](){const _0x16f315=_0x3fd5ef;return this['_roomMembers$'][_0x16f315(0x328)]();}['dispose'](){const _0x5624be=_0x3fd5ef;super[_0x5624be(0x1f2)](),this[_0x5624be(0x189)][_0x5624be(0x192)](new Map()),this[_0x5624be(0x189)][_0x5624be(0x2c3)](),this[_0x5624be(0x2c8)][_0x5624be(0x192)]([]),this[_0x5624be(0x2c8)][_0x5624be(0x2c3)]();}[_0x3fd5ef(0x243)](){const _0x2ac1df=_0x3fd5ef;this[_0x2ac1df(0x333)]||(this[_0x2ac1df(0x333)]=!0x0,this[_0x2ac1df(0x101)][_0x2ac1df(0x1b7)][_0x2ac1df(0x16f)](_0x5e42cd(this[_0x2ac1df(0x203)]))['subscribe'](_0x3ffe3e=>{const _0x4a5525=_0x2ac1df;_0x3ffe3e===_0x2c6b0c[_0x4a5525(0x1b4)]?this[_0x4a5525(0x20a)]():this[_0x4a5525(0x281)]();}),this[_0x2ac1df(0x101)][_0x2ac1df(0x1ab)][_0x2ac1df(0x16f)](_0x5e42cd(this[_0x2ac1df(0x203)]))['subscribe'](_0x28a82d=>{const _0x33625a=_0x2ac1df,_0x4f1b73=_0x28a82d[_0x33625a(0x218)];_0x4f1b73===_0x3c97cb['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x28a82d),_0x4f1b73===_0x3c97cb['USERS_LEAVE']&&this[_0x33625a(0x156)](_0x28a82d);}),this[_0x2ac1df(0x2ce)](),this[_0x2ac1df(0x346)](this[_0x2ac1df(0x1b9)][_0x2ac1df(0x344)](_0x20a3ae=>{const _0x1b464e=_0x2ac1df;if(this['_online']&&_0x20a3ae['id']===_0x49a9fc['id']&&_0x20a3ae['params'][_0x1b464e(0x160)]===this[_0x1b464e(0x205)]){const _0x1805d9=_0x20a3ae[_0x1b464e(0x1a8)];this[_0x1b464e(0x1f9)](_0x1805d9[_0x1b464e(0x19b)],_0x1805d9[_0x1b464e(0x131)][0x0]);}})));}['_onCursorUpdate'](_0x3c434b){const _0x2da5f7=_0x3fd5ef;var _0x43f158,_0x2cb6f6;const {memberID:_0x4626e3,selection:_0x3be5b9}=_0x3c434b[_0x2da5f7(0x172)],{sheetName:_0x275d9b,range:_0x52eb0c}=_0xfaeb74(_0x3be5b9),_0x41344f={'name':(_0x2cb6f6=(_0x43f158=this[_0x2da5f7(0x286)][_0x2da5f7(0x23a)](this['unitID'],_0x4626e3))==null?void 0x0:_0x43f158[_0x2da5f7(0x21c)])!=null?_0x2cb6f6:_0x2da5f7(0x1f1),'range':this[_0x2da5f7(0x28a)](_0x275d9b,_0x52eb0c),'sheetID':_0x275d9b,'color':this[_0x2da5f7(0x10b)][_0x2da5f7(0x359)](_0x4626e3),'selection':_0x3be5b9},_0x237e35=this[_0x2da5f7(0x2f3)];_0x237e35[_0x2da5f7(0x190)](_0x4626e3,_0x41344f),this[_0x2da5f7(0x189)][_0x2da5f7(0x192)](_0x237e35);}[_0x3fd5ef(0x156)](_0x114f77){const _0x4ae805=_0x3fd5ef,{memberID:_0x2af474}=_0x114f77[_0x4ae805(0x172)],_0x3b80da=this['cursorInfo'];_0x3b80da[_0x4ae805(0x236)](_0x2af474),this[_0x4ae805(0x189)]['next'](_0x3b80da);}[_0x3fd5ef(0x28a)](_0x402a98,_0x5307f4){const _0x461755=_0x3fd5ef;var _0x3be476,_0x5c96cb;const _0x3b975d=(_0x5c96cb=(_0x3be476=this['_univerInstanceService'][_0x461755(0x206)](this[_0x461755(0x205)]))==null?void 0x0:_0x3be476[_0x461755(0x1e1)](_0x402a98))==null?void 0x0:_0x5c96cb[_0x461755(0x2ca)]();return(_0x3b975d==null?void 0x0:_0x3b975d[_0x461755(0x19d)](_0x14afa1=>_0x23054e[_0x461755(0x2eb)](_0x14afa1,_0x5307f4)))||_0x5307f4;}[_0x3fd5ef(0x2ce)](){const _0x3c467d=_0x3fd5ef,_0x3517b5=new _0xe7f0b(),_0x469dfe=Hi(),_0x45e0a2=()=>{const _0x278744=_0x3680;_0x3517b5[_0x278744(0x1f2)]();const _0x3b88ba=(_0x559703,_0x511d2e,_0x53325c,_0x3db840)=>{const _0x4885bf=_0x278744;let _0x4d1d9d=[];switch(_0x559703['id']){case _0x1b53c3[_0x4885bf(0x2ac)]:{_0x4d1d9d=_0x883b5a(_0x559703,_0x3db840);break;}case _0x1b53c3[_0x4885bf(0x294)]:{_0x4d1d9d=_0x4292a9(_0x559703,_0x3db840);break;}case _0x1b53c3[_0x4885bf(0x106)]:{_0x4d1d9d=_0xf25669(_0x559703,_0x3db840);break;}case _0x1b53c3['InsertRangeMoveDownCommandId']:{_0x4d1d9d=_0x4bffa8(_0x559703,_0x3db840);break;}case _0x1b53c3[_0x4885bf(0x259)]:{_0x4d1d9d=_0x86c9c9(_0x559703,_0x3db840);break;}case _0x1b53c3[_0x4885bf(0x237)]:{_0x4d1d9d=_0x1af6cf(_0x559703,_0x3db840);break;}case _0x1b53c3[_0x4885bf(0x28c)]:{_0x4d1d9d=_0x33eaa9(_0x559703,_0x3db840);break;}case _0x1b53c3[_0x4885bf(0x19f)]:{_0x4d1d9d=_0x237126(_0x559703,_0x3db840);break;}case _0x1b53c3[_0x4885bf(0x340)]:{_0x4d1d9d=_0x309a40(_0x559703,_0x3db840);break;}}const _0x435e98=_0x3b1589(_0x4d1d9d,_0x3db840),_0x1ef527=this[_0x4885bf(0x2f3)][_0x4885bf(0x295)](_0x511d2e);if(_0x1ef527&&_0x435e98){const _0x57026e={..._0x1ef527,'range':_0x435e98};this[_0x4885bf(0x2f3)][_0x4885bf(0x190)](_0x511d2e,_0x57026e),_0x469dfe(()=>{const _0x155415=_0x4885bf,_0x4adcc7=this[_0x155415(0x1ba)]['registerRefRange'](_0x435e98,_0x222e7f=>(_0x4adcc7[_0x155415(0x1f2)](),_0x3b88ba(_0x222e7f,_0x511d2e,_0x53325c,_0x435e98)));_0x3517b5[_0x155415(0x166)](_0x4adcc7);});}return{'redos':[],'undos':[]};};this[_0x278744(0x2f3)][_0x278744(0x2dc)]((_0x33e9f1,_0x856093)=>{const _0x3f1dfb=_0x278744,{range:_0x5aa036,sheetID:_0x3634b3}=_0x33e9f1,_0x55b334=this[_0x3f1dfb(0x1ba)][_0x3f1dfb(0x347)](_0x5aa036,_0x522fb8=>(_0x55b334[_0x3f1dfb(0x1f2)](),_0x3b88ba(_0x522fb8,_0x856093,_0x3634b3,_0x5aa036)));_0x3517b5[_0x3f1dfb(0x166)](_0x55b334);});};this[_0x3c467d(0x346)](_0x2e8f72(this[_0x3c467d(0x189)][_0x3c467d(0xf9)](()=>{_0x45e0a2();})));}[_0x3fd5ef(0x20a)](){const _0x597960=_0x3fd5ef;var _0x502f4c,_0x1cab9e;if(this[_0x597960(0x168)]=!0x0,((_0x502f4c=this[_0x597960(0x1a5)]['getFocusedUnit']())==null?void 0x0:_0x502f4c[_0x597960(0x151)]())!==this[_0x597960(0x205)])return;const _0x3309df=(_0x1cab9e=this['_injector']['get'](_0x3b49f0)[_0x597960(0x337)]())==null?void 0x0:_0x1cab9e[0x0],_0x338f10=this[_0x597960(0x1a5)][_0x597960(0x199)](_0x1d3b10[_0x597960(0x27e)])[_0x597960(0x287)]();_0x3309df&&_0x338f10&&this[_0x597960(0x1f9)](_0x338f10[_0x597960(0x10d)](),_0x3309df);}[_0x3fd5ef(0x281)](){const _0x5d95fd=_0x3fd5ef;this[_0x5d95fd(0x168)]=!0x1;}};Be=Bi([B(0x2,_0x5be279(_0x4442ad)),B(0x3,_0x5be279(Ke)),B(0x4,_0x5be279(_0x21ac54)),B(0x5,_0x2ad077),B(0x6,_0x52fbf7),B(0x7,_0x5be279(_0x185a02))],Be);var Yi=Object[_0x3fd5ef(0x291)],Wi=(_0x57b96e,_0x4d7357,_0x2c2a40,_0x49842b)=>{for(var _0x327b6d=_0x49842b>0x1?void 0x0:_0x49842b?Yi(_0x4d7357,_0x2c2a40):_0x4d7357,_0x169c11=_0x57b96e['length']-0x1,_0x2835b3;_0x169c11>=0x0;_0x169c11--)(_0x2835b3=_0x57b96e[_0x169c11])&&(_0x327b6d=_0x2835b3(_0x327b6d)||_0x327b6d);return _0x327b6d;},Ce=(_0x4f0212,_0x5753)=>(_0x58e127,_0x494d1e)=>_0x5753(_0x58e127,_0x494d1e,_0x4f0212);let H=class extends _0x54976c{constructor(_0x1d385b,_0x1e7cb7,_0x32a01c){const _0xf4dfda=_0x3fd5ef;super(),_(this,_0xf4dfda(0x17a),new Map()),_(this,'_entityInit$',new _0x227c19()),(this[_0xf4dfda(0x1a5)]=_0x1d385b,this[_0xf4dfda(0x309)]=_0x1e7cb7,this[_0xf4dfda(0x1fb)]=_0x32a01c,this[_0xf4dfda(0x333)]());}[_0x3fd5ef(0x1f2)](){const _0x4dd907=_0x3fd5ef;super[_0x4dd907(0x1f2)](),this[_0x4dd907(0x208)][_0x4dd907(0x2c3)](),this['_entities']['forEach'](_0x1229ac=>_0x1229ac[_0x4dd907(0x1f2)]());}[_0x3fd5ef(0x1d4)](_0x1a6fa2){const _0x3bfb9d=_0x3fd5ef;return this[_0x3bfb9d(0x17a)][_0x3bfb9d(0x143)](_0x1a6fa2)?this['_entities']['get'](_0x1a6fa2)[_0x3bfb9d(0x17b)]:this[_0x3bfb9d(0x208)]['pipe'](_0x3935fb(_0x5701ab=>_0x5701ab[_0x3bfb9d(0x205)]===_0x1a6fa2),_0x4773fc(_0x1c941c=>_0x1c941c[_0x3bfb9d(0x17b)]));}[_0x3fd5ef(0x333)](){const _0x9e34e2=_0x3fd5ef;this['_univerInstanceService'][_0x9e34e2(0x29c)](_0x1d3b10[_0x9e34e2(0x27e)])[_0x9e34e2(0x16f)](_0x5e42cd(this['dispose$']))[_0x9e34e2(0xf9)](async _0x4a6997=>{const _0x3b05e5=_0x9e34e2,_0x572459=_0x4a6997[_0x3b05e5(0x151)](),_0x3acf08=await this[_0x3b05e5(0x317)](_0x572459);this[_0x3b05e5(0x208)]['next'](_0x3acf08),this[_0x3b05e5(0x17a)][_0x3b05e5(0x190)](_0x572459,_0x3acf08);}),this[_0x9e34e2(0x1a5)][_0x9e34e2(0x29c)](_0x1d3b10[_0x9e34e2(0x19e)])[_0x9e34e2(0x16f)](_0x5e42cd(this[_0x9e34e2(0x203)]))[_0x9e34e2(0x16f)](_0x3935fb(_0x4954cb=>!_0x4954cb['getUnitId']()[_0x9e34e2(0x216)]('__')))[_0x9e34e2(0xf9)](async _0x54ffb7=>{const _0x57e4f3=_0x9e34e2,_0x26112d=_0x54ffb7['getUnitId'](),_0x5cdf91=await this[_0x57e4f3(0x148)](_0x26112d);this[_0x57e4f3(0x208)][_0x57e4f3(0x192)](_0x5cdf91),this[_0x57e4f3(0x17a)]['set'](_0x26112d,_0x5cdf91);}),_0xa1f736(this[_0x9e34e2(0x1a5)][_0x9e34e2(0x32f)](_0x1d3b10[_0x9e34e2(0x19e)]),this[_0x9e34e2(0x1a5)]['getTypeOfUnitDisposed$'](_0x1d3b10['UNIVER_SHEET']))[_0x9e34e2(0x16f)](_0x5e42cd(this['dispose$']))['subscribe'](_0x2c7296=>{const _0x89f8b=_0x9e34e2,_0x393ff4=_0x2c7296['getUnitId'](),_0x55aae7=this['_entities']['get'](_0x393ff4);_0x55aae7&&(_0x55aae7['dispose'](),this[_0x89f8b(0x17a)][_0x89f8b(0x236)](_0x393ff4));});}async[_0x3fd5ef(0x317)](_0x304cbf){const _0x1286af=_0x3fd5ef,_0x29ab94=await this[_0x1286af(0x1fb)][_0x1286af(0x222)](_0x304cbf),_0x4258fe=this['_injector'][_0x1286af(0x2db)](Be,_0x304cbf,_0x29ab94);return _0x4258fe[_0x1286af(0x243)](),_0x4258fe;}async['_startDocCollabCursor'](_0x3f6baf){const _0x1e87ea=_0x3fd5ef,_0x2a7fb9=await this[_0x1e87ea(0x1fb)][_0x1e87ea(0x222)](_0x3f6baf),_0x251c7b=this['_injector'][_0x1e87ea(0x2db)](xe,_0x3f6baf,_0x2a7fb9);return _0x251c7b[_0x1e87ea(0x243)](),_0x251c7b;}};H=Wi([Ce(0x0,_0x2ad077),Ce(0x1,_0x5be279(_0x4442ad)),Ce(0x2,_0x5be279(_0x4b2370))],H);const Q=0x14,at=0xc8,Re=0x4,Vi=0x5;function ji(_0x12d7ff,_0x308f01){const _0x5773d2=_0x3fd5ef;let {radius:_0xf4e4ca,width:_0x431aae,height:_0x5c0c8b}=_0x308f01;_0xf4e4ca=_0xf4e4ca!=null?_0xf4e4ca:0x0,_0x431aae=_0x431aae!=null?_0x431aae:0x1e,_0x5c0c8b=_0x5c0c8b!=null?_0x5c0c8b:0x1e;let _0x4923b3=0x0,_0x2cc227=0x0,_0xea909=0x0;_0x4923b3=_0x2cc227=_0xea909=Math['min'](_0xf4e4ca,_0x431aae/0x2,_0x5c0c8b/0x2),_0x12d7ff[_0x5773d2(0x1ac)](),_0x12d7ff[_0x5773d2(0x2fe)](_0x4923b3,0x0),_0x12d7ff['lineTo'](_0x431aae-_0x2cc227,0x0),_0x12d7ff[_0x5773d2(0x12d)](_0x431aae-_0x2cc227,_0x2cc227,_0x2cc227,Math['PI']*0x3/0x2,0x0,!0x1),_0x12d7ff[_0x5773d2(0x2e8)](_0x431aae,_0x5c0c8b-_0xea909),_0x12d7ff[_0x5773d2(0x12d)](_0x431aae-_0xea909,_0x5c0c8b-_0xea909,_0xea909,0x0,Math['PI']/0x2,!0x1),_0x12d7ff['lineTo'](0x0,_0x5c0c8b),_0x12d7ff['lineTo'](0x0,_0x4923b3),_0x12d7ff['arc'](_0x4923b3,_0x4923b3,_0x4923b3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x12d7ff[_0x5773d2(0x219)](),_0x308f01[_0x5773d2(0x1be)]&&(_0x12d7ff[_0x5773d2(0x343)](),_0x12d7ff[_0x5773d2(0x161)]=_0x308f01['fill'],_0x308f01[_0x5773d2(0x25e)]===_0x5773d2(0x1e3)?_0x12d7ff[_0x5773d2(0x1be)]('evenodd'):_0x12d7ff[_0x5773d2(0x1be)](),_0x12d7ff['restore']());}class ve extends _0x112b79{constructor(_0x515a39,_0x46977e){const _0x124241=_0x3fd5ef;super(_0x515a39,_0x46977e),_(this,_0x124241(0x31e)),_(this,'text'),(this['color']=_0x46977e==null?void 0x0:_0x46977e[_0x124241(0x31e)],this[_0x124241(0x24c)]=_0x46977e==null?void 0x0:_0x46977e[_0x124241(0x24c)]);}static[_0x3fd5ef(0x1cb)](_0x59d9af,_0x558ebf){const _0x444a1a=_0x3fd5ef,{text:_0x4e9907,color:_0x1ccbab}=_0x558ebf;_0x59d9af[_0x444a1a(0x343)](),_0x59d9af['font']=_0x444a1a(0x1a2);const _0x135457=_0x59d9af[_0x444a1a(0x16b)](_0x4e9907)[_0x444a1a(0x1b3)],_0x3ad710=Math['min'](_0x135457+0x2*Re,at);ji(_0x59d9af,{'height':Q,'radius':0x4,'width':_0x3ad710,'fill':_0x1ccbab}),_0x59d9af[_0x444a1a(0x161)]='#FFF';const _0x219ae1=Re,_0x4c2e6f=Q-Vi,_0x5e40bf=at-0x2*Re;if(_0x135457>_0x5e40bf){let _0x206c82='',_0x5382a8=0x0;for(const _0x2e7e6a of _0x4e9907){const _0x33bac6=_0x59d9af[_0x444a1a(0x16b)](_0x2e7e6a)['width'];if(_0x5382a8+_0x33bac6<=_0x5e40bf-_0x59d9af[_0x444a1a(0x16b)](_0x444a1a(0x2a7))['width'])_0x206c82+=_0x2e7e6a,_0x5382a8+=_0x33bac6;else{_0x206c82+='...';break;}}_0x59d9af[_0x444a1a(0x238)](_0x206c82,_0x219ae1,_0x4c2e6f);}else _0x59d9af[_0x444a1a(0x238)](_0x4e9907,_0x219ae1,_0x4c2e6f);_0x59d9af['restore']();}[_0x3fd5ef(0x34a)](_0x119130){const _0x39e613=_0x3fd5ef;ve[_0x39e613(0x1cb)](_0x119130,this);}}const De='collab-text-anchor-',Xi=_0x3fd5ef(0x349),Gi=_0x3fd5ef(0x14b),z=0x6,Ki=1.5,Ne=0x4,zi=1.5,Ji=_0x3fd5ef(0x103);class ct{constructor(_0x49dc6b,_0x3bcd80,_0x54cdbe,_0x7003ba){const _0x4b38ad=_0x3fd5ef;_(this,_0x4b38ad(0x1e9),[]),_(this,_0x4b38ad(0x245),null),_(this,_0x4b38ad(0x325),null),_(this,_0x4b38ad(0x285),null),_(this,_0x4b38ad(0x2bc),null),_(this,_0x4b38ad(0x2ec),null),(this[_0x4b38ad(0x28f)]=_0x49dc6b,this[_0x4b38ad(0x320)]=_0x3bcd80,this[_0x4b38ad(0x246)]=_0x54cdbe,this[_0x4b38ad(0x319)]=_0x7003ba,this[_0x4b38ad(0x1f4)]());}set['_hover'](_0x37ce89){const _0x11bed3=_0x3fd5ef;_0x37ce89?(this[_0x11bed3(0x285)]&&this[_0x11bed3(0x285)][_0x11bed3(0x23b)](),this[_0x11bed3(0x325)]&&this[_0x11bed3(0x325)][_0x11bed3(0x20f)]()):(this[_0x11bed3(0x285)]&&this[_0x11bed3(0x285)][_0x11bed3(0x20f)](),this['_textBubble']&&this[_0x11bed3(0x325)][_0x11bed3(0x23b)]());}[_0x3fd5ef(0x1f2)](){const _0x5bd1b5=_0x3fd5ef;for(const _0x4b83af of this[_0x5bd1b5(0x1e9)])_0x4b83af[_0x5bd1b5(0x1f2)]();this[_0x5bd1b5(0x325)]&&this[_0x5bd1b5(0x325)][_0x5bd1b5(0x1f2)](),this[_0x5bd1b5(0x285)]&&this['_anchorDot'][_0x5bd1b5(0x1f2)](),this['_anchor']&&this[_0x5bd1b5(0x245)][_0x5bd1b5(0x1f2)](),this[_0x5bd1b5(0x2ec)]&&this[_0x5bd1b5(0x2ec)]();}[_0x3fd5ef(0x1f4)](){const _0x58f36d=_0x3fd5ef;var _0x2896af;const {_docSkeleton:_0x457c0f,_document:_0x434d7e}=this,{color:_0x2f92ee,name:_0x215493,ranges:_0x36f07c}=this[_0x58f36d(0x28f)],_0x3c5f52=_0x434d7e[_0x58f36d(0x123)](),{docsLeft:_0x37f149,docsTop:_0x18a6b9}=_0x3c5f52,_0xc4510d=new _0x5e5b38(_0x3c5f52,_0x457c0f);for(const {startOffset:_0x48ad60,endOffset:_0x1d949b,rangeType:_0x2fdc3e,segmentId:_0x1a72f5,segmentPage:_0x4fc6b9,collapsed:_0x1900eb,isActive:_0x5ed2af}of _0x36f07c){const _0x2bb1a6=_0x457c0f[_0x58f36d(0x1f5)](_0x48ad60,!0x0,_0x1a72f5,_0x4fc6b9);let _0x98a09f=_0x457c0f[_0x58f36d(0x1f5)](_0x1d949b,!0x0,_0x1a72f5,_0x4fc6b9);if(_0x98a09f==null&&(_0x98a09f=_0x457c0f['findNodePositionByCharIndex'](_0x1d949b-0x1,!0x1,_0x1a72f5,_0x4fc6b9)),_0x5ed2af){const {contentBoxPointGroup:_0x2fa14b}=_0xc4510d[_0x58f36d(0x181)](_0x98a09f,_0x98a09f);if(_0x2fa14b['length']===0x0)continue;this[_0x58f36d(0x212)](_0x2f92ee,_0x2fa14b,_0x37f149,_0x18a6b9,_0x215493),this[_0x58f36d(0x2ec)]=this[_0x58f36d(0x1bc)]();}if(_0x2bb1a6&&_0x98a09f){if(_0x2fdc3e===_0x4944de['RECT']){const _0x48ad0c=new _0x1fc4d2(_0x3c5f52,_0x457c0f),{pointGroup:_0x5aefaa}=(_0x2896af=_0x48ad0c[_0x58f36d(0x181)](_0x2bb1a6,_0x98a09f))!=null?_0x2896af:{};if(_0x5aefaa==null||_0x5aefaa['length']===0x0)continue;this[_0x58f36d(0x2fc)](_0x2f92ee,_0x5aefaa,_0x37f149,_0x18a6b9);}else{if(!_0x1900eb){const {borderBoxPointGroup:_0x35ef42}=_0xc4510d[_0x58f36d(0x181)](_0x2bb1a6,_0x98a09f);if(_0x35ef42['length']===0x0)continue;this[_0x58f36d(0x2b3)](_0x2f92ee,_0x35ef42,_0x37f149,_0x18a6b9);}}}}}[_0x3fd5ef(0x212)](_0x5af18b,_0x1da5fa,_0x407f48,_0x56f3ff,_0x6d4c5){const _0x29a1bf=_0x3fd5ef,_0x9afd87=this[_0x29a1bf(0x126)](_0x1da5fa),{left:_0x249b74,top:_0x2dced1,height:_0x589fb9}=_0x9afd87,_0x1bf6e0=this[_0x29a1bf(0x241)](),_0x2f63aa=zi/_0x1bf6e0,_0x366007=new _0x4403cb(De+_0xba23d8(z),{'left':_0x249b74+_0x407f48-_0x2f63aa,'top':_0x2dced1+_0x56f3ff,'height':_0x589fb9,'width':Ki,'fill':_0x5af18b||_0x444fcb(_0x3b0bff[_0x29a1bf(0x223)],0x0),'strokeWidth':_0x2f63aa,'stroke':Ji,'evented':!0x0});this['_anchor']=_0x366007,this[_0x29a1bf(0x320)][_0x29a1bf(0x249)](_0x366007,_0x95aa8b);const _0x416d28=new _0x4403cb(De+_0xba23d8(z),{'left':_0x249b74+_0x407f48-_0x2f63aa,'top':_0x2dced1+_0x56f3ff-Ne/0x2,'height':Ne,'width':Ne,'fill':_0x5af18b||_0x444fcb(_0x3b0bff[_0x29a1bf(0x223)],0x0),'strokeWidth':0x0,'stroke':_0x5af18b||_0x444fcb(_0x3b0bff[_0x29a1bf(0x223)],0x0),'evented':!0x1});this['_anchorDot']=_0x416d28,this[_0x29a1bf(0x320)][_0x29a1bf(0x249)](_0x416d28,_0x95aa8b);const _0x401ad8=new ve(De+_0xba23d8(z),{'left':_0x249b74+_0x407f48-_0x2f63aa,'top':_0x2dced1+_0x56f3ff-Q,'text':_0x6d4c5,'color':_0x5af18b});this[_0x29a1bf(0x325)]=_0x401ad8,this[_0x29a1bf(0x320)][_0x29a1bf(0x249)](_0x401ad8,_0x95aa8b),this[_0x29a1bf(0x2df)]=!0x1;}[_0x3fd5ef(0x1bc)](){const _0x52300d=_0x3fd5ef,_0x124c3d=this['_anchor'][_0x52300d(0x307)][_0x52300d(0x11f)](()=>{const _0xbe7f37=_0x52300d;this[_0xbe7f37(0x2df)]=!0x0;}),_0x1e9b07=this[_0x52300d(0x245)][_0x52300d(0x28b)][_0x52300d(0x11f)](()=>{const _0x4c43cb=_0x52300d;this[_0x4c43cb(0x2bc)]&&clearTimeout(this[_0x4c43cb(0x2bc)]),this[_0x4c43cb(0x2bc)]=setTimeout(()=>{const _0x20490e=_0x4c43cb;this[_0x20490e(0x2df)]=!0x1;},0x7d0);});return()=>{const _0x1148dd=_0x52300d;_0x124c3d[_0x1148dd(0x1de)](),_0x1e9b07[_0x1148dd(0x1de)]();};}['_drawTextRange'](_0x419b72,_0x344579,_0x11d5b4,_0x22cf7d){const _0x303e71=_0x3fd5ef,_0x4e552a=new _0x4ee345(_0x419b72)[_0x303e71(0x29b)](0.2)['toRgbString'](),_0x9fac1a=new _0x138f58(Xi+_0xba23d8(z),{'pointsGroup':_0x344579,'fill':_0x4e552a||_0x444fcb(_0x3b0bff[_0x303e71(0x223)],0.2),'left':_0x11d5b4,'top':_0x22cf7d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x303e71(0x221)](_0x9fac1a),this[_0x303e71(0x320)][_0x303e71(0x249)](_0x9fac1a,_0x95aa8b);}[_0x3fd5ef(0x2fc)](_0x2aa4ce,_0xe4e8ce,_0x444d4a,_0x5da4fb){const _0x196ab4=_0x3fd5ef,_0xc03481=new _0x4ee345(_0x2aa4ce)[_0x196ab4(0x29b)](0.2)[_0x196ab4(0x1fa)](),_0x3952de=new _0x138f58(Gi+_0xba23d8(z),{'pointsGroup':_0xe4e8ce,'fill':_0xc03481||_0x444fcb(_0x3b0bff[_0x196ab4(0x223)],0.2),'left':_0x444d4a,'top':_0x5da4fb,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x196ab4(0x1e9)][_0x196ab4(0x221)](_0x3952de),this[_0x196ab4(0x320)][_0x196ab4(0x249)](_0x3952de,_0x95aa8b);}[_0x3fd5ef(0x126)](_0x2f2404){const _0x223c50=_0x2f2404[0x0],_0x10987a=_0x223c50[0x0],_0x30fa66=_0x223c50[0x2],{x:_0x268b4f,y:_0x2d0730}=_0x10987a,{x:_0x25bc4b,y:_0x3e878b}=_0x30fa66;return{'left':_0x268b4f,'top':_0x2d0730,'width':_0x25bc4b-_0x268b4f,'height':_0x3e878b-_0x2d0730};}[_0x3fd5ef(0x241)](){const _0x3b0d56=_0x3fd5ef,{scaleX:_0x53234b,scaleY:_0x359709}=this[_0x3b0d56(0x320)][_0x3b0d56(0x265)]();return Math[_0x3b0d56(0x321)](_0x53234b,_0x359709);}}var Zi=Object[_0x3fd5ef(0x291)],Qi=(_0x28367e,_0x1875c5,_0x4f5085,_0x7e178b)=>{const _0x3ec2e4=_0x3fd5ef;for(var _0x5b3443=_0x7e178b>0x1?void 0x0:_0x7e178b?Zi(_0x1875c5,_0x4f5085):_0x1875c5,_0x24b4a5=_0x28367e[_0x3ec2e4(0x10c)]-0x1,_0x4f4be9;_0x24b4a5>=0x0;_0x24b4a5--)(_0x4f4be9=_0x28367e[_0x24b4a5])&&(_0x5b3443=_0x4f4be9(_0x5b3443)||_0x5b3443);return _0x5b3443;},ie=(_0x17a992,_0x55e5fe)=>(_0x3c0e1c,_0xec51bf)=>_0x55e5fe(_0x3c0e1c,_0xec51bf,_0x17a992);let Fe=class extends _0x54976c{constructor(_0x58bdf4,_0x3e36c6,_0x90f470,_0x4ebe01,_0x4f1796){const _0x814174=_0x3fd5ef;super(),_(this,'_cursorShapes',[]),_(this,'_cursors',[]),(this[_0x814174(0x2f0)]=_0x58bdf4,this[_0x814174(0x316)]=_0x3e36c6,this[_0x814174(0x1e5)]=_0x90f470,this[_0x814174(0x1b9)]=_0x4ebe01,this[_0x814174(0x228)]=_0x4f1796,this[_0x814174(0x333)]());}['_init'](){const _0x375328=_0x3fd5ef,_0x5b762c=this[_0x375328(0x2f0)]['unitId'],_0x44eb38=this[_0x375328(0x316)];this[_0x375328(0x346)](_0x41494d([this[_0x375328(0x1e5)][_0x375328(0x1d4)](_0x5b762c),this[_0x375328(0x228)][_0x375328(0x2f1)]])[_0x375328(0x16f)](_0x3ecce4(([_0x4b2b85,_0xdf2b12])=>({'skeleton':_0x44eb38[_0x375328(0x227)](),'cursors':[..._0x4b2b85[_0x375328(0x23d)]()][_0x375328(0x26b)](_0x25ec59=>({..._0x25ec59,'color':this['_themeService'][_0x375328(0x1d5)](_0x25ec59[_0x375328(0x31e)])}))})))[_0x375328(0xf9)](_0x18c05a=>{const _0xb21d49=_0x375328;if(this[_0xb21d49(0x33c)](),_0x18c05a){const {skeleton:_0x5d8766,cursors:_0x4598d6}=_0x18c05a;this[_0xb21d49(0x2c2)](_0x5d8766,_0x4598d6);}})),this[_0x375328(0x118)](),this[_0x375328(0x272)]();}[_0x3fd5ef(0x2c2)](_0x148853,_0x34d654){const _0x1b2b81=_0x3fd5ef,{scene:_0x56fb5c,mainComponent:_0x202815}=this[_0x1b2b81(0x2f0)],_0x23c98e=_0x34d654['map'](_0x508ed2=>new ct(_0x508ed2,_0x56fb5c,_0x148853,_0x202815));this[_0x1b2b81(0x312)]=_0x23c98e,this[_0x1b2b81(0x267)]=_0x34d654;}[_0x3fd5ef(0x29d)](){const _0x287812=_0x3fd5ef;this[_0x287812(0x33c)]();const {scene:_0x1a399f,mainComponent:_0x5b4402}=this[_0x287812(0x2f0)],_0x201859=this[_0x287812(0x316)][_0x287812(0x227)](),_0x13d62f=this[_0x287812(0x267)][_0x287812(0x288)](_0x27192f=>new ct(_0x27192f,_0x1a399f,_0x201859,_0x5b4402));this['_cursorShapes']=_0x13d62f;}[_0x3fd5ef(0x33c)](){const _0x2c85e1=_0x3fd5ef;this[_0x2c85e1(0x312)][_0x2c85e1(0x2dc)](_0x84f7b8=>_0x84f7b8['dispose']()),this[_0x2c85e1(0x312)]=[];}[_0x3fd5ef(0x272)](){const _0x475761=_0x3fd5ef,_0x50c962=[_0xf95019['id']];this[_0x475761(0x346)](this[_0x475761(0x1b9)][_0x475761(0x344)](_0x2c31f6=>{const _0x20119d=_0x475761;_0x50c962[_0x20119d(0x139)](_0x2c31f6['id'])&&_0x2c31f6['params'][_0x20119d(0x160)]===this[_0x20119d(0x2f0)][_0x20119d(0x160)]&&this[_0x20119d(0x29d)]();}));}['_initResize'](){const _0x4ae668=_0x3fd5ef;this[_0x4ae668(0x346)](_0xe44c5(this['_context'][_0x4ae668(0x2c4)][_0x4ae668(0x2e3)])[_0x4ae668(0x16f)](_0x254313(_0x332b28=>_0x332b28['type']===_0x723e00['resize']),_0x6ae5f3(0x10))['subscribe'](()=>{const _0x4082b9=_0x4ae668;this[_0x4082b9(0x29d)]();}));}};Fe=Qi([ie(0x1,_0x5be279(_0x168684)),ie(0x2,_0x5be279(H)),ie(0x3,_0x52fbf7),ie(0x4,_0x5be279(_0x27077f))],Fe);const qi=0x1,en=1.5;class tn extends _0x112b79{constructor(_0x4667a4,_0x4e5c29){const _0x375452=_0x3fd5ef;super(_0x4667a4,_0x4e5c29),_(this,'_color'),_(this,'_hovered',!0x1),_(this,'_range'),_(this,'_name',''),_(this,'_labelPosition',_0x375452(0x1b6)),_(this,_0x375452(0x355)),(_0x4e5c29&&this['setShapeProps'](_0x4e5c29),this[_0x375452(0x307)][_0x375452(0x11f)](()=>this[_0x375452(0x23c)]({'hovered':!0x0})),this['onPointerLeave$'][_0x375452(0x11f)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x3fd5ef(0x23c)](_0x3ad60e){const _0x16fabf=_0x3fd5ef;var _0x4cc861,_0x2978c5,_0x502576,_0x2ff8d8,_0x430721,_0x477f99;this[_0x16fabf(0x262)]=(_0x4cc861=_0x3ad60e['color'])!=null?_0x4cc861:this[_0x16fabf(0x262)],this[_0x16fabf(0x23e)]=(_0x2978c5=_0x3ad60e[_0x16fabf(0x1ca)])!=null?_0x2978c5:this[_0x16fabf(0x23e)],this['_range']=(_0x502576=_0x3ad60e['range'])!=null?_0x502576:this[_0x16fabf(0x34b)],this['_name']=(_0x2ff8d8=_0x3ad60e['name'])!=null?_0x2ff8d8:this[_0x16fabf(0x2cd)],this[_0x16fabf(0x31d)]=(_0x430721=_0x3ad60e[_0x16fabf(0x273)])!=null?_0x430721:this[_0x16fabf(0x31d)],this[_0x16fabf(0x355)]=(_0x477f99=_0x3ad60e[_0x16fabf(0x310)])!=null?_0x477f99:this[_0x16fabf(0x355)],this[_0x16fabf(0x2fb)]({'width':_0x3ad60e[_0x16fabf(0x1b3)],'height':_0x3ad60e[_0x16fabf(0x34e)]});}[_0x3fd5ef(0x16d)](_0x5e4f9c){const _0x326b18=_0x3fd5ef,{row:_0x3efb93,column:_0x5f2954}=_0x5e4f9c;if(_0x3efb93>=this['_range'][_0x326b18(0x1f7)]&&_0x3efb93<=this['_range']['endRow']&&_0x5f2954>=this[_0x326b18(0x34b)][_0x326b18(0x1d9)]&&_0x5f2954<=this[_0x326b18(0x34b)][_0x326b18(0x30f)]){this[_0x326b18(0x23c)]({'hovered':!0x0});return;}this[_0x326b18(0x23c)]({'hovered':!0x1});}['triggerDblclick'](_0xf96ed3){return!0x1;}[_0x3fd5ef(0x34a)](_0x49b5f5){const _0x19a090=_0x3fd5ef;_0x4403cb[_0x19a090(0x1cb)](_0x49b5f5,{'width':this[_0x19a090(0x1b3)],'height':this[_0x19a090(0x34e)],'strokeWidth':en,'stroke':this[_0x19a090(0x262)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x49b5f5[_0x19a090(0x343)](),_0x49b5f5[_0x19a090(0xfa)](0x1,0x0,0x0,0x1,this[_0x19a090(0x1b3)],this[_0x19a090(0x31d)]===_0x19a090(0x299)?0x0:-Q),ve['drawWith'](_0x49b5f5,{'text':this[_0x19a090(0x2cd)],'color':this['_color']}),_0x49b5f5[_0x19a090(0x10f)]());}}var sn=Object[_0x3fd5ef(0x291)],nn=(_0x4c982b,_0x153115,_0xf2aab1,_0x26660e)=>{for(var _0x5e878d=_0x26660e>0x1?void 0x0:_0x26660e?sn(_0x153115,_0xf2aab1):_0x153115,_0x4ec001=_0x4c982b['length']-0x1,_0x146e0a;_0x4ec001>=0x0;_0x4ec001--)(_0x146e0a=_0x4c982b[_0x4ec001])&&(_0x5e878d=_0x146e0a(_0x5e878d)||_0x5e878d);return _0x5e878d;},be=(_0x28f49e,_0x1f4982)=>(_0x124323,_0x54f19b)=>_0x1f4982(_0x124323,_0x54f19b,_0x28f49e);const rn=0x1389;let ke=class extends _0x54976c{constructor(_0x31bbb3,_0x57d414,_0x4970d6,_0x5d29a4){const _0x13edf6=_0x3fd5ef;super(),_(this,_0x13edf6(0x267),new Set()),_(this,_0x13edf6(0x1c3),null),(this[_0x13edf6(0x2f0)]=_0x31bbb3,this['_sheetSkeletonManagerService']=_0x57d414,this[_0x13edf6(0x1e5)]=_0x4970d6,this[_0x13edf6(0x228)]=_0x5d29a4,this[_0x13edf6(0x333)]());}[_0x3fd5ef(0x333)](){const _0x3fa556=_0x3fd5ef;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x3fa556(0x16f)](_0x51cdc5(this[_0x3fa556(0x203)]),_0x5769c7(_0x489c9d=>{const _0x3c9061=_0x3fa556;if(_0x489c9d){const _0x49e137=_0x489c9d[_0x3c9061(0x22d)];return _0x41494d(this[_0x3c9061(0x1e5)][_0x3c9061(0x1d4)](this[_0x3c9061(0x2f0)]['unitId']),this[_0x3c9061(0x228)]['currentTheme$'])[_0x3c9061(0x16f)](_0x3ecce4(([_0x2ab1fa,_0x2da5c4])=>{const _0x1f2781=_0x3c9061,_0x302f64=new Map();return _0x2ab1fa[_0x1f2781(0x2dc)]((_0x9eb466,_0x23f34d)=>{const _0xa8752=_0x1f2781;if(_0x9eb466['sheetID']===_0x49e137){const _0x13f514={..._0x9eb466};_0x13f514['color']=this[_0xa8752(0x228)][_0xa8752(0x1d5)](_0x9eb466[_0xa8752(0x31e)]),_0x302f64['set'](_0x23f34d,_0x13f514);}}),{'skeleton':_0x489c9d,'cursors':_0x302f64};}));}return _0x35ec2a({'skeleton':null,'cursors':new Map()});}))[_0x3fa556(0xf9)](({skeleton:_0x362623,cursors:_0x58f6ce})=>{const _0x30d44c=_0x3fa556;this[_0x30d44c(0x33c)](),_0x362623&&this[_0x30d44c(0x2c2)](_0x362623,_0x58f6ce);}),this[_0x3fa556(0x2a6)]['currentSkeleton$'][_0x3fa556(0xf9)](_0x8ff5ad=>{const _0x4e3440=_0x3fa556;if(_0x8ff5ad==null)return;const {skeleton:_0x3bd776}=_0x8ff5ad,{scene:_0x387a30}=this[_0x4e3440(0x2f0)];_0x387a30['onPointerMove$'][_0x4e3440(0x11f)](_0x23fefb(_0x87826d=>{const _0x6a33d5=_0x4e3440;var _0x519f16,_0x4b82ce;const {offsetX:_0x275c1d,offsetY:_0x11ccba}=_0x87826d,{x:_0x50b1f8,y:_0x133f2c}=_0x387a30[_0x6a33d5(0x15a)](_0x1244fe[_0x6a33d5(0x2c5)]([_0x275c1d,_0x11ccba])),{scaleX:_0x2ed3b4,scaleY:_0x923999}=_0x387a30['getAncestorScale'](),_0x4c4df1=_0x387a30[_0x6a33d5(0x1ea)](_0x2ecadb['VIEW_MAIN']),_0x4b788f=_0x387a30[_0x6a33d5(0x2a4)](_0x1244fe[_0x6a33d5(0x2c5)]([_0x50b1f8,_0x133f2c]),_0x4c4df1),_0x4abd13=_0x3bd776[_0x6a33d5(0x191)](_0x275c1d,_0x11ccba,_0x2ed3b4,_0x923999,_0x4b788f);((_0x519f16=this[_0x6a33d5(0x1c3)])==null?void 0x0:_0x519f16[_0x6a33d5(0x32c)])===_0x4abd13[_0x6a33d5(0x32c)]&&((_0x4b82ce=this['_lastPointer'])==null?void 0x0:_0x4b82ce['row'])===_0x4abd13[_0x6a33d5(0x1a9)]||this[_0x6a33d5(0x267)][_0x6a33d5(0x2dc)](_0x2c2742=>{const _0x5aea4e=_0x6a33d5;_0x2c2742[_0x5aea4e(0x16d)](_0x4abd13);});},0x64));});}[_0x3fd5ef(0x2c2)](_0x5025a8,_0x4e5435){const _0x545094=_0x3fd5ef;var _0x4014da;const _0x1196fd=(_0x4014da=this[_0x545094(0x2a6)][_0x545094(0x253)]())==null?void 0x0:_0x4014da[_0x545094(0x1a3)];if(!_0x1196fd)return;const _0x4f166c=this['_getSheetObject']();if(!_0x4f166c)return;this[_0x545094(0x267)][_0x545094(0x2dc)](_0x57d210=>{const _0x3de79a=_0x545094;_0x57d210[_0x3de79a(0x1e6)]();});const {scene:_0xee2e25}=_0x4f166c,_0x45fd4c=on(Array[_0x545094(0x136)](_0x4e5435['values']()))[_0x545094(0x288)](_0x2d9a1e=>{const _0x4641b6=_0x545094,{color:_0x28aebc,range:_0x431536,name:_0x4190c3,selection:_0xbf3500,sheetID:_0x452483}=_0x2d9a1e,{startColumn:_0x58b31e,startRow:_0x3856c2,endColumn:_0x68cff2,endRow:_0x1e2377}=_0x431536,_0x545428=_0x3294e3(_0x3856c2,_0x58b31e,_0xee2e25,_0x1196fd),_0x2b89a9=_0x3294e3(_0x1e2377,_0x68cff2,_0xee2e25,_0x1196fd),{columnHeaderHeightAndMarginTop:_0x121f6c}=_0x1196fd,{startX:_0x1174cc,startY:_0x3773f1}=_0x545428,{endX:_0x3209e5,endY:_0x306a55}=_0x2b89a9,_0x1a267e=_0x3209e5-_0x1174cc,_0x16da17=_0x306a55-_0x3773f1,_0x22d61d={'labelPosition':_0x3773f1-_0x121f6c>=Q?_0x4641b6(0x1b6):_0x4641b6(0x299),'sheetID':_0x452483,'range':_0x431536,'color':_0x28aebc,'name':_0x4190c3,'selection':_0xbf3500,'left':_0x1174cc,'top':_0x3773f1,'width':_0x1a267e,'height':_0x16da17,'evented':!0x1,'zIndex':rn};return new tn(_0x4190c3,_0x22d61d);});_0xee2e25['addObjects'](_0x45fd4c,qi),this[_0x545094(0x267)]=new Set(_0x45fd4c);}[_0x3fd5ef(0x33c)](){const _0x71048c=_0x3fd5ef;var _0x2b0f4c;(_0x2b0f4c=this[_0x71048c(0x267)])==null||_0x2b0f4c[_0x71048c(0x2dc)](_0x519d0e=>_0x519d0e[_0x71048c(0x1f2)]());}[_0x3fd5ef(0x25a)](){const _0x4b7081=_0x3fd5ef;return _0x59fce6(this[_0x4b7081(0x2f0)]['unit'],this[_0x4b7081(0x2f0)]);}};ke=nn([be(0x1,_0x5be279(_0x103263)),be(0x2,_0x5be279(H)),be(0x3,_0x5be279(_0x27077f))],ke);function on(_0x1d4bfe){const _0x1ddd05=_0x3fd5ef,_0x37b73b=new Map();return _0x1d4bfe['forEach'](_0x4bb2aa=>{const _0x270d5a=_0x3680;if(_0x37b73b['has'](_0x4bb2aa[_0x270d5a(0x2af)])){const _0xfbf8ba=_0x37b73b[_0x270d5a(0x295)](_0x4bb2aa['selection']);_0xfbf8ba[_0x270d5a(0x21c)]+=',\x20'+_0x4bb2aa[_0x270d5a(0x21c)];}else _0x37b73b[_0x270d5a(0x190)](_0x4bb2aa[_0x270d5a(0x2af)],_0x4bb2aa);}),Array[_0x1ddd05(0x136)](_0x37b73b['values']());}var an=Object['getOwnPropertyDescriptor'],cn=(_0x403cc3,_0x202d4d,_0x541a43,_0x3d2bdd)=>{const _0x5c735d=_0x3fd5ef;for(var _0x1485d3=_0x3d2bdd>0x1?void 0x0:_0x3d2bdd?an(_0x202d4d,_0x541a43):_0x202d4d,_0x43ed89=_0x403cc3[_0x5c735d(0x10c)]-0x1,_0x177ca6;_0x43ed89>=0x0;_0x43ed89--)(_0x177ca6=_0x403cc3[_0x43ed89])&&(_0x1485d3=_0x177ca6(_0x1485d3)||_0x1485d3);return _0x1485d3;},F=(_0x11ac83,_0x5bbaff)=>(_0x462a2d,_0x4dc489)=>_0x5bbaff(_0x462a2d,_0x4dc489,_0x11ac83);let _e=class extends _0x4f00b7{constructor(_0x51ff37,_0x46e624,_0x50755b,_0x4fdd76,_0x55c44a,_0x28b20b){const _0x3b671a=_0x3fd5ef;super(),this['_beforeCloseService']=_0x51ff37,this[_0x3b671a(0x209)]=_0x46e624,this[_0x3b671a(0x1a4)]=_0x50755b,this[_0x3b671a(0x13d)]=_0x4fdd76,this[_0x3b671a(0x1cc)]=_0x55c44a,this[_0x3b671a(0x330)]=_0x28b20b,this['_setupBeforeClosingHandler'](),this[_0x3b671a(0x1aa)]();}[_0x3fd5ef(0x113)](){const _0x3fa6a0=_0x3fd5ef;this['disposeWithMe'](this[_0x3fa6a0(0x1ee)][_0x3fa6a0(0x171)](()=>{const _0x49073d=_0x3fa6a0;if(this[_0x49073d(0x209)][_0x49073d(0x33e)][_0x49073d(0x22a)])return this[_0x49073d(0x330)]['t'](_0x49073d(0x2bd));}));}[_0x3fd5ef(0x1aa)](){const _0xaf0d32=_0x3fd5ef;this[_0xaf0d32(0x346)](this[_0xaf0d32(0x1a4)][_0xaf0d32(0x1ab)][_0xaf0d32(0xf9)](_0x51e94d=>{const _0x377254=_0xaf0d32;_0x51e94d['id']===_0x334803[_0x377254(0x1cf)]&&this[_0x377254(0x13d)][_0x377254(0x20f)]({'type':_0x5db869[_0x377254(0x33f)],'content':this[_0x377254(0x330)]['t'](_0x377254(0x1eb))}),_0x51e94d['id']===_0x334803['CLOSE_ROOM']&&this[_0x377254(0x13d)]['show']({'type':_0x5db869['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x51e94d['id']===_0x334803[_0x377254(0x195)]&&this[_0x377254(0x1cc)][_0x377254(0x20f)]({'title':this[_0x377254(0x330)]['t'](_0x377254(0x125)),'content':this[_0x377254(0x330)]['t']('permission.content'),'type':_0x377254(0x232),'duration':0x0}),_0x51e94d['id']===_0x334803['CONFLICT']&&this['_messageService'][_0x377254(0x20f)]({'type':_0x5db869[_0x377254(0x303)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x51e94d[_0x377254(0x172)]+')'}),_0x51e94d['id']===_0x334803['JOIN_ROOM_FAILED']&&this['_messageService'][_0x377254(0x20f)]({'type':_0x5db869['Warning'],'content':this[_0x377254(0x330)]['t'](_0x51e94d['data']||'')}),_0x51e94d['id']===_0x334803[_0x377254(0x2cb)]&&this['_messageService']['show']({'type':_0x5db869[_0x377254(0x33f)],'content':this['_localeService']['t'](_0x377254(0x14a))}),_0x51e94d['id']===_0x334803[_0x377254(0x200)]&&this[_0x377254(0x13d)][_0x377254(0x20f)]({'type':_0x5db869['Error'],'content':this[_0x377254(0x330)]['t'](_0x377254(0x2f9))}),_0x51e94d['id']===_0x334803[_0x377254(0x175)]&&this['_messageService'][_0x377254(0x20f)]({'type':_0x5db869['Error'],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_e=cn([F(0x0,_0x420154),F(0x1,_0x2d1fcf),F(0x2,_0x5be279(_0x18654a)),F(0x3,_0x968e7c),F(0x4,_0x27058d),F(0x5,_0x5be279(_0xf97bb8))],_e);var _n=Object[_0x3fd5ef(0x291)],ln=(_0x3bc833,_0x4aedda,_0x67a199,_0x1ca166)=>{const _0x2d464f=_0x3fd5ef;for(var _0x102eab=_0x1ca166>0x1?void 0x0:_0x1ca166?_n(_0x4aedda,_0x67a199):_0x4aedda,_0x4a022d=_0x3bc833[_0x2d464f(0x10c)]-0x1,_0x1d984e;_0x4a022d>=0x0;_0x4a022d--)(_0x1d984e=_0x3bc833[_0x4a022d])&&(_0x102eab=_0x1d984e(_0x102eab)||_0x102eab);return _0x102eab;},ne=(_0x2e7728,_0x7d90c6)=>(_0x2cdbb6,_0x24977e)=>_0x7d90c6(_0x2cdbb6,_0x24977e,_0x2e7728);let le=class extends _0x4f00b7{constructor(_0x25857a,_0x4bf358,_0x925b53,_0x17b59a){const _0x1fb072=_0x3fd5ef;super(),_(this,_0x1fb072(0x107)),(this[_0x1fb072(0x309)]=_0x25857a,this[_0x1fb072(0x2e5)]=_0x4bf358,this[_0x1fb072(0x1e8)]=_0x925b53,this[_0x1fb072(0x2de)]=_0x17b59a,this[_0x1fb072(0x333)]());}['_init'](){const _0x30dd8d=_0x3fd5ef;this[_0x30dd8d(0x21f)](),this[_0x30dd8d(0x1b8)](),this[_0x30dd8d(0x210)](),this['_initUserListener']();}[_0x3fd5ef(0x226)](){const _0x5e2cbd=_0x3fd5ef;this[_0x5e2cbd(0x346)](this[_0x5e2cbd(0x2de)][_0x5e2cbd(0x1e2)]['subscribe'](_0x1f9162=>{const _0x5af78b=_0x5e2cbd;this[_0x5af78b(0x107)]=_0x1f9162==null?void 0x0:_0x1f9162[_0x5af78b(0x322)];}));}['_initWindowErrorListener'](){const _0x462929=_0x3fd5ef,_0x4c10b2=_0x3f69c6=>{const _0x46a3ff=_0x3680;var _0x3796d3;this[_0x46a3ff(0x274)]('error',_0x46a3ff(0x11b)+_0x3f69c6['message']+_0x46a3ff(0x1ec)+_0x3f69c6[_0x46a3ff(0x13e)]+':'+_0x3f69c6[_0x46a3ff(0x12c)]+':'+_0x3f69c6[_0x46a3ff(0x22c)]+'\x0a'+(((_0x3796d3=_0x3f69c6['error'])==null?void 0x0:_0x3796d3[_0x46a3ff(0x255)])||''));};window[_0x462929(0x184)]('error',_0x4c10b2),this['disposeWithMe'](()=>{const _0x222504=_0x462929;window['removeEventListener'](_0x222504(0x232),_0x4c10b2);});}[_0x3fd5ef(0x1b8)](){const _0x311cfb=_0x3fd5ef,_0x1c0b96=_0x22b161=>{const _0x5a2dc0=_0x3680;this[_0x5a2dc0(0x274)](_0x5a2dc0(0x232),_0x5a2dc0(0x323)+_0x22b161[_0x5a2dc0(0x326)]);};window[_0x311cfb(0x184)](_0x311cfb(0x12b),_0x1c0b96),this[_0x311cfb(0x346)](()=>{const _0x43a277=_0x311cfb;window[_0x43a277(0x31b)]('unhandledrejection',_0x1c0b96);});}['_monkeyPatchLogService'](){const _0x3c10c1=_0x3fd5ef,_0x6edb29=this[_0x3c10c1(0x1e8)]['error'][_0x3c10c1(0x1d2)](this[_0x3c10c1(0x1e8)]);this[_0x3c10c1(0x1e8)][_0x3c10c1(0x232)]=(..._0x68d0b6)=>{const _0x2bdc7c=_0x3c10c1,_0x2d9100=_0x68d0b6[_0x2bdc7c(0x288)](_0x3d5588=>_0x3d5588 instanceof Error?_0x3d5588[_0x2bdc7c(0x34d)]+'\x0a'+_0x3d5588[_0x2bdc7c(0x255)]:String(_0x3d5588))['join']('\x20');this[_0x2bdc7c(0x274)]('error',_0x2bdc7c(0x2f5)+_0x2d9100),_0x6edb29(..._0x68d0b6);},this['disposeWithMe'](()=>{this['_logService']['error']=_0x6edb29;});}[_0x3fd5ef(0x274)](_0xc81a9e,_0x18383a){const _0x1ea0be=_0x3fd5ef;try{const _0x4b6922={'userId':this[_0x1ea0be(0x107)],'logLabel':_0xc81a9e,'content':_0x18383a};this['_httpService']['post'](_0x1ea0be(0x149),{'body':_0x4b6922})[_0x1ea0be(0x30d)](()=>{});}catch{}}};le=ln([ne(0x0,_0x5be279(_0x4442ad)),ne(0x1,_0x5be279(_0x35064f)),ne(0x2,_0x25626e),ne(0x3,_0x5be279(_0x4b2370))],le);const hn=_0x3fd5ef(0x21d),_t={};var un=Object[_0x3fd5ef(0x291)],dn=(_0x5f09bb,_0x3cf045,_0xafc153,_0x2278b4)=>{const _0x3f39b0=_0x3fd5ef;for(var _0x2edec1=_0x2278b4>0x1?void 0x0:_0x2278b4?un(_0x3cf045,_0xafc153):_0x3cf045,_0x18445b=_0x5f09bb[_0x3f39b0(0x10c)]-0x1,_0x5b3cf5;_0x18445b>=0x0;_0x18445b--)(_0x5b3cf5=_0x5f09bb[_0x18445b])&&(_0x2edec1=_0x5b3cf5(_0x2edec1)||_0x2edec1);return _0x2edec1;},lt=(_0x22a93c,_0x5ec35d)=>(_0x3126dd,_0x247891)=>_0x5ec35d(_0x3126dd,_0x247891,_0x22a93c);let he=class{constructor(_0x36c5a5,_0x3ef72c){const _0x37b122=_0x3fd5ef;this[_0x37b122(0x2d4)]=_0x36c5a5,this[_0x37b122(0x2f2)]=_0x3ef72c;}[_0x3fd5ef(0x2a8)](_0x798b47){const _0xd2f296=_0x3fd5ef;this['_transformUndoRedoStack'](_0x798b47),this[_0xd2f296(0x269)](_0x798b47);}[_0x3fd5ef(0x15d)](_0x3bd12b){const _0xb86616=_0x3fd5ef,{unitID:_0x1d462d}=_0x3bd12b,_0x21ce7e=this[_0xb86616(0x2f2)][_0xb86616(0x1bb)](_0x1d462d)['with'](_0x5c8d42),{redoCache:_0x5b7da4}=_0x21ce7e[_0xb86616(0x318)]();if(_0x5b7da4[_0xb86616(0x10c)]===0x0)return _0x3bd12b;let _0x411edc=_0x2b2135[_0xb86616(0x233)](_0x3bd12b[_0xb86616(0x2ba)][0x0]);for(let _0x13cc15=0x0;_0x13cc15<_0x5b7da4['length'];_0x13cc15++){const _0x350b2b={'id':_0xb86616(0x314),'params':{..._0x5b7da4[_0x13cc15]}},_0x1f6c54=this[_0xb86616(0x2d4)][_0xb86616(0x242)](_0x411edc,_0x350b2b,!0x1);if(_0x3758a8(_0x1f6c54))throw _0x1f6c54[_0xb86616(0x232)];_0x411edc=_0x1f6c54['m1Prime'];}return{..._0x2b2135[_0xb86616(0x233)](_0x3bd12b),'mutations':[_0x411edc]};}[_0x3fd5ef(0x13c)](_0x3695fc){const _0xd8b1ac=_0x3fd5ef,{unitID:_0xd7889d}=_0x3695fc,_0x2a6c92=this[_0xd8b1ac(0x2f2)][_0xd8b1ac(0x1bb)](_0xd7889d)[_0xd8b1ac(0x207)](_0x5c8d42),{undoCache:_0x426010,redoCache:_0x39c5ec}=_0x2a6c92['getUndoRedoMutationParamsCache']();if(_0x426010[_0xd8b1ac(0x10c)]===0x0||_0x39c5ec[_0xd8b1ac(0x10c)]===0x0)return;const _0x1b786c=[],_0x12210c=[];let _0x2bd816=_0x2b2135[_0xd8b1ac(0x233)](_0x3695fc[_0xd8b1ac(0x2ba)][0x0]),_0x202231=_0x2b2135[_0xd8b1ac(0x233)](_0x3695fc[_0xd8b1ac(0x2ba)][0x0]);for(let _0x195d9f=_0x426010[_0xd8b1ac(0x10c)]-0x1;_0x195d9f>=0x0;_0x195d9f--){const _0x123b04={'id':_0xd8b1ac(0x314),'params':{..._0x426010[_0x195d9f]}},_0xae8756={'id':_0xd8b1ac(0x314),'params':{..._0x39c5ec[_0x195d9f]}},_0x35ca79=this['_transformService'][_0xd8b1ac(0x242)](_0x2bd816,_0x123b04,!0x1),_0x347e0c=this[_0xd8b1ac(0x2d4)]['transformMutation'](_0x202231,_0xae8756,!0x1);if(_0x3758a8(_0x35ca79))throw _0x35ca79['error'];if(_0x3758a8(_0x347e0c))throw _0x347e0c['error'];_0x1b786c[_0xd8b1ac(0x2b9)](_0x35ca79[_0xd8b1ac(0x248)][_0xd8b1ac(0x1a8)]),_0x12210c[_0xd8b1ac(0x2b9)](_0x347e0c[_0xd8b1ac(0x248)][_0xd8b1ac(0x1a8)]),_0x2bd816=_0x35ca79[_0xd8b1ac(0x1bd)],_0x202231=_0x347e0c[_0xd8b1ac(0x1bd)];}_0x2a6c92[_0xd8b1ac(0x28d)]({'undoCache':_0x1b786c,'redoCache':_0x12210c});}[_0x3fd5ef(0x269)](_0x277456){const _0xa7ba7e=_0x3fd5ef,{unitID:_0x2ab50a}=_0x277456,_0x44fe8a=this['_renderManagerService']['getRenderById'](_0x2ab50a)[_0xa7ba7e(0x207)](_0x5c8d42),_0xbc39a0=_0x44fe8a[_0xa7ba7e(0x198)]();if(_0xbc39a0==null)return;const _0x3986be=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x277456[_0xa7ba7e(0x205)],'actions':null,'textRanges':[_0xbc39a0]}}],_0x5b5a89=this['_transformService'][_0xa7ba7e(0x231)](_0x277456,_0x3986be);if(!_0x463bb2(_0x5b5a89))throw _0x5b5a89[_0xa7ba7e(0x232)];const _0x218368=_0x5b5a89['m2Prime'][0x0][_0xa7ba7e(0x1a8)][_0xa7ba7e(0x1b1)];Array[_0xa7ba7e(0x263)](_0x218368)&&_0x218368['length']&&_0x44fe8a['setActiveRange'](_0x218368[0x0]);}};he=dn([lt(0x0,_0x4be4b1),lt(0x1,_0x19555c)],he);var Sn=Object['getOwnPropertyDescriptor'],In=(_0x2f0165,_0x6defc2,_0x1679f7,_0x12eccf)=>{const _0x4b30e8=_0x3fd5ef;for(var _0x4760d1=_0x12eccf>0x1?void 0x0:_0x12eccf?Sn(_0x6defc2,_0x1679f7):_0x6defc2,_0x1f5cd2=_0x2f0165[_0x4b30e8(0x10c)]-0x1,_0x34aeec;_0x1f5cd2>=0x0;_0x1f5cd2--)(_0x34aeec=_0x2f0165[_0x1f5cd2])&&(_0x4760d1=_0x34aeec(_0x4760d1)||_0x4760d1);return _0x4760d1;},Le=(_0x5bae71,_0x4b81ac)=>(_0x545749,_0x1328e8)=>_0x4b81ac(_0x545749,_0x1328e8,_0x5bae71);let ue=class{constructor(_0x31531d,_0x4b62f9,_0x38658b){const _0x49c029=_0x3fd5ef;this[_0x49c029(0x309)]=_0x31531d,this['_transformService']=_0x4b62f9,this['_docStateChangeManagerService']=_0x38658b;}[_0x3fd5ef(0x1dd)](_0x1eeccd){this['_transformHistoryAndStateStack'](_0x1eeccd);}[_0x3fd5ef(0x15d)](_0x3fdb59){const _0x1d16cf=_0x3fd5ef,{unitID:_0x3bd23b}=_0x3fdb59,{collaboration:_0x124c68}=this['_docStateChangeManagerService'][_0x1d16cf(0x32d)](_0x3bd23b);if(_0x124c68[_0x1d16cf(0x10c)]===0x0)return _0x3fdb59;let _0x31dcfe=_0x2b2135[_0x1d16cf(0x233)](_0x3fdb59['mutations'][0x0]);for(let _0x264387=0x0;_0x264387<_0x124c68[_0x1d16cf(0x10c)];_0x264387++){const _0x4f8708={'id':_0x1d16cf(0x314),'params':{'unitId':_0x124c68[_0x264387]['unitId'],..._0x124c68[_0x264387][_0x1d16cf(0x24b)]}},_0x5c0b87=this[_0x1d16cf(0x2d4)][_0x1d16cf(0x242)](_0x31dcfe,_0x4f8708,!0x1);if(_0x3758a8(_0x5c0b87))throw _0x5c0b87['error'];_0x31dcfe=_0x5c0b87['m1Prime'];}return{..._0x2b2135[_0x1d16cf(0x233)](_0x3fdb59),'mutations':[_0x31dcfe]};}['_transformHistoryAndStateStack'](_0x28b045){const _0x16e9c9=_0x3fd5ef,{unitID:_0x411748}=_0x28b045,{history:_0x41f5b5,collaboration:_0xc4ef87}=this[_0x16e9c9(0x196)][_0x16e9c9(0x32d)](_0x411748);if(_0x41f5b5['length']===0x0&&_0xc4ef87[_0x16e9c9(0x10c)]===0x0)return;const _0x3adcb9=[],_0x237da7=[];let _0x39eb50=_0x2b2135[_0x16e9c9(0x233)](_0x28b045['mutations'][0x0]),_0x49d604=_0x2b2135[_0x16e9c9(0x233)](_0x28b045[_0x16e9c9(0x2ba)][0x0]);for(let _0x142089=_0x41f5b5[_0x16e9c9(0x10c)]-0x1;_0x142089>=0x0;_0x142089--){const _0x5352de={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x41f5b5[_0x142089][_0x16e9c9(0x160)],..._0x41f5b5[_0x142089]['undoState']}},_0x5a73b3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x41f5b5[_0x142089]['unitId'],..._0x41f5b5[_0x142089][_0x16e9c9(0x24b)]}},_0x40beb9=this[_0x16e9c9(0x2d4)]['transformMutation'](_0x39eb50,_0x5352de,!0x1),_0x53bace=this[_0x16e9c9(0x2d4)]['transformMutation'](_0x49d604,_0x5a73b3,!0x1);if(_0x3758a8(_0x40beb9))throw _0x40beb9[_0x16e9c9(0x232)];if(_0x3758a8(_0x53bace))throw _0x53bace[_0x16e9c9(0x232)];_0x3adcb9[_0x16e9c9(0x2b9)]({..._0x41f5b5[_0x142089],'undoState':_0x40beb9[_0x16e9c9(0x248)][_0x16e9c9(0x1a8)],'redoState':_0x53bace[_0x16e9c9(0x248)][_0x16e9c9(0x1a8)]}),_0x39eb50=_0x40beb9[_0x16e9c9(0x1bd)],_0x49d604=_0x53bace[_0x16e9c9(0x1bd)];}_0x39eb50=_0x2b2135[_0x16e9c9(0x233)](_0x28b045[_0x16e9c9(0x2ba)][0x0]),_0x49d604=_0x2b2135['deepClone'](_0x28b045[_0x16e9c9(0x2ba)][0x0]);for(let _0x57642e=_0xc4ef87[_0x16e9c9(0x10c)]-0x1;_0x57642e>=0x0;_0x57642e--){const _0x582c3c={'id':_0x16e9c9(0x314),'params':{'unitId':_0xc4ef87[_0x57642e][_0x16e9c9(0x160)],..._0xc4ef87[_0x57642e][_0x16e9c9(0x24e)]}},_0x479ef7={'id':_0x16e9c9(0x314),'params':{'unitId':_0xc4ef87[_0x57642e][_0x16e9c9(0x160)],..._0xc4ef87[_0x57642e][_0x16e9c9(0x24b)]}},_0x422060=this[_0x16e9c9(0x2d4)][_0x16e9c9(0x242)](_0x39eb50,_0x582c3c,!0x1),_0x56594b=this[_0x16e9c9(0x2d4)][_0x16e9c9(0x242)](_0x49d604,_0x479ef7,!0x1);if(_0x3758a8(_0x422060))throw _0x422060[_0x16e9c9(0x232)];if(_0x3758a8(_0x56594b))throw _0x56594b[_0x16e9c9(0x232)];_0x237da7['unshift']({..._0xc4ef87[_0x57642e],'undoState':_0x422060[_0x16e9c9(0x248)][_0x16e9c9(0x1a8)],'redoState':_0x56594b[_0x16e9c9(0x248)][_0x16e9c9(0x1a8)]}),_0x39eb50=_0x422060['m1Prime'],_0x49d604=_0x56594b[_0x16e9c9(0x1bd)];}this['_docStateChangeManagerService'][_0x16e9c9(0x109)](_0x411748,{'history':_0x3adcb9,'collaboration':_0x237da7});}};ue=In([Le(0x0,_0x5be279(_0x4442ad)),Le(0x1,_0x4be4b1),Le(0x2,_0x5be279(_0x580a14))],ue);var mn=Object[_0x3fd5ef(0x291)],fn=(_0x23fa7f,_0xff3c18,_0x37e0ef,_0x48f4f2)=>{const _0x543b15=_0x3fd5ef;for(var _0x31219a=_0x48f4f2>0x1?void 0x0:_0x48f4f2?mn(_0xff3c18,_0x37e0ef):_0xff3c18,_0x147050=_0x23fa7f[_0x543b15(0x10c)]-0x1,_0x9ae051;_0x147050>=0x0;_0x147050--)(_0x9ae051=_0x23fa7f[_0x147050])&&(_0x31219a=_0x9ae051(_0x31219a)||_0x31219a);return _0x31219a;},ht=(_0x5363b9,_0x234f13)=>(_0x56478b,_0xcc2271)=>_0x234f13(_0x56478b,_0xcc2271,_0x5363b9);let de=class{constructor(_0x577fdd,_0x160259){const _0xddf828=_0x3fd5ef;this[_0xddf828(0x309)]=_0x577fdd,this[_0xddf828(0x2d4)]=_0x160259;}[_0x3fd5ef(0x11a)](_0xb9c2e1){const _0x138a8c=_0x3fd5ef;var _0x4bfdbc;const _0x1b47e1=this[_0x138a8c(0x309)][_0x138a8c(0x295)](_0x2d3f04),_0x3b2e61=(_0x4bfdbc=_0x1b47e1['getDocRanges']())!=null?_0x4bfdbc:[];if(_0x3b2e61['length']===0x0)return;const _0x4f2a33=_0xb9c2e1[_0x138a8c(0x205)],_0x17bc96=[{'id':_0x138a8c(0x314),'params':{'unitId':_0x4f2a33,'actions':null,'textRanges':_0x3b2e61}}],_0x236dd7=this['_transformService'][_0x138a8c(0x231)](_0xb9c2e1,_0x17bc96);if(!_0x463bb2(_0x236dd7))throw _0x236dd7[_0x138a8c(0x232)];const _0x1e33b2=_0x236dd7[_0x138a8c(0x248)][0x0][_0x138a8c(0x1a8)]['textRanges'];Array[_0x138a8c(0x263)](_0x1e33b2)&&_0x1e33b2[_0x138a8c(0x10c)]&&_0x1b47e1['replaceDocRanges'](_0x1e33b2,{'unitId':_0x4f2a33,'subUnitId':_0x4f2a33},!0x1);}};de=fn([ht(0x0,_0x5be279(_0x4442ad)),ht(0x1,_0x4be4b1)],de);var gn=Object[_0x3fd5ef(0x291)],En=(_0x14696b,_0x5f5bc2,_0x2dbe87,_0x23a790)=>{const _0x3fe6a7=_0x3fd5ef;for(var _0x45c3ff=_0x23a790>0x1?void 0x0:_0x23a790?gn(_0x5f5bc2,_0x2dbe87):_0x5f5bc2,_0x1e2d7a=_0x14696b[_0x3fe6a7(0x10c)]-0x1,_0xe9b200;_0x1e2d7a>=0x0;_0x1e2d7a--)(_0xe9b200=_0x14696b[_0x1e2d7a])&&(_0x45c3ff=_0xe9b200(_0x45c3ff)||_0x45c3ff);return _0x45c3ff;},U=(_0x5afb91,_0x310559)=>(_0x45aba5,_0x3dcd62)=>_0x310559(_0x45aba5,_0x3dcd62,_0x5afb91);let Se=class extends _0x4f00b7{constructor(_0x4da126,_0x565333,_0x1a4ca0,_0xcef059,_0x5aa9ec,_0x2a24ec,_0xec8bab,_0x585098){const _0x178d31=_0x3fd5ef;super(),_(this,_0x178d31(0x229),new _0x35a309(_0x1c9331[_0x178d31(0x128)])),(this['_docStateChangeManagerService']=_0x4da126,this[_0x178d31(0x30e)]=_0x565333,this[_0x178d31(0x1e7)]=_0x1a4ca0,this[_0x178d31(0x2a0)]=_0xcef059,this[_0x178d31(0x31f)]=_0x5aa9ec,this[_0x178d31(0x25d)]=_0x2a24ec,this[_0x178d31(0x13d)]=_0xec8bab,this[_0x178d31(0x330)]=_0x585098,this['_initEntityListener']());}[_0x3fd5ef(0x308)](){const _0x48fcd7=_0x3fd5ef;this[_0x48fcd7(0x346)](this[_0x48fcd7(0x30e)][_0x48fcd7(0x225)][_0x48fcd7(0xf9)](_0x5bd395=>{const _0x2fd2e3=_0x48fcd7,_0x55b904=this[_0x2fd2e3(0x196)][_0x2fd2e3(0x26e)][_0x2fd2e3(0xf9)](_0x55967b=>{const _0x1361a8=_0x2fd2e3;if(_0x55967b==null)return;const {unitId:_0x3ca0ea,redoState:_0x36ab44,commandId:_0x10bb05}=_0x55967b;if(_0x3ca0ea!==_0x5bd395[_0x1361a8(0x205)])return;const _0x3ef177={'id':_0x10bb05,'type':_0x5419f7[_0x1361a8(0x2ee)],'params':{'unitId':_0x3ca0ea,'actions':_0x36ab44[_0x1361a8(0x2b2)],'textRanges':null}};_0x5bd395[_0x1361a8(0x140)](_0x3ef177);});if(_0x5bd395[_0x2fd2e3(0x346)](_0x55b904),_0x5bd395 instanceof _0x1609bb){const _0x4d0f39={'onTransformIME':_0x4a826f=>this[_0x2fd2e3(0x1e7)][_0x2fd2e3(0x2a8)](_0x4a826f),'onTransformState':_0x51a9c8=>this[_0x2fd2e3(0x2a0)][_0x2fd2e3(0x1dd)](_0x51a9c8),'onTransformSelections':_0x154999=>this[_0x2fd2e3(0x31f)][_0x2fd2e3(0x11a)](_0x154999),'onSyncEditingCollabCursor':_0x6d1944=>this[_0x2fd2e3(0x25d)][_0x2fd2e3(0x327)](_0x6d1944),'onTransformRemoteChangesetByIMECache':_0x2412e0=>this['_docTransformIMECacheService'][_0x2fd2e3(0x15d)](_0x2412e0),'onTransformRemoteChangesetByStateCache':_0x471d6d=>this[_0x2fd2e3(0x2a0)][_0x2fd2e3(0x15d)](_0x471d6d)};_0x5bd395[_0x2fd2e3(0x353)](_0x4d0f39);}}));}};Se=En([U(0x0,_0x5be279(_0x580a14)),U(0x1,_0x5be279(_0x2d6c5e)),U(0x2,_0x5be279(he)),U(0x3,_0x5be279(ue)),U(0x4,_0x5be279(de)),U(0x5,_0x5be279(ze)),U(0x6,_0x968e7c),U(0x7,_0x5be279(_0xf97bb8))],Se);var Z=(_0xd878a8=>(_0xd878a8[_0xd878a8[_0x3fd5ef(0x334)]=0x0]=_0x3fd5ef(0x334),_0xd878a8[_0xd878a8['OK']=0x1]='OK',_0xd878a8[_0xd878a8[_0x3fd5ef(0x24d)]=0x2]=_0x3fd5ef(0x24d),_0xd878a8[_0xd878a8[_0x3fd5ef(0x195)]=0x3]=_0x3fd5ef(0x195),_0xd878a8[_0xd878a8[_0x3fd5ef(0x1a6)]=0x4]=_0x3fd5ef(0x1a6),_0xd878a8[_0xd878a8[_0x3fd5ef(0x21e)]=0x5]=_0x3fd5ef(0x21e),_0xd878a8[_0xd878a8[_0x3fd5ef(0xfb)]=0x6]=_0x3fd5ef(0xfb),_0xd878a8[_0xd878a8[_0x3fd5ef(0x110)]=0x7]=_0x3fd5ef(0x110),_0xd878a8[_0xd878a8['TOO_MANY_REQUESTS']=0x8]=_0x3fd5ef(0x30b),_0xd878a8[_0xd878a8[_0x3fd5ef(0x283)]=0x9]=_0x3fd5ef(0x283),_0xd878a8[_0xd878a8['LOGIN_FAILED']=0xa]=_0x3fd5ef(0x336),_0xd878a8[_0xd878a8['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xd878a8[_0xd878a8[_0x3fd5ef(0x2fa)]=0xc]=_0x3fd5ef(0x2fa),_0xd878a8[_0xd878a8[_0x3fd5ef(0x1fc)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xd878a8[_0xd878a8['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xd878a8[_0xd878a8['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x3fd5ef(0x2e1),_0xd878a8[_0xd878a8[_0x3fd5ef(0x25b)]=0x10]=_0x3fd5ef(0x25b),_0xd878a8[_0xd878a8['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x3fd5ef(0x2fd),_0xd878a8[_0xd878a8[_0x3fd5ef(0x122)]=0x65]=_0x3fd5ef(0x122),_0xd878a8[_0xd878a8[_0x3fd5ef(0x17f)]=0xc9]=_0x3fd5ef(0x17f),_0xd878a8[_0xd878a8['USER_IS_ANONYMOUS']=0xca]=_0x3fd5ef(0x112),_0xd878a8[_0xd878a8[_0x3fd5ef(0x1fe)]=0x1389]=_0x3fd5ef(0x1fe),_0xd878a8[_0xd878a8[_0x3fd5ef(0x2f4)]=0x1771]=_0x3fd5ef(0x2f4),_0xd878a8[_0xd878a8[_0x3fd5ef(0xff)]=0x1772]=_0x3fd5ef(0xff),_0xd878a8[_0xd878a8[_0x3fd5ef(0x165)]=0x1773]=_0x3fd5ef(0x165),_0xd878a8[_0xd878a8['APPLY_REJECT']=0x1b59]=_0x3fd5ef(0x2c6),_0xd878a8[_0xd878a8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xd878a8[_0xd878a8[_0x3fd5ef(0x2c9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xd878a8[_0xd878a8[_0x3fd5ef(0x111)]=0x1b5c]=_0x3fd5ef(0x111),_0xd878a8[_0xd878a8[_0x3fd5ef(0x2b0)]=0x1b5d]=_0x3fd5ef(0x2b0),_0xd878a8[_0xd878a8[_0x3fd5ef(0x247)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xd878a8[_0xd878a8[_0x3fd5ef(0x120)]=0x2329]=_0x3fd5ef(0x120),_0xd878a8[_0xd878a8['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x3fd5ef(0x301),_0xd878a8[_0xd878a8[_0x3fd5ef(0x117)]=0x232b]=_0x3fd5ef(0x117),_0xd878a8[_0xd878a8[_0x3fd5ef(0x34c)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xd878a8[_0xd878a8['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3fd5ef(0x33b),_0xd878a8[_0xd878a8[_0x3fd5ef(0x1d0)]=0x2711]=_0x3fd5ef(0x1d0),_0xd878a8[_0xd878a8['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x3fd5ef(0x356),_0xd878a8[_0xd878a8['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x3fd5ef(0x127),_0xd878a8[_0xd878a8[_0x3fd5ef(0x16c)]=0x2714]=_0x3fd5ef(0x16c),_0xd878a8[_0xd878a8['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0xd878a8[_0xd878a8[_0x3fd5ef(0x2e0)]=0x271b]=_0x3fd5ef(0x2e0),_0xd878a8[_0xd878a8['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3fd5ef(0x335),_0xd878a8[_0xd878a8['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x3fd5ef(0x2ef),_0xd878a8[_0xd878a8[_0x3fd5ef(0x313)]=0x271e]=_0x3fd5ef(0x313),_0xd878a8[_0xd878a8[_0x3fd5ef(0x1e4)]=0x271f]=_0x3fd5ef(0x1e4),_0xd878a8[_0xd878a8['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3fd5ef(0x215),_0xd878a8[_0xd878a8[_0x3fd5ef(0x351)]=0x2af9]=_0x3fd5ef(0x351),_0xd878a8[_0xd878a8['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x3fd5ef(0x182),_0xd878a8[_0xd878a8[_0x3fd5ef(0x2b5)]=0x2ee2]=_0x3fd5ef(0x2b5),_0xd878a8[_0xd878a8[_0x3fd5ef(0x2ae)]=0x2ee3]='INVITE_CODE_REQUIRED',_0xd878a8[_0xd878a8['USER_NOT_INVITED_CODE']=0x2ee4]=_0x3fd5ef(0x240),_0xd878a8[_0xd878a8[_0x3fd5ef(0x329)]=0x2ee5]=_0x3fd5ef(0x329),_0xd878a8[_0xd878a8[_0x3fd5ef(0x211)]=0x32c9]=_0x3fd5ef(0x211),_0xd878a8[_0xd878a8[_0x3fd5ef(0x358)]=0x32ca]=_0x3fd5ef(0x358),_0xd878a8[_0xd878a8[_0x3fd5ef(0x15b)]=0x32cb]=_0x3fd5ef(0x15b),_0xd878a8[_0xd878a8[_0x3fd5ef(0x270)]=0x36b1]=_0x3fd5ef(0x270),_0xd878a8[_0xd878a8[_0x3fd5ef(0x2b1)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0xd878a8[_0xd878a8[_0x3fd5ef(0x104)]=0x36b3]=_0x3fd5ef(0x104),_0xd878a8[_0xd878a8['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xd878a8[_0xd878a8[_0x3fd5ef(0x1da)]=0x36b5]=_0x3fd5ef(0x1da),_0xd878a8[_0xd878a8[_0x3fd5ef(0x1e0)]=0x36b6]=_0x3fd5ef(0x1e0),_0xd878a8[_0xd878a8['ENTITLE_COUPON_USED_UP']=0x36b7]=_0x3fd5ef(0x194),_0xd878a8[_0xd878a8[_0x3fd5ef(0x26c)]=0x36b8]=_0x3fd5ef(0x26c),_0xd878a8[_0xd878a8['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x3fd5ef(0x324),_0xd878a8[_0xd878a8['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x3fd5ef(0x2b6),_0xd878a8[_0xd878a8[_0x3fd5ef(0x1c4)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xd878a8[_0xd878a8[_0x3fd5ef(0x1f6)]=0x37dd]=_0x3fd5ef(0x1f6),_0xd878a8[_0xd878a8['REDEMPTION_INVALID_CODE']=0x3a99]=_0x3fd5ef(0x142),_0xd878a8[_0xd878a8['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x3fd5ef(0x304),_0xd878a8[_0xd878a8[_0x3fd5ef(0xfc)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0xd878a8[_0xd878a8[_0x3fd5ef(0x345)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0xd878a8[_0xd878a8[_0x3fd5ef(0x119)]=0x3a9d]=_0x3fd5ef(0x119),_0xd878a8[_0xd878a8[_0x3fd5ef(0x279)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0xd878a8[_0xd878a8[_0x3fd5ef(0x14c)]=0x3a9f]=_0x3fd5ef(0x14c),_0xd878a8[_0xd878a8[_0x3fd5ef(0x266)]=0x3e81]=_0x3fd5ef(0x266),_0xd878a8[_0xd878a8[_0x3fd5ef(0x1ed)]=-0x1]=_0x3fd5ef(0x1ed),_0xd878a8))(Z||{});function vn(_0x1925b9){const _0x13a026=_0x3fd5ef;var _0x1ba6bf,_0x1516df;const _0x43d840=(_0x1ba6bf=_0x1925b9['stageInfo'])==null?void 0x0:_0x1ba6bf[_0x13a026(0x150)],_0x131295=((_0x1516df=_0x1925b9[_0x13a026(0x1a0)])==null?void 0x0:_0x1516df[_0x13a026(0x1d7)])||0x0;return _0x43d840===_0x533e75[_0x13a026(0x24f)]&&_0x131295>0x0;}function pn(_0x2c5aa8){const _0x408abb=_0x3fd5ef;return _0x2c5aa8['functionsExecutedState']===_0x16f1fc[_0x408abb(0x250)];}var On=Object[_0x3fd5ef(0x291)],Tn=(_0x570bcd,_0x1d9be6,_0xe49c1a,_0x58a363)=>{const _0x1f36d3=_0x3fd5ef;for(var _0x50f8cc=_0x58a363>0x1?void 0x0:_0x58a363?On(_0x1d9be6,_0xe49c1a):_0x1d9be6,_0x4a35a6=_0x570bcd[_0x1f36d3(0x10c)]-0x1,_0x5c230b;_0x4a35a6>=0x0;_0x4a35a6--)(_0x5c230b=_0x570bcd[_0x4a35a6])&&(_0x50f8cc=_0x5c230b(_0x50f8cc)||_0x50f8cc);return _0x50f8cc;},P=(_0x3b5a1b,_0x12841b)=>(_0xaf753e,_0x2fdb2b)=>_0x12841b(_0xaf753e,_0x2fdb2b,_0x3b5a1b);const Cn=_0x3fd5ef(0x124),Rn='/universer-api/license/formula/limit/start',Dn=_0x3fd5ef(0x158);let Ie=class extends _0x4f00b7{constructor(_0x27e69d,_0x9472c2,_0x168cee,_0x521c87,_0x53eb08,_0x1b5dc5,_0x5605fb){const _0x2f9fd9=_0x3fd5ef;super(),_(this,_0x2f9fd9(0x2c0),null),_(this,_0x2f9fd9(0x114),0x0),_(this,_0x2f9fd9(0x276),0x0),_(this,_0x2f9fd9(0x17e),[]),_(this,'_lastResponseTimestamp',0x0),(this['_messageService']=_0x27e69d,this[_0x2f9fd9(0x1b9)]=_0x9472c2,this[_0x2f9fd9(0x27f)]=_0x168cee,this[_0x2f9fd9(0x2e5)]=_0x521c87,this[_0x2f9fd9(0x1a5)]=_0x53eb08,this[_0x2f9fd9(0x1e8)]=_0x1b5dc5,this[_0x2f9fd9(0x330)]=_0x5605fb,this[_0x2f9fd9(0x164)]());}['_initCommandInterceptor'](){const _0x5bf062=_0x3fd5ef;this['disposeWithMe'](this['_commandService'][_0x5bf062(0x1ff)]((_0x3d2378,_0x3f84a7)=>{const _0xe2ffd0=_0x5bf062;var _0x35cb09;if(_0x3d2378['id']!==_0x2753de['id'])return;const _0x5963ee=_0x3d2378['params'];if(!this[_0xe2ffd0(0x29a)]((_0x35cb09=_0x5963ee[_0xe2ffd0(0x180)])!=null?_0x35cb09:[]))return;if(!this[_0xe2ffd0(0x213)]())throw this[_0xe2ffd0(0x1d1)](_0x3d2378,_0x3f84a7),this[_0xe2ffd0(0x2c1)](),new _0x42ff66();})),this[_0x5bf062(0x346)](this[_0x5bf062(0x1b9)][_0x5bf062(0x344)]((_0x2e3086,_0x1335d7)=>{const _0x5181e7=_0x5bf062;if(_0x2e3086['id']!==_0x58be3c['id'])return;const _0x41e5d9=_0x2e3086['params'];if(vn(_0x41e5d9)){const _0x3e8116=_0xba23d8();this['_taskIds']['push'](_0x3e8116),this[_0x5181e7(0x244)](_0x3e8116);}else{if(pn(_0x41e5d9)&&this[_0x5181e7(0x17e)][_0x5181e7(0x10c)]>0x0){const _0x453303=this['_taskIds'][_0x5181e7(0x2b7)]();this[_0x5181e7(0x342)](_0x453303);}}}));}[_0x3fd5ef(0x1f2)](){const _0x420e2b=_0x3fd5ef;super[_0x420e2b(0x1f2)](),this[_0x420e2b(0x167)](),this[_0x420e2b(0x17e)]=[],this[_0x420e2b(0x276)]=0x0,this[_0x420e2b(0x114)]=0x0,this[_0x420e2b(0x2d2)]=0x0;}async[_0x3fd5ef(0x1d1)](_0x21a798,_0x3b546d){const _0x13664a=_0x3fd5ef;for(let _0x127223=0x0;_0x127223<0x1e;_0x127223++)try{if(await this[_0x13664a(0x26d)](),this[_0x13664a(0x213)]()){this[_0x13664a(0x16e)](_0x21a798,_0x3b546d),this[_0x13664a(0x13d)]['show']({'content':this[_0x13664a(0x330)]['t'](_0x13664a(0x170)),'type':_0x5db869[_0x13664a(0x2d1)]});return;}await new Promise(_0x4ba601=>{const _0xe4fa3c=_0x13664a;this[_0xe4fa3c(0x2c0)]=window[_0xe4fa3c(0x2a3)](_0x4ba601,0x3e8);});}catch(_0x446bfb){this[_0x13664a(0x1e8)][_0x13664a(0x232)](_0x446bfb);}this['_messageService'][_0x13664a(0x20f)]({'content':this[_0x13664a(0x330)]['t'](_0x13664a(0x224)),'type':_0x5db869[_0x13664a(0x303)]});}[_0x3fd5ef(0x16e)](_0x358665,_0x45a7e6){const _0x6b51dc=_0x3fd5ef;try{this['_commandService']['executeCommand'](_0x358665['id'],_0x358665['params'],_0x45a7e6);}catch(_0x17aed0){this[_0x6b51dc(0x1e8)][_0x6b51dc(0x232)](_0x17aed0);}}[_0x3fd5ef(0x19c)](_0x4a73b5,_0x1daa14){const _0x4fd93f=_0x3fd5ef;_0x1daa14<this[_0x4fd93f(0x2d2)]||(this['_lastResponseTimestamp']=_0x1daa14,this[_0x4fd93f(0x114)]=Number['parseInt'](_0x4a73b5[_0x4fd93f(0x1ae)]),this[_0x4fd93f(0x276)]=Number[_0x4fd93f(0x1c6)](_0x4a73b5[_0x4fd93f(0x352)]));}async[_0x3fd5ef(0x244)](_0x6d028a){const _0x1e0bd7=_0x3fd5ef;var _0x588460,_0x39c6c7;const _0x1f1eb9=Date[_0x1e0bd7(0x129)]();try{const _0xaec0b2=((_0x588460=this['_configService'][_0x1e0bd7(0x257)](_0x3b3566))==null?void 0x0:_0x588460[_0x1e0bd7(0x108)])||Rn,_0x1c8a00=(await this[_0x1e0bd7(0x2e5)][_0x1e0bd7(0x260)](_0xaec0b2,{'body':JSON['stringify']({'taskId':_0x6d028a})}))['body'];if(((_0x39c6c7=_0x1c8a00[_0x1e0bd7(0x232)])==null?void 0x0:_0x39c6c7[_0x1e0bd7(0x302)])!==Z['OK'])return;this[_0x1e0bd7(0x19c)](_0x1c8a00[_0x1e0bd7(0x234)],_0x1f1eb9);}catch(_0x2ec7ad){this[_0x1e0bd7(0x1e8)][_0x1e0bd7(0x232)](_0x2ec7ad);}}async['_getFormulaLimitStatus'](_0x536675){const _0x5b7e39=_0x3fd5ef;var _0x12912f,_0x1c6a9c;const _0x2ef4f5=Date[_0x5b7e39(0x129)]();try{const _0x42d58d=((_0x12912f=this[_0x5b7e39(0x27f)][_0x5b7e39(0x257)](_0x3b3566))==null?void 0x0:_0x12912f[_0x5b7e39(0x121)])||Cn,_0x320685=_0x536675?_0x42d58d+_0x5b7e39(0x289)+encodeURIComponent(_0x536675):_0x42d58d,_0x2ac7ca=(await this['_httpService'][_0x5b7e39(0x295)](_0x320685))['body'];if(((_0x1c6a9c=_0x2ac7ca[_0x5b7e39(0x232)])==null?void 0x0:_0x1c6a9c['code'])!==Z['OK'])return;this['_setFormulaLimitStatus'](_0x2ac7ca[_0x5b7e39(0x234)],_0x2ef4f5);}catch(_0x3e7381){this[_0x5b7e39(0x1e8)]['error'](_0x3e7381);}}async[_0x3fd5ef(0x342)](_0x383cf3){const _0x205020=_0x3fd5ef;var _0x257f8c,_0x769b26;const _0x2f5d54=Date[_0x205020(0x129)]();try{const _0xb725eb=((_0x257f8c=this[_0x205020(0x27f)][_0x205020(0x257)](_0x3b3566))==null?void 0x0:_0x257f8c[_0x205020(0x1fd)])||Dn,_0x56a699=(await this['_httpService'][_0x205020(0x260)](_0xb725eb,{'body':JSON[_0x205020(0x217)]({'taskId':_0x383cf3})}))[_0x205020(0xfe)];if(((_0x769b26=_0x56a699[_0x205020(0x232)])==null?void 0x0:_0x769b26['code'])!==Z['OK'])return;this[_0x205020(0x19c)](_0x56a699[_0x205020(0x234)],_0x2f5d54);}catch(_0x9c9854){this[_0x205020(0x1e8)]['error'](_0x9c9854);}}['_checkCalculationAvailable'](){const _0x43de05=_0x3fd5ef;return this[_0x43de05(0x114)]===0x0?!0x0:this[_0x43de05(0x114)]-this['_currentUsage']>0x0;}[_0x3fd5ef(0x167)](){const _0x1a0450=_0x3fd5ef;this[_0x1a0450(0x2c0)]&&(clearTimeout(this['_pollingInterval']),this[_0x1a0450(0x2c0)]=null);}[_0x3fd5ef(0x2c1)](){const _0x42f1c5=_0x3fd5ef;this[_0x42f1c5(0x13d)][_0x42f1c5(0x20f)]({'content':this[_0x42f1c5(0x330)]['t']('formula.calculation.waiting'),'type':_0x5db869[_0x42f1c5(0x256)]});}[_0x3fd5ef(0x29a)](_0x239477){const _0x40ef34=_0x3fd5ef;for(const _0x24dee5 of _0x239477){const {unitId:_0x43cdff,sheetId:_0x3df06b,range:_0x1f9956}=_0x24dee5,_0x41b449=this[_0x40ef34(0x1a5)]['getUnit'](_0x43cdff);if(!_0x41b449)continue;const _0x196d83=_0x41b449[_0x40ef34(0x1e1)](_0x3df06b);if(!_0x196d83)continue;const _0xa2fd3f=_0x196d83[_0x40ef34(0x2be)]();for(let _0x1270ed=_0x1f9956[_0x40ef34(0x1f7)];_0x1270ed<=_0x1f9956[_0x40ef34(0x186)];_0x1270ed++)for(let _0x5782cb=_0x1f9956[_0x40ef34(0x1d9)];_0x5782cb<=_0x1f9956[_0x40ef34(0x30f)];_0x5782cb++){const _0x4ac4f1=_0xa2fd3f[_0x40ef34(0x328)](_0x1270ed,_0x5782cb);if(_0x4ac4f1&&(_0x535a76(_0x4ac4f1['f'])||_0x415212(_0x4ac4f1['si'])))return!0x0;}}return!0x1;}};Ie=Tn([P(0x0,_0x5be279(_0x968e7c)),P(0x1,_0x52fbf7),P(0x2,_0x35b32a),P(0x3,_0x5be279(_0x35064f)),P(0x4,_0x2ad077),P(0x5,_0x25626e),P(0x6,_0x5be279(_0xf97bb8))],Ie);var Nn=Object['getOwnPropertyDescriptor'],bn=(_0xaf41e,_0x3d468d,_0x478d6c,_0x346376)=>{for(var _0x388bd2=_0x346376>0x1?void 0x0:_0x346376?Nn(_0x3d468d,_0x478d6c):_0x3d468d,_0x367e23=_0xaf41e['length']-0x1,_0xe7f90f;_0x367e23>=0x0;_0x367e23--)(_0xe7f90f=_0xaf41e[_0x367e23])&&(_0x388bd2=_0xe7f90f(_0x388bd2)||_0x388bd2);return _0x388bd2;},Ue=(_0x2e1259,_0x39010d)=>(_0xd0061,_0x39a0b7)=>_0x39010d(_0xd0061,_0x39a0b7,_0x2e1259);let He=class extends _0x4f00b7{constructor(_0x53b2dd,_0x30b472,_0x10381a){const _0x39473c=_0x3fd5ef;super(),_(this,_0x39473c(0x33a),new Map()),_(this,_0x39473c(0x339),new Map()),_(this,_0x39473c(0x1d8),!0x1),(this[_0x39473c(0x27f)]=_0x53b2dd,this['_localStorageService']=_0x30b472,this[_0x39473c(0x1c9)]=_0x10381a);}[_0x3fd5ef(0x30a)](){const _0x2c75fe=_0x3fd5ef;this[_0x2c75fe(0x1d8)]=!0x0;}[_0x3fd5ef(0x159)](){const _0x1a5658=_0x3fd5ef;this[_0x1a5658(0x1d8)]=!0x1;}get['saveTaskMap'](){const _0x3c85bc=_0x3fd5ef;return this[_0x3c85bc(0x339)];}[_0x3fd5ef(0x1f2)](){const _0x2168b9=_0x3fd5ef;this['exhaustSavingTask']()[_0x2168b9(0x154)](()=>super[_0x2168b9(0x1f2)]());}async[_0x3fd5ef(0x179)](_0x5d13fb){const _0x40ece2=_0x3fd5ef;return this[_0x40ece2(0x1d8)]?null:this[_0x40ece2(0x2cc)][_0x40ece2(0x18b)](_0x41c94c(_0x5d13fb));}async[_0x3fd5ef(0x33d)](_0x4435b3,_0x10d837){const _0x14f357=_0x3fd5ef;return!!this[_0x14f357(0x2cc)][_0x14f357(0x15e)](_0x4435b3,_0x10d837);}[_0x3fd5ef(0x21a)](_0x255caa,_0x5cd506,_0x3310e8,_0x1f30d6){const _0x1d47df=_0x3fd5ef,_0x381806=this[_0x1d47df(0x1c9)][_0x1d47df(0x261)](_0x255caa);this['_cachedData'][_0x1d47df(0x190)](_0x255caa,{'unitID':_0x255caa,'type':_0x5cd506,'awaitingChangeset':_0x3310e8,'mutations':_0x1f30d6,'rev':_0x381806}),this[_0x1d47df(0x339)][_0x1d47df(0x143)](_0x255caa)||this['_scheduleSaving'](_0x255caa);}['_scheduleSaving'](_0x551f37){const _0x57477b=_0x3fd5ef,_0xec0bf5=this[_0x57477b(0x230)]();_0xec0bf5===0x0?this[_0x57477b(0x1c5)](_0x551f37):this['_saveTaskMap'][_0x57477b(0x190)](_0x551f37,setTimeout(()=>this['_saveCache'](_0x551f37),_0xec0bf5));}[_0x3fd5ef(0x230)](){const _0x3611a3=_0x3fd5ef;var _0x12ff1a;return(_0x12ff1a=this[_0x3611a3(0x27f)][_0x3611a3(0x257)](_0x3bfdc4))!=null?_0x12ff1a:_0x222c32;}['_saveCache'](_0x687f74){const _0x38923b=_0x3fd5ef,_0x28c747=this[_0x38923b(0x339)][_0x38923b(0x295)](_0x687f74);return _0x28c747!==void 0x0&&window['clearTimeout'](_0x28c747),this[_0x38923b(0x2cc)][_0x38923b(0x15e)](_0x41c94c(_0x687f74),this[_0x38923b(0x33a)][_0x38923b(0x295)](_0x687f74))[_0x38923b(0x154)](()=>this[_0x38923b(0x339)][_0x38923b(0x236)](_0x687f74));}async[_0x3fd5ef(0x11e)](){const _0x2aac36=_0x3fd5ef,_0x4ea163=[];this[_0x2aac36(0x339)]['forEach']((_0x196eb5,_0x563a81)=>{const _0x3a6fab=_0x2aac36;window['clearTimeout'](_0x196eb5),_0x4ea163['push'](this[_0x3a6fab(0x1c5)](_0x563a81)[_0x3a6fab(0x154)](()=>{const _0x2ac147=_0x3a6fab;this['_saveTaskMap'][_0x2ac147(0x236)](_0x563a81);}));}),await Promise['all'](_0x4ea163);}};He=bn([Ue(0x0,_0x35b32a),Ue(0x1,_0x494af5),Ue(0x2,_0x5be279(_0x3c1008))],He);class Ln extends _0x54976c{constructor(){const _0x49d824=_0x3fd5ef;super(),_(this,_0x49d824(0x25f)),this['urlChange$']=_0x22a663(window,_0x49d824(0x2d9))['pipe'](_0x5e42cd(this[_0x49d824(0x203)]),_0x1d7304(0x1),_0x1d3877(void 0x0));}[_0x3fd5ef(0x25c)](_0x3082e2,_0x3649a9,_0x354757=!0x1){const _0x211dab=_0x3fd5ef,_0x4bb908=new URL(window[_0x211dab(0x24a)][_0x211dab(0x157)]);_0x4bb908['searchParams'][_0x211dab(0x190)](_0x3082e2,_0x3649a9),_0x354757?window[_0x211dab(0x341)][_0x211dab(0x30c)]('','',_0x4bb908[_0x211dab(0x31c)]()):window[_0x211dab(0x341)][_0x211dab(0x235)]('','',_0x4bb908[_0x211dab(0x31c)]());}['removeParam'](_0x2a3742,_0x26ec69=!0x1){const _0x3c918d=_0x3fd5ef,_0x124151=new URL(window['location'][_0x3c918d(0x157)]);_0x124151[_0x3c918d(0x10a)][_0x3c918d(0x236)](_0x2a3742),_0x26ec69?window[_0x3c918d(0x341)][_0x3c918d(0x30c)]('','',_0x124151['toString']()):window[_0x3c918d(0x341)][_0x3c918d(0x235)]('','',_0x124151[_0x3c918d(0x31c)]());}['getParam'](_0x4c6990){const _0x7ee2c7=_0x3fd5ef;var _0x45f58c;return(_0x45f58c=new URL(window[_0x7ee2c7(0x24a)][_0x7ee2c7(0x157)])[_0x7ee2c7(0x10a)][_0x7ee2c7(0x295)](_0x4c6990))!=null?_0x45f58c:void 0x0;}}var Un=Object['defineProperty'],Mn=Object[_0x3fd5ef(0x291)],An=(_0x1e605f,_0x1629cd,_0x51fa2d)=>_0x1629cd in _0x1e605f?Un(_0x1e605f,_0x1629cd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51fa2d}):_0x1e605f[_0x1629cd]=_0x51fa2d,Pn=(_0x37fa6a,_0x1f486c,_0xc13c20,_0x2afd58)=>{const _0x2559dc=_0x3fd5ef;for(var _0x483b7f=_0x2afd58>0x1?void 0x0:_0x2afd58?Mn(_0x1f486c,_0xc13c20):_0x1f486c,_0x1f3682=_0x37fa6a[_0x2559dc(0x10c)]-0x1,_0x733c18;_0x1f3682>=0x0;_0x1f3682--)(_0x733c18=_0x37fa6a[_0x1f3682])&&(_0x483b7f=_0x733c18(_0x483b7f)||_0x483b7f);return _0x483b7f;},Me=(_0x1fb239,_0x1b4abb)=>(_0x14a0ff,_0x3971c4)=>_0x1b4abb(_0x14a0ff,_0x3971c4,_0x1fb239),wn=(_0x396e19,_0x248286,_0x3fad6b)=>An(_0x396e19,_0x248286+'',_0x3fad6b);const yn='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';let Ye=class extends _0x28d2ed{constructor(_0x12f65f=_t,_0x3aa4af,_0x2008ff,_0x388726){const _0x1b2f5b=_0x3fd5ef;super(),this[_0x1b2f5b(0x284)]=_0x12f65f,this[_0x1b2f5b(0x2f2)]=_0x3aa4af,this[_0x1b2f5b(0x309)]=_0x2008ff,this[_0x1b2f5b(0x27f)]=_0x388726;const {..._0x4c7248}=_0x3e7f1c({},_t,this[_0x1b2f5b(0x284)]);this[_0x1b2f5b(0x27f)][_0x1b2f5b(0x292)](hn,_0x4c7248);}[_0x3fd5ef(0x2ab)](){const _0x45acd4=_0x3fd5ef;this[_0x45acd4(0x31a)](),this[_0x45acd4(0x2a9)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x495773=_0x3fd5ef;var _0x13e213;const _0x59a8d7=[[Ke],[Ie],[de],[he],[ue],[ze],[yt,{'useClass':Ln}],[_0x2737a6,{'useClass':_0x1e7bcc}],[_0x2d1fcf,{'useClass':He}],[ae],[Se],[_e],[H],[$e],[ce]];this[_0x495773(0x284)][_0x495773(0x18d)]&&_0x59a8d7[_0x495773(0x221)]([le]),_0x28bcb4(this[_0x495773(0x309)],_0x4720d5(_0x59a8d7,(_0x13e213=this[_0x495773(0x284)])==null?void 0x0:_0x13e213[_0x495773(0x280)]));}[_0x3fd5ef(0x27b)](){const _0x5d5582=_0x3fd5ef;this[_0x5d5582(0x346)](this[_0x5d5582(0x2f2)]['registerRenderModule'](_0x1d3b10[_0x5d5582(0x19e)],[Fe])),this['disposeWithMe'](this[_0x5d5582(0x2f2)][_0x5d5582(0x102)](_0x1d3b10[_0x5d5582(0x27e)],[ke]));}[_0x3fd5ef(0x2a9)](){const _0x5536a4=_0x3fd5ef;_0x4626f1(this[_0x5536a4(0x309)],[[H],[ae],[Se],[_e],[ce],[Ie]]),this[_0x5536a4(0x284)]['enableFrontendLog']&&_0x4626f1(this[_0x5536a4(0x309)],[[le]]);}};wn(Ye,'pluginName',yn),Ye=Pn([_0x4fbb73(_0x45f3f2),Me(0x1,_0x19555c),Me(0x2,_0x5be279(_0x4442ad)),Me(0x3,_0x35b32a)],Ye);var $n=Object[_0x3fd5ef(0x291)],xn=(_0x241ce3,_0x14130d,_0x3700c7,_0x233bb0)=>{const _0x2b199b=_0x3fd5ef;for(var _0x26276b=_0x233bb0>0x1?void 0x0:_0x233bb0?$n(_0x14130d,_0x3700c7):_0x14130d,_0x4be451=_0x241ce3[_0x2b199b(0x10c)]-0x1,_0x577a20;_0x4be451>=0x0;_0x4be451--)(_0x577a20=_0x241ce3[_0x4be451])&&(_0x26276b=_0x577a20(_0x26276b)||_0x26276b);return _0x26276b;},J=(_0xf3541e,_0xa5936c)=>(_0x539319,_0x50169f)=>_0xa5936c(_0x539319,_0x50169f,_0xf3541e);let ut=class extends _0x108e7d{constructor(_0x222d3d,_0x313cac,_0x28075d,_0x1fda28,_0xe44236){super(_0x222d3d,_0x313cac,_0x28075d,_0x1fda28,_0xe44236);}async['createSocket'](_0x2c054b){const _0x234702=_0x3fd5ef,_0x238583=await this[_0x234702(0x348)](),_0x5ba396=this[_0x234702(0x332)](_0x2c054b,_0x238583);return this[_0x234702(0x138)](_0x5ba396);}[_0x3fd5ef(0x332)](_0x477010,_0x21c398){const _0x121a8b=_0x3fd5ef,_0x469fef=typeof window>'u'?new URL(_0x477010):new URL(_0x477010,window[_0x121a8b(0x24a)][_0x121a8b(0x10e)]);_0x469fef['searchParams'][_0x121a8b(0x190)](_0x121a8b(0x1d6),_0x21c398);const _0x2f1875=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x121a8b(0x24a)][_0x121a8b(0x1b2)]);return _0x2f1875['get'](_0x121a8b(0x141))&&_0x469fef['searchParams']['set'](_0x121a8b(0x141),_0x2f1875[_0x121a8b(0x295)]('runId')),_0x469fef[_0x121a8b(0x31c)]();}async[_0x3fd5ef(0x348)](){const _0x28d217=_0x3fd5ef;var _0x1a8053,_0x43f404,_0x281035;const _0x4c00c9=this['_configService'][_0x28d217(0x257)](_0x3b3566),_0x48699c=(_0x1a8053=_0x4c00c9==null?void 0x0:_0x4c00c9[_0x28d217(0x1cd)])!=null?_0x1a8053:_0xbe5095;return(_0x281035=(_0x43f404=(await this[_0x28d217(0x2e5)][_0x28d217(0x295)](_0x48699c,{'headers':{'Content-Type':'application/json'}}))[_0x28d217(0xfe)])==null?void 0x0:_0x43f404[_0x28d217(0x19a)])!=null?_0x281035:'';}};ut=xn([J(0x0,_0x5be279(_0x4442ad)),J(0x1,_0x5be279(_0x35064f)),J(0x2,_0x35b32a),J(0x3,_0x25626e),J(0x4,_0x20bd4a)],ut);var Bn=Object[_0x3fd5ef(0x291)],Fn=(_0x5d7fb4,_0x4d4a4e,_0x33c39e,_0xcdf7a2)=>{const _0x4603ee=_0x3fd5ef;for(var _0x57a063=_0xcdf7a2>0x1?void 0x0:_0xcdf7a2?Bn(_0x4d4a4e,_0x33c39e):_0x4d4a4e,_0x510e22=_0x5d7fb4[_0x4603ee(0x10c)]-0x1,_0x2cdf17;_0x510e22>=0x0;_0x510e22--)(_0x2cdf17=_0x5d7fb4[_0x510e22])&&(_0x57a063=_0x2cdf17(_0x57a063)||_0x57a063);return _0x57a063;},Ae=(_0x267621,_0x3dbb8b)=>(_0x5f1b9c,_0x463220)=>_0x3dbb8b(_0x5f1b9c,_0x463220,_0x267621);let dt=class extends _0x4f00b7{constructor(_0x2fb3ac,_0x2b8853,_0x31cb9e){const _0x54c03f=_0x3fd5ef;super(),this[_0x54c03f(0x1f0)]=_0x2fb3ac,this[_0x54c03f(0x2e5)]=_0x2b8853,this[_0x54c03f(0x27f)]=_0x31cb9e;}async[_0x3fd5ef(0x11c)](_0x3a98e4,_0x2d5190,_0x12c35e,..._0x2d107d){const _0x518d25=_0x3fd5ef;var _0xbd33ca,_0x147bba,_0x2a2adb,_0x1bbe19;const _0x5ac90d=this[_0x518d25(0x1f0)][_0x518d25(0x311)]();if(!_0x5ac90d)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1b0ca2=((_0xbd33ca=this[_0x518d25(0x27f)][_0x518d25(0x257)](_0x3dc8dc))!=null?_0xbd33ca:_0x39e636)+'/'+_0x3a98e4+_0x518d25(0x197)+_0x2d5190,_0x5e62a4=new URL(window[_0x518d25(0x24a)][_0x518d25(0x157)]),_0x117dd0={'scriptId':_0x3a98e4,'runId':(_0x147bba=_0x5e62a4[_0x518d25(0x10a)][_0x518d25(0x295)](_0x518d25(0x141)))!=null?_0x147bba:'','function':_0x2d5190,'unitId':_0x5ac90d['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x2d107d),'invokeId':(_0x2a2adb=_0x12c35e['invokeId'])!=null?_0x2a2adb:'','executionId':(_0x1bbe19=_0x12c35e[_0x518d25(0x27c)])!=null?_0x1bbe19:''};try{const _0x1b8e01=await this[_0x518d25(0x2e5)][_0x518d25(0x260)](_0x1b0ca2,{'body':_0x117dd0});return _0x1b8e01[_0x518d25(0xfe)][_0x518d25(0x232)]&&_0x1b8e01[_0x518d25(0xfe)][_0x518d25(0x232)][_0x518d25(0x302)]!==Z['OK']?_0x518d25(0x187):_0x1b8e01['body']['result'];}catch{return _0x518d25(0x187);}}};dt=Fn([Ae(0x0,_0x2ad077),Ae(0x1,_0x5be279(_0x35064f)),Ae(0x2,_0x35b32a)],dt);const St=0x7530,It=_0x3fd5ef(0x21b);class rr extends _0x4f00b7{constructor(){const _0x4ad7a5=_0x3fd5ef;super(),_(this,_0x4ad7a5(0x300),_0xba23d8()),_(this,_0x4ad7a5(0x306),new Set()),_(this,'_unitOnClients',new Map()),_(this,'_heartbeatTimer',null),_(this,_0x4ad7a5(0x188),new Map()),_(this,_0x4ad7a5(0x22f),new Map()),this[_0x4ad7a5(0x333)]();}[_0x3fd5ef(0x1f2)](){const _0x45a5c7=_0x3fd5ef;super['dispose'](),this['_clearOtherTimers'][_0x45a5c7(0x2dc)]((_0x38ddca,_0x579dac)=>this[_0x45a5c7(0x315)](_0x579dac)),this[_0x45a5c7(0x14d)]&&window['clearInterval'](this[_0x45a5c7(0x14d)]);}[_0x3fd5ef(0x278)](_0x55147f){return this['_ensureSubject'](_0x55147f)['pipe'](_0x2ed732());}[_0x3fd5ef(0x2a1)](_0x124ce1){const _0x46a150=_0x3fd5ef;this['_selfUnitIDs'][_0x46a150(0x22a)]===0x0&&this[_0x46a150(0x153)](),this[_0x46a150(0x306)][_0x46a150(0x166)](_0x124ce1),this[_0x46a150(0x354)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x124ce1],'isForwarded':!0x1});}[_0x3fd5ef(0x2d6)](_0x216d2a){const _0x475a19=_0x3fd5ef;this[_0x475a19(0x306)][_0x475a19(0x236)](_0x216d2a),this[_0x475a19(0x306)]['size']===0x0&&this[_0x475a19(0x14d)]&&window[_0x475a19(0x1c1)](this[_0x475a19(0x14d)]);}[_0x3fd5ef(0x333)](){const _0x420497=_0x3fd5ef;this[_0x420497(0x346)](_0x2e8f72(_0x22a663(window,_0x420497(0x18f))[_0x420497(0xf9)](_0x4fd073=>{const _0xda49c2=_0x420497;if(_0x4fd073[_0xda49c2(0x12a)]!==It||!_0x4fd073['newValue'])return;const _0x3f81df=JSON['parse'](_0x4fd073[_0xda49c2(0x290)]);this[_0xda49c2(0x115)](_0x3f81df);}))),window[_0x420497(0x184)](_0x420497(0x331),()=>this[_0x420497(0x354)]({'type':0x1,'memberID':this[_0x420497(0x300)],'unitIDs':Array[_0x420497(0x136)](this[_0x420497(0x306)])}));}[_0x3fd5ef(0x115)](_0xd44c04){const _0x41a93f=_0x3fd5ef;switch(_0xd44c04['type']){case 0x0:this[_0x41a93f(0x2ff)](_0xd44c04);break;case 0x1:this[_0x41a93f(0x293)](_0xd44c04);break;case 0x2:this[_0x41a93f(0x1df)](_0xd44c04);break;}}[_0x3fd5ef(0x2ff)](_0x4f5448){const _0x4a7cd5=_0x3fd5ef,{unitIDs:_0x497d36,memberID:_0x5529c6,isForwarded:_0x2d1cdc}=_0x4f5448;_0x497d36[_0x4a7cd5(0x2dc)](_0x188dce=>{const _0x1ace6d=_0x4a7cd5;if(!_0x2d1cdc&&this[_0x1ace6d(0x133)][_0x1ace6d(0x143)](_0x188dce)&&this['_ensureSubject'](_0x188dce)[_0x1ace6d(0x192)](_0x608ac7[_0x1ace6d(0x183)]),!this[_0x1ace6d(0x133)][_0x1ace6d(0x143)](_0x188dce)||!this[_0x1ace6d(0x133)]['get'](_0x188dce)['has'](_0x5529c6)){const _0x5851f4=this[_0x1ace6d(0x133)][_0x1ace6d(0x295)](_0x188dce)||new Set();_0x5851f4[_0x1ace6d(0x166)](_0x5529c6),this[_0x1ace6d(0x133)][_0x1ace6d(0x190)](_0x188dce,_0x5851f4),this[_0x1ace6d(0x12f)](_0x5529c6);}}),_0x2d1cdc||this['_send']({'type':0x0,'memberID':this[_0x4a7cd5(0x300)],'unitIDs':[...this[_0x4a7cd5(0x306)]],'isForwarded':!0x0});}[_0x3fd5ef(0x12f)](_0x4dc07d){const _0x4e334b=_0x3fd5ef;this[_0x4e334b(0x315)](_0x4dc07d);const _0x29e47c=window['setTimeout'](()=>{const _0x554eec=_0x4e334b;this['_unitOnClients'][_0x554eec(0x2dc)](_0x4a097a=>{const _0x3849b5=_0x554eec;_0x4a097a[_0x3849b5(0x236)](_0x4dc07d);});},St*0x2);this['_clearOtherTimers'][_0x4e334b(0x190)](_0x4dc07d,_0x29e47c);}['_removeClearOtherTimer'](_0x387e05){const _0x662c61=_0x3fd5ef;if(this['_clearOtherTimers'][_0x662c61(0x143)](_0x387e05)){const _0x41bd54=this[_0x662c61(0x188)][_0x662c61(0x295)](_0x387e05);_0x41bd54&&window['clearTimeout'](_0x41bd54),this[_0x662c61(0x188)][_0x662c61(0x190)](_0x387e05,null);}}[_0x3fd5ef(0x293)](_0x46a8f4){const _0x2e41da=_0x3fd5ef,{memberID:_0x454005,unitIDs:_0x88eb50}=_0x46a8f4;_0x88eb50[_0x2e41da(0x2dc)](_0x8fc30d=>{const _0x126d5f=_0x2e41da;var _0x1194bb;const _0x4eb1c3=this['_unitOnClients'][_0x126d5f(0x295)](_0x8fc30d);_0x4eb1c3&&(_0x4eb1c3[_0x126d5f(0x236)](_0x454005),(_0x1194bb=this[_0x126d5f(0x2b4)](_0x8fc30d))==null||_0x1194bb[_0x126d5f(0x192)](_0x4eb1c3['size']===0x0?_0x608ac7[_0x126d5f(0x26f)]:_0x608ac7[_0x126d5f(0x183)]));}),this[_0x2e41da(0x315)](_0x454005);}['_handleHeartbeatEvent'](_0x426edb){const _0x3c3cf3=_0x3fd5ef;this[_0x3c3cf3(0x12f)](_0x426edb[_0x3c3cf3(0x322)]);}['_send'](_0x3e75cd){localStorage['setItem'](It,JSON['stringify'](_0x3e75cd));}['_scheduleHeartbeat'](){const _0x580191=_0x3fd5ef;this['_heartbeatTimer']=window[_0x580191(0x14e)](()=>{const _0x54416b=_0x580191;this[_0x54416b(0x354)]({'type':0x2,'memberID':this['_id']});},St);}[_0x3fd5ef(0x2b4)](_0x269165){const _0x18cd43=_0x3fd5ef;return this[_0x18cd43(0x22f)][_0x18cd43(0x143)](_0x269165)||this['_unitStatus'][_0x18cd43(0x190)](_0x269165,new _0x35a309(_0x608ac7[_0x18cd43(0x26f)])),this['_unitStatus']['get'](_0x269165);}}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};