@univerjs-pro/collaboration-client-ui 0.12.3-experimental.20251205-e439e48 → 0.12.3-experimental.20251205-71d07c3

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/cjs/index.js CHANGED
@@ -1 +1 @@
1
- 'use strict';const _0x537ad4=_0x1db4;(function(_0x2577ea,_0x18abd6){const _0x19386d=_0x1db4,_0x31a26f=_0x2577ea();while(!![]){try{const _0x21d929=-parseInt(_0x19386d(0x3ca))/0x1*(-parseInt(_0x19386d(0x206))/0x2)+-parseInt(_0x19386d(0x1d2))/0x3*(parseInt(_0x19386d(0x2cc))/0x4)+-parseInt(_0x19386d(0x40d))/0x5*(-parseInt(_0x19386d(0x210))/0x6)+parseInt(_0x19386d(0x20a))/0x7+-parseInt(_0x19386d(0x364))/0x8+-parseInt(_0x19386d(0x24e))/0x9*(-parseInt(_0x19386d(0x1e6))/0xa)+-parseInt(_0x19386d(0x408))/0xb;if(_0x21d929===_0x18abd6)break;else _0x31a26f['push'](_0x31a26f['shift']());}catch(_0x36ea45){_0x31a26f['push'](_0x31a26f['shift']());}}}(_0x3264,0xc79fd));var Xe=Object[_0x537ad4(0x19b)],Ke=(_0x1e28dc,_0x28f2fc,_0x5a2b0e)=>_0x28f2fc in _0x1e28dc?Xe(_0x1e28dc,_0x28f2fc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a2b0e}):_0x1e28dc[_0x28f2fc]=_0x5a2b0e,_=(_0x18150e,_0x135f37,_0x28f9bf)=>Ke(_0x18150e,typeof _0x135f37!=_0x537ad4(0x3dc)?_0x135f37+'':_0x135f37,_0x28f9bf);Object[_0x537ad4(0x19b)](exports,Symbol[_0x537ad4(0x293)],{'value':'Module'});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),p=require('@univerjs/design'),A=require('react'),qe=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),x=require('@univerjs/network'),T=require('@univerjs/docs-ui'),ze=require('@univerjs/drawing'),g=require('@univerjs-pro/collaboration'),V=require('@univerjs/docs'),B=require('@univerjs/engine-formula'),$=require('rxjs/operators'),J=require('@univerjs/sheets-ui');function pe({ref:_0x4f794f,..._0x2a773c}){const _0x35f357=_0x537ad4,{icon:_0x140fd7,id:_0x2f67b7,className:_0x147e48,extend:_0x12b556,..._0x4d4a83}=_0x2a773c,_0x9aa7e2=(_0x35f357(0x314)+_0x2f67b7+'\x20'+(_0x147e48||''))[_0x35f357(0x3ec)](),_0x204b78=A[_0x35f357(0x360)]('_'+Qe());return $e(_0x140fd7,''+_0x2f67b7,{'defIds':_0x140fd7[_0x35f357(0x26c)],'idSuffix':_0x204b78[_0x35f357(0x388)]},{'ref':_0x4f794f,'className':_0x9aa7e2,..._0x4d4a83},_0x12b556);}function $e(_0x26f940,_0xb4e66f,_0x5e6b8c,_0xec70a5,_0x46c6b7){const _0x2900f9=_0x537ad4;return A[_0x2900f9(0x1bc)](_0x26f940[_0x2900f9(0x2b1)],{'key':_0xb4e66f,...Je(_0x26f940,_0x5e6b8c,_0x46c6b7),..._0xec70a5},(Ze(_0x26f940,_0x5e6b8c)[_0x2900f9(0x194)]||[])[_0x2900f9(0x264)]((_0x2e7a0d,_0x4f0b28)=>$e(_0x2e7a0d,_0xb4e66f+'-'+_0x26f940[_0x2900f9(0x2b1)]+'-'+_0x4f0b28,_0x5e6b8c,void 0x0,_0x46c6b7)));}function Je(_0x4a655a,_0x4d19e0,_0x152981){const _0x4dc082=_0x537ad4,_0x561bf9={..._0x4a655a[_0x4dc082(0x316)]};_0x152981!=null&&_0x152981[_0x4dc082(0x2b0)]&&_0x561bf9[_0x4dc082(0x1fb)]===_0x4dc082(0x2b0)&&(_0x561bf9[_0x4dc082(0x1fb)]=_0x152981[_0x4dc082(0x2b0)]),_0x4a655a[_0x4dc082(0x2b1)]===_0x4dc082(0x2b6)&&_0x561bf9['id']&&(_0x561bf9['id']=_0x561bf9['id']+_0x4d19e0[_0x4dc082(0x3de)]),Object[_0x4dc082(0x3f5)](_0x561bf9)[_0x4dc082(0x339)](([_0x5326c6,_0x17b7f2])=>{const _0x57c585=_0x4dc082;_0x5326c6===_0x57c585(0x2b6)&&typeof _0x17b7f2==_0x57c585(0x3b4)&&(_0x561bf9[_0x5326c6]=_0x17b7f2[_0x57c585(0x179)](/url\(#(.*)\)/,_0x57c585(0x3e6)+_0x4d19e0['idSuffix']+')'));});const {defIds:_0x38ecd5}=_0x4d19e0;return!_0x38ecd5||_0x38ecd5[_0x4dc082(0x342)]===0x0||(_0x4a655a[_0x4dc082(0x2b1)]===_0x4dc082(0x298)&&_0x561bf9[_0x4dc082(0x219)]&&(_0x561bf9['xlink:href']=_0x561bf9['xlink:href']+_0x4d19e0['idSuffix']),Object[_0x4dc082(0x3f5)](_0x561bf9)[_0x4dc082(0x339)](([_0x1a0367,_0x595af4])=>{const _0x1ff39a=_0x4dc082;typeof _0x595af4==_0x1ff39a(0x3b4)&&(_0x561bf9[_0x1a0367]=_0x595af4[_0x1ff39a(0x179)](/url\(#(.*)\)/,'url(#$1'+_0x4d19e0[_0x1ff39a(0x3de)]+')'));})),_0x561bf9;}function Ze(_0x3f8e3e,_0x43aff6){const _0x3f3b6b=_0x537ad4;var _0x201694;const {defIds:_0x47242d}=_0x43aff6;return!_0x47242d||_0x47242d[_0x3f3b6b(0x342)]===0x0?_0x3f8e3e:_0x3f8e3e[_0x3f3b6b(0x2b1)]===_0x3f3b6b(0x17e)&&((_0x201694=_0x3f8e3e[_0x3f3b6b(0x194)])!=null&&_0x201694[_0x3f3b6b(0x342)])?{..._0x3f8e3e,'children':_0x3f8e3e[_0x3f3b6b(0x194)][_0x3f3b6b(0x264)](_0xc42e56=>typeof _0xc42e56[_0x3f3b6b(0x316)]['id']==_0x3f3b6b(0x3b4)&&_0x47242d&&_0x47242d[_0x3f3b6b(0x240)](_0xc42e56[_0x3f3b6b(0x316)]['id'])?{..._0xc42e56,'attrs':{..._0xc42e56['attrs'],'id':_0xc42e56[_0x3f3b6b(0x316)]['id']+_0x43aff6['idSuffix']}}:_0xc42e56)}:_0x3f8e3e;}function Qe(){const _0x5139d8=_0x537ad4;return Math['random']()[_0x5139d8(0x3f7)](0x24)['substring'](0x2,0x8);}pe[_0x537ad4(0x2df)]=_0x537ad4(0x3c2);const et={'tag':'svg','attrs':{'xmlns':_0x537ad4(0x384),'fill':'none','viewBox':_0x537ad4(0x192),'width':_0x537ad4(0x2d5),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x537ad4(0x371)},'children':[{'tag':_0x537ad4(0x20f),'attrs':{'stroke':_0x537ad4(0x1c0),'d':_0x537ad4(0x2ee),'strokeLinecap':_0x537ad4(0x38b),'strokeLinejoin':_0x537ad4(0x38b),'strokeWidth':1.2}}]},{'tag':_0x537ad4(0x17e),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x537ad4(0x3a4)},'children':[{'tag':_0x537ad4(0x20f),'attrs':{'fill':_0x537ad4(0x209),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},xe=A[_0x537ad4(0x3f0)](function(_0x544e2a,_0x1cf882){const _0x59aac5=_0x537ad4;return A[_0x59aac5(0x1bc)](pe,Object[_0x59aac5(0x21a)]({},_0x544e2a,{'id':'off-line-icon','ref':_0x1cf882,'icon':et}));});xe[_0x537ad4(0x2df)]=_0x537ad4(0x307);const tt={'tag':'svg','attrs':{'xmlns':_0x537ad4(0x384),'fill':_0x537ad4(0x36d),'viewBox':'0\x200\x2017\x2016','width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x537ad4(0x336),'strokeLinecap':_0x537ad4(0x38b),'strokeLinejoin':_0x537ad4(0x38b),'strokeWidth':1.2}}]},{'tag':_0x537ad4(0x17e),'attrs':{},'children':[{'tag':_0x537ad4(0x2bb),'attrs':{'id':_0x537ad4(0x3d7)},'children':[{'tag':_0x537ad4(0x20f),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x537ad4(0x3d7)]},Be=A[_0x537ad4(0x3f0)](function(_0x400d08,_0x3a0a22){const _0x53579c=_0x537ad4;return A[_0x53579c(0x1bc)](pe,Object[_0x53579c(0x21a)]({},_0x400d08,{'id':_0x53579c(0x22d),'ref':_0x3a0a22,'icon':tt}));});Be[_0x537ad4(0x2df)]='OnLineIcon';function st(_0x1b23bb){const _0x4b566f=_0x537ad4;switch(_0x1b23bb){case u[_0x4b566f(0x323)]['OFFLINE']:return _0x4b566f(0x28c);case u['CollaborationStatus'][_0x4b566f(0x257)]:return'collabStatus.conflict';case u[_0x4b566f(0x323)]['FETCH_MISS']:return _0x4b566f(0x1c3);case u[_0x4b566f(0x323)][_0x4b566f(0x379)]:return'collabStatus.notCollab';case u['CollaborationStatus']['AWAITING']:case u[_0x4b566f(0x323)][_0x4b566f(0x203)]:return _0x4b566f(0x3e8);case u[_0x4b566f(0x323)][_0x4b566f(0x350)]:case u[_0x4b566f(0x323)][_0x4b566f(0x1a6)]:return _0x4b566f(0x2c8);}}function it(_0x5df4f6){const _0x416636=_0x537ad4,{status$:_0x450acb}=_0x5df4f6,_0x443b94=O[_0x416636(0x3a2)](_0x450acb,u[_0x416636(0x323)]['NOT_COLLAB']),_0x119678=O['useDependency'](a[_0x416636(0x1d6)]),_0x36e7fe=O[_0x416636(0x1b9)](u['CollaborationSessionService']),_0xc87621=_0x443b94!==u[_0x416636(0x323)]['OFFLINE'],_0x258df0=_0x119678['t'](st(_0x443b94)),_0x190929=_0xc87621?M[_0x416636(0x38e)](Be,{}):M[_0x416636(0x38e)](xe,{}),_0x461c71=A[_0x416636(0x1fd)](()=>{const _0x35ab1e=_0x416636;_0xc87621||_0x36e7fe[_0x35ab1e(0x195)]();},[_0xc87621,_0x36e7fe]);function _0xa9b2d1(){const _0x3113c9=_0x416636;return M['jsxs'](_0x3113c9(0x252),{'className':_0x3113c9(0x3b5),'onClick':_0x461c71,'children':[M[_0x3113c9(0x38e)](_0x3113c9(0x252),{'className':p[_0x3113c9(0x1a2)](_0x3113c9(0x39b),{'univer-text-green-500':_0xc87621,'univer-text-red-500':!_0xc87621}),'children':_0x190929}),M[_0x3113c9(0x38e)]('div',{'className':_0x3113c9(0x23d),'children':_0x258df0})]});}return _0xc87621?_0xa9b2d1():M[_0x416636(0x38e)](p[_0x416636(0x2ef)],{'title':_0x119678['t'](_0x416636(0x163)),'children':_0xa9b2d1()});}var nt=Object['getOwnPropertyDescriptor'],rt=(_0x2c867a,_0x2febe3,_0x20dca5,_0x382eb6)=>{const _0x54ef4a=_0x537ad4;for(var _0x4da076=_0x382eb6>0x1?void 0x0:_0x382eb6?nt(_0x2febe3,_0x20dca5):_0x2febe3,_0x1d7806=_0x2c867a[_0x54ef4a(0x342)]-0x1,_0x5bd3a8;_0x1d7806>=0x0;_0x1d7806--)(_0x5bd3a8=_0x2c867a[_0x1d7806])&&(_0x4da076=_0x5bd3a8(_0x4da076)||_0x4da076);return _0x4da076;},K=(_0x4e11f2,_0x22453e)=>(_0x58d899,_0x46e6ff)=>_0x22453e(_0x58d899,_0x46e6ff,_0x4e11f2);exports[_0x537ad4(0x35b)]=class extends a[_0x537ad4(0x26b)]{constructor(_0x1c3e25,_0x37a179,_0x435bbb,_0x482f03){const _0x4e00e5=_0x537ad4;super(),_(this,'_status$',new I['BehaviorSubject'](u[_0x4e00e5(0x323)][_0x4e00e5(0x379)])),(this[_0x4e00e5(0x2a4)]=_0x1c3e25,this['_injector']=_0x37a179,this[_0x4e00e5(0x3df)]=_0x435bbb,this['_uiPartsService']=_0x482f03,this[_0x4e00e5(0x42f)](),this[_0x4e00e5(0x31e)]());}[_0x537ad4(0x31e)](){const _0x38f07d=_0x537ad4;this[_0x38f07d(0x1b3)](this[_0x38f07d(0x2a4)][_0x38f07d(0x21d)]['pipe'](I['switchMap'](()=>{const _0x4bcfdf=_0x38f07d,_0x3e76dd=this[_0x4bcfdf(0x2a4)][_0x4bcfdf(0x326)]();return _0x3e76dd?this[_0x4bcfdf(0x3df)][_0x4bcfdf(0x256)](_0x3e76dd[_0x4bcfdf(0x3eb)]()):I['of'](null);}),I[_0x38f07d(0x34c)](_0x4f0c28=>_0x4f0c28?_0x4f0c28[_0x38f07d(0x18a)]:I['of'](u[_0x38f07d(0x323)][_0x38f07d(0x379)])))['subscribe'](_0x35e062=>{const _0x3cd7b6=_0x38f07d;this[_0x3cd7b6(0x190)][_0x3cd7b6(0x29d)](_0x35e062);}));}['_initStatusComponent'](){const _0x4eabf0=_0x537ad4;this[_0x4eabf0(0x1b3)](this[_0x4eabf0(0x3c0)][_0x4eabf0(0x28f)](O['BuiltInUIPart'][_0x4eabf0(0x422)],()=>O[_0x4eabf0(0x286)](ot({'status$':this[_0x4eabf0(0x190)]['asObservable']()}),this[_0x4eabf0(0x3cf)])));}},exports[_0x537ad4(0x35b)]=rt([K(0x0,a[_0x537ad4(0x16b)]),K(0x1,a['Inject'](a[_0x537ad4(0x3cd)])),K(0x2,a[_0x537ad4(0x405)](u[_0x537ad4(0x260)])),K(0x3,O[_0x537ad4(0x392)])],exports['DesktopCollaborationStatusDisplayController']);function ot(_0x38c4ea){const {status$:_0x4715ad}=_0x38c4ea;return function(){return M['jsx'](it,{'status$':_0x4715ad});};}const Oe=a['createIdentifier'](_0x537ad4(0x1b1));var at=Object['getOwnPropertyDescriptor'],ct=(_0xf011f1,_0x1596dd,_0x47e6c2,_0x2d16e6)=>{for(var _0x4e3f99=_0x2d16e6>0x1?void 0x0:_0x2d16e6?at(_0x1596dd,_0x47e6c2):_0x1596dd,_0x2a0871=_0xf011f1['length']-0x1,_0x17d1ab;_0x2a0871>=0x0;_0x2a0871--)(_0x17d1ab=_0xf011f1[_0x2a0871])&&(_0x4e3f99=_0x17d1ab(_0x4e3f99)||_0x4e3f99);return _0x4e3f99;},Y=(_0x161d67,_0x1d1adf)=>(_0x92e24a,_0x284c46)=>_0x1d1adf(_0x92e24a,_0x284c46,_0x161d67);exports['CollaborationDataLoaderController']=class extends a['RxDisposable']{constructor(_0xcd8fe6,_0x59a4a0,_0x9cc9c,_0x310019,_0x4a5424){const _0x3240df=_0x537ad4;super(),this[_0x3240df(0x1f7)]=_0xcd8fe6,this[_0x3240df(0x27c)]=_0x59a4a0,this[_0x3240df(0x1af)]=_0x9cc9c,this[_0x3240df(0x1f9)]=_0x310019,_0x4a5424?_0x4a5424==null||_0x4a5424[_0x3240df(0x2b5)]()['then'](()=>this[_0x3240df(0x2fc)]()):(this[_0x3240df(0x27c)]['debug'](_0x3240df(0x191),_0x3240df(0x330)),this['_init']());}async[_0x537ad4(0x2fc)](){const _0x1c5eb6=_0x537ad4,_0xae03c9=this['_urlService'][_0x1c5eb6(0x343)]('unit'),_0x28bf99=this['_urlService'][_0x1c5eb6(0x343)](_0x1c5eb6(0x361)),_0xccd696=this['_urlService'][_0x1c5eb6(0x343)](_0x1c5eb6(0x280));if(!_0xae03c9||!_0x28bf99){this[_0x1c5eb6(0x27c)][_0x1c5eb6(0x35d)](_0x1c5eb6(0x191),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x50cd87=await this[_0x1c5eb6(0x1f9)][_0x1c5eb6(0x32a)](_0xae03c9,Number(_0x28bf99),_0xccd696);_0x50cd87&&_0x50cd87 instanceof a[_0x1c5eb6(0x2e1)]&&this['_setupSubUnitSync'](_0x50cd87);}async[_0x537ad4(0x2f4)](_0x4dd613){const _0x53e0cf=_0x537ad4;await this[_0x53e0cf(0x3b2)](_0x4dd613),_0x4dd613[_0x53e0cf(0x1db)]['pipe'](I[_0x53e0cf(0x2e9)](this[_0x53e0cf(0x3fe)]))[_0x53e0cf(0x33f)](_0x198301=>{const _0x14153e=_0x53e0cf;_0x198301&&this[_0x14153e(0x1ed)](_0x198301);}),this[_0x53e0cf(0x1f7)][_0x53e0cf(0x173)][_0x53e0cf(0x3d5)](I[_0x53e0cf(0x2e9)](this['dispose$']))['subscribe'](()=>this[_0x53e0cf(0x3b2)](_0x4dd613));}[_0x537ad4(0x1ed)](_0x47cb1d,_0x4f4f5f=!0x1){const _0x12ee7d=_0x537ad4,_0x3bcc6b=this[_0x12ee7d(0x1f7)][_0x12ee7d(0x343)](_0x12ee7d(0x280));_0x47cb1d[_0x12ee7d(0x1f4)]()!==_0x3bcc6b&&this[_0x12ee7d(0x1f7)][_0x12ee7d(0x32f)](_0x12ee7d(0x280),_0x47cb1d['getSheetId'](),_0x4f4f5f);}async['_updateSubUnitFromURLParams'](_0x355948){const _0x26bac8=_0x537ad4;var _0x15f923;const _0x34c300=this['_urlService']['getParam']('subunit');if(!_0x34c300||!_0x355948[_0x26bac8(0x2ab)](_0x34c300)){const _0x5e5531=_0x355948[_0x26bac8(0x3f3)]()[0x0],_0x44e039=_0x355948[_0x26bac8(0x2ab)](_0x5e5531);if(!_0x44e039)return;this[_0x26bac8(0x1ed)](_0x44e039,!0x0),await this[_0x26bac8(0x1af)][_0x26bac8(0x277)](v[_0x26bac8(0x18f)]['id'],{'unitId':_0x355948[_0x26bac8(0x3eb)](),'subUnitId':_0x5e5531});return;}((_0x15f923=_0x355948[_0x26bac8(0x324)]())==null?void 0x0:_0x15f923[_0x26bac8(0x1f4)]())!==_0x34c300&&await this['_commandService']['executeCommand'](v[_0x26bac8(0x18f)]['id'],{'unitId':_0x355948[_0x26bac8(0x3eb)](),'subUnitId':_0x34c300});}},exports[_0x537ad4(0x354)]=ct([Y(0x0,Oe),Y(0x1,a[_0x537ad4(0x423)]),Y(0x2,a[_0x537ad4(0x243)]),Y(0x3,a[_0x537ad4(0x405)](u[_0x537ad4(0x278)])),Y(0x4,a[_0x537ad4(0x2f1)](qe[_0x537ad4(0x3c4)]))],exports[_0x537ad4(0x354)]);var lt=Object[_0x537ad4(0x1eb)],_t=(_0x34b592,_0x4eb54d,_0x28dab1,_0x49f010)=>{const _0x49d2e6=_0x537ad4;for(var _0x52011b=_0x49f010>0x1?void 0x0:_0x49f010?lt(_0x4eb54d,_0x28dab1):_0x4eb54d,_0x4d56a1=_0x34b592[_0x49d2e6(0x342)]-0x1,_0x33926b;_0x4d56a1>=0x0;_0x4d56a1--)(_0x33926b=_0x34b592[_0x4d56a1])&&(_0x52011b=_0x33926b(_0x52011b)||_0x52011b);return _0x52011b;},De=(_0x323ca3,_0x5a8ced)=>(_0x3852e8,_0x314435)=>_0x5a8ced(_0x3852e8,_0x314435,_0x323ca3);let me=class extends a[_0x537ad4(0x358)]{constructor(_0x2cd55f,_0x5ec0b7){const _0xfee36f=_0x537ad4;super(),this[_0xfee36f(0x1d0)]=_0x2cd55f,this['_imageIoService']=_0x5ec0b7,this[_0xfee36f(0x2fc)]();}[_0x537ad4(0x2fc)](){const _0x4b6f06=_0x537ad4,_0x288b7e=this;this[_0x4b6f06(0x1b3)](this[_0x4b6f06(0x1d0)]['addClipboardHook']({'onBeforePasteImage':async _0x55ea6d=>{const _0x5187ed=_0x4b6f06,_0x3d3e36=await _0x288b7e['_imageIoService'][_0x5187ed(0x2ae)](_0x55ea6d);return _0x3d3e36?{'source':_0x3d3e36[_0x5187ed(0x297)],'imageSourceType':_0x3d3e36[_0x5187ed(0x1bf)]}:null;}}));}};me=_t([De(0x0,T['IDocClipboardService']),De(0x1,ze[_0x537ad4(0x380)])],me);const Ne=[_0x537ad4(0x3ce),_0x537ad4(0x2c0),'green.600',_0x537ad4(0x34e),_0x537ad4(0x288),_0x537ad4(0x220)];class Re extends a[_0x537ad4(0x26b)]{constructor(){const _0x4a1839=_0x537ad4;super(...arguments),_(this,_0x4a1839(0x2d8),new Map()),_(this,_0x4a1839(0x223),0x0);}[_0x537ad4(0x41c)](_0xccbc9c){const _0x65873c=_0x537ad4;if(this[_0x65873c(0x2d8)][_0x65873c(0x207)](_0xccbc9c))return this[_0x65873c(0x2d8)][_0x65873c(0x267)](_0xccbc9c);const _0x4dd969=Ne[this[_0x65873c(0x223)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%Ne['length'],this[_0x65873c(0x2d8)]['set'](_0xccbc9c,_0x4dd969),_0x4dd969;}}function Fe(_0x548193){let _0x26149b='';for(const _0x1bf6a0 of _0x548193){const {startOffset:_0x1e092c,endOffset:_0x9bd272,isActive:_0x384621,rangeType:_0x3e6c83,segmentId:_0x1f181b,segmentPage:_0x2c161a}=_0x1bf6a0;_0x26149b['length']&&(_0x26149b+=','),_0x26149b+=_0x1e092c+':'+_0x9bd272+':'+(_0x384621?'1':'0')+':'+_0x3e6c83+':'+_0x1f181b+':'+_0x2c161a;}return _0x26149b;}function ht(_0x1e25f5){const _0x5bf956=_0x537ad4,_0x32582e=_0x1e25f5[_0x5bf956(0x32e)](','),_0x5efe5c=[];for(const _0x4d78f4 of _0x32582e){const [_0x32519d,_0x2905c2,_0x5966c1,_0xcdf950,_0x40952e,_0x32a9aa]=_0x4d78f4[_0x5bf956(0x32e)](':');_0x5efe5c['push']({'startOffset':Number(_0x32519d),'endOffset':Number(_0x2905c2),'collapsed':_0x32519d===_0x2905c2,'isActive':_0x5966c1==='1','rangeType':_0xcdf950===a['DOC_RANGE_TYPE'][_0x5bf956(0x3e7)]?a['DOC_RANGE_TYPE'][_0x5bf956(0x3e7)]:a[_0x5bf956(0x1f3)]['RECT'],'segmentId':typeof _0x40952e==_0x5bf956(0x3b4)?String(_0x40952e):'','segmentPage':Number(_0x32a9aa!=null?_0x32a9aa:-0x1)});}return _0x5efe5c[_0x5bf956(0x2db)](_0x54eaa8=>_0x54eaa8[_0x5bf956(0x427)])||(_0x5efe5c[0x0][_0x5bf956(0x427)]=!0x0),_0x5efe5c;}class be extends a[_0x537ad4(0x358)]{constructor(){const _0x15b69a=_0x537ad4;super(...arguments),_(this,_0x15b69a(0x17c),new I[(_0x15b69a(0x300))](null)),_(this,_0x15b69a(0x234),this['_collabCursorState$'][_0x15b69a(0x16f)]());}['syncEditingCollabCursor'](_0x173f5a){const _0x1489fe=_0x537ad4,{unitID:_0x219432,memberID:_0x4ab417,textRanges:_0x72942b}=_0x173f5a,_0x4d75ed=Fe(_0x72942b);if(_0x4d75ed==='')return;const _0xa2d443={'unitID':_0x219432,'memberID':_0x4ab417,'selection':_0x4d75ed};this[_0x1489fe(0x17c)][_0x1489fe(0x29d)](_0xa2d443);}}var ut=Object[_0x537ad4(0x1eb)],It=(_0xc7d813,_0x258ca1,_0x5d782b,_0x2846f9)=>{const _0x475154=_0x537ad4;for(var _0x3977ed=_0x2846f9>0x1?void 0x0:_0x2846f9?ut(_0x258ca1,_0x5d782b):_0x258ca1,_0x464cdc=_0xc7d813[_0x475154(0x342)]-0x1,_0x12e0a1;_0x464cdc>=0x0;_0x464cdc--)(_0x12e0a1=_0xc7d813[_0x464cdc])&&(_0x3977ed=_0x12e0a1(_0x3977ed)||_0x3977ed);return _0x3977ed;},U=(_0x72fde1,_0x346d45)=>(_0x3177d6,_0x4f19a0)=>_0x346d45(_0x3177d6,_0x4f19a0,_0x72fde1);const St=0x12c,dt=0x64;let ve=class extends a[_0x537ad4(0x358)]{constructor(_0x3c8ca1,_0x491248,_0x21aed3,_0x4b6232,_0x27d061,_0x281e1c,_0x1497f6,_0x33095c,_0x51b3d1){const _0x46b2c9=_0x537ad4;super(),_(this,_0x46b2c9(0x184),!0x1),_(this,'_init',!0x1),_(this,_0x46b2c9(0x2a5),new I['BehaviorSubject'](new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x46b2c9(0x16f)]()),_(this,_0x46b2c9(0x266),new I[(_0x46b2c9(0x300))]([])),_(this,_0x46b2c9(0x16d),this['_roomMembers$'][_0x46b2c9(0x3d5)](I[_0x46b2c9(0x28a)](St))),_(this,'_updateLocalCursor',a['debounce'](_0x45cbe9=>{const _0x516bb8=_0x46b2c9,_0x293ab5={'eventID':g[_0x516bb8(0x2a2)][_0x516bb8(0x199)],'data':{'unitID':this[_0x516bb8(0x404)],'memberID':this['_session'][_0x516bb8(0x418)](),'selection':Fe(_0x45cbe9)}};this[_0x516bb8(0x1dc)][_0x516bb8(0x3aa)](_0x293ab5,this[_0x516bb8(0x404)]);},dt)),(this[_0x46b2c9(0x404)]=_0x3c8ca1,this[_0x46b2c9(0x1dc)]=_0x491248,this[_0x46b2c9(0x3cf)]=_0x21aed3,this[_0x46b2c9(0x1e0)]=_0x4b6232,this[_0x46b2c9(0x1e2)]=_0x27d061,this[_0x46b2c9(0x253)]=_0x281e1c,this[_0x46b2c9(0x270)]=_0x1497f6,this['_univerInstanceService']=_0x33095c,this[_0x46b2c9(0x1af)]=_0x51b3d1);}get[_0x537ad4(0x228)](){const _0x4eb37c=_0x537ad4;return this[_0x4eb37c(0x2a5)][_0x4eb37c(0x1cb)]();}get['roomMembers'](){const _0x3bcbec=_0x537ad4;return this[_0x3bcbec(0x266)][_0x3bcbec(0x1cb)]();}[_0x537ad4(0x25e)](){const _0x305908=_0x537ad4;super[_0x305908(0x25e)](),this[_0x305908(0x2a5)][_0x305908(0x29d)](new Map()),this[_0x305908(0x2a5)][_0x305908(0x322)](),this[_0x305908(0x266)]['next']([]),this[_0x305908(0x266)][_0x305908(0x322)]();}[_0x537ad4(0x20b)](){const _0xe92128=_0x537ad4;this[_0xe92128(0x2fc)]||(this['_init']=!0x0,this[_0xe92128(0x1dc)]['sessionStatus$']['pipe'](I[_0xe92128(0x2e9)](this[_0xe92128(0x3fe)]))[_0xe92128(0x33f)](_0x3f4e26=>{const _0x4e139b=_0xe92128;_0x3f4e26===u[_0x4e139b(0x40c)]['ONLINE']?this['_toggleOnline']():this[_0x4e139b(0x3d4)]();}),this['_session']['event$'][_0xe92128(0x3d5)](I['takeUntil'](this['dispose$']))[_0xe92128(0x33f)](_0xf3c129=>{const _0x50719c=_0xe92128,_0x5c1287=_0xf3c129[_0x50719c(0x346)];_0x5c1287===g[_0x50719c(0x2a2)][_0x50719c(0x199)]&&this[_0x50719c(0x426)](_0xf3c129),_0x5c1287===g[_0x50719c(0x2a2)][_0x50719c(0x3ea)]&&this['_onCursorDelete'](_0xf3c129);}),this[_0xe92128(0x1b3)](this['_commandService'][_0xe92128(0x2cf)](_0x12f8db=>{const _0x3f46d1=_0xe92128,_0x2274dd=_0x12f8db[_0x3f46d1(0x2a9)];_0x2274dd!=null&&this[_0x3f46d1(0x184)]&&_0x12f8db['id']===V[_0x3f46d1(0x35a)]['id']&&_0x2274dd[_0x3f46d1(0x304)]===this[_0x3f46d1(0x404)]&&_0x2274dd[_0x3f46d1(0x3a7)]===!0x1&&_0x2274dd[_0x3f46d1(0x353)]['length']>0x0&&this[_0x3f46d1(0x359)](_0x2274dd[_0x3f46d1(0x353)]);})),this[_0xe92128(0x253)][_0xe92128(0x234)][_0xe92128(0x3d5)](I['takeUntil'](this['dispose$']))[_0xe92128(0x33f)](_0x1d3f44=>{const _0xf1e0c0=_0xe92128;if((_0x1d3f44==null?void 0x0:_0x1d3f44[_0xf1e0c0(0x404)])!==this[_0xf1e0c0(0x404)])return;const _0x38b84a={'eventID':g[_0xf1e0c0(0x2a2)][_0xf1e0c0(0x199)],'data':_0x1d3f44};this[_0xf1e0c0(0x426)](_0x38b84a);}),this[_0xe92128(0x1b3)](this[_0xe92128(0x1af)]['onCommandExecuted'](_0x21bacd=>{const _0x415fa2=_0xe92128;if(_0x21bacd[_0x415fa2(0x2a9)]==null)return;const _0x3218aa=_0x21bacd[_0x415fa2(0x2a9)];if(_0x21bacd['id']!==V[_0x415fa2(0x3d0)]['id']||_0x3218aa[_0x415fa2(0x304)]!==this[_0x415fa2(0x404)])return;const _0x21526f={'id':_0x415fa2(0x2e8),'params':_0x3218aa},_0x30f35b=this[_0x415fa2(0x228)];for(const [_0x28f514,_0x42abc1]of _0x30f35b){const _0x501a13={'id':_0x415fa2(0x2e8),'params':{'unitId':this[_0x415fa2(0x404)],'actions':null,'textRanges':_0x42abc1[_0x415fa2(0x353)]}},_0x3cb432=this[_0x415fa2(0x270)][_0x415fa2(0x30e)](_0x21526f,_0x501a13,!0x1);if(g[_0x415fa2(0x41d)](_0x3cb432))throw _0x3cb432[_0x415fa2(0x334)];_0x30f35b[_0x415fa2(0x178)](_0x28f514,{..._0x42abc1,'ranges':_0x3cb432['m2Prime']['params'][_0x415fa2(0x25a)]});}queueMicrotask(()=>{const _0x4a7006=_0x415fa2;this[_0x4a7006(0x2a5)]['next'](_0x30f35b);});})));}['_onCursorUpdate'](_0x25174d){const _0x20b812=_0x537ad4;var _0x3957fd,_0x455e09;const {memberID:_0x18f648,selection:_0x30ac66}=_0x25174d[_0x20b812(0x35e)],_0x2bc3fa=ht(_0x30ac66),_0xb9ffc8=(_0x455e09=(_0x3957fd=this['_memberService'][_0x20b812(0x3b6)](this[_0x20b812(0x404)],_0x18f648))==null?void 0x0:_0x3957fd['name'])!=null?_0x455e09:_0x20b812(0x306),_0x33d91b={'color':this[_0x20b812(0x1e0)][_0x20b812(0x41c)](_0x18f648),'name':_0xb9ffc8,'ranges':_0x2bc3fa},_0x362fef=this[_0x20b812(0x228)];_0x362fef['set'](_0x18f648,_0x33d91b),this['_cursorInfo$']['next'](_0x362fef);}[_0x537ad4(0x40b)](_0x3506ca){const _0x2db3b5=_0x537ad4,{memberID:_0x260da2}=_0x3506ca[_0x2db3b5(0x35e)],_0x1f900d=this[_0x2db3b5(0x228)];_0x1f900d[_0x2db3b5(0x3f8)](_0x260da2),this['_cursorInfo$'][_0x2db3b5(0x29d)](_0x1f900d);}['_toggleOnline'](){const _0x408877=_0x537ad4;var _0x7142bd;if(this[_0x408877(0x184)]=!0x0,((_0x7142bd=this[_0x408877(0x2a4)]['getFocusedUnit']())==null?void 0x0:_0x7142bd[_0x408877(0x3eb)]())!==this[_0x408877(0x404)])return;const _0x58dd5f=this[_0x408877(0x3cf)][_0x408877(0x267)](V[_0x408877(0x214)])['getDocRanges']();Array[_0x408877(0x1d7)](_0x58dd5f)&&_0x58dd5f[_0x408877(0x342)]>0x0&&this[_0x408877(0x359)](_0x58dd5f);}['_toggleOffline'](){const _0x5b4f49=_0x537ad4;this[_0x5b4f49(0x184)]=!0x1;}};ve=It([U(0x2,a[_0x537ad4(0x405)](a['Injector'])),U(0x3,a[_0x537ad4(0x405)](Re)),U(0x4,a['Inject'](u['MemberService'])),U(0x5,a[_0x537ad4(0x405)](be)),U(0x6,g[_0x537ad4(0x2da)]),U(0x7,a[_0x537ad4(0x16b)]),U(0x8,a[_0x537ad4(0x243)])],ve);var ft=Object[_0x537ad4(0x1eb)],mt=(_0x151b3e,_0x3b46a6,_0x333ec3,_0x542cbc)=>{const _0x9ed3a9=_0x537ad4;for(var _0x560d4e=_0x542cbc>0x1?void 0x0:_0x542cbc?ft(_0x3b46a6,_0x333ec3):_0x3b46a6,_0xb84a72=_0x151b3e[_0x9ed3a9(0x342)]-0x1,_0x430eed;_0xb84a72>=0x0;_0xb84a72--)(_0x430eed=_0x151b3e[_0xb84a72])&&(_0x560d4e=_0x430eed(_0x560d4e)||_0x560d4e);return _0x560d4e;},w=(_0x4b3e8b,_0x47ca48)=>(_0x566db2,_0x17b466)=>_0x47ca48(_0x566db2,_0x17b466,_0x4b3e8b);const vt=0x12c,gt=0x64,Et=()=>{let _0x284cf6=[],_0xa31d8c=!0x1;return _0x2156aa=>{const _0x41fea9=_0x1db4;_0x284cf6[_0x41fea9(0x31a)](_0x2156aa),_0xa31d8c||(_0xa31d8c=!0x0,setTimeout(()=>{const _0x803d4f=_0x41fea9;_0x284cf6[_0x803d4f(0x339)](_0x59c588=>_0x59c588()),_0x284cf6=[],_0xa31d8c=!0x1;}));};};let ge=class extends a[_0x537ad4(0x358)]{constructor(_0x27ebfa,_0x1b677c,_0x5607d7,_0x2ec06e,_0x536bcb,_0x31718e,_0xb84d6b,_0x3f6319){const _0x3cc12b=_0x537ad4;super(),_(this,_0x3cc12b(0x184),!0x1),_(this,_0x3cc12b(0x2fc),!0x1),_(this,'_cursorInfo$',new I[(_0x3cc12b(0x300))](new Map())),_(this,'cursorInfo$',this['_cursorInfo$'][_0x3cc12b(0x16f)]()),_(this,_0x3cc12b(0x266),new I[(_0x3cc12b(0x300))]([])),_(this,'roomMembers$',this[_0x3cc12b(0x266)]['pipe'](I['debounceTime'](vt))),_(this,'_updateLocalCursor',a[_0x3cc12b(0x3fb)]((_0x45703c,_0x305313)=>{const _0x3e6ccc=_0x3cc12b,_0xbca99b={'eventID':g[_0x3e6ccc(0x2a2)][_0x3e6ccc(0x199)],'data':{'unitID':this['unitID'],'memberID':this[_0x3e6ccc(0x1dc)][_0x3e6ccc(0x418)](),'selection':B['serializeRangeWithSheet'](_0x45703c,_0x305313[_0x3e6ccc(0x16c)])}};this[_0x3e6ccc(0x1dc)][_0x3e6ccc(0x3aa)](_0xbca99b,this['unitID']);},gt)),(this[_0x3cc12b(0x404)]=_0x27ebfa,this[_0x3cc12b(0x1dc)]=_0x1b677c,this['_injector']=_0x5607d7,this[_0x3cc12b(0x1e0)]=_0x2ec06e,this[_0x3cc12b(0x1e2)]=_0x536bcb,this[_0x3cc12b(0x2a4)]=_0x31718e,this[_0x3cc12b(0x1af)]=_0xb84d6b,this['_refRangeService']=_0x3f6319);}get[_0x537ad4(0x228)](){const _0x3eb094=_0x537ad4;return this[_0x3eb094(0x2a5)][_0x3eb094(0x1cb)]();}get[_0x537ad4(0x2c3)](){const _0x99b1a7=_0x537ad4;return this[_0x99b1a7(0x266)][_0x99b1a7(0x1cb)]();}[_0x537ad4(0x25e)](){const _0x1403e0=_0x537ad4;super[_0x1403e0(0x25e)](),this[_0x1403e0(0x2a5)][_0x1403e0(0x29d)](new Map()),this[_0x1403e0(0x2a5)][_0x1403e0(0x322)](),this[_0x1403e0(0x266)][_0x1403e0(0x29d)]([]),this[_0x1403e0(0x266)][_0x1403e0(0x322)]();}[_0x537ad4(0x20b)](){const _0x33035=_0x537ad4;this['_init']||(this[_0x33035(0x2fc)]=!0x0,this[_0x33035(0x1dc)]['sessionStatus$'][_0x33035(0x3d5)](I[_0x33035(0x2e9)](this[_0x33035(0x3fe)]))['subscribe'](_0x18e0ec=>{const _0x4c6765=_0x33035;_0x18e0ec===u['SessionStatus'][_0x4c6765(0x429)]?this['_toggleOnline']():this[_0x4c6765(0x3d4)]();}),this[_0x33035(0x1dc)][_0x33035(0x175)]['pipe'](I[_0x33035(0x2e9)](this[_0x33035(0x3fe)]))['subscribe'](_0x180100=>{const _0x2ec1a0=_0x33035,_0x439ef9=_0x180100['eventID'];_0x439ef9===g[_0x2ec1a0(0x2a2)][_0x2ec1a0(0x199)]&&this[_0x2ec1a0(0x426)](_0x180100),_0x439ef9===g[_0x2ec1a0(0x2a2)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x180100);}),this[_0x33035(0x348)](),this[_0x33035(0x1b3)](this[_0x33035(0x1af)][_0x33035(0x2cf)](_0x4c943d=>{const _0x327bc1=_0x33035;if(this[_0x327bc1(0x184)]&&_0x4c943d['id']===v[_0x327bc1(0x367)]['id']&&_0x4c943d['params'][_0x327bc1(0x304)]===this['unitID']){const _0x4ce44f=_0x4c943d[_0x327bc1(0x2a9)];this[_0x327bc1(0x359)](_0x4ce44f[_0x327bc1(0x387)],_0x4ce44f[_0x327bc1(0x249)][0x0]);}})));}[_0x537ad4(0x426)](_0x20a206){const _0x28082d=_0x537ad4;var _0x2c6cd7,_0x536177;const {memberID:_0x3d4bc6,selection:_0xf0498a}=_0x20a206[_0x28082d(0x35e)],{sheetName:_0xeb6000,range:_0x1ab9de}=B[_0x28082d(0x36e)](_0xf0498a),_0x38ea5a={'name':(_0x536177=(_0x2c6cd7=this[_0x28082d(0x1e2)][_0x28082d(0x3b6)](this[_0x28082d(0x404)],_0x3d4bc6))==null?void 0x0:_0x2c6cd7[_0x28082d(0x36f)])!=null?_0x536177:'Unknown\x20user','range':this[_0x28082d(0x274)](_0xeb6000,_0x1ab9de),'sheetID':_0xeb6000,'color':this[_0x28082d(0x1e0)][_0x28082d(0x41c)](_0x3d4bc6),'selection':_0xf0498a},_0x2b7939=this['cursorInfo'];_0x2b7939[_0x28082d(0x178)](_0x3d4bc6,_0x38ea5a),this['_cursorInfo$'][_0x28082d(0x29d)](_0x2b7939);}[_0x537ad4(0x40b)](_0x3bdb20){const _0x2cd96f=_0x537ad4,{memberID:_0x49daf2}=_0x3bdb20[_0x2cd96f(0x35e)],_0x55d4f0=this[_0x2cd96f(0x228)];_0x55d4f0['delete'](_0x49daf2),this[_0x2cd96f(0x2a5)]['next'](_0x55d4f0);}[_0x537ad4(0x274)](_0x370d8a,_0x3d2ae6){const _0x1af180=_0x537ad4;var _0x1b393c,_0x14e882;const _0x2cc1df=(_0x14e882=(_0x1b393c=this[_0x1af180(0x2a4)]['getUniverSheetInstance'](this[_0x1af180(0x404)]))==null?void 0x0:_0x1b393c[_0x1af180(0x2ab)](_0x370d8a))==null?void 0x0:_0x14e882[_0x1af180(0x2c9)]();return(_0x2cc1df==null?void 0x0:_0x2cc1df[_0x1af180(0x3db)](_0x268b2a=>a[_0x1af180(0x401)]['contains'](_0x268b2a,_0x3d2ae6)))||_0x3d2ae6;}[_0x537ad4(0x348)](){const _0x495fb7=_0x537ad4,_0x4f5b9e=new a[(_0x495fb7(0x33e))](),_0x26e3ff=Et(),_0x13ab86=()=>{const _0x228c9f=_0x495fb7;_0x4f5b9e[_0x228c9f(0x25e)]();const _0x4560a1=(_0x2b95a3,_0x252d83,_0xef9265,_0x4f48e5)=>{const _0x217034=_0x228c9f;let _0x4630a8=[];switch(_0x2b95a3['id']){case v['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x4630a8=v[_0x217034(0x1d3)](_0x2b95a3,_0x4f48e5);break;}case v[_0x217034(0x409)][_0x217034(0x38a)]:{_0x4630a8=v[_0x217034(0x1ab)](_0x2b95a3,_0x4f48e5);break;}case v['EffectRefRangId']['InsertColCommandId']:{_0x4630a8=v[_0x217034(0x2e5)](_0x2b95a3,_0x4f48e5);break;}case v[_0x217034(0x409)]['InsertRangeMoveDownCommandId']:{_0x4630a8=v[_0x217034(0x32b)](_0x2b95a3,_0x4f48e5);break;}case v[_0x217034(0x409)][_0x217034(0x311)]:{_0x4630a8=v[_0x217034(0x2f9)](_0x2b95a3,_0x4f48e5);break;}case v['EffectRefRangId']['InsertRowCommandId']:{_0x4630a8=v[_0x217034(0x42b)](_0x2b95a3,_0x4f48e5);break;}case v[_0x217034(0x409)][_0x217034(0x1c2)]:{_0x4630a8=v[_0x217034(0x413)](_0x2b95a3,_0x4f48e5);break;}case v[_0x217034(0x409)]['RemoveColCommandId']:{_0x4630a8=v[_0x217034(0x3a0)](_0x2b95a3,_0x4f48e5);break;}case v[_0x217034(0x409)]['RemoveRowCommandId']:{_0x4630a8=v['handleIRemoveRow'](_0x2b95a3,_0x4f48e5);break;}}const _0x1f486c=v['runRefRangeMutations'](_0x4630a8,_0x4f48e5),_0x4235c2=this[_0x217034(0x228)]['get'](_0x252d83);if(_0x4235c2&&_0x1f486c){const _0x3bb2f0={..._0x4235c2,'range':_0x1f486c};this[_0x217034(0x228)][_0x217034(0x178)](_0x252d83,_0x3bb2f0),_0x26e3ff(()=>{const _0x253c2d=_0x217034,_0x3acb02=this[_0x253c2d(0x3cc)][_0x253c2d(0x1f2)](_0x1f486c,_0x4439b1=>(_0x3acb02['dispose'](),_0x4560a1(_0x4439b1,_0x252d83,_0xef9265,_0x1f486c)));_0x4f5b9e['add'](_0x3acb02);});}return{'redos':[],'undos':[]};};this[_0x228c9f(0x228)][_0x228c9f(0x339)]((_0x9d0d7d,_0x4b87ea)=>{const _0x540858=_0x228c9f,{range:_0x83bab0,sheetID:_0x92c387}=_0x9d0d7d,_0x4602d5=this[_0x540858(0x3cc)][_0x540858(0x1f2)](_0x83bab0,_0x27fb01=>(_0x4602d5[_0x540858(0x25e)](),_0x4560a1(_0x27fb01,_0x4b87ea,_0x92c387,_0x83bab0)));_0x4f5b9e['add'](_0x4602d5);});};this['disposeWithMe'](a['toDisposable'](this[_0x495fb7(0x2a5)][_0x495fb7(0x33f)](()=>{_0x13ab86();})));}['_toggleOnline'](){const _0x222c50=_0x537ad4;var _0x2ccdc6,_0x2a5429;if(this[_0x222c50(0x184)]=!0x0,((_0x2ccdc6=this[_0x222c50(0x2a4)][_0x222c50(0x326)]())==null?void 0x0:_0x2ccdc6['getUnitId']())!==this[_0x222c50(0x404)])return;const _0x40f09e=(_0x2a5429=this[_0x222c50(0x3cf)]['get'](v['SheetsSelectionsService'])[_0x222c50(0x29e)]())==null?void 0x0:_0x2a5429[0x0],_0xa0f1c=this[_0x222c50(0x2a4)][_0x222c50(0x2a8)](a[_0x222c50(0x337)][_0x222c50(0x164)])[_0x222c50(0x324)]();_0x40f09e&&_0xa0f1c&&this[_0x222c50(0x359)](_0xa0f1c[_0x222c50(0x1f4)](),_0x40f09e);}[_0x537ad4(0x3d4)](){const _0x571fcd=_0x537ad4;this[_0x571fcd(0x184)]=!0x1;}};function _0x3264(){const _0x1a5368=['UniverIcon','SheetCollabCursorShape','IRemoteInstanceService','exhaustSavingTask','collaboration.offline-data-not-saved','_cachedData','UniverCollaborationClientPlugin','_collaborationUIEventService','81989dONTyN','location','_refRangeService','Injector','purple.300','_injector','RichTextEditingMutation','functionsExecutedState','[RemoteUniscriptService]:\x20no\x20focused\x20unit','INTERNAL_ERROR','_toggleOffline','pipe','MemberService','on-line-icon_clip0_910_349','_taskIds','mapTo','filter','find','symbol','wsSessionTicketUrl','idSuffix','_collaborationController','LOGIN_FAILED','toRgbString','YUUMI_NO_CUBOID_FOR_QUESTION','formula.calculation.started','disposeUnit','_textBubble','url(#$1','TEXT','collabStatus.syncing','IMessageService','USERS_LEAVE','getUnitId','trim','_docSyncEditingCollabCursorService','ticket','setInterval','forwardRef','addHandlerCallback','_transformHistoryAndStateStack','getUnhiddenWorksheets','origin','entries','hide','toString','delete','Rect','getLocalCacheKey','debounce','DocStateChangeManagerService','setUndoRedoMutationParamsCache','dispose$','SNAPSHOT_HAS_BEEN_REMOVED','...','Rectangle','_initResize','memberID','unitID','Inject','DependentOn','UNAUTHENTICATED','16353183LrNDAy','EffectRefRangId','_transformPreviousActiveRange','_onCursorDelete','SessionStatus','267695PwfphK','FormulaExecutedStateType','onPointerLeave$','_scene','addObjects','unhandledrejection','handleMoveRange','show','YUUMI_SUBSCRIPTION_NOT_FOUND','_id','_beforeCloseService','getMemberID','saveTaskMap','_registerRenderDependencies','getUnit','assignAColorForMemberID','isTransformMutationFailure','_eventUnsubscribe','endRow','\x20at\x20','Vector2','HEADER_MENU','ILogService','executionId','_themeService','_onCursorUpdate','isActive','collaboration.single-unit.warning','ONLINE','_clearOtherTimers','handleInsertRow','BrowserCollaborationSocketService','_initDependencies','CollaborationSocketService','_initStatusComponent','_monkeyPatchLogService','_cursorShapes','collab-client.tooltip.reconnect','UNIVER_SHEET','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','application/json','removeEventListener','redoState','_drawRectRange','_initUnhandledRejectionListener','IUniverInstanceService','range','roomMembers$','Success','asObservable','clearInterval','_selfUnitIDs','addEventListener','urlChange$','_hovered','event$','INVITE_CODE_REQUIRED','measureText','set','replace','sessionTicket','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collabCursorState$','generateRandomId','defs','setStateCache','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','AUTHORIZE_CODE_ILLEGAL','_getAnchorBounding','throttleTime','_online','TRANSFORM_CHANGE_OBSERVABLE_TYPE','CollaborationUIEventId','permission.content','_lastPointer','_handleHover','status$','CLOSE_ROOM','HTTPService','getCellPositionByOffset','_ensureSubject','SetWorksheetActivateCommand','_status$','[CollaborationDataLoaderController]','0\x200\x2016\x2016','_checkAndWaitForCalculationPermission','children','reconnect','beforeCommandExecuted','subscribeEvent','YUUMI_ALL_TABLES_IS_INVALID','UPDATE_CURSOR','onPointerEnter$','defineProperty','onRendered','getCollabCursors$','/universer-api/frontend/logs','getRelativeToViewportCoord','message','CanceledError','clsx','_draw','sheetID','IRenderManagerService','PENDING','actions','Tools','NOT_FOUND','maxFormulaLimit','handleDeleteRangeMoveUp','COMPLETION_FINISHED','LOGIN_TOKEN_PROCESSING_FAILED','undoState','_commandService','deepClone','uni.network.url-service','_checkCalculationAvailable','disposeWithMe','APPLY_DUPLICATED','min','RegularPolygon','mutations','PAYMENT_CHANNEL_NOT_SUPPORT','useDependency','_registerDependencies','SetDocZoomRatioOperation','createElement','collab-text-anchor-','_drawAnchor','imageSourceType','currentColor','post','MoveRangeCommandId','collabStatus.fetchMiss','SUCCESS','collab-text-range-','fillStyle','findNodePositionByCharIndex','addObject','SetFormulaCalculationStartMutation','socket$','getValue','top','stringify','#FFF','/universer-api/license/formula/limit/done','_docClipboardService','_send','10188diBsdK','handleDeleteRangeMoveLeft','labelPosition','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','LocaleService','isArray','_initUserListener','VIEW_MAIN','setShapeProps','activeSheet$','_session','USER_NOT_FOUND','result','APPLY_REJECT','_colorAssignService','rgba(255,\x20255,\x20255,\x200.01)','_memberService','_setFormulaLimitStatus','RefRangeService','getformulaLimitStatusUrl','320020MBQFVw','REDEMPTION_CODE_INACTIVE','_refreshCollabCursors','onStarting','syncEditingCollabCursor','getOwnPropertyDescriptor','CollaborationUIEventService','_updateURLWithCurrentState','startsWith','replaceState','WECHAT_HAS_BEEN_BOUND','_render','registerRefRange','DOC_RANGE_TYPE','getSheetId','triggerDblclick','session.collaboration-timeout','_urlService','_revisionService','_dataLoaderService','bind','fill','colno','useCallback','toDisposable','pushState','startFormulaLimitUrl','_cursor','with','AWAITING_WITH_PENDING','_localStorageService','_setupBeforeClosingHandler','34hziyMI','has','getTypeOfUnitAdded$','white','6714512ygALxF','init','_startSheetCollabCursor','restore','NodePositionConvertToRectRange','path','18TkyURr','getCellMatrix','_initEvent','_collabCursorController','DocSelectionManagerService','currentTheme$','UNIVER_DOC','getColorFromTheme','LOCAL_CACHE_INTERVAL','xlink:href','assign','unload','getActiveRange','focused$','_cursors','setAlpha','yellow.400','_maxFormulaLimit','_handleLeaveEvent','_colorIndex','MOBILE_HAS_BEEN_BOUND','DATA_SOURCE_TOO_LARGE','limitInfo','setActiveRange','cursorInfo','arc','_initWindowErrorListener','transformIMECache','transformByState','on-line-icon','_getSaveTimeout','onLocalMutation','key','_docSkeleton','CommandType','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collabCursorState$','stack','column','REDEMPTION_CODE_FULLY_REDEEMED','unsubscribe','from','[Unhandled\x20Rejection]:\x20','then','INVALID_ARGUMENT','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_pollingInterval','size','includes','add','ENSURE_SNAPSHOT_EXECUTION','ICommandService','USER_NOT_INVITED_CODE','ALREADY_EXISTS','getConfig','INVITE_CODE_ALREADY_BOUND','_initEntityListener','selections','_releaseCalculationLimit','_hasFormulaInDirtyRanges','setItem','values','297OrbNuv','_startDocCollabCursor','[LogService\x20Error]:\x20','COLORS','div','_syncEditingCollabCursorService','replaceDocRanges','START_CALCULATION','getCollabEntity$','CONFLICT','IConfigService','UNDEFINED','textRanges','Shape','getUnitStatus$','currentSkeleton$','dispose','getRenderById','CollaborationController','ThemeService','_config','touchDependencies','map','_heartbeatTimer','_roomMembers$','get','_initCommandInterceptor','getDocRanges','cursorInfo$','Disposable','defIds','_getSheetObject','href','distinctUntilChanged','_transformService','REDEMPTION_CODE_HAS_BEEN_CREATED','_shapes','hovered','_getMergeRange','ILocalCacheService','fillText','executeCommand','DataLoaderService','permission.title','_applyCommand','_transformUndoRedoStack','_logService','sheetId','row','_handleHeartbeatEvent','subunit','ColorKit','_collaborationSessionService','getVpScrollXYInfoByPosToVp','ISocketService','code','connectInjector','history','blue.400','ENTITLE_REPORT_LIMIT_EXCEED','debounceTime','getOffsetConfig','collabStatus.offline','_httpService','FromArray','registerComponent','YUUMI_ASYNCIO_CANCELLED','getViewport','_updateCollabCursors','toStringTag','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','popstate','source','use','OTHER_CLIENTS_EDITING','_unitStatus','RECT','catch','next','getCurrentSelections','REDEMPTION_CODE_NOT_STARTED','getColor','_createSocketURL','CollaborationEvent','combineLatest','_univerInstanceService','_cursorInfo$','JOIN_ROOM_FAILED','createInstance','getCurrentUnitForType','params','registerRenderModule','getSheetBySheetId','width','getCurrentRevOfUnit','saveImage','SHEET_VIEWPORT_KEY','colorChannel1','tag','MessageType','/run/','now','whenReady','mask','CollaborationSessionService','SNAPSHOT_INVALID_SNAPSHOT','RevisionService','PY_RUNTIME_SCRIPT_ERROR','clipPath','NodePositionConvertToCursor','LICENSE_MAX_UNITS_EXCEEDED','_labelPosition','releaseFormulaLimitUrl','jiqing.500','_hover','_color','roomMembers','Failed','_removeClearOtherTimer','session.will-retry','enableFrontendLog','collabStatus.synced','getMergeData','_removeCollabCursors','PERMISSION_DENIED','1240KQhDro','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ENTITLE_CHAT_LIMIT_EXCEED','onCommandExecuted','SOCKET_FAILED_RETRY','beginPath','onPointerMove$','_sheetSkeletonManagerService','_instanceService','1em','DocIMEInputManagerService','getTypeOfUnitDisposed$','_assignedColors','getItem','ITransformService','some','onMouseMove','_saveCache','USER_IS_ANONYMOUS','displayName','Warning','Workbook','editingUnit','moveTo','MOBILE_VERIFY_CODE_MISMATCH','handleInsertCol','getUndoRedoMutationParamsCache','black','doc.mutation.rich-text-editing','takeUntil','APPLY_REVISION_CONFILICT','_handleEvent','transform','ILocalStorageService','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','Tooltip','fromEvent','Optional','_entities','ENTITLE_COUPON_EXPIRED','_setupSubUnitSync','_currentUsage','INVITE_CODE_HAS_BEEN_UES','override','_name','handleInsertRangeMoveRight','Error','_getFormulaLimitStatus','_init','parseInt','UniverCollaborationClientUIPlugin','engine','BehaviorSubject','ENTITLE_NEED_BILLING_ADDRESS','_hideTimer','skeleton','unitId','_handleJoinEvent','Unknown\x20user','OffLineIcon','DocSkeletonManagerService','YUUMI_CONNECTOR_URL_NOT_FOUND','enableLocalCache','_unitOnClients','registerBeforeClose','evenodd','transformMutation','_startCalculationLimit','m1Prime','InsertRangeMoveRightCommandId','disableLocalCache','unit','univerjs-icon\x20univerjs-icon-','WebSocketService','attrs','_disabled','EMAIL_VERIFY_CODE_MISMATCH','UnitStatus','push','font','getStateCache','_range','_initStatusListener','_localeService','removeParam','CHANGESET_REVISION_CONFILICT','complete','CollaborationStatus','getActiveSheet','invokeId','getFocusedUnit','getSheetObject','ENTITLE_USE_COUPON_NOT_1ST_TRADE','_collabSessionService','loadUnit','handleInsertRangeMoveDown','startColumn','getAncestorScale','split','setParam','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','shareReplay','_getScale','requireSession','error','TEXT_RANGE_LAYER_INDEX','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','UniverInstanceType','_messageService','forEach','NO_OTHER_CLIENTS_EDITING','YUUMI_URL_COL_OUT_OF_RANGE','/universer-api/license/formula/limit/status','text','DisposableCollection','subscribe','_docTransformSelectionsService','YUUMI_AI_RUN_FAILED','length','getParam','newValue','dirtyRanges','eventID','stageInfo','_onRefRangeChange','_notificationService','ISnapshotServerService','Subject','switchMap','selection','red.300','collab-rect-range-','SYNCED','transformStateCache','IURLService','ranges','CollaborationDataLoaderController','getSkeleton','_context','_uploadLog','RxDisposable','_updateLocalCursor','SetTextSelectionsOperation','DesktopCollaborationStatusDisplayController','_configService','debug','data','_docTransformStateCacheService','useRef','type','height','_scheduleClearOtherTimer','1701104ziyCRj','unshift','_docTransformIMECacheService','SetSelectionsOperation','updateOfflineData','_anchorDot','setConfig','formula.calculation.unable','backgroundColor','none','deserializeRangeWithSheet','name','runId','url(#off-line-icon_clip0_910_343)','YUUMI_UNABLE_LOAD_URL','REDEMPTION_USER_NOT_ELIGIBLE','ERROR_AGAIN','color','runOnServer','ENTITLE_INVALID_COUPON_CODE','getRangePointData','NOT_COLLAB','_scheduleSaving','INotificationService','bottom','_clearPolling','transformRemoteChangeset','/universer-api/license/formula/limit/start','IImageIoService','_docSkeletonManagerService','_docStateChangeManagerService','CURRENT_STATUS_CANNOT_OPERATE','http://www.w3.org/2000/svg','formula.calculation.waiting','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','subUnitId','current','isTransformMutationsWithChangesetSuccess','DeleteRangeMoveUpCommandId','round','APPLY_NON_SEQUENTIAL_REVISION','onTransformChange$','jsx','endColumn','clearTimeout','SetFormulaCalculationNotificationMutation','IUIPartsService','startRow','DocCollaborationEntity','RemoteUniscriptService','transformMutationsWithChangeset','WebURLService','_memberID','LICENSE_IMPORT_SIZE_EXCEEDED','closePath','univer-mr-2\x20univer-flex\x20univer-text-xl','_saveTaskMap','m2Prime','save','searchParams','handleIRemoveCol','_backgroundColor','useObservable','REDEMPTION_USER_REDEEM_TIMES_EXCEED','off-line-icon_clip0_910_343','_getSessionTicket','INVALID_INVITE_CODE','isEditing','CONNECTOR_DATA_TOO_LARGE','_renderManagerService','send','_entityInit$','YUUMI_RATE_OVER_LIMIT','_anchor','_showGuardMessage','merge','ENTITLE_DUP_SUBSCRIPTION','OTHER_CLIENT_EDITING','_updateSubUnitFromURLParams','drawWith','string','univer-flex\x20univer-items-center','getMember','setTimeout','_lastResponseTimestamp','collaboration.closeRoom','_scheduleHeartbeat','isFormulaString','[Window\x20Error]:\x20','body','lineTo','LOCAL_CACHE_INTERVAL_KEY','_uiPartsService','APPLY_PERMISSION_DENIED'];_0x3264=function(){return _0x1a5368;};return _0x3264();}ge=mt([w(0x2,a[_0x537ad4(0x405)](a['Injector'])),w(0x3,a['Inject'](Re)),w(0x4,a['Inject'](u[_0x537ad4(0x3d6)])),w(0x5,a[_0x537ad4(0x16b)]),w(0x6,a[_0x537ad4(0x243)]),w(0x7,a[_0x537ad4(0x405)](v[_0x537ad4(0x1e4)]))],ge);var Ct=Object[_0x537ad4(0x1eb)],Tt=(_0x344f9c,_0x2b8d28,_0xfed00f,_0x47c86e)=>{const _0x481c69=_0x537ad4;for(var _0x38ec37=_0x47c86e>0x1?void 0x0:_0x47c86e?Ct(_0x2b8d28,_0xfed00f):_0x2b8d28,_0x573ff5=_0x344f9c[_0x481c69(0x342)]-0x1,_0x1f75e5;_0x573ff5>=0x0;_0x573ff5--)(_0x1f75e5=_0x344f9c[_0x573ff5])&&(_0x38ec37=_0x1f75e5(_0x38ec37)||_0x38ec37);return _0x38ec37;},ce=(_0x721b92,_0xd4f9ad)=>(_0x396f1a,_0x5f4302)=>_0xd4f9ad(_0x396f1a,_0x5f4302,_0x721b92);function _0x1db4(_0x199ac6,_0x44fc9e){_0x199ac6=_0x199ac6-0x161;const _0x3264a8=_0x3264();let _0x1db4a3=_0x3264a8[_0x199ac6];return _0x1db4a3;}let F=class extends a[_0x537ad4(0x358)]{constructor(_0x2d8136,_0x9ec1b8,_0x2f31d4){const _0x49c1b4=_0x537ad4;super(),_(this,_0x49c1b4(0x2f2),new Map()),_(this,_0x49c1b4(0x3ab),new I[(_0x49c1b4(0x34b))]()),(this['_univerInstanceService']=_0x2d8136,this['_injector']=_0x9ec1b8,this[_0x49c1b4(0x329)]=_0x2f31d4,this[_0x49c1b4(0x2fc)]());}[_0x537ad4(0x25e)](){const _0x2318b6=_0x537ad4;super['dispose'](),this[_0x2318b6(0x3ab)][_0x2318b6(0x322)](),this[_0x2318b6(0x2f2)][_0x2318b6(0x339)](_0x20a5b4=>_0x20a5b4[_0x2318b6(0x25e)]());}[_0x537ad4(0x19d)](_0x733172){const _0x242140=_0x537ad4;return this['_entities'][_0x242140(0x207)](_0x733172)?this[_0x242140(0x2f2)]['get'](_0x733172)[_0x242140(0x26a)]:this[_0x242140(0x3ab)]['pipe'](I[_0x242140(0x3da)](_0x5c32bb=>_0x5c32bb[_0x242140(0x404)]===_0x733172),I[_0x242140(0x34c)](_0x2d8217=>_0x2d8217[_0x242140(0x26a)]));}['_init'](){const _0x34bb06=_0x537ad4;this[_0x34bb06(0x2a4)][_0x34bb06(0x208)](a[_0x34bb06(0x337)][_0x34bb06(0x164)])['pipe'](I[_0x34bb06(0x2e9)](this[_0x34bb06(0x3fe)]))[_0x34bb06(0x33f)](async _0x3e0ad7=>{const _0x5165fe=_0x34bb06,_0x5709dd=_0x3e0ad7['getUnitId'](),_0x975094=await this[_0x5165fe(0x20c)](_0x5709dd);this['_entityInit$'][_0x5165fe(0x29d)](_0x975094),this[_0x5165fe(0x2f2)][_0x5165fe(0x178)](_0x5709dd,_0x975094);}),this[_0x34bb06(0x2a4)][_0x34bb06(0x208)](a[_0x34bb06(0x337)][_0x34bb06(0x216)])[_0x34bb06(0x3d5)](I[_0x34bb06(0x2e9)](this[_0x34bb06(0x3fe)]))[_0x34bb06(0x3d5)](I[_0x34bb06(0x3da)](_0x406006=>!_0x406006[_0x34bb06(0x3eb)]()[_0x34bb06(0x1ee)]('__')))['subscribe'](async _0x230e3d=>{const _0x1baaf1=_0x34bb06,_0x98e314=_0x230e3d['getUnitId'](),_0x477820=await this[_0x1baaf1(0x24f)](_0x98e314);this[_0x1baaf1(0x3ab)]['next'](_0x477820),this['_entities'][_0x1baaf1(0x178)](_0x98e314,_0x477820);}),I[_0x34bb06(0x3af)](this[_0x34bb06(0x2a4)][_0x34bb06(0x2d7)](a[_0x34bb06(0x337)][_0x34bb06(0x216)]),this[_0x34bb06(0x2a4)][_0x34bb06(0x2d7)](a[_0x34bb06(0x337)][_0x34bb06(0x164)]))[_0x34bb06(0x3d5)](I[_0x34bb06(0x2e9)](this[_0x34bb06(0x3fe)]))[_0x34bb06(0x33f)](_0xb96547=>{const _0x5ad71f=_0x34bb06,_0x1034fe=_0xb96547['getUnitId'](),_0x321c07=this['_entities'][_0x5ad71f(0x267)](_0x1034fe);_0x321c07&&(_0x321c07[_0x5ad71f(0x25e)](),this[_0x5ad71f(0x2f2)][_0x5ad71f(0x3f8)](_0x1034fe));});}async[_0x537ad4(0x20c)](_0x1a25d7){const _0x5836b4=_0x537ad4,_0x22d729=await this['_collabSessionService'][_0x5836b4(0x333)](_0x1a25d7),_0x4233df=this['_injector'][_0x5836b4(0x2a7)](ge,_0x1a25d7,_0x22d729);return _0x4233df[_0x5836b4(0x20b)](),_0x4233df;}async[_0x537ad4(0x24f)](_0x311fef){const _0x4ec18c=_0x537ad4,_0x53b892=await this[_0x4ec18c(0x329)]['requireSession'](_0x311fef),_0x131ade=this['_injector'][_0x4ec18c(0x2a7)](ve,_0x311fef,_0x53b892);return _0x131ade['init'](),_0x131ade;}};F=Tt([ce(0x0,a[_0x537ad4(0x16b)]),ce(0x1,a[_0x537ad4(0x405)](a[_0x537ad4(0x3cd)])),ce(0x2,a['Inject'](u['CollaborationSessionService']))],F);const X=0x14,Ue=0xc8,le=0x4,pt=0x5;function Ot(_0x3da87c,_0x497f4c){const _0x12f2d4=_0x537ad4;let {radius:_0xe825f7,width:_0x4ce34d,height:_0x5647ed}=_0x497f4c;_0xe825f7=_0xe825f7!=null?_0xe825f7:0x0,_0x4ce34d=_0x4ce34d!=null?_0x4ce34d:0x1e,_0x5647ed=_0x5647ed!=null?_0x5647ed:0x1e;let _0x16817e=0x0,_0x58450d=0x0,_0x3dc33c=0x0;_0x16817e=_0x58450d=_0x3dc33c=Math[_0x12f2d4(0x1b5)](_0xe825f7,_0x4ce34d/0x2,_0x5647ed/0x2),_0x3da87c[_0x12f2d4(0x2d1)](),_0x3da87c[_0x12f2d4(0x2e3)](_0x16817e,0x0),_0x3da87c[_0x12f2d4(0x3be)](_0x4ce34d-_0x58450d,0x0),_0x3da87c[_0x12f2d4(0x229)](_0x4ce34d-_0x58450d,_0x58450d,_0x58450d,Math['PI']*0x3/0x2,0x0,!0x1),_0x3da87c[_0x12f2d4(0x3be)](_0x4ce34d,_0x5647ed-_0x3dc33c),_0x3da87c['arc'](_0x4ce34d-_0x3dc33c,_0x5647ed-_0x3dc33c,_0x3dc33c,0x0,Math['PI']/0x2,!0x1),_0x3da87c['lineTo'](0x0,_0x5647ed),_0x3da87c[_0x12f2d4(0x3be)](0x0,_0x16817e),_0x3da87c[_0x12f2d4(0x229)](_0x16817e,_0x16817e,_0x16817e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3da87c[_0x12f2d4(0x39a)](),_0x497f4c[_0x12f2d4(0x1fb)]&&(_0x3da87c['save'](),_0x3da87c['fillStyle']=_0x497f4c[_0x12f2d4(0x1fb)],_0x497f4c['fillRule']===_0x12f2d4(0x30d)?_0x3da87c['fill']('evenodd'):_0x3da87c[_0x12f2d4(0x1fb)](),_0x3da87c['restore']());}class re extends C[_0x537ad4(0x25b)]{constructor(_0x1620f2,_0x4a0058){const _0x309d7d=_0x537ad4;super(_0x1620f2,_0x4a0058),_(this,_0x309d7d(0x375)),_(this,_0x309d7d(0x33d)),(this[_0x309d7d(0x375)]=_0x4a0058==null?void 0x0:_0x4a0058[_0x309d7d(0x375)],this[_0x309d7d(0x33d)]=_0x4a0058==null?void 0x0:_0x4a0058[_0x309d7d(0x33d)]);}static[_0x537ad4(0x3b3)](_0x514368,_0x5dc2f6){const _0x51b9fe=_0x537ad4,{text:_0xdaebb8,color:_0x25c80d}=_0x5dc2f6;_0x514368[_0x51b9fe(0x39e)](),_0x514368[_0x51b9fe(0x31b)]=_0x51b9fe(0x294);const _0x25a36d=_0x514368['measureText'](_0xdaebb8)[_0x51b9fe(0x2ac)],_0x15e650=Math[_0x51b9fe(0x1b5)](_0x25a36d+0x2*le,Ue);Ot(_0x514368,{'height':X,'radius':0x4,'width':_0x15e650,'fill':_0x25c80d}),_0x514368[_0x51b9fe(0x1c6)]=_0x51b9fe(0x1ce);const _0x5791a3=le,_0x33607e=X-pt,_0x13523b=Ue-0x2*le;if(_0x25a36d>_0x13523b){let _0x4e8e82='',_0x4340e2=0x0;for(const _0x33048f of _0xdaebb8){const _0xb2fca7=_0x514368[_0x51b9fe(0x177)](_0x33048f)['width'];if(_0x4340e2+_0xb2fca7<=_0x13523b-_0x514368[_0x51b9fe(0x177)](_0x51b9fe(0x400))['width'])_0x4e8e82+=_0x33048f,_0x4340e2+=_0xb2fca7;else{_0x4e8e82+='...';break;}}_0x514368[_0x51b9fe(0x276)](_0x4e8e82,_0x5791a3,_0x33607e);}else _0x514368[_0x51b9fe(0x276)](_0xdaebb8,_0x5791a3,_0x33607e);_0x514368[_0x51b9fe(0x20d)]();}[_0x537ad4(0x1a3)](_0x170009){const _0x43dfd5=_0x537ad4;re[_0x43dfd5(0x3b3)](_0x170009,this);}}const _e=_0x537ad4(0x1bd),Rt=_0x537ad4(0x1c5),bt=_0x537ad4(0x34f),H=0x6,Dt=1.5,he=0x4,Nt=1.5,Ut=_0x537ad4(0x1e1);class Le{constructor(_0x5bd6a2,_0x12b29b,_0xffd28c,_0x367a79){const _0x67111=_0x537ad4;_(this,'_shapes',[]),_(this,_0x67111(0x3ad),null),_(this,'_textBubble',null),_(this,'_anchorDot',null),_(this,_0x67111(0x302),null),_(this,_0x67111(0x41e),null),(this[_0x67111(0x201)]=_0x5bd6a2,this[_0x67111(0x410)]=_0x12b29b,this[_0x67111(0x231)]=_0xffd28c,this['_document']=_0x367a79,this[_0x67111(0x1f1)]());}set['_hover'](_0x3805ca){const _0x5db331=_0x537ad4;_0x3805ca?(this[_0x5db331(0x369)]&&this[_0x5db331(0x369)][_0x5db331(0x3f6)](),this[_0x5db331(0x3e5)]&&this[_0x5db331(0x3e5)][_0x5db331(0x414)]()):(this[_0x5db331(0x369)]&&this[_0x5db331(0x369)][_0x5db331(0x414)](),this[_0x5db331(0x3e5)]&&this[_0x5db331(0x3e5)]['hide']());}[_0x537ad4(0x25e)](){const _0x29a075=_0x537ad4;for(const _0x56ecbb of this[_0x29a075(0x272)])_0x56ecbb[_0x29a075(0x25e)]();this[_0x29a075(0x3e5)]&&this[_0x29a075(0x3e5)][_0x29a075(0x25e)](),this[_0x29a075(0x369)]&&this[_0x29a075(0x369)][_0x29a075(0x25e)](),this['_anchor']&&this['_anchor'][_0x29a075(0x25e)](),this[_0x29a075(0x41e)]&&this['_eventUnsubscribe']();}[_0x537ad4(0x1f1)](){const _0x3134a1=_0x537ad4;var _0x16d097;const {_docSkeleton:_0x3b72c7,_document:_0x43aae3}=this,{color:_0x1a77e9,name:_0x8ab6a4,ranges:_0x719b67}=this[_0x3134a1(0x201)],_0xfe99c0=_0x43aae3[_0x3134a1(0x28b)](),{docsLeft:_0xd5cafc,docsTop:_0x5a2d7c}=_0xfe99c0,_0x1a939e=new T[(_0x3134a1(0x2bc))](_0xfe99c0,_0x3b72c7);for(const {startOffset:_0x32cc53,endOffset:_0xf255e,rangeType:_0x5eaf24,segmentId:_0x12b6ec,segmentPage:_0x11b9bc,collapsed:_0x1fcde7,isActive:_0x77f747}of _0x719b67){const _0x5cb1be=_0x3b72c7[_0x3134a1(0x1c7)](_0x32cc53,!0x0,_0x12b6ec,_0x11b9bc);let _0x1b6822=_0x3b72c7[_0x3134a1(0x1c7)](_0xf255e,!0x0,_0x12b6ec,_0x11b9bc);if(_0x1b6822==null&&(_0x1b6822=_0x3b72c7[_0x3134a1(0x1c7)](_0xf255e-0x1,!0x1,_0x12b6ec,_0x11b9bc)),_0x77f747){const {contentBoxPointGroup:_0xc8886e}=_0x1a939e[_0x3134a1(0x378)](_0x1b6822,_0x1b6822);if(_0xc8886e['length']===0x0)continue;this[_0x3134a1(0x1be)](_0x1a77e9,_0xc8886e,_0xd5cafc,_0x5a2d7c,_0x8ab6a4),this[_0x3134a1(0x41e)]=this[_0x3134a1(0x189)]();}if(_0x5cb1be&&_0x1b6822){if(_0x5eaf24===a['DOC_RANGE_TYPE'][_0x3134a1(0x29b)]){const _0x25c19f=new T[(_0x3134a1(0x20e))](_0xfe99c0,_0x3b72c7),{pointGroup:_0x29cba8}=(_0x16d097=_0x25c19f[_0x3134a1(0x378)](_0x5cb1be,_0x1b6822))!=null?_0x16d097:{};if(_0x29cba8==null||_0x29cba8[_0x3134a1(0x342)]===0x0)continue;this[_0x3134a1(0x169)](_0x1a77e9,_0x29cba8,_0xd5cafc,_0x5a2d7c);}else{if(!_0x1fcde7){const {borderBoxPointGroup:_0x48ccf4}=_0x1a939e['getRangePointData'](_0x5cb1be,_0x1b6822);if(_0x48ccf4[_0x3134a1(0x342)]===0x0)continue;this['_drawTextRange'](_0x1a77e9,_0x48ccf4,_0xd5cafc,_0x5a2d7c);}}}}}[_0x537ad4(0x1be)](_0x2b02f9,_0x181889,_0x492eb2,_0xf0c35c,_0x3114c8){const _0xefeafd=_0x537ad4,_0x26c8e3=this[_0xefeafd(0x182)](_0x181889),{left:_0x312536,top:_0x48a6b5,height:_0x3d7a1b}=_0x26c8e3,_0x3a62ab=this[_0xefeafd(0x332)](),_0x7100e6=Nt/_0x3a62ab,_0x589646=new C[(_0xefeafd(0x3f9))](_e+a[_0xefeafd(0x17d)](H),{'left':_0x312536+_0x492eb2-_0x7100e6,'top':_0x48a6b5+_0xf0c35c,'height':_0x3d7a1b,'width':Dt,'fill':_0x2b02f9||C['getColor'](a['COLORS'][_0xefeafd(0x2e7)],0x0),'strokeWidth':_0x7100e6,'stroke':Ut,'evented':!0x0});this[_0xefeafd(0x3ad)]=_0x589646,this[_0xefeafd(0x410)][_0xefeafd(0x1c8)](_0x589646,T[_0xefeafd(0x335)]);const _0x4adba8=new C['Rect'](_e+a[_0xefeafd(0x17d)](H),{'left':_0x312536+_0x492eb2-_0x7100e6,'top':_0x48a6b5+_0xf0c35c-he/0x2,'height':he,'width':he,'fill':_0x2b02f9||C[_0xefeafd(0x2a0)](a[_0xefeafd(0x251)][_0xefeafd(0x2e7)],0x0),'strokeWidth':0x0,'stroke':_0x2b02f9||C[_0xefeafd(0x2a0)](a['COLORS']['black'],0x0),'evented':!0x1});this[_0xefeafd(0x369)]=_0x4adba8,this[_0xefeafd(0x410)][_0xefeafd(0x1c8)](_0x4adba8,T[_0xefeafd(0x335)]);const _0x3adb6d=new re(_e+a[_0xefeafd(0x17d)](H),{'left':_0x312536+_0x492eb2-_0x7100e6,'top':_0x48a6b5+_0xf0c35c-X,'text':_0x3114c8,'color':_0x2b02f9});this[_0xefeafd(0x3e5)]=_0x3adb6d,this[_0xefeafd(0x410)][_0xefeafd(0x1c8)](_0x3adb6d,T[_0xefeafd(0x335)]),this[_0xefeafd(0x2c1)]=!0x1;}[_0x537ad4(0x189)](){const _0x506b95=_0x537ad4,_0x4093e1=this['_anchor'][_0x506b95(0x19a)]['subscribeEvent'](()=>{const _0x418e2e=_0x506b95;this[_0x418e2e(0x2c1)]=!0x0;}),_0x28af30=this[_0x506b95(0x3ad)][_0x506b95(0x40f)]['subscribeEvent'](()=>{const _0x196b5c=_0x506b95;this[_0x196b5c(0x302)]&&clearTimeout(this[_0x196b5c(0x302)]),this['_hideTimer']=setTimeout(()=>{const _0x2c9bec=_0x196b5c;this[_0x2c9bec(0x2c1)]=!0x1;},0x7d0);});return()=>{const _0x753ebc=_0x506b95;_0x4093e1[_0x753ebc(0x238)](),_0x28af30[_0x753ebc(0x238)]();};}['_drawTextRange'](_0x54724e,_0x33fa34,_0x47182a,_0x4b6144){const _0x5b58b2=_0x537ad4,_0x323ff8=new a[(_0x5b58b2(0x281))](_0x54724e)[_0x5b58b2(0x21f)](0.2)[_0x5b58b2(0x3e1)](),_0x10f90d=new C[(_0x5b58b2(0x1b6))](Rt+a['generateRandomId'](H),{'pointsGroup':_0x33fa34,'fill':_0x323ff8||C[_0x5b58b2(0x2a0)](a['COLORS'][_0x5b58b2(0x2e7)],0.2),'left':_0x47182a,'top':_0x4b6144,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5b58b2(0x31a)](_0x10f90d),this[_0x5b58b2(0x410)]['addObject'](_0x10f90d,T[_0x5b58b2(0x335)]);}[_0x537ad4(0x169)](_0x595bcb,_0x4b540e,_0x251ab7,_0x4226cf){const _0x548d50=_0x537ad4,_0x15a9a3=new a[(_0x548d50(0x281))](_0x595bcb)[_0x548d50(0x21f)](0.2)[_0x548d50(0x3e1)](),_0x1c4121=new C[(_0x548d50(0x1b6))](bt+a[_0x548d50(0x17d)](H),{'pointsGroup':_0x4b540e,'fill':_0x15a9a3||C['getColor'](a[_0x548d50(0x251)][_0x548d50(0x2e7)],0.2),'left':_0x251ab7,'top':_0x4226cf,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x548d50(0x272)]['push'](_0x1c4121),this[_0x548d50(0x410)][_0x548d50(0x1c8)](_0x1c4121,T[_0x548d50(0x335)]);}['_getAnchorBounding'](_0x22299a){const _0x3e2559=_0x22299a[0x0],_0x1b5421=_0x3e2559[0x0],_0x5b2c17=_0x3e2559[0x2],{x:_0x460454,y:_0x322efd}=_0x1b5421,{x:_0x20dcb2,y:_0x1a7655}=_0x5b2c17;return{'left':_0x460454,'top':_0x322efd,'width':_0x20dcb2-_0x460454,'height':_0x1a7655-_0x322efd};}[_0x537ad4(0x332)](){const _0x20de4e=_0x537ad4,{scaleX:_0x5332ae,scaleY:_0x22e7d7}=this[_0x20de4e(0x410)][_0x20de4e(0x32d)]();return Math['max'](_0x5332ae,_0x22e7d7);}}var Lt=Object[_0x537ad4(0x1eb)],Mt=(_0x321a09,_0x250012,_0x458c00,_0x287514)=>{const _0x39591d=_0x537ad4;for(var _0x5daa35=_0x287514>0x1?void 0x0:_0x287514?Lt(_0x250012,_0x458c00):_0x250012,_0x2ad8e2=_0x321a09[_0x39591d(0x342)]-0x1,_0x2ae7ed;_0x2ad8e2>=0x0;_0x2ad8e2--)(_0x2ae7ed=_0x321a09[_0x2ad8e2])&&(_0x5daa35=_0x2ae7ed(_0x5daa35)||_0x5daa35);return _0x5daa35;},q=(_0x49bd70,_0x3088af)=>(_0x3be7ea,_0x5ad930)=>_0x3088af(_0x3be7ea,_0x5ad930,_0x49bd70);let Ee=class extends a[_0x537ad4(0x358)]{constructor(_0x95e55f,_0x1d3e14,_0x5565ce,_0x2d742f,_0x5361eb){const _0x38c613=_0x537ad4;super(),_(this,_0x38c613(0x162),[]),_(this,_0x38c613(0x21e),[]),(this[_0x38c613(0x356)]=_0x95e55f,this[_0x38c613(0x381)]=_0x1d3e14,this[_0x38c613(0x213)]=_0x5565ce,this['_commandService']=_0x2d742f,this[_0x38c613(0x425)]=_0x5361eb,this[_0x38c613(0x2fc)]());}[_0x537ad4(0x2fc)](){const _0x54205d=_0x537ad4,_0x189764=this['_context'][_0x54205d(0x304)],_0x2b7c15=this[_0x54205d(0x381)];this[_0x54205d(0x1b3)](I[_0x54205d(0x2a3)]([this[_0x54205d(0x213)]['getCollabCursors$'](_0x189764),this[_0x54205d(0x425)][_0x54205d(0x215)]])['pipe']($['map'](([_0x52d610,_0x15e869])=>({'skeleton':_0x2b7c15[_0x54205d(0x355)](),'cursors':[..._0x52d610[_0x54205d(0x24d)]()]['flatMap'](_0x23ec35=>({..._0x23ec35,'color':this['_themeService'][_0x54205d(0x217)](_0x23ec35['color'])}))})))[_0x54205d(0x33f)](_0x498e48=>{const _0x40b24f=_0x54205d;if(this[_0x40b24f(0x2ca)](),_0x498e48){const {skeleton:_0x26ef91,cursors:_0x33d7fe}=_0x498e48;this[_0x40b24f(0x292)](_0x26ef91,_0x33d7fe);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x537ad4(0x292)](_0x52e6a3,_0x4e9c38){const _0x174828=_0x537ad4,{scene:_0x18747d,mainComponent:_0x1f3683}=this[_0x174828(0x356)],_0x1bf98c=_0x4e9c38[_0x174828(0x264)](_0x26026b=>new Le(_0x26026b,_0x18747d,_0x52e6a3,_0x1f3683));this[_0x174828(0x162)]=_0x1bf98c,this['_cursors']=_0x4e9c38;}[_0x537ad4(0x1e8)](){const _0x1f6d6c=_0x537ad4;this[_0x1f6d6c(0x2ca)]();const {scene:_0x3b8652,mainComponent:_0x4e6bdb}=this[_0x1f6d6c(0x356)],_0x26dc0a=this[_0x1f6d6c(0x381)][_0x1f6d6c(0x355)](),_0xd64edf=this['_cursors'][_0x1f6d6c(0x264)](_0x3b88f0=>new Le(_0x3b88f0,_0x3b8652,_0x26dc0a,_0x4e6bdb));this[_0x1f6d6c(0x162)]=_0xd64edf;}[_0x537ad4(0x2ca)](){const _0xbd4da=_0x537ad4;this[_0xbd4da(0x162)]['forEach'](_0x4c0741=>_0x4c0741[_0xbd4da(0x25e)]()),this[_0xbd4da(0x162)]=[];}['_initCommandExecutedListener'](){const _0x54663d=_0x537ad4,_0x1998db=[T[_0x54663d(0x1bb)]['id']];this[_0x54663d(0x1b3)](this[_0x54663d(0x1af)][_0x54663d(0x2cf)](_0x1c44d3=>{const _0x3c6ab0=_0x54663d;_0x1998db['includes'](_0x1c44d3['id'])&&_0x1c44d3[_0x3c6ab0(0x2a9)][_0x3c6ab0(0x304)]===this[_0x3c6ab0(0x356)]['unitId']&&this[_0x3c6ab0(0x1e8)]();}));}[_0x537ad4(0x402)](){const _0x263de1=_0x537ad4;this[_0x263de1(0x1b3)](a['fromEventSubject'](this[_0x263de1(0x356)][_0x263de1(0x2ff)][_0x263de1(0x38d)])[_0x263de1(0x3d5)]($[_0x263de1(0x3da)](_0x2c685d=>_0x2c685d[_0x263de1(0x361)]===C[_0x263de1(0x185)]['resize']),$[_0x263de1(0x183)](0x10))[_0x263de1(0x33f)](()=>{const _0x3b9c9c=_0x263de1;this[_0x3b9c9c(0x1e8)]();}));}};Ee=Mt([q(0x1,a[_0x537ad4(0x405)](V[_0x537ad4(0x308)])),q(0x2,a[_0x537ad4(0x405)](F)),q(0x3,a[_0x537ad4(0x243)]),q(0x4,a[_0x537ad4(0x405)](a[_0x537ad4(0x261)]))],Ee);const At=0x1,Pt=1.5;class je extends C[_0x537ad4(0x25b)]{constructor(_0x4698c5,_0x566632){const _0x56d08f=_0x537ad4;super(_0x4698c5,_0x566632),_(this,_0x56d08f(0x2c2)),_(this,_0x56d08f(0x174),!0x1),_(this,_0x56d08f(0x31d)),_(this,_0x56d08f(0x2f8),''),_(this,_0x56d08f(0x2be),'top'),_(this,_0x56d08f(0x3a1)),(_0x566632&&this[_0x56d08f(0x1da)](_0x566632),this['onPointerEnter$'][_0x56d08f(0x197)](()=>this[_0x56d08f(0x1da)]({'hovered':!0x0})),this['onPointerLeave$'][_0x56d08f(0x197)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x537ad4(0x1da)](_0x5c8217){const _0x385855=_0x537ad4;var _0x5433e6,_0x491729,_0x5573ae,_0xd686d3,_0x1028d6,_0x291bcd;this[_0x385855(0x2c2)]=(_0x5433e6=_0x5c8217[_0x385855(0x375)])!=null?_0x5433e6:this[_0x385855(0x2c2)],this[_0x385855(0x174)]=(_0x491729=_0x5c8217[_0x385855(0x273)])!=null?_0x491729:this[_0x385855(0x174)],this[_0x385855(0x31d)]=(_0x5573ae=_0x5c8217[_0x385855(0x16c)])!=null?_0x5573ae:this['_range'],this['_name']=(_0xd686d3=_0x5c8217[_0x385855(0x36f)])!=null?_0xd686d3:this[_0x385855(0x2f8)],this[_0x385855(0x2be)]=(_0x1028d6=_0x5c8217[_0x385855(0x1d4)])!=null?_0x1028d6:this[_0x385855(0x2be)],this[_0x385855(0x3a1)]=(_0x291bcd=_0x5c8217[_0x385855(0x36c)])!=null?_0x291bcd:this['_backgroundColor'],this[_0x385855(0x22c)]({'width':_0x5c8217[_0x385855(0x2ac)],'height':_0x5c8217['height']});}['onMouseMove'](_0x32f21a){const _0x24568e=_0x537ad4,{row:_0x30b2b4,column:_0x51cc50}=_0x32f21a;if(_0x30b2b4>=this[_0x24568e(0x31d)][_0x24568e(0x393)]&&_0x30b2b4<=this[_0x24568e(0x31d)][_0x24568e(0x41f)]&&_0x51cc50>=this['_range'][_0x24568e(0x32c)]&&_0x51cc50<=this[_0x24568e(0x31d)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x24568e(0x1da)]({'hovered':!0x1});}[_0x537ad4(0x1f5)](_0x4ecaff){return!0x1;}[_0x537ad4(0x1a3)](_0x36911b){const _0x199ed9=_0x537ad4;C['Rect'][_0x199ed9(0x3b3)](_0x36911b,{'width':this[_0x199ed9(0x2ac)],'height':this[_0x199ed9(0x362)],'strokeWidth':Pt,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x199ed9(0x3a1)]}),this['_hovered']&&(_0x36911b[_0x199ed9(0x39e)](),_0x36911b[_0x199ed9(0x2ec)](0x1,0x0,0x0,0x1,this['width'],this[_0x199ed9(0x2be)]===_0x199ed9(0x37c)?0x0:-X),re['drawWith'](_0x36911b,{'text':this[_0x199ed9(0x2f8)],'color':this[_0x199ed9(0x2c2)]}),_0x36911b[_0x199ed9(0x20d)]());}}var wt=Object[_0x537ad4(0x1eb)],yt=(_0x4632e9,_0xd4b83a,_0x322f6c,_0xa4a3b2)=>{const _0x2fb861=_0x537ad4;for(var _0x3dbd8f=_0xa4a3b2>0x1?void 0x0:_0xa4a3b2?wt(_0xd4b83a,_0x322f6c):_0xd4b83a,_0x4e10d2=_0x4632e9[_0x2fb861(0x342)]-0x1,_0x1cfd4e;_0x4e10d2>=0x0;_0x4e10d2--)(_0x1cfd4e=_0x4632e9[_0x4e10d2])&&(_0x3dbd8f=_0x1cfd4e(_0x3dbd8f)||_0x3dbd8f);return _0x3dbd8f;},ue=(_0x448137,_0x3e4885)=>(_0x4f90a2,_0x278569)=>_0x3e4885(_0x4f90a2,_0x278569,_0x448137);const $t=0x1389;let Ce=class extends a[_0x537ad4(0x358)]{constructor(_0x1b3b4e,_0x18a83d,_0x4d17e0,_0x3b2cd6){const _0x4ce46e=_0x537ad4;super(),_(this,_0x4ce46e(0x21e),new Set()),_(this,'_lastPointer',null),(this['_context']=_0x1b3b4e,this['_sheetSkeletonManagerService']=_0x18a83d,this[_0x4ce46e(0x213)]=_0x4d17e0,this[_0x4ce46e(0x425)]=_0x3b2cd6,this['_init']());}[_0x537ad4(0x2fc)](){const _0x3d9100=_0x537ad4;this[_0x3d9100(0x2d3)][_0x3d9100(0x25d)]['pipe']($[_0x3d9100(0x2e9)](this['dispose$']),$[_0x3d9100(0x34c)](_0x214c5f=>{const _0x594d83=_0x3d9100;if(_0x214c5f){const _0x129504=_0x214c5f[_0x594d83(0x27d)];return I[_0x594d83(0x2a3)](this[_0x594d83(0x213)]['getCollabCursors$'](this[_0x594d83(0x356)][_0x594d83(0x304)]),this[_0x594d83(0x425)][_0x594d83(0x215)])[_0x594d83(0x3d5)]($[_0x594d83(0x264)](([_0x2509bd,_0x455f])=>{const _0x44172d=_0x594d83,_0x17016e=new Map();return _0x2509bd[_0x44172d(0x339)]((_0x3f302f,_0x123d97)=>{const _0x73ec9e=_0x44172d;if(_0x3f302f[_0x73ec9e(0x1a4)]===_0x129504){const _0x26a581={..._0x3f302f};_0x26a581[_0x73ec9e(0x375)]=this['_themeService'][_0x73ec9e(0x217)](_0x3f302f['color']),_0x17016e['set'](_0x123d97,_0x26a581);}}),{'skeleton':_0x214c5f,'cursors':_0x17016e};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))[_0x3d9100(0x33f)](({skeleton:_0x5e9710,cursors:_0x29450a})=>{const _0x744d8f=_0x3d9100;this['_removeCollabCursors'](),_0x5e9710&&this[_0x744d8f(0x292)](_0x5e9710,_0x29450a);}),this[_0x3d9100(0x2d3)]['currentSkeleton$'][_0x3d9100(0x33f)](_0x3222a5=>{const _0x23016d=_0x3d9100;if(_0x3222a5==null)return;const {skeleton:_0x5e9857}=_0x3222a5,{scene:_0x2a6fea}=this['_context'];_0x2a6fea[_0x23016d(0x2d2)][_0x23016d(0x197)](a['debounce'](_0x318104=>{const _0x36bd9f=_0x23016d;var _0x5da574,_0x207b53;const {offsetX:_0x3e6348,offsetY:_0x123295}=_0x318104,{x:_0x2d44c1,y:_0x4f8c24}=_0x2a6fea[_0x36bd9f(0x19f)](C[_0x36bd9f(0x421)][_0x36bd9f(0x28e)]([_0x3e6348,_0x123295])),{scaleX:_0x410f20,scaleY:_0x510cce}=_0x2a6fea[_0x36bd9f(0x32d)](),_0x291933=_0x2a6fea[_0x36bd9f(0x291)](C[_0x36bd9f(0x2af)][_0x36bd9f(0x1d9)]),_0x3d1067=_0x2a6fea[_0x36bd9f(0x283)](C[_0x36bd9f(0x421)][_0x36bd9f(0x28e)]([_0x2d44c1,_0x4f8c24]),_0x291933),_0x3f1228=_0x5e9857[_0x36bd9f(0x18d)](_0x3e6348,_0x123295,_0x410f20,_0x510cce,_0x3d1067);((_0x5da574=this[_0x36bd9f(0x188)])==null?void 0x0:_0x5da574['column'])===_0x3f1228[_0x36bd9f(0x236)]&&((_0x207b53=this[_0x36bd9f(0x188)])==null?void 0x0:_0x207b53['row'])===_0x3f1228[_0x36bd9f(0x27e)]||this['_cursors'][_0x36bd9f(0x339)](_0x528b5f=>{const _0x99eb12=_0x36bd9f;_0x528b5f[_0x99eb12(0x2dc)](_0x3f1228);});},0x64));});}[_0x537ad4(0x292)](_0x32514e,_0x3e833e){const _0x3c9967=_0x537ad4;var _0x5ab0bb;const _0x100266=(_0x5ab0bb=this[_0x3c9967(0x2d3)]['getCurrent']())==null?void 0x0:_0x5ab0bb[_0x3c9967(0x303)];if(!_0x100266)return;const _0x382d93=this[_0x3c9967(0x26d)]();if(!_0x382d93)return;this['_cursors']['forEach'](_0x20252e=>{_0x20252e['makeDirty']();});const {scene:_0x24b95b}=_0x382d93,_0x4dd78=xt(Array[_0x3c9967(0x239)](_0x3e833e[_0x3c9967(0x24d)]()))[_0x3c9967(0x264)](_0x1b139b=>{const _0x4fd795=_0x3c9967,{color:_0x38aad4,range:_0x537b1d,name:_0x1fdd66,selection:_0x2d6d9a,sheetID:_0x52352b}=_0x1b139b,{startColumn:_0x2b42fc,startRow:_0xd7e6be,endColumn:_0x40ed34,endRow:_0x54576a}=_0x537b1d,_0x4efcfb=J['getCoordByCell'](_0xd7e6be,_0x2b42fc,_0x24b95b,_0x100266),_0x209092=J['getCoordByCell'](_0x54576a,_0x40ed34,_0x24b95b,_0x100266),{columnHeaderHeightAndMarginTop:_0x39a862}=_0x100266,{startX:_0x45a01d,startY:_0x4d9d2c}=_0x4efcfb,{endX:_0x5a0939,endY:_0x5d1534}=_0x209092,_0x468458=_0x5a0939-_0x45a01d,_0x5d21cb=_0x5d1534-_0x4d9d2c,_0x34b801={'labelPosition':_0x4d9d2c-_0x39a862>=X?_0x4fd795(0x1cc):_0x4fd795(0x37c),'sheetID':_0x52352b,'range':_0x537b1d,'color':_0x38aad4,'name':_0x1fdd66,'selection':_0x2d6d9a,'left':_0x45a01d,'top':_0x4d9d2c,'width':_0x468458,'height':_0x5d21cb,'evented':!0x1,'zIndex':$t};return new je(_0x1fdd66,_0x34b801);});_0x24b95b[_0x3c9967(0x411)](_0x4dd78,At),this[_0x3c9967(0x21e)]=new Set(_0x4dd78);}['_removeCollabCursors'](){const _0x3e20d5=_0x537ad4;var _0x1f9c87;(_0x1f9c87=this['_cursors'])==null||_0x1f9c87[_0x3e20d5(0x339)](_0x4aa120=>_0x4aa120[_0x3e20d5(0x25e)]());}[_0x537ad4(0x26d)](){const _0x208447=_0x537ad4;return J[_0x208447(0x327)](this['_context'][_0x208447(0x313)],this[_0x208447(0x356)]);}};Ce=yt([ue(0x1,a['Inject'](J['SheetSkeletonManagerService'])),ue(0x2,a[_0x537ad4(0x405)](F)),ue(0x3,a[_0x537ad4(0x405)](a['ThemeService']))],Ce);function xt(_0x65ab55){const _0x38d7ef=_0x537ad4,_0x5b695d=new Map();return _0x65ab55['forEach'](_0x5f36ab=>{const _0x57e671=_0x1db4;if(_0x5b695d[_0x57e671(0x207)](_0x5f36ab[_0x57e671(0x34d)])){const _0x22f2c8=_0x5b695d['get'](_0x5f36ab[_0x57e671(0x34d)]);_0x22f2c8['name']+=',\x20'+_0x5f36ab[_0x57e671(0x36f)];}else _0x5b695d[_0x57e671(0x178)](_0x5f36ab[_0x57e671(0x34d)],_0x5f36ab);}),Array['from'](_0x5b695d[_0x38d7ef(0x24d)]());}var Bt=Object['getOwnPropertyDescriptor'],Ft=(_0x49cc32,_0x2fd4ba,_0x4d89c5,_0x2505ff)=>{for(var _0x46eca7=_0x2505ff>0x1?void 0x0:_0x2505ff?Bt(_0x2fd4ba,_0x4d89c5):_0x2fd4ba,_0x2340b6=_0x49cc32['length']-0x1,_0x17f89c;_0x2340b6>=0x0;_0x2340b6--)(_0x17f89c=_0x49cc32[_0x2340b6])&&(_0x46eca7=_0x17f89c(_0x46eca7)||_0x46eca7);return _0x46eca7;},y=(_0x196464,_0xbd166a)=>(_0xeb59db,_0x491f6a)=>_0xbd166a(_0xeb59db,_0x491f6a,_0x196464);let Z=class extends a[_0x537ad4(0x26b)]{constructor(_0x4e2790,_0x41ff46,_0x56c753,_0x45bb4a,_0x44ecf2,_0x2903f6){const _0x2a80b6=_0x537ad4;super(),this[_0x2a80b6(0x417)]=_0x4e2790,this['_localCacheService']=_0x41ff46,this[_0x2a80b6(0x3c9)]=_0x56c753,this[_0x2a80b6(0x338)]=_0x45bb4a,this[_0x2a80b6(0x349)]=_0x44ecf2,this[_0x2a80b6(0x31f)]=_0x2903f6,this['_setupBeforeClosingHandler'](),this[_0x2a80b6(0x212)]();}[_0x537ad4(0x205)](){const _0x559728=_0x537ad4;this[_0x559728(0x1b3)](this['_beforeCloseService'][_0x559728(0x30c)](()=>{const _0x2f2e09=_0x559728;if(this['_localCacheService'][_0x2f2e09(0x419)][_0x2f2e09(0x23f)])return this[_0x2f2e09(0x31f)]['t'](_0x2f2e09(0x3c6));}));}[_0x537ad4(0x212)](){const _0x3453bf=_0x537ad4;this[_0x3453bf(0x1b3)](this['_collaborationUIEventService'][_0x3453bf(0x175)]['subscribe'](_0xfaafaa=>{const _0x1e29f8=_0x3453bf;_0xfaafaa['id']===u['CollaborationUIEventId'][_0x1e29f8(0x3b1)]&&this[_0x1e29f8(0x338)][_0x1e29f8(0x414)]({'type':p[_0x1e29f8(0x2b2)][_0x1e29f8(0x2e0)],'content':this[_0x1e29f8(0x31f)]['t'](_0x1e29f8(0x428))}),_0xfaafaa['id']===u['CollaborationUIEventId'][_0x1e29f8(0x18b)]&&this[_0x1e29f8(0x338)][_0x1e29f8(0x414)]({'type':p['MessageType'][_0x1e29f8(0x2e0)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0xfaafaa['id']===u[_0x1e29f8(0x186)][_0x1e29f8(0x2cb)]&&this[_0x1e29f8(0x349)][_0x1e29f8(0x414)]({'title':this[_0x1e29f8(0x31f)]['t'](_0x1e29f8(0x279)),'content':this[_0x1e29f8(0x31f)]['t'](_0x1e29f8(0x187)),'type':_0x1e29f8(0x334),'duration':0x0}),_0xfaafaa['id']===u['CollaborationUIEventId'][_0x1e29f8(0x257)]&&this['_messageService'][_0x1e29f8(0x414)]({'type':p['MessageType'][_0x1e29f8(0x2fa)],'content':this[_0x1e29f8(0x31f)]['t'](_0x1e29f8(0x3b9))+'('+_0xfaafaa[_0x1e29f8(0x35e)]+')'}),_0xfaafaa['id']===u['CollaborationUIEventId'][_0x1e29f8(0x2a6)]&&this['_messageService'][_0x1e29f8(0x414)]({'type':p['MessageType']['Warning'],'content':this[_0x1e29f8(0x31f)]['t'](_0xfaafaa[_0x1e29f8(0x35e)]||'')}),_0xfaafaa['id']===u['CollaborationUIEventId'][_0x1e29f8(0x2d0)]&&this[_0x1e29f8(0x338)][_0x1e29f8(0x414)]({'type':p[_0x1e29f8(0x2b2)]['Warning'],'content':this[_0x1e29f8(0x31f)]['t'](_0x1e29f8(0x2c6))}),_0xfaafaa['id']===u['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x1e29f8(0x338)][_0x1e29f8(0x414)]({'type':p[_0x1e29f8(0x2b2)][_0x1e29f8(0x2fa)],'content':this[_0x1e29f8(0x31f)]['t']('session.connection-failed')}),_0xfaafaa['id']===u[_0x1e29f8(0x186)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x1e29f8(0x414)]({'type':p[_0x1e29f8(0x2b2)][_0x1e29f8(0x2fa)],'content':this[_0x1e29f8(0x31f)]['t'](_0x1e29f8(0x1f6))});}));}};Z=Ft([y(0x0,O['IBeforeCloseService']),y(0x1,u[_0x537ad4(0x275)]),y(0x2,a[_0x537ad4(0x405)](u[_0x537ad4(0x1ec)])),y(0x3,O['IMessageService']),y(0x4,O[_0x537ad4(0x37b)]),y(0x5,a[_0x537ad4(0x405)](a[_0x537ad4(0x1d6)]))],Z);var jt=Object['getOwnPropertyDescriptor'],kt=(_0x1e006e,_0x1f14d7,_0x5686bf,_0x9ed0de)=>{const _0xa782c0=_0x537ad4;for(var _0x28d9de=_0x9ed0de>0x1?void 0x0:_0x9ed0de?jt(_0x1f14d7,_0x5686bf):_0x1f14d7,_0x32d43b=_0x1e006e[_0xa782c0(0x342)]-0x1,_0x6aab69;_0x32d43b>=0x0;_0x32d43b--)(_0x6aab69=_0x1e006e[_0x32d43b])&&(_0x28d9de=_0x6aab69(_0x28d9de)||_0x28d9de);return _0x28d9de;},z=(_0x3139c0,_0x4d0c05)=>(_0x57678d,_0x52484b)=>_0x4d0c05(_0x57678d,_0x52484b,_0x3139c0);let Q=class extends a['Disposable']{constructor(_0xb9187a,_0xf5cf3b,_0x832153,_0x4f6095){const _0x5d6db5=_0x537ad4;super(),_(this,'_memberID'),(this['_injector']=_0xb9187a,this['_httpService']=_0xf5cf3b,this[_0x5d6db5(0x27c)]=_0x832153,this[_0x5d6db5(0x282)]=_0x4f6095,this['_init']());}[_0x537ad4(0x2fc)](){const _0x27075f=_0x537ad4;this['_initWindowErrorListener'](),this[_0x27075f(0x16a)](),this[_0x27075f(0x161)](),this[_0x27075f(0x1d8)]();}['_initUserListener'](){const _0x30f9cb=_0x537ad4;this[_0x30f9cb(0x1b3)](this[_0x30f9cb(0x282)][_0x30f9cb(0x1ca)]['subscribe'](_0xe52133=>{const _0x423df0=_0x30f9cb;this['_memberID']=_0xe52133==null?void 0x0:_0xe52133[_0x423df0(0x403)];}));}[_0x537ad4(0x22a)](){const _0x3e8bb5=_0x537ad4,_0x2cf71e=_0x18c356=>{const _0x492c5a=_0x1db4;var _0x31e7f8;this[_0x492c5a(0x357)]('error',_0x492c5a(0x3bc)+_0x18c356[_0x492c5a(0x1a0)]+_0x492c5a(0x420)+_0x18c356['filename']+':'+_0x18c356['lineno']+':'+_0x18c356[_0x492c5a(0x1fc)]+'\x0a'+(((_0x31e7f8=_0x18c356[_0x492c5a(0x334)])==null?void 0x0:_0x31e7f8[_0x492c5a(0x235)])||''));};window[_0x3e8bb5(0x172)]('error',_0x2cf71e),this['disposeWithMe'](()=>{const _0x7dce5c=_0x3e8bb5;window[_0x7dce5c(0x167)](_0x7dce5c(0x334),_0x2cf71e);});}[_0x537ad4(0x16a)](){const _0xe1ebc0=_0x537ad4,_0x1b7928=_0xf0bedf=>{const _0x49e5ea=_0x1db4;this['_uploadLog']('error',_0x49e5ea(0x23a)+_0xf0bedf['reason']);};window['addEventListener'](_0xe1ebc0(0x412),_0x1b7928),this[_0xe1ebc0(0x1b3)](()=>{const _0x365006=_0xe1ebc0;window['removeEventListener'](_0x365006(0x412),_0x1b7928);});}[_0x537ad4(0x161)](){const _0x2056ff=_0x537ad4,_0xbc5b20=this[_0x2056ff(0x27c)][_0x2056ff(0x334)][_0x2056ff(0x1fa)](this[_0x2056ff(0x27c)]);this[_0x2056ff(0x27c)][_0x2056ff(0x334)]=(..._0x91bce8)=>{const _0x40b4d9=_0x2056ff,_0x595b18=_0x91bce8[_0x40b4d9(0x264)](_0x2652a9=>_0x2652a9 instanceof Error?_0x2652a9[_0x40b4d9(0x1a0)]+'\x0a'+_0x2652a9[_0x40b4d9(0x235)]:String(_0x2652a9))['join']('\x20');this['_uploadLog'](_0x40b4d9(0x334),_0x40b4d9(0x250)+_0x595b18),_0xbc5b20(..._0x91bce8);},this['disposeWithMe'](()=>{const _0xa812d4=_0x2056ff;this[_0xa812d4(0x27c)][_0xa812d4(0x334)]=_0xbc5b20;});}[_0x537ad4(0x357)](_0x3c1bfb,_0xb95dc1){const _0x1b8643=_0x537ad4;try{const _0x343b1e={'userId':this[_0x1b8643(0x398)],'logLabel':_0x3c1bfb,'content':_0xb95dc1};this[_0x1b8643(0x28d)]['post'](_0x1b8643(0x19e),{'body':_0x343b1e})[_0x1b8643(0x29c)](()=>{});}catch{}}};Q=kt([z(0x0,a[_0x537ad4(0x405)](a['Injector'])),z(0x1,a[_0x537ad4(0x405)](x[_0x537ad4(0x18c)])),z(0x2,a['ILogService']),z(0x3,a['Inject'](u[_0x537ad4(0x2b7)]))],Q);const Yt='collaboration-client-ui.config',Me={};var Ht=Object['getOwnPropertyDescriptor'],Wt=(_0x26484c,_0x581038,_0x3b3b0a,_0x6bb7e3)=>{for(var _0x3fb35b=_0x6bb7e3>0x1?void 0x0:_0x6bb7e3?Ht(_0x581038,_0x3b3b0a):_0x581038,_0x34d7be=_0x26484c['length']-0x1,_0x104196;_0x34d7be>=0x0;_0x34d7be--)(_0x104196=_0x26484c[_0x34d7be])&&(_0x3fb35b=_0x104196(_0x3fb35b)||_0x3fb35b);return _0x3fb35b;},Ae=(_0xe0ef,_0x4d36c7)=>(_0x52def9,_0x4d11fe)=>_0x4d36c7(_0x52def9,_0x4d11fe,_0xe0ef);let ee=class{constructor(_0xa2ef,_0x392e2a){const _0x5589b9=_0x537ad4;this['_transformService']=_0xa2ef,this[_0x5589b9(0x3a9)]=_0x392e2a;}[_0x537ad4(0x22b)](_0x18a256){const _0x250d3b=_0x537ad4;this[_0x250d3b(0x27b)](_0x18a256),this[_0x250d3b(0x40a)](_0x18a256);}[_0x537ad4(0x37e)](_0x4401eb){const _0x5d6482=_0x537ad4,{unitID:_0x115e15}=_0x4401eb,_0xeccc31=this['_renderManagerService'][_0x5d6482(0x25f)](_0x115e15)[_0x5d6482(0x202)](T[_0x5d6482(0x2d6)]),{redoCache:_0x4bf96}=_0xeccc31[_0x5d6482(0x2e6)]();if(_0x4bf96[_0x5d6482(0x342)]===0x0)return _0x4401eb;let _0x61fab1=a[_0x5d6482(0x1a8)][_0x5d6482(0x1b0)](_0x4401eb[_0x5d6482(0x1b7)][0x0]);for(let _0xf7afb7=0x0;_0xf7afb7<_0x4bf96[_0x5d6482(0x342)];_0xf7afb7++){const _0x4a56bd={'id':_0x5d6482(0x2e8),'params':{..._0x4bf96[_0xf7afb7]}},_0x4235fa=this[_0x5d6482(0x270)]['transformMutation'](_0x61fab1,_0x4a56bd,!0x1);if(g['isTransformMutationFailure'](_0x4235fa))throw _0x4235fa[_0x5d6482(0x334)];_0x61fab1=_0x4235fa[_0x5d6482(0x310)];}return{...a[_0x5d6482(0x1a8)][_0x5d6482(0x1b0)](_0x4401eb),'mutations':[_0x61fab1]};}[_0x537ad4(0x27b)](_0x16179f){const _0xa7255b=_0x537ad4,{unitID:_0x7ba7ed}=_0x16179f,_0x1dab30=this[_0xa7255b(0x3a9)][_0xa7255b(0x25f)](_0x7ba7ed)[_0xa7255b(0x202)](T[_0xa7255b(0x2d6)]),{undoCache:_0x99514,redoCache:_0x23fe42}=_0x1dab30[_0xa7255b(0x2e6)]();if(_0x99514['length']===0x0||_0x23fe42[_0xa7255b(0x342)]===0x0)return;const _0x3925c1=[],_0x1de6b6=[];let _0x5afedd=a[_0xa7255b(0x1a8)][_0xa7255b(0x1b0)](_0x16179f[_0xa7255b(0x1b7)][0x0]),_0x3e95f0=a[_0xa7255b(0x1a8)]['deepClone'](_0x16179f[_0xa7255b(0x1b7)][0x0]);for(let _0x25ed37=_0x99514[_0xa7255b(0x342)]-0x1;_0x25ed37>=0x0;_0x25ed37--){const _0xc8aaa6={'id':_0xa7255b(0x2e8),'params':{..._0x99514[_0x25ed37]}},_0x1817bd={'id':_0xa7255b(0x2e8),'params':{..._0x23fe42[_0x25ed37]}},_0x255eab=this[_0xa7255b(0x270)][_0xa7255b(0x30e)](_0x5afedd,_0xc8aaa6,!0x1),_0x1813cd=this['_transformService'][_0xa7255b(0x30e)](_0x3e95f0,_0x1817bd,!0x1);if(g[_0xa7255b(0x41d)](_0x255eab))throw _0x255eab[_0xa7255b(0x334)];if(g['isTransformMutationFailure'](_0x1813cd))throw _0x1813cd[_0xa7255b(0x334)];_0x3925c1[_0xa7255b(0x365)](_0x255eab[_0xa7255b(0x39d)][_0xa7255b(0x2a9)]),_0x1de6b6[_0xa7255b(0x365)](_0x1813cd[_0xa7255b(0x39d)][_0xa7255b(0x2a9)]),_0x5afedd=_0x255eab[_0xa7255b(0x310)],_0x3e95f0=_0x1813cd[_0xa7255b(0x310)];}_0x1dab30[_0xa7255b(0x3fd)]({'undoCache':_0x3925c1,'redoCache':_0x1de6b6});}['_transformPreviousActiveRange'](_0x75a08c){const _0x5f088e=_0x537ad4,{unitID:_0x52b2d8}=_0x75a08c,_0x5f5001=this[_0x5f088e(0x3a9)][_0x5f088e(0x25f)](_0x52b2d8)[_0x5f088e(0x202)](T['DocIMEInputManagerService']),_0x966d49=_0x5f5001[_0x5f088e(0x21c)]();if(_0x966d49==null)return;const _0x71edc0=[{'id':_0x5f088e(0x2e8),'params':{'unitId':_0x75a08c['unitID'],'actions':null,'textRanges':[_0x966d49]}}],_0x451e68=this[_0x5f088e(0x270)][_0x5f088e(0x396)](_0x75a08c,_0x71edc0);if(!g[_0x5f088e(0x389)](_0x451e68))throw _0x451e68[_0x5f088e(0x334)];const _0x2bea6b=_0x451e68[_0x5f088e(0x39d)][0x0][_0x5f088e(0x2a9)][_0x5f088e(0x25a)];Array[_0x5f088e(0x1d7)](_0x2bea6b)&&_0x2bea6b[_0x5f088e(0x342)]&&_0x5f5001[_0x5f088e(0x227)](_0x2bea6b[0x0]);}};ee=Wt([Ae(0x0,g['ITransformService']),Ae(0x1,C['IRenderManagerService'])],ee);var Vt=Object[_0x537ad4(0x1eb)],Gt=(_0x96adc5,_0x44e02f,_0x51882e,_0x4b399d)=>{const _0x59242b=_0x537ad4;for(var _0x27089b=_0x4b399d>0x1?void 0x0:_0x4b399d?Vt(_0x44e02f,_0x51882e):_0x44e02f,_0x56968d=_0x96adc5[_0x59242b(0x342)]-0x1,_0x365716;_0x56968d>=0x0;_0x56968d--)(_0x365716=_0x96adc5[_0x56968d])&&(_0x27089b=_0x365716(_0x27089b)||_0x27089b);return _0x27089b;},Ie=(_0x16d3e0,_0x2e70df)=>(_0x2cfd67,_0x270e16)=>_0x2e70df(_0x2cfd67,_0x270e16,_0x16d3e0);let te=class{constructor(_0x1d8be0,_0x46714a,_0x4dccb0){const _0x453fc1=_0x537ad4;this['_injector']=_0x1d8be0,this['_transformService']=_0x46714a,this[_0x453fc1(0x382)]=_0x4dccb0;}[_0x537ad4(0x351)](_0x441cf7){const _0x574c72=_0x537ad4;this[_0x574c72(0x3f2)](_0x441cf7);}[_0x537ad4(0x37e)](_0x4f306c){const _0x501a73=_0x537ad4,{unitID:_0x4db487}=_0x4f306c,{collaboration:_0x12f0b2}=this[_0x501a73(0x382)][_0x501a73(0x31c)](_0x4db487);if(_0x12f0b2[_0x501a73(0x342)]===0x0)return _0x4f306c;let _0x57de0c=a[_0x501a73(0x1a8)][_0x501a73(0x1b0)](_0x4f306c[_0x501a73(0x1b7)][0x0]);for(let _0x3af5b2=0x0;_0x3af5b2<_0x12f0b2[_0x501a73(0x342)];_0x3af5b2++){const _0x505179={'id':_0x501a73(0x2e8),'params':{'unitId':_0x12f0b2[_0x3af5b2][_0x501a73(0x304)],..._0x12f0b2[_0x3af5b2][_0x501a73(0x168)]}},_0x49dbd8=this[_0x501a73(0x270)]['transformMutation'](_0x57de0c,_0x505179,!0x1);if(g[_0x501a73(0x41d)](_0x49dbd8))throw _0x49dbd8['error'];_0x57de0c=_0x49dbd8[_0x501a73(0x310)];}return{...a[_0x501a73(0x1a8)][_0x501a73(0x1b0)](_0x4f306c),'mutations':[_0x57de0c]};}['_transformHistoryAndStateStack'](_0x89cb88){const _0x5ba9b4=_0x537ad4,{unitID:_0x187ff5}=_0x89cb88,{history:_0xb44359,collaboration:_0x2bd713}=this[_0x5ba9b4(0x382)][_0x5ba9b4(0x31c)](_0x187ff5);if(_0xb44359['length']===0x0&&_0x2bd713[_0x5ba9b4(0x342)]===0x0)return;const _0x1568a7=[],_0x2ea747=[];let _0x418b3a=a[_0x5ba9b4(0x1a8)][_0x5ba9b4(0x1b0)](_0x89cb88[_0x5ba9b4(0x1b7)][0x0]),_0x3db850=a['Tools'][_0x5ba9b4(0x1b0)](_0x89cb88[_0x5ba9b4(0x1b7)][0x0]);for(let _0x39401c=_0xb44359[_0x5ba9b4(0x342)]-0x1;_0x39401c>=0x0;_0x39401c--){const _0x1ceb58={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb44359[_0x39401c][_0x5ba9b4(0x304)],..._0xb44359[_0x39401c][_0x5ba9b4(0x1ae)]}},_0x344d25={'id':_0x5ba9b4(0x2e8),'params':{'unitId':_0xb44359[_0x39401c]['unitId'],..._0xb44359[_0x39401c]['redoState']}},_0x2f1afd=this[_0x5ba9b4(0x270)]['transformMutation'](_0x418b3a,_0x1ceb58,!0x1),_0x13d1da=this[_0x5ba9b4(0x270)]['transformMutation'](_0x3db850,_0x344d25,!0x1);if(g[_0x5ba9b4(0x41d)](_0x2f1afd))throw _0x2f1afd[_0x5ba9b4(0x334)];if(g[_0x5ba9b4(0x41d)](_0x13d1da))throw _0x13d1da[_0x5ba9b4(0x334)];_0x1568a7[_0x5ba9b4(0x365)]({..._0xb44359[_0x39401c],'undoState':_0x2f1afd[_0x5ba9b4(0x39d)][_0x5ba9b4(0x2a9)],'redoState':_0x13d1da[_0x5ba9b4(0x39d)]['params']}),_0x418b3a=_0x2f1afd['m1Prime'],_0x3db850=_0x13d1da[_0x5ba9b4(0x310)];}_0x418b3a=a['Tools'][_0x5ba9b4(0x1b0)](_0x89cb88['mutations'][0x0]),_0x3db850=a[_0x5ba9b4(0x1a8)]['deepClone'](_0x89cb88[_0x5ba9b4(0x1b7)][0x0]);for(let _0x5c8947=_0x2bd713[_0x5ba9b4(0x342)]-0x1;_0x5c8947>=0x0;_0x5c8947--){const _0x255a8f={'id':_0x5ba9b4(0x2e8),'params':{'unitId':_0x2bd713[_0x5c8947][_0x5ba9b4(0x304)],..._0x2bd713[_0x5c8947][_0x5ba9b4(0x1ae)]}},_0x7a0402={'id':_0x5ba9b4(0x2e8),'params':{'unitId':_0x2bd713[_0x5c8947][_0x5ba9b4(0x304)],..._0x2bd713[_0x5c8947][_0x5ba9b4(0x168)]}},_0x5b5b89=this[_0x5ba9b4(0x270)][_0x5ba9b4(0x30e)](_0x418b3a,_0x255a8f,!0x1),_0x36ee3b=this[_0x5ba9b4(0x270)][_0x5ba9b4(0x30e)](_0x3db850,_0x7a0402,!0x1);if(g[_0x5ba9b4(0x41d)](_0x5b5b89))throw _0x5b5b89[_0x5ba9b4(0x334)];if(g[_0x5ba9b4(0x41d)](_0x36ee3b))throw _0x36ee3b[_0x5ba9b4(0x334)];_0x2ea747[_0x5ba9b4(0x365)]({..._0x2bd713[_0x5c8947],'undoState':_0x5b5b89[_0x5ba9b4(0x39d)]['params'],'redoState':_0x36ee3b[_0x5ba9b4(0x39d)][_0x5ba9b4(0x2a9)]}),_0x418b3a=_0x5b5b89[_0x5ba9b4(0x310)],_0x3db850=_0x36ee3b['m1Prime'];}this[_0x5ba9b4(0x382)][_0x5ba9b4(0x17f)](_0x187ff5,{'history':_0x1568a7,'collaboration':_0x2ea747});}};te=Gt([Ie(0x0,a[_0x537ad4(0x405)](a['Injector'])),Ie(0x1,g[_0x537ad4(0x2da)]),Ie(0x2,a[_0x537ad4(0x405)](T[_0x537ad4(0x3fc)]))],te);var Xt=Object[_0x537ad4(0x1eb)],Kt=(_0x288df3,_0xca5b67,_0x2b1ffc,_0x366a43)=>{for(var _0x270480=_0x366a43>0x1?void 0x0:_0x366a43?Xt(_0xca5b67,_0x2b1ffc):_0xca5b67,_0x3eaa65=_0x288df3['length']-0x1,_0x25467c;_0x3eaa65>=0x0;_0x3eaa65--)(_0x25467c=_0x288df3[_0x3eaa65])&&(_0x270480=_0x25467c(_0x270480)||_0x270480);return _0x270480;},Pe=(_0x112dd3,_0x3d9a19)=>(_0x468ab0,_0x2cfe76)=>_0x3d9a19(_0x468ab0,_0x2cfe76,_0x112dd3);let se=class{constructor(_0x2a847a,_0x120e2b){const _0x1fd77d=_0x537ad4;this[_0x1fd77d(0x3cf)]=_0x2a847a,this[_0x1fd77d(0x270)]=_0x120e2b;}['transformSelections'](_0x1d0132){const _0x282710=_0x537ad4;var _0x54ec93;const _0x5c8b48=this[_0x282710(0x3cf)]['get'](V['DocSelectionManagerService']),_0x5475d3=(_0x54ec93=_0x5c8b48[_0x282710(0x269)]())!=null?_0x54ec93:[];if(_0x5475d3[_0x282710(0x342)]===0x0)return;const _0x4960ac=_0x1d0132[_0x282710(0x404)],_0x58a9c8=[{'id':_0x282710(0x2e8),'params':{'unitId':_0x4960ac,'actions':null,'textRanges':_0x5475d3}}],_0x26ab0f=this['_transformService'][_0x282710(0x396)](_0x1d0132,_0x58a9c8);if(!g[_0x282710(0x389)](_0x26ab0f))throw _0x26ab0f[_0x282710(0x334)];const _0x4bd97a=_0x26ab0f[_0x282710(0x39d)][0x0][_0x282710(0x2a9)]['textRanges'];Array['isArray'](_0x4bd97a)&&_0x4bd97a['length']&&_0x5c8b48[_0x282710(0x254)](_0x4bd97a,{'unitId':_0x4960ac,'subUnitId':_0x4960ac},!0x1);}};se=Kt([Pe(0x0,a['Inject'](a[_0x537ad4(0x3cd)])),Pe(0x1,g[_0x537ad4(0x2da)])],se);var qt=Object[_0x537ad4(0x1eb)],zt=(_0x56e718,_0x53ac13,_0x1d7391,_0x31671e)=>{const _0x3a8f04=_0x537ad4;for(var _0x4213ee=_0x31671e>0x1?void 0x0:_0x31671e?qt(_0x53ac13,_0x1d7391):_0x53ac13,_0x23ad5f=_0x56e718[_0x3a8f04(0x342)]-0x1,_0x595696;_0x23ad5f>=0x0;_0x23ad5f--)(_0x595696=_0x56e718[_0x23ad5f])&&(_0x4213ee=_0x595696(_0x4213ee)||_0x4213ee);return _0x4213ee;},N=(_0x12353e,_0x4d5944)=>(_0x16df7d,_0x1cb745)=>_0x4d5944(_0x16df7d,_0x1cb745,_0x12353e);let ie=class extends a[_0x537ad4(0x26b)]{constructor(_0x7e301,_0x59f136,_0xee5a60,_0x3e6ce5,_0x4beb7c,_0x3c3c1f,_0x5da368,_0x38387c){const _0x2ecf85=_0x537ad4;super(),_(this,'_status$',new I['BehaviorSubject'](u[_0x2ecf85(0x323)][_0x2ecf85(0x379)])),(this['_docStateChangeManagerService']=_0x7e301,this[_0x2ecf85(0x3df)]=_0x59f136,this[_0x2ecf85(0x366)]=_0xee5a60,this[_0x2ecf85(0x35f)]=_0x3e6ce5,this[_0x2ecf85(0x340)]=_0x4beb7c,this[_0x2ecf85(0x3ed)]=_0x3c3c1f,this[_0x2ecf85(0x338)]=_0x5da368,this['_localeService']=_0x38387c,this[_0x2ecf85(0x248)]());}[_0x537ad4(0x248)](){const _0xaf65fa=_0x537ad4;this[_0xaf65fa(0x1b3)](this['_collaborationController']['entityInit$'][_0xaf65fa(0x33f)](_0x6edf95=>{const _0x2d2477=_0xaf65fa,_0x1ade1d=this[_0x2d2477(0x382)]['docStateChange$'][_0x2d2477(0x33f)](_0x3e71b0=>{const _0x204129=_0x2d2477;if(_0x3e71b0==null)return;const {unitId:_0x48a6bb,redoState:_0x3d7c89,commandId:_0x335b22}=_0x3e71b0;if(_0x48a6bb!==_0x6edf95['unitID'])return;const _0x10dd45={'id':_0x335b22,'type':a[_0x204129(0x232)]['MUTATION'],'params':{'unitId':_0x48a6bb,'actions':_0x3d7c89[_0x204129(0x1a7)],'textRanges':null}};_0x6edf95[_0x204129(0x22f)](_0x10dd45);});if(_0x6edf95[_0x2d2477(0x1b3)](_0x1ade1d),_0x6edf95 instanceof u[_0x2d2477(0x394)]){const _0x20b3be={'onTransformIME':_0x32f3b1=>this['_docTransformIMECacheService'][_0x2d2477(0x22b)](_0x32f3b1),'onTransformState':_0x29864e=>this[_0x2d2477(0x35f)][_0x2d2477(0x351)](_0x29864e),'onTransformSelections':_0x8d35d8=>this['_docTransformSelectionsService']['transformSelections'](_0x8d35d8),'onSyncEditingCollabCursor':_0x1b7349=>this['_docSyncEditingCollabCursorService'][_0x2d2477(0x1ea)](_0x1b7349),'onTransformRemoteChangesetByIMECache':_0x4717f3=>this[_0x2d2477(0x366)][_0x2d2477(0x37e)](_0x4717f3),'onTransformRemoteChangesetByStateCache':_0x4dbae8=>this[_0x2d2477(0x35f)]['transformRemoteChangeset'](_0x4dbae8)};_0x6edf95[_0x2d2477(0x3f1)](_0x20b3be);}}));}};ie=zt([N(0x0,a[_0x537ad4(0x405)](T[_0x537ad4(0x3fc)])),N(0x1,a['Inject'](u[_0x537ad4(0x260)])),N(0x2,a[_0x537ad4(0x405)](ee)),N(0x3,a[_0x537ad4(0x405)](te)),N(0x4,a[_0x537ad4(0x405)](se)),N(0x5,a[_0x537ad4(0x405)](be)),N(0x6,O[_0x537ad4(0x3e9)]),N(0x7,a['Inject'](a[_0x537ad4(0x1d6)]))],ie);var G=(_0x462b33=>(_0x462b33[_0x462b33['UNDEFINED']=0x0]=_0x537ad4(0x259),_0x462b33[_0x462b33['OK']=0x1]='OK',_0x462b33[_0x462b33[_0x537ad4(0x3d3)]=0x2]=_0x537ad4(0x3d3),_0x462b33[_0x462b33[_0x537ad4(0x2cb)]=0x3]='PERMISSION_DENIED',_0x462b33[_0x462b33[_0x537ad4(0x1a9)]=0x4]=_0x537ad4(0x1a9),_0x462b33[_0x462b33[_0x537ad4(0x407)]=0x5]=_0x537ad4(0x407),_0x462b33[_0x462b33['ALREADY_EXISTS']=0x6]=_0x537ad4(0x245),_0x462b33[_0x462b33[_0x537ad4(0x23c)]=0x7]=_0x537ad4(0x23c),_0x462b33[_0x462b33['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x462b33[_0x462b33['COMPLETION_FINISHED']=0x9]=_0x537ad4(0x1ac),_0x462b33[_0x462b33[_0x537ad4(0x3e0)]=0xa]=_0x537ad4(0x3e0),_0x462b33[_0x462b33[_0x537ad4(0x2e4)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x462b33[_0x462b33[_0x537ad4(0x165)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x462b33[_0x462b33[_0x537ad4(0x318)]=0xd]=_0x537ad4(0x318),_0x462b33[_0x462b33['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x537ad4(0x17b),_0x462b33[_0x462b33[_0x537ad4(0x181)]=0xf]=_0x537ad4(0x181),_0x462b33[_0x462b33[_0x537ad4(0x1ad)]=0x10]=_0x537ad4(0x1ad),_0x462b33[_0x462b33[_0x537ad4(0x383)]=0x64]=_0x537ad4(0x383),_0x462b33[_0x462b33[_0x537ad4(0x374)]=0x65]='ERROR_AGAIN',_0x462b33[_0x462b33[_0x537ad4(0x1dd)]=0xc9]=_0x537ad4(0x1dd),_0x462b33[_0x462b33[_0x537ad4(0x2de)]=0xca]='USER_IS_ANONYMOUS',_0x462b33[_0x462b33[_0x537ad4(0x321)]=0x1389]=_0x537ad4(0x321),_0x462b33[_0x462b33['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x537ad4(0x2b8),_0x462b33[_0x462b33['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x537ad4(0x3ff),_0x462b33[_0x462b33['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x537ad4(0x242),_0x462b33[_0x462b33[_0x537ad4(0x1df)]=0x1b59]=_0x537ad4(0x1df),_0x462b33[_0x462b33[_0x537ad4(0x38c)]=0x1b5a]=_0x537ad4(0x38c),_0x462b33[_0x462b33[_0x537ad4(0x2ea)]=0x1b5b]=_0x537ad4(0x2ea),_0x462b33[_0x462b33[_0x537ad4(0x3c1)]=0x1b5c]=_0x537ad4(0x3c1),_0x462b33[_0x462b33[_0x537ad4(0x1b4)]=0x1b5d]=_0x537ad4(0x1b4),_0x462b33[_0x462b33['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x537ad4(0x3a8),_0x462b33[_0x462b33[_0x537ad4(0x2bd)]=0x2329]=_0x537ad4(0x2bd),_0x462b33[_0x462b33[_0x537ad4(0x2cd)]=0x232a]=_0x537ad4(0x2cd),_0x462b33[_0x462b33[_0x537ad4(0x399)]=0x232b]=_0x537ad4(0x399),_0x462b33[_0x462b33['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x462b33[_0x462b33['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x462b33[_0x462b33[_0x537ad4(0x372)]=0x2711]=_0x537ad4(0x372),_0x462b33[_0x462b33['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x537ad4(0x33b),_0x462b33[_0x462b33[_0x537ad4(0x3ac)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x462b33[_0x462b33[_0x537ad4(0x415)]=0x2714]=_0x537ad4(0x415),_0x462b33[_0x462b33[_0x537ad4(0x3e2)]=0x271a]=_0x537ad4(0x3e2),_0x462b33[_0x462b33[_0x537ad4(0x290)]=0x271b]=_0x537ad4(0x290),_0x462b33[_0x462b33[_0x537ad4(0x233)]=0x271c]=_0x537ad4(0x233),_0x462b33[_0x462b33[_0x537ad4(0x198)]=0x271d]=_0x537ad4(0x198),_0x462b33[_0x462b33[_0x537ad4(0x386)]=0x271e]=_0x537ad4(0x386),_0x462b33[_0x462b33[_0x537ad4(0x341)]=0x271f]=_0x537ad4(0x341),_0x462b33[_0x462b33[_0x537ad4(0x309)]=0x2720]=_0x537ad4(0x309),_0x462b33[_0x462b33[_0x537ad4(0x2ba)]=0x2af9]=_0x537ad4(0x2ba),_0x462b33[_0x462b33[_0x537ad4(0x2f6)]=0x2ee1]=_0x537ad4(0x2f6),_0x462b33[_0x462b33[_0x537ad4(0x3a6)]=0x2ee2]=_0x537ad4(0x3a6),_0x462b33[_0x462b33[_0x537ad4(0x176)]=0x2ee3]=_0x537ad4(0x176),_0x462b33[_0x462b33[_0x537ad4(0x244)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x462b33[_0x462b33[_0x537ad4(0x247)]=0x2ee5]=_0x537ad4(0x247),_0x462b33[_0x462b33[_0x537ad4(0x1f0)]=0x32c9]=_0x537ad4(0x1f0),_0x462b33[_0x462b33[_0x537ad4(0x224)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x462b33[_0x462b33['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x462b33[_0x462b33['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x462b33[_0x462b33[_0x537ad4(0x180)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x462b33[_0x462b33['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x537ad4(0x3b0),_0x462b33[_0x462b33[_0x537ad4(0x1b8)]=0x36b4]=_0x537ad4(0x1b8),_0x462b33[_0x462b33['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x537ad4(0x377),_0x462b33[_0x462b33['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x537ad4(0x2f3),_0x462b33[_0x462b33['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x462b33[_0x462b33['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x537ad4(0x328),_0x462b33[_0x462b33['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x537ad4(0x2ce),_0x462b33[_0x462b33[_0x537ad4(0x289)]=0x3716]=_0x537ad4(0x289),_0x462b33[_0x462b33['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x462b33[_0x462b33[_0x537ad4(0x301)]=0x37dd]=_0x537ad4(0x301),_0x462b33[_0x462b33['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x462b33[_0x462b33[_0x537ad4(0x1e7)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x462b33[_0x462b33['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x537ad4(0x237),_0x462b33[_0x462b33[_0x537ad4(0x29f)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x462b33[_0x462b33['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x537ad4(0x373),_0x462b33[_0x462b33[_0x537ad4(0x3a3)]=0x3a9e]=_0x537ad4(0x3a3),_0x462b33[_0x462b33[_0x537ad4(0x271)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x462b33[_0x462b33[_0x537ad4(0x225)]=0x3e81]=_0x537ad4(0x225),_0x462b33[_0x462b33['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x462b33))(G||{});function Jt(_0xce34b){const _0x5d84a2=_0x537ad4;var _0x1ea3aa,_0x4b1c7f;const _0x3ed6e2=(_0x1ea3aa=_0xce34b['stageInfo'])==null?void 0x0:_0x1ea3aa['stage'],_0x2dfbec=((_0x4b1c7f=_0xce34b[_0x5d84a2(0x347)])==null?void 0x0:_0x4b1c7f['totalFormulasToCalculate'])||0x0;return _0x3ed6e2===B['FormulaExecuteStageType'][_0x5d84a2(0x255)]&&_0x2dfbec>0x0;}function Zt(_0xc78232){const _0x4ad102=_0x537ad4;return _0xc78232[_0x4ad102(0x3d1)]===B[_0x4ad102(0x40e)][_0x4ad102(0x1c4)];}var Qt=Object[_0x537ad4(0x1eb)],es=(_0x24c1f2,_0x2d3a8f,_0x57d28e,_0x320407)=>{for(var _0x4b17cb=_0x320407>0x1?void 0x0:_0x320407?Qt(_0x2d3a8f,_0x57d28e):_0x2d3a8f,_0x38689b=_0x24c1f2['length']-0x1,_0x5eadfa;_0x38689b>=0x0;_0x38689b--)(_0x5eadfa=_0x24c1f2[_0x38689b])&&(_0x4b17cb=_0x5eadfa(_0x4b17cb)||_0x4b17cb);return _0x4b17cb;},L=(_0x91119e,_0x27fb7f)=>(_0x309ee9,_0x100501)=>_0x27fb7f(_0x309ee9,_0x100501,_0x91119e);const ts=_0x537ad4(0x33c),ss=_0x537ad4(0x37f),is=_0x537ad4(0x1cf);let ne=class extends a[_0x537ad4(0x26b)]{constructor(_0x5e062d,_0x4d335b,_0x59551d,_0x1ba3be,_0xb2d2e8,_0x25cc0c,_0x5d9da3){const _0x30783c=_0x537ad4;super(),_(this,_0x30783c(0x23e),null),_(this,_0x30783c(0x221),0x0),_(this,'_currentUsage',0x0),_(this,_0x30783c(0x3d8),[]),_(this,_0x30783c(0x3b8),0x0),(this[_0x30783c(0x338)]=_0x5e062d,this[_0x30783c(0x1af)]=_0x4d335b,this[_0x30783c(0x35c)]=_0x59551d,this[_0x30783c(0x28d)]=_0x1ba3be,this[_0x30783c(0x2a4)]=_0xb2d2e8,this[_0x30783c(0x27c)]=_0x25cc0c,this['_localeService']=_0x5d9da3,this[_0x30783c(0x268)]());}[_0x537ad4(0x268)](){const _0x425739=_0x537ad4;this[_0x425739(0x1b3)](this[_0x425739(0x1af)][_0x425739(0x196)]((_0x54d343,_0x5e6d78)=>{const _0x35841a=_0x425739;var _0x4a890b;if(_0x54d343['id']!==B[_0x35841a(0x1c9)]['id'])return;const _0x1a4cdf=_0x54d343[_0x35841a(0x2a9)];if(!this[_0x35841a(0x24b)]((_0x4a890b=_0x1a4cdf[_0x35841a(0x345)])!=null?_0x4a890b:[]))return;if(!this[_0x35841a(0x1b2)]())throw this[_0x35841a(0x193)](_0x54d343,_0x5e6d78),this[_0x35841a(0x3ae)](),new a[(_0x35841a(0x1a1))]();})),this[_0x425739(0x1b3)](this['_commandService']['onCommandExecuted']((_0x18c7d1,_0x2e32fe)=>{const _0x11b3d1=_0x425739;if(_0x18c7d1['id']!==B[_0x11b3d1(0x391)]['id'])return;const _0xaa7885=_0x18c7d1[_0x11b3d1(0x2a9)];if(Jt(_0xaa7885)){const _0x477102=a[_0x11b3d1(0x17d)]();this[_0x11b3d1(0x3d8)][_0x11b3d1(0x31a)](_0x477102),this[_0x11b3d1(0x30f)](_0x477102);}else{if(Zt(_0xaa7885)&&this[_0x11b3d1(0x3d8)][_0x11b3d1(0x342)]>0x0){const _0x23fce7=this[_0x11b3d1(0x3d8)]['shift']();this[_0x11b3d1(0x24a)](_0x23fce7);}}}));}[_0x537ad4(0x25e)](){const _0x38bc3a=_0x537ad4;super[_0x38bc3a(0x25e)](),this[_0x38bc3a(0x37d)](),this[_0x38bc3a(0x3d8)]=[],this[_0x38bc3a(0x2f5)]=0x0,this[_0x38bc3a(0x221)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x537ad4(0x193)](_0xe89ed5,_0x12ec65){const _0x1acfbf=_0x537ad4;for(let _0x1e6d67=0x0;_0x1e6d67<0x1e;_0x1e6d67++)try{if(await this[_0x1acfbf(0x2fb)](),this[_0x1acfbf(0x1b2)]()){this[_0x1acfbf(0x27a)](_0xe89ed5,_0x12ec65),this['_messageService'][_0x1acfbf(0x414)]({'content':this[_0x1acfbf(0x31f)]['t'](_0x1acfbf(0x3e3)),'type':p[_0x1acfbf(0x2b2)][_0x1acfbf(0x16e)]});return;}await new Promise(_0x211fe7=>{const _0x2ad198=_0x1acfbf;this[_0x2ad198(0x23e)]=window['setTimeout'](_0x211fe7,0x3e8);});}catch(_0x4794a7){this[_0x1acfbf(0x27c)][_0x1acfbf(0x334)](_0x4794a7);}this[_0x1acfbf(0x338)][_0x1acfbf(0x414)]({'content':this['_localeService']['t'](_0x1acfbf(0x36b)),'type':p[_0x1acfbf(0x2b2)][_0x1acfbf(0x2fa)]});}[_0x537ad4(0x27a)](_0x85d316,_0x4be348){const _0x4730a4=_0x537ad4;try{this[_0x4730a4(0x1af)]['executeCommand'](_0x85d316['id'],_0x85d316[_0x4730a4(0x2a9)],_0x4be348);}catch(_0x54ed4a){this[_0x4730a4(0x27c)][_0x4730a4(0x334)](_0x54ed4a);}}[_0x537ad4(0x1e3)](_0x172df8,_0x3f0644){const _0x5dadda=_0x537ad4;_0x3f0644<this['_lastResponseTimestamp']||(this[_0x5dadda(0x3b8)]=_0x3f0644,this['_maxFormulaLimit']=Number[_0x5dadda(0x2fd)](_0x172df8[_0x5dadda(0x1aa)]),this[_0x5dadda(0x2f5)]=Number[_0x5dadda(0x2fd)](_0x172df8['currentUsage']));}async[_0x537ad4(0x30f)](_0x2e2dba){const _0x2101dc=_0x537ad4;var _0x3f6cc1,_0x4bdef0;const _0x5667da=Date[_0x2101dc(0x2b4)]();try{const _0x293c58=((_0x3f6cc1=this[_0x2101dc(0x35c)]['getConfig'](u[_0x2101dc(0x295)]))==null?void 0x0:_0x3f6cc1[_0x2101dc(0x200)])||ss,_0x6f2c0c=(await this[_0x2101dc(0x28d)][_0x2101dc(0x1c1)](_0x293c58,{'body':JSON[_0x2101dc(0x1cd)]({'taskId':_0x2e2dba})}))[_0x2101dc(0x3bd)];if(((_0x4bdef0=_0x6f2c0c[_0x2101dc(0x334)])==null?void 0x0:_0x4bdef0['code'])!==G['OK'])return;this[_0x2101dc(0x1e3)](_0x6f2c0c['limitInfo'],_0x5667da);}catch(_0x3bfb03){this[_0x2101dc(0x27c)][_0x2101dc(0x334)](_0x3bfb03);}}async[_0x537ad4(0x2fb)](_0x15b315){const _0x12db91=_0x537ad4;var _0xcaa7ea,_0x411e93;const _0x50f911=Date[_0x12db91(0x2b4)]();try{const _0x442ec6=((_0xcaa7ea=this[_0x12db91(0x35c)]['getConfig'](u[_0x12db91(0x295)]))==null?void 0x0:_0xcaa7ea[_0x12db91(0x1e5)])||ts,_0x32f755=_0x15b315?_0x442ec6+'?taskId='+encodeURIComponent(_0x15b315):_0x442ec6,_0x8ae5c6=(await this[_0x12db91(0x28d)]['get'](_0x32f755))[_0x12db91(0x3bd)];if(((_0x411e93=_0x8ae5c6['error'])==null?void 0x0:_0x411e93[_0x12db91(0x285)])!==G['OK'])return;this[_0x12db91(0x1e3)](_0x8ae5c6[_0x12db91(0x226)],_0x50f911);}catch(_0x5ddb61){this[_0x12db91(0x27c)][_0x12db91(0x334)](_0x5ddb61);}}async[_0x537ad4(0x24a)](_0xe6ef3a){const _0x48e418=_0x537ad4;var _0x363de8,_0x161626;const _0x18e36d=Date[_0x48e418(0x2b4)]();try{const _0x16da86=((_0x363de8=this[_0x48e418(0x35c)][_0x48e418(0x246)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x363de8[_0x48e418(0x2bf)])||is,_0x8e7873=(await this['_httpService']['post'](_0x16da86,{'body':JSON[_0x48e418(0x1cd)]({'taskId':_0xe6ef3a})}))[_0x48e418(0x3bd)];if(((_0x161626=_0x8e7873[_0x48e418(0x334)])==null?void 0x0:_0x161626[_0x48e418(0x285)])!==G['OK'])return;this[_0x48e418(0x1e3)](_0x8e7873['limitInfo'],_0x18e36d);}catch(_0x236cb5){this['_logService'][_0x48e418(0x334)](_0x236cb5);}}['_checkCalculationAvailable'](){const _0x5f469b=_0x537ad4;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x5f469b(0x221)]-this[_0x5f469b(0x2f5)]>0x0;}[_0x537ad4(0x37d)](){const _0x4b780a=_0x537ad4;this[_0x4b780a(0x23e)]&&(clearTimeout(this[_0x4b780a(0x23e)]),this[_0x4b780a(0x23e)]=null);}['_showGuardMessage'](){const _0x352f2d=_0x537ad4;this[_0x352f2d(0x338)][_0x352f2d(0x414)]({'content':this[_0x352f2d(0x31f)]['t'](_0x352f2d(0x385)),'type':p[_0x352f2d(0x2b2)]['Loading']});}['_hasFormulaInDirtyRanges'](_0x2a6823){const _0x170ce7=_0x537ad4;for(const _0xb0d0ae of _0x2a6823){const {unitId:_0x1f4a21,sheetId:_0x3a6baa,range:_0x3c5198}=_0xb0d0ae,_0xc2d208=this[_0x170ce7(0x2a4)][_0x170ce7(0x41b)](_0x1f4a21);if(!_0xc2d208)continue;const _0x37834d=_0xc2d208[_0x170ce7(0x2ab)](_0x3a6baa);if(!_0x37834d)continue;const _0xfb4374=_0x37834d[_0x170ce7(0x211)]();for(let _0xbe9e29=_0x3c5198[_0x170ce7(0x393)];_0xbe9e29<=_0x3c5198[_0x170ce7(0x41f)];_0xbe9e29++)for(let _0x3f94a3=_0x3c5198[_0x170ce7(0x32c)];_0x3f94a3<=_0x3c5198[_0x170ce7(0x38f)];_0x3f94a3++){const _0x34963f=_0xfb4374[_0x170ce7(0x1cb)](_0xbe9e29,_0x3f94a3);if(_0x34963f&&(a[_0x170ce7(0x3bb)](_0x34963f['f'])||a['isFormulaId'](_0x34963f['si'])))return!0x0;}}return!0x1;}};ne=es([L(0x0,a[_0x537ad4(0x405)](O[_0x537ad4(0x3e9)])),L(0x1,a['ICommandService']),L(0x2,a[_0x537ad4(0x258)]),L(0x3,a[_0x537ad4(0x405)](x['HTTPService'])),L(0x4,a[_0x537ad4(0x16b)]),L(0x5,a[_0x537ad4(0x423)]),L(0x6,a[_0x537ad4(0x405)](a[_0x537ad4(0x1d6)]))],ne);var ns=Object[_0x537ad4(0x1eb)],rs=(_0x541f1c,_0xe93a7,_0x215d8a,_0x5d72c5)=>{const _0x521112=_0x537ad4;for(var _0x241df6=_0x5d72c5>0x1?void 0x0:_0x5d72c5?ns(_0xe93a7,_0x215d8a):_0xe93a7,_0x3a1f41=_0x541f1c[_0x521112(0x342)]-0x1,_0x357ab6;_0x3a1f41>=0x0;_0x3a1f41--)(_0x357ab6=_0x541f1c[_0x3a1f41])&&(_0x241df6=_0x357ab6(_0x241df6)||_0x241df6);return _0x241df6;},Se=(_0xfd0d40,_0x5f3460)=>(_0x356ccf,_0xec16e1)=>_0x5f3460(_0x356ccf,_0xec16e1,_0xfd0d40);let Te=class extends a['Disposable']{constructor(_0x181f95,_0x405301,_0x1d661c){const _0x4c9e63=_0x537ad4;super(),_(this,_0x4c9e63(0x3c7),new Map()),_(this,_0x4c9e63(0x39c),new Map()),_(this,'_disabled',!0x1),(this[_0x4c9e63(0x35c)]=_0x181f95,this[_0x4c9e63(0x204)]=_0x405301,this[_0x4c9e63(0x1f8)]=_0x1d661c);}[_0x537ad4(0x312)](){const _0x1b829f=_0x537ad4;this[_0x1b829f(0x317)]=!0x0;}[_0x537ad4(0x30a)](){const _0x44df47=_0x537ad4;this[_0x44df47(0x317)]=!0x1;}get['saveTaskMap'](){const _0x370b2d=_0x537ad4;return this[_0x370b2d(0x39c)];}['dispose'](){const _0x3ed138=_0x537ad4;this[_0x3ed138(0x3c5)]()['then'](()=>super['dispose']());}async['loadOfflineData'](_0x365f6b){const _0x12f88e=_0x537ad4;return this['_disabled']?null:this['_localStorageService'][_0x12f88e(0x2d9)](u[_0x12f88e(0x3fa)](_0x365f6b));}async['saveOfflineData'](_0x2e21ce,_0x5f1b2c){const _0x56eb32=_0x537ad4;return!!this['_localStorageService'][_0x56eb32(0x24c)](_0x2e21ce,_0x5f1b2c);}[_0x537ad4(0x368)](_0x4f6e4d,_0x234e93,_0x50933b,_0x58b472){const _0x31fbb2=_0x537ad4,_0x450eb0=this['_revisionService'][_0x31fbb2(0x2ad)](_0x4f6e4d);this[_0x31fbb2(0x3c7)][_0x31fbb2(0x178)](_0x4f6e4d,{'unitID':_0x4f6e4d,'type':_0x234e93,'awaitingChangeset':_0x50933b,'mutations':_0x58b472,'rev':_0x450eb0}),this['_saveTaskMap'][_0x31fbb2(0x207)](_0x4f6e4d)||this[_0x31fbb2(0x37a)](_0x4f6e4d);}[_0x537ad4(0x37a)](_0x57eb03){const _0x882bfb=_0x537ad4,_0x573ae4=this[_0x882bfb(0x22e)]();_0x573ae4===0x0?this[_0x882bfb(0x2dd)](_0x57eb03):this[_0x882bfb(0x39c)][_0x882bfb(0x178)](_0x57eb03,setTimeout(()=>this['_saveCache'](_0x57eb03),_0x573ae4));}[_0x537ad4(0x22e)](){const _0x5b234d=_0x537ad4;var _0x81b37d;return(_0x81b37d=this[_0x5b234d(0x35c)][_0x5b234d(0x246)](u[_0x5b234d(0x3bf)]))!=null?_0x81b37d:u[_0x5b234d(0x218)];}[_0x537ad4(0x2dd)](_0x1207aa){const _0x2051dd=_0x537ad4,_0x38774f=this['_saveTaskMap']['get'](_0x1207aa);return _0x38774f!==void 0x0&&window[_0x2051dd(0x390)](_0x38774f),this[_0x2051dd(0x204)]['setItem'](u[_0x2051dd(0x3fa)](_0x1207aa),this[_0x2051dd(0x3c7)][_0x2051dd(0x267)](_0x1207aa))['then'](()=>this[_0x2051dd(0x39c)][_0x2051dd(0x3f8)](_0x1207aa));}async[_0x537ad4(0x3c5)](){const _0x2df05e=_0x537ad4,_0x433fb6=[];this['_saveTaskMap'][_0x2df05e(0x339)]((_0x53ec72,_0x41db55)=>{const _0x37a593=_0x2df05e;window[_0x37a593(0x390)](_0x53ec72),_0x433fb6[_0x37a593(0x31a)](this[_0x37a593(0x2dd)](_0x41db55)[_0x37a593(0x23b)](()=>{const _0x573e3e=_0x37a593;this['_saveTaskMap'][_0x573e3e(0x3f8)](_0x41db55);}));}),await Promise['all'](_0x433fb6);}};Te=rs([Se(0x0,a[_0x537ad4(0x258)]),Se(0x1,a[_0x537ad4(0x2ed)]),Se(0x2,a['Inject'](g[_0x537ad4(0x2b9)]))],Te);class ke extends a[_0x537ad4(0x358)]{constructor(){const _0x550b5a=_0x537ad4;super(),_(this,_0x550b5a(0x173)),this[_0x550b5a(0x173)]=I[_0x550b5a(0x2f0)](window,_0x550b5a(0x296))[_0x550b5a(0x3d5)](I[_0x550b5a(0x2e9)](this[_0x550b5a(0x3fe)]),I[_0x550b5a(0x331)](0x1),I[_0x550b5a(0x3d9)](void 0x0));}[_0x537ad4(0x32f)](_0xd0214,_0x3369a5,_0x553867=!0x1){const _0x36d4f2=_0x537ad4,_0x1567de=new URL(window[_0x36d4f2(0x3cb)]['href']);_0x1567de['searchParams'][_0x36d4f2(0x178)](_0xd0214,_0x3369a5),_0x553867?window[_0x36d4f2(0x287)][_0x36d4f2(0x1ef)]('','',_0x1567de['toString']()):window[_0x36d4f2(0x287)][_0x36d4f2(0x1ff)]('','',_0x1567de[_0x36d4f2(0x3f7)]());}[_0x537ad4(0x320)](_0x5c6ece,_0x9b2072=!0x1){const _0x323647=_0x537ad4,_0x26e930=new URL(window['location'][_0x323647(0x26e)]);_0x26e930['searchParams'][_0x323647(0x3f8)](_0x5c6ece),_0x9b2072?window['history'][_0x323647(0x1ef)]('','',_0x26e930[_0x323647(0x3f7)]()):window[_0x323647(0x287)][_0x323647(0x1ff)]('','',_0x26e930[_0x323647(0x3f7)]());}['getParam'](_0x1705a7){const _0x5d83f5=_0x537ad4;var _0x2decf6;return(_0x2decf6=new URL(window[_0x5d83f5(0x3cb)][_0x5d83f5(0x26e)])[_0x5d83f5(0x39f)][_0x5d83f5(0x267)](_0x1705a7))!=null?_0x2decf6:void 0x0;}}var os=Object['defineProperty'],as=Object[_0x537ad4(0x1eb)],cs=(_0x281d4e,_0x41203a,_0x1cf6b6)=>_0x41203a in _0x281d4e?os(_0x281d4e,_0x41203a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1cf6b6}):_0x281d4e[_0x41203a]=_0x1cf6b6,ls=(_0xbea9a4,_0x513f3d,_0x477afa,_0x4c61d5)=>{for(var _0x5991e1=_0x4c61d5>0x1?void 0x0:_0x4c61d5?as(_0x513f3d,_0x477afa):_0x513f3d,_0x310fb0=_0xbea9a4['length']-0x1,_0x210f47;_0x310fb0>=0x0;_0x310fb0--)(_0x210f47=_0xbea9a4[_0x310fb0])&&(_0x5991e1=_0x210f47(_0x5991e1)||_0x5991e1);return _0x5991e1;},de=(_0x185bf6,_0x47722d)=>(_0x385b68,_0x27bbe5)=>_0x47722d(_0x385b68,_0x27bbe5,_0x185bf6),_s=(_0x2c5fb6,_0x904f64,_0x3392a4)=>cs(_0x2c5fb6,_0x904f64+'',_0x3392a4);const hs='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0x537ad4(0x2fe)]=class extends a['Plugin']{constructor(_0x52db1b=Me,_0x18d5b6,_0x779feb,_0x148406){const _0xd85ed1=_0x537ad4;super(),this[_0xd85ed1(0x262)]=_0x52db1b,this['_renderManagerService']=_0x18d5b6,this[_0xd85ed1(0x3cf)]=_0x779feb,this[_0xd85ed1(0x35c)]=_0x148406;const {..._0x143051}=a[_0xd85ed1(0x3af)]({},Me,this[_0xd85ed1(0x262)]);this[_0xd85ed1(0x35c)][_0xd85ed1(0x36a)](Yt,_0x143051);}[_0x537ad4(0x1e9)](){const _0x3a41bc=_0x537ad4;this[_0x3a41bc(0x1ba)](),this['_initDependencies']();}[_0x537ad4(0x19c)](){const _0x1a3caf=_0x537ad4;this[_0x1a3caf(0x41a)]();}[_0x537ad4(0x1ba)](){const _0x21cd08=_0x537ad4;var _0x41a79c;const _0xe7520e=[[Re],[ne],[se],[ee],[te],[be],[Oe,{'useClass':ke}],[x[_0x21cd08(0x284)],{'useClass':x[_0x21cd08(0x315)]}],[u[_0x21cd08(0x275)],{'useClass':Te}],[exports[_0x21cd08(0x35b)]],[ie],[Z],[F],[me],[exports['CollaborationDataLoaderController']]];this['_config'][_0x21cd08(0x2c7)]&&_0xe7520e[_0x21cd08(0x31a)]([Q]),a['registerDependencies'](this[_0x21cd08(0x3cf)],a['mergeOverrideWithDependencies'](_0xe7520e,(_0x41a79c=this[_0x21cd08(0x262)])==null?void 0x0:_0x41a79c[_0x21cd08(0x2f7)]));}[_0x537ad4(0x41a)](){const _0x4c8f65=_0x537ad4;this['disposeWithMe'](this[_0x4c8f65(0x3a9)][_0x4c8f65(0x2aa)](a[_0x4c8f65(0x337)][_0x4c8f65(0x216)],[Ee])),this[_0x4c8f65(0x1b3)](this['_renderManagerService']['registerRenderModule'](a[_0x4c8f65(0x337)][_0x4c8f65(0x164)],[Ce]));}[_0x537ad4(0x42d)](){const _0x257188=_0x537ad4;a[_0x257188(0x263)](this['_injector'],[[F],[exports[_0x257188(0x35b)]],[ie],[Z],[exports[_0x257188(0x354)]],[ne]]),this[_0x257188(0x262)][_0x257188(0x2c7)]&&a[_0x257188(0x263)](this['_injector'],[[Q]]);}},_s(exports['UniverCollaborationClientUIPlugin'],'pluginName',hs),exports['UniverCollaborationClientUIPlugin']=ls([a[_0x537ad4(0x406)](u[_0x537ad4(0x3c8)]),de(0x1,C[_0x537ad4(0x1a5)]),de(0x2,a['Inject'](a[_0x537ad4(0x3cd)])),de(0x3,a[_0x537ad4(0x258)])],exports['UniverCollaborationClientUIPlugin']);var us=Object[_0x537ad4(0x1eb)],Is=(_0x5b091c,_0x4e118f,_0x52da83,_0x24c8a1)=>{const _0x1cd6ac=_0x537ad4;for(var _0x3c59b2=_0x24c8a1>0x1?void 0x0:_0x24c8a1?us(_0x4e118f,_0x52da83):_0x4e118f,_0x257ea0=_0x5b091c[_0x1cd6ac(0x342)]-0x1,_0x8475f5;_0x257ea0>=0x0;_0x257ea0--)(_0x8475f5=_0x5b091c[_0x257ea0])&&(_0x3c59b2=_0x8475f5(_0x3c59b2)||_0x3c59b2);return _0x3c59b2;},W=(_0xc6de6,_0x15364d)=>(_0x4ac73d,_0x45a2eb)=>_0x15364d(_0x4ac73d,_0x45a2eb,_0xc6de6);exports[_0x537ad4(0x42c)]=class extends u[_0x537ad4(0x42e)]{constructor(_0x535206,_0x2fb131,_0x1bea2f,_0x5340ec,_0xe66071){super(_0x535206,_0x2fb131,_0x1bea2f,_0x5340ec,_0xe66071);}async['createSocket'](_0x32679d){const _0x3b9231=_0x537ad4,_0x35e6ff=await this[_0x3b9231(0x3a5)](),_0x18104c=this[_0x3b9231(0x2a1)](_0x32679d,_0x35e6ff);return this['_doCreateSocket'](_0x18104c);}[_0x537ad4(0x2a1)](_0x84539f,_0x6d17a){const _0x4442dd=_0x537ad4,_0x48ddd8=typeof window>'u'?new URL(_0x84539f):new URL(_0x84539f,window['location'][_0x4442dd(0x3f4)]);_0x48ddd8[_0x4442dd(0x39f)]['set'](_0x4442dd(0x17a),_0x6d17a);const _0x34fce6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4442dd(0x3cb)]['search']);return _0x34fce6['get']('runId')&&_0x48ddd8[_0x4442dd(0x39f)][_0x4442dd(0x178)](_0x4442dd(0x370),_0x34fce6['get'](_0x4442dd(0x370))),_0x48ddd8[_0x4442dd(0x3f7)]();}async['_getSessionTicket'](){const _0x160999=_0x537ad4;var _0x3ea743,_0xe9d98c,_0x11d2f0;const _0x5e48f4=this[_0x160999(0x35c)][_0x160999(0x246)](u['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x2e54c2=(_0x3ea743=_0x5e48f4==null?void 0x0:_0x5e48f4[_0x160999(0x3dd)])!=null?_0x3ea743:u['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x11d2f0=(_0xe9d98c=(await this[_0x160999(0x28d)][_0x160999(0x267)](_0x2e54c2,{'headers':{'Content-Type':_0x160999(0x166)}}))[_0x160999(0x3bd)])==null?void 0x0:_0xe9d98c[_0x160999(0x3ee)])!=null?_0x11d2f0:'';}},exports[_0x537ad4(0x42c)]=Is([W(0x0,a['Inject'](a[_0x537ad4(0x3cd)])),W(0x1,a[_0x537ad4(0x405)](x['HTTPService'])),W(0x2,a[_0x537ad4(0x258)]),W(0x3,a[_0x537ad4(0x423)]),W(0x4,g[_0x537ad4(0x34a)])],exports['BrowserCollaborationSocketService']);var Ss=Object[_0x537ad4(0x1eb)],ds=(_0x56ffc0,_0x43d31c,_0x4f5373,_0x56f170)=>{const _0x3ab7c4=_0x537ad4;for(var _0x28da33=_0x56f170>0x1?void 0x0:_0x56f170?Ss(_0x43d31c,_0x4f5373):_0x43d31c,_0x560324=_0x56ffc0[_0x3ab7c4(0x342)]-0x1,_0x5ba5ac;_0x560324>=0x0;_0x560324--)(_0x5ba5ac=_0x56ffc0[_0x560324])&&(_0x28da33=_0x5ba5ac(_0x28da33)||_0x28da33);return _0x28da33;},fe=(_0x172041,_0x3f8f6e)=>(_0x575417,_0x1cd823)=>_0x3f8f6e(_0x575417,_0x1cd823,_0x172041);exports['RemoteUniscriptService']=class extends a[_0x537ad4(0x26b)]{constructor(_0x3e618b,_0x108df5,_0x1a967b){const _0x593906=_0x537ad4;super(),this[_0x593906(0x2d4)]=_0x3e618b,this[_0x593906(0x28d)]=_0x108df5,this['_configService']=_0x1a967b;}async[_0x537ad4(0x376)](_0xa062b2,_0x35a95e,_0x4b6984,..._0x10ddde){const _0x805330=_0x537ad4;var _0x4443fc,_0x1d7807,_0x4457c2,_0x6f920e;const _0x3fcc97=this[_0x805330(0x2d4)]['getFocusedUnit']();if(!_0x3fcc97)throw new Error(_0x805330(0x3d2));const _0x4db9be=((_0x4443fc=this[_0x805330(0x35c)]['getConfig'](u[_0x805330(0x1d5)]))!=null?_0x4443fc:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0xa062b2+_0x805330(0x2b3)+_0x35a95e,_0x12b0fd=new URL(window['location'][_0x805330(0x26e)]),_0x717ba4={'scriptId':_0xa062b2,'runId':(_0x1d7807=_0x12b0fd[_0x805330(0x39f)]['get'](_0x805330(0x370)))!=null?_0x1d7807:'','function':_0x35a95e,'unitId':_0x3fcc97[_0x805330(0x3eb)](),'argsOfFunction':JSON[_0x805330(0x1cd)](_0x10ddde),'invokeId':(_0x4457c2=_0x4b6984[_0x805330(0x325)])!=null?_0x4457c2:'','executionId':(_0x6f920e=_0x4b6984[_0x805330(0x424)])!=null?_0x6f920e:''};try{const _0x4367a8=await this[_0x805330(0x28d)][_0x805330(0x1c1)](_0x4db9be,{'body':_0x717ba4});return _0x4367a8[_0x805330(0x3bd)][_0x805330(0x334)]&&_0x4367a8[_0x805330(0x3bd)][_0x805330(0x334)][_0x805330(0x285)]!==G['OK']?_0x805330(0x2c4):_0x4367a8[_0x805330(0x3bd)][_0x805330(0x1de)];}catch{return _0x805330(0x2c4);}}},exports[_0x537ad4(0x395)]=ds([fe(0x0,a[_0x537ad4(0x16b)]),fe(0x1,a[_0x537ad4(0x405)](x[_0x537ad4(0x18c)])),fe(0x2,a[_0x537ad4(0x258)])],exports[_0x537ad4(0x395)]);const we=0x7530,ye='ACTIVE_UNIT_EVENT_CHANNEL';class fs extends a[_0x537ad4(0x26b)]{constructor(){const _0x547e7d=_0x537ad4;super(),_(this,_0x547e7d(0x416),a[_0x547e7d(0x17d)]()),_(this,_0x547e7d(0x171),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x547e7d(0x265),null),_(this,_0x547e7d(0x42a),new Map()),_(this,_0x547e7d(0x29a),new Map()),this[_0x547e7d(0x2fc)]();}[_0x537ad4(0x25e)](){const _0xf5ae28=_0x537ad4;super['dispose'](),this[_0xf5ae28(0x42a)][_0xf5ae28(0x339)]((_0x401323,_0x497b0e)=>this[_0xf5ae28(0x2c5)](_0x497b0e)),this[_0xf5ae28(0x265)]&&window[_0xf5ae28(0x170)](this['_heartbeatTimer']);}[_0x537ad4(0x25c)](_0x50dd58){const _0x174489=_0x537ad4;return this['_ensureSubject'](_0x50dd58)['pipe'](I[_0x174489(0x26f)]());}[_0x537ad4(0x2e2)](_0x3192c6){const _0xfaf88f=_0x537ad4;this[_0xfaf88f(0x171)][_0xfaf88f(0x23f)]===0x0&&this[_0xfaf88f(0x3ba)](),this['_selfUnitIDs'][_0xfaf88f(0x241)](_0x3192c6),this[_0xfaf88f(0x1d1)]({'type':0x0,'memberID':this[_0xfaf88f(0x416)],'unitIDs':[_0x3192c6],'isForwarded':!0x1});}[_0x537ad4(0x3e4)](_0x44ff56){const _0x54108e=_0x537ad4;this[_0x54108e(0x171)]['delete'](_0x44ff56),this['_selfUnitIDs'][_0x54108e(0x23f)]===0x0&&this[_0x54108e(0x265)]&&window['clearInterval'](this[_0x54108e(0x265)]);}[_0x537ad4(0x2fc)](){const _0x3bc5f7=_0x537ad4;this[_0x3bc5f7(0x1b3)](a[_0x3bc5f7(0x1fe)](I[_0x3bc5f7(0x2f0)](window,'storage')['subscribe'](_0x1c921a=>{const _0x546241=_0x3bc5f7;if(_0x1c921a[_0x546241(0x230)]!==ye||!_0x1c921a[_0x546241(0x344)])return;const _0x1433c4=JSON['parse'](_0x1c921a[_0x546241(0x344)]);this[_0x546241(0x2eb)](_0x1433c4);}))),window[_0x3bc5f7(0x172)](_0x3bc5f7(0x21b),()=>this[_0x3bc5f7(0x1d1)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x3bc5f7(0x171)])}));}[_0x537ad4(0x2eb)](_0x2a51e4){const _0x10447a=_0x537ad4;switch(_0x2a51e4[_0x10447a(0x361)]){case 0x0:this[_0x10447a(0x305)](_0x2a51e4);break;case 0x1:this[_0x10447a(0x222)](_0x2a51e4);break;case 0x2:this[_0x10447a(0x27f)](_0x2a51e4);break;}}[_0x537ad4(0x305)](_0x2a4792){const _0x537d91=_0x537ad4,{unitIDs:_0xcd8df1,memberID:_0x2c9583,isForwarded:_0x515577}=_0x2a4792;_0xcd8df1['forEach'](_0x25b030=>{const _0x25bb25=_0x1db4;if(!_0x515577&&this[_0x25bb25(0x30b)][_0x25bb25(0x207)](_0x25b030)&&this[_0x25bb25(0x18e)](_0x25b030)['next'](u[_0x25bb25(0x319)]['OTHER_CLIENTS_EDITING']),!this[_0x25bb25(0x30b)]['has'](_0x25b030)||!this[_0x25bb25(0x30b)][_0x25bb25(0x267)](_0x25b030)[_0x25bb25(0x207)](_0x2c9583)){const _0x184e1d=this[_0x25bb25(0x30b)][_0x25bb25(0x267)](_0x25b030)||new Set();_0x184e1d[_0x25bb25(0x241)](_0x2c9583),this[_0x25bb25(0x30b)][_0x25bb25(0x178)](_0x25b030,_0x184e1d),this['_scheduleClearOtherTimer'](_0x2c9583);}}),_0x515577||this['_send']({'type':0x0,'memberID':this[_0x537d91(0x416)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xf36295){const _0x427ac0=_0x537ad4;this[_0x427ac0(0x2c5)](_0xf36295);const _0x11efe9=window[_0x427ac0(0x3b7)](()=>{const _0x2dc31e=_0x427ac0;this[_0x2dc31e(0x30b)][_0x2dc31e(0x339)](_0x3bbc9c=>{_0x3bbc9c['delete'](_0xf36295);});},we*0x2);this[_0x427ac0(0x42a)][_0x427ac0(0x178)](_0xf36295,_0x11efe9);}[_0x537ad4(0x2c5)](_0x541939){const _0x53f955=_0x537ad4;if(this[_0x53f955(0x42a)][_0x53f955(0x207)](_0x541939)){const _0x5dddf0=this['_clearOtherTimers'][_0x53f955(0x267)](_0x541939);_0x5dddf0&&window[_0x53f955(0x390)](_0x5dddf0),this[_0x53f955(0x42a)][_0x53f955(0x178)](_0x541939,null);}}['_handleLeaveEvent'](_0x5140df){const _0x410099=_0x537ad4,{memberID:_0xd8159f,unitIDs:_0x52e2b1}=_0x5140df;_0x52e2b1['forEach'](_0x555ab6=>{const _0x249845=_0x1db4;var _0x4af110;const _0x383fe6=this['_unitOnClients'][_0x249845(0x267)](_0x555ab6);_0x383fe6&&(_0x383fe6[_0x249845(0x3f8)](_0xd8159f),(_0x4af110=this[_0x249845(0x18e)](_0x555ab6))==null||_0x4af110[_0x249845(0x29d)](_0x383fe6[_0x249845(0x23f)]===0x0?u[_0x249845(0x319)]['NO_OTHER_CLIENTS_EDITING']:u[_0x249845(0x319)][_0x249845(0x299)]));}),this[_0x410099(0x2c5)](_0xd8159f);}[_0x537ad4(0x27f)](_0x5c1099){const _0x7cc92f=_0x537ad4;this[_0x7cc92f(0x363)](_0x5c1099['memberID']);}['_send'](_0x4c4e3d){const _0x2075dd=_0x537ad4;localStorage[_0x2075dd(0x24c)](ye,JSON['stringify'](_0x4c4e3d));}['_scheduleHeartbeat'](){const _0x8eb40a=_0x537ad4;this[_0x8eb40a(0x265)]=window[_0x8eb40a(0x3ef)](()=>{const _0xcba12a=_0x8eb40a;this[_0xcba12a(0x1d1)]({'type':0x2,'memberID':this[_0xcba12a(0x416)]});},we);}[_0x537ad4(0x18e)](_0x13f072){const _0x1c9056=_0x537ad4;return this[_0x1c9056(0x29a)][_0x1c9056(0x207)](_0x13f072)||this[_0x1c9056(0x29a)][_0x1c9056(0x178)](_0x13f072,new I['BehaviorSubject'](u[_0x1c9056(0x319)][_0x1c9056(0x33a)])),this['_unitStatus'][_0x1c9056(0x267)](_0x13f072);}}exports[_0x537ad4(0x352)]=Oe,exports[_0x537ad4(0x3c3)]=je,exports['WebBrowserSingleActiveUnitService']=fs,exports[_0x537ad4(0x397)]=ke;
1
+ 'use strict';const _0x30e513=_0x2f23;(function(_0x378eb8,_0x19d265){const _0x339175=_0x2f23,_0x3b3b29=_0x378eb8();while(!![]){try{const _0x341d08=-parseInt(_0x339175(0x3e5))/0x1+parseInt(_0x339175(0x2c4))/0x2+parseInt(_0x339175(0x290))/0x3+-parseInt(_0x339175(0x427))/0x4+-parseInt(_0x339175(0x3ca))/0x5*(-parseInt(_0x339175(0x434))/0x6)+parseInt(_0x339175(0x4a9))/0x7+-parseInt(_0x339175(0x475))/0x8;if(_0x341d08===_0x19d265)break;else _0x3b3b29['push'](_0x3b3b29['shift']());}catch(_0x43cca2){_0x3b3b29['push'](_0x3b3b29['shift']());}}}(_0x2ee5,0x73516));var Xe=Object[_0x30e513(0x200)],Ke=(_0x116332,_0x53c758,_0x160dcd)=>_0x53c758 in _0x116332?Xe(_0x116332,_0x53c758,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x160dcd}):_0x116332[_0x53c758]=_0x160dcd,_=(_0xa81caf,_0xce31e6,_0x4fb757)=>Ke(_0xa81caf,typeof _0xce31e6!=_0x30e513(0x296)?_0xce31e6+'':_0xce31e6,_0x4fb757);Object[_0x30e513(0x200)](exports,Symbol[_0x30e513(0x472)],{'value':_0x30e513(0x364)});const M=require('react/jsx-runtime'),u=require('@univerjs-pro/collaboration-client'),a=require('@univerjs/core'),O=require('@univerjs/ui'),I=require('rxjs'),p=require('@univerjs/design'),A=require('react'),qe=require('@univerjs/rpc'),v=require('@univerjs/sheets'),C=require('@univerjs/engine-render'),x=require('@univerjs/network'),T=require('@univerjs/docs-ui'),ze=require('@univerjs/drawing'),g=require('@univerjs-pro/collaboration'),V=require('@univerjs/docs'),B=require('@univerjs/engine-formula'),$=require('rxjs/operators'),J=require('@univerjs/sheets-ui');function pe({ref:_0x322e2e,..._0x43c1b8}){const _0x2a2181=_0x30e513,{icon:_0x2fef2f,id:_0x23bc2c,className:_0x39e4a8,extend:_0xfe0b8f,..._0x254d9a}=_0x43c1b8,_0x158164=(_0x2a2181(0x24c)+_0x23bc2c+'\x20'+(_0x39e4a8||''))[_0x2a2181(0x274)](),_0x1d33a8=A[_0x2a2181(0x270)]('_'+Qe());return $e(_0x2fef2f,''+_0x23bc2c,{'defIds':_0x2fef2f[_0x2a2181(0x4ac)],'idSuffix':_0x1d33a8['current']},{'ref':_0x322e2e,'className':_0x158164,..._0x254d9a},_0xfe0b8f);}function $e(_0x2ddeed,_0x23694e,_0x357ed3,_0x1102bd,_0x34cf4c){const _0x180754=_0x30e513;return A[_0x180754(0x34d)](_0x2ddeed[_0x180754(0x4b8)],{'key':_0x23694e,...Je(_0x2ddeed,_0x357ed3,_0x34cf4c),..._0x1102bd},(Ze(_0x2ddeed,_0x357ed3)[_0x180754(0x25d)]||[])[_0x180754(0x4b3)]((_0xd26461,_0xdb4137)=>$e(_0xd26461,_0x23694e+'-'+_0x2ddeed[_0x180754(0x4b8)]+'-'+_0xdb4137,_0x357ed3,void 0x0,_0x34cf4c)));}function Je(_0x3de253,_0x323098,_0x59cc63){const _0x5545b3=_0x30e513,_0xb268c7={..._0x3de253[_0x5545b3(0x1f9)]};_0x59cc63!=null&&_0x59cc63['colorChannel1']&&_0xb268c7[_0x5545b3(0x31e)]==='colorChannel1'&&(_0xb268c7[_0x5545b3(0x31e)]=_0x59cc63[_0x5545b3(0x497)]),_0x3de253[_0x5545b3(0x4b8)]===_0x5545b3(0x413)&&_0xb268c7['id']&&(_0xb268c7['id']=_0xb268c7['id']+_0x323098[_0x5545b3(0x357)]),Object[_0x5545b3(0x4bb)](_0xb268c7)[_0x5545b3(0x25c)](([_0xaaf61e,_0x9c436d])=>{const _0x3cad7c=_0x5545b3;_0xaaf61e===_0x3cad7c(0x413)&&typeof _0x9c436d==_0x3cad7c(0x2bb)&&(_0xb268c7[_0xaaf61e]=_0x9c436d[_0x3cad7c(0x2ff)](/url\(#(.*)\)/,_0x3cad7c(0x360)+_0x323098[_0x3cad7c(0x357)]+')'));});const {defIds:_0x1a62ad}=_0x323098;return!_0x1a62ad||_0x1a62ad[_0x5545b3(0x457)]===0x0||(_0x3de253[_0x5545b3(0x4b8)]===_0x5545b3(0x29b)&&_0xb268c7[_0x5545b3(0x26e)]&&(_0xb268c7[_0x5545b3(0x26e)]=_0xb268c7[_0x5545b3(0x26e)]+_0x323098[_0x5545b3(0x357)]),Object[_0x5545b3(0x4bb)](_0xb268c7)[_0x5545b3(0x25c)](([_0x31174a,_0x1dcab0])=>{const _0x896c83=_0x5545b3;typeof _0x1dcab0=='string'&&(_0xb268c7[_0x31174a]=_0x1dcab0[_0x896c83(0x2ff)](/url\(#(.*)\)/,_0x896c83(0x360)+_0x323098[_0x896c83(0x357)]+')'));})),_0xb268c7;}function Ze(_0x3e7b7e,_0x370316){const _0x5b012c=_0x30e513;var _0x1aeb83;const {defIds:_0x3f048e}=_0x370316;return!_0x3f048e||_0x3f048e[_0x5b012c(0x457)]===0x0?_0x3e7b7e:_0x3e7b7e['tag']===_0x5b012c(0x2be)&&((_0x1aeb83=_0x3e7b7e[_0x5b012c(0x25d)])!=null&&_0x1aeb83[_0x5b012c(0x457)])?{..._0x3e7b7e,'children':_0x3e7b7e[_0x5b012c(0x25d)]['map'](_0x315b00=>typeof _0x315b00[_0x5b012c(0x1f9)]['id']==_0x5b012c(0x2bb)&&_0x3f048e&&_0x3f048e[_0x5b012c(0x215)](_0x315b00[_0x5b012c(0x1f9)]['id'])?{..._0x315b00,'attrs':{..._0x315b00[_0x5b012c(0x1f9)],'id':_0x315b00[_0x5b012c(0x1f9)]['id']+_0x370316[_0x5b012c(0x357)]}}:_0x315b00)}:_0x3e7b7e;}function Qe(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}pe['displayName']=_0x30e513(0x3f0);const et={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x30e513(0x226),'width':_0x30e513(0x219),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x30e513(0x44b)},'children':[{'tag':_0x30e513(0x203),'attrs':{'stroke':_0x30e513(0x232),'d':_0x30e513(0x272),'strokeLinecap':_0x30e513(0x486),'strokeLinejoin':_0x30e513(0x486),'strokeWidth':1.2}}]},{'tag':_0x30e513(0x2be),'attrs':{},'children':[{'tag':_0x30e513(0x412),'attrs':{'id':_0x30e513(0x25e)},'children':[{'tag':_0x30e513(0x203),'attrs':{'fill':_0x30e513(0x3bf),'d':_0x30e513(0x23c)}}]}]}],'defIds':[_0x30e513(0x25e)]},xe=A[_0x30e513(0x361)](function(_0x5903bc,_0x388927){const _0x3086ad=_0x30e513;return A[_0x3086ad(0x34d)](pe,Object[_0x3086ad(0x392)]({},_0x5903bc,{'id':_0x3086ad(0x231),'ref':_0x388927,'icon':et}));});xe[_0x30e513(0x421)]=_0x30e513(0x3e1);const tt={'tag':_0x30e513(0x3dc),'attrs':{'xmlns':_0x30e513(0x45f),'fill':'none','viewBox':_0x30e513(0x3f1),'width':_0x30e513(0x219),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x30e513(0x3b5)},'children':[{'tag':_0x30e513(0x203),'attrs':{'stroke':'currentColor','d':_0x30e513(0x470),'strokeLinecap':_0x30e513(0x486),'strokeLinejoin':_0x30e513(0x486),'strokeWidth':1.2}}]},{'tag':_0x30e513(0x2be),'attrs':{},'children':[{'tag':_0x30e513(0x412),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x30e513(0x203),'attrs':{'fill':_0x30e513(0x3bf),'d':_0x30e513(0x23c),'transform':'translate(.97)'}}]}]}],'defIds':[_0x30e513(0x46b)]},Be=A[_0x30e513(0x361)](function(_0x21f385,_0x350445){const _0x28b2c0=_0x30e513;return A['createElement'](pe,Object[_0x28b2c0(0x392)]({},_0x21f385,{'id':_0x28b2c0(0x31b),'ref':_0x350445,'icon':tt}));});Be[_0x30e513(0x421)]=_0x30e513(0x3d1);function st(_0x3c0fe4){const _0x58417e=_0x30e513;switch(_0x3c0fe4){case u[_0x58417e(0x35d)][_0x58417e(0x314)]:return _0x58417e(0x3ff);case u[_0x58417e(0x35d)][_0x58417e(0x2c6)]:return _0x58417e(0x3d9);case u[_0x58417e(0x35d)][_0x58417e(0x40e)]:return _0x58417e(0x21e);case u['CollaborationStatus'][_0x58417e(0x2ba)]:return _0x58417e(0x454);case u[_0x58417e(0x35d)][_0x58417e(0x35a)]:case u[_0x58417e(0x35d)][_0x58417e(0x3be)]:return'collabStatus.syncing';case u['CollaborationStatus'][_0x58417e(0x3df)]:case u['CollaborationStatus']['PENDING']:return'collabStatus.synced';}}function it(_0x466031){const _0x59459c=_0x30e513,{status$:_0x388e06}=_0x466031,_0x1bc5c7=O[_0x59459c(0x438)](_0x388e06,u[_0x59459c(0x35d)]['NOT_COLLAB']),_0x3ea22e=O['useDependency'](a[_0x59459c(0x317)]),_0x2f2328=O[_0x59459c(0x42d)](u[_0x59459c(0x2ef)]),_0x493102=_0x1bc5c7!==u[_0x59459c(0x35d)]['OFFLINE'],_0x45812d=_0x3ea22e['t'](st(_0x1bc5c7)),_0x4df677=_0x493102?M[_0x59459c(0x267)](Be,{}):M[_0x59459c(0x267)](xe,{}),_0x2e650b=A['useCallback'](()=>{_0x493102||_0x2f2328['reconnect']();},[_0x493102,_0x2f2328]);function _0x3ded6d(){const _0x37d800=_0x59459c;return M['jsxs'](_0x37d800(0x387),{'className':_0x37d800(0x276),'onClick':_0x2e650b,'children':[M['jsx'](_0x37d800(0x387),{'className':p[_0x37d800(0x33a)](_0x37d800(0x280),{'univer-text-green-500':_0x493102,'univer-text-red-500':!_0x493102}),'children':_0x4df677}),M[_0x37d800(0x267)](_0x37d800(0x387),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x45812d})]});}return _0x493102?_0x3ded6d():M[_0x59459c(0x267)](p[_0x59459c(0x291)],{'title':_0x3ea22e['t'](_0x59459c(0x309)),'children':_0x3ded6d()});}var nt=Object[_0x30e513(0x45b)],rt=(_0x42134e,_0x2013d7,_0x30b93a,_0x2b697e)=>{const _0x44c14e=_0x30e513;for(var _0x3c4627=_0x2b697e>0x1?void 0x0:_0x2b697e?nt(_0x2013d7,_0x30b93a):_0x2013d7,_0x43ce31=_0x42134e[_0x44c14e(0x457)]-0x1,_0x3039b2;_0x43ce31>=0x0;_0x43ce31--)(_0x3039b2=_0x42134e[_0x43ce31])&&(_0x3c4627=_0x3039b2(_0x3c4627)||_0x3c4627);return _0x3c4627;},K=(_0x439d02,_0x570a54)=>(_0x17f372,_0x25568a)=>_0x570a54(_0x17f372,_0x25568a,_0x439d02);exports[_0x30e513(0x34a)]=class extends a[_0x30e513(0x3c0)]{constructor(_0x484733,_0x1a8177,_0x54b88d,_0x1258c8){const _0x8a188=_0x30e513;super(),_(this,_0x8a188(0x3ae),new I[(_0x8a188(0x213))](u[_0x8a188(0x35d)][_0x8a188(0x2ba)])),(this[_0x8a188(0x4b1)]=_0x484733,this[_0x8a188(0x23e)]=_0x1a8177,this[_0x8a188(0x227)]=_0x54b88d,this[_0x8a188(0x260)]=_0x1258c8,this[_0x8a188(0x2db)](),this[_0x8a188(0x424)]());}['_initStatusListener'](){const _0x2cb367=_0x30e513;this[_0x2cb367(0x2eb)](this[_0x2cb367(0x4b1)][_0x2cb367(0x1f4)][_0x2cb367(0x485)](I[_0x2cb367(0x36e)](()=>{const _0x21dbe4=_0x2cb367,_0x5e84fb=this[_0x21dbe4(0x4b1)][_0x21dbe4(0x4ad)]();return _0x5e84fb?this[_0x21dbe4(0x227)][_0x21dbe4(0x27f)](_0x5e84fb['getUnitId']()):I['of'](null);}),I['switchMap'](_0x4673d8=>_0x4673d8?_0x4673d8[_0x2cb367(0x288)]:I['of'](u[_0x2cb367(0x35d)]['NOT_COLLAB'])))[_0x2cb367(0x376)](_0x2714d8=>{const _0x37adfb=_0x2cb367;this[_0x37adfb(0x3ae)][_0x37adfb(0x44a)](_0x2714d8);}));}[_0x30e513(0x2db)](){const _0x14485e=_0x30e513;this[_0x14485e(0x2eb)](this[_0x14485e(0x260)][_0x14485e(0x4bd)](O[_0x14485e(0x20d)]['HEADER_MENU'],()=>O[_0x14485e(0x2e8)](ot({'status$':this[_0x14485e(0x3ae)]['asObservable']()}),this['_injector'])));}},exports[_0x30e513(0x34a)]=rt([K(0x0,a[_0x30e513(0x202)]),K(0x1,a[_0x30e513(0x3f5)](a[_0x30e513(0x3e9)])),K(0x2,a[_0x30e513(0x3f5)](u[_0x30e513(0x45d)])),K(0x3,O[_0x30e513(0x277)])],exports[_0x30e513(0x34a)]);function ot(_0x3010af){const {status$:_0x9db743}=_0x3010af;return function(){const _0x2d5429=_0x2f23;return M[_0x2d5429(0x267)](it,{'status$':_0x9db743});};}const Oe=a[_0x30e513(0x444)](_0x30e513(0x297));var at=Object['getOwnPropertyDescriptor'],ct=(_0x34d8d7,_0x1284a0,_0x53dce0,_0x269967)=>{const _0x457cf9=_0x30e513;for(var _0x385d72=_0x269967>0x1?void 0x0:_0x269967?at(_0x1284a0,_0x53dce0):_0x1284a0,_0x497ae4=_0x34d8d7[_0x457cf9(0x457)]-0x1,_0x4c683a;_0x497ae4>=0x0;_0x497ae4--)(_0x4c683a=_0x34d8d7[_0x497ae4])&&(_0x385d72=_0x4c683a(_0x385d72)||_0x385d72);return _0x385d72;},Y=(_0x4bff05,_0x25196f)=>(_0x38917d,_0x5340f7)=>_0x25196f(_0x38917d,_0x5340f7,_0x4bff05);exports['CollaborationDataLoaderController']=class extends a[_0x30e513(0x2a6)]{constructor(_0x5472fb,_0x6f7346,_0x3b6f44,_0x12f97e,_0x656788){const _0x456f1d=_0x30e513;super(),this[_0x456f1d(0x24a)]=_0x5472fb,this[_0x456f1d(0x479)]=_0x6f7346,this[_0x456f1d(0x289)]=_0x3b6f44,this[_0x456f1d(0x3f2)]=_0x12f97e,_0x656788?_0x656788==null||_0x656788[_0x456f1d(0x302)]()[_0x456f1d(0x343)](()=>this[_0x456f1d(0x38d)]()):(this[_0x456f1d(0x479)][_0x456f1d(0x2fe)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x30e513(0x38d)](){const _0x414aa4=_0x30e513,_0x500ca3=this[_0x414aa4(0x24a)]['getParam'](_0x414aa4(0x322)),_0x28a99f=this[_0x414aa4(0x24a)][_0x414aa4(0x482)](_0x414aa4(0x428)),_0x3260a5=this[_0x414aa4(0x24a)][_0x414aa4(0x482)](_0x414aa4(0x3a8));if(!_0x500ca3||!_0x28a99f){this['_logService'][_0x414aa4(0x2fe)](_0x414aa4(0x28c),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x5f5151=await this[_0x414aa4(0x3f2)][_0x414aa4(0x347)](_0x500ca3,Number(_0x28a99f),_0x3260a5);_0x5f5151&&_0x5f5151 instanceof a[_0x414aa4(0x30d)]&&this['_setupSubUnitSync'](_0x5f5151);}async[_0x30e513(0x342)](_0x73a9c0){const _0x7ad512=_0x30e513;await this[_0x7ad512(0x266)](_0x73a9c0),_0x73a9c0['activeSheet$'][_0x7ad512(0x485)](I['takeUntil'](this[_0x7ad512(0x3db)]))[_0x7ad512(0x376)](_0x1fd81a=>{const _0x1a7bd3=_0x7ad512;_0x1fd81a&&this[_0x1a7bd3(0x34b)](_0x1fd81a);}),this['_urlService']['urlChange$'][_0x7ad512(0x485)](I['takeUntil'](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x73a9c0));}[_0x30e513(0x34b)](_0x2a2d2d,_0x3ad703=!0x1){const _0x4288cf=_0x30e513,_0x284876=this[_0x4288cf(0x24a)][_0x4288cf(0x482)]('subunit');_0x2a2d2d[_0x4288cf(0x483)]()!==_0x284876&&this[_0x4288cf(0x24a)]['setParam']('subunit',_0x2a2d2d['getSheetId'](),_0x3ad703);}async[_0x30e513(0x266)](_0x184ee6){const _0x3548a6=_0x30e513;var _0xfc0e2c;const _0x15630a=this[_0x3548a6(0x24a)][_0x3548a6(0x482)](_0x3548a6(0x3a8));if(!_0x15630a||!_0x184ee6[_0x3548a6(0x3fb)](_0x15630a)){const _0x30097d=_0x184ee6['getUnhiddenWorksheets']()[0x0],_0x3435f5=_0x184ee6[_0x3548a6(0x3fb)](_0x30097d);if(!_0x3435f5)return;this[_0x3548a6(0x34b)](_0x3435f5,!0x0),await this[_0x3548a6(0x289)][_0x3548a6(0x478)](v[_0x3548a6(0x235)]['id'],{'unitId':_0x184ee6['getUnitId'](),'subUnitId':_0x30097d});return;}((_0xfc0e2c=_0x184ee6['getActiveSheet']())==null?void 0x0:_0xfc0e2c[_0x3548a6(0x483)]())!==_0x15630a&&await this['_commandService']['executeCommand'](v['SetWorksheetActivateCommand']['id'],{'unitId':_0x184ee6['getUnitId'](),'subUnitId':_0x15630a});}},exports[_0x30e513(0x247)]=ct([Y(0x0,Oe),Y(0x1,a[_0x30e513(0x1f5)]),Y(0x2,a[_0x30e513(0x40a)]),Y(0x3,a['Inject'](u['DataLoaderService'])),Y(0x4,a['Optional'](qe['IRemoteInstanceService']))],exports['CollaborationDataLoaderController']);var lt=Object[_0x30e513(0x45b)],_t=(_0xe79763,_0x4979aa,_0x57f1c5,_0x39f1a4)=>{const _0x159d46=_0x30e513;for(var _0xbc668e=_0x39f1a4>0x1?void 0x0:_0x39f1a4?lt(_0x4979aa,_0x57f1c5):_0x4979aa,_0x1d6231=_0xe79763[_0x159d46(0x457)]-0x1,_0x433046;_0x1d6231>=0x0;_0x1d6231--)(_0x433046=_0xe79763[_0x1d6231])&&(_0xbc668e=_0x433046(_0xbc668e)||_0xbc668e);return _0xbc668e;},De=(_0x3c0614,_0x564f1c)=>(_0xa4fd70,_0x2f83b1)=>_0x564f1c(_0xa4fd70,_0x2f83b1,_0x3c0614);let me=class extends a['RxDisposable']{constructor(_0x32a58e,_0x14c254){const _0x54e019=_0x30e513;super(),this[_0x54e019(0x445)]=_0x32a58e,this[_0x54e019(0x273)]=_0x14c254,this['_init']();}[_0x30e513(0x38d)](){const _0x5450b8=_0x30e513,_0xc3c504=this;this[_0x5450b8(0x2eb)](this[_0x5450b8(0x445)]['addClipboardHook']({'onBeforePasteImage':async _0xb7e1fe=>{const _0x44c4f7=_0x5450b8,_0x407d15=await _0xc3c504[_0x44c4f7(0x273)][_0x44c4f7(0x24d)](_0xb7e1fe);return _0x407d15?{'source':_0x407d15['source'],'imageSourceType':_0x407d15[_0x44c4f7(0x2e9)]}:null;}}));}};me=_t([De(0x0,T[_0x30e513(0x441)]),De(0x1,ze[_0x30e513(0x38e)])],me);const Ne=[_0x30e513(0x3ec),_0x30e513(0x4b2),_0x30e513(0x353),'red.300',_0x30e513(0x41f),'yellow.400'];class Re extends a[_0x30e513(0x3c0)]{constructor(){const _0x3d5fc4=_0x30e513;super(...arguments),_(this,_0x3d5fc4(0x47e),new Map()),_(this,_0x3d5fc4(0x4a3),0x0);}[_0x30e513(0x253)](_0x551285){const _0xf65f39=_0x30e513;if(this[_0xf65f39(0x47e)][_0xf65f39(0x3a7)](_0x551285))return this['_assignedColors'][_0xf65f39(0x3a9)](_0x551285);const _0x3e7cb4=Ne[this[_0xf65f39(0x4a3)]];return this[_0xf65f39(0x4a3)]=(this[_0xf65f39(0x4a3)]+0x1)%Ne['length'],this[_0xf65f39(0x47e)][_0xf65f39(0x416)](_0x551285,_0x3e7cb4),_0x3e7cb4;}}function Fe(_0x22ae17){const _0x100c72=_0x30e513;let _0x5da3b2='';for(const _0x1c7e5c of _0x22ae17){const {startOffset:_0x5be639,endOffset:_0x26c17d,isActive:_0x223a8a,rangeType:_0xe585b0,segmentId:_0x591cd7,segmentPage:_0x238aa2}=_0x1c7e5c;_0x5da3b2[_0x100c72(0x457)]&&(_0x5da3b2+=','),_0x5da3b2+=_0x5be639+':'+_0x26c17d+':'+(_0x223a8a?'1':'0')+':'+_0xe585b0+':'+_0x591cd7+':'+_0x238aa2;}return _0x5da3b2;}function ht(_0xb140cc){const _0x410586=_0x30e513,_0x5daa69=_0xb140cc[_0x410586(0x39a)](','),_0x321022=[];for(const _0x310a0a of _0x5daa69){const [_0x5f5ca9,_0xcf4bbe,_0x5f147e,_0x593faf,_0x345307,_0x2d888b]=_0x310a0a[_0x410586(0x39a)](':');_0x321022[_0x410586(0x293)]({'startOffset':Number(_0x5f5ca9),'endOffset':Number(_0xcf4bbe),'collapsed':_0x5f5ca9===_0xcf4bbe,'isActive':_0x5f147e==='1','rangeType':_0x593faf===a[_0x410586(0x2e0)][_0x410586(0x423)]?a[_0x410586(0x2e0)][_0x410586(0x423)]:a[_0x410586(0x2e0)][_0x410586(0x2d2)],'segmentId':typeof _0x345307==_0x410586(0x2bb)?String(_0x345307):'','segmentPage':Number(_0x2d888b!=null?_0x2d888b:-0x1)});}return _0x321022[_0x410586(0x4b9)](_0x227ec3=>_0x227ec3[_0x410586(0x257)])||(_0x321022[0x0][_0x410586(0x257)]=!0x0),_0x321022;}class be extends a[_0x30e513(0x2a6)]{constructor(){const _0x31c26a=_0x30e513;super(...arguments),_(this,'_collabCursorState$',new I[(_0x31c26a(0x213))](null)),_(this,'collabCursorState$',this['_collabCursorState$'][_0x31c26a(0x41d)]());}[_0x30e513(0x395)](_0x4ccb0f){const {unitID:_0x43cb94,memberID:_0x5198bf,textRanges:_0x4a023c}=_0x4ccb0f,_0x4284e1=Fe(_0x4a023c);if(_0x4284e1==='')return;const _0x23e987={'unitID':_0x43cb94,'memberID':_0x5198bf,'selection':_0x4284e1};this['_collabCursorState$']['next'](_0x23e987);}}var ut=Object[_0x30e513(0x45b)],It=(_0x407ee9,_0x45ac2a,_0x27a106,_0x37bf3c)=>{const _0x365860=_0x30e513;for(var _0x491bdf=_0x37bf3c>0x1?void 0x0:_0x37bf3c?ut(_0x45ac2a,_0x27a106):_0x45ac2a,_0x4bbd78=_0x407ee9[_0x365860(0x457)]-0x1,_0x456eee;_0x4bbd78>=0x0;_0x4bbd78--)(_0x456eee=_0x407ee9[_0x4bbd78])&&(_0x491bdf=_0x456eee(_0x491bdf)||_0x491bdf);return _0x491bdf;},U=(_0x32d128,_0x50912e)=>(_0x15286f,_0x45772e)=>_0x50912e(_0x15286f,_0x45772e,_0x32d128);const St=0x12c,dt=0x64;let ve=class extends a['RxDisposable']{constructor(_0x297808,_0x4c0cd9,_0x3750aa,_0x5c62ac,_0x195453,_0x2f0f07,_0x43b43b,_0x169d3d,_0x36bd02){const _0x25136d=_0x30e513;super(),_(this,'_online',!0x1),_(this,'_init',!0x1),_(this,_0x25136d(0x49d),new I[(_0x25136d(0x213))](new Map())),_(this,_0x25136d(0x26a),this[_0x25136d(0x49d)][_0x25136d(0x41d)]()),_(this,_0x25136d(0x3f6),new I[(_0x25136d(0x213))]([])),_(this,_0x25136d(0x3cc),this[_0x25136d(0x3f6)][_0x25136d(0x485)](I[_0x25136d(0x2a5)](St))),_(this,_0x25136d(0x404),a[_0x25136d(0x371)](_0x57fa4b=>{const _0x4c3e3f=_0x25136d,_0x3ba040={'eventID':g[_0x4c3e3f(0x2a1)][_0x4c3e3f(0x304)],'data':{'unitID':this['unitID'],'memberID':this[_0x4c3e3f(0x3b0)][_0x4c3e3f(0x23a)](),'selection':Fe(_0x57fa4b)}};this[_0x4c3e3f(0x3b0)][_0x4c3e3f(0x38f)](_0x3ba040,this[_0x4c3e3f(0x3ea)]);},dt)),(this[_0x25136d(0x3ea)]=_0x297808,this[_0x25136d(0x3b0)]=_0x4c0cd9,this['_injector']=_0x3750aa,this[_0x25136d(0x481)]=_0x5c62ac,this[_0x25136d(0x3b2)]=_0x195453,this[_0x25136d(0x25f)]=_0x2f0f07,this[_0x25136d(0x3fc)]=_0x43b43b,this[_0x25136d(0x4b1)]=_0x169d3d,this[_0x25136d(0x289)]=_0x36bd02);}get[_0x30e513(0x2bc)](){const _0x31b90c=_0x30e513;return this[_0x31b90c(0x49d)]['getValue']();}get[_0x30e513(0x3d5)](){const _0x3657a4=_0x30e513;return this[_0x3657a4(0x3f6)][_0x3657a4(0x237)]();}[_0x30e513(0x3d7)](){const _0x19f5c1=_0x30e513;super[_0x19f5c1(0x3d7)](),this[_0x19f5c1(0x49d)][_0x19f5c1(0x44a)](new Map()),this['_cursorInfo$'][_0x19f5c1(0x47b)](),this[_0x19f5c1(0x3f6)][_0x19f5c1(0x44a)]([]),this[_0x19f5c1(0x3f6)]['complete']();}[_0x30e513(0x220)](){const _0x59fe30=_0x30e513;this[_0x59fe30(0x38d)]||(this[_0x59fe30(0x38d)]=!0x0,this['_session'][_0x59fe30(0x43e)][_0x59fe30(0x485)](I[_0x59fe30(0x367)](this[_0x59fe30(0x3db)]))['subscribe'](_0x12c5a8=>{const _0x123f57=_0x59fe30;_0x12c5a8===u[_0x123f57(0x37a)][_0x123f57(0x2f4)]?this[_0x123f57(0x381)]():this['_toggleOffline']();}),this['_session']['event$'][_0x59fe30(0x485)](I[_0x59fe30(0x367)](this[_0x59fe30(0x3db)]))['subscribe'](_0xbbcd51=>{const _0x12d60d=_0x59fe30,_0x385920=_0xbbcd51['eventID'];_0x385920===g[_0x12d60d(0x2a1)]['UPDATE_CURSOR']&&this[_0x12d60d(0x228)](_0xbbcd51),_0x385920===g['CollaborationEvent'][_0x12d60d(0x366)]&&this[_0x12d60d(0x224)](_0xbbcd51);}),this[_0x59fe30(0x2eb)](this['_commandService'][_0x59fe30(0x2e3)](_0x4214ab=>{const _0x355700=_0x59fe30,_0x4bd12f=_0x4214ab[_0x355700(0x450)];_0x4bd12f!=null&&this[_0x355700(0x2ca)]&&_0x4214ab['id']===V[_0x355700(0x31a)]['id']&&_0x4bd12f['unitId']===this[_0x355700(0x3ea)]&&_0x4bd12f[_0x355700(0x207)]===!0x1&&_0x4bd12f[_0x355700(0x2cf)][_0x355700(0x457)]>0x0&&this[_0x355700(0x404)](_0x4bd12f[_0x355700(0x2cf)]);})),this[_0x59fe30(0x25f)][_0x59fe30(0x48b)]['pipe'](I[_0x59fe30(0x367)](this[_0x59fe30(0x3db)]))['subscribe'](_0x474c97=>{const _0x354415=_0x59fe30;if((_0x474c97==null?void 0x0:_0x474c97[_0x354415(0x3ea)])!==this['unitID'])return;const _0x3c681a={'eventID':g[_0x354415(0x2a1)][_0x354415(0x304)],'data':_0x474c97};this[_0x354415(0x228)](_0x3c681a);}),this['disposeWithMe'](this['_commandService'][_0x59fe30(0x2e3)](_0xe2be52=>{const _0xb6ad99=_0x59fe30;if(_0xe2be52['params']==null)return;const _0x5d706c=_0xe2be52[_0xb6ad99(0x450)];if(_0xe2be52['id']!==V['RichTextEditingMutation']['id']||_0x5d706c['unitId']!==this[_0xb6ad99(0x3ea)])return;const _0x617de={'id':'doc.mutation.rich-text-editing','params':_0x5d706c},_0x2ccc15=this['cursorInfo'];for(const [_0x5096a5,_0x547f5e]of _0x2ccc15){const _0x456276={'id':_0xb6ad99(0x30c),'params':{'unitId':this[_0xb6ad99(0x3ea)],'actions':null,'textRanges':_0x547f5e[_0xb6ad99(0x2cf)]}},_0x3c286e=this[_0xb6ad99(0x3fc)][_0xb6ad99(0x429)](_0x617de,_0x456276,!0x1);if(g[_0xb6ad99(0x365)](_0x3c286e))throw _0x3c286e[_0xb6ad99(0x244)];_0x2ccc15[_0xb6ad99(0x416)](_0x5096a5,{..._0x547f5e,'ranges':_0x3c286e[_0xb6ad99(0x336)][_0xb6ad99(0x450)][_0xb6ad99(0x33f)]});}queueMicrotask(()=>{const _0x4b848c=_0xb6ad99;this[_0x4b848c(0x49d)]['next'](_0x2ccc15);});})));}[_0x30e513(0x228)](_0x528e99){const _0xb64db8=_0x30e513;var _0x2dad40,_0x159271;const {memberID:_0x30abec,selection:_0x52e635}=_0x528e99['data'],_0x15ae37=ht(_0x52e635),_0x380e71=(_0x159271=(_0x2dad40=this[_0xb64db8(0x3b2)]['getMember'](this[_0xb64db8(0x3ea)],_0x30abec))==null?void 0x0:_0x2dad40[_0xb64db8(0x4a4)])!=null?_0x159271:_0xb64db8(0x3a1),_0x7b86b={'color':this[_0xb64db8(0x481)][_0xb64db8(0x253)](_0x30abec),'name':_0x380e71,'ranges':_0x15ae37},_0x45cf99=this[_0xb64db8(0x2bc)];_0x45cf99[_0xb64db8(0x416)](_0x30abec,_0x7b86b),this[_0xb64db8(0x49d)][_0xb64db8(0x44a)](_0x45cf99);}[_0x30e513(0x224)](_0x144f7d){const _0x1281e4=_0x30e513,{memberID:_0x5f2cb8}=_0x144f7d[_0x1281e4(0x430)],_0x25afa5=this[_0x1281e4(0x2bc)];_0x25afa5[_0x1281e4(0x216)](_0x5f2cb8),this[_0x1281e4(0x49d)][_0x1281e4(0x44a)](_0x25afa5);}['_toggleOnline'](){const _0x5bbbc7=_0x30e513;var _0x440d65;if(this[_0x5bbbc7(0x2ca)]=!0x0,((_0x440d65=this[_0x5bbbc7(0x4b1)][_0x5bbbc7(0x4ad)]())==null?void 0x0:_0x440d65[_0x5bbbc7(0x241)]())!==this['unitID'])return;const _0x54405b=this[_0x5bbbc7(0x23e)]['get'](V[_0x5bbbc7(0x1fb)])[_0x5bbbc7(0x383)]();Array[_0x5bbbc7(0x212)](_0x54405b)&&_0x54405b['length']>0x0&&this[_0x5bbbc7(0x404)](_0x54405b);}['_toggleOffline'](){const _0x17e3c6=_0x30e513;this[_0x17e3c6(0x2ca)]=!0x1;}};ve=It([U(0x2,a[_0x30e513(0x3f5)](a['Injector'])),U(0x3,a[_0x30e513(0x3f5)](Re)),U(0x4,a['Inject'](u['MemberService'])),U(0x5,a[_0x30e513(0x3f5)](be)),U(0x6,g[_0x30e513(0x252)]),U(0x7,a['IUniverInstanceService']),U(0x8,a['ICommandService'])],ve);var ft=Object[_0x30e513(0x45b)],mt=(_0x10ccc6,_0x3d1383,_0x328885,_0x4c391a)=>{const _0x48d655=_0x30e513;for(var _0x1ee057=_0x4c391a>0x1?void 0x0:_0x4c391a?ft(_0x3d1383,_0x328885):_0x3d1383,_0x52fa08=_0x10ccc6[_0x48d655(0x457)]-0x1,_0x7059c8;_0x52fa08>=0x0;_0x52fa08--)(_0x7059c8=_0x10ccc6[_0x52fa08])&&(_0x1ee057=_0x7059c8(_0x1ee057)||_0x1ee057);return _0x1ee057;},w=(_0x1b777e,_0x401455)=>(_0x1e605d,_0x54f6e5)=>_0x401455(_0x1e605d,_0x54f6e5,_0x1b777e);const vt=0x12c,gt=0x64,Et=()=>{let _0x5554b6=[],_0x49e60f=!0x1;return _0xbe0ce3=>{const _0x19574d=_0x2f23;_0x5554b6[_0x19574d(0x293)](_0xbe0ce3),_0x49e60f||(_0x49e60f=!0x0,setTimeout(()=>{_0x5554b6['forEach'](_0x7f69b4=>_0x7f69b4()),_0x5554b6=[],_0x49e60f=!0x1;}));};};let ge=class extends a[_0x30e513(0x2a6)]{constructor(_0x34e91d,_0x639360,_0x146645,_0x1beacc,_0x3694ca,_0x430aa9,_0x23b5e3,_0x215980){const _0x516bb5=_0x30e513;super(),_(this,_0x516bb5(0x2ca),!0x1),_(this,_0x516bb5(0x38d),!0x1),_(this,_0x516bb5(0x49d),new I[(_0x516bb5(0x213))](new Map())),_(this,_0x516bb5(0x26a),this['_cursorInfo$'][_0x516bb5(0x41d)]()),_(this,_0x516bb5(0x3f6),new I[(_0x516bb5(0x213))]([])),_(this,'roomMembers$',this[_0x516bb5(0x3f6)][_0x516bb5(0x485)](I[_0x516bb5(0x2a5)](vt))),_(this,_0x516bb5(0x404),a['debounce']((_0x4560ef,_0x1197fe)=>{const _0x1abf99=_0x516bb5,_0x164ba1={'eventID':g[_0x1abf99(0x2a1)][_0x1abf99(0x304)],'data':{'unitID':this['unitID'],'memberID':this[_0x1abf99(0x3b0)]['getMemberID'](),'selection':B[_0x1abf99(0x295)](_0x4560ef,_0x1197fe[_0x1abf99(0x471)])}};this['_session'][_0x1abf99(0x38f)](_0x164ba1,this[_0x1abf99(0x3ea)]);},gt)),(this['unitID']=_0x34e91d,this[_0x516bb5(0x3b0)]=_0x639360,this['_injector']=_0x146645,this[_0x516bb5(0x481)]=_0x1beacc,this[_0x516bb5(0x3b2)]=_0x3694ca,this[_0x516bb5(0x4b1)]=_0x430aa9,this['_commandService']=_0x23b5e3,this[_0x516bb5(0x2d9)]=_0x215980);}get[_0x30e513(0x2bc)](){const _0x25c629=_0x30e513;return this[_0x25c629(0x49d)]['getValue']();}get[_0x30e513(0x3d5)](){const _0xf17936=_0x30e513;return this[_0xf17936(0x3f6)][_0xf17936(0x237)]();}['dispose'](){const _0x18ff7d=_0x30e513;super[_0x18ff7d(0x3d7)](),this[_0x18ff7d(0x49d)][_0x18ff7d(0x44a)](new Map()),this['_cursorInfo$'][_0x18ff7d(0x47b)](),this[_0x18ff7d(0x3f6)][_0x18ff7d(0x44a)]([]),this[_0x18ff7d(0x3f6)][_0x18ff7d(0x47b)]();}[_0x30e513(0x220)](){const _0x4cd578=_0x30e513;this[_0x4cd578(0x38d)]||(this[_0x4cd578(0x38d)]=!0x0,this['_session']['sessionStatus$'][_0x4cd578(0x485)](I[_0x4cd578(0x367)](this[_0x4cd578(0x3db)]))[_0x4cd578(0x376)](_0x5c0164=>{const _0x1c4e48=_0x4cd578;_0x5c0164===u['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x1c4e48(0x379)]();}),this[_0x4cd578(0x3b0)][_0x4cd578(0x3ef)][_0x4cd578(0x485)](I[_0x4cd578(0x367)](this[_0x4cd578(0x3db)]))['subscribe'](_0x3b182b=>{const _0x4291f1=_0x4cd578,_0x356a6d=_0x3b182b[_0x4291f1(0x46c)];_0x356a6d===g[_0x4291f1(0x2a1)][_0x4291f1(0x304)]&&this[_0x4291f1(0x228)](_0x3b182b),_0x356a6d===g['CollaborationEvent'][_0x4291f1(0x366)]&&this[_0x4291f1(0x224)](_0x3b182b);}),this[_0x4cd578(0x2d4)](),this[_0x4cd578(0x2eb)](this['_commandService'][_0x4cd578(0x2e3)](_0x221379=>{const _0x425d1f=_0x4cd578;if(this[_0x425d1f(0x2ca)]&&_0x221379['id']===v[_0x425d1f(0x467)]['id']&&_0x221379[_0x425d1f(0x450)][_0x425d1f(0x4a1)]===this[_0x425d1f(0x3ea)]){const _0x3131dc=_0x221379[_0x425d1f(0x450)];this[_0x425d1f(0x404)](_0x3131dc[_0x425d1f(0x47c)],_0x3131dc[_0x425d1f(0x49c)][0x0]);}})));}[_0x30e513(0x228)](_0x4baa41){const _0x308bba=_0x30e513;var _0x52866d,_0x558d63;const {memberID:_0x35f5f2,selection:_0x16e2f0}=_0x4baa41[_0x308bba(0x430)],{sheetName:_0x21837a,range:_0x2f567f}=B[_0x308bba(0x24b)](_0x16e2f0),_0x1d3131={'name':(_0x558d63=(_0x52866d=this[_0x308bba(0x3b2)]['getMember'](this[_0x308bba(0x3ea)],_0x35f5f2))==null?void 0x0:_0x52866d['name'])!=null?_0x558d63:_0x308bba(0x3a1),'range':this[_0x308bba(0x447)](_0x21837a,_0x2f567f),'sheetID':_0x21837a,'color':this[_0x308bba(0x481)][_0x308bba(0x253)](_0x35f5f2),'selection':_0x16e2f0},_0x35410a=this['cursorInfo'];_0x35410a['set'](_0x35f5f2,_0x1d3131),this[_0x308bba(0x49d)][_0x308bba(0x44a)](_0x35410a);}[_0x30e513(0x224)](_0xa207cb){const _0x31064e=_0x30e513,{memberID:_0x441f31}=_0xa207cb[_0x31064e(0x430)],_0x2e053f=this[_0x31064e(0x2bc)];_0x2e053f[_0x31064e(0x216)](_0x441f31),this[_0x31064e(0x49d)][_0x31064e(0x44a)](_0x2e053f);}[_0x30e513(0x447)](_0x25861e,_0x4e4ee6){const _0x5471e8=_0x30e513;var _0x5262dd,_0x17c14a;const _0x2a60fd=(_0x17c14a=(_0x5262dd=this[_0x5471e8(0x4b1)][_0x5471e8(0x3e7)](this[_0x5471e8(0x3ea)]))==null?void 0x0:_0x5262dd[_0x5471e8(0x3fb)](_0x25861e))==null?void 0x0:_0x17c14a['getMergeData']();return(_0x2a60fd==null?void 0x0:_0x2a60fd[_0x5471e8(0x1fe)](_0x3fdedd=>a[_0x5471e8(0x346)][_0x5471e8(0x3d2)](_0x3fdedd,_0x4e4ee6)))||_0x4e4ee6;}['_onRefRangeChange'](){const _0x1a9e66=_0x30e513,_0x3f926a=new a[(_0x1a9e66(0x422))](),_0x4a076a=Et(),_0x438a02=()=>{const _0x49b219=_0x1a9e66;_0x3f926a[_0x49b219(0x3d7)]();const _0x49042c=(_0x4325d2,_0x5bce13,_0xe322ef,_0xf084ef)=>{const _0x66aea4=_0x49b219;let _0x2801fb=[];switch(_0x4325d2['id']){case v[_0x66aea4(0x29e)]['DeleteRangeMoveLeftCommandId']:{_0x2801fb=v[_0x66aea4(0x2f3)](_0x4325d2,_0xf084ef);break;}case v['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x2801fb=v[_0x66aea4(0x453)](_0x4325d2,_0xf084ef);break;}case v[_0x66aea4(0x29e)]['InsertColCommandId']:{_0x2801fb=v['handleInsertCol'](_0x4325d2,_0xf084ef);break;}case v[_0x66aea4(0x29e)][_0x66aea4(0x36b)]:{_0x2801fb=v[_0x66aea4(0x26c)](_0x4325d2,_0xf084ef);break;}case v[_0x66aea4(0x29e)][_0x66aea4(0x26f)]:{_0x2801fb=v[_0x66aea4(0x415)](_0x4325d2,_0xf084ef);break;}case v[_0x66aea4(0x29e)]['InsertRowCommandId']:{_0x2801fb=v['handleInsertRow'](_0x4325d2,_0xf084ef);break;}case v[_0x66aea4(0x29e)][_0x66aea4(0x356)]:{_0x2801fb=v[_0x66aea4(0x3bb)](_0x4325d2,_0xf084ef);break;}case v[_0x66aea4(0x29e)][_0x66aea4(0x332)]:{_0x2801fb=v[_0x66aea4(0x41c)](_0x4325d2,_0xf084ef);break;}case v[_0x66aea4(0x29e)][_0x66aea4(0x249)]:{_0x2801fb=v[_0x66aea4(0x28f)](_0x4325d2,_0xf084ef);break;}}const _0x269319=v[_0x66aea4(0x39d)](_0x2801fb,_0xf084ef),_0x58541c=this[_0x66aea4(0x2bc)][_0x66aea4(0x3a9)](_0x5bce13);if(_0x58541c&&_0x269319){const _0x612c7a={..._0x58541c,'range':_0x269319};this[_0x66aea4(0x2bc)]['set'](_0x5bce13,_0x612c7a),_0x4a076a(()=>{const _0x5af5d2=_0x66aea4,_0x4e43b7=this['_refRangeService'][_0x5af5d2(0x316)](_0x269319,_0x1975a1=>(_0x4e43b7[_0x5af5d2(0x3d7)](),_0x49042c(_0x1975a1,_0x5bce13,_0xe322ef,_0x269319)));_0x3f926a['add'](_0x4e43b7);});}return{'redos':[],'undos':[]};};this[_0x49b219(0x2bc)][_0x49b219(0x25c)]((_0x34d548,_0x2b197d)=>{const _0x366b50=_0x49b219,{range:_0x3d9e4f,sheetID:_0x44a241}=_0x34d548,_0x27d27d=this[_0x366b50(0x2d9)][_0x366b50(0x316)](_0x3d9e4f,_0x408571=>(_0x27d27d[_0x366b50(0x3d7)](),_0x49042c(_0x408571,_0x2b197d,_0x44a241,_0x3d9e4f)));_0x3f926a[_0x366b50(0x2e4)](_0x27d27d);});};this[_0x1a9e66(0x2eb)](a[_0x1a9e66(0x3e2)](this[_0x1a9e66(0x49d)][_0x1a9e66(0x376)](()=>{_0x438a02();})));}[_0x30e513(0x381)](){const _0x24d3ec=_0x30e513;var _0x2921cb,_0xcb693b;if(this[_0x24d3ec(0x2ca)]=!0x0,((_0x2921cb=this[_0x24d3ec(0x4b1)][_0x24d3ec(0x4ad)]())==null?void 0x0:_0x2921cb[_0x24d3ec(0x241)]())!==this[_0x24d3ec(0x3ea)])return;const _0x2b4624=(_0xcb693b=this[_0x24d3ec(0x23e)][_0x24d3ec(0x3a9)](v[_0x24d3ec(0x41e)])[_0x24d3ec(0x3d3)]())==null?void 0x0:_0xcb693b[0x0],_0x373c6c=this[_0x24d3ec(0x4b1)][_0x24d3ec(0x43c)](a[_0x24d3ec(0x2c1)][_0x24d3ec(0x230)])[_0x24d3ec(0x391)]();_0x2b4624&&_0x373c6c&&this[_0x24d3ec(0x404)](_0x373c6c[_0x24d3ec(0x483)](),_0x2b4624);}[_0x30e513(0x379)](){const _0x402249=_0x30e513;this[_0x402249(0x2ca)]=!0x1;}};ge=mt([w(0x2,a[_0x30e513(0x3f5)](a[_0x30e513(0x3e9)])),w(0x3,a[_0x30e513(0x3f5)](Re)),w(0x4,a['Inject'](u[_0x30e513(0x2c5)])),w(0x5,a[_0x30e513(0x202)]),w(0x6,a['ICommandService']),w(0x7,a[_0x30e513(0x3f5)](v[_0x30e513(0x37e)]))],ge);var Ct=Object[_0x30e513(0x45b)],Tt=(_0x9d6036,_0xf54fbe,_0x4f9396,_0x39ff8e)=>{for(var _0x5ecdc4=_0x39ff8e>0x1?void 0x0:_0x39ff8e?Ct(_0xf54fbe,_0x4f9396):_0xf54fbe,_0x217101=_0x9d6036['length']-0x1,_0x21d2b1;_0x217101>=0x0;_0x217101--)(_0x21d2b1=_0x9d6036[_0x217101])&&(_0x5ecdc4=_0x21d2b1(_0x5ecdc4)||_0x5ecdc4);return _0x5ecdc4;},ce=(_0x49834d,_0x459e05)=>(_0x3e75c1,_0x445558)=>_0x459e05(_0x3e75c1,_0x445558,_0x49834d);let F=class extends a['RxDisposable']{constructor(_0x5dfab4,_0x2dd410,_0x5ae4a8){const _0x36d733=_0x30e513;super(),_(this,_0x36d733(0x218),new Map()),_(this,'_entityInit$',new I['Subject']()),(this[_0x36d733(0x4b1)]=_0x5dfab4,this[_0x36d733(0x23e)]=_0x2dd410,this[_0x36d733(0x2b3)]=_0x5ae4a8,this[_0x36d733(0x38d)]());}[_0x30e513(0x3d7)](){const _0x576d70=_0x30e513;super[_0x576d70(0x3d7)](),this[_0x576d70(0x4a6)][_0x576d70(0x47b)](),this[_0x576d70(0x218)][_0x576d70(0x25c)](_0x4f3ed7=>_0x4f3ed7[_0x576d70(0x3d7)]());}['getCollabCursors$'](_0xe0d032){const _0x518d5b=_0x30e513;return this[_0x518d5b(0x218)][_0x518d5b(0x3a7)](_0xe0d032)?this['_entities']['get'](_0xe0d032)[_0x518d5b(0x26a)]:this[_0x518d5b(0x4a6)][_0x518d5b(0x485)](I[_0x518d5b(0x458)](_0x528f50=>_0x528f50['unitID']===_0xe0d032),I['switchMap'](_0x54abac=>_0x54abac[_0x518d5b(0x26a)]));}[_0x30e513(0x38d)](){const _0x20e02d=_0x30e513;this[_0x20e02d(0x4b1)][_0x20e02d(0x46e)](a[_0x20e02d(0x2c1)][_0x20e02d(0x230)])[_0x20e02d(0x485)](I[_0x20e02d(0x367)](this[_0x20e02d(0x3db)]))['subscribe'](async _0x256388=>{const _0x416d97=_0x20e02d,_0xfea49f=_0x256388[_0x416d97(0x241)](),_0x38fbc9=await this[_0x416d97(0x340)](_0xfea49f);this[_0x416d97(0x4a6)][_0x416d97(0x44a)](_0x38fbc9),this['_entities'][_0x416d97(0x416)](_0xfea49f,_0x38fbc9);}),this[_0x20e02d(0x4b1)]['getTypeOfUnitAdded$'](a['UniverInstanceType'][_0x20e02d(0x4ae)])['pipe'](I[_0x20e02d(0x367)](this['dispose$']))[_0x20e02d(0x485)](I[_0x20e02d(0x458)](_0x1d4ea6=>!_0x1d4ea6['getUnitId']()[_0x20e02d(0x217)]('__')))[_0x20e02d(0x376)](async _0x7a7d4d=>{const _0x3cfdad=_0x20e02d,_0x2173d2=_0x7a7d4d[_0x3cfdad(0x241)](),_0x4b3d46=await this['_startDocCollabCursor'](_0x2173d2);this[_0x3cfdad(0x4a6)][_0x3cfdad(0x44a)](_0x4b3d46),this[_0x3cfdad(0x218)]['set'](_0x2173d2,_0x4b3d46);}),I[_0x20e02d(0x29c)](this[_0x20e02d(0x4b1)][_0x20e02d(0x238)](a[_0x20e02d(0x2c1)][_0x20e02d(0x4ae)]),this[_0x20e02d(0x4b1)][_0x20e02d(0x238)](a[_0x20e02d(0x2c1)]['UNIVER_SHEET']))[_0x20e02d(0x485)](I['takeUntil'](this['dispose$']))[_0x20e02d(0x376)](_0x561e66=>{const _0xf2c118=_0x20e02d,_0x2ad929=_0x561e66['getUnitId'](),_0x421dd3=this[_0xf2c118(0x218)]['get'](_0x2ad929);_0x421dd3&&(_0x421dd3['dispose'](),this[_0xf2c118(0x218)][_0xf2c118(0x216)](_0x2ad929));});}async[_0x30e513(0x340)](_0x3cdac5){const _0x50cc69=_0x30e513,_0x1c0beb=await this[_0x50cc69(0x2b3)][_0x50cc69(0x4b4)](_0x3cdac5),_0x565705=this[_0x50cc69(0x23e)][_0x50cc69(0x480)](ge,_0x3cdac5,_0x1c0beb);return _0x565705[_0x50cc69(0x220)](),_0x565705;}async[_0x30e513(0x2f8)](_0x8d3d35){const _0x47029a=_0x30e513,_0x1cfdbf=await this['_collabSessionService'][_0x47029a(0x4b4)](_0x8d3d35),_0x26158d=this['_injector']['createInstance'](ve,_0x8d3d35,_0x1cfdbf);return _0x26158d[_0x47029a(0x220)](),_0x26158d;}};F=Tt([ce(0x0,a[_0x30e513(0x202)]),ce(0x1,a['Inject'](a['Injector'])),ce(0x2,a[_0x30e513(0x3f5)](u[_0x30e513(0x2ef)]))],F);const X=0x14,Ue=0xc8,le=0x4,pt=0x5;function Ot(_0x522bfd,_0x20785a){const _0x629ad0=_0x30e513;let {radius:_0xae0819,width:_0x546a6f,height:_0x36c232}=_0x20785a;_0xae0819=_0xae0819!=null?_0xae0819:0x0,_0x546a6f=_0x546a6f!=null?_0x546a6f:0x1e,_0x36c232=_0x36c232!=null?_0x36c232:0x1e;let _0x3c4314=0x0,_0x2dcf14=0x0,_0x28471a=0x0;_0x3c4314=_0x2dcf14=_0x28471a=Math[_0x629ad0(0x34e)](_0xae0819,_0x546a6f/0x2,_0x36c232/0x2),_0x522bfd[_0x629ad0(0x2f6)](),_0x522bfd[_0x629ad0(0x2f2)](_0x3c4314,0x0),_0x522bfd['lineTo'](_0x546a6f-_0x2dcf14,0x0),_0x522bfd[_0x629ad0(0x464)](_0x546a6f-_0x2dcf14,_0x2dcf14,_0x2dcf14,Math['PI']*0x3/0x2,0x0,!0x1),_0x522bfd[_0x629ad0(0x460)](_0x546a6f,_0x36c232-_0x28471a),_0x522bfd[_0x629ad0(0x464)](_0x546a6f-_0x28471a,_0x36c232-_0x28471a,_0x28471a,0x0,Math['PI']/0x2,!0x1),_0x522bfd[_0x629ad0(0x460)](0x0,_0x36c232),_0x522bfd['lineTo'](0x0,_0x3c4314),_0x522bfd[_0x629ad0(0x464)](_0x3c4314,_0x3c4314,_0x3c4314,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x522bfd[_0x629ad0(0x477)](),_0x20785a[_0x629ad0(0x31e)]&&(_0x522bfd[_0x629ad0(0x2e6)](),_0x522bfd[_0x629ad0(0x1f6)]=_0x20785a[_0x629ad0(0x31e)],_0x20785a['fillRule']===_0x629ad0(0x398)?_0x522bfd[_0x629ad0(0x31e)](_0x629ad0(0x398)):_0x522bfd[_0x629ad0(0x31e)](),_0x522bfd[_0x629ad0(0x476)]());}class re extends C[_0x30e513(0x31d)]{constructor(_0x32a8a4,_0x34755d){const _0x1ac9f6=_0x30e513;super(_0x32a8a4,_0x34755d),_(this,'color'),_(this,'text'),(this[_0x1ac9f6(0x39c)]=_0x34755d==null?void 0x0:_0x34755d[_0x1ac9f6(0x39c)],this['text']=_0x34755d==null?void 0x0:_0x34755d[_0x1ac9f6(0x250)]);}static[_0x30e513(0x452)](_0x5c764e,_0x522123){const _0x47749f=_0x30e513,{text:_0x5d716c,color:_0x203e6a}=_0x522123;_0x5c764e['save'](),_0x5c764e[_0x47749f(0x419)]=_0x47749f(0x3c3);const _0x52e994=_0x5c764e[_0x47749f(0x390)](_0x5d716c)[_0x47749f(0x24e)],_0x2e949d=Math[_0x47749f(0x34e)](_0x52e994+0x2*le,Ue);Ot(_0x5c764e,{'height':X,'radius':0x4,'width':_0x2e949d,'fill':_0x203e6a}),_0x5c764e[_0x47749f(0x1f6)]=_0x47749f(0x40c);const _0x300fc6=le,_0x2582be=X-pt,_0x2e336b=Ue-0x2*le;if(_0x52e994>_0x2e336b){let _0x106982='',_0x459977=0x0;for(const _0x989aa of _0x5d716c){const _0x2c3a84=_0x5c764e[_0x47749f(0x390)](_0x989aa)[_0x47749f(0x24e)];if(_0x459977+_0x2c3a84<=_0x2e336b-_0x5c764e[_0x47749f(0x390)](_0x47749f(0x2d8))[_0x47749f(0x24e)])_0x106982+=_0x989aa,_0x459977+=_0x2c3a84;else{_0x106982+='...';break;}}_0x5c764e['fillText'](_0x106982,_0x300fc6,_0x2582be);}else _0x5c764e[_0x47749f(0x370)](_0x5d716c,_0x300fc6,_0x2582be);_0x5c764e['restore']();}[_0x30e513(0x362)](_0x1be85e){re['drawWith'](_0x1be85e,this);}}const _e='collab-text-anchor-',Rt=_0x30e513(0x490),bt=_0x30e513(0x2b5),H=0x6,Dt=1.5,he=0x4,Nt=1.5,Ut=_0x30e513(0x373);class Le{constructor(_0x27bb59,_0x388cf1,_0x4c4552,_0x5d6671){const _0x25728e=_0x30e513;_(this,_0x25728e(0x338),[]),_(this,_0x25728e(0x414),null),_(this,'_textBubble',null),_(this,_0x25728e(0x3aa),null),_(this,_0x25728e(0x30b),null),_(this,'_eventUnsubscribe',null),(this[_0x25728e(0x426)]=_0x27bb59,this['_scene']=_0x388cf1,this[_0x25728e(0x3b1)]=_0x4c4552,this[_0x25728e(0x2b6)]=_0x5d6671,this['_render']());}set['_hover'](_0x113107){const _0x5d495d=_0x30e513;_0x113107?(this[_0x5d495d(0x3aa)]&&this[_0x5d495d(0x3aa)][_0x5d495d(0x3ac)](),this[_0x5d495d(0x233)]&&this['_textBubble'][_0x5d495d(0x258)]()):(this[_0x5d495d(0x3aa)]&&this[_0x5d495d(0x3aa)][_0x5d495d(0x258)](),this[_0x5d495d(0x233)]&&this[_0x5d495d(0x233)]['hide']());}[_0x30e513(0x3d7)](){const _0x29535f=_0x30e513;for(const _0x52601c of this[_0x29535f(0x338)])_0x52601c['dispose']();this['_textBubble']&&this[_0x29535f(0x233)]['dispose'](),this[_0x29535f(0x3aa)]&&this['_anchorDot']['dispose'](),this[_0x29535f(0x414)]&&this[_0x29535f(0x414)]['dispose'](),this[_0x29535f(0x418)]&&this[_0x29535f(0x418)]();}[_0x30e513(0x2b7)](){const _0xdc758a=_0x30e513;var _0x464f0d;const {_docSkeleton:_0x7ee6bb,_document:_0xb7b0dc}=this,{color:_0x48c635,name:_0x7c7b9,ranges:_0x4d1880}=this[_0xdc758a(0x426)],_0x48f213=_0xb7b0dc['getOffsetConfig'](),{docsLeft:_0x395d39,docsTop:_0x31657a}=_0x48f213,_0x46025e=new T[(_0xdc758a(0x22d))](_0x48f213,_0x7ee6bb);for(const {startOffset:_0x1d9e2d,endOffset:_0x5dad36,rangeType:_0x584f0d,segmentId:_0x1e6af0,segmentPage:_0x3c114b,collapsed:_0x392d3a,isActive:_0x2ea1be}of _0x4d1880){const _0x531788=_0x7ee6bb['findNodePositionByCharIndex'](_0x1d9e2d,!0x0,_0x1e6af0,_0x3c114b);let _0x5540ec=_0x7ee6bb[_0xdc758a(0x499)](_0x5dad36,!0x0,_0x1e6af0,_0x3c114b);if(_0x5540ec==null&&(_0x5540ec=_0x7ee6bb[_0xdc758a(0x499)](_0x5dad36-0x1,!0x1,_0x1e6af0,_0x3c114b)),_0x2ea1be){const {contentBoxPointGroup:_0x884012}=_0x46025e[_0xdc758a(0x417)](_0x5540ec,_0x5540ec);if(_0x884012[_0xdc758a(0x457)]===0x0)continue;this[_0xdc758a(0x30e)](_0x48c635,_0x884012,_0x395d39,_0x31657a,_0x7c7b9),this[_0xdc758a(0x418)]=this[_0xdc758a(0x2c7)]();}if(_0x531788&&_0x5540ec){if(_0x584f0d===a[_0xdc758a(0x2e0)][_0xdc758a(0x2d2)]){const _0x4a08ca=new T[(_0xdc758a(0x43b))](_0x48f213,_0x7ee6bb),{pointGroup:_0x370015}=(_0x464f0d=_0x4a08ca['getRangePointData'](_0x531788,_0x5540ec))!=null?_0x464f0d:{};if(_0x370015==null||_0x370015[_0xdc758a(0x457)]===0x0)continue;this[_0xdc758a(0x25b)](_0x48c635,_0x370015,_0x395d39,_0x31657a);}else{if(!_0x392d3a){const {borderBoxPointGroup:_0x5c06d1}=_0x46025e[_0xdc758a(0x417)](_0x531788,_0x5540ec);if(_0x5c06d1[_0xdc758a(0x457)]===0x0)continue;this[_0xdc758a(0x3c6)](_0x48c635,_0x5c06d1,_0x395d39,_0x31657a);}}}}}[_0x30e513(0x30e)](_0x18963e,_0x3922d2,_0x2c2e77,_0x139644,_0xe4fe7a){const _0x1fb410=_0x30e513,_0x1d08d2=this[_0x1fb410(0x275)](_0x3922d2),{left:_0x16eb8f,top:_0x8aad79,height:_0x2dc965}=_0x1d08d2,_0x16d625=this[_0x1fb410(0x2a2)](),_0x268dd8=Nt/_0x16d625,_0x3cd434=new C[(_0x1fb410(0x265))](_e+a[_0x1fb410(0x301)](H),{'left':_0x16eb8f+_0x2c2e77-_0x268dd8,'top':_0x8aad79+_0x139644,'height':_0x2dc965,'width':Dt,'fill':_0x18963e||C[_0x1fb410(0x3fd)](a[_0x1fb410(0x44c)][_0x1fb410(0x3b7)],0x0),'strokeWidth':_0x268dd8,'stroke':Ut,'evented':!0x0});this[_0x1fb410(0x414)]=_0x3cd434,this[_0x1fb410(0x315)]['addObject'](_0x3cd434,T[_0x1fb410(0x393)]);const _0x5394c5=new C[(_0x1fb410(0x265))](_e+a[_0x1fb410(0x301)](H),{'left':_0x16eb8f+_0x2c2e77-_0x268dd8,'top':_0x8aad79+_0x139644-he/0x2,'height':he,'width':he,'fill':_0x18963e||C[_0x1fb410(0x3fd)](a[_0x1fb410(0x44c)][_0x1fb410(0x3b7)],0x0),'strokeWidth':0x0,'stroke':_0x18963e||C['getColor'](a[_0x1fb410(0x44c)][_0x1fb410(0x3b7)],0x0),'evented':!0x1});this[_0x1fb410(0x3aa)]=_0x5394c5,this[_0x1fb410(0x315)][_0x1fb410(0x43a)](_0x5394c5,T[_0x1fb410(0x393)]);const _0x47b00c=new re(_e+a[_0x1fb410(0x301)](H),{'left':_0x16eb8f+_0x2c2e77-_0x268dd8,'top':_0x8aad79+_0x139644-X,'text':_0xe4fe7a,'color':_0x18963e});this[_0x1fb410(0x233)]=_0x47b00c,this[_0x1fb410(0x315)][_0x1fb410(0x43a)](_0x47b00c,T[_0x1fb410(0x393)]),this[_0x1fb410(0x2a3)]=!0x1;}['_handleHover'](){const _0x46e018=_0x30e513,_0xc2e14c=this[_0x46e018(0x414)]['onPointerEnter$'][_0x46e018(0x439)](()=>{const _0xb65286=_0x46e018;this[_0xb65286(0x2a3)]=!0x0;}),_0x625bfa=this[_0x46e018(0x414)][_0x46e018(0x37c)][_0x46e018(0x439)](()=>{const _0x215b2a=_0x46e018;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x215b2a(0x30b)]=setTimeout(()=>{const _0x98d676=_0x215b2a;this[_0x98d676(0x2a3)]=!0x1;},0x7d0);});return()=>{const _0x41bf4b=_0x46e018;_0xc2e14c[_0x41bf4b(0x3d4)](),_0x625bfa[_0x41bf4b(0x3d4)]();};}['_drawTextRange'](_0xa46b2f,_0x5dba76,_0x501b11,_0x91de34){const _0xdd6c63=_0x30e513,_0x4a45f1=new a['ColorKit'](_0xa46b2f)[_0xdd6c63(0x23f)](0.2)[_0xdd6c63(0x394)](),_0x347e0a=new C['RegularPolygon'](Rt+a[_0xdd6c63(0x301)](H),{'pointsGroup':_0x5dba76,'fill':_0x4a45f1||C['getColor'](a[_0xdd6c63(0x44c)][_0xdd6c63(0x3b7)],0.2),'left':_0x501b11,'top':_0x91de34,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xdd6c63(0x293)](_0x347e0a),this[_0xdd6c63(0x315)][_0xdd6c63(0x43a)](_0x347e0a,T['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x537228,_0x1ff1af,_0x49c2df,_0x5d81f8){const _0x463d52=_0x30e513,_0x42b0a8=new a[(_0x463d52(0x3c1))](_0x537228)[_0x463d52(0x23f)](0.2)[_0x463d52(0x394)](),_0x2a62e8=new C[(_0x463d52(0x3c4))](bt+a[_0x463d52(0x301)](H),{'pointsGroup':_0x1ff1af,'fill':_0x42b0a8||C[_0x463d52(0x3fd)](a['COLORS']['black'],0.2),'left':_0x49c2df,'top':_0x5d81f8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x463d52(0x338)][_0x463d52(0x293)](_0x2a62e8),this[_0x463d52(0x315)][_0x463d52(0x43a)](_0x2a62e8,T[_0x463d52(0x393)]);}['_getAnchorBounding'](_0x209113){const _0x3330f3=_0x209113[0x0],_0x4cea36=_0x3330f3[0x0],_0x3c5bdd=_0x3330f3[0x2],{x:_0x3c51b9,y:_0x4df695}=_0x4cea36,{x:_0x10f455,y:_0x39a517}=_0x3c5bdd;return{'left':_0x3c51b9,'top':_0x4df695,'width':_0x10f455-_0x3c51b9,'height':_0x39a517-_0x4df695};}['_getScale'](){const _0x2e97e0=_0x30e513,{scaleX:_0x41091a,scaleY:_0x2e1906}=this[_0x2e97e0(0x315)][_0x2e97e0(0x307)]();return Math['max'](_0x41091a,_0x2e1906);}}var Lt=Object[_0x30e513(0x45b)],Mt=(_0x5b1991,_0x897d2e,_0x33cc08,_0x1f2e0d)=>{const _0x367ae6=_0x30e513;for(var _0x3f2a72=_0x1f2e0d>0x1?void 0x0:_0x1f2e0d?Lt(_0x897d2e,_0x33cc08):_0x897d2e,_0x20ce2d=_0x5b1991[_0x367ae6(0x457)]-0x1,_0xd4e96e;_0x20ce2d>=0x0;_0x20ce2d--)(_0xd4e96e=_0x5b1991[_0x20ce2d])&&(_0x3f2a72=_0xd4e96e(_0x3f2a72)||_0x3f2a72);return _0x3f2a72;},q=(_0x11b6c9,_0x1c8246)=>(_0x111429,_0x1e174e)=>_0x1c8246(_0x111429,_0x1e174e,_0x11b6c9);let Ee=class extends a[_0x30e513(0x2a6)]{constructor(_0x53720e,_0x36632e,_0x145af4,_0x5daeef,_0x5de51f){const _0x36316f=_0x30e513;super(),_(this,_0x36316f(0x20b),[]),_(this,_0x36316f(0x3fe),[]),(this[_0x36316f(0x292)]=_0x53720e,this['_docSkeletonManagerService']=_0x36632e,this[_0x36316f(0x32f)]=_0x145af4,this[_0x36316f(0x289)]=_0x5daeef,this[_0x36316f(0x328)]=_0x5de51f,this['_init']());}[_0x30e513(0x38d)](){const _0x31d60f=_0x30e513,_0x4d8cb9=this[_0x31d60f(0x292)][_0x31d60f(0x4a1)],_0x31fe67=this['_docSkeletonManagerService'];this[_0x31d60f(0x2eb)](I['combineLatest']([this[_0x31d60f(0x32f)][_0x31d60f(0x440)](_0x4d8cb9),this[_0x31d60f(0x328)][_0x31d60f(0x42f)]])['pipe']($[_0x31d60f(0x4b3)](([_0xc4cb30,_0x54d735])=>({'skeleton':_0x31fe67[_0x31d60f(0x46f)](),'cursors':[..._0xc4cb30['values']()]['flatMap'](_0xbeda8f=>({..._0xbeda8f,'color':this['_themeService'][_0x31d60f(0x294)](_0xbeda8f[_0x31d60f(0x39c)])}))})))['subscribe'](_0xd7585b=>{const _0x15363d=_0x31d60f;if(this[_0x15363d(0x299)](),_0xd7585b){const {skeleton:_0x3947b8,cursors:_0x26af42}=_0xd7585b;this[_0x15363d(0x246)](_0x3947b8,_0x26af42);}})),this[_0x31d60f(0x384)](),this[_0x31d60f(0x2ee)]();}[_0x30e513(0x246)](_0x2dc062,_0x174bf9){const _0x4b4b9d=_0x30e513,{scene:_0x5ec006,mainComponent:_0x40e5b0}=this[_0x4b4b9d(0x292)],_0x2eb66f=_0x174bf9[_0x4b4b9d(0x4b3)](_0x5aeed9=>new Le(_0x5aeed9,_0x5ec006,_0x2dc062,_0x40e5b0));this[_0x4b4b9d(0x20b)]=_0x2eb66f,this[_0x4b4b9d(0x3fe)]=_0x174bf9;}[_0x30e513(0x405)](){const _0x1c1805=_0x30e513;this[_0x1c1805(0x299)]();const {scene:_0x106998,mainComponent:_0x8f298}=this[_0x1c1805(0x292)],_0x38e72a=this[_0x1c1805(0x206)][_0x1c1805(0x46f)](),_0xd58ee0=this[_0x1c1805(0x3fe)][_0x1c1805(0x4b3)](_0x33deaa=>new Le(_0x33deaa,_0x106998,_0x38e72a,_0x8f298));this[_0x1c1805(0x20b)]=_0xd58ee0;}[_0x30e513(0x299)](){const _0x5d8830=_0x30e513;this[_0x5d8830(0x20b)][_0x5d8830(0x25c)](_0x518b6c=>_0x518b6c['dispose']()),this['_cursorShapes']=[];}[_0x30e513(0x2ee)](){const _0x34f9a2=_0x30e513,_0x5a103f=[T['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this['_commandService'][_0x34f9a2(0x2e3)](_0x920203=>{const _0x5afe28=_0x34f9a2;_0x5a103f[_0x5afe28(0x215)](_0x920203['id'])&&_0x920203[_0x5afe28(0x450)][_0x5afe28(0x4a1)]===this[_0x5afe28(0x292)][_0x5afe28(0x4a1)]&&this['_refreshCollabCursors']();}));}[_0x30e513(0x384)](){const _0x4ff04a=_0x30e513;this['disposeWithMe'](a[_0x4ff04a(0x2ce)](this[_0x4ff04a(0x292)]['engine'][_0x4ff04a(0x40f)])['pipe']($[_0x4ff04a(0x458)](_0x5d8d31=>_0x5d8d31[_0x4ff04a(0x428)]===C[_0x4ff04a(0x327)][_0x4ff04a(0x27d)]),$[_0x4ff04a(0x352)](0x10))[_0x4ff04a(0x376)](()=>{const _0x52f541=_0x4ff04a;this[_0x52f541(0x405)]();}));}};Ee=Mt([q(0x1,a[_0x30e513(0x3f5)](V[_0x30e513(0x287)])),q(0x2,a[_0x30e513(0x3f5)](F)),q(0x3,a[_0x30e513(0x40a)]),q(0x4,a[_0x30e513(0x3f5)](a[_0x30e513(0x23d)]))],Ee);const At=0x1,Pt=1.5;class je extends C['Shape']{constructor(_0x161120,_0x29d174){const _0x2ed95a=_0x30e513;super(_0x161120,_0x29d174),_(this,_0x2ed95a(0x43f)),_(this,_0x2ed95a(0x27e),!0x1),_(this,_0x2ed95a(0x432)),_(this,_0x2ed95a(0x397),''),_(this,_0x2ed95a(0x48d),'top'),_(this,_0x2ed95a(0x29f)),(_0x29d174&&this[_0x2ed95a(0x409)](_0x29d174),this['onPointerEnter$'][_0x2ed95a(0x439)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x2ed95a(0x37c)]['subscribeEvent'](()=>this[_0x2ed95a(0x409)]({'hovered':!0x1})));}[_0x30e513(0x409)](_0x3db201){const _0x5e21f7=_0x30e513;var _0x8966ea,_0x3a3850,_0x2664fa,_0x22e9a6,_0x47489a,_0x182a0c;this[_0x5e21f7(0x43f)]=(_0x8966ea=_0x3db201[_0x5e21f7(0x39c)])!=null?_0x8966ea:this[_0x5e21f7(0x43f)],this[_0x5e21f7(0x27e)]=(_0x3a3850=_0x3db201['hovered'])!=null?_0x3a3850:this[_0x5e21f7(0x27e)],this['_range']=(_0x2664fa=_0x3db201['range'])!=null?_0x2664fa:this[_0x5e21f7(0x432)],this[_0x5e21f7(0x397)]=(_0x22e9a6=_0x3db201[_0x5e21f7(0x4a4)])!=null?_0x22e9a6:this[_0x5e21f7(0x397)],this[_0x5e21f7(0x48d)]=(_0x47489a=_0x3db201[_0x5e21f7(0x308)])!=null?_0x47489a:this[_0x5e21f7(0x48d)],this[_0x5e21f7(0x29f)]=(_0x182a0c=_0x3db201[_0x5e21f7(0x3bd)])!=null?_0x182a0c:this['_backgroundColor'],this[_0x5e21f7(0x334)]({'width':_0x3db201['width'],'height':_0x3db201[_0x5e21f7(0x245)]});}[_0x30e513(0x3c2)](_0x55b168){const _0x453cf5=_0x30e513,{row:_0x1e617e,column:_0x40e888}=_0x55b168;if(_0x1e617e>=this['_range'][_0x453cf5(0x2a9)]&&_0x1e617e<=this[_0x453cf5(0x432)]['endRow']&&_0x40e888>=this[_0x453cf5(0x432)][_0x453cf5(0x44d)]&&_0x40e888<=this[_0x453cf5(0x432)]['endColumn']){this[_0x453cf5(0x409)]({'hovered':!0x0});return;}this[_0x453cf5(0x409)]({'hovered':!0x1});}[_0x30e513(0x221)](_0xf2002e){return!0x1;}[_0x30e513(0x362)](_0x297a4e){const _0x5bf919=_0x30e513;C['Rect']['drawWith'](_0x297a4e,{'width':this[_0x5bf919(0x24e)],'height':this[_0x5bf919(0x245)],'strokeWidth':Pt,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5bf919(0x29f)]}),this['_hovered']&&(_0x297a4e[_0x5bf919(0x2e6)](),_0x297a4e[_0x5bf919(0x25a)](0x1,0x0,0x0,0x1,this[_0x5bf919(0x24e)],this[_0x5bf919(0x48d)]==='bottom'?0x0:-X),re[_0x5bf919(0x452)](_0x297a4e,{'text':this[_0x5bf919(0x397)],'color':this['_color']}),_0x297a4e[_0x5bf919(0x476)]());}}var wt=Object['getOwnPropertyDescriptor'],yt=(_0x3970a9,_0x5e6f61,_0x120f51,_0x5c55ab)=>{const _0x4553e9=_0x30e513;for(var _0x498bef=_0x5c55ab>0x1?void 0x0:_0x5c55ab?wt(_0x5e6f61,_0x120f51):_0x5e6f61,_0x4baf0f=_0x3970a9[_0x4553e9(0x457)]-0x1,_0x1341d2;_0x4baf0f>=0x0;_0x4baf0f--)(_0x1341d2=_0x3970a9[_0x4baf0f])&&(_0x498bef=_0x1341d2(_0x498bef)||_0x498bef);return _0x498bef;},ue=(_0x380849,_0x406fb3)=>(_0x2eeebd,_0x1d84f5)=>_0x406fb3(_0x2eeebd,_0x1d84f5,_0x380849);const $t=0x1389;let Ce=class extends a[_0x30e513(0x2a6)]{constructor(_0x5396fb,_0x50c63c,_0x10856e,_0x17f115){const _0x260ab1=_0x30e513;super(),_(this,'_cursors',new Set()),_(this,_0x260ab1(0x239),null),(this[_0x260ab1(0x292)]=_0x5396fb,this['_sheetSkeletonManagerService']=_0x50c63c,this[_0x260ab1(0x32f)]=_0x10856e,this[_0x260ab1(0x328)]=_0x17f115,this['_init']());}['_init'](){const _0x1a5a77=_0x30e513;this[_0x1a5a77(0x3dd)]['currentSkeleton$']['pipe']($[_0x1a5a77(0x367)](this[_0x1a5a77(0x3db)]),$['switchMap'](_0x243353=>{const _0x4ba483=_0x1a5a77;if(_0x243353){const _0x4dbe44=_0x243353[_0x4ba483(0x40b)];return I[_0x4ba483(0x330)](this[_0x4ba483(0x32f)][_0x4ba483(0x440)](this['_context'][_0x4ba483(0x4a1)]),this[_0x4ba483(0x328)][_0x4ba483(0x42f)])['pipe']($['map'](([_0x5219ad,_0x3bb743])=>{const _0x5b7046=_0x4ba483,_0x503a98=new Map();return _0x5219ad[_0x5b7046(0x25c)]((_0x419306,_0x169c01)=>{const _0x31b929=_0x5b7046;if(_0x419306[_0x31b929(0x254)]===_0x4dbe44){const _0x3a1936={..._0x419306};_0x3a1936['color']=this[_0x31b929(0x328)][_0x31b929(0x294)](_0x419306[_0x31b929(0x39c)]),_0x503a98['set'](_0x169c01,_0x3a1936);}}),{'skeleton':_0x243353,'cursors':_0x503a98};}));}return I['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x188f0b,cursors:_0x1b433d})=>{const _0x3080a6=_0x1a5a77;this[_0x3080a6(0x299)](),_0x188f0b&&this[_0x3080a6(0x246)](_0x188f0b,_0x1b433d);}),this[_0x1a5a77(0x3dd)][_0x1a5a77(0x2b9)]['subscribe'](_0x4a99e4=>{const _0x56718d=_0x1a5a77;if(_0x4a99e4==null)return;const {skeleton:_0x5b2fe3}=_0x4a99e4,{scene:_0x404f37}=this[_0x56718d(0x292)];_0x404f37['onPointerMove$'][_0x56718d(0x439)](a[_0x56718d(0x371)](_0x54aecb=>{const _0x381163=_0x56718d;var _0x3d3b72,_0x192b08;const {offsetX:_0x4a8110,offsetY:_0x5ebd40}=_0x54aecb,{x:_0xd13f8c,y:_0x4c2476}=_0x404f37[_0x381163(0x33b)](C[_0x381163(0x240)][_0x381163(0x300)]([_0x4a8110,_0x5ebd40])),{scaleX:_0x30b3d5,scaleY:_0x5d7e7c}=_0x404f37[_0x381163(0x307)](),_0x51cf4c=_0x404f37[_0x381163(0x382)](C[_0x381163(0x389)][_0x381163(0x442)]),_0x462440=_0x404f37[_0x381163(0x1fa)](C['Vector2']['FromArray']([_0xd13f8c,_0x4c2476]),_0x51cf4c),_0x55fbf1=_0x5b2fe3[_0x381163(0x326)](_0x4a8110,_0x5ebd40,_0x30b3d5,_0x5d7e7c,_0x462440);((_0x3d3b72=this['_lastPointer'])==null?void 0x0:_0x3d3b72[_0x381163(0x45a)])===_0x55fbf1['column']&&((_0x192b08=this[_0x381163(0x239)])==null?void 0x0:_0x192b08[_0x381163(0x278)])===_0x55fbf1[_0x381163(0x278)]||this['_cursors'][_0x381163(0x25c)](_0x5d2541=>{_0x5d2541['onMouseMove'](_0x55fbf1);});},0x64));});}[_0x30e513(0x246)](_0x3602af,_0x1568ce){const _0x33c7e0=_0x30e513;var _0x3bc15b;const _0x3d65db=(_0x3bc15b=this[_0x33c7e0(0x3dd)][_0x33c7e0(0x2d6)]())==null?void 0x0:_0x3bc15b['skeleton'];if(!_0x3d65db)return;const _0x464359=this[_0x33c7e0(0x1fc)]();if(!_0x464359)return;this[_0x33c7e0(0x3fe)][_0x33c7e0(0x25c)](_0x58bfeb=>{_0x58bfeb['makeDirty']();});const {scene:_0x5ddd20}=_0x464359,_0x3aa24e=xt(Array['from'](_0x1568ce['values']()))['map'](_0x16f7c1=>{const _0x2a901a=_0x33c7e0,{color:_0x1fd406,range:_0x5c3a2d,name:_0x5b2a3c,selection:_0x49234f,sheetID:_0xf386c9}=_0x16f7c1,{startColumn:_0x3e0c91,startRow:_0x3a503e,endColumn:_0x1c50ad,endRow:_0x136596}=_0x5c3a2d,_0x3b2f3c=J['getCoordByCell'](_0x3a503e,_0x3e0c91,_0x5ddd20,_0x3d65db),_0x236df2=J[_0x2a901a(0x35f)](_0x136596,_0x1c50ad,_0x5ddd20,_0x3d65db),{columnHeaderHeightAndMarginTop:_0x27b78a}=_0x3d65db,{startX:_0x1f0389,startY:_0x245bd9}=_0x3b2f3c,{endX:_0xfe10d8,endY:_0x46329a}=_0x236df2,_0x3d047a=_0xfe10d8-_0x1f0389,_0x3c46f9=_0x46329a-_0x245bd9,_0x23dad4={'labelPosition':_0x245bd9-_0x27b78a>=X?_0x2a901a(0x1fd):_0x2a901a(0x20c),'sheetID':_0xf386c9,'range':_0x5c3a2d,'color':_0x1fd406,'name':_0x5b2a3c,'selection':_0x49234f,'left':_0x1f0389,'top':_0x245bd9,'width':_0x3d047a,'height':_0x3c46f9,'evented':!0x1,'zIndex':$t};return new je(_0x5b2a3c,_0x23dad4);});_0x5ddd20[_0x33c7e0(0x443)](_0x3aa24e,At),this[_0x33c7e0(0x3fe)]=new Set(_0x3aa24e);}[_0x30e513(0x299)](){const _0x39beea=_0x30e513;var _0x404ec9;(_0x404ec9=this['_cursors'])==null||_0x404ec9[_0x39beea(0x25c)](_0x2597a7=>_0x2597a7['dispose']());}[_0x30e513(0x1fc)](){const _0x13deba=_0x30e513;return J[_0x13deba(0x1f7)](this['_context'][_0x13deba(0x322)],this[_0x13deba(0x292)]);}};function _0x2ee5(){const _0x57c2d2=['REDEMPTION_USER_NOT_ELIGIBLE','clsx','getRelativeToViewportCoord','[Unhandled\x20Rejection]:\x20','m1Prime','isFormulaId','textRanges','_startSheetCollabCursor','IConfigService','_setupSubUnitSync','then','getformulaLimitStatusUrl','startFormulaLimitUrl','Rectangle','loadUnit','saveOfflineData','WebBrowserSingleActiveUnitService','DesktopCollaborationStatusDisplayController','_updateURLWithCurrentState','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','createElement','min','_uploadLog','enableFrontendLog','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','throttleTime','green.600','_id','parse','MoveRangeCommandId','idSuffix','_releaseCalculationLimit','formula.calculation.waiting','AWAITING','APPLY_NON_SEQUENTIAL_REVISION','setTimeout','CollaborationStatus','_docTransformIMECacheService','getCoordByCell','url(#$1','forwardRef','_draw','UnitStatus','Module','isTransformMutationFailure','USERS_LEAVE','takeUntil','wsSessionTicketUrl','YUUMI_AI_RUN_FAILED','releaseFormulaLimitUrl','InsertRangeMoveDownCommandId','clearInterval','code','switchMap','stageInfo','fillText','debounce','START_CALCULATION','rgba(255,\x20255,\x20255,\x200.01)','fromEvent','_taskIds','subscribe','PERMISSION_DENIED','WebSocketService','_toggleOffline','SessionStatus','actions','onPointerLeave$','stringify','RefRangeService','HTTPService','application/json','_toggleOnline','getViewport','getDocRanges','_initResize','USER_NOT_FOUND','ILocalCacheService','div','_clearOtherTimers','SHEET_VIEWPORT_KEY','_docSyncEditingCollabCursorService','getItem','_heartbeatTimer','_init','IImageIoService','send','measureText','getActiveSheet','assign','TEXT_RANGE_LAYER_INDEX','toRgbString','syncEditingCollabCursor','INVITE_CODE_ALREADY_BOUND','_name','evenodd','formula.calculation.started','split','NO_OTHER_CLIENTS_EDITING','color','runRefRangeMutations','MOBILE_VERIFY_CODE_MISMATCH','_memberID','INVITE_CODE_HAS_BEEN_UES','Unknown\x20user','_setupBeforeClosingHandler','REDEMPTION_CODE_INACTIVE','_configService','_setFormulaLimitStatus','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','has','subunit','get','_anchorDot','SetFormulaCalculationNotificationMutation','hide','_lastResponseTimestamp','_status$','INTERNAL_ERROR','_session','_docSkeleton','_memberService','_messageService','AUTHORIZE_CODE_ILLEGAL','url(#on-line-icon_clip0_910_349)','YUUMI_NO_CUBOID_FOR_QUESTION','black','session.connection-failed','unshift','unhandledrejection','handleMoveRange','REDEMPTION_CODE_HAS_BEEN_CREATED','backgroundColor','AWAITING_WITH_PENDING','white','Disposable','ColorKit','onMouseMove','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','RegularPolygon','reason','_drawTextRange','NOT_FOUND','body','limitInfo','31550cibrfL','bind','roomMembers$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getStateCache','_initEntityListener','transformStateCache','OnLineIcon','contains','getCurrentSelections','unsubscribe','roomMembers','SUCCESS','dispose','Error','collabStatus.conflict','deepClone','dispose$','svg','_sheetSkeletonManagerService','_initWindowErrorListener','SYNCED','_createSocketURL','OffLineIcon','toDisposable','INVALID_INVITE_CODE','PY_RUNTIME_SCRIPT_ERROR','430577YagesG','ENTITLE_NEED_BILLING_ADDRESS','getUniverSheetInstance','_checkAndWaitForCalculationPermission','Injector','unitID','YUUMI_CONNECTOR_URL_NOT_FOUND','purple.300','YUUMI_RATE_OVER_LIMIT','saveTaskMap','event$','UniverIcon','0\x200\x2017\x2016','_dataLoaderService','_initDependencies','getUndoRedoMutationParamsCache','Inject','_roomMembers$','ENTITLE_DUP_SUBSCRIPTION','OTHER_CLIENTS_EDITING','size','INotificationService','getSheetBySheetId','_transformService','getColor','_cursors','collabStatus.offline','setConfig','Tools','sessionTicket','undoState','_updateLocalCursor','_refreshCollabCursors','\x20at\x20','_checkCalculationAvailable','DEFAULT_WS_SESSION_TICKET_URL','setShapeProps','ICommandService','sheetId','#FFF','CURRENT_STATUS_CANNOT_OPERATE','FETCH_MISS','onTransformChange$','origin','_scheduleClearOtherTimer','clipPath','mask','_anchor','handleInsertRangeMoveRight','set','getRangePointData','_eventUnsubscribe','font','registerBeforeClose','SNAPSHOT_INVALID_SNAPSHOT','handleIRemoveCol','asObservable','SheetsSelectionsService','blue.400','stack','displayName','DisposableCollection','TEXT','_initStatusListener','onLocalMutation','_cursor','1083204uTnVon','type','transformMutation','ENTITLE_COUPON_EXPIRED','_collaborationSessionService','Plugin','useDependency','UNDEFINED','currentTheme$','data','collaboration.closeRoom','_range','location','540wbqAzY','override','_transformUndoRedoStack','ENTITLE_REPORT_LIMIT_EXCEED','useObservable','subscribeEvent','addObject','NodePositionConvertToRectRange','getCurrentUnitForType','RemoteUniscriptService','sessionStatus$','_color','getCollabCursors$','IDocClipboardService','VIEW_MAIN','addObjects','createIdentifier','_docClipboardService','COMPLETION_FINISHED','_getMergeRange','updateOfflineData','IMessageService','next','url(#off-line-icon_clip0_910_343)','COLORS','startColumn','YUUMI_UNABLE_LOAD_URL','_localStorageService','params','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','drawWith','handleDeleteRangeMoveUp','collabStatus.notCollab','APPLY_REJECT','ENTITLE_CHAT_LIMIT_EXCEED','length','filter','YUUMI_ASYNCIO_CANCELLED','column','getOwnPropertyDescriptor','getCellMatrix','CollaborationController','ISocketService','http://www.w3.org/2000/svg','lineTo','dirtyRanges','loadOfflineData','runId','arc','urlChange$','_docStateChangeManagerService','SetSelectionsOperation','_showGuardMessage','history','SheetSkeletonManagerService','on-line-icon_clip0_910_349','eventID','APPLY_REVISION_CONFILICT','getTypeOfUnitAdded$','getSkeleton','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','range','toStringTag','unload','DocStateChangeManagerService','12065552pkqavW','restore','closePath','executeCommand','_logService','_unitStatus','complete','subUnitId','_renderManagerService','_assignedColors','IRenderManagerService','createInstance','_colorAssignService','getParam','getSheetId','parseInt','pipe','round','getLocalCacheKey','_registerDependencies','_unitOnClients','disposeUnit','collabCursorState$','_currentUsage','_labelPosition','LICENSE_MAX_UNITS_EXCEEDED','_collaborationUIEventService','collab-text-range-','session.collaboration-timeout','YUUMI_ALL_TABLES_IS_INVALID','searchParams','popstate','_initUserListener','redoState','colorChannel1','YUUMI_URL_COL_OUT_OF_RANGE','findNodePositionByCharIndex','SOCKET_FAILED','getUnitStatus$','selections','_cursorInfo$','_monkeyPatchLogService','entityInit$','CHANGESET_REVISION_CONFILICT','unitId','ENTITLE_INSUFFICIENT_QUOTA','_colorIndex','name','transformSelections','_entityInit$','USER_NOT_INVITED_CODE','OTHER_CLIENT_EDITING','5564216yVpukI','_pollingInterval','_httpService','defIds','getFocusedUnit','UNIVER_DOC','shareReplay','CONNECTOR_DATA_TOO_LARGE','_univerInstanceService','jiqing.500','map','requireSession','/universer-api/license/formula/limit/done','/run/','_doCreateSocket','tag','some','_initUnhandledRejectionListener','entries','ENTITLE_USE_COUPON_NOT_1ST_TRADE','registerComponent','INVALID_ARGUMENT','MOBILE_HAS_BEEN_BOUND','CanceledError','focused$','ILogService','fillStyle','getSheetObject','ticket','attrs','getVpScrollXYInfoByPosToVp','DocSelectionManagerService','_getSheetObject','top','find','pushState','defineProperty','/universer-api/license/formula/limit/status','IUniverInstanceService','path','_handleLeaveEvent','_instanceService','_docSkeletonManagerService','isEditing','getRenderById','REDEMPTION_CODE_NOT_STARTED','now','_cursorShapes','bottom','BuiltInUIPart','APPLY_DUPLICATED','newValue','pluginName','from','isArray','BehaviorSubject','setActiveRange','includes','delete','startsWith','_entities','1em','CollaborationUIEventId','PAYMENT_CHANNEL_NOT_SUPPORT','setInterval','transformRemoteChangeset','collabStatus.fetchMiss','_clearPolling','init','triggerDblclick','CLOSE_ROOM','onStarting','_onCursorDelete','ENTITLE_COUPON_USED_UP','0\x200\x2016\x2016','_collaborationController','_onCursorUpdate','IURLService','getActiveRange','ISnapshotServerService','collaboration-client-ui.config','NodePositionConvertToCursor','exhaustSavingTask','YUUMI_SUBSCRIPTION_NOT_FOUND','UNIVER_SHEET','off-line-icon','currentColor','_textBubble','WebURLService','SetWorksheetActivateCommand','INVITE_CODE_REQUIRED','getValue','getTypeOfUnitDisposed$','_lastPointer','getMemberID','IBeforeCloseService','M0\x200H16V16H0z','ThemeService','_injector','setAlpha','Vector2','getUnitId','[Window\x20Error]:\x20','registerDependencies','error','height','_updateCollabCursors','CollaborationDataLoaderController','_docTransformSelectionsService','RemoveRowCommandId','_urlService','deserializeRangeWithSheet','univerjs-icon\x20univerjs-icon-','saveImage','width','JOIN_ROOM_FAILED','text','RevisionService','ITransformService','assignAColorForMemberID','sheetID','ERROR_AGAIN','UniverCollaborationClientUIPlugin','isActive','show','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','transform','_drawRectRange','forEach','children','off-line-icon_clip0_910_343','_syncEditingCollabCursorService','_uiPartsService','FormulaExecuteStageType','Failed','MessageType','href','Rect','_updateSubUnitFromURLParams','jsx','distinctUntilChanged','_selfUnitIDs','cursorInfo$','DocIMEInputManagerService','handleInsertRangeMoveDown','Success','xlink:href','InsertRangeMoveRightCommandId','useRef','REDEMPTION_CODE_FULLY_REDEEMED','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','_imageIoService','trim','_getAnchorBounding','univer-flex\x20univer-items-center','IUIPartsService','row','UNAUTHENTICATED','message','lineno','post','resize','_hovered','getCollabEntity$','univer-mr-2\x20univer-flex\x20univer-text-xl','_beforeCloseService','_docTransformStateCacheService','with','_send','_removeClearOtherTimer','_getSaveTimeout','DocSkeletonManagerService','status$','_commandService','SOCKET_FAILED_RETRY','editingUnit','[CollaborationDataLoaderController]','UNRECOGNIZED','_transformPreviousActiveRange','handleIRemoveRow','2746725yBCfyd','Tooltip','_context','push','getColorFromTheme','serializeRangeWithSheet','symbol','uni.network.url-service','Warning','_removeCollabCursors','isFormulaString','use','merge','collaboration.single-unit.warning','EffectRefRangId','_backgroundColor','ENTITLE_CAN_NOT_BUY_LOWER_OTP','CollaborationEvent','_getScale','_hover','Loading','debounceTime','RxDisposable','disableLocalCache','toString','startRow','REDEMPTION_USER_REDEEM_TIMES_EXCEED','setItem','createSocket','setUndoRedoMutationParamsCache','touchDependencies','_config','catch','USER_IS_ANONYMOUS','BrowserCollaborationSocketService','_collabSessionService','CollaborationUIEventService','collab-rect-range-','_document','_render','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','currentSkeleton$','NOT_COLLAB','string','cursorInfo','/universer-api/license/formula/limit/start','defs','DocCollaborationEntity','DependentOn','UniverInstanceType','FormulaExecutedStateType','/universer-api/frontend/logs','807102Anvpah','MemberService','CONFLICT','_handleHover','transformIMECache','[LogService\x20Error]:\x20','_online','_scheduleSaving','docStateChange$','addEventListener','fromEventSubject','ranges','_handleJoinEvent','_initCommandInterceptor','RECT','setParam','_onRefRangeChange','transformMutationsWithChangeset','getCurrent','_transformHistoryAndStateStack','...','_refRangeService','_registerRenderDependencies','_initStatusComponent','_getFormulaLimitStatus','LOGIN_TOKEN_PROCESSING_FAILED','WECHAT_HAS_BEEN_BOUND','_notificationService','DOC_RANGE_TYPE','LOGIN_FAILED','SheetCollabCursorShape','onCommandExecuted','add','_startCalculationLimit','save','_getSessionTicket','connectInjector','imageSourceType','LICENSE_EXPORT_SIZE_EXCEEDED','disposeWithMe','_disabled','socket$','_initCommandExecutedListener','CollaborationSessionService','mutations','_handleHeartbeatEvent','moveTo','handleDeleteRangeMoveLeft','ONLINE','getConfig','beginPath','registerRenderModule','_startDocCollabCursor','values','_scheduleHeartbeat','memberID','_cachedData','removeEventListener','debug','replace','FromArray','generateRandomId','whenReady','_handleEvent','UPDATE_CURSOR','_saveTaskMap','clearTimeout','getAncestorScale','labelPosition','collab-client.tooltip.reconnect','EMAIL_HAS_BEEN_BOUND','_hideTimer','doc.mutation.rich-text-editing','Workbook','_drawAnchor','invokeId','replaceDocRanges','onRendered','[RemoteUniscriptService]:\x20no\x20focused\x20unit','selection','OFFLINE','_scene','registerRefRange','LocaleService','LICENSE_IMPORT_SIZE_EXCEEDED','_ensureSubject','SetTextSelectionsOperation','on-line-icon','UniverCollaborationClientPlugin','Shape','fill','ALREADY_EXISTS','replaceState','ENTITLE_INVALID_COUPON_CODE','unit','_saveCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_applyCommand','getCellPositionByOffset','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_themeService','_localeService','isTransformMutationsWithChangesetSuccess','REDEMPTION_INVALID_CODE','search','stage','_maxFormulaLimit','_collabCursorController','combineLatest','ENSURE_SNAPSHOT_EXECUTION','RemoveColCommandId','SNAPSHOT_HAS_BEEN_REMOVED','transformByState','session.will-retry','m2Prime','functionsExecutedState','_shapes'];_0x2ee5=function(){return _0x57c2d2;};return _0x2ee5();}Ce=yt([ue(0x1,a[_0x30e513(0x3f5)](J[_0x30e513(0x46a)])),ue(0x2,a['Inject'](F)),ue(0x3,a['Inject'](a[_0x30e513(0x23d)]))],Ce);function xt(_0x2bce9c){const _0x138465=_0x30e513,_0x4f504c=new Map();return _0x2bce9c[_0x138465(0x25c)](_0x3a766d=>{const _0x293bc2=_0x138465;if(_0x4f504c['has'](_0x3a766d['selection'])){const _0x32e3a8=_0x4f504c[_0x293bc2(0x3a9)](_0x3a766d['selection']);_0x32e3a8[_0x293bc2(0x4a4)]+=',\x20'+_0x3a766d[_0x293bc2(0x4a4)];}else _0x4f504c[_0x293bc2(0x416)](_0x3a766d[_0x293bc2(0x313)],_0x3a766d);}),Array[_0x138465(0x211)](_0x4f504c[_0x138465(0x2f9)]());}var Bt=Object[_0x30e513(0x45b)],Ft=(_0x1705af,_0x135227,_0x32d5e7,_0x59fe41)=>{for(var _0x1efe76=_0x59fe41>0x1?void 0x0:_0x59fe41?Bt(_0x135227,_0x32d5e7):_0x135227,_0x28b71a=_0x1705af['length']-0x1,_0x472fbe;_0x28b71a>=0x0;_0x28b71a--)(_0x472fbe=_0x1705af[_0x28b71a])&&(_0x1efe76=_0x472fbe(_0x1efe76)||_0x1efe76);return _0x1efe76;},y=(_0x551089,_0x363c86)=>(_0x414117,_0x5c68c2)=>_0x363c86(_0x414117,_0x5c68c2,_0x551089);let Z=class extends a[_0x30e513(0x3c0)]{constructor(_0x1a4fb9,_0xb1d788,_0x2510ea,_0xfe6f02,_0x3e7f93,_0x1f3d8b){const _0x4e6904=_0x30e513;super(),this['_beforeCloseService']=_0x1a4fb9,this['_localCacheService']=_0xb1d788,this['_collaborationUIEventService']=_0x2510ea,this[_0x4e6904(0x3b3)]=_0xfe6f02,this['_notificationService']=_0x3e7f93,this['_localeService']=_0x1f3d8b,this[_0x4e6904(0x3a2)](),this['_initEvent']();}[_0x30e513(0x3a2)](){const _0x4d00e0=_0x30e513;this[_0x4d00e0(0x2eb)](this[_0x4d00e0(0x281)][_0x4d00e0(0x41a)](()=>{const _0x7b6898=_0x4d00e0;if(this['_localCacheService'][_0x7b6898(0x3ee)][_0x7b6898(0x3f9)])return this[_0x7b6898(0x329)]['t']('collaboration.offline-data-not-saved');}));}['_initEvent'](){const _0x23adf6=_0x30e513;this[_0x23adf6(0x2eb)](this[_0x23adf6(0x48f)][_0x23adf6(0x3ef)][_0x23adf6(0x376)](_0x1a4e7f=>{const _0x33a4a5=_0x23adf6;_0x1a4e7f['id']===u[_0x33a4a5(0x21a)][_0x33a4a5(0x4a8)]&&this[_0x33a4a5(0x3b3)][_0x33a4a5(0x258)]({'type':p['MessageType']['Warning'],'content':this[_0x33a4a5(0x329)]['t'](_0x33a4a5(0x29d))}),_0x1a4e7f['id']===u[_0x33a4a5(0x21a)][_0x33a4a5(0x222)]&&this[_0x33a4a5(0x3b3)][_0x33a4a5(0x258)]({'type':p[_0x33a4a5(0x263)]['Warning'],'content':this[_0x33a4a5(0x329)]['t'](_0x33a4a5(0x431))}),_0x1a4e7f['id']===u['CollaborationUIEventId'][_0x33a4a5(0x377)]&&this[_0x33a4a5(0x2df)][_0x33a4a5(0x258)]({'title':this[_0x33a4a5(0x329)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x33a4a5(0x244),'duration':0x0}),_0x1a4e7f['id']===u[_0x33a4a5(0x21a)][_0x33a4a5(0x2c6)]&&this[_0x33a4a5(0x3b3)]['show']({'type':p[_0x33a4a5(0x263)]['Error'],'content':this[_0x33a4a5(0x329)]['t'](_0x33a4a5(0x431))+'('+_0x1a4e7f[_0x33a4a5(0x430)]+')'}),_0x1a4e7f['id']===u[_0x33a4a5(0x21a)][_0x33a4a5(0x24f)]&&this['_messageService'][_0x33a4a5(0x258)]({'type':p[_0x33a4a5(0x263)][_0x33a4a5(0x298)],'content':this[_0x33a4a5(0x329)]['t'](_0x1a4e7f[_0x33a4a5(0x430)]||'')}),_0x1a4e7f['id']===u[_0x33a4a5(0x21a)][_0x33a4a5(0x28a)]&&this[_0x33a4a5(0x3b3)][_0x33a4a5(0x258)]({'type':p[_0x33a4a5(0x263)]['Warning'],'content':this[_0x33a4a5(0x329)]['t'](_0x33a4a5(0x335))}),_0x1a4e7f['id']===u[_0x33a4a5(0x21a)][_0x33a4a5(0x49a)]&&this['_messageService']['show']({'type':p[_0x33a4a5(0x263)][_0x33a4a5(0x3d8)],'content':this[_0x33a4a5(0x329)]['t'](_0x33a4a5(0x3b8))}),_0x1a4e7f['id']===u[_0x33a4a5(0x21a)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x33a4a5(0x3b3)][_0x33a4a5(0x258)]({'type':p[_0x33a4a5(0x263)][_0x33a4a5(0x3d8)],'content':this[_0x33a4a5(0x329)]['t'](_0x33a4a5(0x491))});}));}};Z=Ft([y(0x0,O[_0x30e513(0x23b)]),y(0x1,u[_0x30e513(0x386)]),y(0x2,a[_0x30e513(0x3f5)](u[_0x30e513(0x2b4)])),y(0x3,O['IMessageService']),y(0x4,O[_0x30e513(0x3fa)]),y(0x5,a[_0x30e513(0x3f5)](a[_0x30e513(0x317)]))],Z);var jt=Object['getOwnPropertyDescriptor'],kt=(_0x51ea66,_0x6009c,_0x8aa504,_0xe11f0)=>{const _0x2b8c1d=_0x30e513;for(var _0x29df22=_0xe11f0>0x1?void 0x0:_0xe11f0?jt(_0x6009c,_0x8aa504):_0x6009c,_0x5b579d=_0x51ea66[_0x2b8c1d(0x457)]-0x1,_0x26e240;_0x5b579d>=0x0;_0x5b579d--)(_0x26e240=_0x51ea66[_0x5b579d])&&(_0x29df22=_0x26e240(_0x29df22)||_0x29df22);return _0x29df22;},z=(_0x29e1fe,_0x141d8b)=>(_0x4e830a,_0x57a22f)=>_0x141d8b(_0x4e830a,_0x57a22f,_0x29e1fe);let Q=class extends a[_0x30e513(0x3c0)]{constructor(_0x5531e8,_0x239101,_0x24494f,_0x5873ed){const _0x3df121=_0x30e513;super(),_(this,_0x3df121(0x39f)),(this[_0x3df121(0x23e)]=_0x5531e8,this[_0x3df121(0x4ab)]=_0x239101,this['_logService']=_0x24494f,this[_0x3df121(0x42b)]=_0x5873ed,this[_0x3df121(0x38d)]());}['_init'](){const _0x4328be=_0x30e513;this[_0x4328be(0x3de)](),this[_0x4328be(0x4ba)](),this['_monkeyPatchLogService'](),this[_0x4328be(0x495)]();}[_0x30e513(0x495)](){const _0x1d99b0=_0x30e513;this[_0x1d99b0(0x2eb)](this['_collaborationSessionService'][_0x1d99b0(0x2ed)]['subscribe'](_0x546ebf=>{const _0x211e64=_0x1d99b0;this['_memberID']=_0x546ebf==null?void 0x0:_0x546ebf[_0x211e64(0x2fb)];}));}['_initWindowErrorListener'](){const _0x542146=_0x30e513,_0x456e75=_0x1736bd=>{const _0x5e1ba3=_0x2f23;var _0xf0829d;this[_0x5e1ba3(0x34f)](_0x5e1ba3(0x244),_0x5e1ba3(0x242)+_0x1736bd[_0x5e1ba3(0x27a)]+_0x5e1ba3(0x406)+_0x1736bd['filename']+':'+_0x1736bd[_0x5e1ba3(0x27b)]+':'+_0x1736bd['colno']+'\x0a'+(((_0xf0829d=_0x1736bd['error'])==null?void 0x0:_0xf0829d[_0x5e1ba3(0x420)])||''));};window['addEventListener'](_0x542146(0x244),_0x456e75),this[_0x542146(0x2eb)](()=>{const _0x1cbb32=_0x542146;window[_0x1cbb32(0x2fd)]('error',_0x456e75);});}['_initUnhandledRejectionListener'](){const _0x58af50=_0x30e513,_0x2107fb=_0x4a8d82=>{const _0x2f4846=_0x2f23;this[_0x2f4846(0x34f)](_0x2f4846(0x244),_0x2f4846(0x33c)+_0x4a8d82[_0x2f4846(0x3c5)]);};window['addEventListener'](_0x58af50(0x3ba),_0x2107fb),this[_0x58af50(0x2eb)](()=>{const _0x100a78=_0x58af50;window[_0x100a78(0x2fd)](_0x100a78(0x3ba),_0x2107fb);});}[_0x30e513(0x49e)](){const _0x58948a=_0x30e513,_0x13f596=this['_logService'][_0x58948a(0x244)][_0x58948a(0x3cb)](this[_0x58948a(0x479)]);this[_0x58948a(0x479)][_0x58948a(0x244)]=(..._0x461bab)=>{const _0x32aecb=_0x58948a,_0x4c89dc=_0x461bab[_0x32aecb(0x4b3)](_0x2d7410=>_0x2d7410 instanceof Error?_0x2d7410[_0x32aecb(0x27a)]+'\x0a'+_0x2d7410['stack']:String(_0x2d7410))['join']('\x20');this[_0x32aecb(0x34f)](_0x32aecb(0x244),_0x32aecb(0x2c9)+_0x4c89dc),_0x13f596(..._0x461bab);},this[_0x58948a(0x2eb)](()=>{this['_logService']['error']=_0x13f596;});}['_uploadLog'](_0x13a30f,_0x47cd27){const _0x1106dd=_0x30e513;try{const _0x1002d0={'userId':this[_0x1106dd(0x39f)],'logLabel':_0x13a30f,'content':_0x47cd27};this[_0x1106dd(0x4ab)]['post'](_0x1106dd(0x2c3),{'body':_0x1002d0})[_0x1106dd(0x2b0)](()=>{});}catch{}}};Q=kt([z(0x0,a[_0x30e513(0x3f5)](a[_0x30e513(0x3e9)])),z(0x1,a[_0x30e513(0x3f5)](x[_0x30e513(0x37f)])),z(0x2,a[_0x30e513(0x1f5)]),z(0x3,a['Inject'](u[_0x30e513(0x2ef)]))],Q);const Yt=_0x30e513(0x22c),Me={};var Ht=Object['getOwnPropertyDescriptor'],Wt=(_0x12b289,_0x45f1d2,_0x4e30a7,_0x22f550)=>{for(var _0x481972=_0x22f550>0x1?void 0x0:_0x22f550?Ht(_0x45f1d2,_0x4e30a7):_0x45f1d2,_0x54df02=_0x12b289['length']-0x1,_0x57af4c;_0x54df02>=0x0;_0x54df02--)(_0x57af4c=_0x12b289[_0x54df02])&&(_0x481972=_0x57af4c(_0x481972)||_0x481972);return _0x481972;},Ae=(_0x4743eb,_0x1160de)=>(_0x2ab03f,_0x53bcb5)=>_0x1160de(_0x2ab03f,_0x53bcb5,_0x4743eb);let ee=class{constructor(_0x27cf12,_0x21e819){const _0x3c8620=_0x30e513;this[_0x3c8620(0x3fc)]=_0x27cf12,this['_renderManagerService']=_0x21e819;}[_0x30e513(0x2c8)](_0x261b78){const _0x5c0489=_0x30e513;this[_0x5c0489(0x436)](_0x261b78),this[_0x5c0489(0x28e)](_0x261b78);}['transformRemoteChangeset'](_0x2a3b51){const _0x4d7ef6=_0x30e513,{unitID:_0x2fcd7c}=_0x2a3b51,_0x15b91b=this[_0x4d7ef6(0x47d)][_0x4d7ef6(0x208)](_0x2fcd7c)[_0x4d7ef6(0x283)](T['DocIMEInputManagerService']),{redoCache:_0x2a1834}=_0x15b91b[_0x4d7ef6(0x3f4)]();if(_0x2a1834['length']===0x0)return _0x2a3b51;let _0x26ecc5=a[_0x4d7ef6(0x401)][_0x4d7ef6(0x3da)](_0x2a3b51[_0x4d7ef6(0x2f0)][0x0]);for(let _0x17f4be=0x0;_0x17f4be<_0x2a1834['length'];_0x17f4be++){const _0x5700c1={'id':'doc.mutation.rich-text-editing','params':{..._0x2a1834[_0x17f4be]}},_0x211b79=this['_transformService'][_0x4d7ef6(0x429)](_0x26ecc5,_0x5700c1,!0x1);if(g[_0x4d7ef6(0x365)](_0x211b79))throw _0x211b79[_0x4d7ef6(0x244)];_0x26ecc5=_0x211b79[_0x4d7ef6(0x33d)];}return{...a[_0x4d7ef6(0x401)][_0x4d7ef6(0x3da)](_0x2a3b51),'mutations':[_0x26ecc5]};}[_0x30e513(0x436)](_0x297ddc){const _0x294f96=_0x30e513,{unitID:_0x47ee73}=_0x297ddc,_0x5c73d1=this[_0x294f96(0x47d)]['getRenderById'](_0x47ee73)['with'](T[_0x294f96(0x26b)]),{undoCache:_0x2fdf3d,redoCache:_0x12fb8c}=_0x5c73d1[_0x294f96(0x3f4)]();if(_0x2fdf3d[_0x294f96(0x457)]===0x0||_0x12fb8c[_0x294f96(0x457)]===0x0)return;const _0x447705=[],_0x31bdc3=[];let _0x4a7f9d=a[_0x294f96(0x401)]['deepClone'](_0x297ddc[_0x294f96(0x2f0)][0x0]),_0x41302=a[_0x294f96(0x401)]['deepClone'](_0x297ddc[_0x294f96(0x2f0)][0x0]);for(let _0xd5e126=_0x2fdf3d['length']-0x1;_0xd5e126>=0x0;_0xd5e126--){const _0x3fb1ab={'id':_0x294f96(0x30c),'params':{..._0x2fdf3d[_0xd5e126]}},_0x41825f={'id':_0x294f96(0x30c),'params':{..._0x12fb8c[_0xd5e126]}},_0x3c5875=this[_0x294f96(0x3fc)][_0x294f96(0x429)](_0x4a7f9d,_0x3fb1ab,!0x1),_0x52b2a5=this[_0x294f96(0x3fc)][_0x294f96(0x429)](_0x41302,_0x41825f,!0x1);if(g[_0x294f96(0x365)](_0x3c5875))throw _0x3c5875[_0x294f96(0x244)];if(g[_0x294f96(0x365)](_0x52b2a5))throw _0x52b2a5[_0x294f96(0x244)];_0x447705['unshift'](_0x3c5875[_0x294f96(0x336)]['params']),_0x31bdc3[_0x294f96(0x3b9)](_0x52b2a5[_0x294f96(0x336)][_0x294f96(0x450)]),_0x4a7f9d=_0x3c5875[_0x294f96(0x33d)],_0x41302=_0x52b2a5[_0x294f96(0x33d)];}_0x5c73d1[_0x294f96(0x2ad)]({'undoCache':_0x447705,'redoCache':_0x31bdc3});}[_0x30e513(0x28e)](_0x54f894){const _0x8cf38e=_0x30e513,{unitID:_0x2ec4f8}=_0x54f894,_0x30f7d1=this['_renderManagerService']['getRenderById'](_0x2ec4f8)[_0x8cf38e(0x283)](T[_0x8cf38e(0x26b)]),_0x3aa3a8=_0x30f7d1[_0x8cf38e(0x22a)]();if(_0x3aa3a8==null)return;const _0x57cfe3=[{'id':_0x8cf38e(0x30c),'params':{'unitId':_0x54f894[_0x8cf38e(0x3ea)],'actions':null,'textRanges':[_0x3aa3a8]}}],_0x746b35=this['_transformService'][_0x8cf38e(0x2d5)](_0x54f894,_0x57cfe3);if(!g[_0x8cf38e(0x32a)](_0x746b35))throw _0x746b35['error'];const _0x252ed1=_0x746b35['m2Prime'][0x0][_0x8cf38e(0x450)][_0x8cf38e(0x33f)];Array[_0x8cf38e(0x212)](_0x252ed1)&&_0x252ed1[_0x8cf38e(0x457)]&&_0x30f7d1[_0x8cf38e(0x214)](_0x252ed1[0x0]);}};ee=Wt([Ae(0x0,g[_0x30e513(0x252)]),Ae(0x1,C['IRenderManagerService'])],ee);var Vt=Object[_0x30e513(0x45b)],Gt=(_0x57e4d9,_0x394bf1,_0x90c69b,_0x1cf7ac)=>{const _0x2c221c=_0x30e513;for(var _0x37a6b6=_0x1cf7ac>0x1?void 0x0:_0x1cf7ac?Vt(_0x394bf1,_0x90c69b):_0x394bf1,_0x3b83c5=_0x57e4d9[_0x2c221c(0x457)]-0x1,_0x1542b1;_0x3b83c5>=0x0;_0x3b83c5--)(_0x1542b1=_0x57e4d9[_0x3b83c5])&&(_0x37a6b6=_0x1542b1(_0x37a6b6)||_0x37a6b6);return _0x37a6b6;},Ie=(_0x4e08b5,_0x1dfac5)=>(_0x42265d,_0xad5ecb)=>_0x1dfac5(_0x42265d,_0xad5ecb,_0x4e08b5);let te=class{constructor(_0x3dcadb,_0x3af1ae,_0x59f3e0){const _0x332cd0=_0x30e513;this['_injector']=_0x3dcadb,this['_transformService']=_0x3af1ae,this[_0x332cd0(0x466)]=_0x59f3e0;}[_0x30e513(0x3d0)](_0x59e488){const _0x46d691=_0x30e513;this[_0x46d691(0x2d7)](_0x59e488);}[_0x30e513(0x21d)](_0x546711){const _0x3d3dd8=_0x30e513,{unitID:_0x3402ef}=_0x546711,{collaboration:_0x202799}=this[_0x3d3dd8(0x466)]['getStateCache'](_0x3402ef);if(_0x202799['length']===0x0)return _0x546711;let _0x1e9df0=a['Tools'][_0x3d3dd8(0x3da)](_0x546711['mutations'][0x0]);for(let _0x4ee605=0x0;_0x4ee605<_0x202799[_0x3d3dd8(0x457)];_0x4ee605++){const _0x12b229={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x202799[_0x4ee605][_0x3d3dd8(0x4a1)],..._0x202799[_0x4ee605][_0x3d3dd8(0x496)]}},_0x58912b=this[_0x3d3dd8(0x3fc)][_0x3d3dd8(0x429)](_0x1e9df0,_0x12b229,!0x1);if(g[_0x3d3dd8(0x365)](_0x58912b))throw _0x58912b[_0x3d3dd8(0x244)];_0x1e9df0=_0x58912b[_0x3d3dd8(0x33d)];}return{...a['Tools'][_0x3d3dd8(0x3da)](_0x546711),'mutations':[_0x1e9df0]};}[_0x30e513(0x2d7)](_0x489c24){const _0x4b2eea=_0x30e513,{unitID:_0x4c9d8c}=_0x489c24,{history:_0x314379,collaboration:_0x2c3c9c}=this[_0x4b2eea(0x466)][_0x4b2eea(0x3ce)](_0x4c9d8c);if(_0x314379['length']===0x0&&_0x2c3c9c[_0x4b2eea(0x457)]===0x0)return;const _0x27aecd=[],_0x174106=[];let _0x16d335=a[_0x4b2eea(0x401)]['deepClone'](_0x489c24[_0x4b2eea(0x2f0)][0x0]),_0x244dba=a[_0x4b2eea(0x401)][_0x4b2eea(0x3da)](_0x489c24['mutations'][0x0]);for(let _0x2c20d5=_0x314379[_0x4b2eea(0x457)]-0x1;_0x2c20d5>=0x0;_0x2c20d5--){const _0x25d124={'id':_0x4b2eea(0x30c),'params':{'unitId':_0x314379[_0x2c20d5][_0x4b2eea(0x4a1)],..._0x314379[_0x2c20d5]['undoState']}},_0xafd389={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x314379[_0x2c20d5][_0x4b2eea(0x4a1)],..._0x314379[_0x2c20d5]['redoState']}},_0x3134c7=this[_0x4b2eea(0x3fc)][_0x4b2eea(0x429)](_0x16d335,_0x25d124,!0x1),_0x2deda3=this['_transformService']['transformMutation'](_0x244dba,_0xafd389,!0x1);if(g[_0x4b2eea(0x365)](_0x3134c7))throw _0x3134c7['error'];if(g[_0x4b2eea(0x365)](_0x2deda3))throw _0x2deda3[_0x4b2eea(0x244)];_0x27aecd[_0x4b2eea(0x3b9)]({..._0x314379[_0x2c20d5],'undoState':_0x3134c7[_0x4b2eea(0x336)][_0x4b2eea(0x450)],'redoState':_0x2deda3[_0x4b2eea(0x336)][_0x4b2eea(0x450)]}),_0x16d335=_0x3134c7[_0x4b2eea(0x33d)],_0x244dba=_0x2deda3[_0x4b2eea(0x33d)];}_0x16d335=a[_0x4b2eea(0x401)]['deepClone'](_0x489c24[_0x4b2eea(0x2f0)][0x0]),_0x244dba=a[_0x4b2eea(0x401)][_0x4b2eea(0x3da)](_0x489c24[_0x4b2eea(0x2f0)][0x0]);for(let _0x329949=_0x2c3c9c[_0x4b2eea(0x457)]-0x1;_0x329949>=0x0;_0x329949--){const _0x2fa36b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2c3c9c[_0x329949][_0x4b2eea(0x4a1)],..._0x2c3c9c[_0x329949][_0x4b2eea(0x403)]}},_0x3fa9b8={'id':_0x4b2eea(0x30c),'params':{'unitId':_0x2c3c9c[_0x329949][_0x4b2eea(0x4a1)],..._0x2c3c9c[_0x329949]['redoState']}},_0xee5c3a=this['_transformService'][_0x4b2eea(0x429)](_0x16d335,_0x2fa36b,!0x1),_0x115952=this[_0x4b2eea(0x3fc)][_0x4b2eea(0x429)](_0x244dba,_0x3fa9b8,!0x1);if(g[_0x4b2eea(0x365)](_0xee5c3a))throw _0xee5c3a[_0x4b2eea(0x244)];if(g[_0x4b2eea(0x365)](_0x115952))throw _0x115952[_0x4b2eea(0x244)];_0x174106[_0x4b2eea(0x3b9)]({..._0x2c3c9c[_0x329949],'undoState':_0xee5c3a[_0x4b2eea(0x336)][_0x4b2eea(0x450)],'redoState':_0x115952['m2Prime']['params']}),_0x16d335=_0xee5c3a['m1Prime'],_0x244dba=_0x115952[_0x4b2eea(0x33d)];}this[_0x4b2eea(0x466)]['setStateCache'](_0x4c9d8c,{'history':_0x27aecd,'collaboration':_0x174106});}};te=Gt([Ie(0x0,a[_0x30e513(0x3f5)](a[_0x30e513(0x3e9)])),Ie(0x1,g['ITransformService']),Ie(0x2,a[_0x30e513(0x3f5)](T[_0x30e513(0x474)]))],te);var Xt=Object[_0x30e513(0x45b)],Kt=(_0x4c4f95,_0x4911e4,_0x3cfac2,_0x3001a2)=>{for(var _0x323092=_0x3001a2>0x1?void 0x0:_0x3001a2?Xt(_0x4911e4,_0x3cfac2):_0x4911e4,_0x24539c=_0x4c4f95['length']-0x1,_0x3ab761;_0x24539c>=0x0;_0x24539c--)(_0x3ab761=_0x4c4f95[_0x24539c])&&(_0x323092=_0x3ab761(_0x323092)||_0x323092);return _0x323092;},Pe=(_0x5620b9,_0x3f22d8)=>(_0x3b86fd,_0x338612)=>_0x3f22d8(_0x3b86fd,_0x338612,_0x5620b9);let se=class{constructor(_0x9b0927,_0x45143f){const _0x2ecc20=_0x30e513;this['_injector']=_0x9b0927,this[_0x2ecc20(0x3fc)]=_0x45143f;}['transformSelections'](_0x348213){const _0x2fc302=_0x30e513;var _0x2c7903;const _0x28a5dc=this[_0x2fc302(0x23e)][_0x2fc302(0x3a9)](V[_0x2fc302(0x1fb)]),_0x42715a=(_0x2c7903=_0x28a5dc[_0x2fc302(0x383)]())!=null?_0x2c7903:[];if(_0x42715a['length']===0x0)return;const _0x2418b7=_0x348213[_0x2fc302(0x3ea)],_0x4be6b4=[{'id':_0x2fc302(0x30c),'params':{'unitId':_0x2418b7,'actions':null,'textRanges':_0x42715a}}],_0x2a8ef2=this[_0x2fc302(0x3fc)]['transformMutationsWithChangeset'](_0x348213,_0x4be6b4);if(!g['isTransformMutationsWithChangesetSuccess'](_0x2a8ef2))throw _0x2a8ef2[_0x2fc302(0x244)];const _0x152922=_0x2a8ef2[_0x2fc302(0x336)][0x0][_0x2fc302(0x450)][_0x2fc302(0x33f)];Array['isArray'](_0x152922)&&_0x152922['length']&&_0x28a5dc[_0x2fc302(0x310)](_0x152922,{'unitId':_0x2418b7,'subUnitId':_0x2418b7},!0x1);}};se=Kt([Pe(0x0,a['Inject'](a[_0x30e513(0x3e9)])),Pe(0x1,g[_0x30e513(0x252)])],se);var qt=Object[_0x30e513(0x45b)],zt=(_0x47b44b,_0x2992fa,_0x325f30,_0x316140)=>{for(var _0x154a9d=_0x316140>0x1?void 0x0:_0x316140?qt(_0x2992fa,_0x325f30):_0x2992fa,_0x4c6ef8=_0x47b44b['length']-0x1,_0x162e73;_0x4c6ef8>=0x0;_0x4c6ef8--)(_0x162e73=_0x47b44b[_0x4c6ef8])&&(_0x154a9d=_0x162e73(_0x154a9d)||_0x154a9d);return _0x154a9d;},N=(_0x23fa71,_0x5be5ce)=>(_0x37770c,_0x67be26)=>_0x5be5ce(_0x37770c,_0x67be26,_0x23fa71);let ie=class extends a[_0x30e513(0x3c0)]{constructor(_0x1aece9,_0x2802fe,_0x28ec41,_0x2ad414,_0x15461b,_0x260f5a,_0xf3b3b4,_0x6dd3){const _0x1efbef=_0x30e513;super(),_(this,_0x1efbef(0x3ae),new I[(_0x1efbef(0x213))](u[_0x1efbef(0x35d)]['NOT_COLLAB'])),(this[_0x1efbef(0x466)]=_0x1aece9,this[_0x1efbef(0x227)]=_0x2802fe,this[_0x1efbef(0x35e)]=_0x28ec41,this['_docTransformStateCacheService']=_0x2ad414,this[_0x1efbef(0x248)]=_0x15461b,this['_docSyncEditingCollabCursorService']=_0x260f5a,this[_0x1efbef(0x3b3)]=_0xf3b3b4,this['_localeService']=_0x6dd3,this[_0x1efbef(0x3cf)]());}[_0x30e513(0x3cf)](){const _0xec0f69=_0x30e513;this[_0xec0f69(0x2eb)](this[_0xec0f69(0x227)][_0xec0f69(0x49f)][_0xec0f69(0x376)](_0x388c27=>{const _0x4bb1e3=_0xec0f69,_0x102959=this[_0x4bb1e3(0x466)][_0x4bb1e3(0x2cc)][_0x4bb1e3(0x376)](_0x490a0a=>{const _0x3ad4bb=_0x4bb1e3;if(_0x490a0a==null)return;const {unitId:_0x585dbb,redoState:_0x1804c5,commandId:_0x20b4b5}=_0x490a0a;if(_0x585dbb!==_0x388c27[_0x3ad4bb(0x3ea)])return;const _0x476b8d={'id':_0x20b4b5,'type':a['CommandType']['MUTATION'],'params':{'unitId':_0x585dbb,'actions':_0x1804c5[_0x3ad4bb(0x37b)],'textRanges':null}};_0x388c27[_0x3ad4bb(0x425)](_0x476b8d);});if(_0x388c27['disposeWithMe'](_0x102959),_0x388c27 instanceof u[_0x4bb1e3(0x2bf)]){const _0x49b1e3={'onTransformIME':_0x629ed4=>this[_0x4bb1e3(0x35e)][_0x4bb1e3(0x2c8)](_0x629ed4),'onTransformState':_0x3b0269=>this[_0x4bb1e3(0x282)]['transformStateCache'](_0x3b0269),'onTransformSelections':_0x28b2e9=>this['_docTransformSelectionsService'][_0x4bb1e3(0x4a5)](_0x28b2e9),'onSyncEditingCollabCursor':_0x117e03=>this[_0x4bb1e3(0x38a)][_0x4bb1e3(0x395)](_0x117e03),'onTransformRemoteChangesetByIMECache':_0x43440b=>this[_0x4bb1e3(0x35e)][_0x4bb1e3(0x21d)](_0x43440b),'onTransformRemoteChangesetByStateCache':_0x2563ed=>this[_0x4bb1e3(0x282)]['transformRemoteChangeset'](_0x2563ed)};_0x388c27['addHandlerCallback'](_0x49b1e3);}}));}};ie=zt([N(0x0,a[_0x30e513(0x3f5)](T[_0x30e513(0x474)])),N(0x1,a[_0x30e513(0x3f5)](u[_0x30e513(0x45d)])),N(0x2,a[_0x30e513(0x3f5)](ee)),N(0x3,a[_0x30e513(0x3f5)](te)),N(0x4,a[_0x30e513(0x3f5)](se)),N(0x5,a['Inject'](be)),N(0x6,O[_0x30e513(0x449)]),N(0x7,a[_0x30e513(0x3f5)](a[_0x30e513(0x317)]))],ie);var G=(_0x32094e=>(_0x32094e[_0x32094e[_0x30e513(0x42e)]=0x0]=_0x30e513(0x42e),_0x32094e[_0x32094e['OK']=0x1]='OK',_0x32094e[_0x32094e['INTERNAL_ERROR']=0x2]=_0x30e513(0x3af),_0x32094e[_0x32094e[_0x30e513(0x377)]=0x3]=_0x30e513(0x377),_0x32094e[_0x32094e[_0x30e513(0x3c7)]=0x4]=_0x30e513(0x3c7),_0x32094e[_0x32094e[_0x30e513(0x279)]=0x5]=_0x30e513(0x279),_0x32094e[_0x32094e[_0x30e513(0x31f)]=0x6]=_0x30e513(0x31f),_0x32094e[_0x32094e[_0x30e513(0x4be)]=0x7]='INVALID_ARGUMENT',_0x32094e[_0x32094e['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x32094e[_0x32094e[_0x30e513(0x446)]=0x9]='COMPLETION_FINISHED',_0x32094e[_0x32094e[_0x30e513(0x2e1)]=0xa]='LOGIN_FAILED',_0x32094e[_0x32094e[_0x30e513(0x39e)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x32094e[_0x32094e[_0x30e513(0x3cd)]=0xc]=_0x30e513(0x3cd),_0x32094e[_0x32094e['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x32094e[_0x32094e[_0x30e513(0x34c)]=0xe]=_0x30e513(0x34c),_0x32094e[_0x32094e[_0x30e513(0x3b4)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x32094e[_0x32094e[_0x30e513(0x2dd)]=0x10]=_0x30e513(0x2dd),_0x32094e[_0x32094e[_0x30e513(0x40d)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x32094e[_0x32094e[_0x30e513(0x255)]=0x65]=_0x30e513(0x255),_0x32094e[_0x32094e[_0x30e513(0x385)]=0xc9]=_0x30e513(0x385),_0x32094e[_0x32094e[_0x30e513(0x2b1)]=0xca]='USER_IS_ANONYMOUS',_0x32094e[_0x32094e[_0x30e513(0x4a0)]=0x1389]=_0x30e513(0x4a0),_0x32094e[_0x32094e[_0x30e513(0x41b)]=0x1771]=_0x30e513(0x41b),_0x32094e[_0x32094e[_0x30e513(0x333)]=0x1772]=_0x30e513(0x333),_0x32094e[_0x32094e[_0x30e513(0x331)]=0x1773]=_0x30e513(0x331),_0x32094e[_0x32094e[_0x30e513(0x455)]=0x1b59]=_0x30e513(0x455),_0x32094e[_0x32094e[_0x30e513(0x35b)]=0x1b5a]=_0x30e513(0x35b),_0x32094e[_0x32094e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x30e513(0x46d),_0x32094e[_0x32094e['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x32094e[_0x32094e[_0x30e513(0x20e)]=0x1b5d]='APPLY_DUPLICATED',_0x32094e[_0x32094e[_0x30e513(0x4b0)]=0x1f41]=_0x30e513(0x4b0),_0x32094e[_0x32094e[_0x30e513(0x48e)]=0x2329]=_0x30e513(0x48e),_0x32094e[_0x32094e['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x30e513(0x3a6),_0x32094e[_0x32094e[_0x30e513(0x318)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x32094e[_0x32094e[_0x30e513(0x2ea)]=0x232c]=_0x30e513(0x2ea),_0x32094e[_0x32094e['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x32094e[_0x32094e[_0x30e513(0x44e)]=0x2711]=_0x30e513(0x44e),_0x32094e[_0x32094e[_0x30e513(0x498)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x32094e[_0x32094e['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x30e513(0x3ed),_0x32094e[_0x32094e[_0x30e513(0x22f)]=0x2714]=_0x30e513(0x22f),_0x32094e[_0x32094e[_0x30e513(0x3b6)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x32094e[_0x32094e[_0x30e513(0x459)]=0x271b]=_0x30e513(0x459),_0x32094e[_0x32094e['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x30e513(0x324),_0x32094e[_0x32094e[_0x30e513(0x492)]=0x271d]=_0x30e513(0x492),_0x32094e[_0x32094e['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x30e513(0x259),_0x32094e[_0x32094e[_0x30e513(0x369)]=0x271f]=_0x30e513(0x369),_0x32094e[_0x32094e['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x30e513(0x3eb),_0x32094e[_0x32094e[_0x30e513(0x3e4)]=0x2af9]=_0x30e513(0x3e4),_0x32094e[_0x32094e[_0x30e513(0x3a0)]=0x2ee1]=_0x30e513(0x3a0),_0x32094e[_0x32094e[_0x30e513(0x3e3)]=0x2ee2]='INVALID_INVITE_CODE',_0x32094e[_0x32094e['INVITE_CODE_REQUIRED']=0x2ee3]=_0x30e513(0x236),_0x32094e[_0x32094e[_0x30e513(0x4a7)]=0x2ee4]=_0x30e513(0x4a7),_0x32094e[_0x32094e[_0x30e513(0x396)]=0x2ee5]=_0x30e513(0x396),_0x32094e[_0x32094e[_0x30e513(0x2de)]=0x32c9]=_0x30e513(0x2de),_0x32094e[_0x32094e[_0x30e513(0x4bf)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x32094e[_0x32094e['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x30e513(0x30a),_0x32094e[_0x32094e[_0x30e513(0x2a0)]=0x36b1]=_0x30e513(0x2a0),_0x32094e[_0x32094e['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x30e513(0x451),_0x32094e[_0x32094e[_0x30e513(0x3f7)]=0x36b3]=_0x30e513(0x3f7),_0x32094e[_0x32094e[_0x30e513(0x21b)]=0x36b4]=_0x30e513(0x21b),_0x32094e[_0x32094e[_0x30e513(0x321)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x32094e[_0x32094e[_0x30e513(0x42a)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x32094e[_0x32094e[_0x30e513(0x225)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x32094e[_0x32094e[_0x30e513(0x4bc)]=0x36b8]=_0x30e513(0x4bc),_0x32094e[_0x32094e[_0x30e513(0x456)]=0x3715]=_0x30e513(0x456),_0x32094e[_0x32094e[_0x30e513(0x437)]=0x3716]=_0x30e513(0x437),_0x32094e[_0x32094e[_0x30e513(0x4a2)]=0x3717]=_0x30e513(0x4a2),_0x32094e[_0x32094e[_0x30e513(0x3e6)]=0x37dd]=_0x30e513(0x3e6),_0x32094e[_0x32094e[_0x30e513(0x32b)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x32094e[_0x32094e[_0x30e513(0x3a3)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x32094e[_0x32094e[_0x30e513(0x271)]=0x3a9b]=_0x30e513(0x271),_0x32094e[_0x32094e[_0x30e513(0x209)]=0x3a9c]=_0x30e513(0x209),_0x32094e[_0x32094e['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x30e513(0x339),_0x32094e[_0x32094e[_0x30e513(0x2aa)]=0x3a9e]=_0x30e513(0x2aa),_0x32094e[_0x32094e[_0x30e513(0x3bc)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x32094e[_0x32094e['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x32094e[_0x32094e[_0x30e513(0x28d)]=-0x1]=_0x30e513(0x28d),_0x32094e))(G||{});function Jt(_0x21fe7e){const _0x3aca82=_0x30e513;var _0x2bad81,_0x31eb45;const _0x1b37a8=(_0x2bad81=_0x21fe7e['stageInfo'])==null?void 0x0:_0x2bad81[_0x3aca82(0x32d)],_0x2dcc86=((_0x31eb45=_0x21fe7e[_0x3aca82(0x36f)])==null?void 0x0:_0x31eb45['totalFormulasToCalculate'])||0x0;return _0x1b37a8===B[_0x3aca82(0x261)][_0x3aca82(0x372)]&&_0x2dcc86>0x0;}function Zt(_0x4ca2d8){const _0x520afd=_0x30e513;return _0x4ca2d8[_0x520afd(0x337)]===B[_0x520afd(0x2c2)][_0x520afd(0x3d6)];}var Qt=Object[_0x30e513(0x45b)],es=(_0x568ed0,_0x2685c0,_0x16f755,_0x2e6e57)=>{const _0x44831c=_0x30e513;for(var _0x5758d5=_0x2e6e57>0x1?void 0x0:_0x2e6e57?Qt(_0x2685c0,_0x16f755):_0x2685c0,_0x33f739=_0x568ed0[_0x44831c(0x457)]-0x1,_0x1b1b63;_0x33f739>=0x0;_0x33f739--)(_0x1b1b63=_0x568ed0[_0x33f739])&&(_0x5758d5=_0x1b1b63(_0x5758d5)||_0x5758d5);return _0x5758d5;},L=(_0x411cea,_0x5a9670)=>(_0x20ac93,_0x22a0e6)=>_0x5a9670(_0x20ac93,_0x22a0e6,_0x411cea);const ts=_0x30e513(0x201),ss=_0x30e513(0x2bd),is=_0x30e513(0x4b5);let ne=class extends a['Disposable']{constructor(_0x5b8a35,_0x2cce5a,_0x18e3f7,_0x599b01,_0x4a4ad8,_0x2e20a7,_0x5214a0){const _0x1eaad9=_0x30e513;super(),_(this,'_pollingInterval',null),_(this,_0x1eaad9(0x32e),0x0),_(this,'_currentUsage',0x0),_(this,'_taskIds',[]),_(this,_0x1eaad9(0x3ad),0x0),(this[_0x1eaad9(0x3b3)]=_0x5b8a35,this[_0x1eaad9(0x289)]=_0x2cce5a,this[_0x1eaad9(0x3a4)]=_0x18e3f7,this['_httpService']=_0x599b01,this[_0x1eaad9(0x4b1)]=_0x4a4ad8,this[_0x1eaad9(0x479)]=_0x2e20a7,this[_0x1eaad9(0x329)]=_0x5214a0,this[_0x1eaad9(0x2d1)]());}[_0x30e513(0x2d1)](){const _0x5f4aeb=_0x30e513;this['disposeWithMe'](this[_0x5f4aeb(0x289)]['beforeCommandExecuted']((_0x2973ce,_0x2b2cf6)=>{const _0xc99c19=_0x5f4aeb;var _0x59e549;if(_0x2973ce['id']!==B['SetFormulaCalculationStartMutation']['id'])return;const _0x641a6c=_0x2973ce['params'];if(!this['_hasFormulaInDirtyRanges']((_0x59e549=_0x641a6c[_0xc99c19(0x461)])!=null?_0x59e549:[]))return;if(!this[_0xc99c19(0x407)]())throw this[_0xc99c19(0x3e8)](_0x2973ce,_0x2b2cf6),this[_0xc99c19(0x468)](),new a[(_0xc99c19(0x1f3))]();})),this['disposeWithMe'](this[_0x5f4aeb(0x289)]['onCommandExecuted']((_0x5162cf,_0x1bd9c8)=>{const _0x3db9b8=_0x5f4aeb;if(_0x5162cf['id']!==B[_0x3db9b8(0x3ab)]['id'])return;const _0x2593f6=_0x5162cf[_0x3db9b8(0x450)];if(Jt(_0x2593f6)){const _0x5d36c5=a[_0x3db9b8(0x301)]();this['_taskIds'][_0x3db9b8(0x293)](_0x5d36c5),this[_0x3db9b8(0x2e5)](_0x5d36c5);}else{if(Zt(_0x2593f6)&&this[_0x3db9b8(0x375)][_0x3db9b8(0x457)]>0x0){const _0x47c94b=this[_0x3db9b8(0x375)]['shift']();this[_0x3db9b8(0x358)](_0x47c94b);}}}));}[_0x30e513(0x3d7)](){const _0x48c16c=_0x30e513;super[_0x48c16c(0x3d7)](),this['_clearPolling'](),this['_taskIds']=[],this[_0x48c16c(0x48c)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x48c16c(0x3ad)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x13e9a6,_0x32027f){const _0xee9dd2=_0x30e513;for(let _0x19be50=0x0;_0x19be50<0x1e;_0x19be50++)try{if(await this[_0xee9dd2(0x2dc)](),this['_checkCalculationAvailable']()){this[_0xee9dd2(0x325)](_0x13e9a6,_0x32027f),this[_0xee9dd2(0x3b3)][_0xee9dd2(0x258)]({'content':this[_0xee9dd2(0x329)]['t'](_0xee9dd2(0x399)),'type':p[_0xee9dd2(0x263)][_0xee9dd2(0x26d)]});return;}await new Promise(_0x596ad5=>{const _0x3bf7af=_0xee9dd2;this[_0x3bf7af(0x4aa)]=window[_0x3bf7af(0x35c)](_0x596ad5,0x3e8);});}catch(_0x20dceb){this['_logService']['error'](_0x20dceb);}this[_0xee9dd2(0x3b3)][_0xee9dd2(0x258)]({'content':this[_0xee9dd2(0x329)]['t']('formula.calculation.unable'),'type':p[_0xee9dd2(0x263)][_0xee9dd2(0x3d8)]});}[_0x30e513(0x325)](_0x8ca294,_0x3b093c){const _0xfe903f=_0x30e513;try{this['_commandService'][_0xfe903f(0x478)](_0x8ca294['id'],_0x8ca294['params'],_0x3b093c);}catch(_0x20f243){this[_0xfe903f(0x479)][_0xfe903f(0x244)](_0x20f243);}}[_0x30e513(0x3a5)](_0x1be274,_0x276ab0){const _0xb9ba3d=_0x30e513;_0x276ab0<this[_0xb9ba3d(0x3ad)]||(this[_0xb9ba3d(0x3ad)]=_0x276ab0,this[_0xb9ba3d(0x32e)]=Number[_0xb9ba3d(0x484)](_0x1be274['maxFormulaLimit']),this['_currentUsage']=Number['parseInt'](_0x1be274['currentUsage']));}async[_0x30e513(0x2e5)](_0x30fad6){const _0x1662ec=_0x30e513;var _0x36ebdc,_0x737e76;const _0xe3510f=Date[_0x1662ec(0x20a)]();try{const _0x2b2e43=((_0x36ebdc=this['_configService'][_0x1662ec(0x2f5)](u[_0x1662ec(0x351)]))==null?void 0x0:_0x36ebdc[_0x1662ec(0x345)])||ss,_0x2ba344=(await this[_0x1662ec(0x4ab)]['post'](_0x2b2e43,{'body':JSON[_0x1662ec(0x37d)]({'taskId':_0x30fad6})}))[_0x1662ec(0x3c8)];if(((_0x737e76=_0x2ba344[_0x1662ec(0x244)])==null?void 0x0:_0x737e76['code'])!==G['OK'])return;this[_0x1662ec(0x3a5)](_0x2ba344[_0x1662ec(0x3c9)],_0xe3510f);}catch(_0x4de578){this[_0x1662ec(0x479)]['error'](_0x4de578);}}async['_getFormulaLimitStatus'](_0x4bfbbe){const _0x19fda1=_0x30e513;var _0x368fe1,_0x3387b3;const _0xbc4679=Date[_0x19fda1(0x20a)]();try{const _0x3cf428=((_0x368fe1=this[_0x19fda1(0x3a4)][_0x19fda1(0x2f5)](u[_0x19fda1(0x351)]))==null?void 0x0:_0x368fe1[_0x19fda1(0x344)])||ts,_0x474aad=_0x4bfbbe?_0x3cf428+'?taskId='+encodeURIComponent(_0x4bfbbe):_0x3cf428,_0x3ca951=(await this[_0x19fda1(0x4ab)][_0x19fda1(0x3a9)](_0x474aad))[_0x19fda1(0x3c8)];if(((_0x3387b3=_0x3ca951[_0x19fda1(0x244)])==null?void 0x0:_0x3387b3[_0x19fda1(0x36d)])!==G['OK'])return;this[_0x19fda1(0x3a5)](_0x3ca951[_0x19fda1(0x3c9)],_0xbc4679);}catch(_0x1f9d84){this['_logService'][_0x19fda1(0x244)](_0x1f9d84);}}async['_releaseCalculationLimit'](_0x500dca){const _0x13f708=_0x30e513;var _0x556f26,_0x37e77c;const _0x463b90=Date[_0x13f708(0x20a)]();try{const _0x4f53a7=((_0x556f26=this[_0x13f708(0x3a4)][_0x13f708(0x2f5)](u[_0x13f708(0x351)]))==null?void 0x0:_0x556f26[_0x13f708(0x36a)])||is,_0x1d1b9d=(await this[_0x13f708(0x4ab)][_0x13f708(0x27c)](_0x4f53a7,{'body':JSON[_0x13f708(0x37d)]({'taskId':_0x500dca})}))[_0x13f708(0x3c8)];if(((_0x37e77c=_0x1d1b9d['error'])==null?void 0x0:_0x37e77c['code'])!==G['OK'])return;this['_setFormulaLimitStatus'](_0x1d1b9d[_0x13f708(0x3c9)],_0x463b90);}catch(_0x39e1a3){this[_0x13f708(0x479)][_0x13f708(0x244)](_0x39e1a3);}}['_checkCalculationAvailable'](){const _0x52c716=_0x30e513;return this[_0x52c716(0x32e)]===0x0?!0x0:this[_0x52c716(0x32e)]-this[_0x52c716(0x48c)]>0x0;}[_0x30e513(0x21f)](){const _0x50c5f8=_0x30e513;this[_0x50c5f8(0x4aa)]&&(clearTimeout(this[_0x50c5f8(0x4aa)]),this[_0x50c5f8(0x4aa)]=null);}['_showGuardMessage'](){const _0x17f9ca=_0x30e513;this[_0x17f9ca(0x3b3)]['show']({'content':this['_localeService']['t'](_0x17f9ca(0x359)),'type':p['MessageType'][_0x17f9ca(0x2a4)]});}['_hasFormulaInDirtyRanges'](_0x5b2517){const _0x14cd0f=_0x30e513;for(const _0x2c667b of _0x5b2517){const {unitId:_0x4ba3a9,sheetId:_0xe8fb92,range:_0x4b9d16}=_0x2c667b,_0x24e9b6=this[_0x14cd0f(0x4b1)]['getUnit'](_0x4ba3a9);if(!_0x24e9b6)continue;const _0x8e65d0=_0x24e9b6[_0x14cd0f(0x3fb)](_0xe8fb92);if(!_0x8e65d0)continue;const _0x218211=_0x8e65d0[_0x14cd0f(0x45c)]();for(let _0x1b607e=_0x4b9d16[_0x14cd0f(0x2a9)];_0x1b607e<=_0x4b9d16['endRow'];_0x1b607e++)for(let _0x2b4422=_0x4b9d16['startColumn'];_0x2b4422<=_0x4b9d16['endColumn'];_0x2b4422++){const _0x4c40d7=_0x218211[_0x14cd0f(0x237)](_0x1b607e,_0x2b4422);if(_0x4c40d7&&(a[_0x14cd0f(0x29a)](_0x4c40d7['f'])||a[_0x14cd0f(0x33e)](_0x4c40d7['si'])))return!0x0;}}return!0x1;}};ne=es([L(0x0,a['Inject'](O['IMessageService'])),L(0x1,a[_0x30e513(0x40a)]),L(0x2,a['IConfigService']),L(0x3,a[_0x30e513(0x3f5)](x['HTTPService'])),L(0x4,a[_0x30e513(0x202)]),L(0x5,a[_0x30e513(0x1f5)]),L(0x6,a[_0x30e513(0x3f5)](a[_0x30e513(0x317)]))],ne);var ns=Object[_0x30e513(0x45b)],rs=(_0x484e78,_0x7bac53,_0x165627,_0x217ec4)=>{const _0x243612=_0x30e513;for(var _0xa37ed0=_0x217ec4>0x1?void 0x0:_0x217ec4?ns(_0x7bac53,_0x165627):_0x7bac53,_0x6a2adb=_0x484e78[_0x243612(0x457)]-0x1,_0x2dacbd;_0x6a2adb>=0x0;_0x6a2adb--)(_0x2dacbd=_0x484e78[_0x6a2adb])&&(_0xa37ed0=_0x2dacbd(_0xa37ed0)||_0xa37ed0);return _0xa37ed0;},Se=(_0x8119c7,_0x2bb237)=>(_0x1a4b8e,_0xdaa85f)=>_0x2bb237(_0x1a4b8e,_0xdaa85f,_0x8119c7);let Te=class extends a['Disposable']{constructor(_0x37a5b1,_0x1fe9db,_0x33b5c5){const _0xefe456=_0x30e513;super(),_(this,'_cachedData',new Map()),_(this,_0xefe456(0x305),new Map()),_(this,_0xefe456(0x2ec),!0x1),(this[_0xefe456(0x3a4)]=_0x37a5b1,this[_0xefe456(0x44f)]=_0x1fe9db,this['_revisionService']=_0x33b5c5);}[_0x30e513(0x2a7)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x3dfc09=_0x30e513;this[_0x3dfc09(0x2ec)]=!0x1;}get[_0x30e513(0x3ee)](){const _0x6702d8=_0x30e513;return this[_0x6702d8(0x305)];}[_0x30e513(0x3d7)](){const _0x22e2d6=_0x30e513;this[_0x22e2d6(0x22e)]()[_0x22e2d6(0x343)](()=>super[_0x22e2d6(0x3d7)]());}async[_0x30e513(0x462)](_0x57b493){const _0x3f2a44=_0x30e513;return this[_0x3f2a44(0x2ec)]?null:this[_0x3f2a44(0x44f)][_0x3f2a44(0x38b)](u[_0x3f2a44(0x487)](_0x57b493));}async[_0x30e513(0x348)](_0x1f9ec4,_0x40b2b5){const _0x18c861=_0x30e513;return!!this[_0x18c861(0x44f)][_0x18c861(0x2ab)](_0x1f9ec4,_0x40b2b5);}[_0x30e513(0x448)](_0x4c1db0,_0x15b20d,_0x114ecb,_0x3d0286){const _0x4285ec=_0x30e513,_0x11cb6b=this['_revisionService']['getCurrentRevOfUnit'](_0x4c1db0);this['_cachedData'][_0x4285ec(0x416)](_0x4c1db0,{'unitID':_0x4c1db0,'type':_0x15b20d,'awaitingChangeset':_0x114ecb,'mutations':_0x3d0286,'rev':_0x11cb6b}),this[_0x4285ec(0x305)]['has'](_0x4c1db0)||this[_0x4285ec(0x2cb)](_0x4c1db0);}[_0x30e513(0x2cb)](_0x982444){const _0x6185f9=_0x30e513,_0x4dc5a3=this[_0x6185f9(0x286)]();_0x4dc5a3===0x0?this[_0x6185f9(0x323)](_0x982444):this[_0x6185f9(0x305)][_0x6185f9(0x416)](_0x982444,setTimeout(()=>this[_0x6185f9(0x323)](_0x982444),_0x4dc5a3));}['_getSaveTimeout'](){const _0x2c97ac=_0x30e513;var _0x1481ba;return(_0x1481ba=this[_0x2c97ac(0x3a4)][_0x2c97ac(0x2f5)](u['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x1481ba:u['LOCAL_CACHE_INTERVAL'];}[_0x30e513(0x323)](_0xccf11){const _0x2d1e36=_0x30e513,_0x34e71c=this['_saveTaskMap'][_0x2d1e36(0x3a9)](_0xccf11);return _0x34e71c!==void 0x0&&window[_0x2d1e36(0x306)](_0x34e71c),this[_0x2d1e36(0x44f)]['setItem'](u['getLocalCacheKey'](_0xccf11),this[_0x2d1e36(0x2fc)]['get'](_0xccf11))[_0x2d1e36(0x343)](()=>this[_0x2d1e36(0x305)][_0x2d1e36(0x216)](_0xccf11));}async[_0x30e513(0x22e)](){const _0x325735=_0x30e513,_0x624188=[];this[_0x325735(0x305)][_0x325735(0x25c)]((_0x24ca76,_0x264b8f)=>{const _0x5d38a3=_0x325735;window[_0x5d38a3(0x306)](_0x24ca76),_0x624188[_0x5d38a3(0x293)](this[_0x5d38a3(0x323)](_0x264b8f)[_0x5d38a3(0x343)](()=>{const _0x209052=_0x5d38a3;this['_saveTaskMap'][_0x209052(0x216)](_0x264b8f);}));}),await Promise['all'](_0x624188);}};Te=rs([Se(0x0,a[_0x30e513(0x341)]),Se(0x1,a['ILocalStorageService']),Se(0x2,a[_0x30e513(0x3f5)](g[_0x30e513(0x251)]))],Te);function _0x2f23(_0x274674,_0x905554){_0x274674=_0x274674-0x1f3;const _0x2ee5de=_0x2ee5();let _0x2f2374=_0x2ee5de[_0x274674];return _0x2f2374;}class ke extends a[_0x30e513(0x2a6)]{constructor(){const _0x1519ad=_0x30e513;super(),_(this,_0x1519ad(0x465)),this['urlChange$']=I[_0x1519ad(0x374)](window,_0x1519ad(0x494))[_0x1519ad(0x485)](I[_0x1519ad(0x367)](this[_0x1519ad(0x3db)]),I[_0x1519ad(0x4af)](0x1),I['mapTo'](void 0x0));}[_0x30e513(0x2d3)](_0x5abb6f,_0x528c1a,_0x38bad1=!0x1){const _0x4c441a=_0x30e513,_0x3395a6=new URL(window['location'][_0x4c441a(0x264)]);_0x3395a6[_0x4c441a(0x493)]['set'](_0x5abb6f,_0x528c1a),_0x38bad1?window['history'][_0x4c441a(0x320)]('','',_0x3395a6['toString']()):window[_0x4c441a(0x469)][_0x4c441a(0x1ff)]('','',_0x3395a6[_0x4c441a(0x2a8)]());}['removeParam'](_0x342dd0,_0x30a8f9=!0x1){const _0x352cd7=_0x30e513,_0x141b5e=new URL(window[_0x352cd7(0x433)][_0x352cd7(0x264)]);_0x141b5e[_0x352cd7(0x493)][_0x352cd7(0x216)](_0x342dd0),_0x30a8f9?window[_0x352cd7(0x469)][_0x352cd7(0x320)]('','',_0x141b5e[_0x352cd7(0x2a8)]()):window[_0x352cd7(0x469)]['pushState']('','',_0x141b5e[_0x352cd7(0x2a8)]());}[_0x30e513(0x482)](_0x514b7f){const _0x536ff0=_0x30e513;var _0x83bac8;return(_0x83bac8=new URL(window[_0x536ff0(0x433)][_0x536ff0(0x264)])[_0x536ff0(0x493)][_0x536ff0(0x3a9)](_0x514b7f))!=null?_0x83bac8:void 0x0;}}var os=Object[_0x30e513(0x200)],as=Object[_0x30e513(0x45b)],cs=(_0x30c0b2,_0x3f17dc,_0x7a542b)=>_0x3f17dc in _0x30c0b2?os(_0x30c0b2,_0x3f17dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x7a542b}):_0x30c0b2[_0x3f17dc]=_0x7a542b,ls=(_0x3160a3,_0x18b56b,_0x56139a,_0x4dd76c)=>{for(var _0x31603b=_0x4dd76c>0x1?void 0x0:_0x4dd76c?as(_0x18b56b,_0x56139a):_0x18b56b,_0x126114=_0x3160a3['length']-0x1,_0xc62ec4;_0x126114>=0x0;_0x126114--)(_0xc62ec4=_0x3160a3[_0x126114])&&(_0x31603b=_0xc62ec4(_0x31603b)||_0x31603b);return _0x31603b;},de=(_0x224ba1,_0xf213a5)=>(_0x623b05,_0x37554a)=>_0xf213a5(_0x623b05,_0x37554a,_0x224ba1),_s=(_0x554b90,_0x2c091a,_0x78606d)=>cs(_0x554b90,_0x2c091a+'',_0x78606d);const hs='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';exports[_0x30e513(0x256)]=class extends a[_0x30e513(0x42c)]{constructor(_0x2fcd3c=Me,_0x19de63,_0x34731f,_0x5b72fa){const _0x4f896f=_0x30e513;super(),this['_config']=_0x2fcd3c,this[_0x4f896f(0x47d)]=_0x19de63,this['_injector']=_0x34731f,this['_configService']=_0x5b72fa;const {..._0x4fc62e}=a[_0x4f896f(0x29c)]({},Me,this['_config']);this['_configService'][_0x4f896f(0x400)](Yt,_0x4fc62e);}[_0x30e513(0x223)](){const _0x4312c3=_0x30e513;this['_registerDependencies'](),this[_0x4312c3(0x3f3)]();}[_0x30e513(0x311)](){const _0x1326fb=_0x30e513;this[_0x1326fb(0x2da)]();}[_0x30e513(0x488)](){const _0x36f01e=_0x30e513;var _0x10d814;const _0x1bf588=[[Re],[ne],[se],[ee],[te],[be],[Oe,{'useClass':ke}],[x[_0x36f01e(0x45e)],{'useClass':x[_0x36f01e(0x378)]}],[u[_0x36f01e(0x386)],{'useClass':Te}],[exports[_0x36f01e(0x34a)]],[ie],[Z],[F],[me],[exports[_0x36f01e(0x247)]]];this['_config'][_0x36f01e(0x350)]&&_0x1bf588[_0x36f01e(0x293)]([Q]),a[_0x36f01e(0x243)](this['_injector'],a['mergeOverrideWithDependencies'](_0x1bf588,(_0x10d814=this[_0x36f01e(0x2af)])==null?void 0x0:_0x10d814[_0x36f01e(0x435)]));}[_0x30e513(0x2da)](){const _0x59a029=_0x30e513;this[_0x59a029(0x2eb)](this[_0x59a029(0x47d)][_0x59a029(0x2f7)](a['UniverInstanceType'][_0x59a029(0x4ae)],[Ee])),this[_0x59a029(0x2eb)](this[_0x59a029(0x47d)]['registerRenderModule'](a[_0x59a029(0x2c1)][_0x59a029(0x230)],[Ce]));}['_initDependencies'](){const _0x173308=_0x30e513;a[_0x173308(0x2ae)](this[_0x173308(0x23e)],[[F],[exports[_0x173308(0x34a)]],[ie],[Z],[exports[_0x173308(0x247)]],[ne]]),this['_config'][_0x173308(0x350)]&&a['touchDependencies'](this['_injector'],[[Q]]);}},_s(exports[_0x30e513(0x256)],_0x30e513(0x210),hs),exports[_0x30e513(0x256)]=ls([a[_0x30e513(0x2c0)](u[_0x30e513(0x31c)]),de(0x1,C[_0x30e513(0x47f)]),de(0x2,a[_0x30e513(0x3f5)](a['Injector'])),de(0x3,a[_0x30e513(0x341)])],exports['UniverCollaborationClientUIPlugin']);var us=Object['getOwnPropertyDescriptor'],Is=(_0x363917,_0x186e08,_0x409b2d,_0x51fbca)=>{const _0x42485c=_0x30e513;for(var _0x41c186=_0x51fbca>0x1?void 0x0:_0x51fbca?us(_0x186e08,_0x409b2d):_0x186e08,_0x15bfe5=_0x363917[_0x42485c(0x457)]-0x1,_0x6b2360;_0x15bfe5>=0x0;_0x15bfe5--)(_0x6b2360=_0x363917[_0x15bfe5])&&(_0x41c186=_0x6b2360(_0x41c186)||_0x41c186);return _0x41c186;},W=(_0x5de2e5,_0x2cca8f)=>(_0x87412,_0x6c11ea)=>_0x2cca8f(_0x87412,_0x6c11ea,_0x5de2e5);exports[_0x30e513(0x2b2)]=class extends u['CollaborationSocketService']{constructor(_0x1306d9,_0x472a95,_0x3fadac,_0x26ff74,_0x331ebb){super(_0x1306d9,_0x472a95,_0x3fadac,_0x26ff74,_0x331ebb);}async[_0x30e513(0x2ac)](_0x30c0b5){const _0x8255fb=_0x30e513,_0x538f35=await this[_0x8255fb(0x2e7)](),_0x4d910b=this['_createSocketURL'](_0x30c0b5,_0x538f35);return this[_0x8255fb(0x4b7)](_0x4d910b);}[_0x30e513(0x3e0)](_0x52ed2e,_0x29af62){const _0x47bbd9=_0x30e513,_0x3d1498=typeof window>'u'?new URL(_0x52ed2e):new URL(_0x52ed2e,window[_0x47bbd9(0x433)][_0x47bbd9(0x410)]);_0x3d1498[_0x47bbd9(0x493)]['set'](_0x47bbd9(0x402),_0x29af62);const _0x4ca4a0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x47bbd9(0x32c)]);return _0x4ca4a0[_0x47bbd9(0x3a9)]('runId')&&_0x3d1498[_0x47bbd9(0x493)][_0x47bbd9(0x416)]('runId',_0x4ca4a0[_0x47bbd9(0x3a9)]('runId')),_0x3d1498[_0x47bbd9(0x2a8)]();}async[_0x30e513(0x2e7)](){const _0x2fa43c=_0x30e513;var _0x10eef6,_0x44166e,_0x107e55;const _0x312db2=this['_configService'][_0x2fa43c(0x2f5)](u[_0x2fa43c(0x351)]),_0x1a3a58=(_0x10eef6=_0x312db2==null?void 0x0:_0x312db2[_0x2fa43c(0x368)])!=null?_0x10eef6:u[_0x2fa43c(0x408)];return(_0x107e55=(_0x44166e=(await this[_0x2fa43c(0x4ab)]['get'](_0x1a3a58,{'headers':{'Content-Type':_0x2fa43c(0x380)}}))[_0x2fa43c(0x3c8)])==null?void 0x0:_0x44166e[_0x2fa43c(0x1f8)])!=null?_0x107e55:'';}},exports[_0x30e513(0x2b2)]=Is([W(0x0,a[_0x30e513(0x3f5)](a[_0x30e513(0x3e9)])),W(0x1,a[_0x30e513(0x3f5)](x[_0x30e513(0x37f)])),W(0x2,a[_0x30e513(0x341)]),W(0x3,a['ILogService']),W(0x4,g[_0x30e513(0x22b)])],exports['BrowserCollaborationSocketService']);var Ss=Object['getOwnPropertyDescriptor'],ds=(_0x2c0e7b,_0x489dd2,_0x3e2e40,_0x2af615)=>{const _0x5c9692=_0x30e513;for(var _0x2463ec=_0x2af615>0x1?void 0x0:_0x2af615?Ss(_0x489dd2,_0x3e2e40):_0x489dd2,_0x58d4a6=_0x2c0e7b[_0x5c9692(0x457)]-0x1,_0x789a4;_0x58d4a6>=0x0;_0x58d4a6--)(_0x789a4=_0x2c0e7b[_0x58d4a6])&&(_0x2463ec=_0x789a4(_0x2463ec)||_0x2463ec);return _0x2463ec;},fe=(_0x3f4ef3,_0x13b049)=>(_0x2866d1,_0x652d05)=>_0x13b049(_0x2866d1,_0x652d05,_0x3f4ef3);exports['RemoteUniscriptService']=class extends a[_0x30e513(0x3c0)]{constructor(_0x296876,_0xbaafef,_0x4bc0a9){const _0x3a5cac=_0x30e513;super(),this[_0x3a5cac(0x205)]=_0x296876,this[_0x3a5cac(0x4ab)]=_0xbaafef,this['_configService']=_0x4bc0a9;}async['runOnServer'](_0xbed634,_0x3c6c4d,_0x4b6b72,..._0xde4c95){const _0x29027e=_0x30e513;var _0x1f4ea8,_0x14a9af,_0x4a1ca7,_0x1ff9c7;const _0x3a4ec3=this[_0x29027e(0x205)][_0x29027e(0x4ad)]();if(!_0x3a4ec3)throw new Error(_0x29027e(0x312));const _0x50b15e=((_0x1f4ea8=this[_0x29027e(0x3a4)]['getConfig'](u[_0x29027e(0x2b8)]))!=null?_0x1f4ea8:u['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0xbed634+_0x29027e(0x4b6)+_0x3c6c4d,_0x32ae5a=new URL(window[_0x29027e(0x433)][_0x29027e(0x264)]),_0x10ef0e={'scriptId':_0xbed634,'runId':(_0x14a9af=_0x32ae5a['searchParams']['get'](_0x29027e(0x463)))!=null?_0x14a9af:'','function':_0x3c6c4d,'unitId':_0x3a4ec3[_0x29027e(0x241)](),'argsOfFunction':JSON[_0x29027e(0x37d)](_0xde4c95),'invokeId':(_0x4a1ca7=_0x4b6b72[_0x29027e(0x30f)])!=null?_0x4a1ca7:'','executionId':(_0x1ff9c7=_0x4b6b72['executionId'])!=null?_0x1ff9c7:''};try{const _0x2daba4=await this[_0x29027e(0x4ab)]['post'](_0x50b15e,{'body':_0x10ef0e});return _0x2daba4[_0x29027e(0x3c8)][_0x29027e(0x244)]&&_0x2daba4[_0x29027e(0x3c8)][_0x29027e(0x244)][_0x29027e(0x36d)]!==G['OK']?_0x29027e(0x262):_0x2daba4[_0x29027e(0x3c8)]['result'];}catch{return'Failed';}}},exports[_0x30e513(0x43d)]=ds([fe(0x0,a[_0x30e513(0x202)]),fe(0x1,a['Inject'](x[_0x30e513(0x37f)])),fe(0x2,a[_0x30e513(0x341)])],exports[_0x30e513(0x43d)]);const we=0x7530,ye='ACTIVE_UNIT_EVENT_CHANNEL';class fs extends a['Disposable']{constructor(){const _0x46b81c=_0x30e513;super(),_(this,_0x46b81c(0x354),a[_0x46b81c(0x301)]()),_(this,_0x46b81c(0x269),new Set()),_(this,'_unitOnClients',new Map()),_(this,_0x46b81c(0x38c),null),_(this,'_clearOtherTimers',new Map()),_(this,'_unitStatus',new Map()),this[_0x46b81c(0x38d)]();}['dispose'](){const _0xa1c5a4=_0x30e513;super['dispose'](),this[_0xa1c5a4(0x388)][_0xa1c5a4(0x25c)]((_0x285463,_0x331655)=>this['_removeClearOtherTimer'](_0x331655)),this[_0xa1c5a4(0x38c)]&&window[_0xa1c5a4(0x36c)](this[_0xa1c5a4(0x38c)]);}[_0x30e513(0x49b)](_0x4b882c){const _0x305457=_0x30e513;return this[_0x305457(0x319)](_0x4b882c)[_0x305457(0x485)](I[_0x305457(0x268)]());}[_0x30e513(0x28b)](_0x4c76f1){const _0x3c8df3=_0x30e513;this[_0x3c8df3(0x269)]['size']===0x0&&this[_0x3c8df3(0x2fa)](),this[_0x3c8df3(0x269)][_0x3c8df3(0x2e4)](_0x4c76f1),this[_0x3c8df3(0x284)]({'type':0x0,'memberID':this[_0x3c8df3(0x354)],'unitIDs':[_0x4c76f1],'isForwarded':!0x1});}[_0x30e513(0x48a)](_0x47dc20){const _0x54985f=_0x30e513;this[_0x54985f(0x269)][_0x54985f(0x216)](_0x47dc20),this[_0x54985f(0x269)][_0x54985f(0x3f9)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x30e513(0x38d)](){const _0x16e815=_0x30e513;this[_0x16e815(0x2eb)](a['toDisposable'](I[_0x16e815(0x374)](window,'storage')[_0x16e815(0x376)](_0x22d0a0=>{const _0x10696d=_0x16e815;if(_0x22d0a0['key']!==ye||!_0x22d0a0[_0x10696d(0x20f)])return;const _0x313ec3=JSON[_0x10696d(0x355)](_0x22d0a0[_0x10696d(0x20f)]);this[_0x10696d(0x303)](_0x313ec3);}))),window[_0x16e815(0x2cd)](_0x16e815(0x473),()=>this[_0x16e815(0x284)]({'type':0x1,'memberID':this[_0x16e815(0x354)],'unitIDs':Array[_0x16e815(0x211)](this['_selfUnitIDs'])}));}[_0x30e513(0x303)](_0x521d3d){const _0x47f17b=_0x30e513;switch(_0x521d3d[_0x47f17b(0x428)]){case 0x0:this[_0x47f17b(0x2d0)](_0x521d3d);break;case 0x1:this[_0x47f17b(0x204)](_0x521d3d);break;case 0x2:this[_0x47f17b(0x2f1)](_0x521d3d);break;}}[_0x30e513(0x2d0)](_0x229672){const _0x28a7d9=_0x30e513,{unitIDs:_0x25b855,memberID:_0x285d20,isForwarded:_0x49c124}=_0x229672;_0x25b855[_0x28a7d9(0x25c)](_0xcdbc8b=>{const _0x31d888=_0x28a7d9;if(!_0x49c124&&this[_0x31d888(0x489)][_0x31d888(0x3a7)](_0xcdbc8b)&&this[_0x31d888(0x319)](_0xcdbc8b)[_0x31d888(0x44a)](u[_0x31d888(0x363)][_0x31d888(0x3f8)]),!this['_unitOnClients'][_0x31d888(0x3a7)](_0xcdbc8b)||!this[_0x31d888(0x489)][_0x31d888(0x3a9)](_0xcdbc8b)[_0x31d888(0x3a7)](_0x285d20)){const _0x2e7c1b=this[_0x31d888(0x489)]['get'](_0xcdbc8b)||new Set();_0x2e7c1b[_0x31d888(0x2e4)](_0x285d20),this['_unitOnClients'][_0x31d888(0x416)](_0xcdbc8b,_0x2e7c1b),this[_0x31d888(0x411)](_0x285d20);}}),_0x49c124||this[_0x28a7d9(0x284)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x28a7d9(0x269)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x57f2b7){const _0x41fee7=_0x30e513;this[_0x41fee7(0x285)](_0x57f2b7);const _0x55ace5=window['setTimeout'](()=>{const _0x358e92=_0x41fee7;this['_unitOnClients'][_0x358e92(0x25c)](_0x295c14=>{const _0x166bf9=_0x358e92;_0x295c14[_0x166bf9(0x216)](_0x57f2b7);});},we*0x2);this['_clearOtherTimers'][_0x41fee7(0x416)](_0x57f2b7,_0x55ace5);}[_0x30e513(0x285)](_0x2115dc){const _0x1cbf3e=_0x30e513;if(this[_0x1cbf3e(0x388)][_0x1cbf3e(0x3a7)](_0x2115dc)){const _0x337e42=this[_0x1cbf3e(0x388)][_0x1cbf3e(0x3a9)](_0x2115dc);_0x337e42&&window[_0x1cbf3e(0x306)](_0x337e42),this[_0x1cbf3e(0x388)]['set'](_0x2115dc,null);}}[_0x30e513(0x204)](_0x27f45a){const _0x149038=_0x30e513,{memberID:_0x5442d6,unitIDs:_0x4eb076}=_0x27f45a;_0x4eb076[_0x149038(0x25c)](_0x391810=>{const _0x292295=_0x149038;var _0x21a328;const _0x3a8949=this[_0x292295(0x489)][_0x292295(0x3a9)](_0x391810);_0x3a8949&&(_0x3a8949[_0x292295(0x216)](_0x5442d6),(_0x21a328=this['_ensureSubject'](_0x391810))==null||_0x21a328[_0x292295(0x44a)](_0x3a8949[_0x292295(0x3f9)]===0x0?u[_0x292295(0x363)][_0x292295(0x39b)]:u['UnitStatus'][_0x292295(0x3f8)]));}),this[_0x149038(0x285)](_0x5442d6);}[_0x30e513(0x2f1)](_0x32acf8){const _0x248cda=_0x30e513;this[_0x248cda(0x411)](_0x32acf8['memberID']);}[_0x30e513(0x284)](_0x360875){const _0x26372e=_0x30e513;localStorage[_0x26372e(0x2ab)](ye,JSON[_0x26372e(0x37d)](_0x360875));}[_0x30e513(0x2fa)](){const _0x2a00a1=_0x30e513;this['_heartbeatTimer']=window[_0x2a00a1(0x21c)](()=>{const _0x27222c=_0x2a00a1;this[_0x27222c(0x284)]({'type':0x2,'memberID':this['_id']});},we);}[_0x30e513(0x319)](_0x10da48){const _0x2e0af8=_0x30e513;return this[_0x2e0af8(0x47a)]['has'](_0x10da48)||this[_0x2e0af8(0x47a)][_0x2e0af8(0x416)](_0x10da48,new I[(_0x2e0af8(0x213))](u[_0x2e0af8(0x363)][_0x2e0af8(0x39b)])),this[_0x2e0af8(0x47a)][_0x2e0af8(0x3a9)](_0x10da48);}}exports[_0x30e513(0x229)]=Oe,exports[_0x30e513(0x2e2)]=je,exports[_0x30e513(0x349)]=fs,exports[_0x30e513(0x234)]=ke;