@univerjs-pro/collaboration-client-ui 0.12.3-experimental.20251205-8c9a6bf → 0.12.3-nightly.202512060617

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5833(_0x30586c,_0x4f2611){_0x30586c=_0x30586c-0x108;const _0x520a0e=_0x520a();let _0x583330=_0x520a0e[_0x30586c];return _0x583330;}(function(_0x32d6af,_0xa905a5){const _0x3e765c=_0x5833,_0x58f836=_0x32d6af();while(!![]){try{const _0x2ea93c=-parseInt(_0x3e765c(0x263))/0x1+-parseInt(_0x3e765c(0x17e))/0x2*(-parseInt(_0x3e765c(0x145))/0x3)+parseInt(_0x3e765c(0x1b1))/0x4+parseInt(_0x3e765c(0x278))/0x5*(parseInt(_0x3e765c(0x1fd))/0x6)+-parseInt(_0x3e765c(0x1d1))/0x7+parseInt(_0x3e765c(0x1d5))/0x8*(parseInt(_0x3e765c(0x285))/0x9)+-parseInt(_0x3e765c(0x186))/0xa*(-parseInt(_0x3e765c(0x2b2))/0xb);if(_0x2ea93c===_0xa905a5)break;else _0x58f836['push'](_0x58f836['shift']());}catch(_0x357fe7){_0x58f836['push'](_0x58f836['shift']());}}}(_0x520a,0x44a60),function(_0x5dcd53,_0x304d5c){const _0x10e2d8=_0x5833;typeof exports==_0x10e2d8(0x372)&&typeof module<'u'?_0x304d5c(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==_0x10e2d8(0x1b0)&&define[_0x10e2d8(0x3f1)]?define([_0x10e2d8(0x30e),_0x10e2d8(0x3b3),_0x10e2d8(0x135),'@univerjs/core','@univerjs/ui',_0x10e2d8(0x374),_0x10e2d8(0x3e6),_0x10e2d8(0x15f),'@univerjs/rpc',_0x10e2d8(0x3eb),'@univerjs/engine-render','@univerjs/network','@univerjs/docs-ui',_0x10e2d8(0x12d),'@univerjs-pro/collaboration',_0x10e2d8(0x2ef),_0x10e2d8(0x21d),'rxjs/operators',_0x10e2d8(0x323)],_0x304d5c):(_0x5dcd53=typeof globalThis<'u'?globalThis:_0x5dcd53||self,_0x304d5c(_0x5dcd53[_0x10e2d8(0x326)]={},_0x5dcd53[_0x10e2d8(0x2b9)],_0x5dcd53[_0x10e2d8(0x266)],_0x5dcd53[_0x10e2d8(0x2a5)],_0x5dcd53[_0x10e2d8(0x34a)],_0x5dcd53[_0x10e2d8(0x374)],_0x5dcd53[_0x10e2d8(0x1ed)],_0x5dcd53['React'],_0x5dcd53['UniverRpc'],_0x5dcd53[_0x10e2d8(0x3a6)],_0x5dcd53[_0x10e2d8(0x2b7)],_0x5dcd53['UniverNetwork'],_0x5dcd53[_0x10e2d8(0x311)],_0x5dcd53[_0x10e2d8(0x193)],_0x5dcd53[_0x10e2d8(0x15a)],_0x5dcd53[_0x10e2d8(0x232)],_0x5dcd53[_0x10e2d8(0x29e)],_0x5dcd53[_0x10e2d8(0x374)][_0x10e2d8(0x3ed)],_0x5dcd53[_0x10e2d8(0x268)]));}(this,function(_0x23f96a,_0x56f8e0,_0x40f345,_0x99a487,_0x3ebdd3,_0xf18ada,_0xdfb808,_0x24e254,_0x52bf9f,_0x1e6c76,_0x4b6de8,_0xb43dfb,_0x2afbb3,_0xba1fc8,_0x1d0b4f,_0x2d04b0,_0x7369e4,_0x4f8855,_0x31a5a7){'use strict';const _0x42caba=_0x5833;var _0x76e751=Object[_0x42caba(0x321)],_0x5c1d79=(_0x14a026,_0x188201,_0x37532d)=>_0x188201 in _0x14a026?_0x76e751(_0x14a026,_0x188201,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37532d}):_0x14a026[_0x188201]=_0x37532d,_0x450946=(_0x5079ec,_0x33855f,_0x3e107e)=>_0x5c1d79(_0x5079ec,typeof _0x33855f!=_0x42caba(0x180)?_0x33855f+'':_0x33855f,_0x3e107e);function _0x365323({ref:_0x5d0263,..._0xf2ddfa}){const _0x4c692c=_0x42caba,{icon:_0x398384,id:_0x25cc43,className:_0x380a80,extend:_0x31702c,..._0x347032}=_0xf2ddfa,_0x4aed5e=(_0x4c692c(0x132)+_0x25cc43+'\x20'+(_0x380a80||''))[_0x4c692c(0x3cb)](),_0x5bdd7c=_0x24e254[_0x4c692c(0x246)]('_'+_0xcd1b20());return _0x377bf1(_0x398384,''+_0x25cc43,{'defIds':_0x398384[_0x4c692c(0x144)],'idSuffix':_0x5bdd7c[_0x4c692c(0x14d)]},{'ref':_0x5d0263,'className':_0x4aed5e,..._0x347032},_0x31702c);}function _0x377bf1(_0x5bbd0a,_0x18bd69,_0x121ffc,_0x34bf7e,_0x29b21f){const _0x32709a=_0x42caba;return _0x24e254[_0x32709a(0x229)](_0x5bbd0a[_0x32709a(0x1a6)],{'key':_0x18bd69,..._0x309c26(_0x5bbd0a,_0x121ffc,_0x29b21f),..._0x34bf7e},(_0x473eb8(_0x5bbd0a,_0x121ffc)[_0x32709a(0x131)]||[])['map']((_0xa9fe4c,_0x5b10dd)=>_0x377bf1(_0xa9fe4c,_0x18bd69+'-'+_0x5bbd0a['tag']+'-'+_0x5b10dd,_0x121ffc,void 0x0,_0x29b21f)));}function _0x309c26(_0x4dfc77,_0x4f4197,_0x4e177e){const _0x4b1e24=_0x42caba,_0x5b7bad={..._0x4dfc77[_0x4b1e24(0x1ab)]};_0x4e177e!=null&&_0x4e177e['colorChannel1']&&_0x5b7bad['fill']===_0x4b1e24(0x2fb)&&(_0x5b7bad[_0x4b1e24(0x1bb)]=_0x4e177e[_0x4b1e24(0x2fb)]),_0x4dfc77[_0x4b1e24(0x1a6)]===_0x4b1e24(0x31c)&&_0x5b7bad['id']&&(_0x5b7bad['id']=_0x5b7bad['id']+_0x4f4197[_0x4b1e24(0x2a1)]),Object[_0x4b1e24(0x1cf)](_0x5b7bad)[_0x4b1e24(0x2e5)](([_0x27ea69,_0x1ef1c6])=>{const _0x34c40d=_0x4b1e24;_0x27ea69===_0x34c40d(0x31c)&&typeof _0x1ef1c6=='string'&&(_0x5b7bad[_0x27ea69]=_0x1ef1c6['replace'](/url\(#(.*)\)/,_0x34c40d(0x3be)+_0x4f4197['idSuffix']+')'));});const {defIds:_0xb0934c}=_0x4f4197;return!_0xb0934c||_0xb0934c[_0x4b1e24(0x1f4)]===0x0||(_0x4dfc77['tag']==='use'&&_0x5b7bad[_0x4b1e24(0x158)]&&(_0x5b7bad[_0x4b1e24(0x158)]=_0x5b7bad[_0x4b1e24(0x158)]+_0x4f4197[_0x4b1e24(0x2a1)]),Object[_0x4b1e24(0x1cf)](_0x5b7bad)[_0x4b1e24(0x2e5)](([_0x25f6f5,_0x68f30b])=>{const _0x4b0f65=_0x4b1e24;typeof _0x68f30b==_0x4b0f65(0x307)&&(_0x5b7bad[_0x25f6f5]=_0x68f30b[_0x4b0f65(0x190)](/url\(#(.*)\)/,_0x4b0f65(0x3be)+_0x4f4197[_0x4b0f65(0x2a1)]+')'));})),_0x5b7bad;}function _0x473eb8(_0x4a2a88,_0x3169bf){const _0x3079d0=_0x42caba;var _0x166be8;const {defIds:_0x4e7ea7}=_0x3169bf;return!_0x4e7ea7||_0x4e7ea7[_0x3079d0(0x1f4)]===0x0?_0x4a2a88:_0x4a2a88['tag']===_0x3079d0(0x365)&&((_0x166be8=_0x4a2a88[_0x3079d0(0x131)])!=null&&_0x166be8[_0x3079d0(0x1f4)])?{..._0x4a2a88,'children':_0x4a2a88[_0x3079d0(0x131)][_0x3079d0(0x139)](_0x2a248d=>typeof _0x2a248d['attrs']['id']==_0x3079d0(0x307)&&_0x4e7ea7&&_0x4e7ea7[_0x3079d0(0x2f0)](_0x2a248d[_0x3079d0(0x1ab)]['id'])?{..._0x2a248d,'attrs':{..._0x2a248d[_0x3079d0(0x1ab)],'id':_0x2a248d[_0x3079d0(0x1ab)]['id']+_0x3169bf[_0x3079d0(0x2a1)]}}:_0x2a248d)}:_0x4a2a88;}function _0xcd1b20(){const _0x45bb83=_0x42caba;return Math[_0x45bb83(0x147)]()[_0x45bb83(0x2df)](0x24)['substring'](0x2,0x8);}_0x365323['displayName']=_0x42caba(0x3d1);const _0x44f037={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x42caba(0x14b),'viewBox':_0x42caba(0x3ce),'width':_0x42caba(0x31f),'height':_0x42caba(0x31f)},'children':[{'tag':'g','attrs':{'clipPath':_0x42caba(0x3df)},'children':[{'tag':_0x42caba(0x2a9),'attrs':{'stroke':_0x42caba(0x34c),'d':_0x42caba(0x142),'strokeLinecap':'round','strokeLinejoin':_0x42caba(0x281),'strokeWidth':1.2}}]},{'tag':_0x42caba(0x365),'attrs':{},'children':[{'tag':_0x42caba(0x396),'attrs':{'id':_0x42caba(0x24b)},'children':[{'tag':'path','attrs':{'fill':_0x42caba(0x23b),'d':_0x42caba(0x143)}}]}]}],'defIds':[_0x42caba(0x24b)]},_0x34401d=_0x24e254[_0x42caba(0x181)](function(_0x2ad812,_0x32d614){const _0x1b3bb8=_0x42caba;return _0x24e254[_0x1b3bb8(0x229)](_0x365323,Object[_0x1b3bb8(0x1c5)]({},_0x2ad812,{'id':'off-line-icon','ref':_0x32d614,'icon':_0x44f037}));});_0x34401d[_0x42caba(0x13f)]=_0x42caba(0x148);const _0x3716d6={'tag':_0x42caba(0x13a),'attrs':{'xmlns':_0x42caba(0x174),'fill':_0x42caba(0x14b),'viewBox':_0x42caba(0x1d9),'width':_0x42caba(0x31f),'height':_0x42caba(0x31f)},'children':[{'tag':'g','attrs':{'clipPath':_0x42caba(0x23d)},'children':[{'tag':'path','attrs':{'stroke':_0x42caba(0x34c),'d':_0x42caba(0x2b0),'strokeLinecap':_0x42caba(0x281),'strokeLinejoin':_0x42caba(0x281),'strokeWidth':1.2}}]},{'tag':_0x42caba(0x365),'attrs':{},'children':[{'tag':_0x42caba(0x396),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x42caba(0x2a9),'attrs':{'fill':_0x42caba(0x23b),'d':_0x42caba(0x143),'transform':'translate(.97)'}}]}]}],'defIds':[_0x42caba(0x357)]},_0x2998c0=_0x24e254[_0x42caba(0x181)](function(_0x382e47,_0x1a7bd7){const _0x5ad4ce=_0x42caba;return _0x24e254[_0x5ad4ce(0x229)](_0x365323,Object['assign']({},_0x382e47,{'id':_0x5ad4ce(0x157),'ref':_0x1a7bd7,'icon':_0x3716d6}));});_0x2998c0[_0x42caba(0x13f)]='OnLineIcon';function _0x21667f(_0x359917){const _0x25f0c2=_0x42caba;switch(_0x359917){case _0x40f345['CollaborationStatus']['OFFLINE']:return _0x25f0c2(0x2a4);case _0x40f345[_0x25f0c2(0x3cf)][_0x25f0c2(0x24a)]:return _0x25f0c2(0x2a8);case _0x40f345[_0x25f0c2(0x3cf)][_0x25f0c2(0x235)]:return _0x25f0c2(0x3ba);case _0x40f345[_0x25f0c2(0x3cf)][_0x25f0c2(0x293)]:return _0x25f0c2(0x34d);case _0x40f345['CollaborationStatus'][_0x25f0c2(0x375)]:case _0x40f345[_0x25f0c2(0x3cf)]['AWAITING_WITH_PENDING']:return _0x25f0c2(0x39b);case _0x40f345[_0x25f0c2(0x3cf)]['SYNCED']:case _0x40f345['CollaborationStatus']['PENDING']:return _0x25f0c2(0x168);}}function _0x1d8aba(_0xbd8c1e){const _0x38eb11=_0x42caba,{status$:_0xa737f1}=_0xbd8c1e,_0x567dcc=_0x3ebdd3[_0x38eb11(0x288)](_0xa737f1,_0x40f345[_0x38eb11(0x3cf)][_0x38eb11(0x293)]),_0x5f2bdf=_0x3ebdd3[_0x38eb11(0x2bf)](_0x99a487[_0x38eb11(0x35d)]),_0x38ad86=_0x3ebdd3[_0x38eb11(0x2bf)](_0x40f345['CollaborationSessionService']),_0xbad5f1=_0x567dcc!==_0x40f345[_0x38eb11(0x3cf)][_0x38eb11(0x3c7)],_0x50d381=_0x5f2bdf['t'](_0x21667f(_0x567dcc)),_0x56f642=_0xbad5f1?_0x56f8e0[_0x38eb11(0x198)](_0x2998c0,{}):_0x56f8e0[_0x38eb11(0x198)](_0x34401d,{}),_0x40805b=_0x24e254['useCallback'](()=>{_0xbad5f1||_0x38ad86['reconnect']();},[_0xbad5f1,_0x38ad86]);function _0x25a4cc(){const _0x255403=_0x38eb11;return _0x56f8e0[_0x255403(0x2dd)](_0x255403(0x21f),{'className':_0x255403(0x3a3),'onClick':_0x40805b,'children':[_0x56f8e0[_0x255403(0x198)](_0x255403(0x21f),{'className':_0xdfb808[_0x255403(0x3b4)](_0x255403(0x1f5),{'univer-text-green-500':_0xbad5f1,'univer-text-red-500':!_0xbad5f1}),'children':_0x56f642}),_0x56f8e0[_0x255403(0x198)](_0x255403(0x21f),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x50d381})]});}return _0xbad5f1?_0x25a4cc():_0x56f8e0['jsx'](_0xdfb808[_0x38eb11(0x265)],{'title':_0x5f2bdf['t']('collab-client.tooltip.reconnect'),'children':_0x25a4cc()});}var _0x26e07a=Object[_0x42caba(0x27d)],_0x355e6c=(_0x2a05de,_0x3f73d0,_0x3ec381,_0x16258a)=>{const _0x4c114f=_0x42caba;for(var _0x285b27=_0x16258a>0x1?void 0x0:_0x16258a?_0x26e07a(_0x3f73d0,_0x3ec381):_0x3f73d0,_0x543cfc=_0x2a05de[_0x4c114f(0x1f4)]-0x1,_0x341afb;_0x543cfc>=0x0;_0x543cfc--)(_0x341afb=_0x2a05de[_0x543cfc])&&(_0x285b27=_0x341afb(_0x285b27)||_0x285b27);return _0x285b27;},_0x3ab8b2=(_0x58a668,_0x2025d3)=>(_0x3158c6,_0x5c7cb0)=>_0x2025d3(_0x3158c6,_0x5c7cb0,_0x58a668);_0x23f96a[_0x42caba(0x254)]=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x4a7b61,_0x30aeb5,_0x1e445a,_0x18cf1b){const _0x552934=_0x42caba;super(),_0x450946(this,'_status$',new _0xf18ada[(_0x552934(0x1c2))](_0x40f345[_0x552934(0x3cf)][_0x552934(0x293)])),(this[_0x552934(0x2c0)]=_0x4a7b61,this['_injector']=_0x30aeb5,this['_collaborationController']=_0x1e445a,this['_uiPartsService']=_0x18cf1b,this[_0x552934(0x165)](),this[_0x552934(0x25e)]());}['_initStatusListener'](){const _0x304083=_0x42caba;this['disposeWithMe'](this[_0x304083(0x2c0)][_0x304083(0x2ab)][_0x304083(0x1cd)](_0xf18ada['switchMap'](()=>{const _0x3fc274=_0x304083,_0x19acff=this[_0x3fc274(0x2c0)]['getFocusedUnit']();return _0x19acff?this['_collaborationController'][_0x3fc274(0x29c)](_0x19acff[_0x3fc274(0x359)]()):_0xf18ada['of'](null);}),_0xf18ada[_0x304083(0x35b)](_0x3192df=>_0x3192df?_0x3192df[_0x304083(0x206)]:_0xf18ada['of'](_0x40f345[_0x304083(0x3cf)]['NOT_COLLAB'])))[_0x304083(0x222)](_0x13a574=>{const _0x57648a=_0x304083;this[_0x57648a(0x3e5)]['next'](_0x13a574);}));}['_initStatusComponent'](){const _0x40a897=_0x42caba;this[_0x40a897(0x170)](this[_0x40a897(0x253)][_0x40a897(0x1bd)](_0x3ebdd3[_0x40a897(0x184)][_0x40a897(0x28a)],()=>_0x3ebdd3['connectInjector'](_0x5b6f7b({'status$':this['_status$'][_0x40a897(0x154)]()}),this['_injector'])));}},_0x23f96a[_0x42caba(0x254)]=_0x355e6c([_0x3ab8b2(0x0,_0x99a487[_0x42caba(0x14f)]),_0x3ab8b2(0x1,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x3ab8b2(0x2,_0x99a487[_0x42caba(0x2ac)](_0x40f345[_0x42caba(0x1f7)])),_0x3ab8b2(0x3,_0x3ebdd3[_0x42caba(0x252)])],_0x23f96a['DesktopCollaborationStatusDisplayController']);function _0x5b6f7b(_0x2fd73f){const {status$:_0x1fe326}=_0x2fd73f;return function(){const _0x4393b8=_0x5833;return _0x56f8e0[_0x4393b8(0x198)](_0x1d8aba,{'status$':_0x1fe326});};}const _0x2eaaa6=_0x99a487[_0x42caba(0x2db)](_0x42caba(0x12b));var _0x85530=Object[_0x42caba(0x27d)],_0x3c6f2c=(_0x387f64,_0x4ecc32,_0x49b7f3,_0x424eab)=>{const _0x268292=_0x42caba;for(var _0x4aa0a5=_0x424eab>0x1?void 0x0:_0x424eab?_0x85530(_0x4ecc32,_0x49b7f3):_0x4ecc32,_0x36c18f=_0x387f64[_0x268292(0x1f4)]-0x1,_0x35677;_0x36c18f>=0x0;_0x36c18f--)(_0x35677=_0x387f64[_0x36c18f])&&(_0x4aa0a5=_0x35677(_0x4aa0a5)||_0x4aa0a5);return _0x4aa0a5;},_0x1ae8a9=(_0x10e028,_0x4ba6c6)=>(_0x31e2b7,_0x581c8f)=>_0x4ba6c6(_0x31e2b7,_0x581c8f,_0x10e028);_0x23f96a[_0x42caba(0x216)]=class extends _0x99a487['RxDisposable']{constructor(_0x5597f7,_0x302b5f,_0x42f15b,_0x532eb3,_0x2a15c4){const _0x22a6ae=_0x42caba;super(),this['_urlService']=_0x5597f7,this['_logService']=_0x302b5f,this[_0x22a6ae(0x390)]=_0x42f15b,this[_0x22a6ae(0x10e)]=_0x532eb3,_0x2a15c4?_0x2a15c4==null||_0x2a15c4[_0x22a6ae(0x2a2)]()['then'](()=>this[_0x22a6ae(0x273)]()):(this[_0x22a6ae(0x27c)][_0x22a6ae(0x204)](_0x22a6ae(0x2b8),_0x22a6ae(0x121)),this[_0x22a6ae(0x273)]());}async[_0x42caba(0x273)](){const _0x3fc8e5=_0x42caba,_0xd22b81=this[_0x3fc8e5(0x227)][_0x3fc8e5(0x37f)](_0x3fc8e5(0x393)),_0x43d175=this['_urlService']['getParam'](_0x3fc8e5(0x2d7)),_0x3851e7=this[_0x3fc8e5(0x227)][_0x3fc8e5(0x37f)](_0x3fc8e5(0x26a));if(!_0xd22b81||!_0x43d175){this['_logService'][_0x3fc8e5(0x204)](_0x3fc8e5(0x2b8),_0x3fc8e5(0x20a));return;}const _0x3307c3=await this['_dataLoaderService'][_0x3fc8e5(0x244)](_0xd22b81,Number(_0x43d175),_0x3851e7);_0x3307c3&&_0x3307c3 instanceof _0x99a487[_0x3fc8e5(0x250)]&&this['_setupSubUnitSync'](_0x3307c3);}async[_0x42caba(0x35f)](_0x5ad612){const _0x1a1ea0=_0x42caba;await this['_updateSubUnitFromURLParams'](_0x5ad612),_0x5ad612[_0x1a1ea0(0x1c0)][_0x1a1ea0(0x1cd)](_0xf18ada[_0x1a1ea0(0x141)](this[_0x1a1ea0(0x1ef)]))['subscribe'](_0x4f1f95=>{const _0x7f11c7=_0x1a1ea0;_0x4f1f95&&this[_0x7f11c7(0x2bc)](_0x4f1f95);}),this['_urlService']['urlChange$']['pipe'](_0xf18ada[_0x1a1ea0(0x141)](this['dispose$']))[_0x1a1ea0(0x222)](()=>this[_0x1a1ea0(0x349)](_0x5ad612));}[_0x42caba(0x2bc)](_0xff19d,_0x794fb5=!0x1){const _0x8a2343=_0x42caba,_0x5106eb=this[_0x8a2343(0x227)][_0x8a2343(0x37f)](_0x8a2343(0x26a));_0xff19d[_0x8a2343(0x2b6)]()!==_0x5106eb&&this[_0x8a2343(0x227)][_0x8a2343(0x27b)](_0x8a2343(0x26a),_0xff19d['getSheetId'](),_0x794fb5);}async[_0x42caba(0x349)](_0x287da3){const _0x47e95d=_0x42caba;var _0x3613f4;const _0x48c6d2=this[_0x47e95d(0x227)][_0x47e95d(0x37f)](_0x47e95d(0x26a));if(!_0x48c6d2||!_0x287da3[_0x47e95d(0x287)](_0x48c6d2)){const _0x24f19f=_0x287da3['getUnhiddenWorksheets']()[0x0],_0x373bf7=_0x287da3['getSheetBySheetId'](_0x24f19f);if(!_0x373bf7)return;this['_updateURLWithCurrentState'](_0x373bf7,!0x0),await this[_0x47e95d(0x390)]['executeCommand'](_0x1e6c76[_0x47e95d(0x33f)]['id'],{'unitId':_0x287da3[_0x47e95d(0x359)](),'subUnitId':_0x24f19f});return;}((_0x3613f4=_0x287da3['getActiveSheet']())==null?void 0x0:_0x3613f4['getSheetId']())!==_0x48c6d2&&await this[_0x47e95d(0x390)][_0x47e95d(0x28d)](_0x1e6c76[_0x47e95d(0x33f)]['id'],{'unitId':_0x287da3[_0x47e95d(0x359)](),'subUnitId':_0x48c6d2});}},_0x23f96a['CollaborationDataLoaderController']=_0x3c6f2c([_0x1ae8a9(0x0,_0x2eaaa6),_0x1ae8a9(0x1,_0x99a487[_0x42caba(0x2e3)]),_0x1ae8a9(0x2,_0x99a487['ICommandService']),_0x1ae8a9(0x3,_0x99a487[_0x42caba(0x2ac)](_0x40f345[_0x42caba(0x2ca)])),_0x1ae8a9(0x4,_0x99a487[_0x42caba(0x2fd)](_0x52bf9f[_0x42caba(0x16f)]))],_0x23f96a[_0x42caba(0x216)]);var _0x1efe45=Object[_0x42caba(0x27d)],_0x3658c7=(_0x3d5e53,_0x2662fa,_0x975813,_0x52db65)=>{const _0x178b4c=_0x42caba;for(var _0x50fef4=_0x52db65>0x1?void 0x0:_0x52db65?_0x1efe45(_0x2662fa,_0x975813):_0x2662fa,_0x1d5656=_0x3d5e53[_0x178b4c(0x1f4)]-0x1,_0x504207;_0x1d5656>=0x0;_0x1d5656--)(_0x504207=_0x3d5e53[_0x1d5656])&&(_0x50fef4=_0x504207(_0x50fef4)||_0x50fef4);return _0x50fef4;},_0x3514bd=(_0x1cad99,_0x184bb4)=>(_0x47e47b,_0x4138bd)=>_0x184bb4(_0x47e47b,_0x4138bd,_0x1cad99);let _0x47f8da=class extends _0x99a487['RxDisposable']{constructor(_0x295358,_0x4c775e){const _0x4e7fa2=_0x42caba;super(),this[_0x4e7fa2(0x32b)]=_0x295358,this[_0x4e7fa2(0x2ea)]=_0x4c775e,this['_init']();}[_0x42caba(0x273)](){const _0x61d184=_0x42caba,_0x1f452d=this;this[_0x61d184(0x170)](this[_0x61d184(0x32b)][_0x61d184(0x2cd)]({'onBeforePasteImage':async _0x305367=>{const _0x37247e=_0x61d184,_0xb4b6c2=await _0x1f452d[_0x37247e(0x2ea)][_0x37247e(0x2d2)](_0x305367);return _0xb4b6c2?{'source':_0xb4b6c2[_0x37247e(0x353)],'imageSourceType':_0xb4b6c2['imageSourceType']}:null;}}));}};_0x47f8da=_0x3658c7([_0x3514bd(0x0,_0x2afbb3['IDocClipboardService']),_0x3514bd(0x1,_0xba1fc8[_0x42caba(0x15e)])],_0x47f8da);const _0x185656=[_0x42caba(0x24d),_0x42caba(0x234),'green.600',_0x42caba(0x373),'blue.400',_0x42caba(0x1a5)];class _0x2dbe1f extends _0x99a487[_0x42caba(0x238)]{constructor(){const _0x3baada=_0x42caba;super(...arguments),_0x450946(this,'_assignedColors',new Map()),_0x450946(this,_0x3baada(0x30b),0x0);}[_0x42caba(0x2af)](_0x18700a){const _0x48ac08=_0x42caba;if(this['_assignedColors'][_0x48ac08(0x185)](_0x18700a))return this['_assignedColors']['get'](_0x18700a);const _0x24be3c=_0x185656[this[_0x48ac08(0x30b)]];return this[_0x48ac08(0x30b)]=(this[_0x48ac08(0x30b)]+0x1)%_0x185656['length'],this[_0x48ac08(0x241)][_0x48ac08(0x2ff)](_0x18700a,_0x24be3c),_0x24be3c;}}function _0x1b89d1(_0xfa697f){const _0x325b7e=_0x42caba;let _0x235e92='';for(const _0x575599 of _0xfa697f){const {startOffset:_0x1a3d97,endOffset:_0x394fca,isActive:_0x3e7d18,rangeType:_0x3f78d0,segmentId:_0x15cc81,segmentPage:_0xcfd6e7}=_0x575599;_0x235e92[_0x325b7e(0x1f4)]&&(_0x235e92+=','),_0x235e92+=_0x1a3d97+':'+_0x394fca+':'+(_0x3e7d18?'1':'0')+':'+_0x3f78d0+':'+_0x15cc81+':'+_0xcfd6e7;}return _0x235e92;}function _0x432c8d(_0x4b5be7){const _0x2f7317=_0x42caba,_0x293131=_0x4b5be7[_0x2f7317(0x146)](','),_0xbc9f8e=[];for(const _0x556d07 of _0x293131){const [_0x4bb40b,_0x1089a6,_0x32dc9b,_0x3af489,_0x509663,_0x1e2216]=_0x556d07['split'](':');_0xbc9f8e[_0x2f7317(0x242)]({'startOffset':Number(_0x4bb40b),'endOffset':Number(_0x1089a6),'collapsed':_0x4bb40b===_0x1089a6,'isActive':_0x32dc9b==='1','rangeType':_0x3af489===_0x99a487[_0x2f7317(0x21b)]['TEXT']?_0x99a487[_0x2f7317(0x21b)][_0x2f7317(0x230)]:_0x99a487[_0x2f7317(0x21b)]['RECT'],'segmentId':typeof _0x509663==_0x2f7317(0x307)?String(_0x509663):'','segmentPage':Number(_0x1e2216!=null?_0x1e2216:-0x1)});}return _0xbc9f8e[_0x2f7317(0x33d)](_0x95145f=>_0x95145f[_0x2f7317(0x18e)])||(_0xbc9f8e[0x0]['isActive']=!0x0),_0xbc9f8e;}class _0x151704 extends _0x99a487[_0x42caba(0x178)]{constructor(){const _0xeb0781=_0x42caba;super(...arguments),_0x450946(this,_0xeb0781(0x1fc),new _0xf18ada['BehaviorSubject'](null)),_0x450946(this,_0xeb0781(0x2d0),this[_0xeb0781(0x1fc)][_0xeb0781(0x154)]());}[_0x42caba(0x12c)](_0x20d4c6){const _0x2e47f5=_0x42caba,{unitID:_0x1356da,memberID:_0xf0f558,textRanges:_0x4eb4fe}=_0x20d4c6,_0x373932=_0x1b89d1(_0x4eb4fe);if(_0x373932==='')return;const _0x34f586={'unitID':_0x1356da,'memberID':_0xf0f558,'selection':_0x373932};this[_0x2e47f5(0x1fc)][_0x2e47f5(0x1ba)](_0x34f586);}}var _0x292158=Object[_0x42caba(0x27d)],_0x25ef79=(_0x584117,_0xe39874,_0x497533,_0x54fc30)=>{const _0x20f97e=_0x42caba;for(var _0x1e183f=_0x54fc30>0x1?void 0x0:_0x54fc30?_0x292158(_0xe39874,_0x497533):_0xe39874,_0x302c74=_0x584117[_0x20f97e(0x1f4)]-0x1,_0x1e7857;_0x302c74>=0x0;_0x302c74--)(_0x1e7857=_0x584117[_0x302c74])&&(_0x1e183f=_0x1e7857(_0x1e183f)||_0x1e183f);return _0x1e183f;},_0x3ea4db=(_0x4fe40b,_0x4bdfa0)=>(_0x1ebad3,_0x2bc290)=>_0x4bdfa0(_0x1ebad3,_0x2bc290,_0x4fe40b);const _0xe0f9d1=0x12c,_0x4a197b=0x64;let _0x5b726f=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x46e6f9,_0x1faa45,_0x4220c2,_0x3bb859,_0x147a7b,_0x35b9eb,_0x57399f,_0x57050f,_0xa53e59){const _0x1a5dff=_0x42caba;super(),_0x450946(this,_0x1a5dff(0x217),!0x1),_0x450946(this,'_init',!0x1),_0x450946(this,_0x1a5dff(0x32e),new _0xf18ada[(_0x1a5dff(0x1c2))](new Map())),_0x450946(this,'cursorInfo$',this[_0x1a5dff(0x32e)][_0x1a5dff(0x154)]()),_0x450946(this,'_roomMembers$',new _0xf18ada[(_0x1a5dff(0x1c2))]([])),_0x450946(this,_0x1a5dff(0x1e6),this[_0x1a5dff(0x39a)][_0x1a5dff(0x1cd)](_0xf18ada[_0x1a5dff(0x194)](_0xe0f9d1))),_0x450946(this,_0x1a5dff(0x290),_0x99a487[_0x1a5dff(0x1aa)](_0x2e91a4=>{const _0x5d41be=_0x1a5dff,_0x17514a={'eventID':_0x1d0b4f[_0x5d41be(0x2f3)][_0x5d41be(0x207)],'data':{'unitID':this[_0x5d41be(0x392)],'memberID':this[_0x5d41be(0x169)][_0x5d41be(0x218)](),'selection':_0x1b89d1(_0x2e91a4)}};this['_session']['send'](_0x17514a,this[_0x5d41be(0x392)]);},_0x4a197b)),(this[_0x1a5dff(0x392)]=_0x46e6f9,this[_0x1a5dff(0x169)]=_0x1faa45,this[_0x1a5dff(0x3b2)]=_0x4220c2,this[_0x1a5dff(0x354)]=_0x3bb859,this[_0x1a5dff(0x2c7)]=_0x147a7b,this[_0x1a5dff(0x18f)]=_0x35b9eb,this[_0x1a5dff(0x17a)]=_0x57399f,this['_univerInstanceService']=_0x57050f,this['_commandService']=_0xa53e59);}get[_0x42caba(0x1ae)](){const _0x4d16a7=_0x42caba;return this['_cursorInfo$'][_0x4d16a7(0x279)]();}get[_0x42caba(0x1d3)](){const _0xacc1be=_0x42caba;return this[_0xacc1be(0x39a)][_0xacc1be(0x279)]();}[_0x42caba(0x310)](){const _0x18b450=_0x42caba;super['dispose'](),this[_0x18b450(0x32e)][_0x18b450(0x1ba)](new Map()),this['_cursorInfo$'][_0x18b450(0x2cc)](),this[_0x18b450(0x39a)][_0x18b450(0x1ba)]([]),this[_0x18b450(0x39a)]['complete']();}[_0x42caba(0x1ce)](){const _0x20f646=_0x42caba;this[_0x20f646(0x273)]||(this['_init']=!0x0,this['_session'][_0x20f646(0x258)][_0x20f646(0x1cd)](_0xf18ada[_0x20f646(0x141)](this[_0x20f646(0x1ef)]))[_0x20f646(0x222)](_0x19b3ce=>{const _0x2a7350=_0x20f646;_0x19b3ce===_0x40f345['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x2a7350(0x325)]();}),this[_0x20f646(0x169)][_0x20f646(0x166)][_0x20f646(0x1cd)](_0xf18ada[_0x20f646(0x141)](this[_0x20f646(0x1ef)]))[_0x20f646(0x222)](_0xfa2ff4=>{const _0x5e6079=_0x20f646,_0x5872fd=_0xfa2ff4[_0x5e6079(0x1f1)];_0x5872fd===_0x1d0b4f[_0x5e6079(0x2f3)][_0x5e6079(0x207)]&&this[_0x5e6079(0x3ea)](_0xfa2ff4),_0x5872fd===_0x1d0b4f[_0x5e6079(0x2f3)][_0x5e6079(0x28b)]&&this['_onCursorDelete'](_0xfa2ff4);}),this[_0x20f646(0x170)](this[_0x20f646(0x390)][_0x20f646(0x29f)](_0x5028ad=>{const _0x5dab54=_0x20f646,_0x4f370d=_0x5028ad[_0x5dab54(0x3a2)];_0x4f370d!=null&&this['_online']&&_0x5028ad['id']===_0x2d04b0[_0x5dab54(0x1b4)]['id']&&_0x4f370d['unitId']===this[_0x5dab54(0x392)]&&_0x4f370d[_0x5dab54(0x2a7)]===!0x1&&_0x4f370d[_0x5dab54(0x3f0)][_0x5dab54(0x1f4)]>0x0&&this[_0x5dab54(0x290)](_0x4f370d[_0x5dab54(0x3f0)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x20f646(0x1cd)](_0xf18ada[_0x20f646(0x141)](this['dispose$']))[_0x20f646(0x222)](_0x3ecd89=>{const _0x35bfa1=_0x20f646;if((_0x3ecd89==null?void 0x0:_0x3ecd89[_0x35bfa1(0x392)])!==this[_0x35bfa1(0x392)])return;const _0x1eb4d7={'eventID':_0x1d0b4f[_0x35bfa1(0x2f3)][_0x35bfa1(0x207)],'data':_0x3ecd89};this[_0x35bfa1(0x3ea)](_0x1eb4d7);}),this[_0x20f646(0x170)](this[_0x20f646(0x390)][_0x20f646(0x29f)](_0x483701=>{const _0x54fe2d=_0x20f646;if(_0x483701[_0x54fe2d(0x3a2)]==null)return;const _0x4a942a=_0x483701[_0x54fe2d(0x3a2)];if(_0x483701['id']!==_0x2d04b0[_0x54fe2d(0x2e1)]['id']||_0x4a942a[_0x54fe2d(0x1c6)]!==this[_0x54fe2d(0x392)])return;const _0x2e24f0={'id':_0x54fe2d(0x205),'params':_0x4a942a},_0x1370ff=this[_0x54fe2d(0x1ae)];for(const [_0x482e08,_0xe74b11]of _0x1370ff){const _0x19a638={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x54fe2d(0x392)],'actions':null,'textRanges':_0xe74b11['ranges']}},_0xc84fae=this[_0x54fe2d(0x17a)]['transformMutation'](_0x2e24f0,_0x19a638,!0x1);if(_0x1d0b4f['isTransformMutationFailure'](_0xc84fae))throw _0xc84fae['error'];_0x1370ff[_0x54fe2d(0x2ff)](_0x482e08,{..._0xe74b11,'ranges':_0xc84fae[_0x54fe2d(0x35e)][_0x54fe2d(0x3a2)][_0x54fe2d(0x248)]});}queueMicrotask(()=>{const _0x4239d7=_0x54fe2d;this['_cursorInfo$'][_0x4239d7(0x1ba)](_0x1370ff);});})));}[_0x42caba(0x3ea)](_0x3a04e6){const _0x2f598b=_0x42caba;var _0x28c26e,_0x17bab9;const {memberID:_0x2560b4,selection:_0x226845}=_0x3a04e6[_0x2f598b(0x343)],_0x118d13=_0x432c8d(_0x226845),_0x38ff9b=(_0x17bab9=(_0x28c26e=this[_0x2f598b(0x2c7)]['getMember'](this['unitID'],_0x2560b4))==null?void 0x0:_0x28c26e[_0x2f598b(0x3ab)])!=null?_0x17bab9:'Unknown\x20user',_0x568757={'color':this[_0x2f598b(0x354)][_0x2f598b(0x2af)](_0x2560b4),'name':_0x38ff9b,'ranges':_0x118d13},_0x4dd9a3=this['cursorInfo'];_0x4dd9a3['set'](_0x2560b4,_0x568757),this[_0x2f598b(0x32e)][_0x2f598b(0x1ba)](_0x4dd9a3);}[_0x42caba(0x17b)](_0x395adb){const _0x11b7be=_0x42caba,{memberID:_0x145ce6}=_0x395adb[_0x11b7be(0x343)],_0x5ed392=this['cursorInfo'];_0x5ed392[_0x11b7be(0x192)](_0x145ce6),this[_0x11b7be(0x32e)][_0x11b7be(0x1ba)](_0x5ed392);}['_toggleOnline'](){const _0x527636=_0x42caba;var _0x41f84d;if(this[_0x527636(0x217)]=!0x0,((_0x41f84d=this[_0x527636(0x2c0)]['getFocusedUnit']())==null?void 0x0:_0x41f84d[_0x527636(0x359)]())!==this[_0x527636(0x392)])return;const _0x4f275d=this[_0x527636(0x3b2)][_0x527636(0x394)](_0x2d04b0[_0x527636(0x35c)])['getDocRanges']();Array['isArray'](_0x4f275d)&&_0x4f275d[_0x527636(0x1f4)]>0x0&&this[_0x527636(0x290)](_0x4f275d);}[_0x42caba(0x325)](){this['_online']=!0x1;}};_0x5b726f=_0x25ef79([_0x3ea4db(0x2,_0x99a487[_0x42caba(0x2ac)](_0x99a487['Injector'])),_0x3ea4db(0x3,_0x99a487[_0x42caba(0x2ac)](_0x2dbe1f)),_0x3ea4db(0x4,_0x99a487[_0x42caba(0x2ac)](_0x40f345['MemberService'])),_0x3ea4db(0x5,_0x99a487[_0x42caba(0x2ac)](_0x151704)),_0x3ea4db(0x6,_0x1d0b4f['ITransformService']),_0x3ea4db(0x7,_0x99a487[_0x42caba(0x14f)]),_0x3ea4db(0x8,_0x99a487[_0x42caba(0x277)])],_0x5b726f);var _0x4e7a3a=Object[_0x42caba(0x27d)],_0x39a13d=(_0x30a40d,_0x311ef9,_0x3ef719,_0x1f41c4)=>{const _0x360627=_0x42caba;for(var _0x3f6bce=_0x1f41c4>0x1?void 0x0:_0x1f41c4?_0x4e7a3a(_0x311ef9,_0x3ef719):_0x311ef9,_0x41a7cd=_0x30a40d[_0x360627(0x1f4)]-0x1,_0x24ac26;_0x41a7cd>=0x0;_0x41a7cd--)(_0x24ac26=_0x30a40d[_0x41a7cd])&&(_0x3f6bce=_0x24ac26(_0x3f6bce)||_0x3f6bce);return _0x3f6bce;},_0x323e4f=(_0x202d62,_0x2c9ca6)=>(_0x2c5cc3,_0x5481cc)=>_0x2c9ca6(_0x2c5cc3,_0x5481cc,_0x202d62);const _0x400d6f=0x12c,_0x5254fc=0x64,_0x3a936c=()=>{let _0x5498e2=[],_0x110c93=!0x1;return _0x5bc222=>{const _0x474148=_0x5833;_0x5498e2[_0x474148(0x242)](_0x5bc222),_0x110c93||(_0x110c93=!0x0,setTimeout(()=>{_0x5498e2['forEach'](_0x5c0565=>_0x5c0565()),_0x5498e2=[],_0x110c93=!0x1;}));};};let _0x580a68=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x171eda,_0x168969,_0x5a5473,_0xc0d255,_0x1bd4f4,_0x100e74,_0x257590,_0x3a25f0){const _0x32a0c5=_0x42caba;super(),_0x450946(this,'_online',!0x1),_0x450946(this,_0x32a0c5(0x273),!0x1),_0x450946(this,_0x32a0c5(0x32e),new _0xf18ada[(_0x32a0c5(0x1c2))](new Map())),_0x450946(this,'cursorInfo$',this['_cursorInfo$'][_0x32a0c5(0x154)]()),_0x450946(this,_0x32a0c5(0x39a),new _0xf18ada[(_0x32a0c5(0x1c2))]([])),_0x450946(this,_0x32a0c5(0x1e6),this['_roomMembers$'][_0x32a0c5(0x1cd)](_0xf18ada[_0x32a0c5(0x194)](_0x400d6f))),_0x450946(this,_0x32a0c5(0x290),_0x99a487[_0x32a0c5(0x1aa)]((_0x1734dd,_0x16b309)=>{const _0x20aed2=_0x32a0c5,_0x11cf6b={'eventID':_0x1d0b4f[_0x20aed2(0x2f3)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x20aed2(0x169)][_0x20aed2(0x218)](),'selection':_0x7369e4['serializeRangeWithSheet'](_0x1734dd,_0x16b309[_0x20aed2(0x25b)])}};this[_0x20aed2(0x169)][_0x20aed2(0x1dd)](_0x11cf6b,this['unitID']);},_0x5254fc)),(this[_0x32a0c5(0x392)]=_0x171eda,this[_0x32a0c5(0x169)]=_0x168969,this[_0x32a0c5(0x3b2)]=_0x5a5473,this[_0x32a0c5(0x354)]=_0xc0d255,this[_0x32a0c5(0x2c7)]=_0x1bd4f4,this[_0x32a0c5(0x2c0)]=_0x100e74,this['_commandService']=_0x257590,this[_0x32a0c5(0x211)]=_0x3a25f0);}get[_0x42caba(0x1ae)](){const _0x277a04=_0x42caba;return this[_0x277a04(0x32e)][_0x277a04(0x279)]();}get[_0x42caba(0x1d3)](){const _0x351098=_0x42caba;return this[_0x351098(0x39a)][_0x351098(0x279)]();}[_0x42caba(0x310)](){const _0x16b141=_0x42caba;super[_0x16b141(0x310)](),this[_0x16b141(0x32e)][_0x16b141(0x1ba)](new Map()),this[_0x16b141(0x32e)][_0x16b141(0x2cc)](),this[_0x16b141(0x39a)]['next']([]),this[_0x16b141(0x39a)][_0x16b141(0x2cc)]();}['init'](){const _0x355d3d=_0x42caba;this[_0x355d3d(0x273)]||(this[_0x355d3d(0x273)]=!0x0,this[_0x355d3d(0x169)][_0x355d3d(0x258)][_0x355d3d(0x1cd)](_0xf18ada[_0x355d3d(0x141)](this[_0x355d3d(0x1ef)]))['subscribe'](_0x3849f8=>{const _0x51f8c5=_0x355d3d;_0x3849f8===_0x40f345[_0x51f8c5(0x2c2)][_0x51f8c5(0x3ad)]?this[_0x51f8c5(0x1b9)]():this[_0x51f8c5(0x325)]();}),this[_0x355d3d(0x169)][_0x355d3d(0x166)][_0x355d3d(0x1cd)](_0xf18ada[_0x355d3d(0x141)](this[_0x355d3d(0x1ef)]))[_0x355d3d(0x222)](_0x5983dd=>{const _0xbaa297=_0x355d3d,_0x5ab04e=_0x5983dd[_0xbaa297(0x1f1)];_0x5ab04e===_0x1d0b4f[_0xbaa297(0x2f3)][_0xbaa297(0x207)]&&this[_0xbaa297(0x3ea)](_0x5983dd),_0x5ab04e===_0x1d0b4f['CollaborationEvent'][_0xbaa297(0x28b)]&&this[_0xbaa297(0x17b)](_0x5983dd);}),this[_0x355d3d(0x387)](),this['disposeWithMe'](this[_0x355d3d(0x390)][_0x355d3d(0x29f)](_0x36dfb6=>{const _0x7beed2=_0x355d3d;if(this[_0x7beed2(0x217)]&&_0x36dfb6['id']===_0x1e6c76['SetSelectionsOperation']['id']&&_0x36dfb6[_0x7beed2(0x3a2)][_0x7beed2(0x1c6)]===this['unitID']){const _0x4108ba=_0x36dfb6['params'];this['_updateLocalCursor'](_0x4108ba[_0x7beed2(0x3ee)],_0x4108ba[_0x7beed2(0x388)][0x0]);}})));}[_0x42caba(0x3ea)](_0x27acee){const _0xf4801a=_0x42caba;var _0x55aa73,_0x13c962;const {memberID:_0x51c8eb,selection:_0x3dea5c}=_0x27acee[_0xf4801a(0x343)],{sheetName:_0x2978bf,range:_0x140e38}=_0x7369e4[_0xf4801a(0x39e)](_0x3dea5c),_0x2354ca={'name':(_0x13c962=(_0x55aa73=this[_0xf4801a(0x2c7)][_0xf4801a(0x338)](this['unitID'],_0x51c8eb))==null?void 0x0:_0x55aa73[_0xf4801a(0x3ab)])!=null?_0x13c962:'Unknown\x20user','range':this['_getMergeRange'](_0x2978bf,_0x140e38),'sheetID':_0x2978bf,'color':this[_0xf4801a(0x354)][_0xf4801a(0x2af)](_0x51c8eb),'selection':_0x3dea5c},_0xab5f41=this[_0xf4801a(0x1ae)];_0xab5f41[_0xf4801a(0x2ff)](_0x51c8eb,_0x2354ca),this[_0xf4801a(0x32e)][_0xf4801a(0x1ba)](_0xab5f41);}[_0x42caba(0x17b)](_0x596851){const _0x29dc58=_0x42caba,{memberID:_0xefe6fb}=_0x596851['data'],_0x588eb9=this[_0x29dc58(0x1ae)];_0x588eb9[_0x29dc58(0x192)](_0xefe6fb),this[_0x29dc58(0x32e)][_0x29dc58(0x1ba)](_0x588eb9);}[_0x42caba(0x328)](_0x4a6c86,_0x251e63){const _0x20ddd3=_0x42caba;var _0x2427b0,_0x2b39af;const _0x28ea0d=(_0x2b39af=(_0x2427b0=this[_0x20ddd3(0x2c0)][_0x20ddd3(0x155)](this['unitID']))==null?void 0x0:_0x2427b0[_0x20ddd3(0x287)](_0x4a6c86))==null?void 0x0:_0x2b39af[_0x20ddd3(0x25a)]();return(_0x28ea0d==null?void 0x0:_0x28ea0d[_0x20ddd3(0x380)](_0x5b1bcf=>_0x99a487['Rectangle'][_0x20ddd3(0x308)](_0x5b1bcf,_0x251e63)))||_0x251e63;}[_0x42caba(0x387)](){const _0x5c7d8c=_0x42caba,_0x57be39=new _0x99a487[(_0x5c7d8c(0x322))](),_0xede9e1=_0x3a936c(),_0x4ec1a3=()=>{const _0x1f64d3=_0x5c7d8c;_0x57be39['dispose']();const _0x2320dc=(_0x2e6db4,_0x2aaf25,_0x5e8eb0,_0x359816)=>{const _0x3019d7=_0x5833;let _0x124f0a=[];switch(_0x2e6db4['id']){case _0x1e6c76[_0x3019d7(0x1c4)]['DeleteRangeMoveLeftCommandId']:{_0x124f0a=_0x1e6c76['handleDeleteRangeMoveLeft'](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x125)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x191)](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)]['InsertColCommandId']:{_0x124f0a=_0x1e6c76[_0x3019d7(0x333)](_0x2e6db4,_0x359816);break;}case _0x1e6c76['EffectRefRangId'][_0x3019d7(0x22e)]:{_0x124f0a=_0x1e6c76['handleInsertRangeMoveDown'](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x3b7)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x36b)](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x2d8)]:{_0x124f0a=_0x1e6c76['handleInsertRow'](_0x2e6db4,_0x359816);break;}case _0x1e6c76['EffectRefRangId'][_0x3019d7(0x320)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x22c)](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x22f)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x337)](_0x2e6db4,_0x359816);break;}case _0x1e6c76['EffectRefRangId'][_0x3019d7(0x37a)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x1d7)](_0x2e6db4,_0x359816);break;}}const _0x8f00c3=_0x1e6c76[_0x3019d7(0x123)](_0x124f0a,_0x359816),_0xf21432=this['cursorInfo']['get'](_0x2aaf25);if(_0xf21432&&_0x8f00c3){const _0x26cc2c={..._0xf21432,'range':_0x8f00c3};this[_0x3019d7(0x1ae)]['set'](_0x2aaf25,_0x26cc2c),_0xede9e1(()=>{const _0x50d651=_0x3019d7,_0x3ef985=this[_0x50d651(0x211)][_0x50d651(0x1a8)](_0x8f00c3,_0x5ed527=>(_0x3ef985['dispose'](),_0x2320dc(_0x5ed527,_0x2aaf25,_0x5e8eb0,_0x8f00c3)));_0x57be39[_0x50d651(0x1df)](_0x3ef985);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1f64d3(0x2e5)]((_0x17d53b,_0x46b789)=>{const _0x37c7d1=_0x1f64d3,{range:_0x316b23,sheetID:_0x264c62}=_0x17d53b,_0x73b030=this[_0x37c7d1(0x211)]['registerRefRange'](_0x316b23,_0x3cf7bc=>(_0x73b030[_0x37c7d1(0x310)](),_0x2320dc(_0x3cf7bc,_0x46b789,_0x264c62,_0x316b23)));_0x57be39[_0x37c7d1(0x1df)](_0x73b030);});};this['disposeWithMe'](_0x99a487['toDisposable'](this[_0x5c7d8c(0x32e)][_0x5c7d8c(0x222)](()=>{_0x4ec1a3();})));}['_toggleOnline'](){const _0x5b3f8c=_0x42caba;var _0x3fbc4c,_0x443c4f;if(this[_0x5b3f8c(0x217)]=!0x0,((_0x3fbc4c=this[_0x5b3f8c(0x2c0)]['getFocusedUnit']())==null?void 0x0:_0x3fbc4c[_0x5b3f8c(0x359)]())!==this[_0x5b3f8c(0x392)])return;const _0x2a57e3=(_0x443c4f=this[_0x5b3f8c(0x3b2)][_0x5b3f8c(0x394)](_0x1e6c76['SheetsSelectionsService'])[_0x5b3f8c(0x332)]())==null?void 0x0:_0x443c4f[0x0],_0x374202=this[_0x5b3f8c(0x2c0)]['getCurrentUnitForType'](_0x99a487['UniverInstanceType']['UNIVER_SHEET'])[_0x5b3f8c(0x163)]();_0x2a57e3&&_0x374202&&this[_0x5b3f8c(0x290)](_0x374202['getSheetId'](),_0x2a57e3);}[_0x42caba(0x325)](){const _0x2a1fa4=_0x42caba;this[_0x2a1fa4(0x217)]=!0x1;}};_0x580a68=_0x39a13d([_0x323e4f(0x2,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x323e4f(0x3,_0x99a487[_0x42caba(0x2ac)](_0x2dbe1f)),_0x323e4f(0x4,_0x99a487['Inject'](_0x40f345[_0x42caba(0x32d)])),_0x323e4f(0x5,_0x99a487[_0x42caba(0x14f)]),_0x323e4f(0x6,_0x99a487['ICommandService']),_0x323e4f(0x7,_0x99a487[_0x42caba(0x2ac)](_0x1e6c76[_0x42caba(0x167)]))],_0x580a68);var _0x49f6e2=Object['getOwnPropertyDescriptor'],_0x578a2b=(_0x105cc7,_0x26ebaa,_0x49b48b,_0x529d24)=>{for(var _0x3e1a96=_0x529d24>0x1?void 0x0:_0x529d24?_0x49f6e2(_0x26ebaa,_0x49b48b):_0x26ebaa,_0x3d7762=_0x105cc7['length']-0x1,_0x562ee7;_0x3d7762>=0x0;_0x3d7762--)(_0x562ee7=_0x105cc7[_0x3d7762])&&(_0x3e1a96=_0x562ee7(_0x3e1a96)||_0x3e1a96);return _0x3e1a96;},_0x49a0a4=(_0x433626,_0x5a8efc)=>(_0x230506,_0x3d719d)=>_0x5a8efc(_0x230506,_0x3d719d,_0x433626);let _0x550d1c=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x1d3422,_0x5d6494,_0x21b6f4){const _0x44eb1a=_0x42caba;super(),_0x450946(this,_0x44eb1a(0x38b),new Map()),_0x450946(this,'_entityInit$',new _0xf18ada[(_0x44eb1a(0x3bb))]()),(this[_0x44eb1a(0x2c0)]=_0x1d3422,this[_0x44eb1a(0x3b2)]=_0x5d6494,this[_0x44eb1a(0x3c2)]=_0x21b6f4,this[_0x44eb1a(0x273)]());}[_0x42caba(0x310)](){const _0x53e61e=_0x42caba;super[_0x53e61e(0x310)](),this[_0x53e61e(0x173)]['complete'](),this[_0x53e61e(0x38b)][_0x53e61e(0x2e5)](_0xf63376=>_0xf63376[_0x53e61e(0x310)]());}[_0x42caba(0x199)](_0x46be7b){const _0x8c0847=_0x42caba;return this[_0x8c0847(0x38b)]['has'](_0x46be7b)?this[_0x8c0847(0x38b)][_0x8c0847(0x394)](_0x46be7b)[_0x8c0847(0x236)]:this[_0x8c0847(0x173)][_0x8c0847(0x1cd)](_0xf18ada[_0x8c0847(0x1de)](_0x5f3f68=>_0x5f3f68[_0x8c0847(0x392)]===_0x46be7b),_0xf18ada[_0x8c0847(0x35b)](_0x3add51=>_0x3add51[_0x8c0847(0x236)]));}[_0x42caba(0x273)](){const _0x50f7b2=_0x42caba;this[_0x50f7b2(0x2c0)]['getTypeOfUnitAdded$'](_0x99a487[_0x50f7b2(0x1b8)][_0x50f7b2(0x2f9)])[_0x50f7b2(0x1cd)](_0xf18ada[_0x50f7b2(0x141)](this[_0x50f7b2(0x1ef)]))['subscribe'](async _0x3ee739=>{const _0x374ad1=_0x50f7b2,_0x4d9193=_0x3ee739[_0x374ad1(0x359)](),_0x1d8300=await this[_0x374ad1(0x2a0)](_0x4d9193);this[_0x374ad1(0x173)][_0x374ad1(0x1ba)](_0x1d8300),this[_0x374ad1(0x38b)][_0x374ad1(0x2ff)](_0x4d9193,_0x1d8300);}),this[_0x50f7b2(0x2c0)]['getTypeOfUnitAdded$'](_0x99a487[_0x50f7b2(0x1b8)][_0x50f7b2(0x22a)])[_0x50f7b2(0x1cd)](_0xf18ada['takeUntil'](this[_0x50f7b2(0x1ef)]))[_0x50f7b2(0x1cd)](_0xf18ada[_0x50f7b2(0x1de)](_0x1d190c=>!_0x1d190c['getUnitId']()[_0x50f7b2(0x3c6)]('__')))[_0x50f7b2(0x222)](async _0x28f10f=>{const _0x1debf0=_0x50f7b2,_0x23be95=_0x28f10f['getUnitId'](),_0x34d848=await this['_startDocCollabCursor'](_0x23be95);this[_0x1debf0(0x173)][_0x1debf0(0x1ba)](_0x34d848),this[_0x1debf0(0x38b)][_0x1debf0(0x2ff)](_0x23be95,_0x34d848);}),_0xf18ada[_0x50f7b2(0x28c)](this['_univerInstanceService'][_0x50f7b2(0x1e1)](_0x99a487[_0x50f7b2(0x1b8)][_0x50f7b2(0x22a)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x99a487['UniverInstanceType']['UNIVER_SHEET']))[_0x50f7b2(0x1cd)](_0xf18ada['takeUntil'](this[_0x50f7b2(0x1ef)]))[_0x50f7b2(0x222)](_0x11181c=>{const _0x3482ec=_0x50f7b2,_0x24ff97=_0x11181c['getUnitId'](),_0x29dd67=this[_0x3482ec(0x38b)][_0x3482ec(0x394)](_0x24ff97);_0x29dd67&&(_0x29dd67[_0x3482ec(0x310)](),this[_0x3482ec(0x38b)][_0x3482ec(0x192)](_0x24ff97));});}async['_startSheetCollabCursor'](_0xeec388){const _0x34c424=_0x42caba,_0x4b1b9f=await this['_collabSessionService'][_0x34c424(0x334)](_0xeec388),_0x5e7a1d=this[_0x34c424(0x3b2)][_0x34c424(0x280)](_0x580a68,_0xeec388,_0x4b1b9f);return _0x5e7a1d[_0x34c424(0x1ce)](),_0x5e7a1d;}async[_0x42caba(0x30a)](_0x813731){const _0x102f46=_0x42caba,_0x2fba28=await this[_0x102f46(0x3c2)]['requireSession'](_0x813731),_0x3521d1=this[_0x102f46(0x3b2)]['createInstance'](_0x5b726f,_0x813731,_0x2fba28);return _0x3521d1[_0x102f46(0x1ce)](),_0x3521d1;}};_0x550d1c=_0x578a2b([_0x49a0a4(0x0,_0x99a487[_0x42caba(0x14f)]),_0x49a0a4(0x1,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x49a0a4(0x2,_0x99a487[_0x42caba(0x2ac)](_0x40f345[_0x42caba(0x3b1)]))],_0x550d1c);const _0x2206e4=0x14,_0x53bf10=0xc8,_0x32c7e3=0x4,_0x14f19e=0x5;function _0x2a5b61(_0x4a2f63,_0x2184cc){const _0x68847c=_0x42caba;let {radius:_0x17dccf,width:_0x4cbff2,height:_0x3f1fa0}=_0x2184cc;_0x17dccf=_0x17dccf!=null?_0x17dccf:0x0,_0x4cbff2=_0x4cbff2!=null?_0x4cbff2:0x1e,_0x3f1fa0=_0x3f1fa0!=null?_0x3f1fa0:0x1e;let _0x37fe97=0x0,_0x4619c1=0x0,_0x16f5c9=0x0;_0x37fe97=_0x4619c1=_0x16f5c9=Math['min'](_0x17dccf,_0x4cbff2/0x2,_0x3f1fa0/0x2),_0x4a2f63['beginPath'](),_0x4a2f63[_0x68847c(0x16b)](_0x37fe97,0x0),_0x4a2f63['lineTo'](_0x4cbff2-_0x4619c1,0x0),_0x4a2f63[_0x68847c(0x2f1)](_0x4cbff2-_0x4619c1,_0x4619c1,_0x4619c1,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a2f63[_0x68847c(0x1e0)](_0x4cbff2,_0x3f1fa0-_0x16f5c9),_0x4a2f63[_0x68847c(0x2f1)](_0x4cbff2-_0x16f5c9,_0x3f1fa0-_0x16f5c9,_0x16f5c9,0x0,Math['PI']/0x2,!0x1),_0x4a2f63[_0x68847c(0x1e0)](0x0,_0x3f1fa0),_0x4a2f63[_0x68847c(0x1e0)](0x0,_0x37fe97),_0x4a2f63[_0x68847c(0x2f1)](_0x37fe97,_0x37fe97,_0x37fe97,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a2f63[_0x68847c(0x134)](),_0x2184cc['fill']&&(_0x4a2f63[_0x68847c(0x183)](),_0x4a2f63[_0x68847c(0x160)]=_0x2184cc[_0x68847c(0x1bb)],_0x2184cc[_0x68847c(0x257)]===_0x68847c(0x38c)?_0x4a2f63[_0x68847c(0x1bb)](_0x68847c(0x38c)):_0x4a2f63['fill'](),_0x4a2f63['restore']());}class _0x27d9e3 extends _0x4b6de8[_0x42caba(0x1ca)]{constructor(_0x3a046f,_0x2731cd){const _0x579db7=_0x42caba;super(_0x3a046f,_0x2731cd),_0x450946(this,_0x579db7(0x172)),_0x450946(this,_0x579db7(0x36e)),(this['color']=_0x2731cd==null?void 0x0:_0x2731cd[_0x579db7(0x172)],this[_0x579db7(0x36e)]=_0x2731cd==null?void 0x0:_0x2731cd[_0x579db7(0x36e)]);}static[_0x42caba(0x1f3)](_0x5875b5,_0x36b392){const _0x54446b=_0x42caba,{text:_0x40a876,color:_0x4d177b}=_0x36b392;_0x5875b5[_0x54446b(0x183)](),_0x5875b5['font']=_0x54446b(0x38a);const _0x387a5d=_0x5875b5[_0x54446b(0x3a4)](_0x40a876)['width'],_0x5c3670=Math[_0x54446b(0x369)](_0x387a5d+0x2*_0x32c7e3,_0x53bf10);_0x2a5b61(_0x5875b5,{'height':_0x2206e4,'radius':0x4,'width':_0x5c3670,'fill':_0x4d177b}),_0x5875b5[_0x54446b(0x160)]=_0x54446b(0x1d8);const _0x191f71=_0x32c7e3,_0x52b58d=_0x2206e4-_0x14f19e,_0xad536e=_0x53bf10-0x2*_0x32c7e3;if(_0x387a5d>_0xad536e){let _0x4183e6='',_0x364893=0x0;for(const _0x22403f of _0x40a876){const _0x236c37=_0x5875b5[_0x54446b(0x3a4)](_0x22403f)[_0x54446b(0x214)];if(_0x364893+_0x236c37<=_0xad536e-_0x5875b5[_0x54446b(0x3a4)](_0x54446b(0x23c))['width'])_0x4183e6+=_0x22403f,_0x364893+=_0x236c37;else{_0x4183e6+=_0x54446b(0x23c);break;}}_0x5875b5[_0x54446b(0x1cc)](_0x4183e6,_0x191f71,_0x52b58d);}else _0x5875b5[_0x54446b(0x1cc)](_0x40a876,_0x191f71,_0x52b58d);_0x5875b5[_0x54446b(0x255)]();}[_0x42caba(0x12f)](_0x2c3972){const _0x26fa4d=_0x42caba;_0x27d9e3[_0x26fa4d(0x1f3)](_0x2c3972,this);}}const _0x5490d6=_0x42caba(0x24c),_0x4ab9de='collab-text-range-',_0xe34627=_0x42caba(0x3c1),_0x260daa=0x6,_0x5211e4=1.5,_0x1403b6=0x4,_0x4b4d7e=1.5,_0x15ecc8=_0x42caba(0x351);class _0x503cb4{constructor(_0x4af0b8,_0x451dd8,_0x195e00,_0x2d16c4){const _0xdd6212=_0x42caba;_0x450946(this,_0xdd6212(0x3d6),[]),_0x450946(this,_0xdd6212(0x245),null),_0x450946(this,_0xdd6212(0x162),null),_0x450946(this,_0xdd6212(0x38e),null),_0x450946(this,_0xdd6212(0x1f9),null),_0x450946(this,'_eventUnsubscribe',null),(this['_cursor']=_0x4af0b8,this[_0xdd6212(0x31e)]=_0x451dd8,this[_0xdd6212(0x12a)]=_0x195e00,this[_0xdd6212(0x175)]=_0x2d16c4,this[_0xdd6212(0x33b)]());}set['_hover'](_0x253a1c){const _0x3399ce=_0x42caba;_0x253a1c?(this[_0x3399ce(0x38e)]&&this['_anchorDot'][_0x3399ce(0x17d)](),this[_0x3399ce(0x162)]&&this[_0x3399ce(0x162)][_0x3399ce(0x176)]()):(this[_0x3399ce(0x38e)]&&this[_0x3399ce(0x38e)][_0x3399ce(0x176)](),this[_0x3399ce(0x162)]&&this[_0x3399ce(0x162)][_0x3399ce(0x17d)]());}[_0x42caba(0x310)](){const _0x155d10=_0x42caba;for(const _0x4353e4 of this[_0x155d10(0x3d6)])_0x4353e4[_0x155d10(0x310)]();this[_0x155d10(0x162)]&&this['_textBubble'][_0x155d10(0x310)](),this[_0x155d10(0x38e)]&&this[_0x155d10(0x38e)][_0x155d10(0x310)](),this[_0x155d10(0x245)]&&this['_anchor'][_0x155d10(0x310)](),this['_eventUnsubscribe']&&this[_0x155d10(0x360)]();}[_0x42caba(0x33b)](){const _0x34fcc1=_0x42caba;var _0x3da5aa;const {_docSkeleton:_0x944dd6,_document:_0x4d2dff}=this,{color:_0x231ed5,name:_0x3bb836,ranges:_0xcfc929}=this[_0x34fcc1(0x3bf)],_0x26e638=_0x4d2dff['getOffsetConfig'](),{docsLeft:_0x133ba6,docsTop:_0x241dee}=_0x26e638,_0x254a01=new _0x2afbb3['NodePositionConvertToCursor'](_0x26e638,_0x944dd6);for(const {startOffset:_0x463829,endOffset:_0x36cb1e,rangeType:_0x4eac4f,segmentId:_0x4dd186,segmentPage:_0x421423,collapsed:_0x2720ec,isActive:_0x27014b}of _0xcfc929){const _0x41e4e1=_0x944dd6['findNodePositionByCharIndex'](_0x463829,!0x0,_0x4dd186,_0x421423);let _0x3e75fc=_0x944dd6['findNodePositionByCharIndex'](_0x36cb1e,!0x0,_0x4dd186,_0x421423);if(_0x3e75fc==null&&(_0x3e75fc=_0x944dd6[_0x34fcc1(0x2eb)](_0x36cb1e-0x1,!0x1,_0x4dd186,_0x421423)),_0x27014b){const {contentBoxPointGroup:_0x12e67c}=_0x254a01['getRangePointData'](_0x3e75fc,_0x3e75fc);if(_0x12e67c[_0x34fcc1(0x1f4)]===0x0)continue;this[_0x34fcc1(0x3ec)](_0x231ed5,_0x12e67c,_0x133ba6,_0x241dee,_0x3bb836),this[_0x34fcc1(0x360)]=this['_handleHover']();}if(_0x41e4e1&&_0x3e75fc){if(_0x4eac4f===_0x99a487[_0x34fcc1(0x21b)][_0x34fcc1(0x3cc)]){const _0x11248d=new _0x2afbb3[(_0x34fcc1(0x1c7))](_0x26e638,_0x944dd6),{pointGroup:_0x5e8c5e}=(_0x3da5aa=_0x11248d['getRangePointData'](_0x41e4e1,_0x3e75fc))!=null?_0x3da5aa:{};if(_0x5e8c5e==null||_0x5e8c5e[_0x34fcc1(0x1f4)]===0x0)continue;this[_0x34fcc1(0x370)](_0x231ed5,_0x5e8c5e,_0x133ba6,_0x241dee);}else{if(!_0x2720ec){const {borderBoxPointGroup:_0x4c85c8}=_0x254a01['getRangePointData'](_0x41e4e1,_0x3e75fc);if(_0x4c85c8[_0x34fcc1(0x1f4)]===0x0)continue;this['_drawTextRange'](_0x231ed5,_0x4c85c8,_0x133ba6,_0x241dee);}}}}}['_drawAnchor'](_0x4755f3,_0x394d14,_0xb2f09a,_0x57340e,_0x49f96a){const _0x1b8cc4=_0x42caba,_0x890e06=this[_0x1b8cc4(0x346)](_0x394d14),{left:_0xefd138,top:_0x1e524f,height:_0x21e729}=_0x890e06,_0x1fb4a4=this[_0x1b8cc4(0x1b7)](),_0x33400d=_0x4b4d7e/_0x1fb4a4,_0x456f87=new _0x4b6de8[(_0x1b8cc4(0x220))](_0x5490d6+_0x99a487[_0x1b8cc4(0x10b)](_0x260daa),{'left':_0xefd138+_0xb2f09a-_0x33400d,'top':_0x1e524f+_0x57340e,'height':_0x21e729,'width':_0x5211e4,'fill':_0x4755f3||_0x4b6de8[_0x1b8cc4(0x3b0)](_0x99a487['COLORS']['black'],0x0),'strokeWidth':_0x33400d,'stroke':_0x15ecc8,'evented':!0x0});this['_anchor']=_0x456f87,this[_0x1b8cc4(0x31e)][_0x1b8cc4(0x3e1)](_0x456f87,_0x2afbb3[_0x1b8cc4(0x1c1)]);const _0x3b96fe=new _0x4b6de8['Rect'](_0x5490d6+_0x99a487[_0x1b8cc4(0x10b)](_0x260daa),{'left':_0xefd138+_0xb2f09a-_0x33400d,'top':_0x1e524f+_0x57340e-_0x1403b6/0x2,'height':_0x1403b6,'width':_0x1403b6,'fill':_0x4755f3||_0x4b6de8['getColor'](_0x99a487[_0x1b8cc4(0x1b5)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4755f3||_0x4b6de8[_0x1b8cc4(0x3b0)](_0x99a487[_0x1b8cc4(0x1b5)][_0x1b8cc4(0x384)],0x0),'evented':!0x1});this[_0x1b8cc4(0x38e)]=_0x3b96fe,this[_0x1b8cc4(0x31e)][_0x1b8cc4(0x3e1)](_0x3b96fe,_0x2afbb3[_0x1b8cc4(0x1c1)]);const _0x3bdc4d=new _0x27d9e3(_0x5490d6+_0x99a487[_0x1b8cc4(0x10b)](_0x260daa),{'left':_0xefd138+_0xb2f09a-_0x33400d,'top':_0x1e524f+_0x57340e-_0x2206e4,'text':_0x49f96a,'color':_0x4755f3});this['_textBubble']=_0x3bdc4d,this[_0x1b8cc4(0x31e)][_0x1b8cc4(0x3e1)](_0x3bdc4d,_0x2afbb3['TEXT_RANGE_LAYER_INDEX']),this[_0x1b8cc4(0x1d4)]=!0x1;}[_0x42caba(0x398)](){const _0x4f11d0=_0x42caba,_0x561ba0=this['_anchor'][_0x4f11d0(0x15b)][_0x4f11d0(0x1d6)](()=>{const _0x5ee797=_0x4f11d0;this[_0x5ee797(0x1d4)]=!0x0;}),_0x1f36a9=this[_0x4f11d0(0x245)][_0x4f11d0(0x3a5)]['subscribeEvent'](()=>{const _0x12ba49=_0x4f11d0;this['_hideTimer']&&clearTimeout(this[_0x12ba49(0x1f9)]),this['_hideTimer']=setTimeout(()=>{const _0x57a8d1=_0x12ba49;this[_0x57a8d1(0x1d4)]=!0x1;},0x7d0);});return()=>{_0x561ba0['unsubscribe'](),_0x1f36a9['unsubscribe']();};}[_0x42caba(0x17c)](_0x2bcb57,_0x2f096d,_0x2dd89b,_0x36978a){const _0x4b07e6=_0x42caba,_0x10286a=new _0x99a487[(_0x4b07e6(0x27a))](_0x2bcb57)[_0x4b07e6(0x1ad)](0.2)['toRgbString'](),_0x44d4ff=new _0x4b6de8['RegularPolygon'](_0x4ab9de+_0x99a487[_0x4b07e6(0x10b)](_0x260daa),{'pointsGroup':_0x2f096d,'fill':_0x10286a||_0x4b6de8[_0x4b07e6(0x3b0)](_0x99a487[_0x4b07e6(0x1b5)]['black'],0.2),'left':_0x2dd89b,'top':_0x36978a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b07e6(0x3d6)][_0x4b07e6(0x242)](_0x44d4ff),this[_0x4b07e6(0x31e)]['addObject'](_0x44d4ff,_0x2afbb3['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2a1c43,_0x25964d,_0x2391e2,_0x1d9ad0){const _0x157967=_0x42caba,_0x4a14bb=new _0x99a487['ColorKit'](_0x2a1c43)[_0x157967(0x1ad)](0.2)[_0x157967(0x3d0)](),_0x13e832=new _0x4b6de8[(_0x157967(0x1a2))](_0xe34627+_0x99a487['generateRandomId'](_0x260daa),{'pointsGroup':_0x25964d,'fill':_0x4a14bb||_0x4b6de8['getColor'](_0x99a487['COLORS'][_0x157967(0x384)],0.2),'left':_0x2391e2,'top':_0x1d9ad0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x157967(0x3d6)][_0x157967(0x242)](_0x13e832),this['_scene'][_0x157967(0x3e1)](_0x13e832,_0x2afbb3[_0x157967(0x1c1)]);}[_0x42caba(0x346)](_0x1c919e){const _0xcd705f=_0x1c919e[0x0],_0x529ea4=_0xcd705f[0x0],_0x2212cd=_0xcd705f[0x2],{x:_0x1c36cb,y:_0x1b6a72}=_0x529ea4,{x:_0x1933cc,y:_0x372c14}=_0x2212cd;return{'left':_0x1c36cb,'top':_0x1b6a72,'width':_0x1933cc-_0x1c36cb,'height':_0x372c14-_0x1b6a72};}[_0x42caba(0x1b7)](){const _0x4be436=_0x42caba,{scaleX:_0x4e910c,scaleY:_0x1e3464}=this[_0x4be436(0x31e)][_0x4be436(0x3dd)]();return Math[_0x4be436(0x1a4)](_0x4e910c,_0x1e3464);}}var _0x55d01a=Object[_0x42caba(0x27d)],_0x5aca4e=(_0x1d95e7,_0x3b51ca,_0xb95d36,_0x499b58)=>{const _0x35df30=_0x42caba;for(var _0x1b1d80=_0x499b58>0x1?void 0x0:_0x499b58?_0x55d01a(_0x3b51ca,_0xb95d36):_0x3b51ca,_0x381f80=_0x1d95e7[_0x35df30(0x1f4)]-0x1,_0x5ea9d0;_0x381f80>=0x0;_0x381f80--)(_0x5ea9d0=_0x1d95e7[_0x381f80])&&(_0x1b1d80=_0x5ea9d0(_0x1b1d80)||_0x1b1d80);return _0x1b1d80;},_0x499290=(_0x57e731,_0x3085a3)=>(_0xdbf95e,_0x495f6b)=>_0x3085a3(_0xdbf95e,_0x495f6b,_0x57e731);let _0x459cb5=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x5a1dd2,_0x513e66,_0xa04a11,_0x3d8a4e,_0x39c39d){const _0x545173=_0x42caba;super(),_0x450946(this,_0x545173(0x237),[]),_0x450946(this,_0x545173(0x32f),[]),(this['_context']=_0x5a1dd2,this[_0x545173(0x1c8)]=_0x513e66,this[_0x545173(0x341)]=_0xa04a11,this[_0x545173(0x390)]=_0x3d8a4e,this[_0x545173(0x202)]=_0x39c39d,this['_init']());}['_init'](){const _0x1b6cc9=_0x42caba,_0x17079a=this['_context'][_0x1b6cc9(0x1c6)],_0x103efc=this[_0x1b6cc9(0x1c8)];this[_0x1b6cc9(0x170)](_0xf18ada[_0x1b6cc9(0x3b5)]([this[_0x1b6cc9(0x341)][_0x1b6cc9(0x199)](_0x17079a),this['_themeService'][_0x1b6cc9(0x30c)]])['pipe'](_0x4f8855[_0x1b6cc9(0x139)](([_0x2a057d,_0x338a94])=>({'skeleton':_0x103efc[_0x1b6cc9(0x389)](),'cursors':[..._0x2a057d[_0x1b6cc9(0x212)]()][_0x1b6cc9(0x2b4)](_0x181ff3=>({..._0x181ff3,'color':this[_0x1b6cc9(0x202)][_0x1b6cc9(0x37e)](_0x181ff3[_0x1b6cc9(0x172)])}))})))[_0x1b6cc9(0x222)](_0x293328=>{const _0x2aa33c=_0x1b6cc9;if(this[_0x2aa33c(0x109)](),_0x293328){const {skeleton:_0x9303e,cursors:_0x4c002d}=_0x293328;this['_updateCollabCursors'](_0x9303e,_0x4c002d);}})),this[_0x1b6cc9(0x3b8)](),this['_initCommandExecutedListener']();}[_0x42caba(0x1b6)](_0x191c28,_0x5ab3f3){const _0xae3548=_0x42caba,{scene:_0xcf59df,mainComponent:_0x26613e}=this[_0xae3548(0x368)],_0x1668a6=_0x5ab3f3['map'](_0x30723d=>new _0x503cb4(_0x30723d,_0xcf59df,_0x191c28,_0x26613e));this['_cursorShapes']=_0x1668a6,this[_0xae3548(0x32f)]=_0x5ab3f3;}[_0x42caba(0x16e)](){const _0x257982=_0x42caba;this['_removeCollabCursors']();const {scene:_0x3138ad,mainComponent:_0xa52903}=this[_0x257982(0x368)],_0x279f84=this[_0x257982(0x1c8)][_0x257982(0x389)](),_0x4bd265=this['_cursors'][_0x257982(0x139)](_0x5655c3=>new _0x503cb4(_0x5655c3,_0x3138ad,_0x279f84,_0xa52903));this['_cursorShapes']=_0x4bd265;}[_0x42caba(0x109)](){const _0x47ccfc=_0x42caba;this[_0x47ccfc(0x237)][_0x47ccfc(0x2e5)](_0x2c2321=>_0x2c2321[_0x47ccfc(0x310)]()),this['_cursorShapes']=[];}[_0x42caba(0x2ee)](){const _0x29b299=_0x42caba,_0x136a05=[_0x2afbb3['SetDocZoomRatioOperation']['id']];this[_0x29b299(0x170)](this[_0x29b299(0x390)]['onCommandExecuted'](_0x366aef=>{const _0x2f916e=_0x29b299;_0x136a05[_0x2f916e(0x2f0)](_0x366aef['id'])&&_0x366aef['params'][_0x2f916e(0x1c6)]===this[_0x2f916e(0x368)]['unitId']&&this[_0x2f916e(0x16e)]();}));}[_0x42caba(0x3b8)](){const _0x3bec35=_0x42caba;this[_0x3bec35(0x170)](_0x99a487['fromEventSubject'](this[_0x3bec35(0x368)][_0x3bec35(0x399)][_0x3bec35(0x25d)])[_0x3bec35(0x1cd)](_0x4f8855['filter'](_0x49b6d8=>_0x49b6d8[_0x3bec35(0x2d7)]===_0x4b6de8['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3bec35(0x189)]),_0x4f8855[_0x3bec35(0x30d)](0x10))[_0x3bec35(0x222)](()=>{this['_refreshCollabCursors']();}));}};_0x459cb5=_0x5aca4e([_0x499290(0x1,_0x99a487[_0x42caba(0x2ac)](_0x2d04b0[_0x42caba(0x2c4)])),_0x499290(0x2,_0x99a487['Inject'](_0x550d1c)),_0x499290(0x3,_0x99a487[_0x42caba(0x277)]),_0x499290(0x4,_0x99a487[_0x42caba(0x2ac)](_0x99a487['ThemeService']))],_0x459cb5);const _0x52aac3=0x1,_0x3f8611=1.5;class _0x232e7e extends _0x4b6de8[_0x42caba(0x1ca)]{constructor(_0x3f1a1f,_0xb01a1f){const _0x2aea8c=_0x42caba;super(_0x3f1a1f,_0xb01a1f),_0x450946(this,_0x2aea8c(0x2b1)),_0x450946(this,'_hovered',!0x1),_0x450946(this,_0x2aea8c(0x3c3)),_0x450946(this,_0x2aea8c(0x14e),''),_0x450946(this,_0x2aea8c(0x112),_0x2aea8c(0x221)),_0x450946(this,_0x2aea8c(0x296)),(_0xb01a1f&&this['setShapeProps'](_0xb01a1f),this[_0x2aea8c(0x15b)][_0x2aea8c(0x1d6)](()=>this[_0x2aea8c(0x318)]({'hovered':!0x0})),this[_0x2aea8c(0x3a5)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3d8a83){const _0x9918da=_0x42caba;var _0x239f9b,_0x138df3,_0x5cd3bc,_0x3d4dbb,_0x2b92cb,_0x558300;this['_color']=(_0x239f9b=_0x3d8a83[_0x9918da(0x172)])!=null?_0x239f9b:this[_0x9918da(0x2b1)],this[_0x9918da(0x378)]=(_0x138df3=_0x3d8a83[_0x9918da(0x3af)])!=null?_0x138df3:this[_0x9918da(0x378)],this['_range']=(_0x5cd3bc=_0x3d8a83[_0x9918da(0x25b)])!=null?_0x5cd3bc:this[_0x9918da(0x3c3)],this[_0x9918da(0x14e)]=(_0x3d4dbb=_0x3d8a83[_0x9918da(0x3ab)])!=null?_0x3d4dbb:this[_0x9918da(0x14e)],this[_0x9918da(0x112)]=(_0x2b92cb=_0x3d8a83[_0x9918da(0x2c5)])!=null?_0x2b92cb:this[_0x9918da(0x112)],this['_backgroundColor']=(_0x558300=_0x3d8a83[_0x9918da(0x33c)])!=null?_0x558300:this['_backgroundColor'],this[_0x9918da(0x299)]({'width':_0x3d8a83[_0x9918da(0x214)],'height':_0x3d8a83[_0x9918da(0x319)]});}['onMouseMove'](_0x87c2a3){const _0x570221=_0x42caba,{row:_0x2e2f60,column:_0x3a8037}=_0x87c2a3;if(_0x2e2f60>=this[_0x570221(0x3c3)][_0x570221(0x20e)]&&_0x2e2f60<=this[_0x570221(0x3c3)]['endRow']&&_0x3a8037>=this[_0x570221(0x3c3)][_0x570221(0x39d)]&&_0x3a8037<=this[_0x570221(0x3c3)]['endColumn']){this[_0x570221(0x318)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x42caba(0x3a0)](_0x12aac1){return!0x1;}['_draw'](_0x458b30){const _0x29bd4e=_0x42caba;_0x4b6de8[_0x29bd4e(0x220)][_0x29bd4e(0x1f3)](_0x458b30,{'width':this[_0x29bd4e(0x214)],'height':this[_0x29bd4e(0x319)],'strokeWidth':_0x3f8611,'stroke':this[_0x29bd4e(0x2b1)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x458b30['save'](),_0x458b30['transform'](0x1,0x0,0x0,0x1,this[_0x29bd4e(0x214)],this[_0x29bd4e(0x112)]===_0x29bd4e(0x1da)?0x0:-_0x2206e4),_0x27d9e3[_0x29bd4e(0x1f3)](_0x458b30,{'text':this[_0x29bd4e(0x14e)],'color':this[_0x29bd4e(0x2b1)]}),_0x458b30[_0x29bd4e(0x255)]());}}var _0x463e44=Object[_0x42caba(0x27d)],_0x262cfd=(_0x18d593,_0x1467f9,_0x266b5b,_0x1917c5)=>{const _0x18ba10=_0x42caba;for(var _0x9aceaa=_0x1917c5>0x1?void 0x0:_0x1917c5?_0x463e44(_0x1467f9,_0x266b5b):_0x1467f9,_0x29d9dc=_0x18d593[_0x18ba10(0x1f4)]-0x1,_0x23e8c9;_0x29d9dc>=0x0;_0x29d9dc--)(_0x23e8c9=_0x18d593[_0x29d9dc])&&(_0x9aceaa=_0x23e8c9(_0x9aceaa)||_0x9aceaa);return _0x9aceaa;},_0x83315=(_0x1578d8,_0x4906f5)=>(_0x34c91a,_0x843c33)=>_0x4906f5(_0x34c91a,_0x843c33,_0x1578d8);const _0x4c2212=0x1389;let _0x4db1a0=class extends _0x99a487['RxDisposable']{constructor(_0x42d25e,_0x4145cf,_0x4bc792,_0x1f612e){const _0x51be4d=_0x42caba;super(),_0x450946(this,_0x51be4d(0x32f),new Set()),_0x450946(this,_0x51be4d(0x196),null),(this[_0x51be4d(0x368)]=_0x42d25e,this[_0x51be4d(0x19a)]=_0x4145cf,this[_0x51be4d(0x341)]=_0x4bc792,this[_0x51be4d(0x202)]=_0x1f612e,this['_init']());}[_0x42caba(0x273)](){const _0x18b139=_0x42caba;this[_0x18b139(0x19a)][_0x18b139(0x182)][_0x18b139(0x1cd)](_0x4f8855[_0x18b139(0x141)](this[_0x18b139(0x1ef)]),_0x4f8855[_0x18b139(0x35b)](_0x1238f2=>{const _0x47a760=_0x18b139;if(_0x1238f2){const _0x2d50c6=_0x1238f2['sheetId'];return _0xf18ada[_0x47a760(0x3b5)](this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x47a760(0x1c6)]),this[_0x47a760(0x202)][_0x47a760(0x30c)])[_0x47a760(0x1cd)](_0x4f8855[_0x47a760(0x139)](([_0x3bbbd1,_0x545054])=>{const _0x55f5c8=_0x47a760,_0x5b0870=new Map();return _0x3bbbd1[_0x55f5c8(0x2e5)]((_0x23ead0,_0x40eacf)=>{const _0x22a069=_0x55f5c8;if(_0x23ead0[_0x22a069(0x10f)]===_0x2d50c6){const _0x426e0b={..._0x23ead0};_0x426e0b[_0x22a069(0x172)]=this[_0x22a069(0x202)][_0x22a069(0x37e)](_0x23ead0['color']),_0x5b0870['set'](_0x40eacf,_0x426e0b);}}),{'skeleton':_0x1238f2,'cursors':_0x5b0870};}));}return _0xf18ada['of']({'skeleton':null,'cursors':new Map()});}))[_0x18b139(0x222)](({skeleton:_0x801a3a,cursors:_0x28f338})=>{this['_removeCollabCursors'](),_0x801a3a&&this['_updateCollabCursors'](_0x801a3a,_0x28f338);}),this[_0x18b139(0x19a)][_0x18b139(0x182)]['subscribe'](_0x5afeaa=>{const _0x342507=_0x18b139;if(_0x5afeaa==null)return;const {skeleton:_0x335677}=_0x5afeaa,{scene:_0x419c16}=this[_0x342507(0x368)];_0x419c16[_0x342507(0x223)][_0x342507(0x1d6)](_0x99a487[_0x342507(0x1aa)](_0x30b577=>{const _0x3e847b=_0x342507;var _0x287db5,_0x3a8928;const {offsetX:_0xf51349,offsetY:_0x2370bd}=_0x30b577,{x:_0xa0cd7f,y:_0x1c0daf}=_0x419c16[_0x3e847b(0x140)](_0x4b6de8[_0x3e847b(0x31a)][_0x3e847b(0x270)]([_0xf51349,_0x2370bd])),{scaleX:_0x323d71,scaleY:_0x1470b5}=_0x419c16[_0x3e847b(0x3dd)](),_0x39e14f=_0x419c16[_0x3e847b(0x329)](_0x4b6de8[_0x3e847b(0x276)][_0x3e847b(0x2d9)]),_0x56e156=_0x419c16[_0x3e847b(0x305)](_0x4b6de8[_0x3e847b(0x31a)][_0x3e847b(0x270)]([_0xa0cd7f,_0x1c0daf]),_0x39e14f),_0x28fcbb=_0x335677[_0x3e847b(0x12e)](_0xf51349,_0x2370bd,_0x323d71,_0x1470b5,_0x56e156);((_0x287db5=this[_0x3e847b(0x196)])==null?void 0x0:_0x287db5[_0x3e847b(0x10a)])===_0x28fcbb[_0x3e847b(0x10a)]&&((_0x3a8928=this[_0x3e847b(0x196)])==null?void 0x0:_0x3a8928['row'])===_0x28fcbb[_0x3e847b(0x126)]||this['_cursors'][_0x3e847b(0x2e5)](_0x2c7a4d=>{const _0x55e596=_0x3e847b;_0x2c7a4d[_0x55e596(0x344)](_0x28fcbb);});},0x64));});}[_0x42caba(0x1b6)](_0x2f7bd7,_0x366fad){const _0x1ba229=_0x42caba;var _0x5ad0e3;const _0x21b0ed=(_0x5ad0e3=this[_0x1ba229(0x19a)][_0x1ba229(0x3a7)]())==null?void 0x0:_0x5ad0e3[_0x1ba229(0x1bc)];if(!_0x21b0ed)return;const _0x3a910a=this[_0x1ba229(0x345)]();if(!_0x3a910a)return;this['_cursors'][_0x1ba229(0x2e5)](_0x47c988=>{_0x47c988['makeDirty']();});const {scene:_0x218ef9}=_0x3a910a,_0x3f7385=_0x85a335(Array[_0x1ba229(0x283)](_0x366fad[_0x1ba229(0x212)]()))[_0x1ba229(0x139)](_0x2fc6ff=>{const _0x17b379=_0x1ba229,{color:_0x3b8857,range:_0x57ba58,name:_0x1b28ae,selection:_0x14c52f,sheetID:_0x165c44}=_0x2fc6ff,{startColumn:_0x58269d,startRow:_0x2a512a,endColumn:_0x4e4a2f,endRow:_0x444c3e}=_0x57ba58,_0x581e9f=_0x31a5a7[_0x17b379(0x282)](_0x2a512a,_0x58269d,_0x218ef9,_0x21b0ed),_0x36e7f5=_0x31a5a7[_0x17b379(0x282)](_0x444c3e,_0x4e4a2f,_0x218ef9,_0x21b0ed),{columnHeaderHeightAndMarginTop:_0x100674}=_0x21b0ed,{startX:_0x1b5b06,startY:_0x2744a}=_0x581e9f,{endX:_0x5b7701,endY:_0x3cb69f}=_0x36e7f5,_0x38ca5b=_0x5b7701-_0x1b5b06,_0x452386=_0x3cb69f-_0x2744a,_0x249adc={'labelPosition':_0x2744a-_0x100674>=_0x2206e4?_0x17b379(0x221):'bottom','sheetID':_0x165c44,'range':_0x57ba58,'color':_0x3b8857,'name':_0x1b28ae,'selection':_0x14c52f,'left':_0x1b5b06,'top':_0x2744a,'width':_0x38ca5b,'height':_0x452386,'evented':!0x1,'zIndex':_0x4c2212};return new _0x232e7e(_0x1b28ae,_0x249adc);});_0x218ef9[_0x1ba229(0x138)](_0x3f7385,_0x52aac3),this[_0x1ba229(0x32f)]=new Set(_0x3f7385);}[_0x42caba(0x109)](){const _0x2c0b8d=_0x42caba;var _0x57136e;(_0x57136e=this[_0x2c0b8d(0x32f)])==null||_0x57136e[_0x2c0b8d(0x2e5)](_0x164360=>_0x164360[_0x2c0b8d(0x310)]());}[_0x42caba(0x345)](){const _0x357982=_0x42caba;return _0x31a5a7[_0x357982(0x26d)](this['_context'][_0x357982(0x393)],this[_0x357982(0x368)]);}};_0x4db1a0=_0x262cfd([_0x83315(0x1,_0x99a487[_0x42caba(0x2ac)](_0x31a5a7['SheetSkeletonManagerService'])),_0x83315(0x2,_0x99a487[_0x42caba(0x2ac)](_0x550d1c)),_0x83315(0x3,_0x99a487['Inject'](_0x99a487[_0x42caba(0x347)]))],_0x4db1a0);function _0x85a335(_0x25f48d){const _0x3b2a7b=_0x42caba,_0x5f4950=new Map();return _0x25f48d[_0x3b2a7b(0x2e5)](_0x224f9f=>{const _0x5279de=_0x3b2a7b;if(_0x5f4950[_0x5279de(0x185)](_0x224f9f[_0x5279de(0x27f)])){const _0x16e628=_0x5f4950[_0x5279de(0x394)](_0x224f9f['selection']);_0x16e628[_0x5279de(0x3ab)]+=',\x20'+_0x224f9f[_0x5279de(0x3ab)];}else _0x5f4950[_0x5279de(0x2ff)](_0x224f9f['selection'],_0x224f9f);}),Array[_0x3b2a7b(0x283)](_0x5f4950['values']());}var _0x1d1e8c=Object[_0x42caba(0x27d)],_0x54cbb9=(_0x435c4f,_0x3367ed,_0x59a02d,_0x21cb07)=>{const _0x318782=_0x42caba;for(var _0x1fec6a=_0x21cb07>0x1?void 0x0:_0x21cb07?_0x1d1e8c(_0x3367ed,_0x59a02d):_0x3367ed,_0x2c9bfd=_0x435c4f[_0x318782(0x1f4)]-0x1,_0x294de9;_0x2c9bfd>=0x0;_0x2c9bfd--)(_0x294de9=_0x435c4f[_0x2c9bfd])&&(_0x1fec6a=_0x294de9(_0x1fec6a)||_0x1fec6a);return _0x1fec6a;},_0x12c3c2=(_0x5b5a9f,_0x43745b)=>(_0x248359,_0xdf4841)=>_0x43745b(_0x248359,_0xdf4841,_0x5b5a9f);let _0x54c86a=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x46c6ae,_0x370b7e,_0x3a3fe2,_0x3e39e3,_0x352d2f,_0x1c8b36){const _0x237791=_0x42caba;super(),this['_beforeCloseService']=_0x46c6ae,this['_localCacheService']=_0x370b7e,this[_0x237791(0x3db)]=_0x3a3fe2,this[_0x237791(0x361)]=_0x3e39e3,this[_0x237791(0x108)]=_0x352d2f,this[_0x237791(0x213)]=_0x1c8b36,this[_0x237791(0x2e7)](),this[_0x237791(0x13b)]();}['_setupBeforeClosingHandler'](){const _0x5757f9=_0x42caba;this[_0x5757f9(0x170)](this[_0x5757f9(0x11c)][_0x5757f9(0x3e2)](()=>{const _0xd17024=_0x5757f9;if(this['_localCacheService'][_0xd17024(0x13c)][_0xd17024(0x21c)])return this[_0xd17024(0x213)]['t']('collaboration.offline-data-not-saved');}));}[_0x42caba(0x13b)](){const _0x3b825f=_0x42caba;this[_0x3b825f(0x170)](this[_0x3b825f(0x3db)]['event$'][_0x3b825f(0x222)](_0xab945d=>{const _0x44b116=_0x3b825f;_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x2e4)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)][_0x44b116(0x314)],'content':this[_0x44b116(0x213)]['t']('collaboration.single-unit.warning')}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x1fa)]&&this['_messageService'][_0x44b116(0x176)]({'type':_0xdfb808['MessageType']['Warning'],'content':this[_0x44b116(0x213)]['t']('collaboration.closeRoom')}),_0xab945d['id']===_0x40f345['CollaborationUIEventId'][_0x44b116(0x1fb)]&&this[_0x44b116(0x108)]['show']({'title':this[_0x44b116(0x213)]['t']('permission.title'),'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x17f)),'type':_0x44b116(0x233),'duration':0x0}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x24a)]&&this[_0x44b116(0x361)]['show']({'type':_0xdfb808[_0x44b116(0x36d)][_0x44b116(0x2c6)],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x1f0))+'('+_0xab945d[_0x44b116(0x343)]+')'}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x1be)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)]['Warning'],'content':this['_localeService']['t'](_0xab945d[_0x44b116(0x343)]||'')}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)]['SOCKET_FAILED_RETRY']&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)]['Warning'],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x20f))}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x3b6)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808['MessageType']['Error'],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x129))}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x177)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)][_0x44b116(0x2c6)],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x3dc))});}));}};_0x54c86a=_0x54cbb9([_0x12c3c2(0x0,_0x3ebdd3[_0x42caba(0x339)]),_0x12c3c2(0x1,_0x40f345[_0x42caba(0x2da)]),_0x12c3c2(0x2,_0x99a487[_0x42caba(0x2ac)](_0x40f345['CollaborationUIEventService'])),_0x12c3c2(0x3,_0x3ebdd3[_0x42caba(0x3d7)]),_0x12c3c2(0x4,_0x3ebdd3[_0x42caba(0x2c9)]),_0x12c3c2(0x5,_0x99a487['Inject'](_0x99a487['LocaleService']))],_0x54c86a);var _0x449bad=Object[_0x42caba(0x27d)],_0x4b8caa=(_0x3121ac,_0xce286b,_0x3d7352,_0x24405d)=>{const _0x477b04=_0x42caba;for(var _0x4fae62=_0x24405d>0x1?void 0x0:_0x24405d?_0x449bad(_0xce286b,_0x3d7352):_0xce286b,_0x4e28ff=_0x3121ac[_0x477b04(0x1f4)]-0x1,_0x3af723;_0x4e28ff>=0x0;_0x4e28ff--)(_0x3af723=_0x3121ac[_0x4e28ff])&&(_0x4fae62=_0x3af723(_0x4fae62)||_0x4fae62);return _0x4fae62;},_0x395709=(_0x317776,_0x1059ab)=>(_0x27f75b,_0x2a310c)=>_0x1059ab(_0x27f75b,_0x2a310c,_0x317776);let _0x4dd5ae=class extends _0x99a487['Disposable']{constructor(_0x5bfc80,_0x505cd1,_0x2feaa0,_0x3a3dbe){const _0xdaecd2=_0x42caba;super(),_0x450946(this,_0xdaecd2(0x3ca)),(this[_0xdaecd2(0x3b2)]=_0x5bfc80,this['_httpService']=_0x505cd1,this[_0xdaecd2(0x27c)]=_0x2feaa0,this['_collaborationSessionService']=_0x3a3dbe,this[_0xdaecd2(0x273)]());}[_0x42caba(0x273)](){const _0xf91489=_0x42caba;this['_initWindowErrorListener'](),this[_0xf91489(0x29a)](),this['_monkeyPatchLogService'](),this[_0xf91489(0x383)]();}[_0x42caba(0x383)](){const _0x2cc7de=_0x42caba;this[_0x2cc7de(0x170)](this[_0x2cc7de(0x31b)][_0x2cc7de(0x201)][_0x2cc7de(0x222)](_0x2dee52=>{const _0x4f669e=_0x2cc7de;this[_0x4f669e(0x3ca)]=_0x2dee52==null?void 0x0:_0x2dee52[_0x4f669e(0x3c0)];}));}['_initWindowErrorListener'](){const _0x12a150=_0x42caba,_0x3c462f=_0x1efe31=>{const _0x29b127=_0x5833;var _0x5f01bd;this['_uploadLog']('error',_0x29b127(0x3c8)+_0x1efe31[_0x29b127(0x3a8)]+_0x29b127(0x1e8)+_0x1efe31['filename']+':'+_0x1efe31[_0x29b127(0x2fe)]+':'+_0x1efe31['colno']+'\x0a'+(((_0x5f01bd=_0x1efe31[_0x29b127(0x233)])==null?void 0x0:_0x5f01bd[_0x29b127(0x31d)])||''));};window[_0x12a150(0x2dc)](_0x12a150(0x233),_0x3c462f),this['disposeWithMe'](()=>{const _0x18cdd5=_0x12a150;window[_0x18cdd5(0x1a9)](_0x18cdd5(0x233),_0x3c462f);});}[_0x42caba(0x29a)](){const _0x466481=_0x42caba,_0x21b550=_0x53f428=>{const _0x58e0dc=_0x5833;this[_0x58e0dc(0x3ac)](_0x58e0dc(0x233),_0x58e0dc(0x26e)+_0x53f428[_0x58e0dc(0x26c)]);};window[_0x466481(0x2dc)]('unhandledrejection',_0x21b550),this[_0x466481(0x170)](()=>{const _0x1784c6=_0x466481;window['removeEventListener'](_0x1784c6(0x331),_0x21b550);});}[_0x42caba(0x32c)](){const _0x39947a=_0x42caba,_0x201dc6=this[_0x39947a(0x27c)][_0x39947a(0x233)][_0x39947a(0x37d)](this[_0x39947a(0x27c)]);this['_logService'][_0x39947a(0x233)]=(..._0xa547ef)=>{const _0x1886d8=_0x39947a,_0x83779c=_0xa547ef[_0x1886d8(0x139)](_0x5cc265=>_0x5cc265 instanceof Error?_0x5cc265[_0x1886d8(0x3a8)]+'\x0a'+_0x5cc265[_0x1886d8(0x31d)]:String(_0x5cc265))[_0x1886d8(0x371)]('\x20');this[_0x1886d8(0x3ac)](_0x1886d8(0x233),_0x1886d8(0x2d1)+_0x83779c),_0x201dc6(..._0xa547ef);},this[_0x39947a(0x170)](()=>{const _0x28cd81=_0x39947a;this[_0x28cd81(0x27c)]['error']=_0x201dc6;});}[_0x42caba(0x3ac)](_0x271c89,_0xc4234){const _0x4ab95e=_0x42caba;try{const _0x275e9b={'userId':this[_0x4ab95e(0x3ca)],'logLabel':_0x271c89,'content':_0xc4234};this[_0x4ab95e(0x3a9)][_0x4ab95e(0x39c)](_0x4ab95e(0x11f),{'body':_0x275e9b})[_0x4ab95e(0x33e)](()=>{});}catch{}}};_0x4dd5ae=_0x4b8caa([_0x395709(0x0,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x395709(0x1,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb['HTTPService'])),_0x395709(0x2,_0x99a487[_0x42caba(0x2e3)]),_0x395709(0x3,_0x99a487[_0x42caba(0x2ac)](_0x40f345['CollaborationSessionService']))],_0x4dd5ae);const _0x2a0609='collaboration-client-ui.config',_0x326bbf={};var _0x35fa5f=Object[_0x42caba(0x27d)],_0x841b8c=(_0x2e81a7,_0x36c23e,_0x3b1a28,_0x5069c1)=>{const _0x5904c1=_0x42caba;for(var _0x4f1732=_0x5069c1>0x1?void 0x0:_0x5069c1?_0x35fa5f(_0x36c23e,_0x3b1a28):_0x36c23e,_0x3a1ad7=_0x2e81a7[_0x5904c1(0x1f4)]-0x1,_0x2158b1;_0x3a1ad7>=0x0;_0x3a1ad7--)(_0x2158b1=_0x2e81a7[_0x3a1ad7])&&(_0x4f1732=_0x2158b1(_0x4f1732)||_0x4f1732);return _0x4f1732;},_0x3efac9=(_0x36ddc7,_0x57f284)=>(_0x112eec,_0x4427f1)=>_0x57f284(_0x112eec,_0x4427f1,_0x36ddc7);let _0x2f7c5c=class{constructor(_0x3d1d87,_0x3e38e9){this['_transformService']=_0x3d1d87,this['_renderManagerService']=_0x3e38e9;}[_0x42caba(0x335)](_0x1fdae3){const _0x579306=_0x42caba;this[_0x579306(0x3c9)](_0x1fdae3),this[_0x579306(0x153)](_0x1fdae3);}[_0x42caba(0x3de)](_0x48388d){const _0x2fd303=_0x42caba,{unitID:_0x4ab2fd}=_0x48388d,_0x242fd0=this[_0x2fd303(0x16d)][_0x2fd303(0x2f4)](_0x4ab2fd)[_0x2fd303(0x187)](_0x2afbb3[_0x2fd303(0x3a1)]),{redoCache:_0x1f58c4}=_0x242fd0[_0x2fd303(0x342)]();if(_0x1f58c4['length']===0x0)return _0x48388d;let _0x511b2f=_0x99a487[_0x2fd303(0x303)][_0x2fd303(0x385)](_0x48388d[_0x2fd303(0x226)][0x0]);for(let _0x2e59e4=0x0;_0x2e59e4<_0x1f58c4[_0x2fd303(0x1f4)];_0x2e59e4++){const _0x429fb9={'id':_0x2fd303(0x205),'params':{..._0x1f58c4[_0x2e59e4]}},_0x523c7b=this[_0x2fd303(0x17a)][_0x2fd303(0x1ac)](_0x511b2f,_0x429fb9,!0x1);if(_0x1d0b4f[_0x2fd303(0x113)](_0x523c7b))throw _0x523c7b['error'];_0x511b2f=_0x523c7b['m1Prime'];}return{..._0x99a487[_0x2fd303(0x303)][_0x2fd303(0x385)](_0x48388d),'mutations':[_0x511b2f]};}[_0x42caba(0x3c9)](_0x2eef08){const _0x27d225=_0x42caba,{unitID:_0x2a1590}=_0x2eef08,_0x49c779=this[_0x27d225(0x16d)][_0x27d225(0x2f4)](_0x2a1590)[_0x27d225(0x187)](_0x2afbb3[_0x27d225(0x3a1)]),{undoCache:_0x14220a,redoCache:_0x6eb2eb}=_0x49c779['getUndoRedoMutationParamsCache']();if(_0x14220a[_0x27d225(0x1f4)]===0x0||_0x6eb2eb['length']===0x0)return;const _0x17313a=[],_0x5be98a=[];let _0x394444=_0x99a487[_0x27d225(0x303)][_0x27d225(0x385)](_0x2eef08['mutations'][0x0]),_0x388a7b=_0x99a487['Tools'][_0x27d225(0x385)](_0x2eef08[_0x27d225(0x226)][0x0]);for(let _0x416a20=_0x14220a['length']-0x1;_0x416a20>=0x0;_0x416a20--){const _0x45fd8a={'id':_0x27d225(0x205),'params':{..._0x14220a[_0x416a20]}},_0x2a3009={'id':_0x27d225(0x205),'params':{..._0x6eb2eb[_0x416a20]}},_0x295183=this[_0x27d225(0x17a)][_0x27d225(0x1ac)](_0x394444,_0x45fd8a,!0x1),_0x4f820e=this[_0x27d225(0x17a)][_0x27d225(0x1ac)](_0x388a7b,_0x2a3009,!0x1);if(_0x1d0b4f[_0x27d225(0x113)](_0x295183))throw _0x295183[_0x27d225(0x233)];if(_0x1d0b4f[_0x27d225(0x113)](_0x4f820e))throw _0x4f820e[_0x27d225(0x233)];_0x17313a[_0x27d225(0x2cf)](_0x295183['m2Prime'][_0x27d225(0x3a2)]),_0x5be98a[_0x27d225(0x2cf)](_0x4f820e[_0x27d225(0x35e)][_0x27d225(0x3a2)]),_0x394444=_0x295183[_0x27d225(0x330)],_0x388a7b=_0x4f820e['m1Prime'];}_0x49c779['setUndoRedoMutationParamsCache']({'undoCache':_0x17313a,'redoCache':_0x5be98a});}['_transformPreviousActiveRange'](_0x5d041c){const _0x38d107=_0x42caba,{unitID:_0x302427}=_0x5d041c,_0x15442f=this[_0x38d107(0x16d)]['getRenderById'](_0x302427)[_0x38d107(0x187)](_0x2afbb3[_0x38d107(0x3a1)]),_0x2860c5=_0x15442f[_0x38d107(0x30f)]();if(_0x2860c5==null)return;const _0x1abe87=[{'id':_0x38d107(0x205),'params':{'unitId':_0x5d041c[_0x38d107(0x392)],'actions':null,'textRanges':[_0x2860c5]}}],_0x35b81e=this[_0x38d107(0x17a)][_0x38d107(0x21a)](_0x5d041c,_0x1abe87);if(!_0x1d0b4f[_0x38d107(0x1af)](_0x35b81e))throw _0x35b81e['error'];const _0x3bf0e0=_0x35b81e[_0x38d107(0x35e)][0x0]['params']['textRanges'];Array[_0x38d107(0x292)](_0x3bf0e0)&&_0x3bf0e0[_0x38d107(0x1f4)]&&_0x15442f[_0x38d107(0x16a)](_0x3bf0e0[0x0]);}};_0x2f7c5c=_0x841b8c([_0x3efac9(0x0,_0x1d0b4f[_0x42caba(0x3e4)]),_0x3efac9(0x1,_0x4b6de8[_0x42caba(0x128)])],_0x2f7c5c);var _0x186efd=Object['getOwnPropertyDescriptor'],_0x4d13f1=(_0x400ab4,_0x456c81,_0x53980e,_0x593142)=>{const _0x29744d=_0x42caba;for(var _0x522859=_0x593142>0x1?void 0x0:_0x593142?_0x186efd(_0x456c81,_0x53980e):_0x456c81,_0x13833e=_0x400ab4[_0x29744d(0x1f4)]-0x1,_0x50e866;_0x13833e>=0x0;_0x13833e--)(_0x50e866=_0x400ab4[_0x13833e])&&(_0x522859=_0x50e866(_0x522859)||_0x522859);return _0x522859;},_0xd0e5c8=(_0x42644f,_0x102e93)=>(_0x1d1580,_0x4a7caa)=>_0x102e93(_0x1d1580,_0x4a7caa,_0x42644f);let _0xf67027=class{constructor(_0xc2f8d0,_0x8a48d9,_0x55678d){const _0x3a1cc5=_0x42caba;this[_0x3a1cc5(0x3b2)]=_0xc2f8d0,this['_transformService']=_0x8a48d9,this[_0x3a1cc5(0x19d)]=_0x55678d;}[_0x42caba(0x2ae)](_0x271123){const _0x404b65=_0x42caba;this[_0x404b65(0x15d)](_0x271123);}[_0x42caba(0x3de)](_0x17fe22){const _0x2e6e9f=_0x42caba,{unitID:_0x1663b2}=_0x17fe22,{collaboration:_0x1e9769}=this[_0x2e6e9f(0x19d)][_0x2e6e9f(0x271)](_0x1663b2);if(_0x1e9769[_0x2e6e9f(0x1f4)]===0x0)return _0x17fe22;let _0x37c6c0=_0x99a487['Tools'][_0x2e6e9f(0x385)](_0x17fe22[_0x2e6e9f(0x226)][0x0]);for(let _0x1fe2df=0x0;_0x1fe2df<_0x1e9769[_0x2e6e9f(0x1f4)];_0x1fe2df++){const _0x220220={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e9769[_0x1fe2df][_0x2e6e9f(0x1c6)],..._0x1e9769[_0x1fe2df][_0x2e6e9f(0x114)]}},_0x5073d1=this[_0x2e6e9f(0x17a)][_0x2e6e9f(0x1ac)](_0x37c6c0,_0x220220,!0x1);if(_0x1d0b4f[_0x2e6e9f(0x113)](_0x5073d1))throw _0x5073d1[_0x2e6e9f(0x233)];_0x37c6c0=_0x5073d1[_0x2e6e9f(0x330)];}return{..._0x99a487[_0x2e6e9f(0x303)][_0x2e6e9f(0x385)](_0x17fe22),'mutations':[_0x37c6c0]};}[_0x42caba(0x15d)](_0x474f51){const _0x4c53cf=_0x42caba,{unitID:_0x2462c8}=_0x474f51,{history:_0x27069e,collaboration:_0x308da8}=this['_docStateChangeManagerService'][_0x4c53cf(0x271)](_0x2462c8);if(_0x27069e[_0x4c53cf(0x1f4)]===0x0&&_0x308da8[_0x4c53cf(0x1f4)]===0x0)return;const _0x51f01d=[],_0x4011ef=[];let _0x4d5414=_0x99a487['Tools'][_0x4c53cf(0x385)](_0x474f51['mutations'][0x0]),_0x605b94=_0x99a487[_0x4c53cf(0x303)][_0x4c53cf(0x385)](_0x474f51[_0x4c53cf(0x226)][0x0]);for(let _0x533561=_0x27069e[_0x4c53cf(0x1f4)]-0x1;_0x533561>=0x0;_0x533561--){const _0x45f82e={'id':_0x4c53cf(0x205),'params':{'unitId':_0x27069e[_0x533561]['unitId'],..._0x27069e[_0x533561][_0x4c53cf(0x1c9)]}},_0x1fb748={'id':_0x4c53cf(0x205),'params':{'unitId':_0x27069e[_0x533561][_0x4c53cf(0x1c6)],..._0x27069e[_0x533561][_0x4c53cf(0x114)]}},_0x11bc88=this[_0x4c53cf(0x17a)][_0x4c53cf(0x1ac)](_0x4d5414,_0x45f82e,!0x1),_0x488cb0=this[_0x4c53cf(0x17a)]['transformMutation'](_0x605b94,_0x1fb748,!0x1);if(_0x1d0b4f[_0x4c53cf(0x113)](_0x11bc88))throw _0x11bc88[_0x4c53cf(0x233)];if(_0x1d0b4f[_0x4c53cf(0x113)](_0x488cb0))throw _0x488cb0[_0x4c53cf(0x233)];_0x51f01d[_0x4c53cf(0x2cf)]({..._0x27069e[_0x533561],'undoState':_0x11bc88[_0x4c53cf(0x35e)]['params'],'redoState':_0x488cb0[_0x4c53cf(0x35e)][_0x4c53cf(0x3a2)]}),_0x4d5414=_0x11bc88[_0x4c53cf(0x330)],_0x605b94=_0x488cb0[_0x4c53cf(0x330)];}_0x4d5414=_0x99a487[_0x4c53cf(0x303)][_0x4c53cf(0x385)](_0x474f51[_0x4c53cf(0x226)][0x0]),_0x605b94=_0x99a487[_0x4c53cf(0x303)]['deepClone'](_0x474f51[_0x4c53cf(0x226)][0x0]);for(let _0x4c60d0=_0x308da8['length']-0x1;_0x4c60d0>=0x0;_0x4c60d0--){const _0x509f3f={'id':_0x4c53cf(0x205),'params':{'unitId':_0x308da8[_0x4c60d0][_0x4c53cf(0x1c6)],..._0x308da8[_0x4c60d0][_0x4c53cf(0x1c9)]}},_0x3f58ff={'id':_0x4c53cf(0x205),'params':{'unitId':_0x308da8[_0x4c60d0][_0x4c53cf(0x1c6)],..._0x308da8[_0x4c60d0][_0x4c53cf(0x114)]}},_0x2d88fc=this[_0x4c53cf(0x17a)]['transformMutation'](_0x4d5414,_0x509f3f,!0x1),_0xdb7d48=this[_0x4c53cf(0x17a)][_0x4c53cf(0x1ac)](_0x605b94,_0x3f58ff,!0x1);if(_0x1d0b4f['isTransformMutationFailure'](_0x2d88fc))throw _0x2d88fc[_0x4c53cf(0x233)];if(_0x1d0b4f[_0x4c53cf(0x113)](_0xdb7d48))throw _0xdb7d48[_0x4c53cf(0x233)];_0x4011ef['unshift']({..._0x308da8[_0x4c60d0],'undoState':_0x2d88fc['m2Prime']['params'],'redoState':_0xdb7d48[_0x4c53cf(0x35e)][_0x4c53cf(0x3a2)]}),_0x4d5414=_0x2d88fc[_0x4c53cf(0x330)],_0x605b94=_0xdb7d48['m1Prime'];}this[_0x4c53cf(0x19d)]['setStateCache'](_0x2462c8,{'history':_0x51f01d,'collaboration':_0x4011ef});}};_0xf67027=_0x4d13f1([_0xd0e5c8(0x0,_0x99a487[_0x42caba(0x2ac)](_0x99a487['Injector'])),_0xd0e5c8(0x1,_0x1d0b4f['ITransformService']),_0xd0e5c8(0x2,_0x99a487[_0x42caba(0x2ac)](_0x2afbb3[_0x42caba(0x2a6)]))],_0xf67027);var _0xc8aa01=Object[_0x42caba(0x27d)],_0x2c6e0a=(_0x367a77,_0x17ee02,_0x4a9a0f,_0x347fe1)=>{const _0x22a307=_0x42caba;for(var _0x56a82f=_0x347fe1>0x1?void 0x0:_0x347fe1?_0xc8aa01(_0x17ee02,_0x4a9a0f):_0x17ee02,_0x46794c=_0x367a77[_0x22a307(0x1f4)]-0x1,_0xbaa816;_0x46794c>=0x0;_0x46794c--)(_0xbaa816=_0x367a77[_0x46794c])&&(_0x56a82f=_0xbaa816(_0x56a82f)||_0x56a82f);return _0x56a82f;},_0x5760ab=(_0x1bda41,_0x1bf4c3)=>(_0x1dbde1,_0x596b75)=>_0x1bf4c3(_0x1dbde1,_0x596b75,_0x1bda41);let _0x5db7b4=class{constructor(_0x272311,_0x12db12){this['_injector']=_0x272311,this['_transformService']=_0x12db12;}['transformSelections'](_0x598bca){const _0x596574=_0x42caba;var _0x2d2352;const _0x1c8144=this[_0x596574(0x3b2)][_0x596574(0x394)](_0x2d04b0[_0x596574(0x35c)]),_0x4923fa=(_0x2d2352=_0x1c8144[_0x596574(0x1a7)]())!=null?_0x2d2352:[];if(_0x4923fa['length']===0x0)return;const _0x241c6c=_0x598bca[_0x596574(0x392)],_0x543533=[{'id':_0x596574(0x205),'params':{'unitId':_0x241c6c,'actions':null,'textRanges':_0x4923fa}}],_0x51ae63=this['_transformService']['transformMutationsWithChangeset'](_0x598bca,_0x543533);if(!_0x1d0b4f[_0x596574(0x1af)](_0x51ae63))throw _0x51ae63[_0x596574(0x233)];const _0x279b33=_0x51ae63['m2Prime'][0x0][_0x596574(0x3a2)][_0x596574(0x248)];Array[_0x596574(0x292)](_0x279b33)&&_0x279b33[_0x596574(0x1f4)]&&_0x1c8144[_0x596574(0x309)](_0x279b33,{'unitId':_0x241c6c,'subUnitId':_0x241c6c},!0x1);}};_0x5db7b4=_0x2c6e0a([_0x5760ab(0x0,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x5760ab(0x1,_0x1d0b4f['ITransformService'])],_0x5db7b4);var _0x5e18bb=Object[_0x42caba(0x27d)],_0x761dd4=(_0x316328,_0x3e08a5,_0x59c6ca,_0x2a003c)=>{for(var _0x2938ab=_0x2a003c>0x1?void 0x0:_0x2a003c?_0x5e18bb(_0x3e08a5,_0x59c6ca):_0x3e08a5,_0x45e777=_0x316328['length']-0x1,_0x2df735;_0x45e777>=0x0;_0x45e777--)(_0x2df735=_0x316328[_0x45e777])&&(_0x2938ab=_0x2df735(_0x2938ab)||_0x2938ab);return _0x2938ab;},_0x4b8bc8=(_0x379990,_0x57d754)=>(_0x5f13fb,_0x39fa65)=>_0x57d754(_0x5f13fb,_0x39fa65,_0x379990);let _0x494724=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x3e95e6,_0x4a85c1,_0x597549,_0x41a81b,_0x1a4221,_0x525944,_0x50de3e,_0xfe8977){const _0x47ad08=_0x42caba;super(),_0x450946(this,_0x47ad08(0x3e5),new _0xf18ada[(_0x47ad08(0x1c2))](_0x40f345[_0x47ad08(0x3cf)][_0x47ad08(0x293)])),(this[_0x47ad08(0x19d)]=_0x3e95e6,this['_collaborationController']=_0x4a85c1,this[_0x47ad08(0x2d6)]=_0x597549,this[_0x47ad08(0x219)]=_0x41a81b,this['_docTransformSelectionsService']=_0x1a4221,this['_docSyncEditingCollabCursorService']=_0x525944,this[_0x47ad08(0x361)]=_0x50de3e,this[_0x47ad08(0x213)]=_0xfe8977,this[_0x47ad08(0x2ba)]());}[_0x42caba(0x2ba)](){const _0x25c5fc=_0x42caba;this[_0x25c5fc(0x170)](this[_0x25c5fc(0x362)][_0x25c5fc(0x2e6)][_0x25c5fc(0x222)](_0x399885=>{const _0x1a1204=_0x25c5fc,_0x3943e1=this['_docStateChangeManagerService']['docStateChange$'][_0x1a1204(0x222)](_0x5e8685=>{const _0x5c3e57=_0x1a1204;if(_0x5e8685==null)return;const {unitId:_0x5d13d5,redoState:_0x21dee6,commandId:_0x268c6e}=_0x5e8685;if(_0x5d13d5!==_0x399885[_0x5c3e57(0x392)])return;const _0xd63c14={'id':_0x268c6e,'type':_0x99a487['CommandType']['MUTATION'],'params':{'unitId':_0x5d13d5,'actions':_0x21dee6['actions'],'textRanges':null}};_0x399885['onLocalMutation'](_0xd63c14);});if(_0x399885[_0x1a1204(0x170)](_0x3943e1),_0x399885 instanceof _0x40f345['DocCollaborationEntity']){const _0x403f77={'onTransformIME':_0x340afd=>this['_docTransformIMECacheService'][_0x1a1204(0x335)](_0x340afd),'onTransformState':_0x15b512=>this[_0x1a1204(0x219)]['transformStateCache'](_0x15b512),'onTransformSelections':_0x32bba8=>this['_docTransformSelectionsService'][_0x1a1204(0x295)](_0x32bba8),'onSyncEditingCollabCursor':_0x30a0fb=>this['_docSyncEditingCollabCursorService'][_0x1a1204(0x12c)](_0x30a0fb),'onTransformRemoteChangesetByIMECache':_0xbee9db=>this[_0x1a1204(0x2d6)]['transformRemoteChangeset'](_0xbee9db),'onTransformRemoteChangesetByStateCache':_0x2431bd=>this['_docTransformStateCacheService'][_0x1a1204(0x3de)](_0x2431bd)};_0x399885[_0x1a1204(0x1e7)](_0x403f77);}}));}};_0x494724=_0x761dd4([_0x4b8bc8(0x0,_0x99a487[_0x42caba(0x2ac)](_0x2afbb3[_0x42caba(0x2a6)])),_0x4b8bc8(0x1,_0x99a487[_0x42caba(0x2ac)](_0x40f345['CollaborationController'])),_0x4b8bc8(0x2,_0x99a487[_0x42caba(0x2ac)](_0x2f7c5c)),_0x4b8bc8(0x3,_0x99a487[_0x42caba(0x2ac)](_0xf67027)),_0x4b8bc8(0x4,_0x99a487['Inject'](_0x5db7b4)),_0x4b8bc8(0x5,_0x99a487[_0x42caba(0x2ac)](_0x151704)),_0x4b8bc8(0x6,_0x3ebdd3[_0x42caba(0x3d7)]),_0x4b8bc8(0x7,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x35d)]))],_0x494724);var _0x34d078=(_0x14e0d0=>(_0x14e0d0[_0x14e0d0[_0x42caba(0x2d5)]=0x0]=_0x42caba(0x2d5),_0x14e0d0[_0x14e0d0['OK']=0x1]='OK',_0x14e0d0[_0x14e0d0[_0x42caba(0x200)]=0x2]=_0x42caba(0x200),_0x14e0d0[_0x14e0d0[_0x42caba(0x1fb)]=0x3]=_0x42caba(0x1fb),_0x14e0d0[_0x14e0d0['NOT_FOUND']=0x4]='NOT_FOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x272)]=0x5]='UNAUTHENTICATED',_0x14e0d0[_0x14e0d0[_0x42caba(0x3ae)]=0x6]=_0x42caba(0x3ae),_0x14e0d0[_0x14e0d0[_0x42caba(0x195)]=0x7]=_0x42caba(0x195),_0x14e0d0[_0x14e0d0['TOO_MANY_REQUESTS']=0x8]=_0x42caba(0x350),_0x14e0d0[_0x14e0d0['COMPLETION_FINISHED']=0x9]=_0x42caba(0x301),_0x14e0d0[_0x14e0d0[_0x42caba(0x2e8)]=0xa]=_0x42caba(0x2e8),_0x14e0d0[_0x14e0d0[_0x42caba(0x340)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x14e0d0[_0x14e0d0[_0x42caba(0x317)]=0xc]=_0x42caba(0x317),_0x14e0d0[_0x14e0d0[_0x42caba(0x327)]=0xd]=_0x42caba(0x327),_0x14e0d0[_0x14e0d0['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x42caba(0x302),_0x14e0d0[_0x14e0d0[_0x42caba(0x1db)]=0xf]=_0x42caba(0x1db),_0x14e0d0[_0x14e0d0[_0x42caba(0x3d2)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x14e0d0[_0x14e0d0['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x42caba(0x20c),_0x14e0d0[_0x14e0d0[_0x42caba(0x1fe)]=0x65]=_0x42caba(0x1fe),_0x14e0d0[_0x14e0d0[_0x42caba(0x37c)]=0xc9]='USER_NOT_FOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x22b)]=0xca]=_0x42caba(0x22b),_0x14e0d0[_0x14e0d0[_0x42caba(0x209)]=0x1389]=_0x42caba(0x209),_0x14e0d0[_0x14e0d0[_0x42caba(0x2bd)]=0x1771]=_0x42caba(0x2bd),_0x14e0d0[_0x14e0d0[_0x42caba(0x377)]=0x1772]=_0x42caba(0x377),_0x14e0d0[_0x14e0d0[_0x42caba(0x367)]=0x1773]=_0x42caba(0x367),_0x14e0d0[_0x14e0d0[_0x42caba(0x19e)]=0x1b59]=_0x42caba(0x19e),_0x14e0d0[_0x14e0d0['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x14e0d0[_0x14e0d0['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x42caba(0x224),_0x14e0d0[_0x14e0d0[_0x42caba(0x313)]=0x1b5c]=_0x42caba(0x313),_0x14e0d0[_0x14e0d0[_0x42caba(0x3d8)]=0x1b5d]=_0x42caba(0x3d8),_0x14e0d0[_0x14e0d0[_0x42caba(0x366)]=0x1f41]=_0x42caba(0x366),_0x14e0d0[_0x14e0d0[_0x42caba(0x304)]=0x2329]=_0x42caba(0x304),_0x14e0d0[_0x14e0d0[_0x42caba(0x161)]=0x232a]=_0x42caba(0x161),_0x14e0d0[_0x14e0d0[_0x42caba(0x324)]=0x232b]=_0x42caba(0x324),_0x14e0d0[_0x14e0d0[_0x42caba(0x386)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x14e0d0[_0x14e0d0[_0x42caba(0x1ff)]=0x232d]=_0x42caba(0x1ff),_0x14e0d0[_0x14e0d0[_0x42caba(0x376)]=0x2711]=_0x42caba(0x376),_0x14e0d0[_0x14e0d0[_0x42caba(0x215)]=0x2712]=_0x42caba(0x215),_0x14e0d0[_0x14e0d0[_0x42caba(0x11d)]=0x2713]=_0x42caba(0x11d),_0x14e0d0[_0x14e0d0['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x395)]=0x271a]=_0x42caba(0x395),_0x14e0d0[_0x14e0d0[_0x42caba(0x19b)]=0x271b]=_0x42caba(0x19b),_0x14e0d0[_0x14e0d0[_0x42caba(0x1d2)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x14e0d0[_0x14e0d0[_0x42caba(0x2ec)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x14e0d0[_0x14e0d0[_0x42caba(0x274)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x14e0d0[_0x14e0d0[_0x42caba(0x26f)]=0x271f]=_0x42caba(0x26f),_0x14e0d0[_0x14e0d0[_0x42caba(0x117)]=0x2720]=_0x42caba(0x117),_0x14e0d0[_0x14e0d0[_0x42caba(0x149)]=0x2af9]=_0x42caba(0x149),_0x14e0d0[_0x14e0d0[_0x42caba(0x23f)]=0x2ee1]=_0x42caba(0x23f),_0x14e0d0[_0x14e0d0['INVALID_INVITE_CODE']=0x2ee2]=_0x42caba(0x3e9),_0x14e0d0[_0x14e0d0['INVITE_CODE_REQUIRED']=0x2ee3]=_0x42caba(0x259),_0x14e0d0[_0x14e0d0[_0x42caba(0x32a)]=0x2ee4]=_0x42caba(0x32a),_0x14e0d0[_0x14e0d0[_0x42caba(0x2bb)]=0x2ee5]=_0x42caba(0x2bb),_0x14e0d0[_0x14e0d0['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x286)]=0x32ca]=_0x42caba(0x286),_0x14e0d0[_0x14e0d0['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x37b)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x14e0d0[_0x14e0d0[_0x42caba(0x3d5)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x14e0d0[_0x14e0d0['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x14e0d0[_0x14e0d0[_0x42caba(0x2f6)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x14e0d0[_0x14e0d0[_0x42caba(0x2d3)]=0x36b5]=_0x42caba(0x2d3),_0x14e0d0[_0x14e0d0[_0x42caba(0x18a)]=0x36b6]=_0x42caba(0x18a),_0x14e0d0[_0x14e0d0[_0x42caba(0x3b9)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x14e0d0[_0x14e0d0[_0x42caba(0x122)]=0x36b8]=_0x42caba(0x122),_0x14e0d0[_0x14e0d0[_0x42caba(0x2f2)]=0x3715]=_0x42caba(0x2f2),_0x14e0d0[_0x14e0d0[_0x42caba(0x36a)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x14e0d0[_0x14e0d0[_0x42caba(0x3d9)]=0x3717]=_0x42caba(0x3d9),_0x14e0d0[_0x14e0d0[_0x42caba(0x358)]=0x37dd]=_0x42caba(0x358),_0x14e0d0[_0x14e0d0[_0x42caba(0x118)]=0x3a99]=_0x42caba(0x118),_0x14e0d0[_0x14e0d0[_0x42caba(0x249)]=0x3a9a]=_0x42caba(0x249),_0x14e0d0[_0x14e0d0['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x14e0d0[_0x14e0d0[_0x42caba(0x3d3)]=0x3a9c]=_0x42caba(0x3d3),_0x14e0d0[_0x14e0d0[_0x42caba(0x239)]=0x3a9d]=_0x42caba(0x239),_0x14e0d0[_0x14e0d0[_0x42caba(0x289)]=0x3a9e]=_0x42caba(0x289),_0x14e0d0[_0x14e0d0['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x14e0d0[_0x14e0d0[_0x42caba(0x298)]=0x3e81]=_0x42caba(0x298),_0x14e0d0[_0x14e0d0['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x14e0d0))(_0x34d078||{});function _0x7d739d(_0x1f16e1){const _0x378ead=_0x42caba;var _0x2b9220,_0x3a0dea;const _0x38b7f7=(_0x2b9220=_0x1f16e1['stageInfo'])==null?void 0x0:_0x2b9220[_0x378ead(0x25c)],_0x48ea96=((_0x3a0dea=_0x1f16e1[_0x378ead(0x1ea)])==null?void 0x0:_0x3a0dea['totalFormulasToCalculate'])||0x0;return _0x38b7f7===_0x7369e4[_0x378ead(0x26b)][_0x378ead(0x11b)]&&_0x48ea96>0x0;}function _0x5de4b5(_0x3a0813){const _0x275d73=_0x42caba;return _0x3a0813[_0x275d73(0x1e9)]===_0x7369e4[_0x275d73(0x159)][_0x275d73(0x381)];}var _0x3d089b=Object[_0x42caba(0x27d)],_0x16e44d=(_0x4f8928,_0x390027,_0x50e494,_0x2b1308)=>{const _0x5c4c0e=_0x42caba;for(var _0x2263ac=_0x2b1308>0x1?void 0x0:_0x2b1308?_0x3d089b(_0x390027,_0x50e494):_0x390027,_0x2fdcc2=_0x4f8928[_0x5c4c0e(0x1f4)]-0x1,_0x5b923d;_0x2fdcc2>=0x0;_0x2fdcc2--)(_0x5b923d=_0x4f8928[_0x2fdcc2])&&(_0x2263ac=_0x5b923d(_0x2263ac)||_0x2263ac);return _0x2263ac;},_0x4fa34c=(_0x35d3c3,_0x3d43b1)=>(_0x2dab98,_0x123d88)=>_0x3d43b1(_0x2dab98,_0x123d88,_0x35d3c3);const _0x5f507f=_0x42caba(0x210),_0x119aad=_0x42caba(0x208),_0x9ec6e2=_0x42caba(0x3e3);let _0x1f6973=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x228618,_0x2f010f,_0x33c848,_0x323760,_0x1b34b1,_0x1a99ec,_0x41ec79){const _0x237d69=_0x42caba;super(),_0x450946(this,'_pollingInterval',null),_0x450946(this,_0x237d69(0x18d),0x0),_0x450946(this,'_currentUsage',0x0),_0x450946(this,_0x237d69(0x312),[]),_0x450946(this,_0x237d69(0x27e),0x0),(this['_messageService']=_0x228618,this[_0x237d69(0x390)]=_0x2f010f,this[_0x237d69(0x364)]=_0x33c848,this['_httpService']=_0x323760,this[_0x237d69(0x2c0)]=_0x1b34b1,this[_0x237d69(0x27c)]=_0x1a99ec,this[_0x237d69(0x213)]=_0x41ec79,this[_0x237d69(0x3bd)]());}[_0x42caba(0x3bd)](){const _0x34df9b=_0x42caba;this[_0x34df9b(0x170)](this[_0x34df9b(0x390)][_0x34df9b(0x2aa)]((_0x6f5650,_0x5a3165)=>{const _0x4c57d9=_0x34df9b;var _0x2bfa62;if(_0x6f5650['id']!==_0x7369e4[_0x4c57d9(0x1e4)]['id'])return;const _0x47b40b=_0x6f5650[_0x4c57d9(0x3a2)];if(!this[_0x4c57d9(0x19c)]((_0x2bfa62=_0x47b40b[_0x4c57d9(0x151)])!=null?_0x2bfa62:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x4c57d9(0x2e0)](_0x6f5650,_0x5a3165),this[_0x4c57d9(0x130)](),new _0x99a487[(_0x4c57d9(0x291))]();})),this[_0x34df9b(0x170)](this[_0x34df9b(0x390)][_0x34df9b(0x29f)]((_0x2718f8,_0x6a370c)=>{const _0x53e825=_0x34df9b;if(_0x2718f8['id']!==_0x7369e4['SetFormulaCalculationNotificationMutation']['id'])return;const _0x352a1e=_0x2718f8[_0x53e825(0x3a2)];if(_0x7d739d(_0x352a1e)){const _0x3dedf0=_0x99a487[_0x53e825(0x10b)]();this[_0x53e825(0x312)][_0x53e825(0x242)](_0x3dedf0),this[_0x53e825(0x133)](_0x3dedf0);}else{if(_0x5de4b5(_0x352a1e)&&this[_0x53e825(0x312)][_0x53e825(0x1f4)]>0x0){const _0x41bea0=this[_0x53e825(0x312)]['shift']();this['_releaseCalculationLimit'](_0x41bea0);}}}));}[_0x42caba(0x310)](){const _0x495291=_0x42caba;super[_0x495291(0x310)](),this[_0x495291(0x3aa)](),this['_taskIds']=[],this[_0x495291(0x3c5)]=0x0,this[_0x495291(0x18d)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x42caba(0x2e0)](_0x1ac289,_0x108492){const _0x2812db=_0x42caba;for(let _0x3c37ac=0x0;_0x3c37ac<0x1e;_0x3c37ac++)try{if(await this['_getFormulaLimitStatus'](),this[_0x2812db(0x179)]()){this[_0x2812db(0x1f8)](_0x1ac289,_0x108492),this[_0x2812db(0x361)][_0x2812db(0x176)]({'content':this[_0x2812db(0x213)]['t'](_0x2812db(0x336)),'type':_0xdfb808[_0x2812db(0x36d)]['Success']});return;}await new Promise(_0x1ed796=>{const _0x2da345=_0x2812db;this['_pollingInterval']=window[_0x2da345(0x2de)](_0x1ed796,0x3e8);});}catch(_0x109e12){this[_0x2812db(0x27c)]['error'](_0x109e12);}this[_0x2812db(0x361)][_0x2812db(0x176)]({'content':this[_0x2812db(0x213)]['t'](_0x2812db(0x391)),'type':_0xdfb808[_0x2812db(0x36d)][_0x2812db(0x2c6)]});}[_0x42caba(0x1f8)](_0x6198f8,_0x4b0ba2){const _0x27d33e=_0x42caba;try{this[_0x27d33e(0x390)][_0x27d33e(0x28d)](_0x6198f8['id'],_0x6198f8[_0x27d33e(0x3a2)],_0x4b0ba2);}catch(_0x39489d){this['_logService'][_0x27d33e(0x233)](_0x39489d);}}[_0x42caba(0x3e0)](_0x38dff9,_0xdd9a98){const _0xaeb242=_0x42caba;_0xdd9a98<this['_lastResponseTimestamp']||(this[_0xaeb242(0x27e)]=_0xdd9a98,this[_0xaeb242(0x18d)]=Number['parseInt'](_0x38dff9[_0xaeb242(0x1b3)]),this[_0xaeb242(0x3c5)]=Number[_0xaeb242(0x1d0)](_0x38dff9[_0xaeb242(0x29d)]));}async[_0x42caba(0x133)](_0x53dab1){const _0x419513=_0x42caba;var _0x458f85,_0x562af2;const _0x354f19=Date[_0x419513(0x2d4)]();try{const _0x104854=((_0x458f85=this[_0x419513(0x364)][_0x419513(0x15c)](_0x40f345[_0x419513(0x34e)]))==null?void 0x0:_0x458f85[_0x419513(0x2f7)])||_0x119aad,_0x52ef87=(await this[_0x419513(0x3a9)]['post'](_0x104854,{'body':JSON[_0x419513(0x24f)]({'taskId':_0x53dab1})}))[_0x419513(0x1cb)];if(((_0x562af2=_0x52ef87[_0x419513(0x233)])==null?void 0x0:_0x562af2[_0x419513(0x34b)])!==_0x34d078['OK'])return;this['_setFormulaLimitStatus'](_0x52ef87[_0x419513(0x2f5)],_0x354f19);}catch(_0x225081){this['_logService']['error'](_0x225081);}}async[_0x42caba(0x1b2)](_0x127284){const _0x311f09=_0x42caba;var _0x130138,_0x327e53;const _0x4fb336=Date[_0x311f09(0x2d4)]();try{const _0x38fd25=((_0x130138=this[_0x311f09(0x364)][_0x311f09(0x15c)](_0x40f345['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x130138[_0x311f09(0x38f)])||_0x5f507f,_0x55e771=_0x127284?_0x38fd25+_0x311f09(0x188)+encodeURIComponent(_0x127284):_0x38fd25,_0x443323=(await this[_0x311f09(0x3a9)][_0x311f09(0x394)](_0x55e771))[_0x311f09(0x1cb)];if(((_0x327e53=_0x443323[_0x311f09(0x233)])==null?void 0x0:_0x327e53[_0x311f09(0x34b)])!==_0x34d078['OK'])return;this[_0x311f09(0x3e0)](_0x443323[_0x311f09(0x2f5)],_0x4fb336);}catch(_0x29d54b){this[_0x311f09(0x27c)][_0x311f09(0x233)](_0x29d54b);}}async[_0x42caba(0x24e)](_0x22ad2a){const _0x263a9c=_0x42caba;var _0x572749,_0x5afaa2;const _0x1bb9a3=Date[_0x263a9c(0x2d4)]();try{const _0x2bbc94=((_0x572749=this[_0x263a9c(0x364)]['getConfig'](_0x40f345[_0x263a9c(0x34e)]))==null?void 0x0:_0x572749[_0x263a9c(0x197)])||_0x9ec6e2,_0x1d767f=(await this[_0x263a9c(0x3a9)][_0x263a9c(0x39c)](_0x2bbc94,{'body':JSON['stringify']({'taskId':_0x22ad2a})}))[_0x263a9c(0x1cb)];if(((_0x5afaa2=_0x1d767f[_0x263a9c(0x233)])==null?void 0x0:_0x5afaa2['code'])!==_0x34d078['OK'])return;this[_0x263a9c(0x3e0)](_0x1d767f[_0x263a9c(0x2f5)],_0x1bb9a3);}catch(_0x1ee565){this[_0x263a9c(0x27c)]['error'](_0x1ee565);}}[_0x42caba(0x179)](){const _0x4a32bc=_0x42caba;return this[_0x4a32bc(0x18d)]===0x0?!0x0:this[_0x4a32bc(0x18d)]-this[_0x4a32bc(0x3c5)]>0x0;}[_0x42caba(0x3aa)](){const _0x2d2463=_0x42caba;this['_pollingInterval']&&(clearTimeout(this[_0x2d2463(0x111)]),this[_0x2d2463(0x111)]=null);}[_0x42caba(0x130)](){const _0x4add5e=_0x42caba;this[_0x4add5e(0x361)][_0x4add5e(0x176)]({'content':this[_0x4add5e(0x213)]['t'](_0x4add5e(0x13d)),'type':_0xdfb808['MessageType'][_0x4add5e(0x355)]});}['_hasFormulaInDirtyRanges'](_0x5c6163){const _0x3afe8f=_0x42caba;for(const _0x415ba8 of _0x5c6163){const {unitId:_0xa08c34,sheetId:_0x51ac76,range:_0x545bad}=_0x415ba8,_0x423160=this[_0x3afe8f(0x2c0)][_0x3afe8f(0x2ed)](_0xa08c34);if(!_0x423160)continue;const _0x11216b=_0x423160[_0x3afe8f(0x287)](_0x51ac76);if(!_0x11216b)continue;const _0x3842be=_0x11216b[_0x3afe8f(0x1a1)]();for(let _0x10ceba=_0x545bad[_0x3afe8f(0x20e)];_0x10ceba<=_0x545bad[_0x3afe8f(0x1c3)];_0x10ceba++)for(let _0x54c28c=_0x545bad[_0x3afe8f(0x39d)];_0x54c28c<=_0x545bad[_0x3afe8f(0x14a)];_0x54c28c++){const _0x2011ce=_0x3842be[_0x3afe8f(0x279)](_0x10ceba,_0x54c28c);if(_0x2011ce&&(_0x99a487['isFormulaString'](_0x2011ce['f'])||_0x99a487[_0x3afe8f(0x2ad)](_0x2011ce['si'])))return!0x0;}}return!0x1;}};_0x1f6973=_0x16e44d([_0x4fa34c(0x0,_0x99a487[_0x42caba(0x2ac)](_0x3ebdd3['IMessageService'])),_0x4fa34c(0x1,_0x99a487[_0x42caba(0x277)]),_0x4fa34c(0x2,_0x99a487[_0x42caba(0x20d)]),_0x4fa34c(0x3,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb[_0x42caba(0x2c3)])),_0x4fa34c(0x4,_0x99a487[_0x42caba(0x14f)]),_0x4fa34c(0x5,_0x99a487[_0x42caba(0x2e3)]),_0x4fa34c(0x6,_0x99a487['Inject'](_0x99a487['LocaleService']))],_0x1f6973);var _0x12a4db=Object[_0x42caba(0x27d)],_0x32410d=(_0x38105c,_0x559079,_0x5449eb,_0x2e9e41)=>{const _0x13a483=_0x42caba;for(var _0x5f1dd0=_0x2e9e41>0x1?void 0x0:_0x2e9e41?_0x12a4db(_0x559079,_0x5449eb):_0x559079,_0x22aba3=_0x38105c[_0x13a483(0x1f4)]-0x1,_0xfcd872;_0x22aba3>=0x0;_0x22aba3--)(_0xfcd872=_0x38105c[_0x22aba3])&&(_0x5f1dd0=_0xfcd872(_0x5f1dd0)||_0x5f1dd0);return _0x5f1dd0;},_0x55d959=(_0x328e1f,_0x2ceced)=>(_0x11c11e,_0x152249)=>_0x2ceced(_0x11c11e,_0x152249,_0x328e1f);let _0x90aec9=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x576d03,_0xc20246,_0x29890b){const _0x42bdf5=_0x42caba;super(),_0x450946(this,'_cachedData',new Map()),_0x450946(this,_0x42bdf5(0x315),new Map()),_0x450946(this,'_disabled',!0x1),(this[_0x42bdf5(0x364)]=_0x576d03,this[_0x42bdf5(0x267)]=_0xc20246,this[_0x42bdf5(0x379)]=_0x29890b);}[_0x42caba(0x18c)](){const _0x5d2562=_0x42caba;this[_0x5d2562(0x35a)]=!0x0;}[_0x42caba(0x300)](){const _0x117026=_0x42caba;this[_0x117026(0x35a)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x42caba(0x310)](){const _0x7c8676=_0x42caba;this[_0x7c8676(0x256)]()['then'](()=>super[_0x7c8676(0x310)]());}async[_0x42caba(0x269)](_0x1d37bc){const _0x360d71=_0x42caba;return this[_0x360d71(0x35a)]?null:this[_0x360d71(0x267)][_0x360d71(0x110)](_0x40f345[_0x360d71(0x352)](_0x1d37bc));}async[_0x42caba(0x38d)](_0x439850,_0x12e47a){const _0x304fc4=_0x42caba;return!!this[_0x304fc4(0x267)][_0x304fc4(0x2fc)](_0x439850,_0x12e47a);}[_0x42caba(0x2a3)](_0x2ba0f1,_0x21e576,_0xf35ddb,_0x4dd44b){const _0x17bf72=_0x42caba,_0x913614=this['_revisionService'][_0x17bf72(0x39f)](_0x2ba0f1);this['_cachedData']['set'](_0x2ba0f1,{'unitID':_0x2ba0f1,'type':_0x21e576,'awaitingChangeset':_0xf35ddb,'mutations':_0x4dd44b,'rev':_0x913614}),this[_0x17bf72(0x315)][_0x17bf72(0x185)](_0x2ba0f1)||this[_0x17bf72(0x124)](_0x2ba0f1);}[_0x42caba(0x124)](_0x1b6331){const _0x187f80=_0x42caba,_0x5371ec=this[_0x187f80(0x2b3)]();_0x5371ec===0x0?this[_0x187f80(0x2fa)](_0x1b6331):this['_saveTaskMap'][_0x187f80(0x2ff)](_0x1b6331,setTimeout(()=>this[_0x187f80(0x2fa)](_0x1b6331),_0x5371ec));}[_0x42caba(0x2b3)](){const _0x16ffb2=_0x42caba;var _0x1241bc;return(_0x1241bc=this[_0x16ffb2(0x364)][_0x16ffb2(0x15c)](_0x40f345[_0x16ffb2(0x261)]))!=null?_0x1241bc:_0x40f345[_0x16ffb2(0x33a)];}[_0x42caba(0x2fa)](_0x35f146){const _0x372ccb=_0x42caba,_0x5b9cc9=this[_0x372ccb(0x315)][_0x372ccb(0x394)](_0x35f146);return _0x5b9cc9!==void 0x0&&window[_0x372ccb(0x316)](_0x5b9cc9),this[_0x372ccb(0x267)]['setItem'](_0x40f345[_0x372ccb(0x352)](_0x35f146),this[_0x372ccb(0x1ee)][_0x372ccb(0x394)](_0x35f146))[_0x372ccb(0x152)](()=>this[_0x372ccb(0x315)][_0x372ccb(0x192)](_0x35f146));}async[_0x42caba(0x256)](){const _0x48c575=_0x42caba,_0x312c5f=[];this[_0x48c575(0x315)][_0x48c575(0x2e5)]((_0x3fe624,_0x1313e0)=>{const _0x2a6b8d=_0x48c575;window[_0x2a6b8d(0x316)](_0x3fe624),_0x312c5f[_0x2a6b8d(0x242)](this[_0x2a6b8d(0x2fa)](_0x1313e0)[_0x2a6b8d(0x152)](()=>{const _0x4ce8b3=_0x2a6b8d;this[_0x4ce8b3(0x315)]['delete'](_0x1313e0);}));}),await Promise[_0x48c575(0x115)](_0x312c5f);}};_0x90aec9=_0x32410d([_0x55d959(0x0,_0x99a487[_0x42caba(0x20d)]),_0x55d959(0x1,_0x99a487['ILocalStorageService']),_0x55d959(0x2,_0x99a487[_0x42caba(0x2ac)](_0x1d0b4f[_0x42caba(0x3e7)]))],_0x90aec9);class _0x36a969 extends _0x99a487[_0x42caba(0x178)]{constructor(){const _0x51a4eb=_0x42caba;super(),_0x450946(this,'urlChange$'),this['urlChange$']=_0xf18ada['fromEvent'](window,_0x51a4eb(0x1bf))[_0x51a4eb(0x1cd)](_0xf18ada[_0x51a4eb(0x141)](this['dispose$']),_0xf18ada['shareReplay'](0x1),_0xf18ada[_0x51a4eb(0x3ef)](void 0x0));}['setParam'](_0x3cc346,_0x7f77c3,_0x511b28=!0x1){const _0x2b3f99=_0x42caba,_0x3659e0=new URL(window[_0x2b3f99(0x171)]['href']);_0x3659e0[_0x2b3f99(0x2f8)]['set'](_0x3cc346,_0x7f77c3),_0x511b28?window['history'][_0x2b3f99(0x36f)]('','',_0x3659e0[_0x2b3f99(0x2df)]()):window[_0x2b3f99(0x25f)]['pushState']('','',_0x3659e0[_0x2b3f99(0x2df)]());}[_0x42caba(0x348)](_0x2d9eaf,_0x57f6fc=!0x1){const _0x46a742=_0x42caba,_0x5ea070=new URL(window[_0x46a742(0x171)]['href']);_0x5ea070['searchParams'][_0x46a742(0x192)](_0x2d9eaf),_0x57f6fc?window[_0x46a742(0x25f)]['replaceState']('','',_0x5ea070['toString']()):window[_0x46a742(0x25f)][_0x46a742(0x225)]('','',_0x5ea070[_0x46a742(0x2df)]());}[_0x42caba(0x37f)](_0x37f094){const _0x2ec506=_0x42caba;var _0x3a05b3;return(_0x3a05b3=new URL(window[_0x2ec506(0x171)][_0x2ec506(0x21e)])[_0x2ec506(0x2f8)][_0x2ec506(0x394)](_0x37f094))!=null?_0x3a05b3:void 0x0;}}var _0x77162b=Object['defineProperty'],_0x281362=Object['getOwnPropertyDescriptor'],_0x2afe0d=(_0x2e3dac,_0x20e692,_0x5a0e91)=>_0x20e692 in _0x2e3dac?_0x77162b(_0x2e3dac,_0x20e692,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a0e91}):_0x2e3dac[_0x20e692]=_0x5a0e91,_0x4bb996=(_0x172f97,_0x226472,_0x5ec46a,_0x56f921)=>{const _0x3e47c0=_0x42caba;for(var _0x3577b2=_0x56f921>0x1?void 0x0:_0x56f921?_0x281362(_0x226472,_0x5ec46a):_0x226472,_0x43d6e2=_0x172f97[_0x3e47c0(0x1f4)]-0x1,_0xc64237;_0x43d6e2>=0x0;_0x43d6e2--)(_0xc64237=_0x172f97[_0x43d6e2])&&(_0x3577b2=_0xc64237(_0x3577b2)||_0x3577b2);return _0x3577b2;},_0x1c5263=(_0x55bf94,_0x2e4296)=>(_0x30e53e,_0x2a3a41)=>_0x2e4296(_0x30e53e,_0x2a3a41,_0x55bf94),_0x39c477=(_0xc61edd,_0x14e5bd,_0x29ca4d)=>_0x2afe0d(_0xc61edd,_0x14e5bd+'',_0x29ca4d);const _0xfcfa8d='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x23f96a['UniverCollaborationClientUIPlugin']=class extends _0x99a487[_0x42caba(0x260)]{constructor(_0x317635=_0x326bbf,_0x1493a8,_0x253617,_0x35826b){const _0xec049a=_0x42caba;super(),this[_0xec049a(0x28f)]=_0x317635,this['_renderManagerService']=_0x1493a8,this[_0xec049a(0x3b2)]=_0x253617,this[_0xec049a(0x364)]=_0x35826b;const {..._0x6b81f1}=_0x99a487['merge']({},_0x326bbf,this[_0xec049a(0x28f)]);this['_configService'][_0xec049a(0x18b)](_0x2a0609,_0x6b81f1);}['onStarting'](){const _0x4465e6=_0x42caba;this['_registerDependencies'](),this[_0x4465e6(0x3bc)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x284724=_0x42caba;var _0x5418fd;const _0x1a7d75=[[_0x2dbe1f],[_0x1f6973],[_0x5db7b4],[_0x2f7c5c],[_0xf67027],[_0x151704],[_0x2eaaa6,{'useClass':_0x36a969}],[_0xb43dfb['ISocketService'],{'useClass':_0xb43dfb[_0x284724(0x284)]}],[_0x40f345[_0x284724(0x2da)],{'useClass':_0x90aec9}],[_0x23f96a[_0x284724(0x254)]],[_0x494724],[_0x54c86a],[_0x550d1c],[_0x47f8da],[_0x23f96a[_0x284724(0x216)]]];this[_0x284724(0x28f)][_0x284724(0x1e5)]&&_0x1a7d75[_0x284724(0x242)]([_0x4dd5ae]),_0x99a487[_0x284724(0x2e2)](this['_injector'],_0x99a487[_0x284724(0x228)](_0x1a7d75,(_0x5418fd=this[_0x284724(0x28f)])==null?void 0x0:_0x5418fd[_0x284724(0x23e)]));}[_0x42caba(0x1f2)](){const _0x5cef27=_0x42caba;this[_0x5cef27(0x170)](this[_0x5cef27(0x16d)][_0x5cef27(0x1a0)](_0x99a487[_0x5cef27(0x1b8)][_0x5cef27(0x22a)],[_0x459cb5])),this['disposeWithMe'](this[_0x5cef27(0x16d)][_0x5cef27(0x1a0)](_0x99a487[_0x5cef27(0x1b8)]['UNIVER_SHEET'],[_0x4db1a0]));}[_0x42caba(0x3bc)](){const _0x18035a=_0x42caba;_0x99a487[_0x18035a(0x164)](this[_0x18035a(0x3b2)],[[_0x550d1c],[_0x23f96a[_0x18035a(0x254)]],[_0x494724],[_0x54c86a],[_0x23f96a['CollaborationDataLoaderController']],[_0x1f6973]]),this['_config'][_0x18035a(0x1e5)]&&_0x99a487[_0x18035a(0x164)](this[_0x18035a(0x3b2)],[[_0x4dd5ae]]);}},_0x39c477(_0x23f96a[_0x42caba(0x19f)],'pluginName',_0xfcfa8d),_0x23f96a[_0x42caba(0x19f)]=_0x4bb996([_0x99a487['DependentOn'](_0x40f345[_0x42caba(0x22d)]),_0x1c5263(0x1,_0x4b6de8['IRenderManagerService']),_0x1c5263(0x2,_0x99a487['Inject'](_0x99a487[_0x42caba(0x2be)])),_0x1c5263(0x3,_0x99a487[_0x42caba(0x20d)])],_0x23f96a[_0x42caba(0x19f)]);var _0x1059ee=Object[_0x42caba(0x27d)],_0x40a8c8=(_0x3e19b9,_0x5d0ece,_0x2c751c,_0x434ac1)=>{const _0x4c1cc0=_0x42caba;for(var _0x20022f=_0x434ac1>0x1?void 0x0:_0x434ac1?_0x1059ee(_0x5d0ece,_0x2c751c):_0x5d0ece,_0x254545=_0x3e19b9[_0x4c1cc0(0x1f4)]-0x1,_0x1a475a;_0x254545>=0x0;_0x254545--)(_0x1a475a=_0x3e19b9[_0x254545])&&(_0x20022f=_0x1a475a(_0x20022f)||_0x20022f);return _0x20022f;},_0x598f33=(_0x13dee0,_0x4ed21c)=>(_0xe9f6aa,_0x147aff)=>_0x4ed21c(_0xe9f6aa,_0x147aff,_0x13dee0);_0x23f96a[_0x42caba(0x10c)]=class extends _0x40f345[_0x42caba(0x297)]{constructor(_0x346168,_0x388ee0,_0x526f54,_0x5f2b15,_0x4c9a91){super(_0x346168,_0x388ee0,_0x526f54,_0x5f2b15,_0x4c9a91);}async[_0x42caba(0x116)](_0x28c4c3){const _0x30b156=_0x42caba,_0x182394=await this[_0x30b156(0x29b)](),_0x2b9c0e=this[_0x30b156(0x275)](_0x28c4c3,_0x182394);return this[_0x30b156(0x23a)](_0x2b9c0e);}[_0x42caba(0x275)](_0x66947f,_0x4d2246){const _0x500cc4=_0x42caba,_0x54cf3c=typeof window>'u'?new URL(_0x66947f):new URL(_0x66947f,window['location'][_0x500cc4(0x34f)]);_0x54cf3c[_0x500cc4(0x2f8)][_0x500cc4(0x2ff)](_0x500cc4(0x1ec),_0x4d2246);const _0x515721=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x500cc4(0x171)][_0x500cc4(0x397)]);return _0x515721[_0x500cc4(0x394)](_0x500cc4(0x294))&&_0x54cf3c[_0x500cc4(0x2f8)][_0x500cc4(0x2ff)]('runId',_0x515721[_0x500cc4(0x394)](_0x500cc4(0x294))),_0x54cf3c[_0x500cc4(0x2df)]();}async['_getSessionTicket'](){const _0x2a24d3=_0x42caba;var _0x421087,_0x45d5c5,_0x204e88;const _0x3818a3=this['_configService'][_0x2a24d3(0x15c)](_0x40f345['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x53f23a=(_0x421087=_0x3818a3==null?void 0x0:_0x3818a3['wsSessionTicketUrl'])!=null?_0x421087:_0x40f345[_0x2a24d3(0x203)];return(_0x204e88=(_0x45d5c5=(await this['_httpService'][_0x2a24d3(0x394)](_0x53f23a,{'headers':{'Content-Type':_0x2a24d3(0x3d4)}}))['body'])==null?void 0x0:_0x45d5c5['ticket'])!=null?_0x204e88:'';}},_0x23f96a[_0x42caba(0x10c)]=_0x40a8c8([_0x598f33(0x0,_0x99a487['Inject'](_0x99a487[_0x42caba(0x2be)])),_0x598f33(0x1,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb[_0x42caba(0x2c3)])),_0x598f33(0x2,_0x99a487['IConfigService']),_0x598f33(0x3,_0x99a487[_0x42caba(0x2e3)]),_0x598f33(0x4,_0x1d0b4f[_0x42caba(0x3e8)])],_0x23f96a[_0x42caba(0x10c)]);var _0x312934=Object[_0x42caba(0x27d)],_0x56a8ee=(_0x3c57b2,_0x58575d,_0x29352f,_0x5c0889)=>{const _0x57ea78=_0x42caba;for(var _0x257219=_0x5c0889>0x1?void 0x0:_0x5c0889?_0x312934(_0x58575d,_0x29352f):_0x58575d,_0x14d881=_0x3c57b2[_0x57ea78(0x1f4)]-0x1,_0x219061;_0x14d881>=0x0;_0x14d881--)(_0x219061=_0x3c57b2[_0x14d881])&&(_0x257219=_0x219061(_0x257219)||_0x257219);return _0x257219;},_0x2d88ed=(_0x3d2d15,_0x5a56e4)=>(_0x3260de,_0xa7e4b)=>_0x5a56e4(_0x3260de,_0xa7e4b,_0x3d2d15);_0x23f96a[_0x42caba(0x10d)]=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x30a6c1,_0x4993b9,_0x521119){const _0x140bcb=_0x42caba;super(),this[_0x140bcb(0x240)]=_0x30a6c1,this[_0x140bcb(0x3a9)]=_0x4993b9,this[_0x140bcb(0x364)]=_0x521119;}async['runOnServer'](_0x4250ea,_0xe223fb,_0x34eec7,..._0x3d1d74){const _0x4f6f56=_0x42caba;var _0x3aa21c,_0x3ab2bf,_0x21c597,_0x3387c9;const _0x4b4c3c=this[_0x4f6f56(0x240)][_0x4f6f56(0x137)]();if(!_0x4b4c3c)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4d6076=((_0x3aa21c=this['_configService'][_0x4f6f56(0x15c)](_0x40f345['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3aa21c:_0x40f345[_0x4f6f56(0x262)])+'/'+_0x4250ea+'/run/'+_0xe223fb,_0x2a2c27=new URL(window['location'][_0x4f6f56(0x21e)]),_0x5d72ef={'scriptId':_0x4250ea,'runId':(_0x3ab2bf=_0x2a2c27['searchParams']['get']('runId'))!=null?_0x3ab2bf:'','function':_0xe223fb,'unitId':_0x4b4c3c[_0x4f6f56(0x359)](),'argsOfFunction':JSON[_0x4f6f56(0x24f)](_0x3d1d74),'invokeId':(_0x21c597=_0x34eec7[_0x4f6f56(0x11a)])!=null?_0x21c597:'','executionId':(_0x3387c9=_0x34eec7[_0x4f6f56(0x119)])!=null?_0x3387c9:''};try{const _0x30e372=await this[_0x4f6f56(0x3a9)][_0x4f6f56(0x39c)](_0x4d6076,{'body':_0x5d72ef});return _0x30e372[_0x4f6f56(0x1cb)][_0x4f6f56(0x233)]&&_0x30e372[_0x4f6f56(0x1cb)][_0x4f6f56(0x233)][_0x4f6f56(0x34b)]!==_0x34d078['OK']?_0x4f6f56(0x2e9):_0x30e372[_0x4f6f56(0x1cb)][_0x4f6f56(0x14c)];}catch{return _0x4f6f56(0x2e9);}}},_0x23f96a[_0x42caba(0x10d)]=_0x56a8ee([_0x2d88ed(0x0,_0x99a487[_0x42caba(0x14f)]),_0x2d88ed(0x1,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb['HTTPService'])),_0x2d88ed(0x2,_0x99a487[_0x42caba(0x20d)])],_0x23f96a[_0x42caba(0x10d)]);const _0x56d46a=0x7530,_0x18731e=_0x42caba(0x247);class _0xfe5c1d extends _0x99a487[_0x42caba(0x238)]{constructor(){const _0x5282b6=_0x42caba;super(),_0x450946(this,_0x5282b6(0x120),_0x99a487[_0x5282b6(0x10b)]()),_0x450946(this,'_selfUnitIDs',new Set()),_0x450946(this,_0x5282b6(0x1a3),new Map()),_0x450946(this,_0x5282b6(0x156),null),_0x450946(this,_0x5282b6(0x20b),new Map()),_0x450946(this,'_unitStatus',new Map()),this[_0x5282b6(0x273)]();}['dispose'](){const _0x3ba2f3=_0x42caba;super['dispose'](),this[_0x3ba2f3(0x20b)][_0x3ba2f3(0x2e5)]((_0x30d7f7,_0x169363)=>this['_removeClearOtherTimer'](_0x169363)),this[_0x3ba2f3(0x156)]&&window[_0x3ba2f3(0x243)](this[_0x3ba2f3(0x156)]);}['getUnitStatus$'](_0x1054f7){const _0x5ef5cc=_0x42caba;return this['_ensureSubject'](_0x1054f7)[_0x5ef5cc(0x1cd)](_0xf18ada[_0x5ef5cc(0x306)]());}[_0x42caba(0x1eb)](_0x52ba88){const _0x44d5c3=_0x42caba;this['_selfUnitIDs'][_0x44d5c3(0x21c)]===0x0&&this[_0x44d5c3(0x356)](),this['_selfUnitIDs']['add'](_0x52ba88),this['_send']({'type':0x0,'memberID':this[_0x44d5c3(0x120)],'unitIDs':[_0x52ba88],'isForwarded':!0x1});}[_0x42caba(0x3da)](_0x50ef18){const _0x3c5f1c=_0x42caba;this[_0x3c5f1c(0x2b5)][_0x3c5f1c(0x192)](_0x50ef18),this[_0x3c5f1c(0x2b5)][_0x3c5f1c(0x21c)]===0x0&&this[_0x3c5f1c(0x156)]&&window[_0x3c5f1c(0x243)](this[_0x3c5f1c(0x156)]);}['_init'](){const _0x5bd92d=_0x42caba;this[_0x5bd92d(0x170)](_0x99a487['toDisposable'](_0xf18ada[_0x5bd92d(0x28e)](window,_0x5bd92d(0x11e))['subscribe'](_0x215885=>{const _0x4902f9=_0x5bd92d;if(_0x215885[_0x4902f9(0x382)]!==_0x18731e||!_0x215885[_0x4902f9(0x1e3)])return;const _0x5d0b39=JSON['parse'](_0x215885['newValue']);this[_0x4902f9(0x1dc)](_0x5d0b39);}))),window[_0x5bd92d(0x2dc)](_0x5bd92d(0x3c4),()=>this[_0x5bd92d(0x150)]({'type':0x1,'memberID':this[_0x5bd92d(0x120)],'unitIDs':Array[_0x5bd92d(0x283)](this[_0x5bd92d(0x2b5)])}));}[_0x42caba(0x1dc)](_0x1d9f1c){const _0x8d16ba=_0x42caba;switch(_0x1d9f1c[_0x8d16ba(0x2d7)]){case 0x0:this[_0x8d16ba(0x1e2)](_0x1d9f1c);break;case 0x1:this[_0x8d16ba(0x16c)](_0x1d9f1c);break;case 0x2:this[_0x8d16ba(0x36c)](_0x1d9f1c);break;}}[_0x42caba(0x1e2)](_0xbd3658){const _0x3224d1=_0x42caba,{unitIDs:_0x74b785,memberID:_0x5f1205,isForwarded:_0x2fcb18}=_0xbd3658;_0x74b785['forEach'](_0x5bc923=>{const _0x1b982f=_0x5833;if(!_0x2fcb18&&this[_0x1b982f(0x1a3)][_0x1b982f(0x185)](_0x5bc923)&&this[_0x1b982f(0x13e)](_0x5bc923)[_0x1b982f(0x1ba)](_0x40f345[_0x1b982f(0x363)][_0x1b982f(0x127)]),!this[_0x1b982f(0x1a3)][_0x1b982f(0x185)](_0x5bc923)||!this[_0x1b982f(0x1a3)]['get'](_0x5bc923)[_0x1b982f(0x185)](_0x5f1205)){const _0x3d7841=this['_unitOnClients'][_0x1b982f(0x394)](_0x5bc923)||new Set();_0x3d7841[_0x1b982f(0x1df)](_0x5f1205),this[_0x1b982f(0x1a3)][_0x1b982f(0x2ff)](_0x5bc923,_0x3d7841),this[_0x1b982f(0x251)](_0x5f1205);}}),_0x2fcb18||this[_0x3224d1(0x150)]({'type':0x0,'memberID':this[_0x3224d1(0x120)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x42caba(0x251)](_0x55540c){const _0x3c5264=_0x42caba;this['_removeClearOtherTimer'](_0x55540c);const _0x1975d1=window['setTimeout'](()=>{const _0x2bf54d=_0x5833;this[_0x2bf54d(0x1a3)][_0x2bf54d(0x2e5)](_0x5a0a34=>{_0x5a0a34['delete'](_0x55540c);});},_0x56d46a*0x2);this['_clearOtherTimers'][_0x3c5264(0x2ff)](_0x55540c,_0x1975d1);}[_0x42caba(0x136)](_0x114ccb){const _0x301eac=_0x42caba;if(this[_0x301eac(0x20b)][_0x301eac(0x185)](_0x114ccb)){const _0x100938=this[_0x301eac(0x20b)][_0x301eac(0x394)](_0x114ccb);_0x100938&&window['clearTimeout'](_0x100938),this[_0x301eac(0x20b)][_0x301eac(0x2ff)](_0x114ccb,null);}}['_handleLeaveEvent'](_0x43918d){const _0xc41147=_0x42caba,{memberID:_0x356ca0,unitIDs:_0x4117ec}=_0x43918d;_0x4117ec['forEach'](_0x5a9e7d=>{const _0x1814c6=_0x5833;var _0x446dfc;const _0x4c54ce=this[_0x1814c6(0x1a3)]['get'](_0x5a9e7d);_0x4c54ce&&(_0x4c54ce[_0x1814c6(0x192)](_0x356ca0),(_0x446dfc=this[_0x1814c6(0x13e)](_0x5a9e7d))==null||_0x446dfc[_0x1814c6(0x1ba)](_0x4c54ce[_0x1814c6(0x21c)]===0x0?_0x40f345[_0x1814c6(0x363)][_0x1814c6(0x2c8)]:_0x40f345['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0xc41147(0x136)](_0x356ca0);}[_0x42caba(0x36c)](_0x2cfa2b){const _0x255122=_0x42caba;this[_0x255122(0x251)](_0x2cfa2b[_0x255122(0x3c0)]);}[_0x42caba(0x150)](_0x47e4ee){const _0x3874c8=_0x42caba;localStorage[_0x3874c8(0x2fc)](_0x18731e,JSON[_0x3874c8(0x24f)](_0x47e4ee));}[_0x42caba(0x356)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x4f3ed4=_0x5833;this[_0x4f3ed4(0x150)]({'type':0x2,'memberID':this[_0x4f3ed4(0x120)]});},_0x56d46a);}[_0x42caba(0x13e)](_0x39c735){const _0xd8c758=_0x42caba;return this[_0xd8c758(0x3cd)][_0xd8c758(0x185)](_0x39c735)||this[_0xd8c758(0x3cd)][_0xd8c758(0x2ff)](_0x39c735,new _0xf18ada[(_0xd8c758(0x1c2))](_0x40f345[_0xd8c758(0x363)][_0xd8c758(0x2c8)])),this[_0xd8c758(0x3cd)][_0xd8c758(0x394)](_0x39c735);}}_0x23f96a[_0x42caba(0x264)]=_0x2eaaa6,_0x23f96a['SheetCollabCursorShape']=_0x232e7e,_0x23f96a[_0x42caba(0x2ce)]=_0xfe5c1d,_0x23f96a[_0x42caba(0x2cb)]=_0x36a969,Object[_0x42caba(0x321)](_0x23f96a,Symbol[_0x42caba(0x231)],{'value':_0x42caba(0x1f6)});}));function _0x520a(){const _0x285a33=['saveImage','ENTITLE_INVALID_COUPON_CODE','now','UNDEFINED','_docTransformIMECacheService','type','InsertRowCommandId','VIEW_MAIN','ILocalCacheService','createIdentifier','addEventListener','jsxs','setTimeout','toString','_checkAndWaitForCalculationPermission','RichTextEditingMutation','registerDependencies','ILogService','OTHER_CLIENT_EDITING','forEach','entityInit$','_setupBeforeClosingHandler','LOGIN_FAILED','Failed','_imageIoService','findNodePositionByCharIndex','YUUMI_ALL_TABLES_IS_INVALID','getUnit','_initCommandExecutedListener','@univerjs/docs','includes','arc','ENTITLE_CHAT_LIMIT_EXCEED','CollaborationEvent','getRenderById','limitInfo','PAYMENT_CHANNEL_NOT_SUPPORT','startFormulaLimitUrl','searchParams','UNIVER_SHEET','_saveCache','colorChannel1','setItem','Optional','lineno','set','enableLocalCache','COMPLETION_FINISHED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Tools','LICENSE_MAX_UNITS_EXCEEDED','getVpScrollXYInfoByPosToVp','distinctUntilChanged','string','contains','replaceDocRanges','_startDocCollabCursor','_colorIndex','currentTheme$','throttleTime','exports','getActiveRange','dispose','UniverDocsUi','_taskIds','APPLY_PERMISSION_DENIED','Warning','_saveTaskMap','clearTimeout','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setShapeProps','height','Vector2','_collaborationSessionService','mask','stack','_scene','1em','MoveRangeCommandId','defineProperty','DisposableCollection','@univerjs/sheets-ui','LICENSE_IMPORT_SIZE_EXCEEDED','_toggleOffline','UniverProCollaborationClientUi','EMAIL_VERIFY_CODE_MISMATCH','_getMergeRange','getViewport','USER_NOT_INVITED_CODE','_docClipboardService','_monkeyPatchLogService','MemberService','_cursorInfo$','_cursors','m1Prime','unhandledrejection','getCurrentSelections','handleInsertCol','requireSession','transformIMECache','formula.calculation.started','handleIRemoveCol','getMember','IBeforeCloseService','LOCAL_CACHE_INTERVAL','_render','backgroundColor','some','catch','SetWorksheetActivateCommand','MOBILE_VERIFY_CODE_MISMATCH','_collabCursorController','getUndoRedoMutationParamsCache','data','onMouseMove','_getSheetObject','_getAnchorBounding','ThemeService','removeParam','_updateSubUnitFromURLParams','UniverUi','code','currentColor','collabStatus.notCollab','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','origin','TOO_MANY_REQUESTS','rgba(255,\x20255,\x20255,\x200.01)','getLocalCacheKey','source','_colorAssignService','Loading','_scheduleHeartbeat','on-line-icon_clip0_910_349','ENTITLE_NEED_BILLING_ADDRESS','getUnitId','_disabled','switchMap','DocSelectionManagerService','LocaleService','m2Prime','_setupSubUnitSync','_eventUnsubscribe','_messageService','_collaborationController','UnitStatus','_configService','defs','CONNECTOR_DATA_TOO_LARGE','ENSURE_SNAPSHOT_EXECUTION','_context','min','ENTITLE_REPORT_LIMIT_EXCEED','handleInsertRangeMoveRight','_handleHeartbeatEvent','MessageType','text','replaceState','_drawRectRange','join','object','red.300','rxjs','AWAITING','YUUMI_UNABLE_LOAD_URL','SNAPSHOT_HAS_BEEN_REMOVED','_hovered','_revisionService','RemoveRowCommandId','ENTITLE_CAN_NOT_BUY_LOWER_OTP','USER_NOT_FOUND','bind','getColorFromTheme','getParam','find','SUCCESS','key','_initUserListener','black','deepClone','LICENSE_EXPORT_SIZE_EXCEEDED','_onRefRangeChange','selections','getSkeleton','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_entities','evenodd','saveOfflineData','_anchorDot','getformulaLimitStatusUrl','_commandService','formula.calculation.unable','unitID','unit','get','YUUMI_NO_CUBOID_FOR_QUESTION','clipPath','search','_handleHover','engine','_roomMembers$','collabStatus.syncing','post','startColumn','deserializeRangeWithSheet','getCurrentRevOfUnit','triggerDblclick','DocIMEInputManagerService','params','univer-flex\x20univer-items-center','measureText','onPointerLeave$','UniverSheets','getCurrent','message','_httpService','_clearPolling','name','_uploadLog','ONLINE','ALREADY_EXISTS','hovered','getColor','CollaborationSessionService','_injector','react/jsx-runtime','clsx','combineLatest','SOCKET_FAILED','InsertRangeMoveRightCommandId','_initResize','ENTITLE_COUPON_USED_UP','collabStatus.fetchMiss','Subject','_initDependencies','_initCommandInterceptor','url(#$1','_cursor','memberID','collab-rect-range-','_collabSessionService','_range','unload','_currentUsage','startsWith','OFFLINE','[Window\x20Error]:\x20','_transformUndoRedoStack','_memberID','trim','RECT','_unitStatus','0\x200\x2016\x2016','CollaborationStatus','toRgbString','UniverIcon','LOGIN_TOKEN_PROCESSING_FAILED','REDEMPTION_CODE_NOT_STARTED','application/json','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_shapes','IMessageService','APPLY_DUPLICATED','ENTITLE_INSUFFICIENT_QUOTA','disposeUnit','_collaborationUIEventService','session.collaboration-timeout','getAncestorScale','transformRemoteChangeset','url(#off-line-icon_clip0_910_343)','_setFormulaLimitStatus','addObject','registerBeforeClose','/universer-api/license/formula/limit/done','ITransformService','_status$','@univerjs/design','RevisionService','ISnapshotServerService','INVALID_INVITE_CODE','_onCursorUpdate','@univerjs/sheets','_drawAnchor','operators','subUnitId','mapTo','ranges','amd','_notificationService','_removeCollabCursors','column','generateRandomId','BrowserCollaborationSocketService','RemoteUniscriptService','_dataLoaderService','sheetID','getItem','_pollingInterval','_labelPosition','isTransformMutationFailure','redoState','all','createSocket','YUUMI_CONNECTOR_URL_NOT_FOUND','REDEMPTION_INVALID_CODE','executionId','invokeId','START_CALCULATION','_beforeCloseService','YUUMI_RATE_OVER_LIMIT','storage','/universer-api/frontend/logs','_id','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ENTITLE_USE_COUPON_NOT_1ST_TRADE','runRefRangeMutations','_scheduleSaving','DeleteRangeMoveUpCommandId','row','OTHER_CLIENTS_EDITING','IRenderManagerService','session.connection-failed','_docSkeleton','uni.network.url-service','syncEditingCollabCursor','@univerjs/drawing','getCellPositionByOffset','_draw','_showGuardMessage','children','univerjs-icon\x20univerjs-icon-','_startCalculationLimit','closePath','@univerjs-pro/collaboration-client','_removeClearOtherTimer','getFocusedUnit','addObjects','map','svg','_initEvent','saveTaskMap','formula.calculation.waiting','_ensureSubject','displayName','getRelativeToViewportCoord','takeUntil','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','M0\x200H16V16H0z','defIds','423426QEFomh','split','random','OffLineIcon','PY_RUNTIME_SCRIPT_ERROR','endColumn','none','result','current','_name','IUniverInstanceService','_send','dirtyRanges','then','_transformPreviousActiveRange','asObservable','getUniverSheetInstance','_heartbeatTimer','on-line-icon','xlink:href','FormulaExecutedStateType','UniverProCollaboration','onPointerEnter$','getConfig','_transformHistoryAndStateStack','IImageIoService','react','fillStyle','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_textBubble','getActiveSheet','touchDependencies','_initStatusComponent','event$','RefRangeService','collabStatus.synced','_session','setActiveRange','moveTo','_handleLeaveEvent','_renderManagerService','_refreshCollabCursors','IRemoteInstanceService','disposeWithMe','location','color','_entityInit$','http://www.w3.org/2000/svg','_document','show','SUBMIT_CHANGESET_TIMEOUT','RxDisposable','_checkCalculationAvailable','_transformService','_onCursorDelete','_drawTextRange','hide','6uNgZPL','permission.content','symbol','forwardRef','currentSkeleton$','save','BuiltInUIPart','has','39110RFTKaO','with','?taskId=','resize','ENTITLE_COUPON_EXPIRED','setConfig','disableLocalCache','_maxFormulaLimit','isActive','_syncEditingCollabCursorService','replace','handleDeleteRangeMoveUp','delete','UniverDrawing','debounceTime','INVALID_ARGUMENT','_lastPointer','releaseFormulaLimitUrl','jsx','getCollabCursors$','_sheetSkeletonManagerService','YUUMI_ASYNCIO_CANCELLED','_hasFormulaInDirtyRanges','_docStateChangeManagerService','APPLY_REJECT','UniverCollaborationClientUIPlugin','registerRenderModule','getCellMatrix','RegularPolygon','_unitOnClients','max','yellow.400','tag','getDocRanges','registerRefRange','removeEventListener','debounce','attrs','transformMutation','setAlpha','cursorInfo','isTransformMutationsWithChangesetSuccess','function','1354932IrJYFD','_getFormulaLimitStatus','maxFormulaLimit','SetTextSelectionsOperation','COLORS','_updateCollabCursors','_getScale','UniverInstanceType','_toggleOnline','next','fill','skeleton','registerComponent','JOIN_ROOM_FAILED','popstate','activeSheet$','TEXT_RANGE_LAYER_INDEX','BehaviorSubject','endRow','EffectRefRangId','assign','unitId','NodePositionConvertToRectRange','_docSkeletonManagerService','undoState','Shape','body','fillText','pipe','init','entries','parseInt','3539088APobCo','YUUMI_TABLE_NOT_FOUND_IN_UNIT','roomMembers','_hover','3014384PwylQJ','subscribeEvent','handleIRemoveRow','#FFF','0\x200\x2017\x2016','bottom','AUTHORIZE_CODE_ILLEGAL','_handleEvent','send','filter','add','lineTo','getTypeOfUnitDisposed$','_handleJoinEvent','newValue','SetFormulaCalculationStartMutation','enableFrontendLog','roomMembers$','addHandlerCallback','\x20at\x20','functionsExecutedState','stageInfo','editingUnit','sessionTicket','UniverDesign','_cachedData','dispose$','collaboration.closeRoom','eventID','_registerRenderDependencies','drawWith','length','univer-mr-2\x20univer-flex\x20univer-text-xl','Module','CollaborationController','_applyCommand','_hideTimer','CLOSE_ROOM','PERMISSION_DENIED','_collabCursorState$','78QGzujY','ERROR_AGAIN','LICENSE_DISTRO_REJECTED','INTERNAL_ERROR','socket$','_themeService','DEFAULT_WS_SESSION_TICKET_URL','debug','doc.mutation.rich-text-editing','status$','UPDATE_CURSOR','/universer-api/license/formula/limit/start','CHANGESET_REVISION_CONFILICT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_clearOtherTimers','CURRENT_STATUS_CANNOT_OPERATE','IConfigService','startRow','session.will-retry','/universer-api/license/formula/limit/status','_refRangeService','values','_localeService','width','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationDataLoaderController','_online','getMemberID','_docTransformStateCacheService','transformMutationsWithChangeset','DOC_RANGE_TYPE','size','@univerjs/engine-formula','href','div','Rect','top','subscribe','onPointerMove$','APPLY_REVISION_CONFILICT','pushState','mutations','_urlService','mergeOverrideWithDependencies','createElement','UNIVER_DOC','USER_IS_ANONYMOUS','handleMoveRange','UniverCollaborationClientPlugin','InsertRangeMoveDownCommandId','RemoveColCommandId','TEXT','toStringTag','UniverDocs','error','jiqing.500','FETCH_MISS','cursorInfo$','_cursorShapes','Disposable','REDEMPTION_USER_NOT_ELIGIBLE','_doCreateSocket','white','...','url(#on-line-icon_clip0_910_349)','override','INVITE_CODE_HAS_BEEN_UES','_instanceService','_assignedColors','push','clearInterval','loadUnit','_anchor','useRef','ACTIVE_UNIT_EVENT_CHANNEL','textRanges','REDEMPTION_CODE_INACTIVE','CONFLICT','off-line-icon_clip0_910_343','collab-text-anchor-','purple.300','_releaseCalculationLimit','stringify','Workbook','_scheduleClearOtherTimer','IUIPartsService','_uiPartsService','DesktopCollaborationStatusDisplayController','restore','exhaustSavingTask','fillRule','sessionStatus$','INVITE_CODE_REQUIRED','getMergeData','range','stage','onTransformChange$','_initStatusListener','history','Plugin','LOCAL_CACHE_INTERVAL_KEY','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','486816AekYcv','IURLService','Tooltip','UniverProCollaborationClient','_localStorageService','UniverSheetsUi','loadOfflineData','subunit','FormulaExecuteStageType','reason','getSheetObject','[Unhandled\x20Rejection]:\x20','YUUMI_AI_RUN_FAILED','FromArray','getStateCache','UNAUTHENTICATED','_init','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_createSocketURL','SHEET_VIEWPORT_KEY','ICommandService','21695bCymDW','getValue','ColorKit','setParam','_logService','getOwnPropertyDescriptor','_lastResponseTimestamp','selection','createInstance','round','getCoordByCell','from','WebSocketService','9VlAopx','MOBILE_HAS_BEEN_BOUND','getSheetBySheetId','useObservable','REDEMPTION_USER_REDEEM_TIMES_EXCEED','HEADER_MENU','USERS_LEAVE','merge','executeCommand','fromEvent','_config','_updateLocalCursor','CanceledError','isArray','NOT_COLLAB','runId','transformSelections','_backgroundColor','CollaborationSocketService','DATA_SOURCE_TOO_LARGE','transformByState','_initUnhandledRejectionListener','_getSessionTicket','getCollabEntity$','currentUsage','UniverEngineFormula','onCommandExecuted','_startSheetCollabCursor','idSuffix','whenReady','updateOfflineData','collabStatus.offline','UniverCore','DocStateChangeManagerService','isEditing','collabStatus.conflict','path','beforeCommandExecuted','focused$','Inject','isFormulaId','transformStateCache','assignAColorForMemberID','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','_color','220dJKEmP','_getSaveTimeout','flatMap','_selfUnitIDs','getSheetId','UniverEngineRender','[CollaborationDataLoaderController]','React','_initEntityListener','INVITE_CODE_ALREADY_BOUND','_updateURLWithCurrentState','SNAPSHOT_INVALID_SNAPSHOT','Injector','useDependency','_univerInstanceService','CollaborationUIEventId','SessionStatus','HTTPService','DocSkeletonManagerService','labelPosition','Error','_memberService','NO_OTHER_CLIENTS_EDITING','INotificationService','DataLoaderService','WebURLService','complete','addClipboardHook','WebBrowserSingleActiveUnitService','unshift','collabCursorState$','[LogService\x20Error]:\x20'];_0x520a=function(){return _0x285a33;};return _0x520a();}
1
+ function _0x1d45(_0x11637e,_0x377eb2){_0x11637e=_0x11637e-0x11b;const _0x5cb384=_0x5cb3();let _0x1d453f=_0x5cb384[_0x11637e];return _0x1d453f;}function _0x5cb3(){const _0x1819ef=['addEventListener','search','override','_textBubble','getRenderById','touchDependencies','column','with','collaboration.single-unit.warning','SOCKET_FAILED_RETRY','unload','toStringTag','getCellPositionByOffset','SOCKET_FAILED','find','YUUMI_ASYNCIO_CANCELLED','toString','dirtyRanges','_localeService','exhaustSavingTask','data','complete','runId','eventID','_startSheetCollabCursor','NO_OTHER_CLIENTS_EDITING','COLORS','add','_docStateChangeManagerService','black','findNodePositionByCharIndex','IUniverInstanceService','_applyCommand','runOnServer','_setupSubUnitSync','newValue','CommandType','_getAnchorBounding','DocCollaborationEntity','_beforeCloseService','CollaborationDataLoaderController','dispose','_render','IDocClipboardService','delete','connectInjector','unsubscribe','status$','code','CanceledError','handleDeleteRangeMoveLeft','REDEMPTION_CODE_NOT_STARTED','LICENSE_DISTRO_REJECTED','AWAITING','push','_docTransformSelectionsService','DeleteRangeMoveLeftCommandId','distinctUntilChanged','LICENSE_EXPORT_SIZE_EXCEEDED','_drawTextRange','56qFzhzC','APPLY_REVISION_CONFILICT','RxDisposable','_unitStatus','_themeService','REDEMPTION_INVALID_CODE','setInterval','_startCalculationLimit','getformulaLimitStatusUrl','_collaborationController','WebSocketService','EffectRefRangId','getActiveSheet','LocaleService','APPLY_DUPLICATED','params','blue.400','_docTransformStateCacheService','UniverNetwork','@univerjs/engine-formula','searchParams','_backgroundColor','roomMembers','CollaborationStatus','_notificationService','clearTimeout','registerDependencies','Optional','UniverDocs','startFormulaLimitUrl','_commandService','_collabSessionService','storage','unhandledrejection','flatMap','_showGuardMessage','path','setUndoRedoMutationParamsCache','save','history','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','contains','_scheduleClearOtherTimer','yellow.400','loadOfflineData','getParam','_collaborationUIEventService','onRendered','238QVrFJJ','ALREADY_EXISTS','send','Disposable','textRanges','getOwnPropertyDescriptor','TEXT','cursorInfo','split','set','_docTransformIMECacheService','MessageType','IImageIoService','[LogService\x20Error]:\x20','_refreshCollabCursors','YUUMI_URL_COL_OUT_OF_RANGE','clipPath','loadUnit','_collabCursorController','react/jsx-runtime','ENSURE_SNAPSHOT_EXECUTION','InsertRangeMoveDownCommandId','Injector','MoveRangeCommandId','SetFormulaCalculationNotificationMutation','SetDocZoomRatioOperation','isTransformMutationsWithChangesetSuccess','_selfUnitIDs','get','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getMemberID','_monkeyPatchLogService','_colorIndex','removeParam','_revisionService','transformStateCache','event$','has','_cursor','tag','currentColor','defIds','Workbook','setAlpha','YUUMI_AI_RUN_FAILED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ENTITLE_DUP_SUBSCRIPTION','registerRenderModule','_toggleOnline','getSheetId','operators','_handleEvent','_session','ticket','Warning','/universer-api/license/formula/limit/start','univer-flex\x20univer-items-center','colorChannel1','UniverProCollaboration','MemberService','_initStatusComponent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','PY_RUNTIME_SCRIPT_ERROR','show','_hideTimer','handleDeleteRangeMoveUp','REDEMPTION_CODE_INACTIVE','string','COMPLETION_FINISHED','REDEMPTION_USER_NOT_ELIGIBLE','ISocketService','assignAColorForMemberID','handleInsertCol','hide','_scheduleHeartbeat','_renderManagerService','filter','ONLINE','_labelPosition','throttleTime','onCommandExecuted','NodePositionConvertToRectRange','useRef','DocIMEInputManagerService','@univerjs/docs-ui','18RdRSoS','NodePositionConvertToCursor','IRenderManagerService','idSuffix','28154nRUOPW','_roomMembers$','fromEventSubject','HTTPService','UNIVER_DOC','Error','function','substring','Failed','replaceState','RefRangeService','_hovered','min','CollaborationSessionService','@univerjs/network','SNAPSHOT_INVALID_SNAPSHOT','getUnit','UniverSheetsUi','_ensureSubject','0\x200\x2016\x2016','height','DocStateChangeManagerService','name','collab-rect-range-','wsSessionTicketUrl','reconnect','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','defs','Rect','currentUsage','WebBrowserSingleActiveUnitService','OFFLINE','_lastResponseTimestamp','Module','closePath','ACTIVE_UNIT_EVENT_CHANNEL','...','_hover','lineTo','triggerDblclick','_initUserListener','_clearOtherTimers','_color','_initEvent','1061700dpMJfN','UniverProCollaborationClient','OTHER_CLIENTS_EDITING','getRangePointData','collaboration-client-ui.config','_initCommandInterceptor','UNRECOGNIZED','_uploadLog','collabStatus.synced','_transformService','getTypeOfUnitAdded$','getRelativeToViewportCoord','_eventUnsubscribe','_pollingInterval','Tools','endColumn','off-line-icon_clip0_910_343','currentTheme$','subscribeEvent','ICommandService','_univerInstanceService','session.connection-failed','CollaborationEvent','maxFormulaLimit','11133ZzQult','startColumn','_getSessionTicket','NOT_FOUND','YUUMI_UNABLE_LOAD_URL','UniverEngineFormula','removeEventListener','handleInsertRangeMoveRight','shareReplay','getColorFromTheme','handleInsertRangeMoveDown','collab-text-range-','_status$','div','_cursors','LICENSE_MAX_UNITS_EXCEEDED','_getScale','cursorInfo$','onLocalMutation','_scheduleSaving','combineLatest','font','color','_config','_injector','clearInterval','shift','setTimeout','WECHAT_HAS_BEEN_BOUND','SessionStatus','transformSelections','collabStatus.fetchMiss','children','selections','getSheetBySheetId','_onRefRangeChange','LICENSE_IMPORT_SIZE_EXCEEDED','RegularPolygon','_syncEditingCollabCursorService','5824FsjjHt','startRow','then','rxjs/operators','parse','collabStatus.notCollab','UniverEngineRender','ENTITLE_INVALID_COUPON_CODE','_initResize','getDocRanges','measureText','_removeCollabCursors','_onCursorUpdate','APPLY_NON_SEQUENTIAL_REVISION','_disabled','createElement','handleIRemoveRow','doc.mutation.rich-text-editing','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','svg','_clearPolling','Unknown\x20user','LOGIN_TOKEN_PROCESSING_FAILED','releaseFormulaLimitUrl','random','functionsExecutedState','xlink:href','_messageService','includes','text','_getSaveTimeout','_cachedData','whenReady','REDEMPTION_CODE_HAS_BEEN_CREATED','_checkAndWaitForCalculationPermission','RevisionService','error','syncEditingCollabCursor','APPLY_PERMISSION_DENIED','_assignedColors','CollaborationUIEventId','isFormulaId','TOO_MANY_REQUESTS','all','subunit','roomMembers$','SheetCollabCursorShape','isEditing','restore','setConfig','_collabCursorState$','_anchor','jiqing.500','popstate','http://www.w3.org/2000/svg','?taskId=','_dataLoaderService','endRow','_docSkeletonManagerService','fillText','_initEntityListener','ENTITLE_REPORT_LIMIT_EXCEED','Loading','ENTITLE_COUPON_USED_UP','15504aogTpV','takeUntil','toDisposable','IBeforeCloseService','fromEvent','10xFXAvl','@univerjs-pro/collaboration-client','EMAIL_HAS_BEEN_BOUND','402608sypJyG','_updateURLWithCurrentState','mutations','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_memberService','INTERNAL_ERROR','ENTITLE_NEED_BILLING_ADDRESS','round','_docSkeleton','entries','getUnitId','_entityInit$','isFormulaString','Success','_drawAnchor','INVALID_ARGUMENT','collabStatus.conflict','UniverInstanceType','disposeWithMe','width','React','IMessageService','_lastPointer','IConfigService','UPDATE_CURSOR','currentSkeleton$','top','permission.title','_currentUsage','getViewport','toRgbString','handleInsertRow','FormulaExecuteStageType','disableLocalCache','mask','bind','evenodd','DOC_RANGE_TYPE','_updateLocalCursor','PERMISSION_DENIED','selection','_docClipboardService','YUUMI_RATE_OVER_LIMIT','m2Prime','parseInt','filename','getTypeOfUnitDisposed$','_checkCalculationAvailable','none','generateRandomId','pushState','unitId','collabStatus.syncing','m1Prime','YUUMI_NO_CUBOID_FOR_QUESTION','transformMutation','mapTo','FromArray','editingUnit','Inject','isActive','deserializeRangeWithSheet','_initStatusListener','UnitStatus','ENTITLE_USE_COUPON_NOT_1ST_TRADE','LOCAL_CACHE_INTERVAL','map','_docSyncEditingCollabCursorService','_refRangeService','getUniverSheetInstance','_createSocketURL','white','_maxFormulaLimit','MOBILE_VERIFY_CODE_MISMATCH','message','unshift','@univerjs/design','onPointerEnter$','init','_heartbeatTimer','_initCommandExecutedListener','replaceDocRanges','clsx','_draw','PENDING','_getSheetObject','_colorAssignService','_configService','_transformUndoRedoStack','url(#$1','saveImage','assign','permission.content','subscribe','MUTATION','RemoteUniscriptService','getActiveRange','setActiveRange','transform','engine','DisposableCollection','entityInit$','session.will-retry','reason','debug','setParam','_scene','getItem','HEADER_MENU','UNAUTHENTICATED','AUTHORIZE_CODE_ILLEGAL','origin','next','fillRule','ILocalStorageService','DATA_SOURCE_TOO_LARGE','onPointerLeave$','INVALID_INVITE_CODE','getUnitStatus$','_urlService','_handleHover','_initUnhandledRejectionListener','_taskIds','join','result','fill','focused$','handleIRemoveCol','_anchorDot','ERROR_AGAIN','debounceTime','getConfig','sheetID','SetSelectionsOperation','stack','key','drawWith','range','USER_NOT_FOUND','INotificationService','deepClone','setShapeProps','UNDEFINED','off-line-icon','178iQICwl','_memberID','mergeOverrideWithDependencies','_releaseCalculationLimit','YUUMI_ALL_TABLES_IS_INVALID','UniverUi','getStateCache','INVITE_CODE_REQUIRED','BehaviorSubject','[Window\x20Error]:\x20','ILogService','/universer-api/license/formula/limit/done','use','_toggleOffline','getCollabCursors$','1em','INVITE_CODE_ALREADY_BOUND','arc','InsertRowCommandId','forwardRef','_collaborationSessionService','CHANGESET_REVISION_CONFILICT','_registerDependencies','_sheetSkeletonManagerService','createSocket','setItem','length','getCurrentSelections','univer-mr-2\x20univer-flex\x20univer-text-xl','_document','/run/','getValue','onStarting','values','subUnitId','_localStorageService','imageSourceType','@univerjs/sheets','purple.300','getFocusedUnit','trim','urlChange$','makeDirty','getMergeData','DesktopCollaborationStatusDisplayController','getAncestorScale','_unitOnClients','SNAPSHOT_HAS_BEEN_REMOVED','createIdentifier','USER_NOT_INVITED_CODE','UniverProCollaborationClientUi','_httpService','SUBMIT_CHANGESET_TIMEOUT','_localCacheService','getCollabEntity$','@univerjs-pro/collaboration','_initDependencies','_transformPreviousActiveRange','_initWindowErrorListener','defineProperty','_onCursorDelete','TEXT_RANGE_LAYER_INDEX','onMouseMove','RECT','startsWith','UniverDrawing','_online','@univerjs/ui','Shape','SetWorksheetActivateCommand','jsx','href','DocSelectionManagerService','_shapes','executeCommand','collab-text-anchor-','UniverCollaborationClientUIPlugin','ColorKit','_uiPartsService','univerjs-icon\x20univerjs-icon-','getColor','isArray','registerBeforeClose','moveTo','addObject','forEach','dispose$','_transformHistoryAndStateStack','UniverSheets','FETCH_MISS','DocSkeletonManagerService','_getFormulaLimitStatus','_removeClearOtherTimer','#FFF','Rectangle','getMember','labelPosition','bottom','START_CALCULATION','_updateSubUnitFromURLParams','attrs','SheetsSelectionsService','application/json','undoState','body','collabCursorState$','formula.calculation.waiting','source','APPLY_REJECT','resize','_name','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UniverCore','2414588knrCLg','YUUMI_CONNECTOR_URL_NOT_FOUND','JOIN_ROOM_FAILED','addObjects','pipe','formula.calculation.unable','10quGpZr','LOCAL_CACHE_INTERVAL_KEY','_updateCollabCursors','post','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','backgroundColor','now','OnLineIcon','_setFormulaLimitStatus','ENTITLE_CHAT_LIMIT_EXCEED','rxjs','_imageIoService','type','requireSession','_init','from','ThemeService','_range','saveTaskMap','max','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IURLService','EMAIL_VERIFY_CODE_MISMATCH','transformMutationsWithChangeset','_getMergeRange','limitInfo','OTHER_CLIENT_EDITING','debounce','runRefRangeMutations','asObservable','_context','_cursorInfo$','/universer-api/frontend/logs','stringify','IUIPartsService','WebURLService','size','updateOfflineData','fillStyle','redoState','_drawRectRange','collaboration.closeRoom','_startDocCollabCursor','BrowserCollaborationSocketService','location','getUndoRedoMutationParamsCache','SHEET_VIEWPORT_KEY','InsertRangeMoveRightCommandId','lineno','ILocalCacheService','YUUMI_SUBSCRIPTION_NOT_FOUND','_entities','ENTITLE_COUPON_EXPIRED','useDependency','Tooltip','_instanceService','unitID','_logService','getLocalCacheKey','CONFLICT','_doCreateSocket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CONNECTOR_DATA_TOO_LARGE','unit','enableLocalCache','sessionTicket','url(#off-line-icon_clip0_910_343)','_send','USER_IS_ANONYMOUS','CLOSE_ROOM','setStateCache','_id','useObservable','/universer-api/license/formula/limit/status','collaboration.offline-data-not-saved','row','transformIMECache','_saveCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Subject','LOGIN_FAILED','displayName','transformRemoteChangeset','MOBILE_HAS_BEEN_BOUND','sessionStatus$','_hasFormulaInDirtyRanges','stageInfo','actions','USERS_LEAVE','NOT_COLLAB','CollaborationController','getCurrent','_setupBeforeClosingHandler','_handleHeartbeatEvent','ranges','_handleJoinEvent','ITransformService','DataLoaderService','BuiltInUIPart','@univerjs/sheets-ui','sheetId','_cursorShapes','PAYMENT_CHANNEL_NOT_SUPPORT','invokeId','replace','getCellMatrix','DeleteRangeMoveUpCommandId','isTransformMutationFailure','createInstance','[CollaborationDataLoaderController]','_saveTaskMap','INVITE_CODE_HAS_BEEN_UES','UNIVER_SHEET','switchMap','_registerRenderDependencies','_handleLeaveEvent','CURRENT_STATUS_CANNOT_OPERATE'];_0x5cb3=function(){return _0x1819ef;};return _0x5cb3();}(function(_0x1439f9,_0x1accfe){const _0x503c1a=_0x1d45,_0x13df09=_0x1439f9();while(!![]){try{const _0x5af937=-parseInt(_0x503c1a(0x141))/0x1*(parseInt(_0x503c1a(0x299))/0x2)+-parseInt(_0x503c1a(0x31e))/0x3+parseInt(_0x503c1a(0x3a6))/0x4*(parseInt(_0x503c1a(0x3a3))/0x5)+parseInt(_0x503c1a(0x2ee))/0x6*(parseInt(_0x503c1a(0x2f2))/0x7)+parseInt(_0x503c1a(0x269))/0x8*(-parseInt(_0x503c1a(0x336))/0x9)+-parseInt(_0x503c1a(0x1b8))/0xa*(parseInt(_0x503c1a(0x1b2))/0xb)+parseInt(_0x503c1a(0x39e))/0xc*(parseInt(_0x503c1a(0x35d))/0xd);if(_0x5af937===_0x1accfe)break;else _0x13df09['push'](_0x13df09['shift']());}catch(_0x3db353){_0x13df09['push'](_0x13df09['shift']());}}}(_0x5cb3,0x2e209),function(_0xf4b53a,_0x26be29){const _0x1c4dc6=_0x1d45;typeof exports=='object'&&typeof module<'u'?_0x26be29(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==_0x1c4dc6(0x2f8)&&define['amd']?define(['exports',_0x1c4dc6(0x2ac),_0x1c4dc6(0x3a4),'@univerjs/core',_0x1c4dc6(0x184),'rxjs',_0x1c4dc6(0x3f2),'react','@univerjs/rpc',_0x1c4dc6(0x166),'@univerjs/engine-render',_0x1c4dc6(0x300),_0x1c4dc6(0x2ed),'@univerjs/drawing',_0x1c4dc6(0x178),'@univerjs/docs',_0x1c4dc6(0x27c),_0x1c4dc6(0x360),_0x1c4dc6(0x21b)],_0x26be29):(_0xf4b53a=typeof globalThis<'u'?globalThis:_0xf4b53a||self,_0x26be29(_0xf4b53a[_0x1c4dc6(0x173)]={},_0xf4b53a[_0x1c4dc6(0x3ba)],_0xf4b53a[_0x1c4dc6(0x31f)],_0xf4b53a[_0x1c4dc6(0x1b1)],_0xf4b53a[_0x1c4dc6(0x146)],_0xf4b53a[_0x1c4dc6(0x1c2)],_0xf4b53a['UniverDesign'],_0xf4b53a[_0x1c4dc6(0x3ba)],_0xf4b53a['UniverRpc'],_0xf4b53a[_0x1c4dc6(0x199)],_0xf4b53a[_0x1c4dc6(0x363)],_0xf4b53a[_0x1c4dc6(0x27b)],_0xf4b53a['UniverDocsUi'],_0xf4b53a[_0x1c4dc6(0x182)],_0xf4b53a[_0x1c4dc6(0x2d3)],_0xf4b53a[_0x1c4dc6(0x285)],_0xf4b53a[_0x1c4dc6(0x33b)],_0xf4b53a['rxjs'][_0x1c4dc6(0x2cb)],_0xf4b53a[_0x1c4dc6(0x303)]));}(this,function(_0x5cfa5d,_0x277483,_0x378bf4,_0x1ced2a,_0x19c552,_0x5d9504,_0x52c80f,_0x55c618,_0x519d5f,_0x4cc6da,_0x40ad79,_0x5d4294,_0x2366a5,_0x2a63ae,_0x28eb5b,_0x56412a,_0x900d4,_0x140ef8,_0x1f5a13){'use strict';const _0x5f4777=_0x1d45;var _0x320cb6=Object[_0x5f4777(0x17c)],_0x49dbc8=(_0x4a4bd3,_0x47ba8a,_0x344b48)=>_0x47ba8a in _0x4a4bd3?_0x320cb6(_0x4a4bd3,_0x47ba8a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x344b48}):_0x4a4bd3[_0x47ba8a]=_0x344b48,_0x13969d=(_0x374c45,_0x414052,_0x4ed5cc)=>_0x49dbc8(_0x374c45,typeof _0x414052!='symbol'?_0x414052+'':_0x414052,_0x4ed5cc);function _0x30e2c4({ref:_0x18b5a8,..._0x3e6c13}){const _0x4498ad=_0x5f4777,{icon:_0x1a8457,id:_0x2dad62,className:_0x49abcf,extend:_0x1e7e45,..._0x22e9d9}=_0x3e6c13,_0x1dfa99=(_0x4498ad(0x190)+_0x2dad62+'\x20'+(_0x49abcf||''))[_0x4498ad(0x169)](),_0x1af1cd=_0x55c618[_0x4498ad(0x2eb)]('_'+_0x454485());return _0x3e04a0(_0x1a8457,''+_0x2dad62,{'defIds':_0x1a8457[_0x4498ad(0x2c2)],'idSuffix':_0x1af1cd['current']},{'ref':_0x18b5a8,'className':_0x1dfa99,..._0x22e9d9},_0x1e7e45);}function _0x3e04a0(_0x14f2fc,_0x57e662,_0x10b224,_0x11f5a2,_0x26e97d){const _0x504c4e=_0x5f4777;return _0x55c618[_0x504c4e(0x36c)](_0x14f2fc[_0x504c4e(0x2c0)],{'key':_0x57e662,..._0x1e6d1a(_0x14f2fc,_0x10b224,_0x26e97d),..._0x11f5a2},(_0x1f87df(_0x14f2fc,_0x10b224)[_0x504c4e(0x356)]||[])[_0x504c4e(0x3e8)]((_0x3c2849,_0x4945d4)=>_0x3e04a0(_0x3c2849,_0x57e662+'-'+_0x14f2fc[_0x504c4e(0x2c0)]+'-'+_0x4945d4,_0x10b224,void 0x0,_0x26e97d)));}function _0x1e6d1a(_0x168f4d,_0x3955a2,_0x4628d5){const _0x2bcd01=_0x5f4777,_0x540f6f={..._0x168f4d[_0x2bcd01(0x1a5)]};_0x4628d5!=null&&_0x4628d5[_0x2bcd01(0x2d2)]&&_0x540f6f[_0x2bcd01(0x12e)]==='colorChannel1'&&(_0x540f6f[_0x2bcd01(0x12e)]=_0x4628d5[_0x2bcd01(0x2d2)]),_0x168f4d[_0x2bcd01(0x2c0)]===_0x2bcd01(0x3c8)&&_0x540f6f['id']&&(_0x540f6f['id']=_0x540f6f['id']+_0x3955a2['idSuffix']),Object[_0x2bcd01(0x3af)](_0x540f6f)[_0x2bcd01(0x196)](([_0x58945a,_0x3d245b])=>{const _0x120ee5=_0x2bcd01;_0x58945a===_0x120ee5(0x3c8)&&typeof _0x3d245b==_0x120ee5(0x2dc)&&(_0x540f6f[_0x58945a]=_0x3d245b[_0x120ee5(0x220)](/url\(#(.*)\)/,_0x120ee5(0x3ff)+_0x3955a2[_0x120ee5(0x2f1)]+')'));});const {defIds:_0x462bad}=_0x3955a2;return!_0x462bad||_0x462bad[_0x2bcd01(0x15b)]===0x0||(_0x168f4d[_0x2bcd01(0x2c0)]===_0x2bcd01(0x14d)&&_0x540f6f[_0x2bcd01(0x378)]&&(_0x540f6f['xlink:href']=_0x540f6f[_0x2bcd01(0x378)]+_0x3955a2[_0x2bcd01(0x2f1)]),Object[_0x2bcd01(0x3af)](_0x540f6f)['forEach'](([_0x5d69f0,_0x21426c])=>{const _0x769870=_0x2bcd01;typeof _0x21426c==_0x769870(0x2dc)&&(_0x540f6f[_0x5d69f0]=_0x21426c[_0x769870(0x220)](/url\(#(.*)\)/,_0x769870(0x3ff)+_0x3955a2[_0x769870(0x2f1)]+')'));})),_0x540f6f;}function _0x1f87df(_0x12a756,_0x1ce70d){const _0x4e337a=_0x5f4777;var _0x56d2cf;const {defIds:_0x3914df}=_0x1ce70d;return!_0x3914df||_0x3914df[_0x4e337a(0x15b)]===0x0?_0x12a756:_0x12a756[_0x4e337a(0x2c0)]===_0x4e337a(0x30d)&&((_0x56d2cf=_0x12a756[_0x4e337a(0x356)])!=null&&_0x56d2cf[_0x4e337a(0x15b)])?{..._0x12a756,'children':_0x12a756[_0x4e337a(0x356)][_0x4e337a(0x3e8)](_0x5a4643=>typeof _0x5a4643['attrs']['id']==_0x4e337a(0x2dc)&&_0x3914df&&_0x3914df[_0x4e337a(0x37a)](_0x5a4643[_0x4e337a(0x1a5)]['id'])?{..._0x5a4643,'attrs':{..._0x5a4643[_0x4e337a(0x1a5)],'id':_0x5a4643[_0x4e337a(0x1a5)]['id']+_0x1ce70d[_0x4e337a(0x2f1)]}}:_0x5a4643)}:_0x12a756;}function _0x454485(){const _0x19fb60=_0x5f4777;return Math[_0x19fb60(0x376)]()[_0x19fb60(0x23d)](0x24)[_0x19fb60(0x2f9)](0x2,0x8);}_0x30e2c4[_0x5f4777(0x209)]='UniverIcon';const _0x3a5d12={'tag':_0x5f4777(0x371),'attrs':{'xmlns':_0x5f4777(0x394),'fill':_0x5f4777(0x3d6),'viewBox':_0x5f4777(0x305),'width':_0x5f4777(0x150),'height':_0x5f4777(0x150)},'children':[{'tag':'g','attrs':{'clipPath':_0x5f4777(0x1fa)},'children':[{'tag':'path','attrs':{'stroke':_0x5f4777(0x2c1),'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':_0x5f4777(0x3ad),'strokeLinejoin':_0x5f4777(0x3ad),'strokeWidth':1.2}}]},{'tag':_0x5f4777(0x30d),'attrs':{},'children':[{'tag':_0x5f4777(0x2a9),'attrs':{'id':_0x5f4777(0x32e)},'children':[{'tag':'path','attrs':{'fill':_0x5f4777(0x3ed),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5f4777(0x32e)]},_0xa67cd8=_0x55c618['forwardRef'](function(_0x50fc1d,_0x4db69d){const _0x2145f0=_0x5f4777;return _0x55c618[_0x2145f0(0x36c)](_0x30e2c4,Object[_0x2145f0(0x401)]({},_0x50fc1d,{'id':_0x2145f0(0x140),'ref':_0x4db69d,'icon':_0x3a5d12}));});_0xa67cd8['displayName']='OffLineIcon';const _0x16cfb8={'tag':_0x5f4777(0x371),'attrs':{'xmlns':_0x5f4777(0x394),'fill':_0x5f4777(0x3d6),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x5f4777(0x150)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5f4777(0x28d),'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':_0x5f4777(0x3ad),'strokeLinejoin':_0x5f4777(0x3ad),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5f4777(0x2a9),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5f4777(0x28d),'attrs':{'fill':_0x5f4777(0x3ed),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x45a75b=_0x55c618[_0x5f4777(0x154)](function(_0x4c2d63,_0x37a6d9){const _0x3b1705=_0x5f4777;return _0x55c618[_0x3b1705(0x36c)](_0x30e2c4,Object[_0x3b1705(0x401)]({},_0x4c2d63,{'id':'on-line-icon','ref':_0x37a6d9,'icon':_0x16cfb8}));});_0x45a75b[_0x5f4777(0x209)]=_0x5f4777(0x1bf);function _0x1a32e6(_0x587911){const _0x482e9d=_0x5f4777;switch(_0x587911){case _0x378bf4[_0x482e9d(0x280)][_0x482e9d(0x311)]:return'collabStatus.offline';case _0x378bf4[_0x482e9d(0x280)][_0x482e9d(0x1f3)]:return _0x482e9d(0x3b6);case _0x378bf4[_0x482e9d(0x280)][_0x482e9d(0x19a)]:return _0x482e9d(0x355);case _0x378bf4['CollaborationStatus']['NOT_COLLAB']:return _0x482e9d(0x362);case _0x378bf4['CollaborationStatus'][_0x482e9d(0x262)]:case _0x378bf4[_0x482e9d(0x280)]['AWAITING_WITH_PENDING']:return _0x482e9d(0x3da);case _0x378bf4[_0x482e9d(0x280)]['SYNCED']:case _0x378bf4[_0x482e9d(0x280)][_0x482e9d(0x3fa)]:return _0x482e9d(0x326);}}function _0x3a4d0e(_0xd0dd17){const _0x4a06cc=_0x5f4777,{status$:_0x5b9027}=_0xd0dd17,_0x4927fb=_0x19c552[_0x4a06cc(0x200)](_0x5b9027,_0x378bf4['CollaborationStatus'][_0x4a06cc(0x211)]),_0x39f11b=_0x19c552[_0x4a06cc(0x1ed)](_0x1ced2a[_0x4a06cc(0x276)]),_0x4feb56=_0x19c552[_0x4a06cc(0x1ed)](_0x378bf4[_0x4a06cc(0x2ff)]),_0x2efd62=_0x4927fb!==_0x378bf4[_0x4a06cc(0x280)][_0x4a06cc(0x311)],_0x50dd33=_0x39f11b['t'](_0x1a32e6(_0x4927fb)),_0x52118c=_0x2efd62?_0x277483[_0x4a06cc(0x187)](_0x45a75b,{}):_0x277483[_0x4a06cc(0x187)](_0xa67cd8,{}),_0x421d31=_0x55c618['useCallback'](()=>{const _0x4dea6f=_0x4a06cc;_0x2efd62||_0x4feb56[_0x4dea6f(0x30b)]();},[_0x2efd62,_0x4feb56]);function _0x16a1c3(){const _0x55e39a=_0x4a06cc;return _0x277483['jsxs']('div',{'className':_0x55e39a(0x2d1),'onClick':_0x421d31,'children':[_0x277483[_0x55e39a(0x187)](_0x55e39a(0x343),{'className':_0x52c80f[_0x55e39a(0x3f8)](_0x55e39a(0x15d),{'univer-text-green-500':_0x2efd62,'univer-text-red-500':!_0x2efd62}),'children':_0x52118c}),_0x277483[_0x55e39a(0x187)](_0x55e39a(0x343),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x50dd33})]});}return _0x2efd62?_0x16a1c3():_0x277483['jsx'](_0x52c80f[_0x4a06cc(0x1ee)],{'title':_0x39f11b['t']('collab-client.tooltip.reconnect'),'children':_0x16a1c3()});}var _0x224221=Object[_0x5f4777(0x29e)],_0x1a6fa1=(_0x86c885,_0x3fe3e8,_0x27412a,_0x41ab4f)=>{const _0x541ec7=_0x5f4777;for(var _0x1f4292=_0x41ab4f>0x1?void 0x0:_0x41ab4f?_0x224221(_0x3fe3e8,_0x27412a):_0x3fe3e8,_0x6472fd=_0x86c885[_0x541ec7(0x15b)]-0x1,_0x2d1fad;_0x6472fd>=0x0;_0x6472fd--)(_0x2d1fad=_0x86c885[_0x6472fd])&&(_0x1f4292=_0x2d1fad(_0x1f4292)||_0x1f4292);return _0x1f4292;},_0x161d49=(_0x3fc2d9,_0x55e274)=>(_0x4eaa0e,_0x517a01)=>_0x55e274(_0x4eaa0e,_0x517a01,_0x3fc2d9);_0x5cfa5d[_0x5f4777(0x16d)]=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x4f971d,_0x324fde,_0x2b275c,_0x4df0cd){const _0xc481af=_0x5f4777;super(),_0x13969d(this,_0xc481af(0x342),new _0x5d9504[(_0xc481af(0x149))](_0x378bf4['CollaborationStatus']['NOT_COLLAB'])),(this['_univerInstanceService']=_0x4f971d,this['_injector']=_0x324fde,this[_0xc481af(0x272)]=_0x2b275c,this[_0xc481af(0x18f)]=_0x4df0cd,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x5f4777(0x3e4)](){const _0x37c4af=_0x5f4777;this[_0x37c4af(0x3b8)](this['_univerInstanceService'][_0x37c4af(0x12f)][_0x37c4af(0x1b6)](_0x5d9504[_0x37c4af(0x229)](()=>{const _0xc567d2=_0x37c4af,_0x362d77=this[_0xc567d2(0x332)][_0xc567d2(0x168)]();return _0x362d77?this['_collaborationController'][_0xc567d2(0x177)](_0x362d77[_0xc567d2(0x3b0)]()):_0x5d9504['of'](null);}),_0x5d9504[_0x37c4af(0x229)](_0x358169=>_0x358169?_0x358169[_0x37c4af(0x25c)]:_0x5d9504['of'](_0x378bf4[_0x37c4af(0x280)][_0x37c4af(0x211)])))[_0x37c4af(0x403)](_0x1aebac=>{const _0x2a8968=_0x37c4af;this[_0x2a8968(0x342)][_0x2a8968(0x121)](_0x1aebac);}));}[_0x5f4777(0x2d5)](){const _0x5651e0=_0x5f4777;this[_0x5651e0(0x3b8)](this['_uiPartsService']['registerComponent'](_0x19c552[_0x5651e0(0x21a)][_0x5651e0(0x11d)],()=>_0x19c552[_0x5651e0(0x25a)](_0x367ad({'status$':this['_status$'][_0x5651e0(0x1d5)]()}),this[_0x5651e0(0x34e)])));}},_0x5cfa5d[_0x5f4777(0x16d)]=_0x1a6fa1([_0x161d49(0x0,_0x1ced2a[_0x5f4777(0x24c)]),_0x161d49(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x161d49(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4[_0x5f4777(0x212)])),_0x161d49(0x3,_0x19c552[_0x5f4777(0x1da)])],_0x5cfa5d[_0x5f4777(0x16d)]);function _0x367ad(_0x12e53a){const {status$:_0x15367f}=_0x12e53a;return function(){const _0x2e2c42=_0x1d45;return _0x277483[_0x2e2c42(0x187)](_0x3a4d0e,{'status$':_0x15367f});};}const _0x44c1af=_0x1ced2a[_0x5f4777(0x171)]('uni.network.url-service');var _0x3c4ad4=Object['getOwnPropertyDescriptor'],_0x421983=(_0x1035ee,_0x1cb7b5,_0x25f718,_0x5788d8)=>{const _0x970cdb=_0x5f4777;for(var _0x4d80ef=_0x5788d8>0x1?void 0x0:_0x5788d8?_0x3c4ad4(_0x1cb7b5,_0x25f718):_0x1cb7b5,_0x35cf8d=_0x1035ee[_0x970cdb(0x15b)]-0x1,_0xeab3e;_0x35cf8d>=0x0;_0x35cf8d--)(_0xeab3e=_0x1035ee[_0x35cf8d])&&(_0x4d80ef=_0xeab3e(_0x4d80ef)||_0x4d80ef);return _0x4d80ef;},_0x3b9902=(_0x9d5fa8,_0x57715a)=>(_0x58c408,_0x3936b2)=>_0x57715a(_0x58c408,_0x3936b2,_0x9d5fa8);_0x5cfa5d['CollaborationDataLoaderController']=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x36fff9,_0x290fa8,_0x89c6cb,_0x1eea71,_0x12486a){const _0x23777d=_0x5f4777;super(),this[_0x23777d(0x128)]=_0x36fff9,this['_logService']=_0x290fa8,this[_0x23777d(0x287)]=_0x89c6cb,this[_0x23777d(0x396)]=_0x1eea71,_0x12486a?_0x12486a==null||_0x12486a[_0x23777d(0x37e)]()[_0x23777d(0x35f)](()=>this[_0x23777d(0x1c6)]()):(this['_logService'][_0x23777d(0x40e)](_0x23777d(0x225),_0x23777d(0x36f)),this[_0x23777d(0x1c6)]());}async[_0x5f4777(0x1c6)](){const _0x3b8837=_0x5f4777,_0x5524b2=this[_0x3b8837(0x128)]['getParam'](_0x3b8837(0x1f7)),_0x38cdd1=this[_0x3b8837(0x128)][_0x3b8837(0x296)]('type'),_0x35bee4=this['_urlService'][_0x3b8837(0x296)](_0x3b8837(0x38a));if(!_0x5524b2||!_0x38cdd1){this['_logService'][_0x3b8837(0x40e)](_0x3b8837(0x225),_0x3b8837(0x3a9));return;}const _0x1f5991=await this['_dataLoaderService'][_0x3b8837(0x2aa)](_0x5524b2,Number(_0x38cdd1),_0x35bee4);_0x1f5991&&_0x1f5991 instanceof _0x1ced2a[_0x3b8837(0x2c3)]&&this['_setupSubUnitSync'](_0x1f5991);}async[_0x5f4777(0x24f)](_0x4e2d22){const _0x2e27e8=_0x5f4777;await this['_updateSubUnitFromURLParams'](_0x4e2d22),_0x4e2d22['activeSheet$'][_0x2e27e8(0x1b6)](_0x5d9504[_0x2e27e8(0x39f)](this['dispose$']))['subscribe'](_0x1fc385=>{const _0x2a7daf=_0x2e27e8;_0x1fc385&&this[_0x2a7daf(0x3a7)](_0x1fc385);}),this['_urlService'][_0x2e27e8(0x16a)]['pipe'](_0x5d9504[_0x2e27e8(0x39f)](this['dispose$']))[_0x2e27e8(0x403)](()=>this[_0x2e27e8(0x1a4)](_0x4e2d22));}[_0x5f4777(0x3a7)](_0x45dfe9,_0xcd3145=!0x1){const _0x4762b5=_0x5f4777,_0x1ee761=this[_0x4762b5(0x128)]['getParam'](_0x4762b5(0x38a));_0x45dfe9[_0x4762b5(0x2ca)]()!==_0x1ee761&&this[_0x4762b5(0x128)][_0x4762b5(0x40f)]('subunit',_0x45dfe9[_0x4762b5(0x2ca)](),_0xcd3145);}async[_0x5f4777(0x1a4)](_0xa64b5f){const _0x563785=_0x5f4777;var _0x103485;const _0x23a526=this[_0x563785(0x128)]['getParam'](_0x563785(0x38a));if(!_0x23a526||!_0xa64b5f['getSheetBySheetId'](_0x23a526)){const _0x2ea990=_0xa64b5f['getUnhiddenWorksheets']()[0x0],_0x226e05=_0xa64b5f[_0x563785(0x358)](_0x2ea990);if(!_0x226e05)return;this['_updateURLWithCurrentState'](_0x226e05,!0x0),await this[_0x563785(0x287)][_0x563785(0x18b)](_0x4cc6da[_0x563785(0x186)]['id'],{'unitId':_0xa64b5f['getUnitId'](),'subUnitId':_0x2ea990});return;}((_0x103485=_0xa64b5f[_0x563785(0x275)]())==null?void 0x0:_0x103485[_0x563785(0x2ca)]())!==_0x23a526&&await this['_commandService'][_0x563785(0x18b)](_0x4cc6da[_0x563785(0x186)]['id'],{'unitId':_0xa64b5f['getUnitId'](),'subUnitId':_0x23a526});}},_0x5cfa5d[_0x5f4777(0x255)]=_0x421983([_0x3b9902(0x0,_0x44c1af),_0x3b9902(0x1,_0x1ced2a[_0x5f4777(0x14b)]),_0x3b9902(0x2,_0x1ced2a[_0x5f4777(0x331)]),_0x3b9902(0x3,_0x1ced2a['Inject'](_0x378bf4[_0x5f4777(0x219)])),_0x3b9902(0x4,_0x1ced2a[_0x5f4777(0x284)](_0x519d5f['IRemoteInstanceService']))],_0x5cfa5d[_0x5f4777(0x255)]);var _0x5dbe4f=Object[_0x5f4777(0x29e)],_0x3fac92=(_0x7cce01,_0x1eb97c,_0x33bd4f,_0x40ab98)=>{const _0x3d7405=_0x5f4777;for(var _0x17ee42=_0x40ab98>0x1?void 0x0:_0x40ab98?_0x5dbe4f(_0x1eb97c,_0x33bd4f):_0x1eb97c,_0x58a8ae=_0x7cce01[_0x3d7405(0x15b)]-0x1,_0x54c8c7;_0x58a8ae>=0x0;_0x58a8ae--)(_0x54c8c7=_0x7cce01[_0x58a8ae])&&(_0x17ee42=_0x54c8c7(_0x17ee42)||_0x17ee42);return _0x17ee42;},_0x3ed36a=(_0x5b37c3,_0xe3dceb)=>(_0x1c483f,_0x4509da)=>_0xe3dceb(_0x1c483f,_0x4509da,_0x5b37c3);let _0x566d5c=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0xeb7185,_0x98c902){const _0x54443c=_0x5f4777;super(),this['_docClipboardService']=_0xeb7185,this[_0x54443c(0x1c3)]=_0x98c902,this[_0x54443c(0x1c6)]();}[_0x5f4777(0x1c6)](){const _0x194b20=_0x5f4777,_0x5114eb=this;this['disposeWithMe'](this[_0x194b20(0x3cf)]['addClipboardHook']({'onBeforePasteImage':async _0x5c7cfd=>{const _0x1f02ff=_0x194b20,_0x50f2c0=await _0x5114eb['_imageIoService'][_0x1f02ff(0x400)](_0x5c7cfd);return _0x50f2c0?{'source':_0x50f2c0[_0x1f02ff(0x1ac)],'imageSourceType':_0x50f2c0[_0x1f02ff(0x165)]}:null;}}));}};_0x566d5c=_0x3fac92([_0x3ed36a(0x0,_0x2366a5[_0x5f4777(0x258)]),_0x3ed36a(0x1,_0x2a63ae[_0x5f4777(0x2a5)])],_0x566d5c);const _0x5306c3=[_0x5f4777(0x167),_0x5f4777(0x392),'green.600','red.300',_0x5f4777(0x279),_0x5f4777(0x294)];class _0x21d2e0 extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(){const _0xbbc763=_0x5f4777;super(...arguments),_0x13969d(this,_0xbbc763(0x385),new Map()),_0x13969d(this,_0xbbc763(0x2b9),0x0);}[_0x5f4777(0x2e0)](_0x4f0f1a){const _0x296990=_0x5f4777;if(this[_0x296990(0x385)][_0x296990(0x2be)](_0x4f0f1a))return this[_0x296990(0x385)][_0x296990(0x2b5)](_0x4f0f1a);const _0x1ddc6a=_0x5306c3[this[_0x296990(0x2b9)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x5306c3[_0x296990(0x15b)],this[_0x296990(0x385)][_0x296990(0x2a2)](_0x4f0f1a,_0x1ddc6a),_0x1ddc6a;}}function _0x5c3f10(_0x2785ec){const _0x167f9f=_0x5f4777;let _0x36baaa='';for(const _0x479b97 of _0x2785ec){const {startOffset:_0x161e47,endOffset:_0x21dd33,isActive:_0x555bab,rangeType:_0x194de2,segmentId:_0x2f1d0b,segmentPage:_0x115297}=_0x479b97;_0x36baaa[_0x167f9f(0x15b)]&&(_0x36baaa+=','),_0x36baaa+=_0x161e47+':'+_0x21dd33+':'+(_0x555bab?'1':'0')+':'+_0x194de2+':'+_0x2f1d0b+':'+_0x115297;}return _0x36baaa;}function _0x56fc98(_0x302a3c){const _0x1b2e11=_0x5f4777,_0x5bbaa7=_0x302a3c[_0x1b2e11(0x2a1)](','),_0x2054f9=[];for(const _0x51d7ce of _0x5bbaa7){const [_0x5b8978,_0x47699b,_0x31dcf3,_0x1a8c68,_0x24a1a4,_0x3a13de]=_0x51d7ce[_0x1b2e11(0x2a1)](':');_0x2054f9[_0x1b2e11(0x263)]({'startOffset':Number(_0x5b8978),'endOffset':Number(_0x47699b),'collapsed':_0x5b8978===_0x47699b,'isActive':_0x31dcf3==='1','rangeType':_0x1a8c68===_0x1ced2a[_0x1b2e11(0x3cb)][_0x1b2e11(0x29f)]?_0x1ced2a[_0x1b2e11(0x3cb)]['TEXT']:_0x1ced2a[_0x1b2e11(0x3cb)]['RECT'],'segmentId':typeof _0x24a1a4==_0x1b2e11(0x2dc)?String(_0x24a1a4):'','segmentPage':Number(_0x3a13de!=null?_0x3a13de:-0x1)});}return _0x2054f9['some'](_0x194b22=>_0x194b22[_0x1b2e11(0x3e2)])||(_0x2054f9[0x0][_0x1b2e11(0x3e2)]=!0x0),_0x2054f9;}class _0x29a65a extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(){const _0x213dc0=_0x5f4777;super(...arguments),_0x13969d(this,_0x213dc0(0x390),new _0x5d9504[(_0x213dc0(0x149))](null)),_0x13969d(this,_0x213dc0(0x1aa),this[_0x213dc0(0x390)][_0x213dc0(0x1d5)]());}[_0x5f4777(0x383)](_0x5731e7){const _0x51e761=_0x5f4777,{unitID:_0x5b1d5f,memberID:_0x36d42a,textRanges:_0x5c3f19}=_0x5731e7,_0x317fe6=_0x5c3f10(_0x5c3f19);if(_0x317fe6==='')return;const _0x12bcad={'unitID':_0x5b1d5f,'memberID':_0x36d42a,'selection':_0x317fe6};this[_0x51e761(0x390)][_0x51e761(0x121)](_0x12bcad);}}var _0x4b04da=Object[_0x5f4777(0x29e)],_0x1a248e=(_0x4a9a1b,_0x1d23f0,_0x471eda,_0x25f838)=>{const _0x2af8e7=_0x5f4777;for(var _0x391f5e=_0x25f838>0x1?void 0x0:_0x25f838?_0x4b04da(_0x1d23f0,_0x471eda):_0x1d23f0,_0xce81f6=_0x4a9a1b[_0x2af8e7(0x15b)]-0x1,_0x3b3c18;_0xce81f6>=0x0;_0xce81f6--)(_0x3b3c18=_0x4a9a1b[_0xce81f6])&&(_0x391f5e=_0x3b3c18(_0x391f5e)||_0x391f5e);return _0x391f5e;},_0x3320ea=(_0x56351c,_0x5a8bee)=>(_0x3c180f,_0x5693e8)=>_0x5a8bee(_0x3c180f,_0x5693e8,_0x56351c);const _0x416a84=0x12c,_0x4fa5b5=0x64;let _0x550b2e=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x486784,_0x55076d,_0xfad411,_0x5e694d,_0x2a146e,_0x13ed9a,_0x59028c,_0x19c0da,_0xd67272){const _0x494d44=_0x5f4777;super(),_0x13969d(this,'_online',!0x1),_0x13969d(this,_0x494d44(0x1c6),!0x1),_0x13969d(this,_0x494d44(0x1d7),new _0x5d9504[(_0x494d44(0x149))](new Map())),_0x13969d(this,_0x494d44(0x347),this['_cursorInfo$']['asObservable']()),_0x13969d(this,'_roomMembers$',new _0x5d9504[(_0x494d44(0x149))]([])),_0x13969d(this,_0x494d44(0x38b),this[_0x494d44(0x2f3)][_0x494d44(0x1b6)](_0x5d9504[_0x494d44(0x133)](_0x416a84))),_0x13969d(this,'_updateLocalCursor',_0x1ced2a['debounce'](_0x44dc7=>{const _0x5c5baa=_0x494d44,_0x1306a3={'eventID':_0x28eb5b['CollaborationEvent'][_0x5c5baa(0x3be)],'data':{'unitID':this[_0x5c5baa(0x1f0)],'memberID':this['_session'][_0x5c5baa(0x2b7)](),'selection':_0x5c3f10(_0x44dc7)}};this[_0x5c5baa(0x2cd)][_0x5c5baa(0x29b)](_0x1306a3,this[_0x5c5baa(0x1f0)]);},_0x4fa5b5)),(this[_0x494d44(0x1f0)]=_0x486784,this[_0x494d44(0x2cd)]=_0x55076d,this[_0x494d44(0x34e)]=_0xfad411,this[_0x494d44(0x3fc)]=_0x5e694d,this['_memberService']=_0x2a146e,this[_0x494d44(0x35c)]=_0x13ed9a,this[_0x494d44(0x327)]=_0x59028c,this['_univerInstanceService']=_0x19c0da,this[_0x494d44(0x287)]=_0xd67272);}get['cursorInfo'](){const _0x4cc4f0=_0x5f4777;return this[_0x4cc4f0(0x1d7)][_0x4cc4f0(0x160)]();}get[_0x5f4777(0x27f)](){const _0x5a8dd7=_0x5f4777;return this[_0x5a8dd7(0x2f3)][_0x5a8dd7(0x160)]();}['dispose'](){const _0x24f8d3=_0x5f4777;super[_0x24f8d3(0x256)](),this[_0x24f8d3(0x1d7)][_0x24f8d3(0x121)](new Map()),this[_0x24f8d3(0x1d7)]['complete'](),this[_0x24f8d3(0x2f3)][_0x24f8d3(0x121)]([]),this[_0x24f8d3(0x2f3)][_0x24f8d3(0x242)]();}[_0x5f4777(0x3f4)](){const _0x4afc2a=_0x5f4777;this[_0x4afc2a(0x1c6)]||(this['_init']=!0x0,this[_0x4afc2a(0x2cd)][_0x4afc2a(0x20c)]['pipe'](_0x5d9504[_0x4afc2a(0x39f)](this[_0x4afc2a(0x197)]))[_0x4afc2a(0x403)](_0x12d362=>{const _0xd37f57=_0x4afc2a;_0x12d362===_0x378bf4[_0xd37f57(0x353)]['ONLINE']?this[_0xd37f57(0x2c9)]():this[_0xd37f57(0x14e)]();}),this[_0x4afc2a(0x2cd)][_0x4afc2a(0x2bd)][_0x4afc2a(0x1b6)](_0x5d9504[_0x4afc2a(0x39f)](this['dispose$']))[_0x4afc2a(0x403)](_0x4cdc91=>{const _0x522519=_0x4afc2a,_0x4f45bf=_0x4cdc91[_0x522519(0x244)];_0x4f45bf===_0x28eb5b[_0x522519(0x334)][_0x522519(0x3be)]&&this[_0x522519(0x369)](_0x4cdc91),_0x4f45bf===_0x28eb5b[_0x522519(0x334)]['USERS_LEAVE']&&this[_0x522519(0x17d)](_0x4cdc91);}),this[_0x4afc2a(0x3b8)](this[_0x4afc2a(0x287)][_0x4afc2a(0x2e9)](_0x5d6343=>{const _0x1fa19f=_0x4afc2a,_0x584b22=_0x5d6343[_0x1fa19f(0x278)];_0x584b22!=null&&this['_online']&&_0x5d6343['id']===_0x56412a['SetTextSelectionsOperation']['id']&&_0x584b22[_0x1fa19f(0x3d9)]===this['unitID']&&_0x584b22[_0x1fa19f(0x38d)]===!0x1&&_0x584b22['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x584b22[_0x1fa19f(0x216)]);})),this[_0x4afc2a(0x35c)]['collabCursorState$'][_0x4afc2a(0x1b6)](_0x5d9504[_0x4afc2a(0x39f)](this[_0x4afc2a(0x197)]))[_0x4afc2a(0x403)](_0x46cdb5=>{const _0x5703fe=_0x4afc2a;if((_0x46cdb5==null?void 0x0:_0x46cdb5['unitID'])!==this[_0x5703fe(0x1f0)])return;const _0x5dc65e={'eventID':_0x28eb5b[_0x5703fe(0x334)]['UPDATE_CURSOR'],'data':_0x46cdb5};this[_0x5703fe(0x369)](_0x5dc65e);}),this['disposeWithMe'](this[_0x4afc2a(0x287)][_0x4afc2a(0x2e9)](_0x24c1a0=>{const _0x16b5e2=_0x4afc2a;if(_0x24c1a0[_0x16b5e2(0x278)]==null)return;const _0x36601a=_0x24c1a0['params'];if(_0x24c1a0['id']!==_0x56412a['RichTextEditingMutation']['id']||_0x36601a['unitId']!==this[_0x16b5e2(0x1f0)])return;const _0x2c6bdd={'id':_0x16b5e2(0x36e),'params':_0x36601a},_0x18cd41=this['cursorInfo'];for(const [_0x57914c,_0x1e2abc]of _0x18cd41){const _0x55196b={'id':_0x16b5e2(0x36e),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1e2abc[_0x16b5e2(0x216)]}},_0x5eba47=this[_0x16b5e2(0x327)][_0x16b5e2(0x3dd)](_0x2c6bdd,_0x55196b,!0x1);if(_0x28eb5b[_0x16b5e2(0x223)](_0x5eba47))throw _0x5eba47['error'];_0x18cd41[_0x16b5e2(0x2a2)](_0x57914c,{..._0x1e2abc,'ranges':_0x5eba47[_0x16b5e2(0x3d1)]['params']['textRanges']});}queueMicrotask(()=>{const _0x3ff21b=_0x16b5e2;this[_0x3ff21b(0x1d7)]['next'](_0x18cd41);});})));}['_onCursorUpdate'](_0x50780c){const _0x287f8d=_0x5f4777;var _0x1005da,_0x5da6a4;const {memberID:_0x14426a,selection:_0xe18f3b}=_0x50780c[_0x287f8d(0x241)],_0x47ef6a=_0x56fc98(_0xe18f3b),_0x1c36e0=(_0x5da6a4=(_0x1005da=this[_0x287f8d(0x3aa)][_0x287f8d(0x1a0)](this[_0x287f8d(0x1f0)],_0x14426a))==null?void 0x0:_0x1005da[_0x287f8d(0x308)])!=null?_0x5da6a4:'Unknown\x20user',_0x3c3d2b={'color':this[_0x287f8d(0x3fc)][_0x287f8d(0x2e0)](_0x14426a),'name':_0x1c36e0,'ranges':_0x47ef6a},_0x56cbf2=this[_0x287f8d(0x2a0)];_0x56cbf2[_0x287f8d(0x2a2)](_0x14426a,_0x3c3d2b),this[_0x287f8d(0x1d7)][_0x287f8d(0x121)](_0x56cbf2);}['_onCursorDelete'](_0x2bfdfa){const _0x201507=_0x5f4777,{memberID:_0x334864}=_0x2bfdfa['data'],_0x3552c2=this[_0x201507(0x2a0)];_0x3552c2[_0x201507(0x259)](_0x334864),this[_0x201507(0x1d7)][_0x201507(0x121)](_0x3552c2);}[_0x5f4777(0x2c9)](){const _0xff1568=_0x5f4777;var _0x1f6667;if(this[_0xff1568(0x183)]=!0x0,((_0x1f6667=this[_0xff1568(0x332)]['getFocusedUnit']())==null?void 0x0:_0x1f6667[_0xff1568(0x3b0)]())!==this[_0xff1568(0x1f0)])return;const _0x25703e=this[_0xff1568(0x34e)][_0xff1568(0x2b5)](_0x56412a[_0xff1568(0x189)])[_0xff1568(0x366)]();Array[_0xff1568(0x192)](_0x25703e)&&_0x25703e[_0xff1568(0x15b)]>0x0&&this['_updateLocalCursor'](_0x25703e);}[_0x5f4777(0x14e)](){const _0x388d28=_0x5f4777;this[_0x388d28(0x183)]=!0x1;}};_0x550b2e=_0x1a248e([_0x3320ea(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x3320ea(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x21d2e0)),_0x3320ea(0x4,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4['MemberService'])),_0x3320ea(0x5,_0x1ced2a[_0x5f4777(0x3e1)](_0x29a65a)),_0x3320ea(0x6,_0x28eb5b[_0x5f4777(0x218)]),_0x3320ea(0x7,_0x1ced2a['IUniverInstanceService']),_0x3320ea(0x8,_0x1ced2a[_0x5f4777(0x331)])],_0x550b2e);var _0x1a1e61=Object['getOwnPropertyDescriptor'],_0x16ea2d=(_0x68e5b2,_0x5d9d83,_0x2c1cf8,_0x157882)=>{const _0x20417e=_0x5f4777;for(var _0xba7fba=_0x157882>0x1?void 0x0:_0x157882?_0x1a1e61(_0x5d9d83,_0x2c1cf8):_0x5d9d83,_0x29ea31=_0x68e5b2[_0x20417e(0x15b)]-0x1,_0x3bc54c;_0x29ea31>=0x0;_0x29ea31--)(_0x3bc54c=_0x68e5b2[_0x29ea31])&&(_0xba7fba=_0x3bc54c(_0xba7fba)||_0xba7fba);return _0xba7fba;},_0x53b719=(_0x3292d0,_0x655bb5)=>(_0x630245,_0x392524)=>_0x655bb5(_0x630245,_0x392524,_0x3292d0);const _0x87778a=0x12c,_0x45d485=0x64,_0x18acb5=()=>{let _0x43e966=[],_0x2ebdcb=!0x1;return _0x5c9e54=>{const _0x204279=_0x1d45;_0x43e966[_0x204279(0x263)](_0x5c9e54),_0x2ebdcb||(_0x2ebdcb=!0x0,setTimeout(()=>{const _0x40f31c=_0x204279;_0x43e966[_0x40f31c(0x196)](_0x5a57fd=>_0x5a57fd()),_0x43e966=[],_0x2ebdcb=!0x1;}));};};let _0x12a92c=class extends _0x1ced2a['RxDisposable']{constructor(_0x1e8d25,_0x3ef77a,_0x2ace46,_0x22665b,_0x469223,_0x25ad11,_0x460362,_0x1d86f5){const _0x471a77=_0x5f4777;super(),_0x13969d(this,_0x471a77(0x183),!0x1),_0x13969d(this,_0x471a77(0x1c6),!0x1),_0x13969d(this,'_cursorInfo$',new _0x5d9504[(_0x471a77(0x149))](new Map())),_0x13969d(this,_0x471a77(0x347),this[_0x471a77(0x1d7)][_0x471a77(0x1d5)]()),_0x13969d(this,_0x471a77(0x2f3),new _0x5d9504[(_0x471a77(0x149))]([])),_0x13969d(this,_0x471a77(0x38b),this[_0x471a77(0x2f3)][_0x471a77(0x1b6)](_0x5d9504[_0x471a77(0x133)](_0x87778a))),_0x13969d(this,_0x471a77(0x3cc),_0x1ced2a[_0x471a77(0x1d3)]((_0x3ba515,_0x3c3607)=>{const _0x455d8b=_0x471a77,_0x5b5b1d={'eventID':_0x28eb5b[_0x455d8b(0x334)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x455d8b(0x1f0)],'memberID':this[_0x455d8b(0x2cd)][_0x455d8b(0x2b7)](),'selection':_0x900d4['serializeRangeWithSheet'](_0x3ba515,_0x3c3607[_0x455d8b(0x13a)])}};this[_0x455d8b(0x2cd)][_0x455d8b(0x29b)](_0x5b5b1d,this[_0x455d8b(0x1f0)]);},_0x45d485)),(this[_0x471a77(0x1f0)]=_0x1e8d25,this['_session']=_0x3ef77a,this[_0x471a77(0x34e)]=_0x2ace46,this[_0x471a77(0x3fc)]=_0x22665b,this[_0x471a77(0x3aa)]=_0x469223,this[_0x471a77(0x332)]=_0x25ad11,this['_commandService']=_0x460362,this['_refRangeService']=_0x1d86f5);}get[_0x5f4777(0x2a0)](){const _0x2f0a2e=_0x5f4777;return this['_cursorInfo$'][_0x2f0a2e(0x160)]();}get['roomMembers'](){const _0x16e6ee=_0x5f4777;return this[_0x16e6ee(0x2f3)]['getValue']();}[_0x5f4777(0x256)](){const _0x37e9e7=_0x5f4777;super[_0x37e9e7(0x256)](),this[_0x37e9e7(0x1d7)][_0x37e9e7(0x121)](new Map()),this[_0x37e9e7(0x1d7)][_0x37e9e7(0x242)](),this[_0x37e9e7(0x2f3)][_0x37e9e7(0x121)]([]),this[_0x37e9e7(0x2f3)]['complete']();}[_0x5f4777(0x3f4)](){const _0x29edb5=_0x5f4777;this[_0x29edb5(0x1c6)]||(this[_0x29edb5(0x1c6)]=!0x0,this[_0x29edb5(0x2cd)][_0x29edb5(0x20c)]['pipe'](_0x5d9504[_0x29edb5(0x39f)](this[_0x29edb5(0x197)]))[_0x29edb5(0x403)](_0x5735ae=>{const _0x48b431=_0x29edb5;_0x5735ae===_0x378bf4['SessionStatus'][_0x48b431(0x2e6)]?this[_0x48b431(0x2c9)]():this['_toggleOffline']();}),this[_0x29edb5(0x2cd)][_0x29edb5(0x2bd)]['pipe'](_0x5d9504['takeUntil'](this['dispose$']))['subscribe'](_0x164103=>{const _0x85cb5=_0x29edb5,_0x408f39=_0x164103[_0x85cb5(0x244)];_0x408f39===_0x28eb5b[_0x85cb5(0x334)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x164103),_0x408f39===_0x28eb5b[_0x85cb5(0x334)][_0x85cb5(0x210)]&&this[_0x85cb5(0x17d)](_0x164103);}),this[_0x29edb5(0x359)](),this[_0x29edb5(0x3b8)](this[_0x29edb5(0x287)]['onCommandExecuted'](_0x4d95a9=>{const _0x39f66d=_0x29edb5;if(this[_0x39f66d(0x183)]&&_0x4d95a9['id']===_0x4cc6da[_0x39f66d(0x136)]['id']&&_0x4d95a9['params'][_0x39f66d(0x3d9)]===this[_0x39f66d(0x1f0)]){const _0x1d2360=_0x4d95a9[_0x39f66d(0x278)];this[_0x39f66d(0x3cc)](_0x1d2360[_0x39f66d(0x163)],_0x1d2360[_0x39f66d(0x357)][0x0]);}})));}[_0x5f4777(0x369)](_0x290a14){const _0xe3c2a0=_0x5f4777;var _0x289457,_0x6f19fa;const {memberID:_0x34b08d,selection:_0xc5e36e}=_0x290a14[_0xe3c2a0(0x241)],{sheetName:_0x3f83b4,range:_0x528615}=_0x900d4[_0xe3c2a0(0x3e3)](_0xc5e36e),_0x373fd5={'name':(_0x6f19fa=(_0x289457=this[_0xe3c2a0(0x3aa)][_0xe3c2a0(0x1a0)](this[_0xe3c2a0(0x1f0)],_0x34b08d))==null?void 0x0:_0x289457[_0xe3c2a0(0x308)])!=null?_0x6f19fa:_0xe3c2a0(0x373),'range':this[_0xe3c2a0(0x1d0)](_0x3f83b4,_0x528615),'sheetID':_0x3f83b4,'color':this[_0xe3c2a0(0x3fc)][_0xe3c2a0(0x2e0)](_0x34b08d),'selection':_0xc5e36e},_0x486c9a=this[_0xe3c2a0(0x2a0)];_0x486c9a[_0xe3c2a0(0x2a2)](_0x34b08d,_0x373fd5),this[_0xe3c2a0(0x1d7)][_0xe3c2a0(0x121)](_0x486c9a);}[_0x5f4777(0x17d)](_0x3cc8cb){const _0x382e28=_0x5f4777,{memberID:_0x4b2f9f}=_0x3cc8cb[_0x382e28(0x241)],_0x55e722=this[_0x382e28(0x2a0)];_0x55e722[_0x382e28(0x259)](_0x4b2f9f),this[_0x382e28(0x1d7)][_0x382e28(0x121)](_0x55e722);}[_0x5f4777(0x1d0)](_0x44eeee,_0x4f3e0c){const _0x9582a4=_0x5f4777;var _0x157630,_0x3b32fd;const _0x43035f=(_0x3b32fd=(_0x157630=this[_0x9582a4(0x332)][_0x9582a4(0x3eb)](this['unitID']))==null?void 0x0:_0x157630[_0x9582a4(0x358)](_0x44eeee))==null?void 0x0:_0x3b32fd[_0x9582a4(0x16c)]();return(_0x43035f==null?void 0x0:_0x43035f[_0x9582a4(0x23b)](_0x1f41a0=>_0x1ced2a[_0x9582a4(0x19f)][_0x9582a4(0x292)](_0x1f41a0,_0x4f3e0c)))||_0x4f3e0c;}['_onRefRangeChange'](){const _0xd77153=_0x5f4777,_0xab704e=new _0x1ced2a[(_0xd77153(0x40a))](),_0xafc3b7=_0x18acb5(),_0x2d48d7=()=>{const _0x1a7895=_0xd77153;_0xab704e['dispose']();const _0x58c0ad=(_0x37399d,_0x45bb01,_0x46aa92,_0x46c601)=>{const _0xf37e4a=_0x1d45;let _0x5adca2=[];switch(_0x37399d['id']){case _0x4cc6da[_0xf37e4a(0x274)][_0xf37e4a(0x265)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x25f)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)][_0xf37e4a(0x222)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x2da)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)]['InsertColCommandId']:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x2e1)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)][_0xf37e4a(0x2ae)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x340)](_0x37399d,_0x46c601);break;}case _0x4cc6da['EffectRefRangId'][_0xf37e4a(0x1e7)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x33d)](_0x37399d,_0x46c601);break;}case _0x4cc6da['EffectRefRangId'][_0xf37e4a(0x153)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x3c5)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)][_0xf37e4a(0x2b0)]:{_0x5adca2=_0x4cc6da['handleMoveRange'](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)]['RemoveColCommandId']:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x130)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)]['RemoveRowCommandId']:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x36d)](_0x37399d,_0x46c601);break;}}const _0x3e1a6b=_0x4cc6da[_0xf37e4a(0x1d4)](_0x5adca2,_0x46c601),_0x533fb3=this[_0xf37e4a(0x2a0)]['get'](_0x45bb01);if(_0x533fb3&&_0x3e1a6b){const _0x392cbf={..._0x533fb3,'range':_0x3e1a6b};this[_0xf37e4a(0x2a0)]['set'](_0x45bb01,_0x392cbf),_0xafc3b7(()=>{const _0x2dea63=_0xf37e4a,_0x9067f=this[_0x2dea63(0x3ea)]['registerRefRange'](_0x3e1a6b,_0x37518a=>(_0x9067f['dispose'](),_0x58c0ad(_0x37518a,_0x45bb01,_0x46aa92,_0x3e1a6b)));_0xab704e[_0x2dea63(0x248)](_0x9067f);});}return{'redos':[],'undos':[]};};this[_0x1a7895(0x2a0)][_0x1a7895(0x196)]((_0x2b3c96,_0x2f295f)=>{const _0x256430=_0x1a7895,{range:_0x1cc608,sheetID:_0x2dfd27}=_0x2b3c96,_0x609eae=this[_0x256430(0x3ea)]['registerRefRange'](_0x1cc608,_0x550ddd=>(_0x609eae[_0x256430(0x256)](),_0x58c0ad(_0x550ddd,_0x2f295f,_0x2dfd27,_0x1cc608)));_0xab704e[_0x256430(0x248)](_0x609eae);});};this[_0xd77153(0x3b8)](_0x1ced2a[_0xd77153(0x3a0)](this[_0xd77153(0x1d7)][_0xd77153(0x403)](()=>{_0x2d48d7();})));}[_0x5f4777(0x2c9)](){const _0x198b62=_0x5f4777;var _0x2549fd,_0xf7e5a8;if(this[_0x198b62(0x183)]=!0x0,((_0x2549fd=this[_0x198b62(0x332)][_0x198b62(0x168)]())==null?void 0x0:_0x2549fd[_0x198b62(0x3b0)]())!==this['unitID'])return;const _0x42e2b9=(_0xf7e5a8=this[_0x198b62(0x34e)][_0x198b62(0x2b5)](_0x4cc6da[_0x198b62(0x1a6)])[_0x198b62(0x15c)]())==null?void 0x0:_0xf7e5a8[0x0],_0x59ffb4=this[_0x198b62(0x332)]['getCurrentUnitForType'](_0x1ced2a[_0x198b62(0x3b7)][_0x198b62(0x228)])[_0x198b62(0x275)]();_0x42e2b9&&_0x59ffb4&&this[_0x198b62(0x3cc)](_0x59ffb4[_0x198b62(0x2ca)](),_0x42e2b9);}['_toggleOffline'](){this['_online']=!0x1;}};_0x12a92c=_0x16ea2d([_0x53b719(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x53b719(0x3,_0x1ced2a['Inject'](_0x21d2e0)),_0x53b719(0x4,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4[_0x5f4777(0x2d4)])),_0x53b719(0x5,_0x1ced2a[_0x5f4777(0x24c)]),_0x53b719(0x6,_0x1ced2a[_0x5f4777(0x331)]),_0x53b719(0x7,_0x1ced2a[_0x5f4777(0x3e1)](_0x4cc6da[_0x5f4777(0x2fc)]))],_0x12a92c);var _0x5a1b81=Object[_0x5f4777(0x29e)],_0x289d67=(_0x2905dd,_0x30cfeb,_0x28f542,_0x2e4a24)=>{for(var _0x11a0f0=_0x2e4a24>0x1?void 0x0:_0x2e4a24?_0x5a1b81(_0x30cfeb,_0x28f542):_0x30cfeb,_0x450b24=_0x2905dd['length']-0x1,_0x3b409e;_0x450b24>=0x0;_0x450b24--)(_0x3b409e=_0x2905dd[_0x450b24])&&(_0x11a0f0=_0x3b409e(_0x11a0f0)||_0x11a0f0);return _0x11a0f0;},_0x34a9c5=(_0x4c7d29,_0x292e2b)=>(_0xfe426d,_0x4e6dc6)=>_0x292e2b(_0xfe426d,_0x4e6dc6,_0x4c7d29);let _0x114331=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x27bbbd,_0x5da6bc,_0xbe0be4){const _0x1b82e4=_0x5f4777;super(),_0x13969d(this,_0x1b82e4(0x1eb),new Map()),_0x13969d(this,'_entityInit$',new _0x5d9504[(_0x1b82e4(0x207))]()),(this[_0x1b82e4(0x332)]=_0x27bbbd,this[_0x1b82e4(0x34e)]=_0x5da6bc,this[_0x1b82e4(0x288)]=_0xbe0be4,this[_0x1b82e4(0x1c6)]());}[_0x5f4777(0x256)](){const _0x4e5df2=_0x5f4777;super[_0x4e5df2(0x256)](),this[_0x4e5df2(0x3b1)][_0x4e5df2(0x242)](),this['_entities'][_0x4e5df2(0x196)](_0x507fe6=>_0x507fe6[_0x4e5df2(0x256)]());}[_0x5f4777(0x14f)](_0x400250){const _0xd02818=_0x5f4777;return this[_0xd02818(0x1eb)]['has'](_0x400250)?this[_0xd02818(0x1eb)][_0xd02818(0x2b5)](_0x400250)[_0xd02818(0x347)]:this[_0xd02818(0x3b1)][_0xd02818(0x1b6)](_0x5d9504[_0xd02818(0x2e5)](_0x24fbc1=>_0x24fbc1[_0xd02818(0x1f0)]===_0x400250),_0x5d9504[_0xd02818(0x229)](_0x2a1608=>_0x2a1608['cursorInfo$']));}[_0x5f4777(0x1c6)](){const _0x5e51a3=_0x5f4777;this[_0x5e51a3(0x332)][_0x5e51a3(0x328)](_0x1ced2a[_0x5e51a3(0x3b7)][_0x5e51a3(0x228)])[_0x5e51a3(0x1b6)](_0x5d9504[_0x5e51a3(0x39f)](this[_0x5e51a3(0x197)]))['subscribe'](async _0x1fb25c=>{const _0x40e1f5=_0x5e51a3,_0x3fe0e6=_0x1fb25c[_0x40e1f5(0x3b0)](),_0x3dc361=await this[_0x40e1f5(0x245)](_0x3fe0e6);this[_0x40e1f5(0x3b1)][_0x40e1f5(0x121)](_0x3dc361),this[_0x40e1f5(0x1eb)]['set'](_0x3fe0e6,_0x3dc361);}),this[_0x5e51a3(0x332)][_0x5e51a3(0x328)](_0x1ced2a[_0x5e51a3(0x3b7)][_0x5e51a3(0x2f6)])['pipe'](_0x5d9504[_0x5e51a3(0x39f)](this['dispose$']))[_0x5e51a3(0x1b6)](_0x5d9504['filter'](_0x2c229d=>!_0x2c229d['getUnitId']()[_0x5e51a3(0x181)]('__')))['subscribe'](async _0x3a591f=>{const _0x1d51bb=_0x5e51a3,_0x43eb55=_0x3a591f[_0x1d51bb(0x3b0)](),_0x33fb40=await this[_0x1d51bb(0x1e2)](_0x43eb55);this[_0x1d51bb(0x3b1)][_0x1d51bb(0x121)](_0x33fb40),this[_0x1d51bb(0x1eb)][_0x1d51bb(0x2a2)](_0x43eb55,_0x33fb40);}),_0x5d9504['merge'](this[_0x5e51a3(0x332)][_0x5e51a3(0x3d4)](_0x1ced2a[_0x5e51a3(0x3b7)][_0x5e51a3(0x2f6)]),this['_univerInstanceService'][_0x5e51a3(0x3d4)](_0x1ced2a['UniverInstanceType'][_0x5e51a3(0x228)]))[_0x5e51a3(0x1b6)](_0x5d9504[_0x5e51a3(0x39f)](this['dispose$']))['subscribe'](_0x283b86=>{const _0x6a2020=_0x5e51a3,_0x5a39ac=_0x283b86[_0x6a2020(0x3b0)](),_0x545fec=this['_entities']['get'](_0x5a39ac);_0x545fec&&(_0x545fec['dispose'](),this['_entities']['delete'](_0x5a39ac));});}async[_0x5f4777(0x245)](_0x49733a){const _0x34bbc3=_0x5f4777,_0x257247=await this[_0x34bbc3(0x288)]['requireSession'](_0x49733a),_0x34d1d9=this['_injector'][_0x34bbc3(0x224)](_0x12a92c,_0x49733a,_0x257247);return _0x34d1d9[_0x34bbc3(0x3f4)](),_0x34d1d9;}async[_0x5f4777(0x1e2)](_0xf76aae){const _0x9ce612=_0x5f4777,_0xcd6649=await this[_0x9ce612(0x288)][_0x9ce612(0x1c5)](_0xf76aae),_0x4be544=this[_0x9ce612(0x34e)][_0x9ce612(0x224)](_0x550b2e,_0xf76aae,_0xcd6649);return _0x4be544[_0x9ce612(0x3f4)](),_0x4be544;}};_0x114331=_0x289d67([_0x34a9c5(0x0,_0x1ced2a[_0x5f4777(0x24c)]),_0x34a9c5(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x34a9c5(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4['CollaborationSessionService']))],_0x114331);const _0x121f65=0x14,_0x171229=0xc8,_0x31786f=0x4,_0x4465da=0x5;function _0x4b1af2(_0x3c4990,_0x16e976){const _0x34bf8c=_0x5f4777;let {radius:_0x13681f,width:_0xd00499,height:_0x1da299}=_0x16e976;_0x13681f=_0x13681f!=null?_0x13681f:0x0,_0xd00499=_0xd00499!=null?_0xd00499:0x1e,_0x1da299=_0x1da299!=null?_0x1da299:0x1e;let _0x4d3a3f=0x0,_0x7c6584=0x0,_0x1988cb=0x0;_0x4d3a3f=_0x7c6584=_0x1988cb=Math[_0x34bf8c(0x2fe)](_0x13681f,_0xd00499/0x2,_0x1da299/0x2),_0x3c4990['beginPath'](),_0x3c4990[_0x34bf8c(0x194)](_0x4d3a3f,0x0),_0x3c4990['lineTo'](_0xd00499-_0x7c6584,0x0),_0x3c4990['arc'](_0xd00499-_0x7c6584,_0x7c6584,_0x7c6584,Math['PI']*0x3/0x2,0x0,!0x1),_0x3c4990['lineTo'](_0xd00499,_0x1da299-_0x1988cb),_0x3c4990['arc'](_0xd00499-_0x1988cb,_0x1da299-_0x1988cb,_0x1988cb,0x0,Math['PI']/0x2,!0x1),_0x3c4990[_0x34bf8c(0x318)](0x0,_0x1da299),_0x3c4990['lineTo'](0x0,_0x4d3a3f),_0x3c4990[_0x34bf8c(0x152)](_0x4d3a3f,_0x4d3a3f,_0x4d3a3f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3c4990[_0x34bf8c(0x314)](),_0x16e976[_0x34bf8c(0x12e)]&&(_0x3c4990[_0x34bf8c(0x28f)](),_0x3c4990['fillStyle']=_0x16e976[_0x34bf8c(0x12e)],_0x16e976[_0x34bf8c(0x122)]===_0x34bf8c(0x3ca)?_0x3c4990[_0x34bf8c(0x12e)]('evenodd'):_0x3c4990[_0x34bf8c(0x12e)](),_0x3c4990['restore']());}class _0x4087db extends _0x40ad79[_0x5f4777(0x185)]{constructor(_0x3803ae,_0x51c33b){const _0x53622a=_0x5f4777;super(_0x3803ae,_0x51c33b),_0x13969d(this,_0x53622a(0x34c)),_0x13969d(this,'text'),(this[_0x53622a(0x34c)]=_0x51c33b==null?void 0x0:_0x51c33b[_0x53622a(0x34c)],this['text']=_0x51c33b==null?void 0x0:_0x51c33b[_0x53622a(0x37b)]);}static['drawWith'](_0x1904d0,_0x5de89b){const _0x9cdcfd=_0x5f4777,{text:_0x669cb3,color:_0x1a7605}=_0x5de89b;_0x1904d0[_0x9cdcfd(0x28f)](),_0x1904d0[_0x9cdcfd(0x34b)]=_0x9cdcfd(0x1bc);const _0x472c8c=_0x1904d0[_0x9cdcfd(0x367)](_0x669cb3)['width'],_0x1ccd8a=Math[_0x9cdcfd(0x2fe)](_0x472c8c+0x2*_0x31786f,_0x171229);_0x4b1af2(_0x1904d0,{'height':_0x121f65,'radius':0x4,'width':_0x1ccd8a,'fill':_0x1a7605}),_0x1904d0[_0x9cdcfd(0x1de)]=_0x9cdcfd(0x19e);const _0x160e8b=_0x31786f,_0x38c413=_0x121f65-_0x4465da,_0x2bf94c=_0x171229-0x2*_0x31786f;if(_0x472c8c>_0x2bf94c){let _0x6c253d='',_0x23f98b=0x0;for(const _0x592a00 of _0x669cb3){const _0xd43d1c=_0x1904d0[_0x9cdcfd(0x367)](_0x592a00)[_0x9cdcfd(0x3b9)];if(_0x23f98b+_0xd43d1c<=_0x2bf94c-_0x1904d0[_0x9cdcfd(0x367)](_0x9cdcfd(0x316))['width'])_0x6c253d+=_0x592a00,_0x23f98b+=_0xd43d1c;else{_0x6c253d+=_0x9cdcfd(0x316);break;}}_0x1904d0[_0x9cdcfd(0x399)](_0x6c253d,_0x160e8b,_0x38c413);}else _0x1904d0['fillText'](_0x669cb3,_0x160e8b,_0x38c413);_0x1904d0['restore']();}[_0x5f4777(0x3f9)](_0x765eb2){const _0x3edc59=_0x5f4777;_0x4087db[_0x3edc59(0x139)](_0x765eb2,this);}}const _0x18a3d1=_0x5f4777(0x18c),_0x182168=_0x5f4777(0x341),_0x1cbc9f=_0x5f4777(0x309),_0x365f6a=0x6,_0x2a476b=1.5,_0x4eac9c=0x4,_0x4a0468=1.5,_0x584ddb='rgba(255,\x20255,\x20255,\x200.01)';class _0x46f806{constructor(_0x339f0e,_0x37357b,_0x19026e,_0x17de3e){const _0x1ebb30=_0x5f4777;_0x13969d(this,_0x1ebb30(0x18a),[]),_0x13969d(this,_0x1ebb30(0x391),null),_0x13969d(this,_0x1ebb30(0x230),null),_0x13969d(this,_0x1ebb30(0x131),null),_0x13969d(this,'_hideTimer',null),_0x13969d(this,_0x1ebb30(0x32a),null),(this[_0x1ebb30(0x2bf)]=_0x339f0e,this[_0x1ebb30(0x11b)]=_0x37357b,this[_0x1ebb30(0x3ae)]=_0x19026e,this[_0x1ebb30(0x15e)]=_0x17de3e,this[_0x1ebb30(0x257)]());}set[_0x5f4777(0x317)](_0x130723){const _0x202fee=_0x5f4777;_0x130723?(this[_0x202fee(0x131)]&&this['_anchorDot'][_0x202fee(0x2e2)](),this[_0x202fee(0x230)]&&this['_textBubble']['show']()):(this[_0x202fee(0x131)]&&this['_anchorDot'][_0x202fee(0x2d8)](),this[_0x202fee(0x230)]&&this['_textBubble'][_0x202fee(0x2e2)]());}[_0x5f4777(0x256)](){const _0x16fb28=_0x5f4777;for(const _0x4620e0 of this[_0x16fb28(0x18a)])_0x4620e0[_0x16fb28(0x256)]();this[_0x16fb28(0x230)]&&this[_0x16fb28(0x230)][_0x16fb28(0x256)](),this[_0x16fb28(0x131)]&&this[_0x16fb28(0x131)][_0x16fb28(0x256)](),this[_0x16fb28(0x391)]&&this['_anchor'][_0x16fb28(0x256)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x5f4777(0x257)](){const _0x4bb2d0=_0x5f4777;var _0x2ada2c;const {_docSkeleton:_0x26fec2,_document:_0xb9495f}=this,{color:_0x1d90e0,name:_0x5461ec,ranges:_0x17e902}=this[_0x4bb2d0(0x2bf)],_0x4f242b=_0xb9495f['getOffsetConfig'](),{docsLeft:_0x58f337,docsTop:_0x1e4797}=_0x4f242b,_0x5e5b7b=new _0x2366a5[(_0x4bb2d0(0x2ef))](_0x4f242b,_0x26fec2);for(const {startOffset:_0x4ebd42,endOffset:_0x42ee9d,rangeType:_0x4b227f,segmentId:_0x64a4d,segmentPage:_0x5ecd01,collapsed:_0x1dbcf1,isActive:_0x216bf8}of _0x17e902){const _0x2637fb=_0x26fec2['findNodePositionByCharIndex'](_0x4ebd42,!0x0,_0x64a4d,_0x5ecd01);let _0x5a5a7f=_0x26fec2[_0x4bb2d0(0x24b)](_0x42ee9d,!0x0,_0x64a4d,_0x5ecd01);if(_0x5a5a7f==null&&(_0x5a5a7f=_0x26fec2[_0x4bb2d0(0x24b)](_0x42ee9d-0x1,!0x1,_0x64a4d,_0x5ecd01)),_0x216bf8){const {contentBoxPointGroup:_0x3760cb}=_0x5e5b7b[_0x4bb2d0(0x321)](_0x5a5a7f,_0x5a5a7f);if(_0x3760cb[_0x4bb2d0(0x15b)]===0x0)continue;this[_0x4bb2d0(0x3b4)](_0x1d90e0,_0x3760cb,_0x58f337,_0x1e4797,_0x5461ec),this[_0x4bb2d0(0x32a)]=this[_0x4bb2d0(0x129)]();}if(_0x2637fb&&_0x5a5a7f){if(_0x4b227f===_0x1ced2a[_0x4bb2d0(0x3cb)][_0x4bb2d0(0x180)]){const _0x23a5a0=new _0x2366a5[(_0x4bb2d0(0x2ea))](_0x4f242b,_0x26fec2),{pointGroup:_0x574f62}=(_0x2ada2c=_0x23a5a0['getRangePointData'](_0x2637fb,_0x5a5a7f))!=null?_0x2ada2c:{};if(_0x574f62==null||_0x574f62[_0x4bb2d0(0x15b)]===0x0)continue;this[_0x4bb2d0(0x1e0)](_0x1d90e0,_0x574f62,_0x58f337,_0x1e4797);}else{if(!_0x1dbcf1){const {borderBoxPointGroup:_0x5a1bab}=_0x5e5b7b[_0x4bb2d0(0x321)](_0x2637fb,_0x5a5a7f);if(_0x5a1bab[_0x4bb2d0(0x15b)]===0x0)continue;this['_drawTextRange'](_0x1d90e0,_0x5a1bab,_0x58f337,_0x1e4797);}}}}}[_0x5f4777(0x3b4)](_0x38d414,_0x2dd11b,_0x12ed1b,_0x3220d8,_0x275636){const _0xd67bbd=_0x5f4777,_0x314695=this[_0xd67bbd(0x252)](_0x2dd11b),{left:_0x41631d,top:_0x2a7096,height:_0x123bbd}=_0x314695,_0x4f5848=this['_getScale'](),_0x199ad6=_0x4a0468/_0x4f5848,_0x3f6ca2=new _0x40ad79[(_0xd67bbd(0x30e))](_0x18a3d1+_0x1ced2a[_0xd67bbd(0x3d7)](_0x365f6a),{'left':_0x41631d+_0x12ed1b-_0x199ad6,'top':_0x2a7096+_0x3220d8,'height':_0x123bbd,'width':_0x2a476b,'fill':_0x38d414||_0x40ad79[_0xd67bbd(0x191)](_0x1ced2a['COLORS']['black'],0x0),'strokeWidth':_0x199ad6,'stroke':_0x584ddb,'evented':!0x0});this[_0xd67bbd(0x391)]=_0x3f6ca2,this['_scene'][_0xd67bbd(0x195)](_0x3f6ca2,_0x2366a5[_0xd67bbd(0x17e)]);const _0x1948d9=new _0x40ad79[(_0xd67bbd(0x30e))](_0x18a3d1+_0x1ced2a[_0xd67bbd(0x3d7)](_0x365f6a),{'left':_0x41631d+_0x12ed1b-_0x199ad6,'top':_0x2a7096+_0x3220d8-_0x4eac9c/0x2,'height':_0x4eac9c,'width':_0x4eac9c,'fill':_0x38d414||_0x40ad79[_0xd67bbd(0x191)](_0x1ced2a[_0xd67bbd(0x247)][_0xd67bbd(0x24a)],0x0),'strokeWidth':0x0,'stroke':_0x38d414||_0x40ad79[_0xd67bbd(0x191)](_0x1ced2a[_0xd67bbd(0x247)][_0xd67bbd(0x24a)],0x0),'evented':!0x1});this[_0xd67bbd(0x131)]=_0x1948d9,this[_0xd67bbd(0x11b)][_0xd67bbd(0x195)](_0x1948d9,_0x2366a5[_0xd67bbd(0x17e)]);const _0x4c6d4d=new _0x4087db(_0x18a3d1+_0x1ced2a[_0xd67bbd(0x3d7)](_0x365f6a),{'left':_0x41631d+_0x12ed1b-_0x199ad6,'top':_0x2a7096+_0x3220d8-_0x121f65,'text':_0x275636,'color':_0x38d414});this['_textBubble']=_0x4c6d4d,this[_0xd67bbd(0x11b)][_0xd67bbd(0x195)](_0x4c6d4d,_0x2366a5[_0xd67bbd(0x17e)]),this[_0xd67bbd(0x317)]=!0x1;}[_0x5f4777(0x129)](){const _0x31f0e8=_0x5f4777,_0x3d6fcb=this[_0x31f0e8(0x391)][_0x31f0e8(0x3f3)][_0x31f0e8(0x330)](()=>{const _0x40eb6f=_0x31f0e8;this[_0x40eb6f(0x317)]=!0x0;}),_0x3f5a24=this['_anchor'][_0x31f0e8(0x125)][_0x31f0e8(0x330)](()=>{const _0x2e0d9c=_0x31f0e8;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x2e0d9c(0x2d9)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x574685=_0x31f0e8;_0x3d6fcb[_0x574685(0x25b)](),_0x3f5a24[_0x574685(0x25b)]();};}[_0x5f4777(0x268)](_0x417d7d,_0x41653c,_0x59b5ae,_0x440002){const _0x340330=_0x5f4777,_0x57add3=new _0x1ced2a[(_0x340330(0x18e))](_0x417d7d)[_0x340330(0x2c4)](0.2)[_0x340330(0x3c4)](),_0x325e5c=new _0x40ad79[(_0x340330(0x35b))](_0x182168+_0x1ced2a[_0x340330(0x3d7)](_0x365f6a),{'pointsGroup':_0x41653c,'fill':_0x57add3||_0x40ad79[_0x340330(0x191)](_0x1ced2a[_0x340330(0x247)][_0x340330(0x24a)],0.2),'left':_0x59b5ae,'top':_0x440002,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x340330(0x18a)][_0x340330(0x263)](_0x325e5c),this[_0x340330(0x11b)][_0x340330(0x195)](_0x325e5c,_0x2366a5['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2ed339,_0x54bf7c,_0x1799c6,_0x251baa){const _0x4283b0=_0x5f4777,_0x245a3a=new _0x1ced2a[(_0x4283b0(0x18e))](_0x2ed339)['setAlpha'](0.2)['toRgbString'](),_0x5a629e=new _0x40ad79['RegularPolygon'](_0x1cbc9f+_0x1ced2a['generateRandomId'](_0x365f6a),{'pointsGroup':_0x54bf7c,'fill':_0x245a3a||_0x40ad79[_0x4283b0(0x191)](_0x1ced2a['COLORS'][_0x4283b0(0x24a)],0.2),'left':_0x1799c6,'top':_0x251baa,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4283b0(0x18a)][_0x4283b0(0x263)](_0x5a629e),this[_0x4283b0(0x11b)][_0x4283b0(0x195)](_0x5a629e,_0x2366a5[_0x4283b0(0x17e)]);}['_getAnchorBounding'](_0x52d4ec){const _0x534de4=_0x52d4ec[0x0],_0x22338d=_0x534de4[0x0],_0x1e1828=_0x534de4[0x2],{x:_0x346484,y:_0x2d7b5e}=_0x22338d,{x:_0x2b5359,y:_0x517b47}=_0x1e1828;return{'left':_0x346484,'top':_0x2d7b5e,'width':_0x2b5359-_0x346484,'height':_0x517b47-_0x2d7b5e};}[_0x5f4777(0x346)](){const _0x29dcc3=_0x5f4777,{scaleX:_0x582f34,scaleY:_0x237548}=this[_0x29dcc3(0x11b)][_0x29dcc3(0x16e)]();return Math[_0x29dcc3(0x1cb)](_0x582f34,_0x237548);}}var _0x4108ef=Object[_0x5f4777(0x29e)],_0x56ec26=(_0x2ca897,_0x60c4b3,_0x1400c6,_0x38ecdd)=>{const _0x560426=_0x5f4777;for(var _0x357cb9=_0x38ecdd>0x1?void 0x0:_0x38ecdd?_0x4108ef(_0x60c4b3,_0x1400c6):_0x60c4b3,_0x4d603d=_0x2ca897[_0x560426(0x15b)]-0x1,_0x561a80;_0x4d603d>=0x0;_0x4d603d--)(_0x561a80=_0x2ca897[_0x4d603d])&&(_0x357cb9=_0x561a80(_0x357cb9)||_0x357cb9);return _0x357cb9;},_0x120ad8=(_0x2be28a,_0x3619ac)=>(_0x3f46f1,_0x3cd64b)=>_0x3619ac(_0x3f46f1,_0x3cd64b,_0x2be28a);let _0x1d2bfc=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x2c9cc4,_0x5f5311,_0x12c0f3,_0x4d3656,_0xa0db3b){const _0x50a36a=_0x5f4777;super(),_0x13969d(this,_0x50a36a(0x21d),[]),_0x13969d(this,_0x50a36a(0x344),[]),(this[_0x50a36a(0x1d6)]=_0x2c9cc4,this[_0x50a36a(0x398)]=_0x5f5311,this[_0x50a36a(0x2ab)]=_0x12c0f3,this[_0x50a36a(0x287)]=_0x4d3656,this[_0x50a36a(0x26d)]=_0xa0db3b,this[_0x50a36a(0x1c6)]());}[_0x5f4777(0x1c6)](){const _0x42277b=_0x5f4777,_0xeec3de=this[_0x42277b(0x1d6)][_0x42277b(0x3d9)],_0x5de34d=this[_0x42277b(0x398)];this[_0x42277b(0x3b8)](_0x5d9504[_0x42277b(0x34a)]([this[_0x42277b(0x2ab)][_0x42277b(0x14f)](_0xeec3de),this[_0x42277b(0x26d)][_0x42277b(0x32f)]])[_0x42277b(0x1b6)](_0x140ef8[_0x42277b(0x3e8)](([_0x1e04cf,_0x17ddf8])=>({'skeleton':_0x5de34d['getSkeleton'](),'cursors':[..._0x1e04cf[_0x42277b(0x162)]()][_0x42277b(0x28b)](_0x2af8b9=>({..._0x2af8b9,'color':this[_0x42277b(0x26d)]['getColorFromTheme'](_0x2af8b9[_0x42277b(0x34c)])}))})))[_0x42277b(0x403)](_0x219d5c=>{const _0x69fde3=_0x42277b;if(this[_0x69fde3(0x368)](),_0x219d5c){const {skeleton:_0x387add,cursors:_0x3b5c7c}=_0x219d5c;this[_0x69fde3(0x1ba)](_0x387add,_0x3b5c7c);}})),this[_0x42277b(0x365)](),this[_0x42277b(0x3f6)]();}[_0x5f4777(0x1ba)](_0x438e42,_0x4a21bf){const _0x3ad21a=_0x5f4777,{scene:_0x406ea8,mainComponent:_0x135152}=this[_0x3ad21a(0x1d6)],_0x246a49=_0x4a21bf[_0x3ad21a(0x3e8)](_0x5d2909=>new _0x46f806(_0x5d2909,_0x406ea8,_0x438e42,_0x135152));this[_0x3ad21a(0x21d)]=_0x246a49,this['_cursors']=_0x4a21bf;}[_0x5f4777(0x2a7)](){const _0x486593=_0x5f4777;this[_0x486593(0x368)]();const {scene:_0x2f258c,mainComponent:_0x52e80e}=this[_0x486593(0x1d6)],_0x31aa9b=this[_0x486593(0x398)]['getSkeleton'](),_0x213188=this[_0x486593(0x344)][_0x486593(0x3e8)](_0x373333=>new _0x46f806(_0x373333,_0x2f258c,_0x31aa9b,_0x52e80e));this[_0x486593(0x21d)]=_0x213188;}['_removeCollabCursors'](){const _0x451e70=_0x5f4777;this[_0x451e70(0x21d)][_0x451e70(0x196)](_0x1f8a14=>_0x1f8a14[_0x451e70(0x256)]()),this[_0x451e70(0x21d)]=[];}[_0x5f4777(0x3f6)](){const _0x51145a=_0x5f4777,_0xb0fa0f=[_0x2366a5[_0x51145a(0x2b2)]['id']];this[_0x51145a(0x3b8)](this[_0x51145a(0x287)][_0x51145a(0x2e9)](_0x307190=>{const _0x29fab4=_0x51145a;_0xb0fa0f[_0x29fab4(0x37a)](_0x307190['id'])&&_0x307190[_0x29fab4(0x278)][_0x29fab4(0x3d9)]===this[_0x29fab4(0x1d6)][_0x29fab4(0x3d9)]&&this[_0x29fab4(0x2a7)]();}));}[_0x5f4777(0x365)](){const _0xfacf6a=_0x5f4777;this[_0xfacf6a(0x3b8)](_0x1ced2a[_0xfacf6a(0x2f4)](this['_context'][_0xfacf6a(0x409)]['onTransformChange$'])[_0xfacf6a(0x1b6)](_0x140ef8[_0xfacf6a(0x2e5)](_0x260360=>_0x260360[_0xfacf6a(0x1c4)]===_0x40ad79[_0xfacf6a(0x2c6)][_0xfacf6a(0x1ae)]),_0x140ef8[_0xfacf6a(0x2e8)](0x10))[_0xfacf6a(0x403)](()=>{this['_refreshCollabCursors']();}));}};_0x1d2bfc=_0x56ec26([_0x120ad8(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x56412a[_0x5f4777(0x19b)])),_0x120ad8(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x114331)),_0x120ad8(0x3,_0x1ced2a[_0x5f4777(0x331)]),_0x120ad8(0x4,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x1c8)]))],_0x1d2bfc);const _0x36566c=0x1,_0xd44dc7=1.5;class _0x1ded08 extends _0x40ad79[_0x5f4777(0x185)]{constructor(_0x3d49a7,_0x43f427){const _0x351c8d=_0x5f4777;super(_0x3d49a7,_0x43f427),_0x13969d(this,_0x351c8d(0x31c)),_0x13969d(this,_0x351c8d(0x2fd),!0x1),_0x13969d(this,'_range'),_0x13969d(this,_0x351c8d(0x1af),''),_0x13969d(this,_0x351c8d(0x2e7),_0x351c8d(0x3c0)),_0x13969d(this,_0x351c8d(0x27e)),(_0x43f427&&this['setShapeProps'](_0x43f427),this[_0x351c8d(0x3f3)]['subscribeEvent'](()=>this[_0x351c8d(0x13e)]({'hovered':!0x0})),this[_0x351c8d(0x125)][_0x351c8d(0x330)](()=>this[_0x351c8d(0x13e)]({'hovered':!0x1})));}['setShapeProps'](_0x21e9f6){const _0x49fc1a=_0x5f4777;var _0x5d05f0,_0x1e8240,_0x593ad6,_0x30994f,_0x55b406,_0x91066;this[_0x49fc1a(0x31c)]=(_0x5d05f0=_0x21e9f6[_0x49fc1a(0x34c)])!=null?_0x5d05f0:this[_0x49fc1a(0x31c)],this[_0x49fc1a(0x2fd)]=(_0x1e8240=_0x21e9f6['hovered'])!=null?_0x1e8240:this['_hovered'],this[_0x49fc1a(0x1c9)]=(_0x593ad6=_0x21e9f6['range'])!=null?_0x593ad6:this['_range'],this[_0x49fc1a(0x1af)]=(_0x30994f=_0x21e9f6['name'])!=null?_0x30994f:this[_0x49fc1a(0x1af)],this[_0x49fc1a(0x2e7)]=(_0x55b406=_0x21e9f6[_0x49fc1a(0x1a1)])!=null?_0x55b406:this[_0x49fc1a(0x2e7)],this[_0x49fc1a(0x27e)]=(_0x91066=_0x21e9f6[_0x49fc1a(0x1bd)])!=null?_0x91066:this['_backgroundColor'],this['transformByState']({'width':_0x21e9f6['width'],'height':_0x21e9f6[_0x49fc1a(0x306)]});}[_0x5f4777(0x17f)](_0x526d7d){const _0x449777=_0x5f4777,{row:_0x3dee2a,column:_0x30674c}=_0x526d7d;if(_0x3dee2a>=this[_0x449777(0x1c9)][_0x449777(0x35e)]&&_0x3dee2a<=this[_0x449777(0x1c9)][_0x449777(0x397)]&&_0x30674c>=this[_0x449777(0x1c9)][_0x449777(0x337)]&&_0x30674c<=this['_range'][_0x449777(0x32d)]){this[_0x449777(0x13e)]({'hovered':!0x0});return;}this[_0x449777(0x13e)]({'hovered':!0x1});}[_0x5f4777(0x319)](_0x53c61d){return!0x1;}[_0x5f4777(0x3f9)](_0x1bcc75){const _0x4a53d6=_0x5f4777;_0x40ad79[_0x4a53d6(0x30e)][_0x4a53d6(0x139)](_0x1bcc75,{'width':this[_0x4a53d6(0x3b9)],'height':this['height'],'strokeWidth':_0xd44dc7,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x1bcc75['save'](),_0x1bcc75[_0x4a53d6(0x408)](0x1,0x0,0x0,0x1,this[_0x4a53d6(0x3b9)],this[_0x4a53d6(0x2e7)]===_0x4a53d6(0x1a2)?0x0:-_0x121f65),_0x4087db[_0x4a53d6(0x139)](_0x1bcc75,{'text':this[_0x4a53d6(0x1af)],'color':this[_0x4a53d6(0x31c)]}),_0x1bcc75[_0x4a53d6(0x38e)]());}}var _0x4e7417=Object[_0x5f4777(0x29e)],_0x1aff11=(_0x6ebf8,_0x235ad5,_0x28de52,_0x154ab5)=>{for(var _0x3ecff7=_0x154ab5>0x1?void 0x0:_0x154ab5?_0x4e7417(_0x235ad5,_0x28de52):_0x235ad5,_0x295a03=_0x6ebf8['length']-0x1,_0x3e7550;_0x295a03>=0x0;_0x295a03--)(_0x3e7550=_0x6ebf8[_0x295a03])&&(_0x3ecff7=_0x3e7550(_0x3ecff7)||_0x3ecff7);return _0x3ecff7;},_0x383762=(_0x217494,_0x49a381)=>(_0x3c5b51,_0xaf583e)=>_0x49a381(_0x3c5b51,_0xaf583e,_0x217494);const _0x470819=0x1389;let _0x389fa1=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x537403,_0x585132,_0x32ff8a,_0x386ccc){const _0x391b63=_0x5f4777;super(),_0x13969d(this,_0x391b63(0x344),new Set()),_0x13969d(this,_0x391b63(0x3bc),null),(this[_0x391b63(0x1d6)]=_0x537403,this['_sheetSkeletonManagerService']=_0x585132,this[_0x391b63(0x2ab)]=_0x32ff8a,this[_0x391b63(0x26d)]=_0x386ccc,this[_0x391b63(0x1c6)]());}['_init'](){const _0xf9ee45=_0x5f4777;this[_0xf9ee45(0x158)][_0xf9ee45(0x3bf)][_0xf9ee45(0x1b6)](_0x140ef8[_0xf9ee45(0x39f)](this[_0xf9ee45(0x197)]),_0x140ef8['switchMap'](_0x4c28f3=>{const _0xfdf393=_0xf9ee45;if(_0x4c28f3){const _0x189062=_0x4c28f3[_0xfdf393(0x21c)];return _0x5d9504[_0xfdf393(0x34a)](this[_0xfdf393(0x2ab)]['getCollabCursors$'](this[_0xfdf393(0x1d6)][_0xfdf393(0x3d9)]),this['_themeService']['currentTheme$'])[_0xfdf393(0x1b6)](_0x140ef8[_0xfdf393(0x3e8)](([_0xa32742,_0x25a8c0])=>{const _0xddc9ff=_0xfdf393,_0x2e9ee5=new Map();return _0xa32742[_0xddc9ff(0x196)]((_0x39af5b,_0x1c12b0)=>{const _0x146617=_0xddc9ff;if(_0x39af5b[_0x146617(0x135)]===_0x189062){const _0x4e10c8={..._0x39af5b};_0x4e10c8[_0x146617(0x34c)]=this[_0x146617(0x26d)][_0x146617(0x33f)](_0x39af5b[_0x146617(0x34c)]),_0x2e9ee5[_0x146617(0x2a2)](_0x1c12b0,_0x4e10c8);}}),{'skeleton':_0x4c28f3,'cursors':_0x2e9ee5};}));}return _0x5d9504['of']({'skeleton':null,'cursors':new Map()});}))[_0xf9ee45(0x403)](({skeleton:_0x2e6187,cursors:_0x13b990})=>{const _0x50709b=_0xf9ee45;this[_0x50709b(0x368)](),_0x2e6187&&this['_updateCollabCursors'](_0x2e6187,_0x13b990);}),this['_sheetSkeletonManagerService'][_0xf9ee45(0x3bf)]['subscribe'](_0x4fc71a=>{const _0x2f6047=_0xf9ee45;if(_0x4fc71a==null)return;const {skeleton:_0x59b4c2}=_0x4fc71a,{scene:_0x406e0f}=this[_0x2f6047(0x1d6)];_0x406e0f['onPointerMove$'][_0x2f6047(0x330)](_0x1ced2a[_0x2f6047(0x1d3)](_0x2526a8=>{const _0x29c3f5=_0x2f6047;var _0x537aa8,_0x5d2975;const {offsetX:_0x2f31b0,offsetY:_0x12e2fd}=_0x2526a8,{x:_0x52a11,y:_0x1972b0}=_0x406e0f[_0x29c3f5(0x329)](_0x40ad79['Vector2'][_0x29c3f5(0x3df)]([_0x2f31b0,_0x12e2fd])),{scaleX:_0x42f6d9,scaleY:_0x394a9d}=_0x406e0f[_0x29c3f5(0x16e)](),_0x17ad3c=_0x406e0f[_0x29c3f5(0x3c3)](_0x40ad79[_0x29c3f5(0x1e6)]['VIEW_MAIN']),_0x5c9fc5=_0x406e0f['getVpScrollXYInfoByPosToVp'](_0x40ad79['Vector2']['FromArray']([_0x52a11,_0x1972b0]),_0x17ad3c),_0x5ef360=_0x59b4c2[_0x29c3f5(0x239)](_0x2f31b0,_0x12e2fd,_0x42f6d9,_0x394a9d,_0x5c9fc5);((_0x537aa8=this[_0x29c3f5(0x3bc)])==null?void 0x0:_0x537aa8[_0x29c3f5(0x233)])===_0x5ef360[_0x29c3f5(0x233)]&&((_0x5d2975=this['_lastPointer'])==null?void 0x0:_0x5d2975[_0x29c3f5(0x203)])===_0x5ef360[_0x29c3f5(0x203)]||this[_0x29c3f5(0x344)]['forEach'](_0xad4eda=>{const _0x375d7e=_0x29c3f5;_0xad4eda[_0x375d7e(0x17f)](_0x5ef360);});},0x64));});}['_updateCollabCursors'](_0x312bb0,_0x5ce151){const _0x594311=_0x5f4777;var _0x2d9b39;const _0x1faf87=(_0x2d9b39=this[_0x594311(0x158)][_0x594311(0x213)]())==null?void 0x0:_0x2d9b39['skeleton'];if(!_0x1faf87)return;const _0x25a349=this[_0x594311(0x3fb)]();if(!_0x25a349)return;this[_0x594311(0x344)][_0x594311(0x196)](_0x53ce13=>{const _0x6bc856=_0x594311;_0x53ce13[_0x6bc856(0x16b)]();});const {scene:_0xa6b842}=_0x25a349,_0x5c47d9=_0x2e3171(Array[_0x594311(0x1c7)](_0x5ce151['values']()))[_0x594311(0x3e8)](_0x4e26e9=>{const _0x5be32a=_0x594311,{color:_0x47901d,range:_0x4f1a51,name:_0x47812d,selection:_0x1c7d33,sheetID:_0x12bdd4}=_0x4e26e9,{startColumn:_0xaa0a64,startRow:_0x20ce9f,endColumn:_0x580c9f,endRow:_0x26417d}=_0x4f1a51,_0x593a9c=_0x1f5a13['getCoordByCell'](_0x20ce9f,_0xaa0a64,_0xa6b842,_0x1faf87),_0xea643d=_0x1f5a13['getCoordByCell'](_0x26417d,_0x580c9f,_0xa6b842,_0x1faf87),{columnHeaderHeightAndMarginTop:_0x109650}=_0x1faf87,{startX:_0x536e55,startY:_0x2235a9}=_0x593a9c,{endX:_0x385f1c,endY:_0x399ec4}=_0xea643d,_0xd7597f=_0x385f1c-_0x536e55,_0x29d2fd=_0x399ec4-_0x2235a9,_0x42cb89={'labelPosition':_0x2235a9-_0x109650>=_0x121f65?_0x5be32a(0x3c0):'bottom','sheetID':_0x12bdd4,'range':_0x4f1a51,'color':_0x47901d,'name':_0x47812d,'selection':_0x1c7d33,'left':_0x536e55,'top':_0x2235a9,'width':_0xd7597f,'height':_0x29d2fd,'evented':!0x1,'zIndex':_0x470819};return new _0x1ded08(_0x47812d,_0x42cb89);});_0xa6b842[_0x594311(0x1b5)](_0x5c47d9,_0x36566c),this['_cursors']=new Set(_0x5c47d9);}[_0x5f4777(0x368)](){const _0x1bede8=_0x5f4777;var _0x304696;(_0x304696=this[_0x1bede8(0x344)])==null||_0x304696['forEach'](_0x20a2f7=>_0x20a2f7[_0x1bede8(0x256)]());}['_getSheetObject'](){const _0x496bad=_0x5f4777;return _0x1f5a13['getSheetObject'](this['_context'][_0x496bad(0x1f7)],this[_0x496bad(0x1d6)]);}};_0x389fa1=_0x1aff11([_0x383762(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x1f5a13['SheetSkeletonManagerService'])),_0x383762(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x114331)),_0x383762(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x1c8)]))],_0x389fa1);function _0x2e3171(_0x3095df){const _0x203fd1=_0x5f4777,_0x322081=new Map();return _0x3095df[_0x203fd1(0x196)](_0x1ce996=>{const _0x45ae0b=_0x203fd1;if(_0x322081[_0x45ae0b(0x2be)](_0x1ce996[_0x45ae0b(0x3ce)])){const _0x30334c=_0x322081[_0x45ae0b(0x2b5)](_0x1ce996[_0x45ae0b(0x3ce)]);_0x30334c[_0x45ae0b(0x308)]+=',\x20'+_0x1ce996['name'];}else _0x322081['set'](_0x1ce996[_0x45ae0b(0x3ce)],_0x1ce996);}),Array[_0x203fd1(0x1c7)](_0x322081[_0x203fd1(0x162)]());}var _0x63bf74=Object[_0x5f4777(0x29e)],_0x3705e7=(_0x5a5c9f,_0x4ae00a,_0x36103c,_0x1ad340)=>{for(var _0x117186=_0x1ad340>0x1?void 0x0:_0x1ad340?_0x63bf74(_0x4ae00a,_0x36103c):_0x4ae00a,_0x280956=_0x5a5c9f['length']-0x1,_0x333e71;_0x280956>=0x0;_0x280956--)(_0x333e71=_0x5a5c9f[_0x280956])&&(_0x117186=_0x333e71(_0x117186)||_0x117186);return _0x117186;},_0x21d23a=(_0x56c8ba,_0x29f021)=>(_0x38d747,_0x53e261)=>_0x29f021(_0x38d747,_0x53e261,_0x56c8ba);let _0x46dcf1=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x5aebf9,_0x147e8a,_0x4a3d7e,_0xd607d7,_0x123da9,_0x2feaed){const _0x4529e6=_0x5f4777;super(),this[_0x4529e6(0x254)]=_0x5aebf9,this[_0x4529e6(0x176)]=_0x147e8a,this[_0x4529e6(0x297)]=_0x4a3d7e,this[_0x4529e6(0x379)]=_0xd607d7,this['_notificationService']=_0x123da9,this[_0x4529e6(0x23f)]=_0x2feaed,this[_0x4529e6(0x214)](),this[_0x4529e6(0x31d)]();}[_0x5f4777(0x214)](){const _0x163add=_0x5f4777;this[_0x163add(0x3b8)](this[_0x163add(0x254)][_0x163add(0x193)](()=>{const _0x4f4f65=_0x163add;if(this[_0x4f4f65(0x176)][_0x4f4f65(0x1ca)]['size'])return this[_0x4f4f65(0x23f)]['t'](_0x4f4f65(0x202));}));}['_initEvent'](){const _0x4cc268=_0x5f4777;this[_0x4cc268(0x3b8)](this['_collaborationUIEventService'][_0x4cc268(0x2bd)][_0x4cc268(0x403)](_0x147ed4=>{const _0x42a62b=_0x4cc268;_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x1d2)]&&this[_0x42a62b(0x379)][_0x42a62b(0x2d8)]({'type':_0x52c80f[_0x42a62b(0x2a4)][_0x42a62b(0x2cf)],'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x235))}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x1fd)]&&this[_0x42a62b(0x379)]['show']({'type':_0x52c80f['MessageType'][_0x42a62b(0x2cf)],'content':this['_localeService']['t'](_0x42a62b(0x1e1))}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x3cd)]&&this[_0x42a62b(0x281)][_0x42a62b(0x2d8)]({'title':this['_localeService']['t'](_0x42a62b(0x3c1)),'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x402)),'type':_0x42a62b(0x382),'duration':0x0}),_0x147ed4['id']===_0x378bf4['CollaborationUIEventId'][_0x42a62b(0x1f3)]&&this['_messageService'][_0x42a62b(0x2d8)]({'type':_0x52c80f[_0x42a62b(0x2a4)][_0x42a62b(0x2f7)],'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x1e1))+'('+_0x147ed4[_0x42a62b(0x241)]+')'}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x1b4)]&&this[_0x42a62b(0x379)][_0x42a62b(0x2d8)]({'type':_0x52c80f['MessageType'][_0x42a62b(0x2cf)],'content':this[_0x42a62b(0x23f)]['t'](_0x147ed4[_0x42a62b(0x241)]||'')}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x236)]&&this[_0x42a62b(0x379)][_0x42a62b(0x2d8)]({'type':_0x52c80f[_0x42a62b(0x2a4)][_0x42a62b(0x2cf)],'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x40c))}),_0x147ed4['id']===_0x378bf4['CollaborationUIEventId'][_0x42a62b(0x23a)]&&this['_messageService']['show']({'type':_0x52c80f['MessageType'][_0x42a62b(0x2f7)],'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x333))}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x175)]&&this[_0x42a62b(0x379)][_0x42a62b(0x2d8)]({'type':_0x52c80f[_0x42a62b(0x2a4)][_0x42a62b(0x2f7)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x46dcf1=_0x3705e7([_0x21d23a(0x0,_0x19c552[_0x5f4777(0x3a1)]),_0x21d23a(0x1,_0x378bf4['ILocalCacheService']),_0x21d23a(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4['CollaborationUIEventService'])),_0x21d23a(0x3,_0x19c552[_0x5f4777(0x3bb)]),_0x21d23a(0x4,_0x19c552[_0x5f4777(0x13c)]),_0x21d23a(0x5,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x276)]))],_0x46dcf1);var _0x17db85=Object['getOwnPropertyDescriptor'],_0x1fda66=(_0x52c4d9,_0x4bb01b,_0xeae103,_0x47bf16)=>{for(var _0x493bd9=_0x47bf16>0x1?void 0x0:_0x47bf16?_0x17db85(_0x4bb01b,_0xeae103):_0x4bb01b,_0x4195eb=_0x52c4d9['length']-0x1,_0x4a68cb;_0x4195eb>=0x0;_0x4195eb--)(_0x4a68cb=_0x52c4d9[_0x4195eb])&&(_0x493bd9=_0x4a68cb(_0x493bd9)||_0x493bd9);return _0x493bd9;},_0x510efe=(_0x189065,_0x4e9b5e)=>(_0x26be12,_0x3e3f47)=>_0x4e9b5e(_0x26be12,_0x3e3f47,_0x189065);let _0x2f3392=class extends _0x1ced2a['Disposable']{constructor(_0x611c93,_0x35a3b0,_0x330b11,_0x1d4319){const _0x5d7613=_0x5f4777;super(),_0x13969d(this,_0x5d7613(0x142)),(this['_injector']=_0x611c93,this[_0x5d7613(0x174)]=_0x35a3b0,this['_logService']=_0x330b11,this[_0x5d7613(0x155)]=_0x1d4319,this[_0x5d7613(0x1c6)]());}[_0x5f4777(0x1c6)](){const _0x56bc38=_0x5f4777;this[_0x56bc38(0x17b)](),this['_initUnhandledRejectionListener'](),this[_0x56bc38(0x2b8)](),this[_0x56bc38(0x31a)]();}[_0x5f4777(0x31a)](){const _0x26fef7=_0x5f4777;this[_0x26fef7(0x3b8)](this[_0x26fef7(0x155)]['socket$'][_0x26fef7(0x403)](_0x42e342=>{this['_memberID']=_0x42e342==null?void 0x0:_0x42e342['memberID'];}));}[_0x5f4777(0x17b)](){const _0x3ef9e6=_0x5f4777,_0x1522d7=_0x3314aa=>{const _0x138dda=_0x1d45;var _0x41143f;this['_uploadLog'](_0x138dda(0x382),_0x138dda(0x14a)+_0x3314aa[_0x138dda(0x3f0)]+'\x20at\x20'+_0x3314aa[_0x138dda(0x3d3)]+':'+_0x3314aa[_0x138dda(0x1e8)]+':'+_0x3314aa['colno']+'\x0a'+(((_0x41143f=_0x3314aa[_0x138dda(0x382)])==null?void 0x0:_0x41143f[_0x138dda(0x137)])||''));};window[_0x3ef9e6(0x22d)](_0x3ef9e6(0x382),_0x1522d7),this[_0x3ef9e6(0x3b8)](()=>{window['removeEventListener']('error',_0x1522d7);});}[_0x5f4777(0x12a)](){const _0xf967a5=_0x5f4777,_0x4f9647=_0x3e283c=>{const _0x389bd6=_0x1d45;this[_0x389bd6(0x325)]('error','[Unhandled\x20Rejection]:\x20'+_0x3e283c[_0x389bd6(0x40d)]);};window['addEventListener'](_0xf967a5(0x28a),_0x4f9647),this[_0xf967a5(0x3b8)](()=>{const _0x3368f9=_0xf967a5;window[_0x3368f9(0x33c)](_0x3368f9(0x28a),_0x4f9647);});}['_monkeyPatchLogService'](){const _0x5ee80b=_0x5f4777,_0x36ab41=this[_0x5ee80b(0x1f1)][_0x5ee80b(0x382)][_0x5ee80b(0x3c9)](this[_0x5ee80b(0x1f1)]);this[_0x5ee80b(0x1f1)]['error']=(..._0x4b29a2)=>{const _0x2f88ac=_0x5ee80b,_0x4daf54=_0x4b29a2[_0x2f88ac(0x3e8)](_0xafb800=>_0xafb800 instanceof Error?_0xafb800[_0x2f88ac(0x3f0)]+'\x0a'+_0xafb800[_0x2f88ac(0x137)]:String(_0xafb800))[_0x2f88ac(0x12c)]('\x20');this[_0x2f88ac(0x325)](_0x2f88ac(0x382),_0x2f88ac(0x2a6)+_0x4daf54),_0x36ab41(..._0x4b29a2);},this[_0x5ee80b(0x3b8)](()=>{const _0x276642=_0x5ee80b;this[_0x276642(0x1f1)][_0x276642(0x382)]=_0x36ab41;});}['_uploadLog'](_0x139890,_0x7f7b4e){const _0x438141=_0x5f4777;try{const _0x4dcf47={'userId':this[_0x438141(0x142)],'logLabel':_0x139890,'content':_0x7f7b4e};this[_0x438141(0x174)][_0x438141(0x1bb)](_0x438141(0x1d8),{'body':_0x4dcf47})['catch'](()=>{});}catch{}}};_0x2f3392=_0x1fda66([_0x510efe(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a['Injector'])),_0x510efe(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x5d4294[_0x5f4777(0x2f5)])),_0x510efe(0x2,_0x1ced2a[_0x5f4777(0x14b)]),_0x510efe(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4[_0x5f4777(0x2ff)]))],_0x2f3392);const _0x2ebc66=_0x5f4777(0x322),_0x501443={};var _0x426cfa=Object['getOwnPropertyDescriptor'],_0x5985b6=(_0x58a998,_0x1a506a,_0x139fc8,_0x39950f)=>{for(var _0x348650=_0x39950f>0x1?void 0x0:_0x39950f?_0x426cfa(_0x1a506a,_0x139fc8):_0x1a506a,_0x3c1c40=_0x58a998['length']-0x1,_0x40f8af;_0x3c1c40>=0x0;_0x3c1c40--)(_0x40f8af=_0x58a998[_0x3c1c40])&&(_0x348650=_0x40f8af(_0x348650)||_0x348650);return _0x348650;},_0x20b7e5=(_0x2ada4e,_0x1bc6cc)=>(_0x190a01,_0x24adca)=>_0x1bc6cc(_0x190a01,_0x24adca,_0x2ada4e);let _0x446ab5=class{constructor(_0x13a52b,_0x1b8213){const _0x1c8cc9=_0x5f4777;this[_0x1c8cc9(0x327)]=_0x13a52b,this['_renderManagerService']=_0x1b8213;}[_0x5f4777(0x204)](_0x10a4eb){this['_transformUndoRedoStack'](_0x10a4eb),this['_transformPreviousActiveRange'](_0x10a4eb);}[_0x5f4777(0x20a)](_0x5846f2){const _0x326ebd=_0x5f4777,{unitID:_0x4af131}=_0x5846f2,_0x4033dc=this['_renderManagerService'][_0x326ebd(0x231)](_0x4af131)[_0x326ebd(0x234)](_0x2366a5[_0x326ebd(0x2ec)]),{redoCache:_0x2a7a00}=_0x4033dc[_0x326ebd(0x1e5)]();if(_0x2a7a00[_0x326ebd(0x15b)]===0x0)return _0x5846f2;let _0x3291f6=_0x1ced2a[_0x326ebd(0x32c)]['deepClone'](_0x5846f2[_0x326ebd(0x3a8)][0x0]);for(let _0x182dfc=0x0;_0x182dfc<_0x2a7a00['length'];_0x182dfc++){const _0x2452ed={'id':'doc.mutation.rich-text-editing','params':{..._0x2a7a00[_0x182dfc]}},_0x374604=this[_0x326ebd(0x327)][_0x326ebd(0x3dd)](_0x3291f6,_0x2452ed,!0x1);if(_0x28eb5b['isTransformMutationFailure'](_0x374604))throw _0x374604[_0x326ebd(0x382)];_0x3291f6=_0x374604[_0x326ebd(0x3db)];}return{..._0x1ced2a[_0x326ebd(0x32c)][_0x326ebd(0x13d)](_0x5846f2),'mutations':[_0x3291f6]};}[_0x5f4777(0x3fe)](_0x4c9d95){const _0x2db308=_0x5f4777,{unitID:_0x24f0dc}=_0x4c9d95,_0x10acde=this['_renderManagerService']['getRenderById'](_0x24f0dc)[_0x2db308(0x234)](_0x2366a5['DocIMEInputManagerService']),{undoCache:_0x2c0a52,redoCache:_0xa978b1}=_0x10acde[_0x2db308(0x1e5)]();if(_0x2c0a52[_0x2db308(0x15b)]===0x0||_0xa978b1['length']===0x0)return;const _0x22e72e=[],_0x54dbb8=[];let _0x2980c7=_0x1ced2a[_0x2db308(0x32c)]['deepClone'](_0x4c9d95['mutations'][0x0]),_0x4b90bd=_0x1ced2a['Tools'][_0x2db308(0x13d)](_0x4c9d95['mutations'][0x0]);for(let _0x1ad4ff=_0x2c0a52[_0x2db308(0x15b)]-0x1;_0x1ad4ff>=0x0;_0x1ad4ff--){const _0x11218c={'id':'doc.mutation.rich-text-editing','params':{..._0x2c0a52[_0x1ad4ff]}},_0x3de4f3={'id':_0x2db308(0x36e),'params':{..._0xa978b1[_0x1ad4ff]}},_0xa4efab=this[_0x2db308(0x327)][_0x2db308(0x3dd)](_0x2980c7,_0x11218c,!0x1),_0x3650e8=this[_0x2db308(0x327)][_0x2db308(0x3dd)](_0x4b90bd,_0x3de4f3,!0x1);if(_0x28eb5b['isTransformMutationFailure'](_0xa4efab))throw _0xa4efab[_0x2db308(0x382)];if(_0x28eb5b[_0x2db308(0x223)](_0x3650e8))throw _0x3650e8[_0x2db308(0x382)];_0x22e72e[_0x2db308(0x3f1)](_0xa4efab[_0x2db308(0x3d1)][_0x2db308(0x278)]),_0x54dbb8[_0x2db308(0x3f1)](_0x3650e8[_0x2db308(0x3d1)]['params']),_0x2980c7=_0xa4efab[_0x2db308(0x3db)],_0x4b90bd=_0x3650e8[_0x2db308(0x3db)];}_0x10acde[_0x2db308(0x28e)]({'undoCache':_0x22e72e,'redoCache':_0x54dbb8});}[_0x5f4777(0x17a)](_0x77e8d0){const _0x39a921=_0x5f4777,{unitID:_0x4c79a9}=_0x77e8d0,_0x3d74dd=this[_0x39a921(0x2e4)][_0x39a921(0x231)](_0x4c79a9)[_0x39a921(0x234)](_0x2366a5[_0x39a921(0x2ec)]),_0x378a73=_0x3d74dd[_0x39a921(0x406)]();if(_0x378a73==null)return;const _0x20df4b=[{'id':_0x39a921(0x36e),'params':{'unitId':_0x77e8d0['unitID'],'actions':null,'textRanges':[_0x378a73]}}],_0x2ce321=this[_0x39a921(0x327)][_0x39a921(0x1cf)](_0x77e8d0,_0x20df4b);if(!_0x28eb5b[_0x39a921(0x2b3)](_0x2ce321))throw _0x2ce321['error'];const _0x374686=_0x2ce321[_0x39a921(0x3d1)][0x0][_0x39a921(0x278)][_0x39a921(0x29d)];Array['isArray'](_0x374686)&&_0x374686[_0x39a921(0x15b)]&&_0x3d74dd[_0x39a921(0x407)](_0x374686[0x0]);}};_0x446ab5=_0x5985b6([_0x20b7e5(0x0,_0x28eb5b['ITransformService']),_0x20b7e5(0x1,_0x40ad79[_0x5f4777(0x2f0)])],_0x446ab5);var _0x15886d=Object[_0x5f4777(0x29e)],_0x3bd51f=(_0x34b8eb,_0x29501a,_0x43c84e,_0x3f9549)=>{const _0xa3134=_0x5f4777;for(var _0x3e6951=_0x3f9549>0x1?void 0x0:_0x3f9549?_0x15886d(_0x29501a,_0x43c84e):_0x29501a,_0x57c142=_0x34b8eb[_0xa3134(0x15b)]-0x1,_0x163e0e;_0x57c142>=0x0;_0x57c142--)(_0x163e0e=_0x34b8eb[_0x57c142])&&(_0x3e6951=_0x163e0e(_0x3e6951)||_0x3e6951);return _0x3e6951;},_0x609ff6=(_0x2e8bfc,_0x52f7a0)=>(_0x348787,_0x1c00de)=>_0x52f7a0(_0x348787,_0x1c00de,_0x2e8bfc);let _0x4c587c=class{constructor(_0x58e95a,_0x4ee4ec,_0x50a3b7){const _0xa08551=_0x5f4777;this[_0xa08551(0x34e)]=_0x58e95a,this[_0xa08551(0x327)]=_0x4ee4ec,this[_0xa08551(0x249)]=_0x50a3b7;}[_0x5f4777(0x2bc)](_0x18a5b9){const _0x24f2ea=_0x5f4777;this[_0x24f2ea(0x198)](_0x18a5b9);}['transformRemoteChangeset'](_0x1b6e55){const _0x46baa8=_0x5f4777,{unitID:_0x3460a8}=_0x1b6e55,{collaboration:_0x3bcc7c}=this[_0x46baa8(0x249)][_0x46baa8(0x147)](_0x3460a8);if(_0x3bcc7c[_0x46baa8(0x15b)]===0x0)return _0x1b6e55;let _0x289f99=_0x1ced2a['Tools'][_0x46baa8(0x13d)](_0x1b6e55[_0x46baa8(0x3a8)][0x0]);for(let _0x22c2a2=0x0;_0x22c2a2<_0x3bcc7c[_0x46baa8(0x15b)];_0x22c2a2++){const _0x253e34={'id':_0x46baa8(0x36e),'params':{'unitId':_0x3bcc7c[_0x22c2a2]['unitId'],..._0x3bcc7c[_0x22c2a2][_0x46baa8(0x1df)]}},_0x1085cb=this[_0x46baa8(0x327)]['transformMutation'](_0x289f99,_0x253e34,!0x1);if(_0x28eb5b['isTransformMutationFailure'](_0x1085cb))throw _0x1085cb[_0x46baa8(0x382)];_0x289f99=_0x1085cb['m1Prime'];}return{..._0x1ced2a['Tools'][_0x46baa8(0x13d)](_0x1b6e55),'mutations':[_0x289f99]};}['_transformHistoryAndStateStack'](_0x392a4c){const _0x546c64=_0x5f4777,{unitID:_0x207c8a}=_0x392a4c,{history:_0x3c288d,collaboration:_0x19f1b2}=this['_docStateChangeManagerService'][_0x546c64(0x147)](_0x207c8a);if(_0x3c288d['length']===0x0&&_0x19f1b2[_0x546c64(0x15b)]===0x0)return;const _0xc45a26=[],_0x217095=[];let _0x5e392d=_0x1ced2a['Tools'][_0x546c64(0x13d)](_0x392a4c[_0x546c64(0x3a8)][0x0]),_0x2ff283=_0x1ced2a[_0x546c64(0x32c)][_0x546c64(0x13d)](_0x392a4c[_0x546c64(0x3a8)][0x0]);for(let _0x44720f=_0x3c288d['length']-0x1;_0x44720f>=0x0;_0x44720f--){const _0x195ca7={'id':_0x546c64(0x36e),'params':{'unitId':_0x3c288d[_0x44720f][_0x546c64(0x3d9)],..._0x3c288d[_0x44720f][_0x546c64(0x1a8)]}},_0x2adb92={'id':_0x546c64(0x36e),'params':{'unitId':_0x3c288d[_0x44720f]['unitId'],..._0x3c288d[_0x44720f][_0x546c64(0x1df)]}},_0x50029b=this[_0x546c64(0x327)][_0x546c64(0x3dd)](_0x5e392d,_0x195ca7,!0x1),_0x591417=this['_transformService'][_0x546c64(0x3dd)](_0x2ff283,_0x2adb92,!0x1);if(_0x28eb5b[_0x546c64(0x223)](_0x50029b))throw _0x50029b[_0x546c64(0x382)];if(_0x28eb5b[_0x546c64(0x223)](_0x591417))throw _0x591417[_0x546c64(0x382)];_0xc45a26[_0x546c64(0x3f1)]({..._0x3c288d[_0x44720f],'undoState':_0x50029b[_0x546c64(0x3d1)][_0x546c64(0x278)],'redoState':_0x591417['m2Prime'][_0x546c64(0x278)]}),_0x5e392d=_0x50029b[_0x546c64(0x3db)],_0x2ff283=_0x591417[_0x546c64(0x3db)];}_0x5e392d=_0x1ced2a['Tools'][_0x546c64(0x13d)](_0x392a4c[_0x546c64(0x3a8)][0x0]),_0x2ff283=_0x1ced2a['Tools'][_0x546c64(0x13d)](_0x392a4c[_0x546c64(0x3a8)][0x0]);for(let _0x43db06=_0x19f1b2[_0x546c64(0x15b)]-0x1;_0x43db06>=0x0;_0x43db06--){const _0x3fb71f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x19f1b2[_0x43db06][_0x546c64(0x3d9)],..._0x19f1b2[_0x43db06]['undoState']}},_0x4affa8={'id':_0x546c64(0x36e),'params':{'unitId':_0x19f1b2[_0x43db06][_0x546c64(0x3d9)],..._0x19f1b2[_0x43db06]['redoState']}},_0x14ccc2=this['_transformService'][_0x546c64(0x3dd)](_0x5e392d,_0x3fb71f,!0x1),_0x4cbe2a=this[_0x546c64(0x327)][_0x546c64(0x3dd)](_0x2ff283,_0x4affa8,!0x1);if(_0x28eb5b[_0x546c64(0x223)](_0x14ccc2))throw _0x14ccc2['error'];if(_0x28eb5b['isTransformMutationFailure'](_0x4cbe2a))throw _0x4cbe2a[_0x546c64(0x382)];_0x217095[_0x546c64(0x3f1)]({..._0x19f1b2[_0x43db06],'undoState':_0x14ccc2[_0x546c64(0x3d1)][_0x546c64(0x278)],'redoState':_0x4cbe2a['m2Prime'][_0x546c64(0x278)]}),_0x5e392d=_0x14ccc2[_0x546c64(0x3db)],_0x2ff283=_0x4cbe2a[_0x546c64(0x3db)];}this[_0x546c64(0x249)][_0x546c64(0x1fe)](_0x207c8a,{'history':_0xc45a26,'collaboration':_0x217095});}};_0x4c587c=_0x3bd51f([_0x609ff6(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x609ff6(0x1,_0x28eb5b[_0x5f4777(0x218)]),_0x609ff6(0x2,_0x1ced2a['Inject'](_0x2366a5['DocStateChangeManagerService']))],_0x4c587c);var _0x129c0b=Object[_0x5f4777(0x29e)],_0x337979=(_0x4407b1,_0x461671,_0x1302c1,_0x25afba)=>{const _0x356d5c=_0x5f4777;for(var _0x28778a=_0x25afba>0x1?void 0x0:_0x25afba?_0x129c0b(_0x461671,_0x1302c1):_0x461671,_0x4fae6a=_0x4407b1[_0x356d5c(0x15b)]-0x1,_0x23e382;_0x4fae6a>=0x0;_0x4fae6a--)(_0x23e382=_0x4407b1[_0x4fae6a])&&(_0x28778a=_0x23e382(_0x28778a)||_0x28778a);return _0x28778a;},_0x1356c6=(_0x308895,_0x443b10)=>(_0x535ec3,_0x44bb37)=>_0x443b10(_0x535ec3,_0x44bb37,_0x308895);let _0x485ed5=class{constructor(_0x44d61f,_0x330dea){const _0x71eb45=_0x5f4777;this[_0x71eb45(0x34e)]=_0x44d61f,this['_transformService']=_0x330dea;}[_0x5f4777(0x354)](_0x151ada){const _0x48e9fe=_0x5f4777;var _0xff4b0;const _0xb1d177=this['_injector'][_0x48e9fe(0x2b5)](_0x56412a[_0x48e9fe(0x189)]),_0x35aa10=(_0xff4b0=_0xb1d177[_0x48e9fe(0x366)]())!=null?_0xff4b0:[];if(_0x35aa10['length']===0x0)return;const _0x253c0b=_0x151ada[_0x48e9fe(0x1f0)],_0x11e5b7=[{'id':_0x48e9fe(0x36e),'params':{'unitId':_0x253c0b,'actions':null,'textRanges':_0x35aa10}}],_0x563a76=this[_0x48e9fe(0x327)][_0x48e9fe(0x1cf)](_0x151ada,_0x11e5b7);if(!_0x28eb5b[_0x48e9fe(0x2b3)](_0x563a76))throw _0x563a76['error'];const _0x2c8b67=_0x563a76[_0x48e9fe(0x3d1)][0x0]['params']['textRanges'];Array[_0x48e9fe(0x192)](_0x2c8b67)&&_0x2c8b67[_0x48e9fe(0x15b)]&&_0xb1d177[_0x48e9fe(0x3f7)](_0x2c8b67,{'unitId':_0x253c0b,'subUnitId':_0x253c0b},!0x1);}};_0x485ed5=_0x337979([_0x1356c6(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x1356c6(0x1,_0x28eb5b[_0x5f4777(0x218)])],_0x485ed5);var _0x1b744d=Object[_0x5f4777(0x29e)],_0x5e4bc5=(_0x178420,_0x54f6be,_0x79ccbe,_0x436ba9)=>{for(var _0x5bb17e=_0x436ba9>0x1?void 0x0:_0x436ba9?_0x1b744d(_0x54f6be,_0x79ccbe):_0x54f6be,_0x463d5c=_0x178420['length']-0x1,_0x5a6b60;_0x463d5c>=0x0;_0x463d5c--)(_0x5a6b60=_0x178420[_0x463d5c])&&(_0x5bb17e=_0x5a6b60(_0x5bb17e)||_0x5bb17e);return _0x5bb17e;},_0x2ed7c8=(_0xb78021,_0xc2908b)=>(_0x2ee809,_0x571369)=>_0xc2908b(_0x2ee809,_0x571369,_0xb78021);let _0x3bdf42=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x4fddc6,_0x11abf2,_0x15a176,_0x322de6,_0x5392e9,_0x5bee02,_0x500a3f,_0x540b6e){const _0x21cf60=_0x5f4777;super(),_0x13969d(this,_0x21cf60(0x342),new _0x5d9504[(_0x21cf60(0x149))](_0x378bf4['CollaborationStatus']['NOT_COLLAB'])),(this[_0x21cf60(0x249)]=_0x4fddc6,this[_0x21cf60(0x272)]=_0x11abf2,this[_0x21cf60(0x2a3)]=_0x15a176,this['_docTransformStateCacheService']=_0x322de6,this['_docTransformSelectionsService']=_0x5392e9,this[_0x21cf60(0x3e9)]=_0x5bee02,this[_0x21cf60(0x379)]=_0x500a3f,this[_0x21cf60(0x23f)]=_0x540b6e,this[_0x21cf60(0x39a)]());}[_0x5f4777(0x39a)](){const _0x437a09=_0x5f4777;this[_0x437a09(0x3b8)](this[_0x437a09(0x272)][_0x437a09(0x40b)]['subscribe'](_0x4476ab=>{const _0x467bd0=_0x437a09,_0x333551=this[_0x467bd0(0x249)]['docStateChange$'][_0x467bd0(0x403)](_0x5b59fc=>{const _0x106422=_0x467bd0;if(_0x5b59fc==null)return;const {unitId:_0x2719f4,redoState:_0x599be8,commandId:_0x12015f}=_0x5b59fc;if(_0x2719f4!==_0x4476ab[_0x106422(0x1f0)])return;const _0x393b46={'id':_0x12015f,'type':_0x1ced2a[_0x106422(0x251)][_0x106422(0x404)],'params':{'unitId':_0x2719f4,'actions':_0x599be8[_0x106422(0x20f)],'textRanges':null}};_0x4476ab[_0x106422(0x348)](_0x393b46);});if(_0x4476ab['disposeWithMe'](_0x333551),_0x4476ab instanceof _0x378bf4[_0x467bd0(0x253)]){const _0x1696d2={'onTransformIME':_0x489fb0=>this[_0x467bd0(0x2a3)][_0x467bd0(0x204)](_0x489fb0),'onTransformState':_0x528af6=>this[_0x467bd0(0x27a)][_0x467bd0(0x2bc)](_0x528af6),'onTransformSelections':_0x2025e5=>this[_0x467bd0(0x264)][_0x467bd0(0x354)](_0x2025e5),'onSyncEditingCollabCursor':_0x2b847b=>this[_0x467bd0(0x3e9)][_0x467bd0(0x383)](_0x2b847b),'onTransformRemoteChangesetByIMECache':_0x3635b8=>this['_docTransformIMECacheService'][_0x467bd0(0x20a)](_0x3635b8),'onTransformRemoteChangesetByStateCache':_0x3ba584=>this[_0x467bd0(0x27a)][_0x467bd0(0x20a)](_0x3ba584)};_0x4476ab['addHandlerCallback'](_0x1696d2);}}));}};_0x3bdf42=_0x5e4bc5([_0x2ed7c8(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x2366a5[_0x5f4777(0x307)])),_0x2ed7c8(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4[_0x5f4777(0x212)])),_0x2ed7c8(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x446ab5)),_0x2ed7c8(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x4c587c)),_0x2ed7c8(0x4,_0x1ced2a[_0x5f4777(0x3e1)](_0x485ed5)),_0x2ed7c8(0x5,_0x1ced2a['Inject'](_0x29a65a)),_0x2ed7c8(0x6,_0x19c552[_0x5f4777(0x3bb)]),_0x2ed7c8(0x7,_0x1ced2a['Inject'](_0x1ced2a['LocaleService']))],_0x3bdf42);var _0x4ee855=(_0x1a8079=>(_0x1a8079[_0x1a8079[_0x5f4777(0x13f)]=0x0]='UNDEFINED',_0x1a8079[_0x1a8079['OK']=0x1]='OK',_0x1a8079[_0x1a8079[_0x5f4777(0x3ab)]=0x2]='INTERNAL_ERROR',_0x1a8079[_0x1a8079[_0x5f4777(0x3cd)]=0x3]=_0x5f4777(0x3cd),_0x1a8079[_0x1a8079['NOT_FOUND']=0x4]=_0x5f4777(0x339),_0x1a8079[_0x1a8079[_0x5f4777(0x11e)]=0x5]=_0x5f4777(0x11e),_0x1a8079[_0x1a8079[_0x5f4777(0x29a)]=0x6]=_0x5f4777(0x29a),_0x1a8079[_0x1a8079[_0x5f4777(0x3b5)]=0x7]='INVALID_ARGUMENT',_0x1a8079[_0x1a8079[_0x5f4777(0x388)]=0x8]='TOO_MANY_REQUESTS',_0x1a8079[_0x1a8079[_0x5f4777(0x2dd)]=0x9]=_0x5f4777(0x2dd),_0x1a8079[_0x1a8079[_0x5f4777(0x208)]=0xa]='LOGIN_FAILED',_0x1a8079[_0x1a8079[_0x5f4777(0x3ef)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1a8079[_0x1a8079[_0x5f4777(0x30c)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1a8079[_0x1a8079[_0x5f4777(0x1ce)]=0xd]=_0x5f4777(0x1ce),_0x1a8079[_0x1a8079['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5f4777(0x1b0),_0x1a8079[_0x1a8079[_0x5f4777(0x11f)]=0xf]=_0x5f4777(0x11f),_0x1a8079[_0x1a8079[_0x5f4777(0x374)]=0x10]=_0x5f4777(0x374),_0x1a8079[_0x1a8079[_0x5f4777(0x22c)]=0x64]=_0x5f4777(0x22c),_0x1a8079[_0x1a8079[_0x5f4777(0x132)]=0x65]='ERROR_AGAIN',_0x1a8079[_0x1a8079['USER_NOT_FOUND']=0xc9]=_0x5f4777(0x13b),_0x1a8079[_0x1a8079[_0x5f4777(0x1fc)]=0xca]='USER_IS_ANONYMOUS',_0x1a8079[_0x1a8079[_0x5f4777(0x156)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1a8079[_0x1a8079[_0x5f4777(0x301)]=0x1771]=_0x5f4777(0x301),_0x1a8079[_0x1a8079[_0x5f4777(0x170)]=0x1772]=_0x5f4777(0x170),_0x1a8079[_0x1a8079[_0x5f4777(0x2ad)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1a8079[_0x1a8079[_0x5f4777(0x1ad)]=0x1b59]='APPLY_REJECT',_0x1a8079[_0x1a8079['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5f4777(0x36a),_0x1a8079[_0x1a8079[_0x5f4777(0x26a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1a8079[_0x1a8079[_0x5f4777(0x384)]=0x1b5c]=_0x5f4777(0x384),_0x1a8079[_0x1a8079['APPLY_DUPLICATED']=0x1b5d]=_0x5f4777(0x277),_0x1a8079[_0x1a8079[_0x5f4777(0x1f6)]=0x1f41]=_0x5f4777(0x1f6),_0x1a8079[_0x1a8079[_0x5f4777(0x345)]=0x2329]=_0x5f4777(0x345),_0x1a8079[_0x1a8079[_0x5f4777(0x1cc)]=0x232a]=_0x5f4777(0x1cc),_0x1a8079[_0x1a8079[_0x5f4777(0x35a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1a8079[_0x1a8079[_0x5f4777(0x267)]=0x232c]=_0x5f4777(0x267),_0x1a8079[_0x1a8079[_0x5f4777(0x261)]=0x232d]=_0x5f4777(0x261),_0x1a8079[_0x1a8079['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5f4777(0x33a),_0x1a8079[_0x1a8079[_0x5f4777(0x2a8)]=0x2712]=_0x5f4777(0x2a8),_0x1a8079[_0x1a8079[_0x5f4777(0x3d0)]=0x2713]=_0x5f4777(0x3d0),_0x1a8079[_0x1a8079[_0x5f4777(0x1ea)]=0x2714]=_0x5f4777(0x1ea),_0x1a8079[_0x1a8079[_0x5f4777(0x3dc)]=0x271a]=_0x5f4777(0x3dc),_0x1a8079[_0x1a8079[_0x5f4777(0x23c)]=0x271b]=_0x5f4777(0x23c),_0x1a8079[_0x1a8079[_0x5f4777(0x1f5)]=0x271c]=_0x5f4777(0x1f5),_0x1a8079[_0x1a8079[_0x5f4777(0x145)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1a8079[_0x1a8079[_0x5f4777(0x2b6)]=0x271e]=_0x5f4777(0x2b6),_0x1a8079[_0x1a8079[_0x5f4777(0x2c5)]=0x271f]=_0x5f4777(0x2c5),_0x1a8079[_0x1a8079[_0x5f4777(0x1b3)]=0x2720]=_0x5f4777(0x1b3),_0x1a8079[_0x1a8079['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5f4777(0x2d7),_0x1a8079[_0x1a8079[_0x5f4777(0x227)]=0x2ee1]=_0x5f4777(0x227),_0x1a8079[_0x1a8079[_0x5f4777(0x126)]=0x2ee2]='INVALID_INVITE_CODE',_0x1a8079[_0x1a8079['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5f4777(0x148),_0x1a8079[_0x1a8079[_0x5f4777(0x172)]=0x2ee4]=_0x5f4777(0x172),_0x1a8079[_0x1a8079['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5f4777(0x151),_0x1a8079[_0x1a8079[_0x5f4777(0x352)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1a8079[_0x1a8079[_0x5f4777(0x20b)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1a8079[_0x1a8079[_0x5f4777(0x3a5)]=0x32cb]=_0x5f4777(0x3a5),_0x1a8079[_0x1a8079['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x1a8079[_0x1a8079[_0x5f4777(0x370)]=0x36b2]=_0x5f4777(0x370),_0x1a8079[_0x1a8079['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x5f4777(0x2c7),_0x1a8079[_0x1a8079[_0x5f4777(0x21e)]=0x36b4]=_0x5f4777(0x21e),_0x1a8079[_0x1a8079[_0x5f4777(0x364)]=0x36b5]=_0x5f4777(0x364),_0x1a8079[_0x1a8079[_0x5f4777(0x1ec)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x1a8079[_0x1a8079[_0x5f4777(0x39d)]=0x36b7]=_0x5f4777(0x39d),_0x1a8079[_0x1a8079[_0x5f4777(0x3e6)]=0x36b8]=_0x5f4777(0x3e6),_0x1a8079[_0x1a8079['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x5f4777(0x1c1),_0x1a8079[_0x1a8079[_0x5f4777(0x39b)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x1a8079[_0x1a8079['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x1a8079[_0x1a8079[_0x5f4777(0x3ac)]=0x37dd]=_0x5f4777(0x3ac),_0x1a8079[_0x1a8079[_0x5f4777(0x26e)]=0x3a99]=_0x5f4777(0x26e),_0x1a8079[_0x1a8079[_0x5f4777(0x2db)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x1a8079[_0x1a8079['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x1a8079[_0x1a8079[_0x5f4777(0x260)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x1a8079[_0x1a8079[_0x5f4777(0x2de)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x1a8079[_0x1a8079['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1a8079[_0x1a8079[_0x5f4777(0x37f)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1a8079[_0x1a8079[_0x5f4777(0x124)]=0x3e81]=_0x5f4777(0x124),_0x1a8079[_0x1a8079[_0x5f4777(0x324)]=-0x1]='UNRECOGNIZED',_0x1a8079))(_0x4ee855||{});function _0x15631c(_0x40a443){const _0x261dc8=_0x5f4777;var _0x17df74,_0x166403;const _0xfdcaf0=(_0x17df74=_0x40a443[_0x261dc8(0x20e)])==null?void 0x0:_0x17df74['stage'],_0x588c5f=((_0x166403=_0x40a443[_0x261dc8(0x20e)])==null?void 0x0:_0x166403['totalFormulasToCalculate'])||0x0;return _0xfdcaf0===_0x900d4[_0x261dc8(0x3c6)][_0x261dc8(0x1a3)]&&_0x588c5f>0x0;}function _0x2cdefe(_0x5ee67b){const _0x5113bb=_0x5f4777;return _0x5ee67b[_0x5113bb(0x377)]===_0x900d4['FormulaExecutedStateType']['SUCCESS'];}var _0x102d4e=Object[_0x5f4777(0x29e)],_0x9c7f5=(_0x4c03bd,_0x59db31,_0x52d801,_0x3e6a08)=>{const _0x21a2ce=_0x5f4777;for(var _0x27b50f=_0x3e6a08>0x1?void 0x0:_0x3e6a08?_0x102d4e(_0x59db31,_0x52d801):_0x59db31,_0xc22a6f=_0x4c03bd[_0x21a2ce(0x15b)]-0x1,_0x1b503e;_0xc22a6f>=0x0;_0xc22a6f--)(_0x1b503e=_0x4c03bd[_0xc22a6f])&&(_0x27b50f=_0x1b503e(_0x27b50f)||_0x27b50f);return _0x27b50f;},_0x16d602=(_0x2c68be,_0x2e9893)=>(_0x3c4d2d,_0x115d60)=>_0x2e9893(_0x3c4d2d,_0x115d60,_0x2c68be);const _0x159eb8=_0x5f4777(0x201),_0x59fa94=_0x5f4777(0x2d0),_0x56f97a=_0x5f4777(0x14c);let _0x16d995=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x18ea8b,_0x516fe3,_0x2a0aec,_0x71ffa0,_0x4a2408,_0x382903,_0x19455c){const _0x624d8a=_0x5f4777;super(),_0x13969d(this,_0x624d8a(0x32b),null),_0x13969d(this,_0x624d8a(0x3ee),0x0),_0x13969d(this,_0x624d8a(0x3c2),0x0),_0x13969d(this,'_taskIds',[]),_0x13969d(this,_0x624d8a(0x312),0x0),(this['_messageService']=_0x18ea8b,this['_commandService']=_0x516fe3,this['_configService']=_0x2a0aec,this['_httpService']=_0x71ffa0,this[_0x624d8a(0x332)]=_0x4a2408,this['_logService']=_0x382903,this[_0x624d8a(0x23f)]=_0x19455c,this[_0x624d8a(0x323)]());}['_initCommandInterceptor'](){const _0xcf602e=_0x5f4777;this[_0xcf602e(0x3b8)](this[_0xcf602e(0x287)]['beforeCommandExecuted']((_0x337eeb,_0x556725)=>{const _0x1b9510=_0xcf602e;var _0x1e25b9;if(_0x337eeb['id']!==_0x900d4['SetFormulaCalculationStartMutation']['id'])return;const _0x3c0685=_0x337eeb[_0x1b9510(0x278)];if(!this[_0x1b9510(0x20d)]((_0x1e25b9=_0x3c0685[_0x1b9510(0x23e)])!=null?_0x1e25b9:[]))return;if(!this[_0x1b9510(0x3d5)]())throw this[_0x1b9510(0x380)](_0x337eeb,_0x556725),this[_0x1b9510(0x28c)](),new _0x1ced2a[(_0x1b9510(0x25e))]();})),this[_0xcf602e(0x3b8)](this[_0xcf602e(0x287)][_0xcf602e(0x2e9)]((_0x53443f,_0x5dbffe)=>{const _0x3758b6=_0xcf602e;if(_0x53443f['id']!==_0x900d4[_0x3758b6(0x2b1)]['id'])return;const _0x348136=_0x53443f['params'];if(_0x15631c(_0x348136)){const _0x237147=_0x1ced2a[_0x3758b6(0x3d7)]();this[_0x3758b6(0x12b)]['push'](_0x237147),this[_0x3758b6(0x270)](_0x237147);}else{if(_0x2cdefe(_0x348136)&&this['_taskIds'][_0x3758b6(0x15b)]>0x0){const _0x2f0670=this['_taskIds'][_0x3758b6(0x350)]();this['_releaseCalculationLimit'](_0x2f0670);}}}));}[_0x5f4777(0x256)](){const _0x58268b=_0x5f4777;super[_0x58268b(0x256)](),this[_0x58268b(0x372)](),this['_taskIds']=[],this[_0x58268b(0x3c2)]=0x0,this[_0x58268b(0x3ee)]=0x0,this[_0x58268b(0x312)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x5d9aa2,_0x147c33){const _0x5e18d0=_0x5f4777;for(let _0x5b8e94=0x0;_0x5b8e94<0x1e;_0x5b8e94++)try{if(await this[_0x5e18d0(0x19c)](),this[_0x5e18d0(0x3d5)]()){this[_0x5e18d0(0x24d)](_0x5d9aa2,_0x147c33),this[_0x5e18d0(0x379)][_0x5e18d0(0x2d8)]({'content':this[_0x5e18d0(0x23f)]['t']('formula.calculation.started'),'type':_0x52c80f[_0x5e18d0(0x2a4)][_0x5e18d0(0x3b3)]});return;}await new Promise(_0x1e938a=>{const _0xd4380a=_0x5e18d0;this['_pollingInterval']=window[_0xd4380a(0x351)](_0x1e938a,0x3e8);});}catch(_0x473dad){this[_0x5e18d0(0x1f1)]['error'](_0x473dad);}this['_messageService'][_0x5e18d0(0x2d8)]({'content':this[_0x5e18d0(0x23f)]['t'](_0x5e18d0(0x1b7)),'type':_0x52c80f[_0x5e18d0(0x2a4)][_0x5e18d0(0x2f7)]});}[_0x5f4777(0x24d)](_0x27ea7a,_0x32bd0a){const _0x445513=_0x5f4777;try{this[_0x445513(0x287)][_0x445513(0x18b)](_0x27ea7a['id'],_0x27ea7a[_0x445513(0x278)],_0x32bd0a);}catch(_0x10caa3){this[_0x445513(0x1f1)][_0x445513(0x382)](_0x10caa3);}}[_0x5f4777(0x1c0)](_0x29dc1e,_0xedcc68){const _0x5272af=_0x5f4777;_0xedcc68<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0xedcc68,this[_0x5272af(0x3ee)]=Number[_0x5272af(0x3d2)](_0x29dc1e[_0x5272af(0x335)]),this[_0x5272af(0x3c2)]=Number[_0x5272af(0x3d2)](_0x29dc1e[_0x5272af(0x30f)]));}async[_0x5f4777(0x270)](_0x436198){const _0x37cd37=_0x5f4777;var _0x548218,_0x5b3fd4;const _0x54c6b8=Date[_0x37cd37(0x1be)]();try{const _0x40aea0=((_0x548218=this[_0x37cd37(0x3fd)][_0x37cd37(0x134)](_0x378bf4[_0x37cd37(0x291)]))==null?void 0x0:_0x548218[_0x37cd37(0x286)])||_0x59fa94,_0x2ffd8a=(await this[_0x37cd37(0x174)][_0x37cd37(0x1bb)](_0x40aea0,{'body':JSON[_0x37cd37(0x1d9)]({'taskId':_0x436198})}))[_0x37cd37(0x1a9)];if(((_0x5b3fd4=_0x2ffd8a[_0x37cd37(0x382)])==null?void 0x0:_0x5b3fd4[_0x37cd37(0x25d)])!==_0x4ee855['OK'])return;this[_0x37cd37(0x1c0)](_0x2ffd8a[_0x37cd37(0x1d1)],_0x54c6b8);}catch(_0x4f99e9){this['_logService'][_0x37cd37(0x382)](_0x4f99e9);}}async[_0x5f4777(0x19c)](_0x36ddb5){const _0x4048b4=_0x5f4777;var _0x24d5a6,_0x4519e7;const _0x1abb3c=Date[_0x4048b4(0x1be)]();try{const _0x1919c9=((_0x24d5a6=this[_0x4048b4(0x3fd)][_0x4048b4(0x134)](_0x378bf4['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x24d5a6[_0x4048b4(0x271)])||_0x159eb8,_0x4b087e=_0x36ddb5?_0x1919c9+_0x4048b4(0x395)+encodeURIComponent(_0x36ddb5):_0x1919c9,_0x231f2c=(await this['_httpService']['get'](_0x4b087e))[_0x4048b4(0x1a9)];if(((_0x4519e7=_0x231f2c['error'])==null?void 0x0:_0x4519e7[_0x4048b4(0x25d)])!==_0x4ee855['OK'])return;this['_setFormulaLimitStatus'](_0x231f2c[_0x4048b4(0x1d1)],_0x1abb3c);}catch(_0x1f8e09){this[_0x4048b4(0x1f1)]['error'](_0x1f8e09);}}async[_0x5f4777(0x144)](_0x222296){const _0x7e37f1=_0x5f4777;var _0x26fd28,_0x54900b;const _0x49b45e=Date[_0x7e37f1(0x1be)]();try{const _0x322bda=((_0x26fd28=this['_configService']['getConfig'](_0x378bf4[_0x7e37f1(0x291)]))==null?void 0x0:_0x26fd28[_0x7e37f1(0x375)])||_0x56f97a,_0x4ac490=(await this[_0x7e37f1(0x174)][_0x7e37f1(0x1bb)](_0x322bda,{'body':JSON[_0x7e37f1(0x1d9)]({'taskId':_0x222296})}))[_0x7e37f1(0x1a9)];if(((_0x54900b=_0x4ac490['error'])==null?void 0x0:_0x54900b[_0x7e37f1(0x25d)])!==_0x4ee855['OK'])return;this['_setFormulaLimitStatus'](_0x4ac490['limitInfo'],_0x49b45e);}catch(_0x1f6685){this['_logService'][_0x7e37f1(0x382)](_0x1f6685);}}[_0x5f4777(0x3d5)](){const _0x79dae3=_0x5f4777;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x79dae3(0x3ee)]-this[_0x79dae3(0x3c2)]>0x0;}[_0x5f4777(0x372)](){const _0x169729=_0x5f4777;this['_pollingInterval']&&(clearTimeout(this[_0x169729(0x32b)]),this[_0x169729(0x32b)]=null);}['_showGuardMessage'](){const _0x2711d0=_0x5f4777;this[_0x2711d0(0x379)][_0x2711d0(0x2d8)]({'content':this['_localeService']['t'](_0x2711d0(0x1ab)),'type':_0x52c80f[_0x2711d0(0x2a4)][_0x2711d0(0x39c)]});}[_0x5f4777(0x20d)](_0x113f6c){const _0x16872b=_0x5f4777;for(const _0x55439e of _0x113f6c){const {unitId:_0x335150,sheetId:_0xbf8f08,range:_0x3028c4}=_0x55439e,_0x28ee4a=this[_0x16872b(0x332)][_0x16872b(0x302)](_0x335150);if(!_0x28ee4a)continue;const _0x4ba99a=_0x28ee4a['getSheetBySheetId'](_0xbf8f08);if(!_0x4ba99a)continue;const _0x513835=_0x4ba99a[_0x16872b(0x221)]();for(let _0x2d40aa=_0x3028c4[_0x16872b(0x35e)];_0x2d40aa<=_0x3028c4['endRow'];_0x2d40aa++)for(let _0x51b9f7=_0x3028c4['startColumn'];_0x51b9f7<=_0x3028c4['endColumn'];_0x51b9f7++){const _0xc57e5d=_0x513835['getValue'](_0x2d40aa,_0x51b9f7);if(_0xc57e5d&&(_0x1ced2a[_0x16872b(0x3b2)](_0xc57e5d['f'])||_0x1ced2a[_0x16872b(0x387)](_0xc57e5d['si'])))return!0x0;}}return!0x1;}};_0x16d995=_0x9c7f5([_0x16d602(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x19c552[_0x5f4777(0x3bb)])),_0x16d602(0x1,_0x1ced2a[_0x5f4777(0x331)]),_0x16d602(0x2,_0x1ced2a['IConfigService']),_0x16d602(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x5d4294[_0x5f4777(0x2f5)])),_0x16d602(0x4,_0x1ced2a['IUniverInstanceService']),_0x16d602(0x5,_0x1ced2a['ILogService']),_0x16d602(0x6,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a['LocaleService']))],_0x16d995);var _0x3ec55a=Object[_0x5f4777(0x29e)],_0x3deb65=(_0x45b55c,_0x29d615,_0x226aef,_0x177a54)=>{for(var _0x5b7c0c=_0x177a54>0x1?void 0x0:_0x177a54?_0x3ec55a(_0x29d615,_0x226aef):_0x29d615,_0x3fc2a7=_0x45b55c['length']-0x1,_0x5de469;_0x3fc2a7>=0x0;_0x3fc2a7--)(_0x5de469=_0x45b55c[_0x3fc2a7])&&(_0x5b7c0c=_0x5de469(_0x5b7c0c)||_0x5b7c0c);return _0x5b7c0c;},_0x4ebed9=(_0x384d8d,_0x2d0c56)=>(_0x158151,_0x28f255)=>_0x2d0c56(_0x158151,_0x28f255,_0x384d8d);let _0x124e0d=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x31113b,_0xb5e19a,_0x919a5a){const _0x420314=_0x5f4777;super(),_0x13969d(this,'_cachedData',new Map()),_0x13969d(this,_0x420314(0x226),new Map()),_0x13969d(this,'_disabled',!0x1),(this[_0x420314(0x3fd)]=_0x31113b,this[_0x420314(0x164)]=_0xb5e19a,this[_0x420314(0x2bb)]=_0x919a5a);}[_0x5f4777(0x3c7)](){const _0x5e07e4=_0x5f4777;this[_0x5e07e4(0x36b)]=!0x0;}[_0x5f4777(0x1f8)](){const _0x302e8f=_0x5f4777;this[_0x302e8f(0x36b)]=!0x1;}get['saveTaskMap'](){const _0x1eebd1=_0x5f4777;return this[_0x1eebd1(0x226)];}[_0x5f4777(0x256)](){const _0x343fdf=_0x5f4777;this[_0x343fdf(0x240)]()[_0x343fdf(0x35f)](()=>super['dispose']());}async[_0x5f4777(0x295)](_0x407b8d){const _0x1aa189=_0x5f4777;return this['_disabled']?null:this[_0x1aa189(0x164)][_0x1aa189(0x11c)](_0x378bf4[_0x1aa189(0x1f2)](_0x407b8d));}async['saveOfflineData'](_0x555b11,_0x6ad1ab){const _0x20d099=_0x5f4777;return!!this[_0x20d099(0x164)]['setItem'](_0x555b11,_0x6ad1ab);}[_0x5f4777(0x1dd)](_0x64103f,_0x39a313,_0x466aa9,_0x42fc8c){const _0x588936=_0x5f4777,_0x232949=this[_0x588936(0x2bb)]['getCurrentRevOfUnit'](_0x64103f);this[_0x588936(0x37d)][_0x588936(0x2a2)](_0x64103f,{'unitID':_0x64103f,'type':_0x39a313,'awaitingChangeset':_0x466aa9,'mutations':_0x42fc8c,'rev':_0x232949}),this['_saveTaskMap'][_0x588936(0x2be)](_0x64103f)||this[_0x588936(0x349)](_0x64103f);}[_0x5f4777(0x349)](_0x557e44){const _0x3f5dae=_0x5f4777,_0x147cd6=this[_0x3f5dae(0x37c)]();_0x147cd6===0x0?this['_saveCache'](_0x557e44):this[_0x3f5dae(0x226)][_0x3f5dae(0x2a2)](_0x557e44,setTimeout(()=>this[_0x3f5dae(0x205)](_0x557e44),_0x147cd6));}[_0x5f4777(0x37c)](){const _0x4bf25c=_0x5f4777;var _0x206029;return(_0x206029=this[_0x4bf25c(0x3fd)]['getConfig'](_0x378bf4[_0x4bf25c(0x1b9)]))!=null?_0x206029:_0x378bf4[_0x4bf25c(0x3e7)];}[_0x5f4777(0x205)](_0x5dcf4b){const _0xdcbdd4=_0x5f4777,_0x36c538=this['_saveTaskMap'][_0xdcbdd4(0x2b5)](_0x5dcf4b);return _0x36c538!==void 0x0&&window[_0xdcbdd4(0x282)](_0x36c538),this['_localStorageService'][_0xdcbdd4(0x15a)](_0x378bf4[_0xdcbdd4(0x1f2)](_0x5dcf4b),this['_cachedData'][_0xdcbdd4(0x2b5)](_0x5dcf4b))[_0xdcbdd4(0x35f)](()=>this['_saveTaskMap'][_0xdcbdd4(0x259)](_0x5dcf4b));}async[_0x5f4777(0x240)](){const _0x4e1af1=_0x5f4777,_0x5657ee=[];this['_saveTaskMap']['forEach']((_0xa6e55f,_0x16b2aa)=>{const _0x41aaac=_0x1d45;window[_0x41aaac(0x282)](_0xa6e55f),_0x5657ee[_0x41aaac(0x263)](this[_0x41aaac(0x205)](_0x16b2aa)[_0x41aaac(0x35f)](()=>{const _0x351c17=_0x41aaac;this['_saveTaskMap'][_0x351c17(0x259)](_0x16b2aa);}));}),await Promise[_0x4e1af1(0x389)](_0x5657ee);}};_0x124e0d=_0x3deb65([_0x4ebed9(0x0,_0x1ced2a[_0x5f4777(0x3bd)]),_0x4ebed9(0x1,_0x1ced2a[_0x5f4777(0x123)]),_0x4ebed9(0x2,_0x1ced2a['Inject'](_0x28eb5b[_0x5f4777(0x381)]))],_0x124e0d);class _0x288eed extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(){const _0x26d57c=_0x5f4777;super(),_0x13969d(this,_0x26d57c(0x16a)),this[_0x26d57c(0x16a)]=_0x5d9504[_0x26d57c(0x3a2)](window,_0x26d57c(0x393))[_0x26d57c(0x1b6)](_0x5d9504[_0x26d57c(0x39f)](this[_0x26d57c(0x197)]),_0x5d9504[_0x26d57c(0x33e)](0x1),_0x5d9504[_0x26d57c(0x3de)](void 0x0));}[_0x5f4777(0x40f)](_0x119825,_0x2b468c,_0x57b3b5=!0x1){const _0x16e379=_0x5f4777,_0x149d91=new URL(window[_0x16e379(0x1e4)][_0x16e379(0x188)]);_0x149d91[_0x16e379(0x27d)][_0x16e379(0x2a2)](_0x119825,_0x2b468c),_0x57b3b5?window[_0x16e379(0x290)][_0x16e379(0x2fb)]('','',_0x149d91['toString']()):window[_0x16e379(0x290)][_0x16e379(0x3d8)]('','',_0x149d91['toString']());}[_0x5f4777(0x2ba)](_0x129a0f,_0x203f57=!0x1){const _0x54c96b=_0x5f4777,_0x51a457=new URL(window[_0x54c96b(0x1e4)][_0x54c96b(0x188)]);_0x51a457[_0x54c96b(0x27d)][_0x54c96b(0x259)](_0x129a0f),_0x203f57?window[_0x54c96b(0x290)][_0x54c96b(0x2fb)]('','',_0x51a457[_0x54c96b(0x23d)]()):window[_0x54c96b(0x290)][_0x54c96b(0x3d8)]('','',_0x51a457[_0x54c96b(0x23d)]());}[_0x5f4777(0x296)](_0x2f075e){const _0x1b87ed=_0x5f4777;var _0x6386d8;return(_0x6386d8=new URL(window['location'][_0x1b87ed(0x188)])[_0x1b87ed(0x27d)][_0x1b87ed(0x2b5)](_0x2f075e))!=null?_0x6386d8:void 0x0;}}var _0x1398f1=Object[_0x5f4777(0x17c)],_0x35b5e8=Object[_0x5f4777(0x29e)],_0x2cd7b5=(_0x246176,_0x3aac7c,_0x5ac5a9)=>_0x3aac7c in _0x246176?_0x1398f1(_0x246176,_0x3aac7c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ac5a9}):_0x246176[_0x3aac7c]=_0x5ac5a9,_0x2baff2=(_0x5f5a72,_0x39f586,_0x3428a5,_0x3b3cbb)=>{const _0x185433=_0x5f4777;for(var _0x257c68=_0x3b3cbb>0x1?void 0x0:_0x3b3cbb?_0x35b5e8(_0x39f586,_0x3428a5):_0x39f586,_0x45eca5=_0x5f5a72[_0x185433(0x15b)]-0x1,_0xab038a;_0x45eca5>=0x0;_0x45eca5--)(_0xab038a=_0x5f5a72[_0x45eca5])&&(_0x257c68=_0xab038a(_0x257c68)||_0x257c68);return _0x257c68;},_0x53a4e4=(_0x28c80e,_0x5b457e)=>(_0x5588d2,_0x5dcd52)=>_0x5b457e(_0x5588d2,_0x5dcd52,_0x28c80e),_0xf9c82b=(_0x3030b1,_0x54f86d,_0x105b4d)=>_0x2cd7b5(_0x3030b1,_0x54f86d+'',_0x105b4d);const _0x519b32='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x5cfa5d[_0x5f4777(0x18d)]=class extends _0x1ced2a['Plugin']{constructor(_0x19106c=_0x501443,_0x21064a,_0x5803b8,_0x56d389){const _0x4cca45=_0x5f4777;super(),this['_config']=_0x19106c,this[_0x4cca45(0x2e4)]=_0x21064a,this['_injector']=_0x5803b8,this[_0x4cca45(0x3fd)]=_0x56d389;const {..._0x289ca5}=_0x1ced2a['merge']({},_0x501443,this[_0x4cca45(0x34d)]);this[_0x4cca45(0x3fd)][_0x4cca45(0x38f)](_0x2ebc66,_0x289ca5);}[_0x5f4777(0x161)](){const _0xba1069=_0x5f4777;this['_registerDependencies'](),this[_0xba1069(0x179)]();}[_0x5f4777(0x298)](){const _0x307d69=_0x5f4777;this[_0x307d69(0x22a)]();}[_0x5f4777(0x157)](){const _0x3458a1=_0x5f4777;var _0x24b879;const _0x545aa0=[[_0x21d2e0],[_0x16d995],[_0x485ed5],[_0x446ab5],[_0x4c587c],[_0x29a65a],[_0x44c1af,{'useClass':_0x288eed}],[_0x5d4294[_0x3458a1(0x2df)],{'useClass':_0x5d4294[_0x3458a1(0x273)]}],[_0x378bf4[_0x3458a1(0x1e9)],{'useClass':_0x124e0d}],[_0x5cfa5d[_0x3458a1(0x16d)]],[_0x3bdf42],[_0x46dcf1],[_0x114331],[_0x566d5c],[_0x5cfa5d[_0x3458a1(0x255)]]];this['_config']['enableFrontendLog']&&_0x545aa0[_0x3458a1(0x263)]([_0x2f3392]),_0x1ced2a[_0x3458a1(0x283)](this[_0x3458a1(0x34e)],_0x1ced2a[_0x3458a1(0x143)](_0x545aa0,(_0x24b879=this[_0x3458a1(0x34d)])==null?void 0x0:_0x24b879[_0x3458a1(0x22f)]));}['_registerRenderDependencies'](){const _0x3fd795=_0x5f4777;this[_0x3fd795(0x3b8)](this[_0x3fd795(0x2e4)][_0x3fd795(0x2c8)](_0x1ced2a[_0x3fd795(0x3b7)][_0x3fd795(0x2f6)],[_0x1d2bfc])),this[_0x3fd795(0x3b8)](this[_0x3fd795(0x2e4)][_0x3fd795(0x2c8)](_0x1ced2a[_0x3fd795(0x3b7)][_0x3fd795(0x228)],[_0x389fa1]));}['_initDependencies'](){const _0x28cf72=_0x5f4777;_0x1ced2a[_0x28cf72(0x232)](this['_injector'],[[_0x114331],[_0x5cfa5d[_0x28cf72(0x16d)]],[_0x3bdf42],[_0x46dcf1],[_0x5cfa5d['CollaborationDataLoaderController']],[_0x16d995]]),this[_0x28cf72(0x34d)]['enableFrontendLog']&&_0x1ced2a['touchDependencies'](this[_0x28cf72(0x34e)],[[_0x2f3392]]);}},_0xf9c82b(_0x5cfa5d[_0x5f4777(0x18d)],'pluginName',_0x519b32),_0x5cfa5d[_0x5f4777(0x18d)]=_0x2baff2([_0x1ced2a['DependentOn'](_0x378bf4['UniverCollaborationClientPlugin']),_0x53a4e4(0x1,_0x40ad79[_0x5f4777(0x2f0)]),_0x53a4e4(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x53a4e4(0x3,_0x1ced2a[_0x5f4777(0x3bd)])],_0x5cfa5d[_0x5f4777(0x18d)]);var _0x48fe94=Object[_0x5f4777(0x29e)],_0xadc116=(_0x528faf,_0x377973,_0x51b3ff,_0x45b09e)=>{const _0x30acf8=_0x5f4777;for(var _0x28b2ca=_0x45b09e>0x1?void 0x0:_0x45b09e?_0x48fe94(_0x377973,_0x51b3ff):_0x377973,_0x14ede1=_0x528faf[_0x30acf8(0x15b)]-0x1,_0x486877;_0x14ede1>=0x0;_0x14ede1--)(_0x486877=_0x528faf[_0x14ede1])&&(_0x28b2ca=_0x486877(_0x28b2ca)||_0x28b2ca);return _0x28b2ca;},_0x3529d7=(_0x366f0e,_0x1f01cc)=>(_0xaa19b3,_0x8f29bc)=>_0x1f01cc(_0xaa19b3,_0x8f29bc,_0x366f0e);_0x5cfa5d['BrowserCollaborationSocketService']=class extends _0x378bf4['CollaborationSocketService']{constructor(_0x35ff4e,_0x45571e,_0x32e37c,_0x40e1bf,_0x35def2){super(_0x35ff4e,_0x45571e,_0x32e37c,_0x40e1bf,_0x35def2);}async[_0x5f4777(0x159)](_0x5c7b0b){const _0x4ac8ad=_0x5f4777,_0x8d1f7a=await this['_getSessionTicket'](),_0xe02311=this[_0x4ac8ad(0x3ec)](_0x5c7b0b,_0x8d1f7a);return this[_0x4ac8ad(0x1f4)](_0xe02311);}[_0x5f4777(0x3ec)](_0x3d0e08,_0x4c7921){const _0x2a4e4c=_0x5f4777,_0x35fadd=typeof window>'u'?new URL(_0x3d0e08):new URL(_0x3d0e08,window[_0x2a4e4c(0x1e4)][_0x2a4e4c(0x120)]);_0x35fadd['searchParams']['set'](_0x2a4e4c(0x1f9),_0x4c7921);const _0x56ef8c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2a4e4c(0x1e4)][_0x2a4e4c(0x22e)]);return _0x56ef8c[_0x2a4e4c(0x2b5)]('runId')&&_0x35fadd[_0x2a4e4c(0x27d)][_0x2a4e4c(0x2a2)](_0x2a4e4c(0x243),_0x56ef8c[_0x2a4e4c(0x2b5)](_0x2a4e4c(0x243))),_0x35fadd['toString']();}async[_0x5f4777(0x338)](){const _0x261f1a=_0x5f4777;var _0x99d70a,_0x291ed6,_0x7ad00d;const _0x210e8f=this[_0x261f1a(0x3fd)][_0x261f1a(0x134)](_0x378bf4[_0x261f1a(0x291)]),_0x1caedc=(_0x99d70a=_0x210e8f==null?void 0x0:_0x210e8f[_0x261f1a(0x30a)])!=null?_0x99d70a:_0x378bf4['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x7ad00d=(_0x291ed6=(await this[_0x261f1a(0x174)][_0x261f1a(0x2b5)](_0x1caedc,{'headers':{'Content-Type':_0x261f1a(0x1a7)}}))[_0x261f1a(0x1a9)])==null?void 0x0:_0x291ed6[_0x261f1a(0x2ce)])!=null?_0x7ad00d:'';}},_0x5cfa5d[_0x5f4777(0x1e3)]=_0xadc116([_0x3529d7(0x0,_0x1ced2a['Inject'](_0x1ced2a[_0x5f4777(0x2af)])),_0x3529d7(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x5d4294[_0x5f4777(0x2f5)])),_0x3529d7(0x2,_0x1ced2a[_0x5f4777(0x3bd)]),_0x3529d7(0x3,_0x1ced2a[_0x5f4777(0x14b)]),_0x3529d7(0x4,_0x28eb5b['ISnapshotServerService'])],_0x5cfa5d['BrowserCollaborationSocketService']);var _0x56368e=Object[_0x5f4777(0x29e)],_0x42409f=(_0x207cfb,_0xcb90e9,_0x4ea5da,_0x2e7cd7)=>{const _0x50d370=_0x5f4777;for(var _0x430a33=_0x2e7cd7>0x1?void 0x0:_0x2e7cd7?_0x56368e(_0xcb90e9,_0x4ea5da):_0xcb90e9,_0x4c31f6=_0x207cfb[_0x50d370(0x15b)]-0x1,_0x409e8d;_0x4c31f6>=0x0;_0x4c31f6--)(_0x409e8d=_0x207cfb[_0x4c31f6])&&(_0x430a33=_0x409e8d(_0x430a33)||_0x430a33);return _0x430a33;},_0x2c0745=(_0x2a30f4,_0x58eae2)=>(_0xd344a2,_0x1e443f)=>_0x58eae2(_0xd344a2,_0x1e443f,_0x2a30f4);_0x5cfa5d[_0x5f4777(0x405)]=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x27798d,_0x202b66,_0x36c104){const _0x9adff9=_0x5f4777;super(),this[_0x9adff9(0x1ef)]=_0x27798d,this['_httpService']=_0x202b66,this[_0x9adff9(0x3fd)]=_0x36c104;}async[_0x5f4777(0x24e)](_0x5573ec,_0x2cfad3,_0xd33bc2,..._0x1ae7b3){const _0x1def7b=_0x5f4777;var _0x4c94b1,_0x597b8e,_0x1a8d9b,_0x3222d1;const _0x558626=this[_0x1def7b(0x1ef)]['getFocusedUnit']();if(!_0x558626)throw new Error(_0x1def7b(0x2d6));const _0x17376f=((_0x4c94b1=this[_0x1def7b(0x3fd)][_0x1def7b(0x134)](_0x378bf4[_0x1def7b(0x206)]))!=null?_0x4c94b1:_0x378bf4['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5573ec+_0x1def7b(0x15f)+_0x2cfad3,_0x3db5ba=new URL(window[_0x1def7b(0x1e4)]['href']),_0x3c68ac={'scriptId':_0x5573ec,'runId':(_0x597b8e=_0x3db5ba[_0x1def7b(0x27d)]['get']('runId'))!=null?_0x597b8e:'','function':_0x2cfad3,'unitId':_0x558626[_0x1def7b(0x3b0)](),'argsOfFunction':JSON['stringify'](_0x1ae7b3),'invokeId':(_0x1a8d9b=_0xd33bc2[_0x1def7b(0x21f)])!=null?_0x1a8d9b:'','executionId':(_0x3222d1=_0xd33bc2['executionId'])!=null?_0x3222d1:''};try{const _0x4f37aa=await this[_0x1def7b(0x174)][_0x1def7b(0x1bb)](_0x17376f,{'body':_0x3c68ac});return _0x4f37aa[_0x1def7b(0x1a9)][_0x1def7b(0x382)]&&_0x4f37aa[_0x1def7b(0x1a9)][_0x1def7b(0x382)][_0x1def7b(0x25d)]!==_0x4ee855['OK']?_0x1def7b(0x2fa):_0x4f37aa[_0x1def7b(0x1a9)][_0x1def7b(0x12d)];}catch{return'Failed';}}},_0x5cfa5d['RemoteUniscriptService']=_0x42409f([_0x2c0745(0x0,_0x1ced2a[_0x5f4777(0x24c)]),_0x2c0745(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x5d4294[_0x5f4777(0x2f5)])),_0x2c0745(0x2,_0x1ced2a['IConfigService'])],_0x5cfa5d[_0x5f4777(0x405)]);const _0x5521c3=0x7530,_0x232e00=_0x5f4777(0x315);class _0x155589 extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(){const _0x38d317=_0x5f4777;super(),_0x13969d(this,_0x38d317(0x1ff),_0x1ced2a[_0x38d317(0x3d7)]()),_0x13969d(this,_0x38d317(0x2b4),new Set()),_0x13969d(this,'_unitOnClients',new Map()),_0x13969d(this,_0x38d317(0x3f5),null),_0x13969d(this,_0x38d317(0x31b),new Map()),_0x13969d(this,_0x38d317(0x26c),new Map()),this[_0x38d317(0x1c6)]();}['dispose'](){const _0x51a875=_0x5f4777;super[_0x51a875(0x256)](),this[_0x51a875(0x31b)]['forEach']((_0x14af3f,_0x1820a3)=>this[_0x51a875(0x19d)](_0x1820a3)),this['_heartbeatTimer']&&window[_0x51a875(0x34f)](this[_0x51a875(0x3f5)]);}[_0x5f4777(0x127)](_0xc77c01){const _0x20e8c9=_0x5f4777;return this[_0x20e8c9(0x304)](_0xc77c01)[_0x20e8c9(0x1b6)](_0x5d9504[_0x20e8c9(0x266)]());}[_0x5f4777(0x3e0)](_0x1567d9){const _0x49976b=_0x5f4777;this['_selfUnitIDs']['size']===0x0&&this[_0x49976b(0x2e3)](),this[_0x49976b(0x2b4)][_0x49976b(0x248)](_0x1567d9),this[_0x49976b(0x1fb)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1567d9],'isForwarded':!0x1});}['disposeUnit'](_0x48f752){const _0x133487=_0x5f4777;this[_0x133487(0x2b4)][_0x133487(0x259)](_0x48f752),this[_0x133487(0x2b4)][_0x133487(0x1dc)]===0x0&&this[_0x133487(0x3f5)]&&window[_0x133487(0x34f)](this[_0x133487(0x3f5)]);}[_0x5f4777(0x1c6)](){const _0x29bec6=_0x5f4777;this[_0x29bec6(0x3b8)](_0x1ced2a['toDisposable'](_0x5d9504['fromEvent'](window,_0x29bec6(0x289))[_0x29bec6(0x403)](_0xad474f=>{const _0xe5c761=_0x29bec6;if(_0xad474f[_0xe5c761(0x138)]!==_0x232e00||!_0xad474f[_0xe5c761(0x250)])return;const _0x528f05=JSON[_0xe5c761(0x361)](_0xad474f[_0xe5c761(0x250)]);this[_0xe5c761(0x2cc)](_0x528f05);}))),window[_0x29bec6(0x22d)](_0x29bec6(0x237),()=>this['_send']({'type':0x1,'memberID':this[_0x29bec6(0x1ff)],'unitIDs':Array[_0x29bec6(0x1c7)](this[_0x29bec6(0x2b4)])}));}[_0x5f4777(0x2cc)](_0x3030ab){const _0x28acc3=_0x5f4777;switch(_0x3030ab[_0x28acc3(0x1c4)]){case 0x0:this['_handleJoinEvent'](_0x3030ab);break;case 0x1:this[_0x28acc3(0x22b)](_0x3030ab);break;case 0x2:this['_handleHeartbeatEvent'](_0x3030ab);break;}}[_0x5f4777(0x217)](_0x27765a){const _0x4bb4a9=_0x5f4777,{unitIDs:_0x1e0795,memberID:_0x33a703,isForwarded:_0x35f20b}=_0x27765a;_0x1e0795[_0x4bb4a9(0x196)](_0xcfe7b5=>{const _0x1f88df=_0x4bb4a9;if(!_0x35f20b&&this[_0x1f88df(0x16f)][_0x1f88df(0x2be)](_0xcfe7b5)&&this[_0x1f88df(0x304)](_0xcfe7b5)['next'](_0x378bf4[_0x1f88df(0x3e5)][_0x1f88df(0x320)]),!this[_0x1f88df(0x16f)][_0x1f88df(0x2be)](_0xcfe7b5)||!this[_0x1f88df(0x16f)]['get'](_0xcfe7b5)[_0x1f88df(0x2be)](_0x33a703)){const _0x44f776=this[_0x1f88df(0x16f)]['get'](_0xcfe7b5)||new Set();_0x44f776[_0x1f88df(0x248)](_0x33a703),this[_0x1f88df(0x16f)]['set'](_0xcfe7b5,_0x44f776),this[_0x1f88df(0x293)](_0x33a703);}}),_0x35f20b||this[_0x4bb4a9(0x1fb)]({'type':0x0,'memberID':this[_0x4bb4a9(0x1ff)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5f4777(0x293)](_0x5dba36){const _0x5d8557=_0x5f4777;this[_0x5d8557(0x19d)](_0x5dba36);const _0xbf890b=window[_0x5d8557(0x351)](()=>{const _0x292a78=_0x5d8557;this[_0x292a78(0x16f)][_0x292a78(0x196)](_0x135722=>{const _0x1c3278=_0x292a78;_0x135722[_0x1c3278(0x259)](_0x5dba36);});},_0x5521c3*0x2);this[_0x5d8557(0x31b)]['set'](_0x5dba36,_0xbf890b);}[_0x5f4777(0x19d)](_0x52651a){const _0x49b505=_0x5f4777;if(this['_clearOtherTimers'][_0x49b505(0x2be)](_0x52651a)){const _0x1dd366=this['_clearOtherTimers'][_0x49b505(0x2b5)](_0x52651a);_0x1dd366&&window[_0x49b505(0x282)](_0x1dd366),this['_clearOtherTimers'][_0x49b505(0x2a2)](_0x52651a,null);}}[_0x5f4777(0x22b)](_0xfb0f91){const _0x2f4ad7=_0x5f4777,{memberID:_0x2b9c2a,unitIDs:_0x54a163}=_0xfb0f91;_0x54a163[_0x2f4ad7(0x196)](_0x232845=>{const _0x54763f=_0x2f4ad7;var _0x3ac101;const _0x5d666b=this[_0x54763f(0x16f)][_0x54763f(0x2b5)](_0x232845);_0x5d666b&&(_0x5d666b[_0x54763f(0x259)](_0x2b9c2a),(_0x3ac101=this['_ensureSubject'](_0x232845))==null||_0x3ac101['next'](_0x5d666b[_0x54763f(0x1dc)]===0x0?_0x378bf4[_0x54763f(0x3e5)][_0x54763f(0x246)]:_0x378bf4[_0x54763f(0x3e5)][_0x54763f(0x320)]));}),this[_0x2f4ad7(0x19d)](_0x2b9c2a);}[_0x5f4777(0x215)](_0x5c7312){this['_scheduleClearOtherTimer'](_0x5c7312['memberID']);}[_0x5f4777(0x1fb)](_0x2c1340){const _0x35ffc1=_0x5f4777;localStorage[_0x35ffc1(0x15a)](_0x232e00,JSON[_0x35ffc1(0x1d9)](_0x2c1340));}[_0x5f4777(0x2e3)](){const _0x3578ab=_0x5f4777;this[_0x3578ab(0x3f5)]=window[_0x3578ab(0x26f)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x5521c3);}['_ensureSubject'](_0x250709){const _0x147541=_0x5f4777;return this[_0x147541(0x26c)][_0x147541(0x2be)](_0x250709)||this[_0x147541(0x26c)][_0x147541(0x2a2)](_0x250709,new _0x5d9504[(_0x147541(0x149))](_0x378bf4[_0x147541(0x3e5)][_0x147541(0x246)])),this[_0x147541(0x26c)][_0x147541(0x2b5)](_0x250709);}}_0x5cfa5d[_0x5f4777(0x1cd)]=_0x44c1af,_0x5cfa5d[_0x5f4777(0x38c)]=_0x1ded08,_0x5cfa5d[_0x5f4777(0x310)]=_0x155589,_0x5cfa5d[_0x5f4777(0x1db)]=_0x288eed,Object[_0x5f4777(0x17c)](_0x5cfa5d,Symbol[_0x5f4777(0x238)],{'value':_0x5f4777(0x313)});}));