@univerjs-pro/collaboration-client-ui 0.15.2-insiders.20260124-12fc7f0 → 0.15.3

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 +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1599(_0x370940,_0x42b24d){_0x370940=_0x370940-0x86;const _0x3f7c69=_0x3f7c();let _0x15993d=_0x3f7c69[_0x370940];return _0x15993d;}(function(_0x2f700f,_0x5599af){const _0x50980f=_0x1599,_0x48dfc8=_0x2f700f();while(!![]){try{const _0x1dbbea=parseInt(_0x50980f(0xf4))/0x1*(parseInt(_0x50980f(0x1dd))/0x2)+parseInt(_0x50980f(0x103))/0x3*(-parseInt(_0x50980f(0x2fe))/0x4)+parseInt(_0x50980f(0x2e8))/0x5*(-parseInt(_0x50980f(0x150))/0x6)+parseInt(_0x50980f(0x2d1))/0x7+-parseInt(_0x50980f(0x2d0))/0x8+-parseInt(_0x50980f(0x376))/0x9+parseInt(_0x50980f(0xa5))/0xa;if(_0x1dbbea===_0x5599af)break;else _0x48dfc8['push'](_0x48dfc8['shift']());}catch(_0x5629c5){_0x48dfc8['push'](_0x48dfc8['shift']());}}}(_0x3f7c,0x9f523),function(_0x5d00d1,_0x2b515c){const _0x5e8ee7=_0x1599;typeof exports==_0x5e8ee7(0x2e6)&&typeof module<'u'?_0x2b515c(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x5e8ee7(0xe4)&&define[_0x5e8ee7(0x118)]?define(['exports',_0x5e8ee7(0xeb),_0x5e8ee7(0x2e3),_0x5e8ee7(0x34f),'@univerjs/ui','rxjs',_0x5e8ee7(0x15f),'react',_0x5e8ee7(0x203),_0x5e8ee7(0x29b),_0x5e8ee7(0x309),_0x5e8ee7(0x1be),_0x5e8ee7(0x1c1),_0x5e8ee7(0x369),_0x5e8ee7(0x1e1),'@univerjs/docs',_0x5e8ee7(0x1b3),_0x5e8ee7(0x18b),_0x5e8ee7(0xa0)],_0x2b515c):(_0x5d00d1=typeof globalThis<'u'?globalThis:_0x5d00d1||self,_0x2b515c(_0x5d00d1[_0x5e8ee7(0x2bc)]={},_0x5d00d1[_0x5e8ee7(0x37d)],_0x5d00d1[_0x5e8ee7(0x30a)],_0x5d00d1['UniverCore'],_0x5d00d1[_0x5e8ee7(0x26a)],_0x5d00d1[_0x5e8ee7(0xa1)],_0x5d00d1['UniverDesign'],_0x5d00d1['React'],_0x5d00d1[_0x5e8ee7(0x16a)],_0x5d00d1[_0x5e8ee7(0x1ab)],_0x5d00d1['UniverEngineRender'],_0x5d00d1[_0x5e8ee7(0x1b7)],_0x5d00d1[_0x5e8ee7(0x1ea)],_0x5d00d1[_0x5e8ee7(0x24e)],_0x5d00d1[_0x5e8ee7(0xad)],_0x5d00d1[_0x5e8ee7(0x264)],_0x5d00d1[_0x5e8ee7(0x27d)],_0x5d00d1['rxjs'][_0x5e8ee7(0x1a1)],_0x5d00d1[_0x5e8ee7(0x1de)]));}(this,function(_0x94c2a0,_0x3fba3f,_0xe836dc,_0x1acd3c,_0x3d1085,_0x52b4d8,_0x31b7ea,_0x5b1fa1,_0x501fab,_0x17a17c,_0x4dbd74,_0x26a7c0,_0x4a5890,_0x12a509,_0x1d9a86,_0x3e8285,_0x5dc12e,_0x20b870,_0x3f878d){'use strict';const _0x35dcc5=_0x1599;var _0x35d869=Object[_0x35dcc5(0x2a2)],_0x27024f=(_0x35c307,_0x5b958f,_0x43e919)=>_0x5b958f in _0x35c307?_0x35d869(_0x35c307,_0x5b958f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x43e919}):_0x35c307[_0x5b958f]=_0x43e919,_0x504098=(_0x2fef61,_0x57dde8,_0x294c1e)=>_0x27024f(_0x2fef61,typeof _0x57dde8!=_0x35dcc5(0x110)?_0x57dde8+'':_0x57dde8,_0x294c1e);function _0x211bfc({ref:_0x497037,..._0x349e01}){const _0x4bec32=_0x35dcc5,{icon:_0xbd9079,id:_0x32dd70,className:_0x419ace,extend:_0x26b4c3,..._0x1ce8c3}=_0x349e01,_0x39628f=(_0x4bec32(0x370)+_0x32dd70+'\x20'+(_0x419ace||''))[_0x4bec32(0x1a8)](),_0x1c616f=_0x5b1fa1[_0x4bec32(0x1f4)]('_'+_0x40ff15());return _0x48ce0e(_0xbd9079,''+_0x32dd70,{'defIds':_0xbd9079[_0x4bec32(0x267)],'idSuffix':_0x1c616f[_0x4bec32(0x87)]},{'ref':_0x497037,'className':_0x39628f,..._0x1ce8c3},_0x26b4c3);}function _0x48ce0e(_0x31cf98,_0x20f0e6,_0x50438e,_0x40d5a7,_0x43b4da){const _0x3dcc08=_0x35dcc5;return _0x5b1fa1[_0x3dcc08(0x32a)](_0x31cf98[_0x3dcc08(0x254)],{'key':_0x20f0e6,..._0x12c8ba(_0x31cf98,_0x50438e,_0x43b4da),..._0x40d5a7},(_0x40f2e0(_0x31cf98,_0x50438e)['children']||[])[_0x3dcc08(0x365)]((_0x30ca94,_0x56047b)=>_0x48ce0e(_0x30ca94,_0x20f0e6+'-'+_0x31cf98[_0x3dcc08(0x254)]+'-'+_0x56047b,_0x50438e,void 0x0,_0x43b4da)));}function _0x12c8ba(_0x104b99,_0x2bc63d,_0x8a1bcd){const _0x2dde7d=_0x35dcc5,_0x2a4799={..._0x104b99[_0x2dde7d(0x319)]};_0x8a1bcd!=null&&_0x8a1bcd[_0x2dde7d(0x252)]&&_0x2a4799[_0x2dde7d(0x1cf)]===_0x2dde7d(0x252)&&(_0x2a4799[_0x2dde7d(0x1cf)]=_0x8a1bcd['colorChannel1']),_0x104b99[_0x2dde7d(0x254)]===_0x2dde7d(0x15a)&&_0x2a4799['id']&&(_0x2a4799['id']=_0x2a4799['id']+_0x2bc63d[_0x2dde7d(0x1bf)]),Object[_0x2dde7d(0x32b)](_0x2a4799)[_0x2dde7d(0x9a)](([_0x5bd208,_0x5bf351])=>{const _0x51dde4=_0x2dde7d;_0x5bd208===_0x51dde4(0x15a)&&typeof _0x5bf351==_0x51dde4(0xc1)&&(_0x2a4799[_0x5bd208]=_0x5bf351[_0x51dde4(0x2d6)](/url\(#(.*)\)/,_0x51dde4(0x170)+_0x2bc63d[_0x51dde4(0x1bf)]+')'));});const {defIds:_0x3ddcf3}=_0x2bc63d;return!_0x3ddcf3||_0x3ddcf3['length']===0x0||(_0x104b99[_0x2dde7d(0x254)]==='use'&&_0x2a4799[_0x2dde7d(0x2a1)]&&(_0x2a4799[_0x2dde7d(0x2a1)]=_0x2a4799[_0x2dde7d(0x2a1)]+_0x2bc63d[_0x2dde7d(0x1bf)]),Object[_0x2dde7d(0x32b)](_0x2a4799)[_0x2dde7d(0x9a)](([_0x304797,_0x111637])=>{const _0x4a5b2d=_0x2dde7d;typeof _0x111637=='string'&&(_0x2a4799[_0x304797]=_0x111637[_0x4a5b2d(0x2d6)](/url\(#(.*)\)/,'url(#$1'+_0x2bc63d['idSuffix']+')'));})),_0x2a4799;}function _0x40f2e0(_0x59e1ca,_0x12faff){const _0x40e271=_0x35dcc5;var _0x39ed88;const {defIds:_0x4d7209}=_0x12faff;return!_0x4d7209||_0x4d7209[_0x40e271(0x36b)]===0x0?_0x59e1ca:_0x59e1ca[_0x40e271(0x254)]===_0x40e271(0x194)&&((_0x39ed88=_0x59e1ca[_0x40e271(0x186)])!=null&&_0x39ed88[_0x40e271(0x36b)])?{..._0x59e1ca,'children':_0x59e1ca[_0x40e271(0x186)]['map'](_0x153e52=>typeof _0x153e52['attrs']['id']==_0x40e271(0xc1)&&_0x4d7209&&_0x4d7209[_0x40e271(0x34d)](_0x153e52[_0x40e271(0x319)]['id'])?{..._0x153e52,'attrs':{..._0x153e52[_0x40e271(0x319)],'id':_0x153e52[_0x40e271(0x319)]['id']+_0x12faff[_0x40e271(0x1bf)]}}:_0x153e52)}:_0x59e1ca;}function _0x40ff15(){const _0x84c2be=_0x35dcc5;return Math[_0x84c2be(0x306)]()[_0x84c2be(0x327)](0x24)[_0x84c2be(0x344)](0x2,0x8);}_0x211bfc['displayName']=_0x35dcc5(0x20e);const _0x477673={'tag':_0x35dcc5(0x35a),'attrs':{'xmlns':_0x35dcc5(0x12a),'fill':_0x35dcc5(0x30f),'viewBox':_0x35dcc5(0x1aa),'width':_0x35dcc5(0x13e),'height':_0x35dcc5(0x13e)},'children':[{'tag':'g','attrs':{'clipPath':_0x35dcc5(0x21e)},'children':[{'tag':_0x35dcc5(0x2fd),'attrs':{'stroke':_0x35dcc5(0x2aa),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x35dcc5(0x1b5),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x35dcc5(0x194),'attrs':{},'children':[{'tag':_0x35dcc5(0x26e),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x35dcc5(0x2fd),'attrs':{'fill':_0x35dcc5(0x33a),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x35dcc5(0x14f)]},_0x293c47=_0x5b1fa1[_0x35dcc5(0x98)](function(_0x36c14b,_0x3ad0db){const _0x292b50=_0x35dcc5;return _0x5b1fa1[_0x292b50(0x32a)](_0x211bfc,Object[_0x292b50(0x1e3)]({},_0x36c14b,{'id':_0x292b50(0x353),'ref':_0x3ad0db,'icon':_0x477673}));});_0x293c47['displayName']=_0x35dcc5(0xc7);const _0x2985e9={'tag':'svg','attrs':{'xmlns':_0x35dcc5(0x12a),'fill':_0x35dcc5(0x30f),'viewBox':'0\x200\x2017\x2016','width':_0x35dcc5(0x13e),'height':_0x35dcc5(0x13e)},'children':[{'tag':'g','attrs':{'clipPath':_0x35dcc5(0x372)},'children':[{'tag':'path','attrs':{'stroke':_0x35dcc5(0x2aa),'d':_0x35dcc5(0x195),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x35dcc5(0x194),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x35dcc5(0x2fd),'attrs':{'fill':_0x35dcc5(0x33a),'d':_0x35dcc5(0x1fa),'transform':_0x35dcc5(0x159)}}]}]}],'defIds':[_0x35dcc5(0x11c)]},_0x18a4cb=_0x5b1fa1[_0x35dcc5(0x98)](function(_0x3f050f,_0x1e22c2){const _0x104a34=_0x35dcc5;return _0x5b1fa1[_0x104a34(0x32a)](_0x211bfc,Object[_0x104a34(0x1e3)]({},_0x3f050f,{'id':_0x104a34(0x155),'ref':_0x1e22c2,'icon':_0x2985e9}));});_0x18a4cb[_0x35dcc5(0x1a9)]=_0x35dcc5(0x22f);function _0x2260c7(_0x8fa159){const _0x47ce8c=_0x35dcc5;switch(_0x8fa159){case _0xe836dc['CollaborationStatus']['OFFLINE']:return _0x47ce8c(0x2b7);case _0xe836dc[_0x47ce8c(0x283)][_0x47ce8c(0x1fc)]:return _0x47ce8c(0x29d);case _0xe836dc['CollaborationStatus'][_0x47ce8c(0x332)]:return _0x47ce8c(0x289);case _0xe836dc[_0x47ce8c(0x283)][_0x47ce8c(0x2c5)]:return _0x47ce8c(0x24a);case _0xe836dc[_0x47ce8c(0x283)][_0x47ce8c(0x2da)]:case _0xe836dc[_0x47ce8c(0x283)]['AWAITING_WITH_PENDING']:return _0x47ce8c(0x1da);case _0xe836dc[_0x47ce8c(0x283)]['SYNCED']:case _0xe836dc['CollaborationStatus'][_0x47ce8c(0x2e2)]:return'collabStatus.synced';}}function _0x195e6b(_0x18c53d){const _0x2763b4=_0x35dcc5,{status$:_0x404c97}=_0x18c53d,_0x67a6cf=_0x3d1085[_0x2763b4(0xf8)](_0x404c97,_0xe836dc[_0x2763b4(0x283)][_0x2763b4(0x2c5)]),_0x452aca=_0x3d1085[_0x2763b4(0x21b)](_0x1acd3c[_0x2763b4(0x10c)]),_0x41e98e=_0x3d1085[_0x2763b4(0x21b)](_0xe836dc[_0x2763b4(0x1e7)]),_0xbad154=_0x67a6cf!==_0xe836dc['CollaborationStatus'][_0x2763b4(0xbe)],_0x2ac27d=_0x452aca['t'](_0x2260c7(_0x67a6cf)),_0x427f38=_0xbad154?_0x3fba3f[_0x2763b4(0x2d2)](_0x18a4cb,{}):_0x3fba3f[_0x2763b4(0x2d2)](_0x293c47,{}),_0x3a90bf=_0x5b1fa1[_0x2763b4(0x19f)](()=>{_0xbad154||_0x41e98e['reconnect']();},[_0xbad154,_0x41e98e]);function _0x138293(){const _0x3dc544=_0x2763b4;return _0x3fba3f['jsxs'](_0x3dc544(0x228),{'className':'univer-flex\x20univer-items-center','onClick':_0x3a90bf,'children':[_0x3fba3f[_0x3dc544(0x2d2)](_0x3dc544(0x228),{'className':_0x31b7ea[_0x3dc544(0x236)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0xbad154,'univer-text-red-500':!_0xbad154}),'children':_0x427f38}),_0x3fba3f['jsx'](_0x3dc544(0x228),{'className':_0x3dc544(0x1a5),'children':_0x2ac27d})]});}return _0xbad154?_0x138293():_0x3fba3f[_0x2763b4(0x2d2)](_0x31b7ea['Tooltip'],{'title':_0x452aca['t'](_0x2763b4(0x2ef)),'children':_0x138293()});}var _0x23a300=Object[_0x35dcc5(0x378)],_0x312e14=(_0x49c067,_0x2a2e5d,_0x1acc11,_0x5c61f6)=>{const _0x275315=_0x35dcc5;for(var _0x41c134=_0x5c61f6>0x1?void 0x0:_0x5c61f6?_0x23a300(_0x2a2e5d,_0x1acc11):_0x2a2e5d,_0x2d963d=_0x49c067[_0x275315(0x36b)]-0x1,_0x53028e;_0x2d963d>=0x0;_0x2d963d--)(_0x53028e=_0x49c067[_0x2d963d])&&(_0x41c134=_0x53028e(_0x41c134)||_0x41c134);return _0x41c134;},_0x171612=(_0x202bf1,_0x122cc7)=>(_0x9efde4,_0x1d38cf)=>_0x122cc7(_0x9efde4,_0x1d38cf,_0x202bf1);_0x94c2a0['DesktopCollaborationStatusDisplayController']=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x1a20ab,_0x1a928a,_0xe26574,_0x1da128){const _0x2ec2ad=_0x35dcc5;super(),_0x504098(this,_0x2ec2ad(0x197),new _0x52b4d8[(_0x2ec2ad(0x2eb))](_0xe836dc[_0x2ec2ad(0x283)][_0x2ec2ad(0x2c5)])),(this['_univerInstanceService']=_0x1a20ab,this[_0x2ec2ad(0x304)]=_0x1a928a,this['_collaborationController']=_0xe26574,this[_0x2ec2ad(0x226)]=_0x1da128,this[_0x2ec2ad(0x8a)](),this[_0x2ec2ad(0x273)]());}['_initStatusListener'](){const _0x3d7b6e=_0x35dcc5;this['disposeWithMe'](this[_0x3d7b6e(0x2ee)]['focused$'][_0x3d7b6e(0x22a)](_0x52b4d8['switchMap'](()=>{const _0x3c3194=_0x3d7b6e,_0x2b10f0=this[_0x3c3194(0x2ee)]['getFocusedUnit']();return _0x2b10f0?this[_0x3c3194(0x2c7)]['getCollabEntity$'](_0x2b10f0[_0x3c3194(0x2cb)]()):_0x52b4d8['of'](null);}),_0x52b4d8[_0x3d7b6e(0x1ac)](_0xc0291b=>_0xc0291b?_0xc0291b[_0x3d7b6e(0x363)]:_0x52b4d8['of'](_0xe836dc[_0x3d7b6e(0x283)][_0x3d7b6e(0x2c5)])))['subscribe'](_0x5284f2=>{const _0x4084c2=_0x3d7b6e;this[_0x4084c2(0x197)]['next'](_0x5284f2);}));}[_0x35dcc5(0x8a)](){const _0x23b3d8=_0x35dcc5;this[_0x23b3d8(0x362)](this[_0x23b3d8(0x226)][_0x23b3d8(0x131)](_0x3d1085['BuiltInUIPart'][_0x23b3d8(0x234)],()=>_0x3d1085[_0x23b3d8(0xa8)](_0x37946a({'status$':this[_0x23b3d8(0x197)]['asObservable']()}),this[_0x23b3d8(0x304)])));}},_0x94c2a0[_0x35dcc5(0x34a)]=_0x312e14([_0x171612(0x0,_0x1acd3c[_0x35dcc5(0x329)]),_0x171612(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x171612(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x162)])),_0x171612(0x3,_0x3d1085[_0x35dcc5(0x1ee)])],_0x94c2a0[_0x35dcc5(0x34a)]);function _0x37946a(_0x100f22){const {status$:_0x18150e}=_0x100f22;return function(){const _0x4f4a77=_0x1599;return _0x3fba3f[_0x4f4a77(0x2d2)](_0x195e6b,{'status$':_0x18150e});};}const _0x47bc3f=_0x1acd3c[_0x35dcc5(0xcd)](_0x35dcc5(0x233));var _0x30153f=Object[_0x35dcc5(0x378)],_0x1252a5=(_0x2257d3,_0x5494dd,_0x5cb6f5,_0x7879f0)=>{const _0x2a1102=_0x35dcc5;for(var _0x1cc70a=_0x7879f0>0x1?void 0x0:_0x7879f0?_0x30153f(_0x5494dd,_0x5cb6f5):_0x5494dd,_0x41bb78=_0x2257d3[_0x2a1102(0x36b)]-0x1,_0x58d480;_0x41bb78>=0x0;_0x41bb78--)(_0x58d480=_0x2257d3[_0x41bb78])&&(_0x1cc70a=_0x58d480(_0x1cc70a)||_0x1cc70a);return _0x1cc70a;},_0x45e21c=(_0x25fa75,_0x2a8446)=>(_0x53b1fc,_0x5ebac0)=>_0x2a8446(_0x53b1fc,_0x5ebac0,_0x25fa75);_0x94c2a0[_0x35dcc5(0xdc)]=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x282073,_0x531c05,_0x3cee84,_0x59b84a,_0x3a9824){const _0x4e7ec=_0x35dcc5;super(),this[_0x4e7ec(0x1a7)]=_0x282073,this['_logService']=_0x531c05,this[_0x4e7ec(0xe6)]=_0x3cee84,this[_0x4e7ec(0xa3)]=_0x59b84a,_0x3a9824?_0x3a9824==null||_0x3a9824[_0x4e7ec(0x115)]()[_0x4e7ec(0x1c3)](()=>this[_0x4e7ec(0x216)]()):(this[_0x4e7ec(0x94)]['debug']('[CollaborationDataLoaderController]',_0x4e7ec(0xd4)),this[_0x4e7ec(0x216)]());}async['_init'](){const _0x3c9016=_0x35dcc5,_0x359e09=this[_0x3c9016(0x1a7)][_0x3c9016(0x1a2)](_0x3c9016(0xb3)),_0x2a70a7=this[_0x3c9016(0x1a7)][_0x3c9016(0x1a2)]('type'),_0xebe472=this[_0x3c9016(0x1a7)][_0x3c9016(0x1a2)]('subunit');if(!_0x359e09||!_0x2a70a7){this[_0x3c9016(0x94)]['debug'](_0x3c9016(0xc9),_0x3c9016(0x137));return;}const _0x56e723=await this[_0x3c9016(0xa3)]['loadUnit'](_0x359e09,Number(_0x2a70a7),_0xebe472);_0x56e723&&_0x56e723 instanceof _0x1acd3c[_0x3c9016(0x30b)]&&this[_0x3c9016(0x35f)](_0x56e723);}async[_0x35dcc5(0x35f)](_0x391853){const _0x462bbf=_0x35dcc5;await this['_updateSubUnitFromURLParams'](_0x391853),_0x391853['activeSheet$'][_0x462bbf(0x22a)](_0x52b4d8['takeUntil'](this[_0x462bbf(0x2f9)]))[_0x462bbf(0xc6)](_0x483523=>{const _0x394cb9=_0x462bbf;_0x483523&&this[_0x394cb9(0x371)](_0x483523);}),this[_0x462bbf(0x1a7)][_0x462bbf(0xec)][_0x462bbf(0x22a)](_0x52b4d8[_0x462bbf(0xa7)](this[_0x462bbf(0x2f9)]))[_0x462bbf(0xc6)](()=>this[_0x462bbf(0x1d2)](_0x391853));}['_updateURLWithCurrentState'](_0x2b8b8e,_0x406834=!0x1){const _0x5e90a2=_0x35dcc5,_0x443e46=this['_urlService'][_0x5e90a2(0x1a2)]('subunit');_0x2b8b8e[_0x5e90a2(0xc5)]()!==_0x443e46&&this['_urlService'][_0x5e90a2(0x130)](_0x5e90a2(0x2a3),_0x2b8b8e[_0x5e90a2(0xc5)](),_0x406834);}async[_0x35dcc5(0x1d2)](_0x387788){const _0x45765b=_0x35dcc5;var _0x350ee1;const _0x168bc1=this[_0x45765b(0x1a7)]['getParam'](_0x45765b(0x2a3));if(!_0x168bc1||!_0x387788[_0x45765b(0x14b)](_0x168bc1)){const _0x5c4a43=_0x387788[_0x45765b(0xcf)]()[0x0],_0xb99076=_0x387788[_0x45765b(0x14b)](_0x5c4a43);if(!_0xb99076)return;this[_0x45765b(0x371)](_0xb99076,!0x0),await this[_0x45765b(0xe6)][_0x45765b(0x23c)](_0x17a17c[_0x45765b(0x260)]['id'],{'unitId':_0x387788[_0x45765b(0x2cb)](),'subUnitId':_0x5c4a43});return;}((_0x350ee1=_0x387788['getActiveSheet']())==null?void 0x0:_0x350ee1[_0x45765b(0xc5)]())!==_0x168bc1&&await this[_0x45765b(0xe6)][_0x45765b(0x23c)](_0x17a17c[_0x45765b(0x260)]['id'],{'unitId':_0x387788[_0x45765b(0x2cb)](),'subUnitId':_0x168bc1});}},_0x94c2a0[_0x35dcc5(0xdc)]=_0x1252a5([_0x45e21c(0x0,_0x47bc3f),_0x45e21c(0x1,_0x1acd3c[_0x35dcc5(0x296)]),_0x45e21c(0x2,_0x1acd3c[_0x35dcc5(0x27e)]),_0x45e21c(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1df)])),_0x45e21c(0x4,_0x1acd3c[_0x35dcc5(0x220)](_0x501fab[_0x35dcc5(0x357)]))],_0x94c2a0['CollaborationDataLoaderController']);var _0x559fad=Object[_0x35dcc5(0x378)],_0x3f059e=(_0x3ce31f,_0x50c7e8,_0x293c28,_0x3ad049)=>{const _0x2cdfc2=_0x35dcc5;for(var _0x5b8ac2=_0x3ad049>0x1?void 0x0:_0x3ad049?_0x559fad(_0x50c7e8,_0x293c28):_0x50c7e8,_0x2e93a5=_0x3ce31f[_0x2cdfc2(0x36b)]-0x1,_0x3f8908;_0x2e93a5>=0x0;_0x2e93a5--)(_0x3f8908=_0x3ce31f[_0x2e93a5])&&(_0x5b8ac2=_0x3f8908(_0x5b8ac2)||_0x5b8ac2);return _0x5b8ac2;},_0xffe697=(_0x5a8d82,_0x8374e)=>(_0x288e3d,_0x834361)=>_0x8374e(_0x288e3d,_0x834361,_0x5a8d82);let _0x774444=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x27fffd,_0xa2a3cb){const _0x5f06e1=_0x35dcc5;super(),this['_docClipboardService']=_0x27fffd,this[_0x5f06e1(0x2f7)]=_0xa2a3cb,this[_0x5f06e1(0x216)]();}[_0x35dcc5(0x216)](){const _0x27c2d6=_0x35dcc5,_0x222067=this;this[_0x27c2d6(0x362)](this[_0x27c2d6(0x123)][_0x27c2d6(0x2d7)]({'onBeforePasteImage':async _0x3101fb=>{const _0x14475b=_0x27c2d6,_0x29756a=await _0x222067[_0x14475b(0x2f7)][_0x14475b(0x149)](_0x3101fb);return _0x29756a?{'source':_0x29756a[_0x14475b(0x315)],'imageSourceType':_0x29756a[_0x14475b(0x30c)]}:null;}}));}};_0x774444=_0x3f059e([_0xffe697(0x0,_0x4a5890[_0x35dcc5(0x36f)]),_0xffe697(0x1,_0x12a509[_0x35dcc5(0x1dc)])],_0x774444);const _0x1718b1=[_0x35dcc5(0x310),'jiqing.500',_0x35dcc5(0x1d8),_0x35dcc5(0x2a7),_0x35dcc5(0x1e6),_0x35dcc5(0x16f)];class _0x2ecc79 extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(){const _0x5b4afb=_0x35dcc5;super(...arguments),_0x504098(this,'_assignedColors',new Map()),_0x504098(this,_0x5b4afb(0x19a),0x0);}[_0x35dcc5(0x20b)](_0x3ee6d4){const _0x3c6906=_0x35dcc5;if(this[_0x3c6906(0x2df)]['has'](_0x3ee6d4))return this['_assignedColors']['get'](_0x3ee6d4);const _0x458338=_0x1718b1[this[_0x3c6906(0x19a)]];return this['_colorIndex']=(this[_0x3c6906(0x19a)]+0x1)%_0x1718b1['length'],this['_assignedColors']['set'](_0x3ee6d4,_0x458338),_0x458338;}}function _0x5d330d(_0x420db9){const _0x2e4a54=_0x35dcc5;let _0x314c01='';for(const _0xb15f6c of _0x420db9){const {startOffset:_0x41eeef,endOffset:_0x53204a,isActive:_0x65b53b,rangeType:_0x5d43a3,segmentId:_0x221839,segmentPage:_0x2a111a}=_0xb15f6c;_0x314c01[_0x2e4a54(0x36b)]&&(_0x314c01+=','),_0x314c01+=_0x41eeef+':'+_0x53204a+':'+(_0x65b53b?'1':'0')+':'+_0x5d43a3+':'+_0x221839+':'+_0x2a111a;}return _0x314c01;}function _0x220161(_0x38ccd0){const _0x59e2d1=_0x35dcc5,_0x3c708f=_0x38ccd0[_0x59e2d1(0x92)](','),_0x156521=[];for(const _0x4dcc89 of _0x3c708f){const [_0x41cfb4,_0x5e708a,_0x2980aa,_0x48140e,_0x3a5bb7,_0x17cd4a]=_0x4dcc89[_0x59e2d1(0x92)](':');_0x156521['push']({'startOffset':Number(_0x41cfb4),'endOffset':Number(_0x5e708a),'collapsed':_0x41cfb4===_0x5e708a,'isActive':_0x2980aa==='1','rangeType':_0x48140e===_0x1acd3c[_0x59e2d1(0xd1)][_0x59e2d1(0x1b0)]?_0x1acd3c[_0x59e2d1(0xd1)][_0x59e2d1(0x1b0)]:_0x1acd3c['DOC_RANGE_TYPE'][_0x59e2d1(0x1ca)],'segmentId':typeof _0x3a5bb7==_0x59e2d1(0xc1)?String(_0x3a5bb7):'','segmentPage':Number(_0x17cd4a!=null?_0x17cd4a:-0x1)});}return _0x156521[_0x59e2d1(0x263)](_0x3a92df=>_0x3a92df[_0x59e2d1(0x224)])||(_0x156521[0x0]['isActive']=!0x0),_0x156521;}class _0x4fc58b extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(){const _0x3d46b6=_0x35dcc5;super(...arguments),_0x504098(this,'_collabCursorState$',new _0x52b4d8[(_0x3d46b6(0x2eb))](null)),_0x504098(this,'collabCursorState$',this[_0x3d46b6(0x2cc)][_0x3d46b6(0x34c)]());}[_0x35dcc5(0xbb)](_0x30e0a5){const _0x11a319=_0x35dcc5,{unitID:_0x4cb71d,memberID:_0x46810,textRanges:_0x356948}=_0x30e0a5,_0x2c127c=_0x5d330d(_0x356948);if(_0x2c127c==='')return;const _0x55093e={'unitID':_0x4cb71d,'memberID':_0x46810,'selection':_0x2c127c};this[_0x11a319(0x2cc)][_0x11a319(0xba)](_0x55093e);}}var _0x4d86e5=Object[_0x35dcc5(0x378)],_0x29e528=(_0x5580f8,_0xa96d9,_0x478241,_0x10a1f5)=>{const _0x31ad4a=_0x35dcc5;for(var _0xa2f84e=_0x10a1f5>0x1?void 0x0:_0x10a1f5?_0x4d86e5(_0xa96d9,_0x478241):_0xa96d9,_0x3019bc=_0x5580f8[_0x31ad4a(0x36b)]-0x1,_0x58519a;_0x3019bc>=0x0;_0x3019bc--)(_0x58519a=_0x5580f8[_0x3019bc])&&(_0xa2f84e=_0x58519a(_0xa2f84e)||_0xa2f84e);return _0xa2f84e;},_0x42c20c=(_0x12f8f2,_0x192cc8)=>(_0x3c8505,_0x6696f4)=>_0x192cc8(_0x3c8505,_0x6696f4,_0x12f8f2);const _0x3691bf=0x12c,_0x120aad=0x64;let _0x51b1c2=class extends _0x1acd3c['RxDisposable']{constructor(_0x3b2bf6,_0x1641d1,_0x105b0d,_0x342580,_0x45c2a5,_0x58366f,_0x179120,_0x2b73ae,_0x2c0d60){const _0x13d47f=_0x35dcc5;super(),_0x504098(this,_0x13d47f(0x1c7),!0x1),_0x504098(this,'_init',!0x1),_0x504098(this,_0x13d47f(0x8e),new _0x52b4d8[(_0x13d47f(0x2eb))](new Map())),_0x504098(this,_0x13d47f(0xfc),this[_0x13d47f(0x8e)][_0x13d47f(0x34c)]()),_0x504098(this,_0x13d47f(0x312),new _0x52b4d8['BehaviorSubject']([])),_0x504098(this,'roomMembers$',this[_0x13d47f(0x312)][_0x13d47f(0x22a)](_0x52b4d8['debounceTime'](_0x3691bf))),_0x504098(this,_0x13d47f(0x206),_0x1acd3c['debounce'](_0x4ad5bb=>{const _0x51864d=_0x13d47f,_0xdc0a6e={'eventID':_0x1d9a86[_0x51864d(0xd6)][_0x51864d(0x17b)],'data':{'unitID':this['unitID'],'memberID':this[_0x51864d(0x238)][_0x51864d(0x1b1)](),'selection':_0x5d330d(_0x4ad5bb)}};this[_0x51864d(0x238)][_0x51864d(0x32f)](_0xdc0a6e,this[_0x51864d(0x181)]);},_0x120aad)),(this[_0x13d47f(0x181)]=_0x3b2bf6,this[_0x13d47f(0x238)]=_0x1641d1,this[_0x13d47f(0x304)]=_0x105b0d,this[_0x13d47f(0x335)]=_0x342580,this['_memberService']=_0x45c2a5,this[_0x13d47f(0x1d5)]=_0x58366f,this['_transformService']=_0x179120,this['_univerInstanceService']=_0x2b73ae,this[_0x13d47f(0xe6)]=_0x2c0d60);}get[_0x35dcc5(0x2ba)](){const _0xaae948=_0x35dcc5;return this[_0xaae948(0x8e)]['getValue']();}get['roomMembers'](){const _0x508e6d=_0x35dcc5;return this['_roomMembers$'][_0x508e6d(0x20a)]();}[_0x35dcc5(0x381)](){const _0x4301d1=_0x35dcc5;super['dispose'](),this['_cursorInfo$'][_0x4301d1(0xba)](new Map()),this[_0x4301d1(0x8e)][_0x4301d1(0x269)](),this[_0x4301d1(0x312)][_0x4301d1(0xba)]([]),this[_0x4301d1(0x312)][_0x4301d1(0x269)]();}['init'](){const _0x5eb9f1=_0x35dcc5;this[_0x5eb9f1(0x216)]||(this[_0x5eb9f1(0x216)]=!0x0,this[_0x5eb9f1(0x238)][_0x5eb9f1(0x262)]['pipe'](_0x52b4d8[_0x5eb9f1(0xa7)](this[_0x5eb9f1(0x2f9)]))[_0x5eb9f1(0xc6)](_0x91d8ed=>{const _0x8713b1=_0x5eb9f1;_0x91d8ed===_0xe836dc[_0x8713b1(0x28c)]['ONLINE']?this[_0x8713b1(0x2be)]():this[_0x8713b1(0x322)]();}),this[_0x5eb9f1(0x238)][_0x5eb9f1(0x9d)][_0x5eb9f1(0x22a)](_0x52b4d8[_0x5eb9f1(0xa7)](this['dispose$']))[_0x5eb9f1(0xc6)](_0x300e95=>{const _0x38d6d3=_0x5eb9f1,_0x1788f0=_0x300e95['eventID'];_0x1788f0===_0x1d9a86[_0x38d6d3(0xd6)][_0x38d6d3(0x17b)]&&this[_0x38d6d3(0x20f)](_0x300e95),_0x1788f0===_0x1d9a86[_0x38d6d3(0xd6)]['USERS_LEAVE']&&this[_0x38d6d3(0x298)](_0x300e95);}),this[_0x5eb9f1(0x362)](this[_0x5eb9f1(0xe6)][_0x5eb9f1(0x1d7)](_0x17681e=>{const _0x4f2df0=_0x5eb9f1,_0x53d003=_0x17681e[_0x4f2df0(0x164)];_0x53d003!=null&&this[_0x4f2df0(0x1c7)]&&_0x17681e['id']===_0x3e8285['SetTextSelectionsOperation']['id']&&_0x53d003[_0x4f2df0(0x334)]===this[_0x4f2df0(0x181)]&&_0x53d003[_0x4f2df0(0x33b)]===!0x1&&_0x53d003[_0x4f2df0(0x22e)][_0x4f2df0(0x36b)]>0x0&&this[_0x4f2df0(0x206)](_0x53d003[_0x4f2df0(0x22e)]);})),this[_0x5eb9f1(0x1d5)][_0x5eb9f1(0x193)][_0x5eb9f1(0x22a)](_0x52b4d8[_0x5eb9f1(0xa7)](this['dispose$']))[_0x5eb9f1(0xc6)](_0x55ae26=>{const _0xeaf0d0=_0x5eb9f1;if((_0x55ae26==null?void 0x0:_0x55ae26[_0xeaf0d0(0x181)])!==this[_0xeaf0d0(0x181)])return;const _0x40b768={'eventID':_0x1d9a86['CollaborationEvent'][_0xeaf0d0(0x17b)],'data':_0x55ae26};this['_onCursorUpdate'](_0x40b768);}),this['disposeWithMe'](this[_0x5eb9f1(0xe6)][_0x5eb9f1(0x1d7)](_0x17707a=>{const _0x5a9ae4=_0x5eb9f1;if(_0x17707a[_0x5a9ae4(0x164)]==null)return;const _0x3bf9ff=_0x17707a['params'];if(_0x17707a['id']!==_0x3e8285[_0x5a9ae4(0x295)]['id']||_0x3bf9ff['unitId']!==this[_0x5a9ae4(0x181)])return;const _0x508b6c={'id':_0x5a9ae4(0x2b8),'params':_0x3bf9ff},_0x1f6859=this['cursorInfo'];for(const [_0x451c28,_0x4f2bbb]of _0x1f6859){const _0x208183={'id':_0x5a9ae4(0x2b8),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x4f2bbb['ranges']}},_0x458c03=this[_0x5a9ae4(0x2a5)]['transformMutation'](_0x508b6c,_0x208183,!0x1);if(_0x1d9a86[_0x5a9ae4(0xd0)](_0x458c03))throw _0x458c03[_0x5a9ae4(0x36d)];_0x1f6859[_0x5a9ae4(0x375)](_0x451c28,{..._0x4f2bbb,'ranges':_0x458c03[_0x5a9ae4(0x167)]['params'][_0x5a9ae4(0x35b)]});}queueMicrotask(()=>{const _0x2f9da9=_0x5a9ae4;this[_0x2f9da9(0x8e)]['next'](_0x1f6859);});})));}[_0x35dcc5(0x20f)](_0x3f8d42){const _0xd60897=_0x35dcc5;var _0x56d8dd,_0x8d75c9;const {memberID:_0x2c6b6a,selection:_0x3e5c71}=_0x3f8d42[_0xd60897(0xe5)],_0x49ccff=_0x220161(_0x3e5c71),_0x1d8408=(_0x8d75c9=(_0x56d8dd=this['_memberService'][_0xd60897(0x1eb)](this[_0xd60897(0x181)],_0x2c6b6a))==null?void 0x0:_0x56d8dd[_0xd60897(0x10b)])!=null?_0x8d75c9:_0xd60897(0x21a),_0x40a6af={'color':this[_0xd60897(0x335)][_0xd60897(0x20b)](_0x2c6b6a),'name':_0x1d8408,'ranges':_0x49ccff},_0x4e5bc8=this['cursorInfo'];_0x4e5bc8['set'](_0x2c6b6a,_0x40a6af),this['_cursorInfo$'][_0xd60897(0xba)](_0x4e5bc8);}[_0x35dcc5(0x298)](_0x54440c){const _0xa8ebf=_0x35dcc5,{memberID:_0x2cac70}=_0x54440c[_0xa8ebf(0xe5)],_0x2406d8=this[_0xa8ebf(0x2ba)];_0x2406d8[_0xa8ebf(0x2bb)](_0x2cac70),this['_cursorInfo$'][_0xa8ebf(0xba)](_0x2406d8);}[_0x35dcc5(0x2be)](){const _0x305610=_0x35dcc5;var _0x50af44;if(this[_0x305610(0x1c7)]=!0x0,((_0x50af44=this['_univerInstanceService'][_0x305610(0x21c)]())==null?void 0x0:_0x50af44[_0x305610(0x2cb)]())!==this[_0x305610(0x181)])return;const _0x17019e=this[_0x305610(0x304)][_0x305610(0x343)](_0x3e8285['DocSelectionManagerService'])[_0x305610(0x172)]();Array[_0x305610(0x245)](_0x17019e)&&_0x17019e[_0x305610(0x36b)]>0x0&&this[_0x305610(0x206)](_0x17019e);}[_0x35dcc5(0x322)](){this['_online']=!0x1;}};_0x51b1c2=_0x29e528([_0x42c20c(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c['Injector'])),_0x42c20c(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x2ecc79)),_0x42c20c(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1cd)])),_0x42c20c(0x5,_0x1acd3c['Inject'](_0x4fc58b)),_0x42c20c(0x6,_0x1d9a86['ITransformService']),_0x42c20c(0x7,_0x1acd3c[_0x35dcc5(0x329)]),_0x42c20c(0x8,_0x1acd3c[_0x35dcc5(0x27e)])],_0x51b1c2);var _0x4ea420=Object['getOwnPropertyDescriptor'],_0x55cd00=(_0x579146,_0x1d360a,_0x4dc7ee,_0x5ab8d5)=>{for(var _0xb45386=_0x5ab8d5>0x1?void 0x0:_0x5ab8d5?_0x4ea420(_0x1d360a,_0x4dc7ee):_0x1d360a,_0xf02477=_0x579146['length']-0x1,_0x3f33f1;_0xf02477>=0x0;_0xf02477--)(_0x3f33f1=_0x579146[_0xf02477])&&(_0xb45386=_0x3f33f1(_0xb45386)||_0xb45386);return _0xb45386;},_0x160e72=(_0x24e3f6,_0x296fa2)=>(_0x364b43,_0x49fbc4)=>_0x296fa2(_0x364b43,_0x49fbc4,_0x24e3f6);const _0x5d23a5=0x12c,_0x2bf8bd=0x64,_0x5f1747=()=>{let _0x471273=[],_0x590510=!0x1;return _0x513e63=>{const _0x30d1b6=_0x1599;_0x471273[_0x30d1b6(0x2c2)](_0x513e63),_0x590510||(_0x590510=!0x0,setTimeout(()=>{_0x471273['forEach'](_0x564b6c=>_0x564b6c()),_0x471273=[],_0x590510=!0x1;}));};};let _0x3b7df7=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x41947c,_0x3cedfb,_0x175980,_0x22dd78,_0x298a3f,_0x137d6f,_0x1639f9,_0x890848){const _0x21010f=_0x35dcc5;super(),_0x504098(this,'_online',!0x1),_0x504098(this,_0x21010f(0x216),!0x1),_0x504098(this,_0x21010f(0x8e),new _0x52b4d8['BehaviorSubject'](new Map())),_0x504098(this,_0x21010f(0xfc),this[_0x21010f(0x8e)][_0x21010f(0x34c)]()),_0x504098(this,_0x21010f(0x312),new _0x52b4d8['BehaviorSubject']([])),_0x504098(this,_0x21010f(0x2c4),this[_0x21010f(0x312)][_0x21010f(0x22a)](_0x52b4d8[_0x21010f(0x287)](_0x5d23a5))),_0x504098(this,'_updateLocalCursor',_0x1acd3c['debounce']((_0x4bb9da,_0x2a31ff)=>{const _0x3489a0=_0x21010f,_0x2b94e0={'eventID':_0x1d9a86['CollaborationEvent'][_0x3489a0(0x17b)],'data':{'unitID':this[_0x3489a0(0x181)],'memberID':this['_session'][_0x3489a0(0x1b1)](),'selection':_0x5dc12e[_0x3489a0(0x290)](_0x4bb9da,_0x2a31ff[_0x3489a0(0x251)])}};this[_0x3489a0(0x238)][_0x3489a0(0x32f)](_0x2b94e0,this['unitID']);},_0x2bf8bd)),(this[_0x21010f(0x181)]=_0x41947c,this[_0x21010f(0x238)]=_0x3cedfb,this[_0x21010f(0x304)]=_0x175980,this[_0x21010f(0x335)]=_0x22dd78,this[_0x21010f(0x360)]=_0x298a3f,this['_univerInstanceService']=_0x137d6f,this[_0x21010f(0xe6)]=_0x1639f9,this[_0x21010f(0x1c8)]=_0x890848);}get[_0x35dcc5(0x2ba)](){const _0x149ca3=_0x35dcc5;return this['_cursorInfo$'][_0x149ca3(0x20a)]();}get['roomMembers'](){const _0x3fd6ae=_0x35dcc5;return this[_0x3fd6ae(0x312)][_0x3fd6ae(0x20a)]();}['dispose'](){const _0x2a7397=_0x35dcc5;super['dispose'](),this[_0x2a7397(0x8e)]['next'](new Map()),this[_0x2a7397(0x8e)][_0x2a7397(0x269)](),this[_0x2a7397(0x312)][_0x2a7397(0xba)]([]),this[_0x2a7397(0x312)][_0x2a7397(0x269)]();}['init'](){const _0x5ca263=_0x35dcc5;this[_0x5ca263(0x216)]||(this[_0x5ca263(0x216)]=!0x0,this[_0x5ca263(0x238)][_0x5ca263(0x262)][_0x5ca263(0x22a)](_0x52b4d8[_0x5ca263(0xa7)](this[_0x5ca263(0x2f9)]))[_0x5ca263(0xc6)](_0xbe613=>{const _0x24c4d9=_0x5ca263;_0xbe613===_0xe836dc[_0x24c4d9(0x28c)][_0x24c4d9(0xed)]?this[_0x24c4d9(0x2be)]():this[_0x24c4d9(0x322)]();}),this[_0x5ca263(0x238)][_0x5ca263(0x9d)][_0x5ca263(0x22a)](_0x52b4d8[_0x5ca263(0xa7)](this[_0x5ca263(0x2f9)]))[_0x5ca263(0xc6)](_0x9465f6=>{const _0x57e842=_0x5ca263,_0x538caa=_0x9465f6[_0x57e842(0xc4)];_0x538caa===_0x1d9a86['CollaborationEvent'][_0x57e842(0x17b)]&&this[_0x57e842(0x20f)](_0x9465f6),_0x538caa===_0x1d9a86[_0x57e842(0xd6)][_0x57e842(0x2f2)]&&this['_onCursorDelete'](_0x9465f6);}),this[_0x5ca263(0x223)](),this['disposeWithMe'](this[_0x5ca263(0xe6)][_0x5ca263(0x1d7)](_0x3595f2=>{const _0x49d99d=_0x5ca263;if(this['_online']&&_0x3595f2['id']===_0x17a17c[_0x49d99d(0xe9)]['id']&&_0x3595f2[_0x49d99d(0x164)]['unitId']===this[_0x49d99d(0x181)]){const _0x394ffd=_0x3595f2[_0x49d99d(0x164)];this[_0x49d99d(0x206)](_0x394ffd[_0x49d99d(0x1f0)],_0x394ffd[_0x49d99d(0x320)][0x0]);}})));}[_0x35dcc5(0x20f)](_0x3c5223){const _0x4cc9da=_0x35dcc5;var _0x551f96,_0x29411c;const {memberID:_0x5f591f,selection:_0x44a582}=_0x3c5223[_0x4cc9da(0xe5)],{sheetName:_0x26c58a,range:_0x53328d}=_0x5dc12e[_0x4cc9da(0x171)](_0x44a582),_0x47f0a0={'name':(_0x29411c=(_0x551f96=this[_0x4cc9da(0x360)][_0x4cc9da(0x1eb)](this['unitID'],_0x5f591f))==null?void 0x0:_0x551f96['name'])!=null?_0x29411c:_0x4cc9da(0x21a),'range':this[_0x4cc9da(0x36e)](_0x26c58a,_0x53328d),'sheetID':_0x26c58a,'color':this[_0x4cc9da(0x335)]['assignAColorForMemberID'](_0x5f591f),'selection':_0x44a582},_0x16605a=this[_0x4cc9da(0x2ba)];_0x16605a[_0x4cc9da(0x375)](_0x5f591f,_0x47f0a0),this[_0x4cc9da(0x8e)][_0x4cc9da(0xba)](_0x16605a);}[_0x35dcc5(0x298)](_0x504778){const _0x1354d0=_0x35dcc5,{memberID:_0x3b660a}=_0x504778[_0x1354d0(0xe5)],_0x3dc5e1=this[_0x1354d0(0x2ba)];_0x3dc5e1[_0x1354d0(0x2bb)](_0x3b660a),this['_cursorInfo$'][_0x1354d0(0xba)](_0x3dc5e1);}[_0x35dcc5(0x36e)](_0x3687fd,_0x2c541f){const _0x26d029=_0x35dcc5;var _0xf11c7e,_0x293598;const _0x4df95c=(_0x293598=(_0xf11c7e=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x26d029(0x181)]))==null?void 0x0:_0xf11c7e[_0x26d029(0x14b)](_0x3687fd))==null?void 0x0:_0x293598['getMergeData']();return(_0x4df95c==null?void 0x0:_0x4df95c[_0x26d029(0x2f0)](_0x5689bc=>_0x1acd3c[_0x26d029(0x1e8)][_0x26d029(0x145)](_0x5689bc,_0x2c541f)))||_0x2c541f;}[_0x35dcc5(0x223)](){const _0x422792=_0x35dcc5,_0x161d97=new _0x1acd3c[(_0x422792(0x1f9))](),_0x49ddca=_0x5f1747(),_0x2069ff=()=>{const _0x287e23=_0x422792;_0x161d97['dispose']();const _0x245884=(_0x4bbf36,_0x545f28,_0x17bb45,_0x5d6b10)=>{const _0x47375b=_0x1599;let _0x3da4b4=[];switch(_0x4bbf36['id']){case _0x17a17c[_0x47375b(0x125)]['DeleteRangeMoveLeftCommandId']:{_0x3da4b4=_0x17a17c[_0x47375b(0x13d)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x16d)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x25a)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)]['InsertColCommandId']:{_0x3da4b4=_0x17a17c[_0x47375b(0x166)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x199)]:{_0x3da4b4=_0x17a17c['handleInsertRangeMoveDown'](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)]['InsertRangeMoveRightCommandId']:{_0x3da4b4=_0x17a17c[_0x47375b(0x368)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0xda)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x37a)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x9c)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x11e)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c[_0x47375b(0x125)][_0x47375b(0x23a)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x313)](_0x4bbf36,_0x5d6b10);break;}case _0x17a17c['EffectRefRangId'][_0x47375b(0x367)]:{_0x3da4b4=_0x17a17c[_0x47375b(0x25c)](_0x4bbf36,_0x5d6b10);break;}}const _0x83030f=_0x17a17c[_0x47375b(0x276)](_0x3da4b4,_0x5d6b10),_0x51c1c8=this[_0x47375b(0x2ba)][_0x47375b(0x343)](_0x545f28);if(_0x51c1c8&&_0x83030f){const _0x5bcc63={..._0x51c1c8,'range':_0x83030f};this[_0x47375b(0x2ba)][_0x47375b(0x375)](_0x545f28,_0x5bcc63),_0x49ddca(()=>{const _0x22064e=_0x47375b,_0x5c361f=this[_0x22064e(0x1c8)]['registerRefRange'](_0x83030f,_0x4aa357=>(_0x5c361f[_0x22064e(0x381)](),_0x245884(_0x4aa357,_0x545f28,_0x17bb45,_0x83030f)));_0x161d97[_0x22064e(0x2fc)](_0x5c361f);});}return{'redos':[],'undos':[]};};this[_0x287e23(0x2ba)][_0x287e23(0x9a)]((_0x5c5f6c,_0x31e29b)=>{const _0x266bac=_0x287e23,{range:_0x3374d9,sheetID:_0x190de2}=_0x5c5f6c,_0x5320ba=this[_0x266bac(0x1c8)][_0x266bac(0x285)](_0x3374d9,_0x3d19b0=>(_0x5320ba[_0x266bac(0x381)](),_0x245884(_0x3d19b0,_0x31e29b,_0x190de2,_0x3374d9)));_0x161d97[_0x266bac(0x2fc)](_0x5320ba);});};this[_0x422792(0x362)](_0x1acd3c[_0x422792(0x31a)](this[_0x422792(0x8e)]['subscribe'](()=>{_0x2069ff();})));}[_0x35dcc5(0x2be)](){const _0x5d8dfb=_0x35dcc5;var _0xb6a22,_0x4c73a5;if(this[_0x5d8dfb(0x1c7)]=!0x0,((_0xb6a22=this[_0x5d8dfb(0x2ee)][_0x5d8dfb(0x21c)]())==null?void 0x0:_0xb6a22[_0x5d8dfb(0x2cb)]())!==this[_0x5d8dfb(0x181)])return;const _0x42cba9=(_0x4c73a5=this[_0x5d8dfb(0x304)][_0x5d8dfb(0x343)](_0x17a17c['SheetsSelectionsService'])[_0x5d8dfb(0x351)]())==null?void 0x0:_0x4c73a5[0x0],_0x3c4405=this['_univerInstanceService'][_0x5d8dfb(0x100)](_0x1acd3c[_0x5d8dfb(0x8d)][_0x5d8dfb(0x97)])[_0x5d8dfb(0x268)]();_0x42cba9&&_0x3c4405&&this['_updateLocalCursor'](_0x3c4405['getSheetId'](),_0x42cba9);}[_0x35dcc5(0x322)](){const _0x4d533e=_0x35dcc5;this[_0x4d533e(0x1c7)]=!0x1;}};_0x3b7df7=_0x55cd00([_0x160e72(0x2,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x11b)])),_0x160e72(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x2ecc79)),_0x160e72(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1cd)])),_0x160e72(0x5,_0x1acd3c['IUniverInstanceService']),_0x160e72(0x6,_0x1acd3c['ICommandService']),_0x160e72(0x7,_0x1acd3c[_0x35dcc5(0x36c)](_0x17a17c[_0x35dcc5(0x253)]))],_0x3b7df7);var _0x971b24=Object[_0x35dcc5(0x378)],_0x504e92=(_0x3910c2,_0x434353,_0x84a3b,_0x303b6b)=>{const _0x35b957=_0x35dcc5;for(var _0x199846=_0x303b6b>0x1?void 0x0:_0x303b6b?_0x971b24(_0x434353,_0x84a3b):_0x434353,_0x14672c=_0x3910c2[_0x35b957(0x36b)]-0x1,_0x1f8f6f;_0x14672c>=0x0;_0x14672c--)(_0x1f8f6f=_0x3910c2[_0x14672c])&&(_0x199846=_0x1f8f6f(_0x199846)||_0x199846);return _0x199846;},_0x1a1d42=(_0x1da880,_0x178b62)=>(_0x98e966,_0x2c1664)=>_0x178b62(_0x98e966,_0x2c1664,_0x1da880);let _0x224c41=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x583c8c,_0x3c026f,_0x11e8e8){const _0x5289bd=_0x35dcc5;super(),_0x504098(this,_0x5289bd(0x142),new Map()),_0x504098(this,_0x5289bd(0x133),new _0x52b4d8[(_0x5289bd(0xbd))]()),(this[_0x5289bd(0x2ee)]=_0x583c8c,this[_0x5289bd(0x304)]=_0x3c026f,this[_0x5289bd(0x2ea)]=_0x11e8e8,this[_0x5289bd(0x216)]());}[_0x35dcc5(0x381)](){const _0x43749a=_0x35dcc5;super['dispose'](),this['_entityInit$'][_0x43749a(0x269)](),this[_0x43749a(0x142)][_0x43749a(0x9a)](_0x55a11f=>_0x55a11f[_0x43749a(0x381)]());}['getCollabCursors$'](_0x53c81b){const _0x4c4878=_0x35dcc5;return this[_0x4c4878(0x142)][_0x4c4878(0x1ba)](_0x53c81b)?this[_0x4c4878(0x142)][_0x4c4878(0x343)](_0x53c81b)['cursorInfo$']:this['_entityInit$'][_0x4c4878(0x22a)](_0x52b4d8[_0x4c4878(0x2e9)](_0xa66117=>_0xa66117['unitID']===_0x53c81b),_0x52b4d8[_0x4c4878(0x1ac)](_0xa572b7=>_0xa572b7[_0x4c4878(0xfc)]));}['_init'](){const _0x5a040c=_0x35dcc5;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1acd3c[_0x5a040c(0x8d)][_0x5a040c(0x97)])[_0x5a040c(0x22a)](_0x52b4d8['takeUntil'](this[_0x5a040c(0x2f9)]))['subscribe'](async _0x419d79=>{const _0x2e7dc5=_0x5a040c,_0x145e84=_0x419d79[_0x2e7dc5(0x2cb)](),_0x48e2c1=await this['_startSheetCollabCursor'](_0x145e84);this[_0x2e7dc5(0x133)][_0x2e7dc5(0xba)](_0x48e2c1),this[_0x2e7dc5(0x142)][_0x2e7dc5(0x375)](_0x145e84,_0x48e2c1);}),this[_0x5a040c(0x2ee)][_0x5a040c(0x225)](_0x1acd3c[_0x5a040c(0x8d)][_0x5a040c(0x1b2)])['pipe'](_0x52b4d8[_0x5a040c(0xa7)](this[_0x5a040c(0x2f9)]))[_0x5a040c(0x22a)](_0x52b4d8[_0x5a040c(0x2e9)](_0x4d0035=>!_0x4d0035[_0x5a040c(0x2cb)]()[_0x5a040c(0x17f)]('__')))[_0x5a040c(0xc6)](async _0x3d4238=>{const _0x154380=_0x5a040c,_0xb270ef=_0x3d4238[_0x154380(0x2cb)](),_0x5b37ee=await this[_0x154380(0x36a)](_0xb270ef);this['_entityInit$'][_0x154380(0xba)](_0x5b37ee),this[_0x154380(0x142)][_0x154380(0x375)](_0xb270ef,_0x5b37ee);}),_0x52b4d8[_0x5a040c(0x88)](this[_0x5a040c(0x2ee)][_0x5a040c(0x284)](_0x1acd3c['UniverInstanceType']['UNIVER_DOC']),this[_0x5a040c(0x2ee)][_0x5a040c(0x284)](_0x1acd3c[_0x5a040c(0x8d)][_0x5a040c(0x97)]))['pipe'](_0x52b4d8[_0x5a040c(0xa7)](this[_0x5a040c(0x2f9)]))['subscribe'](_0x534858=>{const _0x1efc7e=_0x5a040c,_0xfb0fe4=_0x534858['getUnitId'](),_0x3ea2ae=this[_0x1efc7e(0x142)][_0x1efc7e(0x343)](_0xfb0fe4);_0x3ea2ae&&(_0x3ea2ae[_0x1efc7e(0x381)](),this['_entities'][_0x1efc7e(0x2bb)](_0xfb0fe4));});}async[_0x35dcc5(0x198)](_0x16d79a){const _0x1def99=_0x35dcc5,_0xd77182=await this[_0x1def99(0x2ea)][_0x1def99(0x2c9)](_0x16d79a),_0x360995=this['_injector']['createInstance'](_0x3b7df7,_0x16d79a,_0xd77182);return _0x360995[_0x1def99(0xfd)](),_0x360995;}async['_startDocCollabCursor'](_0x13c646){const _0x3f74af=_0x35dcc5,_0xebe179=await this[_0x3f74af(0x2ea)][_0x3f74af(0x2c9)](_0x13c646),_0x38dc30=this['_injector'][_0x3f74af(0x1ff)](_0x51b1c2,_0x13c646,_0xebe179);return _0x38dc30[_0x3f74af(0xfd)](),_0x38dc30;}};_0x224c41=_0x504e92([_0x1a1d42(0x0,_0x1acd3c[_0x35dcc5(0x329)]),_0x1a1d42(0x1,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x11b)])),_0x1a1d42(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1e7)]))],_0x224c41);const _0x1be3de=0x14,_0xa03e9=0xc8,_0x36129c=0x4,_0x157402=0x5;function _0x3266e6(_0x36ab44,_0x3d3a02){const _0x2e4186=_0x35dcc5;let {radius:_0x5adadf,width:_0x78f4a2,height:_0x2e1bd7}=_0x3d3a02;_0x5adadf=_0x5adadf!=null?_0x5adadf:0x0,_0x78f4a2=_0x78f4a2!=null?_0x78f4a2:0x1e,_0x2e1bd7=_0x2e1bd7!=null?_0x2e1bd7:0x1e;let _0x5a9f68=0x0,_0x251fc8=0x0,_0x290631=0x0;_0x5a9f68=_0x251fc8=_0x290631=Math[_0x2e4186(0x1e0)](_0x5adadf,_0x78f4a2/0x2,_0x2e1bd7/0x2),_0x36ab44[_0x2e4186(0xc3)](),_0x36ab44[_0x2e4186(0x1cc)](_0x5a9f68,0x0),_0x36ab44[_0x2e4186(0x19b)](_0x78f4a2-_0x251fc8,0x0),_0x36ab44[_0x2e4186(0x20d)](_0x78f4a2-_0x251fc8,_0x251fc8,_0x251fc8,Math['PI']*0x3/0x2,0x0,!0x1),_0x36ab44[_0x2e4186(0x19b)](_0x78f4a2,_0x2e1bd7-_0x290631),_0x36ab44[_0x2e4186(0x20d)](_0x78f4a2-_0x290631,_0x2e1bd7-_0x290631,_0x290631,0x0,Math['PI']/0x2,!0x1),_0x36ab44[_0x2e4186(0x19b)](0x0,_0x2e1bd7),_0x36ab44[_0x2e4186(0x19b)](0x0,_0x5a9f68),_0x36ab44[_0x2e4186(0x20d)](_0x5a9f68,_0x5a9f68,_0x5a9f68,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x36ab44['closePath'](),_0x3d3a02[_0x2e4186(0x1cf)]&&(_0x36ab44['save'](),_0x36ab44[_0x2e4186(0xfb)]=_0x3d3a02[_0x2e4186(0x1cf)],_0x3d3a02['fillRule']===_0x2e4186(0x10d)?_0x36ab44[_0x2e4186(0x1cf)](_0x2e4186(0x10d)):_0x36ab44[_0x2e4186(0x1cf)](),_0x36ab44[_0x2e4186(0x219)]());}class _0x1aaf15 extends _0x4dbd74[_0x35dcc5(0x358)]{constructor(_0x38e862,_0x39e8dc){const _0x572ea9=_0x35dcc5;super(_0x38e862,_0x39e8dc),_0x504098(this,'color'),_0x504098(this,_0x572ea9(0xd2)),(this['color']=_0x39e8dc==null?void 0x0:_0x39e8dc[_0x572ea9(0x27c)],this['text']=_0x39e8dc==null?void 0x0:_0x39e8dc[_0x572ea9(0xd2)]);}static['drawWith'](_0x56982c,_0x167aa1){const _0x4a851c=_0x35dcc5,{text:_0x1420f0,color:_0x10da22}=_0x167aa1;_0x56982c[_0x4a851c(0x37b)](),_0x56982c[_0x4a851c(0x1e5)]=_0x4a851c(0x35e);const _0x1763c3=_0x56982c['measureText'](_0x1420f0)[_0x4a851c(0x311)],_0x2b8b97=Math[_0x4a851c(0x1e0)](_0x1763c3+0x2*_0x36129c,_0xa03e9);_0x3266e6(_0x56982c,{'height':_0x1be3de,'radius':0x4,'width':_0x2b8b97,'fill':_0x10da22}),_0x56982c['fillStyle']='#FFF';const _0x376c9e=_0x36129c,_0x284e68=_0x1be3de-_0x157402,_0x162587=_0xa03e9-0x2*_0x36129c;if(_0x1763c3>_0x162587){let _0x1c2028='',_0xc68952=0x0;for(const _0x1d14c1 of _0x1420f0){const _0x2ce474=_0x56982c[_0x4a851c(0x108)](_0x1d14c1)['width'];if(_0xc68952+_0x2ce474<=_0x162587-_0x56982c['measureText']('...')[_0x4a851c(0x311)])_0x1c2028+=_0x1d14c1,_0xc68952+=_0x2ce474;else{_0x1c2028+='...';break;}}_0x56982c[_0x4a851c(0x2d8)](_0x1c2028,_0x376c9e,_0x284e68);}else _0x56982c[_0x4a851c(0x2d8)](_0x1420f0,_0x376c9e,_0x284e68);_0x56982c[_0x4a851c(0x219)]();}['_draw'](_0x137b91){const _0x12173a=_0x35dcc5;_0x1aaf15[_0x12173a(0x205)](_0x137b91,this);}}const _0x59fab8='collab-text-anchor-',_0x3a9f81=_0x35dcc5(0x34e),_0x46b727='collab-rect-range-',_0x54bcc5=0x6,_0x898d05=1.5,_0xbe2765=0x4,_0x170b47=1.5,_0x25e4a1=_0x35dcc5(0x17d);class _0x274d19{constructor(_0x5b9fc2,_0x15be6d,_0x5e032c,_0x146662){const _0x22a9f3=_0x35dcc5;_0x504098(this,_0x22a9f3(0x13c),[]),_0x504098(this,'_anchor',null),_0x504098(this,_0x22a9f3(0x235),null),_0x504098(this,'_anchorDot',null),_0x504098(this,_0x22a9f3(0x158),null),_0x504098(this,_0x22a9f3(0x326),null),(this[_0x22a9f3(0x138)]=_0x5b9fc2,this[_0x22a9f3(0x1bd)]=_0x15be6d,this['_docSkeleton']=_0x5e032c,this['_document']=_0x146662,this[_0x22a9f3(0x1bc)]());}set[_0x35dcc5(0x2fa)](_0x2aa9d9){const _0x2d070e=_0x35dcc5;_0x2aa9d9?(this[_0x2d070e(0xf0)]&&this[_0x2d070e(0xf0)]['hide'](),this[_0x2d070e(0x235)]&&this[_0x2d070e(0x235)]['show']()):(this[_0x2d070e(0xf0)]&&this[_0x2d070e(0xf0)][_0x2d070e(0x18a)](),this[_0x2d070e(0x235)]&&this[_0x2d070e(0x235)]['hide']());}[_0x35dcc5(0x381)](){const _0x1ff236=_0x35dcc5;for(const _0x58eca3 of this[_0x1ff236(0x13c)])_0x58eca3[_0x1ff236(0x381)]();this['_textBubble']&&this[_0x1ff236(0x235)][_0x1ff236(0x381)](),this[_0x1ff236(0xf0)]&&this[_0x1ff236(0xf0)][_0x1ff236(0x381)](),this['_anchor']&&this[_0x1ff236(0x124)][_0x1ff236(0x381)](),this['_eventUnsubscribe']&&this[_0x1ff236(0x326)]();}[_0x35dcc5(0x1bc)](){const _0x2bea37=_0x35dcc5;var _0x14d946;const {_docSkeleton:_0x14f96f,_document:_0x3375a6}=this,{color:_0x5a249a,name:_0x2322fb,ranges:_0x150f34}=this['_cursor'],_0x253137=_0x3375a6[_0x2bea37(0x299)](),{docsLeft:_0x4c12b9,docsTop:_0x594c21}=_0x253137,_0x590fab=new _0x4a5890[(_0x2bea37(0x261))](_0x253137,_0x14f96f);for(const {startOffset:_0x814156,endOffset:_0x5517a9,rangeType:_0x13a6ba,segmentId:_0x42408c,segmentPage:_0x5080f6,collapsed:_0x2557f7,isActive:_0x1a1931}of _0x150f34){const _0x5a612e=_0x14f96f[_0x2bea37(0xac)](_0x814156,!0x0,_0x42408c,_0x5080f6);let _0x34b0ee=_0x14f96f[_0x2bea37(0xac)](_0x5517a9,!0x0,_0x42408c,_0x5080f6);if(_0x34b0ee==null&&(_0x34b0ee=_0x14f96f[_0x2bea37(0xac)](_0x5517a9-0x1,!0x1,_0x42408c,_0x5080f6)),_0x1a1931){const {contentBoxPointGroup:_0x14ef16}=_0x590fab['getRangePointData'](_0x34b0ee,_0x34b0ee);if(_0x14ef16[_0x2bea37(0x36b)]===0x0)continue;this[_0x2bea37(0xab)](_0x5a249a,_0x14ef16,_0x4c12b9,_0x594c21,_0x2322fb),this[_0x2bea37(0x326)]=this[_0x2bea37(0x328)]();}if(_0x5a612e&&_0x34b0ee){if(_0x13a6ba===_0x1acd3c['DOC_RANGE_TYPE'][_0x2bea37(0x1ca)]){const _0x6e3bfa=new _0x4a5890[(_0x2bea37(0x22b))](_0x253137,_0x14f96f),{pointGroup:_0x2c68a2}=(_0x14d946=_0x6e3bfa[_0x2bea37(0x99)](_0x5a612e,_0x34b0ee))!=null?_0x14d946:{};if(_0x2c68a2==null||_0x2c68a2[_0x2bea37(0x36b)]===0x0)continue;this[_0x2bea37(0x32d)](_0x5a249a,_0x2c68a2,_0x4c12b9,_0x594c21);}else{if(!_0x2557f7){const {borderBoxPointGroup:_0x8f8d29}=_0x590fab[_0x2bea37(0x99)](_0x5a612e,_0x34b0ee);if(_0x8f8d29[_0x2bea37(0x36b)]===0x0)continue;this[_0x2bea37(0x104)](_0x5a249a,_0x8f8d29,_0x4c12b9,_0x594c21);}}}}}['_drawAnchor'](_0x4fd484,_0x4691c5,_0x4557be,_0x705aad,_0x3e5140){const _0x233b7c=_0x35dcc5,_0x5a7fa6=this[_0x233b7c(0x15e)](_0x4691c5),{left:_0x23295f,top:_0x4e558c,height:_0x212d60}=_0x5a7fa6,_0x29dcfe=this[_0x233b7c(0xb0)](),_0xf3de69=_0x170b47/_0x29dcfe,_0x52127a=new _0x4dbd74[(_0x233b7c(0x33e))](_0x59fab8+_0x1acd3c[_0x233b7c(0x23f)](_0x54bcc5),{'left':_0x23295f+_0x4557be-_0xf3de69,'top':_0x4e558c+_0x705aad,'height':_0x212d60,'width':_0x898d05,'fill':_0x4fd484||_0x4dbd74['getColor'](_0x1acd3c['COLORS'][_0x233b7c(0x25b)],0x0),'strokeWidth':_0xf3de69,'stroke':_0x25e4a1,'evented':!0x0});this[_0x233b7c(0x124)]=_0x52127a,this[_0x233b7c(0x1bd)][_0x233b7c(0x2c6)](_0x52127a,_0x4a5890[_0x233b7c(0x307)]);const _0x553dca=new _0x4dbd74['Rect'](_0x59fab8+_0x1acd3c[_0x233b7c(0x23f)](_0x54bcc5),{'left':_0x23295f+_0x4557be-_0xf3de69,'top':_0x4e558c+_0x705aad-_0xbe2765/0x2,'height':_0xbe2765,'width':_0xbe2765,'fill':_0x4fd484||_0x4dbd74[_0x233b7c(0x2ac)](_0x1acd3c[_0x233b7c(0x301)][_0x233b7c(0x25b)],0x0),'strokeWidth':0x0,'stroke':_0x4fd484||_0x4dbd74[_0x233b7c(0x2ac)](_0x1acd3c[_0x233b7c(0x301)][_0x233b7c(0x25b)],0x0),'evented':!0x1});this[_0x233b7c(0xf0)]=_0x553dca,this[_0x233b7c(0x1bd)][_0x233b7c(0x2c6)](_0x553dca,_0x4a5890[_0x233b7c(0x307)]);const _0xd85097=new _0x1aaf15(_0x59fab8+_0x1acd3c[_0x233b7c(0x23f)](_0x54bcc5),{'left':_0x23295f+_0x4557be-_0xf3de69,'top':_0x4e558c+_0x705aad-_0x1be3de,'text':_0x3e5140,'color':_0x4fd484});this['_textBubble']=_0xd85097,this['_scene']['addObject'](_0xd85097,_0x4a5890[_0x233b7c(0x307)]),this[_0x233b7c(0x2fa)]=!0x1;}[_0x35dcc5(0x328)](){const _0x121484=_0x35dcc5,_0x2cbbb1=this[_0x121484(0x124)][_0x121484(0x202)][_0x121484(0x192)](()=>{const _0xe30568=_0x121484;this[_0xe30568(0x2fa)]=!0x0;}),_0x2d8964=this['_anchor'][_0x121484(0x2f8)]['subscribeEvent'](()=>{const _0x3f471a=_0x121484;this[_0x3f471a(0x158)]&&clearTimeout(this[_0x3f471a(0x158)]),this[_0x3f471a(0x158)]=setTimeout(()=>{const _0x46d052=_0x3f471a;this[_0x46d052(0x2fa)]=!0x1;},0x7d0);});return()=>{const _0x128ca6=_0x121484;_0x2cbbb1['unsubscribe'](),_0x2d8964[_0x128ca6(0x27b)]();};}[_0x35dcc5(0x104)](_0x429591,_0x4d023e,_0x5567c9,_0x4c6a4e){const _0xe9372e=_0x35dcc5,_0x4d17d4=new _0x1acd3c[(_0xe9372e(0x230))](_0x429591)['setAlpha'](0.2)[_0xe9372e(0x256)](),_0x5a58cf=new _0x4dbd74[(_0xe9372e(0xfa))](_0x3a9f81+_0x1acd3c['generateRandomId'](_0x54bcc5),{'pointsGroup':_0x4d023e,'fill':_0x4d17d4||_0x4dbd74[_0xe9372e(0x2ac)](_0x1acd3c[_0xe9372e(0x301)][_0xe9372e(0x25b)],0.2),'left':_0x5567c9,'top':_0x4c6a4e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x5a58cf),this[_0xe9372e(0x1bd)]['addObject'](_0x5a58cf,_0x4a5890[_0xe9372e(0x307)]);}[_0x35dcc5(0x32d)](_0x5acac9,_0xe5d6e1,_0x49c58c,_0x254a64){const _0x3408c4=_0x35dcc5,_0x42cdc9=new _0x1acd3c[(_0x3408c4(0x230))](_0x5acac9)[_0x3408c4(0x257)](0.2)[_0x3408c4(0x256)](),_0x3a62ec=new _0x4dbd74[(_0x3408c4(0xfa))](_0x46b727+_0x1acd3c[_0x3408c4(0x23f)](_0x54bcc5),{'pointsGroup':_0xe5d6e1,'fill':_0x42cdc9||_0x4dbd74[_0x3408c4(0x2ac)](_0x1acd3c[_0x3408c4(0x301)][_0x3408c4(0x25b)],0.2),'left':_0x49c58c,'top':_0x254a64,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3408c4(0x13c)][_0x3408c4(0x2c2)](_0x3a62ec),this[_0x3408c4(0x1bd)]['addObject'](_0x3a62ec,_0x4a5890[_0x3408c4(0x307)]);}[_0x35dcc5(0x15e)](_0x11d8e2){const _0x4e1529=_0x11d8e2[0x0],_0x3b65df=_0x4e1529[0x0],_0x3f6fa7=_0x4e1529[0x2],{x:_0x478414,y:_0x434f8d}=_0x3b65df,{x:_0x1184b3,y:_0x5e3035}=_0x3f6fa7;return{'left':_0x478414,'top':_0x434f8d,'width':_0x1184b3-_0x478414,'height':_0x5e3035-_0x434f8d};}[_0x35dcc5(0xb0)](){const _0x3e0d07=_0x35dcc5,{scaleX:_0x2c6c5b,scaleY:_0x20da77}=this[_0x3e0d07(0x1bd)][_0x3e0d07(0x18e)]();return Math['max'](_0x2c6c5b,_0x20da77);}}var _0x20f9cd=Object[_0x35dcc5(0x378)],_0x19a1a0=(_0x150605,_0x1e0141,_0xffefc,_0x48c2b4)=>{const _0xa7427a=_0x35dcc5;for(var _0x1c3ede=_0x48c2b4>0x1?void 0x0:_0x48c2b4?_0x20f9cd(_0x1e0141,_0xffefc):_0x1e0141,_0x2f0d53=_0x150605[_0xa7427a(0x36b)]-0x1,_0x482d0a;_0x2f0d53>=0x0;_0x2f0d53--)(_0x482d0a=_0x150605[_0x2f0d53])&&(_0x1c3ede=_0x482d0a(_0x1c3ede)||_0x1c3ede);return _0x1c3ede;},_0x51bd1b=(_0x42c1aa,_0x4b77ba)=>(_0x660978,_0x409f34)=>_0x4b77ba(_0x660978,_0x409f34,_0x42c1aa);let _0x2a51ff=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x4a23ba,_0x4221ee,_0x13a93e,_0x36659c,_0x16d731){const _0x4addb3=_0x35dcc5;super(),_0x504098(this,_0x4addb3(0x24f),[]),_0x504098(this,_0x4addb3(0x140),[]),(this[_0x4addb3(0xf9)]=_0x4a23ba,this['_docSkeletonManagerService']=_0x4221ee,this['_collabCursorController']=_0x13a93e,this['_commandService']=_0x36659c,this[_0x4addb3(0xe8)]=_0x16d731,this['_init']());}[_0x35dcc5(0x216)](){const _0x140391=_0x35dcc5,_0x595cf4=this[_0x140391(0xf9)][_0x140391(0x334)],_0x122a45=this[_0x140391(0x1f2)];this[_0x140391(0x362)](_0x52b4d8[_0x140391(0x336)]([this[_0x140391(0xd8)][_0x140391(0x8c)](_0x595cf4),this[_0x140391(0xe8)][_0x140391(0x1c9)]])['pipe'](_0x20b870[_0x140391(0x365)](([_0x4938d1,_0x76b9c7])=>({'skeleton':_0x122a45[_0x140391(0x120)](),'cursors':[..._0x4938d1[_0x140391(0x1b9)]()][_0x140391(0x179)](_0x5789f5=>({..._0x5789f5,'color':this[_0x140391(0xe8)][_0x140391(0x1d9)](_0x5789f5[_0x140391(0x27c)])}))})))[_0x140391(0xc6)](_0xf259f0=>{const _0x8fc382=_0x140391;if(this[_0x8fc382(0x182)](),_0xf259f0){const {skeleton:_0x52cdcc,cursors:_0x5e549a}=_0xf259f0;this[_0x8fc382(0x31c)](_0x52cdcc,_0x5e549a);}})),this[_0x140391(0xdb)](),this[_0x140391(0x132)]();}[_0x35dcc5(0x31c)](_0x42ca8d,_0x27a4b5){const _0x2478fc=_0x35dcc5,{scene:_0x1b59f7,mainComponent:_0x3246ab}=this[_0x2478fc(0xf9)],_0x350d88=_0x27a4b5[_0x2478fc(0x365)](_0x143ab1=>new _0x274d19(_0x143ab1,_0x1b59f7,_0x42ca8d,_0x3246ab));this[_0x2478fc(0x24f)]=_0x350d88,this['_cursors']=_0x27a4b5;}[_0x35dcc5(0x2b5)](){const _0x18ad55=_0x35dcc5;this[_0x18ad55(0x182)]();const {scene:_0x32039e,mainComponent:_0x37962c}=this[_0x18ad55(0xf9)],_0x5b21ec=this[_0x18ad55(0x1f2)][_0x18ad55(0x120)](),_0x35d742=this['_cursors']['map'](_0x1dd429=>new _0x274d19(_0x1dd429,_0x32039e,_0x5b21ec,_0x37962c));this[_0x18ad55(0x24f)]=_0x35d742;}[_0x35dcc5(0x182)](){const _0x2d1d8c=_0x35dcc5;this['_cursorShapes'][_0x2d1d8c(0x9a)](_0x3fed81=>_0x3fed81[_0x2d1d8c(0x381)]()),this[_0x2d1d8c(0x24f)]=[];}[_0x35dcc5(0x132)](){const _0x5be644=_0x35dcc5,_0x727f4c=[_0x4a5890[_0x5be644(0x305)]['id']];this[_0x5be644(0x362)](this[_0x5be644(0xe6)][_0x5be644(0x1d7)](_0x49bbda=>{const _0x5939d6=_0x5be644;_0x727f4c[_0x5939d6(0x34d)](_0x49bbda['id'])&&_0x49bbda[_0x5939d6(0x164)][_0x5939d6(0x334)]===this[_0x5939d6(0xf9)][_0x5939d6(0x334)]&&this['_refreshCollabCursors']();}));}[_0x35dcc5(0xdb)](){const _0x19c9a0=_0x35dcc5;this[_0x19c9a0(0x362)](_0x1acd3c[_0x19c9a0(0x26c)](this['_context'][_0x19c9a0(0x121)][_0x19c9a0(0x31e)])[_0x19c9a0(0x22a)](_0x20b870[_0x19c9a0(0x2e9)](_0x59df50=>_0x59df50[_0x19c9a0(0x17a)]===_0x4dbd74[_0x19c9a0(0x24d)][_0x19c9a0(0x201)]),_0x20b870[_0x19c9a0(0x214)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x2a51ff=_0x19a1a0([_0x51bd1b(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x3e8285[_0x35dcc5(0x2a6)])),_0x51bd1b(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x224c41)),_0x51bd1b(0x3,_0x1acd3c[_0x35dcc5(0x27e)]),_0x51bd1b(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x139)]))],_0x2a51ff);const _0x4f518b=0x1,_0x40423f=1.5;class _0x17cc8b extends _0x4dbd74[_0x35dcc5(0x358)]{constructor(_0x5333a7,_0x26e6a4){const _0x5107b9=_0x35dcc5;super(_0x5333a7,_0x26e6a4),_0x504098(this,_0x5107b9(0x292)),_0x504098(this,_0x5107b9(0x2af),!0x1),_0x504098(this,_0x5107b9(0x21f)),_0x504098(this,_0x5107b9(0x222),''),_0x504098(this,_0x5107b9(0xa2),_0x5107b9(0x37c)),_0x504098(this,_0x5107b9(0x275)),(_0x26e6a4&&this[_0x5107b9(0x165)](_0x26e6a4),this[_0x5107b9(0x202)][_0x5107b9(0x192)](()=>this[_0x5107b9(0x165)]({'hovered':!0x0})),this['onPointerLeave$'][_0x5107b9(0x192)](()=>this[_0x5107b9(0x165)]({'hovered':!0x1})));}[_0x35dcc5(0x165)](_0x244903){const _0x121aec=_0x35dcc5;var _0x2f5e49,_0xc53170,_0x57427b,_0x2f677d,_0x1d816e,_0x3b2d05;this[_0x121aec(0x292)]=(_0x2f5e49=_0x244903[_0x121aec(0x27c)])!=null?_0x2f5e49:this[_0x121aec(0x292)],this['_hovered']=(_0xc53170=_0x244903[_0x121aec(0x2cd)])!=null?_0xc53170:this['_hovered'],this[_0x121aec(0x21f)]=(_0x57427b=_0x244903['range'])!=null?_0x57427b:this[_0x121aec(0x21f)],this['_name']=(_0x2f677d=_0x244903['name'])!=null?_0x2f677d:this[_0x121aec(0x222)],this[_0x121aec(0xa2)]=(_0x1d816e=_0x244903[_0x121aec(0x2ed)])!=null?_0x1d816e:this[_0x121aec(0xa2)],this['_backgroundColor']=(_0x3b2d05=_0x244903[_0x121aec(0x1ed)])!=null?_0x3b2d05:this[_0x121aec(0x275)],this[_0x121aec(0x2d4)]({'width':_0x244903['width'],'height':_0x244903['height']});}[_0x35dcc5(0x346)](_0x453ef3){const _0x50fb76=_0x35dcc5,{row:_0x115386,column:_0x8f8d8d}=_0x453ef3;if(_0x115386>=this[_0x50fb76(0x21f)][_0x50fb76(0x122)]&&_0x115386<=this[_0x50fb76(0x21f)][_0x50fb76(0xbf)]&&_0x8f8d8d>=this['_range'][_0x50fb76(0x270)]&&_0x8f8d8d<=this[_0x50fb76(0x21f)][_0x50fb76(0x13b)]){this[_0x50fb76(0x165)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x35dcc5(0x321)](_0x5e7369){return!0x1;}[_0x35dcc5(0x200)](_0x15a6bd){const _0x571f36=_0x35dcc5;_0x4dbd74[_0x571f36(0x33e)]['drawWith'](_0x15a6bd,{'width':this[_0x571f36(0x311)],'height':this['height'],'strokeWidth':_0x40423f,'stroke':this[_0x571f36(0x292)],'evented':!0x1,'fill':this[_0x571f36(0x275)]}),this[_0x571f36(0x2af)]&&(_0x15a6bd[_0x571f36(0x37b)](),_0x15a6bd[_0x571f36(0x160)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x571f36(0x28f)?0x0:-_0x1be3de),_0x1aaf15[_0x571f36(0x205)](_0x15a6bd,{'text':this[_0x571f36(0x222)],'color':this[_0x571f36(0x292)]}),_0x15a6bd[_0x571f36(0x219)]());}}var _0x3f2731=Object[_0x35dcc5(0x378)],_0x50f509=(_0x5c5044,_0x3bab73,_0x461e28,_0x4f3a6d)=>{const _0x5c42b1=_0x35dcc5;for(var _0x1e2017=_0x4f3a6d>0x1?void 0x0:_0x4f3a6d?_0x3f2731(_0x3bab73,_0x461e28):_0x3bab73,_0x3dd428=_0x5c5044[_0x5c42b1(0x36b)]-0x1,_0x2cda26;_0x3dd428>=0x0;_0x3dd428--)(_0x2cda26=_0x5c5044[_0x3dd428])&&(_0x1e2017=_0x2cda26(_0x1e2017)||_0x1e2017);return _0x1e2017;},_0x194512=(_0x318a4e,_0x3f9772)=>(_0x3ae66e,_0x447127)=>_0x3f9772(_0x3ae66e,_0x447127,_0x318a4e);const _0x131984=0x1389;let _0x4f2b9e=class extends _0x1acd3c[_0x35dcc5(0x1f6)]{constructor(_0x177d28,_0x56f2b6,_0x4290fd,_0x208c5b){const _0x4bffe8=_0x35dcc5;super(),_0x504098(this,_0x4bffe8(0x140),new Set()),_0x504098(this,'_lastPointer',null),(this[_0x4bffe8(0xf9)]=_0x177d28,this[_0x4bffe8(0xe7)]=_0x56f2b6,this[_0x4bffe8(0xd8)]=_0x4290fd,this[_0x4bffe8(0xe8)]=_0x208c5b,this[_0x4bffe8(0x216)]());}[_0x35dcc5(0x216)](){const _0x26bca4=_0x35dcc5;this[_0x26bca4(0xe7)]['currentSkeleton$']['pipe'](_0x20b870[_0x26bca4(0xa7)](this['dispose$']),_0x20b870[_0x26bca4(0x1ac)](_0x1f9eea=>{const _0x26d220=_0x26bca4;if(_0x1f9eea){const _0x28b008=_0x1f9eea['sheetId'];return _0x52b4d8[_0x26d220(0x336)](this['_collabCursorController'][_0x26d220(0x8c)](this['_context']['unitId']),this[_0x26d220(0xe8)][_0x26d220(0x1c9)])['pipe'](_0x20b870['map'](([_0x1f479e,_0x3b62b7])=>{const _0xaf6e16=_0x26d220,_0x3f0b84=new Map();return _0x1f479e[_0xaf6e16(0x9a)]((_0x1387e2,_0x14f9f7)=>{const _0x1bc18e=_0xaf6e16;if(_0x1387e2[_0x1bc18e(0x185)]===_0x28b008){const _0x70a2aa={..._0x1387e2};_0x70a2aa[_0x1bc18e(0x27c)]=this[_0x1bc18e(0xe8)][_0x1bc18e(0x1d9)](_0x1387e2[_0x1bc18e(0x27c)]),_0x3f0b84['set'](_0x14f9f7,_0x70a2aa);}}),{'skeleton':_0x1f9eea,'cursors':_0x3f0b84};}));}return _0x52b4d8['of']({'skeleton':null,'cursors':new Map()});}))[_0x26bca4(0xc6)](({skeleton:_0x4de974,cursors:_0x5375ea})=>{const _0x4c4eb3=_0x26bca4;this['_removeCollabCursors'](),_0x4de974&&this[_0x4c4eb3(0x31c)](_0x4de974,_0x5375ea);}),this[_0x26bca4(0xe7)][_0x26bca4(0x17c)][_0x26bca4(0xc6)](_0x225ba7=>{const _0x3140b1=_0x26bca4;if(_0x225ba7==null)return;const {skeleton:_0x41e392}=_0x225ba7,{scene:_0x25dc40}=this[_0x3140b1(0xf9)];_0x25dc40[_0x3140b1(0x380)]['subscribeEvent'](_0x1acd3c['debounce'](_0x4de2d6=>{const _0x5511ca=_0x3140b1;var _0x1c464f,_0x251dae;const {offsetX:_0x59f5bb,offsetY:_0x2193b7}=_0x4de2d6,{x:_0x336588,y:_0x2a3f0e}=_0x25dc40['getRelativeToViewportCoord'](_0x4dbd74[_0x5511ca(0x24b)][_0x5511ca(0x352)]([_0x59f5bb,_0x2193b7])),{scaleX:_0x257aa8,scaleY:_0x32eaf8}=_0x25dc40[_0x5511ca(0x18e)](),_0x437b11=_0x25dc40[_0x5511ca(0x2f3)](_0x4dbd74['SHEET_VIEWPORT_KEY'][_0x5511ca(0x342)]),_0x2081d5=_0x25dc40[_0x5511ca(0x249)](_0x4dbd74[_0x5511ca(0x24b)]['FromArray']([_0x336588,_0x2a3f0e]),_0x437b11),_0x294f8b=_0x41e392[_0x5511ca(0x2ad)](_0x59f5bb,_0x2193b7,_0x257aa8,_0x32eaf8,_0x2081d5);((_0x1c464f=this[_0x5511ca(0x135)])==null?void 0x0:_0x1c464f['column'])===_0x294f8b[_0x5511ca(0x31d)]&&((_0x251dae=this[_0x5511ca(0x135)])==null?void 0x0:_0x251dae[_0x5511ca(0xe3)])===_0x294f8b['row']||this['_cursors'][_0x5511ca(0x9a)](_0x7b52c=>{const _0x465bf0=_0x5511ca;_0x7b52c[_0x465bf0(0x346)](_0x294f8b);});},0x64));});}[_0x35dcc5(0x31c)](_0x34d998,_0x3c70b8){const _0xaf5a73=_0x35dcc5;var _0x3be247;const _0x17c500=(_0x3be247=this[_0xaf5a73(0xe7)][_0xaf5a73(0x291)]())==null?void 0x0:_0x3be247[_0xaf5a73(0x2dd)];if(!_0x17c500)return;const _0x412b2b=this[_0xaf5a73(0x1db)]();if(!_0x412b2b)return;this[_0xaf5a73(0x140)][_0xaf5a73(0x9a)](_0x711f61=>{const _0xdfee77=_0xaf5a73;_0x711f61[_0xdfee77(0x2de)]();});const {scene:_0x2b02a4}=_0x412b2b,_0x4c2c80=_0x4dd79b(Array[_0xaf5a73(0x29a)](_0x3c70b8[_0xaf5a73(0x1b9)]()))['map'](_0x30a4b6=>{const _0x5aadaf=_0xaf5a73,{color:_0x2c2a0a,range:_0x529cfd,name:_0x29ba0b,selection:_0xdc75a,sheetID:_0x4946ea}=_0x30a4b6,{startColumn:_0x4dd7b2,startRow:_0x574a41,endColumn:_0x232fb1,endRow:_0x2d905f}=_0x529cfd,_0x18441b=_0x3f878d[_0x5aadaf(0x35c)](_0x574a41,_0x4dd7b2,_0x2b02a4,_0x17c500),_0x120e7d=_0x3f878d[_0x5aadaf(0x35c)](_0x2d905f,_0x232fb1,_0x2b02a4,_0x17c500),{columnHeaderHeightAndMarginTop:_0x11e291}=_0x17c500,{startX:_0x43ab04,startY:_0x359843}=_0x18441b,{endX:_0x53a94c,endY:_0x3ffe04}=_0x120e7d,_0x28e1e0=_0x53a94c-_0x43ab04,_0x30717b=_0x3ffe04-_0x359843,_0x20022e={'labelPosition':_0x359843-_0x11e291>=_0x1be3de?_0x5aadaf(0x37c):'bottom','sheetID':_0x4946ea,'range':_0x529cfd,'color':_0x2c2a0a,'name':_0x29ba0b,'selection':_0xdc75a,'left':_0x43ab04,'top':_0x359843,'width':_0x28e1e0,'height':_0x30717b,'evented':!0x1,'zIndex':_0x131984};return new _0x17cc8b(_0x29ba0b,_0x20022e);});_0x2b02a4[_0xaf5a73(0x163)](_0x4c2c80,_0x4f518b),this[_0xaf5a73(0x140)]=new Set(_0x4c2c80);}['_removeCollabCursors'](){const _0x1d0b00=_0x35dcc5;var _0x937b0b;(_0x937b0b=this[_0x1d0b00(0x140)])==null||_0x937b0b[_0x1d0b00(0x9a)](_0x5d7652=>_0x5d7652[_0x1d0b00(0x381)]());}[_0x35dcc5(0x1db)](){const _0x1a88dc=_0x35dcc5;return _0x3f878d[_0x1a88dc(0x1d3)](this[_0x1a88dc(0xf9)][_0x1a88dc(0xb3)],this[_0x1a88dc(0xf9)]);}};_0x4f2b9e=_0x50f509([_0x194512(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x3f878d['SheetSkeletonManagerService'])),_0x194512(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x224c41)),_0x194512(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x139)]))],_0x4f2b9e);function _0x4dd79b(_0x3f2665){const _0x4d6b22=_0x35dcc5,_0x3927c9=new Map();return _0x3f2665[_0x4d6b22(0x9a)](_0x1982af=>{const _0x3aa704=_0x4d6b22;if(_0x3927c9[_0x3aa704(0x1ba)](_0x1982af['selection'])){const _0x30c154=_0x3927c9[_0x3aa704(0x343)](_0x1982af[_0x3aa704(0x231)]);_0x30c154[_0x3aa704(0x10b)]+=',\x20'+_0x1982af[_0x3aa704(0x10b)];}else _0x3927c9['set'](_0x1982af[_0x3aa704(0x231)],_0x1982af);}),Array[_0x4d6b22(0x29a)](_0x3927c9[_0x4d6b22(0x1b9)]());}var _0x2bb036=Object[_0x35dcc5(0x378)],_0x25444b=(_0x14888c,_0x574651,_0x2d5c3b,_0x54a110)=>{const _0x26af63=_0x35dcc5;for(var _0x18107c=_0x54a110>0x1?void 0x0:_0x54a110?_0x2bb036(_0x574651,_0x2d5c3b):_0x574651,_0x216ca1=_0x14888c[_0x26af63(0x36b)]-0x1,_0xe2d0d8;_0x216ca1>=0x0;_0x216ca1--)(_0xe2d0d8=_0x14888c[_0x216ca1])&&(_0x18107c=_0xe2d0d8(_0x18107c)||_0x18107c);return _0x18107c;},_0xc857fd=(_0x19d5e4,_0x51769f)=>(_0x36d8bf,_0x12bfe9)=>_0x51769f(_0x36d8bf,_0x12bfe9,_0x19d5e4);let _0x56f72a=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x1caa93,_0x45c7f1,_0x263865,_0x41112a,_0x174116,_0x464c4d){const _0x1980f8=_0x35dcc5;super(),this[_0x1980f8(0x1d0)]=_0x1caa93,this[_0x1980f8(0x127)]=_0x45c7f1,this[_0x1980f8(0x2dc)]=_0x263865,this[_0x1980f8(0x15b)]=_0x41112a,this[_0x1980f8(0x330)]=_0x174116,this['_localeService']=_0x464c4d,this[_0x1980f8(0x324)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x2605d9=_0x35dcc5;this['disposeWithMe'](this['_beforeCloseService'][_0x2605d9(0x341)](()=>{const _0x256c57=_0x2605d9;if(this[_0x256c57(0x127)][_0x256c57(0xb2)][_0x256c57(0x9b)])return this[_0x256c57(0xaf)]['t']('collaboration.offline-data-not-saved');}));}[_0x35dcc5(0x2d3)](){const _0x380306=_0x35dcc5;this[_0x380306(0x362)](this[_0x380306(0x2dc)][_0x380306(0x9d)][_0x380306(0xc6)](_0x4d95f6=>{const _0x22f617=_0x380306;_0x4d95f6['id']===_0xe836dc['CollaborationUIEventId'][_0x22f617(0x1f5)]&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x22d)],'content':this[_0x22f617(0xaf)]['t']('collaboration.single-unit.warning')}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)]['CLOSE_ROOM']&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x22d)],'content':this['_localeService']['t'](_0x22f617(0x136))}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0xb8)]&&this[_0x22f617(0x330)][_0x22f617(0x18a)]({'title':this[_0x22f617(0xaf)]['t'](_0x22f617(0x178)),'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0x347)),'type':'error','duration':0x0}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0x1fc)]&&this['_messageService'][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)]['Error'],'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0x136))+'('+_0x4d95f6[_0x22f617(0xe5)]+')'}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0xa6)]&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x22d)],'content':this[_0x22f617(0xaf)]['t'](_0x4d95f6['data']||'')}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)][_0x22f617(0x114)]&&this[_0x22f617(0x15b)][_0x22f617(0x18a)]({'type':_0x31b7ea['MessageType']['Warning'],'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0x2ff))}),_0x4d95f6['id']===_0xe836dc[_0x22f617(0x1fb)]['SOCKET_FAILED']&&this[_0x22f617(0x15b)]['show']({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x308)],'content':this[_0x22f617(0xaf)]['t'](_0x22f617(0xc2))}),_0x4d95f6['id']===_0xe836dc['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x22f617(0x15b)]['show']({'type':_0x31b7ea[_0x22f617(0x1f8)][_0x22f617(0x308)],'content':this['_localeService']['t'](_0x22f617(0x27f))});}));}};_0x56f72a=_0x25444b([_0xc857fd(0x0,_0x3d1085[_0x35dcc5(0x10e)]),_0xc857fd(0x1,_0xe836dc[_0x35dcc5(0x1d6)]),_0xc857fd(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x18d)])),_0xc857fd(0x3,_0x3d1085[_0x35dcc5(0x37f)]),_0xc857fd(0x4,_0x3d1085[_0x35dcc5(0xf7)]),_0xc857fd(0x5,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x10c)]))],_0x56f72a);var _0x54e161=Object[_0x35dcc5(0x378)],_0x3e277b=(_0x5da7ce,_0x3b1220,_0xdc5319,_0x43e96a)=>{const _0x397ed7=_0x35dcc5;for(var _0x2037f9=_0x43e96a>0x1?void 0x0:_0x43e96a?_0x54e161(_0x3b1220,_0xdc5319):_0x3b1220,_0x1102bf=_0x5da7ce[_0x397ed7(0x36b)]-0x1,_0x339b57;_0x1102bf>=0x0;_0x1102bf--)(_0x339b57=_0x5da7ce[_0x1102bf])&&(_0x2037f9=_0x339b57(_0x2037f9)||_0x2037f9);return _0x2037f9;},_0x534ac1=(_0x50e661,_0x5e3772)=>(_0x37806f,_0x18dfef)=>_0x5e3772(_0x37806f,_0x18dfef,_0x50e661);let _0x245133=class extends _0x1acd3c['Disposable']{constructor(_0xe96816,_0x14cc66,_0x457442,_0x22a1c9){const _0x344404=_0x35dcc5;super(),_0x504098(this,'_memberID'),(this[_0x344404(0x304)]=_0xe96816,this[_0x344404(0x111)]=_0x14cc66,this[_0x344404(0x94)]=_0x457442,this[_0x344404(0xa4)]=_0x22a1c9,this['_init']());}[_0x35dcc5(0x216)](){const _0x333a0f=_0x35dcc5;this[_0x333a0f(0x23b)](),this[_0x333a0f(0x28a)](),this[_0x333a0f(0x101)](),this[_0x333a0f(0x2b9)]();}['_initUserListener'](){const _0x34d75e=_0x35dcc5;this['disposeWithMe'](this[_0x34d75e(0xa4)][_0x34d75e(0x91)]['subscribe'](_0xacb2ab=>{const _0x25f661=_0x34d75e;this[_0x25f661(0x116)]=_0xacb2ab==null?void 0x0:_0xacb2ab['memberID'];}));}['_initWindowErrorListener'](){const _0x4ee69c=_0x35dcc5,_0x440cf8=_0x28362c=>{const _0x22696d=_0x1599;var _0x20a637;this[_0x22696d(0x2e5)](_0x22696d(0x36d),_0x22696d(0xce)+_0x28362c['message']+_0x22696d(0x168)+_0x28362c['filename']+':'+_0x28362c['lineno']+':'+_0x28362c[_0x22696d(0x1c4)]+'\x0a'+(((_0x20a637=_0x28362c['error'])==null?void 0x0:_0x20a637[_0x22696d(0x2b0)])||''));};window[_0x4ee69c(0x374)](_0x4ee69c(0x36d),_0x440cf8),this['disposeWithMe'](()=>{const _0x589383=_0x4ee69c;window[_0x589383(0x14e)](_0x589383(0x36d),_0x440cf8);});}[_0x35dcc5(0x28a)](){const _0x4fa5ab=_0x35dcc5,_0x29c5b4=_0x2da639=>{const _0x5953d9=_0x1599;this['_uploadLog'](_0x5953d9(0x36d),_0x5953d9(0x1fd)+_0x2da639[_0x5953d9(0x359)]);};window[_0x4fa5ab(0x374)](_0x4fa5ab(0x1f1),_0x29c5b4),this[_0x4fa5ab(0x362)](()=>{window['removeEventListener']('unhandledrejection',_0x29c5b4);});}[_0x35dcc5(0x101)](){const _0x4b2c60=_0x35dcc5,_0x50d263=this[_0x4b2c60(0x94)]['error'][_0x4b2c60(0x21d)](this[_0x4b2c60(0x94)]);this['_logService'][_0x4b2c60(0x36d)]=(..._0x317528)=>{const _0x2eecd4=_0x4b2c60,_0xdc0d21=_0x317528[_0x2eecd4(0x365)](_0x451486=>_0x451486 instanceof Error?_0x451486[_0x2eecd4(0x1f7)]+'\x0a'+_0x451486[_0x2eecd4(0x2b0)]:String(_0x451486))[_0x2eecd4(0x144)]('\x20');this[_0x2eecd4(0x2e5)](_0x2eecd4(0x36d),_0x2eecd4(0x141)+_0xdc0d21),_0x50d263(..._0x317528);},this['disposeWithMe'](()=>{const _0x201663=_0x4b2c60;this[_0x201663(0x94)][_0x201663(0x36d)]=_0x50d263;});}[_0x35dcc5(0x2e5)](_0x14cdad,_0x29ea58){const _0x35d752=_0x35dcc5;try{const _0x11af93={'userId':this[_0x35d752(0x116)],'logLabel':_0x14cdad,'content':_0x29ea58};this[_0x35d752(0x111)][_0x35d752(0x109)]('/universer-api/frontend/logs',{'body':_0x11af93})[_0x35d752(0x2ab)](()=>{});}catch{}}};_0x245133=_0x3e277b([_0x534ac1(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c['Injector'])),_0x534ac1(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x26a7c0[_0x35dcc5(0x377)])),_0x534ac1(0x2,_0x1acd3c[_0x35dcc5(0x296)]),_0x534ac1(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x1e7)]))],_0x245133);const _0x1b22ef=_0x35dcc5(0x232),_0x444dbe={};var _0x54b66a=Object[_0x35dcc5(0x378)],_0x5f537f=(_0x1fc95f,_0x424823,_0x2ca0ba,_0x31d031)=>{const _0x522ebf=_0x35dcc5;for(var _0x80ec94=_0x31d031>0x1?void 0x0:_0x31d031?_0x54b66a(_0x424823,_0x2ca0ba):_0x424823,_0x4ad92d=_0x1fc95f[_0x522ebf(0x36b)]-0x1,_0x31f8ad;_0x4ad92d>=0x0;_0x4ad92d--)(_0x31f8ad=_0x1fc95f[_0x4ad92d])&&(_0x80ec94=_0x31f8ad(_0x80ec94)||_0x80ec94);return _0x80ec94;},_0x187e8c=(_0x323a51,_0x406256)=>(_0xc46cd5,_0x38ee55)=>_0x406256(_0xc46cd5,_0x38ee55,_0x323a51);let _0x17d59f=class{constructor(_0xfb98ee,_0x5c58a6){const _0x1bf234=_0x35dcc5;this[_0x1bf234(0x2a5)]=_0xfb98ee,this[_0x1bf234(0x19d)]=_0x5c58a6;}['transformIMECache'](_0x492384){this['_transformUndoRedoStack'](_0x492384),this['_transformPreviousActiveRange'](_0x492384);}['transformRemoteChangeset'](_0x538f6e){const _0x4f9242=_0x35dcc5,{unitID:_0x21074f}=_0x538f6e,_0x2c0918=this['_renderManagerService']['getRenderById'](_0x21074f)['with'](_0x4a5890[_0x4f9242(0x28e)]),{redoCache:_0x1b042d}=_0x2c0918[_0x4f9242(0x1fe)]();if(_0x1b042d[_0x4f9242(0x36b)]===0x0)return _0x538f6e;let _0x2bc4b4=_0x1acd3c['Tools'][_0x4f9242(0x107)](_0x538f6e[_0x4f9242(0x356)][0x0]);for(let _0x1bb5c7=0x0;_0x1bb5c7<_0x1b042d[_0x4f9242(0x36b)];_0x1bb5c7++){const _0x1227dd={'id':'doc.mutation.rich-text-editing','params':{..._0x1b042d[_0x1bb5c7]}},_0x46f628=this['_transformService'][_0x4f9242(0x277)](_0x2bc4b4,_0x1227dd,!0x1);if(_0x1d9a86[_0x4f9242(0xd0)](_0x46f628))throw _0x46f628[_0x4f9242(0x36d)];_0x2bc4b4=_0x46f628[_0x4f9242(0x24c)];}return{..._0x1acd3c[_0x4f9242(0x25e)][_0x4f9242(0x107)](_0x538f6e),'mutations':[_0x2bc4b4]};}[_0x35dcc5(0x303)](_0xebad48){const _0x1bdde2=_0x35dcc5,{unitID:_0x1e2a14}=_0xebad48,_0x255972=this[_0x1bdde2(0x19d)][_0x1bdde2(0x1e2)](_0x1e2a14)[_0x1bdde2(0xe0)](_0x4a5890['DocIMEInputManagerService']),{undoCache:_0xf7fcdc,redoCache:_0x15b250}=_0x255972[_0x1bdde2(0x1fe)]();if(_0xf7fcdc[_0x1bdde2(0x36b)]===0x0||_0x15b250['length']===0x0)return;const _0x4623d2=[],_0x188e7b=[];let _0x406cf1=_0x1acd3c[_0x1bdde2(0x25e)][_0x1bdde2(0x107)](_0xebad48[_0x1bdde2(0x356)][0x0]),_0x49d8fb=_0x1acd3c[_0x1bdde2(0x25e)][_0x1bdde2(0x107)](_0xebad48[_0x1bdde2(0x356)][0x0]);for(let _0x2870b2=_0xf7fcdc[_0x1bdde2(0x36b)]-0x1;_0x2870b2>=0x0;_0x2870b2--){const _0x33e7b5={'id':_0x1bdde2(0x2b8),'params':{..._0xf7fcdc[_0x2870b2]}},_0x162824={'id':_0x1bdde2(0x2b8),'params':{..._0x15b250[_0x2870b2]}},_0x46825e=this[_0x1bdde2(0x2a5)][_0x1bdde2(0x277)](_0x406cf1,_0x33e7b5,!0x1),_0xc898d0=this['_transformService'][_0x1bdde2(0x277)](_0x49d8fb,_0x162824,!0x1);if(_0x1d9a86['isTransformMutationFailure'](_0x46825e))throw _0x46825e[_0x1bdde2(0x36d)];if(_0x1d9a86[_0x1bdde2(0xd0)](_0xc898d0))throw _0xc898d0[_0x1bdde2(0x36d)];_0x4623d2['unshift'](_0x46825e[_0x1bdde2(0x167)]['params']),_0x188e7b[_0x1bdde2(0xdd)](_0xc898d0[_0x1bdde2(0x167)][_0x1bdde2(0x164)]),_0x406cf1=_0x46825e[_0x1bdde2(0x24c)],_0x49d8fb=_0xc898d0[_0x1bdde2(0x24c)];}_0x255972[_0x1bdde2(0x151)]({'undoCache':_0x4623d2,'redoCache':_0x188e7b});}['_transformPreviousActiveRange'](_0x2d178b){const _0x27a065=_0x35dcc5,{unitID:_0x3968b0}=_0x2d178b,_0x575cf2=this[_0x27a065(0x19d)][_0x27a065(0x1e2)](_0x3968b0)['with'](_0x4a5890[_0x27a065(0x28e)]),_0x4c934b=_0x575cf2['getActiveRange']();if(_0x4c934b==null)return;const _0x55024b=[{'id':_0x27a065(0x2b8),'params':{'unitId':_0x2d178b[_0x27a065(0x181)],'actions':null,'textRanges':[_0x4c934b]}}],_0x58338b=this['_transformService'][_0x27a065(0x96)](_0x2d178b,_0x55024b);if(!_0x1d9a86[_0x27a065(0x1af)](_0x58338b))throw _0x58338b[_0x27a065(0x36d)];const _0x5c0652=_0x58338b[_0x27a065(0x167)][0x0][_0x27a065(0x164)]['textRanges'];Array[_0x27a065(0x245)](_0x5c0652)&&_0x5c0652[_0x27a065(0x36b)]&&_0x575cf2[_0x27a065(0x30d)](_0x5c0652[0x0]);}};_0x17d59f=_0x5f537f([_0x187e8c(0x0,_0x1d9a86['ITransformService']),_0x187e8c(0x1,_0x4dbd74[_0x35dcc5(0x1f3)])],_0x17d59f);var _0x4b3752=Object[_0x35dcc5(0x378)],_0x62151d=(_0x3e5307,_0x20be16,_0x513529,_0x6a8908)=>{const _0xfb6f49=_0x35dcc5;for(var _0x3ec695=_0x6a8908>0x1?void 0x0:_0x6a8908?_0x4b3752(_0x20be16,_0x513529):_0x20be16,_0x39805f=_0x3e5307[_0xfb6f49(0x36b)]-0x1,_0x4642ad;_0x39805f>=0x0;_0x39805f--)(_0x4642ad=_0x3e5307[_0x39805f])&&(_0x3ec695=_0x4642ad(_0x3ec695)||_0x3ec695);return _0x3ec695;},_0x5351b9=(_0x187928,_0xf4b22c)=>(_0x21129a,_0x4ad56c)=>_0xf4b22c(_0x21129a,_0x4ad56c,_0x187928);let _0x20228f=class{constructor(_0x43e291,_0x53d94a,_0x299148){const _0x545cd2=_0x35dcc5;this[_0x545cd2(0x304)]=_0x43e291,this[_0x545cd2(0x2a5)]=_0x53d94a,this['_docStateChangeManagerService']=_0x299148;}[_0x35dcc5(0xef)](_0x4544c){const _0x2b1bec=_0x35dcc5;this[_0x2b1bec(0x173)](_0x4544c);}[_0x35dcc5(0xb9)](_0xc4b474){const _0x160b47=_0x35dcc5,{unitID:_0x18b5b6}=_0xc4b474,{collaboration:_0x501bf3}=this[_0x160b47(0x10f)][_0x160b47(0x1a0)](_0x18b5b6);if(_0x501bf3[_0x160b47(0x36b)]===0x0)return _0xc4b474;let _0xde331e=_0x1acd3c[_0x160b47(0x25e)]['deepClone'](_0xc4b474[_0x160b47(0x356)][0x0]);for(let _0x47e470=0x0;_0x47e470<_0x501bf3[_0x160b47(0x36b)];_0x47e470++){const _0x3152f5={'id':_0x160b47(0x2b8),'params':{'unitId':_0x501bf3[_0x47e470][_0x160b47(0x334)],..._0x501bf3[_0x47e470][_0x160b47(0x348)]}},_0x27925f=this['_transformService'][_0x160b47(0x277)](_0xde331e,_0x3152f5,!0x1);if(_0x1d9a86[_0x160b47(0xd0)](_0x27925f))throw _0x27925f[_0x160b47(0x36d)];_0xde331e=_0x27925f['m1Prime'];}return{..._0x1acd3c[_0x160b47(0x25e)][_0x160b47(0x107)](_0xc4b474),'mutations':[_0xde331e]};}[_0x35dcc5(0x173)](_0x4d99c5){const _0x2799ab=_0x35dcc5,{unitID:_0x2f24ea}=_0x4d99c5,{history:_0x1960e6,collaboration:_0x121f56}=this[_0x2799ab(0x10f)]['getStateCache'](_0x2f24ea);if(_0x1960e6['length']===0x0&&_0x121f56['length']===0x0)return;const _0x3d5dfc=[],_0x13fa10=[];let _0xa58508=_0x1acd3c[_0x2799ab(0x25e)][_0x2799ab(0x107)](_0x4d99c5['mutations'][0x0]),_0x2dbae0=_0x1acd3c['Tools']['deepClone'](_0x4d99c5[_0x2799ab(0x356)][0x0]);for(let _0x1ad05a=_0x1960e6['length']-0x1;_0x1ad05a>=0x0;_0x1ad05a--){const _0x107bb0={'id':_0x2799ab(0x2b8),'params':{'unitId':_0x1960e6[_0x1ad05a][_0x2799ab(0x334)],..._0x1960e6[_0x1ad05a][_0x2799ab(0xcc)]}},_0x5ba048={'id':_0x2799ab(0x2b8),'params':{'unitId':_0x1960e6[_0x1ad05a][_0x2799ab(0x334)],..._0x1960e6[_0x1ad05a][_0x2799ab(0x348)]}},_0x5b6d99=this[_0x2799ab(0x2a5)][_0x2799ab(0x277)](_0xa58508,_0x107bb0,!0x1),_0x2022b5=this[_0x2799ab(0x2a5)][_0x2799ab(0x277)](_0x2dbae0,_0x5ba048,!0x1);if(_0x1d9a86[_0x2799ab(0xd0)](_0x5b6d99))throw _0x5b6d99['error'];if(_0x1d9a86[_0x2799ab(0xd0)](_0x2022b5))throw _0x2022b5[_0x2799ab(0x36d)];_0x3d5dfc['unshift']({..._0x1960e6[_0x1ad05a],'undoState':_0x5b6d99[_0x2799ab(0x167)][_0x2799ab(0x164)],'redoState':_0x2022b5[_0x2799ab(0x167)][_0x2799ab(0x164)]}),_0xa58508=_0x5b6d99[_0x2799ab(0x24c)],_0x2dbae0=_0x2022b5['m1Prime'];}_0xa58508=_0x1acd3c['Tools'][_0x2799ab(0x107)](_0x4d99c5[_0x2799ab(0x356)][0x0]),_0x2dbae0=_0x1acd3c['Tools'][_0x2799ab(0x107)](_0x4d99c5[_0x2799ab(0x356)][0x0]);for(let _0x21c7c1=_0x121f56['length']-0x1;_0x21c7c1>=0x0;_0x21c7c1--){const _0x1df591={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x121f56[_0x21c7c1][_0x2799ab(0x334)],..._0x121f56[_0x21c7c1][_0x2799ab(0xcc)]}},_0x26cb90={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x121f56[_0x21c7c1]['unitId'],..._0x121f56[_0x21c7c1][_0x2799ab(0x348)]}},_0x3c922c=this[_0x2799ab(0x2a5)][_0x2799ab(0x277)](_0xa58508,_0x1df591,!0x1),_0xecc7e6=this['_transformService'][_0x2799ab(0x277)](_0x2dbae0,_0x26cb90,!0x1);if(_0x1d9a86[_0x2799ab(0xd0)](_0x3c922c))throw _0x3c922c[_0x2799ab(0x36d)];if(_0x1d9a86['isTransformMutationFailure'](_0xecc7e6))throw _0xecc7e6[_0x2799ab(0x36d)];_0x13fa10['unshift']({..._0x121f56[_0x21c7c1],'undoState':_0x3c922c[_0x2799ab(0x167)][_0x2799ab(0x164)],'redoState':_0xecc7e6[_0x2799ab(0x167)][_0x2799ab(0x164)]}),_0xa58508=_0x3c922c[_0x2799ab(0x24c)],_0x2dbae0=_0xecc7e6[_0x2799ab(0x24c)];}this[_0x2799ab(0x10f)]['setStateCache'](_0x2f24ea,{'history':_0x3d5dfc,'collaboration':_0x13fa10});}};_0x20228f=_0x62151d([_0x5351b9(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x5351b9(0x1,_0x1d9a86[_0x35dcc5(0xd9)]),_0x5351b9(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x4a5890['DocStateChangeManagerService']))],_0x20228f);var _0x29884f=Object['getOwnPropertyDescriptor'],_0x5313f3=(_0xece908,_0x314292,_0x13e966,_0x3ae326)=>{const _0x47919c=_0x35dcc5;for(var _0x5c4a8e=_0x3ae326>0x1?void 0x0:_0x3ae326?_0x29884f(_0x314292,_0x13e966):_0x314292,_0x395163=_0xece908[_0x47919c(0x36b)]-0x1,_0x17f7bd;_0x395163>=0x0;_0x395163--)(_0x17f7bd=_0xece908[_0x395163])&&(_0x5c4a8e=_0x17f7bd(_0x5c4a8e)||_0x5c4a8e);return _0x5c4a8e;},_0x258d61=(_0x4f1d6d,_0x31fbd1)=>(_0x1b4cac,_0x596254)=>_0x31fbd1(_0x1b4cac,_0x596254,_0x4f1d6d);let _0x5ca507=class{constructor(_0xbc6ce1,_0x932555){const _0x187970=_0x35dcc5;this[_0x187970(0x304)]=_0xbc6ce1,this[_0x187970(0x2a5)]=_0x932555;}[_0x35dcc5(0x2ec)](_0x5c20b0){const _0x15f3c8=_0x35dcc5;var _0x415b41;const _0x6a1b24=this[_0x15f3c8(0x304)]['get'](_0x3e8285[_0x15f3c8(0x25f)]),_0x1e62c3=(_0x415b41=_0x6a1b24[_0x15f3c8(0x172)]())!=null?_0x415b41:[];if(_0x1e62c3[_0x15f3c8(0x36b)]===0x0)return;const _0xd4d81a=_0x5c20b0[_0x15f3c8(0x181)],_0x3e75b0=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xd4d81a,'actions':null,'textRanges':_0x1e62c3}}],_0x59ae45=this[_0x15f3c8(0x2a5)][_0x15f3c8(0x96)](_0x5c20b0,_0x3e75b0);if(!_0x1d9a86[_0x15f3c8(0x1af)](_0x59ae45))throw _0x59ae45[_0x15f3c8(0x36d)];const _0xba13a1=_0x59ae45[_0x15f3c8(0x167)][0x0]['params'][_0x15f3c8(0x35b)];Array[_0x15f3c8(0x245)](_0xba13a1)&&_0xba13a1['length']&&_0x6a1b24[_0x15f3c8(0x17e)](_0xba13a1,{'unitId':_0xd4d81a,'subUnitId':_0xd4d81a},!0x1);}};_0x5ca507=_0x5313f3([_0x258d61(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x258d61(0x1,_0x1d9a86[_0x35dcc5(0xd9)])],_0x5ca507);var _0x9bafee=Object[_0x35dcc5(0x378)],_0x332f74=(_0x16b4c5,_0x2334ac,_0x351ae6,_0x310cc1)=>{for(var _0x27c17c=_0x310cc1>0x1?void 0x0:_0x310cc1?_0x9bafee(_0x2334ac,_0x351ae6):_0x2334ac,_0x1327ce=_0x16b4c5['length']-0x1,_0xbc999e;_0x1327ce>=0x0;_0x1327ce--)(_0xbc999e=_0x16b4c5[_0x1327ce])&&(_0x27c17c=_0xbc999e(_0x27c17c)||_0x27c17c);return _0x27c17c;},_0x4e87b8=(_0x28b06f,_0x20ce3a)=>(_0x49d3b6,_0x5b969a)=>_0x20ce3a(_0x49d3b6,_0x5b969a,_0x28b06f);let _0x207c0e=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x62406e,_0x297818,_0x2ac3a6,_0x2bc6ae,_0x137388,_0x6f66b0,_0x306c4b,_0x3eba49){const _0x4ebf66=_0x35dcc5;super(),_0x504098(this,'_status$',new _0x52b4d8[(_0x4ebf66(0x2eb))](_0xe836dc[_0x4ebf66(0x283)][_0x4ebf66(0x2c5)])),(this[_0x4ebf66(0x10f)]=_0x62406e,this['_collaborationController']=_0x297818,this[_0x4ebf66(0x156)]=_0x2ac3a6,this['_docTransformStateCacheService']=_0x2bc6ae,this['_docTransformSelectionsService']=_0x137388,this['_docSyncEditingCollabCursorService']=_0x6f66b0,this['_messageService']=_0x306c4b,this[_0x4ebf66(0xaf)]=_0x3eba49,this[_0x4ebf66(0x229)]());}[_0x35dcc5(0x229)](){const _0x5a4449=_0x35dcc5;this[_0x5a4449(0x362)](this[_0x5a4449(0x2c7)][_0x5a4449(0xa9)][_0x5a4449(0xc6)](_0x17060a=>{const _0x39aef2=_0x5a4449,_0x5846d9=this[_0x39aef2(0x10f)][_0x39aef2(0x255)]['subscribe'](_0x335fe6=>{const _0x4e3df1=_0x39aef2;if(_0x335fe6==null)return;const {unitId:_0x4be373,redoState:_0x4e4c81,commandId:_0x31c22e}=_0x335fe6;if(_0x4be373!==_0x17060a['unitID'])return;const _0x25eb28={'id':_0x31c22e,'type':_0x1acd3c[_0x4e3df1(0x9f)][_0x4e3df1(0x174)],'params':{'unitId':_0x4be373,'actions':_0x4e4c81[_0x4e3df1(0xf2)],'textRanges':null}};_0x17060a[_0x4e3df1(0x13a)](_0x25eb28);});if(_0x17060a[_0x39aef2(0x362)](_0x5846d9),_0x17060a instanceof _0xe836dc[_0x39aef2(0x143)]){const _0x20f376={'onTransformIME':_0x4a0b15=>this[_0x39aef2(0x156)][_0x39aef2(0x16b)](_0x4a0b15),'onTransformState':_0x331085=>this['_docTransformStateCacheService'][_0x39aef2(0xef)](_0x331085),'onTransformSelections':_0x7f236d=>this[_0x39aef2(0x20c)][_0x39aef2(0x2ec)](_0x7f236d),'onSyncEditingCollabCursor':_0xa93de3=>this[_0x39aef2(0x11a)][_0x39aef2(0xbb)](_0xa93de3),'onTransformRemoteChangesetByIMECache':_0xc4457a=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0xc4457a),'onTransformRemoteChangesetByStateCache':_0x192522=>this[_0x39aef2(0x161)][_0x39aef2(0xb9)](_0x192522)};_0x17060a[_0x39aef2(0x177)](_0x20f376);}}));}};_0x207c0e=_0x332f74([_0x4e87b8(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x4a5890[_0x35dcc5(0x12b)])),_0x4e87b8(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0xe836dc[_0x35dcc5(0x162)])),_0x4e87b8(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x17d59f)),_0x4e87b8(0x3,_0x1acd3c[_0x35dcc5(0x36c)](_0x20228f)),_0x4e87b8(0x4,_0x1acd3c[_0x35dcc5(0x36c)](_0x5ca507)),_0x4e87b8(0x5,_0x1acd3c[_0x35dcc5(0x36c)](_0x4fc58b)),_0x4e87b8(0x6,_0x3d1085[_0x35dcc5(0x37f)]),_0x4e87b8(0x7,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x10c)]))],_0x207c0e);var _0x5a8da7=(_0x5091d8=>(_0x5091d8[_0x5091d8['UNDEFINED']=0x0]=_0x35dcc5(0x288),_0x5091d8[_0x5091d8['OK']=0x1]='OK',_0x5091d8[_0x5091d8[_0x35dcc5(0x242)]=0x2]='INTERNAL_ERROR',_0x5091d8[_0x5091d8[_0x35dcc5(0xb8)]=0x3]=_0x35dcc5(0xb8),_0x5091d8[_0x5091d8['NOT_FOUND']=0x4]=_0x35dcc5(0x2ae),_0x5091d8[_0x5091d8['UNAUTHENTICATED']=0x5]=_0x35dcc5(0xf6),_0x5091d8[_0x5091d8[_0x35dcc5(0x112)]=0x6]=_0x35dcc5(0x112),_0x5091d8[_0x5091d8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x5091d8[_0x5091d8[_0x35dcc5(0x247)]=0x8]=_0x35dcc5(0x247),_0x5091d8[_0x5091d8['COMPLETION_FINISHED']=0x9]=_0x35dcc5(0x1d4),_0x5091d8[_0x5091d8[_0x35dcc5(0x316)]=0xa]='LOGIN_FAILED',_0x5091d8[_0x5091d8[_0x35dcc5(0x302)]=0xb]=_0x35dcc5(0x302),_0x5091d8[_0x5091d8[_0x35dcc5(0x1ef)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5091d8[_0x5091d8[_0x35dcc5(0xde)]=0xd]=_0x35dcc5(0xde),_0x5091d8[_0x5091d8['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5091d8[_0x5091d8[_0x35dcc5(0x278)]=0xf]=_0x35dcc5(0x278),_0x5091d8[_0x5091d8['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x35dcc5(0xe1),_0x5091d8[_0x5091d8[_0x35dcc5(0x16e)]=0x64]=_0x35dcc5(0x16e),_0x5091d8[_0x5091d8[_0x35dcc5(0x183)]=0x65]=_0x35dcc5(0x183),_0x5091d8[_0x5091d8[_0x35dcc5(0x10a)]=0xc9]='USER_NOT_FOUND',_0x5091d8[_0x5091d8[_0x35dcc5(0x89)]=0xca]=_0x35dcc5(0x89),_0x5091d8[_0x5091d8[_0x35dcc5(0x34b)]=0x1389]=_0x35dcc5(0x34b),_0x5091d8[_0x5091d8[_0x35dcc5(0x366)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5091d8[_0x5091d8[_0x35dcc5(0xae)]=0x1772]=_0x35dcc5(0xae),_0x5091d8[_0x5091d8[_0x35dcc5(0x282)]=0x1773]=_0x35dcc5(0x282),_0x5091d8[_0x5091d8[_0x35dcc5(0x32c)]=0x1b59]='APPLY_REJECT',_0x5091d8[_0x5091d8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5091d8[_0x5091d8[_0x35dcc5(0xca)]=0x1b5b]=_0x35dcc5(0xca),_0x5091d8[_0x5091d8[_0x35dcc5(0xff)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x5091d8[_0x5091d8['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x5091d8[_0x5091d8[_0x35dcc5(0x102)]=0x1f41]=_0x35dcc5(0x102),_0x5091d8[_0x5091d8[_0x35dcc5(0x272)]=0x2329]=_0x35dcc5(0x272),_0x5091d8[_0x5091d8[_0x35dcc5(0x190)]=0x232a]=_0x35dcc5(0x190),_0x5091d8[_0x5091d8[_0x35dcc5(0x28b)]=0x232b]=_0x35dcc5(0x28b),_0x5091d8[_0x5091d8[_0x35dcc5(0x297)]=0x232c]=_0x35dcc5(0x297),_0x5091d8[_0x5091d8[_0x35dcc5(0x2d9)]=0x232d]=_0x35dcc5(0x2d9),_0x5091d8[_0x5091d8[_0x35dcc5(0x31b)]=0x2711]=_0x35dcc5(0x31b),_0x5091d8[_0x5091d8[_0x35dcc5(0x373)]=0x2712]=_0x35dcc5(0x373),_0x5091d8[_0x5091d8[_0x35dcc5(0x215)]=0x2713]=_0x35dcc5(0x215),_0x5091d8[_0x5091d8[_0x35dcc5(0x33f)]=0x2714]=_0x35dcc5(0x33f),_0x5091d8[_0x5091d8[_0x35dcc5(0x2bf)]=0x271a]=_0x35dcc5(0x2bf),_0x5091d8[_0x5091d8['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x35dcc5(0x2b3),_0x5091d8[_0x5091d8[_0x35dcc5(0x2a8)]=0x271c]=_0x35dcc5(0x2a8),_0x5091d8[_0x5091d8[_0x35dcc5(0xea)]=0x271d]=_0x35dcc5(0xea),_0x5091d8[_0x5091d8[_0x35dcc5(0xd3)]=0x271e]=_0x35dcc5(0xd3),_0x5091d8[_0x5091d8[_0x35dcc5(0x333)]=0x271f]=_0x35dcc5(0x333),_0x5091d8[_0x5091d8[_0x35dcc5(0xf3)]=0x2720]=_0x35dcc5(0xf3),_0x5091d8[_0x5091d8['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x35dcc5(0x1a3),_0x5091d8[_0x5091d8['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x35dcc5(0x184),_0x5091d8[_0x5091d8['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x5091d8[_0x5091d8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x35dcc5(0x1ce),_0x5091d8[_0x5091d8['USER_NOT_INVITED_CODE']=0x2ee4]=_0x35dcc5(0x26b),_0x5091d8[_0x5091d8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x35dcc5(0x28d),_0x5091d8[_0x5091d8['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x35dcc5(0x281),_0x5091d8[_0x5091d8['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x35dcc5(0x12f),_0x5091d8[_0x5091d8[_0x35dcc5(0x213)]=0x32cb]=_0x35dcc5(0x213),_0x5091d8[_0x5091d8[_0x35dcc5(0x126)]=0x36b1]=_0x35dcc5(0x126),_0x5091d8[_0x5091d8[_0x35dcc5(0x2bd)]=0x36b2]=_0x35dcc5(0x2bd),_0x5091d8[_0x5091d8[_0x35dcc5(0x2b4)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x5091d8[_0x5091d8[_0x35dcc5(0x175)]=0x36b4]=_0x35dcc5(0x175),_0x5091d8[_0x5091d8[_0x35dcc5(0x2cf)]=0x36b5]=_0x35dcc5(0x2cf),_0x5091d8[_0x5091d8[_0x35dcc5(0x355)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x5091d8[_0x5091d8[_0x35dcc5(0x2e4)]=0x36b7]=_0x35dcc5(0x2e4),_0x5091d8[_0x5091d8['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x35dcc5(0x2d5),_0x5091d8[_0x5091d8['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x35dcc5(0x188),_0x5091d8[_0x5091d8[_0x35dcc5(0x318)]=0x3716]=_0x35dcc5(0x318),_0x5091d8[_0x5091d8[_0x35dcc5(0x2c3)]=0x3717]=_0x35dcc5(0x2c3),_0x5091d8[_0x5091d8['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5091d8[_0x5091d8[_0x35dcc5(0x2c0)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x5091d8[_0x5091d8[_0x35dcc5(0x1b8)]=0x3a9a]=_0x35dcc5(0x1b8),_0x5091d8[_0x5091d8[_0x35dcc5(0x2f4)]=0x3a9b]=_0x35dcc5(0x2f4),_0x5091d8[_0x5091d8[_0x35dcc5(0x2f5)]=0x3a9c]=_0x35dcc5(0x2f5),_0x5091d8[_0x5091d8[_0x35dcc5(0x187)]=0x3a9d]=_0x35dcc5(0x187),_0x5091d8[_0x5091d8[_0x35dcc5(0x217)]=0x3a9e]=_0x35dcc5(0x217),_0x5091d8[_0x5091d8[_0x35dcc5(0x2c8)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5091d8[_0x5091d8['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x35dcc5(0x2fb),_0x5091d8[_0x5091d8[_0x35dcc5(0x134)]=-0x1]=_0x35dcc5(0x134),_0x5091d8))(_0x5a8da7||{});function _0x12ddac(_0xb1c943){const _0xe2a521=_0x35dcc5;var _0xe9783e,_0x3198f6;const _0x251fcb=(_0xe9783e=_0xb1c943[_0xe2a521(0x13f)])==null?void 0x0:_0xe9783e[_0xe2a521(0x29f)],_0x21e216=((_0x3198f6=_0xb1c943[_0xe2a521(0x13f)])==null?void 0x0:_0x3198f6[_0xe2a521(0x16c)])||0x0;return _0x251fcb===_0x5dc12e[_0xe2a521(0x339)][_0xe2a521(0x212)]&&_0x21e216>0x0;}function _0x18ee2b(_0x808c92){const _0x39c6bc=_0x35dcc5;return _0x808c92[_0x39c6bc(0x1cb)]===_0x5dc12e[_0x39c6bc(0x128)][_0x39c6bc(0x169)];}var _0x145cff=Object['getOwnPropertyDescriptor'],_0x444011=(_0x20a42f,_0x10671b,_0xa05792,_0x485647)=>{const _0x5acb64=_0x35dcc5;for(var _0x1b4210=_0x485647>0x1?void 0x0:_0x485647?_0x145cff(_0x10671b,_0xa05792):_0x10671b,_0x5d97be=_0x20a42f[_0x5acb64(0x36b)]-0x1,_0x4b6237;_0x5d97be>=0x0;_0x5d97be--)(_0x4b6237=_0x20a42f[_0x5d97be])&&(_0x1b4210=_0x4b6237(_0x1b4210)||_0x1b4210);return _0x1b4210;},_0x17cba1=(_0x2e1528,_0x427d5d)=>(_0x514b28,_0x1a8678)=>_0x427d5d(_0x514b28,_0x1a8678,_0x2e1528);const _0x31e8dd=_0x35dcc5(0x11f),_0x5ead8b=_0x35dcc5(0x18f),_0x59133d=_0x35dcc5(0x8f);let _0x20acf5=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x503dcb,_0x6fce63,_0x4f64a0,_0x12f728,_0x10eb52,_0x48d9c6,_0x21fe48){const _0x33bbdf=_0x35dcc5;super(),_0x504098(this,_0x33bbdf(0x211),null),_0x504098(this,_0x33bbdf(0x1ad),0x0),_0x504098(this,_0x33bbdf(0x154),0x0),_0x504098(this,_0x33bbdf(0x2a9),[]),_0x504098(this,_0x33bbdf(0x106),0x0),(this[_0x33bbdf(0x15b)]=_0x503dcb,this[_0x33bbdf(0xe6)]=_0x6fce63,this[_0x33bbdf(0x1c2)]=_0x4f64a0,this[_0x33bbdf(0x111)]=_0x12f728,this[_0x33bbdf(0x2ee)]=_0x10eb52,this['_logService']=_0x48d9c6,this[_0x33bbdf(0xaf)]=_0x21fe48,this[_0x33bbdf(0x31f)]());}[_0x35dcc5(0x31f)](){const _0x419e2e=_0x35dcc5;this[_0x419e2e(0x362)](this[_0x419e2e(0xe6)]['beforeCommandExecuted']((_0x49b915,_0xe89e7a)=>{const _0x135180=_0x419e2e;var _0x560c00;if(_0x49b915['id']!==_0x5dc12e['SetFormulaCalculationStartMutation']['id'])return;const _0x5f58c5=_0x49b915[_0x135180(0x164)];if(!this[_0x135180(0x8b)]((_0x560c00=_0x5f58c5[_0x135180(0x1e9)])!=null?_0x560c00:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x135180(0x129)](_0x49b915,_0xe89e7a),this[_0x135180(0xb1)](),new _0x1acd3c['CanceledError']();})),this[_0x419e2e(0x362)](this['_commandService'][_0x419e2e(0x1d7)]((_0x212eb6,_0x40018d)=>{const _0x320d49=_0x419e2e;if(_0x212eb6['id']!==_0x5dc12e['SetFormulaCalculationNotificationMutation']['id'])return;const _0x49cc0b=_0x212eb6[_0x320d49(0x164)];if(_0x12ddac(_0x49cc0b)){const _0x5d699f=_0x1acd3c[_0x320d49(0x23f)]();this['_taskIds'][_0x320d49(0x2c2)](_0x5d699f),this[_0x320d49(0x207)](_0x5d699f);}else{if(_0x18ee2b(_0x49cc0b)&&this[_0x320d49(0x2a9)][_0x320d49(0x36b)]>0x0){const _0x2842be=this[_0x320d49(0x2a9)][_0x320d49(0x2b2)]();this[_0x320d49(0x1a4)](_0x2842be);}}}));}['dispose'](){const _0x35e053=_0x35dcc5;super[_0x35e053(0x381)](),this['_clearPolling'](),this[_0x35e053(0x2a9)]=[],this['_currentUsage']=0x0,this[_0x35e053(0x1ad)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x35dcc5(0x129)](_0x1d2874,_0x4e3b4c){const _0xb62abe=_0x35dcc5;for(let _0x106644=0x0;_0x106644<0x1e;_0x106644++)try{if(await this[_0xb62abe(0x250)](),this[_0xb62abe(0x2ce)]()){this[_0xb62abe(0x258)](_0x1d2874,_0x4e3b4c),this[_0xb62abe(0x15b)][_0xb62abe(0x18a)]({'content':this[_0xb62abe(0xaf)]['t'](_0xb62abe(0x18c)),'type':_0x31b7ea[_0xb62abe(0x1f8)][_0xb62abe(0x246)]});return;}await new Promise(_0xd74af2=>{const _0x4e14ac=_0xb62abe;this[_0x4e14ac(0x211)]=window[_0x4e14ac(0x241)](_0xd74af2,0x3e8);});}catch(_0x14b2c7){this[_0xb62abe(0x94)][_0xb62abe(0x36d)](_0x14b2c7);}this[_0xb62abe(0x15b)][_0xb62abe(0x18a)]({'content':this[_0xb62abe(0xaf)]['t']('formula.calculation.unable'),'type':_0x31b7ea['MessageType'][_0xb62abe(0x308)]});}[_0x35dcc5(0x258)](_0x279498,_0x34f0e3){const _0x18180b=_0x35dcc5;try{this[_0x18180b(0xe6)][_0x18180b(0x23c)](_0x279498['id'],_0x279498[_0x18180b(0x164)],_0x34f0e3);}catch(_0x31abc9){this[_0x18180b(0x94)][_0x18180b(0x36d)](_0x31abc9);}}['_setFormulaLimitStatus'](_0x396753,_0x41feb9){const _0x3246a5=_0x35dcc5;_0x41feb9<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x41feb9,this['_maxFormulaLimit']=Number['parseInt'](_0x396753[_0x3246a5(0x350)]),this[_0x3246a5(0x154)]=Number[_0x3246a5(0xb5)](_0x396753[_0x3246a5(0x239)]));}async[_0x35dcc5(0x207)](_0x1a2a7f){const _0x5ec444=_0x35dcc5;var _0x3e680d,_0x5924dc;const _0x290090=Date['now']();try{const _0x515bf1=((_0x3e680d=this[_0x5ec444(0x1c2)][_0x5ec444(0x14a)](_0xe836dc[_0x5ec444(0x338)]))==null?void 0x0:_0x3e680d[_0x5ec444(0x337)])||_0x5ead8b,_0x2fea2c=(await this[_0x5ec444(0x111)][_0x5ec444(0x109)](_0x515bf1,{'body':JSON[_0x5ec444(0x1b6)]({'taskId':_0x1a2a7f})}))[_0x5ec444(0x279)];if(((_0x5924dc=_0x2fea2c[_0x5ec444(0x36d)])==null?void 0x0:_0x5924dc[_0x5ec444(0xfe)])!==_0x5a8da7['OK'])return;this[_0x5ec444(0x331)](_0x2fea2c[_0x5ec444(0x191)],_0x290090);}catch(_0x2cc754){this[_0x5ec444(0x94)][_0x5ec444(0x36d)](_0x2cc754);}}async[_0x35dcc5(0x250)](_0x3652b2){const _0x33c88d=_0x35dcc5;var _0x17c1c8,_0x22e56c;const _0xed5485=Date[_0x33c88d(0x153)]();try{const _0xcae761=((_0x17c1c8=this[_0x33c88d(0x1c2)]['getConfig'](_0xe836dc[_0x33c88d(0x338)]))==null?void 0x0:_0x17c1c8[_0x33c88d(0x1b4)])||_0x31e8dd,_0x103222=_0x3652b2?_0xcae761+'?taskId='+encodeURIComponent(_0x3652b2):_0xcae761,_0x1cf2c0=(await this[_0x33c88d(0x111)][_0x33c88d(0x343)](_0x103222))['body'];if(((_0x22e56c=_0x1cf2c0[_0x33c88d(0x36d)])==null?void 0x0:_0x22e56c['code'])!==_0x5a8da7['OK'])return;this['_setFormulaLimitStatus'](_0x1cf2c0[_0x33c88d(0x191)],_0xed5485);}catch(_0x1bc394){this[_0x33c88d(0x94)]['error'](_0x1bc394);}}async['_releaseCalculationLimit'](_0x70102d){const _0x1929bc=_0x35dcc5;var _0xa48f97,_0x2704f9;const _0x3b9711=Date['now']();try{const _0x4aa110=((_0xa48f97=this[_0x1929bc(0x1c2)]['getConfig'](_0xe836dc[_0x1929bc(0x338)]))==null?void 0x0:_0xa48f97[_0x1929bc(0x15c)])||_0x59133d,_0x37abc0=(await this[_0x1929bc(0x111)][_0x1929bc(0x109)](_0x4aa110,{'body':JSON[_0x1929bc(0x1b6)]({'taskId':_0x70102d})}))[_0x1929bc(0x279)];if(((_0x2704f9=_0x37abc0[_0x1929bc(0x36d)])==null?void 0x0:_0x2704f9[_0x1929bc(0xfe)])!==_0x5a8da7['OK'])return;this['_setFormulaLimitStatus'](_0x37abc0[_0x1929bc(0x191)],_0x3b9711);}catch(_0x5b54b9){this['_logService'][_0x1929bc(0x36d)](_0x5b54b9);}}[_0x35dcc5(0x2ce)](){const _0x4aa11d=_0x35dcc5;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x4aa11d(0x1ad)]-this[_0x4aa11d(0x154)]>0x0;}[_0x35dcc5(0x27a)](){const _0x429bf2=_0x35dcc5;this[_0x429bf2(0x211)]&&(clearTimeout(this[_0x429bf2(0x211)]),this[_0x429bf2(0x211)]=null);}[_0x35dcc5(0xb1)](){const _0x233779=_0x35dcc5;this['_messageService'][_0x233779(0x18a)]({'content':this[_0x233779(0xaf)]['t'](_0x233779(0x1ae)),'type':_0x31b7ea[_0x233779(0x1f8)][_0x233779(0xb6)]});}[_0x35dcc5(0x8b)](_0x5546ce){const _0xbeee1c=_0x35dcc5;for(const _0x2e0b7b of _0x5546ce){const {unitId:_0x524a46,sheetId:_0x4176bd,range:_0x2b7dc6}=_0x2e0b7b,_0x1430be=this[_0xbeee1c(0x2ee)]['getUnit'](_0x524a46);if(!_0x1430be)continue;const _0x1e4523=_0x1430be[_0xbeee1c(0x14b)](_0x4176bd);if(!_0x1e4523)continue;const _0x577001=_0x1e4523[_0xbeee1c(0x2a4)]();for(let _0x1c2f1c=_0x2b7dc6[_0xbeee1c(0x122)];_0x1c2f1c<=_0x2b7dc6['endRow'];_0x1c2f1c++)for(let _0x37f827=_0x2b7dc6[_0xbeee1c(0x270)];_0x37f827<=_0x2b7dc6[_0xbeee1c(0x13b)];_0x37f827++){const _0x2855f9=_0x577001[_0xbeee1c(0x20a)](_0x1c2f1c,_0x37f827);if(_0x2855f9&&(_0x1acd3c['isFormulaString'](_0x2855f9['f'])||_0x1acd3c[_0xbeee1c(0x286)](_0x2855f9['si'])))return!0x0;}}return!0x1;}};_0x20acf5=_0x444011([_0x17cba1(0x0,_0x1acd3c[_0x35dcc5(0x36c)](_0x3d1085['IMessageService'])),_0x17cba1(0x1,_0x1acd3c[_0x35dcc5(0x27e)]),_0x17cba1(0x2,_0x1acd3c[_0x35dcc5(0x2f1)]),_0x17cba1(0x3,_0x1acd3c['Inject'](_0x26a7c0['HTTPService'])),_0x17cba1(0x4,_0x1acd3c['IUniverInstanceService']),_0x17cba1(0x5,_0x1acd3c[_0x35dcc5(0x296)]),_0x17cba1(0x6,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x10c)]))],_0x20acf5);var _0x40ea6d=Object[_0x35dcc5(0x378)],_0x45bb2a=(_0x4d6f4,_0x317bb6,_0x3cc101,_0x2020b1)=>{const _0x3dc326=_0x35dcc5;for(var _0x3adef0=_0x2020b1>0x1?void 0x0:_0x2020b1?_0x40ea6d(_0x317bb6,_0x3cc101):_0x317bb6,_0x31a209=_0x4d6f4[_0x3dc326(0x36b)]-0x1,_0x5d4a08;_0x31a209>=0x0;_0x31a209--)(_0x5d4a08=_0x4d6f4[_0x31a209])&&(_0x3adef0=_0x5d4a08(_0x3adef0)||_0x3adef0);return _0x3adef0;},_0x4999c5=(_0x40237e,_0x53ad18)=>(_0xa9c299,_0x50a398)=>_0x53ad18(_0xa9c299,_0x50a398,_0x40237e);let _0x125cac=class extends _0x1acd3c['Disposable']{constructor(_0x55e248,_0xb8dd89,_0x2f4edc){const _0x226ec0=_0x35dcc5;super(),_0x504098(this,_0x226ec0(0x35d),new Map()),_0x504098(this,_0x226ec0(0x271),new Map()),_0x504098(this,_0x226ec0(0x2e0),!0x1),(this[_0x226ec0(0x1c2)]=_0x55e248,this['_localStorageService']=_0xb8dd89,this[_0x226ec0(0x240)]=_0x2f4edc);}[_0x35dcc5(0x176)](){const _0x3c3da9=_0x35dcc5;this[_0x3c3da9(0x2e0)]=!0x0;}['enableLocalCache'](){const _0x187fc0=_0x35dcc5;this[_0x187fc0(0x2e0)]=!0x1;}get[_0x35dcc5(0xb2)](){const _0x39b85c=_0x35dcc5;return this[_0x39b85c(0x271)];}[_0x35dcc5(0x381)](){const _0x15b6e0=_0x35dcc5;this[_0x15b6e0(0x317)]()[_0x15b6e0(0x1c3)](()=>super[_0x15b6e0(0x381)]());}async[_0x35dcc5(0xb4)](_0x1dbb80){const _0x23988e=_0x35dcc5;return this[_0x23988e(0x2e0)]?null:this['_localStorageService']['getItem'](_0xe836dc['getLocalCacheKey'](_0x1dbb80));}async[_0x35dcc5(0x86)](_0x59e85d,_0x3a228e){const _0x3ad2c2=_0x35dcc5;return!!this[_0x3ad2c2(0xf5)][_0x3ad2c2(0x345)](_0x59e85d,_0x3a228e);}[_0x35dcc5(0x148)](_0x104cfc,_0x1829a2,_0x4d7529,_0x45137f){const _0x863731=_0x35dcc5,_0x2b5501=this[_0x863731(0x240)][_0x863731(0x218)](_0x104cfc);this[_0x863731(0x35d)][_0x863731(0x375)](_0x104cfc,{'unitID':_0x104cfc,'type':_0x1829a2,'awaitingChangeset':_0x4d7529,'mutations':_0x45137f,'rev':_0x2b5501}),this[_0x863731(0x271)][_0x863731(0x1ba)](_0x104cfc)||this[_0x863731(0x280)](_0x104cfc);}[_0x35dcc5(0x280)](_0x2944fd){const _0x1e67bf=_0x35dcc5,_0x4d1123=this[_0x1e67bf(0xe2)]();_0x4d1123===0x0?this[_0x1e67bf(0x147)](_0x2944fd):this[_0x1e67bf(0x271)]['set'](_0x2944fd,setTimeout(()=>this[_0x1e67bf(0x147)](_0x2944fd),_0x4d1123));}[_0x35dcc5(0xe2)](){const _0x49dbae=_0x35dcc5;var _0x5c5613;return(_0x5c5613=this['_configService'][_0x49dbae(0x14a)](_0xe836dc[_0x49dbae(0x1c0)]))!=null?_0x5c5613:_0xe836dc['LOCAL_CACHE_INTERVAL'];}[_0x35dcc5(0x147)](_0x51598b){const _0x5a800d=_0x35dcc5,_0xe752a6=this[_0x5a800d(0x271)][_0x5a800d(0x343)](_0x51598b);return _0xe752a6!==void 0x0&&window[_0x5a800d(0x248)](_0xe752a6),this['_localStorageService'][_0x5a800d(0x345)](_0xe836dc[_0x5a800d(0x243)](_0x51598b),this[_0x5a800d(0x35d)][_0x5a800d(0x343)](_0x51598b))[_0x5a800d(0x1c3)](()=>this['_saveTaskMap']['delete'](_0x51598b));}async[_0x35dcc5(0x317)](){const _0x54ec7a=_0x35dcc5,_0x551e14=[];this[_0x54ec7a(0x271)][_0x54ec7a(0x9a)]((_0x3a8eaa,_0x306105)=>{const _0x4bf6c1=_0x54ec7a;window['clearTimeout'](_0x3a8eaa),_0x551e14[_0x4bf6c1(0x2c2)](this['_saveCache'](_0x306105)[_0x4bf6c1(0x1c3)](()=>{this['_saveTaskMap']['delete'](_0x306105);}));}),await Promise[_0x54ec7a(0xb7)](_0x551e14);}};_0x125cac=_0x45bb2a([_0x4999c5(0x0,_0x1acd3c[_0x35dcc5(0x2f1)]),_0x4999c5(0x1,_0x1acd3c[_0x35dcc5(0x29e)]),_0x4999c5(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x1d9a86[_0x35dcc5(0x26f)]))],_0x125cac);class _0x1e34fb extends _0x1acd3c['RxDisposable']{constructor(){const _0x4b7440=_0x35dcc5;super(),_0x504098(this,_0x4b7440(0xec)),this['urlChange$']=_0x52b4d8[_0x4b7440(0x237)](window,'popstate')[_0x4b7440(0x22a)](_0x52b4d8[_0x4b7440(0xa7)](this['dispose$']),_0x52b4d8[_0x4b7440(0x113)](0x1),_0x52b4d8[_0x4b7440(0x105)](void 0x0));}[_0x35dcc5(0x130)](_0x450c8e,_0x1024af,_0x8af0bf=!0x1){const _0x493935=_0x35dcc5,_0x1daf00=new URL(window[_0x493935(0x196)][_0x493935(0x37e)]);_0x1daf00[_0x493935(0x1bb)][_0x493935(0x375)](_0x450c8e,_0x1024af),_0x8af0bf?window['history'][_0x493935(0x361)]('','',_0x1daf00[_0x493935(0x327)]()):window[_0x493935(0x23e)][_0x493935(0xf1)]('','',_0x1daf00[_0x493935(0x327)]());}[_0x35dcc5(0x189)](_0x27c293,_0x5680c2=!0x1){const _0x46966a=_0x35dcc5,_0x3b5c63=new URL(window[_0x46966a(0x196)][_0x46966a(0x37e)]);_0x3b5c63[_0x46966a(0x1bb)]['delete'](_0x27c293),_0x5680c2?window[_0x46966a(0x23e)][_0x46966a(0x361)]('','',_0x3b5c63[_0x46966a(0x327)]()):window[_0x46966a(0x23e)][_0x46966a(0xf1)]('','',_0x3b5c63[_0x46966a(0x327)]());}[_0x35dcc5(0x1a2)](_0x36e2f0){const _0x3c4c47=_0x35dcc5;var _0x96a641;return(_0x96a641=new URL(window['location']['href'])[_0x3c4c47(0x1bb)][_0x3c4c47(0x343)](_0x36e2f0))!=null?_0x96a641:void 0x0;}}var _0x52ee2e=Object[_0x35dcc5(0x2a2)],_0x4ac457=Object[_0x35dcc5(0x378)],_0x1929cc=(_0x271e52,_0x1ba97a,_0x4ffa02)=>_0x1ba97a in _0x271e52?_0x52ee2e(_0x271e52,_0x1ba97a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4ffa02}):_0x271e52[_0x1ba97a]=_0x4ffa02,_0x4cc86e=(_0x564b07,_0x39075,_0x3eddef,_0x2a6e86)=>{const _0x1563d2=_0x35dcc5;for(var _0x165616=_0x2a6e86>0x1?void 0x0:_0x2a6e86?_0x4ac457(_0x39075,_0x3eddef):_0x39075,_0x2fe4db=_0x564b07[_0x1563d2(0x36b)]-0x1,_0x4ca8bd;_0x2fe4db>=0x0;_0x2fe4db--)(_0x4ca8bd=_0x564b07[_0x2fe4db])&&(_0x165616=_0x4ca8bd(_0x165616)||_0x165616);return _0x165616;},_0x50e127=(_0x21d00a,_0x81cd2e)=>(_0x2d01da,_0x2f8d02)=>_0x81cd2e(_0x2d01da,_0x2f8d02,_0x21d00a),_0x566736=(_0x564135,_0x1b33d4,_0x41401c)=>_0x1929cc(_0x564135,_0x1b33d4+'',_0x41401c);const _0x1c2b55=_0x35dcc5(0x25d);_0x94c2a0['UniverCollaborationClientUIPlugin']=class extends _0x1acd3c[_0x35dcc5(0x1c6)]{constructor(_0x4e4a58=_0x444dbe,_0x154b31,_0x12bc4d,_0x379a5d){const _0x44df97=_0x35dcc5;super(),this[_0x44df97(0x12d)]=_0x4e4a58,this['_renderManagerService']=_0x154b31,this[_0x44df97(0x304)]=_0x12bc4d,this[_0x44df97(0x1c2)]=_0x379a5d;const {..._0x1cd192}=_0x1acd3c['merge']({},_0x444dbe,this['_config']);this[_0x44df97(0x1c2)][_0x44df97(0x22c)](_0x1b22ef,_0x1cd192);}[_0x35dcc5(0x293)](){const _0x182af7=_0x35dcc5;this['_registerDependencies'](),this[_0x182af7(0x93)]();}[_0x35dcc5(0x274)](){const _0x55dfd2=_0x35dcc5;this[_0x55dfd2(0x2b6)]();}[_0x35dcc5(0x300)](){const _0x15d88f=_0x35dcc5;var _0x362aae;const _0x16cedb=[[_0x2ecc79],[_0x20acf5],[_0x5ca507],[_0x17d59f],[_0x20228f],[_0x4fc58b],[_0x47bc3f,{'useClass':_0x1e34fb}],[_0x26a7c0[_0x15d88f(0x340)],{'useClass':_0x26a7c0['WebSocketService']}],[_0xe836dc[_0x15d88f(0x1d6)],{'useClass':_0x125cac}],[_0x94c2a0[_0x15d88f(0x34a)]],[_0x207c0e],[_0x56f72a],[_0x224c41],[_0x774444],[_0x94c2a0['CollaborationDataLoaderController']]];this['_config'][_0x15d88f(0x265)]&&_0x16cedb[_0x15d88f(0x2c2)]([_0x245133]),_0x1acd3c['registerDependencies'](this[_0x15d88f(0x304)],_0x1acd3c['mergeOverrideWithDependencies'](_0x16cedb,(_0x362aae=this[_0x15d88f(0x12d)])==null?void 0x0:_0x362aae[_0x15d88f(0x12e)]));}[_0x35dcc5(0x2b6)](){const _0x2f950b=_0x35dcc5;this[_0x2f950b(0x362)](this[_0x2f950b(0x19d)][_0x2f950b(0x210)](_0x1acd3c[_0x2f950b(0x8d)][_0x2f950b(0x1b2)],[_0x2a51ff])),this[_0x2f950b(0x362)](this[_0x2f950b(0x19d)]['registerRenderModule'](_0x1acd3c[_0x2f950b(0x8d)][_0x2f950b(0x97)],[_0x4f2b9e]));}['_initDependencies'](){const _0x430ff1=_0x35dcc5;_0x1acd3c['touchDependencies'](this[_0x430ff1(0x304)],[[_0x224c41],[_0x94c2a0[_0x430ff1(0x34a)]],[_0x207c0e],[_0x56f72a],[_0x94c2a0[_0x430ff1(0xdc)]],[_0x20acf5]]),this[_0x430ff1(0x12d)][_0x430ff1(0x265)]&&_0x1acd3c[_0x430ff1(0x1c5)](this['_injector'],[[_0x245133]]);}},_0x566736(_0x94c2a0['UniverCollaborationClientUIPlugin'],_0x35dcc5(0x294),_0x1c2b55),_0x94c2a0[_0x35dcc5(0x180)]=_0x4cc86e([_0x1acd3c[_0x35dcc5(0xee)](_0xe836dc[_0x35dcc5(0x29c)]),_0x50e127(0x1,_0x4dbd74[_0x35dcc5(0x1f3)]),_0x50e127(0x2,_0x1acd3c[_0x35dcc5(0x36c)](_0x1acd3c[_0x35dcc5(0x11b)])),_0x50e127(0x3,_0x1acd3c[_0x35dcc5(0x2f1)])],_0x94c2a0[_0x35dcc5(0x180)]);var _0x3aba60=Object[_0x35dcc5(0x378)],_0x53105c=(_0x444123,_0x2ea1ff,_0x4955fd,_0x5e0c89)=>{const _0x2b6598=_0x35dcc5;for(var _0x45ba30=_0x5e0c89>0x1?void 0x0:_0x5e0c89?_0x3aba60(_0x2ea1ff,_0x4955fd):_0x2ea1ff,_0x2704bf=_0x444123[_0x2b6598(0x36b)]-0x1,_0x4f1eb5;_0x2704bf>=0x0;_0x2704bf--)(_0x4f1eb5=_0x444123[_0x2704bf])&&(_0x45ba30=_0x4f1eb5(_0x45ba30)||_0x45ba30);return _0x45ba30;},_0x5ca938=(_0x917fff,_0x599eff)=>(_0x3842e9,_0x4f5c2c)=>_0x599eff(_0x3842e9,_0x4f5c2c,_0x917fff);_0x94c2a0[_0x35dcc5(0x227)]=class extends _0xe836dc[_0x35dcc5(0x30e)]{constructor(_0x23f50a,_0x1316bd,_0x27b434,_0x6c59c5,_0x2a59d7){super(_0x23f50a,_0x1316bd,_0x27b434,_0x6c59c5,_0x2a59d7);}async[_0x35dcc5(0x2ca)](_0x2e9afb){const _0x279329=_0x35dcc5,_0x1f4a0f=await this[_0x279329(0x379)](),_0x282a04=this['_createSocketURL'](_0x2e9afb,_0x1f4a0f);return this[_0x279329(0x19e)](_0x282a04);}['_createSocketURL'](_0x49a899,_0x19f627){const _0x15268e=_0x35dcc5,_0x11b131=typeof window>'u'?new URL(_0x49a899):new URL(_0x49a899,window[_0x15268e(0x196)][_0x15268e(0x2f6)]);_0x11b131[_0x15268e(0x1bb)][_0x15268e(0x375)](_0x15268e(0xaa),_0x19f627);const _0x305bd1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x15268e(0x196)][_0x15268e(0x95)]);return _0x305bd1['get']('runId')&&_0x11b131[_0x15268e(0x1bb)]['set'](_0x15268e(0x349),_0x305bd1['get']('runId')),_0x11b131['toString']();}async['_getSessionTicket'](){const _0x3cd31b=_0x35dcc5;var _0x36d5dd,_0x3b50bd,_0x1deb33;const _0x3826fb=this[_0x3cd31b(0x1c2)][_0x3cd31b(0x14a)](_0xe836dc[_0x3cd31b(0x338)]),_0x44d20d=(_0x36d5dd=_0x3826fb==null?void 0x0:_0x3826fb['wsSessionTicketUrl'])!=null?_0x36d5dd:_0xe836dc[_0x3cd31b(0x14d)];return(_0x1deb33=(_0x3b50bd=(await this[_0x3cd31b(0x111)]['get'](_0x44d20d,{'headers':{'Content-Type':_0x3cd31b(0xc0)}}))[_0x3cd31b(0x279)])==null?void 0x0:_0x3b50bd['ticket'])!=null?_0x1deb33:'';}},_0x94c2a0[_0x35dcc5(0x227)]=_0x53105c([_0x5ca938(0x0,_0x1acd3c['Inject'](_0x1acd3c[_0x35dcc5(0x11b)])),_0x5ca938(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x26a7c0[_0x35dcc5(0x377)])),_0x5ca938(0x2,_0x1acd3c[_0x35dcc5(0x2f1)]),_0x5ca938(0x3,_0x1acd3c['ILogService']),_0x5ca938(0x4,_0x1d9a86['ISnapshotServerService'])],_0x94c2a0[_0x35dcc5(0x227)]);var _0x56d996=Object[_0x35dcc5(0x378)],_0x5c877c=(_0x53013f,_0x491019,_0x4849f6,_0x4ba3d)=>{const _0x22977a=_0x35dcc5;for(var _0x5b6665=_0x4ba3d>0x1?void 0x0:_0x4ba3d?_0x56d996(_0x491019,_0x4849f6):_0x491019,_0x110c9d=_0x53013f[_0x22977a(0x36b)]-0x1,_0x518de7;_0x110c9d>=0x0;_0x110c9d--)(_0x518de7=_0x53013f[_0x110c9d])&&(_0x5b6665=_0x518de7(_0x5b6665)||_0x5b6665);return _0x5b6665;},_0x188c3e=(_0x269a3b,_0x116ac0)=>(_0x432792,_0x4eea32)=>_0x116ac0(_0x432792,_0x4eea32,_0x269a3b);_0x94c2a0[_0x35dcc5(0xbc)]=class extends _0x1acd3c[_0x35dcc5(0x208)]{constructor(_0x857cc2,_0x18bf5f,_0x5e5746){const _0x2e3c06=_0x35dcc5;super(),this[_0x2e3c06(0x209)]=_0x857cc2,this[_0x2e3c06(0x111)]=_0x18bf5f,this[_0x2e3c06(0x1c2)]=_0x5e5746;}async[_0x35dcc5(0x26d)](_0x5c9c32,_0x409e09,_0x26824d,..._0x4c84b3){const _0x3069a4=_0x35dcc5;var _0x3f33cd,_0x240ceb,_0x59cae3,_0x301327;const _0x5008b6=this[_0x3069a4(0x209)][_0x3069a4(0x21c)]();if(!_0x5008b6)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1698d4=((_0x3f33cd=this[_0x3069a4(0x1c2)]['getConfig'](_0xe836dc[_0x3069a4(0xd7)]))!=null?_0x3f33cd:_0xe836dc[_0x3069a4(0xdf)])+'/'+_0x5c9c32+'/run/'+_0x409e09,_0x114695=new URL(window[_0x3069a4(0x196)][_0x3069a4(0x37e)]),_0x408cde={'scriptId':_0x5c9c32,'runId':(_0x240ceb=_0x114695['searchParams'][_0x3069a4(0x343)](_0x3069a4(0x349)))!=null?_0x240ceb:'','function':_0x409e09,'unitId':_0x5008b6[_0x3069a4(0x2cb)](),'argsOfFunction':JSON[_0x3069a4(0x1b6)](_0x4c84b3),'invokeId':(_0x59cae3=_0x26824d[_0x3069a4(0x32e)])!=null?_0x59cae3:'','executionId':(_0x301327=_0x26824d[_0x3069a4(0x2e1)])!=null?_0x301327:''};try{const _0x1aaa83=await this[_0x3069a4(0x111)]['post'](_0x1698d4,{'body':_0x408cde});return _0x1aaa83[_0x3069a4(0x279)][_0x3069a4(0x36d)]&&_0x1aaa83['body'][_0x3069a4(0x36d)][_0x3069a4(0xfe)]!==_0x5a8da7['OK']?'Failed':_0x1aaa83['body'][_0x3069a4(0x19c)];}catch{return'Failed';}}},_0x94c2a0[_0x35dcc5(0xbc)]=_0x5c877c([_0x188c3e(0x0,_0x1acd3c[_0x35dcc5(0x329)]),_0x188c3e(0x1,_0x1acd3c[_0x35dcc5(0x36c)](_0x26a7c0[_0x35dcc5(0x377)])),_0x188c3e(0x2,_0x1acd3c[_0x35dcc5(0x2f1)])],_0x94c2a0['RemoteUniscriptService']);const _0x2f5fd9=0x7530,_0x366a5e=_0x35dcc5(0x33d);class _0x11f82a extends _0x1acd3c['Disposable']{constructor(){const _0x583cc2=_0x35dcc5;super(),_0x504098(this,'_id',_0x1acd3c[_0x583cc2(0x23f)]()),_0x504098(this,_0x583cc2(0x152),new Set()),_0x504098(this,_0x583cc2(0x221),new Map()),_0x504098(this,_0x583cc2(0x364),null),_0x504098(this,'_clearOtherTimers',new Map()),_0x504098(this,_0x583cc2(0x117),new Map()),this[_0x583cc2(0x216)]();}[_0x35dcc5(0x381)](){const _0x12c66d=_0x35dcc5;super[_0x12c66d(0x381)](),this['_clearOtherTimers']['forEach']((_0xb4198f,_0x18c534)=>this[_0x12c66d(0x2db)](_0x18c534)),this[_0x12c66d(0x364)]&&window[_0x12c66d(0x244)](this[_0x12c66d(0x364)]);}[_0x35dcc5(0x354)](_0x2a6e88){const _0x1af53d=_0x35dcc5;return this[_0x1af53d(0x90)](_0x2a6e88)[_0x1af53d(0x22a)](_0x52b4d8[_0x1af53d(0x266)]());}[_0x35dcc5(0x2e7)](_0x2c2aa1){const _0x594b46=_0x35dcc5;this[_0x594b46(0x152)][_0x594b46(0x9b)]===0x0&&this[_0x594b46(0x119)](),this[_0x594b46(0x152)][_0x594b46(0x2fc)](_0x2c2aa1),this['_send']({'type':0x0,'memberID':this[_0x594b46(0x12c)],'unitIDs':[_0x2c2aa1],'isForwarded':!0x1});}[_0x35dcc5(0x1d1)](_0x1040f3){const _0x1b0db3=_0x35dcc5;this[_0x1b0db3(0x152)][_0x1b0db3(0x2bb)](_0x1040f3),this[_0x1b0db3(0x152)][_0x1b0db3(0x9b)]===0x0&&this[_0x1b0db3(0x364)]&&window[_0x1b0db3(0x244)](this['_heartbeatTimer']);}[_0x35dcc5(0x216)](){const _0x195d4d=_0x35dcc5;this[_0x195d4d(0x362)](_0x1acd3c[_0x195d4d(0x31a)](_0x52b4d8['fromEvent'](window,_0x195d4d(0x259))[_0x195d4d(0xc6)](_0x31c8b5=>{const _0x6e64b0=_0x195d4d;if(_0x31c8b5[_0x6e64b0(0x2b1)]!==_0x366a5e||!_0x31c8b5[_0x6e64b0(0xd5)])return;const _0x55f791=JSON[_0x6e64b0(0x325)](_0x31c8b5[_0x6e64b0(0xd5)]);this[_0x6e64b0(0x1ec)](_0x55f791);}))),window[_0x195d4d(0x374)](_0x195d4d(0x11d),()=>this[_0x195d4d(0x9e)]({'type':0x1,'memberID':this[_0x195d4d(0x12c)],'unitIDs':Array[_0x195d4d(0x29a)](this[_0x195d4d(0x152)])}));}[_0x35dcc5(0x1ec)](_0x3baab5){const _0x510de9=_0x35dcc5;switch(_0x3baab5['type']){case 0x0:this[_0x510de9(0xcb)](_0x3baab5);break;case 0x1:this[_0x510de9(0x1a6)](_0x3baab5);break;case 0x2:this[_0x510de9(0x33c)](_0x3baab5);break;}}['_handleJoinEvent'](_0x3528da){const _0x6b1cf3=_0x35dcc5,{unitIDs:_0x4858ca,memberID:_0x5b7675,isForwarded:_0x3af1c7}=_0x3528da;_0x4858ca[_0x6b1cf3(0x9a)](_0x4b5200=>{const _0x6f7a01=_0x6b1cf3;if(!_0x3af1c7&&this[_0x6f7a01(0x221)][_0x6f7a01(0x1ba)](_0x4b5200)&&this[_0x6f7a01(0x90)](_0x4b5200)[_0x6f7a01(0xba)](_0xe836dc[_0x6f7a01(0x15d)][_0x6f7a01(0x157)]),!this[_0x6f7a01(0x221)][_0x6f7a01(0x1ba)](_0x4b5200)||!this[_0x6f7a01(0x221)][_0x6f7a01(0x343)](_0x4b5200)[_0x6f7a01(0x1ba)](_0x5b7675)){const _0x52a8ca=this[_0x6f7a01(0x221)][_0x6f7a01(0x343)](_0x4b5200)||new Set();_0x52a8ca['add'](_0x5b7675),this[_0x6f7a01(0x221)][_0x6f7a01(0x375)](_0x4b5200,_0x52a8ca),this[_0x6f7a01(0x23d)](_0x5b7675);}}),_0x3af1c7||this[_0x6b1cf3(0x9e)]({'type':0x0,'memberID':this[_0x6b1cf3(0x12c)],'unitIDs':[...this[_0x6b1cf3(0x152)]],'isForwarded':!0x0});}[_0x35dcc5(0x23d)](_0x4c946d){const _0x1ebc1e=_0x35dcc5;this[_0x1ebc1e(0x2db)](_0x4c946d);const _0xd77ba5=window[_0x1ebc1e(0x241)](()=>{const _0x3702ce=_0x1ebc1e;this['_unitOnClients'][_0x3702ce(0x9a)](_0x3cd8c0=>{_0x3cd8c0['delete'](_0x4c946d);});},_0x2f5fd9*0x2);this['_clearOtherTimers'][_0x1ebc1e(0x375)](_0x4c946d,_0xd77ba5);}[_0x35dcc5(0x2db)](_0xe9adde){const _0x2456ff=_0x35dcc5;if(this[_0x2456ff(0x1e4)][_0x2456ff(0x1ba)](_0xe9adde)){const _0x242832=this[_0x2456ff(0x1e4)][_0x2456ff(0x343)](_0xe9adde);_0x242832&&window[_0x2456ff(0x248)](_0x242832),this['_clearOtherTimers'][_0x2456ff(0x375)](_0xe9adde,null);}}[_0x35dcc5(0x1a6)](_0x3f78ae){const _0x56f86d=_0x35dcc5,{memberID:_0xc3fa,unitIDs:_0x3281a9}=_0x3f78ae;_0x3281a9[_0x56f86d(0x9a)](_0x3e61bc=>{const _0x388f00=_0x56f86d;var _0xd3f08e;const _0x3eaff5=this['_unitOnClients'][_0x388f00(0x343)](_0x3e61bc);_0x3eaff5&&(_0x3eaff5[_0x388f00(0x2bb)](_0xc3fa),(_0xd3f08e=this['_ensureSubject'](_0x3e61bc))==null||_0xd3f08e[_0x388f00(0xba)](_0x3eaff5['size']===0x0?_0xe836dc[_0x388f00(0x15d)][_0x388f00(0x323)]:_0xe836dc[_0x388f00(0x15d)]['OTHER_CLIENTS_EDITING']));}),this[_0x56f86d(0x2db)](_0xc3fa);}[_0x35dcc5(0x33c)](_0x4e7375){const _0x158e7d=_0x35dcc5;this[_0x158e7d(0x23d)](_0x4e7375['memberID']);}[_0x35dcc5(0x9e)](_0x248845){const _0x4dad4e=_0x35dcc5;localStorage[_0x4dad4e(0x345)](_0x366a5e,JSON[_0x4dad4e(0x1b6)](_0x248845));}[_0x35dcc5(0x119)](){const _0x5cbab4=_0x35dcc5;this[_0x5cbab4(0x364)]=window[_0x5cbab4(0x146)](()=>{const _0x27ac44=_0x5cbab4;this[_0x27ac44(0x9e)]({'type':0x2,'memberID':this[_0x27ac44(0x12c)]});},_0x2f5fd9);}[_0x35dcc5(0x90)](_0x10deaf){const _0x5cdd47=_0x35dcc5;return this[_0x5cdd47(0x117)][_0x5cdd47(0x1ba)](_0x10deaf)||this[_0x5cdd47(0x117)][_0x5cdd47(0x375)](_0x10deaf,new _0x52b4d8[(_0x5cdd47(0x2eb))](_0xe836dc[_0x5cdd47(0x15d)][_0x5cdd47(0x323)])),this['_unitStatus'][_0x5cdd47(0x343)](_0x10deaf);}}_0x94c2a0[_0x35dcc5(0x2a0)]=_0x47bc3f,_0x94c2a0[_0x35dcc5(0xc8)]=_0x17cc8b,_0x94c2a0[_0x35dcc5(0x314)]=_0x11f82a,_0x94c2a0[_0x35dcc5(0x2c1)]=_0x1e34fb,Object['defineProperty'](_0x94c2a0,Symbol[_0x35dcc5(0x14c)],{'value':_0x35dcc5(0x204)});}));function _0x3f7c(){const _0xeb7894=['CollaborationUIEventId','CONFLICT','[Unhandled\x20Rejection]:\x20','getUndoRedoMutationParamsCache','createInstance','_draw','resize','onPointerEnter$','@univerjs/rpc','Module','drawWith','_updateLocalCursor','_startCalculationLimit','Disposable','_instanceService','getValue','assignAColorForMemberID','_docTransformSelectionsService','arc','UniverIcon','_onCursorUpdate','registerRenderModule','_pollingInterval','START_CALCULATION','EMAIL_HAS_BEEN_BOUND','throttleTime','YUUMI_RATE_OVER_LIMIT','_init','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getCurrentRevOfUnit','restore','Unknown\x20user','useDependency','getFocusedUnit','bind','url(#off-line-icon_clip0_910_343)','_range','Optional','_unitOnClients','_name','_onRefRangeChange','isActive','getTypeOfUnitAdded$','_uiPartsService','BrowserCollaborationSocketService','div','_initEntityListener','pipe','NodePositionConvertToRectRange','setConfig','Warning','ranges','OnLineIcon','ColorKit','selection','collaboration-client-ui.config','uni.network.url-service','HEADER_MENU','_textBubble','clsx','fromEvent','_session','currentUsage','RemoveColCommandId','_initWindowErrorListener','executeCommand','_scheduleClearOtherTimer','history','generateRandomId','_revisionService','setTimeout','INTERNAL_ERROR','getLocalCacheKey','clearInterval','isArray','Success','TOO_MANY_REQUESTS','clearTimeout','getVpScrollXYInfoByPosToVp','collabStatus.notCollab','Vector2','m1Prime','TRANSFORM_CHANGE_OBSERVABLE_TYPE','UniverDrawing','_cursorShapes','_getFormulaLimitStatus','range','colorChannel1','RefRangeService','tag','docStateChange$','toRgbString','setAlpha','_applyCommand','storage','handleDeleteRangeMoveUp','black','handleIRemoveRow','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Tools','DocSelectionManagerService','SetWorksheetActivateCommand','NodePositionConvertToCursor','sessionStatus$','some','UniverDocs','enableFrontendLog','distinctUntilChanged','defIds','getActiveSheet','complete','UniverUi','USER_NOT_INVITED_CODE','fromEventSubject','runOnServer','clipPath','RevisionService','startColumn','_saveTaskMap','LICENSE_MAX_UNITS_EXCEEDED','_initStatusListener','onRendered','_backgroundColor','runRefRangeMutations','transformMutation','AUTHORIZE_CODE_ILLEGAL','body','_clearPolling','unsubscribe','color','UniverEngineFormula','ICommandService','session.collaboration-timeout','_scheduleSaving','WECHAT_HAS_BEEN_BOUND','ENSURE_SNAPSHOT_EXECUTION','CollaborationStatus','getTypeOfUnitDisposed$','registerRefRange','isFormulaId','debounceTime','UNDEFINED','collabStatus.fetchMiss','_initUnhandledRejectionListener','LICENSE_IMPORT_SIZE_EXCEEDED','SessionStatus','INVITE_CODE_ALREADY_BOUND','DocIMEInputManagerService','bottom','serializeRangeWithSheet','getCurrent','_color','onStarting','pluginName','RichTextEditingMutation','ILogService','LICENSE_EXPORT_SIZE_EXCEEDED','_onCursorDelete','getOffsetConfig','from','@univerjs/sheets','UniverCollaborationClientPlugin','collabStatus.conflict','ILocalStorageService','stage','IURLService','xlink:href','defineProperty','subunit','getCellMatrix','_transformService','DocSkeletonManagerService','red.300','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_taskIds','currentColor','catch','getColor','getCellPositionByOffset','NOT_FOUND','_hovered','stack','key','shift','YUUMI_ASYNCIO_CANCELLED','ENTITLE_DUP_SUBSCRIPTION','_refreshCollabCursors','_registerRenderDependencies','collabStatus.offline','doc.mutation.rich-text-editing','_initUserListener','cursorInfo','delete','UniverProCollaborationClientUi','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_toggleOnline','YUUMI_NO_CUBOID_FOR_QUESTION','REDEMPTION_INVALID_CODE','WebURLService','push','ENTITLE_INSUFFICIENT_QUOTA','roomMembers$','NOT_COLLAB','addObject','_collaborationController','REDEMPTION_CODE_HAS_BEEN_CREATED','requireSession','createSocket','getUnitId','_collabCursorState$','hovered','_checkCalculationAvailable','ENTITLE_INVALID_COUPON_CODE','6926328BokcXJ','4911025THFfNP','jsx','_initEvent','transformByState','ENTITLE_USE_COUPON_NOT_1ST_TRADE','replace','addClipboardHook','fillText','LICENSE_DISTRO_REJECTED','AWAITING','_removeClearOtherTimer','_collaborationUIEventService','skeleton','makeDirty','_assignedColors','_disabled','executionId','PENDING','@univerjs-pro/collaboration-client','ENTITLE_COUPON_USED_UP','_uploadLog','object','editingUnit','763930OAmBjC','filter','_collabSessionService','BehaviorSubject','transformSelections','labelPosition','_univerInstanceService','collab-client.tooltip.reconnect','find','IConfigService','USERS_LEAVE','getViewport','REDEMPTION_CODE_FULLY_REDEEMED','REDEMPTION_CODE_NOT_STARTED','origin','_imageIoService','onPointerLeave$','dispose$','_hover','DATA_SOURCE_TOO_LARGE','add','path','6924sbCVcu','session.will-retry','_registerDependencies','COLORS','MOBILE_VERIFY_CODE_MISMATCH','_transformUndoRedoStack','_injector','SetDocZoomRatioOperation','random','TEXT_RANGE_LAYER_INDEX','Error','@univerjs/engine-render','UniverProCollaborationClient','Workbook','imageSourceType','setActiveRange','CollaborationSocketService','none','purple.300','width','_roomMembers$','handleIRemoveCol','WebBrowserSingleActiveUnitService','source','LOGIN_FAILED','exhaustSavingTask','ENTITLE_REPORT_LIMIT_EXCEED','attrs','toDisposable','YUUMI_UNABLE_LOAD_URL','_updateCollabCursors','column','onTransformChange$','_initCommandInterceptor','selections','triggerDblclick','_toggleOffline','NO_OTHER_CLIENTS_EDITING','_setupBeforeClosingHandler','parse','_eventUnsubscribe','toString','_handleHover','IUniverInstanceService','createElement','entries','APPLY_REJECT','_drawRectRange','invokeId','send','_notificationService','_setFormulaLimitStatus','FETCH_MISS','YUUMI_AI_RUN_FAILED','unitId','_colorAssignService','combineLatest','startFormulaLimitUrl','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','FormulaExecuteStageType','white','isEditing','_handleHeartbeatEvent','ACTIVE_UNIT_EVENT_CHANNEL','Rect','YUUMI_SUBSCRIPTION_NOT_FOUND','ISocketService','registerBeforeClose','VIEW_MAIN','get','substring','setItem','onMouseMove','permission.content','redoState','runId','DesktopCollaborationStatusDisplayController','CHANGESET_REVISION_CONFILICT','asObservable','includes','collab-text-range-','@univerjs/core','maxFormulaLimit','getCurrentSelections','FromArray','off-line-icon','getUnitStatus$','ENTITLE_COUPON_EXPIRED','mutations','IRemoteInstanceService','Shape','reason','svg','textRanges','getCoordByCell','_cachedData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_setupSubUnitSync','_memberService','replaceState','disposeWithMe','status$','_heartbeatTimer','map','SNAPSHOT_INVALID_SNAPSHOT','RemoveRowCommandId','handleInsertRangeMoveRight','@univerjs/drawing','_startDocCollabCursor','length','Inject','error','_getMergeRange','IDocClipboardService','univerjs-icon\x20univerjs-icon-','_updateURLWithCurrentState','url(#on-line-icon_clip0_910_349)','YUUMI_URL_COL_OUT_OF_RANGE','addEventListener','set','9273636zuFpZN','HTTPService','getOwnPropertyDescriptor','_getSessionTicket','handleInsertRow','save','top','React','href','IMessageService','onPointerMove$','dispose','saveOfflineData','current','merge','USER_IS_ANONYMOUS','_initStatusComponent','_hasFormulaInDirtyRanges','getCollabCursors$','UniverInstanceType','_cursorInfo$','/universer-api/license/formula/limit/done','_ensureSubject','socket$','split','_initDependencies','_logService','search','transformMutationsWithChangeset','UNIVER_SHEET','forwardRef','getRangePointData','forEach','size','MoveRangeCommandId','event$','_send','CommandType','@univerjs/sheets-ui','rxjs','_labelPosition','_dataLoaderService','_collaborationSessionService','17734130PHRaBQ','JOIN_ROOM_FAILED','takeUntil','connectInjector','entityInit$','sessionTicket','_drawAnchor','findNodePositionByCharIndex','UniverProCollaboration','SNAPSHOT_HAS_BEEN_REMOVED','_localeService','_getScale','_showGuardMessage','saveTaskMap','unit','loadOfflineData','parseInt','Loading','all','PERMISSION_DENIED','transformRemoteChangeset','next','syncEditingCollabCursor','RemoteUniscriptService','Subject','OFFLINE','endRow','application/json','string','session.connection-failed','beginPath','eventID','getSheetId','subscribe','OffLineIcon','SheetCollabCursorShape','[CollaborationDataLoaderController]','APPLY_REVISION_CONFILICT','_handleJoinEvent','undoState','createIdentifier','[Window\x20Error]:\x20','getUnhiddenWorksheets','isTransformMutationFailure','DOC_RANGE_TYPE','text','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','newValue','CollaborationEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_collabCursorController','ITransformService','InsertRowCommandId','_initResize','CollaborationDataLoaderController','unshift','EMAIL_VERIFY_CODE_MISMATCH','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','with','LOGIN_TOKEN_PROCESSING_FAILED','_getSaveTimeout','row','function','data','_commandService','_sheetSkeletonManagerService','_themeService','SetSelectionsOperation','YUUMI_ALL_TABLES_IS_INVALID','react/jsx-runtime','urlChange$','ONLINE','DependentOn','transformStateCache','_anchorDot','pushState','actions','YUUMI_CONNECTOR_URL_NOT_FOUND','1OPANQu','_localStorageService','UNAUTHENTICATED','INotificationService','useObservable','_context','RegularPolygon','fillStyle','cursorInfo$','init','code','APPLY_PERMISSION_DENIED','getCurrentUnitForType','_monkeyPatchLogService','CONNECTOR_DATA_TOO_LARGE','1539XLZeLr','_drawTextRange','mapTo','_lastResponseTimestamp','deepClone','measureText','post','USER_NOT_FOUND','name','LocaleService','evenodd','IBeforeCloseService','_docStateChangeManagerService','symbol','_httpService','ALREADY_EXISTS','shareReplay','SOCKET_FAILED_RETRY','whenReady','_memberID','_unitStatus','amd','_scheduleHeartbeat','_docSyncEditingCollabCursorService','Injector','on-line-icon_clip0_910_349','unload','handleMoveRange','/universer-api/license/formula/limit/status','getSkeleton','engine','startRow','_docClipboardService','_anchor','EffectRefRangId','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_localCacheService','FormulaExecutedStateType','_checkAndWaitForCalculationPermission','http://www.w3.org/2000/svg','DocStateChangeManagerService','_id','_config','override','MOBILE_HAS_BEEN_BOUND','setParam','registerComponent','_initCommandExecutedListener','_entityInit$','UNRECOGNIZED','_lastPointer','collaboration.closeRoom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_cursor','ThemeService','onLocalMutation','endColumn','_shapes','handleDeleteRangeMoveLeft','1em','stageInfo','_cursors','[LogService\x20Error]:\x20','_entities','DocCollaborationEntity','join','contains','setInterval','_saveCache','updateOfflineData','saveImage','getConfig','getSheetBySheetId','toStringTag','DEFAULT_WS_SESSION_TICKET_URL','removeEventListener','off-line-icon_clip0_910_343','12oICKBj','setUndoRedoMutationParamsCache','_selfUnitIDs','now','_currentUsage','on-line-icon','_docTransformIMECacheService','OTHER_CLIENTS_EDITING','_hideTimer','translate(.97)','mask','_messageService','releaseFormulaLimitUrl','UnitStatus','_getAnchorBounding','@univerjs/design','transform','_docTransformStateCacheService','CollaborationController','addObjects','params','setShapeProps','handleInsertCol','m2Prime','\x20at\x20','SUCCESS','UniverRpc','transformIMECache','totalFormulasToCalculate','DeleteRangeMoveUpCommandId','CURRENT_STATUS_CANNOT_OPERATE','yellow.400','url(#$1','deserializeRangeWithSheet','getDocRanges','_transformHistoryAndStateStack','MUTATION','PAYMENT_CHANNEL_NOT_SUPPORT','disableLocalCache','addHandlerCallback','permission.title','flatMap','type','UPDATE_CURSOR','currentSkeleton$','rgba(255,\x20255,\x20255,\x200.01)','replaceDocRanges','startsWith','UniverCollaborationClientUIPlugin','unitID','_removeCollabCursors','ERROR_AGAIN','INVITE_CODE_HAS_BEEN_UES','sheetID','children','REDEMPTION_USER_NOT_ELIGIBLE','ENTITLE_CHAT_LIMIT_EXCEED','removeParam','show','rxjs/operators','formula.calculation.started','CollaborationUIEventService','getAncestorScale','/universer-api/license/formula/limit/start','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','limitInfo','subscribeEvent','collabCursorState$','defs','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','location','_status$','_startSheetCollabCursor','InsertRangeMoveDownCommandId','_colorIndex','lineTo','result','_renderManagerService','_doCreateSocket','useCallback','getStateCache','operators','getParam','PY_RUNTIME_SCRIPT_ERROR','_releaseCalculationLimit','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_handleLeaveEvent','_urlService','trim','displayName','0\x200\x2016\x2016','UniverSheets','switchMap','_maxFormulaLimit','formula.calculation.waiting','isTransformMutationsWithChangesetSuccess','TEXT','getMemberID','UNIVER_DOC','@univerjs/engine-formula','getFormulaLimitStatusUrl','round','stringify','UniverNetwork','REDEMPTION_CODE_INACTIVE','values','has','searchParams','_render','_scene','@univerjs/network','idSuffix','LOCAL_CACHE_INTERVAL_KEY','@univerjs/docs-ui','_configService','then','colno','touchDependencies','Plugin','_online','_refRangeService','currentTheme$','RECT','functionsExecutedState','moveTo','MemberService','INVITE_CODE_REQUIRED','fill','_beforeCloseService','disposeUnit','_updateSubUnitFromURLParams','getSheetObject','COMPLETION_FINISHED','_syncEditingCollabCursorService','ILocalCacheService','onCommandExecuted','green.600','getColorFromTheme','collabStatus.syncing','_getSheetObject','IImageIoService','2534722QPPTZr','UniverSheetsUi','DataLoaderService','min','@univerjs-pro/collaboration','getRenderById','assign','_clearOtherTimers','font','blue.400','CollaborationSessionService','Rectangle','dirtyRanges','UniverDocsUi','getMember','_handleEvent','backgroundColor','IUIPartsService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subUnitId','unhandledrejection','_docSkeletonManagerService','IRenderManagerService','useRef','OTHER_CLIENT_EDITING','RxDisposable','message','MessageType','DisposableCollection','M0\x200H16V16H0z'];_0x3f7c=function(){return _0xeb7894;};return _0x3f7c();}
1
+ (function(_0x1083cb,_0x4f52b2){const _0xe52259=_0x1146,_0xb60569=_0x1083cb();while(!![]){try{const _0x305d44=parseInt(_0xe52259(0x188))/0x1+-parseInt(_0xe52259(0x1ec))/0x2+parseInt(_0xe52259(0x10c))/0x3*(-parseInt(_0xe52259(0x3a3))/0x4)+-parseInt(_0xe52259(0x152))/0x5+parseInt(_0xe52259(0x20a))/0x6+parseInt(_0xe52259(0x36e))/0x7+parseInt(_0xe52259(0x25b))/0x8*(parseInt(_0xe52259(0x12a))/0x9);if(_0x305d44===_0x4f52b2)break;else _0xb60569['push'](_0xb60569['shift']());}catch(_0x37fa5a){_0xb60569['push'](_0xb60569['shift']());}}}(_0x3b35,0x51096),function(_0x3efe6e,_0x1c103a){const _0x377323=_0x1146;typeof exports==_0x377323(0x342)&&typeof module<'u'?_0x1c103a(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x377323(0x256)&&define[_0x377323(0x217)]?define(['exports',_0x377323(0x359),_0x377323(0x2bc),_0x377323(0x117),_0x377323(0x218),_0x377323(0x316),_0x377323(0x1c2),_0x377323(0x381),_0x377323(0x20b),_0x377323(0x1ca),'@univerjs/engine-render',_0x377323(0x332),'@univerjs/docs-ui',_0x377323(0x294),_0x377323(0x1dc),_0x377323(0x1c6),_0x377323(0x238),_0x377323(0x2df),_0x377323(0x14f)],_0x1c103a):(_0x3efe6e=typeof globalThis<'u'?globalThis:_0x3efe6e||self,_0x1c103a(_0x3efe6e[_0x377323(0x190)]={},_0x3efe6e[_0x377323(0x372)],_0x3efe6e[_0x377323(0x223)],_0x3efe6e['UniverCore'],_0x3efe6e['UniverUi'],_0x3efe6e[_0x377323(0x316)],_0x3efe6e['UniverDesign'],_0x3efe6e[_0x377323(0x372)],_0x3efe6e[_0x377323(0x1f5)],_0x3efe6e[_0x377323(0x3a9)],_0x3efe6e[_0x377323(0x394)],_0x3efe6e[_0x377323(0x187)],_0x3efe6e['UniverDocsUi'],_0x3efe6e[_0x377323(0x199)],_0x3efe6e['UniverProCollaboration'],_0x3efe6e[_0x377323(0x32b)],_0x3efe6e[_0x377323(0x184)],_0x3efe6e[_0x377323(0x316)][_0x377323(0xfc)],_0x3efe6e['UniverSheetsUi']));}(this,function(_0x577117,_0x156403,_0x23cab7,_0x53f004,_0x105fcf,_0x57807a,_0x25f8a4,_0x19335f,_0x3f6a13,_0x3e965a,_0xb6e577,_0x460d3f,_0x1f6b42,_0x5b6bdb,_0x1647fd,_0x1f2059,_0x35bdcb,_0x54a445,_0x303be3){'use strict';const _0x5c209d=_0x1146;var _0x28d7b1=Object[_0x5c209d(0x124)],_0x15ec88=(_0x117349,_0x12269d,_0x309c38)=>_0x12269d in _0x117349?_0x28d7b1(_0x117349,_0x12269d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x309c38}):_0x117349[_0x12269d]=_0x309c38,_0x21ada4=(_0x1f9eb8,_0x26c245,_0x3acb41)=>_0x15ec88(_0x1f9eb8,typeof _0x26c245!='symbol'?_0x26c245+'':_0x26c245,_0x3acb41);function _0x4325b3({ref:_0x486c63,..._0x4179cc}){const _0x23c66f=_0x5c209d,{icon:_0x373423,id:_0x4168a3,className:_0x3f2ad6,extend:_0x205644,..._0x48f9c4}=_0x4179cc,_0x53e1a1=(_0x23c66f(0x340)+_0x4168a3+'\x20'+(_0x3f2ad6||''))[_0x23c66f(0x39c)](),_0x3d4a0f=_0x19335f[_0x23c66f(0x395)]('_'+_0x4856d1());return _0x3c3d04(_0x373423,''+_0x4168a3,{'defIds':_0x373423['defIds'],'idSuffix':_0x3d4a0f['current']},{'ref':_0x486c63,'className':_0x53e1a1,..._0x48f9c4},_0x205644);}function _0x3c3d04(_0x16c16c,_0x533f44,_0xc50851,_0x3388ae,_0x2a3bc5){const _0x4ea2db=_0x5c209d;return _0x19335f[_0x4ea2db(0xf5)](_0x16c16c[_0x4ea2db(0x176)],{'key':_0x533f44,..._0x2c5e92(_0x16c16c,_0xc50851,_0x2a3bc5),..._0x3388ae},(_0xa67f10(_0x16c16c,_0xc50851)[_0x4ea2db(0x143)]||[])[_0x4ea2db(0x244)]((_0x5b9562,_0x4a554a)=>_0x3c3d04(_0x5b9562,_0x533f44+'-'+_0x16c16c[_0x4ea2db(0x176)]+'-'+_0x4a554a,_0xc50851,void 0x0,_0x2a3bc5)));}function _0x2c5e92(_0x4305b0,_0x4922b0,_0x1dff80){const _0x9873d0=_0x5c209d,_0x207a47={..._0x4305b0['attrs']};_0x1dff80!=null&&_0x1dff80[_0x9873d0(0x13c)]&&_0x207a47[_0x9873d0(0x180)]===_0x9873d0(0x13c)&&(_0x207a47[_0x9873d0(0x180)]=_0x1dff80[_0x9873d0(0x13c)]),_0x4305b0[_0x9873d0(0x176)]===_0x9873d0(0x17b)&&_0x207a47['id']&&(_0x207a47['id']=_0x207a47['id']+_0x4922b0[_0x9873d0(0x203)]),Object['entries'](_0x207a47)['forEach'](([_0x521210,_0x5967cb])=>{const _0x392156=_0x9873d0;_0x521210===_0x392156(0x17b)&&typeof _0x5967cb==_0x392156(0x1ea)&&(_0x207a47[_0x521210]=_0x5967cb[_0x392156(0x1bc)](/url\(#(.*)\)/,'url(#$1'+_0x4922b0[_0x392156(0x203)]+')'));});const {defIds:_0x286a2e}=_0x4922b0;return!_0x286a2e||_0x286a2e[_0x9873d0(0x377)]===0x0||(_0x4305b0[_0x9873d0(0x176)]==='use'&&_0x207a47[_0x9873d0(0x140)]&&(_0x207a47[_0x9873d0(0x140)]=_0x207a47[_0x9873d0(0x140)]+_0x4922b0[_0x9873d0(0x203)]),Object[_0x9873d0(0x2cb)](_0x207a47)[_0x9873d0(0x1df)](([_0x358821,_0x4fe02c])=>{const _0x506c46=_0x9873d0;typeof _0x4fe02c=='string'&&(_0x207a47[_0x358821]=_0x4fe02c[_0x506c46(0x1bc)](/url\(#(.*)\)/,_0x506c46(0x183)+_0x4922b0[_0x506c46(0x203)]+')'));})),_0x207a47;}function _0xa67f10(_0x318dc8,_0x31bd60){const _0x32001c=_0x5c209d;var _0xbc75d0;const {defIds:_0x3089a1}=_0x31bd60;return!_0x3089a1||_0x3089a1[_0x32001c(0x377)]===0x0?_0x318dc8:_0x318dc8[_0x32001c(0x176)]===_0x32001c(0x380)&&((_0xbc75d0=_0x318dc8[_0x32001c(0x143)])!=null&&_0xbc75d0[_0x32001c(0x377)])?{..._0x318dc8,'children':_0x318dc8[_0x32001c(0x143)][_0x32001c(0x244)](_0x450530=>typeof _0x450530['attrs']['id']==_0x32001c(0x1ea)&&_0x3089a1&&_0x3089a1[_0x32001c(0xf2)](_0x450530[_0x32001c(0x3a0)]['id'])?{..._0x450530,'attrs':{..._0x450530[_0x32001c(0x3a0)],'id':_0x450530[_0x32001c(0x3a0)]['id']+_0x31bd60['idSuffix']}}:_0x450530)}:_0x318dc8;}function _0x4856d1(){const _0x21d7e0=_0x5c209d;return Math[_0x21d7e0(0x1a0)]()[_0x21d7e0(0x282)](0x24)[_0x21d7e0(0x355)](0x2,0x8);}_0x4325b3[_0x5c209d(0x354)]='UniverIcon';const _0x3415b1={'tag':'svg','attrs':{'xmlns':_0x5c209d(0x27e),'fill':_0x5c209d(0x1b4),'viewBox':_0x5c209d(0x283),'width':_0x5c209d(0x1d5),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5c209d(0x364),'strokeLinecap':_0x5c209d(0x325),'strokeLinejoin':_0x5c209d(0x325),'strokeWidth':1.2}}]},{'tag':_0x5c209d(0x380),'attrs':{},'children':[{'tag':_0x5c209d(0xf1),'attrs':{'id':_0x5c209d(0x2c3)},'children':[{'tag':_0x5c209d(0x27c),'attrs':{'fill':_0x5c209d(0x241),'d':_0x5c209d(0x243)}}]}]}],'defIds':[_0x5c209d(0x2c3)]},_0x170b0f=_0x19335f['forwardRef'](function(_0x2034bb,_0x2e303a){const _0x1deb0b=_0x5c209d;return _0x19335f[_0x1deb0b(0xf5)](_0x4325b3,Object['assign']({},_0x2034bb,{'id':_0x1deb0b(0x2a3),'ref':_0x2e303a,'icon':_0x3415b1}));});_0x170b0f[_0x5c209d(0x354)]=_0x5c209d(0x24e);const _0x323000={'tag':_0x5c209d(0x170),'attrs':{'xmlns':_0x5c209d(0x27e),'fill':'none','viewBox':_0x5c209d(0x2b8),'width':_0x5c209d(0x1d5),'height':_0x5c209d(0x1d5)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5c209d(0x27c),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5c209d(0x380),'attrs':{},'children':[{'tag':_0x5c209d(0xf1),'attrs':{'id':_0x5c209d(0x298)},'children':[{'tag':'path','attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x5c209d(0x1cc)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x3f5247=_0x19335f[_0x5c209d(0xe0)](function(_0x2dab1f,_0x66194e){const _0x3224d2=_0x5c209d;return _0x19335f[_0x3224d2(0xf5)](_0x4325b3,Object['assign']({},_0x2dab1f,{'id':_0x3224d2(0x16a),'ref':_0x66194e,'icon':_0x323000}));});_0x3f5247[_0x5c209d(0x354)]='OnLineIcon';function _0x131829(_0x1b13b5){const _0x54cc14=_0x5c209d;switch(_0x1b13b5){case _0x23cab7[_0x54cc14(0x1f1)][_0x54cc14(0x352)]:return'collabStatus.offline';case _0x23cab7[_0x54cc14(0x1f1)][_0x54cc14(0x10d)]:return'collabStatus.conflict';case _0x23cab7[_0x54cc14(0x1f1)]['FETCH_MISS']:return _0x54cc14(0x109);case _0x23cab7['CollaborationStatus'][_0x54cc14(0x2d0)]:return _0x54cc14(0x2ca);case _0x23cab7[_0x54cc14(0x1f1)][_0x54cc14(0x249)]:case _0x23cab7['CollaborationStatus'][_0x54cc14(0x368)]:return _0x54cc14(0x277);case _0x23cab7[_0x54cc14(0x1f1)][_0x54cc14(0xd5)]:case _0x23cab7[_0x54cc14(0x1f1)][_0x54cc14(0x2c8)]:return _0x54cc14(0x270);}}function _0x492f31(_0x10dde2){const _0x2bd6ba=_0x5c209d,{status$:_0x99046}=_0x10dde2,_0x4fd30e=_0x105fcf['useObservable'](_0x99046,_0x23cab7[_0x2bd6ba(0x1f1)]['NOT_COLLAB']),_0x47115d=_0x105fcf[_0x2bd6ba(0x18c)](_0x53f004['LocaleService']),_0x23ebff=_0x105fcf[_0x2bd6ba(0x18c)](_0x23cab7[_0x2bd6ba(0x302)]),_0x55587a=_0x4fd30e!==_0x23cab7[_0x2bd6ba(0x1f1)][_0x2bd6ba(0x352)],_0xa93d5e=_0x47115d['t'](_0x131829(_0x4fd30e)),_0x45cdd4=_0x55587a?_0x156403[_0x2bd6ba(0x1e1)](_0x3f5247,{}):_0x156403['jsx'](_0x170b0f,{}),_0x2a8c83=_0x19335f[_0x2bd6ba(0x154)](()=>{_0x55587a||_0x23ebff['reconnect']();},[_0x55587a,_0x23ebff]);function _0x3953a2(){const _0x48faf9=_0x2bd6ba;return _0x156403[_0x48faf9(0x1ab)](_0x48faf9(0x3b0),{'className':_0x48faf9(0x2ac),'onClick':_0x2a8c83,'children':[_0x156403[_0x48faf9(0x1e1)](_0x48faf9(0x3b0),{'className':_0x25f8a4['clsx'](_0x48faf9(0x319),{'univer-text-green-500':_0x55587a,'univer-text-red-500':!_0x55587a}),'children':_0x45cdd4}),_0x156403['jsx'](_0x48faf9(0x3b0),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xa93d5e})]});}return _0x55587a?_0x3953a2():_0x156403[_0x2bd6ba(0x1e1)](_0x25f8a4[_0x2bd6ba(0xc9)],{'title':_0x47115d['t'](_0x2bd6ba(0xfa)),'children':_0x3953a2()});}var _0x2d6a1d=Object['getOwnPropertyDescriptor'],_0x57861a=(_0x204b8e,_0x5d615b,_0x39b592,_0x19b1cf)=>{const _0x969079=_0x5c209d;for(var _0x32f157=_0x19b1cf>0x1?void 0x0:_0x19b1cf?_0x2d6a1d(_0x5d615b,_0x39b592):_0x5d615b,_0x2ca576=_0x204b8e[_0x969079(0x377)]-0x1,_0x26afcc;_0x2ca576>=0x0;_0x2ca576--)(_0x26afcc=_0x204b8e[_0x2ca576])&&(_0x32f157=_0x26afcc(_0x32f157)||_0x32f157);return _0x32f157;},_0x327f8b=(_0x26bbcf,_0x2cc735)=>(_0x1c4b79,_0x4291ec)=>_0x2cc735(_0x1c4b79,_0x4291ec,_0x26bbcf);_0x577117['DesktopCollaborationStatusDisplayController']=class extends _0x53f004['Disposable']{constructor(_0x4fad6b,_0x134bf3,_0x125122,_0x2ef8f4){const _0x416382=_0x5c209d;super(),_0x21ada4(this,'_status$',new _0x57807a['BehaviorSubject'](_0x23cab7[_0x416382(0x1f1)][_0x416382(0x2d0)])),(this[_0x416382(0x289)]=_0x4fad6b,this['_injector']=_0x134bf3,this[_0x416382(0x10f)]=_0x125122,this['_uiPartsService']=_0x2ef8f4,this['_initStatusComponent'](),this[_0x416382(0x318)]());}[_0x5c209d(0x318)](){const _0x283f3e=_0x5c209d;this[_0x283f3e(0x317)](this['_univerInstanceService']['focused$']['pipe'](_0x57807a[_0x283f3e(0x27f)](()=>{const _0x25c7dc=_0x283f3e,_0x5f4755=this['_univerInstanceService'][_0x25c7dc(0x182)]();return _0x5f4755?this[_0x25c7dc(0x10f)][_0x25c7dc(0x36c)](_0x5f4755[_0x25c7dc(0x25c)]()):_0x57807a['of'](null);}),_0x57807a['switchMap'](_0x295980=>_0x295980?_0x295980[_0x283f3e(0x19b)]:_0x57807a['of'](_0x23cab7['CollaborationStatus'][_0x283f3e(0x2d0)])))['subscribe'](_0x1778a3=>{const _0xb5f824=_0x283f3e;this[_0xb5f824(0x151)][_0xb5f824(0x11e)](_0x1778a3);}));}['_initStatusComponent'](){const _0xc93422=_0x5c209d;this[_0xc93422(0x317)](this[_0xc93422(0x2b5)][_0xc93422(0xf3)](_0x105fcf[_0xc93422(0x1f6)][_0xc93422(0x27a)],()=>_0x105fcf[_0xc93422(0x35d)](_0x30b50e({'status$':this[_0xc93422(0x151)]['asObservable']()}),this[_0xc93422(0x379)])));}},_0x577117[_0x5c209d(0x13e)]=_0x57861a([_0x327f8b(0x0,_0x53f004['IUniverInstanceService']),_0x327f8b(0x1,_0x53f004[_0x5c209d(0x12e)](_0x53f004[_0x5c209d(0x24b)])),_0x327f8b(0x2,_0x53f004['Inject'](_0x23cab7[_0x5c209d(0x20d)])),_0x327f8b(0x3,_0x105fcf[_0x5c209d(0x1e2)])],_0x577117['DesktopCollaborationStatusDisplayController']);function _0x30b50e(_0x3982fb){const {status$:_0x245603}=_0x3982fb;return function(){return _0x156403['jsx'](_0x492f31,{'status$':_0x245603});};}const _0x28e5db=_0x53f004['createIdentifier'](_0x5c209d(0x122));var _0x365c9d=Object['getOwnPropertyDescriptor'],_0x1f305e=(_0x19a949,_0x133ab9,_0x2a69c2,_0x186076)=>{const _0x2befe5=_0x5c209d;for(var _0x9603dc=_0x186076>0x1?void 0x0:_0x186076?_0x365c9d(_0x133ab9,_0x2a69c2):_0x133ab9,_0x349791=_0x19a949[_0x2befe5(0x377)]-0x1,_0x4bfc5f;_0x349791>=0x0;_0x349791--)(_0x4bfc5f=_0x19a949[_0x349791])&&(_0x9603dc=_0x4bfc5f(_0x9603dc)||_0x9603dc);return _0x9603dc;},_0x2a7bad=(_0x125459,_0x536dd5)=>(_0x316502,_0x30e124)=>_0x536dd5(_0x316502,_0x30e124,_0x125459);_0x577117[_0x5c209d(0x23f)]=class extends _0x53f004[_0x5c209d(0x115)]{constructor(_0x2aada6,_0x3ad5aa,_0x123cc6,_0x5bffea,_0x706a34){const _0x14d41e=_0x5c209d;super(),this['_urlService']=_0x2aada6,this[_0x14d41e(0x148)]=_0x3ad5aa,this['_commandService']=_0x123cc6,this[_0x14d41e(0xef)]=_0x5bffea,_0x706a34?_0x706a34==null||_0x706a34[_0x14d41e(0x24f)]()[_0x14d41e(0x323)](()=>this['_init']()):(this[_0x14d41e(0x148)]['debug'](_0x14d41e(0x2aa),_0x14d41e(0x300)),this[_0x14d41e(0x2e4)]());}async[_0x5c209d(0x2e4)](){const _0x249cd1=_0x5c209d,_0x3a4634=this[_0x249cd1(0x280)][_0x249cd1(0x2d4)](_0x249cd1(0x202)),_0x3ac1e1=this[_0x249cd1(0x280)]['getParam'](_0x249cd1(0xe1)),_0x51c2ab=this[_0x249cd1(0x280)]['getParam']('subunit');if(!_0x3a4634||!_0x3ac1e1){this[_0x249cd1(0x148)]['debug']('[CollaborationDataLoaderController]',_0x249cd1(0x2be));return;}const _0x15202b=await this[_0x249cd1(0xef)][_0x249cd1(0x1e3)](_0x3a4634,Number(_0x3ac1e1),_0x51c2ab);_0x15202b&&_0x15202b instanceof _0x53f004[_0x249cd1(0x1b8)]&&this[_0x249cd1(0x2d2)](_0x15202b);}async[_0x5c209d(0x2d2)](_0x5903d7){const _0x36dfa0=_0x5c209d;await this[_0x36dfa0(0x38b)](_0x5903d7),_0x5903d7[_0x36dfa0(0x383)][_0x36dfa0(0xca)](_0x57807a[_0x36dfa0(0x2c0)](this[_0x36dfa0(0x1d8)]))[_0x36dfa0(0x26a)](_0x26be13=>{const _0x295fb8=_0x36dfa0;_0x26be13&&this[_0x295fb8(0x2ba)](_0x26be13);}),this[_0x36dfa0(0x280)][_0x36dfa0(0x19e)]['pipe'](_0x57807a[_0x36dfa0(0x2c0)](this[_0x36dfa0(0x1d8)]))[_0x36dfa0(0x26a)](()=>this['_updateSubUnitFromURLParams'](_0x5903d7));}[_0x5c209d(0x2ba)](_0x526786,_0xa572d1=!0x1){const _0x499eb1=_0x5c209d,_0x39bf9c=this[_0x499eb1(0x280)]['getParam'](_0x499eb1(0x326));_0x526786[_0x499eb1(0x304)]()!==_0x39bf9c&&this[_0x499eb1(0x280)][_0x499eb1(0x2a2)](_0x499eb1(0x326),_0x526786[_0x499eb1(0x304)](),_0xa572d1);}async[_0x5c209d(0x38b)](_0x23ee99){const _0x15f1d4=_0x5c209d;var _0x200ceb;const _0x48f520=this['_urlService']['getParam'](_0x15f1d4(0x326));if(!_0x48f520||!_0x23ee99[_0x15f1d4(0x179)](_0x48f520)){const _0x4e21f8=_0x23ee99[_0x15f1d4(0x35f)]()[0x0],_0xa4d602=_0x23ee99[_0x15f1d4(0x179)](_0x4e21f8);if(!_0xa4d602)return;this[_0x15f1d4(0x2ba)](_0xa4d602,!0x0),await this[_0x15f1d4(0x328)][_0x15f1d4(0x13b)](_0x3e965a[_0x15f1d4(0x2f8)]['id'],{'unitId':_0x23ee99['getUnitId'](),'subUnitId':_0x4e21f8});return;}((_0x200ceb=_0x23ee99['getActiveSheet']())==null?void 0x0:_0x200ceb[_0x15f1d4(0x304)]())!==_0x48f520&&await this[_0x15f1d4(0x328)][_0x15f1d4(0x13b)](_0x3e965a[_0x15f1d4(0x2f8)]['id'],{'unitId':_0x23ee99[_0x15f1d4(0x25c)](),'subUnitId':_0x48f520});}},_0x577117[_0x5c209d(0x23f)]=_0x1f305e([_0x2a7bad(0x0,_0x28e5db),_0x2a7bad(0x1,_0x53f004[_0x5c209d(0x204)]),_0x2a7bad(0x2,_0x53f004['ICommandService']),_0x2a7bad(0x3,_0x53f004['Inject'](_0x23cab7['DataLoaderService'])),_0x2a7bad(0x4,_0x53f004[_0x5c209d(0x1ee)](_0x3f6a13[_0x5c209d(0xd3)]))],_0x577117[_0x5c209d(0x23f)]);var _0x1ea587=Object[_0x5c209d(0x2fb)],_0x3af161=(_0x3a4579,_0xfa11b0,_0x1af594,_0x562b84)=>{for(var _0x204489=_0x562b84>0x1?void 0x0:_0x562b84?_0x1ea587(_0xfa11b0,_0x1af594):_0xfa11b0,_0x22a56e=_0x3a4579['length']-0x1,_0x651d9f;_0x22a56e>=0x0;_0x22a56e--)(_0x651d9f=_0x3a4579[_0x22a56e])&&(_0x204489=_0x651d9f(_0x204489)||_0x204489);return _0x204489;},_0x502140=(_0x5a9380,_0x39255f)=>(_0x4a6c5d,_0x5002dd)=>_0x39255f(_0x4a6c5d,_0x5002dd,_0x5a9380);let _0x2add04=class extends _0x53f004['RxDisposable']{constructor(_0x26bda9,_0x3ac1b4){const _0x4f4a27=_0x5c209d;super(),this['_docClipboardService']=_0x26bda9,this[_0x4f4a27(0x338)]=_0x3ac1b4,this[_0x4f4a27(0x2e4)]();}[_0x5c209d(0x2e4)](){const _0x212a34=_0x5c209d,_0x366a3d=this;this['disposeWithMe'](this[_0x212a34(0x1f4)][_0x212a34(0x205)]({'onBeforePasteImage':async _0x21533d=>{const _0x57e8c5=_0x212a34,_0x328db1=await _0x366a3d[_0x57e8c5(0x338)][_0x57e8c5(0x127)](_0x21533d);return _0x328db1?{'source':_0x328db1[_0x57e8c5(0x386)],'imageSourceType':_0x328db1[_0x57e8c5(0x1a9)]}:null;}}));}};_0x2add04=_0x3af161([_0x502140(0x0,_0x1f6b42['IDocClipboardService']),_0x502140(0x1,_0x5b6bdb[_0x5c209d(0x206)])],_0x2add04);const _0x228854=['purple.300',_0x5c209d(0x38f),_0x5c209d(0x371),_0x5c209d(0x2cf),'blue.400',_0x5c209d(0x1e6)];class _0x155ca0 extends _0x53f004[_0x5c209d(0x131)]{constructor(){const _0x8f52b=_0x5c209d;super(...arguments),_0x21ada4(this,_0x8f52b(0x225),new Map()),_0x21ada4(this,_0x8f52b(0x393),0x0);}[_0x5c209d(0x2b0)](_0xafbf9e){const _0x91f9de=_0x5c209d;if(this[_0x91f9de(0x225)][_0x91f9de(0x141)](_0xafbf9e))return this['_assignedColors'][_0x91f9de(0x28b)](_0xafbf9e);const _0x48c9df=_0x228854[this[_0x91f9de(0x393)]];return this[_0x91f9de(0x393)]=(this[_0x91f9de(0x393)]+0x1)%_0x228854['length'],this[_0x91f9de(0x225)][_0x91f9de(0x15a)](_0xafbf9e,_0x48c9df),_0x48c9df;}}function _0x1f5043(_0x362942){let _0x1dac42='';for(const _0x22c633 of _0x362942){const {startOffset:_0x5681b8,endOffset:_0x10cfc5,isActive:_0x24fca5,rangeType:_0xe51b1,segmentId:_0x262c93,segmentPage:_0x33d7ac}=_0x22c633;_0x1dac42['length']&&(_0x1dac42+=','),_0x1dac42+=_0x5681b8+':'+_0x10cfc5+':'+(_0x24fca5?'1':'0')+':'+_0xe51b1+':'+_0x262c93+':'+_0x33d7ac;}return _0x1dac42;}function _0xa0c06(_0x2f66f0){const _0x18a43c=_0x5c209d,_0x594edb=_0x2f66f0['split'](','),_0x564f89=[];for(const _0x974477 of _0x594edb){const [_0x34d33d,_0x231fde,_0x5e4475,_0x242c06,_0x5a500a,_0x3088dc]=_0x974477[_0x18a43c(0x191)](':');_0x564f89[_0x18a43c(0x269)]({'startOffset':Number(_0x34d33d),'endOffset':Number(_0x231fde),'collapsed':_0x34d33d===_0x231fde,'isActive':_0x5e4475==='1','rangeType':_0x242c06===_0x53f004[_0x18a43c(0x222)][_0x18a43c(0x233)]?_0x53f004[_0x18a43c(0x222)]['TEXT']:_0x53f004['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x5a500a==_0x18a43c(0x1ea)?String(_0x5a500a):'','segmentPage':Number(_0x3088dc!=null?_0x3088dc:-0x1)});}return _0x564f89[_0x18a43c(0x16d)](_0x239408=>_0x239408[_0x18a43c(0x23c)])||(_0x564f89[0x0]['isActive']=!0x0),_0x564f89;}class _0x449782 extends _0x53f004[_0x5c209d(0x115)]{constructor(){const _0x2ec681=_0x5c209d;super(...arguments),_0x21ada4(this,_0x2ec681(0x274),new _0x57807a[(_0x2ec681(0x18e))](null)),_0x21ada4(this,_0x2ec681(0x39e),this[_0x2ec681(0x274)]['asObservable']());}[_0x5c209d(0x1ef)](_0x5956d2){const _0x1c942b=_0x5c209d,{unitID:_0x796234,memberID:_0x4e1d2e,textRanges:_0x40f109}=_0x5956d2,_0x148a97=_0x1f5043(_0x40f109);if(_0x148a97==='')return;const _0x462a90={'unitID':_0x796234,'memberID':_0x4e1d2e,'selection':_0x148a97};this[_0x1c942b(0x274)][_0x1c942b(0x11e)](_0x462a90);}}var _0x5acb59=Object[_0x5c209d(0x2fb)],_0x3dc3a6=(_0x2b492e,_0x25ce31,_0x330d52,_0x452373)=>{const _0x3beec5=_0x5c209d;for(var _0x5e6411=_0x452373>0x1?void 0x0:_0x452373?_0x5acb59(_0x25ce31,_0x330d52):_0x25ce31,_0x4b461e=_0x2b492e[_0x3beec5(0x377)]-0x1,_0x144cc9;_0x4b461e>=0x0;_0x4b461e--)(_0x144cc9=_0x2b492e[_0x4b461e])&&(_0x5e6411=_0x144cc9(_0x5e6411)||_0x5e6411);return _0x5e6411;},_0xa759c=(_0x293472,_0x1ce241)=>(_0x5324ed,_0x5c73be)=>_0x1ce241(_0x5324ed,_0x5c73be,_0x293472);const _0x352505=0x12c,_0x3dd896=0x64;let _0x293d19=class extends _0x53f004[_0x5c209d(0x115)]{constructor(_0x3cc990,_0x325217,_0x17beeb,_0x24445a,_0x2bac31,_0x3c7a98,_0x171a3b,_0x3d33f2,_0x58f668){const _0x38bf65=_0x5c209d;super(),_0x21ada4(this,_0x38bf65(0x23d),!0x1),_0x21ada4(this,'_init',!0x1),_0x21ada4(this,'_cursorInfo$',new _0x57807a['BehaviorSubject'](new Map())),_0x21ada4(this,'cursorInfo$',this[_0x38bf65(0x11f)][_0x38bf65(0x1e0)]()),_0x21ada4(this,_0x38bf65(0x221),new _0x57807a[(_0x38bf65(0x18e))]([])),_0x21ada4(this,_0x38bf65(0x2bf),this[_0x38bf65(0x221)]['pipe'](_0x57807a[_0x38bf65(0x24a)](_0x352505))),_0x21ada4(this,_0x38bf65(0x36f),_0x53f004[_0x38bf65(0x2a7)](_0x2ed9a8=>{const _0x503411=_0x38bf65,_0x577d07={'eventID':_0x1647fd[_0x503411(0x22a)][_0x503411(0x36d)],'data':{'unitID':this[_0x503411(0x1bd)],'memberID':this['_session'][_0x503411(0x36b)](),'selection':_0x1f5043(_0x2ed9a8)}};this[_0x503411(0x2ff)]['send'](_0x577d07,this[_0x503411(0x1bd)]);},_0x3dd896)),(this['unitID']=_0x3cc990,this[_0x38bf65(0x2ff)]=_0x325217,this['_injector']=_0x17beeb,this[_0x38bf65(0x2d7)]=_0x24445a,this['_memberService']=_0x2bac31,this[_0x38bf65(0xf8)]=_0x3c7a98,this[_0x38bf65(0x29f)]=_0x171a3b,this[_0x38bf65(0x289)]=_0x3d33f2,this[_0x38bf65(0x328)]=_0x58f668);}get[_0x5c209d(0x33a)](){const _0x30619c=_0x5c209d;return this[_0x30619c(0x11f)][_0x30619c(0x1d9)]();}get[_0x5c209d(0x20f)](){const _0x139dd3=_0x5c209d;return this['_roomMembers$'][_0x139dd3(0x1d9)]();}[_0x5c209d(0x119)](){const _0x192748=_0x5c209d;super['dispose'](),this[_0x192748(0x11f)]['next'](new Map()),this[_0x192748(0x11f)][_0x192748(0x159)](),this[_0x192748(0x221)][_0x192748(0x11e)]([]),this[_0x192748(0x221)][_0x192748(0x159)]();}[_0x5c209d(0x150)](){const _0x4e3bdf=_0x5c209d;this['_init']||(this[_0x4e3bdf(0x2e4)]=!0x0,this[_0x4e3bdf(0x2ff)][_0x4e3bdf(0x1d4)]['pipe'](_0x57807a[_0x4e3bdf(0x2c0)](this[_0x4e3bdf(0x1d8)]))[_0x4e3bdf(0x26a)](_0x128c8c=>{const _0x22f6aa=_0x4e3bdf;_0x128c8c===_0x23cab7[_0x22f6aa(0x25e)][_0x22f6aa(0x16f)]?this[_0x22f6aa(0x360)]():this[_0x22f6aa(0x397)]();}),this[_0x4e3bdf(0x2ff)][_0x4e3bdf(0x17f)][_0x4e3bdf(0xca)](_0x57807a['takeUntil'](this[_0x4e3bdf(0x1d8)]))['subscribe'](_0x33826f=>{const _0x87a816=_0x4e3bdf,_0x41919e=_0x33826f[_0x87a816(0x2a8)];_0x41919e===_0x1647fd[_0x87a816(0x22a)][_0x87a816(0x36d)]&&this[_0x87a816(0x31b)](_0x33826f),_0x41919e===_0x1647fd['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x33826f);}),this[_0x4e3bdf(0x317)](this[_0x4e3bdf(0x328)][_0x4e3bdf(0x374)](_0x36ea25=>{const _0x2f8e54=_0x4e3bdf,_0xdbafeb=_0x36ea25[_0x2f8e54(0x254)];_0xdbafeb!=null&&this[_0x2f8e54(0x23d)]&&_0x36ea25['id']===_0x1f2059[_0x2f8e54(0x128)]['id']&&_0xdbafeb[_0x2f8e54(0x398)]===this[_0x2f8e54(0x1bd)]&&_0xdbafeb[_0x2f8e54(0x15b)]===!0x1&&_0xdbafeb['ranges']['length']>0x0&&this[_0x2f8e54(0x36f)](_0xdbafeb[_0x2f8e54(0x1a8)]);})),this[_0x4e3bdf(0xf8)][_0x4e3bdf(0x39e)][_0x4e3bdf(0xca)](_0x57807a[_0x4e3bdf(0x2c0)](this[_0x4e3bdf(0x1d8)]))['subscribe'](_0x46bef8=>{const _0x4aaa2e=_0x4e3bdf;if((_0x46bef8==null?void 0x0:_0x46bef8[_0x4aaa2e(0x1bd)])!==this['unitID'])return;const _0x3ebf1d={'eventID':_0x1647fd[_0x4aaa2e(0x22a)][_0x4aaa2e(0x36d)],'data':_0x46bef8};this[_0x4aaa2e(0x31b)](_0x3ebf1d);}),this[_0x4e3bdf(0x317)](this[_0x4e3bdf(0x328)][_0x4e3bdf(0x374)](_0x5d96f4=>{const _0x28d8e6=_0x4e3bdf;if(_0x5d96f4[_0x28d8e6(0x254)]==null)return;const _0x2e7cbd=_0x5d96f4[_0x28d8e6(0x254)];if(_0x5d96f4['id']!==_0x1f2059['RichTextEditingMutation']['id']||_0x2e7cbd['unitId']!==this[_0x28d8e6(0x1bd)])return;const _0x497a60={'id':_0x28d8e6(0x320),'params':_0x2e7cbd},_0x1ec8d4=this[_0x28d8e6(0x33a)];for(const [_0x5fd25e,_0x559daa]of _0x1ec8d4){const _0x29d9e4={'id':_0x28d8e6(0x320),'params':{'unitId':this[_0x28d8e6(0x1bd)],'actions':null,'textRanges':_0x559daa['ranges']}},_0x12e55e=this[_0x28d8e6(0x29f)][_0x28d8e6(0x34b)](_0x497a60,_0x29d9e4,!0x1);if(_0x1647fd['isTransformMutationFailure'](_0x12e55e))throw _0x12e55e[_0x28d8e6(0x297)];_0x1ec8d4[_0x28d8e6(0x15a)](_0x5fd25e,{..._0x559daa,'ranges':_0x12e55e['m2Prime'][_0x28d8e6(0x254)]['textRanges']});}queueMicrotask(()=>{const _0x2f10e5=_0x28d8e6;this[_0x2f10e5(0x11f)][_0x2f10e5(0x11e)](_0x1ec8d4);});})));}[_0x5c209d(0x31b)](_0x2f8393){const _0x26b5a0=_0x5c209d;var _0x58e9e5,_0x396935;const {memberID:_0x3cfba3,selection:_0x224154}=_0x2f8393['data'],_0x33d37c=_0xa0c06(_0x224154),_0x4fe7b4=(_0x396935=(_0x58e9e5=this[_0x26b5a0(0x259)][_0x26b5a0(0x286)](this[_0x26b5a0(0x1bd)],_0x3cfba3))==null?void 0x0:_0x58e9e5['name'])!=null?_0x396935:_0x26b5a0(0xd6),_0x5635b9={'color':this[_0x26b5a0(0x2d7)][_0x26b5a0(0x2b0)](_0x3cfba3),'name':_0x4fe7b4,'ranges':_0x33d37c},_0x15f447=this[_0x26b5a0(0x33a)];_0x15f447[_0x26b5a0(0x15a)](_0x3cfba3,_0x5635b9),this[_0x26b5a0(0x11f)]['next'](_0x15f447);}['_onCursorDelete'](_0x4a604d){const _0x292068=_0x5c209d,{memberID:_0xbb962c}=_0x4a604d[_0x292068(0xff)],_0x1e5545=this[_0x292068(0x33a)];_0x1e5545['delete'](_0xbb962c),this['_cursorInfo$'][_0x292068(0x11e)](_0x1e5545);}['_toggleOnline'](){const _0x2a2d39=_0x5c209d;var _0x5be767;if(this[_0x2a2d39(0x23d)]=!0x0,((_0x5be767=this[_0x2a2d39(0x289)]['getFocusedUnit']())==null?void 0x0:_0x5be767[_0x2a2d39(0x25c)]())!==this[_0x2a2d39(0x1bd)])return;const _0x39b1a6=this[_0x2a2d39(0x379)][_0x2a2d39(0x28b)](_0x1f2059[_0x2a2d39(0x34e)])[_0x2a2d39(0x226)]();Array[_0x2a2d39(0x334)](_0x39b1a6)&&_0x39b1a6[_0x2a2d39(0x377)]>0x0&&this[_0x2a2d39(0x36f)](_0x39b1a6);}[_0x5c209d(0x397)](){const _0xbdbf49=_0x5c209d;this[_0xbdbf49(0x23d)]=!0x1;}};_0x293d19=_0x3dc3a6([_0xa759c(0x2,_0x53f004[_0x5c209d(0x12e)](_0x53f004['Injector'])),_0xa759c(0x3,_0x53f004[_0x5c209d(0x12e)](_0x155ca0)),_0xa759c(0x4,_0x53f004['Inject'](_0x23cab7[_0x5c209d(0x1a3)])),_0xa759c(0x5,_0x53f004[_0x5c209d(0x12e)](_0x449782)),_0xa759c(0x6,_0x1647fd[_0x5c209d(0x12f)]),_0xa759c(0x7,_0x53f004[_0x5c209d(0x2d1)]),_0xa759c(0x8,_0x53f004[_0x5c209d(0xf9)])],_0x293d19);var _0x549b90=Object['getOwnPropertyDescriptor'],_0x4033ab=(_0x7c352b,_0x572531,_0x1a904b,_0x55ef7e)=>{const _0x46a57c=_0x5c209d;for(var _0x3a4c4a=_0x55ef7e>0x1?void 0x0:_0x55ef7e?_0x549b90(_0x572531,_0x1a904b):_0x572531,_0x3f4895=_0x7c352b[_0x46a57c(0x377)]-0x1,_0x145cf8;_0x3f4895>=0x0;_0x3f4895--)(_0x145cf8=_0x7c352b[_0x3f4895])&&(_0x3a4c4a=_0x145cf8(_0x3a4c4a)||_0x3a4c4a);return _0x3a4c4a;},_0x56af7a=(_0x49606d,_0x364b04)=>(_0x502dd0,_0x45a51c)=>_0x364b04(_0x502dd0,_0x45a51c,_0x49606d);const _0x3fff31=0x12c,_0x42d826=0x64,_0x49dc8f=()=>{let _0x4a6cda=[],_0x47b3d4=!0x1;return _0x131df3=>{const _0xf30b12=_0x1146;_0x4a6cda[_0xf30b12(0x269)](_0x131df3),_0x47b3d4||(_0x47b3d4=!0x0,setTimeout(()=>{const _0x3940a5=_0xf30b12;_0x4a6cda[_0x3940a5(0x1df)](_0x1289b4=>_0x1289b4()),_0x4a6cda=[],_0x47b3d4=!0x1;}));};};let _0x5b850e=class extends _0x53f004['RxDisposable']{constructor(_0x24c020,_0x3c0d29,_0x340645,_0x23865d,_0x1ef829,_0x17fa1d,_0x505070,_0x1fafac){const _0x5aadc0=_0x5c209d;super(),_0x21ada4(this,_0x5aadc0(0x23d),!0x1),_0x21ada4(this,_0x5aadc0(0x2e4),!0x1),_0x21ada4(this,'_cursorInfo$',new _0x57807a[(_0x5aadc0(0x18e))](new Map())),_0x21ada4(this,'cursorInfo$',this[_0x5aadc0(0x11f)][_0x5aadc0(0x1e0)]()),_0x21ada4(this,_0x5aadc0(0x221),new _0x57807a[(_0x5aadc0(0x18e))]([])),_0x21ada4(this,'roomMembers$',this[_0x5aadc0(0x221)][_0x5aadc0(0xca)](_0x57807a[_0x5aadc0(0x24a)](_0x3fff31))),_0x21ada4(this,_0x5aadc0(0x36f),_0x53f004[_0x5aadc0(0x2a7)]((_0x31c138,_0x4dfb0b)=>{const _0x5a387f=_0x5aadc0,_0x5ba602={'eventID':_0x1647fd[_0x5a387f(0x22a)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x35bdcb[_0x5a387f(0x105)](_0x31c138,_0x4dfb0b[_0x5a387f(0x3ab)])}};this['_session'][_0x5a387f(0x276)](_0x5ba602,this['unitID']);},_0x42d826)),(this[_0x5aadc0(0x1bd)]=_0x24c020,this[_0x5aadc0(0x2ff)]=_0x3c0d29,this['_injector']=_0x340645,this[_0x5aadc0(0x2d7)]=_0x23865d,this[_0x5aadc0(0x259)]=_0x1ef829,this[_0x5aadc0(0x289)]=_0x17fa1d,this[_0x5aadc0(0x328)]=_0x505070,this['_refRangeService']=_0x1fafac);}get[_0x5c209d(0x33a)](){const _0x354ab7=_0x5c209d;return this[_0x354ab7(0x11f)][_0x354ab7(0x1d9)]();}get[_0x5c209d(0x20f)](){const _0x2bb87c=_0x5c209d;return this['_roomMembers$'][_0x2bb87c(0x1d9)]();}[_0x5c209d(0x119)](){const _0x22a5a8=_0x5c209d;super[_0x22a5a8(0x119)](),this[_0x22a5a8(0x11f)][_0x22a5a8(0x11e)](new Map()),this[_0x22a5a8(0x11f)][_0x22a5a8(0x159)](),this['_roomMembers$'][_0x22a5a8(0x11e)]([]),this[_0x22a5a8(0x221)][_0x22a5a8(0x159)]();}['init'](){const _0x16efd4=_0x5c209d;this['_init']||(this[_0x16efd4(0x2e4)]=!0x0,this[_0x16efd4(0x2ff)][_0x16efd4(0x1d4)][_0x16efd4(0xca)](_0x57807a[_0x16efd4(0x2c0)](this[_0x16efd4(0x1d8)]))[_0x16efd4(0x26a)](_0x6822eb=>{const _0x4500f2=_0x16efd4;_0x6822eb===_0x23cab7[_0x4500f2(0x25e)][_0x4500f2(0x16f)]?this[_0x4500f2(0x360)]():this['_toggleOffline']();}),this[_0x16efd4(0x2ff)][_0x16efd4(0x17f)][_0x16efd4(0xca)](_0x57807a[_0x16efd4(0x2c0)](this[_0x16efd4(0x1d8)]))[_0x16efd4(0x26a)](_0x1cb492=>{const _0x32ecbd=_0x16efd4,_0x31a6c9=_0x1cb492['eventID'];_0x31a6c9===_0x1647fd[_0x32ecbd(0x22a)]['UPDATE_CURSOR']&&this[_0x32ecbd(0x31b)](_0x1cb492),_0x31a6c9===_0x1647fd[_0x32ecbd(0x22a)][_0x32ecbd(0x21e)]&&this['_onCursorDelete'](_0x1cb492);}),this[_0x16efd4(0x2ee)](),this[_0x16efd4(0x317)](this['_commandService']['onCommandExecuted'](_0x2c3eef=>{const _0x965a8f=_0x16efd4;if(this[_0x965a8f(0x23d)]&&_0x2c3eef['id']===_0x3e965a[_0x965a8f(0x120)]['id']&&_0x2c3eef[_0x965a8f(0x254)][_0x965a8f(0x398)]===this['unitID']){const _0x1176ac=_0x2c3eef['params'];this['_updateLocalCursor'](_0x1176ac[_0x965a8f(0x301)],_0x1176ac[_0x965a8f(0x1bb)][0x0]);}})));}[_0x5c209d(0x31b)](_0x3d077b){const _0x542493=_0x5c209d;var _0x478666,_0x1ba0b4;const {memberID:_0x501477,selection:_0x2ebba7}=_0x3d077b[_0x542493(0xff)],{sheetName:_0x12ee00,range:_0x331ecf}=_0x35bdcb['deserializeRangeWithSheet'](_0x2ebba7),_0x24206f={'name':(_0x1ba0b4=(_0x478666=this[_0x542493(0x259)]['getMember'](this[_0x542493(0x1bd)],_0x501477))==null?void 0x0:_0x478666[_0x542493(0x309)])!=null?_0x1ba0b4:_0x542493(0xd6),'range':this['_getMergeRange'](_0x12ee00,_0x331ecf),'sheetID':_0x12ee00,'color':this[_0x542493(0x2d7)][_0x542493(0x2b0)](_0x501477),'selection':_0x2ebba7},_0x54027a=this[_0x542493(0x33a)];_0x54027a['set'](_0x501477,_0x24206f),this[_0x542493(0x11f)][_0x542493(0x11e)](_0x54027a);}[_0x5c209d(0x2bb)](_0x4c2369){const _0x46be28=_0x5c209d,{memberID:_0x4b62cf}=_0x4c2369[_0x46be28(0xff)],_0x2827f6=this[_0x46be28(0x33a)];_0x2827f6[_0x46be28(0x1e9)](_0x4b62cf),this[_0x46be28(0x11f)][_0x46be28(0x11e)](_0x2827f6);}[_0x5c209d(0x322)](_0x3f6b46,_0x5a29a7){const _0x40f13c=_0x5c209d;var _0x292d41,_0x50bc19;const _0x4a0059=(_0x50bc19=(_0x292d41=this[_0x40f13c(0x289)]['getUniverSheetInstance'](this[_0x40f13c(0x1bd)]))==null?void 0x0:_0x292d41[_0x40f13c(0x179)](_0x3f6b46))==null?void 0x0:_0x50bc19[_0x40f13c(0x30d)]();return(_0x4a0059==null?void 0x0:_0x4a0059[_0x40f13c(0x25d)](_0x27d957=>_0x53f004['Rectangle'][_0x40f13c(0x196)](_0x27d957,_0x5a29a7)))||_0x5a29a7;}['_onRefRangeChange'](){const _0x39467a=_0x5c209d,_0x51e8f6=new _0x53f004[(_0x39467a(0x305))](),_0x1d1a1a=_0x49dc8f(),_0x5da5f1=()=>{const _0x38e8bd=_0x39467a;_0x51e8f6[_0x38e8bd(0x119)]();const _0x7afd73=(_0x155f14,_0x688f3f,_0x41a23e,_0x1dda8a)=>{const _0xe64acf=_0x38e8bd;let _0x762614=[];switch(_0x155f14['id']){case _0x3e965a[_0xe64acf(0x2fd)][_0xe64acf(0xe2)]:{_0x762614=_0x3e965a[_0xe64acf(0x10a)](_0x155f14,_0x1dda8a);break;}case _0x3e965a[_0xe64acf(0x2fd)][_0xe64acf(0x137)]:{_0x762614=_0x3e965a[_0xe64acf(0x248)](_0x155f14,_0x1dda8a);break;}case _0x3e965a[_0xe64acf(0x2fd)][_0xe64acf(0x113)]:{_0x762614=_0x3e965a[_0xe64acf(0x149)](_0x155f14,_0x1dda8a);break;}case _0x3e965a['EffectRefRangId'][_0xe64acf(0x35c)]:{_0x762614=_0x3e965a[_0xe64acf(0x273)](_0x155f14,_0x1dda8a);break;}case _0x3e965a[_0xe64acf(0x2fd)]['InsertRangeMoveRightCommandId']:{_0x762614=_0x3e965a['handleInsertRangeMoveRight'](_0x155f14,_0x1dda8a);break;}case _0x3e965a['EffectRefRangId']['InsertRowCommandId']:{_0x762614=_0x3e965a['handleInsertRow'](_0x155f14,_0x1dda8a);break;}case _0x3e965a[_0xe64acf(0x2fd)]['MoveRangeCommandId']:{_0x762614=_0x3e965a[_0xe64acf(0x15c)](_0x155f14,_0x1dda8a);break;}case _0x3e965a[_0xe64acf(0x2fd)]['RemoveColCommandId']:{_0x762614=_0x3e965a[_0xe64acf(0x1d1)](_0x155f14,_0x1dda8a);break;}case _0x3e965a[_0xe64acf(0x2fd)][_0xe64acf(0x209)]:{_0x762614=_0x3e965a[_0xe64acf(0x1ae)](_0x155f14,_0x1dda8a);break;}}const _0x168278=_0x3e965a[_0xe64acf(0x214)](_0x762614,_0x1dda8a),_0x5b21b0=this[_0xe64acf(0x33a)][_0xe64acf(0x28b)](_0x688f3f);if(_0x5b21b0&&_0x168278){const _0x3c8b59={..._0x5b21b0,'range':_0x168278};this[_0xe64acf(0x33a)][_0xe64acf(0x15a)](_0x688f3f,_0x3c8b59),_0x1d1a1a(()=>{const _0x2ac48a=_0xe64acf,_0x4fa9a4=this[_0x2ac48a(0x1ff)][_0x2ac48a(0x3a1)](_0x168278,_0x112d73=>(_0x4fa9a4[_0x2ac48a(0x119)](),_0x7afd73(_0x112d73,_0x688f3f,_0x41a23e,_0x168278)));_0x51e8f6['add'](_0x4fa9a4);});}return{'redos':[],'undos':[]};};this[_0x38e8bd(0x33a)]['forEach']((_0x29fb6e,_0x18d4d3)=>{const _0x4fb84e=_0x38e8bd,{range:_0x528740,sheetID:_0x3a5b50}=_0x29fb6e,_0x49dfb3=this['_refRangeService'][_0x4fb84e(0x3a1)](_0x528740,_0x156b57=>(_0x49dfb3['dispose'](),_0x7afd73(_0x156b57,_0x18d4d3,_0x3a5b50,_0x528740)));_0x51e8f6[_0x4fb84e(0x12c)](_0x49dfb3);});};this['disposeWithMe'](_0x53f004[_0x39467a(0xfd)](this[_0x39467a(0x11f)][_0x39467a(0x26a)](()=>{_0x5da5f1();})));}['_toggleOnline'](){const _0x261bd0=_0x5c209d;var _0x394b01,_0x56c9a2;if(this[_0x261bd0(0x23d)]=!0x0,((_0x394b01=this[_0x261bd0(0x289)][_0x261bd0(0x182)]())==null?void 0x0:_0x394b01[_0x261bd0(0x25c)]())!==this[_0x261bd0(0x1bd)])return;const _0x430755=(_0x56c9a2=this[_0x261bd0(0x379)][_0x261bd0(0x28b)](_0x3e965a['SheetsSelectionsService'])[_0x261bd0(0x367)]())==null?void 0x0:_0x56c9a2[0x0],_0x22af18=this[_0x261bd0(0x289)]['getCurrentUnitForType'](_0x53f004[_0x261bd0(0x3a4)]['UNIVER_SHEET'])['getActiveSheet']();_0x430755&&_0x22af18&&this['_updateLocalCursor'](_0x22af18[_0x261bd0(0x304)](),_0x430755);}[_0x5c209d(0x397)](){const _0x5e56cc=_0x5c209d;this[_0x5e56cc(0x23d)]=!0x1;}};_0x5b850e=_0x4033ab([_0x56af7a(0x2,_0x53f004['Inject'](_0x53f004[_0x5c209d(0x24b)])),_0x56af7a(0x3,_0x53f004[_0x5c209d(0x12e)](_0x155ca0)),_0x56af7a(0x4,_0x53f004[_0x5c209d(0x12e)](_0x23cab7[_0x5c209d(0x1a3)])),_0x56af7a(0x5,_0x53f004[_0x5c209d(0x2d1)]),_0x56af7a(0x6,_0x53f004[_0x5c209d(0xf9)]),_0x56af7a(0x7,_0x53f004[_0x5c209d(0x12e)](_0x3e965a[_0x5c209d(0x1cf)]))],_0x5b850e);var _0x3301b5=Object[_0x5c209d(0x2fb)],_0x345f98=(_0x49806d,_0x27e4d6,_0x5f4ec8,_0x5e1a20)=>{const _0x34d18=_0x5c209d;for(var _0x4ba19f=_0x5e1a20>0x1?void 0x0:_0x5e1a20?_0x3301b5(_0x27e4d6,_0x5f4ec8):_0x27e4d6,_0x42d6d3=_0x49806d[_0x34d18(0x377)]-0x1,_0x265097;_0x42d6d3>=0x0;_0x42d6d3--)(_0x265097=_0x49806d[_0x42d6d3])&&(_0x4ba19f=_0x265097(_0x4ba19f)||_0x4ba19f);return _0x4ba19f;},_0x53545e=(_0x329fa0,_0x462632)=>(_0x4dc401,_0x31d30e)=>_0x462632(_0x4dc401,_0x31d30e,_0x329fa0);let _0x32f4d6=class extends _0x53f004['RxDisposable']{constructor(_0x3bad2d,_0x82e5c3,_0x52689d){const _0x13e259=_0x5c209d;super(),_0x21ada4(this,'_entities',new Map()),_0x21ada4(this,'_entityInit$',new _0x57807a[(_0x13e259(0x34f))]()),(this['_univerInstanceService']=_0x3bad2d,this[_0x13e259(0x379)]=_0x82e5c3,this[_0x13e259(0x245)]=_0x52689d,this[_0x13e259(0x2e4)]());}['dispose'](){const _0x40a689=_0x5c209d;super[_0x40a689(0x119)](),this[_0x40a689(0xe8)][_0x40a689(0x159)](),this[_0x40a689(0x30f)][_0x40a689(0x1df)](_0x4ecf42=>_0x4ecf42[_0x40a689(0x119)]());}[_0x5c209d(0x31c)](_0xcbe2d1){const _0x3f89b8=_0x5c209d;return this['_entities']['has'](_0xcbe2d1)?this[_0x3f89b8(0x30f)][_0x3f89b8(0x28b)](_0xcbe2d1)[_0x3f89b8(0x231)]:this[_0x3f89b8(0xe8)]['pipe'](_0x57807a['filter'](_0x17433a=>_0x17433a['unitID']===_0xcbe2d1),_0x57807a['switchMap'](_0x5460f6=>_0x5460f6[_0x3f89b8(0x231)]));}[_0x5c209d(0x2e4)](){const _0xbc9f3d=_0x5c209d;this[_0xbc9f3d(0x289)][_0xbc9f3d(0x335)](_0x53f004[_0xbc9f3d(0x3a4)][_0xbc9f3d(0x1c9)])[_0xbc9f3d(0xca)](_0x57807a[_0xbc9f3d(0x2c0)](this[_0xbc9f3d(0x1d8)]))[_0xbc9f3d(0x26a)](async _0x5f9290=>{const _0x2ee30=_0xbc9f3d,_0x1da1c7=_0x5f9290[_0x2ee30(0x25c)](),_0x47730d=await this[_0x2ee30(0x2e0)](_0x1da1c7);this[_0x2ee30(0xe8)]['next'](_0x47730d),this[_0x2ee30(0x30f)][_0x2ee30(0x15a)](_0x1da1c7,_0x47730d);}),this[_0xbc9f3d(0x289)][_0xbc9f3d(0x335)](_0x53f004[_0xbc9f3d(0x3a4)][_0xbc9f3d(0x3aa)])[_0xbc9f3d(0xca)](_0x57807a[_0xbc9f3d(0x2c0)](this[_0xbc9f3d(0x1d8)]))[_0xbc9f3d(0xca)](_0x57807a[_0xbc9f3d(0x192)](_0x3653c5=>!_0x3653c5[_0xbc9f3d(0x25c)]()['startsWith']('__')))[_0xbc9f3d(0x26a)](async _0x35cff5=>{const _0x19dfa7=_0xbc9f3d,_0x2a6872=_0x35cff5['getUnitId'](),_0x580356=await this['_startDocCollabCursor'](_0x2a6872);this[_0x19dfa7(0xe8)][_0x19dfa7(0x11e)](_0x580356),this['_entities'][_0x19dfa7(0x15a)](_0x2a6872,_0x580356);}),_0x57807a[_0xbc9f3d(0x247)](this[_0xbc9f3d(0x289)]['getTypeOfUnitDisposed$'](_0x53f004[_0xbc9f3d(0x3a4)][_0xbc9f3d(0x3aa)]),this[_0xbc9f3d(0x289)][_0xbc9f3d(0x220)](_0x53f004[_0xbc9f3d(0x3a4)]['UNIVER_SHEET']))[_0xbc9f3d(0xca)](_0x57807a[_0xbc9f3d(0x2c0)](this[_0xbc9f3d(0x1d8)]))[_0xbc9f3d(0x26a)](_0x49e13b=>{const _0x5281c1=_0xbc9f3d,_0x402ef8=_0x49e13b[_0x5281c1(0x25c)](),_0x4fcd66=this['_entities'][_0x5281c1(0x28b)](_0x402ef8);_0x4fcd66&&(_0x4fcd66[_0x5281c1(0x119)](),this[_0x5281c1(0x30f)][_0x5281c1(0x1e9)](_0x402ef8));});}async[_0x5c209d(0x2e0)](_0x2b456c){const _0xd4774c=_0x5c209d,_0x294534=await this['_collabSessionService'][_0xd4774c(0x2fa)](_0x2b456c),_0x20625f=this['_injector'][_0xd4774c(0x195)](_0x5b850e,_0x2b456c,_0x294534);return _0x20625f[_0xd4774c(0x150)](),_0x20625f;}async[_0x5c209d(0x230)](_0x4955fa){const _0x99225=_0x5c209d,_0x173670=await this['_collabSessionService'][_0x99225(0x2fa)](_0x4955fa),_0x2fc404=this[_0x99225(0x379)][_0x99225(0x195)](_0x293d19,_0x4955fa,_0x173670);return _0x2fc404[_0x99225(0x150)](),_0x2fc404;}};_0x32f4d6=_0x345f98([_0x53545e(0x0,_0x53f004[_0x5c209d(0x2d1)]),_0x53545e(0x1,_0x53f004[_0x5c209d(0x12e)](_0x53f004['Injector'])),_0x53545e(0x2,_0x53f004['Inject'](_0x23cab7[_0x5c209d(0x302)]))],_0x32f4d6);const _0x5292dd=0x14,_0x299071=0xc8,_0x4b4553=0x4,_0x224f1e=0x5;function _0x1c18ff(_0x1f392f,_0x258549){const _0x1ab506=_0x5c209d;let {radius:_0x25f197,width:_0x218057,height:_0x3f2d51}=_0x258549;_0x25f197=_0x25f197!=null?_0x25f197:0x0,_0x218057=_0x218057!=null?_0x218057:0x1e,_0x3f2d51=_0x3f2d51!=null?_0x3f2d51:0x1e;let _0x4d1717=0x0,_0x769a86=0x0,_0x3f125e=0x0;_0x4d1717=_0x769a86=_0x3f125e=Math['min'](_0x25f197,_0x218057/0x2,_0x3f2d51/0x2),_0x1f392f['beginPath'](),_0x1f392f[_0x1ab506(0x224)](_0x4d1717,0x0),_0x1f392f['lineTo'](_0x218057-_0x769a86,0x0),_0x1f392f[_0x1ab506(0x345)](_0x218057-_0x769a86,_0x769a86,_0x769a86,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f392f[_0x1ab506(0x2ad)](_0x218057,_0x3f2d51-_0x3f125e),_0x1f392f[_0x1ab506(0x345)](_0x218057-_0x3f125e,_0x3f2d51-_0x3f125e,_0x3f125e,0x0,Math['PI']/0x2,!0x1),_0x1f392f[_0x1ab506(0x2ad)](0x0,_0x3f2d51),_0x1f392f[_0x1ab506(0x2ad)](0x0,_0x4d1717),_0x1f392f[_0x1ab506(0x345)](_0x4d1717,_0x4d1717,_0x4d1717,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f392f[_0x1ab506(0x38c)](),_0x258549[_0x1ab506(0x180)]&&(_0x1f392f[_0x1ab506(0x15e)](),_0x1f392f[_0x1ab506(0x1a1)]=_0x258549[_0x1ab506(0x180)],_0x258549[_0x1ab506(0x331)]===_0x1ab506(0x34d)?_0x1f392f[_0x1ab506(0x180)](_0x1ab506(0x34d)):_0x1f392f[_0x1ab506(0x180)](),_0x1f392f['restore']());}class _0x2424ad extends _0xb6e577['Shape']{constructor(_0x545e1a,_0x208761){const _0x2e8411=_0x5c209d;super(_0x545e1a,_0x208761),_0x21ada4(this,'color'),_0x21ada4(this,_0x2e8411(0x1e8)),(this[_0x2e8411(0x166)]=_0x208761==null?void 0x0:_0x208761['color'],this[_0x2e8411(0x1e8)]=_0x208761==null?void 0x0:_0x208761['text']);}static[_0x5c209d(0x260)](_0x3594bf,_0x2933a8){const _0xa72b93=_0x5c209d,{text:_0x757f74,color:_0x4b9ebf}=_0x2933a8;_0x3594bf[_0xa72b93(0x15e)](),_0x3594bf[_0xa72b93(0x32a)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x50001a=_0x3594bf[_0xa72b93(0x1c0)](_0x757f74)[_0xa72b93(0x3ad)],_0x34b02d=Math[_0xa72b93(0x16b)](_0x50001a+0x2*_0x4b4553,_0x299071);_0x1c18ff(_0x3594bf,{'height':_0x5292dd,'radius':0x4,'width':_0x34b02d,'fill':_0x4b9ebf}),_0x3594bf[_0xa72b93(0x1a1)]=_0xa72b93(0x2e6);const _0x12651a=_0x4b4553,_0x14bd2d=_0x5292dd-_0x224f1e,_0x1a10dc=_0x299071-0x2*_0x4b4553;if(_0x50001a>_0x1a10dc){let _0x90cfcb='',_0x1e9e63=0x0;for(const _0x53403f of _0x757f74){const _0x518f72=_0x3594bf[_0xa72b93(0x1c0)](_0x53403f)[_0xa72b93(0x3ad)];if(_0x1e9e63+_0x518f72<=_0x1a10dc-_0x3594bf[_0xa72b93(0x1c0)]('...')[_0xa72b93(0x3ad)])_0x90cfcb+=_0x53403f,_0x1e9e63+=_0x518f72;else{_0x90cfcb+='...';break;}}_0x3594bf['fillText'](_0x90cfcb,_0x12651a,_0x14bd2d);}else _0x3594bf[_0xa72b93(0x1d0)](_0x757f74,_0x12651a,_0x14bd2d);_0x3594bf[_0xa72b93(0x114)]();}[_0x5c209d(0x38d)](_0x1d6a6a){const _0x5ba814=_0x5c209d;_0x2424ad[_0x5ba814(0x260)](_0x1d6a6a,this);}}const _0x31b31a=_0x5c209d(0x1f2),_0x512947='collab-text-range-',_0x5bb2d1=_0x5c209d(0xee),_0x5533e0=0x6,_0x4239b4=1.5,_0xc4734c=0x4,_0x303224=1.5,_0x2263d1=_0x5c209d(0x315);class _0x29cfe7{constructor(_0x37d36c,_0x525273,_0x2b3f6c,_0xc0ba7c){const _0x3ce183=_0x5c209d;_0x21ada4(this,_0x3ce183(0x14a),[]),_0x21ada4(this,_0x3ce183(0xe3),null),_0x21ada4(this,_0x3ce183(0x36a),null),_0x21ada4(this,_0x3ce183(0x339),null),_0x21ada4(this,_0x3ce183(0x267),null),_0x21ada4(this,_0x3ce183(0x347),null),(this[_0x3ce183(0x2f4)]=_0x37d36c,this['_scene']=_0x525273,this[_0x3ce183(0x175)]=_0x2b3f6c,this[_0x3ce183(0x28d)]=_0xc0ba7c,this[_0x3ce183(0x34c)]());}set[_0x5c209d(0x229)](_0x1da5e3){const _0x29c2f0=_0x5c209d;_0x1da5e3?(this['_anchorDot']&&this[_0x29c2f0(0x339)][_0x29c2f0(0x201)](),this[_0x29c2f0(0x36a)]&&this[_0x29c2f0(0x36a)][_0x29c2f0(0x296)]()):(this['_anchorDot']&&this['_anchorDot'][_0x29c2f0(0x296)](),this[_0x29c2f0(0x36a)]&&this[_0x29c2f0(0x36a)][_0x29c2f0(0x201)]());}[_0x5c209d(0x119)](){const _0x2a736c=_0x5c209d;for(const _0x363d00 of this[_0x2a736c(0x14a)])_0x363d00[_0x2a736c(0x119)]();this[_0x2a736c(0x36a)]&&this[_0x2a736c(0x36a)][_0x2a736c(0x119)](),this[_0x2a736c(0x339)]&&this['_anchorDot'][_0x2a736c(0x119)](),this[_0x2a736c(0xe3)]&&this[_0x2a736c(0xe3)][_0x2a736c(0x119)](),this[_0x2a736c(0x347)]&&this['_eventUnsubscribe']();}[_0x5c209d(0x34c)](){const _0x247b9a=_0x5c209d;var _0x269ce8;const {_docSkeleton:_0x35fc9b,_document:_0x26aa6d}=this,{color:_0x7dc524,name:_0x443eb6,ranges:_0x4eeaeb}=this['_cursor'],_0x2efd52=_0x26aa6d[_0x247b9a(0x2e7)](),{docsLeft:_0x3d0b11,docsTop:_0x2fe584}=_0x2efd52,_0x3687c4=new _0x1f6b42['NodePositionConvertToCursor'](_0x2efd52,_0x35fc9b);for(const {startOffset:_0x27d29f,endOffset:_0x1a09ae,rangeType:_0x5516de,segmentId:_0x22694e,segmentPage:_0x5624f4,collapsed:_0x4221df,isActive:_0x409a61}of _0x4eeaeb){const _0x3c1234=_0x35fc9b[_0x247b9a(0x2e9)](_0x27d29f,!0x0,_0x22694e,_0x5624f4);let _0x38ef3f=_0x35fc9b['findNodePositionByCharIndex'](_0x1a09ae,!0x0,_0x22694e,_0x5624f4);if(_0x38ef3f==null&&(_0x38ef3f=_0x35fc9b[_0x247b9a(0x2e9)](_0x1a09ae-0x1,!0x1,_0x22694e,_0x5624f4)),_0x409a61){const {contentBoxPointGroup:_0x47e944}=_0x3687c4[_0x247b9a(0x211)](_0x38ef3f,_0x38ef3f);if(_0x47e944[_0x247b9a(0x377)]===0x0)continue;this[_0x247b9a(0x2c1)](_0x7dc524,_0x47e944,_0x3d0b11,_0x2fe584,_0x443eb6),this[_0x247b9a(0x347)]=this[_0x247b9a(0x37e)]();}if(_0x3c1234&&_0x38ef3f){if(_0x5516de===_0x53f004[_0x247b9a(0x222)][_0x247b9a(0x17d)]){const _0x2fdc1d=new _0x1f6b42[(_0x247b9a(0x237))](_0x2efd52,_0x35fc9b),{pointGroup:_0x3097e6}=(_0x269ce8=_0x2fdc1d[_0x247b9a(0x211)](_0x3c1234,_0x38ef3f))!=null?_0x269ce8:{};if(_0x3097e6==null||_0x3097e6['length']===0x0)continue;this[_0x247b9a(0x32f)](_0x7dc524,_0x3097e6,_0x3d0b11,_0x2fe584);}else{if(!_0x4221df){const {borderBoxPointGroup:_0x47521a}=_0x3687c4[_0x247b9a(0x211)](_0x3c1234,_0x38ef3f);if(_0x47521a[_0x247b9a(0x377)]===0x0)continue;this[_0x247b9a(0x3a6)](_0x7dc524,_0x47521a,_0x3d0b11,_0x2fe584);}}}}}[_0x5c209d(0x2c1)](_0x286fe7,_0x3cf1b0,_0x3f6fa7,_0x18de8d,_0xb3b562){const _0x200817=_0x5c209d,_0x183e0f=this[_0x200817(0x1b2)](_0x3cf1b0),{left:_0x56f754,top:_0x2a023a,height:_0x4e7620}=_0x183e0f,_0x4f0a04=this[_0x200817(0xf6)](),_0xe18aeb=_0x303224/_0x4f0a04,_0xa46eac=new _0xb6e577[(_0x200817(0x329))](_0x31b31a+_0x53f004[_0x200817(0x168)](_0x5533e0),{'left':_0x56f754+_0x3f6fa7-_0xe18aeb,'top':_0x2a023a+_0x18de8d,'height':_0x4e7620,'width':_0x4239b4,'fill':_0x286fe7||_0xb6e577[_0x200817(0x2eb)](_0x53f004['COLORS'][_0x200817(0x153)],0x0),'strokeWidth':_0xe18aeb,'stroke':_0x2263d1,'evented':!0x0});this['_anchor']=_0xa46eac,this[_0x200817(0x121)][_0x200817(0x1c8)](_0xa46eac,_0x1f6b42[_0x200817(0x29d)]);const _0x17ce07=new _0xb6e577[(_0x200817(0x329))](_0x31b31a+_0x53f004[_0x200817(0x168)](_0x5533e0),{'left':_0x56f754+_0x3f6fa7-_0xe18aeb,'top':_0x2a023a+_0x18de8d-_0xc4734c/0x2,'height':_0xc4734c,'width':_0xc4734c,'fill':_0x286fe7||_0xb6e577[_0x200817(0x2eb)](_0x53f004[_0x200817(0xea)][_0x200817(0x153)],0x0),'strokeWidth':0x0,'stroke':_0x286fe7||_0xb6e577[_0x200817(0x2eb)](_0x53f004['COLORS'][_0x200817(0x153)],0x0),'evented':!0x1});this[_0x200817(0x339)]=_0x17ce07,this['_scene'][_0x200817(0x1c8)](_0x17ce07,_0x1f6b42[_0x200817(0x29d)]);const _0x188094=new _0x2424ad(_0x31b31a+_0x53f004[_0x200817(0x168)](_0x5533e0),{'left':_0x56f754+_0x3f6fa7-_0xe18aeb,'top':_0x2a023a+_0x18de8d-_0x5292dd,'text':_0xb3b562,'color':_0x286fe7});this['_textBubble']=_0x188094,this[_0x200817(0x121)]['addObject'](_0x188094,_0x1f6b42['TEXT_RANGE_LAYER_INDEX']),this[_0x200817(0x229)]=!0x1;}[_0x5c209d(0x37e)](){const _0x2aab1c=_0x5c209d,_0x1cab98=this[_0x2aab1c(0xe3)][_0x2aab1c(0x33c)][_0x2aab1c(0x2a0)](()=>{this['_hover']=!0x0;}),_0x67c038=this[_0x2aab1c(0xe3)][_0x2aab1c(0x343)]['subscribeEvent'](()=>{const _0x36c41f=_0x2aab1c;this[_0x36c41f(0x267)]&&clearTimeout(this[_0x36c41f(0x267)]),this[_0x36c41f(0x267)]=setTimeout(()=>{const _0xecbf0e=_0x36c41f;this[_0xecbf0e(0x229)]=!0x1;},0x7d0);});return()=>{_0x1cab98['unsubscribe'](),_0x67c038['unsubscribe']();};}['_drawTextRange'](_0x540562,_0x3a67b1,_0x1d7c07,_0x2847d7){const _0x37b92e=_0x5c209d,_0x11ea37=new _0x53f004['ColorKit'](_0x540562)[_0x37b92e(0x27d)](0.2)[_0x37b92e(0x1a6)](),_0x1a5f28=new _0xb6e577[(_0x37b92e(0x1c3))](_0x512947+_0x53f004[_0x37b92e(0x168)](_0x5533e0),{'pointsGroup':_0x3a67b1,'fill':_0x11ea37||_0xb6e577[_0x37b92e(0x2eb)](_0x53f004[_0x37b92e(0xea)][_0x37b92e(0x153)],0.2),'left':_0x1d7c07,'top':_0x2847d7,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x37b92e(0x269)](_0x1a5f28),this['_scene'][_0x37b92e(0x1c8)](_0x1a5f28,_0x1f6b42[_0x37b92e(0x29d)]);}[_0x5c209d(0x32f)](_0x49d834,_0x23d8c2,_0x360139,_0x5ba024){const _0x463608=_0x5c209d,_0x515afb=new _0x53f004[(_0x463608(0x1a7))](_0x49d834)[_0x463608(0x27d)](0.2)[_0x463608(0x1a6)](),_0x17b011=new _0xb6e577[(_0x463608(0x1c3))](_0x5bb2d1+_0x53f004[_0x463608(0x168)](_0x5533e0),{'pointsGroup':_0x23d8c2,'fill':_0x515afb||_0xb6e577[_0x463608(0x2eb)](_0x53f004['COLORS']['black'],0.2),'left':_0x360139,'top':_0x5ba024,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x17b011),this['_scene'][_0x463608(0x1c8)](_0x17b011,_0x1f6b42[_0x463608(0x29d)]);}[_0x5c209d(0x1b2)](_0x268f82){const _0x5e5028=_0x268f82[0x0],_0x1642f0=_0x5e5028[0x0],_0x5e9bff=_0x5e5028[0x2],{x:_0x33dc2c,y:_0x551e8d}=_0x1642f0,{x:_0x3aae2b,y:_0x114676}=_0x5e9bff;return{'left':_0x33dc2c,'top':_0x551e8d,'width':_0x3aae2b-_0x33dc2c,'height':_0x114676-_0x551e8d};}[_0x5c209d(0xf6)](){const {scaleX:_0x435c0f,scaleY:_0x214e38}=this['_scene']['getAncestorScale']();return Math['max'](_0x435c0f,_0x214e38);}}var _0x4770e9=Object[_0x5c209d(0x2fb)],_0x1a2483=(_0x4e04f8,_0x4d1da6,_0x3a1403,_0x221d64)=>{const _0xbe3f41=_0x5c209d;for(var _0x30b4d8=_0x221d64>0x1?void 0x0:_0x221d64?_0x4770e9(_0x4d1da6,_0x3a1403):_0x4d1da6,_0x1beee3=_0x4e04f8[_0xbe3f41(0x377)]-0x1,_0x354a3c;_0x1beee3>=0x0;_0x1beee3--)(_0x354a3c=_0x4e04f8[_0x1beee3])&&(_0x30b4d8=_0x354a3c(_0x30b4d8)||_0x30b4d8);return _0x30b4d8;},_0x567710=(_0x3cb3d3,_0x322f1f)=>(_0x441d45,_0x418ba7)=>_0x322f1f(_0x441d45,_0x418ba7,_0x3cb3d3);let _0x325f52=class extends _0x53f004['RxDisposable']{constructor(_0x2ff435,_0xd4ff0c,_0x3c8cb8,_0x5eeb8f,_0x16ea27){const _0x48f13a=_0x5c209d;super(),_0x21ada4(this,_0x48f13a(0x2cc),[]),_0x21ada4(this,'_cursors',[]),(this['_context']=_0x2ff435,this[_0x48f13a(0x101)]=_0xd4ff0c,this[_0x48f13a(0x240)]=_0x3c8cb8,this[_0x48f13a(0x328)]=_0x5eeb8f,this[_0x48f13a(0x389)]=_0x16ea27,this[_0x48f13a(0x2e4)]());}[_0x5c209d(0x2e4)](){const _0x32411d=_0x5c209d,_0x114921=this[_0x32411d(0x215)][_0x32411d(0x398)],_0x2fd8e0=this['_docSkeletonManagerService'];this[_0x32411d(0x317)](_0x57807a['combineLatest']([this[_0x32411d(0x240)][_0x32411d(0x31c)](_0x114921),this[_0x32411d(0x389)][_0x32411d(0x186)]])[_0x32411d(0xca)](_0x54a445['map'](([_0x496232,_0x1c42f9])=>({'skeleton':_0x2fd8e0[_0x32411d(0x207)](),'cursors':[..._0x496232[_0x32411d(0x212)]()][_0x32411d(0x312)](_0x1870d8=>({..._0x1870d8,'color':this[_0x32411d(0x389)][_0x32411d(0xf7)](_0x1870d8['color'])}))})))[_0x32411d(0x26a)](_0x19b0fa=>{const _0x2def24=_0x32411d;if(this[_0x2def24(0x181)](),_0x19b0fa){const {skeleton:_0x572b87,cursors:_0x32171c}=_0x19b0fa;this[_0x2def24(0x28f)](_0x572b87,_0x32171c);}})),this[_0x32411d(0x26c)](),this['_initCommandExecutedListener']();}[_0x5c209d(0x28f)](_0x117061,_0x297f95){const _0x71382f=_0x5c209d,{scene:_0x35f2a9,mainComponent:_0x2396a8}=this[_0x71382f(0x215)],_0x414571=_0x297f95['map'](_0x81de06=>new _0x29cfe7(_0x81de06,_0x35f2a9,_0x117061,_0x2396a8));this['_cursorShapes']=_0x414571,this[_0x71382f(0x18b)]=_0x297f95;}['_refreshCollabCursors'](){const _0x313a19=_0x5c209d;this[_0x313a19(0x181)]();const {scene:_0x1a090f,mainComponent:_0x2bb3fc}=this[_0x313a19(0x215)],_0x17a08a=this[_0x313a19(0x101)][_0x313a19(0x207)](),_0xf3cfc2=this['_cursors'][_0x313a19(0x244)](_0x10ad21=>new _0x29cfe7(_0x10ad21,_0x1a090f,_0x17a08a,_0x2bb3fc));this[_0x313a19(0x2cc)]=_0xf3cfc2;}[_0x5c209d(0x181)](){const _0x322ed1=_0x5c209d;this[_0x322ed1(0x2cc)][_0x322ed1(0x1df)](_0xb6708=>_0xb6708['dispose']()),this['_cursorShapes']=[];}[_0x5c209d(0x333)](){const _0x1baea9=_0x5c209d,_0x460c6b=[_0x1f6b42[_0x1baea9(0x251)]['id']];this[_0x1baea9(0x317)](this[_0x1baea9(0x328)][_0x1baea9(0x374)](_0x2c19b4=>{const _0x89c1af=_0x1baea9;_0x460c6b[_0x89c1af(0xf2)](_0x2c19b4['id'])&&_0x2c19b4[_0x89c1af(0x254)][_0x89c1af(0x398)]===this[_0x89c1af(0x215)][_0x89c1af(0x398)]&&this[_0x89c1af(0x2db)]();}));}['_initResize'](){const _0x468f40=_0x5c209d;this[_0x468f40(0x317)](_0x53f004[_0x468f40(0x2f1)](this[_0x468f40(0x215)][_0x468f40(0x378)][_0x468f40(0xec)])['pipe'](_0x54a445[_0x468f40(0x192)](_0x35f9a2=>_0x35f9a2[_0x468f40(0xe1)]===_0xb6e577[_0x468f40(0x37c)][_0x468f40(0x1c7)]),_0x54a445[_0x468f40(0x33e)](0x10))[_0x468f40(0x26a)](()=>{const _0x426430=_0x468f40;this[_0x426430(0x2db)]();}));}};_0x325f52=_0x1a2483([_0x567710(0x1,_0x53f004['Inject'](_0x1f2059[_0x5c209d(0x30a)])),_0x567710(0x2,_0x53f004['Inject'](_0x32f4d6)),_0x567710(0x3,_0x53f004[_0x5c209d(0xf9)]),_0x567710(0x4,_0x53f004[_0x5c209d(0x12e)](_0x53f004[_0x5c209d(0x227)]))],_0x325f52);const _0x1efd33=0x1,_0x2e513f=1.5;class _0x4188d9 extends _0xb6e577['Shape']{constructor(_0x4aed5e,_0x2bf806){const _0x3e40ba=_0x5c209d;super(_0x4aed5e,_0x2bf806),_0x21ada4(this,_0x3e40ba(0xe7)),_0x21ada4(this,_0x3e40ba(0x307),!0x1),_0x21ada4(this,_0x3e40ba(0x18f)),_0x21ada4(this,_0x3e40ba(0x2f6),''),_0x21ada4(this,_0x3e40ba(0x341),_0x3e40ba(0x2b9)),_0x21ada4(this,_0x3e40ba(0xe6)),(_0x2bf806&&this[_0x3e40ba(0x22d)](_0x2bf806),this['onPointerEnter$'][_0x3e40ba(0x2a0)](()=>this[_0x3e40ba(0x22d)]({'hovered':!0x0})),this[_0x3e40ba(0x343)][_0x3e40ba(0x2a0)](()=>this[_0x3e40ba(0x22d)]({'hovered':!0x1})));}[_0x5c209d(0x22d)](_0x70de9c){const _0x1c0a8f=_0x5c209d;var _0x112a00,_0x543349,_0x38124d,_0x4a4672,_0x919464,_0x174e6b;this[_0x1c0a8f(0xe7)]=(_0x112a00=_0x70de9c[_0x1c0a8f(0x166)])!=null?_0x112a00:this[_0x1c0a8f(0xe7)],this['_hovered']=(_0x543349=_0x70de9c[_0x1c0a8f(0x174)])!=null?_0x543349:this['_hovered'],this[_0x1c0a8f(0x18f)]=(_0x38124d=_0x70de9c[_0x1c0a8f(0x3ab)])!=null?_0x38124d:this['_range'],this[_0x1c0a8f(0x2f6)]=(_0x4a4672=_0x70de9c['name'])!=null?_0x4a4672:this[_0x1c0a8f(0x2f6)],this[_0x1c0a8f(0x341)]=(_0x919464=_0x70de9c['labelPosition'])!=null?_0x919464:this[_0x1c0a8f(0x341)],this[_0x1c0a8f(0xe6)]=(_0x174e6b=_0x70de9c[_0x1c0a8f(0x396)])!=null?_0x174e6b:this[_0x1c0a8f(0xe6)],this[_0x1c0a8f(0xde)]({'width':_0x70de9c[_0x1c0a8f(0x3ad)],'height':_0x70de9c['height']});}[_0x5c209d(0xda)](_0x2bc9ae){const _0x49eed3=_0x5c209d,{row:_0x57eb12,column:_0x94992b}=_0x2bc9ae;if(_0x57eb12>=this[_0x49eed3(0x18f)][_0x49eed3(0x3a5)]&&_0x57eb12<=this[_0x49eed3(0x18f)][_0x49eed3(0x1dd)]&&_0x94992b>=this[_0x49eed3(0x18f)][_0x49eed3(0x1cb)]&&_0x94992b<=this[_0x49eed3(0x18f)]['endColumn']){this[_0x49eed3(0x22d)]({'hovered':!0x0});return;}this[_0x49eed3(0x22d)]({'hovered':!0x1});}[_0x5c209d(0x14d)](_0xd8c111){return!0x1;}['_draw'](_0x3aab17){const _0x1480ec=_0x5c209d;_0xb6e577[_0x1480ec(0x329)][_0x1480ec(0x260)](_0x3aab17,{'width':this[_0x1480ec(0x3ad)],'height':this[_0x1480ec(0x391)],'strokeWidth':_0x2e513f,'stroke':this[_0x1480ec(0xe7)],'evented':!0x1,'fill':this[_0x1480ec(0xe6)]}),this[_0x1480ec(0x307)]&&(_0x3aab17[_0x1480ec(0x15e)](),_0x3aab17[_0x1480ec(0x193)](0x1,0x0,0x0,0x1,this[_0x1480ec(0x3ad)],this[_0x1480ec(0x341)]===_0x1480ec(0x19c)?0x0:-_0x5292dd),_0x2424ad[_0x1480ec(0x260)](_0x3aab17,{'text':this['_name'],'color':this[_0x1480ec(0xe7)]}),_0x3aab17[_0x1480ec(0x114)]());}}var _0x1fa26d=Object[_0x5c209d(0x2fb)],_0x680518=(_0x493b4d,_0x5e766f,_0x3e3ea6,_0x11207b)=>{const _0x180484=_0x5c209d;for(var _0x517db8=_0x11207b>0x1?void 0x0:_0x11207b?_0x1fa26d(_0x5e766f,_0x3e3ea6):_0x5e766f,_0x515a49=_0x493b4d[_0x180484(0x377)]-0x1,_0x529736;_0x515a49>=0x0;_0x515a49--)(_0x529736=_0x493b4d[_0x515a49])&&(_0x517db8=_0x529736(_0x517db8)||_0x517db8);return _0x517db8;},_0x2b676c=(_0x4e72d6,_0x21b898)=>(_0x5607cd,_0x1b3a47)=>_0x21b898(_0x5607cd,_0x1b3a47,_0x4e72d6);const _0x1ad5eb=0x1389;let _0x454a7a=class extends _0x53f004[_0x5c209d(0x115)]{constructor(_0x5ba3a9,_0x248221,_0x185457,_0x4e1c10){const _0x2370bc=_0x5c209d;super(),_0x21ada4(this,'_cursors',new Set()),_0x21ada4(this,_0x2370bc(0x3a2),null),(this['_context']=_0x5ba3a9,this[_0x2370bc(0x268)]=_0x248221,this['_collabCursorController']=_0x185457,this[_0x2370bc(0x389)]=_0x4e1c10,this[_0x2370bc(0x2e4)]());}[_0x5c209d(0x2e4)](){const _0x417e51=_0x5c209d;this[_0x417e51(0x268)][_0x417e51(0xd0)]['pipe'](_0x54a445[_0x417e51(0x2c0)](this['dispose$']),_0x54a445[_0x417e51(0x27f)](_0x297244=>{const _0x35a56d=_0x417e51;if(_0x297244){const _0x42d322=_0x297244[_0x35a56d(0x1fa)];return _0x57807a['combineLatest'](this[_0x35a56d(0x240)][_0x35a56d(0x31c)](this[_0x35a56d(0x215)][_0x35a56d(0x398)]),this['_themeService']['currentTheme$'])[_0x35a56d(0xca)](_0x54a445[_0x35a56d(0x244)](([_0x356db7,_0x15467d])=>{const _0x1b1bd5=_0x35a56d,_0x465939=new Map();return _0x356db7[_0x1b1bd5(0x1df)]((_0x34e7a6,_0x31eb84)=>{const _0x743425=_0x1b1bd5;if(_0x34e7a6[_0x743425(0x1b5)]===_0x42d322){const _0x45d727={..._0x34e7a6};_0x45d727[_0x743425(0x166)]=this[_0x743425(0x389)][_0x743425(0xf7)](_0x34e7a6['color']),_0x465939[_0x743425(0x15a)](_0x31eb84,_0x45d727);}}),{'skeleton':_0x297244,'cursors':_0x465939};}));}return _0x57807a['of']({'skeleton':null,'cursors':new Map()});}))[_0x417e51(0x26a)](({skeleton:_0x558b17,cursors:_0x24b30f})=>{const _0x4e4279=_0x417e51;this[_0x4e4279(0x181)](),_0x558b17&&this[_0x4e4279(0x28f)](_0x558b17,_0x24b30f);}),this['_sheetSkeletonManagerService'][_0x417e51(0xd0)][_0x417e51(0x26a)](_0x28f48d=>{const _0x593a1d=_0x417e51;if(_0x28f48d==null)return;const {skeleton:_0x482ae9}=_0x28f48d,{scene:_0x45233c}=this[_0x593a1d(0x215)];_0x45233c[_0x593a1d(0x11a)][_0x593a1d(0x2a0)](_0x53f004[_0x593a1d(0x2a7)](_0x41d9e1=>{const _0x4c7a3e=_0x593a1d;var _0x584bb7,_0x3d509f;const {offsetX:_0x12444c,offsetY:_0x57d6f6}=_0x41d9e1,{x:_0x47a748,y:_0x5d5156}=_0x45233c[_0x4c7a3e(0x19a)](_0xb6e577[_0x4c7a3e(0x24c)][_0x4c7a3e(0x3a8)]([_0x12444c,_0x57d6f6])),{scaleX:_0x57f72d,scaleY:_0x535978}=_0x45233c[_0x4c7a3e(0x313)](),_0x5079f2=_0x45233c[_0x4c7a3e(0x2a4)](_0xb6e577[_0x4c7a3e(0x246)][_0x4c7a3e(0x197)]),_0x349183=_0x45233c[_0x4c7a3e(0x382)](_0xb6e577['Vector2'][_0x4c7a3e(0x3a8)]([_0x47a748,_0x5d5156]),_0x5079f2),_0x16b8d0=_0x482ae9[_0x4c7a3e(0xe4)](_0x12444c,_0x57d6f6,_0x57f72d,_0x535978,_0x349183);((_0x584bb7=this[_0x4c7a3e(0x3a2)])==null?void 0x0:_0x584bb7[_0x4c7a3e(0x2fe)])===_0x16b8d0[_0x4c7a3e(0x2fe)]&&((_0x3d509f=this[_0x4c7a3e(0x3a2)])==null?void 0x0:_0x3d509f[_0x4c7a3e(0x2b2)])===_0x16b8d0[_0x4c7a3e(0x2b2)]||this['_cursors'][_0x4c7a3e(0x1df)](_0x40ea0e=>{const _0x57a965=_0x4c7a3e;_0x40ea0e[_0x57a965(0xda)](_0x16b8d0);});},0x64));});}['_updateCollabCursors'](_0xac53a4,_0x289ee3){const _0x1fd1f3=_0x5c209d;var _0x142112;const _0x53c60c=(_0x142112=this[_0x1fd1f3(0x268)]['getCurrent']())==null?void 0x0:_0x142112['skeleton'];if(!_0x53c60c)return;const _0x25a270=this[_0x1fd1f3(0x253)]();if(!_0x25a270)return;this[_0x1fd1f3(0x18b)][_0x1fd1f3(0x1df)](_0x30d173=>{const _0x9e304=_0x1fd1f3;_0x30d173[_0x9e304(0x327)]();});const {scene:_0x302bf5}=_0x25a270,_0x14744c=_0x3b7a39(Array[_0x1fd1f3(0xfb)](_0x289ee3['values']()))[_0x1fd1f3(0x244)](_0x47b5d2=>{const _0x11bbcb=_0x1fd1f3,{color:_0x43e97c,range:_0x25b9e6,name:_0xdbe2e7,selection:_0x5935fc,sheetID:_0x39233b}=_0x47b5d2,{startColumn:_0x370dce,startRow:_0x24437c,endColumn:_0x147304,endRow:_0x208dd2}=_0x25b9e6,_0x62eafb=_0x303be3[_0x11bbcb(0x29a)](_0x24437c,_0x370dce,_0x302bf5,_0x53c60c),_0x2cb7f9=_0x303be3[_0x11bbcb(0x29a)](_0x208dd2,_0x147304,_0x302bf5,_0x53c60c),{columnHeaderHeightAndMarginTop:_0x3bc903}=_0x53c60c,{startX:_0x5ea821,startY:_0x328302}=_0x62eafb,{endX:_0x49ddb5,endY:_0x352761}=_0x2cb7f9,_0x202dfc=_0x49ddb5-_0x5ea821,_0x40a3bf=_0x352761-_0x328302,_0x3771fc={'labelPosition':_0x328302-_0x3bc903>=_0x5292dd?_0x11bbcb(0x2b9):_0x11bbcb(0x19c),'sheetID':_0x39233b,'range':_0x25b9e6,'color':_0x43e97c,'name':_0xdbe2e7,'selection':_0x5935fc,'left':_0x5ea821,'top':_0x328302,'width':_0x202dfc,'height':_0x40a3bf,'evented':!0x1,'zIndex':_0x1ad5eb};return new _0x4188d9(_0xdbe2e7,_0x3771fc);});_0x302bf5[_0x1fd1f3(0x18d)](_0x14744c,_0x1efd33),this['_cursors']=new Set(_0x14744c);}[_0x5c209d(0x181)](){const _0x404a69=_0x5c209d;var _0x1c251;(_0x1c251=this[_0x404a69(0x18b)])==null||_0x1c251[_0x404a69(0x1df)](_0x2c690f=>_0x2c690f[_0x404a69(0x119)]());}[_0x5c209d(0x253)](){const _0x14d80d=_0x5c209d;return _0x303be3[_0x14d80d(0x219)](this[_0x14d80d(0x215)][_0x14d80d(0x202)],this[_0x14d80d(0x215)]);}};_0x454a7a=_0x680518([_0x2b676c(0x1,_0x53f004[_0x5c209d(0x12e)](_0x303be3[_0x5c209d(0x2ab)])),_0x2b676c(0x2,_0x53f004['Inject'](_0x32f4d6)),_0x2b676c(0x3,_0x53f004['Inject'](_0x53f004[_0x5c209d(0x227)]))],_0x454a7a);function _0x3b7a39(_0x591b9d){const _0x417a4f=_0x5c209d,_0x235cbb=new Map();return _0x591b9d[_0x417a4f(0x1df)](_0x371112=>{const _0x40b0fd=_0x417a4f;if(_0x235cbb[_0x40b0fd(0x141)](_0x371112[_0x40b0fd(0x2e3)])){const _0x4b028e=_0x235cbb[_0x40b0fd(0x28b)](_0x371112[_0x40b0fd(0x2e3)]);_0x4b028e[_0x40b0fd(0x309)]+=',\x20'+_0x371112[_0x40b0fd(0x309)];}else _0x235cbb[_0x40b0fd(0x15a)](_0x371112[_0x40b0fd(0x2e3)],_0x371112);}),Array[_0x417a4f(0xfb)](_0x235cbb[_0x417a4f(0x212)]());}var _0x54b085=Object[_0x5c209d(0x2fb)],_0x5527b2=(_0x22d567,_0xf81dbb,_0x34cd3f,_0x350641)=>{const _0x192250=_0x5c209d;for(var _0x76506f=_0x350641>0x1?void 0x0:_0x350641?_0x54b085(_0xf81dbb,_0x34cd3f):_0xf81dbb,_0x4255a5=_0x22d567[_0x192250(0x377)]-0x1,_0x3d7dbf;_0x4255a5>=0x0;_0x4255a5--)(_0x3d7dbf=_0x22d567[_0x4255a5])&&(_0x76506f=_0x3d7dbf(_0x76506f)||_0x76506f);return _0x76506f;},_0x11c467=(_0x11f970,_0x4f46ec)=>(_0x209a3d,_0xb6327)=>_0x4f46ec(_0x209a3d,_0xb6327,_0x11f970);let _0x26be6b=class extends _0x53f004[_0x5c209d(0x131)]{constructor(_0x539709,_0x4d014d,_0x29a488,_0x30ca32,_0xd6987e,_0x4d6be5){const _0x26c0f0=_0x5c209d;super(),this[_0x26c0f0(0xc8)]=_0x539709,this[_0x26c0f0(0x173)]=_0x4d014d,this['_collaborationUIEventService']=_0x29a488,this['_messageService']=_0x30ca32,this[_0x26c0f0(0x293)]=_0xd6987e,this[_0x26c0f0(0x37f)]=_0x4d6be5,this[_0x26c0f0(0x2bd)](),this['_initEvent']();}[_0x5c209d(0x2bd)](){const _0xf5b636=_0x5c209d;this[_0xf5b636(0x317)](this[_0xf5b636(0xc8)][_0xf5b636(0x1eb)](()=>{const _0x3b7f3b=_0xf5b636;if(this[_0x3b7f3b(0x173)][_0x3b7f3b(0x353)][_0x3b7f3b(0x2fc)])return this[_0x3b7f3b(0x37f)]['t'](_0x3b7f3b(0x38e));}));}[_0x5c209d(0x303)](){const _0x41a1ff=_0x5c209d;this[_0x41a1ff(0x317)](this['_collaborationUIEventService'][_0x41a1ff(0x17f)][_0x41a1ff(0x26a)](_0x5c9e35=>{const _0x17bb88=_0x41a1ff;_0x5c9e35['id']===_0x23cab7[_0x17bb88(0x351)][_0x17bb88(0x34a)]&&this['_messageService'][_0x17bb88(0x296)]({'type':_0x25f8a4[_0x17bb88(0x369)]['Warning'],'content':this['_localeService']['t'](_0x17bb88(0x13a))}),_0x5c9e35['id']===_0x23cab7[_0x17bb88(0x351)][_0x17bb88(0xe5)]&&this[_0x17bb88(0x365)][_0x17bb88(0x296)]({'type':_0x25f8a4[_0x17bb88(0x369)]['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x5c9e35['id']===_0x23cab7[_0x17bb88(0x351)]['PERMISSION_DENIED']&&this[_0x17bb88(0x293)]['show']({'title':this['_localeService']['t'](_0x17bb88(0x272)),'content':this[_0x17bb88(0x37f)]['t'](_0x17bb88(0x295)),'type':'error','duration':0x0}),_0x5c9e35['id']===_0x23cab7[_0x17bb88(0x351)]['CONFLICT']&&this['_messageService'][_0x17bb88(0x296)]({'type':_0x25f8a4[_0x17bb88(0x369)][_0x17bb88(0x2e5)],'content':this['_localeService']['t'](_0x17bb88(0x258))+'('+_0x5c9e35['data']+')'}),_0x5c9e35['id']===_0x23cab7[_0x17bb88(0x351)][_0x17bb88(0x250)]&&this['_messageService'][_0x17bb88(0x296)]({'type':_0x25f8a4[_0x17bb88(0x369)][_0x17bb88(0x160)],'content':this[_0x17bb88(0x37f)]['t'](_0x5c9e35['data']||'')}),_0x5c9e35['id']===_0x23cab7[_0x17bb88(0x351)][_0x17bb88(0x2d5)]&&this[_0x17bb88(0x365)][_0x17bb88(0x296)]({'type':_0x25f8a4['MessageType']['Warning'],'content':this[_0x17bb88(0x37f)]['t']('session.will-retry')}),_0x5c9e35['id']===_0x23cab7['CollaborationUIEventId'][_0x17bb88(0x330)]&&this[_0x17bb88(0x365)]['show']({'type':_0x25f8a4['MessageType'][_0x17bb88(0x2e5)],'content':this[_0x17bb88(0x37f)]['t'](_0x17bb88(0x23e))}),_0x5c9e35['id']===_0x23cab7[_0x17bb88(0x351)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x17bb88(0x365)][_0x17bb88(0x296)]({'type':_0x25f8a4[_0x17bb88(0x369)][_0x17bb88(0x2e5)],'content':this[_0x17bb88(0x37f)]['t'](_0x17bb88(0x20c))});}));}};_0x26be6b=_0x5527b2([_0x11c467(0x0,_0x105fcf[_0x5c209d(0xcc)]),_0x11c467(0x1,_0x23cab7[_0x5c209d(0x1b1)]),_0x11c467(0x2,_0x53f004['Inject'](_0x23cab7['CollaborationUIEventService'])),_0x11c467(0x3,_0x105fcf[_0x5c209d(0xd7)]),_0x11c467(0x4,_0x105fcf['INotificationService']),_0x11c467(0x5,_0x53f004[_0x5c209d(0x12e)](_0x53f004[_0x5c209d(0x116)]))],_0x26be6b);var _0x64ed15=Object[_0x5c209d(0x2fb)],_0x518c5d=(_0x457ea2,_0xdc3021,_0x92814e,_0x3bc85d)=>{const _0x539b22=_0x5c209d;for(var _0x2e6f70=_0x3bc85d>0x1?void 0x0:_0x3bc85d?_0x64ed15(_0xdc3021,_0x92814e):_0xdc3021,_0x12a7de=_0x457ea2[_0x539b22(0x377)]-0x1,_0x2e6aa9;_0x12a7de>=0x0;_0x12a7de--)(_0x2e6aa9=_0x457ea2[_0x12a7de])&&(_0x2e6f70=_0x2e6aa9(_0x2e6f70)||_0x2e6f70);return _0x2e6f70;},_0x5a25df=(_0x10db13,_0x3174f6)=>(_0x88adde,_0x59ffc9)=>_0x3174f6(_0x88adde,_0x59ffc9,_0x10db13);let _0x54f861=class extends _0x53f004[_0x5c209d(0x131)]{constructor(_0x3f4866,_0x4bf102,_0x48d929,_0x288ac6){const _0x4748bf=_0x5c209d;super(),_0x21ada4(this,_0x4748bf(0x132)),(this[_0x4748bf(0x379)]=_0x3f4866,this['_httpService']=_0x4bf102,this[_0x4748bf(0x148)]=_0x48d929,this[_0x4748bf(0x210)]=_0x288ac6,this['_init']());}[_0x5c209d(0x2e4)](){const _0x4992f6=_0x5c209d;this['_initWindowErrorListener'](),this[_0x4992f6(0x21c)](),this[_0x4992f6(0x146)](),this[_0x4992f6(0x1fe)]();}[_0x5c209d(0x1fe)](){const _0x3022c7=_0x5c209d;this[_0x3022c7(0x317)](this[_0x3022c7(0x210)][_0x3022c7(0x288)][_0x3022c7(0x26a)](_0x5340cf=>{const _0x70656a=_0x3022c7;this[_0x70656a(0x132)]=_0x5340cf==null?void 0x0:_0x5340cf[_0x70656a(0x290)];}));}[_0x5c209d(0x311)](){const _0x51ea78=_0x10bf74=>{const _0x3c4af8=_0x1146;var _0xce1573;this[_0x3c4af8(0x26f)](_0x3c4af8(0x297),'[Window\x20Error]:\x20'+_0x10bf74[_0x3c4af8(0x261)]+_0x3c4af8(0x366)+_0x10bf74[_0x3c4af8(0x20e)]+':'+_0x10bf74['lineno']+':'+_0x10bf74[_0x3c4af8(0x32c)]+'\x0a'+(((_0xce1573=_0x10bf74['error'])==null?void 0x0:_0xce1573['stack'])||''));};window['addEventListener']('error',_0x51ea78),this['disposeWithMe'](()=>{const _0x5092fe=_0x1146;window[_0x5092fe(0x139)](_0x5092fe(0x297),_0x51ea78);});}[_0x5c209d(0x21c)](){const _0xce0df6=_0x5c209d,_0x104d28=_0x4288d9=>{const _0xe08dad=_0x1146;this[_0xe08dad(0x26f)](_0xe08dad(0x297),'[Unhandled\x20Rejection]:\x20'+_0x4288d9[_0xe08dad(0x263)]);};window[_0xce0df6(0x125)](_0xce0df6(0x324),_0x104d28),this[_0xce0df6(0x317)](()=>{const _0x29f9f4=_0xce0df6;window[_0x29f9f4(0x139)](_0x29f9f4(0x324),_0x104d28);});}['_monkeyPatchLogService'](){const _0x304de9=_0x5c209d,_0x274505=this[_0x304de9(0x148)][_0x304de9(0x297)]['bind'](this[_0x304de9(0x148)]);this['_logService'][_0x304de9(0x297)]=(..._0x41c871)=>{const _0x57e8e8=_0x304de9,_0x5bb5d8=_0x41c871[_0x57e8e8(0x244)](_0x32ce68=>_0x32ce68 instanceof Error?_0x32ce68['message']+'\x0a'+_0x32ce68[_0x57e8e8(0x133)]:String(_0x32ce68))['join']('\x20');this['_uploadLog'](_0x57e8e8(0x297),_0x57e8e8(0x147)+_0x5bb5d8),_0x274505(..._0x41c871);},this[_0x304de9(0x317)](()=>{const _0x467525=_0x304de9;this[_0x467525(0x148)][_0x467525(0x297)]=_0x274505;});}[_0x5c209d(0x26f)](_0x338c8b,_0x28a66b){const _0x5bd682=_0x5c209d;try{const _0x2e9668={'userId':this[_0x5bd682(0x132)],'logLabel':_0x338c8b,'content':_0x28a66b};this[_0x5bd682(0x167)][_0x5bd682(0x138)](_0x5bd682(0x39f),{'body':_0x2e9668})[_0x5bd682(0x118)](()=>{});}catch{}}};_0x54f861=_0x518c5d([_0x5a25df(0x0,_0x53f004['Inject'](_0x53f004[_0x5c209d(0x24b)])),_0x5a25df(0x1,_0x53f004[_0x5c209d(0x12e)](_0x460d3f['HTTPService'])),_0x5a25df(0x2,_0x53f004[_0x5c209d(0x204)]),_0x5a25df(0x3,_0x53f004[_0x5c209d(0x12e)](_0x23cab7[_0x5c209d(0x302)]))],_0x54f861);const _0x1639ee='collaboration-client-ui.config',_0x119210={};var _0x3f4de7=Object[_0x5c209d(0x2fb)],_0x11388e=(_0x3c8091,_0x273ddd,_0x54a404,_0x401e83)=>{const _0x30a281=_0x5c209d;for(var _0x15962d=_0x401e83>0x1?void 0x0:_0x401e83?_0x3f4de7(_0x273ddd,_0x54a404):_0x273ddd,_0x99715=_0x3c8091[_0x30a281(0x377)]-0x1,_0x53f714;_0x99715>=0x0;_0x99715--)(_0x53f714=_0x3c8091[_0x99715])&&(_0x15962d=_0x53f714(_0x15962d)||_0x15962d);return _0x15962d;},_0x3d828a=(_0x29be95,_0x21a0a8)=>(_0x1467a1,_0x57d3e9)=>_0x21a0a8(_0x1467a1,_0x57d3e9,_0x29be95);let _0x5a407c=class{constructor(_0x225ee3,_0x463a6e){const _0x28c9f3=_0x5c209d;this[_0x28c9f3(0x29f)]=_0x225ee3,this[_0x28c9f3(0x337)]=_0x463a6e;}[_0x5c209d(0x31a)](_0x288bb3){const _0x3e8e6a=_0x5c209d;this['_transformUndoRedoStack'](_0x288bb3),this[_0x3e8e6a(0x136)](_0x288bb3);}[_0x5c209d(0x376)](_0x2bae7b){const _0x3cd3a9=_0x5c209d,{unitID:_0x153fd0}=_0x2bae7b,_0x1b0ade=this[_0x3cd3a9(0x337)][_0x3cd3a9(0x2ae)](_0x153fd0)[_0x3cd3a9(0x32e)](_0x1f6b42[_0x3cd3a9(0x16c)]),{redoCache:_0xab4435}=_0x1b0ade[_0x3cd3a9(0x2c5)]();if(_0xab4435[_0x3cd3a9(0x377)]===0x0)return _0x2bae7b;let _0x2eebf6=_0x53f004['Tools']['deepClone'](_0x2bae7b[_0x3cd3a9(0x350)][0x0]);for(let _0x237f20=0x0;_0x237f20<_0xab4435[_0x3cd3a9(0x377)];_0x237f20++){const _0xad21d0={'id':_0x3cd3a9(0x320),'params':{..._0xab4435[_0x237f20]}},_0x477fa4=this[_0x3cd3a9(0x29f)]['transformMutation'](_0x2eebf6,_0xad21d0,!0x1);if(_0x1647fd[_0x3cd3a9(0x257)](_0x477fa4))throw _0x477fa4['error'];_0x2eebf6=_0x477fa4[_0x3cd3a9(0x2c2)];}return{..._0x53f004[_0x3cd3a9(0x346)][_0x3cd3a9(0x349)](_0x2bae7b),'mutations':[_0x2eebf6]};}[_0x5c209d(0x27b)](_0x4e29b3){const _0x3a5dfc=_0x5c209d,{unitID:_0x55df7}=_0x4e29b3,_0xc92200=this[_0x3a5dfc(0x337)][_0x3a5dfc(0x2ae)](_0x55df7)[_0x3a5dfc(0x32e)](_0x1f6b42[_0x3a5dfc(0x16c)]),{undoCache:_0x358900,redoCache:_0x43b711}=_0xc92200[_0x3a5dfc(0x2c5)]();if(_0x358900[_0x3a5dfc(0x377)]===0x0||_0x43b711[_0x3a5dfc(0x377)]===0x0)return;const _0x179a10=[],_0x212418=[];let _0x5da011=_0x53f004[_0x3a5dfc(0x346)][_0x3a5dfc(0x349)](_0x4e29b3[_0x3a5dfc(0x350)][0x0]),_0x211df4=_0x53f004[_0x3a5dfc(0x346)][_0x3a5dfc(0x349)](_0x4e29b3['mutations'][0x0]);for(let _0x2768c1=_0x358900[_0x3a5dfc(0x377)]-0x1;_0x2768c1>=0x0;_0x2768c1--){const _0x384c4b={'id':_0x3a5dfc(0x320),'params':{..._0x358900[_0x2768c1]}},_0x425f8f={'id':_0x3a5dfc(0x320),'params':{..._0x43b711[_0x2768c1]}},_0x3fbbcc=this[_0x3a5dfc(0x29f)][_0x3a5dfc(0x34b)](_0x5da011,_0x384c4b,!0x1),_0x4c89da=this[_0x3a5dfc(0x29f)][_0x3a5dfc(0x34b)](_0x211df4,_0x425f8f,!0x1);if(_0x1647fd[_0x3a5dfc(0x257)](_0x3fbbcc))throw _0x3fbbcc[_0x3a5dfc(0x297)];if(_0x1647fd[_0x3a5dfc(0x257)](_0x4c89da))throw _0x4c89da[_0x3a5dfc(0x297)];_0x179a10[_0x3a5dfc(0x39d)](_0x3fbbcc['m2Prime'][_0x3a5dfc(0x254)]),_0x212418[_0x3a5dfc(0x39d)](_0x4c89da['m2Prime']['params']),_0x5da011=_0x3fbbcc[_0x3a5dfc(0x2c2)],_0x211df4=_0x4c89da['m1Prime'];}_0xc92200[_0x3a5dfc(0x33f)]({'undoCache':_0x179a10,'redoCache':_0x212418});}[_0x5c209d(0x136)](_0x58e346){const _0x1e3f6d=_0x5c209d,{unitID:_0x59650c}=_0x58e346,_0x53b312=this[_0x1e3f6d(0x337)]['getRenderById'](_0x59650c)[_0x1e3f6d(0x32e)](_0x1f6b42[_0x1e3f6d(0x16c)]),_0x5cfbb1=_0x53b312[_0x1e3f6d(0x388)]();if(_0x5cfbb1==null)return;const _0x6a53d3=[{'id':_0x1e3f6d(0x320),'params':{'unitId':_0x58e346['unitID'],'actions':null,'textRanges':[_0x5cfbb1]}}],_0x2cccc6=this['_transformService'][_0x1e3f6d(0x1e4)](_0x58e346,_0x6a53d3);if(!_0x1647fd['isTransformMutationsWithChangesetSuccess'](_0x2cccc6))throw _0x2cccc6[_0x1e3f6d(0x297)];const _0x1642a0=_0x2cccc6[_0x1e3f6d(0x15d)][0x0][_0x1e3f6d(0x254)]['textRanges'];Array['isArray'](_0x1642a0)&&_0x1642a0[_0x1e3f6d(0x377)]&&_0x53b312[_0x1e3f6d(0xe9)](_0x1642a0[0x0]);}};_0x5a407c=_0x11388e([_0x3d828a(0x0,_0x1647fd[_0x5c209d(0x12f)]),_0x3d828a(0x1,_0xb6e577[_0x5c209d(0x399)])],_0x5a407c);var _0x2cba41=Object[_0x5c209d(0x2fb)],_0x10e2c0=(_0x5e1dae,_0x25cfd4,_0x4fdd05,_0x276616)=>{const _0x421d02=_0x5c209d;for(var _0x292109=_0x276616>0x1?void 0x0:_0x276616?_0x2cba41(_0x25cfd4,_0x4fdd05):_0x25cfd4,_0x458612=_0x5e1dae[_0x421d02(0x377)]-0x1,_0x59d0a8;_0x458612>=0x0;_0x458612--)(_0x59d0a8=_0x5e1dae[_0x458612])&&(_0x292109=_0x59d0a8(_0x292109)||_0x292109);return _0x292109;},_0x246cfb=(_0xe23f6b,_0x8a8b2e)=>(_0x40b1fc,_0x229092)=>_0x8a8b2e(_0x40b1fc,_0x229092,_0xe23f6b);let _0x15619d=class{constructor(_0xb7cae,_0xa0558,_0x14b366){const _0x166bda=_0x5c209d;this[_0x166bda(0x379)]=_0xb7cae,this[_0x166bda(0x29f)]=_0xa0558,this[_0x166bda(0x236)]=_0x14b366;}[_0x5c209d(0x1c4)](_0x349f8f){const _0x2d5ad0=_0x5c209d;this[_0x2d5ad0(0x39a)](_0x349f8f);}[_0x5c209d(0x376)](_0x335e0f){const _0x13e07e=_0x5c209d,{unitID:_0x478e99}=_0x335e0f,{collaboration:_0x108765}=this['_docStateChangeManagerService'][_0x13e07e(0x11b)](_0x478e99);if(_0x108765[_0x13e07e(0x377)]===0x0)return _0x335e0f;let _0x20d7b7=_0x53f004[_0x13e07e(0x346)][_0x13e07e(0x349)](_0x335e0f['mutations'][0x0]);for(let _0x1e8436=0x0;_0x1e8436<_0x108765[_0x13e07e(0x377)];_0x1e8436++){const _0xe8a68b={'id':_0x13e07e(0x320),'params':{'unitId':_0x108765[_0x1e8436]['unitId'],..._0x108765[_0x1e8436][_0x13e07e(0x284)]}},_0x5e74e9=this['_transformService'][_0x13e07e(0x34b)](_0x20d7b7,_0xe8a68b,!0x1);if(_0x1647fd[_0x13e07e(0x257)](_0x5e74e9))throw _0x5e74e9[_0x13e07e(0x297)];_0x20d7b7=_0x5e74e9[_0x13e07e(0x2c2)];}return{..._0x53f004['Tools']['deepClone'](_0x335e0f),'mutations':[_0x20d7b7]};}[_0x5c209d(0x39a)](_0x11eda1){const _0x18e48e=_0x5c209d,{unitID:_0x53f27b}=_0x11eda1,{history:_0x3198c4,collaboration:_0x2db1fd}=this[_0x18e48e(0x236)][_0x18e48e(0x11b)](_0x53f27b);if(_0x3198c4['length']===0x0&&_0x2db1fd['length']===0x0)return;const _0x56694b=[],_0x5b8c2a=[];let _0x19205b=_0x53f004[_0x18e48e(0x346)][_0x18e48e(0x349)](_0x11eda1[_0x18e48e(0x350)][0x0]),_0x47333a=_0x53f004[_0x18e48e(0x346)][_0x18e48e(0x349)](_0x11eda1[_0x18e48e(0x350)][0x0]);for(let _0x6ceb0f=_0x3198c4[_0x18e48e(0x377)]-0x1;_0x6ceb0f>=0x0;_0x6ceb0f--){const _0x39066c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3198c4[_0x6ceb0f]['unitId'],..._0x3198c4[_0x6ceb0f][_0x18e48e(0x1b6)]}},_0x4c6358={'id':_0x18e48e(0x320),'params':{'unitId':_0x3198c4[_0x6ceb0f][_0x18e48e(0x398)],..._0x3198c4[_0x6ceb0f]['redoState']}},_0x1dc06a=this[_0x18e48e(0x29f)][_0x18e48e(0x34b)](_0x19205b,_0x39066c,!0x1),_0x1871ce=this[_0x18e48e(0x29f)][_0x18e48e(0x34b)](_0x47333a,_0x4c6358,!0x1);if(_0x1647fd[_0x18e48e(0x257)](_0x1dc06a))throw _0x1dc06a[_0x18e48e(0x297)];if(_0x1647fd['isTransformMutationFailure'](_0x1871ce))throw _0x1871ce[_0x18e48e(0x297)];_0x56694b[_0x18e48e(0x39d)]({..._0x3198c4[_0x6ceb0f],'undoState':_0x1dc06a[_0x18e48e(0x15d)][_0x18e48e(0x254)],'redoState':_0x1871ce[_0x18e48e(0x15d)][_0x18e48e(0x254)]}),_0x19205b=_0x1dc06a[_0x18e48e(0x2c2)],_0x47333a=_0x1871ce[_0x18e48e(0x2c2)];}_0x19205b=_0x53f004['Tools'][_0x18e48e(0x349)](_0x11eda1[_0x18e48e(0x350)][0x0]),_0x47333a=_0x53f004[_0x18e48e(0x346)][_0x18e48e(0x349)](_0x11eda1[_0x18e48e(0x350)][0x0]);for(let _0x1fa420=_0x2db1fd['length']-0x1;_0x1fa420>=0x0;_0x1fa420--){const _0x580ec1={'id':_0x18e48e(0x320),'params':{'unitId':_0x2db1fd[_0x1fa420][_0x18e48e(0x398)],..._0x2db1fd[_0x1fa420]['undoState']}},_0x58a6ab={'id':_0x18e48e(0x320),'params':{'unitId':_0x2db1fd[_0x1fa420][_0x18e48e(0x398)],..._0x2db1fd[_0x1fa420][_0x18e48e(0x284)]}},_0x470366=this['_transformService']['transformMutation'](_0x19205b,_0x580ec1,!0x1),_0x2e8708=this[_0x18e48e(0x29f)][_0x18e48e(0x34b)](_0x47333a,_0x58a6ab,!0x1);if(_0x1647fd[_0x18e48e(0x257)](_0x470366))throw _0x470366[_0x18e48e(0x297)];if(_0x1647fd['isTransformMutationFailure'](_0x2e8708))throw _0x2e8708[_0x18e48e(0x297)];_0x5b8c2a[_0x18e48e(0x39d)]({..._0x2db1fd[_0x1fa420],'undoState':_0x470366[_0x18e48e(0x15d)][_0x18e48e(0x254)],'redoState':_0x2e8708[_0x18e48e(0x15d)][_0x18e48e(0x254)]}),_0x19205b=_0x470366[_0x18e48e(0x2c2)],_0x47333a=_0x2e8708[_0x18e48e(0x2c2)];}this[_0x18e48e(0x236)][_0x18e48e(0x392)](_0x53f27b,{'history':_0x56694b,'collaboration':_0x5b8c2a});}};_0x15619d=_0x10e2c0([_0x246cfb(0x0,_0x53f004['Inject'](_0x53f004[_0x5c209d(0x24b)])),_0x246cfb(0x1,_0x1647fd[_0x5c209d(0x12f)]),_0x246cfb(0x2,_0x53f004[_0x5c209d(0x12e)](_0x1f6b42[_0x5c209d(0x2c4)]))],_0x15619d);var _0x1aa1a8=Object['getOwnPropertyDescriptor'],_0x317653=(_0x153d17,_0x2a971e,_0x3df290,_0x2edfff)=>{for(var _0x71bc0e=_0x2edfff>0x1?void 0x0:_0x2edfff?_0x1aa1a8(_0x2a971e,_0x3df290):_0x2a971e,_0x3b6817=_0x153d17['length']-0x1,_0x939514;_0x3b6817>=0x0;_0x3b6817--)(_0x939514=_0x153d17[_0x3b6817])&&(_0x71bc0e=_0x939514(_0x71bc0e)||_0x71bc0e);return _0x71bc0e;},_0xe4933e=(_0x471074,_0x603dcc)=>(_0x281285,_0x473b03)=>_0x603dcc(_0x281285,_0x473b03,_0x471074);let _0x3e725a=class{constructor(_0x851209,_0x46f3ce){const _0x4cf852=_0x5c209d;this[_0x4cf852(0x379)]=_0x851209,this['_transformService']=_0x46f3ce;}[_0x5c209d(0x2c7)](_0x1cec74){const _0x52b9a8=_0x5c209d;var _0x48975c;const _0x33bce6=this['_injector'][_0x52b9a8(0x28b)](_0x1f2059[_0x52b9a8(0x34e)]),_0x2cdaf0=(_0x48975c=_0x33bce6[_0x52b9a8(0x226)]())!=null?_0x48975c:[];if(_0x2cdaf0[_0x52b9a8(0x377)]===0x0)return;const _0x3e7fcb=_0x1cec74[_0x52b9a8(0x1bd)],_0xef6b75=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3e7fcb,'actions':null,'textRanges':_0x2cdaf0}}],_0x51eba2=this[_0x52b9a8(0x29f)][_0x52b9a8(0x1e4)](_0x1cec74,_0xef6b75);if(!_0x1647fd[_0x52b9a8(0xcf)](_0x51eba2))throw _0x51eba2[_0x52b9a8(0x297)];const _0x5887fd=_0x51eba2[_0x52b9a8(0x15d)][0x0][_0x52b9a8(0x254)]['textRanges'];Array['isArray'](_0x5887fd)&&_0x5887fd[_0x52b9a8(0x377)]&&_0x33bce6[_0x52b9a8(0x1c5)](_0x5887fd,{'unitId':_0x3e7fcb,'subUnitId':_0x3e7fcb},!0x1);}};_0x3e725a=_0x317653([_0xe4933e(0x0,_0x53f004['Inject'](_0x53f004[_0x5c209d(0x24b)])),_0xe4933e(0x1,_0x1647fd[_0x5c209d(0x12f)])],_0x3e725a);var _0xc2252d=Object[_0x5c209d(0x2fb)],_0x2f0c7a=(_0x235a5b,_0x5b69e5,_0x17a894,_0x12388a)=>{const _0x1e2125=_0x5c209d;for(var _0x46cedb=_0x12388a>0x1?void 0x0:_0x12388a?_0xc2252d(_0x5b69e5,_0x17a894):_0x5b69e5,_0x24dbbd=_0x235a5b[_0x1e2125(0x377)]-0x1,_0x1a11cb;_0x24dbbd>=0x0;_0x24dbbd--)(_0x1a11cb=_0x235a5b[_0x24dbbd])&&(_0x46cedb=_0x1a11cb(_0x46cedb)||_0x46cedb);return _0x46cedb;},_0x25991d=(_0x2d0859,_0x36dab3)=>(_0x4adbc6,_0x5eb62a)=>_0x36dab3(_0x4adbc6,_0x5eb62a,_0x2d0859);let _0x5bbfc0=class extends _0x53f004[_0x5c209d(0x131)]{constructor(_0x1701d6,_0x1e5ba7,_0x5168cc,_0x461f13,_0x38a49d,_0x40088d,_0xa3d28a,_0x5e1535){const _0x268eff=_0x5c209d;super(),_0x21ada4(this,_0x268eff(0x151),new _0x57807a[(_0x268eff(0x18e))](_0x23cab7['CollaborationStatus']['NOT_COLLAB'])),(this[_0x268eff(0x236)]=_0x1701d6,this['_collaborationController']=_0x1e5ba7,this[_0x268eff(0x321)]=_0x5168cc,this['_docTransformStateCacheService']=_0x461f13,this[_0x268eff(0x33d)]=_0x38a49d,this[_0x268eff(0x1f7)]=_0x40088d,this[_0x268eff(0x365)]=_0xa3d28a,this[_0x268eff(0x37f)]=_0x5e1535,this[_0x268eff(0x1af)]());}['_initEntityListener'](){const _0x3318fb=_0x5c209d;this[_0x3318fb(0x317)](this['_collaborationController'][_0x3318fb(0x1b7)][_0x3318fb(0x26a)](_0x31bf22=>{const _0x5403f9=_0x3318fb,_0x25e47f=this[_0x5403f9(0x236)][_0x5403f9(0xd9)][_0x5403f9(0x26a)](_0xc2b1e7=>{const _0x3c92a1=_0x5403f9;if(_0xc2b1e7==null)return;const {unitId:_0x10fcd4,redoState:_0x12b5bd,commandId:_0x54d403}=_0xc2b1e7;if(_0x10fcd4!==_0x31bf22[_0x3c92a1(0x1bd)])return;const _0x18aa80={'id':_0x54d403,'type':_0x53f004['CommandType'][_0x3c92a1(0x281)],'params':{'unitId':_0x10fcd4,'actions':_0x12b5bd[_0x3c92a1(0x21b)],'textRanges':null}};_0x31bf22[_0x3c92a1(0x130)](_0x18aa80);});if(_0x31bf22[_0x5403f9(0x317)](_0x25e47f),_0x31bf22 instanceof _0x23cab7[_0x5403f9(0x1c1)]){const _0x215113={'onTransformIME':_0xb1bcea=>this['_docTransformIMECacheService'][_0x5403f9(0x31a)](_0xb1bcea),'onTransformState':_0x47679d=>this[_0x5403f9(0x362)][_0x5403f9(0x1c4)](_0x47679d),'onTransformSelections':_0x25d009=>this['_docTransformSelectionsService'][_0x5403f9(0x2c7)](_0x25d009),'onSyncEditingCollabCursor':_0x5654c7=>this[_0x5403f9(0x1f7)][_0x5403f9(0x1ef)](_0x5654c7),'onTransformRemoteChangesetByIMECache':_0x3f4559=>this[_0x5403f9(0x321)][_0x5403f9(0x376)](_0x3f4559),'onTransformRemoteChangesetByStateCache':_0x174f5a=>this[_0x5403f9(0x362)][_0x5403f9(0x376)](_0x174f5a)};_0x31bf22[_0x5403f9(0x1b3)](_0x215113);}}));}};_0x5bbfc0=_0x2f0c7a([_0x25991d(0x0,_0x53f004[_0x5c209d(0x12e)](_0x1f6b42[_0x5c209d(0x2c4)])),_0x25991d(0x1,_0x53f004[_0x5c209d(0x12e)](_0x23cab7[_0x5c209d(0x20d)])),_0x25991d(0x2,_0x53f004['Inject'](_0x5a407c)),_0x25991d(0x3,_0x53f004[_0x5c209d(0x12e)](_0x15619d)),_0x25991d(0x4,_0x53f004[_0x5c209d(0x12e)](_0x3e725a)),_0x25991d(0x5,_0x53f004[_0x5c209d(0x12e)](_0x449782)),_0x25991d(0x6,_0x105fcf[_0x5c209d(0xd7)]),_0x25991d(0x7,_0x53f004['Inject'](_0x53f004[_0x5c209d(0x116)]))],_0x5bbfc0);var _0x38571f=(_0xbecdf2=>(_0xbecdf2[_0xbecdf2[_0x5c209d(0x189)]=0x0]=_0x5c209d(0x189),_0xbecdf2[_0xbecdf2['OK']=0x1]='OK',_0xbecdf2[_0xbecdf2[_0x5c209d(0x144)]=0x2]=_0x5c209d(0x144),_0xbecdf2[_0xbecdf2[_0x5c209d(0xed)]=0x3]=_0x5c209d(0xed),_0xbecdf2[_0xbecdf2['NOT_FOUND']=0x4]=_0x5c209d(0x112),_0xbecdf2[_0xbecdf2[_0x5c209d(0x26b)]=0x5]=_0x5c209d(0x26b),_0xbecdf2[_0xbecdf2[_0x5c209d(0x142)]=0x6]=_0x5c209d(0x142),_0xbecdf2[_0xbecdf2[_0x5c209d(0x100)]=0x7]='INVALID_ARGUMENT',_0xbecdf2[_0xbecdf2['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0xbecdf2[_0xbecdf2[_0x5c209d(0x145)]=0x9]=_0x5c209d(0x145),_0xbecdf2[_0xbecdf2['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0xbecdf2[_0xbecdf2[_0x5c209d(0x285)]=0xb]=_0x5c209d(0x285),_0xbecdf2[_0xbecdf2[_0x5c209d(0x2e8)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0xbecdf2[_0xbecdf2[_0x5c209d(0x171)]=0xd]=_0x5c209d(0x171),_0xbecdf2[_0xbecdf2[_0x5c209d(0x1f0)]=0xe]=_0x5c209d(0x1f0),_0xbecdf2[_0xbecdf2['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x5c209d(0x30c),_0xbecdf2[_0xbecdf2[_0x5c209d(0x162)]=0x10]=_0x5c209d(0x162),_0xbecdf2[_0xbecdf2['CURRENT_STATUS_CANNOT_OPERATE']=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xbecdf2[_0xbecdf2[_0x5c209d(0x266)]=0x65]='ERROR_AGAIN',_0xbecdf2[_0xbecdf2[_0x5c209d(0x2a6)]=0xc9]=_0x5c209d(0x2a6),_0xbecdf2[_0xbecdf2['USER_IS_ANONYMOUS']=0xca]=_0x5c209d(0x370),_0xbecdf2[_0xbecdf2[_0x5c209d(0x2f9)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0xbecdf2[_0xbecdf2[_0x5c209d(0x2b7)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xbecdf2[_0xbecdf2[_0x5c209d(0x198)]=0x1772]=_0x5c209d(0x198),_0xbecdf2[_0xbecdf2['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5c209d(0x17c),_0xbecdf2[_0xbecdf2[_0x5c209d(0x2ec)]=0x1b59]=_0x5c209d(0x2ec),_0xbecdf2[_0xbecdf2['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0xbecdf2[_0xbecdf2['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x5c209d(0x37b),_0xbecdf2[_0xbecdf2[_0x5c209d(0xfe)]=0x1b5c]=_0x5c209d(0xfe),_0xbecdf2[_0xbecdf2[_0x5c209d(0x336)]=0x1b5d]=_0x5c209d(0x336),_0xbecdf2[_0xbecdf2[_0x5c209d(0x208)]=0x1f41]=_0x5c209d(0x208),_0xbecdf2[_0xbecdf2['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x5c209d(0x1d3),_0xbecdf2[_0xbecdf2[_0x5c209d(0x134)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0xbecdf2[_0xbecdf2[_0x5c209d(0x2a1)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xbecdf2[_0xbecdf2[_0x5c209d(0x31e)]=0x232c]=_0x5c209d(0x31e),_0xbecdf2[_0xbecdf2[_0x5c209d(0x3ac)]=0x232d]=_0x5c209d(0x3ac),_0xbecdf2[_0xbecdf2[_0x5c209d(0x1be)]=0x2711]=_0x5c209d(0x1be),_0xbecdf2[_0xbecdf2[_0x5c209d(0x29c)]=0x2712]=_0x5c209d(0x29c),_0xbecdf2[_0xbecdf2[_0x5c209d(0x1a4)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0xbecdf2[_0xbecdf2[_0x5c209d(0x106)]=0x2714]=_0x5c209d(0x106),_0xbecdf2[_0xbecdf2[_0x5c209d(0x2e1)]=0x271a]=_0x5c209d(0x2e1),_0xbecdf2[_0xbecdf2[_0x5c209d(0x2b6)]=0x271b]=_0x5c209d(0x2b6),_0xbecdf2[_0xbecdf2[_0x5c209d(0x25a)]=0x271c]=_0x5c209d(0x25a),_0xbecdf2[_0xbecdf2[_0x5c209d(0xdd)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xbecdf2[_0xbecdf2[_0x5c209d(0x21d)]=0x271e]=_0x5c209d(0x21d),_0xbecdf2[_0xbecdf2[_0x5c209d(0x1fb)]=0x271f]=_0x5c209d(0x1fb),_0xbecdf2[_0xbecdf2['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5c209d(0x310),_0xbecdf2[_0xbecdf2[_0x5c209d(0xdc)]=0x2af9]=_0x5c209d(0xdc),_0xbecdf2[_0xbecdf2[_0x5c209d(0x1f8)]=0x2ee1]=_0x5c209d(0x1f8),_0xbecdf2[_0xbecdf2[_0x5c209d(0x234)]=0x2ee2]=_0x5c209d(0x234),_0xbecdf2[_0xbecdf2[_0x5c209d(0x17e)]=0x2ee3]=_0x5c209d(0x17e),_0xbecdf2[_0xbecdf2[_0x5c209d(0x2a9)]=0x2ee4]='USER_NOT_INVITED_CODE',_0xbecdf2[_0xbecdf2[_0x5c209d(0x264)]=0x2ee5]=_0x5c209d(0x264),_0xbecdf2[_0xbecdf2[_0x5c209d(0x1ad)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xbecdf2[_0xbecdf2['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x5c209d(0x111),_0xbecdf2[_0xbecdf2[_0x5c209d(0x14b)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0xbecdf2[_0xbecdf2[_0x5c209d(0x14e)]=0x36b1]=_0x5c209d(0x14e),_0xbecdf2[_0xbecdf2[_0x5c209d(0x2ed)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0xbecdf2[_0xbecdf2['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0xbecdf2[_0xbecdf2[_0x5c209d(0x2d9)]=0x36b4]=_0x5c209d(0x2d9),_0xbecdf2[_0xbecdf2['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x5c209d(0x33b),_0xbecdf2[_0xbecdf2['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x5c209d(0x1a2),_0xbecdf2[_0xbecdf2[_0x5c209d(0x185)]=0x36b7]=_0x5c209d(0x185),_0xbecdf2[_0xbecdf2[_0x5c209d(0x265)]=0x36b8]=_0x5c209d(0x265),_0xbecdf2[_0xbecdf2[_0x5c209d(0x22b)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xbecdf2[_0xbecdf2['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x5c209d(0x363),_0xbecdf2[_0xbecdf2[_0x5c209d(0x2d3)]=0x3717]=_0x5c209d(0x2d3),_0xbecdf2[_0xbecdf2[_0x5c209d(0x21f)]=0x37dd]=_0x5c209d(0x21f),_0xbecdf2[_0xbecdf2[_0x5c209d(0x344)]=0x3a99]=_0x5c209d(0x344),_0xbecdf2[_0xbecdf2[_0x5c209d(0x110)]=0x3a9a]=_0x5c209d(0x110),_0xbecdf2[_0xbecdf2['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0xbecdf2[_0xbecdf2[_0x5c209d(0x1fd)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0xbecdf2[_0xbecdf2[_0x5c209d(0x357)]=0x3a9d]=_0x5c209d(0x357),_0xbecdf2[_0xbecdf2['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x5c209d(0x1d2),_0xbecdf2[_0xbecdf2[_0x5c209d(0xd4)]=0x3a9f]=_0x5c209d(0xd4),_0xbecdf2[_0xbecdf2[_0x5c209d(0x35b)]=0x3e81]=_0x5c209d(0x35b),_0xbecdf2[_0xbecdf2['UNRECOGNIZED']=-0x1]=_0x5c209d(0x2b1),_0xbecdf2))(_0x38571f||{});function _0x448f55(_0x65de03){const _0x39fe79=_0x5c209d;var _0x2c328d,_0x3f4f54;const _0x5203b7=(_0x2c328d=_0x65de03[_0x39fe79(0x22c)])==null?void 0x0:_0x2c328d['stage'],_0x3c6767=((_0x3f4f54=_0x65de03[_0x39fe79(0x22c)])==null?void 0x0:_0x3f4f54['totalFormulasToCalculate'])||0x0;return _0x5203b7===_0x35bdcb[_0x39fe79(0x19f)][_0x39fe79(0x1aa)]&&_0x3c6767>0x0;}function _0x61862d(_0x2bed90){const _0x173d47=_0x5c209d;return _0x2bed90['functionsExecutedState']===_0x35bdcb[_0x173d47(0x24d)][_0x173d47(0x235)];}var _0x4c40e1=Object[_0x5c209d(0x2fb)],_0x34ef5f=(_0x3d7c5c,_0x4af493,_0x42a868,_0x446964)=>{for(var _0x455d21=_0x446964>0x1?void 0x0:_0x446964?_0x4c40e1(_0x4af493,_0x42a868):_0x4af493,_0x56cd4b=_0x3d7c5c['length']-0x1,_0x22d569;_0x56cd4b>=0x0;_0x56cd4b--)(_0x22d569=_0x3d7c5c[_0x56cd4b])&&(_0x455d21=_0x22d569(_0x455d21)||_0x455d21);return _0x455d21;},_0x45e0c3=(_0x81af7c,_0x4e9bb9)=>(_0x3487e3,_0x448020)=>_0x4e9bb9(_0x3487e3,_0x448020,_0x81af7c);const _0x52fab4=_0x5c209d(0x361),_0x137248=_0x5c209d(0xce),_0x549c87=_0x5c209d(0x10e);let _0xfdd32c=class extends _0x53f004[_0x5c209d(0x131)]{constructor(_0x1a6bd0,_0x370b0b,_0x42ef78,_0x5bd6c0,_0xe88671,_0x3c2dd0,_0x4cdd0c){const _0x4976e9=_0x5c209d;super(),_0x21ada4(this,'_pollingInterval',null),_0x21ada4(this,_0x4976e9(0x292),0x0),_0x21ada4(this,_0x4976e9(0x31f),0x0),_0x21ada4(this,_0x4976e9(0x155),[]),_0x21ada4(this,_0x4976e9(0xc7),0x0),(this[_0x4976e9(0x365)]=_0x1a6bd0,this[_0x4976e9(0x328)]=_0x370b0b,this[_0x4976e9(0x356)]=_0x42ef78,this[_0x4976e9(0x167)]=_0x5bd6c0,this[_0x4976e9(0x289)]=_0xe88671,this['_logService']=_0x3c2dd0,this[_0x4976e9(0x37f)]=_0x4cdd0c,this['_initCommandInterceptor']());}[_0x5c209d(0x13f)](){const _0x2a5259=_0x5c209d;this['disposeWithMe'](this[_0x2a5259(0x328)]['beforeCommandExecuted']((_0xcae38e,_0x3d4544)=>{const _0x339bde=_0x2a5259;var _0x3049b5;if(_0xcae38e['id']!==_0x35bdcb[_0x339bde(0x1da)]['id'])return;const _0x4a3473=_0xcae38e[_0x339bde(0x254)];if(!this[_0x339bde(0x375)]((_0x3049b5=_0x4a3473[_0x339bde(0x1a5)])!=null?_0x3049b5:[]))return;if(!this[_0x339bde(0x157)]())throw this[_0x339bde(0x21a)](_0xcae38e,_0x3d4544),this[_0x339bde(0x39b)](),new _0x53f004[(_0x339bde(0x165))]();})),this[_0x2a5259(0x317)](this[_0x2a5259(0x328)]['onCommandExecuted']((_0x37ab8c,_0x1ef30a)=>{const _0x4d14b3=_0x2a5259;if(_0x37ab8c['id']!==_0x35bdcb['SetFormulaCalculationNotificationMutation']['id'])return;const _0x233bca=_0x37ab8c[_0x4d14b3(0x254)];if(_0x448f55(_0x233bca)){const _0x5064f7=_0x53f004[_0x4d14b3(0x168)]();this[_0x4d14b3(0x155)][_0x4d14b3(0x269)](_0x5064f7),this[_0x4d14b3(0x22f)](_0x5064f7);}else{if(_0x61862d(_0x233bca)&&this['_taskIds'][_0x4d14b3(0x377)]>0x0){const _0x479278=this[_0x4d14b3(0x155)]['shift']();this[_0x4d14b3(0x1b9)](_0x479278);}}}));}['dispose'](){const _0x245120=_0x5c209d;super['dispose'](),this['_clearPolling'](),this[_0x245120(0x155)]=[],this[_0x245120(0x31f)]=0x0,this[_0x245120(0x292)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x392983,_0x1c483b){const _0x42db7f=_0x5c209d;for(let _0x287b2f=0x0;_0x287b2f<0x1e;_0x287b2f++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x42db7f(0x1b0)](_0x392983,_0x1c483b),this[_0x42db7f(0x365)]['show']({'content':this[_0x42db7f(0x37f)]['t'](_0x42db7f(0x22e)),'type':_0x25f8a4[_0x42db7f(0x369)][_0x42db7f(0x135)]});return;}await new Promise(_0x119d10=>{const _0x184867=_0x42db7f;this[_0x184867(0x1cd)]=window['setTimeout'](_0x119d10,0x3e8);});}catch(_0x2d0a99){this[_0x42db7f(0x148)]['error'](_0x2d0a99);}this['_messageService'][_0x42db7f(0x296)]({'content':this[_0x42db7f(0x37f)]['t'](_0x42db7f(0x1e5)),'type':_0x25f8a4['MessageType']['Error']});}['_applyCommand'](_0x26b3ce,_0x12ed95){const _0x51af62=_0x5c209d;try{this[_0x51af62(0x328)][_0x51af62(0x13b)](_0x26b3ce['id'],_0x26b3ce[_0x51af62(0x254)],_0x12ed95);}catch(_0xd2325){this[_0x51af62(0x148)][_0x51af62(0x297)](_0xd2325);}}['_setFormulaLimitStatus'](_0x2714e1,_0x327723){const _0x3896a8=_0x5c209d;_0x327723<this[_0x3896a8(0xc7)]||(this[_0x3896a8(0xc7)]=_0x327723,this[_0x3896a8(0x292)]=Number[_0x3896a8(0x102)](_0x2714e1['maxFormulaLimit']),this['_currentUsage']=Number[_0x3896a8(0x102)](_0x2714e1[_0x3896a8(0x35a)]));}async[_0x5c209d(0x22f)](_0x2ab920){const _0x32456f=_0x5c209d;var _0x2875e2,_0x3344e8;const _0x275ca1=Date[_0x32456f(0x156)]();try{const _0x4d4066=((_0x2875e2=this['_configService'][_0x32456f(0x2f5)](_0x23cab7[_0x32456f(0x1ce)]))==null?void 0x0:_0x2875e2[_0x32456f(0x29b)])||_0x137248,_0x3398bb=(await this['_httpService'][_0x32456f(0x138)](_0x4d4066,{'body':JSON['stringify']({'taskId':_0x2ab920})}))['body'];if(((_0x3344e8=_0x3398bb[_0x32456f(0x297)])==null?void 0x0:_0x3344e8[_0x32456f(0xf4)])!==_0x38571f['OK'])return;this[_0x32456f(0x2ea)](_0x3398bb['limitInfo'],_0x275ca1);}catch(_0x275d11){this[_0x32456f(0x148)]['error'](_0x275d11);}}async[_0x5c209d(0x26e)](_0xd2d987){const _0x3a975a=_0x5c209d;var _0x4863fa,_0x521c1d;const _0x392920=Date[_0x3a975a(0x156)]();try{const _0x5d711b=((_0x4863fa=this['_configService'][_0x3a975a(0x2f5)](_0x23cab7[_0x3a975a(0x1ce)]))==null?void 0x0:_0x4863fa[_0x3a975a(0x1e7)])||_0x52fab4,_0x26d700=_0xd2d987?_0x5d711b+_0x3a975a(0x23b)+encodeURIComponent(_0xd2d987):_0x5d711b,_0x8b09ce=(await this[_0x3a975a(0x167)]['get'](_0x26d700))[_0x3a975a(0x11c)];if(((_0x521c1d=_0x8b09ce['error'])==null?void 0x0:_0x521c1d[_0x3a975a(0xf4)])!==_0x38571f['OK'])return;this[_0x3a975a(0x2ea)](_0x8b09ce[_0x3a975a(0x161)],_0x392920);}catch(_0x3d1e02){this['_logService'][_0x3a975a(0x297)](_0x3d1e02);}}async[_0x5c209d(0x1b9)](_0x337e26){const _0x1f0f05=_0x5c209d;var _0x53091b,_0xb92ecb;const _0x3ad7e5=Date['now']();try{const _0x9a2c56=((_0x53091b=this[_0x1f0f05(0x356)][_0x1f0f05(0x2f5)](_0x23cab7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x53091b['releaseFormulaLimitUrl'])||_0x549c87,_0x5b534b=(await this[_0x1f0f05(0x167)][_0x1f0f05(0x138)](_0x9a2c56,{'body':JSON[_0x1f0f05(0x19d)]({'taskId':_0x337e26})}))[_0x1f0f05(0x11c)];if(((_0xb92ecb=_0x5b534b[_0x1f0f05(0x297)])==null?void 0x0:_0xb92ecb[_0x1f0f05(0xf4)])!==_0x38571f['OK'])return;this['_setFormulaLimitStatus'](_0x5b534b[_0x1f0f05(0x161)],_0x3ad7e5);}catch(_0x266cb8){this[_0x1f0f05(0x148)][_0x1f0f05(0x297)](_0x266cb8);}}[_0x5c209d(0x157)](){const _0x44a179=_0x5c209d;return this[_0x44a179(0x292)]===0x0?!0x0:this[_0x44a179(0x292)]-this['_currentUsage']>0x0;}[_0x5c209d(0x26d)](){const _0x25a42c=_0x5c209d;this['_pollingInterval']&&(clearTimeout(this['_pollingInterval']),this[_0x25a42c(0x1cd)]=null);}[_0x5c209d(0x39b)](){const _0x233829=_0x5c209d;this[_0x233829(0x365)][_0x233829(0x296)]({'content':this['_localeService']['t'](_0x233829(0x164)),'type':_0x25f8a4['MessageType']['Loading']});}[_0x5c209d(0x375)](_0x34fdb1){const _0x357e5c=_0x5c209d;for(const _0x37419a of _0x34fdb1){const {unitId:_0x2e1c86,sheetId:_0xe79f09,range:_0x98f2f8}=_0x37419a,_0x155457=this[_0x357e5c(0x289)][_0x357e5c(0xcb)](_0x2e1c86);if(!_0x155457)continue;const _0x1e8ad4=_0x155457['getSheetBySheetId'](_0xe79f09);if(!_0x1e8ad4)continue;const _0x280c7d=_0x1e8ad4[_0x357e5c(0x126)]();for(let _0x1f2cdd=_0x98f2f8['startRow'];_0x1f2cdd<=_0x98f2f8[_0x357e5c(0x1dd)];_0x1f2cdd++)for(let _0x25e096=_0x98f2f8[_0x357e5c(0x1cb)];_0x25e096<=_0x98f2f8['endColumn'];_0x25e096++){const _0x4f3b6a=_0x280c7d[_0x357e5c(0x1d9)](_0x1f2cdd,_0x25e096);if(_0x4f3b6a&&(_0x53f004[_0x357e5c(0x12d)](_0x4f3b6a['f'])||_0x53f004[_0x357e5c(0x103)](_0x4f3b6a['si'])))return!0x0;}}return!0x1;}};_0xfdd32c=_0x34ef5f([_0x45e0c3(0x0,_0x53f004[_0x5c209d(0x12e)](_0x105fcf[_0x5c209d(0xd7)])),_0x45e0c3(0x1,_0x53f004[_0x5c209d(0xf9)]),_0x45e0c3(0x2,_0x53f004['IConfigService']),_0x45e0c3(0x3,_0x53f004[_0x5c209d(0x12e)](_0x460d3f[_0x5c209d(0x387)])),_0x45e0c3(0x4,_0x53f004[_0x5c209d(0x2d1)]),_0x45e0c3(0x5,_0x53f004[_0x5c209d(0x204)]),_0x45e0c3(0x6,_0x53f004[_0x5c209d(0x12e)](_0x53f004[_0x5c209d(0x116)]))],_0xfdd32c);var _0x3212e2=Object[_0x5c209d(0x2fb)],_0x2de152=(_0x254b59,_0x521c8,_0x2ae279,_0x27ff08)=>{const _0x8c9a61=_0x5c209d;for(var _0x2c837f=_0x27ff08>0x1?void 0x0:_0x27ff08?_0x3212e2(_0x521c8,_0x2ae279):_0x521c8,_0x1b7681=_0x254b59[_0x8c9a61(0x377)]-0x1,_0x5cd5d1;_0x1b7681>=0x0;_0x1b7681--)(_0x5cd5d1=_0x254b59[_0x1b7681])&&(_0x2c837f=_0x5cd5d1(_0x2c837f)||_0x2c837f);return _0x2c837f;},_0x158dc3=(_0x36044c,_0x35ff0a)=>(_0x23d974,_0x112a8f)=>_0x35ff0a(_0x23d974,_0x112a8f,_0x36044c);let _0x33d6f3=class extends _0x53f004[_0x5c209d(0x131)]{constructor(_0x5b047a,_0x16ce82,_0x430921){const _0x1e63de=_0x5c209d;super(),_0x21ada4(this,'_cachedData',new Map()),_0x21ada4(this,_0x1e63de(0x216),new Map()),_0x21ada4(this,'_disabled',!0x1),(this[_0x1e63de(0x356)]=_0x5b047a,this['_localStorageService']=_0x16ce82,this[_0x1e63de(0xf0)]=_0x430921);}[_0x5c209d(0xdb)](){const _0x3ac684=_0x5c209d;this[_0x3ac684(0x108)]=!0x0;}[_0x5c209d(0x178)](){const _0x165945=_0x5c209d;this[_0x165945(0x108)]=!0x1;}get['saveTaskMap'](){const _0x11104a=_0x5c209d;return this[_0x11104a(0x216)];}['dispose'](){const _0x1bfdf4=_0x5c209d;this[_0x1bfdf4(0x2cd)]()[_0x1bfdf4(0x323)](()=>super['dispose']());}async[_0x5c209d(0x158)](_0x163a7a){const _0x16883c=_0x5c209d;return this[_0x16883c(0x108)]?null:this['_localStorageService'][_0x16883c(0x1f9)](_0x23cab7[_0x16883c(0x177)](_0x163a7a));}async[_0x5c209d(0x2f0)](_0xeaacc6,_0x26949c){const _0x1a36db=_0x5c209d;return!!this[_0x1a36db(0x172)][_0x1a36db(0x255)](_0xeaacc6,_0x26949c);}[_0x5c209d(0x1de)](_0x420863,_0x2cd75d,_0x24e3a8,_0x16c026){const _0xb6c685=_0x5c209d,_0x54d0be=this[_0xb6c685(0xf0)][_0xb6c685(0xeb)](_0x420863);this[_0xb6c685(0x1d7)][_0xb6c685(0x15a)](_0x420863,{'unitID':_0x420863,'type':_0x2cd75d,'awaitingChangeset':_0x24e3a8,'mutations':_0x16c026,'rev':_0x54d0be}),this[_0xb6c685(0x216)][_0xb6c685(0x141)](_0x420863)||this['_scheduleSaving'](_0x420863);}[_0x5c209d(0x16e)](_0x5b6f97){const _0xace440=_0x5c209d,_0x3f49b9=this[_0xace440(0x200)]();_0x3f49b9===0x0?this[_0xace440(0x194)](_0x5b6f97):this[_0xace440(0x216)][_0xace440(0x15a)](_0x5b6f97,setTimeout(()=>this[_0xace440(0x194)](_0x5b6f97),_0x3f49b9));}['_getSaveTimeout'](){const _0x5a6e21=_0x5c209d;var _0x20326c;return(_0x20326c=this[_0x5a6e21(0x356)][_0x5a6e21(0x2f5)](_0x23cab7['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x20326c:_0x23cab7[_0x5a6e21(0x30b)];}[_0x5c209d(0x194)](_0x43a263){const _0x5a1ac5=_0x5c209d,_0x57c300=this[_0x5a1ac5(0x216)][_0x5a1ac5(0x28b)](_0x43a263);return _0x57c300!==void 0x0&&window[_0x5a1ac5(0x104)](_0x57c300),this[_0x5a1ac5(0x172)][_0x5a1ac5(0x255)](_0x23cab7[_0x5a1ac5(0x177)](_0x43a263),this[_0x5a1ac5(0x1d7)][_0x5a1ac5(0x28b)](_0x43a263))[_0x5a1ac5(0x323)](()=>this[_0x5a1ac5(0x216)]['delete'](_0x43a263));}async['exhaustSavingTask'](){const _0x64809f=_0x5c209d,_0x2d8b6c=[];this[_0x64809f(0x216)]['forEach']((_0x100767,_0x5eb465)=>{const _0x1e78c2=_0x64809f;window[_0x1e78c2(0x104)](_0x100767),_0x2d8b6c[_0x1e78c2(0x269)](this[_0x1e78c2(0x194)](_0x5eb465)[_0x1e78c2(0x323)](()=>{const _0x4dba04=_0x1e78c2;this['_saveTaskMap'][_0x4dba04(0x1e9)](_0x5eb465);}));}),await Promise[_0x64809f(0x2da)](_0x2d8b6c);}};_0x33d6f3=_0x2de152([_0x158dc3(0x0,_0x53f004[_0x5c209d(0x2d8)]),_0x158dc3(0x1,_0x53f004[_0x5c209d(0x2d6)]),_0x158dc3(0x2,_0x53f004[_0x5c209d(0x12e)](_0x1647fd[_0x5c209d(0xd8)]))],_0x33d6f3);class _0x505c61 extends _0x53f004[_0x5c209d(0x115)]{constructor(){const _0x56ceec=_0x5c209d;super(),_0x21ada4(this,_0x56ceec(0x19e)),this[_0x56ceec(0x19e)]=_0x57807a[_0x56ceec(0x306)](window,_0x56ceec(0x3af))['pipe'](_0x57807a[_0x56ceec(0x2c0)](this['dispose$']),_0x57807a[_0x56ceec(0x107)](0x1),_0x57807a[_0x56ceec(0x2b3)](void 0x0));}[_0x5c209d(0x2a2)](_0x474875,_0x54f688,_0xe03d79=!0x1){const _0x570906=_0x5c209d,_0x245aac=new URL(window[_0x570906(0x1ed)][_0x570906(0x228)]);_0x245aac[_0x570906(0x385)]['set'](_0x474875,_0x54f688),_0xe03d79?window[_0x570906(0x373)][_0x570906(0x2ef)]('','',_0x245aac[_0x570906(0x282)]()):window['history'][_0x570906(0x1ac)]('','',_0x245aac['toString']());}[_0x5c209d(0x38a)](_0xaf0322,_0x3fe734=!0x1){const _0x3d4fdb=_0x5c209d,_0x291bdc=new URL(window['location']['href']);_0x291bdc[_0x3d4fdb(0x385)][_0x3d4fdb(0x1e9)](_0xaf0322),_0x3fe734?window['history'][_0x3d4fdb(0x2ef)]('','',_0x291bdc[_0x3d4fdb(0x282)]()):window[_0x3d4fdb(0x373)]['pushState']('','',_0x291bdc['toString']());}[_0x5c209d(0x2d4)](_0x5cca14){const _0x58bcd5=_0x5c209d;var _0x2ee3c2;return(_0x2ee3c2=new URL(window[_0x58bcd5(0x1ed)][_0x58bcd5(0x228)])['searchParams'][_0x58bcd5(0x28b)](_0x5cca14))!=null?_0x2ee3c2:void 0x0;}}var _0xa64603=Object[_0x5c209d(0x124)],_0x3207b0=Object[_0x5c209d(0x2fb)],_0xe49d8a=(_0x23128d,_0x5d1254,_0xa74187)=>_0x5d1254 in _0x23128d?_0xa64603(_0x23128d,_0x5d1254,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa74187}):_0x23128d[_0x5d1254]=_0xa74187,_0x7caa26=(_0xcd2249,_0x3316cf,_0x563b7c,_0x4b165d)=>{const _0x5617c0=_0x5c209d;for(var _0x440396=_0x4b165d>0x1?void 0x0:_0x4b165d?_0x3207b0(_0x3316cf,_0x563b7c):_0x3316cf,_0x5e1f6a=_0xcd2249[_0x5617c0(0x377)]-0x1,_0x6575aa;_0x5e1f6a>=0x0;_0x5e1f6a--)(_0x6575aa=_0xcd2249[_0x5e1f6a])&&(_0x440396=_0x6575aa(_0x440396)||_0x440396);return _0x440396;},_0x270674=(_0x32f1be,_0x396a3e)=>(_0x2eb9f1,_0x3295b5)=>_0x396a3e(_0x2eb9f1,_0x3295b5,_0x32f1be),_0x1271c2=(_0x33991e,_0x471269,_0x570567)=>_0xe49d8a(_0x33991e,_0x471269+'',_0x570567);const _0x3d7c9a=_0x5c209d(0x169);_0x577117[_0x5c209d(0x1fc)]=class extends _0x53f004[_0x5c209d(0x2f7)]{constructor(_0x31172e=_0x119210,_0x4ae29c,_0x5d5e58,_0x2a0720){const _0x2e25f8=_0x5c209d;super(),this[_0x2e25f8(0x291)]=_0x31172e,this[_0x2e25f8(0x337)]=_0x4ae29c,this[_0x2e25f8(0x379)]=_0x5d5e58,this[_0x2e25f8(0x356)]=_0x2a0720;const {..._0x4803a8}=_0x53f004[_0x2e25f8(0x247)]({},_0x119210,this[_0x2e25f8(0x291)]);this[_0x2e25f8(0x356)]['setConfig'](_0x1639ee,_0x4803a8);}[_0x5c209d(0x384)](){const _0xadc15e=_0x5c209d;this['_registerDependencies'](),this[_0xadc15e(0x29e)]();}[_0x5c209d(0x2c9)](){const _0x26ff33=_0x5c209d;this[_0x26ff33(0x308)]();}[_0x5c209d(0x3ae)](){const _0x4e0dab=_0x5c209d;var _0x20abb4;const _0x336896=[[_0x155ca0],[_0xfdd32c],[_0x3e725a],[_0x5a407c],[_0x15619d],[_0x449782],[_0x28e5db,{'useClass':_0x505c61}],[_0x460d3f['ISocketService'],{'useClass':_0x460d3f[_0x4e0dab(0x2ce)]}],[_0x23cab7[_0x4e0dab(0x1b1)],{'useClass':_0x33d6f3}],[_0x577117[_0x4e0dab(0x13e)]],[_0x5bbfc0],[_0x26be6b],[_0x32f4d6],[_0x2add04],[_0x577117[_0x4e0dab(0x23f)]]];this[_0x4e0dab(0x291)][_0x4e0dab(0x2af)]&&_0x336896['push']([_0x54f861]),_0x53f004[_0x4e0dab(0x239)](this[_0x4e0dab(0x379)],_0x53f004[_0x4e0dab(0x213)](_0x336896,(_0x20abb4=this[_0x4e0dab(0x291)])==null?void 0x0:_0x20abb4[_0x4e0dab(0x2e2)]));}[_0x5c209d(0x308)](){const _0x38d49c=_0x5c209d;this[_0x38d49c(0x317)](this[_0x38d49c(0x337)]['registerRenderModule'](_0x53f004['UniverInstanceType']['UNIVER_DOC'],[_0x325f52])),this['disposeWithMe'](this[_0x38d49c(0x337)][_0x38d49c(0x252)](_0x53f004[_0x38d49c(0x3a4)]['UNIVER_SHEET'],[_0x454a7a]));}[_0x5c209d(0x29e)](){const _0x5d33f0=_0x5c209d;_0x53f004[_0x5d33f0(0x275)](this['_injector'],[[_0x32f4d6],[_0x577117['DesktopCollaborationStatusDisplayController']],[_0x5bbfc0],[_0x26be6b],[_0x577117[_0x5d33f0(0x23f)]],[_0xfdd32c]]),this[_0x5d33f0(0x291)][_0x5d33f0(0x2af)]&&_0x53f004[_0x5d33f0(0x275)](this['_injector'],[[_0x54f861]]);}},_0x1271c2(_0x577117['UniverCollaborationClientUIPlugin'],_0x5c209d(0x1db),_0x3d7c9a),_0x577117['UniverCollaborationClientUIPlugin']=_0x7caa26([_0x53f004['DependentOn'](_0x23cab7['UniverCollaborationClientPlugin']),_0x270674(0x1,_0xb6e577[_0x5c209d(0x399)]),_0x270674(0x2,_0x53f004[_0x5c209d(0x12e)](_0x53f004[_0x5c209d(0x24b)])),_0x270674(0x3,_0x53f004[_0x5c209d(0x2d8)])],_0x577117[_0x5c209d(0x1fc)]);var _0x3e7735=Object[_0x5c209d(0x2fb)],_0x3e0943=(_0x319900,_0x170dd4,_0x40fa11,_0xf27650)=>{const _0x29ba3f=_0x5c209d;for(var _0x2eeb31=_0xf27650>0x1?void 0x0:_0xf27650?_0x3e7735(_0x170dd4,_0x40fa11):_0x170dd4,_0x5d2ad1=_0x319900[_0x29ba3f(0x377)]-0x1,_0x156d5a;_0x5d2ad1>=0x0;_0x5d2ad1--)(_0x156d5a=_0x319900[_0x5d2ad1])&&(_0x2eeb31=_0x156d5a(_0x2eeb31)||_0x2eeb31);return _0x2eeb31;},_0x5dfdde=(_0x5dfcef,_0x19d1eb)=>(_0x4cda8d,_0x58ef1b)=>_0x19d1eb(_0x4cda8d,_0x58ef1b,_0x5dfcef);_0x577117[_0x5c209d(0x2f3)]=class extends _0x23cab7['CollaborationSocketService']{constructor(_0x2286c5,_0x1ef855,_0x2a5772,_0x321737,_0x51d18e){super(_0x2286c5,_0x1ef855,_0x2a5772,_0x321737,_0x51d18e);}async['createSocket'](_0x35f2fe){const _0x23648d=_0x5c209d,_0x4f2e0c=await this[_0x23648d(0x3a7)](),_0x5972d3=this[_0x23648d(0x129)](_0x35f2fe,_0x4f2e0c);return this[_0x23648d(0x262)](_0x5972d3);}[_0x5c209d(0x129)](_0x34cbe8,_0x5f9cb4){const _0x543538=_0x5c209d,_0x5e2899=typeof window>'u'?new URL(_0x34cbe8):new URL(_0x34cbe8,window[_0x543538(0x1ed)][_0x543538(0x2f2)]);_0x5e2899[_0x543538(0x385)][_0x543538(0x15a)](_0x543538(0x10b),_0x5f9cb4);const _0x5888f9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x543538(0x1ed)]['search']);return _0x5888f9[_0x543538(0x28b)](_0x543538(0xd2))&&_0x5e2899[_0x543538(0x385)][_0x543538(0x15a)](_0x543538(0xd2),_0x5888f9[_0x543538(0x28b)](_0x543538(0xd2))),_0x5e2899[_0x543538(0x282)]();}async[_0x5c209d(0x3a7)](){const _0x221f2f=_0x5c209d;var _0x25a57f,_0x564e08,_0x249e06;const _0x27fcc6=this[_0x221f2f(0x356)]['getConfig'](_0x23cab7[_0x221f2f(0x1ce)]),_0xfd9cad=(_0x25a57f=_0x27fcc6==null?void 0x0:_0x27fcc6[_0x221f2f(0x13d)])!=null?_0x25a57f:_0x23cab7[_0x221f2f(0x14c)];return(_0x249e06=(_0x564e08=(await this[_0x221f2f(0x167)][_0x221f2f(0x28b)](_0xfd9cad,{'headers':{'Content-Type':'application/json'}}))[_0x221f2f(0x11c)])==null?void 0x0:_0x564e08['ticket'])!=null?_0x249e06:'';}},_0x577117[_0x5c209d(0x2f3)]=_0x3e0943([_0x5dfdde(0x0,_0x53f004[_0x5c209d(0x12e)](_0x53f004[_0x5c209d(0x24b)])),_0x5dfdde(0x1,_0x53f004[_0x5c209d(0x12e)](_0x460d3f['HTTPService'])),_0x5dfdde(0x2,_0x53f004[_0x5c209d(0x2d8)]),_0x5dfdde(0x3,_0x53f004['ILogService']),_0x5dfdde(0x4,_0x1647fd['ISnapshotServerService'])],_0x577117['BrowserCollaborationSocketService']);var _0x1e7049=Object['getOwnPropertyDescriptor'],_0x735883=(_0x377853,_0x5b2ff9,_0x9afd48,_0x41e4d4)=>{const _0x2ac980=_0x5c209d;for(var _0x1a8677=_0x41e4d4>0x1?void 0x0:_0x41e4d4?_0x1e7049(_0x5b2ff9,_0x9afd48):_0x5b2ff9,_0x13efe3=_0x377853[_0x2ac980(0x377)]-0x1,_0x51adb3;_0x13efe3>=0x0;_0x13efe3--)(_0x51adb3=_0x377853[_0x13efe3])&&(_0x1a8677=_0x51adb3(_0x1a8677)||_0x1a8677);return _0x1a8677;},_0x4a9915=(_0x43c716,_0x5378c7)=>(_0x396f7a,_0x24b056)=>_0x5378c7(_0x396f7a,_0x24b056,_0x43c716);_0x577117[_0x5c209d(0x271)]=class extends _0x53f004[_0x5c209d(0x131)]{constructor(_0x365ef8,_0xc26898,_0x854c73){const _0x2561c9=_0x5c209d;super(),this['_instanceService']=_0x365ef8,this[_0x2561c9(0x167)]=_0xc26898,this[_0x2561c9(0x356)]=_0x854c73;}async[_0x5c209d(0x23a)](_0x45fa4a,_0x52d688,_0x187d10,..._0x57532a){const _0x4cd9fa=_0x5c209d;var _0x413872,_0x3b5c32,_0xea8ba9,_0x58f3b9;const _0x31105e=this['_instanceService'][_0x4cd9fa(0x182)]();if(!_0x31105e)throw new Error(_0x4cd9fa(0x279));const _0x264406=((_0x413872=this[_0x4cd9fa(0x356)][_0x4cd9fa(0x2f5)](_0x23cab7[_0x4cd9fa(0x314)]))!=null?_0x413872:_0x23cab7[_0x4cd9fa(0x2dd)])+'/'+_0x45fa4a+_0x4cd9fa(0x242)+_0x52d688,_0x2c46e9=new URL(window[_0x4cd9fa(0x1ed)][_0x4cd9fa(0x228)]),_0x3ebf5f={'scriptId':_0x45fa4a,'runId':(_0x3b5c32=_0x2c46e9['searchParams'][_0x4cd9fa(0x28b)](_0x4cd9fa(0xd2)))!=null?_0x3b5c32:'','function':_0x52d688,'unitId':_0x31105e['getUnitId'](),'argsOfFunction':JSON[_0x4cd9fa(0x19d)](_0x57532a),'invokeId':(_0xea8ba9=_0x187d10[_0x4cd9fa(0x390)])!=null?_0xea8ba9:'','executionId':(_0x58f3b9=_0x187d10[_0x4cd9fa(0x232)])!=null?_0x58f3b9:''};try{const _0x533eb1=await this[_0x4cd9fa(0x167)]['post'](_0x264406,{'body':_0x3ebf5f});return _0x533eb1[_0x4cd9fa(0x11c)]['error']&&_0x533eb1[_0x4cd9fa(0x11c)][_0x4cd9fa(0x297)][_0x4cd9fa(0xf4)]!==_0x38571f['OK']?_0x4cd9fa(0x28e):_0x533eb1[_0x4cd9fa(0x11c)]['result'];}catch{return _0x4cd9fa(0x28e);}}},_0x577117[_0x5c209d(0x271)]=_0x735883([_0x4a9915(0x0,_0x53f004[_0x5c209d(0x2d1)]),_0x4a9915(0x1,_0x53f004['Inject'](_0x460d3f['HTTPService'])),_0x4a9915(0x2,_0x53f004[_0x5c209d(0x2d8)])],_0x577117[_0x5c209d(0x271)]);const _0x1f9bdd=0x7530,_0x112122=_0x5c209d(0x2c6);class _0x31f563 extends _0x53f004[_0x5c209d(0x131)]{constructor(){const _0x3b29aa=_0x5c209d;super(),_0x21ada4(this,_0x3b29aa(0x278),_0x53f004[_0x3b29aa(0x168)]()),_0x21ada4(this,_0x3b29aa(0x163),new Set()),_0x21ada4(this,_0x3b29aa(0x12b),new Map()),_0x21ada4(this,'_heartbeatTimer',null),_0x21ada4(this,_0x3b29aa(0x123),new Map()),_0x21ada4(this,_0x3b29aa(0x31d),new Map()),this[_0x3b29aa(0x2e4)]();}['dispose'](){const _0x60e962=_0x5c209d;super[_0x60e962(0x119)](),this[_0x60e962(0x123)][_0x60e962(0x1df)]((_0x3a425b,_0x4fb44c)=>this[_0x60e962(0x2dc)](_0x4fb44c)),this[_0x60e962(0x1f3)]&&window[_0x60e962(0x30e)](this['_heartbeatTimer']);}[_0x5c209d(0x35e)](_0x5dfc0a){const _0x1a6b43=_0x5c209d;return this[_0x1a6b43(0x2a5)](_0x5dfc0a)[_0x1a6b43(0xca)](_0x57807a['distinctUntilChanged']());}[_0x5c209d(0x37a)](_0xcd6a02){const _0x28cc9a=_0x5c209d;this[_0x28cc9a(0x163)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x28cc9a(0x163)]['add'](_0xcd6a02),this[_0x28cc9a(0x28a)]({'type':0x0,'memberID':this[_0x28cc9a(0x278)],'unitIDs':[_0xcd6a02],'isForwarded':!0x1});}[_0x5c209d(0xd1)](_0x23af0b){const _0x2cc5a5=_0x5c209d;this['_selfUnitIDs'][_0x2cc5a5(0x1e9)](_0x23af0b),this['_selfUnitIDs'][_0x2cc5a5(0x2fc)]===0x0&&this[_0x2cc5a5(0x1f3)]&&window[_0x2cc5a5(0x30e)](this['_heartbeatTimer']);}[_0x5c209d(0x2e4)](){const _0x2c04e6=_0x5c209d;this[_0x2c04e6(0x317)](_0x53f004[_0x2c04e6(0xfd)](_0x57807a['fromEvent'](window,_0x2c04e6(0x348))[_0x2c04e6(0x26a)](_0x1c66c3=>{const _0x224b6d=_0x2c04e6;if(_0x1c66c3[_0x224b6d(0x358)]!==_0x112122||!_0x1c66c3[_0x224b6d(0x28c)])return;const _0x52a3ed=JSON[_0x224b6d(0x17a)](_0x1c66c3[_0x224b6d(0x28c)]);this[_0x224b6d(0x2de)](_0x52a3ed);}))),window['addEventListener']('unload',()=>this[_0x2c04e6(0x28a)]({'type':0x1,'memberID':this[_0x2c04e6(0x278)],'unitIDs':Array['from'](this[_0x2c04e6(0x163)])}));}[_0x5c209d(0x2de)](_0x42004d){const _0x96151f=_0x5c209d;switch(_0x42004d[_0x96151f(0xe1)]){case 0x0:this['_handleJoinEvent'](_0x42004d);break;case 0x1:this[_0x96151f(0xdf)](_0x42004d);break;case 0x2:this[_0x96151f(0x287)](_0x42004d);break;}}[_0x5c209d(0x11d)](_0x151f9d){const _0x7ec6bf=_0x5c209d,{unitIDs:_0x528dc7,memberID:_0x5dd812,isForwarded:_0x526d36}=_0x151f9d;_0x528dc7[_0x7ec6bf(0x1df)](_0x426c09=>{const _0x5696e3=_0x7ec6bf;if(!_0x526d36&&this[_0x5696e3(0x12b)][_0x5696e3(0x141)](_0x426c09)&&this[_0x5696e3(0x2a5)](_0x426c09)['next'](_0x23cab7[_0x5696e3(0x299)][_0x5696e3(0x1bf)]),!this[_0x5696e3(0x12b)][_0x5696e3(0x141)](_0x426c09)||!this['_unitOnClients'][_0x5696e3(0x28b)](_0x426c09)['has'](_0x5dd812)){const _0x55fbad=this[_0x5696e3(0x12b)]['get'](_0x426c09)||new Set();_0x55fbad[_0x5696e3(0x12c)](_0x5dd812),this['_unitOnClients'][_0x5696e3(0x15a)](_0x426c09,_0x55fbad),this[_0x5696e3(0x2b4)](_0x5dd812);}}),_0x526d36||this[_0x7ec6bf(0x28a)]({'type':0x0,'memberID':this[_0x7ec6bf(0x278)],'unitIDs':[...this[_0x7ec6bf(0x163)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x595d07){const _0x4a4f51=_0x5c209d;this[_0x4a4f51(0x2dc)](_0x595d07);const _0x3c42b2=window[_0x4a4f51(0x15f)](()=>{const _0x9fae3e=_0x4a4f51;this[_0x9fae3e(0x12b)][_0x9fae3e(0x1df)](_0x43fdb7=>{_0x43fdb7['delete'](_0x595d07);});},_0x1f9bdd*0x2);this[_0x4a4f51(0x123)][_0x4a4f51(0x15a)](_0x595d07,_0x3c42b2);}[_0x5c209d(0x2dc)](_0x1f5310){const _0x1cbad0=_0x5c209d;if(this[_0x1cbad0(0x123)]['has'](_0x1f5310)){const _0x24ef69=this[_0x1cbad0(0x123)][_0x1cbad0(0x28b)](_0x1f5310);_0x24ef69&&window[_0x1cbad0(0x104)](_0x24ef69),this[_0x1cbad0(0x123)][_0x1cbad0(0x15a)](_0x1f5310,null);}}[_0x5c209d(0xdf)](_0x463fc6){const _0x4dae78=_0x5c209d,{memberID:_0x350f7d,unitIDs:_0xedfaaf}=_0x463fc6;_0xedfaaf[_0x4dae78(0x1df)](_0x66c42e=>{const _0x4d571e=_0x4dae78;var _0x281de3;const _0x3fb191=this[_0x4d571e(0x12b)][_0x4d571e(0x28b)](_0x66c42e);_0x3fb191&&(_0x3fb191['delete'](_0x350f7d),(_0x281de3=this[_0x4d571e(0x2a5)](_0x66c42e))==null||_0x281de3[_0x4d571e(0x11e)](_0x3fb191['size']===0x0?_0x23cab7['UnitStatus'][_0x4d571e(0xcd)]:_0x23cab7[_0x4d571e(0x299)][_0x4d571e(0x1bf)]));}),this['_removeClearOtherTimer'](_0x350f7d);}[_0x5c209d(0x287)](_0x161174){const _0x595179=_0x5c209d;this[_0x595179(0x2b4)](_0x161174[_0x595179(0x290)]);}[_0x5c209d(0x28a)](_0x21cfe2){const _0x2981fa=_0x5c209d;localStorage[_0x2981fa(0x255)](_0x112122,JSON[_0x2981fa(0x19d)](_0x21cfe2));}['_scheduleHeartbeat'](){const _0x5af0ff=_0x5c209d;this[_0x5af0ff(0x1f3)]=window[_0x5af0ff(0x18a)](()=>{const _0x191c5b=_0x5af0ff;this[_0x191c5b(0x28a)]({'type':0x2,'memberID':this[_0x191c5b(0x278)]});},_0x1f9bdd);}['_ensureSubject'](_0x59b0ad){const _0x4c03de=_0x5c209d;return this[_0x4c03de(0x31d)]['has'](_0x59b0ad)||this[_0x4c03de(0x31d)][_0x4c03de(0x15a)](_0x59b0ad,new _0x57807a[(_0x4c03de(0x18e))](_0x23cab7[_0x4c03de(0x299)][_0x4c03de(0xcd)])),this[_0x4c03de(0x31d)][_0x4c03de(0x28b)](_0x59b0ad);}}_0x577117[_0x5c209d(0x25f)]=_0x28e5db,_0x577117[_0x5c209d(0x37d)]=_0x4188d9,_0x577117[_0x5c209d(0x32d)]=_0x31f563,_0x577117['WebURLService']=_0x505c61,Object['defineProperty'](_0x577117,Symbol[_0x5c209d(0x1ba)],{'value':_0x5c209d(0x1d6)});}));function _0x1146(_0x3a55c1,_0xf3e1c3){_0x3a55c1=_0x3a55c1-0xc7;const _0x3b353d=_0x3b35();let _0x114638=_0x3b353d[_0x3a55c1];return _0x114638;}function _0x3b35(){const _0x42176e=['getCollabCursors$','_unitStatus','LICENSE_EXPORT_SIZE_EXCEEDED','_currentUsage','doc.mutation.rich-text-editing','_docTransformIMECacheService','_getMergeRange','then','unhandledrejection','round','subunit','makeDirty','_commandService','Rect','font','UniverDocs','colno','WebBrowserSingleActiveUnitService','with','_drawRectRange','SOCKET_FAILED','fillRule','@univerjs/network','_initCommandExecutedListener','isArray','getTypeOfUnitAdded$','APPLY_DUPLICATED','_renderManagerService','_imageIoService','_anchorDot','cursorInfo','ENTITLE_INVALID_COUPON_CODE','onPointerEnter$','_docTransformSelectionsService','throttleTime','setUndoRedoMutationParamsCache','univerjs-icon\x20univerjs-icon-','_labelPosition','object','onPointerLeave$','REDEMPTION_INVALID_CODE','arc','Tools','_eventUnsubscribe','storage','deepClone','OTHER_CLIENT_EDITING','transformMutation','_render','evenodd','DocSelectionManagerService','Subject','mutations','CollaborationUIEventId','OFFLINE','saveTaskMap','displayName','substring','_configService','REDEMPTION_USER_NOT_ELIGIBLE','key','react/jsx-runtime','currentUsage','DATA_SOURCE_TOO_LARGE','InsertRangeMoveDownCommandId','connectInjector','getUnitStatus$','getUnhiddenWorksheets','_toggleOnline','/universer-api/license/formula/limit/status','_docTransformStateCacheService','ENTITLE_REPORT_LIMIT_EXCEED','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','_messageService','\x20at\x20','getCurrentSelections','AWAITING_WITH_PENDING','MessageType','_textBubble','getMemberID','getCollabEntity$','UPDATE_CURSOR','1355900IIEeKa','_updateLocalCursor','USER_IS_ANONYMOUS','green.600','React','history','onCommandExecuted','_hasFormulaInDirtyRanges','transformRemoteChangeset','length','engine','_injector','editingUnit','APPLY_REVISION_CONFILICT','TRANSFORM_CHANGE_OBSERVABLE_TYPE','SheetCollabCursorShape','_handleHover','_localeService','defs','react','getVpScrollXYInfoByPosToVp','activeSheet$','onStarting','searchParams','source','HTTPService','getActiveRange','_themeService','removeParam','_updateSubUnitFromURLParams','closePath','_draw','collaboration.offline-data-not-saved','jiqing.500','invokeId','height','setStateCache','_colorIndex','UniverEngineRender','useRef','backgroundColor','_toggleOffline','unitId','IRenderManagerService','_transformHistoryAndStateStack','_showGuardMessage','trim','unshift','collabCursorState$','/universer-api/frontend/logs','attrs','registerRefRange','_lastPointer','391844JavxRR','UniverInstanceType','startRow','_drawTextRange','_getSessionTicket','FromArray','UniverSheets','UNIVER_DOC','range','LICENSE_DISTRO_REJECTED','width','_registerDependencies','popstate','div','_lastResponseTimestamp','_beforeCloseService','Tooltip','pipe','getUnit','IBeforeCloseService','NO_OTHER_CLIENTS_EDITING','/universer-api/license/formula/limit/start','isTransformMutationsWithChangesetSuccess','currentSkeleton$','disposeUnit','runId','IRemoteInstanceService','REDEMPTION_CODE_HAS_BEEN_CREATED','SYNCED','Unknown\x20user','IMessageService','RevisionService','docStateChange$','onMouseMove','disableLocalCache','PY_RUNTIME_SCRIPT_ERROR','YUUMI_ALL_TABLES_IS_INVALID','transformByState','_handleLeaveEvent','forwardRef','type','DeleteRangeMoveLeftCommandId','_anchor','getCellPositionByOffset','CLOSE_ROOM','_backgroundColor','_color','_entityInit$','setActiveRange','COLORS','getCurrentRevOfUnit','onTransformChange$','PERMISSION_DENIED','collab-rect-range-','_dataLoaderService','_revisionService','clipPath','includes','registerComponent','code','createElement','_getScale','getColorFromTheme','_syncEditingCollabCursorService','ICommandService','collab-client.tooltip.reconnect','from','operators','toDisposable','APPLY_PERMISSION_DENIED','data','INVALID_ARGUMENT','_docSkeletonManagerService','parseInt','isFormulaId','clearTimeout','serializeRangeWithSheet','YUUMI_SUBSCRIPTION_NOT_FOUND','shareReplay','_disabled','collabStatus.fetchMiss','handleDeleteRangeMoveLeft','sessionTicket','12hHkDPg','CONFLICT','/universer-api/license/formula/limit/done','_collaborationController','REDEMPTION_CODE_INACTIVE','MOBILE_HAS_BEEN_BOUND','NOT_FOUND','InsertColCommandId','restore','RxDisposable','LocaleService','@univerjs/core','catch','dispose','onPointerMove$','getStateCache','body','_handleJoinEvent','next','_cursorInfo$','SetSelectionsOperation','_scene','uni.network.url-service','_clearOtherTimers','defineProperty','addEventListener','getCellMatrix','saveImage','SetTextSelectionsOperation','_createSocketURL','3141bKOrgy','_unitOnClients','add','isFormulaString','Inject','ITransformService','onLocalMutation','Disposable','_memberID','stack','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Success','_transformPreviousActiveRange','DeleteRangeMoveUpCommandId','post','removeEventListener','collaboration.single-unit.warning','executeCommand','colorChannel1','wsSessionTicketUrl','DesktopCollaborationStatusDisplayController','_initCommandInterceptor','xlink:href','has','ALREADY_EXISTS','children','INTERNAL_ERROR','COMPLETION_FINISHED','_monkeyPatchLogService','[LogService\x20Error]:\x20','_logService','handleInsertCol','_shapes','EMAIL_HAS_BEEN_BOUND','DEFAULT_WS_SESSION_TICKET_URL','triggerDblclick','ENTITLE_CAN_NOT_BUY_LOWER_OTP','@univerjs/sheets-ui','init','_status$','807545JfFTyw','black','useCallback','_taskIds','now','_checkCalculationAvailable','loadOfflineData','complete','set','isEditing','handleMoveRange','m2Prime','save','setTimeout','Warning','limitInfo','LOGIN_TOKEN_PROCESSING_FAILED','_selfUnitIDs','formula.calculation.waiting','CanceledError','color','_httpService','generateRandomId','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','on-line-icon','min','DocIMEInputManagerService','some','_scheduleSaving','ONLINE','svg','EMAIL_VERIFY_CODE_MISMATCH','_localStorageService','_localCacheService','hovered','_docSkeleton','tag','getLocalCacheKey','enableLocalCache','getSheetBySheetId','parse','mask','ENSURE_SNAPSHOT_EXECUTION','RECT','INVITE_CODE_REQUIRED','event$','fill','_removeCollabCursors','getFocusedUnit','url(#$1','UniverEngineFormula','ENTITLE_COUPON_USED_UP','currentTheme$','UniverNetwork','193257OwpjTM','UNDEFINED','setInterval','_cursors','useDependency','addObjects','BehaviorSubject','_range','UniverProCollaborationClientUi','split','filter','transform','_saveCache','createInstance','contains','VIEW_MAIN','SNAPSHOT_HAS_BEEN_REMOVED','UniverDrawing','getRelativeToViewportCoord','status$','bottom','stringify','urlChange$','FormulaExecuteStageType','random','fillStyle','ENTITLE_COUPON_EXPIRED','MemberService','YUUMI_RATE_OVER_LIMIT','dirtyRanges','toRgbString','ColorKit','ranges','imageSourceType','START_CALCULATION','jsxs','pushState','WECHAT_HAS_BEEN_BOUND','handleIRemoveRow','_initEntityListener','_applyCommand','ILocalCacheService','_getAnchorBounding','addHandlerCallback','none','sheetID','undoState','entityInit$','Workbook','_releaseCalculationLimit','toStringTag','selections','replace','unitID','YUUMI_UNABLE_LOAD_URL','OTHER_CLIENTS_EDITING','measureText','DocCollaborationEntity','@univerjs/design','RegularPolygon','transformStateCache','replaceDocRanges','@univerjs/docs','resize','addObject','UNIVER_SHEET','@univerjs/sheets','startColumn','translate(.97)','_pollingInterval','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','RefRangeService','fillText','handleIRemoveCol','REDEMPTION_USER_REDEEM_TIMES_EXCEED','LICENSE_MAX_UNITS_EXCEEDED','sessionStatus$','1em','Module','_cachedData','dispose$','getValue','SetFormulaCalculationStartMutation','pluginName','@univerjs-pro/collaboration','endRow','updateOfflineData','forEach','asObservable','jsx','IUIPartsService','loadUnit','transformMutationsWithChangeset','formula.calculation.unable','yellow.400','getFormulaLimitStatusUrl','text','delete','string','registerBeforeClose','1309778LswJZC','location','Optional','syncEditingCollabCursor','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CollaborationStatus','collab-text-anchor-','_heartbeatTimer','_docClipboardService','UniverRpc','BuiltInUIPart','_docSyncEditingCollabCursorService','INVITE_CODE_HAS_BEEN_UES','getItem','sheetId','YUUMI_AI_RUN_FAILED','UniverCollaborationClientUIPlugin','REDEMPTION_CODE_NOT_STARTED','_initUserListener','_refRangeService','_getSaveTimeout','hide','unit','idSuffix','ILogService','addClipboardHook','IImageIoService','getSkeleton','CONNECTOR_DATA_TOO_LARGE','RemoveRowCommandId','2963700QsYqRz','@univerjs/rpc','session.collaboration-timeout','CollaborationController','filename','roomMembers','_collaborationSessionService','getRangePointData','values','mergeOverrideWithDependencies','runRefRangeMutations','_context','_saveTaskMap','amd','@univerjs/ui','getSheetObject','_checkAndWaitForCalculationPermission','actions','_initUnhandledRejectionListener','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','USERS_LEAVE','ENTITLE_NEED_BILLING_ADDRESS','getTypeOfUnitDisposed$','_roomMembers$','DOC_RANGE_TYPE','UniverProCollaborationClient','moveTo','_assignedColors','getDocRanges','ThemeService','href','_hover','CollaborationEvent','ENTITLE_CHAT_LIMIT_EXCEED','stageInfo','setShapeProps','formula.calculation.started','_startCalculationLimit','_startDocCollabCursor','cursorInfo$','executionId','TEXT','INVALID_INVITE_CODE','SUCCESS','_docStateChangeManagerService','NodePositionConvertToRectRange','@univerjs/engine-formula','registerDependencies','runOnServer','?taskId=','isActive','_online','session.connection-failed','CollaborationDataLoaderController','_collabCursorController','white','/run/','M0\x200H16V16H0z','map','_collabSessionService','SHEET_VIEWPORT_KEY','merge','handleDeleteRangeMoveUp','AWAITING','debounceTime','Injector','Vector2','FormulaExecutedStateType','OffLineIcon','whenReady','JOIN_ROOM_FAILED','SetDocZoomRatioOperation','registerRenderModule','_getSheetObject','params','setItem','function','isTransformMutationFailure','collaboration.closeRoom','_memberService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','15112JBchzs','getUnitId','find','SessionStatus','IURLService','drawWith','message','_doCreateSocket','reason','INVITE_CODE_ALREADY_BOUND','ENTITLE_USE_COUPON_NOT_1ST_TRADE','ERROR_AGAIN','_hideTimer','_sheetSkeletonManagerService','push','subscribe','UNAUTHENTICATED','_initResize','_clearPolling','_getFormulaLimitStatus','_uploadLog','collabStatus.synced','RemoteUniscriptService','permission.title','handleInsertRangeMoveDown','_collabCursorState$','touchDependencies','send','collabStatus.syncing','_id','[RemoteUniscriptService]:\x20no\x20focused\x20unit','HEADER_MENU','_transformUndoRedoStack','path','setAlpha','http://www.w3.org/2000/svg','switchMap','_urlService','MUTATION','toString','0\x200\x2016\x2016','redoState','MOBILE_VERIFY_CODE_MISMATCH','getMember','_handleHeartbeatEvent','socket$','_univerInstanceService','_send','get','newValue','_document','Failed','_updateCollabCursors','memberID','_config','_maxFormulaLimit','_notificationService','@univerjs/drawing','permission.content','show','error','on-line-icon_clip0_910_349','UnitStatus','getCoordByCell','startFormulaLimitUrl','YUUMI_URL_COL_OUT_OF_RANGE','TEXT_RANGE_LAYER_INDEX','_initDependencies','_transformService','subscribeEvent','LICENSE_IMPORT_SIZE_EXCEEDED','setParam','off-line-icon','getViewport','_ensureSubject','USER_NOT_FOUND','debounce','eventID','USER_NOT_INVITED_CODE','[CollaborationDataLoaderController]','SheetSkeletonManagerService','univer-flex\x20univer-items-center','lineTo','getRenderById','enableFrontendLog','assignAColorForMemberID','UNRECOGNIZED','row','mapTo','_scheduleClearOtherTimer','_uiPartsService','YUUMI_ASYNCIO_CANCELLED','SNAPSHOT_INVALID_SNAPSHOT','0\x200\x2017\x2016','top','_updateURLWithCurrentState','_onCursorDelete','@univerjs-pro/collaboration-client','_setupBeforeClosingHandler','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','roomMembers$','takeUntil','_drawAnchor','m1Prime','off-line-icon_clip0_910_343','DocStateChangeManagerService','getUndoRedoMutationParamsCache','ACTIVE_UNIT_EVENT_CHANNEL','transformSelections','PENDING','onRendered','collabStatus.notCollab','entries','_cursorShapes','exhaustSavingTask','WebSocketService','red.300','NOT_COLLAB','IUniverInstanceService','_setupSubUnitSync','ENTITLE_INSUFFICIENT_QUOTA','getParam','SOCKET_FAILED_RETRY','ILocalStorageService','_colorAssignService','IConfigService','PAYMENT_CHANNEL_NOT_SUPPORT','all','_refreshCollabCursors','_removeClearOtherTimer','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_handleEvent','rxjs/operators','_startSheetCollabCursor','YUUMI_NO_CUBOID_FOR_QUESTION','override','selection','_init','Error','#FFF','getOffsetConfig','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','findNodePositionByCharIndex','_setFormulaLimitStatus','getColor','APPLY_REJECT','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_onRefRangeChange','replaceState','saveOfflineData','fromEventSubject','origin','BrowserCollaborationSocketService','_cursor','getConfig','_name','Plugin','SetWorksheetActivateCommand','CHANGESET_REVISION_CONFILICT','requireSession','getOwnPropertyDescriptor','size','EffectRefRangId','column','_session','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','subUnitId','CollaborationSessionService','_initEvent','getSheetId','DisposableCollection','fromEvent','_hovered','_registerRenderDependencies','name','DocSkeletonManagerService','LOCAL_CACHE_INTERVAL','AUTHORIZE_CODE_ILLEGAL','getMergeData','clearInterval','_entities','YUUMI_CONNECTOR_URL_NOT_FOUND','_initWindowErrorListener','flatMap','getAncestorScale','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','rgba(255,\x20255,\x20255,\x200.01)','rxjs','disposeWithMe','_initStatusListener','univer-mr-2\x20univer-flex\x20univer-text-xl','transformIMECache','_onCursorUpdate'];_0x3b35=function(){return _0x42176e;};return _0x3b35();}